@jobber/components 5.37.1 → 5.37.2-CLEANUPbu-e48d3ff.21
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-Bl_pLp0b.js → AnimatedSwitcher-g1SuL1if.js} +1 -1
- package/dist/{AnimatedSwitcher-DnWN63IS.js → AnimatedSwitcher-t2ows6Ab.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/AtlantisThemeContext/index.cjs +10 -10
- package/dist/AtlantisThemeContext/index.mjs +10 -10
- package/dist/Autocomplete/index.cjs +19 -19
- package/dist/Autocomplete/index.mjs +19 -19
- package/dist/{Autocomplete-Dg3WkGqN.js → Autocomplete-D7YMuEn9.js} +10 -10
- package/dist/{Autocomplete-B8imR-gC.js → Autocomplete-rSbl4a8a.js} +10 -10
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-BoNMbFuY.js → Avatar-7fivnUQm.js} +2 -2
- package/dist/{Avatar-BnkP21mh.js → Avatar-BZ-e-Ofz.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-KCNOSdqK.js → Banner-BSdLLUg1.js} +5 -5
- package/dist/{Banner-DZIxukGu.js → Banner-IJ37Sij_.js} +5 -5
- package/dist/BannerIcon-BBEzt8OE.js +14 -0
- package/dist/BannerIcon-CJ2aItrT.js +17 -0
- package/dist/{Body-BWFtJbrK.js → Body-BUJGFxtJ.js} +2 -2
- package/dist/{Body-BoBvPqSR.js → Body-FwphExTx.js} +2 -2
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-DbY9SqDc.js → Box-DOyPGxgR.js} +8 -8
- package/dist/{Box-9zIu2Ydi.js → Box-JZ8dLgXM.js} +8 -8
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-Cq7nFrdg.js → Button-ChHzsklb.js} +3 -3
- package/dist/{Button-BorESRA8.js → Button-D7c4TpNt.js} +3 -3
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-D8npydqy.js → ButtonDismiss-B_-sezTK.js} +1 -1
- package/dist/{ButtonDismiss-DNG4nzU2.js → ButtonDismiss-DFqsGrJx.js} +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/Card/types.d.ts +1 -1
- package/dist/{Card-B8nwnfxP.js → Card-DUmC5537.js} +5 -5
- package/dist/{Card-BvWWcYp9.js → Card-oMl3pL8O.js} +5 -5
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-BVxrbbMO.js → Checkbox-AZCCM9Ew.js} +4 -4
- package/dist/{Checkbox-Bm4bbZMA.js → Checkbox-CDD29485.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-DMF7NPmD.js +122 -0
- package/dist/Chip-nWGe-kAq.js +117 -0
- package/dist/{ChipDismissible-C-P-M44I.js → ChipDismissible-Co3Qqez_.js} +4 -4
- package/dist/{ChipDismissible-Do8onnFa.js → ChipDismissible-DNI_MhaO.js} +4 -4
- package/dist/Chips/ChipsTypes.d.ts +11 -2
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +15 -15
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +15 -15
- package/dist/Chips/InternalChipDismissible/index.cjs +28 -26
- package/dist/Chips/InternalChipDismissible/index.mjs +28 -26
- 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 -28
- package/dist/Chips/index.mjs +31 -27
- package/dist/{Chips-Deg33_pK.js → Chips-BGa10rc6.js} +40 -18
- package/dist/{Chips-OVVb2yYY.js → Chips-CBA54H1I.js} +42 -20
- 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-C9sMiuCZ.js → Combobox-BEA-2917.js} +10 -10
- package/dist/{Combobox-CIgjnK53.js → Combobox-DkJCpkaX.js} +10 -10
- package/dist/{ComboboxAction-B9kakA_g.js → ComboboxAction-2zhrgfi6.js} +3 -3
- package/dist/{ComboboxAction-BPB5owGT.js → ComboboxAction-BIxiQbM3.js} +3 -3
- package/dist/{ComboboxActivator-BgqquQ3s.js → ComboboxActivator-3-P772d7.js} +4 -4
- package/dist/{ComboboxActivator-DJVjr_mM.js → ComboboxActivator-BhRg6mo3.js} +4 -4
- package/dist/{ComboboxContent-Du9VHdke.js → ComboboxContent-B9yjO1ox.js} +8 -8
- package/dist/{ComboboxContent-CTAgQFRs.js → ComboboxContent-Dhdik45D.js} +8 -8
- package/dist/{ComboboxContentHeader-CUC5AzsM.js → ComboboxContentHeader-BTZ2SAX3.js} +3 -3
- package/dist/{ComboboxContentHeader-B2VGSxdz.js → ComboboxContentHeader-DMUDqccX.js} +3 -3
- package/dist/{ComboboxContentList-t9xAh_Gw.js → ComboboxContentList-BxWGmS4U.js} +7 -7
- package/dist/{ComboboxContentList-B6kMBdJO.js → ComboboxContentList-CV0A4n3p.js} +7 -7
- package/dist/{ComboboxContentSearch-C024BzOE.js → ComboboxContentSearch-CpkJFzUU.js} +2 -2
- package/dist/{ComboboxContentSearch-CYDyq2Uj.js → ComboboxContentSearch-D61Z1-Ud.js} +2 -2
- package/dist/{ComboboxLoadMore-9EIciqgq.js → ComboboxLoadMore-BOMbTOKv.js} +2 -2
- package/dist/{ComboboxLoadMore-CcT1HZq3.js → ComboboxLoadMore-BgTQPwke.js} +2 -2
- package/dist/{ComboboxOption-Bj_bxbrx.js → ComboboxOption-BtRpe0DT.js} +4 -4
- package/dist/{ComboboxOption-BmH7lptP.js → ComboboxOption-bVqCpOrs.js} +4 -4
- package/dist/{ComboboxProvider-BdnOwyBU.js → ComboboxProvider-DT4_LJLm.js} +1 -1
- package/dist/{ComboboxProvider-BMHtOBbO.js → ComboboxProvider-DwfhlTkY.js} +1 -1
- package/dist/{ComboboxTrigger-QjWJ6H6d.js → ComboboxTrigger-5S66QFpC.js} +4 -4
- package/dist/{ComboboxTrigger-l9OK0Zgy.js → ComboboxTrigger-vIJPFn3d.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-CMlBtwQD.js → ConfirmationModal-DMH2Q409.js} +4 -4
- package/dist/{ConfirmationModal-BTP0f4D1.js → ConfirmationModal-DRWi2Q41.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-B8WLVXnI.js +13 -0
- package/dist/Content-BEEPIf8j.js +15 -0
- package/dist/Countdown/index.cjs +3 -3
- package/dist/Countdown/index.mjs +3 -3
- package/dist/{Countdown-Ccc213j2.js → Countdown-BLK79UoF.js} +1 -1
- package/dist/{Countdown-D7p9T4nB.js → Countdown-D_kEAhbI.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-DRNoSCVf.js → DataDump-DQAD9CMb.js} +3 -3
- package/dist/{DataDump-DVwjLqsF.js → DataDump-gbPofK1b.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 -28
- package/dist/DataList/components/DataListActions/index.mjs +28 -28
- 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 -30
- package/dist/DataList/components/DataListBulkActions/index.mjs +30 -30
- 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 +53 -53
- package/dist/DataList/components/DataListFilters/index.mjs +53 -53
- package/dist/DataList/components/DataListHeader/index.cjs +37 -37
- package/dist/DataList/components/DataListHeader/index.mjs +37 -37
- 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 -36
- package/dist/DataList/components/DataListItem/index.mjs +36 -36
- package/dist/DataList/components/DataListItemActions/index.cjs +29 -29
- package/dist/DataList/components/DataListItemActions/index.mjs +29 -29
- 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 -37
- package/dist/DataList/components/DataListItems/index.mjs +37 -37
- package/dist/DataList/components/DataListLayout/index.cjs +40 -40
- package/dist/DataList/components/DataListLayout/index.mjs +40 -40
- 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 -21
- package/dist/DataList/components/DataListStatusBar/index.mjs +21 -21
- 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 +84 -84
- package/dist/DataList/index.mjs +84 -84
- package/dist/{DataList-JWDEDvbP.js → DataList-U3itOi9t.js} +21 -21
- package/dist/{DataList-WPgipgql.js → DataList-fU3PB0j6.js} +26 -26
- package/dist/DataList.module-Czopu7CU.js +5 -0
- package/dist/DataList.module-jMgI7pKp.js +3 -0
- package/dist/{DataList.utils-BcWWSeCL.js → DataList.utils-C_aEYisx.js} +9 -9
- package/dist/{DataList.utils-Bl2bcw3S.js → DataList.utils-nufETr7-.js} +9 -9
- package/dist/{DataListAction-zHlhpvEB.js → DataListAction-B8pVpW8C.js} +4 -4
- package/dist/{DataListAction-C5WfHuba.js → DataListAction-Cg3YqU4B.js} +4 -4
- package/dist/{DataListActions-HwENhAaX.js → DataListActions-Dj4SPqMz.js} +5 -5
- package/dist/{DataListActions-CM0Xe2H2.js → DataListActions-fehidrfh.js} +5 -5
- package/dist/{DataListActionsMenu-K5B3wYJI.js → DataListActionsMenu-BUFG_gtc.js} +6 -6
- package/dist/{DataListActionsMenu-C6mmGUJg.js → DataListActionsMenu-CsWdpEuh.js} +6 -6
- package/dist/{DataListBulkActions-BEwCWj79.js → DataListBulkActions-CtUsvhkp.js} +4 -4
- package/dist/{DataListBulkActions-DWtqZR1s.js → DataListBulkActions-DP_BoFqB.js} +4 -4
- package/dist/{DataListContext-nc3OMIku.js → DataListContext-DXbgtOu2.js} +1 -1
- package/dist/{DataListContext-DSdVeYAt.js → DataListContext-p4e5aqd-.js} +1 -1
- package/dist/{DataListEmptyState-Chl206Pp.js → DataListEmptyState-CvUJ3BiJ.js} +5 -5
- package/dist/{DataListEmptyState-ICsfS1cs.js → DataListEmptyState-Cx9XzCHc.js} +5 -5
- package/dist/{DataListFilters-B6nJrnJK.js → DataListFilters-CISnMrcy.js} +5 -5
- package/dist/{DataListFilters-B9spUOiw.js → DataListFilters-CpEV2NRc.js} +5 -5
- package/dist/{DataListHeader-DlQvau0F.js → DataListHeader-Be5InMAf.js} +11 -11
- package/dist/{DataListHeader-BmJDpEFS.js → DataListHeader-Df6imAib.js} +18 -18
- package/dist/{DataListHeaderTile-CAleemPi.js → DataListHeaderTile-B_GZepwm.js} +7 -7
- package/dist/{DataListHeaderTile-D0qfr0K3.js → DataListHeaderTile-BpRrLSR6.js} +7 -7
- package/dist/{DataListItem-BrOzWOX9.js → DataListItem-1eYWLMiW.js} +14 -14
- package/dist/{DataListItem-COjdyNnu.js → DataListItem-BfaoRKGa.js} +10 -10
- package/dist/{DataListItemActions-CVgrxgh4.js → DataListItemActions-B8SxC48D.js} +3 -3
- package/dist/{DataListItemActions-CmpWu6cL.js → DataListItemActions-BBqPucMs.js} +3 -3
- package/dist/{DataListItemActionsOverflow-C93XxlHf.js → DataListItemActionsOverflow-CIfD0Reu.js} +3 -3
- package/dist/{DataListItemActionsOverflow-Dju_og7h.js → DataListItemActionsOverflow-DZ_FjrXQ.js} +3 -3
- package/dist/{DataListItemClickable-CiBRlKW-.js → DataListItemClickable-BjvL_vV4.js} +6 -6
- package/dist/{DataListItemClickable-m98es9yw.js → DataListItemClickable-DIeFlukY.js} +3 -3
- package/dist/{DataListItems-I5jvsTNk.js → DataListItems-BrZ8SgoZ.js} +3 -3
- package/dist/{DataListItems-Bz8bDtsM.js → DataListItems-DZ7FsTSr.js} +3 -3
- package/dist/{DataListLayout-COSeHqaq.js → DataListLayout-BLgnz9Oj.js} +3 -3
- package/dist/{DataListLayout-DruWhQIG.js → DataListLayout-BnJbMpCQ.js} +3 -3
- package/dist/{DataListLayoutActions-BOBep3-N.js → DataListLayoutActions-D0WS8iy1.js} +5 -5
- package/dist/{DataListLayoutActions-DHBZkfuY.js → DataListLayoutActions-Z6p_c3cx.js} +5 -5
- package/dist/{DataListLayoutContext-wpzX6sm7.js → DataListLayoutContext-BEYFWlEd.js} +1 -1
- package/dist/{DataListLayoutContext-CPH4DAcG.js → DataListLayoutContext-CdX5ljBX.js} +1 -1
- package/dist/{DataListLoadMore-rOxtGKqN.js → DataListLoadMore-BUfWijjQ.js} +6 -6
- package/dist/{DataListLoadMore-xPLO970d.js → DataListLoadMore-EfDafLmz.js} +6 -6
- package/dist/{DataListLoadingState-o8KbKwXr.js → DataListLoadingState-B9hx5hoZ.js} +4 -4
- package/dist/{DataListLoadingState-Dw5_66dn.js → DataListLoadingState-CiuZLHUM.js} +4 -4
- package/dist/{DataListOverflowFade-C8ErqDbr.js → DataListOverflowFade-CACmfAlF.js} +2 -2
- package/dist/{DataListOverflowFade-_diz1rYQ.js → DataListOverflowFade-zjLS6B1v.js} +2 -2
- package/dist/{DataListSearch-BJA5IbsN.js → DataListSearch-BRbVcEmu.js} +7 -7
- package/dist/{DataListSearch-CFkCaren.js → DataListSearch-C8o4JxFf.js} +7 -7
- package/dist/{DataListSort-Ci0et0BW.js → DataListSort-D3y7VOP5.js} +6 -6
- package/dist/{DataListSort-BpNX4j_-.js → DataListSort-DW_xMCWC.js} +6 -6
- package/dist/{DataListSortingOptions-ChWq5axB.js → DataListSortingOptions-C0MXuCHz.js} +4 -4
- package/dist/{DataListSortingOptions-CNQXrzpl.js → DataListSortingOptions-CcbJyRM2.js} +4 -4
- package/dist/{DataListStatusBar-C1rSenkQ.js → DataListStatusBar-DMU_4Q7o.js} +2 -2
- package/dist/{DataListStatusBar-fod1OWtI.js → DataListStatusBar-kWhg8t2w.js} +2 -2
- package/dist/{DataListStickyHeader-B7RUkmzc.js → DataListStickyHeader-BUU_-pa9.js} +2 -2
- package/dist/{DataListStickyHeader-cq6y57nf.js → DataListStickyHeader-CeGiIE5o.js} +2 -2
- package/dist/{DataListTags-DP-6qZuR.js → DataListTags-BUyT0mxn.js} +3 -3
- package/dist/{DataListTags-Bjo2Bfht.js → DataListTags-BlY2cxu3.js} +3 -3
- package/dist/{DataListTotalCount-Bu02_mt7.js → DataListTotalCount-CtZci1R0.js} +3 -3
- package/dist/{DataListTotalCount-BDCtwDlm.js → DataListTotalCount-mcieYuST.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-DsygBxi7.js → DataTable-BMQ47huJ.js} +10 -10
- package/dist/{DataTable-D9exXhm9.js → DataTable-vlCJ1XHw.js} +10 -10
- package/dist/DatePicker/index.cjs +18 -18
- package/dist/DatePicker/index.mjs +18 -18
- package/dist/{DatePicker-icc2E511.js → DatePicker-C3oRUqi1.js} +122 -157
- package/dist/{DatePicker-HTMdgT6p.js → DatePicker-Dyi0GPaF.js} +122 -157
- package/dist/{DayOfMonthSelect-DyljmuGj.js → DayOfMonthSelect-S5FwiK3u.js} +7 -7
- package/dist/{DayOfMonthSelect-wDMdpXSS.js → DayOfMonthSelect-TDFEXKUa.js} +7 -7
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-Br9qr2kk.js → DescriptionList-BqbEIkCa.js} +2 -2
- package/dist/{DescriptionList-BLK9WuRz.js → DescriptionList-DzHOz6WS.js} +2 -2
- package/dist/Disclosure/index.cjs +9 -9
- package/dist/Disclosure/index.mjs +9 -9
- package/dist/{Disclosure-CMjm_vo4.js → Disclosure-DLmgDME5.js} +4 -4
- package/dist/{Disclosure-BtogqmUQ.js → Disclosure-hK_rlZw5.js} +4 -4
- package/dist/Divider/index.cjs +1 -1
- package/dist/Divider/index.mjs +1 -1
- package/dist/{Divider-Ckj89q12.js → Divider-CX3eEGVO.js} +1 -1
- package/dist/{Divider-Bujkbn0S.js → Divider-yGahng59.js} +1 -1
- package/dist/Drawer/index.cjs +6 -6
- package/dist/Drawer/index.mjs +6 -6
- package/dist/{DrawerGrid-DFr_xOuF.js → DrawerGrid-BFT7DB6I.js} +3 -3
- package/dist/{DrawerGrid-BYOZ43hZ.js → DrawerGrid-Bt-yTMxN.js} +3 -3
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-DAoE1j_p.js → Emphasis-BjdErT4g.js} +1 -1
- package/dist/{Emphasis-DDc_5UQU.js → Emphasis-Dgp55dC7.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-VlarLTSQ.js → FeatureSwitch-DfZA6bez.js} +8 -8
- package/dist/{FeatureSwitch-Ce4xQ-zs.js → FeatureSwitch-yAnAHw5I.js} +8 -8
- package/dist/Flex/index.cjs +1 -1
- package/dist/Flex/index.mjs +1 -1
- package/dist/{Flex-DKsSO5WG.js → Flex-Cx1E_i6B.js} +1 -1
- package/dist/{Flex-CgPsBE97.js → Flex-Dp2gjnRz.js} +1 -1
- package/dist/Form/index.cjs +2 -2
- package/dist/Form/index.mjs +2 -2
- package/dist/{Form-CUlr1Nrn.js → Form-BPttVOZA.js} +1 -1
- package/dist/{Form-X-L0reLn.js → Form-D-nVUm_l.js} +1 -1
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-DbqoZin8.js → FormField-BcUs9Rgi.js} +9 -9
- package/dist/{FormField-DJylXUXX.js → FormField-wu7uuuCq.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-oUGQG6fS.js → FormatEmail-Bhhid_re.js} +1 -1
- package/dist/{FormatEmail-BWlErqrB.js → FormatEmail-DYYxzFa_.js} +1 -1
- package/dist/FormatFile/index.cjs +21 -21
- package/dist/FormatFile/index.mjs +21 -21
- package/dist/{FormatFile-CIdyPi1K.js → FormatFile-CCySyrcO.js} +10 -10
- package/dist/{FormatFile-BcUf0HHj.js → FormatFile-CRW6Ivbr.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-BKJnqQgV.js → Gallery-BgOVUE_d.js} +4 -4
- package/dist/{Gallery-D_KqVcj0.js → Gallery-DmdMk5c8.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-C7aBW0K0.js → Glimmer-4R8t8P8U.js} +6 -6
- package/dist/{Glimmer-DlNmm3YL.js → Glimmer-bh0ONXDd.js} +6 -6
- package/dist/Grid/Grid.d.ts +1 -1
- 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-Cm01epbB.js → Grid-BQAKUbaF.js} +4 -4
- package/dist/{Grid-BCEpSWAq.js → Grid-CtzhRzzf.js} +4 -4
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-V-kQ4HU2.js → Heading-Bhq0REYa.js} +1 -1
- package/dist/{Heading-BdwZmSBA.js → Heading-ZPPoKRqB.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-9ACLKsm1.js +18 -0
- package/dist/InlineLabel-hr9uIs5k.js +20 -0
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-C6uuajSS.js → InputAvatar-R0p6WNUZ.js} +6 -6
- package/dist/{InputAvatar-B2JBCGeP.js → InputAvatar-XqQ1JVVu.js} +6 -6
- package/dist/InputDate/index.cjs +25 -25
- package/dist/InputDate/index.mjs +25 -25
- package/dist/{InputDate-BgIPRudq.js → InputDate-Da2fhMV1.js} +2 -2
- package/dist/{InputDate-BF9QBz4w.js → InputDate-jipCeGEc.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-DWcNZT6I.js → InputEmail-Cljb-ssY.js} +1 -1
- package/dist/{InputEmail-Dm7Zawo8.js → InputEmail-Doj8hgYj.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-DTOMwGan.js → InputFile-BLby6MiC.js} +7 -7
- package/dist/{InputFile-DnFGiJmW.js → InputFile-Pa3NYnBq.js} +7 -7
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/{InputGroup-BLBAs8kR.js → InputGroup-DwkpyWOF.js} +1 -1
- package/dist/{InputGroup-BwLBcvFq.js → InputGroup-RsdS2-XY.js} +1 -1
- package/dist/InputNumber/index.cjs +10 -10
- package/dist/InputNumber/index.mjs +10 -10
- package/dist/{InputNumber-D-YR6XAS.js → InputNumber-JPxmInGa.js} +1 -1
- package/dist/{InputNumber-g_-7Ht_x.js → InputNumber-h7_sP0ot.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-B0-pYUyB.js → InputPassword-D8fiGqOk.js} +1 -1
- package/dist/{InputPassword-yYD5djYr.js → InputPassword-Dib32mEf.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-DA9LEh7q.js → InputPhoneNumber-BAsqoXNB.js} +3 -3
- package/dist/{InputPhoneNumber-BNV37HRt.js → InputPhoneNumber-D5FXg1wN.js} +3 -3
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-CTYpGpWS.js → InputText-D0Ml6yl4.js} +2 -2
- package/dist/{InputText-ydn6uKsU.js → InputText-DAkUniA7.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-DhwX1iTd.js → InputTime-Dd7_SIi4.js} +3 -3
- package/dist/{InputTime-CAQBIbGk.js → InputTime-Dqm29Bi-.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-uzGACYXl.js → InputValidation-Cgx-7QGR.js} +3 -3
- package/dist/{InputValidation-69YEs5tU.js → InputValidation-DKFiLLDx.js} +3 -3
- package/dist/InternalChipDismissible-BAjrthg6.js +63 -0
- package/dist/InternalChipDismissible-BLmASIZn.js +66 -0
- package/dist/{InternalGridCell-EhAARK4o.js → InternalGridCell-CfEi8hgp.js} +1 -1
- package/dist/{InternalGridCell-DaDvVgLh.js → InternalGridCell-DZLYrjhT.js} +1 -1
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-3oyhNT13.js → LightBox-BrqXW4gG.js} +8 -8
- package/dist/{LightBox-ZQ9ITc4T.js → LightBox-BwZ1fB5q.js} +8 -8
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/{Link-BvHAM12c.js → Link-kGjPDSUi.js} +1 -1
- package/dist/{Link-D_jAr-9l.js → Link-trFn-vDw.js} +1 -1
- package/dist/List/index.cjs +20 -20
- package/dist/List/index.mjs +20 -20
- package/dist/{List-B_nXYLb9.js → List-CHEpW8k7.js} +13 -13
- package/dist/{List-V1t82bVJ.js → List-DG3WYChI.js} +13 -13
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-DPZrZ5qy.js → Markdown-BTKTAqCU.js} +7 -7
- package/dist/{Markdown--WRSbAoK.js → Markdown-C1PTt3iP.js} +7 -7
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-CnV-QpqP.js → Menu-Dm9lV0bC.js} +9 -9
- package/dist/{Menu-Bn014wDz.js → Menu-mHfqKUAT.js} +9 -9
- 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-CZoDK5iK.js → Modal-BBYjT9E7.js} +8 -8
- package/dist/{Modal-D6djgAcT.js → Modal-DwlS2BOS.js} +8 -8
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-Dq5lwHMQ.js → MultiSelect-BveTWFDc.js} +5 -5
- package/dist/{MultiSelect-y6bFv4gm.js → MultiSelect-ktEKA6Pm.js} +5 -5
- package/dist/{Option-CW4u2VZN.js → Option-CF93y0uB.js} +1 -1
- package/dist/{Option-BiMDdP1b.js → Option-v11ruznW.js} +1 -1
- package/dist/Page/index.cjs +24 -24
- package/dist/Page/index.mjs +24 -24
- package/dist/{Page-DPerZ6WX.js → Page-B1n4CLwd.js} +9 -9
- package/dist/{Page-2ynDE_E8.js → Page-DpYLnyP1.js} +9 -9
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-CYYw26fX.js → Popover-FLa0Xx6_.js} +3 -3
- package/dist/{Popover-CVGKu6Qw.js → Popover-dliMBk27.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-B-zmvqlj.js → ProgressBar-DoNVXGS6.js} +2 -2
- package/dist/{ProgressBar-B8_uczjK.js → ProgressBar-vm42PxLU.js} +2 -2
- package/dist/RadioGroup/index.cjs +3 -3
- package/dist/RadioGroup/index.mjs +3 -3
- package/dist/{RadioGroup-BRttbA_n.js → RadioGroup-B5Mdc83p.js} +2 -2
- package/dist/{RadioGroup-D2PQFj2s.js → RadioGroup-adonrJC8.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-BBAwkMyG.js → RecurringSelect-BYBmd4BS.js} +7 -7
- package/dist/{RecurringSelect-DcPsU8yk.js → RecurringSelect-CNKof_jm.js} +7 -7
- 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-CIeUj6er.js → SideDrawer-CwO6Z62v.js} +8 -8
- package/dist/{SideDrawer-DXhfUBmy.js → SideDrawer-Dif-Vgab.js} +8 -8
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/{Spinner-DGU4hKiw.js → Spinner-BkDyHVJO.js} +1 -1
- package/dist/{Spinner-CclQH5p6.js → Spinner-CcfVwaDw.js} +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/{StatusIndicator-2FH29rXU.js → StatusIndicator-BZmQo5h9.js} +1 -1
- package/dist/{StatusIndicator-BnyooPKW.js → StatusIndicator-Brnw3zl-.js} +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-CwDQRTDS.js → StatusLabel-D7GCbIt6.js} +3 -3
- package/dist/{StatusLabel-BvWPQXVi.js → StatusLabel-DMP96DWN.js} +3 -3
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-ozBMDbYN.js → Switch-RIwMI0ZD.js} +2 -2
- package/dist/{Switch-BpWqAVwb.js → Switch-dapup4Dg.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-BIzmZZ8Z.js → Tabs-CG7WLvFi.js} +3 -3
- package/dist/{Tabs-C-8heObC.js → Tabs-Ci3_3kTH.js} +3 -3
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-CIOw_MbQ.js → Text-8u5c30yX.js} +1 -1
- package/dist/{Text-OejtJe9c.js → Text-PP3NusMD.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-C4syshPl.js → Tooltip-BWQ2V-yF.js} +7 -5
- package/dist/{Tooltip-CyjsiD9h.js → Tooltip-DLVhW_fw.js} +7 -5
- package/dist/Typography/Typography.d.ts +7 -7
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/Typography-AbH1Uapw.js +53 -0
- package/dist/Typography-vFB90zPo.js +55 -0
- package/dist/{_baseAssignValue-DqutJn-l.js → _baseAssignValue-BbSoHocw.js} +1 -1
- package/dist/{_baseAssignValue-CQPk8ome.js → _baseAssignValue-DIw8HfTR.js} +1 -1
- package/dist/{_baseEach-CqpoWL75.js → _baseEach-COMQDm7q.js} +7 -7
- package/dist/{_baseEach-BswM2DnU.js → _baseEach-OyG-UVru.js} +7 -7
- package/dist/{_baseFlatten-BIGjs7C-.js → _baseFlatten-v2PcnLh9.js} +3 -3
- package/dist/{_baseFlatten-D1NZA8St.js → _baseFlatten-zxgs-9Pe.js} +3 -3
- package/dist/{_getAllKeys-Co5GejcG.js → _getAllKeys-BaKz2hQ3.js} +5 -5
- package/dist/{_getAllKeys-DuIeLomp.js → _getAllKeys-CPV_8a6W.js} +5 -5
- package/dist/{_getTag-aOqfN4ej.js → _getTag-Ck-z2SWv.js} +2 -2
- package/dist/{_getTag-DkDYgCHT.js → _getTag-EjqeORng.js} +2 -2
- package/dist/{_isIterateeCall-CzcrXhGB.js → _isIterateeCall-CafFeeik.js} +4 -4
- package/dist/{_isIterateeCall-5JAuCV4M.js → _isIterateeCall-D0l56nVY.js} +4 -4
- package/dist/{_setToString-DVlWBogw.js → _setToString-BemLTyi7.js} +1 -1
- package/dist/{_setToString-DH7GKT40.js → _setToString-C1y7Yiq3.js} +1 -1
- package/dist/{debounce-4ZcizSQk.js → debounce-D_6Rd5_T.js} +3 -3
- package/dist/{debounce-3grWz_0o.js → debounce-DsaXKolw.js} +3 -3
- package/dist/{helpers-DTFNSL5D.js → helpers-CRFwYHHA.js} +1 -1
- package/dist/{helpers-C038k1cG.js → helpers-DD16qC8d.js} +1 -1
- package/dist/{identity-CBz1SXvU.js → identity-B1SnrtJc.js} +2 -2
- package/dist/{identity-CjCnhCLi.js → identity-DYYQVf_W.js} +2 -2
- package/dist/{index-CG-Ht9bC.js → index-D5p3q-oF.js} +1 -1
- package/dist/{index-BrZCdZ8b.js → index-rAmchzd3.js} +1 -1
- package/dist/index.cjs +160 -160
- package/dist/index.mjs +158 -158
- package/dist/{isObjectLike-i_S0AKMg.js → isObjectLike-Daw0vjqu.js} +1 -1
- package/dist/{isObjectLike-DTwl2dr2.js → isObjectLike-P0dXiNHa.js} +1 -1
- package/dist/{isSymbol-DwoFqCBz.js → isSymbol-Ck-t29z6.js} +1 -1
- package/dist/{isSymbol-CqA9L5IE.js → isSymbol-CrhoAZI3.js} +1 -1
- package/dist/{isTypedArray-Cd4gzGPz.js → isTypedArray-CGXDqQuB.js} +1 -1
- package/dist/{isTypedArray-K4_TLJfP.js → isTypedArray-HjAfabXV.js} +1 -1
- package/dist/{keysIn-CohO8U3u.js → keysIn-CPu_GXD-.js} +4 -4
- package/dist/{keysIn-CHML7XSO.js → keysIn-V3zylQyx.js} +4 -4
- package/dist/{noop-DzXzmgsn.js → noop-CD2J0q8m.js} +1 -1
- package/dist/{noop-CraOGF8Z.js → noop-DoixzvPa.js} +1 -1
- package/dist/{showToast-BjO_9QYQ.js → showToast-2vmctNr4.js} +4 -4
- package/dist/{showToast-B_Ma7Fnz.js → showToast-Ba50f7yr.js} +4 -4
- package/dist/styles.css +1435 -1537
- package/dist/{throttle-Cprv6cRN.js → throttle-DsQn81Od.js} +3 -3
- package/dist/{throttle-BdsTStEK.js → throttle-VRmwbesV.js} +3 -3
- package/dist/{updateTheme-Dy4NdRvb.js → updateTheme-BIpy7DHy.js} +9 -9
- package/dist/{updateTheme-C4xUL5Rh.js → updateTheme-Bri1TcPF.js} +9 -9
- package/dist/{useActiveLayout-DlI6NCb5.js → useActiveLayout-BrEoHjTL.js} +2 -2
- package/dist/{useActiveLayout-kVPdH4fH.js → useActiveLayout-DsEieVVU.js} +2 -2
- package/dist/{useAssert-D4PJ4ymq.js → useAssert-BF9sSCvd.js} +2 -2
- package/dist/{useAssert-6YWzzvfL.js → useAssert-BdgtmYwS.js} +2 -2
- package/dist/{useBatchSelect-CD3CQd6g.js → useBatchSelect-CwmGd3-I.js} +1 -1
- package/dist/{useBatchSelect-2xrVPfVW.js → useBatchSelect-DlXBdzwi.js} +1 -1
- package/dist/{useIsMounted-B7_9jE75.js → useIsMounted-B9B-KfDL.js} +4 -1
- package/dist/{useIsMounted-CSRPXMQN.js → useIsMounted-Cc_FHDAy.js} +4 -1
- package/dist/{useResizeObserver-DRmrXVEe.js → useResizeObserver-BHYC6Bi-.js} +2 -2
- package/dist/{useResizeObserver-Dopljm7C.js → useResizeObserver-By56jFx2.js} +2 -2
- package/dist/{useResponsiveSizing-s676YOix.js → useResponsiveSizing-CmW6JmI_.js} +1 -1
- package/dist/{useResponsiveSizing-BTk6Z4hD.js → useResponsiveSizing-DDatqt-_.js} +1 -1
- package/dist/{useScrollToActive-CcSdwphe.js → useScrollToActive-CcTptG1W.js} +10 -10
- package/dist/{useScrollToActive-Cb2c6DGY.js → useScrollToActive-TpUr6sXO.js} +10 -10
- package/package.json +3 -8
- package/dist/BannerIcon-BUhwJ9Wl.js +0 -14
- package/dist/BannerIcon-C-nWrBxf.js +0 -17
- package/dist/Card/cardcolors.css.d.ts +0 -89
- package/dist/Chip-CvKSs5Nu.js +0 -80
- package/dist/Chip-Qfqwzu4r.js +0 -77
- package/dist/Content/Spacing.css.d.ts +0 -13
- package/dist/Content-Bx0v_zCB.js +0 -15
- package/dist/Content-Ch4LRCkE.js +0 -13
- package/dist/DataList-CYqkARF1.js +0 -3
- package/dist/DataList-ClkPt70Q.js +0 -5
- 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/InlineLabel-0Bm2Npqr.js +0 -20
- package/dist/InlineLabel-Cd-6ixSO.js +0 -18
- package/dist/InternalChipDismissible-CLJsvs-K.js +0 -152
- package/dist/InternalChipDismissible-StTOvxpy.js +0 -157
- 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 -69
- package/dist/Typography/css/Truncate.css.d.ts +0 -5
- package/dist/Typography/css/Typography.css.d.ts +0 -5
- package/dist/Typography-CRoX9edW.js +0 -53
- package/dist/Typography-CZXlC9J2.js +0 -55
- /package/dist/{AnimatedPresence-BSHjWG3g.js → AnimatedPresence-Bzm4plxg.js} +0 -0
- /package/dist/{AnimatedPresence-C_ifExQb.js → AnimatedPresence-D8hOYJeW.js} +0 -0
- /package/dist/{AtlantisContext-B_kSxChh.js → AtlantisContext-CL-h649L.js} +0 -0
- /package/dist/{AtlantisContext-DZca2inZ.js → AtlantisContext-D_qZ8tMZ.js} +0 -0
- /package/dist/{DataList.const-CfcXhjZR.js → DataList.const-BFdoMYzt.js} +0 -0
- /package/dist/{DataList.const-B_t_nNPW.js → DataList.const-D0_vZOFC.js} +0 -0
- /package/dist/{DataListLayoutContext-CMP9akyy.js → DataListLayoutContext-BaS5qdUe.js} +0 -0
- /package/dist/{DataListLayoutContext-C6pmOwAK.js → DataListLayoutContext-DU6xx-u1.js} +0 -0
- /package/dist/{FormatDate-DqkZgz-g.js → FormatDate-Df3dTwdx.js} +0 -0
- /package/dist/{FormatDate-BykyDIok.js → FormatDate-eSKMxNIE.js} +0 -0
- /package/dist/{FormatRelativeDateTime-qsuzQpw7.js → FormatRelativeDateTime-BIN74aGK.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DZdPFvNL.js → FormatRelativeDateTime-D1H8RUOd.js} +0 -0
- /package/dist/{FormatTime-BX2DYl6y.js → FormatTime-BDLbk6D0.js} +0 -0
- /package/dist/{FormatTime-DrEvQdpB.js → FormatTime-KtFYixjf.js} +0 -0
- /package/dist/{Icon-CTOShA1M.js → Icon-CzTxZ1W-.js} +0 -0
- /package/dist/{Icon-mR0kGeqa.js → Icon-pk1bSz-V.js} +0 -0
- /package/dist/{_baseFor-BYQUrQxA.js → _baseFor-C3AbpIJr.js} +0 -0
- /package/dist/{_baseFor-CAR1UOUq.js → _baseFor-ypFXSEXX.js} +0 -0
- /package/dist/{_commonjsHelpers-CeSHm1M2.js → _commonjsHelpers-CIuGWlVt.js} +0 -0
- /package/dist/{_commonjsHelpers-pBx_5ASz.js → _commonjsHelpers-DSKgT2E_.js} +0 -0
- /package/dist/{_polyfill-node.process-C_XaL-sh.js → _polyfill-node.process-CGRwKmDk.js} +0 -0
- /package/dist/{_polyfill-node.process-BsVBF5ZD.js → _polyfill-node.process-CPhbQ6og.js} +0 -0
- /package/dist/{tslib.es6-ICijM8p3.js → tslib.es6-BFtUR0fc.js} +0 -0
- /package/dist/{tslib.es6-BM-XvdQm.js → tslib.es6-De48E9Et.js} +0 -0
- /package/dist/{useChildComponent-Bk38nqw-.js → useChildComponent-Bkzg-1AA.js} +0 -0
- /package/dist/{useChildComponent-0yCY0m_Z.js → useChildComponent-o8lklJQK.js} +0 -0
- /package/dist/{useFocusTrap-CvxGDYWB.js → useFocusTrap-BIKgMUaR.js} +0 -0
- /package/dist/{useFocusTrap-BI0mm-W8.js → useFocusTrap-BZLUTdcT.js} +0 -0
- /package/dist/{useFormFieldFocus-DwWv7ePV.js → useFormFieldFocus-D3uL4VQr.js} +0 -0
- /package/dist/{useFormFieldFocus-3olK06ss.js → useFormFieldFocus-fVaPjhVf.js} +0 -0
- /package/dist/{useInView-5w2grgM7.js → useInView-CuvX6I5g.js} +0 -0
- /package/dist/{useInView-CEgmyj9o.js → useInView-DpmwAMtw.js} +0 -0
- /package/dist/{useOnKeyDown-DpSuHrqE.js → useOnKeyDown-Bi2pYSmz.js} +0 -0
- /package/dist/{useOnKeyDown-v8DX4vns.js → useOnKeyDown-CPGgT2FH.js} +0 -0
- /package/dist/{useRefocusOnActivator-DMTdlldm.js → useRefocusOnActivator-B7o5zRRN.js} +0 -0
- /package/dist/{useRefocusOnActivator-C7S07qnG.js → useRefocusOnActivator-CFQo9T20.js} +0 -0
- /package/dist/{useSafeLayoutEffect-CqNRT675.js → useSafeLayoutEffect-BDsZso-H.js} +0 -0
- /package/dist/{useSafeLayoutEffect-DldEYPfW.js → useSafeLayoutEffect-DQURz5Jo.js} +0 -0
package/dist/Content-Ch4LRCkE.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { createElement } from 'react';
|
|
2
|
-
import classnames from 'classnames';
|
|
3
|
-
|
|
4
|
-
var spacings = {"minuscule":"_340SlNuzSDQ-","smallest":"H1BK-YSBQBQ-","smaller":"xUe31mY0kro-","small":"rDJFaGPzCbE-","base":"SRYe3DkjH1c-","large":"_7TZ4MI3kr4Y-","larger":"jvPl3aAN9PA-","largest":"fFTgb4ra1X0-","extravagant":"kKnfL37LO6A-","spinning":"eKABdCW6tY4-"};
|
|
5
|
-
|
|
6
|
-
var styles = {"padded":"_4On2F-4nWuY-","spinning":"UhzNYh0kfWw-"};
|
|
7
|
-
|
|
8
|
-
function Content({ children, spacing = "base", type = "div", }) {
|
|
9
|
-
const className = classnames(styles.padded, spacings[spacing]);
|
|
10
|
-
return createElement(type, { className }, children);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { Content as C };
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var styles = {"wrapper":"TkdrExYnvcY-","titleContainer":"IcAlZHoB4LI-","headerFilters":"TFO76ysivmg-","headerTitles":"jGHZZYZm1ZY-","batchSelectContainer":"GiD7MjZJbcw-","headerBatchSelect":"jMSVGIAr5tk-","listItem":"ise8kHCfhCY-","listItemClickable":"Tq6e0BGwcSM-","active":"Pc0JGX6jCD4-","selectable":"d-79rkMqufg-","selectAllCheckbox":"qm-SSuWTXkI-","visible":"VA9RnQp6nbI-","selected":"_4L7iXXzLr5k-","filtering":"Kkp-IYmwq-s-","filteringSpinner":"m-eCShL7TU4-","srOnly":"esUiRgWabYw-","spinning":"Ty0bGFDKG1E-"};
|
|
2
|
-
|
|
3
|
-
export { styles as s };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var styles = {"wrapper":"TkdrExYnvcY-","titleContainer":"IcAlZHoB4LI-","headerFilters":"TFO76ysivmg-","headerTitles":"jGHZZYZm1ZY-","batchSelectContainer":"GiD7MjZJbcw-","headerBatchSelect":"jMSVGIAr5tk-","listItem":"ise8kHCfhCY-","listItemClickable":"Tq6e0BGwcSM-","active":"Pc0JGX6jCD4-","selectable":"d-79rkMqufg-","selectAllCheckbox":"qm-SSuWTXkI-","visible":"VA9RnQp6nbI-","selected":"_4L7iXXzLr5k-","filtering":"Kkp-IYmwq-s-","filteringSpinner":"m-eCShL7TU4-","srOnly":"esUiRgWabYw-","spinning":"Ty0bGFDKG1E-"};
|
|
4
|
-
|
|
5
|
-
exports.styles = styles;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var classnames = require('classnames');
|
|
5
|
-
var Typography = require('./Typography-CZXlC9J2.js');
|
|
6
|
-
|
|
7
|
-
var styles = {"inlineLabel":"S72WkdRbhc0-","base":"bMWuAXJHkbw-","large":"ui07veHjPII-","larger":"WIXhLSQ7z8A-","greyBlue":"_8RuKvOhj-Ro-","red":"_2vEF1nvVWm8-","orange":"Wt305sIAeoE-","green":"F8KkNxz8W3A-","success":"LJQb00ufiyQ-","blue":"URZZoKSX4So-","inactive":"c6sFmqajaYE-","navy":"OeLBV-9i0Rs-","task":"BAQHvQZjbyA-","yellow":"_2Xwx5tarf1w-","warning":"VYi1KJGzm9U-","lime":"iCqIjI7GkEk-","purple":"_4iEIjiZj9oA-","invoice":"vS3TEIwvOts-","pink":"JRW9QFSjLTA-","quote":"D8txxeUYzFs-","teal":"fbhprd-Gl8k-","yellowGreen":"yrF9aZSaTdw-","job":"vn6HwAFptJ4-","blueDark":"RPvjah0FdjI-","lightBlue":"apwauWJ6ITc-","informative":"CcbIpjwK7jU-","indigo":"n8qJynvE-n0-","request":"Y-cTpwjcfOA-","spinning":"Bec7BWqGuis-"};
|
|
8
|
-
|
|
9
|
-
function InlineLabel({ size = "base", color = "greyBlue", children, }) {
|
|
10
|
-
const className = classnames(styles.inlineLabel, styles[size], styles[color]);
|
|
11
|
-
const sizeMapper = {
|
|
12
|
-
base: "small",
|
|
13
|
-
large: "large",
|
|
14
|
-
larger: "large",
|
|
15
|
-
};
|
|
16
|
-
return (React.createElement("span", { className: className },
|
|
17
|
-
React.createElement(Typography.Typography, { element: "span", size: sizeMapper[size] }, children)));
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
exports.InlineLabel = InlineLabel;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import classnames from 'classnames';
|
|
3
|
-
import { T as Typography } from './Typography-CRoX9edW.js';
|
|
4
|
-
|
|
5
|
-
var styles = {"inlineLabel":"S72WkdRbhc0-","base":"bMWuAXJHkbw-","large":"ui07veHjPII-","larger":"WIXhLSQ7z8A-","greyBlue":"_8RuKvOhj-Ro-","red":"_2vEF1nvVWm8-","orange":"Wt305sIAeoE-","green":"F8KkNxz8W3A-","success":"LJQb00ufiyQ-","blue":"URZZoKSX4So-","inactive":"c6sFmqajaYE-","navy":"OeLBV-9i0Rs-","task":"BAQHvQZjbyA-","yellow":"_2Xwx5tarf1w-","warning":"VYi1KJGzm9U-","lime":"iCqIjI7GkEk-","purple":"_4iEIjiZj9oA-","invoice":"vS3TEIwvOts-","pink":"JRW9QFSjLTA-","quote":"D8txxeUYzFs-","teal":"fbhprd-Gl8k-","yellowGreen":"yrF9aZSaTdw-","job":"vn6HwAFptJ4-","blueDark":"RPvjah0FdjI-","lightBlue":"apwauWJ6ITc-","informative":"CcbIpjwK7jU-","indigo":"n8qJynvE-n0-","request":"Y-cTpwjcfOA-","spinning":"Bec7BWqGuis-"};
|
|
6
|
-
|
|
7
|
-
function InlineLabel({ size = "base", color = "greyBlue", children, }) {
|
|
8
|
-
const className = classnames(styles.inlineLabel, styles[size], styles[color]);
|
|
9
|
-
const sizeMapper = {
|
|
10
|
-
base: "small",
|
|
11
|
-
large: "large",
|
|
12
|
-
larger: "large",
|
|
13
|
-
};
|
|
14
|
-
return (React.createElement("span", { className: className },
|
|
15
|
-
React.createElement(Typography, { element: "span", size: sizeMapper[size] }, children)));
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { InlineLabel as I };
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import React, { useRef, useState, useEffect } from 'react';
|
|
2
|
-
import { a as useInternalChipDismissibleInput, d as useScrollToActive, b as useInView, c as useRepositionMenu, u as useInternalChipDismissible } from './useScrollToActive-CcSdwphe.js';
|
|
3
|
-
import './isObjectLike-DTwl2dr2.js';
|
|
4
|
-
import '@jobber/design';
|
|
5
|
-
import 'react-popper';
|
|
6
|
-
import { a as debounce } from './debounce-4ZcizSQk.js';
|
|
7
|
-
import classnames from 'classnames';
|
|
8
|
-
import { T as Text } from './Text-OejtJe9c.js';
|
|
9
|
-
import { B as Button } from './Button-BorESRA8.js';
|
|
10
|
-
import { S as Spinner } from './Spinner-CclQH5p6.js';
|
|
11
|
-
import { u as useAssert_2 } from './useAssert-6YWzzvfL.js';
|
|
12
|
-
import { I as Icon } from './Icon-CTOShA1M.js';
|
|
13
|
-
import { A as Avatar } from './Avatar-BnkP21mh.js';
|
|
14
|
-
import { T as Typography } from './Typography-CRoX9edW.js';
|
|
15
|
-
import { T as Tooltip } from './Tooltip-C4syshPl.js';
|
|
16
|
-
|
|
17
|
-
var styles$1 = {"wrapper":"zn6onyiQVmA-","chip":"PEnZzMEgbhU-","hasPrefix":"dtysUhwYdG4-","hasSuffix":"xGaMCAYsdwA-","clickable":"SNT7gGV-h-o-","input":"W4D98cvEth4-","active":"_0hEzaTXK9M0-","invalid":"JApS2787BU8-","disabled":"Kg0c8WVgMpg-","button":"_0-ZWexS4Gfg-","icon":"DQPnZP4UZpw-","spinning":"_233cNMGKLQo-"};
|
|
18
|
-
|
|
19
|
-
function InternalChipButton({ icon, invalid, disabled, label, onClick, }) {
|
|
20
|
-
const buttonRef = useRef();
|
|
21
|
-
return (React.createElement("div", { ref: buttonRef, className: styles$1.button, tabIndex: 0, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown, onClick: handleClick, role: "button", "aria-label": `Remove ${label}`, "aria-hidden": true, "aria-disabled": disabled, "data-testid": "remove-chip-button" },
|
|
22
|
-
React.createElement(Icon, { name: icon, color: getColor() })));
|
|
23
|
-
function handleKeyUp(event) {
|
|
24
|
-
if (document.activeElement === buttonRef.current &&
|
|
25
|
-
(event.key === " " || event.key === "Enter")) {
|
|
26
|
-
event.stopPropagation();
|
|
27
|
-
buttonRef.current.click();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function handleKeyDown(event) {
|
|
31
|
-
if (document.activeElement === buttonRef.current && event.key === " ") {
|
|
32
|
-
// Don't scroll down
|
|
33
|
-
event.preventDefault();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function getColor() {
|
|
37
|
-
if (disabled)
|
|
38
|
-
return "disabled";
|
|
39
|
-
if (invalid)
|
|
40
|
-
return "critical";
|
|
41
|
-
return "greyBlue";
|
|
42
|
-
}
|
|
43
|
-
function handleClick(event) {
|
|
44
|
-
event.stopPropagation();
|
|
45
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function InternalChipAffix({ affix, active, invalid, disabled, }) {
|
|
50
|
-
assertProps();
|
|
51
|
-
if ((affix === null || affix === void 0 ? void 0 : affix.type) === Avatar) {
|
|
52
|
-
return React.createElement(Avatar, Object.assign({}, affix.props, { size: "small" }));
|
|
53
|
-
}
|
|
54
|
-
if ((affix === null || affix === void 0 ? void 0 : affix.type) === Icon) {
|
|
55
|
-
return renderChipIcon(affix);
|
|
56
|
-
}
|
|
57
|
-
if ((affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton) {
|
|
58
|
-
return React.createElement(InternalChipButton, Object.assign({}, affix.props));
|
|
59
|
-
}
|
|
60
|
-
return React.createElement(React.Fragment, null);
|
|
61
|
-
function renderChipIcon(icon) {
|
|
62
|
-
const color = getIconColor();
|
|
63
|
-
return (React.createElement("div", { className: styles$1.icon }, React.cloneElement(icon, Object.assign({ size: "base" }, (color && { color: color })))));
|
|
64
|
-
}
|
|
65
|
-
function getIconColor() {
|
|
66
|
-
if (disabled && !active)
|
|
67
|
-
return "disabled";
|
|
68
|
-
if (invalid && !disabled)
|
|
69
|
-
return "critical";
|
|
70
|
-
if (active)
|
|
71
|
-
return "white";
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
function assertProps() {
|
|
75
|
-
const isAvatar = (affix === null || affix === void 0 ? void 0 : affix.type) === Avatar || false;
|
|
76
|
-
const isIcon = (affix === null || affix === void 0 ? void 0 : affix.type) === Icon || false;
|
|
77
|
-
const isChipButton = (affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton || false;
|
|
78
|
-
useAssert_2(!!affix && !(isAvatar || isIcon || isChipButton), `Prefix prop only accepts "<Avatar />" or "<Icon />" component. You have "${affix === null || affix === void 0 ? void 0 : affix.type}".`);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
function InternalChip({ label, active = false, disabled = false, invalid = false, prefix, suffix, tabIndex, ariaLabel, onClick, onKeyDown, }) {
|
|
83
|
-
const [truncateRef, setTruncateRef] = useState();
|
|
84
|
-
const isClickable = onClick && !disabled;
|
|
85
|
-
const classNames = classnames(styles$1.chip, {
|
|
86
|
-
[styles$1.clickable]: isClickable,
|
|
87
|
-
[styles$1.active]: active,
|
|
88
|
-
[styles$1.disabled]: disabled,
|
|
89
|
-
[styles$1.invalid]: invalid,
|
|
90
|
-
[styles$1.hasPrefix]: prefix,
|
|
91
|
-
[styles$1.hasSuffix]: suffix,
|
|
92
|
-
});
|
|
93
|
-
const affixProps = { active, invalid, disabled };
|
|
94
|
-
const Tag = onClick ? "button" : "div";
|
|
95
|
-
const chip = (React.createElement(Tag, Object.assign({ className: classNames }, (isClickable && { onClick, disabled }), { onKeyDown: onKeyDown, "data-testid": "chip-wrapper", "aria-label": ariaLabel, tabIndex: tabIndex, role: tabIndex !== undefined ? "option" : undefined }),
|
|
96
|
-
React.createElement(InternalChipAffix, Object.assign({ affix: prefix }, affixProps)),
|
|
97
|
-
React.createElement(Typography, { element: "span", numberOfLines: 1, size: "base" },
|
|
98
|
-
React.createElement("span", { ref: setTruncateRef }, label)),
|
|
99
|
-
React.createElement(InternalChipAffix, Object.assign({ affix: suffix }, affixProps))));
|
|
100
|
-
return isTruncated() ? React.createElement(Tooltip, { message: label }, chip) : chip;
|
|
101
|
-
function isTruncated() {
|
|
102
|
-
var _a;
|
|
103
|
-
const truncateParentHeight = ((_a = truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.parentElement) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
104
|
-
const truncateChildHeight = (truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.offsetHeight) || 0;
|
|
105
|
-
return truncateChildHeight >= truncateParentHeight * 2;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
var styles = {"wrapper":"sCNIjluCskc-","input":"MFUlz1WQLdk-","menu":"V9eYJdjPAeY-","menuList":"LdytkOeCU9c-","menuListOption":"y7Cz2u8BuNE-","loadingIndicator":"_-7bmao8Q9As-","activeOption":"iCwWdcmtInc-","spinning":"c88tg50FoHI-"};
|
|
110
|
-
|
|
111
|
-
function InternalChipDismissibleInput(props) {
|
|
112
|
-
const { activator = React.createElement(Button, { icon: "add", type: "secondary", ariaLabel: "Add" }), attachTo, isLoadingMore = false, onLoadMore, } = props;
|
|
113
|
-
const { activeIndex, allOptions, hasAvailableOptions, inputRef, menuId, menuOpen, searchValue, generateDescendantId, handleBlur, handleOpenMenu, handleSearchChange, handleCancelBlur, handleEnableBlur, handleSetActiveOnMouseOver, handleKeyDown, handleSelectOption, handleDebouncedSearch, } = useInternalChipDismissibleInput(props);
|
|
114
|
-
const menuRef = useScrollToActive(activeIndex);
|
|
115
|
-
const { ref: visibleChildRef, isInView } = useInView();
|
|
116
|
-
const { styles: popperStyles, attributes, update, setPositionedElementRef, } = useRepositionMenu(attachTo);
|
|
117
|
-
useEffect(() => {
|
|
118
|
-
if (menuOpen && update)
|
|
119
|
-
update();
|
|
120
|
-
}, [allOptions]);
|
|
121
|
-
useEffect(() => {
|
|
122
|
-
handleDebouncedSearch();
|
|
123
|
-
return handleDebouncedSearch.cancel;
|
|
124
|
-
}, [searchValue]);
|
|
125
|
-
useEffect(() => {
|
|
126
|
-
isInView && onLoadMore && onLoadMore(searchValue);
|
|
127
|
-
}, [isInView]);
|
|
128
|
-
if (!menuOpen) {
|
|
129
|
-
return React.cloneElement(activator, { onClick: handleOpenMenu });
|
|
130
|
-
}
|
|
131
|
-
return (React.createElement(React.Fragment, null,
|
|
132
|
-
React.createElement("input", { ref: inputRef, className: styles.input, type: "text", role: "combobox", "aria-label": "Press up and down arrow to cycle through the options or type to narrow down the results", "aria-autocomplete": "list", "aria-owns": menuId, "aria-expanded": hasAvailableOptions, "aria-activedescendant": generateDescendantId(activeIndex), value: searchValue, onChange: handleSearchChange, onKeyDown: handleKeyDown, onBlur: debounce(handleBlur, 200), onFocus: handleOpenMenu, autoFocus: true }),
|
|
133
|
-
(hasAvailableOptions || isLoadingMore) && (React.createElement("div", Object.assign({ ref: setPositionedElementRef, className: styles.menu, style: popperStyles.popper }, attributes.popper),
|
|
134
|
-
React.createElement("div", { ref: menuRef, role: "listbox", id: menuId, className: styles.menuList, "data-testid": "chip-menu" },
|
|
135
|
-
allOptions.map((option, i) => (React.createElement("button", { key: option.value, role: "option", type: "button", id: generateDescendantId(i), className: classnames(styles.menuListOption, {
|
|
136
|
-
[styles.activeOption]: activeIndex === i,
|
|
137
|
-
}), onClick: () => handleSelectOption(option), onMouseEnter: handleSetActiveOnMouseOver(i), onMouseDown: handleCancelBlur, onMouseUp: handleEnableBlur },
|
|
138
|
-
React.createElement("span", { "aria-hidden": true }, option.prefix),
|
|
139
|
-
React.createElement(Text, null, option.label)))),
|
|
140
|
-
React.createElement("div", { ref: visibleChildRef }),
|
|
141
|
-
isLoadingMore && (React.createElement("div", { className: styles.loadingIndicator },
|
|
142
|
-
React.createElement(Spinner, { size: "small", inline: true }))))))));
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
function InternalChipDismissible(props) {
|
|
146
|
-
const { availableChipOptions, ref: wrapperRef, sortedVisibleChipOptions, handleChipAdd, handleChipClick, handleChipKeyDown, handleChipRemove, handleCustomAdd, handleWrapperKeyDown, } = useInternalChipDismissible(props);
|
|
147
|
-
return (React.createElement("div", { ref: wrapperRef, className: styles.wrapper, "data-testid": "dismissible-chips", onKeyDown: handleWrapperKeyDown, role: "listbox" },
|
|
148
|
-
sortedVisibleChipOptions.map(chip => (React.createElement(InternalChip, Object.assign({ key: chip.value }, chip, { onKeyDown: handleChipKeyDown(chip.value), onClick: handleChipClick(chip.value), ariaLabel: `${chip.label}. Press delete or backspace to remove ${chip.label}`, tabIndex: 0, suffix: React.createElement(InternalChipButton, { icon: "remove", invalid: chip.invalid, disabled: chip.disabled, label: chip.label, onClick: handleChipRemove(chip.value) }) })))),
|
|
149
|
-
React.createElement(InternalChipDismissibleInput, { activator: props.activator, attachTo: wrapperRef, isLoadingMore: props.isLoadingMore, options: availableChipOptions, onOptionSelect: handleChipAdd, onCustomOptionSelect: handleCustomAdd, onSearch: props.onSearch, onLoadMore: props.onLoadMore })));
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export { InternalChipDismissible as I, InternalChip as a, InternalChipButton as b, styles$1 as s };
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var useScrollToActive = require('./useScrollToActive-Cb2c6DGY.js');
|
|
5
|
-
require('./isObjectLike-i_S0AKMg.js');
|
|
6
|
-
require('@jobber/design');
|
|
7
|
-
require('react-popper');
|
|
8
|
-
var debounce = require('./debounce-3grWz_0o.js');
|
|
9
|
-
var classnames = require('classnames');
|
|
10
|
-
var Text = require('./Text-CIOw_MbQ.js');
|
|
11
|
-
var Button = require('./Button-Cq7nFrdg.js');
|
|
12
|
-
var Spinner = require('./Spinner-DGU4hKiw.js');
|
|
13
|
-
var useAssert = require('./useAssert-D4PJ4ymq.js');
|
|
14
|
-
var Icon = require('./Icon-mR0kGeqa.js');
|
|
15
|
-
var Avatar = require('./Avatar-BoNMbFuY.js');
|
|
16
|
-
var Typography = require('./Typography-CZXlC9J2.js');
|
|
17
|
-
var Tooltip = require('./Tooltip-CyjsiD9h.js');
|
|
18
|
-
|
|
19
|
-
var styles$1 = {"wrapper":"zn6onyiQVmA-","chip":"PEnZzMEgbhU-","hasPrefix":"dtysUhwYdG4-","hasSuffix":"xGaMCAYsdwA-","clickable":"SNT7gGV-h-o-","input":"W4D98cvEth4-","active":"_0hEzaTXK9M0-","invalid":"JApS2787BU8-","disabled":"Kg0c8WVgMpg-","button":"_0-ZWexS4Gfg-","icon":"DQPnZP4UZpw-","spinning":"_233cNMGKLQo-"};
|
|
20
|
-
|
|
21
|
-
function InternalChipButton({ icon, invalid, disabled, label, onClick, }) {
|
|
22
|
-
const buttonRef = React.useRef();
|
|
23
|
-
return (React.createElement("div", { ref: buttonRef, className: styles$1.button, tabIndex: 0, onKeyUp: handleKeyUp, onKeyDown: handleKeyDown, onClick: handleClick, role: "button", "aria-label": `Remove ${label}`, "aria-hidden": true, "aria-disabled": disabled, "data-testid": "remove-chip-button" },
|
|
24
|
-
React.createElement(Icon.Icon, { name: icon, color: getColor() })));
|
|
25
|
-
function handleKeyUp(event) {
|
|
26
|
-
if (document.activeElement === buttonRef.current &&
|
|
27
|
-
(event.key === " " || event.key === "Enter")) {
|
|
28
|
-
event.stopPropagation();
|
|
29
|
-
buttonRef.current.click();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
function handleKeyDown(event) {
|
|
33
|
-
if (document.activeElement === buttonRef.current && event.key === " ") {
|
|
34
|
-
// Don't scroll down
|
|
35
|
-
event.preventDefault();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function getColor() {
|
|
39
|
-
if (disabled)
|
|
40
|
-
return "disabled";
|
|
41
|
-
if (invalid)
|
|
42
|
-
return "critical";
|
|
43
|
-
return "greyBlue";
|
|
44
|
-
}
|
|
45
|
-
function handleClick(event) {
|
|
46
|
-
event.stopPropagation();
|
|
47
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function InternalChipAffix({ affix, active, invalid, disabled, }) {
|
|
52
|
-
assertProps();
|
|
53
|
-
if ((affix === null || affix === void 0 ? void 0 : affix.type) === Avatar.Avatar) {
|
|
54
|
-
return React.createElement(Avatar.Avatar, Object.assign({}, affix.props, { size: "small" }));
|
|
55
|
-
}
|
|
56
|
-
if ((affix === null || affix === void 0 ? void 0 : affix.type) === Icon.Icon) {
|
|
57
|
-
return renderChipIcon(affix);
|
|
58
|
-
}
|
|
59
|
-
if ((affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton) {
|
|
60
|
-
return React.createElement(InternalChipButton, Object.assign({}, affix.props));
|
|
61
|
-
}
|
|
62
|
-
return React.createElement(React.Fragment, null);
|
|
63
|
-
function renderChipIcon(icon) {
|
|
64
|
-
const color = getIconColor();
|
|
65
|
-
return (React.createElement("div", { className: styles$1.icon }, React.cloneElement(icon, Object.assign({ size: "base" }, (color && { color: color })))));
|
|
66
|
-
}
|
|
67
|
-
function getIconColor() {
|
|
68
|
-
if (disabled && !active)
|
|
69
|
-
return "disabled";
|
|
70
|
-
if (invalid && !disabled)
|
|
71
|
-
return "critical";
|
|
72
|
-
if (active)
|
|
73
|
-
return "white";
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
function assertProps() {
|
|
77
|
-
const isAvatar = (affix === null || affix === void 0 ? void 0 : affix.type) === Avatar.Avatar || false;
|
|
78
|
-
const isIcon = (affix === null || affix === void 0 ? void 0 : affix.type) === Icon.Icon || false;
|
|
79
|
-
const isChipButton = (affix === null || affix === void 0 ? void 0 : affix.type) === InternalChipButton || false;
|
|
80
|
-
useAssert.useAssert_2(!!affix && !(isAvatar || isIcon || isChipButton), `Prefix prop only accepts "<Avatar />" or "<Icon />" component. You have "${affix === null || affix === void 0 ? void 0 : affix.type}".`);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
function InternalChip({ label, active = false, disabled = false, invalid = false, prefix, suffix, tabIndex, ariaLabel, onClick, onKeyDown, }) {
|
|
85
|
-
const [truncateRef, setTruncateRef] = React.useState();
|
|
86
|
-
const isClickable = onClick && !disabled;
|
|
87
|
-
const classNames = classnames(styles$1.chip, {
|
|
88
|
-
[styles$1.clickable]: isClickable,
|
|
89
|
-
[styles$1.active]: active,
|
|
90
|
-
[styles$1.disabled]: disabled,
|
|
91
|
-
[styles$1.invalid]: invalid,
|
|
92
|
-
[styles$1.hasPrefix]: prefix,
|
|
93
|
-
[styles$1.hasSuffix]: suffix,
|
|
94
|
-
});
|
|
95
|
-
const affixProps = { active, invalid, disabled };
|
|
96
|
-
const Tag = onClick ? "button" : "div";
|
|
97
|
-
const chip = (React.createElement(Tag, Object.assign({ className: classNames }, (isClickable && { onClick, disabled }), { onKeyDown: onKeyDown, "data-testid": "chip-wrapper", "aria-label": ariaLabel, tabIndex: tabIndex, role: tabIndex !== undefined ? "option" : undefined }),
|
|
98
|
-
React.createElement(InternalChipAffix, Object.assign({ affix: prefix }, affixProps)),
|
|
99
|
-
React.createElement(Typography.Typography, { element: "span", numberOfLines: 1, size: "base" },
|
|
100
|
-
React.createElement("span", { ref: setTruncateRef }, label)),
|
|
101
|
-
React.createElement(InternalChipAffix, Object.assign({ affix: suffix }, affixProps))));
|
|
102
|
-
return isTruncated() ? React.createElement(Tooltip.Tooltip, { message: label }, chip) : chip;
|
|
103
|
-
function isTruncated() {
|
|
104
|
-
var _a;
|
|
105
|
-
const truncateParentHeight = ((_a = truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.parentElement) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
106
|
-
const truncateChildHeight = (truncateRef === null || truncateRef === void 0 ? void 0 : truncateRef.offsetHeight) || 0;
|
|
107
|
-
return truncateChildHeight >= truncateParentHeight * 2;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
var styles = {"wrapper":"sCNIjluCskc-","input":"MFUlz1WQLdk-","menu":"V9eYJdjPAeY-","menuList":"LdytkOeCU9c-","menuListOption":"y7Cz2u8BuNE-","loadingIndicator":"_-7bmao8Q9As-","activeOption":"iCwWdcmtInc-","spinning":"c88tg50FoHI-"};
|
|
112
|
-
|
|
113
|
-
function InternalChipDismissibleInput(props) {
|
|
114
|
-
const { activator = React.createElement(Button.Button, { icon: "add", type: "secondary", ariaLabel: "Add" }), attachTo, isLoadingMore = false, onLoadMore, } = props;
|
|
115
|
-
const { activeIndex, allOptions, hasAvailableOptions, inputRef, menuId, menuOpen, searchValue, generateDescendantId, handleBlur, handleOpenMenu, handleSearchChange, handleCancelBlur, handleEnableBlur, handleSetActiveOnMouseOver, handleKeyDown, handleSelectOption, handleDebouncedSearch, } = useScrollToActive.useInternalChipDismissibleInput(props);
|
|
116
|
-
const menuRef = useScrollToActive.useScrollToActive(activeIndex);
|
|
117
|
-
const { ref: visibleChildRef, isInView } = useScrollToActive.useInView();
|
|
118
|
-
const { styles: popperStyles, attributes, update, setPositionedElementRef, } = useScrollToActive.useRepositionMenu(attachTo);
|
|
119
|
-
React.useEffect(() => {
|
|
120
|
-
if (menuOpen && update)
|
|
121
|
-
update();
|
|
122
|
-
}, [allOptions]);
|
|
123
|
-
React.useEffect(() => {
|
|
124
|
-
handleDebouncedSearch();
|
|
125
|
-
return handleDebouncedSearch.cancel;
|
|
126
|
-
}, [searchValue]);
|
|
127
|
-
React.useEffect(() => {
|
|
128
|
-
isInView && onLoadMore && onLoadMore(searchValue);
|
|
129
|
-
}, [isInView]);
|
|
130
|
-
if (!menuOpen) {
|
|
131
|
-
return React.cloneElement(activator, { onClick: handleOpenMenu });
|
|
132
|
-
}
|
|
133
|
-
return (React.createElement(React.Fragment, null,
|
|
134
|
-
React.createElement("input", { ref: inputRef, className: styles.input, type: "text", role: "combobox", "aria-label": "Press up and down arrow to cycle through the options or type to narrow down the results", "aria-autocomplete": "list", "aria-owns": menuId, "aria-expanded": hasAvailableOptions, "aria-activedescendant": generateDescendantId(activeIndex), value: searchValue, onChange: handleSearchChange, onKeyDown: handleKeyDown, onBlur: debounce.debounce(handleBlur, 200), onFocus: handleOpenMenu, autoFocus: true }),
|
|
135
|
-
(hasAvailableOptions || isLoadingMore) && (React.createElement("div", Object.assign({ ref: setPositionedElementRef, className: styles.menu, style: popperStyles.popper }, attributes.popper),
|
|
136
|
-
React.createElement("div", { ref: menuRef, role: "listbox", id: menuId, className: styles.menuList, "data-testid": "chip-menu" },
|
|
137
|
-
allOptions.map((option, i) => (React.createElement("button", { key: option.value, role: "option", type: "button", id: generateDescendantId(i), className: classnames(styles.menuListOption, {
|
|
138
|
-
[styles.activeOption]: activeIndex === i,
|
|
139
|
-
}), onClick: () => handleSelectOption(option), onMouseEnter: handleSetActiveOnMouseOver(i), onMouseDown: handleCancelBlur, onMouseUp: handleEnableBlur },
|
|
140
|
-
React.createElement("span", { "aria-hidden": true }, option.prefix),
|
|
141
|
-
React.createElement(Text.Text, null, option.label)))),
|
|
142
|
-
React.createElement("div", { ref: visibleChildRef }),
|
|
143
|
-
isLoadingMore && (React.createElement("div", { className: styles.loadingIndicator },
|
|
144
|
-
React.createElement(Spinner.Spinner, { size: "small", inline: true }))))))));
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
function InternalChipDismissible(props) {
|
|
148
|
-
const { availableChipOptions, ref: wrapperRef, sortedVisibleChipOptions, handleChipAdd, handleChipClick, handleChipKeyDown, handleChipRemove, handleCustomAdd, handleWrapperKeyDown, } = useScrollToActive.useInternalChipDismissible(props);
|
|
149
|
-
return (React.createElement("div", { ref: wrapperRef, className: styles.wrapper, "data-testid": "dismissible-chips", onKeyDown: handleWrapperKeyDown, role: "listbox" },
|
|
150
|
-
sortedVisibleChipOptions.map(chip => (React.createElement(InternalChip, Object.assign({ key: chip.value }, chip, { onKeyDown: handleChipKeyDown(chip.value), onClick: handleChipClick(chip.value), ariaLabel: `${chip.label}. Press delete or backspace to remove ${chip.label}`, tabIndex: 0, suffix: React.createElement(InternalChipButton, { icon: "remove", invalid: chip.invalid, disabled: chip.disabled, label: chip.label, onClick: handleChipRemove(chip.value) }) })))),
|
|
151
|
-
React.createElement(InternalChipDismissibleInput, { activator: props.activator, attachTo: wrapperRef, isLoadingMore: props.isLoadingMore, options: availableChipOptions, onOptionSelect: handleChipAdd, onCustomOptionSelect: handleCustomAdd, onSearch: props.onSearch, onLoadMore: props.onLoadMore })));
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
exports.InternalChip = InternalChip;
|
|
155
|
-
exports.InternalChipButton = InternalChipButton;
|
|
156
|
-
exports.InternalChipDismissible = InternalChipDismissible;
|
|
157
|
-
exports.styles = styles$1;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const styles: {
|
|
2
|
-
readonly "extravagant": string;
|
|
3
|
-
readonly "jumbo": string;
|
|
4
|
-
readonly "largest": string;
|
|
5
|
-
readonly "larger": string;
|
|
6
|
-
readonly "large": string;
|
|
7
|
-
readonly "base": string;
|
|
8
|
-
readonly "small": string;
|
|
9
|
-
readonly "smaller": string;
|
|
10
|
-
};
|
|
11
|
-
export = styles;
|
|
12
|
-
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
declare const styles: {
|
|
2
|
-
readonly "blue": string;
|
|
3
|
-
readonly "grey": string;
|
|
4
|
-
readonly "greyBlueDark": string;
|
|
5
|
-
readonly "greyBlue": string;
|
|
6
|
-
readonly "green": string;
|
|
7
|
-
readonly "red": string;
|
|
8
|
-
readonly "yellow": string;
|
|
9
|
-
readonly "yellowDark": string;
|
|
10
|
-
readonly "lightBlue": string;
|
|
11
|
-
readonly "white": string;
|
|
12
|
-
readonly "heading": string;
|
|
13
|
-
readonly "text": string;
|
|
14
|
-
readonly "textSecondary": string;
|
|
15
|
-
readonly "textReverse": string;
|
|
16
|
-
readonly "textReverseSecondary": string;
|
|
17
|
-
readonly "inactive": string;
|
|
18
|
-
readonly "inactiveSurface": string;
|
|
19
|
-
readonly "inactiveOnSurface": string;
|
|
20
|
-
readonly "critical": string;
|
|
21
|
-
readonly "criticalSurface": string;
|
|
22
|
-
readonly "criticalOnSurface": string;
|
|
23
|
-
readonly "warning": string;
|
|
24
|
-
readonly "warningSurface": string;
|
|
25
|
-
readonly "warningOnSurface": string;
|
|
26
|
-
readonly "informative": string;
|
|
27
|
-
readonly "informativeSurface": string;
|
|
28
|
-
readonly "informativeOnSurface": string;
|
|
29
|
-
readonly "success": string;
|
|
30
|
-
readonly "successSurface": string;
|
|
31
|
-
readonly "successOnSurface": string;
|
|
32
|
-
readonly "interactive": string;
|
|
33
|
-
readonly "interactiveHover": string;
|
|
34
|
-
readonly "interactiveSubtle": string;
|
|
35
|
-
readonly "interactiveSubtleHover": string;
|
|
36
|
-
readonly "destructive": string;
|
|
37
|
-
readonly "destructiveHover": string;
|
|
38
|
-
readonly "disabled": string;
|
|
39
|
-
readonly "disabledSecondary": string;
|
|
40
|
-
readonly "request": string;
|
|
41
|
-
readonly "requestSurface": string;
|
|
42
|
-
readonly "requestOnSurface": string;
|
|
43
|
-
readonly "quote": string;
|
|
44
|
-
readonly "quoteSurface": string;
|
|
45
|
-
readonly "quoteOnSurface": string;
|
|
46
|
-
readonly "job": string;
|
|
47
|
-
readonly "jobSurface": string;
|
|
48
|
-
readonly "jobOnSurface": string;
|
|
49
|
-
readonly "visit": string;
|
|
50
|
-
readonly "visitSurface": string;
|
|
51
|
-
readonly "visitOnSurface": string;
|
|
52
|
-
readonly "task": string;
|
|
53
|
-
readonly "taskSurface": string;
|
|
54
|
-
readonly "taskOnSurface": string;
|
|
55
|
-
readonly "event": string;
|
|
56
|
-
readonly "eventSurface": string;
|
|
57
|
-
readonly "eventOnSurface": string;
|
|
58
|
-
readonly "invoice": string;
|
|
59
|
-
readonly "invoiceSurface": string;
|
|
60
|
-
readonly "invoiceOnSurface": string;
|
|
61
|
-
readonly "payments": string;
|
|
62
|
-
readonly "paymentsSurface": string;
|
|
63
|
-
readonly "paymentsOnSurface": string;
|
|
64
|
-
readonly "client": string;
|
|
65
|
-
readonly "icon": string;
|
|
66
|
-
readonly "brand": string;
|
|
67
|
-
};
|
|
68
|
-
export = styles;
|
|
69
|
-
|