@jobber/components 5.28.0 → 5.29.0
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-B_hjQEU_.js → AnimatedSwitcher-DaD84w-F.js} +1 -1
- package/dist/{AnimatedSwitcher-BfU-zy8x.js → AnimatedSwitcher-oLG7nCbj.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-B-81_zJq.js → Autocomplete-CScLUNr1.js} +9 -9
- package/dist/{Autocomplete-D39r1Wzg.js → Autocomplete-DBj21lw-.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-zIDZLmcw.js → Avatar-BVqumc1y.js} +1 -1
- package/dist/{Avatar-CjIC6_m7.js → Avatar-Dtn9ZPYk.js} +1 -1
- package/dist/Banner/components/BannerIcon/index.cjs +2 -2
- package/dist/Banner/components/BannerIcon/index.mjs +2 -2
- package/dist/Banner/index.cjs +13 -13
- package/dist/Banner/index.mjs +13 -13
- package/dist/{Banner-2t53YhLQ.js → Banner-CU58qLES.js} +5 -5
- package/dist/{Banner-D9V9QJUi.js → Banner-DmYop68Q.js} +5 -5
- package/dist/{BannerIcon-DSpD7uUI.js → BannerIcon-CrSehvQb.js} +1 -1
- package/dist/{BannerIcon-BIVGLF2I.js → BannerIcon-DBZvACFu.js} +1 -1
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-C6FGE1C6.js → Box-3LPUvANE.js} +1 -1
- package/dist/{Box-B8_7spLu.js → Box-ivQLW8-4.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-DgxolXQP.js → Button-CJ8K_1oO.js} +2 -2
- package/dist/{Button-Bg1fkgQB.js → Button-yxhFJMjk.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-CTdc36hK.js → ButtonDismiss-BoXmxpuC.js} +1 -1
- package/dist/{ButtonDismiss-d2Mr3M2b.js → ButtonDismiss-DlWmI6Kp.js} +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/{Card-CgX8UPgI.js → Card-CzmE8DN6.js} +3 -3
- package/dist/{Card-cJBuZdGZ.js → Card-DQsHTJmr.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-D1olKUOY.js → Checkbox-CxjbuezD.js} +3 -3
- package/dist/{Checkbox-DVTNLBOO.js → Checkbox-DC0S29wn.js} +3 -3
- 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-BPUOnIH0.js +115 -0
- package/dist/Chip-DQf-lSBO.js +120 -0
- package/dist/{ChipDismissible-CEpPL71P.js → ChipDismissible-BWtsVBU9.js} +3 -3
- package/dist/{ChipDismissible-CvFKSd45.js → ChipDismissible-NhvPwS7L.js} +3 -3
- package/dist/Chips/ChipsTypes.d.ts +1 -2
- package/dist/Chips/InternalChip.d.ts +1 -1
- 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/index.cjs +32 -28
- package/dist/Chips/index.mjs +31 -27
- package/dist/{Chips-CkRXEhY1.js → Chips-C4XiIPRK.js} +17 -18
- package/dist/{Chips-DM6R-Bys.js → Chips-CGNboqAK.js} +13 -14
- 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-FPyfF-Iu.js → Combobox-C3S5AiXB.js} +9 -9
- package/dist/{Combobox-Df4TGSc2.js → Combobox-DiczvEUy.js} +9 -9
- package/dist/{ComboboxAction-Cj2EjHF3.js → ComboboxAction-CACXhdKK.js} +2 -2
- package/dist/{ComboboxAction-A2NBZf_t.js → ComboboxAction-DLLCttm1.js} +2 -2
- package/dist/{ComboboxActivator-BCQZFFml.js → ComboboxActivator-BGFA8UI0.js} +4 -4
- package/dist/{ComboboxActivator-D4ojKO2_.js → ComboboxActivator-BKM8z7g_.js} +4 -4
- package/dist/{ComboboxContent-stsHfNTC.js → ComboboxContent-Bwk3qv27.js} +7 -7
- package/dist/{ComboboxContent-bXJQZomo.js → ComboboxContent-BzF_aTbc.js} +7 -7
- package/dist/{ComboboxContentHeader-BnvcHQih.js → ComboboxContentHeader-BT6LkHSg.js} +2 -2
- package/dist/{ComboboxContentHeader-Gtvvsm3q.js → ComboboxContentHeader-CdhjOvEo.js} +2 -2
- package/dist/{ComboboxContentList-CezxI1gh.js → ComboboxContentList-Dv4p8XGL.js} +6 -6
- package/dist/{ComboboxContentList-CMiarbsx.js → ComboboxContentList-OFaQAluV.js} +6 -6
- package/dist/{ComboboxContentSearch-ZO9gi_5j.js → ComboboxContentSearch-rEsDlVQS.js} +1 -1
- package/dist/{ComboboxContentSearch-Y6QzogUR.js → ComboboxContentSearch-xILKrxfd.js} +1 -1
- package/dist/{ComboboxLoadMore-Cq5sUKMC.js → ComboboxLoadMore-DB8UEaxq.js} +1 -1
- package/dist/{ComboboxLoadMore-CwbGLg8R.js → ComboboxLoadMore-Di9xGOBR.js} +1 -1
- package/dist/{ComboboxOption-CpVgtA0F.js → ComboboxOption-C8qt64Bk.js} +3 -3
- package/dist/{ComboboxOption-DwBiJWve.js → ComboboxOption-eDr6g3k9.js} +3 -3
- package/dist/{ComboboxProvider-qoC66jiH.js → ComboboxProvider-CEmGtNSA.js} +1 -1
- package/dist/{ComboboxProvider-Cu-HoA3n.js → ComboboxProvider-DTJ7kt-v.js} +1 -1
- package/dist/{ComboboxTrigger-uAXkPTF0.js → ComboboxTrigger-DelLLUtZ.js} +4 -4
- package/dist/{ComboboxTrigger-53g8Zg0Q.js → ComboboxTrigger-vENP7S9Y.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-B1kiHron.js → ConfirmationModal-Igel_LvO.js} +4 -4
- package/dist/{ConfirmationModal-lPdcfZ7e.js → ConfirmationModal-SdY2i7Xv.js} +4 -4
- package/dist/Content/index.cjs +1 -1
- package/dist/Content/index.mjs +1 -1
- package/dist/Countdown/index.cjs +3 -3
- package/dist/Countdown/index.mjs +3 -3
- package/dist/{Countdown-BrcYEGsE.js → Countdown-BK7D87bl.js} +1 -1
- package/dist/{Countdown-C2bMJh-o.js → Countdown-gpu3d927.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-Cqj2NOI2.js → DataDump-BJhiJhKk.js} +3 -3
- package/dist/{DataDump-D5S6raQR.js → DataDump-D1XKPbwS.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 +30 -30
- package/dist/DataList/components/DataListActions/index.mjs +30 -30
- 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 +32 -32
- package/dist/DataList/components/DataListBulkActions/index.mjs +32 -32
- 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 +39 -39
- package/dist/DataList/components/DataListHeader/index.mjs +39 -39
- 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 +38 -38
- package/dist/DataList/components/DataListItem/index.mjs +38 -38
- package/dist/DataList/components/DataListItemActions/index.cjs +31 -31
- package/dist/DataList/components/DataListItemActions/index.mjs +31 -31
- 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 +39 -39
- package/dist/DataList/components/DataListItems/index.mjs +39 -39
- package/dist/DataList/components/DataListLayout/index.cjs +42 -42
- package/dist/DataList/components/DataListLayout/index.mjs +42 -42
- 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-BXCQnBJR.js → DataList-Bx1Sxjto.js} +21 -21
- package/dist/{DataList-QqqmbDv_.js → DataList-DsxkTv_U.js} +21 -21
- package/dist/{DataList.utils-BlhcrVq4.js → DataList.utils-CrlmjG88.js} +9 -9
- package/dist/{DataList.utils-DGK6qnXp.js → DataList.utils-CtRwgb-P.js} +9 -9
- package/dist/{DataListAction-C6U7iVvg.js → DataListAction-CLLR6wRm.js} +3 -3
- package/dist/{DataListAction-DP15DAZb.js → DataListAction-DcWR-Pea.js} +3 -3
- package/dist/{DataListActions-B0PqXnsU.js → DataListActions-C5HPfbiz.js} +6 -6
- package/dist/{DataListActions-Caj3c647.js → DataListActions-n8zIB-Ts.js} +6 -6
- package/dist/{DataListActionsMenu-CJurKpU1.js → DataListActionsMenu-CCH8jvNj.js} +5 -5
- package/dist/{DataListActionsMenu-NTlZQ2R3.js → DataListActionsMenu-DZ6R6Qc7.js} +5 -5
- package/dist/{DataListBulkActions-BkGyJdhX.js → DataListBulkActions-CyUkcehW.js} +3 -3
- package/dist/{DataListBulkActions-CJSz8Mgv.js → DataListBulkActions-DE-YSbca.js} +3 -3
- package/dist/{DataListContext-41vOB7g8.js → DataListContext-CWoiQoPD.js} +1 -1
- package/dist/{DataListContext-Bjbfjlo9.js → DataListContext-DAjLd7Ln.js} +1 -1
- package/dist/{DataListEmptyState-BNKiuwuR.js → DataListEmptyState-BfK18t_x.js} +4 -4
- package/dist/{DataListEmptyState-Ct7FXjP-.js → DataListEmptyState-CvowU9rh.js} +4 -4
- package/dist/{DataListFilters-DOEsJxwD.js → DataListFilters-D_Q8ZVMa.js} +5 -5
- package/dist/{DataListFilters-fxm4a7vv.js → DataListFilters-dUPjuZkg.js} +5 -5
- package/dist/{DataListHeader-Dq2w7gBR.js → DataListHeader-DZt1f0fk.js} +11 -11
- package/dist/{DataListHeader-DB_5eSD-.js → DataListHeader-Dyax-_S3.js} +11 -11
- package/dist/{DataListHeaderTile-BZEXLpr0.js → DataListHeaderTile-BLBtwJN1.js} +5 -5
- package/dist/{DataListHeaderTile-DHM0ux1Z.js → DataListHeaderTile-CWFXMesI.js} +5 -5
- package/dist/{DataListItem-Caj42go3.js → DataListItem-DrTO9-vB.js} +10 -10
- package/dist/{DataListItem-BKqTR-_K.js → DataListItem-zRjOrPZL.js} +10 -10
- package/dist/{DataListItemActions-DA4dZISF.js → DataListItemActions-BrTpNTmp.js} +2 -2
- package/dist/{DataListItemActions-D2xOz7bh.js → DataListItemActions-CgqYzP0M.js} +2 -2
- package/dist/{DataListItemActionsOverflow-DscVx02M.js → DataListItemActionsOverflow-BebHFOb1.js} +3 -3
- package/dist/{DataListItemActionsOverflow-DkG3p4eY.js → DataListItemActionsOverflow-CJBK11yl.js} +3 -3
- package/dist/{DataListItemClickable-DKfgjnw-.js → DataListItemClickable-BLtI95kz.js} +3 -3
- package/dist/{DataListItemClickable-Bdb_b6V-.js → DataListItemClickable-DIWgc9p7.js} +3 -3
- package/dist/{DataListItems-4XlkELnV.js → DataListItems-B9HkZphV.js} +3 -3
- package/dist/{DataListItems-urT52rWi.js → DataListItems-RBT7siw6.js} +3 -3
- package/dist/{DataListLayout-focxFBlT.js → DataListLayout-BEWPV_31.js} +3 -3
- package/dist/{DataListLayout-DfbrsB1e.js → DataListLayout-quGKNz-r.js} +3 -3
- package/dist/{DataListLayoutActions-B8_0wtgH.js → DataListLayoutActions-C2wtrfEn.js} +4 -4
- package/dist/{DataListLayoutActions-DCylgtph.js → DataListLayoutActions-CathaPDn.js} +4 -4
- package/dist/{DataListLayoutContext-CtdGRA_I.js → DataListLayoutContext-CpZUvvbN.js} +1 -1
- package/dist/{DataListLayoutContext-DECBv7ub.js → DataListLayoutContext-CuhdFB4R.js} +1 -1
- package/dist/{DataListLoadMore-Cc0zEFZU.js → DataListLoadMore-CtpubI2-.js} +5 -5
- package/dist/{DataListLoadMore-CZclJMCf.js → DataListLoadMore-Dws99i2h.js} +5 -5
- package/dist/{DataListLoadingState-BL-mCbtW.js → DataListLoadingState-CiHp_NIP.js} +3 -3
- package/dist/{DataListLoadingState-iMKFSd8p.js → DataListLoadingState-DOr0qsyX.js} +3 -3
- package/dist/{DataListOverflowFade-5l_nrJqA.js → DataListOverflowFade-B9aLCveE.js} +1 -1
- package/dist/{DataListOverflowFade-DhmMvOxe.js → DataListOverflowFade-CUamQC9w.js} +1 -1
- package/dist/{DataListSearch-BE-4Sa0q.js → DataListSearch-B2_qIPni.js} +6 -6
- package/dist/{DataListSearch-C15lH6Xd.js → DataListSearch-CcLxmDUQ.js} +6 -6
- package/dist/{DataListSort-DpOxzPi4.js → DataListSort-BV4xQJPz.js} +6 -6
- package/dist/{DataListSort-BuK8jfim.js → DataListSort-CBWqUUy4.js} +6 -6
- package/dist/{DataListSortingOptions-BNMSf9aG.js → DataListSortingOptions-D1-I9aBM.js} +3 -3
- package/dist/{DataListSortingOptions-Do0Fah9M.js → DataListSortingOptions-EEMqDjMl.js} +3 -3
- package/dist/{DataListStatusBar-Q8wvnSji.js → DataListStatusBar-CiBTMNPP.js} +2 -2
- package/dist/{DataListStatusBar-CyNsqvLT.js → DataListStatusBar-K2LgWWLB.js} +2 -2
- package/dist/{DataListStickyHeader-B_A-vrdD.js → DataListStickyHeader-DDUHoQtL.js} +1 -1
- package/dist/{DataListStickyHeader-BlopW87r.js → DataListStickyHeader-QznJcqbn.js} +1 -1
- package/dist/{DataListTags-CnvatdOH.js → DataListTags-CgwFwAa8.js} +2 -2
- package/dist/{DataListTags-CO5HbCBD.js → DataListTags-Dg3AYhFG.js} +2 -2
- package/dist/{DataListTotalCount-RBt31cjQ.js → DataListTotalCount-Dt0v_nmp.js} +2 -2
- package/dist/{DataListTotalCount-BX08EmnF.js → DataListTotalCount-ha6C5FVM.js} +2 -2
- 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-B3y_CiBJ.js → DataTable-B4rr3wcM.js} +6 -6
- package/dist/{DataTable-CTdcIzPI.js → DataTable-BOCGkQ3D.js} +6 -6
- package/dist/DatePicker/index.cjs +18 -18
- package/dist/DatePicker/index.mjs +18 -18
- package/dist/{DatePicker-DIIiF2Ot.js → DatePicker-DRrTii5L.js} +14 -14
- package/dist/{DatePicker-Ckhyo3RZ.js → DatePicker-Pgex4xvU.js} +14 -14
- package/dist/{DayOfMonthSelect-eU4self3.js → DayOfMonthSelect-BJu66IX4.js} +2 -2
- package/dist/{DayOfMonthSelect-HjF3DIAH.js → DayOfMonthSelect-Bh1FWo_g.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-Bg1xWDfP.js → DescriptionList-C3NLISIi.js} +1 -1
- package/dist/{DescriptionList-Bt55UiMu.js → DescriptionList-DA8lHrKd.js} +1 -1
- package/dist/Disclosure/Disclosure.d.ts +3 -2
- package/dist/Disclosure/index.cjs +9 -9
- package/dist/Disclosure/index.mjs +9 -9
- package/dist/{Disclosure-K4qV8KlZ.js → Disclosure-BbGzY2T9.js} +3 -3
- package/dist/{Disclosure-Dlr1Izq0.js → Disclosure-s4wGDSMU.js} +3 -3
- package/dist/Divider/index.cjs +1 -1
- package/dist/Divider/index.mjs +1 -1
- package/dist/Drawer/index.cjs +6 -6
- package/dist/Drawer/index.mjs +6 -6
- package/dist/{DrawerGrid-BaMHRqsU.js → DrawerGrid-Dug0Rbj8.js} +2 -2
- package/dist/{DrawerGrid-D75jjIid.js → DrawerGrid-i9zFtgPd.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-Bd7e1xqw.js → Emphasis-D6Ye36Uu.js} +1 -1
- package/dist/{Emphasis-BrovP36N.js → Emphasis-KncBYy2d.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-Dp_0rkLH.js → FeatureSwitch-B6xGO3n3.js} +7 -7
- package/dist/{FeatureSwitch-B-jMO_GC.js → FeatureSwitch-Bpm-yXIn.js} +7 -7
- package/dist/Flex/index.cjs +1 -1
- package/dist/Flex/index.mjs +1 -1
- package/dist/Form/index.cjs +2 -2
- package/dist/Form/index.mjs +2 -2
- package/dist/{Form-B4G5obBh.js → Form-BONhjPH4.js} +1 -1
- package/dist/{Form-Dze87kNb.js → Form-C-IRf6Bn.js} +1 -1
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-BQkwlG6j.js → FormField-CbPkTtEY.js} +7 -7
- package/dist/{FormField--KSZIXkI.js → FormField-DBiYVKzn.js} +7 -7
- package/dist/FormatDate/index.cjs +1 -1
- package/dist/FormatDate/index.mjs +1 -1
- package/dist/FormatEmail/index.cjs +1 -1
- package/dist/FormatEmail/index.mjs +1 -1
- package/dist/FormatFile/index.cjs +21 -21
- package/dist/FormatFile/index.mjs +21 -21
- package/dist/{FormatFile-Bt85O0OK.js → FormatFile-Du8OH5u8.js} +7 -7
- package/dist/{FormatFile-C9kWFFMV.js → FormatFile-r0IeHP8f.js} +7 -7
- package/dist/FormatRelativeDateTime/index.cjs +1 -1
- package/dist/FormatRelativeDateTime/index.mjs +1 -1
- package/dist/FormatTime/index.cjs +1 -1
- package/dist/FormatTime/index.mjs +1 -1
- package/dist/Gallery/index.cjs +28 -28
- package/dist/Gallery/index.mjs +28 -28
- package/dist/{Gallery-He-F5V4C.js → Gallery-D-oXTuI7.js} +3 -3
- package/dist/{Gallery-DequWezO.js → Gallery-DdVFOaDH.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-D080kD0b.js → Glimmer-CDpBfdI2.js} +2 -2
- package/dist/{Glimmer--AxhW5xo.js → Glimmer-DUD_RbUb.js} +2 -2
- package/dist/Grid/InternalGridCell/index.cjs +1 -1
- package/dist/Grid/InternalGridCell/index.mjs +1 -1
- package/dist/Grid/index.cjs +5 -5
- package/dist/Grid/index.mjs +5 -5
- package/dist/{Grid-C6_baclZ.js → Grid-CSd9fq5H.js} +2 -2
- package/dist/{Grid-DMBEBw5K.js → Grid-DJtB5-Db.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-CbwQ7DzS.js → Heading-BKMr313j.js} +1 -1
- package/dist/{Heading-BVUax1ph.js → Heading-CEMY8Zdw.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-y7tlhR7k.js → InlineLabel-DfJBuid_.js} +1 -1
- package/dist/{InlineLabel-iJ4IsVLV.js → InlineLabel-iKHRC7Ec.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-a4459kld.js → InputAvatar-DYrmv-F-.js} +5 -5
- package/dist/{InputAvatar-CnAYlzqb.js → InputAvatar-Diw2HZZO.js} +5 -5
- package/dist/InputDate/index.cjs +25 -25
- package/dist/InputDate/index.mjs +25 -25
- package/dist/{InputDate-BVZd7XM6.js → InputDate-129kOzX2.js} +2 -2
- package/dist/{InputDate-9vPzpB5G.js → InputDate-BI8sGz5W.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-QkaugO1l.js → InputEmail-0TRSiY-c.js} +1 -1
- package/dist/{InputEmail-BCUMAMZq.js → InputEmail-DQzKKaol.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-Cp1EBRrA.js → InputFile-CXNyBwlA.js} +6 -6
- package/dist/{InputFile-BRF50aU4.js → InputFile-D6n1_Haa.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +10 -10
- package/dist/InputNumber/index.mjs +10 -10
- package/dist/{InputNumber-Daee2FIS.js → InputNumber-Clo_iXm6.js} +1 -1
- package/dist/{InputNumber-B4uYQQoV.js → InputNumber-DQ77APXu.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-DeD8Q0L3.js → InputPassword-Bcz197a7.js} +1 -1
- package/dist/{InputPassword-Dx5Hy6RD.js → InputPassword-CSTFCpk5.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-DY9jfOp6.js → InputPhoneNumber-CT5EIxf5.js} +2 -2
- package/dist/{InputPhoneNumber-DSMXRi-7.js → InputPhoneNumber-D1TRr5_s.js} +2 -2
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-D5jBjkX5.js → InputText-D7eKGVCc.js} +2 -2
- package/dist/{InputText-DV2HOOQ8.js → InputText-fJM7HcSQ.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-Dm0WEPgz.js → InputTime-BcBuzGBP.js} +3 -3
- package/dist/{InputTime-j47OTb-F.js → InputTime-CIgZ8pXe.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-DMcZv74X.js → InputValidation-CVj2b0t0.js} +2 -2
- package/dist/{InputValidation-9yHSRN75.js → InputValidation-CdtuqV6X.js} +2 -2
- package/dist/InternalChipDismissible-BAHZA2N1.js +63 -0
- package/dist/InternalChipDismissible-BNrYWcbt.js +66 -0
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-CYLBzXuy.js → LightBox-D-56WQIr.js} +7 -7
- package/dist/{LightBox-B03JkI4g.js → LightBox-DNlXVL7J.js} +7 -7
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/List/index.cjs +20 -20
- package/dist/List/index.mjs +20 -20
- package/dist/{List-BFEtI7tq.js → List-DM11eHDL.js} +10 -10
- package/dist/{List-Da7xDpMy.js → List-TenD9JTz.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-SzYhR6la.js → Markdown-CHhTuxFp.js} +7 -7
- package/dist/{Markdown-B8JJFXB2.js → Markdown-CLx4B787.js} +7 -7
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-BPv5jjQ3.js → Menu-N5Gcw3jf.js} +8 -8
- package/dist/{Menu-C9QA89pL.js → Menu-mibx44p2.js} +8 -8
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-BMkKydWq.js → Modal-2fsgVxnL.js} +6 -6
- package/dist/{Modal-DkJ09pMt.js → Modal-Ns_tzMj9.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-BjfOH0q7.js → MultiSelect-BSNoFDG-.js} +3 -3
- package/dist/{MultiSelect-nfkrPbu2.js → MultiSelect-BwBmSg_0.js} +3 -3
- package/dist/{Option-BPjSSjfB.js → Option-2JOvhijU.js} +1 -1
- package/dist/{Option-3SVW0suH.js → Option-CjyGl_Kg.js} +1 -1
- package/dist/Page/index.cjs +24 -24
- package/dist/Page/index.mjs +24 -24
- package/dist/{Page-BKU5Dgpd.js → Page-C_wsQbaG.js} +8 -8
- package/dist/{Page-CQVRv6Cr.js → Page-Dm2aAugl.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-CaeGTDfy.js → Popover-AxyBAft3.js} +2 -2
- package/dist/{Popover-DgK3xnv4.js → Popover-BqPpUFP0.js} +2 -2
- package/dist/ProgressBar/index.cjs +1 -1
- package/dist/ProgressBar/index.mjs +1 -1
- package/dist/RadioGroup/index.cjs +3 -3
- package/dist/RadioGroup/index.mjs +3 -3
- package/dist/{RadioGroup-DVy80xSQ.js → RadioGroup-DxbptRQ9.js} +1 -1
- package/dist/{RadioGroup-CqlzB-B6.js → RadioGroup-DzWLtFVu.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +16 -16
- package/dist/RecurringSelect/index.mjs +16 -16
- package/dist/{RecurringSelect-Bs2B8lZF.js → RecurringSelect-ChDS0kxP.js} +6 -6
- package/dist/{RecurringSelect-CLPbSd36.js → RecurringSelect-D3jIXBkc.js} +6 -6
- 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-BGlURWbb.js → SideDrawer-CwQTppgN.js} +7 -7
- package/dist/{SideDrawer-vVXsV_LW.js → SideDrawer-DjJVq1N5.js} +7 -7
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-BQrdqECX.js → StatusLabel-DHKw-Fzp.js} +2 -2
- package/dist/{StatusLabel-Dn6qD2AZ.js → StatusLabel-WC-DyKrx.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-BW2rpFU7.js → Switch-BzwHmmHP.js} +1 -1
- package/dist/{Switch-DUk28CIh.js → Switch-Dzxl7Mzn.js} +1 -1
- 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-CP36EUPy.js → Tabs-BhQ0Pd9h.js} +2 -2
- package/dist/{Tabs-B_Mfx4HS.js → Tabs-CmAhxs49.js} +2 -2
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-CM_jGFRn.js → Text-CqJJlMoN.js} +1 -1
- package/dist/{Text-YW0GKdsW.js → Text-nzswcFg-.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-CaLNjS_Z.js → Tooltip-Ba_eXRx1.js} +6 -4
- package/dist/{Tooltip-Br_xoWGP.js → Tooltip-DEp5u2la.js} +6 -4
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-MFCXbpjm.js → _baseAssignValue-DyS_OdgN.js} +1 -1
- package/dist/{_baseAssignValue-BMmkJM5V.js → _baseAssignValue-VXKZK9Da.js} +1 -1
- package/dist/{_baseEach-gDH2HuxK.js → _baseEach-CzRNZRnN.js} +7 -7
- package/dist/{_baseEach-CNrcA1AW.js → _baseEach-fDf9Whhw.js} +7 -7
- package/dist/{_baseFlatten-C44mCda_.js → _baseFlatten-BUFMZIqx.js} +3 -3
- package/dist/{_baseFlatten-DRb9i6QB.js → _baseFlatten-DsIBwXEd.js} +3 -3
- package/dist/{_getAllKeys-DsEDvstM.js → _getAllKeys-BA-zk02m.js} +5 -5
- package/dist/{_getAllKeys-DLwWKJa9.js → _getAllKeys-DnQy5MX0.js} +5 -5
- package/dist/{_getTag-DYkSG7Eu.js → _getTag-BLthpkbl.js} +2 -2
- package/dist/{_getTag-BsocGpwp.js → _getTag-ChjwBK_M.js} +2 -2
- package/dist/{_isIterateeCall-rcLsNMKR.js → _isIterateeCall-BqH6hlao.js} +4 -4
- package/dist/{_isIterateeCall-veHjvcQ1.js → _isIterateeCall-aIR_uYa0.js} +4 -4
- package/dist/{_setToString-CNhirhfS.js → _setToString-B5uSWesy.js} +1 -1
- package/dist/{_setToString-Co18PfBX.js → _setToString-Blfegnb1.js} +1 -1
- package/dist/{debounce-Ctd8VYCg.js → debounce-ECVkqv0U.js} +3 -3
- package/dist/{debounce-BcgKTQau.js → debounce-lb4YcXnw.js} +3 -3
- package/dist/{helpers-DaMovo4q.js → helpers-Bl9lI7ua.js} +1 -1
- package/dist/{helpers-DpXH693E.js → helpers-BqyeeJwH.js} +1 -1
- package/dist/{identity-djo9b9bo.js → identity-6LCwfdYl.js} +2 -2
- package/dist/{identity-Bfb87TJl.js → identity-rfHtxfoR.js} +2 -2
- package/dist/{index-Bo4APCFw.js → index-Bmmhze4J.js} +1 -1
- package/dist/{index-BCwqOpf9.js → index-D6DBWZnn.js} +1 -1
- package/dist/index.cjs +160 -160
- package/dist/index.mjs +158 -158
- package/dist/{isObjectLike-C9MCs815.js → isObjectLike-Dvb2t0Dk.js} +1 -1
- package/dist/{isObjectLike-DEL8pK-J.js → isObjectLike-Y-Ib2btE.js} +1 -1
- package/dist/{isSymbol-BoX-EwCE.js → isSymbol-BzJoujNo.js} +1 -1
- package/dist/{isSymbol-D8ZNQAfu.js → isSymbol-DIwKPpFg.js} +1 -1
- package/dist/{isTypedArray-DWhmdmwK.js → isTypedArray-CJU_mtoh.js} +1 -1
- package/dist/{isTypedArray-BtzX4Qc5.js → isTypedArray-DSKXOAsW.js} +1 -1
- package/dist/{keysIn-DVaxMXiz.js → keysIn-BX2tIBmg.js} +4 -4
- package/dist/{keysIn-CcsVHi9T.js → keysIn-DFyME3Uh.js} +4 -4
- package/dist/{noop-BZMi2wxE.js → noop-CCv9MSoZ.js} +1 -1
- package/dist/{noop-CioGlVM1.js → noop-Cf-1fuL4.js} +1 -1
- package/dist/{showToast-B6MrncAx.js → showToast-pnPqFzve.js} +3 -3
- package/dist/{showToast-CDO8vlNa.js → showToast-q-aZ04EP.js} +3 -3
- package/dist/styles.css +118 -117
- package/dist/{throttle-ISEqo70I.js → throttle-B7MRjFl_.js} +3 -3
- package/dist/{throttle-DjiL07sV.js → throttle-C9KeTR4t.js} +3 -3
- package/dist/{updateTheme-BE75qFur.js → updateTheme-B1QR-_IL.js} +8 -8
- package/dist/{updateTheme-BIZfK6jY.js → updateTheme-kGGzdb9i.js} +8 -8
- package/dist/{useActiveLayout-Ck9_rItH.js → useActiveLayout-B3l7it51.js} +2 -2
- package/dist/{useActiveLayout-Bhf5v2jt.js → useActiveLayout-x_JOVYOp.js} +2 -2
- package/dist/{useAssert-CuKv9QYt.js → useAssert-C5hakLnL.js} +2 -2
- package/dist/{useAssert-CBiFChIH.js → useAssert-D-p6vtl7.js} +2 -2
- package/dist/{useBatchSelect-CkhtujvJ.js → useBatchSelect-CA3VIs84.js} +1 -1
- package/dist/{useBatchSelect-CBE9JC9D.js → useBatchSelect-Db7vLmPF.js} +1 -1
- package/dist/{useIsMounted-Ctr3jV19.js → useIsMounted-BIHqQDRI.js} +1 -1
- package/dist/{useIsMounted-CKRfBX24.js → useIsMounted-TFp3DgIc.js} +1 -1
- package/dist/{useResizeObserver-CkQrn-Ow.js → useResizeObserver-Bfn6fCQK.js} +2 -2
- package/dist/{useResizeObserver-E1sUGHQo.js → useResizeObserver-DiLO8OMf.js} +2 -2
- package/dist/{useResponsiveSizing-DnZuaZL3.js → useResponsiveSizing-CTv-vmIO.js} +1 -1
- package/dist/{useResponsiveSizing-arjGlcpa.js → useResponsiveSizing-akStZwzv.js} +1 -1
- package/dist/{useScrollToActive-qJiHbl8t.js → useScrollToActive-5nJNVekd.js} +10 -10
- package/dist/{useScrollToActive-yGB00AgH.js → useScrollToActive-CzQuTmpI.js} +10 -10
- package/package.json +3 -3
- package/dist/Chip-CCFRT0nm.js +0 -78
- package/dist/Chip-DCHM2j1V.js +0 -75
- package/dist/InternalChipDismissible-B2AapvpD.js +0 -157
- package/dist/InternalChipDismissible-CN2lIAtV.js +0 -152
- /package/dist/{AnimatedPresence-sPvU5-NE.js → AnimatedPresence-BACXi_Ww.js} +0 -0
- /package/dist/{AnimatedPresence-BCd5dq7c.js → AnimatedPresence-CE2LjqVP.js} +0 -0
- /package/dist/{AtlantisContext-CoyAKQBH.js → AtlantisContext-DuiViZUJ.js} +0 -0
- /package/dist/{AtlantisContext-B9zI-_vB.js → AtlantisContext-DwjPKpAK.js} +0 -0
- /package/dist/{Body-BtOwXwtW.js → Body-BolhZ5ob.js} +0 -0
- /package/dist/{Body-lp8RDaeg.js → Body-DrZh9Kjs.js} +0 -0
- /package/dist/{Content-IYZCH6UT.js → Content-BwjC-ala.js} +0 -0
- /package/dist/{Content-DyjFSQXH.js → Content-oqxxuW8Z.js} +0 -0
- /package/dist/{DataList-B2q1_qbO.js → DataList-BO_ndws4.js} +0 -0
- /package/dist/{DataList-CtC7jRv2.js → DataList-DWg0A5tl.js} +0 -0
- /package/dist/{DataList.const-Btn7i0yP.js → DataList.const-CON9b9E7.js} +0 -0
- /package/dist/{DataList.const-CylN9c9q.js → DataList.const-rYVuqnYD.js} +0 -0
- /package/dist/{DataListLayoutContext-C58iT8Vj.js → DataListLayoutContext-C1DIcsvB.js} +0 -0
- /package/dist/{DataListLayoutContext-bBVImubm.js → DataListLayoutContext-Cn_kuRvH.js} +0 -0
- /package/dist/{Divider-BWlwwQI2.js → Divider-8UdzHaql.js} +0 -0
- /package/dist/{Divider-HZcuGfnj.js → Divider-U3r10Goc.js} +0 -0
- /package/dist/{Flex-DX6WjaDK.js → Flex-CWBb1Tom.js} +0 -0
- /package/dist/{Flex-IZNSGtqB.js → Flex-XG-MSJFy.js} +0 -0
- /package/dist/{FormatDate-DBLk5hUd.js → FormatDate-CQ3fe1rG.js} +0 -0
- /package/dist/{FormatDate-CwEV_snc.js → FormatDate-wwobcubI.js} +0 -0
- /package/dist/{FormatEmail-fCPgd3YS.js → FormatEmail-Be-w7RAc.js} +0 -0
- /package/dist/{FormatEmail-D46KNSn3.js → FormatEmail-CGysbxsf.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DyfPc595.js → FormatRelativeDateTime-CdgOQ6P2.js} +0 -0
- /package/dist/{FormatRelativeDateTime-Bn7wSXqw.js → FormatRelativeDateTime-DwcE34Ou.js} +0 -0
- /package/dist/{FormatTime-DPBWbDAE.js → FormatTime-B8I-FSRP.js} +0 -0
- /package/dist/{FormatTime-Cbs9LGKV.js → FormatTime-BiWcLLPb.js} +0 -0
- /package/dist/{Icon-DgCA245e.js → Icon-Cjt1RIRg.js} +0 -0
- /package/dist/{Icon-Di1uh_ai.js → Icon-DpzczQqp.js} +0 -0
- /package/dist/{InputGroup-Cro5mgoX.js → InputGroup-DKpNa2S7.js} +0 -0
- /package/dist/{InputGroup-mY1VdXdj.js → InputGroup-DfWtF1ZD.js} +0 -0
- /package/dist/{InternalGridCell-B-ReHY7A.js → InternalGridCell-D2tszSDv.js} +0 -0
- /package/dist/{InternalGridCell-BMLMkV8Y.js → InternalGridCell-DxzyUhMK.js} +0 -0
- /package/dist/{Link-DjsOngQ5.js → Link-CbB9HjAM.js} +0 -0
- /package/dist/{Link-D6nVy0na.js → Link-DlWNX3P3.js} +0 -0
- /package/dist/{ProgressBar-C10eiHvT.js → ProgressBar-BHVtNucy.js} +0 -0
- /package/dist/{ProgressBar-DEWpBymU.js → ProgressBar-CfIjcfQp.js} +0 -0
- /package/dist/{Spinner-DGerVHzv.js → Spinner-BlhfmTTt.js} +0 -0
- /package/dist/{Spinner-CweVYpDb.js → Spinner-D3Bol8gN.js} +0 -0
- /package/dist/{StatusIndicator-CqLgpXzV.js → StatusIndicator-0DYOYAAV.js} +0 -0
- /package/dist/{StatusIndicator-GVdHtUaY.js → StatusIndicator-BZbLF4qX.js} +0 -0
- /package/dist/{Typography-BScxyToM.js → Typography-D42B7kE5.js} +0 -0
- /package/dist/{Typography-Btfw8Fe0.js → Typography-DY4m8z8-.js} +0 -0
- /package/dist/{_baseFor-DoWzBq10.js → _baseFor-DvgFu5lz.js} +0 -0
- /package/dist/{_baseFor-CEVGmkCK.js → _baseFor-w0VgW0nw.js} +0 -0
- /package/dist/{_commonjsHelpers-BkXTSVJx.js → _commonjsHelpers-Cg1NQxbS.js} +0 -0
- /package/dist/{_commonjsHelpers-BghxskwM.js → _commonjsHelpers-CyYfyqe6.js} +0 -0
- /package/dist/{_polyfill-node.process-DYNkoLnD.js → _polyfill-node.process-BdcUcrAt.js} +0 -0
- /package/dist/{_polyfill-node.process-CFmGAeLU.js → _polyfill-node.process-T_YvfiZn.js} +0 -0
- /package/dist/{tslib.es6-KANkRL9E.js → tslib.es6-XlV5_qZb.js} +0 -0
- /package/dist/{tslib.es6-6XRN8vf9.js → tslib.es6-Y9cd6NiT.js} +0 -0
- /package/dist/{useChildComponent-BYJwMoze.js → useChildComponent-C_NjACfT.js} +0 -0
- /package/dist/{useChildComponent-CNt2Dq25.js → useChildComponent-DdSkp258.js} +0 -0
- /package/dist/{useFocusTrap-_K53sjUf.js → useFocusTrap-BrYe4HOP.js} +0 -0
- /package/dist/{useFocusTrap-KK9Fg2T8.js → useFocusTrap-DxSbd6aW.js} +0 -0
- /package/dist/{useFormFieldFocus-DRVNc7vV.js → useFormFieldFocus-CbXKlkBn.js} +0 -0
- /package/dist/{useFormFieldFocus-B0QBvLHl.js → useFormFieldFocus-DBoumsfr.js} +0 -0
- /package/dist/{useInView-CEiR0XPx.js → useInView-CkOu7cTb.js} +0 -0
- /package/dist/{useInView-CbGL8nfB.js → useInView-DccoJ7NK.js} +0 -0
- /package/dist/{useOnKeyDown-CLiYq751.js → useOnKeyDown-CWWW4fEf.js} +0 -0
- /package/dist/{useOnKeyDown-CF66qZgX.js → useOnKeyDown-DGdw-KaS.js} +0 -0
- /package/dist/{useRefocusOnActivator-CK7nterZ.js → useRefocusOnActivator-CGbFUEHJ.js} +0 -0
- /package/dist/{useRefocusOnActivator-Bel08buc.js → useRefocusOnActivator-DisAnNys.js} +0 -0
- /package/dist/{useSafeLayoutEffect-BgHU89kz.js → useSafeLayoutEffect-BFgoigWz.js} +0 -0
- /package/dist/{useSafeLayoutEffect-B8mUyHVq.js → useSafeLayoutEffect-C8kMLRP3.js} +0 -0
package/dist/Chip-DCHM2j1V.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import classnames from 'classnames';
|
|
3
|
-
import { u as useInView_2 } from './useInView-CEiR0XPx.js';
|
|
4
|
-
import { A as Avatar } from './Avatar-CjIC6_m7.js';
|
|
5
|
-
import { I as Icon } from './Icon-DgCA245e.js';
|
|
6
|
-
import { u as useChildComponent } from './useChildComponent-CNt2Dq25.js';
|
|
7
|
-
import { T as Typography } from './Typography-BScxyToM.js';
|
|
8
|
-
import { T as Tooltip } from './Tooltip-Br_xoWGP.js';
|
|
9
|
-
|
|
10
|
-
var styles = {"chip":"af7U8MvcbHE-","clickableSuffix":"GnA73aYUbak-","suffix":"ySADfZ0FckM-","prefix":"e905AYK4SCc-","empty":"usdkmQ9Sxbk-","chipBar":"dg1-Izy1eQA-","selected":"-lz0EYLTDgg-","base":"wSI5L-5rODg-","invalid":"SmUxkzpIC84-","subtle":"Mux23dmZSuw-","disabled":"MbRItb9vKhc-","chipContent":"tJhURjR2Vec-","truncateGradient":"G3QXY0rNcK0-","chipLabelRef":"MUKEW6c2nNA-","spinning":"v2Qb-3r7q-g-"};
|
|
11
|
-
|
|
12
|
-
function ChipPrefix({ children }) {
|
|
13
|
-
const singleChild = useChildComponent(children, d => d.type === Avatar || d.type === Icon);
|
|
14
|
-
return (React.createElement("span", { className: classnames(styles.prefix, !singleChild && styles.empty) }, singleChild));
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function ChipSuffix({ children, className, onClick, testID, ariaLabel, }) {
|
|
18
|
-
var _a;
|
|
19
|
-
let singleChild = useChildComponent(children, d => d.type === Icon);
|
|
20
|
-
const handleClick = (event) => {
|
|
21
|
-
if (!onClick) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
event.preventDefault();
|
|
25
|
-
event.stopPropagation();
|
|
26
|
-
onClick(event);
|
|
27
|
-
};
|
|
28
|
-
if (!allowedSuffixIcons.includes((_a = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _a === void 0 ? void 0 : _a.name)) {
|
|
29
|
-
singleChild = undefined;
|
|
30
|
-
}
|
|
31
|
-
return (React.createElement("span", { className: classnames(onClick ? styles.clickableSuffix : styles.suffix, className, !singleChild && styles.empty), onClick: handleClick, onKeyPress: handleClick, role: onClick ? "button" : undefined, tabIndex: onClick ? 0 : undefined, "data-testid": testID, "aria-label": ariaLabel }, singleChild));
|
|
32
|
-
}
|
|
33
|
-
const allowedSuffixIcons = ["cross", "add", "checkmark", "arrowDown"];
|
|
34
|
-
|
|
35
|
-
const Chip = ({ ariaLabel, disabled, heading, invalid, label, value, onClick, onKeyDown, children, role = "button", tabIndex = 0, variation = "base", }) => {
|
|
36
|
-
const classes = classnames(styles.chip, {
|
|
37
|
-
[styles.invalid]: invalid,
|
|
38
|
-
[styles.base]: variation === "base",
|
|
39
|
-
[styles.subtle]: variation === "subtle",
|
|
40
|
-
[styles.disabled]: disabled,
|
|
41
|
-
});
|
|
42
|
-
const prefix = useChildComponent(children, d => d.type === Chip.Prefix);
|
|
43
|
-
const suffix = useChildComponent(children, d => d.type === Chip.Suffix);
|
|
44
|
-
const [labelRef, labelFullyVisible] = useInView_2();
|
|
45
|
-
const [headingRef, headingFullyVisible] = useInView_2();
|
|
46
|
-
const tooltipMessage = getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading);
|
|
47
|
-
return (React.createElement(Tooltip, { message: tooltipMessage },
|
|
48
|
-
React.createElement("button", { className: classes, onClick: (ev) => onClick && onClick(value, ev), tabIndex: tabIndex, onKeyDown: onKeyDown, "aria-label": ariaLabel || label, disabled: disabled, role: role, type: "button" },
|
|
49
|
-
prefix,
|
|
50
|
-
React.createElement("div", { className: styles.chipContent },
|
|
51
|
-
heading && (React.createElement(React.Fragment, null,
|
|
52
|
-
React.createElement(Typography, { size: "base", fontWeight: "medium" },
|
|
53
|
-
heading,
|
|
54
|
-
React.createElement("span", { ref: headingRef, className: styles.chipLabelRef })),
|
|
55
|
-
label && React.createElement("span", { className: styles.chipBar }))),
|
|
56
|
-
React.createElement(Typography, { size: "base" },
|
|
57
|
-
label,
|
|
58
|
-
React.createElement("span", { ref: labelRef, className: styles.chipLabelRef })),
|
|
59
|
-
!labelFullyVisible && (React.createElement("div", { className: styles.truncateGradient, "data-testid": "ATL-Chip-Truncation-Gradient" }))),
|
|
60
|
-
suffix)));
|
|
61
|
-
};
|
|
62
|
-
function getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading) {
|
|
63
|
-
let message = "";
|
|
64
|
-
if (heading && !headingFullyVisible) {
|
|
65
|
-
message = `${heading} | ${label}`;
|
|
66
|
-
}
|
|
67
|
-
else if (!labelFullyVisible) {
|
|
68
|
-
message = label;
|
|
69
|
-
}
|
|
70
|
-
return message;
|
|
71
|
-
}
|
|
72
|
-
Chip.Prefix = ChipPrefix;
|
|
73
|
-
Chip.Suffix = ChipSuffix;
|
|
74
|
-
|
|
75
|
-
export { Chip as C, styles as s };
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var useScrollToActive = require('./useScrollToActive-qJiHbl8t.js');
|
|
5
|
-
require('./isObjectLike-C9MCs815.js');
|
|
6
|
-
require('@jobber/design');
|
|
7
|
-
require('react-popper');
|
|
8
|
-
var debounce = require('./debounce-Ctd8VYCg.js');
|
|
9
|
-
var classnames = require('classnames');
|
|
10
|
-
var Text = require('./Text-CM_jGFRn.js');
|
|
11
|
-
var Button = require('./Button-Bg1fkgQB.js');
|
|
12
|
-
var Spinner = require('./Spinner-DGerVHzv.js');
|
|
13
|
-
var useAssert = require('./useAssert-CuKv9QYt.js');
|
|
14
|
-
var Icon = require('./Icon-Di1uh_ai.js');
|
|
15
|
-
var Avatar = require('./Avatar-zIDZLmcw.js');
|
|
16
|
-
var Typography = require('./Typography-Btfw8Fe0.js');
|
|
17
|
-
var Tooltip = require('./Tooltip-CaLNjS_Z.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,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-yGB00AgH.js';
|
|
3
|
-
import './isObjectLike-DEL8pK-J.js';
|
|
4
|
-
import '@jobber/design';
|
|
5
|
-
import 'react-popper';
|
|
6
|
-
import { a as debounce } from './debounce-BcgKTQau.js';
|
|
7
|
-
import classnames from 'classnames';
|
|
8
|
-
import { T as Text } from './Text-YW0GKdsW.js';
|
|
9
|
-
import { B as Button } from './Button-DgxolXQP.js';
|
|
10
|
-
import { S as Spinner } from './Spinner-CweVYpDb.js';
|
|
11
|
-
import { u as useAssert_2 } from './useAssert-CBiFChIH.js';
|
|
12
|
-
import { I as Icon } from './Icon-DgCA245e.js';
|
|
13
|
-
import { A as Avatar } from './Avatar-CjIC6_m7.js';
|
|
14
|
-
import { T as Typography } from './Typography-BScxyToM.js';
|
|
15
|
-
import { T as Tooltip } from './Tooltip-Br_xoWGP.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 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|