@nuxt/ui 2.17.0 → 2.18.0

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 (243) hide show
  1. package/dist/module.d.mts +3 -1988
  2. package/dist/module.d.ts +3 -1988
  3. package/dist/module.json +6 -2
  4. package/dist/module.mjs +6 -71
  5. package/dist/runtime/components/data/Table.vue +54 -19
  6. package/dist/runtime/components/data/Table.vue.d.ts +247 -48
  7. package/dist/runtime/components/elements/Accordion.vue +1 -2
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +140 -14
  9. package/dist/runtime/components/elements/Alert.vue +2 -4
  10. package/dist/runtime/components/elements/Alert.vue.d.ts +107 -24
  11. package/dist/runtime/components/elements/Avatar.vue +1 -1
  12. package/dist/runtime/components/elements/Avatar.vue.d.ts +153 -32
  13. package/dist/runtime/components/elements/AvatarGroup.d.ts +17 -8
  14. package/dist/runtime/components/elements/{AvatarGroup.mjs → AvatarGroup.js} +2 -2
  15. package/dist/runtime/components/elements/Badge.vue.d.ts +55 -18
  16. package/dist/runtime/components/elements/Button.vue +1 -2
  17. package/dist/runtime/components/elements/Button.vue.d.ts +259 -96
  18. package/dist/runtime/components/elements/ButtonGroup.d.ts +110 -6
  19. package/dist/runtime/components/elements/{ButtonGroup.mjs → ButtonGroup.js} +3 -3
  20. package/dist/runtime/components/elements/Carousel.vue.d.ts +75 -20
  21. package/dist/runtime/components/elements/Chip.vue.d.ts +97 -25
  22. package/dist/runtime/components/elements/Dropdown.vue +4 -9
  23. package/dist/runtime/components/elements/Dropdown.vue.d.ts +135 -16
  24. package/dist/runtime/components/elements/Kbd.vue.d.ts +45 -10
  25. package/dist/runtime/components/elements/Link.vue.d.ts +73 -73
  26. package/dist/runtime/components/elements/Meter.vue +1 -1
  27. package/dist/runtime/components/elements/Meter.vue.d.ts +178 -22
  28. package/dist/runtime/components/elements/MeterGroup.d.ts +70 -13
  29. package/dist/runtime/components/elements/{MeterGroup.mjs → MeterGroup.js} +3 -3
  30. package/dist/runtime/components/elements/Progress.vue +7 -2
  31. package/dist/runtime/components/elements/Progress.vue.d.ts +187 -31
  32. package/dist/runtime/components/forms/Checkbox.vue +5 -3
  33. package/dist/runtime/components/forms/Checkbox.vue.d.ts +76 -35
  34. package/dist/runtime/components/forms/Form.vue +1 -2
  35. package/dist/runtime/components/forms/Form.vue.d.ts +12 -11
  36. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  37. package/dist/runtime/components/forms/FormGroup.vue.d.ts +80 -27
  38. package/dist/runtime/components/forms/Input.vue +2 -2
  39. package/dist/runtime/components/forms/Input.vue.d.ts +276 -59
  40. package/dist/runtime/components/forms/InputMenu.vue +12 -10
  41. package/dist/runtime/components/forms/InputMenu.vue.d.ts +434 -84
  42. package/dist/runtime/components/forms/Radio.vue +5 -3
  43. package/dist/runtime/components/forms/Radio.vue.d.ts +74 -35
  44. package/dist/runtime/components/forms/RadioGroup.vue +11 -3
  45. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +85 -27
  46. package/dist/runtime/components/forms/Range.vue.d.ts +155 -26
  47. package/dist/runtime/components/forms/Select.vue +2 -2
  48. package/dist/runtime/components/forms/Select.vue.d.ts +273 -50
  49. package/dist/runtime/components/forms/SelectMenu.vue +50 -25
  50. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +451 -86
  51. package/dist/runtime/components/forms/Textarea.vue.d.ts +263 -48
  52. package/dist/runtime/components/forms/Toggle.vue +1 -1
  53. package/dist/runtime/components/forms/Toggle.vue.d.ts +153 -26
  54. package/dist/runtime/components/layout/Card.vue.d.ts +55 -5
  55. package/dist/runtime/components/layout/Container.vue.d.ts +19 -5
  56. package/dist/runtime/components/layout/Divider.vue +1 -2
  57. package/dist/runtime/components/layout/Divider.vue.d.ts +121 -16
  58. package/dist/runtime/components/layout/Skeleton.vue +5 -1
  59. package/dist/runtime/components/layout/Skeleton.vue.d.ts +27 -4
  60. package/dist/runtime/components/navigation/Breadcrumb.vue +1 -2
  61. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +52 -9
  62. package/dist/runtime/components/navigation/CommandPalette.vue +8 -6
  63. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +198 -40
  64. package/dist/runtime/components/navigation/CommandPaletteGroup.vue +1 -3
  65. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +5 -7
  66. package/dist/runtime/components/navigation/HorizontalNavigation.vue +1 -4
  67. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +64 -9
  68. package/dist/runtime/components/navigation/Pagination.vue +2 -4
  69. package/dist/runtime/components/navigation/Pagination.vue.d.ts +84 -12
  70. package/dist/runtime/components/navigation/Tabs.vue +10 -0
  71. package/dist/runtime/components/navigation/Tabs.vue.d.ts +86 -15
  72. package/dist/runtime/components/navigation/VerticalNavigation.vue +1 -5
  73. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +78 -9
  74. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +71 -8
  75. package/dist/runtime/components/overlays/Modal.vue.d.ts +85 -11
  76. package/dist/runtime/components/overlays/Notification.vue +2 -4
  77. package/dist/runtime/components/overlays/Notification.vue.d.ts +130 -29
  78. package/dist/runtime/components/overlays/Notifications.vue.d.ts +31 -16
  79. package/dist/runtime/components/overlays/Popover.vue +3 -6
  80. package/dist/runtime/components/overlays/Popover.vue.d.ts +110 -15
  81. package/dist/runtime/components/overlays/Slideover.vue.d.ts +87 -15
  82. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +90 -15
  83. package/dist/runtime/composables/{defineShortcuts.mjs → defineShortcuts.js} +1 -1
  84. package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +8 -9
  85. package/dist/runtime/composables/useCopyToClipboard.d.ts +1 -1
  86. package/dist/runtime/composables/{useCopyToClipboard.mjs → useCopyToClipboard.js} +1 -1
  87. package/dist/runtime/composables/useFormGroup.d.ts +5 -5
  88. package/dist/runtime/composables/useFormGroup.js +49 -0
  89. package/dist/runtime/composables/useModal.d.ts +3 -3
  90. package/dist/runtime/composables/{useModal.mjs → useModal.js} +2 -4
  91. package/dist/runtime/composables/usePopper.d.ts +91 -55
  92. package/dist/runtime/composables/useShortcuts.d.ts +4 -4
  93. package/dist/runtime/composables/useSlideover.d.ts +3 -3
  94. package/dist/runtime/composables/{useSlideover.mjs → useSlideover.js} +2 -4
  95. package/dist/runtime/composables/useTimer.d.ts +1 -1
  96. package/dist/runtime/composables/useToast.d.ts +11 -11
  97. package/dist/runtime/composables/useUI.d.ts +1 -1
  98. package/dist/runtime/composables/{useUI.mjs → useUI.js} +1 -1
  99. package/dist/runtime/plugins/colors.d.ts +1 -1
  100. package/dist/runtime/plugins/{colors.mjs → colors.js} +1 -1
  101. package/dist/runtime/plugins/modals.d.ts +1 -1
  102. package/dist/runtime/plugins/{modals.mjs → modals.js} +1 -1
  103. package/dist/runtime/plugins/slideovers.d.ts +1 -1
  104. package/dist/runtime/plugins/{slideovers.mjs → slideovers.js} +1 -1
  105. package/dist/runtime/types/accordion.d.ts +6 -7
  106. package/dist/runtime/types/accordion.js +0 -0
  107. package/dist/runtime/types/alert.d.ts +8 -10
  108. package/dist/runtime/types/alert.js +0 -0
  109. package/dist/runtime/types/avatar.d.ts +13 -15
  110. package/dist/runtime/types/avatar.js +0 -0
  111. package/dist/runtime/types/badge.d.ts +11 -13
  112. package/dist/runtime/types/badge.js +0 -0
  113. package/dist/runtime/types/breadcrumb.d.ts +6 -8
  114. package/dist/runtime/types/breadcrumb.js +0 -0
  115. package/dist/runtime/types/button.d.ts +27 -29
  116. package/dist/runtime/types/button.js +0 -0
  117. package/dist/runtime/types/chip.d.ts +11 -13
  118. package/dist/runtime/types/chip.js +0 -0
  119. package/dist/runtime/types/clipboard.d.ts +7 -1
  120. package/dist/runtime/types/clipboard.js +0 -0
  121. package/dist/runtime/types/command-palette.d.ts +23 -24
  122. package/dist/runtime/types/command-palette.js +0 -0
  123. package/dist/runtime/types/component.d.ts +17 -14
  124. package/dist/runtime/types/component.js +0 -0
  125. package/dist/runtime/types/divider.d.ts +2 -3
  126. package/dist/runtime/types/divider.js +0 -0
  127. package/dist/runtime/types/dropdown.d.ts +12 -13
  128. package/dist/runtime/types/dropdown.js +0 -0
  129. package/dist/runtime/types/form-group.d.ts +4 -5
  130. package/dist/runtime/types/form-group.js +0 -0
  131. package/dist/runtime/types/form.d.ts +29 -28
  132. package/dist/runtime/types/form.js +0 -0
  133. package/dist/runtime/types/horizontal-navigation.d.ts +10 -11
  134. package/dist/runtime/types/horizontal-navigation.js +0 -0
  135. package/dist/runtime/types/index.d.ts +31 -31
  136. package/dist/runtime/types/index.js +31 -0
  137. package/dist/runtime/types/input.d.ts +7 -8
  138. package/dist/runtime/types/input.js +0 -0
  139. package/dist/runtime/types/kbd.d.ts +4 -5
  140. package/dist/runtime/types/kbd.js +0 -0
  141. package/dist/runtime/types/link.d.ts +9 -10
  142. package/dist/runtime/types/link.js +0 -0
  143. package/dist/runtime/types/meter.d.ts +4 -5
  144. package/dist/runtime/types/meter.js +0 -0
  145. package/dist/runtime/types/modal.d.ts +13 -15
  146. package/dist/runtime/types/modal.js +0 -0
  147. package/dist/runtime/types/notification.d.ts +17 -20
  148. package/dist/runtime/types/notification.js +0 -0
  149. package/dist/runtime/types/popper.d.ts +13 -15
  150. package/dist/runtime/types/popper.js +0 -0
  151. package/dist/runtime/types/progress.d.ts +5 -6
  152. package/dist/runtime/types/progress.js +0 -0
  153. package/dist/runtime/types/range.d.ts +6 -7
  154. package/dist/runtime/types/range.js +0 -0
  155. package/dist/runtime/types/select.d.ts +7 -8
  156. package/dist/runtime/types/select.js +0 -0
  157. package/dist/runtime/types/slideover.d.ts +10 -12
  158. package/dist/runtime/types/slideover.js +0 -0
  159. package/dist/runtime/types/tabs.d.ts +6 -5
  160. package/dist/runtime/types/tabs.js +0 -0
  161. package/dist/runtime/types/textarea.d.ts +7 -8
  162. package/dist/runtime/types/textarea.js +0 -0
  163. package/dist/runtime/types/toggle.d.ts +6 -7
  164. package/dist/runtime/types/toggle.js +0 -0
  165. package/dist/runtime/types/tooltip.d.ts +5 -5
  166. package/dist/runtime/types/tooltip.js +0 -0
  167. package/dist/runtime/types/utils.d.ts +15 -27
  168. package/dist/runtime/types/utils.js +0 -0
  169. package/dist/runtime/types/vertical-navigation.d.ts +10 -11
  170. package/dist/runtime/types/vertical-navigation.js +0 -0
  171. package/dist/runtime/ui.config/data/table.d.ts +10 -0
  172. package/dist/runtime/ui.config/data/{table.mjs → table.js} +10 -0
  173. package/dist/runtime/ui.config/elements/accordion.d.ts +1 -0
  174. package/dist/runtime/ui.config/elements/{accordion.mjs → accordion.js} +3 -2
  175. package/dist/runtime/ui.config/elements/alert.d.ts +2 -2
  176. package/dist/runtime/ui.config/elements/avatar.d.ts +2 -2
  177. package/dist/runtime/ui.config/elements/{carousel.mjs → carousel.js} +1 -1
  178. package/dist/runtime/ui.config/elements/{dropdown.mjs → dropdown.js} +1 -1
  179. package/dist/runtime/ui.config/forms/{inputMenu.mjs → inputMenu.js} +1 -1
  180. package/dist/runtime/ui.config/forms/{select.mjs → select.js} +1 -1
  181. package/dist/runtime/ui.config/forms/{selectMenu.mjs → selectMenu.js} +2 -2
  182. package/dist/runtime/ui.config/forms/{textarea.mjs → textarea.js} +1 -1
  183. package/dist/runtime/ui.config/forms/toggle.d.ts +2 -2
  184. package/dist/runtime/ui.config/index.d.ts +43 -43
  185. package/dist/runtime/ui.config/index.js +43 -0
  186. package/dist/runtime/ui.config/navigation/{breadcrumb.mjs → breadcrumb.js} +2 -2
  187. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +1 -1
  188. package/dist/runtime/ui.config/navigation/tabs.d.ts +1 -0
  189. package/dist/runtime/ui.config/navigation/{tabs.mjs → tabs.js} +2 -1
  190. package/dist/runtime/ui.config/overlays/{contextMenu.mjs → contextMenu.js} +1 -1
  191. package/dist/runtime/ui.config/overlays/{modal.mjs → modal.js} +2 -2
  192. package/dist/runtime/ui.config/overlays/notification.d.ts +1 -1
  193. package/dist/runtime/ui.config/overlays/{popover.mjs → popover.js} +1 -1
  194. package/dist/runtime/ui.config/overlays/{slideover.mjs → slideover.js} +2 -2
  195. package/dist/runtime/ui.config/overlays/{tooltip.mjs → tooltip.js} +1 -1
  196. package/dist/runtime/utils/colors.d.ts +2 -2
  197. package/dist/runtime/utils/{colors.mjs → colors.js} +1 -1
  198. package/dist/runtime/utils/index.d.ts +4 -4
  199. package/dist/runtime/utils/{index.mjs → index.js} +2 -2
  200. package/dist/runtime/utils/link.d.ts +26 -24
  201. package/dist/runtime/utils/{link.mjs → link.js} +1 -1
  202. package/dist/types.d.mts +1 -16
  203. package/dist/types.d.ts +1 -16
  204. package/package.json +20 -21
  205. package/dist/runtime/components/elements/Icon.vue +0 -29
  206. package/dist/runtime/components/elements/Icon.vue.d.ts +0 -24
  207. package/dist/runtime/composables/useFormGroup.mjs +0 -45
  208. package/dist/runtime/ui.config/index.mjs +0 -43
  209. /package/dist/runtime/composables/{useCarouselScroll.mjs → useCarouselScroll.js} +0 -0
  210. /package/dist/runtime/composables/{usePopper.mjs → usePopper.js} +0 -0
  211. /package/dist/runtime/composables/{useShortcuts.mjs → useShortcuts.js} +0 -0
  212. /package/dist/runtime/composables/{useTimer.mjs → useTimer.js} +0 -0
  213. /package/dist/runtime/composables/{useToast.mjs → useToast.js} +0 -0
  214. /package/dist/runtime/ui.config/elements/{alert.mjs → alert.js} +0 -0
  215. /package/dist/runtime/ui.config/elements/{avatar.mjs → avatar.js} +0 -0
  216. /package/dist/runtime/ui.config/elements/{avatarGroup.mjs → avatarGroup.js} +0 -0
  217. /package/dist/runtime/ui.config/elements/{badge.mjs → badge.js} +0 -0
  218. /package/dist/runtime/ui.config/elements/{button.mjs → button.js} +0 -0
  219. /package/dist/runtime/ui.config/elements/{buttonGroup.mjs → buttonGroup.js} +0 -0
  220. /package/dist/runtime/ui.config/elements/{chip.mjs → chip.js} +0 -0
  221. /package/dist/runtime/ui.config/elements/{kbd.mjs → kbd.js} +0 -0
  222. /package/dist/runtime/ui.config/elements/{meter.mjs → meter.js} +0 -0
  223. /package/dist/runtime/ui.config/elements/{meterGroup.mjs → meterGroup.js} +0 -0
  224. /package/dist/runtime/ui.config/elements/{progress.mjs → progress.js} +0 -0
  225. /package/dist/runtime/ui.config/forms/{checkbox.mjs → checkbox.js} +0 -0
  226. /package/dist/runtime/ui.config/forms/{formGroup.mjs → formGroup.js} +0 -0
  227. /package/dist/runtime/ui.config/forms/{input.mjs → input.js} +0 -0
  228. /package/dist/runtime/ui.config/forms/{radio.mjs → radio.js} +0 -0
  229. /package/dist/runtime/ui.config/forms/{radioGroup.mjs → radioGroup.js} +0 -0
  230. /package/dist/runtime/ui.config/forms/{range.mjs → range.js} +0 -0
  231. /package/dist/runtime/ui.config/forms/{toggle.mjs → toggle.js} +0 -0
  232. /package/dist/runtime/ui.config/layout/{card.mjs → card.js} +0 -0
  233. /package/dist/runtime/ui.config/layout/{container.mjs → container.js} +0 -0
  234. /package/dist/runtime/ui.config/layout/{divider.mjs → divider.js} +0 -0
  235. /package/dist/runtime/ui.config/layout/{skeleton.mjs → skeleton.js} +0 -0
  236. /package/dist/runtime/ui.config/navigation/{commandPalette.mjs → commandPalette.js} +0 -0
  237. /package/dist/runtime/ui.config/navigation/{horizontalNavigation.mjs → horizontalNavigation.js} +0 -0
  238. /package/dist/runtime/ui.config/navigation/{pagination.mjs → pagination.js} +0 -0
  239. /package/dist/runtime/ui.config/navigation/{verticalNavigation.mjs → verticalNavigation.js} +0 -0
  240. /package/dist/runtime/ui.config/overlays/{notification.mjs → notification.js} +0 -0
  241. /package/dist/runtime/ui.config/overlays/{notifications.mjs → notifications.js} +0 -0
  242. /package/dist/runtime/ui.config/{popper.mjs → popper.js} +0 -0
  243. /package/dist/runtime/utils/{lodash.mjs → lodash.js} +0 -0
