@bitrix24/b24ui-nuxt 0.6.0 → 0.6.1

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 (217) 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 +1388 -3373
  55. package/dist/meta.mjs +1388 -3373
  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 +6 -5
  90. package/dist/runtime/components/FormField.vue +5 -6
  91. package/dist/runtime/components/FormField.vue.d.ts +6 -215
  92. package/dist/runtime/components/Input.vue +4 -5
  93. package/dist/runtime/components/Input.vue.d.ts +8 -628
  94. package/dist/runtime/components/InputMenu.vue +4 -5
  95. package/dist/runtime/components/InputMenu.vue.d.ts +19 -1185
  96. package/dist/runtime/components/InputNumber.vue +4 -5
  97. package/dist/runtime/components/InputNumber.vue.d.ts +10 -430
  98. package/dist/runtime/components/Kbd.vue +6 -5
  99. package/dist/runtime/components/Kbd.vue.d.ts +6 -60
  100. package/dist/runtime/components/Link.vue +12 -11
  101. package/dist/runtime/components/Modal.vue +5 -6
  102. package/dist/runtime/components/Modal.vue.d.ts +13 -216
  103. package/dist/runtime/components/Navbar.vue +6 -6
  104. package/dist/runtime/components/Navbar.vue.d.ts +5 -60
  105. package/dist/runtime/components/NavbarDivider.vue +6 -6
  106. package/dist/runtime/components/NavbarDivider.vue.d.ts +5 -60
  107. package/dist/runtime/components/NavbarSection.vue +6 -6
  108. package/dist/runtime/components/NavbarSection.vue.d.ts +5 -60
  109. package/dist/runtime/components/NavbarSpacer.vue +6 -6
  110. package/dist/runtime/components/NavbarSpacer.vue.d.ts +5 -60
  111. package/dist/runtime/components/NavigationMenu.vue +4 -5
  112. package/dist/runtime/components/NavigationMenu.vue.d.ts +11 -676
  113. package/dist/runtime/components/Popover.vue +5 -6
  114. package/dist/runtime/components/Popover.vue.d.ts +7 -75
  115. package/dist/runtime/components/Progress.vue +5 -6
  116. package/dist/runtime/components/Progress.vue.d.ts +11 -500
  117. package/dist/runtime/components/RadioGroup.vue +5 -6
  118. package/dist/runtime/components/RadioGroup.vue.d.ts +9 -644
  119. package/dist/runtime/components/Range.vue +5 -6
  120. package/dist/runtime/components/Range.vue.d.ts +7 -351
  121. package/dist/runtime/components/Select.vue +4 -5
  122. package/dist/runtime/components/Select.vue.d.ts +15 -1046
  123. package/dist/runtime/components/SelectMenu.vue +4 -5
  124. package/dist/runtime/components/SelectMenu.vue.d.ts +17 -1098
  125. package/dist/runtime/components/Separator.vue +5 -6
  126. package/dist/runtime/components/Separator.vue.d.ts +9 -332
  127. package/dist/runtime/components/Sidebar.vue +6 -6
  128. package/dist/runtime/components/Sidebar.vue.d.ts +5 -60
  129. package/dist/runtime/components/SidebarBody.vue +5 -6
  130. package/dist/runtime/components/SidebarBody.vue.d.ts +5 -42
  131. package/dist/runtime/components/SidebarFooter.vue +6 -6
  132. package/dist/runtime/components/SidebarFooter.vue.d.ts +5 -60
  133. package/dist/runtime/components/SidebarHeader.vue +6 -6
  134. package/dist/runtime/components/SidebarHeader.vue.d.ts +5 -60
  135. package/dist/runtime/components/SidebarHeading.vue +6 -6
  136. package/dist/runtime/components/SidebarHeading.vue.d.ts +5 -60
  137. package/dist/runtime/components/SidebarLayout.vue +6 -7
  138. package/dist/runtime/components/SidebarLayout.vue.d.ts +5 -162
  139. package/dist/runtime/components/SidebarSection.vue +6 -6
  140. package/dist/runtime/components/SidebarSection.vue.d.ts +5 -60
  141. package/dist/runtime/components/SidebarSpacer.vue +6 -6
  142. package/dist/runtime/components/SidebarSpacer.vue.d.ts +5 -60
  143. package/dist/runtime/components/Skeleton.vue +6 -5
  144. package/dist/runtime/components/Slideover.vue +5 -6
  145. package/dist/runtime/components/Slideover.vue.d.ts +15 -248
  146. package/dist/runtime/components/StackedLayout.vue +6 -7
  147. package/dist/runtime/components/StackedLayout.vue.d.ts +5 -132
  148. package/dist/runtime/components/Switch.vue +4 -5
  149. package/dist/runtime/components/Switch.vue.d.ts +7 -517
  150. package/dist/runtime/components/Tabs.vue +8 -5
  151. package/dist/runtime/components/Tabs.vue.d.ts +18 -367
  152. package/dist/runtime/components/Textarea.vue +4 -5
  153. package/dist/runtime/components/Textarea.vue.d.ts +7 -467
  154. package/dist/runtime/components/Toast.vue +5 -6
  155. package/dist/runtime/components/Toast.vue.d.ts +11 -354
  156. package/dist/runtime/components/Toaster.vue +6 -7
  157. package/dist/runtime/components/Toaster.vue.d.ts +7 -156
  158. package/dist/runtime/components/Tooltip.vue +5 -6
  159. package/dist/runtime/components/Tooltip.vue.d.ts +5 -126
  160. package/dist/runtime/components/content/TableWrapper.vue +5 -6
  161. package/dist/runtime/components/content/TableWrapper.vue.d.ts +6 -160
  162. package/dist/runtime/prose/A.vue +10 -9
  163. package/dist/runtime/prose/A.vue.d.ts +8 -65
  164. package/dist/runtime/prose/Blockquote.vue +8 -9
  165. package/dist/runtime/prose/Blockquote.vue.d.ts +8 -65
  166. package/dist/runtime/prose/Code.vue +6 -6
  167. package/dist/runtime/prose/Code.vue.d.ts +9 -75
  168. package/dist/runtime/prose/Em.vue +10 -9
  169. package/dist/runtime/prose/Em.vue.d.ts +8 -65
  170. package/dist/runtime/prose/H1.vue +8 -9
  171. package/dist/runtime/prose/H1.vue.d.ts +8 -78
  172. package/dist/runtime/prose/H2.vue +8 -9
  173. package/dist/runtime/prose/H2.vue.d.ts +8 -104
  174. package/dist/runtime/prose/H3.vue +8 -9
  175. package/dist/runtime/prose/H3.vue.d.ts +8 -104
  176. package/dist/runtime/prose/H4.vue +8 -9
  177. package/dist/runtime/prose/H4.vue.d.ts +8 -104
  178. package/dist/runtime/prose/H5.vue +8 -9
  179. package/dist/runtime/prose/H5.vue.d.ts +8 -104
  180. package/dist/runtime/prose/H6.vue +8 -9
  181. package/dist/runtime/prose/H6.vue.d.ts +8 -104
  182. package/dist/runtime/prose/Hr.vue +7 -9
  183. package/dist/runtime/prose/Hr.vue.d.ts +7 -62
  184. package/dist/runtime/prose/Img.vue +7 -9
  185. package/dist/runtime/prose/Img.vue.d.ts +7 -65
  186. package/dist/runtime/prose/Li.vue +8 -9
  187. package/dist/runtime/prose/Li.vue.d.ts +8 -65
  188. package/dist/runtime/prose/Ol.vue +8 -9
  189. package/dist/runtime/prose/Ol.vue.d.ts +8 -65
  190. package/dist/runtime/prose/P.vue +8 -9
  191. package/dist/runtime/prose/P.vue.d.ts +8 -65
  192. package/dist/runtime/prose/Pre.vue +7 -6
  193. package/dist/runtime/prose/Pre.vue.d.ts +10 -80
  194. package/dist/runtime/prose/Strong.vue +8 -9
  195. package/dist/runtime/prose/Strong.vue.d.ts +8 -65
  196. package/dist/runtime/prose/Table.vue +8 -9
  197. package/dist/runtime/prose/Table.vue.d.ts +10 -80
  198. package/dist/runtime/prose/Tbody.vue +8 -9
  199. package/dist/runtime/prose/Tbody.vue.d.ts +8 -65
  200. package/dist/runtime/prose/Td.vue +8 -9
  201. package/dist/runtime/prose/Td.vue.d.ts +8 -65
  202. package/dist/runtime/prose/Th.vue +8 -9
  203. package/dist/runtime/prose/Th.vue.d.ts +8 -65
  204. package/dist/runtime/prose/Thead.vue +8 -9
  205. package/dist/runtime/prose/Thead.vue.d.ts +8 -65
  206. package/dist/runtime/prose/Tr.vue +8 -9
  207. package/dist/runtime/prose/Tr.vue.d.ts +8 -65
  208. package/dist/runtime/prose/Ul.vue +8 -9
  209. package/dist/runtime/prose/Ul.vue.d.ts +8 -65
  210. package/dist/runtime/types/form.d.ts +1 -0
  211. package/dist/runtime/types/utils.d.ts +42 -3
  212. package/dist/runtime/utils/tv.js +2 -2
  213. package/dist/runtime/vue/components/Link.vue +12 -11
  214. package/dist/shared/{b24ui-nuxt.BA6Y2FnC.mjs → b24ui-nuxt.wBs9vEU5.mjs} +27 -2
  215. package/dist/unplugin.mjs +1 -1
  216. package/dist/vite.mjs +1 -1
  217. package/package.json +6 -6
