@nuxt/ui 2.17.0 → 2.18.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 (234) 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 +53 -15
  6. package/dist/runtime/components/data/Table.vue.d.ts +249 -50
  7. package/dist/runtime/components/elements/Accordion.vue.d.ts +140 -14
  8. package/dist/runtime/components/elements/Alert.vue +1 -1
  9. package/dist/runtime/components/elements/Alert.vue.d.ts +106 -23
  10. package/dist/runtime/components/elements/Avatar.vue.d.ts +146 -25
  11. package/dist/runtime/components/elements/AvatarGroup.d.ts +20 -11
  12. package/dist/runtime/components/elements/{AvatarGroup.mjs → AvatarGroup.js} +2 -2
  13. package/dist/runtime/components/elements/Badge.vue.d.ts +53 -16
  14. package/dist/runtime/components/elements/Button.vue.d.ts +259 -96
  15. package/dist/runtime/components/elements/ButtonGroup.d.ts +113 -9
  16. package/dist/runtime/components/elements/{ButtonGroup.mjs → ButtonGroup.js} +3 -3
  17. package/dist/runtime/components/elements/Carousel.vue.d.ts +75 -20
  18. package/dist/runtime/components/elements/Chip.vue.d.ts +95 -23
  19. package/dist/runtime/components/elements/Dropdown.vue +3 -6
  20. package/dist/runtime/components/elements/Dropdown.vue.d.ts +135 -16
  21. package/dist/runtime/components/elements/Icon.vue +16 -15
  22. package/dist/runtime/components/elements/Icon.vue.d.ts +33 -10
  23. package/dist/runtime/components/elements/Kbd.vue.d.ts +45 -10
  24. package/dist/runtime/components/elements/Link.vue.d.ts +72 -72
  25. package/dist/runtime/components/elements/Meter.vue +1 -1
  26. package/dist/runtime/components/elements/Meter.vue.d.ts +179 -23
  27. package/dist/runtime/components/elements/MeterGroup.d.ts +72 -15
  28. package/dist/runtime/components/elements/{MeterGroup.mjs → MeterGroup.js} +3 -3
  29. package/dist/runtime/components/elements/Progress.vue +7 -2
  30. package/dist/runtime/components/elements/Progress.vue.d.ts +188 -32
  31. package/dist/runtime/components/forms/Checkbox.vue +5 -3
  32. package/dist/runtime/components/forms/Checkbox.vue.d.ts +73 -32
  33. package/dist/runtime/components/forms/Form.vue +1 -2
  34. package/dist/runtime/components/forms/Form.vue.d.ts +11 -10
  35. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  36. package/dist/runtime/components/forms/FormGroup.vue.d.ts +78 -25
  37. package/dist/runtime/components/forms/Input.vue +1 -1
  38. package/dist/runtime/components/forms/Input.vue.d.ts +272 -55
  39. package/dist/runtime/components/forms/InputMenu.vue +11 -8
  40. package/dist/runtime/components/forms/InputMenu.vue.d.ts +431 -81
  41. package/dist/runtime/components/forms/Radio.vue +5 -3
  42. package/dist/runtime/components/forms/Radio.vue.d.ts +71 -32
  43. package/dist/runtime/components/forms/RadioGroup.vue +11 -3
  44. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +83 -25
  45. package/dist/runtime/components/forms/Range.vue.d.ts +153 -24
  46. package/dist/runtime/components/forms/Select.vue +1 -1
  47. package/dist/runtime/components/forms/Select.vue.d.ts +272 -49
  48. package/dist/runtime/components/forms/SelectMenu.vue +49 -23
  49. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +449 -84
  50. package/dist/runtime/components/forms/Textarea.vue.d.ts +258 -43
  51. package/dist/runtime/components/forms/Toggle.vue.d.ts +152 -25
  52. package/dist/runtime/components/layout/Card.vue.d.ts +54 -4
  53. package/dist/runtime/components/layout/Container.vue.d.ts +18 -4
  54. package/dist/runtime/components/layout/Divider.vue.d.ts +121 -16
  55. package/dist/runtime/components/layout/Skeleton.vue +5 -1
  56. package/dist/runtime/components/layout/Skeleton.vue.d.ts +27 -4
  57. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +52 -9
  58. package/dist/runtime/components/navigation/CommandPalette.vue +7 -4
  59. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +193 -35
  60. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +5 -7
  61. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +64 -9
  62. package/dist/runtime/components/navigation/Pagination.vue +2 -4
  63. package/dist/runtime/components/navigation/Pagination.vue.d.ts +83 -11
  64. package/dist/runtime/components/navigation/Tabs.vue +10 -0
  65. package/dist/runtime/components/navigation/Tabs.vue.d.ts +85 -14
  66. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +78 -9
  67. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +71 -8
  68. package/dist/runtime/components/overlays/Modal.vue.d.ts +85 -11
  69. package/dist/runtime/components/overlays/Notification.vue +1 -1
  70. package/dist/runtime/components/overlays/Notification.vue.d.ts +127 -26
  71. package/dist/runtime/components/overlays/Notifications.vue.d.ts +31 -16
  72. package/dist/runtime/components/overlays/Popover.vue +3 -6
  73. package/dist/runtime/components/overlays/Popover.vue.d.ts +110 -15
  74. package/dist/runtime/components/overlays/Slideover.vue.d.ts +86 -14
  75. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +90 -15
  76. package/dist/runtime/composables/{defineShortcuts.mjs → defineShortcuts.js} +1 -1
  77. package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +8 -9
  78. package/dist/runtime/composables/useCopyToClipboard.d.ts +1 -1
  79. package/dist/runtime/composables/{useCopyToClipboard.mjs → useCopyToClipboard.js} +1 -1
  80. package/dist/runtime/composables/useFormGroup.d.ts +5 -5
  81. package/dist/runtime/composables/useFormGroup.js +49 -0
  82. package/dist/runtime/composables/useModal.d.ts +3 -3
  83. package/dist/runtime/composables/{useModal.mjs → useModal.js} +2 -4
  84. package/dist/runtime/composables/usePopper.d.ts +90 -54
  85. package/dist/runtime/composables/useShortcuts.d.ts +4 -4
  86. package/dist/runtime/composables/useSlideover.d.ts +3 -3
  87. package/dist/runtime/composables/{useSlideover.mjs → useSlideover.js} +2 -4
  88. package/dist/runtime/composables/useTimer.d.ts +1 -1
  89. package/dist/runtime/composables/useToast.d.ts +11 -11
  90. package/dist/runtime/composables/useUI.d.ts +1 -1
  91. package/dist/runtime/composables/{useUI.mjs → useUI.js} +1 -1
  92. package/dist/runtime/plugins/colors.d.ts +1 -1
  93. package/dist/runtime/plugins/{colors.mjs → colors.js} +1 -1
  94. package/dist/runtime/plugins/modals.d.ts +1 -1
  95. package/dist/runtime/plugins/{modals.mjs → modals.js} +1 -1
  96. package/dist/runtime/plugins/slideovers.d.ts +1 -1
  97. package/dist/runtime/plugins/{slideovers.mjs → slideovers.js} +1 -1
  98. package/dist/runtime/types/accordion.d.ts +6 -7
  99. package/dist/runtime/types/accordion.js +0 -0
  100. package/dist/runtime/types/alert.d.ts +8 -10
  101. package/dist/runtime/types/alert.js +0 -0
  102. package/dist/runtime/types/avatar.d.ts +13 -15
  103. package/dist/runtime/types/avatar.js +0 -0
  104. package/dist/runtime/types/badge.d.ts +11 -13
  105. package/dist/runtime/types/badge.js +0 -0
  106. package/dist/runtime/types/breadcrumb.d.ts +6 -8
  107. package/dist/runtime/types/breadcrumb.js +0 -0
  108. package/dist/runtime/types/button.d.ts +27 -29
  109. package/dist/runtime/types/button.js +0 -0
  110. package/dist/runtime/types/chip.d.ts +11 -13
  111. package/dist/runtime/types/chip.js +0 -0
  112. package/dist/runtime/types/clipboard.d.ts +7 -1
  113. package/dist/runtime/types/clipboard.js +0 -0
  114. package/dist/runtime/types/command-palette.d.ts +23 -24
  115. package/dist/runtime/types/command-palette.js +0 -0
  116. package/dist/runtime/types/component.d.ts +17 -14
  117. package/dist/runtime/types/component.js +0 -0
  118. package/dist/runtime/types/divider.d.ts +2 -3
  119. package/dist/runtime/types/divider.js +0 -0
  120. package/dist/runtime/types/dropdown.d.ts +12 -13
  121. package/dist/runtime/types/dropdown.js +0 -0
  122. package/dist/runtime/types/form-group.d.ts +4 -5
  123. package/dist/runtime/types/form-group.js +0 -0
  124. package/dist/runtime/types/form.d.ts +29 -28
  125. package/dist/runtime/types/form.js +0 -0
  126. package/dist/runtime/types/horizontal-navigation.d.ts +10 -11
  127. package/dist/runtime/types/horizontal-navigation.js +0 -0
  128. package/dist/runtime/types/index.d.ts +31 -31
  129. package/dist/runtime/types/index.js +31 -0
  130. package/dist/runtime/types/input.d.ts +7 -8
  131. package/dist/runtime/types/input.js +0 -0
  132. package/dist/runtime/types/kbd.d.ts +4 -5
  133. package/dist/runtime/types/kbd.js +0 -0
  134. package/dist/runtime/types/link.d.ts +9 -10
  135. package/dist/runtime/types/link.js +0 -0
  136. package/dist/runtime/types/meter.d.ts +4 -5
  137. package/dist/runtime/types/meter.js +0 -0
  138. package/dist/runtime/types/modal.d.ts +13 -15
  139. package/dist/runtime/types/modal.js +0 -0
  140. package/dist/runtime/types/notification.d.ts +17 -20
  141. package/dist/runtime/types/notification.js +0 -0
  142. package/dist/runtime/types/popper.d.ts +13 -15
  143. package/dist/runtime/types/popper.js +0 -0
  144. package/dist/runtime/types/progress.d.ts +5 -6
  145. package/dist/runtime/types/progress.js +0 -0
  146. package/dist/runtime/types/range.d.ts +6 -7
  147. package/dist/runtime/types/range.js +0 -0
  148. package/dist/runtime/types/select.d.ts +7 -8
  149. package/dist/runtime/types/select.js +0 -0
  150. package/dist/runtime/types/slideover.d.ts +10 -12
  151. package/dist/runtime/types/slideover.js +0 -0
  152. package/dist/runtime/types/tabs.d.ts +6 -5
  153. package/dist/runtime/types/tabs.js +0 -0
  154. package/dist/runtime/types/textarea.d.ts +7 -8
  155. package/dist/runtime/types/textarea.js +0 -0
  156. package/dist/runtime/types/toggle.d.ts +6 -7
  157. package/dist/runtime/types/toggle.js +0 -0
  158. package/dist/runtime/types/tooltip.d.ts +5 -5
  159. package/dist/runtime/types/tooltip.js +0 -0
  160. package/dist/runtime/types/utils.d.ts +15 -27
  161. package/dist/runtime/types/utils.js +0 -0
  162. package/dist/runtime/types/vertical-navigation.d.ts +10 -11
  163. package/dist/runtime/types/vertical-navigation.js +0 -0
  164. package/dist/runtime/ui.config/data/table.d.ts +10 -0
  165. package/dist/runtime/ui.config/data/{table.mjs → table.js} +10 -0
  166. package/dist/runtime/ui.config/elements/accordion.d.ts +1 -0
  167. package/dist/runtime/ui.config/elements/{accordion.mjs → accordion.js} +3 -2
  168. package/dist/runtime/ui.config/elements/alert.d.ts +2 -2
  169. package/dist/runtime/ui.config/elements/avatar.d.ts +2 -2
  170. package/dist/runtime/ui.config/elements/{carousel.mjs → carousel.js} +1 -1
  171. package/dist/runtime/ui.config/elements/{dropdown.mjs → dropdown.js} +1 -1
  172. package/dist/runtime/ui.config/forms/{inputMenu.mjs → inputMenu.js} +1 -1
  173. package/dist/runtime/ui.config/forms/{select.mjs → select.js} +1 -1
  174. package/dist/runtime/ui.config/forms/{selectMenu.mjs → selectMenu.js} +2 -2
  175. package/dist/runtime/ui.config/forms/{textarea.mjs → textarea.js} +1 -1
  176. package/dist/runtime/ui.config/forms/toggle.d.ts +2 -2
  177. package/dist/runtime/ui.config/index.d.ts +43 -43
  178. package/dist/runtime/ui.config/index.js +43 -0
  179. package/dist/runtime/ui.config/navigation/{breadcrumb.mjs → breadcrumb.js} +2 -2
  180. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +1 -1
  181. package/dist/runtime/ui.config/navigation/tabs.d.ts +1 -0
  182. package/dist/runtime/ui.config/navigation/{tabs.mjs → tabs.js} +2 -1
  183. package/dist/runtime/ui.config/overlays/{contextMenu.mjs → contextMenu.js} +1 -1
  184. package/dist/runtime/ui.config/overlays/{modal.mjs → modal.js} +2 -2
  185. package/dist/runtime/ui.config/overlays/notification.d.ts +1 -1
  186. package/dist/runtime/ui.config/overlays/{popover.mjs → popover.js} +1 -1
  187. package/dist/runtime/ui.config/overlays/{slideover.mjs → slideover.js} +2 -2
  188. package/dist/runtime/ui.config/overlays/{tooltip.mjs → tooltip.js} +1 -1
  189. package/dist/runtime/utils/colors.d.ts +2 -2
  190. package/dist/runtime/utils/{colors.mjs → colors.js} +1 -1
  191. package/dist/runtime/utils/index.d.ts +4 -4
  192. package/dist/runtime/utils/{index.mjs → index.js} +2 -2
  193. package/dist/runtime/utils/link.d.ts +26 -24
  194. package/dist/runtime/utils/{link.mjs → link.js} +1 -1
  195. package/dist/types.d.mts +1 -16
  196. package/dist/types.d.ts +1 -16
  197. package/package.json +19 -21
  198. package/dist/runtime/composables/useFormGroup.mjs +0 -45
  199. package/dist/runtime/ui.config/index.mjs +0 -43
  200. /package/dist/runtime/composables/{useCarouselScroll.mjs → useCarouselScroll.js} +0 -0
  201. /package/dist/runtime/composables/{usePopper.mjs → usePopper.js} +0 -0
  202. /package/dist/runtime/composables/{useShortcuts.mjs → useShortcuts.js} +0 -0
  203. /package/dist/runtime/composables/{useTimer.mjs → useTimer.js} +0 -0
  204. /package/dist/runtime/composables/{useToast.mjs → useToast.js} +0 -0
  205. /package/dist/runtime/ui.config/elements/{alert.mjs → alert.js} +0 -0
  206. /package/dist/runtime/ui.config/elements/{avatar.mjs → avatar.js} +0 -0
  207. /package/dist/runtime/ui.config/elements/{avatarGroup.mjs → avatarGroup.js} +0 -0
  208. /package/dist/runtime/ui.config/elements/{badge.mjs → badge.js} +0 -0
  209. /package/dist/runtime/ui.config/elements/{button.mjs → button.js} +0 -0
  210. /package/dist/runtime/ui.config/elements/{buttonGroup.mjs → buttonGroup.js} +0 -0
  211. /package/dist/runtime/ui.config/elements/{chip.mjs → chip.js} +0 -0
  212. /package/dist/runtime/ui.config/elements/{kbd.mjs → kbd.js} +0 -0
  213. /package/dist/runtime/ui.config/elements/{meter.mjs → meter.js} +0 -0
  214. /package/dist/runtime/ui.config/elements/{meterGroup.mjs → meterGroup.js} +0 -0
  215. /package/dist/runtime/ui.config/elements/{progress.mjs → progress.js} +0 -0
  216. /package/dist/runtime/ui.config/forms/{checkbox.mjs → checkbox.js} +0 -0
  217. /package/dist/runtime/ui.config/forms/{formGroup.mjs → formGroup.js} +0 -0
  218. /package/dist/runtime/ui.config/forms/{input.mjs → input.js} +0 -0
  219. /package/dist/runtime/ui.config/forms/{radio.mjs → radio.js} +0 -0
  220. /package/dist/runtime/ui.config/forms/{radioGroup.mjs → radioGroup.js} +0 -0
  221. /package/dist/runtime/ui.config/forms/{range.mjs → range.js} +0 -0
  222. /package/dist/runtime/ui.config/forms/{toggle.mjs → toggle.js} +0 -0
  223. /package/dist/runtime/ui.config/layout/{card.mjs → card.js} +0 -0
  224. /package/dist/runtime/ui.config/layout/{container.mjs → container.js} +0 -0
  225. /package/dist/runtime/ui.config/layout/{divider.mjs → divider.js} +0 -0
  226. /package/dist/runtime/ui.config/layout/{skeleton.mjs → skeleton.js} +0 -0
  227. /package/dist/runtime/ui.config/navigation/{commandPalette.mjs → commandPalette.js} +0 -0
  228. /package/dist/runtime/ui.config/navigation/{horizontalNavigation.mjs → horizontalNavigation.js} +0 -0
  229. /package/dist/runtime/ui.config/navigation/{pagination.mjs → pagination.js} +0 -0
  230. /package/dist/runtime/ui.config/navigation/{verticalNavigation.mjs → verticalNavigation.js} +0 -0
  231. /package/dist/runtime/ui.config/overlays/{notification.mjs → notification.js} +0 -0
  232. /package/dist/runtime/ui.config/overlays/{notifications.mjs → notifications.js} +0 -0
  233. /package/dist/runtime/ui.config/{popper.mjs → popper.js} +0 -0
  234. /package/dist/runtime/utils/{lodash.mjs → lodash.js} +0 -0
