@jobber/components 5.29.2-add-script-e2e1a6f.2 → 5.29.2
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-D3xe7iIr.js → AnimatedSwitcher-b8La3sBN.js} +1 -1
- package/dist/{AnimatedSwitcher-CXT0VuZG.js → AnimatedSwitcher-pp3icLpb.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-CaZLgP1I.js → Autocomplete-CnyuRTzJ.js} +9 -9
- package/dist/{Autocomplete-B62T8dYF.js → Autocomplete-QkO2kQoN.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-DyMjM3AW.js → Avatar-BjgW4R4B.js} +1 -1
- package/dist/{Avatar-BBNVsPN4.js → Avatar-CmCr7Pm3.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-DNZCZNS8.js → Banner-C040t6za.js} +5 -5
- package/dist/{Banner-DB4NF-I-.js → Banner-CmInLuRd.js} +5 -5
- package/dist/{BannerIcon-DnP6RNSt.js → BannerIcon-CyUb2-7U.js} +1 -1
- package/dist/{BannerIcon-DSQUMgwQ.js → BannerIcon-VSylI_4b.js} +1 -1
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-NY5bFnKY.js → Box-Bwhh0joa.js} +1 -1
- package/dist/{Box-CG8uGto1.js → Box-DqybvNc2.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-BIaO-XYd.js → Button-B4jndDdN.js} +2 -2
- package/dist/{Button-D7_eYi50.js → Button-D0k2yvWN.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-xpRCtb8v.js → ButtonDismiss-BIdy6aB1.js} +1 -1
- package/dist/{ButtonDismiss-iASPLaYy.js → ButtonDismiss-DOggvL6w.js} +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/{Card-DS2B13QP.js → Card-BFoCwdqf.js} +3 -3
- package/dist/{Card-CdaZEtlu.js → Card-D9cYKN1Q.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-Cb4YMSuV.js → Checkbox-8tYrIOdd.js} +3 -3
- package/dist/{Checkbox-B5qj7AEr.js → Checkbox-BNRKYZxk.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-CT1aMf_T.js +78 -0
- package/dist/Chip-wwCctpTU.js +75 -0
- package/dist/{ChipDismissible-BqkjQIfD.js → ChipDismissible-ZHuzc6S9.js} +3 -3
- package/dist/{ChipDismissible-CuPwoy7P.js → ChipDismissible-t2-bBZpd.js} +3 -3
- package/dist/Chips/ChipsTypes.d.ts +2 -1
- 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 +26 -28
- package/dist/Chips/InternalChipDismissible/index.mjs +26 -28
- package/dist/Chips/index.cjs +28 -32
- package/dist/Chips/index.mjs +27 -31
- package/dist/{Chips-DhsQNwqG.js → Chips-BMAE5Ym8.js} +14 -13
- package/dist/{Chips-BoWEtu9u.js → Chips-QFwmAuZo.js} +18 -17
- 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-BAZ-5HoB.js → Combobox-DpDsm5t9.js} +9 -9
- package/dist/{Combobox-D-ALWin1.js → Combobox-mhnQX8P1.js} +9 -9
- package/dist/{ComboboxAction-oSvt3sgS.js → ComboboxAction-BDKNM75i.js} +2 -2
- package/dist/{ComboboxAction-CGxlxuvr.js → ComboboxAction-YEw2jkdu.js} +2 -2
- package/dist/{ComboboxActivator-DHltcrUm.js → ComboboxActivator-C6d79jIr.js} +4 -4
- package/dist/{ComboboxActivator-BSU3rTu9.js → ComboboxActivator-DZIdo2xC.js} +4 -4
- package/dist/{ComboboxContent-CiUnaCdf.js → ComboboxContent-Bh1jg4l6.js} +7 -7
- package/dist/{ComboboxContent-DqAL3CS-.js → ComboboxContent-CnN76KYx.js} +7 -7
- package/dist/{ComboboxContentHeader-DWKeVzhu.js → ComboboxContentHeader-C7B0784b.js} +2 -2
- package/dist/{ComboboxContentHeader-eqTZeV-a.js → ComboboxContentHeader-D8N7RIZb.js} +2 -2
- package/dist/{ComboboxContentList-BrGmFWy6.js → ComboboxContentList-BYCyK0Yb.js} +6 -6
- package/dist/{ComboboxContentList-CABHJBrK.js → ComboboxContentList-BlyRrVLk.js} +6 -6
- package/dist/{ComboboxContentSearch-Dvp2vAyy.js → ComboboxContentSearch-BKLo41Hu.js} +1 -1
- package/dist/{ComboboxContentSearch-B-i7kb6N.js → ComboboxContentSearch-C7OHReQg.js} +1 -1
- package/dist/{ComboboxLoadMore-zCXOTJ3G.js → ComboboxLoadMore-Ct_5g7ju.js} +1 -1
- package/dist/{ComboboxLoadMore-COsIIijA.js → ComboboxLoadMore-I5xgtfj-.js} +1 -1
- package/dist/{ComboboxOption-DXs7jkFk.js → ComboboxOption-ChoFp65t.js} +3 -3
- package/dist/{ComboboxOption-DaIIw9k2.js → ComboboxOption-CpZu1h_l.js} +3 -3
- package/dist/{ComboboxProvider-D_oqUm40.js → ComboboxProvider-CmsFRK6t.js} +1 -1
- package/dist/{ComboboxProvider-4mEMn2nO.js → ComboboxProvider-DkNzei5S.js} +1 -1
- package/dist/{ComboboxTrigger-CX1xFX2R.js → ComboboxTrigger-cNbhn3kE.js} +4 -4
- package/dist/{ComboboxTrigger-WaIX2WoT.js → ComboboxTrigger-dtKlRBz3.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-CYUySvr8.js → ConfirmationModal-CUWodZB-.js} +4 -4
- package/dist/{ConfirmationModal-BaH8YjqF.js → ConfirmationModal-Caa_k9Ur.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-BoH0ZmHB.js → Countdown-D4CEa8YC.js} +1 -1
- package/dist/{Countdown-BsQRXp3N.js → Countdown-DDt70f11.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-DIZm4tN6.js → DataDump-BNJd2iPz.js} +3 -3
- package/dist/{DataDump-BMsISbhI.js → DataDump-C27Vw_AE.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-BAStLea8.js → DataList-BhuXCn-8.js} +21 -21
- package/dist/{DataList-36KrK-cn.js → DataList-BoYSdwXl.js} +21 -21
- package/dist/{DataList.utils-DLvdS9f6.js → DataList.utils-BpnVv4Fq.js} +9 -9
- package/dist/{DataList.utils-Dc53vIfR.js → DataList.utils-DQZHvogg.js} +9 -9
- package/dist/{DataListAction-BYAxQdKR.js → DataListAction-B085ceMz.js} +3 -3
- package/dist/{DataListAction-DAs7Vs3t.js → DataListAction-df67yOzd.js} +3 -3
- package/dist/{DataListActions-6P5KJbSf.js → DataListActions-6Qzt_bRB.js} +6 -6
- package/dist/{DataListActions-DzxfWnhN.js → DataListActions-BfQ6H_An.js} +6 -6
- package/dist/{DataListActionsMenu-CV06ZKx0.js → DataListActionsMenu-DxQ558eb.js} +5 -5
- package/dist/{DataListActionsMenu-BMFiC26w.js → DataListActionsMenu-X7xYNRQS.js} +5 -5
- package/dist/{DataListBulkActions-CPGKvDm7.js → DataListBulkActions-BR7JcX28.js} +3 -3
- package/dist/{DataListBulkActions-Crjk8GiS.js → DataListBulkActions-vzF-WZFP.js} +3 -3
- package/dist/{DataListContext-C5gXs1-x.js → DataListContext-DqSp1jwf.js} +1 -1
- package/dist/{DataListContext-DDOb_MKq.js → DataListContext-nBvHyipB.js} +1 -1
- package/dist/{DataListEmptyState-BhEL4IBm.js → DataListEmptyState-Xryw8j5P.js} +4 -4
- package/dist/{DataListEmptyState-B4D1hvpj.js → DataListEmptyState-byoniDHO.js} +4 -4
- package/dist/{DataListFilters-CKYhVwGv.js → DataListFilters--qZ1S2qZ.js} +5 -5
- package/dist/{DataListFilters-DDcNEN8l.js → DataListFilters-BmZBsdR9.js} +5 -5
- package/dist/{DataListHeader-Y2XD7dOv.js → DataListHeader-BUzP-MAP.js} +11 -11
- package/dist/{DataListHeader-CtDGQiMu.js → DataListHeader-Dqd6xDTj.js} +11 -11
- package/dist/{DataListHeaderTile-DZSiafc9.js → DataListHeaderTile-CiiesSqy.js} +5 -5
- package/dist/{DataListHeaderTile-BCdkvcJL.js → DataListHeaderTile-mc8BYjB5.js} +5 -5
- package/dist/{DataListItem-Nck1cTc7.js → DataListItem-9qVlsIN6.js} +10 -10
- package/dist/{DataListItem-Comy4VzL.js → DataListItem-CgunFFgh.js} +10 -10
- package/dist/{DataListItemActions-DCuF5epv.js → DataListItemActions-DHXm8nfx.js} +2 -2
- package/dist/{DataListItemActions-CexGVsKA.js → DataListItemActions-Dni9ynAi.js} +2 -2
- package/dist/{DataListItemActionsOverflow-5x0JNVtI.js → DataListItemActionsOverflow-Bwix8TD3.js} +3 -3
- package/dist/{DataListItemActionsOverflow-CqtV5jtL.js → DataListItemActionsOverflow-yPGrNB1P.js} +3 -3
- package/dist/{DataListItemClickable-Db2KdKkd.js → DataListItemClickable-CIlNiUo2.js} +3 -3
- package/dist/{DataListItemClickable-BkY2LV5g.js → DataListItemClickable-CzZ8L47P.js} +3 -3
- package/dist/{DataListItems-BLOr7M6s.js → DataListItems-Dnpk2y9h.js} +3 -3
- package/dist/{DataListItems-DTD1uW6U.js → DataListItems-jEnWxZKQ.js} +3 -3
- package/dist/{DataListLayout-Dt0IvxPc.js → DataListLayout-Bcwggb3R.js} +3 -3
- package/dist/{DataListLayout-Djfqid6A.js → DataListLayout-CTlQV9C2.js} +3 -3
- package/dist/{DataListLayoutActions-p7kzhD2Z.js → DataListLayoutActions-C0eIe2rz.js} +4 -4
- package/dist/{DataListLayoutActions-DxQpWw0e.js → DataListLayoutActions-DcQGZ3YB.js} +4 -4
- package/dist/{DataListLayoutContext-Uw2cbGBZ.js → DataListLayoutContext-C7xfyK3M.js} +1 -1
- package/dist/{DataListLayoutContext-BD1fHcLP.js → DataListLayoutContext-COF1y5uh.js} +1 -1
- package/dist/{DataListLoadMore-Bn3aOSKi.js → DataListLoadMore-B99hxBRC.js} +5 -5
- package/dist/{DataListLoadMore-BIxbVZ5w.js → DataListLoadMore-CL_lPoOG.js} +5 -5
- package/dist/{DataListLoadingState-Byzxx8Mm.js → DataListLoadingState-Ai7QjBkO.js} +3 -3
- package/dist/{DataListLoadingState-CyvyB1J4.js → DataListLoadingState-DAhwShEP.js} +3 -3
- package/dist/{DataListOverflowFade-DcZJxMeJ.js → DataListOverflowFade-BTOmXLmC.js} +1 -1
- package/dist/{DataListOverflowFade-otMZUfyD.js → DataListOverflowFade-BVhLt5T2.js} +1 -1
- package/dist/{DataListSearch-CWe3YSyO.js → DataListSearch-CzRqvjWo.js} +6 -6
- package/dist/{DataListSearch-CeZ9EUVx.js → DataListSearch-D2eC_FA3.js} +6 -6
- package/dist/{DataListSort-D-tFcdjy.js → DataListSort-BtWGYeYu.js} +6 -6
- package/dist/{DataListSort-BboHMc7m.js → DataListSort-DT0xVQmr.js} +6 -6
- package/dist/{DataListSortingOptions-D2uQ9_J9.js → DataListSortingOptions-CO4dDDC8.js} +3 -3
- package/dist/{DataListSortingOptions-CoaZNnKK.js → DataListSortingOptions-DCQgBoHe.js} +3 -3
- package/dist/{DataListStatusBar-Si6lRzcf.js → DataListStatusBar-BTnR_C84.js} +2 -2
- package/dist/{DataListStatusBar-Cs1DWc0N.js → DataListStatusBar-n6gzhxN4.js} +2 -2
- package/dist/{DataListStickyHeader-C0EONcVm.js → DataListStickyHeader-BcPgSrpY.js} +1 -1
- package/dist/{DataListStickyHeader-xVjMTM7J.js → DataListStickyHeader-DTa1jYeb.js} +1 -1
- package/dist/{DataListTags-Dceku--2.js → DataListTags-BZcUj06d.js} +2 -2
- package/dist/{DataListTags-BQe3uQzy.js → DataListTags-BnJGUJ24.js} +2 -2
- package/dist/{DataListTotalCount-CWeU-Wz8.js → DataListTotalCount-Bnqi_0Lz.js} +2 -2
- package/dist/{DataListTotalCount-Dy9XUDl2.js → DataListTotalCount-CNKLX4Pg.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-B4QSVzDo.js → DataTable-CFyURSrU.js} +6 -6
- package/dist/{DataTable-DFRT-KCt.js → DataTable-OF4Zb1hi.js} +6 -6
- package/dist/DatePicker/index.cjs +18 -18
- package/dist/DatePicker/index.mjs +18 -18
- package/dist/{DatePicker-61b0Rgru.js → DatePicker-4Qs6nz3e.js} +14 -14
- package/dist/{DatePicker-Dd41J4US.js → DatePicker-BclARTDM.js} +14 -14
- package/dist/{DayOfMonthSelect-DZNaVkXU.js → DayOfMonthSelect-3OENRueA.js} +2 -2
- package/dist/{DayOfMonthSelect-DT3og9mC.js → DayOfMonthSelect-DXsS9gKU.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-CZerX2af.js → DescriptionList-B0HHyh6x.js} +1 -1
- package/dist/{DescriptionList-D3Mm8O7V.js → DescriptionList-B6Nh9Op-.js} +1 -1
- package/dist/Disclosure/index.cjs +9 -9
- package/dist/Disclosure/index.mjs +9 -9
- package/dist/{Disclosure-BiyZYmRi.js → Disclosure-CNn28dO_.js} +3 -3
- package/dist/{Disclosure-KcwAs0V4.js → Disclosure-Dg5q3mKs.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-Dy8bx0PX.js → DrawerGrid-Bc3ehWF1.js} +2 -2
- package/dist/{DrawerGrid-DDVMGhwT.js → DrawerGrid-CsHya9Fm.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-CB-7jixa.js → Emphasis-CMXd9j5J.js} +1 -1
- package/dist/{Emphasis-DBWZSvLS.js → Emphasis-KhiK8QZb.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-fqGiwHi6.js → FeatureSwitch-C_A7rkH9.js} +7 -7
- package/dist/{FeatureSwitch-Co9OciVB.js → FeatureSwitch-svne4KyU.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-Dr3q6CE2.js → Form-DadHJ0SL.js} +1 -1
- package/dist/{Form-Wp7f76TU.js → Form-H5wdbXbJ.js} +1 -1
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-BKDdbjx6.js → FormField-B0xZYHV1.js} +7 -7
- package/dist/{FormField-DXyBfK3t.js → FormField-B4cvVtbP.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-qQe157Rt.js → FormatFile-BeO2WWNf.js} +7 -7
- package/dist/{FormatFile-BXTQq6A3.js → FormatFile-DZRy-sY8.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-TzdO-fKb.js → Gallery-CGir9YmJ.js} +3 -3
- package/dist/{Gallery-DSJurWpe.js → Gallery-DekbEOio.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-Byoh5RyN.js → Glimmer-CD2GvuxW.js} +2 -2
- package/dist/{Glimmer-COIRhe8c.js → Glimmer-CwFfEvdJ.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-p_TYp3JV.js → Grid-C1kYw2a2.js} +2 -2
- package/dist/{Grid-CfupXZ5o.js → Grid-Edc4FPqt.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-RfDdRxvW.js → Heading-B6cNvvTv.js} +1 -1
- package/dist/{Heading-CDjhBt6y.js → Heading-CvFqy1B2.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-CRB6p3vN.js → InlineLabel-CqpLUAxy.js} +1 -1
- package/dist/{InlineLabel-8NgiGMha.js → InlineLabel-D-CULc3B.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-Cn6qgzXo.js → InputAvatar-CfzMH1CX.js} +5 -5
- package/dist/{InputAvatar-CSoAskhL.js → InputAvatar-Cxhb8r5y.js} +5 -5
- package/dist/InputDate/index.cjs +25 -25
- package/dist/InputDate/index.mjs +25 -25
- package/dist/{InputDate-DvuqPIr4.js → InputDate-BMg0E_K-.js} +2 -2
- package/dist/{InputDate-CfYBeYPF.js → InputDate-QgnfPjMK.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-D3Iwgz9e.js → InputEmail-B8l84SB5.js} +1 -1
- package/dist/{InputEmail-D294YBAD.js → InputEmail-CmZp4yuO.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-p_miKvvo.js → InputFile-DcWmDlrn.js} +6 -6
- package/dist/{InputFile-BeIrrR9M.js → InputFile-ft4cSMa1.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-DNROy-zE.js → InputNumber-DyWH3Bo1.js} +1 -1
- package/dist/{InputNumber-DoFConPs.js → InputNumber-RNNr8seP.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-DfqauWG1.js → InputPassword-CK_EpYLG.js} +1 -1
- package/dist/{InputPassword-DPdevBCG.js → InputPassword-mM3S5Dee.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-S_uQS4NG.js → InputPhoneNumber-D6sghppW.js} +2 -2
- package/dist/{InputPhoneNumber-PHOdIk9Y.js → InputPhoneNumber-uA_7kf4W.js} +2 -2
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-CTOIpzTa.js → InputText-Brbb1Tmn.js} +2 -2
- package/dist/{InputText-BvvgG0QA.js → InputText-CWfVNier.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-BzgWIBve.js → InputTime-BzCfrApC.js} +3 -3
- package/dist/{InputTime-3PwhkjBx.js → InputTime-Dh9j6L69.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-B6Bb4le0.js → InputValidation-BdhwXta9.js} +2 -2
- package/dist/{InputValidation-DN1r2ik4.js → InputValidation-D4ubLwTu.js} +2 -2
- package/dist/InternalChipDismissible-B-2CSllH.js +157 -0
- package/dist/InternalChipDismissible-L49x0Kgw.js +152 -0
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-CP9yddmj.js → LightBox-BvNpF-s_.js} +7 -7
- package/dist/{LightBox-BByZNQZn.js → LightBox-CKQNtLPz.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-C1_1XxLM.js → List-CXNOg_5E.js} +10 -10
- package/dist/{List-BgV2b2WX.js → List-CktqBUXs.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-Dif4-AJZ.js → Markdown-C5uZlgd-.js} +7 -7
- package/dist/{Markdown-Be-_e4sc.js → Markdown-j8gBynkP.js} +7 -7
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-BVym-KoO.js → Menu-CbUmCIow.js} +8 -8
- package/dist/{Menu-CB7fERsp.js → Menu-Dztqf535.js} +8 -8
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-xLiDTItJ.js → Modal--JGKPaAd.js} +6 -6
- package/dist/{Modal-DvRMDify.js → Modal-DZFYnD6h.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-Cvmianck.js → MultiSelect-D_R8gDOL.js} +3 -3
- package/dist/{MultiSelect-DZbw-aZA.js → MultiSelect-Dvx8OYYG.js} +3 -3
- package/dist/{Option-DYuDAkf2.js → Option-BNjWW2KL.js} +1 -1
- package/dist/{Option-rvxdB6RM.js → Option-ddQhVipM.js} +1 -1
- package/dist/Page/index.cjs +24 -24
- package/dist/Page/index.mjs +24 -24
- package/dist/{Page-BsEfogTj.js → Page-Bya7y8xl.js} +8 -8
- package/dist/{Page-BcTSFTj8.js → Page-vym4vgLU.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-u87VGLtO.js → Popover-DJa6-8ls.js} +2 -2
- package/dist/{Popover-DTmP7cSj.js → Popover-DczMrkAs.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-TUv7hTs4.js → RadioGroup-3L5ORHCE.js} +1 -1
- package/dist/{RadioGroup-DAgRoIv8.js → RadioGroup-DafvekVg.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-CweU3iO2.js → RecurringSelect-CeWANR6c.js} +6 -6
- package/dist/{RecurringSelect-CgndZEMC.js → RecurringSelect-CnQe5GiW.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-DbkbMZTC.js → SideDrawer-CAPePUG3.js} +7 -7
- package/dist/{SideDrawer-CnzY5MRc.js → SideDrawer-DG897AYd.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-BeA_YJLY.js → StatusLabel-CbNDRqHb.js} +2 -2
- package/dist/{StatusLabel-Dx0OqFgV.js → StatusLabel-bm-J0V6K.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-ukKv22jH.js → Switch-B4DIpHKM.js} +1 -1
- package/dist/{Switch-CdE-hRr2.js → Switch-BsWpTxKl.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-CJQAoahA.js → Tabs-DmMPQqAI.js} +2 -2
- package/dist/{Tabs-9f5556kb.js → Tabs-IeXDcW_i.js} +2 -2
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-Bn4rJ59m.js → Text-BLSvOTzS.js} +1 -1
- package/dist/{Text-CPScbDZd.js → Text-BlFSz2WN.js} +1 -1
- package/dist/Toast/index.cjs +4 -4
- package/dist/Toast/index.mjs +4 -4
- package/dist/Tooltip/Tooltip.d.ts +1 -2
- package/dist/Tooltip/index.cjs +3 -3
- package/dist/Tooltip/index.mjs +3 -3
- package/dist/{Tooltip-BMOh-PJu.js → Tooltip-Dg2djXnO.js} +4 -6
- package/dist/{Tooltip-C4WZ_4ye.js → Tooltip-SdO4kR-W.js} +4 -6
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-C3P9KgzC.js → _baseAssignValue-BYQqZm_q.js} +1 -1
- package/dist/{_baseAssignValue-BiNSs7AB.js → _baseAssignValue-Cq2lZThX.js} +1 -1
- package/dist/{_baseEach-BSt52Ej5.js → _baseEach-BcmfxQn7.js} +7 -7
- package/dist/{_baseEach-C3jJYkIf.js → _baseEach-Dmj92DdE.js} +7 -7
- package/dist/{_baseFlatten-xO53xvC8.js → _baseFlatten-HWJnhj4G.js} +3 -3
- package/dist/{_baseFlatten-Cgpn57M1.js → _baseFlatten-nyDWr5bv.js} +3 -3
- package/dist/{_getAllKeys-C_lf5Ss6.js → _getAllKeys-B14rpxrH.js} +5 -5
- package/dist/{_getAllKeys-C65BZeRD.js → _getAllKeys-BDlV9TQ_.js} +5 -5
- package/dist/{_getTag-C4nna7Gn.js → _getTag-CjdPZlht.js} +2 -2
- package/dist/{_getTag-U4BVW4WM.js → _getTag-DOmiri6S.js} +2 -2
- package/dist/{_isIterateeCall-CmHtEMMu.js → _isIterateeCall-DO7GjNIr.js} +4 -4
- package/dist/{_isIterateeCall-qNcDzyOn.js → _isIterateeCall-DbpKK9Vg.js} +4 -4
- package/dist/{_setToString-BPOWS8-p.js → _setToString-CvkxlQG8.js} +1 -1
- package/dist/{_setToString-Djg-9Ims.js → _setToString-o6fhM0qi.js} +1 -1
- package/dist/{debounce-CHcZMUao.js → debounce-CqKHDU21.js} +3 -3
- package/dist/{debounce-DF_LKYFy.js → debounce-D7uWVSAQ.js} +3 -3
- package/dist/{helpers-64GAEwJW.js → helpers-Be9rEJsA.js} +1 -1
- package/dist/{helpers-D6D2RNIt.js → helpers-Bmab8F83.js} +1 -1
- package/dist/{identity-C7MxL4Ow.js → identity-BArCingA.js} +2 -2
- package/dist/{identity-OON_iXIh.js → identity-uR8ICwva.js} +2 -2
- package/dist/{index-DE3YSszV.js → index-B8JxzS2q.js} +1 -1
- package/dist/{index-CBXEHeFX.js → index-BbjsPcEn.js} +1 -1
- package/dist/index.cjs +160 -160
- package/dist/index.mjs +158 -158
- package/dist/{isObjectLike-4WgwR78Y.js → isObjectLike-BiwynHYz.js} +1 -1
- package/dist/{isObjectLike-BMOisu0G.js → isObjectLike-CwRtIliI.js} +1 -1
- package/dist/{isSymbol-BmXSFcZC.js → isSymbol-BE-xuc4e.js} +1 -1
- package/dist/{isSymbol-D_hUvKVS.js → isSymbol-DolP_AoU.js} +1 -1
- package/dist/{isTypedArray-i_7zc3u-.js → isTypedArray-B_bKuexU.js} +1 -1
- package/dist/{isTypedArray-Ctn8PJon.js → isTypedArray-CtfwOrVP.js} +1 -1
- package/dist/{keysIn-BhRqIPrO.js → keysIn-CpN9WrZa.js} +4 -4
- package/dist/{keysIn-Ct3BrSqg.js → keysIn-DauGqU0A.js} +4 -4
- package/dist/{noop-CP5WpoqI.js → noop-BfOQvhd1.js} +1 -1
- package/dist/{noop-B55fbWh6.js → noop-eTI03r7i.js} +1 -1
- package/dist/{showToast-ABgqS7ef.js → showToast-CZZ5lbfu.js} +3 -3
- package/dist/{showToast-PxZHuxsO.js → showToast-DmI0C1AE.js} +3 -3
- package/dist/styles.css +117 -118
- package/dist/{throttle-BrmjWoIz.js → throttle-Bqld7flf.js} +3 -3
- package/dist/{throttle-IjV0BNbp.js → throttle-DQ_B7xwA.js} +3 -3
- package/dist/{updateTheme-BcAA_Vjs.js → updateTheme-DCnmzc8z.js} +8 -8
- package/dist/{updateTheme-BQuHGibU.js → updateTheme-azn5nbCa.js} +8 -8
- package/dist/{useActiveLayout-H1bGX4-6.js → useActiveLayout-C7TW-A_w.js} +2 -2
- package/dist/{useActiveLayout-CgvfLOgC.js → useActiveLayout-DNXmAOz5.js} +2 -2
- package/dist/{useAssert-BlTqkTmJ.js → useAssert-BHe9ZFRf.js} +2 -2
- package/dist/{useAssert-DmJchRLs.js → useAssert-Cfuic2qV.js} +2 -2
- package/dist/{useBatchSelect-D4rW_gly.js → useBatchSelect-Cm48FL19.js} +1 -1
- package/dist/{useBatchSelect-CY3CgIcc.js → useBatchSelect-pBmhdz2t.js} +1 -1
- package/dist/{useIsMounted-DuvWkaPW.js → useIsMounted-CWImBHF2.js} +1 -1
- package/dist/{useIsMounted-W7RlBJd6.js → useIsMounted-Ca17VQDk.js} +1 -1
- package/dist/{useResizeObserver-D0hLMkVf.js → useResizeObserver-DRnNE7o_.js} +2 -2
- package/dist/{useResizeObserver-DnrWnNmx.js → useResizeObserver-uZ-Ugg2s.js} +2 -2
- package/dist/{useResponsiveSizing-B81yNbX6.js → useResponsiveSizing-PTP_Ff-v.js} +1 -1
- package/dist/{useResponsiveSizing-Cc9pdIXD.js → useResponsiveSizing-rDmO_VHA.js} +1 -1
- package/dist/{useScrollToActive-DCC7LnaP.js → useScrollToActive-BAIiemwh.js} +10 -10
- package/dist/{useScrollToActive-CY270NkJ.js → useScrollToActive-CvQX8Qjq.js} +10 -10
- package/package.json +3 -9
- package/rollup.config.mjs +0 -4
- package/dist/Chip-CAAz_EH4.js +0 -115
- package/dist/Chip-CO4o0nnG.js +0 -120
- package/dist/InternalChipDismissible-CHekYe_U.js +0 -66
- package/dist/InternalChipDismissible-GGFRKizc.js +0 -63
- package/dist/utils/meta/extension-components.json +0 -375
- /package/dist/{AnimatedPresence-BF0x_ncC.js → AnimatedPresence-BX1EMkg3.js} +0 -0
- /package/dist/{AnimatedPresence-BGESQ0Mm.js → AnimatedPresence-CvrJu9dt.js} +0 -0
- /package/dist/{AtlantisContext-CfmYvfhu.js → AtlantisContext-BKCMR6lO.js} +0 -0
- /package/dist/{AtlantisContext-rtyODOYy.js → AtlantisContext-Cj-G3Ef_.js} +0 -0
- /package/dist/{Body-Cms7KCat.js → Body-Bn5c4-Nk.js} +0 -0
- /package/dist/{Body-BPtl7Uyk.js → Body-CG-FD7ic.js} +0 -0
- /package/dist/{Content-CCRK9k5r.js → Content-BcpHc9GT.js} +0 -0
- /package/dist/{Content-DaUSHy6Z.js → Content-DGxupaIg.js} +0 -0
- /package/dist/{DataList-B3rikCrv.js → DataList-BbU30kQq.js} +0 -0
- /package/dist/{DataList-Yv8m43_R.js → DataList-Vy_zV32R.js} +0 -0
- /package/dist/{DataList.const-f-xxduYq.js → DataList.const-CiKhiD7_.js} +0 -0
- /package/dist/{DataList.const-D-td7Edp.js → DataList.const-D2lYR77X.js} +0 -0
- /package/dist/{DataListLayoutContext-F3TLdKUc.js → DataListLayoutContext-DT2D4PkH.js} +0 -0
- /package/dist/{DataListLayoutContext-Bw8uJ21K.js → DataListLayoutContext-NQ25bZIf.js} +0 -0
- /package/dist/{Divider-CHoqBl42.js → Divider-DicgU3fy.js} +0 -0
- /package/dist/{Divider-C6eTgXp6.js → Divider-DoCwI1ZE.js} +0 -0
- /package/dist/{Flex-ClF5E59t.js → Flex-B0zfMVdI.js} +0 -0
- /package/dist/{Flex-DJ2T7YIy.js → Flex-DHMskNDv.js} +0 -0
- /package/dist/{FormatDate-3QMIP-KQ.js → FormatDate-DHeYvL7L.js} +0 -0
- /package/dist/{FormatDate-Bn5k6ssf.js → FormatDate-DupaPOyo.js} +0 -0
- /package/dist/{FormatEmail-Bal-jj4F.js → FormatEmail-BYfBP5XI.js} +0 -0
- /package/dist/{FormatEmail-CrMYfw2z.js → FormatEmail-DwOEHIJM.js} +0 -0
- /package/dist/{FormatRelativeDateTime-BdMNZJZ6.js → FormatRelativeDateTime-CxsZ8zAo.js} +0 -0
- /package/dist/{FormatRelativeDateTime-eS33zHmX.js → FormatRelativeDateTime-Dl6zY3sm.js} +0 -0
- /package/dist/{FormatTime-B3ayMx4r.js → FormatTime-AHnDglCR.js} +0 -0
- /package/dist/{FormatTime-D3Bxh7ZB.js → FormatTime-Beq7O53G.js} +0 -0
- /package/dist/{Icon-CTlAFUDL.js → Icon-BO8RfF_F.js} +0 -0
- /package/dist/{Icon-DO0V7eGt.js → Icon-DsDZ8Ejk.js} +0 -0
- /package/dist/{InputGroup-CAnKI6Zh.js → InputGroup-BoIQ6JUk.js} +0 -0
- /package/dist/{InputGroup-BbEPSQd_.js → InputGroup-DRFKXrSL.js} +0 -0
- /package/dist/{InternalGridCell-Cj5wZUdU.js → InternalGridCell-B6c_1lGt.js} +0 -0
- /package/dist/{InternalGridCell-Bq-R9FgJ.js → InternalGridCell-BCtV_r7Y.js} +0 -0
- /package/dist/{Link-CHL05z2Y.js → Link-Bo2thIjj.js} +0 -0
- /package/dist/{Link-DTwp4SQe.js → Link-BpmmR0Bs.js} +0 -0
- /package/dist/{ProgressBar-TWAhGCWo.js → ProgressBar-CN0SJ0WL.js} +0 -0
- /package/dist/{ProgressBar-DOwPDhsz.js → ProgressBar-CUB5FOvc.js} +0 -0
- /package/dist/{Spinner-Dj2ytO_k.js → Spinner-BwjNln_c.js} +0 -0
- /package/dist/{Spinner-BRk0orF4.js → Spinner-CotzvYOu.js} +0 -0
- /package/dist/{StatusIndicator-jZhv61K_.js → StatusIndicator-CTITxUn3.js} +0 -0
- /package/dist/{StatusIndicator-C9Na90S4.js → StatusIndicator-D6_Apyqk.js} +0 -0
- /package/dist/{Typography-VJW0YB9l.js → Typography-aoPt4JNX.js} +0 -0
- /package/dist/{Typography-DAXwqHRm.js → Typography-uUCjSAXc.js} +0 -0
- /package/dist/{_baseFor-TzpcGXsP.js → _baseFor-CNnlr_Yh.js} +0 -0
- /package/dist/{_baseFor-CpV1KT_w.js → _baseFor-CuGrzC5B.js} +0 -0
- /package/dist/{_commonjsHelpers-BpaR5fz2.js → _commonjsHelpers-DkFfPNXw.js} +0 -0
- /package/dist/{_commonjsHelpers-B5EAIpKO.js → _commonjsHelpers-jMlUCxNd.js} +0 -0
- /package/dist/{_polyfill-node.process-mMeBZDT9.js → _polyfill-node.process-BldURbfL.js} +0 -0
- /package/dist/{_polyfill-node.process-CetWAA68.js → _polyfill-node.process-haCckXM3.js} +0 -0
- /package/dist/{tslib.es6-ZJbGhpOp.js → tslib.es6-B6hs1cs1.js} +0 -0
- /package/dist/{tslib.es6-4eP-EfR_.js → tslib.es6-OfVniiO8.js} +0 -0
- /package/dist/{useChildComponent-C9oGlryh.js → useChildComponent-DHdRxs9i.js} +0 -0
- /package/dist/{useChildComponent-8xe855jM.js → useChildComponent-aQ-T0oRw.js} +0 -0
- /package/dist/{useFocusTrap-CE6qpcBO.js → useFocusTrap-CwluEjJR.js} +0 -0
- /package/dist/{useFocusTrap-McClWUzz.js → useFocusTrap-I1_gScV5.js} +0 -0
- /package/dist/{useFormFieldFocus-BHAhbfr4.js → useFormFieldFocus-BTxhbIiS.js} +0 -0
- /package/dist/{useFormFieldFocus-D6kK7vEn.js → useFormFieldFocus-FdIp1_8i.js} +0 -0
- /package/dist/{useInView-gG_PTuWW.js → useInView-B-vcJX6C.js} +0 -0
- /package/dist/{useInView-CDw2X61Q.js → useInView-BtOfLcER.js} +0 -0
- /package/dist/{useOnKeyDown-RyCyjJoR.js → useOnKeyDown-BULmPF8w.js} +0 -0
- /package/dist/{useOnKeyDown-CsoUVYR7.js → useOnKeyDown-Ds29mUpS.js} +0 -0
- /package/dist/{useRefocusOnActivator-BLM37Akn.js → useRefocusOnActivator-BXHdb4VJ.js} +0 -0
- /package/dist/{useRefocusOnActivator-DW6jezma.js → useRefocusOnActivator-CtFIq_QK.js} +0 -0
- /package/dist/{useSafeLayoutEffect-BAa2BdCj.js → useSafeLayoutEffect-BPlfRkr7.js} +0 -0
- /package/dist/{useSafeLayoutEffect-B64Bm-Vw.js → useSafeLayoutEffect-C6py2uCv.js} +0 -0
package/dist/Chip-CAAz_EH4.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import React, { useRef } from 'react';
|
|
2
|
-
import classnames from 'classnames';
|
|
3
|
-
import { u as useInView_2 } from './useInView-gG_PTuWW.js';
|
|
4
|
-
import { A as Avatar } from './Avatar-DyMjM3AW.js';
|
|
5
|
-
import { I as Icon } from './Icon-CTlAFUDL.js';
|
|
6
|
-
import { u as useChildComponent } from './useChildComponent-C9oGlryh.js';
|
|
7
|
-
import { T as Typography } from './Typography-VJW0YB9l.js';
|
|
8
|
-
import { T as Tooltip } from './Tooltip-C4WZ_4ye.js';
|
|
9
|
-
|
|
10
|
-
var styles$1 = {"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$1.prefix, !singleChild && styles$1.empty) }, singleChild));
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
var styles = {"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.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, { size: "small", 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 "interactiveSubtle";
|
|
42
|
-
}
|
|
43
|
-
function handleClick(event) {
|
|
44
|
-
event.stopPropagation();
|
|
45
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function ChipSuffix({ children, className, onClick, testID, ariaLabel, }) {
|
|
50
|
-
var _a, _b;
|
|
51
|
-
let singleChild = useChildComponent(children, d => d.type === Icon || d.type == InternalChipButton);
|
|
52
|
-
const handleClick = (event) => {
|
|
53
|
-
if (!onClick) {
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
event.preventDefault();
|
|
57
|
-
event.stopPropagation();
|
|
58
|
-
onClick(event);
|
|
59
|
-
};
|
|
60
|
-
const iconName = ((_a = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _a === void 0 ? void 0 : _a.name) || ((_b = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _b === void 0 ? void 0 : _b.icon);
|
|
61
|
-
if (!allowedSuffixIcons.includes(iconName)) {
|
|
62
|
-
singleChild = undefined;
|
|
63
|
-
}
|
|
64
|
-
return (React.createElement("span", { className: classnames(onClick ? styles$1.clickableSuffix : styles$1.suffix, className, !singleChild && styles$1.empty), onClick: handleClick, onKeyPress: handleClick, role: onClick ? "button" : undefined, tabIndex: onClick ? 0 : undefined, "data-testid": testID, "aria-label": ariaLabel }, singleChild));
|
|
65
|
-
}
|
|
66
|
-
const allowedSuffixIcons = [
|
|
67
|
-
"cross",
|
|
68
|
-
"add",
|
|
69
|
-
"checkmark",
|
|
70
|
-
"remove",
|
|
71
|
-
"arrowDown",
|
|
72
|
-
];
|
|
73
|
-
|
|
74
|
-
const Chip = ({ ariaLabel, disabled, heading, invalid, label, value, testID, onClick, onKeyDown, children, role = "button", tabIndex = 0, variation = "base", }) => {
|
|
75
|
-
const classes = classnames(styles$1.chip, {
|
|
76
|
-
[styles$1.invalid]: invalid,
|
|
77
|
-
[styles$1.base]: variation === "base",
|
|
78
|
-
[styles$1.subtle]: variation === "subtle",
|
|
79
|
-
[styles$1.disabled]: disabled,
|
|
80
|
-
});
|
|
81
|
-
const prefix = useChildComponent(children, d => d.type === Chip.Prefix);
|
|
82
|
-
const suffix = useChildComponent(children, d => d.type === Chip.Suffix);
|
|
83
|
-
const [labelRef, labelFullyVisible] = useInView_2();
|
|
84
|
-
const [headingRef, headingFullyVisible] = useInView_2();
|
|
85
|
-
const tooltipMessage = getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading);
|
|
86
|
-
const Tag = onClick ? "button" : "div";
|
|
87
|
-
return (React.createElement(Tooltip, { message: tooltipMessage, setTabIndex: false },
|
|
88
|
-
React.createElement(Tag, { className: classes, onClick: (ev) => onClick === null || onClick === void 0 ? void 0 : onClick(value, ev), tabIndex: tabIndex, onKeyDown: onKeyDown, "aria-label": ariaLabel, disabled: disabled, role: role, "data-testid": testID, type: "button" },
|
|
89
|
-
prefix,
|
|
90
|
-
React.createElement("div", { className: styles$1.chipContent },
|
|
91
|
-
heading && (React.createElement(React.Fragment, null,
|
|
92
|
-
React.createElement(Typography, { size: "base", fontWeight: "medium" },
|
|
93
|
-
heading,
|
|
94
|
-
React.createElement("span", { ref: headingRef, className: styles$1.chipLabelRef })),
|
|
95
|
-
label && React.createElement("span", { className: styles$1.chipBar }))),
|
|
96
|
-
React.createElement(Typography, { size: "base" },
|
|
97
|
-
label,
|
|
98
|
-
React.createElement("span", { ref: labelRef, className: styles$1.chipLabelRef })),
|
|
99
|
-
!labelFullyVisible && (React.createElement("div", { className: styles$1.truncateGradient, "data-testid": "ATL-Chip-Truncation-Gradient" }))),
|
|
100
|
-
suffix)));
|
|
101
|
-
};
|
|
102
|
-
function getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading) {
|
|
103
|
-
let message = "";
|
|
104
|
-
if (heading && !headingFullyVisible) {
|
|
105
|
-
message = `${heading} | ${label}`;
|
|
106
|
-
}
|
|
107
|
-
else if (!labelFullyVisible) {
|
|
108
|
-
message = label;
|
|
109
|
-
}
|
|
110
|
-
return message;
|
|
111
|
-
}
|
|
112
|
-
Chip.Prefix = ChipPrefix;
|
|
113
|
-
Chip.Suffix = ChipSuffix;
|
|
114
|
-
|
|
115
|
-
export { Chip as C, InternalChipButton as I, styles as a, styles$1 as s };
|
package/dist/Chip-CO4o0nnG.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var classnames = require('classnames');
|
|
5
|
-
var useInView = require('./useInView-CDw2X61Q.js');
|
|
6
|
-
var Avatar = require('./Avatar-BBNVsPN4.js');
|
|
7
|
-
var Icon = require('./Icon-DO0V7eGt.js');
|
|
8
|
-
var useChildComponent = require('./useChildComponent-8xe855jM.js');
|
|
9
|
-
var Typography = require('./Typography-DAXwqHRm.js');
|
|
10
|
-
var Tooltip = require('./Tooltip-BMOh-PJu.js');
|
|
11
|
-
|
|
12
|
-
var styles$1 = {"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-"};
|
|
13
|
-
|
|
14
|
-
function ChipPrefix({ children }) {
|
|
15
|
-
const singleChild = useChildComponent.useChildComponent(children, d => d.type === Avatar.Avatar || d.type === Icon.Icon);
|
|
16
|
-
return (React.createElement("span", { className: classnames(styles$1.prefix, !singleChild && styles$1.empty) }, singleChild));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
var styles = {"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.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, { size: "small", 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 "interactiveSubtle";
|
|
44
|
-
}
|
|
45
|
-
function handleClick(event) {
|
|
46
|
-
event.stopPropagation();
|
|
47
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function ChipSuffix({ children, className, onClick, testID, ariaLabel, }) {
|
|
52
|
-
var _a, _b;
|
|
53
|
-
let singleChild = useChildComponent.useChildComponent(children, d => d.type === Icon.Icon || d.type == InternalChipButton);
|
|
54
|
-
const handleClick = (event) => {
|
|
55
|
-
if (!onClick) {
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
event.preventDefault();
|
|
59
|
-
event.stopPropagation();
|
|
60
|
-
onClick(event);
|
|
61
|
-
};
|
|
62
|
-
const iconName = ((_a = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _a === void 0 ? void 0 : _a.name) || ((_b = singleChild === null || singleChild === void 0 ? void 0 : singleChild.props) === null || _b === void 0 ? void 0 : _b.icon);
|
|
63
|
-
if (!allowedSuffixIcons.includes(iconName)) {
|
|
64
|
-
singleChild = undefined;
|
|
65
|
-
}
|
|
66
|
-
return (React.createElement("span", { className: classnames(onClick ? styles$1.clickableSuffix : styles$1.suffix, className, !singleChild && styles$1.empty), onClick: handleClick, onKeyPress: handleClick, role: onClick ? "button" : undefined, tabIndex: onClick ? 0 : undefined, "data-testid": testID, "aria-label": ariaLabel }, singleChild));
|
|
67
|
-
}
|
|
68
|
-
const allowedSuffixIcons = [
|
|
69
|
-
"cross",
|
|
70
|
-
"add",
|
|
71
|
-
"checkmark",
|
|
72
|
-
"remove",
|
|
73
|
-
"arrowDown",
|
|
74
|
-
];
|
|
75
|
-
|
|
76
|
-
const Chip = ({ ariaLabel, disabled, heading, invalid, label, value, testID, onClick, onKeyDown, children, role = "button", tabIndex = 0, variation = "base", }) => {
|
|
77
|
-
const classes = classnames(styles$1.chip, {
|
|
78
|
-
[styles$1.invalid]: invalid,
|
|
79
|
-
[styles$1.base]: variation === "base",
|
|
80
|
-
[styles$1.subtle]: variation === "subtle",
|
|
81
|
-
[styles$1.disabled]: disabled,
|
|
82
|
-
});
|
|
83
|
-
const prefix = useChildComponent.useChildComponent(children, d => d.type === Chip.Prefix);
|
|
84
|
-
const suffix = useChildComponent.useChildComponent(children, d => d.type === Chip.Suffix);
|
|
85
|
-
const [labelRef, labelFullyVisible] = useInView.useInView_2();
|
|
86
|
-
const [headingRef, headingFullyVisible] = useInView.useInView_2();
|
|
87
|
-
const tooltipMessage = getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading);
|
|
88
|
-
const Tag = onClick ? "button" : "div";
|
|
89
|
-
return (React.createElement(Tooltip.Tooltip, { message: tooltipMessage, setTabIndex: false },
|
|
90
|
-
React.createElement(Tag, { className: classes, onClick: (ev) => onClick === null || onClick === void 0 ? void 0 : onClick(value, ev), tabIndex: tabIndex, onKeyDown: onKeyDown, "aria-label": ariaLabel, disabled: disabled, role: role, "data-testid": testID, type: "button" },
|
|
91
|
-
prefix,
|
|
92
|
-
React.createElement("div", { className: styles$1.chipContent },
|
|
93
|
-
heading && (React.createElement(React.Fragment, null,
|
|
94
|
-
React.createElement(Typography.Typography, { size: "base", fontWeight: "medium" },
|
|
95
|
-
heading,
|
|
96
|
-
React.createElement("span", { ref: headingRef, className: styles$1.chipLabelRef })),
|
|
97
|
-
label && React.createElement("span", { className: styles$1.chipBar }))),
|
|
98
|
-
React.createElement(Typography.Typography, { size: "base" },
|
|
99
|
-
label,
|
|
100
|
-
React.createElement("span", { ref: labelRef, className: styles$1.chipLabelRef })),
|
|
101
|
-
!labelFullyVisible && (React.createElement("div", { className: styles$1.truncateGradient, "data-testid": "ATL-Chip-Truncation-Gradient" }))),
|
|
102
|
-
suffix)));
|
|
103
|
-
};
|
|
104
|
-
function getTooltipMessage(labelFullyVisible, headingFullyVisible, label, heading) {
|
|
105
|
-
let message = "";
|
|
106
|
-
if (heading && !headingFullyVisible) {
|
|
107
|
-
message = `${heading} | ${label}`;
|
|
108
|
-
}
|
|
109
|
-
else if (!labelFullyVisible) {
|
|
110
|
-
message = label;
|
|
111
|
-
}
|
|
112
|
-
return message;
|
|
113
|
-
}
|
|
114
|
-
Chip.Prefix = ChipPrefix;
|
|
115
|
-
Chip.Suffix = ChipSuffix;
|
|
116
|
-
|
|
117
|
-
exports.Chip = Chip;
|
|
118
|
-
exports.InternalChipButton = InternalChipButton;
|
|
119
|
-
exports.styles = styles$1;
|
|
120
|
-
exports.styles$1 = styles;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var useScrollToActive = require('./useScrollToActive-CY270NkJ.js');
|
|
5
|
-
require('./isObjectLike-BMOisu0G.js');
|
|
6
|
-
require('@jobber/design');
|
|
7
|
-
require('react-popper');
|
|
8
|
-
var debounce = require('./debounce-CHcZMUao.js');
|
|
9
|
-
var classnames = require('classnames');
|
|
10
|
-
var Text = require('./Text-CPScbDZd.js');
|
|
11
|
-
var Button = require('./Button-D7_eYi50.js');
|
|
12
|
-
var Spinner = require('./Spinner-Dj2ytO_k.js');
|
|
13
|
-
var Chip = require('./Chip-CO4o0nnG.js');
|
|
14
|
-
require('./tslib.es6-ZJbGhpOp.js');
|
|
15
|
-
|
|
16
|
-
function InternalChip({ label, disabled = false, invalid = false, prefix, suffix, tabIndex, ariaLabel, onClick, onKeyDown, }) {
|
|
17
|
-
return (React.createElement(Chip.Chip, { disabled: disabled, invalid: invalid, onKeyDown: onKeyDown, testID: "ATL-InternalChip", ariaLabel: ariaLabel, tabIndex: tabIndex, role: tabIndex !== undefined ? "option" : undefined, onClick: onClick ? (_, ev) => onClick(ev) : undefined, label: label },
|
|
18
|
-
prefix && React.createElement(Chip.Chip.Prefix, null, prefix),
|
|
19
|
-
suffix && React.createElement(Chip.Chip.Suffix, null, suffix)));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
var styles = {"wrapper":"sCNIjluCskc-","input":"MFUlz1WQLdk-","menu":"V9eYJdjPAeY-","menuList":"LdytkOeCU9c-","menuListOption":"y7Cz2u8BuNE-","loadingIndicator":"_-7bmao8Q9As-","activeOption":"iCwWdcmtInc-","spinning":"c88tg50FoHI-"};
|
|
23
|
-
|
|
24
|
-
function InternalChipDismissibleInput(props) {
|
|
25
|
-
const { activator = React.createElement(Button.Button, { icon: "add", type: "secondary", ariaLabel: "Add" }), attachTo, isLoadingMore = false, onLoadMore, } = props;
|
|
26
|
-
const { activeIndex, allOptions, hasAvailableOptions, inputRef, menuId, menuOpen, searchValue, generateDescendantId, handleBlur, handleOpenMenu, handleSearchChange, handleCancelBlur, handleEnableBlur, handleSetActiveOnMouseOver, handleKeyDown, handleSelectOption, handleDebouncedSearch, } = useScrollToActive.useInternalChipDismissibleInput(props);
|
|
27
|
-
const menuRef = useScrollToActive.useScrollToActive(activeIndex);
|
|
28
|
-
const { ref: visibleChildRef, isInView } = useScrollToActive.useInView();
|
|
29
|
-
const { styles: popperStyles, attributes, update, setPositionedElementRef, } = useScrollToActive.useRepositionMenu(attachTo);
|
|
30
|
-
React.useEffect(() => {
|
|
31
|
-
if (menuOpen && update)
|
|
32
|
-
update();
|
|
33
|
-
}, [allOptions]);
|
|
34
|
-
React.useEffect(() => {
|
|
35
|
-
handleDebouncedSearch();
|
|
36
|
-
return handleDebouncedSearch.cancel;
|
|
37
|
-
}, [searchValue]);
|
|
38
|
-
React.useEffect(() => {
|
|
39
|
-
isInView && onLoadMore && onLoadMore(searchValue);
|
|
40
|
-
}, [isInView]);
|
|
41
|
-
if (!menuOpen) {
|
|
42
|
-
return React.cloneElement(activator, { onClick: handleOpenMenu });
|
|
43
|
-
}
|
|
44
|
-
return (React.createElement(React.Fragment, null,
|
|
45
|
-
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 }),
|
|
46
|
-
(hasAvailableOptions || isLoadingMore) && (React.createElement("div", Object.assign({ ref: setPositionedElementRef, className: styles.menu, style: popperStyles.popper }, attributes.popper),
|
|
47
|
-
React.createElement("div", { ref: menuRef, role: "listbox", id: menuId, className: styles.menuList, "data-testid": "chip-menu" },
|
|
48
|
-
allOptions.map((option, i) => (React.createElement("button", { key: option.value, role: "option", type: "button", id: generateDescendantId(i), className: classnames(styles.menuListOption, {
|
|
49
|
-
[styles.activeOption]: activeIndex === i,
|
|
50
|
-
}), onClick: () => handleSelectOption(option), onMouseEnter: handleSetActiveOnMouseOver(i), onMouseDown: handleCancelBlur, onMouseUp: handleEnableBlur },
|
|
51
|
-
React.createElement("span", { "aria-hidden": true }, option.prefix),
|
|
52
|
-
React.createElement(Text.Text, null, option.label)))),
|
|
53
|
-
React.createElement("div", { ref: visibleChildRef }),
|
|
54
|
-
isLoadingMore && (React.createElement("div", { className: styles.loadingIndicator },
|
|
55
|
-
React.createElement(Spinner.Spinner, { size: "small", inline: true }))))))));
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
function InternalChipDismissible(props) {
|
|
59
|
-
const { availableChipOptions, ref: wrapperRef, sortedVisibleChipOptions, handleChipAdd, handleChipClick, handleChipKeyDown, handleChipRemove, handleCustomAdd, handleWrapperKeyDown, } = useScrollToActive.useInternalChipDismissible(props);
|
|
60
|
-
return (React.createElement("div", { ref: wrapperRef, className: styles.wrapper, "data-testid": "dismissible-chips", onKeyDown: handleWrapperKeyDown, role: "listbox" },
|
|
61
|
-
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(Chip.InternalChipButton, { icon: "remove", invalid: chip.invalid, disabled: chip.disabled, label: chip.label, onClick: handleChipRemove(chip.value) }) })))),
|
|
62
|
-
React.createElement(InternalChipDismissibleInput, { activator: props.activator, attachTo: wrapperRef, isLoadingMore: props.isLoadingMore, options: availableChipOptions, onOptionSelect: handleChipAdd, onCustomOptionSelect: handleCustomAdd, onSearch: props.onSearch, onLoadMore: props.onLoadMore })));
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
exports.InternalChip = InternalChip;
|
|
66
|
-
exports.InternalChipDismissible = InternalChipDismissible;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
2
|
-
import { a as useInternalChipDismissibleInput, d as useScrollToActive, b as useInView, c as useRepositionMenu, u as useInternalChipDismissible } from './useScrollToActive-DCC7LnaP.js';
|
|
3
|
-
import './isObjectLike-4WgwR78Y.js';
|
|
4
|
-
import '@jobber/design';
|
|
5
|
-
import 'react-popper';
|
|
6
|
-
import { a as debounce } from './debounce-DF_LKYFy.js';
|
|
7
|
-
import classnames from 'classnames';
|
|
8
|
-
import { T as Text } from './Text-Bn4rJ59m.js';
|
|
9
|
-
import { B as Button } from './Button-BIaO-XYd.js';
|
|
10
|
-
import { S as Spinner } from './Spinner-BRk0orF4.js';
|
|
11
|
-
import { C as Chip, I as InternalChipButton } from './Chip-CAAz_EH4.js';
|
|
12
|
-
import './tslib.es6-4eP-EfR_.js';
|
|
13
|
-
|
|
14
|
-
function InternalChip({ label, disabled = false, invalid = false, prefix, suffix, tabIndex, ariaLabel, onClick, onKeyDown, }) {
|
|
15
|
-
return (React.createElement(Chip, { disabled: disabled, invalid: invalid, onKeyDown: onKeyDown, testID: "ATL-InternalChip", ariaLabel: ariaLabel, tabIndex: tabIndex, role: tabIndex !== undefined ? "option" : undefined, onClick: onClick ? (_, ev) => onClick(ev) : undefined, label: label },
|
|
16
|
-
prefix && React.createElement(Chip.Prefix, null, prefix),
|
|
17
|
-
suffix && React.createElement(Chip.Suffix, null, suffix)));
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
var styles = {"wrapper":"sCNIjluCskc-","input":"MFUlz1WQLdk-","menu":"V9eYJdjPAeY-","menuList":"LdytkOeCU9c-","menuListOption":"y7Cz2u8BuNE-","loadingIndicator":"_-7bmao8Q9As-","activeOption":"iCwWdcmtInc-","spinning":"c88tg50FoHI-"};
|
|
21
|
-
|
|
22
|
-
function InternalChipDismissibleInput(props) {
|
|
23
|
-
const { activator = React.createElement(Button, { icon: "add", type: "secondary", ariaLabel: "Add" }), attachTo, isLoadingMore = false, onLoadMore, } = props;
|
|
24
|
-
const { activeIndex, allOptions, hasAvailableOptions, inputRef, menuId, menuOpen, searchValue, generateDescendantId, handleBlur, handleOpenMenu, handleSearchChange, handleCancelBlur, handleEnableBlur, handleSetActiveOnMouseOver, handleKeyDown, handleSelectOption, handleDebouncedSearch, } = useInternalChipDismissibleInput(props);
|
|
25
|
-
const menuRef = useScrollToActive(activeIndex);
|
|
26
|
-
const { ref: visibleChildRef, isInView } = useInView();
|
|
27
|
-
const { styles: popperStyles, attributes, update, setPositionedElementRef, } = useRepositionMenu(attachTo);
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
if (menuOpen && update)
|
|
30
|
-
update();
|
|
31
|
-
}, [allOptions]);
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
handleDebouncedSearch();
|
|
34
|
-
return handleDebouncedSearch.cancel;
|
|
35
|
-
}, [searchValue]);
|
|
36
|
-
useEffect(() => {
|
|
37
|
-
isInView && onLoadMore && onLoadMore(searchValue);
|
|
38
|
-
}, [isInView]);
|
|
39
|
-
if (!menuOpen) {
|
|
40
|
-
return React.cloneElement(activator, { onClick: handleOpenMenu });
|
|
41
|
-
}
|
|
42
|
-
return (React.createElement(React.Fragment, null,
|
|
43
|
-
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 }),
|
|
44
|
-
(hasAvailableOptions || isLoadingMore) && (React.createElement("div", Object.assign({ ref: setPositionedElementRef, className: styles.menu, style: popperStyles.popper }, attributes.popper),
|
|
45
|
-
React.createElement("div", { ref: menuRef, role: "listbox", id: menuId, className: styles.menuList, "data-testid": "chip-menu" },
|
|
46
|
-
allOptions.map((option, i) => (React.createElement("button", { key: option.value, role: "option", type: "button", id: generateDescendantId(i), className: classnames(styles.menuListOption, {
|
|
47
|
-
[styles.activeOption]: activeIndex === i,
|
|
48
|
-
}), onClick: () => handleSelectOption(option), onMouseEnter: handleSetActiveOnMouseOver(i), onMouseDown: handleCancelBlur, onMouseUp: handleEnableBlur },
|
|
49
|
-
React.createElement("span", { "aria-hidden": true }, option.prefix),
|
|
50
|
-
React.createElement(Text, null, option.label)))),
|
|
51
|
-
React.createElement("div", { ref: visibleChildRef }),
|
|
52
|
-
isLoadingMore && (React.createElement("div", { className: styles.loadingIndicator },
|
|
53
|
-
React.createElement(Spinner, { size: "small", inline: true }))))))));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function InternalChipDismissible(props) {
|
|
57
|
-
const { availableChipOptions, ref: wrapperRef, sortedVisibleChipOptions, handleChipAdd, handleChipClick, handleChipKeyDown, handleChipRemove, handleCustomAdd, handleWrapperKeyDown, } = useInternalChipDismissible(props);
|
|
58
|
-
return (React.createElement("div", { ref: wrapperRef, className: styles.wrapper, "data-testid": "dismissible-chips", onKeyDown: handleWrapperKeyDown, role: "listbox" },
|
|
59
|
-
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) }) })))),
|
|
60
|
-
React.createElement(InternalChipDismissibleInput, { activator: props.activator, attachTo: wrapperRef, isLoadingMore: props.isLoadingMore, options: availableChipOptions, onOptionSelect: handleChipAdd, onCustomOptionSelect: handleCustomAdd, onSearch: props.onSearch, onLoadMore: props.onLoadMore })));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export { InternalChipDismissible as I, InternalChip as a };
|