@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,73 +1,67 @@
1
1
  import type { TransitionGroupProps } from 'vue';
2
2
  export declare const transitionProps: TransitionGroupProps;
3
- declare const _default: {
4
- base: undefined;
5
- slots: {
6
- /** Contains all the parts of a scroll area. */
7
- root: string;
8
- /** The viewport area of the scroll area. */
9
- viewport: string;
10
- /** The vertical and horizontal scrollbar. */
11
- scrollbar: string[];
12
- /** The thumb to be used in `ScrollAreaScrollbar`. */
13
- thumb: string[];
14
- /** The corner where both vertical and horizontal scrollbars meet. */
15
- corner: string;
3
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
4
+ [variantName: string]: {
5
+ [variantValue: string]: "" | {
6
+ root?: import("@byyuurin/ui-kit").ClassValue;
7
+ viewport?: import("@byyuurin/ui-kit").ClassValue;
8
+ corner?: import("@byyuurin/ui-kit").ClassValue;
9
+ scrollbar?: import("@byyuurin/ui-kit").ClassValue;
10
+ thumb?: import("@byyuurin/ui-kit").ClassValue;
11
+ } | null;
16
12
  };
17
- variants: {
18
- [key: string]: {
19
- [key: string]: "" | {
20
- root?: import("@byyuurin/ui-kit").ClassValue;
21
- viewport?: import("@byyuurin/ui-kit").ClassValue;
22
- corner?: import("@byyuurin/ui-kit").ClassValue;
23
- scrollbar?: import("@byyuurin/ui-kit").ClassValue;
24
- thumb?: import("@byyuurin/ui-kit").ClassValue;
25
- } | null;
26
- };
13
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
14
+ [variantName: string]: {
15
+ [variantValue: string]: "" | {
16
+ root?: import("@byyuurin/ui-kit").ClassValue;
17
+ viewport?: import("@byyuurin/ui-kit").ClassValue;
18
+ corner?: import("@byyuurin/ui-kit").ClassValue;
19
+ scrollbar?: import("@byyuurin/ui-kit").ClassValue;
20
+ thumb?: import("@byyuurin/ui-kit").ClassValue;
21
+ } | null;
27
22
  };
28
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
29
- [key: string]: {
30
- [key: string]: "" | {
31
- root?: import("@byyuurin/ui-kit").ClassValue;
32
- viewport?: import("@byyuurin/ui-kit").ClassValue;
33
- corner?: import("@byyuurin/ui-kit").ClassValue;
34
- scrollbar?: import("@byyuurin/ui-kit").ClassValue;
35
- thumb?: import("@byyuurin/ui-kit").ClassValue;
36
- } | null;
37
- };
38
- }, {
39
- /** Contains all the parts of a scroll area. */
40
- root: string;
41
- /** The viewport area of the scroll area. */
42
- viewport: string;
43
- /** The vertical and horizontal scrollbar. */
44
- scrollbar: string[];
45
- /** The thumb to be used in `ScrollAreaScrollbar`. */
46
- thumb: string[];
47
- /** The corner where both vertical and horizontal scrollbars meet. */
48
- corner: string;
49
- }, undefined>;
50
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
51
- [key: string]: {
52
- [key: string]: "" | {
53
- root?: import("@byyuurin/ui-kit").ClassValue;
54
- viewport?: import("@byyuurin/ui-kit").ClassValue;
55
- corner?: import("@byyuurin/ui-kit").ClassValue;
56
- scrollbar?: import("@byyuurin/ui-kit").ClassValue;
57
- thumb?: import("@byyuurin/ui-kit").ClassValue;
58
- } | null;
59
- };
60
- }, {
61
- /** Contains all the parts of a scroll area. */
62
- root: string;
63
- /** The viewport area of the scroll area. */
64
- viewport: string;
65
- /** The vertical and horizontal scrollbar. */
66
- scrollbar: string[];
67
- /** The thumb to be used in `ScrollAreaScrollbar`. */
68
- thumb: string[];
69
- /** The corner where both vertical and horizontal scrollbars meet. */
70
- corner: string;
71
- }>;
72
- };
23
+ }, {
24
+ /** Contains all the parts of a scroll area. */
25
+ root: string;
26
+ /** The viewport area of the scroll area. */
27
+ viewport: string;
28
+ /** The vertical and horizontal scrollbar. */
29
+ scrollbar: string[];
30
+ /** The thumb to be used in `ScrollAreaScrollbar`. */
31
+ thumb: string[];
32
+ /** The corner where both vertical and horizontal scrollbars meet. */
33
+ corner: string;
34
+ }, undefined>, import("@byyuurin/ui-kit").CVDefaultVariants<{
35
+ [variantName: string]: {
36
+ [variantValue: string]: "" | {
37
+ root?: import("@byyuurin/ui-kit").ClassValue;
38
+ viewport?: import("@byyuurin/ui-kit").ClassValue;
39
+ corner?: import("@byyuurin/ui-kit").ClassValue;
40
+ scrollbar?: import("@byyuurin/ui-kit").ClassValue;
41
+ thumb?: import("@byyuurin/ui-kit").ClassValue;
42
+ } | null;
43
+ };
44
+ }, {
45
+ /** Contains all the parts of a scroll area. */
46
+ root: string;
47
+ /** The viewport area of the scroll area. */
48
+ viewport: string;
49
+ /** The vertical and horizontal scrollbar. */
50
+ scrollbar: string[];
51
+ /** The thumb to be used in `ScrollAreaScrollbar`. */
52
+ thumb: string[];
53
+ /** The corner where both vertical and horizontal scrollbars meet. */
54
+ corner: string;
55
+ }>, undefined, {
56
+ /** Contains all the parts of a scroll area. */
57
+ root: string;
58
+ /** The viewport area of the scroll area. */
59
+ viewport: string;
60
+ /** The vertical and horizontal scrollbar. */
61
+ scrollbar: string[];
62
+ /** The thumb to be used in `ScrollAreaScrollbar`. */
63
+ thumb: string[];
64
+ /** The corner where both vertical and horizontal scrollbars meet. */
65
+ corner: string;
66
+ }>;
73
67
  export default _default;