@@ -1,5 +1,85 @@
1
1
  import type { PropType } from 'vue';
2
- import type { ButtonSize, ButtonVariant } from '../../types';
2
+ import type { ButtonColor, ButtonSize, ButtonVariant, Strategy } from '../../types.js';
3
+ declare const config: {
4
+ base: string;
5
+ font: string;
6
+ rounded: string;
7
+ truncate: string;
8
+ block: string;
9
+ inline: string;
10
+ size: {
11
+ '2xs': string;
12
+ xs: string;
13
+ sm: string;
14
+ md: string;
15
+ lg: string;
16
+ xl: string;
17
+ };
18
+ gap: {
19
+ '2xs': string;
20
+ xs: string;
21
+ sm: string;
22
+ md: string;
23
+ lg: string;
24
+ xl: string;
25
+ };
26
+ padding: {
27
+ '2xs': string;
28
+ xs: string;
29
+ sm: string;
30
+ md: string;
31
+ lg: string;
32
+ xl: string;
33
+ };
34
+ square: {
35
+ '2xs': string;
36
+ xs: string;
37
+ sm: string;
38
+ md: string;
39
+ lg: string;
40
+ xl: string;
41
+ };
42
+ color: {
43
+ white: {
44
+ solid: string;
45
+ ghost: string;
46
+ };
47
+ gray: {
48
+ solid: string;
49
+ ghost: string;
50
+ link: string;
51
+ };
52
+ black: {
53
+ solid: string;
54
+ link: string;
55
+ };
56
+ };
57
+ variant: {
58
+ solid: string;
59
+ outline: string;
60
+ soft: string;
61
+ ghost: string;
62
+ link: string;
63
+ };
64
+ icon: {
65
+ base: string;
66
+ loading: string;
67
+ size: {
68
+ '2xs': string;
69
+ xs: string;
70
+ sm: string;
71
+ md: string;
72
+ lg: string;
73
+ xl: string;
74
+ };
75
+ };
76
+ default: {
77
+ size: string;
78
+ variant: string;
79
+ color: string;
80
+ loadingIcon: string;
81
+ };
82
+ };
3
83
  declare const _default: import("vue").DefineComponent<{
4
84
  type: {
5
85
  type: StringConstructor;
@@ -11,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
11
91
  };
12
92
  label: {
13
93
  type: StringConstructor;
14
- default: null;
94
+ default: any;
15
95
  };
16
96
  loading: {
17
97
  type: BooleanConstructor;
@@ -27,34 +107,34 @@ declare const _default: import("vue").DefineComponent<{
27
107
  };
28
108
  size: {
29
109
  type: PropType<ButtonSize>;
30
- default: () => any;
110
+ default: () => string;
31
111
  validator(value: string): boolean;
32
112
  };
33
113
  color: {
34
- type: PropType<any>;
35
- default: () => any;
114
+ type: PropType<ButtonColor>;
115
+ default: () => string;
36
116
  validator(value: string): boolean;
37
117
  };
38
118
  variant: {
39
119
  type: PropType<ButtonVariant>;
40
- default: () => any;
120
+ default: () => string;
41
121
  validator(value: string): boolean;
42
122
  };
43
123
  icon: {
44
124
  type: StringConstructor;
45
- default: null;
125
+ default: any;
46
126
  };
47
127
  loadingIcon: {
48
128
  type: StringConstructor;
49
- default: () => any;
129
+ default: () => string;
50
130
  };
51
131
  leadingIcon: {
52
132
  type: StringConstructor;
53
- default: null;
133
+ default: any;
54
134
  };
55
135
  trailingIcon: {
56
136
  type: StringConstructor;
57
- default: null;
137
+ default: any;
58
138
  };
59
139
  trailing: {
60
140
  type: BooleanConstructor;
@@ -77,76 +157,157 @@ declare const _default: import("vue").DefineComponent<{
77
157
  default: () => "";
78
158
  };
79
159
  ui: {
80
- type: PropType<any>;
160
+ type: PropType<Partial<typeof config> & {
161
+ strategy?: Strategy;
162
+ }>;
81
163
  default: () => {};
82
164
  };
83
165
  to: {
84
- readonly type: PropType<RouteLocationRaw>;
85
- readonly default: undefined;
166
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
167
+ readonly default: any;
86
168
  readonly required: false;
87
169
  };
88
170
  href: {
89
- readonly type: PropType<RouteLocationRaw>;
90
- readonly default: undefined;
171
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
172
+ readonly default: any;
91
173
  readonly required: false;
92
174
  };
93
175
  target: {
94
- readonly type: PropType<NuxtLinkProps>;
95
- readonly default: undefined;
176
+ readonly type: PropType<import("#app").NuxtLinkProps["target"]>;
177
+ readonly default: any;
96
178
  readonly required: false;
97
179
  };
98
180
  rel: {
99
- readonly type: PropType<NuxtLinkProps>;
100
- readonly default: undefined;
181
+ readonly type: PropType<import("#app").NuxtLinkProps["rel"]>;
182
+ readonly default: any;
101
183
  readonly required: false;
102
184
  };
103
185
  noRel: {
104
- readonly type: PropType<NuxtLinkProps>;
105
- readonly default: undefined;
186
+ readonly type: PropType<import("#app").NuxtLinkProps["noRel"]>;
187
+ readonly default: any;
106
188
  readonly required: false;
107
189
  };
108
190
  prefetch: {
109
- readonly type: PropType<NuxtLinkProps>;
110
- readonly default: undefined;
191
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetch"]>;
192
+ readonly default: any;
111
193
  readonly required: false;
112
194
  };
113
195
  noPrefetch: {
114
- readonly type: PropType<NuxtLinkProps>;
115
- readonly default: undefined;
196
+ readonly type: PropType<import("#app").NuxtLinkProps["noPrefetch"]>;
197
+ readonly default: any;
116
198
  readonly required: false;
117
199
  };
118
200
  activeClass: {
119
- readonly type: PropType<NuxtLinkProps>;
120
- readonly default: undefined;
201
+ readonly type: PropType<import("#app").NuxtLinkProps["activeClass"]>;
202
+ readonly default: any;
121
203
  readonly required: false;
122
204
  };
123
205
  exactActiveClass: {
124
- readonly type: PropType<NuxtLinkProps>;
125
- readonly default: undefined;
206
+ readonly type: PropType<import("#app").NuxtLinkProps["exactActiveClass"]>;
207
+ readonly default: any;
126
208
  readonly required: false;
127
209
  };
128
210
  prefetchedClass: {
129
- readonly type: PropType<NuxtLinkProps>;
130
- readonly default: undefined;
211
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetchedClass"]>;
212
+ readonly default: any;
131
213
  readonly required: false;
132
214
  };
133
215
  replace: {
134
- readonly type: PropType<NuxtLinkProps>;
135
- readonly default: undefined;
216
+ readonly type: PropType<import("#app").NuxtLinkProps["replace"]>;
217
+ readonly default: any;
136
218
  readonly required: false;
137
219
  };
138
220
  ariaCurrentValue: {
139
- readonly type: PropType<NuxtLinkProps>;
140
- readonly default: undefined;
221
+ readonly type: PropType<import("#app").NuxtLinkProps["ariaCurrentValue"]>;
222
+ readonly default: any;
141
223
  readonly required: false;
142
224
  };
143
225
  external: {
144
- readonly type: PropType<NuxtLinkProps>;
145
- readonly default: undefined;
226
+ readonly type: PropType<import("#app").NuxtLinkProps["external"]>;
227
+ readonly default: any;
146
228
  readonly required: false;
147
229
  };
148
230
  }, {
149
- ui: import("vue").ComputedRef<any>;
231
+ ui: import("vue").ComputedRef<{
232
+ base: string;
233
+ font: string;
234
+ rounded: string;
235
+ truncate: string;
236
+ block: string;
237
+ inline: string;
238
+ size: {
239
+ '2xs': string;
240
+ xs: string;
241
+ sm: string;
242
+ md: string;
243
+ lg: string;
244
+ xl: string;
245
+ };
246
+ gap: {
247
+ '2xs': string;
248
+ xs: string;
249
+ sm: string;
250
+ md: string;
251
+ lg: string;
252
+ xl: string;
253
+ };
254
+ padding: {
255
+ '2xs': string;
256
+ xs: string;
257
+ sm: string;
258
+ md: string;
259
+ lg: string;
260
+ xl: string;
261
+ };
262
+ square: {
263
+ '2xs': string;
264
+ xs: string;
265
+ sm: string;
266
+ md: string;
267
+ lg: string;
268
+ xl: string;
269
+ };
270
+ color: {
271
+ white: {
272
+ solid: string;
273
+ ghost: string;
274
+ };
275
+ gray: {
276
+ solid: string;
277
+ ghost: string;
278
+ link: string;
279
+ };
280
+ black: {
281
+ solid: string;
282
+ link: string;
283
+ };
284
+ };
285
+ variant: {
286
+ solid: string;
287
+ outline: string;
288
+ soft: string;
289
+ ghost: string;
290
+ link: string;
291
+ };
292
+ icon: {
293
+ base: string;
294
+ loading: string;
295
+ size: {
296
+ '2xs': string;
297
+ xs: string;
298
+ sm: string;
299
+ md: string;
300
+ lg: string;
301
+ xl: string;
302
+ };
303
+ };
304
+ default: {
305
+ size: string;
306
+ variant: string;
307
+ color: string;
308
+ loadingIcon: string;
309
+ };
310
+ }>;
150
311
  attrs: import("vue").ComputedRef<Pick<{
151
312
  [x: string]: unknown;
152
313
  }, string>>;
@@ -154,8 +315,8 @@ declare const _default: import("vue").DefineComponent<{
154
315
  isTrailing: import("vue").ComputedRef<string | true>;
155
316
  isSquare: import("vue").ComputedRef<boolean>;
156
317
  buttonClass: import("vue").ComputedRef<string>;
157
- leadingIconName: import("vue").ComputedRef<string | undefined>;
158
- trailingIconName: import("vue").ComputedRef<string | undefined>;
318
+ leadingIconName: import("vue").ComputedRef<string>;
319
+ trailingIconName: import("vue").ComputedRef<string>;
159
320
  leadingIconClass: import("vue").ComputedRef<string>;
160
321
  trailingIconClass: import("vue").ComputedRef<string>;
161
322
  linkProps: import("vue").ComputedRef<{}>;
@@ -170,7 +331,7 @@ declare const _default: import("vue").DefineComponent<{
170
331
  };
171
332
  label: {
172
333
  type: StringConstructor;
173
- default: null;
334
+ default: any;
174
335
  };
175
336
  loading: {
176
337
  type: BooleanConstructor;
@@ -186,34 +347,34 @@ declare const _default: import("vue").DefineComponent<{
186
347
  };
187
348
  size: {
188
349
  type: PropType<ButtonSize>;
189
- default: () => any;
350
+ default: () => string;
190
351
  validator(value: string): boolean;
191
352
  };
192
353
  color: {
193
- type: PropType<any>;
194
- default: () => any;
354
+ type: PropType<ButtonColor>;
355
+ default: () => string;
195
356
  validator(value: string): boolean;
196
357
  };
197
358
  variant: {
198
359
  type: PropType<ButtonVariant>;
199
- default: () => any;
360
+ default: () => string;
200
361
  validator(value: string): boolean;
201
362
  };
202
363
  icon: {
203
364
  type: StringConstructor;
204
- default: null;
365
+ default: any;
205
366
  };
206
367
  loadingIcon: {
207
368
  type: StringConstructor;
208
- default: () => any;
369
+ default: () => string;
209
370
  };
210
371
  leadingIcon: {
211
372
  type: StringConstructor;
212
- default: null;
373
+ default: any;
213
374
  };
214
375
  trailingIcon: {
215
376
  type: StringConstructor;
216
- default: null;
377
+ default: any;
217
378
  };
218
379
  trailing: {
219
380
  type: BooleanConstructor;
@@ -236,106 +397,108 @@ declare const _default: import("vue").DefineComponent<{
236
397
  default: () => "";
237
398
  };
238
399
  ui: {
239
- type: PropType<any>;
400
+ type: PropType<Partial<typeof config> & {
401
+ strategy?: Strategy;
402
+ }>;
240
403
  default: () => {};
241
404
  };
242
405
  to: {
243
- readonly type: PropType<RouteLocationRaw>;
244
- readonly default: undefined;
406
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
407
+ readonly default: any;
245
408
  readonly required: false;
246
409
  };
247
410
  href: {
248
- readonly type: PropType<RouteLocationRaw>;
249
- readonly default: undefined;
411
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
412
+ readonly default: any;
250
413
  readonly required: false;
251
414
  };
252
415
  target: {
253
- readonly type: PropType<NuxtLinkProps>;
254
- readonly default: undefined;
416
+ readonly type: PropType<import("#app").NuxtLinkProps["target"]>;
417
+ readonly default: any;
255
418
  readonly required: false;
256
419
  };
257
420
  rel: {
258
- readonly type: PropType<NuxtLinkProps>;
259
- readonly default: undefined;
421
+ readonly type: PropType<import("#app").NuxtLinkProps["rel"]>;
422
+ readonly default: any;
260
423
  readonly required: false;
261
424
  };
262
425
  noRel: {
263
- readonly type: PropType<NuxtLinkProps>;
264
- readonly default: undefined;
426
+ readonly type: PropType<import("#app").NuxtLinkProps["noRel"]>;
427
+ readonly default: any;
265
428
  readonly required: false;
266
429
  };
267
430
  prefetch: {
268
- readonly type: PropType<NuxtLinkProps>;
269
- readonly default: undefined;
431
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetch"]>;
432
+ readonly default: any;
270
433
  readonly required: false;
271
434
  };
272
435
  noPrefetch: {
273
- readonly type: PropType<NuxtLinkProps>;
274
- readonly default: undefined;
436
+ readonly type: PropType<import("#app").NuxtLinkProps["noPrefetch"]>;
437
+ readonly default: any;
275
438
  readonly required: false;
276
439
  };
277
440
  activeClass: {
278
- readonly type: PropType<NuxtLinkProps>;
279
- readonly default: undefined;
441
+ readonly type: PropType<import("#app").NuxtLinkProps["activeClass"]>;
442
+ readonly default: any;
280
443
  readonly required: false;
281
444
  };
282
445
  exactActiveClass: {
283
- readonly type: PropType<NuxtLinkProps>;
284
- readonly default: undefined;
446
+ readonly type: PropType<import("#app").NuxtLinkProps["exactActiveClass"]>;
447
+ readonly default: any;
285
448
  readonly required: false;
286
449
  };
287
450
  prefetchedClass: {
288
- readonly type: PropType<NuxtLinkProps>;
289
- readonly default: undefined;
451
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetchedClass"]>;
452
+ readonly default: any;
290
453
  readonly required: false;
291
454
  };
292
455
  replace: {
293
- readonly type: PropType<NuxtLinkProps>;
294
- readonly default: undefined;
456
+ readonly type: PropType<import("#app").NuxtLinkProps["replace"]>;
457
+ readonly default: any;
295
458
  readonly required: false;
296
459
  };
297
460
  ariaCurrentValue: {
298
- readonly type: PropType<NuxtLinkProps>;
299
- readonly default: undefined;
461
+ readonly type: PropType<import("#app").NuxtLinkProps["ariaCurrentValue"]>;
462
+ readonly default: any;
300
463
  readonly required: false;
301
464
  };
302
465
  external: {
303
- readonly type: PropType<NuxtLinkProps>;
304
- readonly default: undefined;
466
+ readonly type: PropType<import("#app").NuxtLinkProps["external"]>;
467
+ readonly default: any;
305
468
  readonly required: false;
306
469
  };
307
470
  }>>, {
308
- replace: NuxtLinkProps;
309
471
  size: ButtonSize;
310
472
  type: string;
311
- label: string;
473
+ replace: boolean;
312
474
  class: any;
475
+ to: any;
476
+ activeClass: string;
477
+ exactActiveClass: string;
478
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
479
+ disabled: boolean;
313
480
  truncate: boolean;
314
- target: NuxtLinkProps;
315
- rel: NuxtLinkProps;
316
- noRel: NuxtLinkProps;
317
- prefetch: NuxtLinkProps;
318
- noPrefetch: NuxtLinkProps;
319
- activeClass: NuxtLinkProps;
320
- exactActiveClass: NuxtLinkProps;
321
- prefetchedClass: NuxtLinkProps;
322
- ariaCurrentValue: NuxtLinkProps;
323
- external: NuxtLinkProps;
324
- leading: boolean;
325
- color: any;
481
+ ui: {};
482
+ color: ButtonColor;
326
483
  variant: ButtonVariant;
327
- disabled: boolean;
328
- to: RouteLocationRaw;
329
- href: RouteLocationRaw;
330
- ui: any;
484
+ label: string;
485
+ icon: string;
486
+ href: any;
487
+ external: boolean;
488
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
489
+ rel: (string & {}) | "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc";
490
+ noRel: boolean;
491
+ prefetchedClass: string;
492
+ prefetch: boolean;
493
+ noPrefetch: boolean;
494
+ leading: boolean;
331
495
  block: boolean;
496
+ square: boolean;
332
497
  loading: boolean;
333
498
  padded: boolean;
334
- icon: string;
335
499
  loadingIcon: string;
336
500
  leadingIcon: string;
337
501
  trailingIcon: string;
338
502
  trailing: boolean;
339
- square: boolean;
340
503
  }, {}>;
341
504
  export default _default;
@@ -1,9 +1,109 @@
1
1
  import type { PropType } from 'vue';
2
- import type { ButtonSize } from '../../types';
3
- declare const _default: import("vue").DefineComponent<{
2
+ import type { ButtonSize, Strategy } from '../../types.js';
3
+ declare const buttonGroupConfig: {
4
+ wrapper: {
5
+ horizontal: string;
6
+ vertical: string;
7
+ };
8
+ rounded: string;
9
+ shadow: string;
10
+ orientation: {
11
+ 'rounded-none': {
12
+ horizontal: {
13
+ start: string;
14
+ end: string;
15
+ };
16
+ vertical: {
17
+ start: string;
18
+ end: string;
19
+ };
20
+ };
21
+ 'rounded-sm': {
22
+ horizontal: {
23
+ start: string;
24
+ end: string;
25
+ };
26
+ vertical: {
27
+ start: string;
28
+ end: string;
29
+ };
30
+ };
31
+ rounded: {
32
+ horizontal: {
33
+ start: string;
34
+ end: string;
35
+ };
36
+ vertical: {
37
+ start: string;
38
+ end: string;
39
+ };
40
+ };
41
+ 'rounded-md': {
42
+ horizontal: {
43
+ start: string;
44
+ end: string;
45
+ };
46
+ vertical: {
47
+ start: string;
48
+ end: string;
49
+ };
50
+ };
51
+ 'rounded-lg': {
52
+ horizontal: {
53
+ start: string;
54
+ end: string;
55
+ };
56
+ vertical: {
57
+ start: string;
58
+ end: string;
59
+ };
60
+ };
61
+ 'rounded-xl': {
62
+ horizontal: {
63
+ start: string;
64
+ end: string;
65
+ };
66
+ vertical: {
67
+ start: string;
68
+ end: string;
69
+ };
70
+ };
71
+ 'rounded-2xl': {
72
+ horizontal: {
73
+ start: string;
74
+ end: string;
75
+ };
76
+ vertical: {
77
+ start: string;
78
+ end: string;
79
+ };
80
+ };
81
+ 'rounded-3xl': {
82
+ horizontal: {
83
+ start: string;
84
+ end: string;
85
+ };
86
+ vertical: {
87
+ start: string;
88
+ end: string;
89
+ };
90
+ };
91
+ 'rounded-full': {
92
+ horizontal: {
93
+ start: string;
94
+ end: string;
95
+ };
96
+ vertical: {
97
+ start: string;
98
+ end: string;
99
+ };
100
+ };
101
+ };
102
+ };
103
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
4
104
  size: {
5
105
  type: PropType<ButtonSize>;
6
- default: null;
106
+ default: any;
7
107
  validator(value: string): boolean;
8
108
  };
9
109
  orientation: {
@@ -16,15 +116,17 @@ declare const _default: import("vue").DefineComponent<{
16
116
  default: () => "";
17
117
  };
18
118
  ui: {
19
- type: PropType<any>;
119
+ type: PropType<Partial<typeof buttonGroupConfig> & {
120
+ strategy?: Strategy;
121
+ }>;
20
122
  default: () => {};
21
123
  };
22
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
124
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
23
125
  [key: string]: any;
24
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
126
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
25
127
  size: {
26
128
  type: PropType<ButtonSize>;
27
- default: null;
129
+ default: any;
28
130
  validator(value: string): boolean;
29
131
  };
30
132
  orientation: {
@@ -37,13 +139,15 @@ declare const _default: import("vue").DefineComponent<{
37
139
  default: () => "";
38
140
  };
39
141
  ui: {
40
- type: PropType<any>;
142
+ type: PropType<Partial<typeof buttonGroupConfig> & {
143
+ strategy?: Strategy;
144
+ }>;
41
145
  default: () => {};
42
146
  };
43
147
  }>>, {
44
148
  orientation: "horizontal" | "vertical";
45
149
  size: ButtonSize;
46
- ui: any;
150
+ ui: {};
47
151
  class: any;
48
152
  }, {}>;
49
153
  export default _default;