@jobber/components 5.4.0 → 5.4.1
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-CQiy12dM.js → AnimatedSwitcher-BQk21Mx1.js} +1 -1
- package/dist/{AnimatedSwitcher-AQKjzyNN.js → AnimatedSwitcher-C06zStKo.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/Autocomplete/index.cjs +19 -18
- package/dist/Autocomplete/index.mjs +19 -18
- package/dist/{Autocomplete-BY_95NjS.js → Autocomplete-CkagTyRM.js} +9 -9
- package/dist/{Autocomplete-BYsytive.js → Autocomplete-nt_wbJ_f.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-CHlhJIAt.js → Avatar-BUctuTyn.js} +1 -1
- package/dist/{Avatar-B7xMJUpU.js → Avatar-kODeIzA3.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-C2m8ox4h.js → Banner-B2TbZmm_.js} +5 -5
- package/dist/{Banner-iA8SzsVp.js → Banner-D8ofqo6-.js} +5 -5
- package/dist/{BannerIcon-BXo-tI3B.js → BannerIcon-5W1vdrzM.js} +1 -1
- package/dist/{BannerIcon-Ci6wiygf.js → BannerIcon-C6Vh1_8c.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-DLrOpvFH.js → Button-CcUCisoB.js} +2 -2
- package/dist/{Button-fuv4ZYZo.js → Button-DYxeLbDP.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-D8fkpFOq.js → ButtonDismiss-BG1Waj3q.js} +1 -1
- package/dist/{ButtonDismiss-Ck8HYgBC.js → ButtonDismiss-Slx87Ng8.js} +1 -1
- package/dist/Card/index.cjs +14 -9
- package/dist/Card/index.mjs +14 -9
- package/dist/{Card-BFWpbQBC.js → Card-HcBqd5bl.js} +3 -3
- package/dist/{Card-PrU_-J0C.js → Card-qRdHT4it.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-DbSTBqCY.js → Checkbox-BmIxzwJy.js} +3 -3
- package/dist/{Checkbox-BYPCFLdz.js → Checkbox-pBj01wYu.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-Cebj32WI.js → Chip-BJcGRql9.js} +6 -6
- package/dist/{Chip-D-hJ5GZ5.js → Chip-CwyPp2kT.js} +6 -6
- package/dist/{ChipDismissible-DBIMzKKu.js → ChipDismissible-BPg1PGo7.js} +3 -3
- package/dist/{ChipDismissible-CbHWm-mc.js → ChipDismissible-BQbi1L1R.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-CVDUhuFn.js → Chips-B5dBPw_v.js} +2 -2
- package/dist/{Chips-WXxtsW0O.js → Chips-DrZX9GTo.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-BOwRgGcW.js → Combobox-6onsA50F.js} +9 -9
- package/dist/{Combobox-CdGpq_Sy.js → Combobox-BbymHKTR.js} +9 -9
- package/dist/{ComboboxAction-Db-8DqUy.js → ComboboxAction-CduUot_a.js} +2 -2
- package/dist/{ComboboxAction-BprTOBGT.js → ComboboxAction-DMd5mAk3.js} +2 -2
- package/dist/{ComboboxActivator-Clq4USCA.js → ComboboxActivator-CL6BxucI.js} +4 -4
- package/dist/{ComboboxActivator-CeqBVPBg.js → ComboboxActivator-pHoLvGwH.js} +4 -4
- package/dist/{ComboboxContent-Blt40OOt.js → ComboboxContent-Bc0W_Cla.js} +7 -7
- package/dist/{ComboboxContent-snGQYbX1.js → ComboboxContent-DaZ-XI6w.js} +7 -7
- package/dist/{ComboboxContentHeader-VJamo88Q.js → ComboboxContentHeader-CJmGa_Ti.js} +2 -2
- package/dist/{ComboboxContentHeader-BVMzC1Qw.js → ComboboxContentHeader-DKe27GUG.js} +2 -2
- package/dist/{ComboboxContentList-27ItlKdJ.js → ComboboxContentList-Bwb2nb9B.js} +6 -6
- package/dist/{ComboboxContentList-wOKXi8l8.js → ComboboxContentList-_42unXYX.js} +6 -6
- package/dist/{ComboboxContentSearch-CK9tNvlG.js → ComboboxContentSearch-CP5LE4sk.js} +1 -1
- package/dist/{ComboboxContentSearch-MXV3CnLR.js → ComboboxContentSearch-D_9CLX17.js} +1 -1
- package/dist/{ComboboxLoadMore-0-pc93S3.js → ComboboxLoadMore-C-z9Xfev.js} +1 -1
- package/dist/{ComboboxLoadMore-DZRUq28Y.js → ComboboxLoadMore-Dm95yCd7.js} +1 -1
- package/dist/{ComboboxOption-fpVAtCwZ.js → ComboboxOption-BoLCcplT.js} +3 -3
- package/dist/{ComboboxOption-BH8TmjH7.js → ComboboxOption-LANkFoQZ.js} +3 -3
- package/dist/{ComboboxProvider-DV8xsOPj.js → ComboboxProvider-Cd2SKUt0.js} +1 -1
- package/dist/{ComboboxProvider-BTzmZZb6.js → ComboboxProvider-DCNIrWaj.js} +1 -1
- package/dist/{ComboboxTrigger-CqNIoJtx.js → ComboboxTrigger-3RPDo_Y3.js} +4 -4
- package/dist/{ComboboxTrigger-4nmOpgBh.js → ComboboxTrigger-D6UprKRw.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-BSbHHHJ7.js → ConfirmationModal-098r-9nd.js} +4 -4
- package/dist/{ConfirmationModal-BQgMj-hR.js → ConfirmationModal-D_vaLXA2.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-BmzfIlY8.js → Countdown-6_kuvtUK.js} +1 -1
- package/dist/{Countdown-BXPmapK8.js → Countdown-DhVnIU6I.js} +1 -1
- package/dist/DataDump/index.cjs +17 -12
- package/dist/DataDump/index.mjs +17 -12
- package/dist/{DataDump-D8lDqUV5.js → DataDump-8avC5l3_.js} +3 -3
- package/dist/{DataDump-Be46B4ww.js → DataDump-BKBwR0LA.js} +3 -3
- package/dist/DataList/components/DataListAction/index.cjs +4 -4
- package/dist/DataList/components/DataListAction/index.mjs +4 -4
- package/dist/DataList/components/DataListActions/index.cjs +29 -29
- package/dist/DataList/components/DataListActions/index.mjs +29 -29
- package/dist/DataList/components/DataListActionsMenu/index.cjs +7 -7
- package/dist/DataList/components/DataListActionsMenu/index.mjs +7 -7
- package/dist/DataList/components/DataListBulkActions/index.cjs +31 -31
- package/dist/DataList/components/DataListBulkActions/index.mjs +31 -31
- package/dist/DataList/components/DataListEmptyState/index.cjs +9 -9
- package/dist/DataList/components/DataListEmptyState/index.mjs +9 -9
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +40 -40
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +40 -40
- package/dist/DataList/components/DataListFilters/index.cjs +52 -52
- package/dist/DataList/components/DataListFilters/index.mjs +52 -52
- package/dist/DataList/components/DataListHeader/index.cjs +38 -38
- package/dist/DataList/components/DataListHeader/index.mjs +38 -38
- package/dist/DataList/components/DataListHeaderTile/components/index.cjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/components/index.mjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/index.cjs +11 -11
- package/dist/DataList/components/DataListHeaderTile/index.mjs +11 -11
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +6 -6
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +6 -6
- package/dist/DataList/components/DataListItem/index.cjs +37 -37
- package/dist/DataList/components/DataListItem/index.mjs +37 -37
- package/dist/DataList/components/DataListItemActions/index.cjs +30 -30
- package/dist/DataList/components/DataListItemActions/index.mjs +30 -30
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +12 -12
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +12 -12
- package/dist/DataList/components/DataListItems/index.cjs +38 -38
- package/dist/DataList/components/DataListItems/index.mjs +38 -38
- package/dist/DataList/components/DataListLayout/index.cjs +41 -41
- package/dist/DataList/components/DataListLayout/index.mjs +41 -41
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/index.cjs +20 -20
- package/dist/DataList/components/DataListLayoutActions/index.mjs +20 -20
- package/dist/DataList/components/DataListLoadMore/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadMore/index.mjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.mjs +10 -10
- package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
- package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
- package/dist/DataList/components/DataListSearch/index.cjs +20 -19
- package/dist/DataList/components/DataListSearch/index.mjs +20 -19
- package/dist/DataList/components/DataListStatusBar/index.cjs +20 -20
- package/dist/DataList/components/DataListStatusBar/index.mjs +20 -20
- package/dist/DataList/components/DataListStickyHeader/index.cjs +2 -2
- package/dist/DataList/components/DataListStickyHeader/index.mjs +2 -2
- package/dist/DataList/components/DataListTags/index.cjs +4 -4
- package/dist/DataList/components/DataListTags/index.mjs +4 -4
- package/dist/DataList/components/DataListTotalCount/index.cjs +6 -6
- package/dist/DataList/components/DataListTotalCount/index.mjs +6 -6
- package/dist/DataList/context/DataListContext/index.cjs +3 -3
- package/dist/DataList/context/DataListContext/index.mjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.cjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.mjs +3 -3
- package/dist/DataList/index.cjs +83 -82
- package/dist/DataList/index.mjs +83 -82
- package/dist/{DataList-CQy3wOa0.js → DataList-CkK4g5ax.js} +21 -21
- package/dist/{DataList-Bw3G9D3o.js → DataList-D9hbZRBY.js} +21 -21
- package/dist/{DataList.utils-nG1S6X4y.js → DataList.utils-B1aHk56k.js} +8 -8
- package/dist/{DataList.utils-BVx7_Lcx.js → DataList.utils-CHyPQuOO.js} +8 -8
- package/dist/{DataListAction-BljzhiMj.js → DataListAction-BRg30UUL.js} +3 -3
- package/dist/{DataListAction-BiBpeIuZ.js → DataListAction-BSEwmLEZ.js} +3 -3
- package/dist/{DataListActions-gcC5PolM.js → DataListActions-B218QAfG.js} +6 -6
- package/dist/{DataListActions-_b6CxtmJ.js → DataListActions-DBL8zisY.js} +6 -6
- package/dist/{DataListActionsMenu-DcJD5EhB.js → DataListActionsMenu-CuqeO8zI.js} +5 -5
- package/dist/{DataListActionsMenu-tSK1qI3b.js → DataListActionsMenu-Dox3LuPW.js} +5 -5
- package/dist/{DataListBulkActions-CX1TALD-.js → DataListBulkActions-BZywbVs4.js} +3 -3
- package/dist/{DataListBulkActions-mLdRJVMW.js → DataListBulkActions-D3S3DU-K.js} +3 -3
- package/dist/{DataListContext-D2URYpb7.js → DataListContext-DqC9evnz.js} +1 -1
- package/dist/{DataListContext-Cs3vwPfq.js → DataListContext-Dqx3K0VG.js} +1 -1
- package/dist/{DataListEmptyState-BRkH1OFL.js → DataListEmptyState-DxGP0S0f.js} +4 -4
- package/dist/{DataListEmptyState-DOMuNKG2.js → DataListEmptyState-opAK_CJ6.js} +4 -4
- package/dist/{DataListFilters-D8xEin_x.js → DataListFilters-C9q-XiJ9.js} +5 -5
- package/dist/{DataListFilters-BB6R3OCY.js → DataListFilters-CGLW2Ptd.js} +5 -5
- package/dist/{DataListHeader-M90y-eJR.js → DataListHeader-BNL0fNTe.js} +11 -11
- package/dist/{DataListHeader-Be3cUXFl.js → DataListHeader-DAeJu2wf.js} +11 -11
- package/dist/{DataListHeaderTile-badFYmj_.js → DataListHeaderTile-6R7wIcmW.js} +5 -5
- package/dist/{DataListHeaderTile-BJar4RtK.js → DataListHeaderTile-BgF0_tKD.js} +5 -5
- package/dist/{DataListItem-BAYmo5WL.js → DataListItem-CECtcG6b.js} +10 -10
- package/dist/{DataListItem-BScF7cgU.js → DataListItem-DyxkgNzo.js} +10 -10
- package/dist/{DataListItemActions-Clf9J84t.js → DataListItemActions-BI7V1ua5.js} +2 -2
- package/dist/{DataListItemActions-C2HwJYpq.js → DataListItemActions-CLS52U-6.js} +2 -2
- package/dist/{DataListItemActionsOverflow-BpRufnbl.js → DataListItemActionsOverflow-DlykDvwS.js} +3 -3
- package/dist/{DataListItemActionsOverflow-65s5Gr-y.js → DataListItemActionsOverflow-WrTVbYS6.js} +3 -3
- package/dist/{DataListItemClickable-DNj0Nog3.js → DataListItemClickable-15JzP0EK.js} +3 -3
- package/dist/{DataListItemClickable-DTqM_2n1.js → DataListItemClickable-C3nqv2nH.js} +3 -3
- package/dist/{DataListItems-BtDbDRyN.js → DataListItems-9QTR0qra.js} +3 -3
- package/dist/{DataListItems-NjC5RxGP.js → DataListItems-D8vOuil5.js} +3 -3
- package/dist/{DataListLayout-B9n1M5sZ.js → DataListLayout-BKn7LeYM.js} +3 -3
- package/dist/{DataListLayout-DK1hImna.js → DataListLayout-BSW_6y5q.js} +3 -3
- package/dist/{DataListLayoutActions-C2pPfr-F.js → DataListLayoutActions-BKh7TaTm.js} +4 -4
- package/dist/{DataListLayoutActions-BqCWFCU_.js → DataListLayoutActions-DLnTxmLv.js} +4 -4
- package/dist/{DataListLayoutContext-BPGSP7_e.js → DataListLayoutContext-3NnPV11m.js} +1 -1
- package/dist/{DataListLayoutContext-DLWmPxDS.js → DataListLayoutContext-Cr0mKZSq.js} +1 -1
- package/dist/{DataListLoadMore-BFbn3ASs.js → DataListLoadMore-CspO0Cvf.js} +5 -5
- package/dist/{DataListLoadMore-CgVm8pAr.js → DataListLoadMore-DrmDkzVx.js} +5 -5
- package/dist/{DataListLoadingState-CFG2d9Ot.js → DataListLoadingState-7zlAccyV.js} +3 -3
- package/dist/{DataListLoadingState-ChsSjN-3.js → DataListLoadingState-D8CSCXDX.js} +3 -3
- package/dist/{DataListOverflowFade-DQ3W8Hr8.js → DataListOverflowFade-CBsKxqpP.js} +1 -1
- package/dist/{DataListOverflowFade-BkCXz7UZ.js → DataListOverflowFade-pDtPfsGC.js} +1 -1
- package/dist/{DataListSearch-C5iALlVl.js → DataListSearch-BVOu55Ej.js} +6 -6
- package/dist/{DataListSearch-lu1JEr-y.js → DataListSearch-DLcP8oas.js} +6 -6
- package/dist/{DataListSort-DGo6_TWP.js → DataListSort-DoElcY_I.js} +6 -6
- package/dist/{DataListSort-BTtMUHcb.js → DataListSort-NZA0LfLQ.js} +6 -6
- package/dist/{DataListSortingOptions-Bb-J-sqS.js → DataListSortingOptions-BWmGrWho.js} +3 -3
- package/dist/{DataListSortingOptions-DtnzyMIl.js → DataListSortingOptions-DGiDYBjD.js} +3 -3
- package/dist/{DataListStatusBar-F0ioP09G.js → DataListStatusBar-BSGO3sDQ.js} +2 -2
- package/dist/{DataListStatusBar-Zopiw30R.js → DataListStatusBar-DUi4VOah.js} +2 -2
- package/dist/{DataListStickyHeader-B96CzIsy.js → DataListStickyHeader-UmpvXoPJ.js} +1 -1
- package/dist/{DataListStickyHeader-B02mHzrs.js → DataListStickyHeader-y2XMi49S.js} +1 -1
- package/dist/{DataListTags-DbmwlqS0.js → DataListTags-DmJD1gmL.js} +2 -2
- package/dist/{DataListTags-BewyjkEy.js → DataListTags-cfCfW6Wb.js} +2 -2
- package/dist/{DataListTotalCount-g_prDNCX.js → DataListTotalCount-BzApF3dE.js} +2 -2
- package/dist/{DataListTotalCount-CgY1MD6W.js → DataListTotalCount-FqEKm84k.js} +2 -2
- package/dist/DataTable/index.cjs +19 -18
- package/dist/DataTable/index.mjs +19 -18
- package/dist/DataTable/test-utilities/index.cjs +6 -6
- package/dist/DataTable/test-utilities/index.mjs +6 -6
- package/dist/{DataTable-BNQNIKOz.js → DataTable-BmSHcM2X.js} +6 -6
- package/dist/{DataTable-Be8Godh-.js → DataTable-DCDON1kb.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-BZhWG8Ix.js → DatePicker-COwqkbUH.js} +11 -11
- package/dist/{DatePicker-B2jy5amU.js → DatePicker-Rj2Cvbff.js} +11 -11
- package/dist/{DayOfMonthSelect-DXld8Rde.js → DayOfMonthSelect-5AOjKjWR.js} +2 -2
- package/dist/{DayOfMonthSelect-DzBhHdnt.js → DayOfMonthSelect-AXr9-NYO.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-B5e581QD.js → DescriptionList-Ca9xro37.js} +1 -1
- package/dist/{DescriptionList-alE0_dsC.js → DescriptionList-Cn1K-3zb.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-DYB4x1a3.js → Disclosure-B-0mGLWv.js} +3 -3
- package/dist/{Disclosure-D6jShQT8.js → Disclosure-DU-xSbuR.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-DbyT8Cqg.js → DrawerGrid-BGuMyClP.js} +2 -2
- package/dist/{DrawerGrid-dL6xo0ed.js → DrawerGrid-BRA9WZLS.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-DpIGjHJ2.js → Emphasis-BLl8oytx.js} +1 -1
- package/dist/{Emphasis-B6YyKnCg.js → Emphasis-BdK8qXl1.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-CIBJfCAe.js → FeatureSwitch-BVngmaxd.js} +7 -7
- package/dist/{FeatureSwitch-Cpiu6khA.js → FeatureSwitch-DGP0XHTO.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-zRzmqSXS.js → Form-CbJS9ASz.js} +1 -1
- package/dist/{Form-DH70sQKZ.js → Form-PWzwAMLp.js} +1 -1
- package/dist/FormField/hooks/useActiveElement.d.ts +1 -0
- package/dist/FormField/hooks/useFormFieldFocus.d.ts +3 -0
- package/dist/FormField/index.cjs +9 -8
- package/dist/FormField/index.mjs +9 -8
- package/dist/{FormField-DkUBI472.js → FormField-B6gtEPtt.js} +8 -37
- package/dist/{FormField-USfWwIuB.js → FormField-BHQLEzCU.js} +8 -37
- package/dist/FormatDate/index.cjs +1 -1
- package/dist/FormatDate/index.mjs +1 -1
- package/dist/FormatEmail/index.cjs +1 -1
- package/dist/FormatEmail/index.mjs +1 -1
- package/dist/FormatFile/index.cjs +21 -21
- package/dist/FormatFile/index.mjs +21 -21
- package/dist/{FormatFile-hPAWI8W-.js → FormatFile-C0dhBNz7.js} +7 -7
- package/dist/{FormatFile-C-WIzfp8.js → FormatFile-DNQwGv9w.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-BoBJyd_h.js → Gallery-BDfA6efd.js} +3 -3
- package/dist/{Gallery-D3nflwLO.js → Gallery-BT21eudl.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-D3DGGAaG.js → Glimmer-6P5ZENtk.js} +2 -2
- package/dist/{Glimmer-Cg3bxFBG.js → Glimmer-l_4rJ-gP.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-BJLEreYL.js → Grid-CbDR8shF.js} +2 -2
- package/dist/{Grid-5PaRNw1n.js → Grid-Ce_w6KUT.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-niP_EwUM.js → Heading-Bomfxc8C.js} +1 -1
- package/dist/{Heading-Bk9HhmuV.js → Heading-Cv_fJEXA.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-DJ7jCx-6.js → InlineLabel-B2G_aD3c.js} +1 -1
- package/dist/{InlineLabel-yYtwC9ai.js → InlineLabel-CasZgQGX.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-vluqQxUl.js → InputAvatar-B8Gh2kaB.js} +5 -5
- package/dist/{InputAvatar-BcgebXMW.js → InputAvatar-VRG-mXRO.js} +5 -5
- package/dist/InputDate/index.cjs +21 -20
- package/dist/InputDate/index.mjs +21 -20
- package/dist/{InputDate-DsfOkvCw.js → InputDate-DWMoT-x-.js} +2 -2
- package/dist/{InputDate-DRull2as.js → InputDate-sQ4VCRKi.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -9
- package/dist/InputEmail/index.mjs +10 -9
- package/dist/{InputEmail-BPzgyZcM.js → InputEmail-CiLGPqML.js} +1 -1
- package/dist/{InputEmail-VO4_J1Pr.js → InputEmail-Cy1bO6Ay.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-W9r8MN90.js → InputFile-BFbjLict.js} +6 -6
- package/dist/{InputFile-BNb-6B6I.js → InputFile-CcZ8VBx8.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +10 -9
- package/dist/InputNumber/index.mjs +10 -9
- package/dist/{InputNumber-1gqh2zp5.js → InputNumber-Bk2hETgI.js} +1 -1
- package/dist/{InputNumber-B-Up8kUm.js → InputNumber-DLGHR8Qt.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -9
- package/dist/InputPassword/index.mjs +10 -9
- package/dist/{InputPassword-DeJMNoDm.js → InputPassword-BpBqZ8Js.js} +1 -1
- package/dist/{InputPassword-B1jNMiUu.js → InputPassword-JXkg7o9l.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -9
- package/dist/InputPhoneNumber/index.mjs +10 -9
- package/dist/{InputPhoneNumber-YBoeXe5H.js → InputPhoneNumber-C0gHuYba.js} +2 -2
- package/dist/{InputPhoneNumber-CXwSOKb3.js → InputPhoneNumber-DH1pkgQE.js} +2 -2
- package/dist/InputText/index.cjs +11 -10
- package/dist/InputText/index.mjs +11 -10
- package/dist/{InputText-Cmw7sX-R.js → InputText-D8U5hn-M.js} +2 -2
- package/dist/{InputText-DPq4ZYY4.js → InputText-waONyOOj.js} +2 -2
- package/dist/InputTime/index.cjs +14 -13
- package/dist/InputTime/index.mjs +14 -13
- package/dist/{InputTime-CZNqRhhm.js → InputTime-DFQUG1en.js} +3 -3
- package/dist/{InputTime-C74S1_hk.js → InputTime-DkNp6i_8.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-BbW-aZSW.js → InputValidation-BY7R422w.js} +2 -2
- package/dist/{InputValidation-Beq4ATor.js → InputValidation-vABVp4T-.js} +2 -2
- package/dist/{InternalChipDismissible-DKw3kjkU.js → InternalChipDismissible-D0WqWGBN.js} +11 -11
- package/dist/{InternalChipDismissible-BVq2r6WT.js → InternalChipDismissible-QtZ7HEHo.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-CPV3aN6a.js → LightBox-8lRRhQwb.js} +7 -7
- package/dist/{LightBox-DFuhRTZh.js → LightBox-CXwMqdSk.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-BrhlbZsL.js → List-CVJhi7fm.js} +10 -10
- package/dist/{List-DOFPbwLA.js → List-nZCnwRgD.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-DGxbKgrw.js → Markdown-CdTWxGcg.js} +7 -7
- package/dist/{Markdown-DGmu994v.js → Markdown-Clla_B5H.js} +7 -7
- package/dist/Menu/Menu.d.ts +1 -5
- package/dist/Menu/index.cjs +12 -7
- package/dist/Menu/index.mjs +12 -7
- package/dist/Menu-hhjBdRlm.js +169 -0
- package/dist/Menu-xB_lfeB3.js +167 -0
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-07Djlibo.js → Modal-BMaZGyg5.js} +6 -6
- package/dist/{Modal-B4kUpQru.js → Modal-Bw9yJMlJ.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-DHJ7e3dc.js → MultiSelect-BQW7W0u1.js} +3 -3
- package/dist/{MultiSelect-BXoUyjTe.js → MultiSelect-cm6Hiaie.js} +3 -3
- package/dist/{Option-CnQFi2eq.js → Option-C_QxKJEW.js} +1 -1
- package/dist/{Option-4jZKeWXD.js → Option-Cmc1FnSZ.js} +1 -1
- package/dist/Page/index.cjs +25 -20
- package/dist/Page/index.mjs +25 -20
- package/dist/{Page-B3rVbFEZ.js → Page-DNcT66BY.js} +8 -8
- package/dist/{Page-Cx-4e_fb.js → Page-quItOji7.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-DRR8N5M6.js → Popover-0WTvYzIS.js} +2 -2
- package/dist/{Popover-ZWJ4TbNc.js → Popover-DsXbqnoQ.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-BPYN50Jc.js → RadioGroup-BEFPYqUd.js} +1 -1
- package/dist/{RadioGroup-B9ctedPp.js → RadioGroup-CjfW40pM.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +16 -15
- package/dist/RecurringSelect/index.mjs +16 -15
- package/dist/{RecurringSelect-BbxDEZzg.js → RecurringSelect-BbI_z1tz.js} +6 -6
- package/dist/{RecurringSelect-C9fwmvE4.js → RecurringSelect-DBDT3VSo.js} +6 -6
- package/dist/Select/index.cjs +10 -9
- package/dist/Select/index.mjs +10 -9
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-BP2-hQaC.js → StatusLabel-Bc29NxvI.js} +2 -2
- package/dist/{StatusLabel-NFaH069j.js → StatusLabel-Z3bP_uk6.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-COXRp9Oc.js → Switch-DMRRjP2I.js} +1 -1
- package/dist/{Switch-CAyEfylv.js → Switch-_HbcwwEs.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-CWVuBUHF.js → Tabs-BPIRQZV_.js} +1 -1
- package/dist/{Tabs-s1Oeoxm2.js → Tabs-QlK9CbP_.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-D_5Xj4ED.js → Text-BUyNWFG_.js} +1 -1
- package/dist/{Text-CYNvsiMy.js → Text-DjjGujiC.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-Dyks18BT.js → Tooltip-B-Bt26yY.js} +2 -2
- package/dist/{Tooltip-CeceP3t8.js → Tooltip-CbxDiuiK.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-B1BqxnJ-.js → _baseAssignValue-D1nQTdbc.js} +1 -1
- package/dist/{_baseAssignValue-CfOZH_6x.js → _baseAssignValue-DcX3aOaS.js} +1 -1
- package/dist/{_baseEach-D5uvbQ79.js → _baseEach-CaGPYt-5.js} +4 -4
- package/dist/{_baseEach-B1tAerUv.js → _baseEach-LJgzfE1B.js} +4 -4
- package/dist/{_defineProperty-BMeQrPqa.js → _defineProperty-C0gVyMXO.js} +3 -3
- package/dist/{_defineProperty-10dMDdQL.js → _defineProperty-D4XY5ojv.js} +3 -3
- package/dist/{_getTag-D1xoTWwg.js → _getTag-BXNvpAcJ.js} +1 -1
- package/dist/{_getTag-D98Jxkb6.js → _getTag-BhkRtrtL.js} +1 -1
- package/dist/{_setToString-DyA8KZOp.js → _setToString-COys9Lti.js} +3 -3
- package/dist/{_setToString-Brdzo74S.js → _setToString-K1Va1_8m.js} +3 -3
- package/dist/{debounce-BSjzQc1s.js → debounce-CYRZ_34W.js} +3 -3
- package/dist/{debounce-b7aZ0VC8.js → debounce-D9L_NtWb.js} +3 -3
- package/dist/{helpers-D3ObJEJ1.js → helpers-CRD4Urz-.js} +1 -1
- package/dist/{helpers-Dnttvtvm.js → helpers-XCN-9b-E.js} +1 -1
- package/dist/{index-qVNrLXnJ.js → index-BlraAgf1.js} +1 -1
- package/dist/{index-Dz4X6tSI.js → index-CLyvv20G.js} +1 -1
- package/dist/index.cjs +146 -145
- package/dist/index.mjs +146 -145
- package/dist/{isObjectLike-C70Y3lqi.js → isObjectLike-BO8lA4wb.js} +1 -1
- package/dist/{isObjectLike-C9V4KzkX.js → isObjectLike-C1q80ak2.js} +1 -1
- package/dist/{isSymbol-BmmjkP5A.js → isSymbol-BVPFaUw8.js} +1 -1
- package/dist/{isSymbol-Bz1FN_iT.js → isSymbol-BhKcMs_1.js} +1 -1
- package/dist/{noop-BdoNLeqy.js → noop-Abw9dXST.js} +1 -1
- package/dist/{noop-DSe3gT3M.js → noop-lAzuHCiu.js} +1 -1
- package/dist/styles.css +38 -78
- package/dist/{useActiveLayout-1gRkOhr6.js → useActiveLayout-BFBibeZs.js} +2 -2
- package/dist/{useActiveLayout-1FtiTns8.js → useActiveLayout-DS9qSPFV.js} +2 -2
- package/dist/{useAssert-C7IKJcrA.js → useAssert-BNi_d0o2.js} +2 -2
- package/dist/{useAssert-CCJlRwkp.js → useAssert-c-FoMB7T.js} +2 -2
- package/dist/{useBatchSelect-DYRo1dhX.js → useBatchSelect-Byh2XLLU.js} +1 -1
- package/dist/{useBatchSelect-Bvn551az.js → useBatchSelect-Z1Rg28ls.js} +1 -1
- package/dist/useFormFieldFocus-BmPPbO-e.js +60 -0
- package/dist/useFormFieldFocus-Bnt1vsIS.js +57 -0
- package/dist/{useIsMounted-COoUpDnC.js → useIsMounted-Bd33slsf.js} +1 -1
- package/dist/{useIsMounted-Bdw2VPX8.js → useIsMounted-D8XAjhll.js} +1 -1
- package/dist/{useResizeObserver-DmI8qDJd.js → useResizeObserver-DYarBxMp.js} +3 -3
- package/dist/{useResizeObserver-BmzaLCvR.js → useResizeObserver-DyfGKgyY.js} +3 -3
- package/dist/{useResponsiveSizing-BIZWcRtV.js → useResponsiveSizing-DiCANbq8.js} +1 -1
- package/dist/{useResponsiveSizing-Dx52Oo_c.js → useResponsiveSizing-Duxqhmht.js} +1 -1
- package/dist/{useScrollToActive-PhnNGY8P.js → useScrollToActive-CPUR5Wvd.js} +9 -9
- package/dist/{useScrollToActive-CY1pEFyl.js → useScrollToActive-CSczp0XZ.js} +9 -9
- package/package.json +3 -3
- package/dist/Menu-BEgisbQN.js +0 -130
- package/dist/Menu-Cx21K_GU.js +0 -128
- /package/dist/{AnimatedPresence-C3Q8JE37.js → AnimatedPresence-C1bn-Lsa.js} +0 -0
- /package/dist/{AnimatedPresence-DRbLWtOQ.js → AnimatedPresence-Ddc7W_4b.js} +0 -0
- /package/dist/{AtlantisContext-CDuv85WJ.js → AtlantisContext-CBfTP2cK.js} +0 -0
- /package/dist/{AtlantisContext-TJkVfjE9.js → AtlantisContext-CTiiq98G.js} +0 -0
- /package/dist/{Body-B_K-u0vy.js → Body-BnCSwoVW.js} +0 -0
- /package/dist/{Body-Ct1yp1Rd.js → Body-CU-SolEJ.js} +0 -0
- /package/dist/{Content-GMmG-s8Z.js → Content-OgtCK6Pd.js} +0 -0
- /package/dist/{Content-jS04DJII.js → Content-QXh29J09.js} +0 -0
- /package/dist/{DataList-CtwAiDL3.js → DataList-BYhWc9CR.js} +0 -0
- /package/dist/{DataList-BzCrgQ_C.js → DataList-D8foiNnL.js} +0 -0
- /package/dist/{DataList.const-C03MPhFN.js → DataList.const-CYgulUua.js} +0 -0
- /package/dist/{DataList.const-B746rVXE.js → DataList.const-QAh22Cbm.js} +0 -0
- /package/dist/{DataListLayoutContext-BEIZ2eJ6.js → DataListLayoutContext-DeYKislU.js} +0 -0
- /package/dist/{DataListLayoutContext-DWGGtIjQ.js → DataListLayoutContext-Lli7XWhV.js} +0 -0
- /package/dist/{Divider-DfxfH6NN.js → Divider-DDgpkZ8i.js} +0 -0
- /package/dist/{Divider-C0ByHjeR.js → Divider-E4iD5Wev.js} +0 -0
- /package/dist/{Flex-DdeKGrLD.js → Flex-CfrgVhPN.js} +0 -0
- /package/dist/{Flex-BlVoDGzg.js → Flex-DsYPN87p.js} +0 -0
- /package/dist/{FormatDate-DCbYc3R8.js → FormatDate-DPjl2GxX.js} +0 -0
- /package/dist/{FormatDate-DhinNFJP.js → FormatDate-lXZ_atxV.js} +0 -0
- /package/dist/{FormatEmail-28LC5Ik9.js → FormatEmail-C6-HjfYA.js} +0 -0
- /package/dist/{FormatEmail-Dc_h8Eo_.js → FormatEmail-DToX4MzL.js} +0 -0
- /package/dist/{FormatRelativeDateTime-CVv-oJKr.js → FormatRelativeDateTime-BRhhl7lM.js} +0 -0
- /package/dist/{FormatRelativeDateTime-D268owEk.js → FormatRelativeDateTime-CHHH2fDp.js} +0 -0
- /package/dist/{FormatTime-BdakgUl6.js → FormatTime-Q_dP9BlW.js} +0 -0
- /package/dist/{FormatTime-4KerSpI-.js → FormatTime-eit-2TcO.js} +0 -0
- /package/dist/{Icon-BQSAXqG3.js → Icon-ByeN2N4j.js} +0 -0
- /package/dist/{Icon-CNr_esQY.js → Icon-CxLh3sV5.js} +0 -0
- /package/dist/{InputGroup-DGiSNe1M.js → InputGroup-C91g82sJ.js} +0 -0
- /package/dist/{InputGroup-DYCvR5_T.js → InputGroup-xY8jAOho.js} +0 -0
- /package/dist/{InternalGridCell-C2MHMP4o.js → InternalGridCell-CdLEerZ5.js} +0 -0
- /package/dist/{InternalGridCell-Di4L0Fkz.js → InternalGridCell-HaOTgOB4.js} +0 -0
- /package/dist/{Link-jY9PLUBU.js → Link-DkKih6VQ.js} +0 -0
- /package/dist/{Link-44GfdvQi.js → Link-X-0h28Ff.js} +0 -0
- /package/dist/{ProgressBar-Da1dlfM0.js → ProgressBar-CGAsvlGM.js} +0 -0
- /package/dist/{ProgressBar-DeC5BnDk.js → ProgressBar-DV5KEPUg.js} +0 -0
- /package/dist/{Spinner-BYq_QsYW.js → Spinner-8k3w2M3l.js} +0 -0
- /package/dist/{Spinner-DlCAawlL.js → Spinner-CVQaFopU.js} +0 -0
- /package/dist/{StatusIndicator-otmavCUX.js → StatusIndicator-BkSIph_P.js} +0 -0
- /package/dist/{StatusIndicator-9wTwvea3.js → StatusIndicator-cdYXXIE5.js} +0 -0
- /package/dist/{Typography-DycaKhYB.js → Typography-B89HQs_K.js} +0 -0
- /package/dist/{Typography-BG5IrUID.js → Typography-D7uTtnuS.js} +0 -0
- /package/dist/{_commonjsHelpers-DpQMrXb6.js → _commonjsHelpers-DM1uXIwd.js} +0 -0
- /package/dist/{_commonjsHelpers-9Wob29NB.js → _commonjsHelpers-yArcpwK5.js} +0 -0
- /package/dist/{_polyfill-node.process-BxxmQOli.js → _polyfill-node.process-D-U-ZQmd.js} +0 -0
- /package/dist/{_polyfill-node.process-DULs9xqc.js → _polyfill-node.process-DFLENVqw.js} +0 -0
- /package/dist/{tslib.es6-C81vAGut.js → tslib.es6-_w3f_AZk.js} +0 -0
- /package/dist/{tslib.es6-PDbpB9WM.js → tslib.es6-d1IXNIqz.js} +0 -0
- /package/dist/{useChildComponent-DCm1p16A.js → useChildComponent-BDLzDqm1.js} +0 -0
- /package/dist/{useChildComponent-D3B5Cly4.js → useChildComponent-DEP0X4sZ.js} +0 -0
- /package/dist/{useFocusTrap-BOuxVzp9.js → useFocusTrap-DD1lE_84.js} +0 -0
- /package/dist/{useFocusTrap-DY2SvE6V.js → useFocusTrap-pp-WOxgx.js} +0 -0
- /package/dist/{useInView-DodqufaJ.js → useInView-B33l1gpL.js} +0 -0
- /package/dist/{useInView-By2OibUp.js → useInView-BD7IeAYq.js} +0 -0
- /package/dist/{useOnKeyDown-Nnmik5m5.js → useOnKeyDown-9wUPziRK.js} +0 -0
- /package/dist/{useOnKeyDown-C82xpZTp.js → useOnKeyDown-ULVBa2uf.js} +0 -0
- /package/dist/{useRefocusOnActivator-CgtKXdkc.js → useRefocusOnActivator-Btdp0UjK.js} +0 -0
- /package/dist/{useRefocusOnActivator-C7In6bN6.js → useRefocusOnActivator-CpBvvuoG.js} +0 -0
- /package/dist/{useSafeLayoutEffect-Bd3MCH4w.js → useSafeLayoutEffect-DzsK4hpN.js} +0 -0
- /package/dist/{useSafeLayoutEffect-Ke-UreLe.js → useSafeLayoutEffect-ScSrs8an.js} +0 -0
package/dist/styles.css
CHANGED
|
@@ -2106,25 +2106,32 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
2108
2108
|
.dT6M9tp1sZc- {
|
|
2109
|
-
--menu-space: var(--space-small);
|
|
2110
|
-
--menu-offset: var(--space-smallest);
|
|
2111
|
-
display: inline-block;
|
|
2112
2109
|
position: relative;
|
|
2113
2110
|
}
|
|
2114
2111
|
|
|
2112
|
+
._9pvjsJS6vsg- {
|
|
2113
|
+
z-index: 6;
|
|
2114
|
+
z-index: var(--elevation-menu);
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
.G7Nzd9sctos- {
|
|
2118
|
+
display: none;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2115
2121
|
.Qmxlsj0D3qM- {
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
left: 0;
|
|
2122
|
+
--menu-space: var(--space-small);
|
|
2123
|
+
--menu-offset: var(--space-smallest);
|
|
2119
2124
|
z-index: 6;
|
|
2120
2125
|
z-index: var(--elevation-menu);
|
|
2121
|
-
width: 100%;
|
|
2122
2126
|
max-height: 72vh;
|
|
2123
2127
|
box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px
|
|
2124
2128
|
rgba(0, 0, 0, 0.1),
|
|
2125
2129
|
0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);
|
|
2126
2130
|
box-shadow: var(--shadow-base);
|
|
2131
|
+
padding: calc(16px / 2);
|
|
2127
2132
|
padding: var(--menu-space);
|
|
2133
|
+
padding-bottom: calc(env(safe-area-inset-bottom) + (16px / 2));
|
|
2134
|
+
padding-bottom: calc(env(safe-area-inset-bottom) + calc(16px / 2));
|
|
2128
2135
|
padding-bottom: calc(env(safe-area-inset-bottom) + var(--menu-space));
|
|
2129
2136
|
border-radius: 8px 8px 0 0;
|
|
2130
2137
|
border-radius: var(--radius-base) var(--radius-base) 0 0;
|
|
@@ -2134,11 +2141,29 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2134
2141
|
background-color: var(--color-surface);
|
|
2135
2142
|
}
|
|
2136
2143
|
|
|
2144
|
+
@media (max-width: 489px) {
|
|
2145
|
+
|
|
2146
|
+
.Qmxlsj0D3qM- {
|
|
2147
|
+
position: fixed;
|
|
2148
|
+
right: 0;
|
|
2149
|
+
bottom: 0;
|
|
2150
|
+
left: 0;
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
@media (--small-screens-and-below) {
|
|
2155
|
+
|
|
2156
|
+
.Qmxlsj0D3qM- {
|
|
2157
|
+
position: fixed;
|
|
2158
|
+
right: 0;
|
|
2159
|
+
bottom: 0;
|
|
2160
|
+
left: 0;
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2137
2164
|
@media (min-width: 490px) {
|
|
2138
2165
|
|
|
2139
2166
|
.Qmxlsj0D3qM- {
|
|
2140
|
-
position: absolute;
|
|
2141
|
-
left: auto;
|
|
2142
2167
|
width: calc(16px * 12.5);
|
|
2143
2168
|
width: calc(var(--base-unit) * 12.5);
|
|
2144
2169
|
padding: var(--menu-space);
|
|
@@ -2153,8 +2178,6 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2153
2178
|
@media (--small-screens-and-up) {
|
|
2154
2179
|
|
|
2155
2180
|
.Qmxlsj0D3qM- {
|
|
2156
|
-
position: absolute;
|
|
2157
|
-
left: auto;
|
|
2158
2181
|
width: calc(16px * 12.5);
|
|
2159
2182
|
width: calc(var(--base-unit) * 12.5);
|
|
2160
2183
|
padding: var(--menu-space);
|
|
@@ -2166,72 +2189,6 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2166
2189
|
}
|
|
2167
2190
|
}
|
|
2168
2191
|
|
|
2169
|
-
@media (min-width: 490px) {
|
|
2170
|
-
|
|
2171
|
-
.QTisUfiHwL4- {
|
|
2172
|
-
bottom: 100%;
|
|
2173
|
-
margin-bottom: var(--menu-offset);
|
|
2174
|
-
}
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
@media (--small-screens-and-up) {
|
|
2178
|
-
|
|
2179
|
-
.QTisUfiHwL4- {
|
|
2180
|
-
bottom: 100%;
|
|
2181
|
-
margin-bottom: var(--menu-offset);
|
|
2182
|
-
}
|
|
2183
|
-
}
|
|
2184
|
-
|
|
2185
|
-
@media (min-width: 490px) {
|
|
2186
|
-
|
|
2187
|
-
.qsch1dlpOHc- {
|
|
2188
|
-
top: 100%;
|
|
2189
|
-
bottom: auto;
|
|
2190
|
-
margin-top: var(--menu-offset);
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
@media (--small-screens-and-up) {
|
|
2195
|
-
|
|
2196
|
-
.qsch1dlpOHc- {
|
|
2197
|
-
top: 100%;
|
|
2198
|
-
bottom: auto;
|
|
2199
|
-
margin-top: var(--menu-offset);
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
|
|
2203
|
-
@media (min-width: 490px) {
|
|
2204
|
-
|
|
2205
|
-
._0xR9-oxWMOU- {
|
|
2206
|
-
right: 0;
|
|
2207
|
-
left: auto;
|
|
2208
|
-
}
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
@media (--small-screens-and-up) {
|
|
2212
|
-
|
|
2213
|
-
._0xR9-oxWMOU- {
|
|
2214
|
-
right: 0;
|
|
2215
|
-
left: auto;
|
|
2216
|
-
}
|
|
2217
|
-
}
|
|
2218
|
-
|
|
2219
|
-
@media (min-width: 490px) {
|
|
2220
|
-
|
|
2221
|
-
.gaZwsdyoG0k- {
|
|
2222
|
-
right: auto;
|
|
2223
|
-
left: 0;
|
|
2224
|
-
}
|
|
2225
|
-
}
|
|
2226
|
-
|
|
2227
|
-
@media (--small-screens-and-up) {
|
|
2228
|
-
|
|
2229
|
-
.gaZwsdyoG0k- {
|
|
2230
|
-
right: auto;
|
|
2231
|
-
left: 0;
|
|
2232
|
-
}
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
2192
|
.LaKFjYCLHZc- {
|
|
2236
2193
|
padding: var(--menu-space) 0;
|
|
2237
2194
|
border-bottom: calc(16px / 16) solid hsl(200, 13%, 87%);
|
|
@@ -2271,9 +2228,12 @@ a.U9VsquOtk2I-.bg-l22drjd0-:hover {
|
|
|
2271
2228
|
}
|
|
2272
2229
|
|
|
2273
2230
|
.ZuceCiefKqw-:hover,
|
|
2274
|
-
.ZuceCiefKqw-:focus
|
|
2231
|
+
.ZuceCiefKqw-:focus {
|
|
2275
2232
|
background-color: hsl(53, 21%, 93%);
|
|
2276
2233
|
background-color: var(--color-surface--hover);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
.ZuceCiefKqw-:focus-visible {
|
|
2277
2237
|
outline-color: hsl(198, 12%, 57%);
|
|
2278
2238
|
outline-color: var(--color-focus);
|
|
2279
2239
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useResponsiveSizing } from './useResponsiveSizing-
|
|
2
|
-
import { u as useDataListContext } from './DataListContext-
|
|
1
|
+
import { u as useResponsiveSizing } from './useResponsiveSizing-Duxqhmht.js';
|
|
2
|
+
import { u as useDataListContext } from './DataListContext-Dqx3K0VG.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-DiCANbq8.js');
|
|
4
|
+
var DataListContext = require('./DataListContext-DqC9evnz.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-DM1uXIwd.js');
|
|
4
|
+
var _polyfillNode_process = require('./_polyfill-node.process-D-U-ZQmd.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-yArcpwK5.js';
|
|
2
|
+
import { _ as _polyfillNode_process } from './_polyfill-node.process-DFLENVqw.js';
|
|
3
3
|
|
|
4
4
|
var useAssert$1 = {};
|
|
5
5
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
|
|
5
|
+
function useActiveElement() {
|
|
6
|
+
const [active, setActive] = React.useState(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
7
|
+
const handleFocusIn = () => {
|
|
8
|
+
setActive(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
9
|
+
};
|
|
10
|
+
React.useEffect(() => {
|
|
11
|
+
document === null || document === void 0 ? void 0 : document.addEventListener("focusin", handleFocusIn);
|
|
12
|
+
return () => {
|
|
13
|
+
document === null || document === void 0 ? void 0 : document.removeEventListener("focusin", handleFocusIn);
|
|
14
|
+
};
|
|
15
|
+
}, []);
|
|
16
|
+
return active;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const PORTAL_FOCUS_ATTRIBUTE_NAME = "data-atl-maintain-portal-focus";
|
|
20
|
+
const formFieldFocusAttribute = {
|
|
21
|
+
[PORTAL_FOCUS_ATTRIBUTE_NAME]: "true",
|
|
22
|
+
};
|
|
23
|
+
function useFormFieldFocus(props) {
|
|
24
|
+
var _a;
|
|
25
|
+
const [focused, setFocused] = React.useState(false);
|
|
26
|
+
const activeElement = useActiveElement();
|
|
27
|
+
const activeElementRef = React.useRef(activeElement);
|
|
28
|
+
React.useEffect(() => {
|
|
29
|
+
activeElementRef.current = activeElement;
|
|
30
|
+
}, [activeElement]);
|
|
31
|
+
function handleFocusIn() {
|
|
32
|
+
setFocused(true);
|
|
33
|
+
}
|
|
34
|
+
function handleFocusOut() {
|
|
35
|
+
setTimeout(() => {
|
|
36
|
+
var _a, _b, _c;
|
|
37
|
+
const focusedElementWithinWrapper = (_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(document.activeElement);
|
|
38
|
+
const focusException = (_c = activeElementRef.current) === null || _c === void 0 ? void 0 : _c.closest(`[${PORTAL_FOCUS_ATTRIBUTE_NAME}='true']`);
|
|
39
|
+
if (!focusedElementWithinWrapper && !focusException) {
|
|
40
|
+
setFocused(false);
|
|
41
|
+
}
|
|
42
|
+
}, 1);
|
|
43
|
+
}
|
|
44
|
+
React.useEffect(() => {
|
|
45
|
+
var _a, _b, _c, _d;
|
|
46
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.addEventListener("focusin", handleFocusIn);
|
|
47
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.addEventListener("focusout", handleFocusOut);
|
|
48
|
+
return () => {
|
|
49
|
+
var _a, _b, _c, _d;
|
|
50
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.removeEventListener("focusin", handleFocusIn);
|
|
51
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.removeEventListener("focusout", handleFocusOut);
|
|
52
|
+
};
|
|
53
|
+
}, [(_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current]);
|
|
54
|
+
return {
|
|
55
|
+
focused,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
exports.formFieldFocusAttribute = formFieldFocusAttribute;
|
|
60
|
+
exports.useFormFieldFocus = useFormFieldFocus;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { useState, useEffect, useRef } from 'react';
|
|
2
|
+
|
|
3
|
+
function useActiveElement() {
|
|
4
|
+
const [active, setActive] = useState(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
5
|
+
const handleFocusIn = () => {
|
|
6
|
+
setActive(document === null || document === void 0 ? void 0 : document.activeElement);
|
|
7
|
+
};
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
document === null || document === void 0 ? void 0 : document.addEventListener("focusin", handleFocusIn);
|
|
10
|
+
return () => {
|
|
11
|
+
document === null || document === void 0 ? void 0 : document.removeEventListener("focusin", handleFocusIn);
|
|
12
|
+
};
|
|
13
|
+
}, []);
|
|
14
|
+
return active;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const PORTAL_FOCUS_ATTRIBUTE_NAME = "data-atl-maintain-portal-focus";
|
|
18
|
+
const formFieldFocusAttribute = {
|
|
19
|
+
[PORTAL_FOCUS_ATTRIBUTE_NAME]: "true",
|
|
20
|
+
};
|
|
21
|
+
function useFormFieldFocus(props) {
|
|
22
|
+
var _a;
|
|
23
|
+
const [focused, setFocused] = useState(false);
|
|
24
|
+
const activeElement = useActiveElement();
|
|
25
|
+
const activeElementRef = useRef(activeElement);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
activeElementRef.current = activeElement;
|
|
28
|
+
}, [activeElement]);
|
|
29
|
+
function handleFocusIn() {
|
|
30
|
+
setFocused(true);
|
|
31
|
+
}
|
|
32
|
+
function handleFocusOut() {
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
var _a, _b, _c;
|
|
35
|
+
const focusedElementWithinWrapper = (_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(document.activeElement);
|
|
36
|
+
const focusException = (_c = activeElementRef.current) === null || _c === void 0 ? void 0 : _c.closest(`[${PORTAL_FOCUS_ATTRIBUTE_NAME}='true']`);
|
|
37
|
+
if (!focusedElementWithinWrapper && !focusException) {
|
|
38
|
+
setFocused(false);
|
|
39
|
+
}
|
|
40
|
+
}, 1);
|
|
41
|
+
}
|
|
42
|
+
useEffect(() => {
|
|
43
|
+
var _a, _b, _c, _d;
|
|
44
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.addEventListener("focusin", handleFocusIn);
|
|
45
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.addEventListener("focusout", handleFocusOut);
|
|
46
|
+
return () => {
|
|
47
|
+
var _a, _b, _c, _d;
|
|
48
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.removeEventListener("focusin", handleFocusIn);
|
|
49
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.removeEventListener("focusout", handleFocusOut);
|
|
50
|
+
};
|
|
51
|
+
}, [(_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current]);
|
|
52
|
+
return {
|
|
53
|
+
focused,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { formFieldFocusAttribute as f, useFormFieldFocus as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-
|
|
1
|
+
import { a as getAugmentedNamespace, c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-yArcpwK5.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-D9L_NtWb.js';
|
|
4
|
+
import { b as isObject_1 } from './isObjectLike-BO8lA4wb.js';
|
|
5
5
|
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
m.forEach(function (e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-DM1uXIwd.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var debounce$1 = require('./debounce-
|
|
6
|
-
var isObjectLike = require('./isObjectLike-
|
|
5
|
+
var debounce$1 = require('./debounce-CYRZ_34W.js');
|
|
6
|
+
var isObjectLike = require('./isObjectLike-C1q80ak2.js');
|
|
7
7
|
|
|
8
8
|
function _mergeNamespaces(n, m) {
|
|
9
9
|
m.forEach(function (e) {
|
|
@@ -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-DM1uXIwd.js');
|
|
5
|
+
var _setToString = require('./_setToString-COys9Lti.js');
|
|
6
|
+
var _defineProperty = require('./_defineProperty-C0gVyMXO.js');
|
|
7
|
+
var _baseEach = require('./_baseEach-CaGPYt-5.js');
|
|
8
|
+
var _getTag = require('./_getTag-BXNvpAcJ.js');
|
|
9
|
+
var isSymbol$1 = require('./isSymbol-BhKcMs_1.js');
|
|
10
|
+
var isObjectLike = require('./isObjectLike-C1q80ak2.js');
|
|
11
|
+
var debounce = require('./debounce-CYRZ_34W.js');
|
|
12
|
+
var Icon = require('./Icon-ByeN2N4j.js');
|
|
13
13
|
var reactPopper = require('react-popper');
|
|
14
14
|
|
|
15
15
|
var baseEach = _baseEach._baseEach,
|
|
@@ -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-yArcpwK5.js';
|
|
3
|
+
import { _ as _overRest, a as _setToString, b as _baseFlatten } from './_setToString-K1Va1_8m.js';
|
|
4
|
+
import { b as _arrayMap, c as _baseGet, i as identity_1, e as eq_1, d as _isIndex } from './_defineProperty-D4XY5ojv.js';
|
|
5
|
+
import { _ as _baseEach, a as _baseIteratee } from './_baseEach-LJgzfE1B.js';
|
|
6
|
+
import { c as isArrayLike_1, g as _baseUnary, b as isArray_1 } from './_getTag-BhkRtrtL.js';
|
|
7
|
+
import { i as isSymbol_1 } from './isSymbol-BVPFaUw8.js';
|
|
8
|
+
import { b as isObject_1 } from './isObjectLike-BO8lA4wb.js';
|
|
9
|
+
import { d as debounce } from './debounce-D9L_NtWb.js';
|
|
10
|
+
import { I as Icon } from './Icon-CxLh3sV5.js';
|
|
11
11
|
import { usePopper } from 'react-popper';
|
|
12
12
|
|
|
13
13
|
var baseEach = _baseEach,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.1",
|
|
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.6",
|
|
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": "c2a1e8367d831e492cbf7f194ccb05cdc7f705fa"
|
|
486
486
|
}
|
package/dist/Menu-BEgisbQN.js
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var classnames = require('classnames');
|
|
5
|
-
var framerMotion = require('framer-motion');
|
|
6
|
-
var useOnKeyDown = require('./useOnKeyDown-Nnmik5m5.js');
|
|
7
|
-
var useRefocusOnActivator = require('./useRefocusOnActivator-CgtKXdkc.js');
|
|
8
|
-
var useSafeLayoutEffect = require('./useSafeLayoutEffect-Bd3MCH4w.js');
|
|
9
|
-
var Button = require('./Button-DLrOpvFH.js');
|
|
10
|
-
var Typography = require('./Typography-DycaKhYB.js');
|
|
11
|
-
var Icon = require('./Icon-BQSAXqG3.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;
|