@jobber/components 5.5.1 → 5.5.2
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/AnimatedPresence/index.cjs +1 -1
- package/dist/AnimatedPresence/index.mjs +1 -1
- package/dist/AnimatedSwitcher/index.cjs +2 -2
- package/dist/AnimatedSwitcher/index.mjs +2 -2
- package/dist/{AnimatedSwitcher-DzzrYa4s.js → AnimatedSwitcher-D1BETJLg.js} +1 -1
- package/dist/{AnimatedSwitcher-CzXx6iyN.js → AnimatedSwitcher-DIjGGgeN.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/Autocomplete/index.cjs +18 -19
- package/dist/Autocomplete/index.mjs +18 -19
- package/dist/{Autocomplete-DIents-Q.js → Autocomplete-CPHisr_N.js} +9 -9
- package/dist/{Autocomplete-Dldw-lr_.js → Autocomplete-DBOib-Iu.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-D1SiLPgl.js → Avatar-D4zcPZsk.js} +1 -1
- package/dist/{Avatar-1VHVNk2x.js → Avatar-NVUHq8-8.js} +1 -1
- package/dist/Banner/components/BannerIcon/index.cjs +2 -2
- package/dist/Banner/components/BannerIcon/index.mjs +2 -2
- package/dist/Banner/index.cjs +12 -12
- package/dist/Banner/index.mjs +12 -12
- package/dist/{Banner-CvL3_Q2D.js → Banner-Bj8KMmFu.js} +5 -5
- package/dist/{Banner-CnxNMHyq.js → Banner-T1ZfR0Lg.js} +5 -5
- package/dist/{BannerIcon-H8ZcByIa.js → BannerIcon-CPh54VN3.js} +1 -1
- package/dist/{BannerIcon-DED_vzl8.js → BannerIcon-CoX12xvO.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-CGvE7nWD.js → Button-BoSOuDKT.js} +2 -2
- package/dist/{Button-CXlZHdbe.js → Button-DEy32I1f.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-BHvqhQ43.js → ButtonDismiss-DnRyTH78.js} +1 -1
- package/dist/{ButtonDismiss-NI1Aucrv.js → ButtonDismiss-iz6LRnYT.js} +1 -1
- package/dist/Card/index.cjs +9 -14
- package/dist/Card/index.mjs +9 -14
- package/dist/{Card-CrtDFOau.js → Card-DJq03FIx.js} +3 -3
- package/dist/{Card-DPCQ2CIJ.js → Card-fkVpzPvS.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-C2Q8n6WC.js → Checkbox-Dpgfo-gP.js} +3 -3
- package/dist/{Checkbox-CczqDa4T.js → Checkbox-s9xBPgKs.js} +3 -3
- package/dist/Chip/hooks/index.cjs +1 -1
- package/dist/Chip/hooks/index.mjs +1 -1
- package/dist/Chip/index.cjs +11 -11
- package/dist/Chip/index.mjs +11 -11
- package/dist/{Chip-DDJe-3Ek.js → Chip-BOvmyk9u.js} +6 -6
- package/dist/{Chip-BSivQl8r.js → Chip-C77ErCNh.js} +6 -6
- package/dist/{ChipDismissible-CqcIKKlG.js → ChipDismissible-CBiA0PQP.js} +3 -3
- package/dist/{ChipDismissible-VD5K8_qm.js → ChipDismissible-CRT5Z8iJ.js} +3 -3
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +10 -10
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +10 -10
- package/dist/Chips/InternalChipDismissible/index.cjs +21 -21
- package/dist/Chips/InternalChipDismissible/index.mjs +21 -21
- package/dist/Chips/index.cjs +22 -22
- package/dist/Chips/index.mjs +22 -22
- package/dist/{Chips-CfpNNxJl.js → Chips-DHkT-hCL.js} +2 -2
- package/dist/{Chips-CD6-jZqr.js → Chips-qX0reALI.js} +2 -2
- package/dist/Combobox/components/ComboboxAction/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxAction/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxActivator/index.cjs +13 -13
- package/dist/Combobox/components/ComboboxActivator/index.mjs +13 -13
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/index.cjs +21 -21
- package/dist/Combobox/components/ComboboxContent/index.mjs +21 -21
- package/dist/Combobox/components/ComboboxOption/index.cjs +5 -5
- package/dist/Combobox/components/ComboboxOption/index.mjs +5 -5
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +12 -12
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +12 -12
- package/dist/Combobox/index.cjs +38 -38
- package/dist/Combobox/index.mjs +38 -38
- package/dist/{Combobox-Qqk_-A_X.js → Combobox-BKj4C0Sf.js} +9 -9
- package/dist/{Combobox-CsQ_JX6f.js → Combobox-DKKg-Zpn.js} +9 -9
- package/dist/{ComboboxAction-KlhwfM1J.js → ComboboxAction-6iZreFsV.js} +2 -2
- package/dist/{ComboboxAction-BVsgwYAh.js → ComboboxAction-DfKcxyKv.js} +2 -2
- package/dist/{ComboboxActivator-D-Qh12WP.js → ComboboxActivator-Bd5JfurM.js} +4 -4
- package/dist/{ComboboxActivator-B73GtXD4.js → ComboboxActivator-BdQw-Rg3.js} +4 -4
- package/dist/{ComboboxContent-DRWUfQWH.js → ComboboxContent-CrXPJy9j.js} +7 -7
- package/dist/{ComboboxContent-CdFmWCoY.js → ComboboxContent-Dc2RZDyH.js} +7 -7
- package/dist/{ComboboxContentHeader-qdoz1RhH.js → ComboboxContentHeader-CTWFb1B0.js} +2 -2
- package/dist/{ComboboxContentHeader-Bu6SgPA6.js → ComboboxContentHeader-z02niPbQ.js} +2 -2
- package/dist/{ComboboxContentList-Cs7ALvzy.js → ComboboxContentList-CFSu13t1.js} +6 -6
- package/dist/{ComboboxContentList-CYpHgdM8.js → ComboboxContentList-CfdkPgx0.js} +6 -6
- package/dist/{ComboboxContentSearch-Hg16lBT5.js → ComboboxContentSearch-BAsUS24K.js} +1 -1
- package/dist/{ComboboxContentSearch-BzsaE5g5.js → ComboboxContentSearch-CWCot9aY.js} +1 -1
- package/dist/{ComboboxLoadMore-B0IzDHsr.js → ComboboxLoadMore-BntH378g.js} +1 -1
- package/dist/{ComboboxLoadMore-CzJ6Y-_N.js → ComboboxLoadMore-CDR4tJOX.js} +1 -1
- package/dist/{ComboboxOption-BOk9SRph.js → ComboboxOption-DBdHXSB0.js} +3 -3
- package/dist/{ComboboxOption-w2cQKSdi.js → ComboboxOption-DatZTbe2.js} +3 -3
- package/dist/{ComboboxProvider-CmcbdJAW.js → ComboboxProvider-C0Q9Cneb.js} +1 -1
- package/dist/{ComboboxProvider-U3yBQe1P.js → ComboboxProvider-u1CaJmpM.js} +1 -1
- package/dist/{ComboboxTrigger-BUgIe2Tc.js → ComboboxTrigger-D0lLq_Ud.js} +4 -4
- package/dist/{ComboboxTrigger-J1ott7CZ.js → ComboboxTrigger-QOQlCJ8r.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-r69KM8Hn.js → ConfirmationModal-BsxTqZXI.js} +4 -4
- package/dist/{ConfirmationModal-BfFKJ7Wp.js → ConfirmationModal-CsYuxdkB.js} +4 -4
- package/dist/Content/index.cjs +1 -1
- package/dist/Content/index.mjs +1 -1
- package/dist/Countdown/index.cjs +3 -3
- package/dist/Countdown/index.mjs +3 -3
- package/dist/{Countdown-CzGueV53.js → Countdown-CVXpFO7o.js} +1 -1
- package/dist/{Countdown-DFik2uNe.js → Countdown-Didi_8Am.js} +1 -1
- package/dist/DataDump/index.cjs +12 -17
- package/dist/DataDump/index.mjs +12 -17
- package/dist/{DataDump-B9YoVNbV.js → DataDump-Bh0RVAij.js} +3 -3
- package/dist/{DataDump-BpyPEP9k.js → DataDump-ByEctxmu.js} +3 -3
- package/dist/DataList/components/DataListAction/index.cjs +4 -4
- package/dist/DataList/components/DataListAction/index.mjs +4 -4
- package/dist/DataList/components/DataListActions/index.cjs +29 -29
- package/dist/DataList/components/DataListActions/index.mjs +29 -29
- package/dist/DataList/components/DataListActionsMenu/index.cjs +7 -7
- package/dist/DataList/components/DataListActionsMenu/index.mjs +7 -7
- package/dist/DataList/components/DataListBulkActions/index.cjs +31 -31
- package/dist/DataList/components/DataListBulkActions/index.mjs +31 -31
- package/dist/DataList/components/DataListEmptyState/index.cjs +9 -9
- package/dist/DataList/components/DataListEmptyState/index.mjs +9 -9
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +40 -40
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +40 -40
- package/dist/DataList/components/DataListFilters/index.cjs +52 -52
- package/dist/DataList/components/DataListFilters/index.mjs +52 -52
- package/dist/DataList/components/DataListHeader/index.cjs +38 -38
- package/dist/DataList/components/DataListHeader/index.mjs +38 -38
- package/dist/DataList/components/DataListHeaderTile/components/index.cjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/components/index.mjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/index.cjs +11 -11
- package/dist/DataList/components/DataListHeaderTile/index.mjs +11 -11
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +6 -6
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +6 -6
- package/dist/DataList/components/DataListItem/index.cjs +37 -37
- package/dist/DataList/components/DataListItem/index.mjs +37 -37
- package/dist/DataList/components/DataListItemActions/index.cjs +30 -30
- package/dist/DataList/components/DataListItemActions/index.mjs +30 -30
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +12 -12
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +12 -12
- package/dist/DataList/components/DataListItems/index.cjs +38 -38
- package/dist/DataList/components/DataListItems/index.mjs +38 -38
- package/dist/DataList/components/DataListLayout/index.cjs +41 -41
- package/dist/DataList/components/DataListLayout/index.mjs +41 -41
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/index.cjs +20 -20
- package/dist/DataList/components/DataListLayoutActions/index.mjs +20 -20
- package/dist/DataList/components/DataListLoadMore/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadMore/index.mjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.mjs +10 -10
- package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
- package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
- package/dist/DataList/components/DataListSearch/index.cjs +19 -20
- package/dist/DataList/components/DataListSearch/index.mjs +19 -20
- package/dist/DataList/components/DataListStatusBar/index.cjs +20 -20
- package/dist/DataList/components/DataListStatusBar/index.mjs +20 -20
- package/dist/DataList/components/DataListStickyHeader/index.cjs +2 -2
- package/dist/DataList/components/DataListStickyHeader/index.mjs +2 -2
- package/dist/DataList/components/DataListTags/index.cjs +4 -4
- package/dist/DataList/components/DataListTags/index.mjs +4 -4
- package/dist/DataList/components/DataListTotalCount/index.cjs +6 -6
- package/dist/DataList/components/DataListTotalCount/index.mjs +6 -6
- package/dist/DataList/context/DataListContext/index.cjs +3 -3
- package/dist/DataList/context/DataListContext/index.mjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.cjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.mjs +3 -3
- package/dist/DataList/index.cjs +82 -83
- package/dist/DataList/index.mjs +82 -83
- package/dist/{DataList-CtP8njD2.js → DataList-CRyMcMnx.js} +21 -21
- package/dist/{DataList-BTepzUl4.js → DataList-DCmi8wtz.js} +21 -21
- package/dist/{DataList.utils-kej44QlA.js → DataList.utils-BS6tnJiL.js} +8 -8
- package/dist/{DataList.utils-znX1kqbg.js → DataList.utils-BaGrGKsd.js} +8 -8
- package/dist/{DataListAction-DbwZghda.js → DataListAction-ChCWNvo9.js} +3 -3
- package/dist/{DataListAction-CkonEDRN.js → DataListAction-Dv5DSbzS.js} +3 -3
- package/dist/{DataListActions-qHGtHmXR.js → DataListActions-DDfdVYyj.js} +6 -6
- package/dist/{DataListActions-CzsWIspH.js → DataListActions-NWyFPvwj.js} +6 -6
- package/dist/{DataListActionsMenu-C7CRt0mQ.js → DataListActionsMenu-DUb3kju5.js} +5 -5
- package/dist/{DataListActionsMenu-CB-vc2_r.js → DataListActionsMenu-DXoHLr13.js} +5 -5
- package/dist/{DataListBulkActions-CRSARWRS.js → DataListBulkActions-DPESOD2r.js} +3 -3
- package/dist/{DataListBulkActions-KKqTKB3I.js → DataListBulkActions-veZHXKYS.js} +3 -3
- package/dist/{DataListContext-CoGZ8aNo.js → DataListContext-BjB_tt78.js} +1 -1
- package/dist/{DataListContext-Dl914A37.js → DataListContext-BpuRohw3.js} +1 -1
- package/dist/{DataListEmptyState-C3mqAhf4.js → DataListEmptyState-Co49ELaF.js} +4 -4
- package/dist/{DataListEmptyState-Dxhv6c6g.js → DataListEmptyState-DohmOiyK.js} +4 -4
- package/dist/{DataListFilters-jBGJv2pe.js → DataListFilters-0ThmMf88.js} +5 -5
- package/dist/{DataListFilters-CXNIA3bF.js → DataListFilters-DfHZQ8zj.js} +5 -5
- package/dist/{DataListHeader-QMpWLcJo.js → DataListHeader-BIhAdHrH.js} +11 -11
- package/dist/{DataListHeader-DTsbKy4g.js → DataListHeader-BhhoDzZG.js} +11 -11
- package/dist/{DataListHeaderTile-CRv14GRH.js → DataListHeaderTile-Ark3S583.js} +5 -5
- package/dist/{DataListHeaderTile-CxrPo-S3.js → DataListHeaderTile-P7bC21nE.js} +5 -5
- package/dist/{DataListItem-D2VnizJv.js → DataListItem-B_XDnjge.js} +10 -10
- package/dist/{DataListItem-Uno7mNLN.js → DataListItem-DImWEeP6.js} +10 -10
- package/dist/{DataListItemActions-Xi1RS2a3.js → DataListItemActions-CJo3QVz3.js} +2 -2
- package/dist/{DataListItemActions-CihfXlFq.js → DataListItemActions-txFOKXAh.js} +2 -2
- package/dist/{DataListItemActionsOverflow-QFnpYIdq.js → DataListItemActionsOverflow-Co5vhz5B.js} +3 -3
- package/dist/{DataListItemActionsOverflow-CPB3nMCZ.js → DataListItemActionsOverflow-DZxONFEa.js} +3 -3
- package/dist/{DataListItemClickable-CmuGNPhz.js → DataListItemClickable-DZQRBGsT.js} +3 -3
- package/dist/{DataListItemClickable-BIYA0ITj.js → DataListItemClickable-jKg-EZlP.js} +3 -3
- package/dist/{DataListItems-CtOOUucz.js → DataListItems-B4wB_nHA.js} +3 -3
- package/dist/{DataListItems-g6fv-f51.js → DataListItems-B78jlcdh.js} +3 -3
- package/dist/{DataListLayout-ZZnxrLEG.js → DataListLayout-BF3KQzzd.js} +3 -3
- package/dist/{DataListLayout-D74bDds-.js → DataListLayout-DnzJK23p.js} +3 -3
- package/dist/{DataListLayoutActions-5TXYlcnA.js → DataListLayoutActions-BMNyANVA.js} +4 -4
- package/dist/{DataListLayoutActions-B3Uz_4PJ.js → DataListLayoutActions-xBGF07HP.js} +4 -4
- package/dist/{DataListLayoutContext-DUyBA-ln.js → DataListLayoutContext-CuRd3Z30.js} +1 -1
- package/dist/{DataListLayoutContext-CUMeDxt4.js → DataListLayoutContext-D5nuVX4-.js} +1 -1
- package/dist/{DataListLoadMore-BmYAVVjw.js → DataListLoadMore-B8MgY5aB.js} +5 -5
- package/dist/{DataListLoadMore-D6e6i40V.js → DataListLoadMore-tICYzdKP.js} +5 -5
- package/dist/{DataListLoadingState-B77t8hMN.js → DataListLoadingState-DVicwvOJ.js} +3 -3
- package/dist/{DataListLoadingState-DO5cW0tE.js → DataListLoadingState-Yh8HwCVe.js} +3 -3
- package/dist/{DataListOverflowFade-CtLVtdEn.js → DataListOverflowFade-BxHFR1L7.js} +1 -1
- package/dist/{DataListOverflowFade-DWUaVRdo.js → DataListOverflowFade-DUN2HpTQ.js} +1 -1
- package/dist/{DataListSearch-Ckny_5gO.js → DataListSearch-Un26ZnJf.js} +6 -6
- package/dist/{DataListSearch-DUdLT-vm.js → DataListSearch-m1TtnXXH.js} +6 -6
- package/dist/{DataListSort-Bfj-RaL-.js → DataListSort-BZAoudun.js} +6 -6
- package/dist/{DataListSort-5bPxAuFk.js → DataListSort-D6tbwD3f.js} +6 -6
- package/dist/{DataListSortingOptions-XsxbOMUa.js → DataListSortingOptions-ngEQAiff.js} +3 -3
- package/dist/{DataListSortingOptions-CmdM-1MR.js → DataListSortingOptions-yVgo90UK.js} +3 -3
- package/dist/{DataListStatusBar-Bh4wzqgR.js → DataListStatusBar-Ddzi8j1U.js} +2 -2
- package/dist/{DataListStatusBar-Y1qlBAbM.js → DataListStatusBar-P-EtkmLd.js} +2 -2
- package/dist/{DataListStickyHeader-DRmFdaDV.js → DataListStickyHeader-BvQF-9OB.js} +1 -1
- package/dist/{DataListStickyHeader-CEkFj_bx.js → DataListStickyHeader-CtSvLriW.js} +1 -1
- package/dist/{DataListTags-DNA2l_ta.js → DataListTags-BzlPhebd.js} +2 -2
- package/dist/{DataListTags-CUKNmIqC.js → DataListTags-HbU9RF0R.js} +2 -2
- package/dist/{DataListTotalCount-B-fofand.js → DataListTotalCount-Gz_tyn2i.js} +2 -2
- package/dist/{DataListTotalCount-DYQBQZ57.js → DataListTotalCount-kFTQhrAe.js} +2 -2
- package/dist/DataTable/index.cjs +18 -19
- package/dist/DataTable/index.mjs +18 -19
- package/dist/DataTable/test-utilities/index.cjs +6 -6
- package/dist/DataTable/test-utilities/index.mjs +6 -6
- package/dist/{DataTable-CVRRgh_F.js → DataTable-BKphoQ4S.js} +6 -6
- package/dist/{DataTable-i780p2eg.js → DataTable-CMiYAdZr.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-BBzhg825.js → DatePicker-CR8YbNu3.js} +11 -11
- package/dist/{DatePicker-B4c_jANd.js → DatePicker-DxhqhGZt.js} +11 -11
- package/dist/{DayOfMonthSelect-DL37iMQv.js → DayOfMonthSelect-2rht3ZBt.js} +2 -2
- package/dist/{DayOfMonthSelect-BhE5kAY2.js → DayOfMonthSelect-Bq06eJ2O.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-8qPGggIn.js → DescriptionList-DUK7KkpH.js} +1 -1
- package/dist/{DescriptionList-Be1wdXz6.js → DescriptionList-RaiqP1Uc.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-7zVe5veL.js → Disclosure-C7BG58tr.js} +3 -3
- package/dist/{Disclosure-BzourSW9.js → Disclosure-DtPGPLju.js} +3 -3
- package/dist/Divider/index.cjs +1 -1
- package/dist/Divider/index.mjs +1 -1
- package/dist/Drawer/index.cjs +6 -6
- package/dist/Drawer/index.mjs +6 -6
- package/dist/{DrawerGrid-DejQ3Q-t.js → DrawerGrid-BpZmiD6h.js} +2 -2
- package/dist/{DrawerGrid-D1XyAJc6.js → DrawerGrid-bDo0DDyQ.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-BqeSYc-h.js → Emphasis-BCEQIcPM.js} +1 -1
- package/dist/{Emphasis-uVo_kOki.js → Emphasis-CK_muuMm.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-HCUWqQrW.js → FeatureSwitch-CG8p5Ch7.js} +7 -7
- package/dist/{FeatureSwitch-B7kmQYeQ.js → FeatureSwitch-Cf0-qh4L.js} +7 -7
- package/dist/Flex/index.cjs +1 -1
- package/dist/Flex/index.mjs +1 -1
- package/dist/Form/index.cjs +2 -2
- package/dist/Form/index.mjs +2 -2
- package/dist/{Form-DA0tcgvP.js → Form-X9FKErCh.js} +1 -1
- package/dist/{Form-Tc2J79yY.js → Form-axAFt5TW.js} +1 -1
- package/dist/FormField/hooks/useFormFieldFocus.d.ts +0 -3
- package/dist/FormField/index.cjs +8 -9
- package/dist/FormField/index.mjs +8 -9
- package/dist/{FormField-NswCTyVM.js → FormField-Di7g1IgT.js} +37 -8
- package/dist/{FormField-BB-7F-4j.js → FormField-DldnjIjo.js} +37 -8
- package/dist/FormatDate/index.cjs +1 -1
- package/dist/FormatDate/index.mjs +1 -1
- package/dist/FormatEmail/index.cjs +1 -1
- package/dist/FormatEmail/index.mjs +1 -1
- package/dist/FormatFile/index.cjs +21 -21
- package/dist/FormatFile/index.mjs +21 -21
- package/dist/{FormatFile-aMXiYUr8.js → FormatFile-CiycpiCc.js} +7 -7
- package/dist/{FormatFile-Btx2q2pH.js → FormatFile-Dqj3Xqd9.js} +7 -7
- package/dist/FormatRelativeDateTime/index.cjs +1 -1
- package/dist/FormatRelativeDateTime/index.mjs +1 -1
- package/dist/FormatTime/index.cjs +1 -1
- package/dist/FormatTime/index.mjs +1 -1
- package/dist/Gallery/index.cjs +28 -28
- package/dist/Gallery/index.mjs +28 -28
- package/dist/{Gallery-C33aaopI.js → Gallery-CQjZP8N1.js} +3 -3
- package/dist/{Gallery-DKwNkPg4.js → Gallery-D5kD7F09.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-DY4QD2oc.js → Glimmer-BzwI3BUA.js} +2 -2
- package/dist/{Glimmer-apVktQLY.js → Glimmer-COILLr-a.js} +2 -2
- package/dist/Grid/InternalGridCell/index.cjs +1 -1
- package/dist/Grid/InternalGridCell/index.mjs +1 -1
- package/dist/Grid/index.cjs +5 -5
- package/dist/Grid/index.mjs +5 -5
- package/dist/{Grid-9m5rVjyN.js → Grid-B4OGYW9_.js} +2 -2
- package/dist/{Grid-CJL_KTMH.js → Grid-CMtgugj_.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-CqPcCRS5.js → Heading-C_xhFoMo.js} +1 -1
- package/dist/{Heading-Cpa-S0mx.js → Heading-D7gQixO4.js} +1 -1
- package/dist/Icon/index.cjs +1 -1
- package/dist/Icon/index.mjs +1 -1
- package/dist/InlineLabel/index.cjs +2 -2
- package/dist/InlineLabel/index.mjs +2 -2
- package/dist/{InlineLabel-Bkt39o_D.js → InlineLabel-DWOSyTtN.js} +1 -1
- package/dist/{InlineLabel-D3yp9Jn8.js → InlineLabel-zatKNlue.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-BPB9H9cM.js → InputAvatar-DJArVshP.js} +5 -5
- package/dist/{InputAvatar-Cbz7LHph.js → InputAvatar-DvwKWekm.js} +5 -5
- package/dist/InputDate/index.cjs +20 -21
- package/dist/InputDate/index.mjs +20 -21
- package/dist/{InputDate-DprpoceM.js → InputDate-D4fNu4yQ.js} +2 -2
- package/dist/{InputDate-B6h6_Uhh.js → InputDate-Df6WzIDZ.js} +2 -2
- package/dist/InputEmail/index.cjs +9 -10
- package/dist/InputEmail/index.mjs +9 -10
- package/dist/{InputEmail-BkxX-RDh.js → InputEmail-CMTr_NGk.js} +1 -1
- package/dist/{InputEmail-D00l0ye_.js → InputEmail-DzmbjP3R.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-CODCRy_T.js → InputFile-D2GghcdL.js} +6 -6
- package/dist/{InputFile-CR9Mk76d.js → InputFile-Dj0FHiHJ.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +9 -10
- package/dist/InputNumber/index.mjs +9 -10
- package/dist/{InputNumber-BZHkSr7q.js → InputNumber-CDZsO9HF.js} +1 -1
- package/dist/{InputNumber-BKvOaVGq.js → InputNumber-N9JDSEyE.js} +1 -1
- package/dist/InputPassword/index.cjs +9 -10
- package/dist/InputPassword/index.mjs +9 -10
- package/dist/{InputPassword-vYF6gfuz.js → InputPassword-Bx0CjXNT.js} +1 -1
- package/dist/{InputPassword-CK1SHeTz.js → InputPassword-CPnRux7b.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +9 -10
- package/dist/InputPhoneNumber/index.mjs +9 -10
- package/dist/{InputPhoneNumber-R3PZBIyo.js → InputPhoneNumber-DfRCpJKA.js} +2 -2
- package/dist/{InputPhoneNumber-CyT77YtC.js → InputPhoneNumber-mdW9n-4Q.js} +2 -2
- package/dist/InputText/index.cjs +10 -11
- package/dist/InputText/index.mjs +10 -11
- package/dist/{InputText-BGzvdERi.js → InputText-BXV232Wu.js} +2 -2
- package/dist/{InputText-Dn_qzHhz.js → InputText-GsR7jv03.js} +2 -2
- package/dist/InputTime/index.cjs +13 -14
- package/dist/InputTime/index.mjs +13 -14
- package/dist/{InputTime-BaTbCfvN.js → InputTime-DLA7RVu1.js} +3 -3
- package/dist/{InputTime-2WJdULfd.js → InputTime-XU4ows9V.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-BoW5_-H0.js → InputValidation-BLHtyLZK.js} +2 -2
- package/dist/{InputValidation-D-EbsCq5.js → InputValidation-DCWkcc1P.js} +2 -2
- package/dist/{InternalChipDismissible-CrFPjSl0.js → InternalChipDismissible-BXBlpati.js} +11 -11
- package/dist/{InternalChipDismissible-Dr8QcfbS.js → InternalChipDismissible-_SMBljTb.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-DJPa95Ac.js → LightBox-DsioPMAZ.js} +7 -7
- package/dist/{LightBox-DEVdljzO.js → LightBox-vYbyYMSX.js} +7 -7
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/List/index.cjs +17 -17
- package/dist/List/index.mjs +17 -17
- package/dist/{List-DbTfXeiH.js → List-BKA5bbrl.js} +10 -10
- package/dist/{List-MttsvBBe.js → List-h033Hxnf.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-B97rnRsp.js → Markdown-DgBWB6HK.js} +7 -7
- package/dist/{Markdown-C_4QxMbY.js → Markdown-DtFo6Mpz.js} +7 -7
- package/dist/Menu/Menu.d.ts +5 -1
- package/dist/Menu/index.cjs +7 -12
- package/dist/Menu/index.mjs +7 -12
- package/dist/Menu-C63uf-lH.js +130 -0
- package/dist/Menu-dPKrLS1i.js +128 -0
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-NGee-qIj.js → Modal-CJEa9xPK.js} +6 -6
- package/dist/{Modal-wnLLorVk.js → Modal-CSblA8Hf.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-OBk0KRmt.js → MultiSelect-B2Jm544v.js} +3 -3
- package/dist/{MultiSelect-DjKyZCwE.js → MultiSelect-DUkTn-Su.js} +3 -3
- package/dist/{Option-CxMsHQ0o.js → Option-C4MT70pt.js} +1 -1
- package/dist/{Option-C0oAIe1u.js → Option-DKxbdQZU.js} +1 -1
- package/dist/Page/index.cjs +20 -25
- package/dist/Page/index.mjs +20 -25
- package/dist/{Page-Dw3VXO3f.js → Page-C7uk8Xr-.js} +8 -8
- package/dist/{Page-DiMM3vDO.js → Page-CpOnSDPn.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-Cux-lFl3.js → Popover-CSjXWFFx.js} +2 -2
- package/dist/{Popover-BnlH_ZIO.js → Popover-Dg_IXdmt.js} +2 -2
- package/dist/ProgressBar/index.cjs +1 -1
- package/dist/ProgressBar/index.mjs +1 -1
- package/dist/RadioGroup/index.cjs +3 -3
- package/dist/RadioGroup/index.mjs +3 -3
- package/dist/{RadioGroup-BkvY8EcH.js → RadioGroup-BLhh4KkJ.js} +1 -1
- package/dist/{RadioGroup-B4nt9Qrd.js → RadioGroup-CsRXcz9P.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +15 -16
- package/dist/RecurringSelect/index.mjs +15 -16
- package/dist/{RecurringSelect-CXQu4XxZ.js → RecurringSelect-B4gg26fy.js} +6 -6
- package/dist/{RecurringSelect-D7FNDDDk.js → RecurringSelect-D54aUx9E.js} +6 -6
- package/dist/Select/index.cjs +9 -10
- package/dist/Select/index.mjs +9 -10
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-CT_16YfJ.js → StatusLabel-DnZ7PaSu.js} +2 -2
- package/dist/{StatusLabel-B1bnXaL1.js → StatusLabel-z00-sjns.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-CkII8oW3.js → Switch-CxlrY5Ly.js} +1 -1
- package/dist/{Switch-CkCIceMW.js → Switch-DkWPqa73.js} +1 -1
- package/dist/Table/index.cjs +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.cjs +2 -2
- package/dist/Tabs/index.mjs +2 -2
- package/dist/{Tabs-DI55Tnl2.js → Tabs-B1YvI7IG.js} +1 -1
- package/dist/{Tabs-DNt6W3cD.js → Tabs-DVJUmlec.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-CafQmceD.js → Text-B495lyWc.js} +1 -1
- package/dist/{Text-CQ2QKnB6.js → Text-Bruk84IX.js} +1 -1
- package/dist/Toast/index.cjs +3 -3
- package/dist/Toast/index.mjs +3 -3
- package/dist/Tooltip/index.cjs +3 -3
- package/dist/Tooltip/index.mjs +3 -3
- package/dist/{Tooltip-Buua1p7r.js → Tooltip-DUSf-9mG.js} +2 -2
- package/dist/{Tooltip-6yYt3Vil.js → Tooltip-DyR--Pzs.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-CxfYxvta.js → _baseAssignValue-Dry1EcG9.js} +1 -1
- package/dist/{_baseAssignValue-Bv_fybnI.js → _baseAssignValue-JDxbNmR3.js} +1 -1
- package/dist/{_baseEach-DKfqkmjB.js → _baseEach-DP7_Zk_E.js} +4 -4
- package/dist/{_baseEach-DZy71Db8.js → _baseEach-DsR3YOzX.js} +4 -4
- package/dist/{_defineProperty-D35ywITA.js → _defineProperty-CLpMWZ1x.js} +3 -3
- package/dist/{_defineProperty-D_D4Wss8.js → _defineProperty-nRbY1_db.js} +3 -3
- package/dist/{_getTag-LjApdH8f.js → _getTag-BXKVUshI.js} +1 -1
- package/dist/{_getTag-dhWRZrAS.js → _getTag-fsdTRDIK.js} +1 -1
- package/dist/{_setToString-DE28DTPz.js → _setToString-BLLl3VbF.js} +3 -3
- package/dist/{_setToString-CBOUBcoX.js → _setToString-BsEsE1tE.js} +3 -3
- package/dist/{debounce-CymPd8Xi.js → debounce-7TT4CyAW.js} +3 -3
- package/dist/{debounce-CNL4zbqE.js → debounce-Bvx-zyuz.js} +3 -3
- package/dist/{helpers-BXM-XT0L.js → helpers-DQau_niB.js} +1 -1
- package/dist/{helpers-BojPaDoJ.js → helpers-DeAab2FX.js} +1 -1
- package/dist/{index-Bl8UeCEF.js → index-C3WS6lK8.js} +1 -1
- package/dist/{index-CDdsgxXY.js → index-C_psg3TY.js} +1 -1
- package/dist/index.cjs +145 -146
- package/dist/index.mjs +145 -146
- package/dist/{isObjectLike-CW_DRnEi.js → isObjectLike-BQyadTWR.js} +1 -1
- package/dist/{isObjectLike-DT_zBUyc.js → isObjectLike-qQzmlVQZ.js} +1 -1
- package/dist/{isSymbol-Bxc99IFN.js → isSymbol-DgcmsEyS.js} +1 -1
- package/dist/{isSymbol-s1HpkF21.js → isSymbol-FxE-Pkr7.js} +1 -1
- package/dist/{noop-RU2NhEbJ.js → noop-4VWOc3TT.js} +1 -1
- package/dist/{noop-DEW6Foie.js → noop-AGb46REo.js} +1 -1
- package/dist/styles.css +78 -38
- package/dist/{useActiveLayout-DR-6jwbJ.js → useActiveLayout-BEav3x9s.js} +2 -2
- package/dist/{useActiveLayout-DNote99t.js → useActiveLayout-C8gnrKSE.js} +2 -2
- package/dist/{useAssert-CW1y41k8.js → useAssert-BOfGBwfj.js} +2 -2
- package/dist/{useAssert-DTBM7sxn.js → useAssert-Cu2F_6pj.js} +2 -2
- package/dist/{useBatchSelect-DyCvMlaR.js → useBatchSelect-k5ksjgIe.js} +1 -1
- package/dist/{useBatchSelect-CYyTFRVS.js → useBatchSelect-x06y6ARV.js} +1 -1
- package/dist/{useIsMounted-ZAnPcQc4.js → useIsMounted-CmDOtUAf.js} +1 -1
- package/dist/{useIsMounted-xzGm1NZg.js → useIsMounted-zG1gLB7r.js} +1 -1
- package/dist/{useResizeObserver-CA48jTFi.js → useResizeObserver-GTw-BHxK.js} +3 -3
- package/dist/{useResizeObserver-Dyf7VAV7.js → useResizeObserver-p7brsmoc.js} +3 -3
- package/dist/{useResponsiveSizing-C3KrJYUZ.js → useResponsiveSizing-B_zN2UTX.js} +1 -1
- package/dist/{useResponsiveSizing-CjvzMuxy.js → useResponsiveSizing-DqzKbuqP.js} +1 -1
- package/dist/{useScrollToActive-Bh6wQt8D.js → useScrollToActive-BT5lWvo7.js} +9 -9
- package/dist/{useScrollToActive-ikJk159D.js → useScrollToActive-F1f0o9Ru.js} +9 -9
- package/package.json +3 -3
- package/dist/FormField/hooks/useActiveElement.d.ts +0 -1
- package/dist/Menu-A8On__g6.js +0 -167
- package/dist/Menu-DpJE7RpX.js +0 -169
- package/dist/useFormFieldFocus--pmqFi6W.js +0 -60
- package/dist/useFormFieldFocus-BGWiRNbx.js +0 -57
- /package/dist/{AnimatedPresence-071W-7Mp.js → AnimatedPresence-BZnkpQMH.js} +0 -0
- /package/dist/{AnimatedPresence-zihpwsV7.js → AnimatedPresence-DkOnITGI.js} +0 -0
- /package/dist/{AtlantisContext-l_T_RuD_.js → AtlantisContext-BoVi0sgO.js} +0 -0
- /package/dist/{AtlantisContext-DuIbGWaG.js → AtlantisContext-D7PcDMtY.js} +0 -0
- /package/dist/{Body-Xeg07P6g.js → Body-BVXRjTvn.js} +0 -0
- /package/dist/{Body-CE5PQ0zs.js → Body-B_2m9wA0.js} +0 -0
- /package/dist/{Content-BvkFb5Dy.js → Content-7n0nGDL5.js} +0 -0
- /package/dist/{Content-Bwy5fzpe.js → Content-Cr6JludB.js} +0 -0
- /package/dist/{DataList-ZffvcAGT.js → DataList-3eIsBpgS.js} +0 -0
- /package/dist/{DataList-BPlQu7k4.js → DataList-P1tvUR6_.js} +0 -0
- /package/dist/{DataList.const-B60lU-fI.js → DataList.const-BANNJQHm.js} +0 -0
- /package/dist/{DataList.const-BELw1uNe.js → DataList.const-kP-zS7lg.js} +0 -0
- /package/dist/{DataListLayoutContext-CRBI4bgq.js → DataListLayoutContext-BQOTMBug.js} +0 -0
- /package/dist/{DataListLayoutContext-ltlcI7Nu.js → DataListLayoutContext-DdfatYsr.js} +0 -0
- /package/dist/{Divider-5pjL8bAf.js → Divider-B21wt1Sj.js} +0 -0
- /package/dist/{Divider-h54efzpc.js → Divider-DhE4XXGb.js} +0 -0
- /package/dist/{Flex-z_m5A5pr.js → Flex-BPNMzsLj.js} +0 -0
- /package/dist/{Flex-Df2tvfpX.js → Flex-VzZxYUbT.js} +0 -0
- /package/dist/{FormatDate-Di_Vq2_n.js → FormatDate-D0ozIum5.js} +0 -0
- /package/dist/{FormatDate-BS1PDnX0.js → FormatDate-DMNMCPcc.js} +0 -0
- /package/dist/{FormatEmail-VoSWcPId.js → FormatEmail-Bs47kM-c.js} +0 -0
- /package/dist/{FormatEmail-DU3WpNAv.js → FormatEmail-Db22DP-D.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DOzsZCax.js → FormatRelativeDateTime-BDfhpuIQ.js} +0 -0
- /package/dist/{FormatRelativeDateTime-Biif8J40.js → FormatRelativeDateTime-U0S2w7iy.js} +0 -0
- /package/dist/{FormatTime-mgeeMv6N.js → FormatTime-CuplxCo6.js} +0 -0
- /package/dist/{FormatTime-Ez_cV3Qg.js → FormatTime-iSy35rZx.js} +0 -0
- /package/dist/{Icon-CLKr4n0R.js → Icon-BwbU3Xex.js} +0 -0
- /package/dist/{Icon-D0yH_5lY.js → Icon-DkyzUz1Y.js} +0 -0
- /package/dist/{InputGroup-D48S-b_2.js → InputGroup-CH65EzpW.js} +0 -0
- /package/dist/{InputGroup-uUZ0uMHn.js → InputGroup-ddkZzywv.js} +0 -0
- /package/dist/{InternalGridCell-O2r79FLE.js → InternalGridCell-CCWB3Nbc.js} +0 -0
- /package/dist/{InternalGridCell-QDs2tjs-.js → InternalGridCell-DJoAGqsP.js} +0 -0
- /package/dist/{Link-BLBfTf6E.js → Link-DX9uR1Ei.js} +0 -0
- /package/dist/{Link-BAdcGMYW.js → Link-HBGyNO64.js} +0 -0
- /package/dist/{ProgressBar-A62cMtPt.js → ProgressBar-Bdus-TJd.js} +0 -0
- /package/dist/{ProgressBar-Cz9oKzmH.js → ProgressBar-CexhzVdN.js} +0 -0
- /package/dist/{Spinner-7MHlD-ER.js → Spinner-BS74IQep.js} +0 -0
- /package/dist/{Spinner-6GMw3_3_.js → Spinner-Xc2UhMPd.js} +0 -0
- /package/dist/{StatusIndicator-D4QbrpXX.js → StatusIndicator-CvR2cgVX.js} +0 -0
- /package/dist/{StatusIndicator-BmX8bVc-.js → StatusIndicator-DFBqybu7.js} +0 -0
- /package/dist/{Typography-Cnph9xFD.js → Typography-F7MGOkIu.js} +0 -0
- /package/dist/{Typography-CsRo45FI.js → Typography-Ti-xsh7u.js} +0 -0
- /package/dist/{_commonjsHelpers-D3_rdTUC.js → _commonjsHelpers-5Yg_AaFG.js} +0 -0
- /package/dist/{_commonjsHelpers-Dc3-3spW.js → _commonjsHelpers-ClJtlLsW.js} +0 -0
- /package/dist/{_polyfill-node.process-D9b6MxXY.js → _polyfill-node.process-CqlHmauv.js} +0 -0
- /package/dist/{_polyfill-node.process-MT5R5NQG.js → _polyfill-node.process-CwfHOFVJ.js} +0 -0
- /package/dist/{tslib.es6-lyoXadZO.js → tslib.es6-CXrkZJC0.js} +0 -0
- /package/dist/{tslib.es6-FADdTLUC.js → tslib.es6-CnrqB3EW.js} +0 -0
- /package/dist/{useChildComponent-rcc8T4FU.js → useChildComponent-DRrGQ0gB.js} +0 -0
- /package/dist/{useChildComponent-CAE5wqOG.js → useChildComponent-Dz6Jm8li.js} +0 -0
- /package/dist/{useFocusTrap-DFfbeK57.js → useFocusTrap-D4qDUC4R.js} +0 -0
- /package/dist/{useFocusTrap-98OGG7dK.js → useFocusTrap-DQN4M6J5.js} +0 -0
- /package/dist/{useInView-D5um6a0z.js → useInView-BRyC8Ch_.js} +0 -0
- /package/dist/{useInView-DdnniOBM.js → useInView-CCrflJ4I.js} +0 -0
- /package/dist/{useOnKeyDown-9WF5apBQ.js → useOnKeyDown-B-Sr7XiC.js} +0 -0
- /package/dist/{useOnKeyDown-CrK8MLMD.js → useOnKeyDown-BlPq-UwE.js} +0 -0
- /package/dist/{useRefocusOnActivator-By5tjuFt.js → useRefocusOnActivator-BmX7GyT4.js} +0 -0
- /package/dist/{useRefocusOnActivator-Cm4MUjdi.js → useRefocusOnActivator-rU0-yx0l.js} +0 -0
- /package/dist/{useSafeLayoutEffect-CEyIDtJX.js → useSafeLayoutEffect-CRX3bAXG.js} +0 -0
- /package/dist/{useSafeLayoutEffect-Dacq6-lv.js → useSafeLayoutEffect-DMKM7hqj.js} +0 -0
package/dist/styles.css
CHANGED
|
@@ -2106,32 +2106,25 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
2108
2108
|
.dT6M9tp1sZc- {
|
|
2109
|
+
--menu-space: var(--space-small);
|
|
2110
|
+
--menu-offset: var(--space-smallest);
|
|
2111
|
+
display: inline-block;
|
|
2109
2112
|
position: relative;
|
|
2110
2113
|
}
|
|
2111
2114
|
|
|
2112
|
-
._9pvjsJS6vsg- {
|
|
2113
|
-
z-index: 6;
|
|
2114
|
-
z-index: var(--elevation-menu);
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
.G7Nzd9sctos- {
|
|
2118
|
-
display: none;
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
2115
|
.Qmxlsj0D3qM- {
|
|
2122
|
-
|
|
2123
|
-
|
|
2116
|
+
position: fixed;
|
|
2117
|
+
bottom: 0;
|
|
2118
|
+
left: 0;
|
|
2124
2119
|
z-index: 6;
|
|
2125
2120
|
z-index: var(--elevation-menu);
|
|
2121
|
+
width: 100%;
|
|
2126
2122
|
max-height: 72vh;
|
|
2127
2123
|
box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px
|
|
2128
2124
|
rgba(0, 0, 0, 0.1),
|
|
2129
2125
|
0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);
|
|
2130
2126
|
box-shadow: var(--shadow-base);
|
|
2131
|
-
padding: calc(16px / 2);
|
|
2132
2127
|
padding: var(--menu-space);
|
|
2133
|
-
padding-bottom: calc(env(safe-area-inset-bottom) + (16px / 2));
|
|
2134
|
-
padding-bottom: calc(env(safe-area-inset-bottom) + calc(16px / 2));
|
|
2135
2128
|
padding-bottom: calc(env(safe-area-inset-bottom) + var(--menu-space));
|
|
2136
2129
|
border-radius: 8px 8px 0 0;
|
|
2137
2130
|
border-radius: var(--radius-base) var(--radius-base) 0 0;
|
|
@@ -2141,29 +2134,11 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2141
2134
|
background-color: var(--color-surface);
|
|
2142
2135
|
}
|
|
2143
2136
|
|
|
2144
|
-
@media (max-width: 489px) {
|
|
2145
|
-
|
|
2146
|
-
.Qmxlsj0D3qM- {
|
|
2147
|
-
position: fixed;
|
|
2148
|
-
right: 0;
|
|
2149
|
-
bottom: 0;
|
|
2150
|
-
left: 0;
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
@media (--small-screens-and-below) {
|
|
2155
|
-
|
|
2156
|
-
.Qmxlsj0D3qM- {
|
|
2157
|
-
position: fixed;
|
|
2158
|
-
right: 0;
|
|
2159
|
-
bottom: 0;
|
|
2160
|
-
left: 0;
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
2137
|
@media (min-width: 490px) {
|
|
2165
2138
|
|
|
2166
2139
|
.Qmxlsj0D3qM- {
|
|
2140
|
+
position: absolute;
|
|
2141
|
+
left: auto;
|
|
2167
2142
|
width: calc(16px * 12.5);
|
|
2168
2143
|
width: calc(var(--base-unit) * 12.5);
|
|
2169
2144
|
padding: var(--menu-space);
|
|
@@ -2178,6 +2153,8 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2178
2153
|
@media (--small-screens-and-up) {
|
|
2179
2154
|
|
|
2180
2155
|
.Qmxlsj0D3qM- {
|
|
2156
|
+
position: absolute;
|
|
2157
|
+
left: auto;
|
|
2181
2158
|
width: calc(16px * 12.5);
|
|
2182
2159
|
width: calc(var(--base-unit) * 12.5);
|
|
2183
2160
|
padding: var(--menu-space);
|
|
@@ -2189,6 +2166,72 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2189
2166
|
}
|
|
2190
2167
|
}
|
|
2191
2168
|
|
|
2169
|
+
@media (min-width: 490px) {
|
|
2170
|
+
|
|
2171
|
+
.QTisUfiHwL4- {
|
|
2172
|
+
bottom: 100%;
|
|
2173
|
+
margin-bottom: var(--menu-offset);
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
@media (--small-screens-and-up) {
|
|
2178
|
+
|
|
2179
|
+
.QTisUfiHwL4- {
|
|
2180
|
+
bottom: 100%;
|
|
2181
|
+
margin-bottom: var(--menu-offset);
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
@media (min-width: 490px) {
|
|
2186
|
+
|
|
2187
|
+
.qsch1dlpOHc- {
|
|
2188
|
+
top: 100%;
|
|
2189
|
+
bottom: auto;
|
|
2190
|
+
margin-top: var(--menu-offset);
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
@media (--small-screens-and-up) {
|
|
2195
|
+
|
|
2196
|
+
.qsch1dlpOHc- {
|
|
2197
|
+
top: 100%;
|
|
2198
|
+
bottom: auto;
|
|
2199
|
+
margin-top: var(--menu-offset);
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
@media (min-width: 490px) {
|
|
2204
|
+
|
|
2205
|
+
._0xR9-oxWMOU- {
|
|
2206
|
+
right: 0;
|
|
2207
|
+
left: auto;
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
@media (--small-screens-and-up) {
|
|
2212
|
+
|
|
2213
|
+
._0xR9-oxWMOU- {
|
|
2214
|
+
right: 0;
|
|
2215
|
+
left: auto;
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
@media (min-width: 490px) {
|
|
2220
|
+
|
|
2221
|
+
.gaZwsdyoG0k- {
|
|
2222
|
+
right: auto;
|
|
2223
|
+
left: 0;
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
@media (--small-screens-and-up) {
|
|
2228
|
+
|
|
2229
|
+
.gaZwsdyoG0k- {
|
|
2230
|
+
right: auto;
|
|
2231
|
+
left: 0;
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2192
2235
|
.LaKFjYCLHZc- {
|
|
2193
2236
|
padding: var(--menu-space) 0;
|
|
2194
2237
|
border-bottom: calc(16px / 16) solid hsl(200, 13%, 87%);
|
|
@@ -2228,12 +2271,9 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2228
2271
|
}
|
|
2229
2272
|
|
|
2230
2273
|
.ZuceCiefKqw-:hover,
|
|
2231
|
-
.ZuceCiefKqw-:focus {
|
|
2274
|
+
.ZuceCiefKqw-:focus-visible {
|
|
2232
2275
|
background-color: hsl(53, 21%, 93%);
|
|
2233
2276
|
background-color: var(--color-surface--hover);
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
.ZuceCiefKqw-:focus-visible {
|
|
2237
2277
|
outline-color: hsl(198, 12%, 57%);
|
|
2238
2278
|
outline-color: var(--color-focus);
|
|
2239
2279
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useResponsiveSizing } from './useResponsiveSizing-
|
|
2
|
-
import { u as useDataListContext } from './DataListContext-
|
|
1
|
+
import { u as useResponsiveSizing } from './useResponsiveSizing-DqzKbuqP.js';
|
|
2
|
+
import { u as useDataListContext } from './DataListContext-BpuRohw3.js';
|
|
3
3
|
|
|
4
4
|
function useActiveLayout() {
|
|
5
5
|
const { layoutBreakpoints, layouts } = useDataListContext();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var useResponsiveSizing = require('./useResponsiveSizing-
|
|
4
|
-
var DataListContext = require('./DataListContext-
|
|
3
|
+
var useResponsiveSizing = require('./useResponsiveSizing-B_zN2UTX.js');
|
|
4
|
+
var DataListContext = require('./DataListContext-BjB_tt78.js');
|
|
5
5
|
|
|
6
6
|
function useActiveLayout() {
|
|
7
7
|
const { layoutBreakpoints, layouts } = DataListContext.useDataListContext();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
4
|
-
var _polyfillNode_process = require('./_polyfill-node.process-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
4
|
+
var _polyfillNode_process = require('./_polyfill-node.process-CqlHmauv.js');
|
|
5
5
|
|
|
6
6
|
var useAssert$1 = {};
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as getAugmentedNamespace, c as commonjsGlobal } from './_commonjsHelpers-
|
|
2
|
-
import { _ as _polyfillNode_process } from './_polyfill-node.process-
|
|
1
|
+
import { a as getAugmentedNamespace, c as commonjsGlobal } from './_commonjsHelpers-ClJtlLsW.js';
|
|
2
|
+
import { _ as _polyfillNode_process } from './_polyfill-node.process-CwfHOFVJ.js';
|
|
3
3
|
|
|
4
4
|
var useAssert$1 = {};
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var debounce$1 = require('./debounce-
|
|
6
|
-
var isObjectLike = require('./isObjectLike-
|
|
5
|
+
var debounce$1 = require('./debounce-Bvx-zyuz.js');
|
|
6
|
+
var isObjectLike = require('./isObjectLike-BQyadTWR.js');
|
|
7
7
|
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
m.forEach(function (e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
1
|
+
import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-ClJtlLsW.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { a as debounce_1 } from './debounce-
|
|
4
|
-
import { b as isObject_1 } from './isObjectLike-
|
|
3
|
+
import { a as debounce_1 } from './debounce-7TT4CyAW.js';
|
|
4
|
+
import { b as isObject_1 } from './isObjectLike-qQzmlVQZ.js';
|
|
5
5
|
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
m.forEach(function (e) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { useRef, useId, useState, useEffect } from 'react';
|
|
2
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
3
|
-
import { _ as _overRest, a as _setToString, b as _baseFlatten } from './_setToString-
|
|
4
|
-
import { b as _arrayMap, c as _baseGet, i as identity_1, e as eq_1, d as _isIndex } from './_defineProperty-
|
|
5
|
-
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-
|
|
6
|
-
import { c as isArrayLike_1, g as _baseUnary, b as isArray_1 } from './_getTag-
|
|
7
|
-
import { i as isSymbol_1 } from './isSymbol-
|
|
8
|
-
import { b as isObject_1 } from './isObjectLike-
|
|
9
|
-
import { d as debounce } from './debounce-
|
|
10
|
-
import { I as Icon } from './Icon-
|
|
2
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-ClJtlLsW.js';
|
|
3
|
+
import { _ as _overRest, a as _setToString, b as _baseFlatten } from './_setToString-BLLl3VbF.js';
|
|
4
|
+
import { b as _arrayMap, c as _baseGet, i as identity_1, e as eq_1, d as _isIndex } from './_defineProperty-CLpMWZ1x.js';
|
|
5
|
+
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-DP7_Zk_E.js';
|
|
6
|
+
import { c as isArrayLike_1, g as _baseUnary, b as isArray_1 } from './_getTag-fsdTRDIK.js';
|
|
7
|
+
import { i as isSymbol_1 } from './isSymbol-DgcmsEyS.js';
|
|
8
|
+
import { b as isObject_1 } from './isObjectLike-qQzmlVQZ.js';
|
|
9
|
+
import { d as debounce } from './debounce-7TT4CyAW.js';
|
|
10
|
+
import { I as Icon } from './Icon-DkyzUz1Y.js';
|
|
11
11
|
import { usePopper } from 'react-popper';
|
|
12
12
|
|
|
13
13
|
var baseEach = _baseEach,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
5
|
-
var _setToString = require('./_setToString-
|
|
6
|
-
var _defineProperty = require('./_defineProperty-
|
|
7
|
-
var _baseEach = require('./_baseEach-
|
|
8
|
-
var _getTag = require('./_getTag-
|
|
9
|
-
var isSymbol$1 = require('./isSymbol-
|
|
10
|
-
var isObjectLike = require('./isObjectLike-
|
|
11
|
-
var debounce = require('./debounce-
|
|
12
|
-
var Icon = require('./Icon-
|
|
4
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
5
|
+
var _setToString = require('./_setToString-BsEsE1tE.js');
|
|
6
|
+
var _defineProperty = require('./_defineProperty-nRbY1_db.js');
|
|
7
|
+
var _baseEach = require('./_baseEach-DsR3YOzX.js');
|
|
8
|
+
var _getTag = require('./_getTag-BXKVUshI.js');
|
|
9
|
+
var isSymbol$1 = require('./isSymbol-FxE-Pkr7.js');
|
|
10
|
+
var isObjectLike = require('./isObjectLike-BQyadTWR.js');
|
|
11
|
+
var debounce = require('./debounce-Bvx-zyuz.js');
|
|
12
|
+
var Icon = require('./Icon-BwbU3Xex.js');
|
|
13
13
|
var reactPopper = require('react-popper');
|
|
14
14
|
|
|
15
15
|
var baseEach = _baseEach._baseEach,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"dependencies": {
|
|
405
405
|
"@jobber/design": "^0.59.0",
|
|
406
406
|
"@jobber/formatters": "^0.3.0",
|
|
407
|
-
"@jobber/hooks": "^2.9.
|
|
407
|
+
"@jobber/hooks": "^2.9.7",
|
|
408
408
|
"@popperjs/core": "^2.0.6",
|
|
409
409
|
"@std-proposal/temporal": "0.0.1",
|
|
410
410
|
"@tanstack/react-table": "8.5.13",
|
|
@@ -482,5 +482,5 @@
|
|
|
482
482
|
"> 1%",
|
|
483
483
|
"IE 10"
|
|
484
484
|
],
|
|
485
|
-
"gitHead": "
|
|
485
|
+
"gitHead": "b10e7ce1c463c1ecde128866ea95ba9fc2b9aaee"
|
|
486
486
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useActiveElement(): Element | null;
|
package/dist/Menu-A8On__g6.js
DELETED
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import React, { useState, useRef, useId } from 'react';
|
|
2
|
-
import classnames from 'classnames';
|
|
3
|
-
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
|
-
import { u as useOnKeyDown_2 } from './useOnKeyDown-9WF5apBQ.js';
|
|
5
|
-
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-By5tjuFt.js';
|
|
6
|
-
import { usePopper } from 'react-popper';
|
|
7
|
-
import { u as useIsMounted_2 } from './useIsMounted-ZAnPcQc4.js';
|
|
8
|
-
import ReactDOM from 'react-dom';
|
|
9
|
-
import { u as useFocusTrap_2 } from './useFocusTrap-98OGG7dK.js';
|
|
10
|
-
import { B as Button } from './Button-CGvE7nWD.js';
|
|
11
|
-
import { T as Typography } from './Typography-Cnph9xFD.js';
|
|
12
|
-
import { I as Icon } from './Icon-D0yH_5lY.js';
|
|
13
|
-
import { f as formFieldFocusAttribute } from './useFormFieldFocus-BGWiRNbx.js';
|
|
14
|
-
|
|
15
|
-
var useWindowDimensions$1 = {};
|
|
16
|
-
|
|
17
|
-
Object.defineProperty(useWindowDimensions$1, "__esModule", { value: true });
|
|
18
|
-
var useWindowDimensions_2 = useWindowDimensions$1.useWindowDimensions = void 0;
|
|
19
|
-
const react_1 = React;
|
|
20
|
-
function getWindowDimensions() {
|
|
21
|
-
if (!(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document)) {
|
|
22
|
-
return {
|
|
23
|
-
width: 0,
|
|
24
|
-
height: 0,
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
const { innerWidth: width, innerHeight: height } = window;
|
|
28
|
-
return {
|
|
29
|
-
width,
|
|
30
|
-
height,
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function useWindowDimensions() {
|
|
34
|
-
const [windowDimensions, setWindowDimensions] = (0, react_1.useState)(getWindowDimensions());
|
|
35
|
-
(0, react_1.useEffect)(() => {
|
|
36
|
-
function handleResize() {
|
|
37
|
-
setWindowDimensions(getWindowDimensions());
|
|
38
|
-
}
|
|
39
|
-
window === null || window === void 0 ? void 0 : window.addEventListener("resize", handleResize);
|
|
40
|
-
return () => window === null || window === void 0 ? void 0 : window.removeEventListener("resize", handleResize);
|
|
41
|
-
}, []);
|
|
42
|
-
return windowDimensions;
|
|
43
|
-
}
|
|
44
|
-
useWindowDimensions_2 = useWindowDimensions$1.useWindowDimensions = useWindowDimensions;
|
|
45
|
-
|
|
46
|
-
var styles = {"wrapper":"dT6M9tp1sZc-","popperContainer":"_9pvjsJS6vsg-","shadowRef":"G7Nzd9sctos-","menu":"Qmxlsj0D3qM-","section":"LaKFjYCLHZc-","sectionHeader":"_7HB7dWnqCi0-","action":"ZuceCiefKqw-","overlay":"eKnUAucwwWU-","fullWidth":"oaxefr58z-E-","screenReaderOnly":"vz9opIdwHFg-"};
|
|
47
|
-
|
|
48
|
-
const SMALL_SCREEN_BREAKPOINT = 489;
|
|
49
|
-
const MENU_OFFSET = 6;
|
|
50
|
-
const variation = {
|
|
51
|
-
overlayStartStop: { opacity: 0 },
|
|
52
|
-
startOrStop: (placement) => {
|
|
53
|
-
let y = 10;
|
|
54
|
-
if (placement === null || placement === void 0 ? void 0 : placement.includes("bottom"))
|
|
55
|
-
y *= -1;
|
|
56
|
-
if (window.innerWidth < 640)
|
|
57
|
-
y = 150;
|
|
58
|
-
return { opacity: 0, y };
|
|
59
|
-
},
|
|
60
|
-
done: { opacity: 1, y: 0 },
|
|
61
|
-
};
|
|
62
|
-
// eslint-disable-next-line max-statements
|
|
63
|
-
function Menu({ activator, items }) {
|
|
64
|
-
var _a, _b;
|
|
65
|
-
const [visible, setVisible] = useState(false);
|
|
66
|
-
const shadowRef = useRef(null);
|
|
67
|
-
const { width } = useWindowDimensions_2();
|
|
68
|
-
const buttonID = useId();
|
|
69
|
-
const menuID = useId();
|
|
70
|
-
const fullWidth = ((_a = activator === null || activator === void 0 ? void 0 : activator.props) === null || _a === void 0 ? void 0 : _a.fullWidth) || false;
|
|
71
|
-
const wrapperClasses = classnames(styles.wrapper, {
|
|
72
|
-
[styles.fullWidth]: fullWidth,
|
|
73
|
-
});
|
|
74
|
-
useOnKeyDown_2(handleKeyboardShortcut, ["Escape"]);
|
|
75
|
-
// useRefocusOnActivator must come before useFocusTrap for them both to work
|
|
76
|
-
useRefocusOnActivator_2(visible);
|
|
77
|
-
const menuRef = useFocusTrap_2(visible);
|
|
78
|
-
const [popperElement, setPopperElement] = useState(null);
|
|
79
|
-
const { styles: popperStyles, attributes, state, } = usePopper((_b = shadowRef.current) === null || _b === void 0 ? void 0 : _b.nextElementSibling, popperElement, {
|
|
80
|
-
placement: "bottom-start",
|
|
81
|
-
modifiers: [
|
|
82
|
-
{
|
|
83
|
-
name: "flip",
|
|
84
|
-
options: {
|
|
85
|
-
flipVariations: true,
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: "offset",
|
|
90
|
-
options: {
|
|
91
|
-
offset: [0, MENU_OFFSET],
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
});
|
|
96
|
-
const positionAttributes = width > SMALL_SCREEN_BREAKPOINT
|
|
97
|
-
? Object.assign(Object.assign({}, attributes.popper), { style: popperStyles.popper }) : {};
|
|
98
|
-
if (!activator) {
|
|
99
|
-
activator = (React.createElement(Button, { fullWidth: true, label: "More Actions", icon: "more", type: "secondary" }));
|
|
100
|
-
}
|
|
101
|
-
return (React.createElement("div", { className: wrapperClasses, onClick: handleParentClick },
|
|
102
|
-
React.createElement("span", { ref: shadowRef, className: styles.shadowRef }),
|
|
103
|
-
React.cloneElement(activator, {
|
|
104
|
-
onClick: toggle(activator.props.onClick),
|
|
105
|
-
id: buttonID,
|
|
106
|
-
ariaControls: menuID,
|
|
107
|
-
ariaExpanded: visible,
|
|
108
|
-
ariaHaspopup: true,
|
|
109
|
-
}),
|
|
110
|
-
React.createElement(MenuPortal, null,
|
|
111
|
-
React.createElement(AnimatePresence, null, visible && (React.createElement(React.Fragment, null,
|
|
112
|
-
React.createElement(motion.div, { className: styles.overlay, onClick: toggle(), variants: variation, initial: "overlayStartStop", animate: "done", exit: "overlayStartStop", transition: {
|
|
113
|
-
type: "tween",
|
|
114
|
-
duration: 0.15,
|
|
115
|
-
} }),
|
|
116
|
-
React.createElement("div", Object.assign({ ref: setPopperElement, className: styles.popperContainer }, positionAttributes, formFieldFocusAttribute), items.length > 0 && (React.createElement(motion.div, { className: styles.menu, role: "menu", "aria-labelledby": buttonID, id: menuID, onClick: hide, variants: variation, initial: "startOrStop", animate: "done", exit: "startOrStop", custom: state === null || state === void 0 ? void 0 : state.placement, ref: menuRef, transition: {
|
|
117
|
-
type: "tween",
|
|
118
|
-
duration: 0.25,
|
|
119
|
-
} }, items.map((item, key) => (React.createElement("div", { key: key, className: styles.section },
|
|
120
|
-
item.header && React.createElement(SectionHeader, { text: item.header }),
|
|
121
|
-
item.actions.map(action => (React.createElement(Action, Object.assign({ sectionLabel: item.header, key: action.label }, action))))))))))))))));
|
|
122
|
-
function toggle(callbackPassthrough) {
|
|
123
|
-
return (event) => {
|
|
124
|
-
setVisible(!visible);
|
|
125
|
-
callbackPassthrough && callbackPassthrough(event);
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
function hide() {
|
|
129
|
-
setVisible(false);
|
|
130
|
-
}
|
|
131
|
-
function handleKeyboardShortcut(event) {
|
|
132
|
-
const { key } = event;
|
|
133
|
-
if (!visible)
|
|
134
|
-
return;
|
|
135
|
-
event.preventDefault();
|
|
136
|
-
event.stopPropagation();
|
|
137
|
-
key === "Escape" && hide();
|
|
138
|
-
}
|
|
139
|
-
function handleParentClick(event) {
|
|
140
|
-
// Since the menu is being rendered within the same parent as the activator,
|
|
141
|
-
// we need to stop the click event from bubbling up. If the Menu component
|
|
142
|
-
// gets added within a parent that has a click handler, any click on the
|
|
143
|
-
// menu will trigger the parent's click handler.
|
|
144
|
-
event.stopPropagation();
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
function SectionHeader({ text }) {
|
|
148
|
-
return (React.createElement("div", { className: styles.sectionHeader, "aria-hidden": true },
|
|
149
|
-
React.createElement(Typography, { element: "h6", size: "base", textColor: "textSecondary", fontWeight: "regular", textCase: "none" }, text)));
|
|
150
|
-
}
|
|
151
|
-
function Action({ label, sectionLabel, icon, onClick }) {
|
|
152
|
-
const actionButtonRef = useRef();
|
|
153
|
-
return (React.createElement("button", { role: "menuitem", type: "button", className: styles.action, key: label, onClick: onClick, ref: actionButtonRef },
|
|
154
|
-
icon && React.createElement(Icon, { name: icon }),
|
|
155
|
-
React.createElement(Typography, { element: "span", fontWeight: "semiBold", textColor: "textSecondary" },
|
|
156
|
-
sectionLabel && (React.createElement("span", { className: styles.screenReaderOnly }, sectionLabel)),
|
|
157
|
-
label)));
|
|
158
|
-
}
|
|
159
|
-
function MenuPortal({ children }) {
|
|
160
|
-
const mounted = useIsMounted_2();
|
|
161
|
-
if (!(mounted === null || mounted === void 0 ? void 0 : mounted.current)) {
|
|
162
|
-
return null;
|
|
163
|
-
}
|
|
164
|
-
return ReactDOM.createPortal(children, document.body);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export { Menu as M };
|