@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,102 +1,90 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
base: string[];
|
|
6
|
-
};
|
|
7
|
-
variants: {
|
|
8
|
-
size: {
|
|
9
|
-
xs: {
|
|
10
|
-
root: string;
|
|
11
|
-
};
|
|
12
|
-
sm: {
|
|
13
|
-
root: string;
|
|
14
|
-
};
|
|
15
|
-
md: {
|
|
16
|
-
root: string;
|
|
17
|
-
};
|
|
18
|
-
lg: {
|
|
19
|
-
root: string;
|
|
20
|
-
};
|
|
21
|
-
xl: {
|
|
22
|
-
root: string;
|
|
23
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
root: string;
|
|
24
5
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
root: string[];
|
|
28
|
-
};
|
|
29
|
-
soft: {
|
|
30
|
-
root: string[];
|
|
31
|
-
};
|
|
32
|
-
'soft-outline': {
|
|
33
|
-
root: string[];
|
|
34
|
-
};
|
|
35
|
-
ghost: {
|
|
36
|
-
root: string[];
|
|
37
|
-
};
|
|
38
|
-
none: {
|
|
39
|
-
root: string;
|
|
40
|
-
};
|
|
6
|
+
sm: {
|
|
7
|
+
root: string;
|
|
41
8
|
};
|
|
42
|
-
|
|
43
|
-
|
|
9
|
+
md: {
|
|
10
|
+
root: string;
|
|
44
11
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
12
|
+
lg: {
|
|
13
|
+
root: string;
|
|
14
|
+
};
|
|
15
|
+
xl: {
|
|
16
|
+
root: string;
|
|
49
17
|
};
|
|
50
18
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
root: string;
|
|
58
|
-
};
|
|
59
|
-
md: {
|
|
60
|
-
root: string;
|
|
61
|
-
};
|
|
62
|
-
lg: {
|
|
63
|
-
root: string;
|
|
64
|
-
};
|
|
65
|
-
xl: {
|
|
66
|
-
root: string;
|
|
67
|
-
};
|
|
19
|
+
variant: {
|
|
20
|
+
outline: {
|
|
21
|
+
root: string[];
|
|
22
|
+
};
|
|
23
|
+
soft: {
|
|
24
|
+
root: string[];
|
|
68
25
|
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
root: string[];
|
|
72
|
-
};
|
|
73
|
-
soft: {
|
|
74
|
-
root: string[];
|
|
75
|
-
};
|
|
76
|
-
'soft-outline': {
|
|
77
|
-
root: string[];
|
|
78
|
-
};
|
|
79
|
-
ghost: {
|
|
80
|
-
root: string[];
|
|
81
|
-
};
|
|
82
|
-
none: {
|
|
83
|
-
root: string;
|
|
84
|
-
};
|
|
26
|
+
'soft-outline': {
|
|
27
|
+
root: string[];
|
|
85
28
|
};
|
|
86
|
-
|
|
87
|
-
|
|
29
|
+
ghost: {
|
|
30
|
+
root: string[];
|
|
88
31
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
base: string;
|
|
92
|
-
};
|
|
32
|
+
none: {
|
|
33
|
+
root: string;
|
|
93
34
|
};
|
|
94
|
-
}
|
|
35
|
+
};
|
|
36
|
+
underline: {
|
|
37
|
+
true: "";
|
|
38
|
+
};
|
|
39
|
+
highlight: {
|
|
40
|
+
true: {
|
|
41
|
+
base: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, ({
|
|
45
|
+
variant: ("soft" | "ghost" | "none")[];
|
|
46
|
+
highlight: false;
|
|
47
|
+
underline: true;
|
|
48
|
+
class: {
|
|
49
|
+
root: string[];
|
|
50
|
+
};
|
|
51
|
+
size?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
size: ("xs" | "sm" | "md")[];
|
|
54
|
+
class: {
|
|
55
|
+
root: string;
|
|
56
|
+
};
|
|
57
|
+
variant?: undefined;
|
|
58
|
+
highlight?: undefined;
|
|
59
|
+
underline?: undefined;
|
|
60
|
+
} | {
|
|
61
|
+
size: ("lg" | "xl")[];
|
|
62
|
+
class: {
|
|
63
|
+
root: string;
|
|
64
|
+
};
|
|
65
|
+
variant?: undefined;
|
|
66
|
+
highlight?: undefined;
|
|
67
|
+
underline?: undefined;
|
|
68
|
+
} | {
|
|
69
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
70
|
+
highlight: true;
|
|
71
|
+
class: {
|
|
72
|
+
root: string;
|
|
73
|
+
};
|
|
74
|
+
underline?: undefined;
|
|
75
|
+
size?: undefined;
|
|
76
|
+
} | {
|
|
77
|
+
variant: "outline"[];
|
|
78
|
+
highlight: true;
|
|
79
|
+
class: {
|
|
95
80
|
root: string;
|
|
96
|
-
base: string[];
|
|
97
|
-
}, undefined>;
|
|
98
|
-
defaultVariants: {
|
|
99
|
-
size: "md";
|
|
100
81
|
};
|
|
101
|
-
|
|
82
|
+
underline?: undefined;
|
|
83
|
+
size?: undefined;
|
|
84
|
+
})[], {
|
|
85
|
+
size: "md";
|
|
86
|
+
}, undefined, {
|
|
87
|
+
root: string;
|
|
88
|
+
base: string[];
|
|
89
|
+
}>;
|
|
102
90
|
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: "rounded-ui-base transition-colors aria-disabled:opacity-50",
|
|
7
7
|
base: [
|
|
8
8
|
"w-full color-inherit bg-transparent border-0 resize-none placeholder:color-ui-base/50",
|
|
@@ -33,7 +33,7 @@ export default ct(
|
|
|
33
33
|
root: [
|
|
34
34
|
"color-ui-base/80 bg-ui-base ring ring-inset ring-ui-base/30",
|
|
35
35
|
"focus-within:ring-2 focus-within:ring-ui-base/50",
|
|
36
|
-
"aria-disabled:ring-ui-base/
|
|
36
|
+
"aria-disabled:ring-ui-base/15 hover:aria-disabled:ring-ui-base/15"
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"soft": {
|
|
@@ -1,137 +1,116 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
clickable: {
|
|
3
|
+
true: {
|
|
4
|
+
base: string;
|
|
5
|
+
};
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
'bottom-center': {
|
|
27
|
-
viewport: string;
|
|
28
|
-
};
|
|
29
|
-
'bottom-right': {
|
|
30
|
-
viewport: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
swipeDirection: {
|
|
34
|
-
up: {
|
|
35
|
-
base: string;
|
|
36
|
-
};
|
|
37
|
-
right: {
|
|
38
|
-
base: string;
|
|
39
|
-
};
|
|
40
|
-
down: {
|
|
41
|
-
base: string;
|
|
42
|
-
};
|
|
43
|
-
left: {
|
|
44
|
-
base: string;
|
|
45
|
-
};
|
|
7
|
+
position: {
|
|
8
|
+
'top-left': {
|
|
9
|
+
viewport: string;
|
|
10
|
+
};
|
|
11
|
+
'top-center': {
|
|
12
|
+
viewport: string;
|
|
13
|
+
};
|
|
14
|
+
'top-right': {
|
|
15
|
+
viewport: string;
|
|
16
|
+
};
|
|
17
|
+
'bottom-left': {
|
|
18
|
+
viewport: string;
|
|
19
|
+
};
|
|
20
|
+
'bottom-center': {
|
|
21
|
+
viewport: string;
|
|
22
|
+
};
|
|
23
|
+
'bottom-right': {
|
|
24
|
+
viewport: string;
|
|
46
25
|
};
|
|
47
26
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
base: string;
|
|
80
|
-
};
|
|
81
|
-
down: {
|
|
82
|
-
base: string;
|
|
83
|
-
};
|
|
84
|
-
left: {
|
|
85
|
-
base: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
}, {
|
|
89
|
-
viewport: string[];
|
|
27
|
+
swipeDirection: {
|
|
28
|
+
up: {
|
|
29
|
+
base: string;
|
|
30
|
+
};
|
|
31
|
+
right: {
|
|
32
|
+
base: string;
|
|
33
|
+
};
|
|
34
|
+
down: {
|
|
35
|
+
base: string;
|
|
36
|
+
};
|
|
37
|
+
left: {
|
|
38
|
+
base: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}, ({
|
|
42
|
+
position: ("top-right" | "top-left" | "top-center")[];
|
|
43
|
+
class: {
|
|
44
|
+
viewport: string;
|
|
45
|
+
base: string;
|
|
46
|
+
};
|
|
47
|
+
swipeDirection?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
position: ("bottom-right" | "bottom-left" | "bottom-center")[];
|
|
50
|
+
class: {
|
|
51
|
+
viewport: string;
|
|
52
|
+
base: string;
|
|
53
|
+
};
|
|
54
|
+
swipeDirection?: undefined;
|
|
55
|
+
} | {
|
|
56
|
+
swipeDirection: ("left" | "right")[];
|
|
57
|
+
class: {
|
|
90
58
|
base: string[];
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
};
|
|
98
|
-
position: {
|
|
99
|
-
'top-left': {
|
|
100
|
-
viewport: string;
|
|
101
|
-
};
|
|
102
|
-
'top-center': {
|
|
103
|
-
viewport: string;
|
|
104
|
-
};
|
|
105
|
-
'top-right': {
|
|
106
|
-
viewport: string;
|
|
107
|
-
};
|
|
108
|
-
'bottom-left': {
|
|
109
|
-
viewport: string;
|
|
110
|
-
};
|
|
111
|
-
'bottom-center': {
|
|
112
|
-
viewport: string;
|
|
113
|
-
};
|
|
114
|
-
'bottom-right': {
|
|
115
|
-
viewport: string;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
swipeDirection: {
|
|
119
|
-
up: {
|
|
120
|
-
base: string;
|
|
121
|
-
};
|
|
122
|
-
right: {
|
|
123
|
-
base: string;
|
|
124
|
-
};
|
|
125
|
-
down: {
|
|
126
|
-
base: string;
|
|
127
|
-
};
|
|
128
|
-
left: {
|
|
129
|
-
base: string;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
}, {
|
|
133
|
-
viewport: string[];
|
|
59
|
+
viewport?: undefined;
|
|
60
|
+
};
|
|
61
|
+
position?: undefined;
|
|
62
|
+
} | {
|
|
63
|
+
swipeDirection: ("up" | "down")[];
|
|
64
|
+
class: {
|
|
134
65
|
base: string[];
|
|
135
|
-
|
|
136
|
-
};
|
|
66
|
+
viewport?: undefined;
|
|
67
|
+
};
|
|
68
|
+
position?: undefined;
|
|
69
|
+
})[], import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
70
|
+
clickable: {
|
|
71
|
+
true: {
|
|
72
|
+
base: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
position: {
|
|
76
|
+
'top-left': {
|
|
77
|
+
viewport: string;
|
|
78
|
+
};
|
|
79
|
+
'top-center': {
|
|
80
|
+
viewport: string;
|
|
81
|
+
};
|
|
82
|
+
'top-right': {
|
|
83
|
+
viewport: string;
|
|
84
|
+
};
|
|
85
|
+
'bottom-left': {
|
|
86
|
+
viewport: string;
|
|
87
|
+
};
|
|
88
|
+
'bottom-center': {
|
|
89
|
+
viewport: string;
|
|
90
|
+
};
|
|
91
|
+
'bottom-right': {
|
|
92
|
+
viewport: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
swipeDirection: {
|
|
96
|
+
up: {
|
|
97
|
+
base: string;
|
|
98
|
+
};
|
|
99
|
+
right: {
|
|
100
|
+
base: string;
|
|
101
|
+
};
|
|
102
|
+
down: {
|
|
103
|
+
base: string;
|
|
104
|
+
};
|
|
105
|
+
left: {
|
|
106
|
+
base: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}, {
|
|
110
|
+
viewport: string[];
|
|
111
|
+
base: string[];
|
|
112
|
+
}>, undefined, {
|
|
113
|
+
viewport: string[];
|
|
114
|
+
base: string[];
|
|
115
|
+
}>;
|
|
137
116
|
export default _default;
|
|
@@ -1,89 +1,83 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
orientation: {
|
|
3
|
+
horizontal: {
|
|
4
|
+
root: string;
|
|
5
|
+
actions: string;
|
|
6
|
+
};
|
|
7
|
+
vertical: {
|
|
8
|
+
root: string;
|
|
9
|
+
actions: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
true: {
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
14
16
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
21
|
-
vertical: {
|
|
22
|
-
root: string;
|
|
23
|
-
actions: string;
|
|
24
|
-
};
|
|
17
|
+
}, import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
18
|
+
orientation: {
|
|
19
|
+
horizontal: {
|
|
20
|
+
root: string;
|
|
21
|
+
actions: string;
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
23
|
+
vertical: {
|
|
24
|
+
root: string;
|
|
25
|
+
actions: string;
|
|
30
26
|
};
|
|
31
27
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
root: string;
|
|
36
|
-
actions: string;
|
|
37
|
-
};
|
|
38
|
-
vertical: {
|
|
39
|
-
root: string;
|
|
40
|
-
actions: string;
|
|
41
|
-
};
|
|
28
|
+
title: {
|
|
29
|
+
true: {
|
|
30
|
+
description: string;
|
|
42
31
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
root: string;
|
|
35
|
+
wrapper: string;
|
|
36
|
+
title: string;
|
|
37
|
+
description: string;
|
|
38
|
+
icon: string;
|
|
39
|
+
avatar: string;
|
|
40
|
+
avatarSize: string;
|
|
41
|
+
actions: string;
|
|
42
|
+
progress: string;
|
|
43
|
+
close: string;
|
|
44
|
+
}, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
45
|
+
orientation: {
|
|
46
|
+
horizontal: {
|
|
47
|
+
root: string;
|
|
48
|
+
actions: string;
|
|
47
49
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
title: string;
|
|
52
|
-
description: string;
|
|
53
|
-
icon: string;
|
|
54
|
-
avatar: string;
|
|
55
|
-
avatarSize: string;
|
|
56
|
-
actions: string;
|
|
57
|
-
progress: string;
|
|
58
|
-
close: string;
|
|
59
|
-
}, undefined>;
|
|
60
|
-
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
61
|
-
orientation: {
|
|
62
|
-
horizontal: {
|
|
63
|
-
root: string;
|
|
64
|
-
actions: string;
|
|
65
|
-
};
|
|
66
|
-
vertical: {
|
|
67
|
-
root: string;
|
|
68
|
-
actions: string;
|
|
69
|
-
};
|
|
50
|
+
vertical: {
|
|
51
|
+
root: string;
|
|
52
|
+
actions: string;
|
|
70
53
|
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
54
|
+
};
|
|
55
|
+
title: {
|
|
56
|
+
true: {
|
|
57
|
+
description: string;
|
|
75
58
|
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
root: string;
|
|
62
|
+
wrapper: string;
|
|
63
|
+
title: string;
|
|
64
|
+
description: string;
|
|
65
|
+
icon: string;
|
|
66
|
+
avatar: string;
|
|
67
|
+
avatarSize: string;
|
|
68
|
+
actions: string;
|
|
69
|
+
progress: string;
|
|
70
|
+
close: string;
|
|
71
|
+
}>, undefined, {
|
|
72
|
+
root: string;
|
|
73
|
+
wrapper: string;
|
|
74
|
+
title: string;
|
|
75
|
+
description: string;
|
|
76
|
+
icon: string;
|
|
77
|
+
avatar: string;
|
|
78
|
+
avatarSize: string;
|
|
79
|
+
actions: string;
|
|
80
|
+
progress: string;
|
|
81
|
+
close: string;
|
|
82
|
+
}>;
|
|
89
83
|
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: "group relative overflow-hidden bg-ui-base shadow-lg rounded-ui-box ring ring-ui-base/5 p-4 flex gap-2.5 focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ui-base/5",
|
|
7
7
|
wrapper: "w-0 flex-1 flex flex-col gap-1",
|
|
8
8
|
title: "text-base font-medium color-ui-base",
|