@byyuurin/ui 0.0.4 → 0.0.6
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 +23 -29
- package/dist/index.d.ts +28 -2
- package/dist/index.mjs +28 -2
- package/dist/nuxt.d.mts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.mjs +15 -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/App.vue +1 -1
- package/dist/runtime/components/Badge.vue +70 -0
- package/dist/runtime/components/Button.vue +7 -3
- package/dist/runtime/components/ButtonGroup.vue +47 -0
- package/dist/runtime/components/Card.vue +4 -4
- package/dist/runtime/components/Carousel.vue +310 -0
- package/dist/runtime/components/Checkbox.vue +1 -2
- package/dist/runtime/components/Chip.vue +64 -0
- package/dist/runtime/components/Drawer.vue +2 -2
- package/dist/runtime/components/Input.vue +10 -5
- package/dist/runtime/components/Link.vue +1 -1
- package/dist/runtime/components/Modal.vue +4 -5
- package/dist/runtime/components/Pagination.vue +167 -0
- package/dist/runtime/components/PinInput.vue +85 -0
- package/dist/runtime/components/Popover.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue +1 -2
- package/dist/runtime/components/ScrollArea.vue +2 -2
- package/dist/runtime/components/Select.vue +7 -2
- package/dist/runtime/components/Slider.vue +96 -0
- package/dist/runtime/components/Switch.vue +2 -4
- package/dist/runtime/components/Tabs.vue +1 -2
- package/dist/runtime/components/Textarea.vue +2 -4
- package/dist/runtime/components/Toast.vue +21 -10
- package/dist/runtime/components/Toaster.vue +5 -5
- package/dist/runtime/components/Tooltip.vue +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +13 -0
- package/dist/runtime/composables/useButtonGroup.mjs +14 -0
- package/dist/runtime/composables/useTheme.d.ts +2 -2
- package/dist/runtime/composables/useTheme.mjs +1 -1
- package/dist/runtime/composables/useToast.d.ts +4 -4
- package/dist/runtime/composables/useToast.mjs +19 -6
- package/dist/runtime/theme/accordion.d.ts +17 -0
- package/dist/runtime/theme/accordion.mjs +24 -21
- package/dist/runtime/theme/alert.d.ts +125 -0
- package/dist/runtime/theme/alert.mjs +47 -0
- package/dist/runtime/theme/app.d.ts +5 -0
- package/dist/runtime/theme/app.mjs +7 -1
- package/dist/runtime/theme/badge.d.ts +82 -0
- package/dist/runtime/theme/badge.mjs +92 -0
- package/dist/runtime/theme/button-group.d.ts +66 -0
- package/dist/runtime/theme/button-group.mjs +42 -0
- package/dist/runtime/theme/button.d.ts +15 -1
- package/dist/runtime/theme/button.mjs +135 -119
- package/dist/runtime/theme/card.d.ts +21 -2
- package/dist/runtime/theme/card.mjs +12 -9
- package/dist/runtime/theme/carousel.d.ts +113 -0
- package/dist/runtime/theme/carousel.mjs +43 -0
- package/dist/runtime/theme/checkbox.d.ts +3 -0
- package/dist/runtime/theme/checkbox.mjs +47 -41
- package/dist/runtime/theme/chip.d.ts +67 -0
- package/dist/runtime/theme/chip.mjs +68 -0
- package/dist/runtime/theme/drawer.d.ts +38 -0
- package/dist/runtime/theme/drawer.mjs +69 -66
- package/dist/runtime/theme/index.d.ts +10 -2
- package/dist/runtime/theme/index.mjs +10 -2
- package/dist/runtime/theme/input.d.ts +41 -22
- package/dist/runtime/theme/input.mjs +139 -121
- package/dist/runtime/theme/link.d.ts +14 -1
- package/dist/runtime/theme/link.mjs +23 -20
- package/dist/runtime/theme/modal.d.ts +3 -0
- package/dist/runtime/theme/modal.mjs +53 -47
- package/dist/runtime/theme/pagination.d.ts +56 -0
- package/dist/runtime/theme/pagination.mjs +13 -0
- package/dist/runtime/theme/pinInput.d.ts +100 -0
- package/dist/runtime/theme/pinInput.mjs +111 -0
- package/dist/runtime/theme/popover.d.ts +11 -0
- package/dist/runtime/theme/popover.mjs +11 -8
- package/dist/runtime/theme/{radioGroup.d.ts → radio-group.d.ts} +3 -0
- package/dist/runtime/theme/radio-group.mjs +61 -0
- package/dist/runtime/theme/{scrollArea.d.ts → scroll-area.d.ts} +22 -0
- package/dist/runtime/theme/scroll-area.mjs +33 -0
- package/dist/runtime/theme/select.d.ts +16 -2
- package/dist/runtime/theme/select.mjs +160 -142
- package/dist/runtime/theme/slider.d.ts +76 -0
- package/dist/runtime/theme/slider.mjs +52 -0
- package/dist/runtime/theme/switch.d.ts +3 -0
- package/dist/runtime/theme/switch.mjs +69 -63
- package/dist/runtime/theme/tabs.d.ts +15 -2
- package/dist/runtime/theme/tabs.mjs +134 -112
- package/dist/runtime/theme/textarea.d.ts +8 -2
- package/dist/runtime/theme/textarea.mjs +105 -89
- package/dist/runtime/theme/toast.d.ts +44 -6
- package/dist/runtime/theme/toast.mjs +30 -22
- package/dist/runtime/theme/toaster.d.ts +51 -2
- package/dist/runtime/theme/toaster.mjs +88 -80
- package/dist/runtime/theme/tooltip.d.ts +13 -0
- package/dist/runtime/theme/tooltip.mjs +9 -6
- package/dist/runtime/types/components.d.ts +27 -20
- package/dist/runtime/types/components.mjs +27 -0
- package/dist/runtime/types/index.d.ts +1 -3
- package/dist/runtime/types/utils.d.ts +1 -1
- package/dist/runtime/utils/extend-theme.mjs +1 -1
- package/dist/runtime/utils/link.d.ts +1 -1
- package/dist/runtime/utils/styler.d.ts +2 -2
- package/dist/shared/ui.D4zm1r0C.mjs +4 -0
- package/dist/shared/ui.D4zm1r0C.mjs.map +1 -0
- package/dist/{unocss-preset.d.mts → unocss.d.mts} +4 -4
- package/dist/{unocss-preset.d.ts → unocss.d.ts} +4 -4
- package/dist/{unocss-preset.mjs → unocss.mjs} +58 -36
- package/dist/unocss.mjs.map +1 -0
- package/dist/unplugin.d.mts +26 -0
- package/dist/unplugin.d.ts +26 -0
- package/dist/unplugin.mjs +72 -0
- package/dist/unplugin.mjs.map +1 -0
- package/dist/vite.d.mts +10 -0
- package/dist/vite.d.ts +10 -0
- package/dist/vite.mjs +14 -0
- package/dist/vite.mjs.map +1 -0
- package/package.json +46 -26
- 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/runtime/theme/radioGroup.mjs +0 -55
- package/dist/runtime/theme/scrollArea.mjs +0 -30
- package/dist/shared/ui.Cmq14xN9.mjs +0 -25
- /package/{LICENSE.md → LICENSE} +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
+
import { buttonGroupVariant } from "./button-group.mjs";
|
|
3
|
+
export default ct(
|
|
4
|
+
/* @unocss-include */
|
|
5
|
+
{
|
|
6
|
+
slots: {
|
|
7
|
+
base: "inline-flex items-center rounded-ui-base leading-normal transition-colors",
|
|
8
|
+
label: "",
|
|
9
|
+
prefixIcon: "shrink-0 size-1.5em not-only-child:ml-1.5",
|
|
10
|
+
suffixIcon: "shrink-0 size-1.5em not-only-child:mr-1.5"
|
|
11
|
+
},
|
|
12
|
+
variants: {
|
|
13
|
+
...buttonGroupVariant,
|
|
14
|
+
variant: {
|
|
15
|
+
"solid": {
|
|
16
|
+
base: [
|
|
17
|
+
"color-ui-c1 bg-solid-ui-fill/90"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"outline": {
|
|
21
|
+
base: "color-ui-fill bg-solid-ui-c1 ring ring-inset ring-ui-fill"
|
|
22
|
+
},
|
|
23
|
+
"soft": {
|
|
24
|
+
base: "color-ui-content/80 bg-solid-ui-fill/10"
|
|
25
|
+
},
|
|
26
|
+
"soft-outline": {
|
|
27
|
+
base: "color-ui-content/80 bg-solid-ui-fill/10 ring ring-inset ring-ui-fill/40"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
size: {
|
|
31
|
+
xs: {
|
|
32
|
+
base: "text-xs"
|
|
33
|
+
},
|
|
34
|
+
sm: {
|
|
35
|
+
base: "text-sm"
|
|
36
|
+
},
|
|
37
|
+
md: {
|
|
38
|
+
base: "text-base"
|
|
39
|
+
},
|
|
40
|
+
lg: {
|
|
41
|
+
base: "text-lg"
|
|
42
|
+
},
|
|
43
|
+
xl: {
|
|
44
|
+
base: "text-xl"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
compoundVariants: [
|
|
49
|
+
{
|
|
50
|
+
size: ["xs", "sm", "md"],
|
|
51
|
+
class: {
|
|
52
|
+
base: "p-0.5",
|
|
53
|
+
label: "px-1"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
size: ["lg", "xl"],
|
|
58
|
+
class: {
|
|
59
|
+
base: "p-1",
|
|
60
|
+
label: "px-2"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
defaultVariants: {
|
|
65
|
+
size: "md"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
);
|
|
@@ -68,5 +68,43 @@ declare const _default: {
|
|
|
68
68
|
handle?: undefined;
|
|
69
69
|
};
|
|
70
70
|
})[];
|
|
71
|
+
defaultVariants: import("@byyuurin/ui-kit/index").CVDefaultVariants<{
|
|
72
|
+
direction: {
|
|
73
|
+
top: {
|
|
74
|
+
content: string;
|
|
75
|
+
handle: string;
|
|
76
|
+
};
|
|
77
|
+
right: {
|
|
78
|
+
content: string;
|
|
79
|
+
handle: string;
|
|
80
|
+
};
|
|
81
|
+
bottom: {
|
|
82
|
+
content: string;
|
|
83
|
+
handle: string;
|
|
84
|
+
};
|
|
85
|
+
left: {
|
|
86
|
+
content: string;
|
|
87
|
+
handle: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
blur: {
|
|
91
|
+
true: {
|
|
92
|
+
overlay: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
full: {
|
|
96
|
+
true: "";
|
|
97
|
+
};
|
|
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;
|
|
@@ -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
|
-
|
|
2
|
+
export default ct(
|
|
3
|
+
/* @unocss-include */
|
|
4
|
+
{
|
|
5
|
+
slots: {
|
|
6
|
+
overlay: "fixed inset-0 bg-ui-c3/75",
|
|
7
|
+
content: "fixed bg-solid-ui-c1 ring ring-ui-cb/5 flex focus:outline-none",
|
|
8
|
+
handle: "shrink-0 rounded-full bg-solid-ui-cb/17.5",
|
|
9
|
+
container: "w-full flex flex-col overflow-hidden overflow-y-auto",
|
|
10
|
+
header: "p-4 sm:px-6 sibling:pt-0",
|
|
11
|
+
title: "color-ui-cb text-xl font-semibold",
|
|
12
|
+
description: "mt-1 color-ui-cb/80",
|
|
13
|
+
body: "p-4 sm:px-6 flex-1 sibling:pt-0",
|
|
14
|
+
footer: "p-4 sm:px-6 flex flex-col gap-1.5"
|
|
15
|
+
},
|
|
16
|
+
variants: {
|
|
17
|
+
direction: {
|
|
18
|
+
top: {
|
|
19
|
+
content: "top-0 mb-24 flex-col-reverse rounded-b-ui-box",
|
|
20
|
+
handle: "mb-4"
|
|
21
|
+
},
|
|
22
|
+
right: {
|
|
23
|
+
content: "right-4 flex-row rounded-l-ui-box",
|
|
24
|
+
handle: "ml-4"
|
|
25
|
+
},
|
|
26
|
+
bottom: {
|
|
27
|
+
content: "bottom-0 mt-24 flex-col rounded-t-ui-box",
|
|
28
|
+
handle: "mt-4"
|
|
29
|
+
},
|
|
30
|
+
left: {
|
|
31
|
+
content: "left-4 flex-row-reverse rounded-r-ui-box",
|
|
32
|
+
handle: "mr-4"
|
|
33
|
+
}
|
|
23
34
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
35
|
+
blur: {
|
|
36
|
+
true: {
|
|
37
|
+
overlay: "backdrop-blur-sm"
|
|
38
|
+
}
|
|
27
39
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
handle: "mr-4"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
blur: {
|
|
34
|
-
true: {
|
|
35
|
-
overlay: "backdrop-blur-sm"
|
|
40
|
+
full: {
|
|
41
|
+
true: ""
|
|
36
42
|
}
|
|
37
43
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
full: false,
|
|
67
|
-
class: {
|
|
68
|
-
content: "inset-y-4 rounded-ui-box after:hidden"
|
|
44
|
+
compoundVariants: [
|
|
45
|
+
{
|
|
46
|
+
direction: ["top", "bottom"],
|
|
47
|
+
class: {
|
|
48
|
+
content: "inset-x-0 h-auto max-h-[96%]",
|
|
49
|
+
handle: "w-12 h-1.5 mx-auto"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
direction: ["top", "bottom"],
|
|
54
|
+
full: false,
|
|
55
|
+
class: {
|
|
56
|
+
content: "inset-x-4 my-4 rounded-ui-box after:hidden"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
direction: ["right", "left"],
|
|
61
|
+
class: {
|
|
62
|
+
content: "inset-y-0 w-auto max-w-[calc(100%-2rem)]",
|
|
63
|
+
handle: "h-12 w-1.5 my-auto"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
direction: ["right", "left"],
|
|
68
|
+
full: false,
|
|
69
|
+
class: {
|
|
70
|
+
content: "inset-y-4 rounded-ui-box after:hidden"
|
|
71
|
+
}
|
|
69
72
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
);
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
export { default as accordion } from './accordion';
|
|
2
|
+
export { default as alert } from './alert';
|
|
2
3
|
export { default as app } from './app';
|
|
4
|
+
export { default as badge } from './badge';
|
|
3
5
|
export { default as button } from './button';
|
|
6
|
+
export { default as buttonGroup } from './button-group';
|
|
4
7
|
export { default as card } from './card';
|
|
8
|
+
export { default as carousel } from './carousel';
|
|
5
9
|
export { default as checkbox } from './checkbox';
|
|
10
|
+
export { default as chip } from './chip';
|
|
6
11
|
export { default as drawer } from './drawer';
|
|
7
12
|
export { default as input } from './input';
|
|
8
13
|
export { default as link } from './link';
|
|
9
14
|
export { default as modal } from './modal';
|
|
15
|
+
export { default as pagination } from './pagination';
|
|
16
|
+
export { default as pinInput } from './pinInput';
|
|
10
17
|
export { default as popover } from './popover';
|
|
11
|
-
export { default as radioGroup } from './
|
|
12
|
-
export { default as scrollArea } from './
|
|
18
|
+
export { default as radioGroup } from './radio-group';
|
|
19
|
+
export { default as scrollArea } from './scroll-area';
|
|
13
20
|
export { default as select } from './select';
|
|
21
|
+
export { default as slider } from './slider';
|
|
14
22
|
export { default as switch } from './switch';
|
|
15
23
|
export { default as tabs } from './tabs';
|
|
16
24
|
export { default as textarea } from './textarea';
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
export { default as accordion } from "./accordion.mjs";
|
|
2
|
+
export { default as alert } from "./alert.mjs";
|
|
2
3
|
export { default as app } from "./app.mjs";
|
|
4
|
+
export { default as badge } from "./badge.mjs";
|
|
3
5
|
export { default as button } from "./button.mjs";
|
|
6
|
+
export { default as buttonGroup } from "./button-group.mjs";
|
|
4
7
|
export { default as card } from "./card.mjs";
|
|
8
|
+
export { default as carousel } from "./carousel.mjs";
|
|
5
9
|
export { default as checkbox } from "./checkbox.mjs";
|
|
10
|
+
export { default as chip } from "./chip.mjs";
|
|
6
11
|
export { default as drawer } from "./drawer.mjs";
|
|
7
12
|
export { default as input } from "./input.mjs";
|
|
8
13
|
export { default as link } from "./link.mjs";
|
|
9
14
|
export { default as modal } from "./modal.mjs";
|
|
15
|
+
export { default as pagination } from "./pagination.mjs";
|
|
16
|
+
export { default as pinInput } from "./pinInput.mjs";
|
|
10
17
|
export { default as popover } from "./popover.mjs";
|
|
11
|
-
export { default as radioGroup } from "./
|
|
12
|
-
export { default as scrollArea } from "./
|
|
18
|
+
export { default as radioGroup } from "./radio-group.mjs";
|
|
19
|
+
export { default as scrollArea } from "./scroll-area.mjs";
|
|
13
20
|
export { default as select } from "./select.mjs";
|
|
21
|
+
export { default as slider } from "./slider.mjs";
|
|
14
22
|
export { default as switch } from "./switch.mjs";
|
|
15
23
|
export { default as tabs } from "./tabs.mjs";
|
|
16
24
|
export { default as textarea } from "./textarea.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
base: undefined;
|
|
3
3
|
slots: {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
base: string;
|
|
5
|
+
input: string[];
|
|
6
6
|
prefix: string;
|
|
7
7
|
prefixIcon: string;
|
|
8
8
|
suffix: string;
|
|
@@ -11,33 +11,36 @@ declare const _default: {
|
|
|
11
11
|
variants: {
|
|
12
12
|
size: {
|
|
13
13
|
xs: {
|
|
14
|
-
|
|
14
|
+
base: string;
|
|
15
15
|
};
|
|
16
16
|
sm: {
|
|
17
|
-
|
|
17
|
+
base: string;
|
|
18
18
|
};
|
|
19
19
|
md: {
|
|
20
|
-
|
|
20
|
+
base: string;
|
|
21
21
|
};
|
|
22
22
|
lg: {
|
|
23
|
-
|
|
23
|
+
base: string;
|
|
24
24
|
};
|
|
25
25
|
xl: {
|
|
26
|
-
|
|
26
|
+
base: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
variant: {
|
|
30
30
|
outline: {
|
|
31
|
-
|
|
31
|
+
base: string[];
|
|
32
32
|
};
|
|
33
33
|
soft: {
|
|
34
|
-
|
|
34
|
+
base: string[];
|
|
35
|
+
};
|
|
36
|
+
'soft-outline': {
|
|
37
|
+
base: string[];
|
|
35
38
|
};
|
|
36
39
|
ghost: {
|
|
37
|
-
|
|
40
|
+
base: string[];
|
|
38
41
|
};
|
|
39
42
|
none: {
|
|
40
|
-
|
|
43
|
+
base: string;
|
|
41
44
|
};
|
|
42
45
|
};
|
|
43
46
|
prefix: {
|
|
@@ -53,12 +56,18 @@ declare const _default: {
|
|
|
53
56
|
true: "";
|
|
54
57
|
};
|
|
55
58
|
highlight: {
|
|
56
|
-
true:
|
|
57
|
-
base: string;
|
|
58
|
-
};
|
|
59
|
+
true: "";
|
|
59
60
|
};
|
|
60
61
|
type: {
|
|
61
62
|
file: {
|
|
63
|
+
input: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
groupOrientation: {
|
|
67
|
+
horizontal: {
|
|
68
|
+
base: string;
|
|
69
|
+
};
|
|
70
|
+
vertical: {
|
|
62
71
|
base: string;
|
|
63
72
|
};
|
|
64
73
|
};
|
|
@@ -68,7 +77,8 @@ declare const _default: {
|
|
|
68
77
|
highlight: false;
|
|
69
78
|
underline: true;
|
|
70
79
|
class: {
|
|
71
|
-
|
|
80
|
+
base: string[];
|
|
81
|
+
input?: undefined;
|
|
72
82
|
prefixIcon?: undefined;
|
|
73
83
|
suffixIcon?: undefined;
|
|
74
84
|
};
|
|
@@ -79,7 +89,8 @@ declare const _default: {
|
|
|
79
89
|
} | {
|
|
80
90
|
size: ("xs" | "sm" | "md")[];
|
|
81
91
|
class: {
|
|
82
|
-
|
|
92
|
+
base: string;
|
|
93
|
+
input: string;
|
|
83
94
|
prefixIcon?: undefined;
|
|
84
95
|
suffixIcon?: undefined;
|
|
85
96
|
};
|
|
@@ -92,7 +103,8 @@ declare const _default: {
|
|
|
92
103
|
} | {
|
|
93
104
|
size: ("lg" | "xl")[];
|
|
94
105
|
class: {
|
|
95
|
-
|
|
106
|
+
base: string;
|
|
107
|
+
input: string;
|
|
96
108
|
prefixIcon?: undefined;
|
|
97
109
|
suffixIcon?: undefined;
|
|
98
110
|
};
|
|
@@ -103,10 +115,11 @@ declare const _default: {
|
|
|
103
115
|
prefix?: undefined;
|
|
104
116
|
suffix?: undefined;
|
|
105
117
|
} | {
|
|
106
|
-
variant: ("soft" | "ghost" | "none")[];
|
|
118
|
+
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
107
119
|
highlight: true;
|
|
108
120
|
class: {
|
|
109
|
-
|
|
121
|
+
base: string;
|
|
122
|
+
input?: undefined;
|
|
110
123
|
prefixIcon?: undefined;
|
|
111
124
|
suffixIcon?: undefined;
|
|
112
125
|
};
|
|
@@ -119,7 +132,8 @@ declare const _default: {
|
|
|
119
132
|
variant: "outline"[];
|
|
120
133
|
highlight: true;
|
|
121
134
|
class: {
|
|
122
|
-
|
|
135
|
+
base: string;
|
|
136
|
+
input?: undefined;
|
|
123
137
|
prefixIcon?: undefined;
|
|
124
138
|
suffixIcon?: undefined;
|
|
125
139
|
};
|
|
@@ -133,7 +147,8 @@ declare const _default: {
|
|
|
133
147
|
prefix: true;
|
|
134
148
|
class: {
|
|
135
149
|
prefixIcon: string;
|
|
136
|
-
|
|
150
|
+
base?: undefined;
|
|
151
|
+
input?: undefined;
|
|
137
152
|
suffixIcon?: undefined;
|
|
138
153
|
};
|
|
139
154
|
variant?: undefined;
|
|
@@ -147,7 +162,8 @@ declare const _default: {
|
|
|
147
162
|
suffix: true;
|
|
148
163
|
class: {
|
|
149
164
|
suffixIcon: string;
|
|
150
|
-
|
|
165
|
+
base?: undefined;
|
|
166
|
+
input?: undefined;
|
|
151
167
|
prefixIcon?: undefined;
|
|
152
168
|
};
|
|
153
169
|
variant?: undefined;
|
|
@@ -155,5 +171,8 @@ declare const _default: {
|
|
|
155
171
|
underline?: undefined;
|
|
156
172
|
size?: undefined;
|
|
157
173
|
})[];
|
|
174
|
+
defaultVariants: {
|
|
175
|
+
size: "md";
|
|
176
|
+
};
|
|
158
177
|
};
|
|
159
178
|
export default _default;
|