@byyuurin/ui 0.0.4 → 0.0.5
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 +11 -22
- package/dist/index.d.ts +25 -2
- package/dist/index.mjs +25 -2
- package/dist/nuxt.d.mts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.mjs +14 -10
- package/dist/nuxt.mjs.map +1 -0
- package/dist/runtime/components/Accordion.vue +1 -1
- package/dist/runtime/components/Alert.vue +120 -0
- package/dist/runtime/components/Badge.vue +71 -0
- package/dist/runtime/components/Button.vue +3 -2
- package/dist/runtime/components/Card.vue +4 -4
- package/dist/runtime/components/Checkbox.vue +1 -1
- package/dist/runtime/components/Chip.vue +59 -0
- package/dist/runtime/components/Drawer.vue +2 -2
- package/dist/runtime/components/Input.vue +2 -1
- package/dist/runtime/components/Link.vue +1 -1
- package/dist/runtime/components/Modal.vue +2 -2
- package/dist/runtime/components/PinInput.vue +86 -0
- package/dist/runtime/components/Popover.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/ScrollArea.vue +1 -1
- package/dist/runtime/components/Select.vue +2 -1
- package/dist/runtime/components/Slider.vue +97 -0
- package/dist/runtime/components/Switch.vue +1 -1
- package/dist/runtime/components/Tabs.vue +1 -1
- package/dist/runtime/components/Textarea.vue +2 -3
- package/dist/runtime/components/Toast.vue +1 -1
- package/dist/runtime/components/Toaster.vue +2 -1
- package/dist/runtime/components/Tooltip.vue +1 -1
- package/dist/runtime/theme/accordion.mjs +24 -21
- package/dist/runtime/theme/alert.d.ts +85 -0
- package/dist/runtime/theme/alert.mjs +47 -0
- package/dist/runtime/theme/app.mjs +1 -0
- package/dist/runtime/theme/badge.d.ts +79 -0
- package/dist/runtime/theme/badge.mjs +89 -0
- package/dist/runtime/theme/button.d.ts +4 -1
- package/dist/runtime/theme/button.mjs +131 -120
- package/dist/runtime/theme/card.d.ts +2 -2
- package/dist/runtime/theme/card.mjs +12 -9
- package/dist/runtime/theme/checkbox.mjs +45 -42
- package/dist/runtime/theme/chip.d.ts +56 -0
- package/dist/runtime/theme/chip.mjs +63 -0
- package/dist/runtime/theme/drawer.mjs +69 -66
- package/dist/runtime/theme/index.d.ts +5 -0
- package/dist/runtime/theme/index.mjs +5 -0
- package/dist/runtime/theme/input.d.ts +13 -5
- package/dist/runtime/theme/input.mjs +135 -122
- package/dist/runtime/theme/link.d.ts +1 -1
- package/dist/runtime/theme/link.mjs +23 -20
- package/dist/runtime/theme/modal.mjs +51 -48
- package/dist/runtime/theme/pinInput.d.ts +97 -0
- package/dist/runtime/theme/pinInput.mjs +108 -0
- package/dist/runtime/theme/popover.mjs +11 -8
- package/dist/runtime/theme/radioGroup.mjs +50 -47
- package/dist/runtime/theme/scrollArea.mjs +24 -21
- package/dist/runtime/theme/select.d.ts +5 -2
- package/dist/runtime/theme/select.mjs +156 -143
- package/dist/runtime/theme/slider.d.ts +73 -0
- package/dist/runtime/theme/slider.mjs +49 -0
- package/dist/runtime/theme/switch.mjs +66 -63
- package/dist/runtime/theme/tabs.d.ts +12 -2
- package/dist/runtime/theme/tabs.mjs +132 -113
- package/dist/runtime/theme/textarea.d.ts +5 -2
- package/dist/runtime/theme/textarea.mjs +103 -90
- package/dist/runtime/theme/toast.mjs +26 -23
- package/dist/runtime/theme/toaster.d.ts +2 -2
- package/dist/runtime/theme/toaster.mjs +84 -81
- package/dist/runtime/theme/tooltip.mjs +9 -6
- package/dist/runtime/types/components.d.ts +5 -0
- package/dist/runtime/types/index.d.ts +1 -3
- package/dist/runtime/utils/extend-theme.mjs +1 -1
- package/dist/runtime/utils/link.d.ts +1 -1
- package/dist/shared/ui.CzDyI29e.mjs +8 -0
- package/dist/shared/ui.CzDyI29e.mjs.map +1 -0
- package/dist/unocss-preset.mjs +44 -35
- package/dist/unocss-preset.mjs.map +1 -0
- package/dist/unplugin.d.mts +25 -0
- package/dist/unplugin.d.ts +25 -0
- package/dist/unplugin.mjs +64 -0
- package/dist/unplugin.mjs.map +1 -0
- package/dist/vite.d.mts +9 -0
- package/dist/vite.d.ts +9 -0
- package/dist/vite.mjs +14 -0
- package/dist/vite.mjs.map +1 -0
- package/package.json +17 -10
- package/dist/resolver.d.mts +0 -13
- package/dist/resolver.d.ts +0 -13
- package/dist/resolver.mjs +0 -21
- package/dist/runtime/components/index.d.ts +0 -20
- package/dist/runtime/components/index.mjs +0 -20
- package/dist/runtime/composables/index.d.ts +0 -5
- package/dist/runtime/composables/index.mjs +0 -5
- package/dist/shared/ui.Cmq14xN9.mjs +0 -25
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: undefined;
|
|
3
|
+
slots: {
|
|
4
|
+
root: string;
|
|
5
|
+
track: string[];
|
|
6
|
+
range: string;
|
|
7
|
+
thumb: string[];
|
|
8
|
+
};
|
|
9
|
+
variants: {
|
|
10
|
+
size: {
|
|
11
|
+
xs: {
|
|
12
|
+
root: string;
|
|
13
|
+
};
|
|
14
|
+
sm: {
|
|
15
|
+
root: string;
|
|
16
|
+
};
|
|
17
|
+
md: {
|
|
18
|
+
root: string;
|
|
19
|
+
};
|
|
20
|
+
lg: {
|
|
21
|
+
root: string;
|
|
22
|
+
};
|
|
23
|
+
xl: {
|
|
24
|
+
root: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
orientation: {
|
|
28
|
+
horizontal: {
|
|
29
|
+
root: string;
|
|
30
|
+
range: string;
|
|
31
|
+
};
|
|
32
|
+
vertical: {
|
|
33
|
+
root: string;
|
|
34
|
+
range: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
|
|
39
|
+
size: {
|
|
40
|
+
xs: {
|
|
41
|
+
root: string;
|
|
42
|
+
};
|
|
43
|
+
sm: {
|
|
44
|
+
root: string;
|
|
45
|
+
};
|
|
46
|
+
md: {
|
|
47
|
+
root: string;
|
|
48
|
+
};
|
|
49
|
+
lg: {
|
|
50
|
+
root: string;
|
|
51
|
+
};
|
|
52
|
+
xl: {
|
|
53
|
+
root: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
orientation: {
|
|
57
|
+
horizontal: {
|
|
58
|
+
root: string;
|
|
59
|
+
range: string;
|
|
60
|
+
};
|
|
61
|
+
vertical: {
|
|
62
|
+
root: string;
|
|
63
|
+
range: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
root: string;
|
|
68
|
+
track: string[];
|
|
69
|
+
range: string;
|
|
70
|
+
thumb: string[];
|
|
71
|
+
}, undefined>;
|
|
72
|
+
};
|
|
73
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
root: "relative flex items-center select-none touch-none aria-disabled:opacity-50",
|
|
7
|
+
track: [
|
|
8
|
+
"relative bg-ui-cb/10 overflow-hidden rounded-full flex-grow cursor-pointer",
|
|
9
|
+
"data-[disabled]:cursor-not-allowed",
|
|
10
|
+
"data-[orientation=horizontal]:h-0.6em data-[orientation=vertical]:w-0.6em"
|
|
11
|
+
],
|
|
12
|
+
range: "absolute rounded-full bg-ui-fill",
|
|
13
|
+
thumb: [
|
|
14
|
+
"size-1em rounded-full bg-ui-c1 ring-0.2em cursor-pointer focus-visible:outline-0.2em focus-visible:outline-offset-0.2em",
|
|
15
|
+
"data-[disabled]:cursor-not-allowed",
|
|
16
|
+
"ring-ui-fill outline-none focus-visible:outline-ui-fill/50"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
variants: {
|
|
20
|
+
size: {
|
|
21
|
+
xs: {
|
|
22
|
+
root: "text-xs"
|
|
23
|
+
},
|
|
24
|
+
sm: {
|
|
25
|
+
root: "text-sm"
|
|
26
|
+
},
|
|
27
|
+
md: {
|
|
28
|
+
root: "text-base"
|
|
29
|
+
},
|
|
30
|
+
lg: {
|
|
31
|
+
root: "text-lg"
|
|
32
|
+
},
|
|
33
|
+
xl: {
|
|
34
|
+
root: "text-xl"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
orientation: {
|
|
38
|
+
horizontal: {
|
|
39
|
+
root: "w-full",
|
|
40
|
+
range: "h-full"
|
|
41
|
+
},
|
|
42
|
+
vertical: {
|
|
43
|
+
root: "flex-col h-full",
|
|
44
|
+
range: "w-full"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
);
|
|
@@ -1,72 +1,75 @@
|
|
|
1
1
|
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
-
export default ct(
|
|
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
|
-
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
root: "relative flex items-start",
|
|
7
|
+
base: [
|
|
8
|
+
"inline-flex items-center shrink-0 rounded-ui-switch border-2 border-transparent transition-colors duration-200",
|
|
9
|
+
"outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-cb/80",
|
|
10
|
+
"data-[state=unchecked]:bg-ui-cb/10 data-[state=checked]:bg-ui-fill/80",
|
|
11
|
+
"w-2.7em"
|
|
12
|
+
],
|
|
13
|
+
container: "flex items-center h-1.5em",
|
|
14
|
+
thumb: [
|
|
15
|
+
"group pointer-events-none rounded-ui-switch size-1.25em bg-ui-c1 shadow-lg ring-0 transition-transform duration-200 flex items-center justify-center",
|
|
16
|
+
"data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:translate-x-0 data-[state=checked]:translate-x-1.25em data-[state=checked]:rtl:-translate-x-1.25em"
|
|
17
|
+
],
|
|
18
|
+
icon: [
|
|
19
|
+
"absolute shrink-0 opacity-0 size-10/12 transition-[color,opacity] duration-200",
|
|
20
|
+
"group-data-[state=unchecked]:color-ui-cb/50 group-data-[state=checked]:color-ui-base"
|
|
21
|
+
],
|
|
22
|
+
wrapper: "ms-2",
|
|
23
|
+
label: "flex color-ui-cb/80",
|
|
24
|
+
description: "color-ui-cb/60"
|
|
25
|
+
},
|
|
26
|
+
variants: {
|
|
27
|
+
size: {
|
|
28
|
+
xs: {
|
|
29
|
+
root: "text-xs"
|
|
30
|
+
},
|
|
31
|
+
sm: {
|
|
32
|
+
root: "text-sm"
|
|
33
|
+
},
|
|
34
|
+
md: {
|
|
35
|
+
root: "text-base"
|
|
36
|
+
},
|
|
37
|
+
lg: {
|
|
38
|
+
root: "text-lg"
|
|
39
|
+
},
|
|
40
|
+
xl: {
|
|
41
|
+
root: "text-xl"
|
|
42
|
+
}
|
|
28
43
|
},
|
|
29
|
-
|
|
30
|
-
|
|
44
|
+
checked: {
|
|
45
|
+
true: {
|
|
46
|
+
icon: "group-data-[state=checked]:opacity-100"
|
|
47
|
+
}
|
|
31
48
|
},
|
|
32
|
-
|
|
33
|
-
|
|
49
|
+
unchecked: {
|
|
50
|
+
true: {
|
|
51
|
+
icon: "group-data-[state=unchecked]:opacity-100"
|
|
52
|
+
}
|
|
34
53
|
},
|
|
35
|
-
|
|
36
|
-
|
|
54
|
+
loading: {
|
|
55
|
+
true: {
|
|
56
|
+
root: "opacity-50 after:content-empty after:absolute after:inset-0 after:cursor-not-allowed",
|
|
57
|
+
icon: "animate-spin"
|
|
58
|
+
}
|
|
37
59
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
checked: {
|
|
43
|
-
true: {
|
|
44
|
-
icon: "group-data-[state=checked]:opacity-100"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
unchecked: {
|
|
48
|
-
true: {
|
|
49
|
-
icon: "group-data-[state=unchecked]:opacity-100"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
loading: {
|
|
53
|
-
true: {
|
|
54
|
-
root: "opacity-50 after:content-empty after:absolute after:inset-0 after:cursor-not-allowed",
|
|
55
|
-
icon: "animate-spin"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
required: {
|
|
59
|
-
true: {
|
|
60
|
-
label: `after:content-['*'] after:ms-0.5`
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
disabled: {
|
|
64
|
-
true: {
|
|
65
|
-
root: "opacity-50 after:content-empty after:absolute after:inset-0 after:cursor-not-allowed"
|
|
60
|
+
required: {
|
|
61
|
+
true: {
|
|
62
|
+
label: `after:content-['*'] after:ms-0.5`
|
|
63
|
+
}
|
|
66
64
|
},
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
disabled: {
|
|
66
|
+
true: {
|
|
67
|
+
root: "opacity-50 after:content-empty after:absolute after:inset-0 after:cursor-not-allowed"
|
|
68
|
+
},
|
|
69
|
+
false: {
|
|
70
|
+
label: "cursor-pointer"
|
|
71
|
+
}
|
|
69
72
|
}
|
|
70
73
|
}
|
|
71
74
|
}
|
|
72
|
-
|
|
75
|
+
);
|
|
@@ -16,11 +16,21 @@ declare const _default: {
|
|
|
16
16
|
trigger: string[];
|
|
17
17
|
indicator: string;
|
|
18
18
|
};
|
|
19
|
+
outline: {
|
|
20
|
+
list: string;
|
|
21
|
+
trigger: string[];
|
|
22
|
+
indicator: string;
|
|
23
|
+
};
|
|
19
24
|
soft: {
|
|
20
25
|
list: string;
|
|
21
26
|
trigger: string[];
|
|
22
27
|
indicator: string;
|
|
23
28
|
};
|
|
29
|
+
'soft-outline': {
|
|
30
|
+
list: string;
|
|
31
|
+
trigger: string[];
|
|
32
|
+
indicator: string;
|
|
33
|
+
};
|
|
24
34
|
link: {
|
|
25
35
|
list: string;
|
|
26
36
|
indicator: string;
|
|
@@ -83,7 +93,7 @@ declare const _default: {
|
|
|
83
93
|
variant?: undefined;
|
|
84
94
|
} | {
|
|
85
95
|
orientation: "horizontal";
|
|
86
|
-
variant: ("solid" | "soft")[];
|
|
96
|
+
variant: ("solid" | "outline" | "soft" | "soft-outline")[];
|
|
87
97
|
class: {
|
|
88
98
|
indicator: string;
|
|
89
99
|
trigger?: undefined;
|
|
@@ -101,7 +111,7 @@ declare const _default: {
|
|
|
101
111
|
size?: undefined;
|
|
102
112
|
} | {
|
|
103
113
|
orientation: "vertical";
|
|
104
|
-
variant: ("solid" | "soft")[];
|
|
114
|
+
variant: ("solid" | "outline" | "soft" | "soft-outline")[];
|
|
105
115
|
class: {
|
|
106
116
|
indicator: string;
|
|
107
117
|
list: string;
|
|
@@ -1,124 +1,143 @@
|
|
|
1
1
|
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
-
export default ct(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
root: "flex items-center gap-2",
|
|
7
|
+
list: "relative flex p-1 group",
|
|
8
|
+
indicator: "absolute transition-all duration-200",
|
|
9
|
+
trigger: [
|
|
10
|
+
"group relative inline-flex items-center gap-0.25em shrink-0 min-w-0 font-medium rounded-ui-tabs transition-colors",
|
|
11
|
+
"outline-none",
|
|
12
|
+
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
13
|
+
],
|
|
14
|
+
content: "w-full focus:outline-none",
|
|
15
|
+
prefixIcon: "shrink-0 size-1.5em",
|
|
16
|
+
label: "truncate"
|
|
17
|
+
},
|
|
18
|
+
variants: {
|
|
19
|
+
variant: {
|
|
20
|
+
"solid": {
|
|
21
|
+
list: "bg-ui-cb/5 rounded-ui-tabs",
|
|
22
|
+
trigger: [
|
|
23
|
+
"data-[state=active]:color-ui-c1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-cb/80",
|
|
24
|
+
"data-[state=inactive]:color-ui-cb/80 hover:data-[state=inactive]:not-disabled:color-ui-cb"
|
|
25
|
+
],
|
|
26
|
+
indicator: "bg-ui-fill/90 rounded-ui-tabs shadow-xs"
|
|
27
|
+
},
|
|
28
|
+
"outline": {
|
|
29
|
+
list: "bg-ui-cb/5 rounded-ui-tabs",
|
|
30
|
+
trigger: [
|
|
31
|
+
"data-[state=active]:color-ui-content focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-content/80",
|
|
32
|
+
"data-[state=inactive]:color-ui-cb/80 hover:data-[state=inactive]:not-disabled:color-ui-cb"
|
|
33
|
+
],
|
|
34
|
+
indicator: "rounded-ui-tabs ring ring-inset ring-ui-content"
|
|
35
|
+
},
|
|
36
|
+
"soft": {
|
|
37
|
+
list: "bg-ui-cb/5 rounded-ui-tabs",
|
|
38
|
+
trigger: [
|
|
39
|
+
"data-[state=active]:color-ui-fill focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-fill",
|
|
40
|
+
"data-[state=inactive]:color-ui-cb/80 hover:data-[state=inactive]:not-disabled:color-ui-cb"
|
|
41
|
+
],
|
|
42
|
+
indicator: "bg-ui-fill/10 rounded-ui-tabs shadow-xs"
|
|
43
|
+
},
|
|
44
|
+
"soft-outline": {
|
|
45
|
+
list: "bg-ui-cb/5 rounded-ui-tabs",
|
|
46
|
+
trigger: [
|
|
47
|
+
"data-[state=active]:color-ui-fill focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-fill",
|
|
48
|
+
"data-[state=inactive]:color-ui-cb/80 hover:data-[state=inactive]:not-disabled:color-ui-cb"
|
|
49
|
+
],
|
|
50
|
+
indicator: "bg-ui-fill/10 rounded-ui-tabs shadow-xs ring ring-inset ring-ui-content/40"
|
|
51
|
+
},
|
|
52
|
+
"link": {
|
|
53
|
+
list: "bg-ui-cb/5 border-ui-cb/10",
|
|
54
|
+
indicator: "bg-ui-fill rounded-full",
|
|
55
|
+
trigger: [
|
|
56
|
+
"data-[state=active]:color-ui-base focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ui-base",
|
|
57
|
+
"data-[state=inactive]:color-ui-cb/80 hover:data-[state=inactive]:not-disabled:color-ui-cb"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
25
60
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
61
|
+
orientation: {
|
|
62
|
+
horizontal: {
|
|
63
|
+
root: "flex-col",
|
|
64
|
+
list: "w-full",
|
|
65
|
+
indicator: "left-0 w-[var(--reka-tabs-indicator-size)] translate-x-[var(--reka-tabs-indicator-position)]",
|
|
66
|
+
trigger: "justify-center"
|
|
67
|
+
},
|
|
68
|
+
vertical: {
|
|
69
|
+
list: "flex-col",
|
|
70
|
+
indicator: "top-0 h-[var(--reka-tabs-indicator-size)] translate-y-[var(--reka-tabs-indicator-position)]",
|
|
71
|
+
trigger: "flex-1 w-full"
|
|
72
|
+
}
|
|
33
73
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
74
|
+
size: {
|
|
75
|
+
xs: {
|
|
76
|
+
root: "text-sm"
|
|
77
|
+
},
|
|
78
|
+
sm: {
|
|
79
|
+
root: "tex-tsm"
|
|
80
|
+
},
|
|
81
|
+
md: {
|
|
82
|
+
root: "text-base"
|
|
83
|
+
},
|
|
84
|
+
lg: {
|
|
85
|
+
root: "text-lg"
|
|
86
|
+
},
|
|
87
|
+
xl: {
|
|
88
|
+
root: "text-xl"
|
|
89
|
+
}
|
|
49
90
|
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
91
|
+
full: {
|
|
92
|
+
true: {
|
|
93
|
+
trigger: "w-full flex-1"
|
|
94
|
+
}
|
|
54
95
|
}
|
|
55
96
|
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
97
|
+
compoundVariants: [
|
|
98
|
+
{
|
|
99
|
+
size: ["xs", "sm", "md"],
|
|
100
|
+
class: {
|
|
101
|
+
trigger: "p-1.5 px-2.5"
|
|
102
|
+
}
|
|
59
103
|
},
|
|
60
|
-
|
|
61
|
-
|
|
104
|
+
{
|
|
105
|
+
size: ["lg", "xl"],
|
|
106
|
+
class: {
|
|
107
|
+
trigger: "p-2.5 px-4.5"
|
|
108
|
+
}
|
|
62
109
|
},
|
|
63
|
-
|
|
64
|
-
|
|
110
|
+
{
|
|
111
|
+
orientation: "horizontal",
|
|
112
|
+
variant: ["solid", "soft", "outline", "soft-outline"],
|
|
113
|
+
class: {
|
|
114
|
+
indicator: "inset-y-1"
|
|
115
|
+
}
|
|
65
116
|
},
|
|
66
|
-
|
|
67
|
-
|
|
117
|
+
{
|
|
118
|
+
orientation: "horizontal",
|
|
119
|
+
variant: "link",
|
|
120
|
+
class: {
|
|
121
|
+
list: "border-b -mb-px",
|
|
122
|
+
indicator: "-bottom-px h-px"
|
|
123
|
+
}
|
|
68
124
|
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
size: ["lg", "xl"],
|
|
88
|
-
class: {
|
|
89
|
-
trigger: "p-2.5 px-4.5"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
orientation: "horizontal",
|
|
94
|
-
variant: ["solid", "soft"],
|
|
95
|
-
class: {
|
|
96
|
-
indicator: "inset-y-1"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
orientation: "horizontal",
|
|
101
|
-
variant: "link",
|
|
102
|
-
class: {
|
|
103
|
-
list: "border-b -mb-px",
|
|
104
|
-
indicator: "-bottom-px h-px"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
orientation: "vertical",
|
|
109
|
-
variant: ["solid", "soft"],
|
|
110
|
-
class: {
|
|
111
|
-
indicator: "inset-x-1",
|
|
112
|
-
list: "items-center rounded-[calc(var(--ui-radius-tabs)*0.66)]"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
orientation: "vertical",
|
|
117
|
-
variant: "link",
|
|
118
|
-
class: {
|
|
119
|
-
list: "border-s -ms-px",
|
|
120
|
-
indicator: "-start-px w-px"
|
|
125
|
+
{
|
|
126
|
+
orientation: "vertical",
|
|
127
|
+
variant: ["solid", "soft", "outline", "soft-outline"],
|
|
128
|
+
class: {
|
|
129
|
+
indicator: "inset-x-1",
|
|
130
|
+
list: "items-center rounded-[calc(var(--ui-radius-tabs)*0.66)]"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
orientation: "vertical",
|
|
135
|
+
variant: "link",
|
|
136
|
+
class: {
|
|
137
|
+
list: "border-s -ms-px",
|
|
138
|
+
indicator: "-start-px w-px"
|
|
139
|
+
}
|
|
121
140
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
);
|
|
@@ -29,6 +29,9 @@ declare const _default: {
|
|
|
29
29
|
soft: {
|
|
30
30
|
root: string[];
|
|
31
31
|
};
|
|
32
|
+
'soft-outline': {
|
|
33
|
+
root: string[];
|
|
34
|
+
};
|
|
32
35
|
ghost: {
|
|
33
36
|
root: string[];
|
|
34
37
|
};
|
|
@@ -50,7 +53,7 @@ declare const _default: {
|
|
|
50
53
|
highlight: false;
|
|
51
54
|
underline: true;
|
|
52
55
|
class: {
|
|
53
|
-
root: string;
|
|
56
|
+
root: string[];
|
|
54
57
|
};
|
|
55
58
|
size?: undefined;
|
|
56
59
|
} | {
|
|
@@ -70,7 +73,7 @@ declare const _default: {
|
|
|
70
73
|
highlight?: undefined;
|
|
71
74
|
underline?: undefined;
|
|
72
75
|
} | {
|
|
73
|
-
variant: ("soft" | "ghost" | "none")[];
|
|
76
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
74
77
|
highlight: true;
|
|
75
78
|
class: {
|
|
76
79
|
root: string;
|