@nuxt/ui 4.4.0 → 4.5.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 (362) hide show
  1. package/README.md +4 -1
  2. package/cli/package.json +1 -1
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +3 -3
  5. package/dist/runtime/components/Accordion.vue +12 -10
  6. package/dist/runtime/components/Alert.vue +12 -10
  7. package/dist/runtime/components/AuthForm.vue +19 -17
  8. package/dist/runtime/components/Avatar.vue +7 -5
  9. package/dist/runtime/components/AvatarGroup.vue +6 -4
  10. package/dist/runtime/components/Badge.vue +8 -6
  11. package/dist/runtime/components/Banner.vue +12 -10
  12. package/dist/runtime/components/BlogPost.d.vue.ts +3 -2
  13. package/dist/runtime/components/BlogPost.vue +16 -14
  14. package/dist/runtime/components/BlogPost.vue.d.ts +3 -2
  15. package/dist/runtime/components/BlogPosts.d.vue.ts +3 -0
  16. package/dist/runtime/components/BlogPosts.vue +5 -2
  17. package/dist/runtime/components/BlogPosts.vue.d.ts +3 -0
  18. package/dist/runtime/components/Breadcrumb.vue +12 -10
  19. package/dist/runtime/components/Button.vue +8 -6
  20. package/dist/runtime/components/Calendar.vue +15 -13
  21. package/dist/runtime/components/Card.vue +7 -5
  22. package/dist/runtime/components/Carousel.vue +13 -11
  23. package/dist/runtime/components/ChangelogVersion.d.vue.ts +2 -1
  24. package/dist/runtime/components/ChangelogVersion.vue +19 -17
  25. package/dist/runtime/components/ChangelogVersion.vue.d.ts +2 -1
  26. package/dist/runtime/components/ChangelogVersions.vue +7 -5
  27. package/dist/runtime/components/ChatMessage.vue +10 -8
  28. package/dist/runtime/components/ChatMessages.vue +16 -11
  29. package/dist/runtime/components/ChatPalette.vue +6 -4
  30. package/dist/runtime/components/ChatPrompt.vue +9 -6
  31. package/dist/runtime/components/ChatPromptSubmit.vue +5 -3
  32. package/dist/runtime/components/Checkbox.vue +19 -12
  33. package/dist/runtime/components/CheckboxGroup.d.vue.ts +5 -5
  34. package/dist/runtime/components/CheckboxGroup.vue +9 -7
  35. package/dist/runtime/components/CheckboxGroup.vue.d.ts +5 -5
  36. package/dist/runtime/components/Chip.vue +5 -3
  37. package/dist/runtime/components/Collapsible.vue +5 -3
  38. package/dist/runtime/components/ColorPicker.vue +10 -8
  39. package/dist/runtime/components/CommandPalette.d.vue.ts +4 -4
  40. package/dist/runtime/components/CommandPalette.vue +33 -31
  41. package/dist/runtime/components/CommandPalette.vue.d.ts +4 -4
  42. package/dist/runtime/components/Container.d.vue.ts +3 -0
  43. package/dist/runtime/components/Container.vue +5 -2
  44. package/dist/runtime/components/Container.vue.d.ts +3 -0
  45. package/dist/runtime/components/ContextMenu.vue +5 -3
  46. package/dist/runtime/components/ContextMenuContent.vue +1 -0
  47. package/dist/runtime/components/DashboardGroup.d.vue.ts +3 -0
  48. package/dist/runtime/components/DashboardGroup.vue +4 -1
  49. package/dist/runtime/components/DashboardGroup.vue.d.ts +3 -0
  50. package/dist/runtime/components/DashboardNavbar.vue +10 -8
  51. package/dist/runtime/components/DashboardPanel.vue +6 -4
  52. package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +3 -0
  53. package/dist/runtime/components/DashboardResizeHandle.vue +5 -2
  54. package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +3 -0
  55. package/dist/runtime/components/DashboardSearch.vue +6 -3
  56. package/dist/runtime/components/DashboardSearchButton.d.vue.ts +1 -1
  57. package/dist/runtime/components/DashboardSearchButton.vue +6 -4
  58. package/dist/runtime/components/DashboardSearchButton.vue.d.ts +1 -1
  59. package/dist/runtime/components/DashboardSidebar.d.vue.ts +6 -1
  60. package/dist/runtime/components/DashboardSidebar.vue +16 -12
  61. package/dist/runtime/components/DashboardSidebar.vue.d.ts +6 -1
  62. package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +3 -0
  63. package/dist/runtime/components/DashboardSidebarCollapse.vue +4 -2
  64. package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +3 -0
  65. package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +3 -0
  66. package/dist/runtime/components/DashboardSidebarToggle.vue +4 -2
  67. package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +3 -0
  68. package/dist/runtime/components/DashboardToolbar.vue +6 -4
  69. package/dist/runtime/components/Drawer.d.vue.ts +1 -1
  70. package/dist/runtime/components/Drawer.vue +16 -11
  71. package/dist/runtime/components/Drawer.vue.d.ts +1 -1
  72. package/dist/runtime/components/DropdownMenu.vue +6 -4
  73. package/dist/runtime/components/DropdownMenuContent.vue +1 -0
  74. package/dist/runtime/components/Editor.d.vue.ts +2 -1
  75. package/dist/runtime/components/Editor.vue +16 -4
  76. package/dist/runtime/components/Editor.vue.d.ts +2 -1
  77. package/dist/runtime/components/EditorDragHandle.d.vue.ts +13 -1
  78. package/dist/runtime/components/EditorDragHandle.vue +17 -8
  79. package/dist/runtime/components/EditorDragHandle.vue.d.ts +13 -1
  80. package/dist/runtime/components/EditorEmojiMenu.vue +1 -1
  81. package/dist/runtime/components/EditorMentionMenu.d.vue.ts +1 -1
  82. package/dist/runtime/components/EditorMentionMenu.vue +5 -2
  83. package/dist/runtime/components/EditorMentionMenu.vue.d.ts +1 -1
  84. package/dist/runtime/components/EditorSuggestionMenu.vue +1 -1
  85. package/dist/runtime/components/EditorToolbar.vue +10 -7
  86. package/dist/runtime/components/Empty.vue +11 -9
  87. package/dist/runtime/components/Error.vue +8 -6
  88. package/dist/runtime/components/FieldGroup.d.vue.ts +3 -1
  89. package/dist/runtime/components/FieldGroup.vue +4 -2
  90. package/dist/runtime/components/FieldGroup.vue.d.ts +3 -1
  91. package/dist/runtime/components/FileUpload.d.vue.ts +1 -1
  92. package/dist/runtime/components/FileUpload.vue +18 -16
  93. package/dist/runtime/components/FileUpload.vue.d.ts +1 -1
  94. package/dist/runtime/components/Footer.vue +10 -8
  95. package/dist/runtime/components/FooterColumns.vue +14 -12
  96. package/dist/runtime/components/Form.d.vue.ts +3 -0
  97. package/dist/runtime/components/Form.vue +10 -2
  98. package/dist/runtime/components/Form.vue.d.ts +3 -0
  99. package/dist/runtime/components/FormField.vue +12 -10
  100. package/dist/runtime/components/Header.d.vue.ts +6 -1
  101. package/dist/runtime/components/Header.vue +16 -12
  102. package/dist/runtime/components/Header.vue.d.ts +6 -1
  103. package/dist/runtime/components/Input.d.vue.ts +53 -11
  104. package/dist/runtime/components/Input.vue +16 -12
  105. package/dist/runtime/components/Input.vue.d.ts +53 -11
  106. package/dist/runtime/components/InputDate.d.vue.ts +2 -0
  107. package/dist/runtime/components/InputDate.vue +18 -11
  108. package/dist/runtime/components/InputDate.vue.d.ts +2 -0
  109. package/dist/runtime/components/InputMenu.d.vue.ts +153 -25
  110. package/dist/runtime/components/InputMenu.vue +51 -58
  111. package/dist/runtime/components/InputMenu.vue.d.ts +153 -25
  112. package/dist/runtime/components/InputNumber.d.vue.ts +15 -8
  113. package/dist/runtime/components/InputNumber.vue +23 -14
  114. package/dist/runtime/components/InputNumber.vue.d.ts +15 -8
  115. package/dist/runtime/components/InputTags.d.vue.ts +2 -0
  116. package/dist/runtime/components/InputTags.vue +16 -12
  117. package/dist/runtime/components/InputTags.vue.d.ts +2 -0
  118. package/dist/runtime/components/InputTime.d.vue.ts +6 -4
  119. package/dist/runtime/components/InputTime.vue +18 -10
  120. package/dist/runtime/components/InputTime.vue.d.ts +6 -4
  121. package/dist/runtime/components/Kbd.d.vue.ts +3 -0
  122. package/dist/runtime/components/Kbd.vue +5 -2
  123. package/dist/runtime/components/Kbd.vue.d.ts +3 -0
  124. package/dist/runtime/components/Link.d.vue.ts +1 -1
  125. package/dist/runtime/components/Link.vue +7 -7
  126. package/dist/runtime/components/Link.vue.d.ts +1 -1
  127. package/dist/runtime/components/Main.d.vue.ts +3 -0
  128. package/dist/runtime/components/Main.vue +5 -2
  129. package/dist/runtime/components/Main.vue.d.ts +3 -0
  130. package/dist/runtime/components/Marquee.vue +5 -3
  131. package/dist/runtime/components/Modal.d.vue.ts +2 -2
  132. package/dist/runtime/components/Modal.vue +17 -24
  133. package/dist/runtime/components/Modal.vue.d.ts +2 -2
  134. package/dist/runtime/components/NavigationMenu.d.vue.ts +13 -6
  135. package/dist/runtime/components/NavigationMenu.vue +77 -53
  136. package/dist/runtime/components/NavigationMenu.vue.d.ts +13 -6
  137. package/dist/runtime/components/Page.vue +7 -5
  138. package/dist/runtime/components/PageAnchors.vue +11 -9
  139. package/dist/runtime/components/PageAside.vue +9 -7
  140. package/dist/runtime/components/PageBody.d.vue.ts +3 -0
  141. package/dist/runtime/components/PageBody.vue +5 -2
  142. package/dist/runtime/components/PageBody.vue.d.ts +3 -0
  143. package/dist/runtime/components/PageCTA.vue +12 -10
  144. package/dist/runtime/components/PageCard.vue +14 -12
  145. package/dist/runtime/components/PageColumns.d.vue.ts +3 -0
  146. package/dist/runtime/components/PageColumns.vue +5 -2
  147. package/dist/runtime/components/PageColumns.vue.d.ts +3 -0
  148. package/dist/runtime/components/PageFeature.vue +9 -7
  149. package/dist/runtime/components/PageGrid.d.vue.ts +3 -0
  150. package/dist/runtime/components/PageGrid.vue +5 -2
  151. package/dist/runtime/components/PageGrid.vue.d.ts +3 -0
  152. package/dist/runtime/components/PageHeader.vue +10 -8
  153. package/dist/runtime/components/PageHero.vue +13 -11
  154. package/dist/runtime/components/PageLinks.vue +11 -9
  155. package/dist/runtime/components/PageList.d.vue.ts +3 -0
  156. package/dist/runtime/components/PageList.vue +5 -2
  157. package/dist/runtime/components/PageList.vue.d.ts +3 -0
  158. package/dist/runtime/components/PageLogos.vue +9 -7
  159. package/dist/runtime/components/PageSection.d.vue.ts +1 -1
  160. package/dist/runtime/components/PageSection.vue +16 -14
  161. package/dist/runtime/components/PageSection.vue.d.ts +1 -1
  162. package/dist/runtime/components/Pagination.d.vue.ts +1 -1
  163. package/dist/runtime/components/Pagination.vue +11 -9
  164. package/dist/runtime/components/Pagination.vue.d.ts +1 -1
  165. package/dist/runtime/components/PinInput.d.vue.ts +2 -0
  166. package/dist/runtime/components/PinInput.vue +12 -5
  167. package/dist/runtime/components/PinInput.vue.d.ts +2 -0
  168. package/dist/runtime/components/Popover.vue +8 -3
  169. package/dist/runtime/components/PricingPlan.vue +24 -22
  170. package/dist/runtime/components/PricingPlans.d.vue.ts +3 -0
  171. package/dist/runtime/components/PricingPlans.vue +5 -2
  172. package/dist/runtime/components/PricingPlans.vue.d.ts +3 -0
  173. package/dist/runtime/components/PricingTable.vue +38 -36
  174. package/dist/runtime/components/Progress.vue +9 -7
  175. package/dist/runtime/components/RadioGroup.d.vue.ts +2 -2
  176. package/dist/runtime/components/RadioGroup.vue +13 -11
  177. package/dist/runtime/components/RadioGroup.vue.d.ts +2 -2
  178. package/dist/runtime/components/ScrollArea.d.vue.ts +7 -0
  179. package/dist/runtime/components/ScrollArea.vue +35 -11
  180. package/dist/runtime/components/ScrollArea.vue.d.ts +7 -0
  181. package/dist/runtime/components/Select.d.vue.ts +64 -25
  182. package/dist/runtime/components/Select.vue +34 -35
  183. package/dist/runtime/components/Select.vue.d.ts +64 -25
  184. package/dist/runtime/components/SelectMenu.d.vue.ts +115 -30
  185. package/dist/runtime/components/SelectMenu.vue +51 -57
  186. package/dist/runtime/components/SelectMenu.vue.d.ts +115 -30
  187. package/dist/runtime/components/Separator.vue +9 -7
  188. package/dist/runtime/components/Skeleton.d.vue.ts +3 -0
  189. package/dist/runtime/components/Skeleton.vue +5 -2
  190. package/dist/runtime/components/Skeleton.vue.d.ts +3 -0
  191. package/dist/runtime/components/Slideover.d.vue.ts +3 -3
  192. package/dist/runtime/components/Slideover.vue +16 -11
  193. package/dist/runtime/components/Slideover.vue.d.ts +3 -3
  194. package/dist/runtime/components/Slider.d.vue.ts +1 -1
  195. package/dist/runtime/components/Slider.vue +8 -6
  196. package/dist/runtime/components/Slider.vue.d.ts +1 -1
  197. package/dist/runtime/components/Stepper.d.vue.ts +1 -1
  198. package/dist/runtime/components/Stepper.vue +15 -13
  199. package/dist/runtime/components/Stepper.vue.d.ts +1 -1
  200. package/dist/runtime/components/Switch.vue +20 -13
  201. package/dist/runtime/components/Table.d.vue.ts +1 -1
  202. package/dist/runtime/components/Table.vue +26 -24
  203. package/dist/runtime/components/Table.vue.d.ts +1 -1
  204. package/dist/runtime/components/Tabs.vue +17 -12
  205. package/dist/runtime/components/Textarea.d.vue.ts +53 -11
  206. package/dist/runtime/components/Textarea.vue +16 -12
  207. package/dist/runtime/components/Textarea.vue.d.ts +53 -11
  208. package/dist/runtime/components/Theme.d.vue.ts +17 -0
  209. package/dist/runtime/components/Theme.vue +17 -0
  210. package/dist/runtime/components/Theme.vue.d.ts +17 -0
  211. package/dist/runtime/components/Timeline.d.vue.ts +1 -1
  212. package/dist/runtime/components/Timeline.vue +12 -10
  213. package/dist/runtime/components/Timeline.vue.d.ts +1 -1
  214. package/dist/runtime/components/Toast.vue +16 -16
  215. package/dist/runtime/components/Toaster.vue +7 -4
  216. package/dist/runtime/components/Tooltip.vue +8 -6
  217. package/dist/runtime/components/Tree.vue +13 -11
  218. package/dist/runtime/components/User.vue +9 -7
  219. package/dist/runtime/components/color-mode/ColorModeAvatar.vue +1 -1
  220. package/dist/runtime/components/color-mode/ColorModeButton.vue +5 -3
  221. package/dist/runtime/components/color-mode/ColorModeImage.vue +8 -3
  222. package/dist/runtime/components/color-mode/ColorModeSelect.vue +2 -2
  223. package/dist/runtime/components/color-mode/ColorModeSwitch.vue +1 -1
  224. package/dist/runtime/components/content/ContentNavigation.vue +21 -19
  225. package/dist/runtime/components/content/ContentSearch.d.vue.ts +1 -1
  226. package/dist/runtime/components/content/ContentSearch.vue +6 -3
  227. package/dist/runtime/components/content/ContentSearch.vue.d.ts +1 -1
  228. package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +1 -1
  229. package/dist/runtime/components/content/ContentSearchButton.vue +6 -4
  230. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +1 -1
  231. package/dist/runtime/components/content/ContentSurround.vue +9 -7
  232. package/dist/runtime/components/content/ContentToc.vue +18 -16
  233. package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +1 -1
  234. package/dist/runtime/components/locale/LocaleSelect.vue +2 -2
  235. package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
  236. package/dist/runtime/components/prose/A.d.vue.ts +3 -0
  237. package/dist/runtime/components/prose/A.vue +7 -4
  238. package/dist/runtime/components/prose/A.vue.d.ts +3 -0
  239. package/dist/runtime/components/prose/Accordion.vue +4 -2
  240. package/dist/runtime/components/prose/AccordionItem.d.vue.ts +3 -0
  241. package/dist/runtime/components/prose/AccordionItem.vue +5 -2
  242. package/dist/runtime/components/prose/AccordionItem.vue.d.ts +3 -0
  243. package/dist/runtime/components/prose/Badge.d.vue.ts +3 -0
  244. package/dist/runtime/components/prose/Badge.vue +5 -2
  245. package/dist/runtime/components/prose/Badge.vue.d.ts +3 -0
  246. package/dist/runtime/components/prose/Blockquote.d.vue.ts +3 -0
  247. package/dist/runtime/components/prose/Blockquote.vue +5 -2
  248. package/dist/runtime/components/prose/Blockquote.vue.d.ts +3 -0
  249. package/dist/runtime/components/prose/Callout.vue +6 -4
  250. package/dist/runtime/components/prose/Card.vue +8 -6
  251. package/dist/runtime/components/prose/CardGroup.d.vue.ts +3 -0
  252. package/dist/runtime/components/prose/CardGroup.vue +5 -2
  253. package/dist/runtime/components/prose/CardGroup.vue.d.ts +3 -0
  254. package/dist/runtime/components/prose/Code.d.vue.ts +3 -0
  255. package/dist/runtime/components/prose/Code.vue +5 -2
  256. package/dist/runtime/components/prose/Code.vue.d.ts +3 -0
  257. package/dist/runtime/components/prose/CodeCollapse.vue +7 -5
  258. package/dist/runtime/components/prose/CodeGroup.vue +9 -7
  259. package/dist/runtime/components/prose/CodePreview.vue +6 -4
  260. package/dist/runtime/components/prose/CodeTree.vue +14 -12
  261. package/dist/runtime/components/prose/Collapsible.vue +7 -5
  262. package/dist/runtime/components/prose/Em.d.vue.ts +3 -0
  263. package/dist/runtime/components/prose/Em.vue +5 -2
  264. package/dist/runtime/components/prose/Em.vue.d.ts +3 -0
  265. package/dist/runtime/components/prose/Field.vue +10 -8
  266. package/dist/runtime/components/prose/FieldGroup.d.vue.ts +3 -0
  267. package/dist/runtime/components/prose/FieldGroup.vue +5 -2
  268. package/dist/runtime/components/prose/FieldGroup.vue.d.ts +3 -0
  269. package/dist/runtime/components/prose/H1.vue +5 -3
  270. package/dist/runtime/components/prose/H2.vue +7 -5
  271. package/dist/runtime/components/prose/H3.vue +7 -5
  272. package/dist/runtime/components/prose/H4.vue +5 -3
  273. package/dist/runtime/components/prose/Hr.d.vue.ts +3 -0
  274. package/dist/runtime/components/prose/Hr.vue +5 -2
  275. package/dist/runtime/components/prose/Hr.vue.d.ts +3 -0
  276. package/dist/runtime/components/prose/Icon.d.vue.ts +3 -0
  277. package/dist/runtime/components/prose/Icon.vue +5 -2
  278. package/dist/runtime/components/prose/Icon.vue.d.ts +3 -0
  279. package/dist/runtime/components/prose/Img.vue +9 -15
  280. package/dist/runtime/components/prose/Kbd.d.vue.ts +3 -0
  281. package/dist/runtime/components/prose/Kbd.vue +5 -2
  282. package/dist/runtime/components/prose/Kbd.vue.d.ts +3 -0
  283. package/dist/runtime/components/prose/Li.d.vue.ts +3 -0
  284. package/dist/runtime/components/prose/Li.vue +5 -2
  285. package/dist/runtime/components/prose/Li.vue.d.ts +3 -0
  286. package/dist/runtime/components/prose/Ol.d.vue.ts +3 -0
  287. package/dist/runtime/components/prose/Ol.vue +5 -2
  288. package/dist/runtime/components/prose/Ol.vue.d.ts +3 -0
  289. package/dist/runtime/components/prose/P.d.vue.ts +3 -0
  290. package/dist/runtime/components/prose/P.vue +5 -2
  291. package/dist/runtime/components/prose/P.vue.d.ts +3 -0
  292. package/dist/runtime/components/prose/Pre.vue +9 -7
  293. package/dist/runtime/components/prose/Steps.d.vue.ts +3 -0
  294. package/dist/runtime/components/prose/Steps.vue +5 -2
  295. package/dist/runtime/components/prose/Steps.vue.d.ts +3 -0
  296. package/dist/runtime/components/prose/Strong.d.vue.ts +3 -0
  297. package/dist/runtime/components/prose/Strong.vue +5 -2
  298. package/dist/runtime/components/prose/Strong.vue.d.ts +3 -0
  299. package/dist/runtime/components/prose/Table.vue +5 -3
  300. package/dist/runtime/components/prose/Tabs.vue +4 -2
  301. package/dist/runtime/components/prose/TabsItem.d.vue.ts +3 -0
  302. package/dist/runtime/components/prose/TabsItem.vue +5 -2
  303. package/dist/runtime/components/prose/TabsItem.vue.d.ts +3 -0
  304. package/dist/runtime/components/prose/Tbody.d.vue.ts +3 -0
  305. package/dist/runtime/components/prose/Tbody.vue +5 -2
  306. package/dist/runtime/components/prose/Tbody.vue.d.ts +3 -0
  307. package/dist/runtime/components/prose/Td.d.vue.ts +3 -0
  308. package/dist/runtime/components/prose/Td.vue +5 -2
  309. package/dist/runtime/components/prose/Td.vue.d.ts +3 -0
  310. package/dist/runtime/components/prose/Th.d.vue.ts +3 -0
  311. package/dist/runtime/components/prose/Th.vue +5 -2
  312. package/dist/runtime/components/prose/Th.vue.d.ts +3 -0
  313. package/dist/runtime/components/prose/Thead.d.vue.ts +3 -0
  314. package/dist/runtime/components/prose/Thead.vue +5 -2
  315. package/dist/runtime/components/prose/Thead.vue.d.ts +3 -0
  316. package/dist/runtime/components/prose/Tr.d.vue.ts +3 -0
  317. package/dist/runtime/components/prose/Tr.vue +5 -2
  318. package/dist/runtime/components/prose/Tr.vue.d.ts +3 -0
  319. package/dist/runtime/components/prose/Ul.d.vue.ts +3 -0
  320. package/dist/runtime/components/prose/Ul.vue +5 -2
  321. package/dist/runtime/components/prose/Ul.vue.d.ts +3 -0
  322. package/dist/runtime/composables/defineShortcuts.js +4 -1
  323. package/dist/runtime/composables/internal/useFilter.d.ts +9 -0
  324. package/dist/runtime/composables/internal/useFilter.js +60 -0
  325. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  326. package/dist/runtime/composables/useComponentUI.d.ts +33 -0
  327. package/dist/runtime/composables/useComponentUI.js +13 -0
  328. package/dist/runtime/composables/useEditorMenu.js +27 -10
  329. package/dist/runtime/composables/useFieldGroup.d.ts +1 -1
  330. package/dist/runtime/composables/useFormField.d.ts +1 -1
  331. package/dist/runtime/composables/useToast.d.ts +4 -0
  332. package/dist/runtime/composables/useToast.js +25 -1
  333. package/dist/runtime/keyframes.css +1 -1
  334. package/dist/runtime/locale/be.d.ts +3 -0
  335. package/dist/runtime/locale/be.js +129 -0
  336. package/dist/runtime/locale/index.d.ts +1 -0
  337. package/dist/runtime/locale/index.js +1 -0
  338. package/dist/runtime/types/html.d.ts +3 -1
  339. package/dist/runtime/types/index.d.ts +1 -0
  340. package/dist/runtime/types/index.js +1 -0
  341. package/dist/runtime/types/input.d.ts +16 -6
  342. package/dist/runtime/types/utils.d.ts +10 -8
  343. package/dist/runtime/utils/index.d.ts +1 -0
  344. package/dist/runtime/utils/index.js +10 -0
  345. package/dist/runtime/utils/overlay.d.ts +19 -0
  346. package/dist/runtime/utils/overlay.js +13 -0
  347. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +2 -2
  348. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +1 -1
  349. package/dist/runtime/vue/overrides/inertia/Link.d.vue.ts +1 -1
  350. package/dist/runtime/vue/overrides/inertia/Link.vue +4 -2
  351. package/dist/runtime/vue/overrides/inertia/Link.vue.d.ts +1 -1
  352. package/dist/runtime/vue/overrides/none/Link.d.vue.ts +1 -1
  353. package/dist/runtime/vue/overrides/none/Link.vue.d.ts +1 -1
  354. package/dist/runtime/vue/overrides/vue-router/Link.d.vue.ts +1 -1
  355. package/dist/runtime/vue/overrides/vue-router/Link.vue.d.ts +1 -1
  356. package/dist/runtime/vue/stubs/base.d.ts +6 -0
  357. package/dist/runtime/vue/stubs/base.js +8 -0
  358. package/dist/shared/{ui.Ddb3hKxo.mjs → ui.BrgdrRzy.mjs} +99 -51
  359. package/dist/unplugin.d.mts +1 -1
  360. package/dist/unplugin.mjs +1 -1
  361. package/dist/vite.mjs +1 -1
  362. package/package.json +50 -51