@@ -1,673 +1,9 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
1
  import type { NavigationMenuRootProps, NavigationMenuRootEmits, NavigationMenuContentProps, NavigationMenuContentEmits, CollapsibleRootProps } from 'reka-ui';
2
+ import type { AppConfig } from '@nuxt/schema';
3
+ import theme from '#build/b24ui/navigation-menu';
3
4
  import type { AvatarProps, BadgeProps, LinkProps, IconComponent } from '../types';
4
- import type { ArrayOrNested, DynamicSlots, MergeTypes, NestedItem, PartialString, EmitsToProps } from '../types/utils';
5
- declare const navigationMenu: import("tailwind-variants").TVReturnType<{
6
- color: {
7
- default: {
8
- link: string;
9
- childLink: string;
10
- };
11
- danger: {
12
- link: string;
13
- childLink: string;
14
- };
15
- success: {
16
- link: string;
17
- childLink: string;
18
- };
19
- warning: {
20
- link: string;
21
- childLink: string;
22
- };
23
- primary: {
24
- link: string;
25
- childLink: string;
26
- };
27
- secondary: {
28
- link: string;
29
- childLink: string;
30
- };
31
- collab: {
32
- link: string;
33
- childLink: string;
34
- };
35
- ai: {
36
- link: string;
37
- childLink: string;
38
- };
39
- };
40
- highlightColor: {
41
- default: string;
42
- danger: string;
43
- success: string;
44
- warning: string;
45
- primary: string;
46
- secondary: string;
47
- collab: string;
48
- ai: string;
49
- };
50
- variant: {
51
- pill: {
52
- link: string;
53
- viewport: string;
54
- };
55
- link: string;
56
- };
57
- orientation: {
58
- horizontal: {
59
- root: string;
60
- list: string;
61
- item: string;
62
- link: string;
63
- childList: string;
64
- };
65
- vertical: {
66
- root: string;
67
- link: string;
68
- };
69
- };
70
- contentOrientation: {
71
- horizontal: {
72
- viewportWrapper: string;
73
- content: string;
74
- childLinkLabelExternalIcon: string;
75
- };
76
- vertical: {
77
- viewport: string;
78
- childLinkLabel: string;
79
- childLinkLabelExternalIcon: string;
80
- };
81
- };
82
- active: {
83
- true: {
84
- childLink: string;
85
- childLinkIcon: string;
86
- };
87
- false: {
88
- link: string;
89
- linkLeadingIcon: string;
90
- childLink: string;
91
- childLinkIcon: string;
92
- };
93
- };
94
- disabled: {
95
- true: {
96
- link: string;
97
- };
98
- };
99
- highlight: {
100
- true: string;
101
- };
102
- level: {
103
- true: string;
104
- };
105
- collapsed: {
106
- true: string;
107
- };
108
- }, {
109
- root: string;
110
- list: string;
111
- label: string;
112
- item: string;
113
- link: string;
114
- linkLeadingIcon: string;
115
- linkLeadingAvatar: string;
116
- linkLeadingAvatarSize: string;
117
- linkTrailing: string;
118
- linkTrailingBadge: string;
119
- linkTrailingBadgeSize: string;
120
- linkTrailingIcon: string;
121
- linkLabel: string;
122
- linkLabelWrapper: string;
123
- linkLabelExternalIcon: string;
124
- childList: string;
125
- childItem: string;
126
- childLink: string;
127
- childLinkWrapper: string;
128
- childLinkIcon: string;
129
- childLinkLabel: string;
130
- childLinkLabelExternalIcon: string;
131
- childLinkDescription: string;
132
- separator: string;
133
- viewportWrapper: string;
134
- viewport: string;
135
- content: string;
136
- indicator: string;
137
- arrow: string;
138
- }, undefined, {
139
- color: {
140
- default: {
141
- link: string;
142
- childLink: string;
143
- };
144
- danger: {
145
- link: string;
146
- childLink: string;
147
- };
148
- success: {
149
- link: string;
150
- childLink: string;
151
- };
152
- warning: {
153
- link: string;
154
- childLink: string;
155
- };
156
- primary: {
157
- link: string;
158
- childLink: string;
159
- };
160
- secondary: {
161
- link: string;
162
- childLink: string;
163
- };
164
- collab: {
165
- link: string;
166
- childLink: string;
167
- };
168
- ai: {
169
- link: string;
170
- childLink: string;
171
- };
172
- };
173
- highlightColor: {
174
- default: string;
175
- danger: string;
176
- success: string;
177
- warning: string;
178
- primary: string;
179
- secondary: string;
180
- collab: string;
181
- ai: string;
182
- };
183
- variant: {
184
- pill: {
185
- link: string;
186
- viewport: string;
187
- };
188
- link: string;
189
- };
190
- orientation: {
191
- horizontal: {
192
- root: string;
193
- list: string;
194
- item: string;
195
- link: string;
196
- childList: string;
197
- };
198
- vertical: {
199
- root: string;
200
- link: string;
201
- };
202
- };
203
- contentOrientation: {
204
- horizontal: {
205
- viewportWrapper: string;
206
- content: string;
207
- childLinkLabelExternalIcon: string;
208
- };
209
- vertical: {
210
- viewport: string;
211
- childLinkLabel: string;
212
- childLinkLabelExternalIcon: string;
213
- };
214
- };
215
- active: {
216
- true: {
217
- childLink: string;
218
- childLinkIcon: string;
219
- };
220
- false: {
221
- link: string;
222
- linkLeadingIcon: string;
223
- childLink: string;
224
- childLinkIcon: string;
225
- };
226
- };
227
- disabled: {
228
- true: {
229
- link: string;
230
- };
231
- };
232
- highlight: {
233
- true: string;
234
- };
235
- level: {
236
- true: string;
237
- };
238
- collapsed: {
239
- true: string;
240
- };
241
- }, {
242
- root: string;
243
- list: string;
244
- label: string;
245
- item: string;
246
- link: string;
247
- linkLeadingIcon: string;
248
- linkLeadingAvatar: string;
249
- linkLeadingAvatarSize: string;
250
- linkTrailing: string;
251
- linkTrailingBadge: string;
252
- linkTrailingBadgeSize: string;
253
- linkTrailingIcon: string;
254
- linkLabel: string;
255
- linkLabelWrapper: string;
256
- linkLabelExternalIcon: string;
257
- childList: string;
258
- childItem: string;
259
- childLink: string;
260
- childLinkWrapper: string;
261
- childLinkIcon: string;
262
- childLinkLabel: string;
263
- childLinkLabelExternalIcon: string;
264
- childLinkDescription: string;
265
- separator: string;
266
- viewportWrapper: string;
267
- viewport: string;
268
- content: string;
269
- indicator: string;
270
- arrow: string;
271
- }, import("tailwind-variants").TVReturnType<{
272
- color: {
273
- default: {
274
- link: string;
275
- childLink: string;
276
- };
277
- danger: {
278
- link: string;
279
- childLink: string;
280
- };
281
- success: {
282
- link: string;
283
- childLink: string;
284
- };
285
- warning: {
286
- link: string;
287
- childLink: string;
288
- };
289
- primary: {
290
- link: string;
291
- childLink: string;
292
- };
293
- secondary: {
294
- link: string;
295
- childLink: string;
296
- };
297
- collab: {
298
- link: string;
299
- childLink: string;
300
- };
301
- ai: {
302
- link: string;
303
- childLink: string;
304
- };
305
- };
306
- highlightColor: {
307
- default: string;
308
- danger: string;
309
- success: string;
310
- warning: string;
311
- primary: string;
312
- secondary: string;
313
- collab: string;
314
- ai: string;
315
- };
316
- variant: {
317
- pill: {
318
- link: string;
319
- viewport: string;
320
- };
321
- link: string;
322
- };
323
- orientation: {
324
- horizontal: {
325
- root: string;
326
- list: string;
327
- item: string;
328
- link: string;
329
- childList: string;
330
- };
331
- vertical: {
332
- root: string;
333
- link: string;
334
- };
335
- };
336
- contentOrientation: {
337
- horizontal: {
338
- viewportWrapper: string;
339
- content: string;
340
- childLinkLabelExternalIcon: string;
341
- };
342
- vertical: {
343
- viewport: string;
344
- childLinkLabel: string;
345
- childLinkLabelExternalIcon: string;
346
- };
347
- };
348
- active: {
349
- true: {
350
- childLink: string;
351
- childLinkIcon: string;
352
- };
353
- false: {
354
- link: string;
355
- linkLeadingIcon: string;
356
- childLink: string;
357
- childLinkIcon: string;
358
- };
359
- };
360
- disabled: {
361
- true: {
362
- link: string;
363
- };
364
- };
365
- highlight: {
366
- true: string;
367
- };
368
- level: {
369
- true: string;
370
- };
371
- collapsed: {
372
- true: string;
373
- };
374
- }, {
375
- root: string;
376
- list: string;
377
- label: string;
378
- item: string;
379
- link: string;
380
- linkLeadingIcon: string;
381
- linkLeadingAvatar: string;
382
- linkLeadingAvatarSize: string;
383
- linkTrailing: string;
384
- linkTrailingBadge: string;
385
- linkTrailingBadgeSize: string;
386
- linkTrailingIcon: string;
387
- linkLabel: string;
388
- linkLabelWrapper: string;
389
- linkLabelExternalIcon: string;
390
- childList: string;
391
- childItem: string;
392
- childLink: string;
393
- childLinkWrapper: string;
394
- childLinkIcon: string;
395
- childLinkLabel: string;
396
- childLinkLabelExternalIcon: string;
397
- childLinkDescription: string;
398
- separator: string;
399
- viewportWrapper: string;
400
- viewport: string;
401
- content: string;
402
- indicator: string;
403
- arrow: string;
404
- }, undefined, {
405
- color: {
406
- default: {
407
- link: string;
408
- childLink: string;
409
- };
410
- danger: {
411
- link: string;
412
- childLink: string;
413
- };
414
- success: {
415
- link: string;
416
- childLink: string;
417
- };
418
- warning: {
419
- link: string;
420
- childLink: string;
421
- };
422
- primary: {
423
- link: string;
424
- childLink: string;
425
- };
426
- secondary: {
427
- link: string;
428
- childLink: string;
429
- };
430
- collab: {
431
- link: string;
432
- childLink: string;
433
- };
434
- ai: {
435
- link: string;
436
- childLink: string;
437
- };
438
- };
439
- highlightColor: {
440
- default: string;
441
- danger: string;
442
- success: string;
443
- warning: string;
444
- primary: string;
445
- secondary: string;
446
- collab: string;
447
- ai: string;
448
- };
449
- variant: {
450
- pill: {
451
- link: string;
452
- viewport: string;
453
- };
454
- link: string;
455
- };
456
- orientation: {
457
- horizontal: {
458
- root: string;
459
- list: string;
460
- item: string;
461
- link: string;
462
- childList: string;
463
- };
464
- vertical: {
465
- root: string;
466
- link: string;
467
- };
468
- };
469
- contentOrientation: {
470
- horizontal: {
471
- viewportWrapper: string;
472
- content: string;
473
- childLinkLabelExternalIcon: string;
474
- };
475
- vertical: {
476
- viewport: string;
477
- childLinkLabel: string;
478
- childLinkLabelExternalIcon: string;
479
- };
480
- };
481
- active: {
482
- true: {
483
- childLink: string;
484
- childLinkIcon: string;
485
- };
486
- false: {
487
- link: string;
488
- linkLeadingIcon: string;
489
- childLink: string;
490
- childLinkIcon: string;
491
- };
492
- };
493
- disabled: {
494
- true: {
495
- link: string;
496
- };
497
- };
498
- highlight: {
499
- true: string;
500
- };
501
- level: {
502
- true: string;
503
- };
504
- collapsed: {
505
- true: string;
506
- };
507
- }, {
508
- root: string;
509
- list: string;
510
- label: string;
511
- item: string;
512
- link: string;
513
- linkLeadingIcon: string;
514
- linkLeadingAvatar: string;
515
- linkLeadingAvatarSize: string;
516
- linkTrailing: string;
517
- linkTrailingBadge: string;
518
- linkTrailingBadgeSize: string;
519
- linkTrailingIcon: string;
520
- linkLabel: string;
521
- linkLabelWrapper: string;
522
- linkLabelExternalIcon: string;
523
- childList: string;
524
- childItem: string;
525
- childLink: string;
526
- childLinkWrapper: string;
527
- childLinkIcon: string;
528
- childLinkLabel: string;
529
- childLinkLabelExternalIcon: string;
530
- childLinkDescription: string;
531
- separator: string;
532
- viewportWrapper: string;
533
- viewport: string;
534
- content: string;
535
- indicator: string;
536
- arrow: string;
537
- }, import("tailwind-variants").TVReturnType<{
538
- color: {
539
- default: {
540
- link: string;
541
- childLink: string;
542
- };
543
- danger: {
544
- link: string;
545
- childLink: string;
546
- };
547
- success: {
548
- link: string;
549
- childLink: string;
550
- };
551
- warning: {
552
- link: string;
553
- childLink: string;
554
- };
555
- primary: {
556
- link: string;
557
- childLink: string;
558
- };
559
- secondary: {
560
- link: string;
561
- childLink: string;
562
- };
563
- collab: {
564
- link: string;
565
- childLink: string;
566
- };
567
- ai: {
568
- link: string;
569
- childLink: string;
570
- };
571
- };
572
- highlightColor: {
573
- default: string;
574
- danger: string;
575
- success: string;
576
- warning: string;
577
- primary: string;
578
- secondary: string;
579
- collab: string;
580
- ai: string;
581
- };
582
- variant: {
583
- pill: {
584
- link: string;
585
- viewport: string;
586
- };
587
- link: string;
588
- };
589
- orientation: {
590
- horizontal: {
591
- root: string;
592
- list: string;
593
- item: string;
594
- link: string;
595
- childList: string;
596
- };
597
- vertical: {
598
- root: string;
599
- link: string;
600
- };
601
- };
602
- contentOrientation: {
603
- horizontal: {
604
- viewportWrapper: string;
605
- content: string;
606
- childLinkLabelExternalIcon: string;
607
- };
608
- vertical: {
609
- viewport: string;
610
- childLinkLabel: string;
611
- childLinkLabelExternalIcon: string;
612
- };
613
- };
614
- active: {
615
- true: {
616
- childLink: string;
617
- childLinkIcon: string;
618
- };
619
- false: {
620
- link: string;
621
- linkLeadingIcon: string;
622
- childLink: string;
623
- childLinkIcon: string;
624
- };
625
- };
626
- disabled: {
627
- true: {
628
- link: string;
629
- };
630
- };
631
- highlight: {
632
- true: string;
633
- };
634
- level: {
635
- true: string;
636
- };
637
- collapsed: {
638
- true: string;
639
- };
640
- }, {
641
- root: string;
642
- list: string;
643
- label: string;
644
- item: string;
645
- link: string;
646
- linkLeadingIcon: string;
647
- linkLeadingAvatar: string;
648
- linkLeadingAvatarSize: string;
649
- linkTrailing: string;
650
- linkTrailingBadge: string;
651
- linkTrailingBadgeSize: string;
652
- linkTrailingIcon: string;
653
- linkLabel: string;
654
- linkLabelWrapper: string;
655
- linkLabelExternalIcon: string;
656
- childList: string;
657
- childItem: string;
658
- childLink: string;
659
- childLinkWrapper: string;
660
- childLinkIcon: string;
661
- childLinkLabel: string;
662
- childLinkLabelExternalIcon: string;
663
- childLinkDescription: string;
664
- separator: string;
665
- viewportWrapper: string;
666
- viewport: string;
667
- content: string;
668
- indicator: string;
669
- arrow: string;
670
- }, undefined, unknown, unknown, undefined>>>;
5
+ import type { ArrayOrNested, DynamicSlots, MergeTypes, NestedItem, EmitsToProps, ComponentConfig } from '../types/utils';
6
+ type NavigationMenu = ComponentConfig<typeof theme, AppConfig, 'navigationMenu'>;
671
7
  export interface NavigationMenuChildItem extends Omit<NavigationMenuItem, 'type'> {
672
8
  /** Description is only used when `orientation` is `horizontal`. */
673
9
  description?: string;
@@ -705,7 +41,6 @@ export interface NavigationMenuItem extends Omit<LinkProps, 'type' | 'raw' | 'cu
705
41
  onSelect?(e: Event): void;
706
42
  [key: string]: any;
707
43
  }
