@jobber/components 5.8.0 → 5.9.1-fix-dynami.5
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/SideDrawer.d.ts +1 -0
- package/SideDrawer.js +17 -0
- 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-B9HWMJcK.js → AnimatedSwitcher-BYMIHeh6.js} +1 -1
- package/dist/{AnimatedSwitcher-CH2ZwoJn.js → AnimatedSwitcher-Cb14vgGy.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-B3LotzCn.js → Autocomplete-BmLlCa2j.js} +9 -9
- package/dist/{Autocomplete-CkXwL4xm.js → Autocomplete-_IxwDA6o.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-DqxZOhT8.js → Avatar-BFQMnXRt.js} +1 -1
- package/dist/{Avatar-BY6DprHF.js → Avatar-q6pu_Xgu.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-BiKoyV3U.js → Banner-BiW8kekm.js} +5 -5
- package/dist/{Banner-CVkmAPIK.js → Banner-q0rrlh6i.js} +5 -5
- package/dist/{BannerIcon-BCDzc1M7.js → BannerIcon-By7BHRnu.js} +1 -1
- package/dist/{BannerIcon-Dl4auE1N.js → BannerIcon-ChCNHXFO.js} +1 -1
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-JsS0xHKE.js → Box-DoCWQM8Z.js} +1 -1
- package/dist/{Box-DeW-QV6C.js → Box-Zj2VwRDT.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-BHR__Xp1.js → Button-Blb9tzce.js} +2 -2
- package/dist/{Button-I8bsy701.js → Button-ByyUuJVo.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-DMmogQAx.js → ButtonDismiss-Ck_z67Co.js} +1 -1
- package/dist/{ButtonDismiss-j7MU_hZo.js → ButtonDismiss-DtlM9uKJ.js} +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/{Card-BocX3_Ia.js → Card-BNQoZmGY.js} +3 -3
- package/dist/{Card-Ckr0EVWl.js → Card-DkfmOIqD.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-DIzQIW7B.js → Checkbox-CpldsKXI.js} +3 -3
- package/dist/{Checkbox-DVByk01Q.js → Checkbox-fbJYW9PJ.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-DhWVHTbu.js → Chip-Bjtg2QrA.js} +6 -6
- package/dist/{Chip-CLtoAaN5.js → Chip-VUkhr1Se.js} +6 -6
- package/dist/{ChipDismissible-CEa1bMh_.js → ChipDismissible-BHOqNF1C.js} +3 -3
- package/dist/{ChipDismissible-DibQQH6k.js → ChipDismissible-DXtkNLTc.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-Cz5YCpMy.js → Chips-BSCIGIJE.js} +2 -2
- package/dist/{Chips-DTGxq51c.js → Chips-yAswjmFY.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-kuzmUqKz.js → Combobox-BKQLv1UJ.js} +9 -9
- package/dist/{Combobox-D27MBI1T.js → Combobox-Bn6r-xV_.js} +9 -9
- package/dist/{ComboboxAction-CsEoKRrz.js → ComboboxAction-DiAhUdL0.js} +2 -2
- package/dist/{ComboboxAction-D0FauVwL.js → ComboboxAction-DqUkwNE8.js} +2 -2
- package/dist/{ComboboxActivator-DZamNwAl.js → ComboboxActivator-BiOBBh4A.js} +4 -4
- package/dist/{ComboboxActivator-C1WKJtZT.js → ComboboxActivator-WANXy5GU.js} +4 -4
- package/dist/{ComboboxContent-BGgLoDgj.js → ComboboxContent-DyuW5QVj.js} +7 -7
- package/dist/{ComboboxContent-DtkiM37m.js → ComboboxContent-pNW0FPjl.js} +7 -7
- package/dist/{ComboboxContentHeader-hmvZBl05.js → ComboboxContentHeader-BeSttbSm.js} +2 -2
- package/dist/{ComboboxContentHeader-BNpSeWyK.js → ComboboxContentHeader-D3zTZXAN.js} +2 -2
- package/dist/{ComboboxContentList-CVIfmWjI.js → ComboboxContentList-BzFybHsO.js} +6 -6
- package/dist/{ComboboxContentList-Bva97zcQ.js → ComboboxContentList-Djse0eUR.js} +6 -6
- package/dist/{ComboboxContentSearch-DNlpfNla.js → ComboboxContentSearch-1CaagQI0.js} +1 -1
- package/dist/{ComboboxContentSearch-Be-ey4CS.js → ComboboxContentSearch-Pquw7Amf.js} +1 -1
- package/dist/{ComboboxLoadMore-mNGUkQ-F.js → ComboboxLoadMore-Cvm-x78B.js} +1 -1
- package/dist/{ComboboxLoadMore-C4I6fgxB.js → ComboboxLoadMore-YgxKyvv_.js} +1 -1
- package/dist/{ComboboxOption-BYvK0Yir.js → ComboboxOption-CSV8X4SZ.js} +3 -3
- package/dist/{ComboboxOption-C2sn9KlI.js → ComboboxOption-gkMxLQKd.js} +3 -3
- package/dist/{ComboboxProvider-CkACpob9.js → ComboboxProvider-BXwB7auz.js} +1 -1
- package/dist/{ComboboxProvider-BxfzBdSk.js → ComboboxProvider-Cxb9Szkg.js} +1 -1
- package/dist/{ComboboxTrigger-DRpYPWGB.js → ComboboxTrigger-Crlx0-in.js} +4 -4
- package/dist/{ComboboxTrigger-wrTNhub4.js → ComboboxTrigger-D9eeJfj8.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-BiUQZqQg.js → ConfirmationModal-DKUlFMaT.js} +4 -4
- package/dist/{ConfirmationModal-D08udhAq.js → ConfirmationModal-DaBVLho6.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-DrkgmKWM.js → Countdown-CNjHyJbD.js} +1 -1
- package/dist/{Countdown-ftqIO1sX.js → Countdown-D3xBgJnI.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-CzP4c-WN.js → DataDump-11Z-otQH.js} +3 -3
- package/dist/{DataDump-CjYbSibg.js → DataDump-CNuzUjpQ.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 -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-DNiFJU0o.js → DataList-CNPy8l46.js} +21 -21
- package/dist/{DataList-CwaPgcv8.js → DataList-vkGvK9QV.js} +21 -21
- package/dist/{DataList.utils-DfTSPcoz.js → DataList.utils-D6e57TEi.js} +8 -8
- package/dist/{DataList.utils-DokU6uyp.js → DataList.utils-SaBevR6E.js} +8 -8
- package/dist/{DataListAction-bjnrqVn5.js → DataListAction-57d1FMk9.js} +3 -3
- package/dist/{DataListAction-DmO9fONI.js → DataListAction-CoEl1jye.js} +3 -3
- package/dist/{DataListActions-C83u8wGn.js → DataListActions-CajV3qsF.js} +6 -6
- package/dist/{DataListActions-ChIm9giO.js → DataListActions-DhxdhskI.js} +6 -6
- package/dist/{DataListActionsMenu-CS8d2H5c.js → DataListActionsMenu-D5wPmBcR.js} +5 -5
- package/dist/{DataListActionsMenu-C5qOwrRU.js → DataListActionsMenu-YM2-ZGya.js} +5 -5
- package/dist/{DataListBulkActions-4wF2nn0q.js → DataListBulkActions-D1ygNTr-.js} +3 -3
- package/dist/{DataListBulkActions-DS7kHmw1.js → DataListBulkActions-D5x140_W.js} +3 -3
- package/dist/{DataListContext-CfLBiORV.js → DataListContext-Bw8UISA3.js} +1 -1
- package/dist/{DataListContext-D4Fw5c9x.js → DataListContext-YBDVSTiE.js} +1 -1
- package/dist/{DataListEmptyState-jrAJEkab.js → DataListEmptyState-CGt1gybU.js} +4 -4
- package/dist/{DataListEmptyState-DHy3WRAk.js → DataListEmptyState-Dn5imVir.js} +4 -4
- package/dist/{DataListFilters-RVYeG7GN.js → DataListFilters-ChxuZKbo.js} +5 -5
- package/dist/{DataListFilters-DHTtdEnj.js → DataListFilters-D5gG4rrO.js} +5 -5
- package/dist/{DataListHeader-BkXs-JCK.js → DataListHeader-CMQ3iCng.js} +11 -11
- package/dist/{DataListHeader-CTQf3F_y.js → DataListHeader-CldT33NN.js} +11 -11
- package/dist/{DataListHeaderTile-CECKTyaK.js → DataListHeaderTile-DV1JAsyj.js} +5 -5
- package/dist/{DataListHeaderTile-Bt-KE-_Z.js → DataListHeaderTile-Yit92Nrt.js} +5 -5
- package/dist/{DataListItem-DyQELPkj.js → DataListItem-BBYU1oPU.js} +10 -10
- package/dist/{DataListItem-DfXwQ4FC.js → DataListItem-C6pD1Uvo.js} +10 -10
- package/dist/{DataListItemActions-fL14KecK.js → DataListItemActions-BBU-82p9.js} +2 -2
- package/dist/{DataListItemActions-0nnrRG6R.js → DataListItemActions-iKeotUMH.js} +2 -2
- package/dist/{DataListItemActionsOverflow-Blfs0qZX.js → DataListItemActionsOverflow-BLwxlIv7.js} +3 -3
- package/dist/{DataListItemActionsOverflow-Cps1O4va.js → DataListItemActionsOverflow-X3ZEJVJC.js} +3 -3
- package/dist/{DataListItemClickable-DEyJ0ZBJ.js → DataListItemClickable-BTL5CmoQ.js} +3 -3
- package/dist/{DataListItemClickable-S3Z6UFHi.js → DataListItemClickable-BthED2Iu.js} +3 -3
- package/dist/{DataListItems-CvopZ99C.js → DataListItems-B8t9Jauy.js} +3 -3
- package/dist/{DataListItems-CC_DDHL-.js → DataListItems-D2KdeMx6.js} +3 -3
- package/dist/{DataListLayout-DCfEeFTG.js → DataListLayout-DO9UeD9u.js} +3 -3
- package/dist/{DataListLayout-BUYTpGzO.js → DataListLayout-P7iCjgJS.js} +3 -3
- package/dist/{DataListLayoutActions-DteWZ5AT.js → DataListLayoutActions-Bd6Sq_4u.js} +4 -4
- package/dist/{DataListLayoutActions-BruPwoZn.js → DataListLayoutActions-EknNJZCn.js} +4 -4
- package/dist/{DataListLayoutContext-Cx1xMgAj.js → DataListLayoutContext-Cc_jKCd9.js} +1 -1
- package/dist/{DataListLayoutContext-CSQnIBf2.js → DataListLayoutContext-Dv9VSDxY.js} +1 -1
- package/dist/{DataListLoadMore-FGTr5oJE.js → DataListLoadMore-BOjeuolZ.js} +5 -5
- package/dist/{DataListLoadMore-DFeQhnLp.js → DataListLoadMore-CnNu2v1J.js} +5 -5
- package/dist/{DataListLoadingState-DgHpd2na.js → DataListLoadingState-BZt_P4Vn.js} +3 -3
- package/dist/{DataListLoadingState-DNNkaB03.js → DataListLoadingState-OGcZGDo2.js} +3 -3
- package/dist/{DataListOverflowFade-ByTuPBSC.js → DataListOverflowFade-B4_JhtYk.js} +1 -1
- package/dist/{DataListOverflowFade-DDRCgzGR.js → DataListOverflowFade-DZ-TvgKR.js} +1 -1
- package/dist/{DataListSearch-e7-RqK1U.js → DataListSearch-CtjO9Zwp.js} +6 -6
- package/dist/{DataListSearch-D4mFOYm0.js → DataListSearch-Dh0b1dJ5.js} +6 -6
- package/dist/{DataListSort--cMPwE0g.js → DataListSort-B-akbq0i.js} +6 -6
- package/dist/{DataListSort-DioDYCKp.js → DataListSort-Bi6YSz5g.js} +6 -6
- package/dist/{DataListSortingOptions-B7jhDXMI.js → DataListSortingOptions-BHx3r-07.js} +3 -3
- package/dist/{DataListSortingOptions-Uwmu7Ggl.js → DataListSortingOptions-NrjjIkhS.js} +3 -3
- package/dist/{DataListStatusBar-D-xE5f86.js → DataListStatusBar-CIXPX0gG.js} +2 -2
- package/dist/{DataListStatusBar-D6bes_K3.js → DataListStatusBar-o8-SZ3uf.js} +2 -2
- package/dist/{DataListStickyHeader-R83DkDxw.js → DataListStickyHeader-9pIyslLB.js} +1 -1
- package/dist/{DataListStickyHeader-D5vXexTN.js → DataListStickyHeader-Bzw7_p5s.js} +1 -1
- package/dist/{DataListTags-BqtwytUY.js → DataListTags-Bpnl3Xch.js} +2 -2
- package/dist/{DataListTags-wgq4bjn6.js → DataListTags-CAzTu9GD.js} +2 -2
- package/dist/{DataListTotalCount-Bjiwk2QR.js → DataListTotalCount-DFifN8dd.js} +2 -2
- package/dist/{DataListTotalCount-B0nOyf4e.js → DataListTotalCount-t6leL9V5.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-BBvvJhJI.js → DataTable-2mjZ6-K5.js} +6 -6
- package/dist/{DataTable-Cw_E51PU.js → DataTable-G1hb6OMu.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-IHt8gwam.js → DatePicker-BWNXH5Q0.js} +11 -11
- package/dist/{DatePicker-WpIR6wy-.js → DatePicker-CaK87dFq.js} +11 -11
- package/dist/{DayOfMonthSelect-DXv9zdwm.js → DayOfMonthSelect-CpitRxCL.js} +2 -2
- package/dist/{DayOfMonthSelect-B4-Nez3f.js → DayOfMonthSelect-GhkPcOoU.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-EeOM0zXb.js → DescriptionList-Bv9THCze.js} +1 -1
- package/dist/{DescriptionList-B_Y8YGiX.js → DescriptionList-DFqjwqAr.js} +1 -1
- package/dist/Disclosure/index.cjs +9 -8
- package/dist/Disclosure/index.mjs +9 -8
- package/dist/{Disclosure-B9Jqt6cx.js → Disclosure-Cx3e_qmG.js} +3 -3
- package/dist/{Disclosure-B5UShlac.js → Disclosure-JxNA8VN9.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-CcwscqNX.js → DrawerGrid-Bn0i4wpj.js} +2 -2
- package/dist/{DrawerGrid-9rOqfq2P.js → DrawerGrid-DFp-Yy22.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-B8N2hTpu.js → Emphasis-IMT2ghhj.js} +1 -1
- package/dist/{Emphasis-DiTTTWcX.js → Emphasis-hO1OMe2U.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-Bi43WVwp.js → FeatureSwitch-C1agbesv.js} +7 -7
- package/dist/{FeatureSwitch-CgqsISla.js → FeatureSwitch-I0UtIHjz.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--WAg2TRD.js → Form-DEPlzn9h.js} +1 -1
- package/dist/{Form-BcEIhOxZ.js → Form-wCamMT95.js} +1 -1
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-D53eOhQP.js → FormField-BIbIKdkC.js} +7 -7
- package/dist/{FormField-Bvnon6yy.js → FormField-qW93Wvmk.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-C0MQ_GsN.js → FormatFile-BjWDSzkC.js} +7 -7
- package/dist/{FormatFile-BcOjk1AV.js → FormatFile-Dn-Vo9Np.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-B9GEOSBl.js → Gallery-CKxAh37K.js} +3 -3
- package/dist/{Gallery-DgjvxWur.js → Gallery-DJ5BerhA.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-CHCNn56m.js → Glimmer-Cwy07hRg.js} +2 -2
- package/dist/{Glimmer-Db0GJyw2.js → Glimmer-DaIa7n1g.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-BxxM9ZUK.js → Grid-BNkRPgMH.js} +2 -2
- package/dist/{Grid-C8CpJ_7Q.js → Grid-iNfYapDJ.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-BzRSmk4Y.js → Heading-BqInrdu3.js} +1 -1
- package/dist/{Heading-BHGddlsm.js → Heading-CdjtdN_u.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-Dn3DlAVr.js → InlineLabel-BBPxTyjD.js} +1 -1
- package/dist/{InlineLabel-CN4nr8pu.js → InlineLabel-BmvKX2WF.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-BfYD3W3r.js → InputAvatar-B4ssBZns.js} +5 -5
- package/dist/{InputAvatar-CtOpOA-S.js → InputAvatar-_JvNscOe.js} +5 -5
- package/dist/InputDate/index.cjs +21 -21
- package/dist/InputDate/index.mjs +21 -21
- package/dist/{InputDate-DSZrhVmm.js → InputDate-B7EBhxu4.js} +2 -2
- package/dist/{InputDate-Bk6I3BXj.js → InputDate-DEqBPJ1m.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-BIkJBqph.js → InputEmail-DoaO23Mc.js} +1 -1
- package/dist/{InputEmail-CYEmmFV7.js → InputEmail-YeYaps54.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-DrGAVAM9.js → InputFile-CpHv5fO_.js} +6 -6
- package/dist/{InputFile-BUgu9c6M.js → InputFile-iWORr2HF.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-xZAPWEIc.js → InputNumber-BhlHO-Rx.js} +1 -1
- package/dist/{InputNumber-DOrnEELo.js → InputNumber-D9Rg1OY5.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-CgYOCKPi.js → InputPassword-BeSdTdkf.js} +1 -1
- package/dist/{InputPassword-B_OXz9CO.js → InputPassword-D26NAR0j.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-ACWSemSz.js → InputPhoneNumber-CJImJiA3.js} +2 -2
- package/dist/{InputPhoneNumber-Cn-kgoB8.js → InputPhoneNumber-XWpG6GBo.js} +2 -2
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-uwigo5Y3.js → InputText-CHWFwKKq.js} +2 -2
- package/dist/{InputText-BLfZQWZk.js → InputText-Dp901cv7.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-DIXRlRXd.js → InputTime-ChzroWee.js} +3 -3
- package/dist/{InputTime-DjCbwFem.js → InputTime-Kv6QQ3_F.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-EQBhUJJq.js → InputValidation-BbUFEAPL.js} +2 -2
- package/dist/{InputValidation-Cpk83VQp.js → InputValidation-fZquaNw8.js} +2 -2
- package/dist/{InternalChipDismissible-BQj6-Cyv.js → InternalChipDismissible-BDZ1N3Kq.js} +11 -11
- package/dist/{InternalChipDismissible-Dmf8DL-N.js → InternalChipDismissible-Coc3awOq.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-BW93IxnR.js → LightBox--8e1zL2Q.js} +7 -7
- package/dist/{LightBox-D3NpUmPr.js → LightBox-C_-kvev9.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-BkS7dN_e.js → List-DFosY2vf.js} +10 -10
- package/dist/{List-vaz0Fg6Z.js → List-DKVs6oON.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-881T9E6i.js → Markdown-Ad9WGpWq.js} +7 -7
- package/dist/{Markdown-WQmeDRw0.js → Markdown-CB2bwdIK.js} +7 -7
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-BiO6Ak3S.js → Menu-CMeosM09.js} +8 -8
- package/dist/{Menu-B7mE6X56.js → Menu-D0QhXiHY.js} +8 -8
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-C6yR7-Ax.js → Modal-DKwq4X-e.js} +6 -6
- package/dist/{Modal-RBqDdO6u.js → Modal-DaZgs95D.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-DqvTwggK.js → MultiSelect-C4JH3JcY.js} +3 -3
- package/dist/{MultiSelect-Cs9N9HnP.js → MultiSelect-DqQb4g_T.js} +3 -3
- package/dist/{Option-DA2dU61-.js → Option-CFveB_5x.js} +1 -1
- package/dist/{Option-CcgAaoQF.js → Option-DxeCAZCh.js} +1 -1
- package/dist/Page/index.cjs +24 -23
- package/dist/Page/index.mjs +24 -23
- package/dist/{Page-D_XiKuZZ.js → Page-Bgzsishb.js} +8 -8
- package/dist/{Page-Bf2NY_6q.js → Page-y3A1dGli.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-BF5pGAol.js → Popover-DFDam3Ar.js} +2 -2
- package/dist/{Popover-BFwwDceH.js → Popover-DnXS5WlU.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-C_HmHHHw.js → RadioGroup-BPiPAibn.js} +1 -1
- package/dist/{RadioGroup-6tAigewL.js → RadioGroup-C1SLQMgo.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-CzoDNpgl.js → RecurringSelect-Bs_WdHkj.js} +6 -6
- package/dist/{RecurringSelect-CYpXqNL4.js → RecurringSelect-Dsrhh0y_.js} +6 -6
- package/dist/Select/index.cjs +10 -10
- package/dist/Select/index.mjs +10 -10
- package/dist/SideDrawer/SideDrawer.d.ts +30 -0
- package/dist/SideDrawer/SideDrawerActions.d.ts +3 -0
- package/dist/SideDrawer/SideDrawerBackButton.d.ts +3 -0
- package/dist/SideDrawer/SideDrawerContext.d.ts +11 -0
- package/dist/SideDrawer/SideDrawerFooter.d.ts +3 -0
- package/dist/SideDrawer/SideDrawerTitle.d.ts +3 -0
- package/dist/SideDrawer/SideDrawerToolbar.d.ts +2 -0
- package/dist/SideDrawer/index.cjs +21 -0
- package/dist/SideDrawer/index.d.ts +1 -0
- package/dist/SideDrawer/index.mjs +15 -0
- package/dist/SideDrawer-B5hUfN8K.js +132 -0
- package/dist/SideDrawer-Cd6dDgRF.js +130 -0
- 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-BjvQwBK_.js → StatusLabel-AoQ5fSb0.js} +2 -2
- package/dist/{StatusLabel-CXg1nt6i.js → StatusLabel-D_m_ia79.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-D1z5yQtO.js → Switch-BXawU4_n.js} +1 -1
- package/dist/{Switch-CAb0yz8E.js → Switch-D2shiqaq.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-Cnovccmw.js → Tabs-BDH-MdZI.js} +42 -26
- package/dist/{Tabs-DkS2qAZm.js → Tabs-CP18l0y9.js} +41 -25
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-DrEbJ-f7.js → Text-BcWAOMDe.js} +1 -1
- package/dist/{Text-jAK9RUhf.js → Text-u4LsZTq1.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-BzL7ceh5.js → Tooltip-BEVGy3O8.js} +2 -2
- package/dist/{Tooltip-Dn2njaLf.js → Tooltip-DgtA_NMm.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-Cn_cVS6O.js → _baseAssignValue-BCmOrKU7.js} +1 -1
- package/dist/{_baseAssignValue-D2m8haKm.js → _baseAssignValue-D2AbFN7Q.js} +1 -1
- package/dist/{_baseEach-Bp1PVZ1x.js → _baseEach-D_YNVQK5.js} +4 -4
- package/dist/{_baseEach-Bvcn4si0.js → _baseEach-Kkl22Koi.js} +4 -4
- package/dist/{_defineProperty-VeHDGNGL.js → _defineProperty-DTldkpJ8.js} +3 -3
- package/dist/{_defineProperty-DV2_4LDU.js → _defineProperty-DjydZ62d.js} +3 -3
- package/dist/{_getTag-C0UetJuY.js → _getTag--17MhGtl.js} +1 -1
- package/dist/{_getTag-DuNbYmzD.js → _getTag-Cb_DJaIA.js} +1 -1
- package/dist/{_setToString-DH5vwkUR.js → _setToString-BQ3F1NMX.js} +3 -3
- package/dist/{_setToString-D4zp7k2H.js → _setToString-wnUZO0O7.js} +3 -3
- package/dist/{debounce-DnCuApMF.js → debounce-BbRqpkz3.js} +3 -3
- package/dist/{debounce-B_VfGBQX.js → debounce-rvfAztY-.js} +4 -4
- package/dist/{helpers-Dy1CkBYi.js → helpers-B-ORpWh2.js} +1 -1
- package/dist/{helpers-DTdh-UO-.js → helpers-BACNSJFG.js} +1 -1
- package/dist/{index-D6I6WoG0.js → index-BYpHNvpD.js} +1 -1
- package/dist/{index-Cg-qplIQ.js → index-DOgEQuEq.js} +1 -1
- package/dist/index.cjs +150 -147
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +149 -147
- package/dist/{isObjectLike-BlpX_XBo.js → isObjectLike-19nmwuIP.js} +2 -2
- package/dist/{isObjectLike-BAWgBGvF.js → isObjectLike-CBAYw0f9.js} +1 -1
- package/dist/{isSymbol-e7DToCAG.js → isSymbol-ChoRuKx9.js} +1 -1
- package/dist/{isSymbol-CIW_EXJ8.js → isSymbol-ekv3oHdD.js} +1 -1
- package/dist/{noop-Iqj5FwEt.js → noop-BJETjw9p.js} +1 -1
- package/dist/{noop-DzI-beuu.js → noop-D64q8JuK.js} +1 -1
- package/dist/styles.css +184 -0
- package/dist/throttle-Dvpa8a2-.js +80 -0
- package/dist/throttle-WEGJOyhJ.js +77 -0
- package/dist/{useActiveLayout-DxCOOPIx.js → useActiveLayout-CM7FoRi8.js} +2 -2
- package/dist/{useActiveLayout-DYH8dG_d.js → useActiveLayout-D7fBfVS5.js} +2 -2
- package/dist/{useAssert-D3Ct5WeA.js → useAssert-DOXuIYpY.js} +2 -2
- package/dist/{useAssert-pJh8ro5m.js → useAssert-OslCXwDD.js} +2 -2
- package/dist/{useBatchSelect-Cmnl1tGK.js → useBatchSelect-DPLaNbxk.js} +1 -1
- package/dist/{useBatchSelect-CRFOjqRF.js → useBatchSelect-rOWNvjjG.js} +1 -1
- package/dist/{useIsMounted-BuitoiPb.js → useIsMounted-BXf2vnzY.js} +1 -1
- package/dist/{useIsMounted-CawLImYr.js → useIsMounted-Bu4QiNI1.js} +1 -1
- package/dist/{useResizeObserver-J3VU3SAY.js → useResizeObserver-B66YvguW.js} +6 -77
- package/dist/{useResizeObserver-DuxXvB7J.js → useResizeObserver-g3Kc_Fvx.js} +4 -75
- package/dist/{useResponsiveSizing-BMPfW2Ys.js → useResponsiveSizing-CtRMYEz8.js} +1 -1
- package/dist/{useResponsiveSizing-DXqjS5wM.js → useResponsiveSizing-CxCV721G.js} +1 -1
- package/dist/{useScrollToActive-DGN__Ug6.js → useScrollToActive-CbDm122_.js} +9 -9
- package/dist/{useScrollToActive-Bd0uK3_M.js → useScrollToActive-CvPwyLzD.js} +9 -9
- package/package.json +2 -2
- /package/dist/{AnimatedPresence-Bp9-aPVc.js → AnimatedPresence-CIRPDBgB.js} +0 -0
- /package/dist/{AnimatedPresence-DCtGr3XR.js → AnimatedPresence-J5d6k80q.js} +0 -0
- /package/dist/{AtlantisContext-BsL9wTmO.js → AtlantisContext-DIoY0NMl.js} +0 -0
- /package/dist/{AtlantisContext-CqmeGa8H.js → AtlantisContext-DMUZ4q6I.js} +0 -0
- /package/dist/{Body-BfVlmGr5.js → Body-BB8msCNG.js} +0 -0
- /package/dist/{Body-BhMTSzI2.js → Body-BkZ3WcLl.js} +0 -0
- /package/dist/{Content-DKp2frQ5.js → Content-8nnBZWk5.js} +0 -0
- /package/dist/{Content-E-jJVaS7.js → Content-CD28MQIr.js} +0 -0
- /package/dist/{DataList-CcQi9XFw.js → DataList-CBVvXZQb.js} +0 -0
- /package/dist/{DataList-B09TnpkO.js → DataList-PWG4uZhM.js} +0 -0
- /package/dist/{DataList.const-NEM-MM3c.js → DataList.const-4odTvKx-.js} +0 -0
- /package/dist/{DataList.const-BOb5Z2Ap.js → DataList.const-Buu4MoJK.js} +0 -0
- /package/dist/{DataListLayoutContext-CfmhZO0Z.js → DataListLayoutContext-FVa1AAvf.js} +0 -0
- /package/dist/{DataListLayoutContext-CVTDnkv2.js → DataListLayoutContext-MwektEPP.js} +0 -0
- /package/dist/{Divider-BIpbs8-i.js → Divider-KVClmKyH.js} +0 -0
- /package/dist/{Divider-DJVpEitM.js → Divider-Z8XfxcUL.js} +0 -0
- /package/dist/{Flex-ZOw-axq5.js → Flex-5oe52olF.js} +0 -0
- /package/dist/{Flex-Dc2_WvKP.js → Flex-uFmkWGK1.js} +0 -0
- /package/dist/{FormatDate-DK-aF2MJ.js → FormatDate-CZQvmZ4i.js} +0 -0
- /package/dist/{FormatDate-Cq55gsBW.js → FormatDate-s6fywK8h.js} +0 -0
- /package/dist/{FormatEmail-_SQoMGPh.js → FormatEmail-DjW_i7ae.js} +0 -0
- /package/dist/{FormatEmail-B9u7AFat.js → FormatEmail-i-pRlnck.js} +0 -0
- /package/dist/{FormatRelativeDateTime-rH5--bEm.js → FormatRelativeDateTime-Diy-AbWe.js} +0 -0
- /package/dist/{FormatRelativeDateTime-Bw17Lapq.js → FormatRelativeDateTime-DoaGC-sx.js} +0 -0
- /package/dist/{FormatTime-DsUNX7iK.js → FormatTime-3TzQAbLs.js} +0 -0
- /package/dist/{FormatTime-BfZx22IB.js → FormatTime-DZ7RMuz6.js} +0 -0
- /package/dist/{Icon-DJo4AfvY.js → Icon-Biobm0tj.js} +0 -0
- /package/dist/{Icon-CaLv-8kG.js → Icon-CmFdUTnQ.js} +0 -0
- /package/dist/{InputGroup-Depfq3Iu.js → InputGroup-CqLF8C9I.js} +0 -0
- /package/dist/{InputGroup-Dc7HPjTQ.js → InputGroup-D0Bj7xmu.js} +0 -0
- /package/dist/{InternalGridCell-640YaaLh.js → InternalGridCell-CPV6O-As.js} +0 -0
- /package/dist/{InternalGridCell-CI6MBV-U.js → InternalGridCell-CqK19jud.js} +0 -0
- /package/dist/{Link-CzIqP8pX.js → Link-B7NE1-lb.js} +0 -0
- /package/dist/{Link-DMFAYM8Q.js → Link-BbZzr1L0.js} +0 -0
- /package/dist/{ProgressBar-BES6OE87.js → ProgressBar-8ojeQYHn.js} +0 -0
- /package/dist/{ProgressBar-mrpecABO.js → ProgressBar-r1PkhuvY.js} +0 -0
- /package/dist/{Spinner-Dpn5yo2n.js → Spinner-BGTC5Pj2.js} +0 -0
- /package/dist/{Spinner-iGPO1rkT.js → Spinner-D7Rz8VhB.js} +0 -0
- /package/dist/{StatusIndicator-DXXpSI36.js → StatusIndicator-BHmc1lNx.js} +0 -0
- /package/dist/{StatusIndicator-DrqeV5xu.js → StatusIndicator-D9l-Qe6c.js} +0 -0
- /package/dist/{Typography-BtVFRuRk.js → Typography-Bde_E5zp.js} +0 -0
- /package/dist/{Typography-CGjnDRkN.js → Typography-Bih9ytcJ.js} +0 -0
- /package/dist/{_commonjsHelpers-BqAvSLOF.js → _commonjsHelpers-DeB0IlKK.js} +0 -0
- /package/dist/{_commonjsHelpers-CJ5_cLdC.js → _commonjsHelpers-ERLQa0oQ.js} +0 -0
- /package/dist/{_polyfill-node.process-D80rrIgV.js → _polyfill-node.process-itClt0Mx.js} +0 -0
- /package/dist/{_polyfill-node.process-bAEx01_i.js → _polyfill-node.process-xmYEfoQG.js} +0 -0
- /package/dist/{tslib.es6-BmKeBnB0.js → tslib.es6-BZobP_8x.js} +0 -0
- /package/dist/{tslib.es6-DNcdghCd.js → tslib.es6-DOpfNilk.js} +0 -0
- /package/dist/{useChildComponent-Q9b9vK3U.js → useChildComponent-B6BJPqfe.js} +0 -0
- /package/dist/{useChildComponent-BJxatbEH.js → useChildComponent-CXlpL0Pe.js} +0 -0
- /package/dist/{useFocusTrap-BHtshy_w.js → useFocusTrap-CwkZBisI.js} +0 -0
- /package/dist/{useFocusTrap-iNPP7SH8.js → useFocusTrap-DnOLy1gY.js} +0 -0
- /package/dist/{useFormFieldFocus-BpgEl_xa.js → useFormFieldFocus-DZAPeMfj.js} +0 -0
- /package/dist/{useFormFieldFocus-7P-fWpqA.js → useFormFieldFocus-av50vGRW.js} +0 -0
- /package/dist/{useInView-BGdv1k1O.js → useInView-CCICEM4j.js} +0 -0
- /package/dist/{useInView-BVtqJL8_.js → useInView-CqV_sJgt.js} +0 -0
- /package/dist/{useOnKeyDown-CWaf9tXT.js → useOnKeyDown-Ct6pr8BB.js} +0 -0
- /package/dist/{useOnKeyDown-CnkMzGEX.js → useOnKeyDown-XOyhb4pt.js} +0 -0
- /package/dist/{useRefocusOnActivator-Doj-bKfo.js → useRefocusOnActivator-BAZFphUj.js} +0 -0
- /package/dist/{useRefocusOnActivator-9aD5j5BK.js → useRefocusOnActivator-CudxJSWR.js} +0 -0
- /package/dist/{useSafeLayoutEffect-BSmzEmJM.js → useSafeLayoutEffect-4bNSDDaa.js} +0 -0
- /package/dist/{useSafeLayoutEffect-C6EJg59K.js → useSafeLayoutEffect-CZI8_ZIA.js} +0 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import React, { createContext, useContext, useState, useId } from 'react';
|
|
2
|
+
import { createPortal } from 'react-dom';
|
|
3
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
|
+
import { tokens } from '@jobber/design';
|
|
5
|
+
import { u as useRefocusOnActivator_2 } from './useRefocusOnActivator-CudxJSWR.js';
|
|
6
|
+
import { u as useFocusTrap_2 } from './useFocusTrap-CwkZBisI.js';
|
|
7
|
+
import classnames from 'classnames';
|
|
8
|
+
import { u as useInView_2 } from './useInView-CqV_sJgt.js';
|
|
9
|
+
import { H as Heading } from './Heading-CdjtdN_u.js';
|
|
10
|
+
import { B as Button } from './Button-ByyUuJVo.js';
|
|
11
|
+
import { F as Flex } from './Flex-uFmkWGK1.js';
|
|
12
|
+
|
|
13
|
+
const SideDrawerContext = createContext({});
|
|
14
|
+
function useSideDrawerContext() {
|
|
15
|
+
const context = useContext(SideDrawerContext);
|
|
16
|
+
return context;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function SideDrawerActions({ children }) {
|
|
20
|
+
const { actionPortal } = useSideDrawerContext();
|
|
21
|
+
if (!actionPortal)
|
|
22
|
+
return null;
|
|
23
|
+
return createPortal(React.createElement(React.Fragment, null, children), actionPortal);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function SideDrawerTitle({ children }) {
|
|
27
|
+
const { titlePortal } = useSideDrawerContext();
|
|
28
|
+
if (!titlePortal)
|
|
29
|
+
return null;
|
|
30
|
+
if (typeof children === "string") {
|
|
31
|
+
return createPortal(React.createElement(Heading, { level: 2 }, children), titlePortal);
|
|
32
|
+
}
|
|
33
|
+
return createPortal(children, titlePortal);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function SideDrawerToolbar({ children }) {
|
|
37
|
+
const { toolbarPortal } = useSideDrawerContext();
|
|
38
|
+
if (!toolbarPortal)
|
|
39
|
+
return null;
|
|
40
|
+
return createPortal(children, toolbarPortal);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
var styles = {"drawer":"f-MKdBvCQXQ-","container":"ZMrzd2xJCtQ-","subtle":"j-us8-p4bfY-","header":"di7wVz6Zdy8-","footer":"UXAxYfbJy1Q-","hasShadow":"-Os-3OnRHg0-","headerActions":"sUo3MflQPVI-","hideWhenEmpty":"zbd79OKr6-M-","overlay":"zUQipP8Y6Tk-","content":"ngWetY6itkw-"};
|
|
44
|
+
|
|
45
|
+
function SideDrawerBackButton({ onClick, }) {
|
|
46
|
+
const { backPortal } = useSideDrawerContext();
|
|
47
|
+
if (!backPortal)
|
|
48
|
+
return null;
|
|
49
|
+
return createPortal(React.createElement(Button, { ariaLabel: "Back", icon: "longArrowLeft", variation: "subtle", type: "tertiary", onClick: onClick }), backPortal);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function SideDrawerFooter({ children }) {
|
|
53
|
+
const { footerPortal } = useSideDrawerContext();
|
|
54
|
+
if (!footerPortal)
|
|
55
|
+
return null;
|
|
56
|
+
return createPortal(React.createElement(React.Fragment, null, children), footerPortal);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const variants = {
|
|
60
|
+
hidden: { x: "100%" },
|
|
61
|
+
visible: { x: 0, transitionEnd: { x: 0 } },
|
|
62
|
+
};
|
|
63
|
+
// eslint-disable-next-line max-statements
|
|
64
|
+
function SideDrawer({ children, onRequestClose, open, variation = "base", }) {
|
|
65
|
+
var _a;
|
|
66
|
+
const [ref, setRef] = useState(null);
|
|
67
|
+
const toolbar = useSlotID();
|
|
68
|
+
const title = useSlotID("title");
|
|
69
|
+
const actions = useSlotID();
|
|
70
|
+
const backButton = useSlotID("back");
|
|
71
|
+
const footer = useSlotID();
|
|
72
|
+
useRefocusOnActivator_2(open);
|
|
73
|
+
const sideDrawerRef = useFocusTrap_2(open);
|
|
74
|
+
const [headerShadowRef, noHeaderShadow] = useInView_2();
|
|
75
|
+
const [footerShadowRef, noFooterShadow] = useInView_2();
|
|
76
|
+
const container = ((_a = globalThis.document) === null || _a === void 0 ? void 0 : _a.body) || null;
|
|
77
|
+
if (!container)
|
|
78
|
+
return null;
|
|
79
|
+
return createPortal(React.createElement(SideDrawerContext.Provider, { value: {
|
|
80
|
+
actionPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(actions.selector),
|
|
81
|
+
titlePortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(title.selector),
|
|
82
|
+
toolbarPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(toolbar.selector),
|
|
83
|
+
backPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(backButton.selector),
|
|
84
|
+
footerPortal: ref === null || ref === void 0 ? void 0 : ref.querySelector(footer.selector),
|
|
85
|
+
} },
|
|
86
|
+
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, ref: setRef, variants: variants, initial: "hidden", animate: "visible", exit: "hidden", transition: {
|
|
88
|
+
duration: tokens["timing-base"] / 1000,
|
|
89
|
+
} },
|
|
90
|
+
React.createElement("div", { ref: sideDrawerRef, role: "dialog", className: classnames(styles.container, styles.hasShadow, {
|
|
91
|
+
[styles.subtle]: variation === "subtle",
|
|
92
|
+
}), tabIndex: 0, onKeyUp: handleKeyUp },
|
|
93
|
+
React.createElement("div", { ref: headerShadowRef }),
|
|
94
|
+
React.createElement("div", { className: classnames(styles.header, {
|
|
95
|
+
[styles.hasShadow]: headerShadowRef.current && !noHeaderShadow,
|
|
96
|
+
}) },
|
|
97
|
+
React.createElement(Flex, { template: ["grow", "shrink"] },
|
|
98
|
+
React.createElement(Flex, { template: ["shrink", "grow"], gap: "none" },
|
|
99
|
+
React.createElement("div", Object.assign({}, backButton.attr)),
|
|
100
|
+
React.createElement("div", Object.assign({}, title.attr))),
|
|
101
|
+
React.createElement("div", { className: styles.headerActions },
|
|
102
|
+
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, actions.attr)),
|
|
103
|
+
React.createElement(Button, { ariaLabel: "Close", icon: "cross", onClick: onRequestClose, type: "tertiary", variation: "subtle" }))),
|
|
104
|
+
React.createElement("div", Object.assign({ className: styles.hideWhenEmpty }, toolbar.attr))),
|
|
105
|
+
React.createElement("div", { className: styles.content }, children),
|
|
106
|
+
React.createElement("div", Object.assign({ className: classnames(styles.footer, styles.hideWhenEmpty, {
|
|
107
|
+
[styles.hasShadow]: footerShadowRef.current && !noFooterShadow,
|
|
108
|
+
}) }, footer.attr)),
|
|
109
|
+
React.createElement("div", { ref: footerShadowRef })))))), container);
|
|
110
|
+
function handleKeyUp(event) {
|
|
111
|
+
if (event.key === "Escape") {
|
|
112
|
+
onRequestClose();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function useSlotID(prefix) {
|
|
117
|
+
const id = useId();
|
|
118
|
+
const prefixedId = prefix ? `${prefix}-${id}` : id;
|
|
119
|
+
const attrKey = "data-side-drawer-slot";
|
|
120
|
+
const selector = `[${attrKey}="${prefixedId}"]`;
|
|
121
|
+
const attr = { [attrKey]: prefixedId };
|
|
122
|
+
return { id: prefixedId, selector, attr };
|
|
123
|
+
}
|
|
124
|
+
SideDrawer.Title = SideDrawerTitle;
|
|
125
|
+
SideDrawer.Toolbar = SideDrawerToolbar;
|
|
126
|
+
SideDrawer.Actions = SideDrawerActions;
|
|
127
|
+
SideDrawer.BackButton = SideDrawerBackButton;
|
|
128
|
+
SideDrawer.Footer = SideDrawerFooter;
|
|
129
|
+
|
|
130
|
+
export { SideDrawer as S };
|
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-BHmc1lNx.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-AoQ5fSb0.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../Typography-
|
|
7
|
-
require('../StatusIndicator-
|
|
6
|
+
require('../Typography-Bih9ytcJ.js');
|
|
7
|
+
require('../StatusIndicator-D9l-Qe6c.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-D_m_ia79.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../Typography-
|
|
5
|
-
import '../StatusIndicator-
|
|
4
|
+
import '../Typography-Bde_E5zp.js';
|
|
5
|
+
import '../StatusIndicator-BHmc1lNx.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-Bih9ytcJ.js');
|
|
6
|
+
var StatusIndicator = require('./StatusIndicator-D9l-Qe6c.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-Bde_E5zp.js';
|
|
4
|
+
import { S as StatusIndicator } from './StatusIndicator-BHmc1lNx.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
|
@@ -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-Bih9ytcJ.js');
|
|
6
6
|
|
|
7
7
|
var styles = {"track":"NaSI2jsLI0c-","isChecked":"HbAoDMJhkwY-","toggle":"cc259FtdxeE-","label":"YZ-HIehHOBA-","pip":"_2hxova2FHpM-","disabled":"_6hWvJHjyLlk-"};
|
|
8
8
|
|
|
@@ -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-Bde_E5zp.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"track":"NaSI2jsLI0c-","isChecked":"HbAoDMJhkwY-","toggle":"cc259FtdxeE-","label":"YZ-HIehHOBA-","pip":"_2hxova2FHpM-","disabled":"_6hWvJHjyLlk-"};
|
|
6
6
|
|
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-BkZ3WcLl.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-CP18l0y9.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../
|
|
6
|
+
require('../throttle-Dvpa8a2-.js');
|
|
7
|
+
require('../_commonjsHelpers-DeB0IlKK.js');
|
|
8
|
+
require('../debounce-BbRqpkz3.js');
|
|
9
|
+
require('../isObjectLike-CBAYw0f9.js');
|
|
10
|
+
require('../isSymbol-ekv3oHdD.js');
|
|
11
|
+
require('../Typography-Bih9ytcJ.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-BDH-MdZI.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../
|
|
4
|
+
import '../throttle-WEGJOyhJ.js';
|
|
5
|
+
import '../_commonjsHelpers-ERLQa0oQ.js';
|
|
6
|
+
import '../debounce-rvfAztY-.js';
|
|
7
|
+
import '../isObjectLike-19nmwuIP.js';
|
|
8
|
+
import '../isSymbol-ChoRuKx9.js';
|
|
9
|
+
import '../Typography-Bde_E5zp.js';
|
|
@@ -1,52 +1,68 @@
|
|
|
1
|
-
import React, { useState, useRef, useEffect } from 'react';
|
|
1
|
+
import React, { useState, useRef, useCallback, useEffect } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import {
|
|
3
|
+
import { t as throttle } from './throttle-WEGJOyhJ.js';
|
|
4
|
+
import { T as Typography } from './Typography-Bde_E5zp.js';
|
|
4
5
|
|
|
5
6
|
var styles = {"tabs":"-kxlqXO5UN0-","overflow":"qI4lWMSNH40-","overflowRight":"xohIah5wcoE-","overflowLeft":"qnY4S9sz-8g-","tabRow":"wdW31G8Trag-","tab":"MO7CXQ8xJXo-","selected":"kqof65gyv7g-","tabContent":"AimQioztR1U-"};
|
|
6
7
|
|
|
7
|
-
function
|
|
8
|
-
const activeTabInitialValue = defaultTab < React.Children.count(children) ? defaultTab : 0;
|
|
9
|
-
const [activeTab, setActiveTab] = useState(activeTabInitialValue);
|
|
8
|
+
function useTabsOverflow() {
|
|
10
9
|
const [overflowRight, setOverflowRight] = useState(false);
|
|
11
10
|
const [overflowLeft, setOverflowLeft] = useState(false);
|
|
12
11
|
const tabRow = useRef();
|
|
13
|
-
const overflowClassNames = classnames(styles.overflow, {
|
|
14
|
-
[styles.overflowRight]: overflowRight,
|
|
15
|
-
[styles.overflowLeft]: overflowLeft,
|
|
16
|
-
});
|
|
17
|
-
const activateTab = (index) => {
|
|
18
|
-
return () => {
|
|
19
|
-
setActiveTab(index);
|
|
20
|
-
if (onTabChange) {
|
|
21
|
-
onTabChange(index);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
const activeTabProps = React.Children.toArray(children)[activeTab].props;
|
|
26
12
|
const handleOverflowing = () => {
|
|
27
13
|
if (tabRow.current) {
|
|
28
14
|
const scrollWidth = tabRow.current.scrollWidth;
|
|
29
15
|
const clientWidth = tabRow.current.clientWidth;
|
|
30
16
|
const maxScroll = scrollWidth - clientWidth;
|
|
31
17
|
const scrollPos = tabRow.current.scrollLeft;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
setOverflowLeft(scrollPos > 0 && scrollPos < scrollWidth);
|
|
35
|
-
}
|
|
18
|
+
setOverflowRight(scrollPos >= 0 && scrollPos != maxScroll);
|
|
19
|
+
setOverflowLeft(scrollPos > 0 && scrollPos < scrollWidth);
|
|
36
20
|
}
|
|
37
21
|
};
|
|
22
|
+
const throttledHandleOverflowing = useCallback(throttle(handleOverflowing, 100), []);
|
|
38
23
|
useEffect(() => {
|
|
24
|
+
var _a;
|
|
39
25
|
handleOverflowing();
|
|
40
|
-
tabRow.current
|
|
41
|
-
tabRow.current.addEventListener("scroll", handleOverflowing);
|
|
26
|
+
(_a = tabRow === null || tabRow === void 0 ? void 0 : tabRow.current) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", throttledHandleOverflowing);
|
|
42
27
|
return () => {
|
|
43
|
-
|
|
28
|
+
var _a;
|
|
29
|
+
(_a = tabRow === null || tabRow === void 0 ? void 0 : tabRow.current) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", throttledHandleOverflowing);
|
|
44
30
|
};
|
|
45
31
|
});
|
|
32
|
+
return {
|
|
33
|
+
overflowRight,
|
|
34
|
+
overflowLeft,
|
|
35
|
+
tabRow,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function Tabs({ children, defaultTab = 0, onTabChange }) {
|
|
40
|
+
var _a;
|
|
41
|
+
const activeTabInitialValue = defaultTab < React.Children.count(children) ? defaultTab : 0;
|
|
42
|
+
const [activeTab, setActiveTab] = useState(activeTabInitialValue);
|
|
43
|
+
const { overflowRight, overflowLeft, tabRow } = useTabsOverflow();
|
|
44
|
+
const overflowClassNames = classnames(styles.overflow, {
|
|
45
|
+
[styles.overflowRight]: overflowRight,
|
|
46
|
+
[styles.overflowLeft]: overflowLeft,
|
|
47
|
+
});
|
|
48
|
+
const activateTab = (index) => {
|
|
49
|
+
return () => {
|
|
50
|
+
setActiveTab(index);
|
|
51
|
+
if (onTabChange) {
|
|
52
|
+
onTabChange(index);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
const activeTabProps = (_a = React.Children.toArray(children)[activeTab]) === null || _a === void 0 ? void 0 : _a.props;
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
if (activeTab > React.Children.count(children) - 1) {
|
|
59
|
+
setActiveTab(activeTabInitialValue);
|
|
60
|
+
}
|
|
61
|
+
}, [React.Children.count(children)]);
|
|
46
62
|
return (React.createElement("div", { className: styles.tabs },
|
|
47
63
|
React.createElement("div", { className: overflowClassNames },
|
|
48
64
|
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 }))))),
|
|
49
|
-
React.createElement("section", { role: "tabpanel", className: styles.tabContent, "aria-label": activeTabProps.label }, activeTabProps.children)));
|
|
65
|
+
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)));
|
|
50
66
|
}
|
|
51
67
|
function Tab({ label }) {
|
|
52
68
|
return React.createElement(React.Fragment, null, label);
|
|
@@ -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-Dvpa8a2-.js');
|
|
6
|
+
var Typography = require('./Typography-Bih9ytcJ.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);
|
package/dist/Text/index.cjs
CHANGED
package/dist/Text/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var Typography = require('./Typography-
|
|
4
|
+
var Typography = require('./Typography-Bih9ytcJ.js');
|
|
5
5
|
|
|
6
6
|
function Text({ variation = "default", size = "base", align = "start", children, maxLines = "unlimited", }) {
|
|
7
7
|
const textColors = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { T as Typography } from './Typography-
|
|
2
|
+
import { T as Typography } from './Typography-Bde_E5zp.js';
|
|
3
3
|
|
|
4
4
|
function Text({ variation = "default", size = "base", align = "start", children, maxLines = "unlimited", }) {
|
|
5
5
|
const textColors = {
|
package/dist/Toast/index.cjs
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var client = require('react-dom/client');
|
|
5
5
|
var framerMotion = require('framer-motion');
|
|
6
|
-
var Icon = require('../Icon-
|
|
7
|
-
var Button = require('../Button-
|
|
8
|
-
var Typography = require('../Typography-
|
|
6
|
+
var Icon = require('../Icon-CmFdUTnQ.js');
|
|
7
|
+
var Button = require('../Button-Blb9tzce.js');
|
|
8
|
+
var Typography = require('../Typography-Bih9ytcJ.js');
|
|
9
9
|
require('@jobber/design');
|
|
10
10
|
require('classnames');
|
|
11
11
|
require('react-router-dom');
|
package/dist/Toast/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useState, useEffect, forwardRef, useImperativeHandle, useRef } from 'react';
|
|
2
2
|
import { createRoot } from 'react-dom/client';
|
|
3
3
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
4
|
-
import { I as Icon } from '../Icon-
|
|
5
|
-
import { B as Button } from '../Button-
|
|
6
|
-
import { T as Typography } from '../Typography-
|
|
4
|
+
import { I as Icon } from '../Icon-Biobm0tj.js';
|
|
5
|
+
import { B as Button } from '../Button-ByyUuJVo.js';
|
|
6
|
+
import { T as Typography } from '../Typography-Bde_E5zp.js';
|
|
7
7
|
import '@jobber/design';
|
|
8
8
|
import 'classnames';
|
|
9
9
|
import 'react-router-dom';
|
package/dist/Tooltip/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Tooltip = require('../Tooltip-
|
|
3
|
+
var Tooltip = require('../Tooltip-DgtA_NMm.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('react-dom');
|
|
7
7
|
require('framer-motion');
|
|
8
|
-
require('../useSafeLayoutEffect-
|
|
9
|
-
require('../useIsMounted-
|
|
8
|
+
require('../useSafeLayoutEffect-4bNSDDaa.js');
|
|
9
|
+
require('../useIsMounted-Bu4QiNI1.js');
|
|
10
10
|
require('react-popper');
|
|
11
11
|
|
|
12
12
|
|
package/dist/Tooltip/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { T as Tooltip } from '../Tooltip-
|
|
1
|
+
export { T as Tooltip } from '../Tooltip-BEVGy3O8.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
import 'framer-motion';
|
|
6
|
-
import '../useSafeLayoutEffect-
|
|
7
|
-
import '../useIsMounted-
|
|
6
|
+
import '../useSafeLayoutEffect-CZI8_ZIA.js';
|
|
7
|
+
import '../useIsMounted-BXf2vnzY.js';
|
|
8
8
|
import 'react-popper';
|
|
@@ -2,8 +2,8 @@ import React, { useRef, useState } from 'react';
|
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import { motion } from 'framer-motion';
|
|
5
|
-
import { u as useSafeLayoutEffect_1 } from './useSafeLayoutEffect-
|
|
6
|
-
import { u as useIsMounted_2 } from './useIsMounted-
|
|
5
|
+
import { u as useSafeLayoutEffect_1 } from './useSafeLayoutEffect-CZI8_ZIA.js';
|
|
6
|
+
import { u as useIsMounted_2 } from './useIsMounted-BXf2vnzY.js';
|
|
7
7
|
import { usePopper } from 'react-popper';
|
|
8
8
|
|
|
9
9
|
var styles = {"shadowActivator":"q07bkGoq714-","tooltipWrapper":"dkCTRfc3vYk-","tooltip":"yAFP4gRKlTM-","arrow":"j9KgRON7iTU-","top":"DpxWsz9QuIo-","bottom":"_5RblY1rnJOA-","left":"C9MXsqd4wLM-","right":"_2ZZcgQ4fJ-k-","tooltipMessage":"TpdeLUuiQMg-"};
|
|
@@ -4,8 +4,8 @@ var React = require('react');
|
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
var ReactDOM = require('react-dom');
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
|
-
var useSafeLayoutEffect = require('./useSafeLayoutEffect-
|
|
8
|
-
var useIsMounted = require('./useIsMounted-
|
|
7
|
+
var useSafeLayoutEffect = require('./useSafeLayoutEffect-4bNSDDaa.js');
|
|
8
|
+
var useIsMounted = require('./useIsMounted-Bu4QiNI1.js');
|
|
9
9
|
var reactPopper = require('react-popper');
|
|
10
10
|
|
|
11
11
|
var styles = {"shadowActivator":"q07bkGoq714-","tooltipWrapper":"dkCTRfc3vYk-","tooltip":"yAFP4gRKlTM-","arrow":"j9KgRON7iTU-","top":"DpxWsz9QuIo-","bottom":"_5RblY1rnJOA-","left":"C9MXsqd4wLM-","right":"_2ZZcgQ4fJ-k-","tooltipMessage":"TpdeLUuiQMg-"};
|