@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,354 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- import type { CheckboxRootProps } from 'reka-ui';
3
- declare const checkbox: import("tailwind-variants").TVReturnType<{
4
- color: {
5
- default: string;
6
- danger: string;
7
- success: string;
8
- warning: string;
9
- primary: string;
10
- secondary: string;
11
- collab: string;
12
- ai: string;
13
- };
14
- size: {
15
- xs: {
16
- base: string;
17
- container: string;
18
- wrapper: string;
19
- label: string;
20
- };
21
- sm: {
22
- base: string;
23
- container: string;
24
- wrapper: string;
25
- label: string;
26
- };
27
- md: {
28
- base: string;
29
- container: string;
30
- wrapper: string;
31
- label: string;
32
- };
33
- lg: {
34
- base: string;
35
- container: string;
36
- wrapper: string;
37
- label: string;
38
- };
39
- };
40
- required: {
41
- true: {
42
- label: string;
43
- };
44
- };
45
- disabled: {
46
- true: {
47
- base: string;
48
- label: string;
49
- description: string;
50
- };
51
- };
52
- checked: {
53
- true: string;
54
- };
55
- }, {
56
- root: string;
57
- base: string;
58
- container: string;
59
- wrapper: string;
60
- icon: string;
61
- label: string;
62
- description: string;
63
- }, undefined, {
64
- color: {
65
- default: string;
66
- danger: string;
67
- success: string;
68
- warning: string;
69
- primary: string;
70
- secondary: string;
71
- collab: string;
72
- ai: string;
73
- };
74
- size: {
75
- xs: {
76
- base: string;
77
- container: string;
78
- wrapper: string;
79
- label: string;
80
- };
81
- sm: {
82
- base: string;
83
- container: string;
84
- wrapper: string;
85
- label: string;
86
- };
87
- md: {
88
- base: string;
89
- container: string;
90
- wrapper: string;
91
- label: string;
92
- };
93
- lg: {
94
- base: string;
95
- container: string;
96
- wrapper: string;
97
- label: string;
98
- };
99
- };
100
- required: {
101
- true: {
102
- label: string;
103
- };
104
- };
105
- disabled: {
106
- true: {
107
- base: string;
108
- label: string;
109
- description: string;
110
- };
111
- };
112
- checked: {
113
- true: string;
114
- };
115
- }, {
116
- root: string;
117
- base: string;
118
- container: string;
119
- wrapper: string;
120
- icon: string;
121
- label: string;
122
- description: string;
123
- }, import("tailwind-variants").TVReturnType<{
124
- color: {
125
- default: string;
126
- danger: string;
127
- success: string;
128
- warning: string;
129
- primary: string;
130
- secondary: string;
131
- collab: string;
132
- ai: string;
133
- };
134
- size: {
135
- xs: {
136
- base: string;
137
- container: string;
138
- wrapper: string;
139
- label: string;
140
- };
141
- sm: {
142
- base: string;
143
- container: string;
144
- wrapper: string;
145
- label: string;
146
- };
147
- md: {
148
- base: string;
149
- container: string;
150
- wrapper: string;
151
- label: string;
152
- };
153
- lg: {
154
- base: string;
155
- container: string;
156
- wrapper: string;
157
- label: string;
158
- };
159
- };
160
- required: {
161
- true: {
162
- label: string;
163
- };
164
- };
165
- disabled: {
166
- true: {
167
- base: string;
168
- label: string;
169
- description: string;
170
- };
171
- };
172
- checked: {
173
- true: string;
174
- };
175
- }, {
176
- root: string;
177
- base: string;
178
- container: string;
179
- wrapper: string;
180
- icon: string;
181
- label: string;
182
- description: string;
183
- }, undefined, {
184
- color: {
185
- default: string;
186
- danger: string;
187
- success: string;
188
- warning: string;
189
- primary: string;
190
- secondary: string;
191
- collab: string;
192
- ai: string;
193
- };
194
- size: {
195
- xs: {
196
- base: string;
197
- container: string;
198
- wrapper: string;
199
- label: string;
200
- };
201
- sm: {
202
- base: string;
203
- container: string;
204
- wrapper: string;
205
- label: string;
206
- };
207
- md: {
208
- base: string;
209
- container: string;
210
- wrapper: string;
211
- label: string;
212
- };
213
- lg: {
214
- base: string;
215
- container: string;
216
- wrapper: string;
217
- label: string;
218
- };
219
- };
220
- required: {
221
- true: {
222
- label: string;
223
- };
224
- };
225
- disabled: {
226
- true: {
227
- base: string;
228
- label: string;
229
- description: string;
230
- };
231
- };
232
- checked: {
233
- true: string;
234
- };
235
- }, {
236
- root: string;
237
- base: string;
238
- container: string;
239
- wrapper: string;
240
- icon: string;
241
- label: string;
242
- description: string;
243
- }, import("tailwind-variants").TVReturnType<{
244
- color: {
245
- default: string;
246
- danger: string;
247
- success: string;
248
- warning: string;
249
- primary: string;
250
- secondary: string;
251
- collab: string;
252
- ai: string;
253
- };
254
- size: {
255
- xs: {
256
- base: string;
257
- container: string;
258
- wrapper: string;
259
- label: string;
260
- };
261
- sm: {
262
- base: string;
263
- container: string;
264
- wrapper: string;
265
- label: string;
266
- };
267
- md: {
268
- base: string;
269
- container: string;
270
- wrapper: string;
271
- label: string;
272
- };
273
- lg: {
274
- base: string;
275
- container: string;
276
- wrapper: string;
277
- label: string;
278
- };
279
- };
280
- required: {
281
- true: {
282
- label: string;
283
- };
284
- };
285
- disabled: {
286
- true: {
287
- base: string;
288
- label: string;
289
- description: string;
290
- };
291
- };
292
- checked: {
293
- true: string;
294
- };
295
- }, {
296
- root: string;
297
- base: string;
298
- container: string;
299
- wrapper: string;
300
- icon: string;
301
- label: string;
302
- description: string;
303
- }, undefined, unknown, unknown, undefined>>>;
304
- type CheckboxVariants = VariantProps<typeof checkbox>;
305
- export interface CheckboxProps extends Pick<CheckboxRootProps, 'disabled' | 'required' | 'name' | 'value' | 'id' | 'defaultValue'> {
306
- /**
307
- * The element or component this component should render as.
308
- * @defaultValue 'div'
309
- */
310
- as?: any;
311
- label?: string;
312
- description?: string;
313
- /**
314
- * @defaultValue 'primary'
315
- */
316
- color?: CheckboxVariants['color'];
317
- /**
318
- * @defaultValue 'md'
319
- */
320
- size?: CheckboxVariants['size'];
321
- class?: any;
322
- b24ui?: Partial<typeof checkbox.slots>;
323
- }
324
- export type CheckboxEmits = {
325
- change: [payload: Event];
326
- };
327
- export interface CheckboxSlots {
328
- label(props: {
329
- label?: string;
330
- }): any;
331
- description(props: {
332
- description?: string;
333
- }): any;
334
- }
335
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
336
- modelValue?: boolean | "indeterminate";
337
- } & CheckboxProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
338
- modelValue?: boolean | "indeterminate";
339
- } & CheckboxProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<CheckboxSlots> & CheckboxSlots>;
340
- export default _default;
341
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
342
- type __VLS_TypePropsToOption<T> = {
343
- [K in keyof T]-?: {} extends Pick<T, K> ? {
344
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
345
- } : {
346
- type: import('vue').PropType<T[K]>;
347
- required: true;
348
- };
349
- };
350
- type __VLS_WithTemplateSlots<T, S> = T & {
351
- new (): {
352
- $slots: S;
353
- };
354
- };
@@ -1,271 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- declare const chip: import("tailwind-variants").TVReturnType<{
3
- color: {
4
- default: string;
5
- danger: string;
6
- success: string;
7
- warning: string;
8
- primary: string;
9
- secondary: string;
10
- collab: string;
11
- ai: string;
12
- link: string;
13
- };
14
- size: {
15
- "3xs": string;
16
- "2xs": string;
17
- xs: string;
18
- sm: string;
19
- md: string;
20
- lg: string;
21
- xl: string;
22
- "2xl": string;
23
- "3xl": string;
24
- };
25
- position: {
26
- "top-right": string;
27
- "bottom-right": string;
28
- "top-left": string;
29
- "bottom-left": string;
30
- };
31
- inset: {
32
- false: string;
33
- };
34
- standalone: {
35
- true: string;
36
- false: string;
37
- };
38
- }, {
39
- root: string;
40
- base: string;
41
- }, undefined, {
42
- color: {
43
- default: string;
44
- danger: string;
45
- success: string;
46
- warning: string;
47
- primary: string;
48
- secondary: string;
49
- collab: string;
50
- ai: string;
51
- link: string;
52
- };
53
- size: {
54
- "3xs": string;
55
- "2xs": string;
56
- xs: string;
57
- sm: string;
58
- md: string;
59
- lg: string;
60
- xl: string;
61
- "2xl": string;
62
- "3xl": string;
63
- };
64
- position: {
65
- "top-right": string;
66
- "bottom-right": string;
67
- "top-left": string;
68
- "bottom-left": string;
69
- };
70
- inset: {
71
- false: string;
72
- };
73
- standalone: {
74
- true: string;
75
- false: string;
76
- };
77
- }, {
78
- root: string;
79
- base: string;
80
- }, import("tailwind-variants").TVReturnType<{
81
- color: {
82
- default: string;
83
- danger: string;
84
- success: string;
85
- warning: string;
86
- primary: string;
87
- secondary: string;
88
- collab: string;
89
- ai: string;
90
- link: string;
91
- };
92
- size: {
93
- "3xs": string;
94
- "2xs": string;
95
- xs: string;
96
- sm: string;
97
- md: string;
98
- lg: string;
99
- xl: string;
100
- "2xl": string;
101
- "3xl": string;
102
- };
103
- position: {
104
- "top-right": string;
105
- "bottom-right": string;
106
- "top-left": string;
107
- "bottom-left": string;
108
- };
109
- inset: {
110
- false: string;
111
- };
112
- standalone: {
113
- true: string;
114
- false: string;
115
- };
116
- }, {
117
- root: string;
118
- base: string;
119
- }, undefined, {
120
- color: {
121
- default: string;
122
- danger: string;
123
- success: string;
124
- warning: string;
125
- primary: string;
126
- secondary: string;
127
- collab: string;
128
- ai: string;
129
- link: string;
130
- };
131
- size: {
132
- "3xs": string;
133
- "2xs": string;
134
- xs: string;
135
- sm: string;
136
- md: string;
137
- lg: string;
138
- xl: string;
139
- "2xl": string;
140
- "3xl": string;
141
- };
142
- position: {
143
- "top-right": string;
144
- "bottom-right": string;
145
- "top-left": string;
146
- "bottom-left": string;
147
- };
148
- inset: {
149
- false: string;
150
- };
151
- standalone: {
152
- true: string;
153
- false: string;
154
- };
155
- }, {
156
- root: string;
157
- base: string;
158
- }, import("tailwind-variants").TVReturnType<{
159
- color: {
160
- default: string;
161
- danger: string;
162
- success: string;
163
- warning: string;
164
- primary: string;
165
- secondary: string;
166
- collab: string;
167
- ai: string;
168
- link: string;
169
- };
170
- size: {
171
- "3xs": string;
172
- "2xs": string;
173
- xs: string;
174
- sm: string;
175
- md: string;
176
- lg: string;
177
- xl: string;
178
- "2xl": string;
179
- "3xl": string;
180
- };
181
- position: {
182
- "top-right": string;
183
- "bottom-right": string;
184
- "top-left": string;
185
- "bottom-left": string;
186
- };
187
- inset: {
188
- false: string;
189
- };
190
- standalone: {
191
- true: string;
192
- false: string;
193
- };
194
- }, {
195
- root: string;
196
- base: string;
197
- }, undefined, unknown, unknown, undefined>>>;
198
- type ChipVariants = VariantProps<typeof chip>;
199
- export interface ChipProps {
200
- /**
201
- * The element or component this component should render as.
202
- * @defaultValue 'div'
203
- */
204
- as?: any;
205
- /** Display some text inside the chip. */
206
- text?: string | number;
207
- /**
208
- * @defaultValue 'danger'
209
- */
210
- color?: ChipVariants['color'];
211
- /**
212
- * @defaultValue 'sm'
213
- */
214
- size?: ChipVariants['size'];
215
- /**
216
- * The position of the chip.
217
- * @defaultValue 'top-right'
218
- */
219
- position?: ChipVariants['position'];
220
- /**
221
- * When `true`, keep the chip inside the component for rounded elements
222
- * @defaultValue false
223
- */
224
- inset?: boolean;
225
- /**
226
- * When `true`, render the chip relatively to the parent.
227
- * @defaultValue false
228
- */
229
- standalone?: boolean;
230
- class?: any;
231
- b24ui?: Partial<typeof chip.slots>;
232
- }
233
- export interface ChipEmits {
234
- (e: 'update:show', payload: boolean): void;
235
- }
236
- export interface ChipSlots {
237
- default(props?: {}): any;
238
- content(props?: {}): any;
239
- }
240
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
241
- show?: boolean;
242
- } & ChipProps>, {
243
- inset: boolean;
244
- standalone: boolean;
245
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
246
- inset: boolean;
247
- standalone: boolean;
248
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ChipSlots> & ChipSlots>;
249
- export default _default;
250
- type __VLS_WithDefaults<P, D> = {
251
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
252
- default: D[K];
253
- }> : P[K];
254
- };
255
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
256
- type __VLS_TypePropsToOption<T> = {
257
- [K in keyof T]-?: {} extends Pick<T, K> ? {
258
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
259
- } : {
260
- type: import('vue').PropType<T[K]>;
261
- required: true;
262
- };
263
- };
264
- type __VLS_WithTemplateSlots<T, S> = T & {
265
- new (): {
266
- $slots: S;
267
- };
268
- };
269
- type __VLS_PrettifyLocal<T> = {
270
- [K in keyof T]: T[K];
271
- } & {};