@nuxt/ui 2.18.4 → 3.0.0-alpha.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 (383) hide show
  1. package/README.md +18 -1
  2. package/cli/commands/init.mjs +83 -0
  3. package/cli/index.mjs +15 -0
  4. package/cli/package.json +13 -0
  5. package/cli/templates.mjs +171 -0
  6. package/cli/utils.mjs +17 -0
  7. package/dist/module.d.mts +10 -26
  8. package/dist/module.d.ts +10 -26
  9. package/dist/module.json +3 -3
  10. package/dist/module.mjs +2620 -152
  11. package/dist/runtime/assets/css/animations.css +1 -0
  12. package/dist/runtime/components/Accordion.vue +67 -0
  13. package/dist/runtime/components/Accordion.vue.d.ts +492 -0
  14. package/dist/runtime/components/Alert.vue +78 -0
  15. package/dist/runtime/components/Alert.vue.d.ts +548 -0
  16. package/dist/runtime/components/App.vue +32 -0
  17. package/dist/runtime/components/App.vue.d.ts +25 -0
  18. package/dist/runtime/components/Avatar.vue +48 -0
  19. package/dist/runtime/components/Avatar.vue.d.ts +384 -0
  20. package/dist/runtime/components/AvatarGroup.vue +74 -0
  21. package/dist/runtime/components/AvatarGroup.vue.d.ts +381 -0
  22. package/dist/runtime/components/Badge.vue +24 -0
  23. package/dist/runtime/components/Badge.vue.d.ts +422 -0
  24. package/dist/runtime/components/Breadcrumb.vue +60 -0
  25. package/dist/runtime/components/Breadcrumb.vue.d.ts +307 -0
  26. package/dist/runtime/components/Button.vue +55 -0
  27. package/dist/runtime/components/Button.vue.d.ts +949 -0
  28. package/dist/runtime/components/ButtonGroup.vue +29 -0
  29. package/dist/runtime/components/ButtonGroup.vue.d.ts +182 -0
  30. package/dist/runtime/components/Card.vue +33 -0
  31. package/dist/runtime/components/Card.vue.d.ts +191 -0
  32. package/dist/runtime/components/Checkbox.vue +89 -0
  33. package/dist/runtime/components/Checkbox.vue.d.ts +819 -0
  34. package/dist/runtime/components/Chip.vue +43 -0
  35. package/dist/runtime/components/Chip.vue.d.ts +590 -0
  36. package/dist/runtime/components/Collapsible.vue +33 -0
  37. package/dist/runtime/components/Collapsible.vue.d.ts +159 -0
  38. package/dist/runtime/components/CommandPalette.vue +210 -0
  39. package/dist/runtime/components/CommandPalette.vue.d.ts +684 -0
  40. package/dist/runtime/components/Container.vue +20 -0
  41. package/dist/runtime/components/Container.vue.d.ts +27 -0
  42. package/dist/runtime/components/ContextMenu.vue +51 -0
  43. package/dist/runtime/components/ContextMenu.vue.d.ts +796 -0
  44. package/dist/runtime/components/ContextMenuContent.vue +108 -0
  45. package/dist/runtime/components/ContextMenuContent.vue.d.ts +0 -0
  46. package/dist/runtime/components/Drawer.vue +73 -0
  47. package/dist/runtime/components/Drawer.vue.d.ts +343 -0
  48. package/dist/runtime/components/DropdownMenu.vue +55 -0
  49. package/dist/runtime/components/DropdownMenu.vue.d.ts +815 -0
  50. package/dist/runtime/components/DropdownMenuContent.vue +111 -0
  51. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -0
  52. package/dist/runtime/components/Form.vue +206 -0
  53. package/dist/runtime/components/Form.vue.d.ts +39 -0
  54. package/dist/runtime/components/FormField.vue +82 -0
  55. package/dist/runtime/components/FormField.vue.d.ts +356 -0
  56. package/dist/runtime/components/Icon.vue +16 -0
  57. package/dist/runtime/components/Icon.vue.d.ts +17 -0
  58. package/dist/runtime/components/Input.vue +140 -0
  59. package/dist/runtime/components/Input.vue.d.ts +1137 -0
  60. package/dist/runtime/components/InputMenu.vue +264 -0
  61. package/dist/runtime/components/InputMenu.vue.d.ts +2121 -0
  62. package/dist/runtime/components/Kbd.vue +27 -0
  63. package/dist/runtime/components/Kbd.vue.d.ts +169 -0
  64. package/dist/runtime/components/Link.vue +83 -0
  65. package/dist/runtime/components/Link.vue.d.ts +76 -0
  66. package/dist/runtime/components/LinkBase.vue +50 -0
  67. package/dist/runtime/components/LinkBase.vue.d.ts +49 -0
  68. package/dist/runtime/components/Modal.vue +100 -0
  69. package/dist/runtime/components/Modal.vue.d.ts +319 -0
  70. package/dist/runtime/components/ModalProvider.vue +12 -0
  71. package/dist/runtime/components/NavigationMenu.vue +125 -0
  72. package/dist/runtime/components/NavigationMenu.vue.d.ts +1789 -0
  73. package/dist/runtime/components/Pagination.vue +80 -0
  74. package/dist/runtime/components/Pagination.vue.d.ts +295 -0
  75. package/dist/runtime/components/Popover.vue +52 -0
  76. package/dist/runtime/components/Popover.vue.d.ts +197 -0
  77. package/dist/runtime/components/Progress.vue +126 -0
  78. package/dist/runtime/components/Progress.vue.d.ts +1781 -0
  79. package/dist/runtime/components/RadioGroup.vue +111 -0
  80. package/dist/runtime/components/RadioGroup.vue.d.ts +1715 -0
  81. package/dist/runtime/components/Select.vue +148 -0
  82. package/dist/runtime/components/Select.vue.d.ts +1569 -0
  83. package/dist/runtime/components/SelectMenu.vue +208 -0
  84. package/dist/runtime/components/SelectMenu.vue.d.ts +1661 -0
  85. package/dist/runtime/components/Separator.vue +47 -0
  86. package/dist/runtime/components/Separator.vue.d.ts +0 -0
  87. package/dist/runtime/components/Skeleton.vue +19 -0
  88. package/dist/runtime/components/Skeleton.vue.d.ts +26 -0
  89. package/dist/runtime/components/Slideover.vue +101 -0
  90. package/dist/runtime/components/Slideover.vue.d.ts +375 -0
  91. package/dist/runtime/components/SlideoverProvider.vue +12 -0
  92. package/dist/runtime/components/Slider.vue +83 -0
  93. package/dist/runtime/components/Slider.vue.d.ts +0 -0
  94. package/dist/runtime/components/Switch.vue +80 -0
  95. package/dist/runtime/components/Switch.vue.d.ts +1676 -0
  96. package/dist/runtime/components/Tabs.vue +61 -0
  97. package/dist/runtime/components/Tabs.vue.d.ts +934 -0
  98. package/dist/runtime/components/Textarea.vue +149 -0
  99. package/dist/runtime/components/Textarea.vue.d.ts +1133 -0
  100. package/dist/runtime/components/Toast.vue +112 -0
  101. package/dist/runtime/components/Toast.vue.d.ts +0 -0
  102. package/dist/runtime/components/Toaster.vue +109 -0
  103. package/dist/runtime/components/Toaster.vue.d.ts +362 -0
  104. package/dist/runtime/components/Tooltip.vue +52 -0
  105. package/dist/runtime/components/Tooltip.vue.d.ts +248 -0
  106. package/dist/runtime/composables/defineShortcuts.d.ts +7 -5
  107. package/dist/runtime/composables/defineShortcuts.js +94 -65
  108. package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
  109. package/dist/runtime/composables/useAvatarGroup.js +10 -0
  110. package/dist/runtime/composables/useButtonGroup.d.ts +12 -17
  111. package/dist/runtime/composables/useButtonGroup.js +6 -56
  112. package/dist/runtime/composables/useComponentIcons.d.ts +26 -0
  113. package/dist/runtime/composables/useComponentIcons.js +26 -0
  114. package/dist/runtime/composables/useFormField.d.ts +31 -0
  115. package/dist/runtime/composables/useFormField.js +50 -0
  116. package/dist/runtime/composables/useKbd.d.ts +28 -0
  117. package/dist/runtime/composables/useKbd.js +46 -0
  118. package/dist/runtime/composables/useModal.d.ts +8 -4
  119. package/dist/runtime/composables/useModal.js +1 -0
  120. package/dist/runtime/composables/useSlideover.d.ts +9 -5
  121. package/dist/runtime/composables/useSlideover.js +3 -2
  122. package/dist/runtime/composables/useToast.d.ts +9 -17
  123. package/dist/runtime/composables/useToast.js +27 -13
  124. package/dist/runtime/plugins/colors.d.ts +0 -2
  125. package/dist/runtime/plugins/colors.js +9 -17
  126. package/dist/runtime/plugins/modal.d.ts +0 -0
  127. package/dist/runtime/plugins/slideover.d.ts +0 -0
  128. package/dist/runtime/plugins/{slideovers.js → slideover.js} +3 -3
  129. package/dist/runtime/types/app.config.d.ts +6 -0
  130. package/dist/runtime/types/component.d.ts +17 -14
  131. package/dist/runtime/types/component.js +0 -0
  132. package/dist/runtime/types/form.d.ts +63 -32
  133. package/dist/runtime/types/form.js +12 -0
  134. package/dist/runtime/types/index.d.ts +41 -30
  135. package/dist/runtime/types/index.js +42 -31
  136. package/dist/runtime/types/utils.d.ts +13 -32
  137. package/dist/runtime/types/utils.js +0 -0
  138. package/dist/runtime/utils/form.d.ts +15 -0
  139. package/dist/runtime/utils/form.js +66 -0
  140. package/dist/runtime/utils/fuse.d.ts +4 -0
  141. package/dist/runtime/utils/fuse.js +63 -0
  142. package/dist/runtime/utils/index.d.ts +4 -10
  143. package/dist/runtime/utils/index.js +40 -60
  144. package/dist/runtime/utils/link.d.ts +58 -71
  145. package/dist/runtime/utils/link.js +4 -124
  146. package/package.json +47 -45
  147. package/dist/runtime/components/data/Table.vue +0 -355
  148. package/dist/runtime/components/data/Table.vue.d.ts +0 -439
  149. package/dist/runtime/components/elements/Accordion.vue +0 -185
  150. package/dist/runtime/components/elements/Accordion.vue.d.ts +0 -223
  151. package/dist/runtime/components/elements/Alert.vue +0 -139
  152. package/dist/runtime/components/elements/Alert.vue.d.ts +0 -194
  153. package/dist/runtime/components/elements/Avatar.vue +0 -160
  154. package/dist/runtime/components/elements/Avatar.vue.d.ts +0 -255
  155. package/dist/runtime/components/elements/AvatarGroup.d.ts +0 -56
  156. package/dist/runtime/components/elements/AvatarGroup.js +0 -58
  157. package/dist/runtime/components/elements/Badge.vue +0 -75
  158. package/dist/runtime/components/elements/Badge.vue.d.ts +0 -109
  159. package/dist/runtime/components/elements/Button.vue +0 -193
  160. package/dist/runtime/components/elements/Button.vue.d.ts +0 -504
  161. package/dist/runtime/components/elements/ButtonGroup.d.ts +0 -153
  162. package/dist/runtime/components/elements/ButtonGroup.js +0 -51
  163. package/dist/runtime/components/elements/Carousel.vue +0 -165
  164. package/dist/runtime/components/elements/Carousel.vue.d.ts +0 -159
  165. package/dist/runtime/components/elements/Chip.vue +0 -85
  166. package/dist/runtime/components/elements/Chip.vue.d.ts +0 -162
  167. package/dist/runtime/components/elements/Dropdown.vue +0 -254
  168. package/dist/runtime/components/elements/Dropdown.vue.d.ts +0 -254
  169. package/dist/runtime/components/elements/Icon.vue +0 -30
  170. package/dist/runtime/components/elements/Icon.vue.d.ts +0 -47
  171. package/dist/runtime/components/elements/Kbd.vue +0 -59
  172. package/dist/runtime/components/elements/Kbd.vue.d.ts +0 -86
  173. package/dist/runtime/components/elements/Link.vue +0 -95
  174. package/dist/runtime/components/elements/Link.vue.d.ts +0 -225
  175. package/dist/runtime/components/elements/Meter.vue +0 -170
  176. package/dist/runtime/components/elements/Meter.vue.d.ts +0 -279
  177. package/dist/runtime/components/elements/MeterGroup.d.ts +0 -135
  178. package/dist/runtime/components/elements/MeterGroup.js +0 -159
  179. package/dist/runtime/components/elements/Progress.vue +0 -203
  180. package/dist/runtime/components/elements/Progress.vue.d.ts +0 -280
  181. package/dist/runtime/components/forms/Checkbox.vue +0 -143
  182. package/dist/runtime/components/forms/Checkbox.vue.d.ts +0 -179
  183. package/dist/runtime/components/forms/Form.vue +0 -219
  184. package/dist/runtime/components/forms/Form.vue.d.ts +0 -53
  185. package/dist/runtime/components/forms/FormGroup.vue +0 -128
  186. package/dist/runtime/components/forms/FormGroup.vue.d.ts +0 -169
  187. package/dist/runtime/components/forms/Input.vue +0 -300
  188. package/dist/runtime/components/forms/Input.vue.d.ts +0 -482
  189. package/dist/runtime/components/forms/InputMenu.vue +0 -439
  190. package/dist/runtime/components/forms/InputMenu.vue.d.ts +0 -700
  191. package/dist/runtime/components/forms/Radio.vue +0 -140
  192. package/dist/runtime/components/forms/Radio.vue.d.ts +0 -168
  193. package/dist/runtime/components/forms/RadioGroup.vue +0 -145
  194. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +0 -176
  195. package/dist/runtime/components/forms/Range.vue +0 -173
  196. package/dist/runtime/components/forms/Range.vue.d.ts +0 -268
  197. package/dist/runtime/components/forms/Select.vue +0 -322
  198. package/dist/runtime/components/forms/Select.vue.d.ts +0 -471
  199. package/dist/runtime/components/forms/SelectMenu.vue +0 -546
  200. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +0 -754
  201. package/dist/runtime/components/forms/Textarea.vue +0 -231
  202. package/dist/runtime/components/forms/Textarea.vue.d.ts +0 -436
  203. package/dist/runtime/components/forms/Toggle.vue +0 -171
  204. package/dist/runtime/components/forms/Toggle.vue.d.ts +0 -262
  205. package/dist/runtime/components/layout/Card.vue +0 -63
  206. package/dist/runtime/components/layout/Card.vue.d.ts +0 -89
  207. package/dist/runtime/components/layout/Container.vue +0 -48
  208. package/dist/runtime/components/layout/Container.vue.d.ts +0 -53
  209. package/dist/runtime/components/layout/Divider.vue +0 -108
  210. package/dist/runtime/components/layout/Divider.vue.d.ts +0 -198
  211. package/dist/runtime/components/layout/Skeleton.vue +0 -46
  212. package/dist/runtime/components/layout/Skeleton.vue.d.ts +0 -53
  213. package/dist/runtime/components/navigation/Breadcrumb.vue +0 -82
  214. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +0 -95
  215. package/dist/runtime/components/navigation/CommandPalette.vue +0 -345
  216. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +0 -390
  217. package/dist/runtime/components/navigation/CommandPaletteGroup.vue +0 -152
  218. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +0 -60
  219. package/dist/runtime/components/navigation/HorizontalNavigation.vue +0 -102
  220. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +0 -99
  221. package/dist/runtime/components/navigation/Pagination.vue +0 -270
  222. package/dist/runtime/components/navigation/Pagination.vue.d.ts +0 -260
  223. package/dist/runtime/components/navigation/Tabs.vue +0 -163
  224. package/dist/runtime/components/navigation/Tabs.vue.d.ts +0 -165
  225. package/dist/runtime/components/navigation/VerticalNavigation.vue +0 -105
  226. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +0 -113
  227. package/dist/runtime/components/overlays/ContextMenu.vue +0 -85
  228. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +0 -126
  229. package/dist/runtime/components/overlays/Modal.vue +0 -122
  230. package/dist/runtime/components/overlays/Modal.vue.d.ts +0 -166
  231. package/dist/runtime/components/overlays/Modals.client.vue +0 -18
  232. package/dist/runtime/components/overlays/Notification.vue +0 -212
  233. package/dist/runtime/components/overlays/Notification.vue.d.ts +0 -235
  234. package/dist/runtime/components/overlays/Notifications.vue +0 -69
  235. package/dist/runtime/components/overlays/Notifications.vue.d.ts +0 -66
  236. package/dist/runtime/components/overlays/Popover.vue +0 -213
  237. package/dist/runtime/components/overlays/Popover.vue.d.ts +0 -220
  238. package/dist/runtime/components/overlays/Slideover.vue +0 -152
  239. package/dist/runtime/components/overlays/Slideover.vue.d.ts +0 -167
  240. package/dist/runtime/components/overlays/Slideovers.client.vue +0 -18
  241. package/dist/runtime/components/overlays/Tooltip.vue +0 -127
  242. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +0 -165
  243. package/dist/runtime/composables/useCarouselScroll.d.ts +0 -2
  244. package/dist/runtime/composables/useCarouselScroll.js +0 -37
  245. package/dist/runtime/composables/useCopyToClipboard.d.ts +0 -10
  246. package/dist/runtime/composables/useCopyToClipboard.js +0 -26
  247. package/dist/runtime/composables/useFormGroup.d.ts +0 -18
  248. package/dist/runtime/composables/useFormGroup.js +0 -45
  249. package/dist/runtime/composables/usePopper.d.ts +0 -268
  250. package/dist/runtime/composables/usePopper.js +0 -94
  251. package/dist/runtime/composables/useShortcuts.d.ts +0 -12
  252. package/dist/runtime/composables/useShortcuts.js +0 -26
  253. package/dist/runtime/composables/useTimer.d.ts +0 -8
  254. package/dist/runtime/composables/useTimer.js +0 -51
  255. package/dist/runtime/composables/useUI.d.ts +0 -10
  256. package/dist/runtime/composables/useUI.js +0 -24
  257. package/dist/runtime/plugins/modals.d.ts +0 -2
  258. package/dist/runtime/plugins/slideovers.d.ts +0 -2
  259. package/dist/runtime/types/accordion.d.ts +0 -9
  260. package/dist/runtime/types/alert.d.ts +0 -12
  261. package/dist/runtime/types/avatar.d.ts +0 -17
  262. package/dist/runtime/types/badge.d.ts +0 -15
  263. package/dist/runtime/types/breadcrumb.d.ts +0 -10
  264. package/dist/runtime/types/button.d.ts +0 -31
  265. package/dist/runtime/types/chip.d.ts +0 -15
  266. package/dist/runtime/types/clipboard.d.ts +0 -3
  267. package/dist/runtime/types/command-palette.d.ts +0 -29
  268. package/dist/runtime/types/divider.d.ts +0 -3
  269. package/dist/runtime/types/dropdown.d.ts +0 -15
  270. package/dist/runtime/types/form-group.d.ts +0 -5
  271. package/dist/runtime/types/horizontal-navigation.d.ts +0 -13
  272. package/dist/runtime/types/input.d.ts +0 -8
  273. package/dist/runtime/types/kbd.d.ts +0 -5
  274. package/dist/runtime/types/link.d.ts +0 -12
  275. package/dist/runtime/types/meter.d.ts +0 -5
  276. package/dist/runtime/types/modal.d.ts +0 -18
  277. package/dist/runtime/types/notification.d.ts +0 -24
  278. package/dist/runtime/types/popper.d.ts +0 -17
  279. package/dist/runtime/types/progress.d.ts +0 -6
  280. package/dist/runtime/types/range.d.ts +0 -7
  281. package/dist/runtime/types/select.d.ts +0 -8
  282. package/dist/runtime/types/slideover.d.ts +0 -16
  283. package/dist/runtime/types/tabs.d.ts +0 -8
  284. package/dist/runtime/types/textarea.d.ts +0 -8
  285. package/dist/runtime/types/toggle.d.ts +0 -7
  286. package/dist/runtime/types/tooltip.d.ts +0 -7
  287. package/dist/runtime/types/vertical-navigation.d.ts +0 -13
  288. package/dist/runtime/ui.config/data/table.d.ts +0 -81
  289. package/dist/runtime/ui.config/data/table.js +0 -80
  290. package/dist/runtime/ui.config/elements/accordion.d.ts +0 -23
  291. package/dist/runtime/ui.config/elements/accordion.js +0 -22
  292. package/dist/runtime/ui.config/elements/alert.d.ts +0 -41
  293. package/dist/runtime/ui.config/elements/alert.js +0 -40
  294. package/dist/runtime/ui.config/elements/avatar.d.ts +0 -60
  295. package/dist/runtime/ui.config/elements/avatar.js +0 -59
  296. package/dist/runtime/ui.config/elements/avatarGroup.d.ts +0 -6
  297. package/dist/runtime/ui.config/elements/avatarGroup.js +0 -5
  298. package/dist/runtime/ui.config/elements/badge.d.ts +0 -34
  299. package/dist/runtime/ui.config/elements/badge.js +0 -33
  300. package/dist/runtime/ui.config/elements/button.d.ts +0 -81
  301. package/dist/runtime/ui.config/elements/button.js +0 -80
  302. package/dist/runtime/ui.config/elements/buttonGroup.d.ts +0 -101
  303. package/dist/runtime/ui.config/elements/buttonGroup.js +0 -19
  304. package/dist/runtime/ui.config/elements/carousel.d.ts +0 -27
  305. package/dist/runtime/ui.config/elements/carousel.js +0 -26
  306. package/dist/runtime/ui.config/elements/chip.d.ts +0 -35
  307. package/dist/runtime/ui.config/elements/chip.js +0 -34
  308. package/dist/runtime/ui.config/elements/dropdown.d.ts +0 -59
  309. package/dist/runtime/ui.config/elements/dropdown.js +0 -57
  310. package/dist/runtime/ui.config/elements/kbd.d.ts +0 -17
  311. package/dist/runtime/ui.config/elements/kbd.js +0 -16
  312. package/dist/runtime/ui.config/elements/meter.d.ts +0 -77
  313. package/dist/runtime/ui.config/elements/meter.js +0 -76
  314. package/dist/runtime/ui.config/elements/meterGroup.d.ts +0 -52
  315. package/dist/runtime/ui.config/elements/meterGroup.js +0 -24
  316. package/dist/runtime/ui.config/elements/progress.d.ts +0 -75
  317. package/dist/runtime/ui.config/elements/progress.js +0 -74
  318. package/dist/runtime/ui.config/forms/checkbox.d.ts +0 -19
  319. package/dist/runtime/ui.config/forms/checkbox.js +0 -18
  320. package/dist/runtime/ui.config/forms/formGroup.d.ts +0 -26
  321. package/dist/runtime/ui.config/forms/formGroup.js +0 -26
  322. package/dist/runtime/ui.config/forms/input.d.ts +0 -110
  323. package/dist/runtime/ui.config/forms/input.js +0 -109
  324. package/dist/runtime/ui.config/forms/inputMenu.d.ts +0 -64
  325. package/dist/runtime/ui.config/forms/inputMenu.js +0 -62
  326. package/dist/runtime/ui.config/forms/radio.d.ts +0 -18
  327. package/dist/runtime/ui.config/forms/radio.js +0 -17
  328. package/dist/runtime/ui.config/forms/radioGroup.d.ts +0 -9
  329. package/dist/runtime/ui.config/forms/radioGroup.js +0 -8
  330. package/dist/runtime/ui.config/forms/range.d.ts +0 -64
  331. package/dist/runtime/ui.config/forms/range.js +0 -63
  332. package/dist/runtime/ui.config/forms/select.d.ts +0 -111
  333. package/dist/runtime/ui.config/forms/select.js +0 -13
  334. package/dist/runtime/ui.config/forms/selectMenu.d.ts +0 -70
  335. package/dist/runtime/ui.config/forms/selectMenu.js +0 -32
  336. package/dist/runtime/ui.config/forms/textarea.d.ts +0 -109
  337. package/dist/runtime/ui.config/forms/textarea.js +0 -10
  338. package/dist/runtime/ui.config/forms/toggle.d.ts +0 -63
  339. package/dist/runtime/ui.config/forms/toggle.js +0 -62
  340. package/dist/runtime/ui.config/index.d.ts +0 -43
  341. package/dist/runtime/ui.config/index.js +0 -43
  342. package/dist/runtime/ui.config/layout/card.d.ts +0 -24
  343. package/dist/runtime/ui.config/layout/card.js +0 -23
  344. package/dist/runtime/ui.config/layout/container.d.ts +0 -6
  345. package/dist/runtime/ui.config/layout/container.js +0 -5
  346. package/dist/runtime/ui.config/layout/divider.d.ts +0 -52
  347. package/dist/runtime/ui.config/layout/divider.js +0 -51
  348. package/dist/runtime/ui.config/layout/skeleton.d.ts +0 -6
  349. package/dist/runtime/ui.config/layout/skeleton.js +0 -5
  350. package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +0 -21
  351. package/dist/runtime/ui.config/navigation/breadcrumb.js +0 -20
  352. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +0 -72
  353. package/dist/runtime/ui.config/navigation/commandPalette.js +0 -71
  354. package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +0 -27
  355. package/dist/runtime/ui.config/navigation/horizontalNavigation.js +0 -26
  356. package/dist/runtime/ui.config/navigation/pagination.d.ts +0 -35
  357. package/dist/runtime/ui.config/navigation/pagination.js +0 -34
  358. package/dist/runtime/ui.config/navigation/tabs.d.ts +0 -35
  359. package/dist/runtime/ui.config/navigation/tabs.js +0 -34
  360. package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +0 -34
  361. package/dist/runtime/ui.config/navigation/verticalNavigation.js +0 -33
  362. package/dist/runtime/ui.config/overlays/contextMenu.d.ts +0 -31
  363. package/dist/runtime/ui.config/overlays/contextMenu.js +0 -25
  364. package/dist/runtime/ui.config/overlays/modal.d.ts +0 -36
  365. package/dist/runtime/ui.config/overlays/modal.js +0 -37
  366. package/dist/runtime/ui.config/overlays/notification.d.ts +0 -50
  367. package/dist/runtime/ui.config/overlays/notification.js +0 -50
  368. package/dist/runtime/ui.config/overlays/notifications.d.ts +0 -7
  369. package/dist/runtime/ui.config/overlays/notifications.js +0 -6
  370. package/dist/runtime/ui.config/overlays/popover.d.ts +0 -47
  371. package/dist/runtime/ui.config/overlays/popover.js +0 -41
  372. package/dist/runtime/ui.config/overlays/slideover.d.ts +0 -35
  373. package/dist/runtime/ui.config/overlays/slideover.js +0 -36
  374. package/dist/runtime/ui.config/overlays/tooltip.d.ts +0 -37
  375. package/dist/runtime/ui.config/overlays/tooltip.js +0 -34
  376. package/dist/runtime/ui.config/popper.d.ts +0 -8
  377. package/dist/runtime/ui.config/popper.js +0 -9
  378. package/dist/runtime/ui.css +0 -1
  379. package/dist/runtime/utils/colors.d.ts +0 -11
  380. package/dist/runtime/utils/colors.js +0 -307
  381. package/dist/runtime/utils/lodash.d.ts +0 -2
  382. package/dist/runtime/utils/lodash.js +0 -23
  383. package/dist/runtime/plugins/{modals.js → modal.js} +1 -1
