@byyuurin/ui 0.0.9 → 0.0.10
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 +0 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/app/injections.d.ts +9299 -3
- package/dist/runtime/app/injections.js +35 -0
- package/dist/runtime/components/Accordion.vue +16 -20
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/Badge.vue +1 -1
- package/dist/runtime/components/Breadcrumb.vue +17 -21
- package/dist/runtime/components/Calendar.vue +15 -6
- package/dist/runtime/components/Carousel.vue +5 -3
- package/dist/runtime/components/Checkbox.vue +12 -7
- package/dist/runtime/components/Drawer.vue +12 -12
- package/dist/runtime/components/DropdownMenu.vue +143 -0
- package/dist/runtime/components/DropdownMenuContent.vue +188 -0
- package/dist/runtime/components/Form.vue +311 -0
- package/dist/runtime/components/FormItem.vue +129 -0
- package/dist/runtime/components/Input.vue +27 -13
- package/dist/runtime/components/InputNumber.vue +22 -14
- package/dist/runtime/components/Link.vue +17 -2
- package/dist/runtime/components/Modal.vue +11 -11
- package/dist/runtime/components/PinInput.vue +22 -13
- package/dist/runtime/components/Popover.vue +3 -3
- package/dist/runtime/components/RadioGroup.vue +50 -46
- package/dist/runtime/components/Select.vue +90 -80
- package/dist/runtime/components/Slider.vue +12 -7
- package/dist/runtime/components/Switch.vue +12 -6
- package/dist/runtime/components/Table.vue +21 -8
- package/dist/runtime/components/Tabs.vue +12 -11
- package/dist/runtime/components/Textarea.vue +19 -13
- package/dist/runtime/components/Toast.vue +6 -3
- package/dist/runtime/components/Tooltip.vue +3 -3
- package/dist/runtime/composables/useFormItem.d.ts +27 -0
- package/dist/runtime/composables/useFormItem.js +64 -0
- package/dist/runtime/composables/useTheme.js +2 -1
- package/dist/runtime/index.d.ts +3 -0
- package/dist/runtime/index.js +3 -0
- package/dist/runtime/theme/app.d.ts +1 -0
- package/dist/runtime/theme/app.js +2 -1
- package/dist/runtime/theme/badge.d.ts +21 -45
- package/dist/runtime/theme/breadcrumb.d.ts +3 -3
- package/dist/runtime/theme/button.d.ts +111 -57
- package/dist/runtime/theme/calendar.d.ts +2 -2
- package/dist/runtime/theme/chip.d.ts +11 -44
- package/dist/runtime/theme/drawer.d.ts +68 -33
- package/dist/runtime/theme/dropdown-menu.d.ts +71 -0
- package/dist/runtime/theme/dropdown-menu.js +83 -0
- package/dist/runtime/theme/form-item.d.ts +76 -0
- package/dist/runtime/theme/form-item.js +34 -0
- package/dist/runtime/theme/form.d.ts +8 -0
- package/dist/runtime/theme/form.js +7 -0
- package/dist/runtime/theme/index.d.ts +3 -0
- package/dist/runtime/theme/index.js +3 -0
- package/dist/runtime/theme/input-number.d.ts +41 -61
- package/dist/runtime/theme/input.d.ts +99 -71
- package/dist/runtime/theme/input.js +2 -2
- package/dist/runtime/theme/modal.d.ts +5 -33
- package/dist/runtime/theme/pinInput.d.ts +42 -42
- package/dist/runtime/theme/pinInput.js +1 -1
- package/dist/runtime/theme/progress.d.ts +117 -53
- package/dist/runtime/theme/select.d.ts +100 -84
- package/dist/runtime/theme/select.js +2 -1
- package/dist/runtime/theme/separator.d.ts +13 -28
- package/dist/runtime/theme/table.d.ts +3 -0
- package/dist/runtime/theme/table.js +2 -1
- package/dist/runtime/theme/tabs.d.ts +51 -68
- package/dist/runtime/theme/textarea.d.ts +37 -43
- package/dist/runtime/theme/textarea.js +1 -1
- package/dist/runtime/theme/toast-provider.d.ts +26 -41
- package/dist/runtime/types/components.d.ts +3 -0
- package/dist/runtime/types/form.d.ts +45 -0
- package/dist/runtime/types/form.js +0 -0
- package/dist/runtime/types/index.d.ts +5 -2
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/utils.d.ts +32 -11
- package/dist/runtime/utils/extend-theme.js +15 -4
- package/dist/runtime/utils/form.d.ts +5 -0
- package/dist/runtime/utils/form.js +24 -0
- package/dist/runtime/utils/index.d.ts +2 -0
- package/dist/runtime/utils/index.js +4 -0
- package/dist/runtime/utils/link.d.ts +4 -26
- package/dist/runtime/utils/link.js +10 -3
- package/dist/shared/ui.3e7fad19.mjs +5 -0
- package/dist/shared/ui.3e7fad19.mjs.map +1 -0
- package/dist/unocss.mjs +2 -2
- package/dist/unocss.mjs.map +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +16 -14
- package/dist/shared/ui.1a1f119c.mjs +0 -5
- package/dist/shared/ui.1a1f119c.mjs.map +0 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: undefined;
|
|
3
|
+
slots: {
|
|
4
|
+
content: string[];
|
|
5
|
+
arrow: string;
|
|
6
|
+
group: string;
|
|
7
|
+
label: string;
|
|
8
|
+
separator: string;
|
|
9
|
+
item: string[];
|
|
10
|
+
itemLeadingIcon: string;
|
|
11
|
+
itemLeadingAvatar: string;
|
|
12
|
+
itemTrailing: string;
|
|
13
|
+
itemTrailingIcon: string;
|
|
14
|
+
itemTrailingKbds: string;
|
|
15
|
+
itemLabel: string;
|
|
16
|
+
itemLabelExternalIcon: string;
|
|
17
|
+
};
|
|
18
|
+
variants: {
|
|
19
|
+
size: {
|
|
20
|
+
xs: {
|
|
21
|
+
content: string;
|
|
22
|
+
};
|
|
23
|
+
sm: {
|
|
24
|
+
content: string;
|
|
25
|
+
};
|
|
26
|
+
md: {
|
|
27
|
+
content: string;
|
|
28
|
+
};
|
|
29
|
+
lg: {
|
|
30
|
+
content: string;
|
|
31
|
+
};
|
|
32
|
+
xl: {
|
|
33
|
+
content: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
active: {
|
|
37
|
+
true: {
|
|
38
|
+
item: string;
|
|
39
|
+
itemLeadingIcon: string;
|
|
40
|
+
};
|
|
41
|
+
false: {
|
|
42
|
+
item: string;
|
|
43
|
+
itemLeadingIcon: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
loading: {
|
|
47
|
+
true: {
|
|
48
|
+
itemLeadingIcon: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
compoundVariants: ({
|
|
53
|
+
size: ("xs" | "sm" | "md")[];
|
|
54
|
+
class: {
|
|
55
|
+
label: string;
|
|
56
|
+
item: string;
|
|
57
|
+
itemTrailingKbds: string;
|
|
58
|
+
};
|
|
59
|
+
} | {
|
|
60
|
+
size: ("lg" | "xl")[];
|
|
61
|
+
class: {
|
|
62
|
+
label: string;
|
|
63
|
+
item: string;
|
|
64
|
+
itemTrailingKbds: string;
|
|
65
|
+
};
|
|
66
|
+
})[];
|
|
67
|
+
defaultVariants: {
|
|
68
|
+
size: "md";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
content: [
|
|
7
|
+
"bg-ui-base shadow-lg rounded-ui-base ring ring-ui-base/10 divide-y divide-ui-base/10 overflow-y-auto scroll-py-1",
|
|
8
|
+
"data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]"
|
|
9
|
+
],
|
|
10
|
+
arrow: "-mt-px fill-ui-cx stroke-ui-base/10",
|
|
11
|
+
group: "p-1 isolate",
|
|
12
|
+
label: "w-full flex items-center font-semibold color-ui-base",
|
|
13
|
+
separator: "-mx-1 my-1 h-px bg-ui-cb/10",
|
|
14
|
+
item: [
|
|
15
|
+
"group relative w-full flex items-center select-none outline-none",
|
|
16
|
+
"before:content-empty before:absolute before:z-[-1] before:inset-px before:rounded-ui-base",
|
|
17
|
+
"data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50"
|
|
18
|
+
],
|
|
19
|
+
itemLeadingIcon: "shrink-0",
|
|
20
|
+
itemLeadingAvatar: "shrink-0",
|
|
21
|
+
itemTrailing: "ms-auto inline-flex gap-1.5 items-center",
|
|
22
|
+
itemTrailingIcon: "shrink-0",
|
|
23
|
+
itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0",
|
|
24
|
+
itemLabel: "truncate",
|
|
25
|
+
itemLabelExternalIcon: "inline-block size-3 align-top color-ui-base/50"
|
|
26
|
+
},
|
|
27
|
+
variants: {
|
|
28
|
+
size: {
|
|
29
|
+
xs: {
|
|
30
|
+
content: "text-xs"
|
|
31
|
+
},
|
|
32
|
+
sm: {
|
|
33
|
+
content: "text-sm"
|
|
34
|
+
},
|
|
35
|
+
md: {
|
|
36
|
+
content: "text-base"
|
|
37
|
+
},
|
|
38
|
+
lg: {
|
|
39
|
+
content: "text-lg"
|
|
40
|
+
},
|
|
41
|
+
xl: {
|
|
42
|
+
content: "text-xl"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
active: {
|
|
46
|
+
true: {
|
|
47
|
+
item: "color-ui-base before:bg-ui-cb/10",
|
|
48
|
+
itemLeadingIcon: "color-ui-base/80"
|
|
49
|
+
},
|
|
50
|
+
false: {
|
|
51
|
+
item: "color-ui-base/80 data-[highlighted]:color-ui-base data-[state=open]:color-ui-base data-[highlighted]:before:bg-ui-cb/5 data-[state=open]:before:bg-ui-cb/5 transition-colors before:transition-colors",
|
|
52
|
+
itemLeadingIcon: "color-ui-base/50 group-data-[highlighted]:color-ui-base/80 group-data-[state=open]:color-ui-base/80 transition-colors"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
loading: {
|
|
56
|
+
true: {
|
|
57
|
+
itemLeadingIcon: "animate-spin"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
compoundVariants: [
|
|
62
|
+
{
|
|
63
|
+
size: ["xs", "sm", "md"],
|
|
64
|
+
class: {
|
|
65
|
+
label: "p-0.25em gap-0.25em",
|
|
66
|
+
item: "p-0.25em gap-0.25em",
|
|
67
|
+
itemTrailingKbds: "gap-0.125em"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
size: ["lg", "xl"],
|
|
72
|
+
class: {
|
|
73
|
+
label: "p-0.5em gap-0.5em",
|
|
74
|
+
item: "p-0.5em gap-0.5em",
|
|
75
|
+
itemTrailingKbds: "gap-0.25em"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
defaultVariants: {
|
|
80
|
+
size: "md"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: undefined;
|
|
3
|
+
slots: {
|
|
4
|
+
root: string;
|
|
5
|
+
wrapper: string;
|
|
6
|
+
labelWrapper: string;
|
|
7
|
+
label: string;
|
|
8
|
+
container: string;
|
|
9
|
+
description: string;
|
|
10
|
+
error: string;
|
|
11
|
+
hint: string;
|
|
12
|
+
help: string;
|
|
13
|
+
};
|
|
14
|
+
variants: {
|
|
15
|
+
size: {
|
|
16
|
+
xs: {
|
|
17
|
+
root: string;
|
|
18
|
+
};
|
|
19
|
+
sm: {
|
|
20
|
+
root: string;
|
|
21
|
+
};
|
|
22
|
+
md: {
|
|
23
|
+
root: string;
|
|
24
|
+
};
|
|
25
|
+
lg: {
|
|
26
|
+
root: string;
|
|
27
|
+
};
|
|
28
|
+
xl: {
|
|
29
|
+
root: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
required: {
|
|
33
|
+
true: {
|
|
34
|
+
label: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
compoundVariants: import("@byyuurin/ui-kit").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
|
+
required: {
|
|
57
|
+
true: {
|
|
58
|
+
label: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
}, {
|
|
62
|
+
root: string;
|
|
63
|
+
wrapper: string;
|
|
64
|
+
labelWrapper: string;
|
|
65
|
+
label: string;
|
|
66
|
+
container: string;
|
|
67
|
+
description: string;
|
|
68
|
+
error: string;
|
|
69
|
+
hint: string;
|
|
70
|
+
help: string;
|
|
71
|
+
}, undefined>;
|
|
72
|
+
defaultVariants: {
|
|
73
|
+
size: "md";
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
root: "",
|
|
7
|
+
wrapper: "",
|
|
8
|
+
labelWrapper: "flex content-center items-center justify-between",
|
|
9
|
+
label: "block font-medium color-ui-base/80",
|
|
10
|
+
container: "mt-0.25em relative",
|
|
11
|
+
description: "color-ui-base/60",
|
|
12
|
+
error: "mt-0.25em color-ui-fill",
|
|
13
|
+
hint: "color-ui-base/60",
|
|
14
|
+
help: "mt-0.25em color-ui-base/60"
|
|
15
|
+
},
|
|
16
|
+
variants: {
|
|
17
|
+
size: {
|
|
18
|
+
xs: { root: "text-xs" },
|
|
19
|
+
sm: { root: "text-sm" },
|
|
20
|
+
md: { root: "text-base" },
|
|
21
|
+
lg: { root: "text-lg" },
|
|
22
|
+
xl: { root: "text-xl" }
|
|
23
|
+
},
|
|
24
|
+
required: {
|
|
25
|
+
true: {
|
|
26
|
+
label: `after:content-['*'] after:ms-0.5 after:color-ui-fill`
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
defaultVariants: {
|
|
31
|
+
size: "md"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: string;
|
|
3
|
+
slots: undefined;
|
|
4
|
+
variants: {};
|
|
5
|
+
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{}, undefined, "">;
|
|
6
|
+
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{}, undefined>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -14,6 +14,9 @@ export { default as checkbox } from './checkbox.js';
|
|
|
14
14
|
export { default as chip } from './chip.js';
|
|
15
15
|
export { default as collapsible } from './collapsible.js';
|
|
16
16
|
export { default as drawer } from './drawer.js';
|
|
17
|
+
export { default as dropdownMenu } from './dropdown-menu.js';
|
|
18
|
+
export { default as form } from './form.js';
|
|
19
|
+
export { default as formItem } from './form-item.js';
|
|
17
20
|
export { default as input } from './input.js';
|
|
18
21
|
export { default as inputNumber } from './input-number.js';
|
|
19
22
|
export { default as kbd } from './kbd.js';
|
|
@@ -14,6 +14,9 @@ export { default as checkbox } from "./checkbox.js";
|
|
|
14
14
|
export { default as chip } from "./chip.js";
|
|
15
15
|
export { default as collapsible } from "./collapsible.js";
|
|
16
16
|
export { default as drawer } from "./drawer.js";
|
|
17
|
+
export { default as dropdownMenu } from "./dropdown-menu.js";
|
|
18
|
+
export { default as form } from "./form.js";
|
|
19
|
+
export { default as formItem } from "./form-item.js";
|
|
17
20
|
export { default as input } from "./input.js";
|
|
18
21
|
export { default as inputNumber } from "./input-number.js";
|
|
19
22
|
export { default as kbd } from "./kbd.js";
|
|
@@ -67,72 +67,52 @@ declare const _default: {
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
compoundVariants:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
};
|
|
78
|
-
md: {
|
|
79
|
-
base: string;
|
|
80
|
-
};
|
|
81
|
-
lg: {
|
|
82
|
-
base: string;
|
|
83
|
-
};
|
|
84
|
-
xl: {
|
|
85
|
-
base: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
variant: {
|
|
89
|
-
outline: {
|
|
90
|
-
base: string[];
|
|
91
|
-
};
|
|
92
|
-
soft: {
|
|
93
|
-
base: string[];
|
|
94
|
-
};
|
|
95
|
-
'soft-outline': {
|
|
96
|
-
base: string[];
|
|
97
|
-
};
|
|
98
|
-
ghost: {
|
|
99
|
-
base: string[];
|
|
100
|
-
};
|
|
101
|
-
none: {
|
|
102
|
-
base: string;
|
|
103
|
-
};
|
|
70
|
+
compoundVariants: ({
|
|
71
|
+
variant: ("soft" | "ghost" | "none")[];
|
|
72
|
+
highlight: false;
|
|
73
|
+
underline: true;
|
|
74
|
+
class: {
|
|
75
|
+
base: string[];
|
|
76
|
+
input?: undefined;
|
|
104
77
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
78
|
+
size?: undefined;
|
|
79
|
+
} | {
|
|
80
|
+
size: ("xs" | "sm" | "md")[];
|
|
81
|
+
class: {
|
|
82
|
+
base: string;
|
|
83
|
+
input: string;
|
|
110
84
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
decrement: string;
|
|
120
|
-
};
|
|
85
|
+
variant?: undefined;
|
|
86
|
+
highlight?: undefined;
|
|
87
|
+
underline?: undefined;
|
|
88
|
+
} | {
|
|
89
|
+
size: ("lg" | "xl")[];
|
|
90
|
+
class: {
|
|
91
|
+
base: string;
|
|
92
|
+
input: string;
|
|
121
93
|
};
|
|
122
|
-
|
|
123
|
-
|
|
94
|
+
variant?: undefined;
|
|
95
|
+
highlight?: undefined;
|
|
96
|
+
underline?: undefined;
|
|
97
|
+
} | {
|
|
98
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
99
|
+
highlight: true;
|
|
100
|
+
class: {
|
|
101
|
+
base: string;
|
|
102
|
+
input?: undefined;
|
|
124
103
|
};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
104
|
+
underline?: undefined;
|
|
105
|
+
size?: undefined;
|
|
106
|
+
} | {
|
|
107
|
+
variant: "outline"[];
|
|
108
|
+
highlight: true;
|
|
109
|
+
class: {
|
|
110
|
+
base: string;
|
|
111
|
+
input?: undefined;
|
|
129
112
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
increment: string;
|
|
134
|
-
decrement: string;
|
|
135
|
-
}, undefined>;
|
|
113
|
+
underline?: undefined;
|
|
114
|
+
size?: undefined;
|
|
115
|
+
})[];
|
|
136
116
|
defaultVariants: {
|
|
137
117
|
size: "md";
|
|
138
118
|
variant: "outline";
|
|
@@ -72,77 +72,105 @@ declare const _default: {
|
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
compoundVariants:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
75
|
+
compoundVariants: ({
|
|
76
|
+
variant: ("soft" | "ghost" | "none")[];
|
|
77
|
+
highlight: false;
|
|
78
|
+
underline: true;
|
|
79
|
+
class: {
|
|
80
|
+
base: string[];
|
|
81
|
+
input?: undefined;
|
|
82
|
+
leadingIcon?: undefined;
|
|
83
|
+
trailingIcon?: undefined;
|
|
84
|
+
};
|
|
85
|
+
size?: undefined;
|
|
86
|
+
loading?: undefined;
|
|
87
|
+
leading?: undefined;
|
|
88
|
+
trailing?: undefined;
|
|
89
|
+
} | {
|
|
90
|
+
size: ("xs" | "sm" | "md")[];
|
|
91
|
+
class: {
|
|
92
|
+
base: string;
|
|
93
|
+
input: string;
|
|
94
|
+
leadingIcon?: undefined;
|
|
95
|
+
trailingIcon?: undefined;
|
|
96
|
+
};
|
|
97
|
+
variant?: undefined;
|
|
98
|
+
highlight?: undefined;
|
|
99
|
+
underline?: undefined;
|
|
100
|
+
loading?: undefined;
|
|
101
|
+
leading?: undefined;
|
|
102
|
+
trailing?: undefined;
|
|
103
|
+
} | {
|
|
104
|
+
size: ("lg" | "xl")[];
|
|
105
|
+
class: {
|
|
106
|
+
base: string;
|
|
107
|
+
input: string;
|
|
108
|
+
leadingIcon?: undefined;
|
|
109
|
+
trailingIcon?: undefined;
|
|
110
|
+
};
|
|
111
|
+
variant?: undefined;
|
|
112
|
+
highlight?: undefined;
|
|
113
|
+
underline?: undefined;
|
|
114
|
+
loading?: undefined;
|
|
115
|
+
leading?: undefined;
|
|
116
|
+
trailing?: undefined;
|
|
117
|
+
} | {
|
|
118
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
119
|
+
highlight: true;
|
|
120
|
+
class: {
|
|
121
|
+
base: string;
|
|
122
|
+
input?: undefined;
|
|
123
|
+
leadingIcon?: undefined;
|
|
124
|
+
trailingIcon?: undefined;
|
|
125
|
+
};
|
|
126
|
+
underline?: undefined;
|
|
127
|
+
size?: undefined;
|
|
128
|
+
loading?: undefined;
|
|
129
|
+
leading?: undefined;
|
|
130
|
+
trailing?: undefined;
|
|
131
|
+
} | {
|
|
132
|
+
variant: "outline"[];
|
|
133
|
+
highlight: true;
|
|
134
|
+
class: {
|
|
135
|
+
base: string;
|
|
136
|
+
input?: undefined;
|
|
137
|
+
leadingIcon?: undefined;
|
|
138
|
+
trailingIcon?: undefined;
|
|
139
|
+
};
|
|
140
|
+
underline?: undefined;
|
|
141
|
+
size?: undefined;
|
|
142
|
+
loading?: undefined;
|
|
143
|
+
leading?: undefined;
|
|
144
|
+
trailing?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
loading: true;
|
|
147
|
+
leading: true;
|
|
148
|
+
class: {
|
|
149
|
+
leadingIcon: string;
|
|
150
|
+
base?: undefined;
|
|
151
|
+
input?: undefined;
|
|
152
|
+
trailingIcon?: undefined;
|
|
153
|
+
};
|
|
154
|
+
variant?: undefined;
|
|
155
|
+
highlight?: undefined;
|
|
156
|
+
underline?: undefined;
|
|
157
|
+
size?: undefined;
|
|
158
|
+
trailing?: undefined;
|
|
159
|
+
} | {
|
|
160
|
+
loading: true;
|
|
161
|
+
leading: false;
|
|
162
|
+
trailing: true;
|
|
163
|
+
class: {
|
|
164
|
+
trailingIcon: string;
|
|
165
|
+
base?: undefined;
|
|
166
|
+
input?: undefined;
|
|
167
|
+
leadingIcon?: undefined;
|
|
168
|
+
};
|
|
169
|
+
variant?: undefined;
|
|
170
|
+
highlight?: undefined;
|
|
171
|
+
underline?: undefined;
|
|
172
|
+
size?: undefined;
|
|
173
|
+
})[];
|
|
146
174
|
defaultVariants: {
|
|
147
175
|
size: "md";
|
|
148
176
|
};
|
|
@@ -118,14 +118,14 @@ export default ct(
|
|
|
118
118
|
variant: ["soft", "soft-outline", "ghost", "none"],
|
|
119
119
|
highlight: true,
|
|
120
120
|
class: {
|
|
121
|
-
base: "ring ring-inset ring-ui-fill/80 focus-within:ring-ui-fill/80"
|
|
121
|
+
base: "ring ring-inset ring-ui-fill/80 focus-within:ring-ui-fill/80 hover:focus-within:ring-ui-fill/80"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
variant: ["outline"],
|
|
126
126
|
highlight: true,
|
|
127
127
|
class: {
|
|
128
|
-
base: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80"
|
|
128
|
+
base: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80 hover:focus-within:ring-ui-fill/80"
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
{
|
|
@@ -35,40 +35,12 @@ declare const _default: {
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
compoundVariants:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
content: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
size: {
|
|
46
|
-
fullscreen: {
|
|
47
|
-
content: string;
|
|
48
|
-
};
|
|
49
|
-
sm: {
|
|
50
|
-
content: string;
|
|
51
|
-
};
|
|
52
|
-
md: {
|
|
53
|
-
content: string;
|
|
54
|
-
};
|
|
55
|
-
lg: {
|
|
56
|
-
content: string;
|
|
57
|
-
};
|
|
58
|
-
xl: {
|
|
59
|
-
content: string;
|
|
60
|
-
};
|
|
38
|
+
compoundVariants: {
|
|
39
|
+
size: ("sm" | "md" | "lg" | "xl")[];
|
|
40
|
+
class: {
|
|
41
|
+
content: string[];
|
|
61
42
|
};
|
|
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>;
|
|
43
|
+
}[];
|
|
72
44
|
defaultVariants: {
|
|
73
45
|
size: "sm";
|
|
74
46
|
};
|