@boxcustodia/library 2.0.0-alpha.10 → 2.0.0-alpha.12

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 (352) hide show
  1. package/dist/index.cjs.js +70 -70
  2. package/dist/index.css +2 -0
  3. package/dist/index.d.ts +420 -272
  4. package/dist/index.es.js +34448 -27816
  5. package/dist/theme.css +1 -1
  6. package/package.json +11 -6
  7. package/src/__doc__/Changelog.mdx +6 -0
  8. package/src/__doc__/Components.mdx +73 -0
  9. package/src/__doc__/Examples.tsx +69 -0
  10. package/src/__doc__/Icons.mdx +41 -0
  11. package/src/__doc__/Intro.mdx +138 -0
  12. package/src/__doc__/MCP.mdx +71 -0
  13. package/src/__doc__/Migration.mdx +475 -0
  14. package/src/__doc__/Theme.mdx +132 -0
  15. package/src/__doc__/Types.mdx +252 -0
  16. package/src/components/alert/alert.stories.tsx +142 -0
  17. package/src/components/alert/alert.tsx +109 -0
  18. package/src/components/alert/index.ts +7 -0
  19. package/src/components/alert-dialog/alert-dialog.stories.tsx +173 -0
  20. package/src/components/alert-dialog/alert-dialog.test.tsx +49 -0
  21. package/src/components/alert-dialog/alert-dialog.tsx +265 -0
  22. package/src/components/alert-dialog/index.ts +1 -0
  23. package/src/components/auto-complete/auto-complete-primitives.tsx +155 -0
  24. package/src/components/auto-complete/auto-complete.stories.tsx +241 -0
  25. package/src/components/auto-complete/auto-complete.tsx +82 -0
  26. package/src/components/auto-complete/index.ts +2 -0
  27. package/src/components/avatar/avatar.stories.tsx +84 -0
  28. package/src/components/avatar/avatar.test.tsx +61 -0
  29. package/src/components/avatar/avatar.tsx +104 -0
  30. package/src/components/avatar/index.ts +1 -0
  31. package/src/components/background-image/background-image.stories.tsx +21 -0
  32. package/src/components/background-image/background-image.test.tsx +29 -0
  33. package/src/components/background-image/background-image.tsx +23 -0
  34. package/src/components/background-image/index.ts +1 -0
  35. package/src/components/button/button.stories.tsx +396 -0
  36. package/src/components/button/button.test.tsx +58 -0
  37. package/src/components/button/button.tsx +31 -0
  38. package/src/components/button/button.variants.ts +44 -0
  39. package/src/components/button/components/base-button.tsx +86 -0
  40. package/src/components/button/components/loader-overlay.tsx +21 -0
  41. package/src/components/button/components/loading-icon.tsx +47 -0
  42. package/src/components/button/index.ts +3 -0
  43. package/src/components/calendar/calendar.model.ts +86 -0
  44. package/src/components/calendar/calendar.stories.tsx +155 -0
  45. package/src/components/calendar/calendar.test.tsx +12 -0
  46. package/src/components/calendar/calendar.tsx +185 -0
  47. package/src/components/calendar/components/calendar-navigation.tsx +141 -0
  48. package/src/components/calendar/components/day.tsx +61 -0
  49. package/src/components/calendar/components/decade-view.tsx +45 -0
  50. package/src/components/calendar/components/index.ts +6 -0
  51. package/src/components/calendar/components/month-view.tsx +58 -0
  52. package/src/components/calendar/components/week-days.tsx +27 -0
  53. package/src/components/calendar/components/year-view.tsx +29 -0
  54. package/src/components/calendar/hooks/index.ts +4 -0
  55. package/src/components/calendar/hooks/use-calendar-navigation.ts +79 -0
  56. package/src/components/calendar/hooks/use-calendar.ts +90 -0
  57. package/src/components/calendar/hooks/use-multiple-calendar.ts +34 -0
  58. package/src/components/calendar/hooks/use-range-calendar.ts +91 -0
  59. package/src/components/calendar/hooks/use-single-calendar.ts +18 -0
  60. package/src/components/calendar/index.ts +1 -0
  61. package/src/components/calendar/utils/typeguards.ts +7 -0
  62. package/src/components/card/card.stories.tsx +116 -0
  63. package/src/components/card/card.tsx +74 -0
  64. package/src/components/card/index.ts +1 -0
  65. package/src/components/center/center.stories.tsx +81 -0
  66. package/src/components/center/center.tsx +24 -0
  67. package/src/components/center/index.ts +1 -0
  68. package/src/components/checkbox/checkbox.stories.tsx +307 -0
  69. package/src/components/checkbox/checkbox.tsx +273 -0
  70. package/src/components/checkbox/index.ts +1 -0
  71. package/src/components/checkbox-group/checkbox-group.stories.tsx +104 -0
  72. package/src/components/checkbox-group/checkbox-group.tsx +16 -0
  73. package/src/components/checkbox-group/index.ts +1 -0
  74. package/src/components/combobox/combobox.stories.tsx +339 -0
  75. package/src/components/combobox/combobox.tsx +892 -0
  76. package/src/components/combobox/index.ts +1 -0
  77. package/src/components/date-picker/date-input.stories.tsx +158 -0
  78. package/src/components/date-picker/date-input.tsx +163 -0
  79. package/src/components/date-picker/date-picker.model.ts +90 -0
  80. package/src/components/date-picker/date-picker.stories.tsx +200 -0
  81. package/src/components/date-picker/date-picker.test.tsx +23 -0
  82. package/src/components/date-picker/date-picker.tsx +298 -0
  83. package/src/components/date-picker/date-picker.utils.ts +260 -0
  84. package/src/components/date-picker/index.ts +3 -0
  85. package/src/components/date-picker/use-date-input-popover.ts +48 -0
  86. package/src/components/date-picker/use-date-input.ts +125 -0
  87. package/src/components/dialog/dialog.stories.tsx +171 -0
  88. package/src/components/dialog/dialog.test.tsx +68 -0
  89. package/src/components/dialog/dialog.tsx +277 -0
  90. package/src/components/dialog/index.ts +1 -0
  91. package/src/components/divider/divider.stories.tsx +70 -0
  92. package/src/components/divider/divider.test.tsx +22 -0
  93. package/src/components/divider/divider.tsx +23 -0
  94. package/src/components/divider/index.ts +1 -0
  95. package/src/components/dropzone/dropzone.stories.tsx +210 -0
  96. package/src/components/dropzone/dropzone.tsx +154 -0
  97. package/src/components/dropzone/file-types.ts +64 -0
  98. package/src/components/dropzone/index.ts +3 -0
  99. package/src/components/dropzone/upload-primitives.tsx +310 -0
  100. package/src/components/dropzone/use-dropzone.ts +122 -0
  101. package/src/components/empty-state/empty-state.stories.tsx +56 -0
  102. package/src/components/empty-state/empty-state.tsx +39 -0
  103. package/src/components/empty-state/index.ts +1 -0
  104. package/src/components/field/field.stories.tsx +223 -0
  105. package/src/components/field/field.tsx +229 -0
  106. package/src/components/field/index.ts +1 -0
  107. package/src/components/form/form.stories.tsx +594 -0
  108. package/src/components/form/form.tsx +30 -0
  109. package/src/components/form/index.ts +1 -0
  110. package/src/components/heading/heading.stories.tsx +74 -0
  111. package/src/components/heading/heading.tsx +28 -0
  112. package/src/components/heading/heading.variants.ts +27 -0
  113. package/src/components/heading/index.ts +1 -0
  114. package/src/components/index.ts +46 -0
  115. package/src/components/input/index.ts +1 -0
  116. package/src/components/input/input.stories.tsx +104 -0
  117. package/src/components/input/input.tsx +75 -0
  118. package/src/components/kbd/index.ts +1 -0
  119. package/src/components/kbd/kbd.stories.tsx +40 -0
  120. package/src/components/kbd/kbd.tsx +31 -0
  121. package/src/components/kbd/kbd.variants.ts +26 -0
  122. package/src/components/label/index.ts +1 -0
  123. package/src/components/label/label.stories.tsx +68 -0
  124. package/src/components/label/label.test.tsx +61 -0
  125. package/src/components/label/label.tsx +62 -0
  126. package/src/components/loader/index.ts +1 -0
  127. package/src/components/loader/loader.stories.tsx +60 -0
  128. package/src/components/loader/loader.test.tsx +26 -0
  129. package/src/components/loader/loader.tsx +60 -0
  130. package/src/components/menu/index.ts +2 -0
  131. package/src/components/menu/menu-primitives.tsx +248 -0
  132. package/src/components/menu/menu.stories.tsx +203 -0
  133. package/src/components/menu/menu.tsx +100 -0
  134. package/src/components/menu/util/render-menu-item.tsx +54 -0
  135. package/src/components/multi-select/hooks/use-multi-select.ts +66 -0
  136. package/src/components/multi-select/index.ts +1 -0
  137. package/src/components/multi-select/multi-select.stories.tsx +294 -0
  138. package/src/components/multi-select/multi-select.tsx +300 -0
  139. package/src/components/multi-select/multi-select.variants.ts +22 -0
  140. package/src/components/number-input/index.ts +1 -0
  141. package/src/components/number-input/number-input.stories.tsx +209 -0
  142. package/src/components/number-input/number-input.test.tsx +87 -0
  143. package/src/components/number-input/number-input.tsx +230 -0
  144. package/src/components/pagination/components/pagination-option.tsx +27 -0
  145. package/src/components/pagination/index.ts +1 -0
  146. package/src/components/pagination/pagination.stories.tsx +80 -0
  147. package/src/components/pagination/pagination.test.tsx +76 -0
  148. package/src/components/pagination/pagination.tsx +102 -0
  149. package/src/components/password/index.ts +1 -0
  150. package/src/components/password/password.stories.tsx +104 -0
  151. package/src/components/password/password.tsx +71 -0
  152. package/src/components/popover/index.ts +1 -0
  153. package/src/components/popover/popover.stories.tsx +213 -0
  154. package/src/components/popover/popover.tsx +203 -0
  155. package/src/components/progress/index.ts +1 -0
  156. package/src/components/progress/progress.stories.tsx +124 -0
  157. package/src/components/progress/progress.test.tsx +25 -0
  158. package/src/components/progress/progress.tsx +124 -0
  159. package/src/components/scroll-area/index.ts +1 -0
  160. package/src/components/scroll-area/scroll-area.stories.tsx +166 -0
  161. package/src/components/scroll-area/scroll-area.tsx +64 -0
  162. package/src/components/select/index.ts +1 -0
  163. package/src/components/select/select.stories.tsx +253 -0
  164. package/src/components/select/select.tsx +430 -0
  165. package/src/components/show/index.ts +1 -0
  166. package/src/components/show/show.stories.tsx +197 -0
  167. package/src/components/show/show.test.tsx +41 -0
  168. package/src/components/show/show.tsx +16 -0
  169. package/src/components/skeleton/index.ts +1 -0
  170. package/src/components/skeleton/skeleton.stories.tsx +36 -0
  171. package/src/components/skeleton/skeleton.test.tsx +14 -0
  172. package/src/components/skeleton/skeleton.tsx +15 -0
  173. package/src/components/stack/index.ts +1 -0
  174. package/src/components/stack/stack.stories.tsx +194 -0
  175. package/src/components/stack/stack.tsx +52 -0
  176. package/src/components/stepper/Stepper.tsx +190 -0
  177. package/src/components/stepper/context/stepper-context.tsx +11 -0
  178. package/src/components/stepper/index.ts +1 -0
  179. package/src/components/stepper/stepper.stories.tsx +130 -0
  180. package/src/components/stepper/stepper.test.tsx +91 -0
  181. package/src/components/switch/index.ts +1 -0
  182. package/src/components/switch/switch.stories.tsx +122 -0
  183. package/src/components/switch/switch.test.tsx +30 -0
  184. package/src/components/switch/switch.tsx +86 -0
  185. package/src/components/table/index.ts +3 -0
  186. package/src/components/table/table-primitives.tsx +122 -0
  187. package/src/components/table/table.model.ts +20 -0
  188. package/src/components/table/table.stories.tsx +169 -0
  189. package/src/components/table/table.test.tsx +91 -0
  190. package/src/components/table/table.tsx +109 -0
  191. package/src/components/table-pagination/index.ts +2 -0
  192. package/src/components/table-pagination/table-pagination.model.ts +2 -0
  193. package/src/components/table-pagination/table-pagination.stories.tsx +23 -0
  194. package/src/components/table-pagination/table-pagination.test.tsx +32 -0
  195. package/src/components/table-pagination/table-pagination.tsx +108 -0
  196. package/src/components/tabs/context/tabs-context.tsx +14 -0
  197. package/src/components/tabs/index.ts +1 -0
  198. package/src/components/tabs/tabs.stories.tsx +182 -0
  199. package/src/components/tabs/tabs.test.tsx +61 -0
  200. package/src/components/tabs/tabs.tsx +175 -0
  201. package/src/components/tag/index.ts +2 -0
  202. package/src/components/tag/tag.stories.tsx +170 -0
  203. package/src/components/tag/tag.test.tsx +18 -0
  204. package/src/components/tag/tag.tsx +99 -0
  205. package/src/components/tag/tag.variants.ts +31 -0
  206. package/src/components/textarea/index.ts +1 -0
  207. package/src/components/textarea/textarea.stories.tsx +73 -0
  208. package/src/components/textarea/textarea.tsx +105 -0
  209. package/src/components/timeline/index.ts +1 -0
  210. package/src/components/timeline/timeline-status.ts +5 -0
  211. package/src/components/timeline/timeline.stories.tsx +84 -0
  212. package/src/components/timeline/timeline.tsx +147 -0
  213. package/src/components/toast/index.ts +1 -0
  214. package/src/components/toast/toast.stories.tsx +392 -0
  215. package/src/components/toast/toast.test.tsx +50 -0
  216. package/src/components/toast/toast.tsx +411 -0
  217. package/src/components/tooltip/index.ts +1 -0
  218. package/src/components/tooltip/tooltip.stories.tsx +226 -0
  219. package/src/components/tooltip/tooltip.test.tsx +46 -0
  220. package/src/components/tooltip/tooltip.tsx +171 -0
  221. package/src/components/tree/hooks/use-controllable-tree-state.ts +80 -0
  222. package/src/components/tree/index.ts +2 -0
  223. package/src/components/tree/tree-primitives.tsx +126 -0
  224. package/src/components/tree/tree.stories.tsx +468 -0
  225. package/src/components/tree/tree.tsx +42 -0
  226. package/src/hooks/index.ts +26 -0
  227. package/src/hooks/useArray/__doc__/useArray.stories.tsx +100 -0
  228. package/src/hooks/useArray/__test__/useArray.test.tsx +88 -0
  229. package/src/hooks/useArray/index.ts +1 -0
  230. package/src/hooks/useArray/useArray.ts +76 -0
  231. package/src/hooks/useAsync/__doc__/useAsync.stories.tsx +149 -0
  232. package/src/hooks/useAsync/__test__/useAsync.test.tsx +68 -0
  233. package/src/hooks/useAsync/index.ts +1 -0
  234. package/src/hooks/useAsync/useAsync.ts +58 -0
  235. package/src/hooks/useClickOutside/__doc__/useClickOutside.stories.tsx +40 -0
  236. package/src/hooks/useClickOutside/__test__/useClickOutside.test.tsx +33 -0
  237. package/src/hooks/useClickOutside/index.ts +1 -0
  238. package/src/hooks/useClickOutside/useClickOutside.ts +26 -0
  239. package/src/hooks/useClipboard/__doc__/useClipboard.stories.tsx +45 -0
  240. package/src/hooks/useClipboard/__test__/useClipboard.test.tsx +19 -0
  241. package/src/hooks/useClipboard/index.ts +1 -0
  242. package/src/hooks/useClipboard/useClipboard.tsx +28 -0
  243. package/src/hooks/useDebounceCallback/__doc__/useDebouncedCallback.stories.tsx +84 -0
  244. package/src/hooks/useDebounceCallback/index.ts +1 -0
  245. package/src/hooks/useDebounceCallback/useDebouncedCallback.ts +23 -0
  246. package/src/hooks/useDebounceValue/__doc__/useDebouncedValue.stories.tsx +75 -0
  247. package/src/hooks/useDebounceValue/index.ts +1 -0
  248. package/src/hooks/useDebounceValue/useDebouncedValue.ts +17 -0
  249. package/src/hooks/useDisclosure/__doc__/useDisclosure.stories.tsx +39 -0
  250. package/src/hooks/useDisclosure/__test__/useDisclosure.test.ts +43 -0
  251. package/src/hooks/useDisclosure/index.ts +1 -0
  252. package/src/hooks/useDisclosure/useDisclosure.ts +37 -0
  253. package/src/hooks/useDocumentTitle/__doc__/useDocumentTitle.stories.tsx +26 -0
  254. package/src/hooks/useDocumentTitle/index.ts +1 -0
  255. package/src/hooks/useDocumentTitle/useDocumentTitle.tsx +11 -0
  256. package/src/hooks/useEventListener/__doc__/useEventListener.stories.tsx +28 -0
  257. package/src/hooks/useEventListener/__test__/useEventListener.test.tsx +26 -0
  258. package/src/hooks/useEventListener/index.ts +1 -0
  259. package/src/hooks/useEventListener/useEventListener.ts +25 -0
  260. package/src/hooks/useFocusTrap/__doc__/useFocusTrap.stories.tsx +37 -0
  261. package/src/hooks/useFocusTrap/index.ts +1 -0
  262. package/src/hooks/useFocusTrap/scopeTab.ts +38 -0
  263. package/src/hooks/useFocusTrap/tabbable.ts +70 -0
  264. package/src/hooks/useFocusTrap/useFocusTrap.ts +78 -0
  265. package/src/hooks/useHotkey/__docs__/useHotkey.stories.tsx +116 -0
  266. package/src/hooks/useHotkey/__test__/useHotkey.test.tsx +105 -0
  267. package/src/hooks/useHotkey/__utils__/create-hotkey-listener.ts +25 -0
  268. package/src/hooks/useHotkey/__utils__/index.ts +3 -0
  269. package/src/hooks/useHotkey/__utils__/is-input-field.ts +14 -0
  270. package/src/hooks/useHotkey/__utils__/match-key-modifiers.ts +25 -0
  271. package/src/hooks/useHotkey/index.ts +1 -0
  272. package/src/hooks/useHotkey/useHotkey.ts +34 -0
  273. package/src/hooks/useHover/__doc__/useHover.stories.tsx +41 -0
  274. package/src/hooks/useHover/__test__/useHover.test.tsx +45 -0
  275. package/src/hooks/useHover/index.ts +1 -0
  276. package/src/hooks/useHover/useHover.tsx +40 -0
  277. package/src/hooks/useIsVisible/__doc__/useIsVisible.stories.tsx +60 -0
  278. package/src/hooks/useIsVisible/index.ts +1 -0
  279. package/src/hooks/useIsVisible/useIsVisible.tsx +50 -0
  280. package/src/hooks/useLocalStorage/__doc__/useLocalStorage.stories.tsx +86 -0
  281. package/src/hooks/useLocalStorage/__test__/useLocalStorage.test.ts +85 -0
  282. package/src/hooks/useLocalStorage/index.ts +1 -0
  283. package/src/hooks/useLocalStorage/useLocalStorage.ts +57 -0
  284. package/src/hooks/useMediaQuery/__doc__/useMediaQuery.stories.tsx +39 -0
  285. package/src/hooks/useMediaQuery/index.ts +1 -0
  286. package/src/hooks/useMediaQuery/useMediaQuery.ts +22 -0
  287. package/src/hooks/useMemoizedFn/index.ts +1 -0
  288. package/src/hooks/useMemoizedFn/useMemoizedFn.ts +32 -0
  289. package/src/hooks/useMutation/__doc__/useMutation.stories.tsx +111 -0
  290. package/src/hooks/useMutation/__test__/useMutation.test.tsx +83 -0
  291. package/src/hooks/useMutation/index.ts +1 -0
  292. package/src/hooks/useMutation/useMutation.tsx +60 -0
  293. package/src/hooks/useObject/__doc__/useObject.stories.tsx +119 -0
  294. package/src/hooks/useObject/__test__/useObject.test.tsx +87 -0
  295. package/src/hooks/useObject/index.ts +1 -0
  296. package/src/hooks/useObject/useObject.tsx +48 -0
  297. package/src/hooks/usePagination/__doc__/usePagination.stories.tsx +72 -0
  298. package/src/hooks/usePagination/__test__/usePagination.test.tsx +98 -0
  299. package/src/hooks/usePagination/index.ts +2 -0
  300. package/src/hooks/usePagination/usePagination.tsx +74 -0
  301. package/src/hooks/usePortal/__doc__/usePortal.stories.tsx +19 -0
  302. package/src/hooks/usePortal/__test__/usePortal.test.tsx +20 -0
  303. package/src/hooks/usePortal/index.ts +1 -0
  304. package/src/hooks/usePortal/usePortal.ts +40 -0
  305. package/src/hooks/usePreventCloseWindow/__doc__/usePreventCloseWindow.stories.tsx +32 -0
  306. package/src/hooks/usePreventCloseWindow/index.ts +1 -0
  307. package/src/hooks/usePreventCloseWindow/usePreventCloseWindow.ts +33 -0
  308. package/src/hooks/useRangePagination/__test__/useRangePagination.test.tsx +63 -0
  309. package/src/hooks/useRangePagination/index.ts +2 -0
  310. package/src/hooks/useRangePagination/useRangePagination.tsx +72 -0
  311. package/src/hooks/useSelection/__doc__/useSelection.stories.tsx +140 -0
  312. package/src/hooks/useSelection/__test__/useSelection.test.tsx +57 -0
  313. package/src/hooks/useSelection/index.ts +1 -0
  314. package/src/hooks/useSelection/useSelection.ts +121 -0
  315. package/src/hooks/useStep/__doc__/useStep.stories.tsx +98 -0
  316. package/src/hooks/useStep/__test__/useStep.test.ts +51 -0
  317. package/src/hooks/useStep/index.ts +1 -0
  318. package/src/hooks/useStep/useStep.ts +57 -0
  319. package/src/hooks/useToggle/__doc__/useToggle.stories.tsx +25 -0
  320. package/src/hooks/useToggle/__test__/useToggle.test.tsx +43 -0
  321. package/src/hooks/useToggle/index.ts +1 -0
  322. package/src/hooks/useToggle/useToggle.ts +16 -0
  323. package/src/index.ts +6 -0
  324. package/src/lib/cn.ts +8 -0
  325. package/src/lib/index.ts +1 -0
  326. package/src/models/Generic.model.ts +67 -0
  327. package/src/models/index.ts +1 -0
  328. package/src/providers/index.ts +2 -0
  329. package/src/providers/library-provider.tsx +44 -0
  330. package/src/providers/theme/ThemeProvider.tsx +25 -0
  331. package/src/providers/theme/index.ts +3 -0
  332. package/src/providers/theme/types.ts +11 -0
  333. package/src/providers/theme/useThemeProps.ts +25 -0
  334. package/src/stores/theme.store.ts +31 -0
  335. package/src/styles/components.css +4 -0
  336. package/src/styles/index.css +2 -0
  337. package/src/styles/library.css +2 -0
  338. package/src/styles/theme.css +232 -0
  339. package/src/utils/dates/parseDateRange.utility.ts +39 -0
  340. package/src/utils/form.tsx +91 -0
  341. package/src/utils/functions/createSafeContext.ts +17 -0
  342. package/src/utils/functions/ensureReactElement.tsx +30 -0
  343. package/src/utils/functions/getFormData.ts +19 -0
  344. package/src/utils/functions/index.ts +4 -0
  345. package/src/utils/functions/mergeRefs.ts +18 -0
  346. package/src/utils/index.ts +3 -0
  347. package/src/utils/strings/extractInitials.utility.ts +10 -0
  348. package/src/utils/strings/index.ts +1 -0
  349. package/src/utils/tests/click.ts +3 -0
  350. package/src/utils/tests/index.ts +2 -0
  351. package/src/utils/tests/keyboard.ts +21 -0
  352. package/src/utils/tests/type.ts +6 -0
