@bitrix24/b24ui-nuxt 0.5.10 → 0.5.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 (190) hide show
  1. package/dist/meta.cjs +72112 -0
  2. package/dist/meta.d.cts +72110 -0
  3. package/dist/meta.d.mts +5060 -5060
  4. package/dist/meta.d.ts +72110 -0
  5. package/dist/meta.mjs +5060 -5060
  6. package/dist/module.cjs +63 -0
  7. package/dist/module.d.cts +15 -0
  8. package/dist/module.d.ts +15 -0
  9. package/dist/module.json +3 -3
  10. package/dist/module.mjs +1 -1
  11. package/dist/runtime/components/Advice.vue +54 -47
  12. package/dist/runtime/components/Alert.vue +96 -71
  13. package/dist/runtime/components/App.vue +34 -37
  14. package/dist/runtime/components/Avatar.vue +81 -69
  15. package/dist/runtime/components/AvatarGroup.vue +76 -53
  16. package/dist/runtime/components/Badge.vue +83 -83
  17. package/dist/runtime/components/Button.vue +157 -220
  18. package/dist/runtime/components/ButtonGroup.vue +51 -35
  19. package/dist/runtime/components/Calendar.vue +152 -186
  20. package/dist/runtime/components/Checkbox.vue +73 -84
  21. package/dist/runtime/components/Chip.vue +74 -59
  22. package/dist/runtime/components/Collapsible.vue +41 -44
  23. package/dist/runtime/components/Container.vue +27 -18
  24. package/dist/runtime/components/Countdown.vue +378 -198
  25. package/dist/runtime/components/DescriptionList.vue +149 -102
  26. package/dist/runtime/components/DropdownMenu.vue +139 -83
  27. package/dist/runtime/components/DropdownMenuContent.vue +84 -137
  28. package/dist/runtime/components/Form.vue +216 -162
  29. package/dist/runtime/components/FormField.vue +80 -76
  30. package/dist/runtime/components/Input.vue +179 -160
  31. package/dist/runtime/components/InputMenu.vue +380 -300
  32. package/dist/runtime/components/InputNumber.vue +175 -178
  33. package/dist/runtime/components/Kbd.vue +45 -33
  34. package/dist/runtime/components/Link.vue +173 -179
  35. package/dist/runtime/components/LinkBase.vue +42 -64
  36. package/dist/runtime/components/Modal.vue +127 -105
  37. package/dist/runtime/components/ModalDialogClose.vue +8 -4
  38. package/dist/runtime/components/Navbar.vue +33 -24
  39. package/dist/runtime/components/NavbarDivider.vue +33 -24
  40. package/dist/runtime/components/NavbarSection.vue +33 -24
  41. package/dist/runtime/components/NavbarSpacer.vue +33 -24
  42. package/dist/runtime/components/NavigationMenu.vue +210 -144
  43. package/dist/runtime/components/OverlayProvider.vue +17 -13
  44. package/dist/runtime/components/Popover.vue +81 -81
  45. package/dist/runtime/components/Progress.vue +136 -109
  46. package/dist/runtime/components/RadioGroup.vue +134 -120
  47. package/dist/runtime/components/Range.vue +85 -94
  48. package/dist/runtime/components/Select.vue +260 -212
  49. package/dist/runtime/components/SelectMenu.vue +365 -272
  50. package/dist/runtime/components/Separator.vue +71 -61
  51. package/dist/runtime/components/Sidebar.vue +33 -24
  52. package/dist/runtime/components/SidebarBody.vue +38 -30
  53. package/dist/runtime/components/SidebarFooter.vue +33 -24
  54. package/dist/runtime/components/SidebarHeader.vue +33 -24
  55. package/dist/runtime/components/SidebarHeading.vue +33 -24
  56. package/dist/runtime/components/SidebarLayout.vue +70 -40
  57. package/dist/runtime/components/SidebarSection.vue +33 -24
  58. package/dist/runtime/components/SidebarSpacer.vue +33 -24
  59. package/dist/runtime/components/Skeleton.vue +22 -17
  60. package/dist/runtime/components/Slideover.vue +131 -108
  61. package/dist/runtime/components/StackedLayout.vue +73 -40
  62. package/dist/runtime/components/Switch.vue +95 -100
  63. package/dist/runtime/components/Tabs.vue +107 -81
  64. package/dist/runtime/components/Textarea.vue +201 -177
  65. package/dist/runtime/components/Toast.vue +105 -94
  66. package/dist/runtime/components/Toaster.vue +116 -94
  67. package/dist/runtime/components/Tooltip.vue +64 -78
  68. package/dist/runtime/components/content/TableWrapper.vue +70 -58
  69. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  70. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  71. package/dist/runtime/composables/useComponentIcons.d.ts +3 -3
  72. package/dist/runtime/composables/useFormField.d.ts +1 -1
  73. package/dist/runtime/prose/A.vue +23 -18
  74. package/dist/runtime/prose/Blockquote.vue +23 -18
  75. package/dist/runtime/prose/Code.vue +31 -23
  76. package/dist/runtime/prose/Em.vue +23 -18
  77. package/dist/runtime/prose/H1.vue +23 -18
  78. package/dist/runtime/prose/H2.vue +23 -18
  79. package/dist/runtime/prose/H3.vue +23 -18
  80. package/dist/runtime/prose/H4.vue +23 -18
  81. package/dist/runtime/prose/H5.vue +23 -18
  82. package/dist/runtime/prose/H6.vue +23 -18
  83. package/dist/runtime/prose/Hr.vue +19 -18
  84. package/dist/runtime/prose/Img.vue +23 -18
  85. package/dist/runtime/prose/Li.vue +23 -18
  86. package/dist/runtime/prose/Ol.vue +23 -18
  87. package/dist/runtime/prose/P.vue +23 -18
  88. package/dist/runtime/prose/Pre.vue +33 -28
  89. package/dist/runtime/prose/Strong.vue +23 -18
  90. package/dist/runtime/prose/Table.vue +54 -44
  91. package/dist/runtime/prose/Tbody.vue +23 -18
  92. package/dist/runtime/prose/Td.vue +23 -18
  93. package/dist/runtime/prose/Th.vue +23 -18
  94. package/dist/runtime/prose/Thead.vue +23 -18
  95. package/dist/runtime/prose/Tr.vue +23 -18
  96. package/dist/runtime/prose/Ul.vue +23 -18
  97. package/dist/runtime/vue/components/Link.vue +202 -201
  98. package/dist/shared/b24ui-nuxt.DrKwIWoc.cjs +7721 -0
  99. package/dist/types.d.mts +5 -3
  100. package/dist/types.d.ts +7 -0
  101. package/dist/unplugin.cjs +236 -0
  102. package/dist/unplugin.d.cts +33 -0
  103. package/dist/unplugin.d.ts +33 -0
  104. package/dist/vite.cjs +21 -0
  105. package/dist/vite.d.cts +14 -0
  106. package/dist/vite.d.ts +14 -0
  107. package/package.json +25 -13
  108. package/dist/runtime/components/Advice.vue.d.ts +0 -170
  109. package/dist/runtime/components/Alert.vue.d.ts +0 -464
  110. package/dist/runtime/components/App.vue.d.ts +0 -23
  111. package/dist/runtime/components/Avatar.vue.d.ts +0 -281
  112. package/dist/runtime/components/AvatarGroup.vue.d.ts +0 -204
  113. package/dist/runtime/components/Badge.vue.d.ts +0 -517
  114. package/dist/runtime/components/Button.vue.d.ts +0 -640
  115. package/dist/runtime/components/ButtonGroup.vue.d.ts +0 -116
  116. package/dist/runtime/components/Calendar.vue.d.ts +0 -437
  117. package/dist/runtime/components/Checkbox.vue.d.ts +0 -354
  118. package/dist/runtime/components/Chip.vue.d.ts +0 -271
  119. package/dist/runtime/components/Collapsible.vue.d.ts +0 -118
  120. package/dist/runtime/components/Container.vue.d.ts +0 -27
  121. package/dist/runtime/components/Countdown.vue.d.ts +0 -356
  122. package/dist/runtime/components/DescriptionList.vue.d.ts +0 -379
  123. package/dist/runtime/components/DropdownMenu.vue.d.ts +0 -533
  124. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -228
  125. package/dist/runtime/components/Form.vue.d.ts +0 -55
  126. package/dist/runtime/components/FormField.vue.d.ts +0 -282
  127. package/dist/runtime/components/Input.vue.d.ts +0 -755
  128. package/dist/runtime/components/InputMenu.vue.d.ts +0 -1504
  129. package/dist/runtime/components/InputNumber.vue.d.ts +0 -658
  130. package/dist/runtime/components/Kbd.vue.d.ts +0 -109
  131. package/dist/runtime/components/Link.vue.d.ts +0 -129
  132. package/dist/runtime/components/LinkBase.vue.d.ts +0 -48
  133. package/dist/runtime/components/Modal.vue.d.ts +0 -327
  134. package/dist/runtime/components/ModalDialogClose.vue.d.ts +0 -10
  135. package/dist/runtime/components/Navbar.vue.d.ts +0 -101
  136. package/dist/runtime/components/NavbarDivider.vue.d.ts +0 -101
  137. package/dist/runtime/components/NavbarSection.vue.d.ts +0 -101
  138. package/dist/runtime/components/NavbarSpacer.vue.d.ts +0 -101
  139. package/dist/runtime/components/NavigationMenu.vue.d.ts +0 -824
  140. package/dist/runtime/components/OverlayProvider.vue.d.ts +0 -2
  141. package/dist/runtime/components/Popover.vue.d.ts +0 -147
  142. package/dist/runtime/components/Progress.vue.d.ts +0 -592
  143. package/dist/runtime/components/RadioGroup.vue.d.ts +0 -723
  144. package/dist/runtime/components/Range.vue.d.ts +0 -417
  145. package/dist/runtime/components/Select.vue.d.ts +0 -1200
  146. package/dist/runtime/components/SelectMenu.vue.d.ts +0 -1298
  147. package/dist/runtime/components/Separator.vue.d.ts +0 -400
  148. package/dist/runtime/components/Sidebar.vue.d.ts +0 -101
  149. package/dist/runtime/components/SidebarBody.vue.d.ts +0 -90
  150. package/dist/runtime/components/SidebarFooter.vue.d.ts +0 -101
  151. package/dist/runtime/components/SidebarHeader.vue.d.ts +0 -101
  152. package/dist/runtime/components/SidebarHeading.vue.d.ts +0 -101
  153. package/dist/runtime/components/SidebarLayout.vue.d.ts +0 -222
  154. package/dist/runtime/components/SidebarSection.vue.d.ts +0 -101
  155. package/dist/runtime/components/SidebarSpacer.vue.d.ts +0 -101
  156. package/dist/runtime/components/Skeleton.vue.d.ts +0 -26
  157. package/dist/runtime/components/Slideover.vue.d.ts +0 -360
  158. package/dist/runtime/components/StackedLayout.vue.d.ts +0 -192
  159. package/dist/runtime/components/Switch.vue.d.ts +0 -587
  160. package/dist/runtime/components/Tabs.vue.d.ts +0 -453
  161. package/dist/runtime/components/Textarea.vue.d.ts +0 -601
  162. package/dist/runtime/components/Toast.vue.d.ts +0 -438
  163. package/dist/runtime/components/Toaster.vue.d.ts +0 -219
  164. package/dist/runtime/components/Tooltip.vue.d.ts +0 -186
  165. package/dist/runtime/components/content/TableWrapper.vue.d.ts +0 -237
  166. package/dist/runtime/prose/A.vue.d.ts +0 -84
  167. package/dist/runtime/prose/Blockquote.vue.d.ts +0 -84
  168. package/dist/runtime/prose/Code.vue.d.ts +0 -97
  169. package/dist/runtime/prose/Em.vue.d.ts +0 -84
  170. package/dist/runtime/prose/H1.vue.d.ts +0 -97
  171. package/dist/runtime/prose/H2.vue.d.ts +0 -123
  172. package/dist/runtime/prose/H3.vue.d.ts +0 -123
  173. package/dist/runtime/prose/H4.vue.d.ts +0 -123
  174. package/dist/runtime/prose/H5.vue.d.ts +0 -123
  175. package/dist/runtime/prose/H6.vue.d.ts +0 -123
  176. package/dist/runtime/prose/Hr.vue.d.ts +0 -74
  177. package/dist/runtime/prose/Img.vue.d.ts +0 -77
  178. package/dist/runtime/prose/Li.vue.d.ts +0 -84
  179. package/dist/runtime/prose/Ol.vue.d.ts +0 -84
  180. package/dist/runtime/prose/P.vue.d.ts +0 -84
  181. package/dist/runtime/prose/Pre.vue.d.ts +0 -117
  182. package/dist/runtime/prose/Strong.vue.d.ts +0 -84
  183. package/dist/runtime/prose/Table.vue.d.ts +0 -144
  184. package/dist/runtime/prose/Tbody.vue.d.ts +0 -84
  185. package/dist/runtime/prose/Td.vue.d.ts +0 -84
  186. package/dist/runtime/prose/Th.vue.d.ts +0 -84
  187. package/dist/runtime/prose/Thead.vue.d.ts +0 -84
  188. package/dist/runtime/prose/Tr.vue.d.ts +0 -84
  189. package/dist/runtime/prose/Ul.vue.d.ts +0 -84
  190. package/dist/runtime/vue/components/Link.vue.d.ts +0 -129