@@ -0,0 +1,1569 @@
1
+ import { type VariantProps } from 'tailwind-variants';
2
+ import type { SelectRootProps, SelectRootEmits, SelectContentProps, SelectArrowProps, SelectItemProps } from 'radix-vue';
3
+ import type { UseComponentIconsProps } from '../composables/useComponentIcons.js';
4
+ import type { AvatarProps, ChipProps } from '../types.js';
5
+ import type { AcceptableValue, PartialString } from '../types/utils.js';
6
+ declare const select: import("tailwind-variants").TVReturnType<{
7
+ buttonGroup: {
8
+ horizontal: string;
9
+ vertical: string;
10
+ };
11
+ size: {
12
+ xs: {
13
+ base: string;
14
+ leading: "pl-2";
15
+ trailing: "pr-2";
16
+ leadingIcon: string;
17
+ trailingIcon: string;
18
+ label: string;
19
+ item: string;
20
+ itemLeadingIcon: string;
21
+ itemLeadingAvatarSize: string;
22
+ itemLeadingChip: string;
23
+ itemLeadingChipSize: string;
24
+ itemTrailingIcon: string;
25
+ };
26
+ sm: {
27
+ base: string;
28
+ leading: "pl-2.5";
29
+ trailing: "pr-2.5";
30
+ leadingIcon: string;
31
+ trailingIcon: string;
32
+ label: string;
33
+ item: string;
34
+ itemLeadingIcon: string;
35
+ itemLeadingAvatarSize: string;
36
+ itemLeadingChip: string;
37
+ itemLeadingChipSize: string;
38
+ itemTrailingIcon: string;
39
+ };
40
+ md: {
41
+ base: string;
42
+ leading: "pl-2.5";
43
+ trailing: "pr-2.5";
44
+ leadingIcon: string;
45
+ trailingIcon: string;
46
+ label: string;
47
+ item: string;
48
+ itemLeadingIcon: string;
49
+ itemLeadingAvatarSize: string;
50
+ itemLeadingChip: string;
51
+ itemLeadingChipSize: string;
52
+ itemTrailingIcon: string;
53
+ };
54
+ lg: {
55
+ base: string;
56
+ leading: "pl-3";
57
+ trailing: "pr-3";
58
+ leadingIcon: string;
59
+ trailingIcon: string;
60
+ label: string;
61
+ item: string;
62
+ itemLeadingIcon: string;
63
+ itemLeadingAvatarSize: string;
64
+ itemLeadingChip: string;
65
+ itemLeadingChipSize: string;
66
+ itemTrailingIcon: string;
67
+ };
68
+ xl: {
69
+ base: string;
70
+ leading: "pl-3";
71
+ trailing: "pr-3";
72
+ leadingIcon: string;
73
+ trailingIcon: string;
74
+ label: string;
75
+ item: string;
76
+ itemLeadingIcon: string;
77
+ itemLeadingAvatarSize: string;
78
+ itemLeadingChip: string;
79
+ itemLeadingChipSize: string;
80
+ itemTrailingIcon: string;
81
+ };
82
+ };
83
+ variant: {
84
+ outline: string;
85
+ soft: string;
86
+ subtle: string;
87
+ ghost: string;
88
+ none: string;
89
+ };
90
+ color: {
91
+ primary: string;
92
+ error: string;
93
+ red: string;
94
+ orange: string;
95
+ amber: string;
96
+ yellow: string;
97
+ lime: string;
98
+ green: string;
99
+ emerald: string;
100
+ teal: string;
101
+ cyan: string;
102
+ sky: string;
103
+ blue: string;
104
+ indigo: string;
105
+ violet: string;
106
+ purple: string;
107
+ fuchsia: string;
108
+ pink: string;
109
+ rose: string;
110
+ gray: string;
111
+ };
112
+ leading: {
113
+ true: string;
114
+ };
115
+ trailing: {
116
+ true: string;
117
+ };
118
+ loading: {
119
+ true: string;
120
+ };
121
+ highlight: {
122
+ true: string;
123
+ };
124
+ type: {
125
+ file: string;
126
+ };
127
+ }, {
128
+ root: string;
129
+ base: string[];
130
+ leading: "absolute inset-y-0 start-0 flex items-center";
131
+ leadingIcon: string;
132
+ leadingAvatar: string;
133
+ trailing: "absolute inset-y-0 end-0 flex items-center";
134
+ trailingIcon: string;
135
+ value: string;
136
+ arrow: string;
137
+ content: string;
138
+ viewport: string;
139
+ group: string;
140
+ empty: string;
141
+ label: string;
142
+ separator: string;
143
+ item: string[];
144
+ itemLeadingIcon: string[];
145
+ itemLeadingAvatar: string;
146
+ itemLeadingAvatarSize: string;
147
+ itemLeadingChip: string;
148
+ itemLeadingChipSize: string;
149
+ itemTrailing: string;
150
+ itemTrailingIcon: string;
151
+ itemLabel: string;
152
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
153
+ buttonGroup: {
154
+ horizontal: string;
155
+ vertical: string;
156
+ };
157
+ size: {
158
+ xs: {
159
+ base: string;
160
+ leading: "pl-2";
161
+ trailing: "pr-2";
162
+ leadingIcon: string;
163
+ trailingIcon: string;
164
+ label: string;
165
+ item: string;
166
+ itemLeadingIcon: string;
167
+ itemLeadingAvatarSize: string;
168
+ itemLeadingChip: string;
169
+ itemLeadingChipSize: string;
170
+ itemTrailingIcon: string;
171
+ };
172
+ sm: {
173
+ base: string;
174
+ leading: "pl-2.5";
175
+ trailing: "pr-2.5";
176
+ leadingIcon: string;
177
+ trailingIcon: string;
178
+ label: string;
179
+ item: string;
180
+ itemLeadingIcon: string;
181
+ itemLeadingAvatarSize: string;
182
+ itemLeadingChip: string;
183
+ itemLeadingChipSize: string;
184
+ itemTrailingIcon: string;
185
+ };
186
+ md: {
187
+ base: string;
188
+ leading: "pl-2.5";
189
+ trailing: "pr-2.5";
190
+ leadingIcon: string;
191
+ trailingIcon: string;
192
+ label: string;
193
+ item: string;
194
+ itemLeadingIcon: string;
195
+ itemLeadingAvatarSize: string;
196
+ itemLeadingChip: string;
197
+ itemLeadingChipSize: string;
198
+ itemTrailingIcon: string;
199
+ };
200
+ lg: {
201
+ base: string;
202
+ leading: "pl-3";
203
+ trailing: "pr-3";
204
+ leadingIcon: string;
205
+ trailingIcon: string;
206
+ label: string;
207
+ item: string;
208
+ itemLeadingIcon: string;
209
+ itemLeadingAvatarSize: string;
210
+ itemLeadingChip: string;
211
+ itemLeadingChipSize: string;
212
+ itemTrailingIcon: string;
213
+ };
214
+ xl: {
215
+ base: string;
216
+ leading: "pl-3";
217
+ trailing: "pr-3";
218
+ leadingIcon: string;
219
+ trailingIcon: string;
220
+ label: string;
221
+ item: string;
222
+ itemLeadingIcon: string;
223
+ itemLeadingAvatarSize: string;
224
+ itemLeadingChip: string;
225
+ itemLeadingChipSize: string;
226
+ itemTrailingIcon: string;
227
+ };
228
+ };
229
+ variant: {
230
+ outline: string;
231
+ soft: string;
232
+ subtle: string;
233
+ ghost: string;
234
+ none: string;
235
+ };
236
+ color: {
237
+ primary: string;
238
+ error: string;
239
+ red: string;
240
+ orange: string;
241
+ amber: string;
242
+ yellow: string;
243
+ lime: string;
244
+ green: string;
245
+ emerald: string;
246
+ teal: string;
247
+ cyan: string;
248
+ sky: string;
249
+ blue: string;
250
+ indigo: string;
251
+ violet: string;
252
+ purple: string;
253
+ fuchsia: string;
254
+ pink: string;
255
+ rose: string;
256
+ gray: string;
257
+ };
258
+ leading: {
259
+ true: string;
260
+ };
261
+ trailing: {
262
+ true: string;
263
+ };
264
+ loading: {
265
+ true: string;
266
+ };
267
+ highlight: {
268
+ true: string;
269
+ };
270
+ type: {
271
+ file: string;
272
+ };
273
+ }, {
274
+ buttonGroup: {
275
+ horizontal: string;
276
+ vertical: string;
277
+ };
278
+ size: {
279
+ xs: {
280
+ base: string;
281
+ leading: "pl-2";
282
+ trailing: "pr-2";
283
+ leadingIcon: string;
284
+ trailingIcon: string;
285
+ label: string;
286
+ item: string;
287
+ itemLeadingIcon: string;
288
+ itemLeadingAvatarSize: string;
289
+ itemLeadingChip: string;
290
+ itemLeadingChipSize: string;
291
+ itemTrailingIcon: string;
292
+ };
293
+ sm: {
294
+ base: string;
295
+ leading: "pl-2.5";
296
+ trailing: "pr-2.5";
297
+ leadingIcon: string;
298
+ trailingIcon: string;
299
+ label: string;
300
+ item: string;
301
+ itemLeadingIcon: string;
302
+ itemLeadingAvatarSize: string;
303
+ itemLeadingChip: string;
304
+ itemLeadingChipSize: string;
305
+ itemTrailingIcon: string;
306
+ };
307
+ md: {
308
+ base: string;
309
+ leading: "pl-2.5";
310
+ trailing: "pr-2.5";
311
+ leadingIcon: string;
312
+ trailingIcon: string;
313
+ label: string;
314
+ item: string;
315
+ itemLeadingIcon: string;
316
+ itemLeadingAvatarSize: string;
317
+ itemLeadingChip: string;
318
+ itemLeadingChipSize: string;
319
+ itemTrailingIcon: string;
320
+ };
321
+ lg: {
322
+ base: string;
323
+ leading: "pl-3";
324
+ trailing: "pr-3";
325
+ leadingIcon: string;
326
+ trailingIcon: string;
327
+ label: string;
328
+ item: string;
329
+ itemLeadingIcon: string;
330
+ itemLeadingAvatarSize: string;
331
+ itemLeadingChip: string;
332
+ itemLeadingChipSize: string;
333
+ itemTrailingIcon: string;
334
+ };
335
+ xl: {
336
+ base: string;
337
+ leading: "pl-3";
338
+ trailing: "pr-3";
339
+ leadingIcon: string;
340
+ trailingIcon: string;
341
+ label: string;
342
+ item: string;
343
+ itemLeadingIcon: string;
344
+ itemLeadingAvatarSize: string;
345
+ itemLeadingChip: string;
346
+ itemLeadingChipSize: string;
347
+ itemTrailingIcon: string;
348
+ };
349
+ };
350
+ variant: {
351
+ outline: string;
352
+ soft: string;
353
+ subtle: string;
354
+ ghost: string;
355
+ none: string;
356
+ };
357
+ color: {
358
+ primary: string;
359
+ error: string;
360
+ red: string;
361
+ orange: string;
362
+ amber: string;
363
+ yellow: string;
364
+ lime: string;
365
+ green: string;
366
+ emerald: string;
367
+ teal: string;
368
+ cyan: string;
369
+ sky: string;
370
+ blue: string;
371
+ indigo: string;
372
+ violet: string;
373
+ purple: string;
374
+ fuchsia: string;
375
+ pink: string;
376
+ rose: string;
377
+ gray: string;
378
+ };
379
+ leading: {
380
+ true: string;
381
+ };
382
+ trailing: {
383
+ true: string;
384
+ };
385
+ loading: {
386
+ true: string;
387
+ };
388
+ highlight: {
389
+ true: string;
390
+ };
391
+ type: {
392
+ file: string;
393
+ };
394
+ }>, {
395
+ buttonGroup: {
396
+ horizontal: string;
397
+ vertical: string;
398
+ };
399
+ size: {
400
+ xs: {
401
+ base: string;
402
+ leading: "pl-2";
403
+ trailing: "pr-2";
404
+ leadingIcon: string;
405
+ trailingIcon: string;
406
+ label: string;
407
+ item: string;
408
+ itemLeadingIcon: string;
409
+ itemLeadingAvatarSize: string;
410
+ itemLeadingChip: string;
411
+ itemLeadingChipSize: string;
412
+ itemTrailingIcon: string;
413
+ };
414
+ sm: {
415
+ base: string;
416
+ leading: "pl-2.5";
417
+ trailing: "pr-2.5";
418
+ leadingIcon: string;
419
+ trailingIcon: string;
420
+ label: string;
421
+ item: string;
422
+ itemLeadingIcon: string;
423
+ itemLeadingAvatarSize: string;
424
+ itemLeadingChip: string;
425
+ itemLeadingChipSize: string;
426
+ itemTrailingIcon: string;
427
+ };
428
+ md: {
429
+ base: string;
430
+ leading: "pl-2.5";
431
+ trailing: "pr-2.5";
432
+ leadingIcon: string;
433
+ trailingIcon: string;
434
+ label: string;
435
+ item: string;
436
+ itemLeadingIcon: string;
437
+ itemLeadingAvatarSize: string;
438
+ itemLeadingChip: string;
439
+ itemLeadingChipSize: string;
440
+ itemTrailingIcon: string;
441
+ };
442
+ lg: {
443
+ base: string;
444
+ leading: "pl-3";
445
+ trailing: "pr-3";
446
+ leadingIcon: string;
447
+ trailingIcon: string;
448
+ label: string;
449
+ item: string;
450
+ itemLeadingIcon: string;
451
+ itemLeadingAvatarSize: string;
452
+ itemLeadingChip: string;
453
+ itemLeadingChipSize: string;
454
+ itemTrailingIcon: string;
455
+ };
456
+ xl: {
457
+ base: string;
458
+ leading: "pl-3";
459
+ trailing: "pr-3";
460
+ leadingIcon: string;
461
+ trailingIcon: string;
462
+ label: string;
463
+ item: string;
464
+ itemLeadingIcon: string;
465
+ itemLeadingAvatarSize: string;
466
+ itemLeadingChip: string;
467
+ itemLeadingChipSize: string;
468
+ itemTrailingIcon: string;
469
+ };
470
+ };
471
+ variant: {
472
+ outline: string;
473
+ soft: string;
474
+ subtle: string;
475
+ ghost: string;
476
+ none: string;
477
+ };
478
+ color: {
479
+ primary: string;
480
+ error: string;
481
+ red: string;
482
+ orange: string;
483
+ amber: string;
484
+ yellow: string;
485
+ lime: string;
486
+ green: string;
487
+ emerald: string;
488
+ teal: string;
489
+ cyan: string;
490
+ sky: string;
491
+ blue: string;
492
+ indigo: string;
493
+ violet: string;
494
+ purple: string;
495
+ fuchsia: string;
496
+ pink: string;
497
+ rose: string;
498
+ gray: string;
499
+ };
500
+ leading: {
501
+ true: string;
502
+ };
503
+ trailing: {
504
+ true: string;
505
+ };
506
+ loading: {
507
+ true: string;
508
+ };
509
+ highlight: {
510
+ true: string;
511
+ };
512
+ type: {
513
+ file: string;
514
+ };
515
+ }, {
516
+ root: string;
517
+ base: string[];
518
+ leading: "absolute inset-y-0 start-0 flex items-center";
519
+ leadingIcon: string;
520
+ leadingAvatar: string;
521
+ trailing: "absolute inset-y-0 end-0 flex items-center";
522
+ trailingIcon: string;
523
+ value: string;
524
+ arrow: string;
525
+ content: string;
526
+ viewport: string;
527
+ group: string;
528
+ empty: string;
529
+ label: string;
530
+ separator: string;
531
+ item: string[];
532
+ itemLeadingIcon: string[];
533
+ itemLeadingAvatar: string;
534
+ itemLeadingAvatarSize: string;
535
+ itemLeadingChip: string;
536
+ itemLeadingChipSize: string;
537
+ itemTrailing: string;
538
+ itemTrailingIcon: string;
539
+ itemLabel: string;
540
+ }, import("tailwind-variants").TVReturnType<{
541
+ buttonGroup: {
542
+ horizontal: string;
543
+ vertical: string;
544
+ };
545
+ size: {
546
+ xs: {
547
+ base: string;
548
+ leading: "pl-2";
549
+ trailing: "pr-2";
550
+ leadingIcon: string;
551
+ trailingIcon: string;
552
+ label: string;
553
+ item: string;
554
+ itemLeadingIcon: string;
555
+ itemLeadingAvatarSize: string;
556
+ itemLeadingChip: string;
557
+ itemLeadingChipSize: string;
558
+ itemTrailingIcon: string;
559
+ };
560
+ sm: {
561
+ base: string;
562
+ leading: "pl-2.5";
563
+ trailing: "pr-2.5";
564
+ leadingIcon: string;
565
+ trailingIcon: string;
566
+ label: string;
567
+ item: string;
568
+ itemLeadingIcon: string;
569
+ itemLeadingAvatarSize: string;
570
+ itemLeadingChip: string;
571
+ itemLeadingChipSize: string;
572
+ itemTrailingIcon: string;
573
+ };
574
+ md: {
575
+ base: string;
576
+ leading: "pl-2.5";
577
+ trailing: "pr-2.5";
578
+ leadingIcon: string;
579
+ trailingIcon: string;
580
+ label: string;
581
+ item: string;
582
+ itemLeadingIcon: string;
583
+ itemLeadingAvatarSize: string;
584
+ itemLeadingChip: string;
585
+ itemLeadingChipSize: string;
586
+ itemTrailingIcon: string;
587
+ };
588
+ lg: {
589
+ base: string;
590
+ leading: "pl-3";
591
+ trailing: "pr-3";
592
+ leadingIcon: string;
593
+ trailingIcon: string;
594
+ label: string;
595
+ item: string;
596
+ itemLeadingIcon: string;
597
+ itemLeadingAvatarSize: string;
598
+ itemLeadingChip: string;
599
+ itemLeadingChipSize: string;
600
+ itemTrailingIcon: string;
601
+ };
602
+ xl: {
603
+ base: string;
604
+ leading: "pl-3";
605
+ trailing: "pr-3";
606
+ leadingIcon: string;
607
+ trailingIcon: string;
608
+ label: string;
609
+ item: string;
610
+ itemLeadingIcon: string;
611
+ itemLeadingAvatarSize: string;
612
+ itemLeadingChip: string;
613
+ itemLeadingChipSize: string;
614
+ itemTrailingIcon: string;
615
+ };
616
+ };
617
+ variant: {
618
+ outline: string;
619
+ soft: string;
620
+ subtle: string;
621
+ ghost: string;
622
+ none: string;
623
+ };
624
+ color: {
625
+ primary: string;
626
+ error: string;
627
+ red: string;
628
+ orange: string;
629
+ amber: string;
630
+ yellow: string;
631
+ lime: string;
632
+ green: string;
633
+ emerald: string;
634
+ teal: string;
635
+ cyan: string;
636
+ sky: string;
637
+ blue: string;
638
+ indigo: string;
639
+ violet: string;
640
+ purple: string;
641
+ fuchsia: string;
642
+ pink: string;
643
+ rose: string;
644
+ gray: string;
645
+ };
646
+ leading: {
647
+ true: string;
648
+ };
649
+ trailing: {
650
+ true: string;
651
+ };
652
+ loading: {
653
+ true: string;
654
+ };
655
+ highlight: {
656
+ true: string;
657
+ };
658
+ type: {
659
+ file: string;
660
+ };
661
+ }, {
662
+ root: string;
663
+ base: string[];
664
+ leading: "absolute inset-y-0 start-0 flex items-center";
665
+ leadingIcon: string;
666
+ leadingAvatar: string;
667
+ trailing: "absolute inset-y-0 end-0 flex items-center";
668
+ trailingIcon: string;
669
+ value: string;
670
+ arrow: string;
671
+ content: string;
672
+ viewport: string;
673
+ group: string;
674
+ empty: string;
675
+ label: string;
676
+ separator: string;
677
+ item: string[];
678
+ itemLeadingIcon: string[];
679
+ itemLeadingAvatar: string;
680
+ itemLeadingAvatarSize: string;
681
+ itemLeadingChip: string;
682
+ itemLeadingChipSize: string;
683
+ itemTrailing: string;
684
+ itemTrailingIcon: string;
685
+ itemLabel: string;
686
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
687
+ buttonGroup: {
688
+ horizontal: string;
689
+ vertical: string;
690
+ };
691
+ size: {
692
+ xs: {
693
+ base: string;
694
+ leading: "pl-2";
695
+ trailing: "pr-2";
696
+ leadingIcon: string;
697
+ trailingIcon: string;
698
+ label: string;
699
+ item: string;
700
+ itemLeadingIcon: string;
701
+ itemLeadingAvatarSize: string;
702
+ itemLeadingChip: string;
703
+ itemLeadingChipSize: string;
704
+ itemTrailingIcon: string;
705
+ };
706
+ sm: {
707
+ base: string;
708
+ leading: "pl-2.5";
709
+ trailing: "pr-2.5";
710
+ leadingIcon: string;
711
+ trailingIcon: string;
712
+ label: string;
713
+ item: string;
714
+ itemLeadingIcon: string;
715
+ itemLeadingAvatarSize: string;
716
+ itemLeadingChip: string;
717
+ itemLeadingChipSize: string;
718
+ itemTrailingIcon: string;
719
+ };
720
+ md: {
721
+ base: string;
722
+ leading: "pl-2.5";
723
+ trailing: "pr-2.5";
724
+ leadingIcon: string;
725
+ trailingIcon: string;
726
+ label: string;
727
+ item: string;
728
+ itemLeadingIcon: string;
729
+ itemLeadingAvatarSize: string;
730
+ itemLeadingChip: string;
731
+ itemLeadingChipSize: string;
732
+ itemTrailingIcon: string;
733
+ };
734
+ lg: {
735
+ base: string;
736
+ leading: "pl-3";
737
+ trailing: "pr-3";
738
+ leadingIcon: string;
739
+ trailingIcon: string;
740
+ label: string;
741
+ item: string;
742
+ itemLeadingIcon: string;
743
+ itemLeadingAvatarSize: string;
744
+ itemLeadingChip: string;
745
+ itemLeadingChipSize: string;
746
+ itemTrailingIcon: string;
747
+ };
748
+ xl: {
749
+ base: string;
750
+ leading: "pl-3";
751
+ trailing: "pr-3";
752
+ leadingIcon: string;
753
+ trailingIcon: string;
754
+ label: string;
755
+ item: string;
756
+ itemLeadingIcon: string;
757
+ itemLeadingAvatarSize: string;
758
+ itemLeadingChip: string;
759
+ itemLeadingChipSize: string;
760
+ itemTrailingIcon: string;
761
+ };
762
+ };
763
+ variant: {
764
+ outline: string;
765
+ soft: string;
766
+ subtle: string;
767
+ ghost: string;
768
+ none: string;
769
+ };
770
+ color: {
771
+ primary: string;
772
+ error: string;
773
+ red: string;
774
+ orange: string;
775
+ amber: string;
776
+ yellow: string;
777
+ lime: string;
778
+ green: string;
779
+ emerald: string;
780
+ teal: string;
781
+ cyan: string;
782
+ sky: string;
783
+ blue: string;
784
+ indigo: string;
785
+ violet: string;
786
+ purple: string;
787
+ fuchsia: string;
788
+ pink: string;
789
+ rose: string;
790
+ gray: string;
791
+ };
792
+ leading: {
793
+ true: string;
794
+ };
795
+ trailing: {
796
+ true: string;
797
+ };
798
+ loading: {
799
+ true: string;
800
+ };
801
+ highlight: {
802
+ true: string;
803
+ };
804
+ type: {
805
+ file: string;
806
+ };
807
+ }, {
808
+ buttonGroup: {
809
+ horizontal: string;
810
+ vertical: string;
811
+ };
812
+ size: {
813
+ xs: {
814
+ base: string;
815
+ leading: "pl-2";
816
+ trailing: "pr-2";
817
+ leadingIcon: string;
818
+ trailingIcon: string;
819
+ label: string;
820
+ item: string;
821
+ itemLeadingIcon: string;
822
+ itemLeadingAvatarSize: string;
823
+ itemLeadingChip: string;
824
+ itemLeadingChipSize: string;
825
+ itemTrailingIcon: string;
826
+ };
827
+ sm: {
828
+ base: string;
829
+ leading: "pl-2.5";
830
+ trailing: "pr-2.5";
831
+ leadingIcon: string;
832
+ trailingIcon: string;
833
+ label: string;
834
+ item: string;
835
+ itemLeadingIcon: string;
836
+ itemLeadingAvatarSize: string;
837
+ itemLeadingChip: string;
838
+ itemLeadingChipSize: string;
839
+ itemTrailingIcon: string;
840
+ };
841
+ md: {
842
+ base: string;
843
+ leading: "pl-2.5";
844
+ trailing: "pr-2.5";
845
+ leadingIcon: string;
846
+ trailingIcon: string;
847
+ label: string;
848
+ item: string;
849
+ itemLeadingIcon: string;
850
+ itemLeadingAvatarSize: string;
851
+ itemLeadingChip: string;
852
+ itemLeadingChipSize: string;
853
+ itemTrailingIcon: string;
854
+ };
855
+ lg: {
856
+ base: string;
857
+ leading: "pl-3";
858
+ trailing: "pr-3";
859
+ leadingIcon: string;
860
+ trailingIcon: string;
861
+ label: string;
862
+ item: string;
863
+ itemLeadingIcon: string;
864
+ itemLeadingAvatarSize: string;
865
+ itemLeadingChip: string;
866
+ itemLeadingChipSize: string;
867
+ itemTrailingIcon: string;
868
+ };
869
+ xl: {
870
+ base: string;
871
+ leading: "pl-3";
872
+ trailing: "pr-3";
873
+ leadingIcon: string;
874
+ trailingIcon: string;
875
+ label: string;
876
+ item: string;
877
+ itemLeadingIcon: string;
878
+ itemLeadingAvatarSize: string;
879
+ itemLeadingChip: string;
880
+ itemLeadingChipSize: string;
881
+ itemTrailingIcon: string;
882
+ };
883
+ };
884
+ variant: {
885
+ outline: string;
886
+ soft: string;
887
+ subtle: string;
888
+ ghost: string;
889
+ none: string;
890
+ };
891
+ color: {
892
+ primary: string;
893
+ error: string;
894
+ red: string;
895
+ orange: string;
896
+ amber: string;
897
+ yellow: string;
898
+ lime: string;
899
+ green: string;
900
+ emerald: string;
901
+ teal: string;
902
+ cyan: string;
903
+ sky: string;
904
+ blue: string;
905
+ indigo: string;
906
+ violet: string;
907
+ purple: string;
908
+ fuchsia: string;
909
+ pink: string;
910
+ rose: string;
911
+ gray: string;
912
+ };
913
+ leading: {
914
+ true: string;
915
+ };
916
+ trailing: {
917
+ true: string;
918
+ };
919
+ loading: {
920
+ true: string;
921
+ };
922
+ highlight: {
923
+ true: string;
924
+ };
925
+ type: {
926
+ file: string;
927
+ };
928
+ }>, {
929
+ buttonGroup: {
930
+ horizontal: string;
931
+ vertical: string;
932
+ };
933
+ size: {
934
+ xs: {
935
+ base: string;
936
+ leading: "pl-2";
937
+ trailing: "pr-2";
938
+ leadingIcon: string;
939
+ trailingIcon: string;
940
+ label: string;
941
+ item: string;
942
+ itemLeadingIcon: string;
943
+ itemLeadingAvatarSize: string;
944
+ itemLeadingChip: string;
945
+ itemLeadingChipSize: string;
946
+ itemTrailingIcon: string;
947
+ };
948
+ sm: {
949
+ base: string;
950
+ leading: "pl-2.5";
951
+ trailing: "pr-2.5";
952
+ leadingIcon: string;
953
+ trailingIcon: string;
954
+ label: string;
955
+ item: string;
956
+ itemLeadingIcon: string;
957
+ itemLeadingAvatarSize: string;
958
+ itemLeadingChip: string;
959
+ itemLeadingChipSize: string;
960
+ itemTrailingIcon: string;
961
+ };
962
+ md: {
963
+ base: string;
964
+ leading: "pl-2.5";
965
+ trailing: "pr-2.5";
966
+ leadingIcon: string;
967
+ trailingIcon: string;
968
+ label: string;
969
+ item: string;
970
+ itemLeadingIcon: string;
971
+ itemLeadingAvatarSize: string;
972
+ itemLeadingChip: string;
973
+ itemLeadingChipSize: string;
974
+ itemTrailingIcon: string;
975
+ };
976
+ lg: {
977
+ base: string;
978
+ leading: "pl-3";
979
+ trailing: "pr-3";
980
+ leadingIcon: string;
981
+ trailingIcon: string;
982
+ label: string;
983
+ item: string;
984
+ itemLeadingIcon: string;
985
+ itemLeadingAvatarSize: string;
986
+ itemLeadingChip: string;
987
+ itemLeadingChipSize: string;
988
+ itemTrailingIcon: string;
989
+ };
990
+ xl: {
991
+ base: string;
992
+ leading: "pl-3";
993
+ trailing: "pr-3";
994
+ leadingIcon: string;
995
+ trailingIcon: string;
996
+ label: string;
997
+ item: string;
998
+ itemLeadingIcon: string;
999
+ itemLeadingAvatarSize: string;
1000
+ itemLeadingChip: string;
1001
+ itemLeadingChipSize: string;
1002
+ itemTrailingIcon: string;
1003
+ };
1004
+ };
1005
+ variant: {
1006
+ outline: string;
1007
+ soft: string;
1008
+ subtle: string;
1009
+ ghost: string;
1010
+ none: string;
1011
+ };
1012
+ color: {
1013
+ primary: string;
1014
+ error: string;
1015
+ red: string;
1016
+ orange: string;
1017
+ amber: string;
1018
+ yellow: string;
1019
+ lime: string;
1020
+ green: string;
1021
+ emerald: string;
1022
+ teal: string;
1023
+ cyan: string;
1024
+ sky: string;
1025
+ blue: string;
1026
+ indigo: string;
1027
+ violet: string;
1028
+ purple: string;
1029
+ fuchsia: string;
1030
+ pink: string;
1031
+ rose: string;
1032
+ gray: string;
1033
+ };
1034
+ leading: {
1035
+ true: string;
1036
+ };
1037
+ trailing: {
1038
+ true: string;
1039
+ };
1040
+ loading: {
1041
+ true: string;
1042
+ };
1043
+ highlight: {
1044
+ true: string;
1045
+ };
1046
+ type: {
1047
+ file: string;
1048
+ };
1049
+ }, {
1050
+ root: string;
1051
+ base: string[];
1052
+ leading: "absolute inset-y-0 start-0 flex items-center";
1053
+ leadingIcon: string;
1054
+ leadingAvatar: string;
1055
+ trailing: "absolute inset-y-0 end-0 flex items-center";
1056
+ trailingIcon: string;
1057
+ value: string;
1058
+ arrow: string;
1059
+ content: string;
1060
+ viewport: string;
1061
+ group: string;
1062
+ empty: string;
1063
+ label: string;
1064
+ separator: string;
1065
+ item: string[];
1066
+ itemLeadingIcon: string[];
1067
+ itemLeadingAvatar: string;
1068
+ itemLeadingAvatarSize: string;
1069
+ itemLeadingChip: string;
1070
+ itemLeadingChipSize: string;
1071
+ itemTrailing: string;
1072
+ itemTrailingIcon: string;
1073
+ itemLabel: string;
1074
+ }, import("tailwind-variants").TVReturnType<{
1075
+ buttonGroup: {
1076
+ horizontal: string;
1077
+ vertical: string;
1078
+ };
1079
+ size: {
1080
+ xs: {
1081
+ base: string;
1082
+ leading: "pl-2";
1083
+ trailing: "pr-2";
1084
+ leadingIcon: string;
1085
+ trailingIcon: string;
1086
+ label: string;
1087
+ item: string;
1088
+ itemLeadingIcon: string;
1089
+ itemLeadingAvatarSize: string;
1090
+ itemLeadingChip: string;
1091
+ itemLeadingChipSize: string;
1092
+ itemTrailingIcon: string;
1093
+ };
1094
+ sm: {
1095
+ base: string;
1096
+ leading: "pl-2.5";
1097
+ trailing: "pr-2.5";
1098
+ leadingIcon: string;
1099
+ trailingIcon: string;
1100
+ label: string;
1101
+ item: string;
1102
+ itemLeadingIcon: string;
1103
+ itemLeadingAvatarSize: string;
1104
+ itemLeadingChip: string;
1105
+ itemLeadingChipSize: string;
1106
+ itemTrailingIcon: string;
1107
+ };
1108
+ md: {
1109
+ base: string;
1110
+ leading: "pl-2.5";
1111
+ trailing: "pr-2.5";
1112
+ leadingIcon: string;
1113
+ trailingIcon: string;
1114
+ label: string;
1115
+ item: string;
1116
+ itemLeadingIcon: string;
1117
+ itemLeadingAvatarSize: string;
1118
+ itemLeadingChip: string;
1119
+ itemLeadingChipSize: string;
1120
+ itemTrailingIcon: string;
1121
+ };
1122
+ lg: {
1123
+ base: string;
1124
+ leading: "pl-3";
1125
+ trailing: "pr-3";
1126
+ leadingIcon: string;
1127
+ trailingIcon: string;
1128
+ label: string;
1129
+ item: string;
1130
+ itemLeadingIcon: string;
1131
+ itemLeadingAvatarSize: string;
1132
+ itemLeadingChip: string;
1133
+ itemLeadingChipSize: string;
1134
+ itemTrailingIcon: string;
1135
+ };
1136
+ xl: {
1137
+ base: string;
1138
+ leading: "pl-3";
1139
+ trailing: "pr-3";
1140
+ leadingIcon: string;
1141
+ trailingIcon: string;
1142
+ label: string;
1143
+ item: string;
1144
+ itemLeadingIcon: string;
1145
+ itemLeadingAvatarSize: string;
1146
+ itemLeadingChip: string;
1147
+ itemLeadingChipSize: string;
1148
+ itemTrailingIcon: string;
1149
+ };
1150
+ };
1151
+ variant: {
1152
+ outline: string;
1153
+ soft: string;
1154
+ subtle: string;
1155
+ ghost: string;
1156
+ none: string;
1157
+ };
1158
+ color: {
1159
+ primary: string;
1160
+ error: string;
1161
+ red: string;
1162
+ orange: string;
1163
+ amber: string;
1164
+ yellow: string;
1165
+ lime: string;
1166
+ green: string;
1167
+ emerald: string;
1168
+ teal: string;
1169
+ cyan: string;
1170
+ sky: string;
1171
+ blue: string;
1172
+ indigo: string;
1173
+ violet: string;
1174
+ purple: string;
1175
+ fuchsia: string;
1176
+ pink: string;
1177
+ rose: string;
1178
+ gray: string;
1179
+ };
1180
+ leading: {
1181
+ true: string;
1182
+ };
1183
+ trailing: {
1184
+ true: string;
1185
+ };
1186
+ loading: {
1187
+ true: string;
1188
+ };
1189
+ highlight: {
1190
+ true: string;
1191
+ };
1192
+ type: {
1193
+ file: string;
1194
+ };
1195
+ }, {
1196
+ root: string;
1197
+ base: string[];
1198
+ leading: "absolute inset-y-0 start-0 flex items-center";
1199
+ leadingIcon: string;
1200
+ leadingAvatar: string;
1201
+ trailing: "absolute inset-y-0 end-0 flex items-center";
1202
+ trailingIcon: string;
1203
+ value: string;
1204
+ arrow: string;
1205
+ content: string;
1206
+ viewport: string;
1207
+ group: string;
1208
+ empty: string;
1209
+ label: string;
1210
+ separator: string;
1211
+ item: string[];
1212
+ itemLeadingIcon: string[];
1213
+ itemLeadingAvatar: string;
1214
+ itemLeadingAvatarSize: string;
1215
+ itemLeadingChip: string;
1216
+ itemLeadingChipSize: string;
1217
+ itemTrailing: string;
1218
+ itemTrailingIcon: string;
1219
+ itemLabel: string;
1220
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
1221
+ buttonGroup: {
1222
+ horizontal: string;
1223
+ vertical: string;
1224
+ };
1225
+ size: {
1226
+ xs: {
1227
+ base: string;
1228
+ leading: "pl-2";
1229
+ trailing: "pr-2";
1230
+ leadingIcon: string;
1231
+ trailingIcon: string;
1232
+ label: string;
1233
+ item: string;
1234
+ itemLeadingIcon: string;
1235
+ itemLeadingAvatarSize: string;
1236
+ itemLeadingChip: string;
1237
+ itemLeadingChipSize: string;
1238
+ itemTrailingIcon: string;
1239
+ };
1240
+ sm: {
1241
+ base: string;
1242
+ leading: "pl-2.5";
1243
+ trailing: "pr-2.5";
1244
+ leadingIcon: string;
1245
+ trailingIcon: string;
1246
+ label: string;
1247
+ item: string;
1248
+ itemLeadingIcon: string;
1249
+ itemLeadingAvatarSize: string;
1250
+ itemLeadingChip: string;
1251
+ itemLeadingChipSize: string;
1252
+ itemTrailingIcon: string;
1253
+ };
1254
+ md: {
1255
+ base: string;
1256
+ leading: "pl-2.5";
1257
+ trailing: "pr-2.5";
1258
+ leadingIcon: string;
1259
+ trailingIcon: string;
1260
+ label: string;
1261
+ item: string;
1262
+ itemLeadingIcon: string;
1263
+ itemLeadingAvatarSize: string;
1264
+ itemLeadingChip: string;
1265
+ itemLeadingChipSize: string;
1266
+ itemTrailingIcon: string;
1267
+ };
1268
+ lg: {
1269
+ base: string;
1270
+ leading: "pl-3";
1271
+ trailing: "pr-3";
1272
+ leadingIcon: string;
1273
+ trailingIcon: string;
1274
+ label: string;
1275
+ item: string;
1276
+ itemLeadingIcon: string;
1277
+ itemLeadingAvatarSize: string;
1278
+ itemLeadingChip: string;
1279
+ itemLeadingChipSize: string;
1280
+ itemTrailingIcon: string;
1281
+ };
1282
+ xl: {
1283
+ base: string;
1284
+ leading: "pl-3";
1285
+ trailing: "pr-3";
1286
+ leadingIcon: string;
1287
+ trailingIcon: string;
1288
+ label: string;
1289
+ item: string;
1290
+ itemLeadingIcon: string;
1291
+ itemLeadingAvatarSize: string;
1292
+ itemLeadingChip: string;
1293
+ itemLeadingChipSize: string;
1294
+ itemTrailingIcon: string;
1295
+ };
1296
+ };
1297
+ variant: {
1298
+ outline: string;
1299
+ soft: string;
1300
+ subtle: string;
1301
+ ghost: string;
1302
+ none: string;
1303
+ };
1304
+ color: {
1305
+ primary: string;
1306
+ error: string;
1307
+ red: string;
1308
+ orange: string;
1309
+ amber: string;
1310
+ yellow: string;
1311
+ lime: string;
1312
+ green: string;
1313
+ emerald: string;
1314
+ teal: string;
1315
+ cyan: string;
1316
+ sky: string;
1317
+ blue: string;
1318
+ indigo: string;
1319
+ violet: string;
1320
+ purple: string;
1321
+ fuchsia: string;
1322
+ pink: string;
1323
+ rose: string;
1324
+ gray: string;
1325
+ };
1326
+ leading: {
1327
+ true: string;
1328
+ };
1329
+ trailing: {
1330
+ true: string;
1331
+ };
1332
+ loading: {
1333
+ true: string;
1334
+ };
1335
+ highlight: {
1336
+ true: string;
1337
+ };
1338
+ type: {
1339
+ file: string;
1340
+ };
1341
+ }, {
1342
+ buttonGroup: {
1343
+ horizontal: string;
1344
+ vertical: string;
1345
+ };
1346
+ size: {
1347
+ xs: {
1348
+ base: string;
1349
+ leading: "pl-2";
1350
+ trailing: "pr-2";
1351
+ leadingIcon: string;
1352
+ trailingIcon: string;
1353
+ label: string;
1354
+ item: string;
1355
+ itemLeadingIcon: string;
1356
+ itemLeadingAvatarSize: string;
1357
+ itemLeadingChip: string;
1358
+ itemLeadingChipSize: string;
1359
+ itemTrailingIcon: string;
1360
+ };
1361
+ sm: {
1362
+ base: string;
1363
+ leading: "pl-2.5";
1364
+ trailing: "pr-2.5";
1365
+ leadingIcon: string;
1366
+ trailingIcon: string;
1367
+ label: string;
1368
+ item: string;
1369
+ itemLeadingIcon: string;
1370
+ itemLeadingAvatarSize: string;
1371
+ itemLeadingChip: string;
1372
+ itemLeadingChipSize: string;
1373
+ itemTrailingIcon: string;
1374
+ };
1375
+ md: {
1376
+ base: string;
1377
+ leading: "pl-2.5";
1378
+ trailing: "pr-2.5";
1379
+ leadingIcon: string;
1380
+ trailingIcon: string;
1381
+ label: string;
1382
+ item: string;
1383
+ itemLeadingIcon: string;
1384
+ itemLeadingAvatarSize: string;
1385
+ itemLeadingChip: string;
1386
+ itemLeadingChipSize: string;
1387
+ itemTrailingIcon: string;
1388
+ };
1389
+ lg: {
1390
+ base: string;
1391
+ leading: "pl-3";
1392
+ trailing: "pr-3";
1393
+ leadingIcon: string;
1394
+ trailingIcon: string;
1395
+ label: string;
1396
+ item: string;
1397
+ itemLeadingIcon: string;
1398
+ itemLeadingAvatarSize: string;
1399
+ itemLeadingChip: string;
1400
+ itemLeadingChipSize: string;
1401
+ itemTrailingIcon: string;
1402
+ };
1403
+ xl: {
1404
+ base: string;
1405
+ leading: "pl-3";
1406
+ trailing: "pr-3";
1407
+ leadingIcon: string;
1408
+ trailingIcon: string;
1409
+ label: string;
1410
+ item: string;
1411
+ itemLeadingIcon: string;
1412
+ itemLeadingAvatarSize: string;
1413
+ itemLeadingChip: string;
1414
+ itemLeadingChipSize: string;
1415
+ itemTrailingIcon: string;
1416
+ };
1417
+ };
1418
+ variant: {
1419
+ outline: string;
1420
+ soft: string;
1421
+ subtle: string;
1422
+ ghost: string;
1423
+ none: string;
1424
+ };
1425
+ color: {
1426
+ primary: string;
1427
+ error: string;
1428
+ red: string;
1429
+ orange: string;
1430
+ amber: string;
1431
+ yellow: string;
1432
+ lime: string;
1433
+ green: string;
1434
+ emerald: string;
1435
+ teal: string;
1436
+ cyan: string;
1437
+ sky: string;
1438
+ blue: string;
1439
+ indigo: string;
1440
+ violet: string;
1441
+ purple: string;
1442
+ fuchsia: string;
1443
+ pink: string;
1444
+ rose: string;
1445
+ gray: string;
1446
+ };
1447
+ leading: {
1448
+ true: string;
1449
+ };
1450
+ trailing: {
1451
+ true: string;
1452
+ };
1453
+ loading: {
1454
+ true: string;
1455
+ };
1456
+ highlight: {
1457
+ true: string;
1458
+ };
1459
+ type: {
1460
+ file: string;
1461
+ };
1462
+ }>, unknown, unknown, undefined>>>;
1463
+ export interface SelectItem extends Pick<SelectItemProps, 'disabled' | 'value'> {
1464
+ label?: string;
1465
+ icon?: string;
1466
+ avatar?: AvatarProps;
1467
+ chip?: ChipProps;
1468
+ /**
1469
+ * The item type.
1470
+ * @defaultValue 'item'
1471
+ */
1472
+ type?: 'label' | 'separator' | 'item';
1473
+ }
1474
+ type SelectVariants = VariantProps<typeof select>;
1475
+ export interface SelectProps<T> extends Omit<SelectRootProps, 'dir'>, UseComponentIconsProps {
1476
+ id?: string;
1477
+ /** The placeholder text when the select is empty. */
1478
+ placeholder?: string;
1479
+ color?: SelectVariants['color'];
1480
+ variant?: SelectVariants['variant'];
1481
+ size?: SelectVariants['size'];
1482
+ /**
1483
+ * The icon displayed to open the menu.
1484
+ * @defaultValue appConfig.ui.icons.chevronDown
1485
+ */
1486
+ trailingIcon?: string;
1487
+ /**
1488
+ * The icon displayed when an item is selected.
1489
+ * @defaultValue appConfig.ui.icons.check
1490
+ */
1491
+ selectedIcon?: string;
1492
+ /**
1493
+ * The content of the menu.
1494
+ * @defaultValue { side: 'bottom', sideOffset: 8, position: 'popper' }
1495
+ */
1496
+ content?: Omit<SelectContentProps, 'as' | 'asChild' | 'forceMount'>;
1497
+ /**
1498
+ * Display an arrow alongside the menu.
1499
+ * @defaultValue false
1500
+ */
1501
+ arrow?: boolean | Omit<SelectArrowProps, 'as' | 'asChild'>;
1502
+ /**
1503
+ * Render the menu in a portal.
1504
+ * @defaultValue true
1505
+ */
1506
+ portal?: boolean;
1507
+ /**
1508
+ * When `items` is an array of objects, select the field to use as the value.
1509
+ * @defaultValue 'value'
1510
+ */
1511
+ valueKey?: string;
1512
+ items?: T[] | T[][];
1513
+ /** Highlight the ring color like a focus state. */
1514
+ highlight?: boolean;
1515
+ class?: any;
1516
+ ui?: PartialString<typeof select.slots>;
1517
+ }
1518
+ export type SelectEmits = SelectRootEmits & {
1519
+ change: [payload: Event];
1520
+ blur: [payload: FocusEvent];
1521
+ focus: [payload: FocusEvent];
1522
+ };
1523
+ type SlotProps<T> = (props: {
1524
+ item: T;
1525
+ index: number;
1526
+ }) => any;
1527
+ export interface SelectSlots<T> {
1528
+ 'leading'(props: {
1529
+ modelValue: string;
1530
+ open: boolean;
1531
+ ui: any;
1532
+ }): any;
1533
+ 'trailing'(props: {
1534
+ modelValue: string;
1535
+ open: boolean;
1536
+ ui: any;
1537
+ }): any;
1538
+ 'item': SlotProps<T>;
1539
+ 'item-leading': SlotProps<T>;
1540
+ 'item-label': SlotProps<T>;
1541
+ 'item-trailing': SlotProps<T>;
1542
+ }
1543
+ declare const _default: <T extends SelectItem | AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1544
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
1545
+ readonly onBlur?: ((payload: FocusEvent) => any) | undefined;
1546
+ readonly onChange?: ((payload: Event) => any) | undefined;
1547
+ readonly onFocus?: ((payload: FocusEvent) => any) | undefined;
1548
+ readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
1549
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1550
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{}> & Readonly<{
1551
+ onBlur?: ((payload: FocusEvent) => any) | undefined;
1552
+ onChange?: ((payload: Event) => any) | undefined;
1553
+ onFocus?: ((payload: FocusEvent) => any) | undefined;
1554
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
1555
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1556
+ }>, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue"> & SelectProps<T>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
1557
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
1558
+ attrs: any;
1559
+ slots: Readonly<SelectSlots<T>> & SelectSlots<T>;
1560
+ emit: ((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: string) => void);
1561
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1562
+ [key: string]: any;
1563
+ }> & {
1564
+ __ctx?: Awaited<typeof __VLS_setup>;
1565
+ };
1566
+ export default _default;
1567
+ type __VLS_PrettifyLocal<T> = {
1568
+ [K in keyof T]: T[K];
1569
+ } & {};