@commercetools/nimbus 0.0.11 → 1.0.0
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/accordion.d.ts +9 -2
- package/dist/alert.d.ts +9 -7
- package/dist/avatar.d.ts +4 -4
- package/dist/badge.d.ts +7 -13
- package/dist/box.d.ts +8 -1
- package/dist/button.d.ts +10 -3
- package/dist/calendar.d.ts +9 -2
- package/dist/card.d.ts +11 -4
- package/dist/checkbox.d.ts +13 -17
- package/dist/chunks/Button-C-yUWwZg.es.js +73 -0
- package/dist/chunks/Button-C-yUWwZg.es.js.map +1 -0
- package/dist/chunks/Button-DQ_WkLNH.cjs.js +2 -0
- package/dist/chunks/Button-DQ_WkLNH.cjs.js.map +1 -0
- package/dist/chunks/Collection-BsItrctR.cjs.js +18 -0
- package/dist/chunks/Collection-BsItrctR.cjs.js.map +1 -0
- package/dist/chunks/Collection-DFZhstai.es.js +1896 -0
- package/dist/chunks/Collection-DFZhstai.es.js.map +1 -0
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js +2 -0
- package/dist/chunks/DateField-D-KvZd-Q.cjs.js.map +1 -0
- package/dist/chunks/DateField-m1BUGo8i.es.js +2672 -0
- package/dist/chunks/DateField-m1BUGo8i.es.js.map +1 -0
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +2 -0
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js.map +1 -0
- package/dist/chunks/DatePicker-DtefBSoN.es.js +779 -0
- package/dist/chunks/DatePicker-DtefBSoN.es.js.map +1 -0
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js +2 -0
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js.map +1 -0
- package/dist/chunks/Dialog-DNPIKkGE.es.js +1904 -0
- package/dist/chunks/Dialog-DNPIKkGE.es.js.map +1 -0
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +81 -0
- package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -0
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +2 -0
- package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -0
- package/dist/chunks/FieldError-CXcEMuBf.es.js +6 -0
- package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -0
- package/dist/chunks/FieldError-DyGFfqST.cjs.js +2 -0
- package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -0
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js +2 -0
- package/dist/chunks/FocusScope-B78iFLeF.cjs.js.map +1 -0
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js +625 -0
- package/dist/chunks/FocusScope-C1Aw7j9H.es.js.map +1 -0
- package/dist/chunks/Form-BuOomA4T.cjs.js +2 -0
- package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -0
- package/dist/chunks/Form-CXcEMuBf.es.js +6 -0
- package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -0
- package/dist/chunks/Group-KVM7Xnxu.cjs.js +2 -0
- package/dist/chunks/Group-KVM7Xnxu.cjs.js.map +1 -0
- package/dist/chunks/Group-kT8-3NGT.es.js +46 -0
- package/dist/chunks/Group-kT8-3NGT.es.js.map +1 -0
- package/dist/chunks/Heading-CQJ-3eon.cjs.js +2 -0
- package/dist/chunks/Heading-CQJ-3eon.cjs.js.map +1 -0
- package/dist/chunks/Heading-DGvdnp7W.es.js +1618 -0
- package/dist/chunks/Heading-DGvdnp7W.es.js.map +1 -0
- package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
- package/dist/chunks/Hidden-j3Lbt7xL.es.js +28 -0
- package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -0
- package/dist/chunks/Input-93z9WR_a.cjs.js +2 -0
- package/dist/chunks/Input-93z9WR_a.cjs.js.map +1 -0
- package/dist/chunks/Input-C4REHQYD.es.js +43 -0
- package/dist/chunks/Input-C4REHQYD.es.js.map +1 -0
- package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
- package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
- package/dist/chunks/Label-B2YyCdLl.es.js +17 -0
- package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -0
- package/dist/chunks/Label-BgrYyYXn.cjs.js +2 -0
- package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -0
- package/dist/chunks/ListBox-B8Tz7EWS.es.js +615 -0
- package/dist/chunks/ListBox-B8Tz7EWS.es.js.map +1 -0
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js +2 -0
- package/dist/chunks/ListBox-CzZFXtHY.cjs.js.map +1 -0
- package/dist/chunks/LiveAnnouncer-BkrEjKY8.cjs.js.map +1 -1
- package/dist/chunks/LiveAnnouncer-CsPyaceH.es.js.map +1 -1
- package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
- package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +452 -0
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +1 -0
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js +2 -0
- package/dist/chunks/ProgressBar-BNPexoD9.cjs.js.map +1 -0
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js +42 -0
- package/dist/chunks/ProgressBar-BnGsEC_2.es.js.map +1 -0
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js +7 -0
- package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -0
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js +2 -0
- package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -0
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js +2 -0
- package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -0
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js +51 -0
- package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -0
- package/dist/chunks/Separator-BUmWfQvi.es.js +573 -0
- package/dist/chunks/Separator-BUmWfQvi.es.js.map +1 -0
- package/dist/chunks/Separator-DBLZ41YB.cjs.js +2 -0
- package/dist/chunks/Separator-DBLZ41YB.cjs.js.map +1 -0
- package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
- package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
- package/dist/chunks/TextArea-Cc0cDaeu.cjs.js +2 -0
- package/dist/chunks/TextArea-Cc0cDaeu.cjs.js.map +1 -0
- package/dist/chunks/TextArea-DIyosEKy.es.js +42 -0
- package/dist/chunks/TextArea-DIyosEKy.es.js.map +1 -0
- package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js +2 -0
- package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js.map +1 -0
- package/dist/chunks/ToggleButton-CgbTgCVi.es.js +145 -0
- package/dist/chunks/ToggleButton-CgbTgCVi.es.js.map +1 -0
- package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js +2 -0
- package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js.map +1 -0
- package/dist/chunks/VisuallyHidden-C38kRNm0.es.js +41 -0
- package/dist/chunks/VisuallyHidden-C38kRNm0.es.js.map +1 -0
- package/dist/chunks/accordion-B_MC1ZEv.es.js +223 -0
- package/dist/chunks/accordion-B_MC1ZEv.es.js.map +1 -0
- package/dist/chunks/accordion-C9-YyEB4.cjs.js +2 -0
- package/dist/chunks/accordion-C9-YyEB4.cjs.js.map +1 -0
- package/dist/chunks/alert-BcTfv-Kw.es.js +194 -0
- package/dist/chunks/alert-BcTfv-Kw.es.js.map +1 -0
- package/dist/chunks/alert-Bp15DXZM.cjs.js +2 -0
- package/dist/chunks/alert-Bp15DXZM.cjs.js.map +1 -0
- package/dist/chunks/avatar-BWG1uDUT.cjs.js +2 -0
- package/dist/chunks/avatar-BWG1uDUT.cjs.js.map +1 -0
- package/dist/chunks/avatar-d49Ix9eV.es.js +45 -0
- package/dist/chunks/avatar-d49Ix9eV.es.js.map +1 -0
- package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js +2 -0
- package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js.map +1 -0
- package/dist/chunks/avatar.recipe-CxXQlkH6.es.js +39 -0
- package/dist/chunks/avatar.recipe-CxXQlkH6.es.js.map +1 -0
- package/dist/chunks/badge-BeR8OqtD.es.js +78 -0
- package/dist/chunks/badge-BeR8OqtD.es.js.map +1 -0
- package/dist/chunks/badge-CJK91qKC.cjs.js +2 -0
- package/dist/chunks/badge-CJK91qKC.cjs.js.map +1 -0
- package/dist/chunks/box-7pkPaNxe.es.js +13 -0
- package/dist/chunks/box-7pkPaNxe.es.js.map +1 -0
- package/dist/chunks/box-DL4MWnyy.cjs.js +2 -0
- package/dist/chunks/box-DL4MWnyy.cjs.js.map +1 -0
- package/dist/chunks/button-D5pgTe6f.es.js +57 -0
- package/dist/chunks/button-D5pgTe6f.es.js.map +1 -0
- package/dist/chunks/button-IGP--12e.cjs.js +2 -0
- package/dist/chunks/button-IGP--12e.cjs.js.map +1 -0
- package/dist/chunks/button.recipe-ClPhJ93N.cjs.js +2 -0
- package/dist/chunks/button.recipe-ClPhJ93N.cjs.js.map +1 -0
- package/dist/chunks/button.recipe-D9e9Gh9L.es.js +191 -0
- package/dist/chunks/button.recipe-D9e9Gh9L.es.js.map +1 -0
- package/dist/chunks/calendar-CYqib6Tm.cjs.js +2 -0
- package/dist/chunks/calendar-CYqib6Tm.cjs.js.map +1 -0
- package/dist/chunks/calendar-jrs4VkfV.es.js +209 -0
- package/dist/chunks/calendar-jrs4VkfV.es.js.map +1 -0
- package/dist/chunks/card-4i9NTJKM.cjs.js +2 -0
- package/dist/chunks/card-4i9NTJKM.cjs.js.map +1 -0
- package/dist/chunks/card-D1BUuNzg.es.js +139 -0
- package/dist/chunks/card-D1BUuNzg.es.js.map +1 -0
- package/dist/chunks/checkbox-BJQlCxDq.es.js +219 -0
- package/dist/chunks/checkbox-BJQlCxDq.es.js.map +1 -0
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js +2 -0
- package/dist/chunks/checkbox-DVb0qX6x.cjs.js.map +1 -0
- package/dist/chunks/code-C245FocZ.es.js +8 -0
- package/dist/chunks/code-C245FocZ.es.js.map +1 -0
- package/dist/chunks/code-DqjWYzPU.cjs.js +2 -0
- package/dist/chunks/code-DqjWYzPU.cjs.js.map +1 -0
- package/dist/chunks/combobox-P1kEHLnr.cjs.js +2 -0
- package/dist/chunks/combobox-P1kEHLnr.cjs.js.map +1 -0
- package/dist/chunks/combobox-eT94voy1.es.js +1947 -0
- package/dist/chunks/combobox-eT94voy1.es.js.map +1 -0
- package/dist/chunks/config-Mt8_uyhI.cjs.js +2 -0
- package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -0
- package/dist/chunks/config-ufbQ08Vi.es.js +6 -0
- package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -0
- package/dist/chunks/context-D0_cRaDZ.cjs.js +2 -0
- package/dist/chunks/context-D0_cRaDZ.cjs.js.map +1 -0
- package/dist/chunks/context-Pt-0ojuK.es.js +94 -0
- package/dist/chunks/context-Pt-0ojuK.es.js.map +1 -0
- package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js +2 -0
- package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js.map +1 -0
- package/dist/chunks/create-recipe-context-BuajKZ9o.es.js +62 -0
- package/dist/chunks/create-recipe-context-BuajKZ9o.es.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js +2 -0
- package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js +104 -0
- package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js.map +1 -0
- package/dist/chunks/data-table-BRjRsTel.cjs.js +2 -0
- package/dist/chunks/data-table-BRjRsTel.cjs.js.map +1 -0
- package/dist/chunks/data-table-CSWloD1b.es.js +3912 -0
- package/dist/chunks/data-table-CSWloD1b.es.js.map +1 -0
- package/dist/chunks/date-input-BFHLRnBr.cjs.js +2 -0
- package/dist/chunks/date-input-BFHLRnBr.cjs.js.map +1 -0
- package/dist/chunks/date-input-DADLkfIT.es.js +17 -0
- package/dist/chunks/date-input-DADLkfIT.es.js.map +1 -0
- package/dist/chunks/date-picker-CgCR5Rwk.es.js +236 -0
- package/dist/chunks/date-picker-CgCR5Rwk.es.js.map +1 -0
- package/dist/chunks/date-picker-CsspyMz9.cjs.js +2 -0
- package/dist/chunks/date-picker-CsspyMz9.cjs.js.map +1 -0
- package/dist/chunks/date-range-picker-C6v-n1IH.es.js +283 -0
- package/dist/chunks/date-range-picker-C6v-n1IH.es.js.map +1 -0
- package/dist/chunks/date-range-picker-D_gkG0on.cjs.js +2 -0
- package/dist/chunks/date-range-picker-D_gkG0on.cjs.js.map +1 -0
- package/dist/chunks/dialog-B1XThG7_.cjs.js +2 -0
- package/dist/chunks/dialog-B1XThG7_.cjs.js.map +1 -0
- package/dist/chunks/dialog-De8l1nzr.es.js +1874 -0
- package/dist/chunks/dialog-De8l1nzr.es.js.map +1 -0
- package/dist/chunks/divider-BicBw1PK.cjs.js +2 -0
- package/dist/chunks/divider-BicBw1PK.cjs.js.map +1 -0
- package/dist/chunks/divider-DMH0p6Pr.es.js +54 -0
- package/dist/chunks/divider-DMH0p6Pr.es.js.map +1 -0
- package/dist/chunks/empty-B5_AO6Pg.cjs.js +2 -0
- package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -0
- package/dist/chunks/empty-D7ZFmvo6.es.js +8 -0
- package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js +11 -0
- package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js +2 -0
- package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js.map +1 -0
- package/dist/chunks/factory-DUzr3LTt.cjs.js +3 -0
- package/dist/chunks/factory-DUzr3LTt.cjs.js.map +1 -0
- package/dist/chunks/factory-Dwv06Ntb.es.js +266 -0
- package/dist/chunks/factory-Dwv06Ntb.es.js.map +1 -0
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js +66 -0
- package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -0
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js +2 -0
- package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -0
- package/dist/chunks/flex-9fkV4bsm.es.js +40 -0
- package/dist/chunks/flex-9fkV4bsm.es.js.map +1 -0
- package/dist/chunks/flex-CDVfeTs4.cjs.js +2 -0
- package/dist/chunks/flex-CDVfeTs4.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-CpzfaUTO.cjs.js +2 -0
- package/dist/chunks/focusSafely-CpzfaUTO.cjs.js.map +1 -0
- package/dist/chunks/focusSafely-Di2ArC9L.es.js +27 -0
- package/dist/chunks/focusSafely-Di2ArC9L.es.js.map +1 -0
- package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
- package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
- package/dist/chunks/form-field-BHknOPYf.es.js +310 -0
- package/dist/chunks/form-field-BHknOPYf.es.js.map +1 -0
- package/dist/chunks/form-field-CM_uSyZr.cjs.js +11 -0
- package/dist/chunks/form-field-CM_uSyZr.cjs.js.map +1 -0
- package/dist/chunks/grid-DcLdIZYK.es.js +14 -0
- package/dist/chunks/grid-DcLdIZYK.es.js.map +1 -0
- package/dist/chunks/grid-Dm38IozR.cjs.js +2 -0
- package/dist/chunks/grid-Dm38IozR.cjs.js.map +1 -0
- package/dist/chunks/grid-item-B0PfRhfs.cjs.js +2 -0
- package/dist/chunks/grid-item-B0PfRhfs.cjs.js.map +1 -0
- package/dist/chunks/grid-item-BZOflk76.es.js +75 -0
- package/dist/chunks/grid-item-BZOflk76.es.js.map +1 -0
- package/dist/chunks/group-BQeamedA.es.js +14 -0
- package/dist/chunks/group-BQeamedA.es.js.map +1 -0
- package/dist/chunks/group-BwSwp_8B.cjs.js +2 -0
- package/dist/chunks/group-BwSwp_8B.cjs.js.map +1 -0
- package/dist/chunks/group.recipe-BQafmscW.es.js +13 -0
- package/dist/chunks/group.recipe-BQafmscW.es.js.map +1 -0
- package/dist/chunks/group.recipe-BffrkcjL.cjs.js +2 -0
- package/dist/chunks/group.recipe-BffrkcjL.cjs.js.map +1 -0
- package/dist/chunks/heading-CEFp09pV.cjs.js +2 -0
- package/dist/chunks/heading-CEFp09pV.cjs.js.map +1 -0
- package/dist/chunks/heading-DYcfaS5T.es.js +8 -0
- package/dist/chunks/heading-DYcfaS5T.es.js.map +1 -0
- package/dist/chunks/icon-Cgp53xQ2.es.js +32 -0
- package/dist/chunks/icon-Cgp53xQ2.es.js.map +1 -0
- package/dist/chunks/icon-DxRnsJFu.cjs.js +2 -0
- package/dist/chunks/icon-DxRnsJFu.cjs.js.map +1 -0
- package/dist/chunks/icon-button-C2GGAKhI.es.js +14 -0
- package/dist/chunks/icon-button-C2GGAKhI.es.js.map +1 -0
- package/dist/chunks/icon-button-KMr_sm5y.cjs.js +2 -0
- package/dist/chunks/icon-button-KMr_sm5y.cjs.js.map +1 -0
- package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js +13 -0
- package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js.map +1 -0
- package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js +2 -0
- package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js.map +1 -0
- package/dist/chunks/image-B_X4IZ54.es.js +8 -0
- package/dist/chunks/image-B_X4IZ54.es.js.map +1 -0
- package/dist/chunks/image-CenZDDs1.cjs.js +2 -0
- package/dist/chunks/image-CenZDDs1.cjs.js.map +1 -0
- package/dist/chunks/image-DCZ7u0Yz.cjs.js +2 -0
- package/dist/chunks/image-DCZ7u0Yz.cjs.js.map +1 -0
- package/dist/chunks/image-Dk3v9f16.es.js +22 -0
- package/dist/chunks/image-Dk3v9f16.es.js.map +1 -0
- package/dist/chunks/index-CPFuzoME.es.js +3424 -0
- package/dist/chunks/index-CPFuzoME.es.js.map +1 -0
- package/dist/chunks/index-CcqI-ipN.cjs.js +2 -0
- package/dist/chunks/index-CcqI-ipN.cjs.js.map +1 -0
- package/dist/chunks/index-DsGIn0AT.es.js +51 -0
- package/dist/chunks/index-DsGIn0AT.es.js.map +1 -0
- package/dist/chunks/index-XyB4gGC8.cjs.js +4 -0
- package/dist/chunks/index-XyB4gGC8.cjs.js.map +1 -0
- package/dist/chunks/intlStrings-Cd44R5hT.es.js +279 -0
- package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -0
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js +2 -0
- package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -0
- package/dist/chunks/kbd-CSMHvaH6.cjs.js +2 -0
- package/dist/chunks/kbd-CSMHvaH6.cjs.js.map +1 -0
- package/dist/chunks/kbd-CUSbYvfc.es.js +16 -0
- package/dist/chunks/kbd-CUSbYvfc.es.js.map +1 -0
- package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js +2 -0
- package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js.map +1 -0
- package/dist/chunks/kbd.recipe-BTW0MQqx.es.js +26 -0
- package/dist/chunks/kbd.recipe-BTW0MQqx.es.js.map +1 -0
- package/dist/chunks/link-B2cOAxZz.cjs.js +2 -0
- package/dist/chunks/link-B2cOAxZz.cjs.js.map +1 -0
- package/dist/chunks/link-DteZUB4U.es.js +50 -0
- package/dist/chunks/link-DteZUB4U.es.js.map +1 -0
- package/dist/chunks/link.recipe-BRnFQ5bP.es.js +51 -0
- package/dist/chunks/link.recipe-BRnFQ5bP.es.js.map +1 -0
- package/dist/chunks/link.recipe-BfCxtKjL.cjs.js +2 -0
- package/dist/chunks/link.recipe-BfCxtKjL.cjs.js.map +1 -0
- package/dist/chunks/list-Bm8bFcHO.cjs.js +2 -0
- package/dist/chunks/list-Bm8bFcHO.cjs.js.map +1 -0
- package/dist/chunks/list-De4DYOvu.es.js +23 -0
- package/dist/chunks/list-De4DYOvu.es.js.map +1 -0
- package/dist/chunks/loading-spinner-BMtvjIcS.es.js +119 -0
- package/dist/chunks/loading-spinner-BMtvjIcS.es.js.map +1 -0
- package/dist/chunks/loading-spinner-Cap3elI4.cjs.js +2 -0
- package/dist/chunks/loading-spinner-Cap3elI4.cjs.js.map +1 -0
- package/dist/chunks/make-element-focusable-_FWEyVtG.es.js +22 -0
- package/dist/chunks/make-element-focusable-_FWEyVtG.es.js.map +1 -0
- package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js +2 -0
- package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +2 -0
- package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -0
- package/dist/chunks/mergeProps-B_9syxhT.es.js +130 -0
- package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-CaGDNakb.es.js +120 -0
- package/dist/chunks/multiline-text-input-CaGDNakb.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js +12 -0
- package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js.map +1 -0
- package/dist/chunks/namespace-BayyiBSr.es.js +74 -0
- package/dist/chunks/namespace-BayyiBSr.es.js.map +1 -0
- package/dist/chunks/namespace-E8aHFVxM.cjs.js +2 -0
- package/dist/chunks/namespace-E8aHFVxM.cjs.js.map +1 -0
- package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js +2 -0
- package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js.map +1 -0
- package/dist/chunks/nimbus-provider-Dlt9_yol.es.js +101 -0
- package/dist/chunks/nimbus-provider-Dlt9_yol.es.js.map +1 -0
- package/dist/chunks/number-DHvo-MDe.cjs.js +2 -0
- package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -0
- package/dist/chunks/number-dMxJejI6.es.js +26 -0
- package/dist/chunks/number-dMxJejI6.es.js.map +1 -0
- package/dist/chunks/number-input-BHHKhYR7.es.js +669 -0
- package/dist/chunks/number-input-BHHKhYR7.es.js.map +1 -0
- package/dist/chunks/number-input-DFFxFKrR.cjs.js +2 -0
- package/dist/chunks/number-input-DFFxFKrR.cjs.js.map +1 -0
- package/dist/chunks/openLink-Ctl0AdAy.es.js +105 -0
- package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -0
- package/dist/chunks/openLink-DkCJYbzq.cjs.js +2 -0
- package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -0
- package/dist/chunks/password-input-DVcMdFAI.cjs.js +2 -0
- package/dist/chunks/password-input-DVcMdFAI.cjs.js.map +1 -0
- package/dist/chunks/password-input-DbMYteEW.es.js +65 -0
- package/dist/chunks/password-input-DbMYteEW.es.js.map +1 -0
- package/dist/chunks/platform-BDLy2vDY.cjs.js +2 -0
- package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -0
- package/dist/chunks/platform-Z5fvtFmM.es.js +47 -0
- package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -0
- package/dist/chunks/progress-bar-BsWBRJc2.cjs.js +2 -0
- package/dist/chunks/progress-bar-BsWBRJc2.cjs.js.map +1 -0
- package/dist/chunks/progress-bar-C3sqvC_T.es.js +77 -0
- package/dist/chunks/progress-bar-C3sqvC_T.es.js.map +1 -0
- package/dist/chunks/provider-BzZZw3fF.cjs.js +16 -0
- package/dist/chunks/provider-BzZZw3fF.cjs.js.map +1 -0
- package/dist/chunks/provider-DxFdjgyb.es.js +989 -0
- package/dist/chunks/provider-DxFdjgyb.es.js.map +1 -0
- package/dist/chunks/radio-input-CFNznM66.es.js +341 -0
- package/dist/chunks/radio-input-CFNznM66.es.js.map +1 -0
- package/dist/chunks/radio-input-D3ePwO1n.cjs.js +2 -0
- package/dist/chunks/radio-input-D3ePwO1n.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-Bk_im2QK.cjs.js +2 -0
- package/dist/chunks/range-calendar-Bk_im2QK.cjs.js.map +1 -0
- package/dist/chunks/range-calendar-C5pDvIuq.es.js +187 -0
- package/dist/chunks/range-calendar-C5pDvIuq.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +94 -0
- package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -0
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +2 -0
- package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -0
- package/dist/chunks/select-BZGHsJAO.es.js +571 -0
- package/dist/chunks/select-BZGHsJAO.es.js.map +1 -0
- package/dist/chunks/select-DCQjhFbh.cjs.js +2 -0
- package/dist/chunks/select-DCQjhFbh.cjs.js.map +1 -0
- package/dist/chunks/simple-grid-1F5YBj03.es.js +38 -0
- package/dist/chunks/simple-grid-1F5YBj03.es.js.map +1 -0
- package/dist/chunks/simple-grid-BfDDcTNA.cjs.js +2 -0
- package/dist/chunks/simple-grid-BfDDcTNA.cjs.js.map +1 -0
- package/dist/chunks/split-button-CIHXMvxD.cjs.js +2 -0
- package/dist/chunks/split-button-CIHXMvxD.cjs.js.map +1 -0
- package/dist/chunks/split-button-DJoqZPXX.es.js +262 -0
- package/dist/chunks/split-button-DJoqZPXX.es.js.map +1 -0
- package/dist/chunks/stack-B2xQMEdj.cjs.js +2 -0
- package/dist/chunks/stack-B2xQMEdj.cjs.js.map +1 -0
- package/dist/chunks/stack-DosdbBli.es.js +89 -0
- package/dist/chunks/stack-DosdbBli.es.js.map +1 -0
- package/dist/chunks/switch-C3AG1gUR.cjs.js +2 -0
- package/dist/chunks/switch-C3AG1gUR.cjs.js.map +1 -0
- package/dist/chunks/switch-DEKbPCQG.es.js +79 -0
- package/dist/chunks/switch-DEKbPCQG.es.js.map +1 -0
- package/dist/chunks/tag-group-4kwJie4V.es.js +768 -0
- package/dist/chunks/tag-group-4kwJie4V.es.js.map +1 -0
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js +2 -0
- package/dist/chunks/tag-group-BYQkpbiY.cjs.js.map +1 -0
- package/dist/chunks/text-DNjTZCtR.cjs.js +2 -0
- package/dist/chunks/text-DNjTZCtR.cjs.js.map +1 -0
- package/dist/chunks/text-QANNJ4E4.es.js +26 -0
- package/dist/chunks/text-QANNJ4E4.es.js.map +1 -0
- package/dist/chunks/text-input-COPlnTZU.es.js +19 -0
- package/dist/chunks/text-input-COPlnTZU.es.js.map +1 -0
- package/dist/chunks/text-input-DnS2RVDs.cjs.js +2 -0
- package/dist/chunks/text-input-DnS2RVDs.cjs.js.map +1 -0
- package/dist/chunks/time-input-BWkx15sb.cjs.js +2 -0
- package/dist/chunks/time-input-BWkx15sb.cjs.js.map +1 -0
- package/dist/chunks/time-input-DXMs43_R.es.js +132 -0
- package/dist/chunks/time-input-DXMs43_R.es.js.map +1 -0
- package/dist/chunks/toggle-button-BEvOqB5n.es.js +30 -0
- package/dist/chunks/toggle-button-BEvOqB5n.es.js.map +1 -0
- package/dist/chunks/toggle-button-PE5251Fm.cjs.js +2 -0
- package/dist/chunks/toggle-button-PE5251Fm.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-group-CXrwjOF0.es.js +82 -0
- package/dist/chunks/toggle-button-group-CXrwjOF0.es.js.map +1 -0
- package/dist/chunks/toolbar-BJrobBzi.es.js +59 -0
- package/dist/chunks/toolbar-BJrobBzi.es.js.map +1 -0
- package/dist/chunks/toolbar-BxIQI626.cjs.js +2 -0
- package/dist/chunks/toolbar-BxIQI626.cjs.js.map +1 -0
- package/dist/chunks/tooltip-Ya7L6lQR.es.js +274 -0
- package/dist/chunks/tooltip-Ya7L6lQR.es.js.map +1 -0
- package/dist/chunks/tooltip-fOhxG4pp.cjs.js +2 -0
- package/dist/chunks/tooltip-fOhxG4pp.cjs.js.map +1 -0
- package/dist/chunks/tooltip.recipe-DsVUEki2.es.js +24 -0
- package/dist/chunks/tooltip.recipe-DsVUEki2.es.js.map +1 -0
- package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js +2 -0
- package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js.map +1 -0
- package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js +2 -0
- package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +1 -0
- package/dist/chunks/use-recipe-CR4W7Dne.es.js +13 -0
- package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +1 -0
- package/dist/chunks/useButton-Cgkz8UEs.es.js +56 -0
- package/dist/chunks/useButton-Cgkz8UEs.es.js.map +1 -0
- package/dist/chunks/useButton-D3BedLtL.cjs.js +2 -0
- package/dist/chunks/useButton-D3BedLtL.cjs.js.map +1 -0
- package/dist/chunks/useCollator-BvjDbml1.es.js +12 -0
- package/dist/chunks/useCollator-BvjDbml1.es.js.map +1 -0
- package/dist/chunks/useCollator-ZqnkTllN.cjs.js +2 -0
- package/dist/chunks/useCollator-ZqnkTllN.cjs.js.map +1 -0
- package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
- package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
- package/dist/chunks/useDateFormatter-D9HBAX1w.es.js +1601 -0
- package/dist/chunks/useDateFormatter-D9HBAX1w.es.js.map +1 -0
- package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js +2 -0
- package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js.map +1 -0
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js +2 -0
- package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -0
- package/dist/chunks/useEvent-YHhqZvpU.es.js +22 -0
- package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -0
- package/dist/chunks/useField-Ce9zQxmx.es.js +36 -0
- package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -0
- package/dist/chunks/useField-DmqO9k7a.cjs.js +2 -0
- package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -0
- package/dist/chunks/useFilter-Bh0adxQ-.es.js +36 -0
- package/dist/chunks/useFilter-Bh0adxQ-.es.js.map +1 -0
- package/dist/chunks/useFilter-Du48WXDn.cjs.js +2 -0
- package/dist/chunks/useFilter-Du48WXDn.cjs.js.map +1 -0
- package/dist/chunks/useFocus-BcBbbuWU.cjs.js +2 -0
- package/dist/chunks/useFocus-BcBbbuWU.cjs.js.map +1 -0
- package/dist/chunks/useFocus-CeI1jbl8.es.js +29 -0
- package/dist/chunks/useFocus-CeI1jbl8.es.js.map +1 -0
- package/dist/chunks/useFocusRing-D8cwV0EM.es.js +35 -0
- package/dist/chunks/useFocusRing-D8cwV0EM.es.js.map +1 -0
- package/dist/chunks/useFocusRing-DRIoF592.cjs.js +2 -0
- package/dist/chunks/useFocusRing-DRIoF592.cjs.js.map +1 -0
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js +111 -0
- package/dist/chunks/useFocusVisible-C5ivHvqm.es.js.map +1 -0
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js +2 -0
- package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js +2 -0
- package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js.map +1 -0
- package/dist/chunks/useFocusWithin-yfiHuOEs.es.js +56 -0
- package/dist/chunks/useFocusWithin-yfiHuOEs.es.js.map +1 -0
- package/dist/chunks/useFocusable-BghVNiQU.es.js +77 -0
- package/dist/chunks/useFocusable-BghVNiQU.es.js.map +1 -0
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js +2 -0
- package/dist/chunks/useFocusable-avM9w6OE.cjs.js.map +1 -0
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js +2 -0
- package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -0
- package/dist/chunks/useFormReset-DurgUJL-.es.js +21 -0
- package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -0
- package/dist/chunks/useFormValidation-DJMNbIhx.es.js +202 -0
- package/dist/chunks/useFormValidation-DJMNbIhx.es.js.map +1 -0
- package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js +2 -0
- package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js.map +1 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js +35 -0
- package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -0
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js +2 -0
- package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js +598 -0
- package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js.map +1 -0
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js +2 -0
- package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js.map +1 -0
- package/dist/chunks/useHover-BlZx5CU2.cjs.js +2 -0
- package/dist/chunks/useHover-BlZx5CU2.cjs.js.map +1 -0
- package/dist/chunks/useHover-cJOf02TT.es.js +86 -0
- package/dist/chunks/useHover-cJOf02TT.es.js.map +1 -0
- package/dist/chunks/useLabel-BBmkkrPP.es.js +37 -0
- package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -0
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js +2 -0
- package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-CvzOUusg.es.js +97 -0
- package/dist/chunks/useLocalizedStringFormatter-CvzOUusg.es.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-fJnbqb2x.cjs.js +2 -0
- package/dist/chunks/useLocalizedStringFormatter-fJnbqb2x.cjs.js.map +1 -0
- package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js +2 -0
- package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -0
- package/dist/chunks/usePress-BquTSwUd.es.js +456 -0
- package/dist/chunks/usePress-BquTSwUd.es.js.map +1 -0
- package/dist/chunks/usePress-D8F1U6qk.cjs.js +8 -0
- package/dist/chunks/usePress-D8F1U6qk.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js +2 -0
- package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js.map +1 -0
- package/dist/chunks/useProgressBar-BgURyN6q.es.js +48 -0
- package/dist/chunks/useProgressBar-BgURyN6q.es.js.map +1 -0
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +2 -0
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +1 -0
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +32 -0
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +1 -0
- package/dist/chunks/useSeparator-B-OtWwE7.cjs.js +2 -0
- package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -0
- package/dist/chunks/useSeparator-Dg70ACBm.es.js +19 -0
- package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js +2 -0
- package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js +35 -0
- package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js.map +1 -0
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js +433 -0
- package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +1 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +2 -0
- package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +1 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js +13 -0
- package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +2 -0
- package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -0
- package/dist/chunks/useTextField-Cv1jQqUp.cjs.js +2 -0
- package/dist/chunks/useTextField-Cv1jQqUp.cjs.js.map +1 -0
- package/dist/chunks/useTextField-Doh-sQHP.es.js +91 -0
- package/dist/chunks/useTextField-Doh-sQHP.es.js.map +1 -0
- package/dist/chunks/useToggle-BK36AEko.cjs.js +2 -0
- package/dist/chunks/useToggle-BK36AEko.cjs.js.map +1 -0
- package/dist/chunks/useToggle-DcdigPKG.es.js +62 -0
- package/dist/chunks/useToggle-DcdigPKG.es.js.map +1 -0
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js +2 -0
- package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -0
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js +22 -0
- package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -0
- package/dist/chunks/useToolbar-CYJ2PbtO.es.js +55 -0
- package/dist/chunks/useToolbar-CYJ2PbtO.es.js.map +1 -0
- package/dist/chunks/useToolbar-D3B8DvbF.cjs.js +2 -0
- package/dist/chunks/useToolbar-D3B8DvbF.cjs.js.map +1 -0
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js +2 -0
- package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -0
- package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
- package/dist/chunks/utils-BHVnNfaH.cjs.js +2 -0
- package/dist/chunks/utils-BHVnNfaH.cjs.js.map +1 -0
- package/dist/chunks/utils-BHdR5Nww.cjs.js +2 -0
- package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -0
- package/dist/chunks/utils-BkdW_cdL.es.js +128 -0
- package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -0
- package/dist/chunks/utils-Gg3iiYhl.es.js +188 -0
- package/dist/chunks/utils-Gg3iiYhl.es.js.map +1 -0
- package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js +2 -0
- package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js.map +1 -0
- package/dist/chunks/visually-hidden-vh07nrZa.es.js +11 -0
- package/dist/chunks/visually-hidden-vh07nrZa.es.js.map +1 -0
- package/dist/chunks/walk-object-CvcTxMj1.es.js +27 -0
- package/dist/chunks/walk-object-CvcTxMj1.es.js.map +1 -0
- package/dist/chunks/walk-object-vr3sAS3_.cjs.js +2 -0
- package/dist/chunks/walk-object-vr3sAS3_.cjs.js.map +1 -0
- package/dist/code.d.ts +6 -0
- package/dist/combobox.d.ts +10 -4
- 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/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/box.cjs +1 -1
- package/dist/components/box.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/code.cjs +1 -1
- package/dist/components/code.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 +156 -131
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/data-table.cjs +2 -0
- package/dist/components/data-table.cjs.map +1 -0
- package/dist/components/data-table.es.js +17 -0
- package/dist/components/data-table.es.js.map +1 -0
- 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/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/divider.cjs +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/flex.cjs +1 -1
- package/dist/components/flex.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/grid.cjs +1 -1
- package/dist/components/grid.es.js +1 -1
- package/dist/components/group.cjs +2 -0
- package/dist/components/group.cjs.map +1 -0
- package/dist/components/group.es.js +5 -0
- package/dist/components/group.es.js.map +1 -0
- package/dist/components/heading.cjs +1 -1
- package/dist/components/heading.es.js +2 -2
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +2 -0
- package/dist/components/icon-toggle-button.cjs.map +1 -0
- package/dist/components/icon-toggle-button.es.js +5 -0
- package/dist/components/icon-toggle-button.es.js.map +1 -0
- package/dist/components/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/image.cjs +1 -1
- package/dist/components/image.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/list.cjs +1 -1
- package/dist/components/list.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.cjs +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/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/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/simple-grid.cjs +1 -1
- package/dist/components/simple-grid.es.js +1 -1
- package/dist/components/split-button.cjs +2 -0
- package/dist/components/split-button.cjs.map +1 -0
- package/dist/components/split-button.es.js +5 -0
- package/dist/components/split-button.es.js.map +1 -0
- package/dist/components/stack.cjs +1 -1
- package/dist/components/stack.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.es.js +2 -2
- 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 +2 -0
- package/dist/components/toggle-button.cjs.map +1 -0
- package/dist/components/toggle-button.es.js +5 -0
- package/dist/components/toggle-button.es.js.map +1 -0
- package/dist/components/toolbar.cjs +2 -0
- package/dist/components/toolbar.cjs.map +1 -0
- package/dist/components/toolbar.es.js +5 -0
- package/dist/components/toolbar.es.js.map +1 -0
- 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/components.d.ts +760 -157
- package/dist/data-table.d.ts +268 -0
- package/dist/date-input.d.ts +9 -7
- package/dist/date-picker.d.ts +10 -9
- package/dist/date-range-picker.d.ts +5 -5
- package/dist/dialog.d.ts +7 -1
- package/dist/divider.d.ts +6 -12
- package/dist/flex.d.ts +1 -1
- package/dist/form-field.d.ts +8 -6
- package/dist/grid.d.ts +4 -6
- package/dist/group.d.ts +35 -0
- package/dist/heading.d.ts +1 -1
- package/dist/icon-button.d.ts +8 -7
- package/dist/icon-toggle-button.d.ts +149 -0
- package/dist/icon.d.ts +8 -5
- package/dist/image.d.ts +5 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +756 -153
- package/dist/index.es.js +284 -394
- package/dist/index.es.js.map +1 -1
- package/dist/kbd.d.ts +5 -3
- package/dist/link.d.ts +7 -13
- package/dist/list.d.ts +6 -1
- package/dist/loading-spinner.d.ts +8 -6
- package/dist/multiline-text-input.d.ts +6 -12
- package/dist/nimbus-provider.d.ts +7 -0
- package/dist/number-input.d.ts +6 -13
- package/dist/password-input.d.ts +6 -11
- package/dist/progress-bar.d.ts +4 -4
- package/dist/radio-input.d.ts +10 -3
- package/dist/range-calendar.d.ts +2 -2
- package/dist/select.d.ts +9 -2
- package/dist/setup-jsdom-polyfills.cjs.map +1 -1
- package/dist/setup-jsdom-polyfills.es.js.map +1 -1
- package/dist/simple-grid.d.ts +4 -6
- package/dist/split-button.d.ts +67 -0
- package/dist/stack.d.ts +8 -1
- package/dist/switch.d.ts +7 -5
- package/dist/table.d.ts +1 -1
- package/dist/tag-group.d.ts +3 -3
- package/dist/text-input.d.ts +6 -11
- package/dist/text.d.ts +5 -3
- package/dist/time-input.d.ts +4 -4
- package/dist/toggle-button-group.d.ts +10 -3
- package/dist/toggle-button.d.ts +144 -0
- package/dist/toolbar.d.ts +73 -0
- package/dist/tooltip.d.ts +8 -10
- package/dist/visually-hidden.d.ts +7 -0
- package/i18n/compiled-data/core.json +146 -0
- package/i18n/compiled-data/de.json +146 -0
- package/i18n/compiled-data/en.json +146 -0
- package/i18n/compiled-data/fr-FR.json +146 -0
- package/i18n/compiled-data/pt-BR.json +146 -0
- package/package.json +24 -12
- package/dist/chunks/Button-BjOgrRmH.cjs.js +0 -2
- package/dist/chunks/Button-BjOgrRmH.cjs.js.map +0 -1
- package/dist/chunks/Button-BsN1D5Hi.es.js +0 -80
- package/dist/chunks/Button-BsN1D5Hi.es.js.map +0 -1
- package/dist/chunks/DateField-BozrMa9v.es.js +0 -2589
- package/dist/chunks/DateField-BozrMa9v.es.js.map +0 -1
- package/dist/chunks/DateField-G0i9Cflc.cjs.js +0 -2
- package/dist/chunks/DateField-G0i9Cflc.cjs.js.map +0 -1
- package/dist/chunks/DatePicker-3TZ8oKaR.es.js +0 -762
- package/dist/chunks/DatePicker-3TZ8oKaR.es.js.map +0 -1
- package/dist/chunks/DatePicker-BD8RjPSL.cjs.js +0 -2
- package/dist/chunks/DatePicker-BD8RjPSL.cjs.js.map +0 -1
- package/dist/chunks/Dialog-Btds5x4W.cjs.js +0 -2
- package/dist/chunks/Dialog-Btds5x4W.cjs.js.map +0 -1
- package/dist/chunks/Dialog-CFERgD91.es.js +0 -1888
- package/dist/chunks/Dialog-CFERgD91.es.js.map +0 -1
- package/dist/chunks/FocusScope-8pBtcv8k.es.js +0 -671
- package/dist/chunks/FocusScope-8pBtcv8k.es.js.map +0 -1
- package/dist/chunks/FocusScope-BEOPrcCH.cjs.js +0 -2
- package/dist/chunks/FocusScope-BEOPrcCH.cjs.js.map +0 -1
- package/dist/chunks/Form-amb1SjpT.cjs.js +0 -2
- package/dist/chunks/Form-amb1SjpT.cjs.js.map +0 -1
- package/dist/chunks/Form-yBl0QZl8.es.js +0 -7
- package/dist/chunks/Form-yBl0QZl8.es.js.map +0 -1
- package/dist/chunks/Group-Brffs0pl.es.js +0 -78
- package/dist/chunks/Group-Brffs0pl.es.js.map +0 -1
- package/dist/chunks/Group-apcpZquv.cjs.js +0 -2
- package/dist/chunks/Group-apcpZquv.cjs.js.map +0 -1
- package/dist/chunks/Heading-D143Kg6E.es.js +0 -1605
- package/dist/chunks/Heading-D143Kg6E.es.js.map +0 -1
- package/dist/chunks/Heading-DiqU5dbv.cjs.js +0 -2
- package/dist/chunks/Heading-DiqU5dbv.cjs.js.map +0 -1
- package/dist/chunks/Hidden-X9vuhkMZ.es.js +0 -28
- package/dist/chunks/Hidden-X9vuhkMZ.es.js.map +0 -1
- package/dist/chunks/Input-BEgGe6bw.cjs.js +0 -2
- package/dist/chunks/Input-BEgGe6bw.cjs.js.map +0 -1
- package/dist/chunks/Input-Bxs2A5S-.es.js +0 -43
- package/dist/chunks/Input-Bxs2A5S-.es.js.map +0 -1
- package/dist/chunks/Label-DFXyfxZM.cjs.js +0 -2
- package/dist/chunks/Label-DFXyfxZM.cjs.js.map +0 -1
- package/dist/chunks/Label-p7LXqne0.es.js +0 -17
- package/dist/chunks/Label-p7LXqne0.es.js.map +0 -1
- package/dist/chunks/ListBox-BEZfjFMq.cjs.js +0 -2
- package/dist/chunks/ListBox-BEZfjFMq.cjs.js.map +0 -1
- package/dist/chunks/ListBox-CiN7qgxV.es.js +0 -645
- package/dist/chunks/ListBox-CiN7qgxV.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-BEiPDprB.es.js +0 -479
- package/dist/chunks/OverlayArrow-BEiPDprB.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-Cot0VLjE.cjs.js +0 -2
- package/dist/chunks/ProgressBar-Cot0VLjE.cjs.js.map +0 -1
- package/dist/chunks/ProgressBar-M-wNKpE5.es.js +0 -39
- package/dist/chunks/ProgressBar-M-wNKpE5.es.js.map +0 -1
- package/dist/chunks/RSPContexts-AkhSBHGO.es.js +0 -6
- package/dist/chunks/RSPContexts-AkhSBHGO.es.js.map +0 -1
- package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js +0 -2
- package/dist/chunks/RSPContexts-CIAIlAKH.cjs.js.map +0 -1
- package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js +0 -2
- package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js.map +0 -1
- package/dist/chunks/SSRProvider-eIEwc-2s.es.js +0 -51
- package/dist/chunks/SSRProvider-eIEwc-2s.es.js.map +0 -1
- package/dist/chunks/Separator-BFKzWOOv.cjs.js +0 -18
- package/dist/chunks/Separator-BFKzWOOv.cjs.js.map +0 -1
- package/dist/chunks/Separator-CBgksjWN.es.js +0 -2435
- package/dist/chunks/Separator-CBgksjWN.es.js.map +0 -1
- package/dist/chunks/TextArea-DcFJx08j.es.js +0 -42
- package/dist/chunks/TextArea-DcFJx08j.es.js.map +0 -1
- package/dist/chunks/TextArea-ciW_61Jv.cjs.js +0 -2
- package/dist/chunks/TextArea-ciW_61Jv.cjs.js.map +0 -1
- package/dist/chunks/VisuallyHidden-CE-SZFGa.es.js +0 -41
- package/dist/chunks/VisuallyHidden-CE-SZFGa.es.js.map +0 -1
- package/dist/chunks/VisuallyHidden-Cqkg4RzT.cjs.js +0 -2
- package/dist/chunks/VisuallyHidden-Cqkg4RzT.cjs.js.map +0 -1
- package/dist/chunks/accordion-AFXp_v9r.es.js +0 -221
- package/dist/chunks/accordion-AFXp_v9r.es.js.map +0 -1
- package/dist/chunks/accordion-CnNWyGUM.cjs.js +0 -2
- package/dist/chunks/accordion-CnNWyGUM.cjs.js.map +0 -1
- package/dist/chunks/alert-CTdQVQEX.cjs.js +0 -2
- package/dist/chunks/alert-CTdQVQEX.cjs.js.map +0 -1
- package/dist/chunks/alert-DObB3_Vi.es.js +0 -186
- package/dist/chunks/alert-DObB3_Vi.es.js.map +0 -1
- package/dist/chunks/avatar-BLun8TXk.cjs.js +0 -2
- package/dist/chunks/avatar-BLun8TXk.cjs.js.map +0 -1
- package/dist/chunks/avatar-DgvfEdwK.es.js +0 -37
- package/dist/chunks/avatar-DgvfEdwK.es.js.map +0 -1
- package/dist/chunks/avatar.recipe-BSmmqvwQ.es.js +0 -39
- package/dist/chunks/avatar.recipe-BSmmqvwQ.es.js.map +0 -1
- package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js +0 -2
- package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js.map +0 -1
- package/dist/chunks/badge-CFwI3HLf.cjs.js +0 -2
- package/dist/chunks/badge-CFwI3HLf.cjs.js.map +0 -1
- package/dist/chunks/badge-DVDR3-fy.es.js +0 -76
- package/dist/chunks/badge-DVDR3-fy.es.js.map +0 -1
- package/dist/chunks/box-DD4jYgS7.es.js +0 -11
- package/dist/chunks/box-DD4jYgS7.es.js.map +0 -1
- package/dist/chunks/box-FU6tRPFs.cjs.js +0 -2
- package/dist/chunks/box-FU6tRPFs.cjs.js.map +0 -1
- package/dist/chunks/button-DPZ4gynI.es.js +0 -66
- package/dist/chunks/button-DPZ4gynI.es.js.map +0 -1
- package/dist/chunks/button-DhrBalPi.cjs.js +0 -2
- package/dist/chunks/button-DhrBalPi.cjs.js.map +0 -1
- package/dist/chunks/button.recipe-DHk13lGU.cjs.js +0 -2
- package/dist/chunks/button.recipe-DHk13lGU.cjs.js.map +0 -1
- package/dist/chunks/button.recipe-DzOS_Bqm.es.js +0 -191
- package/dist/chunks/button.recipe-DzOS_Bqm.es.js.map +0 -1
- package/dist/chunks/calendar-BCsFBFkk.es.js +0 -185
- package/dist/chunks/calendar-BCsFBFkk.es.js.map +0 -1
- package/dist/chunks/calendar-BeUwpJo3.cjs.js +0 -2
- package/dist/chunks/calendar-BeUwpJo3.cjs.js.map +0 -1
- package/dist/chunks/calendar.recipe-B2sMokBn.es.js +0 -101
- package/dist/chunks/calendar.recipe-B2sMokBn.es.js.map +0 -1
- package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js +0 -2
- package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js.map +0 -1
- package/dist/chunks/card-CS_daMhq.es.js +0 -138
- package/dist/chunks/card-CS_daMhq.es.js.map +0 -1
- package/dist/chunks/card-svWLl_kS.cjs.js +0 -2
- package/dist/chunks/card-svWLl_kS.cjs.js.map +0 -1
- package/dist/chunks/checkbox-BFb4vHab.es.js +0 -89
- package/dist/chunks/checkbox-BFb4vHab.es.js.map +0 -1
- package/dist/chunks/checkbox-D0evM4Sv.cjs.js +0 -2
- package/dist/chunks/checkbox-D0evM4Sv.cjs.js.map +0 -1
- package/dist/chunks/code-CI8aUhmu.es.js +0 -6
- package/dist/chunks/code-CI8aUhmu.es.js.map +0 -1
- package/dist/chunks/code-Dg4Larbo.cjs.js +0 -2
- package/dist/chunks/code-Dg4Larbo.cjs.js.map +0 -1
- package/dist/chunks/combobox-D30xydJw.cjs.js +0 -2
- package/dist/chunks/combobox-D30xydJw.cjs.js.map +0 -1
- package/dist/chunks/combobox-wZEZ8t94.es.js +0 -1916
- package/dist/chunks/combobox-wZEZ8t94.es.js.map +0 -1
- package/dist/chunks/combobox.recipe-BKOsv-Im.cjs.js +0 -2
- package/dist/chunks/combobox.recipe-BKOsv-Im.cjs.js.map +0 -1
- package/dist/chunks/combobox.recipe-BQy3LgVG.es.js +0 -380
- package/dist/chunks/combobox.recipe-BQy3LgVG.es.js.map +0 -1
- package/dist/chunks/context-D3RF-nTI.es.js +0 -94
- package/dist/chunks/context-D3RF-nTI.es.js.map +0 -1
- package/dist/chunks/context-DURpz5en.cjs.js +0 -2
- package/dist/chunks/context-DURpz5en.cjs.js.map +0 -1
- package/dist/chunks/date-input-B3VEJdpa.cjs.js +0 -2
- package/dist/chunks/date-input-B3VEJdpa.cjs.js.map +0 -1
- package/dist/chunks/date-input-TeYMF5Hb.es.js +0 -16
- package/dist/chunks/date-input-TeYMF5Hb.es.js.map +0 -1
- package/dist/chunks/date-input.recipe-BTsUgaUQ.es.js +0 -126
- package/dist/chunks/date-input.recipe-BTsUgaUQ.es.js.map +0 -1
- package/dist/chunks/date-input.recipe-Onzf22sP.cjs.js +0 -2
- package/dist/chunks/date-input.recipe-Onzf22sP.cjs.js.map +0 -1
- package/dist/chunks/date-picker-BrkP7f-J.cjs.js +0 -2
- package/dist/chunks/date-picker-BrkP7f-J.cjs.js.map +0 -1
- package/dist/chunks/date-picker-CTGHoJdV.es.js +0 -183
- package/dist/chunks/date-picker-CTGHoJdV.es.js.map +0 -1
- package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js +0 -2
- package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js.map +0 -1
- package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js +0 -82
- package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js.map +0 -1
- package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js +0 -2
- package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-DYAE8hY-.es.js +0 -273
- package/dist/chunks/date-range-picker-DYAE8hY-.es.js.map +0 -1
- package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js +0 -2
- package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js +0 -124
- package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js.map +0 -1
- package/dist/chunks/dialog-C1HRMUcF.es.js +0 -33
- package/dist/chunks/dialog-C1HRMUcF.es.js.map +0 -1
- package/dist/chunks/dialog-amEwvIoM.cjs.js +0 -2
- package/dist/chunks/dialog-amEwvIoM.cjs.js.map +0 -1
- package/dist/chunks/divider-CifCuFCu.cjs.js +0 -2
- package/dist/chunks/divider-CifCuFCu.cjs.js.map +0 -1
- package/dist/chunks/divider-Js2LpOHh.es.js +0 -58
- package/dist/chunks/divider-Js2LpOHh.es.js.map +0 -1
- package/dist/chunks/domHelpers-InH3T0qs.es.js +0 -16
- package/dist/chunks/domHelpers-InH3T0qs.es.js.map +0 -1
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +0 -2
- package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +0 -1
- package/dist/chunks/extractStyleProps-CxgBrz3O.es.js +0 -11
- package/dist/chunks/extractStyleProps-CxgBrz3O.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js +0 -2
- package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js.map +0 -1
- package/dist/chunks/filterDOMProps-HzsCnE3d.es.js +0 -25
- package/dist/chunks/filterDOMProps-HzsCnE3d.es.js.map +0 -1
- package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js +0 -2
- package/dist/chunks/filterDOMProps-_f3L9QML.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-BEP7qH8R.cjs.js +0 -2
- package/dist/chunks/focusSafely-BEP7qH8R.cjs.js.map +0 -1
- package/dist/chunks/focusSafely-Cpgkt6WC.es.js +0 -69
- package/dist/chunks/focusSafely-Cpgkt6WC.es.js.map +0 -1
- package/dist/chunks/form-field-CmiwMrRv.es.js +0 -309
- package/dist/chunks/form-field-CmiwMrRv.es.js.map +0 -1
- package/dist/chunks/form-field-kTuQQx9G.cjs.js +0 -11
- package/dist/chunks/form-field-kTuQQx9G.cjs.js.map +0 -1
- package/dist/chunks/grid-CugcJxRP.es.js +0 -14
- package/dist/chunks/grid-CugcJxRP.es.js.map +0 -1
- package/dist/chunks/grid-xr2A-OqD.cjs.js +0 -2
- package/dist/chunks/grid-xr2A-OqD.cjs.js.map +0 -1
- package/dist/chunks/icon-BFNYuilh.es.js +0 -31
- package/dist/chunks/icon-BFNYuilh.es.js.map +0 -1
- package/dist/chunks/icon-D50i-dqv.cjs.js +0 -2
- package/dist/chunks/icon-D50i-dqv.cjs.js.map +0 -1
- package/dist/chunks/icon-button-CPBzhg2C.es.js +0 -14
- package/dist/chunks/icon-button-CPBzhg2C.es.js.map +0 -1
- package/dist/chunks/icon-button-QwpNTUZ8.cjs.js +0 -2
- package/dist/chunks/icon-button-QwpNTUZ8.cjs.js.map +0 -1
- package/dist/chunks/image-DCirAAnr.cjs.js +0 -2
- package/dist/chunks/image-DCirAAnr.cjs.js.map +0 -1
- package/dist/chunks/image-rXPA3shk.es.js +0 -8
- package/dist/chunks/image-rXPA3shk.es.js.map +0 -1
- package/dist/chunks/kbd-Bkhw9E6L.cjs.js +0 -2
- package/dist/chunks/kbd-Bkhw9E6L.cjs.js.map +0 -1
- package/dist/chunks/kbd-Gxvodc1U.es.js +0 -15
- package/dist/chunks/kbd-Gxvodc1U.es.js.map +0 -1
- package/dist/chunks/kbd.recipe-BONVaPQN.es.js +0 -26
- package/dist/chunks/kbd.recipe-BONVaPQN.es.js.map +0 -1
- package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js +0 -2
- package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js.map +0 -1
- package/dist/chunks/link-DJmmcif9.cjs.js +0 -2
- package/dist/chunks/link-DJmmcif9.cjs.js.map +0 -1
- package/dist/chunks/link-I24WQHS6.es.js +0 -50
- package/dist/chunks/link-I24WQHS6.es.js.map +0 -1
- package/dist/chunks/link.recipe-Ba2by0OG.es.js +0 -51
- package/dist/chunks/link.recipe-Ba2by0OG.es.js.map +0 -1
- package/dist/chunks/link.recipe-CG3leGAx.cjs.js +0 -2
- package/dist/chunks/link.recipe-CG3leGAx.cjs.js.map +0 -1
- package/dist/chunks/list-8yfreyzi.cjs.js +0 -2
- package/dist/chunks/list-8yfreyzi.cjs.js.map +0 -1
- package/dist/chunks/list-B21joBrq.es.js +0 -13
- package/dist/chunks/list-B21joBrq.es.js.map +0 -1
- package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js +0 -2
- package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js.map +0 -1
- package/dist/chunks/loading-spinner-DwN-yshK.es.js +0 -105
- package/dist/chunks/loading-spinner-DwN-yshK.es.js.map +0 -1
- package/dist/chunks/make-element-focusable-BRVwOKkK.es.js +0 -22
- package/dist/chunks/make-element-focusable-BRVwOKkK.es.js.map +0 -1
- package/dist/chunks/make-element-focusable-DDGKtWBN.cjs.js +0 -2
- package/dist/chunks/make-element-focusable-DDGKtWBN.cjs.js.map +0 -1
- package/dist/chunks/menu-BnUXBlRL.cjs.js +0 -2
- package/dist/chunks/menu-BnUXBlRL.cjs.js.map +0 -1
- package/dist/chunks/menu-DcEXCIN3.es.js +0 -167
- package/dist/chunks/menu-DcEXCIN3.es.js.map +0 -1
- package/dist/chunks/mergeProps-Bn6EInU5.es.js +0 -129
- package/dist/chunks/mergeProps-Bn6EInU5.es.js.map +0 -1
- package/dist/chunks/mergeProps-VvQrkhSh.cjs.js +0 -2
- package/dist/chunks/mergeProps-VvQrkhSh.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-Be3sGtOK.es.js +0 -116
- package/dist/chunks/multiline-text-input-Be3sGtOK.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-CzoQb5Ms.cjs.js +0 -12
- package/dist/chunks/multiline-text-input-CzoQb5Ms.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-CDXyYH9f.es.js +0 -1823
- package/dist/chunks/nimbus-provider-CDXyYH9f.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js +0 -4
- package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js.map +0 -1
- package/dist/chunks/number-5qMXmHyn.es.js +0 -21
- package/dist/chunks/number-5qMXmHyn.es.js.map +0 -1
- package/dist/chunks/number-CnrRPi4_.cjs.js +0 -2
- package/dist/chunks/number-CnrRPi4_.cjs.js.map +0 -1
- package/dist/chunks/number-input-B1gQD11A.es.js +0 -669
- package/dist/chunks/number-input-B1gQD11A.es.js.map +0 -1
- package/dist/chunks/number-input-Cvy4MbJv.cjs.js +0 -2
- package/dist/chunks/number-input-Cvy4MbJv.cjs.js.map +0 -1
- package/dist/chunks/number-input.recipe-2n6A2w0m.cjs.js +0 -2
- package/dist/chunks/number-input.recipe-2n6A2w0m.cjs.js.map +0 -1
- package/dist/chunks/number-input.recipe-8gbsGnLJ.es.js +0 -209
- package/dist/chunks/number-input.recipe-8gbsGnLJ.es.js.map +0 -1
- package/dist/chunks/openLink-BRnXRj9w.es.js +0 -101
- package/dist/chunks/openLink-BRnXRj9w.es.js.map +0 -1
- package/dist/chunks/openLink-BjodHrGD.cjs.js +0 -2
- package/dist/chunks/openLink-BjodHrGD.cjs.js.map +0 -1
- package/dist/chunks/password-input-B1oZ6y7E.es.js +0 -50
- package/dist/chunks/password-input-B1oZ6y7E.es.js.map +0 -1
- package/dist/chunks/password-input-D3wUJdjZ.cjs.js +0 -2
- package/dist/chunks/password-input-D3wUJdjZ.cjs.js.map +0 -1
- package/dist/chunks/platform-D-bXaP3n.es.js +0 -45
- package/dist/chunks/platform-D-bXaP3n.es.js.map +0 -1
- package/dist/chunks/platform-Vom5nEUR.cjs.js +0 -2
- package/dist/chunks/platform-Vom5nEUR.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-CbZY1dE1.cjs.js +0 -2
- package/dist/chunks/progress-bar-CbZY1dE1.cjs.js.map +0 -1
- package/dist/chunks/progress-bar-VipTWl4r.es.js +0 -71
- package/dist/chunks/progress-bar-VipTWl4r.es.js.map +0 -1
- package/dist/chunks/radio-input-BSrrYcqs.es.js +0 -320
- package/dist/chunks/radio-input-BSrrYcqs.es.js.map +0 -1
- package/dist/chunks/radio-input-vHNjGqLS.cjs.js +0 -2
- package/dist/chunks/radio-input-vHNjGqLS.cjs.js.map +0 -1
- package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js +0 -75
- package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js.map +0 -1
- package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js +0 -2
- package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-CsS-i222.cjs.js +0 -2
- package/dist/chunks/range-calendar-CsS-i222.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-DEpcpGLw.es.js +0 -185
- package/dist/chunks/range-calendar-DEpcpGLw.es.js.map +0 -1
- package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js +0 -129
- package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js.map +0 -1
- package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js +0 -2
- package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +0 -2
- package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +0 -1
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js +0 -64
- package/dist/chunks/scrollIntoView-C5qp-va8.es.js.map +0 -1
- package/dist/chunks/select-CMIJ0YjS.cjs.js +0 -2
- package/dist/chunks/select-CMIJ0YjS.cjs.js.map +0 -1
- package/dist/chunks/select-wZ584ENo.es.js +0 -793
- package/dist/chunks/select-wZ584ENo.es.js.map +0 -1
- package/dist/chunks/select.recipe-BIox51h1.cjs.js +0 -2
- package/dist/chunks/select.recipe-BIox51h1.cjs.js.map +0 -1
- package/dist/chunks/select.recipe-CNH8aWdo.es.js +0 -203
- package/dist/chunks/select.recipe-CNH8aWdo.es.js.map +0 -1
- package/dist/chunks/simple-grid-CFOP9g2P.es.js +0 -14
- package/dist/chunks/simple-grid-CFOP9g2P.es.js.map +0 -1
- package/dist/chunks/simple-grid-CHgTayx6.cjs.js +0 -2
- package/dist/chunks/simple-grid-CHgTayx6.cjs.js.map +0 -1
- package/dist/chunks/stack-__ugxVHD.es.js +0 -11
- package/dist/chunks/stack-__ugxVHD.es.js.map +0 -1
- package/dist/chunks/stack-wFUhYQQb.cjs.js +0 -2
- package/dist/chunks/stack-wFUhYQQb.cjs.js.map +0 -1
- package/dist/chunks/switch-BM-A9yVv.cjs.js +0 -2
- package/dist/chunks/switch-BM-A9yVv.cjs.js.map +0 -1
- package/dist/chunks/switch-Bxeo0Ktw.es.js +0 -78
- package/dist/chunks/switch-Bxeo0Ktw.es.js.map +0 -1
- package/dist/chunks/switch.recipe-CWOjEnIy.es.js +0 -100
- package/dist/chunks/switch.recipe-CWOjEnIy.es.js.map +0 -1
- package/dist/chunks/switch.recipe-DHopLj_g.cjs.js +0 -2
- package/dist/chunks/switch.recipe-DHopLj_g.cjs.js.map +0 -1
- package/dist/chunks/tag-group-CWIMWAG_.es.js +0 -1348
- package/dist/chunks/tag-group-CWIMWAG_.es.js.map +0 -1
- package/dist/chunks/tag-group-IJIXPuLT.cjs.js +0 -2
- package/dist/chunks/tag-group-IJIXPuLT.cjs.js.map +0 -1
- package/dist/chunks/text--fhvW47o.cjs.js +0 -2
- package/dist/chunks/text--fhvW47o.cjs.js.map +0 -1
- package/dist/chunks/text-CFsPSPPs.es.js +0 -24
- package/dist/chunks/text-CFsPSPPs.es.js.map +0 -1
- package/dist/chunks/text-input--62r8jAx.es.js +0 -17
- package/dist/chunks/text-input--62r8jAx.es.js.map +0 -1
- package/dist/chunks/text-input-FGkoWybY.cjs.js +0 -2
- package/dist/chunks/text-input-FGkoWybY.cjs.js.map +0 -1
- package/dist/chunks/text-input.recipe-DxzvFMOB.cjs.js +0 -2
- package/dist/chunks/text-input.recipe-DxzvFMOB.cjs.js.map +0 -1
- package/dist/chunks/text-input.recipe-KNoUuq-g.es.js +0 -64
- package/dist/chunks/text-input.recipe-KNoUuq-g.es.js.map +0 -1
- package/dist/chunks/time-input-BH0G5PFd.cjs.js +0 -2
- package/dist/chunks/time-input-BH0G5PFd.cjs.js.map +0 -1
- package/dist/chunks/time-input-DeYvqDoa.es.js +0 -129
- package/dist/chunks/time-input-DeYvqDoa.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-B5xBRXo1.es.js +0 -263
- package/dist/chunks/toggle-button-group-B5xBRXo1.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-Cvhe_K50.cjs.js +0 -2
- package/dist/chunks/toggle-button-group-Cvhe_K50.cjs.js.map +0 -1
- package/dist/chunks/tooltip-B6mXEaGu.cjs.js +0 -2
- package/dist/chunks/tooltip-B6mXEaGu.cjs.js.map +0 -1
- package/dist/chunks/tooltip-CsfjIITA.es.js +0 -273
- package/dist/chunks/tooltip-CsfjIITA.es.js.map +0 -1
- package/dist/chunks/tooltip.recipe-B9-7OFCi.es.js +0 -24
- package/dist/chunks/tooltip.recipe-B9-7OFCi.es.js.map +0 -1
- package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js +0 -2
- package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js.map +0 -1
- package/dist/chunks/useButton-BGeoUZHr.es.js +0 -48
- package/dist/chunks/useButton-BGeoUZHr.es.js.map +0 -1
- package/dist/chunks/useButton-Bnd1IfAy.cjs.js +0 -2
- package/dist/chunks/useButton-Bnd1IfAy.cjs.js.map +0 -1
- package/dist/chunks/useCollator-BhJcleP-.es.js +0 -12
- package/dist/chunks/useCollator-BhJcleP-.es.js.map +0 -1
- package/dist/chunks/useCollator-DLdpB_Ui.cjs.js +0 -2
- package/dist/chunks/useCollator-DLdpB_Ui.cjs.js.map +0 -1
- package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js +0 -2
- package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js.map +0 -1
- package/dist/chunks/useDateFormatter-CioL-RTi.es.js +0 -1581
- package/dist/chunks/useDateFormatter-CioL-RTi.es.js.map +0 -1
- package/dist/chunks/useDescription-BQV7vQ1v.es.js +0 -33
- package/dist/chunks/useDescription-BQV7vQ1v.es.js.map +0 -1
- package/dist/chunks/useDescription-Bb-vj5q6.cjs.js +0 -2
- package/dist/chunks/useDescription-Bb-vj5q6.cjs.js.map +0 -1
- package/dist/chunks/useEvent-ZeHBdflg.cjs.js +0 -2
- package/dist/chunks/useEvent-ZeHBdflg.cjs.js.map +0 -1
- package/dist/chunks/useEvent-xlhjqVYi.es.js +0 -22
- package/dist/chunks/useEvent-xlhjqVYi.es.js.map +0 -1
- package/dist/chunks/useField-BGOhsACE.es.js +0 -36
- package/dist/chunks/useField-BGOhsACE.es.js.map +0 -1
- package/dist/chunks/useField-Doh1_zqa.cjs.js +0 -2
- package/dist/chunks/useField-Doh1_zqa.cjs.js.map +0 -1
- package/dist/chunks/useFocus-CRjxQc9J.cjs.js +0 -2
- package/dist/chunks/useFocus-CRjxQc9J.cjs.js.map +0 -1
- package/dist/chunks/useFocus-DyrL604F.es.js +0 -189
- package/dist/chunks/useFocus-DyrL604F.es.js.map +0 -1
- package/dist/chunks/useFocusRing-BOPRvfsD.es.js +0 -34
- package/dist/chunks/useFocusRing-BOPRvfsD.es.js.map +0 -1
- package/dist/chunks/useFocusRing-wD8IMPEh.cjs.js +0 -2
- package/dist/chunks/useFocusRing-wD8IMPEh.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-B5GNsbfr.cjs.js +0 -2
- package/dist/chunks/useFocusWithin-B5GNsbfr.cjs.js.map +0 -1
- package/dist/chunks/useFocusWithin-DH1ei7eA.es.js +0 -55
- package/dist/chunks/useFocusWithin-DH1ei7eA.es.js.map +0 -1
- package/dist/chunks/useFocusable-Bbz310Qf.cjs.js +0 -2
- package/dist/chunks/useFocusable-Bbz310Qf.cjs.js.map +0 -1
- package/dist/chunks/useFocusable-C_1ABg2H.es.js +0 -100
- package/dist/chunks/useFocusable-C_1ABg2H.es.js.map +0 -1
- package/dist/chunks/useFormReset-C6y6YYJp.cjs.js +0 -2
- package/dist/chunks/useFormReset-C6y6YYJp.cjs.js.map +0 -1
- package/dist/chunks/useFormReset-CC4XkaS0.es.js +0 -21
- package/dist/chunks/useFormReset-CC4XkaS0.es.js.map +0 -1
- package/dist/chunks/useFormValidation-D4duh8Fb.es.js +0 -200
- package/dist/chunks/useFormValidation-D4duh8Fb.es.js.map +0 -1
- package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js +0 -2
- package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js.map +0 -1
- package/dist/chunks/useHover-B4ryD1zd.cjs.js +0 -2
- package/dist/chunks/useHover-B4ryD1zd.cjs.js.map +0 -1
- package/dist/chunks/useHover-EutQBS3I.es.js +0 -85
- package/dist/chunks/useHover-EutQBS3I.es.js.map +0 -1
- package/dist/chunks/useLabel-BuEJIpWS.es.js +0 -37
- package/dist/chunks/useLabel-BuEJIpWS.es.js.map +0 -1
- package/dist/chunks/useLabel-f5x32F8v.cjs.js +0 -2
- package/dist/chunks/useLabel-f5x32F8v.cjs.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-B_O_C-A0.es.js +0 -97
- package/dist/chunks/useLocalizedStringFormatter-B_O_C-A0.es.js.map +0 -1
- package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js +0 -2
- package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js.map +0 -1
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js +0 -2
- package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +0 -1
- package/dist/chunks/usePress-Bf0oV30S.es.js +0 -469
- package/dist/chunks/usePress-Bf0oV30S.es.js.map +0 -1
- package/dist/chunks/usePress-Cqy1fzvV.cjs.js +0 -8
- package/dist/chunks/usePress-Cqy1fzvV.cjs.js.map +0 -1
- package/dist/chunks/useProgressBar-3tBtQD6p.cjs.js +0 -2
- package/dist/chunks/useProgressBar-3tBtQD6p.cjs.js.map +0 -1
- package/dist/chunks/useProgressBar-C8j_OVKt.es.js +0 -48
- package/dist/chunks/useProgressBar-C8j_OVKt.es.js.map +0 -1
- package/dist/chunks/useSeparator-CZKjqF0N.cjs.js +0 -2
- package/dist/chunks/useSeparator-CZKjqF0N.cjs.js.map +0 -1
- package/dist/chunks/useSeparator-g1ilWvTX.es.js +0 -19
- package/dist/chunks/useSeparator-g1ilWvTX.es.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js +0 -2
- package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js.map +0 -1
- package/dist/chunks/useSingleSelectListState-Dtne-c12.es.js +0 -35
- package/dist/chunks/useSingleSelectListState-Dtne-c12.es.js.map +0 -1
- package/dist/chunks/useSpinButton-DEhwpuEM.es.js +0 -461
- package/dist/chunks/useSpinButton-DEhwpuEM.es.js.map +0 -1
- package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js +0 -2
- package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js.map +0 -1
- package/dist/chunks/useTextField-DewF7uv9.es.js +0 -88
- package/dist/chunks/useTextField-DewF7uv9.es.js.map +0 -1
- package/dist/chunks/useTextField-J5W2QB4G.cjs.js +0 -2
- package/dist/chunks/useTextField-J5W2QB4G.cjs.js.map +0 -1
- package/dist/chunks/useToggle-BXsvw8Q3.es.js +0 -50
- package/dist/chunks/useToggle-BXsvw8Q3.es.js.map +0 -1
- package/dist/chunks/useToggle-VMBvyMfl.cjs.js +0 -2
- package/dist/chunks/useToggle-VMBvyMfl.cjs.js.map +0 -1
- package/dist/chunks/useToggleState-bO90kfqG.cjs.js +0 -2
- package/dist/chunks/useToggleState-bO90kfqG.cjs.js.map +0 -1
- package/dist/chunks/useToggleState-mKFEFD2Q.es.js +0 -19
- package/dist/chunks/useToggleState-mKFEFD2Q.es.js.map +0 -1
- package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js +0 -2
- package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js.map +0 -1
- package/dist/chunks/utils-BR34o1UE.es.js +0 -269
- package/dist/chunks/utils-BR34o1UE.es.js.map +0 -1
- package/dist/chunks/utils-CEdpnSRC.es.js +0 -128
- package/dist/chunks/utils-CEdpnSRC.es.js.map +0 -1
- package/dist/chunks/utils-CThuzDqT.cjs.js +0 -2
- package/dist/chunks/utils-CThuzDqT.cjs.js.map +0 -1
- package/dist/chunks/utils-sWqo2nmW.cjs.js +0 -2
- package/dist/chunks/utils-sWqo2nmW.cjs.js.map +0 -1
- package/dist/chunks/visually-hidden-CQabqCJt.es.js +0 -11
- package/dist/chunks/visually-hidden-CQabqCJt.es.js.map +0 -1
- package/dist/chunks/visually-hidden-YFEW-yS7.cjs.js +0 -2
- package/dist/chunks/visually-hidden-YFEW-yS7.cjs.js.map +0 -1
|
@@ -0,0 +1,1896 @@
|
|
|
1
|
+
import S, { useRef as k, useEffect as Y, useMemo as B, cloneElement as He, forwardRef as qe, useContext as H, createContext as G, useCallback as X, useState as ie, isValidElement as st } from "react";
|
|
2
|
+
import { a as We, d as Ge } from "./utils-Gg3iiYhl.es.js";
|
|
3
|
+
import { c as ge, $ as Z, a as _e, d as we, e as ot } from "./mergeProps-B_9syxhT.es.js";
|
|
4
|
+
import { $ as me } from "./focusWithoutScrolling-CDw3JYiq.es.js";
|
|
5
|
+
import { $ as je, d as ut } from "./openLink-Ctl0AdAy.es.js";
|
|
6
|
+
import { $ as ee } from "./useEvent-YHhqZvpU.es.js";
|
|
7
|
+
import { a as at, b as ct, c as De, d as ke } from "./scrollIntoView-BYF_8_6g.es.js";
|
|
8
|
+
import { b as dt } from "./FocusScope-C1Aw7j9H.es.js";
|
|
9
|
+
import { b as Ee } from "./useFocusVisible-C5ivHvqm.es.js";
|
|
10
|
+
import { $ as be } from "./focusSafely-Di2ArC9L.es.js";
|
|
11
|
+
import { flushSync as ft, createPortal as ht } from "react-dom";
|
|
12
|
+
import { $ as yt } from "./context-Pt-0ojuK.es.js";
|
|
13
|
+
import { b as pt, g as vt } from "./platform-Z5fvtFmM.es.js";
|
|
14
|
+
import { $ as Ye } from "./usePress-BquTSwUd.es.js";
|
|
15
|
+
import { $ as gt } from "./useGlobalListeners-BOOfV5Wh.es.js";
|
|
16
|
+
import { a as mt } from "./Hidden-j3Lbt7xL.es.js";
|
|
17
|
+
import { b as Ie } from "./useFocusable-BghVNiQU.es.js";
|
|
18
|
+
import { $ as Xe } from "./SSRProvider-Cu8KibIK.es.js";
|
|
19
|
+
import { $ as bt } from "./useControlledState-u436Wbp1.es.js";
|
|
20
|
+
function Pe(r, e) {
|
|
21
|
+
const t = k(!0), i = k(null);
|
|
22
|
+
ge(() => (t.current = !0, () => {
|
|
23
|
+
t.current = !1;
|
|
24
|
+
}), []), ge(() => {
|
|
25
|
+
t.current ? t.current = !1 : (!i.current || e.some((l, n) => !Object.is(l, i[n]))) && r(), i.current = e;
|
|
26
|
+
}, e);
|
|
27
|
+
}
|
|
28
|
+
const St = "react-aria-clear-focus", Kt = "react-aria-focus";
|
|
29
|
+
function q(r) {
|
|
30
|
+
return pt() ? r.metaKey : r.ctrlKey;
|
|
31
|
+
}
|
|
32
|
+
const $t = 500;
|
|
33
|
+
function xt(r) {
|
|
34
|
+
let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: n = $t, accessibilityDescription: s } = r;
|
|
35
|
+
const c = k(void 0);
|
|
36
|
+
let { addGlobalListener: u, removeGlobalListener: v } = gt(), { pressProps: $ } = Ye({
|
|
37
|
+
isDisabled: e,
|
|
38
|
+
onPressStart(f) {
|
|
39
|
+
if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
|
|
40
|
+
...f,
|
|
41
|
+
type: "longpressstart"
|
|
42
|
+
}), c.current = setTimeout(() => {
|
|
43
|
+
f.target.dispatchEvent(new PointerEvent("pointercancel", {
|
|
44
|
+
bubbles: !0
|
|
45
|
+
})), We(f.target).activeElement !== f.target && me(f.target), l && l({
|
|
46
|
+
...f,
|
|
47
|
+
type: "longpress"
|
|
48
|
+
}), c.current = void 0;
|
|
49
|
+
}, n), f.pointerType === "touch")) {
|
|
50
|
+
let h = (p) => {
|
|
51
|
+
p.preventDefault();
|
|
52
|
+
};
|
|
53
|
+
u(f.target, "contextmenu", h, {
|
|
54
|
+
once: !0
|
|
55
|
+
}), u(window, "pointerup", () => {
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
v(f.target, "contextmenu", h);
|
|
58
|
+
}, 30);
|
|
59
|
+
}, {
|
|
60
|
+
once: !0
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
onPressEnd(f) {
|
|
65
|
+
c.current && clearTimeout(c.current), i && (f.pointerType === "mouse" || f.pointerType === "touch") && i({
|
|
66
|
+
...f,
|
|
67
|
+
type: "longpressend"
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}), d = at(l && !e ? s : void 0);
|
|
71
|
+
return {
|
|
72
|
+
longPressProps: Z($, d)
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function Ze(r) {
|
|
76
|
+
let e = wt(We(r));
|
|
77
|
+
e !== r && (e && Ct(e, r), r && Je(r, e));
|
|
78
|
+
}
|
|
79
|
+
function Ct(r, e) {
|
|
80
|
+
r.dispatchEvent(new FocusEvent("blur", {
|
|
81
|
+
relatedTarget: e
|
|
82
|
+
})), r.dispatchEvent(new FocusEvent("focusout", {
|
|
83
|
+
bubbles: !0,
|
|
84
|
+
relatedTarget: e
|
|
85
|
+
}));
|
|
86
|
+
}
|
|
87
|
+
function Je(r, e) {
|
|
88
|
+
r.dispatchEvent(new FocusEvent("focus", {
|
|
89
|
+
relatedTarget: e
|
|
90
|
+
})), r.dispatchEvent(new FocusEvent("focusin", {
|
|
91
|
+
bubbles: !0,
|
|
92
|
+
relatedTarget: e
|
|
93
|
+
}));
|
|
94
|
+
}
|
|
95
|
+
function wt(r) {
|
|
96
|
+
let e = Ge(r), t = e?.getAttribute("aria-activedescendant");
|
|
97
|
+
return t && r.getElementById(t) || e;
|
|
98
|
+
}
|
|
99
|
+
function Se(r) {
|
|
100
|
+
return vt() ? r.altKey : r.ctrlKey;
|
|
101
|
+
}
|
|
102
|
+
function le(r, e) {
|
|
103
|
+
var t, i;
|
|
104
|
+
let l = `[data-key="${CSS.escape(String(e))}"]`, n = (t = r.current) === null || t === void 0 ? void 0 : t.dataset.collection;
|
|
105
|
+
return n && (l = `[data-collection="${CSS.escape(n)}"]${l}`), (i = r.current) === null || i === void 0 ? void 0 : i.querySelector(l);
|
|
106
|
+
}
|
|
107
|
+
const Qe = /* @__PURE__ */ new WeakMap();
|
|
108
|
+
function Dt(r) {
|
|
109
|
+
let e = _e();
|
|
110
|
+
return Qe.set(r, e), e;
|
|
111
|
+
}
|
|
112
|
+
function kt(r) {
|
|
113
|
+
return Qe.get(r);
|
|
114
|
+
}
|
|
115
|
+
const Et = 1e3;
|
|
116
|
+
function It(r) {
|
|
117
|
+
let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = r, l = k({
|
|
118
|
+
search: "",
|
|
119
|
+
timeout: void 0
|
|
120
|
+
}).current, n = (s) => {
|
|
121
|
+
let c = Pt(s.key);
|
|
122
|
+
if (!(!c || s.ctrlKey || s.metaKey || !s.currentTarget.contains(s.target) || l.search.length === 0 && c === " ")) {
|
|
123
|
+
if (c === " " && l.search.trim().length > 0 && (s.preventDefault(), "continuePropagation" in s || s.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
|
|
124
|
+
let u = e.getKeyForSearch(l.search, t.focusedKey);
|
|
125
|
+
u == null && (u = e.getKeyForSearch(l.search)), u != null && (t.setFocusedKey(u), i && i(u));
|
|
126
|
+
}
|
|
127
|
+
clearTimeout(l.timeout), l.timeout = setTimeout(() => {
|
|
128
|
+
l.search = "";
|
|
129
|
+
}, Et);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
return {
|
|
133
|
+
typeSelectProps: {
|
|
134
|
+
// Using a capturing listener to catch the keydown event before
|
|
135
|
+
// other hooks in order to handle the Spacebar event.
|
|
136
|
+
onKeyDownCapture: e.getKeyForSearch ? n : void 0
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
function Pt(r) {
|
|
141
|
+
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
142
|
+
}
|
|
143
|
+
function yi(r) {
|
|
144
|
+
let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: n = !1, disallowEmptySelection: s = !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 } = yt(), m = je(), C = (a) => {
|
|
145
|
+
var b;
|
|
146
|
+
if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((b = i.current) === null || b === void 0) && b.contains(a.target))) return;
|
|
147
|
+
const o = (y, z) => {
|
|
148
|
+
if (y != null) {
|
|
149
|
+
if (e.isLink(y) && K === "selection" && v && !Se(a)) {
|
|
150
|
+
ft(() => {
|
|
151
|
+
e.setFocusedKey(y, z);
|
|
152
|
+
});
|
|
153
|
+
let U = le(i, y), Ce = e.getItemProps(y);
|
|
154
|
+
U && m.open(U, a, Ce.href, Ce.routerOptions);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
if (e.setFocusedKey(y, z), e.isLink(y) && K === "override") return;
|
|
158
|
+
a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && !Se(a) && e.replaceSelection(y);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
switch (a.key) {
|
|
162
|
+
case "ArrowDown":
|
|
163
|
+
if (t.getKeyBelow) {
|
|
164
|
+
var w, F, P;
|
|
165
|
+
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(), o(y));
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
case "ArrowUp":
|
|
170
|
+
if (t.getKeyAbove) {
|
|
171
|
+
var L, N, se;
|
|
172
|
+
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 = (se = t.getLastKey) === null || se === void 0 ? void 0 : se.call(t, e.focusedKey)), y != null && (a.preventDefault(), o(y));
|
|
174
|
+
}
|
|
175
|
+
break;
|
|
176
|
+
case "ArrowLeft":
|
|
177
|
+
if (t.getKeyLeftOf) {
|
|
178
|
+
var oe, ue, ae;
|
|
179
|
+
let y = e.focusedKey != null ? (oe = t.getKeyLeftOf) === null || oe === void 0 ? void 0 : oe.call(t, 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(), o(y, g === "rtl" ? "first" : "last"));
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
case "ArrowRight":
|
|
184
|
+
if (t.getKeyRightOf) {
|
|
185
|
+
var ce, de, fe;
|
|
186
|
+
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(), o(y, g === "rtl" ? "last" : "first"));
|
|
188
|
+
}
|
|
189
|
+
break;
|
|
190
|
+
case "Home":
|
|
191
|
+
if (t.getFirstKey) {
|
|
192
|
+
if (e.focusedKey === null && a.shiftKey) return;
|
|
193
|
+
a.preventDefault();
|
|
194
|
+
let y = t.getFirstKey(e.focusedKey, q(a));
|
|
195
|
+
e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
|
|
196
|
+
}
|
|
197
|
+
break;
|
|
198
|
+
case "End":
|
|
199
|
+
if (t.getLastKey) {
|
|
200
|
+
if (e.focusedKey === null && a.shiftKey) return;
|
|
201
|
+
a.preventDefault();
|
|
202
|
+
let y = t.getLastKey(e.focusedKey, q(a));
|
|
203
|
+
e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
|
|
204
|
+
}
|
|
205
|
+
break;
|
|
206
|
+
case "PageDown":
|
|
207
|
+
if (t.getKeyPageBelow && e.focusedKey != null) {
|
|
208
|
+
let y = t.getKeyPageBelow(e.focusedKey);
|
|
209
|
+
y != null && (a.preventDefault(), o(y));
|
|
210
|
+
}
|
|
211
|
+
break;
|
|
212
|
+
case "PageUp":
|
|
213
|
+
if (t.getKeyPageAbove && e.focusedKey != null) {
|
|
214
|
+
let y = t.getKeyPageAbove(e.focusedKey);
|
|
215
|
+
y != null && (a.preventDefault(), o(y));
|
|
216
|
+
}
|
|
217
|
+
break;
|
|
218
|
+
case "a":
|
|
219
|
+
q(a) && e.selectionMode === "multiple" && c !== !0 && (a.preventDefault(), e.selectAll());
|
|
220
|
+
break;
|
|
221
|
+
case "Escape":
|
|
222
|
+
u === "clearSelection" && !s && e.selectedKeys.size !== 0 && (a.stopPropagation(), a.preventDefault(), e.clearSelection());
|
|
223
|
+
break;
|
|
224
|
+
case "Tab":
|
|
225
|
+
if (!f) {
|
|
226
|
+
if (a.shiftKey) i.current.focus();
|
|
227
|
+
else {
|
|
228
|
+
let y = dt(i.current, {
|
|
229
|
+
tabbable: !0
|
|
230
|
+
}), z, U;
|
|
231
|
+
do
|
|
232
|
+
U = y.lastChild(), U && (z = U);
|
|
233
|
+
while (U);
|
|
234
|
+
z && !z.contains(document.activeElement) && me(z);
|
|
235
|
+
}
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}, x = k({
|
|
240
|
+
top: 0,
|
|
241
|
+
left: 0
|
|
242
|
+
});
|
|
243
|
+
ee(p, "scroll", h ? void 0 : () => {
|
|
244
|
+
var a, b, o, w;
|
|
245
|
+
x.current = {
|
|
246
|
+
top: (o = (a = p.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && o !== void 0 ? o : 0,
|
|
247
|
+
left: (w = (b = p.current) === null || b === void 0 ? void 0 : b.scrollLeft) !== null && w !== void 0 ? w : 0
|
|
248
|
+
};
|
|
249
|
+
});
|
|
250
|
+
let E = (a) => {
|
|
251
|
+
if (e.isFocused) {
|
|
252
|
+
a.currentTarget.contains(a.target) || e.setFocused(!1);
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
if (a.currentTarget.contains(a.target)) {
|
|
256
|
+
if (e.setFocused(!0), e.focusedKey == null) {
|
|
257
|
+
var b, o;
|
|
258
|
+
let P = (N) => {
|
|
259
|
+
N != null && (e.setFocusedKey(N), v && !e.isSelected(N) && e.replaceSelection(N));
|
|
260
|
+
}, L = a.relatedTarget;
|
|
261
|
+
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 : (o = t.getFirstKey) === null || o === void 0 ? void 0 : o.call(t));
|
|
263
|
+
} else !h && p.current && (p.current.scrollTop = x.current.top, p.current.scrollLeft = x.current.left);
|
|
264
|
+
if (e.focusedKey != null && p.current) {
|
|
265
|
+
let P = le(i, e.focusedKey);
|
|
266
|
+
P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && me(P), Ee() === "keyboard" && De(P, {
|
|
267
|
+
containingElement: i.current
|
|
268
|
+
}));
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}, M = (a) => {
|
|
272
|
+
a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
|
|
273
|
+
}, A = k(!1);
|
|
274
|
+
ee(i, Kt, d ? (a) => {
|
|
275
|
+
let { detail: b } = a;
|
|
276
|
+
a.stopPropagation(), e.setFocused(!0), b?.focusStrategy === "first" && (A.current = !0);
|
|
277
|
+
} : void 0);
|
|
278
|
+
let T = we(() => {
|
|
279
|
+
var a, b;
|
|
280
|
+
let o = (b = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && b !== void 0 ? b : null;
|
|
281
|
+
if (o == null) {
|
|
282
|
+
let w = Ge();
|
|
283
|
+
Ze(i.current), Je(w, null), e.collection.size > 0 && (A.current = !1);
|
|
284
|
+
} else
|
|
285
|
+
e.setFocusedKey(o), A.current = !1;
|
|
286
|
+
});
|
|
287
|
+
Pe(() => {
|
|
288
|
+
A.current && T();
|
|
289
|
+
}, [
|
|
290
|
+
e.collection,
|
|
291
|
+
T
|
|
292
|
+
]);
|
|
293
|
+
let I = we(() => {
|
|
294
|
+
e.collection.size > 0 && (A.current = !1);
|
|
295
|
+
});
|
|
296
|
+
Pe(() => {
|
|
297
|
+
I();
|
|
298
|
+
}, [
|
|
299
|
+
e.focusedKey,
|
|
300
|
+
I
|
|
301
|
+
]), ee(i, St, d ? (a) => {
|
|
302
|
+
var b;
|
|
303
|
+
a.stopPropagation(), e.setFocused(!1), !((b = a.detail) === null || b === void 0) && b.clearFocusKey && e.setFocusedKey(null);
|
|
304
|
+
} : void 0);
|
|
305
|
+
const _ = k(l), O = k(!1);
|
|
306
|
+
Y(() => {
|
|
307
|
+
if (_.current) {
|
|
308
|
+
var a, b;
|
|
309
|
+
let F = null;
|
|
310
|
+
var o;
|
|
311
|
+
l === "first" && (F = (o = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && o !== void 0 ? o : null);
|
|
312
|
+
var w;
|
|
313
|
+
l === "last" && (F = (w = (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) !== null && w !== void 0 ? w : null);
|
|
314
|
+
let P = e.selectedKeys;
|
|
315
|
+
if (P.size) {
|
|
316
|
+
for (let L of P) if (e.canSelectItem(L)) {
|
|
317
|
+
F = L;
|
|
318
|
+
break;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && be(i.current), e.collection.size > 0 && (_.current = !1, O.current = !0);
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
let V = k(e.focusedKey), D = k(null);
|
|
325
|
+
Y(() => {
|
|
326
|
+
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && p.current && i.current) {
|
|
327
|
+
let a = Ee(), b = le(i, e.focusedKey);
|
|
328
|
+
if (!(b instanceof HTMLElement))
|
|
329
|
+
return;
|
|
330
|
+
(a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
|
|
331
|
+
p.current && (ct(p.current, b), a !== "virtual" && De(b, {
|
|
332
|
+
containingElement: i.current
|
|
333
|
+
}));
|
|
334
|
+
}));
|
|
335
|
+
}
|
|
336
|
+
!d && e.isFocused && e.focusedKey == null && V.current != null && i.current && be(i.current), V.current = e.focusedKey, O.current = !1;
|
|
337
|
+
}), Y(() => () => {
|
|
338
|
+
D.current && cancelAnimationFrame(D.current);
|
|
339
|
+
}, []), ee(i, "react-aria-focus-scope-restore", (a) => {
|
|
340
|
+
a.preventDefault(), e.setFocused(!0);
|
|
341
|
+
});
|
|
342
|
+
let j = {
|
|
343
|
+
onKeyDown: C,
|
|
344
|
+
onFocus: E,
|
|
345
|
+
onBlur: M,
|
|
346
|
+
onMouseDown(a) {
|
|
347
|
+
p.current === a.target && a.preventDefault();
|
|
348
|
+
}
|
|
349
|
+
}, { typeSelectProps: ne } = It({
|
|
350
|
+
keyboardDelegate: t,
|
|
351
|
+
selectionManager: e
|
|
352
|
+
});
|
|
353
|
+
$ || (j = Z(ne, j));
|
|
354
|
+
let Q;
|
|
355
|
+
d || (Q = e.focusedKey == null ? 0 : -1);
|
|
356
|
+
let re = Dt(e.collection);
|
|
357
|
+
return {
|
|
358
|
+
collectionProps: Z(j, {
|
|
359
|
+
tabIndex: Q,
|
|
360
|
+
"data-collection": re
|
|
361
|
+
})
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
function pi(r) {
|
|
365
|
+
let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: n, shouldUseVirtualFocus: s, focus: c, isDisabled: u, onAction: v, allowsDifferentPressOrigin: $, linkBehavior: d = "action" } = r, f = je();
|
|
366
|
+
e = _e(e);
|
|
367
|
+
let h = (o) => {
|
|
368
|
+
if (o.pointerType === "keyboard" && Se(o)) t.toggleSelection(i);
|
|
369
|
+
else {
|
|
370
|
+
if (t.selectionMode === "none") return;
|
|
371
|
+
if (t.isLink(i)) {
|
|
372
|
+
if (d === "selection" && l.current) {
|
|
373
|
+
let w = t.getItemProps(i);
|
|
374
|
+
f.open(l.current, o, w.href, w.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
375
|
+
return;
|
|
376
|
+
} else if (d === "override" || d === "none") return;
|
|
377
|
+
}
|
|
378
|
+
t.selectionMode === "single" ? t.isSelected(i) && !t.disallowEmptySelection ? t.toggleSelection(i) : t.replaceSelection(i) : o && o.shiftKey ? t.extendSelection(i) : t.selectionBehavior === "toggle" || o && (q(o) || o.pointerType === "touch" || o.pointerType === "virtual") ? t.toggleSelection(i) : t.replaceSelection(i);
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
Y(() => {
|
|
382
|
+
i === t.focusedKey && t.isFocused && (s ? Ze(l.current) : c ? c() : document.activeElement !== l.current && l.current && be(l.current));
|
|
383
|
+
}, [
|
|
384
|
+
l,
|
|
385
|
+
i,
|
|
386
|
+
t.focusedKey,
|
|
387
|
+
t.childFocusStrategy,
|
|
388
|
+
t.isFocused,
|
|
389
|
+
s
|
|
390
|
+
]), u = u || t.isDisabled(i);
|
|
391
|
+
let p = {};
|
|
392
|
+
!s && !u ? p = {
|
|
393
|
+
tabIndex: i === t.focusedKey ? 0 : -1,
|
|
394
|
+
onFocus(o) {
|
|
395
|
+
o.target === l.current && t.setFocusedKey(i);
|
|
396
|
+
}
|
|
397
|
+
} : u && (p.onMouseDown = (o) => {
|
|
398
|
+
o.preventDefault();
|
|
399
|
+
});
|
|
400
|
+
let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, C = (v || g) && !u, x = C && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), E = C && m && t.selectionBehavior === "replace", M = x || E, A = k(null), T = M && m, I = k(!1), _ = k(!1), O = t.getItemProps(i), V = (o) => {
|
|
401
|
+
v && v(), g && l.current && f.open(l.current, o, O.href, O.routerOptions);
|
|
402
|
+
}, D = {
|
|
403
|
+
ref: l
|
|
404
|
+
};
|
|
405
|
+
if (n ? (D.onPressStart = (o) => {
|
|
406
|
+
A.current = o.pointerType, I.current = T, o.pointerType === "keyboard" && (!M || Me()) && h(o);
|
|
407
|
+
}, $ ? (D.onPressUp = x ? void 0 : (o) => {
|
|
408
|
+
o.pointerType === "mouse" && m && h(o);
|
|
409
|
+
}, D.onPress = x ? V : (o) => {
|
|
410
|
+
o.pointerType !== "keyboard" && o.pointerType !== "mouse" && m && h(o);
|
|
411
|
+
}) : D.onPress = (o) => {
|
|
412
|
+
if (x || E && o.pointerType !== "mouse") {
|
|
413
|
+
if (o.pointerType === "keyboard" && !Fe()) return;
|
|
414
|
+
V(o);
|
|
415
|
+
} else o.pointerType !== "keyboard" && m && h(o);
|
|
416
|
+
}) : (D.onPressStart = (o) => {
|
|
417
|
+
A.current = o.pointerType, I.current = T, _.current = x, m && (o.pointerType === "mouse" && !x || o.pointerType === "keyboard" && (!C || Me())) && h(o);
|
|
418
|
+
}, D.onPress = (o) => {
|
|
419
|
+
(o.pointerType === "touch" || o.pointerType === "pen" || o.pointerType === "virtual" || o.pointerType === "keyboard" && M && Fe() || o.pointerType === "mouse" && _.current) && (M ? V(o) : m && h(o));
|
|
420
|
+
}), p["data-collection"] = kt(t.collection), p["data-key"] = i, D.preventFocusOnPress = s, s && (D = Z(D, {
|
|
421
|
+
onPressStart(o) {
|
|
422
|
+
o.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
423
|
+
},
|
|
424
|
+
onPress(o) {
|
|
425
|
+
o.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(i));
|
|
426
|
+
}
|
|
427
|
+
})), O)
|
|
428
|
+
for (let o of [
|
|
429
|
+
"onPressStart",
|
|
430
|
+
"onPressEnd",
|
|
431
|
+
"onPressChange",
|
|
432
|
+
"onPress",
|
|
433
|
+
"onPressUp",
|
|
434
|
+
"onClick"
|
|
435
|
+
]) O[o] && (D[o] = ot(D[o], O[o]));
|
|
436
|
+
let { pressProps: j, isPressed: ne } = Ye(D), Q = E ? (o) => {
|
|
437
|
+
A.current === "mouse" && (o.stopPropagation(), o.preventDefault(), V(o));
|
|
438
|
+
} : void 0, { longPressProps: re } = xt({
|
|
439
|
+
isDisabled: !T,
|
|
440
|
+
onLongPress(o) {
|
|
441
|
+
o.pointerType === "touch" && (h(o), t.setSelectionBehavior("toggle"));
|
|
442
|
+
}
|
|
443
|
+
}), a = (o) => {
|
|
444
|
+
A.current === "touch" && I.current && o.preventDefault();
|
|
445
|
+
}, b = d !== "none" && t.isLink(i) ? (o) => {
|
|
446
|
+
ut.isOpening || o.preventDefault();
|
|
447
|
+
} : void 0;
|
|
448
|
+
return {
|
|
449
|
+
itemProps: Z(
|
|
450
|
+
p,
|
|
451
|
+
m || x || s && !u ? j : {},
|
|
452
|
+
T ? re : {},
|
|
453
|
+
{
|
|
454
|
+
onDoubleClick: Q,
|
|
455
|
+
onDragStartCapture: a,
|
|
456
|
+
onClick: b,
|
|
457
|
+
id: e
|
|
458
|
+
},
|
|
459
|
+
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
460
|
+
s ? {
|
|
461
|
+
onMouseDown: (o) => o.preventDefault()
|
|
462
|
+
} : void 0
|
|
463
|
+
),
|
|
464
|
+
isPressed: ne,
|
|
465
|
+
isSelected: t.isSelected(i),
|
|
466
|
+
isFocused: t.isFocused && t.focusedKey === i,
|
|
467
|
+
isDisabled: u,
|
|
468
|
+
allowsSelection: m,
|
|
469
|
+
hasAction: M
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
function Fe() {
|
|
473
|
+
let r = window.event;
|
|
474
|
+
return r?.key === "Enter";
|
|
475
|
+
}
|
|
476
|
+
function Me() {
|
|
477
|
+
let r = window.event;
|
|
478
|
+
return r?.key === " " || r?.code === "Space";
|
|
479
|
+
}
|
|
480
|
+
class Ae {
|
|
481
|
+
getItemRect(e) {
|
|
482
|
+
let t = this.ref.current;
|
|
483
|
+
if (!t) return null;
|
|
484
|
+
let i = e != null ? le(this.ref, e) : null;
|
|
485
|
+
if (!i) return null;
|
|
486
|
+
let l = t.getBoundingClientRect(), n = i.getBoundingClientRect();
|
|
487
|
+
return {
|
|
488
|
+
x: n.left - l.left + t.scrollLeft,
|
|
489
|
+
y: n.top - l.top + t.scrollTop,
|
|
490
|
+
width: n.width,
|
|
491
|
+
height: n.height
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
getContentSize() {
|
|
495
|
+
let e = this.ref.current;
|
|
496
|
+
var t, i;
|
|
497
|
+
return {
|
|
498
|
+
width: (t = e?.scrollWidth) !== null && t !== void 0 ? t : 0,
|
|
499
|
+
height: (i = e?.scrollHeight) !== null && i !== void 0 ? i : 0
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
getVisibleRect() {
|
|
503
|
+
let e = this.ref.current;
|
|
504
|
+
var t, i, l, n;
|
|
505
|
+
return {
|
|
506
|
+
x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
|
|
507
|
+
y: (i = e?.scrollTop) !== null && i !== void 0 ? i : 0,
|
|
508
|
+
width: (l = e?.offsetWidth) !== null && l !== void 0 ? l : 0,
|
|
509
|
+
height: (n = e?.offsetHeight) !== null && n !== void 0 ? n : 0
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
constructor(e) {
|
|
513
|
+
this.ref = e;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
class vi {
|
|
517
|
+
isDisabled(e) {
|
|
518
|
+
var t;
|
|
519
|
+
return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
|
|
520
|
+
}
|
|
521
|
+
findNextNonDisabled(e, t) {
|
|
522
|
+
let i = e;
|
|
523
|
+
for (; i != null; ) {
|
|
524
|
+
let l = this.collection.getItem(i);
|
|
525
|
+
if (l?.type === "item" && !this.isDisabled(l)) return i;
|
|
526
|
+
i = t(i);
|
|
527
|
+
}
|
|
528
|
+
return null;
|
|
529
|
+
}
|
|
530
|
+
getNextKey(e) {
|
|
531
|
+
let t = e;
|
|
532
|
+
return t = this.collection.getKeyAfter(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyAfter(i));
|
|
533
|
+
}
|
|
534
|
+
getPreviousKey(e) {
|
|
535
|
+
let t = e;
|
|
536
|
+
return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyBefore(i));
|
|
537
|
+
}
|
|
538
|
+
findKey(e, t, i) {
|
|
539
|
+
let l = e, n = this.layoutDelegate.getItemRect(l);
|
|
540
|
+
if (!n || l == null) return null;
|
|
541
|
+
let s = n;
|
|
542
|
+
do {
|
|
543
|
+
if (l = t(l), l == null) break;
|
|
544
|
+
n = this.layoutDelegate.getItemRect(l);
|
|
545
|
+
} while (n && i(s, n) && l != null);
|
|
546
|
+
return l;
|
|
547
|
+
}
|
|
548
|
+
isSameRow(e, t) {
|
|
549
|
+
return e.y === t.y || e.x !== t.x;
|
|
550
|
+
}
|
|
551
|
+
isSameColumn(e, t) {
|
|
552
|
+
return e.x === t.x || e.y !== t.y;
|
|
553
|
+
}
|
|
554
|
+
getKeyBelow(e) {
|
|
555
|
+
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getNextKey(t), this.isSameRow) : this.getNextKey(e);
|
|
556
|
+
}
|
|
557
|
+
getKeyAbove(e) {
|
|
558
|
+
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getPreviousKey(t), this.isSameRow) : this.getPreviousKey(e);
|
|
559
|
+
}
|
|
560
|
+
getNextColumn(e, t) {
|
|
561
|
+
return t ? this.getPreviousKey(e) : this.getNextKey(e);
|
|
562
|
+
}
|
|
563
|
+
getKeyRightOf(e) {
|
|
564
|
+
let t = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
565
|
+
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl") : null;
|
|
566
|
+
}
|
|
567
|
+
getKeyLeftOf(e) {
|
|
568
|
+
let t = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
569
|
+
return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr") : null;
|
|
570
|
+
}
|
|
571
|
+
getFirstKey() {
|
|
572
|
+
let e = this.collection.getFirstKey();
|
|
573
|
+
return this.findNextNonDisabled(e, (t) => this.collection.getKeyAfter(t));
|
|
574
|
+
}
|
|
575
|
+
getLastKey() {
|
|
576
|
+
let e = this.collection.getLastKey();
|
|
577
|
+
return this.findNextNonDisabled(e, (t) => this.collection.getKeyBefore(t));
|
|
578
|
+
}
|
|
579
|
+
getKeyPageAbove(e) {
|
|
580
|
+
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
581
|
+
if (!i) return null;
|
|
582
|
+
if (t && !ke(t)) return this.getFirstKey();
|
|
583
|
+
let l = e;
|
|
584
|
+
if (this.orientation === "horizontal") {
|
|
585
|
+
let n = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
|
|
586
|
+
for (; i && i.x > n && l != null; )
|
|
587
|
+
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
588
|
+
} else {
|
|
589
|
+
let n = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
|
|
590
|
+
for (; i && i.y > n && l != null; )
|
|
591
|
+
l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
592
|
+
}
|
|
593
|
+
return l ?? this.getFirstKey();
|
|
594
|
+
}
|
|
595
|
+
getKeyPageBelow(e) {
|
|
596
|
+
let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
|
|
597
|
+
if (!i) return null;
|
|
598
|
+
if (t && !ke(t)) return this.getLastKey();
|
|
599
|
+
let l = e;
|
|
600
|
+
if (this.orientation === "horizontal") {
|
|
601
|
+
let n = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
|
|
602
|
+
for (; i && i.x < n && l != null; )
|
|
603
|
+
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
604
|
+
} else {
|
|
605
|
+
let n = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
|
|
606
|
+
for (; i && i.y < n && l != null; )
|
|
607
|
+
l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
|
|
608
|
+
}
|
|
609
|
+
return l ?? this.getLastKey();
|
|
610
|
+
}
|
|
611
|
+
getKeyForSearch(e, t) {
|
|
612
|
+
if (!this.collator) return null;
|
|
613
|
+
let i = this.collection, l = t || this.getFirstKey();
|
|
614
|
+
for (; l != null; ) {
|
|
615
|
+
let n = i.getItem(l);
|
|
616
|
+
if (!n) return null;
|
|
617
|
+
let s = n.textValue.slice(0, e.length);
|
|
618
|
+
if (n.textValue && this.collator.compare(s, e) === 0) return l;
|
|
619
|
+
l = this.getNextKey(l);
|
|
620
|
+
}
|
|
621
|
+
return null;
|
|
622
|
+
}
|
|
623
|
+
constructor(...e) {
|
|
624
|
+
if (e.length === 1) {
|
|
625
|
+
let t = e[0];
|
|
626
|
+
this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Ae(t.ref);
|
|
627
|
+
} else
|
|
628
|
+
this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Ae(this.ref);
|
|
629
|
+
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
class Ft {
|
|
633
|
+
build(e, t) {
|
|
634
|
+
return this.context = t, Re(() => this.iterateCollection(e));
|
|
635
|
+
}
|
|
636
|
+
*iterateCollection(e) {
|
|
637
|
+
let { children: t, items: i } = e;
|
|
638
|
+
if (S.isValidElement(t) && t.type === S.Fragment) yield* this.iterateCollection({
|
|
639
|
+
children: t.props.children,
|
|
640
|
+
items: i
|
|
641
|
+
});
|
|
642
|
+
else if (typeof t == "function") {
|
|
643
|
+
if (!i) throw new Error("props.children was a function but props.items is missing");
|
|
644
|
+
let l = 0;
|
|
645
|
+
for (let n of i)
|
|
646
|
+
yield* this.getFullNode({
|
|
647
|
+
value: n,
|
|
648
|
+
index: l
|
|
649
|
+
}, {
|
|
650
|
+
renderer: t
|
|
651
|
+
}), l++;
|
|
652
|
+
} else {
|
|
653
|
+
let l = [];
|
|
654
|
+
S.Children.forEach(t, (s) => {
|
|
655
|
+
s && l.push(s);
|
|
656
|
+
});
|
|
657
|
+
let n = 0;
|
|
658
|
+
for (let s of l) {
|
|
659
|
+
let c = this.getFullNode({
|
|
660
|
+
element: s,
|
|
661
|
+
index: n
|
|
662
|
+
}, {});
|
|
663
|
+
for (let u of c)
|
|
664
|
+
n++, yield u;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
getKey(e, t, i, l) {
|
|
669
|
+
if (e.key != null) return e.key;
|
|
670
|
+
if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
|
|
671
|
+
let n = t.value;
|
|
672
|
+
if (n != null) {
|
|
673
|
+
var s;
|
|
674
|
+
let c = (s = n.key) !== null && s !== void 0 ? s : n.id;
|
|
675
|
+
if (c == null) throw new Error("No key found for item");
|
|
676
|
+
return c;
|
|
677
|
+
}
|
|
678
|
+
return l ? `${l}.${t.index}` : `$.${t.index}`;
|
|
679
|
+
}
|
|
680
|
+
getChildState(e, t) {
|
|
681
|
+
return {
|
|
682
|
+
renderer: t.renderer || e.renderer
|
|
683
|
+
};
|
|
684
|
+
}
|
|
685
|
+
*getFullNode(e, t, i, l) {
|
|
686
|
+
if (S.isValidElement(e.element) && e.element.type === S.Fragment) {
|
|
687
|
+
let g = [];
|
|
688
|
+
S.Children.forEach(e.element.props.children, (C) => {
|
|
689
|
+
g.push(C);
|
|
690
|
+
});
|
|
691
|
+
var n;
|
|
692
|
+
let m = (n = e.index) !== null && n !== void 0 ? n : 0;
|
|
693
|
+
for (const C of g) yield* this.getFullNode({
|
|
694
|
+
element: C,
|
|
695
|
+
index: m++
|
|
696
|
+
}, t, i, l);
|
|
697
|
+
return;
|
|
698
|
+
}
|
|
699
|
+
let s = e.element;
|
|
700
|
+
if (!s && e.value && t && t.renderer) {
|
|
701
|
+
let g = this.cache.get(e.value);
|
|
702
|
+
if (g && (!g.shouldInvalidate || !g.shouldInvalidate(this.context))) {
|
|
703
|
+
g.index = e.index, g.parentKey = l ? l.key : null, yield g;
|
|
704
|
+
return;
|
|
705
|
+
}
|
|
706
|
+
s = t.renderer(e.value);
|
|
707
|
+
}
|
|
708
|
+
if (S.isValidElement(s)) {
|
|
709
|
+
let g = s.type;
|
|
710
|
+
if (typeof g != "function" && typeof g.getCollectionNode != "function") {
|
|
711
|
+
let E = s.type;
|
|
712
|
+
throw new Error(`Unknown element <${E}> in collection.`);
|
|
713
|
+
}
|
|
714
|
+
let m = g.getCollectionNode(s.props, this.context);
|
|
715
|
+
var c;
|
|
716
|
+
let C = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
|
|
717
|
+
for (; !x.done && x.value; ) {
|
|
718
|
+
let E = x.value;
|
|
719
|
+
e.index = C;
|
|
720
|
+
var u;
|
|
721
|
+
let M = (u = E.key) !== null && u !== void 0 ? u : null;
|
|
722
|
+
M == null && (M = E.element ? null : this.getKey(s, e, t, i));
|
|
723
|
+
let T = [
|
|
724
|
+
...this.getFullNode({
|
|
725
|
+
...E,
|
|
726
|
+
key: M,
|
|
727
|
+
index: C,
|
|
728
|
+
wrapper: Mt(e.wrapper, E.wrapper)
|
|
729
|
+
}, this.getChildState(t, E), i ? `${i}${s.key}` : s.key, l)
|
|
730
|
+
];
|
|
731
|
+
for (let I of T) {
|
|
732
|
+
var v, $;
|
|
733
|
+
I.value = ($ = (v = E.value) !== null && v !== void 0 ? v : e.value) !== null && $ !== void 0 ? $ : null, I.value && this.cache.set(I.value, I);
|
|
734
|
+
var d;
|
|
735
|
+
if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${he(I.type)}> in <${he((d = l?.type) !== null && d !== void 0 ? d : "unknown parent type")}>. Only <${he(e.type)}> is supported.`);
|
|
736
|
+
C++, yield I;
|
|
737
|
+
}
|
|
738
|
+
x = m.next(T);
|
|
739
|
+
}
|
|
740
|
+
return;
|
|
741
|
+
}
|
|
742
|
+
if (e.key == null || e.type == null) return;
|
|
743
|
+
let f = this;
|
|
744
|
+
var h, p;
|
|
745
|
+
let K = {
|
|
746
|
+
type: e.type,
|
|
747
|
+
props: e.props,
|
|
748
|
+
key: e.key,
|
|
749
|
+
parentKey: l ? l.key : null,
|
|
750
|
+
value: (h = e.value) !== null && h !== void 0 ? h : null,
|
|
751
|
+
level: l ? l.level + 1 : 0,
|
|
752
|
+
index: e.index,
|
|
753
|
+
rendered: e.rendered,
|
|
754
|
+
textValue: (p = e.textValue) !== null && p !== void 0 ? p : "",
|
|
755
|
+
"aria-label": e["aria-label"],
|
|
756
|
+
wrapper: e.wrapper,
|
|
757
|
+
shouldInvalidate: e.shouldInvalidate,
|
|
758
|
+
hasChildNodes: e.hasChildNodes || !1,
|
|
759
|
+
childNodes: Re(function* () {
|
|
760
|
+
if (!e.hasChildNodes || !e.childNodes) return;
|
|
761
|
+
let g = 0;
|
|
762
|
+
for (let m of e.childNodes()) {
|
|
763
|
+
m.key != null && (m.key = `${K.key}${m.key}`);
|
|
764
|
+
let C = f.getFullNode({
|
|
765
|
+
...m,
|
|
766
|
+
index: g
|
|
767
|
+
}, f.getChildState(t, m), K.key, K);
|
|
768
|
+
for (let x of C)
|
|
769
|
+
g++, yield x;
|
|
770
|
+
}
|
|
771
|
+
})
|
|
772
|
+
};
|
|
773
|
+
yield K;
|
|
774
|
+
}
|
|
775
|
+
constructor() {
|
|
776
|
+
this.cache = /* @__PURE__ */ new WeakMap();
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
function Re(r) {
|
|
780
|
+
let e = [], t = null;
|
|
781
|
+
return {
|
|
782
|
+
*[Symbol.iterator]() {
|
|
783
|
+
for (let i of e) yield i;
|
|
784
|
+
t || (t = r());
|
|
785
|
+
for (let i of t)
|
|
786
|
+
e.push(i), yield i;
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
}
|
|
790
|
+
function Mt(r, e) {
|
|
791
|
+
if (r && e) return (t) => r(e(t));
|
|
792
|
+
if (r) return r;
|
|
793
|
+
if (e) return e;
|
|
794
|
+
}
|
|
795
|
+
function he(r) {
|
|
796
|
+
return r[0].toUpperCase() + r.slice(1);
|
|
797
|
+
}
|
|
798
|
+
function gi(r, e, t) {
|
|
799
|
+
let i = B(() => new Ft(), []), { children: l, items: n, collection: s } = r;
|
|
800
|
+
return B(() => {
|
|
801
|
+
if (s) return s;
|
|
802
|
+
let u = i.build({
|
|
803
|
+
children: l,
|
|
804
|
+
items: n
|
|
805
|
+
}, t);
|
|
806
|
+
return e(u);
|
|
807
|
+
}, [
|
|
808
|
+
i,
|
|
809
|
+
l,
|
|
810
|
+
n,
|
|
811
|
+
s,
|
|
812
|
+
t,
|
|
813
|
+
e
|
|
814
|
+
]);
|
|
815
|
+
}
|
|
816
|
+
function At(r, e) {
|
|
817
|
+
return typeof e.getChildren == "function" ? e.getChildren(r.key) : r.childNodes;
|
|
818
|
+
}
|
|
819
|
+
function Rt(r) {
|
|
820
|
+
return Tt(r, 0);
|
|
821
|
+
}
|
|
822
|
+
function Tt(r, e) {
|
|
823
|
+
if (e < 0) return;
|
|
824
|
+
let t = 0;
|
|
825
|
+
for (let i of r) {
|
|
826
|
+
if (t === e) return i;
|
|
827
|
+
t++;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
function mi(r) {
|
|
831
|
+
let e;
|
|
832
|
+
for (let t of r) e = t;
|
|
833
|
+
return e;
|
|
834
|
+
}
|
|
835
|
+
function ye(r, e, t) {
|
|
836
|
+
if (e.parentKey === t.parentKey) return e.index - t.index;
|
|
837
|
+
let i = [
|
|
838
|
+
...Te(r, e),
|
|
839
|
+
e
|
|
840
|
+
], l = [
|
|
841
|
+
...Te(r, t),
|
|
842
|
+
t
|
|
843
|
+
], n = i.slice(0, l.length).findIndex((s, c) => s !== l[c]);
|
|
844
|
+
return n !== -1 ? (e = i[n], t = l[n], e.index - t.index) : i.findIndex((s) => s === t) >= 0 ? 1 : (l.findIndex((s) => s === e) >= 0, -1);
|
|
845
|
+
}
|
|
846
|
+
function Te(r, e) {
|
|
847
|
+
let t = [], i = e;
|
|
848
|
+
for (; i?.parentKey != null; )
|
|
849
|
+
i = r.getItem(i.parentKey), i && t.unshift(i);
|
|
850
|
+
return t;
|
|
851
|
+
}
|
|
852
|
+
var te = { exports: {} }, pe = {};
|
|
853
|
+
/**
|
|
854
|
+
* @license React
|
|
855
|
+
* use-sync-external-store-shim.production.js
|
|
856
|
+
*
|
|
857
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
858
|
+
*
|
|
859
|
+
* This source code is licensed under the MIT license found in the
|
|
860
|
+
* LICENSE file in the root directory of this source tree.
|
|
861
|
+
*/
|
|
862
|
+
var Oe;
|
|
863
|
+
function Ot() {
|
|
864
|
+
if (Oe) return pe;
|
|
865
|
+
Oe = 1;
|
|
866
|
+
var r = S;
|
|
867
|
+
function e(d, f) {
|
|
868
|
+
return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
|
|
869
|
+
}
|
|
870
|
+
var t = typeof Object.is == "function" ? Object.is : e, i = r.useState, l = r.useEffect, n = r.useLayoutEffect, s = r.useDebugValue;
|
|
871
|
+
function c(d, f) {
|
|
872
|
+
var h = f(), p = i({ inst: { value: h, getSnapshot: f } }), K = p[0].inst, g = p[1];
|
|
873
|
+
return n(
|
|
874
|
+
function() {
|
|
875
|
+
K.value = h, K.getSnapshot = f, u(K) && g({ inst: K });
|
|
876
|
+
},
|
|
877
|
+
[d, h, f]
|
|
878
|
+
), l(
|
|
879
|
+
function() {
|
|
880
|
+
return u(K) && g({ inst: K }), d(function() {
|
|
881
|
+
u(K) && g({ inst: K });
|
|
882
|
+
});
|
|
883
|
+
},
|
|
884
|
+
[d]
|
|
885
|
+
), s(h), h;
|
|
886
|
+
}
|
|
887
|
+
function u(d) {
|
|
888
|
+
var f = d.getSnapshot;
|
|
889
|
+
d = d.value;
|
|
890
|
+
try {
|
|
891
|
+
var h = f();
|
|
892
|
+
return !t(d, h);
|
|
893
|
+
} catch {
|
|
894
|
+
return !0;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
function v(d, f) {
|
|
898
|
+
return f();
|
|
899
|
+
}
|
|
900
|
+
var $ = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? v : c;
|
|
901
|
+
return pe.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : $, pe;
|
|
902
|
+
}
|
|
903
|
+
var ve = {};
|
|
904
|
+
/**
|
|
905
|
+
* @license React
|
|
906
|
+
* use-sync-external-store-shim.development.js
|
|
907
|
+
*
|
|
908
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
909
|
+
*
|
|
910
|
+
* This source code is licensed under the MIT license found in the
|
|
911
|
+
* LICENSE file in the root directory of this source tree.
|
|
912
|
+
*/
|
|
913
|
+
var Le;
|
|
914
|
+
function Lt() {
|
|
915
|
+
return Le || (Le = 1, process.env.NODE_ENV !== "production" && function() {
|
|
916
|
+
function r(h, p) {
|
|
917
|
+
return h === p && (h !== 0 || 1 / h === 1 / p) || h !== h && p !== p;
|
|
918
|
+
}
|
|
919
|
+
function e(h, p) {
|
|
920
|
+
$ || l.startTransition === void 0 || ($ = !0, console.error(
|
|
921
|
+
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
922
|
+
));
|
|
923
|
+
var K = p();
|
|
924
|
+
if (!d) {
|
|
925
|
+
var g = p();
|
|
926
|
+
n(K, g) || (console.error(
|
|
927
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
928
|
+
), d = !0);
|
|
929
|
+
}
|
|
930
|
+
g = s({
|
|
931
|
+
inst: { value: K, getSnapshot: p }
|
|
932
|
+
});
|
|
933
|
+
var m = g[0].inst, C = g[1];
|
|
934
|
+
return u(
|
|
935
|
+
function() {
|
|
936
|
+
m.value = K, m.getSnapshot = p, t(m) && C({ inst: m });
|
|
937
|
+
},
|
|
938
|
+
[h, K, p]
|
|
939
|
+
), c(
|
|
940
|
+
function() {
|
|
941
|
+
return t(m) && C({ inst: m }), h(function() {
|
|
942
|
+
t(m) && C({ inst: m });
|
|
943
|
+
});
|
|
944
|
+
},
|
|
945
|
+
[h]
|
|
946
|
+
), v(K), K;
|
|
947
|
+
}
|
|
948
|
+
function t(h) {
|
|
949
|
+
var p = h.getSnapshot;
|
|
950
|
+
h = h.value;
|
|
951
|
+
try {
|
|
952
|
+
var K = p();
|
|
953
|
+
return !n(h, K);
|
|
954
|
+
} catch {
|
|
955
|
+
return !0;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
function i(h, p) {
|
|
959
|
+
return p();
|
|
960
|
+
}
|
|
961
|
+
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, s = 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;
|
|
963
|
+
ve.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
964
|
+
}()), ve;
|
|
965
|
+
}
|
|
966
|
+
var Be;
|
|
967
|
+
function Bt() {
|
|
968
|
+
return Be || (Be = 1, process.env.NODE_ENV === "production" ? te.exports = Ot() : te.exports = Lt()), te.exports;
|
|
969
|
+
}
|
|
970
|
+
var Vt = /* @__PURE__ */ Bt();
|
|
971
|
+
class $e {
|
|
972
|
+
get childNodes() {
|
|
973
|
+
throw new Error("childNodes is not supported");
|
|
974
|
+
}
|
|
975
|
+
clone() {
|
|
976
|
+
let e = new $e(this.type, this.key);
|
|
977
|
+
return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;
|
|
978
|
+
}
|
|
979
|
+
constructor(e, t) {
|
|
980
|
+
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = e, this.key = t;
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
class xe {
|
|
984
|
+
get size() {
|
|
985
|
+
return this.itemCount;
|
|
986
|
+
}
|
|
987
|
+
getKeys() {
|
|
988
|
+
return this.keyMap.keys();
|
|
989
|
+
}
|
|
990
|
+
*[Symbol.iterator]() {
|
|
991
|
+
let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
|
|
992
|
+
for (; e; )
|
|
993
|
+
yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
|
|
994
|
+
}
|
|
995
|
+
getChildren(e) {
|
|
996
|
+
let t = this.keyMap;
|
|
997
|
+
return {
|
|
998
|
+
*[Symbol.iterator]() {
|
|
999
|
+
let i = t.get(e), l = i?.firstChildKey != null ? t.get(i.firstChildKey) : null;
|
|
1000
|
+
for (; l; )
|
|
1001
|
+
yield l, l = l.nextKey != null ? t.get(l.nextKey) : void 0;
|
|
1002
|
+
}
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
getKeyBefore(e) {
|
|
1006
|
+
let t = this.keyMap.get(e);
|
|
1007
|
+
if (!t) return null;
|
|
1008
|
+
if (t.prevKey != null) {
|
|
1009
|
+
for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
|
|
1010
|
+
var i;
|
|
1011
|
+
return (i = t?.key) !== null && i !== void 0 ? i : null;
|
|
1012
|
+
}
|
|
1013
|
+
return t.parentKey;
|
|
1014
|
+
}
|
|
1015
|
+
getKeyAfter(e) {
|
|
1016
|
+
let t = this.keyMap.get(e);
|
|
1017
|
+
if (!t) return null;
|
|
1018
|
+
if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;
|
|
1019
|
+
for (; t; ) {
|
|
1020
|
+
if (t.nextKey != null) return t.nextKey;
|
|
1021
|
+
if (t.parentKey != null) t = this.keyMap.get(t.parentKey);
|
|
1022
|
+
else return null;
|
|
1023
|
+
}
|
|
1024
|
+
return null;
|
|
1025
|
+
}
|
|
1026
|
+
getFirstKey() {
|
|
1027
|
+
return this.firstKey;
|
|
1028
|
+
}
|
|
1029
|
+
getLastKey() {
|
|
1030
|
+
let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
|
|
1031
|
+
for (; e?.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
|
|
1032
|
+
var t;
|
|
1033
|
+
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1034
|
+
}
|
|
1035
|
+
getItem(e) {
|
|
1036
|
+
var t;
|
|
1037
|
+
return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
|
|
1038
|
+
}
|
|
1039
|
+
at() {
|
|
1040
|
+
throw new Error("Not implemented");
|
|
1041
|
+
}
|
|
1042
|
+
clone() {
|
|
1043
|
+
let e = this.constructor, t = new e();
|
|
1044
|
+
return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;
|
|
1045
|
+
}
|
|
1046
|
+
addNode(e) {
|
|
1047
|
+
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
1048
|
+
e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
|
|
1049
|
+
}
|
|
1050
|
+
removeNode(e) {
|
|
1051
|
+
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
1052
|
+
let t = this.keyMap.get(e);
|
|
1053
|
+
t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);
|
|
1054
|
+
}
|
|
1055
|
+
commit(e, t, i = !1) {
|
|
1056
|
+
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
1057
|
+
this.firstKey = e, this.lastKey = t, this.frozen = !i;
|
|
1058
|
+
}
|
|
1059
|
+
// TODO: this is pretty specific to menu, will need to check if it is generic enough
|
|
1060
|
+
// Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
|
|
1061
|
+
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
1062
|
+
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
1063
|
+
UNSTABLE_filter(e) {
|
|
1064
|
+
let t = new xe(), i = null;
|
|
1065
|
+
for (let l of this)
|
|
1066
|
+
if (l.type === "section" && l.hasChildNodes) {
|
|
1067
|
+
let n = l.clone(), s = null;
|
|
1068
|
+
for (let c of this.getChildren(l.key)) if (Ve(c, e, this, t)) {
|
|
1069
|
+
let u = c.clone();
|
|
1070
|
+
s == null && (n.firstChildKey = u.key), t.firstKey == null && (t.firstKey = n.key), s && s.parentKey === u.parentKey ? (s.nextKey = u.key, u.prevKey = s.key) : u.prevKey = null, u.nextKey = null, t.addNode(u), s = u;
|
|
1071
|
+
}
|
|
1072
|
+
s && (s.type !== "header" ? (n.lastChildKey = s.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(s.key)));
|
|
1073
|
+
} else if (l.type === "separator") {
|
|
1074
|
+
let n = l.clone();
|
|
1075
|
+
n.nextKey = null, i?.type === "section" && (i.nextKey = n.key, n.prevKey = i.key, i = n, t.addNode(n));
|
|
1076
|
+
} else {
|
|
1077
|
+
let n = l.clone();
|
|
1078
|
+
Ve(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
|
+
}
|
|
1080
|
+
if (i?.type === "separator" && i.nextKey === null) {
|
|
1081
|
+
let l;
|
|
1082
|
+
i.prevKey != null && (l = t.getItem(i.prevKey), l.nextKey = null), t.removeNode(i.key), i = l;
|
|
1083
|
+
}
|
|
1084
|
+
return t.lastKey = i?.key || null, t;
|
|
1085
|
+
}
|
|
1086
|
+
constructor() {
|
|
1087
|
+
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
function Ve(r, e, t, i) {
|
|
1091
|
+
if (r.type === "subdialogtrigger" || r.type === "submenutrigger") {
|
|
1092
|
+
let l = [
|
|
1093
|
+
...t.getChildren(r.key)
|
|
1094
|
+
][0];
|
|
1095
|
+
if (l && e(l.textValue)) {
|
|
1096
|
+
let n = l.clone();
|
|
1097
|
+
return i.addNode(n), !0;
|
|
1098
|
+
} else return !1;
|
|
1099
|
+
} else return r.type === "header" ? !0 : e(r.textValue);
|
|
1100
|
+
}
|
|
1101
|
+
class et {
|
|
1102
|
+
*[Symbol.iterator]() {
|
|
1103
|
+
let e = this.firstChild;
|
|
1104
|
+
for (; e; )
|
|
1105
|
+
yield e, e = e.nextSibling;
|
|
1106
|
+
}
|
|
1107
|
+
get firstChild() {
|
|
1108
|
+
return this._firstChild;
|
|
1109
|
+
}
|
|
1110
|
+
set firstChild(e) {
|
|
1111
|
+
this._firstChild = e, this.ownerDocument.markDirty(this);
|
|
1112
|
+
}
|
|
1113
|
+
get lastChild() {
|
|
1114
|
+
return this._lastChild;
|
|
1115
|
+
}
|
|
1116
|
+
set lastChild(e) {
|
|
1117
|
+
this._lastChild = e, this.ownerDocument.markDirty(this);
|
|
1118
|
+
}
|
|
1119
|
+
get previousSibling() {
|
|
1120
|
+
return this._previousSibling;
|
|
1121
|
+
}
|
|
1122
|
+
set previousSibling(e) {
|
|
1123
|
+
this._previousSibling = e, this.ownerDocument.markDirty(this);
|
|
1124
|
+
}
|
|
1125
|
+
get nextSibling() {
|
|
1126
|
+
return this._nextSibling;
|
|
1127
|
+
}
|
|
1128
|
+
set nextSibling(e) {
|
|
1129
|
+
this._nextSibling = e, this.ownerDocument.markDirty(this);
|
|
1130
|
+
}
|
|
1131
|
+
get parentNode() {
|
|
1132
|
+
return this._parentNode;
|
|
1133
|
+
}
|
|
1134
|
+
set parentNode(e) {
|
|
1135
|
+
this._parentNode = e, this.ownerDocument.markDirty(this);
|
|
1136
|
+
}
|
|
1137
|
+
get isConnected() {
|
|
1138
|
+
var e;
|
|
1139
|
+
return ((e = this.parentNode) === null || e === void 0 ? void 0 : e.isConnected) || !1;
|
|
1140
|
+
}
|
|
1141
|
+
invalidateChildIndices(e) {
|
|
1142
|
+
(this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));
|
|
1143
|
+
}
|
|
1144
|
+
updateChildIndices() {
|
|
1145
|
+
let e = this._minInvalidChildIndex;
|
|
1146
|
+
for (; e; )
|
|
1147
|
+
e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;
|
|
1148
|
+
this._minInvalidChildIndex = null;
|
|
1149
|
+
}
|
|
1150
|
+
appendChild(e) {
|
|
1151
|
+
e.parentNode && e.parentNode.removeChild(e), this.firstChild == null && (this.firstChild = e), this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), this.isConnected && this.ownerDocument.queueUpdate();
|
|
1152
|
+
}
|
|
1153
|
+
insertBefore(e, t) {
|
|
1154
|
+
if (t == null) return this.appendChild(e);
|
|
1155
|
+
e.parentNode && e.parentNode.removeChild(e), e.nextSibling = t, e.previousSibling = t.previousSibling, e.index = t.index - 1, this.firstChild === t ? this.firstChild = e : t.previousSibling && (t.previousSibling.nextSibling = e), t.previousSibling = e, e.parentNode = t.parentNode, this.invalidateChildIndices(e), this.isConnected && this.ownerDocument.queueUpdate();
|
|
1156
|
+
}
|
|
1157
|
+
removeChild(e) {
|
|
1158
|
+
e.parentNode !== this || !this.ownerDocument.isMounted || (this._minInvalidChildIndex === e && (this._minInvalidChildIndex = null), e.nextSibling && (this.invalidateChildIndices(e.nextSibling), e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.markDirty(e), this.isConnected && this.ownerDocument.queueUpdate());
|
|
1159
|
+
}
|
|
1160
|
+
addEventListener() {
|
|
1161
|
+
}
|
|
1162
|
+
removeEventListener() {
|
|
1163
|
+
}
|
|
1164
|
+
get previousVisibleSibling() {
|
|
1165
|
+
let e = this.previousSibling;
|
|
1166
|
+
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1167
|
+
return e;
|
|
1168
|
+
}
|
|
1169
|
+
get nextVisibleSibling() {
|
|
1170
|
+
let e = this.nextSibling;
|
|
1171
|
+
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1172
|
+
return e;
|
|
1173
|
+
}
|
|
1174
|
+
get firstVisibleChild() {
|
|
1175
|
+
let e = this.firstChild;
|
|
1176
|
+
for (; e && e.isHidden; ) e = e.nextSibling;
|
|
1177
|
+
return e;
|
|
1178
|
+
}
|
|
1179
|
+
get lastVisibleChild() {
|
|
1180
|
+
let e = this.lastChild;
|
|
1181
|
+
for (; e && e.isHidden; ) e = e.previousSibling;
|
|
1182
|
+
return e;
|
|
1183
|
+
}
|
|
1184
|
+
constructor(e) {
|
|
1185
|
+
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
class W extends et {
|
|
1189
|
+
get index() {
|
|
1190
|
+
return this._index;
|
|
1191
|
+
}
|
|
1192
|
+
set index(e) {
|
|
1193
|
+
this._index = e, this.ownerDocument.markDirty(this);
|
|
1194
|
+
}
|
|
1195
|
+
get level() {
|
|
1196
|
+
return this.parentNode instanceof W ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Lazily gets a mutable instance of a Node. If the node has already
|
|
1200
|
+
* been cloned during this update cycle, it just returns the existing one.
|
|
1201
|
+
*/
|
|
1202
|
+
getMutableNode() {
|
|
1203
|
+
return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
|
|
1204
|
+
}
|
|
1205
|
+
updateNode() {
|
|
1206
|
+
var e, t, i;
|
|
1207
|
+
let l = this.nextVisibleSibling, n = this.getMutableNode();
|
|
1208
|
+
n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof W ? this.parentNode.node.key : null;
|
|
1209
|
+
var s;
|
|
1210
|
+
n.prevKey = (s = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && s !== void 0 ? s : null;
|
|
1211
|
+
var c;
|
|
1212
|
+
n.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, n.hasChildNodes = !!this.firstChild;
|
|
1213
|
+
var u;
|
|
1214
|
+
n.firstChildKey = (u = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && u !== void 0 ? u : null;
|
|
1215
|
+
var v;
|
|
1216
|
+
if (n.lastChildKey = (v = (i = this.lastVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && v !== void 0 ? v : null, (n.colSpan != null || n.colIndex != null) && l) {
|
|
1217
|
+
var $, d;
|
|
1218
|
+
let f = (($ = n.colIndex) !== null && $ !== void 0 ? $ : n.index) + ((d = n.colSpan) !== null && d !== void 0 ? d : 1);
|
|
1219
|
+
if (f !== l.node.colIndex) {
|
|
1220
|
+
let h = l.getMutableNode();
|
|
1221
|
+
h.colIndex = f;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
setProps(e, t, i, l) {
|
|
1226
|
+
let n = this.getMutableNode(), { value: s, textValue: c, id: u, ...v } = e;
|
|
1227
|
+
if (v.ref = t, n.props = v, n.rendered = i, n.render = l, n.value = s, n.textValue = c || (typeof v.children == "string" ? v.children : "") || e["aria-label"] || "", u != null && u !== n.key) {
|
|
1228
|
+
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
1229
|
+
n.key = u;
|
|
1230
|
+
}
|
|
1231
|
+
v.colSpan != null && (n.colSpan = v.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
|
|
1232
|
+
}
|
|
1233
|
+
get style() {
|
|
1234
|
+
let e = this;
|
|
1235
|
+
return {
|
|
1236
|
+
get display() {
|
|
1237
|
+
return e.isHidden ? "none" : "";
|
|
1238
|
+
},
|
|
1239
|
+
set display(t) {
|
|
1240
|
+
let i = t === "none";
|
|
1241
|
+
if (e.isHidden !== i) {
|
|
1242
|
+
var l, n;
|
|
1243
|
+
(((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 s = e.previousVisibleSibling, c = e.nextVisibleSibling;
|
|
1245
|
+
s && e.ownerDocument.markDirty(s), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
hasAttribute() {
|
|
1251
|
+
}
|
|
1252
|
+
setAttribute() {
|
|
1253
|
+
}
|
|
1254
|
+
setAttributeNS() {
|
|
1255
|
+
}
|
|
1256
|
+
removeAttribute() {
|
|
1257
|
+
}
|
|
1258
|
+
constructor(e, t) {
|
|
1259
|
+
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
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
class Nt extends et {
|
|
1263
|
+
get isConnected() {
|
|
1264
|
+
return this.isMounted;
|
|
1265
|
+
}
|
|
1266
|
+
createElement(e) {
|
|
1267
|
+
return new W(e, this);
|
|
1268
|
+
}
|
|
1269
|
+
getMutableCollection() {
|
|
1270
|
+
return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
|
|
1271
|
+
}
|
|
1272
|
+
markDirty(e) {
|
|
1273
|
+
this.dirtyNodes.add(e);
|
|
1274
|
+
}
|
|
1275
|
+
addNode(e) {
|
|
1276
|
+
if (e.isHidden) return;
|
|
1277
|
+
let t = this.getMutableCollection();
|
|
1278
|
+
if (!t.getItem(e.node.key)) for (let i of e) this.addNode(i);
|
|
1279
|
+
t.addNode(e.node);
|
|
1280
|
+
}
|
|
1281
|
+
removeNode(e) {
|
|
1282
|
+
for (let i of e) this.removeNode(i);
|
|
1283
|
+
this.getMutableCollection().removeNode(e.node.key);
|
|
1284
|
+
}
|
|
1285
|
+
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
1286
|
+
getCollection() {
|
|
1287
|
+
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
1288
|
+
}
|
|
1289
|
+
updateCollection() {
|
|
1290
|
+
for (let n of this.dirtyNodes) n instanceof W && (!n.isConnected || n.isHidden) ? this.removeNode(n) : n.updateChildIndices();
|
|
1291
|
+
for (let n of this.dirtyNodes) n instanceof W && (n.isConnected && !n.isHidden && (n.updateNode(), this.addNode(n)), n.isMutated = !1);
|
|
1292
|
+
if (this.dirtyNodes.clear(), this.nextCollection) {
|
|
1293
|
+
var e, t, i, l;
|
|
1294
|
+
this.nextCollection.commit((i = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && i !== void 0 ? i : null, (l = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
queueUpdate() {
|
|
1298
|
+
if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
|
|
1299
|
+
this.queuedRender = !0, this.inSubscription = !0;
|
|
1300
|
+
for (let e of this.subscriptions) e();
|
|
1301
|
+
this.inSubscription = !1;
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
subscribe(e) {
|
|
1305
|
+
return this.subscriptions.add(e), () => this.subscriptions.delete(e);
|
|
1306
|
+
}
|
|
1307
|
+
resetAfterSSR() {
|
|
1308
|
+
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
|
|
1309
|
+
}
|
|
1310
|
+
constructor(e) {
|
|
1311
|
+
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
function tt(r) {
|
|
1315
|
+
let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: n = [] } = r, s = B(() => /* @__PURE__ */ new WeakMap(), n);
|
|
1316
|
+
return B(() => {
|
|
1317
|
+
if (t && typeof e == "function") {
|
|
1318
|
+
let v = [];
|
|
1319
|
+
for (let $ of t) {
|
|
1320
|
+
let d = s.get($);
|
|
1321
|
+
if (!d) {
|
|
1322
|
+
d = e($);
|
|
1323
|
+
var c, u;
|
|
1324
|
+
let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : $.key) !== null && u !== void 0 ? u : $.id;
|
|
1325
|
+
if (f == null) throw new Error("Could not determine key for item");
|
|
1326
|
+
i && (f = i + ":" + f), d = He(d, l ? {
|
|
1327
|
+
key: f,
|
|
1328
|
+
id: f,
|
|
1329
|
+
value: $
|
|
1330
|
+
} : {
|
|
1331
|
+
key: f
|
|
1332
|
+
}), s.set($, d);
|
|
1333
|
+
}
|
|
1334
|
+
v.push(d);
|
|
1335
|
+
}
|
|
1336
|
+
return v;
|
|
1337
|
+
} else if (typeof e != "function") return e;
|
|
1338
|
+
}, [
|
|
1339
|
+
e,
|
|
1340
|
+
t,
|
|
1341
|
+
s,
|
|
1342
|
+
i,
|
|
1343
|
+
l
|
|
1344
|
+
]);
|
|
1345
|
+
}
|
|
1346
|
+
const it = /* @__PURE__ */ G(!1), J = /* @__PURE__ */ G(null);
|
|
1347
|
+
function bi(r) {
|
|
1348
|
+
if (H(J))
|
|
1349
|
+
return r.content;
|
|
1350
|
+
let { collection: t, document: i } = qt(r.createCollection);
|
|
1351
|
+
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(mt, null, /* @__PURE__ */ S.createElement(J.Provider, {
|
|
1352
|
+
value: i
|
|
1353
|
+
}, r.content)), /* @__PURE__ */ S.createElement(zt, {
|
|
1354
|
+
render: r.children,
|
|
1355
|
+
collection: t
|
|
1356
|
+
}));
|
|
1357
|
+
}
|
|
1358
|
+
function zt({ collection: r, render: e }) {
|
|
1359
|
+
return e(r);
|
|
1360
|
+
}
|
|
1361
|
+
function Ut(r, e, t) {
|
|
1362
|
+
let i = Xe(), l = k(i);
|
|
1363
|
+
l.current = i;
|
|
1364
|
+
let n = X(() => l.current ? t() : e(), [
|
|
1365
|
+
e,
|
|
1366
|
+
t
|
|
1367
|
+
]);
|
|
1368
|
+
return Vt.useSyncExternalStore(r, n);
|
|
1369
|
+
}
|
|
1370
|
+
const Ht = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Ut;
|
|
1371
|
+
function qt(r) {
|
|
1372
|
+
let [e] = ie(() => new Nt(r?.() || new xe())), t = X((s) => e.subscribe(s), [
|
|
1373
|
+
e
|
|
1374
|
+
]), i = X(() => {
|
|
1375
|
+
let s = e.getCollection();
|
|
1376
|
+
return e.isSSR && e.resetAfterSSR(), s;
|
|
1377
|
+
}, [
|
|
1378
|
+
e
|
|
1379
|
+
]), l = X(() => (e.isSSR = !0, e.getCollection()), [
|
|
1380
|
+
e
|
|
1381
|
+
]), n = Ht(t, i, l);
|
|
1382
|
+
return ge(() => (e.isMounted = !0, () => {
|
|
1383
|
+
e.isMounted = !1;
|
|
1384
|
+
}), [
|
|
1385
|
+
e
|
|
1386
|
+
]), {
|
|
1387
|
+
collection: n,
|
|
1388
|
+
document: e
|
|
1389
|
+
};
|
|
1390
|
+
}
|
|
1391
|
+
const Ke = /* @__PURE__ */ G(null);
|
|
1392
|
+
function lt(r, e, t, i, l, n) {
|
|
1393
|
+
let s = X((u) => {
|
|
1394
|
+
u?.setProps(e, t, i, n);
|
|
1395
|
+
}, [
|
|
1396
|
+
e,
|
|
1397
|
+
t,
|
|
1398
|
+
i,
|
|
1399
|
+
n
|
|
1400
|
+
]), c = H(Ke);
|
|
1401
|
+
if (c) {
|
|
1402
|
+
let u = c.ownerDocument.nodesByProps.get(e);
|
|
1403
|
+
return u || (u = c.ownerDocument.createElement(r), u.setProps(e, t, i, n), c.appendChild(u), c.ownerDocument.updateCollection(), c.ownerDocument.nodesByProps.set(e, u)), l ? /* @__PURE__ */ S.createElement(Ke.Provider, {
|
|
1404
|
+
value: u
|
|
1405
|
+
}, l) : null;
|
|
1406
|
+
}
|
|
1407
|
+
return /* @__PURE__ */ S.createElement(r, {
|
|
1408
|
+
ref: s
|
|
1409
|
+
}, l);
|
|
1410
|
+
}
|
|
1411
|
+
function Si(r, e) {
|
|
1412
|
+
let t = ({ node: l }) => e(l.props, l.props.ref, l), i = qe((l, n) => {
|
|
1413
|
+
let s = H(Ie);
|
|
1414
|
+
if (!H(it)) {
|
|
1415
|
+
if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
|
|
1416
|
+
return e(l, n);
|
|
1417
|
+
}
|
|
1418
|
+
return lt(r, l, n, "children" in l ? l.children : null, null, (u) => (
|
|
1419
|
+
// Forward FocusableContext to real DOM tree so tooltips work.
|
|
1420
|
+
/* @__PURE__ */ S.createElement(Ie.Provider, {
|
|
1421
|
+
value: s
|
|
1422
|
+
}, /* @__PURE__ */ S.createElement(t, {
|
|
1423
|
+
node: u
|
|
1424
|
+
}))
|
|
1425
|
+
));
|
|
1426
|
+
});
|
|
1427
|
+
return i.displayName = e.name, i;
|
|
1428
|
+
}
|
|
1429
|
+
function Ki(r, e, t = nt) {
|
|
1430
|
+
let i = ({ node: n }) => e(n.props, n.props.ref, n), l = qe((n, s) => {
|
|
1431
|
+
let c = t(n);
|
|
1432
|
+
var u;
|
|
1433
|
+
return (u = lt(r, n, s, null, c, (v) => /* @__PURE__ */ S.createElement(i, {
|
|
1434
|
+
node: v
|
|
1435
|
+
}))) !== null && u !== void 0 ? u : /* @__PURE__ */ S.createElement(S.Fragment, null);
|
|
1436
|
+
});
|
|
1437
|
+
return l.displayName = e.name, l;
|
|
1438
|
+
}
|
|
1439
|
+
function nt(r) {
|
|
1440
|
+
return tt({
|
|
1441
|
+
...r,
|
|
1442
|
+
addIdAndValue: !0
|
|
1443
|
+
});
|
|
1444
|
+
}
|
|
1445
|
+
const Ne = /* @__PURE__ */ G(null);
|
|
1446
|
+
function $i(r) {
|
|
1447
|
+
let e = H(Ne), t = (e?.dependencies || []).concat(r.dependencies), i = r.idScope || e?.idScope, l = nt({
|
|
1448
|
+
...r,
|
|
1449
|
+
idScope: i,
|
|
1450
|
+
dependencies: t
|
|
1451
|
+
});
|
|
1452
|
+
return H(J) && (l = /* @__PURE__ */ S.createElement(Wt, null, l)), e = B(() => ({
|
|
1453
|
+
dependencies: t,
|
|
1454
|
+
idScope: i
|
|
1455
|
+
}), [
|
|
1456
|
+
i,
|
|
1457
|
+
...t
|
|
1458
|
+
]), /* @__PURE__ */ S.createElement(Ne.Provider, {
|
|
1459
|
+
value: e
|
|
1460
|
+
}, l);
|
|
1461
|
+
}
|
|
1462
|
+
function Wt({ children: r }) {
|
|
1463
|
+
let e = H(J), t = B(() => /* @__PURE__ */ S.createElement(J.Provider, {
|
|
1464
|
+
value: null
|
|
1465
|
+
}, /* @__PURE__ */ S.createElement(it.Provider, {
|
|
1466
|
+
value: !0
|
|
1467
|
+
}, r)), [
|
|
1468
|
+
r
|
|
1469
|
+
]);
|
|
1470
|
+
return Xe() ? /* @__PURE__ */ S.createElement(Ke.Provider, {
|
|
1471
|
+
value: e
|
|
1472
|
+
}, t) : /* @__PURE__ */ ht(t, e);
|
|
1473
|
+
}
|
|
1474
|
+
class R extends Set {
|
|
1475
|
+
constructor(e, t, i) {
|
|
1476
|
+
super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
function Gt(r, e) {
|
|
1480
|
+
if (r.size !== e.size) return !1;
|
|
1481
|
+
for (let t of r)
|
|
1482
|
+
if (!e.has(t)) return !1;
|
|
1483
|
+
return !0;
|
|
1484
|
+
}
|
|
1485
|
+
function xi(r) {
|
|
1486
|
+
let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: n = "all" } = r, s = k(!1), [, c] = ie(!1), u = k(null), v = k(null), [, $] = ie(null), d = B(() => ze(r.selectedKeys), [
|
|
1487
|
+
r.selectedKeys
|
|
1488
|
+
]), f = B(() => ze(r.defaultSelectedKeys, new R()), [
|
|
1489
|
+
r.defaultSelectedKeys
|
|
1490
|
+
]), [h, p] = bt(d, f, r.onSelectionChange), K = B(() => r.disabledKeys ? new Set(r.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
1491
|
+
r.disabledKeys
|
|
1492
|
+
]), [g, m] = ie(l);
|
|
1493
|
+
l === "replace" && g === "toggle" && typeof h == "object" && h.size === 0 && m("replace");
|
|
1494
|
+
let C = k(l);
|
|
1495
|
+
return Y(() => {
|
|
1496
|
+
l !== C.current && (m(l), C.current = l);
|
|
1497
|
+
}, [
|
|
1498
|
+
l
|
|
1499
|
+
]), {
|
|
1500
|
+
selectionMode: e,
|
|
1501
|
+
disallowEmptySelection: t,
|
|
1502
|
+
selectionBehavior: g,
|
|
1503
|
+
setSelectionBehavior: m,
|
|
1504
|
+
get isFocused() {
|
|
1505
|
+
return s.current;
|
|
1506
|
+
},
|
|
1507
|
+
setFocused(x) {
|
|
1508
|
+
s.current = x, c(x);
|
|
1509
|
+
},
|
|
1510
|
+
get focusedKey() {
|
|
1511
|
+
return u.current;
|
|
1512
|
+
},
|
|
1513
|
+
get childFocusStrategy() {
|
|
1514
|
+
return v.current;
|
|
1515
|
+
},
|
|
1516
|
+
setFocusedKey(x, E = "first") {
|
|
1517
|
+
u.current = x, v.current = E, $(x);
|
|
1518
|
+
},
|
|
1519
|
+
selectedKeys: h,
|
|
1520
|
+
setSelectedKeys(x) {
|
|
1521
|
+
(i || !Gt(x, h)) && p(x);
|
|
1522
|
+
},
|
|
1523
|
+
disabledKeys: K,
|
|
1524
|
+
disabledBehavior: n
|
|
1525
|
+
};
|
|
1526
|
+
}
|
|
1527
|
+
function ze(r, e) {
|
|
1528
|
+
return r ? r === "all" ? "all" : new R(r) : e;
|
|
1529
|
+
}
|
|
1530
|
+
class rt {
|
|
1531
|
+
/**
|
|
1532
|
+
* The type of selection that is allowed in the collection.
|
|
1533
|
+
*/
|
|
1534
|
+
get selectionMode() {
|
|
1535
|
+
return this.state.selectionMode;
|
|
1536
|
+
}
|
|
1537
|
+
/**
|
|
1538
|
+
* Whether the collection allows empty selection.
|
|
1539
|
+
*/
|
|
1540
|
+
get disallowEmptySelection() {
|
|
1541
|
+
return this.state.disallowEmptySelection;
|
|
1542
|
+
}
|
|
1543
|
+
/**
|
|
1544
|
+
* The selection behavior for the collection.
|
|
1545
|
+
*/
|
|
1546
|
+
get selectionBehavior() {
|
|
1547
|
+
return this.state.selectionBehavior;
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* Sets the selection behavior for the collection.
|
|
1551
|
+
*/
|
|
1552
|
+
setSelectionBehavior(e) {
|
|
1553
|
+
this.state.setSelectionBehavior(e);
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* Whether the collection is currently focused.
|
|
1557
|
+
*/
|
|
1558
|
+
get isFocused() {
|
|
1559
|
+
return this.state.isFocused;
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
* Sets whether the collection is focused.
|
|
1563
|
+
*/
|
|
1564
|
+
setFocused(e) {
|
|
1565
|
+
this.state.setFocused(e);
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* The current focused key in the collection.
|
|
1569
|
+
*/
|
|
1570
|
+
get focusedKey() {
|
|
1571
|
+
return this.state.focusedKey;
|
|
1572
|
+
}
|
|
1573
|
+
/** Whether the first or last child of the focused key should receive focus. */
|
|
1574
|
+
get childFocusStrategy() {
|
|
1575
|
+
return this.state.childFocusStrategy;
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* Sets the focused key.
|
|
1579
|
+
*/
|
|
1580
|
+
setFocusedKey(e, t) {
|
|
1581
|
+
(e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* The currently selected keys in the collection.
|
|
1585
|
+
*/
|
|
1586
|
+
get selectedKeys() {
|
|
1587
|
+
return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
|
|
1588
|
+
}
|
|
1589
|
+
/**
|
|
1590
|
+
* The raw selection value for the collection.
|
|
1591
|
+
* Either 'all' for select all, or a set of keys.
|
|
1592
|
+
*/
|
|
1593
|
+
get rawSelection() {
|
|
1594
|
+
return this.state.selectedKeys;
|
|
1595
|
+
}
|
|
1596
|
+
/**
|
|
1597
|
+
* Returns whether a key is selected.
|
|
1598
|
+
*/
|
|
1599
|
+
isSelected(e) {
|
|
1600
|
+
if (this.state.selectionMode === "none") return !1;
|
|
1601
|
+
let t = this.getKey(e);
|
|
1602
|
+
return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
|
|
1603
|
+
}
|
|
1604
|
+
/**
|
|
1605
|
+
* Whether the selection is empty.
|
|
1606
|
+
*/
|
|
1607
|
+
get isEmpty() {
|
|
1608
|
+
return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
|
|
1609
|
+
}
|
|
1610
|
+
/**
|
|
1611
|
+
* Whether all items in the collection are selected.
|
|
1612
|
+
*/
|
|
1613
|
+
get isSelectAll() {
|
|
1614
|
+
if (this.isEmpty) return !1;
|
|
1615
|
+
if (this.state.selectedKeys === "all") return !0;
|
|
1616
|
+
if (this._isSelectAll != null) return this._isSelectAll;
|
|
1617
|
+
let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
|
|
1618
|
+
return this._isSelectAll = e.every((i) => t.has(i)), this._isSelectAll;
|
|
1619
|
+
}
|
|
1620
|
+
get firstSelectedKey() {
|
|
1621
|
+
let e = null;
|
|
1622
|
+
for (let i of this.state.selectedKeys) {
|
|
1623
|
+
let l = this.collection.getItem(i);
|
|
1624
|
+
(!e || l && ye(this.collection, l, e) < 0) && (e = l);
|
|
1625
|
+
}
|
|
1626
|
+
var t;
|
|
1627
|
+
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1628
|
+
}
|
|
1629
|
+
get lastSelectedKey() {
|
|
1630
|
+
let e = null;
|
|
1631
|
+
for (let i of this.state.selectedKeys) {
|
|
1632
|
+
let l = this.collection.getItem(i);
|
|
1633
|
+
(!e || l && ye(this.collection, l, e) > 0) && (e = l);
|
|
1634
|
+
}
|
|
1635
|
+
var t;
|
|
1636
|
+
return (t = e?.key) !== null && t !== void 0 ? t : null;
|
|
1637
|
+
}
|
|
1638
|
+
get disabledKeys() {
|
|
1639
|
+
return this.state.disabledKeys;
|
|
1640
|
+
}
|
|
1641
|
+
get disabledBehavior() {
|
|
1642
|
+
return this.state.disabledBehavior;
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* Extends the selection to the given key.
|
|
1646
|
+
*/
|
|
1647
|
+
extendSelection(e) {
|
|
1648
|
+
if (this.selectionMode === "none") return;
|
|
1649
|
+
if (this.selectionMode === "single") {
|
|
1650
|
+
this.replaceSelection(e);
|
|
1651
|
+
return;
|
|
1652
|
+
}
|
|
1653
|
+
let t = this.getKey(e);
|
|
1654
|
+
if (t == null) return;
|
|
1655
|
+
let i;
|
|
1656
|
+
if (this.state.selectedKeys === "all") i = new R([
|
|
1657
|
+
t
|
|
1658
|
+
], t, t);
|
|
1659
|
+
else {
|
|
1660
|
+
let s = this.state.selectedKeys;
|
|
1661
|
+
var l;
|
|
1662
|
+
let c = (l = s.anchorKey) !== null && l !== void 0 ? l : t;
|
|
1663
|
+
i = new R(s, c, t);
|
|
1664
|
+
var n;
|
|
1665
|
+
for (let u of this.getKeyRange(c, (n = s.currentKey) !== null && n !== void 0 ? n : t)) i.delete(u);
|
|
1666
|
+
for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
|
|
1667
|
+
}
|
|
1668
|
+
this.state.setSelectedKeys(i);
|
|
1669
|
+
}
|
|
1670
|
+
getKeyRange(e, t) {
|
|
1671
|
+
let i = this.collection.getItem(e), l = this.collection.getItem(t);
|
|
1672
|
+
return i && l ? ye(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
|
|
1673
|
+
}
|
|
1674
|
+
getKeyRangeInternal(e, t) {
|
|
1675
|
+
var i;
|
|
1676
|
+
if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
|
|
1677
|
+
let l = [], n = e;
|
|
1678
|
+
for (; n != null; ) {
|
|
1679
|
+
let s = this.collection.getItem(n);
|
|
1680
|
+
if (s && (s.type === "item" || s.type === "cell" && this.allowsCellSelection) && l.push(n), n === t) return l;
|
|
1681
|
+
n = this.collection.getKeyAfter(n);
|
|
1682
|
+
}
|
|
1683
|
+
return [];
|
|
1684
|
+
}
|
|
1685
|
+
getKey(e) {
|
|
1686
|
+
let t = this.collection.getItem(e);
|
|
1687
|
+
if (!t || t.type === "cell" && this.allowsCellSelection) return e;
|
|
1688
|
+
for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
|
|
1689
|
+
return !t || t.type !== "item" ? null : t.key;
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
* Toggles whether the given key is selected.
|
|
1693
|
+
*/
|
|
1694
|
+
toggleSelection(e) {
|
|
1695
|
+
if (this.selectionMode === "none") return;
|
|
1696
|
+
if (this.selectionMode === "single" && !this.isSelected(e)) {
|
|
1697
|
+
this.replaceSelection(e);
|
|
1698
|
+
return;
|
|
1699
|
+
}
|
|
1700
|
+
let t = this.getKey(e);
|
|
1701
|
+
if (t == null) return;
|
|
1702
|
+
let i = new R(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
|
|
1703
|
+
i.has(t) ? i.delete(t) : this.canSelectItem(t) && (i.add(t), i.anchorKey = t, i.currentKey = t), !(this.disallowEmptySelection && i.size === 0) && this.state.setSelectedKeys(i);
|
|
1704
|
+
}
|
|
1705
|
+
/**
|
|
1706
|
+
* Replaces the selection with only the given key.
|
|
1707
|
+
*/
|
|
1708
|
+
replaceSelection(e) {
|
|
1709
|
+
if (this.selectionMode === "none") return;
|
|
1710
|
+
let t = this.getKey(e);
|
|
1711
|
+
if (t == null) return;
|
|
1712
|
+
let i = this.canSelectItem(t) ? new R([
|
|
1713
|
+
t
|
|
1714
|
+
], t, t) : new R();
|
|
1715
|
+
this.state.setSelectedKeys(i);
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* Replaces the selection with the given keys.
|
|
1719
|
+
*/
|
|
1720
|
+
setSelectedKeys(e) {
|
|
1721
|
+
if (this.selectionMode === "none") return;
|
|
1722
|
+
let t = new R();
|
|
1723
|
+
for (let i of e) {
|
|
1724
|
+
let l = this.getKey(i);
|
|
1725
|
+
if (l != null && (t.add(l), this.selectionMode === "single"))
|
|
1726
|
+
break;
|
|
1727
|
+
}
|
|
1728
|
+
this.state.setSelectedKeys(t);
|
|
1729
|
+
}
|
|
1730
|
+
getSelectAllKeys() {
|
|
1731
|
+
let e = [], t = (i) => {
|
|
1732
|
+
for (; i != null; ) {
|
|
1733
|
+
if (this.canSelectItem(i)) {
|
|
1734
|
+
var l;
|
|
1735
|
+
let s = this.collection.getItem(i);
|
|
1736
|
+
s?.type === "item" && e.push(i);
|
|
1737
|
+
var n;
|
|
1738
|
+
s?.hasChildNodes && (this.allowsCellSelection || s.type !== "item") && t((n = (l = Rt(At(s, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && n !== void 0 ? n : null);
|
|
1739
|
+
}
|
|
1740
|
+
i = this.collection.getKeyAfter(i);
|
|
1741
|
+
}
|
|
1742
|
+
};
|
|
1743
|
+
return t(this.collection.getFirstKey()), e;
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* Selects all items in the collection.
|
|
1747
|
+
*/
|
|
1748
|
+
selectAll() {
|
|
1749
|
+
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Removes all keys from the selection.
|
|
1753
|
+
*/
|
|
1754
|
+
clearSelection() {
|
|
1755
|
+
!this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new R());
|
|
1756
|
+
}
|
|
1757
|
+
/**
|
|
1758
|
+
* Toggles between select all and an empty selection.
|
|
1759
|
+
*/
|
|
1760
|
+
toggleSelectAll() {
|
|
1761
|
+
this.isSelectAll ? this.clearSelection() : this.selectAll();
|
|
1762
|
+
}
|
|
1763
|
+
select(e, t) {
|
|
1764
|
+
this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* Returns whether the current selection is equal to the given selection.
|
|
1768
|
+
*/
|
|
1769
|
+
isSelectionEqual(e) {
|
|
1770
|
+
if (e === this.state.selectedKeys) return !0;
|
|
1771
|
+
let t = this.selectedKeys;
|
|
1772
|
+
if (e.size !== t.size) return !1;
|
|
1773
|
+
for (let i of e)
|
|
1774
|
+
if (!t.has(i)) return !1;
|
|
1775
|
+
for (let i of t)
|
|
1776
|
+
if (!e.has(i)) return !1;
|
|
1777
|
+
return !0;
|
|
1778
|
+
}
|
|
1779
|
+
canSelectItem(e) {
|
|
1780
|
+
var t;
|
|
1781
|
+
if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
|
|
1782
|
+
let i = this.collection.getItem(e);
|
|
1783
|
+
return !(!i || !(i == null || (t = i.props) === null || t === void 0) && t.isDisabled || i.type === "cell" && !this.allowsCellSelection);
|
|
1784
|
+
}
|
|
1785
|
+
isDisabled(e) {
|
|
1786
|
+
var t, i;
|
|
1787
|
+
return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.isDisabled));
|
|
1788
|
+
}
|
|
1789
|
+
isLink(e) {
|
|
1790
|
+
var t, i;
|
|
1791
|
+
return !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.href);
|
|
1792
|
+
}
|
|
1793
|
+
getItemProps(e) {
|
|
1794
|
+
var t;
|
|
1795
|
+
return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
|
|
1796
|
+
}
|
|
1797
|
+
withCollection(e) {
|
|
1798
|
+
return new rt(e, this.state, {
|
|
1799
|
+
allowsCellSelection: this.allowsCellSelection,
|
|
1800
|
+
layoutDelegate: this.layoutDelegate || void 0
|
|
1801
|
+
});
|
|
1802
|
+
}
|
|
1803
|
+
constructor(e, t, i) {
|
|
1804
|
+
this.collection = e, this.state = t;
|
|
1805
|
+
var l;
|
|
1806
|
+
this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
const Ci = /* @__PURE__ */ G(null), _t = {
|
|
1810
|
+
CollectionRoot({ collection: r, renderDropIndicator: e }) {
|
|
1811
|
+
return Ue(r, null, e);
|
|
1812
|
+
},
|
|
1813
|
+
CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
|
|
1814
|
+
return Ue(r, e, t);
|
|
1815
|
+
}
|
|
1816
|
+
};
|
|
1817
|
+
function Ue(r, e, t) {
|
|
1818
|
+
return tt({
|
|
1819
|
+
items: e ? r.getChildren(e.key) : r,
|
|
1820
|
+
dependencies: [
|
|
1821
|
+
t
|
|
1822
|
+
],
|
|
1823
|
+
children(i) {
|
|
1824
|
+
let l = i.render(i);
|
|
1825
|
+
return !t || i.type !== "item" ? l : /* @__PURE__ */ S.createElement(S.Fragment, null, t({
|
|
1826
|
+
type: "item",
|
|
1827
|
+
key: i.key,
|
|
1828
|
+
dropPosition: "before"
|
|
1829
|
+
}), l, jt(r, i, t));
|
|
1830
|
+
}
|
|
1831
|
+
});
|
|
1832
|
+
}
|
|
1833
|
+
function jt(r, e, t) {
|
|
1834
|
+
let i = e.key, l = r.getKeyAfter(i), n = l != null ? r.getItem(l) : null;
|
|
1835
|
+
for (; n != null && n.type !== "item"; )
|
|
1836
|
+
l = r.getKeyAfter(n.key), n = l != null ? r.getItem(l) : null;
|
|
1837
|
+
let s = e.nextKey != null ? r.getItem(e.nextKey) : null;
|
|
1838
|
+
for (; s != null && s.type !== "item"; ) s = s.nextKey != null ? r.getItem(s.nextKey) : null;
|
|
1839
|
+
let c = [];
|
|
1840
|
+
if (s == null) {
|
|
1841
|
+
let u = e;
|
|
1842
|
+
for (; u && (!n || u.parentKey !== n.parentKey && n.level < u.level); ) {
|
|
1843
|
+
let v = t({
|
|
1844
|
+
type: "item",
|
|
1845
|
+
key: u.key,
|
|
1846
|
+
dropPosition: "after"
|
|
1847
|
+
});
|
|
1848
|
+
/* @__PURE__ */ st(v) && c.push(/* @__PURE__ */ He(v, {
|
|
1849
|
+
key: `${u.key}-after`
|
|
1850
|
+
})), u = u.parentKey != null ? r.getItem(u.parentKey) : null;
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
return c;
|
|
1854
|
+
}
|
|
1855
|
+
const wi = /* @__PURE__ */ G(_t);
|
|
1856
|
+
function Di(r) {
|
|
1857
|
+
return B(() => r != null ? /* @__PURE__ */ new Set([
|
|
1858
|
+
r
|
|
1859
|
+
]) : null, [
|
|
1860
|
+
r
|
|
1861
|
+
]);
|
|
1862
|
+
}
|
|
1863
|
+
export {
|
|
1864
|
+
pi as $,
|
|
1865
|
+
tt as A,
|
|
1866
|
+
xe as B,
|
|
1867
|
+
$e as C,
|
|
1868
|
+
xt as D,
|
|
1869
|
+
xi as a,
|
|
1870
|
+
gi as b,
|
|
1871
|
+
rt as c,
|
|
1872
|
+
Si as d,
|
|
1873
|
+
Ki as e,
|
|
1874
|
+
bi as f,
|
|
1875
|
+
$i as g,
|
|
1876
|
+
wi as h,
|
|
1877
|
+
vi as i,
|
|
1878
|
+
Ci as j,
|
|
1879
|
+
It as k,
|
|
1880
|
+
yi as l,
|
|
1881
|
+
At as m,
|
|
1882
|
+
Kt as n,
|
|
1883
|
+
Ze as o,
|
|
1884
|
+
St as p,
|
|
1885
|
+
Ct as q,
|
|
1886
|
+
Je as r,
|
|
1887
|
+
q as s,
|
|
1888
|
+
wt as t,
|
|
1889
|
+
_t as u,
|
|
1890
|
+
Di as v,
|
|
1891
|
+
mi as w,
|
|
1892
|
+
Rt as x,
|
|
1893
|
+
Tt as y,
|
|
1894
|
+
Ae as z
|
|
1895
|
+
};
|
|
1896
|
+
//# sourceMappingURL=Collection-DFZhstai.es.js.map
|