@eslamdevui/ui 4.1.1-rc.2 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (695) hide show
  1. package/.nuxt/ui.css +8 -0
  2. package/README.md +2 -1
  3. package/cli/templates.mjs +2 -2
  4. package/dist/module.d.mts +10 -0
  5. package/dist/module.json +1 -1
  6. package/dist/module.mjs +9 -9
  7. package/dist/runtime/components/Accordion.d.vue.ts +10 -6
  8. package/dist/runtime/components/Accordion.vue +10 -9
  9. package/dist/runtime/components/Accordion.vue.d.ts +10 -6
  10. package/dist/runtime/components/Alert.d.vue.ts +4 -4
  11. package/dist/runtime/components/Alert.vue +11 -10
  12. package/dist/runtime/components/Alert.vue.d.ts +4 -4
  13. package/dist/runtime/components/App.d.vue.ts +11 -7
  14. package/dist/runtime/components/App.vue +2 -1
  15. package/dist/runtime/components/App.vue.d.ts +11 -7
  16. package/dist/runtime/components/AuthForm.d.vue.ts +22 -17
  17. package/dist/runtime/components/AuthForm.vue +29 -21
  18. package/dist/runtime/components/AuthForm.vue.d.ts +22 -17
  19. package/dist/runtime/components/Avatar.d.vue.ts +4 -3
  20. package/dist/runtime/components/Avatar.vue +5 -3
  21. package/dist/runtime/components/Avatar.vue.d.ts +4 -3
  22. package/dist/runtime/components/AvatarGroup.d.vue.ts +1 -1
  23. package/dist/runtime/components/AvatarGroup.vue +3 -3
  24. package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
  25. package/dist/runtime/components/Badge.d.vue.ts +2 -2
  26. package/dist/runtime/components/Badge.vue +8 -8
  27. package/dist/runtime/components/Badge.vue.d.ts +2 -2
  28. package/dist/runtime/components/Banner.d.vue.ts +4 -4
  29. package/dist/runtime/components/Banner.vue +11 -10
  30. package/dist/runtime/components/Banner.vue.d.ts +4 -4
  31. package/dist/runtime/components/BlogPost.d.vue.ts +2 -2
  32. package/dist/runtime/components/BlogPost.vue +19 -11
  33. package/dist/runtime/components/BlogPost.vue.d.ts +2 -2
  34. package/dist/runtime/components/BlogPosts.d.vue.ts +10 -6
  35. package/dist/runtime/components/BlogPosts.vue.d.ts +10 -6
  36. package/dist/runtime/components/Breadcrumb.d.vue.ts +10 -6
  37. package/dist/runtime/components/Breadcrumb.vue +10 -10
  38. package/dist/runtime/components/Breadcrumb.vue.d.ts +10 -6
  39. package/dist/runtime/components/Button.d.vue.ts +1 -1
  40. package/dist/runtime/components/Button.vue +10 -8
  41. package/dist/runtime/components/Button.vue.d.ts +1 -1
  42. package/dist/runtime/components/Calendar.d.vue.ts +15 -11
  43. package/dist/runtime/components/Calendar.vue +16 -12
  44. package/dist/runtime/components/Calendar.vue.d.ts +15 -11
  45. package/dist/runtime/components/Card.d.vue.ts +1 -1
  46. package/dist/runtime/components/Card.vue +4 -4
  47. package/dist/runtime/components/Card.vue.d.ts +1 -1
  48. package/dist/runtime/components/Carousel.d.vue.ts +13 -9
  49. package/dist/runtime/components/Carousel.vue +34 -7
  50. package/dist/runtime/components/Carousel.vue.d.ts +13 -9
  51. package/dist/runtime/components/ChangelogVersion.d.vue.ts +2 -2
  52. package/dist/runtime/components/ChangelogVersion.vue +22 -15
  53. package/dist/runtime/components/ChangelogVersion.vue.d.ts +2 -2
  54. package/dist/runtime/components/ChangelogVersions.d.vue.ts +10 -6
  55. package/dist/runtime/components/ChangelogVersions.vue +4 -4
  56. package/dist/runtime/components/ChangelogVersions.vue.d.ts +10 -6
  57. package/dist/runtime/components/ChatMessage.d.vue.ts +2 -2
  58. package/dist/runtime/components/ChatMessage.vue +8 -8
  59. package/dist/runtime/components/ChatMessage.vue.d.ts +2 -2
  60. package/dist/runtime/components/ChatMessages.d.vue.ts +5 -5
  61. package/dist/runtime/components/ChatMessages.vue +5 -3
  62. package/dist/runtime/components/ChatMessages.vue.d.ts +5 -5
  63. package/dist/runtime/components/ChatPalette.d.vue.ts +1 -1
  64. package/dist/runtime/components/ChatPalette.vue +3 -3
  65. package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
  66. package/dist/runtime/components/ChatPrompt.d.vue.ts +5 -8
  67. package/dist/runtime/components/ChatPrompt.vue +23 -14
  68. package/dist/runtime/components/ChatPrompt.vue.d.ts +5 -8
  69. package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +10 -10
  70. package/dist/runtime/components/ChatPromptSubmit.vue +42 -14
  71. package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +10 -10
  72. package/dist/runtime/components/Checkbox.d.vue.ts +4 -3
  73. package/dist/runtime/components/Checkbox.vue +11 -10
  74. package/dist/runtime/components/Checkbox.vue.d.ts +4 -3
  75. package/dist/runtime/components/CheckboxGroup.d.vue.ts +10 -6
  76. package/dist/runtime/components/CheckboxGroup.vue +8 -5
  77. package/dist/runtime/components/CheckboxGroup.vue.d.ts +10 -6
  78. package/dist/runtime/components/Chip.d.vue.ts +2 -2
  79. package/dist/runtime/components/Chip.vue +2 -2
  80. package/dist/runtime/components/Chip.vue.d.ts +2 -2
  81. package/dist/runtime/components/Collapsible.d.vue.ts +2 -2
  82. package/dist/runtime/components/Collapsible.vue +2 -2
  83. package/dist/runtime/components/Collapsible.vue.d.ts +2 -2
  84. package/dist/runtime/components/ColorPicker.d.vue.ts +2 -2
  85. package/dist/runtime/components/ColorPicker.vue +7 -3
  86. package/dist/runtime/components/ColorPicker.vue.d.ts +2 -2
  87. package/dist/runtime/components/CommandPalette.d.vue.ts +13 -9
  88. package/dist/runtime/components/CommandPalette.vue +69 -44
  89. package/dist/runtime/components/CommandPalette.vue.d.ts +13 -9
  90. package/dist/runtime/components/Container.d.vue.ts +1 -1
  91. package/dist/runtime/components/Container.vue.d.ts +1 -1
  92. package/dist/runtime/components/ContextMenu.d.vue.ts +16 -8
  93. package/dist/runtime/components/ContextMenu.vue +3 -3
  94. package/dist/runtime/components/ContextMenu.vue.d.ts +16 -8
  95. package/dist/runtime/components/ContextMenuContent.d.vue.ts +10 -6
  96. package/dist/runtime/components/ContextMenuContent.vue +24 -22
  97. package/dist/runtime/components/ContextMenuContent.vue.d.ts +10 -6
  98. package/dist/runtime/components/DashboardGroup.d.vue.ts +2 -2
  99. package/dist/runtime/components/DashboardGroup.vue.d.ts +2 -2
  100. package/dist/runtime/components/DashboardNavbar.d.vue.ts +5 -5
  101. package/dist/runtime/components/DashboardNavbar.vue +8 -7
  102. package/dist/runtime/components/DashboardNavbar.vue.d.ts +5 -5
  103. package/dist/runtime/components/DashboardPanel.d.vue.ts +2 -2
  104. package/dist/runtime/components/DashboardPanel.vue +3 -1
  105. package/dist/runtime/components/DashboardPanel.vue.d.ts +2 -2
  106. package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +1 -1
  107. package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +1 -1
  108. package/dist/runtime/components/DashboardSearch.d.vue.ts +6 -6
  109. package/dist/runtime/components/DashboardSearch.vue +5 -4
  110. package/dist/runtime/components/DashboardSearch.vue.d.ts +6 -6
  111. package/dist/runtime/components/DashboardSearchButton.d.vue.ts +4 -5
  112. package/dist/runtime/components/DashboardSearchButton.vue +29 -10
  113. package/dist/runtime/components/DashboardSearchButton.vue.d.ts +4 -5
  114. package/dist/runtime/components/DashboardSidebar.d.vue.ts +12 -8
  115. package/dist/runtime/components/DashboardSidebar.vue +9 -6
  116. package/dist/runtime/components/DashboardSidebar.vue.d.ts +12 -8
  117. package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +9 -6
  118. package/dist/runtime/components/DashboardSidebarCollapse.vue +32 -7
  119. package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +9 -6
  120. package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +9 -6
  121. package/dist/runtime/components/DashboardSidebarToggle.vue +33 -7
  122. package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +9 -6
  123. package/dist/runtime/components/DashboardToolbar.d.vue.ts +1 -1
  124. package/dist/runtime/components/DashboardToolbar.vue +3 -3
  125. package/dist/runtime/components/DashboardToolbar.vue.d.ts +1 -1
  126. package/dist/runtime/components/Drawer.d.vue.ts +2 -2
  127. package/dist/runtime/components/Drawer.vue +9 -9
  128. package/dist/runtime/components/Drawer.vue.d.ts +2 -2
  129. package/dist/runtime/components/DropdownMenu.d.vue.ts +16 -8
  130. package/dist/runtime/components/DropdownMenu.vue +4 -4
  131. package/dist/runtime/components/DropdownMenu.vue.d.ts +16 -8
  132. package/dist/runtime/components/DropdownMenuContent.d.vue.ts +10 -6
  133. package/dist/runtime/components/DropdownMenuContent.vue +24 -22
  134. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +10 -6
  135. package/dist/runtime/components/Editor.d.vue.ts +89 -0
  136. package/dist/runtime/components/Editor.vue +185 -0
  137. package/dist/runtime/components/Editor.vue.d.ts +89 -0
  138. package/dist/runtime/components/EditorDragHandle.d.vue.ts +68 -0
  139. package/dist/runtime/components/EditorDragHandle.vue +127 -0
  140. package/dist/runtime/components/EditorDragHandle.vue.d.ts +68 -0
  141. package/dist/runtime/components/EditorEmojiMenu.d.vue.ts +37 -0
  142. package/dist/runtime/components/EditorEmojiMenu.vue +70 -0
  143. package/dist/runtime/components/EditorEmojiMenu.vue.d.ts +37 -0
  144. package/dist/runtime/components/EditorMentionMenu.d.vue.ts +41 -0
  145. package/dist/runtime/components/EditorMentionMenu.vue +72 -0
  146. package/dist/runtime/components/EditorMentionMenu.vue.d.ts +41 -0
  147. package/dist/runtime/components/EditorSuggestionMenu.d.vue.ts +54 -0
  148. package/dist/runtime/components/EditorSuggestionMenu.vue +80 -0
  149. package/dist/runtime/components/EditorSuggestionMenu.vue.d.ts +54 -0
  150. package/dist/runtime/components/EditorToolbar.d.vue.ts +92 -0
  151. package/dist/runtime/components/EditorToolbar.vue +242 -0
  152. package/dist/runtime/components/EditorToolbar.vue.d.ts +92 -0
  153. package/dist/runtime/components/Empty.d.vue.ts +1 -1
  154. package/dist/runtime/components/Empty.vue +9 -9
  155. package/dist/runtime/components/Empty.vue.d.ts +1 -1
  156. package/dist/runtime/components/Error.d.vue.ts +4 -4
  157. package/dist/runtime/components/Error.vue +5 -5
  158. package/dist/runtime/components/Error.vue.d.ts +4 -4
  159. package/dist/runtime/components/FieldGroup.d.vue.ts +2 -2
  160. package/dist/runtime/components/FieldGroup.vue.d.ts +2 -2
  161. package/dist/runtime/components/FileUpload.d.vue.ts +20 -10
  162. package/dist/runtime/components/FileUpload.vue +37 -27
  163. package/dist/runtime/components/FileUpload.vue.d.ts +20 -10
  164. package/dist/runtime/components/Footer.d.vue.ts +2 -2
  165. package/dist/runtime/components/Footer.vue +7 -7
  166. package/dist/runtime/components/Footer.vue.d.ts +2 -2
  167. package/dist/runtime/components/FooterColumns.d.vue.ts +10 -6
  168. package/dist/runtime/components/FooterColumns.vue +11 -11
  169. package/dist/runtime/components/FooterColumns.vue.d.ts +10 -6
  170. package/dist/runtime/components/Form.d.vue.ts +13 -8
  171. package/dist/runtime/components/Form.vue +3 -4
  172. package/dist/runtime/components/Form.vue.d.ts +13 -8
  173. package/dist/runtime/components/FormField.d.vue.ts +8 -1
  174. package/dist/runtime/components/FormField.vue +12 -11
  175. package/dist/runtime/components/FormField.vue.d.ts +8 -1
  176. package/dist/runtime/components/Header.d.vue.ts +12 -8
  177. package/dist/runtime/components/Header.vue +9 -8
  178. package/dist/runtime/components/Header.vue.d.ts +12 -8
  179. package/dist/runtime/components/Icon.d.vue.ts +2 -2
  180. package/dist/runtime/components/Icon.vue +1 -1
  181. package/dist/runtime/components/Icon.vue.d.ts +2 -2
  182. package/dist/runtime/components/Input.d.vue.ts +14 -10
  183. package/dist/runtime/components/Input.vue +13 -12
  184. package/dist/runtime/components/Input.vue.d.ts +14 -10
  185. package/dist/runtime/components/InputDate.d.vue.ts +87 -0
  186. package/dist/runtime/components/InputDate.vue +161 -0
  187. package/dist/runtime/components/InputDate.vue.d.ts +87 -0
  188. package/dist/runtime/components/InputMenu.d.vue.ts +17 -132
  189. package/dist/runtime/components/InputMenu.vue +70 -49
  190. package/dist/runtime/components/InputMenu.vue.d.ts +17 -132
  191. package/dist/runtime/components/InputNumber.d.vue.ts +26 -129
  192. package/dist/runtime/components/InputNumber.vue +10 -11
  193. package/dist/runtime/components/InputNumber.vue.d.ts +26 -129
  194. package/dist/runtime/components/InputTags.d.vue.ts +13 -112
  195. package/dist/runtime/components/InputTags.vue +24 -20
  196. package/dist/runtime/components/InputTags.vue.d.ts +13 -112
  197. package/dist/runtime/components/InputTime.d.vue.ts +72 -0
  198. package/dist/runtime/components/InputTime.vue +137 -0
  199. package/dist/runtime/components/InputTime.vue.d.ts +72 -0
  200. package/dist/runtime/components/Kbd.d.vue.ts +2 -2
  201. package/dist/runtime/components/Kbd.vue.d.ts +2 -2
  202. package/dist/runtime/components/Link.d.vue.ts +15 -5
  203. package/dist/runtime/components/Link.vue +1 -0
  204. package/dist/runtime/components/Link.vue.d.ts +15 -5
  205. package/dist/runtime/components/LinkBase.d.vue.ts +2 -2
  206. package/dist/runtime/components/LinkBase.vue.d.ts +2 -2
  207. package/dist/runtime/components/Main.d.vue.ts +1 -1
  208. package/dist/runtime/components/Main.vue.d.ts +1 -1
  209. package/dist/runtime/components/Marquee.d.vue.ts +7 -2
  210. package/dist/runtime/components/Marquee.vue +5 -6
  211. package/dist/runtime/components/Marquee.vue.d.ts +7 -2
  212. package/dist/runtime/components/Modal.d.vue.ts +10 -5
  213. package/dist/runtime/components/Modal.vue +53 -17
  214. package/dist/runtime/components/Modal.vue.d.ts +10 -5
  215. package/dist/runtime/components/NavigationMenu.d.vue.ts +51 -12
  216. package/dist/runtime/components/NavigationMenu.vue +127 -113
  217. package/dist/runtime/components/NavigationMenu.vue.d.ts +51 -12
  218. package/dist/runtime/components/Page.d.vue.ts +1 -1
  219. package/dist/runtime/components/Page.vue +4 -4
  220. package/dist/runtime/components/Page.vue.d.ts +1 -1
  221. package/dist/runtime/components/PageAnchors.d.vue.ts +10 -6
  222. package/dist/runtime/components/PageAnchors.vue +8 -8
  223. package/dist/runtime/components/PageAnchors.vue.d.ts +10 -6
  224. package/dist/runtime/components/PageAside.d.vue.ts +2 -2
  225. package/dist/runtime/components/PageAside.vue +6 -6
  226. package/dist/runtime/components/PageAside.vue.d.ts +2 -2
  227. package/dist/runtime/components/PageBody.d.vue.ts +1 -1
  228. package/dist/runtime/components/PageBody.vue.d.ts +1 -1
  229. package/dist/runtime/components/PageCTA.d.vue.ts +2 -2
  230. package/dist/runtime/components/PageCTA.vue +9 -9
  231. package/dist/runtime/components/PageCTA.vue.d.ts +2 -2
  232. package/dist/runtime/components/PageCard.d.vue.ts +2 -2
  233. package/dist/runtime/components/PageCard.vue +12 -11
  234. package/dist/runtime/components/PageCard.vue.d.ts +2 -2
  235. package/dist/runtime/components/PageColumns.d.vue.ts +1 -1
  236. package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
  237. package/dist/runtime/components/PageFeature.d.vue.ts +2 -2
  238. package/dist/runtime/components/PageFeature.vue +9 -9
  239. package/dist/runtime/components/PageFeature.vue.d.ts +2 -2
  240. package/dist/runtime/components/PageGrid.d.vue.ts +1 -1
  241. package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
  242. package/dist/runtime/components/PageHeader.d.vue.ts +1 -1
  243. package/dist/runtime/components/PageHeader.vue +7 -7
  244. package/dist/runtime/components/PageHeader.vue.d.ts +1 -1
  245. package/dist/runtime/components/PageHero.d.vue.ts +2 -2
  246. package/dist/runtime/components/PageHero.vue +10 -10
  247. package/dist/runtime/components/PageHero.vue.d.ts +2 -2
  248. package/dist/runtime/components/PageLinks.d.vue.ts +10 -6
  249. package/dist/runtime/components/PageLinks.vue +8 -8
  250. package/dist/runtime/components/PageLinks.vue.d.ts +10 -6
  251. package/dist/runtime/components/PageList.d.vue.ts +2 -2
  252. package/dist/runtime/components/PageList.vue.d.ts +2 -2
  253. package/dist/runtime/components/PageLogos.d.vue.ts +2 -2
  254. package/dist/runtime/components/PageLogos.vue +6 -3
  255. package/dist/runtime/components/PageLogos.vue.d.ts +2 -2
  256. package/dist/runtime/components/PageSection.d.vue.ts +2 -2
  257. package/dist/runtime/components/PageSection.vue +14 -14
  258. package/dist/runtime/components/PageSection.vue.d.ts +2 -2
  259. package/dist/runtime/components/Pagination.d.vue.ts +2 -3
  260. package/dist/runtime/components/Pagination.vue +13 -13
  261. package/dist/runtime/components/Pagination.vue.d.ts +2 -3
  262. package/dist/runtime/components/PinInput.d.vue.ts +10 -6
  263. package/dist/runtime/components/PinInput.vue +3 -1
  264. package/dist/runtime/components/PinInput.vue.d.ts +10 -6
  265. package/dist/runtime/components/Popover.d.vue.ts +10 -6
  266. package/dist/runtime/components/Popover.vue +2 -2
  267. package/dist/runtime/components/Popover.vue.d.ts +10 -6
  268. package/dist/runtime/components/PricingPlan.d.vue.ts +2 -2
  269. package/dist/runtime/components/PricingPlan.vue +28 -21
  270. package/dist/runtime/components/PricingPlan.vue.d.ts +2 -2
  271. package/dist/runtime/components/PricingPlans.d.vue.ts +10 -6
  272. package/dist/runtime/components/PricingPlans.vue.d.ts +10 -6
  273. package/dist/runtime/components/PricingTable.d.vue.ts +10 -6
  274. package/dist/runtime/components/PricingTable.vue +35 -31
  275. package/dist/runtime/components/PricingTable.vue.d.ts +10 -6
  276. package/dist/runtime/components/Progress.d.vue.ts +3 -3
  277. package/dist/runtime/components/Progress.vue +6 -6
  278. package/dist/runtime/components/Progress.vue.d.ts +3 -3
  279. package/dist/runtime/components/RadioGroup.d.vue.ts +14 -10
  280. package/dist/runtime/components/RadioGroup.vue +13 -11
  281. package/dist/runtime/components/RadioGroup.vue.d.ts +14 -10
  282. package/dist/runtime/components/ScrollArea.d.vue.ts +83 -0
  283. package/dist/runtime/components/ScrollArea.vue +187 -0
  284. package/dist/runtime/components/ScrollArea.vue.d.ts +83 -0
  285. package/dist/runtime/components/Select.d.vue.ts +15 -110
  286. package/dist/runtime/components/Select.vue +45 -29
  287. package/dist/runtime/components/Select.vue.d.ts +15 -110
  288. package/dist/runtime/components/SelectMenu.d.vue.ts +17 -110
  289. package/dist/runtime/components/SelectMenu.vue +73 -46
  290. package/dist/runtime/components/SelectMenu.vue.d.ts +17 -110
  291. package/dist/runtime/components/Separator.d.vue.ts +2 -2
  292. package/dist/runtime/components/Separator.vue +8 -8
  293. package/dist/runtime/components/Separator.vue.d.ts +2 -2
  294. package/dist/runtime/components/Skeleton.d.vue.ts +2 -2
  295. package/dist/runtime/components/Skeleton.vue.d.ts +2 -2
  296. package/dist/runtime/components/Slideover.d.vue.ts +10 -5
  297. package/dist/runtime/components/Slideover.vue +13 -9
  298. package/dist/runtime/components/Slideover.vue.d.ts +10 -5
  299. package/dist/runtime/components/Slider.d.vue.ts +10 -6
  300. package/dist/runtime/components/Slider.vue +5 -4
  301. package/dist/runtime/components/Slider.vue.d.ts +10 -6
  302. package/dist/runtime/components/Stepper.d.vue.ts +10 -6
  303. package/dist/runtime/components/Stepper.vue +12 -10
  304. package/dist/runtime/components/Stepper.vue.d.ts +10 -6
  305. package/dist/runtime/components/Switch.d.vue.ts +4 -3
  306. package/dist/runtime/components/Switch.vue +13 -12
  307. package/dist/runtime/components/Switch.vue.d.ts +4 -3
  308. package/dist/runtime/components/Table.d.vue.ts +19 -13
  309. package/dist/runtime/components/Table.vue +91 -50
  310. package/dist/runtime/components/Table.vue.d.ts +19 -13
  311. package/dist/runtime/components/Tabs.d.vue.ts +10 -6
  312. package/dist/runtime/components/Tabs.vue +10 -7
  313. package/dist/runtime/components/Tabs.vue.d.ts +10 -6
  314. package/dist/runtime/components/Textarea.d.vue.ts +14 -9
  315. package/dist/runtime/components/Textarea.vue +13 -12
  316. package/dist/runtime/components/Textarea.vue.d.ts +14 -9
  317. package/dist/runtime/components/Timeline.d.vue.ts +10 -6
  318. package/dist/runtime/components/Timeline.vue +16 -7
  319. package/dist/runtime/components/Timeline.vue.d.ts +10 -6
  320. package/dist/runtime/components/Toast.d.vue.ts +5 -5
  321. package/dist/runtime/components/Toast.vue +17 -14
  322. package/dist/runtime/components/Toast.vue.d.ts +5 -5
  323. package/dist/runtime/components/Toaster.d.vue.ts +3 -3
  324. package/dist/runtime/components/Toaster.vue +2 -0
  325. package/dist/runtime/components/Toaster.vue.d.ts +3 -3
  326. package/dist/runtime/components/Tooltip.d.vue.ts +2 -2
  327. package/dist/runtime/components/Tooltip.vue +4 -4
  328. package/dist/runtime/components/Tooltip.vue.d.ts +2 -2
  329. package/dist/runtime/components/Tree.d.vue.ts +11 -7
  330. package/dist/runtime/components/Tree.vue +21 -14
  331. package/dist/runtime/components/Tree.vue.d.ts +11 -7
  332. package/dist/runtime/components/User.d.vue.ts +2 -2
  333. package/dist/runtime/components/User.vue +13 -7
  334. package/dist/runtime/components/User.vue.d.ts +2 -2
  335. package/dist/runtime/components/color-mode/ColorModeAvatar.d.vue.ts +3 -3
  336. package/dist/runtime/components/color-mode/ColorModeAvatar.vue +16 -4
  337. package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +3 -3
  338. package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +6 -13
  339. package/dist/runtime/components/color-mode/ColorModeButton.vue +41 -18
  340. package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +6 -13
  341. package/dist/runtime/components/color-mode/ColorModeImage.d.vue.ts +4 -3
  342. package/dist/runtime/components/color-mode/ColorModeImage.vue +4 -0
  343. package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +4 -3
  344. package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +5 -3
  345. package/dist/runtime/components/color-mode/ColorModeSelect.vue +46 -5
  346. package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +5 -3
  347. package/dist/runtime/components/color-mode/ColorModeSwitch.d.vue.ts +3 -3
  348. package/dist/runtime/components/color-mode/ColorModeSwitch.vue +29 -5
  349. package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +3 -3
  350. package/dist/runtime/components/content/ContentNavigation.d.vue.ts +10 -6
  351. package/dist/runtime/components/content/ContentNavigation.vue +14 -13
  352. package/dist/runtime/components/content/ContentNavigation.vue.d.ts +10 -6
  353. package/dist/runtime/components/content/ContentSearch.d.vue.ts +13 -9
  354. package/dist/runtime/components/content/ContentSearch.vue +63 -68
  355. package/dist/runtime/components/content/ContentSearch.vue.d.ts +13 -9
  356. package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +4 -5
  357. package/dist/runtime/components/content/ContentSearchButton.vue +29 -10
  358. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +4 -5
  359. package/dist/runtime/components/content/ContentSurround.d.vue.ts +10 -6
  360. package/dist/runtime/components/content/ContentSurround.vue +8 -8
  361. package/dist/runtime/components/content/ContentSurround.vue.d.ts +10 -6
  362. package/dist/runtime/components/content/ContentToc.d.vue.ts +10 -6
  363. package/dist/runtime/components/content/ContentToc.vue +16 -16
  364. package/dist/runtime/components/content/ContentToc.vue.d.ts +10 -6
  365. package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +12 -8
  366. package/dist/runtime/components/locale/LocaleSelect.vue +64 -9
  367. package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +12 -8
  368. package/dist/runtime/components/prose/A.d.vue.ts +1 -1
  369. package/dist/runtime/components/prose/A.vue.d.ts +1 -1
  370. package/dist/runtime/components/prose/Accordion.d.vue.ts +2 -2
  371. package/dist/runtime/components/prose/Accordion.vue.d.ts +2 -2
  372. package/dist/runtime/components/prose/AccordionItem.d.vue.ts +1 -1
  373. package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
  374. package/dist/runtime/components/prose/Badge.d.vue.ts +1 -1
  375. package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
  376. package/dist/runtime/components/prose/Blockquote.d.vue.ts +1 -1
  377. package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
  378. package/dist/runtime/components/prose/Callout.d.vue.ts +1 -1
  379. package/dist/runtime/components/prose/Callout.vue +1 -2
  380. package/dist/runtime/components/prose/Callout.vue.d.ts +1 -1
  381. package/dist/runtime/components/prose/Card.d.vue.ts +1 -1
  382. package/dist/runtime/components/prose/Card.vue +1 -2
  383. package/dist/runtime/components/prose/Card.vue.d.ts +1 -1
  384. package/dist/runtime/components/prose/CardGroup.d.vue.ts +1 -1
  385. package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
  386. package/dist/runtime/components/prose/Code.d.vue.ts +1 -1
  387. package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
  388. package/dist/runtime/components/prose/CodeCollapse.d.vue.ts +2 -2
  389. package/dist/runtime/components/prose/CodeCollapse.vue +1 -1
  390. package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +2 -2
  391. package/dist/runtime/components/prose/CodeGroup.d.vue.ts +2 -2
  392. package/dist/runtime/components/prose/CodeGroup.vue.d.ts +2 -2
  393. package/dist/runtime/components/prose/CodeIcon.d.vue.ts +1 -1
  394. package/dist/runtime/components/prose/CodeIcon.vue +1 -1
  395. package/dist/runtime/components/prose/CodeIcon.vue.d.ts +1 -1
  396. package/dist/runtime/components/prose/CodePreview.d.vue.ts +1 -1
  397. package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
  398. package/dist/runtime/components/prose/CodeTree.d.vue.ts +20 -1
  399. package/dist/runtime/components/prose/CodeTree.vue +32 -8
  400. package/dist/runtime/components/prose/CodeTree.vue.d.ts +20 -1
  401. package/dist/runtime/components/prose/Collapsible.d.vue.ts +1 -1
  402. package/dist/runtime/components/prose/Collapsible.vue +1 -1
  403. package/dist/runtime/components/prose/Collapsible.vue.d.ts +1 -1
  404. package/dist/runtime/components/prose/Em.d.vue.ts +1 -1
  405. package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
  406. package/dist/runtime/components/prose/Field.d.vue.ts +1 -1
  407. package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
  408. package/dist/runtime/components/prose/FieldGroup.d.vue.ts +1 -1
  409. package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
  410. package/dist/runtime/components/prose/H1.d.vue.ts +1 -1
  411. package/dist/runtime/components/prose/H1.vue.d.ts +1 -1
  412. package/dist/runtime/components/prose/H2.d.vue.ts +1 -1
  413. package/dist/runtime/components/prose/H2.vue.d.ts +1 -1
  414. package/dist/runtime/components/prose/H3.d.vue.ts +1 -1
  415. package/dist/runtime/components/prose/H3.vue.d.ts +1 -1
  416. package/dist/runtime/components/prose/H4.d.vue.ts +1 -1
  417. package/dist/runtime/components/prose/H4.vue.d.ts +1 -1
  418. package/dist/runtime/components/prose/Hr.d.vue.ts +1 -1
  419. package/dist/runtime/components/prose/Hr.vue.d.ts +1 -1
  420. package/dist/runtime/components/prose/Icon.d.vue.ts +1 -1
  421. package/dist/runtime/components/prose/Icon.vue.d.ts +1 -1
  422. package/dist/runtime/components/prose/Img.d.vue.ts +2 -2
  423. package/dist/runtime/components/prose/Img.vue.d.ts +2 -2
  424. package/dist/runtime/components/prose/Kbd.d.vue.ts +1 -1
  425. package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
  426. package/dist/runtime/components/prose/Li.d.vue.ts +1 -1
  427. package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
  428. package/dist/runtime/components/prose/Ol.d.vue.ts +1 -1
  429. package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
  430. package/dist/runtime/components/prose/P.d.vue.ts +1 -1
  431. package/dist/runtime/components/prose/P.vue.d.ts +1 -1
  432. package/dist/runtime/components/prose/Pre.d.vue.ts +1 -1
  433. package/dist/runtime/components/prose/Pre.vue +1 -1
  434. package/dist/runtime/components/prose/Pre.vue.d.ts +1 -1
  435. package/dist/runtime/components/prose/Steps.d.vue.ts +1 -1
  436. package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
  437. package/dist/runtime/components/prose/Strong.d.vue.ts +1 -1
  438. package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
  439. package/dist/runtime/components/prose/Table.d.vue.ts +1 -1
  440. package/dist/runtime/components/prose/Table.vue.d.ts +1 -1
  441. package/dist/runtime/components/prose/Tabs.d.vue.ts +2 -2
  442. package/dist/runtime/components/prose/Tabs.vue.d.ts +2 -2
  443. package/dist/runtime/components/prose/TabsItem.d.vue.ts +1 -1
  444. package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
  445. package/dist/runtime/components/prose/Tbody.d.vue.ts +1 -1
  446. package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
  447. package/dist/runtime/components/prose/Td.d.vue.ts +1 -1
  448. package/dist/runtime/components/prose/Td.vue.d.ts +1 -1
  449. package/dist/runtime/components/prose/Th.d.vue.ts +1 -1
  450. package/dist/runtime/components/prose/Th.vue.d.ts +1 -1
  451. package/dist/runtime/components/prose/Thead.d.vue.ts +1 -1
  452. package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
  453. package/dist/runtime/components/prose/Tr.d.vue.ts +1 -1
  454. package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
  455. package/dist/runtime/components/prose/Ul.d.vue.ts +1 -1
  456. package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
  457. package/dist/runtime/components/prose/callout/Caution.d.vue.ts +2 -2
  458. package/dist/runtime/components/prose/callout/Caution.vue.d.ts +2 -2
  459. package/dist/runtime/components/prose/callout/Note.d.vue.ts +2 -2
  460. package/dist/runtime/components/prose/callout/Note.vue.d.ts +2 -2
  461. package/dist/runtime/components/prose/callout/Tip.d.vue.ts +2 -2
  462. package/dist/runtime/components/prose/callout/Tip.vue.d.ts +2 -2
  463. package/dist/runtime/components/prose/callout/Warning.d.vue.ts +2 -2
  464. package/dist/runtime/components/prose/callout/Warning.vue.d.ts +2 -2
  465. package/dist/runtime/composables/defineShortcuts.d.ts +2 -1
  466. package/dist/runtime/composables/defineShortcuts.js +62 -15
  467. package/dist/runtime/composables/index.d.ts +8 -0
  468. package/dist/runtime/composables/index.js +8 -0
  469. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  470. package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
  471. package/dist/runtime/composables/useContentSearch.d.ts +5 -0
  472. package/dist/runtime/composables/useContentSearch.js +31 -1
  473. package/dist/runtime/composables/useEditorMenu.d.ts +64 -0
  474. package/dist/runtime/composables/useEditorMenu.js +448 -0
  475. package/dist/runtime/composables/useFieldGroup.d.ts +1 -1
  476. package/dist/runtime/composables/useFileUpload.d.ts +2 -2
  477. package/dist/runtime/composables/useFileUpload.js +13 -4
  478. package/dist/runtime/composables/useFormField.d.ts +1 -1
  479. package/dist/runtime/index.css +1 -1
  480. package/dist/runtime/keyframes.css +1 -1
  481. package/dist/runtime/locale/en_gb.d.ts +3 -0
  482. package/dist/runtime/locale/en_gb.js +7 -0
  483. package/dist/runtime/locale/eu.d.ts +3 -0
  484. package/dist/runtime/locale/eu.js +129 -0
  485. package/dist/runtime/locale/gl.d.ts +3 -0
  486. package/dist/runtime/locale/gl.js +129 -0
  487. package/dist/runtime/locale/index.d.ts +5 -0
  488. package/dist/runtime/locale/index.js +5 -0
  489. package/dist/runtime/locale/lo.d.ts +3 -0
  490. package/dist/runtime/locale/lo.js +129 -0
  491. package/dist/runtime/locale/sq.d.ts +3 -0
  492. package/dist/runtime/locale/sq.js +129 -0
  493. package/dist/runtime/plugins/colors.js +8 -6
  494. package/dist/runtime/types/editor.d.ts +69 -0
  495. package/dist/runtime/types/editor.js +0 -0
  496. package/dist/runtime/types/html.d.ts +8 -0
  497. package/dist/runtime/types/html.js +0 -0
  498. package/dist/runtime/types/index.d.ts +13 -0
  499. package/dist/runtime/types/index.js +13 -0
  500. package/dist/runtime/types/input.d.ts +5 -5
  501. package/dist/runtime/types/utils.d.ts +2 -0
  502. package/dist/runtime/utils/editor.d.ts +69 -0
  503. package/dist/runtime/utils/editor.js +364 -0
  504. package/dist/runtime/utils/link.d.ts +1 -0
  505. package/dist/runtime/utils/link.js +40 -24
  506. package/dist/runtime/utils/locale.d.ts +1 -2
  507. package/dist/runtime/utils/virtualizer.d.ts +6 -0
  508. package/dist/runtime/utils/virtualizer.js +30 -0
  509. package/dist/runtime/vue/components/Icon.d.vue.ts +1 -1
  510. package/dist/runtime/vue/components/Icon.vue +1 -1
  511. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
  512. package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +5 -3
  513. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +45 -3
  514. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +5 -3
  515. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.d.vue.ts +2 -2
  516. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +24 -3
  517. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +2 -2
  518. package/dist/runtime/vue/overrides/inertia/Link.d.vue.ts +74 -0
  519. package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.vue +33 -12
  520. package/dist/runtime/vue/overrides/inertia/Link.vue.d.ts +74 -0
  521. package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.d.vue.ts +4 -3
  522. package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue +5 -2
  523. package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue.d.ts +4 -3
  524. package/dist/runtime/{inertia/components → vue/overrides/none}/Link.d.vue.ts +22 -10
  525. package/dist/runtime/vue/overrides/none/Link.vue +122 -0
  526. package/dist/runtime/{inertia/components → vue/overrides/none}/Link.vue.d.ts +22 -10
  527. package/dist/runtime/vue/{components → overrides/vue-router}/Link.d.vue.ts +10 -37
  528. package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue +39 -21
  529. package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue.d.ts +10 -37
  530. package/dist/runtime/vue/{stubs.d.ts → stubs/base.d.ts} +5 -6
  531. package/dist/runtime/vue/{stubs.js → stubs/base.js} +5 -6
  532. package/dist/runtime/vue/stubs/inertia.d.ts +5 -0
  533. package/dist/runtime/vue/stubs/inertia.js +10 -0
  534. package/dist/runtime/vue/stubs/none.d.ts +56 -0
  535. package/dist/runtime/vue/stubs/none.js +48 -0
  536. package/dist/runtime/vue/stubs/vue-router.d.ts +2 -0
  537. package/dist/runtime/vue/stubs/vue-router.js +2 -0
  538. package/dist/shared/{ui.Dy8dMbVj.mjs → ui.Cz6bP3Pn.mjs} +678 -207
  539. package/dist/unplugin.d.mts +15 -0
  540. package/dist/unplugin.mjs +103 -50
  541. package/dist/vite.mjs +5 -3
  542. package/package.json +65 -42
  543. package/.nuxt/ui/accordion.ts +0 -20
  544. package/.nuxt/ui/alert.ts +0 -264
  545. package/.nuxt/ui/auth-form.ts +0 -20
  546. package/.nuxt/ui/avatar-group.ts +0 -52
  547. package/.nuxt/ui/avatar.ts +0 -54
  548. package/.nuxt/ui/badge.ts +0 -263
  549. package/.nuxt/ui/banner.ts +0 -108
  550. package/.nuxt/ui/blog-post.ts +0 -142
  551. package/.nuxt/ui/blog-posts.ts +0 -9
  552. package/.nuxt/ui/breadcrumb.ts +0 -45
  553. package/.nuxt/ui/button.ts +0 -378
  554. package/.nuxt/ui/calendar.ts +0 -315
  555. package/.nuxt/ui/card.ts +0 -34
  556. package/.nuxt/ui/carousel.ts +0 -38
  557. package/.nuxt/ui/changelog-version.ts +0 -41
  558. package/.nuxt/ui/changelog-versions.ts +0 -8
  559. package/.nuxt/ui/chat-message.ts +0 -136
  560. package/.nuxt/ui/chat-messages.ts +0 -14
  561. package/.nuxt/ui/chat-palette.ts +0 -8
  562. package/.nuxt/ui/chat-prompt-submit.ts +0 -5
  563. package/.nuxt/ui/chat-prompt.ts +0 -35
  564. package/.nuxt/ui/checkbox-group.ts +0 -204
  565. package/.nuxt/ui/checkbox.ts +0 -236
  566. package/.nuxt/ui/chip.ts +0 -96
  567. package/.nuxt/ui/collapsible.ts +0 -6
  568. package/.nuxt/ui/color-picker.ts +0 -47
  569. package/.nuxt/ui/command-palette.ts +0 -62
  570. package/.nuxt/ui/container.ts +0 -3
  571. package/.nuxt/ui/content/content-navigation.ts +0 -368
  572. package/.nuxt/ui/content/content-search-button.ts +0 -6
  573. package/.nuxt/ui/content/content-search.ts +0 -13
  574. package/.nuxt/ui/content/content-surround.ts +0 -34
  575. package/.nuxt/ui/content/content-toc.ts +0 -155
  576. package/.nuxt/ui/context-menu.ts +0 -219
  577. package/.nuxt/ui/dashboard-group.ts +0 -3
  578. package/.nuxt/ui/dashboard-navbar.ts +0 -21
  579. package/.nuxt/ui/dashboard-panel.ts +0 -17
  580. package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
  581. package/.nuxt/ui/dashboard-search-button.ts +0 -6
  582. package/.nuxt/ui/dashboard-search.ts +0 -13
  583. package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
  584. package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
  585. package/.nuxt/ui/dashboard-sidebar.ts +0 -37
  586. package/.nuxt/ui/dashboard-toolbar.ts +0 -7
  587. package/.nuxt/ui/drawer.ts +0 -149
  588. package/.nuxt/ui/dropdown-menu.ts +0 -220
  589. package/.nuxt/ui/empty.ts +0 -83
  590. package/.nuxt/ui/error.ts +0 -9
  591. package/.nuxt/ui/field-group.ts +0 -16
  592. package/.nuxt/ui/file-upload.ts +0 -290
  593. package/.nuxt/ui/footer-columns.ts +0 -28
  594. package/.nuxt/ui/footer.ts +0 -11
  595. package/.nuxt/ui/form-field.ts +0 -48
  596. package/.nuxt/ui/form.ts +0 -3
  597. package/.nuxt/ui/header.ts +0 -25
  598. package/.nuxt/ui/index.ts +0 -106
  599. package/.nuxt/ui/input-menu.ts +0 -460
  600. package/.nuxt/ui/input-number.ts +0 -256
  601. package/.nuxt/ui/input-tags.ts +0 -310
  602. package/.nuxt/ui/input.ts +0 -289
  603. package/.nuxt/ui/kbd.ts +0 -195
  604. package/.nuxt/ui/link.ts +0 -22
  605. package/.nuxt/ui/main.ts +0 -3
  606. package/.nuxt/ui/marquee.ts +0 -66
  607. package/.nuxt/ui/modal.ts +0 -29
  608. package/.nuxt/ui/navigation-menu.ts +0 -510
  609. package/.nuxt/ui/page-anchors.ts +0 -30
  610. package/.nuxt/ui/page-aside.ts +0 -10
  611. package/.nuxt/ui/page-body.ts +0 -3
  612. package/.nuxt/ui/page-card.ts +0 -279
  613. package/.nuxt/ui/page-columns.ts +0 -3
  614. package/.nuxt/ui/page-cta.ts +0 -70
  615. package/.nuxt/ui/page-feature.ts +0 -26
  616. package/.nuxt/ui/page-grid.ts +0 -3
  617. package/.nuxt/ui/page-header.ts +0 -18
  618. package/.nuxt/ui/page-hero.ts +0 -44
  619. package/.nuxt/ui/page-links.ts +0 -25
  620. package/.nuxt/ui/page-list.ts +0 -8
  621. package/.nuxt/ui/page-logos.ts +0 -15
  622. package/.nuxt/ui/page-section.ts +0 -84
  623. package/.nuxt/ui/page.ts +0 -32
  624. package/.nuxt/ui/pagination.ts +0 -13
  625. package/.nuxt/ui/pin-input.ts +0 -171
  626. package/.nuxt/ui/popover.ts +0 -6
  627. package/.nuxt/ui/pricing-plan.ts +0 -101
  628. package/.nuxt/ui/pricing-plans.ts +0 -22
  629. package/.nuxt/ui/pricing-table.ts +0 -51
  630. package/.nuxt/ui/progress.ts +0 -297
  631. package/.nuxt/ui/prose/a.ts +0 -6
  632. package/.nuxt/ui/prose/accordion-item.ts +0 -3
  633. package/.nuxt/ui/prose/accordion.ts +0 -6
  634. package/.nuxt/ui/prose/badge.ts +0 -3
  635. package/.nuxt/ui/prose/blockquote.ts +0 -3
  636. package/.nuxt/ui/prose/callout.ts +0 -129
  637. package/.nuxt/ui/prose/card-group.ts +0 -3
  638. package/.nuxt/ui/prose/card.ts +0 -119
  639. package/.nuxt/ui/prose/code-collapse.ts +0 -19
  640. package/.nuxt/ui/prose/code-group.ts +0 -13
  641. package/.nuxt/ui/prose/code-icon.ts +0 -66
  642. package/.nuxt/ui/prose/code-preview.ts +0 -14
  643. package/.nuxt/ui/prose/code-tree.ts +0 -28
  644. package/.nuxt/ui/prose/code.ts +0 -27
  645. package/.nuxt/ui/prose/collapsible.ts +0 -12
  646. package/.nuxt/ui/prose/em.ts +0 -3
  647. package/.nuxt/ui/prose/field-group.ts +0 -3
  648. package/.nuxt/ui/prose/field.ts +0 -11
  649. package/.nuxt/ui/prose/h1.ts +0 -6
  650. package/.nuxt/ui/prose/h2.ts +0 -14
  651. package/.nuxt/ui/prose/h3.ts +0 -14
  652. package/.nuxt/ui/prose/h4.ts +0 -6
  653. package/.nuxt/ui/prose/hr.ts +0 -3
  654. package/.nuxt/ui/prose/icon.ts +0 -3
  655. package/.nuxt/ui/prose/img.ts +0 -23
  656. package/.nuxt/ui/prose/index.ts +0 -41
  657. package/.nuxt/ui/prose/kbd.ts +0 -3
  658. package/.nuxt/ui/prose/li.ts +0 -3
  659. package/.nuxt/ui/prose/ol.ts +0 -3
  660. package/.nuxt/ui/prose/p.ts +0 -3
  661. package/.nuxt/ui/prose/pre.ts +0 -17
  662. package/.nuxt/ui/prose/steps.ts +0 -19
  663. package/.nuxt/ui/prose/strong.ts +0 -3
  664. package/.nuxt/ui/prose/table.ts +0 -6
  665. package/.nuxt/ui/prose/tabs-item.ts +0 -3
  666. package/.nuxt/ui/prose/tabs.ts +0 -5
  667. package/.nuxt/ui/prose/tbody.ts +0 -3
  668. package/.nuxt/ui/prose/td.ts +0 -3
  669. package/.nuxt/ui/prose/th.ts +0 -3
  670. package/.nuxt/ui/prose/thead.ts +0 -3
  671. package/.nuxt/ui/prose/tr.ts +0 -3
  672. package/.nuxt/ui/prose/ul.ts +0 -3
  673. package/.nuxt/ui/radio-group.ts +0 -350
  674. package/.nuxt/ui/select-menu.ts +0 -361
  675. package/.nuxt/ui/select.ts +0 -348
  676. package/.nuxt/ui/separator.ts +0 -172
  677. package/.nuxt/ui/skeleton.ts +0 -3
  678. package/.nuxt/ui/slideover.ts +0 -71
  679. package/.nuxt/ui/slider.ts +0 -171
  680. package/.nuxt/ui/stepper.ts +0 -202
  681. package/.nuxt/ui/switch.ts +0 -131
  682. package/.nuxt/ui/table.ts +0 -162
  683. package/.nuxt/ui/tabs.ts +0 -258
  684. package/.nuxt/ui/textarea.ts +0 -294
  685. package/.nuxt/ui/timeline.ts +0 -321
  686. package/.nuxt/ui/toast.ts +0 -74
  687. package/.nuxt/ui/toaster.ts +0 -91
  688. package/.nuxt/ui/tooltip.ts +0 -9
  689. package/.nuxt/ui/tree.ts +0 -168
  690. package/.nuxt/ui/user.ts +0 -101
  691. package/dist/runtime/inertia/stubs.d.ts +0 -44
  692. package/dist/runtime/inertia/stubs.js +0 -84
  693. package/dist/runtime/vue/components/color-mode/ColorModeButton.d.vue.ts +0 -17
  694. package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +0 -35
  695. package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +0 -17
