@jobber/components 5.5.1 → 5.5.3
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-CTbGc7W7.js} +1 -1
- package/dist/{AnimatedSwitcher-CzXx6iyN.js → AnimatedSwitcher-ay_oops_.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-Dldw-lr_.js → Autocomplete-C8qf2TjI.js} +9 -9
- package/dist/{Autocomplete-DIents-Q.js → Autocomplete-ep4y4hA9.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-1VHVNk2x.js → Avatar-CtXg-LhZ.js} +1 -1
- package/dist/{Avatar-D1SiLPgl.js → Avatar-wlGl3v8J.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-CnxNMHyq.js → Banner-BIPwDaqw.js} +5 -5
- package/dist/{Banner-CvL3_Q2D.js → Banner-DXuMXRB3.js} +5 -5
- package/dist/{BannerIcon-DED_vzl8.js → BannerIcon-A_L1XKG4.js} +1 -1
- package/dist/{BannerIcon-H8ZcByIa.js → BannerIcon-CUAaPJCU.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-CGvE7nWD.js → Button-DHbDRQYq.js} +2 -2
- package/dist/{Button-CXlZHdbe.js → Button-er8AcS1f.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-NI1Aucrv.js → ButtonDismiss-0hcYRuGk.js} +1 -1
- package/dist/{ButtonDismiss-BHvqhQ43.js → ButtonDismiss-Dl9u7b14.js} +1 -1
- package/dist/Card/index.cjs +9 -14
- package/dist/Card/index.mjs +9 -14
- package/dist/{Card-DPCQ2CIJ.js → Card-0hjJPWOQ.js} +3 -3
- package/dist/{Card-CrtDFOau.js → Card-DTuEWi4-.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-C2Q8n6WC.js → Checkbox-DsJ30B3-.js} +3 -3
- package/dist/{Checkbox-CczqDa4T.js → Checkbox-DzcfGkEi.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-BSivQl8r.js → Chip-DPNcSgCO.js} +6 -6
- package/dist/{Chip-DDJe-3Ek.js → Chip-rRvyyq6Y.js} +6 -6
- package/dist/{ChipDismissible-CqcIKKlG.js → ChipDismissible-Ddi_BWn0.js} +3 -3
- package/dist/{ChipDismissible-VD5K8_qm.js → ChipDismissible-Hz-Ualr3.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-CD6-jZqr.js → Chips-BJ9C_QIo.js} +2 -2
- package/dist/{Chips-CfpNNxJl.js → Chips-C2_6Lgc5.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-CsQ_JX6f.js → Combobox-BdkdDz00.js} +9 -9
- package/dist/{Combobox-Qqk_-A_X.js → Combobox-BwOM3e3w.js} +9 -9
- package/dist/{ComboboxAction-BVsgwYAh.js → ComboboxAction-BRIaXgzR.js} +2 -2
- package/dist/{ComboboxAction-KlhwfM1J.js → ComboboxAction-sHTqneIE.js} +2 -2
- package/dist/{ComboboxActivator-D-Qh12WP.js → ComboboxActivator-37RT07Gv.js} +4 -4
- package/dist/{ComboboxActivator-B73GtXD4.js → ComboboxActivator-DJMNwjur.js} +4 -4
- package/dist/{ComboboxContent-CdFmWCoY.js → ComboboxContent-Bao9N6LR.js} +7 -7
- package/dist/{ComboboxContent-DRWUfQWH.js → ComboboxContent-qibHu5jG.js} +7 -7
- package/dist/{ComboboxContentHeader-qdoz1RhH.js → ComboboxContentHeader-CQQw9XJ7.js} +2 -2
- package/dist/{ComboboxContentHeader-Bu6SgPA6.js → ComboboxContentHeader-vDJ9uYc2.js} +2 -2
- package/dist/{ComboboxContentList-CYpHgdM8.js → ComboboxContentList-Ae-LhZ_y.js} +6 -6
- package/dist/{ComboboxContentList-Cs7ALvzy.js → ComboboxContentList-DasyOPmT.js} +6 -6
- package/dist/{ComboboxContentSearch-BzsaE5g5.js → ComboboxContentSearch-B8RjOuPi.js} +1 -1
- package/dist/{ComboboxContentSearch-Hg16lBT5.js → ComboboxContentSearch-Be_yTU28.js} +1 -1
- package/dist/{ComboboxLoadMore-B0IzDHsr.js → ComboboxLoadMore-DS3R-H76.js} +1 -1
- package/dist/{ComboboxLoadMore-CzJ6Y-_N.js → ComboboxLoadMore-YaS2olZd.js} +1 -1
- package/dist/{ComboboxOption-BOk9SRph.js → ComboboxOption-BeWBrJbL.js} +3 -3
- package/dist/{ComboboxOption-w2cQKSdi.js → ComboboxOption-D_bDKhrF.js} +3 -3
- package/dist/{ComboboxProvider-U3yBQe1P.js → ComboboxProvider-BB6KDvo8.js} +1 -1
- package/dist/{ComboboxProvider-CmcbdJAW.js → ComboboxProvider-DswcbvcV.js} +1 -1
- package/dist/{ComboboxTrigger-BUgIe2Tc.js → ComboboxTrigger-CNh3RO2N.js} +4 -4
- package/dist/{ComboboxTrigger-J1ott7CZ.js → ComboboxTrigger-CqJ1jfrv.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-BfFKJ7Wp.js → ConfirmationModal-T7-hy-Do.js} +4 -4
- package/dist/{ConfirmationModal-r69KM8Hn.js → ConfirmationModal-Une9HcM8.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-DFik2uNe.js → Countdown-CJgISa3E.js} +1 -1
- package/dist/{Countdown-CzGueV53.js → Countdown-DJeunVRX.js} +1 -1
- package/dist/DataDump/index.cjs +12 -17
- package/dist/DataDump/index.mjs +12 -17
- package/dist/{DataDump-BpyPEP9k.js → DataDump-DBRaPeFZ.js} +3 -3
- package/dist/{DataDump-B9YoVNbV.js → DataDump-DVa0YDtY.js} +3 -3
- package/dist/DataList/DataList.types.d.ts +13 -1
- 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-BTepzUl4.js → DataList-AHsTNbGg.js} +21 -21
- package/dist/{DataList-CtP8njD2.js → DataList-B_7YNoS8.js} +21 -21
- package/dist/{DataList.utils-znX1kqbg.js → DataList.utils-CjGRhe2L.js} +8 -8
- package/dist/{DataList.utils-kej44QlA.js → DataList.utils-DP16Lle6.js} +8 -8
- package/dist/{DataListAction-CkonEDRN.js → DataListAction-C5Rldc_L.js} +3 -3
- package/dist/{DataListAction-DbwZghda.js → DataListAction-CUPdr1BK.js} +3 -3
- package/dist/{DataListActions-qHGtHmXR.js → DataListActions-BKF6AvL9.js} +6 -6
- package/dist/{DataListActions-CzsWIspH.js → DataListActions-BNZ661Pk.js} +6 -6
- package/dist/{DataListActionsMenu-CB-vc2_r.js → DataListActionsMenu-BVqbAdxj.js} +5 -5
- package/dist/{DataListActionsMenu-C7CRt0mQ.js → DataListActionsMenu-Qk8hBait.js} +5 -5
- package/dist/{DataListBulkActions-CRSARWRS.js → DataListBulkActions-BUzjZqww.js} +3 -3
- package/dist/{DataListBulkActions-KKqTKB3I.js → DataListBulkActions-CSh85nxk.js} +3 -3
- package/dist/{DataListContext-CoGZ8aNo.js → DataListContext--xfXmnJ2.js} +1 -1
- package/dist/{DataListContext-Dl914A37.js → DataListContext-LbaI2721.js} +1 -1
- package/dist/{DataListEmptyState-Dxhv6c6g.js → DataListEmptyState-B1tw1NUQ.js} +4 -4
- package/dist/{DataListEmptyState-C3mqAhf4.js → DataListEmptyState-CgIcG8Pr.js} +4 -4
- package/dist/{DataListFilters-CXNIA3bF.js → DataListFilters-BiDLrjVN.js} +5 -5
- package/dist/{DataListFilters-jBGJv2pe.js → DataListFilters-BvApXsjP.js} +5 -5
- package/dist/{DataListHeader-QMpWLcJo.js → DataListHeader-B4WsQbUZ.js} +11 -11
- package/dist/{DataListHeader-DTsbKy4g.js → DataListHeader-D0HVTKCM.js} +11 -11
- package/dist/{DataListHeaderTile-CRv14GRH.js → DataListHeaderTile-Ck6k8t0x.js} +11 -7
- package/dist/{DataListHeaderTile-CxrPo-S3.js → DataListHeaderTile-OaG2Hnws.js} +11 -7
- package/dist/{DataListItem-D2VnizJv.js → DataListItem-CaeHRl32.js} +10 -10
- package/dist/{DataListItem-Uno7mNLN.js → DataListItem-CbF4QNQT.js} +10 -10
- package/dist/{DataListItemActions-CihfXlFq.js → DataListItemActions-D5249jl1.js} +2 -2
- package/dist/{DataListItemActions-Xi1RS2a3.js → DataListItemActions-IA1CrT2x.js} +2 -2
- package/dist/{DataListItemActionsOverflow-CPB3nMCZ.js → DataListItemActionsOverflow-CBsFSZ2-.js} +3 -3
- package/dist/{DataListItemActionsOverflow-QFnpYIdq.js → DataListItemActionsOverflow-WqAY3Myt.js} +3 -3
- package/dist/{DataListItemClickable-CmuGNPhz.js → DataListItemClickable-CvY2purp.js} +3 -3
- package/dist/{DataListItemClickable-BIYA0ITj.js → DataListItemClickable-ji_IJ12b.js} +3 -3
- package/dist/{DataListItems-CtOOUucz.js → DataListItems-CXR3q4mP.js} +3 -3
- package/dist/{DataListItems-g6fv-f51.js → DataListItems-DtNC2gl-.js} +3 -3
- package/dist/{DataListLayout-D74bDds-.js → DataListLayout-BCYW-vc3.js} +3 -3
- package/dist/{DataListLayout-ZZnxrLEG.js → DataListLayout-zCHGlOVO.js} +3 -3
- package/dist/{DataListLayoutActions-B3Uz_4PJ.js → DataListLayoutActions-B-SzrtQV.js} +4 -4
- package/dist/{DataListLayoutActions-5TXYlcnA.js → DataListLayoutActions-CeNeTche.js} +4 -4
- package/dist/{DataListLayoutContext-DUyBA-ln.js → DataListLayoutContext-Bllkntaz.js} +1 -1
- package/dist/{DataListLayoutContext-CUMeDxt4.js → DataListLayoutContext-HzIKAw8Z.js} +1 -1
- package/dist/{DataListLoadMore-D6e6i40V.js → DataListLoadMore-BEWHemlL.js} +5 -5
- package/dist/{DataListLoadMore-BmYAVVjw.js → DataListLoadMore-CgmbFun5.js} +5 -5
- package/dist/{DataListLoadingState-DO5cW0tE.js → DataListLoadingState-D3dT3smO.js} +3 -3
- package/dist/{DataListLoadingState-B77t8hMN.js → DataListLoadingState-s_vAnnSv.js} +3 -3
- package/dist/{DataListOverflowFade-DWUaVRdo.js → DataListOverflowFade-7_jTLHdJ.js} +1 -1
- package/dist/{DataListOverflowFade-CtLVtdEn.js → DataListOverflowFade-Dba3bXrX.js} +1 -1
- package/dist/{DataListSearch-DUdLT-vm.js → DataListSearch-BoJ5Dp__.js} +6 -6
- package/dist/{DataListSearch-Ckny_5gO.js → DataListSearch-C49i4Jcq.js} +6 -6
- package/dist/{DataListSort-5bPxAuFk.js → DataListSort-B0zv-z0o.js} +6 -24
- package/dist/{DataListSort-Bfj-RaL-.js → DataListSort-CWFsVHhT.js} +6 -24
- package/dist/{DataListSortingOptions-XsxbOMUa.js → DataListSortingOptions-BNJI85sr.js} +3 -3
- package/dist/{DataListSortingOptions-CmdM-1MR.js → DataListSortingOptions-CzuGEp3U.js} +3 -3
- package/dist/{DataListStatusBar-Bh4wzqgR.js → DataListStatusBar-D74nitiK.js} +2 -2
- package/dist/{DataListStatusBar-Y1qlBAbM.js → DataListStatusBar-x2OswxX0.js} +2 -2
- package/dist/{DataListStickyHeader-CEkFj_bx.js → DataListStickyHeader-CnVasIGR.js} +1 -1
- package/dist/{DataListStickyHeader-DRmFdaDV.js → DataListStickyHeader-XcxMlXoS.js} +1 -1
- package/dist/{DataListTags-DNA2l_ta.js → DataListTags-CI7s94H9.js} +2 -2
- package/dist/{DataListTags-CUKNmIqC.js → DataListTags-Dx0HZYLY.js} +2 -2
- package/dist/{DataListTotalCount-B-fofand.js → DataListTotalCount-B1Q2CAER.js} +2 -2
- package/dist/{DataListTotalCount-DYQBQZ57.js → DataListTotalCount-CqBbf7Q4.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-i780p2eg.js → DataTable-CuJPEHjI.js} +6 -6
- package/dist/{DataTable-CVRRgh_F.js → DataTable-hTIMtX7-.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-BBzhg825.js → DatePicker-BdQFzTIQ.js} +11 -11
- package/dist/{DatePicker-B4c_jANd.js → DatePicker-GGk6r592.js} +11 -11
- package/dist/{DayOfMonthSelect-BhE5kAY2.js → DayOfMonthSelect-BsK4eb_9.js} +2 -2
- package/dist/{DayOfMonthSelect-DL37iMQv.js → DayOfMonthSelect-CUtdjiln.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-8qPGggIn.js → DescriptionList-CE448TRg.js} +1 -1
- package/dist/{DescriptionList-Be1wdXz6.js → DescriptionList-DwtFj06k.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-7zVe5veL.js → Disclosure-B5ls7R0V.js} +3 -3
- package/dist/{Disclosure-BzourSW9.js → Disclosure-CnAyhdt3.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-B-QdhX4I.js} +2 -2
- package/dist/{DrawerGrid-D1XyAJc6.js → DrawerGrid-DmDLRTr_.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-BqeSYc-h.js → Emphasis-CrO5BRRI.js} +1 -1
- package/dist/{Emphasis-uVo_kOki.js → Emphasis-CsI-Cg24.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-HCUWqQrW.js → FeatureSwitch-Cx-30Jsb.js} +7 -7
- package/dist/{FeatureSwitch-B7kmQYeQ.js → FeatureSwitch-DRF8liHv.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-Tc2J79yY.js → Form-DaIqntKs.js} +1 -1
- package/dist/{Form-DA0tcgvP.js → Form-LzD4Zywr.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-I4CK4Vzd.js} +37 -8
- package/dist/{FormField-BB-7F-4j.js → FormField-b5MlOsps.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-Btx2q2pH.js → FormatFile-D44W11uQ.js} +7 -7
- package/dist/{FormatFile-aMXiYUr8.js → FormatFile-sbexPsdk.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-Dr0482rZ.js} +3 -3
- package/dist/{Gallery-DKwNkPg4.js → Gallery-W7RM2rvw.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-apVktQLY.js → Glimmer-LpbiS49h.js} +2 -2
- package/dist/{Glimmer-DY4QD2oc.js → Glimmer-VOs4hP8f.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-CJL_KTMH.js → Grid-CmYUGNXs.js} +2 -2
- package/dist/{Grid-9m5rVjyN.js → Grid-DCy0Efg6.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-Cpa-S0mx.js → Heading-BbVGT5-q.js} +1 -1
- package/dist/{Heading-CqPcCRS5.js → Heading-C37Z1tFR.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-D3yp9Jn8.js → InlineLabel-BnQSODbU.js} +1 -1
- package/dist/{InlineLabel-Bkt39o_D.js → InlineLabel-Bwh4j7at.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-BPB9H9cM.js → InputAvatar-7p4UKwzo.js} +5 -5
- package/dist/{InputAvatar-Cbz7LHph.js → InputAvatar-D06wTubj.js} +5 -5
- package/dist/InputDate/index.cjs +20 -21
- package/dist/InputDate/index.mjs +20 -21
- package/dist/{InputDate-B6h6_Uhh.js → InputDate-Bj_NX85I.js} +2 -2
- package/dist/{InputDate-DprpoceM.js → InputDate-plR0xHdB.js} +2 -2
- package/dist/InputEmail/index.cjs +9 -10
- package/dist/InputEmail/index.mjs +9 -10
- package/dist/{InputEmail-D00l0ye_.js → InputEmail-CTa-NSZE.js} +1 -1
- package/dist/{InputEmail-BkxX-RDh.js → InputEmail-xNyv-oHH.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-CODCRy_T.js → InputFile-DjPNbxFL.js} +6 -6
- package/dist/{InputFile-CR9Mk76d.js → InputFile-IzwIyftr.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-BIfh3uNd.js} +1 -1
- package/dist/{InputNumber-BKvOaVGq.js → InputNumber-CdKYukiF.js} +1 -1
- package/dist/InputPassword/index.cjs +9 -10
- package/dist/InputPassword/index.mjs +9 -10
- package/dist/{InputPassword-CK1SHeTz.js → InputPassword-C9I_yi3w.js} +1 -1
- package/dist/{InputPassword-vYF6gfuz.js → InputPassword-Chs0dQko.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +9 -10
- package/dist/InputPhoneNumber/index.mjs +9 -10
- package/dist/{InputPhoneNumber-R3PZBIyo.js → InputPhoneNumber-XZJHcy53.js} +2 -2
- package/dist/{InputPhoneNumber-CyT77YtC.js → InputPhoneNumber-iKxZTxeO.js} +2 -2
- package/dist/InputText/index.cjs +10 -11
- package/dist/InputText/index.mjs +10 -11
- package/dist/{InputText-Dn_qzHhz.js → InputText-DPlYJhZa.js} +2 -2
- package/dist/{InputText-BGzvdERi.js → InputText-svnCFotj.js} +2 -2
- package/dist/InputTime/index.cjs +13 -14
- package/dist/InputTime/index.mjs +13 -14
- package/dist/{InputTime-BaTbCfvN.js → InputTime-B0Gc4qw3.js} +3 -3
- package/dist/{InputTime-2WJdULfd.js → InputTime-jjzJiPpq.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-BoW5_-H0.js → InputValidation-BIaf_i4-.js} +2 -2
- package/dist/{InputValidation-D-EbsCq5.js → InputValidation-Cus5WqH7.js} +2 -2
- package/dist/{InternalChipDismissible-Dr8QcfbS.js → InternalChipDismissible-FYgHSynu.js} +11 -11
- package/dist/{InternalChipDismissible-CrFPjSl0.js → InternalChipDismissible-r5iBqoz7.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-DJPa95Ac.js → LightBox-BYibWj7r.js} +7 -7
- package/dist/{LightBox-DEVdljzO.js → LightBox-uy7ZUj_g.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-MttsvBBe.js → List-BBM1QO6B.js} +10 -10
- package/dist/{List-DbTfXeiH.js → List-BBgONeev.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-B97rnRsp.js → Markdown-DenpZKW5.js} +7 -7
- package/dist/{Markdown-C_4QxMbY.js → Markdown-DokipUUc.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-Bu9wJhAS.js +128 -0
- package/dist/Menu-DoaSfdT5.js +130 -0
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-NGee-qIj.js → Modal-Ch95pJ_R.js} +6 -6
- package/dist/{Modal-wnLLorVk.js → Modal-CrpYnCPi.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-OBk0KRmt.js → MultiSelect-BGb2GTxD.js} +3 -3
- package/dist/{MultiSelect-DjKyZCwE.js → MultiSelect-DMCOcXGQ.js} +3 -3
- package/dist/{Option-CxMsHQ0o.js → Option-C7Y6EgYG.js} +1 -1
- package/dist/{Option-C0oAIe1u.js → Option-bgUft0hS.js} +1 -1
- package/dist/Page/index.cjs +20 -25
- package/dist/Page/index.mjs +20 -25
- package/dist/{Page-DiMM3vDO.js → Page-BsH4-1JQ.js} +8 -8
- package/dist/{Page-Dw3VXO3f.js → Page-oYILW6_V.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-BnlH_ZIO.js → Popover-B15PbIHM.js} +2 -2
- package/dist/{Popover-Cux-lFl3.js → Popover-CWReY3cc.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-CRBjH1KG.js} +1 -1
- package/dist/{RadioGroup-B4nt9Qrd.js → RadioGroup-DRr8FEu2.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-DYEmrG7u.js} +6 -6
- package/dist/{RecurringSelect-D7FNDDDk.js → RecurringSelect-DoHmcuHM.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-B1bnXaL1.js → StatusLabel-8uWCjhiO.js} +2 -2
- package/dist/{StatusLabel-CT_16YfJ.js → StatusLabel-D7nL5S8K.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-CkCIceMW.js → Switch-BZMz4OMx.js} +1 -1
- package/dist/{Switch-CkII8oW3.js → Switch-gfLURuHe.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-BHR-6coc.js} +1 -1
- package/dist/{Tabs-DNt6W3cD.js → Tabs-C9Dq58gs.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-CafQmceD.js → Text-BFO6MoCD.js} +1 -1
- package/dist/{Text-CQ2QKnB6.js → Text-BIF9pwLs.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-CpW1XRxe.js} +2 -2
- package/dist/{Tooltip-6yYt3Vil.js → Tooltip-zcVzhWRQ.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-CxfYxvta.js → _baseAssignValue-B39Eqd2u.js} +1 -1
- package/dist/{_baseAssignValue-Bv_fybnI.js → _baseAssignValue-BEy1648i.js} +1 -1
- package/dist/{_baseEach-DZy71Db8.js → _baseEach-BfXzXoWX.js} +4 -4
- package/dist/{_baseEach-DKfqkmjB.js → _baseEach-C1t6xoIo.js} +4 -4
- package/dist/{_defineProperty-D_D4Wss8.js → _defineProperty-B45K4lEV.js} +3 -3
- package/dist/{_defineProperty-D35ywITA.js → _defineProperty-BXG4NZgl.js} +3 -3
- package/dist/{_getTag-LjApdH8f.js → _getTag-DVIGXC_h.js} +1 -1
- package/dist/{_getTag-dhWRZrAS.js → _getTag-DbcmlTtA.js} +1 -1
- package/dist/{_setToString-DE28DTPz.js → _setToString-CybY0Wct.js} +3 -3
- package/dist/{_setToString-CBOUBcoX.js → _setToString-Dkl8J285.js} +3 -3
- package/dist/{debounce-CNL4zbqE.js → debounce-Cu_y_AoZ.js} +3 -3
- package/dist/{debounce-CymPd8Xi.js → debounce-Dt2U3FAP.js} +3 -3
- package/dist/{helpers-BojPaDoJ.js → helpers-CZkZbT4b.js} +1 -1
- package/dist/{helpers-BXM-XT0L.js → helpers-DpuY2izH.js} +1 -1
- package/dist/{index-Bl8UeCEF.js → index-D_bxSyK5.js} +1 -1
- package/dist/{index-CDdsgxXY.js → index-DcC5A8jq.js} +1 -1
- package/dist/index.cjs +145 -146
- package/dist/index.mjs +145 -146
- package/dist/{isObjectLike-DT_zBUyc.js → isObjectLike-BeFeON_D.js} +1 -1
- package/dist/{isObjectLike-CW_DRnEi.js → isObjectLike-a4VJ2soi.js} +1 -1
- package/dist/{isSymbol-s1HpkF21.js → isSymbol-C_uD4GU_.js} +1 -1
- package/dist/{isSymbol-Bxc99IFN.js → isSymbol-y1QTXLOP.js} +1 -1
- package/dist/{noop-DEW6Foie.js → noop-C23TEpkO.js} +1 -1
- package/dist/{noop-RU2NhEbJ.js → noop-DDbEFJdW.js} +1 -1
- package/dist/styles.css +78 -38
- package/dist/{useActiveLayout-DR-6jwbJ.js → useActiveLayout-CDa9mp0z.js} +2 -2
- package/dist/{useActiveLayout-DNote99t.js → useActiveLayout-DvwgSSsz.js} +2 -2
- package/dist/{useAssert-CW1y41k8.js → useAssert-DoJYX9vj.js} +2 -2
- package/dist/{useAssert-DTBM7sxn.js → useAssert-bCydWh-S.js} +2 -2
- package/dist/{useBatchSelect-CYyTFRVS.js → useBatchSelect-CXrmTgGW.js} +1 -1
- package/dist/{useBatchSelect-DyCvMlaR.js → useBatchSelect-tx_F9s-L.js} +1 -1
- package/dist/{useIsMounted-xzGm1NZg.js → useIsMounted-B05KlWtC.js} +1 -1
- package/dist/{useIsMounted-ZAnPcQc4.js → useIsMounted-C9awtRVp.js} +1 -1
- package/dist/{useResizeObserver-Dyf7VAV7.js → useResizeObserver-CYRDOP6q.js} +3 -3
- package/dist/{useResizeObserver-CA48jTFi.js → useResizeObserver-DUqvHYZ0.js} +3 -3
- package/dist/{useResponsiveSizing-C3KrJYUZ.js → useResponsiveSizing-DyBPdQ2H.js} +1 -1
- package/dist/{useResponsiveSizing-CjvzMuxy.js → useResponsiveSizing-TVs80N7c.js} +1 -1
- package/dist/{useScrollToActive-Bh6wQt8D.js → useScrollToActive-De2AacV-.js} +9 -9
- package/dist/{useScrollToActive-ikJk159D.js → useScrollToActive-ZIY01XAy.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-zihpwsV7.js → AnimatedPresence-BC5vre4t.js} +0 -0
- /package/dist/{AnimatedPresence-071W-7Mp.js → AnimatedPresence-DSzte1Wm.js} +0 -0
- /package/dist/{AtlantisContext-DuIbGWaG.js → AtlantisContext-Bcy-Gp5m.js} +0 -0
- /package/dist/{AtlantisContext-l_T_RuD_.js → AtlantisContext-CLiVanHi.js} +0 -0
- /package/dist/{Body-Xeg07P6g.js → Body-CCoYaMOb.js} +0 -0
- /package/dist/{Body-CE5PQ0zs.js → Body-D-6BkIta.js} +0 -0
- /package/dist/{Content-Bwy5fzpe.js → Content-DbuJ0nHB.js} +0 -0
- /package/dist/{Content-BvkFb5Dy.js → Content-DsXwjUsU.js} +0 -0
- /package/dist/{DataList-ZffvcAGT.js → DataList-Bq7Dwy_u.js} +0 -0
- /package/dist/{DataList-BPlQu7k4.js → DataList-p8TpHX_o.js} +0 -0
- /package/dist/{DataList.const-BELw1uNe.js → DataList.const-Bhuxko_v.js} +0 -0
- /package/dist/{DataList.const-B60lU-fI.js → DataList.const-DlNHcNs5.js} +0 -0
- /package/dist/{DataListLayoutContext-CRBI4bgq.js → DataListLayoutContext-Bmi5ZcCJ.js} +0 -0
- /package/dist/{DataListLayoutContext-ltlcI7Nu.js → DataListLayoutContext-Btqv4NT9.js} +0 -0
- /package/dist/{Divider-5pjL8bAf.js → Divider-CT8TpRGo.js} +0 -0
- /package/dist/{Divider-h54efzpc.js → Divider-xfnqNYhj.js} +0 -0
- /package/dist/{Flex-Df2tvfpX.js → Flex-BBxfAP0e.js} +0 -0
- /package/dist/{Flex-z_m5A5pr.js → Flex-Dv_ynCEx.js} +0 -0
- /package/dist/{FormatDate-BS1PDnX0.js → FormatDate-AMeVm5EG.js} +0 -0
- /package/dist/{FormatDate-Di_Vq2_n.js → FormatDate-BuS9aYqm.js} +0 -0
- /package/dist/{FormatEmail-VoSWcPId.js → FormatEmail-BTN0lb3Y.js} +0 -0
- /package/dist/{FormatEmail-DU3WpNAv.js → FormatEmail-DBOZmGjA.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DOzsZCax.js → FormatRelativeDateTime-DlK09l03.js} +0 -0
- /package/dist/{FormatRelativeDateTime-Biif8J40.js → FormatRelativeDateTime-UCyJGF4f.js} +0 -0
- /package/dist/{FormatTime-Ez_cV3Qg.js → FormatTime-Dypwte2H.js} +0 -0
- /package/dist/{FormatTime-mgeeMv6N.js → FormatTime-sMBiAIqS.js} +0 -0
- /package/dist/{Icon-CLKr4n0R.js → Icon-CSTVSfW8.js} +0 -0
- /package/dist/{Icon-D0yH_5lY.js → Icon-CSji295z.js} +0 -0
- /package/dist/{InputGroup-uUZ0uMHn.js → InputGroup-BARDOU4p.js} +0 -0
- /package/dist/{InputGroup-D48S-b_2.js → InputGroup-D4jp1V_L.js} +0 -0
- /package/dist/{InternalGridCell-O2r79FLE.js → InternalGridCell-Dv_jg708.js} +0 -0
- /package/dist/{InternalGridCell-QDs2tjs-.js → InternalGridCell-x8BmO4kR.js} +0 -0
- /package/dist/{Link-BAdcGMYW.js → Link-3hJXFmoZ.js} +0 -0
- /package/dist/{Link-BLBfTf6E.js → Link-BqEVkUvs.js} +0 -0
- /package/dist/{ProgressBar-Cz9oKzmH.js → ProgressBar-C3US9293.js} +0 -0
- /package/dist/{ProgressBar-A62cMtPt.js → ProgressBar-xjtNdyLh.js} +0 -0
- /package/dist/{Spinner-7MHlD-ER.js → Spinner-C7RvKYgv.js} +0 -0
- /package/dist/{Spinner-6GMw3_3_.js → Spinner-CLCr9hTJ.js} +0 -0
- /package/dist/{StatusIndicator-BmX8bVc-.js → StatusIndicator-6IlyljIE.js} +0 -0
- /package/dist/{StatusIndicator-D4QbrpXX.js → StatusIndicator-DosoO14b.js} +0 -0
- /package/dist/{Typography-Cnph9xFD.js → Typography-BAmymjjb.js} +0 -0
- /package/dist/{Typography-CsRo45FI.js → Typography-ClUK1E8k.js} +0 -0
- /package/dist/{_commonjsHelpers-D3_rdTUC.js → _commonjsHelpers-BQFEUNR4.js} +0 -0
- /package/dist/{_commonjsHelpers-Dc3-3spW.js → _commonjsHelpers-CatYaoLG.js} +0 -0
- /package/dist/{_polyfill-node.process-MT5R5NQG.js → _polyfill-node.process-5WRRo3xR.js} +0 -0
- /package/dist/{_polyfill-node.process-D9b6MxXY.js → _polyfill-node.process-DiKPbKnK.js} +0 -0
- /package/dist/{tslib.es6-lyoXadZO.js → tslib.es6-BJysyDBv.js} +0 -0
- /package/dist/{tslib.es6-FADdTLUC.js → tslib.es6-BoOpxSLy.js} +0 -0
- /package/dist/{useChildComponent-rcc8T4FU.js → useChildComponent-BGei5F54.js} +0 -0
- /package/dist/{useChildComponent-CAE5wqOG.js → useChildComponent-CiHZm8OW.js} +0 -0
- /package/dist/{useFocusTrap-DFfbeK57.js → useFocusTrap-CMaPdAln.js} +0 -0
- /package/dist/{useFocusTrap-98OGG7dK.js → useFocusTrap-CuRvip9a.js} +0 -0
- /package/dist/{useInView-DdnniOBM.js → useInView-BFJKGWt0.js} +0 -0
- /package/dist/{useInView-D5um6a0z.js → useInView-J_f4VMtZ.js} +0 -0
- /package/dist/{useOnKeyDown-9WF5apBQ.js → useOnKeyDown-CNhj933i.js} +0 -0
- /package/dist/{useOnKeyDown-CrK8MLMD.js → useOnKeyDown-DfV1L27h.js} +0 -0
- /package/dist/{useRefocusOnActivator-Cm4MUjdi.js → useRefocusOnActivator-BIDEtO8r.js} +0 -0
- /package/dist/{useRefocusOnActivator-By5tjuFt.js → useRefocusOnActivator-DzRSfng8.js} +0 -0
- /package/dist/{useSafeLayoutEffect-Dacq6-lv.js → useSafeLayoutEffect-cVcuB4VE.js} +0 -0
- /package/dist/{useSafeLayoutEffect-CEyIDtJX.js → useSafeLayoutEffect-nbypi1qM.js} +0 -0
package/dist/List/index.cjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var List = require('../List-
|
|
3
|
+
var List = require('../List-BBgONeev.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../_baseEach-
|
|
7
|
-
require('../_defineProperty-
|
|
8
|
-
require('../_getTag-
|
|
9
|
-
require('../isObjectLike-
|
|
10
|
-
require('../_commonjsHelpers-
|
|
11
|
-
require('../isSymbol-
|
|
12
|
-
require('../_baseAssignValue-
|
|
13
|
-
require('../Icon-
|
|
6
|
+
require('../_baseEach-BfXzXoWX.js');
|
|
7
|
+
require('../_defineProperty-B45K4lEV.js');
|
|
8
|
+
require('../_getTag-DVIGXC_h.js');
|
|
9
|
+
require('../isObjectLike-a4VJ2soi.js');
|
|
10
|
+
require('../_commonjsHelpers-BQFEUNR4.js');
|
|
11
|
+
require('../isSymbol-C_uD4GU_.js');
|
|
12
|
+
require('../_baseAssignValue-B39Eqd2u.js');
|
|
13
|
+
require('../Icon-CSTVSfW8.js');
|
|
14
14
|
require('@jobber/design');
|
|
15
|
-
require('../Text-
|
|
16
|
-
require('../Typography-
|
|
17
|
-
require('../Heading-
|
|
18
|
-
require('../Markdown-
|
|
19
|
-
require('../Emphasis-
|
|
20
|
-
require('../Content-
|
|
21
|
-
require('../index-
|
|
22
|
-
require('../_polyfill-node.process-
|
|
15
|
+
require('../Text-BFO6MoCD.js');
|
|
16
|
+
require('../Typography-ClUK1E8k.js');
|
|
17
|
+
require('../Heading-BbVGT5-q.js');
|
|
18
|
+
require('../Markdown-DokipUUc.js');
|
|
19
|
+
require('../Emphasis-CrO5BRRI.js');
|
|
20
|
+
require('../Content-DbuJ0nHB.js');
|
|
21
|
+
require('../index-DcC5A8jq.js');
|
|
22
|
+
require('../_polyfill-node.process-DiKPbKnK.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
package/dist/List/index.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { L as List, a as ListItem } from '../List-
|
|
1
|
+
export { L as List, a as ListItem } from '../List-BBM1QO6B.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../_baseEach-
|
|
5
|
-
import '../_defineProperty-
|
|
6
|
-
import '../_getTag-
|
|
7
|
-
import '../isObjectLike-
|
|
8
|
-
import '../_commonjsHelpers-
|
|
9
|
-
import '../isSymbol-
|
|
10
|
-
import '../_baseAssignValue-
|
|
11
|
-
import '../Icon-
|
|
4
|
+
import '../_baseEach-C1t6xoIo.js';
|
|
5
|
+
import '../_defineProperty-BXG4NZgl.js';
|
|
6
|
+
import '../_getTag-DbcmlTtA.js';
|
|
7
|
+
import '../isObjectLike-BeFeON_D.js';
|
|
8
|
+
import '../_commonjsHelpers-CatYaoLG.js';
|
|
9
|
+
import '../isSymbol-y1QTXLOP.js';
|
|
10
|
+
import '../_baseAssignValue-BEy1648i.js';
|
|
11
|
+
import '../Icon-CSji295z.js';
|
|
12
12
|
import '@jobber/design';
|
|
13
|
-
import '../Text-
|
|
14
|
-
import '../Typography-
|
|
15
|
-
import '../Heading-
|
|
16
|
-
import '../Markdown-
|
|
17
|
-
import '../Emphasis-
|
|
18
|
-
import '../Content-
|
|
19
|
-
import '../index-
|
|
20
|
-
import '../_polyfill-node.process-
|
|
13
|
+
import '../Text-BIF9pwLs.js';
|
|
14
|
+
import '../Typography-BAmymjjb.js';
|
|
15
|
+
import '../Heading-C37Z1tFR.js';
|
|
16
|
+
import '../Markdown-DenpZKW5.js';
|
|
17
|
+
import '../Emphasis-CsI-Cg24.js';
|
|
18
|
+
import '../Content-DsXwjUsU.js';
|
|
19
|
+
import '../index-D_bxSyK5.js';
|
|
20
|
+
import '../_polyfill-node.process-5WRRo3xR.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { _ as _baseEach, a as _baseIteratee, g as get } from './_baseEach-
|
|
4
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
5
|
-
import { _ as _baseAssignValue } from './_baseAssignValue-
|
|
6
|
-
import { b as isArray_1 } from './_getTag-
|
|
7
|
-
import { I as Icon } from './Icon-
|
|
8
|
-
import { T as Text } from './Text-
|
|
9
|
-
import { H as Heading } from './Heading-
|
|
10
|
-
import { T as Typography } from './Typography-
|
|
11
|
-
import { M as Markdown } from './Markdown-
|
|
12
|
-
import { E as Emphasis } from './Emphasis-
|
|
3
|
+
import { _ as _baseEach, a as _baseIteratee, g as get } from './_baseEach-C1t6xoIo.js';
|
|
4
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-CatYaoLG.js';
|
|
5
|
+
import { _ as _baseAssignValue } from './_baseAssignValue-BEy1648i.js';
|
|
6
|
+
import { b as isArray_1 } from './_getTag-DbcmlTtA.js';
|
|
7
|
+
import { I as Icon } from './Icon-CSji295z.js';
|
|
8
|
+
import { T as Text } from './Text-BIF9pwLs.js';
|
|
9
|
+
import { H as Heading } from './Heading-C37Z1tFR.js';
|
|
10
|
+
import { T as Typography } from './Typography-BAmymjjb.js';
|
|
11
|
+
import { M as Markdown } from './Markdown-DenpZKW5.js';
|
|
12
|
+
import { E as Emphasis } from './Emphasis-CsI-Cg24.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* A specialized version of `baseAggregator` for arrays.
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var _baseEach = require('./_baseEach-
|
|
6
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
7
|
-
var _baseAssignValue = require('./_baseAssignValue-
|
|
8
|
-
var _getTag = require('./_getTag-
|
|
9
|
-
var Icon = require('./Icon-
|
|
10
|
-
var Text = require('./Text-
|
|
11
|
-
var Heading = require('./Heading-
|
|
12
|
-
var Typography = require('./Typography-
|
|
13
|
-
var Markdown = require('./Markdown-
|
|
14
|
-
var Emphasis = require('./Emphasis-
|
|
5
|
+
var _baseEach = require('./_baseEach-BfXzXoWX.js');
|
|
6
|
+
var _commonjsHelpers = require('./_commonjsHelpers-BQFEUNR4.js');
|
|
7
|
+
var _baseAssignValue = require('./_baseAssignValue-B39Eqd2u.js');
|
|
8
|
+
var _getTag = require('./_getTag-DVIGXC_h.js');
|
|
9
|
+
var Icon = require('./Icon-CSTVSfW8.js');
|
|
10
|
+
var Text = require('./Text-BFO6MoCD.js');
|
|
11
|
+
var Heading = require('./Heading-BbVGT5-q.js');
|
|
12
|
+
var Typography = require('./Typography-ClUK1E8k.js');
|
|
13
|
+
var Markdown = require('./Markdown-DokipUUc.js');
|
|
14
|
+
var Emphasis = require('./Emphasis-CrO5BRRI.js');
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* A specialized version of `baseAggregator` for arrays.
|
package/dist/Markdown/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Markdown = require('../Markdown-
|
|
3
|
+
var Markdown = require('../Markdown-DokipUUc.js');
|
|
4
4
|
require('react');
|
|
5
|
-
require('../Text-
|
|
6
|
-
require('../Typography-
|
|
5
|
+
require('../Text-BFO6MoCD.js');
|
|
6
|
+
require('../Typography-ClUK1E8k.js');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('../Emphasis-
|
|
9
|
-
require('../Heading-
|
|
10
|
-
require('../Content-
|
|
11
|
-
require('../index-
|
|
12
|
-
require('../_commonjsHelpers-
|
|
13
|
-
require('../_polyfill-node.process-
|
|
8
|
+
require('../Emphasis-CrO5BRRI.js');
|
|
9
|
+
require('../Heading-BbVGT5-q.js');
|
|
10
|
+
require('../Content-DbuJ0nHB.js');
|
|
11
|
+
require('../index-DcC5A8jq.js');
|
|
12
|
+
require('../_commonjsHelpers-BQFEUNR4.js');
|
|
13
|
+
require('../_polyfill-node.process-DiKPbKnK.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
package/dist/Markdown/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { M as Markdown } from '../Markdown-
|
|
1
|
+
export { M as Markdown } from '../Markdown-DenpZKW5.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../Text-
|
|
4
|
-
import '../Typography-
|
|
3
|
+
import '../Text-BIF9pwLs.js';
|
|
4
|
+
import '../Typography-BAmymjjb.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '../Emphasis-
|
|
7
|
-
import '../Heading-
|
|
8
|
-
import '../Content-
|
|
9
|
-
import '../index-
|
|
10
|
-
import '../_commonjsHelpers-
|
|
11
|
-
import '../_polyfill-node.process-
|
|
6
|
+
import '../Emphasis-CsI-Cg24.js';
|
|
7
|
+
import '../Heading-C37Z1tFR.js';
|
|
8
|
+
import '../Content-DsXwjUsU.js';
|
|
9
|
+
import '../index-D_bxSyK5.js';
|
|
10
|
+
import '../_commonjsHelpers-CatYaoLG.js';
|
|
11
|
+
import '../_polyfill-node.process-5WRRo3xR.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { T as Text } from './Text-
|
|
3
|
-
import { E as Emphasis } from './Emphasis-
|
|
4
|
-
import { H as Heading } from './Heading-
|
|
5
|
-
import { C as Content } from './Content-
|
|
6
|
-
import { P as PropTypes } from './index-
|
|
7
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
8
|
-
import { b as browser$1 } from './_polyfill-node.process-
|
|
2
|
+
import { T as Text } from './Text-BIF9pwLs.js';
|
|
3
|
+
import { E as Emphasis } from './Emphasis-CsI-Cg24.js';
|
|
4
|
+
import { H as Heading } from './Heading-C37Z1tFR.js';
|
|
5
|
+
import { C as Content } from './Content-DsXwjUsU.js';
|
|
6
|
+
import { P as PropTypes } from './index-D_bxSyK5.js';
|
|
7
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-CatYaoLG.js';
|
|
8
|
+
import { b as browser$1 } from './_polyfill-node.process-5WRRo3xR.js';
|
|
9
9
|
|
|
10
10
|
const protocols = ['http', 'https', 'mailto', 'tel'];
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var Text = require('./Text-
|
|
5
|
-
var Emphasis = require('./Emphasis-
|
|
6
|
-
var Heading = require('./Heading-
|
|
7
|
-
var Content = require('./Content-
|
|
8
|
-
var index$3 = require('./index-
|
|
9
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
10
|
-
var _polyfillNode_process = require('./_polyfill-node.process-
|
|
4
|
+
var Text = require('./Text-BFO6MoCD.js');
|
|
5
|
+
var Emphasis = require('./Emphasis-CrO5BRRI.js');
|
|
6
|
+
var Heading = require('./Heading-BbVGT5-q.js');
|
|
7
|
+
var Content = require('./Content-DbuJ0nHB.js');
|
|
8
|
+
var index$3 = require('./index-DcC5A8jq.js');
|
|
9
|
+
var _commonjsHelpers = require('./_commonjsHelpers-BQFEUNR4.js');
|
|
10
|
+
var _polyfillNode_process = require('./_polyfill-node.process-DiKPbKnK.js');
|
|
11
11
|
|
|
12
12
|
const protocols = ['http', 'https', 'mailto', 'tel'];
|
|
13
13
|
|
package/dist/Menu/Menu.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface SectionProps {
|
|
|
18
18
|
/**
|
|
19
19
|
* List of actions.
|
|
20
20
|
*/
|
|
21
|
-
actions: ActionProps[];
|
|
21
|
+
actions: Omit<ActionProps, "shouldFocus">[];
|
|
22
22
|
}
|
|
23
23
|
export declare function Menu({ activator, items }: MenuProps): JSX.Element;
|
|
24
24
|
export interface ActionProps {
|
|
@@ -38,4 +38,8 @@ export interface ActionProps {
|
|
|
38
38
|
* Callback when an action gets clicked
|
|
39
39
|
*/
|
|
40
40
|
onClick?(event: React.MouseEvent<HTMLButtonElement>): void;
|
|
41
|
+
/**
|
|
42
|
+
* Focus on the action when rendered
|
|
43
|
+
*/
|
|
44
|
+
readonly shouldFocus?: boolean;
|
|
41
45
|
}
|
package/dist/Menu/index.cjs
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Menu = require('../Menu-
|
|
3
|
+
var Menu = require('../Menu-DoaSfdT5.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('framer-motion');
|
|
7
|
-
require('../useOnKeyDown-
|
|
8
|
-
require('../useRefocusOnActivator-
|
|
9
|
-
require('
|
|
10
|
-
require('../
|
|
11
|
-
require('../useSafeLayoutEffect-Dacq6-lv.js');
|
|
12
|
-
require('react-dom');
|
|
13
|
-
require('../useFocusTrap-DFfbeK57.js');
|
|
14
|
-
require('../Button-CXlZHdbe.js');
|
|
7
|
+
require('../useOnKeyDown-DfV1L27h.js');
|
|
8
|
+
require('../useRefocusOnActivator-BIDEtO8r.js');
|
|
9
|
+
require('../useSafeLayoutEffect-cVcuB4VE.js');
|
|
10
|
+
require('../Button-er8AcS1f.js');
|
|
15
11
|
require('react-router-dom');
|
|
16
|
-
require('../Icon-
|
|
12
|
+
require('../Icon-CSTVSfW8.js');
|
|
17
13
|
require('@jobber/design');
|
|
18
|
-
require('../Typography-
|
|
19
|
-
require('../useFormFieldFocus--pmqFi6W.js');
|
|
14
|
+
require('../Typography-ClUK1E8k.js');
|
|
20
15
|
|
|
21
16
|
|
|
22
17
|
|
package/dist/Menu/index.mjs
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
export { M as Menu } from '../Menu-
|
|
1
|
+
export { M as Menu } from '../Menu-Bu9wJhAS.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'framer-motion';
|
|
5
|
-
import '../useOnKeyDown-
|
|
6
|
-
import '../useRefocusOnActivator-
|
|
7
|
-
import '
|
|
8
|
-
import '../
|
|
9
|
-
import '../useSafeLayoutEffect-CEyIDtJX.js';
|
|
10
|
-
import 'react-dom';
|
|
11
|
-
import '../useFocusTrap-98OGG7dK.js';
|
|
12
|
-
import '../Button-CGvE7nWD.js';
|
|
5
|
+
import '../useOnKeyDown-CNhj933i.js';
|
|
6
|
+
import '../useRefocusOnActivator-DzRSfng8.js';
|
|
7
|
+
import '../useSafeLayoutEffect-nbypi1qM.js';
|
|
8
|
+
import '../Button-DHbDRQYq.js';
|
|
13
9
|
import 'react-router-dom';
|
|
14
|
-
import '../Icon-
|
|
10
|
+
import '../Icon-CSji295z.js';
|
|
15
11
|
import '@jobber/design';
|
|
16
|
-
import '../Typography-
|
|
17
|
-
import '../useFormFieldFocus-BGWiRNbx.js';
|
|
12
|
+
import '../Typography-BAmymjjb.js';
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import React, { useState, createRef, useId, useRef, useEffect } from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
|
+
import { u as useOnKeyDown_2 } from './useOnKeyDown-CNhj933i.js';
|
|
5
|
+
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-DzRSfng8.js';
|
|
6
|
+
import { u as useSafeLayoutEffect_1 } from './useSafeLayoutEffect-nbypi1qM.js';
|
|
7
|
+
import { B as Button } from './Button-DHbDRQYq.js';
|
|
8
|
+
import { T as Typography } from './Typography-BAmymjjb.js';
|
|
9
|
+
import { I as Icon } from './Icon-CSji295z.js';
|
|
10
|
+
|
|
11
|
+
var styles = {"wrapper":"dT6M9tp1sZc-","menu":"Qmxlsj0D3qM-","above":"QTisUfiHwL4-","below":"qsch1dlpOHc-","left":"_0xR9-oxWMOU-","right":"gaZwsdyoG0k-","section":"LaKFjYCLHZc-","sectionHeader":"_7HB7dWnqCi0-","action":"ZuceCiefKqw-","overlay":"eKnUAucwwWU-","fullWidth":"oaxefr58z-E-","screenReaderOnly":"vz9opIdwHFg-"};
|
|
12
|
+
|
|
13
|
+
const variation = {
|
|
14
|
+
overlayStartStop: { opacity: 0 },
|
|
15
|
+
startOrStop: (position) => {
|
|
16
|
+
let y = 10;
|
|
17
|
+
if (position === "below")
|
|
18
|
+
y *= -1;
|
|
19
|
+
if (window.innerWidth < 640)
|
|
20
|
+
y = 150;
|
|
21
|
+
return { opacity: 0, y };
|
|
22
|
+
},
|
|
23
|
+
done: { opacity: 1, y: 0 },
|
|
24
|
+
};
|
|
25
|
+
// eslint-disable-next-line max-statements
|
|
26
|
+
function Menu({ activator, items }) {
|
|
27
|
+
var _a;
|
|
28
|
+
const [visible, setVisible] = useState(false);
|
|
29
|
+
const fullWidth = ((_a = activator === null || activator === void 0 ? void 0 : activator.props) === null || _a === void 0 ? void 0 : _a.fullWidth) || false;
|
|
30
|
+
const [position, setPosition] = useState({
|
|
31
|
+
vertical: "below",
|
|
32
|
+
horizontal: "right",
|
|
33
|
+
});
|
|
34
|
+
const wrapperRef = createRef();
|
|
35
|
+
const buttonID = useId();
|
|
36
|
+
const menuID = useId();
|
|
37
|
+
useOnKeyDown_2(handleKeyboardShortcut, ["Escape"]);
|
|
38
|
+
useSafeLayoutEffect_1(() => {
|
|
39
|
+
if (wrapperRef.current) {
|
|
40
|
+
const bounds = wrapperRef.current.getBoundingClientRect();
|
|
41
|
+
const newPosition = Object.assign({}, position);
|
|
42
|
+
if (bounds.top <= window.innerHeight / 2) {
|
|
43
|
+
newPosition.vertical = "below";
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
newPosition.vertical = "above";
|
|
47
|
+
}
|
|
48
|
+
if (bounds.left <= window.innerWidth / 2) {
|
|
49
|
+
newPosition.horizontal = "right";
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
newPosition.horizontal = "left";
|
|
53
|
+
}
|
|
54
|
+
setPosition(newPosition);
|
|
55
|
+
}
|
|
56
|
+
}, [visible, fullWidth]);
|
|
57
|
+
useRefocusOnActivator_2(visible);
|
|
58
|
+
if (!activator) {
|
|
59
|
+
activator = (React.createElement(Button, { fullWidth: true, label: "More Actions", icon: "more", type: "secondary" }));
|
|
60
|
+
}
|
|
61
|
+
const menuClasses = classnames(styles.menu, position.vertical === "above" && styles.above, position.vertical === "below" && styles.below, position.horizontal === "left" && styles.left, position.horizontal === "right" && styles.right);
|
|
62
|
+
const wrapperClasses = classnames(styles.wrapper, {
|
|
63
|
+
[styles.fullWidth]: fullWidth,
|
|
64
|
+
});
|
|
65
|
+
return (React.createElement("div", { className: wrapperClasses, ref: wrapperRef, onClick: handleParentClick },
|
|
66
|
+
React.cloneElement(activator, {
|
|
67
|
+
onClick: toggle(activator.props.onClick),
|
|
68
|
+
id: buttonID,
|
|
69
|
+
ariaControls: menuID,
|
|
70
|
+
ariaExpanded: visible,
|
|
71
|
+
ariaHaspopup: true,
|
|
72
|
+
}),
|
|
73
|
+
React.createElement(AnimatePresence, null, visible && (React.createElement(React.Fragment, null,
|
|
74
|
+
React.createElement(motion.div, { className: styles.overlay, onClick: toggle(), variants: variation, initial: "overlayStartStop", animate: "done", exit: "overlayStartStop", transition: {
|
|
75
|
+
type: "tween",
|
|
76
|
+
duration: 0.15,
|
|
77
|
+
} }),
|
|
78
|
+
React.createElement(motion.div, { className: menuClasses, role: "menu", "aria-labelledby": buttonID, id: menuID, onClick: hide, variants: variation, initial: "startOrStop", animate: "done", exit: "startOrStop", custom: position, transition: {
|
|
79
|
+
type: "tween",
|
|
80
|
+
duration: 0.25,
|
|
81
|
+
} }, items.map((item, key) => (React.createElement("div", { key: key, className: styles.section },
|
|
82
|
+
item.header && React.createElement(SectionHeader, { text: item.header }),
|
|
83
|
+
item.actions.map((action, index) => (React.createElement(Action, Object.assign({ sectionLabel: item.header, key: action.label, shouldFocus: key === 0 && index === 0 }, action)))))))))))));
|
|
84
|
+
function toggle(callbackPassthrough) {
|
|
85
|
+
return (event) => {
|
|
86
|
+
setVisible(!visible);
|
|
87
|
+
callbackPassthrough && callbackPassthrough(event);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function hide() {
|
|
91
|
+
setVisible(false);
|
|
92
|
+
}
|
|
93
|
+
function handleKeyboardShortcut(event) {
|
|
94
|
+
const { key } = event;
|
|
95
|
+
if (!visible)
|
|
96
|
+
return;
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
event.stopPropagation();
|
|
99
|
+
key === "Escape" && hide();
|
|
100
|
+
}
|
|
101
|
+
function handleParentClick(event) {
|
|
102
|
+
// Since the menu is being rendered within the same parent as the activator,
|
|
103
|
+
// we need to stop the click event from bubbling up. If the Menu component
|
|
104
|
+
// gets added within a parent that has a click handler, any click on the
|
|
105
|
+
// menu will trigger the parent's click handler.
|
|
106
|
+
event.stopPropagation();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function SectionHeader({ text }) {
|
|
110
|
+
return (React.createElement("div", { className: styles.sectionHeader, "aria-hidden": true },
|
|
111
|
+
React.createElement(Typography, { element: "h6", size: "base", textColor: "textSecondary", fontWeight: "regular", textCase: "none" }, text)));
|
|
112
|
+
}
|
|
113
|
+
function Action({ label, sectionLabel, icon, onClick, shouldFocus = false, }) {
|
|
114
|
+
const actionButtonRef = useRef();
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
if (shouldFocus) {
|
|
117
|
+
// Focus on the next tick to allow useRefocusOnActivator to initialize
|
|
118
|
+
setTimeout(() => { var _a; return (_a = actionButtonRef.current) === null || _a === void 0 ? void 0 : _a.focus(); }, 0);
|
|
119
|
+
}
|
|
120
|
+
}, [shouldFocus]);
|
|
121
|
+
return (React.createElement("button", { role: "menuitem", type: "button", className: styles.action, key: label, onClick: onClick, ref: actionButtonRef },
|
|
122
|
+
icon && React.createElement(Icon, { name: icon }),
|
|
123
|
+
React.createElement(Typography, { element: "span", fontWeight: "semiBold", textColor: "textSecondary" },
|
|
124
|
+
sectionLabel && (React.createElement("span", { className: styles.screenReaderOnly }, sectionLabel)),
|
|
125
|
+
label)));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export { Menu as M };
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var classnames = require('classnames');
|
|
5
|
+
var framerMotion = require('framer-motion');
|
|
6
|
+
var useOnKeyDown = require('./useOnKeyDown-DfV1L27h.js');
|
|
7
|
+
var useRefocusOnActivator = require('./useRefocusOnActivator-BIDEtO8r.js');
|
|
8
|
+
var useSafeLayoutEffect = require('./useSafeLayoutEffect-cVcuB4VE.js');
|
|
9
|
+
var Button = require('./Button-er8AcS1f.js');
|
|
10
|
+
var Typography = require('./Typography-ClUK1E8k.js');
|
|
11
|
+
var Icon = require('./Icon-CSTVSfW8.js');
|
|
12
|
+
|
|
13
|
+
var styles = {"wrapper":"dT6M9tp1sZc-","menu":"Qmxlsj0D3qM-","above":"QTisUfiHwL4-","below":"qsch1dlpOHc-","left":"_0xR9-oxWMOU-","right":"gaZwsdyoG0k-","section":"LaKFjYCLHZc-","sectionHeader":"_7HB7dWnqCi0-","action":"ZuceCiefKqw-","overlay":"eKnUAucwwWU-","fullWidth":"oaxefr58z-E-","screenReaderOnly":"vz9opIdwHFg-"};
|
|
14
|
+
|
|
15
|
+
const variation = {
|
|
16
|
+
overlayStartStop: { opacity: 0 },
|
|
17
|
+
startOrStop: (position) => {
|
|
18
|
+
let y = 10;
|
|
19
|
+
if (position === "below")
|
|
20
|
+
y *= -1;
|
|
21
|
+
if (window.innerWidth < 640)
|
|
22
|
+
y = 150;
|
|
23
|
+
return { opacity: 0, y };
|
|
24
|
+
},
|
|
25
|
+
done: { opacity: 1, y: 0 },
|
|
26
|
+
};
|
|
27
|
+
// eslint-disable-next-line max-statements
|
|
28
|
+
function Menu({ activator, items }) {
|
|
29
|
+
var _a;
|
|
30
|
+
const [visible, setVisible] = React.useState(false);
|
|
31
|
+
const fullWidth = ((_a = activator === null || activator === void 0 ? void 0 : activator.props) === null || _a === void 0 ? void 0 : _a.fullWidth) || false;
|
|
32
|
+
const [position, setPosition] = React.useState({
|
|
33
|
+
vertical: "below",
|
|
34
|
+
horizontal: "right",
|
|
35
|
+
});
|
|
36
|
+
const wrapperRef = React.createRef();
|
|
37
|
+
const buttonID = React.useId();
|
|
38
|
+
const menuID = React.useId();
|
|
39
|
+
useOnKeyDown.useOnKeyDown_2(handleKeyboardShortcut, ["Escape"]);
|
|
40
|
+
useSafeLayoutEffect.useSafeLayoutEffect_1(() => {
|
|
41
|
+
if (wrapperRef.current) {
|
|
42
|
+
const bounds = wrapperRef.current.getBoundingClientRect();
|
|
43
|
+
const newPosition = Object.assign({}, position);
|
|
44
|
+
if (bounds.top <= window.innerHeight / 2) {
|
|
45
|
+
newPosition.vertical = "below";
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
newPosition.vertical = "above";
|
|
49
|
+
}
|
|
50
|
+
if (bounds.left <= window.innerWidth / 2) {
|
|
51
|
+
newPosition.horizontal = "right";
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
newPosition.horizontal = "left";
|
|
55
|
+
}
|
|
56
|
+
setPosition(newPosition);
|
|
57
|
+
}
|
|
58
|
+
}, [visible, fullWidth]);
|
|
59
|
+
useRefocusOnActivator.useRefocusOnActivator_2(visible);
|
|
60
|
+
if (!activator) {
|
|
61
|
+
activator = (React.createElement(Button.Button, { fullWidth: true, label: "More Actions", icon: "more", type: "secondary" }));
|
|
62
|
+
}
|
|
63
|
+
const menuClasses = classnames(styles.menu, position.vertical === "above" && styles.above, position.vertical === "below" && styles.below, position.horizontal === "left" && styles.left, position.horizontal === "right" && styles.right);
|
|
64
|
+
const wrapperClasses = classnames(styles.wrapper, {
|
|
65
|
+
[styles.fullWidth]: fullWidth,
|
|
66
|
+
});
|
|
67
|
+
return (React.createElement("div", { className: wrapperClasses, ref: wrapperRef, onClick: handleParentClick },
|
|
68
|
+
React.cloneElement(activator, {
|
|
69
|
+
onClick: toggle(activator.props.onClick),
|
|
70
|
+
id: buttonID,
|
|
71
|
+
ariaControls: menuID,
|
|
72
|
+
ariaExpanded: visible,
|
|
73
|
+
ariaHaspopup: true,
|
|
74
|
+
}),
|
|
75
|
+
React.createElement(framerMotion.AnimatePresence, null, visible && (React.createElement(React.Fragment, null,
|
|
76
|
+
React.createElement(framerMotion.motion.div, { className: styles.overlay, onClick: toggle(), variants: variation, initial: "overlayStartStop", animate: "done", exit: "overlayStartStop", transition: {
|
|
77
|
+
type: "tween",
|
|
78
|
+
duration: 0.15,
|
|
79
|
+
} }),
|
|
80
|
+
React.createElement(framerMotion.motion.div, { className: menuClasses, role: "menu", "aria-labelledby": buttonID, id: menuID, onClick: hide, variants: variation, initial: "startOrStop", animate: "done", exit: "startOrStop", custom: position, transition: {
|
|
81
|
+
type: "tween",
|
|
82
|
+
duration: 0.25,
|
|
83
|
+
} }, items.map((item, key) => (React.createElement("div", { key: key, className: styles.section },
|
|
84
|
+
item.header && React.createElement(SectionHeader, { text: item.header }),
|
|
85
|
+
item.actions.map((action, index) => (React.createElement(Action, Object.assign({ sectionLabel: item.header, key: action.label, shouldFocus: key === 0 && index === 0 }, action)))))))))))));
|
|
86
|
+
function toggle(callbackPassthrough) {
|
|
87
|
+
return (event) => {
|
|
88
|
+
setVisible(!visible);
|
|
89
|
+
callbackPassthrough && callbackPassthrough(event);
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function hide() {
|
|
93
|
+
setVisible(false);
|
|
94
|
+
}
|
|
95
|
+
function handleKeyboardShortcut(event) {
|
|
96
|
+
const { key } = event;
|
|
97
|
+
if (!visible)
|
|
98
|
+
return;
|
|
99
|
+
event.preventDefault();
|
|
100
|
+
event.stopPropagation();
|
|
101
|
+
key === "Escape" && hide();
|
|
102
|
+
}
|
|
103
|
+
function handleParentClick(event) {
|
|
104
|
+
// Since the menu is being rendered within the same parent as the activator,
|
|
105
|
+
// we need to stop the click event from bubbling up. If the Menu component
|
|
106
|
+
// gets added within a parent that has a click handler, any click on the
|
|
107
|
+
// menu will trigger the parent's click handler.
|
|
108
|
+
event.stopPropagation();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function SectionHeader({ text }) {
|
|
112
|
+
return (React.createElement("div", { className: styles.sectionHeader, "aria-hidden": true },
|
|
113
|
+
React.createElement(Typography.Typography, { element: "h6", size: "base", textColor: "textSecondary", fontWeight: "regular", textCase: "none" }, text)));
|
|
114
|
+
}
|
|
115
|
+
function Action({ label, sectionLabel, icon, onClick, shouldFocus = false, }) {
|
|
116
|
+
const actionButtonRef = React.useRef();
|
|
117
|
+
React.useEffect(() => {
|
|
118
|
+
if (shouldFocus) {
|
|
119
|
+
// Focus on the next tick to allow useRefocusOnActivator to initialize
|
|
120
|
+
setTimeout(() => { var _a; return (_a = actionButtonRef.current) === null || _a === void 0 ? void 0 : _a.focus(); }, 0);
|
|
121
|
+
}
|
|
122
|
+
}, [shouldFocus]);
|
|
123
|
+
return (React.createElement("button", { role: "menuitem", type: "button", className: styles.action, key: label, onClick: onClick, ref: actionButtonRef },
|
|
124
|
+
icon && React.createElement(Icon.Icon, { name: icon }),
|
|
125
|
+
React.createElement(Typography.Typography, { element: "span", fontWeight: "semiBold", textColor: "textSecondary" },
|
|
126
|
+
sectionLabel && (React.createElement("span", { className: styles.screenReaderOnly }, sectionLabel)),
|
|
127
|
+
label)));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
exports.Menu = Menu;
|
package/dist/Modal/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Modal = require('../Modal-
|
|
3
|
+
var Modal = require('../Modal-CrpYnCPi.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('react-dom');
|
|
6
6
|
require('classnames');
|
|
7
7
|
require('framer-motion');
|
|
8
|
-
require('../useRefocusOnActivator-
|
|
9
|
-
require('../useOnKeyDown-
|
|
10
|
-
require('../useFocusTrap-
|
|
11
|
-
require('../Heading-
|
|
12
|
-
require('../Typography-
|
|
13
|
-
require('../Button-
|
|
8
|
+
require('../useRefocusOnActivator-BIDEtO8r.js');
|
|
9
|
+
require('../useOnKeyDown-DfV1L27h.js');
|
|
10
|
+
require('../useFocusTrap-CMaPdAln.js');
|
|
11
|
+
require('../Heading-BbVGT5-q.js');
|
|
12
|
+
require('../Typography-ClUK1E8k.js');
|
|
13
|
+
require('../Button-er8AcS1f.js');
|
|
14
14
|
require('react-router-dom');
|
|
15
|
-
require('../Icon-
|
|
15
|
+
require('../Icon-CSTVSfW8.js');
|
|
16
16
|
require('@jobber/design');
|
|
17
|
-
require('../ButtonDismiss-
|
|
17
|
+
require('../ButtonDismiss-Dl9u7b14.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
package/dist/Modal/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { M as Modal } from '../Modal-
|
|
1
|
+
export { M as Modal } from '../Modal-Ch95pJ_R.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import 'framer-motion';
|
|
6
|
-
import '../useRefocusOnActivator-
|
|
7
|
-
import '../useOnKeyDown-
|
|
8
|
-
import '../useFocusTrap-
|
|
9
|
-
import '../Heading-
|
|
10
|
-
import '../Typography-
|
|
11
|
-
import '../Button-
|
|
6
|
+
import '../useRefocusOnActivator-DzRSfng8.js';
|
|
7
|
+
import '../useOnKeyDown-CNhj933i.js';
|
|
8
|
+
import '../useFocusTrap-CuRvip9a.js';
|
|
9
|
+
import '../Heading-C37Z1tFR.js';
|
|
10
|
+
import '../Typography-BAmymjjb.js';
|
|
11
|
+
import '../Button-DHbDRQYq.js';
|
|
12
12
|
import 'react-router-dom';
|
|
13
|
-
import '../Icon-
|
|
13
|
+
import '../Icon-CSji295z.js';
|
|
14
14
|
import '@jobber/design';
|
|
15
|
-
import '../ButtonDismiss-
|
|
15
|
+
import '../ButtonDismiss-0hcYRuGk.js';
|
|
@@ -2,12 +2,12 @@ import React from 'react';
|
|
|
2
2
|
import ReactDOM from 'react-dom';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
5
|
-
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-
|
|
6
|
-
import { u as useOnKeyDown_2 } from './useOnKeyDown-
|
|
7
|
-
import { u as useFocusTrap_2 } from './useFocusTrap-
|
|
8
|
-
import { H as Heading } from './Heading-
|
|
9
|
-
import { B as Button } from './Button-
|
|
10
|
-
import { B as ButtonDismiss } from './ButtonDismiss-
|
|
5
|
+
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-DzRSfng8.js';
|
|
6
|
+
import { u as useOnKeyDown_2 } from './useOnKeyDown-CNhj933i.js';
|
|
7
|
+
import { u as useFocusTrap_2 } from './useFocusTrap-CuRvip9a.js';
|
|
8
|
+
import { H as Heading } from './Heading-C37Z1tFR.js';
|
|
9
|
+
import { B as Button } from './Button-DHbDRQYq.js';
|
|
10
|
+
import { B as ButtonDismiss } from './ButtonDismiss-0hcYRuGk.js';
|
|
11
11
|
|
|
12
12
|
var styles = {"container":"QGRLFHPoV5E-","overlay":"_4WzGOMUGj5I-","modal":"WLId2NJBQcQ-","header":"wjrPpIUNNrk-","closeButton":"rKvigUnOyYE-","actionBar":"_62c8HLZFwvs-","leftAction":"Xl1Ptn-P9Ew-","rightAction":"p2s7GtpoZz0-"};
|
|
13
13
|
|