@jobber/components 5.20.8-SCOTTTHd.47 → 5.20.8-SCOTTTHs-a30bcbb.35
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/AtlantisThemeContext.d.ts +1 -0
- package/AtlantisThemeContext.js +17 -0
- package/SegmentedControl.d.ts +1 -0
- package/SegmentedControl.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-AsGjitPB.js → AnimatedSwitcher-CBceYyHk.js} +1 -1
- package/dist/{AnimatedSwitcher-D1s7v7Pj.js → AnimatedSwitcher-CxE7j2G5.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/{AtlantisContext-DAx5jFfl.js → AtlantisContext-BXi54RcL.js} +0 -1
- package/dist/{AtlantisContext-D5JBVe34.js → AtlantisContext-DHTcy92w.js} +0 -1
- package/dist/AtlantisThemeContext/AtlantisThemeContext.d.ts +5 -0
- package/dist/AtlantisThemeContext/index.cjs +22 -0
- package/dist/AtlantisThemeContext/index.d.ts +3 -0
- package/dist/AtlantisThemeContext/index.mjs +12 -0
- package/dist/AtlantisThemeContext/types.d.ts +28 -0
- package/dist/AtlantisThemeContext/updateTheme.d.ts +7 -0
- package/dist/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/Autocomplete/index.cjs +19 -19
- package/dist/Autocomplete/index.mjs +19 -19
- package/dist/{Autocomplete-D7C1D94X.js → Autocomplete-DhdMbZV1.js} +10 -10
- package/dist/{Autocomplete-DXmEPujC.js → Autocomplete-fJGAtJTv.js} +10 -10
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-D87GFY_7.js → Avatar-B_p8ulLU.js} +2 -2
- package/dist/{Avatar-vVrRTgeo.js → Avatar-DoM7yDeY.js} +2 -2
- package/dist/Banner/components/BannerIcon/index.cjs +2 -2
- package/dist/Banner/components/BannerIcon/index.mjs +2 -2
- package/dist/Banner/index.cjs +13 -13
- package/dist/Banner/index.mjs +13 -13
- package/dist/{Banner-C_6soDNx.js → Banner-BxlhbSQK.js} +5 -5
- package/dist/{Banner-CkjotyDf.js → Banner-zAc_UEku.js} +5 -5
- package/dist/BannerIcon-C9WzqCMH.js +14 -0
- package/dist/BannerIcon-CWR2tx2X.js +17 -0
- package/dist/{Body-DhF3tvqt.js → Body-BG97eps0.js} +2 -2
- package/dist/{Body-DLYI83aa.js → Body-DYDGbXQx.js} +2 -2
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-CnACnPtW.js → Box-BBYveO0g.js} +8 -8
- package/dist/{Box-U8ZgDrvt.js → Box-C2wdFunt.js} +8 -8
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-DNnlnxie.js → Button-B_S7hCDq.js} +3 -3
- package/dist/{Button-BJQ6Ejjr.js → Button-X03o-OsV.js} +3 -3
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-BDk_IQwR.js → ButtonDismiss-DUIaPWcl.js} +1 -1
- package/dist/{ButtonDismiss-CrVS9qvM.js → ButtonDismiss-DcTAOplu.js} +1 -1
- package/dist/Card/Card.d.ts +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/Card/types.d.ts +3 -1
- package/dist/{Card-Vp9x9n-O.js → Card-Bj7POkdc.js} +9 -7
- package/dist/{Card-DTISlTEi.js → Card-DadL8BDw.js} +9 -7
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-CSwkd8kN.js → Checkbox-3WI4brva.js} +4 -4
- package/dist/{Checkbox-Du3UpGHa.js → Checkbox-BHKjoG1e.js} +4 -4
- package/dist/Chip/Chip.d.ts +1 -1
- 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-CMURaeyE.js +122 -0
- package/dist/Chip-D3p5kdQT.js +117 -0
- package/dist/{ChipDismissible-Bbfq_gd9.js → ChipDismissible-CUJ0BL8J.js} +4 -4
- package/dist/{ChipDismissible-DRrL8L4k.js → ChipDismissible-Cc08q59y.js} +4 -4
- package/dist/Chips/ChipsTypes.d.ts +11 -2
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +15 -10
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +15 -10
- package/dist/Chips/InternalChipDismissible/index.cjs +28 -21
- package/dist/Chips/InternalChipDismissible/index.mjs +28 -21
- package/dist/Chips/InternalChipMultiSelect.d.ts +2 -2
- package/dist/Chips/InternalChipSingleSelect.d.ts +2 -2
- package/dist/Chips/hooks/useInternalChip.d.ts +5 -0
- package/dist/Chips/index.cjs +32 -23
- package/dist/Chips/index.mjs +31 -22
- package/dist/{Chips-DBq_Wy_R.js → Chips-BpG5G0Nk.js} +40 -18
- package/dist/{Chips-DRbVsVYr.js → Chips-DcUsxw0c.js} +42 -20
- package/dist/Combobox/Combobox.types.d.ts +40 -7
- package/dist/Combobox/ComboboxProvider.d.ts +3 -2
- package/dist/Combobox/components/ComboboxAction/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxAction/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxActivator/ComboboxActivator.d.ts +1 -1
- package/dist/Combobox/components/ComboboxActivator/index.cjs +14 -13
- package/dist/Combobox/components/ComboboxActivator/index.mjs +14 -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 +22 -21
- package/dist/Combobox/components/ComboboxContent/index.mjs +22 -21
- package/dist/Combobox/components/ComboboxOption/ComboboxOption.d.ts +2 -6
- 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/constants.d.ts +1 -0
- package/dist/Combobox/hooks/useCombobox.d.ts +0 -1
- package/dist/Combobox/hooks/useComboboxActivatorAccessibility.d.ts +2 -0
- package/dist/Combobox/hooks/useMakeComboboxHandlers.d.ts +2 -1
- package/dist/Combobox/index.cjs +39 -38
- package/dist/Combobox/index.d.ts +1 -1
- package/dist/Combobox/index.mjs +39 -38
- package/dist/{Combobox-BtSG4IUz.js → Combobox-6kYP0nof.js} +21 -16
- package/dist/{Combobox-BeAVWQDK.js → Combobox-CatuMSqJ.js} +21 -16
- package/dist/{ComboboxAction-B-xEkGXu.js → ComboboxAction-CiO33kY8.js} +12 -6
- package/dist/{ComboboxAction-Co4RRHK_.js → ComboboxAction-DRYanCOZ.js} +12 -6
- package/dist/ComboboxActivator-3cwd5sZw.js +35 -0
- package/dist/ComboboxActivator-Bo4rCXFr.js +37 -0
- package/dist/{ComboboxContent-Bfndjce4.js → ComboboxContent-3t0poov0.js} +10 -9
- package/dist/{ComboboxContent-BuxOmSGG.js → ComboboxContent-CVeT78Kb.js} +10 -9
- package/dist/{ComboboxContentHeader-EkEMUrGS.js → ComboboxContentHeader-BCbGG2pK.js} +3 -3
- package/dist/{ComboboxContentHeader-BKQ1UEmX.js → ComboboxContentHeader-DBzWdUG7.js} +3 -3
- package/dist/{ComboboxContentList-kBmuWXf9.js → ComboboxContentList-CUuvfmU_.js} +8 -8
- package/dist/{ComboboxContentList-DFNYC8R4.js → ComboboxContentList-prs7vZ7A.js} +8 -8
- package/dist/{ComboboxContentSearch-B3PBeTG8.js → ComboboxContentSearch-D3uAbsI_.js} +2 -2
- package/dist/{ComboboxContentSearch-IxNqWXZg.js → ComboboxContentSearch-wiSh-Dva.js} +2 -2
- package/dist/{ComboboxLoadMore-DW9Ko27i.js → ComboboxLoadMore-C21UOOTY.js} +2 -2
- package/dist/{ComboboxLoadMore-rIov-ODy.js → ComboboxLoadMore-UBUXI47y.js} +2 -2
- package/dist/ComboboxOption-CaSEvlkm.js +25 -0
- package/dist/ComboboxOption-DEICUWcX.js +27 -0
- package/dist/{ComboboxProvider-Cveif_i-.js → ComboboxProvider-BTlRaM5o.js} +1 -1
- package/dist/{ComboboxProvider-knSwscF4.js → ComboboxProvider-LU3bOsya.js} +1 -1
- package/dist/ComboboxTrigger-Cx9aytlP.js +17 -0
- package/dist/ComboboxTrigger-DYvfXiDq.js +15 -0
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-MlhwR9i9.js → ConfirmationModal-BEK115o7.js} +4 -4
- package/dist/{ConfirmationModal-DFLwniC9.js → ConfirmationModal-DYfPbGC2.js} +4 -4
- package/dist/Content/Content.d.ts +1 -1
- package/dist/Content/index.cjs +1 -1
- package/dist/Content/index.mjs +1 -1
- package/dist/Content-Bvcrqi5z.js +15 -0
- package/dist/Content-CZscRWg1.js +13 -0
- package/dist/Countdown/index.cjs +3 -3
- package/dist/Countdown/index.mjs +3 -3
- package/dist/{Countdown-D0jqhGSd.js → Countdown-OkPZFMKc.js} +1 -1
- package/dist/{Countdown-CpGFhDn3.js → Countdown-fBRu3K16.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-Dfj2LNvw.js → DataDump-C8rBaThj.js} +3 -3
- package/dist/{DataDump-DlR7I-IA.js → DataDump-DqCarCai.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 +28 -29
- package/dist/DataList/components/DataListActions/index.mjs +28 -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 +30 -31
- package/dist/DataList/components/DataListBulkActions/index.mjs +30 -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 +41 -40
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +41 -40
- package/dist/DataList/components/DataListFilters/index.cjs +54 -52
- package/dist/DataList/components/DataListFilters/index.mjs +54 -52
- package/dist/DataList/components/DataListHeader/index.cjs +37 -38
- package/dist/DataList/components/DataListHeader/index.mjs +37 -38
- package/dist/DataList/components/DataListHeaderTile/DataListSortingArrows.d.ts +2 -1
- 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 +36 -37
- package/dist/DataList/components/DataListItem/index.mjs +36 -37
- package/dist/DataList/components/DataListItemActions/index.cjs +29 -30
- package/dist/DataList/components/DataListItemActions/index.mjs +29 -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 +37 -38
- package/dist/DataList/components/DataListItems/index.mjs +37 -38
- package/dist/DataList/components/DataListLayout/index.cjs +40 -41
- package/dist/DataList/components/DataListLayout/index.mjs +40 -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 +21 -20
- package/dist/DataList/components/DataListStatusBar/index.mjs +21 -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/hooks/useActiveLayout.d.ts +1 -1
- package/dist/DataList/index.cjs +85 -83
- package/dist/DataList/index.d.ts +1 -1
- package/dist/DataList/index.mjs +85 -83
- package/dist/{DataList-CcjYqGUB.js → DataList-BWUgRR75.js} +21 -21
- package/dist/{DataList-t-VewU1k.js → DataList-Bqua6XFm.js} +26 -26
- package/dist/DataList.module-NXjaDrGs.js +5 -0
- package/dist/DataList.module-Q7upEK9h.js +3 -0
- package/dist/{DataList.utils-D1bfZwFM.js → DataList.utils-B2oGWkP7.js} +9 -8
- package/dist/{DataList.utils-BDFmppBo.js → DataList.utils-CL18qiqW.js} +15 -14
- package/dist/{DataListAction-bIikB3L5.js → DataListAction-CDl28tzl.js} +5 -5
- package/dist/{DataListAction-D4U_FYxT.js → DataListAction-CP-l_rqo.js} +5 -5
- package/dist/{DataListActions-B4IWR5tf.js → DataListActions-CHtKbrmO.js} +7 -8
- package/dist/{DataListActions-Gu9Uih95.js → DataListActions-DCJa_1gZ.js} +7 -8
- package/dist/{DataListActionsMenu-h1tBbMCR.js → DataListActionsMenu-DjwdEIAJ.js} +6 -6
- package/dist/{DataListActionsMenu-DYcKhvhV.js → DataListActionsMenu-LsNt9fHn.js} +6 -6
- package/dist/{DataListBulkActions-4br6rZjV.js → DataListBulkActions-BHCS__wy.js} +7 -5
- package/dist/{DataListBulkActions-DEZa61eT.js → DataListBulkActions-C7pi9iPz.js} +7 -5
- package/dist/{DataListContext-AwEVhjUT.js → DataListContext-CuIrm1YO.js} +1 -1
- package/dist/{DataListContext-DKVwenO-.js → DataListContext-D9dIXF3x.js} +1 -1
- package/dist/{DataListEmptyState-BJNXk1UV.js → DataListEmptyState-Pao_-eo_.js} +5 -5
- package/dist/{DataListEmptyState-DpNyPOI0.js → DataListEmptyState-XQHEzkOn.js} +5 -5
- package/dist/{DataListFilters-gGFZE6DF.js → DataListFilters-BJRC2bWt.js} +5 -5
- package/dist/{DataListFilters-Bj8VHPxU.js → DataListFilters-Bgnzlsgy.js} +5 -5
- package/dist/{DataListHeader-DteYi2PV.js → DataListHeader-BoDb-Vs_.js} +11 -11
- package/dist/{DataListHeader-C_PKIh5P.js → DataListHeader-O26VfKrB.js} +18 -18
- package/dist/{DataListHeaderTile-CDI4rxKs.js → DataListHeaderTile-CXGxVihB.js} +16 -11
- package/dist/{DataListHeaderTile-BaLkeMzB.js → DataListHeaderTile-n3yXmN7O.js} +16 -11
- package/dist/{DataListItem-DZ7-4jpM.js → DataListItem-3ouu-Rrk.js} +10 -11
- package/dist/{DataListItem-DTJKGP_i.js → DataListItem-CHDV6x4P.js} +14 -15
- package/dist/{DataListItemActions-uHedcBqq.js → DataListItemActions-BV5hxVIH.js} +6 -6
- package/dist/{DataListItemActions-WS4r_fsO.js → DataListItemActions-Bb2qUFmn.js} +6 -6
- package/dist/{DataListItemActionsOverflow-BBpkbgAS.js → DataListItemActionsOverflow-8mIsG7TE.js} +4 -4
- package/dist/{DataListItemActionsOverflow-ymQbtOAT.js → DataListItemActionsOverflow-CFdANFqT.js} +4 -4
- package/dist/{DataListItemClickable-DTZC8LBk.js → DataListItemClickable-DPkNmxTK.js} +3 -3
- package/dist/{DataListItemClickable-DTLYmwzb.js → DataListItemClickable-Ddfntxxd.js} +6 -6
- package/dist/{DataListItems-DD7ejX2f.js → DataListItems-BNCC1Itt.js} +3 -3
- package/dist/{DataListItems-BdBv2zT9.js → DataListItems-_lA1t4k1.js} +3 -3
- package/dist/{DataListLayout-8ysXI0s3.js → DataListLayout-BAb_cssS.js} +3 -3
- package/dist/{DataListLayout-DMgOzImm.js → DataListLayout-vhpqzyV3.js} +3 -3
- package/dist/{DataListLayoutActions-CdEi1CT5.js → DataListLayoutActions-C538wntJ.js} +5 -5
- package/dist/{DataListLayoutActions-DALzZc9t.js → DataListLayoutActions-Cdb4TOuP.js} +5 -5
- package/dist/{DataListLayoutContext-CE6HfDu8.js → DataListLayoutContext-BarBgPay.js} +1 -1
- package/dist/{DataListLayoutContext-B3M4u7IY.js → DataListLayoutContext-JpnTKRYv.js} +1 -1
- package/dist/{DataListLoadMore-DulhoU_2.js → DataListLoadMore-BpCnevr4.js} +6 -6
- package/dist/{DataListLoadMore-C9r5FwVj.js → DataListLoadMore-Citj3TMb.js} +6 -6
- package/dist/{DataListLoadingState-BCuR5_I0.js → DataListLoadingState-CHYLfE0-.js} +4 -4
- package/dist/{DataListLoadingState-d6UDdDuF.js → DataListLoadingState-DreuiLoF.js} +4 -4
- package/dist/{DataListOverflowFade-D7Po9LC5.js → DataListOverflowFade-DHZ17hJm.js} +2 -2
- package/dist/{DataListOverflowFade-DWQereGo.js → DataListOverflowFade-DO8zPJQT.js} +2 -2
- package/dist/{DataListSearch-DAXyiD_s.js → DataListSearch-BxoG00dG.js} +7 -7
- package/dist/{DataListSearch-CL0rwLA_.js → DataListSearch-DSt-vZEw.js} +7 -7
- package/dist/{DataListSort-DIlg5xhJ.js → DataListSort-BlHKzLmm.js} +6 -6
- package/dist/{DataListSort-C_bEHo6o.js → DataListSort-CMwS5ZOU.js} +6 -6
- package/dist/{DataListSortingOptions-DVZ3IPmO.js → DataListSortingOptions-BwvPQi3S.js} +4 -4
- package/dist/{DataListSortingOptions-ChsgR4HN.js → DataListSortingOptions-DGtLyAlP.js} +4 -4
- package/dist/{DataListStatusBar-BUdfh2Zs.js → DataListStatusBar-gfUIa0gS.js} +2 -2
- package/dist/{DataListStatusBar-DUm2xzOz.js → DataListStatusBar-lMlXXCw4.js} +2 -2
- package/dist/{DataListStickyHeader-6F6Q5Vhb.js → DataListStickyHeader-CPitWOi5.js} +2 -2
- package/dist/{DataListStickyHeader-B78iC-bf.js → DataListStickyHeader-mkbiQiWW.js} +2 -2
- package/dist/{DataListTags-BlI0nUV4.js → DataListTags-AUVTAjnr.js} +3 -3
- package/dist/{DataListTags-CZYGLAGg.js → DataListTags-KGO2pNAA.js} +3 -3
- package/dist/{DataListTotalCount-COG7ogjx.js → DataListTotalCount-0VAk4vvY.js} +3 -3
- package/dist/{DataListTotalCount-oUYLBaPU.js → DataListTotalCount-BDyNldWJ.js} +3 -3
- package/dist/DataTable/index.cjs +20 -20
- package/dist/DataTable/index.mjs +20 -20
- package/dist/DataTable/test-utilities/index.cjs +7 -7
- package/dist/DataTable/test-utilities/index.mjs +7 -7
- package/dist/{DataTable-B4_DRZ80.js → DataTable-B7vqSM9k.js} +10 -10
- package/dist/{DataTable-CXCnZD33.js → DataTable-D9Vv8dFz.js} +10 -10
- package/dist/DatePicker/index.cjs +18 -14
- package/dist/DatePicker/index.mjs +18 -14
- package/dist/{DatePicker-r6-RdZMp.js → DatePicker-CWsQUiHO.js} +136 -547
- package/dist/{DatePicker-MSZ7nsJB.js → DatePicker-bIxlTIam.js} +174 -585
- package/dist/{DayOfMonthSelect-R1uQ83Jr.js → DayOfMonthSelect-CZ7rnmlM.js} +7 -7
- package/dist/{DayOfMonthSelect-wMSodz6z.js → DayOfMonthSelect-DugeJycT.js} +7 -7
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-Br0CjVLO.js → DescriptionList-DpBnOcHy.js} +2 -2
- package/dist/{DescriptionList-DsBtbS2M.js → DescriptionList-DsU7tqNT.js} +2 -2
- package/dist/Disclosure/Disclosure.d.ts +12 -3
- package/dist/Disclosure/index.cjs +10 -10
- package/dist/Disclosure/index.mjs +10 -10
- package/dist/Disclosure-B7wTOgpi.js +36 -0
- package/dist/Disclosure-CR7v7UI_.js +38 -0
- package/dist/Divider/index.cjs +1 -1
- package/dist/Divider/index.mjs +1 -1
- package/dist/{Divider-CIe5LTq1.js → Divider-C1BlJd6V.js} +1 -1
- package/dist/{Divider-ClppKCli.js → Divider-CN8o43md.js} +1 -1
- package/dist/Drawer/index.cjs +6 -6
- package/dist/Drawer/index.mjs +6 -6
- package/dist/{DrawerGrid-D8U0Go8m.js → DrawerGrid-Bj7IP_ZC.js} +5 -4
- package/dist/{DrawerGrid-DujM7R07.js → DrawerGrid-aVXg8d6D.js} +5 -4
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-BYo0U-bF.js → Emphasis-CG2lsbZH.js} +1 -1
- package/dist/{Emphasis-DoxS7S30.js → Emphasis-S49l0Kwc.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-DGhqv4tE.js → FeatureSwitch-BWgflu0w.js} +8 -8
- package/dist/{FeatureSwitch-Dt0_wLFx.js → FeatureSwitch-Bda-S0QW.js} +8 -8
- package/dist/Flex/index.cjs +1 -1
- package/dist/Flex/index.mjs +1 -1
- package/dist/{Flex-YklbDzqk.js → Flex-BuEj3_N5.js} +1 -1
- package/dist/{Flex-BgqKTUyE.js → Flex-FEWYiEyG.js} +1 -1
- package/dist/Form/index.cjs +2 -2
- package/dist/Form/index.mjs +2 -2
- package/dist/{Form-BCJIOCTe.js → Form-CoCoy0dR.js} +1 -1
- package/dist/{Form-D0w9X9HY.js → Form-CzAKC0NH.js} +1 -1
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-DKoakBiN.js → FormField-1MVxQMeP.js} +9 -9
- package/dist/{FormField-Dw60Yuaw.js → FormField-vy2Hd8hQ.js} +9 -9
- 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/{FormatEmail-BU5ZFGfg.js → FormatEmail-CtBNuL5B.js} +1 -1
- package/dist/{FormatEmail-pVEUe5LI.js → FormatEmail-DaqbWm-o.js} +1 -1
- package/dist/FormatFile/index.cjs +21 -21
- package/dist/FormatFile/index.mjs +21 -21
- package/dist/{FormatFile-D8_8i-xv.js → FormatFile-B9AwgrH6.js} +10 -10
- package/dist/{FormatFile-B2u5pnHT.js → FormatFile-BigBBblK.js} +10 -10
- 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-3WnGvn1L.js → Gallery-BCaigrQR.js} +4 -4
- package/dist/{Gallery-DHJvjFdx.js → Gallery-wThtlapZ.js} +4 -4
- package/dist/Glimmer/Glimmer.d.ts +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-Cph2YnVP.js → Glimmer-DDQazCKz.js} +6 -6
- package/dist/{Glimmer-BOm0xXjY.js → Glimmer-Dp6TA00Z.js} +6 -6
- package/dist/Grid/Grid.d.ts +4 -5
- package/dist/Grid/{InternalGridCell/InternalGridCell.d.ts → GridCell/GridCell.d.ts} +3 -2
- package/dist/Grid/GridCell/index.cjs +9 -0
- package/dist/Grid/GridCell/index.d.ts +1 -0
- package/dist/Grid/GridCell/index.mjs +2 -0
- package/dist/Grid/index.cjs +2 -5
- package/dist/Grid/index.mjs +2 -5
- package/dist/Grid-BQrEcSqc.js +18 -0
- package/dist/Grid-pyr57tfp.js +21 -0
- package/dist/{InternalGridCell-QOjyyM-p.js → GridCell-BPx-YUMw.js} +3 -3
- package/dist/{InternalGridCell-DuRKWLGW.js → GridCell-DLoopOTc.js} +3 -3
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-B5N5rCZp.js → Heading-DNVMkz9q.js} +1 -1
- package/dist/{Heading-rMLWU5QQ.js → Heading-De8Cz0wk.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-C9RpmTLl.js +18 -0
- package/dist/InlineLabel-DHdH7SuF.js +20 -0
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-BuiCx-44.js → InputAvatar-BXByAGn8.js} +6 -6
- package/dist/{InputAvatar-DKy5kKXH.js → InputAvatar-Ih667w7d.js} +6 -6
- package/dist/InputDate/index.cjs +25 -21
- package/dist/InputDate/index.mjs +25 -21
- package/dist/{InputDate-uBCdy9et.js → InputDate-C2xitdRz.js} +2 -2
- package/dist/{InputDate-mDXD0OFW.js → InputDate-CZ06WulU.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-BPuC5kEV.js → InputEmail-2Q8zPAU5.js} +1 -1
- package/dist/{InputEmail-CLIHWDNm.js → InputEmail-sdOzdrzR.js} +1 -1
- package/dist/InputFile/FileTypes.d.ts +12 -0
- package/dist/InputFile/InputFile.d.ts +21 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-BN2bXNCc.js → InputFile-ANK0IeG9.js} +109 -27
- package/dist/{InputFile-WEkjuoHJ.js → InputFile-BhukP39A.js} +109 -27
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/{InputGroup-Cmw90x-4.js → InputGroup-C6N8CNLw.js} +1 -1
- package/dist/{InputGroup-B2fCJzXw.js → InputGroup-i9ru0LcP.js} +1 -1
- package/dist/InputNumber/index.cjs +10 -10
- package/dist/InputNumber/index.mjs +10 -10
- package/dist/{InputNumber-D68AKe6t.js → InputNumber-DBJKWRuF.js} +1 -1
- package/dist/{InputNumber-BQObE_Qe.js → InputNumber-DzTGZO-F.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-Dp2-c0ec.js → InputPassword-CFyo91y2.js} +1 -1
- package/dist/{InputPassword-aOrEjNwh.js → InputPassword-Dah6bm-4.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-bRSbQwUl.js → InputPhoneNumber-DQ0Wo1Wf.js} +3 -3
- package/dist/{InputPhoneNumber-G_CNTcrU.js → InputPhoneNumber-DkFuzQAH.js} +3 -3
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-BaCsi_pl.js → InputText-BYu1XLNK.js} +2 -2
- package/dist/{InputText-B0_O28Kj.js → InputText-yvD2bKCX.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-DNcfVVA4.js → InputTime-BRUaC35v.js} +3 -3
- package/dist/{InputTime-C3atSk4Z.js → InputTime-WX8Q_qVv.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-CKE7P0ej.js → InputValidation-Cex0nlcu.js} +3 -3
- package/dist/{InputValidation-9Iufa8oU.js → InputValidation-CzNHjrwl.js} +3 -3
- package/dist/InternalChipDismissible-BBZgLquw.js +63 -0
- package/dist/InternalChipDismissible-Cgyq5I-4.js +66 -0
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-DCyUMdt_.js → LightBox-CW9jpM_5.js} +8 -8
- package/dist/{LightBox-CWZDESqo.js → LightBox-f6sTirKq.js} +8 -8
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/{Link-CzdA_SFY.js → Link-BbhUf_PE.js} +1 -1
- package/dist/{Link-pcwP7AgT.js → Link-vnDNex4E.js} +1 -1
- package/dist/List/index.cjs +20 -17
- package/dist/List/index.mjs +20 -17
- package/dist/{List-DkSg-BhW.js → List-DqI72Tdc.js} +13 -13
- package/dist/{List-D4cKzuGF.js → List-V_piR_Hr.js} +14 -14
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-D74vcFM4.js → Markdown-D1xb-Cwj.js} +21 -8
- package/dist/{Markdown-BeMoNwWk.js → Markdown-q4KytAGw.js} +21 -8
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-dsoYqxg3.js → Menu-Bahhyk73.js} +12 -11
- package/dist/{Menu-C7xhrPRY.js → Menu-CQ88gDhf.js} +12 -11
- package/dist/Modal/Modal.d.ts +1 -1
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-DGdV6TPd.js → Modal-CApsNRnT.js} +8 -8
- package/dist/{Modal-BdOL4GUK.js → Modal-DIPue0ZO.js} +8 -8
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-C3jU-ADd.js → MultiSelect-C1GeW2MD.js} +5 -6
- package/dist/{MultiSelect-DzEX6m39.js → MultiSelect-uC3fLa0i.js} +5 -6
- package/dist/{Option-D7Iox5dO.js → Option-CUvVnbIK.js} +1 -1
- package/dist/{Option-CAK-2KOO.js → Option-_Eghqezi.js} +1 -1
- package/dist/Page/Page.d.ts +7 -3
- package/dist/Page/index.cjs +24 -24
- package/dist/Page/index.mjs +24 -24
- package/dist/{Page-hPRZma5e.js → Page-DMckaIKn.js} +19 -14
- package/dist/{Page-Ct2G9IzE.js → Page-HF7E43fM.js} +19 -14
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-Bg9Oo_Kc.js → Popover-7MYNDMaT.js} +3 -3
- package/dist/{Popover-CIC2J_Pb.js → Popover-D6YbDUxB.js} +3 -3
- package/dist/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/ProgressBar/ProgressBarStepped.d.ts +1 -1
- package/dist/ProgressBar/index.cjs +1 -1
- package/dist/ProgressBar/index.mjs +1 -1
- package/dist/{ProgressBar-D_znzoLM.js → ProgressBar-2-d75gIg.js} +2 -2
- package/dist/{ProgressBar-Da03ntbL.js → ProgressBar-B4ASNvko.js} +2 -2
- package/dist/RadioGroup/index.cjs +3 -3
- package/dist/RadioGroup/index.mjs +3 -3
- package/dist/{RadioGroup-CfNgmQPv.js → RadioGroup-D-HbIO_A.js} +2 -2
- package/dist/{RadioGroup-DfXnZuCM.js → RadioGroup-dvfhizdp.js} +2 -2
- 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-DIGSXuMj.js → RecurringSelect-C9Wr70RP.js} +7 -7
- package/dist/{RecurringSelect-C8zKTdBN.js → RecurringSelect-I1vyl-PX.js} +7 -7
- package/dist/SegmentedControl/SegmentedControl.d.ts +24 -0
- package/dist/SegmentedControl/SegmentedControlBase.d.ts +5 -0
- package/dist/SegmentedControl/SegmentedControlOption.d.ts +14 -0
- package/dist/SegmentedControl/SegmentedControlProvider.d.ts +14 -0
- package/dist/SegmentedControl/index.cjs +11 -0
- package/dist/SegmentedControl/index.d.ts +2 -0
- package/dist/SegmentedControl/index.mjs +2 -0
- package/dist/SegmentedControl-DzBa195G.js +67 -0
- package/dist/SegmentedControl-GQ0n11O0.js +62 -0
- package/dist/Select/index.cjs +10 -10
- package/dist/Select/index.mjs +10 -10
- package/dist/SideDrawer/index.cjs +11 -11
- package/dist/SideDrawer/index.mjs +11 -11
- package/dist/{SideDrawer-B9Z-uya4.js → SideDrawer-BF9jTu53.js} +11 -11
- package/dist/{SideDrawer-BP_1CIJ9.js → SideDrawer-DFt_vOJi.js} +11 -11
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/{Spinner-_wo9F4ko.js → Spinner-COTKfUIp.js} +1 -1
- package/dist/{Spinner-DUlWo9r8.js → Spinner-Cl4eyZlz.js} +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/{StatusIndicator-DHYfAQiV.js → StatusIndicator-CwbNTbjX.js} +1 -1
- package/dist/{StatusIndicator-DlTnYZK2.js → StatusIndicator-gysqi0VZ.js} +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-B3lY22Q3.js → StatusLabel-CjZSE4ru.js} +4 -4
- package/dist/{StatusLabel-DNe68Att.js → StatusLabel-DuVTF6rf.js} +4 -4
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-CBh9-rWP.js → Switch--1aqaaSB.js} +2 -2
- package/dist/{Switch-CH5rxoAI.js → Switch-ktH_XnkS.js} +2 -2
- package/dist/Table/index.cjs +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.cjs +7 -7
- package/dist/Tabs/index.mjs +7 -7
- package/dist/{Tabs-SiDPVEWA.js → Tabs-B2ypFY1V.js} +3 -3
- package/dist/{Tabs-Ck5NIBWi.js → Tabs-hR98QJP7.js} +3 -3
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-B9SvNYhV.js → Text-CJWvewR1.js} +1 -1
- package/dist/{Text-CBZYvoLZ.js → Text-DfqZm-hl.js} +1 -1
- package/dist/Toast/index.cjs +4 -4
- package/dist/Toast/index.mjs +4 -4
- package/dist/Tooltip/Tooltip.d.ts +2 -1
- package/dist/Tooltip/index.cjs +3 -3
- package/dist/Tooltip/index.mjs +3 -3
- package/dist/{Tooltip-C86S21LH.js → Tooltip-BcPn1-6w.js} +12 -9
- package/dist/{Tooltip-RH0OxkfB.js → Tooltip-BoY5a6uJ.js} +12 -9
- package/dist/Typography/Typography.d.ts +18 -8
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/Typography/types.d.ts +7 -0
- package/dist/Typography-DYUPEo3A.js +54 -0
- package/dist/Typography-DhGlhWcl.js +52 -0
- package/dist/{_baseAssignValue-6cO5YAMM.js → _baseAssignValue-3vPloKZj.js} +2 -2
- package/dist/{_baseAssignValue-B232aWPF.js → _baseAssignValue-DZi8O7oF.js} +1 -1
- package/dist/{_baseEach-DaRKDSZo.js → _baseEach-DotRPJUN.js} +7 -48
- package/dist/{_baseEach-BSfpo-WG.js → _baseEach-uMW6M7V5.js} +34 -75
- package/dist/_baseFlatten-CpWXMH-6.js +67 -0
- package/dist/_baseFlatten-O0cgVqFX.js +65 -0
- package/dist/_baseFor-D-8hu2dP.js +47 -0
- package/dist/_baseFor-dR9OH_0S.js +45 -0
- package/dist/_getAllKeys-CCSkQ6GB.js +506 -0
- package/dist/_getAllKeys-j8ohSZx1.js +518 -0
- package/dist/_getTag-BH0Xb8ff.js +136 -0
- package/dist/_getTag-Sx5zkft7.js +133 -0
- package/dist/_isIterateeCall-CQwBN61n.js +55 -0
- package/dist/_isIterateeCall-DcMamw6d.js +58 -0
- package/dist/{_setToString-RseKJlDd.js → _setToString-C9PwN-_B.js} +2 -64
- package/dist/{_setToString-YzvDyWOL.js → _setToString-DfItZ1r4.js} +3 -66
- package/dist/constants-D1-obPRE.js +5 -0
- package/dist/constants-DCAch56Z.js +3 -0
- package/dist/{debounce-cjF9b-E5.js → debounce-BFEgsSNV.js} +3 -3
- package/dist/{debounce-BgaJlkp5.js → debounce-BN5llZ7Y.js} +3 -3
- package/dist/{helpers-AgFHbNNU.js → helpers-Cuai90d_.js} +1 -1
- package/dist/{helpers-C7vLffWC.js → helpers-DTwTkUDb.js} +1 -1
- package/dist/{_defineProperty-Db5jI0Nb.js → identity-Cpwd6G6D.js} +252 -752
- package/dist/{_defineProperty-DCYxucYI.js → identity-yZSZ6DPp.js} +256 -767
- package/dist/{index-DP6F9DkH.js → index-BEcecQeg.js} +1 -1
- package/dist/{index-C76JIj31.js → index-C36nFO6W.js} +1 -1
- package/dist/index.cjs +171 -153
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +160 -151
- package/dist/{isObjectLike-DKzW5wff.js → isObjectLike-C73xmKqw.js} +35 -35
- package/dist/{isObjectLike-BM-uYAmX.js → isObjectLike-D54Sylr4.js} +34 -34
- package/dist/{isSymbol-BJl8Rtn2.js → isSymbol-lWxnii5_.js} +1 -1
- package/dist/{isSymbol-BxXQq1A2.js → isSymbol-onvgp5ug.js} +1 -1
- package/dist/{_getTag-m_C2DHKR.js → isTypedArray-BYJ9R84I.js} +219 -348
- package/dist/{_getTag-Bul4BCNA.js → isTypedArray-D08u9m1t.js} +220 -349
- package/dist/keysIn-COV8vG-h.js +385 -0
- package/dist/keysIn-DajsEWZN.js +396 -0
- package/dist/{noop-CJMBQplB.js → noop-BUBheiOg.js} +1 -1
- package/dist/{noop-Cik5WVpU.js → noop-RKdG5BZD.js} +1 -1
- package/dist/{showToast-BSl9_tHm.js → showToast-BLpRuF_z.js} +4 -4
- package/dist/{showToast-x5Nvd5dH.js → showToast-D3TXxmDu.js} +4 -4
- package/dist/styles.css +1945 -1663
- package/dist/{throttle-BiQ8DT9m.js → throttle-BFHQHnGo.js} +3 -3
- package/dist/{throttle-B2QG4QCa.js → throttle-Chp_VbrK.js} +3 -3
- package/dist/updateTheme-CbRJY1g2.js +412 -0
- package/dist/updateTheme-MinlFlG9.js +406 -0
- package/dist/{useActiveLayout-DqLTs8SC.js → useActiveLayout-BDqWO57G.js} +2 -2
- package/dist/{useActiveLayout-Cotya0aL.js → useActiveLayout-KeBUhg6X.js} +2 -2
- package/dist/{useAssert-Dg1pjn_W.js → useAssert-B3XCvzMe.js} +2 -2
- package/dist/{useAssert-DqKiLTi1.js → useAssert-BWTjh08k.js} +2 -2
- package/dist/{useBatchSelect-_3-SXW19.js → useBatchSelect-BrXQGVm1.js} +1 -1
- package/dist/{useBatchSelect-DJYgQSH9.js → useBatchSelect-DjVwGs4a.js} +1 -1
- package/dist/{useIsMounted-BcLpfdxY.js → useIsMounted-B2QNmIn3.js} +4 -1
- package/dist/{useIsMounted-BAI_EWrW.js → useIsMounted-CgSxXL6-.js} +4 -1
- package/dist/{useResizeObserver-CDlThO1I.js → useResizeObserver-BFycM9aW.js} +2 -2
- package/dist/{useResizeObserver-BaRlQkGU.js → useResizeObserver-DDopVH1n.js} +2 -2
- package/dist/{useResponsiveSizing-XvTBAY2o.js → useResponsiveSizing-CVonUnvp.js} +1 -1
- package/dist/{useResponsiveSizing-DkLOt1NN.js → useResponsiveSizing-DE7RC318.js} +1 -1
- package/dist/{useScrollToActive-BikHxeX8.js → useScrollToActive-B5TO-nWe.js} +14 -62
- package/dist/{useScrollToActive-BE635f-I.js → useScrollToActive-_v-c1LtL.js} +21 -69
- package/dist/utils/meta/meta.json +128 -0
- package/package.json +14 -9
- package/rollup.config.mjs +1 -0
- package/dist/BannerIcon-Cirag0mJ.js +0 -14
- package/dist/BannerIcon-k-2aP-uo.js +0 -17
- package/dist/Card/cardcolors.css.d.ts +0 -89
- package/dist/Chip-j5Ln6eoD.js +0 -78
- package/dist/Chip-yurfbRf_.js +0 -75
- package/dist/ComboboxActivator-Bazf0mFw.js +0 -28
- package/dist/ComboboxActivator-jMH12xcE.js +0 -26
- package/dist/ComboboxOption-C4vZMrJ9.js +0 -22
- package/dist/ComboboxOption-hxc2-pX3.js +0 -20
- package/dist/ComboboxTrigger-CZ-3f7DU.js +0 -22
- package/dist/ComboboxTrigger-CacyWXXx.js +0 -24
- package/dist/Content/Spacing.css.d.ts +0 -13
- package/dist/Content-CWPwg3vC.js +0 -15
- package/dist/Content-CzuStjZy.js +0 -13
- package/dist/DataList-jeNDHtJs.js +0 -3
- package/dist/DataList-keHLIPwl.js +0 -5
- package/dist/Disclosure-1kltijNK.js +0 -35
- package/dist/Disclosure-C_wtlZ1g.js +0 -33
- package/dist/Gallery/Gallery.css.d.ts +0 -9
- package/dist/Glimmer/style/Shape.css.d.ts +0 -9
- package/dist/Glimmer/style/Sizes.css.d.ts +0 -10
- package/dist/Glimmer/style/Timing.css.d.ts +0 -6
- package/dist/Grid/GridAlign.css.d.ts +0 -8
- package/dist/Grid/GridCell.d.ts +0 -3
- package/dist/Grid/InternalGridCell/index.cjs +0 -9
- package/dist/Grid/InternalGridCell/index.d.ts +0 -1
- package/dist/Grid/InternalGridCell/index.mjs +0 -2
- package/dist/Grid-Dmnw6XDU.js +0 -32
- package/dist/Grid-DtFE5Kvp.js +0 -29
- package/dist/InlineLabel-BvuV8WW4.js +0 -18
- package/dist/InlineLabel-BwJ9vKGE.js +0 -20
- package/dist/InternalChipDismissible-CVpXArfM.js +0 -157
- package/dist/InternalChipDismissible-D7Az5twZ.js +0 -152
- package/dist/Modal/ModalSizes.css.d.ts +0 -6
- package/dist/ProgressBar/ProgressBarSizes.css.d.ts +0 -7
- package/dist/Typography/css/Emphasis.css.d.ts +0 -6
- package/dist/Typography/css/FontFamilies.css.d.ts +0 -6
- package/dist/Typography/css/FontSizes.css.d.ts +0 -12
- package/dist/Typography/css/FontWeights.css.d.ts +0 -10
- package/dist/Typography/css/TextAlignment.css.d.ts +0 -7
- package/dist/Typography/css/TextCases.css.d.ts +0 -8
- package/dist/Typography/css/TextColors.css.d.ts +0 -24
- package/dist/Typography/css/Truncate.css.d.ts +0 -5
- package/dist/Typography/css/Typography.css.d.ts +0 -5
- package/dist/Typography-BbeLF-cH.js +0 -38
- package/dist/Typography-Dfc5QcyD.js +0 -36
- /package/dist/{AnimatedPresence-CEupcpHp.js → AnimatedPresence-BnueoqI2.js} +0 -0
- /package/dist/{AnimatedPresence-CL2v-CUb.js → AnimatedPresence-DLT6hZjb.js} +0 -0
- /package/dist/{DataList.const-DocgTf-L.js → DataList.const-Dqstiu7B.js} +0 -0
- /package/dist/{DataList.const-DPiGv0GD.js → DataList.const-DrS_5CIC.js} +0 -0
- /package/dist/{DataListLayoutContext-D02swPeQ.js → DataListLayoutContext-Cbo2cMSj.js} +0 -0
- /package/dist/{DataListLayoutContext-DQ_x9-Ss.js → DataListLayoutContext-DddNXBVd.js} +0 -0
- /package/dist/{FormatDate-CFNl9qA1.js → FormatDate-B299sFy0.js} +0 -0
- /package/dist/{FormatDate-C2ZZRv2Y.js → FormatDate-CH5Pp8k7.js} +0 -0
- /package/dist/{FormatRelativeDateTime-CyIEdNoQ.js → FormatRelativeDateTime-B4eNMp3U.js} +0 -0
- /package/dist/{FormatRelativeDateTime-BiHGp3vD.js → FormatRelativeDateTime-BGxixnTq.js} +0 -0
- /package/dist/{FormatTime-tgPOafFD.js → FormatTime-CDTS3kw9.js} +0 -0
- /package/dist/{FormatTime-C45O39W5.js → FormatTime-wHgVhnTA.js} +0 -0
- /package/dist/{Icon-BkEAR5t9.js → Icon-BPJYIZWC.js} +0 -0
- /package/dist/{Icon-COz3twBh.js → Icon-DMURv2lZ.js} +0 -0
- /package/dist/{_commonjsHelpers-qhLoVmu9.js → _commonjsHelpers-BgTBIXLr.js} +0 -0
- /package/dist/{_commonjsHelpers-Ci46CUxA.js → _commonjsHelpers-DM5kGkm_.js} +0 -0
- /package/dist/{_polyfill-node.process-DGZnL0el.js → _polyfill-node.process-BFFOZcuv.js} +0 -0
- /package/dist/{_polyfill-node.process-CPLFG6go.js → _polyfill-node.process-DUypQ5CD.js} +0 -0
- /package/dist/{tslib.es6-DPdENH3v.js → tslib.es6-CeHUynox.js} +0 -0
- /package/dist/{tslib.es6-BLv7qR2d.js → tslib.es6-D1nA6hj6.js} +0 -0
- /package/dist/{useChildComponent-C9AgJ8RX.js → useChildComponent-BzSjKhIY.js} +0 -0
- /package/dist/{useChildComponent-CIuUx15C.js → useChildComponent-D3fSD1HY.js} +0 -0
- /package/dist/{useFocusTrap-Dk-GuYjG.js → useFocusTrap-BcAaMx_N.js} +0 -0
- /package/dist/{useFocusTrap-Bq1x_TCr.js → useFocusTrap-CtkRT0O5.js} +0 -0
- /package/dist/{useFormFieldFocus-DZ9HMBGq.js → useFormFieldFocus-0wEDq1A1.js} +0 -0
- /package/dist/{useFormFieldFocus-CVSFNsqx.js → useFormFieldFocus-ClQ0z2uo.js} +0 -0
- /package/dist/{useInView-qPX0Djna.js → useInView-BWRX95_u.js} +0 -0
- /package/dist/{useInView-EF3RtRwj.js → useInView-lNn9gvvm.js} +0 -0
- /package/dist/{useOnKeyDown-CP-ZHBUl.js → useOnKeyDown-CN4xcllA.js} +0 -0
- /package/dist/{useOnKeyDown-BWr1Uh0c.js → useOnKeyDown-Dw5_7B0M.js} +0 -0
- /package/dist/{useRefocusOnActivator-BFTtukDp.js → useRefocusOnActivator-DWAxYZut.js} +0 -0
- /package/dist/{useRefocusOnActivator-DRpjaqxT.js → useRefocusOnActivator-pF1A-PEc.js} +0 -0
- /package/dist/{useSafeLayoutEffect-B2rzYFeG.js → useSafeLayoutEffect-BJHtGge9.js} +0 -0
- /package/dist/{useSafeLayoutEffect-BYpr1gmT.js → useSafeLayoutEffect-zh3ddhlC.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DatePicker, o as omit } from './DatePicker-
|
|
1
|
+
import { D as DatePicker, o as omit } from './DatePicker-CWsQUiHO.js';
|
|
2
2
|
import React, { useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { F as FormField } from './FormField-
|
|
3
|
+
import { F as FormField } from './FormField-vy2Hd8hQ.js';
|
|
4
4
|
|
|
5
5
|
function InputDate(inputProps) {
|
|
6
6
|
const formFieldActionsRef = useRef(null);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var InputEmail = require('../InputEmail-
|
|
3
|
+
var InputEmail = require('../InputEmail-2Q8zPAU5.js');
|
|
4
4
|
require('react');
|
|
5
|
-
require('../FormField-
|
|
6
|
-
require('../tslib.es6-
|
|
5
|
+
require('../FormField-1MVxQMeP.js');
|
|
6
|
+
require('../tslib.es6-D1nA6hj6.js');
|
|
7
7
|
require('react-hook-form');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('framer-motion');
|
|
10
10
|
require('@jobber/design');
|
|
11
|
-
require('../Button-
|
|
11
|
+
require('../Button-X03o-OsV.js');
|
|
12
12
|
require('react-router-dom');
|
|
13
|
-
require('../Icon-
|
|
14
|
-
require('../Typography-
|
|
15
|
-
require('../Text-
|
|
16
|
-
require('../useFormFieldFocus-
|
|
17
|
-
require('../InputValidation-
|
|
18
|
-
require('../Spinner-
|
|
13
|
+
require('../Icon-DMURv2lZ.js');
|
|
14
|
+
require('../Typography-DYUPEo3A.js');
|
|
15
|
+
require('../Text-CJWvewR1.js');
|
|
16
|
+
require('../useFormFieldFocus-0wEDq1A1.js');
|
|
17
|
+
require('../InputValidation-Cex0nlcu.js');
|
|
18
|
+
require('../Spinner-Cl4eyZlz.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { I as InputEmail, v as validationMessage } from '../InputEmail-
|
|
1
|
+
export { I as InputEmail, v as validationMessage } from '../InputEmail-sdOzdrzR.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../FormField-
|
|
4
|
-
import '../tslib.es6-
|
|
3
|
+
import '../FormField-vy2Hd8hQ.js';
|
|
4
|
+
import '../tslib.es6-CeHUynox.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import 'framer-motion';
|
|
8
8
|
import '@jobber/design';
|
|
9
|
-
import '../Button-
|
|
9
|
+
import '../Button-B_S7hCDq.js';
|
|
10
10
|
import 'react-router-dom';
|
|
11
|
-
import '../Icon-
|
|
12
|
-
import '../Typography-
|
|
13
|
-
import '../Text-
|
|
14
|
-
import '../useFormFieldFocus-
|
|
15
|
-
import '../InputValidation-
|
|
16
|
-
import '../Spinner-
|
|
11
|
+
import '../Icon-BPJYIZWC.js';
|
|
12
|
+
import '../Typography-DhGlhWcl.js';
|
|
13
|
+
import '../Text-DfqZm-hl.js';
|
|
14
|
+
import '../useFormFieldFocus-ClQ0z2uo.js';
|
|
15
|
+
import '../InputValidation-CzNHjrwl.js';
|
|
16
|
+
import '../Spinner-COTKfUIp.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum FileTypes {
|
|
2
|
+
JPEG = "image/jpeg",
|
|
3
|
+
JPG = "image/jpg",
|
|
4
|
+
PNG = "image/png",
|
|
5
|
+
HEIC = "image/heic",
|
|
6
|
+
PDF = "application/pdf",
|
|
7
|
+
DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
8
|
+
}
|
|
9
|
+
export declare const BASIC_IMAGE_TYPES: string[];
|
|
10
|
+
export declare const mimeTypeToReadable: (mimeType: string) => string;
|
|
11
|
+
export declare const convertToMimeTypes: (types: string[]) => string[];
|
|
12
|
+
export declare function formatMimeTypes(types: string[]): string;
|
|
@@ -100,6 +100,26 @@ interface InputFileProps {
|
|
|
100
100
|
* @default false
|
|
101
101
|
*/
|
|
102
102
|
readonly allowMultiple?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Further description of the input.
|
|
105
|
+
*/
|
|
106
|
+
readonly description?: string;
|
|
107
|
+
/**
|
|
108
|
+
* An object which helps control and validate the number of files being uploaded
|
|
109
|
+
* via the dropzone.
|
|
110
|
+
* `maxFilesValidation={{ maxFiles: 3, numberOfCurrentFiles: files.length }}`
|
|
111
|
+
*/
|
|
112
|
+
readonly maxFilesValidation?: {
|
|
113
|
+
/**
|
|
114
|
+
* Maximum number of files that can be uploaded via the dropzone.
|
|
115
|
+
*/
|
|
116
|
+
readonly maxFiles: number;
|
|
117
|
+
/**
|
|
118
|
+
* The current count of uploaded files. This value should be
|
|
119
|
+
* updated whenever a file is successfully uploaded or removed.
|
|
120
|
+
*/
|
|
121
|
+
readonly numberOfCurrentFiles: number;
|
|
122
|
+
};
|
|
103
123
|
/**
|
|
104
124
|
* A callback that receives a file object and returns a `UploadParams` needed
|
|
105
125
|
* to upload the file.
|
|
@@ -129,7 +149,7 @@ interface InputFileProps {
|
|
|
129
149
|
*/
|
|
130
150
|
readonly validator?: <T extends File>(file: T) => FileError | FileError[] | null;
|
|
131
151
|
}
|
|
132
|
-
export declare function InputFile({ variation, size, buttonLabel: providedButtonLabel, allowMultiple, allowedTypes, getUploadParams, onUploadStart, onUploadProgress, onUploadComplete, onUploadError, validator, }: InputFileProps): JSX.Element;
|
|
152
|
+
export declare function InputFile({ variation, size, buttonLabel: providedButtonLabel, allowMultiple, allowedTypes, description, maxFilesValidation, getUploadParams, onUploadStart, onUploadProgress, onUploadComplete, onUploadError, validator, }: InputFileProps): JSX.Element;
|
|
133
153
|
/**
|
|
134
154
|
* Upsert a given `FileUpload` into an array of `FileUpload`s.
|
|
135
155
|
* `key` is used to uniquely identify files.
|
package/dist/InputFile/index.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var InputFile = require('../InputFile-
|
|
4
|
-
require('../tslib.es6-
|
|
3
|
+
var InputFile = require('../InputFile-ANK0IeG9.js');
|
|
4
|
+
require('../tslib.es6-D1nA6hj6.js');
|
|
5
5
|
require('react');
|
|
6
6
|
require('classnames');
|
|
7
|
-
require('../index-
|
|
8
|
-
require('../_commonjsHelpers-
|
|
7
|
+
require('../index-C36nFO6W.js');
|
|
8
|
+
require('../_commonjsHelpers-DM5kGkm_.js');
|
|
9
9
|
require('axios');
|
|
10
|
-
require('../InputValidation-
|
|
10
|
+
require('../InputValidation-Cex0nlcu.js');
|
|
11
11
|
require('framer-motion');
|
|
12
|
-
require('../Text-
|
|
13
|
-
require('../Typography-
|
|
14
|
-
require('../Icon-
|
|
12
|
+
require('../Text-CJWvewR1.js');
|
|
13
|
+
require('../Typography-DYUPEo3A.js');
|
|
14
|
+
require('../Icon-DMURv2lZ.js');
|
|
15
15
|
require('@jobber/design');
|
|
16
|
-
require('../Button-
|
|
16
|
+
require('../Button-X03o-OsV.js');
|
|
17
17
|
require('react-router-dom');
|
|
18
|
-
require('../Content-
|
|
18
|
+
require('../Content-Bvcrqi5z.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
package/dist/InputFile/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { I as InputFile, u as updateFiles } from '../InputFile-
|
|
2
|
-
import '../tslib.es6-
|
|
1
|
+
export { I as InputFile, u as updateFiles } from '../InputFile-BhukP39A.js';
|
|
2
|
+
import '../tslib.es6-CeHUynox.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../index-
|
|
6
|
-
import '../_commonjsHelpers-
|
|
5
|
+
import '../index-BEcecQeg.js';
|
|
6
|
+
import '../_commonjsHelpers-BgTBIXLr.js';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import '../InputValidation-
|
|
8
|
+
import '../InputValidation-CzNHjrwl.js';
|
|
9
9
|
import 'framer-motion';
|
|
10
|
-
import '../Text-
|
|
11
|
-
import '../Typography-
|
|
12
|
-
import '../Icon-
|
|
10
|
+
import '../Text-DfqZm-hl.js';
|
|
11
|
+
import '../Typography-DhGlhWcl.js';
|
|
12
|
+
import '../Icon-BPJYIZWC.js';
|
|
13
13
|
import '@jobber/design';
|
|
14
|
-
import '../Button-
|
|
14
|
+
import '../Button-B_S7hCDq.js';
|
|
15
15
|
import 'react-router-dom';
|
|
16
|
-
import '../Content-
|
|
16
|
+
import '../Content-CZscRWg1.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-D1nA6hj6.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C36nFO6W.js');
|
|
7
7
|
var axios = require('axios');
|
|
8
|
-
var InputValidation = require('./InputValidation-
|
|
9
|
-
var Button = require('./Button-
|
|
10
|
-
var Content = require('./Content-
|
|
11
|
-
var Typography = require('./Typography-
|
|
8
|
+
var InputValidation = require('./InputValidation-Cex0nlcu.js');
|
|
9
|
+
var Button = require('./Button-X03o-OsV.js');
|
|
10
|
+
var Content = require('./Content-Bvcrqi5z.js');
|
|
11
|
+
var Typography = require('./Typography-DYUPEo3A.js');
|
|
12
12
|
|
|
13
13
|
var COMMON_MIME_TYPES = new Map([
|
|
14
14
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
|
@@ -1440,29 +1440,111 @@ function reducer(state, action) {
|
|
|
1440
1440
|
|
|
1441
1441
|
function noop() {}
|
|
1442
1442
|
|
|
1443
|
-
var styles = {"dropZoneBase":"
|
|
1443
|
+
var styles = {"dropZoneBase":"fSDkYM-382I-","dropZone":"yT6m1v71VK8-","active":"fCb0O1wAjR0-","error":"Cm5wIem0XQI-","validationErrors":"wyjYhAlF1qA-","dropzoneContent":"sAxF04DcAi4-","spinning":"SUZshYRxxl4-"};
|
|
1444
|
+
|
|
1445
|
+
var FileTypes;
|
|
1446
|
+
(function (FileTypes) {
|
|
1447
|
+
FileTypes["JPEG"] = "image/jpeg";
|
|
1448
|
+
FileTypes["JPG"] = "image/jpg";
|
|
1449
|
+
FileTypes["PNG"] = "image/png";
|
|
1450
|
+
FileTypes["HEIC"] = "image/heic";
|
|
1451
|
+
FileTypes["PDF"] = "application/pdf";
|
|
1452
|
+
FileTypes["DOCX"] = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1453
|
+
})(FileTypes || (FileTypes = {}));
|
|
1454
|
+
const BASIC_IMAGE_TYPES = ["PNG", "JPEG", "JPG"];
|
|
1455
|
+
// Converts a MIME type to its readable format
|
|
1456
|
+
const mimeTypeToReadable = (mimeType) => {
|
|
1457
|
+
const entry = Object.entries(FileTypes).find(([, value]) => value === mimeType);
|
|
1458
|
+
return entry ? entry[0] : mimeType;
|
|
1459
|
+
};
|
|
1460
|
+
// Converts an array of readable file type names to their corresponding MIME types
|
|
1461
|
+
const convertToMimeTypes = (types) => {
|
|
1462
|
+
return types.map(type => FileTypes[type.toUpperCase()] || type);
|
|
1463
|
+
};
|
|
1464
|
+
function formatMimeTypes(types) {
|
|
1465
|
+
if (types.length === 0) {
|
|
1466
|
+
return "";
|
|
1467
|
+
}
|
|
1468
|
+
else if (types.length === 1) {
|
|
1469
|
+
return types[0];
|
|
1470
|
+
}
|
|
1471
|
+
else {
|
|
1472
|
+
return `${types.slice(0, -1).join(", ")} or ${types[types.length - 1]}`;
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1444
1475
|
|
|
1445
|
-
|
|
1476
|
+
/* eslint-disable max-statements */
|
|
1477
|
+
function InputFile({ variation = "dropzone", size = "base", buttonLabel: providedButtonLabel, allowMultiple = false, allowedTypes = "all", description, maxFilesValidation, getUploadParams, onUploadStart, onUploadProgress, onUploadComplete, onUploadError, validator, }) {
|
|
1478
|
+
const maxFiles = (maxFilesValidation === null || maxFilesValidation === void 0 ? void 0 : maxFilesValidation.maxFiles) || 0;
|
|
1479
|
+
const numberOfCurrentFiles = (maxFilesValidation === null || maxFilesValidation === void 0 ? void 0 : maxFilesValidation.numberOfCurrentFiles) || 0;
|
|
1480
|
+
const handleValidation = React.useCallback((file) => {
|
|
1481
|
+
if (maxFiles &&
|
|
1482
|
+
numberOfCurrentFiles &&
|
|
1483
|
+
maxFiles - numberOfCurrentFiles <= 0) {
|
|
1484
|
+
return {
|
|
1485
|
+
code: "too-many-files",
|
|
1486
|
+
message: `Cannot exceed a maximum of ${maxFiles} files.`,
|
|
1487
|
+
};
|
|
1488
|
+
}
|
|
1489
|
+
return validator ? validator(file) : null;
|
|
1490
|
+
}, [maxFiles, numberOfCurrentFiles]);
|
|
1446
1491
|
const options = {
|
|
1447
1492
|
multiple: allowMultiple,
|
|
1493
|
+
maxFiles: maxFiles - numberOfCurrentFiles,
|
|
1448
1494
|
onDrop: React.useCallback(handleDrop, [uploadFile]),
|
|
1449
|
-
validator:
|
|
1495
|
+
validator: handleValidation,
|
|
1450
1496
|
};
|
|
1451
1497
|
if (allowedTypes === "images") {
|
|
1452
1498
|
options.accept = "image/*";
|
|
1453
1499
|
}
|
|
1454
1500
|
else if (allowedTypes === "basicImages") {
|
|
1455
|
-
options.accept = "
|
|
1501
|
+
options.accept = convertToMimeTypes(BASIC_IMAGE_TYPES).join(",");
|
|
1456
1502
|
}
|
|
1457
1503
|
else if (Array.isArray(allowedTypes)) {
|
|
1458
|
-
options.accept = allowedTypes.join(",");
|
|
1504
|
+
options.accept = convertToMimeTypes(allowedTypes).join(",");
|
|
1459
1505
|
}
|
|
1460
1506
|
const { getRootProps, getInputProps, isDragActive, fileRejections } = useDropzone(options);
|
|
1461
|
-
const
|
|
1462
|
-
|
|
1463
|
-
|
|
1507
|
+
const allowedTypesString = Array.isArray(allowedTypes)
|
|
1508
|
+
? formatMimeTypes(allowedTypes.map(mimeTypeToReadable))
|
|
1509
|
+
: allowedTypes;
|
|
1510
|
+
const validationErrors = fileRejections === null || fileRejections === void 0 ? void 0 : fileRejections.reduce((acc, { file, errors }) => {
|
|
1511
|
+
errors.forEach(error => {
|
|
1512
|
+
if (error.code === "too-many-files") {
|
|
1513
|
+
if (!acc.some(e => e.code === "too-many-files")) {
|
|
1514
|
+
acc.push({
|
|
1515
|
+
code: "too-many-files",
|
|
1516
|
+
message: `Cannot exceed a maximum of ${maxFiles} files.`,
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
else if (error.code === "file-invalid-type") {
|
|
1521
|
+
let formatMessage;
|
|
1522
|
+
if (allowedTypes === "basicImages") {
|
|
1523
|
+
formatMessage = formatMimeTypes(BASIC_IMAGE_TYPES.map(mimeTypeToReadable));
|
|
1524
|
+
}
|
|
1525
|
+
else if (allowedTypes === "images") {
|
|
1526
|
+
formatMessage = "an image";
|
|
1527
|
+
}
|
|
1528
|
+
else {
|
|
1529
|
+
formatMessage = allowedTypesString;
|
|
1530
|
+
}
|
|
1531
|
+
const message = allowedTypes === "images"
|
|
1532
|
+
? `${file.name} must be ${formatMessage}.`
|
|
1533
|
+
: `${file.name} must be in ${formatMessage} format.`;
|
|
1534
|
+
acc.push({
|
|
1535
|
+
code: error.code,
|
|
1536
|
+
message: message,
|
|
1537
|
+
});
|
|
1538
|
+
}
|
|
1539
|
+
else {
|
|
1540
|
+
acc.push({
|
|
1541
|
+
code: error.code,
|
|
1542
|
+
message: `${file.name} ${error.message}`,
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1464
1545
|
});
|
|
1465
|
-
|
|
1546
|
+
return acc;
|
|
1547
|
+
}, []);
|
|
1466
1548
|
const { buttonLabel, hintText } = getLabels(providedButtonLabel, allowMultiple, allowedTypes);
|
|
1467
1549
|
const dropZone = classnames(styles.dropZoneBase, {
|
|
1468
1550
|
[styles.dropZone]: variation === "dropzone",
|
|
@@ -1475,9 +1557,11 @@ function InputFile({ variation = "dropzone", size = "base", buttonLabel: provide
|
|
|
1475
1557
|
variation === "dropzone" && (React.createElement("div", { className: styles.dropzoneContent },
|
|
1476
1558
|
React.createElement(Content.Content, { spacing: "small" },
|
|
1477
1559
|
React.createElement(Button.Button, { label: buttonLabel, size: "small", type: "secondary" }),
|
|
1478
|
-
size === "base" && (React.createElement(
|
|
1560
|
+
size === "base" && (React.createElement(React.Fragment, null,
|
|
1561
|
+
React.createElement(Typography.Typography, { size: "small" }, hintText),
|
|
1562
|
+
description && (React.createElement(Typography.Typography, { size: "small", textColor: "textSecondary" }, description))))))),
|
|
1479
1563
|
variation === "button" && (React.createElement(Button.Button, { label: buttonLabel, size: size, type: "secondary", fullWidth: true }))),
|
|
1480
|
-
(
|
|
1564
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.length) > 0 && (React.createElement("div", { className: styles.validationErrors }, validationErrors.map(error => (React.createElement(InputValidation.InputValidation, { message: error.message, key: error.code })))))));
|
|
1481
1565
|
function handleDrop(acceptedFiles) {
|
|
1482
1566
|
acceptedFiles.forEach(file => {
|
|
1483
1567
|
uploadFile(file);
|
|
@@ -1543,16 +1627,14 @@ function createAxiosConfig({ url, httpMethod = "POST", fields = {}, file, handle
|
|
|
1543
1627
|
};
|
|
1544
1628
|
}
|
|
1545
1629
|
function getLabels(providedButtonLabel, multiple, allowedTypes) {
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
: "or drag an image here to upload";
|
|
1555
|
-
}
|
|
1630
|
+
const fileType = allowedTypes === "images" || allowedTypes === "basicImages"
|
|
1631
|
+
? "Image"
|
|
1632
|
+
: "File";
|
|
1633
|
+
let buttonLabel = multiple ? `Upload ${fileType}s` : `Upload ${fileType}`;
|
|
1634
|
+
const fileTypeDeterminer = fileType === "Image" ? "an" : "a";
|
|
1635
|
+
const hintText = multiple
|
|
1636
|
+
? `Select or drag ${fileType.toLowerCase()}s here to upload`
|
|
1637
|
+
: `Select or drag ${fileTypeDeterminer} ${fileType.toLowerCase()} here to upload`;
|
|
1556
1638
|
if (providedButtonLabel)
|
|
1557
1639
|
buttonLabel = providedButtonLabel;
|
|
1558
1640
|
return { buttonLabel, hintText };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as __awaiter, b as __generator, c as __spread } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, b as __generator, c as __spread } from './tslib.es6-CeHUynox.js';
|
|
2
2
|
import React, { forwardRef, useImperativeHandle, Fragment, useMemo, useRef, useReducer, useEffect, useCallback } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import { P as PropTypes } from './index-
|
|
4
|
+
import { P as PropTypes } from './index-BEcecQeg.js';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { I as InputValidation } from './InputValidation-
|
|
7
|
-
import { B as Button } from './Button-
|
|
8
|
-
import { C as Content } from './Content-
|
|
9
|
-
import { T as Typography } from './Typography-
|
|
6
|
+
import { I as InputValidation } from './InputValidation-CzNHjrwl.js';
|
|
7
|
+
import { B as Button } from './Button-B_S7hCDq.js';
|
|
8
|
+
import { C as Content } from './Content-CZscRWg1.js';
|
|
9
|
+
import { T as Typography } from './Typography-DhGlhWcl.js';
|
|
10
10
|
|
|
11
11
|
var COMMON_MIME_TYPES = new Map([
|
|
12
12
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
|
@@ -1438,29 +1438,111 @@ function reducer(state, action) {
|
|
|
1438
1438
|
|
|
1439
1439
|
function noop() {}
|
|
1440
1440
|
|
|
1441
|
-
var styles = {"dropZoneBase":"
|
|
1441
|
+
var styles = {"dropZoneBase":"fSDkYM-382I-","dropZone":"yT6m1v71VK8-","active":"fCb0O1wAjR0-","error":"Cm5wIem0XQI-","validationErrors":"wyjYhAlF1qA-","dropzoneContent":"sAxF04DcAi4-","spinning":"SUZshYRxxl4-"};
|
|
1442
|
+
|
|
1443
|
+
var FileTypes;
|
|
1444
|
+
(function (FileTypes) {
|
|
1445
|
+
FileTypes["JPEG"] = "image/jpeg";
|
|
1446
|
+
FileTypes["JPG"] = "image/jpg";
|
|
1447
|
+
FileTypes["PNG"] = "image/png";
|
|
1448
|
+
FileTypes["HEIC"] = "image/heic";
|
|
1449
|
+
FileTypes["PDF"] = "application/pdf";
|
|
1450
|
+
FileTypes["DOCX"] = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1451
|
+
})(FileTypes || (FileTypes = {}));
|
|
1452
|
+
const BASIC_IMAGE_TYPES = ["PNG", "JPEG", "JPG"];
|
|
1453
|
+
// Converts a MIME type to its readable format
|
|
1454
|
+
const mimeTypeToReadable = (mimeType) => {
|
|
1455
|
+
const entry = Object.entries(FileTypes).find(([, value]) => value === mimeType);
|
|
1456
|
+
return entry ? entry[0] : mimeType;
|
|
1457
|
+
};
|
|
1458
|
+
// Converts an array of readable file type names to their corresponding MIME types
|
|
1459
|
+
const convertToMimeTypes = (types) => {
|
|
1460
|
+
return types.map(type => FileTypes[type.toUpperCase()] || type);
|
|
1461
|
+
};
|
|
1462
|
+
function formatMimeTypes(types) {
|
|
1463
|
+
if (types.length === 0) {
|
|
1464
|
+
return "";
|
|
1465
|
+
}
|
|
1466
|
+
else if (types.length === 1) {
|
|
1467
|
+
return types[0];
|
|
1468
|
+
}
|
|
1469
|
+
else {
|
|
1470
|
+
return `${types.slice(0, -1).join(", ")} or ${types[types.length - 1]}`;
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1442
1473
|
|
|
1443
|
-
|
|
1474
|
+
/* eslint-disable max-statements */
|
|
1475
|
+
function InputFile({ variation = "dropzone", size = "base", buttonLabel: providedButtonLabel, allowMultiple = false, allowedTypes = "all", description, maxFilesValidation, getUploadParams, onUploadStart, onUploadProgress, onUploadComplete, onUploadError, validator, }) {
|
|
1476
|
+
const maxFiles = (maxFilesValidation === null || maxFilesValidation === void 0 ? void 0 : maxFilesValidation.maxFiles) || 0;
|
|
1477
|
+
const numberOfCurrentFiles = (maxFilesValidation === null || maxFilesValidation === void 0 ? void 0 : maxFilesValidation.numberOfCurrentFiles) || 0;
|
|
1478
|
+
const handleValidation = useCallback((file) => {
|
|
1479
|
+
if (maxFiles &&
|
|
1480
|
+
numberOfCurrentFiles &&
|
|
1481
|
+
maxFiles - numberOfCurrentFiles <= 0) {
|
|
1482
|
+
return {
|
|
1483
|
+
code: "too-many-files",
|
|
1484
|
+
message: `Cannot exceed a maximum of ${maxFiles} files.`,
|
|
1485
|
+
};
|
|
1486
|
+
}
|
|
1487
|
+
return validator ? validator(file) : null;
|
|
1488
|
+
}, [maxFiles, numberOfCurrentFiles]);
|
|
1444
1489
|
const options = {
|
|
1445
1490
|
multiple: allowMultiple,
|
|
1491
|
+
maxFiles: maxFiles - numberOfCurrentFiles,
|
|
1446
1492
|
onDrop: useCallback(handleDrop, [uploadFile]),
|
|
1447
|
-
validator:
|
|
1493
|
+
validator: handleValidation,
|
|
1448
1494
|
};
|
|
1449
1495
|
if (allowedTypes === "images") {
|
|
1450
1496
|
options.accept = "image/*";
|
|
1451
1497
|
}
|
|
1452
1498
|
else if (allowedTypes === "basicImages") {
|
|
1453
|
-
options.accept = "
|
|
1499
|
+
options.accept = convertToMimeTypes(BASIC_IMAGE_TYPES).join(",");
|
|
1454
1500
|
}
|
|
1455
1501
|
else if (Array.isArray(allowedTypes)) {
|
|
1456
|
-
options.accept = allowedTypes.join(",");
|
|
1502
|
+
options.accept = convertToMimeTypes(allowedTypes).join(",");
|
|
1457
1503
|
}
|
|
1458
1504
|
const { getRootProps, getInputProps, isDragActive, fileRejections } = useDropzone(options);
|
|
1459
|
-
const
|
|
1460
|
-
|
|
1461
|
-
|
|
1505
|
+
const allowedTypesString = Array.isArray(allowedTypes)
|
|
1506
|
+
? formatMimeTypes(allowedTypes.map(mimeTypeToReadable))
|
|
1507
|
+
: allowedTypes;
|
|
1508
|
+
const validationErrors = fileRejections === null || fileRejections === void 0 ? void 0 : fileRejections.reduce((acc, { file, errors }) => {
|
|
1509
|
+
errors.forEach(error => {
|
|
1510
|
+
if (error.code === "too-many-files") {
|
|
1511
|
+
if (!acc.some(e => e.code === "too-many-files")) {
|
|
1512
|
+
acc.push({
|
|
1513
|
+
code: "too-many-files",
|
|
1514
|
+
message: `Cannot exceed a maximum of ${maxFiles} files.`,
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
else if (error.code === "file-invalid-type") {
|
|
1519
|
+
let formatMessage;
|
|
1520
|
+
if (allowedTypes === "basicImages") {
|
|
1521
|
+
formatMessage = formatMimeTypes(BASIC_IMAGE_TYPES.map(mimeTypeToReadable));
|
|
1522
|
+
}
|
|
1523
|
+
else if (allowedTypes === "images") {
|
|
1524
|
+
formatMessage = "an image";
|
|
1525
|
+
}
|
|
1526
|
+
else {
|
|
1527
|
+
formatMessage = allowedTypesString;
|
|
1528
|
+
}
|
|
1529
|
+
const message = allowedTypes === "images"
|
|
1530
|
+
? `${file.name} must be ${formatMessage}.`
|
|
1531
|
+
: `${file.name} must be in ${formatMessage} format.`;
|
|
1532
|
+
acc.push({
|
|
1533
|
+
code: error.code,
|
|
1534
|
+
message: message,
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
else {
|
|
1538
|
+
acc.push({
|
|
1539
|
+
code: error.code,
|
|
1540
|
+
message: `${file.name} ${error.message}`,
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1462
1543
|
});
|
|
1463
|
-
|
|
1544
|
+
return acc;
|
|
1545
|
+
}, []);
|
|
1464
1546
|
const { buttonLabel, hintText } = getLabels(providedButtonLabel, allowMultiple, allowedTypes);
|
|
1465
1547
|
const dropZone = classnames(styles.dropZoneBase, {
|
|
1466
1548
|
[styles.dropZone]: variation === "dropzone",
|
|
@@ -1473,9 +1555,11 @@ function InputFile({ variation = "dropzone", size = "base", buttonLabel: provide
|
|
|
1473
1555
|
variation === "dropzone" && (React.createElement("div", { className: styles.dropzoneContent },
|
|
1474
1556
|
React.createElement(Content, { spacing: "small" },
|
|
1475
1557
|
React.createElement(Button, { label: buttonLabel, size: "small", type: "secondary" }),
|
|
1476
|
-
size === "base" && (React.createElement(
|
|
1558
|
+
size === "base" && (React.createElement(React.Fragment, null,
|
|
1559
|
+
React.createElement(Typography, { size: "small" }, hintText),
|
|
1560
|
+
description && (React.createElement(Typography, { size: "small", textColor: "textSecondary" }, description))))))),
|
|
1477
1561
|
variation === "button" && (React.createElement(Button, { label: buttonLabel, size: size, type: "secondary", fullWidth: true }))),
|
|
1478
|
-
(
|
|
1562
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.length) > 0 && (React.createElement("div", { className: styles.validationErrors }, validationErrors.map(error => (React.createElement(InputValidation, { message: error.message, key: error.code })))))));
|
|
1479
1563
|
function handleDrop(acceptedFiles) {
|
|
1480
1564
|
acceptedFiles.forEach(file => {
|
|
1481
1565
|
uploadFile(file);
|
|
@@ -1541,16 +1625,14 @@ function createAxiosConfig({ url, httpMethod = "POST", fields = {}, file, handle
|
|
|
1541
1625
|
};
|
|
1542
1626
|
}
|
|
1543
1627
|
function getLabels(providedButtonLabel, multiple, allowedTypes) {
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
: "or drag an image here to upload";
|
|
1553
|
-
}
|
|
1628
|
+
const fileType = allowedTypes === "images" || allowedTypes === "basicImages"
|
|
1629
|
+
? "Image"
|
|
1630
|
+
: "File";
|
|
1631
|
+
let buttonLabel = multiple ? `Upload ${fileType}s` : `Upload ${fileType}`;
|
|
1632
|
+
const fileTypeDeterminer = fileType === "Image" ? "an" : "a";
|
|
1633
|
+
const hintText = multiple
|
|
1634
|
+
? `Select or drag ${fileType.toLowerCase()}s here to upload`
|
|
1635
|
+
: `Select or drag ${fileTypeDeterminer} ${fileType.toLowerCase()} here to upload`;
|
|
1554
1636
|
if (providedButtonLabel)
|
|
1555
1637
|
buttonLabel = providedButtonLabel;
|
|
1556
1638
|
return { buttonLabel, hintText };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
|
|
6
|
-
var styles = {"vertical":"
|
|
6
|
+
var styles = {"vertical":"RwhScbXCXw0-","horizontal":"xxMbKnv30VQ-","inputGroup":"l87dJm2JnlA-","spinning":"XZBCtuO467Y-"};
|
|
7
7
|
|
|
8
8
|
function InputGroup({ children, flowDirection = "vertical", }) {
|
|
9
9
|
if (isInvalidGroupNesting(children))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"vertical":"
|
|
4
|
+
var styles = {"vertical":"RwhScbXCXw0-","horizontal":"xxMbKnv30VQ-","inputGroup":"l87dJm2JnlA-","spinning":"XZBCtuO467Y-"};
|
|
5
5
|
|
|
6
6
|
function InputGroup({ children, flowDirection = "vertical", }) {
|
|
7
7
|
if (isInvalidGroupNesting(children))
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var InputNumber = require('../InputNumber-
|
|
3
|
+
var InputNumber = require('../InputNumber-DzTGZO-F.js');
|
|
4
4
|
require('react');
|
|
5
|
-
require('../FormField-
|
|
6
|
-
require('../tslib.es6-
|
|
5
|
+
require('../FormField-1MVxQMeP.js');
|
|
6
|
+
require('../tslib.es6-D1nA6hj6.js');
|
|
7
7
|
require('react-hook-form');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('framer-motion');
|
|
10
10
|
require('@jobber/design');
|
|
11
|
-
require('../Button-
|
|
11
|
+
require('../Button-X03o-OsV.js');
|
|
12
12
|
require('react-router-dom');
|
|
13
|
-
require('../Icon-
|
|
14
|
-
require('../Typography-
|
|
15
|
-
require('../Text-
|
|
16
|
-
require('../useFormFieldFocus-
|
|
17
|
-
require('../InputValidation-
|
|
18
|
-
require('../Spinner-
|
|
13
|
+
require('../Icon-DMURv2lZ.js');
|
|
14
|
+
require('../Typography-DYUPEo3A.js');
|
|
15
|
+
require('../Text-CJWvewR1.js');
|
|
16
|
+
require('../useFormFieldFocus-0wEDq1A1.js');
|
|
17
|
+
require('../InputValidation-Cex0nlcu.js');
|
|
18
|
+
require('../Spinner-Cl4eyZlz.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|