@@ -118,6 +118,7 @@ export * from "../components/locale/LocaleSelect.vue";
118
118
  export * from "./content.js";
119
119
  export * from "./editor.js";
120
120
  export * from "./form.js";
121
+ export * from "./input.js";
121
122
  export * from "./locale.js";
122
123
  export * from "./prose.js";
123
124
  export * from "./tv.js";
@@ -1,8 +1,18 @@
1
- export interface ModelModifiers<T = any> {
2
- string?: string extends T ? boolean : never;
3
- number?: number extends T ? boolean : never;
4
- trim?: string extends T ? boolean : never;
5
- lazy?: boolean;
6
- nullable?: null extends T ? boolean : never;
1
+ export interface ModelModifiers {
2
+ nullable?: boolean;
3
+ number?: boolean;
7
4
  optional?: boolean;
5
+ trim?: boolean;
6
+ lazy?: boolean;
8
7
  }
8
+ export type ApplyModifiers<T, M extends ModelModifiers = ModelModifiers> = _Number<_Optional<_Nullable<T, M>, M>, M>;
9
+ type _Nullable<T, M> = M extends {
10
+ nullable: true;
11
+ } ? T | null : T;
12
+ type _Optional<T, M> = M extends {
13
+ optional: true;
14
+ } ? T | undefined : T;
15
+ type _Number<T, M> = M extends {
16
+ number: true;
17
+ } ? T extends string ? T | number : T : T;
18
+ export {};
@@ -27,16 +27,18 @@ export type MergeTypes<T extends object> = {
27
27
  } & {
28
28
  [k in NonCommonKeys<T>]?: PickTypeOf<T, k>;
29
29
  };
30
- type DotPathKeys<T> = T extends Array<any> ? never : T extends object ? {
31
- [K in keyof T & string]: T[K] extends Record<string, any> ? K | `${K}.${DotPathKeys<T[K]>}` : K;
30
+ type IsPrimitive<T> = T extends (string | number | boolean | symbol | bigint | null | undefined) ? true : false;
31
+ type IsPlainObject<T> = IsPrimitive<T> extends true ? false : T extends (readonly any[] | ((...args: any[]) => any) | Date | RegExp | Map<any, any> | Set<any> | WeakMap<any, any> | WeakSet<any> | Promise<any> | Error) ? false : T extends object ? true : false;
32
+ type DotPathKeys<T> = IsPlainObject<T> extends true ? {
33
+ [K in keyof T & string]: IsPlainObject<NonNullable<T[K]>> extends true ? K | `${K}.${DotPathKeys<NonNullable<T[K]>>}` : K;
32
34
  }[keyof T & string] : never;
33
- type DotPathValue<T, P extends DotPathKeys<T> | (string & {})> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? DotPathValue<T[K], Rest> : never : P extends keyof T ? T[P] : never;
34
- export type GetItemKeys<I> = keyof Extract<NestedItem<I>, object> | DotPathKeys<Extract<NestedItem<I>, object>>;
35
- export type GetItemValue<I, VK extends GetItemKeys<I> | undefined, T extends NestedItem<I> = NestedItem<I>> = T extends object ? VK extends undefined ? T : VK extends DotPathKeys<T> ? DotPathValue<T, VK> : never : T;
36
- export type GetModelValue<T, VK extends GetItemKeys<T> | undefined, M extends boolean> = M extends true ? GetItemValue<T, VK>[] : GetItemValue<T, VK>;
37
- export type GetModelValueEmits<T, VK extends GetItemKeys<T> | undefined, M extends boolean> = {
35
+ type DotPathValue<T, P extends DotPathKeys<T> | (string & {})> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? DotPathValue<NonNullable<T[K]>, Rest> : never : P extends keyof T ? T[P] : never;
36
+ export type GetItemKeys<I, T extends NestedItem<I> = NestedItem<I>> = (keyof Extract<T, object> & string) | DotPathKeys<Extract<T, object>>;
37
+ export type GetItemValue<I, VK extends GetItemKeys<I> | undefined, O extends object | undefined = undefined, T extends NestedItem<I> = NestedItem<I>> = T extends object ? VK extends undefined ? T extends O ? never : T : VK extends DotPathKeys<T> ? DotPathValue<T, VK> : never : T;
38
+ export type GetModelValue<I, VK extends GetItemKeys<I> | undefined, M extends boolean, O extends object | undefined = undefined> = M extends true ? GetItemValue<I, VK, O>[] : GetItemValue<I, VK, O>;
39
+ export type GetModelValueEmits<I, VK extends GetItemKeys<I> | undefined, M extends boolean, O extends object | undefined = undefined> = {
38
40
  /** Event handler called when the value changes. */
39
- 'update:modelValue': [value: GetModelValue<T, VK, M>];
41
+ 'update:modelValue': [value: GetModelValue<I, VK, M, O>];
40
42
  };
41
43
  export type StringOrVNode = string | VNode | (() => VNode);
42
44
  export type EmitsToProps<T> = {
@@ -15,4 +15,5 @@ export declare function isArrayOfArray<A>(item: A[] | A[][]): item is A[][];
15
15
  export declare function mergeClasses(appConfigClass?: string | string[], propClass?: string): "" | (string | undefined)[];
16
16
  export declare function getSlotChildrenText(children: any): any;
17
17
  export declare function transformUI(ui: any, uiProp?: any): any;
18
+ export declare function resolveBaseURL(path?: string, baseURL?: string): string | undefined;
18
19
  export * from './content';
@@ -1,4 +1,5 @@
1
1
  import { isEqual } from "ohash/utils";
2
+ import { withTrailingSlash, withLeadingSlash, joinURL } from "ufo";
2
3
  export function pick(data, keys) {
3
4
  const result = {};
4
5
  for (const key of keys) {
@@ -136,4 +137,13 @@ export function transformUI(ui, uiProp) {
136
137
  return acc;
137
138
  }, uiProp || {});
138
139
  }
140
+ export function resolveBaseURL(path, baseURL) {
141
+ if (path?.startsWith("/") && !path.startsWith("//")) {
142
+ const _base = withLeadingSlash(withTrailingSlash(baseURL || "/"));
143
+ if (_base !== "/" && !path.startsWith(_base)) {
144
+ return joinURL(_base, path);
145
+ }
146
+ }
147
+ return path;
148
+ }
139
149
  export * from "./content.js";
@@ -0,0 +1,19 @@
1
+ import type { PointerDownOutsideEvent } from 'reka-ui';
2
+ export interface PointerDownOutsideOptions {
3
+ /**
4
+ * Whether the overlay is in scrollable mode.
5
+ * When true, prevents closing when clicking on the scrollbar.
6
+ */
7
+ scrollable?: boolean;
8
+ }
9
+ /**
10
+ * Handles `pointerDownOutside` events to prevent overlays from closing in specific scenarios:
11
+ * 1. When the target element is no longer in the DOM (e.g., a toast was dismissed between pointerdown and click on touch devices)
12
+ * 2. When clicking on a scrollbar (only in scrollable mode)
13
+ *
14
+ * Note: Reka UI already handles dismissable layer checks internally via `isLayerExist`,
15
+ * so we don't need to check for `[data-dismissable-layer]` here.
16
+ *
17
+ * @see https://reka-ui.com/docs/components/dialog#disable-close-on-interaction-outside
18
+ */
19
+ export declare function pointerDownOutside(e: PointerDownOutsideEvent, options?: PointerDownOutsideOptions): void;
@@ -0,0 +1,13 @@
1
+ export function pointerDownOutside(e, options = {}) {
2
+ const originalEvent = e.detail.originalEvent;
3
+ const target = originalEvent.target;
4
+ if (!target?.isConnected) {
5
+ e.preventDefault();
6
+ return;
7
+ }
8
+ if (options.scrollable) {
9
+ if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
10
+ e.preventDefault();
11
+ }
12
+ }
13
+ }
@@ -29,7 +29,7 @@ const props = defineProps({
29
29
  labelKey: { type: null, required: false },
30
30
  descriptionKey: { type: null, required: false },
31
31
  defaultValue: { type: null, required: false },
32
- modelModifiers: { type: Object, required: false },
32
+ modelModifiers: { type: null, required: false },
33
33
  multiple: { type: Boolean, required: false },
34
34
  highlight: { type: Boolean, required: false },
35
35
  createItem: { type: [Boolean, String, Object], required: false },
@@ -38,7 +38,7 @@ const props = defineProps({
38
38
  autofocus: { type: Boolean, required: false },
39
39
  autofocusDelay: { type: Number, required: false },
40
40
  class: { type: null, required: false },
41
- ui: { type: null, required: false },
41
+ ui: { type: Object, required: false },
42
42
  open: { type: Boolean, required: false },
43
43
  defaultOpen: { type: Boolean, required: false },
44
44
  disabled: { type: Boolean, required: false },
@@ -18,7 +18,7 @@ const props = defineProps({
18
18
  label: { type: String, required: false },
19
19
  description: { type: String, required: false },
20
20
  class: { type: null, required: false },
21
- ui: { type: null, required: false },
21
+ ui: { type: Object, required: false },
22
22
  disabled: { type: Boolean, required: false },
23
23
  id: { type: String, required: false },
24
24
  name: { type: String, required: false },
@@ -62,9 +62,9 @@ export interface LinkSlots {
62
62
  declare const _default: typeof __VLS_export;
63
63
  export default _default;
64
64
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
65
+ active: boolean;
65
66
  as: any;
66
67
  type: "reset" | "submit" | "button";
67
- active: boolean;
68
68
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
69
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
70
70
  type __VLS_WithSlots<T, S> = T & {
@@ -43,6 +43,8 @@ const props = defineProps({
43
43
  headers: { type: Object, required: false },
44
44
  queryStringArrayFormat: { type: String, required: false },
45
45
  async: { type: Boolean, required: false },
46
+ viewTransition: { type: [Boolean, Function], required: false },
47
+ onCancelToken: { type: Function, required: false },
46
48
  onBefore: { type: Function, required: false },
47
49
  onBeforeUpdate: { type: Function, required: false },
48
50
  onStart: { type: Function, required: false },
@@ -51,11 +53,11 @@ const props = defineProps({
51
53
  onCancel: { type: Function, required: false },
52
54
  onSuccess: { type: Function, required: false },
53
55
  onError: { type: Function, required: false },
56
+ onFlash: { type: Function, required: false },
54
57
  onPrefetched: { type: Function, required: false },
55
58
  onPrefetching: { type: Function, required: false },
56
- onCancelToken: { type: Function, required: false },
57
59
  prefetch: { type: [Boolean, String, Array], required: false },
58
- cacheFor: { type: [Number, String, Array], required: false },
60
+ cacheFor: { type: null, required: false },
59
61
  cacheTags: { type: [String, Array], required: false }
60
62
  });
61
63
  defineSlots();
@@ -62,9 +62,9 @@ export interface LinkSlots {
62
62
  declare const _default: typeof __VLS_export;
63
63
  export default _default;
64
64
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
65
+ active: boolean;
65
66
  as: any;
66
67
  type: "reset" | "submit" | "button";
67
- active: boolean;
68
68
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
69
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
70
70
  type __VLS_WithSlots<T, S> = T & {
@@ -64,9 +64,9 @@ export interface LinkSlots {
64
64
  declare const _default: typeof __VLS_export;
65
65
  export default _default;
66
66
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
67
+ active: boolean;
67
68
  as: any;
68
69
  type: "reset" | "submit" | "button";
69
- active: boolean;
70
70
  ariaCurrentValue: string;
71
71
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
72
72
  type __VLS_WithSlots<T, S> = T & {
@@ -64,9 +64,9 @@ export interface LinkSlots {
64
64
  declare const _default: typeof __VLS_export;
65
65
  export default _default;
66
66
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
67
+ active: boolean;
67
68
  as: any;
68
69
  type: "reset" | "submit" | "button";
69
- active: boolean;
70
70
  ariaCurrentValue: string;
71
71
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
72
72
  type __VLS_WithSlots<T, S> = T & {
@@ -55,9 +55,9 @@ export interface LinkSlots {
55
55
  declare const _default: typeof __VLS_export;
56
56
  export default _default;
57
57
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
58
+ active: boolean;
58
59
  as: any;
59
60
  type: "reset" | "submit" | "button";
60
- active: boolean;
61
61
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
63
63
  type __VLS_WithSlots<T, S> = T & {
@@ -55,9 +55,9 @@ export interface LinkSlots {
55
55
  declare const _default: typeof __VLS_export;
56
56
  export default _default;
57
57
  declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
58
+ active: boolean;
58
59
  as: any;
59
60
  type: "reset" | "submit" | "button";
60
- active: boolean;
61
61
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
63
63
  type __VLS_WithSlots<T, S> = T & {
@@ -35,6 +35,12 @@ export declare function useNuxtApp(): {
35
35
  }) => () => void;
36
36
  };
37
37
  export declare function useRuntimeHook(name: string, fn: (...args: any[]) => void): void;
38
+ export declare function useRuntimeConfig(): {
39
+ app: {
40
+ baseURL: string;
41
+ };
42
+ public: {};
43
+ };
38
44
  export declare function defineNuxtPlugin(plugin: (nuxtApp: NuxtApp) => void): {
39
45
  install(app: import("vue").App<any>): void;
40
46
  };
@@ -66,6 +66,14 @@ export function useRuntimeHook(name, fn) {
66
66
  const unregister = nuxtApp.hook(name, fn);
67
67
  onScopeDispose(unregister);
68
68
  }
69
+ export function useRuntimeConfig() {
70
+ return {
71
+ app: {
72
+ baseURL: "/"
73
+ },
74
+ public: {}
75
+ };
76
+ }
69
77
  export function defineNuxtPlugin(plugin) {
70
78
  return {
71
79
  install(app) {
@@ -1361,7 +1361,7 @@ const chatPrompt = {
1361
1361
  header: "flex items-center gap-1.5",
1362
1362
  body: "items-start",
1363
1363
  footer: "flex items-center justify-between gap-1.5",
1364
- base: "text-base/5"
1364
+ base: ""
1365
1365
  },
1366
1366
  variants: {
1367
1367
  variant: {
@@ -2037,21 +2037,11 @@ const dashboardSearch = {
2037
2037
  }
2038
2038
  },
2039
2039
  size: {
2040
- xs: {
2041
- input: "[&>input]:text-sm"
2042
- },
2043
- sm: {
2044
- input: "[&>input]:text-sm"
2045
- },
2046
- md: {
2047
- input: "[&>input]:text-base/5"
2048
- },
2049
- lg: {
2050
- input: "[&>input]:text-base/5"
2051
- },
2052
- xl: {
2053
- input: "[&>input]:text-lg"
2054
- }
2040
+ xs: {},
2041
+ sm: {},
2042
+ md: {},
2043
+ lg: {},
2044
+ xl: {}
2055
2045
  }
2056
2046
  },
2057
2047
  defaultVariants: {
@@ -2430,10 +2420,10 @@ const editor = (options) => ({
2430
2420
  variants: {
2431
2421
  placeholderMode: {
2432
2422
  firstLine: {
2433
- base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:float-left [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:pointer-events-none"
2423
+ base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:float-start [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:pointer-events-none"
2434
2424
  },
2435
2425
  everyLine: {
2436
- base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:float-left [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:pointer-events-none"
2426
+ base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:float-start [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:pointer-events-none"
2437
2427
  }
2438
2428
  }
2439
2429
  },
@@ -2933,7 +2923,7 @@ const input = (options) => ({
2933
2923
  ...fieldGroupVariantWithRoot,
2934
2924
  size: {
2935
2925
  xs: {
2936
- base: "px-2 py-1 text-xs gap-1",
2926
+ base: "px-2 py-1 text-sm/4 gap-1",
2937
2927
  leading: "ps-2",
2938
2928
  trailing: "pe-2",
2939
2929
  leadingIcon: "size-4",
@@ -2941,7 +2931,7 @@ const input = (options) => ({
2941
2931
  trailingIcon: "size-4"
2942
2932
  },
2943
2933
  sm: {
2944
- base: "px-2.5 py-1.5 text-xs gap-1.5",
2934
+ base: "px-2.5 py-1.5 text-sm/4 gap-1.5",
2945
2935
  leading: "ps-2.5",
2946
2936
  trailing: "pe-2.5",
2947
2937
  leadingIcon: "size-4",
@@ -2949,7 +2939,7 @@ const input = (options) => ({
2949
2939
  trailingIcon: "size-4"
2950
2940
  },
2951
2941
  md: {
2952
- base: "px-2.5 py-1.5 text-sm gap-1.5",
2942
+ base: "px-2.5 py-1.5 text-base/5 gap-1.5",
2953
2943
  leading: "ps-2.5",
2954
2944
  trailing: "pe-2.5",
2955
2945
  leadingIcon: "size-5",
@@ -2957,7 +2947,7 @@ const input = (options) => ({
2957
2947
  trailingIcon: "size-5"
2958
2948
  },
2959
2949
  lg: {
2960
- base: "px-3 py-2 text-sm gap-2",
2950
+ base: "px-3 py-2 text-base/5 gap-2",
2961
2951
  leading: "ps-3",
2962
2952
  trailing: "pe-3",
2963
2953
  leadingIcon: "size-5",
@@ -2996,6 +2986,9 @@ const input = (options) => ({
2996
2986
  highlight: {
2997
2987
  true: ""
2998
2988
  },
2989
+ fixed: {
2990
+ false: ""
2991
+ },
2999
2992
  type: {
3000
2993
  file: "file:me-1.5 file:font-medium file:text-muted file:outline-none"
3001
2994
  }
@@ -3069,6 +3062,22 @@ const input = (options) => ({
3069
3062
  class: {
3070
3063
  trailingIcon: "animate-spin"
3071
3064
  }
3065
+ }, {
3066
+ fixed: false,
3067
+ size: "xs",
3068
+ class: "md:text-xs"
3069
+ }, {
3070
+ fixed: false,
3071
+ size: "sm",
3072
+ class: "md:text-xs"
3073
+ }, {
3074
+ fixed: false,
3075
+ size: "md",
3076
+ class: "md:text-sm"
3077
+ }, {
3078
+ fixed: false,
3079
+ size: "lg",
3080
+ class: "md:text-sm"
3072
3081
  }],
3073
3082
  defaultVariants: {
3074
3083
  size: "md",
@@ -3143,7 +3152,7 @@ const inputMenu = (options) => {
3143
3152
  return defuFn({
3144
3153
  slots: {
3145
3154
  base: () => ["rounded-md", options.theme.transitions && "transition-colors"],
3146
- trailing: "group absolute inset-y-0 end-0 flex items-center disabled:cursor-not-allowed disabled:opacity-75",
3155
+ trailing: "group absolute inset-y-0 end-0 flex items-center disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none",
3147
3156
  trailingClear: "p-0",
3148
3157
  arrow: "fill-default",
3149
3158
  content: "max-h-60 w-(--reka-combobox-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-combobox-content-transform-origin) pointer-events-auto flex flex-col",
@@ -3287,10 +3296,10 @@ const inputNumber = (options) => {
3287
3296
  neutral: ""
3288
3297
  },
3289
3298
  size: {
3290
- xs: "px-2 py-1 text-xs gap-1",
3291
- sm: "px-2.5 py-1.5 text-xs gap-1.5",
3292
- md: "px-2.5 py-1.5 text-sm gap-1.5",
3293
- lg: "px-3 py-2 text-sm gap-2",
3299
+ xs: "px-2 py-1 text-sm/4 gap-1",
3300
+ sm: "px-2.5 py-1.5 text-sm/4 gap-1.5",
3301
+ md: "px-2.5 py-1.5 text-base/5 gap-1.5",
3302
+ lg: "px-3 py-2 text-base/5 gap-2",
3294
3303
  xl: "px-3 py-2 text-base gap-2"
3295
3304
  },
3296
3305
  variant: {
@@ -3316,6 +3325,9 @@ const inputNumber = (options) => {
3316
3325
  highlight: {
3317
3326
  true: ""
3318
3327
  },
3328
+ fixed: {
3329
+ false: ""
3330
+ },
3319
3331
  increment: {
3320
3332
  false: ""
3321
3333
  },
@@ -3383,6 +3395,22 @@ const inputNumber = (options) => {
3383
3395
  increment: true,
3384
3396
  size: "xl",
3385
3397
  class: "pe-11"
3398
+ }, {
3399
+ fixed: false,
3400
+ size: "xs",
3401
+ class: "md:text-xs"
3402
+ }, {
3403
+ fixed: false,
3404
+ size: "sm",
3405
+ class: "md:text-xs"
3406
+ }, {
3407
+ fixed: false,
3408
+ size: "md",
3409
+ class: "md:text-sm"
3410
+ }, {
3411
+ fixed: false,
3412
+ size: "lg",
3413
+ class: "md:text-sm"
3386
3414
  }],
3387
3415
  defaultVariants: {
3388
3416
  size: "md",
@@ -3707,6 +3735,7 @@ const navigationMenu = (options) => ({
3707
3735
  linkLeadingIcon: "shrink-0 size-5",
3708
3736
  linkLeadingAvatar: "shrink-0",
3709
3737
  linkLeadingAvatarSize: "2xs",
3738
+ linkLeadingChipSize: "sm",
3710
3739
  linkTrailing: "group ms-auto inline-flex gap-1.5 items-center",
3711
3740
  linkTrailingBadge: "shrink-0",
3712
3741
  linkTrailingBadgeSize: "sm",
@@ -4502,16 +4531,16 @@ const pinInput = (options) => ({
4502
4531
  variants: {
4503
4532
  size: {
4504
4533
  xs: {
4505
- base: "size-6 text-xs"
4534
+ base: "size-6 text-sm/4"
4506
4535
  },
4507
4536
  sm: {
4508
- base: "size-7 text-xs"
4537
+ base: "size-7 text-sm/4"
4509
4538
  },
4510
4539
  md: {
4511
- base: "size-8 text-sm"
4540
+ base: "size-8 text-base/5"
4512
4541
  },
4513
4542
  lg: {
4514
- base: "size-9 text-sm"
4543
+ base: "size-9 text-base/5"
4515
4544
  },
4516
4545
  xl: {
4517
4546
  base: "size-10 text-base"
@@ -4530,6 +4559,9 @@ const pinInput = (options) => ({
4530
4559
  },
4531
4560
  highlight: {
4532
4561
  true: ""
4562
+ },
4563
+ fixed: {
4564
+ false: ""
4533
4565
  }
4534
4566
  },
4535
4567
  compoundVariants: [...(options.theme.colors || []).map((color) => ({
@@ -4548,6 +4580,22 @@ const pinInput = (options) => ({
4548
4580
  color: "neutral",
4549
4581
  highlight: true,
4550
4582
  class: "ring ring-inset ring-inverted"
4583
+ }, {
4584
+ fixed: false,
4585
+ size: "xs",
4586
+ class: "md:text-xs"
4587
+ }, {
4588
+ fixed: false,
4589
+ size: "sm",
4590
+ class: "md:text-xs"
4591
+ }, {
4592
+ fixed: false,
4593
+ size: "md",
4594
+ class: "md:text-sm"
4595
+ }, {
4596
+ fixed: false,
4597
+ size: "lg",
4598
+ class: "md:text-sm"
4551
4599
  }],
4552
4600
  defaultVariants: {
4553
4601
  size: "md",
@@ -4570,7 +4618,7 @@ const pricingPlan = {
4570
4618
  body: "flex flex-col min-w-0",
4571
4619
  footer: "flex flex-col gap-6 items-center",
4572
4620
  titleWrapper: "flex items-center gap-3",
4573
- title: "text-highlighted text-2xl sm:text-3xl text-pretty font-semibold",
4621
+ title: "text-highlighted truncate text-2xl sm:text-3xl text-pretty font-semibold",
4574
4622
  description: "text-muted text-base text-pretty mt-2",
4575
4623
  priceWrapper: "flex items-center gap-1",
4576
4624
  price: "text-highlighted text-3xl sm:text-4xl font-semibold",
@@ -5167,8 +5215,14 @@ const select = (options) => {
5167
5215
  },
5168
5216
  variants: {
5169
5217
  ...fieldGroupVariant,
5218
+ variant: (prev) => ({
5219
+ ...prev,
5220
+ outline: [prev.outline, "hover:bg-elevated disabled:bg-default"].join(" "),
5221
+ subtle: [prev.subtle, "hover:bg-accented/75 disabled:bg-elevated"].join(" ")
5222
+ }),
5170
5223
  size: {
5171
5224
  xs: {
5225
+ base: "px-2 py-1 text-xs gap-1",
5172
5226
  label: "p-1 text-[10px]/3 gap-1",
5173
5227
  item: "p-1 text-xs gap-1",
5174
5228
  itemLeadingIcon: "size-4",
@@ -5179,6 +5233,7 @@ const select = (options) => {
5179
5233
  empty: "p-1 text-xs"
5180
5234
  },
5181
5235
  sm: {
5236
+ base: "px-2.5 py-1.5 text-xs gap-1.5",
5182
5237
  label: "p-1.5 text-[10px]/3 gap-1.5",
5183
5238
  item: "p-1.5 text-xs gap-1.5",
5184
5239
  itemLeadingIcon: "size-4",
@@ -5189,6 +5244,7 @@ const select = (options) => {
5189
5244
  empty: "p-1.5 text-xs"
5190
5245
  },
5191
5246
  md: {
5247
+ base: "px-2.5 py-1.5 text-sm gap-1.5",
5192
5248
  label: "p-1.5 text-xs gap-1.5",
5193
5249
  item: "p-1.5 text-sm gap-1.5",
5194
5250
  itemLeadingIcon: "size-5",
@@ -5199,6 +5255,7 @@ const select = (options) => {
5199
5255
  empty: "p-1.5 text-sm"
5200
5256
  },
5201
5257
  lg: {
5258
+ base: "px-3 py-2 text-sm gap-2",
5202
5259
  label: "p-2 text-xs gap-2",
5203
5260
  item: "p-2 text-sm gap-2",
5204
5261
  itemLeadingIcon: "size-5",
@@ -5209,6 +5266,7 @@ const select = (options) => {
5209
5266
  empty: "p-2 text-sm"
5210
5267
  },
5211
5268
  xl: {
5269
+ base: "px-3 py-2 text-base gap-2",
5212
5270
  label: "p-2 text-sm gap-2",
5213
5271
  item: "p-2 text-base gap-2",
5214
5272
  itemLeadingIcon: "size-6",
@@ -6307,7 +6365,7 @@ const toast = (options) => ({
6307
6365
  const toaster = {
6308
6366
  slots: {
6309
6367
  viewport: "fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",
6310
- base: "pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"
6368
+ base: "pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_300ms_ease-out] data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_300ms_ease-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"
6311
6369
  },
6312
6370
  variants: {
6313
6371
  position: {
@@ -6341,13 +6399,13 @@ const toaster = {
6341
6399
  position: ["top-left", "top-center", "top-right"],
6342
6400
  class: {
6343
6401
  viewport: "top-4",
6344
- base: "top-0 data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out]"
6402
+ base: "top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_ease-in-out]"
6345
6403
  }
6346
6404
  }, {
6347
6405
  position: ["bottom-left", "bottom-center", "bottom-right"],
6348
6406
  class: {
6349
6407
  viewport: "bottom-4",
6350
- base: "bottom-0 data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out]"
6408
+ base: "bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_ease-in-out]"
6351
6409
  }
6352
6410
  }, {
6353
6411
  swipeDirection: ["left", "right"],
@@ -7347,21 +7405,11 @@ const contentSearch = {
7347
7405
  }
7348
7406
  },
7349
7407
  size: {
7350
- xs: {
7351
- input: "[&>input]:text-sm"
7352
- },
7353
- sm: {
7354
- input: "[&>input]:text-sm"
7355
- },
7356
- md: {
7357
- input: "[&>input]:text-base/5"
7358
- },
7359
- lg: {
7360
- input: "[&>input]:text-base/5"
7361
- },
7362
- xl: {
7363
- input: "[&>input]:text-lg"
7364
- }
7408
+ xs: {},
7409
+ sm: {},
7410
+ md: {},
7411
+ lg: {},
7412
+ xl: {}
7365
7413
  }
7366
7414
  },
7367
7415
  defaultVariants: {
@@ -7705,7 +7753,7 @@ import colors from 'tailwindcss/colors'
7705
7753
 
7706
7754
  type IconsConfig = Record<${iconUnion} | (string & {}), string>
7707
7755
 
7708
- type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone'
7756
+ type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'taupe' | 'mauve' | 'mist' | 'olive'
7709
7757
  type Color = Exclude<keyof typeof colors, 'inherit' | 'current' | 'transparent' | 'black' | 'white' | NeutralColor> | (string & {})
7710
7758
 
7711
7759
  type AppConfigUI = {
@@ -53,7 +53,7 @@ declare const _default: {
53
53
  warning: string;
54
54
  };
55
55
 
56
- type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone';
56
+ type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | 'taupe' | 'mauve' | 'mist' | 'olive';
57
57
  type Color = Exclude<keyof typeof colors, 'inherit' | 'current' | 'transparent' | 'black' | 'white' | NeutralColor> | (string & {});
58
58
  type AppConfigUI = {
59
59
  colors?: Record<string, Color> & {
package/dist/unplugin.mjs CHANGED
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
3
3
  import { createUnplugin } from 'unplugin';
4
4
  import { defu } from 'defu';
5
5
  import tailwind from '@tailwindcss/vite';
6
- import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultConfig } from './shared/ui.Ddb3hKxo.mjs';
6
+ import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultConfig } from './shared/ui.BrgdrRzy.mjs';
7
7
  import fs from 'node:fs';
8
8
  import path from 'node:path';
9
9
  import MagicString from 'magic-string';