From a2020ca69ff1739856036a4c0cc6977fb888ff10 Mon Sep 17 00:00:00 2001 From: dlohvinov Date: Mon, 27 Nov 2023 18:06:08 +0200 Subject: [PATCH] refactor: wt-switcher colors [WTEL-3958] --- .../components/wt-switcher/Readme.md | 40 +++++ .../examples/example-disabled-switcher.vue | 19 +++ .../examples/example-switcher-label-left.vue | 18 ++ .../wt-switcher/examples/example-switcher.vue | 17 ++ .../wt-switcher/wt-switcher-docs.vue | 160 ++++++++---------- src/components/wt-switcher/_variables.scss | 37 +++- src/components/wt-switcher/wt-switcher.vue | 72 +++++--- 7 files changed, 237 insertions(+), 126 deletions(-) create mode 100644 docs/pages/webitel-ui/components/wt-switcher/Readme.md create mode 100644 docs/pages/webitel-ui/components/wt-switcher/examples/example-disabled-switcher.vue create mode 100644 docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher-label-left.vue create mode 100644 docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher.vue diff --git a/docs/pages/webitel-ui/components/wt-switcher/Readme.md b/docs/pages/webitel-ui/components/wt-switcher/Readme.md new file mode 100644 index 000000000..b19108cff --- /dev/null +++ b/docs/pages/webitel-ui/components/wt-switcher/Readme.md @@ -0,0 +1,40 @@ + + +# WtSwitcher + +## Props +::: raw + +::: + +## Example Switcher +::: raw + +::: + +::: details Code +<<< ./examples/example-switcher.vue +::: + +## Example Disabled Switcher +::: raw + +::: + +::: details Code +<<< ./examples/example-disabled-switcher.vue +::: + +## Example Switcher with Label Left +::: raw + +::: + +::: details Code +<<< ./examples/example-switcher-label-left.vue +::: diff --git a/docs/pages/webitel-ui/components/wt-switcher/examples/example-disabled-switcher.vue b/docs/pages/webitel-ui/components/wt-switcher/examples/example-disabled-switcher.vue new file mode 100644 index 000000000..6d5ae0256 --- /dev/null +++ b/docs/pages/webitel-ui/components/wt-switcher/examples/example-disabled-switcher.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher-label-left.vue b/docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher-label-left.vue new file mode 100644 index 000000000..bbb85ccce --- /dev/null +++ b/docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher-label-left.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher.vue b/docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher.vue new file mode 100644 index 000000000..98f4766d5 --- /dev/null +++ b/docs/pages/webitel-ui/components/wt-switcher/examples/example-switcher.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/docs/pages/webitel-ui/components/wt-switcher/wt-switcher-docs.vue b/docs/pages/webitel-ui/components/wt-switcher/wt-switcher-docs.vue index 48a38460a..fb99d0a1a 100644 --- a/docs/pages/webitel-ui/components/wt-switcher/wt-switcher-docs.vue +++ b/docs/pages/webitel-ui/components/wt-switcher/wt-switcher-docs.vue @@ -1,99 +1,77 @@