@povio/ui 3.4.0-rc.9 → 4.0.0-rc.2

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 (1271) hide show
  1. package/README.md +56 -2
  2. package/dist/Accordion-Cup5eRZz.d.ts +58 -0
  3. package/dist/Accordion-rZ9P9dZy.js +416 -0
  4. package/dist/Alert-BALBsBrP.js +240 -0
  5. package/dist/Alert-CbEhRaU5.d.ts +33 -0
  6. package/dist/AlertDialog-PjYM6lDo.d.ts +26 -0
  7. package/dist/Autocomplete-DE2lQi5o.d.ts +15 -0
  8. package/dist/Badge-CjPpYa50.d.ts +28 -0
  9. package/dist/BottomSheet-ByyAU_dJ.js +404 -0
  10. package/dist/BottomSheet-CT0zuola.d.ts +33 -0
  11. package/dist/BottomSheet.lazy-7AwnB4vS.d.ts +5 -0
  12. package/dist/Breadcrumbs-D-3YEuem.d.ts +19 -0
  13. package/dist/Breadcrumbs-UfRbfiqU.js +351 -0
  14. package/dist/Button-CRlZqaJq.js +89 -0
  15. package/dist/Button-CbwNjdRz.js +761 -0
  16. package/dist/Button-DTNjsGx5.d.ts +42 -0
  17. package/dist/ButtonContent-CohuJJzG.js +136 -0
  18. package/dist/Calendar-Ci0ysyfZ.js +753 -0
  19. package/dist/CheckContent-DzWpxKGq.js +19 -0
  20. package/dist/Checkbox-BJ7flpwA.js +227 -0
  21. package/dist/Checkbox-CBybJbLm.d.ts +26 -0
  22. package/dist/CheckboxCheckmark-C1X9yBT6.js +195 -0
  23. package/dist/CheckboxGroup-4xoWgmxr.d.ts +28 -0
  24. package/dist/DatePicker-CgCr_Z8r.js +434 -0
  25. package/dist/DatePicker-DyjAwAh6.d.ts +44 -0
  26. package/dist/DatePickerInput-B9Z_AUkC.js +945 -0
  27. package/dist/DatePickerInput-CdCtVE9z.d.ts +18 -0
  28. package/dist/DateRangePicker-CS69o2pD.js +1858 -0
  29. package/dist/DateRangePicker-Cdu1Sx37.d.ts +76 -0
  30. package/dist/DateTimePicker-ClSa8hFs.d.ts +44 -0
  31. package/dist/DateTimePicker-Xzc1ve3a.js +387 -0
  32. package/dist/Dialog-CLWfxiie.js +595 -0
  33. package/dist/Dialog-DEbI_9S-.d.ts +55 -0
  34. package/dist/Dialog-DLfOkNe9.js +60 -0
  35. package/dist/Drawer-D1cHiBFO.d.ts +18 -0
  36. package/dist/DropdownMenu-CZQRzOBb.d.ts +61 -0
  37. package/dist/DropdownMenu-hkpycd0j.js +178 -0
  38. package/dist/DropdownMenuDesktop-B0MKN0op.js +248 -0
  39. package/dist/FileInput-BQS6TAH7.js +236 -0
  40. package/dist/FileInput-CI8D_wf_.d.ts +70 -0
  41. package/dist/FileTrigger-C5r_5hvS.js +145 -0
  42. package/dist/FileUpload-BrnJdN3M.d.ts +7 -0
  43. package/dist/FileUpload-cS3NOaES.js +791 -0
  44. package/dist/FileUploadContainer-CkBENy6n.d.ts +5 -0
  45. package/dist/FocusScope-CNjWJz3s.js +343 -0
  46. package/dist/Form-Bam3kea-.js +10 -0
  47. package/dist/Form-NZGvsbuM.d.ts +49 -0
  48. package/dist/FormField-BHPdCLEV.js +211 -0
  49. package/dist/FormField-DTDj3F0A.d.ts +37 -0
  50. package/dist/FormFieldError-BT4uxbKY.d.ts +10 -0
  51. package/dist/FormFieldError-CFg0Wn3i.js +26 -0
  52. package/dist/FormFieldHeaderTooltip-b-kY0DgB.js +38 -0
  53. package/dist/Heading-D0cYUzVa.js +16 -0
  54. package/dist/IconButton-CYazzM7I.d.ts +16 -0
  55. package/dist/InlineIconButton-Rp5bXWcQ.d.ts +15 -0
  56. package/dist/InlineTooltipWrapper-BqLlgdD7.js +24 -0
  57. package/dist/Input-BmIahisJ.js +47 -0
  58. package/dist/Input-DSHFNEVl.d.ts +30 -0
  59. package/dist/InputContent-CvWm6GAv.d.ts +27 -0
  60. package/dist/InputItem-AU6mq7o-.js +63 -0
  61. package/dist/Inputs-AqKRElPz.js +17 -0
  62. package/dist/Inputs-DiFAIBZS.d.ts +13 -0
  63. package/dist/Label-C6BonuOp.js +17 -0
  64. package/dist/Link-D7QEPw-L.js +47 -0
  65. package/dist/Link-DS9-0Ijl.d.ts +27 -0
  66. package/dist/Link-e4ZWZNrO.js +42 -0
  67. package/dist/ListBox-Dx42Gif4.js +418 -0
  68. package/dist/MenuItem-CROWrE2A.d.ts +6 -0
  69. package/dist/Modal-C5Oi8GZF.js +152 -0
  70. package/dist/NumberField-BICDQ2gN.d.ts +30 -0
  71. package/dist/NumberRangeInput-BlGXChNR.d.ts +45 -0
  72. package/dist/NumberRangeInput-xjkniTH0.js +428 -0
  73. package/dist/OverlayArrow-BRnQo6-8.js +33 -0
  74. package/dist/Pagination-CumQED8X.d.ts +12 -0
  75. package/dist/PaginationList-D79ApWLm.d.ts +18 -0
  76. package/dist/PaginationList-Du7qn_AS.js +228 -0
  77. package/dist/PasswordInput-BdrYD1D3.d.ts +10 -0
  78. package/dist/PasswordInput-DTScGauT.js +63 -0
  79. package/dist/PillButton-CihEPQye.d.ts +15 -0
  80. package/dist/Popover-C0_-TLl_.d.ts +20 -0
  81. package/dist/Progress-CYfDXJKs.d.ts +44 -0
  82. package/dist/Progress-_jkt2pQw.js +145 -0
  83. package/dist/QuerySelect-V9C2b67x.d.ts +23 -0
  84. package/dist/RadioGroup-B9g4uT4E.js +380 -0
  85. package/dist/RadioGroup-WHWosz7K.d.ts +24 -0
  86. package/dist/RichTextEditor-CbgjRfiU.d.ts +26 -0
  87. package/dist/RichTextEditor-DWgaZLRW.js +925 -0
  88. package/dist/Select-O9dprkTa.js +159 -0
  89. package/dist/Select-wzB2aQ_X.d.ts +15 -0
  90. package/dist/SelectBase-DefgAEzh.d.ts +96 -0
  91. package/dist/SelectionIndicator-C9TY9dkk.js +5 -0
  92. package/dist/SharedElementTransition-lGqrCNlI.js +12 -0
  93. package/dist/Slider-CZMNmk6P.d.ts +22 -0
  94. package/dist/Slider-IDDtzb2P.js +246 -0
  95. package/dist/Spinner-BOgO9bS6.d.ts +29 -0
  96. package/dist/Spinner-owSXOEzg.js +113 -0
  97. package/dist/SplitButton-BPZbQeYC.d.ts +15 -0
  98. package/dist/Stepper-Coe3PAl_.js +336 -0
  99. package/dist/Stepper-PcHlxDD5.d.ts +113 -0
  100. package/dist/Switch-BaNEe9Nx.js +192 -0
  101. package/dist/Switch-C0S5Juhf.d.ts +22 -0
  102. package/dist/TableDnd-CuHxANWh.js +133 -0
  103. package/dist/Tag-1N-2yYCH.js +148 -0
  104. package/dist/Tag-CgPeLVXM.d.ts +44 -0
  105. package/dist/Text-D_lEB52w.js +5 -0
  106. package/dist/TextArea-BcIy_nZ2.js +181 -0
  107. package/dist/TextArea-CBWJ7w-p.d.ts +24 -0
  108. package/dist/TextButton-D7e_YBLe.d.ts +15 -0
  109. package/dist/TimePicker-BZ4WrI5Z.d.ts +33 -0
  110. package/dist/TimePicker-vbrwgBc5.js +428 -0
  111. package/dist/Toast-DIlYlUQk.d.ts +16 -0
  112. package/dist/ToastContainer-1H_IxvyH.d.ts +5 -0
  113. package/dist/ToastContainer-gdpK8d8m.js +55 -0
  114. package/dist/ToggleButton-C966bfpT.js +92 -0
  115. package/dist/ToggleButton-D4y2fLmN.d.ts +11 -0
  116. package/dist/ToggleGroup-BMZsbHY9.js +435 -0
  117. package/dist/ToggleGroup-D9CFdM5-.d.ts +7 -0
  118. package/dist/Tooltip-B-2AxyjP.d.ts +56 -0
  119. package/dist/Tooltip-BNAubrgG.js +299 -0
  120. package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +11 -0
  121. package/dist/TooltipWrapper-DYfZF2Ly.js +58 -0
  122. package/dist/Typography-AcUd9df8.js +31 -0
  123. package/dist/Typography-BWmZd20e.d.ts +12 -0
  124. package/dist/autocomplete-CaQSVRrw.d.ts +16 -0
  125. package/dist/button.cva-ChabF4Am.d.ts +106 -0
  126. package/dist/buttonContent.cva-CP857foM.d.ts +6 -0
  127. package/dist/chain-BKPAL-J_.js +10 -0
  128. package/dist/check-DefmU9oJ.js +13 -0
  129. package/dist/checkbox-D8CPWRlM.d.ts +9 -0
  130. package/dist/checkbox-group-BuPUA_Qj.d.ts +9 -0
  131. package/dist/checkbox.cva-DwnPS5df.d.ts +77 -0
  132. package/dist/chevron-down-RksSwG1O.js +13 -0
  133. package/dist/chevron-left-Dem1_TuL.js +13 -0
  134. package/dist/chevron-right-DXbvvsay.js +13 -0
  135. package/dist/chevron-up-CgEFpORu.js +13 -0
  136. package/dist/chevrons-right--HrJEes-.js +29 -0
  137. package/dist/clsx-CnD0nOiA.js +16 -0
  138. package/dist/common-UBFya8WY.d.ts +11 -0
  139. package/dist/components/accordion.d.ts +2 -0
  140. package/dist/components/accordion.js +2 -0
  141. package/dist/components/alert-dialog.d.ts +2 -0
  142. package/dist/components/alert-dialog.js +188 -0
  143. package/dist/components/alert.d.ts +2 -0
  144. package/dist/components/alert.js +2 -0
  145. package/dist/components/autocomplete/react-aria.d.ts +1 -0
  146. package/dist/components/autocomplete/react-aria.js +1 -0
  147. package/dist/components/autocomplete.d.ts +2 -0
  148. package/dist/components/autocomplete.js +134 -0
  149. package/dist/components/badge.d.ts +2 -0
  150. package/dist/components/badge.js +98 -0
  151. package/dist/components/bottom-sheet.d.ts +3 -0
  152. package/dist/components/bottom-sheet.js +109 -0
  153. package/dist/components/breadcrumb/react-aria.d.ts +1 -0
  154. package/dist/components/breadcrumb/react-aria.js +1 -0
  155. package/dist/components/breadcrumbs/react-aria.d.ts +1 -0
  156. package/dist/components/breadcrumbs/react-aria.js +1 -0
  157. package/dist/components/breadcrumbs.d.ts +2 -0
  158. package/dist/components/breadcrumbs.js +2 -0
  159. package/dist/components/button/react-aria.d.ts +1 -0
  160. package/dist/components/button/react-aria.js +1 -0
  161. package/dist/components/button.d.ts +3 -0
  162. package/dist/components/button.js +2 -0
  163. package/dist/components/calendar/react-aria.d.ts +1 -0
  164. package/dist/components/calendar/react-aria.js +1 -0
  165. package/dist/components/calendar-cell/react-aria.d.ts +1 -0
  166. package/dist/components/calendar-cell/react-aria.js +1 -0
  167. package/dist/components/calendar-grid/react-aria.d.ts +1 -0
  168. package/dist/components/calendar-grid/react-aria.js +1 -0
  169. package/dist/components/calendar-grid-body/react-aria.d.ts +1 -0
  170. package/dist/components/calendar-grid-body/react-aria.js +1 -0
  171. package/dist/components/calendar-grid-header/react-aria.d.ts +1 -0
  172. package/dist/components/calendar-grid-header/react-aria.js +1 -0
  173. package/dist/components/calendar-header-cell/react-aria.d.ts +1 -0
  174. package/dist/components/calendar-header-cell/react-aria.js +1 -0
  175. package/dist/components/cell/react-aria.d.ts +1 -0
  176. package/dist/components/cell/react-aria.js +1 -0
  177. package/dist/components/checkbox/react-aria.d.ts +1 -0
  178. package/dist/components/checkbox/react-aria.js +1 -0
  179. package/dist/components/checkbox-group/react-aria.d.ts +1 -0
  180. package/dist/components/checkbox-group/react-aria.js +1 -0
  181. package/dist/components/checkbox-group.d.ts +2 -0
  182. package/dist/components/checkbox-group.js +164 -0
  183. package/dist/components/checkbox.d.ts +2 -0
  184. package/dist/components/checkbox.js +2 -0
  185. package/dist/components/collection/react-aria.d.ts +1 -0
  186. package/dist/components/collection/react-aria.js +1 -0
  187. package/dist/components/color-area/react-aria.d.ts +1 -0
  188. package/dist/components/color-area/react-aria.js +1 -0
  189. package/dist/components/color-field/react-aria.d.ts +1 -0
  190. package/dist/components/color-field/react-aria.js +1 -0
  191. package/dist/components/color-picker/react-aria.d.ts +1 -0
  192. package/dist/components/color-picker/react-aria.js +1 -0
  193. package/dist/components/color-slider/react-aria.d.ts +1 -0
  194. package/dist/components/color-slider/react-aria.js +1 -0
  195. package/dist/components/color-swatch/react-aria.d.ts +1 -0
  196. package/dist/components/color-swatch/react-aria.js +1 -0
  197. package/dist/components/color-swatch-picker/react-aria.d.ts +5 -0
  198. package/dist/components/color-swatch-picker/react-aria.js +1 -0
  199. package/dist/components/color-swatch-picker-item/react-aria.d.ts +5 -0
  200. package/dist/components/color-swatch-picker-item/react-aria.js +1 -0
  201. package/dist/components/color-thumb/react-aria.d.ts +1 -0
  202. package/dist/components/color-thumb/react-aria.js +1 -0
  203. package/dist/components/color-wheel/react-aria.d.ts +1 -0
  204. package/dist/components/color-wheel/react-aria.js +1 -0
  205. package/dist/components/color-wheel-track/react-aria.d.ts +1 -0
  206. package/dist/components/color-wheel-track/react-aria.js +1 -0
  207. package/dist/components/column/react-aria.d.ts +1 -0
  208. package/dist/components/column/react-aria.js +1 -0
  209. package/dist/components/column-resizer/react-aria.d.ts +1 -0
  210. package/dist/components/column-resizer/react-aria.js +1 -0
  211. package/dist/components/combo-box/react-aria.d.ts +1 -0
  212. package/dist/components/combo-box/react-aria.js +1 -0
  213. package/dist/components/date-field/react-aria.d.ts +1 -0
  214. package/dist/components/date-field/react-aria.js +1 -0
  215. package/dist/components/date-input/react-aria.d.ts +1 -0
  216. package/dist/components/date-input/react-aria.js +1 -0
  217. package/dist/components/date-picker/react-aria.d.ts +1 -0
  218. package/dist/components/date-picker/react-aria.js +1 -0
  219. package/dist/components/date-picker.d.ts +2 -0
  220. package/dist/components/date-picker.js +2 -0
  221. package/dist/components/date-range-picker/react-aria.d.ts +1 -0
  222. package/dist/components/date-range-picker/react-aria.js +1 -0
  223. package/dist/components/date-range-picker.d.ts +27 -0
  224. package/dist/components/date-range-picker.js +2 -0
  225. package/dist/components/date-segment/react-aria.d.ts +1 -0
  226. package/dist/components/date-segment/react-aria.js +1 -0
  227. package/dist/components/date-time-picker.d.ts +2 -0
  228. package/dist/components/date-time-picker.js +2 -0
  229. package/dist/components/default-collection-renderer/react-aria.d.ts +1 -0
  230. package/dist/components/default-collection-renderer/react-aria.js +1 -0
  231. package/dist/components/dialog/react-aria.d.ts +1 -0
  232. package/dist/components/dialog/react-aria.js +1 -0
  233. package/dist/components/dialog-trigger/react-aria.d.ts +1 -0
  234. package/dist/components/dialog-trigger/react-aria.js +1 -0
  235. package/dist/components/dialog.d.ts +2 -0
  236. package/dist/components/dialog.js +2 -0
  237. package/dist/components/disclosure/react-aria.d.ts +1 -0
  238. package/dist/components/disclosure/react-aria.js +1 -0
  239. package/dist/components/disclosure-group/react-aria.d.ts +1 -0
  240. package/dist/components/disclosure-group/react-aria.js +1 -0
  241. package/dist/components/disclosure-panel/react-aria.d.ts +1 -0
  242. package/dist/components/disclosure-panel/react-aria.js +1 -0
  243. package/dist/components/dom-attributes/react-aria.d.ts +1 -0
  244. package/dist/components/dom-attributes/react-aria.js +0 -0
  245. package/dist/components/drawer.d.ts +2 -0
  246. package/dist/components/drawer.js +96 -0
  247. package/dist/components/drop-indicator/react-aria.d.ts +1 -0
  248. package/dist/components/drop-indicator/react-aria.js +1 -0
  249. package/dist/components/drop-zone/react-aria.d.ts +1 -0
  250. package/dist/components/drop-zone/react-aria.js +1 -0
  251. package/dist/components/dropdown-menu.d.ts +3 -0
  252. package/dist/components/dropdown-menu.js +3 -0
  253. package/dist/components/field-error/react-aria.d.ts +1 -0
  254. package/dist/components/field-error/react-aria.js +1 -0
  255. package/dist/components/file-input.d.ts +2 -0
  256. package/dist/components/file-input.js +2 -0
  257. package/dist/components/file-trigger/react-aria.d.ts +1 -0
  258. package/dist/components/file-trigger/react-aria.js +1 -0
  259. package/dist/components/file-upload-container.d.ts +3 -0
  260. package/dist/components/file-upload-container.js +15 -0
  261. package/dist/components/file-upload.d.ts +3 -0
  262. package/dist/components/file-upload.js +2 -0
  263. package/dist/components/focusable/react-aria.d.ts +1 -0
  264. package/dist/components/focusable/react-aria.js +1 -0
  265. package/dist/components/form/react-aria.d.ts +1 -0
  266. package/dist/components/form/react-aria.js +1 -0
  267. package/dist/components/form-field.d.ts +2 -0
  268. package/dist/components/form-field.js +2 -0
  269. package/dist/components/grid-list/react-aria.d.ts +1 -0
  270. package/dist/components/grid-list/react-aria.js +1 -0
  271. package/dist/components/grid-list-header/react-aria.d.ts +1 -0
  272. package/dist/components/grid-list-header/react-aria.js +1 -0
  273. package/dist/components/grid-list-item/react-aria.d.ts +1 -0
  274. package/dist/components/grid-list-item/react-aria.js +1 -0
  275. package/dist/components/grid-list-load-more-item/react-aria.d.ts +1 -0
  276. package/dist/components/grid-list-load-more-item/react-aria.js +1 -0
  277. package/dist/components/grid-list-section/react-aria.d.ts +1 -0
  278. package/dist/components/grid-list-section/react-aria.js +1 -0
  279. package/dist/components/group/react-aria.d.ts +1 -0
  280. package/dist/components/group/react-aria.js +1 -0
  281. package/dist/components/header/react-aria.d.ts +1 -0
  282. package/dist/components/header/react-aria.js +1 -0
  283. package/dist/components/heading/react-aria.d.ts +1 -0
  284. package/dist/components/heading/react-aria.js +1 -0
  285. package/dist/components/i18n-provider/react-aria.d.ts +1 -0
  286. package/dist/components/i18n-provider/react-aria.js +1 -0
  287. package/dist/components/icon-button.d.ts +2 -0
  288. package/dist/components/icon-button.js +55 -0
  289. package/dist/components/inline-icon-button.d.ts +2 -0
  290. package/dist/components/inline-icon-button.js +40 -0
  291. package/dist/components/input/react-aria.d.ts +1 -0
  292. package/dist/components/input/react-aria.js +1 -0
  293. package/dist/components/input.d.ts +2 -0
  294. package/dist/components/input.js +242 -0
  295. package/dist/components/key/react-aria.d.ts +1 -0
  296. package/dist/components/key/react-aria.js +0 -0
  297. package/dist/components/keyboard/react-aria.d.ts +1 -0
  298. package/dist/components/keyboard/react-aria.js +1 -0
  299. package/dist/components/label/react-aria.d.ts +1 -0
  300. package/dist/components/label/react-aria.js +1 -0
  301. package/dist/components/link/react-aria.d.ts +1 -0
  302. package/dist/components/link/react-aria.js +1 -0
  303. package/dist/components/link.d.ts +2 -0
  304. package/dist/components/link.js +2 -0
  305. package/dist/components/list-box/react-aria.d.ts +1 -0
  306. package/dist/components/list-box/react-aria.js +1 -0
  307. package/dist/components/list-box-item/react-aria.d.ts +1 -0
  308. package/dist/components/list-box-item/react-aria.js +1 -0
  309. package/dist/components/list-box-load-more-item/react-aria.d.ts +1 -0
  310. package/dist/components/list-box-load-more-item/react-aria.js +1 -0
  311. package/dist/components/list-box-section/react-aria.d.ts +1 -0
  312. package/dist/components/list-box-section/react-aria.js +1 -0
  313. package/dist/components/menu/react-aria.d.ts +1 -0
  314. package/dist/components/menu/react-aria.js +1 -0
  315. package/dist/components/menu-item/react-aria.d.ts +1 -0
  316. package/dist/components/menu-item/react-aria.js +1 -0
  317. package/dist/components/menu-section/react-aria.d.ts +1 -0
  318. package/dist/components/menu-section/react-aria.js +1 -0
  319. package/dist/components/menu-trigger/react-aria.d.ts +1 -0
  320. package/dist/components/menu-trigger/react-aria.js +1 -0
  321. package/dist/components/meter/react-aria.d.ts +1 -0
  322. package/dist/components/meter/react-aria.js +1 -0
  323. package/dist/components/modal/react-aria.d.ts +1 -0
  324. package/dist/components/modal/react-aria.js +1 -0
  325. package/dist/components/modal-overlay/react-aria.d.ts +1 -0
  326. package/dist/components/modal-overlay/react-aria.js +1 -0
  327. package/dist/components/number-field/react-aria.d.ts +1 -0
  328. package/dist/components/number-field/react-aria.js +1 -0
  329. package/dist/components/number-field.d.ts +2 -0
  330. package/dist/components/number-field.js +245 -0
  331. package/dist/components/number-range-input.d.ts +2 -0
  332. package/dist/components/number-range-input.js +2 -0
  333. package/dist/components/overlay-arrow/react-aria.d.ts +1 -0
  334. package/dist/components/overlay-arrow/react-aria.js +1 -0
  335. package/dist/components/pagination-list.d.ts +2 -0
  336. package/dist/components/pagination-list.js +2 -0
  337. package/dist/components/pagination.d.ts +2 -0
  338. package/dist/components/pagination.js +131 -0
  339. package/dist/components/password-input.d.ts +2 -0
  340. package/dist/components/password-input.js +2 -0
  341. package/dist/components/pill-button.d.ts +2 -0
  342. package/dist/components/pill-button.js +73 -0
  343. package/dist/components/popover/react-aria.d.ts +1 -0
  344. package/dist/components/popover/react-aria.js +1 -0
  345. package/dist/components/popover.d.ts +2 -0
  346. package/dist/components/popover.js +126 -0
  347. package/dist/components/pressable/react-aria.d.ts +1 -0
  348. package/dist/components/pressable/react-aria.js +1 -0
  349. package/dist/components/progress-bar/react-aria.d.ts +1 -0
  350. package/dist/components/progress-bar/react-aria.js +1 -0
  351. package/dist/components/progress.d.ts +2 -0
  352. package/dist/components/progress.js +2 -0
  353. package/dist/components/provider/react-aria.d.ts +1 -0
  354. package/dist/components/provider/react-aria.js +1 -0
  355. package/dist/components/query-autocomplete.d.ts +8 -0
  356. package/dist/components/query-autocomplete.js +126 -0
  357. package/dist/components/query-select.d.ts +2 -0
  358. package/dist/components/query-select.js +138 -0
  359. package/dist/components/radio/react-aria.d.ts +1 -0
  360. package/dist/components/radio/react-aria.js +1 -0
  361. package/dist/components/radio-group/react-aria.d.ts +1 -0
  362. package/dist/components/radio-group/react-aria.js +1 -0
  363. package/dist/components/radio-group.d.ts +2 -0
  364. package/dist/components/radio-group.js +2 -0
  365. package/dist/components/range-calendar/react-aria.d.ts +1 -0
  366. package/dist/components/range-calendar/react-aria.js +1 -0
  367. package/dist/components/resizable-table-container/react-aria.d.ts +1 -0
  368. package/dist/components/resizable-table-container/react-aria.js +1 -0
  369. package/dist/components/router-provider/react-aria.d.ts +1 -0
  370. package/dist/components/router-provider/react-aria.js +1 -0
  371. package/dist/components/row/react-aria.d.ts +1 -0
  372. package/dist/components/row/react-aria.js +1 -0
  373. package/dist/components/search-field/react-aria.d.ts +1 -0
  374. package/dist/components/search-field/react-aria.js +1 -0
  375. package/dist/components/section/react-aria.d.ts +1 -0
  376. package/dist/components/section/react-aria.js +1 -0
  377. package/dist/components/select/react-aria.d.ts +1 -0
  378. package/dist/components/select/react-aria.js +1 -0
  379. package/dist/components/select-value/react-aria.d.ts +1 -0
  380. package/dist/components/select-value/react-aria.js +1 -0
  381. package/dist/components/select.d.ts +3 -0
  382. package/dist/components/select.js +2 -0
  383. package/dist/components/selection/react-aria.d.ts +1 -0
  384. package/dist/components/selection/react-aria.js +0 -0
  385. package/dist/components/selection-indicator/react-aria.d.ts +1 -0
  386. package/dist/components/selection-indicator/react-aria.js +1 -0
  387. package/dist/components/separator/react-aria.d.ts +1 -0
  388. package/dist/components/separator/react-aria.js +1 -0
  389. package/dist/components/shared-element/react-aria.d.ts +1 -0
  390. package/dist/components/shared-element/react-aria.js +1 -0
  391. package/dist/components/shared-element-transition/react-aria.d.ts +1 -0
  392. package/dist/components/shared-element-transition/react-aria.js +1 -0
  393. package/dist/components/slider/react-aria.d.ts +1 -0
  394. package/dist/components/slider/react-aria.js +1 -0
  395. package/dist/components/slider-output/react-aria.d.ts +1 -0
  396. package/dist/components/slider-output/react-aria.js +1 -0
  397. package/dist/components/slider-thumb/react-aria.d.ts +1 -0
  398. package/dist/components/slider-thumb/react-aria.js +1 -0
  399. package/dist/components/slider-track/react-aria.d.ts +1 -0
  400. package/dist/components/slider-track/react-aria.js +1 -0
  401. package/dist/components/slider.d.ts +2 -0
  402. package/dist/components/slider.js +2 -0
  403. package/dist/components/spinner.d.ts +2 -0
  404. package/dist/components/spinner.js +2 -0
  405. package/dist/components/split-button.d.ts +2 -0
  406. package/dist/components/split-button.js +123 -0
  407. package/dist/components/ssr-provider/react-aria.d.ts +1 -0
  408. package/dist/components/ssr-provider/react-aria.js +1 -0
  409. package/dist/components/stepper.d.ts +2 -0
  410. package/dist/components/stepper.js +2 -0
  411. package/dist/components/submenu-trigger/react-aria.d.ts +1 -0
  412. package/dist/components/submenu-trigger/react-aria.js +1 -0
  413. package/dist/components/switch/react-aria.d.ts +1 -0
  414. package/dist/components/switch/react-aria.js +1 -0
  415. package/dist/components/switch.d.ts +2 -0
  416. package/dist/components/switch.js +2 -0
  417. package/dist/components/tab/react-aria.d.ts +1 -0
  418. package/dist/components/tab/react-aria.js +1 -0
  419. package/dist/components/tab-list/react-aria.d.ts +1 -0
  420. package/dist/components/tab-list/react-aria.js +1 -0
  421. package/dist/components/tab-panel/react-aria.d.ts +1 -0
  422. package/dist/components/tab-panel/react-aria.js +1 -0
  423. package/dist/components/tab-panels/react-aria.d.ts +1 -0
  424. package/dist/components/tab-panels/react-aria.js +1 -0
  425. package/dist/components/table/react-aria.d.ts +1 -0
  426. package/dist/components/table/react-aria.js +1 -0
  427. package/dist/components/table-body/react-aria.d.ts +1 -0
  428. package/dist/components/table-body/react-aria.js +1 -0
  429. package/dist/components/table-header/react-aria.d.ts +1 -0
  430. package/dist/components/table-header/react-aria.js +1 -0
  431. package/dist/components/table-load-more-item/react-aria.d.ts +1 -0
  432. package/dist/components/table-load-more-item/react-aria.js +1 -0
  433. package/dist/components/tabs/react-aria.d.ts +1 -0
  434. package/dist/components/tabs/react-aria.js +1 -0
  435. package/dist/components/tag/react-aria.d.ts +1 -0
  436. package/dist/components/tag/react-aria.js +1 -0
  437. package/dist/components/tag-group/react-aria.d.ts +1 -0
  438. package/dist/components/tag-group/react-aria.js +1 -0
  439. package/dist/components/tag-list/react-aria.d.ts +1 -0
  440. package/dist/components/tag-list/react-aria.js +1 -0
  441. package/dist/components/tag.d.ts +2 -0
  442. package/dist/components/tag.js +2 -0
  443. package/dist/components/text/react-aria.d.ts +1 -0
  444. package/dist/components/text/react-aria.js +1 -0
  445. package/dist/components/text-area/react-aria.d.ts +1 -0
  446. package/dist/components/text-area/react-aria.js +1 -0
  447. package/dist/components/text-area.d.ts +2 -0
  448. package/dist/components/text-area.js +2 -0
  449. package/dist/components/text-button.d.ts +2 -0
  450. package/dist/components/text-button.js +36 -0
  451. package/dist/components/text-field/react-aria.d.ts +1 -0
  452. package/dist/components/text-field/react-aria.js +1 -0
  453. package/dist/components/time-field/react-aria.d.ts +1 -0
  454. package/dist/components/time-field/react-aria.js +1 -0
  455. package/dist/components/time-picker.d.ts +2 -0
  456. package/dist/components/time-picker.js +2 -0
  457. package/dist/components/toast/react-aria.d.ts +1 -0
  458. package/dist/components/toast/react-aria.js +1 -0
  459. package/dist/components/toast-content/react-aria.d.ts +1 -0
  460. package/dist/components/toast-content/react-aria.js +1 -0
  461. package/dist/components/toast-list/react-aria.d.ts +1 -0
  462. package/dist/components/toast-list/react-aria.js +1 -0
  463. package/dist/components/toast-region/react-aria.d.ts +1 -0
  464. package/dist/components/toast-region/react-aria.js +1 -0
  465. package/dist/components/toast.d.ts +4 -0
  466. package/dist/components/toast.js +3 -0
  467. package/dist/components/toggle-button/react-aria.d.ts +1 -0
  468. package/dist/components/toggle-button/react-aria.js +1 -0
  469. package/dist/components/toggle-button-group/react-aria.d.ts +5 -0
  470. package/dist/components/toggle-button-group/react-aria.js +1 -0
  471. package/dist/components/toggle-button.d.ts +2 -0
  472. package/dist/components/toggle-button.js +38 -0
  473. package/dist/components/toggle-group.d.ts +3 -0
  474. package/dist/components/toggle-group.js +2 -0
  475. package/dist/components/toolbar/react-aria.d.ts +1 -0
  476. package/dist/components/toolbar/react-aria.js +1 -0
  477. package/dist/components/tooltip/react-aria.d.ts +1 -0
  478. package/dist/components/tooltip/react-aria.js +1 -0
  479. package/dist/components/tooltip-ellipsis.d.ts +2 -0
  480. package/dist/components/tooltip-ellipsis.js +46 -0
  481. package/dist/components/tooltip-trigger/react-aria.d.ts +1 -0
  482. package/dist/components/tooltip-trigger/react-aria.js +1 -0
  483. package/dist/components/tooltip.d.ts +2 -0
  484. package/dist/components/tooltip.js +2 -0
  485. package/dist/components/tree/react-aria.d.ts +1 -0
  486. package/dist/components/tree/react-aria.js +1 -0
  487. package/dist/components/tree-item/react-aria.d.ts +1 -0
  488. package/dist/components/tree-item/react-aria.js +1 -0
  489. package/dist/components/tree-item-content/react-aria.d.ts +1 -0
  490. package/dist/components/tree-item-content/react-aria.js +1 -0
  491. package/dist/components/tree-load-more-item/react-aria.d.ts +1 -0
  492. package/dist/components/tree-load-more-item/react-aria.js +1 -0
  493. package/dist/components/typography.d.ts +3 -0
  494. package/dist/components/typography.js +2 -0
  495. package/dist/components/use-focus-visible/react-aria.d.ts +1 -0
  496. package/dist/components/use-focus-visible/react-aria.js +1 -0
  497. package/dist/components/use-focus-within/react-aria.d.ts +1 -0
  498. package/dist/components/use-focus-within/react-aria.js +1 -0
  499. package/dist/components/use-hover/react-aria.d.ts +1 -0
  500. package/dist/components/use-hover/react-aria.js +1 -0
  501. package/dist/components/use-label/react-aria.d.ts +1 -0
  502. package/dist/components/use-label/react-aria.js +1 -0
  503. package/dist/components/use-text-field/react-aria.d.ts +1 -0
  504. package/dist/components/use-text-field/react-aria.js +1 -0
  505. package/dist/components/use-toast.d.ts +2 -0
  506. package/dist/components/use-toast.js +42 -0
  507. package/dist/components/virtualizer/react-aria.d.ts +1 -0
  508. package/dist/components/virtualizer/react-aria.js +1 -0
  509. package/dist/components/visually-hidden/react-aria.d.ts +1 -0
  510. package/dist/components/visually-hidden/react-aria.js +1 -0
  511. package/dist/compoundMapper-CMoX98D2.d.ts +17 -0
  512. package/dist/compoundMapper-Di3SKZnS.js +13 -0
  513. package/dist/config/confirmation.d.ts +2 -0
  514. package/dist/config/confirmation.js +2 -0
  515. package/dist/config/link-context.d.ts +3 -0
  516. package/dist/config/link-context.js +2 -0
  517. package/dist/config/resources.d.ts +2 -0
  518. package/dist/config/resources.js +2 -0
  519. package/dist/config/theme-context.d.ts +2 -0
  520. package/dist/config/theme-context.js +2 -0
  521. package/dist/config/ui-config.d.ts +3 -0
  522. package/dist/config/ui-config.js +2 -0
  523. package/dist/config/ui-overrides.d.ts +2 -0
  524. package/dist/config/ui-overrides.js +2 -0
  525. package/dist/config/ui-router.d.ts +2 -0
  526. package/dist/config/ui-router.js +2 -0
  527. package/dist/confirmation.context-BcX0qVEy.js +114 -0
  528. package/dist/confirmation.context-fKfUTsLF.d.ts +23 -0
  529. package/dist/createLucideIcon-LS26Bb1M.js +125 -0
  530. package/dist/date-picker-DiMaoYoA.d.ts +9 -0
  531. package/dist/date-range-picker-DSkNEa35.d.ts +9 -0
  532. package/dist/date-time-picker-B5s2PMFw.d.ts +9 -0
  533. package/dist/date-time.utils-0F9qduim.js +190 -0
  534. package/dist/date-time.utils-Cu9TVj46.d.ts +45 -0
  535. package/dist/date.transforms-DLg-eFcE.js +15 -0
  536. package/dist/date.utils-B8_QF9y6.js +42 -0
  537. package/dist/date.utils-BoQnMRlF.d.ts +7 -0
  538. package/dist/datePickerValue.utils-BxOJpTbb.js +223 -0
  539. package/dist/dialog.cva-5qNq9YfM.js +43 -0
  540. package/dist/dist-BAT04RMQ.js +1740 -0
  541. package/dist/dom.utils-D08rHcQ2.js +49 -0
  542. package/dist/dynamicInputs-CRMWIpHA.js +194 -0
  543. package/dist/dynamicInputs-m_DQu5q0.js +214 -0
  544. package/dist/dynamicInputs-uIhp1Ly-.d.ts +771 -0
  545. package/dist/exports-DUKqxyno.js +20 -0
  546. package/dist/fieldAdapter-BaQgRGA9.js +61 -0
  547. package/dist/fieldAdapter-C4sDFC8f.d.ts +9 -0
  548. package/dist/file-input-D-46wS5j.d.ts +9 -0
  549. package/dist/file-upload-BG20Bhrn.d.ts +10 -0
  550. package/dist/file.utils-Crb-mIHs.d.ts +21 -0
  551. package/dist/file.utils-DqQxnuAm.js +61 -0
  552. package/dist/fileUpload.types-xFzuCT_m.d.ts +110 -0
  553. package/dist/focusSafely-BDIcvqPb.js +437 -0
  554. package/dist/form.binding-DLM7NA2s.js +179 -0
  555. package/dist/form.binding-DVJ5F0JE.d.ts +51 -0
  556. package/dist/form.types-CecYaerF.d.ts +13 -0
  557. package/dist/form.types-ZNGbcqJS.d.ts +13 -0
  558. package/dist/getScrollParent-WT3K8H_b.js +36 -0
  559. package/dist/hooks/use-filters.d.ts +2 -0
  560. package/dist/hooks/use-filters.js +2 -0
  561. package/dist/hooks/use-local-storage.d.ts +2 -0
  562. package/dist/hooks/use-local-storage.js +2 -0
  563. package/dist/hooks/use-translation-memo.d.ts +2 -0
  564. package/dist/hooks/use-translation-memo.js +2 -0
  565. package/dist/i18n-BDjNuy4Z.js +302 -0
  566. package/dist/i18n-D0Pz0p2u.d.ts +318 -0
  567. package/dist/icons.d.ts +2 -0
  568. package/dist/icons.js +2 -0
  569. package/dist/import-DDGNxVX8.js +45 -0
  570. package/dist/index.d.ts +105 -1
  571. package/dist/index.js +113 -120
  572. package/dist/input-CKGPYwfB.d.ts +8 -0
  573. package/dist/input.cva-ByFuAEIS.d.ts +83 -0
  574. package/dist/input.cva-KYGD4Bdz.js +324 -0
  575. package/dist/intl.utils-NaOZUD2G.d.ts +9 -0
  576. package/dist/intl.utils-zwAFoZ0U.js +38 -0
  577. package/dist/intlStrings-A7XlNdi7.js +346 -0
  578. package/dist/link.context-C5ZgwVM5.d.ts +12 -0
  579. package/dist/link.context-J7aQtMOr.js +35 -0
  580. package/dist/logger-CqZjM-sn.js +333 -0
  581. package/dist/logger-N35Xhi14.d.ts +10 -0
  582. package/dist/number-field-CyP6XgJh.d.ts +8 -0
  583. package/dist/number-range-input-DMmlk7Bl.d.ts +8 -0
  584. package/dist/numberStatic.utils-DAI7Bef3.js +902 -0
  585. package/dist/openLink-BrfLaWo4.js +121 -0
  586. package/dist/outline.clsx-50W_vNDl.js +6 -0
  587. package/dist/outline.clsx-B1hjrX9t.d.ts +4 -0
  588. package/dist/password-input-BWpfQe0G.d.ts +8 -0
  589. package/dist/pillButton.cva-6tjADUQ6.js +265 -0
  590. package/dist/pillButton.cva-BVsxGnqF.d.ts +36 -0
  591. package/dist/platform-3R53zj-n.js +42 -0
  592. package/dist/popover.cva-CXha_UMQ.js +5 -0
  593. package/dist/queries.utils-CmbhAoHU.js +18 -0
  594. package/dist/query-autocomplete-BeNfRDM_.d.ts +14 -0
  595. package/dist/query-select-Ded04eju.d.ts +15 -0
  596. package/dist/queryAutocomplete.types-BlpCYzfA.d.ts +26 -0
  597. package/dist/radio-group-CmUtsjqP.d.ts +9 -0
  598. package/dist/radio.cva-DAq2M13H.d.ts +51 -0
  599. package/dist/rhf/autocomplete.d.ts +3 -0
  600. package/dist/rhf/autocomplete.js +8 -0
  601. package/dist/rhf/checkbox-group.d.ts +3 -0
  602. package/dist/rhf/checkbox-group.js +8 -0
  603. package/dist/rhf/checkbox.d.ts +3 -0
  604. package/dist/rhf/checkbox.js +8 -0
  605. package/dist/rhf/date-picker.d.ts +3 -0
  606. package/dist/rhf/date-picker.js +9 -0
  607. package/dist/rhf/date-range-picker.d.ts +3 -0
  608. package/dist/rhf/date-range-picker.js +9 -0
  609. package/dist/rhf/date-time-picker.d.ts +3 -0
  610. package/dist/rhf/date-time-picker.js +9 -0
  611. package/dist/rhf/file-input.d.ts +3 -0
  612. package/dist/rhf/file-input.js +6 -0
  613. package/dist/rhf/file-upload.d.ts +3 -0
  614. package/dist/rhf/file-upload.js +6 -0
  615. package/dist/rhf/input.d.ts +3 -0
  616. package/dist/rhf/input.js +6 -0
  617. package/dist/rhf/inputs.d.ts +4 -0
  618. package/dist/rhf/inputs.js +2 -0
  619. package/dist/rhf/number-field.d.ts +3 -0
  620. package/dist/rhf/number-field.js +6 -0
  621. package/dist/rhf/number-range-input.d.ts +3 -0
  622. package/dist/rhf/number-range-input.js +6 -0
  623. package/dist/rhf/password-input.d.ts +3 -0
  624. package/dist/rhf/password-input.js +6 -0
  625. package/dist/rhf/query-autocomplete.d.ts +2 -0
  626. package/dist/rhf/query-autocomplete.js +8 -0
  627. package/dist/rhf/query-select.d.ts +2 -0
  628. package/dist/rhf/query-select.js +8 -0
  629. package/dist/rhf/radio-group.d.ts +3 -0
  630. package/dist/rhf/radio-group.js +8 -0
  631. package/dist/rhf/rich-text-editor.d.ts +3 -0
  632. package/dist/rhf/rich-text-editor.js +6 -0
  633. package/dist/rhf/select.d.ts +3 -0
  634. package/dist/rhf/select.js +8 -0
  635. package/dist/rhf/slider.d.ts +3 -0
  636. package/dist/rhf/slider.js +6 -0
  637. package/dist/rhf/switch.d.ts +3 -0
  638. package/dist/rhf/switch.js +8 -0
  639. package/dist/rhf/text-area.d.ts +3 -0
  640. package/dist/rhf/text-area.js +6 -0
  641. package/dist/rhf/time-picker.d.ts +3 -0
  642. package/dist/rhf/time-picker.js +9 -0
  643. package/dist/rhf/toggle-group.d.ts +3 -0
  644. package/dist/rhf/toggle-group.js +6 -0
  645. package/dist/rhf-C52xZuFt.js +256 -0
  646. package/dist/rhf.d.ts +105 -225
  647. package/dist/rhf.js +101 -0
  648. package/dist/rich-text-editor-Db3XWWFo.d.ts +8 -0
  649. package/dist/rich-text-editor.d.ts +2 -0
  650. package/dist/rich-text-editor.js +2 -0
  651. package/dist/router.context-Bft1psqn.js +63 -0
  652. package/dist/router.context-CtafjXV7.d.ts +16 -0
  653. package/dist/routing.utils-UTQonIhB.js +25 -0
  654. package/dist/select-DXGbGkZM.d.ts +16 -0
  655. package/dist/slider-JQh0ypfU.d.ts +8 -0
  656. package/dist/staticDateTimeSegments-B9kkwiDz.js +3601 -0
  657. package/dist/staticSelect.utils-CBmV4sam.js +1834 -0
  658. package/dist/string.utils-BPgv6QwA.js +12 -0
  659. package/dist/string.utils-Cj6AB7uZ.d.ts +7 -0
  660. package/dist/styles/input.d.ts +2 -0
  661. package/dist/styles/input.js +0 -0
  662. package/dist/styles/outline.d.ts +2 -0
  663. package/dist/styles/outline.js +2 -0
  664. package/dist/switch-Lm3xl1rQ.d.ts +9 -0
  665. package/dist/switch.cva-BIioyegR.d.ts +15 -0
  666. package/dist/tanstack/autocomplete.d.ts +2 -0
  667. package/dist/tanstack/autocomplete.js +2 -0
  668. package/dist/tanstack/checkbox-group.d.ts +2 -0
  669. package/dist/tanstack/checkbox-group.js +2 -0
  670. package/dist/tanstack/checkbox.d.ts +2 -0
  671. package/dist/tanstack/checkbox.js +2 -0
  672. package/dist/tanstack/date-picker.d.ts +2 -0
  673. package/dist/tanstack/date-picker.js +2 -0
  674. package/dist/tanstack/date-range-picker.d.ts +2 -0
  675. package/dist/tanstack/date-range-picker.js +2 -0
  676. package/dist/tanstack/date-time-picker.d.ts +2 -0
  677. package/dist/tanstack/date-time-picker.js +2 -0
  678. package/dist/tanstack/file-input.d.ts +2 -0
  679. package/dist/tanstack/file-input.js +2 -0
  680. package/dist/tanstack/file-upload.d.ts +3 -0
  681. package/dist/tanstack/file-upload.js +2 -0
  682. package/dist/tanstack/form.d.ts +3 -0
  683. package/dist/tanstack/form.js +3 -0
  684. package/dist/tanstack/input.d.ts +2 -0
  685. package/dist/tanstack/input.js +2 -0
  686. package/dist/tanstack/inputs.d.ts +5 -0
  687. package/dist/tanstack/inputs.js +3 -0
  688. package/dist/tanstack/number-field.d.ts +2 -0
  689. package/dist/tanstack/number-field.js +2 -0
  690. package/dist/tanstack/number-range-input.d.ts +2 -0
  691. package/dist/tanstack/number-range-input.js +2 -0
  692. package/dist/tanstack/password-input.d.ts +2 -0
  693. package/dist/tanstack/password-input.js +2 -0
  694. package/dist/tanstack/query-autocomplete.d.ts +2 -0
  695. package/dist/tanstack/query-autocomplete.js +2 -0
  696. package/dist/tanstack/query-select.d.ts +2 -0
  697. package/dist/tanstack/query-select.js +2 -0
  698. package/dist/tanstack/radio-group.d.ts +2 -0
  699. package/dist/tanstack/radio-group.js +2 -0
  700. package/dist/tanstack/rich-text-editor.d.ts +2 -0
  701. package/dist/tanstack/rich-text-editor.js +2 -0
  702. package/dist/tanstack/select.d.ts +2 -0
  703. package/dist/tanstack/select.js +2 -0
  704. package/dist/tanstack/slider.d.ts +2 -0
  705. package/dist/tanstack/slider.js +2 -0
  706. package/dist/tanstack/switch.d.ts +2 -0
  707. package/dist/tanstack/switch.js +2 -0
  708. package/dist/tanstack/table.d.ts +2 -0
  709. package/dist/tanstack/table.js +2 -0
  710. package/dist/tanstack/text-area.d.ts +2 -0
  711. package/dist/tanstack/text-area.js +2 -0
  712. package/dist/tanstack/time-picker.d.ts +2 -0
  713. package/dist/tanstack/time-picker.js +2 -0
  714. package/dist/tanstack/toggle-group.d.ts +3 -0
  715. package/dist/tanstack/toggle-group.js +2 -0
  716. package/dist/tanstack.d.ts +92 -224
  717. package/dist/tanstack.js +97 -141
  718. package/dist/text-area-I5MNcGp_.d.ts +8 -0
  719. package/dist/theme.context-B3wQDJ-i.js +120 -0
  720. package/dist/theme.context-DfBt5Pz6.d.ts +20 -0
  721. package/dist/time-picker-DdhW8GmD.d.ts +9 -0
  722. package/dist/toast.cva-LU7TGprV.d.ts +60 -0
  723. package/dist/toast.runtime-BZQH-7Ba.js +17 -0
  724. package/dist/toastActivation.store-BELtcr76.js +16 -0
  725. package/dist/toggle-group-CPkKHm1t.d.ts +9 -0
  726. package/dist/toggleGroup.types-DD6uRI5G.d.ts +58 -0
  727. package/dist/tooltipWrapper.cva-CUu8pI-a.js +5 -0
  728. package/dist/tw-ui-plugin.d.ts +4 -2
  729. package/dist/tw-ui-plugin.js +1 -1
  730. package/dist/types/index.d.ts +2 -0
  731. package/dist/types/index.js +0 -0
  732. package/dist/typography.cva-BI0FyIqm.js +129 -0
  733. package/dist/typography.cva-YaO6JLqU.d.ts +51 -0
  734. package/dist/uiConfig.context-BB7_zyOU.d.ts +126 -0
  735. package/dist/uiConfig.context-BvBsrMFI.js +366 -0
  736. package/dist/uiOverrides.context-Bfm2n-n8.js +399 -0
  737. package/dist/uiOverrides.context-C3xb4Ttq.d.ts +243 -0
  738. package/dist/useBreakpoint-CDKDB0E2.js +70 -0
  739. package/dist/useControlledState-BMVd3AOQ.js +189 -0
  740. package/dist/useFieldAccessibility-Bq-m3qhs.js +96 -0
  741. package/dist/useFilters-BxRScJdn.d.ts +11 -0
  742. package/dist/useFilters-KS2CQs_j.js +190 -0
  743. package/dist/useFocusable-BIU1drrg.js +63 -0
  744. package/dist/useFormAutosave-Bcbvu28I.js +198 -0
  745. package/dist/useFormValidationState-Dl-Nh0G1.js +1345 -0
  746. package/dist/useIntersectionObserver-DYfHnGGU.js +98 -0
  747. package/dist/useLayoutEffect-DN7Dbrb9.js +58 -0
  748. package/dist/useLocalStorage-DGsBUCT6.d.ts +13 -0
  749. package/dist/useLocalStorage-PlcaJ1tP.js +70 -0
  750. package/dist/useQueryAutocomplete-CraXvRm_.js +152 -0
  751. package/dist/useStaticInputHandoff-Denoy4V_.js +332 -0
  752. package/dist/useSyncRef-Dsn4Ybiw.js +338 -0
  753. package/dist/useTableColumnConfig-DSJeSKeA.js +1620 -0
  754. package/dist/useTableNav-Tu8UZxHA.d.ts +291 -0
  755. package/dist/useToast-NBGlVeFP.d.ts +16 -0
  756. package/dist/useTranslationMemo-CrZbeyBv.js +32 -0
  757. package/dist/useTranslationMemo-Dy3p6m1g.d.ts +6 -0
  758. package/dist/utils/compound-mapper.d.ts +2 -0
  759. package/dist/utils/compound-mapper.js +2 -0
  760. package/dist/utils/date-time.d.ts +2 -0
  761. package/dist/utils/date-time.js +2 -0
  762. package/dist/utils/date.d.ts +2 -0
  763. package/dist/utils/date.js +2 -0
  764. package/dist/utils/file.d.ts +2 -0
  765. package/dist/utils/file.js +2 -0
  766. package/dist/utils/intl.d.ts +2 -0
  767. package/dist/utils/intl.js +2 -0
  768. package/dist/utils/logger.d.ts +2 -7
  769. package/dist/utils/logger.js +1 -18
  770. package/dist/utils/string.d.ts +2 -0
  771. package/dist/utils/string.js +2 -0
  772. package/dist/utils-D3gCeElo.js +145 -0
  773. package/dist/x-BD2AijMA.js +16 -0
  774. package/dist/zod.utils-DrrPDT9v.js +24 -0
  775. package/package.json +1376 -25
  776. package/dist/assets/locales/en/translation.json.d.ts +0 -158
  777. package/dist/assets/locales/en/translation.json.js +0 -147
  778. package/dist/assets/locales/sl/translation.json.d.ts +0 -154
  779. package/dist/assets/locales/sl/translation.json.js +0 -145
  780. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -16
  781. package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -112
  782. package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +0 -45
  783. package/dist/components/Breadcrumbs/breadcrumbs.cva.js +0 -27
  784. package/dist/components/Menu/Menu.d.ts +0 -21
  785. package/dist/components/Menu/Menu.js +0 -27
  786. package/dist/components/Menu/MenuDesktop.d.ts +0 -2
  787. package/dist/components/Menu/MenuDesktop.js +0 -48
  788. package/dist/components/Menu/MenuItem.d.ts +0 -3
  789. package/dist/components/Menu/MenuItem.js +0 -46
  790. package/dist/components/Menu/MenuMobile.d.ts +0 -2
  791. package/dist/components/Menu/MenuMobile.js +0 -142
  792. package/dist/components/Menu/MenuPopover.d.ts +0 -5
  793. package/dist/components/Menu/MenuPopover.js +0 -121
  794. package/dist/components/Menu/menu.cva.d.ts +0 -39
  795. package/dist/components/Menu/menu.cva.js +0 -34
  796. package/dist/components/buttons/Button/Button.d.ts +0 -28
  797. package/dist/components/buttons/Button/Button.js +0 -66
  798. package/dist/components/buttons/Button/button.cva.d.ts +0 -99
  799. package/dist/components/buttons/Button/button.cva.js +0 -661
  800. package/dist/components/buttons/IconButton/IconButton.d.ts +0 -11
  801. package/dist/components/buttons/IconButton/IconButton.js +0 -51
  802. package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +0 -13
  803. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -15
  804. package/dist/components/buttons/PillButton/PillButton.d.ts +0 -12
  805. package/dist/components/buttons/PillButton/PillButton.js +0 -72
  806. package/dist/components/buttons/PillButton/pillButton.cva.d.ts +0 -40
  807. package/dist/components/buttons/PillButton/pillButton.cva.js +0 -264
  808. package/dist/components/buttons/SplitButton/SplitButton.d.ts +0 -12
  809. package/dist/components/buttons/SplitButton/SplitButton.js +0 -123
  810. package/dist/components/buttons/TextButton/TextButton.d.ts +0 -12
  811. package/dist/components/buttons/TextButton/TextButton.js +0 -36
  812. package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -9
  813. package/dist/components/buttons/ToggleButton/ToggleButton.js +0 -34
  814. package/dist/components/buttons/shared/ButtonContent.d.ts +0 -14
  815. package/dist/components/buttons/shared/ButtonContent.js +0 -37
  816. package/dist/components/buttons/shared/buttonContent.cva.d.ts +0 -8
  817. package/dist/components/buttons/shared/buttonContent.cva.js +0 -30
  818. package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -20
  819. package/dist/components/inputs/Checkbox/Checkbox.js +0 -236
  820. package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +0 -9
  821. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +0 -25
  822. package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +0 -26
  823. package/dist/components/inputs/Checkbox/CheckboxGroup.js +0 -392
  824. package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +0 -94
  825. package/dist/components/inputs/Checkbox/checkbox.cva.js +0 -161
  826. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +0 -41
  827. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -423
  828. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +0 -46
  829. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -884
  830. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +0 -41
  831. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -383
  832. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +0 -29
  833. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -649
  834. package/dist/components/inputs/DateTime/shared/Calendar.d.ts +0 -29
  835. package/dist/components/inputs/DateTime/shared/Calendar.js +0 -177
  836. package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -22
  837. package/dist/components/inputs/DateTime/shared/CalendarCell.js +0 -145
  838. package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -27
  839. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +0 -54
  840. package/dist/components/inputs/DateTime/shared/CalendarHeader.d.ts +0 -18
  841. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +0 -118
  842. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
  843. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -173
  844. package/dist/components/inputs/DateTime/shared/DateField.d.ts +0 -21
  845. package/dist/components/inputs/DateTime/shared/DateField.js +0 -156
  846. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +0 -46
  847. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +0 -197
  848. package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -28
  849. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +0 -124
  850. package/dist/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -18
  851. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +0 -101
  852. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -8
  853. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +0 -27
  854. package/dist/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -11
  855. package/dist/components/inputs/DateTime/shared/MonthPicker.js +0 -135
  856. package/dist/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -26
  857. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +0 -209
  858. package/dist/components/inputs/DateTime/shared/TimeField.d.ts +0 -12
  859. package/dist/components/inputs/DateTime/shared/TimeField.js +0 -38
  860. package/dist/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -10
  861. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +0 -328
  862. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -25
  863. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -244
  864. package/dist/components/inputs/DateTime/shared/YearPicker.d.ts +0 -12
  865. package/dist/components/inputs/DateTime/shared/YearPicker.js +0 -151
  866. package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +0 -5
  867. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +0 -16
  868. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +0 -16
  869. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
  870. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +0 -77
  871. package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
  872. package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
  873. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -41
  874. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +0 -99
  875. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
  876. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.d.ts +0 -2
  877. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +0 -33
  878. package/dist/components/inputs/File/FileUpload.d.ts +0 -4
  879. package/dist/components/inputs/File/FileUpload.js +0 -253
  880. package/dist/components/inputs/File/FileUploadContainer.d.ts +0 -3
  881. package/dist/components/inputs/File/FileUploadContainer.js +0 -22
  882. package/dist/components/inputs/File/InputUpload.d.ts +0 -4
  883. package/dist/components/inputs/File/InputUpload.js +0 -157
  884. package/dist/components/inputs/File/fileUpload.types.d.ts +0 -96
  885. package/dist/components/inputs/File/index.d.ts +0 -9
  886. package/dist/components/inputs/File/inputUpload.types.d.ts +0 -37
  887. package/dist/components/inputs/File/inputUpload.types.js +0 -9
  888. package/dist/components/inputs/File/shared/FileCard.d.ts +0 -9
  889. package/dist/components/inputs/File/shared/FileCard.js +0 -121
  890. package/dist/components/inputs/File/shared/FileCardList.d.ts +0 -9
  891. package/dist/components/inputs/File/shared/FileCardList.js +0 -60
  892. package/dist/components/inputs/File/shared/FileUploadContent.d.ts +0 -10
  893. package/dist/components/inputs/File/shared/FileUploadContent.js +0 -208
  894. package/dist/components/inputs/File/shared/FileUploadContentEmpty.d.ts +0 -9
  895. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +0 -58
  896. package/dist/components/inputs/File/shared/FileUploadContentError.d.ts +0 -11
  897. package/dist/components/inputs/File/shared/FileUploadContentError.js +0 -112
  898. package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
  899. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -117
  900. package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
  901. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -79
  902. package/dist/components/inputs/File/shared/InputUploadContent.d.ts +0 -9
  903. package/dist/components/inputs/File/shared/InputUploadContent.js +0 -169
  904. package/dist/components/inputs/File/shared/InputUploadFilled.d.ts +0 -8
  905. package/dist/components/inputs/File/shared/InputUploadFilled.js +0 -69
  906. package/dist/components/inputs/File/shared/ProgressBar.d.ts +0 -6
  907. package/dist/components/inputs/File/shared/ProgressBar.js +0 -33
  908. package/dist/components/inputs/File/shared/fileUpload.cva.d.ts +0 -17
  909. package/dist/components/inputs/File/shared/fileUpload.cva.js +0 -42
  910. package/dist/components/inputs/File/shared/inputUploadButton.cva.d.ts +0 -27
  911. package/dist/components/inputs/File/shared/inputUploadButton.cva.js +0 -39
  912. package/dist/components/inputs/File/shared/progressBar.cva.d.ts +0 -38
  913. package/dist/components/inputs/File/shared/progressBar.cva.js +0 -28
  914. package/dist/components/inputs/FormField/FormField.d.ts +0 -20
  915. package/dist/components/inputs/FormField/FormField.js +0 -127
  916. package/dist/components/inputs/FormField/FormFieldError.d.ts +0 -7
  917. package/dist/components/inputs/FormField/FormFieldError.js +0 -33
  918. package/dist/components/inputs/FormField/FormFieldHeader.d.ts +0 -14
  919. package/dist/components/inputs/FormField/FormFieldHeader.js +0 -97
  920. package/dist/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -5
  921. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +0 -41
  922. package/dist/components/inputs/FormField/FormFieldHelper.d.ts +0 -8
  923. package/dist/components/inputs/FormField/FormFieldHelper.js +0 -34
  924. package/dist/components/inputs/FormField/FormFieldLabel.d.ts +0 -13
  925. package/dist/components/inputs/FormField/FormFieldLabel.js +0 -59
  926. package/dist/components/inputs/FormField/formFieldError.cva.d.ts +0 -13
  927. package/dist/components/inputs/FormField/formFieldError.cva.js +0 -14
  928. package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +0 -13
  929. package/dist/components/inputs/FormField/formFieldHeader.cva.js +0 -14
  930. package/dist/components/inputs/FormField/formFieldHelper.cva.d.ts +0 -13
  931. package/dist/components/inputs/FormField/formFieldHelper.cva.js +0 -14
  932. package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +0 -23
  933. package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -494
  934. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -46
  935. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -582
  936. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -36
  937. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -338
  938. package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +0 -7
  939. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -61
  940. package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +0 -8
  941. package/dist/components/inputs/Input/TextArea/TextArea.cva.js +0 -5
  942. package/dist/components/inputs/Input/TextArea/TextArea.d.ts +0 -19
  943. package/dist/components/inputs/Input/TextArea/TextArea.js +0 -346
  944. package/dist/components/inputs/Input/TextInput/TextInput.d.ts +0 -23
  945. package/dist/components/inputs/Input/TextInput/TextInput.js +0 -470
  946. package/dist/components/inputs/Input/shared/InputContent.d.ts +0 -29
  947. package/dist/components/inputs/Input/shared/InputContent.js +0 -213
  948. package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
  949. package/dist/components/inputs/Input/shared/numberStatic.utils.js +0 -7
  950. package/dist/components/inputs/Inputs/Form.d.ts +0 -26
  951. package/dist/components/inputs/Inputs/Form.js +0 -73
  952. package/dist/components/inputs/Inputs/InputItem.d.ts +0 -67
  953. package/dist/components/inputs/Inputs/InputItem.js +0 -112
  954. package/dist/components/inputs/Inputs/Inputs.d.ts +0 -10
  955. package/dist/components/inputs/Inputs/Inputs.js +0 -43
  956. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +0 -22
  957. package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -371
  958. package/dist/components/inputs/RadioGroup/radio.cva.d.ts +0 -62
  959. package/dist/components/inputs/RadioGroup/radio.cva.js +0 -85
  960. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +0 -12
  961. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +0 -165
  962. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +0 -4
  963. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -176
  964. package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +0 -39
  965. package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +0 -15
  966. package/dist/components/inputs/Selection/Select/QuerySelect.js +0 -172
  967. package/dist/components/inputs/Selection/Select/Select.d.ts +0 -12
  968. package/dist/components/inputs/Selection/Select/Select.js +0 -235
  969. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +0 -38
  970. package/dist/components/inputs/Selection/shared/SelectBase.js +0 -82
  971. package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +0 -5
  972. package/dist/components/inputs/Selection/shared/SelectDesktop.js +0 -421
  973. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
  974. package/dist/components/inputs/Selection/shared/SelectInput.js +0 -470
  975. package/dist/components/inputs/Selection/shared/SelectInputTags.d.ts +0 -12
  976. package/dist/components/inputs/Selection/shared/SelectInputTags.js +0 -105
  977. package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +0 -9
  978. package/dist/components/inputs/Selection/shared/SelectListBox.js +0 -75
  979. package/dist/components/inputs/Selection/shared/SelectListBoxItem.d.ts +0 -7
  980. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +0 -104
  981. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +0 -4
  982. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +0 -88
  983. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +0 -6
  984. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +0 -89
  985. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -5
  986. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +0 -76
  987. package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +0 -5
  988. package/dist/components/inputs/Selection/shared/SelectMobile.js +0 -128
  989. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
  990. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +0 -47
  991. package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +0 -15
  992. package/dist/components/inputs/Selection/shared/querySelect.utils.js +0 -44
  993. package/dist/components/inputs/Selection/shared/select.context.d.ts +0 -32
  994. package/dist/components/inputs/Selection/shared/select.context.js +0 -231
  995. package/dist/components/inputs/Selection/shared/select.types.d.ts +0 -64
  996. package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +0 -6
  997. package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +0 -5
  998. package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +0 -12
  999. package/dist/components/inputs/Selection/shared/selectInput.cva.js +0 -8
  1000. package/dist/components/inputs/Selection/shared/selectItem.cva.d.ts +0 -16
  1001. package/dist/components/inputs/Selection/shared/selectItem.cva.js +0 -24
  1002. package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
  1003. package/dist/components/inputs/Selection/shared/staticSelect.utils.js +0 -54
  1004. package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
  1005. package/dist/components/inputs/Selection/shared/useSelectItems.d.ts +0 -23
  1006. package/dist/components/inputs/Selection/shared/useSelectItems.js +0 -84
  1007. package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -84
  1008. package/dist/components/inputs/Skeleton/InputFrame.js +0 -242
  1009. package/dist/components/inputs/Slider/Slider.d.ts +0 -19
  1010. package/dist/components/inputs/Slider/Slider.js +0 -285
  1011. package/dist/components/inputs/TextEditor/TextEditor.d.ts +0 -22
  1012. package/dist/components/inputs/TextEditor/TextEditor.js +0 -199
  1013. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -7
  1014. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +0 -44
  1015. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -10
  1016. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +0 -128
  1017. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +0 -2
  1018. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +0 -221
  1019. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +0 -2
  1020. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +0 -103
  1021. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +0 -2
  1022. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +0 -58
  1023. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -6
  1024. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +0 -79
  1025. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +0 -2
  1026. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +0 -59
  1027. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
  1028. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -103
  1029. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
  1030. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -138
  1031. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +0 -2
  1032. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +0 -157
  1033. package/dist/components/inputs/TextEditor/textEditor.types.d.ts +0 -5
  1034. package/dist/components/inputs/TextEditor/textEditor.types.js +0 -40
  1035. package/dist/components/inputs/Toggle/Toggle.d.ts +0 -16
  1036. package/dist/components/inputs/Toggle/Toggle.js +0 -234
  1037. package/dist/components/inputs/Toggle/toggle.cva.d.ts +0 -19
  1038. package/dist/components/inputs/Toggle/toggle.cva.js +0 -35
  1039. package/dist/components/inputs/shared/CheckContent.d.ts +0 -9
  1040. package/dist/components/inputs/shared/CheckContent.js +0 -29
  1041. package/dist/components/inputs/shared/InputClear.d.ts +0 -10
  1042. package/dist/components/inputs/shared/InputClear.js +0 -117
  1043. package/dist/components/inputs/shared/TooltipWrapper.d.ts +0 -10
  1044. package/dist/components/inputs/shared/TooltipWrapper.js +0 -60
  1045. package/dist/components/inputs/shared/form.binding.d.ts +0 -27
  1046. package/dist/components/inputs/shared/form.binding.js +0 -57
  1047. package/dist/components/inputs/shared/form.types.d.ts +0 -13
  1048. package/dist/components/inputs/shared/form.types.js +0 -8
  1049. package/dist/components/inputs/shared/input.cva.d.ts +0 -90
  1050. package/dist/components/inputs/shared/input.cva.js +0 -334
  1051. package/dist/components/inputs/shared/label.cva.d.ts +0 -19
  1052. package/dist/components/inputs/shared/label.cva.js +0 -74
  1053. package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +0 -8
  1054. package/dist/components/inputs/shared/tooltipWrapper.cva.js +0 -5
  1055. package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -15
  1056. package/dist/components/inputs/shared/useStaticInputHandoff.js +0 -138
  1057. package/dist/components/navigation/Accordion/Accordion.d.ts +0 -3
  1058. package/dist/components/navigation/Accordion/Accordion.js +0 -34
  1059. package/dist/components/navigation/Accordion/AccordionItem.d.ts +0 -2
  1060. package/dist/components/navigation/Accordion/AccordionItem.js +0 -63
  1061. package/dist/components/navigation/Accordion/accordion.cva.d.ts +0 -110
  1062. package/dist/components/navigation/Accordion/accordion.cva.js +0 -129
  1063. package/dist/components/navigation/Accordion/accordion.types.d.ts +0 -52
  1064. package/dist/components/navigation/Stepper/Stepper.d.ts +0 -2
  1065. package/dist/components/navigation/Stepper/Stepper.js +0 -34
  1066. package/dist/components/navigation/Stepper/StepperItem.d.ts +0 -2
  1067. package/dist/components/navigation/Stepper/StepperItem.js +0 -126
  1068. package/dist/components/navigation/Stepper/StepperSeparator.d.ts +0 -5
  1069. package/dist/components/navigation/Stepper/StepperSeparator.js +0 -30
  1070. package/dist/components/navigation/Stepper/stepper.cva.d.ts +0 -93
  1071. package/dist/components/navigation/Stepper/stepper.cva.js +0 -116
  1072. package/dist/components/navigation/Stepper/stepper.types.d.ts +0 -41
  1073. package/dist/components/outline.clsx.d.ts +0 -2
  1074. package/dist/components/outline.clsx.js +0 -6
  1075. package/dist/components/overlays/ActionModal/ActionModal.d.ts +0 -24
  1076. package/dist/components/overlays/ActionModal/ActionModal.js +0 -54
  1077. package/dist/components/overlays/BottomSheet/BottomSheet.d.ts +0 -32
  1078. package/dist/components/overlays/BottomSheet/BottomSheet.js +0 -328
  1079. package/dist/components/overlays/BottomSheet/BottomSheetHeader.d.ts +0 -13
  1080. package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +0 -78
  1081. package/dist/components/overlays/Drawer/Drawer.d.ts +0 -15
  1082. package/dist/components/overlays/Drawer/Drawer.js +0 -95
  1083. package/dist/components/overlays/Modal/Modal.d.ts +0 -15
  1084. package/dist/components/overlays/Modal/Modal.js +0 -55
  1085. package/dist/components/overlays/Modal/modal.cva.d.ts +0 -37
  1086. package/dist/components/overlays/Modal/modal.cva.js +0 -44
  1087. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -17
  1088. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -45
  1089. package/dist/components/overlays/Tooltip/Tooltip.d.ts +0 -13
  1090. package/dist/components/overlays/Tooltip/Tooltip.js +0 -170
  1091. package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -8
  1092. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +0 -46
  1093. package/dist/components/overlays/Tooltip/tooltip.cva.d.ts +0 -49
  1094. package/dist/components/overlays/Tooltip/tooltip.cva.js +0 -44
  1095. package/dist/components/segment/Segment.d.ts +0 -4
  1096. package/dist/components/segment/Segment.js +0 -245
  1097. package/dist/components/segment/SegmentItem.d.ts +0 -2
  1098. package/dist/components/segment/SegmentItem.js +0 -85
  1099. package/dist/components/segment/segment.cva.d.ts +0 -20
  1100. package/dist/components/segment/segment.cva.js +0 -30
  1101. package/dist/components/segment/segment.types.d.ts +0 -36
  1102. package/dist/components/shared/pagination/Pagination.d.ts +0 -9
  1103. package/dist/components/shared/pagination/Pagination.js +0 -45
  1104. package/dist/components/shared/pagination/PaginationList.d.ts +0 -15
  1105. package/dist/components/shared/pagination/PaginationList.js +0 -207
  1106. package/dist/components/shared/pagination/minWidth.cva.d.ts +0 -3
  1107. package/dist/components/shared/pagination/minWidth.cva.js +0 -11
  1108. package/dist/components/shared/popover.cva.d.ts +0 -8
  1109. package/dist/components/shared/popover.cva.js +0 -5
  1110. package/dist/components/status/Alert/Alert.d.ts +0 -11
  1111. package/dist/components/status/Alert/Alert.js +0 -47
  1112. package/dist/components/status/Alert/alert.cva.d.ts +0 -19
  1113. package/dist/components/status/Alert/alert.cva.js +0 -67
  1114. package/dist/components/status/Loader/Loader.d.ts +0 -5
  1115. package/dist/components/status/Loader/Loader.js +0 -89
  1116. package/dist/components/status/Loader/loader.cva.d.ts +0 -28
  1117. package/dist/components/status/Loader/loader.cva.js +0 -27
  1118. package/dist/components/status/Toast/Toast.d.ts +0 -14
  1119. package/dist/components/status/Toast/Toast.js +0 -82
  1120. package/dist/components/status/Toast/toast.cva.d.ts +0 -80
  1121. package/dist/components/status/Toast/toast.cva.js +0 -211
  1122. package/dist/components/status/Toast/useToast.d.ts +0 -13
  1123. package/dist/components/status/Toast/useToast.js +0 -70
  1124. package/dist/components/status/shared/status.cva.d.ts +0 -30
  1125. package/dist/components/status/shared/status.cva.js +0 -65
  1126. package/dist/components/table/CellText.d.ts +0 -8
  1127. package/dist/components/table/CellText.js +0 -21
  1128. package/dist/components/table/ColumnConfig.d.ts +0 -10
  1129. package/dist/components/table/ColumnConfig.js +0 -187
  1130. package/dist/components/table/HeaderText.d.ts +0 -8
  1131. package/dist/components/table/HeaderText.js +0 -20
  1132. package/dist/components/table/InfiniteTable.d.ts +0 -9
  1133. package/dist/components/table/InfiniteTable.js +0 -28
  1134. package/dist/components/table/PaginatedTable.d.ts +0 -11
  1135. package/dist/components/table/PaginatedTable.js +0 -94
  1136. package/dist/components/table/Table.d.ts +0 -37
  1137. package/dist/components/table/Table.js +0 -265
  1138. package/dist/components/table/table.cva.d.ts +0 -65
  1139. package/dist/components/table/table.cva.js +0 -49
  1140. package/dist/components/text/Link/Link.d.ts +0 -9
  1141. package/dist/components/text/Link/Link.js +0 -33
  1142. package/dist/components/text/Link/link.cva.d.ts +0 -12
  1143. package/dist/components/text/Link/link.cva.js +0 -12
  1144. package/dist/components/text/Pill/Pill.d.ts +0 -15
  1145. package/dist/components/text/Pill/Pill.js +0 -44
  1146. package/dist/components/text/Tag/Tag.d.ts +0 -15
  1147. package/dist/components/text/Tag/Tag.js +0 -43
  1148. package/dist/components/text/Tag/tag.cva.d.ts +0 -16
  1149. package/dist/components/text/Tag/tag.cva.js +0 -55
  1150. package/dist/components/text/Typography/Typography.d.ts +0 -11
  1151. package/dist/components/text/Typography/Typography.js +0 -16
  1152. package/dist/components/text/Typography/typography.cva.d.ts +0 -49
  1153. package/dist/components/text/Typography/typography.cva.js +0 -129
  1154. package/dist/config/confirmation.context.d.ts +0 -20
  1155. package/dist/config/confirmation.context.js +0 -80
  1156. package/dist/config/i18n.d.ts +0 -313
  1157. package/dist/config/i18n.js +0 -10
  1158. package/dist/config/link.context.d.ts +0 -10
  1159. package/dist/config/link.context.js +0 -35
  1160. package/dist/config/router.context.d.ts +0 -14
  1161. package/dist/config/router.context.js +0 -63
  1162. package/dist/config/theme.context.d.ts +0 -17
  1163. package/dist/config/theme.context.js +0 -67
  1164. package/dist/config/uiConfig.context.d.ts +0 -77
  1165. package/dist/config/uiConfig.context.js +0 -132
  1166. package/dist/config/uiOverrides.context.d.ts +0 -205
  1167. package/dist/config/uiOverrides.context.js +0 -113
  1168. package/dist/helpers/dynamicColumns.d.ts +0 -44
  1169. package/dist/helpers/dynamicColumns.js +0 -275
  1170. package/dist/helpers/dynamicInputs.d.ts +0 -86
  1171. package/dist/helpers/dynamicInputs.js +0 -193
  1172. package/dist/hooks/useAutosave.d.ts +0 -10
  1173. package/dist/hooks/useAutosave.js +0 -87
  1174. package/dist/hooks/useBreakpoint.d.ts +0 -3
  1175. package/dist/hooks/useBreakpoint.js +0 -43
  1176. package/dist/hooks/useDebounceCallback.d.ts +0 -6
  1177. package/dist/hooks/useDebounceCallback.js +0 -25
  1178. package/dist/hooks/useDeepCompare.d.ts +0 -4
  1179. package/dist/hooks/useDeepCompare.js +0 -23
  1180. package/dist/hooks/useFilters.d.ts +0 -8
  1181. package/dist/hooks/useFilters.js +0 -188
  1182. package/dist/hooks/useForm.d.ts +0 -42
  1183. package/dist/hooks/useForm.js +0 -101
  1184. package/dist/hooks/useFormAutosave.d.ts +0 -14
  1185. package/dist/hooks/useFormAutosave.js +0 -73
  1186. package/dist/hooks/useFormAutosave.spec.d.ts +0 -1
  1187. package/dist/hooks/useIntersectionObserver.d.ts +0 -8
  1188. package/dist/hooks/useIntersectionObserver.js +0 -98
  1189. package/dist/hooks/useKeyInteractions.d.ts +0 -20
  1190. package/dist/hooks/useKeyInteractions.js +0 -54
  1191. package/dist/hooks/useKeyInteractions.spec.d.ts +0 -1
  1192. package/dist/hooks/useLocalStorage.d.ts +0 -11
  1193. package/dist/hooks/useLocalStorage.js +0 -70
  1194. package/dist/hooks/useLongPressRepeat.d.ts +0 -9
  1195. package/dist/hooks/useLongPressRepeat.js +0 -29
  1196. package/dist/hooks/usePagination.d.ts +0 -7
  1197. package/dist/hooks/usePagination.js +0 -62
  1198. package/dist/hooks/useQueryAutocomplete.d.ts +0 -13
  1199. package/dist/hooks/useQueryAutocomplete.js +0 -103
  1200. package/dist/hooks/useScrollableListBox.d.ts +0 -3
  1201. package/dist/hooks/useScrollableListBox.js +0 -47
  1202. package/dist/hooks/useSorting.d.ts +0 -6
  1203. package/dist/hooks/useSorting.js +0 -80
  1204. package/dist/hooks/useStateAndRef.d.ts +0 -4
  1205. package/dist/hooks/useStateAndRef.js +0 -31
  1206. package/dist/hooks/useTableColumnConfig.d.ts +0 -16
  1207. package/dist/hooks/useTableColumnConfig.js +0 -133
  1208. package/dist/hooks/useTableNav.d.ts +0 -84
  1209. package/dist/hooks/useTableNav.js +0 -383
  1210. package/dist/hooks/useTranslationMemo.d.ts +0 -4
  1211. package/dist/hooks/useTranslationMemo.js +0 -32
  1212. package/dist/rhf/Inputs.d.ts +0 -60
  1213. package/dist/rhf/Inputs.js +0 -148
  1214. package/dist/rhf/components.d.ts +0 -80
  1215. package/dist/rhf/components.js +0 -101
  1216. package/dist/rhf/dynamicInputs.d.ts +0 -18
  1217. package/dist/rhf/dynamicInputs.js +0 -5
  1218. package/dist/rhf/entrypoints.type-test.d.ts +0 -1
  1219. package/dist/rhf/fieldAdapter.d.ts +0 -7
  1220. package/dist/rhf/fieldAdapter.js +0 -40
  1221. package/dist/rhf/form.types.d.ts +0 -12
  1222. package/dist/rhf/useAutosave.d.ts +0 -10
  1223. package/dist/rhf/useAutosave.js +0 -71
  1224. package/dist/rhf/useForm.d.ts +0 -18
  1225. package/dist/rhf/useForm.js +0 -48
  1226. package/dist/rhf/useFormAutosave.d.ts +0 -15
  1227. package/dist/rhf/useFormAutosave.js +0 -59
  1228. package/dist/text-editor.d.ts +0 -2
  1229. package/dist/text-editor.js +0 -2
  1230. package/dist/types/common.d.ts +0 -12
  1231. package/dist/types/error-handling.d.ts +0 -6
  1232. package/dist/types/react-query.d.ts +0 -6
  1233. package/dist/utils/array.utils.d.ts +0 -3
  1234. package/dist/utils/array.utils.js +0 -10
  1235. package/dist/utils/array.utils.spec.d.ts +0 -1
  1236. package/dist/utils/compoundMapper.d.ts +0 -19
  1237. package/dist/utils/compoundMapper.js +0 -13
  1238. package/dist/utils/compoundMapper.spec.d.ts +0 -1
  1239. package/dist/utils/date-time.utils.d.ts +0 -42
  1240. package/dist/utils/date-time.utils.js +0 -192
  1241. package/dist/utils/date-time.utils.spec.d.ts +0 -1
  1242. package/dist/utils/date.utils.d.ts +0 -5
  1243. package/dist/utils/date.utils.js +0 -19
  1244. package/dist/utils/date.utils.spec.d.ts +0 -1
  1245. package/dist/utils/dom.utils.d.ts +0 -5
  1246. package/dist/utils/dom.utils.js +0 -19
  1247. package/dist/utils/file.utils.d.ts +0 -13
  1248. package/dist/utils/file.utils.js +0 -50
  1249. package/dist/utils/intl.utils.d.ts +0 -7
  1250. package/dist/utils/intl.utils.js +0 -38
  1251. package/dist/utils/intl.utils.spec.d.ts +0 -1
  1252. package/dist/utils/isEqual.d.ts +0 -1
  1253. package/dist/utils/isEqual.js +0 -59
  1254. package/dist/utils/object.utils.d.ts +0 -10
  1255. package/dist/utils/object.utils.js +0 -38
  1256. package/dist/utils/queries.utils.d.ts +0 -4
  1257. package/dist/utils/queries.utils.js +0 -9
  1258. package/dist/utils/query.utils.d.ts +0 -4
  1259. package/dist/utils/query.utils.js +0 -8
  1260. package/dist/utils/rest.utils.d.ts +0 -10
  1261. package/dist/utils/rest.utils.js +0 -33
  1262. package/dist/utils/routing.utils.d.ts +0 -4
  1263. package/dist/utils/routing.utils.js +0 -25
  1264. package/dist/utils/string.utils.d.ts +0 -4
  1265. package/dist/utils/string.utils.js +0 -12
  1266. package/dist/utils/style-merge.util.d.ts +0 -43
  1267. package/dist/utils/style-merge.util.js +0 -233
  1268. package/dist/utils/style-merge.util.spec.d.ts +0 -1
  1269. package/dist/utils/zod.utils.d.ts +0 -20
  1270. package/dist/utils/zod.utils.js +0 -24
  1271. /package/dist/styles/{editor.css → styles/editor.css} +0 -0
