@nuxt/ui 4.2.1 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/.nuxt/ui.css +2 -0
  2. package/README.md +6 -5
  3. package/cli/package.json +1 -1
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +4 -4
  6. package/dist/runtime/components/Accordion.d.vue.ts +16 -7
  7. package/dist/runtime/components/Accordion.vue +2 -1
  8. package/dist/runtime/components/Accordion.vue.d.ts +16 -7
  9. package/dist/runtime/components/Alert.d.vue.ts +4 -4
  10. package/dist/runtime/components/Alert.vue.d.ts +4 -4
  11. package/dist/runtime/components/App.d.vue.ts +10 -6
  12. package/dist/runtime/components/App.vue.d.ts +10 -6
  13. package/dist/runtime/components/AuthForm.d.vue.ts +53 -11
  14. package/dist/runtime/components/AuthForm.vue.d.ts +53 -11
  15. package/dist/runtime/components/Avatar.d.vue.ts +2 -2
  16. package/dist/runtime/components/Avatar.vue.d.ts +2 -2
  17. package/dist/runtime/components/AvatarGroup.d.vue.ts +1 -1
  18. package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
  19. package/dist/runtime/components/Badge.d.vue.ts +2 -2
  20. package/dist/runtime/components/Badge.vue.d.ts +2 -2
  21. package/dist/runtime/components/Banner.d.vue.ts +5 -6
  22. package/dist/runtime/components/Banner.vue +49 -23
  23. package/dist/runtime/components/Banner.vue.d.ts +5 -6
  24. package/dist/runtime/components/BlogPost.d.vue.ts +2 -2
  25. package/dist/runtime/components/BlogPost.vue +0 -1
  26. package/dist/runtime/components/BlogPost.vue.d.ts +2 -2
  27. package/dist/runtime/components/BlogPosts.d.vue.ts +10 -6
  28. package/dist/runtime/components/BlogPosts.vue.d.ts +10 -6
  29. package/dist/runtime/components/Breadcrumb.d.vue.ts +10 -6
  30. package/dist/runtime/components/Breadcrumb.vue.d.ts +10 -6
  31. package/dist/runtime/components/Button.d.vue.ts +1 -1
  32. package/dist/runtime/components/Button.vue.d.ts +1 -1
  33. package/dist/runtime/components/Calendar.d.vue.ts +17 -12
  34. package/dist/runtime/components/Calendar.vue +13 -2
  35. package/dist/runtime/components/Calendar.vue.d.ts +17 -12
  36. package/dist/runtime/components/Card.d.vue.ts +1 -1
  37. package/dist/runtime/components/Card.vue.d.ts +1 -1
  38. package/dist/runtime/components/Carousel.d.vue.ts +14 -10
  39. package/dist/runtime/components/Carousel.vue +22 -0
  40. package/dist/runtime/components/Carousel.vue.d.ts +14 -10
  41. package/dist/runtime/components/ChangelogVersion.d.vue.ts +2 -2
  42. package/dist/runtime/components/ChangelogVersion.vue +0 -1
  43. package/dist/runtime/components/ChangelogVersion.vue.d.ts +2 -2
  44. package/dist/runtime/components/ChangelogVersions.d.vue.ts +14 -8
  45. package/dist/runtime/components/ChangelogVersions.vue +3 -2
  46. package/dist/runtime/components/ChangelogVersions.vue.d.ts +14 -8
  47. package/dist/runtime/components/ChatMessage.d.vue.ts +2 -2
  48. package/dist/runtime/components/ChatMessage.vue.d.ts +2 -2
  49. package/dist/runtime/components/ChatMessages.d.vue.ts +5 -5
  50. package/dist/runtime/components/ChatMessages.vue.d.ts +5 -5
  51. package/dist/runtime/components/ChatPalette.d.vue.ts +1 -1
  52. package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
  53. package/dist/runtime/components/ChatPrompt.d.vue.ts +3 -3
  54. package/dist/runtime/components/ChatPrompt.vue.d.ts +3 -3
  55. package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +7 -7
  56. package/dist/runtime/components/ChatPromptSubmit.vue +1 -20
  57. package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +7 -7
  58. package/dist/runtime/components/Checkbox.d.vue.ts +2 -2
  59. package/dist/runtime/components/Checkbox.vue.d.ts +2 -2
  60. package/dist/runtime/components/CheckboxGroup.d.vue.ts +12 -8
  61. package/dist/runtime/components/CheckboxGroup.vue.d.ts +12 -8
  62. package/dist/runtime/components/Chip.d.vue.ts +2 -2
  63. package/dist/runtime/components/Chip.vue.d.ts +2 -2
  64. package/dist/runtime/components/Collapsible.d.vue.ts +2 -2
  65. package/dist/runtime/components/Collapsible.vue.d.ts +2 -2
  66. package/dist/runtime/components/ColorPicker.d.vue.ts +2 -2
  67. package/dist/runtime/components/ColorPicker.vue.d.ts +2 -2
  68. package/dist/runtime/components/CommandPalette.d.vue.ts +31 -13
  69. package/dist/runtime/components/CommandPalette.vue +26 -18
  70. package/dist/runtime/components/CommandPalette.vue.d.ts +31 -13
  71. package/dist/runtime/components/Container.d.vue.ts +1 -1
  72. package/dist/runtime/components/Container.vue.d.ts +1 -1
  73. package/dist/runtime/components/ContextMenu.d.vue.ts +17 -9
  74. package/dist/runtime/components/ContextMenu.vue.d.ts +17 -9
  75. package/dist/runtime/components/ContextMenuContent.d.vue.ts +11 -7
  76. package/dist/runtime/components/ContextMenuContent.vue +12 -13
  77. package/dist/runtime/components/ContextMenuContent.vue.d.ts +11 -7
  78. package/dist/runtime/components/DashboardGroup.d.vue.ts +2 -2
  79. package/dist/runtime/components/DashboardGroup.vue.d.ts +2 -2
  80. package/dist/runtime/components/DashboardNavbar.d.vue.ts +5 -5
  81. package/dist/runtime/components/DashboardNavbar.vue.d.ts +5 -5
  82. package/dist/runtime/components/DashboardPanel.d.vue.ts +2 -2
  83. package/dist/runtime/components/DashboardPanel.vue.d.ts +2 -2
  84. package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +1 -1
  85. package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +1 -1
  86. package/dist/runtime/components/DashboardSearch.d.vue.ts +10 -6
  87. package/dist/runtime/components/DashboardSearch.vue +3 -1
  88. package/dist/runtime/components/DashboardSearch.vue.d.ts +10 -6
  89. package/dist/runtime/components/DashboardSearchButton.d.vue.ts +5 -5
  90. package/dist/runtime/components/DashboardSearchButton.vue +1 -20
  91. package/dist/runtime/components/DashboardSearchButton.vue.d.ts +5 -5
  92. package/dist/runtime/components/DashboardSidebar.d.vue.ts +13 -9
  93. package/dist/runtime/components/DashboardSidebar.vue.d.ts +13 -9
  94. package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +5 -5
  95. package/dist/runtime/components/DashboardSidebarCollapse.vue +1 -20
  96. package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +5 -5
  97. package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +5 -5
  98. package/dist/runtime/components/DashboardSidebarToggle.vue +1 -20
  99. package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +5 -5
  100. package/dist/runtime/components/DashboardToolbar.d.vue.ts +1 -1
  101. package/dist/runtime/components/DashboardToolbar.vue.d.ts +1 -1
  102. package/dist/runtime/components/Drawer.d.vue.ts +3 -3
  103. package/dist/runtime/components/Drawer.vue.d.ts +3 -3
  104. package/dist/runtime/components/DropdownMenu.d.vue.ts +17 -9
  105. package/dist/runtime/components/DropdownMenu.vue.d.ts +17 -9
  106. package/dist/runtime/components/DropdownMenuContent.d.vue.ts +11 -7
  107. package/dist/runtime/components/DropdownMenuContent.vue +12 -13
  108. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +11 -7
  109. package/dist/runtime/components/Editor.d.vue.ts +101 -0
  110. package/dist/runtime/components/Editor.vue +199 -0
  111. package/dist/runtime/components/Editor.vue.d.ts +101 -0
  112. package/dist/runtime/components/EditorDragHandle.d.vue.ts +68 -0
  113. package/dist/runtime/components/EditorDragHandle.vue +127 -0
  114. package/dist/runtime/components/EditorDragHandle.vue.d.ts +68 -0
  115. package/dist/runtime/components/EditorEmojiMenu.d.vue.ts +41 -0
  116. package/dist/runtime/components/EditorEmojiMenu.vue +73 -0
  117. package/dist/runtime/components/EditorEmojiMenu.vue.d.ts +41 -0
  118. package/dist/runtime/components/EditorMentionMenu.d.vue.ts +49 -0
  119. package/dist/runtime/components/EditorMentionMenu.vue +79 -0
  120. package/dist/runtime/components/EditorMentionMenu.vue.d.ts +49 -0
  121. package/dist/runtime/components/EditorSuggestionMenu.d.vue.ts +58 -0
  122. package/dist/runtime/components/EditorSuggestionMenu.vue +83 -0
  123. package/dist/runtime/components/EditorSuggestionMenu.vue.d.ts +58 -0
  124. package/dist/runtime/components/EditorToolbar.d.vue.ts +92 -0
  125. package/dist/runtime/components/EditorToolbar.vue +242 -0
  126. package/dist/runtime/components/EditorToolbar.vue.d.ts +92 -0
  127. package/dist/runtime/components/Empty.d.vue.ts +1 -1
  128. package/dist/runtime/components/Empty.vue.d.ts +1 -1
  129. package/dist/runtime/components/Error.d.vue.ts +6 -5
  130. package/dist/runtime/components/Error.vue +1 -1
  131. package/dist/runtime/components/Error.vue.d.ts +6 -5
  132. package/dist/runtime/components/FieldGroup.d.vue.ts +2 -2
  133. package/dist/runtime/components/FieldGroup.vue.d.ts +2 -2
  134. package/dist/runtime/components/FileUpload.d.vue.ts +13 -9
  135. package/dist/runtime/components/FileUpload.vue +2 -2
  136. package/dist/runtime/components/FileUpload.vue.d.ts +13 -9
  137. package/dist/runtime/components/Footer.d.vue.ts +2 -2
  138. package/dist/runtime/components/Footer.vue.d.ts +2 -2
  139. package/dist/runtime/components/FooterColumns.d.vue.ts +10 -6
  140. package/dist/runtime/components/FooterColumns.vue.d.ts +10 -6
  141. package/dist/runtime/components/Form.d.vue.ts +11 -7
  142. package/dist/runtime/components/Form.vue.d.ts +11 -7
  143. package/dist/runtime/components/FormField.d.vue.ts +8 -1
  144. package/dist/runtime/components/FormField.vue +6 -5
  145. package/dist/runtime/components/FormField.vue.d.ts +8 -1
  146. package/dist/runtime/components/Header.d.vue.ts +13 -9
  147. package/dist/runtime/components/Header.vue.d.ts +13 -9
  148. package/dist/runtime/components/Icon.d.vue.ts +1 -1
  149. package/dist/runtime/components/Icon.vue.d.ts +1 -1
  150. package/dist/runtime/components/Input.d.vue.ts +14 -10
  151. package/dist/runtime/components/Input.vue.d.ts +14 -10
  152. package/dist/runtime/components/InputDate.d.vue.ts +13 -9
  153. package/dist/runtime/components/InputDate.vue.d.ts +13 -9
  154. package/dist/runtime/components/InputMenu.d.vue.ts +34 -13
  155. package/dist/runtime/components/InputMenu.vue +56 -11
  156. package/dist/runtime/components/InputMenu.vue.d.ts +34 -13
  157. package/dist/runtime/components/InputNumber.d.vue.ts +18 -14
  158. package/dist/runtime/components/InputNumber.vue +1 -1
  159. package/dist/runtime/components/InputNumber.vue.d.ts +18 -14
  160. package/dist/runtime/components/InputTags.d.vue.ts +13 -9
  161. package/dist/runtime/components/InputTags.vue.d.ts +13 -9
  162. package/dist/runtime/components/InputTime.d.vue.ts +4 -4
  163. package/dist/runtime/components/InputTime.vue.d.ts +4 -4
  164. package/dist/runtime/components/Kbd.d.vue.ts +2 -2
  165. package/dist/runtime/components/Kbd.vue.d.ts +2 -2
  166. package/dist/runtime/components/Link.d.vue.ts +8 -3
  167. package/dist/runtime/components/Link.vue.d.ts +8 -3
  168. package/dist/runtime/components/LinkBase.d.vue.ts +3 -3
  169. package/dist/runtime/components/LinkBase.vue.d.ts +3 -3
  170. package/dist/runtime/components/Main.d.vue.ts +4 -2
  171. package/dist/runtime/components/Main.vue +1 -1
  172. package/dist/runtime/components/Main.vue.d.ts +4 -2
  173. package/dist/runtime/components/Marquee.d.vue.ts +3 -3
  174. package/dist/runtime/components/Marquee.vue.d.ts +3 -3
  175. package/dist/runtime/components/Modal.d.vue.ts +7 -7
  176. package/dist/runtime/components/Modal.vue.d.ts +7 -7
  177. package/dist/runtime/components/NavigationMenu.d.vue.ts +17 -8
  178. package/dist/runtime/components/NavigationMenu.vue +3 -2
  179. package/dist/runtime/components/NavigationMenu.vue.d.ts +17 -8
  180. package/dist/runtime/components/Page.d.vue.ts +1 -1
  181. package/dist/runtime/components/Page.vue.d.ts +1 -1
  182. package/dist/runtime/components/PageAnchors.d.vue.ts +10 -6
  183. package/dist/runtime/components/PageAnchors.vue.d.ts +10 -6
  184. package/dist/runtime/components/PageAside.d.vue.ts +2 -2
  185. package/dist/runtime/components/PageAside.vue.d.ts +2 -2
  186. package/dist/runtime/components/PageBody.d.vue.ts +1 -1
  187. package/dist/runtime/components/PageBody.vue.d.ts +1 -1
  188. package/dist/runtime/components/PageCTA.d.vue.ts +2 -2
  189. package/dist/runtime/components/PageCTA.vue.d.ts +2 -2
  190. package/dist/runtime/components/PageCard.d.vue.ts +2 -2
  191. package/dist/runtime/components/PageCard.vue.d.ts +2 -2
  192. package/dist/runtime/components/PageColumns.d.vue.ts +1 -1
  193. package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
  194. package/dist/runtime/components/PageFeature.d.vue.ts +2 -2
  195. package/dist/runtime/components/PageFeature.vue +2 -2
  196. package/dist/runtime/components/PageFeature.vue.d.ts +2 -2
  197. package/dist/runtime/components/PageGrid.d.vue.ts +1 -1
  198. package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
  199. package/dist/runtime/components/PageHeader.d.vue.ts +1 -1
  200. package/dist/runtime/components/PageHeader.vue.d.ts +1 -1
  201. package/dist/runtime/components/PageHero.d.vue.ts +2 -2
  202. package/dist/runtime/components/PageHero.vue.d.ts +2 -2
  203. package/dist/runtime/components/PageLinks.d.vue.ts +10 -6
  204. package/dist/runtime/components/PageLinks.vue.d.ts +10 -6
  205. package/dist/runtime/components/PageList.d.vue.ts +2 -2
  206. package/dist/runtime/components/PageList.vue.d.ts +2 -2
  207. package/dist/runtime/components/PageLogos.d.vue.ts +2 -2
  208. package/dist/runtime/components/PageLogos.vue.d.ts +2 -2
  209. package/dist/runtime/components/PageSection.d.vue.ts +2 -2
  210. package/dist/runtime/components/PageSection.vue.d.ts +2 -2
  211. package/dist/runtime/components/Pagination.d.vue.ts +4 -5
  212. package/dist/runtime/components/Pagination.vue.d.ts +4 -5
  213. package/dist/runtime/components/PinInput.d.vue.ts +13 -9
  214. package/dist/runtime/components/PinInput.vue +1 -1
  215. package/dist/runtime/components/PinInput.vue.d.ts +13 -9
  216. package/dist/runtime/components/Popover.d.vue.ts +11 -7
  217. package/dist/runtime/components/Popover.vue.d.ts +11 -7
  218. package/dist/runtime/components/PricingPlan.d.vue.ts +2 -2
  219. package/dist/runtime/components/PricingPlan.vue.d.ts +2 -2
  220. package/dist/runtime/components/PricingPlans.d.vue.ts +10 -6
  221. package/dist/runtime/components/PricingPlans.vue.d.ts +10 -6
  222. package/dist/runtime/components/PricingTable.d.vue.ts +10 -6
  223. package/dist/runtime/components/PricingTable.vue.d.ts +10 -6
  224. package/dist/runtime/components/Progress.d.vue.ts +2 -2
  225. package/dist/runtime/components/Progress.vue.d.ts +2 -2
  226. package/dist/runtime/components/RadioGroup.d.vue.ts +12 -8
  227. package/dist/runtime/components/RadioGroup.vue.d.ts +12 -8
  228. package/dist/runtime/components/ScrollArea.d.vue.ts +85 -0
  229. package/dist/runtime/components/ScrollArea.vue +187 -0
  230. package/dist/runtime/components/ScrollArea.vue.d.ts +85 -0
  231. package/dist/runtime/components/Select.d.vue.ts +21 -9
  232. package/dist/runtime/components/Select.vue +24 -6
  233. package/dist/runtime/components/Select.vue.d.ts +21 -9
  234. package/dist/runtime/components/SelectMenu.d.vue.ts +34 -13
  235. package/dist/runtime/components/SelectMenu.vue +58 -12
  236. package/dist/runtime/components/SelectMenu.vue.d.ts +34 -13
  237. package/dist/runtime/components/Separator.d.vue.ts +4 -4
  238. package/dist/runtime/components/Separator.vue.d.ts +4 -4
  239. package/dist/runtime/components/Skeleton.d.vue.ts +2 -2
  240. package/dist/runtime/components/Skeleton.vue.d.ts +2 -2
  241. package/dist/runtime/components/Slideover.d.vue.ts +12 -7
  242. package/dist/runtime/components/Slideover.vue +3 -1
  243. package/dist/runtime/components/Slideover.vue.d.ts +12 -7
  244. package/dist/runtime/components/Slider.d.vue.ts +12 -8
  245. package/dist/runtime/components/Slider.vue +2 -2
  246. package/dist/runtime/components/Slider.vue.d.ts +12 -8
  247. package/dist/runtime/components/Stepper.d.vue.ts +21 -9
  248. package/dist/runtime/components/Stepper.vue +20 -16
  249. package/dist/runtime/components/Stepper.vue.d.ts +21 -9
  250. package/dist/runtime/components/Switch.d.vue.ts +2 -2
  251. package/dist/runtime/components/Switch.vue.d.ts +2 -2
  252. package/dist/runtime/components/Table.d.vue.ts +27 -23
  253. package/dist/runtime/components/Table.vue +55 -33
  254. package/dist/runtime/components/Table.vue.d.ts +27 -23
  255. package/dist/runtime/components/Tabs.d.vue.ts +17 -8
  256. package/dist/runtime/components/Tabs.vue +5 -4
  257. package/dist/runtime/components/Tabs.vue.d.ts +17 -8
  258. package/dist/runtime/components/Textarea.d.vue.ts +14 -10
  259. package/dist/runtime/components/Textarea.vue.d.ts +14 -10
  260. package/dist/runtime/components/Timeline.d.vue.ts +24 -10
  261. package/dist/runtime/components/Timeline.vue +26 -17
  262. package/dist/runtime/components/Timeline.vue.d.ts +24 -10
  263. package/dist/runtime/components/Toast.d.vue.ts +5 -5
  264. package/dist/runtime/components/Toast.vue.d.ts +5 -5
  265. package/dist/runtime/components/Toaster.d.vue.ts +2 -2
  266. package/dist/runtime/components/Toaster.vue.d.ts +2 -2
  267. package/dist/runtime/components/Tooltip.d.vue.ts +2 -2
  268. package/dist/runtime/components/Tooltip.vue.d.ts +2 -2
  269. package/dist/runtime/components/Tree.d.vue.ts +13 -9
  270. package/dist/runtime/components/Tree.vue.d.ts +13 -9
  271. package/dist/runtime/components/User.d.vue.ts +2 -2
  272. package/dist/runtime/components/User.vue +0 -1
  273. package/dist/runtime/components/User.vue.d.ts +2 -2
  274. package/dist/runtime/components/color-mode/ColorModeAvatar.d.vue.ts +1 -1
  275. package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +1 -1
  276. package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +5 -5
  277. package/dist/runtime/components/color-mode/ColorModeButton.vue +3 -22
  278. package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +5 -5
  279. package/dist/runtime/components/color-mode/ColorModeImage.d.vue.ts +1 -1
  280. package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +1 -1
  281. package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +2 -2
  282. package/dist/runtime/components/color-mode/ColorModeSelect.vue +5 -0
  283. package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +2 -2
  284. package/dist/runtime/components/color-mode/ColorModeSwitch.d.vue.ts +1 -1
  285. package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
  286. package/dist/runtime/components/content/ContentNavigation.d.vue.ts +11 -7
  287. package/dist/runtime/components/content/ContentNavigation.vue.d.ts +11 -7
  288. package/dist/runtime/components/content/ContentSearch.d.vue.ts +18 -10
  289. package/dist/runtime/components/content/ContentSearch.vue +3 -1
  290. package/dist/runtime/components/content/ContentSearch.vue.d.ts +18 -10
  291. package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +5 -5
  292. package/dist/runtime/components/content/ContentSearchButton.vue +1 -20
  293. package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +5 -5
  294. package/dist/runtime/components/content/ContentSurround.d.vue.ts +10 -6
  295. package/dist/runtime/components/content/ContentSurround.vue +1 -1
  296. package/dist/runtime/components/content/ContentSurround.vue.d.ts +10 -6
  297. package/dist/runtime/components/content/ContentToc.d.vue.ts +11 -7
  298. package/dist/runtime/components/content/ContentToc.vue.d.ts +11 -7
  299. package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +2 -2
  300. package/dist/runtime/components/locale/LocaleSelect.vue +14 -3
  301. package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +2 -2
  302. package/dist/runtime/components/prose/A.d.vue.ts +1 -1
  303. package/dist/runtime/components/prose/A.vue.d.ts +1 -1
  304. package/dist/runtime/components/prose/Accordion.d.vue.ts +2 -2
  305. package/dist/runtime/components/prose/Accordion.vue.d.ts +2 -2
  306. package/dist/runtime/components/prose/AccordionItem.d.vue.ts +1 -1
  307. package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
  308. package/dist/runtime/components/prose/Badge.d.vue.ts +1 -1
  309. package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
  310. package/dist/runtime/components/prose/Blockquote.d.vue.ts +1 -1
  311. package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
  312. package/dist/runtime/components/prose/Callout.d.vue.ts +1 -1
  313. package/dist/runtime/components/prose/Callout.vue +0 -1
  314. package/dist/runtime/components/prose/Callout.vue.d.ts +1 -1
  315. package/dist/runtime/components/prose/Card.d.vue.ts +1 -1
  316. package/dist/runtime/components/prose/Card.vue +0 -1
  317. package/dist/runtime/components/prose/Card.vue.d.ts +1 -1
  318. package/dist/runtime/components/prose/CardGroup.d.vue.ts +1 -1
  319. package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
  320. package/dist/runtime/components/prose/Code.d.vue.ts +1 -1
  321. package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
  322. package/dist/runtime/components/prose/CodeCollapse.d.vue.ts +2 -2
  323. package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +2 -2
  324. package/dist/runtime/components/prose/CodeGroup.d.vue.ts +2 -2
  325. package/dist/runtime/components/prose/CodeGroup.vue.d.ts +2 -2
  326. package/dist/runtime/components/prose/CodeIcon.d.vue.ts +1 -1
  327. package/dist/runtime/components/prose/CodeIcon.vue.d.ts +1 -1
  328. package/dist/runtime/components/prose/CodePreview.d.vue.ts +1 -1
  329. package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
  330. package/dist/runtime/components/prose/CodeTree.d.vue.ts +20 -1
  331. package/dist/runtime/components/prose/CodeTree.vue +34 -7
  332. package/dist/runtime/components/prose/CodeTree.vue.d.ts +20 -1
  333. package/dist/runtime/components/prose/Collapsible.d.vue.ts +1 -1
  334. package/dist/runtime/components/prose/Collapsible.vue.d.ts +1 -1
  335. package/dist/runtime/components/prose/Em.d.vue.ts +1 -1
  336. package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
  337. package/dist/runtime/components/prose/Field.d.vue.ts +1 -1
  338. package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
  339. package/dist/runtime/components/prose/FieldGroup.d.vue.ts +1 -1
  340. package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
  341. package/dist/runtime/components/prose/H1.d.vue.ts +1 -1
  342. package/dist/runtime/components/prose/H1.vue.d.ts +1 -1
  343. package/dist/runtime/components/prose/H2.d.vue.ts +1 -1
  344. package/dist/runtime/components/prose/H2.vue.d.ts +1 -1
  345. package/dist/runtime/components/prose/H3.d.vue.ts +1 -1
  346. package/dist/runtime/components/prose/H3.vue.d.ts +1 -1
  347. package/dist/runtime/components/prose/H4.d.vue.ts +1 -1
  348. package/dist/runtime/components/prose/H4.vue.d.ts +1 -1
  349. package/dist/runtime/components/prose/Hr.d.vue.ts +1 -1
  350. package/dist/runtime/components/prose/Hr.vue.d.ts +1 -1
  351. package/dist/runtime/components/prose/Icon.d.vue.ts +1 -1
  352. package/dist/runtime/components/prose/Icon.vue.d.ts +1 -1
  353. package/dist/runtime/components/prose/Img.d.vue.ts +2 -2
  354. package/dist/runtime/components/prose/Img.vue.d.ts +2 -2
  355. package/dist/runtime/components/prose/Kbd.d.vue.ts +1 -1
  356. package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
  357. package/dist/runtime/components/prose/Li.d.vue.ts +1 -1
  358. package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
  359. package/dist/runtime/components/prose/Ol.d.vue.ts +1 -1
  360. package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
  361. package/dist/runtime/components/prose/P.d.vue.ts +1 -1
  362. package/dist/runtime/components/prose/P.vue.d.ts +1 -1
  363. package/dist/runtime/components/prose/Pre.d.vue.ts +1 -1
  364. package/dist/runtime/components/prose/Pre.vue.d.ts +1 -1
  365. package/dist/runtime/components/prose/Steps.d.vue.ts +1 -1
  366. package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
  367. package/dist/runtime/components/prose/Strong.d.vue.ts +1 -1
  368. package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
  369. package/dist/runtime/components/prose/Table.d.vue.ts +1 -1
  370. package/dist/runtime/components/prose/Table.vue.d.ts +1 -1
  371. package/dist/runtime/components/prose/Tabs.d.vue.ts +2 -2
  372. package/dist/runtime/components/prose/Tabs.vue.d.ts +2 -2
  373. package/dist/runtime/components/prose/TabsItem.d.vue.ts +1 -1
  374. package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
  375. package/dist/runtime/components/prose/Tbody.d.vue.ts +1 -1
  376. package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
  377. package/dist/runtime/components/prose/Td.d.vue.ts +2 -1
  378. package/dist/runtime/components/prose/Td.vue +2 -1
  379. package/dist/runtime/components/prose/Td.vue.d.ts +2 -1
  380. package/dist/runtime/components/prose/Th.d.vue.ts +2 -1
  381. package/dist/runtime/components/prose/Th.vue +2 -1
  382. package/dist/runtime/components/prose/Th.vue.d.ts +2 -1
  383. package/dist/runtime/components/prose/Thead.d.vue.ts +1 -1
  384. package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
  385. package/dist/runtime/components/prose/Tr.d.vue.ts +1 -1
  386. package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
  387. package/dist/runtime/components/prose/Ul.d.vue.ts +1 -1
  388. package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
  389. package/dist/runtime/components/prose/callout/Caution.d.vue.ts +2 -2
  390. package/dist/runtime/components/prose/callout/Caution.vue.d.ts +2 -2
  391. package/dist/runtime/components/prose/callout/Note.d.vue.ts +2 -2
  392. package/dist/runtime/components/prose/callout/Note.vue.d.ts +2 -2
  393. package/dist/runtime/components/prose/callout/Tip.d.vue.ts +2 -2
  394. package/dist/runtime/components/prose/callout/Tip.vue.d.ts +2 -2
  395. package/dist/runtime/components/prose/callout/Warning.d.vue.ts +2 -2
  396. package/dist/runtime/components/prose/callout/Warning.vue.d.ts +2 -2
  397. package/dist/runtime/composables/defineShortcuts.d.ts +2 -1
  398. package/dist/runtime/composables/defineShortcuts.js +63 -16
  399. package/dist/runtime/composables/useEditorMenu.d.ts +75 -0
  400. package/dist/runtime/composables/useEditorMenu.js +435 -0
  401. package/dist/runtime/composables/useFileUpload.d.ts +1 -2
  402. package/dist/runtime/composables/useOverlay.d.ts +3 -1
  403. package/dist/runtime/locale/cs.js +2 -2
  404. package/dist/runtime/locale/en_gb.d.ts +3 -0
  405. package/dist/runtime/locale/en_gb.js +7 -0
  406. package/dist/runtime/locale/eu.d.ts +3 -0
  407. package/dist/runtime/locale/eu.js +129 -0
  408. package/dist/runtime/locale/index.d.ts +3 -0
  409. package/dist/runtime/locale/index.js +3 -0
  410. package/dist/runtime/locale/lo.d.ts +3 -0
  411. package/dist/runtime/locale/lo.js +129 -0
  412. package/dist/runtime/locale/sk.js +2 -2
  413. package/dist/runtime/types/editor.d.ts +70 -0
  414. package/dist/runtime/types/editor.js +0 -0
  415. package/dist/runtime/types/index.d.ts +8 -0
  416. package/dist/runtime/types/index.js +8 -0
  417. package/dist/runtime/utils/ai.d.ts +7 -0
  418. package/dist/runtime/utils/content.d.ts +2 -2
  419. package/dist/runtime/utils/editor.d.ts +69 -0
  420. package/dist/runtime/utils/editor.js +382 -0
  421. package/dist/runtime/utils/fuse.js +22 -3
  422. package/dist/runtime/utils/index.d.ts +1 -0
  423. package/dist/runtime/utils/index.js +2 -2
  424. package/dist/runtime/utils/locale.d.ts +1 -2
  425. package/dist/runtime/utils/virtualizer.d.ts +1 -3
  426. package/dist/runtime/utils/virtualizer.js +15 -6
  427. package/dist/runtime/vue/components/Icon.d.vue.ts +1 -1
  428. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
  429. package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +2 -2
  430. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +5 -0
  431. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +2 -2
  432. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.d.vue.ts +1 -1
  433. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
  434. package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.d.vue.ts +4 -4
  435. package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.vue +3 -3
  436. package/dist/runtime/{inertia/components → vue/overrides/inertia}/Link.vue.d.ts +4 -4
  437. package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.d.vue.ts +4 -4
  438. package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue.d.ts +4 -4
  439. package/dist/runtime/vue/overrides/none/Link.d.vue.ts +76 -0
  440. package/dist/runtime/vue/overrides/none/Link.vue +130 -0
  441. package/dist/runtime/vue/overrides/none/Link.vue.d.ts +76 -0
  442. package/dist/runtime/vue/{components → overrides/vue-router}/Link.d.vue.ts +4 -4
  443. package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue +6 -6
  444. package/dist/runtime/vue/{components → overrides/vue-router}/Link.vue.d.ts +4 -4
  445. package/dist/runtime/vue/plugins/router.d.ts +4 -0
  446. package/dist/runtime/vue/plugins/router.js +7 -0
  447. package/dist/runtime/vue/{stubs.d.ts → stubs/base.d.ts} +4 -5
  448. package/dist/runtime/vue/{stubs.js → stubs/base.js} +4 -5
  449. package/dist/runtime/vue/stubs/inertia.d.ts +5 -0
  450. package/dist/runtime/vue/stubs/inertia.js +10 -0
  451. package/dist/runtime/vue/stubs/none.d.ts +56 -0
  452. package/dist/runtime/vue/stubs/none.js +48 -0
  453. package/dist/runtime/vue/stubs/vue-router.d.ts +2 -0
  454. package/dist/runtime/vue/stubs/vue-router.js +2 -0
  455. package/dist/shared/{ui.B77q-Dvh.mjs → ui.Ddb3hKxo.mjs} +511 -81
  456. package/dist/unplugin.d.mts +14 -0
  457. package/dist/unplugin.mjs +77 -50
  458. package/dist/vite.d.mts +2 -3
  459. package/dist/vite.mjs +1 -1
  460. package/package.json +64 -34
  461. package/dist/runtime/inertia/stubs.d.ts +0 -44
  462. package/dist/runtime/inertia/stubs.js +0 -84
  463. /package/dist/runtime/{inertia/components → vue/overrides/inertia}/LinkBase.vue +0 -0