@@ -1,379 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- import type { AvatarProps, ButtonProps, IconComponent } from '../types';
3
- import type { DynamicSlots } from '../types/utils';
4
- declare const descriptionList: import("tailwind-variants").TVReturnType<{
5
- size: {
6
- sm: {
7
- legend: string;
8
- text: string;
9
- container: string;
10
- labelWrapper: string;
11
- avatarSize: string;
12
- label: string;
13
- descriptionWrapper: string;
14
- description: string;
15
- footer: string;
16
- };
17
- md: {
18
- legend: string;
19
- text: string;
20
- container: string;
21
- labelWrapper: string;
22
- avatarSize: string;
23
- label: string;
24
- descriptionWrapper: string;
25
- description: string;
26
- footer: string;
27
- };
28
- };
29
- orientation: {
30
- horizontal: {
31
- descriptionWrapper: string;
32
- actions: string;
33
- };
34
- vertical: {
35
- descriptionWrapper: string;
36
- actions: string;
37
- };
38
- };
39
- title: {
40
- true: {
41
- description: string;
42
- };
43
- };
44
- }, {
45
- root: string;
46
- legend: string;
47
- text: string;
48
- container: string;
49
- labelWrapper: string;
50
- icon: string;
51
- avatar: string;
52
- avatarSize: string;
53
- label: string;
54
- descriptionWrapper: string;
55
- description: string;
56
- actions: string;
57
- footer: string;
58
- }, undefined, {
59
- size: {
60
- sm: {
61
- legend: string;
62
- text: string;
63
- container: string;
64
- labelWrapper: string;
65
- avatarSize: string;
66
- label: string;
67
- descriptionWrapper: string;
68
- description: string;
69
- footer: string;
70
- };
71
- md: {
72
- legend: string;
73
- text: string;
74
- container: string;
75
- labelWrapper: string;
76
- avatarSize: string;
77
- label: string;
78
- descriptionWrapper: string;
79
- description: string;
80
- footer: string;
81
- };
82
- };
83
- orientation: {
84
- horizontal: {
85
- descriptionWrapper: string;
86
- actions: string;
87
- };
88
- vertical: {
89
- descriptionWrapper: string;
90
- actions: string;
91
- };
92
- };
93
- title: {
94
- true: {
95
- description: string;
96
- };
97
- };
98
- }, {
99
- root: string;
100
- legend: string;
101
- text: string;
102
- container: string;
103
- labelWrapper: string;
104
- icon: string;
105
- avatar: string;
106
- avatarSize: string;
107
- label: string;
108
- descriptionWrapper: string;
109
- description: string;
110
- actions: string;
111
- footer: string;
112
- }, import("tailwind-variants").TVReturnType<{
113
- size: {
114
- sm: {
115
- legend: string;
116
- text: string;
117
- container: string;
118
- labelWrapper: string;
119
- avatarSize: string;
120
- label: string;
121
- descriptionWrapper: string;
122
- description: string;
123
- footer: string;
124
- };
125
- md: {
126
- legend: string;
127
- text: string;
128
- container: string;
129
- labelWrapper: string;
130
- avatarSize: string;
131
- label: string;
132
- descriptionWrapper: string;
133
- description: string;
134
- footer: string;
135
- };
136
- };
137
- orientation: {
138
- horizontal: {
139
- descriptionWrapper: string;
140
- actions: string;
141
- };
142
- vertical: {
143
- descriptionWrapper: string;
144
- actions: string;
145
- };
146
- };
147
- title: {
148
- true: {
149
- description: string;
150
- };
151
- };
152
- }, {
153
- root: string;
154
- legend: string;
155
- text: string;
156
- container: string;
157
- labelWrapper: string;
158
- icon: string;
159
- avatar: string;
160
- avatarSize: string;
161
- label: string;
162
- descriptionWrapper: string;
163
- description: string;
164
- actions: string;
165
- footer: string;
166
- }, undefined, {
167
- size: {
168
- sm: {
169
- legend: string;
170
- text: string;
171
- container: string;
172
- labelWrapper: string;
173
- avatarSize: string;
174
- label: string;
175
- descriptionWrapper: string;
176
- description: string;
177
- footer: string;
178
- };
179
- md: {
180
- legend: string;
181
- text: string;
182
- container: string;
183
- labelWrapper: string;
184
- avatarSize: string;
185
- label: string;
186
- descriptionWrapper: string;
187
- description: string;
188
- footer: string;
189
- };
190
- };
191
- orientation: {
192
- horizontal: {
193
- descriptionWrapper: string;
194
- actions: string;
195
- };
196
- vertical: {
197
- descriptionWrapper: string;
198
- actions: string;
199
- };
200
- };
201
- title: {
202
- true: {
203
- description: string;
204
- };
205
- };
206
- }, {
207
- root: string;
208
- legend: string;
209
- text: string;
210
- container: string;
211
- labelWrapper: string;
212
- icon: string;
213
- avatar: string;
214
- avatarSize: string;
215
- label: string;
216
- descriptionWrapper: string;
217
- description: string;
218
- actions: string;
219
- footer: string;
220
- }, import("tailwind-variants").TVReturnType<{
221
- size: {
222
- sm: {
223
- legend: string;
224
- text: string;
225
- container: string;
226
- labelWrapper: string;
227
- avatarSize: string;
228
- label: string;
229
- descriptionWrapper: string;
230
- description: string;
231
- footer: string;
232
- };
233
- md: {
234
- legend: string;
235
- text: string;
236
- container: string;
237
- labelWrapper: string;
238
- avatarSize: string;
239
- label: string;
240
- descriptionWrapper: string;
241
- description: string;
242
- footer: string;
243
- };
244
- };
245
- orientation: {
246
- horizontal: {
247
- descriptionWrapper: string;
248
- actions: string;
249
- };
250
- vertical: {
251
- descriptionWrapper: string;
252
- actions: string;
253
- };
254
- };
255
- title: {
256
- true: {
257
- description: string;
258
- };
259
- };
260
- }, {
261
- root: string;
262
- legend: string;
263
- text: string;
264
- container: string;
265
- labelWrapper: string;
266
- icon: string;
267
- avatar: string;
268
- avatarSize: string;
269
- label: string;
270
- descriptionWrapper: string;
271
- description: string;
272
- actions: string;
273
- footer: string;
274
- }, undefined, unknown, unknown, undefined>>>;
275
- type DescriptionListVariants = VariantProps<typeof descriptionList>;
276
- export interface DescriptionListItem {
277
- label?: string;
278
- /**
279
- * Display an icon on the left side.
280
- * @IconComponent
281
- */
282
- icon?: IconComponent;
283
- avatar?: AvatarProps;
284
- slot?: string;
285
- description?: string;
286
- /**
287
- * The orientation between the content and the actions.
288
- * @defaultValue 'vertical'
289
- */
290
- orientation?: DescriptionListVariants['orientation'];
291
- /**
292
- * Display a list of actions:
293
- * - under the description when orientation is `vertical`
294
- * - next to the description when orientation is `horizontal`
295
- * `{ size: 'xs' }`{lang="ts"}
296
- */
297
- actions?: ButtonProps[];
298
- class?: any;
299
- b24ui?: Partial<typeof descriptionList.slots>;
300
- [key: string]: any;
301
- }
302
- export interface DescriptionListProps<T extends DescriptionListItem = DescriptionListItem> {
303
- legend?: string;
304
- text?: string;
305
- /**
306
- * The key used to get the label from the item.
307
- * @defaultValue 'label'
308
- */
309
- labelKey?: string;
310
- /**
311
- * The key used to get the description from the item.
312
- * @defaultValue 'description'
313
- */
314
- descriptionKey?: string;
315
- items?: T[];
316
- /**
317
- * @defaultValue 'md'
318
- */
319
- size?: DescriptionListVariants['size'];
320
- class?: any;
321
- b24ui?: Partial<typeof descriptionList.slots>;
322
- }
323
- type SlotProps<T extends DescriptionListItem> = (props: {
324
- item: T;
325
- index: number;
326
- }) => any;
327
- export type DescriptionListSlots<T extends DescriptionListItem = DescriptionListItem> = {
328
- legend(props?: {}): any;
329
- text(props?: {}): any;
330
- leading: SlotProps<T>;
331
- label: SlotProps<T>;
332
- description: SlotProps<T>;
333
- actions: SlotProps<T>;
334
- content: SlotProps<T>;
335
- footer(props?: {
336
- b24ui: any;
337
- }): any;
338
- } & DynamicSlots<T, undefined, {
339
- index: number;
340
- }>;
341
- declare const _default: <T extends DescriptionListItem>(__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<{
342
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & DescriptionListProps<T> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
343
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
344
- attrs: any;
345
- slots: Readonly<{
346
- legend(props?: {}): any;
347
- text(props?: {}): any;
348
- leading: SlotProps<T>;
349
- label: SlotProps<T>;
350
- description: SlotProps<T>;
351
- actions: SlotProps<T>;
352
- content: SlotProps<T>;
353
- footer(props?: {
354
- b24ui: any;
355
- }): any;
356
- } & DynamicSlots<T, undefined, {
357
- index: number;
358
- }>> & {
359
- legend(props?: {}): any;
360
- text(props?: {}): any;
361
- leading: SlotProps<T>;
362
- label: SlotProps<T>;
363
- description: SlotProps<T>;
364
- actions: SlotProps<T>;
365
- content: SlotProps<T>;
366
- footer(props?: {
367
- b24ui: any;
368
- }): any;
369
- } & DynamicSlots<T, undefined, {
370
- index: number;
371
- }>;
372
- emit: {};
373
- }>) => import("vue").VNode & {
374
- __ctx?: Awaited<typeof __VLS_setup>;
375
- };
376
- export default _default;
377
- type __VLS_PrettifyLocal<T> = {
378
- [K in keyof T]: T[K];
379
- } & {};