@@ -0,0 +1,73 @@
1
+ import { t as X } from "../x-BD2AijMA.js";
2
+ import { t as clsx } from "../clsx-CnD0nOiA.js";
3
+ import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-CRlZqaJq.js";
4
+ import { t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "../ToggleButton-C966bfpT.js";
5
+ import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
6
+ import { t as ButtonContent } from "../ButtonContent-CohuJJzG.js";
7
+ import { a as pillButtonTypography, i as pillButtonIconSize, r as pillButtonDefinition, t as pillButtonContent } from "../pillButton.cva-6tjADUQ6.js";
8
+ import { c } from "react/compiler-runtime";
9
+ import { jsx } from "react/jsx-runtime";
10
+ //#region src/components/buttons/PillButton/PillButton.tsx
11
+ const PillButton = (t0) => {
12
+ const $ = c(17);
13
+ const { children, dismissable, toggle, icon, iconPosition, contentRef, ...props } = t0;
14
+ const pillButtonCva = UIOverrides.useCva("pillButton.cva", pillButtonDefinition);
15
+ const pillButtonTypographyMap = UIOverrides.useMapper("pillButton.typography", pillButtonTypography);
16
+ const Component = toggle ? $75afe627ae0cc0fa$export$d2b052e7b4be1756 : $7705c033048f6da7$export$353f5b6fc5456de1;
17
+ let t1;
18
+ if ($[0] !== dismissable || $[1] !== icon || $[2] !== iconPosition) {
19
+ t1 = () => {
20
+ if (dismissable) return "right";
21
+ return icon ? iconPosition : "none";
22
+ };
23
+ $[0] = dismissable;
24
+ $[1] = icon;
25
+ $[2] = iconPosition;
26
+ $[3] = t1;
27
+ } else t1 = $[3];
28
+ const getIconPosition = t1;
29
+ const t2 = clsx(pillButtonCva({
30
+ ...props,
31
+ className: props.className
32
+ }), pillButtonContent({ iconPosition: getIconPosition() }));
33
+ const T0 = ButtonContent;
34
+ const t3 = dismissable ? X : icon;
35
+ const t4 = dismissable ? "right" : iconPosition;
36
+ const t5 = pillButtonIconSize;
37
+ const t6 = pillButtonTypographyMap({ ...props });
38
+ let t7;
39
+ if ($[4] !== T0 || $[5] !== children || $[6] !== contentRef || $[7] !== t3 || $[8] !== t4 || $[9] !== t5 || $[10] !== t6) {
40
+ t7 = /* @__PURE__ */ jsx(T0, {
41
+ ref: contentRef,
42
+ content: children,
43
+ icon: t3,
44
+ iconPosition: t4,
45
+ iconClassName: t5,
46
+ typography: t6
47
+ });
48
+ $[4] = T0;
49
+ $[5] = children;
50
+ $[6] = contentRef;
51
+ $[7] = t3;
52
+ $[8] = t4;
53
+ $[9] = t5;
54
+ $[10] = t6;
55
+ $[11] = t7;
56
+ } else t7 = $[11];
57
+ let t8;
58
+ if ($[12] !== Component || $[13] !== props || $[14] !== t2 || $[15] !== t7) {
59
+ t8 = /* @__PURE__ */ jsx(Component, {
60
+ ...props,
61
+ className: t2,
62
+ children: t7
63
+ });
64
+ $[12] = Component;
65
+ $[13] = props;
66
+ $[14] = t2;
67
+ $[15] = t7;
68
+ $[16] = t8;
69
+ } else t8 = $[16];
70
+ return t8;
71
+ };
72
+ //#endregion
73
+ export { PillButton };
@@ -0,0 +1 @@
1
+ export { Popover, type PopoverProps, type PopoverRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useCallback as a,useContext as o,useEffect as s,useMemo as c,useRef as l,useState as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"react-aria/useObjectRef";import{filterDOMProps as p}from"react-aria/filterDOMProps";import{useIsHidden as m}from"react-aria/private/collections/Hidden";import"react-aria/useId";import{useLocale as h}from"react-aria/I18nProvider";import{usePopover as g}from"react-aria/usePopover";import{DismissButton as _,Overlay as v}from"react-aria/Overlay";import{focusSafely as y}from"react-aria/private/interactions/focusSafely";import{getInteractionModality as b}from"react-aria/private/interactions/useFocusVisible";import{isFocusWithin as x}from"react-aria/private/utils/shadowdom/DOMFunctions";import{useOverlayTriggerState as S}from"react-stately/useOverlayTriggerState";import{useEnterAnimation as C,useExitAnimation as w}from"react-aria/private/utils/animation";import{useResizeObserver as T}from"react-aria/private/utils/useResizeObserver";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";const E=Symbol(`default`);function D(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:l}=e;return c(()=>{let e,c,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,c=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:c||o?{...o,...c}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,s):void 0}},[t,n,r,i,a,o,s,l])}function O(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||E;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function k(n,r,i){let{ref:a,...o}=O(i,n.slot)||{},s=f(c(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,s]}function A(e,r,i){let{render:a,...o}=r,s=l(null),u=c(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:u};return a?a(f,void 0):n.createElement(e,f)}const j={},M=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=j[t];return n||(n=i(A.bind(null,t)),j[t]=n),n}}),N=r({placement:`bottom`}),P=r(null),F=r(null),I=i(function(e,t){[e,t]=k(e,t,P);let r=o(R),i=S(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,s=w(t,a.isOpen),c=e.isExiting||!e.shouldSkipAnimation&&s||!1,l=m(),{direction:u}=h();if(l){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),n.createElement(n.Fragment,null,t)}return a&&!a.isOpen&&!c?null:n.createElement(L,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:c,dir:u})});function L({state:t,isExiting:r,UNSTABLE_portalContainer:i,clearContexts:f,...m}){let h=l(null),S=l(null),w=o(F),E=w&&m.trigger===`SubmenuTrigger`,{popoverProps:O,underlayProps:k,arrowProps:A,placement:j,triggerAnchorPoint:P}=g({...m,offset:m.offset??8,arrowRef:h,groupRef:E?w:S},t),I=m.popoverRef,L=C(I,!!j),R=m.isEntering||!m.shouldSkipAnimation&&L||!1,z=D({...m,defaultClassName:`react-aria-Popover`,values:{trigger:m.trigger||null,placement:j,isEntering:R,isExiting:r}}),B=!m.isNonModal||m.trigger===`SubmenuTrigger`||m.trigger===`PreviewTrigger`,[V,H]=u(m.trigger===`PreviewTrigger`);d(()=>{I.current&&H(B&&!I.current.querySelector(`[role=dialog]`))},[I,B]),s(()=>{V&&m.trigger!==`PreviewTrigger`&&(m.trigger!==`SubmenuTrigger`||b()!==`pointer`)&&I.current&&!x(I.current)&&y(I.current)},[V,I,m.trigger]);let U=c(()=>{let e=z.children;if(f)for(let t of f)e=n.createElement(t.Provider,{value:null},e);return e},[z.children,f]),[W,G]=u(null),K=a(()=>{m.triggerRef.current&&G(m.triggerRef.current.getBoundingClientRect().width+`px`)},[m.triggerRef]);d(K,[K]),T({ref:z.style?.[`--trigger-width`]?void 0:m.triggerRef,onResize:K});let q={...O.style,"--trigger-anchor-point":P?`${P.x}px ${P.y}px`:void 0,...z.style,"--trigger-width":z.style?.[`--trigger-width`]||W},J=n.createElement(M.div,{...e(p(m,{global:!0}),O),...z,id:V?m.id:void 0,role:V?`dialog`:void 0,tabIndex:V?-1:void 0,"aria-label":m[`aria-label`],"aria-labelledby":m[`aria-labelledby`],ref:I,slot:m.slot||void 0,style:q,dir:m.dir,"data-trigger":m.trigger,"data-placement":j,"data-entering":R||void 0,"data-exiting":r||void 0},!m.isNonModal&&n.createElement(_,{onDismiss:t.close}),n.createElement(N.Provider,{value:{...A,placement:j,ref:h}},U),n.createElement(_,{onDismiss:t.close}));return E?n.createElement(v,{...m,shouldContainFocus:V&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i??w?.current??void 0},J):n.createElement(v,{...m,shouldContainFocus:V&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i},!m.isNonModal&&t.isOpen&&n.createElement(`div`,{"data-testid":`underlay`,...k,style:{position:`fixed`,inset:0}}),n.createElement(`div`,{ref:S,style:{display:`contents`}},n.createElement(F.Provider,{value:S},J)))}const R=r(null);export{I as Popover};
@@ -0,0 +1,2 @@
1
+ import { n as PopoverProps, t as Popover } from "../Popover-C0_-TLl_.js";
2
+ export { Popover, PopoverProps };
@@ -0,0 +1,126 @@
1
+ import { t as clsx } from "../clsx-CnD0nOiA.js";
2
+ import { c as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-CLWfxiie.js";
3
+ import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
4
+ import { BottomSheet } from "./bottom-sheet.js";
5
+ import { t as useBreakpoint } from "../useBreakpoint-CDKDB0E2.js";
6
+ import { t as popoverDefinition } from "../popover.cva-CXha_UMQ.js";
7
+ import { c } from "react/compiler-runtime";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
+ //#region src/components/overlays/Popover/Popover.tsx
10
+ const Popover = (t0) => {
11
+ const $ = c(33);
12
+ const { trigger, isOpen, onOpenChange, children, popoverClassName, sheetLabel, bottomSheetProps, popoverProps } = t0;
13
+ const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
14
+ const isDesktop = useBreakpoint("md");
15
+ let t1;
16
+ if ($[0] !== popoverProps) {
17
+ t1 = popoverProps ?? {};
18
+ $[0] = popoverProps;
19
+ $[1] = t1;
20
+ } else t1 = $[1];
21
+ let restPopoverProps;
22
+ let t2;
23
+ let t3;
24
+ if ($[2] !== t1) {
25
+ ({offset: t2, placement: t3, ...restPopoverProps} = t1);
26
+ $[2] = t1;
27
+ $[3] = restPopoverProps;
28
+ $[4] = t2;
29
+ $[5] = t3;
30
+ } else {
31
+ restPopoverProps = $[3];
32
+ t2 = $[4];
33
+ t3 = $[5];
34
+ }
35
+ const offset = t2 === void 0 ? 0 : t2;
36
+ const placement = t3 === void 0 ? "bottom start" : t3;
37
+ if (!isDesktop) {
38
+ let t4;
39
+ if ($[6] !== children) {
40
+ t4 = /* @__PURE__ */ jsx("div", {
41
+ className: "p-4",
42
+ children
43
+ });
44
+ $[6] = children;
45
+ $[7] = t4;
46
+ } else t4 = $[7];
47
+ let t5;
48
+ if ($[8] !== bottomSheetProps || $[9] !== isOpen || $[10] !== onOpenChange || $[11] !== sheetLabel || $[12] !== t4 || $[13] !== trigger) {
49
+ t5 = /* @__PURE__ */ jsx(BottomSheet, {
50
+ height: "auto",
51
+ isDismissable: true,
52
+ label: sheetLabel,
53
+ ...bottomSheetProps,
54
+ isOpen,
55
+ onOpenChange,
56
+ trigger,
57
+ children: t4
58
+ });
59
+ $[8] = bottomSheetProps;
60
+ $[9] = isOpen;
61
+ $[10] = onOpenChange;
62
+ $[11] = sheetLabel;
63
+ $[12] = t4;
64
+ $[13] = trigger;
65
+ $[14] = t5;
66
+ } else t5 = $[14];
67
+ return t5;
68
+ }
69
+ let t4;
70
+ if ($[15] !== popoverClassName) {
71
+ t4 = clsx("my-4 outline-none", popoverClassName);
72
+ $[15] = popoverClassName;
73
+ $[16] = t4;
74
+ } else t4 = $[16];
75
+ let t5;
76
+ if ($[17] !== popoverCva) {
77
+ t5 = clsx(popoverCva({}), "overflow-hidden p-2");
78
+ $[17] = popoverCva;
79
+ $[18] = t5;
80
+ } else t5 = $[18];
81
+ let t6;
82
+ if ($[19] !== children || $[20] !== t5) {
83
+ t6 = /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
84
+ className: "outline-none",
85
+ children: /* @__PURE__ */ jsx("div", {
86
+ className: t5,
87
+ children
88
+ })
89
+ });
90
+ $[19] = children;
91
+ $[20] = t5;
92
+ $[21] = t6;
93
+ } else t6 = $[21];
94
+ let t7;
95
+ if ($[22] !== offset || $[23] !== placement || $[24] !== restPopoverProps || $[25] !== t4 || $[26] !== t6) {
96
+ t7 = /* @__PURE__ */ jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
97
+ ...restPopoverProps,
98
+ className: t4,
99
+ offset,
100
+ placement,
101
+ children: t6
102
+ });
103
+ $[22] = offset;
104
+ $[23] = placement;
105
+ $[24] = restPopoverProps;
106
+ $[25] = t4;
107
+ $[26] = t6;
108
+ $[27] = t7;
109
+ } else t7 = $[27];
110
+ let t8;
111
+ if ($[28] !== isOpen || $[29] !== onOpenChange || $[30] !== t7 || $[31] !== trigger) {
112
+ t8 = /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
113
+ isOpen,
114
+ onOpenChange,
115
+ children: [trigger, t7]
116
+ });
117
+ $[28] = isOpen;
118
+ $[29] = onOpenChange;
119
+ $[30] = t7;
120
+ $[31] = trigger;
121
+ $[32] = t8;
122
+ } else t8 = $[32];
123
+ return t8;
124
+ };
125
+ //#endregion
126
+ export { Popover };
@@ -0,0 +1 @@
1
+ export { Pressable } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import"react-aria/CollectionBuilder";import"react-aria/Collection";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-stately/private/form/useFormValidationState";import"react-stately/Color";import"react-aria/useFilter";import"react-aria/useDrop";import"react-aria/SSRProvider";import"react-stately/useVirtualizerState";import"react-stately/useTokenFieldState";import"react-stately/useToastState";import"react-aria/useDrag";import"react-aria/private/utils/openLink";import{Pressable as e}from"react-aria/Pressable";import"react-aria/Focusable";import"react-stately/useListData";import"react-stately/useTreeData";import"react-stately/useAsyncList";export{e as Pressable};
@@ -0,0 +1 @@
1
+ export { ProgressBar, type ProgressBarProps, type ProgressBarRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l}from"react";import{useLayoutEffect as u}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as d}from"react-aria/useObjectRef";import{filterDOMProps as f}from"react-aria/filterDOMProps";import"react-aria/private/collections/Hidden";import{useProgressBar as p}from"react-aria/useProgressBar";import{clamp as m}from"react-stately/private/utils/number";const h=Symbol(`default`);function g(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:c,render:l}=e;return s(()=>{let e,s,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,s=typeof n==`function`?n({...c,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:s||o?{...o,...s}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,o,c,l])}function _(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||h;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function v(n,r,i){let{ref:a,...o}=_(i,n.slot)||{},c=d(s(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,c]}function y(e=!0){let[t,n]=l(e),r=c(!1),i=a(e=>{r.current=!0,n(!!e)},[]);return u(()=>{r.current||n(!1)},[]),[i,t]}function b(e,r,i){let{render:a,...o}=r,l=c(null),d=s(()=>t(i,l),[i,l]);u(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const x={},S=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=x[t];return n||(n=i(b.bind(null,t)),x[t]=n),n}}),C=r({}),w=r(null),T=i(function(t,r){[t,r]=v(t,r,w);let{value:i=0,minValue:a=0,maxValue:o=100,isIndeterminate:s=!1}=t;i=m(i,a,o);let[c,l]=y(!t[`aria-label`]&&!t[`aria-labelledby`]),{progressBarProps:u,labelProps:d}=p({...t,label:l}),h=o-a,_;s||(_=h===0?0:(i-a)/h*100);let b=g({...t,defaultClassName:`react-aria-ProgressBar`,values:{percentage:_,valueText:u[`aria-valuetext`],isIndeterminate:s}}),x=f(t,{global:!0});return n.createElement(S.div,{...e(x,b,u),ref:r,slot:t.slot||void 0},n.createElement(C.Provider,{value:{...d,ref:c,elementType:`span`}},b.children))});export{T as ProgressBar};
@@ -0,0 +1,2 @@
1
+ import { t as Progress } from "../Progress-CYfDXJKs.js";
2
+ export { Progress };
@@ -0,0 +1,2 @@
1
+ import { t as Progress } from "../Progress-_jkt2pQw.js";
2
+ export { Progress };
@@ -0,0 +1 @@
1
+ export { Provider } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import"react-aria/mergeProps";import{mergeRefs as e}from"react-aria/mergeRefs";import t,{forwardRef as n,useMemo as r,useRef as i}from"react";import{useLayoutEffect as a}from"react-aria/private/utils/useLayoutEffect";import"react-aria/useObjectRef";function o({values:e,children:n}){for(let[r,i]of e)n=t.createElement(r.Provider,{value:i},n);return n}function s(n,o,s){let{render:c,...l}=o,u=i(null),d=r(()=>e(s,u),[s,u]);a(()=>{},[n,c]);let f={...l,ref:d};return c?c(f,void 0):t.createElement(n,f)}const c={};new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=c[t];return r||(r=n(s.bind(null,t)),c[t]=r),r}});export{o as Provider};
@@ -0,0 +1,8 @@
1
+ import { n as FieldValues } from "../form.binding-DVJ5F0JE.js";
2
+ import { s as SelectItem } from "../SelectBase-DefgAEzh.js";
3
+ import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-BlpCYzfA.js";
4
+ //#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts
5
+ declare const QueryAutocompleteComponent: <TFieldValues extends FieldValues, TSelectItem extends SelectItem<any>, TQueryFn extends QueryFn>(props: QueryAutocompleteProps<TFieldValues, TSelectItem, TQueryFn>) => import("react").JSX.Element;
6
+ declare const QueryAutocomplete: typeof QueryAutocompleteComponent;
7
+ //#endregion
8
+ export { QueryAutocomplete };
@@ -0,0 +1,126 @@
1
+ import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
2
+ import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
3
+ import { t as FieldController } from "../form.binding-DLM7NA2s.js";
4
+ import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-Denoy4V_.js";
5
+ import { Autocomplete } from "./autocomplete.js";
6
+ import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
7
+ import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ //#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.tsx
10
+ const LoadedQueryAutocompleteContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, initialFocusFromEnd, leadingContent, ...props }) => {
11
+ "use no memo";
12
+ const ui = UIConfig.useConfig();
13
+ const [search, setSearch] = useState("");
14
+ const focusRootRef = useRef(null);
15
+ const didRestoreFocusRef = useRef(false);
16
+ useLayoutEffect(() => {
17
+ if (initialFocusFromEnd === void 0 || didRestoreFocusRef.current || !focusRootRef.current) return;
18
+ didRestoreFocusRef.current = true;
19
+ getStaticInputFocusTarget(focusRootRef.current, initialFocusFromEnd).focus();
20
+ }, [initialFocusFromEnd]);
21
+ const { onBlur, onChange } = props;
22
+ const value = "value" in props ? props.value : void 0;
23
+ const selectedIdsToResolve = getSelectionIdsToResolve({
24
+ initialSelection: props.initialSelection,
25
+ value,
26
+ mapInitialToSelectItem: props.mapInitialToSelectItem
27
+ });
28
+ const shouldEnableInitialQuery = selectedIdsToResolve.count > 0;
29
+ const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.queryAutocomplete?.isInitialQueryDisabled;
30
+ const shouldDisableInitialQuery = !isQueryEnabledInitially && !shouldEnableInitialQuery && (selectedIdsToResolve.isResolvedByInitialSelection || isInitialQueryDisabled);
31
+ const { items, totalItems, isLoading, handleEnableQuery, hasNextPage, fetchNextPage } = useQueryAutocomplete({
32
+ query,
33
+ queryParams,
34
+ queryOptions,
35
+ mapItems: useCallback((data) => getQueryItems(data, queryMap), [queryMap]),
36
+ resolveSelectedItemsWithIds: resolveSelectedItemsWithIds ?? ui.queryAutocomplete?.resolveSelectedItemsWithIds,
37
+ search,
38
+ initialQueryState: shouldDisableInitialQuery,
39
+ selectedIdsToResolve: selectedIdsToResolve.items
40
+ });
41
+ const handleChange = useCallback((value) => {
42
+ onChange?.(value);
43
+ onBlur?.({ target: { value: null } });
44
+ }, [onBlur, onChange]);
45
+ const autocompleteProps = useMemo(() => {
46
+ const { isInitialQueryDisabled: _, onChange: __, ...rest } = props;
47
+ return rest;
48
+ }, [props]);
49
+ const onSearchChange = useCallback((value) => {
50
+ setSearch(value);
51
+ handleEnableQuery();
52
+ }, [handleEnableQuery]);
53
+ return /* @__PURE__ */ jsx(Autocomplete, {
54
+ ...autocompleteProps,
55
+ items,
56
+ totalItems,
57
+ onSearchChange,
58
+ isClientSearchDisabled: true,
59
+ isLoading,
60
+ onChange: handleChange,
61
+ ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, focusRootRef),
62
+ renderStaticInput: initialFocusFromEnd === void 0 && (props.renderStaticInput ?? ui.queryAutocomplete?.renderStaticInput),
63
+ searchDebounceDelay: props.searchDebounceDelay ?? ui.queryAutocomplete?.searchDebounceDelay,
64
+ onMouseEnter: handleEnableQuery,
65
+ onFocusCapture: handleEnableQuery,
66
+ leadingContent,
67
+ hasLoadMore: hasNextPage,
68
+ onLoadMore: fetchNextPage
69
+ });
70
+ };
71
+ const QueryAutocompleteContent = (props) => {
72
+ const ui = UIConfig.useConfig();
73
+ const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.queryAutocomplete?.isInitialQueryDisabled;
74
+ const value = "value" in props ? props.value : void 0;
75
+ const selection = getSelectionIdsToResolve({
76
+ initialSelection: props.initialSelection,
77
+ value,
78
+ mapInitialToSelectItem: props.mapInitialToSelectItem
79
+ });
80
+ const [initialFocusFromEnd, setInitialFocusFromEnd] = useState();
81
+ const [isQueryMounted, setIsQueryMounted] = useState(() => !isInitialQueryDisabled && !selection.isResolvedByInitialSelection);
82
+ if (!selection.isResolvedByInitialSelection || isQueryMounted) return /* @__PURE__ */ jsx(LoadedQueryAutocompleteContent, {
83
+ ...props,
84
+ isQueryEnabledInitially: isQueryMounted,
85
+ initialFocusFromEnd
86
+ });
87
+ const { query: _, queryParams: _queryParams, queryOptions: _queryOptions, queryMap: _queryMap, resolveSelectedItemsWithIds: _resolveSelectedItemsWithIds, isInitialQueryDisabled: _isInitialQueryDisabled, ...autocompleteProps } = props;
88
+ const mountQuery = () => setIsQueryMounted(true);
89
+ return /* @__PURE__ */ jsx(Autocomplete, {
90
+ ...autocompleteProps,
91
+ items: [],
92
+ renderStaticInput: props.renderStaticInput ?? ui.queryAutocomplete?.renderStaticInput,
93
+ onMouseEnter: mountQuery,
94
+ onFocusCapture: (event) => {
95
+ setInitialFocusFromEnd(event.relatedTarget instanceof Node && !!(event.target.compareDocumentPosition(event.relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING));
96
+ mountQuery();
97
+ }
98
+ });
99
+ };
100
+ const QueryAutocompleteComponent = (props) => {
101
+ if ("field" in props && props.field) {
102
+ const { field, ref, ...innerProps } = props;
103
+ const controlWithOptions = field.form;
104
+ return /* @__PURE__ */ jsx(FieldController, {
105
+ control: field.form,
106
+ name: field.name,
107
+ render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(QueryAutocompleteContent, {
108
+ ...innerProps,
109
+ ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
110
+ value: field.value,
111
+ onChange: (value) => {
112
+ field.onChange(value);
113
+ field.onBlur();
114
+ },
115
+ onBlur: field.onBlur,
116
+ isDirty,
117
+ isDisabled: field.disabled || props.isDisabled || !!controlWithOptions._options?.disabled,
118
+ error: props.error ?? error?.message
119
+ })
120
+ });
121
+ }
122
+ return /* @__PURE__ */ jsx(QueryAutocompleteContent, { ...props });
123
+ };
124
+ const QueryAutocomplete = memo(QueryAutocompleteComponent);
125
+ //#endregion
126
+ export { QueryAutocomplete };
@@ -0,0 +1,2 @@
1
+ import { n as QuerySelectProps, t as QuerySelect } from "../QuerySelect-V9C2b67x.js";
2
+ export { QuerySelect, QuerySelectProps };
@@ -0,0 +1,138 @@
1
+ import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
2
+ import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
3
+ import { t as FieldController } from "../form.binding-DLM7NA2s.js";
4
+ import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-Denoy4V_.js";
5
+ import { t as Select } from "../Select-O9dprkTa.js";
6
+ import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
7
+ import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
8
+ import { jsx } from "react/jsx-runtime";
9
+ //#region src/components/inputs/Selection/Select/QuerySelect.tsx
10
+ const LoadedQuerySelectContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, initialFocusFromEnd, ...props }) => {
11
+ const ui = UIConfig.useConfig();
12
+ const [search, setSearch] = useState("");
13
+ const focusRootRef = useRef(null);
14
+ const didRestoreFocusRef = useRef(false);
15
+ useLayoutEffect(() => {
16
+ if (initialFocusFromEnd === void 0 || didRestoreFocusRef.current || !focusRootRef.current) return;
17
+ didRestoreFocusRef.current = true;
18
+ getStaticInputFocusTarget(focusRootRef.current, initialFocusFromEnd).focus();
19
+ }, [initialFocusFromEnd]);
20
+ const isSearchable = props.isSearchable ?? ui.select.isSearchable;
21
+ const value = "value" in props ? props.value : void 0;
22
+ const selectedIdsToResolve = getSelectionIdsToResolve({
23
+ initialSelection: props.initialSelection,
24
+ value,
25
+ mapInitialToSelectItem: props.mapInitialToSelectItem
26
+ });
27
+ const shouldEnableInitialQuery = selectedIdsToResolve.count > 0;
28
+ const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.querySelect?.isInitialQueryDisabled;
29
+ const shouldDisableInitialQuery = !isQueryEnabledInitially && !shouldEnableInitialQuery && (selectedIdsToResolve.isResolvedByInitialSelection || isInitialQueryDisabled);
30
+ const { items, totalItems, isLoading, handleEnableQuery, hasNextPage, fetchNextPage } = useQueryAutocomplete({
31
+ query,
32
+ queryParams,
33
+ queryOptions,
34
+ mapItems: useCallback((data) => getQueryItems(data, queryMap), [queryMap]),
35
+ resolveSelectedItemsWithIds: resolveSelectedItemsWithIds ?? ui.querySelect?.resolveSelectedItemsWithIds,
36
+ search: isSearchable ? search : void 0,
37
+ initialQueryState: shouldDisableInitialQuery,
38
+ selectedIdsToResolve: selectedIdsToResolve.items
39
+ });
40
+ const { onSearchChange } = props;
41
+ const selectProps = useMemo(() => {
42
+ const { isInitialQueryDisabled: _, onSearchChange: __, ...rest } = props;
43
+ return rest;
44
+ }, [props]);
45
+ const handleSearchChange = useCallback((value) => {
46
+ setSearch(value);
47
+ handleEnableQuery();
48
+ onSearchChange?.(value);
49
+ }, [handleEnableQuery, onSearchChange]);
50
+ const asyncSelectProps = useMemo(() => ({
51
+ ...selectProps,
52
+ items,
53
+ isLoading,
54
+ totalItems,
55
+ hasLoadMore: hasNextPage,
56
+ onLoadMore: fetchNextPage,
57
+ searchDebounceDelay: props.searchDebounceDelay ?? ui.querySelect?.searchDebounceDelay,
58
+ onMouseEnter: handleEnableQuery,
59
+ onFocusCapture: handleEnableQuery,
60
+ ...isSearchable && {
61
+ isClientSearchDisabled: true,
62
+ onSearchChange: handleSearchChange
63
+ }
64
+ }), [
65
+ selectProps,
66
+ items,
67
+ isLoading,
68
+ totalItems,
69
+ hasNextPage,
70
+ fetchNextPage,
71
+ props.searchDebounceDelay,
72
+ ui.querySelect?.searchDebounceDelay,
73
+ handleEnableQuery,
74
+ isSearchable,
75
+ handleSearchChange
76
+ ]);
77
+ return /* @__PURE__ */ jsx(Select, {
78
+ ...asyncSelectProps,
79
+ ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, focusRootRef),
80
+ renderStaticInput: initialFocusFromEnd === void 0 && (props.renderStaticInput ?? ui.querySelect?.renderStaticInput)
81
+ });
82
+ };
83
+ const QuerySelectContent = (props) => {
84
+ const ui = UIConfig.useConfig();
85
+ const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.querySelect?.isInitialQueryDisabled;
86
+ const value = "value" in props ? props.value : void 0;
87
+ const selection = getSelectionIdsToResolve({
88
+ initialSelection: props.initialSelection,
89
+ value,
90
+ mapInitialToSelectItem: props.mapInitialToSelectItem
91
+ });
92
+ const [initialFocusFromEnd, setInitialFocusFromEnd] = useState();
93
+ const [isQueryMounted, setIsQueryMounted] = useState(() => !isInitialQueryDisabled && !selection.isResolvedByInitialSelection);
94
+ if (!selection.isResolvedByInitialSelection || isQueryMounted) return /* @__PURE__ */ jsx(LoadedQuerySelectContent, {
95
+ ...props,
96
+ isQueryEnabledInitially: isQueryMounted,
97
+ initialFocusFromEnd
98
+ });
99
+ const { query: _, queryParams: _queryParams, queryOptions: _queryOptions, queryMap: _queryMap, resolveSelectedItemsWithIds: _resolveSelectedItemsWithIds, isInitialQueryDisabled: _isInitialQueryDisabled, ...selectProps } = props;
100
+ const mountQuery = () => setIsQueryMounted(true);
101
+ return /* @__PURE__ */ jsx(Select, {
102
+ ...selectProps,
103
+ items: [],
104
+ renderStaticInput: props.renderStaticInput ?? ui.querySelect?.renderStaticInput,
105
+ onMouseEnter: mountQuery,
106
+ onFocusCapture: (event) => {
107
+ setInitialFocusFromEnd(event.relatedTarget instanceof Node && !!(event.target.compareDocumentPosition(event.relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING));
108
+ mountQuery();
109
+ }
110
+ });
111
+ };
112
+ const QuerySelectComponent = (props) => {
113
+ if ("field" in props && props.field) {
114
+ const { field, ref, ...innerProps } = props;
115
+ const controlWithOptions = field.form;
116
+ return /* @__PURE__ */ jsx(FieldController, {
117
+ control: field.form,
118
+ name: field.name,
119
+ render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(QuerySelectContent, {
120
+ ...innerProps,
121
+ ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
122
+ value: field.value,
123
+ onChange: (value) => {
124
+ field.onChange(value);
125
+ field.onBlur();
126
+ },
127
+ onBlur: field.onBlur,
128
+ isDirty,
129
+ isDisabled: field.disabled || props.isDisabled || !!controlWithOptions._options?.disabled,
130
+ error: props.error ?? error?.message
131
+ })
132
+ });
133
+ }
134
+ return /* @__PURE__ */ jsx(QuerySelectContent, { ...props });
135
+ };
136
+ const QuerySelect = memo(QuerySelectComponent);
137
+ //#endregion
138
+ export { QuerySelect };
@@ -0,0 +1 @@
1
+ export { Radio, type RadioProps, type RadioRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useContext as a,useMemo as o,useRef as s}from"react";import{useLayoutEffect as c}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as l}from"react-aria/useObjectRef";import{filterDOMProps as u}from"react-aria/filterDOMProps";import{useFocusRing as d}from"react-aria/useFocusRing";import{useHover as f}from"react-aria/useHover";import{VisuallyHidden as p}from"react-aria/VisuallyHidden";import{useRadio as m}from"react-aria/useRadioGroup";import"react-stately/useRadioGroupState";const h=Symbol(`default`);function g(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function _(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||h;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function v(n,r,i){let{ref:a,...s}=_(i,n.slot)||{},c=l(o(()=>t(r,a),[r,a])),u=e(s,n);return`style`in s&&s.style&&`style`in n&&n.style&&(u.style=typeof s.style==`function`||typeof n.style==`function`?e=>{let t=typeof s.style==`function`?s.style(e):s.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...s.style,...n.style}),[u,c]}function y(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function b(e,r,i){let{render:a,...l}=r,u=s(null),d=o(()=>t(i,u),[i,u]);c(()=>{},[e,a]);let f={...l,ref:d};return a?a(f,void 0):n.createElement(e,f)}const x={},S=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=x[t];return n||(n=i(b.bind(null,t)),x[t]=n),n}}),C=r(null),w=r(null),T=i(function(e,r){let{inputRef:i=null,...a}=e;[e,r]=v(a,r,C);let s=n.useContext(w),c=l(o(()=>t(i,e.inputRef===void 0?null:e.inputRef),[i,e.inputRef])),u=m({...y(e),children:typeof e.children==`function`||e.children},s,c);return n.createElement(E.Provider,{value:{...u,inputRef:c,defaultClassName:`react-aria-Radio`}},n.createElement(D,{...e,ref:r}))}),E=r(null),D=i(function(t,r){let{labelProps:i,inputProps:o,isSelected:s,isDisabled:c,isPressed:l,defaultClassName:m,inputRef:h}=a(E),_=n.useContext(w),{isFocused:v,isFocusVisible:y,focusProps:b}=d(),x=c||_.isReadOnly,{hoverProps:C,isHovered:T}=f({...t,isDisabled:x}),D=g({...t,defaultClassName:m,values:{isSelected:s,isPressed:l,isHovered:T,isFocused:v,isFocusVisible:y,isDisabled:c,isReadOnly:_.isReadOnly,isInvalid:_.isInvalid,isRequired:_.isRequired}}),O=u(t,{global:!0});return delete O.id,delete O.onClick,n.createElement(S.label,{...e(O,i,C,D),ref:r,"data-selected":s||void 0,"data-pressed":l||void 0,"data-hovered":T||void 0,"data-focused":v||void 0,"data-focus-visible":y||void 0,"data-disabled":c||void 0,"data-readonly":_.isReadOnly||void 0,"data-invalid":_.isInvalid||void 0,"data-required":_.isRequired||void 0},n.createElement(p,{elementType:`span`},n.createElement(`input`,{...e(o,b),ref:h})),D.children)});export{T as Radio};
@@ -0,0 +1 @@
1
+ export { RadioGroup, type RadioGroupProps, type RadioGroupRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l}from"react";import{useLayoutEffect as u}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as d}from"react-aria/useObjectRef";import{filterDOMProps as f}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/private/collections/Hidden";import"react-aria/VisuallyHidden";import"react-stately/private/form/useFormValidationState";import"react-dom";import{useRadioGroup as p}from"react-aria/useRadioGroup";import{useRadioGroupState as m}from"react-stately/useRadioGroupState";const h=Symbol(`default`);function g({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function _(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:c,render:l}=e;return s(()=>{let e,s,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,s=typeof n==`function`?n({...c,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:s||o?{...o,...s}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,o,c,l])}function v(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||h;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function y(n,r,i){let{ref:a,...o}=v(i,n.slot)||{},c=d(s(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,c]}function b(e=!0){let[t,n]=l(e),r=c(!1),i=a(e=>{r.current=!0,n(!!e)},[]);return u(()=>{r.current||n(!1)},[]),[i,t]}function x(e,r,i){let{render:a,...o}=r,l=c(null),d=s(()=>t(i,l),[i,l]);u(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const S={},C=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=S[t];return n||(n=i(x.bind(null,t)),S[t]=n),n}}),w=r({}),T=r({}),E=r(null),D=r(null),O=r(null);function k(e){let t=c({});return n.createElement(O.Provider,{value:t},e.children)}const A=r(null),j=r(null),M=i(function(t,r){[t,r]=y(t,r,A);let{validationBehavior:i}=v(D)||{},a=t.validationBehavior??i??`native`,o=m({...t,validationBehavior:a}),[s,c]=b(!t[`aria-label`]&&!t[`aria-labelledby`]),{radioGroupProps:l,labelProps:u,descriptionProps:d,errorMessageProps:h,...x}=p({...t,label:c,validationBehavior:a},o),S=_({...t,values:{orientation:t.orientation||`vertical`,isDisabled:o.isDisabled,isReadOnly:o.isReadOnly,isRequired:o.isRequired,isInvalid:o.isInvalid,state:o},defaultClassName:`react-aria-RadioGroup`}),O=f(t,{global:!0});return n.createElement(C.div,{...e(O,S,l),ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||`vertical`,"data-invalid":o.isInvalid||void 0,"data-disabled":o.isDisabled||void 0,"data-readonly":o.isReadOnly||void 0,"data-required":o.isRequired||void 0},n.createElement(g,{values:[[j,o],[w,{...u,ref:s,elementType:`span`}],[T,{slots:{description:d,errorMessage:h}}],[E,x]]},n.createElement(k,null,S.children)))});export{M as RadioGroup};
@@ -0,0 +1,2 @@
1
+ import { n as RadioGroup, r as RadioGroupProps, t as ControlledRadioGroupProps } from "../RadioGroup-WHWosz7K.js";
2
+ export { ControlledRadioGroupProps, RadioGroup, RadioGroupProps };
@@ -0,0 +1,2 @@
1
+ import { t as RadioGroup } from "../RadioGroup-B9g4uT4E.js";
2
+ export { RadioGroup };
@@ -0,0 +1 @@
1
+ export { RangeCalendar, type RangeCalendarProps, type RangeCalendarRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useContext as a,useMemo as o,useRef as s}from"react";import{useLayoutEffect as c}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as l}from"react-aria/useObjectRef";import{filterDOMProps as u}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/private/collections/Hidden";import"react-aria/private/live-announcer/LiveAnnouncer";import"react-aria/useButton";import"react-aria/useId";import"react-aria/useCalendar";import{useRangeCalendar as d}from"react-aria/useRangeCalendar";import{createCalendar as f}from"@internationalized/date";import{useRangeCalendarState as p}from"react-stately/useRangeCalendarState";import"react-stately/useCalendarState";import{useLocale as m}from"react-aria/I18nProvider";import{VisuallyHidden as h}from"react-aria/VisuallyHidden";const g=Symbol(`default`);function _({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function v(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function y(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||g;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function b(n,r,i){let{ref:a,...s}=y(i,n.slot)||{},c=l(o(()=>t(r,a),[r,a])),u=e(s,n);return`style`in s&&s.style&&`style`in n&&n.style&&(u.style=typeof s.style==`function`||typeof n.style==`function`?e=>{let t=typeof s.style==`function`?s.style(e):s.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...s.style,...n.style}),[u,c]}function x(e,r,i){let{render:a,...l}=r,u=s(null),d=o(()=>t(i,u),[i,u]);c(()=>{},[e,a]);let f={...l,ref:d};return a?a(f,void 0):n.createElement(e,f)}const S={},C=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=S[t];return n||(n=i(x.bind(null,t)),S[t]=n),n}}),w=r({}),T=r({}),E=r({}),D=r(null),O=r(null),k=i(function(t,r){[t,r]=b(t,r,D);let{locale:i}=m(),a=p({...t,locale:i,createCalendar:t.createCalendar||f}),{calendarProps:o,prevButtonProps:s,nextButtonProps:c,errorMessageProps:l,title:g}=d(t,a,r),y=v({...t,values:{state:a,isDisabled:t.isDisabled||!1,isInvalid:a.isValueInvalid},defaultClassName:`react-aria-RangeCalendar`}),x=u(t,{global:!0});return n.createElement(C.div,{...e(y,x,o),ref:r,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":a.isValueInvalid||void 0},n.createElement(_,{values:[[w,{slots:{previous:s,next:c}}],[T,{"aria-hidden":!0,level:2,children:g}],[O,a],[D,t],[E,{slots:{errorMessage:l}}]]},n.createElement(h,null,n.createElement(`h2`,null,o[`aria-label`])),y.children,n.createElement(h,null,n.createElement(`button`,{"aria-label":c[`aria-label`],disabled:c.isDisabled,onClick:()=>a.focusNextPage(),tabIndex:-1}))))});export{k as RangeCalendar};
@@ -0,0 +1 @@
1
+ export { ResizableTableContainer, type ResizableTableContainerProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useContext as s,useMemo as c,useRef as l,useState as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"react-aria/useObjectRef";import{createLeafComponent as p}from"react-aria/CollectionBuilder";import{useCachedChildren as m}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as h}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/Collection";import{CollectionNode as g,FilterableNode as _,LoaderNode as v}from"react-aria/private/collections/BaseCollection";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-dom";import"react-aria/FocusScope";import{inertValue as y}from"react-aria/private/utils/inertValue";import"react-aria/ListKeyboardDelegate";import{useLoadMoreSentinel as b}from"react-aria/private/utils/useLoadMoreSentinel";import"react-aria/useLocalizedStringFormatter";import{useResizeObserver as x}from"react-aria/private/utils/useResizeObserver";import"react-stately/useMultipleSelectionState";import{isScrollable as S}from"react-aria/private/utils/isScrollable";import"react-stately/private/table/TableCollection";import{useTableColumnResizeState as C}from"react-stately/useTableState";import"react-stately/useControlledState";import"react-aria/useTable";function w(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:l}=e;return c(()=>{let e,c,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,c=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:c||o?{...o,...c}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,s):void 0}},[t,n,r,i,a,o,s,l])}function T(e,r,i){let{render:a,...o}=r,s=l(null),u=c(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:u};return a?a(f,void 0):n.createElement(e,f)}const E={},D=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=E[t];return n||(n=a(T.bind(null,t)),E[t]=n),n}}),O={CollectionRoot({collection:e,renderDropIndicator:t}){return k(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return k(e,t,n)}};function k(e,t,r){return m({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,A(e,t,r))}})}function A(e,t,n){let i=t.key,a=e.getKeyAfter(i),s=a==null?null:e.getItem(a);for(;s!=null&&s.type!==`item`;)a=e.getKeyAfter(s.key),s=a==null?null:e.getItem(a);let c=t.nextKey==null?null:e.getItem(t.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let i=t;for(;i?.type===`item`&&(!s||i.parentKey!==s.parentKey&&s.level<i.level);){let t=n({type:`item`,key:i.key,dropPosition:`after`});o(t)&&l.push(r(t,{key:`${i.key}-after`})),i=i.parentKey==null?null:e.getItem(i.parentKey)}}return l}const j=i(O),M=i(null),N=a(function(e,t){let r=f(t),i=l(null),a=l(null),[o,s]=u(0);d(()=>{let e=i.current;for(;e&&e!==r.current&&!S(e);)e=e.parentElement;a.current=e},[r]),x({ref:a,box:`border-box`,onResize(){s(a.current?.clientWidth??0)}}),d(()=>{s(a.current?.clientWidth??0)},[]);let p=c(()=>({tableRef:i,scrollRef:a,tableWidth:o,useTableColumnResizeState:C,onResizeStart:e.onResizeStart,onResize:e.onResize,onResizeEnd:e.onResizeEnd}),[i,o,e.onResizeStart,e.onResize,e.onResizeEnd]);return n.createElement(D.div,{render:e.render,...h(e,{global:!0}),ref:r,className:e.className||`react-aria-ResizableTableContainer`,style:e.style,onScroll:e.onScroll},n.createElement(M.Provider,{value:p},e.children))}),P=i(null);(class extends g{static{this.type=`tableheader`}}),class extends g{static{this.type=`column`}},class extends _{static{this.type=`tablebody`}},class extends _{static{this.type=`tablefooter`}},class extends g{static{this.type=`item`}filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}};let F=a(function(e,t){let{isVirtualized:r}=s(j);return r?n.createElement(D.div,{...e,ref:t}):n.createElement(D.tr,{...e,ref:t})});(class extends g{static{this.type=`cell`}});let I=a(function(e,t){let{isVirtualized:r}=s(j);return r?n.createElement(D.div,{...e,ref:t}):n.createElement(D.td,{...e,ref:t})});p(v,function(t,r,i){let a=s(P),{isVirtualized:o}=s(j),{isLoading:u,onLoadMore:d,scrollOffset:f,...p}=t,m=a.collection.columns.length,g=l(null),_=c(()=>({onLoadMore:d,collection:a?.collection,sentinelRef:g,scrollOffset:f}),[d,f,a?.collection]);b(_,g);let v=w({...p,id:void 0,children:i.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":i.level+1},values:void 0}),x={},S={},C={};return o?(S[`aria-colspan`]=m,C={display:`contents`}):S.colSpan=m,n.createElement(n.Fragment,null,n.createElement(F,{style:{height:0},inert:y(!0)},n.createElement(I,{style:{padding:0,border:0}},n.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:g,style:{position:`relative`,height:1,width:1}}))),u&&v.children&&n.createElement(F,{...e(h(t,{global:!0}),x),...v,role:`row`,ref:r,"aria-level":i.level+1,"data-level":i.level+1},n.createElement(I,{role:`rowheader`,...S,style:C},v.children)))});export{N as ResizableTableContainer};
@@ -0,0 +1 @@
1
+ export { RouterProvider } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import"react-aria/CollectionBuilder";import"react-aria/Collection";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-stately/private/form/useFormValidationState";import"react-stately/Color";import"react-aria/useFilter";import"react-aria/useDrop";import"react-aria/SSRProvider";import"react-stately/useVirtualizerState";import"react-stately/useTokenFieldState";import"react-stately/useToastState";import"react-aria/useDrag";import{RouterProvider as e}from"react-aria/private/utils/openLink";import"react-aria/Pressable";import"react-aria/Focusable";import"react-stately/useListData";import"react-stately/useTreeData";import"react-stately/useAsyncList";export{e as RouterProvider};
@@ -0,0 +1 @@
1
+ export { Row, type RowProps, type RowRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useContext as s,useEffect as c,useMemo as l,useRef as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"react-aria/useObjectRef";import{createBranchComponent as p,createLeafComponent as m}from"react-aria/CollectionBuilder";import{useCachedChildren as h}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as g}from"react-aria/filterDOMProps";import{useFocusRing as _}from"react-aria/useFocusRing";import{useHover as v}from"react-aria/useHover";import{Collection as y}from"react-aria/Collection";import{CollectionNode as b,FilterableNode as x,LoaderNode as S}from"react-aria/private/collections/BaseCollection";import"react-aria/private/collections/Hidden";import"react-aria/private/live-announcer/LiveAnnouncer";import"react-aria/useButton";import"react-aria/useId";import"react-aria/I18nProvider";import{useVisuallyHidden as C}from"react-aria/VisuallyHidden";import"react-aria/useCheckboxGroup";import"react-aria/useCheckbox";import"react-stately/useCheckboxGroupState";import"react-stately/useToggleState";import"react-dom";import"react-aria/FocusScope";import{inertValue as w}from"react-aria/private/utils/inertValue";import"react-aria/ListKeyboardDelegate";import{useLoadMoreSentinel as T}from"react-aria/private/utils/useLoadMoreSentinel";import"react-aria/useLocalizedStringFormatter";import"react-aria/private/utils/useResizeObserver";import"react-stately/useMultipleSelectionState";import"react-aria/private/utils/isScrollable";import"react-stately/private/table/TableCollection";import"react-stately/useTableState";import"react-stately/useControlledState";import{useTableRow as E,useTableSelectionCheckbox as ee}from"react-aria/useTable";const D=Symbol(`default`);function O({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function k(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return l(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function A(e,r,i){let{render:a,...o}=r,s=u(null),c=l(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:c};return a?a(f,void 0):n.createElement(e,f)}const j={},M=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=j[t];return n||(n=a(A.bind(null,t)),j[t]=n),n}}),N={CollectionRoot({collection:e,renderDropIndicator:t}){return P(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return P(e,t,n)}};function P(e,t,r){return h({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,F(e,t,r))}})}function F(e,t,n){let i=t.key,a=e.getKeyAfter(i),s=a==null?null:e.getItem(a);for(;s!=null&&s.type!==`item`;)a=e.getKeyAfter(s.key),s=a==null?null:e.getItem(a);let c=t.nextKey==null?null:e.getItem(t.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let i=t;for(;i?.type===`item`&&(!s||i.parentKey!==s.parentKey&&s.level<i.level);){let t=n({type:`item`,key:i.key,dropPosition:`after`});o(t)&&l.push(r(t,{key:`${i.key}-after`})),i=i.parentKey==null?null:e.getItem(i.parentKey)}}return l}const I=i(N),L=i({}),R=i(null),z=i(null),B=i({}),V=i({isSelected:!1}),H=i(null);(class extends b{static{this.type=`tableheader`}}),class extends b{static{this.type=`column`}},class extends x{static{this.type=`tablebody`}},class extends x{static{this.type=`tablefooter`}};const U=i({isFocusVisibleWithinRow:!1});var W=class extends b{static{this.type=`item`}filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}};let G=a(function(e,t){let{isVirtualized:r}=s(I);return r?n.createElement(M.div,{...e,ref:t}):n.createElement(M.tr,{...e,ref:t})});const K=p(W,(t,r,i)=>{let a=f(r),o=s(H),{dragAndDropHooks:l,dragState:d,dropState:p}=s(B),{isVirtualized:m,CollectionBranch:h}=s(I),y=d&&!(d.isDisabled||d.selectionManager.isDisabled(i.key)),{rowProps:b,expandButtonProps:x,...S}=E({node:i,shouldSelectOnPressUp:!!d,isVirtualized:m},o,a),{isFocused:w,isFocusVisible:T,focusProps:A}=_(),{isFocusVisible:j,focusProps:M}=_({within:!0}),{hoverProps:N,isHovered:P}=v({isDisabled:!S.allowsSelection&&!S.hasAction&&!y,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{checkboxProps:F}=ee({key:i.key},o),W;d&&l&&(W=l.useDraggableItem({key:i.key,hasDragButton:!0},d));let K,J=u(null),{visuallyHiddenProps:te}=C();p&&l&&(K=l.useDropIndicator({target:{type:`item`,key:i.key,dropPosition:`on`}},p,J));let Y=u(null);c(()=>{d&&Y.current},[]);let X=d&&d.isDragging(i.key),{children:ne,...re}=t,Z=t.hasChildItems||o.collection.getItem(i.lastChildKey)?.type!==`cell`,Q=Z&&o.expandedKeys.has(i.key),ie=k({...re,id:void 0,defaultClassName:`react-aria-Row`,defaultStyle:{"--table-row-level":i.level+1},values:{...S,state:o,isHovered:P,isFocused:w,isFocusVisible:T,selectionMode:o.selectionManager.selectionMode,selectionBehavior:o.selectionManager.selectionBehavior,isDragging:X,isDropTarget:K?.isDropTarget,isFocusVisibleWithin:j,id:i.key,hasChildItems:Z,isExpanded:Q,level:i.level+1}}),$=g(t,{global:!0});return delete $.id,delete $.onClick,n.createElement(n.Fragment,null,K&&!K.isHidden&&n.createElement(G,{role:`row`,style:{height:0}},n.createElement(q,{role:`gridcell`,colSpan:o.collection.columnCount,style:{padding:0}},n.createElement(`div`,{role:`button`,...te,...K.dropIndicatorProps,ref:J}))),n.createElement(G,{...e($,ie,b,A,N,W?.dragProps,M),ref:a,"data-disabled":S.isDisabled||void 0,"data-selected":S.isSelected||void 0,"data-hovered":P||void 0,"data-focused":S.isFocused||void 0,"data-focus-visible":T||void 0,"data-pressed":S.isPressed||void 0,"data-dragging":X||void 0,"data-drop-target":K?.isDropTarget||void 0,"data-selection-mode":o.selectionManager.selectionMode===`none`?void 0:o.selectionManager.selectionMode,"data-focus-visible-within":j||void 0,"data-expanded":Q||void 0,"data-has-child-items":Z||void 0,"data-level":i.level+1},n.createElement(O,{values:[[R,{slots:{[D]:{},selection:F}}],[z,{slots:{[D]:{},selection:F}}],[L,{slots:{[D]:{},chevron:x,drag:{...W?.dragButtonProps,ref:Y,style:{pointerEvents:`none`}}}}],[V,{isSelected:S.isSelected}],[U,{isFocusVisibleWithinRow:j}]]},n.createElement(h,{collection:o.collection,parent:i}))))},e=>{if(e.id==null&&typeof e.children==`function`)throw Error(`No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.`);let t=[e.value].concat(e.dependencies);return n.createElement(y,{dependencies:t,items:e.columns,idScope:e.id},e.children)});(class extends b{static{this.type=`cell`}});let q=a(function(e,t){let{isVirtualized:r}=s(I);return r?n.createElement(M.div,{...e,ref:t}):n.createElement(M.td,{...e,ref:t})});m(S,function(t,r,i){let a=s(H),{isVirtualized:o}=s(I),{isLoading:c,onLoadMore:d,scrollOffset:f,...p}=t,m=a.collection.columns.length,h=u(null),_=l(()=>({onLoadMore:d,collection:a?.collection,sentinelRef:h,scrollOffset:f}),[d,f,a?.collection]);T(_,h);let v=k({...p,id:void 0,children:i.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":i.level+1},values:void 0}),y={},b={},x={};return o?(b[`aria-colspan`]=m,x={display:`contents`}):b.colSpan=m,n.createElement(n.Fragment,null,n.createElement(G,{style:{height:0},inert:w(!0)},n.createElement(q,{style:{padding:0,border:0}},n.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:h,style:{position:`relative`,height:1,width:1}}))),c&&v.children&&n.createElement(G,{...e(g(t,{global:!0}),y),...v,role:`row`,ref:r,"aria-level":i.level+1,"data-level":i.level+1},n.createElement(q,{role:`rowheader`,...b,style:x},v.children)))});export{K as Row};