@povio/ui 3.4.0-rc.4 → 3.4.0-rc.41

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 (1400) hide show
  1. package/README.md +36 -2
  2. package/dist/Accordion-BKBl-2EO.js +553 -0
  3. package/dist/Accordion-DonRhvvW.d.ts +58 -0
  4. package/dist/ActionModal-CKS0t-n3.d.ts +26 -0
  5. package/dist/Alert-1gjUqXaO.js +240 -0
  6. package/dist/Alert-C0GAvkdO.d.ts +33 -0
  7. package/dist/Autocomplete-CLcRRdiL.d.ts +15 -0
  8. package/dist/BottomSheet-BZXBtOHF.d.ts +33 -0
  9. package/dist/BottomSheet-CUDfDj9h.js +404 -0
  10. package/dist/BottomSheet.lazy-DT02808T.d.ts +5 -0
  11. package/dist/Breadcrumbs-BypydWR6.js +535 -0
  12. package/dist/Breadcrumbs-C46_H95J.d.ts +19 -0
  13. package/dist/Button-7HZojyTP.js +690 -0
  14. package/dist/Button-D09S1dNt.js +161 -0
  15. package/dist/Button-D0M9lMOR.d.ts +31 -0
  16. package/dist/ButtonContent-17xvQXod.js +122 -0
  17. package/dist/Calendar-KJOP6Bcq.js +656 -0
  18. package/dist/CheckContent-DzWpxKGq.js +19 -0
  19. package/dist/Checkbox-B-0yFzun.js +405 -0
  20. package/dist/Checkbox-DC_1l0o7.d.ts +24 -0
  21. package/dist/CheckboxCheckmark-C7Oq15ms.js +195 -0
  22. package/dist/CheckboxGroup-DnWeRs5l.d.ts +28 -0
  23. package/dist/DOMFunctions-BrQjsnDh.js +52 -0
  24. package/dist/DatePicker-DGwt7GCK.js +426 -0
  25. package/dist/DatePicker-aWuhaUgu.d.ts +43 -0
  26. package/dist/DatePickerInput-B7yVoI9Y.d.ts +18 -0
  27. package/dist/DatePickerInput-CvrlkpEN.js +602 -0
  28. package/dist/DateRangePicker-DpKWDDlC.d.ts +75 -0
  29. package/dist/DateRangePicker-DtYmxrBu.js +1503 -0
  30. package/dist/DateTimePicker-B3j96T4e.js +380 -0
  31. package/dist/DateTimePicker-BoTa_gTC.d.ts +43 -0
  32. package/dist/Dialog-B5J6LRRw.js +4344 -0
  33. package/dist/Drawer-DnSLe85M.d.ts +18 -0
  34. package/dist/FileTrigger-CjvQGNXu.js +2191 -0
  35. package/dist/FileUpload-Czof_aOb.d.ts +7 -0
  36. package/dist/FileUpload-DR9qkDTO.js +766 -0
  37. package/dist/FileUploadContainer--YlhZO19.d.ts +5 -0
  38. package/dist/Form-BjwyXqkN.d.ts +49 -0
  39. package/dist/Form-CKUcoaMX.js +8 -0
  40. package/dist/FormField-Cl-t5Wi1.js +211 -0
  41. package/dist/FormField-Iy2O8A4g.d.ts +37 -0
  42. package/dist/FormFieldError-BT4uxbKY.d.ts +10 -0
  43. package/dist/FormFieldError-CFg0Wn3i.js +26 -0
  44. package/dist/FormFieldHeaderTooltip-C3nmuFKW.js +38 -0
  45. package/dist/Hidden-BtagiSrf.js +32 -0
  46. package/dist/IconButton-CUpL6CsP.d.ts +14 -0
  47. package/dist/InlineIconButton-AQ8SViM3.d.ts +17 -0
  48. package/dist/InlineTooltipWrapper-7ePcpH9g.js +24 -0
  49. package/dist/Input-BefLtZJe.js +46 -0
  50. package/dist/InputContent-jcMfOzpN.d.ts +27 -0
  51. package/dist/InputItem-DfNvJtim.js +63 -0
  52. package/dist/InputUpload-D-C-886F.d.ts +66 -0
  53. package/dist/InputUpload-DiSrhJaH.js +233 -0
  54. package/dist/Inputs-CO_mXGA2.js +17 -0
  55. package/dist/Inputs-CwkP8B9O.d.ts +13 -0
  56. package/dist/Label-BVczUvgv.js +17 -0
  57. package/dist/Link-BWbPxs6p.js +83 -0
  58. package/dist/Link-CKi4C00S.d.ts +25 -0
  59. package/dist/Link-EHxXHf53.js +42 -0
  60. package/dist/ListBox-CIgWt1tg.js +743 -0
  61. package/dist/Loader-C6YkWZOO.js +113 -0
  62. package/dist/Loader-Sbr1b0iU.d.ts +29 -0
  63. package/dist/Menu-BHpiqpJ9.d.ts +61 -0
  64. package/dist/Menu-RXGizKMF.js +178 -0
  65. package/dist/MenuDesktop-Dv25P83N.js +248 -0
  66. package/dist/MenuItem-DLKC94Qs.d.ts +6 -0
  67. package/dist/Modal-BfN_MfR-.d.ts +53 -0
  68. package/dist/Modal-CEJ2QkF0.js +205 -0
  69. package/dist/Modal-r0ucQNPK.js +58 -0
  70. package/dist/NumberFormatter-KUrW7GbE.js +122 -0
  71. package/dist/NumberInput-BIRmzsPb.d.ts +27 -0
  72. package/dist/NumberRangeInput-1vdHmE8h.d.ts +44 -0
  73. package/dist/NumberRangeInput-DVBv04ap.js +403 -0
  74. package/dist/OverlayArrow-CyFI2DhX.js +622 -0
  75. package/dist/Pagination-uuqyFAu_.d.ts +12 -0
  76. package/dist/PaginationList-BNswIyhS.js +218 -0
  77. package/dist/PaginationList-CmZBILfU.d.ts +18 -0
  78. package/dist/PasswordInput-CMKZF3YS.js +63 -0
  79. package/dist/PasswordInput-DNUEWDEM.d.ts +10 -0
  80. package/dist/Pill-vCBJdOTY.d.ts +18 -0
  81. package/dist/PillButton-CEF431l4.d.ts +15 -0
  82. package/dist/ProgressBar-C8dtVA-1.js +58 -0
  83. package/dist/ProgressBar-DG-ClG9v.d.ts +44 -0
  84. package/dist/QuerySelect-vWifN5XC.d.ts +23 -0
  85. package/dist/RSPContexts-DHQi1l7F.js +12 -0
  86. package/dist/RadioGroup-D5BR8ToV.js +571 -0
  87. package/dist/RadioGroup-Dd7xBSCW.d.ts +24 -0
  88. package/dist/ResponsivePopover-BmURECUv.d.ts +20 -0
  89. package/dist/Segment-BZdZb436.d.ts +7 -0
  90. package/dist/Segment-DBEeDt5Z.js +348 -0
  91. package/dist/Select-Bm2C6tHz.d.ts +15 -0
  92. package/dist/Select-CEAQyS48.js +155 -0
  93. package/dist/SelectBase-DD8_4B-r.d.ts +96 -0
  94. package/dist/SelectionIndicator-BvWiZS2N.js +817 -0
  95. package/dist/Slider-C6UeThGK.d.ts +22 -0
  96. package/dist/Slider-DeLVCO-2.js +672 -0
  97. package/dist/SplitButton-CR4psHKW.d.ts +15 -0
  98. package/dist/Stepper-CSfhZBK1.js +336 -0
  99. package/dist/Stepper-JUO4MbZx.d.ts +113 -0
  100. package/dist/TableDnd-CuHxANWh.js +133 -0
  101. package/dist/Tag-DJZ5qQme.js +95 -0
  102. package/dist/Tag-DUvBTljf.d.ts +34 -0
  103. package/dist/Text-BTtw_Syz.js +5 -0
  104. package/dist/TextArea-B8Yvkkxr.d.ts +21 -0
  105. package/dist/TextArea-Dj2wKadV.js +176 -0
  106. package/dist/TextButton-cigitfeH.d.ts +15 -0
  107. package/dist/TextEditor-CKUiV4cU.js +3440 -0
  108. package/dist/TextEditor-DILzgUAj.d.ts +26 -0
  109. package/dist/TextInput-Df0Pkuk-.d.ts +27 -0
  110. package/dist/TimePicker-BPLc1Uv5.js +375 -0
  111. package/dist/TimePicker-Bdz_yJ0I.d.ts +32 -0
  112. package/dist/Toast-DL8_g0WV.d.ts +16 -0
  113. package/dist/ToastContainer-9OS5SK5K.d.ts +5 -0
  114. package/dist/ToastContainer-C45QhP2Q.js +55 -0
  115. package/dist/Toggle-Ca_t66zh.d.ts +19 -0
  116. package/dist/Toggle-Dr7TQZ93.js +178 -0
  117. package/dist/ToggleButton-3lINwoaV.d.ts +12 -0
  118. package/dist/ToggleButton-C01P8reg.js +218 -0
  119. package/dist/Tooltip-D1oFPqFF.d.ts +56 -0
  120. package/dist/Tooltip-D8YNkKCl.js +532 -0
  121. package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +11 -0
  122. package/dist/TooltipWrapper-CoRIizbz.js +57 -0
  123. package/dist/Typography-AcUd9df8.js +31 -0
  124. package/dist/Typography-BiHrVFpz.d.ts +12 -0
  125. package/dist/VisuallyHidden-CWgME09A.js +43 -0
  126. package/dist/autocomplete-CIDaulwN.d.ts +16 -0
  127. package/dist/button-BQmy1LZS.d.ts +1 -0
  128. package/dist/button.cva-zMNkoZH8.d.ts +92 -0
  129. package/dist/buttonContent.cva-CIOaLH0a.d.ts +6 -0
  130. package/dist/check-M2G7r3oH.js +13 -0
  131. package/dist/checkbox-4smu5B-h.d.ts +9 -0
  132. package/dist/checkbox-group-C55R3YH5.d.ts +9 -0
  133. package/dist/checkbox.cva-Caaf2Ysq.d.ts +77 -0
  134. package/dist/chevron-down-Ciz9yP9R.js +13 -0
  135. package/dist/chevron-left-VO8YZrXZ.js +13 -0
  136. package/dist/chevron-right-C_M98bh3.js +13 -0
  137. package/dist/chevron-up-CHRnDSA3.js +13 -0
  138. package/dist/chevrons-right-BXdmZ2TS.js +29 -0
  139. package/dist/clsx-CnD0nOiA.js +16 -0
  140. package/dist/common-UBFya8WY.d.ts +11 -0
  141. package/dist/components/accordion.d.ts +2 -0
  142. package/dist/components/accordion.js +2 -0
  143. package/dist/components/action-modal.d.ts +2 -0
  144. package/dist/components/action-modal.js +188 -0
  145. package/dist/components/alert.d.ts +2 -0
  146. package/dist/components/alert.js +2 -0
  147. package/dist/components/autocomplete/react-aria.d.ts +1 -0
  148. package/dist/components/autocomplete/react-aria.js +1 -0
  149. package/dist/components/autocomplete.d.ts +2 -0
  150. package/dist/components/autocomplete.js +131 -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 +161 -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/disclosure/react-aria.d.ts +1 -0
  236. package/dist/components/disclosure/react-aria.js +1 -0
  237. package/dist/components/disclosure-group/react-aria.d.ts +1 -0
  238. package/dist/components/disclosure-group/react-aria.js +1 -0
  239. package/dist/components/disclosure-panel/react-aria.d.ts +1 -0
  240. package/dist/components/disclosure-panel/react-aria.js +1 -0
  241. package/dist/components/dom-attributes/react-aria.d.ts +1 -0
  242. package/dist/components/dom-attributes/react-aria.js +0 -0
  243. package/dist/components/drawer.d.ts +2 -0
  244. package/dist/components/drawer.js +96 -0
  245. package/dist/components/drop-indicator/react-aria.d.ts +1 -0
  246. package/dist/components/drop-indicator/react-aria.js +1 -0
  247. package/dist/components/drop-zone/react-aria.d.ts +1 -0
  248. package/dist/components/drop-zone/react-aria.js +1 -0
  249. package/dist/components/field-error/react-aria.d.ts +1 -0
  250. package/dist/components/field-error/react-aria.js +1 -0
  251. package/dist/components/file-trigger/react-aria.d.ts +1 -0
  252. package/dist/components/file-trigger/react-aria.js +1 -0
  253. package/dist/components/file-upload-container.d.ts +3 -0
  254. package/dist/components/file-upload-container.js +15 -0
  255. package/dist/components/file-upload.d.ts +3 -0
  256. package/dist/components/file-upload.js +2 -0
  257. package/dist/components/focusable/react-aria.d.ts +1 -0
  258. package/dist/components/focusable/react-aria.js +1 -0
  259. package/dist/components/form/react-aria.d.ts +1 -0
  260. package/dist/components/form/react-aria.js +1 -0
  261. package/dist/components/form-field.d.ts +2 -0
  262. package/dist/components/form-field.js +2 -0
  263. package/dist/components/grid-list/react-aria.d.ts +1 -0
  264. package/dist/components/grid-list/react-aria.js +1 -0
  265. package/dist/components/grid-list-header/react-aria.d.ts +1 -0
  266. package/dist/components/grid-list-header/react-aria.js +1 -0
  267. package/dist/components/grid-list-item/react-aria.d.ts +1 -0
  268. package/dist/components/grid-list-item/react-aria.js +1 -0
  269. package/dist/components/grid-list-load-more-item/react-aria.d.ts +1 -0
  270. package/dist/components/grid-list-load-more-item/react-aria.js +1 -0
  271. package/dist/components/grid-list-section/react-aria.d.ts +1 -0
  272. package/dist/components/grid-list-section/react-aria.js +1 -0
  273. package/dist/components/group/react-aria.d.ts +1 -0
  274. package/dist/components/group/react-aria.js +1 -0
  275. package/dist/components/header/react-aria.d.ts +1 -0
  276. package/dist/components/header/react-aria.js +1 -0
  277. package/dist/components/heading/react-aria.d.ts +1 -0
  278. package/dist/components/heading/react-aria.js +1 -0
  279. package/dist/components/i18n-provider/react-aria.d.ts +1 -0
  280. package/dist/components/i18n-provider/react-aria.js +1 -0
  281. package/dist/components/icon-button.d.ts +2 -0
  282. package/dist/components/icon-button.js +51 -0
  283. package/dist/components/inline-icon-button.d.ts +2 -0
  284. package/dist/components/inline-icon-button.js +40 -0
  285. package/dist/components/input/react-aria.d.ts +1 -0
  286. package/dist/components/input/react-aria.js +1 -0
  287. package/dist/components/input-upload.d.ts +2 -0
  288. package/dist/components/input-upload.js +2 -0
  289. package/dist/components/key/react-aria.d.ts +1 -0
  290. package/dist/components/key/react-aria.js +0 -0
  291. package/dist/components/keyboard/react-aria.d.ts +1 -0
  292. package/dist/components/keyboard/react-aria.js +1 -0
  293. package/dist/components/label/react-aria.d.ts +1 -0
  294. package/dist/components/label/react-aria.js +1 -0
  295. package/dist/components/link/react-aria.d.ts +1 -0
  296. package/dist/components/link/react-aria.js +1 -0
  297. package/dist/components/link.d.ts +2 -0
  298. package/dist/components/link.js +2 -0
  299. package/dist/components/list-box/react-aria.d.ts +1 -0
  300. package/dist/components/list-box/react-aria.js +1 -0
  301. package/dist/components/list-box-item/react-aria.d.ts +1 -0
  302. package/dist/components/list-box-item/react-aria.js +1 -0
  303. package/dist/components/list-box-load-more-item/react-aria.d.ts +1 -0
  304. package/dist/components/list-box-load-more-item/react-aria.js +1 -0
  305. package/dist/components/list-box-section/react-aria.d.ts +1 -0
  306. package/dist/components/list-box-section/react-aria.js +1 -0
  307. package/dist/components/loader.d.ts +2 -0
  308. package/dist/components/loader.js +2 -0
  309. package/dist/components/menu/react-aria.d.ts +1 -0
  310. package/dist/components/menu/react-aria.js +1 -0
  311. package/dist/components/menu-item/react-aria.d.ts +1 -0
  312. package/dist/components/menu-item/react-aria.js +1 -0
  313. package/dist/components/menu-section/react-aria.d.ts +1 -0
  314. package/dist/components/menu-section/react-aria.js +1 -0
  315. package/dist/components/menu-trigger/react-aria.d.ts +1 -0
  316. package/dist/components/menu-trigger/react-aria.js +1 -0
  317. package/dist/components/menu.d.ts +3 -0
  318. package/dist/components/menu.js +3 -0
  319. package/dist/components/meter/react-aria.d.ts +1 -0
  320. package/dist/components/meter/react-aria.js +1 -0
  321. package/dist/components/modal/react-aria.d.ts +1 -0
  322. package/dist/components/modal/react-aria.js +1 -0
  323. package/dist/components/modal-overlay/react-aria.d.ts +1 -0
  324. package/dist/components/modal-overlay/react-aria.js +1 -0
  325. package/dist/components/modal.d.ts +2 -0
  326. package/dist/components/modal.js +2 -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-input.d.ts +2 -0
  330. package/dist/components/number-input.js +243 -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/pill.d.ts +2 -0
  344. package/dist/components/pill.js +44 -0
  345. package/dist/components/popover/react-aria.d.ts +1 -0
  346. package/dist/components/popover/react-aria.js +1 -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-bar.d.ts +2 -0
  352. package/dist/components/progress-bar.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 +109 -0
  357. package/dist/components/query-select.d.ts +2 -0
  358. package/dist/components/query-select.js +121 -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/responsive-popover.d.ts +2 -0
  370. package/dist/components/responsive-popover.js +126 -0
  371. package/dist/components/router-provider/react-aria.d.ts +1 -0
  372. package/dist/components/router-provider/react-aria.js +1 -0
  373. package/dist/components/row/react-aria.d.ts +1 -0
  374. package/dist/components/row/react-aria.js +1 -0
  375. package/dist/components/search-field/react-aria.d.ts +1 -0
  376. package/dist/components/search-field/react-aria.js +1 -0
  377. package/dist/components/section/react-aria.d.ts +1 -0
  378. package/dist/components/section/react-aria.js +1 -0
  379. package/dist/components/segment.d.ts +3 -0
  380. package/dist/components/segment.js +2 -0
  381. package/dist/components/select/react-aria.d.ts +1 -0
  382. package/dist/components/select/react-aria.js +1 -0
  383. package/dist/components/select-value/react-aria.d.ts +1 -0
  384. package/dist/components/select-value/react-aria.js +1 -0
  385. package/dist/components/select.d.ts +3 -0
  386. package/dist/components/select.js +2 -0
  387. package/dist/components/selection/react-aria.d.ts +1 -0
  388. package/dist/components/selection/react-aria.js +0 -0
  389. package/dist/components/selection-indicator/react-aria.d.ts +1 -0
  390. package/dist/components/selection-indicator/react-aria.js +1 -0
  391. package/dist/components/separator/react-aria.d.ts +1 -0
  392. package/dist/components/separator/react-aria.js +1 -0
  393. package/dist/components/shared-element/react-aria.d.ts +1 -0
  394. package/dist/components/shared-element/react-aria.js +1 -0
  395. package/dist/components/shared-element-transition/react-aria.d.ts +1 -0
  396. package/dist/components/shared-element-transition/react-aria.js +1 -0
  397. package/dist/components/slider/react-aria.d.ts +1 -0
  398. package/dist/components/slider/react-aria.js +1 -0
  399. package/dist/components/slider-output/react-aria.d.ts +1 -0
  400. package/dist/components/slider-output/react-aria.js +1 -0
  401. package/dist/components/slider-thumb/react-aria.d.ts +1 -0
  402. package/dist/components/slider-thumb/react-aria.js +1 -0
  403. package/dist/components/slider-track/react-aria.d.ts +1 -0
  404. package/dist/components/slider-track/react-aria.js +1 -0
  405. package/dist/components/slider.d.ts +2 -0
  406. package/dist/components/slider.js +2 -0
  407. package/dist/components/split-button.d.ts +2 -0
  408. package/dist/components/split-button.js +123 -0
  409. package/dist/components/ssr-provider/react-aria.d.ts +1 -0
  410. package/dist/components/ssr-provider/react-aria.js +1 -0
  411. package/dist/components/stepper.d.ts +2 -0
  412. package/dist/components/stepper.js +2 -0
  413. package/dist/components/submenu-trigger/react-aria.d.ts +1 -0
  414. package/dist/components/submenu-trigger/react-aria.js +1 -0
  415. package/dist/components/switch/react-aria.d.ts +1 -0
  416. package/dist/components/switch/react-aria.js +1 -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/text-input.d.ts +2 -0
  454. package/dist/components/text-input.js +240 -0
  455. package/dist/components/time-field/react-aria.d.ts +1 -0
  456. package/dist/components/time-field/react-aria.js +1 -0
  457. package/dist/components/time-picker.d.ts +2 -0
  458. package/dist/components/time-picker.js +2 -0
  459. package/dist/components/toast/react-aria.d.ts +1 -0
  460. package/dist/components/toast/react-aria.js +1 -0
  461. package/dist/components/toast-content/react-aria.d.ts +1 -0
  462. package/dist/components/toast-content/react-aria.js +1 -0
  463. package/dist/components/toast-list/react-aria.d.ts +1 -0
  464. package/dist/components/toast-list/react-aria.js +1 -0
  465. package/dist/components/toast-region/react-aria.d.ts +1 -0
  466. package/dist/components/toast-region/react-aria.js +1 -0
  467. package/dist/components/toast.d.ts +4 -0
  468. package/dist/components/toast.js +3 -0
  469. package/dist/components/toggle-button/react-aria.d.ts +1 -0
  470. package/dist/components/toggle-button/react-aria.js +1 -0
  471. package/dist/components/toggle-button-group/react-aria.d.ts +5 -0
  472. package/dist/components/toggle-button-group/react-aria.js +1 -0
  473. package/dist/components/toggle-button.d.ts +2 -0
  474. package/dist/components/toggle-button.js +34 -0
  475. package/dist/components/toggle.d.ts +2 -0
  476. package/dist/components/toggle.js +2 -0
  477. package/dist/components/toolbar/react-aria.d.ts +1 -0
  478. package/dist/components/toolbar/react-aria.js +1 -0
  479. package/dist/components/tooltip/react-aria.d.ts +1 -0
  480. package/dist/components/tooltip/react-aria.js +1 -0
  481. package/dist/components/tooltip-ellipsis.d.ts +2 -0
  482. package/dist/components/tooltip-ellipsis.js +46 -0
  483. package/dist/components/tooltip-trigger/react-aria.d.ts +1 -0
  484. package/dist/components/tooltip-trigger/react-aria.js +1 -0
  485. package/dist/components/tooltip.d.ts +2 -0
  486. package/dist/components/tooltip.js +2 -0
  487. package/dist/components/tree/react-aria.d.ts +1 -0
  488. package/dist/components/tree/react-aria.js +1 -0
  489. package/dist/components/tree-item/react-aria.d.ts +1 -0
  490. package/dist/components/tree-item/react-aria.js +1 -0
  491. package/dist/components/tree-item-content/react-aria.d.ts +1 -0
  492. package/dist/components/tree-item-content/react-aria.js +1 -0
  493. package/dist/components/tree-load-more-item/react-aria.d.ts +1 -0
  494. package/dist/components/tree-load-more-item/react-aria.js +1 -0
  495. package/dist/components/typography.d.ts +3 -0
  496. package/dist/components/typography.js +2 -0
  497. package/dist/components/use-focus-visible/react-aria.d.ts +1 -0
  498. package/dist/components/use-focus-visible/react-aria.js +1 -0
  499. package/dist/components/use-focus-within/react-aria.d.ts +1 -0
  500. package/dist/components/use-focus-within/react-aria.js +1 -0
  501. package/dist/components/use-hover/react-aria.d.ts +1 -0
  502. package/dist/components/use-hover/react-aria.js +1 -0
  503. package/dist/components/use-label/react-aria.d.ts +1 -0
  504. package/dist/components/use-label/react-aria.js +1 -0
  505. package/dist/components/use-text-field/react-aria.d.ts +1 -0
  506. package/dist/components/use-text-field/react-aria.js +1 -0
  507. package/dist/components/use-toast.d.ts +2 -0
  508. package/dist/components/use-toast.js +42 -0
  509. package/dist/components/virtualizer/react-aria.d.ts +1 -0
  510. package/dist/components/virtualizer/react-aria.js +1 -0
  511. package/dist/components/visually-hidden/react-aria.d.ts +1 -0
  512. package/dist/components/visually-hidden/react-aria.js +1 -0
  513. package/dist/compoundMapper-CMoX98D2.d.ts +17 -0
  514. package/dist/compoundMapper-Di3SKZnS.js +13 -0
  515. package/dist/config/confirmation.d.ts +2 -0
  516. package/dist/config/confirmation.js +2 -0
  517. package/dist/config/link-context.d.ts +3 -0
  518. package/dist/config/link-context.js +2 -0
  519. package/dist/config/resources.d.ts +2 -0
  520. package/dist/config/resources.js +2 -0
  521. package/dist/config/theme-context.d.ts +2 -0
  522. package/dist/config/theme-context.js +2 -0
  523. package/dist/config/ui-config.d.ts +3 -0
  524. package/dist/config/ui-config.js +2 -0
  525. package/dist/config/ui-overrides.d.ts +2 -0
  526. package/dist/config/ui-overrides.js +2 -0
  527. package/dist/config/ui-router.d.ts +2 -0
  528. package/dist/config/ui-router.js +2 -0
  529. package/dist/confirmation.context-Cj2aHpa_.js +114 -0
  530. package/dist/confirmation.context-D_kJeU8m.d.ts +23 -0
  531. package/dist/context-74MZZLC0.js +93 -0
  532. package/dist/createLucideIcon-CskCrR9z.js +125 -0
  533. package/dist/date-picker-g50NliUB.d.ts +9 -0
  534. package/dist/date-range-picker-4EXSwE8B.d.ts +9 -0
  535. package/dist/date-time-picker-Bjag5nQ1.d.ts +9 -0
  536. package/dist/date-time.utils-0F9qduim.js +190 -0
  537. package/dist/date-time.utils-Cu9TVj46.d.ts +45 -0
  538. package/dist/date.transforms-DLg-eFcE.js +15 -0
  539. package/dist/date.utils-B8_QF9y6.js +42 -0
  540. package/dist/date.utils-BoQnMRlF.d.ts +7 -0
  541. package/dist/datePickerValue.utils-DtR1CyuD.js +223 -0
  542. package/dist/dist-gJbayyxp.js +925 -0
  543. package/dist/dom.utils-BOIN4YDz.js +49 -0
  544. package/dist/dynamicInputs-0GjoOaz5.js +194 -0
  545. package/dist/dynamicInputs-bhlywWDy.js +214 -0
  546. package/dist/dynamicInputs-p4ATehFR.d.ts +756 -0
  547. package/dist/fieldAdapter-C2YfWBmM.js +61 -0
  548. package/dist/fieldAdapter-C4sDFC8f.d.ts +9 -0
  549. package/dist/file-upload-Ba6NwH0N.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-ZUblxJUi.d.ts +106 -0
  553. package/dist/focusWithoutScrolling-DEPiLwKq.js +49 -0
  554. package/dist/form.binding-Cu03pQ8Y.d.ts +50 -0
  555. package/dist/form.binding-DLKteDiq.js +157 -0
  556. package/dist/form.types-ZNGbcqJS.d.ts +13 -0
  557. package/dist/form.types-qEwMTXTZ.d.ts +13 -0
  558. package/dist/hooks/use-filters.d.ts +2 -0
  559. package/dist/hooks/use-filters.js +2 -0
  560. package/dist/hooks/use-local-storage.d.ts +2 -0
  561. package/dist/hooks/use-local-storage.js +2 -0
  562. package/dist/hooks/use-translation-memo.d.ts +2 -0
  563. package/dist/hooks/use-translation-memo.js +2 -0
  564. package/dist/i18n-BDjNuy4Z.js +302 -0
  565. package/dist/i18n-D0Pz0p2u.d.ts +318 -0
  566. package/dist/icons.d.ts +2 -0
  567. package/dist/icons.js +2 -0
  568. package/dist/import-BXAtbYEe.js +73 -0
  569. package/dist/index-B8r_kiw4.d.ts +193 -0
  570. package/dist/index-DCUSluLL.d.ts +269 -0
  571. package/dist/index.d.ts +106 -1
  572. package/dist/index.js +101 -159
  573. package/dist/input-upload-BxRgcRt4.d.ts +9 -0
  574. package/dist/input.cva-CfgCOIQW.d.ts +80 -0
  575. package/dist/input.cva-KYGD4Bdz.js +324 -0
  576. package/dist/intl.utils-NaOZUD2G.d.ts +9 -0
  577. package/dist/intl.utils-zwAFoZ0U.js +38 -0
  578. package/dist/intlStrings-DrQB127v.js +346 -0
  579. package/dist/link.context-C1RcdC0i.d.ts +12 -0
  580. package/dist/link.context-J7aQtMOr.js +35 -0
  581. package/dist/logger-DpUn65wp.js +331 -0
  582. package/dist/logger-N35Xhi14.d.ts +10 -0
  583. package/dist/lucide-react-BJRvqSeV.d.ts +23 -0
  584. package/dist/modal.cva-CbziPHSN.js +43 -0
  585. package/dist/number-DTwXo26a.js +40 -0
  586. package/dist/number-input-BoUfnoR2.d.ts +8 -0
  587. package/dist/number-range-input-43A63EzS.d.ts +8 -0
  588. package/dist/numberStatic.utils-DcnGigJ6.js +636 -0
  589. package/dist/openLink-CIHtr0U7.js +95 -0
  590. package/dist/outline.clsx-50W_vNDl.js +6 -0
  591. package/dist/outline.clsx-B1hjrX9t.d.ts +4 -0
  592. package/dist/password-input-BPAjcIly.d.ts +8 -0
  593. package/dist/pillButton.cva-Da0WFN39.d.ts +34 -0
  594. package/dist/pillButton.cva-DbwzixcK.js +263 -0
  595. package/dist/platform-df1ZXSJE.js +47 -0
  596. package/dist/popover.cva-CXha_UMQ.js +5 -0
  597. package/dist/queries.utils-CmbhAoHU.js +18 -0
  598. package/dist/query-autocomplete-Dh1Yeu4p.d.ts +14 -0
  599. package/dist/query-select-7lNZcE_x.d.ts +15 -0
  600. package/dist/queryAutocomplete.types-D7SmWVq-.d.ts +26 -0
  601. package/dist/radio-group-DmilCTsI.d.ts +9 -0
  602. package/dist/radio.cva-9lpsise2.d.ts +51 -0
  603. package/dist/rhf/autocomplete.d.ts +3 -0
  604. package/dist/rhf/autocomplete.js +8 -0
  605. package/dist/rhf/checkbox-group.d.ts +3 -0
  606. package/dist/rhf/checkbox-group.js +8 -0
  607. package/dist/rhf/checkbox.d.ts +3 -0
  608. package/dist/rhf/checkbox.js +8 -0
  609. package/dist/rhf/date-picker.d.ts +3 -0
  610. package/dist/rhf/date-picker.js +9 -0
  611. package/dist/rhf/date-range-picker.d.ts +3 -0
  612. package/dist/rhf/date-range-picker.js +9 -0
  613. package/dist/rhf/date-time-picker.d.ts +3 -0
  614. package/dist/rhf/date-time-picker.js +9 -0
  615. package/dist/rhf/file-upload.d.ts +3 -0
  616. package/dist/rhf/file-upload.js +6 -0
  617. package/dist/rhf/input-upload.d.ts +3 -0
  618. package/dist/rhf/input-upload.js +6 -0
  619. package/dist/rhf/inputs.d.ts +4 -0
  620. package/dist/rhf/inputs.js +2 -0
  621. package/dist/rhf/number-input.d.ts +3 -0
  622. package/dist/rhf/number-input.js +6 -0
  623. package/dist/rhf/number-range-input.d.ts +3 -0
  624. package/dist/rhf/number-range-input.js +6 -0
  625. package/dist/rhf/password-input.d.ts +3 -0
  626. package/dist/rhf/password-input.js +6 -0
  627. package/dist/rhf/query-autocomplete.d.ts +2 -0
  628. package/dist/rhf/query-autocomplete.js +8 -0
  629. package/dist/rhf/query-select.d.ts +2 -0
  630. package/dist/rhf/query-select.js +8 -0
  631. package/dist/rhf/radio-group.d.ts +3 -0
  632. package/dist/rhf/radio-group.js +8 -0
  633. package/dist/rhf/segment.d.ts +3 -0
  634. package/dist/rhf/segment.js +6 -0
  635. package/dist/rhf/select.d.ts +3 -0
  636. package/dist/rhf/select.js +8 -0
  637. package/dist/rhf/slider.d.ts +3 -0
  638. package/dist/rhf/slider.js +6 -0
  639. package/dist/rhf/text-area.d.ts +3 -0
  640. package/dist/rhf/text-area.js +6 -0
  641. package/dist/rhf/text-editor.d.ts +3 -0
  642. package/dist/rhf/text-editor.js +6 -0
  643. package/dist/rhf/text-input.d.ts +3 -0
  644. package/dist/rhf/text-input.js +6 -0
  645. package/dist/rhf/time-picker.d.ts +3 -0
  646. package/dist/rhf/time-picker.js +9 -0
  647. package/dist/rhf/toggle.d.ts +3 -0
  648. package/dist/rhf/toggle.js +8 -0
  649. package/dist/rhf-CKTAnaMF.js +256 -0
  650. package/dist/rhf.d.ts +106 -264
  651. package/dist/rhf.js +101 -0
  652. package/dist/router.context-BOYRh2p9.d.ts +16 -0
  653. package/dist/router.context-VhvhlIvV.js +63 -0
  654. package/dist/routing.utils-UTQonIhB.js +25 -0
  655. package/dist/segment-BOELlo1K.d.ts +9 -0
  656. package/dist/segment.types-BYTmg69p.d.ts +58 -0
  657. package/dist/select-CD3fNAgK.d.ts +16 -0
  658. package/dist/slider-tx1tub5d.d.ts +8 -0
  659. package/dist/staticDateTimeSegments-Cefwvojy.js +1503 -0
  660. package/dist/staticSelect.utils-C_e1tJ3T.js +4046 -0
  661. package/dist/string.utils-BPgv6QwA.js +12 -0
  662. package/dist/string.utils-Cj6AB7uZ.d.ts +7 -0
  663. package/dist/styles/input.d.ts +2 -0
  664. package/dist/styles/input.js +0 -0
  665. package/dist/styles/outline.d.ts +2 -0
  666. package/dist/styles/outline.js +2 -0
  667. package/dist/tanstack/autocomplete.d.ts +2 -0
  668. package/dist/tanstack/autocomplete.js +2 -0
  669. package/dist/tanstack/checkbox-group.d.ts +2 -0
  670. package/dist/tanstack/checkbox-group.js +2 -0
  671. package/dist/tanstack/checkbox.d.ts +2 -0
  672. package/dist/tanstack/checkbox.js +2 -0
  673. package/dist/tanstack/date-picker.d.ts +2 -0
  674. package/dist/tanstack/date-picker.js +2 -0
  675. package/dist/tanstack/date-range-picker.d.ts +2 -0
  676. package/dist/tanstack/date-range-picker.js +2 -0
  677. package/dist/tanstack/date-time-picker.d.ts +2 -0
  678. package/dist/tanstack/date-time-picker.js +2 -0
  679. package/dist/tanstack/file-upload.d.ts +3 -0
  680. package/dist/tanstack/file-upload.js +2 -0
  681. package/dist/tanstack/form.d.ts +3 -0
  682. package/dist/tanstack/form.js +3 -0
  683. package/dist/tanstack/input-upload.d.ts +2 -0
  684. package/dist/tanstack/input-upload.js +2 -0
  685. package/dist/tanstack/inputs.d.ts +5 -0
  686. package/dist/tanstack/inputs.js +3 -0
  687. package/dist/tanstack/number-input.d.ts +2 -0
  688. package/dist/tanstack/number-input.js +2 -0
  689. package/dist/tanstack/number-range-input.d.ts +2 -0
  690. package/dist/tanstack/number-range-input.js +2 -0
  691. package/dist/tanstack/password-input.d.ts +2 -0
  692. package/dist/tanstack/password-input.js +2 -0
  693. package/dist/tanstack/query-autocomplete.d.ts +2 -0
  694. package/dist/tanstack/query-autocomplete.js +2 -0
  695. package/dist/tanstack/query-select.d.ts +2 -0
  696. package/dist/tanstack/query-select.js +2 -0
  697. package/dist/tanstack/radio-group.d.ts +2 -0
  698. package/dist/tanstack/radio-group.js +2 -0
  699. package/dist/tanstack/segment.d.ts +3 -0
  700. package/dist/tanstack/segment.js +2 -0
  701. package/dist/tanstack/select.d.ts +2 -0
  702. package/dist/tanstack/select.js +2 -0
  703. package/dist/tanstack/slider.d.ts +2 -0
  704. package/dist/tanstack/slider.js +2 -0
  705. package/dist/tanstack/table.d.ts +2 -0
  706. package/dist/tanstack/table.js +2 -0
  707. package/dist/tanstack/text-area.d.ts +2 -0
  708. package/dist/tanstack/text-area.js +2 -0
  709. package/dist/tanstack/text-editor.d.ts +2 -0
  710. package/dist/tanstack/text-editor.js +2 -0
  711. package/dist/tanstack/text-input.d.ts +2 -0
  712. package/dist/tanstack/text-input.js +2 -0
  713. package/dist/tanstack/time-picker.d.ts +2 -0
  714. package/dist/tanstack/time-picker.js +2 -0
  715. package/dist/tanstack/toggle.d.ts +2 -0
  716. package/dist/tanstack/toggle.js +2 -0
  717. package/dist/tanstack.d.ts +92 -263
  718. package/dist/tanstack.js +97 -180
  719. package/dist/text-area-kb2PxyJb.d.ts +8 -0
  720. package/dist/text-editor-CDECpKqj.d.ts +8 -0
  721. package/dist/text-editor.d.ts +2 -2
  722. package/dist/text-editor.js +1 -1
  723. package/dist/text-input-VqRJ0y7Y.d.ts +8 -0
  724. package/dist/theme.context-B10jqjvZ.d.ts +20 -0
  725. package/dist/theme.context-B3wQDJ-i.js +120 -0
  726. package/dist/time-picker-BYfudvVK.d.ts +9 -0
  727. package/dist/toast.cva-C1ZPw_oP.d.ts +60 -0
  728. package/dist/toast.runtime-B24OkF4t.js +17 -0
  729. package/dist/toastActivation.store-BELtcr76.js +16 -0
  730. package/dist/toggle-DK5CDOtt.d.ts +9 -0
  731. package/dist/toggle.cva-2CGLc8aa.d.ts +15 -0
  732. package/dist/tooltipWrapper.cva-CUu8pI-a.js +5 -0
  733. package/dist/triangle-B5uw3vnc.js +13 -0
  734. package/dist/tw-ui-plugin.d.ts +4 -2
  735. package/dist/tw-ui-plugin.js +1 -1
  736. package/dist/types/index.d.ts +2 -0
  737. package/dist/types/index.js +0 -0
  738. package/dist/types-BT18i837.d.ts +69 -0
  739. package/dist/types-ZbFfCz06.d.ts +823 -0
  740. package/dist/typography.cva-7RYwLrA7.d.ts +51 -0
  741. package/dist/typography.cva-BI0FyIqm.js +129 -0
  742. package/dist/uiConfig.context-BG4jfp9p.js +364 -0
  743. package/dist/uiConfig.context-Bjb9TQ6Y.d.ts +126 -0
  744. package/dist/uiOverrides.context-BdokYcGO.d.ts +243 -0
  745. package/dist/uiOverrides.context-Bfm2n-n8.js +399 -0
  746. package/dist/useBreakpoint-DFoeJwp-.js +70 -0
  747. package/dist/useButton-CTZ6UEfP.js +56 -0
  748. package/dist/useControlledState-Bk39gTui.js +31 -0
  749. package/dist/useDescription-4EIEr0rR.js +36 -0
  750. package/dist/useEffectEvent-BdzIyMdT.js +17 -0
  751. package/dist/useEvent-CjGFQh-l.js +22 -0
  752. package/dist/useFieldAccessibility-dF3tgN_A.js +96 -0
  753. package/dist/useFilter-BsjdRENO.js +44 -0
  754. package/dist/useFilters-20jpzc29.js +190 -0
  755. package/dist/useFilters-BxRScJdn.d.ts +11 -0
  756. package/dist/useFocusRing-Cd0lBvKO.js +41 -0
  757. package/dist/useFormAutosave-Ckq-Qb34.js +198 -0
  758. package/dist/useFormReset-BmSQIMid.js +18 -0
  759. package/dist/useFormValidation-DlNyD6aD.js +87 -0
  760. package/dist/useFormValidationState-Bpry7Uk5.js +142 -0
  761. package/dist/useGlobalListeners-DuENtiaD.js +39 -0
  762. package/dist/useIntersectionObserver-DYfHnGGU.js +98 -0
  763. package/dist/useLabels-Bt2BXuQ6.js +16 -0
  764. package/dist/useLocalStorage-DGsBUCT6.d.ts +13 -0
  765. package/dist/useLocalStorage-PlcaJ1tP.js +70 -0
  766. package/dist/useLocalizedStringFormatter-tBB7tXBj.js +108 -0
  767. package/dist/useNumberFormatter-Dgd8W1FX.js +10 -0
  768. package/dist/useQueryAutocomplete-CraXvRm_.js +152 -0
  769. package/dist/useSpinButton-Ba23Hqso.js +578 -0
  770. package/dist/useStaticInputHandoff-9V4kd391.js +321 -0
  771. package/dist/useTableColumnConfig-C6mWcIwp.js +1620 -0
  772. package/dist/useTableNav-aDO5L4da.d.ts +291 -0
  773. package/dist/useToast-q70ayd29.d.ts +16 -0
  774. package/dist/useToggle-D8aP2d5t.js +63 -0
  775. package/dist/useToggleState-Dyx-sAjp.js +23 -0
  776. package/dist/useTranslationMemo-CrZbeyBv.js +32 -0
  777. package/dist/useTranslationMemo-Dy3p6m1g.d.ts +6 -0
  778. package/dist/utils/compound-mapper.d.ts +2 -0
  779. package/dist/utils/compound-mapper.js +2 -0
  780. package/dist/utils/date-time.d.ts +2 -0
  781. package/dist/utils/date-time.js +2 -0
  782. package/dist/utils/date.d.ts +2 -0
  783. package/dist/utils/date.js +2 -0
  784. package/dist/utils/file.d.ts +2 -0
  785. package/dist/utils/file.js +2 -0
  786. package/dist/utils/intl.d.ts +2 -0
  787. package/dist/utils/intl.js +2 -0
  788. package/dist/utils/logger.d.ts +2 -7
  789. package/dist/utils/logger.js +1 -18
  790. package/dist/utils/string.d.ts +2 -0
  791. package/dist/utils/string.js +2 -0
  792. package/dist/utils-D-KKbY-n.js +375 -0
  793. package/dist/x-BYOEO0gW.js +16 -0
  794. package/dist/zod.utils-DrrPDT9v.js +24 -0
  795. package/package.json +1352 -20
  796. package/dist/assets/icons/Account.d.ts +0 -2
  797. package/dist/assets/icons/AlignCenter.d.ts +0 -2
  798. package/dist/assets/icons/AlignCenter.js +0 -30
  799. package/dist/assets/icons/AlignLeft.d.ts +0 -2
  800. package/dist/assets/icons/AlignLeft.js +0 -30
  801. package/dist/assets/icons/AlignLeftRight.d.ts +0 -2
  802. package/dist/assets/icons/AlignLeftRight.js +0 -30
  803. package/dist/assets/icons/AlignRight.d.ts +0 -2
  804. package/dist/assets/icons/AlignRight.js +0 -30
  805. package/dist/assets/icons/ArrowDropDown.d.ts +0 -2
  806. package/dist/assets/icons/ArrowDropDown.js +0 -30
  807. package/dist/assets/icons/ArrowDropUp.d.ts +0 -2
  808. package/dist/assets/icons/ArrowDropUp.js +0 -30
  809. package/dist/assets/icons/ArrowLeft.d.ts +0 -2
  810. package/dist/assets/icons/ArrowLeft.js +0 -30
  811. package/dist/assets/icons/ArrowRight.d.ts +0 -2
  812. package/dist/assets/icons/ArrowRight.js +0 -30
  813. package/dist/assets/icons/Board.d.ts +0 -2
  814. package/dist/assets/icons/Bold.d.ts +0 -2
  815. package/dist/assets/icons/Bold.js +0 -30
  816. package/dist/assets/icons/BulletedList.d.ts +0 -2
  817. package/dist/assets/icons/BulletedList.js +0 -30
  818. package/dist/assets/icons/Calendar.d.ts +0 -2
  819. package/dist/assets/icons/Calendar.js +0 -32
  820. package/dist/assets/icons/Check.d.ts +0 -2
  821. package/dist/assets/icons/Check.js +0 -32
  822. package/dist/assets/icons/CheckCircle.d.ts +0 -2
  823. package/dist/assets/icons/CheckCircle.js +0 -30
  824. package/dist/assets/icons/CheckboxCheckmark.d.ts +0 -2
  825. package/dist/assets/icons/CheckboxCheckmark.js +0 -33
  826. package/dist/assets/icons/CheckboxIndeterminate.d.ts +0 -2
  827. package/dist/assets/icons/CheckboxIndeterminate.js +0 -33
  828. package/dist/assets/icons/ChevronDown.d.ts +0 -2
  829. package/dist/assets/icons/ChevronDown.js +0 -32
  830. package/dist/assets/icons/ChevronLeft.d.ts +0 -2
  831. package/dist/assets/icons/ChevronLeft.js +0 -32
  832. package/dist/assets/icons/ChevronRight.d.ts +0 -2
  833. package/dist/assets/icons/ChevronRight.js +0 -32
  834. package/dist/assets/icons/ChevronUp.d.ts +0 -2
  835. package/dist/assets/icons/ChevronUp.js +0 -32
  836. package/dist/assets/icons/ChevronsLeft.d.ts +0 -2
  837. package/dist/assets/icons/ChevronsLeft.js +0 -32
  838. package/dist/assets/icons/ChevronsRight.d.ts +0 -2
  839. package/dist/assets/icons/ChevronsRight.js +0 -32
  840. package/dist/assets/icons/Clock.d.ts +0 -2
  841. package/dist/assets/icons/Clock.js +0 -30
  842. package/dist/assets/icons/Close.d.ts +0 -2
  843. package/dist/assets/icons/Close.js +0 -30
  844. package/dist/assets/icons/DateTime.d.ts +0 -2
  845. package/dist/assets/icons/DateTime.js +0 -39
  846. package/dist/assets/icons/DragIndicator.d.ts +0 -2
  847. package/dist/assets/icons/DragIndicator.js +0 -30
  848. package/dist/assets/icons/Edit.d.ts +0 -2
  849. package/dist/assets/icons/Emoji.d.ts +0 -2
  850. package/dist/assets/icons/File.d.ts +0 -2
  851. package/dist/assets/icons/File.js +0 -32
  852. package/dist/assets/icons/Grid.d.ts +0 -2
  853. package/dist/assets/icons/Highlight.d.ts +0 -2
  854. package/dist/assets/icons/Highlight.js +0 -30
  855. package/dist/assets/icons/HighlightOn.d.ts +0 -6
  856. package/dist/assets/icons/HighlightOn.js +0 -55
  857. package/dist/assets/icons/Home.d.ts +0 -2
  858. package/dist/assets/icons/Home.js +0 -30
  859. package/dist/assets/icons/Image.d.ts +0 -2
  860. package/dist/assets/icons/ImageError.d.ts +0 -2
  861. package/dist/assets/icons/Info.d.ts +0 -2
  862. package/dist/assets/icons/Info.js +0 -41
  863. package/dist/assets/icons/Italic.d.ts +0 -2
  864. package/dist/assets/icons/Italic.js +0 -30
  865. package/dist/assets/icons/Link.d.ts +0 -2
  866. package/dist/assets/icons/Link.js +0 -30
  867. package/dist/assets/icons/Loader.d.ts +0 -2
  868. package/dist/assets/icons/MapPin.d.ts +0 -2
  869. package/dist/assets/icons/Menu.d.ts +0 -2
  870. package/dist/assets/icons/Menu.js +0 -30
  871. package/dist/assets/icons/Minus.d.ts +0 -2
  872. package/dist/assets/icons/MoreHoriz.d.ts +0 -2
  873. package/dist/assets/icons/NumberedList.d.ts +0 -2
  874. package/dist/assets/icons/NumberedList.js +0 -30
  875. package/dist/assets/icons/Pause.d.ts +0 -2
  876. package/dist/assets/icons/Plus.d.ts +0 -2
  877. package/dist/assets/icons/PointerHorizontal.d.ts +0 -2
  878. package/dist/assets/icons/PointerHorizontal.js +0 -30
  879. package/dist/assets/icons/PointerVertical.d.ts +0 -2
  880. package/dist/assets/icons/PointerVertical.js +0 -30
  881. package/dist/assets/icons/Retry.d.ts +0 -2
  882. package/dist/assets/icons/Search.d.ts +0 -2
  883. package/dist/assets/icons/Search.js +0 -30
  884. package/dist/assets/icons/Send.d.ts +0 -2
  885. package/dist/assets/icons/Send.js +0 -32
  886. package/dist/assets/icons/Share.d.ts +0 -2
  887. package/dist/assets/icons/Slash.d.ts +0 -2
  888. package/dist/assets/icons/Strikethrough.d.ts +0 -2
  889. package/dist/assets/icons/Strikethrough.js +0 -30
  890. package/dist/assets/icons/TextColor.d.ts +0 -6
  891. package/dist/assets/icons/TextColor.js +0 -52
  892. package/dist/assets/icons/Today.d.ts +0 -2
  893. package/dist/assets/icons/Today.js +0 -30
  894. package/dist/assets/icons/Trash.d.ts +0 -2
  895. package/dist/assets/icons/Underlined.d.ts +0 -2
  896. package/dist/assets/icons/Underlined.js +0 -32
  897. package/dist/assets/icons/Upload.d.ts +0 -2
  898. package/dist/assets/icons/Upload.js +0 -39
  899. package/dist/assets/icons/User.d.ts +0 -2
  900. package/dist/assets/icons/Visibility.d.ts +0 -2
  901. package/dist/assets/icons/Visibility.js +0 -30
  902. package/dist/assets/icons/VisibilityOff.d.ts +0 -2
  903. package/dist/assets/icons/VisibilityOff.js +0 -30
  904. package/dist/assets/icons/WarningFilled.d.ts +0 -2
  905. package/dist/assets/icons/WarningFilled.js +0 -32
  906. package/dist/assets/icons/WarningOutlined.d.ts +0 -2
  907. package/dist/assets/locales/en/translation.json.d.ts +0 -158
  908. package/dist/assets/locales/en/translation.json.js +0 -147
  909. package/dist/assets/locales/sl/translation.json.d.ts +0 -154
  910. package/dist/assets/locales/sl/translation.json.js +0 -145
  911. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -16
  912. package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -112
  913. package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +0 -45
  914. package/dist/components/Breadcrumbs/breadcrumbs.cva.js +0 -27
  915. package/dist/components/Menu/Menu.d.ts +0 -21
  916. package/dist/components/Menu/Menu.js +0 -27
  917. package/dist/components/Menu/MenuDesktop.d.ts +0 -2
  918. package/dist/components/Menu/MenuDesktop.js +0 -48
  919. package/dist/components/Menu/MenuItem.d.ts +0 -3
  920. package/dist/components/Menu/MenuItem.js +0 -46
  921. package/dist/components/Menu/MenuMobile.d.ts +0 -2
  922. package/dist/components/Menu/MenuMobile.js +0 -142
  923. package/dist/components/Menu/MenuPopover.d.ts +0 -5
  924. package/dist/components/Menu/MenuPopover.js +0 -121
  925. package/dist/components/Menu/menu.cva.d.ts +0 -39
  926. package/dist/components/Menu/menu.cva.js +0 -34
  927. package/dist/components/buttons/Button/Button.d.ts +0 -28
  928. package/dist/components/buttons/Button/Button.js +0 -66
  929. package/dist/components/buttons/Button/button.cva.d.ts +0 -99
  930. package/dist/components/buttons/Button/button.cva.js +0 -661
  931. package/dist/components/buttons/IconButton/IconButton.d.ts +0 -11
  932. package/dist/components/buttons/IconButton/IconButton.js +0 -51
  933. package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +0 -13
  934. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -15
  935. package/dist/components/buttons/PillButton/PillButton.d.ts +0 -12
  936. package/dist/components/buttons/PillButton/PillButton.js +0 -72
  937. package/dist/components/buttons/PillButton/pillButton.cva.d.ts +0 -40
  938. package/dist/components/buttons/PillButton/pillButton.cva.js +0 -264
  939. package/dist/components/buttons/SplitButton/SplitButton.d.ts +0 -12
  940. package/dist/components/buttons/SplitButton/SplitButton.js +0 -123
  941. package/dist/components/buttons/TextButton/TextButton.d.ts +0 -12
  942. package/dist/components/buttons/TextButton/TextButton.js +0 -36
  943. package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -9
  944. package/dist/components/buttons/ToggleButton/ToggleButton.js +0 -34
  945. package/dist/components/buttons/shared/ButtonContent.d.ts +0 -14
  946. package/dist/components/buttons/shared/ButtonContent.js +0 -37
  947. package/dist/components/buttons/shared/buttonContent.cva.d.ts +0 -8
  948. package/dist/components/buttons/shared/buttonContent.cva.js +0 -30
  949. package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -20
  950. package/dist/components/inputs/Checkbox/Checkbox.js +0 -236
  951. package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +0 -9
  952. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +0 -26
  953. package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +0 -26
  954. package/dist/components/inputs/Checkbox/CheckboxGroup.js +0 -392
  955. package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +0 -94
  956. package/dist/components/inputs/Checkbox/checkbox.cva.js +0 -161
  957. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +0 -40
  958. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -422
  959. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +0 -45
  960. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -883
  961. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +0 -40
  962. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -382
  963. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +0 -28
  964. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -644
  965. package/dist/components/inputs/DateTime/shared/Calendar.d.ts +0 -29
  966. package/dist/components/inputs/DateTime/shared/Calendar.js +0 -177
  967. package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -22
  968. package/dist/components/inputs/DateTime/shared/CalendarCell.js +0 -145
  969. package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -27
  970. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +0 -54
  971. package/dist/components/inputs/DateTime/shared/CalendarHeader.d.ts +0 -18
  972. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +0 -121
  973. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
  974. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -177
  975. package/dist/components/inputs/DateTime/shared/DateField.d.ts +0 -21
  976. package/dist/components/inputs/DateTime/shared/DateField.js +0 -156
  977. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +0 -45
  978. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +0 -197
  979. package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -28
  980. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +0 -124
  981. package/dist/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -18
  982. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +0 -101
  983. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -8
  984. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +0 -27
  985. package/dist/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -11
  986. package/dist/components/inputs/DateTime/shared/MonthPicker.js +0 -135
  987. package/dist/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -26
  988. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +0 -209
  989. package/dist/components/inputs/DateTime/shared/TimeField.d.ts +0 -12
  990. package/dist/components/inputs/DateTime/shared/TimeField.js +0 -38
  991. package/dist/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -10
  992. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +0 -329
  993. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -24
  994. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -242
  995. package/dist/components/inputs/DateTime/shared/YearPicker.d.ts +0 -12
  996. package/dist/components/inputs/DateTime/shared/YearPicker.js +0 -151
  997. package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +0 -5
  998. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +0 -16
  999. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +0 -16
  1000. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
  1001. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +0 -32
  1002. package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
  1003. package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
  1004. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -41
  1005. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +0 -99
  1006. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
  1007. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.d.ts +0 -2
  1008. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +0 -33
  1009. package/dist/components/inputs/File/FileUpload.d.ts +0 -4
  1010. package/dist/components/inputs/File/FileUpload.js +0 -253
  1011. package/dist/components/inputs/File/FileUploadContainer.d.ts +0 -3
  1012. package/dist/components/inputs/File/FileUploadContainer.js +0 -22
  1013. package/dist/components/inputs/File/InputUpload.d.ts +0 -4
  1014. package/dist/components/inputs/File/InputUpload.js +0 -157
  1015. package/dist/components/inputs/File/fileUpload.types.d.ts +0 -96
  1016. package/dist/components/inputs/File/index.d.ts +0 -9
  1017. package/dist/components/inputs/File/inputUpload.types.d.ts +0 -37
  1018. package/dist/components/inputs/File/inputUpload.types.js +0 -9
  1019. package/dist/components/inputs/File/shared/FileCard.d.ts +0 -9
  1020. package/dist/components/inputs/File/shared/FileCard.js +0 -121
  1021. package/dist/components/inputs/File/shared/FileCardList.d.ts +0 -9
  1022. package/dist/components/inputs/File/shared/FileCardList.js +0 -60
  1023. package/dist/components/inputs/File/shared/FileUploadContent.d.ts +0 -10
  1024. package/dist/components/inputs/File/shared/FileUploadContent.js +0 -208
  1025. package/dist/components/inputs/File/shared/FileUploadContentEmpty.d.ts +0 -9
  1026. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +0 -58
  1027. package/dist/components/inputs/File/shared/FileUploadContentError.d.ts +0 -11
  1028. package/dist/components/inputs/File/shared/FileUploadContentError.js +0 -113
  1029. package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
  1030. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -118
  1031. package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
  1032. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -80
  1033. package/dist/components/inputs/File/shared/InputUploadContent.d.ts +0 -9
  1034. package/dist/components/inputs/File/shared/InputUploadContent.js +0 -169
  1035. package/dist/components/inputs/File/shared/InputUploadFilled.d.ts +0 -8
  1036. package/dist/components/inputs/File/shared/InputUploadFilled.js +0 -69
  1037. package/dist/components/inputs/File/shared/ProgressBar.d.ts +0 -6
  1038. package/dist/components/inputs/File/shared/ProgressBar.js +0 -33
  1039. package/dist/components/inputs/File/shared/fileUpload.cva.d.ts +0 -17
  1040. package/dist/components/inputs/File/shared/fileUpload.cva.js +0 -42
  1041. package/dist/components/inputs/File/shared/inputUploadButton.cva.d.ts +0 -27
  1042. package/dist/components/inputs/File/shared/inputUploadButton.cva.js +0 -39
  1043. package/dist/components/inputs/File/shared/progressBar.cva.d.ts +0 -38
  1044. package/dist/components/inputs/File/shared/progressBar.cva.js +0 -28
  1045. package/dist/components/inputs/FormField/FormField.d.ts +0 -20
  1046. package/dist/components/inputs/FormField/FormField.js +0 -127
  1047. package/dist/components/inputs/FormField/FormFieldError.d.ts +0 -7
  1048. package/dist/components/inputs/FormField/FormFieldError.js +0 -33
  1049. package/dist/components/inputs/FormField/FormFieldHeader.d.ts +0 -14
  1050. package/dist/components/inputs/FormField/FormFieldHeader.js +0 -97
  1051. package/dist/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -5
  1052. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +0 -41
  1053. package/dist/components/inputs/FormField/FormFieldHelper.d.ts +0 -8
  1054. package/dist/components/inputs/FormField/FormFieldHelper.js +0 -34
  1055. package/dist/components/inputs/FormField/FormFieldLabel.d.ts +0 -13
  1056. package/dist/components/inputs/FormField/FormFieldLabel.js +0 -59
  1057. package/dist/components/inputs/FormField/formFieldError.cva.d.ts +0 -13
  1058. package/dist/components/inputs/FormField/formFieldError.cva.js +0 -14
  1059. package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +0 -13
  1060. package/dist/components/inputs/FormField/formFieldHeader.cva.js +0 -14
  1061. package/dist/components/inputs/FormField/formFieldHelper.cva.d.ts +0 -13
  1062. package/dist/components/inputs/FormField/formFieldHelper.cva.js +0 -14
  1063. package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +0 -23
  1064. package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -492
  1065. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -45
  1066. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -571
  1067. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -35
  1068. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -337
  1069. package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +0 -7
  1070. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -62
  1071. package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +0 -8
  1072. package/dist/components/inputs/Input/TextArea/TextArea.cva.js +0 -5
  1073. package/dist/components/inputs/Input/TextArea/TextArea.d.ts +0 -18
  1074. package/dist/components/inputs/Input/TextArea/TextArea.js +0 -345
  1075. package/dist/components/inputs/Input/TextInput/TextInput.d.ts +0 -23
  1076. package/dist/components/inputs/Input/TextInput/TextInput.js +0 -468
  1077. package/dist/components/inputs/Input/shared/InputContent.d.ts +0 -28
  1078. package/dist/components/inputs/Input/shared/InputContent.js +0 -211
  1079. package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
  1080. package/dist/components/inputs/Input/shared/numberStatic.utils.js +0 -7
  1081. package/dist/components/inputs/Inputs/Form.d.ts +0 -26
  1082. package/dist/components/inputs/Inputs/Form.js +0 -73
  1083. package/dist/components/inputs/Inputs/InputItem.d.ts +0 -67
  1084. package/dist/components/inputs/Inputs/InputItem.js +0 -112
  1085. package/dist/components/inputs/Inputs/Inputs.d.ts +0 -10
  1086. package/dist/components/inputs/Inputs/Inputs.js +0 -43
  1087. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +0 -22
  1088. package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -371
  1089. package/dist/components/inputs/RadioGroup/radio.cva.d.ts +0 -62
  1090. package/dist/components/inputs/RadioGroup/radio.cva.js +0 -85
  1091. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +0 -12
  1092. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +0 -165
  1093. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +0 -4
  1094. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -176
  1095. package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +0 -39
  1096. package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +0 -15
  1097. package/dist/components/inputs/Selection/Select/QuerySelect.js +0 -172
  1098. package/dist/components/inputs/Selection/Select/Select.d.ts +0 -12
  1099. package/dist/components/inputs/Selection/Select/Select.js +0 -235
  1100. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +0 -37
  1101. package/dist/components/inputs/Selection/shared/SelectBase.js +0 -82
  1102. package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +0 -5
  1103. package/dist/components/inputs/Selection/shared/SelectDesktop.js +0 -419
  1104. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
  1105. package/dist/components/inputs/Selection/shared/SelectInput.js +0 -469
  1106. package/dist/components/inputs/Selection/shared/SelectInputTags.d.ts +0 -12
  1107. package/dist/components/inputs/Selection/shared/SelectInputTags.js +0 -105
  1108. package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +0 -9
  1109. package/dist/components/inputs/Selection/shared/SelectListBox.js +0 -75
  1110. package/dist/components/inputs/Selection/shared/SelectListBoxItem.d.ts +0 -7
  1111. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +0 -104
  1112. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +0 -4
  1113. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +0 -88
  1114. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +0 -6
  1115. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +0 -89
  1116. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -5
  1117. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +0 -76
  1118. package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +0 -5
  1119. package/dist/components/inputs/Selection/shared/SelectMobile.js +0 -127
  1120. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
  1121. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +0 -47
  1122. package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +0 -15
  1123. package/dist/components/inputs/Selection/shared/querySelect.utils.js +0 -44
  1124. package/dist/components/inputs/Selection/shared/select.context.d.ts +0 -32
  1125. package/dist/components/inputs/Selection/shared/select.context.js +0 -231
  1126. package/dist/components/inputs/Selection/shared/select.types.d.ts +0 -64
  1127. package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +0 -6
  1128. package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +0 -5
  1129. package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +0 -12
  1130. package/dist/components/inputs/Selection/shared/selectInput.cva.js +0 -8
  1131. package/dist/components/inputs/Selection/shared/selectItem.cva.d.ts +0 -16
  1132. package/dist/components/inputs/Selection/shared/selectItem.cva.js +0 -24
  1133. package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
  1134. package/dist/components/inputs/Selection/shared/staticSelect.utils.js +0 -54
  1135. package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
  1136. package/dist/components/inputs/Selection/shared/useSelectItems.d.ts +0 -23
  1137. package/dist/components/inputs/Selection/shared/useSelectItems.js +0 -84
  1138. package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -83
  1139. package/dist/components/inputs/Skeleton/InputFrame.js +0 -242
  1140. package/dist/components/inputs/Slider/Slider.d.ts +0 -19
  1141. package/dist/components/inputs/Slider/Slider.js +0 -285
  1142. package/dist/components/inputs/TextEditor/TextEditor.d.ts +0 -22
  1143. package/dist/components/inputs/TextEditor/TextEditor.js +0 -199
  1144. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -7
  1145. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +0 -44
  1146. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -10
  1147. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +0 -128
  1148. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +0 -2
  1149. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +0 -221
  1150. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +0 -2
  1151. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +0 -106
  1152. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +0 -2
  1153. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +0 -58
  1154. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -6
  1155. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +0 -79
  1156. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +0 -2
  1157. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +0 -60
  1158. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
  1159. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -104
  1160. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
  1161. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -141
  1162. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +0 -2
  1163. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +0 -157
  1164. package/dist/components/inputs/TextEditor/textEditor.types.d.ts +0 -5
  1165. package/dist/components/inputs/TextEditor/textEditor.types.js +0 -40
  1166. package/dist/components/inputs/Toggle/Toggle.d.ts +0 -16
  1167. package/dist/components/inputs/Toggle/Toggle.js +0 -234
  1168. package/dist/components/inputs/Toggle/toggle.cva.d.ts +0 -19
  1169. package/dist/components/inputs/Toggle/toggle.cva.js +0 -35
  1170. package/dist/components/inputs/shared/CheckContent.d.ts +0 -9
  1171. package/dist/components/inputs/shared/CheckContent.js +0 -29
  1172. package/dist/components/inputs/shared/InputClear.d.ts +0 -10
  1173. package/dist/components/inputs/shared/InputClear.js +0 -117
  1174. package/dist/components/inputs/shared/TooltipWrapper.d.ts +0 -10
  1175. package/dist/components/inputs/shared/TooltipWrapper.js +0 -60
  1176. package/dist/components/inputs/shared/form.binding.d.ts +0 -27
  1177. package/dist/components/inputs/shared/form.binding.js +0 -57
  1178. package/dist/components/inputs/shared/form.types.d.ts +0 -13
  1179. package/dist/components/inputs/shared/form.types.js +0 -8
  1180. package/dist/components/inputs/shared/input.cva.d.ts +0 -90
  1181. package/dist/components/inputs/shared/input.cva.js +0 -334
  1182. package/dist/components/inputs/shared/label.cva.d.ts +0 -19
  1183. package/dist/components/inputs/shared/label.cva.js +0 -74
  1184. package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +0 -8
  1185. package/dist/components/inputs/shared/tooltipWrapper.cva.js +0 -5
  1186. package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -15
  1187. package/dist/components/inputs/shared/useStaticInputHandoff.js +0 -112
  1188. package/dist/components/navigation/Accordion/Accordion.d.ts +0 -3
  1189. package/dist/components/navigation/Accordion/Accordion.js +0 -34
  1190. package/dist/components/navigation/Accordion/AccordionItem.d.ts +0 -2
  1191. package/dist/components/navigation/Accordion/AccordionItem.js +0 -63
  1192. package/dist/components/navigation/Accordion/accordion.cva.d.ts +0 -110
  1193. package/dist/components/navigation/Accordion/accordion.cva.js +0 -129
  1194. package/dist/components/navigation/Accordion/accordion.types.d.ts +0 -52
  1195. package/dist/components/navigation/Stepper/Stepper.d.ts +0 -2
  1196. package/dist/components/navigation/Stepper/Stepper.js +0 -34
  1197. package/dist/components/navigation/Stepper/StepperItem.d.ts +0 -2
  1198. package/dist/components/navigation/Stepper/StepperItem.js +0 -126
  1199. package/dist/components/navigation/Stepper/StepperSeparator.d.ts +0 -5
  1200. package/dist/components/navigation/Stepper/StepperSeparator.js +0 -30
  1201. package/dist/components/navigation/Stepper/stepper.cva.d.ts +0 -93
  1202. package/dist/components/navigation/Stepper/stepper.cva.js +0 -116
  1203. package/dist/components/navigation/Stepper/stepper.types.d.ts +0 -41
  1204. package/dist/components/outline.clsx.d.ts +0 -2
  1205. package/dist/components/outline.clsx.js +0 -6
  1206. package/dist/components/overlays/ActionModal/ActionModal.d.ts +0 -24
  1207. package/dist/components/overlays/ActionModal/ActionModal.js +0 -54
  1208. package/dist/components/overlays/BottomSheet/BottomSheet.d.ts +0 -32
  1209. package/dist/components/overlays/BottomSheet/BottomSheet.js +0 -328
  1210. package/dist/components/overlays/BottomSheet/BottomSheetHeader.d.ts +0 -13
  1211. package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +0 -78
  1212. package/dist/components/overlays/Drawer/Drawer.d.ts +0 -15
  1213. package/dist/components/overlays/Drawer/Drawer.js +0 -95
  1214. package/dist/components/overlays/Modal/Modal.d.ts +0 -15
  1215. package/dist/components/overlays/Modal/Modal.js +0 -55
  1216. package/dist/components/overlays/Modal/modal.cva.d.ts +0 -37
  1217. package/dist/components/overlays/Modal/modal.cva.js +0 -44
  1218. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -17
  1219. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -45
  1220. package/dist/components/overlays/Tooltip/Tooltip.d.ts +0 -13
  1221. package/dist/components/overlays/Tooltip/Tooltip.js +0 -163
  1222. package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -8
  1223. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +0 -46
  1224. package/dist/components/overlays/Tooltip/tooltip.cva.d.ts +0 -49
  1225. package/dist/components/overlays/Tooltip/tooltip.cva.js +0 -44
  1226. package/dist/components/segment/Segment.d.ts +0 -4
  1227. package/dist/components/segment/Segment.js +0 -245
  1228. package/dist/components/segment/SegmentItem.d.ts +0 -2
  1229. package/dist/components/segment/SegmentItem.js +0 -85
  1230. package/dist/components/segment/segment.cva.d.ts +0 -20
  1231. package/dist/components/segment/segment.cva.js +0 -30
  1232. package/dist/components/segment/segment.types.d.ts +0 -36
  1233. package/dist/components/shared/pagination/Pagination.d.ts +0 -9
  1234. package/dist/components/shared/pagination/Pagination.js +0 -45
  1235. package/dist/components/shared/pagination/PaginationList.d.ts +0 -15
  1236. package/dist/components/shared/pagination/PaginationList.js +0 -210
  1237. package/dist/components/shared/pagination/minWidth.cva.d.ts +0 -3
  1238. package/dist/components/shared/pagination/minWidth.cva.js +0 -11
  1239. package/dist/components/shared/popover.cva.d.ts +0 -8
  1240. package/dist/components/shared/popover.cva.js +0 -5
  1241. package/dist/components/status/Alert/Alert.d.ts +0 -11
  1242. package/dist/components/status/Alert/Alert.js +0 -47
  1243. package/dist/components/status/Alert/alert.cva.d.ts +0 -19
  1244. package/dist/components/status/Alert/alert.cva.js +0 -67
  1245. package/dist/components/status/Loader/Loader.d.ts +0 -5
  1246. package/dist/components/status/Loader/Loader.js +0 -89
  1247. package/dist/components/status/Loader/loader.cva.d.ts +0 -28
  1248. package/dist/components/status/Loader/loader.cva.js +0 -27
  1249. package/dist/components/status/Toast/Toast.d.ts +0 -14
  1250. package/dist/components/status/Toast/Toast.js +0 -82
  1251. package/dist/components/status/Toast/toast.cva.d.ts +0 -80
  1252. package/dist/components/status/Toast/toast.cva.js +0 -211
  1253. package/dist/components/status/Toast/useToast.d.ts +0 -13
  1254. package/dist/components/status/Toast/useToast.js +0 -70
  1255. package/dist/components/status/shared/status.cva.d.ts +0 -30
  1256. package/dist/components/status/shared/status.cva.js +0 -65
  1257. package/dist/components/table/CellText.d.ts +0 -8
  1258. package/dist/components/table/CellText.js +0 -21
  1259. package/dist/components/table/ColumnConfig.d.ts +0 -10
  1260. package/dist/components/table/ColumnConfig.js +0 -187
  1261. package/dist/components/table/HeaderText.d.ts +0 -8
  1262. package/dist/components/table/HeaderText.js +0 -20
  1263. package/dist/components/table/InfiniteTable.d.ts +0 -9
  1264. package/dist/components/table/InfiniteTable.js +0 -28
  1265. package/dist/components/table/PaginatedTable.d.ts +0 -11
  1266. package/dist/components/table/PaginatedTable.js +0 -94
  1267. package/dist/components/table/Table.d.ts +0 -37
  1268. package/dist/components/table/Table.js +0 -267
  1269. package/dist/components/table/table.cva.d.ts +0 -65
  1270. package/dist/components/table/table.cva.js +0 -49
  1271. package/dist/components/text/Link/Link.d.ts +0 -9
  1272. package/dist/components/text/Link/Link.js +0 -33
  1273. package/dist/components/text/Link/link.cva.d.ts +0 -12
  1274. package/dist/components/text/Link/link.cva.js +0 -12
  1275. package/dist/components/text/Pill/Pill.d.ts +0 -15
  1276. package/dist/components/text/Pill/Pill.js +0 -44
  1277. package/dist/components/text/Tag/Tag.d.ts +0 -15
  1278. package/dist/components/text/Tag/Tag.js +0 -43
  1279. package/dist/components/text/Tag/tag.cva.d.ts +0 -16
  1280. package/dist/components/text/Tag/tag.cva.js +0 -55
  1281. package/dist/components/text/Typography/Typography.d.ts +0 -11
  1282. package/dist/components/text/Typography/Typography.js +0 -16
  1283. package/dist/components/text/Typography/typography.cva.d.ts +0 -49
  1284. package/dist/components/text/Typography/typography.cva.js +0 -129
  1285. package/dist/config/confirmation.context.d.ts +0 -20
  1286. package/dist/config/confirmation.context.js +0 -80
  1287. package/dist/config/i18n.d.ts +0 -313
  1288. package/dist/config/i18n.js +0 -10
  1289. package/dist/config/link.context.d.ts +0 -10
  1290. package/dist/config/link.context.js +0 -35
  1291. package/dist/config/router.context.d.ts +0 -14
  1292. package/dist/config/router.context.js +0 -63
  1293. package/dist/config/theme.context.d.ts +0 -17
  1294. package/dist/config/theme.context.js +0 -67
  1295. package/dist/config/uiConfig.context.d.ts +0 -77
  1296. package/dist/config/uiConfig.context.js +0 -134
  1297. package/dist/config/uiOverrides.context.d.ts +0 -205
  1298. package/dist/config/uiOverrides.context.js +0 -113
  1299. package/dist/helpers/dynamicColumns.d.ts +0 -44
  1300. package/dist/helpers/dynamicColumns.js +0 -275
  1301. package/dist/helpers/dynamicInputs.d.ts +0 -86
  1302. package/dist/helpers/dynamicInputs.js +0 -193
  1303. package/dist/hooks/useAutosave.d.ts +0 -10
  1304. package/dist/hooks/useAutosave.js +0 -87
  1305. package/dist/hooks/useBreakpoint.d.ts +0 -3
  1306. package/dist/hooks/useBreakpoint.js +0 -43
  1307. package/dist/hooks/useDebounceCallback.d.ts +0 -6
  1308. package/dist/hooks/useDebounceCallback.js +0 -25
  1309. package/dist/hooks/useDeepCompare.d.ts +0 -4
  1310. package/dist/hooks/useDeepCompare.js +0 -23
  1311. package/dist/hooks/useFilters.d.ts +0 -8
  1312. package/dist/hooks/useFilters.js +0 -188
  1313. package/dist/hooks/useForm.d.ts +0 -42
  1314. package/dist/hooks/useForm.js +0 -101
  1315. package/dist/hooks/useFormAutosave.d.ts +0 -14
  1316. package/dist/hooks/useFormAutosave.js +0 -73
  1317. package/dist/hooks/useFormAutosave.spec.d.ts +0 -1
  1318. package/dist/hooks/useIntersectionObserver.d.ts +0 -8
  1319. package/dist/hooks/useIntersectionObserver.js +0 -98
  1320. package/dist/hooks/useKeyInteractions.d.ts +0 -20
  1321. package/dist/hooks/useKeyInteractions.js +0 -54
  1322. package/dist/hooks/useKeyInteractions.spec.d.ts +0 -1
  1323. package/dist/hooks/useLocalStorage.d.ts +0 -11
  1324. package/dist/hooks/useLocalStorage.js +0 -70
  1325. package/dist/hooks/useLongPressRepeat.d.ts +0 -9
  1326. package/dist/hooks/useLongPressRepeat.js +0 -29
  1327. package/dist/hooks/usePagination.d.ts +0 -7
  1328. package/dist/hooks/usePagination.js +0 -62
  1329. package/dist/hooks/useQueryAutocomplete.d.ts +0 -13
  1330. package/dist/hooks/useQueryAutocomplete.js +0 -103
  1331. package/dist/hooks/useScrollableListBox.d.ts +0 -3
  1332. package/dist/hooks/useScrollableListBox.js +0 -47
  1333. package/dist/hooks/useSorting.d.ts +0 -6
  1334. package/dist/hooks/useSorting.js +0 -80
  1335. package/dist/hooks/useStateAndRef.d.ts +0 -4
  1336. package/dist/hooks/useStateAndRef.js +0 -31
  1337. package/dist/hooks/useTableColumnConfig.d.ts +0 -16
  1338. package/dist/hooks/useTableColumnConfig.js +0 -133
  1339. package/dist/hooks/useTableNav.d.ts +0 -84
  1340. package/dist/hooks/useTableNav.js +0 -383
  1341. package/dist/hooks/useTranslationMemo.d.ts +0 -4
  1342. package/dist/hooks/useTranslationMemo.js +0 -32
  1343. package/dist/rhf/Inputs.d.ts +0 -60
  1344. package/dist/rhf/Inputs.js +0 -148
  1345. package/dist/rhf/components.d.ts +0 -80
  1346. package/dist/rhf/components.js +0 -101
  1347. package/dist/rhf/dynamicInputs.d.ts +0 -18
  1348. package/dist/rhf/dynamicInputs.js +0 -5
  1349. package/dist/rhf/entrypoints.type-test.d.ts +0 -1
  1350. package/dist/rhf/fieldAdapter.d.ts +0 -7
  1351. package/dist/rhf/fieldAdapter.js +0 -40
  1352. package/dist/rhf/form.types.d.ts +0 -12
  1353. package/dist/rhf/useAutosave.d.ts +0 -10
  1354. package/dist/rhf/useAutosave.js +0 -71
  1355. package/dist/rhf/useForm.d.ts +0 -18
  1356. package/dist/rhf/useForm.js +0 -48
  1357. package/dist/rhf/useFormAutosave.d.ts +0 -15
  1358. package/dist/rhf/useFormAutosave.js +0 -59
  1359. package/dist/types/common.d.ts +0 -12
  1360. package/dist/types/error-handling.d.ts +0 -6
  1361. package/dist/types/react-query.d.ts +0 -6
  1362. package/dist/utils/array.utils.d.ts +0 -3
  1363. package/dist/utils/array.utils.js +0 -10
  1364. package/dist/utils/array.utils.spec.d.ts +0 -1
  1365. package/dist/utils/compoundMapper.d.ts +0 -19
  1366. package/dist/utils/compoundMapper.js +0 -13
  1367. package/dist/utils/compoundMapper.spec.d.ts +0 -1
  1368. package/dist/utils/date-time.utils.d.ts +0 -42
  1369. package/dist/utils/date-time.utils.js +0 -192
  1370. package/dist/utils/date-time.utils.spec.d.ts +0 -1
  1371. package/dist/utils/date.utils.d.ts +0 -5
  1372. package/dist/utils/date.utils.js +0 -19
  1373. package/dist/utils/date.utils.spec.d.ts +0 -1
  1374. package/dist/utils/dom.utils.d.ts +0 -5
  1375. package/dist/utils/dom.utils.js +0 -19
  1376. package/dist/utils/file.utils.d.ts +0 -13
  1377. package/dist/utils/file.utils.js +0 -50
  1378. package/dist/utils/intl.utils.d.ts +0 -7
  1379. package/dist/utils/intl.utils.js +0 -38
  1380. package/dist/utils/intl.utils.spec.d.ts +0 -1
  1381. package/dist/utils/isEqual.d.ts +0 -1
  1382. package/dist/utils/isEqual.js +0 -59
  1383. package/dist/utils/object.utils.d.ts +0 -10
  1384. package/dist/utils/object.utils.js +0 -38
  1385. package/dist/utils/queries.utils.d.ts +0 -4
  1386. package/dist/utils/queries.utils.js +0 -9
  1387. package/dist/utils/query.utils.d.ts +0 -4
  1388. package/dist/utils/query.utils.js +0 -8
  1389. package/dist/utils/rest.utils.d.ts +0 -10
  1390. package/dist/utils/rest.utils.js +0 -33
  1391. package/dist/utils/routing.utils.d.ts +0 -4
  1392. package/dist/utils/routing.utils.js +0 -25
  1393. package/dist/utils/string.utils.d.ts +0 -4
  1394. package/dist/utils/string.utils.js +0 -12
  1395. package/dist/utils/style-merge.util.d.ts +0 -43
  1396. package/dist/utils/style-merge.util.js +0 -233
  1397. package/dist/utils/style-merge.util.spec.d.ts +0 -1
  1398. package/dist/utils/zod.utils.d.ts +0 -20
  1399. package/dist/utils/zod.utils.js +0 -24
  1400. /package/dist/styles/{editor.css → styles/editor.css} +0 -0
