@bitrix24/b24ui-nuxt 0.5.8 → 0.5.10

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 (197) hide show
  1. package/.nuxt/b24ui/navigation-menu.ts +0 -2
  2. package/.nuxt/b24ui/popover.ts +1 -1
  3. package/.nuxt/b24ui/textarea.ts +43 -0
  4. package/dist/meta.d.mts +5090 -4900
  5. package/dist/meta.mjs +5090 -4900
  6. package/dist/module.json +5 -5
  7. package/dist/module.mjs +11 -7
  8. package/dist/runtime/components/Advice.vue +47 -54
  9. package/dist/runtime/components/Advice.vue.d.ts +170 -0
  10. package/dist/runtime/components/Alert.vue +71 -96
  11. package/dist/runtime/components/Alert.vue.d.ts +464 -0
  12. package/dist/runtime/components/App.vue +37 -34
  13. package/dist/runtime/components/App.vue.d.ts +23 -0
  14. package/dist/runtime/components/Avatar.vue +69 -81
  15. package/dist/runtime/components/Avatar.vue.d.ts +281 -0
  16. package/dist/runtime/components/AvatarGroup.vue +53 -76
  17. package/dist/runtime/components/AvatarGroup.vue.d.ts +204 -0
  18. package/dist/runtime/components/Badge.vue +83 -83
  19. package/dist/runtime/components/Badge.vue.d.ts +517 -0
  20. package/dist/runtime/components/Button.vue +219 -149
  21. package/dist/runtime/components/Button.vue.d.ts +640 -0
  22. package/dist/runtime/components/ButtonGroup.vue +35 -51
  23. package/dist/runtime/components/ButtonGroup.vue.d.ts +116 -0
  24. package/dist/runtime/components/Calendar.vue +186 -152
  25. package/dist/runtime/components/Calendar.vue.d.ts +437 -0
  26. package/dist/runtime/components/Checkbox.vue +84 -73
  27. package/dist/runtime/components/Checkbox.vue.d.ts +354 -0
  28. package/dist/runtime/components/Chip.vue +59 -74
  29. package/dist/runtime/components/Chip.vue.d.ts +271 -0
  30. package/dist/runtime/components/Collapsible.vue +44 -41
  31. package/dist/runtime/components/Collapsible.vue.d.ts +118 -0
  32. package/dist/runtime/components/Container.vue +18 -27
  33. package/dist/runtime/components/Container.vue.d.ts +27 -0
  34. package/dist/runtime/components/Countdown.vue +198 -378
  35. package/dist/runtime/components/Countdown.vue.d.ts +356 -0
  36. package/dist/runtime/components/DescriptionList.vue +102 -149
  37. package/dist/runtime/components/DescriptionList.vue.d.ts +379 -0
  38. package/dist/runtime/components/DropdownMenu.vue +83 -139
  39. package/dist/runtime/components/DropdownMenu.vue.d.ts +533 -0
  40. package/dist/runtime/components/DropdownMenuContent.vue +137 -81
  41. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +228 -0
  42. package/dist/runtime/components/Form.vue +162 -216
  43. package/dist/runtime/components/Form.vue.d.ts +55 -0
  44. package/dist/runtime/components/FormField.vue +76 -80
  45. package/dist/runtime/components/FormField.vue.d.ts +282 -0
  46. package/dist/runtime/components/Input.vue +166 -185
  47. package/dist/runtime/components/Input.vue.d.ts +755 -0
  48. package/dist/runtime/components/InputMenu.vue +300 -381
  49. package/dist/runtime/components/InputMenu.vue.d.ts +1504 -0
  50. package/dist/runtime/components/InputNumber.vue +180 -177
  51. package/dist/runtime/components/InputNumber.vue.d.ts +658 -0
  52. package/dist/runtime/components/Kbd.vue +33 -45
  53. package/dist/runtime/components/Kbd.vue.d.ts +109 -0
  54. package/dist/runtime/components/Link.vue +179 -173
  55. package/dist/runtime/components/Link.vue.d.ts +129 -0
  56. package/dist/runtime/components/LinkBase.vue +64 -42
  57. package/dist/runtime/components/LinkBase.vue.d.ts +48 -0
  58. package/dist/runtime/components/Modal.vue +105 -127
  59. package/dist/runtime/components/Modal.vue.d.ts +327 -0
  60. package/dist/runtime/components/ModalDialogClose.vue +4 -8
  61. package/dist/runtime/components/ModalDialogClose.vue.d.ts +10 -0
  62. package/dist/runtime/components/Navbar.vue +24 -33
  63. package/dist/runtime/components/Navbar.vue.d.ts +101 -0
  64. package/dist/runtime/components/NavbarDivider.vue +24 -33
  65. package/dist/runtime/components/NavbarDivider.vue.d.ts +101 -0
  66. package/dist/runtime/components/NavbarSection.vue +24 -33
  67. package/dist/runtime/components/NavbarSection.vue.d.ts +101 -0
  68. package/dist/runtime/components/NavbarSpacer.vue +24 -33
  69. package/dist/runtime/components/NavbarSpacer.vue.d.ts +101 -0
  70. package/dist/runtime/components/NavigationMenu.vue +152 -216
  71. package/dist/runtime/components/NavigationMenu.vue.d.ts +824 -0
  72. package/dist/runtime/components/OverlayProvider.vue +13 -17
  73. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  74. package/dist/runtime/components/Popover.vue +81 -81
  75. package/dist/runtime/components/Popover.vue.d.ts +147 -0
  76. package/dist/runtime/components/Progress.vue +109 -136
  77. package/dist/runtime/components/Progress.vue.d.ts +592 -0
  78. package/dist/runtime/components/RadioGroup.vue +120 -134
  79. package/dist/runtime/components/RadioGroup.vue.d.ts +723 -0
  80. package/dist/runtime/components/Range.vue +94 -85
  81. package/dist/runtime/components/Range.vue.d.ts +417 -0
  82. package/dist/runtime/components/Select.vue +212 -260
  83. package/dist/runtime/components/Select.vue.d.ts +1200 -0
  84. package/dist/runtime/components/SelectMenu.vue +272 -366
  85. package/dist/runtime/components/SelectMenu.vue.d.ts +1298 -0
  86. package/dist/runtime/components/Separator.vue +61 -71
  87. package/dist/runtime/components/Separator.vue.d.ts +400 -0
  88. package/dist/runtime/components/Sidebar.vue +24 -33
  89. package/dist/runtime/components/Sidebar.vue.d.ts +101 -0
  90. package/dist/runtime/components/SidebarBody.vue +30 -38
  91. package/dist/runtime/components/SidebarBody.vue.d.ts +90 -0
  92. package/dist/runtime/components/SidebarFooter.vue +24 -33
  93. package/dist/runtime/components/SidebarFooter.vue.d.ts +101 -0
  94. package/dist/runtime/components/SidebarHeader.vue +24 -33
  95. package/dist/runtime/components/SidebarHeader.vue.d.ts +101 -0
  96. package/dist/runtime/components/SidebarHeading.vue +24 -33
  97. package/dist/runtime/components/SidebarHeading.vue.d.ts +101 -0
  98. package/dist/runtime/components/SidebarLayout.vue +40 -70
  99. package/dist/runtime/components/SidebarLayout.vue.d.ts +222 -0
  100. package/dist/runtime/components/SidebarSection.vue +24 -33
  101. package/dist/runtime/components/SidebarSection.vue.d.ts +101 -0
  102. package/dist/runtime/components/SidebarSpacer.vue +24 -33
  103. package/dist/runtime/components/SidebarSpacer.vue.d.ts +101 -0
  104. package/dist/runtime/components/Skeleton.vue +17 -22
  105. package/dist/runtime/components/Skeleton.vue.d.ts +26 -0
  106. package/dist/runtime/components/Slideover.vue +108 -131
  107. package/dist/runtime/components/Slideover.vue.d.ts +360 -0
  108. package/dist/runtime/components/StackedLayout.vue +40 -73
  109. package/dist/runtime/components/StackedLayout.vue.d.ts +192 -0
  110. package/dist/runtime/components/Switch.vue +100 -95
  111. package/dist/runtime/components/Switch.vue.d.ts +587 -0
  112. package/dist/runtime/components/Tabs.vue +83 -105
  113. package/dist/runtime/components/Tabs.vue.d.ts +453 -0
  114. package/dist/runtime/components/Textarea.vue +215 -203
  115. package/dist/runtime/components/Textarea.vue.d.ts +601 -0
  116. package/dist/runtime/components/Toast.vue +94 -105
  117. package/dist/runtime/components/Toast.vue.d.ts +438 -0
  118. package/dist/runtime/components/Toaster.vue +94 -111
  119. package/dist/runtime/components/Toaster.vue.d.ts +219 -0
  120. package/dist/runtime/components/Tooltip.vue +78 -64
  121. package/dist/runtime/components/Tooltip.vue.d.ts +186 -0
  122. package/dist/runtime/components/content/TableWrapper.vue +58 -70
  123. package/dist/runtime/components/content/TableWrapper.vue.d.ts +237 -0
  124. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  125. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  126. package/dist/runtime/composables/useComponentIcons.d.ts +3 -3
  127. package/dist/runtime/composables/useFormField.d.ts +1 -1
  128. package/dist/runtime/prose/A.vue +18 -23
  129. package/dist/runtime/prose/A.vue.d.ts +84 -0
  130. package/dist/runtime/prose/Blockquote.vue +18 -23
  131. package/dist/runtime/prose/Blockquote.vue.d.ts +84 -0
  132. package/dist/runtime/prose/Code.vue +23 -31
  133. package/dist/runtime/prose/Code.vue.d.ts +97 -0
  134. package/dist/runtime/prose/Em.vue +18 -23
  135. package/dist/runtime/prose/Em.vue.d.ts +84 -0
  136. package/dist/runtime/prose/H1.vue +18 -23
  137. package/dist/runtime/prose/H1.vue.d.ts +97 -0
  138. package/dist/runtime/prose/H2.vue +18 -23
  139. package/dist/runtime/prose/H2.vue.d.ts +123 -0
  140. package/dist/runtime/prose/H3.vue +18 -23
  141. package/dist/runtime/prose/H3.vue.d.ts +123 -0
  142. package/dist/runtime/prose/H4.vue +18 -23
  143. package/dist/runtime/prose/H4.vue.d.ts +123 -0
  144. package/dist/runtime/prose/H5.vue +18 -23
  145. package/dist/runtime/prose/H5.vue.d.ts +123 -0
  146. package/dist/runtime/prose/H6.vue +18 -23
  147. package/dist/runtime/prose/H6.vue.d.ts +123 -0
  148. package/dist/runtime/prose/Hr.vue +18 -19
  149. package/dist/runtime/prose/Hr.vue.d.ts +74 -0
  150. package/dist/runtime/prose/Img.vue +18 -23
  151. package/dist/runtime/prose/Img.vue.d.ts +77 -0
  152. package/dist/runtime/prose/Li.vue +18 -23
  153. package/dist/runtime/prose/Li.vue.d.ts +84 -0
  154. package/dist/runtime/prose/Ol.vue +18 -23
  155. package/dist/runtime/prose/Ol.vue.d.ts +84 -0
  156. package/dist/runtime/prose/P.vue +18 -23
  157. package/dist/runtime/prose/P.vue.d.ts +84 -0
  158. package/dist/runtime/prose/Pre.vue +28 -33
  159. package/dist/runtime/prose/Pre.vue.d.ts +117 -0
  160. package/dist/runtime/prose/Strong.vue +18 -23
  161. package/dist/runtime/prose/Strong.vue.d.ts +84 -0
  162. package/dist/runtime/prose/Table.vue +44 -54
  163. package/dist/runtime/prose/Table.vue.d.ts +144 -0
  164. package/dist/runtime/prose/Tbody.vue +18 -23
  165. package/dist/runtime/prose/Tbody.vue.d.ts +84 -0
  166. package/dist/runtime/prose/Td.vue +18 -23
  167. package/dist/runtime/prose/Td.vue.d.ts +84 -0
  168. package/dist/runtime/prose/Th.vue +18 -23
  169. package/dist/runtime/prose/Th.vue.d.ts +84 -0
  170. package/dist/runtime/prose/Thead.vue +18 -23
  171. package/dist/runtime/prose/Thead.vue.d.ts +84 -0
  172. package/dist/runtime/prose/Tr.vue +18 -23
  173. package/dist/runtime/prose/Tr.vue.d.ts +84 -0
  174. package/dist/runtime/prose/Ul.vue +18 -23
  175. package/dist/runtime/prose/Ul.vue.d.ts +84 -0
  176. package/dist/runtime/vue/components/Link.vue +201 -202
  177. package/dist/runtime/vue/components/Link.vue.d.ts +129 -0
  178. package/dist/runtime/vue/stubs.d.ts +2 -2
  179. package/dist/shared/{b24ui-nuxt.DBFS6LH7.mjs → b24ui-nuxt.CS9Lf0os.mjs} +54 -4
  180. package/dist/types.d.mts +3 -5
  181. package/dist/unplugin.mjs +1 -1
  182. package/dist/vite.mjs +1 -1
  183. package/package.json +62 -35
  184. package/dist/meta.cjs +0 -71922
  185. package/dist/meta.d.cts +0 -71920
  186. package/dist/meta.d.ts +0 -71920
  187. package/dist/module.cjs +0 -59
  188. package/dist/module.d.cts +0 -15
  189. package/dist/module.d.ts +0 -15
  190. package/dist/shared/b24ui-nuxt.B9fPD5yO.cjs +0 -7671
  191. package/dist/types.d.ts +0 -7
  192. package/dist/unplugin.cjs +0 -236
  193. package/dist/unplugin.d.cts +0 -33
  194. package/dist/unplugin.d.ts +0 -33
  195. package/dist/vite.cjs +0 -21
  196. package/dist/vite.d.cts +0 -14
  197. package/dist/vite.d.ts +0 -14
