@nuxt/ui 3.0.0-alpha.0 → 3.0.0-alpha.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 (170) hide show
  1. package/README.md +1 -1
  2. package/cli/node_modules/.ignored/citty/LICENSE +36 -0
  3. package/cli/node_modules/.ignored/citty/README.md +134 -0
  4. package/cli/node_modules/.ignored/citty/dist/index.cjs +475 -0
  5. package/cli/node_modules/.ignored/citty/dist/index.d.cts +80 -0
  6. package/cli/node_modules/.ignored/citty/dist/index.d.mts +80 -0
  7. package/cli/node_modules/.ignored/citty/dist/index.d.ts +80 -0
  8. package/cli/node_modules/.ignored/citty/dist/index.mjs +463 -0
  9. package/cli/node_modules/.ignored/citty/package.json +49 -0
  10. package/cli/node_modules/.ignored/consola/LICENSE +47 -0
  11. package/cli/node_modules/.ignored/consola/README.md +318 -0
  12. package/cli/node_modules/.ignored/consola/core.d.ts +1 -0
  13. package/cli/node_modules/.ignored/consola/dist/basic.cjs +32 -0
  14. package/cli/node_modules/.ignored/consola/dist/basic.d.ts +9 -0
  15. package/cli/node_modules/.ignored/consola/dist/basic.mjs +24 -0
  16. package/cli/node_modules/.ignored/consola/dist/browser.cjs +80 -0
  17. package/cli/node_modules/.ignored/consola/dist/browser.d.ts +7 -0
  18. package/cli/node_modules/.ignored/consola/dist/browser.mjs +72 -0
  19. package/cli/node_modules/.ignored/consola/dist/chunks/prompt.cjs +436 -0
  20. package/cli/node_modules/.ignored/consola/dist/chunks/prompt.mjs +429 -0
  21. package/cli/node_modules/.ignored/consola/dist/core.cjs +415 -0
  22. package/cli/node_modules/.ignored/consola/dist/core.d.ts +124 -0
  23. package/cli/node_modules/.ignored/consola/dist/core.mjs +410 -0
  24. package/cli/node_modules/.ignored/consola/dist/index.cjs +21 -0
  25. package/cli/node_modules/.ignored/consola/dist/index.d.ts +9 -0
  26. package/cli/node_modules/.ignored/consola/dist/index.mjs +8 -0
  27. package/cli/node_modules/.ignored/consola/dist/shared/consola.06ad8a64.mjs +62 -0
  28. package/cli/node_modules/.ignored/consola/dist/shared/consola.36c0034f.mjs +636 -0
  29. package/cli/node_modules/.ignored/consola/dist/shared/consola.4bbae468.cjs +645 -0
  30. package/cli/node_modules/.ignored/consola/dist/shared/consola.deac7d5a.cjs +65 -0
  31. package/cli/node_modules/.ignored/consola/dist/utils.cjs +308 -0
  32. package/cli/node_modules/.ignored/consola/dist/utils.d.ts +169 -0
  33. package/cli/node_modules/.ignored/consola/dist/utils.mjs +284 -0
  34. package/cli/node_modules/.ignored/consola/lib/index.cjs +9 -0
  35. package/cli/node_modules/.ignored/consola/package.json +101 -0
  36. package/cli/node_modules/.ignored/consola/utils.d.ts +1 -0
  37. package/cli/node_modules/.ignored/pathe/LICENSE +44 -0
  38. package/cli/node_modules/.ignored/pathe/README.md +69 -0
  39. package/cli/node_modules/.ignored/pathe/dist/index.cjs +23 -0
  40. package/cli/node_modules/.ignored/pathe/dist/index.d.cts +36 -0
  41. package/cli/node_modules/.ignored/pathe/dist/index.d.mts +36 -0
  42. package/cli/node_modules/.ignored/pathe/dist/index.d.ts +36 -0
  43. package/cli/node_modules/.ignored/pathe/dist/index.mjs +1 -0
  44. package/cli/node_modules/.ignored/pathe/dist/shared/pathe.1f0a373c.cjs +238 -0
  45. package/cli/node_modules/.ignored/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
  46. package/cli/node_modules/.ignored/pathe/dist/utils.cjs +58 -0
  47. package/cli/node_modules/.ignored/pathe/dist/utils.d.cts +5 -0
  48. package/cli/node_modules/.ignored/pathe/dist/utils.d.mts +5 -0
  49. package/cli/node_modules/.ignored/pathe/dist/utils.d.ts +5 -0
  50. package/cli/node_modules/.ignored/pathe/dist/utils.mjs +54 -0
  51. package/cli/node_modules/.ignored/pathe/package.json +48 -0
  52. package/cli/node_modules/.ignored/pathe/utils.d.ts +1 -0
  53. package/cli/node_modules/.ignored/scule/LICENSE +21 -0
  54. package/cli/node_modules/.ignored/scule/README.md +149 -0
  55. package/cli/node_modules/.ignored/scule/dist/index.cjs +92 -0
  56. package/cli/node_modules/.ignored/scule/dist/index.d.cts +57 -0
  57. package/cli/node_modules/.ignored/scule/dist/index.d.mts +57 -0
  58. package/cli/node_modules/.ignored/scule/dist/index.d.ts +57 -0
  59. package/cli/node_modules/.ignored/scule/dist/index.mjs +80 -0
  60. package/cli/node_modules/.ignored/scule/package.json +43 -0
  61. package/cli/node_modules/.package-lock.json +33 -0
  62. package/dist/module.json +3 -3
  63. package/dist/module.mjs +7 -55
  64. package/dist/runtime/components/Accordion.vue +49 -6
  65. package/dist/runtime/components/Alert.vue +58 -6
  66. package/dist/runtime/components/App.vue +12 -2
  67. package/dist/runtime/components/Avatar.vue +27 -6
  68. package/dist/runtime/components/AvatarGroup.vue +30 -6
  69. package/dist/runtime/components/Badge.vue +28 -6
  70. package/dist/runtime/components/Breadcrumb.vue +44 -6
  71. package/dist/runtime/components/Button.vue +33 -6
  72. package/dist/runtime/components/ButtonGroup.vue +30 -6
  73. package/dist/runtime/components/Card.vue +25 -6
  74. package/dist/runtime/components/Checkbox.vue +45 -6
  75. package/dist/runtime/components/Chip.vue +39 -6
  76. package/dist/runtime/components/Collapsible.vue +27 -6
  77. package/dist/runtime/components/CommandPalette.vue +99 -6
  78. package/dist/runtime/components/Container.vue +22 -6
  79. package/dist/runtime/components/ContextMenu.vue +58 -6
  80. package/dist/runtime/components/ContextMenuContent.vue +18 -4
  81. package/dist/runtime/components/Drawer.vue +48 -6
  82. package/dist/runtime/components/DropdownMenu.vue +66 -6
  83. package/dist/runtime/components/DropdownMenuContent.vue +22 -4
  84. package/dist/runtime/components/Form.vue +34 -13
  85. package/dist/runtime/components/FormField.vue +41 -16
  86. package/dist/runtime/components/Icon.vue +12 -2
  87. package/dist/runtime/components/Input.vue +46 -6
  88. package/dist/runtime/components/InputMenu.vue +113 -6
  89. package/dist/runtime/components/Kbd.vue +28 -6
  90. package/dist/runtime/components/Link.vue +81 -17
  91. package/dist/runtime/components/LinkBase.vue +12 -2
  92. package/dist/runtime/components/Modal.vue +69 -6
  93. package/dist/runtime/components/NavigationMenu.vue +76 -6
  94. package/dist/runtime/components/Pagination.vue +99 -6
  95. package/dist/runtime/components/Popover.vue +42 -6
  96. package/dist/runtime/components/Progress.vue +44 -6
  97. package/dist/runtime/components/RadioGroup.vue +55 -7
  98. package/dist/runtime/components/Select.vue +88 -6
  99. package/dist/runtime/components/SelectMenu.vue +104 -6
  100. package/dist/runtime/components/Separator.vue +41 -6
  101. package/dist/runtime/components/Skeleton.vue +18 -6
  102. package/dist/runtime/components/Slideover.vue +67 -6
  103. package/dist/runtime/components/Slider.vue +36 -6
  104. package/dist/runtime/components/Switch.vue +50 -6
  105. package/dist/runtime/components/Tabs.vue +59 -6
  106. package/dist/runtime/components/Textarea.vue +46 -6
  107. package/dist/runtime/components/Toast.vue +55 -6
  108. package/dist/runtime/components/Toaster.vue +27 -6
  109. package/dist/runtime/components/Tooltip.vue +42 -6
  110. package/dist/runtime/composables/useAvatarGroup.d.ts +2 -2
  111. package/dist/runtime/composables/useButtonGroup.d.ts +3 -3
  112. package/dist/runtime/composables/useFormField.d.ts +6 -3
  113. package/dist/runtime/composables/useFormField.js +11 -7
  114. package/dist/runtime/composables/useModal.d.ts +1 -1
  115. package/dist/runtime/composables/useSlideover.d.ts +1 -1
  116. package/dist/runtime/composables/useToast.d.ts +1 -1
  117. package/dist/runtime/index.css +1 -0
  118. package/dist/runtime/plugins/colors.d.ts +2 -0
  119. package/dist/runtime/plugins/modal.d.ts +2 -0
  120. package/dist/runtime/plugins/slideover.d.ts +2 -0
  121. package/dist/runtime/types/form.d.ts +1 -2
  122. package/dist/runtime/utils/link.d.ts +23 -55
  123. package/package.json +13 -14
  124. package/dist/runtime/assets/css/animations.css +0 -1
  125. package/dist/runtime/components/Accordion.vue.d.ts +0 -492
  126. package/dist/runtime/components/Alert.vue.d.ts +0 -548
  127. package/dist/runtime/components/App.vue.d.ts +0 -25
  128. package/dist/runtime/components/Avatar.vue.d.ts +0 -384
  129. package/dist/runtime/components/AvatarGroup.vue.d.ts +0 -381
  130. package/dist/runtime/components/Badge.vue.d.ts +0 -422
  131. package/dist/runtime/components/Breadcrumb.vue.d.ts +0 -307
  132. package/dist/runtime/components/Button.vue.d.ts +0 -949
  133. package/dist/runtime/components/ButtonGroup.vue.d.ts +0 -182
  134. package/dist/runtime/components/Card.vue.d.ts +0 -191
  135. package/dist/runtime/components/Checkbox.vue.d.ts +0 -819
  136. package/dist/runtime/components/Chip.vue.d.ts +0 -590
  137. package/dist/runtime/components/Collapsible.vue.d.ts +0 -159
  138. package/dist/runtime/components/CommandPalette.vue.d.ts +0 -684
  139. package/dist/runtime/components/Container.vue.d.ts +0 -27
  140. package/dist/runtime/components/ContextMenu.vue.d.ts +0 -796
  141. package/dist/runtime/components/ContextMenuContent.vue.d.ts +0 -0
  142. package/dist/runtime/components/Drawer.vue.d.ts +0 -343
  143. package/dist/runtime/components/DropdownMenu.vue.d.ts +0 -815
  144. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -0
  145. package/dist/runtime/components/Form.vue.d.ts +0 -39
  146. package/dist/runtime/components/FormField.vue.d.ts +0 -356
  147. package/dist/runtime/components/Icon.vue.d.ts +0 -17
  148. package/dist/runtime/components/Input.vue.d.ts +0 -1137
  149. package/dist/runtime/components/InputMenu.vue.d.ts +0 -2121
  150. package/dist/runtime/components/Kbd.vue.d.ts +0 -169
  151. package/dist/runtime/components/Link.vue.d.ts +0 -76
  152. package/dist/runtime/components/LinkBase.vue.d.ts +0 -49
  153. package/dist/runtime/components/Modal.vue.d.ts +0 -319
  154. package/dist/runtime/components/NavigationMenu.vue.d.ts +0 -1789
  155. package/dist/runtime/components/Pagination.vue.d.ts +0 -295
  156. package/dist/runtime/components/Popover.vue.d.ts +0 -197
  157. package/dist/runtime/components/Progress.vue.d.ts +0 -1781
  158. package/dist/runtime/components/RadioGroup.vue.d.ts +0 -1715
  159. package/dist/runtime/components/Select.vue.d.ts +0 -1569
  160. package/dist/runtime/components/SelectMenu.vue.d.ts +0 -1661
  161. package/dist/runtime/components/Separator.vue.d.ts +0 -0
  162. package/dist/runtime/components/Skeleton.vue.d.ts +0 -26
  163. package/dist/runtime/components/Slideover.vue.d.ts +0 -375
  164. package/dist/runtime/components/Slider.vue.d.ts +0 -0
  165. package/dist/runtime/components/Switch.vue.d.ts +0 -1676
  166. package/dist/runtime/components/Tabs.vue.d.ts +0 -934
  167. package/dist/runtime/components/Textarea.vue.d.ts +0 -1133
  168. package/dist/runtime/components/Toast.vue.d.ts +0 -0
  169. package/dist/runtime/components/Toaster.vue.d.ts +0 -362
  170. package/dist/runtime/components/Tooltip.vue.d.ts +0 -248
