@byyuurin/ui 0.0.5 → 0.0.7
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 +15 -11
- package/dist/module.cjs +5 -0
- package/dist/module.json +12 -0
- package/dist/{nuxt.mjs → module.mjs} +7 -6
- package/dist/module.mjs.map +1 -0
- package/dist/runtime/components/Accordion.vue +20 -31
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/App.vue +1 -1
- package/dist/runtime/components/Badge.vue +0 -1
- package/dist/runtime/components/Button.vue +14 -12
- package/dist/runtime/components/ButtonGroup.vue +47 -0
- package/dist/runtime/components/Card.vue +9 -6
- package/dist/runtime/components/Carousel.vue +310 -0
- package/dist/runtime/components/Checkbox.vue +3 -4
- package/dist/runtime/components/Chip.vue +9 -4
- package/dist/runtime/components/Collapsible.vue +56 -0
- package/dist/runtime/components/Drawer.vue +4 -2
- package/dist/runtime/components/Input.vue +12 -8
- package/dist/runtime/components/InputNumber.vue +167 -0
- package/dist/runtime/components/Link.vue +301 -72
- package/dist/runtime/components/LinkBase.vue +88 -0
- package/dist/runtime/components/Modal.vue +2 -4
- package/dist/runtime/components/Pagination.vue +167 -0
- package/dist/runtime/components/PinInput.vue +0 -1
- package/dist/runtime/components/RadioGroup.vue +0 -1
- package/dist/runtime/components/ScrollArea.vue +1 -1
- package/dist/runtime/components/Select.vue +9 -5
- package/dist/runtime/components/Separator.vue +63 -0
- package/dist/runtime/components/Slider.vue +0 -1
- package/dist/runtime/components/Switch.vue +4 -6
- package/dist/runtime/components/Table.vue +292 -0
- package/dist/runtime/components/Tabs.vue +17 -18
- package/dist/runtime/components/Textarea.vue +0 -1
- package/dist/runtime/components/Toast.vue +21 -10
- package/dist/runtime/components/Toaster.vue +4 -39
- package/dist/runtime/composables/useButtonGroup.d.ts +13 -0
- package/dist/runtime/composables/useButtonGroup.js +14 -0
- package/dist/runtime/composables/{useComponentIcons.mjs → useComponentIcons.js} +1 -1
- package/dist/runtime/composables/useModal.d.ts +1 -1
- package/dist/runtime/composables/{useModal.mjs → useModal.js} +1 -1
- package/dist/runtime/composables/useTheme.d.ts +4 -4
- package/dist/runtime/composables/{useTheme.mjs → useTheme.js} +4 -4
- package/dist/runtime/composables/useToast.d.ts +4 -4
- package/dist/runtime/composables/{useToast.mjs → useToast.js} +19 -6
- package/dist/runtime/index.d.ts +34 -0
- package/dist/runtime/index.js +34 -0
- package/dist/runtime/theme/accordion.d.ts +22 -5
- package/dist/runtime/theme/{accordion.mjs → accordion.js} +2 -2
- package/dist/runtime/theme/alert.d.ts +41 -1
- package/dist/runtime/theme/{alert.mjs → alert.js} +4 -4
- package/dist/runtime/theme/app.d.ts +8 -0
- package/dist/runtime/theme/app.js +18 -0
- package/dist/runtime/theme/badge.d.ts +48 -21
- package/dist/runtime/theme/{badge.mjs → badge.js} +5 -2
- package/dist/runtime/theme/button-group.d.ts +66 -0
- package/dist/runtime/theme/button-group.js +42 -0
- package/dist/runtime/theme/button.d.ts +68 -111
- package/dist/runtime/theme/button.js +164 -0
- package/dist/runtime/theme/card.d.ts +38 -19
- package/dist/runtime/theme/card.js +37 -0
- package/dist/runtime/theme/carousel.d.ts +113 -0
- package/dist/runtime/theme/carousel.js +43 -0
- package/dist/runtime/theme/checkbox.d.ts +4 -1
- package/dist/runtime/theme/{checkbox.mjs → checkbox.js} +7 -4
- package/dist/runtime/theme/chip.d.ts +56 -12
- package/dist/runtime/theme/{chip.mjs → chip.js} +10 -7
- package/dist/runtime/theme/collapsible.d.ts +38 -0
- package/dist/runtime/theme/collapsible.js +10 -0
- package/dist/runtime/theme/drawer.d.ts +71 -33
- package/dist/runtime/theme/{drawer.mjs → drawer.js} +33 -22
- package/dist/runtime/theme/index.d.ts +31 -24
- package/dist/runtime/theme/index.js +31 -0
- package/dist/runtime/theme/input-number.d.ts +135 -0
- package/dist/runtime/theme/input-number.js +92 -0
- package/dist/runtime/theme/input.d.ts +94 -111
- package/dist/runtime/theme/input.js +151 -0
- package/dist/runtime/theme/link.d.ts +14 -1
- package/dist/runtime/theme/{link.mjs → link.js} +1 -1
- package/dist/runtime/theme/modal.d.ts +33 -7
- package/dist/runtime/theme/{modal.mjs → modal.js} +8 -10
- package/dist/runtime/theme/pagination.d.ts +56 -0
- package/dist/runtime/theme/pagination.js +13 -0
- package/dist/runtime/theme/pinInput.d.ts +45 -42
- package/dist/runtime/theme/{pinInput.mjs → pinInput.js} +14 -11
- package/dist/runtime/theme/popover.d.ts +16 -5
- package/dist/runtime/theme/{radioGroup.d.ts → radio-group.d.ts} +4 -1
- package/dist/runtime/theme/{radioGroup.mjs → radio-group.js} +3 -0
- package/dist/runtime/theme/scroll-area.d.ts +73 -0
- package/dist/runtime/theme/{scrollArea.mjs → scroll-area.js} +2 -2
- package/dist/runtime/theme/select.d.ts +95 -99
- package/dist/runtime/theme/{select.mjs → select.js} +22 -17
- package/dist/runtime/theme/separator.d.ts +95 -0
- package/dist/runtime/theme/separator.js +53 -0
- package/dist/runtime/theme/slider.d.ts +4 -1
- package/dist/runtime/theme/{slider.mjs → slider.js} +6 -3
- package/dist/runtime/theme/switch.d.ts +4 -1
- package/dist/runtime/theme/{switch.mjs → switch.js} +5 -2
- package/dist/runtime/theme/table.d.ts +89 -0
- package/dist/runtime/theme/table.js +35 -0
- package/dist/runtime/theme/tabs.d.ts +72 -52
- package/dist/runtime/theme/{tabs.mjs → tabs.js} +15 -12
- package/dist/runtime/theme/textarea.d.ts +46 -37
- package/dist/runtime/theme/{textarea.mjs → textarea.js} +14 -11
- package/dist/runtime/theme/toast.d.ts +45 -7
- package/dist/runtime/theme/{toast.mjs → toast.js} +12 -7
- package/dist/runtime/theme/toaster.d.ts +89 -25
- package/dist/runtime/theme/{toaster.mjs → toaster.js} +5 -0
- package/dist/runtime/theme/tooltip.d.ts +20 -7
- package/dist/runtime/theme/{tooltip.mjs → tooltip.js} +2 -2
- package/dist/runtime/types/components.d.ts +7 -1
- package/dist/runtime/types/index.d.ts +4 -4
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/types/utils.d.ts +1 -1
- package/dist/runtime/utils/index.d.ts +3 -3
- package/dist/runtime/utils/{index.mjs → index.js} +3 -3
- package/dist/runtime/utils/link.d.ts +22 -7
- package/dist/runtime/utils/link.js +30 -0
- package/dist/runtime/utils/styler.d.ts +2 -2
- package/dist/runtime/vue/stubs.d.ts +9 -0
- package/dist/runtime/vue/stubs.js +16 -0
- package/dist/shared/ui.d1728164.mjs +4 -0
- package/dist/shared/ui.d1728164.mjs.map +1 -0
- package/dist/types.d.mts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/{unocss-preset.d.ts → unocss.d.mts} +10 -15
- package/dist/{unocss-preset.d.mts → unocss.d.ts} +10 -15
- package/dist/{unocss-preset.mjs → unocss.mjs} +53 -21
- package/dist/unocss.mjs.map +1 -0
- package/dist/unplugin.d.mts +4 -3
- package/dist/unplugin.d.ts +4 -3
- package/dist/unplugin.mjs +49 -5
- package/dist/unplugin.mjs.map +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.mjs +7 -5
- package/dist/vite.mjs.map +1 -1
- package/package.json +59 -45
- package/dist/index.d.ts +0 -26
- package/dist/index.mjs +0 -26
- package/dist/nuxt.mjs.map +0 -1
- package/dist/runtime/theme/app.mjs +0 -10
- package/dist/runtime/theme/button.mjs +0 -143
- package/dist/runtime/theme/card.mjs +0 -14
- package/dist/runtime/theme/index.mjs +0 -24
- package/dist/runtime/theme/input.mjs +0 -146
- package/dist/runtime/theme/scrollArea.d.ts +0 -51
- package/dist/runtime/types/index.mjs +0 -2
- package/dist/runtime/utils/link.mjs +0 -4
- package/dist/shared/ui.CzDyI29e.mjs +0 -8
- package/dist/shared/ui.CzDyI29e.mjs.map +0 -1
- package/dist/unocss-preset.mjs.map +0 -1
- /package/{LICENSE.md → LICENSE} +0 -0
- /package/dist/{nuxt.d.mts → module.d.mts} +0 -0
- /package/dist/{nuxt.d.ts → module.d.ts} +0 -0
- /package/dist/runtime/composables/{defineInjection.mjs → defineInjection.js} +0 -0
- /package/dist/runtime/theme/{popover.mjs → popover.js} +0 -0
- /package/dist/runtime/types/{components.mjs → components.js} +0 -0
- /package/dist/runtime/types/{utils.mjs → utils.js} +0 -0
- /package/dist/runtime/utils/{extend-theme.mjs → extend-theme.js} +0 -0
- /package/dist/runtime/utils/{styler.mjs → styler.js} +0 -0
|
@@ -17,9 +17,29 @@ declare const _default: {
|
|
|
17
17
|
content: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
size: {
|
|
21
|
+
fullscreen: {
|
|
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
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
39
|
+
transition: {
|
|
21
40
|
true: {
|
|
22
41
|
overlay: string;
|
|
42
|
+
content: string;
|
|
23
43
|
};
|
|
24
44
|
};
|
|
25
45
|
size: {
|
|
@@ -39,12 +59,18 @@ declare const _default: {
|
|
|
39
59
|
content: string;
|
|
40
60
|
};
|
|
41
61
|
};
|
|
62
|
+
}, {
|
|
63
|
+
overlay: string;
|
|
64
|
+
content: string;
|
|
65
|
+
header: string;
|
|
66
|
+
body: string;
|
|
67
|
+
footer: string;
|
|
68
|
+
title: string;
|
|
69
|
+
description: string;
|
|
70
|
+
close: string;
|
|
71
|
+
}, undefined>;
|
|
72
|
+
defaultVariants: {
|
|
73
|
+
size: "sm";
|
|
42
74
|
};
|
|
43
|
-
compoundVariants: {
|
|
44
|
-
size: ("sm" | "md" | "lg" | "xl")[];
|
|
45
|
-
class: {
|
|
46
|
-
content: string[];
|
|
47
|
-
};
|
|
48
|
-
}[];
|
|
49
75
|
};
|
|
50
76
|
export default _default;
|
|
@@ -3,8 +3,8 @@ export default ct(
|
|
|
3
3
|
/* @unocss-include */
|
|
4
4
|
{
|
|
5
5
|
slots: {
|
|
6
|
-
overlay: "fixed inset-0 bg-
|
|
7
|
-
content: "fixed bg-ui-
|
|
6
|
+
overlay: "fixed inset-0 bg-black/40",
|
|
7
|
+
content: "fixed bg-ui-cx divide-y divide-ui-cb/10 flex flex-col focus:outline-none",
|
|
8
8
|
header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
|
|
9
9
|
body: "flex-1 overflow-y-auto p-4 sm:p-6 empty:hidden",
|
|
10
10
|
footer: "flex items-center gap-1.5 p-4 sm:px-6",
|
|
@@ -19,11 +19,6 @@ export default ct(
|
|
|
19
19
|
content: "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
blur: {
|
|
23
|
-
true: {
|
|
24
|
-
overlay: "backdrop-blur-sm"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
22
|
size: {
|
|
28
23
|
fullscreen: {
|
|
29
24
|
content: "inset-0"
|
|
@@ -47,11 +42,14 @@ export default ct(
|
|
|
47
42
|
size: ["sm", "md", "lg", "xl"],
|
|
48
43
|
class: {
|
|
49
44
|
content: [
|
|
50
|
-
"bottom-4 left-[50%] translate-x-[-50%] h-auto max-w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] ring ring-ui-
|
|
51
|
-
"sm:bottom-auto sm:top-[50%] sm:translate-y-[-50%]
|
|
45
|
+
"bottom-4 left-[50%] translate-x-[-50%] h-auto max-w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] rounded-ui-box shadow-sm shadow-ui-cb/10 ring ring-ui-cb/10",
|
|
46
|
+
"sm:bottom-auto sm:top-[50%] sm:translate-y-[-50%]"
|
|
52
47
|
]
|
|
53
48
|
}
|
|
54
49
|
}
|
|
55
|
-
]
|
|
50
|
+
],
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
size: "sm"
|
|
53
|
+
}
|
|
56
54
|
}
|
|
57
55
|
);
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: undefined;
|
|
3
|
+
slots: {
|
|
4
|
+
root: string;
|
|
5
|
+
list: string;
|
|
6
|
+
item: string;
|
|
7
|
+
ellipsis: string;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
variants: {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
[key: string]: "" | {
|
|
13
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
14
|
+
item?: import("@byyuurin/ui-kit").ClassValue;
|
|
15
|
+
label?: import("@byyuurin/ui-kit").ClassValue;
|
|
16
|
+
list?: import("@byyuurin/ui-kit").ClassValue;
|
|
17
|
+
ellipsis?: import("@byyuurin/ui-kit").ClassValue;
|
|
18
|
+
} | null;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
22
|
+
[key: string]: {
|
|
23
|
+
[key: string]: "" | {
|
|
24
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
25
|
+
item?: import("@byyuurin/ui-kit").ClassValue;
|
|
26
|
+
label?: import("@byyuurin/ui-kit").ClassValue;
|
|
27
|
+
list?: import("@byyuurin/ui-kit").ClassValue;
|
|
28
|
+
ellipsis?: import("@byyuurin/ui-kit").ClassValue;
|
|
29
|
+
} | null;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
root: string;
|
|
33
|
+
list: string;
|
|
34
|
+
item: string;
|
|
35
|
+
ellipsis: string;
|
|
36
|
+
label: string;
|
|
37
|
+
}, undefined>;
|
|
38
|
+
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
39
|
+
[key: string]: {
|
|
40
|
+
[key: string]: "" | {
|
|
41
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
42
|
+
item?: import("@byyuurin/ui-kit").ClassValue;
|
|
43
|
+
label?: import("@byyuurin/ui-kit").ClassValue;
|
|
44
|
+
list?: import("@byyuurin/ui-kit").ClassValue;
|
|
45
|
+
ellipsis?: import("@byyuurin/ui-kit").ClassValue;
|
|
46
|
+
} | null;
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
root: string;
|
|
50
|
+
list: string;
|
|
51
|
+
item: string;
|
|
52
|
+
ellipsis: string;
|
|
53
|
+
label: string;
|
|
54
|
+
}>;
|
|
55
|
+
};
|
|
56
|
+
export default _default;
|
|
@@ -47,51 +47,54 @@ declare const _default: {
|
|
|
47
47
|
true: "";
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
|
-
compoundVariants: ({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
50
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
51
|
+
size: {
|
|
52
|
+
xs: {
|
|
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
|
+
};
|
|
64
67
|
};
|
|
65
|
-
variant
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
variant: {
|
|
69
|
+
outline: {
|
|
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
|
+
};
|
|
73
84
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
underline?: undefined;
|
|
77
|
-
} | {
|
|
78
|
-
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
79
|
-
highlight: true;
|
|
80
|
-
class: {
|
|
81
|
-
container: string;
|
|
82
|
-
base?: undefined;
|
|
85
|
+
underline: {
|
|
86
|
+
true: "";
|
|
83
87
|
};
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
} | {
|
|
87
|
-
variant: "outline"[];
|
|
88
|
-
highlight: true;
|
|
89
|
-
class: {
|
|
90
|
-
container: string;
|
|
91
|
-
base?: undefined;
|
|
88
|
+
highlight: {
|
|
89
|
+
true: "";
|
|
92
90
|
};
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
91
|
+
}, {
|
|
92
|
+
root: string;
|
|
93
|
+
container: string;
|
|
94
|
+
base: string;
|
|
95
|
+
}, undefined>;
|
|
96
|
+
defaultVariants: {
|
|
97
|
+
size: "md";
|
|
98
|
+
};
|
|
96
99
|
};
|
|
97
100
|
export default _default;
|
|
@@ -28,29 +28,29 @@ export default ct(
|
|
|
28
28
|
variant: {
|
|
29
29
|
"outline": {
|
|
30
30
|
container: [
|
|
31
|
-
"color-ui-cb/80 bg-ui-
|
|
31
|
+
"color-ui-cb/80 bg-ui-cx ring ring-inset ring-ui-cb/30",
|
|
32
32
|
"focus-within:ring-2 focus-within:ring-ui-cb/50",
|
|
33
33
|
"aria-disabled:ring-ui-cb/80 hover:aria-disabled:ring-ui-cb/80"
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"soft": {
|
|
37
37
|
container: [
|
|
38
|
-
"color-ui-cb/80 bg-ui-cb/4",
|
|
39
|
-
"hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
|
|
40
|
-
"aria-disabled:color-ui-content/80 aria-disabled:bg-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-ui-fill/5"
|
|
38
|
+
"color-ui-cb/80 bg-soft-ui-cb/4",
|
|
39
|
+
"hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
|
|
40
|
+
"aria-disabled:color-ui-content/80 aria-disabled:bg-soft-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-soft-ui-fill/5"
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"soft-outline": {
|
|
44
44
|
container: [
|
|
45
|
-
"color-ui-cb/80 bg-ui-cb/4 ring ring-inset ring-ui-cb/
|
|
46
|
-
"hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
|
|
47
|
-
"aria-disabled:color-ui-content/80 aria-disabled:bg-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-ui-fill/5"
|
|
45
|
+
"color-ui-cb/80 bg-soft-ui-cb/4 ring ring-inset ring-ui-cb/30",
|
|
46
|
+
"hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
|
|
47
|
+
"aria-disabled:color-ui-content/80 aria-disabled:bg-soft-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-soft-ui-fill/5"
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"ghost": {
|
|
51
51
|
container: [
|
|
52
52
|
"color-ui-cb/80 bg-transparent",
|
|
53
|
-
"hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
|
|
53
|
+
"hover:bg-soft-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-soft-ui-cb/8 focus-within:color-ui-cb/85",
|
|
54
54
|
"aria-disabled:color-ui-fill/80 aria-disabled:bg-transparent hover:aria-disabled:color-ui-fill/80 hover:aria-disabled:bg-transparent"
|
|
55
55
|
]
|
|
56
56
|
},
|
|
@@ -72,8 +72,8 @@ export default ct(
|
|
|
72
72
|
underline: true,
|
|
73
73
|
class: {
|
|
74
74
|
container: [
|
|
75
|
-
"relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-ui-cb/40",
|
|
76
|
-
"focus-within:after:h-2px focus-within:after:bg-ui-fill/60"
|
|
75
|
+
"relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-soft-ui-cb/40",
|
|
76
|
+
"focus-within:after:h-2px focus-within:after:bg-soft-ui-fill/60"
|
|
77
77
|
]
|
|
78
78
|
}
|
|
79
79
|
},
|
|
@@ -103,6 +103,9 @@ export default ct(
|
|
|
103
103
|
container: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80"
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
]
|
|
106
|
+
],
|
|
107
|
+
defaultVariants: {
|
|
108
|
+
size: "md"
|
|
109
|
+
}
|
|
107
110
|
}
|
|
108
111
|
);
|
|
@@ -7,21 +7,32 @@ declare const _default: {
|
|
|
7
7
|
variants: {
|
|
8
8
|
[key: string]: {
|
|
9
9
|
[key: string]: "" | {
|
|
10
|
-
content?: import("@byyuurin/ui-kit
|
|
11
|
-
arrow?: import("@byyuurin/ui-kit
|
|
10
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
11
|
+
arrow?: import("@byyuurin/ui-kit").ClassValue;
|
|
12
12
|
} | null;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
compoundVariants: import("@byyuurin/ui-kit
|
|
15
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
16
16
|
[key: string]: {
|
|
17
17
|
[key: string]: "" | {
|
|
18
|
-
content?: import("@byyuurin/ui-kit
|
|
19
|
-
arrow?: import("@byyuurin/ui-kit
|
|
18
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
19
|
+
arrow?: import("@byyuurin/ui-kit").ClassValue;
|
|
20
20
|
} | null;
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
23
|
content: string[];
|
|
24
24
|
arrow: string;
|
|
25
25
|
}, undefined>;
|
|
26
|
+
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
27
|
+
[key: string]: {
|
|
28
|
+
[key: string]: "" | {
|
|
29
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
30
|
+
arrow?: import("@byyuurin/ui-kit").ClassValue;
|
|
31
|
+
} | null;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
content: string[];
|
|
35
|
+
arrow: string;
|
|
36
|
+
}>;
|
|
26
37
|
};
|
|
27
38
|
export default _default;
|
|
@@ -52,7 +52,7 @@ declare const _default: {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
compoundVariants: import("@byyuurin/ui-kit
|
|
55
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
56
56
|
orientation: {
|
|
57
57
|
horizontal: {
|
|
58
58
|
fieldset: string;
|
|
@@ -103,5 +103,8 @@ declare const _default: {
|
|
|
103
103
|
label: string;
|
|
104
104
|
description: string;
|
|
105
105
|
}, undefined>;
|
|
106
|
+
defaultVariants: {
|
|
107
|
+
size: "md";
|
|
108
|
+
};
|
|
106
109
|
};
|
|
107
110
|
export default _default;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { TransitionGroupProps } from 'vue';
|
|
2
|
+
export declare const transitionProps: TransitionGroupProps;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
base: undefined;
|
|
5
|
+
slots: {
|
|
6
|
+
/** Contains all the parts of a scroll area. */
|
|
7
|
+
root: string;
|
|
8
|
+
/** The viewport area of the scroll area. */
|
|
9
|
+
viewport: string;
|
|
10
|
+
/** The vertical and horizontal scrollbar. */
|
|
11
|
+
scrollbar: string[];
|
|
12
|
+
/** The thumb to be used in `ScrollAreaScrollbar`. */
|
|
13
|
+
thumb: string[];
|
|
14
|
+
/** The corner where both vertical and horizontal scrollbars meet. */
|
|
15
|
+
corner: string;
|
|
16
|
+
};
|
|
17
|
+
variants: {
|
|
18
|
+
[key: string]: {
|
|
19
|
+
[key: string]: "" | {
|
|
20
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
21
|
+
viewport?: import("@byyuurin/ui-kit").ClassValue;
|
|
22
|
+
corner?: import("@byyuurin/ui-kit").ClassValue;
|
|
23
|
+
scrollbar?: import("@byyuurin/ui-kit").ClassValue;
|
|
24
|
+
thumb?: import("@byyuurin/ui-kit").ClassValue;
|
|
25
|
+
} | null;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
29
|
+
[key: string]: {
|
|
30
|
+
[key: string]: "" | {
|
|
31
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
32
|
+
viewport?: import("@byyuurin/ui-kit").ClassValue;
|
|
33
|
+
corner?: import("@byyuurin/ui-kit").ClassValue;
|
|
34
|
+
scrollbar?: import("@byyuurin/ui-kit").ClassValue;
|
|
35
|
+
thumb?: import("@byyuurin/ui-kit").ClassValue;
|
|
36
|
+
} | null;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
/** Contains all the parts of a scroll area. */
|
|
40
|
+
root: string;
|
|
41
|
+
/** The viewport area of the scroll area. */
|
|
42
|
+
viewport: string;
|
|
43
|
+
/** The vertical and horizontal scrollbar. */
|
|
44
|
+
scrollbar: string[];
|
|
45
|
+
/** The thumb to be used in `ScrollAreaScrollbar`. */
|
|
46
|
+
thumb: string[];
|
|
47
|
+
/** The corner where both vertical and horizontal scrollbars meet. */
|
|
48
|
+
corner: string;
|
|
49
|
+
}, undefined>;
|
|
50
|
+
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
51
|
+
[key: string]: {
|
|
52
|
+
[key: string]: "" | {
|
|
53
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
54
|
+
viewport?: import("@byyuurin/ui-kit").ClassValue;
|
|
55
|
+
corner?: import("@byyuurin/ui-kit").ClassValue;
|
|
56
|
+
scrollbar?: import("@byyuurin/ui-kit").ClassValue;
|
|
57
|
+
thumb?: import("@byyuurin/ui-kit").ClassValue;
|
|
58
|
+
} | null;
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
/** Contains all the parts of a scroll area. */
|
|
62
|
+
root: string;
|
|
63
|
+
/** The viewport area of the scroll area. */
|
|
64
|
+
viewport: string;
|
|
65
|
+
/** The vertical and horizontal scrollbar. */
|
|
66
|
+
scrollbar: string[];
|
|
67
|
+
/** The thumb to be used in `ScrollAreaScrollbar`. */
|
|
68
|
+
thumb: string[];
|
|
69
|
+
/** The corner where both vertical and horizontal scrollbars meet. */
|
|
70
|
+
corner: string;
|
|
71
|
+
}>;
|
|
72
|
+
};
|
|
73
|
+
export default _default;
|
|
@@ -22,8 +22,8 @@ export default ct(
|
|
|
22
22
|
],
|
|
23
23
|
/** The thumb to be used in `ScrollAreaScrollbar`. */
|
|
24
24
|
thumb: [
|
|
25
|
-
"relative flex-1 bg-ui-cb/20 rounded-ui-base cursor-pointer transition-colors",
|
|
26
|
-
"hover:bg-ui-cb/30 active:bg-ui-cb/40",
|
|
25
|
+
"relative flex-1 bg-soft-ui-cb/20 rounded-ui-base cursor-pointer transition-colors",
|
|
26
|
+
"hover:bg-soft-ui-cb/30 active:bg-soft-ui-cb/40",
|
|
27
27
|
"before:content-empty before:absolute before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:w-full before:h-full before:min-w-10 before:min-h-10 "
|
|
28
28
|
],
|
|
29
29
|
/** The corner where both vertical and horizontal scrollbars meet. */
|
|
@@ -76,105 +76,101 @@ declare const _default: {
|
|
|
76
76
|
highlight: {
|
|
77
77
|
true: "";
|
|
78
78
|
};
|
|
79
|
+
groupOrientation: {
|
|
80
|
+
horizontal: {
|
|
81
|
+
base: string;
|
|
82
|
+
};
|
|
83
|
+
vertical: {
|
|
84
|
+
base: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
89
|
+
variant: {
|
|
90
|
+
outline: {
|
|
91
|
+
base: string[];
|
|
92
|
+
};
|
|
93
|
+
soft: {
|
|
94
|
+
base: string[];
|
|
95
|
+
};
|
|
96
|
+
'soft-outline': {
|
|
97
|
+
base: string[];
|
|
98
|
+
};
|
|
99
|
+
ghost: {
|
|
100
|
+
base: string[];
|
|
101
|
+
};
|
|
102
|
+
none: {
|
|
103
|
+
base: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
size: {
|
|
107
|
+
xs: {
|
|
108
|
+
base: string;
|
|
109
|
+
item: string;
|
|
110
|
+
};
|
|
111
|
+
sm: {
|
|
112
|
+
base: string;
|
|
113
|
+
item: string;
|
|
114
|
+
};
|
|
115
|
+
md: {
|
|
116
|
+
base: string;
|
|
117
|
+
item: string;
|
|
118
|
+
};
|
|
119
|
+
lg: {
|
|
120
|
+
base: string;
|
|
121
|
+
item: string;
|
|
122
|
+
};
|
|
123
|
+
xl: {
|
|
124
|
+
base: string;
|
|
125
|
+
item: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
prefix: {
|
|
129
|
+
true: "";
|
|
130
|
+
};
|
|
131
|
+
suffix: {
|
|
132
|
+
true: "";
|
|
133
|
+
};
|
|
134
|
+
loading: {
|
|
135
|
+
true: "";
|
|
136
|
+
};
|
|
137
|
+
underline: {
|
|
138
|
+
true: "";
|
|
139
|
+
};
|
|
140
|
+
highlight: {
|
|
141
|
+
true: "";
|
|
142
|
+
};
|
|
143
|
+
groupOrientation: {
|
|
144
|
+
horizontal: {
|
|
145
|
+
base: string;
|
|
146
|
+
};
|
|
147
|
+
vertical: {
|
|
148
|
+
base: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
}, {
|
|
152
|
+
base: string[];
|
|
153
|
+
value: string;
|
|
154
|
+
placeholder: string;
|
|
155
|
+
arrow: string;
|
|
156
|
+
content: string[];
|
|
157
|
+
viewport: string;
|
|
158
|
+
group: string;
|
|
159
|
+
empty: string;
|
|
160
|
+
label: string;
|
|
161
|
+
separator: string;
|
|
162
|
+
item: string[];
|
|
163
|
+
itemPrefixIcon: string;
|
|
164
|
+
itemSuffix: string;
|
|
165
|
+
itemSuffixIcon: string;
|
|
166
|
+
itemLabel: string;
|
|
167
|
+
prefix: string;
|
|
168
|
+
prefixIcon: string;
|
|
169
|
+
suffix: string;
|
|
170
|
+
suffixIcon: string;
|
|
171
|
+
}, undefined>;
|
|
172
|
+
defaultVariants: {
|
|
173
|
+
size: "md";
|
|
79
174
|
};
|
|
80
|
-
compoundVariants: ({
|
|
81
|
-
variant: ("soft" | "ghost" | "none")[];
|
|
82
|
-
highlight: false;
|
|
83
|
-
underline: true;
|
|
84
|
-
class: {
|
|
85
|
-
base: string[];
|
|
86
|
-
item?: undefined;
|
|
87
|
-
prefixIcon?: undefined;
|
|
88
|
-
suffixIcon?: undefined;
|
|
89
|
-
};
|
|
90
|
-
size?: undefined;
|
|
91
|
-
loading?: undefined;
|
|
92
|
-
prefix?: undefined;
|
|
93
|
-
suffix?: undefined;
|
|
94
|
-
} | {
|
|
95
|
-
size: ("xs" | "sm" | "md")[];
|
|
96
|
-
class: {
|
|
97
|
-
base: string;
|
|
98
|
-
item: string;
|
|
99
|
-
prefixIcon?: undefined;
|
|
100
|
-
suffixIcon?: undefined;
|
|
101
|
-
};
|
|
102
|
-
variant?: undefined;
|
|
103
|
-
highlight?: undefined;
|
|
104
|
-
underline?: undefined;
|
|
105
|
-
loading?: undefined;
|
|
106
|
-
prefix?: undefined;
|
|
107
|
-
suffix?: undefined;
|
|
108
|
-
} | {
|
|
109
|
-
size: ("lg" | "xl")[];
|
|
110
|
-
class: {
|
|
111
|
-
base: string;
|
|
112
|
-
item: string;
|
|
113
|
-
prefixIcon?: undefined;
|
|
114
|
-
suffixIcon?: undefined;
|
|
115
|
-
};
|
|
116
|
-
variant?: undefined;
|
|
117
|
-
highlight?: undefined;
|
|
118
|
-
underline?: undefined;
|
|
119
|
-
loading?: undefined;
|
|
120
|
-
prefix?: undefined;
|
|
121
|
-
suffix?: undefined;
|
|
122
|
-
} | {
|
|
123
|
-
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
124
|
-
highlight: true;
|
|
125
|
-
class: {
|
|
126
|
-
base: string;
|
|
127
|
-
item?: undefined;
|
|
128
|
-
prefixIcon?: undefined;
|
|
129
|
-
suffixIcon?: undefined;
|
|
130
|
-
};
|
|
131
|
-
underline?: undefined;
|
|
132
|
-
size?: undefined;
|
|
133
|
-
loading?: undefined;
|
|
134
|
-
prefix?: undefined;
|
|
135
|
-
suffix?: undefined;
|
|
136
|
-
} | {
|
|
137
|
-
variant: "outline"[];
|
|
138
|
-
highlight: true;
|
|
139
|
-
class: {
|
|
140
|
-
base: string;
|
|
141
|
-
item?: undefined;
|
|
142
|
-
prefixIcon?: undefined;
|
|
143
|
-
suffixIcon?: undefined;
|
|
144
|
-
};
|
|
145
|
-
underline?: undefined;
|
|
146
|
-
size?: undefined;
|
|
147
|
-
loading?: undefined;
|
|
148
|
-
prefix?: undefined;
|
|
149
|
-
suffix?: undefined;
|
|
150
|
-
} | {
|
|
151
|
-
loading: true;
|
|
152
|
-
prefix: true;
|
|
153
|
-
class: {
|
|
154
|
-
prefixIcon: string;
|
|
155
|
-
base?: undefined;
|
|
156
|
-
item?: undefined;
|
|
157
|
-
suffixIcon?: undefined;
|
|
158
|
-
};
|
|
159
|
-
variant?: undefined;
|
|
160
|
-
highlight?: undefined;
|
|
161
|
-
underline?: undefined;
|
|
162
|
-
size?: undefined;
|
|
163
|
-
suffix?: undefined;
|
|
164
|
-
} | {
|
|
165
|
-
loading: true;
|
|
166
|
-
prefix: false;
|
|
167
|
-
suffix: true;
|
|
168
|
-
class: {
|
|
169
|
-
suffixIcon: string;
|
|
170
|
-
base?: undefined;
|
|
171
|
-
item?: undefined;
|
|
172
|
-
prefixIcon?: undefined;
|
|
173
|
-
};
|
|
174
|
-
variant?: undefined;
|
|
175
|
-
highlight?: undefined;
|
|
176
|
-
underline?: undefined;
|
|
177
|
-
size?: undefined;
|
|
178
|
-
})[];
|
|
179
175
|
};
|
|
180
176
|
export default _default;
|