@commercetools/nimbus 1.0.1 → 2.0.1-rc1

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 (1172) hide show
  1. package/README.md +43 -1
  2. package/dist/accordion.d.ts +84 -122
  3. package/dist/alert.d.ts +70 -82
  4. package/dist/avatar.d.ts +24 -40
  5. package/dist/badge.d.ts +22 -75
  6. package/dist/box.d.ts +2 -2
  7. package/dist/button.d.ts +32 -22
  8. package/dist/calendar.d.ts +21 -13
  9. package/dist/card.d.ts +34 -96
  10. package/dist/checkbox.d.ts +21 -45
  11. package/dist/chunks/Button-CFZnLKVR.cjs.js +2 -0
  12. package/dist/chunks/Button-CFZnLKVR.cjs.js.map +1 -0
  13. package/dist/chunks/Button-CrgZzRm9.es.js +79 -0
  14. package/dist/chunks/Button-CrgZzRm9.es.js.map +1 -0
  15. package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js +18 -0
  16. package/dist/chunks/CollectionBuilder-BiEelELF.cjs.js.map +1 -0
  17. package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js +677 -0
  18. package/dist/chunks/CollectionBuilder-Wz-mnWjQ.es.js.map +1 -0
  19. package/dist/chunks/DateField-CDTSjqvQ.cjs.js +2 -0
  20. package/dist/chunks/DateField-CDTSjqvQ.cjs.js.map +1 -0
  21. package/dist/chunks/DateField-qGypjFaJ.es.js +2691 -0
  22. package/dist/chunks/DateField-qGypjFaJ.es.js.map +1 -0
  23. package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js +2 -0
  24. package/dist/chunks/DatePicker-DCjrqg4Q.cjs.js.map +1 -0
  25. package/dist/chunks/DatePicker-Dn0LNd7V.es.js +786 -0
  26. package/dist/chunks/DatePicker-Dn0LNd7V.es.js.map +1 -0
  27. package/dist/chunks/Dialog-B2hCMJnM.es.js +1951 -0
  28. package/dist/chunks/Dialog-B2hCMJnM.es.js.map +1 -0
  29. package/dist/chunks/Dialog-XGXh4NXU.cjs.js +7 -0
  30. package/dist/chunks/Dialog-XGXh4NXU.cjs.js.map +1 -0
  31. package/dist/chunks/DragAndDrop-BXEtfOEa.es.js +76 -0
  32. package/dist/chunks/DragAndDrop-BXEtfOEa.es.js.map +1 -0
  33. package/dist/chunks/DragAndDrop-Cu1BgmHe.cjs.js +2 -0
  34. package/dist/chunks/DragAndDrop-Cu1BgmHe.cjs.js.map +1 -0
  35. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  36. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  37. package/dist/chunks/FocusScope-BY2fddGq.es.js +625 -0
  38. package/dist/chunks/FocusScope-BY2fddGq.es.js.map +1 -0
  39. package/dist/chunks/FocusScope-vogC4IAT.cjs.js +2 -0
  40. package/dist/chunks/FocusScope-vogC4IAT.cjs.js.map +1 -0
  41. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  42. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  43. package/dist/chunks/Group-BBaUrRF9.es.js +47 -0
  44. package/dist/chunks/Group-BBaUrRF9.es.js.map +1 -0
  45. package/dist/chunks/Group-BX1EpD9E.cjs.js +2 -0
  46. package/dist/chunks/Group-BX1EpD9E.cjs.js.map +1 -0
  47. package/dist/chunks/Header-B4V0zxSN.es.js +59 -0
  48. package/dist/chunks/Header-B4V0zxSN.es.js.map +1 -0
  49. package/dist/chunks/Header-BmzdY2bW.cjs.js +2 -0
  50. package/dist/chunks/Header-BmzdY2bW.cjs.js.map +1 -0
  51. package/dist/chunks/Heading-CCs6OF_m.cjs.js +2 -0
  52. package/dist/chunks/Heading-CCs6OF_m.cjs.js.map +1 -0
  53. package/dist/chunks/Heading-CfiWDgRZ.es.js +1619 -0
  54. package/dist/chunks/Heading-CfiWDgRZ.es.js.map +1 -0
  55. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  56. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  57. package/dist/chunks/Input-Da2oLmEN.es.js +43 -0
  58. package/dist/chunks/Input-Da2oLmEN.es.js.map +1 -0
  59. package/dist/chunks/Input-_6sPm9s0.cjs.js +2 -0
  60. package/dist/chunks/Input-_6sPm9s0.cjs.js.map +1 -0
  61. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  62. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  63. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
  64. package/dist/chunks/Label-qcXzazih.es.js +17 -0
  65. package/dist/chunks/Label-qcXzazih.es.js.map +1 -0
  66. package/dist/chunks/ListBox-CFvXqaPX.cjs.js +2 -0
  67. package/dist/chunks/ListBox-CFvXqaPX.cjs.js.map +1 -0
  68. package/dist/chunks/ListBox-DAcVFwWW.es.js +493 -0
  69. package/dist/chunks/ListBox-DAcVFwWW.es.js.map +1 -0
  70. package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js +2 -0
  71. package/dist/chunks/ListKeyboardDelegate-CYRgZzU8.cjs.js.map +1 -0
  72. package/dist/chunks/ListKeyboardDelegate-D-k0fIME.es.js +159 -0
  73. package/dist/chunks/ListKeyboardDelegate-D-k0fIME.es.js.map +1 -0
  74. package/dist/chunks/Modal-CVOcKPNx.cjs.js +2 -0
  75. package/dist/chunks/Modal-CVOcKPNx.cjs.js.map +1 -0
  76. package/dist/chunks/Modal-D91zBjIP.es.js +197 -0
  77. package/dist/chunks/Modal-D91zBjIP.es.js.map +1 -0
  78. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -1
  79. package/dist/chunks/OverlayArrow-CwYMJqgj.es.js +491 -0
  80. package/dist/chunks/OverlayArrow-CwYMJqgj.es.js.map +1 -0
  81. package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js +2 -0
  82. package/dist/chunks/ProgressBar-C9Y3C7_B.cjs.js.map +1 -0
  83. package/dist/chunks/ProgressBar-dYIUhB6B.es.js +42 -0
  84. package/dist/chunks/ProgressBar-dYIUhB6B.es.js.map +1 -0
  85. package/dist/chunks/RSPContexts-BdKenzIN.cjs.js +2 -0
  86. package/dist/chunks/RSPContexts-BdKenzIN.cjs.js.map +1 -0
  87. package/dist/chunks/RSPContexts-DV4cFLUV.es.js +9 -0
  88. package/dist/chunks/RSPContexts-DV4cFLUV.es.js.map +1 -0
  89. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
  90. package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
  91. package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js +2 -0
  92. package/dist/chunks/SelectionIndicator-Cp3OYqg6.cjs.js.map +1 -0
  93. package/dist/chunks/SelectionIndicator-DopimabS.es.js +17 -0
  94. package/dist/chunks/SelectionIndicator-DopimabS.es.js.map +1 -0
  95. package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js +2 -0
  96. package/dist/chunks/SelectionManager-1rNaWE7D.cjs.js.map +1 -0
  97. package/dist/chunks/SelectionManager-2q7N4psD.es.js +1132 -0
  98. package/dist/chunks/SelectionManager-2q7N4psD.es.js.map +1 -0
  99. package/dist/chunks/Separator-6J1KiDlQ.cjs.js +2 -0
  100. package/dist/chunks/Separator-6J1KiDlQ.cjs.js.map +1 -0
  101. package/dist/chunks/Separator-DyXjJGoH.es.js +55 -0
  102. package/dist/chunks/Separator-DyXjJGoH.es.js.map +1 -0
  103. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  104. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  105. package/dist/chunks/TextArea-DItoG16s.es.js +42 -0
  106. package/dist/chunks/TextArea-DItoG16s.es.js.map +1 -0
  107. package/dist/chunks/TextArea-Y5635aIM.cjs.js +2 -0
  108. package/dist/chunks/TextArea-Y5635aIM.cjs.js.map +1 -0
  109. package/dist/chunks/ToggleButton-1I5cetxI.cjs.js +2 -0
  110. package/dist/chunks/ToggleButton-1I5cetxI.cjs.js.map +1 -0
  111. package/dist/chunks/ToggleButton-Cj9AtHpY.es.js +150 -0
  112. package/dist/chunks/ToggleButton-Cj9AtHpY.es.js.map +1 -0
  113. package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js +2 -0
  114. package/dist/chunks/VisuallyHidden-C1WQXLCm.cjs.js.map +1 -0
  115. package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js +41 -0
  116. package/dist/chunks/VisuallyHidden-Dxf1qswV.es.js.map +1 -0
  117. package/dist/chunks/accordion-B2FLWAh5.cjs.js +2 -0
  118. package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +1 -0
  119. package/dist/chunks/accordion-DSLccfDW.es.js +221 -0
  120. package/dist/chunks/accordion-DSLccfDW.es.js.map +1 -0
  121. package/dist/chunks/alert-CPHjPe4-.cjs.js +2 -0
  122. package/dist/chunks/alert-CPHjPe4-.cjs.js.map +1 -0
  123. package/dist/chunks/alert-Cz2mnKir.es.js +138 -0
  124. package/dist/chunks/alert-Cz2mnKir.es.js.map +1 -0
  125. package/dist/chunks/avatar-CTiSGVoD.es.js +40 -0
  126. package/dist/chunks/avatar-CTiSGVoD.es.js.map +1 -0
  127. package/dist/chunks/avatar-_o-uSXYy.cjs.js +2 -0
  128. package/dist/chunks/avatar-_o-uSXYy.cjs.js.map +1 -0
  129. package/dist/chunks/badge-Csn5glEd.es.js +17 -0
  130. package/dist/chunks/badge-Csn5glEd.es.js.map +1 -0
  131. package/dist/chunks/badge-mMpNb3Qj.cjs.js +2 -0
  132. package/dist/chunks/badge-mMpNb3Qj.cjs.js.map +1 -0
  133. package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js +2 -0
  134. package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js.map +1 -0
  135. package/dist/chunks/badge.recipe-DsV4A_UD.es.js +68 -0
  136. package/dist/chunks/badge.recipe-DsV4A_UD.es.js.map +1 -0
  137. package/dist/chunks/box-CWni3A32.cjs.js.map +1 -1
  138. package/dist/chunks/box-DuBoAZvq.es.js.map +1 -1
  139. package/dist/chunks/button-B5OOW-2z.cjs.js +2 -0
  140. package/dist/chunks/button-B5OOW-2z.cjs.js.map +1 -0
  141. package/dist/chunks/button-Cnui897Z.es.js +62 -0
  142. package/dist/chunks/button-Cnui897Z.es.js.map +1 -0
  143. package/dist/chunks/calendar-BTdHdh7y.es.js +187 -0
  144. package/dist/chunks/calendar-BTdHdh7y.es.js.map +1 -0
  145. package/dist/chunks/calendar-V0KeNCQ3.cjs.js +2 -0
  146. package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +1 -0
  147. package/dist/chunks/card-BB_1xrND.es.js +78 -0
  148. package/dist/chunks/card-BB_1xrND.es.js.map +1 -0
  149. package/dist/chunks/card-BPEsGx1J.cjs.js +2 -0
  150. package/dist/chunks/card-BPEsGx1J.cjs.js.map +1 -0
  151. package/dist/chunks/checkbox-Bm4Yqa_0.es.js +218 -0
  152. package/dist/chunks/checkbox-Bm4Yqa_0.es.js.map +1 -0
  153. package/dist/chunks/checkbox-Dod-yTj4.cjs.js +2 -0
  154. package/dist/chunks/checkbox-Dod-yTj4.cjs.js.map +1 -0
  155. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js +2 -0
  156. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +1 -0
  157. package/dist/chunks/collapsible-motion-OOUmjdKw.es.js +83 -0
  158. package/dist/chunks/collapsible-motion-OOUmjdKw.es.js.map +1 -0
  159. package/dist/chunks/combobox-B5UxZWSX.cjs.js +2 -0
  160. package/dist/chunks/combobox-B5UxZWSX.cjs.js.map +1 -0
  161. package/dist/chunks/combobox-Ch4VokC9.es.js +2425 -0
  162. package/dist/chunks/combobox-Ch4VokC9.es.js.map +1 -0
  163. package/dist/chunks/context-OoV8SSWX.cjs.js.map +1 -1
  164. package/dist/chunks/context-R4YUlO9Y.es.js.map +1 -1
  165. package/dist/chunks/data-table-C51WU0Cc.cjs.js +2 -0
  166. package/dist/chunks/data-table-C51WU0Cc.cjs.js.map +1 -0
  167. package/dist/chunks/data-table-DC369pb3.es.js +3585 -0
  168. package/dist/chunks/data-table-DC369pb3.es.js.map +1 -0
  169. package/dist/chunks/date-input-DvOM0DLT.cjs.js +2 -0
  170. package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +1 -0
  171. package/dist/chunks/date-input-KVuRsFzs.es.js +21 -0
  172. package/dist/chunks/date-input-KVuRsFzs.es.js.map +1 -0
  173. package/dist/chunks/date-picker-C304WfAN.es.js +220 -0
  174. package/dist/chunks/date-picker-C304WfAN.es.js.map +1 -0
  175. package/dist/chunks/date-picker-CZAoPNsT.cjs.js +2 -0
  176. package/dist/chunks/date-picker-CZAoPNsT.cjs.js.map +1 -0
  177. package/dist/chunks/date-range-picker-CkRgcwfm.es.js +281 -0
  178. package/dist/chunks/date-range-picker-CkRgcwfm.es.js.map +1 -0
  179. package/dist/chunks/date-range-picker-iENzosfN.cjs.js +2 -0
  180. package/dist/chunks/date-range-picker-iENzosfN.cjs.js.map +1 -0
  181. package/dist/chunks/dialog-CKwC3dk3.cjs.js +2 -0
  182. package/dist/chunks/dialog-CKwC3dk3.cjs.js.map +1 -0
  183. package/dist/chunks/dialog-gTeRW6GK.es.js +165 -0
  184. package/dist/chunks/dialog-gTeRW6GK.es.js.map +1 -0
  185. package/dist/chunks/dialog.title-B9cEUH8w.es.js +152 -0
  186. package/dist/chunks/dialog.title-B9cEUH8w.es.js.map +1 -0
  187. package/dist/chunks/dialog.title-DOPP47Zy.cjs.js +2 -0
  188. package/dist/chunks/dialog.title-DOPP47Zy.cjs.js.map +1 -0
  189. package/dist/chunks/draggable-list-BIJ7t5ou.es.js +4211 -0
  190. package/dist/chunks/draggable-list-BIJ7t5ou.es.js.map +1 -0
  191. package/dist/chunks/draggable-list-MGvr5-A-.cjs.js +3 -0
  192. package/dist/chunks/draggable-list-MGvr5-A-.cjs.js.map +1 -0
  193. package/dist/chunks/drawer-DKF34Nfc.es.js +304 -0
  194. package/dist/chunks/drawer-DKF34Nfc.es.js.map +1 -0
  195. package/dist/chunks/drawer-DzW9wBMk.cjs.js +2 -0
  196. package/dist/chunks/drawer-DzW9wBMk.cjs.js.map +1 -0
  197. package/dist/chunks/emotion-is-prop-valid.esm-BUuA3iy8.es.js +16 -0
  198. package/dist/chunks/emotion-is-prop-valid.esm-BUuA3iy8.es.js.map +1 -0
  199. package/dist/chunks/emotion-is-prop-valid.esm-ux_11lix.cjs.js +2 -0
  200. package/dist/chunks/emotion-is-prop-valid.esm-ux_11lix.cjs.js.map +1 -0
  201. package/dist/chunks/extractStyleProps-DYXEhLtq.es.js +11 -0
  202. package/dist/chunks/extractStyleProps-DYXEhLtq.es.js.map +1 -0
  203. package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js +2 -0
  204. package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js.map +1 -0
  205. package/dist/chunks/field-errors-ClQprmQz.es.js +213 -0
  206. package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -0
  207. package/dist/chunks/field-errors-D2re_C_c.cjs.js +2 -0
  208. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -0
  209. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
  210. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
  211. package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js +2 -0
  212. package/dist/chunks/focusSafely-BNAvQ-wF.cjs.js.map +1 -0
  213. package/dist/chunks/focusSafely-BS2OU9MQ.es.js +27 -0
  214. package/dist/chunks/focusSafely-BS2OU9MQ.es.js.map +1 -0
  215. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  216. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  217. package/dist/chunks/form-field-CIGQxVVS.cjs.js +2 -0
  218. package/dist/chunks/form-field-CIGQxVVS.cjs.js.map +1 -0
  219. package/dist/chunks/form-field-cRZo4WSf.es.js +231 -0
  220. package/dist/chunks/form-field-cRZo4WSf.es.js.map +1 -0
  221. package/dist/chunks/getScrollParent-B8PotBOX.cjs.js +2 -0
  222. package/dist/chunks/getScrollParent-B8PotBOX.cjs.js.map +1 -0
  223. package/dist/chunks/getScrollParent-BS4bncfK.es.js +10 -0
  224. package/dist/chunks/getScrollParent-BS4bncfK.es.js.map +1 -0
  225. package/dist/chunks/grid-Chuw1xje.cjs.js.map +1 -1
  226. package/dist/chunks/grid-De8qjf98.es.js.map +1 -1
  227. package/dist/chunks/group-BqUFlw5R.cjs.js +2 -0
  228. package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -0
  229. package/dist/chunks/group-CWADf2vF.es.js +13 -0
  230. package/dist/chunks/group-CWADf2vF.es.js.map +1 -0
  231. package/dist/chunks/heading-BTacGwo9.cjs.js +2 -0
  232. package/dist/chunks/heading-BTacGwo9.cjs.js.map +1 -0
  233. package/dist/chunks/heading-BtazVUd5.es.js +25 -0
  234. package/dist/chunks/heading-BtazVUd5.es.js.map +1 -0
  235. package/dist/chunks/icon-CenxuChf.es.js +11 -0
  236. package/dist/chunks/icon-CenxuChf.es.js.map +1 -0
  237. package/dist/chunks/icon-D39U--jA.cjs.js +2 -0
  238. package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -0
  239. package/dist/chunks/icon-button-9Ni8-hO7.es.js +14 -0
  240. package/dist/chunks/icon-button-9Ni8-hO7.es.js.map +1 -0
  241. package/dist/chunks/icon-button-vWPrT-bR.cjs.js +2 -0
  242. package/dist/chunks/icon-button-vWPrT-bR.cjs.js.map +1 -0
  243. package/dist/chunks/icon-toggle-button-Db8CLmE5.es.js +13 -0
  244. package/dist/chunks/icon-toggle-button-Db8CLmE5.es.js.map +1 -0
  245. package/dist/chunks/icon-toggle-button-eLrsWehe.cjs.js +2 -0
  246. package/dist/chunks/icon-toggle-button-eLrsWehe.cjs.js.map +1 -0
  247. package/dist/chunks/icon.recipe-ClxbhW0Q.cjs.js +2 -0
  248. package/dist/chunks/icon.recipe-ClxbhW0Q.cjs.js.map +1 -0
  249. package/dist/chunks/icon.recipe-DjkjodUn.es.js +24 -0
  250. package/dist/chunks/icon.recipe-DjkjodUn.es.js.map +1 -0
  251. package/dist/chunks/image-CGOYoc2s.cjs.js.map +1 -1
  252. package/dist/chunks/image-DRigLU80.es.js.map +1 -1
  253. package/dist/chunks/index-CRFg4Mhx.cjs.js +34 -0
  254. package/dist/chunks/index-CRFg4Mhx.cjs.js.map +1 -0
  255. package/dist/chunks/index-CtB71yr7.es.js +5655 -0
  256. package/dist/chunks/index-CtB71yr7.es.js.map +1 -0
  257. package/dist/chunks/inertValue-B3AFhVG4.cjs.js +2 -0
  258. package/dist/chunks/inertValue-B3AFhVG4.cjs.js.map +1 -0
  259. package/dist/chunks/inertValue-B7loUihk.es.js +9 -0
  260. package/dist/chunks/inertValue-B7loUihk.es.js.map +1 -0
  261. package/dist/chunks/inline-svg-CbSC6O5X.es.js +21 -0
  262. package/dist/chunks/inline-svg-CbSC6O5X.es.js.map +1 -0
  263. package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js +2 -0
  264. package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js.map +1 -0
  265. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  266. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  267. package/dist/chunks/kbd-BaeV_DL-.cjs.js +2 -0
  268. package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -0
  269. package/dist/chunks/kbd-CH9rYghB.es.js +15 -0
  270. package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -0
  271. package/dist/chunks/link-DpU4rPCp.cjs.js +2 -0
  272. package/dist/chunks/link-DpU4rPCp.cjs.js.map +1 -0
  273. package/dist/chunks/link-QwdgCWJd.es.js +48 -0
  274. package/dist/chunks/link-QwdgCWJd.es.js.map +1 -0
  275. package/dist/chunks/loading-spinner-BiVTAfmp.es.js +59 -0
  276. package/dist/chunks/loading-spinner-BiVTAfmp.es.js.map +1 -0
  277. package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js +2 -0
  278. package/dist/chunks/loading-spinner-DQM-6XnY.cjs.js.map +1 -0
  279. package/dist/chunks/localized-field-C7Vribb2.cjs.js +2 -0
  280. package/dist/chunks/localized-field-C7Vribb2.cjs.js.map +1 -0
  281. package/dist/chunks/localized-field-pJSLdod5.es.js +470 -0
  282. package/dist/chunks/localized-field-pJSLdod5.es.js.map +1 -0
  283. package/dist/chunks/make-element-focusable-C4jhHHl0.es.js +25 -0
  284. package/dist/chunks/make-element-focusable-C4jhHHl0.es.js.map +1 -0
  285. package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js +2 -0
  286. package/dist/chunks/make-element-focusable-oedzOY_M.cjs.js.map +1 -0
  287. package/dist/chunks/menu-4QTf2m-7.es.js +147 -0
  288. package/dist/chunks/menu-4QTf2m-7.es.js.map +1 -0
  289. package/dist/chunks/menu-DIepV2KZ.cjs.js +2 -0
  290. package/dist/chunks/menu-DIepV2KZ.cjs.js.map +1 -0
  291. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -1
  292. package/dist/chunks/mergeProps-CzyOU2NE.es.js +130 -0
  293. package/dist/chunks/mergeProps-CzyOU2NE.es.js.map +1 -0
  294. package/dist/chunks/money-input-BJpffXRR.es.js +526 -0
  295. package/dist/chunks/money-input-BJpffXRR.es.js.map +1 -0
  296. package/dist/chunks/money-input-Cu_J86Eu.cjs.js +2 -0
  297. package/dist/chunks/money-input-Cu_J86Eu.cjs.js.map +1 -0
  298. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js +2 -0
  299. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +1 -0
  300. package/dist/chunks/multiline-text-input-CilSJJaO.es.js +64 -0
  301. package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +1 -0
  302. package/dist/chunks/nimbus-provider-BfpEKy6w.es.js +101 -0
  303. package/dist/chunks/nimbus-provider-BfpEKy6w.es.js.map +1 -0
  304. package/dist/chunks/nimbus-provider-WX_qUCxo.cjs.js +2 -0
  305. package/dist/chunks/nimbus-provider-WX_qUCxo.cjs.js.map +1 -0
  306. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
  307. package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
  308. package/dist/chunks/number-input-DXiwgboS.es.js +691 -0
  309. package/dist/chunks/number-input-DXiwgboS.es.js.map +1 -0
  310. package/dist/chunks/number-input-wMW-o4di.cjs.js +2 -0
  311. package/dist/chunks/number-input-wMW-o4di.cjs.js.map +1 -0
  312. package/dist/chunks/openLink-DT8XzqFh.es.js +105 -0
  313. package/dist/chunks/openLink-DT8XzqFh.es.js.map +1 -0
  314. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
  315. package/dist/chunks/pagination-BWdg8s6g.cjs.js +2 -0
  316. package/dist/chunks/pagination-BWdg8s6g.cjs.js.map +1 -0
  317. package/dist/chunks/pagination-Sq1twv0k.es.js +160 -0
  318. package/dist/chunks/pagination-Sq1twv0k.es.js.map +1 -0
  319. package/dist/chunks/password-input-6SMjhXSO.cjs.js +2 -0
  320. package/dist/chunks/password-input-6SMjhXSO.cjs.js.map +1 -0
  321. package/dist/chunks/password-input-CBhC_e5Z.es.js +54 -0
  322. package/dist/chunks/password-input-CBhC_e5Z.es.js.map +1 -0
  323. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
  324. package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -1
  325. package/dist/chunks/popover-CfEq5G5-.cjs.js +2 -0
  326. package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -0
  327. package/dist/chunks/popover-Cz6TnNt_.es.js +14 -0
  328. package/dist/chunks/popover-Cz6TnNt_.es.js.map +1 -0
  329. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js +2 -0
  330. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +1 -0
  331. package/dist/chunks/progress-bar-DwuOjOcH.es.js +77 -0
  332. package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +1 -0
  333. package/dist/chunks/radio-input-DhqS9ipf.es.js +350 -0
  334. package/dist/chunks/radio-input-DhqS9ipf.es.js.map +1 -0
  335. package/dist/chunks/radio-input-Dp05SXja.cjs.js +2 -0
  336. package/dist/chunks/radio-input-Dp05SXja.cjs.js.map +1 -0
  337. package/dist/chunks/range-calendar-RBEpLQJb.es.js +187 -0
  338. package/dist/chunks/range-calendar-RBEpLQJb.es.js.map +1 -0
  339. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js +2 -0
  340. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +1 -0
  341. package/dist/chunks/rich-text-input-CrjP71KM.es.js +7801 -0
  342. package/dist/chunks/rich-text-input-CrjP71KM.es.js.map +1 -0
  343. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js +24 -0
  344. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +1 -0
  345. package/dist/chunks/scrollIntoView-DTfS0nWq.es.js +96 -0
  346. package/dist/chunks/scrollIntoView-DTfS0nWq.es.js.map +1 -0
  347. package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js +2 -0
  348. package/dist/chunks/scrollIntoView-x1EbcfEq.cjs.js.map +1 -0
  349. package/dist/chunks/search-input-BefkmgPy.cjs.js +2 -0
  350. package/dist/chunks/search-input-BefkmgPy.cjs.js.map +1 -0
  351. package/dist/chunks/search-input-DCpjVXVS.es.js +361 -0
  352. package/dist/chunks/search-input-DCpjVXVS.es.js.map +1 -0
  353. package/dist/chunks/select-DMsU6bk9.cjs.js +2 -0
  354. package/dist/chunks/select-DMsU6bk9.cjs.js.map +1 -0
  355. package/dist/chunks/select-xlqMXZuO.es.js +775 -0
  356. package/dist/chunks/select-xlqMXZuO.es.js.map +1 -0
  357. package/dist/chunks/separator-CvRn_J0r.cjs.js +2 -0
  358. package/dist/chunks/separator-CvRn_J0r.cjs.js.map +1 -0
  359. package/dist/chunks/separator-DJGUFG-o.es.js +24 -0
  360. package/dist/chunks/separator-DJGUFG-o.es.js.map +1 -0
  361. package/dist/chunks/simple-grid-Cd2MJxSX.cjs.js.map +1 -1
  362. package/dist/chunks/simple-grid-DU5v66TG.es.js.map +1 -1
  363. package/dist/chunks/spacer-BvQD2vU1.cjs.js +2 -0
  364. package/dist/chunks/spacer-BvQD2vU1.cjs.js.map +1 -0
  365. package/dist/chunks/spacer-pHklG6Ri.es.js +8 -0
  366. package/dist/chunks/spacer-pHklG6Ri.es.js.map +1 -0
  367. package/dist/chunks/split-button-BO52sL7h.cjs.js +2 -0
  368. package/dist/chunks/split-button-BO52sL7h.cjs.js.map +1 -0
  369. package/dist/chunks/split-button-C5MmKuVW.es.js +100 -0
  370. package/dist/chunks/split-button-C5MmKuVW.es.js.map +1 -0
  371. package/dist/chunks/stack-CIN13EDn.cjs.js.map +1 -1
  372. package/dist/chunks/stack-CoNreM7B.es.js.map +1 -1
  373. package/dist/chunks/switch-B5bEl91n.es.js +67 -0
  374. package/dist/chunks/switch-B5bEl91n.es.js.map +1 -0
  375. package/dist/chunks/switch-CdLhBEPq.cjs.js +2 -0
  376. package/dist/chunks/switch-CdLhBEPq.cjs.js.map +1 -0
  377. package/dist/chunks/tabs-CJ0OAUSR.cjs.js +2 -0
  378. package/dist/chunks/tabs-CJ0OAUSR.cjs.js.map +1 -0
  379. package/dist/chunks/tabs-DGzmzlun.es.js +428 -0
  380. package/dist/chunks/tabs-DGzmzlun.es.js.map +1 -0
  381. package/dist/chunks/tag-group-Btt0egzG.cjs.js +2 -0
  382. package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -0
  383. package/dist/chunks/tag-group-pJFnuRoJ.es.js +554 -0
  384. package/dist/chunks/tag-group-pJFnuRoJ.es.js.map +1 -0
  385. package/dist/chunks/text-BgiP8ZB6.es.js +24 -0
  386. package/dist/chunks/text-BgiP8ZB6.es.js.map +1 -0
  387. package/dist/chunks/text-CCW9kDT_.cjs.js.map +1 -1
  388. package/dist/chunks/text-input-CSAODlCw.es.js +49 -0
  389. package/dist/chunks/text-input-CSAODlCw.es.js.map +1 -0
  390. package/dist/chunks/text-input-DZdkCbdd.cjs.js +2 -0
  391. package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +1 -0
  392. package/dist/chunks/time-input-BUej1BjY.es.js +21 -0
  393. package/dist/chunks/time-input-BUej1BjY.es.js.map +1 -0
  394. package/dist/chunks/time-input-zXykDANk.cjs.js +2 -0
  395. package/dist/chunks/time-input-zXykDANk.cjs.js.map +1 -0
  396. package/dist/chunks/toggle-button-CPzjUSI_.es.js +30 -0
  397. package/dist/chunks/toggle-button-CPzjUSI_.es.js.map +1 -0
  398. package/dist/chunks/toggle-button-DxMZsem4.cjs.js +2 -0
  399. package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +1 -0
  400. package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js +2 -0
  401. package/dist/chunks/toggle-button-group-CE2Urvj8.cjs.js.map +1 -0
  402. package/dist/chunks/toggle-button-group-DOxjowig.es.js +29 -0
  403. package/dist/chunks/toggle-button-group-DOxjowig.es.js.map +1 -0
  404. package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js +244 -0
  405. package/dist/chunks/toggle-button-group.recipe-CbCnJQP3.es.js.map +1 -0
  406. package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js +2 -0
  407. package/dist/chunks/toggle-button-group.recipe-DgySRvOW.cjs.js.map +1 -0
  408. package/dist/chunks/toolbar-DV0l5MqA.cjs.js +2 -0
  409. package/dist/chunks/toolbar-DV0l5MqA.cjs.js.map +1 -0
  410. package/dist/chunks/toolbar-Dduysqqi.es.js +61 -0
  411. package/dist/chunks/toolbar-Dduysqqi.es.js.map +1 -0
  412. package/dist/chunks/tooltip-BPTOkK7W.cjs.js +2 -0
  413. package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -0
  414. package/dist/chunks/tooltip-sgakxhiy.es.js +268 -0
  415. package/dist/chunks/tooltip-sgakxhiy.es.js.map +1 -0
  416. package/dist/chunks/use-inline-svg-C2ko8Bcq.cjs.js +2 -0
  417. package/dist/chunks/use-inline-svg-C2ko8Bcq.cjs.js.map +1 -0
  418. package/dist/chunks/use-inline-svg-Cua0623E.es.js +47 -0
  419. package/dist/chunks/use-inline-svg-Cua0623E.es.js.map +1 -0
  420. package/dist/chunks/useButton-DkQVxdIF.es.js +57 -0
  421. package/dist/chunks/useButton-DkQVxdIF.es.js.map +1 -0
  422. package/dist/chunks/useButton-KnJ6A32S.cjs.js +2 -0
  423. package/dist/chunks/useButton-KnJ6A32S.cjs.js.map +1 -0
  424. package/dist/chunks/useCollator-BHMZd1r6.es.js.map +1 -1
  425. package/dist/chunks/useCollator-YVJAe1GI.cjs.js.map +1 -1
  426. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  427. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  428. package/dist/chunks/useDateFormatter-BBcUQTYP.cjs.js +2 -0
  429. package/dist/chunks/useDateFormatter-BBcUQTYP.cjs.js.map +1 -0
  430. package/dist/chunks/useDateFormatter-BkKCXbud.es.js +1632 -0
  431. package/dist/chunks/useDateFormatter-BkKCXbud.es.js.map +1 -0
  432. package/dist/chunks/useDisclosureState-DtcHCDt4.es.js +87 -0
  433. package/dist/chunks/useDisclosureState-DtcHCDt4.es.js.map +1 -0
  434. package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js +2 -0
  435. package/dist/chunks/useDisclosureState-ipt8A1Kc.cjs.js.map +1 -0
  436. package/dist/chunks/useEvent-Bh_fbauk.es.js +22 -0
  437. package/dist/chunks/useEvent-Bh_fbauk.es.js.map +1 -0
  438. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -1
  439. package/dist/chunks/useField-B0j4t47V.es.js +36 -0
  440. package/dist/chunks/useField-B0j4t47V.es.js.map +1 -0
  441. package/dist/chunks/useField-C_piDZ9g.cjs.js +2 -0
  442. package/dist/chunks/useField-C_piDZ9g.cjs.js.map +1 -0
  443. package/dist/chunks/useFilter-CG8lxfCP.cjs.js.map +1 -1
  444. package/dist/chunks/useFilter-DOfNzeZ9.es.js.map +1 -1
  445. package/dist/chunks/useFocus-CwNVYldV.es.js +29 -0
  446. package/dist/chunks/useFocus-CwNVYldV.es.js.map +1 -0
  447. package/dist/chunks/useFocus-DVHC9n4e.cjs.js +2 -0
  448. package/dist/chunks/useFocus-DVHC9n4e.cjs.js.map +1 -0
  449. package/dist/chunks/useFocusRing-BuJmrp03.cjs.js +2 -0
  450. package/dist/chunks/useFocusRing-BuJmrp03.cjs.js.map +1 -0
  451. package/dist/chunks/useFocusRing-DRIG5NVg.es.js +35 -0
  452. package/dist/chunks/useFocusRing-DRIG5NVg.es.js.map +1 -0
  453. package/dist/chunks/useFocusVisible-BIPjFmFE.es.js +111 -0
  454. package/dist/chunks/useFocusVisible-BIPjFmFE.es.js.map +1 -0
  455. package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js +2 -0
  456. package/dist/chunks/useFocusVisible-CN9NILN7.cjs.js.map +1 -0
  457. package/dist/chunks/useFocusWithin-CfiDXiVK.es.js +56 -0
  458. package/dist/chunks/useFocusWithin-CfiDXiVK.es.js.map +1 -0
  459. package/dist/chunks/useFocusWithin-CucqUylS.cjs.js +2 -0
  460. package/dist/chunks/useFocusWithin-CucqUylS.cjs.js.map +1 -0
  461. package/dist/chunks/useFocusable-D1mzTlxa.es.js +77 -0
  462. package/dist/chunks/useFocusable-D1mzTlxa.es.js.map +1 -0
  463. package/dist/chunks/useFocusable-Dv8K4Git.cjs.js +2 -0
  464. package/dist/chunks/useFocusable-Dv8K4Git.cjs.js.map +1 -0
  465. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -1
  466. package/dist/chunks/useFormReset-D_wskGk5.es.js +21 -0
  467. package/dist/chunks/useFormReset-D_wskGk5.es.js.map +1 -0
  468. package/dist/chunks/useFormValidation-DR5NgZ9j.es.js +202 -0
  469. package/dist/chunks/useFormValidation-DR5NgZ9j.es.js.map +1 -0
  470. package/dist/chunks/useFormValidation-STNSjSmx.cjs.js +2 -0
  471. package/dist/chunks/useFormValidation-STNSjSmx.cjs.js.map +1 -0
  472. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  473. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
  474. package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js +2 -0
  475. package/dist/chunks/useGridListItem-6gZ8SfZH.cjs.js.map +1 -0
  476. package/dist/chunks/useGridListItem-Cosrmt8g.es.js +251 -0
  477. package/dist/chunks/useGridListItem-Cosrmt8g.es.js.map +1 -0
  478. package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js +2 -0
  479. package/dist/chunks/useGridSelectionCheckbox-UA-rsjJv.cjs.js.map +1 -0
  480. package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js +23 -0
  481. package/dist/chunks/useGridSelectionCheckbox-yspK-vJA.es.js.map +1 -0
  482. package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js +2 -0
  483. package/dist/chunks/useHasTabbableChild-Bif_c3Cz.cjs.js.map +1 -0
  484. package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js +35 -0
  485. package/dist/chunks/useHasTabbableChild-Dq0HGz7B.es.js.map +1 -0
  486. package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js +2 -0
  487. package/dist/chunks/useHighlightSelectionDescription-BVp60RjN.cjs.js.map +1 -0
  488. package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js +568 -0
  489. package/dist/chunks/useHighlightSelectionDescription-qks4kKs2.es.js.map +1 -0
  490. package/dist/chunks/useHover-271zEzph.cjs.js +2 -0
  491. package/dist/chunks/useHover-271zEzph.cjs.js.map +1 -0
  492. package/dist/chunks/useHover-9Xdm5U9d.es.js +86 -0
  493. package/dist/chunks/useHover-9Xdm5U9d.es.js.map +1 -0
  494. package/dist/chunks/useLabel-Cv-EvK4W.es.js +24 -0
  495. package/dist/chunks/useLabel-Cv-EvK4W.es.js.map +1 -0
  496. package/dist/chunks/useLabel-neE14Yau.cjs.js +2 -0
  497. package/dist/chunks/useLabel-neE14Yau.cjs.js.map +1 -0
  498. package/dist/chunks/useLabels-82wzG8z1.es.js +18 -0
  499. package/dist/chunks/useLabels-82wzG8z1.es.js.map +1 -0
  500. package/dist/chunks/useLabels-BsHtLxGl.cjs.js +2 -0
  501. package/dist/chunks/useLabels-BsHtLxGl.cjs.js.map +1 -0
  502. package/dist/chunks/useListState-CUO8Wibt.es.js +134 -0
  503. package/dist/chunks/useListState-CUO8Wibt.es.js.map +1 -0
  504. package/dist/chunks/useListState-CyKtsfSM.cjs.js +2 -0
  505. package/dist/chunks/useListState-CyKtsfSM.cjs.js.map +1 -0
  506. package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js.map +1 -1
  507. package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js.map +1 -1
  508. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  509. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
  510. package/dist/chunks/usePress-Bxb2-xLP.es.js +456 -0
  511. package/dist/chunks/usePress-Bxb2-xLP.es.js.map +1 -0
  512. package/dist/chunks/usePress-D5REDWI3.cjs.js +8 -0
  513. package/dist/chunks/usePress-D5REDWI3.cjs.js.map +1 -0
  514. package/dist/chunks/useProgressBar-BsSMDAsi.es.js +48 -0
  515. package/dist/chunks/useProgressBar-BsSMDAsi.es.js.map +1 -0
  516. package/dist/chunks/useProgressBar-COda2Qef.cjs.js +2 -0
  517. package/dist/chunks/useProgressBar-COda2Qef.cjs.js.map +1 -0
  518. package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js +2 -0
  519. package/dist/chunks/useSingleSelectListState-CgOgZMJh.cjs.js.map +1 -0
  520. package/dist/chunks/useSingleSelectListState-CnVWWOJD.es.js +35 -0
  521. package/dist/chunks/useSingleSelectListState-CnVWWOJD.es.js.map +1 -0
  522. package/dist/chunks/useSpinButton-2dD53rZp.es.js +433 -0
  523. package/dist/chunks/useSpinButton-2dD53rZp.es.js.map +1 -0
  524. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -1
  525. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -1
  526. package/dist/chunks/useSyncRef-nVBzPD3o.es.js +13 -0
  527. package/dist/chunks/useSyncRef-nVBzPD3o.es.js.map +1 -0
  528. package/dist/chunks/useTextField-0jWzqKW2.cjs.js +2 -0
  529. package/dist/chunks/useTextField-0jWzqKW2.cjs.js.map +1 -0
  530. package/dist/chunks/useTextField-CT9tuc9X.es.js +91 -0
  531. package/dist/chunks/useTextField-CT9tuc9X.es.js.map +1 -0
  532. package/dist/chunks/useToggle-BXaU8bD5.cjs.js +2 -0
  533. package/dist/chunks/useToggle-BXaU8bD5.cjs.js.map +1 -0
  534. package/dist/chunks/useToggle-CUMQAGyE.es.js +62 -0
  535. package/dist/chunks/useToggle-CUMQAGyE.es.js.map +1 -0
  536. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
  537. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
  538. package/dist/chunks/useToolbar-CnYu1bn9.es.js +55 -0
  539. package/dist/chunks/useToolbar-CnYu1bn9.es.js.map +1 -0
  540. package/dist/chunks/useToolbar-iBRLn7DA.cjs.js +2 -0
  541. package/dist/chunks/useToolbar-iBRLn7DA.cjs.js.map +1 -0
  542. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
  543. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  544. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
  545. package/dist/chunks/utils-Cjs5h3ad.es.js +190 -0
  546. package/dist/chunks/utils-Cjs5h3ad.es.js.map +1 -0
  547. package/dist/chunks/utils-Cyja2WdR.es.js +128 -0
  548. package/dist/chunks/utils-Cyja2WdR.es.js.map +1 -0
  549. package/dist/chunks/utils-DUS_ZjvE.cjs.js +2 -0
  550. package/dist/chunks/utils-DUS_ZjvE.cjs.js.map +1 -0
  551. package/dist/chunks/visually-hidden-CVUszTlg.es.js +11 -0
  552. package/dist/chunks/visually-hidden-CVUszTlg.es.js.map +1 -0
  553. package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js +2 -0
  554. package/dist/chunks/visually-hidden-tTYCAVoQ.cjs.js.map +1 -0
  555. package/dist/collapsible-motion.d.ts +125 -0
  556. package/dist/combobox.d.ts +91 -145
  557. package/dist/components/accordion.cjs +1 -1
  558. package/dist/components/accordion.es.js +1 -1
  559. package/dist/components/alert.cjs +1 -1
  560. package/dist/components/alert.es.js +1 -1
  561. package/dist/components/avatar.cjs +1 -1
  562. package/dist/components/avatar.es.js +1 -1
  563. package/dist/components/badge.cjs +1 -1
  564. package/dist/components/badge.es.js +1 -1
  565. package/dist/components/button.cjs +1 -1
  566. package/dist/components/button.es.js +1 -1
  567. package/dist/components/calendar.cjs +1 -1
  568. package/dist/components/calendar.es.js +1 -1
  569. package/dist/components/card.cjs +1 -1
  570. package/dist/components/card.es.js +1 -1
  571. package/dist/components/checkbox.cjs +1 -1
  572. package/dist/components/checkbox.es.js +1 -1
  573. package/dist/components/collapsible-motion.cjs +2 -0
  574. package/dist/components/collapsible-motion.cjs.map +1 -0
  575. package/dist/components/collapsible-motion.es.js +5 -0
  576. package/dist/components/collapsible-motion.es.js.map +1 -0
  577. package/dist/components/combobox.cjs +1 -1
  578. package/dist/components/combobox.es.js +1 -1
  579. package/dist/components/components.cjs +1 -1
  580. package/dist/components/components.es.js +9 -164
  581. package/dist/components/components.es.js.map +1 -1
  582. package/dist/components/constants.cjs +1 -1
  583. package/dist/components/constants.cjs.map +1 -1
  584. package/dist/components/constants.es.js +13 -122
  585. package/dist/components/constants.es.js.map +1 -1
  586. package/dist/components/data-table.cjs +1 -1
  587. package/dist/components/data-table.es.js +1 -1
  588. package/dist/components/date-input.cjs +1 -1
  589. package/dist/components/date-input.es.js +1 -1
  590. package/dist/components/date-picker.cjs +1 -1
  591. package/dist/components/date-picker.es.js +1 -1
  592. package/dist/components/date-range-picker.cjs +1 -1
  593. package/dist/components/date-range-picker.es.js +1 -1
  594. package/dist/components/dialog.cjs +1 -1
  595. package/dist/components/dialog.es.js +1 -1
  596. package/dist/components/draggable-list.cjs +2 -0
  597. package/dist/components/draggable-list.cjs.map +1 -0
  598. package/dist/components/draggable-list.es.js +8 -0
  599. package/dist/components/draggable-list.es.js.map +1 -0
  600. package/dist/components/drawer.cjs +2 -0
  601. package/dist/components/drawer.cjs.map +1 -0
  602. package/dist/components/drawer.es.js +5 -0
  603. package/dist/components/drawer.es.js.map +1 -0
  604. package/dist/components/field-errors.cjs +2 -0
  605. package/dist/components/field-errors.cjs.map +1 -0
  606. package/dist/components/field-errors.es.js +6 -0
  607. package/dist/components/field-errors.es.js.map +1 -0
  608. package/dist/components/form-field.cjs +1 -1
  609. package/dist/components/form-field.es.js +1 -1
  610. package/dist/components/group.cjs +1 -1
  611. package/dist/components/group.es.js +1 -1
  612. package/dist/components/heading.cjs +1 -1
  613. package/dist/components/heading.es.js +2 -2
  614. package/dist/components/hooks.cjs +1 -1
  615. package/dist/components/hooks.es.js +2 -5
  616. package/dist/components/icon-button.cjs +1 -1
  617. package/dist/components/icon-button.es.js +1 -1
  618. package/dist/components/icon-toggle-button.cjs +1 -1
  619. package/dist/components/icon-toggle-button.es.js +1 -1
  620. package/dist/components/icon.cjs +1 -1
  621. package/dist/components/icon.es.js +1 -1
  622. package/dist/components/inline-svg.cjs +2 -0
  623. package/dist/components/inline-svg.cjs.map +1 -0
  624. package/dist/components/inline-svg.es.js +5 -0
  625. package/dist/components/inline-svg.es.js.map +1 -0
  626. package/dist/components/kbd.cjs +1 -1
  627. package/dist/components/kbd.es.js +1 -1
  628. package/dist/components/link.cjs +1 -1
  629. package/dist/components/link.es.js +1 -1
  630. package/dist/components/loading-spinner.cjs +1 -1
  631. package/dist/components/loading-spinner.es.js +1 -1
  632. package/dist/components/localized-field.cjs +2 -0
  633. package/dist/components/localized-field.cjs.map +1 -0
  634. package/dist/components/localized-field.es.js +5 -0
  635. package/dist/components/localized-field.es.js.map +1 -0
  636. package/dist/components/money-input.cjs +2 -0
  637. package/dist/components/money-input.cjs.map +1 -0
  638. package/dist/components/money-input.es.js +5 -0
  639. package/dist/components/money-input.es.js.map +1 -0
  640. package/dist/components/multiline-text-input.cjs +1 -1
  641. package/dist/components/multiline-text-input.es.js +1 -1
  642. package/dist/components/nimbus-provider.cjs +1 -1
  643. package/dist/components/nimbus-provider.es.js +1 -1
  644. package/dist/components/number-input.cjs +1 -1
  645. package/dist/components/number-input.es.js +1 -1
  646. package/dist/components/pagination.cjs +2 -0
  647. package/dist/components/pagination.cjs.map +1 -0
  648. package/dist/components/pagination.es.js +5 -0
  649. package/dist/components/pagination.es.js.map +1 -0
  650. package/dist/components/password-input.cjs +1 -1
  651. package/dist/components/password-input.es.js +1 -1
  652. package/dist/components/popover.cjs +1 -1
  653. package/dist/components/popover.cjs.map +1 -1
  654. package/dist/components/popover.es.js +2 -22
  655. package/dist/components/popover.es.js.map +1 -1
  656. package/dist/components/progress-bar.cjs +1 -1
  657. package/dist/components/progress-bar.es.js +1 -1
  658. package/dist/components/radio-input.cjs +1 -1
  659. package/dist/components/radio-input.es.js +1 -1
  660. package/dist/components/range-calendar.cjs +1 -1
  661. package/dist/components/range-calendar.es.js +1 -1
  662. package/dist/components/rich-text-input.cjs +1 -1
  663. package/dist/components/rich-text-input.es.js +1 -1
  664. package/dist/components/scoped-search-input.cjs +2 -0
  665. package/dist/components/scoped-search-input.cjs.map +1 -0
  666. package/dist/components/scoped-search-input.es.js +153 -0
  667. package/dist/components/scoped-search-input.es.js.map +1 -0
  668. package/dist/components/search-input.cjs +2 -0
  669. package/dist/components/search-input.cjs.map +1 -0
  670. package/dist/components/search-input.es.js +5 -0
  671. package/dist/components/search-input.es.js.map +1 -0
  672. package/dist/components/select.cjs +1 -1
  673. package/dist/components/select.es.js +1 -1
  674. package/dist/components/separator.cjs +2 -0
  675. package/dist/components/separator.cjs.map +1 -0
  676. package/dist/components/separator.es.js +5 -0
  677. package/dist/components/separator.es.js.map +1 -0
  678. package/dist/components/spacer.cjs +2 -0
  679. package/dist/components/spacer.cjs.map +1 -0
  680. package/dist/components/spacer.es.js +5 -0
  681. package/dist/components/spacer.es.js.map +1 -0
  682. package/dist/components/split-button.cjs +1 -1
  683. package/dist/components/split-button.es.js +1 -1
  684. package/dist/components/switch.cjs +1 -1
  685. package/dist/components/switch.es.js +1 -1
  686. package/dist/components/tabs.cjs +2 -0
  687. package/dist/components/tabs.cjs.map +1 -0
  688. package/dist/components/tabs.es.js +10 -0
  689. package/dist/components/tabs.es.js.map +1 -0
  690. package/dist/components/tag-group.cjs +1 -1
  691. package/dist/components/tag-group.es.js +1 -1
  692. package/dist/components/text-input.cjs +1 -1
  693. package/dist/components/text-input.es.js +1 -1
  694. package/dist/components/text.es.js +1 -1
  695. package/dist/components/time-input.cjs +1 -1
  696. package/dist/components/time-input.es.js +1 -1
  697. package/dist/components/toggle-button-group.cjs +1 -1
  698. package/dist/components/toggle-button-group.es.js +1 -1
  699. package/dist/components/toggle-button.cjs +1 -1
  700. package/dist/components/toggle-button.es.js +1 -1
  701. package/dist/components/toolbar.cjs +1 -1
  702. package/dist/components/toolbar.es.js +1 -1
  703. package/dist/components/tooltip.cjs +1 -1
  704. package/dist/components/tooltip.es.js +2 -2
  705. package/dist/components/utils.cjs +2 -1
  706. package/dist/components/utils.cjs.map +1 -1
  707. package/dist/components/utils.es.js +568 -65
  708. package/dist/components/utils.es.js.map +1 -1
  709. package/dist/components/visually-hidden.cjs +1 -1
  710. package/dist/components/visually-hidden.es.js +1 -1
  711. package/dist/components.d.ts +200 -3937
  712. package/dist/constants.d.ts +4 -113
  713. package/dist/data-table.d.ts +70 -95
  714. package/dist/date-input.d.ts +19 -80
  715. package/dist/date-picker.d.ts +31 -133
  716. package/dist/date-range-picker.d.ts +20 -67
  717. package/dist/dialog.d.ts +478 -27
  718. package/dist/draggable-list.d.ts +331 -0
  719. package/dist/drawer.d.ts +590 -0
  720. package/dist/field-errors.d.ts +144 -0
  721. package/dist/form-field.d.ts +65 -89
  722. package/dist/grid.d.ts +2 -2
  723. package/dist/group.d.ts +9 -15
  724. package/dist/heading.d.ts +43 -2
  725. package/dist/hooks.d.ts +7 -46
  726. package/dist/icon-button.d.ts +40 -28
  727. package/dist/icon-toggle-button.d.ts +31 -122
  728. package/dist/icon.d.ts +9 -67
  729. package/dist/image.d.ts +1 -2
  730. package/dist/index.cjs +1 -1
  731. package/dist/index.cjs.map +1 -1
  732. package/dist/index.d.ts +196 -3970
  733. package/dist/index.es.js +461 -404
  734. package/dist/index.es.js.map +1 -1
  735. package/dist/inline-svg.d.ts +81 -0
  736. package/dist/kbd.d.ts +2 -2
  737. package/dist/link.d.ts +22 -61
  738. package/dist/loading-spinner.d.ts +20 -66
  739. package/dist/localized-field.d.ts +935 -0
  740. package/dist/money-input.d.ts +879 -0
  741. package/dist/multiline-text-input.d.ts +40 -46
  742. package/dist/nimbus-provider.d.ts +28 -18
  743. package/dist/number-input.d.ts +33 -115
  744. package/dist/pagination.d.ts +70 -0
  745. package/dist/password-input.d.ts +39 -52
  746. package/dist/popover.d.ts +10 -3
  747. package/dist/progress-bar.d.ts +42 -125
  748. package/dist/radio-input.d.ts +17 -36
  749. package/dist/range-calendar.d.ts +22 -17
  750. package/dist/rich-text-input.d.ts +9 -6
  751. package/dist/scoped-search-input.d.ts +94 -0
  752. package/dist/search-input.d.ts +56 -0
  753. package/dist/select.d.ts +167 -80
  754. package/dist/separator.d.ts +49 -0
  755. package/dist/setup-jsdom-polyfills.cjs +1 -1
  756. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  757. package/dist/setup-jsdom-polyfills.es.js +37 -2
  758. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  759. package/dist/simple-grid.d.ts +2 -2
  760. package/dist/spacer.d.ts +41 -0
  761. package/dist/split-button.d.ts +51 -28
  762. package/dist/stack.d.ts +2 -2
  763. package/dist/switch.d.ts +9 -51
  764. package/dist/tabs.d.ts +213 -0
  765. package/dist/tag-group.d.ts +18 -51
  766. package/dist/text-input.d.ts +38 -41
  767. package/dist/text.d.ts +2 -2
  768. package/dist/time-input.d.ts +20 -80
  769. package/dist/toggle-button-group.d.ts +21 -68
  770. package/dist/toggle-button.d.ts +23 -119
  771. package/dist/toolbar.d.ts +11 -67
  772. package/dist/tooltip.d.ts +41 -51
  773. package/dist/utils.d.ts +28 -148
  774. package/dist/visually-hidden.d.ts +2 -2
  775. package/package.json +40 -31
  776. package/dist/chunks/Button-BtJHe9xY.cjs.js +0 -2
  777. package/dist/chunks/Button-BtJHe9xY.cjs.js.map +0 -1
  778. package/dist/chunks/Button-CNBS3n5a.es.js +0 -73
  779. package/dist/chunks/Button-CNBS3n5a.es.js.map +0 -1
  780. package/dist/chunks/DateField-Dm2Qlhbk.es.js +0 -2685
  781. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +0 -1
  782. package/dist/chunks/DateField-rweHHCKR.cjs.js +0 -2
  783. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +0 -1
  784. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +0 -2
  785. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +0 -1
  786. package/dist/chunks/DatePicker-BthC1bZ_.es.js +0 -782
  787. package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +0 -1
  788. package/dist/chunks/Dialog-BeQ6Z6l2.es.js +0 -1924
  789. package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +0 -1
  790. package/dist/chunks/Dialog-CYa26HlL.cjs.js +0 -2
  791. package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +0 -1
  792. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +0 -81
  793. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +0 -1
  794. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +0 -2
  795. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +0 -1
  796. package/dist/chunks/FocusScope-CNO0fzPs.es.js +0 -625
  797. package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +0 -1
  798. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js +0 -2
  799. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +0 -1
  800. package/dist/chunks/Group-Cfixd-fh.es.js +0 -46
  801. package/dist/chunks/Group-Cfixd-fh.es.js.map +0 -1
  802. package/dist/chunks/Group-MdeByg6t.cjs.js +0 -2
  803. package/dist/chunks/Group-MdeByg6t.cjs.js.map +0 -1
  804. package/dist/chunks/Heading-BaW6t55l.cjs.js +0 -2
  805. package/dist/chunks/Heading-BaW6t55l.cjs.js.map +0 -1
  806. package/dist/chunks/Heading-DEfy_f01.es.js +0 -1618
  807. package/dist/chunks/Heading-DEfy_f01.es.js.map +0 -1
  808. package/dist/chunks/Input-BiHwUBo4.es.js +0 -43
  809. package/dist/chunks/Input-BiHwUBo4.es.js.map +0 -1
  810. package/dist/chunks/Input-HBDt7LmM.cjs.js +0 -2
  811. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +0 -1
  812. package/dist/chunks/Label-B2YyCdLl.es.js +0 -17
  813. package/dist/chunks/Label-B2YyCdLl.es.js.map +0 -1
  814. package/dist/chunks/ListBox-CikEmFBx.cjs.js +0 -2
  815. package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +0 -1
  816. package/dist/chunks/ListBox-DF3NHeEX.es.js +0 -605
  817. package/dist/chunks/ListBox-DF3NHeEX.es.js.map +0 -1
  818. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +0 -491
  819. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +0 -1
  820. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js +0 -2
  821. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +0 -1
  822. package/dist/chunks/ProgressBar-DjaUQI7N.es.js +0 -42
  823. package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +0 -1
  824. package/dist/chunks/RSPContexts-B4yvXuBR.es.js +0 -7
  825. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +0 -1
  826. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +0 -2
  827. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +0 -1
  828. package/dist/chunks/SelectionManager-CLyu96pU.es.js +0 -1946
  829. package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +0 -1
  830. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +0 -18
  831. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +0 -1
  832. package/dist/chunks/Separator-3-E2tRbk.es.js +0 -92
  833. package/dist/chunks/Separator-3-E2tRbk.es.js.map +0 -1
  834. package/dist/chunks/Separator-CAOg-vqY.cjs.js +0 -2
  835. package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +0 -1
  836. package/dist/chunks/TextArea-BmpgvS0R.es.js +0 -42
  837. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +0 -1
  838. package/dist/chunks/TextArea-D3FFXnUy.cjs.js +0 -2
  839. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +0 -1
  840. package/dist/chunks/ToggleButton-C3JL0pgD.es.js +0 -145
  841. package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +0 -1
  842. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js +0 -2
  843. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +0 -1
  844. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js +0 -2
  845. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +0 -1
  846. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js +0 -41
  847. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +0 -1
  848. package/dist/chunks/accordion-EDJoghXQ.cjs.js +0 -2
  849. package/dist/chunks/accordion-EDJoghXQ.cjs.js.map +0 -1
  850. package/dist/chunks/accordion-UL4pfC2d.es.js +0 -223
  851. package/dist/chunks/accordion-UL4pfC2d.es.js.map +0 -1
  852. package/dist/chunks/alert-BhoRNIWA.cjs.js +0 -2
  853. package/dist/chunks/alert-BhoRNIWA.cjs.js.map +0 -1
  854. package/dist/chunks/alert-D-ddqYG4.es.js +0 -186
  855. package/dist/chunks/alert-D-ddqYG4.es.js.map +0 -1
  856. package/dist/chunks/avatar-Bu12OMzz.es.js +0 -38
  857. package/dist/chunks/avatar-Bu12OMzz.es.js.map +0 -1
  858. package/dist/chunks/avatar-C2KIWewd.cjs.js +0 -2
  859. package/dist/chunks/avatar-C2KIWewd.cjs.js.map +0 -1
  860. package/dist/chunks/badge-BJd-Q81M.es.js +0 -77
  861. package/dist/chunks/badge-BJd-Q81M.es.js.map +0 -1
  862. package/dist/chunks/badge-CCrBksXu.cjs.js +0 -2
  863. package/dist/chunks/badge-CCrBksXu.cjs.js.map +0 -1
  864. package/dist/chunks/button-CRUdodZm.es.js +0 -59
  865. package/dist/chunks/button-CRUdodZm.es.js.map +0 -1
  866. package/dist/chunks/button-CU8FW_Pl.cjs.js +0 -2
  867. package/dist/chunks/button-CU8FW_Pl.cjs.js.map +0 -1
  868. package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js +0 -2
  869. package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js.map +0 -1
  870. package/dist/chunks/button.recipe-NdTb5f8M.es.js +0 -191
  871. package/dist/chunks/button.recipe-NdTb5f8M.es.js.map +0 -1
  872. package/dist/chunks/calendar-DJKWldpV.cjs.js +0 -2
  873. package/dist/chunks/calendar-DJKWldpV.cjs.js.map +0 -1
  874. package/dist/chunks/calendar-DzwFtg1t.es.js +0 -186
  875. package/dist/chunks/calendar-DzwFtg1t.es.js.map +0 -1
  876. package/dist/chunks/card-BfUdf1Fy.es.js +0 -138
  877. package/dist/chunks/card-BfUdf1Fy.es.js.map +0 -1
  878. package/dist/chunks/card-DeWTV05B.cjs.js +0 -2
  879. package/dist/chunks/card-DeWTV05B.cjs.js.map +0 -1
  880. package/dist/chunks/checkbox-6nLo9Jy2.cjs.js +0 -2
  881. package/dist/chunks/checkbox-6nLo9Jy2.cjs.js.map +0 -1
  882. package/dist/chunks/checkbox-GmYxVrZx.es.js +0 -219
  883. package/dist/chunks/checkbox-GmYxVrZx.es.js.map +0 -1
  884. package/dist/chunks/combobox-DtPDxCo3.cjs.js +0 -2
  885. package/dist/chunks/combobox-DtPDxCo3.cjs.js.map +0 -1
  886. package/dist/chunks/combobox-gIwba2QG.es.js +0 -2392
  887. package/dist/chunks/combobox-gIwba2QG.es.js.map +0 -1
  888. package/dist/chunks/data-table-Cpk3q34E.cjs.js +0 -2
  889. package/dist/chunks/data-table-Cpk3q34E.cjs.js.map +0 -1
  890. package/dist/chunks/data-table-mXLxUWQz.es.js +0 -3563
  891. package/dist/chunks/data-table-mXLxUWQz.es.js.map +0 -1
  892. package/dist/chunks/date-input-D5unoyMt.es.js +0 -16
  893. package/dist/chunks/date-input-D5unoyMt.es.js.map +0 -1
  894. package/dist/chunks/date-input-DJ_aFB9i.cjs.js +0 -2
  895. package/dist/chunks/date-input-DJ_aFB9i.cjs.js.map +0 -1
  896. package/dist/chunks/date-picker-CMqAI1lp.es.js +0 -190
  897. package/dist/chunks/date-picker-CMqAI1lp.es.js.map +0 -1
  898. package/dist/chunks/date-picker-f3TylaP5.cjs.js +0 -2
  899. package/dist/chunks/date-picker-f3TylaP5.cjs.js.map +0 -1
  900. package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js +0 -2
  901. package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js.map +0 -1
  902. package/dist/chunks/date-range-picker-Dtji64Q9.es.js +0 -283
  903. package/dist/chunks/date-range-picker-Dtji64Q9.es.js.map +0 -1
  904. package/dist/chunks/dialog-CVa-E9-A.cjs.js +0 -2
  905. package/dist/chunks/dialog-CVa-E9-A.cjs.js.map +0 -1
  906. package/dist/chunks/dialog-DTSuKnyk.es.js +0 -34
  907. package/dist/chunks/dialog-DTSuKnyk.es.js.map +0 -1
  908. package/dist/chunks/divider--BAm3ca4.es.js +0 -53
  909. package/dist/chunks/divider--BAm3ca4.es.js.map +0 -1
  910. package/dist/chunks/divider-BuizjeAj.cjs.js +0 -2
  911. package/dist/chunks/divider-BuizjeAj.cjs.js.map +0 -1
  912. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js +0 -2
  913. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map +0 -1
  914. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js +0 -16
  915. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js.map +0 -1
  916. package/dist/chunks/extractStyleProps-CZpHKp1I.cjs.js +0 -2
  917. package/dist/chunks/extractStyleProps-CZpHKp1I.cjs.js.map +0 -1
  918. package/dist/chunks/extractStyleProps-vA4cNUoc.es.js +0 -11
  919. package/dist/chunks/extractStyleProps-vA4cNUoc.es.js.map +0 -1
  920. package/dist/chunks/focusSafely-DJpphVHF.es.js +0 -27
  921. package/dist/chunks/focusSafely-DJpphVHF.es.js.map +0 -1
  922. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js +0 -2
  923. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +0 -1
  924. package/dist/chunks/form-field-Dtcfgzyo.es.js +0 -309
  925. package/dist/chunks/form-field-Dtcfgzyo.es.js.map +0 -1
  926. package/dist/chunks/form-field-DxcGAb23.cjs.js +0 -11
  927. package/dist/chunks/form-field-DxcGAb23.cjs.js.map +0 -1
  928. package/dist/chunks/group-Buy-O6Mr.cjs.js +0 -2
  929. package/dist/chunks/group-Buy-O6Mr.cjs.js.map +0 -1
  930. package/dist/chunks/group-CqfSQXe7.es.js +0 -14
  931. package/dist/chunks/group-CqfSQXe7.es.js.map +0 -1
  932. package/dist/chunks/group.recipe-BQafmscW.es.js +0 -13
  933. package/dist/chunks/group.recipe-BQafmscW.es.js.map +0 -1
  934. package/dist/chunks/group.recipe-BffrkcjL.cjs.js +0 -2
  935. package/dist/chunks/group.recipe-BffrkcjL.cjs.js.map +0 -1
  936. package/dist/chunks/icon-BoRbJStV.es.js +0 -31
  937. package/dist/chunks/icon-BoRbJStV.es.js.map +0 -1
  938. package/dist/chunks/icon-Cny8ZtnX.cjs.js +0 -2
  939. package/dist/chunks/icon-Cny8ZtnX.cjs.js.map +0 -1
  940. package/dist/chunks/icon-button-C20Gw8gQ.es.js +0 -14
  941. package/dist/chunks/icon-button-C20Gw8gQ.es.js.map +0 -1
  942. package/dist/chunks/icon-button-Cc0MkBbk.cjs.js +0 -2
  943. package/dist/chunks/icon-button-Cc0MkBbk.cjs.js.map +0 -1
  944. package/dist/chunks/icon-toggle-button-CgHQMDs3.es.js +0 -13
  945. package/dist/chunks/icon-toggle-button-CgHQMDs3.es.js.map +0 -1
  946. package/dist/chunks/icon-toggle-button-D-C99Q0s.cjs.js +0 -2
  947. package/dist/chunks/icon-toggle-button-D-C99Q0s.cjs.js.map +0 -1
  948. package/dist/chunks/index-C8Yrk__l.cjs.js +0 -4
  949. package/dist/chunks/index-C8Yrk__l.cjs.js.map +0 -1
  950. package/dist/chunks/index-jAeaCpRm.es.js +0 -3787
  951. package/dist/chunks/index-jAeaCpRm.es.js.map +0 -1
  952. package/dist/chunks/kbd-BXN9aXRE.es.js +0 -17
  953. package/dist/chunks/kbd-BXN9aXRE.es.js.map +0 -1
  954. package/dist/chunks/kbd-DFeaXiKY.cjs.js +0 -2
  955. package/dist/chunks/kbd-DFeaXiKY.cjs.js.map +0 -1
  956. package/dist/chunks/kbd.recipe-DXiyvrAP.es.js +0 -26
  957. package/dist/chunks/kbd.recipe-DXiyvrAP.es.js.map +0 -1
  958. package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js +0 -2
  959. package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js.map +0 -1
  960. package/dist/chunks/link-CFK97sc0.es.js +0 -50
  961. package/dist/chunks/link-CFK97sc0.es.js.map +0 -1
  962. package/dist/chunks/link-DWa1zIUJ.cjs.js +0 -2
  963. package/dist/chunks/link-DWa1zIUJ.cjs.js.map +0 -1
  964. package/dist/chunks/link.recipe-Co4-fl4U.cjs.js +0 -2
  965. package/dist/chunks/link.recipe-Co4-fl4U.cjs.js.map +0 -1
  966. package/dist/chunks/link.recipe-pXiGIJtI.es.js +0 -51
  967. package/dist/chunks/link.recipe-pXiGIJtI.es.js.map +0 -1
  968. package/dist/chunks/loading-spinner-CvggCl-H.es.js +0 -105
  969. package/dist/chunks/loading-spinner-CvggCl-H.es.js.map +0 -1
  970. package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js +0 -2
  971. package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js.map +0 -1
  972. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js +0 -22
  973. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js.map +0 -1
  974. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js +0 -2
  975. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js.map +0 -1
  976. package/dist/chunks/menu-8g9Hn1nm.es.js +0 -157
  977. package/dist/chunks/menu-8g9Hn1nm.es.js.map +0 -1
  978. package/dist/chunks/menu-Bm1u-R6o.cjs.js +0 -2
  979. package/dist/chunks/menu-Bm1u-R6o.cjs.js.map +0 -1
  980. package/dist/chunks/mergeProps-B_9syxhT.es.js +0 -130
  981. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +0 -1
  982. package/dist/chunks/multiline-text-input-BGnvpB1r.es.js +0 -118
  983. package/dist/chunks/multiline-text-input-BGnvpB1r.es.js.map +0 -1
  984. package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js +0 -12
  985. package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js.map +0 -1
  986. package/dist/chunks/nimbus-provider-CybdU89B.es.js +0 -101
  987. package/dist/chunks/nimbus-provider-CybdU89B.es.js.map +0 -1
  988. package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js +0 -2
  989. package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js.map +0 -1
  990. package/dist/chunks/number-input-CPnA0dO-.cjs.js +0 -2
  991. package/dist/chunks/number-input-CPnA0dO-.cjs.js.map +0 -1
  992. package/dist/chunks/number-input-CzObpfFa.es.js +0 -657
  993. package/dist/chunks/number-input-CzObpfFa.es.js.map +0 -1
  994. package/dist/chunks/openLink-Ctl0AdAy.es.js +0 -105
  995. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +0 -1
  996. package/dist/chunks/password-input-BqhrDjyW.cjs.js +0 -2
  997. package/dist/chunks/password-input-BqhrDjyW.cjs.js.map +0 -1
  998. package/dist/chunks/password-input-C_rdTND7.es.js +0 -50
  999. package/dist/chunks/password-input-C_rdTND7.es.js.map +0 -1
  1000. package/dist/chunks/progress-bar-CrS1rODC.cjs.js +0 -2
  1001. package/dist/chunks/progress-bar-CrS1rODC.cjs.js.map +0 -1
  1002. package/dist/chunks/progress-bar-pPWJ1Sn8.es.js +0 -77
  1003. package/dist/chunks/progress-bar-pPWJ1Sn8.es.js.map +0 -1
  1004. package/dist/chunks/radio-input-BTEXrXaF.cjs.js +0 -2
  1005. package/dist/chunks/radio-input-BTEXrXaF.cjs.js.map +0 -1
  1006. package/dist/chunks/radio-input-OpbQD2zP.es.js +0 -341
  1007. package/dist/chunks/radio-input-OpbQD2zP.es.js.map +0 -1
  1008. package/dist/chunks/range-calendar-BOP_J_5a.es.js +0 -186
  1009. package/dist/chunks/range-calendar-BOP_J_5a.es.js.map +0 -1
  1010. package/dist/chunks/range-calendar-CFotnBzs.cjs.js +0 -2
  1011. package/dist/chunks/range-calendar-CFotnBzs.cjs.js.map +0 -1
  1012. package/dist/chunks/rich-text-input-CItP9BzJ.cjs.js +0 -2
  1013. package/dist/chunks/rich-text-input-CItP9BzJ.cjs.js.map +0 -1
  1014. package/dist/chunks/rich-text-input-CgrxAPHc.es.js +0 -691
  1015. package/dist/chunks/rich-text-input-CgrxAPHc.es.js.map +0 -1
  1016. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +0 -94
  1017. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +0 -1
  1018. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +0 -2
  1019. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +0 -1
  1020. package/dist/chunks/select-CAeD_ZuZ.es.js +0 -558
  1021. package/dist/chunks/select-CAeD_ZuZ.es.js.map +0 -1
  1022. package/dist/chunks/select-Coyt1pJN.cjs.js +0 -2
  1023. package/dist/chunks/select-Coyt1pJN.cjs.js.map +0 -1
  1024. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js +0 -24
  1025. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js.map +0 -1
  1026. package/dist/chunks/slate-helpers-DunxggA8.es.js +0 -6919
  1027. package/dist/chunks/slate-helpers-DunxggA8.es.js.map +0 -1
  1028. package/dist/chunks/split-button-BYrr5vRr.cjs.js +0 -2
  1029. package/dist/chunks/split-button-BYrr5vRr.cjs.js.map +0 -1
  1030. package/dist/chunks/split-button-j2bgcP59.es.js +0 -103
  1031. package/dist/chunks/split-button-j2bgcP59.es.js.map +0 -1
  1032. package/dist/chunks/switch-BgNpbn2e.cjs.js +0 -2
  1033. package/dist/chunks/switch-BgNpbn2e.cjs.js.map +0 -1
  1034. package/dist/chunks/switch-Cid4U3m8.es.js +0 -79
  1035. package/dist/chunks/switch-Cid4U3m8.es.js.map +0 -1
  1036. package/dist/chunks/tag-group-B3YSTBpb.cjs.js +0 -2
  1037. package/dist/chunks/tag-group-B3YSTBpb.cjs.js.map +0 -1
  1038. package/dist/chunks/tag-group-CeNHz5QQ.es.js +0 -781
  1039. package/dist/chunks/tag-group-CeNHz5QQ.es.js.map +0 -1
  1040. package/dist/chunks/text-DfQpupDi.es.js +0 -24
  1041. package/dist/chunks/text-DfQpupDi.es.js.map +0 -1
  1042. package/dist/chunks/text-input-C2y4O13I.cjs.js +0 -2
  1043. package/dist/chunks/text-input-C2y4O13I.cjs.js.map +0 -1
  1044. package/dist/chunks/text-input-TZXg0lEQ.es.js +0 -18
  1045. package/dist/chunks/text-input-TZXg0lEQ.es.js.map +0 -1
  1046. package/dist/chunks/time-input-CI_HoOGU.es.js +0 -130
  1047. package/dist/chunks/time-input-CI_HoOGU.es.js.map +0 -1
  1048. package/dist/chunks/time-input-cHUvGWDc.cjs.js +0 -2
  1049. package/dist/chunks/time-input-cHUvGWDc.cjs.js.map +0 -1
  1050. package/dist/chunks/toggle-button-C9ezVsSp.cjs.js +0 -2
  1051. package/dist/chunks/toggle-button-C9ezVsSp.cjs.js.map +0 -1
  1052. package/dist/chunks/toggle-button-a0gCembi.es.js +0 -29
  1053. package/dist/chunks/toggle-button-a0gCembi.es.js.map +0 -1
  1054. package/dist/chunks/toggle-button-group-DX134q7m.cjs.js +0 -2
  1055. package/dist/chunks/toggle-button-group-DX134q7m.cjs.js.map +0 -1
  1056. package/dist/chunks/toggle-button-group-jRdpdYyd.es.js +0 -81
  1057. package/dist/chunks/toggle-button-group-jRdpdYyd.es.js.map +0 -1
  1058. package/dist/chunks/toolbar-CLGq6IO7.cjs.js +0 -2
  1059. package/dist/chunks/toolbar-CLGq6IO7.cjs.js.map +0 -1
  1060. package/dist/chunks/toolbar-hpBfKrTl.es.js +0 -59
  1061. package/dist/chunks/toolbar-hpBfKrTl.es.js.map +0 -1
  1062. package/dist/chunks/tooltip-B1YdruCE.es.js +0 -269
  1063. package/dist/chunks/tooltip-B1YdruCE.es.js.map +0 -1
  1064. package/dist/chunks/tooltip-g8-hEdZp.cjs.js +0 -2
  1065. package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +0 -1
  1066. package/dist/chunks/tooltip.recipe-Cqi_tgR5.es.js +0 -24
  1067. package/dist/chunks/tooltip.recipe-Cqi_tgR5.es.js.map +0 -1
  1068. package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js +0 -2
  1069. package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js.map +0 -1
  1070. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js +0 -2
  1071. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js.map +0 -1
  1072. package/dist/chunks/use-formatting-state-DdKYccZs.es.js +0 -247
  1073. package/dist/chunks/use-formatting-state-DdKYccZs.es.js.map +0 -1
  1074. package/dist/chunks/useButton-BgBfaV_L.cjs.js +0 -2
  1075. package/dist/chunks/useButton-BgBfaV_L.cjs.js.map +0 -1
  1076. package/dist/chunks/useButton-DAeSjgg9.es.js +0 -57
  1077. package/dist/chunks/useButton-DAeSjgg9.es.js.map +0 -1
  1078. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js +0 -1601
  1079. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +0 -1
  1080. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js +0 -2
  1081. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +0 -1
  1082. package/dist/chunks/useEvent-YHhqZvpU.es.js +0 -22
  1083. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +0 -1
  1084. package/dist/chunks/useField-Ce9zQxmx.es.js +0 -36
  1085. package/dist/chunks/useField-Ce9zQxmx.es.js.map +0 -1
  1086. package/dist/chunks/useField-DmqO9k7a.cjs.js +0 -2
  1087. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +0 -1
  1088. package/dist/chunks/useFocus-BtJ38vev.cjs.js +0 -2
  1089. package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +0 -1
  1090. package/dist/chunks/useFocus-DkWJ2TJC.es.js +0 -29
  1091. package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +0 -1
  1092. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js +0 -2
  1093. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +0 -1
  1094. package/dist/chunks/useFocusRing-updnkDQg.es.js +0 -35
  1095. package/dist/chunks/useFocusRing-updnkDQg.es.js.map +0 -1
  1096. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js +0 -111
  1097. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +0 -1
  1098. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js +0 -2
  1099. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +0 -1
  1100. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js +0 -2
  1101. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +0 -1
  1102. package/dist/chunks/useFocusWithin-ByYlHjju.es.js +0 -56
  1103. package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +0 -1
  1104. package/dist/chunks/useFocusable-CrsD8ZcF.es.js +0 -77
  1105. package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +0 -1
  1106. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js +0 -2
  1107. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +0 -1
  1108. package/dist/chunks/useFormReset-DurgUJL-.es.js +0 -21
  1109. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +0 -1
  1110. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js +0 -202
  1111. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +0 -1
  1112. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js +0 -2
  1113. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +0 -1
  1114. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js +0 -598
  1115. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js.map +0 -1
  1116. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js +0 -2
  1117. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map +0 -1
  1118. package/dist/chunks/useHover-CiP9jMFy.cjs.js +0 -2
  1119. package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +0 -1
  1120. package/dist/chunks/useHover-DhoE75lX.es.js +0 -86
  1121. package/dist/chunks/useHover-DhoE75lX.es.js.map +0 -1
  1122. package/dist/chunks/useLabel-BBmkkrPP.es.js +0 -37
  1123. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +0 -1
  1124. package/dist/chunks/useLabel-Y8tWagLu.cjs.js +0 -2
  1125. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +0 -1
  1126. package/dist/chunks/usePress-C8-hLXJw.cjs.js +0 -8
  1127. package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +0 -1
  1128. package/dist/chunks/usePress-DHhWHfMz.es.js +0 -456
  1129. package/dist/chunks/usePress-DHhWHfMz.es.js.map +0 -1
  1130. package/dist/chunks/useProgressBar-DHFmTHqL.es.js +0 -48
  1131. package/dist/chunks/useProgressBar-DHFmTHqL.es.js.map +0 -1
  1132. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js +0 -2
  1133. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js.map +0 -1
  1134. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js +0 -2
  1135. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +0 -1
  1136. package/dist/chunks/useSeparator-Dg70ACBm.es.js +0 -19
  1137. package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +0 -1
  1138. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js +0 -35
  1139. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js.map +0 -1
  1140. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js +0 -2
  1141. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js.map +0 -1
  1142. package/dist/chunks/useSpinButton-C9DPDo0r.es.js +0 -433
  1143. package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +0 -1
  1144. package/dist/chunks/useSyncRef-DGRbdR4H.es.js +0 -13
  1145. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +0 -1
  1146. package/dist/chunks/useTextField-BcthGRd8.cjs.js +0 -2
  1147. package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +0 -1
  1148. package/dist/chunks/useTextField-BnL6tOdd.es.js +0 -91
  1149. package/dist/chunks/useTextField-BnL6tOdd.es.js.map +0 -1
  1150. package/dist/chunks/useToggle-DqruaaTq.es.js +0 -62
  1151. package/dist/chunks/useToggle-DqruaaTq.es.js.map +0 -1
  1152. package/dist/chunks/useToggle-VJWgbeCC.cjs.js +0 -2
  1153. package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +0 -1
  1154. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js +0 -2
  1155. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js.map +0 -1
  1156. package/dist/chunks/useToolbar-CLH6Sjes.es.js +0 -55
  1157. package/dist/chunks/useToolbar-CLH6Sjes.es.js.map +0 -1
  1158. package/dist/chunks/utils-BGHwK7fd.cjs.js +0 -2
  1159. package/dist/chunks/utils-BGHwK7fd.cjs.js.map +0 -1
  1160. package/dist/chunks/utils-BkdW_cdL.es.js +0 -128
  1161. package/dist/chunks/utils-BkdW_cdL.es.js.map +0 -1
  1162. package/dist/chunks/utils-jpfA6kxk.es.js +0 -188
  1163. package/dist/chunks/utils-jpfA6kxk.es.js.map +0 -1
  1164. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js +0 -2
  1165. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js.map +0 -1
  1166. package/dist/chunks/visually-hidden-BluyWhUI.es.js +0 -11
  1167. package/dist/chunks/visually-hidden-BluyWhUI.es.js.map +0 -1
  1168. package/dist/components/divider.cjs +0 -2
  1169. package/dist/components/divider.cjs.map +0 -1
  1170. package/dist/components/divider.es.js +0 -5
  1171. package/dist/components/divider.es.js.map +0 -1
  1172. package/dist/divider.d.ts +0 -90
