@byyuurin/ui 0.0.9 → 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 (215) hide show
  1. package/README.md +2 -5
  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 +9323 -3
  6. package/dist/runtime/app/injections.js +35 -0
  7. package/dist/runtime/components/Accordion.vue +36 -69
  8. package/dist/runtime/components/Accordion.vue.d.ts +52 -0
  9. package/dist/runtime/components/Alert.vue +37 -75
  10. package/dist/runtime/components/Alert.vue.d.ts +59 -0
  11. package/dist/runtime/components/App.vue +25 -40
  12. package/dist/runtime/components/App.vue.d.ts +24 -0
  13. package/dist/runtime/components/Avatar.vue +31 -51
  14. package/dist/runtime/components/Avatar.vue.d.ts +25 -0
  15. package/dist/runtime/components/AvatarGroup.vue +38 -69
  16. package/dist/runtime/components/AvatarGroup.vue.d.ts +27 -0
  17. package/dist/runtime/components/Badge.vue +25 -51
  18. package/dist/runtime/components/Badge.vue.d.ts +44 -0
  19. package/dist/runtime/components/Breadcrumb.vue +35 -77
  20. package/dist/runtime/components/Breadcrumb.vue.d.ts +52 -0
  21. package/dist/runtime/components/Button.vue +62 -51
  22. package/dist/runtime/components/Button.vue.d.ts +29 -0
  23. package/dist/runtime/components/ButtonGroup.vue +17 -37
  24. package/dist/runtime/components/ButtonGroup.vue.d.ts +26 -0
  25. package/dist/runtime/components/Calendar.vue +75 -101
  26. package/dist/runtime/components/Calendar.vue.d.ts +75 -0
  27. package/dist/runtime/components/Card.vue +25 -42
  28. package/dist/runtime/components/Card.vue.d.ts +30 -0
  29. package/dist/runtime/components/Carousel.vue +118 -223
  30. package/dist/runtime/components/Carousel.vue.d.ts +104 -0
  31. package/dist/runtime/components/Checkbox.vue +49 -71
  32. package/dist/runtime/components/Checkbox.vue.d.ts +56 -0
  33. package/dist/runtime/components/Chip.vue +31 -48
  34. package/dist/runtime/components/Chip.vue.d.ts +30 -0
  35. package/dist/runtime/components/Collapsible.vue +22 -30
  36. package/dist/runtime/components/Collapsible.vue.d.ts +26 -0
  37. package/dist/runtime/components/Drawer.vue +52 -102
  38. package/dist/runtime/components/Drawer.vue.d.ts +80 -0
  39. package/dist/runtime/components/DropdownMenu.vue +65 -0
  40. package/dist/runtime/components/DropdownMenu.vue.d.ts +99 -0
  41. package/dist/runtime/components/DropdownMenuContent.vue +192 -0
  42. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +39 -0
  43. package/dist/runtime/components/Form.vue +197 -0
  44. package/dist/runtime/components/Form.vue.d.ts +78 -0
  45. package/dist/runtime/components/FormItem.vue +90 -0
  46. package/dist/runtime/components/FormItem.vue.d.ts +60 -0
  47. package/dist/runtime/components/Input.vue +93 -115
  48. package/dist/runtime/components/Input.vue.d.ts +64 -0
  49. package/dist/runtime/components/InputNumber.vue +81 -116
  50. package/dist/runtime/components/InputNumber.vue.d.ts +245 -0
  51. package/dist/runtime/components/Kbd.vue +18 -39
  52. package/dist/runtime/components/Kbd.vue.d.ts +28 -0
  53. package/dist/runtime/components/Link.vue +170 -244
  54. package/dist/runtime/components/Link.vue.d.ts +95 -0
  55. package/dist/runtime/components/LinkBase.vue +36 -54
  56. package/dist/runtime/components/LinkBase.vue.d.ts +28 -0
  57. package/dist/runtime/components/Modal.vue +50 -85
  58. package/dist/runtime/components/Modal.vue.d.ts +66 -0
  59. package/dist/runtime/components/OverlayProvider.vue +10 -14
  60. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  61. package/dist/runtime/components/Pagination.vue +55 -121
  62. package/dist/runtime/components/Pagination.vue.d.ts +93 -0
  63. package/dist/runtime/components/PinInput.vue +57 -57
  64. package/dist/runtime/components/PinInput.vue.d.ts +35 -0
  65. package/dist/runtime/components/Popover.vue +39 -68
  66. package/dist/runtime/components/Popover.vue.d.ts +45 -0
  67. package/dist/runtime/components/Progress.vue +68 -120
  68. package/dist/runtime/components/Progress.vue.d.ts +54 -0
  69. package/dist/runtime/components/RadioGroup.vue +75 -129
  70. package/dist/runtime/components/RadioGroup.vue.d.ts +74 -0
  71. package/dist/runtime/components/ScrollArea.vue +31 -31
  72. package/dist/runtime/components/ScrollArea.vue.d.ts +17 -0
  73. package/dist/runtime/components/Select.vue +119 -199
  74. package/dist/runtime/components/Select.vue.d.ts +119 -0
  75. package/dist/runtime/components/Separator.vue +26 -44
  76. package/dist/runtime/components/Separator.vue.d.ts +27 -0
  77. package/dist/runtime/components/Skeleton.vue +12 -21
  78. package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
  79. package/dist/runtime/components/Slider.vue +54 -71
  80. package/dist/runtime/components/Slider.vue.d.ts +36 -0
  81. package/dist/runtime/components/Switch.vue +54 -68
  82. package/dist/runtime/components/Switch.vue.d.ts +49 -0
  83. package/dist/runtime/components/Table.vue +113 -186
  84. package/dist/runtime/components/Table.vue.d.ts +148 -0
  85. package/dist/runtime/components/Tabs.vue +35 -79
  86. package/dist/runtime/components/Tabs.vue.d.ts +65 -0
  87. package/dist/runtime/components/Textarea.vue +82 -123
  88. package/dist/runtime/components/Textarea.vue.d.ts +60 -0
  89. package/dist/runtime/components/Toast.vue +51 -76
  90. package/dist/runtime/components/Toast.vue.d.ts +131 -0
  91. package/dist/runtime/components/ToastProvider.vue +65 -101
  92. package/dist/runtime/components/ToastProvider.vue.d.ts +38 -0
  93. package/dist/runtime/components/Tooltip.vue +36 -47
  94. package/dist/runtime/components/Tooltip.vue.d.ts +31 -0
  95. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  96. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  97. package/dist/runtime/composables/useFormItem.d.ts +27 -0
  98. package/dist/runtime/composables/useFormItem.js +64 -0
  99. package/dist/runtime/composables/useKbd.d.ts +1 -1
  100. package/dist/runtime/composables/useLocale.d.ts +3 -3
  101. package/dist/runtime/composables/useTheme.d.ts +1 -1
  102. package/dist/runtime/composables/useTheme.js +2 -1
  103. package/dist/runtime/composables/useToast.d.ts +1 -1
  104. package/dist/runtime/index.d.ts +3 -0
  105. package/dist/runtime/index.js +3 -0
  106. package/dist/runtime/locale/en.d.ts +1 -1
  107. package/dist/runtime/locale/zh-tw.d.ts +1 -1
  108. package/dist/runtime/theme/accordion.d.ts +45 -51
  109. package/dist/runtime/theme/accordion.js +1 -1
  110. package/dist/runtime/theme/alert.d.ts +115 -121
  111. package/dist/runtime/theme/alert.js +1 -1
  112. package/dist/runtime/theme/app.d.ts +1 -0
  113. package/dist/runtime/theme/app.js +2 -1
  114. package/dist/runtime/theme/avatar-group.d.ts +42 -48
  115. package/dist/runtime/theme/avatar-group.js +1 -1
  116. package/dist/runtime/theme/avatar.d.ts +46 -52
  117. package/dist/runtime/theme/avatar.js +1 -1
  118. package/dist/runtime/theme/badge.d.ts +63 -93
  119. package/dist/runtime/theme/badge.js +1 -1
  120. package/dist/runtime/theme/breadcrumb.d.ts +52 -58
  121. package/dist/runtime/theme/breadcrumb.js +1 -1
  122. package/dist/runtime/theme/button-group.d.ts +36 -42
  123. package/dist/runtime/theme/button.d.ts +165 -117
  124. package/dist/runtime/theme/button.js +1 -1
  125. package/dist/runtime/theme/calendar.d.ts +52 -50
  126. package/dist/runtime/theme/calendar.js +20 -3
  127. package/dist/runtime/theme/card.d.ts +52 -58
  128. package/dist/runtime/theme/card.js +1 -1
  129. package/dist/runtime/theme/carousel.d.ts +98 -104
  130. package/dist/runtime/theme/carousel.js +1 -1
  131. package/dist/runtime/theme/checkbox.d.ts +77 -83
  132. package/dist/runtime/theme/checkbox.js +1 -1
  133. package/dist/runtime/theme/chip.d.ts +50 -89
  134. package/dist/runtime/theme/chip.js +1 -1
  135. package/dist/runtime/theme/collapsible.d.ts +29 -35
  136. package/dist/runtime/theme/collapsible.js +1 -1
  137. package/dist/runtime/theme/drawer.d.ts +131 -102
  138. package/dist/runtime/theme/drawer.js +1 -1
  139. package/dist/runtime/theme/dropdown-menu.d.ts +65 -0
  140. package/dist/runtime/theme/dropdown-menu.js +83 -0
  141. package/dist/runtime/theme/form-item.d.ts +70 -0
  142. package/dist/runtime/theme/form-item.js +34 -0
  143. package/dist/runtime/theme/form.d.ts +2 -0
  144. package/dist/runtime/theme/form.js +7 -0
  145. package/dist/runtime/theme/index.d.ts +3 -0
  146. package/dist/runtime/theme/index.js +3 -0
  147. package/dist/runtime/theme/input-number.d.ts +100 -126
  148. package/dist/runtime/theme/input-number.js +1 -1
  149. package/dist/runtime/theme/input.d.ts +153 -131
  150. package/dist/runtime/theme/input.js +3 -3
  151. package/dist/runtime/theme/kbd.d.ts +30 -36
  152. package/dist/runtime/theme/link.d.ts +37 -43
  153. package/dist/runtime/theme/modal.d.ts +35 -69
  154. package/dist/runtime/theme/modal.js +1 -1
  155. package/dist/runtime/theme/pagination.d.ts +71 -77
  156. package/dist/runtime/theme/pagination.js +1 -1
  157. package/dist/runtime/theme/pinInput.d.ts +82 -88
  158. package/dist/runtime/theme/pinInput.js +2 -2
  159. package/dist/runtime/theme/popover.d.ts +29 -35
  160. package/dist/runtime/theme/popover.js +1 -1
  161. package/dist/runtime/theme/progress.d.ts +167 -109
  162. package/dist/runtime/theme/progress.js +1 -1
  163. package/dist/runtime/theme/radio-group.d.ts +99 -105
  164. package/dist/runtime/theme/radio-group.js +1 -1
  165. package/dist/runtime/theme/scroll-area.d.ts +62 -68
  166. package/dist/runtime/theme/scroll-area.js +1 -1
  167. package/dist/runtime/theme/select.d.ts +168 -158
  168. package/dist/runtime/theme/select.js +3 -2
  169. package/dist/runtime/theme/separator.d.ts +64 -85
  170. package/dist/runtime/theme/separator.js +1 -1
  171. package/dist/runtime/theme/skeleton.d.ts +1 -7
  172. package/dist/runtime/theme/slider.d.ts +62 -68
  173. package/dist/runtime/theme/slider.js +1 -1
  174. package/dist/runtime/theme/switch.d.ts +111 -117
  175. package/dist/runtime/theme/switch.js +1 -1
  176. package/dist/runtime/theme/table.d.ts +75 -78
  177. package/dist/runtime/theme/table.js +3 -2
  178. package/dist/runtime/theme/tabs.d.ts +116 -139
  179. package/dist/runtime/theme/tabs.js +1 -1
  180. package/dist/runtime/theme/textarea.d.ts +78 -90
  181. package/dist/runtime/theme/textarea.js +2 -2
  182. package/dist/runtime/theme/toast-provider.d.ts +110 -131
  183. package/dist/runtime/theme/toast-provider.js +1 -1
  184. package/dist/runtime/theme/toast.d.ts +74 -80
  185. package/dist/runtime/theme/toast.js +1 -1
  186. package/dist/runtime/theme/tooltip.d.ts +35 -41
  187. package/dist/runtime/theme/tooltip.js +1 -1
  188. package/dist/runtime/types/components.d.ts +3 -0
  189. package/dist/runtime/types/form.d.ts +45 -0
  190. package/dist/runtime/types/form.js +0 -0
  191. package/dist/runtime/types/index.d.ts +5 -2
  192. package/dist/runtime/types/index.js +1 -0
  193. package/dist/runtime/types/utils.d.ts +37 -16
  194. package/dist/runtime/utils/extend-theme.js +15 -4
  195. package/dist/runtime/utils/form.d.ts +5 -0
  196. package/dist/runtime/utils/form.js +24 -0
  197. package/dist/runtime/utils/index.d.ts +2 -0
  198. package/dist/runtime/utils/index.js +4 -0
  199. package/dist/runtime/utils/link.d.ts +4 -28
  200. package/dist/runtime/utils/link.js +10 -3
  201. package/dist/runtime/utils/styler.d.ts +2 -2
  202. package/dist/runtime/utils/styler.js +2 -2
  203. package/dist/shared/ui.D1BTWZFB.mjs +5 -0
  204. package/dist/shared/ui.D1BTWZFB.mjs.map +1 -0
  205. package/dist/types.d.mts +1 -1
  206. package/dist/unocss.mjs +7 -6
  207. package/dist/unocss.mjs.map +1 -1
  208. package/dist/unplugin.mjs +1 -1
  209. package/dist/unplugin.mjs.map +1 -1
  210. package/dist/vite.mjs +1 -1
  211. package/package.json +78 -74
  212. package/dist/module.cjs +0 -5
  213. package/dist/shared/ui.1a1f119c.mjs +0 -5
  214. package/dist/shared/ui.1a1f119c.mjs.map +0 -1
  215. package/dist/types.d.ts +0 -1
