@jobber/components 5.7.2 → 5.7.4
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-CFLVaKlb.js → AnimatedSwitcher-CG2mjEKk.js} +1 -1
- package/dist/{AnimatedSwitcher-C8ERpDY7.js → AnimatedSwitcher-EMd0822T.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/Autocomplete/index.cjs +19 -18
- package/dist/Autocomplete/index.mjs +19 -18
- package/dist/{Autocomplete-y0u2ijkF.js → Autocomplete-5aAJOVOA.js} +9 -9
- package/dist/{Autocomplete-C4uoRTT9.js → Autocomplete-cw8tQRBc.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-Co6eQ_hq.js → Avatar-C5HY-gUa.js} +1 -1
- package/dist/{Avatar-fQHt9v5z.js → Avatar-jfCJ3LDV.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-BMOV8j3i.js → Banner-BmgQRkTy.js} +5 -5
- package/dist/{Banner-DR57fOUJ.js → Banner-CJfnK6hR.js} +5 -5
- package/dist/{BannerIcon-CcEPYmpa.js → BannerIcon-2GiWxlcY.js} +1 -1
- package/dist/{BannerIcon-CBqONIDX.js → BannerIcon-B8MnTl72.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-Dk57MT7t.js → Button-BHXi36iE.js} +2 -2
- package/dist/{Button-5NZGPGRp.js → Button-C8x_JoF0.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-B32HVZaK.js → ButtonDismiss-CFC2G5r2.js} +1 -1
- package/dist/{ButtonDismiss-BDjhpTVH.js → ButtonDismiss-DSSdvrZW.js} +1 -1
- package/dist/Card/index.cjs +14 -9
- package/dist/Card/index.mjs +14 -9
- package/dist/{Card-DXl9F7jP.js → Card-CTytkzv6.js} +3 -3
- package/dist/{Card-C2KRWc7V.js → Card-CU50-efw.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-BbIDn-8c.js → Checkbox-CQQAUzVC.js} +3 -3
- package/dist/{Checkbox-B5H8oHVx.js → Checkbox-kujr2KYQ.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-CSfqOwU9.js → Chip-BDNCYeLW.js} +6 -6
- package/dist/{Chip-Kiht7nox.js → Chip-CVR2BhQK.js} +6 -6
- package/dist/{ChipDismissible-Dvm6-BY0.js → ChipDismissible-BvlvPyoh.js} +3 -3
- package/dist/{ChipDismissible-BZQLcdTx.js → ChipDismissible-DGOvT0YB.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-B6PczwWw.js → Chips-BR8wS7gm.js} +2 -2
- package/dist/{Chips-DtBkf31V.js → Chips-cvnhLd-u.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-SB0isb0D.js → Combobox-CqqgI4mm.js} +9 -9
- package/dist/{Combobox-DYnQXPP_.js → Combobox-DdBr5GiV.js} +9 -9
- package/dist/{ComboboxAction-Cz4FXd2j.js → ComboboxAction--Z8b1goy.js} +2 -2
- package/dist/{ComboboxAction-CRlhP9z6.js → ComboboxAction-B7hycYgo.js} +2 -2
- package/dist/{ComboboxActivator-CjGJj4tW.js → ComboboxActivator-B5y4l6i5.js} +4 -4
- package/dist/{ComboboxActivator-BPpiOe-0.js → ComboboxActivator-BXayuJyU.js} +4 -4
- package/dist/{ComboboxContent-DvYccsSh.js → ComboboxContent-DfBPMWEn.js} +7 -7
- package/dist/{ComboboxContent-Bq9yf2_X.js → ComboboxContent-DxwZ9QBy.js} +7 -7
- package/dist/{ComboboxContentHeader-CqmkA0by.js → ComboboxContentHeader-DdY2D24j.js} +2 -2
- package/dist/{ComboboxContentHeader-CfCFfJPq.js → ComboboxContentHeader-JuLUvDLB.js} +2 -2
- package/dist/{ComboboxContentList-D8fiuD5T.js → ComboboxContentList-CJmvNWPn.js} +6 -6
- package/dist/{ComboboxContentList-Cg2Li4fB.js → ComboboxContentList-DAUKom5F.js} +6 -6
- package/dist/{ComboboxContentSearch-BoTMA3yG.js → ComboboxContentSearch-CGiyVQXt.js} +1 -1
- package/dist/{ComboboxContentSearch-DYvJ9-oV.js → ComboboxContentSearch-CnQW6_qz.js} +1 -1
- package/dist/{ComboboxLoadMore-CG3V-Zcv.js → ComboboxLoadMore-CIfZdMaE.js} +1 -1
- package/dist/{ComboboxLoadMore-CFqi-mB-.js → ComboboxLoadMore-mFAKn5P5.js} +1 -1
- package/dist/{ComboboxOption-BvR0pSO7.js → ComboboxOption-DBbSNiRG.js} +3 -3
- package/dist/{ComboboxOption-BBzdKdAC.js → ComboboxOption-ONIj7Tih.js} +3 -3
- package/dist/{ComboboxProvider-BGSQKp0S.js → ComboboxProvider-BqRIvkK-.js} +1 -1
- package/dist/{ComboboxProvider-Dc5Qbmus.js → ComboboxProvider-DrnxfqIK.js} +1 -1
- package/dist/{ComboboxTrigger-DJPS2dpd.js → ComboboxTrigger-BNuvQCuz.js} +4 -4
- package/dist/{ComboboxTrigger-DuXuKIOY.js → ComboboxTrigger-CmwsqivW.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-jkKpP5p6.js → ConfirmationModal-2PIJkcNp.js} +4 -4
- package/dist/{ConfirmationModal-CU3PRUXC.js → ConfirmationModal-D-uB3o8L.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-CHqE7Pbb.js → Countdown-C6y7tfxf.js} +1 -1
- package/dist/{Countdown-Df5Ic73D.js → Countdown-Cn1HpN5B.js} +1 -1
- package/dist/DataDump/index.cjs +17 -12
- package/dist/DataDump/index.mjs +17 -12
- package/dist/{DataDump-tRsfJ-52.js → DataDump-CRjfY6mK.js} +3 -3
- package/dist/{DataDump-DDKUIIu1.js → DataDump-CU_zwnbQ.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 +20 -19
- package/dist/DataList/components/DataListSearch/index.mjs +20 -19
- 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 +83 -82
- package/dist/DataList/index.mjs +83 -82
- package/dist/{DataList-Dbah0rGv.js → DataList-CSFQRstL.js} +21 -21
- package/dist/{DataList-BrH673bv.js → DataList-CvSAG5_B.js} +21 -21
- package/dist/{DataList.utils-Dawo0aa-.js → DataList.utils-C4v-B3Uq.js} +8 -8
- package/dist/{DataList.utils-sZJpYE6z.js → DataList.utils-ClQ1aFhs.js} +8 -8
- package/dist/{DataListAction-BcJlUowI.js → DataListAction-Bn-P_LQQ.js} +3 -3
- package/dist/{DataListAction-Bs3FtpMo.js → DataListAction-BzNs9sxp.js} +3 -3
- package/dist/{DataListActions-BwCpgHQW.js → DataListActions-Ciixd_fO.js} +6 -6
- package/dist/{DataListActions-Dd605_hq.js → DataListActions-_YRbzWjg.js} +6 -6
- package/dist/{DataListActionsMenu-F4cFv1ax.js → DataListActionsMenu-CGyM82D2.js} +5 -5
- package/dist/{DataListActionsMenu-CfzuNaI6.js → DataListActionsMenu-fmtzt22L.js} +5 -5
- package/dist/{DataListBulkActions-Df0wTHhX.js → DataListBulkActions-BJDUJ0t-.js} +3 -3
- package/dist/{DataListBulkActions-Ba0LawZK.js → DataListBulkActions-kx7-OSSd.js} +3 -3
- package/dist/{DataListContext-keTgFNvv.js → DataListContext-CJkKsS0O.js} +1 -1
- package/dist/{DataListContext-BONiWdzX.js → DataListContext-DxjdFeyB.js} +1 -1
- package/dist/{DataListEmptyState-ChYeFHb8.js → DataListEmptyState-C0PfOHOg.js} +4 -4
- package/dist/{DataListEmptyState-DDPZrh3Y.js → DataListEmptyState-xalGDtLN.js} +4 -4
- package/dist/{DataListFilters-CAQViUiG.js → DataListFilters-BglnBIjN.js} +5 -5
- package/dist/{DataListFilters-CK38fV5o.js → DataListFilters-pukBVE5d.js} +5 -5
- package/dist/{DataListHeader-D4aG-ki3.js → DataListHeader-BIdMyEGo.js} +11 -11
- package/dist/{DataListHeader-xxRyvLOL.js → DataListHeader-DfYOW6au.js} +11 -11
- package/dist/{DataListHeaderTile-5s8l2amv.js → DataListHeaderTile-BPKGzxrW.js} +5 -5
- package/dist/{DataListHeaderTile-CSEQQLSt.js → DataListHeaderTile-BxvBBaLo.js} +5 -5
- package/dist/{DataListItem-BUS1gtDI.js → DataListItem-C00aulFD.js} +10 -10
- package/dist/{DataListItem-CJ56Y-tD.js → DataListItem-DPln1fqH.js} +10 -10
- package/dist/{DataListItemActions-Bzf4g9AC.js → DataListItemActions-BRu5ujTS.js} +2 -2
- package/dist/{DataListItemActions-BRxyqEyb.js → DataListItemActions-DDHfXXTU.js} +2 -2
- package/dist/{DataListItemActionsOverflow-CZSZeCxJ.js → DataListItemActionsOverflow-Bq-8r1mA.js} +3 -3
- package/dist/{DataListItemActionsOverflow-BbKEXpyh.js → DataListItemActionsOverflow-EcNvj57z.js} +3 -3
- package/dist/{DataListItemClickable-CdKGwSEn.js → DataListItemClickable-7PCZ6OCV.js} +3 -3
- package/dist/{DataListItemClickable-_iWE_8_P.js → DataListItemClickable-i_HFjomP.js} +3 -3
- package/dist/{DataListItems-BxFwkdon.js → DataListItems-QcMu-6Hv.js} +3 -3
- package/dist/{DataListItems-CDTZUT6O.js → DataListItems-a2Vfd9iB.js} +3 -3
- package/dist/{DataListLayout-BQ2GF_l4.js → DataListLayout-D32GE4lF.js} +3 -3
- package/dist/{DataListLayout-BWpH3-TP.js → DataListLayout-_xbF5kKR.js} +3 -3
- package/dist/{DataListLayoutActions-BM2mTAv0.js → DataListLayoutActions-BAH1pMSQ.js} +4 -4
- package/dist/{DataListLayoutActions-BXjRjXGL.js → DataListLayoutActions-DCNvChUJ.js} +4 -4
- package/dist/{DataListLayoutContext-DIs5FEtJ.js → DataListLayoutContext-CFA2tZ8M.js} +1 -1
- package/dist/{DataListLayoutContext-Ckfq35xV.js → DataListLayoutContext-q_-uoH3_.js} +1 -1
- package/dist/{DataListLoadMore-BaIw3k0i.js → DataListLoadMore-BPnfc3XK.js} +5 -5
- package/dist/{DataListLoadMore-C1WERP57.js → DataListLoadMore-ZuNz2apO.js} +5 -5
- package/dist/{DataListLoadingState-CknX5EjV.js → DataListLoadingState-DVADSGsF.js} +3 -3
- package/dist/{DataListLoadingState-CtkZX3-x.js → DataListLoadingState-DXDko3vE.js} +3 -3
- package/dist/{DataListOverflowFade-hKTuzcTz.js → DataListOverflowFade-CKJwh95x.js} +1 -1
- package/dist/{DataListOverflowFade-BYv_2Hdz.js → DataListOverflowFade-DiTgld8x.js} +1 -1
- package/dist/{DataListSearch-BbvPhIgx.js → DataListSearch-CgnYC16f.js} +6 -6
- package/dist/{DataListSearch-7bJ4YqtL.js → DataListSearch-Dnr6AtUg.js} +6 -6
- package/dist/{DataListSort-DBfaSYUD.js → DataListSort-D7vrhUgB.js} +6 -6
- package/dist/{DataListSort-BPgDYDK5.js → DataListSort-hdwzBABx.js} +6 -6
- package/dist/{DataListSortingOptions-De1xI_mp.js → DataListSortingOptions-BvoEV_jQ.js} +3 -3
- package/dist/{DataListSortingOptions-BMDQM7SW.js → DataListSortingOptions-DyX3QTcy.js} +3 -3
- package/dist/{DataListStatusBar-BYMj4Ztj.js → DataListStatusBar-BM-XIdbi.js} +2 -2
- package/dist/{DataListStatusBar-8eg_33Nn.js → DataListStatusBar-BwOfDNCu.js} +2 -2
- package/dist/{DataListStickyHeader-G9CSKOI6.js → DataListStickyHeader-DZi3vpb0.js} +1 -1
- package/dist/{DataListStickyHeader-CeYJGWJM.js → DataListStickyHeader-lCBh1Aao.js} +1 -1
- package/dist/{DataListTags-Bmgao6_3.js → DataListTags-9NgB4nSq.js} +2 -2
- package/dist/{DataListTags-DS3j1kMd.js → DataListTags-CfDAJttc.js} +2 -2
- package/dist/{DataListTotalCount-BqD5VxXa.js → DataListTotalCount-C8uzwV-g.js} +2 -2
- package/dist/{DataListTotalCount-CReeBPoi.js → DataListTotalCount-DlT0ltHX.js} +2 -2
- package/dist/DataTable/index.cjs +19 -18
- package/dist/DataTable/index.mjs +19 -18
- package/dist/DataTable/test-utilities/index.cjs +6 -6
- package/dist/DataTable/test-utilities/index.mjs +6 -6
- package/dist/{DataTable-BD4ZSqdh.js → DataTable-CCEe0Oy9.js} +6 -6
- package/dist/{DataTable-S5t82iBx.js → DataTable-DsgWpvJF.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-F4BiQr_B.js → DatePicker-CMtKR--_.js} +11 -11
- package/dist/{DatePicker-DKFWn5AN.js → DatePicker-CWkcM8bK.js} +11 -11
- package/dist/{DayOfMonthSelect-CiIwOfrJ.js → DayOfMonthSelect-CcRXpTms.js} +2 -2
- package/dist/{DayOfMonthSelect-MPLXu9bf.js → DayOfMonthSelect-CopDgx7H.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-Bw991yhF.js → DescriptionList-D3OIjXvS.js} +1 -1
- package/dist/{DescriptionList-CAg7eeK-.js → DescriptionList-p1fGAMsO.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-D0VszH38.js → Disclosure-B7m9XC1q.js} +3 -3
- package/dist/{Disclosure-C9IvObVH.js → Disclosure-HB_3_1fB.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-CheGYMEX.js → DrawerGrid-Boz4z0dB.js} +2 -2
- package/dist/{DrawerGrid-C7RARTpO.js → DrawerGrid-DaFlmCNG.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-lqZqdpMQ.js → Emphasis-CWvS7OeR.js} +1 -1
- package/dist/{Emphasis-oIeSg_ZX.js → Emphasis-UYBXa0hj.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-Brmqf7oY.js → FeatureSwitch-CGz8O_i_.js} +7 -7
- package/dist/{FeatureSwitch-B0pRodlS.js → FeatureSwitch-JKeSCFee.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-CLDa30c5.js → Form-C45y7XET.js} +1 -1
- package/dist/{Form-qch5fQdo.js → Form-Cq80kwsp.js} +1 -1
- package/dist/FormField/hooks/useActiveElement.d.ts +1 -0
- package/dist/FormField/hooks/useFormFieldFocus.d.ts +3 -0
- package/dist/FormField/index.cjs +9 -8
- package/dist/FormField/index.mjs +9 -8
- package/dist/{FormField-B3Ugyr_g.js → FormField-C_alMRyC.js} +8 -37
- package/dist/{FormField-DyazCx_1.js → FormField-YUGrKW_7.js} +8 -37
- 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-DJfGD-6I.js → FormatFile-CKWeRWOk.js} +7 -7
- package/dist/{FormatFile-CWjzsMMi.js → FormatFile-Dn3fwrT3.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-DQzNQEwo.js → Gallery-C6tjEUnv.js} +3 -3
- package/dist/{Gallery-CWAdqNDs.js → Gallery-CEY_GS90.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-D5M4ZxeS.js → Glimmer-BuXIRVWO.js} +2 -2
- package/dist/{Glimmer-B8NHK9th.js → Glimmer-D6hgNCSg.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-lZjGqDQs.js → Grid-DxpOAbLX.js} +2 -2
- package/dist/{Grid-BC4zE12p.js → Grid-RZhXzY5p.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-lQiIuFIR.js → Heading-BGxS9YIG.js} +1 -1
- package/dist/{Heading-2zEW71bU.js → Heading-CxMaUgXE.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-x42jm7do.js → InlineLabel-CM5Lg5qN.js} +1 -1
- package/dist/{InlineLabel-BUCurIbZ.js → InlineLabel-eFVikxq5.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-C-CNrAD0.js → InputAvatar-AoWlNluU.js} +5 -5
- package/dist/{InputAvatar-B93Cf4nW.js → InputAvatar-CG4as83a.js} +5 -5
- package/dist/InputDate/index.cjs +21 -20
- package/dist/InputDate/index.mjs +21 -20
- package/dist/{InputDate-MTM3tchG.js → InputDate-CyNhiId0.js} +2 -2
- package/dist/{InputDate-bUo9T-xV.js → InputDate-icb52Tf2.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -9
- package/dist/InputEmail/index.mjs +10 -9
- package/dist/{InputEmail-BTgEgAx_.js → InputEmail-B9DFoQ5W.js} +1 -1
- package/dist/{InputEmail-BLYOE45H.js → InputEmail-C7GxKl-E.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-DbLYX0RL.js → InputFile-DGs1iZyj.js} +6 -6
- package/dist/{InputFile-Cyma-9Iq.js → InputFile-Dk19uOiH.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +10 -9
- package/dist/InputNumber/index.mjs +10 -9
- package/dist/{InputNumber-Bnk85Qdy.js → InputNumber-BEKyoq-5.js} +1 -1
- package/dist/{InputNumber-B7DwZlCv.js → InputNumber-SRClaHyk.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -9
- package/dist/InputPassword/index.mjs +10 -9
- package/dist/{InputPassword-BO0c19ZO.js → InputPassword-B8uQFCcP.js} +1 -1
- package/dist/{InputPassword-BjWK-SMW.js → InputPassword-BCX4IS6n.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -9
- package/dist/InputPhoneNumber/index.mjs +10 -9
- package/dist/{InputPhoneNumber-B8bzNuaH.js → InputPhoneNumber-B3tdWIgv.js} +2 -2
- package/dist/{InputPhoneNumber-CEiMpVwX.js → InputPhoneNumber-B6TM4AZh.js} +2 -2
- package/dist/InputText/index.cjs +11 -10
- package/dist/InputText/index.mjs +11 -10
- package/dist/{InputText-jF8xq1yr.js → InputText-DssrDJXH.js} +2 -2
- package/dist/{InputText-DZ8WgJrv.js → InputText-fdGds69T.js} +2 -2
- package/dist/InputTime/index.cjs +14 -13
- package/dist/InputTime/index.mjs +14 -13
- package/dist/{InputTime-Ijro0VNk.js → InputTime-Cs5iAOoC.js} +3 -3
- package/dist/{InputTime-B1Rli12p.js → InputTime-Dh34rfGX.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-DL_hYaKU.js → InputValidation-BrMRDgMT.js} +2 -2
- package/dist/{InputValidation-RoL8WPG-.js → InputValidation-Czi0SPj4.js} +2 -2
- package/dist/{InternalChipDismissible-D86OzrE1.js → InternalChipDismissible-PztY_vON.js} +11 -11
- package/dist/{InternalChipDismissible-nxQvVFjp.js → InternalChipDismissible-vEipoyVQ.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-Pvgfboe8.js → LightBox-6RiHhFzn.js} +7 -7
- package/dist/{LightBox-DYkcTagy.js → LightBox-OvEx_spQ.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-kHeWVr6W.js → List-6tsHmYQD.js} +10 -10
- package/dist/{List-B61Ps4o3.js → List-BBwVpDza.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-DTUbQBbr.js → Markdown-C0DsFWlk.js} +7 -7
- package/dist/{Markdown-DdM6gIN_.js → Markdown-DsdiwTAB.js} +7 -7
- package/dist/Menu/Menu.d.ts +1 -5
- package/dist/Menu/index.cjs +12 -7
- package/dist/Menu/index.mjs +12 -7
- package/dist/Menu-Bl-F9mOf.js +168 -0
- package/dist/Menu-DVGO96_H.js +170 -0
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-BAg8-RZS.js → Modal-DWDH5jQj.js} +6 -6
- package/dist/{Modal-H4zzCkMM.js → Modal-tD3LxCFh.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-CXMoNVB4.js → MultiSelect-BnJWEGsi.js} +3 -3
- package/dist/{MultiSelect-5MgWeJnf.js → MultiSelect-F4cwX7YE.js} +3 -3
- package/dist/{Option-CvrbFuE2.js → Option-BOfQgw2f.js} +1 -1
- package/dist/{Option-BqZ-KuAf.js → Option-D0gEW_n-.js} +1 -1
- package/dist/Page/index.cjs +25 -20
- package/dist/Page/index.mjs +25 -20
- package/dist/{Page-DbN0Soit.js → Page-ByoG3jBP.js} +8 -8
- package/dist/{Page-VqptKnL9.js → Page-DgbcHfqC.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-BU6JgebJ.js → Popover-BfLQYidM.js} +2 -2
- package/dist/{Popover-DIaVQ9D1.js → Popover-on-bIYRf.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-i-U2NrLk.js → RadioGroup-CZ6PH4Vh.js} +1 -1
- package/dist/{RadioGroup-DcqHfbMr.js → RadioGroup-C_XQwtUn.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +16 -15
- package/dist/RecurringSelect/index.mjs +16 -15
- package/dist/{RecurringSelect-BRMWkWGx.js → RecurringSelect-B7TANobU.js} +6 -6
- package/dist/{RecurringSelect-B04uvi8H.js → RecurringSelect-Bu6wla_w.js} +6 -6
- package/dist/Select/index.cjs +10 -9
- package/dist/Select/index.mjs +10 -9
- 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-CMsb9lm-.js → StatusLabel-BpOkB-to.js} +2 -2
- package/dist/{StatusLabel-X1P9M-Uf.js → StatusLabel-TxfPII6o.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-CxR0k9or.js → Switch-DwRrla8S.js} +1 -1
- package/dist/{Switch-C2zYmQCz.js → Switch-HkXf38nT.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-D1VIeNLX.js → Tabs-BJJ6phuS.js} +1 -1
- package/dist/{Tabs-BNEdF55U.js → Tabs-Bcl9qnwJ.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-ZNiN0cJV.js → Text-CEvlfZJe.js} +1 -1
- package/dist/{Text-C2XAkhfc.js → Text-DGB7vvsK.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-DBPNFimU.js → Tooltip-CGq6ye91.js} +2 -2
- package/dist/{Tooltip-cF02I5I3.js → Tooltip-DcjcfBLW.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-CMAt3UhR.js → _baseAssignValue-DoE7uzLN.js} +1 -1
- package/dist/{_baseAssignValue-CnCvxC4c.js → _baseAssignValue-DqJejJM8.js} +1 -1
- package/dist/{_baseEach-d1MASsIN.js → _baseEach-BXKXor_q.js} +4 -4
- package/dist/{_baseEach-BZTpzMLN.js → _baseEach-BytS_vmo.js} +4 -4
- package/dist/{_defineProperty-B2KzC9Fx.js → _defineProperty-CNnNPaRC.js} +3 -3
- package/dist/{_defineProperty-CiQj14Oi.js → _defineProperty-CiWaTHBx.js} +3 -3
- package/dist/{_getTag-CQF_pbAy.js → _getTag-1lQE6XGg.js} +1 -1
- package/dist/{_getTag-DTkDs6kf.js → _getTag-oYy6fVei.js} +1 -1
- package/dist/{_setToString-DAvdZChL.js → _setToString-Bfnmns1N.js} +3 -3
- package/dist/{_setToString-oANaJoqn.js → _setToString-Cxy3Ar4E.js} +3 -3
- package/dist/{debounce-CIgJ0zDw.js → debounce-ByAwKV7f.js} +3 -3
- package/dist/{debounce-BFOiFt5k.js → debounce-DvG5PHDm.js} +3 -3
- package/dist/{helpers-HoPuZ7iP.js → helpers-BksNwllh.js} +1 -1
- package/dist/{helpers-B8P4OU0k.js → helpers-Dl1IhXAb.js} +1 -1
- package/dist/{index-DN6ehSy0.js → index-BQ59jNWX.js} +1 -1
- package/dist/{index-j66Z75vE.js → index-Cw9P1FwW.js} +1 -1
- package/dist/index.cjs +146 -145
- package/dist/index.mjs +146 -145
- package/dist/{isObjectLike-CtDU20ss.js → isObjectLike-B4WSBfU4.js} +1 -1
- package/dist/{isObjectLike-Df2lodes.js → isObjectLike-C4Kwqhdc.js} +1 -1
- package/dist/{isSymbol-D7K5ON8L.js → isSymbol-BJYwCXgX.js} +1 -1
- package/dist/{isSymbol-Dq_4lH3A.js → isSymbol-BgytksaO.js} +1 -1
- package/dist/{noop-CrQ5qq7s.js → noop-C35QzB4n.js} +1 -1
- package/dist/{noop-CiNHwMe8.js → noop-owe_iYkK.js} +1 -1
- package/dist/styles.css +38 -78
- package/dist/{useActiveLayout-DVVSQ-0Z.js → useActiveLayout-CRttoVOF.js} +2 -2
- package/dist/{useActiveLayout-BEWUzI6I.js → useActiveLayout-Dl9xK1SM.js} +2 -2
- package/dist/{useAssert-oQRdECre.js → useAssert-3VPrCdMd.js} +2 -2
- package/dist/{useAssert-BNIHT9_e.js → useAssert-Cy6luWKD.js} +2 -2
- package/dist/{useBatchSelect-TIdF40FB.js → useBatchSelect-Ci8BfdS5.js} +1 -1
- package/dist/{useBatchSelect-BKLkKI__.js → useBatchSelect-Dv2LJR4e.js} +1 -1
- package/dist/useFormFieldFocus-V24kgXZc.js +57 -0
- package/dist/useFormFieldFocus-jK2O0fxF.js +60 -0
- package/dist/{useIsMounted-DqEM0Exv.js → useIsMounted-Bm8MJX8Y.js} +1 -1
- package/dist/{useIsMounted-Ct-pu3MO.js → useIsMounted-BwBYIfqP.js} +1 -1
- package/dist/{useResizeObserver--Hq5NVxA.js → useResizeObserver-CkG0s-Yf.js} +3 -3
- package/dist/{useResizeObserver-a3dVd6W_.js → useResizeObserver-teTm_UtK.js} +3 -3
- package/dist/{useResponsiveSizing-DgdoYgkn.js → useResponsiveSizing-Bh1J2FZ2.js} +1 -1
- package/dist/{useResponsiveSizing-C8rE-xm1.js → useResponsiveSizing-DfhdZRL9.js} +1 -1
- package/dist/{useScrollToActive-Zo3p8qzn.js → useScrollToActive-CctiI1JF.js} +9 -9
- package/dist/{useScrollToActive-Z1U5tdKe.js → useScrollToActive-DXNFaVqp.js} +9 -9
- package/package.json +3 -3
- package/dist/Menu-DEYnk7a3.js +0 -130
- package/dist/Menu-_C77zmA-.js +0 -128
- /package/dist/{AnimatedPresence-COik-nM7.js → AnimatedPresence-GBWACuDZ.js} +0 -0
- /package/dist/{AnimatedPresence-BiIKty6p.js → AnimatedPresence-kGAf4tT5.js} +0 -0
- /package/dist/{AtlantisContext-BjFNVjpc.js → AtlantisContext-CEcTCnSq.js} +0 -0
- /package/dist/{AtlantisContext-BHNrWSl_.js → AtlantisContext-DwBZsguc.js} +0 -0
- /package/dist/{Body-DBq17TyR.js → Body-CdlwrS8a.js} +0 -0
- /package/dist/{Body-D6Suox7R.js → Body-X6XR3Ego.js} +0 -0
- /package/dist/{Content-eXP_YDij.js → Content-DxNZ9VlT.js} +0 -0
- /package/dist/{Content-Dlxr9tpp.js → Content-aAue1qgN.js} +0 -0
- /package/dist/{DataList-DXQuw1FY.js → DataList-AlnuS84e.js} +0 -0
- /package/dist/{DataList-B2Ro3dIJ.js → DataList-DVRS3uk7.js} +0 -0
- /package/dist/{DataList.const-BVqcPkpX.js → DataList.const-BzD2q0BD.js} +0 -0
- /package/dist/{DataList.const-BbIX_2s8.js → DataList.const-CsgZX_1e.js} +0 -0
- /package/dist/{DataListLayoutContext-WnZdFL7X.js → DataListLayoutContext-C9PFHML3.js} +0 -0
- /package/dist/{DataListLayoutContext-B3TnHSJa.js → DataListLayoutContext-P8IhuwNh.js} +0 -0
- /package/dist/{Divider-Fs_bTykP.js → Divider-BdY3axXb.js} +0 -0
- /package/dist/{Divider-6oC4Q0YM.js → Divider-HOkdPQ1k.js} +0 -0
- /package/dist/{Flex-DcBMToCE.js → Flex-BTNlM9Sa.js} +0 -0
- /package/dist/{Flex-DShYjczf.js → Flex-BiI9GstD.js} +0 -0
- /package/dist/{FormatDate-CoH8Ysly.js → FormatDate-THIRWGRk.js} +0 -0
- /package/dist/{FormatDate-BTFW38v7.js → FormatDate-nKb8PEwM.js} +0 -0
- /package/dist/{FormatEmail-D-IIz05j.js → FormatEmail-B5Dcq-wZ.js} +0 -0
- /package/dist/{FormatEmail-BG56E2de.js → FormatEmail-DeLnsR2W.js} +0 -0
- /package/dist/{FormatRelativeDateTime-C40ktI6C.js → FormatRelativeDateTime-COm2bzhL.js} +0 -0
- /package/dist/{FormatRelativeDateTime-os322I_-.js → FormatRelativeDateTime-DzoxDyrs.js} +0 -0
- /package/dist/{FormatTime-CYAXeQyx.js → FormatTime-DIOtW-OD.js} +0 -0
- /package/dist/{FormatTime-CiFKBen8.js → FormatTime-DpswIkFD.js} +0 -0
- /package/dist/{Icon-Chojdqvk.js → Icon-Cv1URPXp.js} +0 -0
- /package/dist/{Icon-B-DXIWN_.js → Icon-cAEt9iDp.js} +0 -0
- /package/dist/{InputGroup-uAezD2h5.js → InputGroup-CVQdVyI2.js} +0 -0
- /package/dist/{InputGroup-CNDPvKEL.js → InputGroup-DG6NuROY.js} +0 -0
- /package/dist/{InternalGridCell-B0QXAuz0.js → InternalGridCell-BE7VTKqZ.js} +0 -0
- /package/dist/{InternalGridCell-ycYw8c6D.js → InternalGridCell-TP6uZgPy.js} +0 -0
- /package/dist/{Link-CzRXg-be.js → Link-DEW6hYFp.js} +0 -0
- /package/dist/{Link-BPTtv-w3.js → Link-DrCsks79.js} +0 -0
- /package/dist/{ProgressBar-CvCVmfHV.js → ProgressBar-BvRMkMeF.js} +0 -0
- /package/dist/{ProgressBar-CodnunT_.js → ProgressBar-CDJwr9rE.js} +0 -0
- /package/dist/{Spinner-D89Y1GpK.js → Spinner-BMH2ehi0.js} +0 -0
- /package/dist/{Spinner-DqVFL1_5.js → Spinner-BpLYk4ji.js} +0 -0
- /package/dist/{StatusIndicator-Cxrzj94H.js → StatusIndicator-BMVB57m3.js} +0 -0
- /package/dist/{StatusIndicator-DcesTtD0.js → StatusIndicator-Cl2Fd4kV.js} +0 -0
- /package/dist/{Typography-C3XvpGji.js → Typography-3joP8R4Y.js} +0 -0
- /package/dist/{Typography-7M-AJU59.js → Typography-BujKqH-y.js} +0 -0
- /package/dist/{_commonjsHelpers-DjI7jxHZ.js → _commonjsHelpers-DaMve1y7.js} +0 -0
- /package/dist/{_commonjsHelpers-BU0995Qc.js → _commonjsHelpers-DuulnFpd.js} +0 -0
- /package/dist/{_polyfill-node.process-BUBN7HW7.js → _polyfill-node.process-A0Ofuu2p.js} +0 -0
- /package/dist/{_polyfill-node.process-BYckUdqD.js → _polyfill-node.process-DnVd8j_m.js} +0 -0
- /package/dist/{tslib.es6-CsjNWZPm.js → tslib.es6-BIPeF0FW.js} +0 -0
- /package/dist/{tslib.es6-qFW5vQHH.js → tslib.es6-B_B-2M7b.js} +0 -0
- /package/dist/{useChildComponent-CqKW4yHr.js → useChildComponent-Ccb9jJxO.js} +0 -0
- /package/dist/{useChildComponent-ChGLNo_F.js → useChildComponent-DWkNdYqv.js} +0 -0
- /package/dist/{useFocusTrap-bfeaAEuz.js → useFocusTrap-D1LgDSHD.js} +0 -0
- /package/dist/{useFocusTrap-Deb74Et2.js → useFocusTrap-e-cygCGW.js} +0 -0
- /package/dist/{useInView-BgZqToTl.js → useInView-BlcaWen9.js} +0 -0
- /package/dist/{useInView-L6iVJv8F.js → useInView-DzG4yhKZ.js} +0 -0
- /package/dist/{useOnKeyDown-Cfa02OWJ.js → useOnKeyDown-D0G7A2y_.js} +0 -0
- /package/dist/{useOnKeyDown-BGuFHrnV.js → useOnKeyDown-D5BouRWK.js} +0 -0
- /package/dist/{useRefocusOnActivator-BKvAL2ta.js → useRefocusOnActivator-CxB9hL4H.js} +0 -0
- /package/dist/{useRefocusOnActivator-fgXCJQjp.js → useRefocusOnActivator-D_18xeLn.js} +0 -0
- /package/dist/{useSafeLayoutEffect-Dn_O61gg.js → useSafeLayoutEffect-DOxbG6SH.js} +0 -0
- /package/dist/{useSafeLayoutEffect-DxhzMr-r.js → useSafeLayoutEffect-HnddPZgJ.js} +0 -0
package/dist/styles.css
CHANGED
|
@@ -2106,25 +2106,32 @@ 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;
|
|
2112
2109
|
position: relative;
|
|
2113
2110
|
}
|
|
2114
2111
|
|
|
2112
|
+
._9pvjsJS6vsg- {
|
|
2113
|
+
z-index: 1001;
|
|
2114
|
+
z-index: var(--elevation-modal);
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
.G7Nzd9sctos- {
|
|
2118
|
+
display: none;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2115
2121
|
.Qmxlsj0D3qM- {
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
left: 0;
|
|
2122
|
+
--menu-space: var(--space-small);
|
|
2123
|
+
--menu-offset: var(--space-smallest);
|
|
2119
2124
|
z-index: 6;
|
|
2120
2125
|
z-index: var(--elevation-menu);
|
|
2121
|
-
width: 100%;
|
|
2122
2126
|
max-height: 72vh;
|
|
2123
2127
|
box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px
|
|
2124
2128
|
rgba(0, 0, 0, 0.1),
|
|
2125
2129
|
0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);
|
|
2126
2130
|
box-shadow: var(--shadow-base);
|
|
2131
|
+
padding: calc(16px / 2);
|
|
2127
2132
|
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));
|
|
2128
2135
|
padding-bottom: calc(env(safe-area-inset-bottom) + var(--menu-space));
|
|
2129
2136
|
border-radius: 8px 8px 0 0;
|
|
2130
2137
|
border-radius: var(--radius-base) var(--radius-base) 0 0;
|
|
@@ -2134,11 +2141,29 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2134
2141
|
background-color: var(--color-surface);
|
|
2135
2142
|
}
|
|
2136
2143
|
|
|
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
|
+
|
|
2137
2164
|
@media (min-width: 490px) {
|
|
2138
2165
|
|
|
2139
2166
|
.Qmxlsj0D3qM- {
|
|
2140
|
-
position: absolute;
|
|
2141
|
-
left: auto;
|
|
2142
2167
|
width: calc(16px * 12.5);
|
|
2143
2168
|
width: calc(var(--base-unit) * 12.5);
|
|
2144
2169
|
padding: var(--menu-space);
|
|
@@ -2153,8 +2178,6 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2153
2178
|
@media (--small-screens-and-up) {
|
|
2154
2179
|
|
|
2155
2180
|
.Qmxlsj0D3qM- {
|
|
2156
|
-
position: absolute;
|
|
2157
|
-
left: auto;
|
|
2158
2181
|
width: calc(16px * 12.5);
|
|
2159
2182
|
width: calc(var(--base-unit) * 12.5);
|
|
2160
2183
|
padding: var(--menu-space);
|
|
@@ -2166,72 +2189,6 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2166
2189
|
}
|
|
2167
2190
|
}
|
|
2168
2191
|
|
|
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
|
-
|
|
2235
2192
|
.LaKFjYCLHZc- {
|
|
2236
2193
|
padding: var(--menu-space) 0;
|
|
2237
2194
|
border-bottom: calc(16px / 16) solid hsl(200, 13%, 87%);
|
|
@@ -2271,9 +2228,12 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2271
2228
|
}
|
|
2272
2229
|
|
|
2273
2230
|
.ZuceCiefKqw-:hover,
|
|
2274
|
-
.ZuceCiefKqw-:focus
|
|
2231
|
+
.ZuceCiefKqw-:focus {
|
|
2275
2232
|
background-color: hsl(53, 21%, 93%);
|
|
2276
2233
|
background-color: var(--color-surface--hover);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
.ZuceCiefKqw-:focus-visible {
|
|
2277
2237
|
outline-color: hsl(198, 12%, 57%);
|
|
2278
2238
|
outline-color: var(--color-focus);
|
|
2279
2239
|
}
|
|
@@ -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-DfhdZRL9.js';
|
|
2
|
+
import { u as useDataListContext } from './DataListContext-DxjdFeyB.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-Bh1J2FZ2.js');
|
|
4
|
+
var DataListContext = require('./DataListContext-CJkKsS0O.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-DaMve1y7.js');
|
|
4
|
+
var _polyfillNode_process = require('./_polyfill-node.process-DnVd8j_m.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-DuulnFpd.js';
|
|
2
|
+
import { _ as _polyfillNode_process } from './_polyfill-node.process-A0Ofuu2p.js';
|
|
3
3
|
|
|
4
4
|
var useAssert$1 = {};
|
|
5
5
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { useState, useEffect, useRef } from 'react';
|
|
2
|
+
|
|
3
|
+
function useActiveElement() {
|
|
4
|
+
const [active, setActive] = useState(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
5
|
+
const handleFocusIn = () => {
|
|
6
|
+
setActive(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
7
|
+
};
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
document === null || document === void 0 ? void 0 : document.addEventListener("focusin", handleFocusIn);
|
|
10
|
+
return () => {
|
|
11
|
+
document === null || document === void 0 ? void 0 : document.removeEventListener("focusin", handleFocusIn);
|
|
12
|
+
};
|
|
13
|
+
}, []);
|
|
14
|
+
return active;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const PORTAL_FOCUS_ATTRIBUTE_NAME = "data-atl-maintain-portal-focus";
|
|
18
|
+
const formFieldFocusAttribute = {
|
|
19
|
+
[PORTAL_FOCUS_ATTRIBUTE_NAME]: "true",
|
|
20
|
+
};
|
|
21
|
+
function useFormFieldFocus(props) {
|
|
22
|
+
var _a;
|
|
23
|
+
const [focused, setFocused] = useState(false);
|
|
24
|
+
const activeElement = useActiveElement();
|
|
25
|
+
const activeElementRef = useRef(activeElement);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
activeElementRef.current = activeElement;
|
|
28
|
+
}, [activeElement]);
|
|
29
|
+
function handleFocusIn() {
|
|
30
|
+
setFocused(true);
|
|
31
|
+
}
|
|
32
|
+
function handleFocusOut() {
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
var _a, _b, _c;
|
|
35
|
+
const focusedElementWithinWrapper = (_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(document.activeElement);
|
|
36
|
+
const focusException = (_c = activeElementRef.current) === null || _c === void 0 ? void 0 : _c.closest(`[${PORTAL_FOCUS_ATTRIBUTE_NAME}='true']`);
|
|
37
|
+
if (!focusedElementWithinWrapper && !focusException) {
|
|
38
|
+
setFocused(false);
|
|
39
|
+
}
|
|
40
|
+
}, 1);
|
|
41
|
+
}
|
|
42
|
+
useEffect(() => {
|
|
43
|
+
var _a, _b, _c, _d;
|
|
44
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.addEventListener("focusin", handleFocusIn);
|
|
45
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.addEventListener("focusout", handleFocusOut);
|
|
46
|
+
return () => {
|
|
47
|
+
var _a, _b, _c, _d;
|
|
48
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.removeEventListener("focusin", handleFocusIn);
|
|
49
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.removeEventListener("focusout", handleFocusOut);
|
|
50
|
+
};
|
|
51
|
+
}, [(_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current]);
|
|
52
|
+
return {
|
|
53
|
+
focused,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { formFieldFocusAttribute as f, useFormFieldFocus as u };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
|
|
5
|
+
function useActiveElement() {
|
|
6
|
+
const [active, setActive] = React.useState(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
7
|
+
const handleFocusIn = () => {
|
|
8
|
+
setActive(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
9
|
+
};
|
|
10
|
+
React.useEffect(() => {
|
|
11
|
+
document === null || document === void 0 ? void 0 : document.addEventListener("focusin", handleFocusIn);
|
|
12
|
+
return () => {
|
|
13
|
+
document === null || document === void 0 ? void 0 : document.removeEventListener("focusin", handleFocusIn);
|
|
14
|
+
};
|
|
15
|
+
}, []);
|
|
16
|
+
return active;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const PORTAL_FOCUS_ATTRIBUTE_NAME = "data-atl-maintain-portal-focus";
|
|
20
|
+
const formFieldFocusAttribute = {
|
|
21
|
+
[PORTAL_FOCUS_ATTRIBUTE_NAME]: "true",
|
|
22
|
+
};
|
|
23
|
+
function useFormFieldFocus(props) {
|
|
24
|
+
var _a;
|
|
25
|
+
const [focused, setFocused] = React.useState(false);
|
|
26
|
+
const activeElement = useActiveElement();
|
|
27
|
+
const activeElementRef = React.useRef(activeElement);
|
|
28
|
+
React.useEffect(() => {
|
|
29
|
+
activeElementRef.current = activeElement;
|
|
30
|
+
}, [activeElement]);
|
|
31
|
+
function handleFocusIn() {
|
|
32
|
+
setFocused(true);
|
|
33
|
+
}
|
|
34
|
+
function handleFocusOut() {
|
|
35
|
+
setTimeout(() => {
|
|
36
|
+
var _a, _b, _c;
|
|
37
|
+
const focusedElementWithinWrapper = (_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(document.activeElement);
|
|
38
|
+
const focusException = (_c = activeElementRef.current) === null || _c === void 0 ? void 0 : _c.closest(`[${PORTAL_FOCUS_ATTRIBUTE_NAME}='true']`);
|
|
39
|
+
if (!focusedElementWithinWrapper && !focusException) {
|
|
40
|
+
setFocused(false);
|
|
41
|
+
}
|
|
42
|
+
}, 1);
|
|
43
|
+
}
|
|
44
|
+
React.useEffect(() => {
|
|
45
|
+
var _a, _b, _c, _d;
|
|
46
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.addEventListener("focusin", handleFocusIn);
|
|
47
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.addEventListener("focusout", handleFocusOut);
|
|
48
|
+
return () => {
|
|
49
|
+
var _a, _b, _c, _d;
|
|
50
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.removeEventListener("focusin", handleFocusIn);
|
|
51
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.removeEventListener("focusout", handleFocusOut);
|
|
52
|
+
};
|
|
53
|
+
}, [(_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current]);
|
|
54
|
+
return {
|
|
55
|
+
focused,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
exports.formFieldFocusAttribute = formFieldFocusAttribute;
|
|
60
|
+
exports.useFormFieldFocus = useFormFieldFocus;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-DaMve1y7.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var debounce$1 = require('./debounce-
|
|
6
|
-
var isObjectLike = require('./isObjectLike-
|
|
5
|
+
var debounce$1 = require('./debounce-ByAwKV7f.js');
|
|
6
|
+
var isObjectLike = require('./isObjectLike-B4WSBfU4.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-DuulnFpd.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-DvG5PHDm.js';
|
|
4
|
+
import { b as isObject_1 } from './isObjectLike-C4Kwqhdc.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-DuulnFpd.js';
|
|
3
|
+
import { _ as _overRest, a as _setToString, b as _baseFlatten } from './_setToString-Cxy3Ar4E.js';
|
|
4
|
+
import { b as _arrayMap, c as _baseGet, i as identity_1, e as eq_1, d as _isIndex } from './_defineProperty-CiWaTHBx.js';
|
|
5
|
+
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-BytS_vmo.js';
|
|
6
|
+
import { c as isArrayLike_1, g as _baseUnary, b as isArray_1 } from './_getTag-1lQE6XGg.js';
|
|
7
|
+
import { i as isSymbol_1 } from './isSymbol-BJYwCXgX.js';
|
|
8
|
+
import { b as isObject_1 } from './isObjectLike-C4Kwqhdc.js';
|
|
9
|
+
import { d as debounce } from './debounce-DvG5PHDm.js';
|
|
10
|
+
import { I as Icon } from './Icon-Cv1URPXp.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-DaMve1y7.js');
|
|
5
|
+
var _setToString = require('./_setToString-Bfnmns1N.js');
|
|
6
|
+
var _defineProperty = require('./_defineProperty-CNnNPaRC.js');
|
|
7
|
+
var _baseEach = require('./_baseEach-BXKXor_q.js');
|
|
8
|
+
var _getTag = require('./_getTag-oYy6fVei.js');
|
|
9
|
+
var isSymbol$1 = require('./isSymbol-BgytksaO.js');
|
|
10
|
+
var isObjectLike = require('./isObjectLike-B4WSBfU4.js');
|
|
11
|
+
var debounce = require('./debounce-ByAwKV7f.js');
|
|
12
|
+
var Icon = require('./Icon-cAEt9iDp.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.7.
|
|
3
|
+
"version": "5.7.4",
|
|
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.60.1",
|
|
406
406
|
"@jobber/formatters": "^0.3.0",
|
|
407
|
-
"@jobber/hooks": "^2.9.
|
|
407
|
+
"@jobber/hooks": "^2.9.8",
|
|
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": "7e10aef808df49c6718d21b99f9bf9c4695b29a7"
|
|
486
486
|
}
|
package/dist/Menu-DEYnk7a3.js
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
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-BGuFHrnV.js');
|
|
7
|
-
var useRefocusOnActivator = require('./useRefocusOnActivator-fgXCJQjp.js');
|
|
8
|
-
var useSafeLayoutEffect = require('./useSafeLayoutEffect-Dn_O61gg.js');
|
|
9
|
-
var Button = require('./Button-Dk57MT7t.js');
|
|
10
|
-
var Typography = require('./Typography-7M-AJU59.js');
|
|
11
|
-
var Icon = require('./Icon-B-DXIWN_.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;
|