@byyuurin/ui 0.0.10 → 0.0.11

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.
Files changed (194) hide show
  1. package/README.md +2 -2
  2. package/dist/module.json +3 -3
  3. package/dist/module.mjs +1 -1
  4. package/dist/module.mjs.map +1 -1
  5. package/dist/runtime/app/injections.d.ts +388 -364
  6. package/dist/runtime/components/Accordion.vue +38 -67
  7. package/dist/runtime/components/Accordion.vue.d.ts +52 -0
  8. package/dist/runtime/components/Alert.vue +37 -75
  9. package/dist/runtime/components/Alert.vue.d.ts +59 -0
  10. package/dist/runtime/components/App.vue +25 -40
  11. package/dist/runtime/components/App.vue.d.ts +24 -0
  12. package/dist/runtime/components/Avatar.vue +31 -51
  13. package/dist/runtime/components/Avatar.vue.d.ts +25 -0
  14. package/dist/runtime/components/AvatarGroup.vue +38 -69
  15. package/dist/runtime/components/AvatarGroup.vue.d.ts +27 -0
  16. package/dist/runtime/components/Badge.vue +25 -51
  17. package/dist/runtime/components/Badge.vue.d.ts +44 -0
  18. package/dist/runtime/components/Breadcrumb.vue +36 -74
  19. package/dist/runtime/components/Breadcrumb.vue.d.ts +52 -0
  20. package/dist/runtime/components/Button.vue +62 -51
  21. package/dist/runtime/components/Button.vue.d.ts +29 -0
  22. package/dist/runtime/components/ButtonGroup.vue +17 -37
  23. package/dist/runtime/components/ButtonGroup.vue.d.ts +26 -0
  24. package/dist/runtime/components/Calendar.vue +75 -110
  25. package/dist/runtime/components/Calendar.vue.d.ts +75 -0
  26. package/dist/runtime/components/Card.vue +25 -42
  27. package/dist/runtime/components/Card.vue.d.ts +30 -0
  28. package/dist/runtime/components/Carousel.vue +118 -225
  29. package/dist/runtime/components/Carousel.vue.d.ts +104 -0
  30. package/dist/runtime/components/Checkbox.vue +46 -73
  31. package/dist/runtime/components/Checkbox.vue.d.ts +56 -0
  32. package/dist/runtime/components/Chip.vue +31 -48
  33. package/dist/runtime/components/Chip.vue.d.ts +30 -0
  34. package/dist/runtime/components/Collapsible.vue +22 -30
  35. package/dist/runtime/components/Collapsible.vue.d.ts +26 -0
  36. package/dist/runtime/components/Drawer.vue +51 -101
  37. package/dist/runtime/components/Drawer.vue.d.ts +80 -0
  38. package/dist/runtime/components/DropdownMenu.vue +37 -115
  39. package/dist/runtime/components/DropdownMenu.vue.d.ts +99 -0
  40. package/dist/runtime/components/DropdownMenuContent.vue +81 -77
  41. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +39 -0
  42. package/dist/runtime/components/Form.vue +140 -254
  43. package/dist/runtime/components/Form.vue.d.ts +78 -0
  44. package/dist/runtime/components/FormItem.vue +50 -89
  45. package/dist/runtime/components/FormItem.vue.d.ts +60 -0
  46. package/dist/runtime/components/Input.vue +79 -115
  47. package/dist/runtime/components/Input.vue.d.ts +64 -0
  48. package/dist/runtime/components/InputNumber.vue +74 -117
  49. package/dist/runtime/components/InputNumber.vue.d.ts +245 -0
  50. package/dist/runtime/components/Kbd.vue +18 -39
  51. package/dist/runtime/components/Kbd.vue.d.ts +28 -0
  52. package/dist/runtime/components/Link.vue +168 -257
  53. package/dist/runtime/components/Link.vue.d.ts +95 -0
  54. package/dist/runtime/components/LinkBase.vue +36 -54
  55. package/dist/runtime/components/LinkBase.vue.d.ts +28 -0
  56. package/dist/runtime/components/Modal.vue +49 -84
  57. package/dist/runtime/components/Modal.vue.d.ts +66 -0
  58. package/dist/runtime/components/OverlayProvider.vue +10 -14
  59. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  60. package/dist/runtime/components/Pagination.vue +55 -121
  61. package/dist/runtime/components/Pagination.vue.d.ts +93 -0
  62. package/dist/runtime/components/PinInput.vue +49 -58
  63. package/dist/runtime/components/PinInput.vue.d.ts +35 -0
  64. package/dist/runtime/components/Popover.vue +39 -68
  65. package/dist/runtime/components/Popover.vue.d.ts +45 -0
  66. package/dist/runtime/components/Progress.vue +68 -120
  67. package/dist/runtime/components/Progress.vue.d.ts +54 -0
  68. package/dist/runtime/components/RadioGroup.vue +67 -125
  69. package/dist/runtime/components/RadioGroup.vue.d.ts +74 -0
  70. package/dist/runtime/components/ScrollArea.vue +31 -31
  71. package/dist/runtime/components/ScrollArea.vue.d.ts +17 -0
  72. package/dist/runtime/components/Select.vue +114 -204
  73. package/dist/runtime/components/Select.vue.d.ts +119 -0
  74. package/dist/runtime/components/Separator.vue +26 -44
  75. package/dist/runtime/components/Separator.vue.d.ts +27 -0
  76. package/dist/runtime/components/Skeleton.vue +12 -21
  77. package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
  78. package/dist/runtime/components/Slider.vue +52 -74
  79. package/dist/runtime/components/Slider.vue.d.ts +36 -0
  80. package/dist/runtime/components/Switch.vue +51 -71
  81. package/dist/runtime/components/Switch.vue.d.ts +49 -0
  82. package/dist/runtime/components/Table.vue +108 -194
  83. package/dist/runtime/components/Table.vue.d.ts +148 -0
  84. package/dist/runtime/components/Tabs.vue +36 -81
  85. package/dist/runtime/components/Tabs.vue.d.ts +65 -0
  86. package/dist/runtime/components/Textarea.vue +77 -124
  87. package/dist/runtime/components/Textarea.vue.d.ts +60 -0
  88. package/dist/runtime/components/Toast.vue +47 -75
  89. package/dist/runtime/components/Toast.vue.d.ts +131 -0
  90. package/dist/runtime/components/ToastProvider.vue +65 -101
  91. package/dist/runtime/components/ToastProvider.vue.d.ts +38 -0
  92. package/dist/runtime/components/Tooltip.vue +36 -47
  93. package/dist/runtime/components/Tooltip.vue.d.ts +31 -0
  94. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  95. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  96. package/dist/runtime/composables/useFormItem.d.ts +2 -2
  97. package/dist/runtime/composables/useKbd.d.ts +1 -1
  98. package/dist/runtime/composables/useLocale.d.ts +3 -3
  99. package/dist/runtime/composables/useTheme.d.ts +1 -1
  100. package/dist/runtime/composables/useToast.d.ts +1 -1
  101. package/dist/runtime/locale/en.d.ts +1 -1
  102. package/dist/runtime/locale/zh-tw.d.ts +1 -1
  103. package/dist/runtime/theme/accordion.d.ts +45 -51
  104. package/dist/runtime/theme/accordion.js +1 -1
  105. package/dist/runtime/theme/alert.d.ts +115 -121
  106. package/dist/runtime/theme/alert.js +1 -1
  107. package/dist/runtime/theme/avatar-group.d.ts +42 -48
  108. package/dist/runtime/theme/avatar-group.js +1 -1
  109. package/dist/runtime/theme/avatar.d.ts +46 -52
  110. package/dist/runtime/theme/avatar.js +1 -1
  111. package/dist/runtime/theme/badge.d.ts +60 -66
  112. package/dist/runtime/theme/badge.js +1 -1
  113. package/dist/runtime/theme/breadcrumb.d.ts +52 -58
  114. package/dist/runtime/theme/breadcrumb.js +1 -1
  115. package/dist/runtime/theme/button-group.d.ts +36 -42
  116. package/dist/runtime/theme/button.d.ts +162 -168
  117. package/dist/runtime/theme/button.js +1 -1
  118. package/dist/runtime/theme/calendar.d.ts +52 -50
  119. package/dist/runtime/theme/calendar.js +20 -3
  120. package/dist/runtime/theme/card.d.ts +52 -58
  121. package/dist/runtime/theme/card.js +1 -1
  122. package/dist/runtime/theme/carousel.d.ts +98 -104
  123. package/dist/runtime/theme/carousel.js +1 -1
  124. package/dist/runtime/theme/checkbox.d.ts +77 -83
  125. package/dist/runtime/theme/checkbox.js +1 -1
  126. package/dist/runtime/theme/chip.d.ts +50 -56
  127. package/dist/runtime/theme/chip.js +1 -1
  128. package/dist/runtime/theme/collapsible.d.ts +29 -35
  129. package/dist/runtime/theme/collapsible.js +1 -1
  130. package/dist/runtime/theme/drawer.d.ts +120 -126
  131. package/dist/runtime/theme/drawer.js +1 -1
  132. package/dist/runtime/theme/dropdown-menu.d.ts +55 -61
  133. package/dist/runtime/theme/dropdown-menu.js +1 -1
  134. package/dist/runtime/theme/form-item.d.ts +63 -69
  135. package/dist/runtime/theme/form-item.js +1 -1
  136. package/dist/runtime/theme/form.d.ts +1 -7
  137. package/dist/runtime/theme/input-number.d.ts +98 -104
  138. package/dist/runtime/theme/input-number.js +1 -1
  139. package/dist/runtime/theme/input.d.ts +153 -159
  140. package/dist/runtime/theme/input.js +1 -1
  141. package/dist/runtime/theme/kbd.d.ts +30 -36
  142. package/dist/runtime/theme/link.d.ts +37 -43
  143. package/dist/runtime/theme/modal.d.ts +36 -42
  144. package/dist/runtime/theme/modal.js +1 -1
  145. package/dist/runtime/theme/pagination.d.ts +71 -77
  146. package/dist/runtime/theme/pagination.js +1 -1
  147. package/dist/runtime/theme/pinInput.d.ts +80 -86
  148. package/dist/runtime/theme/pinInput.js +1 -1
  149. package/dist/runtime/theme/popover.d.ts +29 -35
  150. package/dist/runtime/theme/popover.js +1 -1
  151. package/dist/runtime/theme/progress.d.ts +163 -169
  152. package/dist/runtime/theme/progress.js +1 -1
  153. package/dist/runtime/theme/radio-group.d.ts +99 -105
  154. package/dist/runtime/theme/radio-group.js +1 -1
  155. package/dist/runtime/theme/scroll-area.d.ts +62 -68
  156. package/dist/runtime/theme/scroll-area.js +1 -1
  157. package/dist/runtime/theme/select.d.ts +165 -171
  158. package/dist/runtime/theme/select.js +1 -1
  159. package/dist/runtime/theme/separator.d.ts +62 -68
  160. package/dist/runtime/theme/separator.js +1 -1
  161. package/dist/runtime/theme/skeleton.d.ts +1 -7
  162. package/dist/runtime/theme/slider.d.ts +62 -68
  163. package/dist/runtime/theme/slider.js +1 -1
  164. package/dist/runtime/theme/switch.d.ts +111 -117
  165. package/dist/runtime/theme/switch.js +1 -1
  166. package/dist/runtime/theme/table.d.ts +75 -81
  167. package/dist/runtime/theme/table.js +1 -1
  168. package/dist/runtime/theme/tabs.d.ts +114 -120
  169. package/dist/runtime/theme/tabs.js +1 -1
  170. package/dist/runtime/theme/textarea.d.ts +76 -82
  171. package/dist/runtime/theme/textarea.js +1 -1
  172. package/dist/runtime/theme/toast-provider.d.ts +106 -112
  173. package/dist/runtime/theme/toast-provider.js +1 -1
  174. package/dist/runtime/theme/toast.d.ts +74 -80
  175. package/dist/runtime/theme/toast.js +1 -1
  176. package/dist/runtime/theme/tooltip.d.ts +35 -41
  177. package/dist/runtime/theme/tooltip.js +1 -1
  178. package/dist/runtime/types/utils.d.ts +5 -5
  179. package/dist/runtime/utils/link.d.ts +3 -5
  180. package/dist/runtime/utils/styler.d.ts +2 -2
  181. package/dist/runtime/utils/styler.js +2 -2
  182. package/dist/shared/ui.D1BTWZFB.mjs +5 -0
  183. package/dist/shared/ui.D1BTWZFB.mjs.map +1 -0
  184. package/dist/types.d.mts +1 -1
  185. package/dist/unocss.mjs +5 -4
  186. package/dist/unocss.mjs.map +1 -1
  187. package/dist/unplugin.mjs +1 -1
  188. package/dist/unplugin.mjs.map +1 -1
  189. package/dist/vite.mjs +1 -1
  190. package/package.json +77 -75
  191. package/dist/module.cjs +0 -5
  192. package/dist/shared/ui.3e7fad19.mjs +0 -5
  193. package/dist/shared/ui.3e7fad19.mjs.map +0 -1
  194. package/dist/types.d.ts +0 -1
