@soybeanjs/ui 0.22.3 → 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-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/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-panel.vue.d.ts +2 -2
- 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,228 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
//#region src/components/tabs/variants.d.ts
|
|
4
|
-
declare const tabsVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
size: {
|
|
6
|
-
xs: {
|
|
7
|
-
root: string;
|
|
8
|
-
list: string;
|
|
9
|
-
trigger: string;
|
|
10
|
-
};
|
|
11
|
-
sm: {
|
|
12
|
-
root: string;
|
|
13
|
-
list: string;
|
|
14
|
-
trigger: string;
|
|
15
|
-
};
|
|
16
|
-
md: {
|
|
17
|
-
root: string;
|
|
18
|
-
list: string;
|
|
19
|
-
trigger: string;
|
|
20
|
-
};
|
|
21
|
-
lg: {
|
|
22
|
-
root: string;
|
|
23
|
-
list: string;
|
|
24
|
-
trigger: string;
|
|
25
|
-
};
|
|
26
|
-
xl: {
|
|
27
|
-
root: string;
|
|
28
|
-
list: string;
|
|
29
|
-
trigger: string;
|
|
30
|
-
};
|
|
31
|
-
'2xl': {
|
|
32
|
-
root: string;
|
|
33
|
-
list: string;
|
|
34
|
-
trigger: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
orientation: {
|
|
38
|
-
horizontal: {
|
|
39
|
-
root: string;
|
|
40
|
-
indicator: string;
|
|
41
|
-
};
|
|
42
|
-
vertical: {
|
|
43
|
-
list: string;
|
|
44
|
-
indicator: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
shape: {
|
|
48
|
-
square: {
|
|
49
|
-
list: string;
|
|
50
|
-
indicatorContent: string;
|
|
51
|
-
};
|
|
52
|
-
rounded: {
|
|
53
|
-
list: string;
|
|
54
|
-
indicatorContent: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
fill: {
|
|
58
|
-
full: {
|
|
59
|
-
root: string;
|
|
60
|
-
};
|
|
61
|
-
auto: {
|
|
62
|
-
root: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
enableIndicator: {
|
|
66
|
-
false: {
|
|
67
|
-
trigger: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
}, {
|
|
71
|
-
root: string;
|
|
72
|
-
list: string;
|
|
73
|
-
trigger: string[];
|
|
74
|
-
indicator: string;
|
|
75
|
-
indicatorContent: string;
|
|
76
|
-
content: string;
|
|
77
|
-
}, undefined, {
|
|
78
|
-
size: {
|
|
79
|
-
xs: {
|
|
80
|
-
root: string;
|
|
81
|
-
list: string;
|
|
82
|
-
trigger: string;
|
|
83
|
-
};
|
|
84
|
-
sm: {
|
|
85
|
-
root: string;
|
|
86
|
-
list: string;
|
|
87
|
-
trigger: string;
|
|
88
|
-
};
|
|
89
|
-
md: {
|
|
90
|
-
root: string;
|
|
91
|
-
list: string;
|
|
92
|
-
trigger: string;
|
|
93
|
-
};
|
|
94
|
-
lg: {
|
|
95
|
-
root: string;
|
|
96
|
-
list: string;
|
|
97
|
-
trigger: string;
|
|
98
|
-
};
|
|
99
|
-
xl: {
|
|
100
|
-
root: string;
|
|
101
|
-
list: string;
|
|
102
|
-
trigger: string;
|
|
103
|
-
};
|
|
104
|
-
'2xl': {
|
|
105
|
-
root: string;
|
|
106
|
-
list: string;
|
|
107
|
-
trigger: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
orientation: {
|
|
111
|
-
horizontal: {
|
|
112
|
-
root: string;
|
|
113
|
-
indicator: string;
|
|
114
|
-
};
|
|
115
|
-
vertical: {
|
|
116
|
-
list: string;
|
|
117
|
-
indicator: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
shape: {
|
|
121
|
-
square: {
|
|
122
|
-
list: string;
|
|
123
|
-
indicatorContent: string;
|
|
124
|
-
};
|
|
125
|
-
rounded: {
|
|
126
|
-
list: string;
|
|
127
|
-
indicatorContent: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
fill: {
|
|
131
|
-
full: {
|
|
132
|
-
root: string;
|
|
133
|
-
};
|
|
134
|
-
auto: {
|
|
135
|
-
root: string;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
enableIndicator: {
|
|
139
|
-
false: {
|
|
140
|
-
trigger: string;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
}, {
|
|
144
|
-
root: string;
|
|
145
|
-
list: string;
|
|
146
|
-
trigger: string[];
|
|
147
|
-
indicator: string;
|
|
148
|
-
indicatorContent: string;
|
|
149
|
-
content: string;
|
|
150
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
151
|
-
size: {
|
|
152
|
-
xs: {
|
|
153
|
-
root: string;
|
|
154
|
-
list: string;
|
|
155
|
-
trigger: string;
|
|
156
|
-
};
|
|
157
|
-
sm: {
|
|
158
|
-
root: string;
|
|
159
|
-
list: string;
|
|
160
|
-
trigger: string;
|
|
161
|
-
};
|
|
162
|
-
md: {
|
|
163
|
-
root: string;
|
|
164
|
-
list: string;
|
|
165
|
-
trigger: string;
|
|
166
|
-
};
|
|
167
|
-
lg: {
|
|
168
|
-
root: string;
|
|
169
|
-
list: string;
|
|
170
|
-
trigger: string;
|
|
171
|
-
};
|
|
172
|
-
xl: {
|
|
173
|
-
root: string;
|
|
174
|
-
list: string;
|
|
175
|
-
trigger: string;
|
|
176
|
-
};
|
|
177
|
-
'2xl': {
|
|
178
|
-
root: string;
|
|
179
|
-
list: string;
|
|
180
|
-
trigger: string;
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
orientation: {
|
|
184
|
-
horizontal: {
|
|
185
|
-
root: string;
|
|
186
|
-
indicator: string;
|
|
187
|
-
};
|
|
188
|
-
vertical: {
|
|
189
|
-
list: string;
|
|
190
|
-
indicator: string;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
shape: {
|
|
194
|
-
square: {
|
|
195
|
-
list: string;
|
|
196
|
-
indicatorContent: string;
|
|
197
|
-
};
|
|
198
|
-
rounded: {
|
|
199
|
-
list: string;
|
|
200
|
-
indicatorContent: string;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
fill: {
|
|
204
|
-
full: {
|
|
205
|
-
root: string;
|
|
206
|
-
};
|
|
207
|
-
auto: {
|
|
208
|
-
root: string;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
enableIndicator: {
|
|
212
|
-
false: {
|
|
213
|
-
trigger: string;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
}, {
|
|
217
|
-
root: string;
|
|
218
|
-
list: string;
|
|
219
|
-
trigger: string[];
|
|
220
|
-
indicator: string;
|
|
221
|
-
indicatorContent: string;
|
|
222
|
-
content: string;
|
|
223
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
224
|
-
type TabsProps = VariantProps<typeof tabsVariants>;
|
|
225
|
-
type TabsShape = NonNullable<TabsProps['shape']>;
|
|
226
|
-
type TabsFill = NonNullable<TabsProps['fill']>;
|
|
227
|
-
//#endregion
|
|
228
|
-
export { TabsFill, TabsShape };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:`flex`,list:`relative inline-flex justify-center items-center bg-muted text-muted-foreground`,trigger:[`relative z-3 inline-flex items-center justify-center flex-1 whitespace-nowrap rounded-md font-medium transition-all-200`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`,`disabled:cursor-not-allowed disabled:opacity-50`],indicator:`absolute top-0 start-0 z-2 transition-[width,height,transform] duration-300`,indicatorContent:`w-full h-full bg-background shadow`,content:`flex-grow self-stretch transition-all-150 outline-none focus-visible:ring-3 focus-visible:ring-offset-background focus-visible:ring-primary/30`},variants:{size:{xs:{root:`text-2xs`,list:`p-0.75`,trigger:`gap-1 px-1.5 py-0.75`},sm:{root:`text-xs`,list:`p-0.875`,trigger:`gap-1.5 px-2 py-1`},md:{root:`text-sm`,list:`p-1`,trigger:`gap-2 px-3 py-1`},lg:{root:`text-base`,list:`p-1.125`,trigger:`gap-2.5 px-4 py-1.125`},xl:{root:`text-lg`,list:`p-1.25`,trigger:`gap-3 px-5 py-1.25`},"2xl":{root:`text-xl`,list:`p-1.5`,trigger:`gap-4 px-6 py-1.5`}},orientation:{horizontal:{root:`flex-col`,indicator:`h-full w-[--soybean-tabs-indicator-size] translate-x-[--soybean-tabs-indicator-position] rtl:-translate-x-[--soybean-tabs-indicator-position]`},vertical:{list:`flex-col items-stretch`,indicator:`w-full h-[--soybean-tabs-indicator-size] translate-y-[--soybean-tabs-indicator-position]`}},shape:{square:{list:`rounded-md`,indicatorContent:`rounded-md`},rounded:{list:`rounded-full`,indicatorContent:`rounded-full`}},fill:{full:{root:`items-stretch`},auto:{root:`items-start`}},enableIndicator:{false:{trigger:`data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow`}}},compoundVariants:[{size:`xs`,orientation:`horizontal`,class:{indicator:`py-0.75`,content:`mt-1.5`}},{size:`xs`,orientation:`vertical`,class:{indicator:`px-0.75`,content:`ms-1.5`}},{size:`sm`,orientation:`horizontal`,class:{indicator:`py-1`,content:`mt-1.75`}},{size:`sm`,orientation:`vertical`,class:{indicator:`px-1`,content:`ms-1.75`}},{size:`md`,orientation:`horizontal`,class:{indicator:`py-1`,content:`mt-2`}},{size:`md`,orientation:`vertical`,class:{indicator:`px-1`,content:`ms-2`}},{size:`lg`,orientation:`horizontal`,class:{indicator:`py-1.125`,content:`mt-2.5`}},{size:`lg`,orientation:`vertical`,class:{indicator:`px-1.125`,content:`ms-2.5`}},{size:`xl`,orientation:`horizontal`,class:{indicator:`py-1.25`,content:`mt-3`}},{size:`xl`,orientation:`vertical`,class:{indicator:`px-1.25`,content:`ms-3`}},{size:`2xl`,orientation:`horizontal`,class:{indicator:`py-1.5`,content:`mt-3.5`}},{size:`2xl`,orientation:`vertical`,class:{indicator:`px-1.5`,content:`ms-3.5`}}],defaultVariants:{size:`md`,orientation:`horizontal`,shape:`square`,fill:`auto`,enableIndicator:!0}});export{t as tabsVariants};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
//#region src/components/tag/variants.d.ts
|
|
4
|
-
declare const tagVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
color: {
|
|
6
|
-
primary: string;
|
|
7
|
-
destructive: string;
|
|
8
|
-
success: string;
|
|
9
|
-
warning: string;
|
|
10
|
-
info: string;
|
|
11
|
-
carbon: string;
|
|
12
|
-
secondary: string;
|
|
13
|
-
accent: string;
|
|
14
|
-
};
|
|
15
|
-
variant: {
|
|
16
|
-
solid: string;
|
|
17
|
-
pure: string;
|
|
18
|
-
outline: string;
|
|
19
|
-
soft: string;
|
|
20
|
-
ghost: string;
|
|
21
|
-
raw: string;
|
|
22
|
-
};
|
|
23
|
-
size: {
|
|
24
|
-
xs: string;
|
|
25
|
-
sm: string;
|
|
26
|
-
md: string;
|
|
27
|
-
lg: string;
|
|
28
|
-
xl: string;
|
|
29
|
-
'2xl': string;
|
|
30
|
-
};
|
|
31
|
-
shape: {
|
|
32
|
-
auto: string;
|
|
33
|
-
rounded: string;
|
|
34
|
-
};
|
|
35
|
-
}, undefined, "inline-flex items-center border font-semibold", {
|
|
36
|
-
color: {
|
|
37
|
-
primary: string;
|
|
38
|
-
destructive: string;
|
|
39
|
-
success: string;
|
|
40
|
-
warning: string;
|
|
41
|
-
info: string;
|
|
42
|
-
carbon: string;
|
|
43
|
-
secondary: string;
|
|
44
|
-
accent: string;
|
|
45
|
-
};
|
|
46
|
-
variant: {
|
|
47
|
-
solid: string;
|
|
48
|
-
pure: string;
|
|
49
|
-
outline: string;
|
|
50
|
-
soft: string;
|
|
51
|
-
ghost: string;
|
|
52
|
-
raw: string;
|
|
53
|
-
};
|
|
54
|
-
size: {
|
|
55
|
-
xs: string;
|
|
56
|
-
sm: string;
|
|
57
|
-
md: string;
|
|
58
|
-
lg: string;
|
|
59
|
-
xl: string;
|
|
60
|
-
'2xl': string;
|
|
61
|
-
};
|
|
62
|
-
shape: {
|
|
63
|
-
auto: string;
|
|
64
|
-
rounded: string;
|
|
65
|
-
};
|
|
66
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
67
|
-
color: {
|
|
68
|
-
primary: string;
|
|
69
|
-
destructive: string;
|
|
70
|
-
success: string;
|
|
71
|
-
warning: string;
|
|
72
|
-
info: string;
|
|
73
|
-
carbon: string;
|
|
74
|
-
secondary: string;
|
|
75
|
-
accent: string;
|
|
76
|
-
};
|
|
77
|
-
variant: {
|
|
78
|
-
solid: string;
|
|
79
|
-
pure: string;
|
|
80
|
-
outline: string;
|
|
81
|
-
soft: string;
|
|
82
|
-
ghost: string;
|
|
83
|
-
raw: string;
|
|
84
|
-
};
|
|
85
|
-
size: {
|
|
86
|
-
xs: string;
|
|
87
|
-
sm: string;
|
|
88
|
-
md: string;
|
|
89
|
-
lg: string;
|
|
90
|
-
xl: string;
|
|
91
|
-
'2xl': string;
|
|
92
|
-
};
|
|
93
|
-
shape: {
|
|
94
|
-
auto: string;
|
|
95
|
-
rounded: string;
|
|
96
|
-
};
|
|
97
|
-
}, undefined, "inline-flex items-center border font-semibold", unknown, unknown, undefined>>;
|
|
98
|
-
type TagVariants = VariantProps<typeof tagVariants>;
|
|
99
|
-
type TagVariant = NonNullable<TagVariants['variant']>;
|
|
100
|
-
type TagShape = NonNullable<TagVariants['shape']>;
|
|
101
|
-
//#endregion
|
|
102
|
-
export { TagShape, TagVariant };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({base:`inline-flex items-center border font-semibold`,variants:{color:{primary:`border-primary text-primary`,destructive:`border-destructive text-destructive`,success:`border-success text-success`,warning:`border-warning text-warning`,info:`border-info text-info`,carbon:`border-carbon text-carbon`,secondary:`border-secondary-foreground/50 text-secondary-foreground`,accent:`border-accent-foreground/50 text-accent-foreground`},variant:{solid:``,pure:`bg-background text-foreground border-border`,outline:`bg-background`,soft:`border-0`,ghost:``,raw:`bg-transparent border-0`},size:{xs:`gap-0.5 h-3.5 px-1 text-4xs`,sm:`gap-0.75 h-4 px-1.5 text-3xs`,md:`gap-1 h-4.5 px-2 text-2xs`,lg:`gap-1.25 h-5 px-2.5 text-xs`,xl:`gap-1.5 h-6 px-3 text-sm`,"2xl":`gap-2 h-7 px-4 text-base`},shape:{auto:`rounded-md`,rounded:`rounded-full`}},compoundVariants:[{color:`primary`,variant:`solid`,class:`bg-primary text-primary-foreground`},{color:`destructive`,variant:`solid`,class:`bg-destructive text-destructive-foreground`},{color:`success`,variant:`solid`,class:`bg-success text-success-foreground`},{color:`warning`,variant:`solid`,class:`bg-warning text-warning-foreground`},{color:`info`,variant:`solid`,class:`bg-info text-info-foreground`},{color:`carbon`,variant:`solid`,class:`bg-carbon text-carbon-foreground`},{color:`secondary`,variant:`solid`,class:`bg-secondary text-secondary-foreground`},{color:`accent`,variant:`solid`,class:`bg-accent text-accent-foreground`},{color:`primary`,variant:[`soft`,`ghost`],class:`bg-primary/10`},{color:`destructive`,variant:[`soft`,`ghost`],class:`bg-destructive/10`},{color:`success`,variant:[`soft`,`ghost`],class:`bg-success/10`},{color:`warning`,variant:[`soft`,`ghost`],class:`bg-warning/10`},{color:`info`,variant:[`soft`,`ghost`],class:`bg-info/10`},{color:`carbon`,variant:[`soft`,`ghost`],class:`bg-carbon/10`},{color:`secondary`,variant:[`soft`,`ghost`],class:`bg-secondary-foreground/5`},{color:`accent`,variant:[`soft`,`ghost`],class:`bg-accent-foreground/5`}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`,shape:`auto`}});export{t as tagVariants};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group relative flex w-full flex-wrap items-center rounded-md border border-input bg-background shadow-sm transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`,`data-[invalid]:focus-within:ring-destructive/30`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],item:[`inline-flex items-center rounded-md bg-accent ring-offset-background transition-[box-shadow,background-color]`,`data-[state=active]:ring-2 data-[state=active]:ring-primary/30 data-[state=active]:ring-offset-2`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`],itemText:`rounded bg-transparent`,itemDelete:``,control:[`grow min-w-0 bg-transparent text-foreground outline-none`,`placeholder:text-muted-foreground disabled:cursor-not-allowed`],clear:`absolute opacity-0 transition-opacity group-data-[has-value]:opacity-100`},variants:{size:{xs:{root:`gap-1 px-1.5 py-1 text-2xs`,item:`min-h-4 gap-0.5`,itemText:`px-1.5 py-0.5`,itemDelete:`me-0.5`,input:`min-h-5 px-0.5`,clear:`end-0.5 top-0.5`},sm:{root:`gap-1.5 px-2 py-1 text-xs`,item:`min-h-4.5 gap-0.75`,itemText:`px-1.5 py-0.5`,itemDelete:`me-0.5`,input:`min-h-5 px-0.75`,clear:`end-0.75 top-0.75`},md:{root:`gap-2 px-2 py-1 text-sm`,item:`min-h-5 gap-1`,itemText:`px-2 py-0.5`,itemDelete:`me-1`,input:`min-h-5 px-1`,clear:`end-1 top-1`},lg:{root:`gap-2 px-2.5 py-1.5 text-base`,item:`min-h-6 gap-1`,itemText:`px-2 py-0.5`,itemDelete:`me-1`,input:`min-h-6 px-1.25`,clear:`end-1.25 top-1.25`},xl:{root:`gap-2.5 px-3 py-2 text-lg`,item:`min-h-7 gap-1.5`,itemText:`px-2.5 py-1`,itemDelete:`me-1`,input:`min-h-7 px-1.5`,clear:`end-1.5 top-1.5`},"2xl":{root:`gap-3 px-3.5 py-2.5 text-xl`,item:`min-h-8 gap-1.5`,itemText:`px-3 py-1`,itemDelete:`me-1.5`,input:`min-h-8 px-2`,clear:`end-2 top-2`}}},defaultVariants:{size:`md`}});export{t as tagsInputVariants};
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
//#region src/components/textarea/variants.d.ts
|
|
4
|
-
declare const textareaVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
size: {
|
|
6
|
-
xs: {
|
|
7
|
-
root: string;
|
|
8
|
-
control: string;
|
|
9
|
-
counter: string;
|
|
10
|
-
clear: string;
|
|
11
|
-
};
|
|
12
|
-
sm: {
|
|
13
|
-
root: string;
|
|
14
|
-
control: string;
|
|
15
|
-
counter: string;
|
|
16
|
-
clear: string;
|
|
17
|
-
};
|
|
18
|
-
md: {
|
|
19
|
-
root: string;
|
|
20
|
-
control: string;
|
|
21
|
-
counter: string;
|
|
22
|
-
clear: string;
|
|
23
|
-
};
|
|
24
|
-
lg: {
|
|
25
|
-
root: string;
|
|
26
|
-
control: string;
|
|
27
|
-
counter: string;
|
|
28
|
-
clear: string;
|
|
29
|
-
};
|
|
30
|
-
xl: {
|
|
31
|
-
root: string;
|
|
32
|
-
control: string;
|
|
33
|
-
counter: string;
|
|
34
|
-
clear: string;
|
|
35
|
-
};
|
|
36
|
-
'2xl': {
|
|
37
|
-
root: string;
|
|
38
|
-
control: string;
|
|
39
|
-
counter: string;
|
|
40
|
-
clear: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
resize: {
|
|
44
|
-
true: {
|
|
45
|
-
control: string;
|
|
46
|
-
};
|
|
47
|
-
false: {
|
|
48
|
-
control: string;
|
|
49
|
-
};
|
|
50
|
-
vertical: {
|
|
51
|
-
control: string;
|
|
52
|
-
};
|
|
53
|
-
horizontal: {
|
|
54
|
-
control: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
}, {
|
|
58
|
-
root: string[];
|
|
59
|
-
control: string[];
|
|
60
|
-
counter: string;
|
|
61
|
-
clear: string;
|
|
62
|
-
}, undefined, {
|
|
63
|
-
size: {
|
|
64
|
-
xs: {
|
|
65
|
-
root: string;
|
|
66
|
-
control: string;
|
|
67
|
-
counter: string;
|
|
68
|
-
clear: string;
|
|
69
|
-
};
|
|
70
|
-
sm: {
|
|
71
|
-
root: string;
|
|
72
|
-
control: string;
|
|
73
|
-
counter: string;
|
|
74
|
-
clear: string;
|
|
75
|
-
};
|
|
76
|
-
md: {
|
|
77
|
-
root: string;
|
|
78
|
-
control: string;
|
|
79
|
-
counter: string;
|
|
80
|
-
clear: string;
|
|
81
|
-
};
|
|
82
|
-
lg: {
|
|
83
|
-
root: string;
|
|
84
|
-
control: string;
|
|
85
|
-
counter: string;
|
|
86
|
-
clear: string;
|
|
87
|
-
};
|
|
88
|
-
xl: {
|
|
89
|
-
root: string;
|
|
90
|
-
control: string;
|
|
91
|
-
counter: string;
|
|
92
|
-
clear: string;
|
|
93
|
-
};
|
|
94
|
-
'2xl': {
|
|
95
|
-
root: string;
|
|
96
|
-
control: string;
|
|
97
|
-
counter: string;
|
|
98
|
-
clear: string;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
resize: {
|
|
102
|
-
true: {
|
|
103
|
-
control: string;
|
|
104
|
-
};
|
|
105
|
-
false: {
|
|
106
|
-
control: string;
|
|
107
|
-
};
|
|
108
|
-
vertical: {
|
|
109
|
-
control: string;
|
|
110
|
-
};
|
|
111
|
-
horizontal: {
|
|
112
|
-
control: string;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
}, {
|
|
116
|
-
root: string[];
|
|
117
|
-
control: string[];
|
|
118
|
-
counter: string;
|
|
119
|
-
clear: string;
|
|
120
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
121
|
-
size: {
|
|
122
|
-
xs: {
|
|
123
|
-
root: string;
|
|
124
|
-
control: string;
|
|
125
|
-
counter: string;
|
|
126
|
-
clear: string;
|
|
127
|
-
};
|
|
128
|
-
sm: {
|
|
129
|
-
root: string;
|
|
130
|
-
control: string;
|
|
131
|
-
counter: string;
|
|
132
|
-
clear: string;
|
|
133
|
-
};
|
|
134
|
-
md: {
|
|
135
|
-
root: string;
|
|
136
|
-
control: string;
|
|
137
|
-
counter: string;
|
|
138
|
-
clear: string;
|
|
139
|
-
};
|
|
140
|
-
lg: {
|
|
141
|
-
root: string;
|
|
142
|
-
control: string;
|
|
143
|
-
counter: string;
|
|
144
|
-
clear: string;
|
|
145
|
-
};
|
|
146
|
-
xl: {
|
|
147
|
-
root: string;
|
|
148
|
-
control: string;
|
|
149
|
-
counter: string;
|
|
150
|
-
clear: string;
|
|
151
|
-
};
|
|
152
|
-
'2xl': {
|
|
153
|
-
root: string;
|
|
154
|
-
control: string;
|
|
155
|
-
counter: string;
|
|
156
|
-
clear: string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
resize: {
|
|
160
|
-
true: {
|
|
161
|
-
control: string;
|
|
162
|
-
};
|
|
163
|
-
false: {
|
|
164
|
-
control: string;
|
|
165
|
-
};
|
|
166
|
-
vertical: {
|
|
167
|
-
control: string;
|
|
168
|
-
};
|
|
169
|
-
horizontal: {
|
|
170
|
-
control: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
}, {
|
|
174
|
-
root: string[];
|
|
175
|
-
control: string[];
|
|
176
|
-
counter: string;
|
|
177
|
-
clear: string;
|
|
178
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
179
|
-
type TextareaVariants = VariantProps<typeof textareaVariants>;
|
|
180
|
-
type TextareaResize = NonNullable<TextareaVariants['resize']>;
|
|
181
|
-
//#endregion
|
|
182
|
-
export { TextareaResize };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group relative flex flex-col`,`rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`w-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],counter:`absolute z-2 leading-none text-muted-foreground`,clear:`absolute hidden opacity-50 group-hover:inline-flex group-focus-within:inline-flex hover:opacity-100`},variants:{size:{xs:{root:`text-2xs`,control:`min-h-6 px-1.5 py-1`,counter:`text-2xs end-1.75 bottom-1.5`,clear:`end-1.5 top-1.5`},sm:{root:`text-xs`,control:`min-h-7 px-1.75 py-1`,counter:`text-xs end-2 bottom-1.75`,clear:`end-1.75 top-1.75`},md:{root:`text-sm`,control:`min-h-8 px-2 py-1`,counter:`text-sm end-2.5 bottom-2`,clear:`end-2 top-2`},lg:{root:`text-base`,control:`min-h-9 px-2.5 py-1`,counter:`text-base end-3 bottom-2.5`,clear:`end-2.5 top-2.5`},xl:{root:`text-lg`,control:`min-h-10 px-3 py-1`,counter:`text-lg end-3.5 bottom-3`,clear:`end-3 top-3`},"2xl":{root:`text-xl`,control:`min-h-12 px-4 py-2`,counter:`text-xl end-4 bottom-3.5`,clear:`end-3.5 top-3.5`}},resize:{true:{control:`resize`},false:{control:`resize-none`},vertical:{control:`resize-y`},horizontal:{control:`resize-x`}}},defaultVariants:{size:`md`,resize:`vertical`}});export{t as textareaVariants};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{toaster:[`fixed z-[--z-index] list-none outline-none transition-transform-400 ease`,`data-[x-position=right]:end-[--offset-right] data-[x-position=left]:start-[--offset-left] data-[x-position=center]:start-1/2 data-[x-position=center]:-translate-x-1/2 [&[dir=rtl]]:data-[x-position=center]:translate-x-1/2`,`data-[y-position=top]:top-[--offset-top] data-[y-position=bottom]:bottom-[--offset-bottom]`],toast:[`group absolute w-full rounded-md bg-popover text-popover-foreground border border-transparent opacity-0 outline-none touch-none`,`data-[y-position=top]:top-0 data-[y-position=top]:[--y:translateY(-100%)]`,`data-[y-position=bottom]:[--lift:-1] data-[y-position=bottom]:bottom-0`,`data-[x-position=left]:start-0 data-[x-position=right]:end-0`],wrapper:`flex flex-col items-stretch`,content:``,title:`flex items-center font-semibold`,description:`text-muted-foreground`,icon:[`group-data-[type=info]:text-info group-data-[type=success]:text-success group-data-[type=warning]:text-warning group-data-[type=error]:text-destructive`],footer:`flex justify-end items-center`,action:``,cancel:``,close:`absolute group-data-[inverted=true]:text-accent group-data-[inverted=true]:hover:bg-accent/15`},variants:{size:{xs:{toaster:`w-80 text-2xs`,toast:`p-3`,wrapper:`gap-1`,title:`gap-1.25`,footer:`gap-1.25`,close:`top-1 end-1`},sm:{toaster:`w-85 text-xs`,toast:`p-3.5`,wrapper:`gap-1.25`,title:`gap-1.5`,footer:`gap-1.5`,close:`top-1.25 end-1.25`},md:{toaster:`w-90 text-sm`,toast:`p-4`,wrapper:`gap-1.5`,title:`gap-2`,footer:`gap-2`,close:`top-1.5 end-1.5`},lg:{toaster:`w-95 text-base`,toast:`p-4.5`,wrapper:`gap-1.75`,title:`gap-2.5`,footer:`gap-2.5`,close:`top-1.75 end-1.75`},xl:{toaster:`w-100 text-lg`,toast:`p-5`,wrapper:`gap-2`,title:`gap-3`,footer:`gap-3`,close:`top-2 end-2`},"2xl":{toaster:`w-110 text-xl`,toast:`p-6`,wrapper:`gap-2.5`,title:`gap-4`,footer:`gap-4`,close:`top-2.5 end-2.5`}}},defaultVariants:{size:`md`}});export{t as toastVariants};
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
//#region src/components/toggle/variants.d.ts
|
|
4
|
-
declare const toggleVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
-
color: {
|
|
6
|
-
primary: string;
|
|
7
|
-
destructive: string;
|
|
8
|
-
success: string;
|
|
9
|
-
warning: string;
|
|
10
|
-
info: string;
|
|
11
|
-
carbon: string;
|
|
12
|
-
secondary: string;
|
|
13
|
-
accent: string;
|
|
14
|
-
};
|
|
15
|
-
variant: {
|
|
16
|
-
outline: string;
|
|
17
|
-
soft: string;
|
|
18
|
-
ghost: string;
|
|
19
|
-
};
|
|
20
|
-
size: {
|
|
21
|
-
xs: string;
|
|
22
|
-
sm: string;
|
|
23
|
-
md: string;
|
|
24
|
-
lg: string;
|
|
25
|
-
xl: string;
|
|
26
|
-
'2xl': string;
|
|
27
|
-
};
|
|
28
|
-
shape: {
|
|
29
|
-
auto: string;
|
|
30
|
-
rounded: string;
|
|
31
|
-
square: string;
|
|
32
|
-
circle: string;
|
|
33
|
-
};
|
|
34
|
-
}, undefined, string[], {
|
|
35
|
-
color: {
|
|
36
|
-
primary: string;
|
|
37
|
-
destructive: string;
|
|
38
|
-
success: string;
|
|
39
|
-
warning: string;
|
|
40
|
-
info: string;
|
|
41
|
-
carbon: string;
|
|
42
|
-
secondary: string;
|
|
43
|
-
accent: string;
|
|
44
|
-
};
|
|
45
|
-
variant: {
|
|
46
|
-
outline: string;
|
|
47
|
-
soft: string;
|
|
48
|
-
ghost: string;
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
xs: string;
|
|
52
|
-
sm: string;
|
|
53
|
-
md: string;
|
|
54
|
-
lg: string;
|
|
55
|
-
xl: string;
|
|
56
|
-
'2xl': string;
|
|
57
|
-
};
|
|
58
|
-
shape: {
|
|
59
|
-
auto: string;
|
|
60
|
-
rounded: string;
|
|
61
|
-
square: string;
|
|
62
|
-
circle: string;
|
|
63
|
-
};
|
|
64
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
65
|
-
color: {
|
|
66
|
-
primary: string;
|
|
67
|
-
destructive: string;
|
|
68
|
-
success: string;
|
|
69
|
-
warning: string;
|
|
70
|
-
info: string;
|
|
71
|
-
carbon: string;
|
|
72
|
-
secondary: string;
|
|
73
|
-
accent: string;
|
|
74
|
-
};
|
|
75
|
-
variant: {
|
|
76
|
-
outline: string;
|
|
77
|
-
soft: string;
|
|
78
|
-
ghost: string;
|
|
79
|
-
};
|
|
80
|
-
size: {
|
|
81
|
-
xs: string;
|
|
82
|
-
sm: string;
|
|
83
|
-
md: string;
|
|
84
|
-
lg: string;
|
|
85
|
-
xl: string;
|
|
86
|
-
'2xl': string;
|
|
87
|
-
};
|
|
88
|
-
shape: {
|
|
89
|
-
auto: string;
|
|
90
|
-
rounded: string;
|
|
91
|
-
square: string;
|
|
92
|
-
circle: string;
|
|
93
|
-
};
|
|
94
|
-
}, undefined, string[], unknown, unknown, undefined>>;
|
|
95
|
-
type ToggleVariants = VariantProps<typeof toggleVariants>;
|
|
96
|
-
type ToggleVariant = NonNullable<ToggleVariants['variant']>;
|
|
97
|
-
type ToggleShape = NonNullable<ToggleVariants['shape']>;
|
|
98
|
-
//#endregion
|
|
99
|
-
export { ToggleShape, ToggleVariant };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({base:[`inline-flex items-center justify-center rounded-md whitespace-nowrap font-medium transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-offset-background`,`data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`],variants:{color:{primary:`focus-visible:ring-primary/30`,destructive:`focus-visible:ring-destructive/30`,success:`focus-visible:ring-success/30`,warning:`focus-visible:ring-warning/30`,info:`focus-visible:ring-info/30`,carbon:`focus-visible:ring-carbon/30`,secondary:`focus-visible:ring-secondary-foreground/20`,accent:`focus-visible:ring-accent-foreground/20`},variant:{outline:`border border-border bg-background text-foreground hover:bg-accent data-[state=on]:bg-accent`,soft:`bg-accent data-[state=off]:hover:bg-accent`,ghost:`bg-transparent data-[state=off]:hover:bg-accent`},size:{xs:`gap-1 h-6 px-1.5 text-2xs`,sm:`gap-2 h-7 px-2 text-xs`,md:`gap-3 h-8 px-4 text-sm`,lg:`gap-4 h-9 px-6 text-base`,xl:`gap-5 h-10 px-8 text-lg`,"2xl":`gap-6 h-12 px-10 text-xl`},shape:{auto:`rounded-md`,rounded:`rounded-full`,square:`h-8 w-8 p-0 gap-0 rounded-md`,circle:`h-8 w-8 p-0 gap-0 rounded-full`}},compoundVariants:[{color:`primary`,variant:`soft`,class:`data-[state=on]:bg-primary/20 data-[state=on]:text-primary`},{color:`destructive`,variant:`soft`,class:`data-[state=on]:bg-destructive/20 data-[state=on]:text-destructive`},{color:`success`,variant:`soft`,class:`data-[state=on]:bg-success/20 data-[state=on]:text-success`},{color:`warning`,variant:`soft`,class:`data-[state=on]:bg-warning/20 data-[state=on]:text-warning`},{color:`info`,variant:`soft`,class:`data-[state=on]:bg-info/20 data-[state=on]:text-info`},{color:`carbon`,variant:`soft`,class:`data-[state=on]:bg-carbon/20 data-[state=on]:text-carbon`},{color:`secondary`,variant:`soft`,class:`data-[state=on]:bg-secondary-foreground/10 data-[state=on]:text-secondary-foreground`},{color:`accent`,variant:`soft`,class:`data-[state=on]:bg-accent-foreground/10 data-[state=on]:text-accent-foreground`},{color:`primary`,variant:`ghost`,class:`data-[state=on]:bg-primary/20 data-[state=on]:text-primary`},{color:`destructive`,variant:`ghost`,class:`data-[state=on]:bg-destructive/20 data-[state=on]:text-destructive`},{color:`success`,variant:`ghost`,class:`data-[state=on]:bg-success/20 data-[state=on]:text-success`},{color:`warning`,variant:`ghost`,class:`data-[state=on]:bg-warning/20 data-[state=on]:text-warning`},{color:`info`,variant:`ghost`,class:`data-[state=on]:bg-info/20 data-[state=on]:text-info`},{color:`carbon`,variant:`ghost`,class:`data-[state=on]:bg-carbon/20 data-[state=on]:text-carbon`},{color:`secondary`,variant:`ghost`,class:`data-[state=on]:bg-secondary-foreground/10 data-[state=on]:text-secondary-foreground`},{color:`accent`,variant:`ghost`,class:`data-[state=on]:bg-accent-foreground/10 data-[state=on]:text-accent-foreground`},{size:`xs`,shape:[`square`,`circle`],class:`w-6`},{size:`sm`,shape:[`square`,`circle`],class:`w-7`},{size:`md`,shape:[`square`,`circle`],class:`w-8`},{size:`lg`,shape:[`square`,`circle`],class:`w-9`},{size:`xl`,shape:[`square`,`circle`],class:`w-10`},{size:`2xl`,shape:[`square`,`circle`],class:`w-12`}],defaultVariants:{color:`accent`,variant:`ghost`,size:`md`,shape:`auto`}});export{t as toggleVariants};
|