708
- type NavigationMenuVariants = VariantProps<typeof navigationMenu>;
709
44
  export interface NavigationMenuProps<T extends ArrayOrNested<NavigationMenuItem> = ArrayOrNested<NavigationMenuItem>> extends Pick<NavigationMenuRootProps, 'modelValue' | 'defaultValue' | 'delayDuration' | 'disableClickTrigger' | 'disableHoverTrigger' | 'skipDelayDuration' | 'disablePointerLeaveClose' | 'unmountOnHide'> {
710
45
  /**
711
46
  * The element or component this component should render as.
@@ -729,11 +64,11 @@ export interface NavigationMenuProps<T extends ArrayOrNested<NavigationMenuItem>
729
64
  /**
730
65
  * @defaultValue 'primary'
731
66
  */
732
- color?: NavigationMenuVariants['color'];
67
+ color?: NavigationMenu['variants']['color'];
733
68
  /**
734
69
  * @defaultValue 'pill'
735
70
  */
736
- variant?: NavigationMenuVariants['variant'];
71
+ variant?: NavigationMenu['variants']['variant'];
737
72
  /**
738
73
  * The orientation of the menu.
739
74
  * @defaultValue 'horizontal'
@@ -750,7 +85,7 @@ export interface NavigationMenuProps<T extends ArrayOrNested<NavigationMenuItem>
750
85
  /**
751
86
  * @defaultValue 'primary'
752
87
  */
753
- highlightColor?: NavigationMenuVariants['highlightColor'];
88
+ highlightColor?: NavigationMenu['variants']['highlightColor'];
754
89
  /**
755
90
  * The content of the menu.
756
91
  */
@@ -760,7 +95,7 @@ export interface NavigationMenuProps<T extends ArrayOrNested<NavigationMenuItem>
760
95
  * Only works when `orientation` is `horizontal`.
761
96
  * @defaultValue 'vertical'
762
97
  */
763
- contentOrientation?: NavigationMenuVariants['contentOrientation'];
98
+ contentOrientation?: NavigationMenu['variants']['contentOrientation'];
764
99
  /**
765
100
  * Display an arrow alongside the menu.
766
101
  * @defaultValue false
@@ -772,7 +107,7 @@ export interface NavigationMenuProps<T extends ArrayOrNested<NavigationMenuItem>
772
107
  */
773
108
  labelKey?: keyof NestedItem<T>;
774
109
  class?: any;
775
- b24ui?: PartialString<typeof navigationMenu.slots>;
110
+ b24ui?: NavigationMenu['slots'];
776
111
  }