@@ -1,121 +1,115 @@
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
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ size: {
3
+ xs: {
4
+ base: string;
43
5
  };
44
- disabled: {
45
- true: {
46
- increment: string;
47
- decrement: string;
48
- };
6
+ sm: {
7
+ base: string;
49
8
  };
50
- orientation: {
51
- horizontal: {
52
- input: string;
53
- increment: string;
54
- decrement: string;
55
- };
56
- vertical: {
57
- increment: string;
58
- decrement: string;
59
- };
9
+ md: {
10
+ base: string;
60
11
  };
61
- underline: {
62
- true: "";
12
+ lg: {
13
+ base: string;
63
14
  };
64
- highlight: {
65
- true: {
66
- base: string;
67
- };
15
+ xl: {
16
+ base: string;
68
17
  };
69
18
  };
70
- compoundVariants: ({
71
- variant: ("soft" | "ghost" | "none")[];
72
- highlight: false;
73
- underline: true;
74
- class: {
19
+ variant: {
20
+ outline: {
75
21
  base: string[];
76
- input?: undefined;
77
22
  };
78
- size?: undefined;
79
- } | {
80
- size: ("xs" | "sm" | "md")[];
81
- class: {
82
- base: string;
83
- input: string;
23
+ soft: {
24
+ base: string[];
25
+ };
26
+ 'soft-outline': {
27
+ base: string[];
28
+ };
29
+ ghost: {
30
+ base: string[];
84
31
  };
85
- variant?: undefined;
86
- highlight?: undefined;
87
- underline?: undefined;
88
- } | {
89
- size: ("lg" | "xl")[];
90
- class: {
32
+ none: {
91
33
  base: string;
34
+ };
35
+ };
36
+ disabled: {
37
+ true: {
38
+ increment: string;
39
+ decrement: string;
40
+ };
41
+ };
42
+ orientation: {
43
+ horizontal: {
92
44
  input: string;
45
+ increment: string;
46
+ decrement: string;
93
47
  };
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;
48
+ vertical: {
49
+ increment: string;
50
+ decrement: string;
103
51
  };
104
- underline?: undefined;
105
- size?: undefined;
106
- } | {
107
- variant: "outline"[];
108
- highlight: true;
109
- class: {
52
+ };
53
+ underline: {
54
+ true: "";
55
+ };
56
+ highlight: {
57
+ true: {
110
58
  base: string;
111
- input?: undefined;
112
59
  };
113
- underline?: undefined;
114
- size?: undefined;
115
- })[];
116
- defaultVariants: {
117
- size: "md";
118
- variant: "outline";
119
60
  };
120
- };
61
+ }, ({
62
+ variant: ("soft" | "ghost" | "none")[];
63
+ highlight: false;
64
+ underline: true;
65
+ class: {
66
+ base: string[];
67
+ input?: undefined;
68
+ };
69
+ size?: undefined;
70
+ } | {
71
+ size: ("xs" | "sm" | "md")[];
72
+ class: {
73
+ base: string;
74
+ input: string;
75
+ };
76
+ variant?: undefined;
77
+ highlight?: undefined;
78
+ underline?: undefined;
79
+ } | {
80
+ size: ("lg" | "xl")[];
81
+ class: {
82
+ base: string;
83
+ input: string;
84
+ };
85
+ variant?: undefined;
86
+ highlight?: undefined;
87
+ underline?: undefined;
88
+ } | {
89
+ variant: ("soft" | "soft-outline" | "ghost" | "none")[];
90
+ highlight: true;
91
+ class: {
92
+ base: string;
93
+ input?: undefined;
94
+ };
95
+ underline?: undefined;
96
+ size?: undefined;
97
+ } | {
98
+ variant: "outline"[];
99
+ highlight: true;
100
+ class: {
101
+ base: string;
102
+ input?: undefined;
103
+ };
104
+ underline?: undefined;
105
+ size?: undefined;
106
+ })[], {
107
+ size: "md";
108
+ variant: "outline";
109
+ }, undefined, {
110
+ base: string;
111
+ input: string[];
112
+ increment: string;
113
+ decrement: string;
114
+ }>;
121
115
  export default _default;
@@ -3,7 +3,7 @@ import inputTheme from "./input.js";
3
3
  export default ct(
4
4
  /* @unocss-include */
5
5
  {
6
- slots: {
6
+ parts: {
7
7
  base: "relative inline-flex items-center rounded-ui-base transition-colors aria-disabled:opacity-50",
8
8
  input: [
9
9
  "w-full color-inherit bg-transparent border-0 placeholder:color-ui-base/50",
@@ -1,178 +1,172 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- base: string;
5
- input: string[];
6
- leading: string;
7
- leadingIcon: string;
8
- trailing: string;
9
- trailingIcon: string;
10
- };
11
- variants: {
12
- size: {
13
- xs: {
14
- base: string;
15
- };
16
- sm: {
17
- base: string;
18
- };
19
- md: {
20
- base: string;
21
- };
22
- lg: {
23
- base: string;
24
- };
25
- xl: {
26
- base: string;
27
- };
28
- };
29
- variant: {
30
- outline: {
31
- base: string[];
32
- };
33
- soft: {
34
- base: string[];
35
- };
36
- 'soft-outline': {
37
- base: string[];
38
- };
39
- ghost: {
40
- base: string[];
41
- };
42
- none: {
43
- base: string;
44
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ size: {
3
+ xs: {
4
+ base: string;
45
5
  };
46
- leading: {
47
- true: "";
6
+ sm: {
7
+ base: string;
48
8
  };
49
- trailing: {
50
- true: "";
9
+ md: {
10
+ base: string;
51
11
  };
52
- loading: {
53
- true: "";
12
+ lg: {
13
+ base: string;
54
14
  };
55
- underline: {
56
- true: "";
15
+ xl: {
16
+ base: string;
57
17
  };
58
- highlight: {
59
- true: "";
18
+ };
19
+ variant: {
20
+ outline: {
21
+ base: string[];
60
22
  };
61
- type: {
62
- file: {
63
- input: string;
64
- };
23
+ soft: {
24
+ base: string[];
65
25
  };
66
- groupOrientation: {
67
- horizontal: {
68
- base: string;
69
- };
70
- vertical: {
71
- base: string;
72
- };
26
+ 'soft-outline': {
27
+ base: string[];
73
28
  };
74
- };
75
- compoundVariants: ({
76
- variant: ("soft" | "ghost" | "none")[];
77
- highlight: false;
78
- underline: true;
79
- class: {
29
+ ghost: {
80
30
  base: string[];
81
- input?: undefined;
82
- leadingIcon?: undefined;
83
- trailingIcon?: undefined;
84
31
  };
85
- size?: undefined;
86
- loading?: undefined;
87
- leading?: undefined;
88
- trailing?: undefined;
89
- } | {
90
- size: ("xs" | "sm" | "md")[];
91
- class: {
32
+ none: {
92
33
  base: string;
93
- input: string;
94
- leadingIcon?: undefined;
95
- trailingIcon?: undefined;
96
34
  };
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;
35
+ };
36
+ leading: {
37
+ true: "";
38
+ };
39
+ trailing: {
40
+ true: "";
41
+ };
42
+ loading: {
43
+ true: "";
44
+ };
45
+ underline: {
46
+ true: "";
47
+ };
48
+ highlight: {
49
+ true: "";
50
+ };
51
+ type: {
52
+ file: {
107
53
  input: string;
108
- leadingIcon?: undefined;
109
- trailingIcon?: undefined;
110
54
  };
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: {
55
+ };
56
+ groupOrientation: {
57
+ horizontal: {
121
58
  base: string;
122
- input?: undefined;
123
- leadingIcon?: undefined;
124
- trailingIcon?: undefined;
125
59
  };
126
- underline?: undefined;
127
- size?: undefined;
128
- loading?: undefined;
129
- leading?: undefined;
130
- trailing?: undefined;
131
- } | {
132
- variant: "outline"[];
133
- highlight: true;
134
- class: {
60
+ vertical: {
135
61
  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
62
  };
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
- })[];
174
- defaultVariants: {
175
- size: "md";
176
- };
177
- };
63
+ };
64
+ }, ({
65
+ variant: ("soft" | "ghost" | "none")[];
66
+ highlight: false;
67
+ underline: true;
68
+ class: {
69
+ base: string[];
70
+ input?: undefined;
71
+ leadingIcon?: undefined;
72
+ trailingIcon?: undefined;
73
+ };
74
+ size?: undefined;
75
+ loading?: undefined;
76
+ leading?: undefined;
77
+ trailing?: undefined;
78
+ } | {
79
+ size: ("xs" | "sm" | "md")[];
80
+ class: {
81
+ base: string;
82
+ input: string;
83
+ leadingIcon?: undefined;
84
+ trailingIcon?: undefined;
85
+ };
86
+ variant?: undefined;
87
+ highlight?: undefined;
88
+ underline?: undefined;
89
+ loading?: undefined;
90
+ leading?: undefined;
91
+ trailing?: undefined;
92
+ } | {
93
+ size: ("lg" | "xl")[];
94
+ class: {
95
+ base: string;
96
+ input: string;
97
+ leadingIcon?: undefined;
98
+ trailingIcon?: undefined;
99
+ };
100
+ variant?: undefined;
101
+ highlight?: undefined;
102
+ underline?: undefined;
103
+ loading?: undefined;
104
+ leading?: undefined;
105
+ trailing?: undefined;
106
+ } | {
107
+ variant: ("soft" | "soft-outline" | "ghost" | "none")[];
108
+ highlight: true;
109
+ class: {
110
+ base: string;
111
+ input?: undefined;
112
+ leadingIcon?: undefined;
113
+ trailingIcon?: undefined;
114
+ };
115
+ underline?: undefined;
116
+ size?: undefined;
117
+ loading?: undefined;
118
+ leading?: undefined;
119
+ trailing?: undefined;
120
+ } | {
121
+ variant: "outline"[];
122
+ highlight: true;
123
+ class: {
124
+ base: string;
125
+ input?: undefined;
126
+ leadingIcon?: undefined;
127
+ trailingIcon?: undefined;
128
+ };
129
+ underline?: undefined;
130
+ size?: undefined;
131
+ loading?: undefined;
132
+ leading?: undefined;
133
+ trailing?: undefined;
134
+ } | {
135
+ loading: true;
136
+ leading: true;
137
+ class: {
138
+ leadingIcon: string;
139
+ base?: undefined;
140
+ input?: undefined;
141
+ trailingIcon?: undefined;
142
+ };
143
+ variant?: undefined;
144
+ highlight?: undefined;
145
+ underline?: undefined;
146
+ size?: undefined;
147
+ trailing?: undefined;
148
+ } | {
149
+ loading: true;
150
+ leading: false;
151
+ trailing: true;
152
+ class: {
153
+ trailingIcon: string;
154
+ base?: undefined;
155
+ input?: undefined;
156
+ leadingIcon?: undefined;
157
+ };
158
+ variant?: undefined;
159
+ highlight?: undefined;
160
+ underline?: undefined;
161
+ size?: undefined;
162
+ })[], {
163
+ size: "md";
164
+ }, undefined, {
165
+ base: string;
166
+ input: string[];
167
+ leading: string;
168
+ leadingIcon: string;
169
+ trailing: string;
170
+ trailingIcon: string;
171
+ }>;
178
172
  export default _default;
@@ -3,7 +3,7 @@ import { buttonGroupVariant } from "./button-group.js";
3
3
  export default ct(
4
4
  /* @unocss-include */
5
5
  {
6
- slots: {
6
+ parts: {
7
7
  base: "inline-flex items-center rounded-ui-base transition-colors aria-disabled:opacity-50",
8
8
  input: [
9
9
  "w-full color-inherit bg-transparent border-0 placeholder:color-ui-base/50",
@@ -1,39 +1,33 @@
1
- declare const _default: {
2
- base: string;
3
- slots: undefined;
4
- variants: {
5
- variant: {
6
- solid: "color-ui-cx bg-soft-ui-fill/90";
7
- outline: "color-ui-fill ring bg-ui-base/90 ring-inset ring-ui-fill/30";
8
- soft: "color-ui-fill/80 bg-soft-ui-fill/20";
9
- 'soft-outline': "color-ui-fill/80 bg-soft-ui-fill/20 ring ring-inset ring-ui-fill/30";
10
- };
11
- size: {
12
- xs: "text-xs";
13
- sm: "text-sm";
14
- md: "text-base";
15
- lg: "text-lg";
16
- xl: "text-xl";
17
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ variant: {
3
+ solid: "color-ui-cx bg-soft-ui-fill/90";
4
+ outline: "color-ui-fill ring bg-ui-base/90 ring-inset ring-ui-fill/30";
5
+ soft: "color-ui-fill/80 bg-soft-ui-fill/20";
6
+ 'soft-outline': "color-ui-fill/80 bg-soft-ui-fill/20 ring ring-inset ring-ui-fill/30";
18
7
  };
19
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
20
- variant: {
21
- solid: "color-ui-cx bg-soft-ui-fill/90";
22
- outline: "color-ui-fill ring bg-ui-base/90 ring-inset ring-ui-fill/30";
23
- soft: "color-ui-fill/80 bg-soft-ui-fill/20";
24
- 'soft-outline': "color-ui-fill/80 bg-soft-ui-fill/20 ring ring-inset ring-ui-fill/30";
25
- };
26
- size: {
27
- xs: "text-xs";
28
- sm: "text-sm";
29
- md: "text-base";
30
- lg: "text-lg";
31
- xl: "text-xl";
32
- };
33
- }, undefined, "inline-flex items-center justify-center px-0.25em rounded-ui-base leading-normal min-w-1.5em font-medium font-sans select-none">;
34
- defaultVariants: {
35
- variant: "outline";
36
- size: "md";
8
+ size: {
9
+ xs: "text-xs";
10
+ sm: "text-sm";
11
+ md: "text-base";
12
+ lg: "text-lg";
13
+ xl: "text-xl";
37
14
  };
38
- };
15
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
16
+ variant: {
17
+ solid: "color-ui-cx bg-soft-ui-fill/90";
18
+ outline: "color-ui-fill ring bg-ui-base/90 ring-inset ring-ui-fill/30";
19
+ soft: "color-ui-fill/80 bg-soft-ui-fill/20";
20
+ 'soft-outline': "color-ui-fill/80 bg-soft-ui-fill/20 ring ring-inset ring-ui-fill/30";
21
+ };
22
+ size: {
23
+ xs: "text-xs";
24
+ sm: "text-sm";
25
+ md: "text-base";
26
+ lg: "text-lg";
27
+ xl: "text-xl";
28
+ };
29
+ }, undefined, "inline-flex items-center justify-center px-0.25em rounded-ui-base leading-normal min-w-1.5em font-medium font-sans select-none">, {
30
+ variant: "outline";
31
+ size: "md";
32
+ }, "inline-flex items-center justify-center px-0.25em rounded-ui-base leading-normal min-w-1.5em font-medium font-sans select-none", undefined>;
39
33
  export default _default;