@@ -1,10 +1,68 @@
1
1
  import type { PropType } from 'vue';
2
2
  import { twJoin } from 'tailwind-merge';
3
- import type { DropdownItem, PopperOptions } from '../../types';
3
+ import type { DropdownItem, PopperOptions, Strategy } from '../../types.js';
4
+ declare const config: {
5
+ wrapper: string;
6
+ container: string;
7
+ trigger: string;
8
+ width: string;
9
+ height: string;
10
+ background: string;
11
+ shadow: string;
12
+ rounded: string;
13
+ ring: string;
14
+ base: string;
15
+ divide: string;
16
+ padding: string;
17
+ item: {
18
+ base: string;
19
+ rounded: string;
20
+ padding: string;
21
+ size: string;
22
+ active: string;
23
+ inactive: string;
24
+ disabled: string;
25
+ icon: {
26
+ base: string;
27
+ active: string;
28
+ inactive: string;
29
+ };
30
+ avatar: {
31
+ base: string;
32
+ size: "2xs";
33
+ };
34
+ label: string;
35
+ shortcuts: string;
36
+ };
37
+ transition: {
38
+ enterActiveClass: string;
39
+ enterFromClass: string;
40
+ enterToClass: string;
41
+ leaveActiveClass: string;
42
+ leaveFromClass: string;
43
+ leaveToClass: string;
44
+ };
45
+ popper: {
46
+ placement: string;
47
+ strategy: string;
48
+ };
49
+ default: {
50
+ openDelay: number;
51
+ closeDelay: number;
52
+ };
53
+ arrow: {
54
+ ring: string;
55
+ background: string;
56
+ base: string;
57
+ rounded: string;
58
+ shadow: string;
59
+ placement: string;
60
+ };
61
+ };
4
62
  declare const _default: import("vue").DefineComponent<{
5
63
  items: {
6
64
  type: PropType<DropdownItem[][]>;
7
- default: () => never[];
65
+ default: () => any[];
8
66
  };
9
67
  mode: {
10
68
  type: PropType<"click" | "hover">;
@@ -13,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
13
71
  };
14
72
  open: {
15
73
  type: BooleanConstructor;
16
- default: undefined;
74
+ default: any;
17
75
  };
18
76
  disabled: {
19
77
  type: BooleanConstructor;
@@ -25,22 +83,81 @@ declare const _default: import("vue").DefineComponent<{
25
83
  };
26
84
  openDelay: {
27
85
  type: NumberConstructor;
28
- default: () => any;
86
+ default: () => number;
29
87
  };
30
88
  closeDelay: {
31
89
  type: NumberConstructor;
32
- default: () => any;
90
+ default: () => number;
33
91
  };
34
92
  class: {
35
93
  type: PropType<any>;
36
94
  default: () => string;
37
95
  };
38
96
  ui: {
39
- type: PropType<any>;
97
+ type: PropType<Partial<typeof config> & {
98
+ strategy?: Strategy;
99
+ }>;
40
100
  default: () => {};
41
101
  };
42
102
  }, {
43
- ui: import("vue").ComputedRef<any>;
103
+ ui: import("vue").ComputedRef<{
104
+ wrapper: string;
105
+ container: string;
106
+ trigger: string;
107
+ width: string;
108
+ height: string;
109
+ background: string;
110
+ shadow: string;
111
+ rounded: string;
112
+ ring: string;
113
+ base: string;
114
+ divide: string;
115
+ padding: string;
116
+ item: {
117
+ base: string;
118
+ rounded: string;
119
+ padding: string;
120
+ size: string;
121
+ active: string;
122
+ inactive: string;
123
+ disabled: string;
124
+ icon: {
125
+ base: string;
126
+ active: string;
127
+ inactive: string;
128
+ };
129
+ avatar: {
130
+ base: string;
131
+ size: "2xs";
132
+ };
133
+ label: string;
134
+ shortcuts: string;
135
+ };
136
+ transition: {
137
+ enterActiveClass: string;
138
+ enterFromClass: string;
139
+ enterToClass: string;
140
+ leaveActiveClass: string;
141
+ leaveFromClass: string;
142
+ leaveToClass: string;
143
+ };
144
+ popper: {
145
+ placement: string;
146
+ strategy: string;
147
+ };
148
+ default: {
149
+ openDelay: number;
150
+ closeDelay: number;
151
+ };
152
+ arrow: {
153
+ ring: string;
154
+ background: string;
155
+ base: string;
156
+ rounded: string;
157
+ shadow: string;
158
+ placement: string;
159
+ };
160
+ }>;
44
161
  attrs: import("vue").ComputedRef<Pick<{
45
162
  [x: string]: unknown;
46
163
  }, string>>;
@@ -84,7 +201,7 @@ declare const _default: import("vue").DefineComponent<{
84
201
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:open"[], "update:open", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
85
202
  items: {
86
203
  type: PropType<DropdownItem[][]>;
87
- default: () => never[];
204
+ default: () => any[];
88
205
  };
89
206
  mode: {
90
207
  type: PropType<"click" | "hover">;
@@ -93,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
93
210
  };
94
211
  open: {
95
212
  type: BooleanConstructor;
96
- default: undefined;
213
+ default: any;
97
214
  };
98
215
  disabled: {
99
216
  type: BooleanConstructor;
@@ -105,30 +222,32 @@ declare const _default: import("vue").DefineComponent<{
105
222
  };
106
223
  openDelay: {
107
224
  type: NumberConstructor;
108
- default: () => any;
225
+ default: () => number;
109
226
  };
110
227
  closeDelay: {
111
228
  type: NumberConstructor;
112
- default: () => any;
229
+ default: () => number;
113
230
  };
114
231
  class: {
115
232
  type: PropType<any>;
116
233
  default: () => string;
117
234
  };
118
235
  ui: {
119
- type: PropType<any>;
236
+ type: PropType<Partial<typeof config> & {
237
+ strategy?: Strategy;
238
+ }>;
120
239
  default: () => {};
121
240
  };
122
241
  }>> & {
123
- "onUpdate:open"?: ((...args: any[]) => any) | undefined;
242
+ "onUpdate:open"?: (...args: any[]) => any;
124
243
  }, {
244
+ ui: {};
245
+ disabled: boolean;
125
246
  class: any;
126
247
  popper: PopperOptions;
127
- disabled: boolean;
128
- ui: any;
248
+ mode: "click" | "hover";
129
249
  open: boolean;
130
250
  items: DropdownItem[][];
131
- mode: "click" | "hover";
132
251
  openDelay: number;
133
252
  closeDelay: number;
134
253
  }, {}>;
@@ -1,13 +1,29 @@
1
1
  import type { PropType } from 'vue';
2
- import type { KbdSize } from '../../types';
2
+ import type { KbdSize, Strategy } from '../../types.js';
3
+ declare const config: {
4
+ base: string;
5
+ padding: string;
6
+ size: {
7
+ xs: string;
8
+ sm: string;
9
+ md: string;
10
+ };
11
+ rounded: string;
12
+ font: string;
13
+ background: string;
14
+ ring: string;
15
+ default: {
16
+ size: string;
17
+ };
18
+ };
3
19
  declare const _default: import("vue").DefineComponent<{
4
20
  value: {
5
21
  type: StringConstructor;
6
- default: null;
22
+ default: any;
7
23
  };
8
24
  size: {
9
25
  type: PropType<KbdSize>;
10
- default: () => any;
26
+ default: () => string;
11
27
  validator(value: string): boolean;
12
28
  };
13
29
  class: {
@@ -15,11 +31,28 @@ declare const _default: import("vue").DefineComponent<{
15
31
  default: () => "";
16
32
  };
17
33
  ui: {
18
- type: PropType<any>;
34
+ type: PropType<Partial<typeof config> & {
35
+ strategy?: Strategy;
36
+ }>;
19
37
  default: () => {};
20
38
  };
21
39
  }, {
22
- ui: import("vue").ComputedRef<any>;
40
+ ui: import("vue").ComputedRef<{
41
+ base: string;
42
+ padding: string;
43
+ size: {
44
+ xs: string;
45
+ sm: string;
46
+ md: string;
47
+ };
48
+ rounded: string;
49
+ font: string;
50
+ background: string;
51
+ ring: string;
52
+ default: {
53
+ size: string;
54
+ };
55
+ }>;
23
56
  attrs: import("vue").ComputedRef<Pick<{
24
57
  [x: string]: unknown;
25
58
  }, string>>;
@@ -27,11 +60,11 @@ declare const _default: import("vue").DefineComponent<{
27
60
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
61
  value: {
29
62
  type: StringConstructor;
30
- default: null;
63
+ default: any;
31
64
  };
32
65
  size: {
33
66
  type: PropType<KbdSize>;
34
- default: () => any;
67
+ default: () => string;
35
68
  validator(value: string): boolean;
36
69
  };
37
70
  class: {
@@ -39,13 +72,15 @@ declare const _default: import("vue").DefineComponent<{
39
72
  default: () => "";
40
73
  };
41
74
  ui: {
42
- type: PropType<any>;
75
+ type: PropType<Partial<typeof config> & {
76
+ strategy?: Strategy;
77
+ }>;
43
78
  default: () => {};
44
79
  };
45
80
  }>>, {
46
- value: string;
47
81
  size: KbdSize;
82
+ ui: {};
48
83
  class: any;
49
- ui: any;
84
+ value: string;
50
85
  }, {}>;
51
86
  export default _default;
@@ -9,11 +9,11 @@ declare const _default: import("vue").DefineComponent<{
9
9
  };
10
10
  disabled: {
11
11
  type: BooleanConstructor;
12
- default: null;
12
+ default: any;
13
13
  };
14
14
  active: {
15
15
  type: BooleanConstructor;
16
- default: undefined;
16
+ default: any;
17
17
  };
18
18
  exact: {
19
19
  type: BooleanConstructor;
@@ -29,78 +29,78 @@ declare const _default: import("vue").DefineComponent<{
29
29
  };
30
30
  inactiveClass: {
31
31
  type: StringConstructor;
32
- default: undefined;
32
+ default: any;
33
33
  };
34
34
  to: {
35
- readonly type: import("vue").PropType<RouteLocationRaw>;
36
- readonly default: undefined;
35
+ readonly type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
36
+ readonly default: any;
37
37
  readonly required: false;
38
38
  };
39
39
  href: {
40
- readonly type: import("vue").PropType<RouteLocationRaw>;
41
- readonly default: undefined;
40
+ readonly type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
41
+ readonly default: any;
42
42
  readonly required: false;
43
43
  };
44
44
  target: {
45
- readonly type: import("vue").PropType<NuxtLinkProps>;
46
- readonly default: undefined;
45
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["target"]>;
46
+ readonly default: any;
47
47
  readonly required: false;
48
48
  };
49
49
  rel: {
50
- readonly type: import("vue").PropType<NuxtLinkProps>;
51
- readonly default: undefined;
50
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["rel"]>;
51
+ readonly default: any;
52
52
  readonly required: false;
53
53
  };
54
54
  noRel: {
55
- readonly type: import("vue").PropType<NuxtLinkProps>;
56
- readonly default: undefined;
55
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["noRel"]>;
56
+ readonly default: any;
57
57
  readonly required: false;
58
58
  };
59
59
  prefetch: {
60
- readonly type: import("vue").PropType<NuxtLinkProps>;
61
- readonly default: undefined;
60
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["prefetch"]>;
61
+ readonly default: any;
62
62
  readonly required: false;
63
63
  };
64
64
  noPrefetch: {
65
- readonly type: import("vue").PropType<NuxtLinkProps>;
66
- readonly default: undefined;
65
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["noPrefetch"]>;
66
+ readonly default: any;
67
67
  readonly required: false;
68
68
  };
69
69
  activeClass: {
70
- readonly type: import("vue").PropType<NuxtLinkProps>;
71
- readonly default: undefined;
70
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["activeClass"]>;
71
+ readonly default: any;
72
72
  readonly required: false;
73
73
  };
74
74
  exactActiveClass: {
75
- readonly type: import("vue").PropType<NuxtLinkProps>;
76
- readonly default: undefined;
75
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["exactActiveClass"]>;
76
+ readonly default: any;
77
77
  readonly required: false;
78
78
  };
79
79
  prefetchedClass: {
80
- readonly type: import("vue").PropType<NuxtLinkProps>;
81
- readonly default: undefined;
80
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["prefetchedClass"]>;
81
+ readonly default: any;
82
82
  readonly required: false;
83
83
  };
84
84
  replace: {
85
- readonly type: import("vue").PropType<NuxtLinkProps>;
86
- readonly default: undefined;
85
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["replace"]>;
86
+ readonly default: any;
87
87
  readonly required: false;
88
88
  };
89
89
  ariaCurrentValue: {
90
- readonly type: import("vue").PropType<NuxtLinkProps>;
91
- readonly default: undefined;
90
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["ariaCurrentValue"]>;
91
+ readonly default: any;
92
92
  readonly required: false;
93
93
  };
94
94
  external: {
95
- readonly type: import("vue").PropType<NuxtLinkProps>;
96
- readonly default: undefined;
95
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["external"]>;
96
+ readonly default: any;
97
97
  readonly required: false;
98
98
  };
99
99
  }, {
100
100
  resolveLinkClass: (route: any, $route: any, { isActive, isExactActive }: {
101
101
  isActive: boolean;
102
102
  isExactActive: boolean;
103
- }) => any;
103
+ }) => string;
104
104
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
105
105
  as: {
106
106
  type: StringConstructor;
@@ -112,11 +112,11 @@ declare const _default: import("vue").DefineComponent<{
112
112
  };
113
113
  disabled: {
114
114
  type: BooleanConstructor;
115
- default: null;
115
+ default: any;
116
116
  };
117
117
  active: {
118
118
  type: BooleanConstructor;
119
- default: undefined;
119
+ default: any;
120
120
  };
121
121
  exact: {
122
122
  type: BooleanConstructor;
@@ -132,94 +132,94 @@ declare const _default: import("vue").DefineComponent<{
132
132
  };
133
133
  inactiveClass: {
134
134
  type: StringConstructor;
135
- default: undefined;
135
+ default: any;
136
136
  };
137
137
  to: {
138
- readonly type: import("vue").PropType<RouteLocationRaw>;
139
- readonly default: undefined;
138
+ readonly type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
139
+ readonly default: any;
140
140
  readonly required: false;
141
141
  };
142
142
  href: {
143
- readonly type: import("vue").PropType<RouteLocationRaw>;
144
- readonly default: undefined;
143
+ readonly type: import("vue").PropType<import("vue-router").RouteLocationRaw>;
144
+ readonly default: any;
145
145
  readonly required: false;
146
146
  };
147
147
  target: {
148
- readonly type: import("vue").PropType<NuxtLinkProps>;
149
- readonly default: undefined;
148
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["target"]>;
149
+ readonly default: any;
150
150
  readonly required: false;
151
151
  };
152
152
  rel: {
153
- readonly type: import("vue").PropType<NuxtLinkProps>;
154
- readonly default: undefined;
153
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["rel"]>;
154
+ readonly default: any;
155
155
  readonly required: false;
156
156
  };
157
157
  noRel: {
158
- readonly type: import("vue").PropType<NuxtLinkProps>;
159
- readonly default: undefined;
158
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["noRel"]>;
159
+ readonly default: any;
160
160
  readonly required: false;
161
161
  };
162
162
  prefetch: {
163
- readonly type: import("vue").PropType<NuxtLinkProps>;
164
- readonly default: undefined;
163
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["prefetch"]>;
164
+ readonly default: any;
165
165
  readonly required: false;
166
166
  };
167
167
  noPrefetch: {
168
- readonly type: import("vue").PropType<NuxtLinkProps>;
169
- readonly default: undefined;
168
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["noPrefetch"]>;
169
+ readonly default: any;
170
170
  readonly required: false;
171
171
  };
172
172
  activeClass: {
173
- readonly type: import("vue").PropType<NuxtLinkProps>;
174
- readonly default: undefined;
173
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["activeClass"]>;
174
+ readonly default: any;
175
175
  readonly required: false;
176
176
  };
177
177
  exactActiveClass: {
178
- readonly type: import("vue").PropType<NuxtLinkProps>;
179
- readonly default: undefined;
178
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["exactActiveClass"]>;
179
+ readonly default: any;
180
180
  readonly required: false;
181
181
  };
182
182
  prefetchedClass: {
183
- readonly type: import("vue").PropType<NuxtLinkProps>;
184
- readonly default: undefined;
183
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["prefetchedClass"]>;
184
+ readonly default: any;
185
185
  readonly required: false;
186
186
  };
187
187
  replace: {
188
- readonly type: import("vue").PropType<NuxtLinkProps>;
189
- readonly default: undefined;
188
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["replace"]>;
189
+ readonly default: any;
190
190
  readonly required: false;
191
191
  };
192
192
  ariaCurrentValue: {
193
- readonly type: import("vue").PropType<NuxtLinkProps>;
194
- readonly default: undefined;
193
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["ariaCurrentValue"]>;
194
+ readonly default: any;
195
195
  readonly required: false;
196
196
  };
197
197
  external: {
198
- readonly type: import("vue").PropType<NuxtLinkProps>;
199
- readonly default: undefined;
198
+ readonly type: import("vue").PropType<import("#app").NuxtLinkProps["external"]>;
199
+ readonly default: any;
200
200
  readonly required: false;
201
201
  };
202
202
  }>>, {
203
- replace: NuxtLinkProps;
204
- type: string;
205
- target: NuxtLinkProps;
206
- rel: NuxtLinkProps;
207
- noRel: NuxtLinkProps;
208
- prefetch: NuxtLinkProps;
209
- noPrefetch: NuxtLinkProps;
210
- activeClass: NuxtLinkProps;
211
- exactActiveClass: NuxtLinkProps;
212
- prefetchedClass: NuxtLinkProps;
213
- ariaCurrentValue: NuxtLinkProps;
214
- external: NuxtLinkProps;
203
+ to: any;
204
+ activeClass: string;
205
+ exactActiveClass: string;
206
+ ariaCurrentValue: "true" | "location" | "page" | "step" | "date" | "time" | "false";
207
+ replace: boolean;
215
208
  as: string;
209
+ type: string;
216
210
  disabled: boolean;
217
211
  active: boolean;
218
212
  exact: boolean;
219
213
  exactQuery: boolean;
220
214
  exactHash: boolean;
221
215
  inactiveClass: string;
222
- to: RouteLocationRaw;
223
- href: RouteLocationRaw;
216
+ href: any;
217
+ external: boolean;
218
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
219
+ rel: (string & {}) | "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc";
220
+ noRel: boolean;
221
+ prefetchedClass: string;
222
+ prefetch: boolean;
223
+ noPrefetch: boolean;
224
224
  }, {}>;
225
225
  export default _default;
@@ -30,7 +30,7 @@
30
30
  <script>
31
31
  import { computed, defineComponent, toRef } from "vue";
32
32
  import { twJoin } from "tailwind-merge";
33
- import UIcon from "./Icon.vue";
33
+ import { UIcon } from "#components";
34
34
  import { useUI } from "../../composables/useUI";
35
35
  import { mergeConfig } from "../../utils";
36
36
  import appConfig from "#build/app.config";