@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,141 +1,115 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
input: string[];
|
|
6
|
-
increment: string;
|
|
7
|
-
decrement: string;
|
|
8
|
-
};
|
|
9
|
-
variants: {
|
|
10
|
-
size: {
|
|
11
|
-
xs: {
|
|
12
|
-
base: string;
|
|
13
|
-
};
|
|
14
|
-
sm: {
|
|
15
|
-
base: string;
|
|
16
|
-
};
|
|
17
|
-
md: {
|
|
18
|
-
base: string;
|
|
19
|
-
};
|
|
20
|
-
lg: {
|
|
21
|
-
base: string;
|
|
22
|
-
};
|
|
23
|
-
xl: {
|
|
24
|
-
base: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
variant: {
|
|
28
|
-
outline: {
|
|
29
|
-
base: string[];
|
|
30
|
-
};
|
|
31
|
-
soft: {
|
|
32
|
-
base: string[];
|
|
33
|
-
};
|
|
34
|
-
'soft-outline': {
|
|
35
|
-
base: string[];
|
|
36
|
-
};
|
|
37
|
-
ghost: {
|
|
38
|
-
base: string[];
|
|
39
|
-
};
|
|
40
|
-
none: {
|
|
41
|
-
base: string;
|
|
42
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
base: string;
|
|
43
5
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
increment: string;
|
|
47
|
-
decrement: string;
|
|
48
|
-
};
|
|
6
|
+
sm: {
|
|
7
|
+
base: string;
|
|
49
8
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
input: string;
|
|
53
|
-
increment: string;
|
|
54
|
-
decrement: string;
|
|
55
|
-
};
|
|
56
|
-
vertical: {
|
|
57
|
-
increment: string;
|
|
58
|
-
decrement: string;
|
|
59
|
-
};
|
|
9
|
+
md: {
|
|
10
|
+
base: string;
|
|
60
11
|
};
|
|
61
|
-
|
|
62
|
-
|
|
12
|
+
lg: {
|
|
13
|
+
base: string;
|
|
63
14
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
base: string;
|
|
67
|
-
};
|
|
15
|
+
xl: {
|
|
16
|
+
base: string;
|
|
68
17
|
};
|
|
69
18
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
base: string;
|
|
74
|
-
};
|
|
75
|
-
sm: {
|
|
76
|
-
base: string;
|
|
77
|
-
};
|
|
78
|
-
md: {
|
|
79
|
-
base: string;
|
|
80
|
-
};
|
|
81
|
-
lg: {
|
|
82
|
-
base: string;
|
|
83
|
-
};
|
|
84
|
-
xl: {
|
|
85
|
-
base: string;
|
|
86
|
-
};
|
|
19
|
+
variant: {
|
|
20
|
+
outline: {
|
|
21
|
+
base: string[];
|
|
87
22
|
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
base: string[];
|
|
91
|
-
};
|
|
92
|
-
soft: {
|
|
93
|
-
base: string[];
|
|
94
|
-
};
|
|
95
|
-
'soft-outline': {
|
|
96
|
-
base: string[];
|
|
97
|
-
};
|
|
98
|
-
ghost: {
|
|
99
|
-
base: string[];
|
|
100
|
-
};
|
|
101
|
-
none: {
|
|
102
|
-
base: string;
|
|
103
|
-
};
|
|
23
|
+
soft: {
|
|
24
|
+
base: string[];
|
|
104
25
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
increment: string;
|
|
108
|
-
decrement: string;
|
|
109
|
-
};
|
|
26
|
+
'soft-outline': {
|
|
27
|
+
base: string[];
|
|
110
28
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
input: string;
|
|
114
|
-
increment: string;
|
|
115
|
-
decrement: string;
|
|
116
|
-
};
|
|
117
|
-
vertical: {
|
|
118
|
-
increment: string;
|
|
119
|
-
decrement: string;
|
|
120
|
-
};
|
|
29
|
+
ghost: {
|
|
30
|
+
base: string[];
|
|
121
31
|
};
|
|
122
|
-
|
|
123
|
-
|
|
32
|
+
none: {
|
|
33
|
+
base: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
true: {
|
|
38
|
+
increment: string;
|
|
39
|
+
decrement: string;
|
|
124
40
|
};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
41
|
+
};
|
|
42
|
+
orientation: {
|
|
43
|
+
horizontal: {
|
|
44
|
+
input: string;
|
|
45
|
+
increment: string;
|
|
46
|
+
decrement: string;
|
|
47
|
+
};
|
|
48
|
+
vertical: {
|
|
49
|
+
increment: string;
|
|
50
|
+
decrement: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
underline: {
|
|
54
|
+
true: "";
|
|
55
|
+
};
|
|
56
|
+
highlight: {
|
|
57
|
+
true: {
|
|
58
|
+
base: string;
|
|
129
59
|
};
|
|
130
|
-
}
|
|
60
|
+
};
|
|
61
|
+
}, ({
|
|
62
|
+
variant: ("soft" | "ghost" | "none")[];
|
|
63
|
+
highlight: false;
|
|
64
|
+
underline: true;
|
|
65
|
+
class: {
|
|
66
|
+
base: string[];
|
|
67
|
+
input?: undefined;
|
|
68
|
+
};
|
|
69
|
+
size?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
size: ("xs" | "sm" | "md")[];
|
|
72
|
+
class: {
|
|
73
|
+
base: string;
|
|
74
|
+
input: string;
|
|
75
|
+
};
|
|
76
|
+
variant?: undefined;
|
|
77
|
+
highlight?: undefined;
|
|
78
|
+
underline?: undefined;
|
|
79
|
+
} | {
|
|
80
|
+
size: ("lg" | "xl")[];
|
|
81
|
+
class: {
|
|
82
|
+
base: string;
|
|
83
|
+
input: string;
|
|
84
|
+
};
|
|
85
|
+
variant?: undefined;
|
|
86
|
+
highlight?: undefined;
|
|
87
|
+
underline?: undefined;
|
|
88
|
+
} | {
|
|
89
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
90
|
+
highlight: true;
|
|
91
|
+
class: {
|
|
92
|
+
base: string;
|
|
93
|
+
input?: undefined;
|
|
94
|
+
};
|
|
95
|
+
underline?: undefined;
|
|
96
|
+
size?: undefined;
|
|
97
|
+
} | {
|
|
98
|
+
variant: "outline"[];
|
|
99
|
+
highlight: true;
|
|
100
|
+
class: {
|
|
131
101
|
base: string;
|
|
132
|
-
input
|
|
133
|
-
increment: string;
|
|
134
|
-
decrement: string;
|
|
135
|
-
}, undefined>;
|
|
136
|
-
defaultVariants: {
|
|
137
|
-
size: "md";
|
|
138
|
-
variant: "outline";
|
|
102
|
+
input?: undefined;
|
|
139
103
|
};
|
|
140
|
-
|
|
104
|
+
underline?: undefined;
|
|
105
|
+
size?: undefined;
|
|
106
|
+
})[], {
|
|
107
|
+
size: "md";
|
|
108
|
+
variant: "outline";
|
|
109
|
+
}, undefined, {
|
|
110
|
+
base: string;
|
|
111
|
+
input: string[];
|
|
112
|
+
increment: string;
|
|
113
|
+
decrement: string;
|
|
114
|
+
}>;
|
|
141
115
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import inputTheme from "./input.js";
|
|
|
3
3
|
export default ct(
|
|
4
4
|
/* @unocss-include */
|
|
5
5
|
{
|
|
6
|
-
|
|
6
|
+
parts: {
|
|
7
7
|
base: "relative inline-flex items-center rounded-ui-base transition-colors aria-disabled:opacity-50",
|
|
8
8
|
input: [
|
|
9
9
|
"w-full color-inherit bg-transparent border-0 placeholder:color-ui-base/50",
|
|
@@ -1,150 +1,172 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
input: string[];
|
|
6
|
-
leading: string;
|
|
7
|
-
leadingIcon: string;
|
|
8
|
-
trailing: string;
|
|
9
|
-
trailingIcon: string;
|
|
10
|
-
};
|
|
11
|
-
variants: {
|
|
12
|
-
size: {
|
|
13
|
-
xs: {
|
|
14
|
-
base: string;
|
|
15
|
-
};
|
|
16
|
-
sm: {
|
|
17
|
-
base: string;
|
|
18
|
-
};
|
|
19
|
-
md: {
|
|
20
|
-
base: string;
|
|
21
|
-
};
|
|
22
|
-
lg: {
|
|
23
|
-
base: string;
|
|
24
|
-
};
|
|
25
|
-
xl: {
|
|
26
|
-
base: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
variant: {
|
|
30
|
-
outline: {
|
|
31
|
-
base: string[];
|
|
32
|
-
};
|
|
33
|
-
soft: {
|
|
34
|
-
base: string[];
|
|
35
|
-
};
|
|
36
|
-
'soft-outline': {
|
|
37
|
-
base: string[];
|
|
38
|
-
};
|
|
39
|
-
ghost: {
|
|
40
|
-
base: string[];
|
|
41
|
-
};
|
|
42
|
-
none: {
|
|
43
|
-
base: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
leading: {
|
|
47
|
-
true: "";
|
|
48
|
-
};
|
|
49
|
-
trailing: {
|
|
50
|
-
true: "";
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
base: string;
|
|
51
5
|
};
|
|
52
|
-
|
|
53
|
-
|
|
6
|
+
sm: {
|
|
7
|
+
base: string;
|
|
54
8
|
};
|
|
55
|
-
|
|
56
|
-
|
|
9
|
+
md: {
|
|
10
|
+
base: string;
|
|
57
11
|
};
|
|
58
|
-
|
|
59
|
-
|
|
12
|
+
lg: {
|
|
13
|
+
base: string;
|
|
60
14
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
input: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
groupOrientation: {
|
|
67
|
-
horizontal: {
|
|
68
|
-
base: string;
|
|
69
|
-
};
|
|
70
|
-
vertical: {
|
|
71
|
-
base: string;
|
|
72
|
-
};
|
|
15
|
+
xl: {
|
|
16
|
+
base: string;
|
|
73
17
|
};
|
|
74
18
|
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
base: string;
|
|
79
|
-
};
|
|
80
|
-
sm: {
|
|
81
|
-
base: string;
|
|
82
|
-
};
|
|
83
|
-
md: {
|
|
84
|
-
base: string;
|
|
85
|
-
};
|
|
86
|
-
lg: {
|
|
87
|
-
base: string;
|
|
88
|
-
};
|
|
89
|
-
xl: {
|
|
90
|
-
base: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
variant: {
|
|
94
|
-
outline: {
|
|
95
|
-
base: string[];
|
|
96
|
-
};
|
|
97
|
-
soft: {
|
|
98
|
-
base: string[];
|
|
99
|
-
};
|
|
100
|
-
'soft-outline': {
|
|
101
|
-
base: string[];
|
|
102
|
-
};
|
|
103
|
-
ghost: {
|
|
104
|
-
base: string[];
|
|
105
|
-
};
|
|
106
|
-
none: {
|
|
107
|
-
base: string;
|
|
108
|
-
};
|
|
19
|
+
variant: {
|
|
20
|
+
outline: {
|
|
21
|
+
base: string[];
|
|
109
22
|
};
|
|
110
|
-
|
|
111
|
-
|
|
23
|
+
soft: {
|
|
24
|
+
base: string[];
|
|
112
25
|
};
|
|
113
|
-
|
|
114
|
-
|
|
26
|
+
'soft-outline': {
|
|
27
|
+
base: string[];
|
|
115
28
|
};
|
|
116
|
-
|
|
117
|
-
|
|
29
|
+
ghost: {
|
|
30
|
+
base: string[];
|
|
118
31
|
};
|
|
119
|
-
|
|
120
|
-
|
|
32
|
+
none: {
|
|
33
|
+
base: string;
|
|
121
34
|
};
|
|
122
|
-
|
|
123
|
-
|
|
35
|
+
};
|
|
36
|
+
leading: {
|
|
37
|
+
true: "";
|
|
38
|
+
};
|
|
39
|
+
trailing: {
|
|
40
|
+
true: "";
|
|
41
|
+
};
|
|
42
|
+
loading: {
|
|
43
|
+
true: "";
|
|
44
|
+
};
|
|
45
|
+
underline: {
|
|
46
|
+
true: "";
|
|
47
|
+
};
|
|
48
|
+
highlight: {
|
|
49
|
+
true: "";
|
|
50
|
+
};
|
|
51
|
+
type: {
|
|
52
|
+
file: {
|
|
53
|
+
input: string;
|
|
124
54
|
};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
55
|
+
};
|
|
56
|
+
groupOrientation: {
|
|
57
|
+
horizontal: {
|
|
58
|
+
base: string;
|
|
129
59
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
base: string;
|
|
133
|
-
};
|
|
134
|
-
vertical: {
|
|
135
|
-
base: string;
|
|
136
|
-
};
|
|
60
|
+
vertical: {
|
|
61
|
+
base: string;
|
|
137
62
|
};
|
|
138
|
-
}
|
|
63
|
+
};
|
|
64
|
+
}, ({
|
|
65
|
+
variant: ("soft" | "ghost" | "none")[];
|
|
66
|
+
highlight: false;
|
|
67
|
+
underline: true;
|
|
68
|
+
class: {
|
|
69
|
+
base: string[];
|
|
70
|
+
input?: undefined;
|
|
71
|
+
leadingIcon?: undefined;
|
|
72
|
+
trailingIcon?: undefined;
|
|
73
|
+
};
|
|
74
|
+
size?: undefined;
|
|
75
|
+
loading?: undefined;
|
|
76
|
+
leading?: undefined;
|
|
77
|
+
trailing?: undefined;
|
|
78
|
+
} | {
|
|
79
|
+
size: ("xs" | "sm" | "md")[];
|
|
80
|
+
class: {
|
|
81
|
+
base: string;
|
|
82
|
+
input: string;
|
|
83
|
+
leadingIcon?: undefined;
|
|
84
|
+
trailingIcon?: undefined;
|
|
85
|
+
};
|
|
86
|
+
variant?: undefined;
|
|
87
|
+
highlight?: undefined;
|
|
88
|
+
underline?: undefined;
|
|
89
|
+
loading?: undefined;
|
|
90
|
+
leading?: undefined;
|
|
91
|
+
trailing?: undefined;
|
|
92
|
+
} | {
|
|
93
|
+
size: ("lg" | "xl")[];
|
|
94
|
+
class: {
|
|
139
95
|
base: string;
|
|
140
|
-
input: string
|
|
141
|
-
|
|
96
|
+
input: string;
|
|
97
|
+
leadingIcon?: undefined;
|
|
98
|
+
trailingIcon?: undefined;
|
|
99
|
+
};
|
|
100
|
+
variant?: undefined;
|
|
101
|
+
highlight?: undefined;
|
|
102
|
+
underline?: undefined;
|
|
103
|
+
loading?: undefined;
|
|
104
|
+
leading?: undefined;
|
|
105
|
+
trailing?: undefined;
|
|
106
|
+
} | {
|
|
107
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
108
|
+
highlight: true;
|
|
109
|
+
class: {
|
|
110
|
+
base: string;
|
|
111
|
+
input?: undefined;
|
|
112
|
+
leadingIcon?: undefined;
|
|
113
|
+
trailingIcon?: undefined;
|
|
114
|
+
};
|
|
115
|
+
underline?: undefined;
|
|
116
|
+
size?: undefined;
|
|
117
|
+
loading?: undefined;
|
|
118
|
+
leading?: undefined;
|
|
119
|
+
trailing?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
variant: "outline"[];
|
|
122
|
+
highlight: true;
|
|
123
|
+
class: {
|
|
124
|
+
base: string;
|
|
125
|
+
input?: undefined;
|
|
126
|
+
leadingIcon?: undefined;
|
|
127
|
+
trailingIcon?: undefined;
|
|
128
|
+
};
|
|
129
|
+
underline?: undefined;
|
|
130
|
+
size?: undefined;
|
|
131
|
+
loading?: undefined;
|
|
132
|
+
leading?: undefined;
|
|
133
|
+
trailing?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
loading: true;
|
|
136
|
+
leading: true;
|
|
137
|
+
class: {
|
|
142
138
|
leadingIcon: string;
|
|
143
|
-
|
|
139
|
+
base?: undefined;
|
|
140
|
+
input?: undefined;
|
|
141
|
+
trailingIcon?: undefined;
|
|
142
|
+
};
|
|
143
|
+
variant?: undefined;
|
|
144
|
+
highlight?: undefined;
|
|
145
|
+
underline?: undefined;
|
|
146
|
+
size?: undefined;
|
|
147
|
+
trailing?: undefined;
|
|
148
|
+
} | {
|
|
149
|
+
loading: true;
|
|
150
|
+
leading: false;
|
|
151
|
+
trailing: true;
|
|
152
|
+
class: {
|
|
144
153
|
trailingIcon: string;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
154
|
+
base?: undefined;
|
|
155
|
+
input?: undefined;
|
|
156
|
+
leadingIcon?: undefined;
|
|
148
157
|
};
|
|
149
|
-
|
|
158
|
+
variant?: undefined;
|
|
159
|
+
highlight?: undefined;
|
|
160
|
+
underline?: undefined;
|
|
161
|
+
size?: undefined;
|
|
162
|
+
})[], {
|
|
163
|
+
size: "md";
|
|
164
|
+
}, undefined, {
|
|
165
|
+
base: string;
|
|
166
|
+
input: string[];
|
|
167
|
+
leading: string;
|
|
168
|
+
leadingIcon: string;
|
|
169
|
+
trailing: string;
|
|
170
|
+
trailingIcon: string;
|
|
171
|
+
}>;
|
|
150
172
|
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: "inline-flex items-center rounded-ui-base transition-colors aria-disabled:opacity-50",
|
|
8
8
|
input: [
|
|
9
9
|
"w-full color-inherit bg-transparent border-0 placeholder:color-ui-base/50",
|
|
@@ -118,14 +118,14 @@ export default ct(
|
|
|
118
118
|
variant: ["soft", "soft-outline", "ghost", "none"],
|
|
119
119
|
highlight: true,
|
|
120
120
|
class: {
|
|
121
|
-
base: "ring ring-inset ring-ui-fill/80 focus-within:ring-ui-fill/80"
|
|
121
|
+
base: "ring ring-inset ring-ui-fill/80 focus-within:ring-ui-fill/80 hover:focus-within:ring-ui-fill/80"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
variant: ["outline"],
|
|
126
126
|
highlight: true,
|
|
127
127
|
class: {
|
|
128
|
-
base: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80"
|
|
128
|
+
base: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80 hover:focus-within:ring-ui-fill/80"
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
{
|
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
outline: "color-ui-fill ring bg-ui-base/90 ring-inset ring-ui-fill/30";
|
|
8
|
-
soft: "color-ui-fill/80 bg-soft-ui-fill/20";
|
|
9
|
-
'soft-outline': "color-ui-fill/80 bg-soft-ui-fill/20 ring ring-inset ring-ui-fill/30";
|
|
10
|
-
};
|
|
11
|
-
size: {
|
|
12
|
-
xs: "text-xs";
|
|
13
|
-
sm: "text-sm";
|
|
14
|
-
md: "text-base";
|
|
15
|
-
lg: "text-lg";
|
|
16
|
-
xl: "text-xl";
|
|
17
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
variant: {
|
|
3
|
+
solid: "color-ui-cx bg-soft-ui-fill/90";
|
|
4
|
+
outline: "color-ui-fill ring bg-ui-base/90 ring-inset ring-ui-fill/30";
|
|
5
|
+
soft: "color-ui-fill/80 bg-soft-ui-fill/20";
|
|
6
|
+
'soft-outline': "color-ui-fill/80 bg-soft-ui-fill/20 ring ring-inset ring-ui-fill/30";
|
|
18
7
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
size: {
|
|
27
|
-
xs: "text-xs";
|
|
28
|
-
sm: "text-sm";
|
|
29
|
-
md: "text-base";
|
|
30
|
-
lg: "text-lg";
|
|
31
|
-
xl: "text-xl";
|
|
32
|
-
};
|
|
33
|
-
}, undefined, "inline-flex items-center justify-center px-0.25em rounded-ui-base leading-normal min-w-1.5em font-medium font-sans select-none">;
|
|
34
|
-
defaultVariants: {
|
|
35
|
-
variant: "outline";
|
|
36
|
-
size: "md";
|
|
8
|
+
size: {
|
|
9
|
+
xs: "text-xs";
|
|
10
|
+
sm: "text-sm";
|
|
11
|
+
md: "text-base";
|
|
12
|
+
lg: "text-lg";
|
|
13
|
+
xl: "text-xl";
|
|
37
14
|
};
|
|
38
|
-
}
|
|
15
|
+
}, import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
16
|
+
variant: {
|
|
17
|
+
solid: "color-ui-cx bg-soft-ui-fill/90";
|
|
18
|
+
outline: "color-ui-fill ring bg-ui-base/90 ring-inset ring-ui-fill/30";
|
|
19
|
+
soft: "color-ui-fill/80 bg-soft-ui-fill/20";
|
|
20
|
+
'soft-outline': "color-ui-fill/80 bg-soft-ui-fill/20 ring ring-inset ring-ui-fill/30";
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
xs: "text-xs";
|
|
24
|
+
sm: "text-sm";
|
|
25
|
+
md: "text-base";
|
|
26
|
+
lg: "text-lg";
|
|
27
|
+
xl: "text-xl";
|
|
28
|
+
};
|
|
29
|
+
}, undefined, "inline-flex items-center justify-center px-0.25em rounded-ui-base leading-normal min-w-1.5em font-medium font-sans select-none">, {
|
|
30
|
+
variant: "outline";
|
|
31
|
+
size: "md";
|
|
32
|
+
}, "inline-flex items-center justify-center px-0.25em rounded-ui-base leading-normal min-w-1.5em font-medium font-sans select-none", undefined>;
|
|
39
33
|
export default _default;
|