@jobber/components 5.5.1-design-css.1 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AnimatedPresence/index.cjs +1 -1
- package/dist/AnimatedPresence/index.mjs +1 -1
- package/dist/AnimatedSwitcher/index.cjs +2 -2
- package/dist/AnimatedSwitcher/index.mjs +2 -2
- package/dist/{AnimatedSwitcher-DNSry3c7.js → AnimatedSwitcher-D1BETJLg.js} +1 -1
- package/dist/{AnimatedSwitcher-BgQ4H3Zt.js → AnimatedSwitcher-DIjGGgeN.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/Autocomplete/index.cjs +18 -19
- package/dist/Autocomplete/index.mjs +18 -19
- package/dist/{Autocomplete-Co2QHy8h.js → Autocomplete-CPHisr_N.js} +9 -9
- package/dist/{Autocomplete-tiNVyNab.js → Autocomplete-DBOib-Iu.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-BLkB2xdA.js → Avatar-D4zcPZsk.js} +1 -1
- package/dist/{Avatar-Dw_iP6jw.js → Avatar-NVUHq8-8.js} +1 -1
- package/dist/Banner/components/BannerIcon/index.cjs +2 -2
- package/dist/Banner/components/BannerIcon/index.mjs +2 -2
- package/dist/Banner/index.cjs +12 -12
- package/dist/Banner/index.mjs +12 -12
- package/dist/{Banner-CEO_TXWZ.js → Banner-Bj8KMmFu.js} +5 -5
- package/dist/{Banner-BbjYuGes.js → Banner-T1ZfR0Lg.js} +5 -5
- package/dist/{BannerIcon-COBSpuu1.js → BannerIcon-CPh54VN3.js} +1 -1
- package/dist/{BannerIcon-D1UJngoo.js → BannerIcon-CoX12xvO.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-17M2X-lD.js → Button-BoSOuDKT.js} +2 -2
- package/dist/{Button-6RQMB0Jy.js → Button-DEy32I1f.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-B1t4KDDJ.js → ButtonDismiss-DnRyTH78.js} +1 -1
- package/dist/{ButtonDismiss-DiPkc9yM.js → ButtonDismiss-iz6LRnYT.js} +1 -1
- package/dist/Card/index.cjs +9 -14
- package/dist/Card/index.mjs +9 -14
- package/dist/{Card-CptLp30y.js → Card-DJq03FIx.js} +3 -3
- package/dist/{Card-BqgMueQK.js → Card-fkVpzPvS.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-CSPaU2TK.js → Checkbox-Dpgfo-gP.js} +3 -3
- package/dist/{Checkbox-CUaccUUU.js → Checkbox-s9xBPgKs.js} +3 -3
- package/dist/Chip/hooks/index.cjs +1 -1
- package/dist/Chip/hooks/index.mjs +1 -1
- package/dist/Chip/index.cjs +11 -11
- package/dist/Chip/index.mjs +11 -11
- package/dist/{Chip-B9X9ucYk.js → Chip-BOvmyk9u.js} +6 -6
- package/dist/{Chip-yX6xVDRw.js → Chip-C77ErCNh.js} +6 -6
- package/dist/{ChipDismissible-CV5F_Pq1.js → ChipDismissible-CBiA0PQP.js} +3 -3
- package/dist/{ChipDismissible-CPUU05Fp.js → ChipDismissible-CRT5Z8iJ.js} +3 -3
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +10 -10
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +10 -10
- package/dist/Chips/InternalChipDismissible/index.cjs +21 -21
- package/dist/Chips/InternalChipDismissible/index.mjs +21 -21
- package/dist/Chips/index.cjs +22 -22
- package/dist/Chips/index.mjs +22 -22
- package/dist/{Chips-DuU1C5KI.js → Chips-DHkT-hCL.js} +2 -2
- package/dist/{Chips-BRZUi0_Q.js → Chips-qX0reALI.js} +2 -2
- package/dist/Combobox/components/ComboboxAction/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxAction/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxActivator/index.cjs +13 -13
- package/dist/Combobox/components/ComboboxActivator/index.mjs +13 -13
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/index.cjs +21 -21
- package/dist/Combobox/components/ComboboxContent/index.mjs +21 -21
- package/dist/Combobox/components/ComboboxOption/index.cjs +5 -5
- package/dist/Combobox/components/ComboboxOption/index.mjs +5 -5
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +12 -12
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +12 -12
- package/dist/Combobox/index.cjs +38 -38
- package/dist/Combobox/index.mjs +38 -38
- package/dist/{Combobox-C2wEv2de.js → Combobox-BKj4C0Sf.js} +9 -9
- package/dist/{Combobox-B59rm4Ri.js → Combobox-DKKg-Zpn.js} +9 -9
- package/dist/{ComboboxAction-f6YLvFcy.js → ComboboxAction-6iZreFsV.js} +2 -2
- package/dist/{ComboboxAction-3yZu9eYU.js → ComboboxAction-DfKcxyKv.js} +2 -2
- package/dist/{ComboboxActivator-BGHDJ7Nr.js → ComboboxActivator-Bd5JfurM.js} +4 -4
- package/dist/{ComboboxActivator-BTJSP6TB.js → ComboboxActivator-BdQw-Rg3.js} +4 -4
- package/dist/{ComboboxContent-CwyvAsyU.js → ComboboxContent-CrXPJy9j.js} +7 -7
- package/dist/{ComboboxContent-Cy6eyqUW.js → ComboboxContent-Dc2RZDyH.js} +7 -7
- package/dist/{ComboboxContentHeader-BfnpXLH6.js → ComboboxContentHeader-CTWFb1B0.js} +2 -2
- package/dist/{ComboboxContentHeader-BVYNFdNl.js → ComboboxContentHeader-z02niPbQ.js} +2 -2
- package/dist/{ComboboxContentList-CGOHNf6C.js → ComboboxContentList-CFSu13t1.js} +6 -6
- package/dist/{ComboboxContentList-B4bbbbJu.js → ComboboxContentList-CfdkPgx0.js} +6 -6
- package/dist/{ComboboxContentSearch-VP1LCIL7.js → ComboboxContentSearch-BAsUS24K.js} +1 -1
- package/dist/{ComboboxContentSearch-CQ8RdJUi.js → ComboboxContentSearch-CWCot9aY.js} +1 -1
- package/dist/{ComboboxLoadMore-LSuUZiuJ.js → ComboboxLoadMore-BntH378g.js} +1 -1
- package/dist/{ComboboxLoadMore-DRD2s-Qd.js → ComboboxLoadMore-CDR4tJOX.js} +1 -1
- package/dist/{ComboboxOption-VbYFI5KM.js → ComboboxOption-DBdHXSB0.js} +3 -3
- package/dist/{ComboboxOption-CkCY3YiZ.js → ComboboxOption-DatZTbe2.js} +3 -3
- package/dist/{ComboboxProvider-DEtiAYml.js → ComboboxProvider-C0Q9Cneb.js} +1 -1
- package/dist/{ComboboxProvider-BiYNb7ar.js → ComboboxProvider-u1CaJmpM.js} +1 -1
- package/dist/{ComboboxTrigger-CyCJRAzt.js → ComboboxTrigger-D0lLq_Ud.js} +4 -4
- package/dist/{ComboboxTrigger-DKVHDDaV.js → ComboboxTrigger-QOQlCJ8r.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-W5VCqltL.js → ConfirmationModal-BsxTqZXI.js} +4 -4
- package/dist/{ConfirmationModal-C3A_kYnK.js → ConfirmationModal-CsYuxdkB.js} +4 -4
- package/dist/Content/index.cjs +1 -1
- package/dist/Content/index.mjs +1 -1
- package/dist/Countdown/index.cjs +3 -3
- package/dist/Countdown/index.mjs +3 -3
- package/dist/{Countdown-C3Ijr1ho.js → Countdown-CVXpFO7o.js} +1 -1
- package/dist/{Countdown-ByJatWVo.js → Countdown-Didi_8Am.js} +1 -1
- package/dist/DataDump/index.cjs +12 -17
- package/dist/DataDump/index.mjs +12 -17
- package/dist/{DataDump-vVpPBWb5.js → DataDump-Bh0RVAij.js} +3 -3
- package/dist/{DataDump-BpthVKOW.js → DataDump-ByEctxmu.js} +3 -3
- package/dist/DataList/components/DataListAction/index.cjs +4 -4
- package/dist/DataList/components/DataListAction/index.mjs +4 -4
- package/dist/DataList/components/DataListActions/index.cjs +29 -29
- package/dist/DataList/components/DataListActions/index.mjs +29 -29
- package/dist/DataList/components/DataListActionsMenu/index.cjs +7 -7
- package/dist/DataList/components/DataListActionsMenu/index.mjs +7 -7
- package/dist/DataList/components/DataListBulkActions/index.cjs +31 -31
- package/dist/DataList/components/DataListBulkActions/index.mjs +31 -31
- package/dist/DataList/components/DataListEmptyState/index.cjs +9 -9
- package/dist/DataList/components/DataListEmptyState/index.mjs +9 -9
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +40 -40
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +40 -40
- package/dist/DataList/components/DataListFilters/index.cjs +52 -52
- package/dist/DataList/components/DataListFilters/index.mjs +52 -52
- package/dist/DataList/components/DataListHeader/index.cjs +38 -38
- package/dist/DataList/components/DataListHeader/index.mjs +38 -38
- package/dist/DataList/components/DataListHeaderTile/components/index.cjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/components/index.mjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/index.cjs +11 -11
- package/dist/DataList/components/DataListHeaderTile/index.mjs +11 -11
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +6 -6
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +6 -6
- package/dist/DataList/components/DataListItem/index.cjs +37 -37
- package/dist/DataList/components/DataListItem/index.mjs +37 -37
- package/dist/DataList/components/DataListItemActions/index.cjs +30 -30
- package/dist/DataList/components/DataListItemActions/index.mjs +30 -30
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +12 -12
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +12 -12
- package/dist/DataList/components/DataListItems/index.cjs +38 -38
- package/dist/DataList/components/DataListItems/index.mjs +38 -38
- package/dist/DataList/components/DataListLayout/index.cjs +41 -41
- package/dist/DataList/components/DataListLayout/index.mjs +41 -41
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/index.cjs +20 -20
- package/dist/DataList/components/DataListLayoutActions/index.mjs +20 -20
- package/dist/DataList/components/DataListLoadMore/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadMore/index.mjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.mjs +10 -10
- package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
- package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
- package/dist/DataList/components/DataListSearch/index.cjs +19 -20
- package/dist/DataList/components/DataListSearch/index.mjs +19 -20
- package/dist/DataList/components/DataListStatusBar/index.cjs +20 -20
- package/dist/DataList/components/DataListStatusBar/index.mjs +20 -20
- package/dist/DataList/components/DataListStickyHeader/index.cjs +2 -2
- package/dist/DataList/components/DataListStickyHeader/index.mjs +2 -2
- package/dist/DataList/components/DataListTags/index.cjs +4 -4
- package/dist/DataList/components/DataListTags/index.mjs +4 -4
- package/dist/DataList/components/DataListTotalCount/index.cjs +6 -6
- package/dist/DataList/components/DataListTotalCount/index.mjs +6 -6
- package/dist/DataList/context/DataListContext/index.cjs +3 -3
- package/dist/DataList/context/DataListContext/index.mjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.cjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.mjs +3 -3
- package/dist/DataList/index.cjs +82 -83
- package/dist/DataList/index.mjs +82 -83
- package/dist/{DataList-BxU73Fxd.js → DataList-CRyMcMnx.js} +21 -21
- package/dist/{DataList-YNlnAOWR.js → DataList-DCmi8wtz.js} +21 -21
- package/dist/{DataList.utils-BUps5hxz.js → DataList.utils-BS6tnJiL.js} +8 -8
- package/dist/{DataList.utils-pEps93tk.js → DataList.utils-BaGrGKsd.js} +8 -8
- package/dist/{DataListAction-Dt4GSveb.js → DataListAction-ChCWNvo9.js} +3 -3
- package/dist/{DataListAction-B-0dldpV.js → DataListAction-Dv5DSbzS.js} +3 -3
- package/dist/{DataListActions-kLTNzsFJ.js → DataListActions-DDfdVYyj.js} +6 -6
- package/dist/{DataListActions-BLROYzDN.js → DataListActions-NWyFPvwj.js} +6 -6
- package/dist/{DataListActionsMenu-DI-HbtTD.js → DataListActionsMenu-DUb3kju5.js} +5 -5
- package/dist/{DataListActionsMenu-BIvDa0p0.js → DataListActionsMenu-DXoHLr13.js} +5 -5
- package/dist/{DataListBulkActions-Da1ukXkT.js → DataListBulkActions-DPESOD2r.js} +3 -3
- package/dist/{DataListBulkActions-C_az-YY2.js → DataListBulkActions-veZHXKYS.js} +3 -3
- package/dist/{DataListContext-DCjDzoKw.js → DataListContext-BjB_tt78.js} +1 -1
- package/dist/{DataListContext-BP994qI1.js → DataListContext-BpuRohw3.js} +1 -1
- package/dist/{DataListEmptyState-BAJmxuM2.js → DataListEmptyState-Co49ELaF.js} +4 -4
- package/dist/{DataListEmptyState-LW7WKzq6.js → DataListEmptyState-DohmOiyK.js} +4 -4
- package/dist/{DataListFilters-B1YmIVm3.js → DataListFilters-0ThmMf88.js} +5 -5
- package/dist/{DataListFilters-Cx9YrGNB.js → DataListFilters-DfHZQ8zj.js} +5 -5
- package/dist/{DataListHeader-De3YL6KZ.js → DataListHeader-BIhAdHrH.js} +11 -11
- package/dist/{DataListHeader-BF59mFGj.js → DataListHeader-BhhoDzZG.js} +11 -11
- package/dist/{DataListHeaderTile-Dql7cDh9.js → DataListHeaderTile-Ark3S583.js} +5 -5
- package/dist/{DataListHeaderTile-CmwX6OHr.js → DataListHeaderTile-P7bC21nE.js} +5 -5
- package/dist/{DataListItem-CCwX7vUj.js → DataListItem-B_XDnjge.js} +10 -10
- package/dist/{DataListItem-DDSxX3Lh.js → DataListItem-DImWEeP6.js} +10 -10
- package/dist/{DataListItemActions-Bb5z_s9h.js → DataListItemActions-CJo3QVz3.js} +2 -2
- package/dist/{DataListItemActions-CgvvzZXg.js → DataListItemActions-txFOKXAh.js} +2 -2
- package/dist/{DataListItemActionsOverflow-DwgOmJME.js → DataListItemActionsOverflow-Co5vhz5B.js} +3 -3
- package/dist/{DataListItemActionsOverflow-hdK-CSBP.js → DataListItemActionsOverflow-DZxONFEa.js} +3 -3
- package/dist/{DataListItemClickable-CQC09xff.js → DataListItemClickable-DZQRBGsT.js} +3 -3
- package/dist/{DataListItemClickable-Csm3jcic.js → DataListItemClickable-jKg-EZlP.js} +3 -3
- package/dist/{DataListItems-BZq9JNOX.js → DataListItems-B4wB_nHA.js} +3 -3
- package/dist/{DataListItems-RI4_RkdS.js → DataListItems-B78jlcdh.js} +3 -3
- package/dist/{DataListLayout-B1bM1kRt.js → DataListLayout-BF3KQzzd.js} +3 -3
- package/dist/{DataListLayout-B86ivjuw.js → DataListLayout-DnzJK23p.js} +3 -3
- package/dist/{DataListLayoutActions-D4UF2-G_.js → DataListLayoutActions-BMNyANVA.js} +4 -4
- package/dist/{DataListLayoutActions-BwryDlSo.js → DataListLayoutActions-xBGF07HP.js} +4 -4
- package/dist/{DataListLayoutContext-srH54QPY.js → DataListLayoutContext-CuRd3Z30.js} +1 -1
- package/dist/{DataListLayoutContext-C6ZJKUwm.js → DataListLayoutContext-D5nuVX4-.js} +1 -1
- package/dist/{DataListLoadMore-BY3Yei16.js → DataListLoadMore-B8MgY5aB.js} +5 -5
- package/dist/{DataListLoadMore-DLSf4Luo.js → DataListLoadMore-tICYzdKP.js} +5 -5
- package/dist/{DataListLoadingState-BtLcHcU3.js → DataListLoadingState-DVicwvOJ.js} +3 -3
- package/dist/{DataListLoadingState-B6S6XYHf.js → DataListLoadingState-Yh8HwCVe.js} +3 -3
- package/dist/{DataListOverflowFade-IQYLBkPj.js → DataListOverflowFade-BxHFR1L7.js} +1 -1
- package/dist/{DataListOverflowFade-CWg5mZJC.js → DataListOverflowFade-DUN2HpTQ.js} +1 -1
- package/dist/{DataListSearch-Brol5mDn.js → DataListSearch-Un26ZnJf.js} +6 -6
- package/dist/{DataListSearch-BMJ5PUan.js → DataListSearch-m1TtnXXH.js} +6 -6
- package/dist/{DataListSort-DmzDkgff.js → DataListSort-BZAoudun.js} +6 -6
- package/dist/{DataListSort-CozzrFRp.js → DataListSort-D6tbwD3f.js} +6 -6
- package/dist/{DataListSortingOptions-BaMPdkxZ.js → DataListSortingOptions-ngEQAiff.js} +3 -3
- package/dist/{DataListSortingOptions-DztVKxFX.js → DataListSortingOptions-yVgo90UK.js} +3 -3
- package/dist/{DataListStatusBar-CB-bC46o.js → DataListStatusBar-Ddzi8j1U.js} +2 -2
- package/dist/{DataListStatusBar-DiEf0RDI.js → DataListStatusBar-P-EtkmLd.js} +2 -2
- package/dist/{DataListStickyHeader-DxVtgKMa.js → DataListStickyHeader-BvQF-9OB.js} +1 -1
- package/dist/{DataListStickyHeader-BoKp6OZN.js → DataListStickyHeader-CtSvLriW.js} +1 -1
- package/dist/{DataListTags-DByF8F9I.js → DataListTags-BzlPhebd.js} +2 -2
- package/dist/{DataListTags-DFu_4h7b.js → DataListTags-HbU9RF0R.js} +2 -2
- package/dist/{DataListTotalCount-C7_dxci9.js → DataListTotalCount-Gz_tyn2i.js} +2 -2
- package/dist/{DataListTotalCount-JDokufNF.js → DataListTotalCount-kFTQhrAe.js} +2 -2
- package/dist/DataTable/index.cjs +18 -19
- package/dist/DataTable/index.mjs +18 -19
- package/dist/DataTable/test-utilities/index.cjs +6 -6
- package/dist/DataTable/test-utilities/index.mjs +6 -6
- package/dist/{DataTable-C6kKJvYG.js → DataTable-BKphoQ4S.js} +6 -6
- package/dist/{DataTable-dkljUG3l.js → DataTable-CMiYAdZr.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-Crq7CVzP.js → DatePicker-CR8YbNu3.js} +11 -11
- package/dist/{DatePicker-BjhmRURV.js → DatePicker-DxhqhGZt.js} +11 -11
- package/dist/{DayOfMonthSelect-CGTgQitk.js → DayOfMonthSelect-2rht3ZBt.js} +2 -2
- package/dist/{DayOfMonthSelect-D52s5W06.js → DayOfMonthSelect-Bq06eJ2O.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-DKpjln_R.js → DescriptionList-DUK7KkpH.js} +1 -1
- package/dist/{DescriptionList-BQep3Nr6.js → DescriptionList-RaiqP1Uc.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-BX7uiReg.js → Disclosure-C7BG58tr.js} +3 -3
- package/dist/{Disclosure-B1OJ5L2r.js → Disclosure-DtPGPLju.js} +3 -3
- package/dist/Divider/index.cjs +1 -1
- package/dist/Divider/index.mjs +1 -1
- package/dist/Drawer/index.cjs +6 -6
- package/dist/Drawer/index.mjs +6 -6
- package/dist/{DrawerGrid-DVBND5R5.js → DrawerGrid-BpZmiD6h.js} +2 -2
- package/dist/{DrawerGrid-BjfsYN5X.js → DrawerGrid-bDo0DDyQ.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-lBi4oSSU.js → Emphasis-BCEQIcPM.js} +1 -1
- package/dist/{Emphasis-C_TxNkgI.js → Emphasis-CK_muuMm.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-BXzcFFxU.js → FeatureSwitch-CG8p5Ch7.js} +7 -7
- package/dist/{FeatureSwitch-D2DF44EX.js → FeatureSwitch-Cf0-qh4L.js} +7 -7
- package/dist/Flex/index.cjs +1 -1
- package/dist/Flex/index.mjs +1 -1
- package/dist/Form/index.cjs +2 -2
- package/dist/Form/index.mjs +2 -2
- package/dist/{Form-CETEK5Bs.js → Form-X9FKErCh.js} +1 -1
- package/dist/{Form-9S51wfvO.js → Form-axAFt5TW.js} +1 -1
- package/dist/FormField/hooks/useFormFieldFocus.d.ts +0 -3
- package/dist/FormField/index.cjs +8 -9
- package/dist/FormField/index.mjs +8 -9
- package/dist/{FormField-CnKBm5WJ.js → FormField-Di7g1IgT.js} +37 -8
- package/dist/{FormField-DFqzcITl.js → FormField-DldnjIjo.js} +37 -8
- package/dist/FormatDate/index.cjs +1 -1
- package/dist/FormatDate/index.mjs +1 -1
- package/dist/FormatEmail/index.cjs +1 -1
- package/dist/FormatEmail/index.mjs +1 -1
- package/dist/FormatFile/index.cjs +21 -21
- package/dist/FormatFile/index.mjs +21 -21
- package/dist/{FormatFile--6be9MYs.js → FormatFile-CiycpiCc.js} +7 -7
- package/dist/{FormatFile-r9gdaXjD.js → FormatFile-Dqj3Xqd9.js} +7 -7
- package/dist/FormatRelativeDateTime/index.cjs +1 -1
- package/dist/FormatRelativeDateTime/index.mjs +1 -1
- package/dist/FormatTime/index.cjs +1 -1
- package/dist/FormatTime/index.mjs +1 -1
- package/dist/Gallery/index.cjs +28 -28
- package/dist/Gallery/index.mjs +28 -28
- package/dist/{Gallery-B8TMEOpO.js → Gallery-CQjZP8N1.js} +3 -3
- package/dist/{Gallery-BXFRsbia.js → Gallery-D5kD7F09.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-keUPQbc7.js → Glimmer-BzwI3BUA.js} +2 -2
- package/dist/{Glimmer-CHcTOuU5.js → Glimmer-COILLr-a.js} +2 -2
- package/dist/Grid/InternalGridCell/index.cjs +1 -1
- package/dist/Grid/InternalGridCell/index.mjs +1 -1
- package/dist/Grid/index.cjs +5 -5
- package/dist/Grid/index.mjs +5 -5
- package/dist/{Grid-Hc2diaNi.js → Grid-B4OGYW9_.js} +2 -2
- package/dist/{Grid-CV1cWVCs.js → Grid-CMtgugj_.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-DQ7q3uC_.js → Heading-C_xhFoMo.js} +1 -1
- package/dist/{Heading-Cfy7AOlV.js → Heading-D7gQixO4.js} +1 -1
- package/dist/Icon/index.cjs +1 -1
- package/dist/Icon/index.mjs +1 -1
- package/dist/InlineLabel/index.cjs +2 -2
- package/dist/InlineLabel/index.mjs +2 -2
- package/dist/{InlineLabel-CG0JQVSA.js → InlineLabel-DWOSyTtN.js} +1 -1
- package/dist/{InlineLabel-CtQOtmdl.js → InlineLabel-zatKNlue.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-DA6lym70.js → InputAvatar-DJArVshP.js} +5 -5
- package/dist/{InputAvatar-etLUXbqy.js → InputAvatar-DvwKWekm.js} +5 -5
- package/dist/InputDate/index.cjs +20 -21
- package/dist/InputDate/index.mjs +20 -21
- package/dist/{InputDate-Bakr-GsJ.js → InputDate-D4fNu4yQ.js} +2 -2
- package/dist/{InputDate-2R-wCaDT.js → InputDate-Df6WzIDZ.js} +2 -2
- package/dist/InputEmail/index.cjs +9 -10
- package/dist/InputEmail/index.mjs +9 -10
- package/dist/{InputEmail-Ctq-uRYT.js → InputEmail-CMTr_NGk.js} +1 -1
- package/dist/{InputEmail-DUP0vwXE.js → InputEmail-DzmbjP3R.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-LQ04pF1p.js → InputFile-D2GghcdL.js} +6 -6
- package/dist/{InputFile-CaZ295_s.js → InputFile-Dj0FHiHJ.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +9 -10
- package/dist/InputNumber/index.mjs +9 -10
- package/dist/{InputNumber-B-sV8gtf.js → InputNumber-CDZsO9HF.js} +1 -1
- package/dist/{InputNumber-ZAL2CcNn.js → InputNumber-N9JDSEyE.js} +1 -1
- package/dist/InputPassword/index.cjs +9 -10
- package/dist/InputPassword/index.mjs +9 -10
- package/dist/{InputPassword-BT0G1jx0.js → InputPassword-Bx0CjXNT.js} +1 -1
- package/dist/{InputPassword-pteAXwKM.js → InputPassword-CPnRux7b.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +9 -10
- package/dist/InputPhoneNumber/index.mjs +9 -10
- package/dist/{InputPhoneNumber-DzZDsrGg.js → InputPhoneNumber-DfRCpJKA.js} +2 -2
- package/dist/{InputPhoneNumber-OpSs2-9d.js → InputPhoneNumber-mdW9n-4Q.js} +2 -2
- package/dist/InputText/index.cjs +10 -11
- package/dist/InputText/index.mjs +10 -11
- package/dist/{InputText-vDdBIKRq.js → InputText-BXV232Wu.js} +2 -2
- package/dist/{InputText-DWj_7v7L.js → InputText-GsR7jv03.js} +2 -2
- package/dist/InputTime/index.cjs +13 -14
- package/dist/InputTime/index.mjs +13 -14
- package/dist/{InputTime-CrLAkFaE.js → InputTime-DLA7RVu1.js} +3 -3
- package/dist/{InputTime-BvErYD4u.js → InputTime-XU4ows9V.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-DUZPLaO8.js → InputValidation-BLHtyLZK.js} +2 -2
- package/dist/{InputValidation-Dl4ntawX.js → InputValidation-DCWkcc1P.js} +2 -2
- package/dist/{InternalChipDismissible-vJqGNc-2.js → InternalChipDismissible-BXBlpati.js} +11 -11
- package/dist/{InternalChipDismissible-BzzG8lrr.js → InternalChipDismissible-_SMBljTb.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-Dx_f8URA.js → LightBox-DsioPMAZ.js} +7 -7
- package/dist/{LightBox-CdwKyOe4.js → LightBox-vYbyYMSX.js} +7 -7
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/List/index.cjs +17 -17
- package/dist/List/index.mjs +17 -17
- package/dist/{List-BIr3PRvi.js → List-BKA5bbrl.js} +10 -10
- package/dist/{List-BhiKAOjr.js → List-h033Hxnf.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-BrrSOwz7.js → Markdown-DgBWB6HK.js} +7 -7
- package/dist/{Markdown-jzqtt8FR.js → Markdown-DtFo6Mpz.js} +7 -7
- package/dist/Menu/Menu.d.ts +5 -1
- package/dist/Menu/index.cjs +7 -12
- package/dist/Menu/index.mjs +7 -12
- package/dist/Menu-C63uf-lH.js +130 -0
- package/dist/Menu-dPKrLS1i.js +128 -0
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-DFZtPILy.js → Modal-CJEa9xPK.js} +6 -6
- package/dist/{Modal-DKFIOBV7.js → Modal-CSblA8Hf.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-C6-Y0VTD.js → MultiSelect-B2Jm544v.js} +3 -3
- package/dist/{MultiSelect-CWDxeQnD.js → MultiSelect-DUkTn-Su.js} +3 -3
- package/dist/{Option-DpRILQ8d.js → Option-C4MT70pt.js} +1 -1
- package/dist/{Option-Bh7h5a6o.js → Option-DKxbdQZU.js} +1 -1
- package/dist/Page/index.cjs +20 -25
- package/dist/Page/index.mjs +20 -25
- package/dist/{Page-c0w8blzT.js → Page-C7uk8Xr-.js} +8 -8
- package/dist/{Page-DyYsmvL5.js → Page-CpOnSDPn.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-BA4gk32J.js → Popover-CSjXWFFx.js} +2 -2
- package/dist/{Popover-B_oc_fQL.js → Popover-Dg_IXdmt.js} +2 -2
- package/dist/ProgressBar/index.cjs +1 -1
- package/dist/ProgressBar/index.mjs +1 -1
- package/dist/RadioGroup/index.cjs +3 -3
- package/dist/RadioGroup/index.mjs +3 -3
- package/dist/{RadioGroup-CVEuang-.js → RadioGroup-BLhh4KkJ.js} +1 -1
- package/dist/{RadioGroup-DX17Cwdg.js → RadioGroup-CsRXcz9P.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +15 -16
- package/dist/RecurringSelect/index.mjs +15 -16
- package/dist/{RecurringSelect-AwMteFW1.js → RecurringSelect-B4gg26fy.js} +6 -6
- package/dist/{RecurringSelect-Bk768E1G.js → RecurringSelect-D54aUx9E.js} +6 -6
- package/dist/Select/index.cjs +9 -10
- package/dist/Select/index.mjs +9 -10
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-CHk-gzUu.js → StatusLabel-DnZ7PaSu.js} +2 -2
- package/dist/{StatusLabel-BeFrdSS8.js → StatusLabel-z00-sjns.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-cYVqozXZ.js → Switch-CxlrY5Ly.js} +1 -1
- package/dist/{Switch-R0GhnYcL.js → Switch-DkWPqa73.js} +1 -1
- package/dist/Table/index.cjs +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.cjs +2 -2
- package/dist/Tabs/index.mjs +2 -2
- package/dist/{Tabs--XI6HsDq.js → Tabs-B1YvI7IG.js} +1 -1
- package/dist/{Tabs-C7LmVAXu.js → Tabs-DVJUmlec.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-BtsXZons.js → Text-B495lyWc.js} +1 -1
- package/dist/{Text-BrppiJ-g.js → Text-Bruk84IX.js} +1 -1
- package/dist/Toast/index.cjs +3 -3
- package/dist/Toast/index.mjs +3 -3
- package/dist/Tooltip/index.cjs +3 -3
- package/dist/Tooltip/index.mjs +3 -3
- package/dist/{Tooltip-EYWiczFy.js → Tooltip-DUSf-9mG.js} +2 -2
- package/dist/{Tooltip-D2nVUe6Y.js → Tooltip-DyR--Pzs.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-CE-LzD7_.js → _baseAssignValue-Dry1EcG9.js} +1 -1
- package/dist/{_baseAssignValue-VIpzVnl4.js → _baseAssignValue-JDxbNmR3.js} +1 -1
- package/dist/{_baseEach-BClec9gc.js → _baseEach-DP7_Zk_E.js} +4 -4
- package/dist/{_baseEach-VvXQAtwP.js → _baseEach-DsR3YOzX.js} +4 -4
- package/dist/{_defineProperty-CYrkY0s3.js → _defineProperty-CLpMWZ1x.js} +3 -3
- package/dist/{_defineProperty-COqAtgcf.js → _defineProperty-nRbY1_db.js} +3 -3
- package/dist/{_getTag-BP55jJ0Q.js → _getTag-BXKVUshI.js} +1 -1
- package/dist/{_getTag-BOgNnaj0.js → _getTag-fsdTRDIK.js} +1 -1
- package/dist/{_setToString-Dfxayhz8.js → _setToString-BLLl3VbF.js} +3 -3
- package/dist/{_setToString-BDqsp9iN.js → _setToString-BsEsE1tE.js} +3 -3
- package/dist/{debounce-CE_zmObg.js → debounce-7TT4CyAW.js} +3 -3
- package/dist/{debounce-CNfnPkxb.js → debounce-Bvx-zyuz.js} +3 -3
- package/dist/{helpers-4PSpbNy-.js → helpers-DQau_niB.js} +1 -1
- package/dist/{helpers-CEMNVEhv.js → helpers-DeAab2FX.js} +1 -1
- package/dist/{index-Cz5PXzZz.js → index-C3WS6lK8.js} +1 -1
- package/dist/{index-BeN6ZuPa.js → index-C_psg3TY.js} +1 -1
- package/dist/index.cjs +145 -146
- package/dist/index.mjs +145 -146
- package/dist/{isObjectLike-CR9EibzW.js → isObjectLike-BQyadTWR.js} +1 -1
- package/dist/{isObjectLike-H8B_inQ3.js → isObjectLike-qQzmlVQZ.js} +1 -1
- package/dist/{isSymbol-mTdWxl4f.js → isSymbol-DgcmsEyS.js} +1 -1
- package/dist/{isSymbol-S7kAYD2x.js → isSymbol-FxE-Pkr7.js} +1 -1
- package/dist/{noop-CRjcWwYF.js → noop-4VWOc3TT.js} +1 -1
- package/dist/{noop-vmwfXaN1.js → noop-AGb46REo.js} +1 -1
- package/dist/styles.css +78 -38
- package/dist/{useActiveLayout-2PdGaug0.js → useActiveLayout-BEav3x9s.js} +2 -2
- package/dist/{useActiveLayout-CLWKiwDF.js → useActiveLayout-C8gnrKSE.js} +2 -2
- package/dist/{useAssert-C611t2xG.js → useAssert-BOfGBwfj.js} +2 -2
- package/dist/{useAssert-DUL3dpMo.js → useAssert-Cu2F_6pj.js} +2 -2
- package/dist/{useBatchSelect-qUJqvdIo.js → useBatchSelect-k5ksjgIe.js} +1 -1
- package/dist/{useBatchSelect-BqStaoEa.js → useBatchSelect-x06y6ARV.js} +1 -1
- package/dist/{useIsMounted-B9zhVMkH.js → useIsMounted-CmDOtUAf.js} +1 -1
- package/dist/{useIsMounted-DHt8AH44.js → useIsMounted-zG1gLB7r.js} +1 -1
- package/dist/{useResizeObserver-UQHjH71q.js → useResizeObserver-GTw-BHxK.js} +3 -3
- package/dist/{useResizeObserver-DwrMDkgs.js → useResizeObserver-p7brsmoc.js} +3 -3
- package/dist/{useResponsiveSizing-BgBRXHId.js → useResponsiveSizing-B_zN2UTX.js} +1 -1
- package/dist/{useResponsiveSizing-1df5N4FM.js → useResponsiveSizing-DqzKbuqP.js} +1 -1
- package/dist/{useScrollToActive-5a3-VuVE.js → useScrollToActive-BT5lWvo7.js} +9 -9
- package/dist/{useScrollToActive-CCD9uDFD.js → useScrollToActive-F1f0o9Ru.js} +9 -9
- package/package.json +3 -3
- package/dist/FormField/hooks/useActiveElement.d.ts +0 -1
- package/dist/Menu-CYLGLJp_.js +0 -169
- package/dist/Menu-QhoQyieU.js +0 -167
- package/dist/useFormFieldFocus-C3wB3RnM.js +0 -60
- package/dist/useFormFieldFocus-DVOtVzuv.js +0 -57
- /package/dist/{AnimatedPresence-DJbXQh9_.js → AnimatedPresence-BZnkpQMH.js} +0 -0
- /package/dist/{AnimatedPresence-jb4VR46K.js → AnimatedPresence-DkOnITGI.js} +0 -0
- /package/dist/{AtlantisContext-CvVnLl0I.js → AtlantisContext-BoVi0sgO.js} +0 -0
- /package/dist/{AtlantisContext-ildPRTTM.js → AtlantisContext-D7PcDMtY.js} +0 -0
- /package/dist/{Body-CUKWIHjw.js → Body-BVXRjTvn.js} +0 -0
- /package/dist/{Body-DK64fvnL.js → Body-B_2m9wA0.js} +0 -0
- /package/dist/{Content-Cqs-mJYm.js → Content-7n0nGDL5.js} +0 -0
- /package/dist/{Content-C_7qvQme.js → Content-Cr6JludB.js} +0 -0
- /package/dist/{DataList-DjZ9wB6h.js → DataList-3eIsBpgS.js} +0 -0
- /package/dist/{DataList-B2sEKWg0.js → DataList-P1tvUR6_.js} +0 -0
- /package/dist/{DataList.const-Mnr4EQkw.js → DataList.const-BANNJQHm.js} +0 -0
- /package/dist/{DataList.const-D7fNTUnS.js → DataList.const-kP-zS7lg.js} +0 -0
- /package/dist/{DataListLayoutContext-UNOgRxfS.js → DataListLayoutContext-BQOTMBug.js} +0 -0
- /package/dist/{DataListLayoutContext-D2vRU9dY.js → DataListLayoutContext-DdfatYsr.js} +0 -0
- /package/dist/{Divider-Buqzw5g1.js → Divider-B21wt1Sj.js} +0 -0
- /package/dist/{Divider-Bq9IXF2u.js → Divider-DhE4XXGb.js} +0 -0
- /package/dist/{Flex-Dj3Ppvwi.js → Flex-BPNMzsLj.js} +0 -0
- /package/dist/{Flex-iWIkCjBC.js → Flex-VzZxYUbT.js} +0 -0
- /package/dist/{FormatDate-B0Gyltbp.js → FormatDate-D0ozIum5.js} +0 -0
- /package/dist/{FormatDate-CJ6vjueY.js → FormatDate-DMNMCPcc.js} +0 -0
- /package/dist/{FormatEmail-8G5uOZ-1.js → FormatEmail-Bs47kM-c.js} +0 -0
- /package/dist/{FormatEmail-CJesi1It.js → FormatEmail-Db22DP-D.js} +0 -0
- /package/dist/{FormatRelativeDateTime-C4xDDAO5.js → FormatRelativeDateTime-BDfhpuIQ.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DzezzjIL.js → FormatRelativeDateTime-U0S2w7iy.js} +0 -0
- /package/dist/{FormatTime-CFC1kZ1o.js → FormatTime-CuplxCo6.js} +0 -0
- /package/dist/{FormatTime-D8c53mqm.js → FormatTime-iSy35rZx.js} +0 -0
- /package/dist/{Icon-Cj9lx3Ph.js → Icon-BwbU3Xex.js} +0 -0
- /package/dist/{Icon-DEiA5DBH.js → Icon-DkyzUz1Y.js} +0 -0
- /package/dist/{InputGroup-DhHS32Nu.js → InputGroup-CH65EzpW.js} +0 -0
- /package/dist/{InputGroup--7H3S9q_.js → InputGroup-ddkZzywv.js} +0 -0
- /package/dist/{InternalGridCell-Dv_Ho_Av.js → InternalGridCell-CCWB3Nbc.js} +0 -0
- /package/dist/{InternalGridCell-DB6UL1lN.js → InternalGridCell-DJoAGqsP.js} +0 -0
- /package/dist/{Link-h-DWQtDI.js → Link-DX9uR1Ei.js} +0 -0
- /package/dist/{Link-C9-KTFv0.js → Link-HBGyNO64.js} +0 -0
- /package/dist/{ProgressBar-6Q2851Am.js → ProgressBar-Bdus-TJd.js} +0 -0
- /package/dist/{ProgressBar-C1WfgtCN.js → ProgressBar-CexhzVdN.js} +0 -0
- /package/dist/{Spinner-BG93TB8t.js → Spinner-BS74IQep.js} +0 -0
- /package/dist/{Spinner-BOY9sXjB.js → Spinner-Xc2UhMPd.js} +0 -0
- /package/dist/{StatusIndicator-rE803i5Z.js → StatusIndicator-CvR2cgVX.js} +0 -0
- /package/dist/{StatusIndicator-Dan5iyTw.js → StatusIndicator-DFBqybu7.js} +0 -0
- /package/dist/{Typography-DCrI0yCx.js → Typography-F7MGOkIu.js} +0 -0
- /package/dist/{Typography-Bo1nl2hI.js → Typography-Ti-xsh7u.js} +0 -0
- /package/dist/{_commonjsHelpers-CikPEq3K.js → _commonjsHelpers-5Yg_AaFG.js} +0 -0
- /package/dist/{_commonjsHelpers-_k0Qj9Fa.js → _commonjsHelpers-ClJtlLsW.js} +0 -0
- /package/dist/{_polyfill-node.process-5363lyJO.js → _polyfill-node.process-CqlHmauv.js} +0 -0
- /package/dist/{_polyfill-node.process-D9rd_2mh.js → _polyfill-node.process-CwfHOFVJ.js} +0 -0
- /package/dist/{tslib.es6-RlGKykHz.js → tslib.es6-CXrkZJC0.js} +0 -0
- /package/dist/{tslib.es6-BcZfQWdM.js → tslib.es6-CnrqB3EW.js} +0 -0
- /package/dist/{useChildComponent-BPYm31uC.js → useChildComponent-DRrGQ0gB.js} +0 -0
- /package/dist/{useChildComponent-DR-TzNcW.js → useChildComponent-Dz6Jm8li.js} +0 -0
- /package/dist/{useFocusTrap-H2XPPjdI.js → useFocusTrap-D4qDUC4R.js} +0 -0
- /package/dist/{useFocusTrap-DrwNSBFK.js → useFocusTrap-DQN4M6J5.js} +0 -0
- /package/dist/{useInView-DO1LOVol.js → useInView-BRyC8Ch_.js} +0 -0
- /package/dist/{useInView-BGVvS1tq.js → useInView-CCrflJ4I.js} +0 -0
- /package/dist/{useOnKeyDown-ByKUsvjX.js → useOnKeyDown-B-Sr7XiC.js} +0 -0
- /package/dist/{useOnKeyDown-CiMP2t9K.js → useOnKeyDown-BlPq-UwE.js} +0 -0
- /package/dist/{useRefocusOnActivator-DmTzYcQH.js → useRefocusOnActivator-BmX7GyT4.js} +0 -0
- /package/dist/{useRefocusOnActivator-DJtNYfx5.js → useRefocusOnActivator-rU0-yx0l.js} +0 -0
- /package/dist/{useSafeLayoutEffect-B7CfKyFz.js → useSafeLayoutEffect-CRX3bAXG.js} +0 -0
- /package/dist/{useSafeLayoutEffect-B7vOLihu.js → useSafeLayoutEffect-DMKM7hqj.js} +0 -0
package/dist/styles.css
CHANGED
|
@@ -2106,32 +2106,25 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
2108
2108
|
.dT6M9tp1sZc- {
|
|
2109
|
+
--menu-space: var(--space-small);
|
|
2110
|
+
--menu-offset: var(--space-smallest);
|
|
2111
|
+
display: inline-block;
|
|
2109
2112
|
position: relative;
|
|
2110
2113
|
}
|
|
2111
2114
|
|
|
2112
|
-
._9pvjsJS6vsg- {
|
|
2113
|
-
z-index: 6;
|
|
2114
|
-
z-index: var(--elevation-menu);
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
.G7Nzd9sctos- {
|
|
2118
|
-
display: none;
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
2115
|
.Qmxlsj0D3qM- {
|
|
2122
|
-
|
|
2123
|
-
|
|
2116
|
+
position: fixed;
|
|
2117
|
+
bottom: 0;
|
|
2118
|
+
left: 0;
|
|
2124
2119
|
z-index: 6;
|
|
2125
2120
|
z-index: var(--elevation-menu);
|
|
2121
|
+
width: 100%;
|
|
2126
2122
|
max-height: 72vh;
|
|
2127
2123
|
box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px
|
|
2128
2124
|
rgba(0, 0, 0, 0.1),
|
|
2129
2125
|
0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);
|
|
2130
2126
|
box-shadow: var(--shadow-base);
|
|
2131
|
-
padding: calc(16px / 2);
|
|
2132
2127
|
padding: var(--menu-space);
|
|
2133
|
-
padding-bottom: calc(env(safe-area-inset-bottom) + (16px / 2));
|
|
2134
|
-
padding-bottom: calc(env(safe-area-inset-bottom) + calc(16px / 2));
|
|
2135
2128
|
padding-bottom: calc(env(safe-area-inset-bottom) + var(--menu-space));
|
|
2136
2129
|
border-radius: 8px 8px 0 0;
|
|
2137
2130
|
border-radius: var(--radius-base) var(--radius-base) 0 0;
|
|
@@ -2141,29 +2134,11 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2141
2134
|
background-color: var(--color-surface);
|
|
2142
2135
|
}
|
|
2143
2136
|
|
|
2144
|
-
@media (max-width: 489px) {
|
|
2145
|
-
|
|
2146
|
-
.Qmxlsj0D3qM- {
|
|
2147
|
-
position: fixed;
|
|
2148
|
-
right: 0;
|
|
2149
|
-
bottom: 0;
|
|
2150
|
-
left: 0;
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
@media (--small-screens-and-below) {
|
|
2155
|
-
|
|
2156
|
-
.Qmxlsj0D3qM- {
|
|
2157
|
-
position: fixed;
|
|
2158
|
-
right: 0;
|
|
2159
|
-
bottom: 0;
|
|
2160
|
-
left: 0;
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
2137
|
@media (min-width: 490px) {
|
|
2165
2138
|
|
|
2166
2139
|
.Qmxlsj0D3qM- {
|
|
2140
|
+
position: absolute;
|
|
2141
|
+
left: auto;
|
|
2167
2142
|
width: calc(16px * 12.5);
|
|
2168
2143
|
width: calc(var(--base-unit) * 12.5);
|
|
2169
2144
|
padding: var(--menu-space);
|
|
@@ -2178,6 +2153,8 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2178
2153
|
@media (--small-screens-and-up) {
|
|
2179
2154
|
|
|
2180
2155
|
.Qmxlsj0D3qM- {
|
|
2156
|
+
position: absolute;
|
|
2157
|
+
left: auto;
|
|
2181
2158
|
width: calc(16px * 12.5);
|
|
2182
2159
|
width: calc(var(--base-unit) * 12.5);
|
|
2183
2160
|
padding: var(--menu-space);
|
|
@@ -2189,6 +2166,72 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2189
2166
|
}
|
|
2190
2167
|
}
|
|
2191
2168
|
|
|
2169
|
+
@media (min-width: 490px) {
|
|
2170
|
+
|
|
2171
|
+
.QTisUfiHwL4- {
|
|
2172
|
+
bottom: 100%;
|
|
2173
|
+
margin-bottom: var(--menu-offset);
|
|
2174
|
+
}
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
@media (--small-screens-and-up) {
|
|
2178
|
+
|
|
2179
|
+
.QTisUfiHwL4- {
|
|
2180
|
+
bottom: 100%;
|
|
2181
|
+
margin-bottom: var(--menu-offset);
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
@media (min-width: 490px) {
|
|
2186
|
+
|
|
2187
|
+
.qsch1dlpOHc- {
|
|
2188
|
+
top: 100%;
|
|
2189
|
+
bottom: auto;
|
|
2190
|
+
margin-top: var(--menu-offset);
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
@media (--small-screens-and-up) {
|
|
2195
|
+
|
|
2196
|
+
.qsch1dlpOHc- {
|
|
2197
|
+
top: 100%;
|
|
2198
|
+
bottom: auto;
|
|
2199
|
+
margin-top: var(--menu-offset);
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
@media (min-width: 490px) {
|
|
2204
|
+
|
|
2205
|
+
._0xR9-oxWMOU- {
|
|
2206
|
+
right: 0;
|
|
2207
|
+
left: auto;
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
@media (--small-screens-and-up) {
|
|
2212
|
+
|
|
2213
|
+
._0xR9-oxWMOU- {
|
|
2214
|
+
right: 0;
|
|
2215
|
+
left: auto;
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
@media (min-width: 490px) {
|
|
2220
|
+
|
|
2221
|
+
.gaZwsdyoG0k- {
|
|
2222
|
+
right: auto;
|
|
2223
|
+
left: 0;
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
@media (--small-screens-and-up) {
|
|
2228
|
+
|
|
2229
|
+
.gaZwsdyoG0k- {
|
|
2230
|
+
right: auto;
|
|
2231
|
+
left: 0;
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2192
2235
|
.LaKFjYCLHZc- {
|
|
2193
2236
|
padding: var(--menu-space) 0;
|
|
2194
2237
|
border-bottom: calc(16px / 16) solid hsl(200, 13%, 87%);
|
|
@@ -2228,12 +2271,9 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2228
2271
|
}
|
|
2229
2272
|
|
|
2230
2273
|
.ZuceCiefKqw-:hover,
|
|
2231
|
-
.ZuceCiefKqw-:focus {
|
|
2274
|
+
.ZuceCiefKqw-:focus-visible {
|
|
2232
2275
|
background-color: hsl(53, 21%, 93%);
|
|
2233
2276
|
background-color: var(--color-surface--hover);
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
.ZuceCiefKqw-:focus-visible {
|
|
2237
2277
|
outline-color: hsl(198, 12%, 57%);
|
|
2238
2278
|
outline-color: var(--color-focus);
|
|
2239
2279
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useResponsiveSizing } from './useResponsiveSizing-
|
|
2
|
-
import { u as useDataListContext } from './DataListContext-
|
|
1
|
+
import { u as useResponsiveSizing } from './useResponsiveSizing-DqzKbuqP.js';
|
|
2
|
+
import { u as useDataListContext } from './DataListContext-BpuRohw3.js';
|
|
3
3
|
|
|
4
4
|
function useActiveLayout() {
|
|
5
5
|
const { layoutBreakpoints, layouts } = useDataListContext();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var useResponsiveSizing = require('./useResponsiveSizing-
|
|
4
|
-
var DataListContext = require('./DataListContext-
|
|
3
|
+
var useResponsiveSizing = require('./useResponsiveSizing-B_zN2UTX.js');
|
|
4
|
+
var DataListContext = require('./DataListContext-BjB_tt78.js');
|
|
5
5
|
|
|
6
6
|
function useActiveLayout() {
|
|
7
7
|
const { layoutBreakpoints, layouts } = DataListContext.useDataListContext();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
4
|
-
var _polyfillNode_process = require('./_polyfill-node.process-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
4
|
+
var _polyfillNode_process = require('./_polyfill-node.process-CqlHmauv.js');
|
|
5
5
|
|
|
6
6
|
var useAssert$1 = {};
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as getAugmentedNamespace, c as commonjsGlobal } from './_commonjsHelpers-
|
|
2
|
-
import { _ as _polyfillNode_process } from './_polyfill-node.process-
|
|
1
|
+
import { a as getAugmentedNamespace, c as commonjsGlobal } from './_commonjsHelpers-ClJtlLsW.js';
|
|
2
|
+
import { _ as _polyfillNode_process } from './_polyfill-node.process-CwfHOFVJ.js';
|
|
3
3
|
|
|
4
4
|
var useAssert$1 = {};
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var debounce$1 = require('./debounce-
|
|
6
|
-
var isObjectLike = require('./isObjectLike-
|
|
5
|
+
var debounce$1 = require('./debounce-Bvx-zyuz.js');
|
|
6
|
+
var isObjectLike = require('./isObjectLike-BQyadTWR.js');
|
|
7
7
|
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
m.forEach(function (e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
1
|
+
import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-ClJtlLsW.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { a as debounce_1 } from './debounce-
|
|
4
|
-
import { b as isObject_1 } from './isObjectLike-
|
|
3
|
+
import { a as debounce_1 } from './debounce-7TT4CyAW.js';
|
|
4
|
+
import { b as isObject_1 } from './isObjectLike-qQzmlVQZ.js';
|
|
5
5
|
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
m.forEach(function (e) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { useRef, useId, useState, useEffect } from 'react';
|
|
2
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
3
|
-
import { _ as _overRest, a as _setToString, b as _baseFlatten } from './_setToString-
|
|
4
|
-
import { b as _arrayMap, c as _baseGet, i as identity_1, e as eq_1, d as _isIndex } from './_defineProperty-
|
|
5
|
-
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-
|
|
6
|
-
import { c as isArrayLike_1, g as _baseUnary, b as isArray_1 } from './_getTag-
|
|
7
|
-
import { i as isSymbol_1 } from './isSymbol-
|
|
8
|
-
import { b as isObject_1 } from './isObjectLike-
|
|
9
|
-
import { d as debounce } from './debounce-
|
|
10
|
-
import { I as Icon } from './Icon-
|
|
2
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-ClJtlLsW.js';
|
|
3
|
+
import { _ as _overRest, a as _setToString, b as _baseFlatten } from './_setToString-BLLl3VbF.js';
|
|
4
|
+
import { b as _arrayMap, c as _baseGet, i as identity_1, e as eq_1, d as _isIndex } from './_defineProperty-CLpMWZ1x.js';
|
|
5
|
+
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-DP7_Zk_E.js';
|
|
6
|
+
import { c as isArrayLike_1, g as _baseUnary, b as isArray_1 } from './_getTag-fsdTRDIK.js';
|
|
7
|
+
import { i as isSymbol_1 } from './isSymbol-DgcmsEyS.js';
|
|
8
|
+
import { b as isObject_1 } from './isObjectLike-qQzmlVQZ.js';
|
|
9
|
+
import { d as debounce } from './debounce-7TT4CyAW.js';
|
|
10
|
+
import { I as Icon } from './Icon-DkyzUz1Y.js';
|
|
11
11
|
import { usePopper } from 'react-popper';
|
|
12
12
|
|
|
13
13
|
var baseEach = _baseEach,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
5
|
-
var _setToString = require('./_setToString-
|
|
6
|
-
var _defineProperty = require('./_defineProperty-
|
|
7
|
-
var _baseEach = require('./_baseEach-
|
|
8
|
-
var _getTag = require('./_getTag-
|
|
9
|
-
var isSymbol$1 = require('./isSymbol-
|
|
10
|
-
var isObjectLike = require('./isObjectLike-
|
|
11
|
-
var debounce = require('./debounce-
|
|
12
|
-
var Icon = require('./Icon-
|
|
4
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
5
|
+
var _setToString = require('./_setToString-BsEsE1tE.js');
|
|
6
|
+
var _defineProperty = require('./_defineProperty-nRbY1_db.js');
|
|
7
|
+
var _baseEach = require('./_baseEach-DsR3YOzX.js');
|
|
8
|
+
var _getTag = require('./_getTag-BXKVUshI.js');
|
|
9
|
+
var isSymbol$1 = require('./isSymbol-FxE-Pkr7.js');
|
|
10
|
+
var isObjectLike = require('./isObjectLike-BQyadTWR.js');
|
|
11
|
+
var debounce = require('./debounce-Bvx-zyuz.js');
|
|
12
|
+
var Icon = require('./Icon-BwbU3Xex.js');
|
|
13
13
|
var reactPopper = require('react-popper');
|
|
14
14
|
|
|
15
15
|
var baseEach = _baseEach._baseEach,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"dependencies": {
|
|
405
405
|
"@jobber/design": "^0.59.0",
|
|
406
406
|
"@jobber/formatters": "^0.3.0",
|
|
407
|
-
"@jobber/hooks": "^2.9.
|
|
407
|
+
"@jobber/hooks": "^2.9.7",
|
|
408
408
|
"@popperjs/core": "^2.0.6",
|
|
409
409
|
"@std-proposal/temporal": "0.0.1",
|
|
410
410
|
"@tanstack/react-table": "8.5.13",
|
|
@@ -482,5 +482,5 @@
|
|
|
482
482
|
"> 1%",
|
|
483
483
|
"IE 10"
|
|
484
484
|
],
|
|
485
|
-
"gitHead": "
|
|
485
|
+
"gitHead": "b10e7ce1c463c1ecde128866ea95ba9fc2b9aaee"
|
|
486
486
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useActiveElement(): Element | null;
|
package/dist/Menu-CYLGLJp_.js
DELETED
|
@@ -1,169 +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-CiMP2t9K.js');
|
|
7
|
-
var useRefocusOnActivator = require('./useRefocusOnActivator-DJtNYfx5.js');
|
|
8
|
-
var reactPopper = require('react-popper');
|
|
9
|
-
var useIsMounted = require('./useIsMounted-DHt8AH44.js');
|
|
10
|
-
var ReactDOM = require('react-dom');
|
|
11
|
-
var useFocusTrap = require('./useFocusTrap-H2XPPjdI.js');
|
|
12
|
-
var Button = require('./Button-6RQMB0Jy.js');
|
|
13
|
-
var Typography = require('./Typography-Bo1nl2hI.js');
|
|
14
|
-
var Icon = require('./Icon-Cj9lx3Ph.js');
|
|
15
|
-
var useFormFieldFocus = require('./useFormFieldFocus-C3wB3RnM.js');
|
|
16
|
-
|
|
17
|
-
var useWindowDimensions$1 = {};
|
|
18
|
-
|
|
19
|
-
Object.defineProperty(useWindowDimensions$1, "__esModule", { value: true });
|
|
20
|
-
var useWindowDimensions_2 = useWindowDimensions$1.useWindowDimensions = void 0;
|
|
21
|
-
const react_1 = React;
|
|
22
|
-
function getWindowDimensions() {
|
|
23
|
-
if (!(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document)) {
|
|
24
|
-
return {
|
|
25
|
-
width: 0,
|
|
26
|
-
height: 0,
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
const { innerWidth: width, innerHeight: height } = window;
|
|
30
|
-
return {
|
|
31
|
-
width,
|
|
32
|
-
height,
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function useWindowDimensions() {
|
|
36
|
-
const [windowDimensions, setWindowDimensions] = (0, react_1.useState)(getWindowDimensions());
|
|
37
|
-
(0, react_1.useEffect)(() => {
|
|
38
|
-
function handleResize() {
|
|
39
|
-
setWindowDimensions(getWindowDimensions());
|
|
40
|
-
}
|
|
41
|
-
window === null || window === void 0 ? void 0 : window.addEventListener("resize", handleResize);
|
|
42
|
-
return () => window === null || window === void 0 ? void 0 : window.removeEventListener("resize", handleResize);
|
|
43
|
-
}, []);
|
|
44
|
-
return windowDimensions;
|
|
45
|
-
}
|
|
46
|
-
useWindowDimensions_2 = useWindowDimensions$1.useWindowDimensions = useWindowDimensions;
|
|
47
|
-
|
|
48
|
-
var styles = {"wrapper":"dT6M9tp1sZc-","popperContainer":"_9pvjsJS6vsg-","shadowRef":"G7Nzd9sctos-","menu":"Qmxlsj0D3qM-","section":"LaKFjYCLHZc-","sectionHeader":"_7HB7dWnqCi0-","action":"ZuceCiefKqw-","overlay":"eKnUAucwwWU-","fullWidth":"oaxefr58z-E-","screenReaderOnly":"vz9opIdwHFg-"};
|
|
49
|
-
|
|
50
|
-
const SMALL_SCREEN_BREAKPOINT = 489;
|
|
51
|
-
const MENU_OFFSET = 6;
|
|
52
|
-
const variation = {
|
|
53
|
-
overlayStartStop: { opacity: 0 },
|
|
54
|
-
startOrStop: (placement) => {
|
|
55
|
-
let y = 10;
|
|
56
|
-
if (placement === null || placement === void 0 ? void 0 : placement.includes("bottom"))
|
|
57
|
-
y *= -1;
|
|
58
|
-
if (window.innerWidth < 640)
|
|
59
|
-
y = 150;
|
|
60
|
-
return { opacity: 0, y };
|
|
61
|
-
},
|
|
62
|
-
done: { opacity: 1, y: 0 },
|
|
63
|
-
};
|
|
64
|
-
// eslint-disable-next-line max-statements
|
|
65
|
-
function Menu({ activator, items }) {
|
|
66
|
-
var _a, _b;
|
|
67
|
-
const [visible, setVisible] = React.useState(false);
|
|
68
|
-
const shadowRef = React.useRef(null);
|
|
69
|
-
const { width } = useWindowDimensions_2();
|
|
70
|
-
const buttonID = React.useId();
|
|
71
|
-
const menuID = React.useId();
|
|
72
|
-
const fullWidth = ((_a = activator === null || activator === void 0 ? void 0 : activator.props) === null || _a === void 0 ? void 0 : _a.fullWidth) || false;
|
|
73
|
-
const wrapperClasses = classnames(styles.wrapper, {
|
|
74
|
-
[styles.fullWidth]: fullWidth,
|
|
75
|
-
});
|
|
76
|
-
useOnKeyDown.useOnKeyDown_2(handleKeyboardShortcut, ["Escape"]);
|
|
77
|
-
// useRefocusOnActivator must come before useFocusTrap for them both to work
|
|
78
|
-
useRefocusOnActivator.useRefocusOnActivator_2(visible);
|
|
79
|
-
const menuRef = useFocusTrap.useFocusTrap_2(visible);
|
|
80
|
-
const [popperElement, setPopperElement] = React.useState(null);
|
|
81
|
-
const { styles: popperStyles, attributes, state, } = reactPopper.usePopper((_b = shadowRef.current) === null || _b === void 0 ? void 0 : _b.nextElementSibling, popperElement, {
|
|
82
|
-
placement: "bottom-start",
|
|
83
|
-
modifiers: [
|
|
84
|
-
{
|
|
85
|
-
name: "flip",
|
|
86
|
-
options: {
|
|
87
|
-
flipVariations: true,
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
name: "offset",
|
|
92
|
-
options: {
|
|
93
|
-
offset: [0, MENU_OFFSET],
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
});
|
|
98
|
-
const positionAttributes = width > SMALL_SCREEN_BREAKPOINT
|
|
99
|
-
? Object.assign(Object.assign({}, attributes.popper), { style: popperStyles.popper }) : {};
|
|
100
|
-
if (!activator) {
|
|
101
|
-
activator = (React.createElement(Button.Button, { fullWidth: true, label: "More Actions", icon: "more", type: "secondary" }));
|
|
102
|
-
}
|
|
103
|
-
return (React.createElement("div", { className: wrapperClasses, onClick: handleParentClick },
|
|
104
|
-
React.createElement("span", { ref: shadowRef, className: styles.shadowRef }),
|
|
105
|
-
React.cloneElement(activator, {
|
|
106
|
-
onClick: toggle(activator.props.onClick),
|
|
107
|
-
id: buttonID,
|
|
108
|
-
ariaControls: menuID,
|
|
109
|
-
ariaExpanded: visible,
|
|
110
|
-
ariaHaspopup: true,
|
|
111
|
-
}),
|
|
112
|
-
React.createElement(MenuPortal, null,
|
|
113
|
-
React.createElement(framerMotion.AnimatePresence, null, visible && (React.createElement(React.Fragment, null,
|
|
114
|
-
React.createElement(framerMotion.motion.div, { className: styles.overlay, onClick: toggle(), variants: variation, initial: "overlayStartStop", animate: "done", exit: "overlayStartStop", transition: {
|
|
115
|
-
type: "tween",
|
|
116
|
-
duration: 0.15,
|
|
117
|
-
} }),
|
|
118
|
-
React.createElement("div", Object.assign({ ref: setPopperElement, className: styles.popperContainer }, positionAttributes, useFormFieldFocus.formFieldFocusAttribute), items.length > 0 && (React.createElement(framerMotion.motion.div, { className: styles.menu, role: "menu", "aria-labelledby": buttonID, id: menuID, onClick: hide, variants: variation, initial: "startOrStop", animate: "done", exit: "startOrStop", custom: state === null || state === void 0 ? void 0 : state.placement, ref: menuRef, transition: {
|
|
119
|
-
type: "tween",
|
|
120
|
-
duration: 0.25,
|
|
121
|
-
} }, items.map((item, key) => (React.createElement("div", { key: key, className: styles.section },
|
|
122
|
-
item.header && React.createElement(SectionHeader, { text: item.header }),
|
|
123
|
-
item.actions.map(action => (React.createElement(Action, Object.assign({ sectionLabel: item.header, key: action.label }, action))))))))))))))));
|
|
124
|
-
function toggle(callbackPassthrough) {
|
|
125
|
-
return (event) => {
|
|
126
|
-
setVisible(!visible);
|
|
127
|
-
callbackPassthrough && callbackPassthrough(event);
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
function hide() {
|
|
131
|
-
setVisible(false);
|
|
132
|
-
}
|
|
133
|
-
function handleKeyboardShortcut(event) {
|
|
134
|
-
const { key } = event;
|
|
135
|
-
if (!visible)
|
|
136
|
-
return;
|
|
137
|
-
event.preventDefault();
|
|
138
|
-
event.stopPropagation();
|
|
139
|
-
key === "Escape" && hide();
|
|
140
|
-
}
|
|
141
|
-
function handleParentClick(event) {
|
|
142
|
-
// Since the menu is being rendered within the same parent as the activator,
|
|
143
|
-
// we need to stop the click event from bubbling up. If the Menu component
|
|
144
|
-
// gets added within a parent that has a click handler, any click on the
|
|
145
|
-
// menu will trigger the parent's click handler.
|
|
146
|
-
event.stopPropagation();
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
function SectionHeader({ text }) {
|
|
150
|
-
return (React.createElement("div", { className: styles.sectionHeader, "aria-hidden": true },
|
|
151
|
-
React.createElement(Typography.Typography, { element: "h6", size: "base", textColor: "textSecondary", fontWeight: "regular", textCase: "none" }, text)));
|
|
152
|
-
}
|
|
153
|
-
function Action({ label, sectionLabel, icon, onClick }) {
|
|
154
|
-
const actionButtonRef = React.useRef();
|
|
155
|
-
return (React.createElement("button", { role: "menuitem", type: "button", className: styles.action, key: label, onClick: onClick, ref: actionButtonRef },
|
|
156
|
-
icon && React.createElement(Icon.Icon, { name: icon }),
|
|
157
|
-
React.createElement(Typography.Typography, { element: "span", fontWeight: "semiBold", textColor: "textSecondary" },
|
|
158
|
-
sectionLabel && (React.createElement("span", { className: styles.screenReaderOnly }, sectionLabel)),
|
|
159
|
-
label)));
|
|
160
|
-
}
|
|
161
|
-
function MenuPortal({ children }) {
|
|
162
|
-
const mounted = useIsMounted.useIsMounted_2();
|
|
163
|
-
if (!(mounted === null || mounted === void 0 ? void 0 : mounted.current)) {
|
|
164
|
-
return null;
|
|
165
|
-
}
|
|
166
|
-
return ReactDOM.createPortal(children, document.body);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
exports.Menu = Menu;
|