@commercetools/nimbus 0.0.0-canary-20250828113330 → 0.0.0-canary-20250828120149
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.
- package/dist/chunks/{Button-DQ_WkLNH.cjs.js → Button-MmwT6xpw.cjs.js} +2 -2
- package/dist/chunks/{Button-DQ_WkLNH.cjs.js.map → Button-MmwT6xpw.cjs.js.map} +1 -1
- package/dist/chunks/{Button-C-yUWwZg.es.js → Button-wUEF0Zow.es.js} +7 -7
- package/dist/chunks/{Button-C-yUWwZg.es.js.map → Button-wUEF0Zow.es.js.map} +1 -1
- package/dist/chunks/{Collection-DFZhstai.es.js → Collection-CDJ_uFKV.es.js} +366 -337
- package/dist/chunks/Collection-CDJ_uFKV.es.js.map +1 -0
- package/dist/chunks/Collection-D_q1hY13.cjs.js +18 -0
- package/dist/chunks/Collection-D_q1hY13.cjs.js.map +1 -0
- package/dist/chunks/DateField-BRw4EOOA.cjs.js +2 -0
- package/dist/chunks/{DateField-D-KvZd-Q.cjs.js.map → DateField-BRw4EOOA.cjs.js.map} +1 -1
- package/dist/chunks/{DateField-m1BUGo8i.es.js → DateField-Cg2n5ili.es.js} +40 -39
- package/dist/chunks/{DateField-m1BUGo8i.es.js.map → DateField-Cg2n5ili.es.js.map} +1 -1
- package/dist/chunks/{DatePicker-5cKqpUC9.cjs.js → DatePicker-CqbnVxIC.cjs.js} +2 -2
- package/dist/chunks/{DatePicker-5cKqpUC9.cjs.js.map → DatePicker-CqbnVxIC.cjs.js.map} +1 -1
- package/dist/chunks/{DatePicker-8Z6Kf838.es.js → DatePicker-DVtAIdlj.es.js} +17 -17
- package/dist/chunks/{DatePicker-8Z6Kf838.es.js.map → DatePicker-DVtAIdlj.es.js.map} +1 -1
- package/dist/chunks/{Dialog-C7IjW1jR.es.js → Dialog-BTicQJXP.es.js} +431 -430
- package/dist/chunks/{Dialog-C7IjW1jR.es.js.map → Dialog-BTicQJXP.es.js.map} +1 -1
- package/dist/chunks/Dialog-ljK75Ezb.cjs.js +2 -0
- package/dist/chunks/{Dialog-Cbq66gyc.cjs.js.map → Dialog-ljK75Ezb.cjs.js.map} +1 -1
- package/dist/chunks/{DragAndDrop-cOfUfFj8.cjs.js → DragAndDrop-QpvgGL4C.cjs.js} +2 -2
- package/dist/chunks/{DragAndDrop-cOfUfFj8.cjs.js.map → DragAndDrop-QpvgGL4C.cjs.js.map} +1 -1
- package/dist/chunks/{DragAndDrop-ChYb3tCX.es.js → DragAndDrop-xhP_Ei7N.es.js} +3 -3
- package/dist/chunks/{DragAndDrop-ChYb3tCX.es.js.map → DragAndDrop-xhP_Ei7N.es.js.map} +1 -1
- package/dist/chunks/FocusScope-B5Aod9bV.es.js +696 -0
- package/dist/chunks/FocusScope-B5Aod9bV.es.js.map +1 -0
- package/dist/chunks/FocusScope-sU1ErK5w.cjs.js +2 -0
- package/dist/chunks/FocusScope-sU1ErK5w.cjs.js.map +1 -0
- package/dist/chunks/{Group-kT8-3NGT.es.js → Group-CU1nz0u2.es.js} +5 -5
- package/dist/chunks/{Group-kT8-3NGT.es.js.map → Group-CU1nz0u2.es.js.map} +1 -1
- package/dist/chunks/{Group-KVM7Xnxu.cjs.js → Group-DxD-SZdK.cjs.js} +2 -2
- package/dist/chunks/{Group-KVM7Xnxu.cjs.js.map → Group-DxD-SZdK.cjs.js.map} +1 -1
- package/dist/chunks/Heading-BorDTn_V.cjs.js +2 -0
- package/dist/chunks/{Heading-CQJ-3eon.cjs.js.map → Heading-BorDTn_V.cjs.js.map} +1 -1
- package/dist/chunks/{Heading-DMBCkz0y.es.js → Heading-CXKMd84h.es.js} +27 -26
- package/dist/chunks/{Heading-DMBCkz0y.es.js.map → Heading-CXKMd84h.es.js.map} +1 -1
- package/dist/chunks/{Input-C4REHQYD.es.js → Input-B7Cnwv00.es.js} +5 -5
- package/dist/chunks/{Input-C4REHQYD.es.js.map → Input-B7Cnwv00.es.js.map} +1 -1
- package/dist/chunks/{Input-93z9WR_a.cjs.js → Input-DK49tQti.cjs.js} +2 -2
- package/dist/chunks/{Input-93z9WR_a.cjs.js.map → Input-DK49tQti.cjs.js.map} +1 -1
- package/dist/chunks/{Label-B2YyCdLl.es.js → Label-CXgc_ps9.es.js} +2 -2
- package/dist/chunks/{Label-B2YyCdLl.es.js.map → Label-CXgc_ps9.es.js.map} +1 -1
- package/dist/chunks/{Label-BgrYyYXn.cjs.js → Label-DSG_MTc3.cjs.js} +2 -2
- package/dist/chunks/{Label-BgrYyYXn.cjs.js.map → Label-DSG_MTc3.cjs.js.map} +1 -1
- package/dist/chunks/{ListBox-B8Tz7EWS.es.js → ListBox-CGw4-iNr.es.js} +14 -14
- package/dist/chunks/{ListBox-B8Tz7EWS.es.js.map → ListBox-CGw4-iNr.es.js.map} +1 -1
- package/dist/chunks/{ListBox-CzZFXtHY.cjs.js → ListBox-DETV_5At.cjs.js} +2 -2
- package/dist/chunks/{ListBox-CzZFXtHY.cjs.js.map → ListBox-DETV_5At.cjs.js.map} +1 -1
- package/dist/chunks/{OverlayArrow-C5Ymp9MC.cjs.js → OverlayArrow-C_SkpQbf.cjs.js} +2 -2
- package/dist/chunks/{OverlayArrow-C5Ymp9MC.cjs.js.map → OverlayArrow-C_SkpQbf.cjs.js.map} +1 -1
- package/dist/chunks/{OverlayArrow-ERS8ZqL3.es.js → OverlayArrow-DbPNbnKm.es.js} +3 -3
- package/dist/chunks/{OverlayArrow-ERS8ZqL3.es.js.map → OverlayArrow-DbPNbnKm.es.js.map} +1 -1
- package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js → ProgressBar-Bm7vfOk4.cjs.js} +2 -2
- package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js.map → ProgressBar-Bm7vfOk4.cjs.js.map} +1 -1
- package/dist/chunks/{ProgressBar-BnGsEC_2.es.js → ProgressBar-DNmmtJsB.es.js} +5 -5
- package/dist/chunks/{ProgressBar-BnGsEC_2.es.js.map → ProgressBar-DNmmtJsB.es.js.map} +1 -1
- package/dist/chunks/{Separator-BUmWfQvi.es.js → Separator-Ahj2J22_.es.js} +26 -25
- package/dist/chunks/{Separator-BUmWfQvi.es.js.map → Separator-Ahj2J22_.es.js.map} +1 -1
- package/dist/chunks/Separator-CinA2hg4.cjs.js +2 -0
- package/dist/chunks/{Separator-DBLZ41YB.cjs.js.map → Separator-CinA2hg4.cjs.js.map} +1 -1
- package/dist/chunks/{TextArea-DIyosEKy.es.js → TextArea-DTir64d8.es.js} +5 -5
- package/dist/chunks/{TextArea-DIyosEKy.es.js.map → TextArea-DTir64d8.es.js.map} +1 -1
- package/dist/chunks/{TextArea-Cc0cDaeu.cjs.js → TextArea-p1OqtLgN.cjs.js} +2 -2
- package/dist/chunks/{TextArea-Cc0cDaeu.cjs.js.map → TextArea-p1OqtLgN.cjs.js.map} +1 -1
- package/dist/chunks/{ToggleButton-CgbTgCVi.es.js → ToggleButton-CmN8Ay9u.es.js} +7 -7
- package/dist/chunks/{ToggleButton-CgbTgCVi.es.js.map → ToggleButton-CmN8Ay9u.es.js.map} +1 -1
- package/dist/chunks/{ToggleButton-BbM5Zv6q.cjs.js → ToggleButton-DWTy3juF.cjs.js} +2 -2
- package/dist/chunks/{ToggleButton-BbM5Zv6q.cjs.js.map → ToggleButton-DWTy3juF.cjs.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-C38kRNm0.es.js → VisuallyHidden-BY2z9PpP.es.js} +3 -3
- package/dist/chunks/{VisuallyHidden-C38kRNm0.es.js.map → VisuallyHidden-BY2z9PpP.es.js.map} +1 -1
- package/dist/chunks/{VisuallyHidden-B4l0wZHw.cjs.js → VisuallyHidden-DFP8AIDZ.cjs.js} +2 -2
- package/dist/chunks/{VisuallyHidden-B4l0wZHw.cjs.js.map → VisuallyHidden-DFP8AIDZ.cjs.js.map} +1 -1
- package/dist/chunks/{accordion-B9jG9fOy.es.js → accordion-DF0by3UE.es.js} +5 -5
- package/dist/chunks/{accordion-B9jG9fOy.es.js.map → accordion-DF0by3UE.es.js.map} +1 -1
- package/dist/chunks/{accordion-C52FRG2V.cjs.js → accordion-Db0ZaAwE.cjs.js} +2 -2
- package/dist/chunks/{accordion-C52FRG2V.cjs.js.map → accordion-Db0ZaAwE.cjs.js.map} +1 -1
- package/dist/chunks/{alert-C88EdygK.cjs.js → alert-Ck60ax0h.cjs.js} +2 -2
- package/dist/chunks/{alert-C88EdygK.cjs.js.map → alert-Ck60ax0h.cjs.js.map} +1 -1
- package/dist/chunks/{alert-BSP6Q3el.es.js → alert-DfnvHvbA.es.js} +2 -2
- package/dist/chunks/{alert-BSP6Q3el.es.js.map → alert-DfnvHvbA.es.js.map} +1 -1
- package/dist/chunks/{badge-C2elCKPp.es.js → badge-B58WR_nK.es.js} +2 -2
- package/dist/chunks/{badge-C2elCKPp.es.js.map → badge-B58WR_nK.es.js.map} +1 -1
- package/dist/chunks/{badge-HHzfG1BI.cjs.js → badge-D3iqhdY4.cjs.js} +2 -2
- package/dist/chunks/{badge-HHzfG1BI.cjs.js.map → badge-D3iqhdY4.cjs.js.map} +1 -1
- package/dist/chunks/{button-BCrCWnMd.cjs.js → button-N0fUFhvD.cjs.js} +2 -2
- package/dist/chunks/{button-BCrCWnMd.cjs.js.map → button-N0fUFhvD.cjs.js.map} +1 -1
- package/dist/chunks/{button-B9biGn83.es.js → button-Nd45zL1x.es.js} +5 -5
- package/dist/chunks/{button-B9biGn83.es.js.map → button-Nd45zL1x.es.js.map} +1 -1
- package/dist/chunks/{calendar-BU_04xoY.cjs.js → calendar-Cj6tlZEj.cjs.js} +2 -2
- package/dist/chunks/{calendar-BU_04xoY.cjs.js.map → calendar-Cj6tlZEj.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-B9IgFF4u.es.js → calendar-kDDTW9QY.es.js} +8 -8
- package/dist/chunks/{calendar-B9IgFF4u.es.js.map → calendar-kDDTW9QY.es.js.map} +1 -1
- package/dist/chunks/{card-C7PIEqmV.es.js → card-33QKPI9V.es.js} +3 -3
- package/dist/chunks/{card-C7PIEqmV.es.js.map → card-33QKPI9V.es.js.map} +1 -1
- package/dist/chunks/{card-Bgg1CCU2.cjs.js → card-DFkYZ6Cs.cjs.js} +2 -2
- package/dist/chunks/{card-Bgg1CCU2.cjs.js.map → card-DFkYZ6Cs.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-VN2y-Prn.es.js → checkbox-D2tsRAy1.es.js} +9 -9
- package/dist/chunks/{checkbox-VN2y-Prn.es.js.map → checkbox-D2tsRAy1.es.js.map} +1 -1
- package/dist/chunks/{checkbox-BN-_eQB9.cjs.js → checkbox-g5gMaiLJ.cjs.js} +2 -2
- package/dist/chunks/{checkbox-BN-_eQB9.cjs.js.map → checkbox-g5gMaiLJ.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-ClhyR7hp.es.js → combobox-C1nOP0Qh.es.js} +423 -403
- package/dist/chunks/combobox-C1nOP0Qh.es.js.map +1 -0
- package/dist/chunks/combobox-D1AqzXjA.cjs.js +2 -0
- package/dist/chunks/combobox-D1AqzXjA.cjs.js.map +1 -0
- package/dist/chunks/data-table-CgICAQC9.cjs.js +2 -0
- package/dist/chunks/{data-table-BZdQfaxu.cjs.js.map → data-table-CgICAQC9.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-WHEWdh5f.es.js → data-table-DlBw5XeS.es.js} +427 -426
- package/dist/chunks/{data-table-WHEWdh5f.es.js.map → data-table-DlBw5XeS.es.js.map} +1 -1
- package/dist/chunks/{date-input-C6zs_WLw.cjs.js → date-input-CHWJMf4Y.cjs.js} +2 -2
- package/dist/chunks/{date-input-C6zs_WLw.cjs.js.map → date-input-CHWJMf4Y.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-BOKez7n5.es.js → date-input-DBd91qhQ.es.js} +2 -2
- package/dist/chunks/{date-input-BOKez7n5.es.js.map → date-input-DBd91qhQ.es.js.map} +1 -1
- package/dist/chunks/{date-picker--1p1znhu.es.js → date-picker-DkegHUiZ.es.js} +12 -12
- package/dist/chunks/{date-picker--1p1znhu.es.js.map → date-picker-DkegHUiZ.es.js.map} +1 -1
- package/dist/chunks/{date-picker-BAf5yyGT.cjs.js → date-picker-W70bKrmU.cjs.js} +2 -2
- package/dist/chunks/{date-picker-BAf5yyGT.cjs.js.map → date-picker-W70bKrmU.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-zxwhdmlC.cjs.js → date-range-picker-Cqdj51fV.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-zxwhdmlC.cjs.js.map → date-range-picker-Cqdj51fV.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-J-FqEMGo.es.js → date-range-picker-vzDrtZ94.es.js} +12 -12
- package/dist/chunks/{date-range-picker-J-FqEMGo.es.js.map → date-range-picker-vzDrtZ94.es.js.map} +1 -1
- package/dist/chunks/{divider-CTTExmLv.cjs.js → divider-BZkfiFj5.cjs.js} +2 -2
- package/dist/chunks/{divider-CTTExmLv.cjs.js.map → divider-BZkfiFj5.cjs.js.map} +1 -1
- package/dist/chunks/{divider-CpctZ_-U.es.js → divider-Vtnb6QbI.es.js} +2 -2
- package/dist/chunks/{divider-CpctZ_-U.es.js.map → divider-Vtnb6QbI.es.js.map} +1 -1
- package/dist/chunks/domHelpers-InH3T0qs.es.js +16 -0
- package/dist/chunks/domHelpers-InH3T0qs.es.js.map +1 -0
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +2 -0
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-CgVjbH-x.cjs.js +2 -0
- package/dist/chunks/{focusSafely-CpzfaUTO.cjs.js.map → focusSafely-CgVjbH-x.cjs.js.map} +1 -1
- package/dist/chunks/{focusSafely-Di2ArC9L.es.js → focusSafely-D8bIeV7X.es.js} +5 -6
- package/dist/chunks/{focusSafely-Di2ArC9L.es.js.map → focusSafely-D8bIeV7X.es.js.map} +1 -1
- package/dist/chunks/{form-field-B9PncHWr.cjs.js → form-field-CS9GGlbl.cjs.js} +2 -2
- package/dist/chunks/{form-field-B9PncHWr.cjs.js.map → form-field-CS9GGlbl.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-wK_anzOw.es.js → form-field-DcQW2A1i.es.js} +4 -4
- package/dist/chunks/{form-field-wK_anzOw.es.js.map → form-field-DcQW2A1i.es.js.map} +1 -1
- package/dist/chunks/{group-BQeamedA.es.js → group-CYRXn-NO.es.js} +2 -2
- package/dist/chunks/{group-BQeamedA.es.js.map → group-CYRXn-NO.es.js.map} +1 -1
- package/dist/chunks/{group-BwSwp_8B.cjs.js → group-DgCuvf_U.cjs.js} +2 -2
- package/dist/chunks/{group-BwSwp_8B.cjs.js.map → group-DgCuvf_U.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-a3WVC7IH.es.js → icon-button-BkjZ1Pq8.es.js} +2 -2
- package/dist/chunks/{icon-button-a3WVC7IH.es.js.map → icon-button-BkjZ1Pq8.es.js.map} +1 -1
- package/dist/chunks/{icon-button-BPQdpTPZ.cjs.js → icon-button-Cs41MKV5.cjs.js} +2 -2
- package/dist/chunks/{icon-button-BPQdpTPZ.cjs.js.map → icon-button-Cs41MKV5.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-D5Uji9qU.cjs.js → icon-toggle-button-BljNXaJy.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-D5Uji9qU.cjs.js.map → icon-toggle-button-BljNXaJy.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-sFqCJEvI.es.js → icon-toggle-button-CEGHh-JB.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-sFqCJEvI.es.js.map → icon-toggle-button-CEGHh-JB.es.js.map} +1 -1
- package/dist/chunks/{kbd-CDEXQyg2.es.js → kbd-BjfxBIWW.es.js} +2 -2
- package/dist/chunks/{kbd-CDEXQyg2.es.js.map → kbd-BjfxBIWW.es.js.map} +1 -1
- package/dist/chunks/{kbd-DP3lZ80W.cjs.js → kbd-DxwHwPaF.cjs.js} +2 -2
- package/dist/chunks/{kbd-DP3lZ80W.cjs.js.map → kbd-DxwHwPaF.cjs.js.map} +1 -1
- package/dist/chunks/{link-DMl9zyrR.cjs.js → link-CNe7kOhA.cjs.js} +2 -2
- package/dist/chunks/{link-DMl9zyrR.cjs.js.map → link-CNe7kOhA.cjs.js.map} +1 -1
- package/dist/chunks/{link-Db9S7XvR.es.js → link-D0XhkPu6.es.js} +5 -5
- package/dist/chunks/{link-Db9S7XvR.es.js.map → link-D0XhkPu6.es.js.map} +1 -1
- package/dist/chunks/{loading-spinner-C7yZE-QF.es.js → loading-spinner-COTpElt8.es.js} +3 -3
- package/dist/chunks/{loading-spinner-C7yZE-QF.es.js.map → loading-spinner-COTpElt8.es.js.map} +1 -1
- package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js → loading-spinner-C_1gCLzP.cjs.js} +2 -2
- package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js.map → loading-spinner-C_1gCLzP.cjs.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-fn-8kTQK.cjs.js → make-element-focusable-Cj8VL4H4.cjs.js} +2 -2
- package/dist/chunks/{make-element-focusable-fn-8kTQK.cjs.js.map → make-element-focusable-Cj8VL4H4.cjs.js.map} +1 -1
- package/dist/chunks/{make-element-focusable-_FWEyVtG.es.js → make-element-focusable-DS5T93TG.es.js} +3 -3
- package/dist/chunks/{make-element-focusable-_FWEyVtG.es.js.map → make-element-focusable-DS5T93TG.es.js.map} +1 -1
- package/dist/chunks/{menu-BX993uzm.cjs.js → menu-BaTd4n0a.cjs.js} +2 -2
- package/dist/chunks/{menu-BX993uzm.cjs.js.map → menu-BaTd4n0a.cjs.js.map} +1 -1
- package/dist/chunks/{menu-DbKjf1RS.es.js → menu-DKTon-Vn.es.js} +5 -5
- package/dist/chunks/{menu-DbKjf1RS.es.js.map → menu-DKTon-Vn.es.js.map} +1 -1
- package/dist/chunks/{mergeProps-B_9syxhT.es.js → mergeProps-CtwSzqnr.es.js} +5 -4
- package/dist/chunks/{mergeProps-B_9syxhT.es.js.map → mergeProps-CtwSzqnr.es.js.map} +1 -1
- package/dist/chunks/{mergeProps-BA5Cwf5w.cjs.js → mergeProps-DRkWdaVg.cjs.js} +2 -2
- package/dist/chunks/{mergeProps-BA5Cwf5w.cjs.js.map → mergeProps-DRkWdaVg.cjs.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-BvJxZ-xz.es.js → multiline-text-input-Bsazfavw.es.js} +3 -3
- package/dist/chunks/{multiline-text-input-BvJxZ-xz.es.js.map → multiline-text-input-Bsazfavw.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-mIiDJ-o1.cjs.js → multiline-text-input-DufrCFhg.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-mIiDJ-o1.cjs.js.map → multiline-text-input-DufrCFhg.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-C68IpiXi.es.js → nimbus-provider-BinjIRf7.es.js} +2 -2
- package/dist/chunks/{nimbus-provider-C68IpiXi.es.js.map → nimbus-provider-BinjIRf7.es.js.map} +1 -1
- package/dist/chunks/number-input-2C9g1Xgr.cjs.js +2 -0
- package/dist/chunks/number-input-2C9g1Xgr.cjs.js.map +1 -0
- package/dist/chunks/{number-input-DFmXNyz2.es.js → number-input-l32lWVbX.es.js} +208 -192
- package/dist/chunks/number-input-l32lWVbX.es.js.map +1 -0
- package/dist/chunks/{openLink-Ctl0AdAy.es.js → openLink-BwkmFekP.es.js} +2 -2
- package/dist/chunks/{openLink-Ctl0AdAy.es.js.map → openLink-BwkmFekP.es.js.map} +1 -1
- package/dist/chunks/{password-input-BWFYKcBT.es.js → password-input-B9Uv-ybv.es.js} +4 -4
- package/dist/chunks/{password-input-BWFYKcBT.es.js.map → password-input-B9Uv-ybv.es.js.map} +1 -1
- package/dist/chunks/{password-input-D8R9Y9Ro.cjs.js → password-input-q1cxpiOP.cjs.js} +2 -2
- package/dist/chunks/{password-input-D8R9Y9Ro.cjs.js.map → password-input-q1cxpiOP.cjs.js.map} +1 -1
- package/dist/chunks/{platform-Z5fvtFmM.es.js → platform-BOO1jCtB.es.js} +4 -4
- package/dist/chunks/{platform-Z5fvtFmM.es.js.map → platform-BOO1jCtB.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js → progress-bar-BGTJgcWE.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js.map → progress-bar-BGTJgcWE.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-CDRI279T.es.js → progress-bar-C8onDqV2.es.js} +3 -3
- package/dist/chunks/{progress-bar-CDRI279T.es.js.map → progress-bar-C8onDqV2.es.js.map} +1 -1
- package/dist/chunks/radio-input-BlE9GNwl.cjs.js +2 -0
- package/dist/chunks/{radio-input-CWRnpcxm.cjs.js.map → radio-input-BlE9GNwl.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-CE_kist9.es.js → radio-input-uMVsYeTe.es.js} +15 -15
- package/dist/chunks/{radio-input-CE_kist9.es.js.map → radio-input-uMVsYeTe.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-CswayeNh.cjs.js → range-calendar-CvTT4HY-.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-CswayeNh.cjs.js.map → range-calendar-CvTT4HY-.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-B7-Z0ksl.es.js → range-calendar-YuvY8LUd.es.js} +8 -8
- package/dist/chunks/{range-calendar-B7-Z0ksl.es.js.map → range-calendar-YuvY8LUd.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-Cvcywluc.cjs.js → rich-text-input-C7EK9LsN.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-Cvcywluc.cjs.js.map → rich-text-input-C7EK9LsN.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-Bty0WhBM.es.js → rich-text-input-CVqiVHV1.es.js} +11 -11
- package/dist/chunks/{rich-text-input-Bty0WhBM.es.js.map → rich-text-input-CVqiVHV1.es.js.map} +1 -1
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +1 -0
- package/dist/chunks/scrollIntoView-CdmKMaOn.es.js +64 -0
- package/dist/chunks/scrollIntoView-CdmKMaOn.es.js.map +1 -0
- package/dist/chunks/{select-BwGMCDw8.es.js → select-CgapbY3S.es.js} +18 -18
- package/dist/chunks/{select-BwGMCDw8.es.js.map → select-CgapbY3S.es.js.map} +1 -1
- package/dist/chunks/{select-DnmavfXh.cjs.js → select-Dd2f6hd1.cjs.js} +2 -2
- package/dist/chunks/{select-DnmavfXh.cjs.js.map → select-Dd2f6hd1.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-BMpznhkI.cjs.js → split-button-Blbr2czN.cjs.js} +2 -2
- package/dist/chunks/{split-button-BMpznhkI.cjs.js.map → split-button-Blbr2czN.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-a7my5Dc8.es.js → split-button-DoRlks-p.es.js} +4 -4
- package/dist/chunks/{split-button-a7my5Dc8.es.js.map → split-button-DoRlks-p.es.js.map} +1 -1
- package/dist/chunks/{switch-DZBU6Cbk.es.js → switch-Cb0mCIEe.es.js} +5 -5
- package/dist/chunks/{switch-DZBU6Cbk.es.js.map → switch-Cb0mCIEe.es.js.map} +1 -1
- package/dist/chunks/{switch-D3w3xQ7Z.cjs.js → switch-Cha1HMzo.cjs.js} +2 -2
- package/dist/chunks/{switch-D3w3xQ7Z.cjs.js.map → switch-Cha1HMzo.cjs.js.map} +1 -1
- package/dist/chunks/tag-group-5uAuEquc.cjs.js +2 -0
- package/dist/chunks/{tag-group-3YoW3lJr.cjs.js.map → tag-group-5uAuEquc.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-BBldLRQt.es.js → tag-group-CvKA8ufC.es.js} +23 -22
- package/dist/chunks/{tag-group-BBldLRQt.es.js.map → tag-group-CvKA8ufC.es.js.map} +1 -1
- package/dist/chunks/{text-hUMahKuA.cjs.js → text-BOdnmoaN.cjs.js} +2 -2
- package/dist/chunks/{text-hUMahKuA.cjs.js.map → text-BOdnmoaN.cjs.js.map} +1 -1
- package/dist/chunks/{text-B2wziCK6.es.js → text-DkO9mfur.es.js} +2 -2
- package/dist/chunks/{text-B2wziCK6.es.js.map → text-DkO9mfur.es.js.map} +1 -1
- package/dist/chunks/{text-input-DlNFZk9-.es.js → text-input-C3q-zUxw.es.js} +3 -3
- package/dist/chunks/{text-input-DlNFZk9-.es.js.map → text-input-C3q-zUxw.es.js.map} +1 -1
- package/dist/chunks/{text-input-i2bZeQZZ.cjs.js → text-input-eShRYnI3.cjs.js} +2 -2
- package/dist/chunks/{text-input-i2bZeQZZ.cjs.js.map → text-input-eShRYnI3.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-Cc8RFGmz.cjs.js → time-input-CkNODZOE.cjs.js} +2 -2
- package/dist/chunks/{time-input-Cc8RFGmz.cjs.js.map → time-input-CkNODZOE.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-BORpKwS7.es.js → time-input-ZZK92O_5.es.js} +2 -2
- package/dist/chunks/{time-input-BORpKwS7.es.js.map → time-input-ZZK92O_5.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-DZpRqlmW.cjs.js → toggle-button-BEOCbO0O.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-DZpRqlmW.cjs.js.map → toggle-button-BEOCbO0O.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-C7BBLnfL.es.js → toggle-button-Bfo8opbK.es.js} +2 -2
- package/dist/chunks/{toggle-button-C7BBLnfL.es.js.map → toggle-button-Bfo8opbK.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-C-jzm7ev.cjs.js → toggle-button-group-B_C5ly_4.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-group-C-jzm7ev.cjs.js.map → toggle-button-group-B_C5ly_4.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-group-BjQefKya.es.js → toggle-button-group-yB5nqdV3.es.js} +2 -2
- package/dist/chunks/{toggle-button-group-BjQefKya.es.js.map → toggle-button-group-yB5nqdV3.es.js.map} +1 -1
- package/dist/chunks/{toolbar-Dbq_EngE.cjs.js → toolbar-BZkvVoAw.cjs.js} +2 -2
- package/dist/chunks/{toolbar-Dbq_EngE.cjs.js.map → toolbar-BZkvVoAw.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-CD5Nrn7W.es.js → toolbar-DvkcbAsl.es.js} +4 -4
- package/dist/chunks/{toolbar-CD5Nrn7W.es.js.map → toolbar-DvkcbAsl.es.js.map} +1 -1
- package/dist/chunks/{tooltip-BOK0Uejw.es.js → tooltip-Bb_I4Owj.es.js} +7 -7
- package/dist/chunks/{tooltip-BOK0Uejw.es.js.map → tooltip-Bb_I4Owj.es.js.map} +1 -1
- package/dist/chunks/{tooltip-DjUjwciC.cjs.js → tooltip-D7QmPw5W.cjs.js} +2 -2
- package/dist/chunks/{tooltip-DjUjwciC.cjs.js.map → tooltip-D7QmPw5W.cjs.js.map} +1 -1
- package/dist/chunks/{useButton-D3BedLtL.cjs.js → useButton-6DDhTkQ5.cjs.js} +2 -2
- package/dist/chunks/{useButton-D3BedLtL.cjs.js.map → useButton-6DDhTkQ5.cjs.js.map} +1 -1
- package/dist/chunks/{useButton-Cgkz8UEs.es.js → useButton-CKkFEBt0.es.js} +4 -4
- package/dist/chunks/{useButton-Cgkz8UEs.es.js.map → useButton-CKkFEBt0.es.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-G9oGkNG5.cjs.js → useDateFormatter-BIkv89ta.cjs.js} +2 -2
- package/dist/chunks/{useDateFormatter-G9oGkNG5.cjs.js.map → useDateFormatter-BIkv89ta.cjs.js.map} +1 -1
- package/dist/chunks/{useDateFormatter-D9HBAX1w.es.js → useDateFormatter-DGeAh0SC.es.js} +2 -2
- package/dist/chunks/{useDateFormatter-D9HBAX1w.es.js.map → useDateFormatter-DGeAh0SC.es.js.map} +1 -1
- package/dist/chunks/useDescription-CVIOL3si.es.js +33 -0
- package/dist/chunks/useDescription-CVIOL3si.es.js.map +1 -0
- package/dist/chunks/useDescription-Dwd7oLGP.cjs.js +2 -0
- package/dist/chunks/useDescription-Dwd7oLGP.cjs.js.map +1 -0
- package/dist/chunks/{useEvent-CuUOU5WV.cjs.js → useEvent-AOCWMUCu.cjs.js} +2 -2
- package/dist/chunks/{useEvent-CuUOU5WV.cjs.js.map → useEvent-AOCWMUCu.cjs.js.map} +1 -1
- package/dist/chunks/{useEvent-YHhqZvpU.es.js → useEvent-k0_MYJWL.es.js} +7 -7
- package/dist/chunks/{useEvent-YHhqZvpU.es.js.map → useEvent-k0_MYJWL.es.js.map} +1 -1
- package/dist/chunks/{useField-Ce9zQxmx.es.js → useField-9-dizG-T.es.js} +3 -3
- package/dist/chunks/{useField-Ce9zQxmx.es.js.map → useField-9-dizG-T.es.js.map} +1 -1
- package/dist/chunks/{useField-DmqO9k7a.cjs.js → useField-D5vZhNS3.cjs.js} +2 -2
- package/dist/chunks/{useField-DmqO9k7a.cjs.js.map → useField-D5vZhNS3.cjs.js.map} +1 -1
- package/dist/chunks/{useFocus-BcBbbuWU.cjs.js → useFocus-DpnjsJ3H.cjs.js} +2 -2
- package/dist/chunks/{useFocus-BcBbbuWU.cjs.js.map → useFocus-DpnjsJ3H.cjs.js.map} +1 -1
- package/dist/chunks/{useFocus-CeI1jbl8.es.js → useFocus-Lq2Mmyje.es.js} +6 -6
- package/dist/chunks/{useFocus-CeI1jbl8.es.js.map → useFocus-Lq2Mmyje.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-D8cwV0EM.es.js → useFocusRing-BFWuvq6P.es.js} +4 -4
- package/dist/chunks/{useFocusRing-D8cwV0EM.es.js.map → useFocusRing-BFWuvq6P.es.js.map} +1 -1
- package/dist/chunks/{useFocusRing-DRIoF592.cjs.js → useFocusRing-DjMwdeTr.cjs.js} +2 -2
- package/dist/chunks/{useFocusRing-DRIoF592.cjs.js.map → useFocusRing-DjMwdeTr.cjs.js.map} +1 -1
- package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js.map +1 -0
- package/dist/chunks/useFocusVisible-DGwGbqVH.es.js +148 -0
- package/dist/chunks/useFocusVisible-DGwGbqVH.es.js.map +1 -0
- package/dist/chunks/{useFocusWithin-i-cVKYQ8.cjs.js → useFocusWithin-BcxLc412.cjs.js} +2 -2
- package/dist/chunks/{useFocusWithin-i-cVKYQ8.cjs.js.map → useFocusWithin-BcxLc412.cjs.js.map} +1 -1
- package/dist/chunks/{useFocusWithin-yfiHuOEs.es.js → useFocusWithin-QIERmzTm.es.js} +6 -6
- package/dist/chunks/{useFocusWithin-yfiHuOEs.es.js.map → useFocusWithin-QIERmzTm.es.js.map} +1 -1
- package/dist/chunks/useFocusable-BKWax3sD.cjs.js +2 -0
- package/dist/chunks/useFocusable-BKWax3sD.cjs.js.map +1 -0
- package/dist/chunks/useFocusable-ZY85zm7p.es.js +101 -0
- package/dist/chunks/useFocusable-ZY85zm7p.es.js.map +1 -0
- package/dist/chunks/{useFormReset--wPlnEOl.cjs.js → useFormReset-7-vYPDFJ.cjs.js} +2 -2
- package/dist/chunks/{useFormReset--wPlnEOl.cjs.js.map → useFormReset-7-vYPDFJ.cjs.js.map} +1 -1
- package/dist/chunks/{useFormReset-DurgUJL-.es.js → useFormReset-C27nadG4.es.js} +2 -2
- package/dist/chunks/{useFormReset-DurgUJL-.es.js.map → useFormReset-C27nadG4.es.js.map} +1 -1
- package/dist/chunks/{useFormValidation-DJy_cdgv.cjs.js → useFormValidation-B5jwexNB.cjs.js} +2 -2
- package/dist/chunks/{useFormValidation-DJy_cdgv.cjs.js.map → useFormValidation-B5jwexNB.cjs.js.map} +1 -1
- package/dist/chunks/{useFormValidation-DJMNbIhx.es.js → useFormValidation-Chwu6llz.es.js} +3 -3
- package/dist/chunks/{useFormValidation-DJMNbIhx.es.js.map → useFormValidation-Chwu6llz.es.js.map} +1 -1
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
- package/dist/chunks/{useHighlightSelectionDescription-DAR8wV79.es.js → useHighlightSelectionDescription-C7xYnRNQ.es.js} +5 -5
- package/dist/chunks/{useHighlightSelectionDescription-DAR8wV79.es.js.map → useHighlightSelectionDescription-C7xYnRNQ.es.js.map} +1 -1
- package/dist/chunks/{useHighlightSelectionDescription-DPwy1mkw.cjs.js → useHighlightSelectionDescription-DbT86zJE.cjs.js} +2 -2
- package/dist/chunks/{useHighlightSelectionDescription-DPwy1mkw.cjs.js.map → useHighlightSelectionDescription-DbT86zJE.cjs.js.map} +1 -1
- package/dist/chunks/{useHover-BlZx5CU2.cjs.js → useHover-BmNjdf-e.cjs.js} +2 -2
- package/dist/chunks/{useHover-BlZx5CU2.cjs.js.map → useHover-BmNjdf-e.cjs.js.map} +1 -1
- package/dist/chunks/{useHover-cJOf02TT.es.js → useHover-C5D2lV7p.es.js} +2 -2
- package/dist/chunks/{useHover-cJOf02TT.es.js.map → useHover-C5D2lV7p.es.js.map} +1 -1
- package/dist/chunks/{useLabel-Y8tWagLu.cjs.js → useLabel-BvIA-VYU.cjs.js} +2 -2
- package/dist/chunks/{useLabel-Y8tWagLu.cjs.js.map → useLabel-BvIA-VYU.cjs.js.map} +1 -1
- package/dist/chunks/{useLabel-BBmkkrPP.es.js → useLabel-DHa3lVYx.es.js} +2 -2
- package/dist/chunks/{useLabel-BBmkkrPP.es.js.map → useLabel-DHa3lVYx.es.js.map} +1 -1
- package/dist/chunks/usePress-CEcydhMs.es.js +473 -0
- package/dist/chunks/usePress-CEcydhMs.es.js.map +1 -0
- package/dist/chunks/usePress-_EFFCs1n.cjs.js +8 -0
- package/dist/chunks/usePress-_EFFCs1n.cjs.js.map +1 -0
- package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js → useProgressBar-DPrqCXGF.cjs.js} +2 -2
- package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js.map → useProgressBar-DPrqCXGF.cjs.js.map} +1 -1
- package/dist/chunks/{useProgressBar-BgURyN6q.es.js → useProgressBar-DjpcXNXW.es.js} +3 -3
- package/dist/chunks/{useProgressBar-BgURyN6q.es.js.map → useProgressBar-DjpcXNXW.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-CiK-JkEX.es.js → useSingleSelectListState-C71okNUJ.es.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-CiK-JkEX.es.js.map → useSingleSelectListState-C71okNUJ.es.js.map} +1 -1
- package/dist/chunks/{useSingleSelectListState-BpAVpRdZ.cjs.js → useSingleSelectListState-CVyCydEV.cjs.js} +2 -2
- package/dist/chunks/{useSingleSelectListState-BpAVpRdZ.cjs.js.map → useSingleSelectListState-CVyCydEV.cjs.js.map} +1 -1
- package/dist/chunks/{useSpinButton-C-tpK-T9.es.js → useSpinButton-BmgSsr4J.es.js} +210 -181
- package/dist/chunks/useSpinButton-BmgSsr4J.es.js.map +1 -0
- package/dist/chunks/useSpinButton-CjLHguQd.cjs.js +2 -0
- package/dist/chunks/useSpinButton-CjLHguQd.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js +2 -0
- package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-KqQTqZax.es.js +47 -0
- package/dist/chunks/useSyncRef-KqQTqZax.es.js.map +1 -0
- package/dist/chunks/{useTextField-Doh-sQHP.es.js → useTextField-D0VFuWqP.es.js} +7 -7
- package/dist/chunks/{useTextField-Doh-sQHP.es.js.map → useTextField-D0VFuWqP.es.js.map} +1 -1
- package/dist/chunks/useTextField-DvU8XT6q.cjs.js +2 -0
- package/dist/chunks/{useTextField-Cv1jQqUp.cjs.js.map → useTextField-DvU8XT6q.cjs.js.map} +1 -1
- package/dist/chunks/{useToggle-DcdigPKG.es.js → useToggle-C9HpNiZE.es.js} +5 -5
- package/dist/chunks/{useToggle-DcdigPKG.es.js.map → useToggle-C9HpNiZE.es.js.map} +1 -1
- package/dist/chunks/{useToggle-BK36AEko.cjs.js → useToggle-ChOojvWq.cjs.js} +2 -2
- package/dist/chunks/{useToggle-BK36AEko.cjs.js.map → useToggle-ChOojvWq.cjs.js.map} +1 -1
- package/dist/chunks/{useToolbar-D3B8DvbF.cjs.js → useToolbar-DfnAHPrS.cjs.js} +2 -2
- package/dist/chunks/{useToolbar-D3B8DvbF.cjs.js.map → useToolbar-DfnAHPrS.cjs.js.map} +1 -1
- package/dist/chunks/{useToolbar-CYJ2PbtO.es.js → useToolbar-Dzap6P-D.es.js} +3 -3
- package/dist/chunks/{useToolbar-CYJ2PbtO.es.js.map → useToolbar-Dzap6P-D.es.js.map} +1 -1
- package/dist/chunks/utils-3xKI25I1.cjs.js +2 -0
- package/dist/chunks/utils-3xKI25I1.cjs.js.map +1 -0
- package/dist/chunks/utils-4CfAFtL7.es.js +242 -0
- package/dist/chunks/utils-4CfAFtL7.es.js.map +1 -0
- package/dist/chunks/{utils-BHdR5Nww.cjs.js → utils-CB9xZl-T.cjs.js} +2 -2
- package/dist/chunks/{utils-BHdR5Nww.cjs.js.map → utils-CB9xZl-T.cjs.js.map} +1 -1
- package/dist/chunks/{utils-BkdW_cdL.es.js → utils-emYDjcZU.es.js} +2 -2
- package/dist/chunks/{utils-BkdW_cdL.es.js.map → utils-emYDjcZU.es.js.map} +1 -1
- package/dist/chunks/{visually-hidden-vh07nrZa.es.js → visually-hidden-Bw4WH-b1.es.js} +2 -2
- package/dist/chunks/{visually-hidden-vh07nrZa.es.js.map → visually-hidden-Bw4WH-b1.es.js.map} +1 -1
- package/dist/chunks/{visually-hidden-Uhh-2Y-q.cjs.js → visually-hidden-CQBnuJLY.cjs.js} +2 -2
- package/dist/chunks/{visually-hidden-Uhh-2Y-q.cjs.js.map → visually-hidden-CQBnuJLY.cjs.js.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +42 -42
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/divider.cjs +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/group.cjs +1 -1
- package/dist/components/group.es.js +1 -1
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.cjs +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +2 -2
- package/dist/components/visually-hidden.cjs +1 -1
- package/dist/components/visually-hidden.es.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +43 -43
- package/package.json +6 -6
- package/dist/chunks/Collection-BsItrctR.cjs.js +0 -18
- package/dist/chunks/Collection-BsItrctR.cjs.js.map +0 -1
- package/dist/chunks/Collection-DFZhstai.es.js.map +0 -1
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js +0 -2
- package/dist/chunks/Dialog-Cbq66gyc.cjs.js +0 -2
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js +0 -2
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js.map +0 -1
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js +0 -625
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js.map +0 -1
- package/dist/chunks/Heading-CQJ-3eon.cjs.js +0 -2
- package/dist/chunks/Separator-DBLZ41YB.cjs.js +0 -2
- package/dist/chunks/combobox-BvfBQq9k.cjs.js +0 -2
- package/dist/chunks/combobox-BvfBQq9k.cjs.js.map +0 -1
- package/dist/chunks/combobox-ClhyR7hp.es.js.map +0 -1
- package/dist/chunks/data-table-BZdQfaxu.cjs.js +0 -2
- package/dist/chunks/focusSafely-CpzfaUTO.cjs.js +0 -2
- package/dist/chunks/number-input-BN6xiOXG.cjs.js +0 -2
- package/dist/chunks/number-input-BN6xiOXG.cjs.js.map +0 -1
- package/dist/chunks/number-input-DFmXNyz2.es.js.map +0 -1
- package/dist/chunks/radio-input-CWRnpcxm.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +0 -94
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +0 -1
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +0 -1
- package/dist/chunks/tag-group-3YoW3lJr.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js +0 -111
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js.map +0 -1
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js +0 -2
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-BghVNiQU.es.js +0 -77
- package/dist/chunks/useFocusable-BghVNiQU.es.js.map +0 -1
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js +0 -2
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js.map +0 -1
- package/dist/chunks/usePress-BquTSwUd.es.js +0 -456
- package/dist/chunks/usePress-BquTSwUd.es.js.map +0 -1
- package/dist/chunks/usePress-D8F1U6qk.cjs.js +0 -8
- package/dist/chunks/usePress-D8F1U6qk.cjs.js.map +0 -1
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +0 -1
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +0 -2
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +0 -1
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js +0 -13
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +0 -1
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +0 -2
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +0 -1
- package/dist/chunks/useTextField-Cv1jQqUp.cjs.js +0 -2
- package/dist/chunks/utils-BHVnNfaH.cjs.js +0 -2
- package/dist/chunks/utils-BHVnNfaH.cjs.js.map +0 -1
- package/dist/chunks/utils-Gg3iiYhl.es.js +0 -188
- package/dist/chunks/utils-Gg3iiYhl.es.js.map +0 -1
|
@@ -1,39 +1,68 @@
|
|
|
1
|
-
import S, { useRef as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { $ as
|
|
5
|
-
import { $ as je, d as
|
|
6
|
-
import { $ as ee } from "./useEvent-
|
|
7
|
-
import { a as
|
|
8
|
-
import { b as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { $ as
|
|
15
|
-
import { $ as
|
|
16
|
-
import {
|
|
17
|
-
import { b as
|
|
1
|
+
import S, { useRef as E, useState as Y, useEffect as X, useMemo as B, cloneElement as qe, forwardRef as We, useContext as H, createContext as G, useCallback as Z, isValidElement as ot } from "react";
|
|
2
|
+
import { c as Ge, b as st } from "./FocusScope-B5Aod9bV.es.js";
|
|
3
|
+
import { d as me, a as _e, c as we, $ as le, f as ut } from "./mergeProps-CtwSzqnr.es.js";
|
|
4
|
+
import { $ as De } from "./focusWithoutScrolling-CDw3JYiq.es.js";
|
|
5
|
+
import { $ as je, d as at } from "./openLink-BwkmFekP.es.js";
|
|
6
|
+
import { $ as ee } from "./useEvent-k0_MYJWL.es.js";
|
|
7
|
+
import { a as ct, b as Ee, c as ke } from "./scrollIntoView-CdmKMaOn.es.js";
|
|
8
|
+
import { b as Ie } from "./useFocusVisible-DGwGbqVH.es.js";
|
|
9
|
+
import { $ as be } from "./focusSafely-D8bIeV7X.es.js";
|
|
10
|
+
import { flushSync as dt, createPortal as ft } from "react-dom";
|
|
11
|
+
import { $ as ht } from "./context-Pt-0ojuK.es.js";
|
|
12
|
+
import { b as yt, f as pt } from "./platform-BOO1jCtB.es.js";
|
|
13
|
+
import { $ as Ye } from "./usePress-CEcydhMs.es.js";
|
|
14
|
+
import { j as vt, $ as gt, g as mt } from "./utils-4CfAFtL7.es.js";
|
|
15
|
+
import { $ as bt } from "./useSyncRef-KqQTqZax.es.js";
|
|
16
|
+
import { $ as St } from "./useGlobalListeners-BOOfV5Wh.es.js";
|
|
17
|
+
import { b as Kt } from "./domHelpers-InH3T0qs.es.js";
|
|
18
|
+
import { a as $t } from "./Hidden-j3Lbt7xL.es.js";
|
|
19
|
+
import { b as Pe } from "./useFocusable-ZY85zm7p.es.js";
|
|
18
20
|
import { $ as Xe } from "./SSRProvider-Cu8KibIK.es.js";
|
|
19
|
-
import { $ as
|
|
20
|
-
function
|
|
21
|
-
const t =
|
|
22
|
-
|
|
21
|
+
import { $ as xt } from "./useControlledState-u436Wbp1.es.js";
|
|
22
|
+
function Fe(r, e) {
|
|
23
|
+
const t = E(!0), i = E(null);
|
|
24
|
+
me(() => (t.current = !0, () => {
|
|
23
25
|
t.current = !1;
|
|
24
|
-
}), []),
|
|
26
|
+
}), []), me(() => {
|
|
25
27
|
t.current ? t.current = !1 : (!i.current || e.some((l, n) => !Object.is(l, i[n]))) && r(), i.current = e;
|
|
26
28
|
}, e);
|
|
27
29
|
}
|
|
28
|
-
const
|
|
30
|
+
const Ct = "react-aria-clear-focus", wt = "react-aria-focus";
|
|
29
31
|
function q(r) {
|
|
30
|
-
return
|
|
32
|
+
return yt() ? r.metaKey : r.ctrlKey;
|
|
31
33
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
let Dt = 0;
|
|
35
|
+
const he = /* @__PURE__ */ new Map();
|
|
36
|
+
function Et(r) {
|
|
37
|
+
let [e, t] = Y();
|
|
38
|
+
return vt(() => {
|
|
39
|
+
if (!r) return;
|
|
40
|
+
let i = he.get(r);
|
|
41
|
+
if (i)
|
|
42
|
+
t(i.element.id);
|
|
43
|
+
else {
|
|
44
|
+
let l = `react-aria-description-${Dt++}`;
|
|
45
|
+
t(l);
|
|
46
|
+
let n = document.createElement("div");
|
|
47
|
+
n.id = l, n.style.display = "none", n.textContent = r, document.body.appendChild(n), i = {
|
|
48
|
+
refCount: 0,
|
|
49
|
+
element: n
|
|
50
|
+
}, he.set(r, i);
|
|
51
|
+
}
|
|
52
|
+
return i.refCount++, () => {
|
|
53
|
+
i && --i.refCount === 0 && (i.element.remove(), he.delete(r));
|
|
54
|
+
};
|
|
55
|
+
}, [
|
|
56
|
+
r
|
|
57
|
+
]), {
|
|
58
|
+
"aria-describedby": r ? e : void 0
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
const kt = 500;
|
|
62
|
+
function It(r) {
|
|
63
|
+
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: n = kt, accessibilityDescription: o } = r;
|
|
64
|
+
const c = E(void 0);
|
|
65
|
+
let { addGlobalListener: u, removeGlobalListener: v } = St(), { pressProps: $ } = Ye({
|
|
37
66
|
isDisabled: e,
|
|
38
67
|
onPressStart(f) {
|
|
39
68
|
if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
|
|
@@ -42,7 +71,7 @@ function xt(r) {
|
|
|
42
71
|
}), c.current = setTimeout(() => {
|
|
43
72
|
f.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
44
73
|
bubbles: !0
|
|
45
|
-
})),
|
|
74
|
+
})), gt(f.target).activeElement !== f.target && mt(f.target), l && l({
|
|
46
75
|
...f,
|
|
47
76
|
type: "longpress"
|
|
48
77
|
}), c.current = void 0;
|
|
@@ -67,16 +96,16 @@ function xt(r) {
|
|
|
67
96
|
type: "longpressend"
|
|
68
97
|
});
|
|
69
98
|
}
|
|
70
|
-
}), d =
|
|
99
|
+
}), d = Et(l && !e ? o : void 0);
|
|
71
100
|
return {
|
|
72
|
-
longPressProps:
|
|
101
|
+
longPressProps: bt($, d)
|
|
73
102
|
};
|
|
74
103
|
}
|
|
75
104
|
function Ze(r) {
|
|
76
|
-
let e =
|
|
77
|
-
e !== r && (e &&
|
|
105
|
+
let e = Ft(Kt(r));
|
|
106
|
+
e !== r && (e && Pt(e, r), r && Je(r, e));
|
|
78
107
|
}
|
|
79
|
-
function
|
|
108
|
+
function Pt(r, e) {
|
|
80
109
|
r.dispatchEvent(new FocusEvent("blur", {
|
|
81
110
|
relatedTarget: e
|
|
82
111
|
})), r.dispatchEvent(new FocusEvent("focusout", {
|
|
@@ -92,41 +121,41 @@ function Je(r, e) {
|
|
|
92
121
|
relatedTarget: e
|
|
93
122
|
}));
|
|
94
123
|
}
|
|
95
|
-
function
|
|
124
|
+
function Ft(r) {
|
|
96
125
|
let e = Ge(r), t = e?.getAttribute("aria-activedescendant");
|
|
97
126
|
return t && r.getElementById(t) || e;
|
|
98
127
|
}
|
|
99
128
|
function Se(r) {
|
|
100
|
-
return
|
|
129
|
+
return pt() ? r.altKey : r.ctrlKey;
|
|
101
130
|
}
|
|
102
|
-
function
|
|
131
|
+
function ie(r, e) {
|
|
103
132
|
var t, i;
|
|
104
133
|
let l = `[data-key="${CSS.escape(String(e))}"]`, n = (t = r.current) === null || t === void 0 ? void 0 : t.dataset.collection;
|
|
105
134
|
return n && (l = `[data-collection="${CSS.escape(n)}"]${l}`), (i = r.current) === null || i === void 0 ? void 0 : i.querySelector(l);
|
|
106
135
|
}
|
|
107
136
|
const Qe = /* @__PURE__ */ new WeakMap();
|
|
108
|
-
function
|
|
137
|
+
function Mt(r) {
|
|
109
138
|
let e = _e();
|
|
110
139
|
return Qe.set(r, e), e;
|
|
111
140
|
}
|
|
112
|
-
function
|
|
141
|
+
function At(r) {
|
|
113
142
|
return Qe.get(r);
|
|
114
143
|
}
|
|
115
|
-
const
|
|
116
|
-
function
|
|
117
|
-
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = r, l =
|
|
144
|
+
const Rt = 1e3;
|
|
145
|
+
function Tt(r) {
|
|
146
|
+
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = r, l = E({
|
|
118
147
|
search: "",
|
|
119
148
|
timeout: void 0
|
|
120
|
-
}).current, n = (
|
|
121
|
-
let c =
|
|
122
|
-
if (!(!c ||
|
|
123
|
-
if (c === " " && l.search.trim().length > 0 && (
|
|
149
|
+
}).current, n = (o) => {
|
|
150
|
+
let c = Ot(o.key);
|
|
151
|
+
if (!(!c || o.ctrlKey || o.metaKey || !o.currentTarget.contains(o.target) || l.search.length === 0 && c === " ")) {
|
|
152
|
+
if (c === " " && l.search.trim().length > 0 && (o.preventDefault(), "continuePropagation" in o || o.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
|
|
124
153
|
let u = e.getKeyForSearch(l.search, t.focusedKey);
|
|
125
154
|
u == null && (u = e.getKeyForSearch(l.search)), u != null && (t.setFocusedKey(u), i && i(u));
|
|
126
155
|
}
|
|
127
156
|
clearTimeout(l.timeout), l.timeout = setTimeout(() => {
|
|
128
157
|
l.search = "";
|
|
129
|
-
},
|
|
158
|
+
}, Rt);
|
|
130
159
|
}
|
|
131
160
|
};
|
|
132
161
|
return {
|
|
@@ -137,20 +166,20 @@ function It(r) {
|
|
|
137
166
|
}
|
|
138
167
|
};
|
|
139
168
|
}
|
|
140
|
-
function
|
|
169
|
+
function Ot(r) {
|
|
141
170
|
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
142
171
|
}
|
|
143
|
-
function
|
|
144
|
-
let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: n = !1, disallowEmptySelection:
|
|
172
|
+
function $i(r) {
|
|
173
|
+
let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: n = !1, disallowEmptySelection: o = !1, disallowSelectAll: c = !1, escapeKeyBehavior: u = "clearSelection", selectOnFocus: v = e.selectionBehavior === "replace", disallowTypeAhead: $ = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, isVirtualized: h, scrollRef: p = i, linkBehavior: K = "action" } = r, { direction: g } = ht(), m = je(), C = (a) => {
|
|
145
174
|
var b;
|
|
146
175
|
if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((b = i.current) === null || b === void 0) && b.contains(a.target))) return;
|
|
147
|
-
const
|
|
176
|
+
const s = (y, z) => {
|
|
148
177
|
if (y != null) {
|
|
149
178
|
if (e.isLink(y) && K === "selection" && v && !Se(a)) {
|
|
150
|
-
|
|
179
|
+
dt(() => {
|
|
151
180
|
e.setFocusedKey(y, z);
|
|
152
181
|
});
|
|
153
|
-
let U =
|
|
182
|
+
let U = ie(i, y), Ce = e.getItemProps(y);
|
|
154
183
|
U && m.open(U, a, Ce.href, Ce.routerOptions);
|
|
155
184
|
return;
|
|
156
185
|
}
|
|
@@ -163,28 +192,28 @@ function yi(r) {
|
|
|
163
192
|
if (t.getKeyBelow) {
|
|
164
193
|
var w, F, P;
|
|
165
194
|
let y = e.focusedKey != null ? (w = t.getKeyBelow) === null || w === void 0 ? void 0 : w.call(t, e.focusedKey) : (F = t.getFirstKey) === null || F === void 0 ? void 0 : F.call(t);
|
|
166
|
-
y == null && n && (y = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), y != null && (a.preventDefault(),
|
|
195
|
+
y == null && n && (y = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y));
|
|
167
196
|
}
|
|
168
197
|
break;
|
|
169
198
|
case "ArrowUp":
|
|
170
199
|
if (t.getKeyAbove) {
|
|
171
|
-
var L, N,
|
|
200
|
+
var L, N, oe;
|
|
172
201
|
let y = 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
|
-
y == null && n && (y = (
|
|
202
|
+
y == null && n && (y = (oe = t.getLastKey) === null || oe === void 0 ? void 0 : oe.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y));
|
|
174
203
|
}
|
|
175
204
|
break;
|
|
176
205
|
case "ArrowLeft":
|
|
177
206
|
if (t.getKeyLeftOf) {
|
|
178
|
-
var
|
|
179
|
-
let y = e.focusedKey != null ? (
|
|
180
|
-
y == null && n && (y = g === "rtl" ? (ue = t.getFirstKey) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : (ae = t.getLastKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey)), y != null && (a.preventDefault(),
|
|
207
|
+
var se, ue, ae;
|
|
208
|
+
let y = e.focusedKey != null ? (se = t.getKeyLeftOf) === null || se === void 0 ? void 0 : se.call(t, e.focusedKey) : null;
|
|
209
|
+
y == null && n && (y = g === "rtl" ? (ue = t.getFirstKey) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : (ae = t.getLastKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y, g === "rtl" ? "first" : "last"));
|
|
181
210
|
}
|
|
182
211
|
break;
|
|
183
212
|
case "ArrowRight":
|
|
184
213
|
if (t.getKeyRightOf) {
|
|
185
214
|
var ce, de, fe;
|
|
186
215
|
let y = e.focusedKey != null ? (ce = t.getKeyRightOf) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey) : null;
|
|
187
|
-
y == null && n && (y = g === "rtl" ? (de = t.getLastKey) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : (fe = t.getFirstKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey)), y != null && (a.preventDefault(),
|
|
216
|
+
y == null && n && (y = g === "rtl" ? (de = t.getLastKey) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : (fe = t.getFirstKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y, g === "rtl" ? "last" : "first"));
|
|
188
217
|
}
|
|
189
218
|
break;
|
|
190
219
|
case "Home":
|
|
@@ -206,85 +235,85 @@ function yi(r) {
|
|
|
206
235
|
case "PageDown":
|
|
207
236
|
if (t.getKeyPageBelow && e.focusedKey != null) {
|
|
208
237
|
let y = t.getKeyPageBelow(e.focusedKey);
|
|
209
|
-
y != null && (a.preventDefault(),
|
|
238
|
+
y != null && (a.preventDefault(), s(y));
|
|
210
239
|
}
|
|
211
240
|
break;
|
|
212
241
|
case "PageUp":
|
|
213
242
|
if (t.getKeyPageAbove && e.focusedKey != null) {
|
|
214
243
|
let y = t.getKeyPageAbove(e.focusedKey);
|
|
215
|
-
y != null && (a.preventDefault(),
|
|
244
|
+
y != null && (a.preventDefault(), s(y));
|
|
216
245
|
}
|
|
217
246
|
break;
|
|
218
247
|
case "a":
|
|
219
248
|
q(a) && e.selectionMode === "multiple" && c !== !0 && (a.preventDefault(), e.selectAll());
|
|
220
249
|
break;
|
|
221
250
|
case "Escape":
|
|
222
|
-
u === "clearSelection" && !
|
|
251
|
+
u === "clearSelection" && !o && e.selectedKeys.size !== 0 && (a.stopPropagation(), a.preventDefault(), e.clearSelection());
|
|
223
252
|
break;
|
|
224
253
|
case "Tab":
|
|
225
254
|
if (!f) {
|
|
226
255
|
if (a.shiftKey) i.current.focus();
|
|
227
256
|
else {
|
|
228
|
-
let y =
|
|
257
|
+
let y = st(i.current, {
|
|
229
258
|
tabbable: !0
|
|
230
259
|
}), z, U;
|
|
231
260
|
do
|
|
232
261
|
U = y.lastChild(), U && (z = U);
|
|
233
262
|
while (U);
|
|
234
|
-
z && !z.contains(document.activeElement) &&
|
|
263
|
+
z && !z.contains(document.activeElement) && De(z);
|
|
235
264
|
}
|
|
236
265
|
break;
|
|
237
266
|
}
|
|
238
267
|
}
|
|
239
|
-
}, x =
|
|
268
|
+
}, x = E({
|
|
240
269
|
top: 0,
|
|
241
270
|
left: 0
|
|
242
271
|
});
|
|
243
272
|
ee(p, "scroll", h ? void 0 : () => {
|
|
244
|
-
var a, b,
|
|
273
|
+
var a, b, s, w;
|
|
245
274
|
x.current = {
|
|
246
|
-
top: (
|
|
275
|
+
top: (s = (a = p.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && s !== void 0 ? s : 0,
|
|
247
276
|
left: (w = (b = p.current) === null || b === void 0 ? void 0 : b.scrollLeft) !== null && w !== void 0 ? w : 0
|
|
248
277
|
};
|
|
249
278
|
});
|
|
250
|
-
let
|
|
279
|
+
let k = (a) => {
|
|
251
280
|
if (e.isFocused) {
|
|
252
281
|
a.currentTarget.contains(a.target) || e.setFocused(!1);
|
|
253
282
|
return;
|
|
254
283
|
}
|
|
255
284
|
if (a.currentTarget.contains(a.target)) {
|
|
256
285
|
if (e.setFocused(!0), e.focusedKey == null) {
|
|
257
|
-
var b,
|
|
286
|
+
var b, s;
|
|
258
287
|
let P = (N) => {
|
|
259
288
|
N != null && (e.setFocusedKey(N), v && !e.isSelected(N) && e.replaceSelection(N));
|
|
260
289
|
}, L = a.relatedTarget;
|
|
261
290
|
var w, F;
|
|
262
|
-
L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((w = e.lastSelectedKey) !== null && w !== void 0 ? w : (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (
|
|
291
|
+
L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((w = e.lastSelectedKey) !== null && w !== void 0 ? w : (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (s = t.getFirstKey) === null || s === void 0 ? void 0 : s.call(t));
|
|
263
292
|
} else !h && p.current && (p.current.scrollTop = x.current.top, p.current.scrollLeft = x.current.left);
|
|
264
293
|
if (e.focusedKey != null && p.current) {
|
|
265
|
-
let P =
|
|
266
|
-
P instanceof HTMLElement && (!P.contains(document.activeElement) && !d &&
|
|
294
|
+
let P = ie(i, e.focusedKey);
|
|
295
|
+
P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && De(P), Ie() === "keyboard" && Ee(P, {
|
|
267
296
|
containingElement: i.current
|
|
268
297
|
}));
|
|
269
298
|
}
|
|
270
299
|
}
|
|
271
300
|
}, M = (a) => {
|
|
272
301
|
a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
|
|
273
|
-
}, A =
|
|
274
|
-
ee(i,
|
|
302
|
+
}, A = E(!1);
|
|
303
|
+
ee(i, wt, d ? (a) => {
|
|
275
304
|
let { detail: b } = a;
|
|
276
305
|
a.stopPropagation(), e.setFocused(!0), b?.focusStrategy === "first" && (A.current = !0);
|
|
277
306
|
} : void 0);
|
|
278
307
|
let T = we(() => {
|
|
279
308
|
var a, b;
|
|
280
|
-
let
|
|
281
|
-
if (
|
|
309
|
+
let s = (b = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && b !== void 0 ? b : null;
|
|
310
|
+
if (s == null) {
|
|
282
311
|
let w = Ge();
|
|
283
312
|
Ze(i.current), Je(w, null), e.collection.size > 0 && (A.current = !1);
|
|
284
313
|
} else
|
|
285
|
-
e.setFocusedKey(
|
|
314
|
+
e.setFocusedKey(s), A.current = !1;
|
|
286
315
|
});
|
|
287
|
-
|
|
316
|
+
Fe(() => {
|
|
288
317
|
A.current && T();
|
|
289
318
|
}, [
|
|
290
319
|
e.collection,
|
|
@@ -293,22 +322,22 @@ function yi(r) {
|
|
|
293
322
|
let I = we(() => {
|
|
294
323
|
e.collection.size > 0 && (A.current = !1);
|
|
295
324
|
});
|
|
296
|
-
|
|
325
|
+
Fe(() => {
|
|
297
326
|
I();
|
|
298
327
|
}, [
|
|
299
328
|
e.focusedKey,
|
|
300
329
|
I
|
|
301
|
-
]), ee(i,
|
|
330
|
+
]), ee(i, Ct, d ? (a) => {
|
|
302
331
|
var b;
|
|
303
332
|
a.stopPropagation(), e.setFocused(!1), !((b = a.detail) === null || b === void 0) && b.clearFocusKey && e.setFocusedKey(null);
|
|
304
333
|
} : void 0);
|
|
305
|
-
const _ =
|
|
306
|
-
|
|
334
|
+
const _ = E(l), O = E(!1);
|
|
335
|
+
X(() => {
|
|
307
336
|
if (_.current) {
|
|
308
337
|
var a, b;
|
|
309
338
|
let F = null;
|
|
310
|
-
var
|
|
311
|
-
l === "first" && (F = (
|
|
339
|
+
var s;
|
|
340
|
+
l === "first" && (F = (s = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && s !== void 0 ? s : null);
|
|
312
341
|
var w;
|
|
313
342
|
l === "last" && (F = (w = (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) !== null && w !== void 0 ? w : null);
|
|
314
343
|
let P = e.selectedKeys;
|
|
@@ -321,134 +350,134 @@ function yi(r) {
|
|
|
321
350
|
e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && be(i.current), e.collection.size > 0 && (_.current = !1, O.current = !0);
|
|
322
351
|
}
|
|
323
352
|
});
|
|
324
|
-
let V =
|
|
325
|
-
|
|
353
|
+
let V = E(e.focusedKey), D = E(null);
|
|
354
|
+
X(() => {
|
|
326
355
|
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && p.current && i.current) {
|
|
327
|
-
let a =
|
|
356
|
+
let a = Ie(), b = ie(i, e.focusedKey);
|
|
328
357
|
if (!(b instanceof HTMLElement))
|
|
329
358
|
return;
|
|
330
359
|
(a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
|
|
331
|
-
p.current && (ct(p.current, b), a !== "virtual" &&
|
|
360
|
+
p.current && (ct(p.current, b), a !== "virtual" && Ee(b, {
|
|
332
361
|
containingElement: i.current
|
|
333
362
|
}));
|
|
334
363
|
}));
|
|
335
364
|
}
|
|
336
365
|
!d && e.isFocused && e.focusedKey == null && V.current != null && i.current && be(i.current), V.current = e.focusedKey, O.current = !1;
|
|
337
|
-
}),
|
|
366
|
+
}), X(() => () => {
|
|
338
367
|
D.current && cancelAnimationFrame(D.current);
|
|
339
368
|
}, []), ee(i, "react-aria-focus-scope-restore", (a) => {
|
|
340
369
|
a.preventDefault(), e.setFocused(!0);
|
|
341
370
|
});
|
|
342
371
|
let j = {
|
|
343
372
|
onKeyDown: C,
|
|
344
|
-
onFocus:
|
|
373
|
+
onFocus: k,
|
|
345
374
|
onBlur: M,
|
|
346
375
|
onMouseDown(a) {
|
|
347
376
|
p.current === a.target && a.preventDefault();
|
|
348
377
|
}
|
|
349
|
-
}, { typeSelectProps: ne } =
|
|
378
|
+
}, { typeSelectProps: ne } = Tt({
|
|
350
379
|
keyboardDelegate: t,
|
|
351
380
|
selectionManager: e
|
|
352
381
|
});
|
|
353
|
-
$ || (j =
|
|
382
|
+
$ || (j = le(ne, j));
|
|
354
383
|
let Q;
|
|
355
384
|
d || (Q = e.focusedKey == null ? 0 : -1);
|
|
356
|
-
let re =
|
|
385
|
+
let re = Mt(e.collection);
|
|
357
386
|
return {
|
|
358
|
-
collectionProps:
|
|
387
|
+
collectionProps: le(j, {
|
|
359
388
|
tabIndex: Q,
|
|
360
389
|
"data-collection": re
|
|
361
390
|
})
|
|
362
391
|
};
|
|
363
392
|
}
|
|
364
|
-
function
|
|
365
|
-
let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: n, shouldUseVirtualFocus:
|
|
393
|
+
function xi(r) {
|
|
394
|
+
let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: n, shouldUseVirtualFocus: o, focus: c, isDisabled: u, onAction: v, allowsDifferentPressOrigin: $, linkBehavior: d = "action" } = r, f = je();
|
|
366
395
|
e = _e(e);
|
|
367
|
-
let h = (
|
|
368
|
-
if (
|
|
396
|
+
let h = (s) => {
|
|
397
|
+
if (s.pointerType === "keyboard" && Se(s)) t.toggleSelection(i);
|
|
369
398
|
else {
|
|
370
399
|
if (t.selectionMode === "none") return;
|
|
371
400
|
if (t.isLink(i)) {
|
|
372
401
|
if (d === "selection" && l.current) {
|
|
373
402
|
let w = t.getItemProps(i);
|
|
374
|
-
f.open(l.current,
|
|
403
|
+
f.open(l.current, s, w.href, w.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
375
404
|
return;
|
|
376
405
|
} else if (d === "override" || d === "none") return;
|
|
377
406
|
}
|
|
378
|
-
t.selectionMode === "single" ? t.isSelected(i) && !t.disallowEmptySelection ? t.toggleSelection(i) : t.replaceSelection(i) :
|
|
407
|
+
t.selectionMode === "single" ? t.isSelected(i) && !t.disallowEmptySelection ? t.toggleSelection(i) : t.replaceSelection(i) : s && s.shiftKey ? t.extendSelection(i) : t.selectionBehavior === "toggle" || s && (q(s) || s.pointerType === "touch" || s.pointerType === "virtual") ? t.toggleSelection(i) : t.replaceSelection(i);
|
|
379
408
|
}
|
|
380
409
|
};
|
|
381
|
-
|
|
382
|
-
i === t.focusedKey && t.isFocused && (
|
|
410
|
+
X(() => {
|
|
411
|
+
i === t.focusedKey && t.isFocused && (o ? Ze(l.current) : c ? c() : document.activeElement !== l.current && l.current && be(l.current));
|
|
383
412
|
}, [
|
|
384
413
|
l,
|
|
385
414
|
i,
|
|
386
415
|
t.focusedKey,
|
|
387
416
|
t.childFocusStrategy,
|
|
388
417
|
t.isFocused,
|
|
389
|
-
|
|
418
|
+
o
|
|
390
419
|
]), u = u || t.isDisabled(i);
|
|
391
420
|
let p = {};
|
|
392
|
-
!
|
|
421
|
+
!o && !u ? p = {
|
|
393
422
|
tabIndex: i === t.focusedKey ? 0 : -1,
|
|
394
|
-
onFocus(
|
|
395
|
-
|
|
423
|
+
onFocus(s) {
|
|
424
|
+
s.target === l.current && t.setFocusedKey(i);
|
|
396
425
|
}
|
|
397
|
-
} : u && (p.onMouseDown = (
|
|
398
|
-
|
|
426
|
+
} : u && (p.onMouseDown = (s) => {
|
|
427
|
+
s.preventDefault();
|
|
399
428
|
});
|
|
400
|
-
let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, C = (v || g) && !u, x = C && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty),
|
|
401
|
-
v && v(), g && l.current && f.open(l.current,
|
|
429
|
+
let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, C = (v || g) && !u, x = C && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), k = C && m && t.selectionBehavior === "replace", M = x || k, A = E(null), T = M && m, I = E(!1), _ = E(!1), O = t.getItemProps(i), V = (s) => {
|
|
430
|
+
v && v(), g && l.current && f.open(l.current, s, O.href, O.routerOptions);
|
|
402
431
|
}, D = {
|
|
403
432
|
ref: l
|
|
404
433
|
};
|
|
405
|
-
if (n ? (D.onPressStart = (
|
|
406
|
-
A.current =
|
|
407
|
-
}, $ ? (D.onPressUp = x ? void 0 : (
|
|
408
|
-
|
|
409
|
-
}, D.onPress = x ? V : (
|
|
410
|
-
|
|
411
|
-
}) : D.onPress = (
|
|
412
|
-
if (x ||
|
|
413
|
-
if (
|
|
414
|
-
V(
|
|
415
|
-
} else
|
|
416
|
-
}) : (D.onPressStart = (
|
|
417
|
-
A.current =
|
|
418
|
-
}, D.onPress = (
|
|
419
|
-
(
|
|
420
|
-
}), p["data-collection"] =
|
|
421
|
-
onPressStart(
|
|
422
|
-
|
|
434
|
+
if (n ? (D.onPressStart = (s) => {
|
|
435
|
+
A.current = s.pointerType, I.current = T, s.pointerType === "keyboard" && (!M || Ae()) && h(s);
|
|
436
|
+
}, $ ? (D.onPressUp = x ? void 0 : (s) => {
|
|
437
|
+
s.pointerType === "mouse" && m && h(s);
|
|
438
|
+
}, D.onPress = x ? V : (s) => {
|
|
439
|
+
s.pointerType !== "keyboard" && s.pointerType !== "mouse" && m && h(s);
|
|
440
|
+
}) : D.onPress = (s) => {
|
|
441
|
+
if (x || k && s.pointerType !== "mouse") {
|
|
442
|
+
if (s.pointerType === "keyboard" && !Me()) return;
|
|
443
|
+
V(s);
|
|
444
|
+
} else s.pointerType !== "keyboard" && m && h(s);
|
|
445
|
+
}) : (D.onPressStart = (s) => {
|
|
446
|
+
A.current = s.pointerType, I.current = T, _.current = x, m && (s.pointerType === "mouse" && !x || s.pointerType === "keyboard" && (!C || Ae())) && h(s);
|
|
447
|
+
}, D.onPress = (s) => {
|
|
448
|
+
(s.pointerType === "touch" || s.pointerType === "pen" || s.pointerType === "virtual" || s.pointerType === "keyboard" && M && Me() || s.pointerType === "mouse" && _.current) && (M ? V(s) : m && h(s));
|
|
449
|
+
}), p["data-collection"] = At(t.collection), p["data-key"] = i, D.preventFocusOnPress = o, o && (D = le(D, {
|
|
450
|
+
onPressStart(s) {
|
|
451
|
+
s.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
423
452
|
},
|
|
424
|
-
onPress(
|
|
425
|
-
|
|
453
|
+
onPress(s) {
|
|
454
|
+
s.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
426
455
|
}
|
|
427
456
|
})), O)
|
|
428
|
-
for (let
|
|
457
|
+
for (let s of [
|
|
429
458
|
"onPressStart",
|
|
430
459
|
"onPressEnd",
|
|
431
460
|
"onPressChange",
|
|
432
461
|
"onPress",
|
|
433
462
|
"onPressUp",
|
|
434
463
|
"onClick"
|
|
435
|
-
]) O[
|
|
436
|
-
let { pressProps: j, isPressed: ne } = Ye(D), Q =
|
|
437
|
-
A.current === "mouse" && (
|
|
438
|
-
} : void 0, { longPressProps: re } =
|
|
464
|
+
]) O[s] && (D[s] = ut(D[s], O[s]));
|
|
465
|
+
let { pressProps: j, isPressed: ne } = Ye(D), Q = k ? (s) => {
|
|
466
|
+
A.current === "mouse" && (s.stopPropagation(), s.preventDefault(), V(s));
|
|
467
|
+
} : void 0, { longPressProps: re } = It({
|
|
439
468
|
isDisabled: !T,
|
|
440
|
-
onLongPress(
|
|
441
|
-
|
|
469
|
+
onLongPress(s) {
|
|
470
|
+
s.pointerType === "touch" && (h(s), t.setSelectionBehavior("toggle"));
|
|
442
471
|
}
|
|
443
|
-
}), a = (
|
|
444
|
-
A.current === "touch" && I.current &&
|
|
445
|
-
}, b = d !== "none" && t.isLink(i) ? (
|
|
446
|
-
|
|
472
|
+
}), a = (s) => {
|
|
473
|
+
A.current === "touch" && I.current && s.preventDefault();
|
|
474
|
+
}, b = d !== "none" && t.isLink(i) ? (s) => {
|
|
475
|
+
at.isOpening || s.preventDefault();
|
|
447
476
|
} : void 0;
|
|
448
477
|
return {
|
|
449
|
-
itemProps:
|
|
478
|
+
itemProps: le(
|
|
450
479
|
p,
|
|
451
|
-
m || x ||
|
|
480
|
+
m || x || o && !u ? j : {},
|
|
452
481
|
T ? re : {},
|
|
453
482
|
{
|
|
454
483
|
onDoubleClick: Q,
|
|
@@ -457,8 +486,8 @@ function pi(r) {
|
|
|
457
486
|
id: e
|
|
458
487
|
},
|
|
459
488
|
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
460
|
-
|
|
461
|
-
onMouseDown: (
|
|
489
|
+
o ? {
|
|
490
|
+
onMouseDown: (s) => s.preventDefault()
|
|
462
491
|
} : void 0
|
|
463
492
|
),
|
|
464
493
|
isPressed: ne,
|
|
@@ -469,19 +498,19 @@ function pi(r) {
|
|
|
469
498
|
hasAction: M
|
|
470
499
|
};
|
|
471
500
|
}
|
|
472
|
-
function
|
|
501
|
+
function Me() {
|
|
473
502
|
let r = window.event;
|
|
474
503
|
return r?.key === "Enter";
|
|
475
504
|
}
|
|
476
|
-
function
|
|
505
|
+
function Ae() {
|
|
477
506
|
let r = window.event;
|
|
478
507
|
return r?.key === " " || r?.code === "Space";
|
|
479
508
|
}
|
|
480
|
-
class
|
|
509
|
+
class Re {
|
|
481
510
|
getItemRect(e) {
|
|
482
511
|
let t = this.ref.current;
|
|
483
512
|
if (!t) return null;
|
|
484
|
-
let i = e != null ?
|
|
513
|
+
let i = e != null ? ie(this.ref, e) : null;
|
|
485
514
|
if (!i) return null;
|
|
486
515
|
let l = t.getBoundingClientRect(), n = i.getBoundingClientRect();
|
|
487
516
|
return {
|
|
@@ -513,7 +542,7 @@ class Ae {
|
|
|
513
542
|
this.ref = e;
|
|
514
543
|
}
|
|
515
544
|
}
|
|
516
|
-
class
|
|
545
|
+
class Ci {
|
|
517
546
|
isDisabled(e) {
|
|
518
547
|
var t;
|
|
519
548
|
return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
|
|
@@ -538,11 +567,11 @@ class vi {
|
|
|
538
567
|
findKey(e, t, i) {
|
|
539
568
|
let l = e, n = this.layoutDelegate.getItemRect(l);
|
|
540
569
|
if (!n || l == null) return null;
|
|
541
|
-
let
|
|
570
|
+
let o = n;
|
|
542
571
|
do {
|
|
543
572
|
if (l = t(l), l == null) break;
|
|
544
573
|
n = this.layoutDelegate.getItemRect(l);
|
|
545
|
-
} while (n && i(
|
|
574
|
+
} while (n && i(o, n) && l != null);
|
|
546
575
|
return l;
|
|
547
576
|
}
|
|
548
577
|
isSameRow(e, t) {
|
|
@@ -614,8 +643,8 @@ class vi {
|
|
|
614
643
|
for (; l != null; ) {
|
|
615
644
|
let n = i.getItem(l);
|
|
616
645
|
if (!n) return null;
|
|
617
|
-
let
|
|
618
|
-
if (n.textValue && this.collator.compare(
|
|
646
|
+
let o = n.textValue.slice(0, e.length);
|
|
647
|
+
if (n.textValue && this.collator.compare(o, e) === 0) return l;
|
|
619
648
|
l = this.getNextKey(l);
|
|
620
649
|
}
|
|
621
650
|
return null;
|
|
@@ -623,15 +652,15 @@ class vi {
|
|
|
623
652
|
constructor(...e) {
|
|
624
653
|
if (e.length === 1) {
|
|
625
654
|
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
|
|
655
|
+
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 Re(t.ref);
|
|
627
656
|
} 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
|
|
657
|
+
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 Re(this.ref);
|
|
629
658
|
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
630
659
|
}
|
|
631
660
|
}
|
|
632
|
-
class
|
|
661
|
+
class Lt {
|
|
633
662
|
build(e, t) {
|
|
634
|
-
return this.context = t,
|
|
663
|
+
return this.context = t, Te(() => this.iterateCollection(e));
|
|
635
664
|
}
|
|
636
665
|
*iterateCollection(e) {
|
|
637
666
|
let { children: t, items: i } = e;
|
|
@@ -651,13 +680,13 @@ class Ft {
|
|
|
651
680
|
}), l++;
|
|
652
681
|
} else {
|
|
653
682
|
let l = [];
|
|
654
|
-
S.Children.forEach(t, (
|
|
655
|
-
|
|
683
|
+
S.Children.forEach(t, (o) => {
|
|
684
|
+
o && l.push(o);
|
|
656
685
|
});
|
|
657
686
|
let n = 0;
|
|
658
|
-
for (let
|
|
687
|
+
for (let o of l) {
|
|
659
688
|
let c = this.getFullNode({
|
|
660
|
-
element:
|
|
689
|
+
element: o,
|
|
661
690
|
index: n
|
|
662
691
|
}, {});
|
|
663
692
|
for (let u of c)
|
|
@@ -670,8 +699,8 @@ class Ft {
|
|
|
670
699
|
if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
|
|
671
700
|
let n = t.value;
|
|
672
701
|
if (n != null) {
|
|
673
|
-
var
|
|
674
|
-
let c = (
|
|
702
|
+
var o;
|
|
703
|
+
let c = (o = n.key) !== null && o !== void 0 ? o : n.id;
|
|
675
704
|
if (c == null) throw new Error("No key found for item");
|
|
676
705
|
return c;
|
|
677
706
|
}
|
|
@@ -696,43 +725,43 @@ class Ft {
|
|
|
696
725
|
}, t, i, l);
|
|
697
726
|
return;
|
|
698
727
|
}
|
|
699
|
-
let
|
|
700
|
-
if (!
|
|
728
|
+
let o = e.element;
|
|
729
|
+
if (!o && e.value && t && t.renderer) {
|
|
701
730
|
let g = this.cache.get(e.value);
|
|
702
731
|
if (g && (!g.shouldInvalidate || !g.shouldInvalidate(this.context))) {
|
|
703
732
|
g.index = e.index, g.parentKey = l ? l.key : null, yield g;
|
|
704
733
|
return;
|
|
705
734
|
}
|
|
706
|
-
|
|
735
|
+
o = t.renderer(e.value);
|
|
707
736
|
}
|
|
708
|
-
if (S.isValidElement(
|
|
709
|
-
let g =
|
|
737
|
+
if (S.isValidElement(o)) {
|
|
738
|
+
let g = o.type;
|
|
710
739
|
if (typeof g != "function" && typeof g.getCollectionNode != "function") {
|
|
711
|
-
let
|
|
712
|
-
throw new Error(`Unknown element <${
|
|
740
|
+
let k = o.type;
|
|
741
|
+
throw new Error(`Unknown element <${k}> in collection.`);
|
|
713
742
|
}
|
|
714
|
-
let m = g.getCollectionNode(
|
|
743
|
+
let m = g.getCollectionNode(o.props, this.context);
|
|
715
744
|
var c;
|
|
716
745
|
let C = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
|
|
717
746
|
for (; !x.done && x.value; ) {
|
|
718
|
-
let
|
|
747
|
+
let k = x.value;
|
|
719
748
|
e.index = C;
|
|
720
749
|
var u;
|
|
721
|
-
let M = (u =
|
|
722
|
-
M == null && (M =
|
|
750
|
+
let M = (u = k.key) !== null && u !== void 0 ? u : null;
|
|
751
|
+
M == null && (M = k.element ? null : this.getKey(o, e, t, i));
|
|
723
752
|
let T = [
|
|
724
753
|
...this.getFullNode({
|
|
725
|
-
...
|
|
754
|
+
...k,
|
|
726
755
|
key: M,
|
|
727
756
|
index: C,
|
|
728
|
-
wrapper:
|
|
729
|
-
}, this.getChildState(t,
|
|
757
|
+
wrapper: Bt(e.wrapper, k.wrapper)
|
|
758
|
+
}, this.getChildState(t, k), i ? `${i}${o.key}` : o.key, l)
|
|
730
759
|
];
|
|
731
760
|
for (let I of T) {
|
|
732
761
|
var v, $;
|
|
733
|
-
I.value = ($ = (v =
|
|
762
|
+
I.value = ($ = (v = k.value) !== null && v !== void 0 ? v : e.value) !== null && $ !== void 0 ? $ : null, I.value && this.cache.set(I.value, I);
|
|
734
763
|
var d;
|
|
735
|
-
if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${
|
|
764
|
+
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
765
|
C++, yield I;
|
|
737
766
|
}
|
|
738
767
|
x = m.next(T);
|
|
@@ -756,7 +785,7 @@ class Ft {
|
|
|
756
785
|
wrapper: e.wrapper,
|
|
757
786
|
shouldInvalidate: e.shouldInvalidate,
|
|
758
787
|
hasChildNodes: e.hasChildNodes || !1,
|
|
759
|
-
childNodes:
|
|
788
|
+
childNodes: Te(function* () {
|
|
760
789
|
if (!e.hasChildNodes || !e.childNodes) return;
|
|
761
790
|
let g = 0;
|
|
762
791
|
for (let m of e.childNodes()) {
|
|
@@ -776,7 +805,7 @@ class Ft {
|
|
|
776
805
|
this.cache = /* @__PURE__ */ new WeakMap();
|
|
777
806
|
}
|
|
778
807
|
}
|
|
779
|
-
function
|
|
808
|
+
function Te(r) {
|
|
780
809
|
let e = [], t = null;
|
|
781
810
|
return {
|
|
782
811
|
*[Symbol.iterator]() {
|
|
@@ -787,18 +816,18 @@ function Re(r) {
|
|
|
787
816
|
}
|
|
788
817
|
};
|
|
789
818
|
}
|
|
790
|
-
function
|
|
819
|
+
function Bt(r, e) {
|
|
791
820
|
if (r && e) return (t) => r(e(t));
|
|
792
821
|
if (r) return r;
|
|
793
822
|
if (e) return e;
|
|
794
823
|
}
|
|
795
|
-
function
|
|
824
|
+
function ye(r) {
|
|
796
825
|
return r[0].toUpperCase() + r.slice(1);
|
|
797
826
|
}
|
|
798
|
-
function
|
|
799
|
-
let i = B(() => new
|
|
827
|
+
function wi(r, e, t) {
|
|
828
|
+
let i = B(() => new Lt(), []), { children: l, items: n, collection: o } = r;
|
|
800
829
|
return B(() => {
|
|
801
|
-
if (
|
|
830
|
+
if (o) return o;
|
|
802
831
|
let u = i.build({
|
|
803
832
|
children: l,
|
|
804
833
|
items: n
|
|
@@ -808,18 +837,18 @@ function gi(r, e, t) {
|
|
|
808
837
|
i,
|
|
809
838
|
l,
|
|
810
839
|
n,
|
|
811
|
-
|
|
840
|
+
o,
|
|
812
841
|
t,
|
|
813
842
|
e
|
|
814
843
|
]);
|
|
815
844
|
}
|
|
816
|
-
function
|
|
845
|
+
function Vt(r, e) {
|
|
817
846
|
return typeof e.getChildren == "function" ? e.getChildren(r.key) : r.childNodes;
|
|
818
847
|
}
|
|
819
|
-
function
|
|
820
|
-
return
|
|
848
|
+
function Nt(r) {
|
|
849
|
+
return zt(r, 0);
|
|
821
850
|
}
|
|
822
|
-
function
|
|
851
|
+
function zt(r, e) {
|
|
823
852
|
if (e < 0) return;
|
|
824
853
|
let t = 0;
|
|
825
854
|
for (let i of r) {
|
|
@@ -827,29 +856,29 @@ function Tt(r, e) {
|
|
|
827
856
|
t++;
|
|
828
857
|
}
|
|
829
858
|
}
|
|
830
|
-
function
|
|
859
|
+
function Di(r) {
|
|
831
860
|
let e;
|
|
832
861
|
for (let t of r) e = t;
|
|
833
862
|
return e;
|
|
834
863
|
}
|
|
835
|
-
function
|
|
864
|
+
function pe(r, e, t) {
|
|
836
865
|
if (e.parentKey === t.parentKey) return e.index - t.index;
|
|
837
866
|
let i = [
|
|
838
|
-
...
|
|
867
|
+
...Oe(r, e),
|
|
839
868
|
e
|
|
840
869
|
], l = [
|
|
841
|
-
...
|
|
870
|
+
...Oe(r, t),
|
|
842
871
|
t
|
|
843
|
-
], n = i.slice(0, l.length).findIndex((
|
|
844
|
-
return n !== -1 ? (e = i[n], t = l[n], e.index - t.index) : i.findIndex((
|
|
872
|
+
], n = i.slice(0, l.length).findIndex((o, c) => o !== l[c]);
|
|
873
|
+
return n !== -1 ? (e = i[n], t = l[n], e.index - t.index) : i.findIndex((o) => o === t) >= 0 ? 1 : (l.findIndex((o) => o === e) >= 0, -1);
|
|
845
874
|
}
|
|
846
|
-
function
|
|
875
|
+
function Oe(r, e) {
|
|
847
876
|
let t = [], i = e;
|
|
848
877
|
for (; i?.parentKey != null; )
|
|
849
878
|
i = r.getItem(i.parentKey), i && t.unshift(i);
|
|
850
879
|
return t;
|
|
851
880
|
}
|
|
852
|
-
var te = { exports: {} },
|
|
881
|
+
var te = { exports: {} }, ve = {};
|
|
853
882
|
/**
|
|
854
883
|
* @license React
|
|
855
884
|
* use-sync-external-store-shim.production.js
|
|
@@ -859,15 +888,15 @@ var te = { exports: {} }, pe = {};
|
|
|
859
888
|
* This source code is licensed under the MIT license found in the
|
|
860
889
|
* LICENSE file in the root directory of this source tree.
|
|
861
890
|
*/
|
|
862
|
-
var
|
|
863
|
-
function
|
|
864
|
-
if (
|
|
865
|
-
|
|
891
|
+
var Le;
|
|
892
|
+
function Ut() {
|
|
893
|
+
if (Le) return ve;
|
|
894
|
+
Le = 1;
|
|
866
895
|
var r = S;
|
|
867
896
|
function e(d, f) {
|
|
868
897
|
return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
|
|
869
898
|
}
|
|
870
|
-
var t = typeof Object.is == "function" ? Object.is : e, i = r.useState, l = r.useEffect, n = r.useLayoutEffect,
|
|
899
|
+
var t = typeof Object.is == "function" ? Object.is : e, i = r.useState, l = r.useEffect, n = r.useLayoutEffect, o = r.useDebugValue;
|
|
871
900
|
function c(d, f) {
|
|
872
901
|
var h = f(), p = i({ inst: { value: h, getSnapshot: f } }), K = p[0].inst, g = p[1];
|
|
873
902
|
return n(
|
|
@@ -882,7 +911,7 @@ function Ot() {
|
|
|
882
911
|
});
|
|
883
912
|
},
|
|
884
913
|
[d]
|
|
885
|
-
),
|
|
914
|
+
), o(h), h;
|
|
886
915
|
}
|
|
887
916
|
function u(d) {
|
|
888
917
|
var f = d.getSnapshot;
|
|
@@ -898,9 +927,9 @@ function Ot() {
|
|
|
898
927
|
return f();
|
|
899
928
|
}
|
|
900
929
|
var $ = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? v : c;
|
|
901
|
-
return
|
|
930
|
+
return ve.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : $, ve;
|
|
902
931
|
}
|
|
903
|
-
var
|
|
932
|
+
var ge = {};
|
|
904
933
|
/**
|
|
905
934
|
* @license React
|
|
906
935
|
* use-sync-external-store-shim.development.js
|
|
@@ -910,9 +939,9 @@ var ve = {};
|
|
|
910
939
|
* This source code is licensed under the MIT license found in the
|
|
911
940
|
* LICENSE file in the root directory of this source tree.
|
|
912
941
|
*/
|
|
913
|
-
var
|
|
914
|
-
function
|
|
915
|
-
return
|
|
942
|
+
var Be;
|
|
943
|
+
function Ht() {
|
|
944
|
+
return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
|
|
916
945
|
function r(h, p) {
|
|
917
946
|
return h === p && (h !== 0 || 1 / h === 1 / p) || h !== h && p !== p;
|
|
918
947
|
}
|
|
@@ -927,7 +956,7 @@ function Lt() {
|
|
|
927
956
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
928
957
|
), d = !0);
|
|
929
958
|
}
|
|
930
|
-
g =
|
|
959
|
+
g = o({
|
|
931
960
|
inst: { value: K, getSnapshot: p }
|
|
932
961
|
});
|
|
933
962
|
var m = g[0].inst, C = g[1];
|
|
@@ -959,15 +988,15 @@ function Lt() {
|
|
|
959
988
|
return p();
|
|
960
989
|
}
|
|
961
990
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
962
|
-
var l = S, n = typeof Object.is == "function" ? Object.is : r,
|
|
963
|
-
|
|
964
|
-
}()),
|
|
991
|
+
var l = S, n = typeof Object.is == "function" ? Object.is : r, o = l.useState, c = l.useEffect, u = l.useLayoutEffect, v = l.useDebugValue, $ = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
|
|
992
|
+
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());
|
|
993
|
+
}()), ge;
|
|
965
994
|
}
|
|
966
|
-
var
|
|
967
|
-
function
|
|
968
|
-
return
|
|
995
|
+
var Ve;
|
|
996
|
+
function qt() {
|
|
997
|
+
return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? te.exports = Ut() : te.exports = Ht()), te.exports;
|
|
969
998
|
}
|
|
970
|
-
var
|
|
999
|
+
var Wt = /* @__PURE__ */ qt();
|
|
971
1000
|
class $e {
|
|
972
1001
|
get childNodes() {
|
|
973
1002
|
throw new Error("childNodes is not supported");
|
|
@@ -1064,18 +1093,18 @@ class xe {
|
|
|
1064
1093
|
let t = new xe(), i = null;
|
|
1065
1094
|
for (let l of this)
|
|
1066
1095
|
if (l.type === "section" && l.hasChildNodes) {
|
|
1067
|
-
let n = l.clone(),
|
|
1068
|
-
for (let c of this.getChildren(l.key)) if (
|
|
1096
|
+
let n = l.clone(), o = null;
|
|
1097
|
+
for (let c of this.getChildren(l.key)) if (Ne(c, e, this, t)) {
|
|
1069
1098
|
let u = c.clone();
|
|
1070
|
-
|
|
1099
|
+
o == null && (n.firstChildKey = u.key), t.firstKey == null && (t.firstKey = n.key), o && o.parentKey === u.parentKey ? (o.nextKey = u.key, u.prevKey = o.key) : u.prevKey = null, u.nextKey = null, t.addNode(u), o = u;
|
|
1071
1100
|
}
|
|
1072
|
-
|
|
1101
|
+
o && (o.type !== "header" ? (n.lastChildKey = o.key, i == null ? n.prevKey = null : (i.type === "section" || i.type === "separator") && (i.nextKey = n.key, n.prevKey = i.key), n.nextKey = null, i = n, t.addNode(n)) : (t.firstKey === n.key && (t.firstKey = null), t.removeNode(o.key)));
|
|
1073
1102
|
} else if (l.type === "separator") {
|
|
1074
1103
|
let n = l.clone();
|
|
1075
1104
|
n.nextKey = null, i?.type === "section" && (i.nextKey = n.key, n.prevKey = i.key, i = n, t.addNode(n));
|
|
1076
1105
|
} else {
|
|
1077
1106
|
let n = l.clone();
|
|
1078
|
-
|
|
1107
|
+
Ne(n, e, this, t) && (t.firstKey == null && (t.firstKey = n.key), i != null && i.type !== "section" && i.type !== "separator" && i.parentKey === n.parentKey ? (i.nextKey = n.key, n.prevKey = i.key) : n.prevKey = null, n.nextKey = null, t.addNode(n), i = n);
|
|
1079
1108
|
}
|
|
1080
1109
|
if (i?.type === "separator" && i.nextKey === null) {
|
|
1081
1110
|
let l;
|
|
@@ -1087,7 +1116,7 @@ class xe {
|
|
|
1087
1116
|
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
1088
1117
|
}
|
|
1089
1118
|
}
|
|
1090
|
-
function
|
|
1119
|
+
function Ne(r, e, t, i) {
|
|
1091
1120
|
if (r.type === "subdialogtrigger" || r.type === "submenutrigger") {
|
|
1092
1121
|
let l = [
|
|
1093
1122
|
...t.getChildren(r.key)
|
|
@@ -1206,8 +1235,8 @@ class W extends et {
|
|
|
1206
1235
|
var e, t, i;
|
|
1207
1236
|
let l = this.nextVisibleSibling, n = this.getMutableNode();
|
|
1208
1237
|
n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof W ? this.parentNode.node.key : null;
|
|
1209
|
-
var
|
|
1210
|
-
n.prevKey = (
|
|
1238
|
+
var o;
|
|
1239
|
+
n.prevKey = (o = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && o !== void 0 ? o : null;
|
|
1211
1240
|
var c;
|
|
1212
1241
|
n.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, n.hasChildNodes = !!this.firstChild;
|
|
1213
1242
|
var u;
|
|
@@ -1223,8 +1252,8 @@ class W extends et {
|
|
|
1223
1252
|
}
|
|
1224
1253
|
}
|
|
1225
1254
|
setProps(e, t, i, l) {
|
|
1226
|
-
let n = this.getMutableNode(), { value:
|
|
1227
|
-
if (v.ref = t, n.props = v, n.rendered = i, n.render = l, n.value =
|
|
1255
|
+
let n = this.getMutableNode(), { value: o, textValue: c, id: u, ...v } = e;
|
|
1256
|
+
if (v.ref = t, n.props = v, n.rendered = i, n.render = l, n.value = o, n.textValue = c || (typeof v.children == "string" ? v.children : "") || e["aria-label"] || "", u != null && u !== n.key) {
|
|
1228
1257
|
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
1229
1258
|
n.key = u;
|
|
1230
1259
|
}
|
|
@@ -1241,8 +1270,8 @@ class W extends et {
|
|
|
1241
1270
|
if (e.isHidden !== i) {
|
|
1242
1271
|
var l, n;
|
|
1243
1272
|
(((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((n = e.parentNode) === null || n === void 0 ? void 0 : n.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
|
|
1244
|
-
let
|
|
1245
|
-
|
|
1273
|
+
let o = e.previousVisibleSibling, c = e.nextVisibleSibling;
|
|
1274
|
+
o && e.ownerDocument.markDirty(o), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
|
|
1246
1275
|
}
|
|
1247
1276
|
}
|
|
1248
1277
|
};
|
|
@@ -1259,7 +1288,7 @@ class W extends et {
|
|
|
1259
1288
|
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new $e(e, `react-aria-${++t.nodeId}`);
|
|
1260
1289
|
}
|
|
1261
1290
|
}
|
|
1262
|
-
class
|
|
1291
|
+
class Gt extends et {
|
|
1263
1292
|
get isConnected() {
|
|
1264
1293
|
return this.isMounted;
|
|
1265
1294
|
}
|
|
@@ -1312,24 +1341,24 @@ class Nt extends et {
|
|
|
1312
1341
|
}
|
|
1313
1342
|
}
|
|
1314
1343
|
function tt(r) {
|
|
1315
|
-
let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: n = [] } = r,
|
|
1344
|
+
let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: n = [] } = r, o = B(() => /* @__PURE__ */ new WeakMap(), n);
|
|
1316
1345
|
return B(() => {
|
|
1317
1346
|
if (t && typeof e == "function") {
|
|
1318
1347
|
let v = [];
|
|
1319
1348
|
for (let $ of t) {
|
|
1320
|
-
let d =
|
|
1349
|
+
let d = o.get($);
|
|
1321
1350
|
if (!d) {
|
|
1322
1351
|
d = e($);
|
|
1323
1352
|
var c, u;
|
|
1324
1353
|
let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : $.key) !== null && u !== void 0 ? u : $.id;
|
|
1325
1354
|
if (f == null) throw new Error("Could not determine key for item");
|
|
1326
|
-
i && (f = i + ":" + f), d =
|
|
1355
|
+
i && (f = i + ":" + f), d = qe(d, l ? {
|
|
1327
1356
|
key: f,
|
|
1328
1357
|
id: f,
|
|
1329
1358
|
value: $
|
|
1330
1359
|
} : {
|
|
1331
1360
|
key: f
|
|
1332
|
-
}),
|
|
1361
|
+
}), o.set($, d);
|
|
1333
1362
|
}
|
|
1334
1363
|
v.push(d);
|
|
1335
1364
|
}
|
|
@@ -1338,48 +1367,48 @@ function tt(r) {
|
|
|
1338
1367
|
}, [
|
|
1339
1368
|
e,
|
|
1340
1369
|
t,
|
|
1341
|
-
|
|
1370
|
+
o,
|
|
1342
1371
|
i,
|
|
1343
1372
|
l
|
|
1344
1373
|
]);
|
|
1345
1374
|
}
|
|
1346
1375
|
const it = /* @__PURE__ */ G(!1), J = /* @__PURE__ */ G(null);
|
|
1347
|
-
function
|
|
1376
|
+
function Ei(r) {
|
|
1348
1377
|
if (H(J))
|
|
1349
1378
|
return r.content;
|
|
1350
|
-
let { collection: t, document: i } =
|
|
1351
|
-
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(
|
|
1379
|
+
let { collection: t, document: i } = Xt(r.createCollection);
|
|
1380
|
+
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement($t, null, /* @__PURE__ */ S.createElement(J.Provider, {
|
|
1352
1381
|
value: i
|
|
1353
|
-
}, r.content)), /* @__PURE__ */ S.createElement(
|
|
1382
|
+
}, r.content)), /* @__PURE__ */ S.createElement(_t, {
|
|
1354
1383
|
render: r.children,
|
|
1355
1384
|
collection: t
|
|
1356
1385
|
}));
|
|
1357
1386
|
}
|
|
1358
|
-
function
|
|
1387
|
+
function _t({ collection: r, render: e }) {
|
|
1359
1388
|
return e(r);
|
|
1360
1389
|
}
|
|
1361
|
-
function
|
|
1362
|
-
let i = Xe(), l =
|
|
1390
|
+
function jt(r, e, t) {
|
|
1391
|
+
let i = Xe(), l = E(i);
|
|
1363
1392
|
l.current = i;
|
|
1364
|
-
let n =
|
|
1393
|
+
let n = Z(() => l.current ? t() : e(), [
|
|
1365
1394
|
e,
|
|
1366
1395
|
t
|
|
1367
1396
|
]);
|
|
1368
|
-
return
|
|
1397
|
+
return Wt.useSyncExternalStore(r, n);
|
|
1369
1398
|
}
|
|
1370
|
-
const
|
|
1371
|
-
function
|
|
1372
|
-
let [e] =
|
|
1399
|
+
const Yt = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : jt;
|
|
1400
|
+
function Xt(r) {
|
|
1401
|
+
let [e] = Y(() => new Gt(r?.() || new xe())), t = Z((o) => e.subscribe(o), [
|
|
1373
1402
|
e
|
|
1374
|
-
]), i =
|
|
1375
|
-
let
|
|
1376
|
-
return e.isSSR && e.resetAfterSSR(),
|
|
1403
|
+
]), i = Z(() => {
|
|
1404
|
+
let o = e.getCollection();
|
|
1405
|
+
return e.isSSR && e.resetAfterSSR(), o;
|
|
1377
1406
|
}, [
|
|
1378
1407
|
e
|
|
1379
|
-
]), l =
|
|
1408
|
+
]), l = Z(() => (e.isSSR = !0, e.getCollection()), [
|
|
1380
1409
|
e
|
|
1381
|
-
]), n =
|
|
1382
|
-
return
|
|
1410
|
+
]), n = Yt(t, i, l);
|
|
1411
|
+
return me(() => (e.isMounted = !0, () => {
|
|
1383
1412
|
e.isMounted = !1;
|
|
1384
1413
|
}), [
|
|
1385
1414
|
e
|
|
@@ -1390,7 +1419,7 @@ function qt(r) {
|
|
|
1390
1419
|
}
|
|
1391
1420
|
const Ke = /* @__PURE__ */ G(null);
|
|
1392
1421
|
function lt(r, e, t, i, l, n) {
|
|
1393
|
-
let
|
|
1422
|
+
let o = Z((u) => {
|
|
1394
1423
|
u?.setProps(e, t, i, n);
|
|
1395
1424
|
}, [
|
|
1396
1425
|
e,
|
|
@@ -1405,20 +1434,20 @@ function lt(r, e, t, i, l, n) {
|
|
|
1405
1434
|
}, l) : null;
|
|
1406
1435
|
}
|
|
1407
1436
|
return /* @__PURE__ */ S.createElement(r, {
|
|
1408
|
-
ref:
|
|
1437
|
+
ref: o
|
|
1409
1438
|
}, l);
|
|
1410
1439
|
}
|
|
1411
|
-
function
|
|
1412
|
-
let t = ({ node: l }) => e(l.props, l.props.ref, l), i =
|
|
1413
|
-
let
|
|
1440
|
+
function ki(r, e) {
|
|
1441
|
+
let t = ({ node: l }) => e(l.props, l.props.ref, l), i = We((l, n) => {
|
|
1442
|
+
let o = H(Pe);
|
|
1414
1443
|
if (!H(it)) {
|
|
1415
1444
|
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
1416
1445
|
return e(l, n);
|
|
1417
1446
|
}
|
|
1418
1447
|
return lt(r, l, n, "children" in l ? l.children : null, null, (u) => (
|
|
1419
1448
|
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1420
|
-
/* @__PURE__ */ S.createElement(
|
|
1421
|
-
value:
|
|
1449
|
+
/* @__PURE__ */ S.createElement(Pe.Provider, {
|
|
1450
|
+
value: o
|
|
1422
1451
|
}, /* @__PURE__ */ S.createElement(t, {
|
|
1423
1452
|
node: u
|
|
1424
1453
|
}))
|
|
@@ -1426,11 +1455,11 @@ function Si(r, e) {
|
|
|
1426
1455
|
});
|
|
1427
1456
|
return i.displayName = e.name, i;
|
|
1428
1457
|
}
|
|
1429
|
-
function
|
|
1430
|
-
let i = ({ node: n }) => e(n.props, n.props.ref, n), l =
|
|
1458
|
+
function Ii(r, e, t = nt) {
|
|
1459
|
+
let i = ({ node: n }) => e(n.props, n.props.ref, n), l = We((n, o) => {
|
|
1431
1460
|
let c = t(n);
|
|
1432
1461
|
var u;
|
|
1433
|
-
return (u = lt(r, n,
|
|
1462
|
+
return (u = lt(r, n, o, null, c, (v) => /* @__PURE__ */ S.createElement(i, {
|
|
1434
1463
|
node: v
|
|
1435
1464
|
}))) !== null && u !== void 0 ? u : /* @__PURE__ */ S.createElement(S.Fragment, null);
|
|
1436
1465
|
});
|
|
@@ -1442,24 +1471,24 @@ function nt(r) {
|
|
|
1442
1471
|
addIdAndValue: !0
|
|
1443
1472
|
});
|
|
1444
1473
|
}
|
|
1445
|
-
const
|
|
1446
|
-
function
|
|
1447
|
-
let e = H(
|
|
1474
|
+
const ze = /* @__PURE__ */ G(null);
|
|
1475
|
+
function Pi(r) {
|
|
1476
|
+
let e = H(ze), t = (e?.dependencies || []).concat(r.dependencies), i = r.idScope || e?.idScope, l = nt({
|
|
1448
1477
|
...r,
|
|
1449
1478
|
idScope: i,
|
|
1450
1479
|
dependencies: t
|
|
1451
1480
|
});
|
|
1452
|
-
return H(J) && (l = /* @__PURE__ */ S.createElement(
|
|
1481
|
+
return H(J) && (l = /* @__PURE__ */ S.createElement(Zt, null, l)), e = B(() => ({
|
|
1453
1482
|
dependencies: t,
|
|
1454
1483
|
idScope: i
|
|
1455
1484
|
}), [
|
|
1456
1485
|
i,
|
|
1457
1486
|
...t
|
|
1458
|
-
]), /* @__PURE__ */ S.createElement(
|
|
1487
|
+
]), /* @__PURE__ */ S.createElement(ze.Provider, {
|
|
1459
1488
|
value: e
|
|
1460
1489
|
}, l);
|
|
1461
1490
|
}
|
|
1462
|
-
function
|
|
1491
|
+
function Zt({ children: r }) {
|
|
1463
1492
|
let e = H(J), t = B(() => /* @__PURE__ */ S.createElement(J.Provider, {
|
|
1464
1493
|
value: null
|
|
1465
1494
|
}, /* @__PURE__ */ S.createElement(it.Provider, {
|
|
@@ -1469,30 +1498,30 @@ function Wt({ children: r }) {
|
|
|
1469
1498
|
]);
|
|
1470
1499
|
return Xe() ? /* @__PURE__ */ S.createElement(Ke.Provider, {
|
|
1471
1500
|
value: e
|
|
1472
|
-
}, t) : /* @__PURE__ */
|
|
1501
|
+
}, t) : /* @__PURE__ */ ft(t, e);
|
|
1473
1502
|
}
|
|
1474
1503
|
class R extends Set {
|
|
1475
1504
|
constructor(e, t, i) {
|
|
1476
1505
|
super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
|
|
1477
1506
|
}
|
|
1478
1507
|
}
|
|
1479
|
-
function
|
|
1508
|
+
function Jt(r, e) {
|
|
1480
1509
|
if (r.size !== e.size) return !1;
|
|
1481
1510
|
for (let t of r)
|
|
1482
1511
|
if (!e.has(t)) return !1;
|
|
1483
1512
|
return !0;
|
|
1484
1513
|
}
|
|
1485
|
-
function
|
|
1486
|
-
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: n = "all" } = r,
|
|
1514
|
+
function Fi(r) {
|
|
1515
|
+
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: n = "all" } = r, o = E(!1), [, c] = Y(!1), u = E(null), v = E(null), [, $] = Y(null), d = B(() => Ue(r.selectedKeys), [
|
|
1487
1516
|
r.selectedKeys
|
|
1488
|
-
]), f = B(() =>
|
|
1517
|
+
]), f = B(() => Ue(r.defaultSelectedKeys, new R()), [
|
|
1489
1518
|
r.defaultSelectedKeys
|
|
1490
|
-
]), [h, p] =
|
|
1519
|
+
]), [h, p] = xt(d, f, r.onSelectionChange), K = B(() => r.disabledKeys ? new Set(r.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
1491
1520
|
r.disabledKeys
|
|
1492
|
-
]), [g, m] =
|
|
1521
|
+
]), [g, m] = Y(l);
|
|
1493
1522
|
l === "replace" && g === "toggle" && typeof h == "object" && h.size === 0 && m("replace");
|
|
1494
|
-
let C =
|
|
1495
|
-
return
|
|
1523
|
+
let C = E(l);
|
|
1524
|
+
return X(() => {
|
|
1496
1525
|
l !== C.current && (m(l), C.current = l);
|
|
1497
1526
|
}, [
|
|
1498
1527
|
l
|
|
@@ -1502,10 +1531,10 @@ function xi(r) {
|
|
|
1502
1531
|
selectionBehavior: g,
|
|
1503
1532
|
setSelectionBehavior: m,
|
|
1504
1533
|
get isFocused() {
|
|
1505
|
-
return
|
|
1534
|
+
return o.current;
|
|
1506
1535
|
},
|
|
1507
1536
|
setFocused(x) {
|
|
1508
|
-
|
|
1537
|
+
o.current = x, c(x);
|
|
1509
1538
|
},
|
|
1510
1539
|
get focusedKey() {
|
|
1511
1540
|
return u.current;
|
|
@@ -1513,18 +1542,18 @@ function xi(r) {
|
|
|
1513
1542
|
get childFocusStrategy() {
|
|
1514
1543
|
return v.current;
|
|
1515
1544
|
},
|
|
1516
|
-
setFocusedKey(x,
|
|
1517
|
-
u.current = x, v.current =
|
|
1545
|
+
setFocusedKey(x, k = "first") {
|
|
1546
|
+
u.current = x, v.current = k, $(x);
|
|
1518
1547
|
},
|
|
1519
1548
|
selectedKeys: h,
|
|
1520
1549
|
setSelectedKeys(x) {
|
|
1521
|
-
(i || !
|
|
1550
|
+
(i || !Jt(x, h)) && p(x);
|
|
1522
1551
|
},
|
|
1523
1552
|
disabledKeys: K,
|
|
1524
1553
|
disabledBehavior: n
|
|
1525
1554
|
};
|
|
1526
1555
|
}
|
|
1527
|
-
function
|
|
1556
|
+
function Ue(r, e) {
|
|
1528
1557
|
return r ? r === "all" ? "all" : new R(r) : e;
|
|
1529
1558
|
}
|
|
1530
1559
|
class rt {
|
|
@@ -1621,7 +1650,7 @@ class rt {
|
|
|
1621
1650
|
let e = null;
|
|
1622
1651
|
for (let i of this.state.selectedKeys) {
|
|
1623
1652
|
let l = this.collection.getItem(i);
|
|
1624
|
-
(!e || l &&
|
|
1653
|
+
(!e || l && pe(this.collection, l, e) < 0) && (e = l);
|
|
1625
1654
|
}
|
|
1626
1655
|
var t;
|
|
1627
1656
|
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
@@ -1630,7 +1659,7 @@ class rt {
|
|
|
1630
1659
|
let e = null;
|
|
1631
1660
|
for (let i of this.state.selectedKeys) {
|
|
1632
1661
|
let l = this.collection.getItem(i);
|
|
1633
|
-
(!e || l &&
|
|
1662
|
+
(!e || l && pe(this.collection, l, e) > 0) && (e = l);
|
|
1634
1663
|
}
|
|
1635
1664
|
var t;
|
|
1636
1665
|
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
@@ -1657,27 +1686,27 @@ class rt {
|
|
|
1657
1686
|
t
|
|
1658
1687
|
], t, t);
|
|
1659
1688
|
else {
|
|
1660
|
-
let
|
|
1689
|
+
let o = this.state.selectedKeys;
|
|
1661
1690
|
var l;
|
|
1662
|
-
let c = (l =
|
|
1663
|
-
i = new R(
|
|
1691
|
+
let c = (l = o.anchorKey) !== null && l !== void 0 ? l : t;
|
|
1692
|
+
i = new R(o, c, t);
|
|
1664
1693
|
var n;
|
|
1665
|
-
for (let u of this.getKeyRange(c, (n =
|
|
1694
|
+
for (let u of this.getKeyRange(c, (n = o.currentKey) !== null && n !== void 0 ? n : t)) i.delete(u);
|
|
1666
1695
|
for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
|
|
1667
1696
|
}
|
|
1668
1697
|
this.state.setSelectedKeys(i);
|
|
1669
1698
|
}
|
|
1670
1699
|
getKeyRange(e, t) {
|
|
1671
1700
|
let i = this.collection.getItem(e), l = this.collection.getItem(t);
|
|
1672
|
-
return i && l ?
|
|
1701
|
+
return i && l ? pe(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
|
|
1673
1702
|
}
|
|
1674
1703
|
getKeyRangeInternal(e, t) {
|
|
1675
1704
|
var i;
|
|
1676
1705
|
if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
|
|
1677
1706
|
let l = [], n = e;
|
|
1678
1707
|
for (; n != null; ) {
|
|
1679
|
-
let
|
|
1680
|
-
if (
|
|
1708
|
+
let o = this.collection.getItem(n);
|
|
1709
|
+
if (o && (o.type === "item" || o.type === "cell" && this.allowsCellSelection) && l.push(n), n === t) return l;
|
|
1681
1710
|
n = this.collection.getKeyAfter(n);
|
|
1682
1711
|
}
|
|
1683
1712
|
return [];
|
|
@@ -1732,10 +1761,10 @@ class rt {
|
|
|
1732
1761
|
for (; i != null; ) {
|
|
1733
1762
|
if (this.canSelectItem(i)) {
|
|
1734
1763
|
var l;
|
|
1735
|
-
let
|
|
1736
|
-
|
|
1764
|
+
let o = this.collection.getItem(i);
|
|
1765
|
+
o?.type === "item" && e.push(i);
|
|
1737
1766
|
var n;
|
|
1738
|
-
|
|
1767
|
+
o?.hasChildNodes && (this.allowsCellSelection || o.type !== "item") && t((n = (l = Nt(Vt(o, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && n !== void 0 ? n : null);
|
|
1739
1768
|
}
|
|
1740
1769
|
i = this.collection.getKeyAfter(i);
|
|
1741
1770
|
}
|
|
@@ -1806,15 +1835,15 @@ class rt {
|
|
|
1806
1835
|
this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
|
|
1807
1836
|
}
|
|
1808
1837
|
}
|
|
1809
|
-
const
|
|
1838
|
+
const Mi = /* @__PURE__ */ G(null), Qt = {
|
|
1810
1839
|
CollectionRoot({ collection: r, renderDropIndicator: e }) {
|
|
1811
|
-
return
|
|
1840
|
+
return He(r, null, e);
|
|
1812
1841
|
},
|
|
1813
1842
|
CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
|
|
1814
|
-
return
|
|
1843
|
+
return He(r, e, t);
|
|
1815
1844
|
}
|
|
1816
1845
|
};
|
|
1817
|
-
function
|
|
1846
|
+
function He(r, e, t) {
|
|
1818
1847
|
return tt({
|
|
1819
1848
|
items: e ? r.getChildren(e.key) : r,
|
|
1820
1849
|
dependencies: [
|
|
@@ -1826,18 +1855,18 @@ function Ue(r, e, t) {
|
|
|
1826
1855
|
type: "item",
|
|
1827
1856
|
key: i.key,
|
|
1828
1857
|
dropPosition: "before"
|
|
1829
|
-
}), l,
|
|
1858
|
+
}), l, ei(r, i, t));
|
|
1830
1859
|
}
|
|
1831
1860
|
});
|
|
1832
1861
|
}
|
|
1833
|
-
function
|
|
1862
|
+
function ei(r, e, t) {
|
|
1834
1863
|
let i = e.key, l = r.getKeyAfter(i), n = l != null ? r.getItem(l) : null;
|
|
1835
1864
|
for (; n != null && n.type !== "item"; )
|
|
1836
1865
|
l = r.getKeyAfter(n.key), n = l != null ? r.getItem(l) : null;
|
|
1837
|
-
let
|
|
1838
|
-
for (;
|
|
1866
|
+
let o = e.nextKey != null ? r.getItem(e.nextKey) : null;
|
|
1867
|
+
for (; o != null && o.type !== "item"; ) o = o.nextKey != null ? r.getItem(o.nextKey) : null;
|
|
1839
1868
|
let c = [];
|
|
1840
|
-
if (
|
|
1869
|
+
if (o == null) {
|
|
1841
1870
|
let u = e;
|
|
1842
1871
|
for (; u && (!n || u.parentKey !== n.parentKey && n.level < u.level); ) {
|
|
1843
1872
|
let v = t({
|
|
@@ -1845,15 +1874,15 @@ function jt(r, e, t) {
|
|
|
1845
1874
|
key: u.key,
|
|
1846
1875
|
dropPosition: "after"
|
|
1847
1876
|
});
|
|
1848
|
-
/* @__PURE__ */
|
|
1877
|
+
/* @__PURE__ */ ot(v) && c.push(/* @__PURE__ */ qe(v, {
|
|
1849
1878
|
key: `${u.key}-after`
|
|
1850
1879
|
})), u = u.parentKey != null ? r.getItem(u.parentKey) : null;
|
|
1851
1880
|
}
|
|
1852
1881
|
}
|
|
1853
1882
|
return c;
|
|
1854
1883
|
}
|
|
1855
|
-
const
|
|
1856
|
-
function
|
|
1884
|
+
const Ai = /* @__PURE__ */ G(Qt);
|
|
1885
|
+
function Ri(r) {
|
|
1857
1886
|
return B(() => r != null ? /* @__PURE__ */ new Set([
|
|
1858
1887
|
r
|
|
1859
1888
|
]) : null, [
|
|
@@ -1861,36 +1890,36 @@ function Di(r) {
|
|
|
1861
1890
|
]);
|
|
1862
1891
|
}
|
|
1863
1892
|
export {
|
|
1864
|
-
|
|
1893
|
+
xi as $,
|
|
1865
1894
|
tt as A,
|
|
1866
1895
|
xe as B,
|
|
1867
1896
|
$e as C,
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1897
|
+
It as D,
|
|
1898
|
+
Fi as a,
|
|
1899
|
+
wi as b,
|
|
1871
1900
|
rt as c,
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1901
|
+
ki as d,
|
|
1902
|
+
Ii as e,
|
|
1903
|
+
Ei as f,
|
|
1904
|
+
Pi as g,
|
|
1905
|
+
Ai as h,
|
|
1906
|
+
Ci as i,
|
|
1907
|
+
Mi as j,
|
|
1908
|
+
Tt as k,
|
|
1909
|
+
$i as l,
|
|
1910
|
+
Vt as m,
|
|
1911
|
+
wt as n,
|
|
1883
1912
|
Ze as o,
|
|
1884
|
-
|
|
1885
|
-
|
|
1913
|
+
Ct as p,
|
|
1914
|
+
Pt as q,
|
|
1886
1915
|
Je as r,
|
|
1887
1916
|
q as s,
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1917
|
+
Ft as t,
|
|
1918
|
+
Qt as u,
|
|
1919
|
+
Ri as v,
|
|
1920
|
+
Di as w,
|
|
1921
|
+
Nt as x,
|
|
1922
|
+
zt as y,
|
|
1923
|
+
Re as z
|
|
1895
1924
|
};
|
|
1896
|
-
//# sourceMappingURL=Collection-
|
|
1925
|
+
//# sourceMappingURL=Collection-CDJ_uFKV.es.js.map
|