@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,9 +1,43 @@
1
1
  import type { PropType } from 'vue';
2
- import type { TabItem } from '../../types';
2
+ import type { TabItem, Strategy } from '../../types.js';
3
+ declare const config: {
4
+ wrapper: string;
5
+ container: string;
6
+ base: string;
7
+ list: {
8
+ base: string;
9
+ background: string;
10
+ rounded: string;
11
+ shadow: string;
12
+ padding: string;
13
+ height: string;
14
+ width: string;
15
+ marker: {
16
+ wrapper: string;
17
+ base: string;
18
+ background: string;
19
+ rounded: string;
20
+ shadow: string;
21
+ };
22
+ tab: {
23
+ base: string;
24
+ background: string;
25
+ active: string;
26
+ inactive: string;
27
+ height: string;
28
+ padding: string;
29
+ size: string;
30
+ font: string;
31
+ rounded: string;
32
+ shadow: string;
33
+ icon: string;
34
+ };
35
+ };
36
+ };
3
37
  declare const _default: import("vue").DefineComponent<{
4
38
  modelValue: {
5
39
  type: NumberConstructor;
6
- default: undefined;
40
+ default: any;
7
41
  };
8
42
  orientation: {
9
43
  type: PropType<"horizontal" | "vertical">;
@@ -16,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
16
50
  };
17
51
  items: {
18
52
  type: PropType<TabItem[]>;
19
- default: () => never[];
53
+ default: () => any[];
20
54
  };
21
55
  unmount: {
22
56
  type: BooleanConstructor;
@@ -31,23 +65,58 @@ declare const _default: import("vue").DefineComponent<{
31
65
  default: () => string;
32
66
  };
33
67
  ui: {
34
- type: PropType<any>;
68
+ type: PropType<Partial<typeof config> & {
69
+ strategy?: Strategy;
70
+ }>;
35
71
  default: () => {};
36
72
  };
37
73
  }, {
38
- ui: import("vue").ComputedRef<any>;
74
+ ui: import("vue").ComputedRef<{
75
+ wrapper: string;
76
+ container: string;
77
+ base: string;
78
+ list: {
79
+ base: string;
80
+ background: string;
81
+ rounded: string;
82
+ shadow: string;
83
+ padding: string;
84
+ height: string;
85
+ width: string;
86
+ marker: {
87
+ wrapper: string;
88
+ base: string;
89
+ background: string;
90
+ rounded: string;
91
+ shadow: string;
92
+ };
93
+ tab: {
94
+ base: string;
95
+ background: string;
96
+ active: string;
97
+ inactive: string;
98
+ height: string;
99
+ padding: string;
100
+ size: string;
101
+ font: string;
102
+ rounded: string;
103
+ shadow: string;
104
+ icon: string;
105
+ };
106
+ };
107
+ }>;
39
108
  attrs: import("vue").ComputedRef<Pick<{
40
109
  [x: string]: unknown;
41
110
  }, string>>;
42
- listRef: import("vue").Ref<HTMLElement | undefined>;
111
+ listRef: import("vue").Ref<HTMLElement>;
43
112
  itemRefs: import("vue").Ref<HTMLElement[]>;
44
- markerRef: import("vue").Ref<HTMLElement | undefined>;
45
- selectedIndex: import("vue").Ref<number | undefined>;
113
+ markerRef: import("vue").Ref<HTMLElement>;
114
+ selectedIndex: import("vue").Ref<number>;
46
115
  onChange: (index: number) => void;
47
116
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
117
  modelValue: {
49
118
  type: NumberConstructor;
50
- default: undefined;
119
+ default: any;
51
120
  };
52
121
  orientation: {
53
122
  type: PropType<"horizontal" | "vertical">;
@@ -60,7 +129,7 @@ declare const _default: import("vue").DefineComponent<{
60
129
  };
61
130
  items: {
62
131
  type: PropType<TabItem[]>;
63
- default: () => never[];
132
+ default: () => any[];
64
133
  };
65
134
  unmount: {
66
135
  type: BooleanConstructor;
@@ -75,17 +144,19 @@ declare const _default: import("vue").DefineComponent<{
75
144
  default: () => string;
76
145
  };
77
146
  ui: {
78
- type: PropType<any>;
147
+ type: PropType<Partial<typeof config> & {
148
+ strategy?: Strategy;
149
+ }>;
79
150
  default: () => {};
80
151
  };
81
152
  }>> & {
82
- onChange?: ((...args: any[]) => any) | undefined;
83
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
153
+ onChange?: (...args: any[]) => any;
154
+ "onUpdate:modelValue"?: (...args: any[]) => any;
84
155
  }, {
85
156
  class: any;
157
+ ui: {};
86
158
  content: boolean;
87
159
  orientation: "horizontal" | "vertical";
88
- ui: any;
89
160
  modelValue: number;
90
161
  unmount: boolean;
91
162
  items: TabItem[];
@@ -1,21 +1,88 @@
1
1
  import type { PropType } from 'vue';
2
2
  import { twJoin } from 'tailwind-merge';
3
- import type { VerticalNavigationLink } from '../../types';
3
+ import type { VerticalNavigationLink, Strategy } from '../../types.js';
4
+ declare const config: {
5
+ wrapper: string;
6
+ base: string;
7
+ ring: string;
8
+ padding: string;
9
+ width: string;
10
+ rounded: string;
11
+ font: string;
12
+ size: string;
13
+ active: string;
14
+ inactive: string;
15
+ label: string;
16
+ icon: {
17
+ base: string;
18
+ active: string;
19
+ inactive: string;
20
+ };
21
+ avatar: {
22
+ base: string;
23
+ size: "2xs";
24
+ };
25
+ badge: {
26
+ base: string;
27
+ color: "gray";
28
+ variant: "solid";
29
+ size: "xs";
30
+ };
31
+ divider: {
32
+ wrapper: {
33
+ base: string;
34
+ };
35
+ };
36
+ };
4
37
  declare const _default: import("vue").DefineComponent<{
5
38
  links: {
6
- type: PropType<VerticalNavigationLink[] | VerticalNavigationLink[][]>;
7
- default: () => never[];
39
+ type: PropType<VerticalNavigationLink[][] | VerticalNavigationLink[]>;
40
+ default: () => any[];
8
41
  };
9
42
  class: {
10
43
  type: PropType<any>;
11
44
  default: () => string;
12
45
  };
13
46
  ui: {
14
- type: PropType<any>;
47
+ type: PropType<Partial<typeof config> & {
48
+ strategy?: Strategy;
49
+ }>;
15
50
  default: () => {};
16
51
  };
17
52
  }, {
18
- ui: import("vue").ComputedRef<any>;
53
+ ui: import("vue").ComputedRef<{
54
+ wrapper: string;
55
+ base: string;
56
+ ring: string;
57
+ padding: string;
58
+ width: string;
59
+ rounded: string;
60
+ font: string;
61
+ size: string;
62
+ active: string;
63
+ inactive: string;
64
+ label: string;
65
+ icon: {
66
+ base: string;
67
+ active: string;
68
+ inactive: string;
69
+ };
70
+ avatar: {
71
+ base: string;
72
+ size: "2xs";
73
+ };
74
+ badge: {
75
+ base: string;
76
+ color: "gray";
77
+ variant: "solid";
78
+ size: "xs";
79
+ };
80
+ divider: {
81
+ wrapper: {
82
+ base: string;
83
+ };
84
+ };
85
+ }>;
19
86
  attrs: import("vue").ComputedRef<Pick<{
20
87
  [x: string]: unknown;
21
88
  }, string>>;
@@ -25,20 +92,22 @@ declare const _default: import("vue").DefineComponent<{
25
92
  twJoin: typeof twJoin;
26
93
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
94
  links: {
28
- type: PropType<VerticalNavigationLink[] | VerticalNavigationLink[][]>;
29
- default: () => never[];
95
+ type: PropType<VerticalNavigationLink[][] | VerticalNavigationLink[]>;
96
+ default: () => any[];
30
97
  };
31
98
  class: {
32
99
  type: PropType<any>;
33
100
  default: () => string;
34
101
  };
35
102
  ui: {
36
- type: PropType<any>;
103
+ type: PropType<Partial<typeof config> & {
104
+ strategy?: Strategy;
105
+ }>;
37
106
  default: () => {};
38
107
  };
39
108
  }>>, {
40
109
  class: any;
41
- ui: any;
110
+ ui: {};
42
111
  links: VerticalNavigationLink[] | VerticalNavigationLink[][];
43
112
  }, {}>;
44
113
  export default _default;
@@ -1,5 +1,35 @@
1
1
  import type { PropType, Ref } from 'vue';
2
- import type { PopperOptions } from '../../types';
2
+ import type { PopperOptions, Strategy } from '../../types.js';
3
+ declare const config: {
4
+ wrapper: string;
5
+ container: string;
6
+ width: string;
7
+ background: string;
8
+ shadow: string;
9
+ rounded: string;
10
+ ring: string;
11
+ base: string;
12
+ transition: {
13
+ enterActiveClass: string;
14
+ enterFromClass: string;
15
+ enterToClass: string;
16
+ leaveActiveClass: string;
17
+ leaveFromClass: string;
18
+ leaveToClass: string;
19
+ };
20
+ popper: {
21
+ placement: string;
22
+ scroll: boolean;
23
+ };
24
+ arrow: {
25
+ base: string;
26
+ ring: string;
27
+ rounded: string;
28
+ background: string;
29
+ shadow: string;
30
+ placement: string;
31
+ };
32
+ };
3
33
  declare const _default: import("vue").DefineComponent<{
4
34
  modelValue: {
5
35
  type: BooleanConstructor;
@@ -18,11 +48,42 @@ declare const _default: import("vue").DefineComponent<{
18
48
  default: () => string;
19
49
  };
20
50
  ui: {
21
- type: PropType<any>;
51
+ type: PropType<Partial<typeof config> & {
52
+ strategy?: Strategy;
53
+ }>;
22
54
  default: () => {};
23
55
  };
24
56
  }, {
25
- ui: import("vue").ComputedRef<any>;
57
+ ui: import("vue").ComputedRef<{
58
+ wrapper: string;
59
+ container: string;
60
+ width: string;
61
+ background: string;
62
+ shadow: string;
63
+ rounded: string;
64
+ ring: string;
65
+ base: string;
66
+ transition: {
67
+ enterActiveClass: string;
68
+ enterFromClass: string;
69
+ enterToClass: string;
70
+ leaveActiveClass: string;
71
+ leaveFromClass: string;
72
+ leaveToClass: string;
73
+ };
74
+ popper: {
75
+ placement: string;
76
+ scroll: boolean;
77
+ };
78
+ arrow: {
79
+ base: string;
80
+ ring: string;
81
+ rounded: string;
82
+ background: string;
83
+ shadow: string;
84
+ placement: string;
85
+ };
86
+ }>;
26
87
  attrs: import("vue").ComputedRef<Pick<{
27
88
  [x: string]: unknown;
28
89
  }, string>>;
@@ -30,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
30
91
  wrapperClass: import("vue").ComputedRef<string>;
31
92
  popper: import("vue").ComputedRef<PopperOptions>;
32
93
  container: Ref<import("@vueuse/core").MaybeElement>;
33
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "close")[], "update:modelValue" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
94
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
95
  modelValue: {
35
96
  type: BooleanConstructor;
36
97
  default: boolean;
@@ -48,16 +109,18 @@ declare const _default: import("vue").DefineComponent<{
48
109
  default: () => string;
49
110
  };
50
111
  ui: {
51
- type: PropType<any>;
112
+ type: PropType<Partial<typeof config> & {
113
+ strategy?: Strategy;
114
+ }>;
52
115
  default: () => {};
53
116
  };
54
117
  }>> & {
55
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
- onClose?: ((...args: any[]) => any) | undefined;
118
+ onClose?: (...args: any[]) => any;
119
+ "onUpdate:modelValue"?: (...args: any[]) => any;
57
120
  }, {
58
121
  class: any;
122
+ ui: {};
59
123
  popper: PopperOptions;
60
- ui: any;
61
124
  modelValue: boolean;
62
125
  }, {}>;
63
126
  export default _default;
@@ -1,4 +1,40 @@
1
1
  import type { PropType } from 'vue';
2
+ import type { Strategy } from '../../types.js';
3
+ declare const config: {
4
+ wrapper: string;
5
+ inner: string;
6
+ container: string;
7
+ padding: string;
8
+ margin: string;
9
+ base: string;
10
+ overlay: {
11
+ base: string;
12
+ background: string;
13
+ transition: {
14
+ enter: string;
15
+ enterFrom: string;
16
+ enterTo: string;
17
+ leave: string;
18
+ leaveFrom: string;
19
+ leaveTo: string;
20
+ };
21
+ };
22
+ background: string;
23
+ ring: string;
24
+ rounded: string;
25
+ shadow: string;
26
+ width: string;
27
+ height: string;
28
+ fullscreen: string;
29
+ transition: {
30
+ enter: string;
31
+ enterFrom: string;
32
+ enterTo: string;
33
+ leave: string;
34
+ leaveFrom: string;
35
+ leaveTo: string;
36
+ };
37
+ };
2
38
  declare const _default: import("vue").DefineComponent<{
3
39
  modelValue: {
4
40
  type: BooleanConstructor;
@@ -29,19 +65,55 @@ declare const _default: import("vue").DefineComponent<{
29
65
  default: () => string;
30
66
  };
31
67
  ui: {
32
- type: PropType<any>;
68
+ type: PropType<Partial<typeof config> & {
69
+ strategy?: Strategy;
70
+ }>;
33
71
  default: () => {};
34
72
  };
35
73
  }, {
36
- ui: import("vue").ComputedRef<any>;
74
+ ui: import("vue").ComputedRef<{
75
+ wrapper: string;
76
+ inner: string;
77
+ container: string;
78
+ padding: string;
79
+ margin: string;
80
+ base: string;
81
+ overlay: {
82
+ base: string;
83
+ background: string;
84
+ transition: {
85
+ enter: string;
86
+ enterFrom: string;
87
+ enterTo: string;
88
+ leave: string;
89
+ leaveFrom: string;
90
+ leaveTo: string;
91
+ };
92
+ };
93
+ background: string;
94
+ ring: string;
95
+ rounded: string;
96
+ shadow: string;
97
+ width: string;
98
+ height: string;
99
+ fullscreen: string;
100
+ transition: {
101
+ enter: string;
102
+ enterFrom: string;
103
+ enterTo: string;
104
+ leave: string;
105
+ leaveFrom: string;
106
+ leaveTo: string;
107
+ };
108
+ }>;
37
109
  attrs: import("vue").ComputedRef<Pick<{
38
110
  [x: string]: unknown;
39
111
  }, string>>;
40
112
  isOpen: import("vue").WritableComputedRef<boolean>;
41
- transitionClass: import("vue").ComputedRef<any>;
113
+ transitionClass: import("vue").ComputedRef<{}>;
42
114
  onAfterLeave: () => void;
43
115
  close: (value: boolean) => void;
44
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "close" | "close-prevented" | "after-leave")[], "update:modelValue" | "close" | "close-prevented" | "after-leave", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
116
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue" | "close-prevented" | "after-leave")[], "close" | "update:modelValue" | "close-prevented" | "after-leave", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
117
  modelValue: {
46
118
  type: BooleanConstructor;
47
119
  default: boolean;
@@ -71,22 +143,24 @@ declare const _default: import("vue").DefineComponent<{
71
143
  default: () => string;
72
144
  };
73
145
  ui: {
74
- type: PropType<any>;
146
+ type: PropType<Partial<typeof config> & {
147
+ strategy?: Strategy;
148
+ }>;
75
149
  default: () => {};
76
150
  };
77
151
  }>> & {
78
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
79
- onClose?: ((...args: any[]) => any) | undefined;
80
- "onClose-prevented"?: ((...args: any[]) => any) | undefined;
81
- "onAfter-leave"?: ((...args: any[]) => any) | undefined;
152
+ onClose?: (...args: any[]) => any;
153
+ "onUpdate:modelValue"?: (...args: any[]) => any;
154
+ "onClose-prevented"?: (...args: any[]) => any;
155
+ "onAfter-leave"?: (...args: any[]) => any;
82
156
  }, {
83
157
  class: any;
158
+ ui: {};
84
159
  transition: boolean;
85
- ui: any;
86
- modelValue: boolean;
87
160
  appear: boolean;
88
161
  overlay: boolean;
89
162
  preventClose: boolean;
90
163
  fullscreen: boolean;
164
+ modelValue: boolean;
91
165
  }, {}>;
92
166
  export default _default;
@@ -18,7 +18,7 @@
18
18
  {{ title }}
19
19
  </slot>
20
20
  </p>
21
- <div v-if="(description || $slots.description)" :class="twMerge(ui.description, !(title && $slots.title) && 'mt-0 leading-5')">
21
+ <div v-if="(description || $slots.description)" :class="twMerge(ui.description, !title && !$slots.title && 'mt-0 leading-5')">
22
22
  <slot name="description" :description="description">
23
23
  {{ description }}
24
24
  </slot>