@bitrix24/b24ui-nuxt 0.6.0 → 0.6.2

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 (224) hide show
  1. package/.nuxt/b24ui/advice.ts +10 -2
  2. package/.nuxt/b24ui/alert.ts +10 -2
  3. package/.nuxt/b24ui/avatar-group.ts +10 -2
  4. package/.nuxt/b24ui/avatar.ts +10 -2
  5. package/.nuxt/b24ui/badge.ts +10 -2
  6. package/.nuxt/b24ui/button-group.ts +10 -2
  7. package/.nuxt/b24ui/button.ts +16 -6
  8. package/.nuxt/b24ui/calendar.ts +10 -2
  9. package/.nuxt/b24ui/checkbox.ts +10 -2
  10. package/.nuxt/b24ui/chip.ts +10 -2
  11. package/.nuxt/b24ui/collapsible.ts +10 -2
  12. package/.nuxt/b24ui/container.ts +10 -2
  13. package/.nuxt/b24ui/countdown.ts +10 -2
  14. package/.nuxt/b24ui/description-list.ts +10 -2
  15. package/.nuxt/b24ui/dropdown-menu.ts +10 -2
  16. package/.nuxt/b24ui/form-field.ts +10 -2
  17. package/.nuxt/b24ui/form.ts +10 -2
  18. package/.nuxt/b24ui/input-menu.ts +10 -2
  19. package/.nuxt/b24ui/input-number.ts +10 -2
  20. package/.nuxt/b24ui/input.ts +10 -2
  21. package/.nuxt/b24ui/kbd.ts +10 -2
  22. package/.nuxt/b24ui/link.ts +10 -2
  23. package/.nuxt/b24ui/modal.ts +10 -2
  24. package/.nuxt/b24ui/navbar-divider.ts +10 -2
  25. package/.nuxt/b24ui/navbar-section.ts +10 -2
  26. package/.nuxt/b24ui/navbar-spacer.ts +10 -2
  27. package/.nuxt/b24ui/navbar.ts +10 -2
  28. package/.nuxt/b24ui/navigation-menu.ts +10 -2
  29. package/.nuxt/b24ui/popover.ts +10 -2
  30. package/.nuxt/b24ui/progress.ts +10 -2
  31. package/.nuxt/b24ui/radio-group.ts +10 -2
  32. package/.nuxt/b24ui/range.ts +10 -2
  33. package/.nuxt/b24ui/select-menu.ts +10 -2
  34. package/.nuxt/b24ui/select.ts +10 -2
  35. package/.nuxt/b24ui/separator.ts +10 -2
  36. package/.nuxt/b24ui/sidebar-body.ts +10 -2
  37. package/.nuxt/b24ui/sidebar-footer.ts +10 -2
  38. package/.nuxt/b24ui/sidebar-header.ts +10 -2
  39. package/.nuxt/b24ui/sidebar-heading.ts +10 -2
  40. package/.nuxt/b24ui/sidebar-layout.ts +10 -2
  41. package/.nuxt/b24ui/sidebar-section.ts +10 -2
  42. package/.nuxt/b24ui/sidebar-spacer.ts +10 -2
  43. package/.nuxt/b24ui/sidebar.ts +10 -2
  44. package/.nuxt/b24ui/skeleton.ts +10 -2
  45. package/.nuxt/b24ui/slideover.ts +10 -2
  46. package/.nuxt/b24ui/stacked-layout.ts +10 -2
  47. package/.nuxt/b24ui/switch.ts +10 -2
  48. package/.nuxt/b24ui/tabs.ts +10 -2
  49. package/.nuxt/b24ui/textarea.ts +10 -2
  50. package/.nuxt/b24ui/toast.ts +10 -2
  51. package/.nuxt/b24ui/toaster.ts +10 -2
  52. package/.nuxt/b24ui/tooltip.ts +10 -2
  53. package/cli/templates.mjs +19 -15
  54. package/dist/meta.d.mts +1807 -3391
  55. package/dist/meta.mjs +1807 -3391
  56. package/dist/module.json +1 -1
  57. package/dist/module.mjs +2 -2
  58. package/dist/runtime/components/Advice.vue +5 -6
  59. package/dist/runtime/components/Advice.vue.d.ts +7 -121
  60. package/dist/runtime/components/Alert.vue +5 -6
  61. package/dist/runtime/components/Alert.vue.d.ts +12 -379
  62. package/dist/runtime/components/Avatar.vue +5 -6
  63. package/dist/runtime/components/Avatar.vue.d.ts +6 -225
  64. package/dist/runtime/components/AvatarGroup.vue +5 -6
  65. package/dist/runtime/components/AvatarGroup.vue.d.ts +6 -170
  66. package/dist/runtime/components/Badge.vue +5 -6
  67. package/dist/runtime/components/Badge.vue.d.ts +8 -447
  68. package/dist/runtime/components/Button.vue +16 -14
  69. package/dist/runtime/components/Button.vue.d.ts +10 -535
  70. package/dist/runtime/components/ButtonGroup.vue +11 -6
  71. package/dist/runtime/components/ButtonGroup.vue.d.ts +8 -61
  72. package/dist/runtime/components/Calendar.vue +4 -5
  73. package/dist/runtime/components/Calendar.vue.d.ts +7 -337
  74. package/dist/runtime/components/Checkbox.vue +5 -6
  75. package/dist/runtime/components/Checkbox.vue.d.ts +7 -306
  76. package/dist/runtime/components/Chip.vue +5 -6
  77. package/dist/runtime/components/Chip.vue.d.ts +8 -202
  78. package/dist/runtime/components/Collapsible.vue +6 -6
  79. package/dist/runtime/components/Collapsible.vue.d.ts +5 -73
  80. package/dist/runtime/components/Container.vue +6 -5
  81. package/dist/runtime/components/Countdown.vue +6 -7
  82. package/dist/runtime/components/Countdown.vue.d.ts +7 -241
  83. package/dist/runtime/components/DescriptionList.vue +5 -6
  84. package/dist/runtime/components/DescriptionList.vue.d.ts +8 -278
  85. package/dist/runtime/components/DropdownMenu.vue +4 -5
  86. package/dist/runtime/components/DropdownMenu.vue.d.ts +9 -409
  87. package/dist/runtime/components/DropdownMenuContent.vue +1 -3
  88. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +9 -186
  89. package/dist/runtime/components/Form.vue +8 -6
  90. package/dist/runtime/components/Form.vue.d.ts +6 -0
  91. package/dist/runtime/components/FormField.vue +5 -6
  92. package/dist/runtime/components/FormField.vue.d.ts +6 -215
  93. package/dist/runtime/components/Input.vue +4 -5
  94. package/dist/runtime/components/Input.vue.d.ts +8 -628
  95. package/dist/runtime/components/InputMenu.vue +4 -5
  96. package/dist/runtime/components/InputMenu.vue.d.ts +19 -1185
  97. package/dist/runtime/components/InputNumber.vue +4 -5
  98. package/dist/runtime/components/InputNumber.vue.d.ts +10 -430
  99. package/dist/runtime/components/Kbd.vue +6 -5
  100. package/dist/runtime/components/Kbd.vue.d.ts +6 -60
  101. package/dist/runtime/components/Link.vue +12 -11
  102. package/dist/runtime/components/Modal.vue +5 -6
  103. package/dist/runtime/components/Modal.vue.d.ts +13 -216
  104. package/dist/runtime/components/Navbar.vue +6 -6
  105. package/dist/runtime/components/Navbar.vue.d.ts +5 -60
  106. package/dist/runtime/components/NavbarDivider.vue +6 -6
  107. package/dist/runtime/components/NavbarDivider.vue.d.ts +5 -60
  108. package/dist/runtime/components/NavbarSection.vue +6 -6
  109. package/dist/runtime/components/NavbarSection.vue.d.ts +5 -60
  110. package/dist/runtime/components/NavbarSpacer.vue +6 -6
  111. package/dist/runtime/components/NavbarSpacer.vue.d.ts +5 -60
  112. package/dist/runtime/components/NavigationMenu.vue +4 -5
  113. package/dist/runtime/components/NavigationMenu.vue.d.ts +11 -676
  114. package/dist/runtime/components/Popover.vue +5 -6
  115. package/dist/runtime/components/Popover.vue.d.ts +7 -75
  116. package/dist/runtime/components/Progress.vue +5 -6
  117. package/dist/runtime/components/Progress.vue.d.ts +11 -500
  118. package/dist/runtime/components/RadioGroup.vue +5 -6
  119. package/dist/runtime/components/RadioGroup.vue.d.ts +9 -644
  120. package/dist/runtime/components/Range.vue +5 -6
  121. package/dist/runtime/components/Range.vue.d.ts +7 -351
  122. package/dist/runtime/components/Select.vue +4 -5
  123. package/dist/runtime/components/Select.vue.d.ts +15 -1046
  124. package/dist/runtime/components/SelectMenu.vue +4 -5
  125. package/dist/runtime/components/SelectMenu.vue.d.ts +17 -1098
  126. package/dist/runtime/components/Separator.vue +5 -6
  127. package/dist/runtime/components/Separator.vue.d.ts +9 -332
  128. package/dist/runtime/components/Sidebar.vue +6 -6
  129. package/dist/runtime/components/Sidebar.vue.d.ts +5 -60
  130. package/dist/runtime/components/SidebarBody.vue +5 -6
  131. package/dist/runtime/components/SidebarBody.vue.d.ts +5 -42
  132. package/dist/runtime/components/SidebarFooter.vue +6 -6
  133. package/dist/runtime/components/SidebarFooter.vue.d.ts +5 -60
  134. package/dist/runtime/components/SidebarHeader.vue +6 -6
  135. package/dist/runtime/components/SidebarHeader.vue.d.ts +5 -60
  136. package/dist/runtime/components/SidebarHeading.vue +6 -6
  137. package/dist/runtime/components/SidebarHeading.vue.d.ts +5 -60
  138. package/dist/runtime/components/SidebarLayout.vue +6 -7
  139. package/dist/runtime/components/SidebarLayout.vue.d.ts +5 -162
  140. package/dist/runtime/components/SidebarSection.vue +6 -6
  141. package/dist/runtime/components/SidebarSection.vue.d.ts +5 -60
  142. package/dist/runtime/components/SidebarSpacer.vue +6 -6
  143. package/dist/runtime/components/SidebarSpacer.vue.d.ts +5 -60
  144. package/dist/runtime/components/Skeleton.vue +6 -5
  145. package/dist/runtime/components/Slideover.vue +5 -6
  146. package/dist/runtime/components/Slideover.vue.d.ts +15 -248
  147. package/dist/runtime/components/StackedLayout.vue +6 -7
  148. package/dist/runtime/components/StackedLayout.vue.d.ts +5 -132
  149. package/dist/runtime/components/Switch.vue +4 -5
  150. package/dist/runtime/components/Switch.vue.d.ts +7 -517
  151. package/dist/runtime/components/Tabs.vue +8 -5
  152. package/dist/runtime/components/Tabs.vue.d.ts +18 -367
  153. package/dist/runtime/components/Textarea.vue +4 -5
  154. package/dist/runtime/components/Textarea.vue.d.ts +7 -467
  155. package/dist/runtime/components/Toast.vue +5 -6
  156. package/dist/runtime/components/Toast.vue.d.ts +11 -354
  157. package/dist/runtime/components/Toaster.vue +6 -7
  158. package/dist/runtime/components/Toaster.vue.d.ts +7 -156
  159. package/dist/runtime/components/Tooltip.vue +5 -6
  160. package/dist/runtime/components/Tooltip.vue.d.ts +5 -126
  161. package/dist/runtime/components/content/TableWrapper.vue +5 -6
  162. package/dist/runtime/components/content/TableWrapper.vue.d.ts +6 -160
  163. package/dist/runtime/inertia/components/Link.vue +153 -0
  164. package/dist/runtime/inertia/components/Link.vue.d.ts +97 -0
  165. package/dist/runtime/inertia/stubs.d.ts +45 -0
  166. package/dist/runtime/inertia/stubs.js +84 -0
  167. package/dist/runtime/prose/A.vue +10 -9
  168. package/dist/runtime/prose/A.vue.d.ts +8 -65
  169. package/dist/runtime/prose/Blockquote.vue +8 -9
  170. package/dist/runtime/prose/Blockquote.vue.d.ts +8 -65
  171. package/dist/runtime/prose/Code.vue +6 -6
  172. package/dist/runtime/prose/Code.vue.d.ts +9 -75
  173. package/dist/runtime/prose/Em.vue +10 -9
  174. package/dist/runtime/prose/Em.vue.d.ts +8 -65
  175. package/dist/runtime/prose/H1.vue +8 -9
  176. package/dist/runtime/prose/H1.vue.d.ts +8 -78
  177. package/dist/runtime/prose/H2.vue +8 -9
  178. package/dist/runtime/prose/H2.vue.d.ts +8 -104
  179. package/dist/runtime/prose/H3.vue +8 -9
  180. package/dist/runtime/prose/H3.vue.d.ts +8 -104
  181. package/dist/runtime/prose/H4.vue +8 -9
  182. package/dist/runtime/prose/H4.vue.d.ts +8 -104
  183. package/dist/runtime/prose/H5.vue +8 -9
  184. package/dist/runtime/prose/H5.vue.d.ts +8 -104
  185. package/dist/runtime/prose/H6.vue +8 -9
  186. package/dist/runtime/prose/H6.vue.d.ts +8 -104
  187. package/dist/runtime/prose/Hr.vue +7 -9
  188. package/dist/runtime/prose/Hr.vue.d.ts +7 -62
  189. package/dist/runtime/prose/Img.vue +7 -9
  190. package/dist/runtime/prose/Img.vue.d.ts +7 -65
  191. package/dist/runtime/prose/Li.vue +8 -9
  192. package/dist/runtime/prose/Li.vue.d.ts +8 -65
  193. package/dist/runtime/prose/Ol.vue +8 -9
  194. package/dist/runtime/prose/Ol.vue.d.ts +8 -65
  195. package/dist/runtime/prose/P.vue +8 -9
  196. package/dist/runtime/prose/P.vue.d.ts +8 -65
  197. package/dist/runtime/prose/Pre.vue +7 -6
  198. package/dist/runtime/prose/Pre.vue.d.ts +10 -80
  199. package/dist/runtime/prose/Strong.vue +8 -9
  200. package/dist/runtime/prose/Strong.vue.d.ts +8 -65
  201. package/dist/runtime/prose/Table.vue +8 -9
  202. package/dist/runtime/prose/Table.vue.d.ts +10 -80
  203. package/dist/runtime/prose/Tbody.vue +8 -9
  204. package/dist/runtime/prose/Tbody.vue.d.ts +8 -65
  205. package/dist/runtime/prose/Td.vue +8 -9
  206. package/dist/runtime/prose/Td.vue.d.ts +8 -65
  207. package/dist/runtime/prose/Th.vue +8 -9
  208. package/dist/runtime/prose/Th.vue.d.ts +8 -65
  209. package/dist/runtime/prose/Thead.vue +8 -9
  210. package/dist/runtime/prose/Thead.vue.d.ts +8 -65
  211. package/dist/runtime/prose/Tr.vue +8 -9
  212. package/dist/runtime/prose/Tr.vue.d.ts +8 -65
  213. package/dist/runtime/prose/Ul.vue +8 -9
  214. package/dist/runtime/prose/Ul.vue.d.ts +8 -65
  215. package/dist/runtime/types/form.d.ts +1 -0
  216. package/dist/runtime/types/utils.d.ts +47 -7
  217. package/dist/runtime/utils/tv.js +2 -2
  218. package/dist/runtime/vue/components/Link.vue +13 -12
  219. package/dist/runtime/vue/stubs.d.ts +1 -1
  220. package/dist/shared/{b24ui-nuxt.BA6Y2FnC.mjs → b24ui-nuxt.wBs9vEU5.mjs} +27 -2
  221. package/dist/unplugin.d.mts +4 -0
  222. package/dist/unplugin.mjs +12 -4
  223. package/dist/vite.mjs +1 -1
  224. package/package.json +21 -15
