@byyuurin/ui 0.0.9 → 0.0.11
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 +2 -5
- package/dist/module.json +3 -3
- package/dist/module.mjs +1 -1
- package/dist/module.mjs.map +1 -1
- package/dist/runtime/app/injections.d.ts +9323 -3
- package/dist/runtime/app/injections.js +35 -0
- package/dist/runtime/components/Accordion.vue +36 -69
- package/dist/runtime/components/Accordion.vue.d.ts +52 -0
- package/dist/runtime/components/Alert.vue +37 -75
- package/dist/runtime/components/Alert.vue.d.ts +59 -0
- package/dist/runtime/components/App.vue +25 -40
- package/dist/runtime/components/App.vue.d.ts +24 -0
- package/dist/runtime/components/Avatar.vue +31 -51
- package/dist/runtime/components/Avatar.vue.d.ts +25 -0
- package/dist/runtime/components/AvatarGroup.vue +38 -69
- package/dist/runtime/components/AvatarGroup.vue.d.ts +27 -0
- package/dist/runtime/components/Badge.vue +25 -51
- package/dist/runtime/components/Badge.vue.d.ts +44 -0
- package/dist/runtime/components/Breadcrumb.vue +35 -77
- package/dist/runtime/components/Breadcrumb.vue.d.ts +52 -0
- package/dist/runtime/components/Button.vue +62 -51
- package/dist/runtime/components/Button.vue.d.ts +29 -0
- package/dist/runtime/components/ButtonGroup.vue +17 -37
- package/dist/runtime/components/ButtonGroup.vue.d.ts +26 -0
- package/dist/runtime/components/Calendar.vue +75 -101
- package/dist/runtime/components/Calendar.vue.d.ts +75 -0
- package/dist/runtime/components/Card.vue +25 -42
- package/dist/runtime/components/Card.vue.d.ts +30 -0
- package/dist/runtime/components/Carousel.vue +118 -223
- package/dist/runtime/components/Carousel.vue.d.ts +104 -0
- package/dist/runtime/components/Checkbox.vue +49 -71
- package/dist/runtime/components/Checkbox.vue.d.ts +56 -0
- package/dist/runtime/components/Chip.vue +31 -48
- package/dist/runtime/components/Chip.vue.d.ts +30 -0
- package/dist/runtime/components/Collapsible.vue +22 -30
- package/dist/runtime/components/Collapsible.vue.d.ts +26 -0
- package/dist/runtime/components/Drawer.vue +52 -102
- package/dist/runtime/components/Drawer.vue.d.ts +80 -0
- package/dist/runtime/components/DropdownMenu.vue +65 -0
- package/dist/runtime/components/DropdownMenu.vue.d.ts +99 -0
- package/dist/runtime/components/DropdownMenuContent.vue +192 -0
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +39 -0
- package/dist/runtime/components/Form.vue +197 -0
- package/dist/runtime/components/Form.vue.d.ts +78 -0
- package/dist/runtime/components/FormItem.vue +90 -0
- package/dist/runtime/components/FormItem.vue.d.ts +60 -0
- package/dist/runtime/components/Input.vue +93 -115
- package/dist/runtime/components/Input.vue.d.ts +64 -0
- package/dist/runtime/components/InputNumber.vue +81 -116
- package/dist/runtime/components/InputNumber.vue.d.ts +245 -0
- package/dist/runtime/components/Kbd.vue +18 -39
- package/dist/runtime/components/Kbd.vue.d.ts +28 -0
- package/dist/runtime/components/Link.vue +170 -244
- package/dist/runtime/components/Link.vue.d.ts +95 -0
- package/dist/runtime/components/LinkBase.vue +36 -54
- package/dist/runtime/components/LinkBase.vue.d.ts +28 -0
- package/dist/runtime/components/Modal.vue +50 -85
- package/dist/runtime/components/Modal.vue.d.ts +66 -0
- package/dist/runtime/components/OverlayProvider.vue +10 -14
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
- package/dist/runtime/components/Pagination.vue +55 -121
- package/dist/runtime/components/Pagination.vue.d.ts +93 -0
- package/dist/runtime/components/PinInput.vue +57 -57
- package/dist/runtime/components/PinInput.vue.d.ts +35 -0
- package/dist/runtime/components/Popover.vue +39 -68
- package/dist/runtime/components/Popover.vue.d.ts +45 -0
- package/dist/runtime/components/Progress.vue +68 -120
- package/dist/runtime/components/Progress.vue.d.ts +54 -0
- package/dist/runtime/components/RadioGroup.vue +75 -129
- package/dist/runtime/components/RadioGroup.vue.d.ts +74 -0
- package/dist/runtime/components/ScrollArea.vue +31 -31
- package/dist/runtime/components/ScrollArea.vue.d.ts +17 -0
- package/dist/runtime/components/Select.vue +119 -199
- package/dist/runtime/components/Select.vue.d.ts +119 -0
- package/dist/runtime/components/Separator.vue +26 -44
- package/dist/runtime/components/Separator.vue.d.ts +27 -0
- package/dist/runtime/components/Skeleton.vue +12 -21
- package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
- package/dist/runtime/components/Slider.vue +54 -71
- package/dist/runtime/components/Slider.vue.d.ts +36 -0
- package/dist/runtime/components/Switch.vue +54 -68
- package/dist/runtime/components/Switch.vue.d.ts +49 -0
- package/dist/runtime/components/Table.vue +113 -186
- package/dist/runtime/components/Table.vue.d.ts +148 -0
- package/dist/runtime/components/Tabs.vue +35 -79
- package/dist/runtime/components/Tabs.vue.d.ts +65 -0
- package/dist/runtime/components/Textarea.vue +82 -123
- package/dist/runtime/components/Textarea.vue.d.ts +60 -0
- package/dist/runtime/components/Toast.vue +51 -76
- package/dist/runtime/components/Toast.vue.d.ts +131 -0
- package/dist/runtime/components/ToastProvider.vue +65 -101
- package/dist/runtime/components/ToastProvider.vue.d.ts +38 -0
- package/dist/runtime/components/Tooltip.vue +36 -47
- package/dist/runtime/components/Tooltip.vue.d.ts +31 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
- package/dist/runtime/composables/useFormItem.d.ts +27 -0
- package/dist/runtime/composables/useFormItem.js +64 -0
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.d.ts +3 -3
- package/dist/runtime/composables/useTheme.d.ts +1 -1
- package/dist/runtime/composables/useTheme.js +2 -1
- package/dist/runtime/composables/useToast.d.ts +1 -1
- package/dist/runtime/index.d.ts +3 -0
- package/dist/runtime/index.js +3 -0
- package/dist/runtime/locale/en.d.ts +1 -1
- package/dist/runtime/locale/zh-tw.d.ts +1 -1
- package/dist/runtime/theme/accordion.d.ts +45 -51
- package/dist/runtime/theme/accordion.js +1 -1
- package/dist/runtime/theme/alert.d.ts +115 -121
- package/dist/runtime/theme/alert.js +1 -1
- package/dist/runtime/theme/app.d.ts +1 -0
- package/dist/runtime/theme/app.js +2 -1
- package/dist/runtime/theme/avatar-group.d.ts +42 -48
- package/dist/runtime/theme/avatar-group.js +1 -1
- package/dist/runtime/theme/avatar.d.ts +46 -52
- package/dist/runtime/theme/avatar.js +1 -1
- package/dist/runtime/theme/badge.d.ts +63 -93
- package/dist/runtime/theme/badge.js +1 -1
- package/dist/runtime/theme/breadcrumb.d.ts +52 -58
- package/dist/runtime/theme/breadcrumb.js +1 -1
- package/dist/runtime/theme/button-group.d.ts +36 -42
- package/dist/runtime/theme/button.d.ts +165 -117
- package/dist/runtime/theme/button.js +1 -1
- package/dist/runtime/theme/calendar.d.ts +52 -50
- package/dist/runtime/theme/calendar.js +20 -3
- package/dist/runtime/theme/card.d.ts +52 -58
- package/dist/runtime/theme/card.js +1 -1
- package/dist/runtime/theme/carousel.d.ts +98 -104
- package/dist/runtime/theme/carousel.js +1 -1
- package/dist/runtime/theme/checkbox.d.ts +77 -83
- package/dist/runtime/theme/checkbox.js +1 -1
- package/dist/runtime/theme/chip.d.ts +50 -89
- package/dist/runtime/theme/chip.js +1 -1
- package/dist/runtime/theme/collapsible.d.ts +29 -35
- package/dist/runtime/theme/collapsible.js +1 -1
- package/dist/runtime/theme/drawer.d.ts +131 -102
- package/dist/runtime/theme/drawer.js +1 -1
- package/dist/runtime/theme/dropdown-menu.d.ts +65 -0
- package/dist/runtime/theme/dropdown-menu.js +83 -0
- package/dist/runtime/theme/form-item.d.ts +70 -0
- package/dist/runtime/theme/form-item.js +34 -0
- package/dist/runtime/theme/form.d.ts +2 -0
- package/dist/runtime/theme/form.js +7 -0
- package/dist/runtime/theme/index.d.ts +3 -0
- package/dist/runtime/theme/index.js +3 -0
- package/dist/runtime/theme/input-number.d.ts +100 -126
- package/dist/runtime/theme/input-number.js +1 -1
- package/dist/runtime/theme/input.d.ts +153 -131
- package/dist/runtime/theme/input.js +3 -3
- package/dist/runtime/theme/kbd.d.ts +30 -36
- package/dist/runtime/theme/link.d.ts +37 -43
- package/dist/runtime/theme/modal.d.ts +35 -69
- package/dist/runtime/theme/modal.js +1 -1
- package/dist/runtime/theme/pagination.d.ts +71 -77
- package/dist/runtime/theme/pagination.js +1 -1
- package/dist/runtime/theme/pinInput.d.ts +82 -88
- package/dist/runtime/theme/pinInput.js +2 -2
- package/dist/runtime/theme/popover.d.ts +29 -35
- package/dist/runtime/theme/popover.js +1 -1
- package/dist/runtime/theme/progress.d.ts +167 -109
- package/dist/runtime/theme/progress.js +1 -1
- package/dist/runtime/theme/radio-group.d.ts +99 -105
- package/dist/runtime/theme/radio-group.js +1 -1
- package/dist/runtime/theme/scroll-area.d.ts +62 -68
- package/dist/runtime/theme/scroll-area.js +1 -1
- package/dist/runtime/theme/select.d.ts +168 -158
- package/dist/runtime/theme/select.js +3 -2
- package/dist/runtime/theme/separator.d.ts +64 -85
- package/dist/runtime/theme/separator.js +1 -1
- package/dist/runtime/theme/skeleton.d.ts +1 -7
- package/dist/runtime/theme/slider.d.ts +62 -68
- package/dist/runtime/theme/slider.js +1 -1
- package/dist/runtime/theme/switch.d.ts +111 -117
- package/dist/runtime/theme/switch.js +1 -1
- package/dist/runtime/theme/table.d.ts +75 -78
- package/dist/runtime/theme/table.js +3 -2
- package/dist/runtime/theme/tabs.d.ts +116 -139
- package/dist/runtime/theme/tabs.js +1 -1
- package/dist/runtime/theme/textarea.d.ts +78 -90
- package/dist/runtime/theme/textarea.js +2 -2
- package/dist/runtime/theme/toast-provider.d.ts +110 -131
- package/dist/runtime/theme/toast-provider.js +1 -1
- package/dist/runtime/theme/toast.d.ts +74 -80
- package/dist/runtime/theme/toast.js +1 -1
- package/dist/runtime/theme/tooltip.d.ts +35 -41
- package/dist/runtime/theme/tooltip.js +1 -1
- package/dist/runtime/types/components.d.ts +3 -0
- package/dist/runtime/types/form.d.ts +45 -0
- package/dist/runtime/types/form.js +0 -0
- package/dist/runtime/types/index.d.ts +5 -2
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/utils.d.ts +37 -16
- package/dist/runtime/utils/extend-theme.js +15 -4
- package/dist/runtime/utils/form.d.ts +5 -0
- package/dist/runtime/utils/form.js +24 -0
- package/dist/runtime/utils/index.d.ts +2 -0
- package/dist/runtime/utils/index.js +4 -0
- package/dist/runtime/utils/link.d.ts +4 -28
- package/dist/runtime/utils/link.js +10 -3
- package/dist/runtime/utils/styler.d.ts +2 -2
- package/dist/runtime/utils/styler.js +2 -2
- package/dist/shared/ui.D1BTWZFB.mjs +5 -0
- package/dist/shared/ui.D1BTWZFB.mjs.map +1 -0
- package/dist/types.d.mts +1 -1
- package/dist/unocss.mjs +7 -6
- package/dist/unocss.mjs.map +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/unplugin.mjs.map +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +78 -74
- package/dist/module.cjs +0 -5
- package/dist/shared/ui.1a1f119c.mjs +0 -5
- package/dist/shared/ui.1a1f119c.mjs.map +0 -1
- package/dist/types.d.ts +0 -1
|
@@ -1,136 +1,184 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
label: string;
|
|
6
|
-
leadingIcon: string;
|
|
7
|
-
trailingIcon: string;
|
|
8
|
-
};
|
|
9
|
-
variants: {
|
|
10
|
-
variant: {
|
|
11
|
-
solid: {
|
|
12
|
-
base: string[];
|
|
13
|
-
};
|
|
14
|
-
outline: {
|
|
15
|
-
base: string[];
|
|
16
|
-
};
|
|
17
|
-
soft: {
|
|
18
|
-
base: string[];
|
|
19
|
-
};
|
|
20
|
-
'soft-outline': {
|
|
21
|
-
base: string[];
|
|
22
|
-
};
|
|
23
|
-
ghost: {
|
|
24
|
-
base: string[];
|
|
25
|
-
};
|
|
26
|
-
link: {
|
|
27
|
-
base: string[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
size: {
|
|
31
|
-
xs: {
|
|
32
|
-
base: string;
|
|
33
|
-
};
|
|
34
|
-
sm: {
|
|
35
|
-
base: string;
|
|
36
|
-
};
|
|
37
|
-
md: {
|
|
38
|
-
base: string;
|
|
39
|
-
};
|
|
40
|
-
lg: {
|
|
41
|
-
base: string;
|
|
42
|
-
};
|
|
43
|
-
xl: {
|
|
44
|
-
base: string;
|
|
45
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
variant: {
|
|
3
|
+
solid: {
|
|
4
|
+
base: string[];
|
|
46
5
|
};
|
|
47
|
-
|
|
48
|
-
|
|
6
|
+
outline: {
|
|
7
|
+
base: string[];
|
|
49
8
|
};
|
|
50
|
-
|
|
51
|
-
|
|
9
|
+
soft: {
|
|
10
|
+
base: string[];
|
|
52
11
|
};
|
|
53
|
-
|
|
54
|
-
|
|
12
|
+
'soft-outline': {
|
|
13
|
+
base: string[];
|
|
55
14
|
};
|
|
56
|
-
|
|
57
|
-
|
|
15
|
+
ghost: {
|
|
16
|
+
base: string[];
|
|
58
17
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
base: string;
|
|
62
|
-
};
|
|
63
|
-
vertical: {
|
|
64
|
-
base: string;
|
|
65
|
-
};
|
|
18
|
+
link: {
|
|
19
|
+
base: string[];
|
|
66
20
|
};
|
|
67
21
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
base: string[];
|
|
72
|
-
};
|
|
73
|
-
outline: {
|
|
74
|
-
base: string[];
|
|
75
|
-
};
|
|
76
|
-
soft: {
|
|
77
|
-
base: string[];
|
|
78
|
-
};
|
|
79
|
-
'soft-outline': {
|
|
80
|
-
base: string[];
|
|
81
|
-
};
|
|
82
|
-
ghost: {
|
|
83
|
-
base: string[];
|
|
84
|
-
};
|
|
85
|
-
link: {
|
|
86
|
-
base: string[];
|
|
87
|
-
};
|
|
22
|
+
size: {
|
|
23
|
+
xs: {
|
|
24
|
+
base: string;
|
|
88
25
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
base: string;
|
|
92
|
-
};
|
|
93
|
-
sm: {
|
|
94
|
-
base: string;
|
|
95
|
-
};
|
|
96
|
-
md: {
|
|
97
|
-
base: string;
|
|
98
|
-
};
|
|
99
|
-
lg: {
|
|
100
|
-
base: string;
|
|
101
|
-
};
|
|
102
|
-
xl: {
|
|
103
|
-
base: string;
|
|
104
|
-
};
|
|
26
|
+
sm: {
|
|
27
|
+
base: string;
|
|
105
28
|
};
|
|
106
|
-
|
|
107
|
-
|
|
29
|
+
md: {
|
|
30
|
+
base: string;
|
|
108
31
|
};
|
|
109
|
-
|
|
110
|
-
|
|
32
|
+
lg: {
|
|
33
|
+
base: string;
|
|
111
34
|
};
|
|
112
|
-
|
|
113
|
-
|
|
35
|
+
xl: {
|
|
36
|
+
base: string;
|
|
114
37
|
};
|
|
115
|
-
|
|
116
|
-
|
|
38
|
+
};
|
|
39
|
+
active: {
|
|
40
|
+
true: "";
|
|
41
|
+
};
|
|
42
|
+
leading: {
|
|
43
|
+
true: "";
|
|
44
|
+
};
|
|
45
|
+
trailing: {
|
|
46
|
+
true: "";
|
|
47
|
+
};
|
|
48
|
+
loading: {
|
|
49
|
+
true: "";
|
|
50
|
+
};
|
|
51
|
+
groupOrientation: {
|
|
52
|
+
horizontal: {
|
|
53
|
+
base: string;
|
|
117
54
|
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
base: string;
|
|
121
|
-
};
|
|
122
|
-
vertical: {
|
|
123
|
-
base: string;
|
|
124
|
-
};
|
|
55
|
+
vertical: {
|
|
56
|
+
base: string;
|
|
125
57
|
};
|
|
126
|
-
}
|
|
127
|
-
|
|
58
|
+
};
|
|
59
|
+
}, ({
|
|
60
|
+
size: ("xs" | "sm" | "md")[];
|
|
61
|
+
class: {
|
|
62
|
+
base: string;
|
|
63
|
+
label: string;
|
|
64
|
+
leadingIcon?: undefined;
|
|
65
|
+
trailingIcon?: undefined;
|
|
66
|
+
};
|
|
67
|
+
active?: undefined;
|
|
68
|
+
variant?: undefined;
|
|
69
|
+
loading?: undefined;
|
|
70
|
+
leading?: undefined;
|
|
71
|
+
trailing?: undefined;
|
|
72
|
+
} | {
|
|
73
|
+
size: ("lg" | "xl")[];
|
|
74
|
+
class: {
|
|
75
|
+
base: string;
|
|
128
76
|
label: string;
|
|
77
|
+
leadingIcon?: undefined;
|
|
78
|
+
trailingIcon?: undefined;
|
|
79
|
+
};
|
|
80
|
+
active?: undefined;
|
|
81
|
+
variant?: undefined;
|
|
82
|
+
loading?: undefined;
|
|
83
|
+
leading?: undefined;
|
|
84
|
+
trailing?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
active: true;
|
|
87
|
+
variant: "solid";
|
|
88
|
+
class: {
|
|
89
|
+
base: string;
|
|
90
|
+
label?: undefined;
|
|
91
|
+
leadingIcon?: undefined;
|
|
92
|
+
trailingIcon?: undefined;
|
|
93
|
+
};
|
|
94
|
+
size?: undefined;
|
|
95
|
+
loading?: undefined;
|
|
96
|
+
leading?: undefined;
|
|
97
|
+
trailing?: undefined;
|
|
98
|
+
} | {
|
|
99
|
+
active: true;
|
|
100
|
+
variant: "outline";
|
|
101
|
+
class: {
|
|
102
|
+
base: string;
|
|
103
|
+
label?: undefined;
|
|
104
|
+
leadingIcon?: undefined;
|
|
105
|
+
trailingIcon?: undefined;
|
|
106
|
+
};
|
|
107
|
+
size?: undefined;
|
|
108
|
+
loading?: undefined;
|
|
109
|
+
leading?: undefined;
|
|
110
|
+
trailing?: undefined;
|
|
111
|
+
} | {
|
|
112
|
+
active: true;
|
|
113
|
+
variant: ("soft" | "soft-outline")[];
|
|
114
|
+
class: {
|
|
115
|
+
base: string;
|
|
116
|
+
label?: undefined;
|
|
117
|
+
leadingIcon?: undefined;
|
|
118
|
+
trailingIcon?: undefined;
|
|
119
|
+
};
|
|
120
|
+
size?: undefined;
|
|
121
|
+
loading?: undefined;
|
|
122
|
+
leading?: undefined;
|
|
123
|
+
trailing?: undefined;
|
|
124
|
+
} | {
|
|
125
|
+
active: true;
|
|
126
|
+
variant: "ghost";
|
|
127
|
+
class: {
|
|
128
|
+
base: string;
|
|
129
|
+
label?: undefined;
|
|
130
|
+
leadingIcon?: undefined;
|
|
131
|
+
trailingIcon?: undefined;
|
|
132
|
+
};
|
|
133
|
+
size?: undefined;
|
|
134
|
+
loading?: undefined;
|
|
135
|
+
leading?: undefined;
|
|
136
|
+
trailing?: undefined;
|
|
137
|
+
} | {
|
|
138
|
+
active: true;
|
|
139
|
+
variant: "link";
|
|
140
|
+
class: {
|
|
141
|
+
base: string;
|
|
142
|
+
label?: undefined;
|
|
143
|
+
leadingIcon?: undefined;
|
|
144
|
+
trailingIcon?: undefined;
|
|
145
|
+
};
|
|
146
|
+
size?: undefined;
|
|
147
|
+
loading?: undefined;
|
|
148
|
+
leading?: undefined;
|
|
149
|
+
trailing?: undefined;
|
|
150
|
+
} | {
|
|
151
|
+
loading: true;
|
|
152
|
+
leading: true;
|
|
153
|
+
class: {
|
|
129
154
|
leadingIcon: string;
|
|
155
|
+
base?: undefined;
|
|
156
|
+
label?: undefined;
|
|
157
|
+
trailingIcon?: undefined;
|
|
158
|
+
};
|
|
159
|
+
size?: undefined;
|
|
160
|
+
active?: undefined;
|
|
161
|
+
variant?: undefined;
|
|
162
|
+
trailing?: undefined;
|
|
163
|
+
} | {
|
|
164
|
+
loading: true;
|
|
165
|
+
leading: false;
|
|
166
|
+
trailing: true;
|
|
167
|
+
class: {
|
|
130
168
|
trailingIcon: string;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
169
|
+
base?: undefined;
|
|
170
|
+
label?: undefined;
|
|
171
|
+
leadingIcon?: undefined;
|
|
134
172
|
};
|
|
135
|
-
|
|
173
|
+
size?: undefined;
|
|
174
|
+
active?: undefined;
|
|
175
|
+
variant?: undefined;
|
|
176
|
+
})[], {
|
|
177
|
+
size: "md";
|
|
178
|
+
}, undefined, {
|
|
179
|
+
base: string[];
|
|
180
|
+
label: string;
|
|
181
|
+
leadingIcon: string;
|
|
182
|
+
trailingIcon: string;
|
|
183
|
+
}>;
|
|
136
184
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import { buttonGroupVariant } from "./button-group.js";
|
|
|
3
3
|
export default ct(
|
|
4
4
|
/* @unocss-include */
|
|
5
5
|
{
|
|
6
|
-
|
|
6
|
+
parts: {
|
|
7
7
|
base: [
|
|
8
8
|
"relative inline-flex items-center rounded-ui-button leading-normal transition-colors",
|
|
9
9
|
"outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-base/80",
|
|
@@ -1,56 +1,58 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
size: {
|
|
18
|
-
xs: {
|
|
19
|
-
root: string;
|
|
20
|
-
};
|
|
21
|
-
sm: {
|
|
22
|
-
root: string;
|
|
23
|
-
};
|
|
24
|
-
md: {
|
|
25
|
-
root: string;
|
|
26
|
-
};
|
|
27
|
-
lg: {
|
|
28
|
-
root: string;
|
|
29
|
-
};
|
|
30
|
-
xl: {
|
|
31
|
-
root: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
readonly: {
|
|
35
|
-
true: {
|
|
36
|
-
cellTrigger: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
disabled: {
|
|
40
|
-
true: {
|
|
41
|
-
cellTrigger: string;
|
|
42
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
root: string;
|
|
5
|
+
};
|
|
6
|
+
sm: {
|
|
7
|
+
root: string;
|
|
8
|
+
};
|
|
9
|
+
md: {
|
|
10
|
+
root: string;
|
|
11
|
+
};
|
|
12
|
+
lg: {
|
|
13
|
+
root: string;
|
|
14
|
+
};
|
|
15
|
+
xl: {
|
|
16
|
+
root: string;
|
|
43
17
|
};
|
|
44
18
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
19
|
+
multipleMonths: {
|
|
20
|
+
true: {
|
|
21
|
+
cellTrigger: string[];
|
|
22
|
+
};
|
|
23
|
+
false: {
|
|
49
24
|
cellTrigger: string;
|
|
50
25
|
};
|
|
51
|
-
}[];
|
|
52
|
-
defaultVariants: {
|
|
53
|
-
size: "md";
|
|
54
26
|
};
|
|
55
|
-
|
|
27
|
+
readonly: {
|
|
28
|
+
true: {
|
|
29
|
+
cellTrigger: string[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
true: {
|
|
34
|
+
cellTrigger: string[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
readonly: false;
|
|
39
|
+
disabled: false;
|
|
40
|
+
class: {
|
|
41
|
+
cellTrigger: string;
|
|
42
|
+
};
|
|
43
|
+
}[], {
|
|
44
|
+
size: "md";
|
|
45
|
+
}, undefined, {
|
|
46
|
+
root: string;
|
|
47
|
+
header: string;
|
|
48
|
+
body: string;
|
|
49
|
+
heading: string;
|
|
50
|
+
grid: string;
|
|
51
|
+
gridRow: string;
|
|
52
|
+
gridWeekDaysRow: string;
|
|
53
|
+
gridBody: string;
|
|
54
|
+
headCell: string;
|
|
55
|
+
cell: string;
|
|
56
|
+
cellTrigger: string[];
|
|
57
|
+
}>;
|
|
56
58
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import { ct } from "@byyuurin/ui-kit";
|
|
|
2
2
|
export default ct(
|
|
3
3
|
/* @unocss-include */
|
|
4
4
|
{
|
|
5
|
-
|
|
5
|
+
parts: {
|
|
6
6
|
root: "",
|
|
7
7
|
header: "flex items-center justify-between",
|
|
8
8
|
body: "flex flex-col space-y-4 pt-4 sm:flex-row sm:space-x-4 sm:space-y-0",
|
|
@@ -42,14 +42,31 @@ export default ct(
|
|
|
42
42
|
root: "text-xl"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
+
multipleMonths: {
|
|
46
|
+
true: {
|
|
47
|
+
cellTrigger: [
|
|
48
|
+
"data-[outside-view]:data-[selected]:not-hover:bg-inherit data-[outside-view]:data-[selected]:not-hover:color-ui-base/20",
|
|
49
|
+
"data-[outside-view]:data-[selected]:hover:bg-soft-ui-fill/10 data-[outside-view]:data-[selected]:hover:color-ui-base/20"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
false: {
|
|
53
|
+
cellTrigger: "data-[outside-view]:data-[selected]:color-ui-cx"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
45
56
|
readonly: {
|
|
46
57
|
true: {
|
|
47
|
-
cellTrigger:
|
|
58
|
+
cellTrigger: [
|
|
59
|
+
"cursor-default data-[today]:not-[[data-selected]]:color-ui-fill/60",
|
|
60
|
+
"data-[outside-view]:data-[selected]:hover:bg-inherit"
|
|
61
|
+
]
|
|
48
62
|
}
|
|
49
63
|
},
|
|
50
64
|
disabled: {
|
|
51
65
|
true: {
|
|
52
|
-
cellTrigger:
|
|
66
|
+
cellTrigger: [
|
|
67
|
+
"data-[today]:not-[[data-selected]]:color-ui-fill/60 data-[selected]:bg-soft-ui-fill/50",
|
|
68
|
+
"data-[outside-view]:data-[selected]:hover:bg-inherit"
|
|
69
|
+
]
|
|
53
70
|
}
|
|
54
71
|
}
|
|
55
72
|
},
|
|
@@ -1,62 +1,56 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
root: string;
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
|
-
soft: {
|
|
22
|
-
root: string;
|
|
23
|
-
description: string;
|
|
24
|
-
};
|
|
25
|
-
'soft-outline': {
|
|
26
|
-
root: string;
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
variant: {
|
|
3
|
+
solid: {
|
|
4
|
+
root: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
outline: {
|
|
8
|
+
root: string;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
soft: {
|
|
12
|
+
root: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
'soft-outline': {
|
|
16
|
+
root: string;
|
|
17
|
+
description: string;
|
|
29
18
|
};
|
|
30
19
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
};
|
|
50
|
-
}, {
|
|
51
|
-
root: string;
|
|
52
|
-
header: string;
|
|
53
|
-
body: string;
|
|
54
|
-
footer: string;
|
|
55
|
-
title: string;
|
|
56
|
-
description: string;
|
|
57
|
-
}, undefined>;
|
|
58
|
-
defaultVariants: {
|
|
59
|
-
variant: "outline";
|
|
20
|
+
}, import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
21
|
+
variant: {
|
|
22
|
+
solid: {
|
|
23
|
+
root: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
outline: {
|
|
27
|
+
root: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
soft: {
|
|
31
|
+
root: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
'soft-outline': {
|
|
35
|
+
root: string;
|
|
36
|
+
description: string;
|
|
37
|
+
};
|
|
60
38
|
};
|
|
61
|
-
}
|
|
39
|
+
}, {
|
|
40
|
+
root: string;
|
|
41
|
+
header: string;
|
|
42
|
+
body: string;
|
|
43
|
+
footer: string;
|
|
44
|
+
title: string;
|
|
45
|
+
description: string;
|
|
46
|
+
}, undefined>, {
|
|
47
|
+
variant: "outline";
|
|
48
|
+
}, undefined, {
|
|
49
|
+
root: string;
|
|
50
|
+
header: string;
|
|
51
|
+
body: string;
|
|
52
|
+
footer: string;
|
|
53
|
+
title: string;
|
|
54
|
+
description: string;
|
|
55
|
+
}>;
|
|
62
56
|
export default _default;
|