@jobber/components 5.11.0 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AnimatedPresence/index.cjs +1 -1
- package/dist/AnimatedPresence/index.mjs +1 -1
- package/dist/AnimatedSwitcher/index.cjs +2 -2
- package/dist/AnimatedSwitcher/index.mjs +2 -2
- package/dist/{AnimatedSwitcher-DAghBrWm.js → AnimatedSwitcher-DoYMPbaQ.js} +1 -1
- package/dist/{AnimatedSwitcher-D2q7_jpZ.js → AnimatedSwitcher-jByZ_C-A.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-DHqFz3l0.js → Autocomplete-C3YXYhPs.js} +9 -9
- package/dist/{Autocomplete-DMVVLcTP.js → Autocomplete-DzjrHuc1.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-DefSeSX5.js → Avatar-B_Mg7cRz.js} +1 -1
- package/dist/{Avatar-XKOJr1aK.js → Avatar-CLexKa2L.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-ByN9z7QO.js → Banner-D-7Cez1r.js} +5 -5
- package/dist/{Banner-D7bjwNIi.js → Banner-hm_7K9NK.js} +5 -5
- package/dist/{BannerIcon-DkDrcjMz.js → BannerIcon-By35ZzwA.js} +1 -1
- package/dist/{BannerIcon-Ds0nb9IX.js → BannerIcon-mq8NQeSn.js} +1 -1
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-DOZttRHM.js → Box-CSTrB8jG.js} +1 -1
- package/dist/{Box-CK_jmhKX.js → Box-DMAt2KVC.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-D1Nl8eFV.js → Button-BEjtnMi3.js} +2 -2
- package/dist/{Button-7kRJPNWg.js → Button-CFxwhWIH.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-BZ47JDtW.js → ButtonDismiss-CdCAB9uR.js} +1 -1
- package/dist/{ButtonDismiss-CJzdAhsU.js → ButtonDismiss-DO3kHm68.js} +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/{Card-mfPnlJbi.js → Card-CGy-LG70.js} +3 -3
- package/dist/{Card-CnzYdpXo.js → Card-DGJpIhxu.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-3Y0c91Un.js → Checkbox-CmlRNKVF.js} +3 -3
- package/dist/{Checkbox-B8pdOpwB.js → Checkbox-DUsHUoBL.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-DKgiq81G.js → Chip-CTlneFd7.js} +6 -6
- package/dist/{Chip-Dn6eol0L.js → Chip-VREycShb.js} +6 -6
- package/dist/{ChipDismissible-BoAA8fEO.js → ChipDismissible-BUeLfxEy.js} +3 -3
- package/dist/{ChipDismissible-zWL65gln.js → ChipDismissible-DM6LNUbp.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-DvF0HsRb.js → Chips-2Zq_vRQt.js} +2 -2
- package/dist/{Chips-B7FgQQ1d.js → Chips-BDIk2fBt.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-DIUiz5TH.js → Combobox-CDuTvAyD.js} +9 -9
- package/dist/{Combobox-CCp3DnbF.js → Combobox-m14ZnABX.js} +9 -9
- package/dist/{ComboboxAction-CiXyqTvL.js → ComboboxAction-CoiGS_vl.js} +2 -2
- package/dist/{ComboboxAction-CJkyQG2P.js → ComboboxAction-UAwHeRFq.js} +2 -2
- package/dist/{ComboboxActivator-DuYQzCdQ.js → ComboboxActivator-B9uiVmHI.js} +4 -4
- package/dist/{ComboboxActivator-C6wP7rJ8.js → ComboboxActivator-BnwN2otk.js} +4 -4
- package/dist/{ComboboxContent-Bmnam3OR.js → ComboboxContent-1XPDtVak.js} +7 -7
- package/dist/{ComboboxContent-4vyPYNX9.js → ComboboxContent-BDrx39Sq.js} +7 -7
- package/dist/{ComboboxContentHeader-B-1of_5V.js → ComboboxContentHeader-B18sU_II.js} +2 -2
- package/dist/{ComboboxContentHeader-DqutILT1.js → ComboboxContentHeader-sxbWSXj0.js} +2 -2
- package/dist/{ComboboxContentList-DWC4WGtq.js → ComboboxContentList-CErBAoIe.js} +6 -6
- package/dist/{ComboboxContentList-BNkeFaVE.js → ComboboxContentList-DFS4SzZn.js} +6 -6
- package/dist/{ComboboxContentSearch-DCItIw2y.js → ComboboxContentSearch-COdelAku.js} +1 -1
- package/dist/{ComboboxContentSearch-PEkpOo5m.js → ComboboxContentSearch-DY6d__Dd.js} +1 -1
- package/dist/{ComboboxLoadMore-BMT-4b6w.js → ComboboxLoadMore-BRyhnhSd.js} +1 -1
- package/dist/{ComboboxLoadMore-ClZN8gcy.js → ComboboxLoadMore-DYjpyUyj.js} +1 -1
- package/dist/{ComboboxOption-DiE5KxKV.js → ComboboxOption-CkOybSmM.js} +3 -3
- package/dist/{ComboboxOption-CXMUzYwR.js → ComboboxOption-DTNJqcX8.js} +3 -3
- package/dist/{ComboboxProvider-BQZKaxnr.js → ComboboxProvider-BmFT1dFn.js} +1 -1
- package/dist/{ComboboxProvider-DZReOeNr.js → ComboboxProvider-DyNEZsxQ.js} +1 -1
- package/dist/{ComboboxTrigger-Bdm1l_sA.js → ComboboxTrigger-DBTRLSOF.js} +4 -4
- package/dist/{ComboboxTrigger-Bw2r9-fQ.js → ComboboxTrigger-DDeXkPgS.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-DbuWK2zT.js → ConfirmationModal-ByA3d0yt.js} +4 -4
- package/dist/{ConfirmationModal-jf_ksZvH.js → ConfirmationModal-CqwgPqeC.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-CeP9q52c.js → Countdown-HhnxeXiX.js} +1 -1
- package/dist/{Countdown-DRMK7OF2.js → Countdown-lM_Jf_qc.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-B-gxqeh-.js → DataDump-BOOSp-1B.js} +3 -3
- package/dist/{DataDump-CKztrqT_.js → DataDump-Bp-lUTgz.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-C2pQ5Dod.js → DataList-CiCLRgNG.js} +21 -21
- package/dist/{DataList-BnjUiDoj.js → DataList-DAhvDHGK.js} +21 -21
- package/dist/{DataList.utils-DKbRPT_B.js → DataList.utils-BxQvkQjo.js} +8 -8
- package/dist/{DataList.utils-C24oJr-i.js → DataList.utils-Cxfa4WFF.js} +8 -8
- package/dist/{DataListAction-CMmUIOHV.js → DataListAction-CR9H6EsQ.js} +3 -3
- package/dist/{DataListAction-NaSZor0z.js → DataListAction-ClcFNbl8.js} +3 -3
- package/dist/{DataListActions-CGAOuYly.js → DataListActions-B5p68seM.js} +6 -6
- package/dist/{DataListActions-DTCfWOuT.js → DataListActions-CchFcZBp.js} +6 -6
- package/dist/{DataListActionsMenu-CYy-I1Fh.js → DataListActionsMenu-B8FPSk-J.js} +5 -5
- package/dist/{DataListActionsMenu-DMcEfnh4.js → DataListActionsMenu-deyGTc7a.js} +5 -5
- package/dist/{DataListBulkActions-BGJevagA.js → DataListBulkActions-ChXLM0-N.js} +3 -3
- package/dist/{DataListBulkActions-Coz3ssNp.js → DataListBulkActions-CmF6TTrs.js} +3 -3
- package/dist/{DataListContext-BfPGFcfi.js → DataListContext-CL6VPJn3.js} +1 -1
- package/dist/{DataListContext-BV_DdSDf.js → DataListContext-r6WiQXrC.js} +1 -1
- package/dist/{DataListEmptyState-DhwXEzh2.js → DataListEmptyState-Bw_FFC6r.js} +4 -4
- package/dist/{DataListEmptyState-DfhETUvm.js → DataListEmptyState-C81XJ4LU.js} +4 -4
- package/dist/{DataListFilters-D4d-dtS4.js → DataListFilters-BCTXrL-X.js} +5 -5
- package/dist/{DataListFilters-CqHS1ls5.js → DataListFilters-Pmj6a4ff.js} +5 -5
- package/dist/{DataListHeader-fT2PXPSf.js → DataListHeader-B-vIjVZu.js} +11 -11
- package/dist/{DataListHeader-BJAgZv2p.js → DataListHeader-Bv7mNDeW.js} +11 -11
- package/dist/{DataListHeaderTile-B5RtcLvl.js → DataListHeaderTile-DVkABO_i.js} +5 -5
- package/dist/{DataListHeaderTile-DoyjvFUz.js → DataListHeaderTile-DtL9ZSNk.js} +5 -5
- package/dist/{DataListItem-SZalm4Vf.js → DataListItem-BeqtxdiU.js} +10 -10
- package/dist/{DataListItem-BNEgwyfd.js → DataListItem-BlGofIWF.js} +10 -10
- package/dist/{DataListItemActions-DCVKwiLg.js → DataListItemActions-D-o6FLXn.js} +2 -2
- package/dist/{DataListItemActions-CpUbsyth.js → DataListItemActions-wXhJDhMX.js} +2 -2
- package/dist/{DataListItemActionsOverflow-eFJKIA2P.js → DataListItemActionsOverflow-C3MzXUyR.js} +3 -3
- package/dist/{DataListItemActionsOverflow-DAA6Ruk1.js → DataListItemActionsOverflow-C4a4p8r2.js} +3 -3
- package/dist/{DataListItemClickable-BiZUkXIB.js → DataListItemClickable-BgooeDl9.js} +3 -3
- package/dist/{DataListItemClickable-CTiPJY5y.js → DataListItemClickable-i8ISgEuz.js} +3 -3
- package/dist/{DataListItems-CKumMsVv.js → DataListItems-CcQa1OBs.js} +3 -3
- package/dist/{DataListItems-D1tm_Wt0.js → DataListItems-tyFnVOnK.js} +3 -3
- package/dist/{DataListLayout-BzE3CmxM.js → DataListLayout-BZAyD2Jj.js} +3 -3
- package/dist/{DataListLayout-BbFdnf3r.js → DataListLayout-DoXvBJ5A.js} +3 -3
- package/dist/{DataListLayoutActions-BU6xsyu_.js → DataListLayoutActions-BsOvbkvk.js} +4 -4
- package/dist/{DataListLayoutActions-ScMedubn.js → DataListLayoutActions-CHlm7neF.js} +4 -4
- package/dist/{DataListLayoutContext-DQAOwW7L.js → DataListLayoutContext-c6Rzm-yg.js} +1 -1
- package/dist/{DataListLayoutContext-lnGSJMK2.js → DataListLayoutContext-sZgFvsLa.js} +1 -1
- package/dist/{DataListLoadMore-DrC2LCQ6.js → DataListLoadMore-DxWTyxxC.js} +5 -5
- package/dist/{DataListLoadMore-_ttzMgU_.js → DataListLoadMore-mXqyKK8H.js} +5 -5
- package/dist/{DataListLoadingState-CnhaCMMH.js → DataListLoadingState-CYvSuqM2.js} +3 -3
- package/dist/{DataListLoadingState-Dg0K61B2.js → DataListLoadingState-D3xo2K33.js} +3 -3
- package/dist/{DataListOverflowFade-D0gGxUCT.js → DataListOverflowFade-9EpmqMa6.js} +1 -1
- package/dist/{DataListOverflowFade-Dhqarsdq.js → DataListOverflowFade-PAoF2Bfg.js} +1 -1
- package/dist/{DataListSearch-ERaMQ_9q.js → DataListSearch-B6SvVAqB.js} +6 -6
- package/dist/{DataListSearch-X1nw3x-G.js → DataListSearch-BPbzgsNq.js} +6 -6
- package/dist/{DataListSort-BP_FN0WP.js → DataListSort-CU-Vnk71.js} +6 -6
- package/dist/{DataListSort-VbPM7RnQ.js → DataListSort-Dr58bXZH.js} +6 -6
- package/dist/{DataListSortingOptions-ozYO_sg-.js → DataListSortingOptions-D9nuLyBQ.js} +3 -3
- package/dist/{DataListSortingOptions-DEogOulA.js → DataListSortingOptions-DWYgy1H-.js} +3 -3
- package/dist/{DataListStatusBar-e--ymSPJ.js → DataListStatusBar-CxSeu0q9.js} +2 -2
- package/dist/{DataListStatusBar-k4A_QEP_.js → DataListStatusBar-DYFDGzIf.js} +2 -2
- package/dist/{DataListStickyHeader-DJ8rhIWn.js → DataListStickyHeader-Bgc6mhxP.js} +1 -1
- package/dist/{DataListStickyHeader-CWcye6dN.js → DataListStickyHeader-CApUBQZ2.js} +1 -1
- package/dist/{DataListTags-D83K_3_m.js → DataListTags-6w3pBuVG.js} +2 -2
- package/dist/{DataListTags-CZ4xKQJR.js → DataListTags-B3cUUNav.js} +2 -2
- package/dist/{DataListTotalCount-iNqY-FWE.js → DataListTotalCount-C0sOGcvh.js} +2 -2
- package/dist/{DataListTotalCount-D4fq5vbD.js → DataListTotalCount-fI7ybnxa.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-C33g99NR.js → DataTable-C-OaYAfA.js} +6 -6
- package/dist/{DataTable-NvTxfWNE.js → DataTable-DJnEF5zS.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-CBzIE3bl.js → DatePicker-DBV0WtTG.js} +11 -11
- package/dist/{DatePicker-CXkVTnxp.js → DatePicker-iLxvIHOH.js} +11 -11
- package/dist/{DayOfMonthSelect-CuKT54hM.js → DayOfMonthSelect-BWzFyeib.js} +2 -2
- package/dist/{DayOfMonthSelect-lCvfhrJe.js → DayOfMonthSelect-Djs5Urak.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-Dd5eFOiy.js → DescriptionList-DFtM4JgM.js} +1 -1
- package/dist/{DescriptionList-86Aheoed.js → DescriptionList-Dijh0CcV.js} +1 -1
- package/dist/Disclosure/index.cjs +9 -8
- package/dist/Disclosure/index.mjs +9 -8
- package/dist/{Disclosure-DJvEzGhR.js → Disclosure-BOXGdMB9.js} +3 -3
- package/dist/{Disclosure-Bmsf3SgS.js → Disclosure-BZgjxZhB.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-ni__xenJ.js → DrawerGrid-Bclv65qz.js} +2 -2
- package/dist/{DrawerGrid-4WaQYOi8.js → DrawerGrid-DCwzUz-g.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-BzwvaX_W.js → Emphasis-BGJMlBL8.js} +1 -1
- package/dist/{Emphasis-DA4tW0oO.js → Emphasis-BO14yW55.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-D5MTAacF.js → FeatureSwitch-FAZA9dNh.js} +7 -7
- package/dist/{FeatureSwitch-UGB1RuG8.js → FeatureSwitch-yNu1BAut.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-B3m-Nfuu.js → Form-4Fnm9AbL.js} +1 -1
- package/dist/{Form-CpKNg_8S.js → Form-ZlbS-2CD.js} +1 -1
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-DcMCUJf9.js → FormField-4PPgCjtX.js} +7 -7
- package/dist/{FormField-Dyuv1hvY.js → FormField-Duaq6V-w.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-BJXhbLZp.js → FormatFile-CAxeJnMQ.js} +7 -7
- package/dist/{FormatFile-DYAVG-zT.js → FormatFile-txKmaX6d.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-DK7eoywz.js → Gallery-BYs4sVke.js} +3 -3
- package/dist/{Gallery-D9LjS7rM.js → Gallery-XGBHwJF9.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-MjM-UEP7.js → Glimmer-XcIZQGCJ.js} +2 -2
- package/dist/{Glimmer-CB9AAwYA.js → Glimmer-xAXOWRoF.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-blqRlhW3.js → Grid-Ct_qaW-P.js} +2 -2
- package/dist/{Grid-EV7ZZCrf.js → Grid-D570qMUX.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-C--rNVSj.js → Heading-D5qh625g.js} +1 -1
- package/dist/{Heading-Gi5VGuVp.js → Heading-QC0WEqS-.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-DrmX88Kt.js → InlineLabel-6xItFrOV.js} +1 -1
- package/dist/{InlineLabel-DvhdRbPU.js → InlineLabel-DoIpszS2.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-tEPi1g3I.js → InputAvatar-BZGQ0qL_.js} +5 -5
- package/dist/{InputAvatar-2QIg5746.js → InputAvatar-Db_F3PnU.js} +5 -5
- package/dist/InputDate/index.cjs +21 -21
- package/dist/InputDate/index.mjs +21 -21
- package/dist/{InputDate-DQ0KQaF7.js → InputDate-BCkmdFye.js} +2 -2
- package/dist/{InputDate-DswXTITe.js → InputDate-SCB0CmfW.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-DJVLsVfL.js → InputEmail-BZ7O2NqX.js} +1 -1
- package/dist/{InputEmail-CgW_pNMu.js → InputEmail-C0_IPRYC.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-CQmYfWef.js → InputFile-BCNeCU4O.js} +6 -6
- package/dist/{InputFile-BgqGe3n2.js → InputFile-BNcO4Fx3.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-fNzZ_6en.js → InputNumber-CiBGaxai.js} +1 -1
- package/dist/{InputNumber-jsaUiL4U.js → InputNumber-D1lnmpAA.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-CufVUK5A.js → InputPassword-CWp--f-d.js} +1 -1
- package/dist/{InputPassword-Cr8hHlkI.js → InputPassword-DA4gtqgf.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-SrpvxuJ_.js → InputPhoneNumber-BbMeTRPc.js} +2 -2
- package/dist/{InputPhoneNumber-BL2x7CHV.js → InputPhoneNumber-kmYNZhui.js} +2 -2
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-DXsJgROH.js → InputText-CGCG3amp.js} +2 -2
- package/dist/{InputText-Bw9vqvnA.js → InputText-DXmukw1s.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-D8dowZIb.js → InputTime-BYNBWpox.js} +3 -3
- package/dist/{InputTime-BBFw1Fm7.js → InputTime-BzGRdf3u.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-50ZOaD6G.js → InputValidation-BacxWBqL.js} +2 -2
- package/dist/{InputValidation-B-Lr3_tT.js → InputValidation-CDi9ZJMu.js} +2 -2
- package/dist/{InternalChipDismissible-CAJ76lhD.js → InternalChipDismissible-BN40tUUY.js} +11 -11
- package/dist/{InternalChipDismissible-BfO_9edl.js → InternalChipDismissible-Bumonycz.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-ChtA7ZqU.js → LightBox-BUAOx_rP.js} +7 -7
- package/dist/{LightBox-DkiDR0-f.js → LightBox-CXmMEApp.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-BF7_F0Gb.js → List-CZ1mYM70.js} +10 -10
- package/dist/{List-ByXmmAm7.js → List-D6powV29.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-Cz5U2zlZ.js → Markdown-C7ydTQIh.js} +7 -7
- package/dist/{Markdown-Ch752d_L.js → Markdown-CpJXRRuL.js} +7 -7
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-cTTLmoPK.js → Menu-CbxM-PCB.js} +8 -8
- package/dist/{Menu-D0za7uCF.js → Menu-IQXNifXv.js} +8 -8
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-BPjZj2cC.js → Modal-BtfVcbiR.js} +6 -6
- package/dist/{Modal-DM0D1yyK.js → Modal-CxsVmF-G.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-DcTPESqk.js → MultiSelect-C759cNeM.js} +3 -3
- package/dist/{MultiSelect-DN7Czdcy.js → MultiSelect-CPBDtDvL.js} +3 -3
- package/dist/{Option-C8MQ6AGt.js → Option-BjLhnQDY.js} +1 -1
- package/dist/{Option-CJQw3ohr.js → Option-ZGZvEn8l.js} +1 -1
- package/dist/Page/index.cjs +24 -23
- package/dist/Page/index.mjs +24 -23
- package/dist/{Page-Cnj45brs.js → Page-AEL5S49W.js} +8 -8
- package/dist/{Page-DBNzwP0U.js → Page-D1KebuPm.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-B0j7wzyK.js → Popover-9bXbi4QZ.js} +2 -2
- package/dist/{Popover-DBHBOiwE.js → Popover-BmDmEtOV.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-CO6TAUBS.js → RadioGroup-BZJEexRa.js} +1 -1
- package/dist/{RadioGroup-BOVgBjGp.js → RadioGroup-sUCKae09.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-D0kiGlX_.js → RecurringSelect-BMzpZ_3u.js} +6 -6
- package/dist/{RecurringSelect-BDMS2cZA.js → RecurringSelect-C9rGvsPP.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-KF5QGP3H.js → SideDrawer-cGcj_z8n.js} +51 -23
- package/dist/{SideDrawer-Cwyvsm5Y.js → SideDrawer-ceIoqKar.js} +52 -24
- 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-BeWUnZQj.js → StatusLabel-BVa_dfqj.js} +2 -2
- package/dist/{StatusLabel-1yqLHpSh.js → StatusLabel-Dmfr-up5.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-Bk1kNNPD.js → Switch-7RGkwaPw.js} +1 -1
- package/dist/{Switch-BNQv5IPe.js → Switch-CXRqnpmy.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-BijcK7uX.js → Tabs-D2JC8KeJ.js} +41 -25
- package/dist/{Tabs-CeM8e2Ff.js → Tabs-khQdzKK2.js} +42 -26
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-BBOi4ZNp.js → Text-CoFPi44l.js} +1 -1
- package/dist/{Text-u6EA7uEC.js → Text-Dfz5WLuG.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-DCxZIBYV.js → Tooltip-CFjVWuPC.js} +2 -2
- package/dist/{Tooltip-Dq_bir4e.js → Tooltip-DWxm5OE4.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-DpKPuVtc.js → _baseAssignValue-1miuksgF.js} +1 -1
- package/dist/{_baseAssignValue-gfjo4FOM.js → _baseAssignValue-bZzwvEpm.js} +1 -1
- package/dist/{_baseEach-CGQgQqwM.js → _baseEach-Bi_B_Dr2.js} +4 -4
- package/dist/{_baseEach-Bwh0zWRI.js → _baseEach-BkJnS0V3.js} +4 -4
- package/dist/{_defineProperty-CIDUQDMa.js → _defineProperty-CPQ7m1hX.js} +3 -3
- package/dist/{_defineProperty-B3-0YxF9.js → _defineProperty-Nw0j1qud.js} +3 -3
- package/dist/{_getTag-CpeN8h84.js → _getTag-BfflI8Wn.js} +1 -1
- package/dist/{_getTag-Bm2CdA7U.js → _getTag-BsItOqoG.js} +1 -1
- package/dist/{_setToString-BgmB_cDh.js → _setToString-BYjTaLgk.js} +3 -3
- package/dist/{_setToString-DmoSw7FF.js → _setToString-C9ufzEZL.js} +3 -3
- package/dist/{debounce-BSBa7OQF.js → debounce-CxniNTxs.js} +3 -3
- package/dist/{debounce-CpJQqQw-.js → debounce-S5mYnGyq.js} +4 -4
- package/dist/{helpers-DHYR8mfJ.js → helpers-Ciwh2XO1.js} +1 -1
- package/dist/{helpers-B7rrDMaw.js → helpers-IVxVBOnS.js} +1 -1
- package/dist/{index-C2Ta-MH3.js → index-CplgD10C.js} +1 -1
- package/dist/{index-BQG283w8.js → index-DTg38c39.js} +1 -1
- package/dist/index.cjs +149 -148
- package/dist/index.mjs +149 -148
- package/dist/{isObjectLike-Lvxbq7zr.js → isObjectLike-ByWGkAiE.js} +2 -2
- package/dist/{isObjectLike-BcvSPf3h.js → isObjectLike-DkMl4D9x.js} +1 -1
- package/dist/{isSymbol-DJxwLMmm.js → isSymbol-CiYh-KtT.js} +1 -1
- package/dist/{isSymbol-DNCjMgA5.js → isSymbol-DiMISKdX.js} +1 -1
- package/dist/{noop-B-JWMU5W.js → noop-D69opIZ7.js} +1 -1
- package/dist/{noop-DfQimD-3.js → noop-Dyby60ZI.js} +1 -1
- package/dist/styles.css +82 -26
- package/dist/throttle-CoKknGRl.js +80 -0
- package/dist/throttle-DY7UJx0y.js +77 -0
- package/dist/{useActiveLayout-B1ZaO2du.js → useActiveLayout-DfpiICNe.js} +2 -2
- package/dist/{useActiveLayout-C2tZHA4i.js → useActiveLayout-DzNl-CWT.js} +2 -2
- package/dist/{useAssert-1Y02G3i_.js → useAssert-D0MfwDr3.js} +2 -2
- package/dist/{useAssert-emsMG85h.js → useAssert-D1x9FJJ2.js} +2 -2
- package/dist/{useBatchSelect-Chs9sdco.js → useBatchSelect-CdLDxisP.js} +1 -1
- package/dist/{useBatchSelect-D1yYd83W.js → useBatchSelect-lU9h2oLp.js} +1 -1
- package/dist/{useIsMounted-BMC4zYNy.js → useIsMounted-B6x6Ki5e.js} +1 -1
- package/dist/{useIsMounted-Ca_ObYHt.js → useIsMounted-YeOZBiS5.js} +1 -1
- package/dist/{useResizeObserver-C2eqPBbF.js → useResizeObserver-B6vbDD5q.js} +4 -75
- package/dist/{useResizeObserver-BfO_5zTV.js → useResizeObserver-DygkLLcb.js} +6 -77
- package/dist/{useResponsiveSizing-C5bvyaK4.js → useResponsiveSizing-Ke-eFd06.js} +1 -1
- package/dist/{useResponsiveSizing-D9ZexwxR.js → useResponsiveSizing-pVnL9ait.js} +1 -1
- package/dist/{useScrollToActive-Bvk3bUKX.js → useScrollToActive-BADXRhMB.js} +9 -9
- package/dist/{useScrollToActive-Fv_vRDKS.js → useScrollToActive-CRLtXFeu.js} +9 -9
- package/package.json +3 -3
- /package/dist/{AnimatedPresence-BfnbKiGa.js → AnimatedPresence-IkUxU2l_.js} +0 -0
- /package/dist/{AnimatedPresence-CK1SQiaT.js → AnimatedPresence-zd_WhErW.js} +0 -0
- /package/dist/{AtlantisContext-CPIlh3qG.js → AtlantisContext-BrOVZ9g5.js} +0 -0
- /package/dist/{AtlantisContext-_e919Q3I.js → AtlantisContext-Dzr-jehn.js} +0 -0
- /package/dist/{Body-DBMal_GK.js → Body-DrAf9Nh3.js} +0 -0
- /package/dist/{Body-DyCG2oeq.js → Body-wbDMhFA_.js} +0 -0
- /package/dist/{Content-CwIE879S.js → Content-C9gPjmCx.js} +0 -0
- /package/dist/{Content-BqYs9Ldt.js → Content-CXWJ4bLy.js} +0 -0
- /package/dist/{DataList-CKd9xjCe.js → DataList-BVrFfjyD.js} +0 -0
- /package/dist/{DataList-CVYSPBx9.js → DataList-DGygZEdg.js} +0 -0
- /package/dist/{DataList.const-QVpLnaMg.js → DataList.const-BnDpm1vd.js} +0 -0
- /package/dist/{DataList.const-D7Njdtcc.js → DataList.const-qlX4-Fjg.js} +0 -0
- /package/dist/{DataListLayoutContext-Btw4kBGo.js → DataListLayoutContext-9MjndQAl.js} +0 -0
- /package/dist/{DataListLayoutContext-CmdZZxfp.js → DataListLayoutContext-Cx11IYbj.js} +0 -0
- /package/dist/{Divider-Cl-pOyZn.js → Divider-C0ycwEXd.js} +0 -0
- /package/dist/{Divider-Cs6FuGfo.js → Divider-vZKeegVS.js} +0 -0
- /package/dist/{Flex-B9ElSsrT.js → Flex-C-fSP--d.js} +0 -0
- /package/dist/{Flex-BYL_EvTe.js → Flex-D-ZMbTXY.js} +0 -0
- /package/dist/{FormatDate-DcVYqBfF.js → FormatDate-CTxfMdqP.js} +0 -0
- /package/dist/{FormatDate-DEWiZuhv.js → FormatDate-ChNq-N_e.js} +0 -0
- /package/dist/{FormatEmail-DxU-f4xc.js → FormatEmail-BJipZkn2.js} +0 -0
- /package/dist/{FormatEmail-CJORQRt1.js → FormatEmail-BoiwSkJL.js} +0 -0
- /package/dist/{FormatRelativeDateTime-zHszx9db.js → FormatRelativeDateTime-BQJ_UB-C.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DHGQnDLz.js → FormatRelativeDateTime-D3FgY8y_.js} +0 -0
- /package/dist/{FormatTime-IXnDGweE.js → FormatTime-BtmcX5RE.js} +0 -0
- /package/dist/{FormatTime-D66uqdrW.js → FormatTime-D9pUcgau.js} +0 -0
- /package/dist/{Icon-Cqm8KRQs.js → Icon-Dc7AZmIn.js} +0 -0
- /package/dist/{Icon-Bpfy13I1.js → Icon-DrIpCyam.js} +0 -0
- /package/dist/{InputGroup-DQ5eUg9Q.js → InputGroup-BATnMZtt.js} +0 -0
- /package/dist/{InputGroup-BpK3lWo_.js → InputGroup-CYPk9ReR.js} +0 -0
- /package/dist/{InternalGridCell-BYgIJJah.js → InternalGridCell-D3C5Wb0Y.js} +0 -0
- /package/dist/{InternalGridCell-B5JePZfk.js → InternalGridCell-USaVMGcv.js} +0 -0
- /package/dist/{Link-BBkNP9u-.js → Link-C-TTsPTG.js} +0 -0
- /package/dist/{Link-D0tgdbMJ.js → Link-R2tYQ2jV.js} +0 -0
- /package/dist/{ProgressBar-BNt0rCJe.js → ProgressBar-BCAtT4b4.js} +0 -0
- /package/dist/{ProgressBar-D06yrUri.js → ProgressBar-DTF1yBRW.js} +0 -0
- /package/dist/{Spinner-B0wSIb1e.js → Spinner-CC0Fg0Ij.js} +0 -0
- /package/dist/{Spinner-B9UIT0G5.js → Spinner-DBlidS2K.js} +0 -0
- /package/dist/{StatusIndicator-1DEkIWIE.js → StatusIndicator-B4VZruZS.js} +0 -0
- /package/dist/{StatusIndicator-CTmlnvlz.js → StatusIndicator-BNRbvMsI.js} +0 -0
- /package/dist/{Typography-CPMGPK-a.js → Typography-CBgV6lts.js} +0 -0
- /package/dist/{Typography-ChmjxXh-.js → Typography-Dr0PFsNp.js} +0 -0
- /package/dist/{_commonjsHelpers-WnPwkoVA.js → _commonjsHelpers-BHiefUCo.js} +0 -0
- /package/dist/{_commonjsHelpers-qqP-oTwR.js → _commonjsHelpers-CTrz9JGn.js} +0 -0
- /package/dist/{_polyfill-node.process-femJLa6K.js → _polyfill-node.process-Cvmh0iFa.js} +0 -0
- /package/dist/{_polyfill-node.process-4ER99p2V.js → _polyfill-node.process-DYQy26FS.js} +0 -0
- /package/dist/{tslib.es6-7RZhiWZm.js → tslib.es6-0IukHSAe.js} +0 -0
- /package/dist/{tslib.es6-CYGLDNWE.js → tslib.es6-BWWSbFnL.js} +0 -0
- /package/dist/{useChildComponent-CNLogHCh.js → useChildComponent-BasdEBhS.js} +0 -0
- /package/dist/{useChildComponent-CcEcXkWZ.js → useChildComponent-tFqA33sl.js} +0 -0
- /package/dist/{useFocusTrap-hzWdB2fN.js → useFocusTrap-CpSdAyCV.js} +0 -0
- /package/dist/{useFocusTrap-CuADkBfF.js → useFocusTrap-D6gUrneC.js} +0 -0
- /package/dist/{useFormFieldFocus-a1yxWExS.js → useFormFieldFocus-CBVxp1Bh.js} +0 -0
- /package/dist/{useFormFieldFocus-f6SspGfA.js → useFormFieldFocus-kwj-i77N.js} +0 -0
- /package/dist/{useInView-Bub9FvY1.js → useInView-BriQsY5D.js} +0 -0
- /package/dist/{useInView-CjhUP8KX.js → useInView-k_BB_YxE.js} +0 -0
- /package/dist/{useOnKeyDown-_zQDHSbv.js → useOnKeyDown-BJ6m9imV.js} +0 -0
- /package/dist/{useOnKeyDown-CqyPoqjw.js → useOnKeyDown-pB_LuijK.js} +0 -0
- /package/dist/{useRefocusOnActivator-AmzRotx_.js → useRefocusOnActivator-DmlPfFWR.js} +0 -0
- /package/dist/{useRefocusOnActivator-DT5qHsLH.js → useRefocusOnActivator-DoDVROI1.js} +0 -0
- /package/dist/{useSafeLayoutEffect-Dnee8oHc.js → useSafeLayoutEffect-PpuKiqR1.js} +0 -0
- /package/dist/{useSafeLayoutEffect-319318fT.js → useSafeLayoutEffect-kMXCQs7S.js} +0 -0
|
@@ -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-DoDVROI1.js';
|
|
6
|
+
import { u as useFocusTrap_2 } from './useFocusTrap-CpSdAyCV.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-k_BB_YxE.js';
|
|
9
|
+
import { u as useIsMounted_2 } from './useIsMounted-B6x6Ki5e.js';
|
|
10
|
+
import { H as Heading } from './Heading-D5qh625g.js';
|
|
11
|
+
import { B as Button } from './Button-BEjtnMi3.js';
|
|
12
|
+
import { F as Flex } from './Flex-C-fSP--d.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;
|
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-BNRbvMsI.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-BVa_dfqj.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../Typography-
|
|
7
|
-
require('../StatusIndicator-
|
|
6
|
+
require('../Typography-Dr0PFsNp.js');
|
|
7
|
+
require('../StatusIndicator-B4VZruZS.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-Dmfr-up5.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../Typography-
|
|
5
|
-
import '../StatusIndicator-
|
|
4
|
+
import '../Typography-CBgV6lts.js';
|
|
5
|
+
import '../StatusIndicator-BNRbvMsI.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-Dr0PFsNp.js');
|
|
6
|
+
var StatusIndicator = require('./StatusIndicator-B4VZruZS.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-CBgV6lts.js';
|
|
4
|
+
import { S as StatusIndicator } from './StatusIndicator-BNRbvMsI.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-Dr0PFsNp.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-CBgV6lts.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-wbDMhFA_.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-D2JC8KeJ.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../
|
|
6
|
+
require('../throttle-CoKknGRl.js');
|
|
7
|
+
require('../_commonjsHelpers-BHiefUCo.js');
|
|
8
|
+
require('../debounce-CxniNTxs.js');
|
|
9
|
+
require('../isObjectLike-DkMl4D9x.js');
|
|
10
|
+
require('../isSymbol-DiMISKdX.js');
|
|
11
|
+
require('../Typography-Dr0PFsNp.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-khQdzKK2.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../
|
|
4
|
+
import '../throttle-DY7UJx0y.js';
|
|
5
|
+
import '../_commonjsHelpers-CTrz9JGn.js';
|
|
6
|
+
import '../debounce-S5mYnGyq.js';
|
|
7
|
+
import '../isObjectLike-ByWGkAiE.js';
|
|
8
|
+
import '../isSymbol-CiYh-KtT.js';
|
|
9
|
+
import '../Typography-CBgV6lts.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-CoKknGRl.js');
|
|
6
|
+
var Typography = require('./Typography-Dr0PFsNp.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);
|
|
@@ -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-DY7UJx0y.js';
|
|
4
|
+
import { T as Typography } from './Typography-CBgV6lts.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);
|
package/dist/Text/index.cjs
CHANGED
package/dist/Text/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { T as Typography } from './Typography-
|
|
2
|
+
import { T as Typography } from './Typography-CBgV6lts.js';
|
|
3
3
|
|
|
4
4
|
function Text({ variation = "default", size = "base", align = "start", children, maxLines = "unlimited", }) {
|
|
5
5
|
const textColors = {
|
|
@@ -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-Dr0PFsNp.js');
|
|
5
5
|
|
|
6
6
|
function Text({ variation = "default", size = "base", align = "start", children, maxLines = "unlimited", }) {
|
|
7
7
|
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-DrIpCyam.js');
|
|
7
|
+
var Button = require('../Button-CFxwhWIH.js');
|
|
8
|
+
var Typography = require('../Typography-Dr0PFsNp.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-Dc7AZmIn.js';
|
|
5
|
+
import { B as Button } from '../Button-BEjtnMi3.js';
|
|
6
|
+
import { T as Typography } from '../Typography-CBgV6lts.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-DWxm5OE4.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-PpuKiqR1.js');
|
|
9
|
+
require('../useIsMounted-YeOZBiS5.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-CFjVWuPC.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-kMXCQs7S.js';
|
|
7
|
+
import '../useIsMounted-B6x6Ki5e.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-kMXCQs7S.js';
|
|
6
|
+
import { u as useIsMounted_2 } from './useIsMounted-B6x6Ki5e.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-PpuKiqR1.js');
|
|
8
|
+
var useIsMounted = require('./useIsMounted-YeOZBiS5.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-"};
|