package/dist/index.d.ts CHANGED
@@ -8,10 +8,12 @@ import { ClassNameValue } from 'tailwind-merge';
8
8
  import { ClassProp } from 'class-variance-authority/types';
9
9
  import { ClassValue } from 'clsx';
10
10
  import { Collection } from 'react-aria-components';
11
+ import { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';
11
12
  import { Command } from 'cmdk';
12
13
  import { ComponentProps } from 'react';
13
14
  import { ComponentPropsWithoutRef } from 'react';
14
15
  import { CSSProperties } from 'react';
16
+ import { DayPicker } from 'react-day-picker';
15
17
  import { default as default_2 } from 'react';
16
18
  import { DependencyList } from 'react';
17
19
  import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
@@ -30,7 +32,8 @@ import { ListIterateeCustom } from 'lodash';
30
32
  import { LucideIcon } from 'lucide-react';
31
33
  import { LucideProps } from 'lucide-react';
32
34
  import { MutableRefObject } from 'react';
33
- import * as PopoverPrimitive from '@radix-ui/react-popover';
35
+ import { NumberField as NumberInputPrimitive } from '@base-ui/react/number-field';
36
+ import { Popover as PopoverPrimitive } from '@base-ui/react/popover';
34
37
  import { Presence } from '@radix-ui/react-presence';
35
38
  import { Progress as Progress_2 } from '@base-ui/react/progress';
36
39
  import * as React_2 from 'react';
@@ -38,7 +41,8 @@ import { ReactElement } from 'react';
38
41
  import { ReactNode } from 'react';
39
42
  import { ReactPortal } from 'react';
40
43
  import { RefObject } from 'react';
41
- import * as SelectPrimitive from '@radix-ui/react-select';
44
+ import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
45
+ import { Select as SelectPrimitive } from '@base-ui/react/select';
42
46
  import { SetStateAction } from 'react';
43
47
  import { Slot } from '@radix-ui/react-slot';
44
48
  import { Switch as Switch_2 } from '@base-ui/react/switch';
@@ -225,67 +229,13 @@ export declare const Button: (props: Props_3) => JSX.Element;
225
229
 
226
230
  declare type ButtonProps = ComponentProps<typeof Button>;
227
231
 
228
- declare type ButtonProps_2 = ComponentProps<typeof Button>;
229
-
230
232
  export declare const buttonVariants: (props?: ({
231
233
  variant?: "default" | "link" | "error" | "success" | "outline" | "secondary" | "ghost" | null | undefined;
232
234
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
233
235
  shape?: "rounded" | "circle" | "square" | null | undefined;
234
236
  } & ClassProp) | undefined) => string;
235
237
 
236
- export declare const Calendar: <T extends Mode>(props: CalendarProps<T>) => JSX.Element;
237
-
238
- export declare type CalendarBaseProps<T extends Mode> = {
239
- disabled?: (date: Date) => boolean;
240
- mode: T;
241
- };
242
-
243
- export declare type CalendarModeProps<T extends Mode> = CalendarBaseProps<T> & {
244
- single: SingleDateValue;
245
- range: RangeDateValue;
246
- multiple: MultipleDateValue;
247
- }[T];
248
-
249
- declare interface CalendarNavigationProps {
250
- view: CalendarView;
251
- setView: (view: CalendarView) => void;
252
- value: Date;
253
- previousMonth: () => void;
254
- nextMonth: () => void;
255
- previousYear: () => void;
256
- nextYear: () => void;
257
- previousDecade: () => void;
258
- nextDecade: () => void;
259
- goBackProps?: Omit<ButtonProps, "onClick">;
260
- goNextProps?: Omit<ButtonProps, "onClick">;
261
- changeViewProps?: Omit<HTMLProps<HTMLButtonElement>, "onClick">;
262
- }
263
-
264
- declare type CalendarProps<T extends Mode> = CalendarModeProps<T> & NavigationProps & {
265
- initialView?: CalendarView;
266
- view?: CalendarView;
267
- onChangeView?: (view: CalendarView, navigationDate: Date) => void;
268
- initialDate?: Date;
269
- monthViewProps?: Omit<MonthViewProps, "navigationDate">;
270
- className?: ClassName;
271
- };
272
-
273
- declare type CalendarProps_2 = ComponentProps<typeof Calendar<"single">>;
274
-
275
- export declare type CalendarState = {
276
- defaultStartDate: Date;
277
- mode: Mode;
278
- isSingleMode: boolean;
279
- isRangeMode: boolean;
280
- selected: DateMatcher;
281
- selectDate: (date: Date) => void;
282
- isSelected: (day: Date) => boolean;
283
- isInRange: (day: Date) => boolean;
284
- isFirstDayFromRange: (day: Date) => boolean;
285
- isLastDayFromRange: (day: Date) => boolean;
286
- };
287
-
288
- export declare type CalendarView = "month" | "year" | "decade";
238
+ export declare function Calendar({ className, classNames, showOutsideDays, components: userComponents, mode, captionLayout, startMonth, endMonth, ...props }: React_2.ComponentProps<typeof DayPicker>): React_2.ReactElement;
289
239
 
290
240
  export declare const Card: ({ className, ...props }: default_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
291
241
 
@@ -338,7 +288,7 @@ export declare interface CheckboxItemProps extends Omit<CheckboxPrimitive.Root.P
338
288
  label: ReactNode;
339
289
  }
340
290
 
341
- declare function CheckboxLegend({ children, className }: CheckboxLegendProps): React_2.ReactElement;
291
+ declare function CheckboxLegend({ children, className, }: CheckboxLegendProps): React_2.ReactElement;
342
292
 
343
293
  export declare interface CheckboxLegendProps {
344
294
  children: ReactNode;
@@ -398,7 +348,131 @@ export declare type ColumnDef<T> = {
398
348
  width?: string | number;
399
349
  };
400
350
 
401
- export declare function Combobox<TItem extends Record<string, any>>({ items, valueKey, labelKey, placeholder, searchPlaceholder, emptyMessage, searchProps, className, triggerProps, itemProps, itemClassName, contentProps, contentClassName, value: prop, onChange, defaultValue: defaultProp, renderOption, commandProps, ...props }: Props_5<TItem>): JSX.Element;
351
+ /**
352
+ * Composite combobox for single and multiple selection.
353
+ *
354
+ * Items shaped as `{ label, value }` or plain strings/numbers work with no
355
+ * extra props. For other shapes, provide `getLabel` and/or `getValue`.
356
+ *
357
+ * In multiple mode, chips are fit dynamically based on the container width —
358
+ * overflowing items show as "+N más". The popup anchors to the chips container automatically.
359
+ *
360
+ * `renderItem` customizes the content **inside** each `ComboboxItem` (the
361
+ * checkmark indicator is always rendered by the item wrapper).
362
+ *
363
+ * Use `ComboboxRoot` + primitives directly when you need full structural
364
+ * control beyond what escape-hatch props offer.
365
+ */
366
+ export declare function Combobox<TItem = unknown>(allProps: ComboboxProps<TItem>): React_2.ReactElement;
367
+
368
+ declare type ComboboxBaseProps<TItem = unknown> = Omit<ComboboxRootPropsAlias<TItem, boolean>, "items" | "itemToStringLabel" | "itemToStringValue" | "children" | "multiple" | "onChange" | "value" | "defaultValue"> & {
369
+ items: readonly TItem[];
370
+ getLabel?: (item: TItem) => string;
371
+ getValue?: (item: TItem) => string;
372
+ renderItem?: (item: TItem) => React_2.ReactNode;
373
+ placeholder?: string;
374
+ emptyText?: string;
375
+ inputProps?: React_2.ComponentProps<typeof ComboboxInput>;
376
+ chipsProps?: React_2.ComponentProps<typeof ComboboxChips>;
377
+ chipsInputProps?: React_2.ComponentProps<typeof ComboboxChipsInput>;
378
+ popupProps?: React_2.ComponentProps<typeof ComboboxPopup>;
379
+ itemProps?: ComboboxPrimitive.Item.Props;
380
+ listProps?: Omit<ComboboxPrimitive.List.Props, "children">;
381
+ showClear?: boolean;
382
+ };
383
+
384
+ export declare function ComboboxChip({ children, removeProps, ...props }: ComboboxPrimitive.Chip.Props & {
385
+ removeProps?: ComboboxPrimitive.ChipRemove.Props;
386
+ }): React_2.ReactElement;
387
+
388
+ export declare function ComboboxChipRemove(props: ComboboxPrimitive.ChipRemove.Props): React_2.ReactElement;
389
+
390
+ export declare function ComboboxChips({ className, children, startAddon, ...props }: ComboboxPrimitive.Chips.Props & {
391
+ startAddon?: React_2.ReactNode;
392
+ }): React_2.ReactElement;
393
+
394
+ export declare function ComboboxChipsInput({ className, ...props }: Omit<ComboboxPrimitive.Input.Props, "size"> & {
395
+ ref?: React_2.Ref<HTMLInputElement>;
396
+ }): React_2.ReactElement;
397
+
398
+ export declare function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props): React_2.ReactElement;
399
+
400
+ export declare function ComboboxCollection(props: ComboboxPrimitive.Collection.Props): React_2.ReactElement;
401
+
402
+ export declare const ComboboxContext: React_2.Context<{
403
+ chipsRef: React_2.RefObject<Element | null> | null;
404
+ multiple: boolean;
405
+ }>;
406
+
407
+ export declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): React_2.ReactElement;
408
+
409
+ export declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): React_2.ReactElement;
410
+
411
+ export declare function ComboboxGroupLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): React_2.ReactElement;
412
+
413
+ export declare function ComboboxInput({ className, showTrigger, showClear, startAddon, triggerProps, clearProps, ...props }: Omit<ComboboxPrimitive.Input.Props, "size"> & {
414
+ showTrigger?: boolean;
415
+ showClear?: boolean;
416
+ startAddon?: React_2.ReactNode;
417
+ ref?: React_2.Ref<HTMLInputElement>;
418
+ triggerProps?: ComboboxPrimitive.Trigger.Props;
419
+ clearProps?: ComboboxPrimitive.Clear.Props;
420
+ }): React_2.ReactElement;
421
+
422
+ export declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props): React_2.ReactElement;
423
+
424
+ export declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): React_2.ReactElement;
425
+
426
+ export declare function ComboboxPopup({ className, children, side, sideOffset, alignOffset, align, anchor: anchorProp, portalProps, ...props }: ComboboxPrimitive.Popup.Props & {
427
+ align?: ComboboxPrimitive.Positioner.Props["align"];
428
+ sideOffset?: ComboboxPrimitive.Positioner.Props["sideOffset"];
429
+ alignOffset?: ComboboxPrimitive.Positioner.Props["alignOffset"];
430
+ side?: ComboboxPrimitive.Positioner.Props["side"];
431
+ anchor?: ComboboxPrimitive.Positioner.Props["anchor"];
432
+ portalProps?: ComboboxPrimitive.Portal.Props;
433
+ }): React_2.ReactElement;
434
+
435
+ export { ComboboxPrimitive }
436
+
437
+ export declare type ComboboxProps<TItem = unknown> = (ComboboxBaseProps<TItem> & {
438
+ multiple?: false;
439
+ value?: TItem | null;
440
+ defaultValue?: TItem | null;
441
+ onChange?: (value: TItem | null) => void;
442
+ }) | (ComboboxBaseProps<TItem> & {
443
+ multiple: true;
444
+ value?: TItem[];
445
+ defaultValue?: TItem[];
446
+ onChange?: (value: TItem[]) => void;
447
+ });
448
+
449
+ export declare function ComboboxRoot<Value, Multiple extends boolean | undefined = false>({ onChange, ...props }: Omit<ComboboxPrimitive.Root.Props<Value, Multiple>, "onValueChange"> & {
450
+ onChange?: ComboboxPrimitive.Root.Props<Value, Multiple>["onValueChange"];
451
+ }): React_2.ReactElement;
452
+
453
+ declare type ComboboxRootPropsAlias<V, M extends boolean | undefined = false> = Omit<ComboboxPrimitive.Root.Props<V, M>, "onValueChange"> & {
454
+ onChange?: ComboboxPrimitive.Root.Props<V, M>["onValueChange"];
455
+ };
456
+
457
+ export declare function ComboboxRow({ className, ...props }: ComboboxPrimitive.Row.Props): React_2.ReactElement;
458
+
459
+ export declare function ComboboxSearchInput({ className, ...props }: Omit<ComboboxPrimitive.Input.Props, "size"> & {
460
+ ref?: React_2.Ref<HTMLInputElement>;
461
+ }): React_2.ReactElement;
462
+
463
+ export declare function ComboboxSelectTrigger({ className, placeholder, children, showClear, clearProps, ...props }: ComboboxPrimitive.Trigger.Props & {
464
+ placeholder?: React_2.ReactNode;
465
+ showClear?: boolean;
466
+ clearProps?: ComboboxPrimitive.Clear.Props;
467
+ }): React_2.ReactElement;
468
+
469
+ export declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): React_2.ReactElement;
470
+
471
+ export declare function ComboboxStatus({ className, ...props }: ComboboxPrimitive.Status.Props): React_2.ReactElement;
472
+
473
+ export declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props): React_2.ReactElement;
474
+
475
+ export declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): React_2.ReactElement;
402
476
 
