@byyuurin/ui 0.0.6 → 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 +4 -5
- package/dist/module.cjs +5 -0
- package/dist/module.json +12 -0
- package/dist/{nuxt.mjs → module.mjs} +4 -4
- 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/Button.vue +10 -11
- package/dist/runtime/components/Card.vue +9 -6
- package/dist/runtime/components/Checkbox.vue +3 -3
- package/dist/runtime/components/Chip.vue +2 -2
- package/dist/runtime/components/Collapsible.vue +56 -0
- package/dist/runtime/components/Drawer.vue +4 -2
- package/dist/runtime/components/Input.vue +4 -4
- 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 +0 -1
- package/dist/runtime/components/Select.vue +4 -4
- package/dist/runtime/components/Separator.vue +63 -0
- package/dist/runtime/components/Switch.vue +3 -3
- package/dist/runtime/components/Table.vue +292 -0
- package/dist/runtime/components/Tabs.vue +17 -17
- package/dist/runtime/components/Toast.vue +1 -1
- package/dist/runtime/components/Toaster.vue +1 -35
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +1 -1
- 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 +3 -3
- package/dist/runtime/composables/{useTheme.mjs → useTheme.js} +3 -3
- package/dist/runtime/composables/useToast.d.ts +1 -1
- package/dist/runtime/index.d.ts +34 -0
- package/dist/runtime/index.js +34 -0
- package/dist/runtime/theme/accordion.d.ts +8 -8
- package/dist/runtime/theme/{accordion.mjs → accordion.js} +2 -2
- package/dist/runtime/theme/alert.d.ts +2 -2
- package/dist/runtime/theme/{alert.mjs → alert.js} +4 -4
- package/dist/runtime/theme/app.d.ts +3 -0
- package/dist/runtime/theme/{app.mjs → app.js} +4 -1
- package/dist/runtime/theme/badge.d.ts +45 -21
- package/dist/runtime/theme/{badge.mjs → badge.js} +2 -2
- package/dist/runtime/theme/button-group.d.ts +2 -2
- package/dist/runtime/theme/button.d.ts +57 -111
- package/dist/runtime/theme/button.js +164 -0
- package/dist/runtime/theme/card.d.ts +38 -38
- package/dist/runtime/theme/card.js +37 -0
- package/dist/runtime/theme/carousel.d.ts +2 -2
- package/dist/runtime/theme/{carousel.mjs → carousel.js} +2 -2
- package/dist/runtime/theme/checkbox.d.ts +1 -1
- package/dist/runtime/theme/{checkbox.mjs → checkbox.js} +3 -3
- package/dist/runtime/theme/chip.d.ts +45 -12
- package/dist/runtime/theme/{chip.mjs → chip.js} +5 -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 +43 -43
- package/dist/runtime/theme/{drawer.mjs → drawer.js} +33 -22
- package/dist/runtime/theme/index.d.ts +31 -27
- 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 +71 -99
- package/dist/runtime/theme/{input.mjs → input.js} +14 -14
- package/dist/runtime/theme/link.d.ts +2 -2
- package/dist/runtime/theme/{link.mjs → link.js} +1 -1
- package/dist/runtime/theme/modal.d.ts +31 -8
- package/dist/runtime/theme/{modal.mjs → modal.js} +4 -9
- package/dist/runtime/theme/pagination.d.ts +17 -17
- package/dist/runtime/theme/pinInput.d.ts +42 -42
- package/dist/runtime/theme/{pinInput.mjs → pinInput.js} +10 -10
- package/dist/runtime/theme/popover.d.ts +8 -8
- package/dist/runtime/theme/{popover.mjs → popover.js} +1 -1
- package/dist/runtime/theme/radio-group.d.ts +1 -1
- package/dist/runtime/theme/{radio-group.mjs → radio-group.js} +1 -1
- package/dist/runtime/theme/scroll-area.d.ts +17 -17
- package/dist/runtime/theme/{scroll-area.mjs → scroll-area.js} +2 -2
- package/dist/runtime/theme/select.d.ts +84 -99
- package/dist/runtime/theme/{select.mjs → select.js} +17 -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 +1 -1
- package/dist/runtime/theme/{slider.mjs → slider.js} +3 -3
- package/dist/runtime/theme/switch.d.ts +1 -1
- package/dist/runtime/theme/{switch.mjs → switch.js} +2 -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 +69 -52
- package/dist/runtime/theme/{tabs.mjs → tabs.js} +11 -11
- package/dist/runtime/theme/textarea.d.ts +43 -37
- package/dist/runtime/theme/{textarea.mjs → textarea.js} +10 -10
- package/dist/runtime/theme/toast.d.ts +2 -2
- package/dist/runtime/theme/{toast.mjs → toast.js} +1 -1
- package/dist/runtime/theme/toaster.d.ts +42 -27
- package/dist/runtime/theme/tooltip.d.ts +11 -11
- package/dist/runtime/theme/tooltip.js +11 -0
- package/dist/runtime/types/components.d.ts +31 -27
- package/dist/runtime/types/index.d.ts +4 -4
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/types/utils.js +0 -0
- 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 +1 -1
- package/dist/runtime/vue/stubs.d.ts +9 -0
- package/dist/runtime/vue/stubs.js +16 -0
- package/dist/shared/{ui.D4zm1r0C.mjs → ui.d1728164.mjs} +1 -1
- 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.d.mts +6 -11
- package/dist/unocss.d.ts +6 -11
- package/dist/unocss.mjs +40 -21
- package/dist/unocss.mjs.map +1 -1
- package/dist/unplugin.mjs +37 -1
- package/dist/unplugin.mjs.map +1 -1
- package/dist/vite.d.mts +0 -1
- package/dist/vite.d.ts +0 -1
- package/dist/vite.mjs +3 -1
- package/dist/vite.mjs.map +1 -1
- package/package.json +37 -36
- package/dist/index.d.ts +0 -29
- package/dist/index.mjs +0 -29
- package/dist/nuxt.mjs.map +0 -1
- package/dist/runtime/theme/button.mjs +0 -148
- package/dist/runtime/theme/card.mjs +0 -14
- package/dist/runtime/theme/index.mjs +0 -27
- package/dist/runtime/theme/tooltip.mjs +0 -11
- package/dist/runtime/types/components.mjs +0 -27
- package/dist/runtime/types/index.mjs +0 -2
- package/dist/runtime/utils/link.mjs +0 -4
- package/dist/shared/ui.D4zm1r0C.mjs.map +0 -1
- /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/composables/{useToast.mjs → useToast.js} +0 -0
- /package/dist/runtime/theme/{button-group.mjs → button-group.js} +0 -0
- /package/dist/runtime/theme/{pagination.mjs → pagination.js} +0 -0
- /package/dist/runtime/theme/{toaster.mjs → toaster.js} +0 -0
- /package/dist/runtime/types/{utils.mjs → components.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
|
@@ -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-
|
|
10
|
+
"aria-[checked=false]:ring-1 aria-[checked=false]:ring-ui-cb aria-[checked=false]:bg-ui-cx"
|
|
11
11
|
],
|
|
12
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
|
},
|
|
@@ -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;
|
|
@@ -47,19 +47,52 @@ declare const _default: {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
|
-
compoundVariants: ({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
+
};
|
|
64
|
+
};
|
|
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
|
+
};
|
|
55
81
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
82
|
+
groupOrientation: {
|
|
83
|
+
horizontal: {
|
|
84
|
+
base: string;
|
|
85
|
+
};
|
|
86
|
+
vertical: {
|
|
87
|
+
base: string;
|
|
88
|
+
};
|
|
61
89
|
};
|
|
62
|
-
}
|
|
90
|
+
}, {
|
|
91
|
+
base: string;
|
|
92
|
+
label: string;
|
|
93
|
+
prefixIcon: string;
|
|
94
|
+
suffixIcon: string;
|
|
95
|
+
}, undefined>;
|
|
63
96
|
defaultVariants: {
|
|
64
97
|
size: "md";
|
|
65
98
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
-
import { buttonGroupVariant } from "./button-group.
|
|
2
|
+
import { buttonGroupVariant } from "./button-group.js";
|
|
3
3
|
export default ct(
|
|
4
4
|
/* @unocss-include */
|
|
5
5
|
{
|
|
@@ -13,18 +13,16 @@ export default ct(
|
|
|
13
13
|
...buttonGroupVariant,
|
|
14
14
|
variant: {
|
|
15
15
|
"solid": {
|
|
16
|
-
base:
|
|
17
|
-
"color-ui-c1 bg-solid-ui-fill/90"
|
|
18
|
-
]
|
|
16
|
+
base: "color-ui-cx bg-soft-ui-fill/90"
|
|
19
17
|
},
|
|
20
18
|
"outline": {
|
|
21
|
-
base: "color-ui-fill bg-
|
|
19
|
+
base: "color-ui-fill bg-ui-cx ring ring-inset ring-ui-fill/30"
|
|
22
20
|
},
|
|
23
21
|
"soft": {
|
|
24
|
-
base: "color-ui-content/80 bg-
|
|
22
|
+
base: "color-ui-content/80 bg-soft-ui-fill/10"
|
|
25
23
|
},
|
|
26
24
|
"soft-outline": {
|
|
27
|
-
base: "color-ui-content/80 bg-
|
|
25
|
+
base: "color-ui-content/80 bg-soft-ui-fill/10 ring ring-inset ring-ui-fill/30"
|
|
28
26
|
}
|
|
29
27
|
},
|
|
30
28
|
size: {
|
|
@@ -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,67 +17,66 @@ 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: ("top" | "bottom")[];
|
|
44
|
-
class: {
|
|
45
|
-
content: string;
|
|
46
|
-
handle: string;
|
|
47
|
-
};
|
|
48
|
-
full?: undefined;
|
|
49
|
-
} | {
|
|
50
|
-
direction: ("top" | "bottom")[];
|
|
51
|
-
full: false;
|
|
52
|
-
class: {
|
|
53
|
-
content: string;
|
|
54
|
-
handle?: undefined;
|
|
55
|
-
};
|
|
56
|
-
} | {
|
|
57
|
-
direction: ("right" | "left")[];
|
|
58
|
-
class: {
|
|
59
|
-
content: string;
|
|
60
|
-
handle: string;
|
|
61
|
-
};
|
|
62
|
-
full?: undefined;
|
|
63
|
-
} | {
|
|
64
|
-
direction: ("right" | "left")[];
|
|
65
|
-
full: false;
|
|
66
|
-
class: {
|
|
67
|
-
content: string;
|
|
68
|
-
handle?: undefined;
|
|
69
|
-
};
|
|
70
|
-
})[];
|
|
71
|
-
defaultVariants: import("@byyuurin/ui-kit/index").CVDefaultVariants<{
|
|
39
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
72
40
|
direction: {
|
|
73
41
|
top: {
|
|
74
42
|
content: string;
|
|
75
43
|
handle: string;
|
|
76
44
|
};
|
|
45
|
+
bottom: {
|
|
46
|
+
content: string;
|
|
47
|
+
handle: string;
|
|
48
|
+
};
|
|
49
|
+
left: {
|
|
50
|
+
content: string;
|
|
51
|
+
handle: string;
|
|
52
|
+
};
|
|
77
53
|
right: {
|
|
78
54
|
content: string;
|
|
79
55
|
handle: string;
|
|
80
56
|
};
|
|
57
|
+
};
|
|
58
|
+
inset: {
|
|
59
|
+
true: {
|
|
60
|
+
content: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
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
|
+
};
|
|
81
80
|
bottom: {
|
|
82
81
|
content: string;
|
|
83
82
|
handle: string;
|
|
@@ -86,15 +85,16 @@ declare const _default: {
|
|
|
86
85
|
content: string;
|
|
87
86
|
handle: string;
|
|
88
87
|
};
|
|
88
|
+
right: {
|
|
89
|
+
content: string;
|
|
90
|
+
handle: string;
|
|
91
|
+
};
|
|
89
92
|
};
|
|
90
|
-
|
|
93
|
+
inset: {
|
|
91
94
|
true: {
|
|
92
|
-
|
|
95
|
+
content: string;
|
|
93
96
|
};
|
|
94
97
|
};
|
|
95
|
-
full: {
|
|
96
|
-
true: "";
|
|
97
|
-
};
|
|
98
98
|
}, {
|
|
99
99
|
overlay: string;
|
|
100
100
|
content: string;
|
|
@@ -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-
|
|
8
|
-
handle: "shrink-0 rounded-full bg-
|
|
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,27 +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 buttonGroup } from './button-group';
|
|
7
|
-
export { default as card } from './card';
|
|
8
|
-
export { default as carousel } from './carousel';
|
|
9
|
-
export { default as checkbox } from './checkbox';
|
|
10
|
-
export { default as chip } from './chip';
|
|
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
|
|
25
|
-
export { default as
|
|
26
|
-
export { default as
|
|
27
|
-
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';
|
|
@@ -0,0 +1,31 @@
|
|
|
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";
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: undefined;
|
|
3
|
+
slots: {
|
|
4
|
+
base: string;
|
|
5
|
+
input: string[];
|
|
6
|
+
increment: string;
|
|
7
|
+
decrement: string;
|
|
8
|
+
};
|
|
9
|
+
variants: {
|
|
10
|
+
size: {
|
|
11
|
+
xs: {
|
|
12
|
+
base: string;
|
|
13
|
+
};
|
|
14
|
+
sm: {
|
|
15
|
+
base: string;
|
|
16
|
+
};
|
|
17
|
+
md: {
|
|
18
|
+
base: string;
|
|
19
|
+
};
|
|
20
|
+
lg: {
|
|
21
|
+
base: string;
|
|
22
|
+
};
|
|
23
|
+
xl: {
|
|
24
|
+
base: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
variant: {
|
|
28
|
+
outline: {
|
|
29
|
+
base: string[];
|
|
30
|
+
};
|
|
31
|
+
soft: {
|
|
32
|
+
base: string[];
|
|
33
|
+
};
|
|
34
|
+
'soft-outline': {
|
|
35
|
+
base: string[];
|
|
36
|
+
};
|
|
37
|
+
ghost: {
|
|
38
|
+
base: string[];
|
|
39
|
+
};
|
|
40
|
+
none: {
|
|
41
|
+
base: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
true: {
|
|
46
|
+
increment: string;
|
|
47
|
+
decrement: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
orientation: {
|
|
51
|
+
horizontal: {
|
|
52
|
+
input: string;
|
|
53
|
+
increment: string;
|
|
54
|
+
decrement: string;
|
|
55
|
+
};
|
|
56
|
+
vertical: {
|
|
57
|
+
increment: string;
|
|
58
|
+
decrement: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
highlight: {
|
|
62
|
+
true: {
|
|
63
|
+
base: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
68
|
+
size: {
|
|
69
|
+
xs: {
|
|
70
|
+
base: string;
|
|
71
|
+
};
|
|
72
|
+
sm: {
|
|
73
|
+
base: string;
|
|
74
|
+
};
|
|
75
|
+
md: {
|
|
76
|
+
base: string;
|
|
77
|
+
};
|
|
78
|
+
lg: {
|
|
79
|
+
base: string;
|
|
80
|
+
};
|
|
81
|
+
xl: {
|
|
82
|
+
base: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
variant: {
|
|
86
|
+
outline: {
|
|
87
|
+
base: string[];
|
|
88
|
+
};
|
|
89
|
+
soft: {
|
|
90
|
+
base: string[];
|
|
91
|
+
};
|
|
92
|
+
'soft-outline': {
|
|
93
|
+
base: string[];
|
|
94
|
+
};
|
|
95
|
+
ghost: {
|
|
96
|
+
base: string[];
|
|
97
|
+
};
|
|
98
|
+
none: {
|
|
99
|
+
base: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
disabled: {
|
|
103
|
+
true: {
|
|
104
|
+
increment: string;
|
|
105
|
+
decrement: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
orientation: {
|
|
109
|
+
horizontal: {
|
|
110
|
+
input: string;
|
|
111
|
+
increment: string;
|
|
112
|
+
decrement: string;
|
|
113
|
+
};
|
|
114
|
+
vertical: {
|
|
115
|
+
increment: string;
|
|
116
|
+
decrement: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
highlight: {
|
|
120
|
+
true: {
|
|
121
|
+
base: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}, {
|
|
125
|
+
base: string;
|
|
126
|
+
input: string[];
|
|
127
|
+
increment: string;
|
|
128
|
+
decrement: string;
|
|
129
|
+
}, undefined>;
|
|
130
|
+
defaultVariants: {
|
|
131
|
+
size: "md";
|
|
132
|
+
variant: "outline";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
export default _default;
|