@@ -0,0 +1,824 @@
1
+ import type { VariantProps } from 'tailwind-variants';
2
+ import type { NavigationMenuRootProps, NavigationMenuRootEmits, NavigationMenuContentProps, NavigationMenuContentEmits, CollapsibleRootProps } from 'reka-ui';
3
+ 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>>>;
671
+ export interface NavigationMenuChildItem extends Omit<NavigationMenuItem, 'type'> {
672
+ /** Description is only used when `orientation` is `horizontal`. */
673
+ description?: string;
674
+ [key: string]: any;
675
+ }
676
+ export interface NavigationMenuItem extends Omit<LinkProps, 'type' | 'raw' | 'custom'>, Pick<CollapsibleRootProps, 'defaultOpen' | 'open'> {
677
+ label?: string;
678
+ /**
679
+ * @IconComponent
680
+ */
681
+ icon?: IconComponent;
682
+ avatar?: AvatarProps;
683
+ /**
684
+ * Display a badge on the item.
685
+ * `{ size: 'sm', color: 'neutral', variant: 'outline' }`{lang="ts-type"}
686
+ */
687
+ badge?: string | number | BadgeProps;
688
+ /**
689
+ * @IconComponent
690
+ */
691
+ trailingIcon?: IconComponent;
692
+ /**
693
+ * The type of the item.
694
+ * The `label` type only works on `vertical` orientation.
695
+ * @defaultValue 'link'
696
+ */
697
+ type?: 'label' | 'link';
698
+ slot?: string;
699
+ value?: string;
700
+ children?: NavigationMenuChildItem[];
701
+ /**
702
+ * With orientation=`horizontal` if `true` it will position the dropdown menu correctly
703
+ */
704
+ viewportRtl?: boolean;
705
+ onSelect?(e: Event): void;
706
+ [key: string]: any;
707
+ }
708
+ type NavigationMenuVariants = VariantProps<typeof navigationMenu>;
709
+ export interface NavigationMenuProps<T extends ArrayOrNested<NavigationMenuItem> = ArrayOrNested<NavigationMenuItem>> extends Pick<NavigationMenuRootProps, 'modelValue' | 'defaultValue' | 'delayDuration' | 'disableClickTrigger' | 'disableHoverTrigger' | 'skipDelayDuration' | 'disablePointerLeaveClose' | 'unmountOnHide'> {
710
+ /**
711
+ * The element or component this component should render as.
712
+ * @defaultValue 'div'
713
+ */
714
+ as?: any;
715
+ /**
716
+ * The icon displayed to open the menu.
717
+ * @defaultValue icons.chevronDown
718
+ * @IconComponent
719
+ */
720
+ trailingIcon?: IconComponent;
721
+ /**
722
+ * The icon displayed when the item is an external link.
723
+ * Set to `false` to hide the external icon.
724
+ * @defaultValue icons.external
725
+ * @IconComponent
726
+ */
727
+ externalIcon?: boolean | IconComponent;
728
+ items?: T;
729
+ /**
730
+ * @defaultValue 'primary'
731
+ */
732
+ color?: NavigationMenuVariants['color'];
733
+ /**
734
+ * @defaultValue 'pill'
735
+ */
736
+ variant?: NavigationMenuVariants['variant'];
737
+ /**
738
+ * The orientation of the menu.
739
+ * @defaultValue 'horizontal'
740
+ */
741
+ orientation?: NavigationMenuRootProps['orientation'];
742
+ /**
743
+ * Collapse the navigation menu to only show icons.
744
+ * Only works when `orientation` is `vertical`.
745
+ * @defaultValue false
746
+ */
747
+ collapsed?: boolean;
748
+ /** Display a line next to the active item. */
749
+ highlight?: boolean;
750
+ /**
751
+ * @defaultValue 'primary'
752
+ */
753
+ highlightColor?: NavigationMenuVariants['highlightColor'];
754
+ /**
755
+ * The content of the menu.
756
+ */
757
+ content?: Omit<NavigationMenuContentProps, 'as' | 'asChild' | 'forceMount'> & Partial<EmitsToProps<NavigationMenuContentEmits>>;
758
+ /**
759
+ * The orientation of the content.
760
+ * Only works when `orientation` is `horizontal`.
761
+ * @defaultValue 'vertical'
762
+ */
763
+ contentOrientation?: NavigationMenuVariants['contentOrientation'];
764
+ /**
765
+ * Display an arrow alongside the menu.
766
+ * @defaultValue false
767
+ */
768
+ arrow?: boolean;
769
+ /**
770
+ * The key used to get the label from the item.
771
+ * @defaultValue 'label'
772
+ */
773
+ labelKey?: keyof NestedItem<T>;
774
+ class?: any;
775
+ b24ui?: PartialString<typeof navigationMenu.slots>;
776
+ }
777
+ export interface NavigationMenuEmits extends NavigationMenuRootEmits {
778
+ }
779
+ type SlotProps<T extends NavigationMenuItem> = (props: {
780
+ item: T;
781
+ index: number;
782
+ active?: boolean;
783
+ }) => any;
784
+ export type NavigationMenuSlots<A extends ArrayOrNested<NavigationMenuItem> = ArrayOrNested<NavigationMenuItem>, T extends NestedItem<A> = NestedItem<A>> = {
785
+ 'item': SlotProps<T>;
786
+ 'item-leading': SlotProps<T>;
787
+ 'item-label': SlotProps<T>;
788
+ 'item-trailing': SlotProps<T>;
789
+ 'item-content': SlotProps<T>;
790
+ } & DynamicSlots<MergeTypes<T>, 'leading' | 'label' | 'trailing' | 'content', {
791
+ index: number;
792
+ active?: boolean;
793
+ }>;
794
+ declare const _default: <T extends ArrayOrNested<NavigationMenuItem>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
795
+ props: __VLS_PrettifyLocal<any & NavigationMenuProps<T> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
796
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
797
+ attrs: any;
798
+ slots: Readonly<{
799
+ item: SlotProps<NestedItem<T>>;
800
+ 'item-leading': SlotProps<NestedItem<T>>;
801
+ 'item-label': SlotProps<NestedItem<T>>;
802
+ 'item-trailing': SlotProps<NestedItem<T>>;
803
+ 'item-content': SlotProps<NestedItem<T>>;
804
+ } & DynamicSlots<MergeTypes<NestedItem<T>>, "label" | "trailing" | "leading" | "content", {
805
+ index: number;
806
+ active?: boolean;
807
+ }>> & {
808
+ item: SlotProps<NestedItem<T>>;
809
+ 'item-leading': SlotProps<NestedItem<T>>;
810
+ 'item-label': SlotProps<NestedItem<T>>;
811
+ 'item-trailing': SlotProps<NestedItem<T>>;
812
+ 'item-content': SlotProps<NestedItem<T>>;
813
+ } & DynamicSlots<MergeTypes<NestedItem<T>>, "label" | "trailing" | "leading" | "content", {
814
+ index: number;
815
+ active?: boolean;
816
+ }>;
817
+ emit: (evt: "update:modelValue", value: string) => void;
818
+ }>) => import("vue").VNode & {
819
+ __ctx?: Awaited<typeof __VLS_setup>;
820
+ };
821
+ export default _default;
822
+ type __VLS_PrettifyLocal<T> = {
823
+ [K in keyof T]: T[K];
824
+ } & {};