From 97aa5e7839a5473693cfe9bbecdb2fab726f2417 Mon Sep 17 00:00:00 2001 From: Justineo Date: Wed, 15 Sep 2021 20:03:51 +0800 Subject: [PATCH] feat: show all styles in source code --- one/docs/demo/accordion/multiple.vue | 7 ++-- one/docs/demo/accordion/size.vue | 7 ++-- one/docs/demo/alert-box/title.vue | 3 +- one/docs/demo/alert-box/type.vue | 2 +- one/docs/demo/alert/type.vue | 2 +- one/docs/demo/anchor/offset.vue | 9 +++- one/docs/demo/anchor/sticky.vue | 6 ++- one/docs/demo/badge/dot.vue | 2 +- one/docs/demo/badge/number.vue | 2 +- one/docs/demo/badge/text.vue | 2 +- one/docs/demo/breadcrumb/redirect.vue | 2 +- one/docs/demo/breadcrumb/separator.vue | 2 +- one/docs/demo/breadcrumb/size.vue | 2 +- one/docs/demo/breadcrumb/style.vue | 2 +- one/docs/demo/button-group/disabled.vue | 2 +- one/docs/demo/button-group/items.vue | 2 +- one/docs/demo/button-group/size.vue | 2 +- one/docs/demo/button-group/style.vue | 2 +- one/docs/demo/button/disabled.vue | 2 +- one/docs/demo/button/loading.vue | 2 +- one/docs/demo/button/size.vue | 2 +- one/docs/demo/button/style.vue | 2 +- one/docs/demo/calendar/range-multiple.vue | 2 +- one/docs/demo/carousel/effect.vue | 2 +- one/docs/demo/carousel/indicator.vue | 19 +++++---- one/docs/demo/carousel/slides.vue | 2 +- one/docs/demo/carousel/switch.vue | 2 +- one/docs/demo/carousel/vertical.vue | 2 +- one/docs/demo/cascader/multiple.vue | 38 +++++++++++++---- one/docs/demo/cascader/size.vue | 9 ++-- one/docs/demo/check-button-group/default.vue | 2 +- .../demo/check-button-group/exclusive.vue | 2 +- one/docs/demo/checkbox-group/default.vue | 2 +- one/docs/demo/checkbox-group/exclusive.vue | 2 +- one/docs/demo/checkbox/size.vue | 10 +++-- one/docs/demo/collapse/size.vue | 7 ++-- one/docs/demo/date-picker/default.vue | 2 +- one/docs/demo/date-picker/range.vue | 2 +- one/docs/demo/dialog/async.vue | 2 +- one/docs/demo/dialog/custom.vue | 2 +- one/docs/demo/dialog/draggable.vue | 2 +- one/docs/demo/dialog/modal.vue | 2 +- one/docs/demo/dialog/size.vue | 2 +- one/docs/demo/dialog/stack.vue | 2 +- one/docs/demo/dialog/status.vue | 19 ++++++--- one/docs/demo/directives/drag/axis.vue | 14 +++---- one/docs/demo/directives/drag/base.vue | 6 +-- one/docs/demo/directives/drag/containment.vue | 14 +++---- one/docs/demo/directives/drag/targets.vue | 14 +++---- one/docs/demo/directives/nudge.vue | 11 +++-- one/docs/demo/directives/outside/click.vue | 9 ++-- .../directives/outside/hover-with-delay.vue | 9 ++-- one/docs/demo/directives/outside/hover.vue | 9 ++-- one/docs/demo/directives/resize.vue | 2 +- one/docs/demo/directives/tooltip.vue | 2 +- one/docs/demo/drawer/custom.vue | 2 +- one/docs/demo/drawer/modal.vue | 2 +- one/docs/demo/dropdown/disable.vue | 2 +- one/docs/demo/dropdown/other.vue | 3 +- one/docs/demo/dropdown/searchable.vue | 2 +- one/docs/demo/dropdown/size.vue | 2 +- one/docs/demo/dropdown/style.vue | 2 +- one/docs/demo/embedded/size.vue | 2 +- one/docs/demo/filter-panel/default.vue | 2 +- one/docs/demo/focus-visible.vue | 42 +++++++++---------- one/docs/demo/form/disabled.vue | 2 +- one/docs/demo/form/readonly.vue | 2 +- one/docs/demo/grid/default.vue | 2 - one/docs/demo/grid/fixed.vue | 2 - one/docs/demo/icon/default.vue | 6 +-- one/docs/demo/input-group/default.vue | 2 +- one/docs/demo/input/disabled.vue | 2 +- one/docs/demo/input/readonly.vue | 2 +- one/docs/demo/input/size.vue | 2 +- one/docs/demo/label/default.vue | 2 +- one/docs/demo/lightbox/default.vue | 19 ++++++--- one/docs/demo/link/default.vue | 2 +- one/docs/demo/loading/layout.vue | 2 +- one/docs/demo/loading/size.vue | 4 +- one/docs/demo/loading/slot.vue | 2 +- one/docs/demo/loading/style.vue | 3 +- one/docs/demo/number-input/disabled.vue | 2 +- one/docs/demo/number-input/readonly.vue | 2 +- one/docs/demo/number-input/size.vue | 2 +- one/docs/demo/overlay/position.vue | 8 +--- one/docs/demo/overlay/relative-base.vue | 19 ++++++++- one/docs/demo/overlay/relative.less | 18 -------- .../stack-display-order-with-on-overlay.vue | 17 +++++--- one/docs/demo/overlay/stack-display-order.vue | 17 +++++--- one/docs/demo/overlay/stack-on-overlay.vue | 21 +++++++--- one/docs/demo/pagination/goto.vue | 2 +- one/docs/demo/pagination/size.vue | 2 +- one/docs/demo/popover/position.vue | 2 +- one/docs/demo/popover/trigger.vue | 2 +- one/docs/demo/popover/ui.vue | 2 +- one/docs/demo/progress/default.vue | 2 +- one/docs/demo/radio-button-group/default.vue | 2 +- one/docs/demo/radio-group/default.vue | 2 +- one/docs/demo/radio/model.vue | 2 +- one/docs/demo/radio/size.vue | 2 +- one/docs/demo/region-picker/default.vue | 2 +- one/docs/demo/search-box/disabled.vue | 2 +- one/docs/demo/search-box/size.vue | 2 +- one/docs/demo/search-box/style.vue | 2 +- one/docs/demo/select/inline.vue | 2 +- one/docs/demo/select/multiple.vue | 2 +- one/docs/demo/select/size.vue | 2 +- one/docs/demo/slider/variant.vue | 2 - one/docs/demo/steps/default.vue | 2 +- one/docs/demo/steps/status.vue | 2 +- one/docs/demo/switch/size.vue | 2 +- one/docs/demo/table/basic.vue | 2 +- one/docs/demo/table/desc.vue | 6 ++- one/docs/demo/table/filter.vue | 2 - one/docs/demo/table/fixed.vue | 2 +- one/docs/demo/tabs/style.vue | 2 +- one/docs/demo/tag/removable.vue | 2 - one/docs/demo/tag/selectable.vue | 2 - one/docs/demo/tag/size.vue | 2 - one/docs/demo/textarea/disabled.vue | 2 +- one/docs/demo/textarea/readonly.vue | 2 +- one/docs/demo/time-picker/mode.vue | 2 +- one/docs/demo/toast/default.vue | 2 +- one/docs/demo/toast/plugin.vue | 2 +- one/docs/demo/tooltip/position.vue | 2 +- one/docs/demo/tooltip/style.vue | 2 +- one/docs/demo/tooltip/trigger.vue | 2 +- one/docs/demo/transfer/size.vue | 8 ++-- one/docs/demo/tree/custom-item.vue | 9 +--- one/docs/demo/tree/default.vue | 11 +++-- one/docs/demo/tree/size.vue | 11 +++-- one/docs/demo/ui.vue | 4 +- one/docs/demo/uploader/file.vue | 11 +++-- one/docs/directives/v-drag.md | 2 +- 134 files changed, 349 insertions(+), 300 deletions(-) delete mode 100644 one/docs/demo/overlay/relative.less diff --git a/one/docs/demo/accordion/multiple.vue b/one/docs/demo/accordion/multiple.vue index 59872f1..4ad4506 100644 --- a/one/docs/demo/accordion/multiple.vue +++ b/one/docs/demo/accordion/multiple.vue @@ -22,7 +22,8 @@ export default { } - diff --git a/one/docs/demo/accordion/size.vue b/one/docs/demo/accordion/size.vue index af62060..bc6d3f3 100644 --- a/one/docs/demo/accordion/size.vue +++ b/one/docs/demo/accordion/size.vue @@ -34,7 +34,8 @@ export default { } - diff --git a/one/docs/demo/alert-box/title.vue b/one/docs/demo/alert-box/title.vue index dc2c51c..d10aabf 100644 --- a/one/docs/demo/alert-box/title.vue +++ b/one/docs/demo/alert-box/title.vue @@ -55,10 +55,11 @@ export default { } - \ No newline at end of file + diff --git a/one/docs/demo/cascader/size.vue b/one/docs/demo/cascader/size.vue index e139dcd..0eee351 100644 --- a/one/docs/demo/cascader/size.vue +++ b/one/docs/demo/cascader/size.vue @@ -141,13 +141,14 @@ export default { } - diff --git a/one/docs/demo/check-button-group/default.vue b/one/docs/demo/check-button-group/default.vue index 54a8798..a1531e2 100644 --- a/one/docs/demo/check-button-group/default.vue +++ b/one/docs/demo/check-button-group/default.vue @@ -54,7 +54,7 @@ export default { } - diff --git a/one/docs/demo/collapse/size.vue b/one/docs/demo/collapse/size.vue index 5611579..cd92541 100644 --- a/one/docs/demo/collapse/size.vue +++ b/one/docs/demo/collapse/size.vue @@ -28,7 +28,8 @@ export default { } - diff --git a/one/docs/demo/date-picker/default.vue b/one/docs/demo/date-picker/default.vue index adba1c5..ec3178c 100644 --- a/one/docs/demo/date-picker/default.vue +++ b/one/docs/demo/date-picker/default.vue @@ -33,7 +33,7 @@ export default { } - diff --git a/one/docs/demo/directives/drag/axis.vue b/one/docs/demo/directives/drag/axis.vue index bd21b85..cbfc170 100644 --- a/one/docs/demo/directives/drag/axis.vue +++ b/one/docs/demo/directives/drag/axis.vue @@ -27,16 +27,15 @@ export default { } - diff --git a/one/docs/demo/directives/drag/base.vue b/one/docs/demo/directives/drag/base.vue index 293575e..fa9aeb3 100644 --- a/one/docs/demo/directives/drag/base.vue +++ b/one/docs/demo/directives/drag/base.vue @@ -18,11 +18,11 @@ export default { } - diff --git a/one/docs/demo/directives/drag/containment.vue b/one/docs/demo/directives/drag/containment.vue index f4e6d46..255be60 100644 --- a/one/docs/demo/directives/drag/containment.vue +++ b/one/docs/demo/directives/drag/containment.vue @@ -23,16 +23,16 @@ export default { } - diff --git a/one/docs/demo/directives/drag/targets.vue b/one/docs/demo/directives/drag/targets.vue index 5e6d688..1059014 100644 --- a/one/docs/demo/directives/drag/targets.vue +++ b/one/docs/demo/directives/drag/targets.vue @@ -28,12 +28,11 @@ export default { } - diff --git a/one/docs/demo/directives/nudge.vue b/one/docs/demo/directives/nudge.vue index 2b60864..2ccee48 100644 --- a/one/docs/demo/directives/nudge.vue +++ b/one/docs/demo/directives/nudge.vue @@ -45,19 +45,18 @@ export default { } - - - - \ No newline at end of file + diff --git a/one/docs/demo/link/default.vue b/one/docs/demo/link/default.vue index b52caea..0a363b5 100644 --- a/one/docs/demo/link/default.vue +++ b/one/docs/demo/link/default.vue @@ -44,7 +44,7 @@ export default { } - - - diff --git a/one/docs/demo/overlay/relative-base.vue b/one/docs/demo/overlay/relative-base.vue index c79128b..79e43e3 100644 --- a/one/docs/demo/overlay/relative-base.vue +++ b/one/docs/demo/overlay/relative-base.vue @@ -42,4 +42,21 @@ export default { } - + diff --git a/one/docs/demo/overlay/relative.less b/one/docs/demo/overlay/relative.less deleted file mode 100644 index fad24a3..0000000 --- a/one/docs/demo/overlay/relative.less +++ /dev/null @@ -1,18 +0,0 @@ -@import "~veui-theme-dls/lib.less"; - -.veui-overlay { - display: none; -} - -.relative-overlay { - width: 200px; - height: 100px; - line-height: 100px; - text-align: center; - border: 1px solid @veui-gray-color-5; - background-color: #fff; - - .veui-button { - margin-left: 10px; - } -} diff --git a/one/docs/demo/overlay/stack-display-order-with-on-overlay.vue b/one/docs/demo/overlay/stack-display-order-with-on-overlay.vue index fbbe44b..ad438c4 100644 --- a/one/docs/demo/overlay/stack-display-order-with-on-overlay.vue +++ b/one/docs/demo/overlay/stack-display-order-with-on-overlay.vue @@ -87,14 +87,21 @@ export default { } - - - diff --git a/one/docs/demo/overlay/stack-display-order.vue b/one/docs/demo/overlay/stack-display-order.vue index ef5b3d2..e5ef7c3 100644 --- a/one/docs/demo/overlay/stack-display-order.vue +++ b/one/docs/demo/overlay/stack-display-order.vue @@ -71,14 +71,21 @@ export default { } - - - diff --git a/one/docs/demo/overlay/stack-on-overlay.vue b/one/docs/demo/overlay/stack-on-overlay.vue index eedcc9f..62c0d44 100644 --- a/one/docs/demo/overlay/stack-on-overlay.vue +++ b/one/docs/demo/overlay/stack-on-overlay.vue @@ -60,10 +60,21 @@ export default { } - - - diff --git a/one/docs/demo/pagination/goto.vue b/one/docs/demo/pagination/goto.vue index f78acff..03f1ae6 100644 --- a/one/docs/demo/pagination/goto.vue +++ b/one/docs/demo/pagination/goto.vue @@ -30,7 +30,7 @@ export default { } - - - - - - diff --git a/one/docs/demo/tree/custom-item.vue b/one/docs/demo/tree/custom-item.vue index bad3976..ebb9999 100644 --- a/one/docs/demo/tree/custom-item.vue +++ b/one/docs/demo/tree/custom-item.vue @@ -176,11 +176,9 @@ export default { } - - diff --git a/one/docs/demo/tree/size.vue b/one/docs/demo/tree/size.vue index fd683d0..11fda3a 100644 --- a/one/docs/demo/tree/size.vue +++ b/one/docs/demo/tree/size.vue @@ -69,13 +69,12 @@ export default { } - diff --git a/one/docs/demo/ui.vue b/one/docs/demo/ui.vue index 56f7b01..c437d18 100644 --- a/one/docs/demo/ui.vue +++ b/one/docs/demo/ui.vue @@ -19,14 +19,12 @@ export default { } - - diff --git a/one/docs/directives/v-drag.md b/one/docs/directives/v-drag.md index 8dbf575..2dd1dd6 100644 --- a/one/docs/directives/v-drag.md +++ b/one/docs/directives/v-drag.md @@ -18,7 +18,7 @@ [[ demo src="/demo/directives/drag/targets.vue" ]] -### 限制拖动方向。 +### 限制拖动方向 [[ demo src="/demo/directives/drag/axis.vue" ]]