@soybeanjs/ui 0.22.4 → 0.23.0
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/README.md +7 -14
- package/README.zh-CN.md +7 -14
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/affix/affix.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/types.d.ts +1 -1
- package/dist/components/anchor/anchor.js +1 -1
- package/dist/components/autocomplete/autocomplete.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/backtop/backtop.js +1 -1
- package/dist/components/backtop/backtop.vue.d.ts +2 -3
- package/dist/components/backtop/types.d.ts +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/types.d.ts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button-icon.vue.d.ts +1 -1
- package/dist/components/button/button-link.vue.d.ts +2 -2
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/types.d.ts +1 -1
- package/dist/components/calendar/calendar.js +1 -1
- package/dist/components/calendar-range/calendar-range.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/components/checkbox/checkbox-card-group.js +1 -1
- package/dist/components/checkbox/checkbox-card.js +1 -1
- package/dist/components/checkbox/checkbox-group.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox/types.d.ts +1 -1
- package/dist/components/clipboard/clipboard.js +1 -1
- package/dist/components/clipboard/index.d.ts +1 -1
- package/dist/components/clipboard/types.d.ts +1 -1
- package/dist/components/collapsible/collapsible.js +1 -1
- package/dist/components/color-area/color-area.js +1 -1
- package/dist/components/color-field/color-field.js +1 -1
- package/dist/components/color-picker/color-picker.js +1 -1
- package/dist/components/color-picker/color-picker.vue.d.ts +1 -1
- package/dist/components/color-slider/color-slider.js +1 -1
- package/dist/components/color-slider/color-slider.vue.d.ts +1 -2
- package/dist/components/color-swatch/color-swatch.js +1 -1
- package/dist/components/color-swatch/index.d.ts +1 -1
- package/dist/components/color-swatch/types.d.ts +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker.vue.d.ts +1 -1
- package/dist/components/color-swatch-picker/index.d.ts +1 -1
- package/dist/components/color-swatch-picker/types.d.ts +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/command/command.js +1 -1
- package/dist/components/date-field/date-field.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-field/date-range-field.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.js +1 -1
- package/dist/components/dialog/dialog-provider.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/editable/editable.js +1 -1
- package/dist/components/empty/empty.js +1 -1
- package/dist/components/form/form-field-array.js +1 -1
- package/dist/components/form/form-field-base.js +1 -1
- package/dist/components/form/form-field.js +1 -1
- package/dist/components/form/form.js +1 -1
- package/dist/components/hover-card/hover-card.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/input-number/input-number.js +1 -1
- package/dist/components/input-otp/input-otp.js +1 -1
- package/dist/components/kbd/index.d.ts +1 -1
- package/dist/components/kbd/kbd.js +1 -1
- package/dist/components/kbd/types.d.ts +1 -1
- package/dist/components/label/label.js +1 -1
- package/dist/components/layout/layout-classic.js +1 -1
- package/dist/components/layout/layout.js +1 -1
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/list/list.js +1 -1
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menubar/menubar.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -1
- package/dist/components/page-tabs/index.d.ts +1 -1
- package/dist/components/page-tabs/page-tabs.js +1 -1
- package/dist/components/page-tabs/page-tabs.vue.d.ts +1 -1
- package/dist/components/page-tabs/types.d.ts +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/pagination/types.d.ts +1 -1
- package/dist/components/password/password.js +1 -1
- package/dist/components/popconfirm/popconfirm.js +1 -1
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/progress/progress-circle.js +1 -1
- package/dist/components/progress/progress-provider.js +1 -1
- package/dist/components/progress/progress.js +1 -1
- package/dist/components/radio-group/radio-group-card.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/radio-group/types.d.ts +1 -1
- package/dist/components/scroll-area/scroll-area.js +1 -1
- package/dist/components/scroll-area/types.d.ts +5 -0
- package/dist/components/segment/index.d.ts +1 -1
- package/dist/components/segment/segment.js +1 -1
- package/dist/components/segment/types.d.ts +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/separator/separator.js +1 -1
- package/dist/components/separator/types.d.ts +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/skeleton/types.d.ts +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/splitter/splitter-group.js +1 -1
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +1 -1
- package/dist/components/splitter/types.d.ts +5 -0
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/switch/types.d.ts +1 -1
- package/dist/components/table/table-radio.js +1 -1
- package/dist/components/table/table.js +1 -1
- package/dist/components/table/types.d.ts +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tabs/types.d.ts +1 -1
- package/dist/components/tag/index.d.ts +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/tag/types.d.ts +1 -1
- package/dist/components/tags-input/tags-input.js +1 -1
- package/dist/components/textarea/index.d.ts +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/textarea/types.d.ts +1 -1
- package/dist/components/time-field/time-field.js +1 -1
- package/dist/components/time-range-field/time-range-field.js +1 -1
- package/dist/components/toast/toast-provider.js +1 -1
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle/types.d.ts +1 -1
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/toggle-group/toggle-group.js +1 -1
- package/dist/components/toggle-group/types.d.ts +1 -1
- package/dist/components/toolbar/toolbar.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/tree-menu/tree-menu-styled-item.js +1 -1
- package/dist/components/tree-menu/tree-menu.js +1 -1
- package/dist/index.d.ts +14 -14
- package/dist/styles/accordion.js +1 -0
- package/dist/styles/affix.js +1 -0
- package/dist/styles/alert.d.ts +102 -0
- package/dist/styles/alert.js +1 -0
- package/dist/styles/anchor.js +1 -0
- package/dist/styles/autocomplete.js +1 -0
- package/dist/styles/avatar.js +1 -0
- package/dist/styles/backtop.js +1 -0
- package/dist/styles/badge.d.ts +73 -0
- package/dist/styles/badge.js +1 -0
- package/dist/styles/bottom-sheet.js +1 -0
- package/dist/styles/breadcrumb.js +1 -0
- package/dist/styles/button.d.ts +62 -0
- package/dist/styles/button.js +1 -0
- package/dist/styles/calendar-range.js +1 -0
- package/dist/styles/calendar.js +1 -0
- package/dist/styles/card.js +1 -0
- package/dist/styles/carousel.js +1 -0
- package/dist/styles/checkbox.d.ts +88 -0
- package/dist/styles/checkbox.js +1 -0
- package/dist/styles/clipboard.d.ts +1 -0
- package/dist/styles/clipboard.js +1 -0
- package/dist/styles/collapsible.js +1 -0
- package/dist/styles/color-area.js +1 -0
- package/dist/styles/color-field.js +1 -0
- package/dist/styles/color-picker.js +1 -0
- package/dist/styles/color-swatch-picker.d.ts +52 -0
- package/dist/styles/color-swatch-picker.js +1 -0
- package/dist/styles/color-swatch.d.ts +40 -0
- package/dist/styles/color-swatch.js +1 -0
- package/dist/styles/combobox.js +1 -0
- package/dist/styles/command.js +1 -0
- package/dist/styles/date-field.js +1 -0
- package/dist/styles/date-picker.js +1 -0
- package/dist/styles/date-range-field.js +1 -0
- package/dist/styles/date-range-picker.js +1 -0
- package/dist/styles/dialog.js +1 -0
- package/dist/styles/drawer.js +1 -0
- package/dist/styles/editable.js +1 -0
- package/dist/styles/empty.js +1 -0
- package/dist/styles/form.js +1 -0
- package/dist/styles/hover-card.js +1 -0
- package/dist/styles/input-number.js +1 -0
- package/dist/styles/input-otp.js +1 -0
- package/dist/styles/input.js +1 -0
- package/dist/styles/kbd.d.ts +29 -0
- package/dist/styles/kbd.js +1 -0
- package/dist/styles/label.js +1 -0
- package/dist/styles/layout.js +1 -0
- package/dist/styles/link.js +1 -0
- package/dist/styles/list.js +1 -0
- package/dist/styles/menu.js +1 -0
- package/dist/styles/menubar.js +1 -0
- package/dist/styles/navigation-menu.js +1 -0
- package/dist/styles/page-tabs.d.ts +60 -0
- package/dist/styles/page-tabs.js +1 -0
- package/dist/styles/pagination.d.ts +73 -0
- package/dist/styles/pagination.js +1 -0
- package/dist/styles/password.js +1 -0
- package/dist/styles/popconfirm.js +1 -0
- package/dist/styles/popover.js +1 -0
- package/dist/styles/progress.js +1 -0
- package/dist/styles/radio-group.d.ts +96 -0
- package/dist/{components/radio-group/variants.js → styles/radio-group.js} +1 -1
- package/dist/styles/scroll-area.js +1 -0
- package/dist/styles/segment.js +1 -0
- package/dist/styles/select.js +1 -0
- package/dist/styles/separator.d.ts +66 -0
- package/dist/styles/separator.js +1 -0
- package/dist/styles/skeleton.d.ts +29 -0
- package/dist/styles/skeleton.js +1 -0
- package/dist/styles/slider.js +1 -0
- package/dist/styles/spinner.js +1 -0
- package/dist/styles/splitter.js +1 -0
- package/dist/styles/stepper.js +1 -0
- package/dist/styles/switch.d.ts +75 -0
- package/dist/styles/switch.js +1 -0
- package/dist/styles/table.d.ts +124 -0
- package/dist/styles/table.js +1 -0
- package/dist/styles/tabs.d.ts +81 -0
- package/dist/styles/tabs.js +1 -0
- package/dist/styles/tag.d.ts +45 -0
- package/dist/styles/tag.js +1 -0
- package/dist/styles/tags-input.js +1 -0
- package/dist/styles/textarea.d.ts +64 -0
- package/dist/styles/textarea.js +1 -0
- package/dist/styles/time-range-field.js +1 -0
- package/dist/styles/toast.js +1 -0
- package/dist/styles/toggle-group.d.ts +79 -0
- package/dist/styles/toggle-group.js +1 -0
- package/dist/styles/toggle.d.ts +44 -0
- package/dist/styles/toggle.js +1 -0
- package/dist/styles/toolbar.js +1 -0
- package/dist/styles/tooltip.js +1 -0
- package/dist/styles/tree-menu.js +1 -0
- package/dist/styles.css +66 -49
- package/dist/theme/index.js +1 -1
- package/package.json +7 -8
- package/dist/components/accordion/variants.js +0 -1
- package/dist/components/affix/variants.js +0 -1
- package/dist/components/alert/variants.d.ts +0 -299
- package/dist/components/alert/variants.js +0 -1
- package/dist/components/anchor/variants.js +0 -1
- package/dist/components/autocomplete/variants.js +0 -1
- package/dist/components/avatar/variants.js +0 -1
- package/dist/components/backtop/variants.js +0 -1
- package/dist/components/badge/variants.d.ts +0 -200
- package/dist/components/badge/variants.js +0 -1
- package/dist/components/bottom-sheet/variants.js +0 -1
- package/dist/components/breadcrumb/variants.js +0 -1
- package/dist/components/button/variants.d.ts +0 -145
- package/dist/components/button/variants.js +0 -1
- package/dist/components/calendar/variants.js +0 -1
- package/dist/components/calendar-range/variants.js +0 -1
- package/dist/components/card/variants.js +0 -1
- package/dist/components/carousel/variants.js +0 -1
- package/dist/components/checkbox/variants.d.ts +0 -254
- package/dist/components/checkbox/variants.js +0 -1
- package/dist/components/clipboard/variants.d.ts +0 -1
- package/dist/components/collapsible/variants.js +0 -1
- package/dist/components/color-area/variants.js +0 -1
- package/dist/components/color-field/variants.js +0 -1
- package/dist/components/color-picker/variants.js +0 -1
- package/dist/components/color-swatch/variants.d.ts +0 -107
- package/dist/components/color-swatch/variants.js +0 -1
- package/dist/components/color-swatch-picker/variants.d.ts +0 -152
- package/dist/components/color-swatch-picker/variants.js +0 -1
- package/dist/components/combobox/variants.js +0 -1
- package/dist/components/command/variants.js +0 -1
- package/dist/components/date-field/variants.js +0 -1
- package/dist/components/date-picker/variants.js +0 -1
- package/dist/components/date-range-field/variants.js +0 -1
- package/dist/components/dialog/variants.js +0 -1
- package/dist/components/drawer/variants.js +0 -1
- package/dist/components/editable/variants.js +0 -1
- package/dist/components/empty/variants.js +0 -1
- package/dist/components/form/variants.js +0 -1
- package/dist/components/hover-card/variants.js +0 -1
- package/dist/components/input/variants.js +0 -1
- package/dist/components/input-number/variants.js +0 -1
- package/dist/components/input-otp/variants.js +0 -1
- package/dist/components/kbd/variants.d.ts +0 -59
- package/dist/components/kbd/variants.js +0 -1
- package/dist/components/label/variants.js +0 -1
- package/dist/components/layout/variants.js +0 -1
- package/dist/components/link/variants.js +0 -1
- package/dist/components/list/variants.js +0 -1
- package/dist/components/menu/variants.js +0 -1
- package/dist/components/menubar/variants.js +0 -1
- package/dist/components/navigation-menu/variants.js +0 -1
- package/dist/components/page-tabs/variants.d.ts +0 -182
- package/dist/components/page-tabs/variants.js +0 -1
- package/dist/components/pagination/variants.d.ts +0 -231
- package/dist/components/pagination/variants.js +0 -1
- package/dist/components/popconfirm/variants.js +0 -1
- package/dist/components/popover/variants.js +0 -1
- package/dist/components/progress/variants.js +0 -1
- package/dist/components/radio-group/variants.d.ts +0 -275
- package/dist/components/scroll-area/variants.js +0 -1
- package/dist/components/select/variants.js +0 -1
- package/dist/components/separator/variants.d.ts +0 -176
- package/dist/components/separator/variants.js +0 -1
- package/dist/components/skeleton/variants.d.ts +0 -59
- package/dist/components/skeleton/variants.js +0 -1
- package/dist/components/slider/variants.js +0 -1
- package/dist/components/spinner/variants.js +0 -1
- package/dist/components/splitter/variants.js +0 -1
- package/dist/components/stepper/variants.js +0 -1
- package/dist/components/switch/variants.d.ts +0 -209
- package/dist/components/switch/variants.js +0 -1
- package/dist/components/table/variants.d.ts +0 -428
- package/dist/components/table/variants.js +0 -1
- package/dist/components/tabs/variants.d.ts +0 -228
- package/dist/components/tabs/variants.js +0 -1
- package/dist/components/tag/variants.d.ts +0 -102
- package/dist/components/tag/variants.js +0 -1
- package/dist/components/tags-input/variants.js +0 -1
- package/dist/components/textarea/variants.d.ts +0 -182
- package/dist/components/textarea/variants.js +0 -1
- package/dist/components/toast/variants.js +0 -1
- package/dist/components/toggle/variants.d.ts +0 -99
- package/dist/components/toggle/variants.js +0 -1
- package/dist/components/toggle-group/variants.d.ts +0 -215
- package/dist/components/toggle-group/variants.js +0 -1
- package/dist/components/toolbar/variants.js +0 -1
- package/dist/components/tooltip/variants.js +0 -1
- package/dist/components/tree-menu/variants.js +0 -1
- package/dist/theme/context.d.ts +0 -1
- package/dist/theme/context.js +0 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/merge.d.ts +0 -1
- package/dist/theme/merge.js +0 -1
- package/dist/theme/shared.d.ts +0 -1
- package/dist/theme/shared.js +0 -1
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
//#region src/components/toggle-group/variants.d.ts
|
|
4
|
-
declare const toggleGroupVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
color: {
|
|
6
|
-
primary: {
|
|
7
|
-
item: string;
|
|
8
|
-
};
|
|
9
|
-
destructive: {
|
|
10
|
-
item: string;
|
|
11
|
-
};
|
|
12
|
-
success: {
|
|
13
|
-
item: string;
|
|
14
|
-
};
|
|
15
|
-
warning: {
|
|
16
|
-
item: string;
|
|
17
|
-
};
|
|
18
|
-
info: {
|
|
19
|
-
item: string;
|
|
20
|
-
};
|
|
21
|
-
carbon: {
|
|
22
|
-
item: string;
|
|
23
|
-
};
|
|
24
|
-
secondary: {
|
|
25
|
-
item: string;
|
|
26
|
-
};
|
|
27
|
-
accent: {
|
|
28
|
-
item: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
orientation: {
|
|
32
|
-
horizontal: {
|
|
33
|
-
root: string[];
|
|
34
|
-
};
|
|
35
|
-
vertical: {
|
|
36
|
-
root: string[];
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
variant: {
|
|
40
|
-
outline: {
|
|
41
|
-
item: string[];
|
|
42
|
-
};
|
|
43
|
-
soft: {
|
|
44
|
-
item: string[];
|
|
45
|
-
};
|
|
46
|
-
ghost: {
|
|
47
|
-
item: string[];
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
xs: {
|
|
52
|
-
item: string;
|
|
53
|
-
};
|
|
54
|
-
sm: {
|
|
55
|
-
item: string;
|
|
56
|
-
};
|
|
57
|
-
md: {
|
|
58
|
-
item: string;
|
|
59
|
-
};
|
|
60
|
-
lg: {
|
|
61
|
-
item: string;
|
|
62
|
-
};
|
|
63
|
-
xl: {
|
|
64
|
-
item: string;
|
|
65
|
-
};
|
|
66
|
-
'2xl': {
|
|
67
|
-
item: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
}, {
|
|
71
|
-
root: string[];
|
|
72
|
-
item: string[];
|
|
73
|
-
}, undefined, {
|
|
74
|
-
color: {
|
|
75
|
-
primary: {
|
|
76
|
-
item: string;
|
|
77
|
-
};
|
|
78
|
-
destructive: {
|
|
79
|
-
item: string;
|
|
80
|
-
};
|
|
81
|
-
success: {
|
|
82
|
-
item: string;
|
|
83
|
-
};
|
|
84
|
-
warning: {
|
|
85
|
-
item: string;
|
|
86
|
-
};
|
|
87
|
-
info: {
|
|
88
|
-
item: string;
|
|
89
|
-
};
|
|
90
|
-
carbon: {
|
|
91
|
-
item: string;
|
|
92
|
-
};
|
|
93
|
-
secondary: {
|
|
94
|
-
item: string;
|
|
95
|
-
};
|
|
96
|
-
accent: {
|
|
97
|
-
item: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
orientation: {
|
|
101
|
-
horizontal: {
|
|
102
|
-
root: string[];
|
|
103
|
-
};
|
|
104
|
-
vertical: {
|
|
105
|
-
root: string[];
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
variant: {
|
|
109
|
-
outline: {
|
|
110
|
-
item: string[];
|
|
111
|
-
};
|
|
112
|
-
soft: {
|
|
113
|
-
item: string[];
|
|
114
|
-
};
|
|
115
|
-
ghost: {
|
|
116
|
-
item: string[];
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
size: {
|
|
120
|
-
xs: {
|
|
121
|
-
item: string;
|
|
122
|
-
};
|
|
123
|
-
sm: {
|
|
124
|
-
item: string;
|
|
125
|
-
};
|
|
126
|
-
md: {
|
|
127
|
-
item: string;
|
|
128
|
-
};
|
|
129
|
-
lg: {
|
|
130
|
-
item: string;
|
|
131
|
-
};
|
|
132
|
-
xl: {
|
|
133
|
-
item: string;
|
|
134
|
-
};
|
|
135
|
-
'2xl': {
|
|
136
|
-
item: string;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
}, {
|
|
140
|
-
root: string[];
|
|
141
|
-
item: string[];
|
|
142
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
143
|
-
color: {
|
|
144
|
-
primary: {
|
|
145
|
-
item: string;
|
|
146
|
-
};
|
|
147
|
-
destructive: {
|
|
148
|
-
item: string;
|
|
149
|
-
};
|
|
150
|
-
success: {
|
|
151
|
-
item: string;
|
|
152
|
-
};
|
|
153
|
-
warning: {
|
|
154
|
-
item: string;
|
|
155
|
-
};
|
|
156
|
-
info: {
|
|
157
|
-
item: string;
|
|
158
|
-
};
|
|
159
|
-
carbon: {
|
|
160
|
-
item: string;
|
|
161
|
-
};
|
|
162
|
-
secondary: {
|
|
163
|
-
item: string;
|
|
164
|
-
};
|
|
165
|
-
accent: {
|
|
166
|
-
item: string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
orientation: {
|
|
170
|
-
horizontal: {
|
|
171
|
-
root: string[];
|
|
172
|
-
};
|
|
173
|
-
vertical: {
|
|
174
|
-
root: string[];
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
variant: {
|
|
178
|
-
outline: {
|
|
179
|
-
item: string[];
|
|
180
|
-
};
|
|
181
|
-
soft: {
|
|
182
|
-
item: string[];
|
|
183
|
-
};
|
|
184
|
-
ghost: {
|
|
185
|
-
item: string[];
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
size: {
|
|
189
|
-
xs: {
|
|
190
|
-
item: string;
|
|
191
|
-
};
|
|
192
|
-
sm: {
|
|
193
|
-
item: string;
|
|
194
|
-
};
|
|
195
|
-
md: {
|
|
196
|
-
item: string;
|
|
197
|
-
};
|
|
198
|
-
lg: {
|
|
199
|
-
item: string;
|
|
200
|
-
};
|
|
201
|
-
xl: {
|
|
202
|
-
item: string;
|
|
203
|
-
};
|
|
204
|
-
'2xl': {
|
|
205
|
-
item: string;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
}, {
|
|
209
|
-
root: string[];
|
|
210
|
-
item: string[];
|
|
211
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
212
|
-
type ToggleGroupVariants = VariantProps<typeof toggleGroupVariants>;
|
|
213
|
-
type ToggleGroupVariant = NonNullable<ToggleGroupVariants['variant']>;
|
|
214
|
-
//#endregion
|
|
215
|
-
export { ToggleGroupVariant };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`w-fit [&>*]:relative focus-visible:[&>*]:z-2`,`[&>*:not(:first-child):not(:last-child)]:!rounded-none`,`[&>*:not(:first-child):not(:last-child)>*]:!rounded-none`,`data-[orientation=vertical]:items-stretch`],item:[`inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-primary/30 focus-visible:ring-offset-background`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`]},variants:{color:{primary:{item:`focus-visible:ring-primary/30`},destructive:{item:`focus-visible:ring-destructive/30`},success:{item:`focus-visible:ring-success/30`},warning:{item:`focus-visible:ring-warning/30`},info:{item:`focus-visible:ring-info/30`},carbon:{item:`focus-visible:ring-carbon/30`},secondary:{item:`focus-visible:ring-secondary-foreground/20`},accent:{item:`focus-visible:ring-accent-foreground/20`}},orientation:{horizontal:{root:[`inline-flex flex-row rtl:flex-row-reverse`,`[&>*:not(:last-child)]:border-e-0 [&>*:not(:last-child)>*]:border-e-0`,`focus-visible:[&>*]:border-e focus-visible:[&>*>*]:border-e`,`[&>*:first-child]:!rounded-e-none [&>*:first-child>*]:!rounded-e-none`,`[&>*:last-child]:!rounded-s-none [&>*:last-child>*]:!rounded-s-none`]},vertical:{root:[`flex flex-col`,`[&>*:not(:last-child)]:border-b-0 [&>*:not(:last-child)>*]:border-b-0`,`focus-visible:[&>*]:border-b focus-visible:[&>*>*]:border-b`,`[&>*:first-child]:!rounded-b-none [&>*:first-child>*]:!rounded-b-none`,`[&>*:last-child]:!rounded-t-none [&>*:last-child>*]:!rounded-t-none`]}},variant:{outline:{item:[`border border-border bg-background text-foreground`,`data-[state=off]:hover:bg-accent data-[state=on]:bg-accent data-[state=on]:text-accent-foreground`]},soft:{item:[`bg-accent text-foreground`,`data-[state=off]:hover:bg-accent`]},ghost:{item:[`bg-transparent text-foreground`,`data-[state=off]:hover:bg-accent`]}},size:{xs:{item:`h-6 gap-1 px-1.5 text-2xs`},sm:{item:`h-7 gap-2 px-2 text-xs`},md:{item:`h-8 gap-3 px-4 text-sm`},lg:{item:`h-9 gap-4 px-6 text-base`},xl:{item:`h-10 gap-5 px-8 text-lg`},"2xl":{item:`h-12 gap-6 px-10 text-xl`}}},compoundVariants:[{color:`primary`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-primary/20 data-[state=on]:text-primary`}},{color:`destructive`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-destructive/20 data-[state=on]:text-destructive`}},{color:`success`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-success/20 data-[state=on]:text-success`}},{color:`warning`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-warning/20 data-[state=on]:text-warning`}},{color:`info`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-info/20 data-[state=on]:text-info`}},{color:`carbon`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-carbon/20 data-[state=on]:text-carbon`}},{color:`secondary`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-secondary-foreground/10 data-[state=on]:text-secondary-foreground`}},{color:`accent`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-accent-foreground/10 data-[state=on]:text-accent-foreground`}}],defaultVariants:{color:`accent`,orientation:`horizontal`,variant:`ghost`,size:`md`}});export{t as toggleGroupVariants};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=[`inline-flex items-center justify-center rounded-sm font-medium transition-colors`,`outline-none hover:bg-accent hover:text-accent-foreground`,`focus-visible:ring-3 focus-visible:ring-primary/30`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`aria-disabled:pointer-events-none aria-disabled:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`],n=e({slots:{root:[`inline-flex items-center rounded-md border border-border bg-background shadow-xs`,`data-[orientation=vertical]:h-auto data-[orientation=vertical]:w-fit data-[orientation=vertical]:flex-col`],button:t,link:[...t,`select-none no-underline`],linkIcon:`shrink-0 self-start text-muted-foreground rtl:rotate-270`,separator:[`shrink-0 bg-border data-[orientation=vertical]:w-px`,`data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full`],toggleGroup:`inline-flex items-center data-[orientation=vertical]:flex-col`,toggleItem:[...t,`data-[state=on]:bg-accent data-[state=on]:text-accent-foreground`]},variants:{size:{xs:{root:`gap-0.5 p-0.5 data-[orientation=horizontal]:h-6`,button:`h-5 min-w-5 gap-1 px-1 text-2xs`,link:`h-5 min-w-5 gap-1 px-1 text-2xs`,linkIcon:`size-2 -ms-1`,separator:`data-[orientation=vertical]:mx-0.5 data-[orientation=vertical]:h-3 data-[orientation=horizontal]:my-0.5`,toggleGroup:`gap-0.5`,toggleItem:`h-5 min-w-5 gap-1 px-1 text-2xs`},sm:{root:`gap-0.5 p-0.5 data-[orientation=horizontal]:h-7`,button:`h-6 min-w-6 gap-1 px-1.5 text-xs`,link:`h-6 min-w-6 gap-1 px-1.5 text-xs`,linkIcon:`size-2.5 -ms-1.5`,separator:`data-[orientation=vertical]:mx-0.5 data-[orientation=vertical]:h-4 data-[orientation=horizontal]:my-0.5`,toggleGroup:`gap-0.5`,toggleItem:`h-6 min-w-6 gap-1 px-1.5 text-xs`},md:{root:`gap-1 p-1 data-[orientation=horizontal]:h-9`,button:`h-7 min-w-7 gap-1 px-2 text-sm`,link:`h-7 min-w-7 gap-1 px-2 text-sm`,linkIcon:`size-3 -ms-2`,separator:`data-[orientation=vertical]:mx-1 data-[orientation=vertical]:h-4 data-[orientation=horizontal]:my-1`,toggleGroup:`gap-1`,toggleItem:`h-7 min-w-7 gap-1 px-2 text-sm`},lg:{root:`gap-1 p-1 data-[orientation=horizontal]:h-10`,button:`h-8 min-w-8 gap-2 px-2.5 text-base`,link:`h-8 min-w-8 gap-2 px-2.5 text-base`,linkIcon:`size-3.5 -ms-2.5`,separator:`data-[orientation=vertical]:mx-1 data-[orientation=vertical]:h-5 data-[orientation=horizontal]:my-1`,toggleGroup:`gap-1`,toggleItem:`h-8 min-w-8 gap-2 px-2.5 text-base`},xl:{root:`gap-1.5 p-1.5 data-[orientation=horizontal]:h-12`,button:`h-9 min-w-9 gap-2.5 px-3 text-lg`,link:`h-9 min-w-9 gap-2.5 px-3 text-lg`,linkIcon:`size-4 -ms-3`,separator:`data-[orientation=vertical]:mx-1.5 data-[orientation=vertical]:h-6 data-[orientation=horizontal]:my-1.5`,toggleGroup:`gap-1.5`,toggleItem:`h-9 min-w-9 gap-2.5 px-3 text-lg`},"2xl":{root:`gap-2 p-2 data-[orientation=horizontal]:h-14`,button:`h-10 min-w-10 gap-3 px-3.5 text-xl`,link:`h-10 min-w-10 gap-3 px-3.5 text-xl`,linkIcon:`size-4.5 -ms-3.5`,separator:`data-[orientation=vertical]:mx-2 data-[orientation=vertical]:h-7 data-[orientation=horizontal]:my-2`,toggleGroup:`gap-2`,toggleItem:`h-10 min-w-10 gap-3 px-3.5 text-xl`}}},defaultVariants:{size:`md`}});export{n as toolbarVariants};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{positioner:`w-max`,popup:[`w-auto rounded-md border bg-popover text-popover-foreground shadow-md outline-none z-50 will-change-transform`,`animate-in fade-in-0 zoom-in-95`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95`,`data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`],arrow:`w-1em h-0.5em fill-popover stroke-border`},variants:{size:{xs:{popup:`px-2 py-1 text-2xs`,arrow:`text-3xs`},sm:{popup:`px-2.5 py-1.25 text-xs`,arrow:`text-2xs`},md:{popup:`px-3 py-1.5 text-sm`,arrow:`text-xs`},lg:{popup:`px-3.5 py-1.75 text-base`,arrow:`text-sm`},xl:{popup:`px-4 py-2 text-lg`,arrow:`text-base`},"2xl":{popup:`px-4.5 py-2.5 text-xl`,arrow:`text-lg`}}},defaultVariants:{size:`md`}});export{t as tooltipVariants};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:`group flex-1 flex flex-col w-full h-full overflow-auto data-[state=collapsed]:w-[--soybean-tree-menu-collapsed-width] transition-[width,height]-200 ease-out`,groupRoot:`group-data-[state=collapsed]:mb-0`,group:`flex flex-col m-0 p-0 list-none`,groupLabel:`flex items-center text-foreground/70 group-data-[state=collapsed]:size-0 group-data-[state=collapsed]:p-0 group-data-[state=collapsed]:opacity-0 group-data-[state=collapsed]:overflow-hidden transition-[height,padding,opacity]-200`,item:`relative m-0 p-0 group-data-[state=collapsed]:hover:bg-sidebar-accent group-data-[state=collapsed]:hover:rounded-sm`,button:[`group/button relative flex items-center w-full rounded-sm outline-none cursor-pointer select-none group-data-[state=collapsed]:overflow-hidden`,`data-[active=true]:bg-primary/10 data-[active=true]:text-primary`,`data-[active=false]:hover:bg-sidebar-accent data-[active=false]:focus:bg-sidebar-accent`,`data-[child-active]:text-primary`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],collapsibleRoot:``,collapsibleTrigger:``,collapsibleContent:[`overflow-hidden transition will-change-auto`,`data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down`],collapsibleIcon:`shrink-0 ms-auto text-muted-foreground transition-transform-200 group-data-[state=open]/button:rotate-90 group-data-[child-active]/button:text-primary`,sub:`flex flex-col m-0 list-none ms-[--soybean-tree-menu-indent] border-s border-sidebar-border border-solid`,itemLabel:`truncate`,itemLinkIcon:`shrink-0 self-start text-muted-foreground rtl:rotate-270`,itemBadge:``,itemTag:`shrink-0 ms-auto inline-flex items-center rounded-sm bg-accent/15 text-accent-foreground`,itemAction:[`absolute end-0 top-1/2 -translate-y-1/2 z-2 inline-flex items-center justify-center rounded-sm text-muted-foreground outline-none transition-colors`,`focus-visible:bg-sidebar-accent focus-visible:text-foreground focus-visible:ring-3 focus-visible:ring-accent-foreground/20`,`disabled:pointer-events-none disabled:opacity-50`],itemAbsolute:`absolute inset-0 z-1 cursor-pointer`},variants:{size:{xs:{root:`gap-0.875 p-1.5 text-2xs`,groupRoot:`mb-0.875`,groupLabel:`h-6 gap-1 px-1.5 py-1 text-3xs`,group:`gap-0.875`,button:`gap-1.5 h-6 px-1.5 py-1 group-data-[state=collapsed]:w-6`,sub:`gap-0.875 ps-1.5 pt-0.875`,subButton:`gap-1.5 h-6 px-1.5 py-1 group-data-[state=collapsed]:w-6`,itemLinkIcon:`size-2 -ms-1`,itemTag:`min-h-3.5 px-1 text-4xs`,itemAction:`end-1 size-4 text-2xs`},sm:{root:`gap-1 p-1.75 text-xs`,groupRoot:`mb-1`,groupLabel:`h-7 gap-1.5 px-1.75 py-1 text-2xs`,group:`gap-1`,button:`gap-1.75 h-7 px-1.75 py-1 group-data-[state=collapsed]:w-7`,sub:`gap-1 ps-1.75 pt-1`,subButton:`gap-1.75 h-7 px-1.75 py-1 group-data-[state=collapsed]:w-7`,itemLinkIcon:`size-2.5 -ms-1.5`,itemTag:`min-h-4 px-1.25 text-3xs`,itemAction:`end-1.25 size-4.5 text-xs`},md:{root:`gap-1.25 p-2 text-sm`,groupRoot:`mb-1.25`,groupLabel:`h-8 gap-2 px-2 py-1.5 text-xs`,group:`gap-1.25`,button:`gap-2 h-8 px-2 py-1.5 group-data-[state=collapsed]:w-8`,sub:`gap-1.25 ps-2 pt-1.25`,subButton:`gap-2 h-8 px-2 py-1.5 group-data-[state=collapsed]:w-8`,itemLinkIcon:`size-3 -ms-2`,itemTag:`min-h-4.5 px-1.5 text-2xs`,itemAction:`end-1.5 size-5 text-sm`},lg:{root:`gap-1.5 p-2.25 text-base`,groupRoot:`mb-1.5`,groupLabel:`h-9 gap-2.5 px-2.25 py-1.5 text-sm`,group:`gap-1.5`,button:`gap-2.25 h-9 px-2.25 py-1.5 group-data-[state=collapsed]:w-9`,sub:`gap-1.5 ps-2.25 pt-1.5`,subButton:`gap-2.25 h-9 px-2.25 py-1.5 group-data-[state=collapsed]:w-9`,itemLinkIcon:`size-3.5 -ms-2.5`,itemTag:`min-h-5 px-1.75 text-xs`,itemAction:`end-1.75 size-5.5 text-base`},xl:{root:`gap-2 p-2.5 text-lg`,groupRoot:`mb-2`,groupLabel:`h-10 gap-3 px-2.5 py-2 text-base`,group:`gap-2`,button:`gap-2.5 h-10 px-2.5 py-2 group-data-[state=collapsed]:w-10`,sub:`gap-2 ps-2.5 pt-2`,subButton:`gap-2.5 h-10 px-2.5 py-2 group-data-[state=collapsed]:w-10`,itemLinkIcon:`size-4 -ms-3`,itemTag:`min-h-5.5 px-2 text-sm`,itemAction:`end-2 size-6 text-lg`},"2xl":{root:`gap-2.5 p-3 text-xl`,groupRoot:`mb-2.5`,groupLabel:`h-12 gap-3.5 px-3 py-2.5 text-lg`,group:`gap-2.5`,button:`gap-3 h-12 px-3 py-2.5 group-data-[state=collapsed]:w-12`,sub:`gap-2.5 ps-3 pt-2.5`,subButton:`gap-3 h-12 px-3 py-2.5 group-data-[state=collapsed]:w-12`,itemLinkIcon:`size-5 -ms-4`,itemTag:`min-h-6 px-2.5 text-base`,itemAction:`end-2.5 size-7 text-xl`}}},defaultVariants:{size:`md`}});export{t as treeMenuVariants};
|
package/dist/theme/context.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/theme/context.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{computed as e,toValue as t}from"vue";import{useContext as n}from"@soybeanjs/headless/composables";const[r,i]=n(`SizeContext`,n=>({size:e(()=>t(n)??`md`)}));
|
package/dist/theme/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { ThemeColor, ThemeSize } from "./types.js";
|
package/dist/theme/merge.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from "@soybeanjs/headless/types";
|
package/dist/theme/merge.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{clsx as e}from"clsx";import{twMerge as t}from"tailwind-merge";function n(...n){return t(e(n))}export{n as cn};
|
package/dist/theme/shared.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from "@soybeanjs/headless/types";
|
package/dist/theme/shared.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{cn as e}from"./merge.js";import{entriesOf as t}from"@soybeanjs/utils";function n(e){return e!=null&&e!==!1}function r(n,...r){return t(s(n).reduce((e,t)=>(u(e,t.targetKey,t.classes,t.prepend),e),{})).reduce((t,[n,i])=>(t[n]=e(...i,...r.filter(Boolean).map(e=>e?.[n]).filter(Boolean)),t),{})}function i(e){return Array.isArray(e)}function a(e){return Array.isArray(e)}function o(e){return e?i(e)?Array.from(e):[e]:[]}function s(e){let{$alias:n,$base:r,...i}=e,a=t(i).map(([e,t])=>({targetKey:e,classes:[l(r?.[e]),t()??``]}));for(let e of o(n)){let{$base:t,...n}=e.variants;for(let[r,i]of c(e.map)){let o=n[r];o&&a.push({targetKey:i,classes:[l(t?.[r]),o()??``],prepend:e.base??!0})}}return a}function c(e){return a(e)?Array.from(e):t(e).reduce((e,[t,n])=>n?[...e,[t,n]]:e,[])}function l(e){return typeof e==`function`?e():e}function u(e,t,r,i=!1){let a=r.filter(n);e[t]??=[],e[t]=i?[...a,...e[t]]:[...e[t],...a]}export{r as mergeVariants};
|