@@ -1,12 +1,12 @@
1
1
  import { pick } from '../../dist/runtime/utils/index.js';
2
2
  import 'node:url';
3
+ import { pascalCase, kebabCase, camelCase } from 'scule';
4
+ import { genExport } from 'knitwork';
5
+ import colors from 'tailwindcss/colors';
6
+ import { addTypeTemplate, addTemplate, updateTemplates, hasNuxtModule, getLayerDirectories, logger } from '@nuxt/kit';
3
7
  import { readFile } from 'node:fs/promises';
4
8
  import { join } from 'pathe';
5
9
  import { globSync } from 'tinyglobby';
6
- import { kebabCase, camelCase, pascalCase } from 'scule';
7
- import { genExport } from 'knitwork';
8
- import colors from 'tailwindcss/colors';
9
- import { addTypeTemplate, addTemplate, updateTemplates, hasNuxtModule, logger } from '@nuxt/kit';
10
10
  import { defuFn, defu } from 'defu';
11
11
 
12
12
  const icons = {
@@ -26,6 +26,7 @@ const icons = {
26
26
  copy: "i-lucide-copy",
27
27
  copyCheck: "i-lucide-copy-check",
28
28
  dark: "i-lucide-moon",
29
+ drag: "i-lucide-grip-vertical",
29
30
  ellipsis: "i-lucide-ellipsis",
30
31
  error: "i-lucide-circle-x",
31
32
  external: "i-lucide-arrow-up-right",
@@ -53,32 +54,173 @@ const icons = {
53
54
  warning: "i-lucide-triangle-alert"
54
55
  };
55
56
 
56
- const getDefaultUiConfig = (colors) => ({
57
- colors: pick({
58
- primary: "green",
59
- secondary: "blue",
60
- success: "green",
61
- info: "blue",
62
- warning: "yellow",
63
- error: "red",
64
- neutral: "slate"
65
- }, [...colors || [], "neutral"]),
66
- icons
67
- });
57
+ function resolveColors(colors) {
58
+ return colors?.length ? [.../* @__PURE__ */ new Set(["primary", ...colors])] : ["primary", "secondary", "success", "info", "warning", "error"];
59
+ }
60
+ function getDefaultConfig(theme) {
61
+ return {
62
+ colors: pick({
63
+ primary: "green",
64
+ secondary: "blue",
65
+ success: "green",
66
+ info: "blue",
67
+ warning: "yellow",
68
+ error: "red",
69
+ neutral: "slate"
70
+ }, [...theme?.colors || [], "neutral"]),
71
+ icons,
72
+ prefix: theme?.prefix,
73
+ tv: {
74
+ twMergeConfig: {
75
+ prefix: theme?.prefix
76
+ }
77
+ }
78
+ };
79
+ }
68
80
  const defaultOptions = {
69
81
  prefix: "U",
70
82
  fonts: true,
71
83
  colorMode: true,
72
84
  theme: {
73
85
  colors: void 0,
74
- transitions: true
86
+ transitions: true,
87
+ defaultVariants: {
88
+ color: void 0,
89
+ size: void 0
90
+ },
91
+ prefix: void 0
75
92
  },
76
93
  mdc: false,
77
94
  content: false
78
95
  };
79
- const resolveColors = (colors) => {
80
- return colors?.length ? [.../* @__PURE__ */ new Set(["primary", ...colors])] : ["primary", "secondary", "success", "info", "warning", "error"];
81
- };
96
+
97
+ function prefixClasses(classString, prefix) {
98
+ if (!prefix || !classString) {
99
+ return classString;
100
+ }
101
+ return classString.split(" ").filter(Boolean).map((cls) => `${prefix}:${cls}`).join(" ");
102
+ }
103
+ function isSizeValue(value) {
104
+ return /^(?:[23]x[sl]|xs|sm|md|lg|xl)$/.test(value.trim());
105
+ }
106
+ function applyPrefixToObject(obj, prefix, context = []) {
107
+ if (!obj || !prefix) {
108
+ return obj;
109
+ }
110
+ const currentKey = context[context.length - 1];
111
+ const compoundVariantsIndex = context.indexOf("compoundVariants");
112
+ const isInCompoundVariant = compoundVariantsIndex !== -1 && !context.slice(compoundVariantsIndex).includes("class");
113
+ const isInDefaultVariants = context.includes("defaultVariants");
114
+ const isComponentSizeValue = typeof obj === "string" && typeof currentKey === "string" && currentKey.endsWith("Size") && isSizeValue(obj);
115
+ if (typeof obj === "string" && (isInCompoundVariant || isInDefaultVariants || isComponentSizeValue)) {
116
+ return obj;
117
+ }
118
+ if (typeof obj === "string") {
119
+ return prefixClasses(obj, prefix);
120
+ }
121
+ if (Array.isArray(obj)) {
122
+ return obj.map((item, index) => applyPrefixToObject(item, prefix, [...context, String(index)]));
123
+ }
124
+ if (typeof obj === "object") {
125
+ const result = {};
126
+ for (const [key, value] of Object.entries(obj)) {
127
+ result[key] = applyPrefixToObject(value, prefix, [...context, key]);
128
+ }
129
+ return result;
130
+ }
131
+ return obj;
132
+ }
133
+ function applyDefaultVariants(result, defaultVariants) {
134
+ if (!result || !defaultVariants) {
135
+ return result;
136
+ }
137
+ if (result.defaultVariants?.color && defaultVariants.color) {
138
+ result.defaultVariants.color = defaultVariants.color;
139
+ }
140
+ if (result.defaultVariants?.size && defaultVariants.size) {
141
+ result.defaultVariants.size = defaultVariants.size;
142
+ }
143
+ return result;
144
+ }
145
+
146
+ async function buildComponentDependencyGraph(componentDir, componentPattern) {
147
+ const dependencyGraph = /* @__PURE__ */ new Map();
148
+ const componentFiles = globSync(["**/*.vue"], {
149
+ cwd: componentDir,
150
+ absolute: true
151
+ });
152
+ for (const componentFile of componentFiles) {
153
+ try {
154
+ const content = await readFile(componentFile, "utf-8");
155
+ const componentName = pascalCase(componentFile.split("/").pop().replace(".vue", ""));
156
+ const dependencies = /* @__PURE__ */ new Set();
157
+ const matches = content.matchAll(componentPattern);
158
+ for (const match of matches) {
159
+ const depName = match[1] || match[2];
160
+ if (depName && depName !== componentName) {
161
+ dependencies.add(depName);
162
+ }
163
+ }
164
+ dependencyGraph.set(componentName, dependencies);
165
+ } catch {
166
+ }
167
+ }
168
+ return dependencyGraph;
169
+ }
170
+ function resolveComponentDependencies(component, dependencyGraph, resolved = /* @__PURE__ */ new Set()) {
171
+ if (resolved.has(component)) {
172
+ return resolved;
173
+ }
174
+ resolved.add(component);
175
+ const dependencies = dependencyGraph.get(component);
176
+ if (dependencies) {
177
+ for (const dep of dependencies) {
178
+ resolveComponentDependencies(dep, dependencyGraph, resolved);
179
+ }
180
+ }
181
+ return resolved;
182
+ }
183
+ async function detectUsedComponents(dirs, prefix, componentDir, includeComponents) {
184
+ const detectedComponents = /* @__PURE__ */ new Set();
185
+ if (includeComponents && includeComponents.length > 0) {
186
+ for (const component of includeComponents) {
187
+ detectedComponents.add(component);
188
+ }
189
+ }
190
+ const componentPattern = new RegExp(`<(?:Lazy)?${prefix}([A-Z][a-zA-Z]+)|\\b(?:Lazy)?${prefix}([A-Z][a-zA-Z]+)\\b`, "g");
191
+ for (const dir of dirs) {
192
+ const appFiles = globSync(["**/*.{vue,ts,js,tsx,jsx}"], {
193
+ cwd: dir,
194
+ ignore: ["node_modules/**", ".nuxt/**", "dist/**"]
195
+ });
196
+ for (const file of appFiles) {
197
+ try {
198
+ const filePath = join(dir, file);
199
+ const content = await readFile(filePath, "utf-8");
200
+ const matches = content.matchAll(componentPattern);
201
+ for (const match of matches) {
202
+ const componentName = match[1] || match[2];
203
+ if (componentName) {
204
+ detectedComponents.add(componentName);
205
+ }
206
+ }
207
+ } catch {
208
+ }
209
+ }
210
+ }
211
+ if (detectedComponents.size === 0) {
212
+ return void 0;
213
+ }
214
+ const dependencyGraph = await buildComponentDependencyGraph(componentDir, componentPattern);
215
+ const allComponents = /* @__PURE__ */ new Set();
216
+ for (const component of detectedComponents) {
217
+ const resolved = resolveComponentDependencies(component, dependencyGraph);
218
+ for (const resolvedComponent of resolved) {
219
+ allComponents.add(resolvedComponent);
220
+ }
221
+ }
222
+ return allComponents;
223
+ }
82
224
 
83
225
  const accordion$1 = {
84
226
  slots: {
@@ -551,9 +693,9 @@ const blogPost = (options) => ({
551
693
  },
552
694
  to: {
553
695
  true: {
554
- root: [options.theme.transitions && "transition"],
696
+ root: ["has-focus-visible:ring-2 has-focus-visible:ring-primary", options.theme.transitions && "transition"],
555
697
  image: "transform transition-transform duration-200 group-hover/blog-post:scale-110",
556
- avatar: "transform transition-transform duration-200 hover:scale-115"
698
+ avatar: "transform transition-transform duration-200 hover:scale-115 focus-visible:outline-primary"
557
699
  }
558
700
  },
559
701
  image: {
@@ -992,7 +1134,7 @@ const carousel = (options) => ({
992
1134
  prev: "absolute rounded-full",
993
1135
  next: "absolute rounded-full",
994
1136
  dots: "absolute inset-x-0 -bottom-7 flex flex-wrap items-center justify-center gap-3",
995
- dot: ["cursor-pointer size-3 bg-accented rounded-full", options.theme.transitions && "transition"]
1137
+ dot: ["cursor-pointer size-3 bg-accented rounded-full focus:outline-none focus-visible:ring-2 focus-visible:ring-primary", options.theme.transitions && "transition"]
996
1138
  },
997
1139
  variants: {
998
1140
  orientation: {
@@ -1017,7 +1159,7 @@ const carousel = (options) => ({
1017
1159
  }
1018
1160
  });
1019
1161
 
1020
- const changelogVersion = {
1162
+ const changelogVersion = (options) => ({
1021
1163
  slots: {
1022
1164
  root: "relative",
1023
1165
  container: "flex flex-col mx-auto max-w-2xl",
@@ -1048,7 +1190,8 @@ const changelogVersion = {
1048
1190
  },
1049
1191
  to: {
1050
1192
  true: {
1051
- image: "transform transition-transform duration-200 group-hover/changelog-version-image:scale-105"
1193
+ title: ["has-focus-visible:ring-2 has-focus-visible:ring-primary rounded-xs", options.theme.transitions && "transition"],
1194
+ image: "transform transition-transform duration-200 group-hover/changelog-version-image:scale-105 group-has-focus-visible/changelog-version-image:scale-105"
1052
1195
  }
1053
1196
  },
1054
1197
  hidden: {
@@ -1057,7 +1200,7 @@ const changelogVersion = {
1057
1200
  }
1058
1201
  }
1059
1202
  }
1060
- };
1203
+ });
1061
1204
 
1062
1205
  const changelogVersions = {
1063
1206
  slots: {
@@ -1309,9 +1452,10 @@ const checkbox = (options) => ({
1309
1452
  },
1310
1453
  disabled: {
1311
1454
  true: {
1312
- base: "cursor-not-allowed opacity-75",
1313
- label: "cursor-not-allowed opacity-75",
1314
- description: "cursor-not-allowed opacity-75"
1455
+ root: "opacity-75",
1456
+ base: "cursor-not-allowed",
1457
+ label: "cursor-not-allowed",
1458
+ description: "cursor-not-allowed"
1315
1459
  }
1316
1460
  },
1317
1461
  checked: {
@@ -1342,7 +1486,7 @@ const checkbox = (options) => ({
1342
1486
  variant: "card",
1343
1487
  disabled: true,
1344
1488
  class: {
1345
- root: "cursor-not-allowed opacity-75"
1489
+ root: "cursor-not-allowed"
1346
1490
  }
1347
1491
  }
1348
1492
  ],
@@ -1407,6 +1551,9 @@ const checkboxGroup = (options) => ({
1407
1551
  true: {
1408
1552
  legend: "after:content-['*'] after:ms-0.5 after:text-error"
1409
1553
  }
1554
+ },
1555
+ disabled: {
1556
+ true: {}
1410
1557
  }
1411
1558
  },
1412
1559
  compoundVariants: [
@@ -1449,7 +1596,7 @@ const checkboxGroup = (options) => ({
1449
1596
  variant: "table",
1450
1597
  disabled: true,
1451
1598
  class: {
1452
- item: "cursor-not-allowed opacity-75"
1599
+ item: "cursor-not-allowed"
1453
1600
  }
1454
1601
  }
1455
1602
  ],
@@ -1531,9 +1678,9 @@ const colorPicker = {
1531
1678
  picker: "flex gap-4",
1532
1679
  selector: "rounded-md touch-none",
1533
1680
  selectorBackground: "w-full h-full relative rounded-md",
1534
- selectorThumb: "-translate-y-1/2 -translate-x-1/2 absolute size-4 ring-2 ring-(--color-white) rounded-full cursor-pointer data-[disabled]:cursor-not-allowed",
1681
+ selectorThumb: "-translate-y-1/2 -translate-x-1/2 absolute size-4 ring-2 ring-white rounded-full cursor-pointer data-[disabled]:cursor-not-allowed",
1535
1682
  track: "w-[8px] relative rounded-md touch-none",
1536
- trackThumb: "absolute transform -translate-y-1/2 -translate-x-[4px] rtl:translate-x-[4px] size-4 rounded-full ring-2 ring-(--color-white) cursor-pointer data-[disabled]:cursor-not-allowed"
1683
+ trackThumb: "absolute transform -translate-y-1/2 -translate-x-[4px] rtl:translate-x-[4px] size-4 rounded-full ring-2 ring-white cursor-pointer data-[disabled]:cursor-not-allowed"
1537
1684
  },
1538
1685
  variants: {
1539
1686
  size: {
@@ -1779,7 +1926,7 @@ const dashboardPanel = {
1779
1926
  };
1780
1927
 
1781
1928
  const dashboardResizeHandle = {
1782
- base: "hidden lg:block touch-none select-none cursor-ew-resize relative before:absolute before:inset-y-0 before:-left-1.5 before:-right-1.5"
1929
+ base: "hidden lg:block touch-none select-none cursor-ew-resize relative before:absolute before:inset-y-0 before:-left-1.5 before:-right-1.5 before:z-1"
1783
1930
  };
1784
1931
 
1785
1932
  const dashboardSearch = {
@@ -1790,7 +1937,7 @@ const dashboardSearch = {
1790
1937
  variants: {
1791
1938
  fullscreen: {
1792
1939
  false: {
1793
- modal: "sm:max-w-3xl sm:h-[28rem]"
1940
+ modal: "sm:max-w-3xl h-full sm:h-[28rem]"
1794
1941
  }
1795
1942
  }
1796
1943
  }
@@ -1799,7 +1946,16 @@ const dashboardSearch = {
1799
1946
  const dashboardSearchButton = {
1800
1947
  slots: {
1801
1948
  base: "",
1949
+ label: "",
1802
1950
  trailing: "hidden lg:flex items-center gap-0.5 ms-auto"
1951
+ },
1952
+ variants: {
1953
+ collapsed: {
1954
+ true: {
1955
+ label: "hidden",
1956
+ trailing: "lg:hidden"
1957
+ }
1958
+ }
1803
1959
  }
1804
1960
  };
1805
1961
 
@@ -2106,6 +2262,118 @@ const dropdownMenu = (options) => ({
2106
2262
  }
2107
2263
  });
2108
2264
 
2265
+ const editor = (options) => ({
2266
+ slots: {
2267
+ root: "",
2268
+ content: "relative size-full flex-1",
2269
+ base: [
2270
+ "w-full outline-none *:my-5 *:first:mt-0 *:last:mb-0 sm:px-8 selection:bg-primary/20",
2271
+ // Placeholder
2272
+ "[&_:is(p,h1,h2,h3,h4).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4).is-empty]:before:text-dimmed [&_:is(p,h1,h2,h3,h4).is-empty]:before:float-left [&_:is(p,h1,h2,h3,h4).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4).is-empty]:before:pointer-events-none",
2273
+ "[&_li_.is-empty]:before:content-none",
2274
+ // Paragraph
2275
+ "[&_p]:leading-7",
2276
+ // Links
2277
+ "[&_a]:text-primary [&_a]:border-b [&_a]:border-transparent [&_a]:hover:border-primary [&_a]:font-medium",
2278
+ options.theme?.transitions && "[&_a]:transition-colors",
2279
+ // Mentions
2280
+ "[&_.mention]:text-primary [&_.mention]:font-medium",
2281
+ // Headings - shared styles
2282
+ "[&_:is(h1,h2,h3,h4)]:text-highlighted [&_:is(h1,h2,h3,h4)]:font-bold",
2283
+ // Headings - unique styles
2284
+ "[&_h1]:text-3xl",
2285
+ "[&_h2]:text-2xl",
2286
+ "[&_h3]:text-xl",
2287
+ "[&_h4]:text-lg",
2288
+ // Code inside headings
2289
+ "[&_:is(h1,h2,h3,h4)>code]:border-dashed [&_:is(h1,h2,h3,h4)>code]:font-bold",
2290
+ "[&_h2>code]:text-xl/6",
2291
+ "[&_h3>code]:text-lg/5",
2292
+ // Blockquote & HR
2293
+ "[&_blockquote]:border-s-4 [&_blockquote]:border-accented [&_blockquote]:ps-4 [&_blockquote]:italic",
2294
+ "[&_[data-type=horizontalRule]]:my-8 [&_[data-type=horizontalRule]]:py-2",
2295
+ "[&_hr]:border-t [&_hr]:border-default",
2296
+ // Code blocks
2297
+ "[&_pre]:text-sm/6 [&_pre]:border [&_pre]:border-muted [&_pre]:bg-muted [&_pre]:rounded-md [&_pre]:px-4 [&_pre]:py-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:overflow-x-auto",
2298
+ "[&_pre_code]:p-0 [&_pre_code]:text-inherit [&_pre_code]:font-inherit [&_pre_code]:rounded-none [&_pre_code]:inline [&_pre_code]:border-0 [&_pre_code]:bg-transparent",
2299
+ // Inline code
2300
+ "[&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-sm [&_code]:font-mono [&_code]:font-medium [&_code]:rounded-md [&_code]:inline-block [&_code]:border [&_code]:border-muted [&_code]:text-highlighted [&_code]:bg-muted",
2301
+ // Lists
2302
+ "[&_:is(ul,ol)]:ps-6",
2303
+ "[&_ul]:list-disc [&_ul]:marker:text-(--ui-border-accented)",
2304
+ "[&_ol]:list-decimal [&_ol]:marker:text-muted",
2305
+ "[&_li]:my-1.5 [&_li]:ps-1.5",
2306
+ // Images
2307
+ "[&_img]:rounded-md [&_img]:block [&_img]:max-w-full [&_img.ProseMirror-selectednode]:outline-2 [&_img.ProseMirror-selectednode]:outline-primary",
2308
+ // Selected nodes
2309
+ "[&_.ProseMirror-selectednode:not(img):not(pre):not([data-node-view-wrapper])]:bg-primary/20"
2310
+ ]
2311
+ }
2312
+ });
2313
+
2314
+ const editorDragHandle = {
2315
+ slots: {
2316
+ root: "hidden sm:flex items-center justify-center transition-all duration-200 ease-out",
2317
+ handle: "cursor-grab px-1"
2318
+ }
2319
+ };
2320
+
2321
+ const editorSuggestionMenu = (options) => ({
2322
+ slots: {
2323
+ content: "min-w-48 max-w-60 max-h-96 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-dropdown-menu-content-transform-origin) flex flex-col",
2324
+ viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
2325
+ group: "p-1 isolate",
2326
+ label: "w-full flex items-center font-semibold text-highlighted p-1.5 text-xs gap-1.5",
2327
+ separator: "-mx-1 my-1 h-px bg-border",
2328
+ item: "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 p-1.5 text-sm gap-1.5",
2329
+ itemLeadingIcon: "shrink-0 size-5 flex items-center justify-center text-base",
2330
+ itemLeadingAvatar: "shrink-0",
2331
+ itemLeadingAvatarSize: "2xs",
2332
+ itemWrapper: "flex-1 flex flex-col text-start min-w-0",
2333
+ itemLabel: "truncate",
2334
+ itemDescription: "truncate text-muted",
2335
+ itemLabelExternalIcon: "inline-block size-3 align-top text-dimmed"
2336
+ },
2337
+ variants: {
2338
+ active: {
2339
+ true: {
2340
+ item: "text-highlighted before:bg-elevated/75",
2341
+ itemLeadingIcon: "text-default"
2342
+ },
2343
+ false: {
2344
+ item: ["text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50", options.theme.transitions && "transition-colors before:transition-colors"],
2345
+ itemLeadingIcon: ["text-dimmed group-data-highlighted:not-group-data-disabled:text-default", options.theme.transitions && "transition-colors"]
2346
+ }
2347
+ }
2348
+ }
2349
+ });
2350
+
2351
+ const editorEmojiMenu = (options) => editorSuggestionMenu(options);
2352
+
2353
+ const editorMentionMenu = (options) => editorSuggestionMenu(options);
2354
+
2355
+ const editorToolbar = {
2356
+ slots: {
2357
+ root: "focus:outline-none",
2358
+ base: "flex items-stretch gap-1.5",
2359
+ group: "flex items-center gap-0.5",
2360
+ separator: "w-px self-stretch bg-border"
2361
+ },
2362
+ variants: {
2363
+ layout: {
2364
+ bubble: {
2365
+ base: "bg-default border border-default rounded-lg p-1"
2366
+ },
2367
+ floating: {
2368
+ base: "bg-default border border-default rounded-lg p-1"
2369
+ },
2370
+ fixed: {
2371
+ base: ""
2372
+ }
2373
+ }
2374
+ }
2375
+ };
2376
+
2109
2377
  const empty = {
2110
2378
  slots: {
2111
2379
  root: "relative flex flex-col items-center justify-center gap-4 rounded-lg p-4 sm:p-6 lg:p-8 min-w-0",
@@ -2422,9 +2690,9 @@ const formField = {
2422
2690
  slots: {
2423
2691
  root: "",
2424
2692
  wrapper: "",
2425
- labelWrapper: "flex content-center items-center justify-between",
2693
+ labelWrapper: "flex content-center items-center justify-between gap-1",
2426
2694
  label: "block font-medium text-default",
2427
- container: "mt-1 relative",
2695
+ container: "relative",
2428
2696
  description: "text-muted",
2429
2697
  error: "mt-2 text-error",
2430
2698
  hint: "text-muted",
@@ -2442,10 +2710,19 @@ const formField = {
2442
2710
  true: {
2443
2711
  label: `after:content-['*'] after:ms-0.5 after:text-error`
2444
2712
  }
2713
+ },
2714
+ orientation: {
2715
+ vertical: {
2716
+ container: "mt-1"
2717
+ },
2718
+ horizontal: {
2719
+ root: "flex justify-between place-items-baseline gap-2"
2720
+ }
2445
2721
  }
2446
2722
  },
2447
2723
  defaultVariants: {
2448
- size: "md"
2724
+ size: "md",
2725
+ orientation: "vertical"
2449
2726
  }
2450
2727
  };
2451
2728
 
@@ -2634,6 +2911,68 @@ const input = (options) => ({
2634
2911
  }
2635
2912
  });
2636
2913
 
2914
+ const inputDate = (options) => {
2915
+ return defuFn({
2916
+ slots: {
2917
+ root: () => void 0,
2918
+ base: () => ["group relative inline-flex items-center rounded-md select-none", options.theme.transitions && "transition-colors"],
2919
+ segment: ["rounded text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75", options.theme.transitions && "transition-colors"],
2920
+ separatorIcon: "shrink-0 size-4 text-muted"
2921
+ },
2922
+ variants: {
2923
+ ...fieldGroupVariant,
2924
+ size: {
2925
+ xs: {
2926
+ base: (prev) => [prev, "gap-0.25"],
2927
+ segment: "data-[segment=day]:w-6 data-[segment=month]:w-6 data-[segment=year]:w-9"
2928
+ },
2929
+ sm: {
2930
+ base: (prev) => [prev, "gap-0.5"],
2931
+ segment: "data-[segment=day]:w-6 data-[segment=month]:w-6 data-[segment=year]:w-9"
2932
+ },
2933
+ md: {
2934
+ base: (prev) => [prev, "gap-0.5"],
2935
+ segment: "data-[segment=day]:w-7 data-[segment=month]:w-7 data-[segment=year]:w-11"
2936
+ },
2937
+ lg: {
2938
+ base: (prev) => [prev, "gap-0.75"],
2939
+ segment: "data-[segment=day]:w-7 data-[segment=month]:w-7 data-[segment=year]:w-11"
2940
+ },
2941
+ xl: {
2942
+ base: (prev) => [prev, "gap-0.75"],
2943
+ segment: "data-[segment=day]:w-8 data-[segment=month]:w-8 data-[segment=year]:w-13"
2944
+ }
2945
+ }
2946
+ },
2947
+ compoundVariants: [{
2948
+ variant: "outline",
2949
+ class: {
2950
+ segment: "focus:bg-elevated"
2951
+ }
2952
+ }, {
2953
+ variant: "soft",
2954
+ class: {
2955
+ segment: "focus:bg-accented/50 group-hover:focus:bg-accented"
2956
+ }
2957
+ }, {
2958
+ variant: "subtle",
2959
+ class: {
2960
+ segment: "focus:bg-accented"
2961
+ }
2962
+ }, {
2963
+ variant: "ghost",
2964
+ class: {
2965
+ segment: "focus:bg-elevated group-hover:focus:bg-accented"
2966
+ }
2967
+ }, {
2968
+ variant: "none",
2969
+ class: {
2970
+ segment: "focus:bg-elevated"
2971
+ }
2972
+ }]
2973
+ }, input(options));
2974
+ };
2975
+
2637
2976
  const inputMenu = (options) => {
2638
2977
  return defuFn({
2639
2978
  slots: {
@@ -2934,6 +3273,67 @@ function replaceFocus$2(str) {
2934
3273
  return str.replace(/focus:/g, "has-focus:").replace(/focus-visible:/g, "has-focus-visible:");
2935
3274
  }
2936
3275
 
3276
+ const inputTime = (options) => {
3277
+ return defuFn({
3278
+ slots: {
3279
+ root: () => void 0,
3280
+ base: () => ["group relative inline-flex items-center rounded-md select-none", options.theme.transitions && "transition-colors"],
3281
+ segment: ["rounded text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75", options.theme.transitions && "transition-colors"]
3282
+ },
3283
+ variants: {
3284
+ ...fieldGroupVariant,
3285
+ size: {
3286
+ xs: {
3287
+ base: (prev) => [prev, "gap-0.25"],
3288
+ segment: "not-data-[segment=literal]:w-6"
3289
+ },
3290
+ sm: {
3291
+ base: (prev) => [prev, "gap-0.5"],
3292
+ segment: "not-data-[segment=literal]:w-6"
3293
+ },
3294
+ md: {
3295
+ base: (prev) => [prev, "gap-0.5"],
3296
+ segment: "not-data-[segment=literal]:w-7"
3297
+ },
3298
+ lg: {
3299
+ base: (prev) => [prev, "gap-0.75"],
3300
+ segment: "not-data-[segment=literal]:w-7"
3301
+ },
3302
+ xl: {
3303
+ base: (prev) => [prev, "gap-0.75"],
3304
+ segment: "not-data-[segment=literal]:w-8"
3305
+ }
3306
+ }
3307
+ },
3308
+ compoundVariants: [{
3309
+ variant: "outline",
3310
+ class: {
3311
+ segment: "focus:bg-elevated"
3312
+ }
3313
+ }, {
3314
+ variant: "soft",
3315
+ class: {
3316
+ segment: "focus:bg-accented/50 group-hover:focus:bg-accented"
3317
+ }
3318
+ }, {
3319
+ variant: "subtle",
3320
+ class: {
3321
+ segment: "focus:bg-accented"
3322
+ }
3323
+ }, {
3324
+ variant: "ghost",
3325
+ class: {
3326
+ segment: "focus:bg-elevated group-hover:focus:bg-accented"
3327
+ }
3328
+ }, {
3329
+ variant: "none",
3330
+ class: {
3331
+ segment: "focus:bg-elevated"
3332
+ }
3333
+ }]
3334
+ }, input(options));
3335
+ };
3336
+
2937
3337
  const kbd$1 = (options) => ({
2938
3338
  base: "inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans uppercase",
2939
3339
  variants: {
@@ -3034,6 +3434,11 @@ const marquee = {
3034
3434
  content: "group-hover:[animation-play-state:paused]"
3035
3435
  }
3036
3436
  },
3437
+ pauseOnTouch: {
3438
+ true: {
3439
+ content: "group-active:[animation-play-state:paused]"
3440
+ }
3441
+ },
3037
3442
  reverse: {
3038
3443
  true: {
3039
3444
  content: "![animation-direction:reverse]"
@@ -3074,11 +3479,11 @@ const marquee = {
3074
3479
 
3075
3480
  const modal = {
3076
3481
  slots: {
3077
- overlay: "fixed inset-0 bg-elevated/75",
3078
- content: "fixed bg-default divide-y divide-default flex flex-col focus:outline-none",
3482
+ overlay: "fixed inset-0",
3483
+ content: "bg-default divide-y divide-default flex flex-col focus:outline-none",
3079
3484
  header: "flex items-center gap-1.5 p-4 sm:px-6 min-h-16",
3080
3485
  wrapper: "",
3081
- body: "flex-1 overflow-y-auto p-4 sm:p-6",
3486
+ body: "flex-1 p-4 sm:p-6",
3082
3487
  footer: "flex items-center gap-1.5 p-4 sm:px-6",
3083
3488
  title: "text-highlighted font-semibold",
3084
3489
  description: "mt-1 text-muted text-sm",
@@ -3096,10 +3501,38 @@ const modal = {
3096
3501
  content: "inset-0"
3097
3502
  },
3098
3503
  false: {
3099
- content: "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100vw-2rem)] max-w-lg max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] rounded-lg shadow-lg ring ring-default overflow-hidden"
3504
+ content: "w-[calc(100vw-2rem)] max-w-lg rounded-lg shadow-lg ring ring-default"
3505
+ }
3506
+ },
3507
+ overlay: {
3508
+ true: {
3509
+ overlay: "bg-elevated/75"
3510
+ }
3511
+ },
3512
+ scrollable: {
3513
+ true: {
3514
+ overlay: "overflow-y-auto",
3515
+ content: "relative"
3516
+ },
3517
+ false: {
3518
+ content: "fixed",
3519
+ body: "overflow-y-auto"
3100
3520
  }
3101
3521
  }
3102
- }
3522
+ },
3523
+ compoundVariants: [{
3524
+ scrollable: true,
3525
+ fullscreen: false,
3526
+ class: {
3527
+ overlay: "grid place-items-center p-4 sm:py-8"
3528
+ }
3529
+ }, {
3530
+ scrollable: false,
3531
+ fullscreen: false,
3532
+ class: {
3533
+ content: "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] overflow-hidden"
3534
+ }
3535
+ }]
3103
3536
  };
3104
3537
 
3105
3538
  const navigationMenu = (options) => ({
@@ -3233,6 +3666,8 @@ const navigationMenu = (options) => ({
3233
3666
  collapsed: true,
3234
3667
  class: {
3235
3668
  link: "px-1.5",
3669
+ linkLabel: "hidden",
3670
+ linkTrailing: "hidden",
3236
3671
  content: "shadow-sm rounded-sm min-h-6 p-1"
3237
3672
  }
3238
3673
  }, {
@@ -3467,7 +3902,7 @@ const pageCta = {
3467
3902
  },
3468
3903
  reverse: {
3469
3904
  true: {
3470
- wrapper: "lg:order-last"
3905
+ wrapper: "order-last"
3471
3906
  }
3472
3907
  },
3473
3908
  variant: {
@@ -3528,7 +3963,7 @@ const pageCard = (options) => ({
3528
3963
  },
3529
3964
  reverse: {
3530
3965
  true: {
3531
- wrapper: "lg:order-last"
3966
+ wrapper: "order-last"
3532
3967
  }
3533
3968
  },
3534
3969
  variant: {
@@ -3559,7 +3994,7 @@ const pageCard = (options) => ({
3559
3994
  },
3560
3995
  to: {
3561
3996
  true: {
3562
- root: [options.theme.transitions && "transition"]
3997
+ root: ["has-focus-visible:ring-2 has-focus-visible:ring-primary", options.theme.transitions && "transition"]
3563
3998
  }
3564
3999
  },
3565
4000
  title: {
@@ -3647,11 +4082,6 @@ const pageCard = (options) => ({
3647
4082
  class: {
3648
4083
  root: "[--spotlight-color:var(--ui-bg-inverted)]"
3649
4084
  }
3650
- }, {
3651
- to: true,
3652
- class: {
3653
- root: "has-focus-visible:ring-2 has-focus-visible:ring-primary"
3654
- }
3655
4085
  }],
3656
4086
  defaultVariants: {
3657
4087
  variant: "outline",
@@ -3664,9 +4094,9 @@ const pageColumns = {
3664
4094
  base: "relative column-1 md:columns-2 lg:columns-3 gap-8 space-y-8 *:break-inside-avoid-column *:will-change-transform"
3665
4095
  };
3666
4096
 
3667
- const pageFeature = {
4097
+ const pageFeature = (options) => ({
3668
4098
  slots: {
3669
- root: "relative",
4099
+ root: "relative rounded-sm",
3670
4100
  wrapper: "",
3671
4101
  leading: "inline-flex items-center justify-center",
3672
4102
  leadingIcon: "size-5 shrink-0 text-primary",
@@ -3683,13 +4113,18 @@ const pageFeature = {
3683
4113
  leading: "mb-2.5"
3684
4114
  }
3685
4115
  },
4116
+ to: {
4117
+ true: {
4118
+ root: ["has-focus-visible:ring-2 has-focus-visible:ring-primary", options.theme.transitions && "transition"]
4119
+ }
4120
+ },
3686
4121
  title: {
3687
4122
  true: {
3688
4123
  description: "mt-1"
3689
4124
  }
3690
4125
  }
3691
4126
  }
3692
- };
4127
+ });
3693
4128
 
3694
4129
  const pageGrid = {
3695
4130
  base: "relative grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8"
@@ -3842,7 +4277,7 @@ const pageSection = {
3842
4277
  },
3843
4278
  reverse: {
3844
4279
  true: {
3845
- wrapper: "lg:order-last"
4280
+ wrapper: "order-last"
3846
4281
  }
3847
4282
  },
3848
4283
  headline: {
@@ -4441,8 +4876,10 @@ const radioGroup = (options) => ({
4441
4876
  },
4442
4877
  disabled: {
4443
4878
  true: {
4444
- base: "cursor-not-allowed opacity-75",
4445
- label: "cursor-not-allowed opacity-75"
4879
+ item: "opacity-75",
4880
+ base: "cursor-not-allowed",
4881
+ label: "cursor-not-allowed",
4882
+ description: "cursor-not-allowed"
4446
4883
  }
4447
4884
  },
4448
4885
  required: {
@@ -4505,7 +4942,7 @@ const radioGroup = (options) => ({
4505
4942
  variant: ["card", "table"],
4506
4943
  disabled: true,
4507
4944
  class: {
4508
- item: "cursor-not-allowed opacity-75"
4945
+ item: "cursor-not-allowed"
4509
4946
  }
4510
4947
  }
4511
4948
  ],
@@ -4518,6 +4955,28 @@ const radioGroup = (options) => ({
4518
4955
  }
4519
4956
  });
4520
4957
 
4958
+ const scrollArea = {
4959
+ slots: {
4960
+ root: "relative",
4961
+ viewport: "relative flex",
4962
+ item: ""
4963
+ },
4964
+ variants: {
4965
+ orientation: {
4966
+ vertical: {
4967
+ root: "overflow-y-auto overflow-x-hidden",
4968
+ viewport: "flex-col",
4969
+ item: ""
4970
+ },
4971
+ horizontal: {
4972
+ root: "overflow-x-auto overflow-y-hidden",
4973
+ viewport: "flex-row",
4974
+ item: ""
4975
+ }
4976
+ }
4977
+ }
4978
+ };
4979
+
4521
4980
  const select = (options) => {
4522
4981
  return defuFn({
4523
4982
  slots: {
@@ -4750,16 +5209,21 @@ const slideover = {
4750
5209
  variants: {
4751
5210
  side: {
4752
5211
  top: {
4753
- content: "inset-x-0 top-0 max-h-full"
5212
+ content: ""
4754
5213
  },
4755
5214
  right: {
4756
- content: "right-0 inset-y-0 w-full max-w-md"
5215
+ content: "max-w-md"
4757
5216
  },
4758
5217
  bottom: {
4759
- content: "inset-x-0 bottom-0 max-h-full"
5218
+ content: ""
4760
5219
  },
4761
5220
  left: {
4762
- content: "left-0 inset-y-0 w-full max-w-md"
5221
+ content: "max-w-md"
5222
+ }
5223
+ },
5224
+ inset: {
5225
+ true: {
5226
+ content: "rounded-lg"
4763
5227
  }
4764
5228
  },
4765
5229
  transition: {
@@ -4769,6 +5233,54 @@ const slideover = {
4769
5233
  }
4770
5234
  },
4771
5235
  compoundVariants: [{
5236
+ side: "top",
5237
+ inset: true,
5238
+ class: {
5239
+ content: "max-h-[calc(100%-2rem)] inset-x-4 top-4"
5240
+ }
5241
+ }, {
5242
+ side: "top",
5243
+ inset: false,
5244
+ class: {
5245
+ content: "max-h-full inset-x-0 top-0"
5246
+ }
5247
+ }, {
5248
+ side: "right",
5249
+ inset: true,
5250
+ class: {
5251
+ content: "w-[calc(100%-2rem)] inset-y-4 right-4"
5252
+ }
5253
+ }, {
5254
+ side: "right",
5255
+ inset: false,
5256
+ class: {
5257
+ content: "w-full inset-y-0 right-0"
5258
+ }
5259
+ }, {
5260
+ side: "bottom",
5261
+ inset: true,
5262
+ class: {
5263
+ content: "max-h-[calc(100%-2rem)] inset-x-4 bottom-4"
5264
+ }
5265
+ }, {
5266
+ side: "bottom",
5267
+ inset: false,
5268
+ class: {
5269
+ content: "max-h-full inset-x-0 bottom-0"
5270
+ }
5271
+ }, {
5272
+ side: "left",
5273
+ inset: true,
5274
+ class: {
5275
+ content: "w-[calc(100%-2rem)] inset-y-4 left-4"
5276
+ }
5277
+ }, {
5278
+ side: "left",
5279
+ inset: false,
5280
+ class: {
5281
+ content: "w-full inset-y-0 left-0"
5282
+ }
5283
+ }, {
4772
5284
  transition: true,
4773
5285
  side: "top",
4774
5286
  class: {
@@ -5113,9 +5625,10 @@ const _switch = (options) => ({
5113
5625
  },
5114
5626
  disabled: {
5115
5627
  true: {
5116
- base: "cursor-not-allowed opacity-75",
5117
- label: "cursor-not-allowed opacity-75",
5118
- description: "cursor-not-allowed opacity-75"
5628
+ root: "opacity-75",
5629
+ base: "cursor-not-allowed",
5630
+ label: "cursor-not-allowed",
5631
+ description: "cursor-not-allowed"
5119
5632
  }
5120
5633
  }
5121
5634
  },
@@ -5131,12 +5644,12 @@ const table$1 = (options) => ({
5131
5644
  base: "min-w-full",
5132
5645
  caption: "sr-only",
5133
5646
  thead: "relative",
5134
- tbody: "[&>tr]:data-[selectable=true]:hover:bg-elevated/50 [&>tr]:data-[selectable=true]:focus-visible:outline-primary",
5647
+ tbody: "isolate [&>tr]:data-[selectable=true]:hover:bg-elevated/50 [&>tr]:data-[selectable=true]:focus-visible:outline-primary",
5135
5648
  tfoot: "relative",
5136
5649
  tr: "data-[selected=true]:bg-elevated/50",
5137
5650
  th: "px-4 py-3.5 text-sm text-highlighted text-left rtl:text-right font-semibold [&:has([role=checkbox])]:pe-0",
5138
5651
  td: "p-4 text-sm text-muted whitespace-nowrap [&:has([role=checkbox])]:pe-0",
5139
- separator: "absolute z-[1] left-0 w-full h-px bg-(--ui-border-accented)",
5652
+ separator: "absolute z-1 left-0 w-full h-px bg-(--ui-border-accented)",
5140
5653
  empty: "py-6 text-center text-sm text-muted",
5141
5654
  loading: "py-6 text-center"
5142
5655
  },
@@ -5149,25 +5662,25 @@ const table$1 = (options) => ({
5149
5662
  },
5150
5663
  pinned: {
5151
5664
  true: {
5152
- th: "sticky bg-default/75 data-[pinned=left]:left-0 data-[pinned=right]:right-0",
5153
- td: "sticky bg-default/75 data-[pinned=left]:left-0 data-[pinned=right]:right-0"
5665
+ th: "sticky bg-default/75 z-1",
5666
+ td: "sticky bg-default/75 z-1"
5154
5667
  }
5155
5668
  },
5156
5669
  sticky: {
5157
5670
  true: {
5158
- thead: "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur",
5159
- tfoot: "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
5671
+ thead: "sticky top-0 inset-x-0 bg-default/75 backdrop-blur z-1",
5672
+ tfoot: "sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur z-1"
5160
5673
  },
5161
5674
  header: {
5162
- thead: "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
5675
+ thead: "sticky top-0 inset-x-0 bg-default/75 backdrop-blur z-1"
5163
5676
  },
5164
5677
  footer: {
5165
- tfoot: "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
5678
+ tfoot: "sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur z-1"
5166
5679
  }
5167
5680
  },
5168
5681
  loading: {
5169
5682
  true: {
5170
- thead: "after:absolute after:z-[1] after:h-px"
5683
+ thead: "after:absolute after:z-1 after:h-px"
5171
5684
  }
5172
5685
  },
5173
5686
  loadingAnimation: {
@@ -5808,9 +6321,9 @@ const user = (options) => ({
5808
6321
  },
5809
6322
  to: {
5810
6323
  true: {
5811
- name: ["text-default peer-hover:text-highlighted", options.theme.transitions && "transition-colors"],
5812
- description: ["peer-hover:text-toned", options.theme.transitions && "transition-colors"],
5813
- avatar: "transform transition-transform duration-200 group-hover/user:scale-115"
6324
+ name: ["text-default peer-hover:text-highlighted peer-focus-visible:text-highlighted", options.theme.transitions && "transition-colors"],
6325
+ description: ["peer-hover:text-toned peer-focus-visible:text-toned", options.theme.transitions && "transition-colors"],
6326
+ avatar: "transform transition-transform duration-200 group-hover/user:scale-115 group-has-focus-visible/user:scale-115"
5814
6327
  },
5815
6328
  false: {
5816
6329
  name: "text-highlighted",
@@ -5916,6 +6429,12 @@ const theme = {
5916
6429
  dashboardToolbar: dashboardToolbar,
5917
6430
  drawer: drawer,
5918
6431
  dropdownMenu: dropdownMenu,
6432
+ editor: editor,
6433
+ editorDragHandle: editorDragHandle,
6434
+ editorEmojiMenu: editorEmojiMenu,
6435
+ editorMentionMenu: editorMentionMenu,
6436
+ editorSuggestionMenu: editorSuggestionMenu,
6437
+ editorToolbar: editorToolbar,
5919
6438
  empty: empty,
5920
6439
  error: error,
5921
6440
  fieldGroup: fieldGroup$1,
@@ -5926,9 +6445,11 @@ const theme = {
5926
6445
  formField: formField,
5927
6446
  header: header,
5928
6447
  input: input,
6448
+ inputDate: inputDate,
5929
6449
  inputMenu: inputMenu,
5930
6450
  inputNumber: inputNumber,
5931
6451
  inputTags: inputTags,
6452
+ inputTime: inputTime,
5932
6453
  kbd: kbd$1,
5933
6454
  link: link,
5934
6455
  main: main,
@@ -5958,6 +6479,7 @@ const theme = {
5958
6479
  pricingTable: pricingTable,
5959
6480
  progress: progress,
5960
6481
  radioGroup: radioGroup,
6482
+ scrollArea: scrollArea,
5961
6483
  select: select,
5962
6484
  selectMenu: selectMenu,
5963
6485
  separator: separator,
@@ -5978,7 +6500,7 @@ const theme = {
5978
6500
  };
5979
6501
 
5980
6502
  const a = (options) => ({
5981
- base: ["text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary", options.theme.transitions && "transition-colors [&>code]:transition-colors"]
6503
+ base: ["text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary focus-visible:has-[>code]:outline-0 [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary focus-visible:[&>code]:border-primary focus-visible:[&>code]:text-primary", options.theme.transitions && "transition-colors [&>code]:transition-colors"]
5982
6504
  });
5983
6505
 
5984
6506
  const accordion = {
@@ -6003,13 +6525,13 @@ const blockquote = {
6003
6525
  const callout = (options) => ({
6004
6526
  slots: {
6005
6527
  base: ["group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0", options.theme.transitions && "transition-colors"],
6006
- icon: ["size-4 shrink-0 align-sub me-1.5", options.theme.transitions && "transition-colors"],
6528
+ icon: ["size-4 shrink-0 align-sub me-1.5 inline-block", options.theme.transitions && "transition-colors"],
6007
6529
  externalIcon: ["size-4 align-top absolute right-2 top-2 pointer-events-none", options.theme.transitions && "transition-colors"]
6008
6530
  },
6009
6531
  variants: {
6010
6532
  color: {
6011
6533
  ...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
6012
- base: `border border-${color}/25 bg-${color}/10 text-${color}-600 dark:text-${color}-300 [&_a]:text-${color} [&_a]:hover:border-${color} [&_code]:text-${color}-600 dark:[&_code]:text-${color}-300 [&_code]:border-${color}/25 [&_a]:hover:[&>code]:border-${color} [&_a]:hover:[&>code]:text-${color} [&>ul]:marker:text-${color}/50`,
6534
+ base: `border border-${color}/25 bg-${color}/10 text-${color}-600 dark:text-${color}-300 [&_a]:text-${color} [&_a]:hover:border-${color} [&_a]:focus-visible:outline-${color} [&_code]:text-${color}-600 dark:[&_code]:text-${color}-300 [&_code]:border-${color}/25 [&_a]:hover:[&>code]:border-${color} [&_a]:hover:[&>code]:text-${color} [&_a]:focus-visible:[&>code]:border-${color} [&_a]:focus-visible:[&>code]:text-${color} [&>ul]:marker:text-${color}/50`,
6013
6535
  icon: `text-${color}`,
6014
6536
  externalIcon: `text-${color}-600 dark:text-${color}-300`
6015
6537
  }])),
@@ -6027,14 +6549,14 @@ const callout = (options) => ({
6027
6549
  color,
6028
6550
  to: true,
6029
6551
  class: {
6030
- base: `hover:border-${color}`,
6552
+ base: `hover:border-${color} has-focus-visible:border-${color}`,
6031
6553
  externalIcon: `group-hover:text-${color}`
6032
6554
  }
6033
6555
  })), {
6034
6556
  color: "neutral",
6035
6557
  to: true,
6036
6558
  class: {
6037
- base: "hover:border-inverted",
6559
+ base: "hover:border-inverted has-focus-visible:border-inverted",
6038
6560
  externalIcon: "group-hover:text-highlighted"
6039
6561
  }
6040
6562
  }],
@@ -6073,14 +6595,14 @@ const card = (options) => ({
6073
6595
  color,
6074
6596
  to: true,
6075
6597
  class: {
6076
- base: `hover:bg-${color}/10 hover:border-${color}`,
6598
+ base: `hover:bg-${color}/10 hover:border-${color} has-focus-visible:border-${color}`,
6077
6599
  externalIcon: `group-hover:text-${color}`
6078
6600
  }
6079
6601
  })), {
6080
6602
  color: "neutral",
6081
6603
  to: true,
6082
6604
  class: {
6083
- base: "hover:bg-elevated/50 hover:border-inverted",
6605
+ base: "hover:bg-elevated/50 hover:border-inverted has-focus-visible:border-inverted",
6084
6606
  externalIcon: "group-hover:text-highlighted"
6085
6607
  }
6086
6608
  }],
@@ -6200,6 +6722,7 @@ const codeIcon = {
6200
6722
  "npx": "i-vscode-icons-file-type-npm",
6201
6723
  "yarn": "i-vscode-icons-file-type-yarn",
6202
6724
  "bun": "i-vscode-icons-file-type-bun",
6725
+ "deno": "i-vscode-icons-file-type-deno",
6203
6726
  "yml": "i-vscode-icons-file-type-yaml",
6204
6727
  "terminal": "i-lucide-terminal"
6205
6728
  };
@@ -6637,7 +7160,7 @@ const contentSearch = {
6637
7160
  variants: {
6638
7161
  fullscreen: {
6639
7162
  false: {
6640
- modal: "sm:max-w-3xl sm:h-[28rem]"
7163
+ modal: "sm:max-w-3xl h-full sm:h-[28rem]"
6641
7164
  }
6642
7165
  }
6643
7166
  }
@@ -6646,7 +7169,16 @@ const contentSearch = {
6646
7169
  const contentSearchButton = {
6647
7170
  slots: {
6648
7171
  base: "",
7172
+ label: "",
6649
7173
  trailing: "hidden lg:flex items-center gap-0.5 ms-auto"
7174
+ },
7175
+ variants: {
7176
+ collapsed: {
7177
+ true: {
7178
+ label: "hidden",
7179
+ trailing: "lg:hidden"
7180
+ }
7181
+ }
6650
7182
  }
6651
7183
  };
6652
7184
 
@@ -6751,83 +7283,6 @@ const themeContent = {
6751
7283
  contentToc: contentToc
6752
7284
  };
6753
7285
 
6754
- async function buildComponentDependencyGraph(componentDir, prefix) {
6755
- const dependencyGraph = /* @__PURE__ */ new Map();
6756
- const componentFiles = globSync(["**/*.vue"], {
6757
- cwd: componentDir,
6758
- absolute: true
6759
- });
6760
- const componentPattern = new RegExp(`<${prefix}([A-Z][a-zA-Z]+)|\\b${prefix}([A-Z][a-zA-Z]+)\\b`, "g");
6761
- for (const componentFile of componentFiles) {
6762
- try {
6763
- const content = await readFile(componentFile, "utf-8");
6764
- const componentName = pascalCase(componentFile.split("/").pop().replace(".vue", ""));
6765
- const dependencies = /* @__PURE__ */ new Set();
6766
- const matches = content.matchAll(componentPattern);
6767
- for (const match of matches) {
6768
- const depName = match[1] || match[2];
6769
- if (depName && depName !== componentName) {
6770
- dependencies.add(depName);
6771
- }
6772
- }
6773
- dependencyGraph.set(componentName, dependencies);
6774
- } catch {
6775
- }
6776
- }
6777
- return dependencyGraph;
6778
- }
6779
- function resolveComponentDependencies(component, dependencyGraph, resolved = /* @__PURE__ */ new Set()) {
6780
- if (resolved.has(component)) {
6781
- return resolved;
6782
- }
6783
- resolved.add(component);
6784
- const dependencies = dependencyGraph.get(component);
6785
- if (dependencies) {
6786
- for (const dep of dependencies) {
6787
- resolveComponentDependencies(dep, dependencyGraph, resolved);
6788
- }
6789
- }
6790
- return resolved;
6791
- }
6792
- async function detectUsedComponents(rootDir, prefix, componentDir, includeComponents) {
6793
- const detectedComponents = /* @__PURE__ */ new Set();
6794
- if (includeComponents && includeComponents.length > 0) {
6795
- for (const component of includeComponents) {
6796
- detectedComponents.add(component);
6797
- }
6798
- }
6799
- const appFiles = globSync(["**/*.{vue,ts,js,tsx,jsx}"], {
6800
- cwd: rootDir,
6801
- ignore: ["node_modules/**", ".nuxt/**", "dist/**"]
6802
- });
6803
- const componentPattern = new RegExp(`<${prefix}([A-Z][a-zA-Z]+)|\\b${prefix}([A-Z][a-zA-Z]+)\\b`, "g");
6804
- for (const file of appFiles) {
6805
- try {
6806
- const filePath = join(rootDir, file);
6807
- const content = await readFile(filePath, "utf-8");
6808
- const matches = content.matchAll(componentPattern);
6809
- for (const match of matches) {
6810
- const componentName = match[1] || match[2];
6811
- if (componentName) {
6812
- detectedComponents.add(componentName);
6813
- }
6814
- }
6815
- } catch {
6816
- }
6817
- }
6818
- if (detectedComponents.size === 0) {
6819
- return void 0;
6820
- }
6821
- const dependencyGraph = await buildComponentDependencyGraph(componentDir, prefix);
6822
- const allComponents = /* @__PURE__ */ new Set();
6823
- for (const component of detectedComponents) {
6824
- const resolved = resolveComponentDependencies(component, dependencyGraph);
6825
- for (const resolvedComponent of resolved) {
6826
- allComponents.add(resolvedComponent);
6827
- }
6828
- }
6829
- return allComponents;
6830
- }
6831
7286
  function getTemplates(options, uiConfig, nuxt, resolve) {
6832
7287
  const templates = [];
6833
7288
  let hasProse = false;
@@ -6840,13 +7295,9 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
6840
7295
  write: true,
6841
7296
  getContents: async () => {
6842
7297
  const template = theme2[component];
6843
- const result = typeof template === "function" ? template(options) : template;
6844
- if (result?.defaultVariants?.color && options.theme?.defaultVariants?.color) {
6845
- result.defaultVariants.color = options.theme.defaultVariants.color;
6846
- }
6847
- if (result?.defaultVariants?.size && options.theme?.defaultVariants?.size) {
6848
- result.defaultVariants.size = options.theme.defaultVariants.size;
6849
- }
7298
+ let result = typeof template === "function" ? template(options) : template;
7299
+ result = applyDefaultVariants(result, options.theme?.defaultVariants);
7300
+ result = applyPrefixToObject(result, options.theme?.prefix);
6850
7301
  const variants = Object.entries(result.variants || {}).filter(([_, values]) => {
6851
7302
  const keys = Object.keys(values);
6852
7303
  return keys.some((key) => key !== "true" && key !== "false");
@@ -6873,11 +7324,43 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
6873
7324
  });
6874
7325
  }
6875
7326
  }
6876
- async function getSources() {
6877
- let sources = "";
6878
- if (!!nuxt && !!resolve && options.experimental?.componentDetection) {
7327
+ if (!!nuxt && (hasNuxtModule("@nuxtjs/mdc") || options.mdc || (hasNuxtModule("@nuxt/content") || options.content))) {
7328
+ hasProse = true;
7329
+ const path = "prose";
7330
+ writeThemeTemplate(themeProse, path);
7331
+ templates.push({
7332
+ filename: `ui/${path}/index.ts`,
7333
+ write: true,
7334
+ getContents: () => Object.keys(themeProse).map((component) => `export { default as ${component} } from './${kebabCase(component)}'`).join("\n")
7335
+ });
7336
+ }
7337
+ if (!!nuxt && (hasNuxtModule("@nuxt/content") || options.content)) {
7338
+ hasContent = true;
7339
+ writeThemeTemplate(themeContent, "content");
7340
+ }
7341
+ writeThemeTemplate(theme);
7342
+ async function generateSources() {
7343
+ if (!nuxt) {
7344
+ return '@source "./ui";';
7345
+ }
7346
+ const sources = [];
7347
+ const layers = getLayerDirectories(nuxt).map((layer) => layer.app);
7348
+ for (const layer of layers) {
7349
+ sources.push(`@source "${layer}**/*";`);
7350
+ }
7351
+ const inlineConfigs = [
7352
+ nuxt.options.app?.rootAttrs?.class,
7353
+ nuxt.options.app?.head?.htmlAttrs?.class,
7354
+ nuxt.options.app?.head?.bodyAttrs?.class
7355
+ ];
7356
+ for (const value of inlineConfigs) {
7357
+ if (value && typeof value === "string") {
7358
+ sources.push(`@source inline(${JSON.stringify(value)});`);
7359
+ }
7360
+ }
7361
+ if (resolve && options.experimental?.componentDetection) {
6879
7362
  const detectedComponents = await detectUsedComponents(
6880
- nuxt.options.rootDir,
7363
+ layers,
6881
7364
  options.prefix,
6882
7365
  resolve("./runtime/components"),
6883
7366
  Array.isArray(options.experimental.componentDetection) ? options.experimental.componentDetection : void 0
@@ -6894,51 +7377,44 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
6894
7377
  logger.success(`Nuxt UI detected ${detectedComponents.size} components in use (including dependencies)`);
6895
7378
  }
6896
7379
  previousDetectedComponents = detectedComponents;
6897
- const sourcesList = [];
6898
7380
  if (hasProse) {
6899
- sourcesList.push('@source "./ui/prose";');
7381
+ sources.push('@source "./ui/prose";');
6900
7382
  }
6901
7383
  for (const component of detectedComponents) {
6902
7384
  const kebabComponent = kebabCase(component);
6903
7385
  const camelComponent = camelCase(component);
6904
7386
  if (hasContent && themeContent[camelComponent]) {
6905
- sourcesList.push(`@source "./ui/content/${kebabComponent}.ts";`);
7387
+ sources.push(`@source "./ui/content/${kebabComponent}.ts";`);
6906
7388
  } else if (theme[camelComponent]) {
6907
- sourcesList.push(`@source "./ui/${kebabComponent}.ts";`);
7389
+ sources.push(`@source "./ui/${kebabComponent}.ts";`);
6908
7390
  }
6909
7391
  }
6910
- sources = sourcesList.join("\n");
6911
7392
  } else {
6912
7393
  if (!previousDetectedComponents || previousDetectedComponents.size > 0) {
6913
7394
  logger.info("Nuxt UI detected no components in use, including all components");
6914
7395
  }
6915
7396
  previousDetectedComponents = /* @__PURE__ */ new Set();
7397
+ sources.push('@source "./ui";');
6916
7398
  }
7399
+ } else {
7400
+ sources.push('@source "./ui";');
6917
7401
  }
6918
- return sources || '@source "./ui";';
7402
+ return sources.join("\n");
6919
7403
  }
6920
- if (!!nuxt && (hasNuxtModule("@nuxtjs/mdc") || options.mdc || (hasNuxtModule("@nuxt/content") || options.content))) {
6921
- hasProse = true;
6922
- const path = "prose";
6923
- writeThemeTemplate(themeProse, path);
6924
- templates.push({
6925
- filename: `ui/${path}/index.ts`,
6926
- write: true,
6927
- getContents: () => Object.keys(themeProse).map((component) => `export { default as ${component} } from './${kebabCase(component)}'`).join("\n")
6928
- });
6929
- }
6930
- if (!!nuxt && (hasNuxtModule("@nuxt/content") || options.content)) {
6931
- hasContent = true;
6932
- writeThemeTemplate(themeContent, "content");
6933
- }
6934
- writeThemeTemplate(theme);
6935
7404
  templates.push({
6936
7405
  filename: "ui.css",
6937
7406
  write: true,
6938
7407
  getContents: async () => {
6939
- const sources = await getSources();
7408
+ const sources = await generateSources();
7409
+ const prefix = options.theme?.prefix ? `${options.theme.prefix}:` : "";
6940
7410
  return `${sources}
6941
7411
 
7412
+ @layer base {
7413
+ body {
7414
+ @apply ${prefix}antialiased ${prefix}text-default ${prefix}bg-default ${prefix}scheme-light ${prefix}dark:scheme-dark;
7415
+ }
7416
+ }
7417
+
6942
7418
  @theme static {
6943
7419
  --color-old-neutral-50: ${colors.neutral[50]};
6944
7420
  --color-old-neutral-100: ${colors.neutral[100]};
@@ -7008,17 +7484,11 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
7008
7484
  templates.push({
7009
7485
  filename: "ui/index.ts",
7010
7486
  write: true,
7011
- getContents: () => {
7012
- let contents = Object.keys(theme).map((component) => `export { default as ${component} } from './${kebabCase(component)}'`).join("\n");
7013
- if (hasContent) {
7014
- contents += "\n";
7015
- contents += Object.keys(themeContent).map((component) => `export { default as ${component} } from './content/${kebabCase(component)}'`).join("\n");
7016
- }
7017
- if (hasProse) contents += `
7018
- export * as prose from './prose'
7019
- `;
7020
- return contents;
7021
- }
7487
+ getContents: () => [
7488
+ ...Object.keys(theme).map((component) => `export { default as ${component} } from './${kebabCase(component)}'`),
7489
+ ...hasContent ? Object.keys(themeContent).map((component) => `export { default as ${component} } from './content/${kebabCase(component)}'`) : [],
7490
+ ...hasProse ? [`export * as prose from './prose'`] : []
7491
+ ].join("\n")
7022
7492
  });
7023
7493
  templates.push({
7024
7494
  filename: "types/ui.d.ts",
@@ -7041,6 +7511,7 @@ type AppConfigUI = {
7041
7511
  neutral?: NeutralColor | (string & {})
7042
7512
  }
7043
7513
  icons?: Partial<IconsConfig>
7514
+ prefix?: string
7044
7515
  tv?: typeof defaultConfig
7045
7516
  } & TVConfig<typeof ui>
7046
7517
 
@@ -7089,4 +7560,4 @@ function addTemplates(options, nuxt, resolve) {
7089
7560
  }
7090
7561
  }
7091
7562
 
7092
- export { getDefaultUiConfig as a, addTemplates as b, defaultOptions as d, getTemplates as g, resolveColors as r };
7563
+ export { getDefaultConfig as a, addTemplates as b, defaultOptions as d, getTemplates as g, resolveColors as r };