@youcan/celeste 0.6.102 → 0.7.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 (820) hide show
  1. package/dist/celeste.css +1549 -1547
  2. package/dist/cjs/chunks/BubbleSelect.cjs +332 -0
  3. package/dist/cjs/chunks/CollapsibleRoot.cjs +90 -0
  4. package/dist/cjs/chunks/Collection.cjs +79 -0
  5. package/dist/cjs/chunks/ComboboxContent.cjs +442 -0
  6. package/dist/cjs/chunks/ComboboxGroup.cjs +90 -0
  7. package/dist/cjs/chunks/ComboboxInput.cjs +266 -0
  8. package/dist/cjs/chunks/ComboboxItem.cjs +195 -0
  9. package/dist/cjs/chunks/ComboboxLabel.cjs +47 -0
  10. package/dist/cjs/chunks/ComboboxRoot.cjs +695 -0
  11. package/dist/cjs/chunks/ComboboxSeparator.cjs +35 -0
  12. package/dist/cjs/chunks/ConfigProvider.cjs +11 -0
  13. package/dist/cjs/chunks/DialogClose.cjs +41 -0
  14. package/dist/cjs/chunks/DialogDescription.cjs +38 -0
  15. package/dist/cjs/chunks/DialogPortal.cjs +521 -0
  16. package/dist/cjs/chunks/DialogRoot.cjs +81 -0
  17. package/dist/cjs/chunks/DialogTitle.cjs +38 -0
  18. package/dist/cjs/chunks/DialogTrigger.cjs +57 -0
  19. package/dist/cjs/chunks/DismissableLayer.cjs +292 -0
  20. package/dist/cjs/chunks/DropdownMenuPortal.cjs +73 -0
  21. package/dist/cjs/chunks/DropdownMenuRoot.cjs +87 -0
  22. package/dist/cjs/chunks/FocusScope.cjs +368 -0
  23. package/dist/cjs/chunks/Label.cjs +42 -0
  24. package/dist/cjs/chunks/MenuAnchor.cjs +37 -0
  25. package/dist/cjs/chunks/MenuContentImpl.cjs +371 -0
  26. package/dist/cjs/chunks/MenuGroup.cjs +44 -0
  27. package/dist/cjs/chunks/MenuItemImpl.cjs +100 -0
  28. package/dist/cjs/chunks/MenuRoot.cjs +108 -0
  29. package/dist/cjs/chunks/MenuSub.cjs +68 -0
  30. package/dist/cjs/chunks/PaginationRoot.cjs +101 -0
  31. package/dist/cjs/chunks/PinInputRoot.cjs +153 -0
  32. package/dist/cjs/chunks/PopoverRoot.cjs +73 -0
  33. package/dist/cjs/chunks/PopperAnchor.cjs +48 -0
  34. package/dist/cjs/chunks/PopperArrow.cjs +152 -0
  35. package/dist/cjs/chunks/PopperContent.cjs +2134 -0
  36. package/dist/cjs/chunks/PopperRoot.cjs +32 -0
  37. package/dist/cjs/chunks/Presence.cjs +194 -0
  38. package/dist/cjs/chunks/Primitive.cjs +80 -0
  39. package/dist/cjs/chunks/ProgressIndicator.cjs +161 -0
  40. package/dist/cjs/chunks/RadioGroupRoot.cjs +143 -0
  41. package/dist/cjs/chunks/RovingFocusGroup.cjs +146 -0
  42. package/dist/cjs/chunks/RovingFocusItem.cjs +114 -0
  43. package/dist/cjs/chunks/SelectGroup.cjs +44 -0
  44. package/dist/cjs/chunks/SelectItemAlignedPosition.cjs +593 -0
  45. package/dist/cjs/chunks/TabsRoot.cjs +114 -0
  46. package/dist/cjs/chunks/Teleport.cjs +51 -0
  47. package/dist/cjs/chunks/ToggleGroupRoot.cjs +188 -0
  48. package/dist/cjs/chunks/TooltipProvider.cjs +87 -0
  49. package/dist/cjs/chunks/TooltipRoot.cjs +145 -0
  50. package/dist/cjs/chunks/VisuallyHidden.cjs +65 -0
  51. package/dist/cjs/chunks/VisuallyHiddenInput.cjs +146 -0
  52. package/dist/cjs/chunks/alert.cjs +2 -2
  53. package/dist/cjs/chunks/alpha-slider.cjs +1 -1
  54. package/dist/cjs/chunks/badge.cjs +2 -2
  55. package/dist/cjs/chunks/button.cjs +4 -3
  56. package/dist/cjs/chunks/checkbox-card.cjs +10 -8
  57. package/dist/cjs/chunks/checkbox-label.cjs +11 -9
  58. package/dist/cjs/chunks/checkbox.cjs +234 -9
  59. package/dist/cjs/chunks/chunk.cjs +50 -0
  60. package/dist/cjs/chunks/clamp.cjs +75 -0
  61. package/dist/cjs/chunks/collapsible-content.cjs +105 -2
  62. package/dist/cjs/chunks/collapsible-trigger.cjs +51 -2
  63. package/dist/cjs/chunks/collapsible.cjs +6 -3
  64. package/dist/cjs/chunks/color-area.cjs +4 -4
  65. package/dist/cjs/chunks/color-picker.cjs +14 -13
  66. package/dist/cjs/chunks/color-swatch.cjs +3 -3
  67. package/dist/cjs/chunks/combobox-anchor.cjs +45 -3
  68. package/dist/cjs/chunks/combobox-empty.cjs +31 -3
  69. package/dist/cjs/chunks/combobox-group.cjs +6 -4
  70. package/dist/cjs/chunks/combobox-input.cjs +7 -5
  71. package/dist/cjs/chunks/combobox-item.cjs +8 -6
  72. package/dist/cjs/chunks/combobox-list.cjs +105 -7
  73. package/dist/cjs/chunks/combobox-root.cjs +22 -18
  74. package/dist/cjs/chunks/combobox-separator.cjs +4 -3
  75. package/dist/cjs/chunks/combobox-trigger.cjs +64 -4
  76. package/dist/cjs/chunks/combobox.cjs +38 -30
  77. package/dist/cjs/chunks/compact-button.cjs +4 -3
  78. package/dist/cjs/chunks/components.cjs +47 -47
  79. package/dist/cjs/chunks/content-divider.cjs +87 -2
  80. package/dist/cjs/chunks/core.cjs +3 -3
  81. package/dist/cjs/chunks/counter-input.cjs +884 -8
  82. package/dist/cjs/chunks/createContext.cjs +38 -0
  83. package/dist/cjs/chunks/digit-input-group.cjs +6 -4
  84. package/dist/cjs/chunks/digit-input-slot.cjs +243 -4
  85. package/dist/cjs/chunks/digit-input.cjs +8 -6
  86. package/dist/cjs/chunks/dist.cjs +524 -12084
  87. package/dist/cjs/chunks/dropdown-menu-content.cjs +542 -5
  88. package/dist/cjs/chunks/dropdown-menu-group.cjs +30 -3
  89. package/dist/cjs/chunks/dropdown-menu-item.cjs +125 -4
  90. package/dist/cjs/chunks/dropdown-menu-label.cjs +59 -4
  91. package/dist/cjs/chunks/dropdown-menu-separator.cjs +57 -3
  92. package/dist/cjs/chunks/dropdown-menu-sub-content.cjs +295 -5
  93. package/dist/cjs/chunks/dropdown-menu-sub-trigger.cjs +192 -4
  94. package/dist/cjs/chunks/dropdown-menu-sub.cjs +39 -2
  95. package/dist/cjs/chunks/dropdown-menu-trigger.cjs +91 -4
  96. package/dist/cjs/chunks/dropdown-menu.cjs +6 -4
  97. package/dist/cjs/chunks/extra-settings.cjs +5 -5
  98. package/dist/cjs/chunks/fancy-button.cjs +4 -3
  99. package/dist/cjs/chunks/file-upload-area.cjs +2 -2
  100. package/dist/cjs/chunks/getActiveElement.cjs +14 -0
  101. package/dist/cjs/chunks/handleAndDispatchCustomEvent.cjs +18 -0
  102. package/dist/cjs/chunks/hint-text.cjs +2 -2
  103. package/dist/cjs/chunks/hue-slider.cjs +1 -1
  104. package/dist/cjs/chunks/isValueEqualOrExist.cjs +24 -0
  105. package/dist/cjs/chunks/{label.cjs → label2.cjs} +6 -4
  106. package/dist/cjs/chunks/link-bubble.cjs +7 -7
  107. package/dist/cjs/chunks/link-button.cjs +4 -3
  108. package/dist/cjs/chunks/menus.cjs +53 -52
  109. package/dist/cjs/chunks/modal-body.cjs +1 -1
  110. package/dist/cjs/chunks/modal-close.cjs +3 -2
  111. package/dist/cjs/chunks/modal-content.cjs +8 -7
  112. package/dist/cjs/chunks/modal-footer.cjs +1 -1
  113. package/dist/cjs/chunks/modal-header.cjs +8 -5
  114. package/dist/cjs/chunks/modal-trigger.cjs +3 -2
  115. package/dist/cjs/chunks/modal.cjs +7 -4
  116. package/dist/cjs/chunks/nullish.cjs +11 -0
  117. package/dist/cjs/chunks/ohash.D__AXeF1.cjs +114 -0
  118. package/dist/cjs/chunks/pagination-content.cjs +86 -3
  119. package/dist/cjs/chunks/pagination-ellipsis.cjs +30 -3
  120. package/dist/cjs/chunks/pagination-first.cjs +39 -3
  121. package/dist/cjs/chunks/pagination-item.cjs +51 -2
  122. package/dist/cjs/chunks/pagination-last.cjs +39 -3
  123. package/dist/cjs/chunks/pagination-next.cjs +39 -3
  124. package/dist/cjs/chunks/pagination-previous.cjs +39 -3
  125. package/dist/cjs/chunks/pagination.cjs +6 -4
  126. package/dist/cjs/chunks/popover-content.cjs +704 -7
  127. package/dist/cjs/chunks/popover-trigger.cjs +62 -3
  128. package/dist/cjs/chunks/popover.cjs +5 -3
  129. package/dist/cjs/chunks/progress-bar.cjs +7 -5
  130. package/dist/cjs/chunks/progress-circle.cjs +7 -5
  131. package/dist/cjs/chunks/radio-group-card.cjs +10 -8
  132. package/dist/cjs/chunks/radio-group-item.cjs +304 -6
  133. package/dist/cjs/chunks/radio-group-label.cjs +11 -9
  134. package/dist/cjs/chunks/radio-group.cjs +7 -5
  135. package/dist/cjs/chunks/rich-editor.cjs +162 -162
  136. package/dist/cjs/chunks/scroll-area.cjs +142 -6
  137. package/dist/cjs/chunks/scroll-bar.cjs +895 -4
  138. package/dist/cjs/chunks/segmented-control-item.cjs +163 -3
  139. package/dist/cjs/chunks/segmented-control.cjs +8 -4
  140. package/dist/cjs/chunks/select-content.cjs +320 -6
  141. package/dist/cjs/chunks/select-group.cjs +3 -2
  142. package/dist/cjs/chunks/select-icon.cjs +1 -1
  143. package/dist/cjs/chunks/select-item.cjs +227 -5
  144. package/dist/cjs/chunks/select-label.cjs +35 -3
  145. package/dist/cjs/chunks/select-separator.cjs +28 -3
  146. package/dist/cjs/chunks/select-trigger.cjs +165 -4
  147. package/dist/cjs/chunks/select-value.cjs +65 -3
  148. package/dist/cjs/chunks/select.cjs +9 -4
  149. package/dist/cjs/chunks/sheet-close.cjs +4 -3
  150. package/dist/cjs/chunks/sheet-content.cjs +9 -7
  151. package/dist/cjs/chunks/sheet-description.cjs +4 -3
  152. package/dist/cjs/chunks/sheet-footer.cjs +2 -2
  153. package/dist/cjs/chunks/sheet-header.cjs +2 -2
  154. package/dist/cjs/chunks/sheet-title.cjs +4 -3
  155. package/dist/cjs/chunks/sheet-trigger.cjs +3 -2
  156. package/dist/cjs/chunks/sheet.cjs +7 -4
  157. package/dist/cjs/chunks/sidebar-content.cjs +1 -1
  158. package/dist/cjs/chunks/sidebar-element.cjs +3 -2
  159. package/dist/cjs/chunks/sidebar-footer.cjs +1 -1
  160. package/dist/cjs/chunks/sidebar-group-content.cjs +1 -1
  161. package/dist/cjs/chunks/sidebar-group-label.cjs +3 -2
  162. package/dist/cjs/chunks/sidebar-group.cjs +1 -1
  163. package/dist/cjs/chunks/sidebar-header.cjs +1 -1
  164. package/dist/cjs/chunks/sidebar-menu-action.cjs +3 -2
  165. package/dist/cjs/chunks/sidebar-menu-badge.cjs +1 -1
  166. package/dist/cjs/chunks/sidebar-menu-button.cjs +3 -2
  167. package/dist/cjs/chunks/sidebar-menu-item.cjs +1 -1
  168. package/dist/cjs/chunks/sidebar-menu-sub-button.cjs +3 -2
  169. package/dist/cjs/chunks/sidebar-menu-sub-item.cjs +1 -1
  170. package/dist/cjs/chunks/sidebar-menu-sub.cjs +1 -1
  171. package/dist/cjs/chunks/sidebar-menu.cjs +1 -1
  172. package/dist/cjs/chunks/sidebar-provider.cjs +1 -1
  173. package/dist/cjs/chunks/sidebar-trigger.cjs +2 -2
  174. package/dist/cjs/chunks/sidebar.cjs +1 -1
  175. package/dist/cjs/chunks/slider.cjs +751 -7
  176. package/dist/cjs/chunks/social-button.cjs +4 -3
  177. package/dist/cjs/chunks/sonner-alert.cjs +2 -2
  178. package/dist/cjs/chunks/sonner.cjs +1 -1
  179. package/dist/cjs/chunks/status-badge.cjs +2 -2
  180. package/dist/cjs/chunks/switch.cjs +192 -9
  181. package/dist/cjs/chunks/tab-menu-content.cjs +82 -3
  182. package/dist/cjs/chunks/tab-menu-item.cjs +89 -4
  183. package/dist/cjs/chunks/tab-menu-list.cjs +61 -3
  184. package/dist/cjs/chunks/tab-menu.cjs +7 -4
  185. package/dist/cjs/chunks/table-body.cjs +2 -2
  186. package/dist/cjs/chunks/table-caption.cjs +2 -2
  187. package/dist/cjs/chunks/table-cell.cjs +2 -2
  188. package/dist/cjs/chunks/table-footer.cjs +2 -2
  189. package/dist/cjs/chunks/table-head.cjs +2 -2
  190. package/dist/cjs/chunks/table-header.cjs +1 -1
  191. package/dist/cjs/chunks/table-row.cjs +2 -2
  192. package/dist/cjs/chunks/table.cjs +2 -2
  193. package/dist/cjs/chunks/table2.cjs +2 -2
  194. package/dist/cjs/chunks/tag.cjs +4 -3
  195. package/dist/cjs/chunks/text-input-affix.cjs +1 -1
  196. package/dist/cjs/chunks/text-input-button.cjs +12 -6
  197. package/dist/cjs/chunks/text-input.cjs +9 -8
  198. package/dist/cjs/chunks/textarea.cjs +2 -2
  199. package/dist/cjs/chunks/tooltip-content.cjs +589 -7
  200. package/dist/cjs/chunks/tooltip-provider.cjs +5 -3
  201. package/dist/cjs/chunks/tooltip-root.cjs +5 -3
  202. package/dist/cjs/chunks/tooltip-trigger.cjs +109 -3
  203. package/dist/cjs/chunks/tooltip.cjs +8 -5
  204. package/dist/cjs/chunks/use-color-model.cjs +1 -1
  205. package/dist/cjs/chunks/useArrowNavigation.cjs +65 -0
  206. package/dist/cjs/chunks/useComposing.cjs +27 -0
  207. package/dist/cjs/chunks/useDirection.cjs +20 -0
  208. package/dist/cjs/chunks/useEmitAsProps.cjs +34 -0
  209. package/dist/cjs/chunks/useFocusGuards.cjs +40 -0
  210. package/dist/cjs/chunks/useFormControl.cjs +14 -0
  211. package/dist/cjs/chunks/useForwardExpose.cjs +64 -0
  212. package/dist/cjs/chunks/useForwardProps.cjs +40 -0
  213. package/dist/cjs/chunks/useForwardPropsEmits.cjs +20 -0
  214. package/dist/cjs/chunks/useForwardScopeId.cjs +31 -0
  215. package/dist/cjs/chunks/useHideOthers.cjs +138 -0
  216. package/dist/cjs/chunks/useId.cjs +30 -0
  217. package/dist/cjs/chunks/useKbd.cjs +46 -0
  218. package/dist/cjs/chunks/useNonce.cjs +15 -0
  219. package/dist/cjs/chunks/usePrimitiveElement.cjs +18 -0
  220. package/dist/cjs/chunks/useSize.cjs +55 -0
  221. package/dist/cjs/chunks/useTypeahead.cjs +69 -0
  222. package/dist/cjs/chunks/utils.cjs +117 -0
  223. package/dist/cjs/chunks/utils2.cjs +73 -0
  224. package/dist/cjs/chunks/utils3.cjs +20 -0
  225. package/dist/cjs/command-group.cjs +6 -4
  226. package/dist/cjs/command-input.cjs +9 -6
  227. package/dist/cjs/command-item.cjs +6 -3
  228. package/dist/cjs/command-list.cjs +14 -7
  229. package/dist/cjs/command-root.cjs +20 -16
  230. package/dist/cjs/command-separator.cjs +4 -3
  231. package/dist/cjs/config.cjs +2 -2
  232. package/dist/cjs/index.cjs +47 -47
  233. package/dist/cjs/label.cjs +1 -1
  234. package/dist/cjs/use-delegated-props.cjs +1 -1
  235. package/dist/cjs/use-sidebar.cjs +2 -2
  236. package/dist/cjs/use-user-select.cjs +1 -1
  237. package/dist/es/chunks/BubbleSelect.js +290 -0
  238. package/dist/es/chunks/CollapsibleRoot.js +78 -0
  239. package/dist/es/chunks/Collection.js +73 -0
  240. package/dist/es/chunks/ComboboxContent.js +436 -0
  241. package/dist/es/chunks/ComboboxGroup.js +78 -0
  242. package/dist/es/chunks/ComboboxInput.js +260 -0
  243. package/dist/es/chunks/ComboboxItem.js +189 -0
  244. package/dist/es/chunks/ComboboxLabel.js +41 -0
  245. package/dist/es/chunks/ComboboxRoot.js +671 -0
  246. package/dist/es/chunks/ComboboxSeparator.js +29 -0
  247. package/dist/es/chunks/ConfigProvider.js +6 -0
  248. package/dist/es/chunks/DialogClose.js +35 -0
  249. package/dist/es/chunks/DialogDescription.js +32 -0
  250. package/dist/es/chunks/DialogPortal.js +503 -0
  251. package/dist/es/chunks/DialogRoot.js +69 -0
  252. package/dist/es/chunks/DialogTitle.js +32 -0
  253. package/dist/es/chunks/DialogTrigger.js +51 -0
  254. package/dist/es/chunks/DismissableLayer.js +280 -0
  255. package/dist/es/chunks/DropdownMenuPortal.js +67 -0
  256. package/dist/es/chunks/DropdownMenuRoot.js +75 -0
  257. package/dist/es/chunks/FocusScope.js +356 -0
  258. package/dist/es/chunks/Label.js +36 -0
  259. package/dist/es/chunks/MenuAnchor.js +31 -0
  260. package/dist/es/chunks/MenuContentImpl.js +359 -0
  261. package/dist/es/chunks/MenuGroup.js +32 -0
  262. package/dist/es/chunks/MenuItemImpl.js +94 -0
  263. package/dist/es/chunks/MenuRoot.js +84 -0
  264. package/dist/es/chunks/MenuSub.js +56 -0
  265. package/dist/es/chunks/PaginationRoot.js +89 -0
  266. package/dist/es/chunks/PinInputRoot.js +141 -0
  267. package/dist/es/chunks/PopoverRoot.js +61 -0
  268. package/dist/es/chunks/PopperAnchor.js +42 -0
  269. package/dist/es/chunks/PopperArrow.js +146 -0
  270. package/dist/es/chunks/PopperContent.js +2089 -0
  271. package/dist/es/chunks/PopperRoot.js +20 -0
  272. package/dist/es/chunks/Presence.js +182 -0
  273. package/dist/es/chunks/Primitive.js +62 -0
  274. package/dist/es/chunks/ProgressIndicator.js +149 -0
  275. package/dist/es/chunks/RadioGroupRoot.js +131 -0
  276. package/dist/es/chunks/RovingFocusGroup.js +134 -0
  277. package/dist/es/chunks/RovingFocusItem.js +108 -0
  278. package/dist/es/chunks/SelectGroup.js +32 -0
  279. package/dist/es/chunks/SelectItemAlignedPosition.js +563 -0
  280. package/dist/es/chunks/TabsRoot.js +102 -0
  281. package/dist/es/chunks/Teleport.js +45 -0
  282. package/dist/es/chunks/ToggleGroupRoot.js +176 -0
  283. package/dist/es/chunks/TooltipProvider.js +75 -0
  284. package/dist/es/chunks/TooltipRoot.js +127 -0
  285. package/dist/es/chunks/VisuallyHidden.js +59 -0
  286. package/dist/es/chunks/VisuallyHiddenInput.js +140 -0
  287. package/dist/es/chunks/alert.js +1 -1
  288. package/dist/es/chunks/badge.js +1 -1
  289. package/dist/es/chunks/button.js +3 -3
  290. package/dist/es/chunks/checkbox-card.js +9 -8
  291. package/dist/es/chunks/checkbox-label.js +10 -9
  292. package/dist/es/chunks/checkbox.js +234 -10
  293. package/dist/es/chunks/clamp.js +64 -0
  294. package/dist/es/chunks/collapsible-content.js +105 -3
  295. package/dist/es/chunks/collapsible-trigger.js +50 -2
  296. package/dist/es/chunks/collapsible.js +5 -3
  297. package/dist/es/chunks/color-area.js +3 -3
  298. package/dist/es/chunks/color-picker.js +13 -13
  299. package/dist/es/chunks/color-swatch.js +2 -2
  300. package/dist/es/chunks/combobox-anchor.js +45 -4
  301. package/dist/es/chunks/combobox-empty.js +30 -4
  302. package/dist/es/chunks/combobox-group.js +5 -4
  303. package/dist/es/chunks/combobox-input.js +6 -5
  304. package/dist/es/chunks/combobox-item.js +7 -6
  305. package/dist/es/chunks/combobox-list.js +104 -8
  306. package/dist/es/chunks/combobox-root.js +21 -18
  307. package/dist/es/chunks/combobox-separator.js +3 -3
  308. package/dist/es/chunks/combobox-trigger.js +63 -5
  309. package/dist/es/chunks/combobox.js +38 -31
  310. package/dist/es/chunks/compact-button.js +3 -3
  311. package/dist/es/chunks/components.js +46 -46
  312. package/dist/es/chunks/content-divider.js +87 -3
  313. package/dist/es/chunks/core.js +2 -2
  314. package/dist/es/chunks/counter-input.js +884 -9
  315. package/dist/es/chunks/createContext.js +32 -0
  316. package/dist/es/chunks/digit-input-group.js +5 -4
  317. package/dist/es/chunks/digit-input-slot.js +242 -5
  318. package/dist/es/chunks/digit-input.js +7 -6
  319. package/dist/es/chunks/dist.js +486 -11478
  320. package/dist/es/chunks/dropdown-menu-content.js +541 -6
  321. package/dist/es/chunks/dropdown-menu-group.js +29 -4
  322. package/dist/es/chunks/dropdown-menu-item.js +125 -5
  323. package/dist/es/chunks/dropdown-menu-label.js +58 -5
  324. package/dist/es/chunks/dropdown-menu-separator.js +56 -4
  325. package/dist/es/chunks/dropdown-menu-sub-content.js +294 -6
  326. package/dist/es/chunks/dropdown-menu-sub-trigger.js +192 -5
  327. package/dist/es/chunks/dropdown-menu-sub.js +40 -4
  328. package/dist/es/chunks/dropdown-menu-trigger.js +90 -5
  329. package/dist/es/chunks/dropdown-menu.js +5 -4
  330. package/dist/es/chunks/extra-settings.js +4 -4
  331. package/dist/es/chunks/fancy-button.js +3 -3
  332. package/dist/es/chunks/file-upload-area.js +1 -1
  333. package/dist/es/chunks/getActiveElement.js +9 -0
  334. package/dist/es/chunks/handleAndDispatchCustomEvent.js +13 -0
  335. package/dist/es/chunks/hint-text.js +1 -1
  336. package/dist/es/chunks/isValueEqualOrExist.js +19 -0
  337. package/dist/es/chunks/{label.js → label2.js} +5 -4
  338. package/dist/es/chunks/link-bubble.js +6 -6
  339. package/dist/es/chunks/link-button.js +3 -3
  340. package/dist/es/chunks/menus.js +2 -2
  341. package/dist/es/chunks/modal-close.js +2 -2
  342. package/dist/es/chunks/modal-content.js +7 -7
  343. package/dist/es/chunks/modal-header.js +7 -5
  344. package/dist/es/chunks/modal-trigger.js +2 -2
  345. package/dist/es/chunks/modal.js +6 -4
  346. package/dist/es/chunks/nullish.js +6 -0
  347. package/dist/es/chunks/ohash.D__AXeF1.js +109 -0
  348. package/dist/es/chunks/pagination-content.js +85 -4
  349. package/dist/es/chunks/pagination-ellipsis.js +29 -4
  350. package/dist/es/chunks/pagination-first.js +39 -4
  351. package/dist/es/chunks/pagination-item.js +51 -3
  352. package/dist/es/chunks/pagination-last.js +39 -4
  353. package/dist/es/chunks/pagination-next.js +39 -4
  354. package/dist/es/chunks/pagination-previous.js +39 -4
  355. package/dist/es/chunks/pagination.js +5 -4
  356. package/dist/es/chunks/popover-content.js +704 -8
  357. package/dist/es/chunks/popover-trigger.js +61 -4
  358. package/dist/es/chunks/popover.js +4 -3
  359. package/dist/es/chunks/progress-bar.js +6 -5
  360. package/dist/es/chunks/progress-circle.js +6 -5
  361. package/dist/es/chunks/radio-group-card.js +9 -8
  362. package/dist/es/chunks/radio-group-item.js +304 -7
  363. package/dist/es/chunks/radio-group-label.js +10 -9
  364. package/dist/es/chunks/radio-group.js +6 -5
  365. package/dist/es/chunks/rich-editor.js +5 -5
  366. package/dist/es/chunks/scroll-area.js +141 -7
  367. package/dist/es/chunks/scroll-bar.js +883 -6
  368. package/dist/es/chunks/segmented-control-item.js +162 -4
  369. package/dist/es/chunks/segmented-control.js +7 -4
  370. package/dist/es/chunks/select-content.js +319 -7
  371. package/dist/es/chunks/select-group.js +2 -2
  372. package/dist/es/chunks/select-item.js +226 -6
  373. package/dist/es/chunks/select-label.js +33 -3
  374. package/dist/es/chunks/select-separator.js +27 -4
  375. package/dist/es/chunks/select-trigger.js +164 -5
  376. package/dist/es/chunks/select-value.js +64 -4
  377. package/dist/es/chunks/select.js +8 -4
  378. package/dist/es/chunks/sheet-close.js +3 -3
  379. package/dist/es/chunks/sheet-content.js +8 -7
  380. package/dist/es/chunks/sheet-description.js +3 -3
  381. package/dist/es/chunks/sheet-footer.js +1 -1
  382. package/dist/es/chunks/sheet-header.js +1 -1
  383. package/dist/es/chunks/sheet-title.js +3 -3
  384. package/dist/es/chunks/sheet-trigger.js +2 -2
  385. package/dist/es/chunks/sheet.js +6 -4
  386. package/dist/es/chunks/sidebar-element.js +2 -2
  387. package/dist/es/chunks/sidebar-group-label.js +2 -2
  388. package/dist/es/chunks/sidebar-menu-action.js +2 -2
  389. package/dist/es/chunks/sidebar-menu-button.js +2 -2
  390. package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
  391. package/dist/es/chunks/sidebar-trigger.js +1 -1
  392. package/dist/es/chunks/slider.js +751 -8
  393. package/dist/es/chunks/social-button.js +3 -3
  394. package/dist/es/chunks/sonner-alert.js +1 -1
  395. package/dist/es/chunks/status-badge.js +1 -1
  396. package/dist/es/chunks/switch.js +192 -10
  397. package/dist/es/chunks/tab-menu-content.js +81 -4
  398. package/dist/es/chunks/tab-menu-item.js +89 -5
  399. package/dist/es/chunks/tab-menu-list.js +60 -4
  400. package/dist/es/chunks/tab-menu.js +6 -4
  401. package/dist/es/chunks/table-body.js +1 -1
  402. package/dist/es/chunks/table-caption.js +1 -1
  403. package/dist/es/chunks/table-cell.js +1 -1
  404. package/dist/es/chunks/table-footer.js +1 -1
  405. package/dist/es/chunks/table-head.js +1 -1
  406. package/dist/es/chunks/table-row.js +1 -1
  407. package/dist/es/chunks/table.js +1 -1
  408. package/dist/es/chunks/table2.js +1 -1
  409. package/dist/es/chunks/tag.js +3 -3
  410. package/dist/es/chunks/text-input-button.js +11 -5
  411. package/dist/es/chunks/text-input.js +8 -8
  412. package/dist/es/chunks/textarea.js +1 -1
  413. package/dist/es/chunks/tooltip-content.js +589 -8
  414. package/dist/es/chunks/tooltip-provider.js +4 -3
  415. package/dist/es/chunks/tooltip-root.js +4 -3
  416. package/dist/es/chunks/tooltip-trigger.js +109 -4
  417. package/dist/es/chunks/tooltip.js +7 -5
  418. package/dist/es/chunks/useArrowNavigation.js +60 -0
  419. package/dist/es/chunks/useComposing.js +21 -0
  420. package/dist/es/chunks/useDirection.js +14 -0
  421. package/dist/es/chunks/useEmitAsProps.js +28 -0
  422. package/dist/es/chunks/useFocusGuards.js +34 -0
  423. package/dist/es/chunks/useFormControl.js +8 -0
  424. package/dist/es/chunks/useForwardExpose.js +58 -0
  425. package/dist/es/chunks/useForwardProps.js +34 -0
  426. package/dist/es/chunks/useForwardPropsEmits.js +14 -0
  427. package/dist/es/chunks/useForwardScopeId.js +25 -0
  428. package/dist/es/chunks/useHideOthers.js +132 -0
  429. package/dist/es/chunks/useId.js +23 -0
  430. package/dist/es/chunks/useKbd.js +41 -0
  431. package/dist/es/chunks/useNonce.js +9 -0
  432. package/dist/es/chunks/usePrimitiveElement.js +12 -0
  433. package/dist/es/chunks/useSize.js +49 -0
  434. package/dist/es/chunks/useTypeahead.js +64 -0
  435. package/dist/es/chunks/utils.js +58 -0
  436. package/dist/es/chunks/utils2.js +44 -0
  437. package/dist/es/chunks/utils3.js +9 -0
  438. package/dist/es/command-group.js +5 -4
  439. package/dist/es/command-input.js +8 -6
  440. package/dist/es/command-item.js +5 -3
  441. package/dist/es/command-list.js +13 -7
  442. package/dist/es/command-root.js +19 -16
  443. package/dist/es/command-separator.js +3 -3
  444. package/dist/es/config.js +1 -1
  445. package/dist/es/index.js +46 -46
  446. package/dist/es/label.js +1 -1
  447. package/dist/es/use-sidebar.js +2 -2
  448. package/dist/{components → src/components}/alert/alert.d.ts +17 -14
  449. package/dist/{components → src/components}/button/button.d.ts +11 -8
  450. package/dist/{components → src/components}/button/compact-button.d.ts +4 -4
  451. package/dist/src/components/button/fancy-button.d.ts +24 -0
  452. package/dist/{components → src/components}/button/link-button.d.ts +11 -8
  453. package/dist/{components → src/components}/checkbox/checkbox-card.d.ts +1 -1
  454. package/dist/{components → src/components}/checkbox/checkbox-label.d.ts +1 -1
  455. package/dist/{components → src/components}/checkbox/checkbox.d.ts +3 -3
  456. package/dist/src/components/collapsible/collapsible-content.d.ts +18 -0
  457. package/dist/src/components/collapsible/collapsible-trigger.d.ts +16 -0
  458. package/dist/{components → src/components}/collapsible/collapsible.d.ts +12 -9
  459. package/dist/{components → src/components}/color-picker/color-picker.d.ts +11 -8
  460. package/dist/{components → src/components}/combobox/combobox-anchor.d.ts +1 -1
  461. package/dist/{components → src/components}/combobox/combobox-empty.d.ts +1 -1
  462. package/dist/{components → src/components}/combobox/combobox-group.d.ts +1 -1
  463. package/dist/{components → src/components}/combobox/combobox-input.d.ts +1 -1
  464. package/dist/{components → src/components}/combobox/combobox-item.d.ts +13 -10
  465. package/dist/src/components/combobox/combobox-list.d.ts +32 -0
  466. package/dist/{components → src/components}/combobox/combobox-root.d.ts +11 -7
  467. package/dist/{components → src/components}/combobox/combobox-separator.d.ts +1 -1
  468. package/dist/{components → src/components}/combobox/combobox-trigger.d.ts +9 -6
  469. package/dist/src/components/combobox/combobox.d.ts +52 -0
  470. package/dist/{components → src/components}/content-divider/content-divider.d.ts +3 -3
  471. package/dist/{components → src/components}/counter-input/counter-input.d.ts +2 -2
  472. package/dist/{components → src/components}/digit-input/digit-input-group.d.ts +1 -1
  473. package/dist/{components → src/components}/digit-input/digit-input-slot.d.ts +1 -1
  474. package/dist/src/components/digit-input/digit-input.d.ts +29 -0
  475. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-content.d.ts +7 -7
  476. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-group.d.ts +1 -1
  477. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-item.d.ts +1 -1
  478. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-label.d.ts +1 -1
  479. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-separator.d.ts +1 -1
  480. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub-content.d.ts +7 -7
  481. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub-trigger.d.ts +1 -1
  482. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub.d.ts +1 -1
  483. package/dist/{components → src/components}/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
  484. package/dist/{components → src/components}/dropdown-menu/dropdown-menu.d.ts +1 -1
  485. package/dist/{components → src/components}/file-upload/file-upload-area.d.ts +8 -7
  486. package/dist/{components → src/components}/label/label.d.ts +1 -1
  487. package/dist/{components → src/components}/modal/modal-close.d.ts +1 -1
  488. package/dist/{components → src/components}/modal/modal-content.d.ts +7 -7
  489. package/dist/{components → src/components}/modal/modal-trigger.d.ts +1 -1
  490. package/dist/{components → src/components}/modal/modal.d.ts +1 -1
  491. package/dist/src/components/pagination/pagination-content.d.ts +25 -0
  492. package/dist/src/components/pagination/pagination-ellipsis.d.ts +18 -0
  493. package/dist/src/components/pagination/pagination-first.d.ts +18 -0
  494. package/dist/src/components/pagination/pagination-item.d.ts +20 -0
  495. package/dist/src/components/pagination/pagination-last.d.ts +18 -0
  496. package/dist/src/components/pagination/pagination-next.d.ts +18 -0
  497. package/dist/src/components/pagination/pagination-previous.d.ts +18 -0
  498. package/dist/src/components/pagination/pagination.d.ts +38 -0
  499. package/dist/src/components/popover/popover-content.d.ts +49 -0
  500. package/dist/{components → src/components}/popover/popover-trigger.d.ts +1 -1
  501. package/dist/{components → src/components}/popover/popover.d.ts +1 -1
  502. package/dist/{components → src/components}/progress/progress-bar.d.ts +1 -1
  503. package/dist/{components → src/components}/progress/progress-circle.d.ts +1 -1
  504. package/dist/{components → src/components}/radio-group/radio-group-card.d.ts +1 -1
  505. package/dist/{components → src/components}/radio-group/radio-group-item.d.ts +1 -1
  506. package/dist/{components → src/components}/radio-group/radio-group-label.d.ts +1 -1
  507. package/dist/{components → src/components}/radio-group/radio-group.d.ts +3 -3
  508. package/dist/{components → src/components}/scroll-area/scroll-area.d.ts +1 -1
  509. package/dist/{components → src/components}/scroll-area/scroll-bar.d.ts +1 -1
  510. package/dist/{components → src/components}/segmented-control/segmented-control-item.d.ts +1 -1
  511. package/dist/{components → src/components}/segmented-control/segmented-control.d.ts +3 -3
  512. package/dist/{components → src/components}/select/select-content.d.ts +3 -3
  513. package/dist/{components → src/components}/select/select-group.d.ts +1 -1
  514. package/dist/{components → src/components}/select/select-item.d.ts +1 -1
  515. package/dist/{components → src/components}/select/select-label.d.ts +1 -1
  516. package/dist/{components → src/components}/select/select-separator.d.ts +1 -1
  517. package/dist/{components → src/components}/select/select-trigger.d.ts +1 -1
  518. package/dist/{components → src/components}/select/select-value.d.ts +1 -1
  519. package/dist/{components → src/components}/select/select.d.ts +3 -3
  520. package/dist/src/components/sheet/sheet-close.d.ts +18 -0
  521. package/dist/src/components/sheet/sheet-content.d.ts +35 -0
  522. package/dist/src/components/sheet/sheet-description.d.ts +18 -0
  523. package/dist/src/components/sheet/sheet-footer.d.ts +17 -0
  524. package/dist/src/components/sheet/sheet-header.d.ts +17 -0
  525. package/dist/src/components/sheet/sheet-title.d.ts +18 -0
  526. package/dist/src/components/sheet/sheet-trigger.d.ts +16 -0
  527. package/dist/{components → src/components}/sheet/sheet.d.ts +1 -1
  528. package/dist/src/components/sidebar/sidebar-element.d.ts +20 -0
  529. package/dist/src/components/sidebar/sidebar-footer.d.ts +17 -0
  530. package/dist/{components → src/components}/sidebar/sidebar-group-label.d.ts +1 -1
  531. package/dist/src/components/sidebar/sidebar-header.d.ts +17 -0
  532. package/dist/src/components/sidebar/sidebar-menu-action.d.ts +21 -0
  533. package/dist/{components → src/components}/sidebar/sidebar-menu-button.d.ts +2 -2
  534. package/dist/src/components/sidebar/sidebar-menu-sub-button.d.ts +24 -0
  535. package/dist/{components → src/components}/sidebar/sidebar.d.ts +11 -8
  536. package/dist/{components → src/components}/slider/slider.d.ts +1 -1
  537. package/dist/{components → src/components}/switch/switch.d.ts +3 -3
  538. package/dist/{components → src/components}/tab-menu/tab-menu-content.d.ts +1 -1
  539. package/dist/{components → src/components}/tab-menu/tab-menu-item.d.ts +1 -1
  540. package/dist/{components → src/components}/tab-menu/tab-menu-list.d.ts +1 -1
  541. package/dist/{components → src/components}/tab-menu/tab-menu.d.ts +3 -3
  542. package/dist/src/components/table/table-body.d.ts +17 -0
  543. package/dist/src/components/table/table-caption.d.ts +17 -0
  544. package/dist/src/components/table/table-cell.d.ts +20 -0
  545. package/dist/src/components/table/table-empty.d.ts +20 -0
  546. package/dist/src/components/table/table-footer.d.ts +17 -0
  547. package/dist/src/components/table/table-head.d.ts +20 -0
  548. package/dist/src/components/table/table-header.d.ts +17 -0
  549. package/dist/src/components/table/table-row.d.ts +20 -0
  550. package/dist/src/components/table/table.d.ts +17 -0
  551. package/dist/{components → src/components}/tag/tag.d.ts +11 -8
  552. package/dist/{components → src/components}/text-input/text-input-button.d.ts +1 -1
  553. package/dist/src/components/text-input/text-input.d.ts +42 -0
  554. package/dist/{components → src/components}/textarea/textarea.d.ts +9 -8
  555. package/dist/{components → src/components}/tooltip/tooltip-content.d.ts +10 -7
  556. package/dist/src/components/tooltip/tooltip-provider.d.ts +18 -0
  557. package/dist/{components → src/components}/tooltip/tooltip-root.d.ts +10 -7
  558. package/dist/src/components/tooltip/tooltip-trigger.d.ts +16 -0
  559. package/dist/{components → src/components}/tooltip/tooltip.d.ts +10 -7
  560. package/package.json +11 -11
  561. package/src/components/alert/alert.vue +8 -10
  562. package/src/components/badge/badge.vue +7 -9
  563. package/src/components/badge/status-badge.vue +10 -11
  564. package/src/components/button/button.vue +9 -10
  565. package/src/components/button/compact-button.vue +8 -9
  566. package/src/components/button/fancy-button.vue +10 -11
  567. package/src/components/button/link-button.vue +8 -9
  568. package/src/components/button/social-button.vue +5 -7
  569. package/src/components/checkbox/checkbox-card.vue +2 -2
  570. package/src/components/checkbox/checkbox-label.vue +2 -1
  571. package/src/components/checkbox/checkbox.vue +2 -2
  572. package/src/components/checkbox/stories/checkbox.stories.ts +4 -5
  573. package/src/components/collapsible/collapsible-content.vue +4 -6
  574. package/src/components/collapsible/collapsible-trigger.vue +4 -6
  575. package/src/components/collapsible/collapsible.vue +4 -6
  576. package/src/components/color-picker/alpha-slider.vue +8 -10
  577. package/src/components/color-picker/color-area.vue +8 -10
  578. package/src/components/color-picker/color-picker.vue +43 -43
  579. package/src/components/color-picker/color-swatch.vue +11 -13
  580. package/src/components/color-picker/composable/use-color-model.ts +2 -1
  581. package/src/components/color-picker/composable/use-user-select.ts +2 -1
  582. package/src/components/combobox/combobox-anchor.vue +4 -3
  583. package/src/components/combobox/combobox-empty.vue +4 -3
  584. package/src/components/combobox/combobox-group.vue +5 -4
  585. package/src/components/combobox/combobox-input.vue +6 -3
  586. package/src/components/combobox/combobox-item.vue +19 -20
  587. package/src/components/combobox/combobox-list.vue +7 -6
  588. package/src/components/combobox/combobox-root.vue +2 -1
  589. package/src/components/combobox/combobox-separator.vue +4 -3
  590. package/src/components/combobox/combobox-trigger.vue +25 -23
  591. package/src/components/combobox/combobox.vue +39 -33
  592. package/src/components/command/command-group.vue +4 -3
  593. package/src/components/command/command-input.vue +4 -2
  594. package/src/components/command/command-item.vue +4 -3
  595. package/src/components/command/command-list.vue +5 -6
  596. package/src/components/command/command-root.vue +4 -3
  597. package/src/components/command/command-separator.vue +4 -3
  598. package/src/components/content-divider/content-divider.vue +7 -9
  599. package/src/components/counter-input/counter-input.vue +2 -1
  600. package/src/components/digit-input/digit-input-group.vue +2 -1
  601. package/src/components/digit-input/digit-input-slot.vue +2 -1
  602. package/src/components/digit-input/digit-input.vue +8 -5
  603. package/src/components/digit-input/stories/digit-input.stories.ts +13 -3
  604. package/src/components/dropdown-menu/dropdown-menu-content.vue +4 -4
  605. package/src/components/dropdown-menu/dropdown-menu-group.vue +2 -1
  606. package/src/components/dropdown-menu/dropdown-menu-item.vue +2 -1
  607. package/src/components/dropdown-menu/dropdown-menu-label.vue +2 -1
  608. package/src/components/dropdown-menu/dropdown-menu-separator.vue +3 -2
  609. package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +4 -4
  610. package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +3 -2
  611. package/src/components/dropdown-menu/dropdown-menu-sub.vue +3 -3
  612. package/src/components/dropdown-menu/dropdown-menu-trigger.vue +2 -1
  613. package/src/components/dropdown-menu/dropdown-menu.vue +2 -2
  614. package/src/components/file-upload/file-upload-area.vue +26 -27
  615. package/src/components/file-upload/stories/file-upload-area.stories.ts +2 -1
  616. package/src/components/hint-text/hint-text.vue +4 -6
  617. package/src/components/label/label.vue +2 -1
  618. package/src/components/modal/modal-close.vue +2 -1
  619. package/src/components/modal/modal-content.vue +2 -2
  620. package/src/components/modal/modal-header.vue +1 -1
  621. package/src/components/modal/modal-trigger.vue +2 -2
  622. package/src/components/modal/modal.vue +2 -2
  623. package/src/components/pagination/pagination-content.vue +6 -7
  624. package/src/components/pagination/pagination-ellipsis.vue +7 -8
  625. package/src/components/pagination/pagination-first.vue +6 -7
  626. package/src/components/pagination/pagination-item.vue +6 -7
  627. package/src/components/pagination/pagination-last.vue +6 -7
  628. package/src/components/pagination/pagination-next.vue +6 -7
  629. package/src/components/pagination/pagination-previous.vue +7 -8
  630. package/src/components/pagination/pagination.vue +7 -8
  631. package/src/components/popover/popover-content.vue +19 -20
  632. package/src/components/popover/popover-trigger.vue +2 -1
  633. package/src/components/popover/popover.vue +2 -2
  634. package/src/components/popover/stories/popover.stories.ts +1 -1
  635. package/src/components/progress/progress-bar.vue +5 -3
  636. package/src/components/progress/progress-circle.vue +3 -2
  637. package/src/components/radio-group/radio-group-card.vue +2 -2
  638. package/src/components/radio-group/radio-group-item.vue +2 -1
  639. package/src/components/radio-group/radio-group-label.vue +2 -1
  640. package/src/components/radio-group/radio-group.vue +2 -1
  641. package/src/components/rich-editor/config.ts +1 -1
  642. package/src/components/rich-editor/extra-settings.vue +1 -1
  643. package/src/components/rich-editor/link-bubble.vue +1 -1
  644. package/src/components/rich-editor/rich-editor.vue +3 -2
  645. package/src/components/scroll-area/scroll-area.vue +3 -2
  646. package/src/components/scroll-area/scroll-bar.vue +2 -1
  647. package/src/components/segmented-control/segmented-control-item.vue +2 -1
  648. package/src/components/segmented-control/segmented-control.vue +2 -1
  649. package/src/components/select/select-content.vue +4 -3
  650. package/src/components/select/select-group.vue +2 -1
  651. package/src/components/select/select-item.vue +2 -1
  652. package/src/components/select/select-label.vue +2 -1
  653. package/src/components/select/select-separator.vue +2 -1
  654. package/src/components/select/select-trigger.vue +2 -1
  655. package/src/components/select/select-value.vue +2 -1
  656. package/src/components/select/select.vue +2 -1
  657. package/src/components/sheet/sheet-close.vue +4 -6
  658. package/src/components/sheet/sheet-content.vue +7 -9
  659. package/src/components/sheet/sheet-description.vue +6 -8
  660. package/src/components/sheet/sheet-footer.vue +2 -4
  661. package/src/components/sheet/sheet-header.vue +2 -4
  662. package/src/components/sheet/sheet-title.vue +6 -8
  663. package/src/components/sheet/sheet-trigger.vue +4 -6
  664. package/src/components/sheet/sheet.vue +2 -2
  665. package/src/components/sidebar/sidebar-element.vue +6 -8
  666. package/src/components/sidebar/sidebar-footer.vue +2 -4
  667. package/src/components/sidebar/sidebar-group-label.vue +2 -2
  668. package/src/components/sidebar/sidebar-header.vue +2 -4
  669. package/src/components/sidebar/sidebar-menu-action.vue +6 -8
  670. package/src/components/sidebar/sidebar-menu-badge.vue +6 -8
  671. package/src/components/sidebar/sidebar-menu-button.vue +2 -2
  672. package/src/components/sidebar/sidebar-menu-sub-button.vue +8 -10
  673. package/src/components/sidebar/sidebar-separator.vue +2 -4
  674. package/src/components/sidebar/sidebar-trigger.vue +1 -1
  675. package/src/components/sidebar/sidebar.vue +6 -8
  676. package/src/components/slider/slider.vue +2 -1
  677. package/src/components/sonner/sonner-alert.vue +2 -1
  678. package/src/components/sonner/sonner.vue +4 -5
  679. package/src/components/switch/stories/switch.stories.ts +3 -3
  680. package/src/components/switch/switch.vue +2 -1
  681. package/src/components/tab-menu/tab-menu-content.vue +2 -1
  682. package/src/components/tab-menu/tab-menu-item.vue +2 -1
  683. package/src/components/tab-menu/tab-menu-list.vue +2 -1
  684. package/src/components/tab-menu/tab-menu.vue +2 -2
  685. package/src/components/table/table-body.vue +2 -4
  686. package/src/components/table/table-caption.vue +2 -4
  687. package/src/components/table/table-cell.vue +5 -7
  688. package/src/components/table/table-empty.vue +5 -7
  689. package/src/components/table/table-footer.vue +2 -4
  690. package/src/components/table/table-head.vue +5 -7
  691. package/src/components/table/table-header.vue +2 -4
  692. package/src/components/table/table-row.vue +5 -7
  693. package/src/components/table/table.vue +2 -4
  694. package/src/components/tag/tag.vue +10 -11
  695. package/src/components/text-input/text-input-button.vue +3 -2
  696. package/src/components/text-input/text-input.vue +9 -10
  697. package/src/components/textarea/textarea.vue +8 -10
  698. package/src/components/tooltip/tooltip-content.vue +14 -15
  699. package/src/components/tooltip/tooltip-provider.vue +4 -5
  700. package/src/components/tooltip/tooltip-root.vue +4 -5
  701. package/src/components/tooltip/tooltip-trigger.vue +4 -5
  702. package/src/components/tooltip/tooltip.vue +12 -14
  703. package/src/composables/use-delegated-props.ts +2 -1
  704. package/src/composables/use-sidebar.ts +1 -1
  705. package/src/utils/sonner.ts +2 -1
  706. package/dist/components/button/fancy-button.d.ts +0 -21
  707. package/dist/components/collapsible/collapsible-content.d.ts +0 -15
  708. package/dist/components/collapsible/collapsible-trigger.d.ts +0 -13
  709. package/dist/components/combobox/combobox-list.d.ts +0 -32
  710. package/dist/components/combobox/combobox.d.ts +0 -45
  711. package/dist/components/digit-input/digit-input.d.ts +0 -28
  712. package/dist/components/pagination/pagination-content.d.ts +0 -22
  713. package/dist/components/pagination/pagination-ellipsis.d.ts +0 -15
  714. package/dist/components/pagination/pagination-first.d.ts +0 -15
  715. package/dist/components/pagination/pagination-item.d.ts +0 -17
  716. package/dist/components/pagination/pagination-last.d.ts +0 -15
  717. package/dist/components/pagination/pagination-next.d.ts +0 -15
  718. package/dist/components/pagination/pagination-previous.d.ts +0 -15
  719. package/dist/components/pagination/pagination.d.ts +0 -35
  720. package/dist/components/popover/popover-content.d.ts +0 -46
  721. package/dist/components/sheet/sheet-close.d.ts +0 -15
  722. package/dist/components/sheet/sheet-content.d.ts +0 -32
  723. package/dist/components/sheet/sheet-description.d.ts +0 -15
  724. package/dist/components/sheet/sheet-footer.d.ts +0 -14
  725. package/dist/components/sheet/sheet-header.d.ts +0 -14
  726. package/dist/components/sheet/sheet-title.d.ts +0 -15
  727. package/dist/components/sheet/sheet-trigger.d.ts +0 -13
  728. package/dist/components/sidebar/sidebar-element.d.ts +0 -17
  729. package/dist/components/sidebar/sidebar-footer.d.ts +0 -14
  730. package/dist/components/sidebar/sidebar-header.d.ts +0 -14
  731. package/dist/components/sidebar/sidebar-menu-action.d.ts +0 -18
  732. package/dist/components/sidebar/sidebar-menu-sub-button.d.ts +0 -21
  733. package/dist/components/table/table-body.d.ts +0 -14
  734. package/dist/components/table/table-caption.d.ts +0 -14
  735. package/dist/components/table/table-cell.d.ts +0 -17
  736. package/dist/components/table/table-empty.d.ts +0 -17
  737. package/dist/components/table/table-footer.d.ts +0 -14
  738. package/dist/components/table/table-head.d.ts +0 -17
  739. package/dist/components/table/table-header.d.ts +0 -14
  740. package/dist/components/table/table-row.d.ts +0 -17
  741. package/dist/components/table/table.d.ts +0 -14
  742. package/dist/components/text-input/text-input.d.ts +0 -38
  743. package/dist/components/tooltip/tooltip-provider.d.ts +0 -15
  744. package/dist/components/tooltip/tooltip-trigger.d.ts +0 -13
  745. package/dist/{components → src/components}/alert/index.d.ts +0 -0
  746. package/dist/{components → src/components}/badge/badge.d.ts +2 -2
  747. package/dist/{components → src/components}/badge/index.d.ts +0 -0
  748. package/dist/{components → src/components}/badge/status-badge.d.ts +2 -2
  749. package/dist/{components → src/components}/button/index.d.ts +0 -0
  750. package/dist/{components → src/components}/button/social-button.d.ts +2 -2
  751. package/dist/{components → src/components}/checkbox/index.d.ts +0 -0
  752. package/dist/{components → src/components}/collapsible/index.d.ts +0 -0
  753. package/dist/{components → src/components}/color-picker/alpha-slider.d.ts +2 -2
  754. package/dist/{components → src/components}/color-picker/color-area.d.ts +1 -1
  755. package/dist/{components → src/components}/color-picker/color-swatch.d.ts +2 -2
  756. package/dist/{components → src/components}/color-picker/composable/use-color-model.d.ts +1 -1
  757. package/dist/{components → src/components}/color-picker/composable/use-user-select.d.ts +0 -0
  758. package/dist/{components → src/components}/color-picker/hue-slider.d.ts +0 -0
  759. package/dist/{components → src/components}/color-picker/index.d.ts +0 -0
  760. package/dist/{components → src/components}/combobox/index.d.ts +0 -0
  761. package/dist/{components → src/components}/content-divider/index.d.ts +0 -0
  762. package/dist/{components → src/components}/counter-input/index.d.ts +0 -0
  763. package/dist/{components → src/components}/digit-input/index.d.ts +0 -0
  764. package/dist/{components → src/components}/dropdown-menu/index.d.ts +0 -0
  765. package/dist/{components → src/components}/file-upload/index.d.ts +0 -0
  766. package/dist/{components → src/components}/hint-text/hint-text.d.ts +2 -2
  767. package/dist/{components → src/components}/hint-text/index.d.ts +0 -0
  768. package/dist/{components → src/components}/index.d.ts +0 -0
  769. package/dist/{components → src/components}/label/index.d.ts +0 -0
  770. package/dist/{components → src/components}/modal/index.d.ts +0 -0
  771. package/dist/{components → src/components}/modal/modal-body.d.ts +0 -0
  772. package/dist/{components → src/components}/modal/modal-footer.d.ts +0 -0
  773. package/dist/{components → src/components}/modal/modal-header.d.ts +0 -0
  774. package/dist/{components → src/components}/pagination/index.d.ts +0 -0
  775. package/dist/{components → src/components}/popover/index.d.ts +0 -0
  776. package/dist/{components → src/components}/progress/index.d.ts +0 -0
  777. package/dist/{components → src/components}/radio-group/index.d.ts +0 -0
  778. package/dist/{components → src/components}/rich-editor/config.d.ts +0 -0
  779. package/dist/{components → src/components}/rich-editor/extra-settings.d.ts +0 -0
  780. package/dist/{components → src/components}/rich-editor/index.d.ts +0 -0
  781. package/dist/{components → src/components}/rich-editor/link-bubble.d.ts +0 -0
  782. package/dist/{components → src/components}/rich-editor/rich-editor.d.ts +0 -0
  783. package/dist/{components → src/components}/rich-editor/types.d.ts +0 -0
  784. package/dist/{components → src/components}/scroll-area/index.d.ts +0 -0
  785. package/dist/{components → src/components}/segmented-control/index.d.ts +0 -0
  786. package/dist/{components → src/components}/select/index.d.ts +0 -0
  787. package/dist/{components → src/components}/select/select-icon.d.ts +0 -0
  788. package/dist/{components → src/components}/sheet/index.d.ts +0 -0
  789. package/dist/{components → src/components}/sidebar/index.d.ts +0 -0
  790. package/dist/{components → src/components}/sidebar/sidebar-content.d.ts +0 -0
  791. package/dist/{components → src/components}/sidebar/sidebar-group-content.d.ts +0 -0
  792. package/dist/{components → src/components}/sidebar/sidebar-group.d.ts +0 -0
  793. package/dist/{components → src/components}/sidebar/sidebar-menu-badge.d.ts +2 -2
  794. package/dist/{components → src/components}/sidebar/sidebar-menu-item.d.ts +0 -0
  795. package/dist/{components → src/components}/sidebar/sidebar-menu-sub-item.d.ts +0 -0
  796. package/dist/{components → src/components}/sidebar/sidebar-menu-sub.d.ts +0 -0
  797. package/dist/{components → src/components}/sidebar/sidebar-menu.d.ts +0 -0
  798. package/dist/{components → src/components}/sidebar/sidebar-provider.d.ts +0 -0
  799. package/dist/{components → src/components}/sidebar/sidebar-separator.d.ts +1 -1
  800. package/dist/{components → src/components}/sidebar/sidebar-trigger.d.ts +0 -0
  801. package/dist/{components → src/components}/slider/index.d.ts +0 -0
  802. package/dist/{components → src/components}/sonner/index.d.ts +0 -0
  803. package/dist/{components → src/components}/sonner/sonner-alert.d.ts +0 -0
  804. package/dist/{components → src/components}/sonner/sonner.d.ts +1 -1
  805. package/dist/{components → src/components}/switch/index.d.ts +0 -0
  806. package/dist/{components → src/components}/tab-menu/index.d.ts +0 -0
  807. package/dist/{components → src/components}/table/index.d.ts +0 -0
  808. package/dist/{components → src/components}/tag/index.d.ts +0 -0
  809. package/dist/{components → src/components}/text-input/index.d.ts +0 -0
  810. package/dist/{components → src/components}/text-input/text-input-affix.d.ts +0 -0
  811. package/dist/{components → src/components}/textarea/index.d.ts +0 -0
  812. package/dist/{components → src/components}/tooltip/index.d.ts +0 -0
  813. package/dist/{composables → src/composables}/index.d.ts +0 -0
  814. package/dist/{composables → src/composables}/use-delegated-props.d.ts +0 -0
  815. package/dist/{composables → src/composables}/use-sidebar.d.ts +0 -0
  816. package/dist/{index.d.ts → src/index.d.ts} +0 -0
  817. package/dist/{utils → src/utils}/color.d.ts +0 -0
  818. package/dist/{utils → src/utils}/crypto.d.ts +0 -0
  819. package/dist/{utils → src/utils}/index.d.ts +0 -0
  820. package/dist/{utils → src/utils}/sonner.d.ts +1 -1