@@ -0,0 +1,240 @@
1
+ import { t as UIConfig } from "../uiConfig.context-BG4jfp9p.js";
2
+ import { t as clsx } from "../clsx-CnD0nOiA.js";
3
+ import { f as $5dc95899b306f630$export$c9058316764c140e } from "../utils-D-KKbY-n.js";
4
+ import { n as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../Input-BefLtZJe.js";
5
+ import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
6
+ import { t as FieldController } from "../form.binding-DLKteDiq.js";
7
+ import { t as FormField } from "../FormField-Cl-t5Wi1.js";
8
+ import { t as TooltipWrapper } from "../TooltipWrapper-CoRIizbz.js";
9
+ import { t as inputBaseDefinition } from "../input.cva-KYGD4Bdz.js";
10
+ import { n as InputContent, t as useFieldAccessibility } from "../useFieldAccessibility-dF3tgN_A.js";
11
+ import { n as InputFrame, t as useStaticInputHandoff } from "../useStaticInputHandoff-9V4kd391.js";
12
+ import { memo, useEffect, useRef, useState } from "react";
13
+ import { useFocusVisible } from "@react-aria/interactions";
14
+ import { useTextField } from "@react-aria/textfield";
15
+ import { jsx } from "react/jsx-runtime";
16
+ //#region src/components/inputs/Input/TextInput/TextInput.tsx
17
+ const TextInputBase = (props) => {
18
+ "use no memo";
19
+ const ui = UIConfig.useConfig();
20
+ const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
21
+ const inputRef = useRef(null);
22
+ const { ref, inputClassName, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, className, unit, isLoading, action, leadingIcon, trailingIcon, value, onChange, onBlur, as: asProp, hideLabel: hideLabelProp, variant: variantProp, size: sizeProp, isClearable: isClearableProp, isClearableIfDisabled, autoFocusOnMount, ...rest } = props;
23
+ const as = asProp ?? ui.input.as;
24
+ const hideLabel = hideLabelProp ?? ui.input.hideLabel;
25
+ const variant = variantProp ?? ui.input.variant;
26
+ const size = sizeProp ?? ui.input.size;
27
+ const isClearable = isClearableProp ?? ui.input.isClearable;
28
+ const { isFocusVisible } = useFocusVisible();
29
+ const inputValue = value ?? "";
30
+ const textFieldRef = useRef(null);
31
+ const textFieldProps = {
32
+ ...rest,
33
+ label,
34
+ isDisabled,
35
+ isInvalid: !!error,
36
+ isRequired,
37
+ value: inputValue,
38
+ onChange,
39
+ onBlur
40
+ };
41
+ const { labelProps, inputProps } = useTextField(textFieldProps, textFieldRef);
42
+ const { describedBy, errorMessageId, helperTextId } = useFieldAccessibility({
43
+ describedBy: inputProps["aria-describedby"],
44
+ error,
45
+ helperText
46
+ });
47
+ useEffect(() => {
48
+ if (!autoFocusOnMount || isDisabled) return;
49
+ requestAnimationFrame(() => inputRef.current?.focus());
50
+ }, [autoFocusOnMount, isDisabled]);
51
+ const formFieldProps = {
52
+ errorMessageId,
53
+ error,
54
+ label,
55
+ tooltipText,
56
+ helperText,
57
+ helperTextId,
58
+ isRequired,
59
+ rightContent,
60
+ isHeaderHidden: isHeaderHidden || as === "inline" || as === "filter" || as === "floating",
61
+ hideLabel,
62
+ isDisabled,
63
+ headerClassName,
64
+ errorClassName
65
+ };
66
+ const inputContentProps = {
67
+ unit,
68
+ isLoading,
69
+ isDisabled,
70
+ action,
71
+ leadingIcon,
72
+ trailingIcon,
73
+ isClearable,
74
+ isClearableIfDisabled,
75
+ value: inputValue,
76
+ onChange,
77
+ onBlur
78
+ };
79
+ const headerProps = {
80
+ label,
81
+ tooltipText,
82
+ helperText,
83
+ isRequired,
84
+ rightContent,
85
+ isHeaderHidden: hideLabel || isHeaderHidden,
86
+ isDisabled,
87
+ className: headerClassName,
88
+ labelProps
89
+ };
90
+ const dataIsDisabled = isDisabled || void 0;
91
+ return /* @__PURE__ */ jsx(TooltipWrapper, {
92
+ as,
93
+ error,
94
+ triggerTabIndex: as === "inline" ? -1 : void 0,
95
+ children: /* @__PURE__ */ jsx(FormField, {
96
+ ...formFieldProps,
97
+ as,
98
+ labelProps,
99
+ className: clsx("group w-full", as === "inline" && "h-full", className),
100
+ tabIndex: as === "inline" ? -1 : void 0,
101
+ "data-is-empty": value === "" || value === null || value === void 0 || void 0,
102
+ "data-is-required": isRequired || void 0,
103
+ children: /* @__PURE__ */ jsx("div", {
104
+ className: clsx("relative flex cursor-text has-disabled:cursor-default", inputBaseCva({
105
+ variant,
106
+ as,
107
+ ...rest
108
+ }), inputClassName),
109
+ onClick: () => inputRef.current?.focus(),
110
+ "data-is-empty": value === "" || value === null || value === void 0 || void 0,
111
+ "data-is-required": isRequired || void 0,
112
+ "data-is-disabled": dataIsDisabled,
113
+ children: /* @__PURE__ */ jsx(InputContent, {
114
+ ...inputContentProps,
115
+ headerProps,
116
+ as,
117
+ size,
118
+ children: /* @__PURE__ */ jsx($3985021b0ad6602f$export$f5b8910cec6cf069, {
119
+ ...inputProps,
120
+ "aria-describedby": describedBy,
121
+ "aria-errormessage": errorMessageId,
122
+ ref: $5dc95899b306f630$export$c9058316764c140e(ref, inputRef),
123
+ "data-is-empty": value === "" || value === null || value === void 0 || void 0,
124
+ "data-is-filled": !(value === "" || value === null || value === void 0) || void 0,
125
+ "data-is-dirty": isDirty || void 0,
126
+ "data-is-required": isRequired || void 0,
127
+ "data-is-disabled": dataIsDisabled,
128
+ placeholder: as === "floating" ? "\xA0" : inputProps.placeholder,
129
+ className: "w-full bg-transparent outline-none",
130
+ onFocus: (e) => {
131
+ inputProps.onFocus?.(e);
132
+ if (isFocusVisible) e.target.select();
133
+ }
134
+ })
135
+ })
136
+ })
137
+ })
138
+ });
139
+ };
140
+ const TextInputInner = ({ renderStaticInput, isFormControlDisabled, ...props }) => {
141
+ "use no memo";
142
+ const ui = UIConfig.useConfig();
143
+ const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
144
+ const inputRef = useRef(null);
145
+ const { shouldFocus, renderRealInput, replayStaticInputChange, replayStaticInputPress } = useStaticInputHandoff({
146
+ inputRef,
147
+ renderInput,
148
+ setRenderInput,
149
+ getPressTarget: (input) => {
150
+ let element = input;
151
+ for (let depth = 0; element && depth < 6; depth += 1) {
152
+ const action = element.querySelector("[data-static-press-action]");
153
+ if (action) return action;
154
+ element = element.parentElement;
155
+ }
156
+ return null;
157
+ }
158
+ });
159
+ if (!renderInput) {
160
+ const staticValue = props.value ?? props.defaultValue ?? "";
161
+ const inputType = props.type;
162
+ const as = props.as ?? ui.input.as;
163
+ let isDisabled = !!props.isDisabled;
164
+ if (isFormControlDisabled) isDisabled = true;
165
+ const maskedPasswordValue = inputType === "password" && `${staticValue}`.length > 0 ? "•".repeat(`${staticValue}`.length) : staticValue;
166
+ const displayValue = maskedPasswordValue == null ? "" : `${maskedPasswordValue}`;
167
+ const hasValue = displayValue !== "";
168
+ const dataAttributes = {
169
+ dataIsEmpty: !hasValue,
170
+ dataIsFilled: hasValue,
171
+ dataIsDirty: props.isDirty,
172
+ dataIsRequired: props.isRequired,
173
+ dataIsDisabled: isDisabled,
174
+ dataDisabled: isDisabled,
175
+ dataInvalid: !!props.error,
176
+ dataHasSelection: hasValue
177
+ };
178
+ return /* @__PURE__ */ jsx(InputFrame, {
179
+ ...props,
180
+ isDisabled,
181
+ className: clsx("group w-full", as === "inline" && "h-full", props.className),
182
+ dataAttributes,
183
+ onStaticInteract: renderRealInput,
184
+ onStaticPress: props.action ? replayStaticInputPress : void 0,
185
+ staticPressTarget: "action",
186
+ inputClassName: props.inputClassName,
187
+ contentClassName: clsx(as === "inline" && "h-full", "pr-0!"),
188
+ trailingClassName: "py-0! pl-0!",
189
+ wrapContentAndTrailing: true,
190
+ reserveTrailingContent: true,
191
+ children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
192
+ ref: inputRef,
193
+ type: inputType === "hidden" ? "password" : inputType,
194
+ disabled: isDisabled,
195
+ tabIndex: -1,
196
+ value: displayValue,
197
+ placeholder: as === "floating" ? "" : props.placeholder,
198
+ className: "w-full bg-transparent outline-none",
199
+ onChange: (event) => replayStaticInputChange(event.target.value),
200
+ ...dataAttributeProps,
201
+ "data-rac": true
202
+ })
203
+ });
204
+ }
205
+ return /* @__PURE__ */ jsx(TextInputBase, {
206
+ ...props,
207
+ ref: $5dc95899b306f630$export$c9058316764c140e(props.ref, inputRef),
208
+ autoFocusOnMount: shouldFocus
209
+ });
210
+ };
211
+ /** @internal Exported for production render benchmarks. */
212
+ const TextInputComponent = ({ renderStaticInput, ...props }) => {
213
+ "use no memo";
214
+ if ("field" in props && props.field) {
215
+ const { field, ref, ...innerProps } = props;
216
+ return /* @__PURE__ */ jsx(FieldController, {
217
+ control: field.form,
218
+ name: field.name,
219
+ render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(TextInputInner, {
220
+ ...innerProps,
221
+ ref: $5dc95899b306f630$export$c9058316764c140e(ref, field.ref),
222
+ value: field.value,
223
+ onChange: field.onChange,
224
+ onBlur: field.onBlur,
225
+ isDirty,
226
+ isDisabled: field.disabled || props.isDisabled,
227
+ isFormControlDisabled: field.disabled,
228
+ error: props.error ?? error?.message,
229
+ renderStaticInput
230
+ })
231
+ });
232
+ }
233
+ return /* @__PURE__ */ jsx(TextInputInner, {
234
+ ...props,
235
+ renderStaticInput
236
+ });
237
+ };
238
+ const TextInput = memo(TextInputComponent);
239
+ //#endregion
240
+ export { TextInput, TextInputComponent };
@@ -0,0 +1 @@
1
+ export { TimeField, type TimeFieldProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useCallback as r,useContext as i,useMemo as a,useRef as o,useState as s}from"react";import{filterDOMProps as c,mergeProps as l,mergeRefs as u,useLayoutEffect as d,useObjectRef as f}from"@react-aria/utils";import{useLocale as p,useTimeField as m}from"react-aria";import"@internationalized/date";import{useTimeFieldState as h}from"react-stately";const g=Symbol(`default`);function _({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function v(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return a(()=>{let e,a,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,a=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??i,style:a||s?{...s,...a}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,o,s,c,l])}function y(e,t){let n=i(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(e,t,n){let{ref:r,...i}=y(n,e.slot)||{},o=f(a(()=>u(t,r),[t,r])),s=l(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(s.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[s,o]}function x(e=!0){let[t,n]=s(e),i=o(!1),a=r(e=>{i.current=!0,n(!!e)},[]);return d(()=>{i.current||n(!1)},[]),[a,t]}function S(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function C(t,n,r){let{render:i,...s}=n,c=o(null),l=a(()=>u(r,c),[r,c]);d(()=>{},[t,i]);let f={...s,ref:l};return i?i(f,void 0):e.createElement(t,f)}const w={},T=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=w[t];return r||(r=n(C.bind(null,t)),w[t]=r),r}}),E=t({}),D=t({}),O=t(null),k=t(null),A=t({}),j=t({}),M=t(null),N=t(null),P=n(function(t,n){[t,n]=b(t,n,M);let{validationBehavior:r}=y(k)||{},i=t.validationBehavior??r??`native`,{locale:a}=p(),s=h({...t,locale:a,validationBehavior:i}),l=o(null),[u,d]=x(!t[`aria-label`]&&!t[`aria-labelledby`]),f=o(null),{labelProps:g,fieldProps:C,inputProps:w,descriptionProps:P,errorMessageProps:F,...I}=m({...S(t),label:d,inputRef:f,validationBehavior:i},s,l),L=v({...t,values:{state:s,isInvalid:s.isInvalid,isDisabled:s.isDisabled,isReadOnly:s.isReadOnly},defaultClassName:`react-aria-TimeField`}),R=c(t,{global:!0});return delete R.id,e.createElement(_,{values:[[N,s],[A,{...C,ref:l,isInvalid:s.isInvalid,isDisabled:s.isDisabled}],[j,{...w,ref:f}],[E,{...g,ref:u,elementType:`span`}],[D,{slots:{description:P,errorMessage:F}}],[O,I]]},e.createElement(T.div,{...R,...L,ref:n,slot:t.slot||void 0,"data-invalid":s.isInvalid||void 0,"data-disabled":s.isDisabled||void 0,"data-readonly":s.isReadOnly||void 0}))});export{P as TimeField};
@@ -0,0 +1,2 @@
1
+ import { n as TimePicker, r as TimePickerProps, t as ControlledTimePickerProps } from "../TimePicker-Bdz_yJ0I.js";
2
+ export { type ControlledTimePickerProps, TimePicker, type TimePickerProps };
@@ -0,0 +1,2 @@
1
+ import { t as TimePicker } from "../TimePicker-BPLc1Uv5.js";
2
+ export { TimePicker };
@@ -0,0 +1 @@
1
+ export { UNSTABLE_Toast, type ToastProps, type ToastRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a}from"react";import{filterDOMProps as o,mergeRefs as s,useLayoutEffect as c,useObjectRef as l}from"@react-aria/utils";import"react-dom";import{mergeProps as u,useFocusRing as d,useToast as f}from"react-aria";import"react-stately";const p=Symbol(`default`);function m({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function h(e){let{className:t,style:n,children:r,defaultClassName:a,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return i(()=>{let e,i,u;return e=typeof t==`function`?t({...c,defaultClassName:a}):t,i=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??a,style:i||s?{...s,...i}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,a,o,s,c,l])}function g(t,n,r){let{render:o,...l}=n,u=a(null),d=i(()=>s(r,u),[r,u]);c(()=>{},[t,o]);let f={...l,ref:d};return o?o(f,void 0):e.createElement(t,f)}const _={},v=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=_[t];return r||(r=n(g.bind(null,t)),_[t]=r),r}}),y=t({}),b=t({}),x=t(null),S=n(function(t,n){let i=r(x),a=l(n),{toastProps:s,contentProps:c,titleProps:g,descriptionProps:_,closeButtonProps:S}=f(t,i,a),{focusProps:w,isFocused:T,isFocusVisible:E}=d(),D=h({...t,defaultClassName:`react-aria-Toast`,values:{toast:t.toast,isFocused:T,isFocusVisible:E}}),O=o(t,{global:!0});return e.createElement(v.div,{...u(O,D,s,w),ref:a,"data-focused":T||void 0,"data-focus-visible":E||void 0},e.createElement(m,{values:[[C,c],[b,{slots:{[p]:{},title:g,description:_}}],[y,{slots:{[p]:{},close:S}}]]},D.children))}),C=t({});export{S as UNSTABLE_Toast};
@@ -0,0 +1 @@
1
+ export { UNSTABLE_ToastContent } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a}from"react";import{mergeProps as o,mergeRefs as s,useLayoutEffect as c,useObjectRef as l}from"@react-aria/utils";import"react-dom";import"react-aria";import"react-stately";const u=Symbol(`default`);function d(e,t){let n=r(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||u;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 f(e,t,n){let{ref:r,...a}=d(n,e.slot)||{},c=l(i(()=>s(t,r),[t,r])),u=o(a,e);return`style`in a&&a.style&&`style`in e&&e.style&&(u.style=typeof a.style==`function`||typeof e.style==`function`?t=>{let n=typeof a.style==`function`?a.style(t):a.style,r={...t.defaultStyle,...n},i=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...i}}:{...a.style,...e.style}),[u,c]}function p(t,n,r){let{render:o,...l}=n,u=a(null),d=i(()=>s(r,u),[r,u]);c(()=>{},[t,o]);let f={...l,ref:d};return o?o(f,void 0):e.createElement(t,f)}const m={},h=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=m[t];return r||(r=n(p.bind(null,t)),m[t]=r),r}}),g=t({}),_=n(function(t,n){return[t,n]=f(t,n,g),e.createElement(h.div,{render:t.render,className:`react-aria-ToastContent`,...t,ref:n},t.children)});export{_ as UNSTABLE_ToastContent};
@@ -0,0 +1 @@
1
+ export { UNSTABLE_ToastList, type ToastListProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a}from"react";import{mergeRefs as o,useLayoutEffect as s}from"@react-aria/utils";import"react-dom";import{useHover as c}from"react-aria";import"react-stately";function l(e){let{className:t,style:n,children:r,defaultClassName:a,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return i(()=>{let e,i,u;return e=typeof t==`function`?t({...c,defaultClassName:a}):t,i=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??a,style:i||s?{...s,...i}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,a,o,s,c,l])}function u(t,n,r){let{render:c,...l}=n,u=a(null),d=i(()=>o(r,u),[r,u]);s(()=>{},[t,c]);let f={...l,ref:d};return c?c(f,void 0):e.createElement(t,f)}const d={},f=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=d[t];return r||(r=n(u.bind(null,t)),d[t]=r),r}}),p=t(null),m=n(function(t,n){let i=r(p),{hoverProps:a,isHovered:o}=c({}),s=l({...t,children:void 0,defaultClassName:`react-aria-ToastList`,values:{visibleToasts:i.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:o}});return e.createElement(f.ol,{...a,...s,ref:n},i.visibleToasts.map(n=>e.createElement(`li`,{key:n.key,style:{display:`contents`}},t.children({toast:n}))))});export{m as UNSTABLE_ToastList};
@@ -0,0 +1 @@
1
+ export { UNSTABLE_ToastRegion, type ToastRegionProps, type ToastRegionRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a}from"react";import{filterDOMProps as o,mergeRefs as s,useLayoutEffect as c,useObjectRef as l}from"@react-aria/utils";import{createPortal as u}from"react-dom";import{mergeProps as d,useFocusRing as f,useHover as p,useLocale as m,useToastRegion as h}from"react-aria";import{useToastQueue as g}from"react-stately";function _(e){let{className:t,style:n,children:r,defaultClassName:a,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return i(()=>{let e,i,u;return e=typeof t==`function`?t({...c,defaultClassName:a}):t,i=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??a,style:i||s?{...s,...i}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,a,o,s,c,l])}function v(t,n,r){let{render:o,...l}=n,u=a(null),d=i(()=>s(r,u),[r,u]);c(()=>{},[t,o]);let f={...l,ref:d};return o?o(f,void 0):e.createElement(t,f)}const y={},b=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=y[t];return r||(r=n(v.bind(null,t)),y[t]=r),r}}),x=t({});function S(){return r(x)??{}}String(Math.round(Math.random()*1e10));const C=e.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement,e.useId;function w(){return!1}function T(){return!0}function E(e){return()=>{}}function D(){return typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore(E,w,T):r(C)}const O=t(null),k=n(function(t,n){let r=D(),i=g(t.queue),a=l(n),{regionProps:s}=h(t,i,a),{focusProps:c,isFocused:v,isFocusVisible:y}=f(),{hoverProps:x,isHovered:C}=p({}),w=_({...t,children:void 0,defaultClassName:`react-aria-ToastRegion`,values:{visibleToasts:i.visibleToasts,isHovered:C,isFocused:v,isFocusVisible:y}}),{direction:T}=m(),E,{getContainer:k}=S();r||(E=document.body,k&&(E=k()));let j=o(t,{global:!0}),M=e.createElement(O.Provider,{value:i},e.createElement(b.div,{...d(j,w,s,c,x),dir:T,ref:a,"data-hovered":C||void 0,"data-focused":v||void 0,"data-focus-visible":y||void 0},typeof t.children==`function`?e.createElement(A,{...t,render:void 0,className:void 0,style:{display:`contents`}},t.children):t.children));return i.visibleToasts.length>0&&E?u(M,E):null}),A=n(function(t,n){let i=r(O),{hoverProps:a,isHovered:o}=p({}),s=_({...t,children:void 0,defaultClassName:`react-aria-ToastList`,values:{visibleToasts:i.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:o}});return e.createElement(b.ol,{...a,...s,ref:n},i.visibleToasts.map(n=>e.createElement(`li`,{key:n.key,style:{display:`contents`}},t.children({toast:n}))))});export{k as UNSTABLE_ToastRegion};
@@ -0,0 +1,4 @@
1
+ import { t as ToastVariantProps } from "../toast.cva-C1ZPw_oP.js";
2
+ import { n as ToastAction, r as ToastProps, t as Toast } from "../Toast-DL8_g0WV.js";
3
+ import { n as ToastProvider, t as ToastContainer } from "../ToastContainer-9OS5SK5K.js";
4
+ export { Toast, type ToastAction, ToastContainer, type ToastProps, ToastProvider, type ToastVariantProps };
@@ -0,0 +1,3 @@
1
+ import { r as Toast } from "../dist-gJbayyxp.js";
2
+ import { n as ToastProvider, t as ToastContainer } from "../ToastContainer-C45QhP2Q.js";
3
+ export { Toast, ToastContainer, ToastProvider };
@@ -0,0 +1 @@
1
+ export { ToggleButton, type ToggleButtonProps, type ToggleButtonRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a}from"react";import{filterDOMProps as o,mergeProps as s,mergeRefs as c,useLayoutEffect as l,useObjectRef as u}from"@react-aria/utils";import{mergeProps as d,useFocusRing as f,useHover as p,useToggleButton as m,useToggleButtonGroupItem as h}from"react-aria";import{useToggleState as g}from"react-stately";const _=Symbol(`default`);function v(e){let{className:t,style:n,children:r,defaultClassName:a,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return i(()=>{let e,i,u;return e=typeof t==`function`?t({...c,defaultClassName:a}):t,i=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??a,style:i||s?{...s,...i}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,a,o,s,c,l])}function y(e,t){let n=r(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||_;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(e,t,n){let{ref:r,...a}=y(n,e.slot)||{},o=u(i(()=>c(t,r),[t,r])),l=s(a,e);return`style`in a&&a.style&&`style`in e&&e.style&&(l.style=typeof a.style==`function`||typeof e.style==`function`?t=>{let n=typeof a.style==`function`?a.style(t):a.style,r={...t.defaultStyle,...n},i=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...i}}:{...a.style,...e.style}),[l,o]}function x(t,n,r){let{render:o,...s}=n,u=a(null),d=i(()=>c(r,u),[r,u]);l(()=>{},[t,o]);let f={...s,ref:d};return o?o(f,void 0):e.createElement(t,f)}const S={},C=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=S[t];return r||(r=n(x.bind(null,t)),S[t]=r),r}}),w=t({isSelected:!1}),T=t(null),E=t({}),D=n(function(t,n){[t,n]=b(t,n,E);let i=r(T),a=g(i&&t.id!=null?{isSelected:i.selectedKeys.has(t.id),onChange(e){i.setSelected(t.id,e)}}:t),{buttonProps:s,isPressed:c,isSelected:l,isDisabled:u}=i&&t.id!=null?h({...t,id:t.id},i,n):m({...t,id:t.id==null?void 0:String(t.id)},a,n),{focusProps:_,isFocused:y,isFocusVisible:x}=f(t),{hoverProps:S,isHovered:D}=p({...t,isDisabled:u}),O=v({...t,id:void 0,values:{isHovered:D,isPressed:c,isFocused:y,isSelected:a.isSelected,isFocusVisible:x,isDisabled:u,state:a},defaultClassName:`react-aria-ToggleButton`}),k=o(t,{global:!0});return delete k.id,delete k.onClick,e.createElement(C.button,{...d(k,O,s,_,S),ref:n,slot:t.slot||void 0,"data-focused":y||void 0,"data-disabled":u||void 0,"data-pressed":c||void 0,"data-selected":l||void 0,"data-hovered":D||void 0,"data-focus-visible":x||void 0},e.createElement(w.Provider,{value:{isSelected:l}},O.children))});export{D as ToggleButton};
@@ -0,0 +1,5 @@
1
+ export {
2
+ ToggleButtonGroup,
3
+ type ToggleButtonGroupProps,
4
+ type ToggleButtonGroupRenderProps,
5
+ } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a}from"react";import{filterDOMProps as o,mergeProps as s,mergeRefs as c,useLayoutEffect as l,useObjectRef as u}from"@react-aria/utils";import"react-dom";import{useToggleButtonGroup as d}from"react-aria";import{useToggleGroupState as f}from"react-stately";const p=Symbol(`default`);function m(e){let{className:t,style:n,children:r,defaultClassName:a,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return i(()=>{let e,i,u;return e=typeof t==`function`?t({...c,defaultClassName:a}):t,i=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??a,style:i||s?{...s,...i}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,a,o,s,c,l])}function h(e,t){let n=r(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||p;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 g(e,t,n){let{ref:r,...a}=h(n,e.slot)||{},o=u(i(()=>c(t,r),[t,r])),l=s(a,e);return`style`in a&&a.style&&`style`in e&&e.style&&(l.style=typeof a.style==`function`||typeof e.style==`function`?t=>{let n=typeof a.style==`function`?a.style(t):a.style,r={...t.defaultStyle,...n},i=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...i}}:{...a.style,...e.style}),[l,o]}function _(t,n,r){let{render:o,...s}=n,u=a(null),d=i(()=>c(r,u),[r,u]);l(()=>{},[t,o]);let f={...s,ref:d};return o?o(f,void 0):e.createElement(t,f)}const v={},y=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=v[t];return r||(r=n(_.bind(null,t)),v[t]=r),r}}),b=t(null);function x(t){let n=a({});return e.createElement(b.Provider,{value:n},t.children)}const S=t({}),C=t(null),w=n(function(t,n){[t,n]=g(t,n,S);let r=f(t),{groupProps:i}=d(t,r,n),a=m({...t,values:{orientation:t.orientation||`horizontal`,isDisabled:r.isDisabled,state:r},defaultClassName:`react-aria-ToggleButtonGroup`}),c=o(t,{global:!0});return e.createElement(y.div,{...s(c,a,i),ref:n,slot:t.slot||void 0,"data-orientation":t.orientation||`horizontal`,"data-disabled":t.isDisabled||void 0},e.createElement(C.Provider,{value:r},e.createElement(x,null,a.children)))});export{w as ToggleButtonGroup};
@@ -0,0 +1,2 @@
1
+ import { n as ToggleButtonProps, t as ToggleButton } from "../ToggleButton-3lINwoaV.js";
2
+ export { ToggleButton, ToggleButtonProps };
@@ -0,0 +1,34 @@
1
+ import { t as Button } from "../Button-7HZojyTP.js";
2
+ import { c } from "react/compiler-runtime";
3
+ import { jsx } from "react/jsx-runtime";
4
+ //#region src/components/buttons/ToggleButton/ToggleButton.tsx
5
+ const ToggleButton = (t0) => {
6
+ const $ = c(6);
7
+ let children;
8
+ let props;
9
+ if ($[0] !== t0) {
10
+ ({children, ...props} = t0);
11
+ $[0] = t0;
12
+ $[1] = children;
13
+ $[2] = props;
14
+ } else {
15
+ children = $[1];
16
+ props = $[2];
17
+ }
18
+ let t1;
19
+ if ($[3] !== children || $[4] !== props) {
20
+ t1 = /* @__PURE__ */ jsx(Button, {
21
+ ...props,
22
+ toggle: true,
23
+ variant: "outlined",
24
+ color: "primary",
25
+ children
26
+ });
27
+ $[3] = children;
28
+ $[4] = props;
29
+ $[5] = t1;
30
+ } else t1 = $[5];
31
+ return t1;
32
+ };
33
+ //#endregion
34
+ export { ToggleButton };
@@ -0,0 +1,2 @@
1
+ import { n as Toggle, r as ToggleProps, t as ControlledToggleProps } from "../Toggle-Ca_t66zh.js";
2
+ export { ControlledToggleProps, Toggle, ToggleProps };
@@ -0,0 +1,2 @@
1
+ import { t as Toggle } from "../Toggle-Dr7TQZ93.js";
2
+ export { Toggle };
@@ -0,0 +1 @@
1
+ export { Toolbar, type ToolbarProps, type ToolbarRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a,useState as o}from"react";import{filterDOMProps as s,mergeProps as c,mergeRefs as l,nodeContains as u,useLayoutEffect as d,useObjectRef as f}from"@react-aria/utils";import{useLocale as p}from"@react-aria/i18n";import{createFocusManager as m}from"@react-aria/focus";const h=Symbol(`default`);function g(e){let{className:t,style:n,children:r,defaultClassName:a,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return i(()=>{let e,i,u;return e=typeof t==`function`?t({...c,defaultClassName:a}):t,i=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??a,style:i||s?{...s,...i}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,a,o,s,c,l])}function _(e,t){let n=r(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(e,t,n){let{ref:r,...a}=_(n,e.slot)||{},o=f(i(()=>l(t,r),[t,r])),s=c(a,e);return`style`in a&&a.style&&`style`in e&&e.style&&(s.style=typeof a.style==`function`||typeof e.style==`function`?t=>{let n=typeof a.style==`function`?a.style(t):a.style,r={...t.defaultStyle,...n},i=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...i}}:{...a.style,...e.style}),[s,o]}function y(t,n,r){let{render:o,...s}=n,c=a(null),u=i(()=>l(r,c),[r,c]);d(()=>{},[t,o]);let f={...s,ref:u};return o?o(f,void 0):e.createElement(t,f)}const b={},x=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=b[t];return r||(r=n(y.bind(null,t)),b[t]=r),r}});function S(e,t){let{"aria-label":n,"aria-labelledby":r,orientation:i=`horizontal`}=e,[c,l]=o(!1);d(()=>{l(!!(t.current&&t.current.parentElement?.closest(`[role="toolbar"]`)))});let{direction:f}=p(),h=f===`rtl`&&i===`horizontal`,g=m(t),_=e=>{if(u(e.currentTarget,e.target)){if(i===`horizontal`&&e.key===`ArrowRight`||i===`vertical`&&e.key===`ArrowDown`)h?g.focusPrevious():g.focusNext();else if(i===`horizontal`&&e.key===`ArrowLeft`||i===`vertical`&&e.key===`ArrowUp`)h?g.focusNext():g.focusPrevious();else if(e.key===`Tab`){e.stopPropagation(),v.current=document.activeElement,e.shiftKey?g.focusFirst():g.focusLast();return}else return;e.stopPropagation(),e.preventDefault()}},v=a(null),y=e=>{!u(e.currentTarget,e.relatedTarget)&&!v.current&&(v.current=e.target)},b=e=>{if(v.current&&!u(e.currentTarget,e.relatedTarget)&&u(t.current,e.target)){var n;(n=v.current)==null||n.focus(),v.current=null}};return{toolbarProps:{...s(e,{labelable:!0}),role:c?`group`:`toolbar`,"aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:c?void 0:_,onFocusCapture:c?void 0:b,onBlurCapture:c?void 0:y}}}const C=t({}),w=n(function(t,n){[t,n]=v(t,n,C);let{toolbarProps:r}=S(t,n),i=g({...t,values:{orientation:t.orientation||`horizontal`},defaultClassName:`react-aria-Toolbar`}),a=s(t,{global:!0});return delete a.id,e.createElement(x.div,{...c(a,i,r),ref:n,slot:t.slot||void 0,"data-orientation":t.orientation||`horizontal`},i.children)});export{w as Toolbar};
@@ -0,0 +1 @@
1
+ export { Tooltip, type TooltipProps, type TooltipRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useContext as r,useMemo as i,useRef as a}from"react";import{filterDOMProps as o,mergeProps as s,mergeRefs as c,useEnterAnimation as l,useExitAnimation as u,useLayoutEffect as d,useObjectRef as f}from"@react-aria/utils";import"@react-aria/focus";import{OverlayContainer as p,mergeProps as m,useOverlayPosition as h,useTooltip as g}from"react-aria";import{useTooltipTriggerState as _}from"react-stately";const v=Symbol(`default`);function y(e){let{className:t,style:n,children:r,defaultClassName:a,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return i(()=>{let e,i,u;return e=typeof t==`function`?t({...c,defaultClassName:a}):t,i=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??a,style:i||s?{...s,...i}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,a,o,s,c,l])}function b(e,t){let n=r(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||v;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 x(e,t,n){let{ref:r,...a}=b(n,e.slot)||{},o=f(i(()=>c(t,r),[t,r])),l=s(a,e);return`style`in a&&a.style&&`style`in e&&e.style&&(l.style=typeof a.style==`function`||typeof e.style==`function`?t=>{let n=typeof a.style==`function`?a.style(t):a.style,r={...t.defaultStyle,...n},i=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...i}}:{...a.style,...e.style}),[l,o]}function S(t,n,r){let{render:o,...s}=n,l=a(null),u=i(()=>c(r,l),[r,l]);d(()=>{},[t,o]);let f={...s,ref:u};return o?o(f,void 0):e.createElement(t,f)}const C={},w=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}}),T=t({placement:`bottom`}),E=t(null),D=t(null),O=n(function({UNSTABLE_portalContainer:t,...n},i){[n,i]=x(n,i,D);let a=r(E),o=_(n),s=n.isOpen!=null||n.defaultOpen!=null||!a?o:a,c=u(i,s.isOpen)||n.isExiting||!1;return!s.isOpen&&!c?null:e.createElement(p,{portalContainer:t},e.createElement(k,{...n,tooltipRef:i,isExiting:c}))});function k(t){let n=r(E),i=a(null),{overlayProps:s,arrowProps:c,placement:u,triggerAnchorPoint:d}=h({placement:t.placement||`top`,targetRef:t.triggerRef,overlayRef:t.tooltipRef,arrowRef:i,offset:t.offset,crossOffset:t.crossOffset,isOpen:n.isOpen,arrowBoundaryOffset:t.arrowBoundaryOffset,shouldFlip:t.shouldFlip,containerPadding:t.containerPadding,onClose:()=>n.close(!0)}),f=l(t.tooltipRef,!!u)||t.isEntering||!1,p=y({...t,defaultClassName:`react-aria-Tooltip`,values:{placement:u,isEntering:f,isExiting:t.isExiting,state:n}});t=m(t,s);let{tooltipProps:_}=g(t,n),v=o(t,{global:!0});return e.createElement(w.div,{...m(v,p,_),ref:t.tooltipRef,style:{...s.style,"--trigger-anchor-point":d?`${d.x}px ${d.y}px`:void 0,...p.style},"data-placement":u??void 0,"data-entering":f||void 0,"data-exiting":t.isExiting||void 0},e.createElement(T.Provider,{value:{...c,placement:u,ref:i}},p.children))}export{O as Tooltip};
@@ -0,0 +1,2 @@
1
+ import { n as TooltipEllipsisProps, t as TooltipEllipsis } from "../TooltipEllipsis-Di9Dvd4x.js";
2
+ export { TooltipEllipsis, TooltipEllipsisProps };
@@ -0,0 +1,46 @@
1
+ import { t as Tooltip } from "../Tooltip-D8YNkKCl.js";
2
+ import { useState } from "react";
3
+ import { c } from "react/compiler-runtime";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/components/overlays/Tooltip/TooltipEllipsis.tsx
6
+ const TooltipEllipsis = (t0) => {
7
+ const $ = c(8);
8
+ const { text, children, isDisabled, isNonInteractiveTrigger } = t0;
9
+ const [isEllipsisActive, setIsEllipsisActive] = useState(false);
10
+ let t1;
11
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
12
+ t1 = (ref) => {
13
+ if (ref) setIsEllipsisActive(ref.offsetWidth < ref.scrollWidth);
14
+ };
15
+ $[0] = t1;
16
+ } else t1 = $[0];
17
+ const onContentRef = t1;
18
+ let t2;
19
+ if ($[1] !== children) {
20
+ t2 = children(onContentRef);
21
+ $[1] = children;
22
+ $[2] = t2;
23
+ } else t2 = $[2];
24
+ const content = t2;
25
+ if (isEllipsisActive && !isDisabled) {
26
+ let t3;
27
+ if ($[3] !== content || $[4] !== isDisabled || $[5] !== isNonInteractiveTrigger || $[6] !== text) {
28
+ t3 = /* @__PURE__ */ jsx(Tooltip, {
29
+ text,
30
+ placement: "bottom",
31
+ isDisabled,
32
+ isNonInteractiveTrigger,
33
+ children: content
34
+ });
35
+ $[3] = content;
36
+ $[4] = isDisabled;
37
+ $[5] = isNonInteractiveTrigger;
38
+ $[6] = text;
39
+ $[7] = t3;
40
+ } else t3 = $[7];
41
+ return t3;
42
+ }
43
+ return content;
44
+ };
45
+ //#endregion
46
+ export { TooltipEllipsis };
@@ -0,0 +1 @@
1
+ export { TooltipTrigger, type TooltipTriggerComponentProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{createContext as t,forwardRef as n,useMemo as r,useRef as i}from"react";import{mergeRefs as a,useLayoutEffect as o}from"@react-aria/utils";import{FocusableProvider as s}from"@react-aria/focus";import{useTooltipTrigger as c}from"react-aria";import{useTooltipTriggerState as l}from"react-stately";function u({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function d(t,n,s){let{render:c,...l}=n,u=i(null),d=r(()=>a(s,u),[s,u]);o(()=>{},[t,c]);let f={...l,ref:d};return c?c(f,void 0):e.createElement(t,f)}const f={};new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=f[t];return r||(r=n(d.bind(null,t)),f[t]=r),r}});const p=t(null),m=t(null);function h(t){let n=l(t),r=i(null),{triggerProps:a,tooltipProps:o}=c(t,n,r);return e.createElement(u,{values:[[p,n],[m,{...o,triggerRef:r}]]},e.createElement(s,{...a,ref:r},t.children))}export{h as TooltipTrigger};
@@ -0,0 +1,2 @@
1
+ import { n as TooltipProps, t as Tooltip } from "../Tooltip-D1oFPqFF.js";
2
+ export { Tooltip, TooltipProps };
@@ -0,0 +1,2 @@
1
+ import { t as Tooltip } from "../Tooltip-D8YNkKCl.js";
2
+ export { Tooltip };
@@ -0,0 +1 @@
1
+ export { Tree, type TreeProps, type TreeRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useEffect as s,useMemo as c,useReducer as l,useRef as u,useState as d,useSyncExternalStore as f}from"react";import{filterDOMProps as p,inertValue as m,mergeProps as h,mergeRefs as g,useLayoutEffect as _,useLoadMoreSentinel as v,useObjectRef as y}from"@react-aria/utils";import{FocusableContext as b}from"@react-aria/interactions";import{createPortal as x}from"react-dom";import{FocusScope as S,ListKeyboardDelegate as C,mergeProps as w,useCollator as T,useFocusRing as ee,useLocale as te,useTree as ne,useTreeItem as E,useVisuallyHidden as D}from"react-aria";import{useTreeState as re}from"react-stately";const O=Symbol(`default`);function ie({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function k(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 ae(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||O;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 A(e,t,n){let{ref:r,...i}=ae(n,e.slot)||{},a=y(c(()=>g(t,r),[t,r])),o=h(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function j(t,n,r){let{render:i,...a}=n,o=u(null),s=c(()=>g(r,o),[r,o]);_(()=>{},[t,i]);let l={...a,ref:s};return i?i(l,void 0):e.createElement(t,l)}const M={},N=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=M[t];return n||(n=r(j.bind(null,t)),M[t]=n),n}});String(Math.round(Math.random()*1e10));const P=e.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement,e.useId;function F(){return!1}function I(){return!0}function L(e){return()=>{}}function R(){return typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore(L,F,I):o(P)}const z=typeof document<`u`?e.useInsertionEffect??e.useLayoutEffect:()=>{};function oe(e,t,n){let[r,i]=d(e||t),o=u(r),c=u(e!==void 0),f=e!==void 0;s(()=>{c.current,c.current=f},[f]);let p=f?e:r;z(()=>{o.current=p});let[,m]=l(()=>({}),{});return[p,a((e,...t)=>{let r=typeof e==`function`?e(o.current):e;Object.is(o.current,r)||(o.current=r,i(r),m(),n?.(r,...t))},[n])]}var B=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},V=class extends B{filter(e,t,n){let[r,i]=q(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},H=class extends B{};H.type=`header`;var U=class extends B{};U.type=`loader`;var W=class extends V{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};W.type=`item`;var G=class extends V{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};G.type=`section`;var K=class{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey==null?void 0:this.keyMap.get(this.firstKey);for(;e;)yield e,e=e.nextKey==null?void 0:this.keyMap.get(e.nextKey)}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(t.prevKey!=null){for(t=this.keyMap.get(t.prevKey);t&&t.type!==`item`&&t.lastChildKey!=null;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if(t.type!==`item`&&t.firstChildKey!=null)return t.firstChildKey;for(;t;){if(t.nextKey!=null)return t.nextKey;if(t.parentKey!=null)t=this.keyMap.get(t.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey==null?null:this.keyMap.get(this.lastKey);for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error(`Not implemented`)}clone(){let e=this.constructor,t=new e;return t.keyMap=new Map(this.keyMap),t.firstKey=this.firstKey,t.lastKey=this.lastKey,t.itemCount=this.itemCount,t}addNode(e){if(this.frozen)throw Error(`Cannot add a node to a frozen collection`);e.type===`item`&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let e of n)this.addDescendants(e,t)}removeNode(e){if(this.frozen)throw Error(`Cannot remove a node to a frozen collection`);let t=this.keyMap.get(e);t!=null&&t.type===`item`&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error(`Cannot commit a frozen collection`);this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=q(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}};function q(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}var J=class{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild??=e,this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(t==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}},Y=class e extends J{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof e?this.parentNode.level+ +(this.node?.type===`item`):0}getMutableNode(){return this.node==null?null:(this.isMutated||=(this.node=this.node.clone(),!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let t=this.nextVisibleSibling,n=this.getMutableNode();if(n!=null&&(n.index=this.index,n.level=this.level,n.parentKey=this.parentNode instanceof e?this.parentNode.node?.key??null:null,n.prevKey=this.previousVisibleSibling?.node?.key??null,n.nextKey=t?.node?.key??null,n.hasChildNodes=!!this.firstChild,n.firstChildKey=this.firstVisibleChild?.node?.key??null,n.lastChildKey=this.lastVisibleChild?.node?.key??null,(n.colSpan!=null||n.colIndex!=null)&&t)){let e=(n.colIndex??n.index)+(n.colSpan??1);if(t.node!=null&&e!==t.node.colIndex){let n=t.getMutableNode();n.colIndex=e}}}setProps(e,t,n,r,i){let a,{value:o,textValue:s,id:c,...l}=e;if(this.node==null?(a=new n(c??`react-aria-${++this.ownerDocument.nodeId}`),this.node=a):a=this.getMutableNode(),l.ref=t,a.props=l,a.rendered=r,a.render=i,a.value=o,e[`aria-label`]&&(a[`aria-label`]=e[`aria-label`]),a.textValue=s||(typeof l.children==`string`?l.children:``)||e[`aria-label`]||``,c!=null&&c!==a.key)throw Error(`Cannot change the id of an item`);l.colSpan!=null&&(a.colSpan=l.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?`none`:``},set display(t){let n=t===`none`;if(e.isHidden!==n){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let t=e.previousVisibleSibling,r=e.nextVisibleSibling;t&&e.ownerDocument.markDirty(t),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}},X=class extends J{get isConnected(){return!0}createElement(e){return new Y(e,this)}getMutableCollection(){return this.nextCollection||=this.collection.clone(),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||e.node==null)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof Y&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof Y?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}};function se(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,s=c(()=>new WeakMap,o);return c(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=s.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),s.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,s,i,a])}if(typeof HTMLTemplateElement<`u`){let e=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`).get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const ce=n(!1);function le(t){if(o(ce))return e.createElement(e.Fragment,null,t.children);let n=e.createElement(ce.Provider,{value:!0},t.children);return e.createElement(`template`,{"data-react-aria-hidden":!0},n)}const ue=n(!1),Z=n(null);function de(t){if(o(Z))return t.content;let{collection:n,document:r}=he(t.createCollection);return e.createElement(e.Fragment,null,e.createElement(le,null,e.createElement(Z.Provider,{value:r},t.content)),e.createElement(fe,{render:t.children,collection:n}))}function fe({collection:e,render:t}){return t(e)}function pe(e,t,n){let r=R(),i=u(r);i.current=r;let o=a(()=>i.current?n():t(),[t,n]);return f(e,o)}const me=typeof e.useSyncExternalStore==`function`?e.useSyncExternalStore:pe;function he(e){let[t]=d(()=>new X(e?.()||new K)),n=a(e=>t.subscribe(e),[t]),r=a(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),i=a(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:me(n,r,i),document:t}}const Q=n(null);function ge(e){var t;return t=class extends B{},t.type=e,t}function _e(t,n,r,i,s,c){typeof t==`string`&&(t=ge(t));let l=a(e=>{e?.setProps(n,r,t,i,c)},[n,r,i,c,t]),u=o(Q);if(u){let a=u.ownerDocument.nodesByProps.get(n);return a||(a=u.ownerDocument.createElement(t.type),a.setProps(n,r,t,i,c),u.appendChild(a),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,a)),s?e.createElement(Q.Provider,{value:a},s):null}return e.createElement(t.type,{ref:l},s)}function ve(t,n){let i=({node:e})=>n(e.props,e.props.ref,e),a=r((r,a)=>{let s=o(b);if(!o(ue)){if(n.length>=3)throw Error(n.name+` cannot be rendered outside a collection.`);return n(r,a)}return _e(t,r,a,`children`in r?r.children:null,null,t=>e.createElement(b.Provider,{value:s},e.createElement(i,{node:t})))});return a.displayName=n.name,a}function ye(e){return se({...e,addIdAndValue:!0})}const be=n(null);function xe(t){let n=o(be),r=(n?.dependencies||[]).concat(t.dependencies),i=t.idScope??n?.idScope,a=ye({...t,idScope:i,dependencies:r});return o(Z)&&(a=e.createElement(Se,null,a)),n=c(()=>({dependencies:r,idScope:i}),[i,...r]),e.createElement(be.Provider,{value:n},a)}function Se({children:t}){let n=o(Z),r=c(()=>e.createElement(Z.Provider,{value:null},e.createElement(ue.Provider,{value:!0},t)),[t]);return R()?e.createElement(Q.Provider,{value:n},r):x(r,n)}const Ce={CollectionRoot({collection:e,renderDropIndicator:t}){return we(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return we(e,t,n)}};function we(t,n,r){return se({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,Te(t,n,r))}})}function Te(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const Ee=n(Ce),$=n({}),De=n(null),Oe=r(function(t,n){let{render:r}=o(De);return e.createElement(e.Fragment,null,r(t,n))});function ke(t,n){let r=t?.renderDropIndicator,i=t?.isVirtualDragging?.call(t),o=a(t=>{if(i||n?.isDropTarget(t))return r?r(t):e.createElement(Oe,{target:t})},[n?.target,i,r]);return t?.useDropIndicator?o:void 0}function Ae(e,t,n){let r=e.focusedKey,i=null;if(t!=null&&t.isVirtualDragging?.call(t)&&n?.target?.type===`item`&&(i=n.target.key,n.target.dropPosition===`after`)){let e=n.collection.getKeyAfter(i),t=null;if(e!=null){let r=n.collection.getItem(i)?.level??0;for(;e;){let i=n.collection.getItem(e);if(!i)break;if(i.type!==`item`){e=n.collection.getKeyAfter(e);continue}if((i.level??0)<=r)break;t=e,e=n.collection.getKeyAfter(e)}}i=e??t??i}return c(()=>new Set([r,i].filter(e=>e!=null)),[r,i])}const je=n(null);function Me(t){let n=u({});return e.createElement(je.Provider,{value:n},t.children)}var Ne=class{setup(e,t,n){this.delegate=e,this.state=t,this.direction=n}getDropTargetFromPoint(e,t,n){let r=this.delegate.getDropTargetFromPoint(e,t,n);return!r||r.type===`root`?r:this.resolveDropTarget(r,e,t,n)}resolveDropTarget(e,t,n,r){let i=this.pointerTracking,a=n-i.lastY,o=t-i.lastX,s=i.yDirection,c=i.xDirection;if(Math.abs(a)>5&&(s=a>0?`down`:`up`,i.yDirection=s,i.lastY=n),Math.abs(o)>10&&(c=o>0?`right`:`left`,i.xDirection=c,i.lastX=t),e.dropPosition===`before`){let t=this.state.collection.getKeyBefore(e.key);if(t!=null){let n={type:`item`,key:t,dropPosition:`after`};r(n)&&(e=n)}}let l=this.getPotentialTargets(e,r);if(l.length===0)return{type:`root`};let u;return l.length>1?u=this.selectTarget(l,e,t,n,s,c):(u=l[0],i.boundaryContext=null),u}getPotentialTargets(e,t){if(e.dropPosition===`on`)return[e];let n=e,r=this.state.collection,i=r.getItem(n.key);for(;i&&i?.type!==`item`&&i.nextKey!=null;)n.key=i.nextKey,i=r.getItem(i.nextKey);let a=[n];if(i&&i.hasChildNodes&&this.state.expandedKeys.has(i.key)&&r.getChildren&&n.dropPosition===`after`){let e=null;for(let t of r.getChildren(i.key))if(t.type===`item`){e=t;break}if(e){let n={type:`item`,key:e.key,dropPosition:`before`};return t(n)?[n]:[]}}if(i?.nextKey!=null)return[e];let o=i?.parentKey,s=[];for(;o;){let e=r.getItem(o),n=e?.nextKey?r.getItem(e.nextKey):null;if(!n||n.parentKey!==o){let e={type:`item`,key:o,dropPosition:`after`};if(t(e)&&s.push(e),n)break}o=e?.parentKey}if(s.length>0&&a.push(...s),a.length===1){let e=r.getKeyAfter(n.key),a=e?r.getItem(e):null;if(e!=null&&a&&i&&a.level!=null&&i.level!=null&&a.level>i.level){let n={type:`item`,key:e,dropPosition:`before`};if(t(n))return[n]}}return a.filter(t)}selectTarget(e,t,n,r,i,a){if(e.length<2)return e[0];let o=this.pointerTracking,s=this.state.collection.getItem(t.key)?.parentKey;if(!s)return e[0];(!o.boundaryContext||o.boundaryContext.parentKey!==s)&&(o.boundaryContext={parentKey:s,preferredTargetIndex:o.yDirection===`up`?e.length-1:0,lastSwitchY:r,lastSwitchX:n});let c=o.boundaryContext,l=Math.abs(n-c.lastSwitchX);if(Math.abs(r-c.lastSwitchY)>5&&i){let t=c.preferredTargetIndex||0;i===`down`&&t===0?c.preferredTargetIndex=e.length-1:i===`up`&&t===e.length-1&&(c.preferredTargetIndex=0),o.xDirection=null}if(l>10&&a){let t=c.preferredTargetIndex||0;a===`left`?this.direction===`ltr`?t<e.length-1&&(c.preferredTargetIndex=t+1,c.lastSwitchX=n):t>0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):a===`right`&&(this.direction===`ltr`?t>0&&(c.preferredTargetIndex=t-1,c.lastSwitchX=n):t<e.length-1&&(c.preferredTargetIndex=t+1,c.lastSwitchX=n)),o.yDirection=null}return e[Math.max(0,Math.min(c.preferredTargetIndex||0,e.length-1))]}constructor(){this.delegate=null,this.state=null,this.direction=`ltr`,this.pointerTracking={lastY:0,lastX:0,yDirection:null,xDirection:null,boundaryContext:null}}},Pe=class{*[Symbol.iterator](){yield*this.flattenedRows}get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}getItem(e){return this.keyMap.get(e)||null}at(e){return this.flattenedRows[e]}getFirstKey(){return this.flattenedRows[0]?.key}getLastKey(){return this.flattenedRows[this.flattenedRows.length-1]?.key}getKeyAfter(e){let t=this.flattenedRows.findIndex(t=>t.key===e);return this.flattenedRows[t+1]?.key}getKeyBefore(e){let t=this.flattenedRows.findIndex(t=>t.key===e);return this.flattenedRows[t-1]?.key}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey==null?null:t.get(n.firstChildKey);for(;r;)yield r,r=r.nextKey==null?void 0:t.get(r.nextKey)}}}getTextValue(e){let t=this.getItem(e);return t?t.textValue:``}constructor(e){this.keyMap=new Map,this.itemCount=0;let{collection:t,expandedKeys:n}=e,{flattenedRows:r,keyMap:i,itemCount:a}=Ue(t,{expandedKeys:n});this.flattenedRows=r,this.keyMap=i,this.itemCount=a}};const Fe=n(null),Ie=n(null),Le=r(function(t,n){return[t,n]=A(t,n,Fe),e.createElement(de,{content:e.createElement(xe,t)},r=>e.createElement(ze,{props:t,collection:r,treeRef:n}))}),Re={expand:{ltr:`ArrowRight`,rtl:`ArrowLeft`},collapse:{ltr:`ArrowLeft`,rtl:`ArrowRight`}};function ze({props:t,collection:n,treeRef:r}){let{dragAndDropHooks:i}=t,{direction:a}=te(),l=T({usage:`search`,sensitivity:`base`}),f=!!i?.useDraggableCollectionState,m=!!i?.useDroppableCollectionState,h=u(f),g=u(m);s(()=>{h.current!==f&&console.warn(`Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.`),g.current!==m&&console.warn(`Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.`)},[f,m]);let{selectionMode:_=`none`,expandedKeys:v,defaultExpandedKeys:y,onExpandedChange:b,disabledBehavior:x=`all`}=t,{CollectionRoot:E,isVirtualized:D,layoutDelegate:O,dropTargetDelegate:ae}=o(Ee),[A,j]=oe(v?He(v):void 0,y?He(y):new Set,b),M=c(()=>new Pe({collection:n,expandedKeys:A}),[n,A]),P=re({...t,selectionMode:_,expandedKeys:A,onExpandedChange:j,collection:M,children:void 0,disabledBehavior:x}),{gridProps:F}=ne({...t,isVirtualized:D,layoutDelegate:O},P,r),I,L,R,z=!1,B=null,V=u(null);if(f&&i){I=i.useDraggableCollectionState({collection:P.collection,selectionManager:P.selectionManager,preview:i.renderDragPreview?V:void 0}),i.useDraggableCollection({},I,r);let t=i.DragPreview;B=i.renderDragPreview?e.createElement(t,{ref:V},i.renderDragPreview):null}let[H]=d(()=>new Ne);if(m&&i){L=i.useDroppableCollectionState({collection:P.collection,selectionManager:P.selectionManager});let e=i.dropTargetDelegate||ae||new i.ListDropTargetDelegate(P.collection,r,{direction:a});H.setup(e,P,a);let t=new C({collection:P.collection,collator:l,ref:r,disabledKeys:P.selectionManager.disabledKeys,disabledBehavior:P.selectionManager.disabledBehavior,direction:a,layoutDelegate:O});R=i.useDroppableCollection({keyboardDelegate:t,dropTargetDelegate:H,onDropActivate:e=>{if(e.target.type===`item`){let t=e.target.key,n=P.collection.getItem(t),r=A!==`all`&&A.has(t);n&&n.hasChildNodes&&(!r||i!=null&&i.isVirtualDragging?.call(i))&&P.toggleKey(t)}},onKeyDown:e=>{let t=L?.target;if(t&&t.type===`item`&&t.dropPosition===`on`){let n=P.collection.getItem(t.key);(e.key===Re.expand[a]&&n?.hasChildNodes&&!P.expandedKeys.has(t.key)||e.key===Re.collapse[a]&&n?.hasChildNodes&&P.expandedKeys.has(t.key))&&P.toggleKey(t.key)}}},L,r);let n=L.getDropOperation;L.getDropOperation=e=>{let{target:t,isInternal:r}=e,i=I?.draggingKeys??new Set;if(r&&t.type===`item`&&i.size>0){if(i.has(t.key)&&t.dropPosition===`on`)return`cancel`;let e=t.key;for(;e!=null;){let t=P.collection.getItem(e)?.parentKey;if(t!=null&&i.has(t))return`cancel`;e=t??null}}return n(e)},z=L.isDropTarget({type:`root`})}let U=!!(f&&!I?.isDisabled),{focusProps:W,isFocused:G,isFocusVisible:K}=ee(),q={isEmpty:P.collection.size===0,isFocused:G,isFocusVisible:K,isDropTarget:z,selectionMode:P.selectionManager.selectionMode,allowsDragging:!!U,state:P},J=k({...t,children:void 0,defaultClassName:`react-aria-Tree`,values:q}),Y=null;if(P.collection.size===0&&t.renderEmptyState){let{isEmpty:n,...r}=q,i=t.renderEmptyState({...r});Y=e.createElement(`div`,{role:`row`,style:{display:`contents`},"aria-level":1},e.createElement(`div`,{role:`gridcell`,style:{display:`contents`}},i))}let X=p(t,{global:!0});return e.createElement(e.Fragment,null,e.createElement(S,null,e.createElement(N.div,{...w(X,J,F,W,R?.collectionProps),ref:r,slot:t.slot||void 0,"data-empty":P.collection.size===0||void 0,"data-focused":G||void 0,"data-drop-target":z||void 0,"data-focus-visible":K||void 0,"data-selection-mode":P.selectionManager.selectionMode===`none`?void 0:P.selectionManager.selectionMode,"data-allows-dragging":!!U||void 0},e.createElement(ie,{values:[[Ie,P],[$,{dragAndDropHooks:i,dragState:I,dropState:L}],[De,{render:We}]]},m&&e.createElement(qe,null),e.createElement(Me,null,e.createElement(E,{collection:P.collection,persistedKeys:Ae(P.selectionManager,i,L),scrollRef:r,renderDropIndicator:ke(i,L)}))),Y)),B)}var Be=class extends B{};Be.type=`content`;var Ve=class extends B{};Ve.type=`item`,ve(U,function(t,n,r){let{isVirtualized:i}=o(Ee),a=o(Ie),{isLoading:s,onLoadMore:l,scrollOffset:d,...f}=t,h=u(null),g=c(()=>({onLoadMore:l,collection:a?.collection,sentinelRef:h,scrollOffset:d}),[l,d,a?.collection]);v(g,h),n=y(n);let{rowProps:_,gridCellProps:b}=E({node:r},a,n),x=_[`aria-level`]||1,S={role:`row`,"aria-level":_[`aria-level`]},C=k({...f,id:void 0,children:r.rendered,defaultClassName:`react-aria-TreeLoader`,values:{level:x}}),T={};return i&&(T={display:`contents`}),e.createElement(e.Fragment,null,e.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:m(!0)},e.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:h,style:{position:`absolute`,height:1,width:1}})),s&&C.children&&e.createElement(N.div,{ref:n,...w(p(t),S),...C,"data-level":x},e.createElement(`div`,{...b,style:T},C.children)))});function He(e){return e?e===`all`?`all`:new Set(e):new Set}function Ue(e,t){let{expandedKeys:n=new Set}=t,r=new Map,i=[],a=0,o=new Map,s=t=>{if(t.type===`item`||t.type===`loader`){let s=t?.parentKey,c={...t};s==null?r.set(t.key,t):([...e.getChildren(s)][0].type!==`item`&&(c.index=t?.index==null?0:t?.index-1),t.type===`loader`&&(c.level=t.level+1),r.set(c.key,c));let l=r.get(t.key)||t;(l.level===0||l.parentKey!=null&&n.has(l.parentKey)&&o.get(l.parentKey))&&(l.type===`item`&&a++,i.push(l),o.set(l.key,!0))}else t.type!==null&&r.set(t.key,t);for(let n of e.getChildren(t.key))s(n)};for(let t of e)s(t);return{flattenedRows:i,keyMap:r,itemCount:a}}function We(t,n){n=y(n);let{dragAndDropHooks:r,dropState:i}=o($),a=u(null),{dropIndicatorProps:s,isHidden:c,isDropTarget:l}=r.useDropIndicator(t,i,a);if(c)return null;let d=i&&t.target.type===`item`?(i.collection.getItem(t.target.key)?.level||0)+1:1;return e.createElement(Ke,{...t,dropIndicatorProps:s,isDropTarget:l,ref:n,buttonRef:a,level:d})}function Ge(t,n){let{dropIndicatorProps:r,isDropTarget:i,buttonRef:a,level:o,...s}=t,{visuallyHiddenProps:c}=D(),l=k({...s,defaultClassName:`react-aria-DropIndicator`,defaultStyle:{position:`relative`,"--tree-item-level":o},values:{isDropTarget:i}});return e.createElement(N.div,{...l,role:`row`,"aria-level":o,ref:n,"data-drop-target":i||void 0},e.createElement(`div`,{role:`gridcell`},e.createElement(`div`,{...c,role:`button`,...r,ref:a}),l.children))}const Ke=r(Ge);function qe(){let{dragAndDropHooks:t,dropState:n}=o($),r=u(null),{dropIndicatorProps:i}=t.useDropIndicator({target:{type:`root`}},n,r),a=n.isDropTarget({type:`root`}),{visuallyHiddenProps:s}=D();return!a&&i[`aria-hidden`]?null:e.createElement(`div`,{role:`row`,"aria-hidden":i[`aria-hidden`],style:{position:`absolute`}},e.createElement(`div`,{role:`gridcell`},e.createElement(`div`,{role:`button`,...s,...i,ref:r})))}export{Le as Tree};
@@ -0,0 +1 @@
1
+ export { TreeItem, type TreeItemProps, type TreeItemRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useEffect as s,useMemo as c,useRef as l}from"react";import{filterDOMProps as u,inertValue as d,mergeRefs as f,useLayoutEffect as p,useLoadMoreSentinel as m,useObjectRef as h}from"@react-aria/utils";import{FocusableContext as g}from"@react-aria/interactions";import"react-dom";import{mergeProps as _,useFocusRing as v,useGridListSelectionCheckbox as ee,useHover as y,useId as b,useTreeItem as x,useVisuallyHidden as S}from"react-aria";import"react-stately";const C=n(null);n(null),n(null),n(null),n(null),n({}),n(null),n(null);const w=Symbol(`default`);function T({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function E(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 D(t,n,r){let{render:i,...a}=n,o=l(null),s=c(()=>f(r,o),[r,o]);p(()=>{},[t,i]);let u={...a,ref:s};return i?i(u,void 0):e.createElement(t,u)}const O={},k=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=O[t];return n||(n=r(D.bind(null,t)),O[t]=n),n}});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var A=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},j=class extends A{filter(e,t,n){let[r,i]=I(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},M=class extends A{};M.type=`header`;var N=class extends A{};N.type=`loader`;var P=class extends j{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};P.type=`item`;var F=class extends j{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};F.type=`section`;function I(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function L(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,s=c(()=>new WeakMap,o);return c(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=s.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),s.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,s,i,a])}const R=n(!1);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const z=n(null);function B(e){var t;return t=class extends A{},t.type=e,t}function V(t,n,r,i,s,c){typeof t==`string`&&(t=B(t));let l=a(e=>{e?.setProps(n,r,t,i,c)},[n,r,i,c,t]),u=o(z);if(u){let a=u.ownerDocument.nodesByProps.get(n);return a||(a=u.ownerDocument.createElement(t.type),a.setProps(n,r,t,i,c),u.appendChild(a),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,a)),s?e.createElement(z.Provider,{value:a},s):null}return e.createElement(t.type,{ref:l},s)}function H(t,n){let i=({node:e})=>n(e.props,e.props.ref,e),a=r((r,a)=>{let s=o(g);if(!o(R)){if(n.length>=3)throw Error(n.name+` cannot be rendered outside a collection.`);return n(r,a)}return V(t,r,a,`children`in r?r.children:null,null,t=>e.createElement(g.Provider,{value:s},e.createElement(i,{node:t})))});return a.displayName=n.name,a}function U(t,n,i=W){let a=({node:e})=>n(e.props,e.props.ref,e),o=r((n,r)=>V(t,n,r,null,i(n),t=>e.createElement(a,{node:t}))??e.createElement(e.Fragment,null));return o.displayName=n.name,o}function W(e){return L({...e,addIdAndValue:!0})}const G={CollectionRoot({collection:e,renderDropIndicator:t}){return K(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return K(e,t,n)}};function K(t,n,r){return L({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,q(t,n,r))}})}function q(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const J=n(G),te=n({}),ne=n({}),re=n({isSelected:!1}),Y=n(null);var X=class extends A{};X.type=`content`;const ie=n(null);var Z=class extends A{};Z.type=`item`;const Q=U(Z,(t,n,r)=>{let i=o(Y);n=h(n);let{dragAndDropHooks:a,dragState:c,dropState:d}=o(ne),{rowProps:f,gridCellProps:p,expandButtonProps:m,descriptionProps:g,...D}=x({node:r,shouldSelectOnPressUp:!!c},i,n),O=f[`aria-expanded`]===!0,A=t.hasChildItems||[...i.collection.getChildren(r.key)].length>1,j=f[`aria-level`]||1,{hoverProps:M,isHovered:N}=y({isDisabled:!D.allowsSelection&&!D.hasAction,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{isFocusVisible:P,focusProps:F}=v(),{isFocusVisible:I,focusProps:R}=v({within:!0}),{checkboxProps:z}=ee({key:r.key},i),B=null;c&&a&&(B=a.useDraggableItem({key:r.key,hasDragButton:!0},c));let V=null,H=l(null),U=l(null),W=l(null),{visuallyHiddenProps:G}=S();d&&a&&(V=a.useDropIndicator({target:{type:`item`,key:r.key,dropPosition:`on`},activateButtonRef:W},d,U));let K=c&&c.isDragging(r.key),q=V?.isDropTarget,J=i.selectionManager.selectionMode,X=i.selectionManager.selectionBehavior,Z=e.useMemo(()=>({...D,isHovered:N,isFocusVisible:P,isExpanded:O,hasChildItems:A,level:j,selectionMode:J,selectionBehavior:X,isFocusVisibleWithin:I,state:i,id:r.key,allowsDragging:!!c,isDragging:K,isDropTarget:q}),[D,N,P,O,A,j,I,i,r.key,c,K,q,X,J]),Q=E({...t,id:void 0,children:r.rendered,defaultClassName:`react-aria-TreeItem`,defaultStyle:{"--tree-item-level":j},values:Z});s(()=>{r.textValue},[r.textValue]),s(()=>{A&&H.current},[]);let ae=l(null);s(()=>{c&&ae.current},[]);let oe=L({items:i.collection.getChildren(r.key),children:t=>{switch(t.type){case`content`:return t.render(t);case`loader`:case`item`:return e.createElement(e.Fragment,null);default:throw Error(`Unsupported element type in TreeRow: `+t.type)}}}),se=b(),$=u(t,{global:!0});return delete $.id,delete $.onClick,e.createElement(e.Fragment,null,V&&!V.isHidden&&e.createElement(`div`,{role:`row`,"aria-level":f[`aria-level`],"aria-expanded":f[`aria-expanded`],"aria-label":V.dropIndicatorProps[`aria-label`]},e.createElement(`div`,{role:`gridcell`,"aria-colindex":1,style:{display:`contents`}},e.createElement(`div`,{role:`button`,...G,...V.dropIndicatorProps,ref:U}),f[`aria-expanded`]==null?null:e.createElement(`div`,{role:`button`,...G,id:se,"aria-label":m[`aria-label`],"aria-labelledby":`${se} ${f.id}`,tabIndex:-1,ref:W}))),e.createElement(k.div,{..._($,f,F,M,R,B?.dragProps),...Q,ref:n,"data-expanded":A&&O||void 0,"data-has-child-items":A||void 0,"data-level":j,"data-selected":D.isSelected||void 0,"data-disabled":D.isDisabled||void 0,"data-hovered":N||void 0,"data-focused":D.isFocused||void 0,"data-focus-visible":P||void 0,"data-pressed":D.isPressed||void 0,"data-selection-mode":i.selectionManager.selectionMode===`none`?void 0:i.selectionManager.selectionMode,"data-allows-dragging":!!c||void 0,"data-dragging":K||void 0,"data-drop-target":q||void 0},e.createElement(`div`,{...p,style:{display:`contents`}},e.createElement(T,{values:[[C,{slots:{selection:z}}],[te,{slots:{[w]:{},chevron:{...m,ref:H},drag:{...B?.dragButtonProps,ref:ae,style:{pointerEvents:`none`}}}}],[ie,{...Z}],[re,{isSelected:D.isSelected}]]},oe))))});H(N,function(t,n,r){let{isVirtualized:i}=o(J),a=o(Y),{isLoading:s,onLoadMore:f,scrollOffset:p,...g}=t,v=l(null),ee=c(()=>({onLoadMore:f,collection:a?.collection,sentinelRef:v,scrollOffset:p}),[f,p,a?.collection]);m(ee,v),n=h(n);let{rowProps:y,gridCellProps:b}=x({node:r},a,n),S=y[`aria-level`]||1,C={role:`row`,"aria-level":y[`aria-level`]},w=E({...g,id:void 0,children:r.rendered,defaultClassName:`react-aria-TreeLoader`,values:{level:S}}),T={};return i&&(T={display:`contents`}),e.createElement(e.Fragment,null,e.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:d(!0)},e.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:v,style:{position:`absolute`,height:1,width:1}})),s&&w.children&&e.createElement(k.div,{ref:n,..._(u(t),C),...w,"data-level":S},e.createElement(`div`,{...b,style:T},w.children)))});export{Q as TreeItem};
@@ -0,0 +1 @@
1
+ export { TreeItemContent, type TreeItemContentProps, type TreeItemContentRenderProps } from "react-aria-components";
@@ -0,0 +1 @@
1
+ import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c}from"react";import{filterDOMProps as l,inertValue as u,mergeRefs as d,useLayoutEffect as f,useLoadMoreSentinel as p,useObjectRef as m}from"@react-aria/utils";import{FocusableContext as h}from"@react-aria/interactions";import"react-dom";import{mergeProps as g,useTreeItem as _}from"react-aria";import"react-stately";function v(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 y(t,n,r){let{render:i,...a}=n,o=c(null),l=s(()=>d(r,o),[r,o]);f(()=>{},[t,i]);let u={...a,ref:l};return i?i(u,void 0):e.createElement(t,u)}const b={},x=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=b[t];return n||(n=r(y.bind(null,t)),b[t]=n),n}});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var S=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},C=class extends S{filter(e,t,n){let[r,i]=O(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},w=class extends S{};w.type=`header`;var T=class extends S{};T.type=`loader`;var E=class extends C{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};E.type=`item`;var D=class extends C{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};D.type=`section`;function O(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function k(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}const A=n(!1);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const j=n(null);function M(e){var t;return t=class extends S{},t.type=e,t}function N(t,n,r,i,s,c){typeof t==`string`&&(t=M(t));let l=a(e=>{e?.setProps(n,r,t,i,c)},[n,r,i,c,t]),u=o(j);if(u){let a=u.ownerDocument.nodesByProps.get(n);return a||(a=u.ownerDocument.createElement(t.type),a.setProps(n,r,t,i,c),u.appendChild(a),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,a)),s?e.createElement(j.Provider,{value:a},s):null}return e.createElement(t.type,{ref:l},s)}function P(t,n){let i=({node:e})=>n(e.props,e.props.ref,e),a=r((r,a)=>{let s=o(h);if(!o(A)){if(n.length>=3)throw Error(n.name+` cannot be rendered outside a collection.`);return n(r,a)}return N(t,r,a,`children`in r?r.children:null,null,t=>e.createElement(h.Provider,{value:s},e.createElement(i,{node:t})))});return a.displayName=n.name,a}const F={CollectionRoot({collection:e,renderDropIndicator:t}){return I(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return I(e,t,n)}};function I(t,n,r){return k({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,L(t,n,r))}})}function L(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const R=n(F),z=n(null);var B=class extends S{};B.type=`content`;const V=P(B,function(t){let n=o(H),r=v({children:t.children,values:n});return e.createElement(R.Provider,{value:F},r.children)}),H=n(null);var U=class extends S{};U.type=`item`,P(T,function(t,n,r){let{isVirtualized:i}=o(R),a=o(z),{isLoading:d,onLoadMore:f,scrollOffset:h,...y}=t,b=c(null),S=s(()=>({onLoadMore:f,collection:a?.collection,sentinelRef:b,scrollOffset:h}),[f,h,a?.collection]);p(S,b),n=m(n);let{rowProps:C,gridCellProps:w}=_({node:r},a,n),T=C[`aria-level`]||1,E={role:`row`,"aria-level":C[`aria-level`]},D=v({...y,id:void 0,children:r.rendered,defaultClassName:`react-aria-TreeLoader`,values:{level:T}}),O={};return i&&(O={display:`contents`}),e.createElement(e.Fragment,null,e.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:u(!0)},e.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:b,style:{position:`absolute`,height:1,width:1}})),d&&D.children&&e.createElement(x.div,{ref:n,...g(l(t),E),...D,"data-level":T},e.createElement(`div`,{...w,style:O},D.children)))});export{V as TreeItemContent};
@@ -0,0 +1 @@
1
+ export { TreeLoadMoreItem, type TreeLoadMoreItemProps, type TreeLoadMoreItemRenderProps } from "react-aria-components";