@commercetools/nimbus 0.0.0-canary-20251001152303 → 0.0.0-canary-20251006121034

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 (440) hide show
  1. package/dist/chunks/{Button-B6xR_FqM.es.js → Button-B4rWEUgy.es.js} +3 -3
  2. package/dist/chunks/{Button-B6xR_FqM.es.js.map → Button-B4rWEUgy.es.js.map} +1 -1
  3. package/dist/chunks/{Button-BBCRIYjC.cjs.js → Button-BX9V1fKa.cjs.js} +2 -2
  4. package/dist/chunks/{Button-BBCRIYjC.cjs.js.map → Button-BX9V1fKa.cjs.js.map} +1 -1
  5. package/dist/chunks/{Separator-HDKQdp4v.es.js → CollectionBuilder-CnAf_Hbh.es.js} +171 -220
  6. package/dist/chunks/CollectionBuilder-CnAf_Hbh.es.js.map +1 -0
  7. package/dist/chunks/CollectionBuilder-ktWuMEDl.cjs.js +18 -0
  8. package/dist/chunks/CollectionBuilder-ktWuMEDl.cjs.js.map +1 -0
  9. package/dist/chunks/{DateField-ilC6DQcU.es.js → DateField-CJaVAtIO.es.js} +29 -28
  10. package/dist/chunks/{DateField-ilC6DQcU.es.js.map → DateField-CJaVAtIO.es.js.map} +1 -1
  11. package/dist/chunks/DateField-bECiqmOq.cjs.js +2 -0
  12. package/dist/chunks/{DateField-XplnfOh0.cjs.js.map → DateField-bECiqmOq.cjs.js.map} +1 -1
  13. package/dist/chunks/{DatePicker-DmiNa1e-.es.js → DatePicker-CNFrZo-Y.es.js} +11 -11
  14. package/dist/chunks/{DatePicker-DmiNa1e-.es.js.map → DatePicker-CNFrZo-Y.es.js.map} +1 -1
  15. package/dist/chunks/{DatePicker-Cy1-NRmz.cjs.js → DatePicker-Jp1k0J8J.cjs.js} +2 -2
  16. package/dist/chunks/{DatePicker-Cy1-NRmz.cjs.js.map → DatePicker-Jp1k0J8J.cjs.js.map} +1 -1
  17. package/dist/chunks/{Dialog-SvkYfu5i.es.js → Dialog-BES3uitF.es.js} +34 -32
  18. package/dist/chunks/{Dialog-SvkYfu5i.es.js.map → Dialog-BES3uitF.es.js.map} +1 -1
  19. package/dist/chunks/Dialog-BjViQ1kS.cjs.js +2 -0
  20. package/dist/chunks/{Dialog-BhqTE75I.cjs.js.map → Dialog-BjViQ1kS.cjs.js.map} +1 -1
  21. package/dist/chunks/DragAndDrop-BHROhXqz.cjs.js +2 -0
  22. package/dist/chunks/DragAndDrop-BHROhXqz.cjs.js.map +1 -0
  23. package/dist/chunks/DragAndDrop-pO79ecrt.es.js +76 -0
  24. package/dist/chunks/DragAndDrop-pO79ecrt.es.js.map +1 -0
  25. package/dist/chunks/{FocusScope-9EbM1-n6.es.js → FocusScope-DX4XeOlU.es.js} +3 -3
  26. package/dist/chunks/{FocusScope-9EbM1-n6.es.js.map → FocusScope-DX4XeOlU.es.js.map} +1 -1
  27. package/dist/chunks/{Group-DI0poa1g.es.js → Group-BxpOGeri.es.js} +2 -2
  28. package/dist/chunks/{Group-DI0poa1g.es.js.map → Group-BxpOGeri.es.js.map} +1 -1
  29. package/dist/chunks/{Header-CnkbxL1Z.es.js → Header-Ct80DBHo.es.js} +16 -15
  30. package/dist/chunks/{Header-CnkbxL1Z.es.js.map → Header-Ct80DBHo.es.js.map} +1 -1
  31. package/dist/chunks/Header-DaJELAp2.cjs.js +2 -0
  32. package/dist/chunks/{Header-BzYpow-F.cjs.js.map → Header-DaJELAp2.cjs.js.map} +1 -1
  33. package/dist/chunks/Heading-DTQGnC9u.cjs.js +2 -0
  34. package/dist/chunks/{Heading-B83Y0yT_.cjs.js.map → Heading-DTQGnC9u.cjs.js.map} +1 -1
  35. package/dist/chunks/{Heading-DK3LFGss.es.js → Heading-XAXXCxH_.es.js} +19 -18
  36. package/dist/chunks/{Heading-DK3LFGss.es.js.map → Heading-XAXXCxH_.es.js.map} +1 -1
  37. package/dist/chunks/{Input-C_bvHj-u.es.js → Input-PIGi4zSb.es.js} +2 -2
  38. package/dist/chunks/{Input-C_bvHj-u.es.js.map → Input-PIGi4zSb.es.js.map} +1 -1
  39. package/dist/chunks/{Label-DJtK5B3m.es.js → Label-Bnr234yV.es.js} +2 -2
  40. package/dist/chunks/{Label-DJtK5B3m.es.js.map → Label-Bnr234yV.es.js.map} +1 -1
  41. package/dist/chunks/ListBox-Cvau7xVd.es.js +482 -0
  42. package/dist/chunks/ListBox-Cvau7xVd.es.js.map +1 -0
  43. package/dist/chunks/ListBox-a0CeLtdT.cjs.js +2 -0
  44. package/dist/chunks/ListBox-a0CeLtdT.cjs.js.map +1 -0
  45. package/dist/chunks/ListKeyboardDelegate-BVAEoSYa.es.js +159 -0
  46. package/dist/chunks/ListKeyboardDelegate-BVAEoSYa.es.js.map +1 -0
  47. package/dist/chunks/ListKeyboardDelegate-CQ06Y8PS.cjs.js +2 -0
  48. package/dist/chunks/ListKeyboardDelegate-CQ06Y8PS.cjs.js.map +1 -0
  49. package/dist/chunks/{ProgressBar-BTjAZZI-.es.js → ProgressBar-8CLctnNS.es.js} +4 -4
  50. package/dist/chunks/{ProgressBar-BTjAZZI-.es.js.map → ProgressBar-8CLctnNS.es.js.map} +1 -1
  51. package/dist/chunks/{ProgressBar-BA3sLh1k.cjs.js → ProgressBar-C9Y3C7_B.cjs.js} +2 -2
  52. package/dist/chunks/{ProgressBar-BA3sLh1k.cjs.js.map → ProgressBar-C9Y3C7_B.cjs.js.map} +1 -1
  53. package/dist/chunks/SelectionManager-D0SrvztK.cjs.js +2 -0
  54. package/dist/chunks/SelectionManager-D0SrvztK.cjs.js.map +1 -0
  55. package/dist/chunks/SelectionManager-ZjjLBkhT.es.js +1112 -0
  56. package/dist/chunks/SelectionManager-ZjjLBkhT.es.js.map +1 -0
  57. package/dist/chunks/Separator-ByzNXVMY.cjs.js +2 -0
  58. package/dist/chunks/Separator-ByzNXVMY.cjs.js.map +1 -0
  59. package/dist/chunks/Separator-uzjdFtzc.es.js +55 -0
  60. package/dist/chunks/Separator-uzjdFtzc.es.js.map +1 -0
  61. package/dist/chunks/{TextArea-P6n8ajPu.es.js → TextArea-C1f7sxZE.es.js} +2 -2
  62. package/dist/chunks/{TextArea-P6n8ajPu.es.js.map → TextArea-C1f7sxZE.es.js.map} +1 -1
  63. package/dist/chunks/{ToggleButton-Xg4v21hw.es.js → ToggleButton-fDDAsgbh.es.js} +3 -3
  64. package/dist/chunks/{ToggleButton-Xg4v21hw.es.js.map → ToggleButton-fDDAsgbh.es.js.map} +1 -1
  65. package/dist/chunks/{accordion-CdIEuDDs.cjs.js → accordion-CTf-EezL.cjs.js} +2 -2
  66. package/dist/chunks/{accordion-CdIEuDDs.cjs.js.map → accordion-CTf-EezL.cjs.js.map} +1 -1
  67. package/dist/chunks/{accordion-1xPIt07g.es.js → accordion-CrhSXh2g.es.js} +4 -4
  68. package/dist/chunks/{accordion-1xPIt07g.es.js.map → accordion-CrhSXh2g.es.js.map} +1 -1
  69. package/dist/chunks/{alert-CZEBRJ9p.cjs.js → alert-1SD3W0NM.cjs.js} +2 -2
  70. package/dist/chunks/{alert-CZEBRJ9p.cjs.js.map → alert-1SD3W0NM.cjs.js.map} +1 -1
  71. package/dist/chunks/{alert-Blp_hf9F.es.js → alert-CXasIq6Y.es.js} +2 -2
  72. package/dist/chunks/{alert-Blp_hf9F.es.js.map → alert-CXasIq6Y.es.js.map} +1 -1
  73. package/dist/chunks/{button-tLehmoCt.es.js → button-B217AifM.es.js} +4 -4
  74. package/dist/chunks/{button-tLehmoCt.es.js.map → button-B217AifM.es.js.map} +1 -1
  75. package/dist/chunks/{button-BSWhqzIJ.cjs.js → button-BhVhRwdZ.cjs.js} +2 -2
  76. package/dist/chunks/{button-BSWhqzIJ.cjs.js.map → button-BhVhRwdZ.cjs.js.map} +1 -1
  77. package/dist/chunks/{calendar-xPQsLl6L.cjs.js → calendar-DZ6QCilR.cjs.js} +2 -2
  78. package/dist/chunks/{calendar-xPQsLl6L.cjs.js.map → calendar-DZ6QCilR.cjs.js.map} +1 -1
  79. package/dist/chunks/{calendar-B58zfVhs.es.js → calendar-euzrPJOE.es.js} +8 -8
  80. package/dist/chunks/{calendar-B58zfVhs.es.js.map → calendar-euzrPJOE.es.js.map} +1 -1
  81. package/dist/chunks/{checkbox-CLR3YHZW.cjs.js → checkbox-B9rVYe9E.cjs.js} +2 -2
  82. package/dist/chunks/{checkbox-CLR3YHZW.cjs.js.map → checkbox-B9rVYe9E.cjs.js.map} +1 -1
  83. package/dist/chunks/{checkbox-D1Y9DVYF.es.js → checkbox-qG3rh1-g.es.js} +3 -3
  84. package/dist/chunks/{checkbox-D1Y9DVYF.es.js.map → checkbox-qG3rh1-g.es.js.map} +1 -1
  85. package/dist/chunks/{collapsible-motion-BvdtYGQE.es.js → collapsible-motion-CAkBCbL5.es.js} +3 -3
  86. package/dist/chunks/{collapsible-motion-BvdtYGQE.es.js.map → collapsible-motion-CAkBCbL5.es.js.map} +1 -1
  87. package/dist/chunks/{collapsible-motion-D3QM37Qz.cjs.js → collapsible-motion-DcEuO0Jb.cjs.js} +2 -2
  88. package/dist/chunks/{collapsible-motion-D3QM37Qz.cjs.js.map → collapsible-motion-DcEuO0Jb.cjs.js.map} +1 -1
  89. package/dist/chunks/{combobox-BWJoplDo.es.js → combobox-C36COJXy.es.js} +436 -433
  90. package/dist/chunks/{combobox-BWJoplDo.es.js.map → combobox-C36COJXy.es.js.map} +1 -1
  91. package/dist/chunks/combobox-kAy7Um1J.cjs.js +2 -0
  92. package/dist/chunks/{combobox-B60AWpPC.cjs.js.map → combobox-kAy7Um1J.cjs.js.map} +1 -1
  93. package/dist/chunks/context-C2UT8Mt7.es.js +7 -0
  94. package/dist/chunks/context-C2UT8Mt7.es.js.map +1 -0
  95. package/dist/chunks/context-DZZvJXRR.cjs.js +2 -0
  96. package/dist/chunks/context-DZZvJXRR.cjs.js.map +1 -0
  97. package/dist/chunks/{data-table-D4e35rxu.es.js → data-table-Cb4Mijem.es.js} +69 -64
  98. package/dist/chunks/{data-table-D4e35rxu.es.js.map → data-table-Cb4Mijem.es.js.map} +1 -1
  99. package/dist/chunks/data-table-DLEAOjew.cjs.js +2 -0
  100. package/dist/chunks/{data-table-BJVv7I8A.cjs.js.map → data-table-DLEAOjew.cjs.js.map} +1 -1
  101. package/dist/chunks/{date-input-CK3WtPkJ.cjs.js → date-input-BgYuUcmm.cjs.js} +2 -2
  102. package/dist/chunks/{date-input-CK3WtPkJ.cjs.js.map → date-input-BgYuUcmm.cjs.js.map} +1 -1
  103. package/dist/chunks/{date-input-Daj_CPWN.es.js → date-input-CjCaMm5y.es.js} +4 -4
  104. package/dist/chunks/{date-input-Daj_CPWN.es.js.map → date-input-CjCaMm5y.es.js.map} +1 -1
  105. package/dist/chunks/{date-picker-mE3ZgF5x.cjs.js → date-picker-B_DRiOBl.cjs.js} +2 -2
  106. package/dist/chunks/{date-picker-mE3ZgF5x.cjs.js.map → date-picker-B_DRiOBl.cjs.js.map} +1 -1
  107. package/dist/chunks/{date-picker-BLb_IHhd.es.js → date-picker-h7yCCEf6.es.js} +14 -14
  108. package/dist/chunks/{date-picker-BLb_IHhd.es.js.map → date-picker-h7yCCEf6.es.js.map} +1 -1
  109. package/dist/chunks/{date-range-picker--g9Bzar4.cjs.js → date-range-picker-mZXccOfF.cjs.js} +2 -2
  110. package/dist/chunks/{date-range-picker--g9Bzar4.cjs.js.map → date-range-picker-mZXccOfF.cjs.js.map} +1 -1
  111. package/dist/chunks/{date-range-picker-B5KfWxe9.es.js → date-range-picker-sR1EqD5o.es.js} +14 -14
  112. package/dist/chunks/{date-range-picker-B5KfWxe9.es.js.map → date-range-picker-sR1EqD5o.es.js.map} +1 -1
  113. package/dist/chunks/{dialog-Bx0O1gKI.es.js → dialog-c3MhpudZ.es.js} +2 -2
  114. package/dist/chunks/{dialog-Bx0O1gKI.es.js.map → dialog-c3MhpudZ.es.js.map} +1 -1
  115. package/dist/chunks/{dialog-Bech4WpU.cjs.js → dialog-stSUnU4Z.cjs.js} +2 -2
  116. package/dist/chunks/{dialog-Bech4WpU.cjs.js.map → dialog-stSUnU4Z.cjs.js.map} +1 -1
  117. package/dist/chunks/{dialog.title-CfwJLUeB.es.js → dialog.title-BQzTm9Ja.es.js} +8 -8
  118. package/dist/chunks/{dialog.title-CfwJLUeB.es.js.map → dialog.title-BQzTm9Ja.es.js.map} +1 -1
  119. package/dist/chunks/{dialog.title-RLHmO1dx.cjs.js → dialog.title-a62Dfq9N.cjs.js} +2 -2
  120. package/dist/chunks/{dialog.title-RLHmO1dx.cjs.js.map → dialog.title-a62Dfq9N.cjs.js.map} +1 -1
  121. package/dist/chunks/{extractStyleProps-DjVNA871.es.js → extractStyleProps-X2q7HF5R.es.js} +2 -2
  122. package/dist/chunks/{extractStyleProps-DjVNA871.es.js.map → extractStyleProps-X2q7HF5R.es.js.map} +1 -1
  123. package/dist/chunks/{extractStyleProps-Q5HTdHwJ.cjs.js → extractStyleProps-Y0FOIaxn.cjs.js} +2 -2
  124. package/dist/chunks/{extractStyleProps-Q5HTdHwJ.cjs.js.map → extractStyleProps-Y0FOIaxn.cjs.js.map} +1 -1
  125. package/dist/chunks/{form-field-8JwWMQy1.cjs.js → form-field-CjukL5Yf.cjs.js} +2 -2
  126. package/dist/chunks/{form-field-8JwWMQy1.cjs.js.map → form-field-CjukL5Yf.cjs.js.map} +1 -1
  127. package/dist/chunks/{form-field-BBRdeEEq.es.js → form-field-qKegjjTB.es.js} +4 -4
  128. package/dist/chunks/{form-field-BBRdeEEq.es.js.map → form-field-qKegjjTB.es.js.map} +1 -1
  129. package/dist/chunks/getScrollParent-BP68S0-T.es.js +10 -0
  130. package/dist/chunks/getScrollParent-BP68S0-T.es.js.map +1 -0
  131. package/dist/chunks/getScrollParent-DMjBbTR5.cjs.js +2 -0
  132. package/dist/chunks/getScrollParent-DMjBbTR5.cjs.js.map +1 -0
  133. package/dist/chunks/{group-DRLYSxIt.es.js → group-Bkcnezrb.es.js} +2 -2
  134. package/dist/chunks/{group-DRLYSxIt.es.js.map → group-Bkcnezrb.es.js.map} +1 -1
  135. package/dist/chunks/{heading-C3E6ZfYZ.es.js → heading-BcPZEIqe.es.js} +2 -2
  136. package/dist/chunks/{heading-C3E6ZfYZ.es.js.map → heading-BcPZEIqe.es.js.map} +1 -1
  137. package/dist/chunks/{icon-button-CctfLs8I.es.js → icon-button-Cbuscfqi.es.js} +2 -2
  138. package/dist/chunks/{icon-button-CctfLs8I.es.js.map → icon-button-Cbuscfqi.es.js.map} +1 -1
  139. package/dist/chunks/{icon-button-BeIGRIFN.cjs.js → icon-button-D31vHiXo.cjs.js} +2 -2
  140. package/dist/chunks/{icon-button-BeIGRIFN.cjs.js.map → icon-button-D31vHiXo.cjs.js.map} +1 -1
  141. package/dist/chunks/{icon-toggle-button-ONFPX0qS.cjs.js → icon-toggle-button-BpiDxtRW.cjs.js} +2 -2
  142. package/dist/chunks/{icon-toggle-button-ONFPX0qS.cjs.js.map → icon-toggle-button-BpiDxtRW.cjs.js.map} +1 -1
  143. package/dist/chunks/{icon-toggle-button-0s_KaTfe.es.js → icon-toggle-button-BvziQy83.es.js} +2 -2
  144. package/dist/chunks/{icon-toggle-button-0s_KaTfe.es.js.map → icon-toggle-button-BvziQy83.es.js.map} +1 -1
  145. package/dist/chunks/{index-SuWPp512.cjs.js → index-BER2ZcrK.cjs.js} +5 -5
  146. package/dist/chunks/index-BER2ZcrK.cjs.js.map +1 -0
  147. package/dist/chunks/{index-fjbcWgyz.es.js → index-Rp8alyOt.es.js} +364 -79
  148. package/dist/chunks/index-Rp8alyOt.es.js.map +1 -0
  149. package/dist/chunks/inertValue-B3AFhVG4.cjs.js +2 -0
  150. package/dist/chunks/inertValue-B3AFhVG4.cjs.js.map +1 -0
  151. package/dist/chunks/inertValue-B7loUihk.es.js +9 -0
  152. package/dist/chunks/inertValue-B7loUihk.es.js.map +1 -0
  153. package/dist/chunks/{kbd-DwetANiO.es.js → kbd-B-9k-UDU.es.js} +2 -2
  154. package/dist/chunks/{kbd-DwetANiO.es.js.map → kbd-B-9k-UDU.es.js.map} +1 -1
  155. package/dist/chunks/{loading-spinner-CcVJ_X-1.es.js → loading-spinner-Bh75bpAx.es.js} +2 -2
  156. package/dist/chunks/{loading-spinner-CcVJ_X-1.es.js.map → loading-spinner-Bh75bpAx.es.js.map} +1 -1
  157. package/dist/chunks/{loading-spinner-CSKBo1bM.cjs.js → loading-spinner-DDhqsR0J.cjs.js} +2 -2
  158. package/dist/chunks/{loading-spinner-CSKBo1bM.cjs.js.map → loading-spinner-DDhqsR0J.cjs.js.map} +1 -1
  159. package/dist/chunks/localized-field-Da_lO0Xv.cjs.js +2 -0
  160. package/dist/chunks/{localized-field-hQsX33XN.cjs.js.map → localized-field-Da_lO0Xv.cjs.js.map} +1 -1
  161. package/dist/chunks/{localized-field-C2cbHq3g.es.js → localized-field-jmL7ErGy.es.js} +13 -13
  162. package/dist/chunks/{localized-field-C2cbHq3g.es.js.map → localized-field-jmL7ErGy.es.js.map} +1 -1
  163. package/dist/chunks/menu-CbZRD4Zi.cjs.js +2 -0
  164. package/dist/chunks/{menu-CbBblVAx.cjs.js.map → menu-CbZRD4Zi.cjs.js.map} +1 -1
  165. package/dist/chunks/{menu-BjwsANQd.es.js → menu-D_dDdteu.es.js} +7 -7
  166. package/dist/chunks/{menu-BjwsANQd.es.js.map → menu-D_dDdteu.es.js.map} +1 -1
  167. package/dist/chunks/{money-input-Cs8XrifY.es.js → money-input-CSG-fXjp.es.js} +6 -6
  168. package/dist/chunks/{money-input-Cs8XrifY.es.js.map → money-input-CSG-fXjp.es.js.map} +1 -1
  169. package/dist/chunks/{money-input-CdGqdo4S.cjs.js → money-input-yydxUj05.cjs.js} +2 -2
  170. package/dist/chunks/{money-input-CdGqdo4S.cjs.js.map → money-input-yydxUj05.cjs.js.map} +1 -1
  171. package/dist/chunks/{multiline-text-input-n_bb3ViF.cjs.js → multiline-text-input-CBVUPT8X.cjs.js} +2 -2
  172. package/dist/chunks/{multiline-text-input-n_bb3ViF.cjs.js.map → multiline-text-input-CBVUPT8X.cjs.js.map} +1 -1
  173. package/dist/chunks/{multiline-text-input-DGMceBRu.es.js → multiline-text-input-CKTjmjYI.es.js} +4 -4
  174. package/dist/chunks/{multiline-text-input-DGMceBRu.es.js.map → multiline-text-input-CKTjmjYI.es.js.map} +1 -1
  175. package/dist/chunks/{nimbus-provider-BND7wasE.es.js → nimbus-provider-DpLvY2wG.es.js} +2 -2
  176. package/dist/chunks/{nimbus-provider-BND7wasE.es.js.map → nimbus-provider-DpLvY2wG.es.js.map} +1 -1
  177. package/dist/chunks/{nimbus-provider-ChYtQ95-.cjs.js → nimbus-provider-QPipJ-cQ.cjs.js} +2 -2
  178. package/dist/chunks/{nimbus-provider-ChYtQ95-.cjs.js.map → nimbus-provider-QPipJ-cQ.cjs.js.map} +1 -1
  179. package/dist/chunks/{number-input-BQvDkOaw.cjs.js → number-input-DsdncH9m.cjs.js} +2 -2
  180. package/dist/chunks/{number-input-BQvDkOaw.cjs.js.map → number-input-DsdncH9m.cjs.js.map} +1 -1
  181. package/dist/chunks/{number-input-DVUK5Vqy.es.js → number-input-bsf603FR.es.js} +7 -7
  182. package/dist/chunks/{number-input-DVUK5Vqy.es.js.map → number-input-bsf603FR.es.js.map} +1 -1
  183. package/dist/chunks/{pagination-DtowryRO.cjs.js → pagination-CZlgjftl.cjs.js} +2 -2
  184. package/dist/chunks/{pagination-DtowryRO.cjs.js.map → pagination-CZlgjftl.cjs.js.map} +1 -1
  185. package/dist/chunks/{pagination-BOCer9DU.es.js → pagination-CiGXK9Nx.es.js} +5 -5
  186. package/dist/chunks/{pagination-BOCer9DU.es.js.map → pagination-CiGXK9Nx.es.js.map} +1 -1
  187. package/dist/chunks/{password-input-Brdfp_j8.es.js → password-input-BPXjJmT0.es.js} +4 -4
  188. package/dist/chunks/{password-input-Brdfp_j8.es.js.map → password-input-BPXjJmT0.es.js.map} +1 -1
  189. package/dist/chunks/{password-input-B-YRh6bw.cjs.js → password-input-SzoKF46U.cjs.js} +2 -2
  190. package/dist/chunks/{password-input-B-YRh6bw.cjs.js.map → password-input-SzoKF46U.cjs.js.map} +1 -1
  191. package/dist/chunks/{popover-diWkZ07x.es.js → popover-CbT_ZnVZ.es.js} +2 -2
  192. package/dist/chunks/{popover-diWkZ07x.es.js.map → popover-CbT_ZnVZ.es.js.map} +1 -1
  193. package/dist/chunks/{popover-QYDVIaQN.cjs.js → popover-CsS8xrcN.cjs.js} +2 -2
  194. package/dist/chunks/{popover-QYDVIaQN.cjs.js.map → popover-CsS8xrcN.cjs.js.map} +1 -1
  195. package/dist/chunks/{progress-bar-hYGJlvcE.es.js → progress-bar-6kijUYy7.es.js} +4 -4
  196. package/dist/chunks/{progress-bar-hYGJlvcE.es.js.map → progress-bar-6kijUYy7.es.js.map} +1 -1
  197. package/dist/chunks/{progress-bar-m6NsCg7W.cjs.js → progress-bar-CZWi2j-A.cjs.js} +2 -2
  198. package/dist/chunks/{progress-bar-m6NsCg7W.cjs.js.map → progress-bar-CZWi2j-A.cjs.js.map} +1 -1
  199. package/dist/chunks/{radio-input-CVk4E1vl.cjs.js → radio-input-BQnglpND.cjs.js} +2 -2
  200. package/dist/chunks/{radio-input-CVk4E1vl.cjs.js.map → radio-input-BQnglpND.cjs.js.map} +1 -1
  201. package/dist/chunks/{radio-input-DpkravQW.es.js → radio-input-D3wcXcML.es.js} +7 -7
  202. package/dist/chunks/{radio-input-DpkravQW.es.js.map → radio-input-D3wcXcML.es.js.map} +1 -1
  203. package/dist/chunks/{range-calendar-BA_Ep3Zy.cjs.js → range-calendar-1fYdOUsX.cjs.js} +2 -2
  204. package/dist/chunks/{range-calendar-BA_Ep3Zy.cjs.js.map → range-calendar-1fYdOUsX.cjs.js.map} +1 -1
  205. package/dist/chunks/{range-calendar-4rEdNmr4.es.js → range-calendar-6jFNAEAg.es.js} +8 -8
  206. package/dist/chunks/{range-calendar-4rEdNmr4.es.js.map → range-calendar-6jFNAEAg.es.js.map} +1 -1
  207. package/dist/chunks/{rich-text-input-DxCnw4AP.cjs.js → rich-text-input-BuUFifqH.cjs.js} +2 -2
  208. package/dist/chunks/{rich-text-input-DxCnw4AP.cjs.js.map → rich-text-input-BuUFifqH.cjs.js.map} +1 -1
  209. package/dist/chunks/{rich-text-input-MyC1ucSo.es.js → rich-text-input-y3Ztu4u-.es.js} +11 -11
  210. package/dist/chunks/{rich-text-input-MyC1ucSo.es.js.map → rich-text-input-y3Ztu4u-.es.js.map} +1 -1
  211. package/dist/chunks/scrollIntoView-BMOHri7A.es.js +88 -0
  212. package/dist/chunks/scrollIntoView-BMOHri7A.es.js.map +1 -0
  213. package/dist/chunks/scrollIntoView-BUxnYRy-.cjs.js +2 -0
  214. package/dist/chunks/scrollIntoView-BUxnYRy-.cjs.js.map +1 -0
  215. package/dist/chunks/search-input-B33iZIwM.cjs.js +2 -0
  216. package/dist/chunks/search-input-B33iZIwM.cjs.js.map +1 -0
  217. package/dist/chunks/search-input-C0VUR3O4.es.js +361 -0
  218. package/dist/chunks/search-input-C0VUR3O4.es.js.map +1 -0
  219. package/dist/chunks/select-BqdAI1d_.cjs.js +2 -0
  220. package/dist/chunks/{select-ARr1JS_7.cjs.js.map → select-BqdAI1d_.cjs.js.map} +1 -1
  221. package/dist/chunks/{select-Du-L0KgJ.es.js → select-E5CfVqRs.es.js} +28 -27
  222. package/dist/chunks/{select-Du-L0KgJ.es.js.map → select-E5CfVqRs.es.js.map} +1 -1
  223. package/dist/chunks/{separator-CqI23She.cjs.js → separator-CS7cUP_r.cjs.js} +2 -2
  224. package/dist/chunks/{separator-CqI23She.cjs.js.map → separator-CS7cUP_r.cjs.js.map} +1 -1
  225. package/dist/chunks/{separator-DgdTy5cy.es.js → separator-k-QUBrJe.es.js} +3 -3
  226. package/dist/chunks/{separator-DgdTy5cy.es.js.map → separator-k-QUBrJe.es.js.map} +1 -1
  227. package/dist/chunks/{split-button-R-totPZa.es.js → split-button-BSxaJzSu.es.js} +5 -5
  228. package/dist/chunks/{split-button-R-totPZa.es.js.map → split-button-BSxaJzSu.es.js.map} +1 -1
  229. package/dist/chunks/{split-button-I1ltM4Vj.cjs.js → split-button-kxg9fMmr.cjs.js} +2 -2
  230. package/dist/chunks/{split-button-I1ltM4Vj.cjs.js.map → split-button-kxg9fMmr.cjs.js.map} +1 -1
  231. package/dist/chunks/{switch-DZ8nNXLD.es.js → switch-D7qvzxdp.es.js} +3 -3
  232. package/dist/chunks/{switch-DZ8nNXLD.es.js.map → switch-D7qvzxdp.es.js.map} +1 -1
  233. package/dist/chunks/{switch-CWUuLZOP.cjs.js → switch-Dz5p7iWo.cjs.js} +2 -2
  234. package/dist/chunks/{switch-CWUuLZOP.cjs.js.map → switch-Dz5p7iWo.cjs.js.map} +1 -1
  235. package/dist/chunks/tabs-Cr0ipoWy.cjs.js +2 -0
  236. package/dist/chunks/tabs-Cr0ipoWy.cjs.js.map +1 -0
  237. package/dist/chunks/tabs-paRlExWA.es.js +430 -0
  238. package/dist/chunks/tabs-paRlExWA.es.js.map +1 -0
  239. package/dist/chunks/{tag-group-85VbFf5V.es.js → tag-group-C8YHWK4s.es.js} +114 -109
  240. package/dist/chunks/{tag-group-85VbFf5V.es.js.map → tag-group-C8YHWK4s.es.js.map} +1 -1
  241. package/dist/chunks/tag-group-DzP8p-QW.cjs.js +2 -0
  242. package/dist/chunks/{tag-group-B5zBt0aa.cjs.js.map → tag-group-DzP8p-QW.cjs.js.map} +1 -1
  243. package/dist/chunks/{text-05SUCJIk.es.js → text-hbdb3OKq.es.js} +2 -2
  244. package/dist/chunks/{text-05SUCJIk.es.js.map → text-hbdb3OKq.es.js.map} +1 -1
  245. package/dist/chunks/{text-input-CaBBSE9c.cjs.js → text-input-Cou0PlND.cjs.js} +2 -2
  246. package/dist/chunks/{text-input-CaBBSE9c.cjs.js.map → text-input-Cou0PlND.cjs.js.map} +1 -1
  247. package/dist/chunks/{text-input-iDHRgozX.es.js → text-input-DnnGLiDh.es.js} +5 -5
  248. package/dist/chunks/{text-input-iDHRgozX.es.js.map → text-input-DnnGLiDh.es.js.map} +1 -1
  249. package/dist/chunks/{time-input-DUfC3pNm.es.js → time-input-BITK76gN.es.js} +3 -3
  250. package/dist/chunks/{time-input-DUfC3pNm.es.js.map → time-input-BITK76gN.es.js.map} +1 -1
  251. package/dist/chunks/{time-input-YZY-GzT7.cjs.js → time-input-CCEpvukz.cjs.js} +2 -2
  252. package/dist/chunks/{time-input-YZY-GzT7.cjs.js.map → time-input-CCEpvukz.cjs.js.map} +1 -1
  253. package/dist/chunks/{toggle-button-BFJvsG3g.es.js → toggle-button-Bj1GlXaK.es.js} +4 -4
  254. package/dist/chunks/{toggle-button-BFJvsG3g.es.js.map → toggle-button-Bj1GlXaK.es.js.map} +1 -1
  255. package/dist/chunks/{toggle-button-BKz5tJB3.cjs.js → toggle-button-DJsTTTOM.cjs.js} +2 -2
  256. package/dist/chunks/{toggle-button-BKz5tJB3.cjs.js.map → toggle-button-DJsTTTOM.cjs.js.map} +1 -1
  257. package/dist/chunks/{toggle-button-group-CYpa7G3-.es.js → toggle-button-group-DAEAd7Nm.es.js} +2 -2
  258. package/dist/chunks/{toggle-button-group-CYpa7G3-.es.js.map → toggle-button-group-DAEAd7Nm.es.js.map} +1 -1
  259. package/dist/chunks/{toolbar-BbuClYWc.cjs.js → toolbar-CF3BTufP.cjs.js} +2 -2
  260. package/dist/chunks/{toolbar-BbuClYWc.cjs.js.map → toolbar-CF3BTufP.cjs.js.map} +1 -1
  261. package/dist/chunks/{toolbar-kJJMLzLV.es.js → toolbar-vfoF3ud8.es.js} +5 -5
  262. package/dist/chunks/{toolbar-kJJMLzLV.es.js.map → toolbar-vfoF3ud8.es.js.map} +1 -1
  263. package/dist/chunks/{tooltip-B8OD-6ed.es.js → tooltip-DizSCM3_.es.js} +2 -2
  264. package/dist/chunks/{tooltip-B8OD-6ed.es.js.map → tooltip-DizSCM3_.es.js.map} +1 -1
  265. package/dist/chunks/{useField-BHGdzEiI.es.js → useField-B0j4t47V.es.js} +2 -2
  266. package/dist/chunks/{useField-BHGdzEiI.es.js.map → useField-B0j4t47V.es.js.map} +1 -1
  267. package/dist/chunks/{useField-DmqO9k7a.cjs.js → useField-C_piDZ9g.cjs.js} +2 -2
  268. package/dist/chunks/{useField-DmqO9k7a.cjs.js.map → useField-C_piDZ9g.cjs.js.map} +1 -1
  269. package/dist/chunks/useHasTabbableChild-C3FHoie4.es.js +35 -0
  270. package/dist/chunks/useHasTabbableChild-C3FHoie4.es.js.map +1 -0
  271. package/dist/chunks/useHasTabbableChild-DJr0E8t3.cjs.js +2 -0
  272. package/dist/chunks/useHasTabbableChild-DJr0E8t3.cjs.js.map +1 -0
  273. package/dist/chunks/{useHighlightSelectionDescription-pmA2R2J7.es.js → useHighlightSelectionDescription-DVczidDc.es.js} +72 -102
  274. package/dist/chunks/useHighlightSelectionDescription-DVczidDc.es.js.map +1 -0
  275. package/dist/chunks/useHighlightSelectionDescription-za7k4xi0.cjs.js +2 -0
  276. package/dist/chunks/useHighlightSelectionDescription-za7k4xi0.cjs.js.map +1 -0
  277. package/dist/chunks/useLabel-Cv-EvK4W.es.js +24 -0
  278. package/dist/chunks/useLabel-Cv-EvK4W.es.js.map +1 -0
  279. package/dist/chunks/useLabel-neE14Yau.cjs.js +2 -0
  280. package/dist/chunks/useLabel-neE14Yau.cjs.js.map +1 -0
  281. package/dist/chunks/useLabels-82wzG8z1.es.js +18 -0
  282. package/dist/chunks/useLabels-82wzG8z1.es.js.map +1 -0
  283. package/dist/chunks/useLabels-BsHtLxGl.cjs.js +2 -0
  284. package/dist/chunks/useLabels-BsHtLxGl.cjs.js.map +1 -0
  285. package/dist/chunks/useListState-B0BkBIvd.cjs.js +2 -0
  286. package/dist/chunks/useListState-B0BkBIvd.cjs.js.map +1 -0
  287. package/dist/chunks/useListState-B0YyV_fC.es.js +134 -0
  288. package/dist/chunks/useListState-B0YyV_fC.es.js.map +1 -0
  289. package/dist/chunks/{useProgressBar-C9zDMfHv.es.js → useProgressBar-BsSMDAsi.es.js} +2 -2
  290. package/dist/chunks/{useProgressBar-C9zDMfHv.es.js.map → useProgressBar-BsSMDAsi.es.js.map} +1 -1
  291. package/dist/chunks/{useProgressBar-DWH4I0qR.cjs.js → useProgressBar-COda2Qef.cjs.js} +2 -2
  292. package/dist/chunks/{useProgressBar-DWH4I0qR.cjs.js.map → useProgressBar-COda2Qef.cjs.js.map} +1 -1
  293. package/dist/chunks/{useSingleSelectListState-CYgE8tvg.es.js → useSingleSelectListState-D9X8vhB2.es.js} +2 -2
  294. package/dist/chunks/{useSingleSelectListState-CYgE8tvg.es.js.map → useSingleSelectListState-D9X8vhB2.es.js.map} +1 -1
  295. package/dist/chunks/useSingleSelectListState-IRmbVjo8.cjs.js +2 -0
  296. package/dist/chunks/{useSingleSelectListState-DbqMu5y_.cjs.js.map → useSingleSelectListState-IRmbVjo8.cjs.js.map} +1 -1
  297. package/dist/chunks/{useTextField-CFlmp99F.es.js → useTextField-B2flD0sa.es.js} +2 -2
  298. package/dist/chunks/{useTextField-CFlmp99F.es.js.map → useTextField-B2flD0sa.es.js.map} +1 -1
  299. package/dist/chunks/{useTextField-BcthGRd8.cjs.js → useTextField-Bm8ZxINN.cjs.js} +2 -2
  300. package/dist/chunks/{useTextField-BcthGRd8.cjs.js.map → useTextField-Bm8ZxINN.cjs.js.map} +1 -1
  301. package/dist/chunks/{useToolbar-DAsENCEY.es.js → useToolbar-CbYkKT36.es.js} +2 -2
  302. package/dist/chunks/{useToolbar-DAsENCEY.es.js.map → useToolbar-CbYkKT36.es.js.map} +1 -1
  303. package/dist/chunks/{utils-DkbE8ciF.es.js → utils-D5g6AoR2.es.js} +4 -4
  304. package/dist/chunks/{utils-DkbE8ciF.es.js.map → utils-D5g6AoR2.es.js.map} +1 -1
  305. package/dist/components/accordion.cjs +1 -1
  306. package/dist/components/accordion.es.js +1 -1
  307. package/dist/components/alert.cjs +1 -1
  308. package/dist/components/alert.es.js +1 -1
  309. package/dist/components/button.cjs +1 -1
  310. package/dist/components/button.es.js +1 -1
  311. package/dist/components/calendar.cjs +1 -1
  312. package/dist/components/calendar.es.js +1 -1
  313. package/dist/components/checkbox.cjs +1 -1
  314. package/dist/components/checkbox.es.js +1 -1
  315. package/dist/components/collapsible-motion.cjs +1 -1
  316. package/dist/components/collapsible-motion.es.js +1 -1
  317. package/dist/components/combobox.cjs +1 -1
  318. package/dist/components/combobox.es.js +1 -1
  319. package/dist/components/components.cjs +1 -1
  320. package/dist/components/components.es.js +1 -1
  321. package/dist/components/data-table.cjs +1 -1
  322. package/dist/components/data-table.es.js +1 -1
  323. package/dist/components/date-input.cjs +1 -1
  324. package/dist/components/date-input.es.js +1 -1
  325. package/dist/components/date-picker.cjs +1 -1
  326. package/dist/components/date-picker.es.js +1 -1
  327. package/dist/components/date-range-picker.cjs +1 -1
  328. package/dist/components/date-range-picker.es.js +1 -1
  329. package/dist/components/dialog.cjs +1 -1
  330. package/dist/components/dialog.es.js +1 -1
  331. package/dist/components/form-field.cjs +1 -1
  332. package/dist/components/form-field.es.js +1 -1
  333. package/dist/components/group.es.js +1 -1
  334. package/dist/components/heading.es.js +1 -1
  335. package/dist/components/icon-button.cjs +1 -1
  336. package/dist/components/icon-button.es.js +1 -1
  337. package/dist/components/icon-toggle-button.cjs +1 -1
  338. package/dist/components/icon-toggle-button.es.js +1 -1
  339. package/dist/components/kbd.es.js +1 -1
  340. package/dist/components/loading-spinner.cjs +1 -1
  341. package/dist/components/loading-spinner.es.js +1 -1
  342. package/dist/components/localized-field.cjs +1 -1
  343. package/dist/components/localized-field.es.js +1 -1
  344. package/dist/components/money-input.cjs +1 -1
  345. package/dist/components/money-input.es.js +1 -1
  346. package/dist/components/multiline-text-input.cjs +1 -1
  347. package/dist/components/multiline-text-input.es.js +1 -1
  348. package/dist/components/nimbus-provider.cjs +1 -1
  349. package/dist/components/nimbus-provider.es.js +1 -1
  350. package/dist/components/number-input.cjs +1 -1
  351. package/dist/components/number-input.es.js +1 -1
  352. package/dist/components/pagination.cjs +1 -1
  353. package/dist/components/pagination.es.js +1 -1
  354. package/dist/components/password-input.cjs +1 -1
  355. package/dist/components/password-input.es.js +1 -1
  356. package/dist/components/popover.cjs +1 -1
  357. package/dist/components/popover.es.js +1 -1
  358. package/dist/components/progress-bar.cjs +1 -1
  359. package/dist/components/progress-bar.es.js +1 -1
  360. package/dist/components/radio-input.cjs +1 -1
  361. package/dist/components/radio-input.es.js +1 -1
  362. package/dist/components/range-calendar.cjs +1 -1
  363. package/dist/components/range-calendar.es.js +1 -1
  364. package/dist/components/rich-text-input.cjs +1 -1
  365. package/dist/components/rich-text-input.es.js +1 -1
  366. package/dist/components/search-input.cjs +2 -0
  367. package/dist/components/search-input.cjs.map +1 -0
  368. package/dist/components/search-input.es.js +5 -0
  369. package/dist/components/search-input.es.js.map +1 -0
  370. package/dist/components/select.cjs +1 -1
  371. package/dist/components/select.es.js +1 -1
  372. package/dist/components/separator.cjs +1 -1
  373. package/dist/components/separator.es.js +1 -1
  374. package/dist/components/split-button.cjs +1 -1
  375. package/dist/components/split-button.es.js +1 -1
  376. package/dist/components/switch.cjs +1 -1
  377. package/dist/components/switch.es.js +1 -1
  378. package/dist/components/tabs.cjs +2 -0
  379. package/dist/components/tabs.cjs.map +1 -0
  380. package/dist/components/tabs.es.js +10 -0
  381. package/dist/components/tabs.es.js.map +1 -0
  382. package/dist/components/tag-group.cjs +1 -1
  383. package/dist/components/tag-group.es.js +1 -1
  384. package/dist/components/text-input.cjs +1 -1
  385. package/dist/components/text-input.es.js +1 -1
  386. package/dist/components/text.es.js +1 -1
  387. package/dist/components/time-input.cjs +1 -1
  388. package/dist/components/time-input.es.js +1 -1
  389. package/dist/components/toggle-button-group.es.js +1 -1
  390. package/dist/components/toggle-button.cjs +1 -1
  391. package/dist/components/toggle-button.es.js +1 -1
  392. package/dist/components/toolbar.cjs +1 -1
  393. package/dist/components/toolbar.es.js +1 -1
  394. package/dist/components/tooltip.es.js +1 -1
  395. package/dist/index.cjs +1 -1
  396. package/dist/index.cjs.map +1 -1
  397. package/dist/index.es.js +118 -109
  398. package/dist/index.es.js.map +1 -1
  399. package/dist/search-input.d.ts +90 -0
  400. package/dist/tabs.d.ts +308 -0
  401. package/package.json +5 -5
  402. package/dist/chunks/DateField-XplnfOh0.cjs.js +0 -2
  403. package/dist/chunks/Dialog-BhqTE75I.cjs.js +0 -2
  404. package/dist/chunks/DragAndDrop-BnOybCz1.es.js +0 -81
  405. package/dist/chunks/DragAndDrop-BnOybCz1.es.js.map +0 -1
  406. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +0 -2
  407. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +0 -1
  408. package/dist/chunks/Header-BzYpow-F.cjs.js +0 -2
  409. package/dist/chunks/Heading-B83Y0yT_.cjs.js +0 -2
  410. package/dist/chunks/ListBox-BBHyjoJ_.cjs.js +0 -2
  411. package/dist/chunks/ListBox-BBHyjoJ_.cjs.js.map +0 -1
  412. package/dist/chunks/ListBox-CkDiOBnJ.es.js +0 -606
  413. package/dist/chunks/ListBox-CkDiOBnJ.es.js.map +0 -1
  414. package/dist/chunks/SelectionManager-CSt4dh97.es.js +0 -1268
  415. package/dist/chunks/SelectionManager-CSt4dh97.es.js.map +0 -1
  416. package/dist/chunks/SelectionManager-rtNqqyQQ.cjs.js +0 -2
  417. package/dist/chunks/SelectionManager-rtNqqyQQ.cjs.js.map +0 -1
  418. package/dist/chunks/Separator-CqqJM-tW.cjs.js +0 -18
  419. package/dist/chunks/Separator-CqqJM-tW.cjs.js.map +0 -1
  420. package/dist/chunks/Separator-HDKQdp4v.es.js.map +0 -1
  421. package/dist/chunks/combobox-B60AWpPC.cjs.js +0 -2
  422. package/dist/chunks/data-table-BJVv7I8A.cjs.js +0 -2
  423. package/dist/chunks/index-SuWPp512.cjs.js.map +0 -1
  424. package/dist/chunks/index-fjbcWgyz.es.js.map +0 -1
  425. package/dist/chunks/localized-field-hQsX33XN.cjs.js +0 -2
  426. package/dist/chunks/menu-CbBblVAx.cjs.js +0 -2
  427. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +0 -2
  428. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +0 -1
  429. package/dist/chunks/scrollIntoView-CAVHG58T.es.js +0 -94
  430. package/dist/chunks/scrollIntoView-CAVHG58T.es.js.map +0 -1
  431. package/dist/chunks/select-ARr1JS_7.cjs.js +0 -2
  432. package/dist/chunks/tag-group-B5zBt0aa.cjs.js +0 -2
  433. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js +0 -2
  434. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map +0 -1
  435. package/dist/chunks/useHighlightSelectionDescription-pmA2R2J7.es.js.map +0 -1
  436. package/dist/chunks/useLabel-CzA-UqrL.es.js +0 -37
  437. package/dist/chunks/useLabel-CzA-UqrL.es.js.map +0 -1
  438. package/dist/chunks/useLabel-Y8tWagLu.cjs.js +0 -2
  439. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +0 -1
  440. package/dist/chunks/useSingleSelectListState-DbqMu5y_.cjs.js +0 -2