@@ -1,176 +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: "";
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ variant: {
3
+ outline: {
4
+ base: string[];
66
5
  };
67
- trailing: {
68
- true: "";
6
+ soft: {
7
+ base: string[];
69
8
  };
70
- loading: {
71
- true: "";
9
+ 'soft-outline': {
10
+ base: string[];
72
11
  };
73
- underline: {
74
- true: "";
12
+ ghost: {
13
+ base: string[];
75
14
  };
76
- highlight: {
77
- true: "";
78
- };
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: import("@byyuurin/ui-kit").CVCompoundVariants<{
89
- variant: {
90
- outline: {
91
- base: string[];
92
- };
93
- soft: {
94
- base: string[];
95
- };
96
- 'soft-outline': {
97
- base: string[];
98
- };
99
- ghost: {
100
- base: string[];
101
- };
102
- none: {
103
- base: string;
104
- };
105
- };
106
- size: {
107
- xs: {
108
- base: string;
109
- item: string;
110
- };
111
- sm: {
112
- base: string;
113
- item: string;
114
- };
115
- md: {
116
- base: string;
117
- item: string;
118
- };
119
- lg: {
120
- base: string;
121
- item: string;
122
- };
123
- xl: {
124
- base: string;
125
- item: string;
126
- };
19
+ size: {
20
+ xs: {
21
+ base: string;
22
+ item: string;
127
23
  };
128
- leading: {
129
- true: "";
24
+ sm: {
25
+ base: string;
26
+ item: string;
130
27
  };
131
- trailing: {
132
- true: "";
28
+ md: {
29
+ base: string;
30
+ item: string;
133
31
  };
134
- loading: {
135
- true: "";
32
+ lg: {
33
+ base: string;
34
+ item: string;
136
35
  };
137
- underline: {
138
- true: "";
36
+ xl: {
37
+ base: string;
38
+ item: string;
139
39
  };
140
- highlight: {
141
- true: "";
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;
142
59
  };
143
- groupOrientation: {
144
- horizontal: {
145
- base: string;
146
- };
147
- vertical: {
148
- base: string;
149
- };
60
+ vertical: {
61
+ base: string;
150
62
  };
151
- }, {
63
+ };
64
+ }, ({
65
+ variant: ("soft" | "ghost" | "none")[];
66
+ highlight: false;
67
+ underline: true;
68
+ class: {
152
69
  base: string[];
153
- value: string;
154
- placeholder: string;
155
- arrow: string;
156
- content: string[];
157
- viewport: string;
158
- group: string;
159
- empty: string;
160
- label: string;
161
- separator: string;
162
- item: string[];
163
- itemLeadingIcon: string;
164
- itemTrailing: string;
165
- itemTrailingIcon: string;
166
- itemLabel: string;
167
- leading: 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: {
168
138
  leadingIcon: string;
169
- trailing: 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: {
170
153
  trailingIcon: string;
171
- }, undefined>;
172
- defaultVariants: {
173
- size: "md";
154
+ base?: undefined;
155
+ item?: undefined;
156
+ leadingIcon?: undefined;
174
157
  };
175
- };
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
+ }>;
176
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"
@@ -43,7 +43,7 @@ export default ct(
43
43
  base: [
44
44
  "color-ui-base/80 bg-ui-base ring ring-inset ring-ui-base/30 data-[state=open]:ring-2 data-[state=open]:ring-ui-base/50",
45
45
  "focus-within:ring-2 focus-within:ring-ui-base/50",
46
- "disabled:ring-ui-base/80 hover:disabled:ring-ui-base/80"
46
+ "disabled:ring-ui-base/15 hover:disabled:ring-ui-base/15"
47
47
  ]
48
48
  },
49
49
  "soft": {
@@ -166,6 +166,7 @@ export default ct(
166
166
  }
167
167
  ],
168
168
  defaultVariants: {
169
+ variant: "outline",
169
170
  size: "md"
170
171
  }
171
172
  }
@@ -1,95 +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
- };
27
- };
28
- end: {
29
- true: {
30
- line: string;
31
- };
8
+ vertical: {
9
+ root: string;
10
+ line: string;
11
+ container: string;
32
12
  };
33
13
  };
34
- compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
35
- orientation: {
36
- horizontal: {
37
- root: string;
38
- line: string;
39
- container: string;
40
- };
41
- vertical: {
42
- root: string;
43
- line: string;
44
- container: string;
45
- };
46
- };
47
- start: {
48
- true: {
49
- line: string;
50
- };
14
+ start: {
15
+ true: {
16
+ line: string;
51
17
  };
52
- end: {
53
- true: {
54
- line: string;
55
- };
18
+ };
19
+ end: {
20
+ true: {
21
+ line: string;
56
22
  };
57
- }, {
58
- root: string;
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: {
59
35
  line: string;
60
- container: string;
61
- icon: string;
62
- label: string;
63
- }, undefined>;
64
- defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
65
- orientation: {
66
- horizontal: {
67
- root: string;
68
- line: string;
69
- container: string;
70
- };
71
- vertical: {
72
- root: string;
73
- line: string;
74
- container: string;
75
- };
36
+ };
37
+ start?: undefined;
38
+ })[], import("@byyuurin/ui-kit").CVDefaultVariants<{
39
+ orientation: {
40
+ horizontal: {
41
+ root: string;
42
+ line: string;
43
+ container: string;
76
44
  };
77
- start: {
78
- true: {
79
- line: string;
80
- };
45
+ vertical: {
46
+ root: string;
47
+ line: string;
48
+ container: string;
81
49
  };
82
- end: {
83
- true: {
84
- line: string;
85
- };
50
+ };
51
+ start: {
52
+ true: {
53
+ line: string;
86
54
  };
87
- }, {
88
- root: string;
89
- line: string;
90
- container: string;
91
- icon: string;
92
- label: string;
93
- }>;
94
- };
55
+ };
56
+ end: {
57
+ true: {
58
+ line: string;
59
+ };
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
+ }>;
95
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;
@@ -1,76 +1,70 @@
1
- declare const _default: {
2
- base: undefined;
3
- slots: {
4
- root: string;
5
- track: string[];
6
- range: string;
7
- thumb: string[];
1
+ declare const _default: import("@byyuurin/ui-kit").CVScopeMeta<{
2
+ size: {
3
+ xs: {
4
+ root: string;
5
+ };
6
+ sm: {
7
+ root: string;
8
+ };
9
+ md: {
10
+ root: string;
11
+ };
12
+ lg: {
13
+ root: string;
14
+ };
15
+ xl: {
16
+ root: string;
17
+ };
8
18
  };
9
- variants: {
10
- size: {
11
- xs: {
12
- root: string;
13
- };
14
- sm: {
15
- root: string;
16
- };
17
- md: {
18
- root: string;
19
- };
20
- lg: {
21
- root: string;
22
- };
23
- xl: {
24
- root: string;
25
- };
19
+ orientation: {
20
+ horizontal: {
21
+ root: string;
22
+ range: string;
23
+ };
24
+ vertical: {
25
+ root: string;
26
+ range: string;
27
+ };
28
+ };
29
+ }, import("@byyuurin/ui-kit").CVCompoundVariants<{
30
+ size: {
31
+ xs: {
32
+ root: string;
33
+ };
34
+ sm: {
35
+ root: string;
36
+ };
37
+ md: {
38
+ root: string;
39
+ };
40
+ lg: {
41
+ root: string;
26
42
  };
27
- orientation: {
28
- horizontal: {
29
- root: string;
30
- range: string;
31
- };
32
- vertical: {
33
- root: string;
34
- range: string;
35
- };
43
+ xl: {
44
+ root: string;
36
45
  };
37
46
  };
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
- };
47
+ orientation: {
48
+ horizontal: {
49
+ root: string;
50
+ range: string;
55
51
  };
56
- orientation: {
57
- horizontal: {
58
- root: string;
59
- range: string;
60
- };
61
- vertical: {
62
- root: string;
63
- range: string;
64
- };
52
+ vertical: {
53
+ root: string;
54
+ range: string;
65
55
  };
66
- }, {
67
- root: string;
68
- track: string[];
69
- range: string;
70
- thumb: string[];
71
- }, undefined>;
72
- defaultVariants: {
73
- size: "md";
74
56
  };
75
- };
57
+ }, {
58
+ root: string;
59
+ track: string[];
60
+ range: string;
61
+ thumb: string[];
62
+ }, undefined>, {
63
+ size: "md";
64
+ }, undefined, {
65
+ root: string;
66
+ track: string[];
67
+ range: string;
68
+ thumb: string[];
69
+ }>;
76
70
  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: "relative flex items-center select-none touch-none aria-disabled:opacity-50",
7
7
  track: [
8
8
  "relative bg-soft-ui-cb/10 overflow-hidden rounded-full flex-grow cursor-pointer",