777
112
  export interface NavigationMenuEmits extends NavigationMenuRootEmits {
778
113
  }
@@ -801,7 +136,7 @@ declare const _default: <T extends ArrayOrNested<NavigationMenuItem>>(__VLS_prop
801
136
  'item-label': SlotProps<NestedItem<T>>;
802
137
  'item-trailing': SlotProps<NestedItem<T>>;
803
138
  'item-content': SlotProps<NestedItem<T>>;
804
- } & DynamicSlots<MergeTypes<NestedItem<T>>, "label" | "trailing" | "leading" | "content", {
139
+ } & DynamicSlots<MergeTypes<NestedItem<T>>, "leading" | "trailing" | "label" | "content", {
805
140
  index: number;
806
141
  active?: boolean;
807
142
  }>> & {
@@ -810,7 +145,7 @@ declare const _default: <T extends ArrayOrNested<NavigationMenuItem>>(__VLS_prop
810
145
  'item-label': SlotProps<NestedItem<T>>;
811
146
  'item-trailing': SlotProps<NestedItem<T>>;
812
147
  'item-content': SlotProps<NestedItem<T>>;
813
- } & DynamicSlots<MergeTypes<NestedItem<T>>, "label" | "trailing" | "leading" | "content", {
148
+ } & DynamicSlots<MergeTypes<NestedItem<T>>, "leading" | "trailing" | "label" | "content", {
814
149
  index: number;
815
150
  active?: boolean;
816
151
  }>;