@@ -0,0 +1,1112 @@
1
+ import L, { useRef as w, useEffect as j, useMemo as W, createContext as we, isValidElement as Me, cloneElement as Be, useState as re } from "react";
2
+ import { $ as Fe, c as Pe } from "./utils-bpt7OfyH.es.js";
3
+ import { b as ye, a as Y, $ as ke, c as pe, e as Re } from "./mergeProps-CzyOU2NE.es.js";
4
+ import { $ as ue } from "./focusWithoutScrolling-CDw3JYiq.es.js";
5
+ import { a as De, d as Le } from "./openLink-BMfblNBC.es.js";
6
+ import { $ as J } from "./useEvent-Bh_fbauk.es.js";
7
+ import { a as Oe, b as ze, c as he } from "./scrollIntoView-BMOHri7A.es.js";
8
+ import { a as Ue } from "./FocusScope-DX4XeOlU.es.js";
9
+ import { b as ve } from "./useFocusVisible-BQJ0cc5O.es.js";
10
+ import { $ as ae } from "./focusSafely-Bi_1H1qm.es.js";
11
+ import { flushSync as Ve } from "react-dom";
12
+ import { $ as He } from "./context-R4YUlO9Y.es.js";
13
+ import { b as We, g as qe } from "./platform-Z5fvtFmM.es.js";
14
+ import { $ as Te } from "./usePress-DWxMRKB2.es.js";
15
+ import { $ as Ge } from "./useGlobalListeners-BOOfV5Wh.es.js";
16
+ import { i as je } from "./CollectionBuilder-CnAf_Hbh.es.js";
17
+ import { $ as Ye } from "./useControlledState-u436Wbp1.es.js";
18
+ function $e(i, e) {
19
+ const t = w(!0), l = w(null);
20
+ ye(() => (t.current = !0, () => {
21
+ t.current = !1;
22
+ }), []), ye(() => {
23
+ t.current ? t.current = !1 : (!l.current || e.some((n, c) => !Object.is(n, l[c]))) && i(), l.current = e;
24
+ }, e);
25
+ }
26
+ const Ze = "react-aria-clear-focus", Je = "react-aria-focus";
27
+ function H(i) {
28
+ return We() ? i.metaKey : i.ctrlKey;
29
+ }
30
+ const Qe = 500;
31
+ function Xe(i) {
32
+ let { isDisabled: e, onLongPressStart: t, onLongPressEnd: l, onLongPress: n, threshold: c = Qe, accessibilityDescription: s } = i;
33
+ const f = w(void 0);
34
+ let { addGlobalListener: a, removeGlobalListener: g } = Ge(), { pressProps: T } = Te({
35
+ isDisabled: e,
36
+ onPressStart(v) {
37
+ if (v.continuePropagation(), (v.pointerType === "mouse" || v.pointerType === "touch") && (t && t({
38
+ ...v,
39
+ type: "longpressstart"
40
+ }), f.current = setTimeout(() => {
41
+ v.target.dispatchEvent(new PointerEvent("pointercancel", {
42
+ bubbles: !0
43
+ })), Fe(v.target).activeElement !== v.target && ue(v.target), n && n({
44
+ ...v,
45
+ type: "longpress"
46
+ }), f.current = void 0;
47
+ }, c), v.pointerType === "touch")) {
48
+ let m = ($) => {
49
+ $.preventDefault();
50
+ };
51
+ a(v.target, "contextmenu", m, {
52
+ once: !0
53
+ }), a(window, "pointerup", () => {
54
+ setTimeout(() => {
55
+ g(v.target, "contextmenu", m);
56
+ }, 30);
57
+ }, {
58
+ once: !0
59
+ });
60
+ }
61
+ },
62
+ onPressEnd(v) {
63
+ f.current && clearTimeout(f.current), l && (v.pointerType === "mouse" || v.pointerType === "touch") && l({
64
+ ...v,
65
+ type: "longpressend"
66
+ });
67
+ }
68
+ }), b = Oe(n && !e ? s : void 0);
69
+ return {
70
+ longPressProps: Y(T, b)
71
+ };
72
+ }
73
+ function Ee(i) {
74
+ let e = _e(Fe(i));
75
+ e !== i && (e && Ne(e, i), i && Ie(i, e));
76
+ }
77
+ function Ne(i, e) {
78
+ i.dispatchEvent(new FocusEvent("blur", {
79
+ relatedTarget: e
80
+ })), i.dispatchEvent(new FocusEvent("focusout", {
81
+ bubbles: !0,
82
+ relatedTarget: e
83
+ }));
84
+ }
85
+ function Ie(i, e) {
86
+ i.dispatchEvent(new FocusEvent("focus", {
87
+ relatedTarget: e
88
+ })), i.dispatchEvent(new FocusEvent("focusin", {
89
+ bubbles: !0,
90
+ relatedTarget: e
91
+ }));
92
+ }
93
+ function _e(i) {
94
+ let e = Pe(i), t = e?.getAttribute("aria-activedescendant");
95
+ return t && i.getElementById(t) || e;
96
+ }
97
+ function fe(i) {
98
+ return qe() ? i.altKey : i.ctrlKey;
99
+ }
100
+ function se(i, e) {
101
+ var t, l;
102
+ let n = `[data-key="${CSS.escape(String(e))}"]`, c = (t = i.current) === null || t === void 0 ? void 0 : t.dataset.collection;
103
+ return c && (n = `[data-collection="${CSS.escape(c)}"]${n}`), (l = i.current) === null || l === void 0 ? void 0 : l.querySelector(n);
104
+ }
105
+ const Ae = /* @__PURE__ */ new WeakMap();
106
+ function et(i) {
107
+ let e = ke();
108
+ return Ae.set(i, e), e;
109
+ }
110
+ function tt(i) {
111
+ return Ae.get(i);
112
+ }
113
+ const lt = 1e3;
114
+ function it(i) {
115
+ let { keyboardDelegate: e, selectionManager: t, onTypeSelect: l } = i, n = w({
116
+ search: "",
117
+ timeout: void 0
118
+ }).current, c = (s) => {
119
+ let f = nt(s.key);
120
+ if (!(!f || s.ctrlKey || s.metaKey || !s.currentTarget.contains(s.target) || n.search.length === 0 && f === " ")) {
121
+ if (f === " " && n.search.trim().length > 0 && (s.preventDefault(), "continuePropagation" in s || s.stopPropagation()), n.search += f, e.getKeyForSearch != null) {
122
+ let a = e.getKeyForSearch(n.search, t.focusedKey);
123
+ a == null && (a = e.getKeyForSearch(n.search)), a != null && (t.setFocusedKey(a), l && l(a));
124
+ }
125
+ clearTimeout(n.timeout), n.timeout = setTimeout(() => {
126
+ n.search = "";
127
+ }, lt);
128
+ }
129
+ };
130
+ return {
131
+ typeSelectProps: {
132
+ // Using a capturing listener to catch the keydown event before
133
+ // other hooks in order to handle the Spacebar event.
134
+ onKeyDownCapture: e.getKeyForSearch ? c : void 0
135
+ }
136
+ };
137
+ }
138
+ function nt(i) {
139
+ return i.length === 1 || !/^[A-Z]/i.test(i) ? i : "";
140
+ }
141
+ function Et(i) {
142
+ let { selectionManager: e, keyboardDelegate: t, ref: l, autoFocus: n = !1, shouldFocusWrap: c = !1, disallowEmptySelection: s = !1, disallowSelectAll: f = !1, escapeKeyBehavior: a = "clearSelection", selectOnFocus: g = e.selectionBehavior === "replace", disallowTypeAhead: T = !1, shouldUseVirtualFocus: b, allowsTabNavigation: v = !1, isVirtualized: m, scrollRef: $ = l, linkBehavior: E = "action" } = i, { direction: p } = He(), y = De(), S = (o) => {
143
+ var d;
144
+ if (o.altKey && o.key === "Tab" && o.preventDefault(), !(!((d = l.current) === null || d === void 0) && d.contains(o.target))) return;
145
+ const r = (u, U) => {
146
+ if (u != null) {
147
+ if (e.isLink(u) && E === "selection" && g && !fe(o)) {
148
+ Ve(() => {
149
+ e.setFocusedKey(u, U);
150
+ });
151
+ let V = se(l, u), de = e.getItemProps(u);
152
+ V && y.open(V, o, de.href, de.routerOptions);
153
+ return;
154
+ }
155
+ if (e.setFocusedKey(u, U), e.isLink(u) && E === "override") return;
156
+ o.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(u) : g && !fe(o) && e.replaceSelection(u);
157
+ }
158
+ };
159
+ switch (o.key) {
160
+ case "ArrowDown":
161
+ if (t.getKeyBelow) {
162
+ var K, D, k;
163
+ let u = e.focusedKey != null ? (K = t.getKeyBelow) === null || K === void 0 ? void 0 : K.call(t, e.focusedKey) : (D = t.getFirstKey) === null || D === void 0 ? void 0 : D.call(t);
164
+ u == null && c && (u = (k = t.getFirstKey) === null || k === void 0 ? void 0 : k.call(t, e.focusedKey)), u != null && (o.preventDefault(), r(u));
165
+ }
166
+ break;
167
+ case "ArrowUp":
168
+ if (t.getKeyAbove) {
169
+ var R, z, N;
170
+ let u = e.focusedKey != null ? (R = t.getKeyAbove) === null || R === void 0 ? void 0 : R.call(t, e.focusedKey) : (z = t.getLastKey) === null || z === void 0 ? void 0 : z.call(t);
171
+ u == null && c && (u = (N = t.getLastKey) === null || N === void 0 ? void 0 : N.call(t, e.focusedKey)), u != null && (o.preventDefault(), r(u));
172
+ }
173
+ break;
174
+ case "ArrowLeft":
175
+ if (t.getKeyLeftOf) {
176
+ var _, ee, te;
177
+ let u = e.focusedKey != null ? (_ = t.getKeyLeftOf) === null || _ === void 0 ? void 0 : _.call(t, e.focusedKey) : null;
178
+ u == null && c && (u = p === "rtl" ? (ee = t.getFirstKey) === null || ee === void 0 ? void 0 : ee.call(t, e.focusedKey) : (te = t.getLastKey) === null || te === void 0 ? void 0 : te.call(t, e.focusedKey)), u != null && (o.preventDefault(), r(u, p === "rtl" ? "first" : "last"));
179
+ }
180
+ break;
181
+ case "ArrowRight":
182
+ if (t.getKeyRightOf) {
183
+ var le, ie, ne;
184
+ let u = e.focusedKey != null ? (le = t.getKeyRightOf) === null || le === void 0 ? void 0 : le.call(t, e.focusedKey) : null;
185
+ u == null && c && (u = p === "rtl" ? (ie = t.getLastKey) === null || ie === void 0 ? void 0 : ie.call(t, e.focusedKey) : (ne = t.getFirstKey) === null || ne === void 0 ? void 0 : ne.call(t, e.focusedKey)), u != null && (o.preventDefault(), r(u, p === "rtl" ? "last" : "first"));
186
+ }
187
+ break;
188
+ case "Home":
189
+ if (t.getFirstKey) {
190
+ if (e.focusedKey === null && o.shiftKey) return;
191
+ o.preventDefault();
192
+ let u = t.getFirstKey(e.focusedKey, H(o));
193
+ e.setFocusedKey(u), u != null && (H(o) && o.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(u) : g && e.replaceSelection(u));
194
+ }
195
+ break;
196
+ case "End":
197
+ if (t.getLastKey) {
198
+ if (e.focusedKey === null && o.shiftKey) return;
199
+ o.preventDefault();
200
+ let u = t.getLastKey(e.focusedKey, H(o));
201
+ e.setFocusedKey(u), u != null && (H(o) && o.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(u) : g && e.replaceSelection(u));
202
+ }
203
+ break;
204
+ case "PageDown":
205
+ if (t.getKeyPageBelow && e.focusedKey != null) {
206
+ let u = t.getKeyPageBelow(e.focusedKey);
207
+ u != null && (o.preventDefault(), r(u));
208
+ }
209
+ break;
210
+ case "PageUp":
211
+ if (t.getKeyPageAbove && e.focusedKey != null) {
212
+ let u = t.getKeyPageAbove(e.focusedKey);
213
+ u != null && (o.preventDefault(), r(u));
214
+ }
215
+ break;
216
+ case "a":
217
+ H(o) && e.selectionMode === "multiple" && f !== !0 && (o.preventDefault(), e.selectAll());
218
+ break;
219
+ case "Escape":
220
+ a === "clearSelection" && !s && e.selectedKeys.size !== 0 && (o.stopPropagation(), o.preventDefault(), e.clearSelection());
221
+ break;
222
+ case "Tab":
223
+ if (!v) {
224
+ if (o.shiftKey) l.current.focus();
225
+ else {
226
+ let u = Ue(l.current, {
227
+ tabbable: !0
228
+ }), U, V;
229
+ do
230
+ V = u.lastChild(), V && (U = V);
231
+ while (V);
232
+ U && !U.contains(document.activeElement) && ue(U);
233
+ }
234
+ break;
235
+ }
236
+ }
237
+ }, h = w({
238
+ top: 0,
239
+ left: 0
240
+ });
241
+ J($, "scroll", m ? void 0 : () => {
242
+ var o, d, r, K;
243
+ h.current = {
244
+ top: (r = (o = $.current) === null || o === void 0 ? void 0 : o.scrollTop) !== null && r !== void 0 ? r : 0,
245
+ left: (K = (d = $.current) === null || d === void 0 ? void 0 : d.scrollLeft) !== null && K !== void 0 ? K : 0
246
+ };
247
+ });
248
+ let F = (o) => {
249
+ if (e.isFocused) {
250
+ o.currentTarget.contains(o.target) || e.setFocused(!1);
251
+ return;
252
+ }
253
+ if (o.currentTarget.contains(o.target)) {
254
+ if (e.setFocused(!0), e.focusedKey == null) {
255
+ var d, r;
256
+ let k = (z) => {
257
+ z != null && (e.setFocusedKey(z), g && !e.isSelected(z) && e.replaceSelection(z));
258
+ }, R = o.relatedTarget;
259
+ var K, D;
260
+ R && o.currentTarget.compareDocumentPosition(R) & Node.DOCUMENT_POSITION_FOLLOWING ? k((K = e.lastSelectedKey) !== null && K !== void 0 ? K : (d = t.getLastKey) === null || d === void 0 ? void 0 : d.call(t)) : k((D = e.firstSelectedKey) !== null && D !== void 0 ? D : (r = t.getFirstKey) === null || r === void 0 ? void 0 : r.call(t));
261
+ } else !m && $.current && ($.current.scrollTop = h.current.top, $.current.scrollLeft = h.current.left);
262
+ if (e.focusedKey != null && $.current) {
263
+ let k = se(l, e.focusedKey);
264
+ k instanceof HTMLElement && (!k.contains(document.activeElement) && !b && ue(k), ve() === "keyboard" && he(k, {
265
+ containingElement: l.current
266
+ }));
267
+ }
268
+ }
269
+ }, I = (o) => {
270
+ o.currentTarget.contains(o.relatedTarget) || e.setFocused(!1);
271
+ }, A = w(!1);
272
+ J(l, Je, b ? (o) => {
273
+ let { detail: d } = o;
274
+ o.stopPropagation(), e.setFocused(!0), d?.focusStrategy === "first" && (A.current = !0);
275
+ } : void 0);
276
+ let M = pe(() => {
277
+ var o, d;
278
+ let r = (d = (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t)) !== null && d !== void 0 ? d : null;
279
+ if (r == null) {
280
+ let K = Pe();
281
+ Ee(l.current), Ie(K, null), e.collection.size > 0 && (A.current = !1);
282
+ } else
283
+ e.setFocusedKey(r), A.current = !1;
284
+ });
285
+ $e(() => {
286
+ A.current && M();
287
+ }, [
288
+ e.collection,
289
+ M
290
+ ]);
291
+ let P = pe(() => {
292
+ e.collection.size > 0 && (A.current = !1);
293
+ });
294
+ $e(() => {
295
+ P();
296
+ }, [
297
+ e.focusedKey,
298
+ P
299
+ ]), J(l, Ze, b ? (o) => {
300
+ var d;
301
+ o.stopPropagation(), e.setFocused(!1), !((d = o.detail) === null || d === void 0) && d.clearFocusKey && e.setFocusedKey(null);
302
+ } : void 0);
303
+ const q = w(n), B = w(!1);
304
+ j(() => {
305
+ if (q.current) {
306
+ var o, d;
307
+ let D = null;
308
+ var r;
309
+ n === "first" && (D = (r = (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t)) !== null && r !== void 0 ? r : null);
310
+ var K;
311
+ n === "last" && (D = (K = (d = t.getLastKey) === null || d === void 0 ? void 0 : d.call(t)) !== null && K !== void 0 ? K : null);
312
+ let k = e.selectedKeys;
313
+ if (k.size) {
314
+ for (let R of k) if (e.canSelectItem(R)) {
315
+ D = R;
316
+ break;
317
+ }
318
+ }
319
+ e.setFocused(!0), e.setFocusedKey(D), D == null && !b && l.current && ae(l.current), e.collection.size > 0 && (q.current = !1, B.current = !0);
320
+ }
321
+ });
322
+ let O = w(e.focusedKey), x = w(null);
323
+ j(() => {
324
+ if (e.isFocused && e.focusedKey != null && (e.focusedKey !== O.current || B.current) && $.current && l.current) {
325
+ let o = ve(), d = se(l, e.focusedKey);
326
+ if (!(d instanceof HTMLElement))
327
+ return;
328
+ (o === "keyboard" || B.current) && (x.current && cancelAnimationFrame(x.current), x.current = requestAnimationFrame(() => {
329
+ $.current && (ze($.current, d), o !== "virtual" && he(d, {
330
+ containingElement: l.current
331
+ }));
332
+ }));
333
+ }
334
+ !b && e.isFocused && e.focusedKey == null && O.current != null && l.current && ae(l.current), O.current = e.focusedKey, B.current = !1;
335
+ }), j(() => () => {
336
+ x.current && cancelAnimationFrame(x.current);
337
+ }, []), J(l, "react-aria-focus-scope-restore", (o) => {
338
+ o.preventDefault(), e.setFocused(!0);
339
+ });
340
+ let G = {
341
+ onKeyDown: S,
342
+ onFocus: F,
343
+ onBlur: I,
344
+ onMouseDown(o) {
345
+ $.current === o.target && o.preventDefault();
346
+ }
347
+ }, { typeSelectProps: Q } = it({
348
+ keyboardDelegate: t,
349
+ selectionManager: e
350
+ });
351
+ T || (G = Y(Q, G));
352
+ let Z;
353
+ b || (Z = e.focusedKey == null ? 0 : -1);
354
+ let X = et(e.collection);
355
+ return {
356
+ collectionProps: Y(G, {
357
+ tabIndex: Z,
358
+ "data-collection": X
359
+ })
360
+ };
361
+ }
362
+ function It(i) {
363
+ let { id: e, selectionManager: t, key: l, ref: n, shouldSelectOnPressUp: c, shouldUseVirtualFocus: s, focus: f, isDisabled: a, onAction: g, allowsDifferentPressOrigin: T, linkBehavior: b = "action" } = i, v = De();
364
+ e = ke(e);
365
+ let m = (r) => {
366
+ if (r.pointerType === "keyboard" && fe(r)) t.toggleSelection(l);
367
+ else {
368
+ if (t.selectionMode === "none") return;
369
+ if (t.isLink(l)) {
370
+ if (b === "selection" && n.current) {
371
+ let K = t.getItemProps(l);
372
+ v.open(n.current, r, K.href, K.routerOptions), t.setSelectedKeys(t.selectedKeys);
373
+ return;
374
+ } else if (b === "override" || b === "none") return;
375
+ }
376
+ t.selectionMode === "single" ? t.isSelected(l) && !t.disallowEmptySelection ? t.toggleSelection(l) : t.replaceSelection(l) : r && r.shiftKey ? t.extendSelection(l) : t.selectionBehavior === "toggle" || r && (H(r) || r.pointerType === "touch" || r.pointerType === "virtual") ? t.toggleSelection(l) : t.replaceSelection(l);
377
+ }
378
+ };
379
+ j(() => {
380
+ l === t.focusedKey && t.isFocused && (s ? Ee(n.current) : f ? f() : document.activeElement !== n.current && n.current && ae(n.current));
381
+ }, [
382
+ n,
383
+ l,
384
+ t.focusedKey,
385
+ t.childFocusStrategy,
386
+ t.isFocused,
387
+ s
388
+ ]), a = a || t.isDisabled(l);
389
+ let $ = {};
390
+ !s && !a ? $ = {
391
+ tabIndex: l === t.focusedKey ? 0 : -1,
392
+ onFocus(r) {
393
+ r.target === n.current && t.setFocusedKey(l);
394
+ }
395
+ } : a && ($.onMouseDown = (r) => {
396
+ r.preventDefault();
397
+ });
398
+ let E = t.isLink(l) && b === "override", p = t.isLink(l) && b !== "selection" && b !== "none", y = !a && t.canSelectItem(l) && !E, S = (g || p) && !a, h = S && (t.selectionBehavior === "replace" ? !y : !y || t.isEmpty), F = S && y && t.selectionBehavior === "replace", I = h || F, A = w(null), M = I && y, P = w(!1), q = w(!1), B = t.getItemProps(l), O = (r) => {
399
+ g && g(), p && n.current && v.open(n.current, r, B.href, B.routerOptions);
400
+ }, x = {
401
+ ref: n
402
+ };
403
+ if (c ? (x.onPressStart = (r) => {
404
+ A.current = r.pointerType, P.current = M, r.pointerType === "keyboard" && (!I || me()) && m(r);
405
+ }, T ? (x.onPressUp = h ? void 0 : (r) => {
406
+ r.pointerType === "mouse" && y && m(r);
407
+ }, x.onPress = h ? O : (r) => {
408
+ r.pointerType !== "keyboard" && r.pointerType !== "mouse" && y && m(r);
409
+ }) : x.onPress = (r) => {
410
+ if (h || F && r.pointerType !== "mouse") {
411
+ if (r.pointerType === "keyboard" && !be()) return;
412
+ O(r);
413
+ } else r.pointerType !== "keyboard" && y && m(r);
414
+ }) : (x.onPressStart = (r) => {
415
+ A.current = r.pointerType, P.current = M, q.current = h, y && (r.pointerType === "mouse" && !h || r.pointerType === "keyboard" && (!S || me())) && m(r);
416
+ }, x.onPress = (r) => {
417
+ (r.pointerType === "touch" || r.pointerType === "pen" || r.pointerType === "virtual" || r.pointerType === "keyboard" && I && be() || r.pointerType === "mouse" && q.current) && (I ? O(r) : y && m(r));
418
+ }), $["data-collection"] = tt(t.collection), $["data-key"] = l, x.preventFocusOnPress = s, s && (x = Y(x, {
419
+ onPressStart(r) {
420
+ r.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(l));
421
+ },
422
+ onPress(r) {
423
+ r.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(l));
424
+ }
425
+ })), B)
426
+ for (let r of [
427
+ "onPressStart",
428
+ "onPressEnd",
429
+ "onPressChange",
430
+ "onPress",
431
+ "onPressUp",
432
+ "onClick"
433
+ ]) B[r] && (x[r] = Re(x[r], B[r]));
434
+ let { pressProps: G, isPressed: Q } = Te(x), Z = F ? (r) => {
435
+ A.current === "mouse" && (r.stopPropagation(), r.preventDefault(), O(r));
436
+ } : void 0, { longPressProps: X } = Xe({
437
+ isDisabled: !M,
438
+ onLongPress(r) {
439
+ r.pointerType === "touch" && (m(r), t.setSelectionBehavior("toggle"));
440
+ }
441
+ }), o = (r) => {
442
+ A.current === "touch" && P.current && r.preventDefault();
443
+ }, d = b !== "none" && t.isLink(l) ? (r) => {
444
+ Le.isOpening || r.preventDefault();
445
+ } : void 0;
446
+ return {
447
+ itemProps: Y(
448
+ $,
449
+ y || h || s && !a ? G : {},
450
+ M ? X : {},
451
+ {
452
+ onDoubleClick: Z,
453
+ onDragStartCapture: o,
454
+ onClick: d,
455
+ id: e
456
+ },
457
+ // Prevent DOM focus from moving on mouse down when using virtual focus
458
+ s ? {
459
+ onMouseDown: (r) => r.preventDefault()
460
+ } : void 0
461
+ ),
462
+ isPressed: Q,
463
+ isSelected: t.isSelected(l),
464
+ isFocused: t.isFocused && t.focusedKey === l,
465
+ isDisabled: a,
466
+ allowsSelection: y,
467
+ hasAction: I
468
+ };
469
+ }
470
+ function be() {
471
+ let i = window.event;
472
+ return i?.key === "Enter";
473
+ }
474
+ function me() {
475
+ let i = window.event;
476
+ return i?.key === " " || i?.code === "Space";
477
+ }
478
+ class rt {
479
+ build(e, t) {
480
+ return this.context = t, ge(() => this.iterateCollection(e));
481
+ }
482
+ *iterateCollection(e) {
483
+ let { children: t, items: l } = e;
484
+ if (L.isValidElement(t) && t.type === L.Fragment) yield* this.iterateCollection({
485
+ children: t.props.children,
486
+ items: l
487
+ });
488
+ else if (typeof t == "function") {
489
+ if (!l) throw new Error("props.children was a function but props.items is missing");
490
+ let n = 0;
491
+ for (let c of l)
492
+ yield* this.getFullNode({
493
+ value: c,
494
+ index: n
495
+ }, {
496
+ renderer: t
497
+ }), n++;
498
+ } else {
499
+ let n = [];
500
+ L.Children.forEach(t, (s) => {
501
+ s && n.push(s);
502
+ });
503
+ let c = 0;
504
+ for (let s of n) {
505
+ let f = this.getFullNode({
506
+ element: s,
507
+ index: c
508
+ }, {});
509
+ for (let a of f)
510
+ c++, yield a;
511
+ }
512
+ }
513
+ }
514
+ getKey(e, t, l, n) {
515
+ if (e.key != null) return e.key;
516
+ if (t.type === "cell" && t.key != null) return `${n}${t.key}`;
517
+ let c = t.value;
518
+ if (c != null) {
519
+ var s;
520
+ let f = (s = c.key) !== null && s !== void 0 ? s : c.id;
521
+ if (f == null) throw new Error("No key found for item");
522
+ return f;
523
+ }
524
+ return n ? `${n}.${t.index}` : `$.${t.index}`;
525
+ }
526
+ getChildState(e, t) {
527
+ return {
528
+ renderer: t.renderer || e.renderer
529
+ };
530
+ }
531
+ *getFullNode(e, t, l, n) {
532
+ if (L.isValidElement(e.element) && e.element.type === L.Fragment) {
533
+ let p = [];
534
+ L.Children.forEach(e.element.props.children, (S) => {
535
+ p.push(S);
536
+ });
537
+ var c;
538
+ let y = (c = e.index) !== null && c !== void 0 ? c : 0;
539
+ for (const S of p) yield* this.getFullNode({
540
+ element: S,
541
+ index: y++
542
+ }, t, l, n);
543
+ return;
544
+ }
545
+ let s = e.element;
546
+ if (!s && e.value && t && t.renderer) {
547
+ let p = this.cache.get(e.value);
548
+ if (p && (!p.shouldInvalidate || !p.shouldInvalidate(this.context))) {
549
+ p.index = e.index, p.parentKey = n ? n.key : null, yield p;
550
+ return;
551
+ }
552
+ s = t.renderer(e.value);
553
+ }
554
+ if (L.isValidElement(s)) {
555
+ let p = s.type;
556
+ if (typeof p != "function" && typeof p.getCollectionNode != "function") {
557
+ let F = s.type;
558
+ throw new Error(`Unknown element <${F}> in collection.`);
559
+ }
560
+ let y = p.getCollectionNode(s.props, this.context);
561
+ var f;
562
+ let S = (f = e.index) !== null && f !== void 0 ? f : 0, h = y.next();
563
+ for (; !h.done && h.value; ) {
564
+ let F = h.value;
565
+ e.index = S;
566
+ var a;
567
+ let I = (a = F.key) !== null && a !== void 0 ? a : null;
568
+ I == null && (I = F.element ? null : this.getKey(s, e, t, l));
569
+ let M = [
570
+ ...this.getFullNode({
571
+ ...F,
572
+ key: I,
573
+ index: S,
574
+ wrapper: st(e.wrapper, F.wrapper)
575
+ }, this.getChildState(t, F), l ? `${l}${s.key}` : s.key, n)
576
+ ];
577
+ for (let P of M) {
578
+ var g, T;
579
+ P.value = (T = (g = F.value) !== null && g !== void 0 ? g : e.value) !== null && T !== void 0 ? T : null, P.value && this.cache.set(P.value, P);
580
+ var b;
581
+ if (e.type && P.type !== e.type) throw new Error(`Unsupported type <${oe(P.type)}> in <${oe((b = n?.type) !== null && b !== void 0 ? b : "unknown parent type")}>. Only <${oe(e.type)}> is supported.`);
582
+ S++, yield P;
583
+ }
584
+ h = y.next(M);
585
+ }
586
+ return;
587
+ }
588
+ if (e.key == null || e.type == null) return;
589
+ let v = this;
590
+ var m, $;
591
+ let E = {
592
+ type: e.type,
593
+ props: e.props,
594
+ key: e.key,
595
+ parentKey: n ? n.key : null,
596
+ value: (m = e.value) !== null && m !== void 0 ? m : null,
597
+ level: n ? n.level + 1 : 0,
598
+ index: e.index,
599
+ rendered: e.rendered,
600
+ textValue: ($ = e.textValue) !== null && $ !== void 0 ? $ : "",
601
+ "aria-label": e["aria-label"],
602
+ wrapper: e.wrapper,
603
+ shouldInvalidate: e.shouldInvalidate,
604
+ hasChildNodes: e.hasChildNodes || !1,
605
+ childNodes: ge(function* () {
606
+ if (!e.hasChildNodes || !e.childNodes) return;
607
+ let p = 0;
608
+ for (let y of e.childNodes()) {
609
+ y.key != null && (y.key = `${E.key}${y.key}`);
610
+ let S = v.getFullNode({
611
+ ...y,
612
+ index: p
613
+ }, v.getChildState(t, y), E.key, E);
614
+ for (let h of S)
615
+ p++, yield h;
616
+ }
617
+ })
618
+ };
619
+ yield E;
620
+ }
621
+ constructor() {
622
+ this.cache = /* @__PURE__ */ new WeakMap();
623
+ }
624
+ }
625
+ function ge(i) {
626
+ let e = [], t = null;
627
+ return {
628
+ *[Symbol.iterator]() {
629
+ for (let l of e) yield l;
630
+ t || (t = i());
631
+ for (let l of t)
632
+ e.push(l), yield l;
633
+ }
634
+ };
635
+ }
636
+ function st(i, e) {
637
+ if (i && e) return (t) => i(e(t));
638
+ if (i) return i;
639
+ if (e) return e;
640
+ }
641
+ function oe(i) {
642
+ return i[0].toUpperCase() + i.slice(1);
643
+ }
644
+ function At(i, e, t) {
645
+ let l = W(() => new rt(), []), { children: n, items: c, collection: s } = i;
646
+ return W(() => {
647
+ if (s) return s;
648
+ let a = l.build({
649
+ children: n,
650
+ items: c
651
+ }, t);
652
+ return e(a);
653
+ }, [
654
+ l,
655
+ n,
656
+ c,
657
+ s,
658
+ t,
659
+ e
660
+ ]);
661
+ }
662
+ function ot(i, e) {
663
+ return typeof e.getChildren == "function" ? e.getChildren(i.key) : i.childNodes;
664
+ }
665
+ function ct(i) {
666
+ return ut(i, 0);
667
+ }
668
+ function ut(i, e) {
669
+ if (e < 0) return;
670
+ let t = 0;
671
+ for (let l of i) {
672
+ if (t === e) return l;
673
+ t++;
674
+ }
675
+ }
676
+ function Ct(i) {
677
+ let e;
678
+ for (let t of i) e = t;
679
+ return e;
680
+ }
681
+ function ce(i, e, t) {
682
+ if (e.parentKey === t.parentKey) return e.index - t.index;
683
+ let l = [
684
+ ...Ke(i, e),
685
+ e
686
+ ], n = [
687
+ ...Ke(i, t),
688
+ t
689
+ ], c = l.slice(0, n.length).findIndex((s, f) => s !== n[f]);
690
+ return c !== -1 ? (e = l[c], t = n[c], e.index - t.index) : l.findIndex((s) => s === t) >= 0 ? 1 : (n.findIndex((s) => s === e) >= 0, -1);
691
+ }
692
+ function Ke(i, e) {
693
+ let t = [], l = e;
694
+ for (; l?.parentKey != null; )
695
+ l = i.getItem(l.parentKey), l && t.unshift(l);
696
+ return t;
697
+ }
698
+ const Mt = /* @__PURE__ */ we(null), at = {
699
+ CollectionRoot({ collection: i, renderDropIndicator: e }) {
700
+ return Se(i, null, e);
701
+ },
702
+ CollectionBranch({ collection: i, parent: e, renderDropIndicator: t }) {
703
+ return Se(i, e, t);
704
+ }
705
+ };
706
+ function Se(i, e, t) {
707
+ return je({
708
+ items: e ? i.getChildren(e.key) : i,
709
+ dependencies: [
710
+ t
711
+ ],
712
+ children(l) {
713
+ let n = l.render(l);
714
+ return !t || l.type !== "item" ? n : /* @__PURE__ */ L.createElement(L.Fragment, null, t({
715
+ type: "item",
716
+ key: l.key,
717
+ dropPosition: "before"
718
+ }), n, ft(i, l, t));
719
+ }
720
+ });
721
+ }
722
+ function ft(i, e, t) {
723
+ let l = e.key, n = i.getKeyAfter(l), c = n != null ? i.getItem(n) : null;
724
+ for (; c != null && c.type !== "item"; )
725
+ n = i.getKeyAfter(c.key), c = n != null ? i.getItem(n) : null;
726
+ let s = e.nextKey != null ? i.getItem(e.nextKey) : null;
727
+ for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? i.getItem(s.nextKey) : null;
728
+ let f = [];
729
+ if (s == null) {
730
+ let a = e;
731
+ for (; a && (!c || a.parentKey !== c.parentKey && c.level < a.level); ) {
732
+ let g = t({
733
+ type: "item",
734
+ key: a.key,
735
+ dropPosition: "after"
736
+ });
737
+ /* @__PURE__ */ Me(g) && f.push(/* @__PURE__ */ Be(g, {
738
+ key: `${a.key}-after`
739
+ })), a = a.parentKey != null ? i.getItem(a.parentKey) : null;
740
+ }
741
+ }
742
+ return f;
743
+ }
744
+ const Bt = /* @__PURE__ */ we(at);
745
+ function Rt(i) {
746
+ return W(() => i != null ? /* @__PURE__ */ new Set([
747
+ i
748
+ ]) : null, [
749
+ i
750
+ ]);
751
+ }
752
+ class C extends Set {
753
+ constructor(e, t, l) {
754
+ super(e), e instanceof C ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = l ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = l ?? null);
755
+ }
756
+ }
757
+ function dt(i, e) {
758
+ if (i.size !== e.size) return !1;
759
+ for (let t of i)
760
+ if (!e.has(t)) return !1;
761
+ return !0;
762
+ }
763
+ function Lt(i) {
764
+ let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: l, selectionBehavior: n = "toggle", disabledBehavior: c = "all" } = i, s = w(!1), [, f] = re(!1), a = w(null), g = w(null), [, T] = re(null), b = W(() => xe(i.selectedKeys), [
765
+ i.selectedKeys
766
+ ]), v = W(() => xe(i.defaultSelectedKeys, new C()), [
767
+ i.defaultSelectedKeys
768
+ ]), [m, $] = Ye(b, v, i.onSelectionChange), E = W(() => i.disabledKeys ? new Set(i.disabledKeys) : /* @__PURE__ */ new Set(), [
769
+ i.disabledKeys
770
+ ]), [p, y] = re(n);
771
+ n === "replace" && p === "toggle" && typeof m == "object" && m.size === 0 && y("replace");
772
+ let S = w(n);
773
+ return j(() => {
774
+ n !== S.current && (y(n), S.current = n);
775
+ }, [
776
+ n
777
+ ]), {
778
+ selectionMode: e,
779
+ disallowEmptySelection: t,
780
+ selectionBehavior: p,
781
+ setSelectionBehavior: y,
782
+ get isFocused() {
783
+ return s.current;
784
+ },
785
+ setFocused(h) {
786
+ s.current = h, f(h);
787
+ },
788
+ get focusedKey() {
789
+ return a.current;
790
+ },
791
+ get childFocusStrategy() {
792
+ return g.current;
793
+ },
794
+ setFocusedKey(h, F = "first") {
795
+ a.current = h, g.current = F, T(h);
796
+ },
797
+ selectedKeys: m,
798
+ setSelectedKeys(h) {
799
+ (l || !dt(h, m)) && $(h);
800
+ },
801
+ disabledKeys: E,
802
+ disabledBehavior: c
803
+ };
804
+ }
805
+ function xe(i, e) {
806
+ return i ? i === "all" ? "all" : new C(i) : e;
807
+ }
808
+ class Ce {
809
+ /**
810
+ * The type of selection that is allowed in the collection.
811
+ */
812
+ get selectionMode() {
813
+ return this.state.selectionMode;
814
+ }
815
+ /**
816
+ * Whether the collection allows empty selection.
817
+ */
818
+ get disallowEmptySelection() {
819
+ return this.state.disallowEmptySelection;
820
+ }
821
+ /**
822
+ * The selection behavior for the collection.
823
+ */
824
+ get selectionBehavior() {
825
+ return this.state.selectionBehavior;
826
+ }
827
+ /**
828
+ * Sets the selection behavior for the collection.
829
+ */
830
+ setSelectionBehavior(e) {
831
+ this.state.setSelectionBehavior(e);
832
+ }
833
+ /**
834
+ * Whether the collection is currently focused.
835
+ */
836
+ get isFocused() {
837
+ return this.state.isFocused;
838
+ }
839
+ /**
840
+ * Sets whether the collection is focused.
841
+ */
842
+ setFocused(e) {
843
+ this.state.setFocused(e);
844
+ }
845
+ /**
846
+ * The current focused key in the collection.
847
+ */
848
+ get focusedKey() {
849
+ return this.state.focusedKey;
850
+ }
851
+ /** Whether the first or last child of the focused key should receive focus. */
852
+ get childFocusStrategy() {
853
+ return this.state.childFocusStrategy;
854
+ }
855
+ /**
856
+ * Sets the focused key.
857
+ */
858
+ setFocusedKey(e, t) {
859
+ (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
860
+ }
861
+ /**
862
+ * The currently selected keys in the collection.
863
+ */
864
+ get selectedKeys() {
865
+ return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
866
+ }
867
+ /**
868
+ * The raw selection value for the collection.
869
+ * Either 'all' for select all, or a set of keys.
870
+ */
871
+ get rawSelection() {
872
+ return this.state.selectedKeys;
873
+ }
874
+ /**
875
+ * Returns whether a key is selected.
876
+ */
877
+ isSelected(e) {
878
+ if (this.state.selectionMode === "none") return !1;
879
+ let t = this.getKey(e);
880
+ return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
881
+ }
882
+ /**
883
+ * Whether the selection is empty.
884
+ */
885
+ get isEmpty() {
886
+ return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
887
+ }
888
+ /**
889
+ * Whether all items in the collection are selected.
890
+ */
891
+ get isSelectAll() {
892
+ if (this.isEmpty) return !1;
893
+ if (this.state.selectedKeys === "all") return !0;
894
+ if (this._isSelectAll != null) return this._isSelectAll;
895
+ let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
896
+ return this._isSelectAll = e.every((l) => t.has(l)), this._isSelectAll;
897
+ }
898
+ get firstSelectedKey() {
899
+ let e = null;
900
+ for (let l of this.state.selectedKeys) {
901
+ let n = this.collection.getItem(l);
902
+ (!e || n && ce(this.collection, n, e) < 0) && (e = n);
903
+ }
904
+ var t;
905
+ return (t = e?.key) !== null && t !== void 0 ? t : null;
906
+ }
907
+ get lastSelectedKey() {
908
+ let e = null;
909
+ for (let l of this.state.selectedKeys) {
910
+ let n = this.collection.getItem(l);
911
+ (!e || n && ce(this.collection, n, e) > 0) && (e = n);
912
+ }
913
+ var t;
914
+ return (t = e?.key) !== null && t !== void 0 ? t : null;
915
+ }
916
+ get disabledKeys() {
917
+ return this.state.disabledKeys;
918
+ }
919
+ get disabledBehavior() {
920
+ return this.state.disabledBehavior;
921
+ }
922
+ /**
923
+ * Extends the selection to the given key.
924
+ */
925
+ extendSelection(e) {
926
+ if (this.selectionMode === "none") return;
927
+ if (this.selectionMode === "single") {
928
+ this.replaceSelection(e);
929
+ return;
930
+ }
931
+ let t = this.getKey(e);
932
+ if (t == null) return;
933
+ let l;
934
+ if (this.state.selectedKeys === "all") l = new C([
935
+ t
936
+ ], t, t);
937
+ else {
938
+ let s = this.state.selectedKeys;
939
+ var n;
940
+ let f = (n = s.anchorKey) !== null && n !== void 0 ? n : t;
941
+ l = new C(s, f, t);
942
+ var c;
943
+ for (let a of this.getKeyRange(f, (c = s.currentKey) !== null && c !== void 0 ? c : t)) l.delete(a);
944
+ for (let a of this.getKeyRange(t, f)) this.canSelectItem(a) && l.add(a);
945
+ }
946
+ this.state.setSelectedKeys(l);
947
+ }
948
+ getKeyRange(e, t) {
949
+ let l = this.collection.getItem(e), n = this.collection.getItem(t);
950
+ return l && n ? ce(this.collection, l, n) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
951
+ }
952
+ getKeyRangeInternal(e, t) {
953
+ var l;
954
+ if (!((l = this.layoutDelegate) === null || l === void 0) && l.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
955
+ let n = [], c = e;
956
+ for (; c != null; ) {
957
+ let s = this.collection.getItem(c);
958
+ if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && n.push(c), c === t) return n;
959
+ c = this.collection.getKeyAfter(c);
960
+ }
961
+ return [];
962
+ }
963
+ getKey(e) {
964
+ let t = this.collection.getItem(e);
965
+ if (!t || t.type === "cell" && this.allowsCellSelection) return e;
966
+ for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
967
+ return !t || t.type !== "item" ? null : t.key;
968
+ }
969
+ /**
970
+ * Toggles whether the given key is selected.
971
+ */
972
+ toggleSelection(e) {
973
+ if (this.selectionMode === "none") return;
974
+ if (this.selectionMode === "single" && !this.isSelected(e)) {
975
+ this.replaceSelection(e);
976
+ return;
977
+ }
978
+ let t = this.getKey(e);
979
+ if (t == null) return;
980
+ let l = new C(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
981
+ l.has(t) ? l.delete(t) : this.canSelectItem(t) && (l.add(t), l.anchorKey = t, l.currentKey = t), !(this.disallowEmptySelection && l.size === 0) && this.state.setSelectedKeys(l);
982
+ }
983
+ /**
984
+ * Replaces the selection with only the given key.
985
+ */
986
+ replaceSelection(e) {
987
+ if (this.selectionMode === "none") return;
988
+ let t = this.getKey(e);
989
+ if (t == null) return;
990
+ let l = this.canSelectItem(t) ? new C([
991
+ t
992
+ ], t, t) : new C();
993
+ this.state.setSelectedKeys(l);
994
+ }
995
+ /**
996
+ * Replaces the selection with the given keys.
997
+ */
998
+ setSelectedKeys(e) {
999
+ if (this.selectionMode === "none") return;
1000
+ let t = new C();
1001
+ for (let l of e) {
1002
+ let n = this.getKey(l);
1003
+ if (n != null && (t.add(n), this.selectionMode === "single"))
1004
+ break;
1005
+ }
1006
+ this.state.setSelectedKeys(t);
1007
+ }
1008
+ getSelectAllKeys() {
1009
+ let e = [], t = (l) => {
1010
+ for (; l != null; ) {
1011
+ if (this.canSelectItem(l)) {
1012
+ var n;
1013
+ let s = this.collection.getItem(l);
1014
+ s?.type === "item" && e.push(l);
1015
+ var c;
1016
+ s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((c = (n = ct(ot(s, this.collection))) === null || n === void 0 ? void 0 : n.key) !== null && c !== void 0 ? c : null);
1017
+ }
1018
+ l = this.collection.getKeyAfter(l);
1019
+ }
1020
+ };
1021
+ return t(this.collection.getFirstKey()), e;
1022
+ }
1023
+ /**
1024
+ * Selects all items in the collection.
1025
+ */
1026
+ selectAll() {
1027
+ !this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
1028
+ }
1029
+ /**
1030
+ * Removes all keys from the selection.
1031
+ */
1032
+ clearSelection() {
1033
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new C());
1034
+ }
1035
+ /**
1036
+ * Toggles between select all and an empty selection.
1037
+ */
1038
+ toggleSelectAll() {
1039
+ this.isSelectAll ? this.clearSelection() : this.selectAll();
1040
+ }
1041
+ select(e, t) {
1042
+ 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));
1043
+ }
1044
+ /**
1045
+ * Returns whether the current selection is equal to the given selection.
1046
+ */
1047
+ isSelectionEqual(e) {
1048
+ if (e === this.state.selectedKeys) return !0;
1049
+ let t = this.selectedKeys;
1050
+ if (e.size !== t.size) return !1;
1051
+ for (let l of e)
1052
+ if (!t.has(l)) return !1;
1053
+ for (let l of t)
1054
+ if (!e.has(l)) return !1;
1055
+ return !0;
1056
+ }
1057
+ canSelectItem(e) {
1058
+ var t;
1059
+ if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
1060
+ let l = this.collection.getItem(e);
1061
+ return !(!l || !(l == null || (t = l.props) === null || t === void 0) && t.isDisabled || l.type === "cell" && !this.allowsCellSelection);
1062
+ }
1063
+ isDisabled(e) {
1064
+ var t, l;
1065
+ return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((l = this.collection.getItem(e)) === null || l === void 0 || (t = l.props) === null || t === void 0) && t.isDisabled));
1066
+ }
1067
+ isLink(e) {
1068
+ var t, l;
1069
+ return !!(!((l = this.collection.getItem(e)) === null || l === void 0 || (t = l.props) === null || t === void 0) && t.href);
1070
+ }
1071
+ getItemProps(e) {
1072
+ var t;
1073
+ return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
1074
+ }
1075
+ withCollection(e) {
1076
+ return new Ce(e, this.state, {
1077
+ allowsCellSelection: this.allowsCellSelection,
1078
+ layoutDelegate: this.layoutDelegate || void 0
1079
+ });
1080
+ }
1081
+ constructor(e, t, l) {
1082
+ this.collection = e, this.state = t;
1083
+ var n;
1084
+ this.allowsCellSelection = (n = l?.allowsCellSelection) !== null && n !== void 0 ? n : !1, this._isSelectAll = null, this.layoutDelegate = l?.layoutDelegate || null;
1085
+ }
1086
+ }
1087
+ export {
1088
+ se as $,
1089
+ Lt as a,
1090
+ At as b,
1091
+ Ce as c,
1092
+ Et as d,
1093
+ ot as e,
1094
+ It as f,
1095
+ Bt as g,
1096
+ Mt as h,
1097
+ it as i,
1098
+ at as j,
1099
+ Rt as k,
1100
+ Ct as l,
1101
+ ct as m,
1102
+ ut as n,
1103
+ Ie as o,
1104
+ Je as p,
1105
+ Ee as q,
1106
+ Ze as r,
1107
+ Ne as s,
1108
+ H as t,
1109
+ _e as u,
1110
+ Xe as v
1111
+ };
1112
+ //# sourceMappingURL=SelectionManager-ZjjLBkhT.es.js.map