@@ -1,497 +1,8 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
1
  import type { ProgressRootProps, ProgressRootEmits } from 'reka-ui';
3
- declare const progress: import("tailwind-variants").TVReturnType<{
4
- animation: {
5
- loading: string;
6
- carousel: string;
7
- "carousel-inverse": string;
8
- swing: string;
9
- elastic: string;
10
- };
11
- color: {
12
- default: {
13
- indicator: string;
14
- steps: string;
15
- };
16
- danger: {
17
- indicator: string;
18
- steps: string;
19
- };
20
- success: {
21
- indicator: string;
22
- steps: string;
23
- };
24
- warning: {
25
- indicator: string;
26
- steps: string;
27
- };
28
- primary: {
29
- indicator: string;
30
- steps: string;
31
- };
32
- secondary: {
33
- indicator: string;
34
- steps: string;
35
- };
36
- collab: {
37
- indicator: string;
38
- steps: string;
39
- };
40
- ai: {
41
- indicator: string;
42
- steps: string;
43
- };
44
- };
45
- size: {
46
- xs: {
47
- status: string;
48
- steps: string;
49
- };
50
- sm: {
51
- status: string;
52
- steps: string;
53
- };
54
- md: {
55
- status: string;
56
- steps: string;
57
- };
58
- lg: {
59
- status: string;
60
- steps: string;
61
- };
62
- };
63
- step: {
64
- active: {
65
- step: "active" | "first" | "other" | "last";
66
- };
67
- first: {
68
- step: "active" | "first" | "other" | "last";
69
- };
70
- other: {
71
- step: "active" | "first" | "other" | "last";
72
- };
73
- last: {
74
- step: string;
75
- };
76
- };
77
- orientation: {
78
- horizontal: {
79
- root: string;
80
- base: string;
81
- status: string;
82
- };
83
- vertical: {
84
- root: string;
85
- base: string;
86
- status: string;
87
- };
88
- };
89
- inverted: {
90
- true: {
91
- status: string;
92
- };
93
- };
94
- }, {
95
- root: string;
96
- base: string;
97
- indicator: string;
98
- status: string;
99
- steps: string;
100
- step: "active" | "first" | "other" | "last";
101
- }, undefined, {
102
- animation: {
103
- loading: string;
104
- carousel: string;
105
- "carousel-inverse": string;
106
- swing: string;
107
- elastic: string;
108
- };
109
- color: {
110
- default: {
111
- indicator: string;
112
- steps: string;
113
- };
114
- danger: {
115
- indicator: string;
116
- steps: string;
117
- };
118
- success: {
119
- indicator: string;
120
- steps: string;
121
- };
122
- warning: {
123
- indicator: string;
124
- steps: string;
125
- };
126
- primary: {
127
- indicator: string;
128
- steps: string;
129
- };
130
- secondary: {
131
- indicator: string;
132
- steps: string;
133
- };
134
- collab: {
135
- indicator: string;
136
- steps: string;
137
- };
138
- ai: {
139
- indicator: string;
140
- steps: string;
141
- };
142
- };
143
- size: {
144
- xs: {
145
- status: string;
146
- steps: string;
147
- };
148
- sm: {
149
- status: string;
150
- steps: string;
151
- };
152
- md: {
153
- status: string;
154
- steps: string;
155
- };
156
- lg: {
157
- status: string;
158
- steps: string;
159
- };
160
- };
161
- step: {
162
- active: {
163
- step: "active" | "first" | "other" | "last";
164
- };
165
- first: {
166
- step: "active" | "first" | "other" | "last";
167
- };
168
- other: {
169
- step: "active" | "first" | "other" | "last";
170
- };
171
- last: {
172
- step: string;
173
- };
174
- };
175
- orientation: {
176
- horizontal: {
177
- root: string;
178
- base: string;
179
- status: string;
180
- };
181
- vertical: {
182
- root: string;
183
- base: string;
184
- status: string;
185
- };
186
- };
187
- inverted: {
188
- true: {
189
- status: string;
190
- };
191
- };
192
- }, {
193
- root: string;
194
- base: string;
195
- indicator: string;
196
- status: string;
197
- steps: string;
198
- step: "active" | "first" | "other" | "last";
199
- }, import("tailwind-variants").TVReturnType<{
200
- animation: {
201
- loading: string;
202
- carousel: string;
203
- "carousel-inverse": string;
204
- swing: string;
205
- elastic: string;
206
- };
207
- color: {
208
- default: {
209
- indicator: string;
210
- steps: string;
211
- };
212
- danger: {
213
- indicator: string;
214
- steps: string;
215
- };
216
- success: {
217
- indicator: string;
218
- steps: string;
219
- };
220
- warning: {
221
- indicator: string;
222
- steps: string;
223
- };
224
- primary: {
225
- indicator: string;
226
- steps: string;
227
- };
228
- secondary: {
229
- indicator: string;
230
- steps: string;
231
- };
232
- collab: {
233
- indicator: string;
234
- steps: string;
235
- };
236
- ai: {
237
- indicator: string;
238
- steps: string;
239
- };
240
- };
241
- size: {
242
- xs: {
243
- status: string;
244
- steps: string;
245
- };
246
- sm: {
247
- status: string;
248
- steps: string;
249
- };
250
- md: {
251
- status: string;
252
- steps: string;
253
- };
254
- lg: {
255
- status: string;
256
- steps: string;
257
- };
258
- };
259
- step: {
260
- active: {
261
- step: "active" | "first" | "other" | "last";
262
- };
263
- first: {
264
- step: "active" | "first" | "other" | "last";
265
- };
266
- other: {
267
- step: "active" | "first" | "other" | "last";
268
- };
269
- last: {
270
- step: string;
271
- };
272
- };
273
- orientation: {
274
- horizontal: {
275
- root: string;
276
- base: string;
277
- status: string;
278
- };
279
- vertical: {
280
- root: string;
281
- base: string;
282
- status: string;
283
- };
284
- };
285
- inverted: {
286
- true: {
287
- status: string;
288
- };
289
- };
290
- }, {
291
- root: string;
292
- base: string;
293
- indicator: string;
294
- status: string;
295
- steps: string;
296
- step: "active" | "first" | "other" | "last";
297
- }, undefined, {
298
- animation: {
299
- loading: string;
300
- carousel: string;
301
- "carousel-inverse": string;
302
- swing: string;
303
- elastic: string;
304
- };
305
- color: {
306
- default: {
307
- indicator: string;
308
- steps: string;
309
- };
310
- danger: {
311
- indicator: string;
312
- steps: string;
313
- };
314
- success: {
315
- indicator: string;
316
- steps: string;
317
- };
318
- warning: {
319
- indicator: string;
320
- steps: string;
321
- };
322
- primary: {
323
- indicator: string;
324
- steps: string;
325
- };
326
- secondary: {
327
- indicator: string;
328
- steps: string;
329
- };
330
- collab: {
331
- indicator: string;
332
- steps: string;
333
- };
334
- ai: {
335
- indicator: string;
336
- steps: string;
337
- };
338
- };
339
- size: {
340
- xs: {
341
- status: string;
342
- steps: string;
343
- };
344
- sm: {
345
- status: string;
346
- steps: string;
347
- };
348
- md: {
349
- status: string;
350
- steps: string;
351
- };
352
- lg: {
353
- status: string;
354
- steps: string;
355
- };
356
- };
357
- step: {
358
- active: {
359
- step: "active" | "first" | "other" | "last";
360
- };
361
- first: {
362
- step: "active" | "first" | "other" | "last";
363
- };
364
- other: {
365
- step: "active" | "first" | "other" | "last";
366
- };
367
- last: {
368
- step: string;
369
- };
370
- };
371
- orientation: {
372
- horizontal: {
373
- root: string;
374
- base: string;
375
- status: string;
376
- };
377
- vertical: {
378
- root: string;
379
- base: string;
380
- status: string;
381
- };
382
- };
383
- inverted: {
384
- true: {
385
- status: string;
386
- };
387
- };
388
- }, {
389
- root: string;
390
- base: string;
391
- indicator: string;
392
- status: string;
393
- steps: string;
394
- step: "active" | "first" | "other" | "last";
395
- }, import("tailwind-variants").TVReturnType<{
396
- animation: {
397
- loading: string;
398
- carousel: string;
399
- "carousel-inverse": string;
400
- swing: string;
401
- elastic: string;
402
- };
403
- color: {
404
- default: {
405
- indicator: string;
406
- steps: string;
407
- };
408
- danger: {
409
- indicator: string;
410
- steps: string;
411
- };
412
- success: {
413
- indicator: string;
414
- steps: string;
415
- };
416
- warning: {
417
- indicator: string;
418
- steps: string;
419
- };
420
- primary: {
421
- indicator: string;
422
- steps: string;
423
- };
424
- secondary: {
425
- indicator: string;
426
- steps: string;
427
- };
428
- collab: {
429
- indicator: string;
430
- steps: string;
431
- };
432
- ai: {
433
- indicator: string;
434
- steps: string;
435
- };
436
- };
437
- size: {
438
- xs: {
439
- status: string;
440
- steps: string;
441
- };
442
- sm: {
443
- status: string;
444
- steps: string;
445
- };
446
- md: {
447
- status: string;
448
- steps: string;
449
- };
450
- lg: {
451
- status: string;
452
- steps: string;
453
- };
454
- };
455
- step: {
456
- active: {
457
- step: "active" | "first" | "other" | "last";
458
- };
459
- first: {
460
- step: "active" | "first" | "other" | "last";
461
- };
462
- other: {
463
- step: "active" | "first" | "other" | "last";
464
- };
465
- last: {
466
- step: string;
467
- };
468
- };
469
- orientation: {
470
- horizontal: {
471
- root: string;
472
- base: string;
473
- status: string;
474
- };
475
- vertical: {
476
- root: string;
477
- base: string;
478
- status: string;
479
- };
480
- };
481
- inverted: {
482
- true: {
483
- status: string;
484
- };
485
- };
486
- }, {
487
- root: string;
488
- base: string;
489
- indicator: string;
490
- status: string;
491
- steps: string;
492
- step: "active" | "first" | "other" | "last";
493
- }, undefined, unknown, unknown, undefined>>>;
494
- type ProgressVariants = VariantProps<typeof progress>;
2
+ import type { AppConfig } from '@nuxt/schema';
3
+ import theme from '#build/b24ui/progress';
4
+ import type { ComponentConfig } from '../types/utils';
5
+ type Progress = ComponentConfig<typeof theme, AppConfig, 'progress'>;
495
6
  export interface ProgressProps extends Pick<ProgressRootProps, 'getValueLabel' | 'modelValue'> {
496
7
  /**
497
8
  * The element or component this component should render as.
@@ -514,22 +25,22 @@ export interface ProgressProps extends Pick<ProgressRootProps, 'getValueLabel' |
514
25
  /**
515
26
  * @defaultValue 'md'
516
27
  */
517
- size?: ProgressVariants['size'];
28
+ size?: Progress['variants']['size'];
518
29
  /**
519
30
  * @defaultValue 'primary'
520
31
  */
521
- color?: ProgressVariants['color'];
32
+ color?: Progress['variants']['color'];
522
33
  /**
523
34
  * The orientation of the progress bar.
524
35
  * @defaultValue 'horizontal'
525
36
  */
526
- orientation?: ProgressVariants['orientation'];
37
+ orientation?: Progress['variants']['orientation'];
527
38
  /**
528
39
  * @defaultValue 'loading'
529
40
  */
530
- animation?: ProgressVariants['animation'];
41
+ animation?: Progress['variants']['animation'];
531
42
  class?: any;
532
- b24ui?: Partial<typeof progress.slots>;
43
+ b24ui?: Progress['slots'];
533
44
  }
