@jobber/components 5.7.2 → 5.7.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-CFLVaKlb.js → AnimatedSwitcher-BPx2eF9_.js} +1 -1
- package/dist/{AnimatedSwitcher-C8ERpDY7.js → AnimatedSwitcher-vb3d8io8.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-CdZ7Plx-.js} +9 -9
- package/dist/{Autocomplete-C4uoRTT9.js → Autocomplete-D9lHTWu0.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-fQHt9v5z.js → Avatar-BMwB3Dj5.js} +1 -1
- package/dist/{Avatar-Co6eQ_hq.js → Avatar-rKzimFpT.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-DiP_mZFA.js} +5 -5
- package/dist/{Banner-DR57fOUJ.js → Banner-TB0VPesD.js} +5 -5
- package/dist/{BannerIcon-CcEPYmpa.js → BannerIcon-Cih3AOSP.js} +1 -1
- package/dist/{BannerIcon-CBqONIDX.js → BannerIcon-Daj2LfKL.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-Dk57MT7t.js → Button-40o9k1UN.js} +2 -2
- package/dist/{Button-5NZGPGRp.js → Button-BgK3yaef.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-B32HVZaK.js → ButtonDismiss-ClK59rGr.js} +1 -1
- package/dist/{ButtonDismiss-BDjhpTVH.js → ButtonDismiss-CnkmYFGY.js} +1 -1
- package/dist/Card/index.cjs +14 -9
- package/dist/Card/index.mjs +14 -9
- package/dist/{Card-C2KRWc7V.js → Card-Dx1eSJhY.js} +3 -3
- package/dist/{Card-DXl9F7jP.js → Card-TY7r5-M0.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-BbIDn-8c.js → Checkbox-CRrgFM3i.js} +3 -3
- package/dist/{Checkbox-B5H8oHVx.js → Checkbox-DN-KN4YW.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-C-n-03ol.js} +6 -6
- package/dist/{Chip-Kiht7nox.js → Chip-DAPm2Qck.js} +6 -6
- package/dist/{ChipDismissible-BZQLcdTx.js → ChipDismissible-BhEUozMN.js} +3 -3
- package/dist/{ChipDismissible-Dvm6-BY0.js → ChipDismissible-DzQAEeGP.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-DtBkf31V.js → Chips-BNPp3s91.js} +2 -2
- package/dist/{Chips-B6PczwWw.js → Chips-CKh4DI3K.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-CHZw_Jvf.js} +9 -9
- package/dist/{Combobox-DYnQXPP_.js → Combobox-ItCTl-z5.js} +9 -9
- package/dist/{ComboboxAction-Cz4FXd2j.js → ComboboxAction-CSOwvZry.js} +2 -2
- package/dist/{ComboboxAction-CRlhP9z6.js → ComboboxAction-DZRlt5Ie.js} +2 -2
- package/dist/{ComboboxActivator-CjGJj4tW.js → ComboboxActivator-B4zAMuNw.js} +4 -4
- package/dist/{ComboboxActivator-BPpiOe-0.js → ComboboxActivator-CtblPAlT.js} +4 -4
- package/dist/{ComboboxContent-Bq9yf2_X.js → ComboboxContent-WlzGnKfI.js} +7 -7
- package/dist/{ComboboxContent-DvYccsSh.js → ComboboxContent-Z5J59cDq.js} +7 -7
- package/dist/{ComboboxContentHeader-CqmkA0by.js → ComboboxContentHeader-B0KrHcXl.js} +2 -2
- package/dist/{ComboboxContentHeader-CfCFfJPq.js → ComboboxContentHeader-Cku37uVP.js} +2 -2
- package/dist/{ComboboxContentList-Cg2Li4fB.js → ComboboxContentList-1f-KKTFM.js} +6 -6
- package/dist/{ComboboxContentList-D8fiuD5T.js → ComboboxContentList-B9r4z1sO.js} +6 -6
- package/dist/{ComboboxContentSearch-BoTMA3yG.js → ComboboxContentSearch-Byo_lN3m.js} +1 -1
- package/dist/{ComboboxContentSearch-DYvJ9-oV.js → ComboboxContentSearch-Djm78cPr.js} +1 -1
- package/dist/{ComboboxLoadMore-CFqi-mB-.js → ComboboxLoadMore-CUzIaD8Z.js} +1 -1
- package/dist/{ComboboxLoadMore-CG3V-Zcv.js → ComboboxLoadMore-DUi-JVqX.js} +1 -1
- package/dist/{ComboboxOption-BvR0pSO7.js → ComboboxOption-Cs4Z2i4m.js} +3 -3
- package/dist/{ComboboxOption-BBzdKdAC.js → ComboboxOption-DOxxOHcy.js} +3 -3
- package/dist/{ComboboxProvider-Dc5Qbmus.js → ComboboxProvider-CJqjZc_Y.js} +1 -1
- package/dist/{ComboboxProvider-BGSQKp0S.js → ComboboxProvider-D6Kp2GYa.js} +1 -1
- package/dist/{ComboboxTrigger-DJPS2dpd.js → ComboboxTrigger-B4i7pwVq.js} +4 -4
- package/dist/{ComboboxTrigger-DuXuKIOY.js → ComboboxTrigger-DzkuNmij.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-jkKpP5p6.js → ConfirmationModal-B7fiGk-B.js} +4 -4
- package/dist/{ConfirmationModal-CU3PRUXC.js → ConfirmationModal-CEXDiqI8.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-Df5Ic73D.js → Countdown-BXL3gvfH.js} +1 -1
- package/dist/{Countdown-CHqE7Pbb.js → Countdown-D2MQjLjx.js} +1 -1
- package/dist/DataDump/index.cjs +17 -12
- package/dist/DataDump/index.mjs +17 -12
- package/dist/{DataDump-tRsfJ-52.js → DataDump-Bj4OJJbj.js} +3 -3
- package/dist/{DataDump-DDKUIIu1.js → DataDump-DCcGNhtj.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-BrH673bv.js → DataList-CD1gHhBZ.js} +21 -21
- package/dist/{DataList-Dbah0rGv.js → DataList-sChLd77Z.js} +21 -21
- package/dist/{DataList.utils-Dawo0aa-.js → DataList.utils-ByB4L-9j.js} +8 -8
- package/dist/{DataList.utils-sZJpYE6z.js → DataList.utils-CZVTFIQv.js} +8 -8
- package/dist/{DataListAction-BcJlUowI.js → DataListAction-Drm3wLrq.js} +3 -3
- package/dist/{DataListAction-Bs3FtpMo.js → DataListAction-q22zELAK.js} +3 -3
- package/dist/{DataListActions-BwCpgHQW.js → DataListActions-2xcew8ic.js} +6 -6
- package/dist/{DataListActions-Dd605_hq.js → DataListActions-DO1BqTnY.js} +6 -6
- package/dist/{DataListActionsMenu-F4cFv1ax.js → DataListActionsMenu-Bl5gAWMb.js} +5 -5
- package/dist/{DataListActionsMenu-CfzuNaI6.js → DataListActionsMenu-CydbVj2T.js} +5 -5
- package/dist/{DataListBulkActions-Ba0LawZK.js → DataListBulkActions-D4XSfeLI.js} +3 -3
- package/dist/{DataListBulkActions-Df0wTHhX.js → DataListBulkActions-DW7Ujaei.js} +3 -3
- package/dist/{DataListContext-keTgFNvv.js → DataListContext-CmYRd_fb.js} +1 -1
- package/dist/{DataListContext-BONiWdzX.js → DataListContext-Cqh8qf6b.js} +1 -1
- package/dist/{DataListEmptyState-ChYeFHb8.js → DataListEmptyState-BsMz-KDp.js} +4 -4
- package/dist/{DataListEmptyState-DDPZrh3Y.js → DataListEmptyState-CcsyFHmT.js} +4 -4
- package/dist/{DataListFilters-CK38fV5o.js → DataListFilters-DHEX06ZW.js} +5 -5
- package/dist/{DataListFilters-CAQViUiG.js → DataListFilters-j3w7bjN3.js} +5 -5
- package/dist/{DataListHeader-D4aG-ki3.js → DataListHeader-ClwZAKh5.js} +11 -11
- package/dist/{DataListHeader-xxRyvLOL.js → DataListHeader-CtJmHjTb.js} +11 -11
- package/dist/{DataListHeaderTile-5s8l2amv.js → DataListHeaderTile-Do-ib7oo.js} +5 -5
- package/dist/{DataListHeaderTile-CSEQQLSt.js → DataListHeaderTile-DvjccxXd.js} +5 -5
- package/dist/{DataListItem-BUS1gtDI.js → DataListItem-BNx1TdI1.js} +10 -10
- package/dist/{DataListItem-CJ56Y-tD.js → DataListItem-BnysqP4a.js} +10 -10
- package/dist/{DataListItemActions-Bzf4g9AC.js → DataListItemActions-BzvWBluR.js} +2 -2
- package/dist/{DataListItemActions-BRxyqEyb.js → DataListItemActions-CGrhK0JE.js} +2 -2
- package/dist/{DataListItemActionsOverflow-CZSZeCxJ.js → DataListItemActionsOverflow-Bl5BGXAD.js} +3 -3
- package/dist/{DataListItemActionsOverflow-BbKEXpyh.js → DataListItemActionsOverflow-YyU55jRS.js} +3 -3
- package/dist/{DataListItemClickable-CdKGwSEn.js → DataListItemClickable-d4odbtxu.js} +3 -3
- package/dist/{DataListItemClickable-_iWE_8_P.js → DataListItemClickable-iuk9vp4z.js} +3 -3
- package/dist/{DataListItems-CDTZUT6O.js → DataListItems-B5vFpcnZ.js} +3 -3
- package/dist/{DataListItems-BxFwkdon.js → DataListItems-DgyzL10i.js} +3 -3
- package/dist/{DataListLayout-BQ2GF_l4.js → DataListLayout-BFSJ6-x1.js} +3 -3
- package/dist/{DataListLayout-BWpH3-TP.js → DataListLayout-BzEc438i.js} +3 -3
- package/dist/{DataListLayoutActions-BM2mTAv0.js → DataListLayoutActions-CuZSeLcS.js} +4 -4
- package/dist/{DataListLayoutActions-BXjRjXGL.js → DataListLayoutActions-DeiIk-SR.js} +4 -4
- package/dist/{DataListLayoutContext-Ckfq35xV.js → DataListLayoutContext-CZCw1huK.js} +1 -1
- package/dist/{DataListLayoutContext-DIs5FEtJ.js → DataListLayoutContext-PX1zFxPY.js} +1 -1
- package/dist/{DataListLoadMore-C1WERP57.js → DataListLoadMore-3QWoe8-D.js} +5 -5
- package/dist/{DataListLoadMore-BaIw3k0i.js → DataListLoadMore-47VYaw6Y.js} +5 -5
- package/dist/{DataListLoadingState-CknX5EjV.js → DataListLoadingState-DFGwEHsG.js} +3 -3
- package/dist/{DataListLoadingState-CtkZX3-x.js → DataListLoadingState-xr29RUjq.js} +3 -3
- package/dist/{DataListOverflowFade-hKTuzcTz.js → DataListOverflowFade-BVlVZoui.js} +1 -1
- package/dist/{DataListOverflowFade-BYv_2Hdz.js → DataListOverflowFade-Cf0-AGWS.js} +1 -1
- package/dist/{DataListSearch-BbvPhIgx.js → DataListSearch-Br1eaQ8b.js} +6 -6
- package/dist/{DataListSearch-7bJ4YqtL.js → DataListSearch-TsK0cuAS.js} +6 -6
- package/dist/{DataListSort-DBfaSYUD.js → DataListSort-DnoyM5cP.js} +6 -6
- package/dist/{DataListSort-BPgDYDK5.js → DataListSort-tAn1cfzd.js} +6 -6
- package/dist/{DataListSortingOptions-BMDQM7SW.js → DataListSortingOptions-CeH9M6oT.js} +3 -3
- package/dist/{DataListSortingOptions-De1xI_mp.js → DataListSortingOptions-CsZ_rkvr.js} +3 -3
- package/dist/{DataListStatusBar-BYMj4Ztj.js → DataListStatusBar-DoTJSoM4.js} +2 -2
- package/dist/{DataListStatusBar-8eg_33Nn.js → DataListStatusBar-lboJqYXa.js} +2 -2
- package/dist/{DataListStickyHeader-G9CSKOI6.js → DataListStickyHeader-DL16qFub.js} +1 -1
- package/dist/{DataListStickyHeader-CeYJGWJM.js → DataListStickyHeader-xOJ3E_Sb.js} +1 -1
- package/dist/{DataListTags-Bmgao6_3.js → DataListTags-BCTg30De.js} +2 -2
- package/dist/{DataListTags-DS3j1kMd.js → DataListTags-CwMLZ5H5.js} +2 -2
- package/dist/{DataListTotalCount-CReeBPoi.js → DataListTotalCount-BS4IpQK8.js} +2 -2
- package/dist/{DataListTotalCount-BqD5VxXa.js → DataListTotalCount-e7NwiZw5.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-BlZOXTDS.js} +6 -6
- package/dist/{DataTable-S5t82iBx.js → DataTable-DOh5wSpy.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-DKFWn5AN.js → DatePicker-C2ek4uZp.js} +11 -11
- package/dist/{DatePicker-F4BiQr_B.js → DatePicker-CURi-cDm.js} +11 -11
- package/dist/{DayOfMonthSelect-CiIwOfrJ.js → DayOfMonthSelect-DUMhNPWV.js} +2 -2
- package/dist/{DayOfMonthSelect-MPLXu9bf.js → DayOfMonthSelect-DpvcOQ2n.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-Bw991yhF.js → DescriptionList-CLqc3gU6.js} +1 -1
- package/dist/{DescriptionList-CAg7eeK-.js → DescriptionList-ckWYj0jg.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-C9IvObVH.js → Disclosure-Df04lR6H.js} +3 -3
- package/dist/{Disclosure-D0VszH38.js → Disclosure-DoR7KqYz.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-C7RARTpO.js → DrawerGrid-CorpeoUZ.js} +2 -2
- package/dist/{DrawerGrid-CheGYMEX.js → DrawerGrid-Dh2Inb8K.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-lqZqdpMQ.js → Emphasis-Cx36B_k5.js} +1 -1
- package/dist/{Emphasis-oIeSg_ZX.js → Emphasis-Djq9yidY.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-Brmqf7oY.js → FeatureSwitch-CSSOgi9a.js} +7 -7
- package/dist/{FeatureSwitch-B0pRodlS.js → FeatureSwitch-CWw6agg4.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-qch5fQdo.js → Form-Byi7-dpe.js} +1 -1
- package/dist/{Form-CLDa30c5.js → Form-D7v60pU9.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-DSmh7bDr.js} +8 -37
- package/dist/{FormField-DyazCx_1.js → FormField-xu1KemLL.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-CWjzsMMi.js → FormatFile-D6QmMBbv.js} +7 -7
- package/dist/{FormatFile-DJfGD-6I.js → FormatFile-Dd3pk-Sn.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-CWAdqNDs.js → Gallery-BSKWjJ4g.js} +3 -3
- package/dist/{Gallery-DQzNQEwo.js → Gallery-CLcIygVj.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-D5M4ZxeS.js → Glimmer-7ZtKFyE_.js} +2 -2
- package/dist/{Glimmer-B8NHK9th.js → Glimmer-B_GPkCvV.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-CWeKZnFM.js} +2 -2
- package/dist/{Grid-BC4zE12p.js → Grid-DtZ_suO7.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-2zEW71bU.js → Heading-C4kphL4T.js} +1 -1
- package/dist/{Heading-lQiIuFIR.js → Heading-a9SUivb4.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-9FoPpuCC.js} +1 -1
- package/dist/{InlineLabel-BUCurIbZ.js → InlineLabel-Df0MUty-.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-B93Cf4nW.js → InputAvatar-0LOVGbKD.js} +5 -5
- package/dist/{InputAvatar-C-CNrAD0.js → InputAvatar-t1FUxwhO.js} +5 -5
- package/dist/InputDate/index.cjs +21 -20
- package/dist/InputDate/index.mjs +21 -20
- package/dist/{InputDate-MTM3tchG.js → InputDate-CtPfB2WY.js} +2 -2
- package/dist/{InputDate-bUo9T-xV.js → InputDate-Dqj_Cv8p.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -9
- package/dist/InputEmail/index.mjs +10 -9
- package/dist/{InputEmail-BLYOE45H.js → InputEmail-B6uG5pVb.js} +1 -1
- package/dist/{InputEmail-BTgEgAx_.js → InputEmail-DvsW0x9u.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-DbLYX0RL.js → InputFile-CCRBVQru.js} +6 -6
- package/dist/{InputFile-Cyma-9Iq.js → InputFile-HtRJ3w1x.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-B7DwZlCv.js → InputNumber-BjFBORBV.js} +1 -1
- package/dist/{InputNumber-Bnk85Qdy.js → InputNumber-Du0FganQ.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -9
- package/dist/InputPassword/index.mjs +10 -9
- package/dist/{InputPassword-BjWK-SMW.js → InputPassword-BlM3npyG.js} +1 -1
- package/dist/{InputPassword-BO0c19ZO.js → InputPassword-Dw48VqJw.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -9
- package/dist/InputPhoneNumber/index.mjs +10 -9
- package/dist/{InputPhoneNumber-CEiMpVwX.js → InputPhoneNumber-Cr4BqgYz.js} +2 -2
- package/dist/{InputPhoneNumber-B8bzNuaH.js → InputPhoneNumber-_kMDeUxU.js} +2 -2
- package/dist/InputText/index.cjs +11 -10
- package/dist/InputText/index.mjs +11 -10
- package/dist/{InputText-DZ8WgJrv.js → InputText-D8VPhSG7.js} +2 -2
- package/dist/{InputText-jF8xq1yr.js → InputText-DYXmWmRc.js} +2 -2
- package/dist/InputTime/index.cjs +14 -13
- package/dist/InputTime/index.mjs +14 -13
- package/dist/{InputTime-Ijro0VNk.js → InputTime-9_D4ODu4.js} +3 -3
- package/dist/{InputTime-B1Rli12p.js → InputTime-B6rxNz-L.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-RoL8WPG-.js → InputValidation-BF4VzuG8.js} +2 -2
- package/dist/{InputValidation-DL_hYaKU.js → InputValidation-BFK1fDEo.js} +2 -2
- package/dist/{InternalChipDismissible-nxQvVFjp.js → InternalChipDismissible-BqwaAjja.js} +11 -11
- package/dist/{InternalChipDismissible-D86OzrE1.js → InternalChipDismissible-D_VtWQHt.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-DYkcTagy.js → LightBox-C_fevKfn.js} +7 -7
- package/dist/{LightBox-Pvgfboe8.js → LightBox-D-vDNkTe.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-Bzvf--EB.js} +10 -10
- package/dist/{List-B61Ps4o3.js → List-C7kwDx9B.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-DTUbQBbr.js → Markdown-BbfyrMMh.js} +7 -7
- package/dist/{Markdown-DdM6gIN_.js → Markdown-BozJiYmq.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-BxnFUP97.js +168 -0
- package/dist/Menu-CTLhz0sH.js +170 -0
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-BAg8-RZS.js → Modal-Cf3LrFIv.js} +6 -6
- package/dist/{Modal-H4zzCkMM.js → Modal-DoK1I1st.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-5MgWeJnf.js → MultiSelect-BNfhc2yy.js} +3 -3
- package/dist/{MultiSelect-CXMoNVB4.js → MultiSelect-f7hSFCsT.js} +3 -3
- package/dist/{Option-CvrbFuE2.js → Option-7LXOC1OA.js} +1 -1
- package/dist/{Option-BqZ-KuAf.js → Option-DPemw8at.js} +1 -1
- package/dist/Page/index.cjs +25 -20
- package/dist/Page/index.mjs +25 -20
- package/dist/{Page-DbN0Soit.js → Page-CZYneGA-.js} +8 -8
- package/dist/{Page-VqptKnL9.js → Page-Cqor3JjT.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-BU6JgebJ.js → Popover-Cyu7-8Yw.js} +2 -2
- package/dist/{Popover-DIaVQ9D1.js → Popover-McWbIZpn.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-FWIt_xNX.js} +1 -1
- package/dist/{RadioGroup-DcqHfbMr.js → RadioGroup-i3emHC2C.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-B04uvi8H.js → RecurringSelect-BeVxqBt6.js} +6 -6
- package/dist/{RecurringSelect-BRMWkWGx.js → RecurringSelect-CXkIiJ_k.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-BS0-FL1B.js} +2 -2
- package/dist/{StatusLabel-X1P9M-Uf.js → StatusLabel-Yt299vJ4.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-C2zYmQCz.js → Switch-CrjlEcmN.js} +1 -1
- package/dist/{Switch-CxR0k9or.js → Switch-DO-6tBkQ.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-BNEdF55U.js → Tabs-B7vzpyDc.js} +1 -1
- package/dist/{Tabs-D1VIeNLX.js → Tabs-xuUxuZzm.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-ZNiN0cJV.js → Text-BFzvHq3G.js} +1 -1
- package/dist/{Text-C2XAkhfc.js → Text-rsDp1kZ4.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-B0trcXE9.js} +2 -2
- package/dist/{Tooltip-cF02I5I3.js → Tooltip-BiKQfi8h.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-CMAt3UhR.js → _baseAssignValue-BWL6z5ep.js} +1 -1
- package/dist/{_baseAssignValue-CnCvxC4c.js → _baseAssignValue-CYfoLyq4.js} +1 -1
- package/dist/{_baseEach-BZTpzMLN.js → _baseEach-BOP_Mv5c.js} +4 -4
- package/dist/{_baseEach-d1MASsIN.js → _baseEach-CldLG63Z.js} +4 -4
- package/dist/{_defineProperty-CiQj14Oi.js → _defineProperty-DXdS4fK8.js} +3 -3
- package/dist/{_defineProperty-B2KzC9Fx.js → _defineProperty-uX7HROij.js} +3 -3
- package/dist/{_getTag-CQF_pbAy.js → _getTag-DTZqIsID.js} +1 -1
- package/dist/{_getTag-DTkDs6kf.js → _getTag-XyjYhQwv.js} +1 -1
- package/dist/{_setToString-DAvdZChL.js → _setToString-CGVUo9zT.js} +3 -3
- package/dist/{_setToString-oANaJoqn.js → _setToString-CNWq8z6f.js} +3 -3
- package/dist/{debounce-CIgJ0zDw.js → debounce-D8WfY9H1.js} +3 -3
- package/dist/{debounce-BFOiFt5k.js → debounce-DAAf3zL9.js} +3 -3
- package/dist/{helpers-B8P4OU0k.js → helpers-D0m5RC6V.js} +1 -1
- package/dist/{helpers-HoPuZ7iP.js → helpers-Di4_gjqh.js} +1 -1
- package/dist/{index-DN6ehSy0.js → index-C_0wQNms.js} +1 -1
- package/dist/{index-j66Z75vE.js → index-CkHj92Xx.js} +1 -1
- package/dist/index.cjs +146 -145
- package/dist/index.mjs +146 -145
- package/dist/{isObjectLike-CtDU20ss.js → isObjectLike-CNGfZnhG.js} +1 -1
- package/dist/{isObjectLike-Df2lodes.js → isObjectLike-CSAlE5_b.js} +1 -1
- package/dist/{isSymbol-D7K5ON8L.js → isSymbol-B3AIQ_UC.js} +1 -1
- package/dist/{isSymbol-Dq_4lH3A.js → isSymbol-D9WQRQXa.js} +1 -1
- package/dist/{noop-CrQ5qq7s.js → noop-DfO6FlSv.js} +1 -1
- package/dist/{noop-CiNHwMe8.js → noop-Dp4iBeYO.js} +1 -1
- package/dist/styles.css +38 -78
- package/dist/{useActiveLayout-DVVSQ-0Z.js → useActiveLayout-BQssRuPJ.js} +2 -2
- package/dist/{useActiveLayout-BEWUzI6I.js → useActiveLayout-C15gDPpC.js} +2 -2
- package/dist/{useAssert-BNIHT9_e.js → useAssert-BYFOpAQ2.js} +2 -2
- package/dist/{useAssert-oQRdECre.js → useAssert-LkoMImw7.js} +2 -2
- package/dist/{useBatchSelect-BKLkKI__.js → useBatchSelect-BAx97RVe.js} +1 -1
- package/dist/{useBatchSelect-TIdF40FB.js → useBatchSelect-Bm3ZmS_F.js} +1 -1
- package/dist/useFormFieldFocus-DCnB26B0.js +60 -0
- package/dist/useFormFieldFocus-DxdBwh_q.js +57 -0
- package/dist/{useIsMounted-DqEM0Exv.js → useIsMounted--9X36-6F.js} +1 -1
- package/dist/{useIsMounted-Ct-pu3MO.js → useIsMounted-BsdKlPG6.js} +1 -1
- package/dist/{useResizeObserver-a3dVd6W_.js → useResizeObserver-CAlK0CPD.js} +3 -3
- package/dist/{useResizeObserver--Hq5NVxA.js → useResizeObserver-CKc_OMZG.js} +3 -3
- package/dist/{useResponsiveSizing-C8rE-xm1.js → useResponsiveSizing-C8UVAu4U.js} +1 -1
- package/dist/{useResponsiveSizing-DgdoYgkn.js → useResponsiveSizing-CLHTNl53.js} +1 -1
- package/dist/{useScrollToActive-Zo3p8qzn.js → useScrollToActive-B7eiCTBU.js} +9 -9
- package/dist/{useScrollToActive-Z1U5tdKe.js → useScrollToActive-D5KmnLXS.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-BiIKty6p.js → AnimatedPresence-BYdT244r.js} +0 -0
- /package/dist/{AnimatedPresence-COik-nM7.js → AnimatedPresence-CkHU8xB4.js} +0 -0
- /package/dist/{AtlantisContext-BjFNVjpc.js → AtlantisContext-8i6n1neA.js} +0 -0
- /package/dist/{AtlantisContext-BHNrWSl_.js → AtlantisContext-B47h5Rs_.js} +0 -0
- /package/dist/{Body-DBq17TyR.js → Body-BYO7y2Wl.js} +0 -0
- /package/dist/{Body-D6Suox7R.js → Body-Dl-PkPHk.js} +0 -0
- /package/dist/{Content-eXP_YDij.js → Content-BaM9bJLn.js} +0 -0
- /package/dist/{Content-Dlxr9tpp.js → Content-BbqDyP7w.js} +0 -0
- /package/dist/{DataList-B2Ro3dIJ.js → DataList-B2q2sv10.js} +0 -0
- /package/dist/{DataList-DXQuw1FY.js → DataList-F4lyB-7b.js} +0 -0
- /package/dist/{DataList.const-BbIX_2s8.js → DataList.const-BjUZMA4M.js} +0 -0
- /package/dist/{DataList.const-BVqcPkpX.js → DataList.const-CeEkGxd2.js} +0 -0
- /package/dist/{DataListLayoutContext-B3TnHSJa.js → DataListLayoutContext-BNtDnjK4.js} +0 -0
- /package/dist/{DataListLayoutContext-WnZdFL7X.js → DataListLayoutContext-D0vCQpmz.js} +0 -0
- /package/dist/{Divider-Fs_bTykP.js → Divider-03rgXd_Z.js} +0 -0
- /package/dist/{Divider-6oC4Q0YM.js → Divider-CBNASYLx.js} +0 -0
- /package/dist/{Flex-DcBMToCE.js → Flex-DwXuat5V.js} +0 -0
- /package/dist/{Flex-DShYjczf.js → Flex-QqfrWvce.js} +0 -0
- /package/dist/{FormatDate-CoH8Ysly.js → FormatDate-CfGBT1f0.js} +0 -0
- /package/dist/{FormatDate-BTFW38v7.js → FormatDate-Du9Ewmoe.js} +0 -0
- /package/dist/{FormatEmail-BG56E2de.js → FormatEmail-BRcZqVX-.js} +0 -0
- /package/dist/{FormatEmail-D-IIz05j.js → FormatEmail-C4jKrMpV.js} +0 -0
- /package/dist/{FormatRelativeDateTime-C40ktI6C.js → FormatRelativeDateTime-DQ9zedsV.js} +0 -0
- /package/dist/{FormatRelativeDateTime-os322I_-.js → FormatRelativeDateTime-U0--7_Ts.js} +0 -0
- /package/dist/{FormatTime-CYAXeQyx.js → FormatTime--lMKNdtS.js} +0 -0
- /package/dist/{FormatTime-CiFKBen8.js → FormatTime-BbuJ2LaC.js} +0 -0
- /package/dist/{Icon-B-DXIWN_.js → Icon-CpwvlgqQ.js} +0 -0
- /package/dist/{Icon-Chojdqvk.js → Icon-DuAFakqK.js} +0 -0
- /package/dist/{InputGroup-CNDPvKEL.js → InputGroup-BmHAqf2_.js} +0 -0
- /package/dist/{InputGroup-uAezD2h5.js → InputGroup-DMFqeD93.js} +0 -0
- /package/dist/{InternalGridCell-ycYw8c6D.js → InternalGridCell-BfEM9kgE.js} +0 -0
- /package/dist/{InternalGridCell-B0QXAuz0.js → InternalGridCell-BsEjOR7O.js} +0 -0
- /package/dist/{Link-BPTtv-w3.js → Link-CIeOViU5.js} +0 -0
- /package/dist/{Link-CzRXg-be.js → Link-DHErvbQR.js} +0 -0
- /package/dist/{ProgressBar-CodnunT_.js → ProgressBar-Dv5Afz5W.js} +0 -0
- /package/dist/{ProgressBar-CvCVmfHV.js → ProgressBar-efRZZ0Wd.js} +0 -0
- /package/dist/{Spinner-D89Y1GpK.js → Spinner-Bq_wUUSq.js} +0 -0
- /package/dist/{Spinner-DqVFL1_5.js → Spinner-Xt5PlGlB.js} +0 -0
- /package/dist/{StatusIndicator-Cxrzj94H.js → StatusIndicator-BWjO1QXD.js} +0 -0
- /package/dist/{StatusIndicator-DcesTtD0.js → StatusIndicator-DKNa57Wo.js} +0 -0
- /package/dist/{Typography-7M-AJU59.js → Typography-Bw8eGXh-.js} +0 -0
- /package/dist/{Typography-C3XvpGji.js → Typography-Di4zna-r.js} +0 -0
- /package/dist/{_commonjsHelpers-BU0995Qc.js → _commonjsHelpers-CeLi1ZFE.js} +0 -0
- /package/dist/{_commonjsHelpers-DjI7jxHZ.js → _commonjsHelpers-pBNrFnxS.js} +0 -0
- /package/dist/{_polyfill-node.process-BYckUdqD.js → _polyfill-node.process-CeEVbLhj.js} +0 -0
- /package/dist/{_polyfill-node.process-BUBN7HW7.js → _polyfill-node.process-IUYx4DDJ.js} +0 -0
- /package/dist/{tslib.es6-qFW5vQHH.js → tslib.es6-BXhreaZf.js} +0 -0
- /package/dist/{tslib.es6-CsjNWZPm.js → tslib.es6-CmZyntgP.js} +0 -0
- /package/dist/{useChildComponent-CqKW4yHr.js → useChildComponent-8mVjASuQ.js} +0 -0
- /package/dist/{useChildComponent-ChGLNo_F.js → useChildComponent-CIZehzqv.js} +0 -0
- /package/dist/{useFocusTrap-bfeaAEuz.js → useFocusTrap-BCCs9voq.js} +0 -0
- /package/dist/{useFocusTrap-Deb74Et2.js → useFocusTrap-DKmEIMuu.js} +0 -0
- /package/dist/{useInView-BgZqToTl.js → useInView-DZ5Jd5gR.js} +0 -0
- /package/dist/{useInView-L6iVJv8F.js → useInView-Dr6SiGmt.js} +0 -0
- /package/dist/{useOnKeyDown-Cfa02OWJ.js → useOnKeyDown-BEodsG_D.js} +0 -0
- /package/dist/{useOnKeyDown-BGuFHrnV.js → useOnKeyDown-CxyBom5c.js} +0 -0
- /package/dist/{useRefocusOnActivator-BKvAL2ta.js → useRefocusOnActivator-BcJI5yQO.js} +0 -0
- /package/dist/{useRefocusOnActivator-fgXCJQjp.js → useRefocusOnActivator-fza56d6h.js} +0 -0
- /package/dist/{useSafeLayoutEffect-Dn_O61gg.js → useSafeLayoutEffect-DFZjDLjh.js} +0 -0
- /package/dist/{useSafeLayoutEffect-DxhzMr-r.js → useSafeLayoutEffect-q1Pq2_Bv.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: 6;
|
|
2114
|
+
z-index: var(--elevation-menu);
|
|
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-C8UVAu4U.js';
|
|
2
|
+
import { u as useDataListContext } from './DataListContext-Cqh8qf6b.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-CLHTNl53.js');
|
|
4
|
+
var DataListContext = require('./DataListContext-CmYRd_fb.js');
|
|
5
5
|
|
|
6
6
|
function useActiveLayout() {
|
|
7
7
|
const { layoutBreakpoints, layouts } = DataListContext.useDataListContext();
|
|
@@ -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-CeLi1ZFE.js';
|
|
2
|
+
import { _ as _polyfillNode_process } from './_polyfill-node.process-IUYx4DDJ.js';
|
|
3
3
|
|
|
4
4
|
var useAssert$1 = {};
|
|
5
5
|
|
|
@@ -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-pBNrFnxS.js');
|
|
4
|
+
var _polyfillNode_process = require('./_polyfill-node.process-CeEVbLhj.js');
|
|
5
5
|
|
|
6
6
|
var useAssert$1 = {};
|
|
7
7
|
|
|
@@ -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;
|
|
@@ -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 };
|
|
@@ -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-CeLi1ZFE.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-DAAf3zL9.js';
|
|
4
|
+
import { b as isObject_1 } from './isObjectLike-CSAlE5_b.js';
|
|
5
5
|
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
m.forEach(function (e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-pBNrFnxS.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var debounce$1 = require('./debounce-
|
|
6
|
-
var isObjectLike = require('./isObjectLike-
|
|
5
|
+
var debounce$1 = require('./debounce-D8WfY9H1.js');
|
|
6
|
+
var isObjectLike = require('./isObjectLike-CNGfZnhG.js');
|
|
7
7
|
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
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-CeLi1ZFE.js';
|
|
3
|
+
import { _ as _overRest, a as _setToString, b as _baseFlatten } from './_setToString-CNWq8z6f.js';
|
|
4
|
+
import { b as _arrayMap, c as _baseGet, i as identity_1, e as eq_1, d as _isIndex } from './_defineProperty-DXdS4fK8.js';
|
|
5
|
+
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-BOP_Mv5c.js';
|
|
6
|
+
import { c as isArrayLike_1, g as _baseUnary, b as isArray_1 } from './_getTag-DTZqIsID.js';
|
|
7
|
+
import { i as isSymbol_1 } from './isSymbol-B3AIQ_UC.js';
|
|
8
|
+
import { b as isObject_1 } from './isObjectLike-CSAlE5_b.js';
|
|
9
|
+
import { d as debounce } from './debounce-DAAf3zL9.js';
|
|
10
|
+
import { I as Icon } from './Icon-DuAFakqK.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-pBNrFnxS.js');
|
|
5
|
+
var _setToString = require('./_setToString-CGVUo9zT.js');
|
|
6
|
+
var _defineProperty = require('./_defineProperty-uX7HROij.js');
|
|
7
|
+
var _baseEach = require('./_baseEach-CldLG63Z.js');
|
|
8
|
+
var _getTag = require('./_getTag-XyjYhQwv.js');
|
|
9
|
+
var isSymbol$1 = require('./isSymbol-D9WQRQXa.js');
|
|
10
|
+
var isObjectLike = require('./isObjectLike-CNGfZnhG.js');
|
|
11
|
+
var debounce = require('./debounce-D8WfY9H1.js');
|
|
12
|
+
var Icon = require('./Icon-CpwvlgqQ.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.3",
|
|
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": "d589b2ab8c2f8e23a879f1fd3db475f035721749"
|
|
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;
|