@@ -3,7 +3,7 @@ import 'node:url';
3
3
  import { pascalCase, kebabCase, camelCase } from 'scule';
4
4
  import { genExport } from 'knitwork';
5
5
  import colors from 'tailwindcss/colors';
6
- import { addTypeTemplate, addTemplate, updateTemplates, hasNuxtModule, logger } from '@nuxt/kit';
6
+ import { addTypeTemplate, addTemplate, updateTemplates, hasNuxtModule, getLayerDirectories, logger } from '@nuxt/kit';
7
7
  import { readFile } from 'node:fs/promises';
8
8
  import { join } from 'pathe';
9
9
  import { globSync } from 'tinyglobby';
@@ -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",
@@ -133,10 +134,10 @@ function applyDefaultVariants(result, defaultVariants) {
133
134
  if (!result || !defaultVariants) {
134
135
  return result;
135
136
  }
136
- if (result.defaultVariants?.color && defaultVariants.color) {
137
+ if (defaultVariants.color && result.defaultVariants?.color && result.defaultVariants.color === "primary") {
137
138
  result.defaultVariants.color = defaultVariants.color;
138
139
  }
139
- if (result.defaultVariants?.size && defaultVariants.size) {
140
+ if (defaultVariants.size && result.defaultVariants?.size && result.defaultVariants.size === "md") {
140
141
  result.defaultVariants.size = defaultVariants.size;
141
142
  }
142
143
  return result;
@@ -692,9 +693,9 @@ const blogPost = (options) => ({
692
693
  },
693
694
  to: {
694
695
  true: {
695
- root: [options.theme.transitions && "transition"],
696
+ root: ["has-focus-visible:ring-2 has-focus-visible:ring-primary", options.theme.transitions && "transition"],
696
697
  image: "transform transition-transform duration-200 group-hover/blog-post:scale-110",
697
- avatar: "transform transition-transform duration-200 hover:scale-115"
698
+ avatar: "transform transition-transform duration-200 hover:scale-115 focus-visible:outline-primary"
698
699
  }
699
700
  },
700
701
  image: {
@@ -986,8 +987,10 @@ const calendar = (options) => ({
986
987
  gridWeekDaysRow: "mb-1 grid w-full grid-cols-7",
987
988
  gridBody: "grid",
988
989
  headCell: "rounded-md",
990
+ headCellWeek: "rounded-md text-muted",
989
991
  cell: "relative text-center",
990
- cellTrigger: ["m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none data-disabled:text-muted data-unavailable:line-through data-unavailable:text-muted data-unavailable:pointer-events-none data-today:font-semibold data-[outside-view]:text-muted", options.theme.transitions && "transition"]
992
+ cellTrigger: ["m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none data-disabled:text-muted data-unavailable:line-through data-unavailable:text-muted data-unavailable:pointer-events-none data-today:font-semibold data-[outside-view]:text-muted", options.theme.transitions && "transition"],
993
+ cellWeek: "relative text-center text-muted"
991
994
  },
992
995
  variants: {
993
996
  color: {
@@ -1010,32 +1013,46 @@ const calendar = (options) => ({
1010
1013
  xs: {
1011
1014
  heading: "text-xs",
1012
1015
  cell: "text-xs",
1016
+ cellWeek: "text-xs",
1013
1017
  headCell: "text-[10px]",
1018
+ headCellWeek: "text-[10px]",
1014
1019
  cellTrigger: "size-7",
1015
1020
  body: "space-y-2 pt-2"
1016
1021
  },
1017
1022
  sm: {
1018
1023
  heading: "text-xs",
1019
1024
  headCell: "text-xs",
1025
+ headCellWeek: "text-xs",
1026
+ cellWeek: "text-xs",
1020
1027
  cell: "text-xs",
1021
1028
  cellTrigger: "size-7"
1022
1029
  },
1023
1030
  md: {
1024
1031
  heading: "text-sm",
1025
1032
  headCell: "text-xs",
1033
+ headCellWeek: "text-xs",
1034
+ cellWeek: "text-xs",
1026
1035
  cell: "text-sm",
1027
1036
  cellTrigger: "size-8"
1028
1037
  },
1029
1038
  lg: {
1030
1039
  heading: "text-md",
1031
1040
  headCell: "text-md",
1041
+ headCellWeek: "text-md",
1032
1042
  cellTrigger: "size-9 text-md"
1033
1043
  },
1034
1044
  xl: {
1035
1045
  heading: "text-lg",
1036
1046
  headCell: "text-lg",
1047
+ headCellWeek: "text-lg",
1037
1048
  cellTrigger: "size-10 text-lg"
1038
1049
  }
1050
+ },
1051
+ weekNumbers: {
1052
+ true: {
1053
+ gridRow: "grid-cols-8",
1054
+ gridWeekDaysRow: "grid-cols-8 [&>*:first-child]:col-start-2"
1055
+ }
1039
1056
  }
1040
1057
  },
1041
1058
  compoundVariants: [...(options.theme.colors || []).map((color) => ({
@@ -1133,7 +1150,7 @@ const carousel = (options) => ({
1133
1150
  prev: "absolute rounded-full",
1134
1151
  next: "absolute rounded-full",
1135
1152
  dots: "absolute inset-x-0 -bottom-7 flex flex-wrap items-center justify-center gap-3",
1136
- dot: ["cursor-pointer size-3 bg-accented rounded-full", options.theme.transitions && "transition"]
1153
+ dot: ["cursor-pointer size-3 bg-accented rounded-full focus:outline-none focus-visible:ring-2 focus-visible:ring-primary", options.theme.transitions && "transition"]
1137
1154
  },
1138
1155
  variants: {
1139
1156
  orientation: {
@@ -1158,7 +1175,7 @@ const carousel = (options) => ({
1158
1175
  }
1159
1176
  });
1160
1177
 
1161
- const changelogVersion = {
1178
+ const changelogVersion = (options) => ({
1162
1179
  slots: {
1163
1180
  root: "relative",
1164
1181
  container: "flex flex-col mx-auto max-w-2xl",
@@ -1189,7 +1206,8 @@ const changelogVersion = {
1189
1206
  },
1190
1207
  to: {
1191
1208
  true: {
1192
- image: "transform transition-transform duration-200 group-hover/changelog-version-image:scale-105"
1209
+ title: ["has-focus-visible:ring-2 has-focus-visible:ring-primary rounded-xs", options.theme.transitions && "transition"],
1210
+ image: "transform transition-transform duration-200 group-hover/changelog-version-image:scale-105 group-has-focus-visible/changelog-version-image:scale-105"
1193
1211
  }
1194
1212
  },
1195
1213
  hidden: {
@@ -1198,7 +1216,7 @@ const changelogVersion = {
1198
1216
  }
1199
1217
  }
1200
1218
  }
1201
- };
1219
+ });
1202
1220
 
1203
1221
  const changelogVersions = {
1204
1222
  slots: {
@@ -1713,26 +1731,26 @@ const colorPicker = {
1713
1731
  const commandPalette = (options) => ({
1714
1732
  slots: {
1715
1733
  root: "flex flex-col min-h-0 min-w-0 divide-y divide-default",
1716
- input: "[&>input]:h-12",
1734
+ input: "",
1717
1735
  close: "",
1718
1736
  back: "p-0",
1719
1737
  content: "relative overflow-hidden flex flex-col",
1720
1738
  footer: "p-1",
1721
1739
  viewport: "relative scroll-py-1 overflow-y-auto flex-1 focus:outline-none",
1722
1740
  group: "p-1 isolate",
1723
- empty: "py-6 text-center text-sm text-muted",
1724
- label: "p-1.5 text-xs font-semibold text-highlighted",
1725
- item: "group relative w-full flex items-start gap-1.5 p-1.5 text-sm select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
1726
- itemLeadingIcon: "shrink-0 size-5",
1741
+ empty: "text-center text-muted",
1742
+ label: "font-semibold text-highlighted",
1743
+ 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",
1744
+ itemLeadingIcon: "shrink-0",
1727
1745
  itemLeadingAvatar: "shrink-0",
1728
- itemLeadingAvatarSize: "2xs",
1729
- itemLeadingChip: "shrink-0 size-5",
1730
- itemLeadingChipSize: "md",
1731
- itemTrailing: "ms-auto inline-flex gap-1.5 items-center",
1732
- itemTrailingIcon: "shrink-0 size-5",
1733
- itemTrailingHighlightedIcon: "shrink-0 size-5 text-dimmed hidden group-data-highlighted:inline-flex",
1734
- itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0 gap-0.5",
1735
- itemTrailingKbdsSize: "md",
1746
+ itemLeadingAvatarSize: "",
1747
+ itemLeadingChip: "shrink-0",
1748
+ itemLeadingChipSize: "",
1749
+ itemTrailing: "ms-auto inline-flex items-center",
1750
+ itemTrailingIcon: "shrink-0",
1751
+ itemTrailingHighlightedIcon: "shrink-0 text-dimmed hidden group-data-highlighted:inline-flex",
1752
+ itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0",
1753
+ itemTrailingKbdsSize: "",
1736
1754
  itemWrapper: "flex-1 flex flex-col text-start min-w-0",
1737
1755
  itemLabel: "truncate space-x-1 text-dimmed",
1738
1756
  itemDescription: "truncate text-muted",
@@ -1749,6 +1767,83 @@ const commandPalette = (options) => ({
1749
1767
  viewport: "divide-y divide-default"
1750
1768
  }
1751
1769
  },
1770
+ size: {
1771
+ xs: {
1772
+ input: "[&>input]:h-10",
1773
+ empty: "py-3 text-xs",
1774
+ label: "p-1 text-[10px]/3 gap-1",
1775
+ item: "p-1 text-xs gap-1",
1776
+ itemLeadingIcon: "size-4",
1777
+ itemLeadingAvatarSize: "3xs",
1778
+ itemLeadingChip: "size-4",
1779
+ itemLeadingChipSize: "sm",
1780
+ itemTrailing: "gap-1",
1781
+ itemTrailingIcon: "size-4",
1782
+ itemTrailingHighlightedIcon: "size-4",
1783
+ itemTrailingKbds: "gap-0.5",
1784
+ itemTrailingKbdsSize: "sm"
1785
+ },
1786
+ sm: {
1787
+ input: "[&>input]:h-11",
1788
+ empty: "py-4 text-xs",
1789
+ label: "p-1.5 text-[10px]/3 gap-1.5",
1790
+ item: "p-1.5 text-xs gap-1.5",
1791
+ itemLeadingIcon: "size-4",
1792
+ itemLeadingAvatarSize: "3xs",
1793
+ itemLeadingChip: "size-4",
1794
+ itemLeadingChipSize: "sm",
1795
+ itemTrailing: "gap-1.5",
1796
+ itemTrailingIcon: "size-4",
1797
+ itemTrailingHighlightedIcon: "size-4",
1798
+ itemTrailingKbds: "gap-0.5",
1799
+ itemTrailingKbdsSize: "sm"
1800
+ },
1801
+ md: {
1802
+ input: "[&>input]:h-12",
1803
+ empty: "py-6 text-sm",
1804
+ label: "p-1.5 text-xs gap-1.5",
1805
+ item: "p-1.5 text-sm gap-1.5",
1806
+ itemLeadingIcon: "size-5",
1807
+ itemLeadingAvatarSize: "2xs",
1808
+ itemLeadingChip: "size-5",
1809
+ itemLeadingChipSize: "md",
1810
+ itemTrailing: "gap-1.5",
1811
+ itemTrailingIcon: "size-5",
1812
+ itemTrailingHighlightedIcon: "size-5",
1813
+ itemTrailingKbds: "gap-0.5",
1814
+ itemTrailingKbdsSize: "md"
1815
+ },
1816
+ lg: {
1817
+ input: "[&>input]:h-13",
1818
+ empty: "py-7 text-sm",
1819
+ label: "p-2 text-xs gap-2",
1820
+ item: "p-2 text-sm gap-2",
1821
+ itemLeadingIcon: "size-5",
1822
+ itemLeadingAvatarSize: "2xs",
1823
+ itemLeadingChip: "size-5",
1824
+ itemLeadingChipSize: "md",
1825
+ itemTrailing: "gap-2",
1826
+ itemTrailingIcon: "size-5",
1827
+ itemTrailingHighlightedIcon: "size-5",
1828
+ itemTrailingKbds: "gap-0.5",
1829
+ itemTrailingKbdsSize: "md"
1830
+ },
1831
+ xl: {
1832
+ input: "[&>input]:h-14",
1833
+ empty: "py-8 text-base",
1834
+ label: "p-2 text-sm gap-2",
1835
+ item: "p-2 text-base gap-2",
1836
+ itemLeadingIcon: "size-6",
1837
+ itemLeadingAvatarSize: "xs",
1838
+ itemLeadingChip: "size-6",
1839
+ itemLeadingChipSize: "lg",
1840
+ itemTrailing: "gap-2",
1841
+ itemTrailingIcon: "size-6",
1842
+ itemTrailingHighlightedIcon: "size-6",
1843
+ itemTrailingKbds: "gap-0.5",
1844
+ itemTrailingKbdsSize: "lg"
1845
+ }
1846
+ },
1752
1847
  active: {
1753
1848
  true: {
1754
1849
  item: "text-highlighted before:bg-elevated",
@@ -1764,6 +1859,9 @@ const commandPalette = (options) => ({
1764
1859
  itemLeadingIcon: "animate-spin"
1765
1860
  }
1766
1861
  }
1862
+ },
1863
+ defaultVariants: {
1864
+ size: "md"
1767
1865
  }
1768
1866
  });
1769
1867
 
@@ -1924,20 +2022,40 @@ const dashboardPanel = {
1924
2022
  };
1925
2023
 
1926
2024
  const dashboardResizeHandle = {
1927
- 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"
2025
+ 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"
1928
2026
  };
1929
2027
 
1930
2028
  const dashboardSearch = {
1931
2029
  slots: {
1932
2030
  modal: "",
1933
- input: "[&>input]:text-base/5"
2031
+ input: ""
1934
2032
  },
1935
2033
  variants: {
1936
2034
  fullscreen: {
1937
2035
  false: {
1938
- modal: "sm:max-w-3xl sm:h-[28rem]"
2036
+ modal: "sm:max-w-3xl h-full sm:h-[28rem]"
2037
+ }
2038
+ },
2039
+ size: {
2040
+ xs: {
2041
+ input: "[&>input]:text-sm"
2042
+ },
2043
+ sm: {
2044
+ input: "[&>input]:text-sm"
2045
+ },
2046
+ md: {
2047
+ input: "[&>input]:text-base/5"
2048
+ },
2049
+ lg: {
2050
+ input: "[&>input]:text-base/5"
2051
+ },
2052
+ xl: {
2053
+ input: "[&>input]:text-lg"
1939
2054
  }
1940
2055
  }
2056
+ },
2057
+ defaultVariants: {
2058
+ size: "md"
1941
2059
  }
1942
2060
  };
1943
2061
 
@@ -2260,6 +2378,168 @@ const dropdownMenu = (options) => ({
2260
2378
  }
2261
2379
  });
2262
2380
 
2381
+ const editor = (options) => ({
2382
+ slots: {
2383
+ root: "",
2384
+ content: "relative size-full flex-1",
2385
+ base: [
2386
+ "w-full outline-none *:my-5 *:first:mt-0 *:last:mb-0 sm:px-8 selection:bg-primary/20",
2387
+ // Paragraph
2388
+ "[&_p]:leading-7",
2389
+ // Links
2390
+ "[&_a]:text-primary [&_a]:border-b [&_a]:border-transparent [&_a]:hover:border-primary [&_a]:font-medium",
2391
+ options.theme?.transitions && "[&_a]:transition-colors",
2392
+ // Code inside links
2393
+ "[&_a>code]:border-dashed [&_a:hover>code]:border-primary [&_a:hover>code]:text-primary",
2394
+ options.theme?.transitions && "[&_a>code]:transition-colors",
2395
+ // Mentions
2396
+ "[&_.mention]:text-primary [&_.mention]:font-medium",
2397
+ // Headings - shared styles
2398
+ "[&_:is(h1,h2,h3,h4,h5,h6)]:text-highlighted [&_:is(h1,h2,h3,h4,h5,h6)]:font-bold",
2399
+ // Headings - unique styles
2400
+ "[&_h1]:text-3xl",
2401
+ "[&_h2]:text-2xl",
2402
+ "[&_h3]:text-xl",
2403
+ "[&_h4]:text-lg",
2404
+ "[&_h5]:text-base",
2405
+ "[&_h6]:text-base",
2406
+ // Code inside headings
2407
+ "[&_:is(h1,h2,h3,h4,h5,h6)>code]:border-dashed [&_:is(h1,h2,h3,h4,h5,h6)>code]:font-bold",
2408
+ "[&_h2>code]:text-xl/6",
2409
+ "[&_h3>code]:text-lg/5",
2410
+ // Blockquote & HR
2411
+ "[&_blockquote]:border-s-4 [&_blockquote]:border-accented [&_blockquote]:ps-4 [&_blockquote]:italic",
2412
+ "[&_[data-type=horizontalRule]]:my-8 [&_[data-type=horizontalRule]]:py-2",
2413
+ "[&_hr]:border-t [&_hr]:border-default",
2414
+ // Code blocks
2415
+ "[&_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",
2416
+ "[&_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",
2417
+ // Inline code
2418
+ "[&_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",
2419
+ // Lists
2420
+ "[&_:is(ul,ol)]:ps-6",
2421
+ "[&_ul]:list-disc [&_ul]:marker:text-(--ui-border-accented)",
2422
+ "[&_ol]:list-decimal [&_ol]:marker:text-muted",
2423
+ "[&_li]:my-1.5 [&_li]:ps-1.5",
2424
+ // Images
2425
+ "[&_img]:rounded-md [&_img]:block [&_img]:max-w-full [&_img.ProseMirror-selectednode]:outline-2 [&_img.ProseMirror-selectednode]:outline-primary",
2426
+ // Selected nodes
2427
+ "[&_.ProseMirror-selectednode:not(img):not(pre):not([data-node-view-wrapper])]:bg-primary/20"
2428
+ ]
2429
+ },
2430
+ variants: {
2431
+ placeholderMode: {
2432
+ firstLine: {
2433
+ base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:float-left [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-editor-empty:first-child]:before:pointer-events-none"
2434
+ },
2435
+ everyLine: {
2436
+ base: "[&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:text-dimmed [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:float-left [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4,h5,h6).is-empty]:before:pointer-events-none"
2437
+ }
2438
+ }
2439
+ },
2440
+ defaultVariants: {
2441
+ placeholderMode: "everyLine"
2442
+ }
2443
+ });
2444
+
2445
+ const editorDragHandle = {
2446
+ slots: {
2447
+ root: "hidden sm:flex items-center justify-center transition-all duration-200 ease-out",
2448
+ handle: "cursor-grab px-1"
2449
+ }
2450
+ };
2451
+
2452
+ const editorSuggestionMenu = (options) => ({
2453
+ slots: {
2454
+ 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",
2455
+ viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
2456
+ group: "p-1 isolate",
2457
+ label: "w-full flex items-center font-semibold text-highlighted",
2458
+ separator: "-mx-1 my-1 h-px bg-border",
2459
+ 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",
2460
+ itemLeadingIcon: "shrink-0 flex items-center justify-center",
2461
+ itemLeadingAvatar: "shrink-0",
2462
+ itemLeadingAvatarSize: "",
2463
+ itemWrapper: "flex-1 flex flex-col text-start min-w-0",
2464
+ itemLabel: "truncate",
2465
+ itemDescription: "truncate text-muted",
2466
+ itemLabelExternalIcon: "inline-block size-3 align-top text-dimmed"
2467
+ },
2468
+ variants: {
2469
+ size: {
2470
+ xs: {
2471
+ label: "p-1 text-[10px]/3 gap-1",
2472
+ item: "p-1 text-xs gap-1",
2473
+ itemLeadingIcon: "size-4 text-sm",
2474
+ itemLeadingAvatarSize: "3xs"
2475
+ },
2476
+ sm: {
2477
+ label: "p-1.5 text-[10px]/3 gap-1.5",
2478
+ item: "p-1.5 text-xs gap-1.5",
2479
+ itemLeadingIcon: "size-4 text-sm",
2480
+ itemLeadingAvatarSize: "3xs"
2481
+ },
2482
+ md: {
2483
+ label: "p-1.5 text-xs gap-1.5",
2484
+ item: "p-1.5 text-sm gap-1.5",
2485
+ itemLeadingIcon: "size-5 text-base",
2486
+ itemLeadingAvatarSize: "2xs"
2487
+ },
2488
+ lg: {
2489
+ label: "p-2 text-xs gap-2",
2490
+ item: "p-2 text-sm gap-2",
2491
+ itemLeadingIcon: "size-5 text-base",
2492
+ itemLeadingAvatarSize: "2xs"
2493
+ },
2494
+ xl: {
2495
+ label: "p-2 text-sm gap-2",
2496
+ item: "p-2 text-base gap-2",
2497
+ itemLeadingIcon: "size-6 text-xl",
2498
+ itemLeadingAvatarSize: "xs"
2499
+ }
2500
+ },
2501
+ active: {
2502
+ true: {
2503
+ item: "text-highlighted before:bg-elevated/75",
2504
+ itemLeadingIcon: "text-default"
2505
+ },
2506
+ false: {
2507
+ 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"],
2508
+ itemLeadingIcon: ["text-dimmed group-data-highlighted:not-group-data-disabled:text-default", options.theme.transitions && "transition-colors"]
2509
+ }
2510
+ }
2511
+ },
2512
+ defaultVariants: {
2513
+ size: "md"
2514
+ }
2515
+ });
2516
+
2517
+ const editorEmojiMenu = (options) => editorSuggestionMenu(options);
2518
+
2519
+ const editorMentionMenu = (options) => editorSuggestionMenu(options);
2520
+
2521
+ const editorToolbar = {
2522
+ slots: {
2523
+ root: "focus:outline-none",
2524
+ base: "flex items-stretch gap-1.5",
2525
+ group: "flex items-center gap-0.5",
2526
+ separator: "w-px self-stretch bg-border"
2527
+ },
2528
+ variants: {
2529
+ layout: {
2530
+ bubble: {
2531
+ base: "bg-default border border-default rounded-lg p-1"
2532
+ },
2533
+ floating: {
2534
+ base: "bg-default border border-default rounded-lg p-1"
2535
+ },
2536
+ fixed: {
2537
+ base: ""
2538
+ }
2539
+ }
2540
+ }
2541
+ };
2542
+
2263
2543
  const empty = {
2264
2544
  slots: {
2265
2545
  root: "relative flex flex-col items-center justify-center gap-4 rounded-lg p-4 sm:p-6 lg:p-8 min-w-0",
@@ -2576,9 +2856,9 @@ const formField = {
2576
2856
  slots: {
2577
2857
  root: "",
2578
2858
  wrapper: "",
2579
- labelWrapper: "flex content-center items-center justify-between",
2859
+ labelWrapper: "flex content-center items-center justify-between gap-1",
2580
2860
  label: "block font-medium text-default",
2581
- container: "mt-1 relative",
2861
+ container: "relative",
2582
2862
  description: "text-muted",
2583
2863
  error: "mt-2 text-error",
2584
2864
  hint: "text-muted",
@@ -2596,10 +2876,19 @@ const formField = {
2596
2876
  true: {
2597
2877
  label: `after:content-['*'] after:ms-0.5 after:text-error`
2598
2878
  }
2879
+ },
2880
+ orientation: {
2881
+ vertical: {
2882
+ container: "mt-1"
2883
+ },
2884
+ horizontal: {
2885
+ root: "flex justify-between place-items-baseline gap-2"
2886
+ }
2599
2887
  }
2600
2888
  },
2601
2889
  defaultVariants: {
2602
- size: "md"
2890
+ size: "md",
2891
+ orientation: "vertical"
2603
2892
  }
2604
2893
  };
2605
2894
 
@@ -2797,6 +3086,7 @@ const inputDate = (options) => {
2797
3086
  separatorIcon: "shrink-0 size-4 text-muted"
2798
3087
  },
2799
3088
  variants: {
3089
+ ...fieldGroupVariant,
2800
3090
  size: {
2801
3091
  xs: {
2802
3092
  base: (prev) => [prev, "gap-0.25"],
@@ -2854,6 +3144,7 @@ const inputMenu = (options) => {
2854
3144
  slots: {
2855
3145
  base: () => ["rounded-md", options.theme.transitions && "transition-colors"],
2856
3146
  trailing: "group absolute inset-y-0 end-0 flex items-center disabled:cursor-not-allowed disabled:opacity-75",
3147
+ trailingClear: "p-0",
2857
3148
  arrow: "fill-default",
2858
3149
  content: "max-h-60 w-(--reka-combobox-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-combobox-content-transform-origin) pointer-events-auto flex flex-col",
2859
3150
  viewport: "relative scroll-py-1 overflow-y-auto flex-1",
@@ -3157,6 +3448,7 @@ const inputTime = (options) => {
3157
3448
  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"]
3158
3449
  },
3159
3450
  variants: {
3451
+ ...fieldGroupVariant,
3160
3452
  size: {
3161
3453
  xs: {
3162
3454
  base: (prev) => [prev, "gap-0.25"],
@@ -3772,7 +4064,7 @@ const pageCta = {
3772
4064
  },
3773
4065
  reverse: {
3774
4066
  true: {
3775
- wrapper: "lg:order-last"
4067
+ wrapper: "order-last"
3776
4068
  }
3777
4069
  },
3778
4070
  variant: {
@@ -3833,7 +4125,7 @@ const pageCard = (options) => ({
3833
4125
  },
3834
4126
  reverse: {
3835
4127
  true: {
3836
- wrapper: "lg:order-last"
4128
+ wrapper: "order-last"
3837
4129
  }
3838
4130
  },
3839
4131
  variant: {
@@ -3864,7 +4156,7 @@ const pageCard = (options) => ({
3864
4156
  },
3865
4157
  to: {
3866
4158
  true: {
3867
- root: [options.theme.transitions && "transition"]
4159
+ root: ["has-focus-visible:ring-2 has-focus-visible:ring-primary", options.theme.transitions && "transition"]
3868
4160
  }
3869
4161
  },
3870
4162
  title: {
@@ -3952,11 +4244,6 @@ const pageCard = (options) => ({
3952
4244
  class: {
3953
4245
  root: "[--spotlight-color:var(--ui-bg-inverted)]"
3954
4246
  }
3955
- }, {
3956
- to: true,
3957
- class: {
3958
- root: "has-focus-visible:ring-2 has-focus-visible:ring-primary"
3959
- }
3960
4247
  }],
3961
4248
  defaultVariants: {
3962
4249
  variant: "outline",
@@ -3969,9 +4256,9 @@ const pageColumns = {
3969
4256
  base: "relative column-1 md:columns-2 lg:columns-3 gap-8 space-y-8 *:break-inside-avoid-column *:will-change-transform"
3970
4257
  };
3971
4258
 
3972
- const pageFeature = {
4259
+ const pageFeature = (options) => ({
3973
4260
  slots: {
3974
- root: "relative",
4261
+ root: "relative rounded-sm",
3975
4262
  wrapper: "",
3976
4263
  leading: "inline-flex items-center justify-center",
3977
4264
  leadingIcon: "size-5 shrink-0 text-primary",
@@ -3988,13 +4275,18 @@ const pageFeature = {
3988
4275
  leading: "mb-2.5"
3989
4276
  }
3990
4277
  },
4278
+ to: {
4279
+ true: {
4280
+ root: ["has-focus-visible:ring-2 has-focus-visible:ring-primary", options.theme.transitions && "transition"]
4281
+ }
4282
+ },
3991
4283
  title: {
3992
4284
  true: {
3993
4285
  description: "mt-1"
3994
4286
  }
3995
4287
  }
3996
4288
  }
3997
- };
4289
+ });
3998
4290
 
3999
4291
  const pageGrid = {
4000
4292
  base: "relative grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8"
@@ -4147,7 +4439,7 @@ const pageSection = {
4147
4439
  },
4148
4440
  reverse: {
4149
4441
  true: {
4150
- wrapper: "lg:order-last"
4442
+ wrapper: "order-last"
4151
4443
  }
4152
4444
  },
4153
4445
  headline: {
@@ -4825,6 +5117,28 @@ const radioGroup = (options) => ({
4825
5117
  }
4826
5118
  });
4827
5119
 
5120
+ const scrollArea = {
5121
+ slots: {
5122
+ root: "relative",
5123
+ viewport: "relative flex",
5124
+ item: ""
5125
+ },
5126
+ variants: {
5127
+ orientation: {
5128
+ vertical: {
5129
+ root: "overflow-y-auto overflow-x-hidden",
5130
+ viewport: "flex-col",
5131
+ item: ""
5132
+ },
5133
+ horizontal: {
5134
+ root: "overflow-x-auto overflow-y-hidden",
5135
+ viewport: "flex-row",
5136
+ item: ""
5137
+ }
5138
+ }
5139
+ }
5140
+ };
5141
+
4828
5142
  const select = (options) => {
4829
5143
  return defuFn({
4830
5144
  slots: {
@@ -4922,7 +5236,8 @@ const selectMenu = (options) => {
4922
5236
  input: "border-b border-default",
4923
5237
  focusScope: "flex flex-col min-h-0",
4924
5238
  viewport: "relative scroll-py-1 overflow-y-auto flex-1",
4925
- content: (content) => [content, "origin-(--reka-combobox-content-transform-origin) w-(--reka-combobox-trigger-width)"]
5239
+ content: (content) => [content, "origin-(--reka-combobox-content-transform-origin) w-(--reka-combobox-trigger-width)"],
5240
+ trailingClear: "p-0"
4926
5241
  },
4927
5242
  variants: {
4928
5243
  virtualize: {
@@ -5057,16 +5372,21 @@ const slideover = {
5057
5372
  variants: {
5058
5373
  side: {
5059
5374
  top: {
5060
- content: "inset-x-0 top-0 max-h-full"
5375
+ content: ""
5061
5376
  },
5062
5377
  right: {
5063
- content: "right-0 inset-y-0 w-full max-w-md"
5378
+ content: "max-w-md"
5064
5379
  },
5065
5380
  bottom: {
5066
- content: "inset-x-0 bottom-0 max-h-full"
5381
+ content: ""
5067
5382
  },
5068
5383
  left: {
5069
- content: "left-0 inset-y-0 w-full max-w-md"
5384
+ content: "max-w-md"
5385
+ }
5386
+ },
5387
+ inset: {
5388
+ true: {
5389
+ content: "rounded-lg"
5070
5390
  }
5071
5391
  },
5072
5392
  transition: {
@@ -5076,6 +5396,54 @@ const slideover = {
5076
5396
  }
5077
5397
  },
5078
5398
  compoundVariants: [{
5399
+ side: "top",
5400
+ inset: true,
5401
+ class: {
5402
+ content: "max-h-[calc(100%-2rem)] inset-x-4 top-4"
5403
+ }
5404
+ }, {
5405
+ side: "top",
5406
+ inset: false,
5407
+ class: {
5408
+ content: "max-h-full inset-x-0 top-0"
5409
+ }
5410
+ }, {
5411
+ side: "right",
5412
+ inset: true,
5413
+ class: {
5414
+ content: "w-[calc(100%-2rem)] inset-y-4 right-4"
5415
+ }
5416
+ }, {
5417
+ side: "right",
5418
+ inset: false,
5419
+ class: {
5420
+ content: "w-full inset-y-0 right-0"
5421
+ }
5422
+ }, {
5423
+ side: "bottom",
5424
+ inset: true,
5425
+ class: {
5426
+ content: "max-h-[calc(100%-2rem)] inset-x-4 bottom-4"
5427
+ }
5428
+ }, {
5429
+ side: "bottom",
5430
+ inset: false,
5431
+ class: {
5432
+ content: "max-h-full inset-x-0 bottom-0"
5433
+ }
5434
+ }, {
5435
+ side: "left",
5436
+ inset: true,
5437
+ class: {
5438
+ content: "w-[calc(100%-2rem)] inset-y-4 left-4"
5439
+ }
5440
+ }, {
5441
+ side: "left",
5442
+ inset: false,
5443
+ class: {
5444
+ content: "w-full inset-y-0 left-0"
5445
+ }
5446
+ }, {
5079
5447
  transition: true,
5080
5448
  side: "top",
5081
5449
  class: {
@@ -5439,12 +5807,12 @@ const table$1 = (options) => ({
5439
5807
  base: "min-w-full",
5440
5808
  caption: "sr-only",
5441
5809
  thead: "relative",
5442
- tbody: "[&>tr]:data-[selectable=true]:hover:bg-elevated/50 [&>tr]:data-[selectable=true]:focus-visible:outline-primary",
5810
+ tbody: "isolate [&>tr]:data-[selectable=true]:hover:bg-elevated/50 [&>tr]:data-[selectable=true]:focus-visible:outline-primary",
5443
5811
  tfoot: "relative",
5444
5812
  tr: "data-[selected=true]:bg-elevated/50",
5445
5813
  th: "px-4 py-3.5 text-sm text-highlighted text-left rtl:text-right font-semibold [&:has([role=checkbox])]:pe-0",
5446
5814
  td: "p-4 text-sm text-muted whitespace-nowrap [&:has([role=checkbox])]:pe-0",
5447
- separator: "absolute z-[1] left-0 w-full h-px bg-(--ui-border-accented)",
5815
+ separator: "absolute z-1 left-0 w-full h-px bg-(--ui-border-accented)",
5448
5816
  empty: "py-6 text-center text-sm text-muted",
5449
5817
  loading: "py-6 text-center"
5450
5818
  },
@@ -5457,25 +5825,25 @@ const table$1 = (options) => ({
5457
5825
  },
5458
5826
  pinned: {
5459
5827
  true: {
5460
- th: "sticky bg-default/75 data-[pinned=left]:left-0 data-[pinned=right]:right-0",
5461
- td: "sticky bg-default/75 data-[pinned=left]:left-0 data-[pinned=right]:right-0"
5828
+ th: "sticky bg-default/75 z-1",
5829
+ td: "sticky bg-default/75 z-1"
5462
5830
  }
5463
5831
  },
5464
5832
  sticky: {
5465
5833
  true: {
5466
- thead: "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur",
5467
- tfoot: "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
5834
+ thead: "sticky top-0 inset-x-0 bg-default/75 backdrop-blur z-1",
5835
+ tfoot: "sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur z-1"
5468
5836
  },
5469
5837
  header: {
5470
- thead: "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
5838
+ thead: "sticky top-0 inset-x-0 bg-default/75 backdrop-blur z-1"
5471
5839
  },
5472
5840
  footer: {
5473
- tfoot: "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
5841
+ tfoot: "sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur z-1"
5474
5842
  }
5475
5843
  },
5476
5844
  loading: {
5477
5845
  true: {
5478
- thead: "after:absolute after:z-[1] after:h-px"
5846
+ thead: "after:absolute after:z-1 after:h-px"
5479
5847
  }
5480
5848
  },
5481
5849
  loadingAnimation: {
@@ -6116,9 +6484,9 @@ const user = (options) => ({
6116
6484
  },
6117
6485
  to: {
6118
6486
  true: {
6119
- name: ["text-default peer-hover:text-highlighted", options.theme.transitions && "transition-colors"],
6120
- description: ["peer-hover:text-toned", options.theme.transitions && "transition-colors"],
6121
- avatar: "transform transition-transform duration-200 group-hover/user:scale-115"
6487
+ name: ["text-default peer-hover:text-highlighted peer-focus-visible:text-highlighted", options.theme.transitions && "transition-colors"],
6488
+ description: ["peer-hover:text-toned peer-focus-visible:text-toned", options.theme.transitions && "transition-colors"],
6489
+ avatar: "transform transition-transform duration-200 group-hover/user:scale-115 group-has-focus-visible/user:scale-115"
6122
6490
  },
6123
6491
  false: {
6124
6492
  name: "text-highlighted",
@@ -6224,6 +6592,12 @@ const theme = {
6224
6592
  dashboardToolbar: dashboardToolbar,
6225
6593
  drawer: drawer,
6226
6594
  dropdownMenu: dropdownMenu,
6595
+ editor: editor,
6596
+ editorDragHandle: editorDragHandle,
6597
+ editorEmojiMenu: editorEmojiMenu,
6598
+ editorMentionMenu: editorMentionMenu,
6599
+ editorSuggestionMenu: editorSuggestionMenu,
6600
+ editorToolbar: editorToolbar,
6227
6601
  empty: empty,
6228
6602
  error: error,
6229
6603
  fieldGroup: fieldGroup$1,
@@ -6268,6 +6642,7 @@ const theme = {
6268
6642
  pricingTable: pricingTable,
6269
6643
  progress: progress,
6270
6644
  radioGroup: radioGroup,
6645
+ scrollArea: scrollArea,
6271
6646
  select: select,
6272
6647
  selectMenu: selectMenu,
6273
6648
  separator: separator,
@@ -6288,7 +6663,7 @@ const theme = {
6288
6663
  };
6289
6664
 
6290
6665
  const a = (options) => ({
6291
- 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"]
6666
+ 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"]
6292
6667
  });
6293
6668
 
6294
6669
  const accordion = {
@@ -6319,7 +6694,7 @@ const callout = (options) => ({
6319
6694
  variants: {
6320
6695
  color: {
6321
6696
  ...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
6322
- 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`,
6697
+ 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`,
6323
6698
  icon: `text-${color}`,
6324
6699
  externalIcon: `text-${color}-600 dark:text-${color}-300`
6325
6700
  }])),
@@ -6337,14 +6712,14 @@ const callout = (options) => ({
6337
6712
  color,
6338
6713
  to: true,
6339
6714
  class: {
6340
- base: `hover:border-${color}`,
6715
+ base: `hover:border-${color} has-focus-visible:border-${color}`,
6341
6716
  externalIcon: `group-hover:text-${color}`
6342
6717
  }
6343
6718
  })), {
6344
6719
  color: "neutral",
6345
6720
  to: true,
6346
6721
  class: {
6347
- base: "hover:border-inverted",
6722
+ base: "hover:border-inverted has-focus-visible:border-inverted",
6348
6723
  externalIcon: "group-hover:text-highlighted"
6349
6724
  }
6350
6725
  }],
@@ -6383,14 +6758,14 @@ const card = (options) => ({
6383
6758
  color,
6384
6759
  to: true,
6385
6760
  class: {
6386
- base: `hover:bg-${color}/10 hover:border-${color}`,
6761
+ base: `hover:bg-${color}/10 hover:border-${color} has-focus-visible:border-${color}`,
6387
6762
  externalIcon: `group-hover:text-${color}`
6388
6763
  }
6389
6764
  })), {
6390
6765
  color: "neutral",
6391
6766
  to: true,
6392
6767
  class: {
6393
- base: "hover:bg-elevated/50 hover:border-inverted",
6768
+ base: "hover:bg-elevated/50 hover:border-inverted has-focus-visible:border-inverted",
6394
6769
  externalIcon: "group-hover:text-highlighted"
6395
6770
  }
6396
6771
  }],
@@ -6510,6 +6885,7 @@ const codeIcon = {
6510
6885
  "npx": "i-vscode-icons-file-type-npm",
6511
6886
  "yarn": "i-vscode-icons-file-type-yarn",
6512
6887
  "bun": "i-vscode-icons-file-type-bun",
6888
+ "deno": "i-vscode-icons-file-type-deno",
6513
6889
  "yml": "i-vscode-icons-file-type-yaml",
6514
6890
  "terminal": "i-lucide-terminal"
6515
6891
  };
@@ -6721,11 +7097,31 @@ const tbody = {
6721
7097
  };
6722
7098
 
6723
7099
  const td = {
6724
- base: "py-3 px-4 text-sm text-left align-top border-e border-b first:border-s border-muted [&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5"
7100
+ base: "py-3 px-4 text-sm align-top border-e border-b first:border-s border-muted [&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5",
7101
+ variants: {
7102
+ align: {
7103
+ left: "text-left",
7104
+ center: "text-center",
7105
+ right: "text-right"
7106
+ }
7107
+ },
7108
+ defaultVariants: {
7109
+ align: "left"
7110
+ }
6725
7111
  };
6726
7112
 
6727
7113
  const th = {
6728
- base: "py-3 px-4 font-semibold text-sm text-left border-e border-b first:border-s border-t border-muted"
7114
+ base: "py-3 px-4 font-semibold text-sm border-e border-b first:border-s border-t border-muted",
7115
+ variants: {
7116
+ align: {
7117
+ left: "text-left",
7118
+ center: "text-center",
7119
+ right: "text-right"
7120
+ }
7121
+ },
7122
+ defaultVariants: {
7123
+ align: "left"
7124
+ }
6729
7125
  };
6730
7126
 
6731
7127
  const thead = {
@@ -6942,14 +7338,34 @@ const contentNavigation = (options) => ({
6942
7338
  const contentSearch = {
6943
7339
  slots: {
6944
7340
  modal: "",
6945
- input: "[&>input]:text-base/5"
7341
+ input: ""
6946
7342
  },
6947
7343
  variants: {
6948
7344
  fullscreen: {
6949
7345
  false: {
6950
- modal: "sm:max-w-3xl sm:h-[28rem]"
7346
+ modal: "sm:max-w-3xl h-full sm:h-[28rem]"
7347
+ }
7348
+ },
7349
+ size: {
7350
+ xs: {
7351
+ input: "[&>input]:text-sm"
7352
+ },
7353
+ sm: {
7354
+ input: "[&>input]:text-sm"
7355
+ },
7356
+ md: {
7357
+ input: "[&>input]:text-base/5"
7358
+ },
7359
+ lg: {
7360
+ input: "[&>input]:text-base/5"
7361
+ },
7362
+ xl: {
7363
+ input: "[&>input]:text-lg"
6951
7364
  }
6952
7365
  }
7366
+ },
7367
+ defaultVariants: {
7368
+ size: "md"
6953
7369
  }
6954
7370
  };
6955
7371
 
@@ -7127,14 +7543,27 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
7127
7543
  }
7128
7544
  writeThemeTemplate(theme);
7129
7545
  async function generateSources() {
7130
- let sources = "";
7131
- if (!!nuxt && !!resolve && options.experimental?.componentDetection) {
7132
- const dirs = [.../* @__PURE__ */ new Set([
7133
- nuxt.options.rootDir,
7134
- ...nuxt.options._layers?.map((layer) => layer.config.rootDir).filter(Boolean) || []
7135
- ])];
7546
+ if (!nuxt) {
7547
+ return '@source "./ui";';
7548
+ }
7549
+ const sources = [];
7550
+ const layers = getLayerDirectories(nuxt).map((layer) => layer.app);
7551
+ for (const layer of layers) {
7552
+ sources.push(`@source "${layer}**/*";`);
7553
+ }
7554
+ const inlineConfigs = [
7555
+ nuxt.options.app?.rootAttrs?.class,
7556
+ nuxt.options.app?.head?.htmlAttrs?.class,
7557
+ nuxt.options.app?.head?.bodyAttrs?.class
7558
+ ];
7559
+ for (const value of inlineConfigs) {
7560
+ if (value && typeof value === "string") {
7561
+ sources.push(`@source inline(${JSON.stringify(value)});`);
7562
+ }
7563
+ }
7564
+ if (resolve && options.experimental?.componentDetection) {
7136
7565
  const detectedComponents = await detectUsedComponents(
7137
- dirs,
7566
+ layers,
7138
7567
  options.prefix,
7139
7568
  resolve("./runtime/components"),
7140
7569
  Array.isArray(options.experimental.componentDetection) ? options.experimental.componentDetection : void 0
@@ -7151,28 +7580,29 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
7151
7580
  logger.success(`Nuxt UI detected ${detectedComponents.size} components in use (including dependencies)`);
7152
7581
  }
7153
7582
  previousDetectedComponents = detectedComponents;
7154
- const sourcesList = [];
7155
7583
  if (hasProse) {
7156
- sourcesList.push('@source "./ui/prose";');
7584
+ sources.push('@source "./ui/prose";');
7157
7585
  }
7158
7586
  for (const component of detectedComponents) {
7159
7587
  const kebabComponent = kebabCase(component);
7160
7588
  const camelComponent = camelCase(component);
7161
7589
  if (hasContent && themeContent[camelComponent]) {
7162
- sourcesList.push(`@source "./ui/content/${kebabComponent}.ts";`);
7590
+ sources.push(`@source "./ui/content/${kebabComponent}.ts";`);
7163
7591
  } else if (theme[camelComponent]) {
7164
- sourcesList.push(`@source "./ui/${kebabComponent}.ts";`);
7592
+ sources.push(`@source "./ui/${kebabComponent}.ts";`);
7165
7593
  }
7166
7594
  }
7167
- sources = sourcesList.join("\n");
7168
7595
  } else {
7169
7596
  if (!previousDetectedComponents || previousDetectedComponents.size > 0) {
7170
7597
  logger.info("Nuxt UI detected no components in use, including all components");
7171
7598
  }
7172
7599
  previousDetectedComponents = /* @__PURE__ */ new Set();
7600
+ sources.push('@source "./ui";');
7173
7601
  }
7602
+ } else {
7603
+ sources.push('@source "./ui";');
7174
7604
  }
7175
- return sources || '@source "./ui";';
7605
+ return sources.join("\n");
7176
7606
  }
7177
7607
  templates.push({
7178
7608
  filename: "ui.css",