534
45
  export interface ProgressEmits extends ProgressRootEmits {
535
46
  }
@@ -547,9 +58,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
547
58
  modelValue: null;
548
59
  orientation: string;
549
60
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
550
- orientation: "horizontal" | "vertical";
551
- modelValue: number | null;
61
+ orientation: Progress["variants"]["orientation"];
552
62
  inverted: boolean;
63
+ modelValue: number | null;
553
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
554
65
  status(props: {
555
66
  percent?: number;
@@ -1,17 +1,15 @@
1
1
  <script>
2
- import _appConfig from "#build/app.config";
3
2
  import theme from "#build/b24ui/radio-group";
4
- import { tv } from "../utils/tv";
5
- const appConfigRadioGroup = _appConfig;
6
- const radioGroup = tv({ extend: tv(theme), ...appConfigRadioGroup.b24ui?.radioGroup || {} });
7
3
  </script>
8
4
 
9
5
  <script setup>
10
6
  import { computed, useId } from "vue";
11
7
  import { RadioGroupRoot, RadioGroupItem, RadioGroupIndicator, Label, useForwardPropsEmits } from "reka-ui";
12
8
  import { reactivePick } from "@vueuse/core";
9
+ import { useAppConfig } from "#imports";
13
10
  import { useFormField } from "../composables/useFormField";
14
11
  import { get } from "../utils";
12
+ import { tv } from "../utils/tv";
15
13
  const props = defineProps({
16
14
  as: { type: null, required: false },
17
15
  legend: { type: String, required: false },
@@ -25,7 +23,7 @@ const props = defineProps({
25
23
  orientation: { type: null, required: false, default: "vertical" },
26
24
  indicator: { type: null, required: false },
27
25
  class: { type: null, required: false },
28
- b24ui: { type: Object, required: false },
26
+ b24ui: { type: null, required: false },
29
27
  defaultValue: { type: [String, Number, Object, null], required: false },
30
28
  disabled: { type: Boolean, required: false },
31
29
  loop: { type: Boolean, required: false },
@@ -35,10 +33,11 @@ const props = defineProps({
35
33
  });
36
34
  const emits = defineEmits(["update:modelValue", "change"]);
37
35
  const slots = defineSlots();
36
+ const appConfig = useAppConfig();
38
37
  const rootProps = useForwardPropsEmits(reactivePick(props, "as", "modelValue", "defaultValue", "orientation", "loop", "required"), emits);
39
38
  const { emitFormChange, emitFormInput, color, name, size, id: _id, disabled, ariaAttrs } = useFormField(props, { bind: false });
40
39
  const id = _id.value ?? useId();
41
- const b24ui = computed(() => radioGroup({
40
+ const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.radioGroup || {} })({
42
41
  size: size.value,
43
42
  color: color.value,
44
43
  disabled: disabled.value,