@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
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: undefined;
|
|
3
|
+
slots: {
|
|
4
|
+
root: string;
|
|
5
|
+
viewport: string;
|
|
6
|
+
container: string;
|
|
7
|
+
item: string;
|
|
8
|
+
controls: string;
|
|
9
|
+
arrows: string;
|
|
10
|
+
prev: string;
|
|
11
|
+
next: string;
|
|
12
|
+
dots: string;
|
|
13
|
+
dot: string;
|
|
14
|
+
};
|
|
15
|
+
variants: {
|
|
16
|
+
orientation: {
|
|
17
|
+
vertical: {
|
|
18
|
+
container: string;
|
|
19
|
+
item: string;
|
|
20
|
+
controls: string;
|
|
21
|
+
arrows: string;
|
|
22
|
+
dots: string;
|
|
23
|
+
prev: string;
|
|
24
|
+
next: string;
|
|
25
|
+
};
|
|
26
|
+
horizontal: {
|
|
27
|
+
container: string;
|
|
28
|
+
item: string;
|
|
29
|
+
prev: string;
|
|
30
|
+
next: string;
|
|
31
|
+
dots: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
active: {
|
|
35
|
+
true: {
|
|
36
|
+
dot: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
41
|
+
orientation: {
|
|
42
|
+
vertical: {
|
|
43
|
+
container: string;
|
|
44
|
+
item: string;
|
|
45
|
+
controls: string;
|
|
46
|
+
arrows: string;
|
|
47
|
+
dots: string;
|
|
48
|
+
prev: string;
|
|
49
|
+
next: string;
|
|
50
|
+
};
|
|
51
|
+
horizontal: {
|
|
52
|
+
container: string;
|
|
53
|
+
item: string;
|
|
54
|
+
prev: string;
|
|
55
|
+
next: string;
|
|
56
|
+
dots: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
active: {
|
|
60
|
+
true: {
|
|
61
|
+
dot: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}, {
|
|
65
|
+
root: string;
|
|
66
|
+
viewport: string;
|
|
67
|
+
container: string;
|
|
68
|
+
item: string;
|
|
69
|
+
controls: string;
|
|
70
|
+
arrows: string;
|
|
71
|
+
prev: string;
|
|
72
|
+
next: string;
|
|
73
|
+
dots: string;
|
|
74
|
+
dot: string;
|
|
75
|
+
}, undefined>;
|
|
76
|
+
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
77
|
+
orientation: {
|
|
78
|
+
vertical: {
|
|
79
|
+
container: string;
|
|
80
|
+
item: string;
|
|
81
|
+
controls: string;
|
|
82
|
+
arrows: string;
|
|
83
|
+
dots: string;
|
|
84
|
+
prev: string;
|
|
85
|
+
next: string;
|
|
86
|
+
};
|
|
87
|
+
horizontal: {
|
|
88
|
+
container: string;
|
|
89
|
+
item: string;
|
|
90
|
+
prev: string;
|
|
91
|
+
next: string;
|
|
92
|
+
dots: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
active: {
|
|
96
|
+
true: {
|
|
97
|
+
dot: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}, {
|
|
101
|
+
root: string;
|
|
102
|
+
viewport: string;
|
|
103
|
+
container: string;
|
|
104
|
+
item: string;
|
|
105
|
+
controls: string;
|
|
106
|
+
arrows: string;
|
|
107
|
+
prev: string;
|
|
108
|
+
next: string;
|
|
109
|
+
dots: string;
|
|
110
|
+
dot: string;
|
|
111
|
+
}>;
|
|
112
|
+
};
|
|
113
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
root: "relative focus:outline-none",
|
|
7
|
+
viewport: "overflow-hidden",
|
|
8
|
+
container: "flex items-start",
|
|
9
|
+
item: "min-w-0 shrink-0 basis-full",
|
|
10
|
+
controls: "",
|
|
11
|
+
arrows: "",
|
|
12
|
+
prev: "rounded-full",
|
|
13
|
+
next: "rounded-full",
|
|
14
|
+
dots: "flex flex-wrap items-center justify-center gap-3",
|
|
15
|
+
dot: "cursor-pointer size-3 bg-soft-ui-cb/10 rounded-full transition"
|
|
16
|
+
},
|
|
17
|
+
variants: {
|
|
18
|
+
orientation: {
|
|
19
|
+
vertical: {
|
|
20
|
+
container: "flex-col -mt-4",
|
|
21
|
+
item: "pt-4",
|
|
22
|
+
controls: "flex gap-4 justify-between py-2",
|
|
23
|
+
arrows: "flex gap-1 only-child:mx-auto",
|
|
24
|
+
dots: "only-child:mx-auto only-child:my-2",
|
|
25
|
+
prev: "rotate-90 rtl:-rotate-90",
|
|
26
|
+
next: "rotate-90 rtl:-rotate-90"
|
|
27
|
+
},
|
|
28
|
+
horizontal: {
|
|
29
|
+
container: "flex-row -ms-4",
|
|
30
|
+
item: "ps-4",
|
|
31
|
+
prev: "absolute -start-12 top-1/2 [translate:0_-50%]",
|
|
32
|
+
next: "absolute -end-12 top-1/2 [translate:0_-50%]",
|
|
33
|
+
dots: "absolute inset-x-0 -bottom-7"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
active: {
|
|
37
|
+
true: {
|
|
38
|
+
dot: "bg-soft-ui-content"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
);
|
|
@@ -41,7 +41,7 @@ declare const _default: {
|
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
-
compoundVariants: import("@byyuurin/ui-kit
|
|
44
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
45
45
|
size: {
|
|
46
46
|
xs: {
|
|
47
47
|
root: string;
|
|
@@ -81,5 +81,8 @@ declare const _default: {
|
|
|
81
81
|
label: string;
|
|
82
82
|
description: string;
|
|
83
83
|
}, undefined>;
|
|
84
|
+
defaultVariants: {
|
|
85
|
+
size: "md";
|
|
86
|
+
};
|
|
84
87
|
};
|
|
85
88
|
export default _default;
|
|
@@ -5,13 +5,13 @@ export default ct(
|
|
|
5
5
|
slots: {
|
|
6
6
|
root: "relative flex items-start",
|
|
7
7
|
base: [
|
|
8
|
-
"size-1.25em shrink-0 flex items-center justify-center rounded-ui-checkbox color-ui-
|
|
8
|
+
"size-1.25em shrink-0 flex items-center justify-center rounded-ui-checkbox color-ui-cx ring-2 ring-ui-content ring-inset bg-soft-ui-content",
|
|
9
9
|
"outline-none focus-visible:outline-ui-cb/80 focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
10
|
-
"aria-[checked=false]:ring-1 aria-[checked=false]:ring-ui-cb aria-[checked=false]:bg-ui-
|
|
10
|
+
"aria-[checked=false]:ring-1 aria-[checked=false]:ring-ui-cb aria-[checked=false]:bg-ui-cx"
|
|
11
11
|
],
|
|
12
|
-
container: "flex items-center h-1.25em",
|
|
12
|
+
container: "flex items-center h-1.25em overflow-hidden",
|
|
13
13
|
wrapper: "text-inherit ms-2",
|
|
14
|
-
icon: "color-ui-
|
|
14
|
+
icon: "color-ui-cx shrink-0 size-1em transition data-[state=unchecked]:translate-y-full",
|
|
15
15
|
label: "flex color-ui-cb after:content-empty",
|
|
16
16
|
description: "color-ui-cb/60"
|
|
17
17
|
},
|
|
@@ -46,6 +46,9 @@ export default ct(
|
|
|
46
46
|
label: "cursor-pointer"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
+
},
|
|
50
|
+
defaultVariants: {
|
|
51
|
+
size: "md"
|
|
49
52
|
}
|
|
50
53
|
}
|
|
51
54
|
);
|
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
11
11
|
solid: {
|
|
12
|
-
base: string
|
|
12
|
+
base: string;
|
|
13
13
|
};
|
|
14
14
|
outline: {
|
|
15
15
|
base: string;
|
|
@@ -38,19 +38,63 @@ declare const _default: {
|
|
|
38
38
|
base: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
+
groupOrientation: {
|
|
42
|
+
horizontal: {
|
|
43
|
+
base: string;
|
|
44
|
+
};
|
|
45
|
+
vertical: {
|
|
46
|
+
base: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
41
49
|
};
|
|
42
|
-
compoundVariants: ({
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
51
|
+
variant: {
|
|
52
|
+
solid: {
|
|
53
|
+
base: string;
|
|
54
|
+
};
|
|
55
|
+
outline: {
|
|
56
|
+
base: string;
|
|
57
|
+
};
|
|
58
|
+
soft: {
|
|
59
|
+
base: string;
|
|
60
|
+
};
|
|
61
|
+
'soft-outline': {
|
|
62
|
+
base: string;
|
|
63
|
+
};
|
|
47
64
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
65
|
+
size: {
|
|
66
|
+
xs: {
|
|
67
|
+
base: string;
|
|
68
|
+
};
|
|
69
|
+
sm: {
|
|
70
|
+
base: string;
|
|
71
|
+
};
|
|
72
|
+
md: {
|
|
73
|
+
base: string;
|
|
74
|
+
};
|
|
75
|
+
lg: {
|
|
76
|
+
base: string;
|
|
77
|
+
};
|
|
78
|
+
xl: {
|
|
79
|
+
base: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
groupOrientation: {
|
|
83
|
+
horizontal: {
|
|
84
|
+
base: string;
|
|
85
|
+
};
|
|
86
|
+
vertical: {
|
|
87
|
+
base: string;
|
|
88
|
+
};
|
|
53
89
|
};
|
|
54
|
-
}
|
|
90
|
+
}, {
|
|
91
|
+
base: string;
|
|
92
|
+
label: string;
|
|
93
|
+
prefixIcon: string;
|
|
94
|
+
suffixIcon: string;
|
|
95
|
+
}, undefined>;
|
|
96
|
+
defaultVariants: {
|
|
97
|
+
size: "md";
|
|
98
|
+
};
|
|
55
99
|
};
|
|
56
100
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
+
import { buttonGroupVariant } from "./button-group.js";
|
|
2
3
|
export default ct(
|
|
3
4
|
/* @unocss-include */
|
|
4
5
|
{
|
|
@@ -9,20 +10,19 @@ export default ct(
|
|
|
9
10
|
suffixIcon: "shrink-0 size-1.5em not-only-child:mr-1.5"
|
|
10
11
|
},
|
|
11
12
|
variants: {
|
|
13
|
+
...buttonGroupVariant,
|
|
12
14
|
variant: {
|
|
13
15
|
"solid": {
|
|
14
|
-
base:
|
|
15
|
-
"color-ui-c1 bg-ui-fill/90"
|
|
16
|
-
]
|
|
16
|
+
base: "color-ui-cx bg-soft-ui-fill/90"
|
|
17
17
|
},
|
|
18
18
|
"outline": {
|
|
19
|
-
base: "color-ui-fill bg-ui-
|
|
19
|
+
base: "color-ui-fill bg-ui-cx ring ring-inset ring-ui-fill/30"
|
|
20
20
|
},
|
|
21
21
|
"soft": {
|
|
22
|
-
base: "color-ui-content/80 bg-ui-fill/10"
|
|
22
|
+
base: "color-ui-content/80 bg-soft-ui-fill/10"
|
|
23
23
|
},
|
|
24
24
|
"soft-outline": {
|
|
25
|
-
base: "color-ui-content/80 bg-ui-fill/10 ring ring-inset ring-ui-fill/
|
|
25
|
+
base: "color-ui-content/80 bg-soft-ui-fill/10 ring ring-inset ring-ui-fill/30"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
size: {
|
|
@@ -58,6 +58,9 @@ export default ct(
|
|
|
58
58
|
label: "px-2"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
]
|
|
61
|
+
],
|
|
62
|
+
defaultVariants: {
|
|
63
|
+
size: "md"
|
|
64
|
+
}
|
|
62
65
|
}
|
|
63
66
|
);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: undefined;
|
|
3
|
+
slots: {
|
|
4
|
+
root: string;
|
|
5
|
+
content: string;
|
|
6
|
+
};
|
|
7
|
+
variants: {
|
|
8
|
+
[key: string]: {
|
|
9
|
+
[key: string]: "" | {
|
|
10
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
11
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
12
|
+
} | null;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
16
|
+
[key: string]: {
|
|
17
|
+
[key: string]: "" | {
|
|
18
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
19
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
20
|
+
} | null;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
root: string;
|
|
24
|
+
content: string;
|
|
25
|
+
}, undefined>;
|
|
26
|
+
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
27
|
+
[key: string]: {
|
|
28
|
+
[key: string]: "" | {
|
|
29
|
+
root?: import("@byyuurin/ui-kit").ClassValue;
|
|
30
|
+
content?: import("@byyuurin/ui-kit").ClassValue;
|
|
31
|
+
} | null;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
root: string;
|
|
35
|
+
content: string;
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
root: "",
|
|
7
|
+
content: "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-in] overflow-hidden"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
);
|
|
@@ -17,56 +17,94 @@ declare const _default: {
|
|
|
17
17
|
content: string;
|
|
18
18
|
handle: string;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
bottom: {
|
|
21
21
|
content: string;
|
|
22
22
|
handle: string;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
left: {
|
|
25
25
|
content: string;
|
|
26
26
|
handle: string;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
right: {
|
|
29
29
|
content: string;
|
|
30
30
|
handle: string;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
inset: {
|
|
34
34
|
true: {
|
|
35
|
-
|
|
35
|
+
content: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
full: {
|
|
39
|
-
true: "";
|
|
40
|
-
};
|
|
41
38
|
};
|
|
42
|
-
compoundVariants: ({
|
|
43
|
-
direction:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
40
|
+
direction: {
|
|
41
|
+
top: {
|
|
42
|
+
content: string;
|
|
43
|
+
handle: string;
|
|
44
|
+
};
|
|
45
|
+
bottom: {
|
|
46
|
+
content: string;
|
|
47
|
+
handle: string;
|
|
48
|
+
};
|
|
49
|
+
left: {
|
|
50
|
+
content: string;
|
|
51
|
+
handle: string;
|
|
52
|
+
};
|
|
53
|
+
right: {
|
|
54
|
+
content: string;
|
|
55
|
+
handle: string;
|
|
56
|
+
};
|
|
47
57
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
class: {
|
|
53
|
-
content: string;
|
|
54
|
-
handle?: undefined;
|
|
58
|
+
inset: {
|
|
59
|
+
true: {
|
|
60
|
+
content: string;
|
|
61
|
+
};
|
|
55
62
|
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
}, {
|
|
64
|
+
overlay: string;
|
|
65
|
+
content: string;
|
|
66
|
+
handle: string;
|
|
67
|
+
container: string;
|
|
68
|
+
header: string;
|
|
69
|
+
title: string;
|
|
70
|
+
description: string;
|
|
71
|
+
body: string;
|
|
72
|
+
footer: string;
|
|
73
|
+
}, undefined>;
|
|
74
|
+
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
75
|
+
direction: {
|
|
76
|
+
top: {
|
|
77
|
+
content: string;
|
|
78
|
+
handle: string;
|
|
79
|
+
};
|
|
80
|
+
bottom: {
|
|
81
|
+
content: string;
|
|
82
|
+
handle: string;
|
|
83
|
+
};
|
|
84
|
+
left: {
|
|
85
|
+
content: string;
|
|
86
|
+
handle: string;
|
|
87
|
+
};
|
|
88
|
+
right: {
|
|
89
|
+
content: string;
|
|
90
|
+
handle: string;
|
|
91
|
+
};
|
|
61
92
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
class: {
|
|
67
|
-
content: string;
|
|
68
|
-
handle?: undefined;
|
|
93
|
+
inset: {
|
|
94
|
+
true: {
|
|
95
|
+
content: string;
|
|
96
|
+
};
|
|
69
97
|
};
|
|
70
|
-
}
|
|
98
|
+
}, {
|
|
99
|
+
overlay: string;
|
|
100
|
+
content: string;
|
|
101
|
+
handle: string;
|
|
102
|
+
container: string;
|
|
103
|
+
header: string;
|
|
104
|
+
title: string;
|
|
105
|
+
description: string;
|
|
106
|
+
body: string;
|
|
107
|
+
footer: string;
|
|
108
|
+
}>;
|
|
71
109
|
};
|
|
72
110
|
export default _default;
|
|
@@ -3,9 +3,9 @@ export default ct(
|
|
|
3
3
|
/* @unocss-include */
|
|
4
4
|
{
|
|
5
5
|
slots: {
|
|
6
|
-
overlay: "fixed inset-0 bg-
|
|
7
|
-
content: "fixed bg-ui-
|
|
8
|
-
handle: "shrink-0 rounded-full bg-ui-cb/17.5",
|
|
6
|
+
overlay: "fixed inset-0 bg-black/40",
|
|
7
|
+
content: "fixed bg-ui-cx ring ring-ui-cb/5 flex focus:outline-none",
|
|
8
|
+
handle: "shrink-0 rounded-full bg-soft-ui-cb/17.5",
|
|
9
9
|
container: "w-full flex flex-col overflow-hidden overflow-y-auto",
|
|
10
10
|
header: "p-4 sm:px-6 sibling:pt-0",
|
|
11
11
|
title: "color-ui-cb text-xl font-semibold",
|
|
@@ -19,26 +19,23 @@ export default ct(
|
|
|
19
19
|
content: "top-0 mb-24 flex-col-reverse rounded-b-ui-box",
|
|
20
20
|
handle: "mb-4"
|
|
21
21
|
},
|
|
22
|
-
right: {
|
|
23
|
-
content: "right-4 flex-row rounded-l-ui-box",
|
|
24
|
-
handle: "ml-4"
|
|
25
|
-
},
|
|
26
22
|
bottom: {
|
|
27
23
|
content: "bottom-0 mt-24 flex-col rounded-t-ui-box",
|
|
28
24
|
handle: "mt-4"
|
|
29
25
|
},
|
|
30
26
|
left: {
|
|
31
|
-
content: "left-
|
|
27
|
+
content: "left-0 flex-row-reverse rounded-r-ui-box",
|
|
32
28
|
handle: "mr-4"
|
|
29
|
+
},
|
|
30
|
+
right: {
|
|
31
|
+
content: "right-0 flex-row rounded-l-ui-box",
|
|
32
|
+
handle: "ml-4"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
|
-
|
|
35
|
+
inset: {
|
|
36
36
|
true: {
|
|
37
|
-
|
|
37
|
+
content: "rounded-ui-box after:hidden"
|
|
38
38
|
}
|
|
39
|
-
},
|
|
40
|
-
full: {
|
|
41
|
-
true: ""
|
|
42
39
|
}
|
|
43
40
|
},
|
|
44
41
|
compoundVariants: [
|
|
@@ -50,24 +47,38 @@ export default ct(
|
|
|
50
47
|
}
|
|
51
48
|
},
|
|
52
49
|
{
|
|
53
|
-
direction: ["
|
|
54
|
-
|
|
50
|
+
direction: ["left", "right"],
|
|
51
|
+
class: {
|
|
52
|
+
content: "inset-y-0 w-auto max-w-[calc(100%-2rem)]",
|
|
53
|
+
handle: "h-12 w-1.5 my-auto"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
direction: ["top"],
|
|
58
|
+
inset: true,
|
|
55
59
|
class: {
|
|
56
|
-
content: "inset-x-4
|
|
60
|
+
content: "inset-x-4 top-4"
|
|
57
61
|
}
|
|
58
62
|
},
|
|
59
63
|
{
|
|
60
|
-
direction: ["
|
|
64
|
+
direction: ["bottom"],
|
|
65
|
+
inset: true,
|
|
61
66
|
class: {
|
|
62
|
-
content: "inset-
|
|
63
|
-
|
|
67
|
+
content: "inset-x-4 bottom-4"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
direction: ["left"],
|
|
72
|
+
inset: true,
|
|
73
|
+
class: {
|
|
74
|
+
content: "inset-y-4 left-4"
|
|
64
75
|
}
|
|
65
76
|
},
|
|
66
77
|
{
|
|
67
|
-
direction: ["right"
|
|
68
|
-
|
|
78
|
+
direction: ["right"],
|
|
79
|
+
inset: true,
|
|
69
80
|
class: {
|
|
70
|
-
content: "inset-y-4
|
|
81
|
+
content: "inset-y-4 right-4"
|
|
71
82
|
}
|
|
72
83
|
}
|
|
73
84
|
]
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
-
export { default as accordion } from './accordion';
|
|
2
|
-
export { default as alert } from './alert';
|
|
3
|
-
export { default as app } from './app';
|
|
4
|
-
export { default as badge } from './badge';
|
|
5
|
-
export { default as button } from './button';
|
|
6
|
-
export { default as
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
13
|
-
export { default as
|
|
14
|
-
export { default as
|
|
15
|
-
export { default as
|
|
16
|
-
export { default as
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
export { default as
|
|
22
|
-
export { default as
|
|
23
|
-
export { default as
|
|
24
|
-
export { default as
|
|
1
|
+
export { default as accordion } from './accordion.js';
|
|
2
|
+
export { default as alert } from './alert.js';
|
|
3
|
+
export { default as app } from './app.js';
|
|
4
|
+
export { default as badge } from './badge.js';
|
|
5
|
+
export { default as button } from './button.js';
|
|
6
|
+
export { default as buttonGroup } from './button-group.js';
|
|
7
|
+
export { default as card } from './card.js';
|
|
8
|
+
export { default as carousel } from './carousel.js';
|
|
9
|
+
export { default as checkbox } from './checkbox.js';
|
|
10
|
+
export { default as chip } from './chip.js';
|
|
11
|
+
export { default as collapsible } from './collapsible.js';
|
|
12
|
+
export { default as drawer } from './drawer.js';
|
|
13
|
+
export { default as input } from './input.js';
|
|
14
|
+
export { default as inputNumber } from './input-number.js';
|
|
15
|
+
export { default as link } from './link.js';
|
|
16
|
+
export { default as modal } from './modal.js';
|
|
17
|
+
export { default as pagination } from './pagination.js';
|
|
18
|
+
export { default as pinInput } from './pinInput.js';
|
|
19
|
+
export { default as popover } from './popover.js';
|
|
20
|
+
export { default as radioGroup } from './radio-group.js';
|
|
21
|
+
export { default as scrollArea } from './scroll-area.js';
|
|
22
|
+
export { default as select } from './select.js';
|
|
23
|
+
export { default as separator } from './separator.js';
|
|
24
|
+
export { default as slider } from './slider.js';
|
|
25
|
+
export { default as switch } from './switch.js';
|
|
26
|
+
export { default as table } from './table.js';
|
|
27
|
+
export { default as tabs } from './tabs.js';
|
|
28
|
+
export { default as textarea } from './textarea.js';
|
|
29
|
+
export { default as toast } from './toast.js';
|
|
30
|
+
export { default as toaster } from './toaster.js';
|
|
31
|
+
export { default as tooltip } from './tooltip.js';
|