403
477
  declare type ContainerProps = React_2.ComponentProps<"div">;
404
478
 
@@ -427,31 +501,43 @@ export declare function createToastManager(): ToastManager<any> & {
427
501
  }) => any;
428
502
  };
429
503
 
430
- export declare type DateMatcher = DateSingle | DateRange | DateMultiple;
504
+ export declare const DateInput: (props: DateInputProps) => JSX.Element;
431
505
 
432
- export declare type DateMultiple = Date[];
433
-
434
- export declare const DatePicker: (props: Props_7) => JSX.Element;
435
-
436
- export declare type DatePickerFooterProps = {
437
- mode: "single";
438
- value: CalendarProps_2["value"];
506
+ export declare type DateInputFooterProps = {
507
+ value: Date | null;
439
508
  clear: () => void;
440
509
  selectToday: () => void;
441
- setValue: (value: CalendarProps_2["value"]) => void;
510
+ setValue: (value: Date | null) => void;
442
511
  };
443
512
 
444
- export declare type DateRange = {
445
- start: DateSingle;
446
- end: DateSingle;
513
+ export declare type DateInputProps = Omit<ComponentProps<"input">, "value" | "onChange" | "defaultValue"> & {
514
+ value?: Date | null;
515
+ defaultValue?: Date | null;
516
+ onChange?: (value: Date | null) => void;
517
+ disabledDate?: (date: Date) => boolean;
518
+ renderFooter?: (props: DateInputFooterProps) => ReactNode;
447
519
  };
448
520
 
449
- export declare type DateSingle = Date | null;
521
+ export declare const DatePicker: (props: DatePickerProps) => JSX.Element;
450
522
 
451
- declare type DayProps = {
452
- day: Date;
453
- navigationDate: Date;
454
- } & HTMLProps<HTMLButtonElement>;
523
+ declare type DatePickerBaseProps = {
524
+ disabled?: boolean;
525
+ disabledDate?: (date: Date) => boolean;
526
+ renderFooter?: (props: DatePickerFooterProps) => ReactNode;
527
+ className?: string;
528
+ required?: boolean;
529
+ };
530
+
531
+ export declare type DatePickerFooterProps = SingleFooterProps | RangeFooterProps | MultipleFooterProps;
532
+
533
+ export declare type DatePickerMode = "single" | "range" | "multiple";
534
+
535
+ export declare type DatePickerProps = SingleDatePickerProps | RangeDatePickerProps | MultipleDatePickerProps;
536
+
537
+ export declare type DateRange = {
538
+ start: Date | null;
539
+ end: Date | null;
540
+ };
455
541
 
456
542
  /**
457
543
  * General-purpose dialog with optional trigger, title, description, body, and footer.
@@ -540,7 +626,7 @@ export declare function DialogTrigger({ className, ...props }: DialogPrimitive.T
540
626
  /** Full-screen container that centers the popup. */
541
627
  export declare function DialogViewport({ className, ...props }: DialogPrimitive.Viewport.Props): JSX.Element;
542
628
 
543
- export declare const Divider: (props: Props_8) => JSX.Element;
629
+ export declare const Divider: (props: Props_5) => JSX.Element;
544
630
 
545
631
  export declare const DOTS = "...";
546
632
 
@@ -617,7 +703,7 @@ export declare type DropzoneProps = {
617
703
  onError?: (fileErrors: FileError[]) => void;
618
704
  } & Omit<ComponentPropsWithoutRef<"div">, "onDrop" | "onError">;
619
705
 
620
- export declare const EmptyState: ({ icon, title, description, className, children, ...props }: Props_9) => JSX.Element;
706
+ export declare const EmptyState: ({ icon, title, description, className, children, ...props }: Props_6) => JSX.Element;
621
707
 
622
708
  export declare const ensureReactElement: <P>({ children, as: Wrapper, props, }: EnsureReactElementProps<P>) => ReactElement;
623
709
 
@@ -664,7 +750,7 @@ declare interface ExtendedProps_2 {
664
750
  */
665
751
  export declare const extractInitials: (string: string) => string;
666
752
 
667
- export declare function Field({ label, description, error, required, tooltip, inline, children, className, labelProps, descriptionProps, errorProps, ...rootProps }: FieldProps): JSX.Element;
753
+ export declare function Field({ label, description, error, required, tooltip, inline, children, className, labelProps, labelClassName, descriptionProps, descriptionClassName, errorProps, errorClassName, invalid, ...rootProps }: FieldProps): JSX.Element;
668
754
 
669
755
  export declare const FieldControl: typeof FieldPrimitive.Control;
670
756
 
@@ -710,8 +796,11 @@ export declare interface FieldProps extends Omit<FieldPrimitive.Root.Props, "chi
710
796
  inline?: boolean;
711
797
  children?: ReactNode;
712
798
  labelProps?: FieldPrimitive.Label.Props;
799
+ labelClassName?: string;
713
800
  descriptionProps?: FieldPrimitive.Description.Props;
801
+ descriptionClassName?: string;
714
802
  errorProps?: Omit<FieldPrimitive.Error.Props, "match" | "children">;
803
+ errorClassName?: string;
715
804
  }
716
805
 
717
806
  export declare function FieldRoot({ className, required, ...props }: FieldPrimitive.Root.Props & {
@@ -726,7 +815,7 @@ declare type FileError = {
726
815
  errorCode: FileErrorCode;
727
816
  };
728
817
 
729
- declare type FileErrorCode = 'INVALID_EXTENSION' | 'FILE_TOO_LARGE' | 'MAX_FILES_EXCEEDED';
818
+ declare type FileErrorCode = "INVALID_EXTENSION" | "FILE_TOO_LARGE" | "MAX_FILES_EXCEEDED";
730
819
 
731
820
  export declare const FileType: {
732
821
  readonly JPEG: "image/jpeg";
@@ -783,7 +872,7 @@ declare type GenericObject_2 = Record<string, any>;
783
872
 
784
873
  export declare const getFormData: (event: FormEvent<HTMLFormElement>) => Record<string, string>;
785
874
 
786
- export declare const Heading: <C extends React.ElementType = "h2">({ className, size, weight, as, ...props }: Props_10<C>) => JSX.Element;
875
+ export declare const Heading: <C extends React.ElementType = "h2">({ className, size, weight, as, ...props }: Props_7<C>) => JSX.Element;
787
876
 
788
877
  declare const HeadingVariants: (props?: ({
789
878
  size?: "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
@@ -803,6 +892,8 @@ export declare type ID = string | number;
803
892
 
804
893
  export declare function Input({ className, nativeInput, onChange, ...props }: InputProps): JSX.Element;
805
894
 
895
+ export declare const inputBaseClasses = "h-10 w-full px-3 py-2 rounded-md border border-input bg-background text-sm outline-none transition-shadow placeholder:text-muted-foreground";
896
+
806
897
  export { InputPrimitive }
807
898
 
808
899
  export declare type InputProps = Omit<InputPrimitive.Props, "size" | "onChange"> & {
@@ -857,7 +948,7 @@ export declare type LibraryProviderProps = {
857
948
  tooltipDelay?: ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>["delay"];
858
949
  } & Omit<ToastProviderProps, "children">;
859
950
 
860
- export declare const Loader: ({ center, containerClassName, variant, size, ...props }: Props_11) => JSX.Element;
951
+ export declare const Loader: ({ center, containerClassName, variant, size, ...props }: Props_8) => JSX.Element;
861
952
 
862
953
  declare type LoaderVariants = VariantProps<typeof loaderVariants>;
863
954
 
@@ -944,16 +1035,16 @@ export declare const MenuSeparator: ({ className, ...props }: MenuSeparatorProps
944
1035
 
945
1036
  declare type MenuSeparatorProps = React_2.ComponentProps<typeof DropdownMenuPrimitive.Separator>;
946
1037
 
947
- export declare const MenuShortcut: ({ className, keys, handler, options, ...props }: MenuShortcutProps) => JSX.Element;
1038
+ export declare const MenuShortcut: ({ className, keys, handler, options, ...props }: MenuShortcutProps_2) => JSX.Element;
1039
+
1040
+ declare type MenuShortcutProps = ComponentPropsWithoutRef<typeof MenuShortcut>;
948
1041
 
949
- declare type MenuShortcutProps = React_2.ComponentPropsWithoutRef<"span"> & {
1042
+ declare type MenuShortcutProps_2 = React_2.ComponentPropsWithoutRef<"span"> & {
950
1043
  keys: Keys;
951
1044
  handler: (event: KeyboardEvent) => any;
952
1045
  options?: HotkeyOptions;
953
1046
  };
954
1047
 
955
- declare type MenuShortcutProps_2 = ComponentPropsWithoutRef<typeof MenuShortcut>;
956
-
957
1048
  export declare const MenuSub: (props: React_2.ComponentProps<typeof DropdownMenuPrimitive.Sub>) => JSX.Element;
958
1049
 
959
1050
  export declare const MenuSubContent: ({ className, ...props }: MenuSubContentProps) => JSX.Element;
@@ -970,23 +1061,19 @@ export declare const MenuTrigger: (props: React_2.ComponentProps<typeof Dropdown
970
1061
 
971
1062
  export declare function mergeRefs<T = any>(refs: Array<React_2.MutableRefObject<T> | React_2.LegacyRef<T> | undefined | null>): React_2.RefCallback<T>;
972
1063
 
973
- export declare type Mode = "single" | "range" | "multiple";
974
-
975
- export declare const monthNames: readonly ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
976
-
977
- declare type MonthViewProps = {
978
- navigationDate: Date;
979
- disabled?: (date: Date) => boolean;
980
- dayClassName?: ClassName;
981
- dayProps?: DayProps;
982
- weekDaysClassName?: ClassName;
983
- weekDaysProps?: WeekDaysProps;
984
- };
985
-
986
- export declare type MultipleDateValue = {
1064
+ export declare type MultipleDatePickerProps = DatePickerBaseProps & {
1065
+ mode: "multiple";
987
1066
  value?: Date[];
988
1067
  defaultValue?: Date[];
989
- onChange?: (dates: Date[]) => void;
1068
+ onChange?: (value: Date[]) => void;
1069
+ placeholder?: string;
1070
+ };
1071
+
1072
+ declare type MultipleFooterProps = {
1073
+ mode: "multiple";
1074
+ value: Date[];
1075
+ clear: () => void;
1076
+ setValue: (value: Date[]) => void;
990
1077
  };
991
1078
 
992
1079
  export declare const MultiSelect: <TItem extends Record<string, any> = Option_2>({ items, value, valueKey, labelKey, onChange, variant, defaultValue, placeholder, maxCount, className, renderOption, withCheckbox, showSearch, showSelectAll, rootProps, ...props }: MultiSelectProps<TItem>) => JSX.Element;
@@ -1037,8 +1124,6 @@ declare const multiSelectVariants: (props?: ({
1037
1124
 
1038
1125
  declare type Mutation<TArgs extends any[], TReturn> = (...args: TArgs) => Promise<TReturn>;
1039
1126
 
1040
- declare type NavigationProps = Pick<CalendarNavigationProps, "goNextProps" | "goBackProps" | "changeViewProps">;
1041
-
1042
1127
  declare type NonClosableProps = BaseProps_2 & {
1043
1128
  closable?: false;
1044
1129
  onClose?: never;
@@ -1048,7 +1133,40 @@ declare type noop = (this: any, ...args: any[]) => any;
1048
1133
 
1049
1134
  export declare type Nullable<T> = T | null;
1050
1135
 
1051
- export declare const NumberInput: ({ value: prop, onChange, defaultValue: defaultProp, className, min, max, ...props }: Props_12) => JSX.Element;
1136
+ export declare function NumberInput({ className, hideControls, onChange, onValueChange, invalid, placeholder, groupProps, inputProps, decrementProps, incrementProps, ...props }: NumberInputProps): JSX.Element;
1137
+
1138
+ export declare function NumberInputCursorIcon(props: ComponentProps<"svg">): JSX.Element;
1139
+
1140
+ export declare function NumberInputDecrement({ className, children, ...props }: NumberInputPrimitive.Decrement.Props): JSX.Element;
1141
+
1142
+ export declare function NumberInputGroup({ className, ...props }: NumberInputPrimitive.Group.Props): JSX.Element;
1143
+
1144
+ export declare function NumberInputIncrement({ className, children, ...props }: NumberInputPrimitive.Increment.Props): JSX.Element;
1145
+
1146
+ export declare function NumberInputInput({ className, ...props }: NumberInputPrimitive.Input.Props): JSX.Element;
1147
+
1148
+ export { NumberInputPrimitive }
1149
+
1150
+ export declare interface NumberInputProps extends NumberInputPrimitive.Root.Props {
1151
+ /** Hides the increment/decrement buttons. */
1152
+ hideControls?: boolean;
1153
+ /** Shorthand for `onValueChange` — receives only the value, without event details. */
1154
+ onChange?: (value: number | null) => void;
1155
+ /** Marks the field as invalid, adding the error border to the group. */
1156
+ invalid?: boolean;
1157
+ /** Forwarded to the underlying input element. */
1158
+ placeholder?: string;
1159
+ groupProps?: NumberInputPrimitive.Group.Props;
1160
+ inputProps?: NumberInputPrimitive.Input.Props;
1161
+ decrementProps?: NumberInputPrimitive.Decrement.Props;
1162
+ incrementProps?: NumberInputPrimitive.Increment.Props;
1163
+ }
1164
+
1165
+ export declare function NumberInputRoot({ className, ...props }: NumberInputPrimitive.Root.Props): JSX.Element;
1166
+
1167
+ export declare function NumberInputScrubArea({ className, ...props }: NumberInputPrimitive.ScrubArea.Props): JSX.Element;
1168
+
1169
+ export declare function NumberInputScrubAreaCursor({ className, ...props }: NumberInputPrimitive.ScrubAreaCursor.Props): JSX.Element;
1052
1170
 
1053
1171
  declare type OpenProps = {
1054
1172
  open?: boolean;
@@ -1067,7 +1185,7 @@ export declare type OverrideProps<T, TOverridden> = Omit<T, keyof TOverridden> &
1067
1185
 
1068
1186
  export declare type PageSize = (typeof TABLE_PAGE_SIZES)[number];
1069
1187
 
1070
- export declare const Pagination: ({ optionProps, className, containerProps, ...rangeProps }: Props_13) => JSX.Element;
1188
+ export declare const Pagination: ({ optionProps, className, containerProps, ...rangeProps }: Props_9) => JSX.Element;
1071
1189
 
1072
1190
  declare interface PaginationOptionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
1073
1191
  isActive?: boolean;
@@ -1087,18 +1205,53 @@ declare type PasswordProps = Omit<InputProps, "unstyled" | "nativeInput"> & {
1087
1205
  export { PasswordProps }
1088
1206
  export { PasswordProps as PasswordRootProps }
1089
1207
 
1090
- export declare const Popover: (props: Props_14) => JSX.Element;
1208
+ export declare function Popover({ trigger, children, title, description, side, align, sideOffset, alignOffset, tooltipStyle, matchTriggerWidth, anchor, popupClassName, triggerProps, popupProps, ...rootProps }: PopoverProps): default_2.ReactElement;
1091
1209
 
1092
- export declare const PopoverContent: ({ className, align, sideOffset, matchTriggerWidth, style, focus, ...props }: PopoverContentProps) => JSX.Element;
1210
+ export declare function PopoverClose({ ...props }: PopoverPrimitive.Close.Props): default_2.ReactElement;
1093
1211
 
1094
- declare type PopoverContentProps = React_2.ComponentProps<typeof PopoverPrimitive.Content> & {
1212
+ export declare const PopoverCreateHandle: typeof PopoverPrimitive.createHandle;
1213
+
1214
+ export declare function PopoverDescription({ className, ...props }: PopoverPrimitive.Description.Props): default_2.ReactElement;
1215
+
1216
+ declare function PopoverPopup({ children, className, side, align, sideOffset, alignOffset, tooltipStyle, matchTriggerWidth, anchor, portalProps, ...props }: PopoverPrimitive.Popup.Props & {
1217
+ portalProps?: PopoverPrimitive.Portal.Props;
1218
+ side?: PopoverPrimitive.Positioner.Props["side"];
1219
+ align?: PopoverPrimitive.Positioner.Props["align"];
1220
+ sideOffset?: PopoverPrimitive.Positioner.Props["sideOffset"];
1221
+ alignOffset?: PopoverPrimitive.Positioner.Props["alignOffset"];
1222
+ tooltipStyle?: boolean;
1095
1223
  matchTriggerWidth?: boolean;
1096
- focus?: boolean;
1097
- };
1224
+ anchor?: PopoverPrimitive.Positioner.Props["anchor"];
1225
+ }): default_2.ReactElement;
1226
+ export { PopoverPopup as PopoverContent }
1227
+ export { PopoverPopup }
1228
+
1229
+ declare type PopoverPopupOverrideProps = Omit<default_2.ComponentPropsWithoutRef<typeof PopoverPopup>, "children" | "side" | "align" | "sideOffset" | "alignOffset" | "tooltipStyle" | "matchTriggerWidth" | "anchor">;
1230
+
1231
+ export { PopoverPrimitive }
1232
+
1233
+ declare interface PopoverProps extends Omit<PopoverPrimitive.Root.Props, "children"> {
1234
+ trigger?: default_2.ReactElement;
1235
+ children: ReactNode;
1236
+ title?: ReactNode;
1237
+ description?: ReactNode;
1238
+ side?: PopoverPrimitive.Positioner.Props["side"];
1239
+ align?: PopoverPrimitive.Positioner.Props["align"];
1240
+ sideOffset?: PopoverPrimitive.Positioner.Props["sideOffset"];
1241
+ alignOffset?: PopoverPrimitive.Positioner.Props["alignOffset"];
1242
+ tooltipStyle?: boolean;
1243
+ matchTriggerWidth?: boolean;
1244
+ anchor?: PopoverPrimitive.Positioner.Props["anchor"];
1245
+ popupClassName?: string;
1246
+ triggerProps?: Omit<PopoverPrimitive.Trigger.Props, "render" | "children">;
1247
+ popupProps?: PopoverPopupOverrideProps;
1248
+ }
1249
+
1250
+ export declare const PopoverRoot: typeof PopoverPrimitive.Root;
1098
1251
 
1099
- export declare const PopoverRoot: (props: React_2.ComponentProps<typeof PopoverPrimitive.Root>) => JSX.Element;
1252
+ export declare function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props): default_2.ReactElement;
1100
1253
 
1101
- export declare const PopoverTrigger: (props: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>) => JSX.Element;
1254
+ export declare function PopoverTrigger({ className, children, ...props }: PopoverPrimitive.Trigger.Props): default_2.ReactElement;
1102
1255
 
1103
1256
  declare type PopupProps = ComponentPropsWithoutRef<typeof TooltipPrimitive.Popup>;
1104
1257
 
@@ -1136,54 +1289,12 @@ declare interface Props extends ExtendedProps {
1136
1289
  onSelect?: (value: AutoCompleteItem["value"], item: AutoCompleteItem) => any;
1137
1290
  }
1138
1291
 
1139
- declare type Props_10<C extends React.ElementType> = VariantProps<typeof HeadingVariants> & {
1140
- as?: C;
1141
- } & Omit<React.ComponentPropsWithoutRef<C>, "as">;
1142
-
1143
- declare type Props_11 = LucideProps & LoaderVariants & {
1144
- center?: boolean;
1145
- containerClassName?: string;
1146
- };
1147
-
1148
- declare type Props_12 = OverrideProps<ComponentProps<"input">, {
1149
- /** valor del input */
1150
- value?: number;
1151
- /** functión a ejecutar cuando el valor cambia */
1152
- onChange?: (value: number) => void;
1153
- /** valor por defecto del input */
1154
- defaultValue?: number;
1155
- /** valor mínimo del input */
1156
- min?: number;
1157
- /** valor máximo del input */
1158
- max?: number;
1159
- }>;
1160
-
1161
- declare interface Props_13 extends useRangePaginationProps {
1162
- optionProps?: PaginationOptionProps;
1163
- className?: string;
1164
- containerProps?: HTMLProps<HTMLDivElement>;
1165
- }
1166
-
1167
- declare interface Props_14 {
1168
- trigger?: ReactNode;
1169
- children: ReactNode;
1170
- rootProps?: ComponentPropsWithoutRef<typeof PopoverRoot>;
1171
- triggerProps?: ComponentPropsWithoutRef<typeof PopoverTrigger>;
1172
- triggerClassName?: ClassName;
1173
- contentProps?: ComponentPropsWithoutRef<typeof PopoverContent>;
1174
- contentClassName?: ClassName;
1175
- matchTriggerWidth?: ComponentPropsWithoutRef<typeof PopoverContent>["matchTriggerWidth"];
1176
- triggerAsChild?: ComponentPropsWithoutRef<typeof PopoverTrigger>["asChild"];
1177
- side?: "left" | "right" | "top" | "bottom";
1178
- offset?: ComponentPropsWithoutRef<typeof PopoverContent>["sideOffset"];
1179
- }
1180
-
1181
- declare interface Props_15 extends ComponentPropsWithoutRef<typeof Slot> {
1292
+ declare interface Props_10 extends ComponentPropsWithoutRef<typeof Slot> {
1182
1293
  /** Si el componente está presente o no */
1183
1294
  when: ComponentProps<typeof Presence>["present"];
1184
1295
  }
1185
1296
 
1186
- declare type Props_16<T> = {
1297
+ declare type Props_11<T> = {
1187
1298
  data: T[];
1188
1299
  columns: ColumnDef<T>[];
1189
1300
  onRowClick?: (row: T) => void;
@@ -1191,17 +1302,22 @@ declare type Props_16<T> = {
1191
1302
  selected?: (row: T) => boolean;
1192
1303
  } & ExtendedProps_2 & Omit<ComponentPropsWithoutRef<typeof TableRoot>, "data" | "selected" | "onDoubleClick">;
1193
1304
 
1194
- declare type Props_17 = {
1305
+ declare type Props_12 = {
1195
1306
  setPageSize?: (value: PageSize) => void;
1196
1307
  pageSize?: PageSize;
1197
1308
  } & Omit<usePaginationProps, "pageSize"> & TablePaginationExtendedProps;
1198
1309
 
1199
- declare type Props_18 = ClosableProps | NonClosableProps;
1310
+ declare type Props_13 = ClosableProps | NonClosableProps;
1200
1311
 
1201
- declare type Props_19<T extends TreeNode> = TreeRootProps & {
1312
+ declare type Props_14<T extends TreeNode> = TreeRootProps & {
1202
1313
  items: T[];
1203
1314
  };
1204
1315
 
1316
+ declare interface Props_15<T> extends UseAsyncOptions<T> {
1317
+ fn: () => Promise<T>;
1318
+ dependencies?: DependencyList;
1319
+ }
1320
+
1205
1321
  declare interface Props_2 extends HTMLProps<HTMLDivElement> {
1206
1322
  /**
1207
1323
  * La URL de la imagen
@@ -1209,11 +1325,6 @@ declare interface Props_2 extends HTMLProps<HTMLDivElement> {
1209
1325
  src: string;
1210
1326
  }
1211
1327
 
1212
- declare interface Props_20<T> extends UseAsyncOptions<T> {
1213
- fn: () => Promise<T>;
1214
- dependencies?: DependencyList;
1215
- }
1216
-
1217
1328
  declare type Props_3 = BaseButtonProps & VariantProps<typeof buttonVariants>;
1218
1329
 
1219
1330
  declare interface Props_4 extends ComponentProps<"button"> {
@@ -1225,69 +1336,48 @@ declare interface Props_4 extends ComponentProps<"button"> {
1225
1336
  loaderReplace?: true;
1226
1337
  }
1227
1338
 
1228
- declare type Props_5<TItem extends Record<string, any>> = {
1229
- emptyMessage?: string;
1230
- commandProps?: ComponentProps<typeof AutoCompleteRoot>;
1231
- } & SearchProps & SelectProps<TItem>;
1232
-
1233
- declare type Props_6<TItem extends Record<string, any>> = OverrideProps<ComponentProps<typeof SelectRoot> & Omit<ControllableState<string>, "onChange">, {
1234
- onChange?: (value: string, item: TItem) => void;
1235
- /**
1236
- * Listado de elementos a mostrar
1237
- * @default []
1238
- */
1239
- items: TItem[];
1240
- /**
1241
- * Identificador del valor del elemento
1242
- * @default "value"
1243
- */
1244
- valueKey?: keyof TItem;
1245
- /**
1246
- * Identificador del label del elemento
1247
- * @default "label"
1248
- */
1249
- labelKey?: keyof TItem;
1250
- /**
1251
- * Función que renderiza el label del elemento
1252
- * Por defecto renderiza el label del elemento
1253
- */
1254
- renderOption?: (item: TItem) => ReactNode;
1255
- className?: ClassName;
1256
- triggerProps?: ComponentProps<typeof SelectTrigger>;
1257
- contentClassName?: ClassName;
1258
- contentProps?: ComponentProps<typeof SelectContent>;
1259
- itemClassName?: ClassName;
1260
- itemProps?: ComponentProps<typeof SelectItem>;
1261
- placeholder?: string;
1262
- }>;
1263
-
1264
- declare type Props_7 = ComponentProps<"input"> & {
1265
- value?: Date | null;
1266
- defaultValue?: Date | null;
1267
- onChange?: (value: Date | null) => void;
1268
- disabledDate?: (date: Date) => boolean;
1269
- hideFooter?: boolean;
1270
- renderFooter?: (props: DatePickerFooterProps) => ReactNode;
1271
- };
1272
-
1273
- declare type Props_8 = {
1339
+ declare type Props_5 = {
1274
1340
  orientation?: "horizontal" | "vertical";
1275
1341
  } & HTMLProps<HTMLHRElement>;
1276
1342
 
1277
- declare type Props_9 = ComponentPropsWithoutRef<"div"> & {
1343
+ declare type Props_6 = ComponentPropsWithoutRef<"div"> & {
1278
1344
  icon?: ReactNode;
1279
1345
  title?: ReactNode;
1280
1346
  description?: ReactNode;
1281
1347
  };
1282
1348
 
1349
+ declare type Props_7<C extends React.ElementType> = VariantProps<typeof HeadingVariants> & {
1350
+ as?: C;
1351
+ } & Omit<React.ComponentPropsWithoutRef<C>, "as">;
1352
+
1353
+ declare type Props_8 = LucideProps & LoaderVariants & {
1354
+ center?: boolean;
1355
+ containerClassName?: string;
1356
+ };
1357
+
1358
+ declare interface Props_9 extends useRangePaginationProps {
1359
+ optionProps?: PaginationOptionProps;
1360
+ className?: string;
1361
+ containerProps?: HTMLProps<HTMLDivElement>;
1362
+ }
1363
+
1283
1364
  declare type PropsWithoutValue<T> = Omit<T, "value" | "onChange" | "defaultValue">;
1284
1365
 
1285
1366
  declare type ProviderProps = ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>;
1286
1367
 
1287
- export declare type RangeDateValue = {
1368
+ export declare type RangeDatePickerProps = DatePickerBaseProps & {
1369
+ mode: "range";
1288
1370
  value?: DateRange;
1289
1371
  defaultValue?: DateRange;
1290
- onChange?: (date: DateRange) => void;
1372
+ onChange?: (value: DateRange) => void;
1373
+ placeholder?: string;
1374
+ };
1375
+
1376
+ declare type RangeFooterProps = {
1377
+ mode: "range";
1378
+ value: DateRange;
1379
+ clear: () => void;
1380
+ setValue: (value: DateRange) => void;
1291
1381
  };
1292
1382
 
1293
1383
  export declare type Renderable<T> = ReactNode | ((props: T) => ReactElement);
@@ -1365,70 +1455,124 @@ declare type RootProps = ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>;
1365
1455
 
1366
1456
  export declare type SafeOmit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
1367
1457
 
1368
- declare interface SearchProps {
1369
- search?: string;
1370
- searchDefaultValue?: string;
1371
- onSearchChange?: (search: string) => void;
1372
- searchProps?: ComponentProps<typeof AutoCompleteInput>;
1373
- searchPlaceholder?: string;
1374
- }
1458
+ export declare function ScrollArea({ className, children, scrollFade, scrollbarGutter, ...props }: ScrollAreaPrimitive.Root.Props & {
1459
+ scrollFade?: boolean;
1460
+ scrollbarGutter?: boolean;
1461
+ }): default_2.ReactElement;
1375
1462
 
1376
- export declare const Select: <TItem extends Record<string, any> = Option_2>({ items, valueKey, labelKey, value: prop, onChange, defaultValue: defaultProp, renderOption, triggerProps, contentClassName, contentProps, itemClassName, itemProps, className, placeholder, ...props }: Props_6<TItem>) => JSX.Element;
1463
+ export { ScrollAreaPrimitive }
1377
1464
 
1378
- export declare const SelectContent: ({ className, children, position, ...props }: SelectContentProps) => JSX.Element;
1465
+ export declare function ScrollBar({ className, orientation, ...props }: ScrollAreaPrimitive.Scrollbar.Props): default_2.ReactElement;
1379
1466
 
1380
- declare type SelectContentProps = React_2.ComponentProps<typeof SelectPrimitive.Content>;
1467
+ /**
1468
+ * Composite select for single and multiple selection. Items shaped as
1469
+ * `{ label, value }` or plain strings/numbers work with no extra props.
1470
+ * For other shapes, provide `getLabel` and/or `getValue`.
1471
+ *
1472
+ * `renderItem` customizes the content **inside** each `SelectItem` (the
1473
+ * checkmark indicator is always rendered by the item wrapper).
1474
+ *
1475
+ * Use `SelectRoot` + primitives directly when you need full structural
1476
+ * control beyond what escape-hatch props offer.
1477
+ */
1478
+ export declare function Select<TItem = unknown>(allProps: SelectProps<TItem>): React_2.ReactElement;
1381
1479
 
1382
- export declare const SelectGroup: React_2.FC<SelectGroupProps>;
1480
+ declare type SelectBaseProps<TItem = unknown> = Omit<SelectRootPropsAlias<string>, "children" | "onChange" | "value" | "defaultValue" | "items" | "multiple"> & {
1481
+ items: readonly TItem[];
1482
+ getLabel?: (item: TItem) => string;
1483
+ getValue?: (item: TItem) => string;
1484
+ renderItem?: (item: TItem) => React_2.ReactNode;
1485
+ placeholder?: string;
1486
+ triggerProps?: React_2.ComponentProps<typeof SelectTrigger>;
1487
+ popupProps?: React_2.ComponentProps<typeof SelectPopup>;
1488
+ popupClassName?: string;
1489
+ itemProps?: SelectPrimitive.Item.Props;
1490
+ itemClassName?: string;
1491
+ className?: string;
1492
+ };
1383
1493
 
1384
- declare interface SelectGroupProps extends React_2.ComponentProps<typeof SelectPrimitive.Group> {
1385
- heading?: string;
1386
- }
1494
+ export declare function SelectButton({ className, render, children, ...props }: SelectButtonProps): React_2.ReactElement;
1387
1495
 
1388
- export declare const SelectItem: ({ className, children, ...props }: SelectItemProps) => JSX.Element;
1496
+ export declare type SelectButtonProps = useRender.ComponentProps<"button"> & {
1497
+ ref?: React_2.Ref<HTMLButtonElement>;
1498
+ };
1389
1499
 
1390
- declare type SelectItemProps = React_2.ComponentProps<typeof SelectPrimitive.Item>;
1500
+ export declare function SelectGroup(props: SelectPrimitive.Group.Props): React_2.ReactElement;
1391
1501
 
1392
- export declare const SelectLabel: ({ className, ...props }: SelectLabelProps) => JSX.Element;
1502
+ export declare function SelectGroupLabel(props: SelectPrimitive.GroupLabel.Props): React_2.ReactElement;
1393
1503
 
1394
- declare type SelectLabelProps = React_2.ComponentProps<typeof SelectPrimitive.Label>;
1504
+ export declare function SelectItem({ className, children, ...props }: SelectPrimitive.Item.Props): React_2.ReactElement;
1395
1505
 
1396
- declare type SelectProps<TItem extends Record<string, any>> = ComponentProps<typeof Select<TItem>>;
1506
+ export declare function SelectLabel({ className, ...props }: SelectPrimitive.Label.Props): React_2.ReactElement;
1397
1507
 
1398
- export declare const SelectRoot: (props: React_2.ComponentProps<typeof SelectPrimitive.Root>) => JSX.Element;
1508
+ declare function SelectPopup({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, anchor, portalProps, ...props }: SelectPrimitive.Popup.Props & {
1509
+ portalProps?: SelectPrimitive.Portal.Props;
1510
+ side?: SelectPrimitive.Positioner.Props["side"];
1511
+ sideOffset?: SelectPrimitive.Positioner.Props["sideOffset"];
1512
+ align?: SelectPrimitive.Positioner.Props["align"];
1513
+ alignOffset?: SelectPrimitive.Positioner.Props["alignOffset"];
1514
+ alignItemWithTrigger?: SelectPrimitive.Positioner.Props["alignItemWithTrigger"];
1515
+ anchor?: SelectPrimitive.Positioner.Props["anchor"];
1516
+ }): React_2.ReactElement;
1517
+ export { SelectPopup as SelectContent }
1518
+ export { SelectPopup }
1399
1519
 
1400
- export declare const SelectScrollDownButton: ({ className, ...props }: SelectScrollDownButtonProps) => JSX.Element;
1520
+ export { SelectPrimitive }
1401
1521
 
1402
- declare type SelectScrollDownButtonProps = React_2.ComponentProps<typeof SelectPrimitive.ScrollDownButton>;
1522
+ export declare type SelectProps<TItem = unknown> = (SelectBaseProps<TItem> & {
1523
+ multiple?: false;
1524
+ value?: TItem | null;
1525
+ defaultValue?: TItem | null;
1526
+ onChange?: (value: TItem | null) => void;
1527
+ }) | (SelectBaseProps<TItem> & {
1528
+ multiple: true;
1529
+ value?: TItem[];
1530
+ defaultValue?: TItem[];
1531
+ onChange?: (value: TItem[]) => void;
1532
+ });
1403
1533
 
1404
- export declare const SelectScrollUpButton: ({ className, ...props }: SelectScrollUpButtonProps) => JSX.Element;
1534
+ export declare function SelectRoot<Value = string, Multiple extends boolean | undefined = false>({ onChange, ...props }: Omit<SelectPrimitive.Root.Props<Value, Multiple>, "onValueChange"> & {
1535
+ onChange?: SelectPrimitive.Root.Props<Value, Multiple>["onValueChange"];
1536
+ }): React_2.ReactElement;
1405
1537
 
1406
- declare type SelectScrollUpButtonProps = React_2.ComponentProps<typeof SelectPrimitive.ScrollUpButton>;
1538
+ declare type SelectRootPropsAlias<V = string> = Omit<SelectPrimitive.Root.Props<V, false>, "onValueChange"> & {
1539
+ onChange?: SelectPrimitive.Root.Props<V, false>["onValueChange"];
1540
+ };
1407
1541
 
1408
- export declare const SelectSeparator: ({ className, ...props }: SelectSeparatorProps) => JSX.Element;
1542
+ export declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separator.Props): React_2.ReactElement;
1409
1543
 
1410
- declare type SelectSeparatorProps = React_2.ComponentProps<typeof SelectPrimitive.Separator>;
1544
+ export declare function SelectTrigger({ className, children, ...props }: SelectPrimitive.Trigger.Props): React_2.ReactElement;
1411
1545
 
1412
- export declare const SelectTrigger: ({ className, children, ...props }: SelectTriggerProps) => JSX.Element;
1546
+ export declare const selectTriggerClasses: string;
1413
1547
 
1414
- declare type SelectTriggerProps = React_2.ComponentProps<typeof SelectPrimitive.Trigger>;
1548
+ export declare const selectTriggerIconClassName = "-me-1 size-4.5 opacity-80 sm:size-4";
1415
1549
 
1416
- export declare const SelectValue: (props: React_2.ComponentProps<typeof SelectPrimitive.Value>) => JSX.Element;
1550
+ export declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): React_2.ReactElement;
1417
1551
 
1418
1552
  export declare type SetState<T> = Dispatch<SetStateAction<T>>;
1419
1553
 
1420
1554
  declare type Shortcut = Partial<{
1421
- shortcut: MenuShortcutProps_2["keys"];
1422
- onShortcut: MenuShortcutProps_2["handler"];
1423
- shortcutOptions: MenuShortcutProps_2["options"];
1555
+ shortcut: MenuShortcutProps["keys"];
1556
+ onShortcut: MenuShortcutProps["handler"];
1557
+ shortcutOptions: MenuShortcutProps["options"];
1424
1558
  }>;
1425
1559
 
1426
- export declare const Show: ({ when, ...props }: Props_15) => JSX.Element;
1560
+ export declare const Show: ({ when, ...props }: Props_10) => JSX.Element;
1427
1561
 
1428
- export declare type SingleDateValue = {
1429
- value?: DateSingle;
1430
- defaultValue?: DateSingle;
1431
- onChange?: (date: DateSingle) => void;
1562
+ export declare type SingleDatePickerProps = DatePickerBaseProps & {
1563
+ mode: "single";
1564
+ value?: Date | null;
1565
+ defaultValue?: Date | null;
1566
+ onChange?: (value: Date | null) => void;
1567
+ placeholder?: string;
1568
+ };
1569
+
1570
+ declare type SingleFooterProps = {
1571
+ mode: "single";
1572
+ value: Date | null;
1573
+ clear: () => void;
1574
+ selectToday: () => void;
1575
+ setValue: (value: Date | null) => void;
1432
1576
  };
1433
1577
 
1434
1578
  export declare function Skeleton({ className, ...props }: ComponentProps<"div">): JSX.Element;
@@ -1503,11 +1647,12 @@ declare interface StepperTriggerProps {
1503
1647
 
1504
1648
  declare type StyleProps = ColorProps | VariantProps_2;
1505
1649
 
1506
- export declare function Switch({ children, label, className, id, thumbProps, controlFirst, ...props }: SwitchProps): React_2.ReactElement;
1650
+ export declare function Switch({ children, label, className, id, thumbProps, controlFirst, tooltip, ...props }: SwitchProps): React_2.ReactElement;
1507
1651
 
1508
1652
  declare interface SwitchProps extends Omit<Switch_2.Root.Props, "children"> {
1509
1653
  children?: React_2.ReactNode;
1510
1654
  label?: React_2.ReactNode;
1655
+ tooltip?: string;
1511
1656
  thumbProps?: Switch_2.Thumb.Props;
1512
1657
  controlFirst?: boolean;
1513
1658
  }
@@ -1522,7 +1667,7 @@ export declare interface TabContentProps extends HTMLProps<HTMLDivElement> {
1522
1667
  value: string;
1523
1668
  }
1524
1669
 
1525
- export declare const Table: <T>({ data, columns, onRowClick, onDoubleClick, selected, theadClassName, theadProps, tbodyClassName, tbodyProps, trClassName, trProps, thClassName, thProps, tdClassName, tdProps, ...tableProps }: Props_16<T>) => JSX.Element;
1670
+ export declare const Table: <T>({ data, columns, onRowClick, onDoubleClick, selected, theadClassName, theadProps, tbodyClassName, tbodyProps, trClassName, trProps, thClassName, thProps, tdClassName, tdProps, ...tableProps }: Props_11<T>) => JSX.Element;
1526
1671
 
1527
1672
  export declare const TABLE_PAGE_SIZES: number[];
1528
1673
 
@@ -1550,7 +1695,7 @@ declare type TableHeaderProps = React_2.ComponentProps<"thead">;
1550
1695
 
1551
1696
  declare type TableHeadProps = React_2.ComponentProps<"th">;
1552
1697
 
1553
- export declare const TablePagination: ({ containerClassName, containerProps, selectClassName, selectProps, sizes, ...props }: Props_17) => JSX.Element;
1698
+ export declare const TablePagination: ({ containerClassName, containerProps, selectClassName, selectProps, sizes, ...props }: Props_12) => JSX.Element;
1554
1699
 
1555
1700
  declare interface TablePaginationExtendedProps {
1556
1701
  containerClassName?: ClassName;
@@ -1605,7 +1750,7 @@ export declare interface TabTriggerProps extends Omit<HTMLProps<HTMLButtonElemen
1605
1750
  value: string;
1606
1751
  }
1607
1752
 
1608
- export declare const Tag: ({ className, color, variant, rounded, icon, closable, onClose, children, ...props }: Props_18) => JSX.Element;
1753
+ export declare const Tag: ({ className, color, variant, rounded, icon, closable, onClose, children, ...props }: Props_13) => JSX.Element;
1609
1754
 
1610
1755
  export declare type TagVariant = VariantProps<typeof tagVariants>;
1611
1756
 
@@ -1614,16 +1759,26 @@ export declare const tagVariants: (props?: ({
1614
1759
  variant?: "error" | "success" | "outline" | "secondary" | "primary" | "borderless" | null | undefined;
1615
1760
  } & ClassProp) | undefined) => string;
1616
1761
 
1617
- export declare const Textarea: ({ className, ...props }: TextAreaProps) => JSX.Element;
1762
+ export declare function Textarea({ className, unstyled, ref, controlProps, ...props }: TextareaProps): ReactElement;
1763
+
1764
+ export declare function TextareaControl({ className, unstyled, children, ...props }: ComponentProps<"span"> & {
1765
+ unstyled?: boolean;
1766
+ }): ReactElement;
1767
+
1768
+ export declare function TextareaField({ className, ref, onChange, ...props }: TextareaFieldProps): ReactElement;
1769
+
1770
+ export declare type TextareaFieldProps = Omit<ComponentProps<"textarea">, "onChange"> & {
1771
+ onChange?: (value: string, event: ChangeEvent<HTMLTextAreaElement>) => void;
1772
+ };
1618
1773
 
1619
- declare type TextAreaProps = Omit<HTMLProps<HTMLTextAreaElement>, "onChange"> & {
1620
- onChange?: (value: string) => void;
1774
+ export declare type TextareaProps = TextareaFieldProps & {
1775
+ unstyled?: boolean;
1776
+ controlProps?: ComponentProps<typeof TextareaControl>;
1621
1777
  };
1622
1778
 
1623
1779
  export declare type Theme = {
1624
1780
  Button?: ThemeProps<ComponentProps<typeof Button>, "asChild" | "loading">;
1625
1781
  Input?: Partial<PropsWithoutValue<ComponentProps<typeof Input>>>;
1626
- Popover?: ThemeProps<ComponentProps<typeof Popover>, "open" | "defaultOpen" | "onOpenChange" | "trigger">;
1627
1782
  };
1628
1783
 
1629
1784
  declare type ThemeProps<T, TOverridden> = Partial<Omit<T, keyof TOverridden>>;
@@ -1713,7 +1868,7 @@ export declare type ToastOptions<Data extends object = object> = ToastObject<Dat
1713
1868
  declare type ToastOptionsBase = {
1714
1869
  variant?: ToastVariant;
1715
1870
  content?: ReactNode;
1716
- actions?: ButtonProps_2[];
1871
+ actions?: ButtonProps[];
1717
1872
  bump?: boolean;
1718
1873
  };
1719
1874
 
@@ -1738,7 +1893,7 @@ export { ToastPrimitive }
1738
1893
  * toast.error({ title: "Error", description: "Algo salió mal" });
1739
1894
  * ```
1740
1895
  */
1741
- export declare function ToastProvider({ children, toastManager, container }: ToastProviderProps): JSX.Element;
1896
+ export declare function ToastProvider({ children, toastManager, container, }: ToastProviderProps): JSX.Element;
1742
1897
 
1743
1898
  export declare interface ToastProviderProps {
1744
1899
  children: ReactNode;
@@ -1757,7 +1912,7 @@ export declare interface ToastProviderProps {
1757
1912
 
1758
1913
  export declare type ToastVariant = "default" | "success" | "error" | "warning" | "info";
1759
1914
 
1760
- export declare function toastVariants({ variant }?: {
1915
+ export declare function toastVariants({ variant, }?: {
1761
1916
  variant?: ToastVariant;
1762
1917
  }): string;
1763
1918
 
@@ -1812,7 +1967,7 @@ export declare function TooltipRoot(props: RootProps): JSX.Element;
1812
1967
 
1813
1968
  export declare function TooltipTrigger({ className, ...props }: TriggerProps): JSX.Element;
1814
1969
 
1815
- export declare function Tree<T extends TreeNode>({ items, ...props }: Props_19<T>): JSX.Element;
1970
+ export declare function Tree<T extends TreeNode>({ items, ...props }: Props_14<T>): JSX.Element;
1816
1971
 
1817
1972
  export declare const TreeItem: <T extends object>({ className, ...props }: OverrideProps<TreeItemProps<T>, {
1818
1973
  id: string | number;
@@ -1902,7 +2057,7 @@ export declare function useArray<T>(defaultProp: T[]): readonly [T[], {
1902
2057
  readonly update: (predicate: ListIterateeCustom<T, boolean>, newItem: T | ((item: T) => T)) => void;
1903
2058
  }];
1904
2059
 
1905
- export declare function useAsync<T>({ fn, dependencies, onError, onSuccess, onFinish, }: Props_20<T>): AsyncState<T>;
2060
+ export declare function useAsync<T>({ fn, dependencies, onError, onSuccess, onFinish, }: Props_15<T>): AsyncState<T>;
1906
2061
 
1907
2062
  declare interface UseAsyncOptions<T> {
1908
2063
  onError?: (error: Error) => void;
@@ -1914,6 +2069,8 @@ export declare const useClickOutside: <T extends HTMLElement = HTMLElement>(call
1914
2069
 
1915
2070
  export declare function useClipboard(): [CopiedValue, CopyFunction];
1916
2071
 
2072
+ export declare const useComboboxFilter: typeof ComboboxPrimitive.useFilter;
2073
+
1917
2074
  export { useControllableState }
1918
2075
 
1919
2076
  export declare function useDebouncedCallback<T extends (...args: any[]) => any>(callback: T, delay: number): (...args: Parameters<T>) => void;
@@ -2102,13 +2259,4 @@ declare type VariantProps_2 = {
2102
2259
  variant?: TagVariant["variant"];
2103
2260
  };
2104
2261
 
2105
- export declare interface ViewProps {
2106
- value: Date;
2107
- onChange: (date: Date) => void;
2108
- }
2109
-
2110
- declare type WeekDaysProps = HTMLProps<HTMLDivElement>;
2111
-
2112
- export declare const weeksDays: string[];
2113
-
2114
2262
  export { }