@jobber/components 5.9.0 → 5.9.1-fix-dynami.6
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-BM4nqlSN.js → AnimatedSwitcher-CgCyfPnv.js} +1 -1
- package/dist/{AnimatedSwitcher-DvHjhZZ-.js → AnimatedSwitcher-DkZoHPxy.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/Autocomplete/index.cjs +19 -19
- package/dist/Autocomplete/index.mjs +19 -19
- package/dist/{Autocomplete-BJR202xm.js → Autocomplete-Cbf13Vpj.js} +10 -10
- package/dist/{Autocomplete-Dg3vK_sA.js → Autocomplete-DWka9JO6.js} +10 -10
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-vjdk2egR.js → Avatar-CFYS65id.js} +1 -1
- package/dist/{Avatar-rJrbPg1r.js → Avatar-Dti_DMlg.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 +13 -12
- package/dist/Banner/index.mjs +13 -12
- package/dist/{Banner-BPlPAVya.js → Banner-BsQNThZM.js} +5 -5
- package/dist/{Banner-BaoA1Swr.js → Banner-Cxt2lFQx.js} +5 -5
- package/dist/{BannerIcon-DZvG1e8Y.js → BannerIcon-DO0RmjzV.js} +1 -1
- package/dist/{BannerIcon-IYZwaASj.js → BannerIcon-Dmv2QxCG.js} +1 -1
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-wKEOkHir.js → Box-CwmCoKnJ.js} +1 -1
- package/dist/{Box-BW7Xp7VM.js → Box-D2K5DAhe.js} +1 -1
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-B8SWkG_r.js → Button-BoJmpRfn.js} +2 -2
- package/dist/{Button-JvyTYV5X.js → Button-IlITnb5h.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-Ube8lB6w.js → ButtonDismiss-D7X3qses.js} +1 -1
- package/dist/{ButtonDismiss-DpGW5shg.js → ButtonDismiss-D9WOkvyw.js} +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/{Card-B2phMveA.js → Card-BTWCRjdB.js} +3 -3
- package/dist/{Card-Ds3pTNNb.js → Card-DSFV38Mx.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-BJgZmKa1.js → Checkbox-bJ6huB5h.js} +3 -3
- package/dist/{Checkbox-Cvsz-lGu.js → Checkbox-vMexz-tj.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-BxV4hpui.js → Chip-BSA2CvmO.js} +6 -6
- package/dist/{Chip-SZXkh_0k.js → Chip-CrPLJs-S.js} +6 -6
- package/dist/{ChipDismissible-KFih8DOP.js → ChipDismissible-DrzEthxU.js} +3 -3
- package/dist/{ChipDismissible-ClluH02_.js → ChipDismissible-r1TwftID.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-BBpCJHPO.js → Chips-BgRp_AXl.js} +2 -2
- package/dist/{Chips-DRGg_6PC.js → Chips-DfKiB2qn.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-bRvJ14a4.js → Combobox-D2zrnpnX.js} +9 -9
- package/dist/{Combobox-BoNHXMUx.js → Combobox-DCneZr2P.js} +9 -9
- package/dist/{ComboboxAction-XQCUGm1r.js → ComboboxAction-BXBtHnpS.js} +2 -2
- package/dist/{ComboboxAction-DeQg1pkw.js → ComboboxAction-D4WkZPCu.js} +2 -2
- package/dist/{ComboboxActivator-De2z2uNI.js → ComboboxActivator-BPmY9LYm.js} +4 -4
- package/dist/{ComboboxActivator-DTDATjr4.js → ComboboxActivator-DjCdTwOt.js} +4 -4
- package/dist/{ComboboxContent-CYUQ0e0r.js → ComboboxContent-B1k_Ctvi.js} +8 -8
- package/dist/{ComboboxContent-C2MgKWLC.js → ComboboxContent-tMtDo2hF.js} +8 -8
- package/dist/{ComboboxContentHeader-gzSudbaD.js → ComboboxContentHeader-CERnBiRO.js} +2 -2
- package/dist/{ComboboxContentHeader-6uMzmUFH.js → ComboboxContentHeader-DarY-m3B.js} +2 -2
- package/dist/{ComboboxContentList-BkxYw7w9.js → ComboboxContentList-BmK39mnx.js} +6 -6
- package/dist/{ComboboxContentList-B4diP15u.js → ComboboxContentList-CDU3xflY.js} +6 -6
- package/dist/{ComboboxContentSearch-BK-zGgwk.js → ComboboxContentSearch-BK1uPWVw.js} +1 -1
- package/dist/{ComboboxContentSearch-CrjvPXdi.js → ComboboxContentSearch-DSppfXZu.js} +1 -1
- package/dist/{ComboboxLoadMore-0DDNkUiY.js → ComboboxLoadMore-2qgACoEd.js} +1 -1
- package/dist/{ComboboxLoadMore-B9ORlXS7.js → ComboboxLoadMore-bxJKVpeS.js} +1 -1
- package/dist/{ComboboxOption-zv3YWqtd.js → ComboboxOption-Ba2pGrEU.js} +3 -3
- package/dist/{ComboboxOption-B0hC-QU8.js → ComboboxOption-BdIVKH34.js} +3 -3
- package/dist/{ComboboxProvider-BzOdAg0H.js → ComboboxProvider-9mPmzZto.js} +1 -1
- package/dist/{ComboboxProvider-C8BTZMW5.js → ComboboxProvider-DH3cSXiI.js} +1 -1
- package/dist/{ComboboxTrigger-B-9Biua1.js → ComboboxTrigger-4PvThu1_.js} +4 -4
- package/dist/{ComboboxTrigger-BIKliKiP.js → ComboboxTrigger-DtW6NoIW.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-B0Ucd3KS.js → ConfirmationModal-B39p3Zoy.js} +4 -4
- package/dist/{ConfirmationModal-0US_QKd4.js → ConfirmationModal-C1_abKuv.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-BVS5L-0o.js → Countdown-BBa3Tf7M.js} +1 -1
- package/dist/{Countdown-6V2OvEuY.js → Countdown-DsJD8U93.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-C0KS_hUu.js → DataDump-BwISjvFg.js} +3 -3
- package/dist/{DataDump-CvTimnUJ.js → DataDump-DQF9yux4.js} +3 -3
- package/dist/DataList/DataList.types.d.ts +4 -0
- package/dist/DataList/components/DataListAction/DataListAction.d.ts +1 -1
- 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 -20
- package/dist/DataList/components/DataListSearch/index.mjs +20 -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 +83 -83
- package/dist/DataList/index.mjs +83 -83
- package/dist/{DataList-LnRxDPmZ.js → DataList-BGy9Y08k.js} +21 -21
- package/dist/{DataList-C04Tg2iw.js → DataList-D2oXtSYC.js} +21 -21
- package/dist/{DataList.utils-SdiFMSJW.js → DataList.utils-BUo9Vlh8.js} +8 -8
- package/dist/{DataList.utils-CiVD6Akx.js → DataList.utils-D5NNFU-K.js} +8 -8
- package/dist/{DataListAction-w3YinyPj.js → DataListAction-B8-mvHlj.js} +11 -5
- package/dist/{DataListAction-B3dqrxXr.js → DataListAction-BClE0eky.js} +11 -5
- package/dist/{DataListActions-Df8f2gqV.js → DataListActions---uxEdKn.js} +6 -6
- package/dist/{DataListActions-DVRWRoJK.js → DataListActions-BcId6rEp.js} +6 -6
- package/dist/{DataListActionsMenu-CsHJKm0d.js → DataListActionsMenu-DnYyrqFT.js} +6 -6
- package/dist/{DataListActionsMenu-DyXRxpLA.js → DataListActionsMenu-Eo8pg4Cq.js} +6 -6
- package/dist/{DataListBulkActions-O2oIUvc1.js → DataListBulkActions-DofczJ6l.js} +3 -3
- package/dist/{DataListBulkActions-DzWhQXXn.js → DataListBulkActions-DpquDCNf.js} +3 -3
- package/dist/{DataListContext-D4RKZCy9.js → DataListContext-BghyKSbg.js} +1 -1
- package/dist/{DataListContext-BhloL1-h.js → DataListContext-DJ9NUhJ0.js} +1 -1
- package/dist/{DataListEmptyState-4qOD9TCe.js → DataListEmptyState-DbPeAU6N.js} +4 -4
- package/dist/{DataListEmptyState-DQl2jtOc.js → DataListEmptyState-jPJbpuyX.js} +4 -4
- package/dist/{DataListFilters-dbo72EJH.js → DataListFilters-BNGQZA2u.js} +5 -5
- package/dist/{DataListFilters-Cq82OKQN.js → DataListFilters-CE8vB4n5.js} +5 -5
- package/dist/{DataListHeader-Cx5wDMu2.js → DataListHeader-C_5SzF9r.js} +11 -11
- package/dist/{DataListHeader-CoN_RvVV.js → DataListHeader-YxBDyAVg.js} +11 -11
- package/dist/{DataListHeaderTile-C0bJO3WV.js → DataListHeaderTile-BWdjFEie.js} +5 -5
- package/dist/{DataListHeaderTile-_AEQmkfR.js → DataListHeaderTile-f782vKNK.js} +5 -5
- package/dist/{DataListItem-Cf2ZTWRq.js → DataListItem-CgOu7Ph0.js} +10 -10
- package/dist/{DataListItem-CueEllUY.js → DataListItem-pf3T2_vV.js} +10 -10
- package/dist/{DataListItemActions-uqGnqoHJ.js → DataListItemActions-DL7VrnYd.js} +2 -2
- package/dist/{DataListItemActions-Vr2f5nSt.js → DataListItemActions-FYbSt-43.js} +2 -2
- package/dist/{DataListItemActionsOverflow-D_Rs3EdR.js → DataListItemActionsOverflow-DMpy8rhw.js} +3 -3
- package/dist/{DataListItemActionsOverflow-Ch_KxmtC.js → DataListItemActionsOverflow-S5UXSx8r.js} +3 -3
- package/dist/{DataListItemClickable-DhnpTy2q.js → DataListItemClickable-Dpz8qw6Z.js} +3 -3
- package/dist/{DataListItemClickable-Bmsb2Iw9.js → DataListItemClickable-_f4NoTaW.js} +3 -3
- package/dist/{DataListItems-pNPww9F9.js → DataListItems-DYKIr2-l.js} +3 -3
- package/dist/{DataListItems-BYeW68Pe.js → DataListItems-_TtDi_ji.js} +3 -3
- package/dist/{DataListLayout-Bdo0OYH1.js → DataListLayout-DwqL17_n.js} +3 -3
- package/dist/{DataListLayout-joaPUJbN.js → DataListLayout-nRTJk0yA.js} +3 -3
- package/dist/{DataListLayoutActions-esFl7PcY.js → DataListLayoutActions-B5R2pLma.js} +4 -4
- package/dist/{DataListLayoutActions-Dr65airO.js → DataListLayoutActions-kZ5Duftm.js} +4 -4
- package/dist/{DataListLayoutContext-CyyP0CfH.js → DataListLayoutContext-B6H71gS-.js} +1 -1
- package/dist/{DataListLayoutContext-DX6z-YBD.js → DataListLayoutContext-BWFmfyWj.js} +1 -1
- package/dist/{DataListLoadMore-QBLXpjqU.js → DataListLoadMore-BVFV3Mzr.js} +5 -5
- package/dist/{DataListLoadMore-CnczpD7J.js → DataListLoadMore-Dk9GoFJk.js} +5 -5
- package/dist/{DataListLoadingState-BQ8BmvT4.js → DataListLoadingState-BvbDOgth.js} +3 -3
- package/dist/{DataListLoadingState-BquaHniD.js → DataListLoadingState-Dl8wW8oV.js} +3 -3
- package/dist/{DataListOverflowFade-T-G3cTc2.js → DataListOverflowFade-DIkgVhs6.js} +1 -1
- package/dist/{DataListOverflowFade-BnRa42N4.js → DataListOverflowFade-QFBEUZum.js} +1 -1
- package/dist/{DataListSearch-C5gkQTlk.js → DataListSearch-BKJZNlre.js} +6 -6
- package/dist/{DataListSearch-Ds2IMcOq.js → DataListSearch-CbVsdlC3.js} +6 -6
- package/dist/{DataListSort-DsQpp9ZR.js → DataListSort-D99A_sTT.js} +6 -6
- package/dist/{DataListSort-jJZYeXl0.js → DataListSort-MC2PaVXZ.js} +6 -6
- package/dist/{DataListSortingOptions-DPPEgVC3.js → DataListSortingOptions-Dg0_xVsM.js} +3 -3
- package/dist/{DataListSortingOptions-Bq7BwLPM.js → DataListSortingOptions-InjJB6Hs.js} +3 -3
- package/dist/{DataListStatusBar-BYz9aMt_.js → DataListStatusBar-BKRA2a3V.js} +2 -2
- package/dist/{DataListStatusBar-Bx6Lb06b.js → DataListStatusBar-OtkGnq6Q.js} +2 -2
- package/dist/{DataListStickyHeader-BxnDwcVh.js → DataListStickyHeader-CSzlWpkX.js} +1 -1
- package/dist/{DataListStickyHeader-C2uFe4m4.js → DataListStickyHeader-CWd4xkD-.js} +1 -1
- package/dist/{DataListTags-DLZp0fxy.js → DataListTags-DBCQpeCp.js} +2 -2
- package/dist/{DataListTags-CvsDFlLF.js → DataListTags-i8eleHC_.js} +2 -2
- package/dist/{DataListTotalCount-C_j2jymp.js → DataListTotalCount-C6vZ_uQD.js} +2 -2
- package/dist/{DataListTotalCount-GATGmIFG.js → DataListTotalCount-r6W_9ZyK.js} +2 -2
- package/dist/DataTable/index.cjs +20 -19
- package/dist/DataTable/index.mjs +20 -19
- package/dist/DataTable/test-utilities/index.cjs +7 -6
- package/dist/DataTable/test-utilities/index.mjs +7 -6
- package/dist/{DataTable-DT0XRYoA.js → DataTable-ew_joVib.js} +6 -6
- package/dist/{DataTable-Bq6rwcOY.js → DataTable-piIfonk8.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-BDboWSDf.js → DatePicker-BldiA4UQ.js} +12 -12
- package/dist/{DatePicker-RA8I4fVH.js → DatePicker-DxoxYhpG.js} +12 -12
- package/dist/{DayOfMonthSelect-BKehkoGA.js → DayOfMonthSelect-B63Axr_8.js} +2 -2
- package/dist/{DayOfMonthSelect-DiMAUsu2.js → DayOfMonthSelect-Ca8uDzBA.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-CyM5zhkt.js → DescriptionList-7i76Nvm0.js} +1 -1
- package/dist/{DescriptionList-CdQvN94K.js → DescriptionList-BWNGUu0A.js} +1 -1
- package/dist/Disclosure/index.cjs +9 -8
- package/dist/Disclosure/index.mjs +9 -8
- package/dist/{Disclosure-DAap6FY6.js → Disclosure-CVlb9EZc.js} +3 -3
- package/dist/{Disclosure-DZ49VfNs.js → Disclosure-DV9R5mBb.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-5hUbdo4n.js → DrawerGrid-C0zgpv6B.js} +2 -2
- package/dist/{DrawerGrid-CZNZ2Jl5.js → DrawerGrid-C4bxYfUu.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-B55fsBdA.js → Emphasis-HeV-td-B.js} +1 -1
- package/dist/{Emphasis-B4DVulSI.js → Emphasis-RB-M2LCD.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-liuD2P3c.js → FeatureSwitch-B1M_xKy1.js} +7 -7
- package/dist/{FeatureSwitch-Dj1t8Yhb.js → FeatureSwitch-BNVeGh4Q.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-kBnyPArq.js → Form-DrXVNH8k.js} +1 -1
- package/dist/{Form-Cxx4j-bl.js → Form-OaTx8DyX.js} +1 -1
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-DMoipQx7.js → FormField-B_bB_44y.js} +7 -7
- package/dist/{FormField-BYlWKpLv.js → FormField-CLpyTANY.js} +7 -7
- 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-O-BTw3v_.js → FormatFile-CFHU1b7x.js} +7 -7
- package/dist/{FormatFile-Z7-jUat9.js → FormatFile-Dd0S5cqs.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-LvbKZDFG.js → Gallery-ChXooN04.js} +3 -3
- package/dist/{Gallery-Bm4UkK9t.js → Gallery-Dw3LTe2N.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-Bmt83LoN.js → Glimmer-D6QRk9kr.js} +2 -2
- package/dist/{Glimmer-By-XvhGd.js → Glimmer-cPC_rbZh.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-BOHrh9nV.js → Grid-BHWcIUKk.js} +2 -2
- package/dist/{Grid-BMRAl3DB.js → Grid-CfuN_sJ6.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-CjF0hBSe.js → Heading-CN8lJwCa.js} +1 -1
- package/dist/{Heading-DoLEoxtf.js → Heading-VrwN5vNo.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-CRv2YuZk.js → InlineLabel-BN9goTzB.js} +1 -1
- package/dist/{InlineLabel-DeJD0m-U.js → InlineLabel-CPKxHlnq.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-KDAsnOcF.js → InputAvatar-BwUdMfRZ.js} +5 -5
- package/dist/{InputAvatar-DIoa5LCP.js → InputAvatar-CO_hrub3.js} +5 -5
- package/dist/InputDate/index.cjs +21 -21
- package/dist/InputDate/index.mjs +21 -21
- package/dist/{InputDate-Q0Z1sql-.js → InputDate-Bzkp78xi.js} +2 -2
- package/dist/{InputDate-CCi8xE3l.js → InputDate-Tt1Jl_Yi.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-3tA1X_53.js → InputEmail-BSMUaZai.js} +1 -1
- package/dist/{InputEmail-GozlrOEP.js → InputEmail-CWa-jzNI.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-B0f_wS96.js → InputFile-0Nwlg_VT.js} +6 -6
- package/dist/{InputFile-CBJaqPi0.js → InputFile-Dq1in7u2.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +10 -10
- package/dist/InputNumber/index.mjs +10 -10
- package/dist/{InputNumber-BKyIaaI_.js → InputNumber-B2KGQeEh.js} +1 -1
- package/dist/{InputNumber-Cjsgs6Do.js → InputNumber-axDqjVQW.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-BujWCiFS.js → InputPassword-C50QeaND.js} +1 -1
- package/dist/{InputPassword-C3PZdGyV.js → InputPassword-ClOQWwKm.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-P97GAzOb.js → InputPhoneNumber-VydfnZdF.js} +2 -2
- package/dist/{InputPhoneNumber-BPkZocMR.js → InputPhoneNumber-ilfx2UGe.js} +2 -2
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-BrD4JV2t.js → InputText-BRUOkgWX.js} +2 -2
- package/dist/{InputText-BRFYWtkH.js → InputText-Dod_BPPJ.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-3H-yJUGD.js → InputTime-BeGSHD0L.js} +3 -3
- package/dist/{InputTime-Cq88ktlz.js → InputTime-Bhgdn4Ik.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-B_SiGaSb.js → InputValidation-BUP00xe7.js} +2 -2
- package/dist/{InputValidation-C-CQTM5R.js → InputValidation-DHwhGKZ6.js} +2 -2
- package/dist/{InternalChipDismissible-DFcqaoE-.js → InternalChipDismissible--15YGOQd.js} +11 -11
- package/dist/{InternalChipDismissible-CfrorTCX.js → InternalChipDismissible-BsqEflFJ.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-DAYCj79q.js → LightBox-CoAEa2Cv.js} +7 -7
- package/dist/{LightBox-Dmu9VzZ_.js → LightBox-D1p8TmIu.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-Dcj2nlsD.js → List-Cth9KvSp.js} +10 -10
- package/dist/{List-CS5pwBT7.js → List-J3FY29Aj.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-7GUEsNNW.js → Markdown-BUhc8TqX.js} +7 -7
- package/dist/{Markdown-CQvgn4v3.js → Markdown-RYnsDiDN.js} +7 -7
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-CBzIiSA7.js → Menu-DCp-woA1.js} +9 -9
- package/dist/{Menu-CAG7ueLE.js → Menu-LfUdonJy.js} +9 -9
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-CfhQPtK1.js → Modal-CTA42KMh.js} +6 -6
- package/dist/{Modal-DRLJKp9Q.js → Modal-DPA0n0jL.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-BdrLugsi.js → MultiSelect-Cn6yuwv8.js} +4 -4
- package/dist/{MultiSelect-3jUU5h4w.js → MultiSelect-Cx8BQH_i.js} +4 -4
- package/dist/{Option-BG0mJl5e.js → Option-A-17y6jx.js} +1 -1
- package/dist/{Option-BeJ5l1Jw.js → Option-BOHm7iQz.js} +1 -1
- package/dist/Page/index.cjs +24 -23
- package/dist/Page/index.mjs +24 -23
- package/dist/{Page-BKR0pdMn.js → Page-BL-MqFS0.js} +8 -8
- package/dist/{Page-QISY4pRf.js → Page-DT8cH2Pe.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-goifM_Dk.js → Popover-C8bG53P4.js} +3 -3
- package/dist/{Popover-DYc4wsVx.js → Popover-VIoJkqMh.js} +3 -3
- 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-6cde_MA2.js → RadioGroup-C-CsY92V.js} +1 -1
- package/dist/{RadioGroup-BPxdyZZe.js → RadioGroup-qz99UMHM.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 -16
- package/dist/RecurringSelect/index.mjs +16 -16
- package/dist/{RecurringSelect-CEgZKvHv.js → RecurringSelect-C_KZU2b_.js} +6 -6
- package/dist/{RecurringSelect-DSGku0IO.js → RecurringSelect-Dpt-yHZe.js} +6 -6
- package/dist/Select/index.cjs +10 -10
- package/dist/Select/index.mjs +10 -10
- package/dist/SideDrawer/SideDrawer.d.ts +5 -1
- package/dist/SideDrawer/SideDrawerContext.d.ts +6 -0
- package/dist/SideDrawer/index.cjs +11 -9
- package/dist/SideDrawer/index.mjs +11 -9
- package/dist/{SideDrawer-BKG18DG4.js → SideDrawer-BM005WDZ.js} +52 -24
- package/dist/{SideDrawer-C4JGK5DR.js → SideDrawer-BQoHrBtE.js} +51 -23
- 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-DgXBPx39.js → StatusLabel-CQ8lm0ly.js} +2 -2
- package/dist/{StatusLabel-BT1EBR8G.js → StatusLabel-CwxK3uv2.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-BSuyfro-.js → Switch-C1HYo5Bf.js} +1 -1
- package/dist/{Switch-OED7SLDW.js → Switch-CRJl1O5U.js} +1 -1
- package/dist/Table/index.cjs +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/hooks/useTabsOverflow.d.ts +8 -0
- package/dist/Tabs/index.cjs +7 -2
- package/dist/Tabs/index.mjs +7 -2
- package/dist/{Tabs-BfBfnMwT.js → Tabs-BJN1JPvW.js} +41 -25
- package/dist/{Tabs-Kw1DYyxP.js → Tabs-x4ssIjs6.js} +42 -26
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-BCqBdHBX.js → Text-CDUEnudy.js} +1 -1
- package/dist/{Text-ZjdPK0z3.js → Text-CjJpb3et.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-LMLXTz9p.js → Tooltip-5SMgxJFU.js} +2 -2
- package/dist/{Tooltip-CGhB-AQ5.js → Tooltip-L9C5qzaU.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-C76c0N_3.js → _baseAssignValue-BUBynL2f.js} +1 -1
- package/dist/{_baseAssignValue-DIh6QD0X.js → _baseAssignValue-Bzisu3eo.js} +1 -1
- package/dist/{_baseEach-aH9IIblH.js → _baseEach-CGQFpY7j.js} +4 -4
- package/dist/{_baseEach-COuc5SYA.js → _baseEach-DaAWCQAC.js} +4 -4
- package/dist/{_defineProperty-B_0vuy5c.js → _defineProperty-CiN73Zkk.js} +3 -3
- package/dist/{_defineProperty-w7ntS4QC.js → _defineProperty-wV8eVHpQ.js} +3 -3
- package/dist/{_getTag-BDfSER_B.js → _getTag-2M3y8L3a.js} +1 -1
- package/dist/{_getTag-xSgER2N7.js → _getTag-By07iQjE.js} +1 -1
- package/dist/{_setToString-CdS5SHZA.js → _setToString-Cf0yTOlI.js} +3 -3
- package/dist/{_setToString-sSZBUUMA.js → _setToString-DYB7WbS7.js} +3 -3
- package/dist/{debounce-4xNya73B.js → debounce-DFcrDaT2.js} +4 -4
- package/dist/{debounce-Bj9Q8g2_.js → debounce-DXvJZU7k.js} +3 -3
- package/dist/{helpers-CZKPrNzo.js → helpers-CaVKd_oc.js} +1 -1
- package/dist/{helpers-Dwv0lVKp.js → helpers-D2oAjBCL.js} +1 -1
- package/dist/{index-DRDxU-bn.js → index-CAeF1Yf-.js} +1 -1
- package/dist/{index-Bl-t5aV0.js → index-DQ7vZAiX.js} +1 -1
- package/dist/index.cjs +149 -148
- package/dist/index.mjs +149 -148
- package/dist/{isObjectLike-DRD_omEI.js → isObjectLike-BRcf1x5E.js} +2 -2
- package/dist/{isObjectLike-CWs8tKhE.js → isObjectLike-By2TVBfv.js} +1 -1
- package/dist/{isSymbol-BVM7Nm4V.js → isSymbol-CVauyJsz.js} +1 -1
- package/dist/{isSymbol-UuOZAZZ5.js → isSymbol-EFVKJYy9.js} +1 -1
- package/dist/{noop-BmwgHC91.js → noop-BgZgmxVs.js} +1 -1
- package/dist/{noop-BFKnPRBW.js → noop-DK3tn3By.js} +1 -1
- package/dist/styles.css +90 -26
- package/dist/throttle-BxKAQmCt.js +80 -0
- package/dist/throttle-Cuy8zzht.js +77 -0
- package/dist/{useActiveLayout-Db-VjB8s.js → useActiveLayout-DV2kXXSm.js} +2 -2
- package/dist/{useActiveLayout-LDecnKhC.js → useActiveLayout-DzPmEQeM.js} +2 -2
- package/dist/{useAssert-DhIokrEA.js → useAssert-Ci8oMGhh.js} +2 -2
- package/dist/{useAssert-CTda4rBY.js → useAssert-DqxWykLb.js} +2 -2
- package/dist/{useBatchSelect-D9XwNYmQ.js → useBatchSelect-BFUDR6zS.js} +1 -1
- package/dist/{useBatchSelect-ChAmEJRm.js → useBatchSelect-Dl1TiDgb.js} +1 -1
- package/dist/{useIsMounted-DDLjyEQd.js → useIsMounted-Cc4Vkkxz.js} +1 -1
- package/dist/{useIsMounted-B7sAwLzO.js → useIsMounted-ncB5omxx.js} +1 -1
- package/dist/{useResizeObserver-t8i-yFhr.js → useResizeObserver-Dgvccp8o.js} +4 -75
- package/dist/{useResizeObserver-CkCQQzgx.js → useResizeObserver-qMtWkgou.js} +6 -77
- package/dist/{useResponsiveSizing-Ru7y--Nc.js → useResponsiveSizing-CZTqR4qQ.js} +1 -1
- package/dist/{useResponsiveSizing-ElPLlNIz.js → useResponsiveSizing-DWSGfGzM.js} +1 -1
- package/dist/{useScrollToActive-tTcYvugi.js → useScrollToActive-Bb9dLEzP.js} +9 -9
- package/dist/{useScrollToActive-BbkuYANs.js → useScrollToActive-kvR33TwI.js} +9 -9
- package/package.json +3 -3
- /package/dist/{AnimatedPresence-Cg2tHEjd.js → AnimatedPresence-7PPslxag.js} +0 -0
- /package/dist/{AnimatedPresence-_BsLSQ4P.js → AnimatedPresence-DyEbktGH.js} +0 -0
- /package/dist/{AtlantisContext-E898WJb4.js → AtlantisContext-BgZ6tQaf.js} +0 -0
- /package/dist/{AtlantisContext-DywZPX0g.js → AtlantisContext-CMRCmGKE.js} +0 -0
- /package/dist/{Body-Br9V3-hb.js → Body-C0h92TE_.js} +0 -0
- /package/dist/{Body-Dx0y6ZZ4.js → Body-D265W-1l.js} +0 -0
- /package/dist/{Content-BNKklIbX.js → Content-CXITxrA4.js} +0 -0
- /package/dist/{Content-CeP7OIgD.js → Content-ijNp9P3P.js} +0 -0
- /package/dist/{DataList-uKRRoAEv.js → DataList-CKvCUWm7.js} +0 -0
- /package/dist/{DataList-BOml1Kob.js → DataList-DyJah9Ne.js} +0 -0
- /package/dist/{DataList.const-DZ-ezQP2.js → DataList.const-BQ-gTL0f.js} +0 -0
- /package/dist/{DataList.const-BIzdTkXC.js → DataList.const-D2uyq8p_.js} +0 -0
- /package/dist/{DataListLayoutContext-8yl_ULuq.js → DataListLayoutContext-CFn-GdH8.js} +0 -0
- /package/dist/{DataListLayoutContext-CuqO9FY7.js → DataListLayoutContext-Dngup194.js} +0 -0
- /package/dist/{Divider-RdOXWitK.js → Divider-CZWV5FMn.js} +0 -0
- /package/dist/{Divider-CD7qAMmO.js → Divider-zs8w35Am.js} +0 -0
- /package/dist/{Flex-BQqMUahF.js → Flex-B-2n5FGM.js} +0 -0
- /package/dist/{Flex-CjRbbevF.js → Flex-Dy_EZ7bM.js} +0 -0
- /package/dist/{FormatDate-kgvSPYBI.js → FormatDate-Cg27MeIE.js} +0 -0
- /package/dist/{FormatDate-DTSxwYKF.js → FormatDate-DiepT6IB.js} +0 -0
- /package/dist/{FormatEmail-bcXpEYR5.js → FormatEmail-Csm7z5gk.js} +0 -0
- /package/dist/{FormatEmail-C_wjx7zu.js → FormatEmail-QFPz3vTt.js} +0 -0
- /package/dist/{FormatRelativeDateTime-Dd2CI4Sp.js → FormatRelativeDateTime-Cg6FprlT.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DFVXLJ4M.js → FormatRelativeDateTime-oB_U2cwb.js} +0 -0
- /package/dist/{FormatTime-CzFWrBmc.js → FormatTime-CZ2w6D7U.js} +0 -0
- /package/dist/{FormatTime-CEh771T5.js → FormatTime-DIIXW12t.js} +0 -0
- /package/dist/{Icon-DT5jb3j1.js → Icon-B5K-k88P.js} +0 -0
- /package/dist/{Icon-C5a2rKDn.js → Icon-CKzbLfwz.js} +0 -0
- /package/dist/{InputGroup-sDnq8mF5.js → InputGroup-Bc8fRwfm.js} +0 -0
- /package/dist/{InputGroup-BaE0d3-_.js → InputGroup-DmhkBmmV.js} +0 -0
- /package/dist/{InternalGridCell-BFnIHesB.js → InternalGridCell-Cny-aby_.js} +0 -0
- /package/dist/{InternalGridCell-BD1VAFbU.js → InternalGridCell-D-TBc2ql.js} +0 -0
- /package/dist/{Link-DNEpc53e.js → Link-BXQQGIdv.js} +0 -0
- /package/dist/{Link-lA03HUAf.js → Link-OMjRtwjn.js} +0 -0
- /package/dist/{ProgressBar-B3vDDUiw.js → ProgressBar-CpZDehYP.js} +0 -0
- /package/dist/{ProgressBar-rwX-vlZS.js → ProgressBar-fD7I3yl4.js} +0 -0
- /package/dist/{Spinner-DZ-9u_ix.js → Spinner-CWYTZNMB.js} +0 -0
- /package/dist/{Spinner-B2nZ092U.js → Spinner-C_VUK1P7.js} +0 -0
- /package/dist/{StatusIndicator-C_xUa6Pj.js → StatusIndicator-C8guE0Az.js} +0 -0
- /package/dist/{StatusIndicator-BXrBu7y3.js → StatusIndicator-HsUG9UhF.js} +0 -0
- /package/dist/{Typography-CVJEvEOt.js → Typography-BxHuYs-o.js} +0 -0
- /package/dist/{Typography-DPvvnhdJ.js → Typography-kdjvbOK4.js} +0 -0
- /package/dist/{_commonjsHelpers-CsMxikYM.js → _commonjsHelpers-DQu2iAfM.js} +0 -0
- /package/dist/{_commonjsHelpers-CtFaYVba.js → _commonjsHelpers-MjLI5q7t.js} +0 -0
- /package/dist/{_polyfill-node.process-BdL4WTh6.js → _polyfill-node.process-C0Vc_kMv.js} +0 -0
- /package/dist/{_polyfill-node.process-CUysbTw1.js → _polyfill-node.process-C7yRpmbp.js} +0 -0
- /package/dist/{tslib.es6-bTZo_tu6.js → tslib.es6-BfN2Tzk-.js} +0 -0
- /package/dist/{tslib.es6-CjZgS3x_.js → tslib.es6-Cp9q13k_.js} +0 -0
- /package/dist/{useChildComponent-BLIsnOvU.js → useChildComponent-BsWfgtot.js} +0 -0
- /package/dist/{useChildComponent-wRr4zKCx.js → useChildComponent-tLwXo0if.js} +0 -0
- /package/dist/{useFocusTrap-Bjr9iBsJ.js → useFocusTrap-CdTai3LS.js} +0 -0
- /package/dist/{useFocusTrap-WBrWJBGI.js → useFocusTrap-aorIzbaa.js} +0 -0
- /package/dist/{useFormFieldFocus-9tJo0CZi.js → useFormFieldFocus-D1WsrSDi.js} +0 -0
- /package/dist/{useFormFieldFocus-D3rQ2KPg.js → useFormFieldFocus-DzqghecR.js} +0 -0
- /package/dist/{useInView-C3_BqnZk.js → useInView-BMcbYL9d.js} +0 -0
- /package/dist/{useInView-DVmYM6QD.js → useInView-D3rAs5eq.js} +0 -0
- /package/dist/{useOnKeyDown-BvXnC6HN.js → useOnKeyDown-0sjhFkC7.js} +0 -0
- /package/dist/{useOnKeyDown-DId00rpS.js → useOnKeyDown-9eOEiqMb.js} +0 -0
- /package/dist/{useRefocusOnActivator-DKmnJsR4.js → useRefocusOnActivator-BY6yfU3j.js} +0 -0
- /package/dist/{useRefocusOnActivator-BmIUdoxU.js → useRefocusOnActivator-CMr73hlP.js} +0 -0
- /package/dist/{useSafeLayoutEffect-YQjrBbrt.js → useSafeLayoutEffect-B3UGWYPF.js} +0 -0
- /package/dist/{useSafeLayoutEffect-CvCbIyTo.js → useSafeLayoutEffect-DISHM5lB.js} +0 -0
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
export interface RegisteredComponents {
|
|
3
|
+
backButton: boolean;
|
|
4
|
+
}
|
|
2
5
|
interface SideDrawerContextValue {
|
|
3
6
|
readonly actionPortal?: HTMLElement | null;
|
|
4
7
|
readonly titlePortal?: HTMLElement | null;
|
|
5
8
|
readonly toolbarPortal?: HTMLElement | null;
|
|
6
9
|
readonly backPortal?: HTMLElement | null;
|
|
7
10
|
readonly footerPortal?: HTMLElement | null;
|
|
11
|
+
readonly components: RegisteredComponents;
|
|
12
|
+
readonly registerComponent: (key: keyof RegisteredComponents) => void;
|
|
13
|
+
readonly unRegisterComponent: (key: keyof RegisteredComponents) => void;
|
|
8
14
|
}
|
|
9
15
|
declare const SideDrawerContext: import("react").Context<SideDrawerContextValue>;
|
|
10
16
|
declare function useSideDrawerContext(): SideDrawerContextValue;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var SideDrawer = require('../SideDrawer-
|
|
3
|
+
var SideDrawer = require('../SideDrawer-BQoHrBtE.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('react-dom');
|
|
6
6
|
require('framer-motion');
|
|
7
7
|
require('@jobber/design');
|
|
8
|
-
require('../useRefocusOnActivator-
|
|
9
|
-
require('../useFocusTrap-
|
|
8
|
+
require('../useRefocusOnActivator-CMr73hlP.js');
|
|
9
|
+
require('../useFocusTrap-CdTai3LS.js');
|
|
10
10
|
require('classnames');
|
|
11
|
-
require('../useInView-
|
|
12
|
-
require('../
|
|
13
|
-
require('../
|
|
14
|
-
require('../
|
|
11
|
+
require('../useInView-BMcbYL9d.js');
|
|
12
|
+
require('../useIsMounted-ncB5omxx.js');
|
|
13
|
+
require('../useSafeLayoutEffect-DISHM5lB.js');
|
|
14
|
+
require('../Heading-VrwN5vNo.js');
|
|
15
|
+
require('../Typography-BxHuYs-o.js');
|
|
16
|
+
require('../Button-IlITnb5h.js');
|
|
15
17
|
require('react-router-dom');
|
|
16
|
-
require('../Icon-
|
|
17
|
-
require('../Flex-
|
|
18
|
+
require('../Icon-B5K-k88P.js');
|
|
19
|
+
require('../Flex-B-2n5FGM.js');
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
export { S as SideDrawer } from '../SideDrawer-
|
|
1
|
+
export { S as SideDrawer } from '../SideDrawer-BM005WDZ.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import 'framer-motion';
|
|
5
5
|
import '@jobber/design';
|
|
6
|
-
import '../useRefocusOnActivator-
|
|
7
|
-
import '../useFocusTrap-
|
|
6
|
+
import '../useRefocusOnActivator-BY6yfU3j.js';
|
|
7
|
+
import '../useFocusTrap-aorIzbaa.js';
|
|
8
8
|
import 'classnames';
|
|
9
|
-
import '../useInView-
|
|
10
|
-
import '../
|
|
11
|
-
import '../
|
|
12
|
-
import '../
|
|
9
|
+
import '../useInView-D3rAs5eq.js';
|
|
10
|
+
import '../useIsMounted-Cc4Vkkxz.js';
|
|
11
|
+
import '../useSafeLayoutEffect-B3UGWYPF.js';
|
|
12
|
+
import '../Heading-CN8lJwCa.js';
|
|
13
|
+
import '../Typography-kdjvbOK4.js';
|
|
14
|
+
import '../Button-BoJmpRfn.js';
|
|
13
15
|
import 'react-router-dom';
|
|
14
|
-
import '../Icon-
|
|
15
|
-
import '../Flex-
|
|
16
|
+
import '../Icon-CKzbLfwz.js';
|
|
17
|
+
import '../Flex-Dy_EZ7bM.js';
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import React, { createContext, useContext, useState, useId } from 'react';
|
|
1
|
+
import React, { createContext, useContext, useEffect, useState, useId } from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
3
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
4
|
import { tokens } from '@jobber/design';
|
|
5
|
-
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-
|
|
6
|
-
import { u as useFocusTrap_2 } from './useFocusTrap-
|
|
5
|
+
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-BY6yfU3j.js';
|
|
6
|
+
import { u as useFocusTrap_2 } from './useFocusTrap-aorIzbaa.js';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
|
-
import { u as useInView_2 } from './useInView-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { u as useInView_2 } from './useInView-D3rAs5eq.js';
|
|
9
|
+
import { u as useIsMounted_2 } from './useIsMounted-Cc4Vkkxz.js';
|
|
10
|
+
import { H as Heading } from './Heading-CN8lJwCa.js';
|
|
11
|
+
import { B as Button } from './Button-BoJmpRfn.js';
|
|
12
|
+
import { F as Flex } from './Flex-Dy_EZ7bM.js';
|
|
12
13
|
|
|
13
|
-
const SideDrawerContext = createContext({
|
|
14
|
+
const SideDrawerContext = createContext({
|
|
15
|
+
components: {
|
|
16
|
+
backButton: false,
|
|
17
|
+
},
|
|
18
|
+
registerComponent: () => undefined,
|
|
19
|
+
unRegisterComponent: () => undefined,
|
|
20
|
+
});
|
|
14
21
|
function useSideDrawerContext() {
|
|
15
22
|
const context = useContext(SideDrawerContext);
|
|
16
23
|
return context;
|
|
@@ -40,10 +47,16 @@ function SideDrawerToolbar({ children }) {
|
|
|
40
47
|
return createPortal(children, toolbarPortal);
|
|
41
48
|
}
|
|
42
49
|
|
|
43
|
-
var styles = {"drawer":"f-MKdBvCQXQ-","container":"ZMrzd2xJCtQ-","
|
|
50
|
+
var styles = {"drawer":"f-MKdBvCQXQ-","container":"ZMrzd2xJCtQ-","header":"di7wVz6Zdy8-","content":"ngWetY6itkw-","footer":"UXAxYfbJy1Q-","subtle":"j-us8-p4bfY-","hasShadow":"-Os-3OnRHg0-","headerActions":"sUo3MflQPVI-","hideWhenEmpty":"zbd79OKr6-M-","overlay":"zUQipP8Y6Tk-","reverseScroll":"D2c5PtgziXk-","headerShadowListener":"-zW1vxkjXYU-","footerShadowListener":"ZTQgpIVUpoQ-","backButton":"P8ODgotVStw-","backButtonVisible":"_2HLMHzID71U-"};
|
|
44
51
|
|
|
45
52
|
function SideDrawerBackButton({ onClick, }) {
|
|
46
|
-
const { backPortal } = useSideDrawerContext();
|
|
53
|
+
const { backPortal, registerComponent, unRegisterComponent } = useSideDrawerContext();
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
registerComponent("backButton");
|
|
56
|
+
return () => {
|
|
57
|
+
unRegisterComponent("backButton");
|
|
58
|
+
};
|
|
59
|
+
}, []);
|
|
47
60
|
if (!backPortal)
|
|
48
61
|
return null;
|
|
49
62
|
return createPortal(React.createElement(Button, { ariaLabel: "Back", icon: "longArrowLeft", variation: "subtle", type: "tertiary", onClick: onClick }), backPortal);
|
|
@@ -60,21 +73,20 @@ const variants = {
|
|
|
60
73
|
hidden: { x: "100%" },
|
|
61
74
|
visible: { x: 0, transitionEnd: { x: 0 } },
|
|
62
75
|
};
|
|
63
|
-
|
|
64
|
-
function SideDrawer({ children, onRequestClose, open, variation = "base", }) {
|
|
76
|
+
function SideDrawer({ children, onRequestClose, open, variation = "base", scrollDirection, }) {
|
|
65
77
|
var _a;
|
|
66
78
|
const [ref, setRef] = useState(null);
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
const backButton =
|
|
71
|
-
const footer = useSlotID();
|
|
79
|
+
const [components, setComponents] = useState({
|
|
80
|
+
backButton: false,
|
|
81
|
+
});
|
|
82
|
+
const { toolbar, title, actions, backButton, footer } = useSlotIDs();
|
|
72
83
|
useRefocusOnActivator_2(open);
|
|
73
84
|
const sideDrawerRef = useFocusTrap_2(open);
|
|
74
85
|
const [headerShadowRef, noHeaderShadow] = useInView_2();
|
|
75
86
|
const [footerShadowRef, noFooterShadow] = useInView_2();
|
|
76
87
|
const container = ((_a = globalThis.document) === null || _a === void 0 ? void 0 : _a.body) || null;
|
|
77
|
-
|
|
88
|
+
const isMounted = useIsMounted_2();
|
|
89
|
+
if (!isMounted.current && !container)
|
|
78
90
|
return null;
|
|
79
91
|
return createPortal(React.createElement(SideDrawerContext.Provider, { value: {
|
|
80
92
|
actionPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(actions.selector),
|
|
@@ -82,37 +94,53 @@ function SideDrawer({ children, onRequestClose, open, variation = "base", }) {
|
|
|
82
94
|
toolbarPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(toolbar.selector),
|
|
83
95
|
backPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(backButton.selector),
|
|
84
96
|
footerPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(footer.selector),
|
|
97
|
+
components,
|
|
98
|
+
registerComponent: key => setComponents(prev => (Object.assign(Object.assign({}, prev), { [key]: true }))),
|
|
99
|
+
unRegisterComponent: key => setComponents(prev => (Object.assign(Object.assign({}, prev), { [key]: false }))),
|
|
85
100
|
} },
|
|
86
101
|
open && (React.createElement("button", { className: styles.overlay, "aria-label": "Close", onClick: onRequestClose, type: "button" })),
|
|
87
|
-
React.createElement(AnimatePresence, { initial: false }, open && (React.createElement(motion.div, { className: styles.drawer,
|
|
102
|
+
React.createElement(AnimatePresence, { initial: false }, open && (React.createElement(motion.div, { className: classnames(styles.drawer, {
|
|
103
|
+
[styles.reverseScroll]: scrollDirection === "reverse",
|
|
104
|
+
}), ref: setRef, "data-elevation": "elevated", variants: variants, initial: "hidden", animate: "visible", exit: "hidden", transition: {
|
|
88
105
|
duration: tokens["timing-base"] / 1000,
|
|
89
106
|
} },
|
|
90
107
|
React.createElement("div", { ref: sideDrawerRef, role: "dialog", className: classnames(styles.container, styles.hasShadow, {
|
|
91
108
|
[styles.subtle]: variation === "subtle",
|
|
92
109
|
}), tabIndex: 0, onKeyUp: handleKeyUp },
|
|
93
|
-
React.createElement("div", { ref: headerShadowRef }),
|
|
94
110
|
React.createElement("div", { className: classnames(styles.header, {
|
|
95
111
|
[styles.hasShadow]: headerShadowRef.current && !noHeaderShadow,
|
|
96
112
|
}) },
|
|
97
113
|
React.createElement(Flex, { template: ["grow", "shrink"] },
|
|
98
114
|
React.createElement(Flex, { template: ["shrink", "grow"], gap: "none" },
|
|
99
|
-
React.createElement("div", Object.assign({
|
|
115
|
+
React.createElement("div", Object.assign({ className: classnames(styles.backButton, {
|
|
116
|
+
[styles.backButtonVisible]: components.backButton,
|
|
117
|
+
}) }, backButton.attr)),
|
|
100
118
|
React.createElement("div", Object.assign({}, title.attr))),
|
|
101
119
|
React.createElement("div", { className: styles.headerActions },
|
|
102
120
|
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, actions.attr)),
|
|
103
121
|
React.createElement(Button, { ariaLabel: "Close", icon: "cross", onClick: onRequestClose, type: "tertiary", variation: "subtle" }))),
|
|
104
122
|
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, toolbar.attr))),
|
|
105
|
-
React.createElement("div", { className: styles.content },
|
|
123
|
+
React.createElement("div", { className: styles.content },
|
|
124
|
+
React.createElement("div", { className: styles.headerShadowListener, ref: headerShadowRef }),
|
|
125
|
+
children,
|
|
126
|
+
React.createElement("div", { className: styles.footerShadowListener, ref: footerShadowRef })),
|
|
106
127
|
React.createElement("div", Object.assign({ className: classnames(styles.footer, styles.hideWhenEmpty, {
|
|
107
128
|
[styles.hasShadow]: footerShadowRef.current && !noFooterShadow,
|
|
108
|
-
}) }, footer.attr)),
|
|
109
|
-
React.createElement("div", { ref: footerShadowRef })))))), container);
|
|
129
|
+
}) }, footer.attr))))))), container);
|
|
110
130
|
function handleKeyUp(event) {
|
|
111
131
|
if (event.key === "Escape") {
|
|
112
132
|
onRequestClose();
|
|
113
133
|
}
|
|
114
134
|
}
|
|
115
135
|
}
|
|
136
|
+
function useSlotIDs() {
|
|
137
|
+
const toolbar = useSlotID();
|
|
138
|
+
const title = useSlotID("title");
|
|
139
|
+
const actions = useSlotID();
|
|
140
|
+
const backButton = useSlotID("back");
|
|
141
|
+
const footer = useSlotID();
|
|
142
|
+
return { toolbar, title, actions, backButton, footer };
|
|
143
|
+
}
|
|
116
144
|
function useSlotID(prefix) {
|
|
117
145
|
const id = useId();
|
|
118
146
|
const prefixedId = prefix ? `${prefix}-${id}` : id;
|
|
@@ -4,15 +4,22 @@ var React = require('react');
|
|
|
4
4
|
var ReactDOM = require('react-dom');
|
|
5
5
|
var framerMotion = require('framer-motion');
|
|
6
6
|
var design = require('@jobber/design');
|
|
7
|
-
var useRefocusOnActivator = require('./useRefocusOnActivator-
|
|
8
|
-
var useFocusTrap = require('./useFocusTrap-
|
|
7
|
+
var useRefocusOnActivator = require('./useRefocusOnActivator-CMr73hlP.js');
|
|
8
|
+
var useFocusTrap = require('./useFocusTrap-CdTai3LS.js');
|
|
9
9
|
var classnames = require('classnames');
|
|
10
|
-
var useInView = require('./useInView-
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
10
|
+
var useInView = require('./useInView-BMcbYL9d.js');
|
|
11
|
+
var useIsMounted = require('./useIsMounted-ncB5omxx.js');
|
|
12
|
+
var Heading = require('./Heading-VrwN5vNo.js');
|
|
13
|
+
var Button = require('./Button-IlITnb5h.js');
|
|
14
|
+
var Flex = require('./Flex-B-2n5FGM.js');
|
|
14
15
|
|
|
15
|
-
const SideDrawerContext = React.createContext({
|
|
16
|
+
const SideDrawerContext = React.createContext({
|
|
17
|
+
components: {
|
|
18
|
+
backButton: false,
|
|
19
|
+
},
|
|
20
|
+
registerComponent: () => undefined,
|
|
21
|
+
unRegisterComponent: () => undefined,
|
|
22
|
+
});
|
|
16
23
|
function useSideDrawerContext() {
|
|
17
24
|
const context = React.useContext(SideDrawerContext);
|
|
18
25
|
return context;
|
|
@@ -42,10 +49,16 @@ function SideDrawerToolbar({ children }) {
|
|
|
42
49
|
return ReactDOM.createPortal(children, toolbarPortal);
|
|
43
50
|
}
|
|
44
51
|
|
|
45
|
-
var styles = {"drawer":"f-MKdBvCQXQ-","container":"ZMrzd2xJCtQ-","
|
|
52
|
+
var styles = {"drawer":"f-MKdBvCQXQ-","container":"ZMrzd2xJCtQ-","header":"di7wVz6Zdy8-","content":"ngWetY6itkw-","footer":"UXAxYfbJy1Q-","subtle":"j-us8-p4bfY-","hasShadow":"-Os-3OnRHg0-","headerActions":"sUo3MflQPVI-","hideWhenEmpty":"zbd79OKr6-M-","overlay":"zUQipP8Y6Tk-","reverseScroll":"D2c5PtgziXk-","headerShadowListener":"-zW1vxkjXYU-","footerShadowListener":"ZTQgpIVUpoQ-","backButton":"P8ODgotVStw-","backButtonVisible":"_2HLMHzID71U-"};
|
|
46
53
|
|
|
47
54
|
function SideDrawerBackButton({ onClick, }) {
|
|
48
|
-
const { backPortal } = useSideDrawerContext();
|
|
55
|
+
const { backPortal, registerComponent, unRegisterComponent } = useSideDrawerContext();
|
|
56
|
+
React.useEffect(() => {
|
|
57
|
+
registerComponent("backButton");
|
|
58
|
+
return () => {
|
|
59
|
+
unRegisterComponent("backButton");
|
|
60
|
+
};
|
|
61
|
+
}, []);
|
|
49
62
|
if (!backPortal)
|
|
50
63
|
return null;
|
|
51
64
|
return ReactDOM.createPortal(React.createElement(Button.Button, { ariaLabel: "Back", icon: "longArrowLeft", variation: "subtle", type: "tertiary", onClick: onClick }), backPortal);
|
|
@@ -62,21 +75,20 @@ const variants = {
|
|
|
62
75
|
hidden: { x: "100%" },
|
|
63
76
|
visible: { x: 0, transitionEnd: { x: 0 } },
|
|
64
77
|
};
|
|
65
|
-
|
|
66
|
-
function SideDrawer({ children, onRequestClose, open, variation = "base", }) {
|
|
78
|
+
function SideDrawer({ children, onRequestClose, open, variation = "base", scrollDirection, }) {
|
|
67
79
|
var _a;
|
|
68
80
|
const [ref, setRef] = React.useState(null);
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
const backButton =
|
|
73
|
-
const footer = useSlotID();
|
|
81
|
+
const [components, setComponents] = React.useState({
|
|
82
|
+
backButton: false,
|
|
83
|
+
});
|
|
84
|
+
const { toolbar, title, actions, backButton, footer } = useSlotIDs();
|
|
74
85
|
useRefocusOnActivator.useRefocusOnActivator_2(open);
|
|
75
86
|
const sideDrawerRef = useFocusTrap.useFocusTrap_2(open);
|
|
76
87
|
const [headerShadowRef, noHeaderShadow] = useInView.useInView_2();
|
|
77
88
|
const [footerShadowRef, noFooterShadow] = useInView.useInView_2();
|
|
78
89
|
const container = ((_a = globalThis.document) === null || _a === void 0 ? void 0 : _a.body) || null;
|
|
79
|
-
|
|
90
|
+
const isMounted = useIsMounted.useIsMounted_2();
|
|
91
|
+
if (!isMounted.current && !container)
|
|
80
92
|
return null;
|
|
81
93
|
return ReactDOM.createPortal(React.createElement(SideDrawerContext.Provider, { value: {
|
|
82
94
|
actionPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(actions.selector),
|
|
@@ -84,37 +96,53 @@ function SideDrawer({ children, onRequestClose, open, variation = "base", }) {
|
|
|
84
96
|
toolbarPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(toolbar.selector),
|
|
85
97
|
backPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(backButton.selector),
|
|
86
98
|
footerPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(footer.selector),
|
|
99
|
+
components,
|
|
100
|
+
registerComponent: key => setComponents(prev => (Object.assign(Object.assign({}, prev), { [key]: true }))),
|
|
101
|
+
unRegisterComponent: key => setComponents(prev => (Object.assign(Object.assign({}, prev), { [key]: false }))),
|
|
87
102
|
} },
|
|
88
103
|
open && (React.createElement("button", { className: styles.overlay, "aria-label": "Close", onClick: onRequestClose, type: "button" })),
|
|
89
|
-
React.createElement(framerMotion.AnimatePresence, { initial: false }, open && (React.createElement(framerMotion.motion.div, { className: styles.drawer,
|
|
104
|
+
React.createElement(framerMotion.AnimatePresence, { initial: false }, open && (React.createElement(framerMotion.motion.div, { className: classnames(styles.drawer, {
|
|
105
|
+
[styles.reverseScroll]: scrollDirection === "reverse",
|
|
106
|
+
}), ref: setRef, "data-elevation": "elevated", variants: variants, initial: "hidden", animate: "visible", exit: "hidden", transition: {
|
|
90
107
|
duration: design.tokens["timing-base"] / 1000,
|
|
91
108
|
} },
|
|
92
109
|
React.createElement("div", { ref: sideDrawerRef, role: "dialog", className: classnames(styles.container, styles.hasShadow, {
|
|
93
110
|
[styles.subtle]: variation === "subtle",
|
|
94
111
|
}), tabIndex: 0, onKeyUp: handleKeyUp },
|
|
95
|
-
React.createElement("div", { ref: headerShadowRef }),
|
|
96
112
|
React.createElement("div", { className: classnames(styles.header, {
|
|
97
113
|
[styles.hasShadow]: headerShadowRef.current && !noHeaderShadow,
|
|
98
114
|
}) },
|
|
99
115
|
React.createElement(Flex.Flex, { template: ["grow", "shrink"] },
|
|
100
116
|
React.createElement(Flex.Flex, { template: ["shrink", "grow"], gap: "none" },
|
|
101
|
-
React.createElement("div", Object.assign({
|
|
117
|
+
React.createElement("div", Object.assign({ className: classnames(styles.backButton, {
|
|
118
|
+
[styles.backButtonVisible]: components.backButton,
|
|
119
|
+
}) }, backButton.attr)),
|
|
102
120
|
React.createElement("div", Object.assign({}, title.attr))),
|
|
103
121
|
React.createElement("div", { className: styles.headerActions },
|
|
104
122
|
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, actions.attr)),
|
|
105
123
|
React.createElement(Button.Button, { ariaLabel: "Close", icon: "cross", onClick: onRequestClose, type: "tertiary", variation: "subtle" }))),
|
|
106
124
|
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, toolbar.attr))),
|
|
107
|
-
React.createElement("div", { className: styles.content },
|
|
125
|
+
React.createElement("div", { className: styles.content },
|
|
126
|
+
React.createElement("div", { className: styles.headerShadowListener, ref: headerShadowRef }),
|
|
127
|
+
children,
|
|
128
|
+
React.createElement("div", { className: styles.footerShadowListener, ref: footerShadowRef })),
|
|
108
129
|
React.createElement("div", Object.assign({ className: classnames(styles.footer, styles.hideWhenEmpty, {
|
|
109
130
|
[styles.hasShadow]: footerShadowRef.current && !noFooterShadow,
|
|
110
|
-
}) }, footer.attr)),
|
|
111
|
-
React.createElement("div", { ref: footerShadowRef })))))), container);
|
|
131
|
+
}) }, footer.attr))))))), container);
|
|
112
132
|
function handleKeyUp(event) {
|
|
113
133
|
if (event.key === "Escape") {
|
|
114
134
|
onRequestClose();
|
|
115
135
|
}
|
|
116
136
|
}
|
|
117
137
|
}
|
|
138
|
+
function useSlotIDs() {
|
|
139
|
+
const toolbar = useSlotID();
|
|
140
|
+
const title = useSlotID("title");
|
|
141
|
+
const actions = useSlotID();
|
|
142
|
+
const backButton = useSlotID("back");
|
|
143
|
+
const footer = useSlotID();
|
|
144
|
+
return { toolbar, title, actions, backButton, footer };
|
|
145
|
+
}
|
|
118
146
|
function useSlotID(prefix) {
|
|
119
147
|
const id = React.useId();
|
|
120
148
|
const prefixedId = prefix ? `${prefix}-${id}` : id;
|
package/dist/Spinner/index.cjs
CHANGED
package/dist/Spinner/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { S as StatusIndicator } from '../StatusIndicator-
|
|
1
|
+
export { S as StatusIndicator } from '../StatusIndicator-C8guE0Az.js';
|
|
2
2
|
import 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var StatusLabel = require('../StatusLabel-
|
|
3
|
+
var StatusLabel = require('../StatusLabel-CQ8lm0ly.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../Typography-
|
|
7
|
-
require('../StatusIndicator-
|
|
6
|
+
require('../Typography-BxHuYs-o.js');
|
|
7
|
+
require('../StatusIndicator-HsUG9UhF.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { S as StatusLabel } from '../StatusLabel-
|
|
1
|
+
export { S as StatusLabel } from '../StatusLabel-CwxK3uv2.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../Typography-
|
|
5
|
-
import '../StatusIndicator-
|
|
4
|
+
import '../Typography-kdjvbOK4.js';
|
|
5
|
+
import '../StatusIndicator-C8guE0Az.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var Typography = require('./Typography-
|
|
6
|
-
var StatusIndicator = require('./StatusIndicator-
|
|
5
|
+
var Typography = require('./Typography-BxHuYs-o.js');
|
|
6
|
+
var StatusIndicator = require('./StatusIndicator-HsUG9UhF.js');
|
|
7
7
|
|
|
8
8
|
var styles = {"success":"WBxCEgPiC98-","warning":"ok6hVljkqSE-","critical":"-YTFHnzpkRE-","inactive":"_2F0I59nddP8-","informative":"BQd6Hylvxh0-","statusLabelRow":"MB0ycTR4PHg-","labelTextEndAligned":"_0kNfkSPBETw-","statusIndicatorWrapper":"NYMNxZSup30-"};
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { T as Typography } from './Typography-
|
|
4
|
-
import { S as StatusIndicator } from './StatusIndicator-
|
|
3
|
+
import { T as Typography } from './Typography-kdjvbOK4.js';
|
|
4
|
+
import { S as StatusIndicator } from './StatusIndicator-C8guE0Az.js';
|
|
5
5
|
|
|
6
6
|
var styles = {"success":"WBxCEgPiC98-","warning":"ok6hVljkqSE-","critical":"-YTFHnzpkRE-","inactive":"_2F0I59nddP8-","informative":"BQd6Hylvxh0-","statusLabelRow":"MB0ycTR4PHg-","labelTextEndAligned":"_0kNfkSPBETw-","statusIndicatorWrapper":"NYMNxZSup30-"};
|
|
7
7
|
|
package/dist/Switch/index.cjs
CHANGED
package/dist/Switch/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { T as Typography } from './Typography-
|
|
3
|
+
import { T as Typography } from './Typography-kdjvbOK4.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"track":"NaSI2jsLI0c-","isChecked":"HbAoDMJhkwY-","toggle":"cc259FtdxeE-","label":"YZ-HIehHOBA-","pip":"_2hxova2FHpM-","disabled":"_6hWvJHjyLlk-"};
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var Typography = require('./Typography-
|
|
5
|
+
var Typography = require('./Typography-BxHuYs-o.js');
|
|
6
6
|
|
|
7
7
|
var styles = {"track":"NaSI2jsLI0c-","isChecked":"HbAoDMJhkwY-","toggle":"cc259FtdxeE-","label":"YZ-HIehHOBA-","pip":"_2hxova2FHpM-","disabled":"_6hWvJHjyLlk-"};
|
|
8
8
|
|
package/dist/Table/index.cjs
CHANGED
package/dist/Table/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Body, C as Cell, b as CellCurrency, a as CellNumeric, F as Footer, H as Header, R as Row, T as Table } from '../Body-
|
|
1
|
+
export { B as Body, C as Cell, b as CellCurrency, a as CellNumeric, F as Footer, H as Header, R as Row, T as Table } from '../Body-C0h92TE_.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@jobber/formatters';
|
|
4
4
|
import 'classnames';
|
package/dist/Tabs/index.cjs
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Tabs = require('../Tabs-
|
|
3
|
+
var Tabs = require('../Tabs-BJN1JPvW.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../
|
|
6
|
+
require('../throttle-BxKAQmCt.js');
|
|
7
|
+
require('../_commonjsHelpers-DQu2iAfM.js');
|
|
8
|
+
require('../debounce-DXvJZU7k.js');
|
|
9
|
+
require('../isObjectLike-By2TVBfv.js');
|
|
10
|
+
require('../isSymbol-CVauyJsz.js');
|
|
11
|
+
require('../Typography-BxHuYs-o.js');
|
|
7
12
|
|
|
8
13
|
|
|
9
14
|
|
package/dist/Tabs/index.mjs
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
export { a as Tab, T as Tabs } from '../Tabs-
|
|
1
|
+
export { a as Tab, T as Tabs } from '../Tabs-x4ssIjs6.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../
|
|
4
|
+
import '../throttle-Cuy8zzht.js';
|
|
5
|
+
import '../_commonjsHelpers-MjLI5q7t.js';
|
|
6
|
+
import '../debounce-DFcrDaT2.js';
|
|
7
|
+
import '../isObjectLike-BRcf1x5E.js';
|
|
8
|
+
import '../isSymbol-EFVKJYy9.js';
|
|
9
|
+
import '../Typography-kdjvbOK4.js';
|
|
@@ -2,53 +2,69 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var
|
|
5
|
+
var throttle = require('./throttle-BxKAQmCt.js');
|
|
6
|
+
var Typography = require('./Typography-BxHuYs-o.js');
|
|
6
7
|
|
|
7
8
|
var styles = {"tabs":"-kxlqXO5UN0-","overflow":"qI4lWMSNH40-","overflowRight":"xohIah5wcoE-","overflowLeft":"qnY4S9sz-8g-","tabRow":"wdW31G8Trag-","tab":"MO7CXQ8xJXo-","selected":"kqof65gyv7g-","tabContent":"AimQioztR1U-"};
|
|
8
9
|
|
|
9
|
-
function
|
|
10
|
-
const activeTabInitialValue = defaultTab < React.Children.count(children) ? defaultTab : 0;
|
|
11
|
-
const [activeTab, setActiveTab] = React.useState(activeTabInitialValue);
|
|
10
|
+
function useTabsOverflow() {
|
|
12
11
|
const [overflowRight, setOverflowRight] = React.useState(false);
|
|
13
12
|
const [overflowLeft, setOverflowLeft] = React.useState(false);
|
|
14
13
|
const tabRow = React.useRef();
|
|
15
|
-
const overflowClassNames = classnames(styles.overflow, {
|
|
16
|
-
[styles.overflowRight]: overflowRight,
|
|
17
|
-
[styles.overflowLeft]: overflowLeft,
|
|
18
|
-
});
|
|
19
|
-
const activateTab = (index) => {
|
|
20
|
-
return () => {
|
|
21
|
-
setActiveTab(index);
|
|
22
|
-
if (onTabChange) {
|
|
23
|
-
onTabChange(index);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
const activeTabProps = React.Children.toArray(children)[activeTab].props;
|
|
28
14
|
const handleOverflowing = () => {
|
|
29
15
|
if (tabRow.current) {
|
|
30
16
|
const scrollWidth = tabRow.current.scrollWidth;
|
|
31
17
|
const clientWidth = tabRow.current.clientWidth;
|
|
32
18
|
const maxScroll = scrollWidth - clientWidth;
|
|
33
19
|
const scrollPos = tabRow.current.scrollLeft;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
setOverflowLeft(scrollPos > 0 && scrollPos < scrollWidth);
|
|
37
|
-
}
|
|
20
|
+
setOverflowRight(scrollPos >= 0 && scrollPos != maxScroll);
|
|
21
|
+
setOverflowLeft(scrollPos > 0 && scrollPos < scrollWidth);
|
|
38
22
|
}
|
|
39
23
|
};
|
|
24
|
+
const throttledHandleOverflowing = React.useCallback(throttle.throttle(handleOverflowing, 100), []);
|
|
40
25
|
React.useEffect(() => {
|
|
26
|
+
var _a;
|
|
41
27
|
handleOverflowing();
|
|
42
|
-
tabRow.current
|
|
43
|
-
tabRow.current.addEventListener("scroll", handleOverflowing);
|
|
28
|
+
(_a = tabRow === null || tabRow === void 0 ? void 0 : tabRow.current) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", throttledHandleOverflowing);
|
|
44
29
|
return () => {
|
|
45
|
-
|
|
30
|
+
var _a;
|
|
31
|
+
(_a = tabRow === null || tabRow === void 0 ? void 0 : tabRow.current) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", throttledHandleOverflowing);
|
|
46
32
|
};
|
|
47
33
|
});
|
|
34
|
+
return {
|
|
35
|
+
overflowRight,
|
|
36
|
+
overflowLeft,
|
|
37
|
+
tabRow,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function Tabs({ children, defaultTab = 0, onTabChange }) {
|
|
42
|
+
var _a;
|
|
43
|
+
const activeTabInitialValue = defaultTab < React.Children.count(children) ? defaultTab : 0;
|
|
44
|
+
const [activeTab, setActiveTab] = React.useState(activeTabInitialValue);
|
|
45
|
+
const { overflowRight, overflowLeft, tabRow } = useTabsOverflow();
|
|
46
|
+
const overflowClassNames = classnames(styles.overflow, {
|
|
47
|
+
[styles.overflowRight]: overflowRight,
|
|
48
|
+
[styles.overflowLeft]: overflowLeft,
|
|
49
|
+
});
|
|
50
|
+
const activateTab = (index) => {
|
|
51
|
+
return () => {
|
|
52
|
+
setActiveTab(index);
|
|
53
|
+
if (onTabChange) {
|
|
54
|
+
onTabChange(index);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
const activeTabProps = (_a = React.Children.toArray(children)[activeTab]) === null || _a === void 0 ? void 0 : _a.props;
|
|
59
|
+
React.useEffect(() => {
|
|
60
|
+
if (activeTab > React.Children.count(children) - 1) {
|
|
61
|
+
setActiveTab(activeTabInitialValue);
|
|
62
|
+
}
|
|
63
|
+
}, [React.Children.count(children)]);
|
|
48
64
|
return (React.createElement("div", { className: styles.tabs },
|
|
49
65
|
React.createElement("div", { className: overflowClassNames },
|
|
50
66
|
React.createElement("ul", { role: "tablist", className: styles.tabRow, ref: tabRow }, React.Children.map(children, (tab, index) => (React.createElement(InternalTab, { label: tab.props.label, selected: activeTab === index, activateTab: activateTab(index), onClick: tab.props.onClick }))))),
|
|
51
|
-
React.createElement("section", { role: "tabpanel", className: styles.tabContent, "aria-label": activeTabProps.label }, activeTabProps.children)));
|
|
67
|
+
React.createElement("section", { role: "tabpanel", className: styles.tabContent, "aria-label": activeTabProps === null || activeTabProps === void 0 ? void 0 : activeTabProps.label }, activeTabProps === null || activeTabProps === void 0 ? void 0 : activeTabProps.children)));
|
|
52
68
|
}
|
|
53
69
|
function Tab({ label }) {
|
|
54
70
|
return React.createElement(React.Fragment, null, label);
|