@@ -9,7 +9,7 @@ export const transitionProps = {
9
9
  export default ct(
10
10
  /* @unocss-include */
11
11
  {
12
- slots: {
12
+ parts: {
13
13
  /** Contains all the parts of a scroll area. */
14
14
  root: "relative overflow-hidden",
15
15
  /** The viewport area of the scroll area. */
@@ -1,192 +1,186 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- base: string[];
5
- value: string;
6
- placeholder: string;
7
- arrow: string;
8
- content: string[];
9
- viewport: string;
10
- group: string;
11
- empty: string;
12
- label: string;
13
- separator: string;
14
- item: string[];
15
- itemLeadingIcon: string;
16
- itemTrailing: string;
17
- itemTrailingIcon: string;
18
- itemLabel: string;
19
- leading: string;
20
- leadingIcon: string;
21
- trailing: string;
22
- trailingIcon: string;
23
- };
24
- variants: {
25
- variant: {
26
- outline: {
27
- base: string[];
28
- };
29
- soft: {
30
- base: string[];
31
- };
32
- 'soft-outline': {
33
- base: string[];
34
- };
35
- ghost: {
36
- base: string[];
37
- };
38
- none: {
39
- base: string;
40
- };
41
- };
42
- size: {
43
- xs: {
44
- base: string;
45
- item: string;
46
- };
47
- sm: {
48
- base: string;
49
- item: string;
50
- };
51
- md: {
52
- base: string;
53
- item: string;
54
- };
55
- lg: {
56
- base: string;
57
- item: string;
58
- };
59
- xl: {
60
- base: string;
61
- item: string;
62
- };
63
- };
64
- leading: {
65
- true: "";
66
- };
67
- trailing: {
68
- true: "";
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ variant: {
3
+ outline: {
4
+ base: string[];
69
5
  };
70
- loading: {
71
- true: "";
6
+ soft: {
7
+ base: string[];
72
8
  };
73
- underline: {
74
- true: "";
9
+ 'soft-outline': {
10
+ base: string[];
75
11
  };
76
- highlight: {
77
- true: "";
12
+ ghost: {
13
+ base: string[];
78
14
  };
79
- groupOrientation: {
80
- horizontal: {
81
- base: string;
82
- };
83
- vertical: {
84
- base: string;
85
- };
15
+ none: {
16
+ base: string;
86
17
  };
87
18
  };
88
- compoundVariants: ({
89
- variant: ("soft" | "ghost" | "none")[];
90
- highlight: false;
91
- underline: true;
92
- class: {
93
- base: string[];
94
- item?: undefined;
95
- leadingIcon?: undefined;
96
- trailingIcon?: undefined;
19
+ size: {
20
+ xs: {
21
+ base: string;
22
+ item: string;
97
23
  };
98
- size?: undefined;
99
- loading?: undefined;
100
- leading?: undefined;
101
- trailing?: undefined;
102
- } | {
103
- size: ("xs" | "sm" | "md")[];
104
- class: {
24
+ sm: {
105
25
  base: string;
106
26
  item: string;
107
- leadingIcon?: undefined;
108
- trailingIcon?: undefined;
109
27
  };
110
- variant?: undefined;
111
- highlight?: undefined;
112
- underline?: undefined;
113
- loading?: undefined;
114
- leading?: undefined;
115
- trailing?: undefined;
116
- } | {
117
- size: ("lg" | "xl")[];
118
- class: {
28
+ md: {
119
29
  base: string;
120
30
  item: string;
121
- leadingIcon?: undefined;
122
- trailingIcon?: undefined;
123
31
  };
124
- variant?: undefined;
125
- highlight?: undefined;
126
- underline?: undefined;
127
- loading?: undefined;
128
- leading?: undefined;
129
- trailing?: undefined;
130
- } | {
131
- variant: ("soft" | "soft-outline" | "ghost" | "none")[];
132
- highlight: true;
133
- class: {
32
+ lg: {
134
33
  base: string;
135
- item?: undefined;
136
- leadingIcon?: undefined;
137
- trailingIcon?: undefined;
34
+ item: string;
138
35
  };
139
- underline?: undefined;
140
- size?: undefined;
141
- loading?: undefined;
142
- leading?: undefined;
143
- trailing?: undefined;
144
- } | {
145
- variant: "outline"[];
146
- highlight: true;
147
- class: {
36
+ xl: {
148
37
  base: string;
149
- item?: undefined;
150
- leadingIcon?: undefined;
151
- trailingIcon?: undefined;
38
+ item: string;
152
39
  };
153
- underline?: undefined;
154
- size?: undefined;
155
- loading?: undefined;
156
- leading?: undefined;
157
- trailing?: undefined;
158
- } | {
159
- loading: true;
160
- leading: true;
161
- class: {
162
- leadingIcon: string;
163
- base?: undefined;
164
- item?: undefined;
165
- trailingIcon?: undefined;
40
+ };
41
+ leading: {
42
+ true: "";
43
+ };
44
+ trailing: {
45
+ true: "";
46
+ };
47
+ loading: {
48
+ true: "";
49
+ };
50
+ underline: {
51
+ true: "";
52
+ };
53
+ highlight: {
54
+ true: "";
55
+ };
56
+ groupOrientation: {
57
+ horizontal: {
58
+ base: string;
166
59
  };
167
- variant?: undefined;
168
- highlight?: undefined;
169
- underline?: undefined;
170
- size?: undefined;
171
- trailing?: undefined;
172
- } | {
173
- loading: true;
174
- leading: false;
175
- trailing: true;
176
- class: {
177
- trailingIcon: string;
178
- base?: undefined;
179
- item?: undefined;
180
- leadingIcon?: undefined;
60
+ vertical: {
61
+ base: string;
181
62
  };
182
- variant?: undefined;
183
- highlight?: undefined;
184
- underline?: undefined;
185
- size?: undefined;
186
- })[];
187
- defaultVariants: {
188
- variant: "outline";
189
- size: "md";
190
63
  };
191
- };
64
+ }, ({
65
+ variant: ("soft" | "ghost" | "none")[];
66
+ highlight: false;
67
+ underline: true;
68
+ class: {
69
+ base: string[];
70
+ item?: 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
+ item: 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
+ item: 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
+ item?: 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
+ item?: 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
+ item?: 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
+ item?: undefined;
156
+ leadingIcon?: undefined;
157
+ };
158
+ variant?: undefined;
159
+ highlight?: undefined;
160
+ underline?: undefined;
161
+ size?: undefined;
162
+ })[], {
163
+ variant: "outline";
164
+ size: "md";
165
+ }, undefined, {
166
+ base: string[];
167
+ value: string;
168
+ placeholder: string;
169
+ arrow: string;
170
+ content: string[];
171
+ viewport: string;
172
+ group: string;
173
+ empty: string;
174
+ label: string;
175
+ separator: string;
176
+ item: string[];
177
+ itemLeadingIcon: string;
178
+ itemTrailing: string;
179
+ itemTrailingIcon: string;
180
+ itemLabel: string;
181
+ leading: string;
182
+ leadingIcon: string;
183
+ trailing: string;
184
+ trailingIcon: string;
185
+ }>;
192
186
  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: [
8
8
  "group inline-flex items-center gap-x-2 rounded-ui-base focus:outline-none transition-colors",
9
9
  "disabled:cursor-not-allowed disabled:opacity-50"
@@ -1,80 +1,74 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- line: string;
6
- container: string;
7
- icon: string;
8
- label: string;
9
- };
10
- variants: {
11
- orientation: {
12
- horizontal: {
13
- root: string;
14
- line: string;
15
- container: string;
16
- };
17
- vertical: {
18
- root: string;
19
- line: string;
20
- container: string;
21
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ orientation: {
3
+ horizontal: {
4
+ root: string;
5
+ line: string;
6
+ container: string;
22
7
  };
23
- start: {
24
- true: {
25
- line: string;
26
- };
8
+ vertical: {
9
+ root: string;
10
+ line: string;
11
+ container: string;
27
12
  };
28
- end: {
29
- true: {
30
- line: string;
31
- };
13
+ };
14
+ start: {
15
+ true: {
16
+ line: string;
32
17
  };
33
18
  };
34
- compoundVariants: ({
35
- orientation: "vertical";
36
- start: true;
37
- class: {
19
+ end: {
20
+ true: {
38
21
  line: string;
39
22
  };
40
- end?: undefined;
41
- } | {
42
- orientation: "vertical";
43
- end: true;
44
- class: {
23
+ };
24
+ }, ({
25
+ orientation: "vertical";
26
+ start: true;
27
+ class: {
28
+ line: string;
29
+ };
30
+ end?: undefined;
31
+ } | {
32
+ orientation: "vertical";
33
+ end: true;
34
+ class: {
35
+ line: string;
36
+ };
37
+ start?: undefined;
38
+ })[], import("@byyuurin/ui-kit").CVDefaultVariants<{
39
+ orientation: {
40
+ horizontal: {
41
+ root: string;
45
42
  line: string;
43
+ container: string;
46
44
  };
47
- start?: undefined;
48
- })[];
49
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
50
- orientation: {
51
- horizontal: {
52
- root: string;
53
- line: string;
54
- container: string;
55
- };
56
- vertical: {
57
- root: string;
58
- line: string;
59
- container: string;
60
- };
45
+ vertical: {
46
+ root: string;
47
+ line: string;
48
+ container: string;
61
49
  };
62
- start: {
63
- true: {
64
- line: string;
65
- };
50
+ };
51
+ start: {
52
+ true: {
53
+ line: string;
66
54
  };
67
- end: {
68
- true: {
69
- line: string;
70
- };
55
+ };
56
+ end: {
57
+ true: {
58
+ line: string;
71
59
  };
72
- }, {
73
- root: string;
74
- line: string;
75
- container: string;
76
- icon: string;
77
- label: string;
78
- }>;
79
- };
60
+ };
61
+ }, {
62
+ root: string;
63
+ line: string;
64
+ container: string;
65
+ icon: string;
66
+ label: string;
67
+ }>, undefined, {
68
+ root: string;
69
+ line: string;
70
+ container: string;
71
+ icon: string;
72
+ label: string;
73
+ }>;
80
74
  export default _default;
@@ -2,7 +2,7 @@ import { ct } from "@byyuurin/ui-kit";
2
2
  export default ct(
3
3
  /* @unocss-include */
4
4
  {
5
- slots: {
5
+ parts: {
6
6
  root: "flex items-center justify-center text-center",
7
7
  line: "border-solid border-ui-fill/20",
8
8
  container: "color-ui-base/80 flex",
@@ -1,8 +1,2 @@
1
- declare const _default: {
2
- base: string;
3
- slots: undefined;
4
- variants: {};
5
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{}, undefined, "animate-pulse rounded-ui-base bg-soft-ui-cb/10">;
6
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{}, undefined>;
7
- };
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{}, import("@byyuurin/ui-kit").CVCompoundVariants<{}, undefined, "animate-pulse rounded-ui-base bg-soft-ui-cb/10">, import("@byyuurin/ui-kit").CVDefaultVariants<{}, undefined>, "animate-pulse rounded-ui-base bg-soft-ui-cb/10", undefined>;
8
2
  export default _default;