@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,44 +1,38 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
disabled: {
|
|
40
|
-
true: "cursor-not-allowed opacity-50";
|
|
41
|
-
};
|
|
42
|
-
}, undefined>;
|
|
43
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
underline: {
|
|
3
|
+
true: "border-current";
|
|
4
|
+
false: "border-transparent";
|
|
5
|
+
};
|
|
6
|
+
active: {
|
|
7
|
+
true: string[];
|
|
8
|
+
false: string[];
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
true: "cursor-not-allowed opacity-50";
|
|
12
|
+
};
|
|
13
|
+
}, import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
14
|
+
underline: {
|
|
15
|
+
true: "border-current";
|
|
16
|
+
false: "border-transparent";
|
|
17
|
+
};
|
|
18
|
+
active: {
|
|
19
|
+
true: string[];
|
|
20
|
+
false: string[];
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
true: "cursor-not-allowed opacity-50";
|
|
24
|
+
};
|
|
25
|
+
}, undefined, "border-y border-t-transparent outline-none focus-visible:outline-ui-base/80">, import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
26
|
+
underline: {
|
|
27
|
+
true: "border-current";
|
|
28
|
+
false: "border-transparent";
|
|
29
|
+
};
|
|
30
|
+
active: {
|
|
31
|
+
true: string[];
|
|
32
|
+
false: string[];
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
true: "cursor-not-allowed opacity-50";
|
|
36
|
+
};
|
|
37
|
+
}, undefined>, "border-y border-t-transparent outline-none focus-visible:outline-ui-base/80", undefined>;
|
|
44
38
|
export default _default;
|
|
@@ -1,76 +1,42 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
body: string;
|
|
8
|
-
footer: string;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
close: string;
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
transition: {
|
|
3
|
+
true: {
|
|
4
|
+
overlay: string;
|
|
5
|
+
content: string;
|
|
6
|
+
};
|
|
12
7
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
overlay: string;
|
|
17
|
-
content: string;
|
|
18
|
-
};
|
|
8
|
+
size: {
|
|
9
|
+
fullscreen: {
|
|
10
|
+
content: string;
|
|
19
11
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
content: string;
|
|
23
|
-
};
|
|
24
|
-
sm: {
|
|
25
|
-
content: string;
|
|
26
|
-
};
|
|
27
|
-
md: {
|
|
28
|
-
content: string;
|
|
29
|
-
};
|
|
30
|
-
lg: {
|
|
31
|
-
content: string;
|
|
32
|
-
};
|
|
33
|
-
xl: {
|
|
34
|
-
content: string;
|
|
35
|
-
};
|
|
12
|
+
sm: {
|
|
13
|
+
content: string;
|
|
36
14
|
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
transition: {
|
|
40
|
-
true: {
|
|
41
|
-
overlay: string;
|
|
42
|
-
content: string;
|
|
43
|
-
};
|
|
15
|
+
md: {
|
|
16
|
+
content: string;
|
|
44
17
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
content: string;
|
|
48
|
-
};
|
|
49
|
-
sm: {
|
|
50
|
-
content: string;
|
|
51
|
-
};
|
|
52
|
-
md: {
|
|
53
|
-
content: string;
|
|
54
|
-
};
|
|
55
|
-
lg: {
|
|
56
|
-
content: string;
|
|
57
|
-
};
|
|
58
|
-
xl: {
|
|
59
|
-
content: string;
|
|
60
|
-
};
|
|
18
|
+
lg: {
|
|
19
|
+
content: string;
|
|
61
20
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
close: string;
|
|
71
|
-
}, undefined>;
|
|
72
|
-
defaultVariants: {
|
|
73
|
-
size: "sm";
|
|
21
|
+
xl: {
|
|
22
|
+
content: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
size: ("sm" | "md" | "lg" | "xl")[];
|
|
27
|
+
class: {
|
|
28
|
+
content: string[];
|
|
74
29
|
};
|
|
75
|
-
}
|
|
30
|
+
}[], {
|
|
31
|
+
size: "sm";
|
|
32
|
+
}, undefined, {
|
|
33
|
+
overlay: string;
|
|
34
|
+
content: string;
|
|
35
|
+
header: string;
|
|
36
|
+
body: string;
|
|
37
|
+
footer: string;
|
|
38
|
+
title: string;
|
|
39
|
+
description: string;
|
|
40
|
+
close: string;
|
|
41
|
+
}>;
|
|
76
42
|
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
|
overlay: "fixed z-1 inset-0 bg-black/40",
|
|
7
7
|
content: "fixed z-1 bg-ui-base divide-y divide-ui-base/10 flex flex-col focus:outline-none",
|
|
8
8
|
header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
|
|
@@ -1,80 +1,74 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
[variantName: string]: {
|
|
3
|
+
[variantValue: string]: "" | {
|
|
4
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
5
|
+
item?: import("@byyuurin/ui-kit").ClassValue;
|
|
6
|
+
label?: import("@byyuurin/ui-kit").ClassValue;
|
|
7
|
+
list?: import("@byyuurin/ui-kit").ClassValue;
|
|
8
|
+
prev?: import("@byyuurin/ui-kit").ClassValue;
|
|
9
|
+
next?: import("@byyuurin/ui-kit").ClassValue;
|
|
10
|
+
ellipsis?: import("@byyuurin/ui-kit").ClassValue;
|
|
11
|
+
first?: import("@byyuurin/ui-kit").ClassValue;
|
|
12
|
+
last?: import("@byyuurin/ui-kit").ClassValue;
|
|
13
|
+
} | null;
|
|
13
14
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
15
|
+
}, import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
16
|
+
[variantName: string]: {
|
|
17
|
+
[variantValue: string]: "" | {
|
|
18
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
19
|
+
item?: import("@byyuurin/ui-kit").ClassValue;
|
|
20
|
+
label?: import("@byyuurin/ui-kit").ClassValue;
|
|
21
|
+
list?: import("@byyuurin/ui-kit").ClassValue;
|
|
22
|
+
prev?: import("@byyuurin/ui-kit").ClassValue;
|
|
23
|
+
next?: import("@byyuurin/ui-kit").ClassValue;
|
|
24
|
+
ellipsis?: import("@byyuurin/ui-kit").ClassValue;
|
|
25
|
+
first?: import("@byyuurin/ui-kit").ClassValue;
|
|
26
|
+
last?: import("@byyuurin/ui-kit").ClassValue;
|
|
27
|
+
} | null;
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
first: string;
|
|
75
|
-
prev: string;
|
|
76
|
-
next: string;
|
|
77
|
-
last: string;
|
|
78
|
-
}>;
|
|
79
|
-
};
|
|
29
|
+
}, {
|
|
30
|
+
root: string;
|
|
31
|
+
list: string;
|
|
32
|
+
ellipsis: string;
|
|
33
|
+
label: string;
|
|
34
|
+
item: string;
|
|
35
|
+
first: string;
|
|
36
|
+
prev: string;
|
|
37
|
+
next: string;
|
|
38
|
+
last: string;
|
|
39
|
+
}, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
40
|
+
[variantName: string]: {
|
|
41
|
+
[variantValue: string]: "" | {
|
|
42
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
43
|
+
item?: import("@byyuurin/ui-kit").ClassValue;
|
|
44
|
+
label?: import("@byyuurin/ui-kit").ClassValue;
|
|
45
|
+
list?: import("@byyuurin/ui-kit").ClassValue;
|
|
46
|
+
prev?: import("@byyuurin/ui-kit").ClassValue;
|
|
47
|
+
next?: import("@byyuurin/ui-kit").ClassValue;
|
|
48
|
+
ellipsis?: import("@byyuurin/ui-kit").ClassValue;
|
|
49
|
+
first?: import("@byyuurin/ui-kit").ClassValue;
|
|
50
|
+
last?: import("@byyuurin/ui-kit").ClassValue;
|
|
51
|
+
} | null;
|
|
52
|
+
};
|
|
53
|
+
}, {
|
|
54
|
+
root: string;
|
|
55
|
+
list: string;
|
|
56
|
+
ellipsis: string;
|
|
57
|
+
label: string;
|
|
58
|
+
item: string;
|
|
59
|
+
first: string;
|
|
60
|
+
prev: string;
|
|
61
|
+
next: string;
|
|
62
|
+
last: string;
|
|
63
|
+
}>, undefined, {
|
|
64
|
+
root: string;
|
|
65
|
+
list: string;
|
|
66
|
+
ellipsis: string;
|
|
67
|
+
label: string;
|
|
68
|
+
item: string;
|
|
69
|
+
first: string;
|
|
70
|
+
prev: string;
|
|
71
|
+
next: string;
|
|
72
|
+
last: string;
|
|
73
|
+
}>;
|
|
80
74
|
export default _default;
|
|
@@ -1,100 +1,94 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
variants: {
|
|
9
|
-
size: {
|
|
10
|
-
xs: {
|
|
11
|
-
container: string;
|
|
12
|
-
};
|
|
13
|
-
sm: {
|
|
14
|
-
container: string;
|
|
15
|
-
};
|
|
16
|
-
md: {
|
|
17
|
-
container: string;
|
|
18
|
-
};
|
|
19
|
-
lg: {
|
|
20
|
-
container: string;
|
|
21
|
-
};
|
|
22
|
-
xl: {
|
|
23
|
-
container: string;
|
|
24
|
-
};
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
size: {
|
|
3
|
+
xs: {
|
|
4
|
+
container: string;
|
|
5
|
+
};
|
|
6
|
+
sm: {
|
|
7
|
+
container: string;
|
|
25
8
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
container: string[];
|
|
29
|
-
};
|
|
30
|
-
soft: {
|
|
31
|
-
container: string[];
|
|
32
|
-
};
|
|
33
|
-
'soft-outline': {
|
|
34
|
-
container: string[];
|
|
35
|
-
};
|
|
36
|
-
ghost: {
|
|
37
|
-
container: string[];
|
|
38
|
-
};
|
|
39
|
-
none: {
|
|
40
|
-
container: string;
|
|
41
|
-
};
|
|
9
|
+
md: {
|
|
10
|
+
container: string;
|
|
42
11
|
};
|
|
43
|
-
|
|
44
|
-
|
|
12
|
+
lg: {
|
|
13
|
+
container: string;
|
|
45
14
|
};
|
|
46
|
-
|
|
47
|
-
|
|
15
|
+
xl: {
|
|
16
|
+
container: string;
|
|
48
17
|
};
|
|
49
18
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
container: string;
|
|
54
|
-
};
|
|
55
|
-
sm: {
|
|
56
|
-
container: string;
|
|
57
|
-
};
|
|
58
|
-
md: {
|
|
59
|
-
container: string;
|
|
60
|
-
};
|
|
61
|
-
lg: {
|
|
62
|
-
container: string;
|
|
63
|
-
};
|
|
64
|
-
xl: {
|
|
65
|
-
container: string;
|
|
66
|
-
};
|
|
19
|
+
variant: {
|
|
20
|
+
outline: {
|
|
21
|
+
container: string[];
|
|
67
22
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
container: string[];
|
|
71
|
-
};
|
|
72
|
-
soft: {
|
|
73
|
-
container: string[];
|
|
74
|
-
};
|
|
75
|
-
'soft-outline': {
|
|
76
|
-
container: string[];
|
|
77
|
-
};
|
|
78
|
-
ghost: {
|
|
79
|
-
container: string[];
|
|
80
|
-
};
|
|
81
|
-
none: {
|
|
82
|
-
container: string;
|
|
83
|
-
};
|
|
23
|
+
soft: {
|
|
24
|
+
container: string[];
|
|
84
25
|
};
|
|
85
|
-
|
|
86
|
-
|
|
26
|
+
'soft-outline': {
|
|
27
|
+
container: string[];
|
|
87
28
|
};
|
|
88
|
-
|
|
89
|
-
|
|
29
|
+
ghost: {
|
|
30
|
+
container: string[];
|
|
90
31
|
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
32
|
+
none: {
|
|
33
|
+
container: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
underline: {
|
|
37
|
+
true: "";
|
|
38
|
+
};
|
|
39
|
+
highlight: {
|
|
40
|
+
true: "";
|
|
41
|
+
};
|
|
42
|
+
}, ({
|
|
43
|
+
variant: ("soft" | "ghost" | "none")[];
|
|
44
|
+
highlight: false;
|
|
45
|
+
underline: true;
|
|
46
|
+
class: {
|
|
47
|
+
container: string[];
|
|
48
|
+
base?: undefined;
|
|
49
|
+
};
|
|
50
|
+
size?: undefined;
|
|
51
|
+
} | {
|
|
52
|
+
size: ("xs" | "sm" | "md")[];
|
|
53
|
+
class: {
|
|
54
|
+
base: string;
|
|
55
|
+
container?: undefined;
|
|
56
|
+
};
|
|
57
|
+
variant?: undefined;
|
|
58
|
+
highlight?: undefined;
|
|
59
|
+
underline?: undefined;
|
|
60
|
+
} | {
|
|
61
|
+
size: ("lg" | "xl")[];
|
|
62
|
+
class: {
|
|
94
63
|
base: string;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
64
|
+
container?: undefined;
|
|
65
|
+
};
|
|
66
|
+
variant?: undefined;
|
|
67
|
+
highlight?: undefined;
|
|
68
|
+
underline?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
71
|
+
highlight: true;
|
|
72
|
+
class: {
|
|
73
|
+
container: string;
|
|
74
|
+
base?: undefined;
|
|
75
|
+
};
|
|
76
|
+
underline?: undefined;
|
|
77
|
+
size?: undefined;
|
|
78
|
+
} | {
|
|
79
|
+
variant: "outline"[];
|
|
80
|
+
highlight: true;
|
|
81
|
+
class: {
|
|
82
|
+
container: string;
|
|
83
|
+
base?: undefined;
|
|
98
84
|
};
|
|
99
|
-
|
|
85
|
+
underline?: undefined;
|
|
86
|
+
size?: undefined;
|
|
87
|
+
})[], {
|
|
88
|
+
size: "md";
|
|
89
|
+
}, undefined, {
|
|
90
|
+
root: string;
|
|
91
|
+
container: string;
|
|
92
|
+
base: string;
|
|
93
|
+
}>;
|
|
100
94
|
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: "inline-flex items-center gap-x-2",
|
|
7
7
|
container: "rounded-ui-base border-0 transition-colors aria-disabled:opacity-50",
|
|
8
8
|
base: "w-full color-inherit bg-transparent text-center placeholder:color-ui-base/50 focus:outline-none disabled:cursor-not-allowed"
|
|
@@ -30,7 +30,7 @@ export default ct(
|
|
|
30
30
|
container: [
|
|
31
31
|
"color-ui-base/80 bg-ui-base ring ring-inset ring-ui-base/30",
|
|
32
32
|
"focus-within:ring-2 focus-within:ring-ui-base/50",
|
|
33
|
-
"aria-disabled:ring-ui-base/
|
|
33
|
+
"aria-disabled:ring-ui-base/15 hover:aria-disabled:ring-ui-base/15"
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"soft": {
|
|
@@ -1,38 +1,32 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
|
|
2
|
+
[variantName: string]: {
|
|
3
|
+
[variantValue: string]: "" | {
|
|
4
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
5
|
+
arrow?: import("@byyuurin/ui-kit").ClassValue;
|
|
6
|
+
} | null;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
8
|
+
}, import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
9
|
+
[variantName: string]: {
|
|
10
|
+
[variantValue: string]: "" | {
|
|
11
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
12
|
+
arrow?: import("@byyuurin/ui-kit").ClassValue;
|
|
13
|
+
} | null;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
content: string[];
|
|
35
|
-
arrow: string;
|
|
36
|
-
}>;
|
|
37
|
-
};
|
|
15
|
+
}, {
|
|
16
|
+
content: string[];
|
|
17
|
+
arrow: string;
|
|
18
|
+
}, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
19
|
+
[variantName: string]: {
|
|
20
|
+
[variantValue: string]: "" | {
|
|
21
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
22
|
+
arrow?: import("@byyuurin/ui-kit").ClassValue;
|
|
23
|
+
} | null;
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
content: string[];
|
|
27
|
+
arrow: string;
|
|
28
|
+
}>, undefined, {
|
|
29
|
+
content: string[];
|
|
30
|
+
arrow: string;
|
|
31
|
+
}>;
|
|
38
32
|
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
|
content: [
|
|
7
7
|
"z-1 color-ui-base bg-ui-base shadow-lg rounded-ui-box ring ring-ui-base/10",
|
|
8
8
|
"data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] focus:outline-none pointer-events-auto"
|