File without changes
@@ -1,362 +0,0 @@
1
- import { type VariantProps } from 'tailwind-variants';
2
- import type { ToastProviderProps } from 'radix-vue';
3
- declare const toaster: import("tailwind-variants").TVReturnType<{
4
- position: {
5
- "top-left": {
6
- viewport: string;
7
- };
8
- "top-center": {
9
- viewport: string;
10
- };
11
- "top-right": {
12
- viewport: string;
13
- };
14
- "bottom-left": {
15
- viewport: string;
16
- };
17
- "bottom-center": {
18
- viewport: string;
19
- };
20
- "bottom-right": {
21
- viewport: string;
22
- };
23
- };
24
- swipeDirection: {
25
- up: string;
26
- right: string;
27
- down: string;
28
- left: string;
29
- };
30
- }, {
31
- viewport: string;
32
- base: string;
33
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
34
- position: {
35
- "top-left": {
36
- viewport: string;
37
- };
38
- "top-center": {
39
- viewport: string;
40
- };
41
- "top-right": {
42
- viewport: string;
43
- };
44
- "bottom-left": {
45
- viewport: string;
46
- };
47
- "bottom-center": {
48
- viewport: string;
49
- };
50
- "bottom-right": {
51
- viewport: string;
52
- };
53
- };
54
- swipeDirection: {
55
- up: string;
56
- right: string;
57
- down: string;
58
- left: string;
59
- };
60
- }, {
61
- position: {
62
- "top-left": {
63
- viewport: string;
64
- };
65
- "top-center": {
66
- viewport: string;
67
- };
68
- "top-right": {
69
- viewport: string;
70
- };
71
- "bottom-left": {
72
- viewport: string;
73
- };
74
- "bottom-center": {
75
- viewport: string;
76
- };
77
- "bottom-right": {
78
- viewport: string;
79
- };
80
- };
81
- swipeDirection: {
82
- up: string;
83
- right: string;
84
- down: string;
85
- left: string;
86
- };
87
- }>, {
88
- position: {
89
- "top-left": {
90
- viewport: string;
91
- };
92
- "top-center": {
93
- viewport: string;
94
- };
95
- "top-right": {
96
- viewport: string;
97
- };
98
- "bottom-left": {
99
- viewport: string;
100
- };
101
- "bottom-center": {
102
- viewport: string;
103
- };
104
- "bottom-right": {
105
- viewport: string;
106
- };
107
- };
108
- swipeDirection: {
109
- up: string;
110
- right: string;
111
- down: string;
112
- left: string;
113
- };
114
- }, {
115
- viewport: string;
116
- base: string;
117
- }, import("tailwind-variants").TVReturnType<{
118
- position: {
119
- "top-left": {
120
- viewport: string;
121
- };
122
- "top-center": {
123
- viewport: string;
124
- };
125
- "top-right": {
126
- viewport: string;
127
- };
128
- "bottom-left": {
129
- viewport: string;
130
- };
131
- "bottom-center": {
132
- viewport: string;
133
- };
134
- "bottom-right": {
135
- viewport: string;
136
- };
137
- };
138
- swipeDirection: {
139
- up: string;
140
- right: string;
141
- down: string;
142
- left: string;
143
- };
144
- }, {
145
- viewport: string;
146
- base: string;
147
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
148
- position: {
149
- "top-left": {
150
- viewport: string;
151
- };
152
- "top-center": {
153
- viewport: string;
154
- };
155
- "top-right": {
156
- viewport: string;
157
- };
158
- "bottom-left": {
159
- viewport: string;
160
- };
161
- "bottom-center": {
162
- viewport: string;
163
- };
164
- "bottom-right": {
165
- viewport: string;
166
- };
167
- };
168
- swipeDirection: {
169
- up: string;
170
- right: string;
171
- down: string;
172
- left: string;
173
- };
174
- }, {
175
- position: {
176
- "top-left": {
177
- viewport: string;
178
- };
179
- "top-center": {
180
- viewport: string;
181
- };
182
- "top-right": {
183
- viewport: string;
184
- };
185
- "bottom-left": {
186
- viewport: string;
187
- };
188
- "bottom-center": {
189
- viewport: string;
190
- };
191
- "bottom-right": {
192
- viewport: string;
193
- };
194
- };
195
- swipeDirection: {
196
- up: string;
197
- right: string;
198
- down: string;
199
- left: string;
200
- };
201
- }>, {
202
- position: {
203
- "top-left": {
204
- viewport: string;
205
- };
206
- "top-center": {
207
- viewport: string;
208
- };
209
- "top-right": {
210
- viewport: string;
211
- };
212
- "bottom-left": {
213
- viewport: string;
214
- };
215
- "bottom-center": {
216
- viewport: string;
217
- };
218
- "bottom-right": {
219
- viewport: string;
220
- };
221
- };
222
- swipeDirection: {
223
- up: string;
224
- right: string;
225
- down: string;
226
- left: string;
227
- };
228
- }, {
229
- viewport: string;
230
- base: string;
231
- }, import("tailwind-variants").TVReturnType<{
232
- position: {
233
- "top-left": {
234
- viewport: string;
235
- };
236
- "top-center": {
237
- viewport: string;
238
- };
239
- "top-right": {
240
- viewport: string;
241
- };
242
- "bottom-left": {
243
- viewport: string;
244
- };
245
- "bottom-center": {
246
- viewport: string;
247
- };
248
- "bottom-right": {
249
- viewport: string;
250
- };
251
- };
252
- swipeDirection: {
253
- up: string;
254
- right: string;
255
- down: string;
256
- left: string;
257
- };
258
- }, {
259
- viewport: string;
260
- base: string;
261
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
262
- position: {
263
- "top-left": {
264
- viewport: string;
265
- };
266
- "top-center": {
267
- viewport: string;
268
- };
269
- "top-right": {
270
- viewport: string;
271
- };
272
- "bottom-left": {
273
- viewport: string;
274
- };
275
- "bottom-center": {
276
- viewport: string;
277
- };
278
- "bottom-right": {
279
- viewport: string;
280
- };
281
- };
282
- swipeDirection: {
283
- up: string;
284
- right: string;
285
- down: string;
286
- left: string;
287
- };
288
- }, {
289
- position: {
290
- "top-left": {
291
- viewport: string;
292
- };
293
- "top-center": {
294
- viewport: string;
295
- };
296
- "top-right": {
297
- viewport: string;
298
- };
299
- "bottom-left": {
300
- viewport: string;
301
- };
302
- "bottom-center": {
303
- viewport: string;
304
- };
305
- "bottom-right": {
306
- viewport: string;
307
- };
308
- };
309
- swipeDirection: {
310
- up: string;
311
- right: string;
312
- down: string;
313
- left: string;
314
- };
315
- }>, unknown, unknown, undefined>>>;
316
- type ToasterVariants = VariantProps<typeof toaster>;
317
- export interface ToasterProps extends Omit<ToastProviderProps, 'swipeDirection'> {
318
- position?: ToasterVariants['position'];
319
- /**
320
- * Expand the toasts to show multiple toasts at once.
321
- * @defaultValue true
322
- */
323
- expand?: boolean;
324
- class?: any;
325
- ui?: Partial<typeof toaster.slots>;
326
- }
327
- export interface ToasterSlots {
328
- default(props?: {}): any;
329
- }
330
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ToasterProps>, {
331
- expand: boolean;
332
- duration: number;
333
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ToasterProps>, {
334
- expand: boolean;
335
- duration: number;
336
- }>>> & Readonly<{}>, {
337
- duration: number;
338
- expand: boolean;
339
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ToasterSlots> & ToasterSlots>;
340
- export default _default;
341
- type __VLS_WithDefaults<P, D> = {
342
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
343
- default: D[K];
344
- }> : P[K];
345
- };
346
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
347
- type __VLS_TypePropsToOption<T> = {
348
- [K in keyof T]-?: {} extends Pick<T, K> ? {
349
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
350
- } : {
351
- type: import('vue').PropType<T[K]>;
352
- required: true;
353
- };
354
- };
355
- type __VLS_WithTemplateSlots<T, S> = T & {
356
- new (): {
357
- $slots: S;
358
- };
359
- };
360
- type __VLS_PrettifyLocal<T> = {
361
- [K in keyof T]: T[K];
362
- } & {};
@@ -1,248 +0,0 @@
1
- import type { TooltipRootProps, TooltipRootEmits, TooltipContentProps, TooltipArrowProps } from 'radix-vue';
2
- import type { KbdProps } from '../types.js';
3
- declare const tooltip: import("tailwind-variants").TVReturnType<{
4
- [key: string]: {
5
- [key: string]: import("tailwind-variants").ClassValue | {
6
- text?: import("tailwind-variants").ClassValue;
7
- content?: import("tailwind-variants").ClassValue;
8
- kbds?: import("tailwind-variants").ClassValue;
9
- arrow?: import("tailwind-variants").ClassValue;
10
- kbdsSize?: import("tailwind-variants").ClassValue;
11
- };
12
- };
13
- } | {
14
- [x: string]: {
15
- [x: string]: import("tailwind-variants").ClassValue | {
16
- text?: import("tailwind-variants").ClassValue;
17
- content?: import("tailwind-variants").ClassValue;
18
- kbds?: import("tailwind-variants").ClassValue;
19
- arrow?: import("tailwind-variants").ClassValue;
20
- kbdsSize?: import("tailwind-variants").ClassValue;
21
- };
22
- };
23
- } | {
24
- [x: string]: {
25
- [x: string]: import("tailwind-variants").ClassValue | {
26
- text?: import("tailwind-variants").ClassValue;
27
- content?: import("tailwind-variants").ClassValue;
28
- kbds?: import("tailwind-variants").ClassValue;
29
- arrow?: import("tailwind-variants").ClassValue;
30
- kbdsSize?: import("tailwind-variants").ClassValue;
31
- };
32
- };
33
- } | {}, {
34
- content: string;
35
- arrow: string;
36
- text: string;
37
- kbds: string;
38
- kbdsSize: string;
39
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
40
- [key: string]: {
41
- [key: string]: import("tailwind-variants").ClassValue | {
42
- text?: import("tailwind-variants").ClassValue;
43
- content?: import("tailwind-variants").ClassValue;
44
- kbds?: import("tailwind-variants").ClassValue;
45
- arrow?: import("tailwind-variants").ClassValue;
46
- kbdsSize?: import("tailwind-variants").ClassValue;
47
- };
48
- };
49
- } | {
50
- [x: string]: {
51
- [x: string]: import("tailwind-variants").ClassValue | {
52
- text?: import("tailwind-variants").ClassValue;
53
- content?: import("tailwind-variants").ClassValue;
54
- kbds?: import("tailwind-variants").ClassValue;
55
- arrow?: import("tailwind-variants").ClassValue;
56
- kbdsSize?: import("tailwind-variants").ClassValue;
57
- };
58
- };
59
- } | {
60
- [x: string]: {
61
- [x: string]: import("tailwind-variants").ClassValue | {
62
- text?: import("tailwind-variants").ClassValue;
63
- content?: import("tailwind-variants").ClassValue;
64
- kbds?: import("tailwind-variants").ClassValue;
65
- arrow?: import("tailwind-variants").ClassValue;
66
- kbdsSize?: import("tailwind-variants").ClassValue;
67
- };
68
- };
69
- } | {}, {
70
- [key: string]: {
71
- [key: string]: import("tailwind-variants").ClassValue | {
72
- text?: import("tailwind-variants").ClassValue;
73
- content?: import("tailwind-variants").ClassValue;
74
- kbds?: import("tailwind-variants").ClassValue;
75
- arrow?: import("tailwind-variants").ClassValue;
76
- kbdsSize?: import("tailwind-variants").ClassValue;
77
- };
78
- };
79
- } | {
80
- [x: string]: {
81
- [x: string]: import("tailwind-variants").ClassValue | {
82
- text?: import("tailwind-variants").ClassValue;
83
- content?: import("tailwind-variants").ClassValue;
84
- kbds?: import("tailwind-variants").ClassValue;
85
- arrow?: import("tailwind-variants").ClassValue;
86
- kbdsSize?: import("tailwind-variants").ClassValue;
87
- };
88
- };
89
- } | {}>, {
90
- [key: string]: {
91
- [key: string]: import("tailwind-variants").ClassValue | {
92
- text?: import("tailwind-variants").ClassValue;
93
- content?: import("tailwind-variants").ClassValue;
94
- kbds?: import("tailwind-variants").ClassValue;
95
- arrow?: import("tailwind-variants").ClassValue;
96
- kbdsSize?: import("tailwind-variants").ClassValue;
97
- };
98
- };
99
- } | {
100
- [x: string]: {
101
- [x: string]: import("tailwind-variants").ClassValue | {
102
- text?: import("tailwind-variants").ClassValue;
103
- content?: import("tailwind-variants").ClassValue;
104
- kbds?: import("tailwind-variants").ClassValue;
105
- arrow?: import("tailwind-variants").ClassValue;
106
- kbdsSize?: import("tailwind-variants").ClassValue;
107
- };
108
- };
109
- } | {}, {
110
- content: string;
111
- arrow: string;
112
- text: string;
113
- kbds: string;
114
- kbdsSize: string;
115
- }, import("tailwind-variants").TVReturnType<{
116
- [key: string]: {
117
- [key: string]: import("tailwind-variants").ClassValue | {
118
- text?: import("tailwind-variants").ClassValue;
119
- content?: import("tailwind-variants").ClassValue;
120
- kbds?: import("tailwind-variants").ClassValue;
121
- arrow?: import("tailwind-variants").ClassValue;
122
- kbdsSize?: import("tailwind-variants").ClassValue;
123
- };
124
- };
125
- } | {
126
- [x: string]: {
127
- [x: string]: import("tailwind-variants").ClassValue | {
128
- text?: import("tailwind-variants").ClassValue;
129
- content?: import("tailwind-variants").ClassValue;
130
- kbds?: import("tailwind-variants").ClassValue;
131
- arrow?: import("tailwind-variants").ClassValue;
132
- kbdsSize?: import("tailwind-variants").ClassValue;
133
- };
134
- };
135
- } | {}, {
136
- content: string;
137
- arrow: string;
138
- text: string;
139
- kbds: string;
140
- kbdsSize: string;
141
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<unknown, {
142
- [key: string]: {
143
- [key: string]: import("tailwind-variants").ClassValue | {
144
- text?: import("tailwind-variants").ClassValue;
145
- content?: import("tailwind-variants").ClassValue;
146
- kbds?: import("tailwind-variants").ClassValue;
147
- arrow?: import("tailwind-variants").ClassValue;
148
- kbdsSize?: import("tailwind-variants").ClassValue;
149
- };
150
- };
151
- } | {}>, {
152
- [key: string]: {
153
- [key: string]: import("tailwind-variants").ClassValue | {
154
- text?: import("tailwind-variants").ClassValue;
155
- content?: import("tailwind-variants").ClassValue;
156
- kbds?: import("tailwind-variants").ClassValue;
157
- arrow?: import("tailwind-variants").ClassValue;
158
- kbdsSize?: import("tailwind-variants").ClassValue;
159
- };
160
- };
161
- } | {}, {
162
- content: string;
163
- arrow: string;
164
- text: string;
165
- kbds: string;
166
- kbdsSize: string;
167
- }, import("tailwind-variants").TVReturnType<unknown, {
168
- content: string;
169
- arrow: string;
170
- text: string;
171
- kbds: string;
172
- kbdsSize: string;
173
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<unknown, {
174
- [key: string]: {
175
- [key: string]: import("tailwind-variants").ClassValue | {
176
- text?: import("tailwind-variants").ClassValue;
177
- content?: import("tailwind-variants").ClassValue;
178
- kbds?: import("tailwind-variants").ClassValue;
179
- arrow?: import("tailwind-variants").ClassValue;
180
- kbdsSize?: import("tailwind-variants").ClassValue;
181
- };
182
- };
183
- } | {}>, unknown, unknown, undefined>>>;
184
- export interface TooltipProps extends TooltipRootProps {
185
- /** The text content of the tooltip. */
186
- text?: string;
187
- /** The keyboard keys to display in the tooltip. */
188
- kbds?: KbdProps['value'][] | KbdProps[];
189
- /**
190
- * The content of the tooltip.
191
- * @defaultValue { side: 'bottom', sideOffset: 8 }
192
- */
193
- content?: Omit<TooltipContentProps, 'as' | 'asChild'>;
194
- /**
195
- * Display an arrow alongside the tooltip.
196
- * @defaultValue false
197
- */
198
- arrow?: boolean | Omit<TooltipArrowProps, 'as' | 'asChild'>;
199
- /**
200
- * Render the tooltip in a portal.
201
- * @defaultValue true
202
- */
203
- portal?: boolean;
204
- class?: any;
205
- ui?: Partial<typeof tooltip.slots>;
206
- }
207
- export interface TooltipEmits extends TooltipRootEmits {
208
- }
209
- export interface TooltipSlots {
210
- default(props: {
211
- open: boolean;
212
- }): any;
213
- content(props?: {}): any;
214
- }
215
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TooltipProps>, {
216
- portal: boolean;
217
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
218
- "update:open": (value: boolean) => void;
219
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TooltipProps>, {
220
- portal: boolean;
221
- }>>> & Readonly<{
222
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
223
- }>, {
224
- portal: boolean;
225
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<TooltipSlots> & TooltipSlots>;
226
- export default _default;
227
- type __VLS_WithDefaults<P, D> = {
228
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
229
- default: D[K];
230
- }> : P[K];
231
- };
232
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
233
- type __VLS_TypePropsToOption<T> = {
234
- [K in keyof T]-?: {} extends Pick<T, K> ? {
235
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
236
- } : {
237
- type: import('vue').PropType<T[K]>;
238
- required: true;
239
- };
240
- };
241
- type __VLS_WithTemplateSlots<T, S> = T & {
242
- new (): {
243
- $slots: S;
244
- };
245
- };
246
- type __VLS_PrettifyLocal<T> = {
247
- [K in keyof T]: T[K];
248
- } & {};