@@ -1,9 +1,34 @@
1
1
  <script setup lang="ts">
2
+ import type { InputHTMLAttributes } from 'vue';
2
3
  import { useDropZone } from '@vueuse/core';
3
4
  import clsx from 'clsx';
4
- import { computed, type InputHTMLAttributes, useTemplateRef } from 'vue';
5
+ import { computed, useTemplateRef } from 'vue';
5
6
  import Button from '@/components/button/button.vue';
6
7
 
8
+ export interface FileUploadAreaProps {
9
+ label?: string;
10
+ description?: string;
11
+ labelOnDrop?: string;
12
+ triggerLabel?: string;
13
+ maxSize?: number;
14
+ maxFiles?: number;
15
+ multiple?: boolean;
16
+ icon?: string;
17
+ accept?: InputHTMLAttributes['accept'];
18
+ onTriggerClick?: () => void;
19
+ class?: InputHTMLAttributes['class'];
20
+ }
21
+
22
+ export interface FileError {
23
+ message: string;
24
+ type: 'size' | 'type' | 'count';
25
+ files: File[];
26
+ }
27
+
28
+ export interface FileUploadAreaEmit {
29
+ error: [error: FileError];
30
+ }
31
+
7
32
  const props = withDefaults(defineProps<FileUploadAreaProps>(), {
8
33
  icon: 'i-celeste-upload-cloud-2-line',
9
34
  label: 'Choose a file or drag & drop it here.',
@@ -101,32 +126,6 @@ function handleTriggerClick(e: Event) {
101
126
  }
102
127
  </script>
103
128
 
104
- <script lang="ts">
105
- export interface FileUploadAreaProps {
106
- label?: string;
107
- description?: string;
108
- labelOnDrop?: string;
109
- triggerLabel?: string;
110
- maxSize?: number;
111
- maxFiles?: number;
112
- multiple?: boolean;
113
- icon?: string;
114
- accept?: InputHTMLAttributes['accept'];
115
- onTriggerClick?: () => void;
116
- class?: InputHTMLAttributes['class'];
117
- }
118
-
119
- export interface FileError {
120
- message: string;
121
- type: 'size' | 'type' | 'count';
122
- files: File[];
123
- }
124
-
125
- export interface FileUploadAreaEmit {
126
- error: [error: FileError];
127
- }
128
- </script>
129
-
130
129
  <template>
131
130
  <component
132
131
  :is="uploadComponent"
@@ -1,8 +1,9 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ import type { FileError } from '../file-upload-area.vue';
2
3
  import { ref, watch } from 'vue';
3
4
  import Sonner from '@/components/sonner/sonner.vue';
4
5
  import { toast } from '@/utils/sonner';
5
- import FileUploadArea, { type FileError } from '../file-upload-area.vue';
6
+ import FileUploadArea from '../file-upload-area.vue';
6
7
  import 'vue-sonner/style.css';
7
8
 
8
9
  const meta: Meta<typeof FileUploadArea> = {
@@ -2,18 +2,16 @@
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import clsx from 'clsx';
4
4
 
5
- const props = withDefaults(defineProps<HintTextProps>(), {
6
- state: 'default',
7
- });
8
- </script>
9
-
10
- <script lang="ts">
11
5
  export interface HintTextProps {
12
6
  text?: string;
13
7
  icon?: string;
14
8
  class?: HTMLAttributes['class'];
15
9
  state?: 'default' | 'disabled' | 'error';
16
10
  }
11
+
12
+ const props = withDefaults(defineProps<HintTextProps>(), {
13
+ state: 'default',
14
+ });
17
15
  </script>
18
16
 
19
17
  <template>
@@ -1,7 +1,8 @@
1
1
  <script setup lang="ts">
2
+ import type { LabelProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import clsx from 'clsx';
4
- import { Label, type LabelProps, Primitive } from 'radix-vue';
5
+ import { Label, Primitive } from 'reka-ui';
5
6
  import Tooltip from '@/components/tooltip/tooltip.vue';
6
7
  import { useDelegatedProps } from '@/composables/use-delegated-props';
7
8
 
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
- import { type DialogCloseProps, DialogClose as ModalClose } from 'radix-vue';
2
+ import type { DialogCloseProps } from 'reka-ui';
3
+ import { DialogClose as ModalClose } from 'reka-ui';
3
4
 
4
5
  const props = defineProps<DialogCloseProps>();
5
6
  </script>
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
- import type { DialogContentEmits, DialogContentProps } from 'radix-vue';
2
+ import type { DialogContentEmits, DialogContentProps } from 'reka-ui';
3
3
  import type { HTMLAttributes } from 'vue';
4
4
  import clsx from 'clsx';
5
- import { DialogContent as ModalContent, DialogOverlay as ModalOverlay, DialogPortal as ModalPortal, useForwardPropsEmits } from 'radix-vue';
5
+ import { DialogContent as ModalContent, DialogOverlay as ModalOverlay, DialogPortal as ModalPortal, useForwardPropsEmits } from 'reka-ui';
6
6
  import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<DialogContentProps & {
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import type { HTMLAttributes } from 'vue';
3
3
  import clsx from 'clsx';
4
- import { DialogClose as ModalClose, DialogDescription as ModalDescription, DialogTitle as ModalTitle } from 'radix-vue';
4
+ import { DialogClose as ModalClose, DialogDescription as ModalDescription, DialogTitle as ModalTitle } from 'reka-ui';
5
5
  import CompactButton from '@/components/button/compact-button.vue';
6
6
 
7
7
  const props = withDefaults(defineProps<{
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import type { DialogTriggerProps } from 'radix-vue';
3
- import { DialogTrigger as ModalTrigger } from 'radix-vue';
2
+ import type { DialogTriggerProps } from 'reka-ui';
3
+ import { DialogTrigger as ModalTrigger } from 'reka-ui';
4
4
 
5
5
  const props = defineProps<DialogTriggerProps>();
6
6
  </script>
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import type { DialogRootEmits, DialogRootProps } from 'radix-vue';
3
- import { DialogRoot as ModalRoot, useForwardPropsEmits } from 'radix-vue';
2
+ import type { DialogRootEmits, DialogRootProps } from 'reka-ui';
3
+ import { DialogRoot as ModalRoot, useForwardPropsEmits } from 'reka-ui';
4
4
 
5
5
  const props = defineProps<DialogRootProps>();
6
6
  const emits = defineEmits<DialogRootEmits>();
@@ -1,18 +1,17 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationListProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
- import { PaginationList, type PaginationListProps } from 'radix-vue';
6
+ import { PaginationList } from 'reka-ui';
6
7
 
7
- const props = defineProps<PaginationContentProps>();
8
-
9
- const delegated = reactiveOmit(props, 'class');
10
- </script>
11
-
12
- <script lang="ts">
13
8
  export interface PaginationContentProps extends PaginationListProps {
14
9
  class?: HTMLAttributes['class'];
15
10
  }
11
+
12
+ const props = defineProps<PaginationContentProps>();
13
+
14
+ const delegated = reactiveOmit(props, 'class');
16
15
  </script>
17
16
 
18
17
  <template>
@@ -1,18 +1,17 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationEllipsisProps as PrimitivePaginationEllipsisProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
- import { PaginationEllipsis, type PaginationEllipsisProps as PrimitivePaginationEllipsisProps } from 'radix-vue';
6
+ import { PaginationEllipsis } from 'reka-ui';
6
7
 
7
- const props = defineProps<PaginationEllipsisProps>();
8
-
9
- const delegated = reactiveOmit(props, 'class');
10
- </script>
11
-
12
- <script lang="ts">
13
8
  export interface PaginationEllipsisProps extends PrimitivePaginationEllipsisProps {
14
9
  class?: HTMLAttributes['class'];
15
10
  }
11
+
12
+ const props = defineProps<PaginationEllipsisProps>();
13
+
14
+ const delegated = reactiveOmit(props, 'class');
16
15
  </script>
17
16
 
18
17
  <template>
@@ -40,7 +39,7 @@ export interface PaginationEllipsisProps extends PrimitivePaginationEllipsisProp
40
39
  margin: -1px;
41
40
  padding: 0;
42
41
  overflow: hidden;
43
- clip: rect(0, 0, 0, 0);
42
+ clip-path: inset(50%);
44
43
  border-width: 0;
45
44
  white-space: nowrap;
46
45
  }
@@ -1,8 +1,13 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationFirstProps as PrimitivePaginationFirstProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
- import { PaginationFirst, type PaginationFirstProps as PrimitivePaginationFirstProps, useForwardProps } from 'radix-vue';
6
+ import { PaginationFirst, useForwardProps } from 'reka-ui';
7
+
8
+ export interface PaginationFirstProps extends PrimitivePaginationFirstProps {
9
+ class?: HTMLAttributes['class'];
10
+ }
6
11
 
7
12
  const props = defineProps<PaginationFirstProps>();
8
13
 
@@ -10,12 +15,6 @@ const delegated = reactiveOmit(props, 'class');
10
15
  const forwarded = useForwardProps(delegated);
11
16
  </script>
12
17
 
13
- <script lang="ts">
14
- export interface PaginationFirstProps extends PrimitivePaginationFirstProps {
15
- class?: HTMLAttributes['class'];
16
- }
17
- </script>
18
-
19
18
  <template>
20
19
  <PaginationFirst
21
20
  :class="clsx('celeste-pagination-element', 'celeste-pagination-first', props.class)"
@@ -1,20 +1,19 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationListItemProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
- import { PaginationListItem, type PaginationListItemProps } from 'radix-vue';
6
+ import { PaginationListItem } from 'reka-ui';
6
7
 
7
- const props = defineProps<PaginationItemProps>();
8
-
9
- const delegated = reactiveOmit(props, 'class', 'isActive', 'disabled');
10
- </script>
11
-
12
- <script lang="ts">
13
8
  export interface PaginationItemProps extends PaginationListItemProps {
14
9
  class?: HTMLAttributes['class'];
15
10
  isActive?: boolean;
16
11
  disabled?: boolean;
17
12
  }
13
+
14
+ const props = defineProps<PaginationItemProps>();
15
+
16
+ const delegated = reactiveOmit(props, 'class', 'isActive', 'disabled');
18
17
  </script>
19
18
 
20
19
  <template>
@@ -1,8 +1,13 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationLastProps as PrimitivePaginationLastProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
- import { PaginationLast, type PaginationLastProps as PrimitivePaginationLastProps, useForwardProps } from 'radix-vue';
6
+ import { PaginationLast, useForwardProps } from 'reka-ui';
7
+
8
+ export interface PaginationLastProps extends PrimitivePaginationLastProps {
9
+ class?: HTMLAttributes['class'];
10
+ }
6
11
 
7
12
  const props = defineProps<PaginationLastProps>();
8
13
 
@@ -10,12 +15,6 @@ const delegated = reactiveOmit(props, 'class');
10
15
  const forwarded = useForwardProps(delegated);
11
16
  </script>
12
17
 
13
- <script lang="ts">
14
- export interface PaginationLastProps extends PrimitivePaginationLastProps {
15
- class?: HTMLAttributes['class'];
16
- }
17
- </script>
18
-
19
18
  <template>
20
19
  <PaginationLast
21
20
  :class="clsx('celeste-pagination-element', 'celeste-pagination-last', props.class)"
@@ -1,8 +1,13 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationNextProps as PrimitivePaginationNextProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
- import { PaginationNext, type PaginationNextProps as PrimitivePaginationNextProps, useForwardProps } from 'radix-vue';
6
+ import { PaginationNext, useForwardProps } from 'reka-ui';
7
+
8
+ export interface PaginationNextProps extends PrimitivePaginationNextProps {
9
+ class?: HTMLAttributes['class'];
10
+ }
6
11
 
7
12
  const props = defineProps<PaginationNextProps>();
8
13
 
@@ -10,12 +15,6 @@ const delegated = reactiveOmit(props, 'class');
10
15
  const forwarded = useForwardProps(delegated);
11
16
  </script>
12
17
 
13
- <script lang="ts">
14
- export interface PaginationNextProps extends PrimitivePaginationNextProps {
15
- class?: HTMLAttributes['class'];
16
- }
17
- </script>
18
-
19
18
  <template>
20
19
  <PaginationNext
21
20
  :class="clsx('celeste-pagination-element', 'celeste-pagination-next', props.class)"
@@ -1,12 +1,17 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationPrevProps as PrimitivePaginationPreviousProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
6
  import {
6
7
  PaginationPrev as PaginationPrevious,
7
- type PaginationPrevProps as PrimitivePaginationPreviousProps,
8
+
8
9
  useForwardProps,
9
- } from 'radix-vue';
10
+ } from 'reka-ui';
11
+
12
+ export interface PaginationPreviousProps extends PrimitivePaginationPreviousProps {
13
+ class?: HTMLAttributes['class'];
14
+ }
10
15
 
11
16
  const props = defineProps<PaginationPreviousProps>();
12
17
 
@@ -14,12 +19,6 @@ const delegated = reactiveOmit(props, 'class');
14
19
  const forwarded = useForwardProps(delegated);
15
20
  </script>
16
21
 
17
- <script lang="ts">
18
- export interface PaginationPreviousProps extends PrimitivePaginationPreviousProps {
19
- class?: HTMLAttributes['class'];
20
- }
21
- </script>
22
-
23
22
  <template>
24
23
  <PaginationPrevious
25
24
  :class="clsx('celeste-pagination-element', 'celeste-pagination-previous', props.class)"
@@ -1,8 +1,14 @@
1
1
  <script setup lang="ts">
2
+ import type { PaginationRootEmits, PaginationRootProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { reactiveOmit } from '@vueuse/core';
4
5
  import { clsx } from 'clsx';
5
- import { PaginationRoot, type PaginationRootEmits, type PaginationRootProps, useForwardPropsEmits } from 'radix-vue';
6
+ import { PaginationRoot, useForwardPropsEmits } from 'reka-ui';
7
+
8
+ export interface PaginationProps extends PaginationRootProps {
9
+ class?: HTMLAttributes['class'];
10
+ variant?: 'basic' | 'rounded' | 'group';
11
+ }
6
12
 
7
13
  const props = withDefaults(defineProps<PaginationProps>(), { variant: 'basic' });
8
14
  const emits = defineEmits<PaginationRootEmits>();
@@ -11,13 +17,6 @@ const delegated = reactiveOmit(props, 'class');
11
17
  const forwarded = useForwardPropsEmits(delegated, emits);
12
18
  </script>
13
19
 
14
- <script lang="ts">
15
- export interface PaginationProps extends PaginationRootProps {
16
- class?: HTMLAttributes['class'];
17
- variant: 'basic' | 'rounded' | 'group';
18
- }
19
- </script>
20
-
21
20
  <template>
22
21
  <PaginationRoot
23
22
  v-slot="sprops"
@@ -1,18 +1,33 @@
1
1
  <script setup lang="ts">
2
+ import type { PopoverContentEmits, PopoverContentProps as RekaPopoverContentProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import clsx from 'clsx';
4
5
  import {
5
6
  PopoverArrow,
6
7
  PopoverClose,
7
8
  PopoverContent,
8
- type PopoverContentEmits,
9
+
9
10
  PopoverPortal,
10
- type PopoverContentProps as RadixPopoverContentProps,
11
+
11
12
  useForwardPropsEmits,
12
- } from 'radix-vue';
13
+ } from 'reka-ui';
13
14
  import CompactButton from '@/components/button/compact-button.vue';
14
15
  import { useDelegatedProps } from '@/composables/use-delegated-props';
15
16
 
17
+ export interface PopoverContentProps {
18
+ class?: HTMLAttributes['class'];
19
+ side?: RekaPopoverContentProps['side'];
20
+ sideOffset?: RekaPopoverContentProps['sideOffset'];
21
+ align?: RekaPopoverContentProps['align'];
22
+ alignOffset?: RekaPopoverContentProps['alignOffset'];
23
+ title?: string;
24
+ description?: string;
25
+ showTail?: boolean;
26
+ dismissible?: boolean;
27
+ icon?: string;
28
+ iconSize?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
29
+ }
30
+
16
31
  defineOptions({
17
32
  inheritAttrs: false,
18
33
  });
@@ -35,22 +50,6 @@ const sideOffset = props.showTail ? 0 : props.sideOffset ?? 8;
35
50
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
36
51
  </script>
37
52
 
38
- <script lang="ts">
39
- export interface PopoverContentProps {
40
- class?: HTMLAttributes['class'];
41
- side?: RadixPopoverContentProps['side'];
42
- sideOffset?: RadixPopoverContentProps['sideOffset'];
43
- align?: RadixPopoverContentProps['align'];
44
- alignOffset?: RadixPopoverContentProps['alignOffset'];
45
- title?: string;
46
- description?: string;
47
- showTail?: boolean;
48
- dismissible?: boolean;
49
- icon?: string;
50
- iconSize?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
51
- }
52
- </script>
53
-
54
53
  <template>
55
54
  <PopoverPortal>
56
55
  <PopoverContent
@@ -138,7 +137,7 @@ $icon-size-map: (
138
137
  z-index: 50;
139
138
  min-width: 200px;
140
139
  max-width: 400px;
141
- transform-origin: var(--radix-popover-content-transform-origin);
140
+ transform-origin: var(--reka-popover-content-transform-origin);
142
141
  animation: var(--animation-fast) ease-out forwards;
143
142
  border: 1px solid var(--color-stroke-soft-200);
144
143
  border-radius: var(--radius-16);
@@ -1,5 +1,6 @@
1
1
  <script setup lang="ts">
2
- import { PopoverTrigger, type PopoverTriggerProps } from 'radix-vue';
2
+ import type { PopoverTriggerProps } from 'reka-ui';
3
+ import { PopoverTrigger } from 'reka-ui';
3
4
 
4
5
  const props = defineProps<PopoverTriggerProps>();
5
6
  </script>
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import type { PopoverRootEmits, PopoverRootProps } from 'radix-vue';
3
- import { PopoverRoot, useForwardPropsEmits } from 'radix-vue';
2
+ import type { PopoverRootEmits, PopoverRootProps } from 'reka-ui';
3
+ import { PopoverRoot, useForwardPropsEmits } from 'reka-ui';
4
4
 
5
5
  const props = defineProps<PopoverRootProps>();
6
6
  const emits = defineEmits<PopoverRootEmits>();
@@ -1,7 +1,7 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
2
  import {
3
3
  PopoverClose,
4
- } from 'radix-vue';
4
+ } from 'reka-ui';
5
5
  import TextInput from '@/components/text-input/text-input.vue';
6
6
  import Button from '../../button/button.vue';
7
7
  import PopoverContent from '../popover-content.vue';
@@ -1,11 +1,13 @@
1
1
  <script setup lang="ts">
2
+ import type { ProgressRootProps } from 'reka-ui';
3
+ import type { HTMLAttributes } from 'vue';
2
4
  import clsx from 'clsx';
3
5
  import {
4
6
  ProgressIndicator,
5
7
  ProgressRoot,
6
- type ProgressRootProps,
7
- } from 'radix-vue';
8
- import { computed, type HTMLAttributes } from 'vue';
8
+
9
+ } from 'reka-ui';
10
+ import { computed } from 'vue';
9
11
  import { useDelegatedProps } from '@/composables/use-delegated-props';
10
12
 
11
13
  const props = withDefaults(
@@ -1,11 +1,12 @@
1
1
  <script setup lang="ts">
2
+ import type { ProgressRootProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import clsx from 'clsx';
4
5
  import {
5
6
  ProgressIndicator,
6
7
  ProgressRoot,
7
- type ProgressRootProps,
8
- } from 'radix-vue';
8
+
9
+ } from 'reka-ui';
9
10
  import { computed } from 'vue';
10
11
  import { useDelegatedProps } from '@/composables/use-delegated-props';
11
12
 
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
- import type { LabelProps } from 'radix-vue';
2
+ import type { LabelProps } from 'reka-ui';
3
3
  import type { HTMLAttributes } from 'vue';
4
4
  import clsx from 'clsx';
5
- import { Label, Primitive } from 'radix-vue';
5
+ import { Label, Primitive } from 'reka-ui';
6
6
  import { useDelegatedProps } from '@/composables/use-delegated-props';
7
7
 
8
8
  const props = defineProps<LabelProps & {
@@ -1,7 +1,8 @@
1
1
  <script setup lang="ts">
2
+ import type { RadioGroupItemProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import clsx from 'clsx';
4
- import { RadioGroupIndicator, RadioGroupItem, type RadioGroupItemProps, useForwardPropsEmits } from 'radix-vue';
5
+ import { RadioGroupIndicator, RadioGroupItem, useForwardPropsEmits } from 'reka-ui';
5
6
  import { useDelegatedProps } from '@/composables/use-delegated-props';
6
7
 
7
8
  const props = defineProps<RadioGroupItemProps & { class?: HTMLAttributes['class'] }>();
@@ -1,7 +1,8 @@
1
1
  <script setup lang="ts">
2
+ import type { LabelProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import clsx from 'clsx';
4
- import { Label, type LabelProps, Primitive } from 'radix-vue';
5
+ import { Label, Primitive } from 'reka-ui';
5
6
  import { useDelegatedProps } from '@/composables/use-delegated-props';
6
7
 
7
8
  const props = defineProps<LabelProps & {
@@ -1,7 +1,8 @@
1
1
  <script setup lang="ts">
2
+ import type { RadioGroupRootEmits, RadioGroupRootProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import clsx from 'clsx';
4
- import { RadioGroupRoot, type RadioGroupRootEmits, type RadioGroupRootProps, useForwardPropsEmits } from 'radix-vue';
5
+ import { RadioGroupRoot, useForwardPropsEmits } from 'reka-ui';
5
6
  import { useDelegatedProps } from '@/composables/use-delegated-props';
6
7
 
7
8
  const props = defineProps<RadioGroupRootProps & { class?: HTMLAttributes['class'] }>();
@@ -135,7 +135,7 @@ export function selectedOption(editor: Editor, children: ToolbarChildOption[]):
135
135
  }
136
136
 
137
137
  for (const child of children) {
138
- if (Object.prototype.hasOwnProperty.call(child.active, 'fontSize')) {
138
+ if (typeof child.active === 'object' && Object.hasOwn(child.active, 'fontSize')) {
139
139
  const currentFontSize = editor.getAttributes('textStyle').fontSize || '16px';
140
140
 
141
141
  return currentFontSize;
@@ -109,7 +109,7 @@ function onActionClick(name: string, editor: Editor) {
109
109
  <div class="show-more-wrapper">
110
110
  <Select
111
111
  v-model="defaultValue"
112
- @update:model-value="onActionClick($event, props.editor)"
112
+ @update:model-value="onActionClick($event as string, props.editor)"
113
113
  @update:open="clearSelectedValue"
114
114
  >
115
115
  <SelectTrigger variant="inline">
@@ -216,7 +216,7 @@ onUnmounted(() => {
216
216
  <Label for="open-in-new-tab">
217
217
  Open in new tab
218
218
  </Label>
219
- <Switch id="open-in-new-tab" v-model:checked="openInNewTab" />
219
+ <Switch id="open-in-new-tab" v-model="openInNewTab" />
220
220
  </div>
221
221
  </div>
222
222
  </template>
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import type { PropType } from 'vue';
2
3
  import type { ToolbarItem } from './types';
3
4
  import Link from '@tiptap/extension-link';
4
5
  import TextAlign from '@tiptap/extension-text-align';
@@ -6,7 +7,7 @@ import { TextStyleKit } from '@tiptap/extension-text-style';
6
7
  import { CharacterCount, Placeholder } from '@tiptap/extensions';
7
8
  import StarterKit from '@tiptap/starter-kit';
8
9
  import { Editor, EditorContent } from '@tiptap/vue-3';
9
- import { computed, onBeforeUnmount, onMounted, type PropType, ref, watch } from 'vue';
10
+ import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue';
10
11
  import CompactButton from '@/components/button/compact-button.vue';
11
12
  import SelectContent from '@/components/select/select-content.vue';
12
13
  import SelectIcon from '@/components/select/select-icon.vue';
@@ -170,7 +171,7 @@ onBeforeUnmount(() => {
170
171
  <div class="select-menu-wrapper">
171
172
  <Select
172
173
  :model-value="selectedOption(editor, item.children)"
173
- @update:model-value="onActionClick(editor, item.slug, $event)"
174
+ @update:model-value="onActionClick(editor, item.slug, $event as string)"
174
175
  >
175
176
  <SelectTrigger variant="inline">
176
177
  <SelectValue />
@@ -1,12 +1,13 @@
1
1
  <script setup lang="ts">
2
+ import type { ScrollAreaRootProps } from 'reka-ui';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import clsx from 'clsx';
4
5
  import {
5
6
  ScrollAreaCorner,
6
7
  ScrollAreaRoot,
7
- type ScrollAreaRootProps,
8
+
8
9
  ScrollAreaViewport,
9
- } from 'radix-vue';
10
+ } from 'reka-ui';
10
11
  import { useDelegatedProps } from '@/composables';
11
12
  import ScrollBar from './scroll-bar.vue';
12
13