@@ -1,1946 +0,0 @@
1
- import $, { useRef as E, useEffect as Y, useMemo as B, createContext as z, cloneElement as ze, forwardRef as He, useContext as _, useCallback as X, useState as ie, isValidElement as st } from "react";
2
- import { a as Ue, d as _e } from "./utils-jpfA6kxk.es.js";
3
- import { c as me, $ as J, a as qe, d as we, e as ot } from "./mergeProps-B_9syxhT.es.js";
4
- import { $ as be } from "./focusWithoutScrolling-CDw3JYiq.es.js";
5
- import { $ as Ge, d as ut } from "./openLink-Ctl0AdAy.es.js";
6
- import { $ as ee } from "./useEvent-YHhqZvpU.es.js";
7
- import { a as at, b as ct, c as Ce, d as De } from "./scrollIntoView-BYF_8_6g.es.js";
8
- import { b as dt } from "./FocusScope-CNO0fzPs.es.js";
9
- import { b as Ee } from "./useFocusVisible-CWDaG0ze.es.js";
10
- import { $ as Se } from "./focusSafely-DJpphVHF.es.js";
11
- import { flushSync as ft, createPortal as ht } from "react-dom";
12
- import { $ as yt } from "./context-R4YUlO9Y.es.js";
13
- import { b as pt, g as vt } from "./platform-Z5fvtFmM.es.js";
14
- import { $ as We } from "./usePress-DHhWHfMz.es.js";
15
- import { $ as gt } from "./useGlobalListeners-BOOfV5Wh.es.js";
16
- import { a as mt } from "./Hidden-j3Lbt7xL.es.js";
17
- import { b as ke } from "./useFocusable-CrsD8ZcF.es.js";
18
- import { $ as je } from "./SSRProvider-Cu8KibIK.es.js";
19
- import { $ as bt } from "./useControlledState-u436Wbp1.es.js";
20
- function Ie(n, e) {
21
- const t = E(!0), i = E(null);
22
- me(() => (t.current = !0, () => {
23
- t.current = !1;
24
- }), []), me(() => {
25
- t.current ? t.current = !1 : (!i.current || e.some((l, r) => !Object.is(l, i[r]))) && n(), i.current = e;
26
- }, e);
27
- }
28
- const St = "react-aria-clear-focus", $t = "react-aria-focus";
29
- function q(n) {
30
- return pt() ? n.metaKey : n.ctrlKey;
31
- }
32
- const Kt = 500;
33
- function xt(n) {
34
- let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: r = Kt, accessibilityDescription: s } = n;
35
- const c = E(void 0);
36
- let { addGlobalListener: u, removeGlobalListener: h } = gt(), { pressProps: b } = We({
37
- isDisabled: e,
38
- onPressStart(f) {
39
- if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
40
- ...f,
41
- type: "longpressstart"
42
- }), c.current = setTimeout(() => {
43
- f.target.dispatchEvent(new PointerEvent("pointercancel", {
44
- bubbles: !0
45
- })), Ue(f.target).activeElement !== f.target && be(f.target), l && l({
46
- ...f,
47
- type: "longpress"
48
- }), c.current = void 0;
49
- }, r), f.pointerType === "touch")) {
50
- let y = (v) => {
51
- v.preventDefault();
52
- };
53
- u(f.target, "contextmenu", y, {
54
- once: !0
55
- }), u(window, "pointerup", () => {
56
- setTimeout(() => {
57
- h(f.target, "contextmenu", y);
58
- }, 30);
59
- }, {
60
- once: !0
61
- });
62
- }
63
- },
64
- onPressEnd(f) {
65
- c.current && clearTimeout(c.current), i && (f.pointerType === "mouse" || f.pointerType === "touch") && i({
66
- ...f,
67
- type: "longpressend"
68
- });
69
- }
70
- }), d = at(l && !e ? s : void 0);
71
- return {
72
- longPressProps: J(b, d)
73
- };
74
- }
75
- function Ye(n) {
76
- let e = Ct(Ue(n));
77
- e !== n && (e && wt(e, n), n && Xe(n, e));
78
- }
79
- function wt(n, e) {
80
- n.dispatchEvent(new FocusEvent("blur", {
81
- relatedTarget: e
82
- })), n.dispatchEvent(new FocusEvent("focusout", {
83
- bubbles: !0,
84
- relatedTarget: e
85
- }));
86
- }
87
- function Xe(n, e) {
88
- n.dispatchEvent(new FocusEvent("focus", {
89
- relatedTarget: e
90
- })), n.dispatchEvent(new FocusEvent("focusin", {
91
- bubbles: !0,
92
- relatedTarget: e
93
- }));
94
- }
95
- function Ct(n) {
96
- let e = _e(n), t = e?.getAttribute("aria-activedescendant");
97
- return t && n.getElementById(t) || e;
98
- }
99
- function $e(n) {
100
- return vt() ? n.altKey : n.ctrlKey;
101
- }
102
- function le(n, e) {
103
- var t, i;
104
- let l = `[data-key="${CSS.escape(String(e))}"]`, r = (t = n.current) === null || t === void 0 ? void 0 : t.dataset.collection;
105
- return r && (l = `[data-collection="${CSS.escape(r)}"]${l}`), (i = n.current) === null || i === void 0 ? void 0 : i.querySelector(l);
106
- }
107
- const Je = /* @__PURE__ */ new WeakMap();
108
- function Dt(n) {
109
- let e = qe();
110
- return Je.set(n, e), e;
111
- }
112
- function Et(n) {
113
- return Je.get(n);
114
- }
115
- const kt = 1e3;
116
- function It(n) {
117
- let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = n, l = E({
118
- search: "",
119
- timeout: void 0
120
- }).current, r = (s) => {
121
- let c = Pt(s.key);
122
- if (!(!c || s.ctrlKey || s.metaKey || !s.currentTarget.contains(s.target) || l.search.length === 0 && c === " ")) {
123
- if (c === " " && l.search.trim().length > 0 && (s.preventDefault(), "continuePropagation" in s || s.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
124
- let u = e.getKeyForSearch(l.search, t.focusedKey);
125
- u == null && (u = e.getKeyForSearch(l.search)), u != null && (t.setFocusedKey(u), i && i(u));
126
- }
127
- clearTimeout(l.timeout), l.timeout = setTimeout(() => {
128
- l.search = "";
129
- }, kt);
130
- }
131
- };
132
- return {
133
- typeSelectProps: {
134
- // Using a capturing listener to catch the keydown event before
135
- // other hooks in order to handle the Spacebar event.
136
- onKeyDownCapture: e.getKeyForSearch ? r : void 0
137
- }
138
- };
139
- }
140
- function Pt(n) {
141
- return n.length === 1 || !/^[A-Z]/i.test(n) ? n : "";
142
- }
143
- function Si(n) {
144
- let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: r = !1, disallowEmptySelection: s = !1, disallowSelectAll: c = !1, escapeKeyBehavior: u = "clearSelection", selectOnFocus: h = e.selectionBehavior === "replace", disallowTypeAhead: b = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, isVirtualized: y, scrollRef: v = i, linkBehavior: K = "action" } = n, { direction: g } = yt(), m = Ge(), w = (a) => {
145
- var S;
146
- if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((S = i.current) === null || S === void 0) && S.contains(a.target))) return;
147
- const o = (p, H) => {
148
- if (p != null) {
149
- if (e.isLink(p) && K === "selection" && h && !$e(a)) {
150
- ft(() => {
151
- e.setFocusedKey(p, H);
152
- });
153
- let U = le(i, p), xe = e.getItemProps(p);
154
- U && m.open(U, a, xe.href, xe.routerOptions);
155
- return;
156
- }
157
- if (e.setFocusedKey(p, H), e.isLink(p) && K === "override") return;
158
- a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && !$e(a) && e.replaceSelection(p);
159
- }
160
- };
161
- switch (a.key) {
162
- case "ArrowDown":
163
- if (t.getKeyBelow) {
164
- var C, F, P;
165
- let p = e.focusedKey != null ? (C = t.getKeyBelow) === null || C === void 0 ? void 0 : C.call(t, e.focusedKey) : (F = t.getFirstKey) === null || F === void 0 ? void 0 : F.call(t);
166
- p == null && r && (p = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p));
167
- }
168
- break;
169
- case "ArrowUp":
170
- if (t.getKeyAbove) {
171
- var L, N, oe;
172
- let p = e.focusedKey != null ? (L = t.getKeyAbove) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getLastKey) === null || N === void 0 ? void 0 : N.call(t);
173
- p == null && r && (p = (oe = t.getLastKey) === null || oe === void 0 ? void 0 : oe.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p));
174
- }
175
- break;
176
- case "ArrowLeft":
177
- if (t.getKeyLeftOf) {
178
- var ue, ae, ce;
179
- let p = e.focusedKey != null ? (ue = t.getKeyLeftOf) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : null;
180
- p == null && r && (p = g === "rtl" ? (ae = t.getFirstKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey) : (ce = t.getLastKey) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p, g === "rtl" ? "first" : "last"));
181
- }
182
- break;
183
- case "ArrowRight":
184
- if (t.getKeyRightOf) {
185
- var de, fe, he;
186
- let p = e.focusedKey != null ? (de = t.getKeyRightOf) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : null;
187
- p == null && r && (p = g === "rtl" ? (fe = t.getLastKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey) : (he = t.getFirstKey) === null || he === void 0 ? void 0 : he.call(t, e.focusedKey)), p != null && (a.preventDefault(), o(p, g === "rtl" ? "last" : "first"));
188
- }
189
- break;
190
- case "Home":
191
- if (t.getFirstKey) {
192
- if (e.focusedKey === null && a.shiftKey) return;
193
- a.preventDefault();
194
- let p = t.getFirstKey(e.focusedKey, q(a));
195
- e.setFocusedKey(p), p != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && e.replaceSelection(p));
196
- }
197
- break;
198
- case "End":
199
- if (t.getLastKey) {
200
- if (e.focusedKey === null && a.shiftKey) return;
201
- a.preventDefault();
202
- let p = t.getLastKey(e.focusedKey, q(a));
203
- e.setFocusedKey(p), p != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(p) : h && e.replaceSelection(p));
204
- }
205
- break;
206
- case "PageDown":
207
- if (t.getKeyPageBelow && e.focusedKey != null) {
208
- let p = t.getKeyPageBelow(e.focusedKey);
209
- p != null && (a.preventDefault(), o(p));
210
- }
211
- break;
212
- case "PageUp":
213
- if (t.getKeyPageAbove && e.focusedKey != null) {
214
- let p = t.getKeyPageAbove(e.focusedKey);
215
- p != null && (a.preventDefault(), o(p));
216
- }
217
- break;
218
- case "a":
219
- q(a) && e.selectionMode === "multiple" && c !== !0 && (a.preventDefault(), e.selectAll());
220
- break;
221
- case "Escape":
222
- u === "clearSelection" && !s && e.selectedKeys.size !== 0 && (a.stopPropagation(), a.preventDefault(), e.clearSelection());
223
- break;
224
- case "Tab":
225
- if (!f) {
226
- if (a.shiftKey) i.current.focus();
227
- else {
228
- let p = dt(i.current, {
229
- tabbable: !0
230
- }), H, U;
231
- do
232
- U = p.lastChild(), U && (H = U);
233
- while (U);
234
- H && !H.contains(document.activeElement) && be(H);
235
- }
236
- break;
237
- }
238
- }
239
- }, x = E({
240
- top: 0,
241
- left: 0
242
- });
243
- ee(v, "scroll", y ? void 0 : () => {
244
- var a, S, o, C;
245
- x.current = {
246
- top: (o = (a = v.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && o !== void 0 ? o : 0,
247
- left: (C = (S = v.current) === null || S === void 0 ? void 0 : S.scrollLeft) !== null && C !== void 0 ? C : 0
248
- };
249
- });
250
- let k = (a) => {
251
- if (e.isFocused) {
252
- a.currentTarget.contains(a.target) || e.setFocused(!1);
253
- return;
254
- }
255
- if (a.currentTarget.contains(a.target)) {
256
- if (e.setFocused(!0), e.focusedKey == null) {
257
- var S, o;
258
- let P = (N) => {
259
- N != null && (e.setFocusedKey(N), h && !e.isSelected(N) && e.replaceSelection(N));
260
- }, L = a.relatedTarget;
261
- var C, F;
262
- L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((C = e.lastSelectedKey) !== null && C !== void 0 ? C : (S = t.getLastKey) === null || S === void 0 ? void 0 : S.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t));
263
- } else !y && v.current && (v.current.scrollTop = x.current.top, v.current.scrollLeft = x.current.left);
264
- if (e.focusedKey != null && v.current) {
265
- let P = le(i, e.focusedKey);
266
- P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && be(P), Ee() === "keyboard" && Ce(P, {
267
- containingElement: i.current
268
- }));
269
- }
270
- }
271
- }, M = (a) => {
272
- a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
273
- }, A = E(!1);
274
- ee(i, $t, d ? (a) => {
275
- let { detail: S } = a;
276
- a.stopPropagation(), e.setFocused(!0), S?.focusStrategy === "first" && (A.current = !0);
277
- } : void 0);
278
- let T = we(() => {
279
- var a, S;
280
- let o = (S = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && S !== void 0 ? S : null;
281
- if (o == null) {
282
- let C = _e();
283
- Ye(i.current), Xe(C, null), e.collection.size > 0 && (A.current = !1);
284
- } else
285
- e.setFocusedKey(o), A.current = !1;
286
- });
287
- Ie(() => {
288
- A.current && T();
289
- }, [
290
- e.collection,
291
- T
292
- ]);
293
- let I = we(() => {
294
- e.collection.size > 0 && (A.current = !1);
295
- });
296
- Ie(() => {
297
- I();
298
- }, [
299
- e.focusedKey,
300
- I
301
- ]), ee(i, St, d ? (a) => {
302
- var S;
303
- a.stopPropagation(), e.setFocused(!1), !((S = a.detail) === null || S === void 0) && S.clearFocusKey && e.setFocusedKey(null);
304
- } : void 0);
305
- const W = E(l), O = E(!1);
306
- Y(() => {
307
- if (W.current) {
308
- var a, S;
309
- let F = null;
310
- var o;
311
- l === "first" && (F = (o = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && o !== void 0 ? o : null);
312
- var C;
313
- l === "last" && (F = (C = (S = t.getLastKey) === null || S === void 0 ? void 0 : S.call(t)) !== null && C !== void 0 ? C : null);
314
- let P = e.selectedKeys;
315
- if (P.size) {
316
- for (let L of P) if (e.canSelectItem(L)) {
317
- F = L;
318
- break;
319
- }
320
- }
321
- e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && Se(i.current), e.collection.size > 0 && (W.current = !1, O.current = !0);
322
- }
323
- });
324
- let V = E(e.focusedKey), D = E(null);
325
- Y(() => {
326
- if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && v.current && i.current) {
327
- let a = Ee(), S = le(i, e.focusedKey);
328
- if (!(S instanceof HTMLElement))
329
- return;
330
- (a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
331
- v.current && (ct(v.current, S), a !== "virtual" && Ce(S, {
332
- containingElement: i.current
333
- }));
334
- }));
335
- }
336
- !d && e.isFocused && e.focusedKey == null && V.current != null && i.current && Se(i.current), V.current = e.focusedKey, O.current = !1;
337
- }), Y(() => () => {
338
- D.current && cancelAnimationFrame(D.current);
339
- }, []), ee(i, "react-aria-focus-scope-restore", (a) => {
340
- a.preventDefault(), e.setFocused(!0);
341
- });
342
- let j = {
343
- onKeyDown: w,
344
- onFocus: k,
345
- onBlur: M,
346
- onMouseDown(a) {
347
- v.current === a.target && a.preventDefault();
348
- }
349
- }, { typeSelectProps: re } = It({
350
- keyboardDelegate: t,
351
- selectionManager: e
352
- });
353
- b || (j = J(re, j));
354
- let Q;
355
- d || (Q = e.focusedKey == null ? 0 : -1);
356
- let se = Dt(e.collection);
357
- return {
358
- collectionProps: J(j, {
359
- tabIndex: Q,
360
- "data-collection": se
361
- })
362
- };
363
- }
364
- function $i(n) {
365
- let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: r, shouldUseVirtualFocus: s, focus: c, isDisabled: u, onAction: h, allowsDifferentPressOrigin: b, linkBehavior: d = "action" } = n, f = Ge();
366
- e = qe(e);
367
- let y = (o) => {
368
- if (o.pointerType === "keyboard" && $e(o)) t.toggleSelection(i);
369
- else {
370
- if (t.selectionMode === "none") return;
371
- if (t.isLink(i)) {
372
- if (d === "selection" && l.current) {
373
- let C = t.getItemProps(i);
374
- f.open(l.current, o, C.href, C.routerOptions), t.setSelectedKeys(t.selectedKeys);
375
- return;
376
- } else if (d === "override" || d === "none") return;
377
- }
378
- t.selectionMode === "single" ? t.isSelected(i) && !t.disallowEmptySelection ? t.toggleSelection(i) : t.replaceSelection(i) : o && o.shiftKey ? t.extendSelection(i) : t.selectionBehavior === "toggle" || o && (q(o) || o.pointerType === "touch" || o.pointerType === "virtual") ? t.toggleSelection(i) : t.replaceSelection(i);
379
- }
380
- };
381
- Y(() => {
382
- i === t.focusedKey && t.isFocused && (s ? Ye(l.current) : c ? c() : document.activeElement !== l.current && l.current && Se(l.current));
383
- }, [
384
- l,
385
- i,
386
- t.focusedKey,
387
- t.childFocusStrategy,
388
- t.isFocused,
389
- s
390
- ]), u = u || t.isDisabled(i);
391
- let v = {};
392
- !s && !u ? v = {
393
- tabIndex: i === t.focusedKey ? 0 : -1,
394
- onFocus(o) {
395
- o.target === l.current && t.setFocusedKey(i);
396
- }
397
- } : u && (v.onMouseDown = (o) => {
398
- o.preventDefault();
399
- });
400
- let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, w = (h || g) && !u, x = w && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), k = w && m && t.selectionBehavior === "replace", M = x || k, A = E(null), T = M && m, I = E(!1), W = E(!1), O = t.getItemProps(i), V = (o) => {
401
- h && h(), g && l.current && f.open(l.current, o, O.href, O.routerOptions);
402
- }, D = {
403
- ref: l
404
- };
405
- if (r ? (D.onPressStart = (o) => {
406
- A.current = o.pointerType, I.current = T, o.pointerType === "keyboard" && (!M || Fe()) && y(o);
407
- }, b ? (D.onPressUp = x ? void 0 : (o) => {
408
- o.pointerType === "mouse" && m && y(o);
409
- }, D.onPress = x ? V : (o) => {
410
- o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m && y(o);
411
- }) : D.onPress = (o) => {
412
- if (x || k && o.pointerType !== "mouse") {
413
- if (o.pointerType === "keyboard" && !Pe()) return;
414
- V(o);
415
- } else o.pointerType !== "keyboard" && m && y(o);
416
- }) : (D.onPressStart = (o) => {
417
- A.current = o.pointerType, I.current = T, W.current = x, m && (o.pointerType === "mouse" && !x || o.pointerType === "keyboard" && (!w || Fe())) && y(o);
418
- }, D.onPress = (o) => {
419
- (o.pointerType === "touch" || o.pointerType === "pen" || o.pointerType === "virtual" || o.pointerType === "keyboard" && M && Pe() || o.pointerType === "mouse" && W.current) && (M ? V(o) : m && y(o));
420
- }), v["data-collection"] = Et(t.collection), v["data-key"] = i, D.preventFocusOnPress = s, s && (D = J(D, {
421
- onPressStart(o) {
422
- o.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
423
- },
424
- onPress(o) {
425
- o.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(i));
426
- }
427
- })), O)
428
- for (let o of [
429
- "onPressStart",
430
- "onPressEnd",
431
- "onPressChange",
432
- "onPress",
433
- "onPressUp",
434
- "onClick"
435
- ]) O[o] && (D[o] = ot(D[o], O[o]));
436
- let { pressProps: j, isPressed: re } = We(D), Q = k ? (o) => {
437
- A.current === "mouse" && (o.stopPropagation(), o.preventDefault(), V(o));
438
- } : void 0, { longPressProps: se } = xt({
439
- isDisabled: !T,
440
- onLongPress(o) {
441
- o.pointerType === "touch" && (y(o), t.setSelectionBehavior("toggle"));
442
- }
443
- }), a = (o) => {
444
- A.current === "touch" && I.current && o.preventDefault();
445
- }, S = d !== "none" && t.isLink(i) ? (o) => {
446
- ut.isOpening || o.preventDefault();
447
- } : void 0;
448
- return {
449
- itemProps: J(
450
- v,
451
- m || x || s && !u ? j : {},
452
- T ? se : {},
453
- {
454
- onDoubleClick: Q,
455
- onDragStartCapture: a,
456
- onClick: S,
457
- id: e
458
- },
459
- // Prevent DOM focus from moving on mouse down when using virtual focus
460
- s ? {
461
- onMouseDown: (o) => o.preventDefault()
462
- } : void 0
463
- ),
464
- isPressed: re,
465
- isSelected: t.isSelected(i),
466
- isFocused: t.isFocused && t.focusedKey === i,
467
- isDisabled: u,
468
- allowsSelection: m,
469
- hasAction: M
470
- };
471
- }
472
- function Pe() {
473
- let n = window.event;
474
- return n?.key === "Enter";
475
- }
476
- function Fe() {
477
- let n = window.event;
478
- return n?.key === " " || n?.code === "Space";
479
- }
480
- class Me {
481
- getItemRect(e) {
482
- let t = this.ref.current;
483
- if (!t) return null;
484
- let i = e != null ? le(this.ref, e) : null;
485
- if (!i) return null;
486
- let l = t.getBoundingClientRect(), r = i.getBoundingClientRect();
487
- return {
488
- x: r.left - l.left + t.scrollLeft,
489
- y: r.top - l.top + t.scrollTop,
490
- width: r.width,
491
- height: r.height
492
- };
493
- }
494
- getContentSize() {
495
- let e = this.ref.current;
496
- var t, i;
497
- return {
498
- width: (t = e?.scrollWidth) !== null && t !== void 0 ? t : 0,
499
- height: (i = e?.scrollHeight) !== null && i !== void 0 ? i : 0
500
- };
501
- }
502
- getVisibleRect() {
503
- let e = this.ref.current;
504
- var t, i, l, r;
505
- return {
506
- x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
507
- y: (i = e?.scrollTop) !== null && i !== void 0 ? i : 0,
508
- width: (l = e?.offsetWidth) !== null && l !== void 0 ? l : 0,
509
- height: (r = e?.offsetHeight) !== null && r !== void 0 ? r : 0
510
- };
511
- }
512
- constructor(e) {
513
- this.ref = e;
514
- }
515
- }
516
- class Ki {
517
- isDisabled(e) {
518
- var t;
519
- return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
520
- }
521
- findNextNonDisabled(e, t) {
522
- let i = e;
523
- for (; i != null; ) {
524
- let l = this.collection.getItem(i);
525
- if (l?.type === "item" && !this.isDisabled(l)) return i;
526
- i = t(i);
527
- }
528
- return null;
529
- }
530
- getNextKey(e) {
531
- let t = e;
532
- return t = this.collection.getKeyAfter(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyAfter(i));
533
- }
534
- getPreviousKey(e) {
535
- let t = e;
536
- return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyBefore(i));
537
- }
538
- findKey(e, t, i) {
539
- let l = e, r = this.layoutDelegate.getItemRect(l);
540
- if (!r || l == null) return null;
541
- let s = r;
542
- do {
543
- if (l = t(l), l == null) break;
544
- r = this.layoutDelegate.getItemRect(l);
545
- } while (r && i(s, r) && l != null);
546
- return l;
547
- }
548
- isSameRow(e, t) {
549
- return e.y === t.y || e.x !== t.x;
550
- }
551
- isSameColumn(e, t) {
552
- return e.x === t.x || e.y !== t.y;
553
- }
554
- getKeyBelow(e) {
555
- return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getNextKey(t), this.isSameRow) : this.getNextKey(e);
556
- }
557
- getKeyAbove(e) {
558
- return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getPreviousKey(t), this.isSameRow) : this.getPreviousKey(e);
559
- }
560
- getNextColumn(e, t) {
561
- return t ? this.getPreviousKey(e) : this.getNextKey(e);
562
- }
563
- getKeyRightOf(e) {
564
- let t = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
565
- return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl") : null;
566
- }
567
- getKeyLeftOf(e) {
568
- let t = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
569
- return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr") : null;
570
- }
571
- getFirstKey() {
572
- let e = this.collection.getFirstKey();
573
- return this.findNextNonDisabled(e, (t) => this.collection.getKeyAfter(t));
574
- }
575
- getLastKey() {
576
- let e = this.collection.getLastKey();
577
- return this.findNextNonDisabled(e, (t) => this.collection.getKeyBefore(t));
578
- }
579
- getKeyPageAbove(e) {
580
- let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
581
- if (!i) return null;
582
- if (t && !De(t)) return this.getFirstKey();
583
- let l = e;
584
- if (this.orientation === "horizontal") {
585
- let r = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
586
- for (; i && i.x > r && l != null; )
587
- l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
588
- } else {
589
- let r = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
590
- for (; i && i.y > r && l != null; )
591
- l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
592
- }
593
- return l ?? this.getFirstKey();
594
- }
595
- getKeyPageBelow(e) {
596
- let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
597
- if (!i) return null;
598
- if (t && !De(t)) return this.getLastKey();
599
- let l = e;
600
- if (this.orientation === "horizontal") {
601
- let r = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
602
- for (; i && i.x < r && l != null; )
603
- l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
604
- } else {
605
- let r = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
606
- for (; i && i.y < r && l != null; )
607
- l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
608
- }
609
- return l ?? this.getLastKey();
610
- }
611
- getKeyForSearch(e, t) {
612
- if (!this.collator) return null;
613
- let i = this.collection, l = t || this.getFirstKey();
614
- for (; l != null; ) {
615
- let r = i.getItem(l);
616
- if (!r) return null;
617
- let s = r.textValue.slice(0, e.length);
618
- if (r.textValue && this.collator.compare(s, e) === 0) return l;
619
- l = this.getNextKey(l);
620
- }
621
- return null;
622
- }
623
- constructor(...e) {
624
- if (e.length === 1) {
625
- let t = e[0];
626
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Me(t.ref);
627
- } else
628
- this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Me(this.ref);
629
- this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
630
- }
631
- }
632
- class Ft {
633
- build(e, t) {
634
- return this.context = t, Ae(() => this.iterateCollection(e));
635
- }
636
- *iterateCollection(e) {
637
- let { children: t, items: i } = e;
638
- if ($.isValidElement(t) && t.type === $.Fragment) yield* this.iterateCollection({
639
- children: t.props.children,
640
- items: i
641
- });
642
- else if (typeof t == "function") {
643
- if (!i) throw new Error("props.children was a function but props.items is missing");
644
- let l = 0;
645
- for (let r of i)
646
- yield* this.getFullNode({
647
- value: r,
648
- index: l
649
- }, {
650
- renderer: t
651
- }), l++;
652
- } else {
653
- let l = [];
654
- $.Children.forEach(t, (s) => {
655
- s && l.push(s);
656
- });
657
- let r = 0;
658
- for (let s of l) {
659
- let c = this.getFullNode({
660
- element: s,
661
- index: r
662
- }, {});
663
- for (let u of c)
664
- r++, yield u;
665
- }
666
- }
667
- }
668
- getKey(e, t, i, l) {
669
- if (e.key != null) return e.key;
670
- if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
671
- let r = t.value;
672
- if (r != null) {
673
- var s;
674
- let c = (s = r.key) !== null && s !== void 0 ? s : r.id;
675
- if (c == null) throw new Error("No key found for item");
676
- return c;
677
- }
678
- return l ? `${l}.${t.index}` : `$.${t.index}`;
679
- }
680
- getChildState(e, t) {
681
- return {
682
- renderer: t.renderer || e.renderer
683
- };
684
- }
685
- *getFullNode(e, t, i, l) {
686
- if ($.isValidElement(e.element) && e.element.type === $.Fragment) {
687
- let g = [];
688
- $.Children.forEach(e.element.props.children, (w) => {
689
- g.push(w);
690
- });
691
- var r;
692
- let m = (r = e.index) !== null && r !== void 0 ? r : 0;
693
- for (const w of g) yield* this.getFullNode({
694
- element: w,
695
- index: m++
696
- }, t, i, l);
697
- return;
698
- }
699
- let s = e.element;
700
- if (!s && e.value && t && t.renderer) {
701
- let g = this.cache.get(e.value);
702
- if (g && (!g.shouldInvalidate || !g.shouldInvalidate(this.context))) {
703
- g.index = e.index, g.parentKey = l ? l.key : null, yield g;
704
- return;
705
- }
706
- s = t.renderer(e.value);
707
- }
708
- if ($.isValidElement(s)) {
709
- let g = s.type;
710
- if (typeof g != "function" && typeof g.getCollectionNode != "function") {
711
- let k = s.type;
712
- throw new Error(`Unknown element <${k}> in collection.`);
713
- }
714
- let m = g.getCollectionNode(s.props, this.context);
715
- var c;
716
- let w = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
717
- for (; !x.done && x.value; ) {
718
- let k = x.value;
719
- e.index = w;
720
- var u;
721
- let M = (u = k.key) !== null && u !== void 0 ? u : null;
722
- M == null && (M = k.element ? null : this.getKey(s, e, t, i));
723
- let T = [
724
- ...this.getFullNode({
725
- ...k,
726
- key: M,
727
- index: w,
728
- wrapper: Mt(e.wrapper, k.wrapper)
729
- }, this.getChildState(t, k), i ? `${i}${s.key}` : s.key, l)
730
- ];
731
- for (let I of T) {
732
- var h, b;
733
- I.value = (b = (h = k.value) !== null && h !== void 0 ? h : e.value) !== null && b !== void 0 ? b : null, I.value && this.cache.set(I.value, I);
734
- var d;
735
- if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${ye(I.type)}> in <${ye((d = l?.type) !== null && d !== void 0 ? d : "unknown parent type")}>. Only <${ye(e.type)}> is supported.`);
736
- w++, yield I;
737
- }
738
- x = m.next(T);
739
- }
740
- return;
741
- }
742
- if (e.key == null || e.type == null) return;
743
- let f = this;
744
- var y, v;
745
- let K = {
746
- type: e.type,
747
- props: e.props,
748
- key: e.key,
749
- parentKey: l ? l.key : null,
750
- value: (y = e.value) !== null && y !== void 0 ? y : null,
751
- level: l ? l.level + 1 : 0,
752
- index: e.index,
753
- rendered: e.rendered,
754
- textValue: (v = e.textValue) !== null && v !== void 0 ? v : "",
755
- "aria-label": e["aria-label"],
756
- wrapper: e.wrapper,
757
- shouldInvalidate: e.shouldInvalidate,
758
- hasChildNodes: e.hasChildNodes || !1,
759
- childNodes: Ae(function* () {
760
- if (!e.hasChildNodes || !e.childNodes) return;
761
- let g = 0;
762
- for (let m of e.childNodes()) {
763
- m.key != null && (m.key = `${K.key}${m.key}`);
764
- let w = f.getFullNode({
765
- ...m,
766
- index: g
767
- }, f.getChildState(t, m), K.key, K);
768
- for (let x of w)
769
- g++, yield x;
770
- }
771
- })
772
- };
773
- yield K;
774
- }
775
- constructor() {
776
- this.cache = /* @__PURE__ */ new WeakMap();
777
- }
778
- }
779
- function Ae(n) {
780
- let e = [], t = null;
781
- return {
782
- *[Symbol.iterator]() {
783
- for (let i of e) yield i;
784
- t || (t = n());
785
- for (let i of t)
786
- e.push(i), yield i;
787
- }
788
- };
789
- }
790
- function Mt(n, e) {
791
- if (n && e) return (t) => n(e(t));
792
- if (n) return n;
793
- if (e) return e;
794
- }
795
- function ye(n) {
796
- return n[0].toUpperCase() + n.slice(1);
797
- }
798
- function xi(n, e, t) {
799
- let i = B(() => new Ft(), []), { children: l, items: r, collection: s } = n;
800
- return B(() => {
801
- if (s) return s;
802
- let u = i.build({
803
- children: l,
804
- items: r
805
- }, t);
806
- return e(u);
807
- }, [
808
- i,
809
- l,
810
- r,
811
- s,
812
- t,
813
- e
814
- ]);
815
- }
816
- function At(n, e) {
817
- return typeof e.getChildren == "function" ? e.getChildren(n.key) : n.childNodes;
818
- }
819
- function Rt(n) {
820
- return Tt(n, 0);
821
- }
822
- function Tt(n, e) {
823
- if (e < 0) return;
824
- let t = 0;
825
- for (let i of n) {
826
- if (t === e) return i;
827
- t++;
828
- }
829
- }
830
- function wi(n) {
831
- let e;
832
- for (let t of n) e = t;
833
- return e;
834
- }
835
- function pe(n, e, t) {
836
- if (e.parentKey === t.parentKey) return e.index - t.index;
837
- let i = [
838
- ...Re(n, e),
839
- e
840
- ], l = [
841
- ...Re(n, t),
842
- t
843
- ], r = i.slice(0, l.length).findIndex((s, c) => s !== l[c]);
844
- return r !== -1 ? (e = i[r], t = l[r], e.index - t.index) : i.findIndex((s) => s === t) >= 0 ? 1 : (l.findIndex((s) => s === e) >= 0, -1);
845
- }
846
- function Re(n, e) {
847
- let t = [], i = e;
848
- for (; i?.parentKey != null; )
849
- i = n.getItem(i.parentKey), i && t.unshift(i);
850
- return t;
851
- }
852
- var te = { exports: {} }, ve = {};
853
- /**
854
- * @license React
855
- * use-sync-external-store-shim.production.js
856
- *
857
- * Copyright (c) Meta Platforms, Inc. and affiliates.
858
- *
859
- * This source code is licensed under the MIT license found in the
860
- * LICENSE file in the root directory of this source tree.
861
- */
862
- var Te;
863
- function Ot() {
864
- if (Te) return ve;
865
- Te = 1;
866
- var n = $;
867
- function e(d, f) {
868
- return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
869
- }
870
- var t = typeof Object.is == "function" ? Object.is : e, i = n.useState, l = n.useEffect, r = n.useLayoutEffect, s = n.useDebugValue;
871
- function c(d, f) {
872
- var y = f(), v = i({ inst: { value: y, getSnapshot: f } }), K = v[0].inst, g = v[1];
873
- return r(
874
- function() {
875
- K.value = y, K.getSnapshot = f, u(K) && g({ inst: K });
876
- },
877
- [d, y, f]
878
- ), l(
879
- function() {
880
- return u(K) && g({ inst: K }), d(function() {
881
- u(K) && g({ inst: K });
882
- });
883
- },
884
- [d]
885
- ), s(y), y;
886
- }
887
- function u(d) {
888
- var f = d.getSnapshot;
889
- d = d.value;
890
- try {
891
- var y = f();
892
- return !t(d, y);
893
- } catch {
894
- return !0;
895
- }
896
- }
897
- function h(d, f) {
898
- return f();
899
- }
900
- var b = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? h : c;
901
- return ve.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : b, ve;
902
- }
903
- var ge = {};
904
- /**
905
- * @license React
906
- * use-sync-external-store-shim.development.js
907
- *
908
- * Copyright (c) Meta Platforms, Inc. and affiliates.
909
- *
910
- * This source code is licensed under the MIT license found in the
911
- * LICENSE file in the root directory of this source tree.
912
- */
913
- var Oe;
914
- function Lt() {
915
- return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && (function() {
916
- function n(y, v) {
917
- return y === v && (y !== 0 || 1 / y === 1 / v) || y !== y && v !== v;
918
- }
919
- function e(y, v) {
920
- b || l.startTransition === void 0 || (b = !0, console.error(
921
- "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
922
- ));
923
- var K = v();
924
- if (!d) {
925
- var g = v();
926
- r(K, g) || (console.error(
927
- "The result of getSnapshot should be cached to avoid an infinite loop"
928
- ), d = !0);
929
- }
930
- g = s({
931
- inst: { value: K, getSnapshot: v }
932
- });
933
- var m = g[0].inst, w = g[1];
934
- return u(
935
- function() {
936
- m.value = K, m.getSnapshot = v, t(m) && w({ inst: m });
937
- },
938
- [y, K, v]
939
- ), c(
940
- function() {
941
- return t(m) && w({ inst: m }), y(function() {
942
- t(m) && w({ inst: m });
943
- });
944
- },
945
- [y]
946
- ), h(K), K;
947
- }
948
- function t(y) {
949
- var v = y.getSnapshot;
950
- y = y.value;
951
- try {
952
- var K = v();
953
- return !r(y, K);
954
- } catch {
955
- return !0;
956
- }
957
- }
958
- function i(y, v) {
959
- return v();
960
- }
961
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
962
- var l = $, r = typeof Object.is == "function" ? Object.is : n, s = l.useState, c = l.useEffect, u = l.useLayoutEffect, h = l.useDebugValue, b = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
963
- ge.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
964
- })()), ge;
965
- }
966
- var Le;
967
- function Bt() {
968
- return Le || (Le = 1, process.env.NODE_ENV === "production" ? te.exports = Ot() : te.exports = Lt()), te.exports;
969
- }
970
- var Vt = /* @__PURE__ */ Bt();
971
- const Ci = /* @__PURE__ */ z(null), Di = /* @__PURE__ */ z(null);
972
- class ne {
973
- get childNodes() {
974
- throw new Error("childNodes is not supported");
975
- }
976
- clone() {
977
- let e = new this.constructor(this.key);
978
- 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;
979
- }
980
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
981
- filter(e, t, i) {
982
- let l = this.clone();
983
- return t.addDescendants(l, e), l;
984
- }
985
- constructor(e) {
986
- 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;
987
- }
988
- }
989
- class Ze extends ne {
990
- filter(e, t, i) {
991
- let [l, r] = Qe(e, t, this.firstChildKey, i), s = this.clone();
992
- return s.firstChildKey = l, s.lastChildKey = r, s;
993
- }
994
- }
995
- class Nt extends ne {
996
- }
997
- Nt.type = "header";
998
- class zt extends ne {
999
- }
1000
- zt.type = "loader";
1001
- class Ht extends Ze {
1002
- filter(e, t, i) {
1003
- if (i(this.textValue, this)) {
1004
- let l = this.clone();
1005
- return t.addDescendants(l, e), l;
1006
- }
1007
- return null;
1008
- }
1009
- }
1010
- Ht.type = "item";
1011
- class Ut extends Ze {
1012
- filter(e, t, i) {
1013
- let l = super.filter(e, t, i);
1014
- if (l && l.lastChildKey !== null) {
1015
- let r = e.getItem(l.lastChildKey);
1016
- if (r && r.type !== "header") return l;
1017
- }
1018
- return null;
1019
- }
1020
- }
1021
- Ut.type = "section";
1022
- class _t {
1023
- get size() {
1024
- return this.itemCount;
1025
- }
1026
- getKeys() {
1027
- return this.keyMap.keys();
1028
- }
1029
- *[Symbol.iterator]() {
1030
- let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
1031
- for (; e; )
1032
- yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
1033
- }
1034
- getChildren(e) {
1035
- let t = this.keyMap;
1036
- return {
1037
- *[Symbol.iterator]() {
1038
- let i = t.get(e), l = i?.firstChildKey != null ? t.get(i.firstChildKey) : null;
1039
- for (; l; )
1040
- yield l, l = l.nextKey != null ? t.get(l.nextKey) : void 0;
1041
- }
1042
- };
1043
- }
1044
- getKeyBefore(e) {
1045
- let t = this.keyMap.get(e);
1046
- if (!t) return null;
1047
- if (t.prevKey != null) {
1048
- for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
1049
- var i;
1050
- return (i = t?.key) !== null && i !== void 0 ? i : null;
1051
- }
1052
- return t.parentKey;
1053
- }
1054
- getKeyAfter(e) {
1055
- let t = this.keyMap.get(e);
1056
- if (!t) return null;
1057
- if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;
1058
- for (; t; ) {
1059
- if (t.nextKey != null) return t.nextKey;
1060
- if (t.parentKey != null) t = this.keyMap.get(t.parentKey);
1061
- else return null;
1062
- }
1063
- return null;
1064
- }
1065
- getFirstKey() {
1066
- return this.firstKey;
1067
- }
1068
- getLastKey() {
1069
- let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
1070
- for (; e?.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
1071
- var t;
1072
- return (t = e?.key) !== null && t !== void 0 ? t : null;
1073
- }
1074
- getItem(e) {
1075
- var t;
1076
- return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
1077
- }
1078
- at() {
1079
- throw new Error("Not implemented");
1080
- }
1081
- clone() {
1082
- let e = this.constructor, t = new e();
1083
- return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;
1084
- }
1085
- addNode(e) {
1086
- if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
1087
- e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
1088
- }
1089
- // Deeply add a node and its children to the collection from another collection, primarily used when filtering a collection
1090
- addDescendants(e, t) {
1091
- this.addNode(e);
1092
- let i = t.getChildren(e.key);
1093
- for (let l of i) this.addDescendants(l, t);
1094
- }
1095
- removeNode(e) {
1096
- if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
1097
- let t = this.keyMap.get(e);
1098
- t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);
1099
- }
1100
- commit(e, t, i = !1) {
1101
- if (this.frozen) throw new Error("Cannot commit a frozen collection");
1102
- this.firstKey = e, this.lastKey = t, this.frozen = !i;
1103
- }
1104
- filter(e) {
1105
- let t = new this.constructor(), [i, l] = Qe(this, t, this.firstKey, e);
1106
- return t?.commit(i, l), t;
1107
- }
1108
- constructor() {
1109
- this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
1110
- }
1111
- }
1112
- function Qe(n, e, t, i) {
1113
- if (t == null) return [
1114
- null,
1115
- null
1116
- ];
1117
- let l = null, r = null, s = n.getItem(t);
1118
- for (; s != null; ) {
1119
- let h = s.filter(n, e, i);
1120
- h != null && (h.nextKey = null, r && (h.prevKey = r.key, r.nextKey = h.key), l == null && (l = h), e.addNode(h), r = h), s = s.nextKey ? n.getItem(s.nextKey) : null;
1121
- }
1122
- if (r && r.type === "separator") {
1123
- let h = r.prevKey;
1124
- e.removeNode(r.key), h ? (r = e.getItem(h), r.nextKey = null) : r = null;
1125
- }
1126
- var c, u;
1127
- return [
1128
- (c = l?.key) !== null && c !== void 0 ? c : null,
1129
- (u = r?.key) !== null && u !== void 0 ? u : null
1130
- ];
1131
- }
1132
- class et {
1133
- *[Symbol.iterator]() {
1134
- let e = this.firstChild;
1135
- for (; e; )
1136
- yield e, e = e.nextSibling;
1137
- }
1138
- get firstChild() {
1139
- return this._firstChild;
1140
- }
1141
- set firstChild(e) {
1142
- this._firstChild = e, this.ownerDocument.markDirty(this);
1143
- }
1144
- get lastChild() {
1145
- return this._lastChild;
1146
- }
1147
- set lastChild(e) {
1148
- this._lastChild = e, this.ownerDocument.markDirty(this);
1149
- }
1150
- get previousSibling() {
1151
- return this._previousSibling;
1152
- }
1153
- set previousSibling(e) {
1154
- this._previousSibling = e, this.ownerDocument.markDirty(this);
1155
- }
1156
- get nextSibling() {
1157
- return this._nextSibling;
1158
- }
1159
- set nextSibling(e) {
1160
- this._nextSibling = e, this.ownerDocument.markDirty(this);
1161
- }
1162
- get parentNode() {
1163
- return this._parentNode;
1164
- }
1165
- set parentNode(e) {
1166
- this._parentNode = e, this.ownerDocument.markDirty(this);
1167
- }
1168
- get isConnected() {
1169
- var e;
1170
- return ((e = this.parentNode) === null || e === void 0 ? void 0 : e.isConnected) || !1;
1171
- }
1172
- invalidateChildIndices(e) {
1173
- (this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));
1174
- }
1175
- updateChildIndices() {
1176
- let e = this._minInvalidChildIndex;
1177
- for (; e; )
1178
- e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;
1179
- this._minInvalidChildIndex = null;
1180
- }
1181
- appendChild(e) {
1182
- e.parentNode && e.parentNode.removeChild(e), this.firstChild == null && (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();
1183
- }
1184
- insertBefore(e, t) {
1185
- if (t == null) return this.appendChild(e);
1186
- 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();
1187
- }
1188
- removeChild(e) {
1189
- e.parentNode !== this || !this.ownerDocument.isMounted || (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());
1190
- }
1191
- addEventListener() {
1192
- }
1193
- removeEventListener() {
1194
- }
1195
- get previousVisibleSibling() {
1196
- let e = this.previousSibling;
1197
- for (; e && e.isHidden; ) e = e.previousSibling;
1198
- return e;
1199
- }
1200
- get nextVisibleSibling() {
1201
- let e = this.nextSibling;
1202
- for (; e && e.isHidden; ) e = e.nextSibling;
1203
- return e;
1204
- }
1205
- get firstVisibleChild() {
1206
- let e = this.firstChild;
1207
- for (; e && e.isHidden; ) e = e.nextSibling;
1208
- return e;
1209
- }
1210
- get lastVisibleChild() {
1211
- let e = this.lastChild;
1212
- for (; e && e.isHidden; ) e = e.previousSibling;
1213
- return e;
1214
- }
1215
- constructor(e) {
1216
- this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
1217
- }
1218
- }
1219
- class G extends et {
1220
- get index() {
1221
- return this._index;
1222
- }
1223
- set index(e) {
1224
- this._index = e, this.ownerDocument.markDirty(this);
1225
- }
1226
- get level() {
1227
- var e;
1228
- return this.parentNode instanceof G ? this.parentNode.level + (((e = this.node) === null || e === void 0 ? void 0 : e.type) === "item" ? 1 : 0) : 0;
1229
- }
1230
- get node() {
1231
- if (this._node == null) throw Error("Attempted to access node before it was defined. Check if setProps wasn't called before attempting to access the node.");
1232
- return this._node;
1233
- }
1234
- set node(e) {
1235
- this._node = e;
1236
- }
1237
- /**
1238
- * Lazily gets a mutable instance of a Node. If the node has already
1239
- * been cloned during this update cycle, it just returns the existing one.
1240
- */
1241
- getMutableNode() {
1242
- return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
1243
- }
1244
- updateNode() {
1245
- var e, t, i;
1246
- let l = this.nextVisibleSibling, r = this.getMutableNode();
1247
- r.index = this.index, r.level = this.level, r.parentKey = this.parentNode instanceof G ? this.parentNode.node.key : null;
1248
- var s;
1249
- r.prevKey = (s = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && s !== void 0 ? s : null;
1250
- var c;
1251
- r.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, r.hasChildNodes = !!this.firstChild;
1252
- var u;
1253
- r.firstChildKey = (u = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && u !== void 0 ? u : null;
1254
- var h;
1255
- if (r.lastChildKey = (h = (i = this.lastVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && h !== void 0 ? h : null, (r.colSpan != null || r.colIndex != null) && l) {
1256
- var b, d;
1257
- let f = ((b = r.colIndex) !== null && b !== void 0 ? b : r.index) + ((d = r.colSpan) !== null && d !== void 0 ? d : 1);
1258
- if (f !== l.node.colIndex) {
1259
- let y = l.getMutableNode();
1260
- y.colIndex = f;
1261
- }
1262
- }
1263
- }
1264
- setProps(e, t, i, l, r) {
1265
- let s, { value: c, textValue: u, id: h, ...b } = e;
1266
- if (this._node == null ? (s = new i(h ?? `react-aria-${++this.ownerDocument.nodeId}`), this.node = s) : s = this.getMutableNode(), b.ref = t, s.props = b, s.rendered = l, s.render = r, s.value = c, s.textValue = u || (typeof b.children == "string" ? b.children : "") || e["aria-label"] || "", h != null && h !== s.key) throw new Error("Cannot change the id of an item");
1267
- b.colSpan != null && (s.colSpan = b.colSpan), this.isConnected && this.ownerDocument.queueUpdate();
1268
- }
1269
- get style() {
1270
- let e = this;
1271
- return {
1272
- get display() {
1273
- return e.isHidden ? "none" : "";
1274
- },
1275
- set display(t) {
1276
- let i = t === "none";
1277
- if (e.isHidden !== i) {
1278
- var l, r;
1279
- (((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((r = e.parentNode) === null || r === void 0 ? void 0 : r.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
1280
- let s = e.previousVisibleSibling, c = e.nextVisibleSibling;
1281
- s && e.ownerDocument.markDirty(s), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
1282
- }
1283
- }
1284
- };
1285
- }
1286
- hasAttribute() {
1287
- }
1288
- setAttribute() {
1289
- }
1290
- setAttributeNS() {
1291
- }
1292
- removeAttribute() {
1293
- }
1294
- constructor(e, t) {
1295
- super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this._node = null;
1296
- }
1297
- }
1298
- class qt extends et {
1299
- get isConnected() {
1300
- return this.isMounted;
1301
- }
1302
- createElement(e) {
1303
- return new G(e, this);
1304
- }
1305
- getMutableCollection() {
1306
- return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
1307
- }
1308
- markDirty(e) {
1309
- this.dirtyNodes.add(e);
1310
- }
1311
- addNode(e) {
1312
- if (e.isHidden) return;
1313
- let t = this.getMutableCollection();
1314
- if (!t.getItem(e.node.key)) for (let i of e) this.addNode(i);
1315
- t.addNode(e.node);
1316
- }
1317
- removeNode(e) {
1318
- for (let i of e) this.removeNode(i);
1319
- this.getMutableCollection().removeNode(e.node.key);
1320
- }
1321
- /** Finalizes the collection update, updating all nodes and freezing the collection. */
1322
- getCollection() {
1323
- return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
1324
- }
1325
- updateCollection() {
1326
- for (let r of this.dirtyNodes) r instanceof G && (!r.isConnected || r.isHidden) ? this.removeNode(r) : r.updateChildIndices();
1327
- for (let r of this.dirtyNodes) r instanceof G && (r.isConnected && !r.isHidden && (r.updateNode(), this.addNode(r)), r.isMutated = !1);
1328
- if (this.dirtyNodes.clear(), this.nextCollection) {
1329
- var e, t, i, l;
1330
- this.nextCollection.commit((i = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && i !== void 0 ? i : null, (l = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
1331
- }
1332
- }
1333
- queueUpdate() {
1334
- if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
1335
- this.queuedRender = !0, this.inSubscription = !0;
1336
- for (let e of this.subscriptions) e();
1337
- this.inSubscription = !1;
1338
- }
1339
- }
1340
- subscribe(e) {
1341
- return this.subscriptions.add(e), () => this.subscriptions.delete(e);
1342
- }
1343
- resetAfterSSR() {
1344
- this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
1345
- }
1346
- constructor(e) {
1347
- super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
1348
- }
1349
- }
1350
- function tt(n) {
1351
- let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: r = [] } = n, s = B(() => /* @__PURE__ */ new WeakMap(), r);
1352
- return B(() => {
1353
- if (t && typeof e == "function") {
1354
- let h = [];
1355
- for (let b of t) {
1356
- let d = s.get(b);
1357
- if (!d) {
1358
- d = e(b);
1359
- var c, u;
1360
- let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : b.key) !== null && u !== void 0 ? u : b.id;
1361
- if (f == null) throw new Error("Could not determine key for item");
1362
- i && (f = i + ":" + f), d = ze(d, l ? {
1363
- key: f,
1364
- id: f,
1365
- value: b
1366
- } : {
1367
- key: f
1368
- }), s.set(b, d);
1369
- }
1370
- h.push(d);
1371
- }
1372
- return h;
1373
- } else if (typeof e != "function") return e;
1374
- }, [
1375
- e,
1376
- t,
1377
- s,
1378
- i,
1379
- l
1380
- ]);
1381
- }
1382
- const it = /* @__PURE__ */ z(!1), Z = /* @__PURE__ */ z(null);
1383
- function Ei(n) {
1384
- if (_(Z))
1385
- return n.content;
1386
- let { collection: t, document: i } = Yt(n.createCollection);
1387
- return /* @__PURE__ */ $.createElement($.Fragment, null, /* @__PURE__ */ $.createElement(mt, null, /* @__PURE__ */ $.createElement(Z.Provider, {
1388
- value: i
1389
- }, n.content)), /* @__PURE__ */ $.createElement(Gt, {
1390
- render: n.children,
1391
- collection: t
1392
- }));
1393
- }
1394
- function Gt({ collection: n, render: e }) {
1395
- return e(n);
1396
- }
1397
- function Wt(n, e, t) {
1398
- let i = je(), l = E(i);
1399
- l.current = i;
1400
- let r = X(() => l.current ? t() : e(), [
1401
- e,
1402
- t
1403
- ]);
1404
- return Vt.useSyncExternalStore(n, r);
1405
- }
1406
- const jt = typeof $.useSyncExternalStore == "function" ? $.useSyncExternalStore : Wt;
1407
- function Yt(n) {
1408
- let [e] = ie(() => new qt(n?.() || new _t())), t = X((s) => e.subscribe(s), [
1409
- e
1410
- ]), i = X(() => {
1411
- let s = e.getCollection();
1412
- return e.isSSR && e.resetAfterSSR(), s;
1413
- }, [
1414
- e
1415
- ]), l = X(() => (e.isSSR = !0, e.getCollection()), [
1416
- e
1417
- ]), r = jt(t, i, l);
1418
- return me(() => (e.isMounted = !0, () => {
1419
- e.isMounted = !1;
1420
- }), [
1421
- e
1422
- ]), {
1423
- collection: r,
1424
- document: e
1425
- };
1426
- }
1427
- const Ke = /* @__PURE__ */ z(null);
1428
- function Xt(n) {
1429
- var e;
1430
- return e = class extends ne {
1431
- }, e.type = n, e;
1432
- }
1433
- function lt(n, e, t, i, l, r) {
1434
- typeof n == "string" && (n = Xt(n));
1435
- let s = X((u) => {
1436
- u?.setProps(e, t, n, i, r);
1437
- }, [
1438
- e,
1439
- t,
1440
- i,
1441
- r,
1442
- n
1443
- ]), c = _(Ke);
1444
- if (c) {
1445
- let u = c.ownerDocument.nodesByProps.get(e);
1446
- return u || (u = c.ownerDocument.createElement(n.type), u.setProps(e, t, n, i, r), c.appendChild(u), c.ownerDocument.updateCollection(), c.ownerDocument.nodesByProps.set(e, u)), l ? /* @__PURE__ */ $.createElement(Ke.Provider, {
1447
- value: u
1448
- }, l) : null;
1449
- }
1450
- return /* @__PURE__ */ $.createElement(n.type, {
1451
- ref: s
1452
- }, l);
1453
- }
1454
- function ki(n, e) {
1455
- let t = ({ node: l }) => e(l.props, l.props.ref, l), i = He((l, r) => {
1456
- let s = _(ke);
1457
- if (!_(it)) {
1458
- if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
1459
- return e(l, r);
1460
- }
1461
- return lt(n, l, r, "children" in l ? l.children : null, null, (u) => (
1462
- // Forward FocusableContext to real DOM tree so tooltips work.
1463
- /* @__PURE__ */ $.createElement(ke.Provider, {
1464
- value: s
1465
- }, /* @__PURE__ */ $.createElement(t, {
1466
- node: u
1467
- }))
1468
- ));
1469
- });
1470
- return i.displayName = e.name, i;
1471
- }
1472
- function Ii(n, e, t = nt) {
1473
- let i = ({ node: r }) => e(r.props, r.props.ref, r), l = He((r, s) => {
1474
- let c = t(r);
1475
- var u;
1476
- return (u = lt(n, r, s, null, c, (h) => /* @__PURE__ */ $.createElement(i, {
1477
- node: h
1478
- }))) !== null && u !== void 0 ? u : /* @__PURE__ */ $.createElement($.Fragment, null);
1479
- });
1480
- return l.displayName = e.name, l;
1481
- }
1482
- function nt(n) {
1483
- return tt({
1484
- ...n,
1485
- addIdAndValue: !0
1486
- });
1487
- }
1488
- const Be = /* @__PURE__ */ z(null);
1489
- function Pi(n) {
1490
- let e = _(Be), t = (e?.dependencies || []).concat(n.dependencies), i = n.idScope || e?.idScope, l = nt({
1491
- ...n,
1492
- idScope: i,
1493
- dependencies: t
1494
- });
1495
- return _(Z) && (l = /* @__PURE__ */ $.createElement(Jt, null, l)), e = B(() => ({
1496
- dependencies: t,
1497
- idScope: i
1498
- }), [
1499
- i,
1500
- ...t
1501
- ]), /* @__PURE__ */ $.createElement(Be.Provider, {
1502
- value: e
1503
- }, l);
1504
- }
1505
- function Jt({ children: n }) {
1506
- let e = _(Z), t = B(() => /* @__PURE__ */ $.createElement(Z.Provider, {
1507
- value: null
1508
- }, /* @__PURE__ */ $.createElement(it.Provider, {
1509
- value: !0
1510
- }, n)), [
1511
- n
1512
- ]);
1513
- return je() ? /* @__PURE__ */ $.createElement(Ke.Provider, {
1514
- value: e
1515
- }, t) : /* @__PURE__ */ ht(t, e);
1516
- }
1517
- const Fi = /* @__PURE__ */ z(null), Zt = {
1518
- CollectionRoot({ collection: n, renderDropIndicator: e }) {
1519
- return Ve(n, null, e);
1520
- },
1521
- CollectionBranch({ collection: n, parent: e, renderDropIndicator: t }) {
1522
- return Ve(n, e, t);
1523
- }
1524
- };
1525
- function Ve(n, e, t) {
1526
- return tt({
1527
- items: e ? n.getChildren(e.key) : n,
1528
- dependencies: [
1529
- t
1530
- ],
1531
- children(i) {
1532
- let l = i.render(i);
1533
- return !t || i.type !== "item" ? l : /* @__PURE__ */ $.createElement($.Fragment, null, t({
1534
- type: "item",
1535
- key: i.key,
1536
- dropPosition: "before"
1537
- }), l, Qt(n, i, t));
1538
- }
1539
- });
1540
- }
1541
- function Qt(n, e, t) {
1542
- let i = e.key, l = n.getKeyAfter(i), r = l != null ? n.getItem(l) : null;
1543
- for (; r != null && r.type !== "item"; )
1544
- l = n.getKeyAfter(r.key), r = l != null ? n.getItem(l) : null;
1545
- let s = e.nextKey != null ? n.getItem(e.nextKey) : null;
1546
- for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? n.getItem(s.nextKey) : null;
1547
- let c = [];
1548
- if (s == null) {
1549
- let u = e;
1550
- for (; u && (!r || u.parentKey !== r.parentKey && r.level < u.level); ) {
1551
- let h = t({
1552
- type: "item",
1553
- key: u.key,
1554
- dropPosition: "after"
1555
- });
1556
- /* @__PURE__ */ st(h) && c.push(/* @__PURE__ */ ze(h, {
1557
- key: `${u.key}-after`
1558
- })), u = u.parentKey != null ? n.getItem(u.parentKey) : null;
1559
- }
1560
- }
1561
- return c;
1562
- }
1563
- const Mi = /* @__PURE__ */ z(Zt);
1564
- function Ai(n) {
1565
- return B(() => n != null ? /* @__PURE__ */ new Set([
1566
- n
1567
- ]) : null, [
1568
- n
1569
- ]);
1570
- }
1571
- class R extends Set {
1572
- constructor(e, t, i) {
1573
- super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
1574
- }
1575
- }
1576
- function ei(n, e) {
1577
- if (n.size !== e.size) return !1;
1578
- for (let t of n)
1579
- if (!e.has(t)) return !1;
1580
- return !0;
1581
- }
1582
- function Ri(n) {
1583
- let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: r = "all" } = n, s = E(!1), [, c] = ie(!1), u = E(null), h = E(null), [, b] = ie(null), d = B(() => Ne(n.selectedKeys), [
1584
- n.selectedKeys
1585
- ]), f = B(() => Ne(n.defaultSelectedKeys, new R()), [
1586
- n.defaultSelectedKeys
1587
- ]), [y, v] = bt(d, f, n.onSelectionChange), K = B(() => n.disabledKeys ? new Set(n.disabledKeys) : /* @__PURE__ */ new Set(), [
1588
- n.disabledKeys
1589
- ]), [g, m] = ie(l);
1590
- l === "replace" && g === "toggle" && typeof y == "object" && y.size === 0 && m("replace");
1591
- let w = E(l);
1592
- return Y(() => {
1593
- l !== w.current && (m(l), w.current = l);
1594
- }, [
1595
- l
1596
- ]), {
1597
- selectionMode: e,
1598
- disallowEmptySelection: t,
1599
- selectionBehavior: g,
1600
- setSelectionBehavior: m,
1601
- get isFocused() {
1602
- return s.current;
1603
- },
1604
- setFocused(x) {
1605
- s.current = x, c(x);
1606
- },
1607
- get focusedKey() {
1608
- return u.current;
1609
- },
1610
- get childFocusStrategy() {
1611
- return h.current;
1612
- },
1613
- setFocusedKey(x, k = "first") {
1614
- u.current = x, h.current = k, b(x);
1615
- },
1616
- selectedKeys: y,
1617
- setSelectedKeys(x) {
1618
- (i || !ei(x, y)) && v(x);
1619
- },
1620
- disabledKeys: K,
1621
- disabledBehavior: r
1622
- };
1623
- }
1624
- function Ne(n, e) {
1625
- return n ? n === "all" ? "all" : new R(n) : e;
1626
- }
1627
- class rt {
1628
- /**
1629
- * The type of selection that is allowed in the collection.
1630
- */
1631
- get selectionMode() {
1632
- return this.state.selectionMode;
1633
- }
1634
- /**
1635
- * Whether the collection allows empty selection.
1636
- */
1637
- get disallowEmptySelection() {
1638
- return this.state.disallowEmptySelection;
1639
- }
1640
- /**
1641
- * The selection behavior for the collection.
1642
- */
1643
- get selectionBehavior() {
1644
- return this.state.selectionBehavior;
1645
- }
1646
- /**
1647
- * Sets the selection behavior for the collection.
1648
- */
1649
- setSelectionBehavior(e) {
1650
- this.state.setSelectionBehavior(e);
1651
- }
1652
- /**
1653
- * Whether the collection is currently focused.
1654
- */
1655
- get isFocused() {
1656
- return this.state.isFocused;
1657
- }
1658
- /**
1659
- * Sets whether the collection is focused.
1660
- */
1661
- setFocused(e) {
1662
- this.state.setFocused(e);
1663
- }
1664
- /**
1665
- * The current focused key in the collection.
1666
- */
1667
- get focusedKey() {
1668
- return this.state.focusedKey;
1669
- }
1670
- /** Whether the first or last child of the focused key should receive focus. */
1671
- get childFocusStrategy() {
1672
- return this.state.childFocusStrategy;
1673
- }
1674
- /**
1675
- * Sets the focused key.
1676
- */
1677
- setFocusedKey(e, t) {
1678
- (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
1679
- }
1680
- /**
1681
- * The currently selected keys in the collection.
1682
- */
1683
- get selectedKeys() {
1684
- return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
1685
- }
1686
- /**
1687
- * The raw selection value for the collection.
1688
- * Either 'all' for select all, or a set of keys.
1689
- */
1690
- get rawSelection() {
1691
- return this.state.selectedKeys;
1692
- }
1693
- /**
1694
- * Returns whether a key is selected.
1695
- */
1696
- isSelected(e) {
1697
- if (this.state.selectionMode === "none") return !1;
1698
- let t = this.getKey(e);
1699
- return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
1700
- }
1701
- /**
1702
- * Whether the selection is empty.
1703
- */
1704
- get isEmpty() {
1705
- return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
1706
- }
1707
- /**
1708
- * Whether all items in the collection are selected.
1709
- */
1710
- get isSelectAll() {
1711
- if (this.isEmpty) return !1;
1712
- if (this.state.selectedKeys === "all") return !0;
1713
- if (this._isSelectAll != null) return this._isSelectAll;
1714
- let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
1715
- return this._isSelectAll = e.every((i) => t.has(i)), this._isSelectAll;
1716
- }
1717
- get firstSelectedKey() {
1718
- let e = null;
1719
- for (let i of this.state.selectedKeys) {
1720
- let l = this.collection.getItem(i);
1721
- (!e || l && pe(this.collection, l, e) < 0) && (e = l);
1722
- }
1723
- var t;
1724
- return (t = e?.key) !== null && t !== void 0 ? t : null;
1725
- }
1726
- get lastSelectedKey() {
1727
- let e = null;
1728
- for (let i of this.state.selectedKeys) {
1729
- let l = this.collection.getItem(i);
1730
- (!e || l && pe(this.collection, l, e) > 0) && (e = l);
1731
- }
1732
- var t;
1733
- return (t = e?.key) !== null && t !== void 0 ? t : null;
1734
- }
1735
- get disabledKeys() {
1736
- return this.state.disabledKeys;
1737
- }
1738
- get disabledBehavior() {
1739
- return this.state.disabledBehavior;
1740
- }
1741
- /**
1742
- * Extends the selection to the given key.
1743
- */
1744
- extendSelection(e) {
1745
- if (this.selectionMode === "none") return;
1746
- if (this.selectionMode === "single") {
1747
- this.replaceSelection(e);
1748
- return;
1749
- }
1750
- let t = this.getKey(e);
1751
- if (t == null) return;
1752
- let i;
1753
- if (this.state.selectedKeys === "all") i = new R([
1754
- t
1755
- ], t, t);
1756
- else {
1757
- let s = this.state.selectedKeys;
1758
- var l;
1759
- let c = (l = s.anchorKey) !== null && l !== void 0 ? l : t;
1760
- i = new R(s, c, t);
1761
- var r;
1762
- for (let u of this.getKeyRange(c, (r = s.currentKey) !== null && r !== void 0 ? r : t)) i.delete(u);
1763
- for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
1764
- }
1765
- this.state.setSelectedKeys(i);
1766
- }
1767
- getKeyRange(e, t) {
1768
- let i = this.collection.getItem(e), l = this.collection.getItem(t);
1769
- return i && l ? pe(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
1770
- }
1771
- getKeyRangeInternal(e, t) {
1772
- var i;
1773
- if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
1774
- let l = [], r = e;
1775
- for (; r != null; ) {
1776
- let s = this.collection.getItem(r);
1777
- if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && l.push(r), r === t) return l;
1778
- r = this.collection.getKeyAfter(r);
1779
- }
1780
- return [];
1781
- }
1782
- getKey(e) {
1783
- let t = this.collection.getItem(e);
1784
- if (!t || t.type === "cell" && this.allowsCellSelection) return e;
1785
- for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
1786
- return !t || t.type !== "item" ? null : t.key;
1787
- }
1788
- /**
1789
- * Toggles whether the given key is selected.
1790
- */
1791
- toggleSelection(e) {
1792
- if (this.selectionMode === "none") return;
1793
- if (this.selectionMode === "single" && !this.isSelected(e)) {
1794
- this.replaceSelection(e);
1795
- return;
1796
- }
1797
- let t = this.getKey(e);
1798
- if (t == null) return;
1799
- let i = new R(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
1800
- i.has(t) ? i.delete(t) : this.canSelectItem(t) && (i.add(t), i.anchorKey = t, i.currentKey = t), !(this.disallowEmptySelection && i.size === 0) && this.state.setSelectedKeys(i);
1801
- }
1802
- /**
1803
- * Replaces the selection with only the given key.
1804
- */
1805
- replaceSelection(e) {
1806
- if (this.selectionMode === "none") return;
1807
- let t = this.getKey(e);
1808
- if (t == null) return;
1809
- let i = this.canSelectItem(t) ? new R([
1810
- t
1811
- ], t, t) : new R();
1812
- this.state.setSelectedKeys(i);
1813
- }
1814
- /**
1815
- * Replaces the selection with the given keys.
1816
- */
1817
- setSelectedKeys(e) {
1818
- if (this.selectionMode === "none") return;
1819
- let t = new R();
1820
- for (let i of e) {
1821
- let l = this.getKey(i);
1822
- if (l != null && (t.add(l), this.selectionMode === "single"))
1823
- break;
1824
- }
1825
- this.state.setSelectedKeys(t);
1826
- }
1827
- getSelectAllKeys() {
1828
- let e = [], t = (i) => {
1829
- for (; i != null; ) {
1830
- if (this.canSelectItem(i)) {
1831
- var l;
1832
- let s = this.collection.getItem(i);
1833
- s?.type === "item" && e.push(i);
1834
- var r;
1835
- s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((r = (l = Rt(At(s, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && r !== void 0 ? r : null);
1836
- }
1837
- i = this.collection.getKeyAfter(i);
1838
- }
1839
- };
1840
- return t(this.collection.getFirstKey()), e;
1841
- }
1842
- /**
1843
- * Selects all items in the collection.
1844
- */
1845
- selectAll() {
1846
- !this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
1847
- }
1848
- /**
1849
- * Removes all keys from the selection.
1850
- */
1851
- clearSelection() {
1852
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new R());
1853
- }
1854
- /**
1855
- * Toggles between select all and an empty selection.
1856
- */
1857
- toggleSelectAll() {
1858
- this.isSelectAll ? this.clearSelection() : this.selectAll();
1859
- }
1860
- select(e, t) {
1861
- this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));
1862
- }
1863
- /**
1864
- * Returns whether the current selection is equal to the given selection.
1865
- */
1866
- isSelectionEqual(e) {
1867
- if (e === this.state.selectedKeys) return !0;
1868
- let t = this.selectedKeys;
1869
- if (e.size !== t.size) return !1;
1870
- for (let i of e)
1871
- if (!t.has(i)) return !1;
1872
- for (let i of t)
1873
- if (!e.has(i)) return !1;
1874
- return !0;
1875
- }
1876
- canSelectItem(e) {
1877
- var t;
1878
- if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
1879
- let i = this.collection.getItem(e);
1880
- return !(!i || !(i == null || (t = i.props) === null || t === void 0) && t.isDisabled || i.type === "cell" && !this.allowsCellSelection);
1881
- }
1882
- isDisabled(e) {
1883
- var t, i;
1884
- return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.isDisabled));
1885
- }
1886
- isLink(e) {
1887
- var t, i;
1888
- return !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.href);
1889
- }
1890
- getItemProps(e) {
1891
- var t;
1892
- return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
1893
- }
1894
- withCollection(e) {
1895
- return new rt(e, this.state, {
1896
- allowsCellSelection: this.allowsCellSelection,
1897
- layoutDelegate: this.layoutDelegate || void 0
1898
- });
1899
- }
1900
- constructor(e, t, i) {
1901
- this.collection = e, this.state = t;
1902
- var l;
1903
- this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
1904
- }
1905
- }
1906
- export {
1907
- Ki as $,
1908
- _t as A,
1909
- Di as B,
1910
- Ze as C,
1911
- Xe as D,
1912
- $t as E,
1913
- Ye as F,
1914
- St as G,
1915
- wt as H,
1916
- q as I,
1917
- Ct as J,
1918
- xt as K,
1919
- Si as a,
1920
- At as b,
1921
- ki as c,
1922
- Nt as d,
1923
- ne as e,
1924
- $i as f,
1925
- Ri as g,
1926
- xi as h,
1927
- rt as i,
1928
- Ii as j,
1929
- Ht as k,
1930
- Ut as l,
1931
- Ei as m,
1932
- Pi as n,
1933
- Mi as o,
1934
- Ci as p,
1935
- Fi as q,
1936
- zt as r,
1937
- It as s,
1938
- Zt as t,
1939
- Ai as u,
1940
- wi as v,
1941
- Rt as w,
1942
- Tt as x,
1943
- Me as y,
1944
- tt as z
1945
- };
1946
- //# sourceMappingURL=SelectionManager-CLyu96pU.es.js.map