@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
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var _baseEach = require('./_baseEach-
|
|
6
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
7
|
-
var _baseAssignValue = require('./_baseAssignValue-
|
|
8
|
-
var _getTag = require('./_getTag-
|
|
9
|
-
var Icon = require('./Icon-
|
|
10
|
-
var Text = require('./Text-
|
|
11
|
-
var Heading = require('./Heading-
|
|
12
|
-
var Typography = require('./Typography-
|
|
13
|
-
var Markdown = require('./Markdown-
|
|
14
|
-
var Emphasis = require('./Emphasis-
|
|
5
|
+
var _baseEach = require('./_baseEach-DsR3YOzX.js');
|
|
6
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
7
|
+
var _baseAssignValue = require('./_baseAssignValue-Dry1EcG9.js');
|
|
8
|
+
var _getTag = require('./_getTag-BXKVUshI.js');
|
|
9
|
+
var Icon = require('./Icon-BwbU3Xex.js');
|
|
10
|
+
var Text = require('./Text-B495lyWc.js');
|
|
11
|
+
var Heading = require('./Heading-D7gQixO4.js');
|
|
12
|
+
var Typography = require('./Typography-Ti-xsh7u.js');
|
|
13
|
+
var Markdown = require('./Markdown-DtFo6Mpz.js');
|
|
14
|
+
var Emphasis = require('./Emphasis-BCEQIcPM.js');
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* A specialized version of `baseAggregator` for arrays.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { _ as _baseEach, a as _baseIteratee, g as get } from './_baseEach-
|
|
4
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
5
|
-
import { _ as _baseAssignValue } from './_baseAssignValue-
|
|
6
|
-
import { b as isArray_1 } from './_getTag-
|
|
7
|
-
import { I as Icon } from './Icon-
|
|
8
|
-
import { T as Text } from './Text-
|
|
9
|
-
import { H as Heading } from './Heading-
|
|
10
|
-
import { T as Typography } from './Typography-
|
|
11
|
-
import { M as Markdown } from './Markdown-
|
|
12
|
-
import { E as Emphasis } from './Emphasis-
|
|
3
|
+
import { _ as _baseEach, a as _baseIteratee, g as get } from './_baseEach-DP7_Zk_E.js';
|
|
4
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-ClJtlLsW.js';
|
|
5
|
+
import { _ as _baseAssignValue } from './_baseAssignValue-JDxbNmR3.js';
|
|
6
|
+
import { b as isArray_1 } from './_getTag-fsdTRDIK.js';
|
|
7
|
+
import { I as Icon } from './Icon-DkyzUz1Y.js';
|
|
8
|
+
import { T as Text } from './Text-Bruk84IX.js';
|
|
9
|
+
import { H as Heading } from './Heading-C_xhFoMo.js';
|
|
10
|
+
import { T as Typography } from './Typography-F7MGOkIu.js';
|
|
11
|
+
import { M as Markdown } from './Markdown-DgBWB6HK.js';
|
|
12
|
+
import { E as Emphasis } from './Emphasis-CK_muuMm.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* A specialized version of `baseAggregator` for arrays.
|
package/dist/Markdown/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Markdown = require('../Markdown-
|
|
3
|
+
var Markdown = require('../Markdown-DtFo6Mpz.js');
|
|
4
4
|
require('react');
|
|
5
|
-
require('../Text-
|
|
6
|
-
require('../Typography-
|
|
5
|
+
require('../Text-B495lyWc.js');
|
|
6
|
+
require('../Typography-Ti-xsh7u.js');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('../Emphasis-
|
|
9
|
-
require('../Heading-
|
|
10
|
-
require('../Content-
|
|
11
|
-
require('../index-
|
|
12
|
-
require('../_commonjsHelpers-
|
|
13
|
-
require('../_polyfill-node.process-
|
|
8
|
+
require('../Emphasis-BCEQIcPM.js');
|
|
9
|
+
require('../Heading-D7gQixO4.js');
|
|
10
|
+
require('../Content-Cr6JludB.js');
|
|
11
|
+
require('../index-C_psg3TY.js');
|
|
12
|
+
require('../_commonjsHelpers-5Yg_AaFG.js');
|
|
13
|
+
require('../_polyfill-node.process-CqlHmauv.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
package/dist/Markdown/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { M as Markdown } from '../Markdown-
|
|
1
|
+
export { M as Markdown } from '../Markdown-DgBWB6HK.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../Text-
|
|
4
|
-
import '../Typography-
|
|
3
|
+
import '../Text-Bruk84IX.js';
|
|
4
|
+
import '../Typography-F7MGOkIu.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '../Emphasis-
|
|
7
|
-
import '../Heading-
|
|
8
|
-
import '../Content-
|
|
9
|
-
import '../index-
|
|
10
|
-
import '../_commonjsHelpers-
|
|
11
|
-
import '../_polyfill-node.process-
|
|
6
|
+
import '../Emphasis-CK_muuMm.js';
|
|
7
|
+
import '../Heading-C_xhFoMo.js';
|
|
8
|
+
import '../Content-7n0nGDL5.js';
|
|
9
|
+
import '../index-C3WS6lK8.js';
|
|
10
|
+
import '../_commonjsHelpers-ClJtlLsW.js';
|
|
11
|
+
import '../_polyfill-node.process-CwfHOFVJ.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { T as Text } from './Text-
|
|
3
|
-
import { E as Emphasis } from './Emphasis-
|
|
4
|
-
import { H as Heading } from './Heading-
|
|
5
|
-
import { C as Content } from './Content-
|
|
6
|
-
import { P as PropTypes } from './index-
|
|
7
|
-
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
8
|
-
import { b as browser$1 } from './_polyfill-node.process-
|
|
2
|
+
import { T as Text } from './Text-Bruk84IX.js';
|
|
3
|
+
import { E as Emphasis } from './Emphasis-CK_muuMm.js';
|
|
4
|
+
import { H as Heading } from './Heading-C_xhFoMo.js';
|
|
5
|
+
import { C as Content } from './Content-7n0nGDL5.js';
|
|
6
|
+
import { P as PropTypes } from './index-C3WS6lK8.js';
|
|
7
|
+
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-ClJtlLsW.js';
|
|
8
|
+
import { b as browser$1 } from './_polyfill-node.process-CwfHOFVJ.js';
|
|
9
9
|
|
|
10
10
|
const protocols = ['http', 'https', 'mailto', 'tel'];
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var Text = require('./Text-
|
|
5
|
-
var Emphasis = require('./Emphasis-
|
|
6
|
-
var Heading = require('./Heading-
|
|
7
|
-
var Content = require('./Content-
|
|
8
|
-
var index$3 = require('./index-
|
|
9
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
10
|
-
var _polyfillNode_process = require('./_polyfill-node.process-
|
|
4
|
+
var Text = require('./Text-B495lyWc.js');
|
|
5
|
+
var Emphasis = require('./Emphasis-BCEQIcPM.js');
|
|
6
|
+
var Heading = require('./Heading-D7gQixO4.js');
|
|
7
|
+
var Content = require('./Content-Cr6JludB.js');
|
|
8
|
+
var index$3 = require('./index-C_psg3TY.js');
|
|
9
|
+
var _commonjsHelpers = require('./_commonjsHelpers-5Yg_AaFG.js');
|
|
10
|
+
var _polyfillNode_process = require('./_polyfill-node.process-CqlHmauv.js');
|
|
11
11
|
|
|
12
12
|
const protocols = ['http', 'https', 'mailto', 'tel'];
|
|
13
13
|
|
package/dist/Menu/Menu.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface SectionProps {
|
|
|
18
18
|
/**
|
|
19
19
|
* List of actions.
|
|
20
20
|
*/
|
|
21
|
-
actions: ActionProps[];
|
|
21
|
+
actions: Omit<ActionProps, "shouldFocus">[];
|
|
22
22
|
}
|
|
23
23
|
export declare function Menu({ activator, items }: MenuProps): JSX.Element;
|
|
24
24
|
export interface ActionProps {
|
|
@@ -38,4 +38,8 @@ export interface ActionProps {
|
|
|
38
38
|
* Callback when an action gets clicked
|
|
39
39
|
*/
|
|
40
40
|
onClick?(event: React.MouseEvent<HTMLButtonElement>): void;
|
|
41
|
+
/**
|
|
42
|
+
* Focus on the action when rendered
|
|
43
|
+
*/
|
|
44
|
+
readonly shouldFocus?: boolean;
|
|
41
45
|
}
|
package/dist/Menu/index.cjs
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Menu = require('../Menu-
|
|
3
|
+
var Menu = require('../Menu-C63uf-lH.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('framer-motion');
|
|
7
|
-
require('../useOnKeyDown-
|
|
8
|
-
require('../useRefocusOnActivator-
|
|
9
|
-
require('
|
|
10
|
-
require('../
|
|
11
|
-
require('../useSafeLayoutEffect-B7vOLihu.js');
|
|
12
|
-
require('react-dom');
|
|
13
|
-
require('../useFocusTrap-H2XPPjdI.js');
|
|
14
|
-
require('../Button-6RQMB0Jy.js');
|
|
7
|
+
require('../useOnKeyDown-BlPq-UwE.js');
|
|
8
|
+
require('../useRefocusOnActivator-rU0-yx0l.js');
|
|
9
|
+
require('../useSafeLayoutEffect-DMKM7hqj.js');
|
|
10
|
+
require('../Button-DEy32I1f.js');
|
|
15
11
|
require('react-router-dom');
|
|
16
|
-
require('../Icon-
|
|
12
|
+
require('../Icon-BwbU3Xex.js');
|
|
17
13
|
require('@jobber/design');
|
|
18
|
-
require('../Typography-
|
|
19
|
-
require('../useFormFieldFocus-C3wB3RnM.js');
|
|
14
|
+
require('../Typography-Ti-xsh7u.js');
|
|
20
15
|
|
|
21
16
|
|
|
22
17
|
|
package/dist/Menu/index.mjs
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
export { M as Menu } from '../Menu-
|
|
1
|
+
export { M as Menu } from '../Menu-dPKrLS1i.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'framer-motion';
|
|
5
|
-
import '../useOnKeyDown-
|
|
6
|
-
import '../useRefocusOnActivator-
|
|
7
|
-
import '
|
|
8
|
-
import '../
|
|
9
|
-
import '../useSafeLayoutEffect-B7CfKyFz.js';
|
|
10
|
-
import 'react-dom';
|
|
11
|
-
import '../useFocusTrap-DrwNSBFK.js';
|
|
12
|
-
import '../Button-17M2X-lD.js';
|
|
5
|
+
import '../useOnKeyDown-B-Sr7XiC.js';
|
|
6
|
+
import '../useRefocusOnActivator-BmX7GyT4.js';
|
|
7
|
+
import '../useSafeLayoutEffect-CRX3bAXG.js';
|
|
8
|
+
import '../Button-BoSOuDKT.js';
|
|
13
9
|
import 'react-router-dom';
|
|
14
|
-
import '../Icon-
|
|
10
|
+
import '../Icon-DkyzUz1Y.js';
|
|
15
11
|
import '@jobber/design';
|
|
16
|
-
import '../Typography-
|
|
17
|
-
import '../useFormFieldFocus-DVOtVzuv.js';
|
|
12
|
+
import '../Typography-F7MGOkIu.js';
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var classnames = require('classnames');
|
|
5
|
+
var framerMotion = require('framer-motion');
|
|
6
|
+
var useOnKeyDown = require('./useOnKeyDown-BlPq-UwE.js');
|
|
7
|
+
var useRefocusOnActivator = require('./useRefocusOnActivator-rU0-yx0l.js');
|
|
8
|
+
var useSafeLayoutEffect = require('./useSafeLayoutEffect-DMKM7hqj.js');
|
|
9
|
+
var Button = require('./Button-DEy32I1f.js');
|
|
10
|
+
var Typography = require('./Typography-Ti-xsh7u.js');
|
|
11
|
+
var Icon = require('./Icon-BwbU3Xex.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;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import React, { useState, createRef, useId, useRef, useEffect } from 'react';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
|
+
import { u as useOnKeyDown_2 } from './useOnKeyDown-B-Sr7XiC.js';
|
|
5
|
+
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-BmX7GyT4.js';
|
|
6
|
+
import { u as useSafeLayoutEffect_1 } from './useSafeLayoutEffect-CRX3bAXG.js';
|
|
7
|
+
import { B as Button } from './Button-BoSOuDKT.js';
|
|
8
|
+
import { T as Typography } from './Typography-F7MGOkIu.js';
|
|
9
|
+
import { I as Icon } from './Icon-DkyzUz1Y.js';
|
|
10
|
+
|
|
11
|
+
var styles = {"wrapper":"dT6M9tp1sZc-","menu":"Qmxlsj0D3qM-","above":"QTisUfiHwL4-","below":"qsch1dlpOHc-","left":"_0xR9-oxWMOU-","right":"gaZwsdyoG0k-","section":"LaKFjYCLHZc-","sectionHeader":"_7HB7dWnqCi0-","action":"ZuceCiefKqw-","overlay":"eKnUAucwwWU-","fullWidth":"oaxefr58z-E-","screenReaderOnly":"vz9opIdwHFg-"};
|
|
12
|
+
|
|
13
|
+
const variation = {
|
|
14
|
+
overlayStartStop: { opacity: 0 },
|
|
15
|
+
startOrStop: (position) => {
|
|
16
|
+
let y = 10;
|
|
17
|
+
if (position === "below")
|
|
18
|
+
y *= -1;
|
|
19
|
+
if (window.innerWidth < 640)
|
|
20
|
+
y = 150;
|
|
21
|
+
return { opacity: 0, y };
|
|
22
|
+
},
|
|
23
|
+
done: { opacity: 1, y: 0 },
|
|
24
|
+
};
|
|
25
|
+
// eslint-disable-next-line max-statements
|
|
26
|
+
function Menu({ activator, items }) {
|
|
27
|
+
var _a;
|
|
28
|
+
const [visible, setVisible] = useState(false);
|
|
29
|
+
const fullWidth = ((_a = activator === null || activator === void 0 ? void 0 : activator.props) === null || _a === void 0 ? void 0 : _a.fullWidth) || false;
|
|
30
|
+
const [position, setPosition] = useState({
|
|
31
|
+
vertical: "below",
|
|
32
|
+
horizontal: "right",
|
|
33
|
+
});
|
|
34
|
+
const wrapperRef = createRef();
|
|
35
|
+
const buttonID = useId();
|
|
36
|
+
const menuID = useId();
|
|
37
|
+
useOnKeyDown_2(handleKeyboardShortcut, ["Escape"]);
|
|
38
|
+
useSafeLayoutEffect_1(() => {
|
|
39
|
+
if (wrapperRef.current) {
|
|
40
|
+
const bounds = wrapperRef.current.getBoundingClientRect();
|
|
41
|
+
const newPosition = Object.assign({}, position);
|
|
42
|
+
if (bounds.top <= window.innerHeight / 2) {
|
|
43
|
+
newPosition.vertical = "below";
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
newPosition.vertical = "above";
|
|
47
|
+
}
|
|
48
|
+
if (bounds.left <= window.innerWidth / 2) {
|
|
49
|
+
newPosition.horizontal = "right";
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
newPosition.horizontal = "left";
|
|
53
|
+
}
|
|
54
|
+
setPosition(newPosition);
|
|
55
|
+
}
|
|
56
|
+
}, [visible, fullWidth]);
|
|
57
|
+
useRefocusOnActivator_2(visible);
|
|
58
|
+
if (!activator) {
|
|
59
|
+
activator = (React.createElement(Button, { fullWidth: true, label: "More Actions", icon: "more", type: "secondary" }));
|
|
60
|
+
}
|
|
61
|
+
const menuClasses = classnames(styles.menu, position.vertical === "above" && styles.above, position.vertical === "below" && styles.below, position.horizontal === "left" && styles.left, position.horizontal === "right" && styles.right);
|
|
62
|
+
const wrapperClasses = classnames(styles.wrapper, {
|
|
63
|
+
[styles.fullWidth]: fullWidth,
|
|
64
|
+
});
|
|
65
|
+
return (React.createElement("div", { className: wrapperClasses, ref: wrapperRef, onClick: handleParentClick },
|
|
66
|
+
React.cloneElement(activator, {
|
|
67
|
+
onClick: toggle(activator.props.onClick),
|
|
68
|
+
id: buttonID,
|
|
69
|
+
ariaControls: menuID,
|
|
70
|
+
ariaExpanded: visible,
|
|
71
|
+
ariaHaspopup: true,
|
|
72
|
+
}),
|
|
73
|
+
React.createElement(AnimatePresence, null, visible && (React.createElement(React.Fragment, null,
|
|
74
|
+
React.createElement(motion.div, { className: styles.overlay, onClick: toggle(), variants: variation, initial: "overlayStartStop", animate: "done", exit: "overlayStartStop", transition: {
|
|
75
|
+
type: "tween",
|
|
76
|
+
duration: 0.15,
|
|
77
|
+
} }),
|
|
78
|
+
React.createElement(motion.div, { className: menuClasses, role: "menu", "aria-labelledby": buttonID, id: menuID, onClick: hide, variants: variation, initial: "startOrStop", animate: "done", exit: "startOrStop", custom: position, transition: {
|
|
79
|
+
type: "tween",
|
|
80
|
+
duration: 0.25,
|
|
81
|
+
} }, items.map((item, key) => (React.createElement("div", { key: key, className: styles.section },
|
|
82
|
+
item.header && React.createElement(SectionHeader, { text: item.header }),
|
|
83
|
+
item.actions.map((action, index) => (React.createElement(Action, Object.assign({ sectionLabel: item.header, key: action.label, shouldFocus: key === 0 && index === 0 }, action)))))))))))));
|
|
84
|
+
function toggle(callbackPassthrough) {
|
|
85
|
+
return (event) => {
|
|
86
|
+
setVisible(!visible);
|
|
87
|
+
callbackPassthrough && callbackPassthrough(event);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function hide() {
|
|
91
|
+
setVisible(false);
|
|
92
|
+
}
|
|
93
|
+
function handleKeyboardShortcut(event) {
|
|
94
|
+
const { key } = event;
|
|
95
|
+
if (!visible)
|
|
96
|
+
return;
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
event.stopPropagation();
|
|
99
|
+
key === "Escape" && hide();
|
|
100
|
+
}
|
|
101
|
+
function handleParentClick(event) {
|
|
102
|
+
// Since the menu is being rendered within the same parent as the activator,
|
|
103
|
+
// we need to stop the click event from bubbling up. If the Menu component
|
|
104
|
+
// gets added within a parent that has a click handler, any click on the
|
|
105
|
+
// menu will trigger the parent's click handler.
|
|
106
|
+
event.stopPropagation();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function SectionHeader({ text }) {
|
|
110
|
+
return (React.createElement("div", { className: styles.sectionHeader, "aria-hidden": true },
|
|
111
|
+
React.createElement(Typography, { element: "h6", size: "base", textColor: "textSecondary", fontWeight: "regular", textCase: "none" }, text)));
|
|
112
|
+
}
|
|
113
|
+
function Action({ label, sectionLabel, icon, onClick, shouldFocus = false, }) {
|
|
114
|
+
const actionButtonRef = useRef();
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
if (shouldFocus) {
|
|
117
|
+
// Focus on the next tick to allow useRefocusOnActivator to initialize
|
|
118
|
+
setTimeout(() => { var _a; return (_a = actionButtonRef.current) === null || _a === void 0 ? void 0 : _a.focus(); }, 0);
|
|
119
|
+
}
|
|
120
|
+
}, [shouldFocus]);
|
|
121
|
+
return (React.createElement("button", { role: "menuitem", type: "button", className: styles.action, key: label, onClick: onClick, ref: actionButtonRef },
|
|
122
|
+
icon && React.createElement(Icon, { name: icon }),
|
|
123
|
+
React.createElement(Typography, { element: "span", fontWeight: "semiBold", textColor: "textSecondary" },
|
|
124
|
+
sectionLabel && (React.createElement("span", { className: styles.screenReaderOnly }, sectionLabel)),
|
|
125
|
+
label)));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export { Menu as M };
|
package/dist/Modal/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Modal = require('../Modal-
|
|
3
|
+
var Modal = require('../Modal-CSblA8Hf.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('react-dom');
|
|
6
6
|
require('classnames');
|
|
7
7
|
require('framer-motion');
|
|
8
|
-
require('../useRefocusOnActivator-
|
|
9
|
-
require('../useOnKeyDown-
|
|
10
|
-
require('../useFocusTrap-
|
|
11
|
-
require('../Heading-
|
|
12
|
-
require('../Typography-
|
|
13
|
-
require('../Button-
|
|
8
|
+
require('../useRefocusOnActivator-rU0-yx0l.js');
|
|
9
|
+
require('../useOnKeyDown-BlPq-UwE.js');
|
|
10
|
+
require('../useFocusTrap-D4qDUC4R.js');
|
|
11
|
+
require('../Heading-D7gQixO4.js');
|
|
12
|
+
require('../Typography-Ti-xsh7u.js');
|
|
13
|
+
require('../Button-DEy32I1f.js');
|
|
14
14
|
require('react-router-dom');
|
|
15
|
-
require('../Icon-
|
|
15
|
+
require('../Icon-BwbU3Xex.js');
|
|
16
16
|
require('@jobber/design');
|
|
17
|
-
require('../ButtonDismiss-
|
|
17
|
+
require('../ButtonDismiss-DnRyTH78.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
package/dist/Modal/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { M as Modal } from '../Modal-
|
|
1
|
+
export { M as Modal } from '../Modal-CJEa9xPK.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import 'framer-motion';
|
|
6
|
-
import '../useRefocusOnActivator-
|
|
7
|
-
import '../useOnKeyDown-
|
|
8
|
-
import '../useFocusTrap-
|
|
9
|
-
import '../Heading-
|
|
10
|
-
import '../Typography-
|
|
11
|
-
import '../Button-
|
|
6
|
+
import '../useRefocusOnActivator-BmX7GyT4.js';
|
|
7
|
+
import '../useOnKeyDown-B-Sr7XiC.js';
|
|
8
|
+
import '../useFocusTrap-DQN4M6J5.js';
|
|
9
|
+
import '../Heading-C_xhFoMo.js';
|
|
10
|
+
import '../Typography-F7MGOkIu.js';
|
|
11
|
+
import '../Button-BoSOuDKT.js';
|
|
12
12
|
import 'react-router-dom';
|
|
13
|
-
import '../Icon-
|
|
13
|
+
import '../Icon-DkyzUz1Y.js';
|
|
14
14
|
import '@jobber/design';
|
|
15
|
-
import '../ButtonDismiss-
|
|
15
|
+
import '../ButtonDismiss-iz6LRnYT.js';
|
|
@@ -2,12 +2,12 @@ import React from 'react';
|
|
|
2
2
|
import ReactDOM from 'react-dom';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
5
|
-
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-
|
|
6
|
-
import { u as useOnKeyDown_2 } from './useOnKeyDown-
|
|
7
|
-
import { u as useFocusTrap_2 } from './useFocusTrap-
|
|
8
|
-
import { H as Heading } from './Heading-
|
|
9
|
-
import { B as Button } from './Button-
|
|
10
|
-
import { B as ButtonDismiss } from './ButtonDismiss-
|
|
5
|
+
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-BmX7GyT4.js';
|
|
6
|
+
import { u as useOnKeyDown_2 } from './useOnKeyDown-B-Sr7XiC.js';
|
|
7
|
+
import { u as useFocusTrap_2 } from './useFocusTrap-DQN4M6J5.js';
|
|
8
|
+
import { H as Heading } from './Heading-C_xhFoMo.js';
|
|
9
|
+
import { B as Button } from './Button-BoSOuDKT.js';
|
|
10
|
+
import { B as ButtonDismiss } from './ButtonDismiss-iz6LRnYT.js';
|
|
11
11
|
|
|
12
12
|
var styles = {"container":"QGRLFHPoV5E-","overlay":"_4WzGOMUGj5I-","modal":"WLId2NJBQcQ-","header":"wjrPpIUNNrk-","closeButton":"rKvigUnOyYE-","actionBar":"_62c8HLZFwvs-","leftAction":"Xl1Ptn-P9Ew-","rightAction":"p2s7GtpoZz0-"};
|
|
13
13
|
|
|
@@ -4,12 +4,12 @@ var React = require('react');
|
|
|
4
4
|
var ReactDOM = require('react-dom');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
|
-
var useRefocusOnActivator = require('./useRefocusOnActivator-
|
|
8
|
-
var useOnKeyDown = require('./useOnKeyDown-
|
|
9
|
-
var useFocusTrap = require('./useFocusTrap-
|
|
10
|
-
var Heading = require('./Heading-
|
|
11
|
-
var Button = require('./Button-
|
|
12
|
-
var ButtonDismiss = require('./ButtonDismiss-
|
|
7
|
+
var useRefocusOnActivator = require('./useRefocusOnActivator-rU0-yx0l.js');
|
|
8
|
+
var useOnKeyDown = require('./useOnKeyDown-BlPq-UwE.js');
|
|
9
|
+
var useFocusTrap = require('./useFocusTrap-D4qDUC4R.js');
|
|
10
|
+
var Heading = require('./Heading-D7gQixO4.js');
|
|
11
|
+
var Button = require('./Button-DEy32I1f.js');
|
|
12
|
+
var ButtonDismiss = require('./ButtonDismiss-DnRyTH78.js');
|
|
13
13
|
|
|
14
14
|
var styles = {"container":"QGRLFHPoV5E-","overlay":"_4WzGOMUGj5I-","modal":"WLId2NJBQcQ-","header":"wjrPpIUNNrk-","closeButton":"rKvigUnOyYE-","actionBar":"_62c8HLZFwvs-","leftAction":"Xl1Ptn-P9Ew-","rightAction":"p2s7GtpoZz0-"};
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var MultiSelect = require('../MultiSelect-
|
|
3
|
+
var MultiSelect = require('../MultiSelect-DUkTn-Su.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../Checkbox-
|
|
7
|
-
require('../tslib.es6-
|
|
6
|
+
require('../Checkbox-s9xBPgKs.js');
|
|
7
|
+
require('../tslib.es6-CnrqB3EW.js');
|
|
8
8
|
require('react-hook-form');
|
|
9
|
-
require('../Icon-
|
|
9
|
+
require('../Icon-BwbU3Xex.js');
|
|
10
10
|
require('@jobber/design');
|
|
11
|
-
require('../Text-
|
|
12
|
-
require('../Typography-
|
|
11
|
+
require('../Text-B495lyWc.js');
|
|
12
|
+
require('../Typography-Ti-xsh7u.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { M as MultiSelect } from '../MultiSelect-
|
|
1
|
+
export { M as MultiSelect } from '../MultiSelect-B2Jm544v.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../Checkbox-
|
|
5
|
-
import '../tslib.es6-
|
|
4
|
+
import '../Checkbox-Dpgfo-gP.js';
|
|
5
|
+
import '../tslib.es6-CXrkZJC0.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
|
-
import '../Icon-
|
|
7
|
+
import '../Icon-DkyzUz1Y.js';
|
|
8
8
|
import '@jobber/design';
|
|
9
|
-
import '../Text-
|
|
10
|
-
import '../Typography-
|
|
9
|
+
import '../Text-Bruk84IX.js';
|
|
10
|
+
import '../Typography-F7MGOkIu.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { useState, useRef, useCallback, useEffect } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { C as Checkbox } from './Checkbox-
|
|
4
|
-
import { T as Text } from './Text-
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
3
|
+
import { C as Checkbox } from './Checkbox-Dpgfo-gP.js';
|
|
4
|
+
import { T as Text } from './Text-Bruk84IX.js';
|
|
5
|
+
import { I as Icon } from './Icon-DkyzUz1Y.js';
|
|
6
6
|
|
|
7
7
|
var styles$1 = {"multiSelectContainer":"D-J03az6XL4-","multiSelect":"EzNdHgwsT40-","active":"bu7HWKRu6HI-","small":"eQ6yfQg6zLc-","large":"pM-ts4-QMZY-"};
|
|
8
8
|
|