webcake-ui-kit 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +358 -8
- package/package.json +68 -5
- package/src/components/accordion/Accordion.vue +70 -0
- package/src/components/accordion/accordion.css +5 -0
- package/src/components/accordion-item/AccordionItem.vue +98 -0
- package/src/components/accordion-item/accordion-item.css +143 -0
- package/src/components/alert-dialog/AlertDialog.vue +82 -0
- package/src/components/alert-dialog/alert-dialog.css +33 -0
- package/src/components/badge/Badge.vue +2 -2
- package/src/components/badge/badge.css +1 -4
- package/src/components/breadcrumb/Breadcrumb.vue +85 -0
- package/src/components/breadcrumb/breadcrumb.css +90 -0
- package/src/components/button/Button.vue +77 -10
- package/src/components/button/button.css +258 -24
- package/src/components/button-group/ButtonGroup.vue +25 -0
- package/src/components/button-group/button-group.css +30 -0
- package/src/components/checkbox/Checkbox.vue +55 -0
- package/src/components/checkbox/checkbox.css +86 -0
- package/src/components/checkbox-group/CheckboxGroup.vue +50 -0
- package/src/components/checkbox-group/checkbox-group.css +35 -0
- package/src/components/dialog/Dialog.vue +355 -0
- package/src/components/dialog/dialog.css +255 -0
- package/src/components/divider/Divider.vue +35 -0
- package/src/components/divider/divider.css +38 -0
- package/src/components/input/Input.vue +99 -0
- package/src/components/input/input.css +123 -0
- package/src/components/pagination/Pagination.vue +211 -0
- package/src/components/pagination/pagination.css +13 -0
- package/src/components/radio/Radio.vue +74 -0
- package/src/components/radio/radio.css +89 -0
- package/src/components/radio-group/RadioGroup.vue +70 -0
- package/src/components/radio-group/radio_group.css +11 -0
- package/src/components/rich-checkbox-group/RichCheckboxGroup.vue +59 -0
- package/src/components/rich-checkbox-group/rich-checkbox-group.css +54 -0
- package/src/components/rich-switch-group/RichSwitchGroup.vue +49 -0
- package/src/components/rich-switch-group/rich_switch_group.css +45 -0
- package/src/components/select/Select.vue +262 -0
- package/src/components/select/select.css +207 -0
- package/src/components/select-option/SelectOption.vue +82 -0
- package/src/components/select-option/select_option.css +60 -0
- package/src/components/sidebar-group-label/SidebarGroupLabel.vue +68 -0
- package/src/components/sidebar-group-label/sidebar_group_label.css +61 -0
- package/src/components/sidebar-item/SidebarItem.vue +110 -0
- package/src/components/sidebar-item/sidebar_item.css +142 -0
- package/src/components/slider/Slider.vue +255 -0
- package/src/components/slider/slider.css +89 -0
- package/src/components/spinner/Spinner.vue +47 -0
- package/src/components/spinner/spinner.css +48 -0
- package/src/components/switch/Switch.vue +32 -0
- package/src/components/switch/switch.css +46 -0
- package/src/components/switch-group/SwitchGroup.vue +32 -0
- package/src/components/switch-group/switch_group.css +28 -0
- package/src/components/tabs/Tabs.vue +57 -0
- package/src/components/tabs/tabs.css +118 -0
- package/src/components/tag/Tag.vue +47 -0
- package/src/components/tag/tag.css +115 -0
- package/src/components/toggle/Toggle.vue +112 -0
- package/src/components/toggle/toggle.css +174 -0
- package/src/components/toggle-group/ToggleGroup.vue +57 -0
- package/src/components/toggle-group/toggle-group.css +68 -0
- package/src/icons/LoaderIcon.vue +22 -0
- package/src/index.js +29 -2
- package/src/styles/.omc/state/agent-replay-645326b7-372b-463d-ab45-0adaafe31a51.jsonl +2 -0
- package/src/styles/.omc/state/subagent-tracking.json +7 -0
- package/src/styles/alpha_colors.css +35 -37
- package/src/styles/border_radius.css +21 -23
- package/src/styles/brand_colors.css +37 -39
- package/src/styles/chart_colors.css +27 -29
- package/src/styles/color_general.css +206 -201
- package/src/styles/raw_colors.css +267 -269
- package/src/styles/shadow.css +10 -12
- package/src/styles/spacing.css +31 -33
- package/src/styles/typography.css +76 -78
package/src/index.js
CHANGED
|
@@ -1,2 +1,29 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
1
|
+
export { default as WkAccordion } from './components/accordion/Accordion.vue'
|
|
2
|
+
export { default as WkAccordionItem } from './components/accordion-item/AccordionItem.vue'
|
|
3
|
+
export { default as WkAlertDialog } from './components/alert-dialog/AlertDialog.vue'
|
|
4
|
+
export { default as WkBadge } from './components/badge/Badge.vue'
|
|
5
|
+
export { default as WkBreadcrumb } from './components/breadcrumb/Breadcrumb.vue'
|
|
6
|
+
export { default as WkButton } from './components/button/Button.vue'
|
|
7
|
+
export { default as WkButtonGroup } from './components/button-group/ButtonGroup.vue'
|
|
8
|
+
export { default as WkCheckbox } from './components/checkbox/Checkbox.vue'
|
|
9
|
+
export { default as WkCheckboxGroup } from './components/checkbox-group/CheckboxGroup.vue'
|
|
10
|
+
export { default as WkDialog } from './components/dialog/Dialog.vue'
|
|
11
|
+
export { default as WkDivider } from './components/divider/Divider.vue'
|
|
12
|
+
export { default as WkInput } from './components/input/Input.vue'
|
|
13
|
+
export { default as WkPagination } from './components/pagination/Pagination.vue'
|
|
14
|
+
export { default as WkRadio } from './components/radio/Radio.vue'
|
|
15
|
+
export { default as WkRadioGroup } from './components/radio-group/RadioGroup.vue'
|
|
16
|
+
export { default as WkRichCheckboxGroup } from './components/rich-checkbox-group/RichCheckboxGroup.vue'
|
|
17
|
+
export { default as WkRichSwitchGroup } from './components/rich-switch-group/RichSwitchGroup.vue'
|
|
18
|
+
export { default as WkSelect } from './components/select/Select.vue'
|
|
19
|
+
export { default as WkSelectOption } from './components/select-option/SelectOption.vue'
|
|
20
|
+
export { default as WkSidebarGroupLabel } from './components/sidebar-group-label/SidebarGroupLabel.vue'
|
|
21
|
+
export { default as WkSidebarItem } from './components/sidebar-item/SidebarItem.vue'
|
|
22
|
+
export { default as WkSlider } from './components/slider/Slider.vue'
|
|
23
|
+
export { default as WkSpinner } from './components/spinner/Spinner.vue'
|
|
24
|
+
export { default as WkSwitch } from './components/switch/Switch.vue'
|
|
25
|
+
export { default as WkSwitchGroup } from './components/switch-group/SwitchGroup.vue'
|
|
26
|
+
export { default as WkTabs } from './components/tabs/Tabs.vue'
|
|
27
|
+
export { default as WkTag } from './components/tag/Tag.vue'
|
|
28
|
+
export { default as WkToggle } from './components/toggle/Toggle.vue'
|
|
29
|
+
export { default as WkToggleGroup } from './components/toggle-group/ToggleGroup.vue'
|
|
@@ -1,39 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
--color-white-alpha-100: rgb(255 255 255 / 100%);
|
|
1
|
+
:root {
|
|
2
|
+
/* ========================= White Alpha ========================= */
|
|
3
|
+
--color-white-alpha-0: rgb(255 255 255 / 0%);
|
|
4
|
+
--color-white-alpha-001: rgb(255 255 255 / 0.01%);
|
|
5
|
+
--color-white-alpha-333: rgb(255 255 255 / 3.33%);
|
|
6
|
+
--color-white-alpha-5: rgb(255 255 255 / 5%);
|
|
7
|
+
--color-white-alpha-10: rgb(255 255 255 / 10%);
|
|
8
|
+
--color-white-alpha-15: rgb(255 255 255 / 15%);
|
|
9
|
+
--color-white-alpha-20: rgb(255 255 255 / 20%);
|
|
10
|
+
--color-white-alpha-30: rgb(255 255 255 / 30%);
|
|
11
|
+
--color-white-alpha-40: rgb(255 255 255 / 40%);
|
|
12
|
+
--color-white-alpha-50: rgb(255 255 255 / 50%);
|
|
13
|
+
--color-white-alpha-60: rgb(255 255 255 / 60%);
|
|
14
|
+
--color-white-alpha-70: rgb(255 255 255 / 70%);
|
|
15
|
+
--color-white-alpha-80: rgb(255 255 255 / 80%);
|
|
16
|
+
--color-white-alpha-90: rgb(255 255 255 / 90%);
|
|
17
|
+
--color-white-alpha-95: rgb(255 255 255 / 95%);
|
|
18
|
+
--color-white-alpha-100: rgb(255 255 255 / 100%);
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
20
|
+
/* ========================= Black Alpha ========================= */
|
|
21
|
+
--color-black-alpha-0: rgb(0 0 0 / 0%);
|
|
22
|
+
--color-black-alpha-001: rgb(0 0 0 / 0.01%);
|
|
23
|
+
--color-black-alpha-333: rgb(0 0 0 / 3.33%);
|
|
24
|
+
--color-black-alpha-5: rgb(0 0 0 / 5%);
|
|
25
|
+
--color-black-alpha-10: rgb(0 0 0 / 10%);
|
|
26
|
+
--color-black-alpha-15: rgb(0 0 0 / 15%);
|
|
27
|
+
--color-black-alpha-20: rgb(0 0 0 / 20%);
|
|
28
|
+
--color-black-alpha-30: rgb(0 0 0 / 30%);
|
|
29
|
+
--color-black-alpha-40: rgb(0 0 0 / 40%);
|
|
30
|
+
--color-black-alpha-50: rgb(0 0 0 / 50%);
|
|
31
|
+
--color-black-alpha-60: rgb(0 0 0 / 60%);
|
|
32
|
+
--color-black-alpha-70: rgb(0 0 0 / 70%);
|
|
33
|
+
--color-black-alpha-80: rgb(0 0 0 / 80%);
|
|
34
|
+
--color-black-alpha-90: rgb(0 0 0 / 90%);
|
|
35
|
+
--color-black-alpha-95: rgb(0 0 0 / 95%);
|
|
36
|
+
--color-black-alpha-100: rgb(0 0 0 / 100%);
|
|
39
37
|
}
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
--radius-infinite: 9999px;
|
|
1
|
+
:root {
|
|
2
|
+
--radius-0: 0px;
|
|
3
|
+
--radius-2: 2px;
|
|
4
|
+
--radius-4: 4px;
|
|
5
|
+
--radius-6: 6px;
|
|
6
|
+
--radius-8: 8px;
|
|
7
|
+
--radius-10: 10px;
|
|
8
|
+
--radius-12: 12px;
|
|
9
|
+
--radius-16: 16px;
|
|
10
|
+
--radius-24: 24px;
|
|
11
|
+
--radius-infinite: 9999px;
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
13
|
+
--rounded-none: 0;
|
|
14
|
+
--rounded-xs: var(--radius-0);
|
|
15
|
+
--rounded-sm: var(--radius-2);
|
|
16
|
+
--rounded-md: var(--radius-4);
|
|
17
|
+
--rounded-lg: var(--radius-6);
|
|
18
|
+
--radius: var(--radius-8);
|
|
19
|
+
--rounded-xl: var(--radius-10);
|
|
20
|
+
--rounded-2xl: var(--radius-12);
|
|
21
|
+
--rounded-3xl: var(--radius-16);
|
|
22
|
+
--rounded-full: var(--radius-infinite);
|
|
25
23
|
}
|
|
@@ -1,42 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
--color-brand-neutrals-950: var(--color-neutral-950);
|
|
1
|
+
:root {
|
|
2
|
+
/* Primary color scale — mapped from brand-shades (emerald) */
|
|
3
|
+
--color-brand-neutrals-50: var(--color-neutral-50);
|
|
4
|
+
--color-brand-neutrals-100: var(--color-neutral-100);
|
|
5
|
+
--color-brand-neutrals-200: var(--color-neutral-200);
|
|
6
|
+
--color-brand-neutrals-300: var(--color-neutral-300);
|
|
7
|
+
--color-brand-neutrals-400: var(--color-neutral-400);
|
|
8
|
+
--color-brand-neutrals-500: var(--color-neutral-500);
|
|
9
|
+
--color-brand-neutrals-600: var(--color-neutral-600);
|
|
10
|
+
--color-brand-neutrals-700: var(--color-neutral-700);
|
|
11
|
+
--color-brand-neutrals-800: var(--color-neutral-800);
|
|
12
|
+
--color-brand-neutrals-900: var(--color-neutral-900);
|
|
13
|
+
--color-brand-neutrals-950: var(--color-neutral-950);
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
15
|
+
/* ========================= Brand Shades ========================= */
|
|
16
|
+
--color-brand-shades-50: var(--color-emerald-50);
|
|
17
|
+
--color-brand-shades-100: var(--color-emerald-100);
|
|
18
|
+
--color-brand-shades-200: var(--color-emerald-200);
|
|
19
|
+
--color-brand-shades-300: var(--color-emerald-300);
|
|
20
|
+
--color-brand-shades-400: var(--color-emerald-400);
|
|
21
|
+
--color-brand-shades-500: var(--color-emerald-500);
|
|
22
|
+
--color-brand-shades-600: var(--color-emerald-600);
|
|
23
|
+
--color-brand-shades-700: var(--color-emerald-700);
|
|
24
|
+
--color-brand-shades-800: var(--color-emerald-800);
|
|
25
|
+
--color-brand-shades-900: var(--color-emerald-900);
|
|
26
|
+
--color-brand-shades-950: var(--color-emerald-950);
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
28
|
+
/* ========================= Primary Landing ========================= */
|
|
29
|
+
--color-primary-landing-50: #f0fdf4;
|
|
30
|
+
--color-primary-landing-100: #dbfde6;
|
|
31
|
+
--color-primary-landing-200: #baf8cf;
|
|
32
|
+
--color-primary-landing-300: #84f1aa;
|
|
33
|
+
--color-primary-landing-400: #48e07d;
|
|
34
|
+
--color-primary-landing-500: #1db954;
|
|
35
|
+
--color-primary-landing-600: #14a547;
|
|
36
|
+
--color-primary-landing-700: #13823b;
|
|
37
|
+
--color-primary-landing-800: #156633;
|
|
38
|
+
--color-primary-landing-900: #13542c;
|
|
39
|
+
--color-primary-landing-950: #042f15;
|
|
42
40
|
}
|
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--chart-5: #fe9a00;
|
|
1
|
+
:root {
|
|
2
|
+
/* Chart */
|
|
3
|
+
--chart-1: #f54a00;
|
|
4
|
+
--chart-2: #009689;
|
|
5
|
+
--chart-3: #104e64;
|
|
6
|
+
--chart-4: #ffb900;
|
|
7
|
+
--chart-5: #fe9a00;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
--positive: #009689;
|
|
10
|
+
--negative: #f54a00;
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
--fill: #bfdeffb3;
|
|
13
|
+
--stroke: #8ec5ff;
|
|
14
|
+
--fill-2: #aaccffb3;
|
|
15
|
+
--stroke-2: #3f8dff;
|
|
16
|
+
}
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
.dark {
|
|
19
|
+
/* Chart */
|
|
20
|
+
--chart-1: #1447e6;
|
|
21
|
+
--chart-2: #00bc7d;
|
|
22
|
+
--chart-3: #fd9a00;
|
|
23
|
+
--chart-4: #ad46ff;
|
|
24
|
+
--chart-5: #ff2056;
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
--positive: #00bc7d;
|
|
27
|
+
--negative: #ff2056;
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
29
|
+
--fill: #475d75b3;
|
|
30
|
+
--stroke: #8ec5ff;
|
|
31
|
+
--fill-2: #1f4176b3;
|
|
32
|
+
--stroke-2: #3f8dff;
|
|
35
33
|
}
|