@jobber/components 5.1.3-scottssr-.1 → 5.1.4
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-CFN4brVd.js → AnimatedSwitcher-BneqnN9e.js} +1 -1
- package/dist/{AnimatedSwitcher-BHBITDT9.js → AnimatedSwitcher-D5dnD9dg.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/Autocomplete/index.cjs +18 -18
- package/dist/Autocomplete/index.mjs +18 -18
- package/dist/{Autocomplete-DUQ28nMp.js → Autocomplete-BYpVo1YW.js} +9 -9
- package/dist/{Autocomplete-C7-QLAyb.js → Autocomplete-B_okU-oN.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-CRx6_Si4.js → Avatar-BlqR23fg.js} +1 -1
- package/dist/{Avatar-BjZDomlG.js → Avatar-FmozZS3o.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 +12 -12
- package/dist/Banner/index.mjs +12 -12
- package/dist/{Banner-B1_DnqiM.js → Banner-CJ2Nh7ri.js} +5 -5
- package/dist/{Banner-D4cU8He6.js → Banner-DqkzyTLN.js} +5 -5
- package/dist/{BannerIcon-B6UERMDM.js → BannerIcon-B7KxGWP6.js} +1 -1
- package/dist/{BannerIcon-BF_5pLAP.js → BannerIcon-DMTsMUZ6.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-DMguksfg.js → Button-Bod4aFn9.js} +2 -2
- package/dist/{Button-BV7GOohB.js → Button-C0_-w97z.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-1dcTdGnM.js → ButtonDismiss-CKMVgQn-.js} +1 -1
- package/dist/{ButtonDismiss-D9JeaG1c.js → ButtonDismiss-vU9efGVI.js} +1 -1
- package/dist/Card/index.cjs +9 -9
- package/dist/Card/index.mjs +9 -9
- package/dist/{Card-8H84WunI.js → Card-D9labZO2.js} +3 -3
- package/dist/{Card-aw0gG06r.js → Card-DOTf-VJY.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-C2E5zCDE.js → Checkbox-NZJogd1F.js} +3 -3
- package/dist/{Checkbox--MAa1SNg.js → Checkbox-dna75wKn.js} +3 -3
- package/dist/Chip/hooks/index.cjs +1 -1
- package/dist/Chip/hooks/index.mjs +1 -1
- package/dist/Chip/index.cjs +11 -11
- package/dist/Chip/index.mjs +11 -11
- package/dist/{Chip-ClEJiCCR.js → Chip-CFXow3Tw.js} +6 -6
- package/dist/{Chip-D-wUJgDa.js → Chip-DubBVlsF.js} +6 -6
- package/dist/{ChipDismissible-BBeIEkpS.js → ChipDismissible-BCx9dRdZ.js} +3 -3
- package/dist/{ChipDismissible-BIUa5mlt.js → ChipDismissible-Du1NEDjY.js} +3 -3
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +10 -10
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +10 -10
- package/dist/Chips/InternalChipDismissible/index.cjs +21 -21
- package/dist/Chips/InternalChipDismissible/index.mjs +21 -21
- package/dist/Chips/index.cjs +22 -22
- package/dist/Chips/index.mjs +22 -22
- package/dist/{Chips--iXdhJKq.js → Chips-CJEaCBWi.js} +2 -2
- package/dist/{Chips-DbmC4SL_.js → Chips-CMRICYtM.js} +2 -2
- package/dist/Combobox/components/ComboboxAction/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxAction/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxActivator/index.cjs +13 -13
- package/dist/Combobox/components/ComboboxActivator/index.mjs +13 -13
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +4 -4
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +14 -14
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +2 -2
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +2 -2
- package/dist/Combobox/components/ComboboxContent/index.cjs +21 -21
- package/dist/Combobox/components/ComboboxContent/index.mjs +21 -21
- package/dist/Combobox/components/ComboboxOption/index.cjs +5 -5
- package/dist/Combobox/components/ComboboxOption/index.mjs +5 -5
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +12 -12
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +12 -12
- package/dist/Combobox/index.cjs +38 -38
- package/dist/Combobox/index.mjs +38 -38
- package/dist/{Combobox-fkWhjrDb.js → Combobox-Cha8tdYP.js} +9 -9
- package/dist/{Combobox-Cdzzns06.js → Combobox-NYsSk0O7.js} +9 -9
- package/dist/{ComboboxAction-OGPpS5ey.js → ComboboxAction-D-nnwO_a.js} +2 -2
- package/dist/{ComboboxAction-DDbpCujP.js → ComboboxAction-Lh88--AK.js} +2 -2
- package/dist/{ComboboxActivator-DclaRF63.js → ComboboxActivator-BAheNMsi.js} +4 -4
- package/dist/{ComboboxActivator-C4u6hUk_.js → ComboboxActivator-cm8Smudq.js} +4 -4
- package/dist/{ComboboxContent-BVul4aNz.js → ComboboxContent-Ctj9ckRe.js} +7 -7
- package/dist/{ComboboxContent-C0zpYwe8.js → ComboboxContent-DwLJJtpB.js} +7 -7
- package/dist/{ComboboxContentHeader-CDk7gPea.js → ComboboxContentHeader-BGC826Vr.js} +2 -2
- package/dist/{ComboboxContentHeader-DSLuKi1D.js → ComboboxContentHeader-zEwFhPIP.js} +2 -2
- package/dist/{ComboboxContentList-DSFjQ5Kf.js → ComboboxContentList-BvjTByTt.js} +6 -6
- package/dist/{ComboboxContentList-BZ0jJc6k.js → ComboboxContentList-DQ2lBAvB.js} +6 -6
- package/dist/{ComboboxContentSearch-CfgEyzz6.js → ComboboxContentSearch-C_I3G1EJ.js} +1 -1
- package/dist/{ComboboxContentSearch-DfZOYAqi.js → ComboboxContentSearch-DzDCZWZT.js} +1 -1
- package/dist/{ComboboxLoadMore-CuAfYiXG.js → ComboboxLoadMore-Bw3_D-_t.js} +1 -1
- package/dist/{ComboboxLoadMore-DgTFALBd.js → ComboboxLoadMore-CbIf4jyz.js} +1 -1
- package/dist/{ComboboxOption-B9ZNAtUZ.js → ComboboxOption-Ci_FsI2m.js} +3 -3
- package/dist/{ComboboxOption-Uiv61uq7.js → ComboboxOption-D4774gVe.js} +3 -3
- package/dist/{ComboboxProvider-D5EvPPUS.js → ComboboxProvider-BWjgktjM.js} +1 -1
- package/dist/{ComboboxProvider-C4irCMza.js → ComboboxProvider-v7MU_fcW.js} +1 -1
- package/dist/{ComboboxTrigger-BnUJ5Jcz.js → ComboboxTrigger-C1OsQ6PE.js} +4 -4
- package/dist/{ComboboxTrigger-g-ew7VaB.js → ComboboxTrigger-Ds5Jedww.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-DQ0CO3Mj.js → ConfirmationModal-Vft7LuhN.js} +4 -4
- package/dist/{ConfirmationModal-BvM2QyMh.js → ConfirmationModal-wtlQiuO3.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-Bi4tjE0G.js → Countdown-CH72-Ofy.js} +1 -1
- package/dist/{Countdown-DNAfBNKn.js → Countdown-zRp59WFa.js} +1 -1
- package/dist/DataDump/index.cjs +12 -12
- package/dist/DataDump/index.mjs +12 -12
- package/dist/{DataDump-Dl3CNl6v.js → DataDump-BXkcWQbw.js} +3 -3
- package/dist/{DataDump-KWNwxlXm.js → DataDump-UPTlqWMS.js} +3 -3
- package/dist/DataList/components/DataListAction/index.cjs +4 -4
- package/dist/DataList/components/DataListAction/index.mjs +4 -4
- package/dist/DataList/components/DataListActions/index.cjs +29 -29
- package/dist/DataList/components/DataListActions/index.mjs +29 -29
- package/dist/DataList/components/DataListActionsMenu/index.cjs +7 -7
- package/dist/DataList/components/DataListActionsMenu/index.mjs +7 -7
- package/dist/DataList/components/DataListBulkActions/index.cjs +31 -31
- package/dist/DataList/components/DataListBulkActions/index.mjs +31 -31
- package/dist/DataList/components/DataListEmptyState/index.cjs +9 -9
- package/dist/DataList/components/DataListEmptyState/index.mjs +9 -9
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +40 -40
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +40 -40
- package/dist/DataList/components/DataListFilters/index.cjs +52 -52
- package/dist/DataList/components/DataListFilters/index.mjs +52 -52
- package/dist/DataList/components/DataListHeader/index.cjs +38 -38
- package/dist/DataList/components/DataListHeader/index.mjs +38 -38
- package/dist/DataList/components/DataListHeaderTile/components/index.cjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/components/index.mjs +4 -4
- package/dist/DataList/components/DataListHeaderTile/index.cjs +11 -11
- package/dist/DataList/components/DataListHeaderTile/index.mjs +11 -11
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +6 -6
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +6 -6
- package/dist/DataList/components/DataListItem/index.cjs +37 -37
- package/dist/DataList/components/DataListItem/index.mjs +37 -37
- package/dist/DataList/components/DataListItemActions/index.cjs +30 -30
- package/dist/DataList/components/DataListItemActions/index.mjs +30 -30
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +12 -12
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +12 -12
- package/dist/DataList/components/DataListItems/index.cjs +38 -38
- package/dist/DataList/components/DataListItems/index.mjs +38 -38
- package/dist/DataList/components/DataListLayout/index.cjs +41 -41
- package/dist/DataList/components/DataListLayout/index.mjs +41 -41
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +1 -1
- package/dist/DataList/components/DataListLayoutActions/index.cjs +20 -20
- package/dist/DataList/components/DataListLayoutActions/index.mjs +20 -20
- package/dist/DataList/components/DataListLoadMore/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadMore/index.mjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.cjs +10 -10
- package/dist/DataList/components/DataListLoadingState/index.mjs +10 -10
- package/dist/DataList/components/DataListOverflowFade/index.cjs +2 -2
- package/dist/DataList/components/DataListOverflowFade/index.mjs +2 -2
- package/dist/DataList/components/DataListSearch/index.cjs +19 -19
- package/dist/DataList/components/DataListSearch/index.mjs +19 -19
- package/dist/DataList/components/DataListStatusBar/index.cjs +20 -20
- package/dist/DataList/components/DataListStatusBar/index.mjs +20 -20
- package/dist/DataList/components/DataListStickyHeader/index.cjs +2 -2
- package/dist/DataList/components/DataListStickyHeader/index.mjs +2 -2
- package/dist/DataList/components/DataListTags/index.cjs +4 -4
- package/dist/DataList/components/DataListTags/index.mjs +4 -4
- package/dist/DataList/components/DataListTotalCount/index.cjs +6 -6
- package/dist/DataList/components/DataListTotalCount/index.mjs +6 -6
- package/dist/DataList/context/DataListContext/index.cjs +3 -3
- package/dist/DataList/context/DataListContext/index.mjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.cjs +3 -3
- package/dist/DataList/context/DataListLayoutContext/index.mjs +3 -3
- package/dist/DataList/index.cjs +82 -82
- package/dist/DataList/index.mjs +82 -82
- package/dist/{DataList-Cz8XExEz.js → DataList-CPZa7ZoK.js} +21 -21
- package/dist/{DataList-BsLrsDAV.js → DataList-Dv354hPU.js} +21 -21
- package/dist/{DataList.utils-BklrPY88.js → DataList.utils-BY4T0Ck_.js} +8 -8
- package/dist/{DataList.utils-Cn3aR3s5.js → DataList.utils-DReexdwN.js} +8 -8
- package/dist/{DataListAction-DlZMijVV.js → DataListAction-B9jy7qLA.js} +3 -3
- package/dist/{DataListAction-Bu2x3572.js → DataListAction-BCgkXb1i.js} +3 -3
- package/dist/{DataListActions-Bml6N2G-.js → DataListActions-C-CQYbbd.js} +6 -6
- package/dist/{DataListActions-qgjqJK52.js → DataListActions-CQ4kaPJ4.js} +6 -6
- package/dist/{DataListActionsMenu-COCTvqjM.js → DataListActionsMenu-Biqcstgs.js} +5 -5
- package/dist/{DataListActionsMenu-n4fhkS4b.js → DataListActionsMenu-gYFf1PVA.js} +5 -5
- package/dist/{DataListBulkActions-BoFlzLUK.js → DataListBulkActions-CzeZv9p2.js} +3 -3
- package/dist/{DataListBulkActions-B3H3qIt6.js → DataListBulkActions-SCaGdHV9.js} +3 -3
- package/dist/{DataListContext-CgqF3Qib.js → DataListContext-C_g5TQQ2.js} +1 -1
- package/dist/{DataListContext-CpCyH4v9.js → DataListContext-DMRsu6t3.js} +1 -1
- package/dist/{DataListEmptyState-DXuKf59F.js → DataListEmptyState-8pgMnzIh.js} +4 -4
- package/dist/{DataListEmptyState-BHIYqYru.js → DataListEmptyState-D0C6zD3A.js} +4 -4
- package/dist/{DataListFilters-CyPhlR0Q.js → DataListFilters-D58RDsXU.js} +5 -5
- package/dist/{DataListFilters-BddFsauA.js → DataListFilters-NXcYP52M.js} +5 -5
- package/dist/{DataListHeader-CnWFEQ47.js → DataListHeader-BFWu55bd.js} +11 -11
- package/dist/{DataListHeader-eQ2NxGjC.js → DataListHeader-DlWGXxgc.js} +11 -11
- package/dist/{DataListHeaderTile-CxHZAWjQ.js → DataListHeaderTile-C04YzLzZ.js} +5 -5
- package/dist/{DataListHeaderTile-CpyaArK5.js → DataListHeaderTile-T5hCvJij.js} +5 -5
- package/dist/{DataListItem-DfM8HbVW.js → DataListItem-BRUc40Ve.js} +10 -10
- package/dist/{DataListItem-hUZy-IX5.js → DataListItem-TcnCl8vy.js} +10 -10
- package/dist/{DataListItemActions-DcklvT6R.js → DataListItemActions-DGjMWqYi.js} +2 -2
- package/dist/{DataListItemActions-DGrqyT7m.js → DataListItemActions-eBxV7EaM.js} +2 -2
- package/dist/{DataListItemActionsOverflow-DR9K8LOG.js → DataListItemActionsOverflow-CXA0OXSF.js} +3 -3
- package/dist/{DataListItemActionsOverflow-x6TkXwOW.js → DataListItemActionsOverflow-DqWHL3S7.js} +3 -3
- package/dist/{DataListItemClickable-MjRi7vV9.js → DataListItemClickable-C3B8lehQ.js} +3 -3
- package/dist/{DataListItemClickable-FiGMxJxE.js → DataListItemClickable-DAi-HhMl.js} +3 -3
- package/dist/{DataListItems-DwnE-ODK.js → DataListItems-Difs9Sxf.js} +3 -3
- package/dist/{DataListItems-BVIH6lGB.js → DataListItems-x-CT20do.js} +3 -3
- package/dist/{DataListLayout-BrAguaC9.js → DataListLayout-BjLCErOT.js} +3 -3
- package/dist/{DataListLayout-Bl45cwnM.js → DataListLayout-ClgpsjN6.js} +3 -3
- package/dist/{DataListLayoutActions-p-tlqNPH.js → DataListLayoutActions-D0atyvNs.js} +4 -4
- package/dist/{DataListLayoutActions-DF1sV1i_.js → DataListLayoutActions-jvkJqR4I.js} +4 -4
- package/dist/{DataListLayoutContext-crRWSX_-.js → DataListLayoutContext-CCq7g10W.js} +1 -1
- package/dist/{DataListLayoutContext-3zncNnms.js → DataListLayoutContext-Yv8tGOoI.js} +1 -1
- package/dist/{DataListLoadMore-bVFSXW51.js → DataListLoadMore-D3uoYLvs.js} +5 -5
- package/dist/{DataListLoadMore-DQaU-3Tt.js → DataListLoadMore-NqNkOTPH.js} +5 -5
- package/dist/{DataListLoadingState-DnjiJkFg.js → DataListLoadingState-BB2n48wn.js} +3 -3
- package/dist/{DataListLoadingState-DXAMXYXi.js → DataListLoadingState-BfLYf1PT.js} +3 -3
- package/dist/{DataListOverflowFade-CljMoLJ9.js → DataListOverflowFade-DPC8y_Bz.js} +1 -1
- package/dist/{DataListOverflowFade-CgNKRHW5.js → DataListOverflowFade-wkQsM_Be.js} +1 -1
- package/dist/{DataListSearch-BYoVpBqp.js → DataListSearch-BVJmQwM2.js} +6 -6
- package/dist/{DataListSearch-BmWPz2qA.js → DataListSearch-vSmKUJX9.js} +6 -6
- package/dist/{DataListSort-DB1lYgbP.js → DataListSort-NbvptnVs.js} +6 -6
- package/dist/{DataListSort-C9mGVCFA.js → DataListSort-qIpPGMvC.js} +6 -6
- package/dist/{DataListSortingOptions-C4fxVEu3.js → DataListSortingOptions-CQud5T_B.js} +3 -3
- package/dist/{DataListSortingOptions-xyqqqGA8.js → DataListSortingOptions-DWx-i9y6.js} +3 -3
- package/dist/{DataListStatusBar-BgsRrr9U.js → DataListStatusBar-DDEmK0c6.js} +2 -2
- package/dist/{DataListStatusBar-XmYeIESg.js → DataListStatusBar-DHXJPkxM.js} +2 -2
- package/dist/{DataListStickyHeader-Cv9YV0UB.js → DataListStickyHeader-BDvrnOKw.js} +1 -1
- package/dist/{DataListStickyHeader-B5k67734.js → DataListStickyHeader-DLzrhu3u.js} +1 -1
- package/dist/{DataListTags-DCzcXNbB.js → DataListTags-BhXlQFmC.js} +2 -2
- package/dist/{DataListTags-CCxeBiVU.js → DataListTags-cSYacPC4.js} +2 -2
- package/dist/{DataListTotalCount-DhxYkMUR.js → DataListTotalCount-hzwywXI1.js} +2 -2
- package/dist/{DataListTotalCount-DTkOqSbB.js → DataListTotalCount-p0-2_B9h.js} +2 -2
- package/dist/DataTable/index.cjs +18 -18
- package/dist/DataTable/index.mjs +18 -18
- package/dist/DataTable/test-utilities/index.cjs +6 -6
- package/dist/DataTable/test-utilities/index.mjs +6 -6
- package/dist/{DataTable-c8b608GX.js → DataTable-85D_ExOs.js} +6 -6
- package/dist/{DataTable-BdqcRZkY.js → DataTable-BhDmYxb0.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-DXMVbFvJ.js → DatePicker-B4yH5k6p.js} +11 -11
- package/dist/{DatePicker-BhaFcwdL.js → DatePicker-cMXU7pBn.js} +11 -11
- package/dist/{DayOfMonthSelect-t8LSqk7L.js → DayOfMonthSelect-DpSgpZar.js} +2 -2
- package/dist/{DayOfMonthSelect-DrdE3Lbh.js → DayOfMonthSelect-RUYjxn-f.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-CdGPnf8Z.js → DescriptionList-CQSaqo2Y.js} +1 -1
- package/dist/{DescriptionList-DRJ1NqI3.js → DescriptionList-Cagm1V8N.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-cIJmDN3n.js → Disclosure-VMn3WA9v.js} +3 -3
- package/dist/{Disclosure-Bf_Hrdk1.js → Disclosure-bEhn2I3g.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-BOv2HoBI.js → DrawerGrid-BgwS5dAY.js} +2 -2
- package/dist/{DrawerGrid-DZ21KpWq.js → DrawerGrid-CWzPkFGC.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-9uhCIvsf.js → Emphasis-DC_7T3MT.js} +1 -1
- package/dist/{Emphasis-BvSXoZjm.js → Emphasis-DDtXFaNx.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-CU_HBzLt.js → FeatureSwitch-DCzdSdZG.js} +7 -7
- package/dist/{FeatureSwitch-CHumtCwW.js → FeatureSwitch-XYt0ZcnW.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-Dkc3m7bS.js → Form-D6iFHmqH.js} +1 -1
- package/dist/{Form-7VJ7YawJ.js → Form-Hha9EQds.js} +1 -1
- package/dist/FormField/index.cjs +8 -8
- package/dist/FormField/index.mjs +8 -8
- package/dist/{FormField-DqnVEP6B.js → FormField-B2pEYzXN.js} +7 -7
- package/dist/{FormField-CxalppQq.js → FormField-Dvmv1POw.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-Ba4Kv76s.js → FormatFile-B1iQjf6_.js} +7 -7
- package/dist/{FormatFile-wekpR3Gf.js → FormatFile-O3rAauz2.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-CUsYTC7U.js → Gallery-C-oREXkT.js} +3 -3
- package/dist/{Gallery-C_FI2tjE.js → Gallery-DS4F92wo.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-Bv-6DpN7.js → Glimmer--Ok-ubpL.js} +2 -2
- package/dist/{Glimmer-CLIWip6N.js → Glimmer-BrRrwToC.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-DEqu5j6F.js → Grid-B84m1drW.js} +2 -2
- package/dist/{Grid-BtLDmnSf.js → Grid-D4oBEa7f.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-CgDWT2Vn.js → Heading-BP3ePAqE.js} +1 -1
- package/dist/{Heading-Duw1LbWZ.js → Heading-mic_1hUp.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-Ba9neCfx.js → InlineLabel-C1v-Yi7K.js} +1 -1
- package/dist/{InlineLabel-ChQ4krU7.js → InlineLabel-CccZCtfb.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-BtjJb0s1.js → InputAvatar-B2at-FTk.js} +5 -5
- package/dist/{InputAvatar-Bfg_5DVV.js → InputAvatar-DmnmaxO0.js} +5 -5
- package/dist/InputDate/index.cjs +20 -20
- package/dist/InputDate/index.mjs +20 -20
- package/dist/{InputDate-BC3xBjrF.js → InputDate-3rGt5bU3.js} +2 -2
- package/dist/{InputDate-Blmv5nqf.js → InputDate-L8enLkTi.js} +2 -2
- package/dist/InputEmail/index.cjs +9 -9
- package/dist/InputEmail/index.mjs +9 -9
- package/dist/{InputEmail-ByBguHnv.js → InputEmail-BamH11zS.js} +1 -1
- package/dist/{InputEmail-D-lJehNg.js → InputEmail-hAXmyolr.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-17w_LVo5.js → InputFile-BCiq_1lT.js} +6 -6
- package/dist/{InputFile-C7MKk0ub.js → InputFile-Ly4f8J9f.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +9 -9
- package/dist/InputNumber/index.mjs +9 -9
- package/dist/{InputNumber-ShoXf9jL.js → InputNumber-BR5KzAHd.js} +1 -1
- package/dist/{InputNumber-BFKmk-Ge.js → InputNumber-Bw78za8b.js} +1 -1
- package/dist/InputPassword/index.cjs +9 -9
- package/dist/InputPassword/index.mjs +9 -9
- package/dist/{InputPassword-DcCGSVld.js → InputPassword-CHVJiUXU.js} +1 -1
- package/dist/{InputPassword-MDTwCFVf.js → InputPassword-jLRqyqpL.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +9 -9
- package/dist/InputPhoneNumber/index.mjs +9 -9
- package/dist/{InputPhoneNumber-D9nQNk4C.js → InputPhoneNumber-B4ZmeqxX.js} +2 -2
- package/dist/{InputPhoneNumber-DXohSlPC.js → InputPhoneNumber-BlAIvJrx.js} +2 -2
- package/dist/InputText/index.cjs +10 -10
- package/dist/InputText/index.mjs +10 -10
- package/dist/{InputText-i-X9qDzZ.js → InputText-CF6xpJ8p.js} +2 -2
- package/dist/{InputText-DLziCcUe.js → InputText-aNeefwL8.js} +2 -2
- package/dist/InputTime/index.cjs +13 -13
- package/dist/InputTime/index.mjs +13 -13
- package/dist/{InputTime-J9-59L2h.js → InputTime-CWT3lQqp.js} +3 -3
- package/dist/{InputTime-DKqSxwkN.js → InputTime-CvMtBK25.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-DmLKguLT.js → InputValidation-BqQpdPga.js} +2 -2
- package/dist/{InputValidation-Ds-dMoD-.js → InputValidation-DnpnKUpS.js} +2 -2
- package/dist/{InternalChipDismissible-DeEvB6Tx.js → InternalChipDismissible-BIahlrxv.js} +11 -11
- package/dist/{InternalChipDismissible-DcuturFC.js → InternalChipDismissible-CtdChw39.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-DTz3PXtr.js → LightBox-CSQ78Ven.js} +7 -7
- package/dist/{LightBox-BdfqIb3z.js → LightBox-Dw9GGgOs.js} +7 -7
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/List/index.cjs +17 -17
- package/dist/List/index.mjs +17 -17
- package/dist/{List-CVATHrQV.js → List-DVBAo6Vm.js} +10 -10
- package/dist/{List-2yLwKCsF.js → List-ot-5hC7e.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-BhZ7uBsL.js → Markdown-BhWHoKon.js} +7 -7
- package/dist/{Markdown-Dyw3AiVB.js → Markdown-DdcxJ9ey.js} +7 -7
- package/dist/Menu/index.cjs +7 -7
- package/dist/Menu/index.mjs +7 -7
- package/dist/{Menu-DLZ7Rahi.js → Menu-BA8O5VPz.js} +6 -6
- package/dist/{Menu-DZs1FWxW.js → Menu-D0kD231u.js} +6 -6
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-B44QJcXx.js → Modal-DJDJwv1z.js} +6 -6
- package/dist/{Modal-BZENYoYv.js → Modal-DhboOzPL.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-B5hpmvQ9.js → MultiSelect-BIH5DEHc.js} +3 -3
- package/dist/{MultiSelect-BrJ9-lSK.js → MultiSelect-CV5UsxhM.js} +3 -3
- package/dist/{Option-CIsDWiFp.js → Option-Cp6YdoWo.js} +1 -1
- package/dist/{Option-7hgHwaEZ.js → Option-DyVSD7gk.js} +1 -1
- package/dist/Page/index.cjs +20 -20
- package/dist/Page/index.mjs +20 -20
- package/dist/{Page-zx1HEm0K.js → Page-BuboNGHG.js} +8 -8
- package/dist/{Page-BHqD2Fs9.js → Page-NhGv1k2u.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-DliV8Geu.js → Popover-BBzePwMp.js} +2 -2
- package/dist/{Popover-jbm6aRzW.js → Popover-CdbcVa3n.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-YTT2H7Iy.js → RadioGroup-09MepqUs.js} +1 -1
- package/dist/{RadioGroup-qZRNH9X0.js → RadioGroup-C9lCeUhj.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +15 -15
- package/dist/RecurringSelect/index.mjs +15 -15
- package/dist/{RecurringSelect-QVRgksHX.js → RecurringSelect-5l_OUNkt.js} +6 -6
- package/dist/{RecurringSelect-DZ4J0LGq.js → RecurringSelect-wkEdcnf_.js} +6 -6
- package/dist/Select/index.cjs +9 -9
- package/dist/Select/index.mjs +9 -9
- 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-DEtLI3MC.js → StatusLabel-CMMvjdgW.js} +2 -2
- package/dist/{StatusLabel-Cq1gI1Ra.js → StatusLabel-W5VaUsGB.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-DA1w3H7J.js → Switch-DeFFm66y.js} +1 -1
- package/dist/{Switch-r-48wSig.js → Switch-DyADuCY_.js} +1 -1
- package/dist/Table/index.cjs +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.cjs +2 -2
- package/dist/Tabs/index.mjs +2 -2
- package/dist/{Tabs-U_mkzigt.js → Tabs-BUTIyiUX.js} +1 -1
- package/dist/{Tabs-DTnv0Y8v.js → Tabs-N_VVBHqa.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-DAgWH55Q.js → Text-CyhSs2Zc.js} +1 -1
- package/dist/{Text-DJhSuoKR.js → Text-ha-x66Bl.js} +1 -1
- package/dist/Toast/index.cjs +8 -93
- package/dist/Toast/index.mjs +7 -96
- package/dist/Tooltip/index.cjs +3 -3
- package/dist/Tooltip/index.mjs +3 -3
- package/dist/{Tooltip-BYMOmoZK.js → Tooltip-B5LpbUNg.js} +3 -3
- package/dist/{Tooltip-Dy7mtLqq.js → Tooltip-B6bfrPj2.js} +3 -3
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-B9VeJuGH.js → _baseAssignValue-DA68Z_3V.js} +1 -1
- package/dist/{_baseAssignValue-BmbJiSYM.js → _baseAssignValue-DBAC3KpX.js} +1 -1
- package/dist/{_baseEach-CZe3tJDZ.js → _baseEach-BRGylvgO.js} +4 -4
- package/dist/{_baseEach-BpDfnDGD.js → _baseEach-CHT0w-eL.js} +4 -4
- package/dist/{_defineProperty-DAG-4gXq.js → _defineProperty-DxVU8Ksz.js} +3 -3
- package/dist/{_defineProperty-Cd5sv79F.js → _defineProperty-U_KziJ5Z.js} +3 -3
- package/dist/{_getTag-u5QJizVJ.js → _getTag-DMU3tqpY.js} +1 -1
- package/dist/{_getTag-DuENwwhN.js → _getTag-DN26lOQL.js} +1 -1
- package/dist/{_setToString-CVjg5S9r.js → _setToString-D5SkDZ6r.js} +3 -3
- package/dist/{_setToString-CRDatvo_.js → _setToString-DB7P-HZX.js} +3 -3
- package/dist/{debounce-BKbQcHIO.js → debounce-C6ZfzyIf.js} +3 -3
- package/dist/{debounce-Cn_nOUaP.js → debounce-nK8tPN3_.js} +3 -3
- package/dist/{helpers-D-n-bndJ.js → helpers-hrflQNM-.js} +1 -1
- package/dist/{helpers-DmW7coPZ.js → helpers-qWqLL9tb.js} +1 -1
- package/dist/{index-BPXzx5LM.js → index-IxKIcjLK.js} +1 -1
- package/dist/{index-DOZFWsBE.js → index-nJ_QmkOM.js} +1 -1
- package/dist/index.cjs +148 -145
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +147 -145
- package/dist/{isObjectLike-Bm3kzduZ.js → isObjectLike-2fhNnGPz.js} +1 -1
- package/dist/{isObjectLike-CnAaaEk1.js → isObjectLike-DiXX2xWy.js} +1 -1
- package/dist/{isSymbol-B9T59lk5.js → isSymbol-3zjkjWC0.js} +1 -1
- package/dist/{isSymbol-CGBBSYjP.js → isSymbol-DxEnSeTx.js} +1 -1
- package/dist/{noop-BSJblT3b.js → noop-BTFFbF2U.js} +1 -1
- package/dist/{noop-CEZ6ZgdB.js → noop-i4mYSbDl.js} +1 -1
- package/dist/showToast-BLO_vX7y.js +96 -0
- package/dist/showToast-Cs6Hi7JB.js +98 -0
- package/dist/styles.css +85 -83
- package/dist/{useActiveLayout-CHkUBX4-.js → useActiveLayout-DWEq1yCU.js} +2 -2
- package/dist/{useActiveLayout-mamDiV2w.js → useActiveLayout-pK3kqOkB.js} +2 -2
- package/dist/{useAssert-BKQJz5Ej.js → useAssert-D4bR-RWM.js} +2 -2
- package/dist/{useAssert-Dsu_ZHbo.js → useAssert-DR0CRBvc.js} +2 -2
- package/dist/{useBatchSelect-Bf9bWpfa.js → useBatchSelect-C27OkV3m.js} +1 -1
- package/dist/{useBatchSelect-BAJ5nvz9.js → useBatchSelect-D7twIwgs.js} +1 -1
- package/dist/{useIsMounted-BZ_Hh7Yn.js → useIsMounted-4L0Wg2jn.js} +1 -1
- package/dist/{useIsMounted-0avWQwsv.js → useIsMounted-B8Oz9QnI.js} +1 -1
- package/dist/{useResizeObserver-PYWVfauh.js → useResizeObserver-B3ncXZk_.js} +3 -3
- package/dist/{useResizeObserver-mIQ467lg.js → useResizeObserver-g89_A7gf.js} +3 -3
- package/dist/{useResponsiveSizing-GBU4tbQY.js → useResponsiveSizing-CVZfj_Zz.js} +1 -1
- package/dist/{useResponsiveSizing-DeyOUKyg.js → useResponsiveSizing-g-Gg9oSA.js} +1 -1
- package/dist/{useScrollToActive-CNrZkpaG.js → useScrollToActive-CTt2Or_l.js} +9 -9
- package/dist/{useScrollToActive-9JqoefSr.js → useScrollToActive-CWVFo17g.js} +9 -9
- package/package.json +2 -2
- /package/dist/{AnimatedPresence-Da9CCGLc.js → AnimatedPresence-CKVOKP3f.js} +0 -0
- /package/dist/{AnimatedPresence-IqEu8uUA.js → AnimatedPresence-SytuY_Ss.js} +0 -0
- /package/dist/{AtlantisContext-Db-UjjtV.js → AtlantisContext-D7EjYvCD.js} +0 -0
- /package/dist/{AtlantisContext-CP2q-9W8.js → AtlantisContext-os_3TibH.js} +0 -0
- /package/dist/{Body-BUScojSS.js → Body-DulfpL3N.js} +0 -0
- /package/dist/{Body-DmouwMaY.js → Body-IDs8IkBI.js} +0 -0
- /package/dist/{Content-DZWmN67k.js → Content-BXz8eyrE.js} +0 -0
- /package/dist/{Content-BNOHyiPU.js → Content-TajDqDqn.js} +0 -0
- /package/dist/{DataList-DuiIx6KN.js → DataList-D0gBrALh.js} +0 -0
- /package/dist/{DataList-D8vPHQ5F.js → DataList-sgPxamrQ.js} +0 -0
- /package/dist/{DataList.const-DVsbupRd.js → DataList.const-BF4kbOOb.js} +0 -0
- /package/dist/{DataList.const-CMLfPmqY.js → DataList.const-pZixpeBz.js} +0 -0
- /package/dist/{DataListLayoutContext-BSh2oSsT.js → DataListLayoutContext-9yyB4WF8.js} +0 -0
- /package/dist/{DataListLayoutContext-0rEb3hG6.js → DataListLayoutContext-DJLn6FyF.js} +0 -0
- /package/dist/{Divider-CzY6NLcF.js → Divider-BvTSiiXA.js} +0 -0
- /package/dist/{Divider-C0SDhkC4.js → Divider-CyOFweyF.js} +0 -0
- /package/dist/{Flex-CSNHBJCw.js → Flex-BDfMdexN.js} +0 -0
- /package/dist/{Flex-D8jbZrUJ.js → Flex-Ib3zOcHZ.js} +0 -0
- /package/dist/{FormatDate-BJ5kBbWA.js → FormatDate-BOBURnUz.js} +0 -0
- /package/dist/{FormatDate-C6h_MK1W.js → FormatDate-DPjy2J35.js} +0 -0
- /package/dist/{FormatEmail-Da54ppqY.js → FormatEmail-B--TZDlZ.js} +0 -0
- /package/dist/{FormatEmail-Cjz8rZG6.js → FormatEmail-DYj-RPV_.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DazBLKjI.js → FormatRelativeDateTime-ClR4XDKl.js} +0 -0
- /package/dist/{FormatRelativeDateTime-BbDFvFRv.js → FormatRelativeDateTime-DnzqSyCk.js} +0 -0
- /package/dist/{FormatTime-CSn-xXUl.js → FormatTime-AEuhA_zQ.js} +0 -0
- /package/dist/{FormatTime-CK0mRHMF.js → FormatTime-DnL41Ud3.js} +0 -0
- /package/dist/{Icon-D2ge9gX0.js → Icon-CqIXt_h2.js} +0 -0
- /package/dist/{Icon-h50NfRVA.js → Icon-DkziW-2D.js} +0 -0
- /package/dist/{InputGroup-CdtW4ARP.js → InputGroup-DVsBOAwB.js} +0 -0
- /package/dist/{InputGroup-D6N3XbXm.js → InputGroup-Dtjuzmlp.js} +0 -0
- /package/dist/{InternalGridCell-CYcw6Rlq.js → InternalGridCell-BNodksMt.js} +0 -0
- /package/dist/{InternalGridCell-Dv3XVsSq.js → InternalGridCell-BOIdUHAQ.js} +0 -0
- /package/dist/{Link-6Qnk6aZ-.js → Link-DKemJ1v8.js} +0 -0
- /package/dist/{Link-BtnInZde.js → Link-LoOd6IgH.js} +0 -0
- /package/dist/{ProgressBar-DWqnRPP5.js → ProgressBar-WMEQqo4p.js} +0 -0
- /package/dist/{ProgressBar-ltJdvFN-.js → ProgressBar-foDJUjsy.js} +0 -0
- /package/dist/{Spinner-Dabk0tJw.js → Spinner-CYMeN0Fh.js} +0 -0
- /package/dist/{Spinner-Bjwg8ID8.js → Spinner-Cvo7CrDs.js} +0 -0
- /package/dist/{StatusIndicator-BYRK0hSU.js → StatusIndicator-B1QdRKuP.js} +0 -0
- /package/dist/{StatusIndicator-CirtIL-P.js → StatusIndicator-PLBErKNm.js} +0 -0
- /package/dist/{Typography-coQuYNi1.js → Typography-DLWC7ZXM.js} +0 -0
- /package/dist/{Typography-DvuJPpAt.js → Typography-DML6tnyc.js} +0 -0
- /package/dist/{_commonjsHelpers-BE7ts0dL.js → _commonjsHelpers-ZwCII1KZ.js} +0 -0
- /package/dist/{_commonjsHelpers-BwBMQa7C.js → _commonjsHelpers-wR_coaIm.js} +0 -0
- /package/dist/{_polyfill-node.process-DbT-3LDT.js → _polyfill-node.process-DERiTOE4.js} +0 -0
- /package/dist/{_polyfill-node.process-BqKfCqhe.js → _polyfill-node.process-DbS8i7wf.js} +0 -0
- /package/dist/{tslib.es6-B8xwFsbq.js → tslib.es6-CdmQTAL_.js} +0 -0
- /package/dist/{tslib.es6-BHGF8DMV.js → tslib.es6-Ce99Rq9s.js} +0 -0
- /package/dist/{useChildComponent-BMGQGJ6g.js → useChildComponent-D-rPtefo.js} +0 -0
- /package/dist/{useChildComponent-1Gx1jK8q.js → useChildComponent-fszLI2oQ.js} +0 -0
- /package/dist/{useFocusTrap-CdpTZ1GR.js → useFocusTrap-CTR7OT1Q.js} +0 -0
- /package/dist/{useFocusTrap-C-CZLBaz.js → useFocusTrap-CqwMtTd7.js} +0 -0
- /package/dist/{useInView-Quo6cI8h.js → useInView-QVOshTHK.js} +0 -0
- /package/dist/{useInView-CHqYb6nn.js → useInView-dwGQM64c.js} +0 -0
- /package/dist/{useOnKeyDown-CPp35lko.js → useOnKeyDown-B11Vc-zB.js} +0 -0
- /package/dist/{useOnKeyDown-DmmcoBSb.js → useOnKeyDown-DA-htMNQ.js} +0 -0
- /package/dist/{useRefocusOnActivator-CIfxfvAz.js → useRefocusOnActivator-CMzO_eT9.js} +0 -0
- /package/dist/{useRefocusOnActivator-CE5XvkFt.js → useRefocusOnActivator-Ddo0W3qm.js} +0 -0
- /package/dist/{useSafeLayoutEffect-C0rJH4wN.js → useSafeLayoutEffect-DjaPMhn2.js} +0 -0
- /package/dist/{useSafeLayoutEffect-B7hCr4ep.js → useSafeLayoutEffect-G3QLfyzl.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var DayOfMonthSelect = require('../../DayOfMonthSelect-
|
|
3
|
+
var DayOfMonthSelect = require('../../DayOfMonthSelect-RUYjxn-f.js');
|
|
4
4
|
require('react');
|
|
5
|
-
require('../../RadioGroup-
|
|
6
|
-
require('../../Text-
|
|
7
|
-
require('../../Typography-
|
|
5
|
+
require('../../RadioGroup-09MepqUs.js');
|
|
6
|
+
require('../../Text-ha-x66Bl.js');
|
|
7
|
+
require('../../Typography-DLWC7ZXM.js');
|
|
8
8
|
require('classnames');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as DayOfMonthSelect, b as MonthlyDayOfWeekSelect, M as MonthlySelect, a as WeeklySelect } from '../../DayOfMonthSelect-
|
|
1
|
+
export { c as DayOfMonthSelect, b as MonthlyDayOfWeekSelect, M as MonthlySelect, a as WeeklySelect } from '../../DayOfMonthSelect-DpSgpZar.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../../RadioGroup-
|
|
4
|
-
import '../../Text-
|
|
5
|
-
import '../../Typography-
|
|
3
|
+
import '../../RadioGroup-C9lCeUhj.js';
|
|
4
|
+
import '../../Text-CyhSs2Zc.js';
|
|
5
|
+
import '../../Typography-DML6tnyc.js';
|
|
6
6
|
import 'classnames';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var RecurringSelect = require('../RecurringSelect-
|
|
4
|
-
var DayOfMonthSelect = require('../DayOfMonthSelect-
|
|
3
|
+
var RecurringSelect = require('../RecurringSelect-wkEdcnf_.js');
|
|
4
|
+
var DayOfMonthSelect = require('../DayOfMonthSelect-RUYjxn-f.js');
|
|
5
5
|
require('react');
|
|
6
|
-
require('../Text-
|
|
7
|
-
require('../Typography-
|
|
6
|
+
require('../Text-ha-x66Bl.js');
|
|
7
|
+
require('../Typography-DLWC7ZXM.js');
|
|
8
8
|
require('classnames');
|
|
9
|
-
require('../Option-
|
|
10
|
-
require('../FormField-
|
|
11
|
-
require('../tslib.es6-
|
|
9
|
+
require('../Option-Cp6YdoWo.js');
|
|
10
|
+
require('../FormField-Dvmv1POw.js');
|
|
11
|
+
require('../tslib.es6-Ce99Rq9s.js');
|
|
12
12
|
require('react-hook-form');
|
|
13
|
-
require('../Button-
|
|
13
|
+
require('../Button-Bod4aFn9.js');
|
|
14
14
|
require('react-router-dom');
|
|
15
|
-
require('../Icon-
|
|
15
|
+
require('../Icon-DkziW-2D.js');
|
|
16
16
|
require('@jobber/design');
|
|
17
|
-
require('../InputValidation-
|
|
17
|
+
require('../InputValidation-BqQpdPga.js');
|
|
18
18
|
require('framer-motion');
|
|
19
|
-
require('../Spinner-
|
|
20
|
-
require('../InputNumber-
|
|
21
|
-
require('../InputGroup-
|
|
22
|
-
require('../Content-
|
|
23
|
-
require('../RadioGroup-
|
|
19
|
+
require('../Spinner-CYMeN0Fh.js');
|
|
20
|
+
require('../InputNumber-Bw78za8b.js');
|
|
21
|
+
require('../InputGroup-DVsBOAwB.js');
|
|
22
|
+
require('../Content-BXz8eyrE.js');
|
|
23
|
+
require('../RadioGroup-09MepqUs.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { R as RecurringSelect } from '../RecurringSelect-
|
|
2
|
-
export { D as DurationPeriod, W as WeekDay } from '../DayOfMonthSelect-
|
|
1
|
+
export { R as RecurringSelect } from '../RecurringSelect-5l_OUNkt.js';
|
|
2
|
+
export { D as DurationPeriod, W as WeekDay } from '../DayOfMonthSelect-DpSgpZar.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../Text-
|
|
5
|
-
import '../Typography-
|
|
4
|
+
import '../Text-CyhSs2Zc.js';
|
|
5
|
+
import '../Typography-DML6tnyc.js';
|
|
6
6
|
import 'classnames';
|
|
7
|
-
import '../Option-
|
|
8
|
-
import '../FormField-
|
|
9
|
-
import '../tslib.es6-
|
|
7
|
+
import '../Option-DyVSD7gk.js';
|
|
8
|
+
import '../FormField-B2pEYzXN.js';
|
|
9
|
+
import '../tslib.es6-CdmQTAL_.js';
|
|
10
10
|
import 'react-hook-form';
|
|
11
|
-
import '../Button-
|
|
11
|
+
import '../Button-C0_-w97z.js';
|
|
12
12
|
import 'react-router-dom';
|
|
13
|
-
import '../Icon-
|
|
13
|
+
import '../Icon-CqIXt_h2.js';
|
|
14
14
|
import '@jobber/design';
|
|
15
|
-
import '../InputValidation-
|
|
15
|
+
import '../InputValidation-DnpnKUpS.js';
|
|
16
16
|
import 'framer-motion';
|
|
17
|
-
import '../Spinner-
|
|
18
|
-
import '../InputNumber-
|
|
19
|
-
import '../InputGroup-
|
|
20
|
-
import '../Content-
|
|
21
|
-
import '../RadioGroup-
|
|
17
|
+
import '../Spinner-Cvo7CrDs.js';
|
|
18
|
+
import '../InputNumber-BR5KzAHd.js';
|
|
19
|
+
import '../InputGroup-Dtjuzmlp.js';
|
|
20
|
+
import '../Content-TajDqDqn.js';
|
|
21
|
+
import '../RadioGroup-C9lCeUhj.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { D as DurationPeriod, c as DayOfMonthSelect, b as MonthlyDayOfWeekSelect, a as WeeklySelect, i as isMonthly, M as MonthlySelect, t as typeInitialStateMap } from './DayOfMonthSelect-
|
|
3
|
-
import { T as Text } from './Text-
|
|
2
|
+
import { D as DurationPeriod, c as DayOfMonthSelect, b as MonthlyDayOfWeekSelect, a as WeeklySelect, i as isMonthly, M as MonthlySelect, t as typeInitialStateMap } from './DayOfMonthSelect-DpSgpZar.js';
|
|
3
|
+
import { T as Text } from './Text-CyhSs2Zc.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import { S as Select, a as SelectOption } from './Option-
|
|
6
|
-
import { I as InputNumber } from './InputNumber-
|
|
7
|
-
import { I as InputGroup } from './InputGroup-
|
|
8
|
-
import { C as Content } from './Content-
|
|
5
|
+
import { S as Select, a as SelectOption } from './Option-DyVSD7gk.js';
|
|
6
|
+
import { I as InputNumber } from './InputNumber-BR5KzAHd.js';
|
|
7
|
+
import { I as InputGroup } from './InputGroup-Dtjuzmlp.js';
|
|
8
|
+
import { C as Content } from './Content-TajDqDqn.js';
|
|
9
9
|
|
|
10
10
|
function CurrentRecurrenceComponent({ recurrenceRule, disabled = false, onChange, }) {
|
|
11
11
|
switch (recurrenceRule.type) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var DayOfMonthSelect = require('./DayOfMonthSelect-
|
|
5
|
-
var Text = require('./Text-
|
|
4
|
+
var DayOfMonthSelect = require('./DayOfMonthSelect-RUYjxn-f.js');
|
|
5
|
+
var Text = require('./Text-ha-x66Bl.js');
|
|
6
6
|
require('classnames');
|
|
7
|
-
var Option = require('./Option-
|
|
8
|
-
var InputNumber = require('./InputNumber-
|
|
9
|
-
var InputGroup = require('./InputGroup-
|
|
10
|
-
var Content = require('./Content-
|
|
7
|
+
var Option = require('./Option-Cp6YdoWo.js');
|
|
8
|
+
var InputNumber = require('./InputNumber-Bw78za8b.js');
|
|
9
|
+
var InputGroup = require('./InputGroup-DVsBOAwB.js');
|
|
10
|
+
var Content = require('./Content-BXz8eyrE.js');
|
|
11
11
|
|
|
12
12
|
function CurrentRecurrenceComponent({ recurrenceRule, disabled = false, onChange, }) {
|
|
13
13
|
switch (recurrenceRule.type) {
|
package/dist/Select/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Option = require('../Option-
|
|
3
|
+
var Option = require('../Option-Cp6YdoWo.js');
|
|
4
4
|
require('react');
|
|
5
|
-
require('../FormField-
|
|
6
|
-
require('../tslib.es6-
|
|
5
|
+
require('../FormField-Dvmv1POw.js');
|
|
6
|
+
require('../tslib.es6-Ce99Rq9s.js');
|
|
7
7
|
require('react-hook-form');
|
|
8
8
|
require('classnames');
|
|
9
|
-
require('../Button-
|
|
9
|
+
require('../Button-Bod4aFn9.js');
|
|
10
10
|
require('react-router-dom');
|
|
11
|
-
require('../Icon-
|
|
11
|
+
require('../Icon-DkziW-2D.js');
|
|
12
12
|
require('@jobber/design');
|
|
13
|
-
require('../Typography-
|
|
14
|
-
require('../Text-
|
|
15
|
-
require('../InputValidation-
|
|
13
|
+
require('../Typography-DLWC7ZXM.js');
|
|
14
|
+
require('../Text-ha-x66Bl.js');
|
|
15
|
+
require('../InputValidation-BqQpdPga.js');
|
|
16
16
|
require('framer-motion');
|
|
17
|
-
require('../Spinner-
|
|
17
|
+
require('../Spinner-CYMeN0Fh.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
package/dist/Select/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { a as Option, S as Select } from '../Option-
|
|
1
|
+
export { a as Option, S as Select } from '../Option-DyVSD7gk.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../FormField-
|
|
4
|
-
import '../tslib.es6-
|
|
3
|
+
import '../FormField-B2pEYzXN.js';
|
|
4
|
+
import '../tslib.es6-CdmQTAL_.js';
|
|
5
5
|
import 'react-hook-form';
|
|
6
6
|
import 'classnames';
|
|
7
|
-
import '../Button-
|
|
7
|
+
import '../Button-C0_-w97z.js';
|
|
8
8
|
import 'react-router-dom';
|
|
9
|
-
import '../Icon-
|
|
9
|
+
import '../Icon-CqIXt_h2.js';
|
|
10
10
|
import '@jobber/design';
|
|
11
|
-
import '../Typography-
|
|
12
|
-
import '../Text-
|
|
13
|
-
import '../InputValidation-
|
|
11
|
+
import '../Typography-DML6tnyc.js';
|
|
12
|
+
import '../Text-CyhSs2Zc.js';
|
|
13
|
+
import '../InputValidation-DnpnKUpS.js';
|
|
14
14
|
import 'framer-motion';
|
|
15
|
-
import '../Spinner-
|
|
15
|
+
import '../Spinner-Cvo7CrDs.js';
|
package/dist/Spinner/index.cjs
CHANGED
package/dist/Spinner/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { S as StatusIndicator } from '../StatusIndicator-
|
|
1
|
+
export { S as StatusIndicator } from '../StatusIndicator-PLBErKNm.js';
|
|
2
2
|
import 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var StatusLabel = require('../StatusLabel-
|
|
3
|
+
var StatusLabel = require('../StatusLabel-CMMvjdgW.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
|
-
require('../Typography-
|
|
7
|
-
require('../StatusIndicator-
|
|
6
|
+
require('../Typography-DLWC7ZXM.js');
|
|
7
|
+
require('../StatusIndicator-B1QdRKuP.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { S as StatusLabel } from '../StatusLabel-
|
|
1
|
+
export { S as StatusLabel } from '../StatusLabel-W5VaUsGB.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../Typography-
|
|
5
|
-
import '../StatusIndicator-
|
|
4
|
+
import '../Typography-DML6tnyc.js';
|
|
5
|
+
import '../StatusIndicator-PLBErKNm.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var Typography = require('./Typography-
|
|
6
|
-
var StatusIndicator = require('./StatusIndicator-
|
|
5
|
+
var Typography = require('./Typography-DLWC7ZXM.js');
|
|
6
|
+
var StatusIndicator = require('./StatusIndicator-B1QdRKuP.js');
|
|
7
7
|
|
|
8
8
|
var styles = {"success":"WBxCEgPiC98-","warning":"ok6hVljkqSE-","critical":"-YTFHnzpkRE-","inactive":"_2F0I59nddP8-","informative":"BQd6Hylvxh0-","statusLabelRow":"MB0ycTR4PHg-","labelTextEndAligned":"_0kNfkSPBETw-","statusIndicatorWrapper":"NYMNxZSup30-"};
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { T as Typography } from './Typography-
|
|
4
|
-
import { S as StatusIndicator } from './StatusIndicator-
|
|
3
|
+
import { T as Typography } from './Typography-DML6tnyc.js';
|
|
4
|
+
import { S as StatusIndicator } from './StatusIndicator-PLBErKNm.js';
|
|
5
5
|
|
|
6
6
|
var styles = {"success":"WBxCEgPiC98-","warning":"ok6hVljkqSE-","critical":"-YTFHnzpkRE-","inactive":"_2F0I59nddP8-","informative":"BQd6Hylvxh0-","statusLabelRow":"MB0ycTR4PHg-","labelTextEndAligned":"_0kNfkSPBETw-","statusIndicatorWrapper":"NYMNxZSup30-"};
|
|
7
7
|
|
package/dist/Switch/index.cjs
CHANGED
package/dist/Switch/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { T as Typography } from './Typography-
|
|
3
|
+
import { T as Typography } from './Typography-DML6tnyc.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"track":"NaSI2jsLI0c-","isChecked":"HbAoDMJhkwY-","toggle":"cc259FtdxeE-","label":"YZ-HIehHOBA-","pip":"_2hxova2FHpM-","disabled":"_6hWvJHjyLlk-"};
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var Typography = require('./Typography-
|
|
5
|
+
var Typography = require('./Typography-DLWC7ZXM.js');
|
|
6
6
|
|
|
7
7
|
var styles = {"track":"NaSI2jsLI0c-","isChecked":"HbAoDMJhkwY-","toggle":"cc259FtdxeE-","label":"YZ-HIehHOBA-","pip":"_2hxova2FHpM-","disabled":"_6hWvJHjyLlk-"};
|
|
8
8
|
|
package/dist/Table/index.cjs
CHANGED
package/dist/Table/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as Body, C as Cell, b as CellCurrency, a as CellNumeric, F as Footer, H as Header, R as Row, T as Table } from '../Body-
|
|
1
|
+
export { B as Body, C as Cell, b as CellCurrency, a as CellNumeric, F as Footer, H as Header, R as Row, T as Table } from '../Body-DulfpL3N.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@jobber/formatters';
|
|
4
4
|
import 'classnames';
|
package/dist/Tabs/index.cjs
CHANGED
package/dist/Tabs/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState, useRef, useEffect } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { T as Typography } from './Typography-
|
|
3
|
+
import { T as Typography } from './Typography-DML6tnyc.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"tabs":"-kxlqXO5UN0-","overflow":"qI4lWMSNH40-","overflowRight":"xohIah5wcoE-","overflowLeft":"qnY4S9sz-8g-","tabRow":"wdW31G8Trag-","tab":"MO7CXQ8xJXo-","selected":"kqof65gyv7g-","tabContent":"AimQioztR1U-"};
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
|
-
var Typography = require('./Typography-
|
|
5
|
+
var Typography = require('./Typography-DLWC7ZXM.js');
|
|
6
6
|
|
|
7
7
|
var styles = {"tabs":"-kxlqXO5UN0-","overflow":"qI4lWMSNH40-","overflowRight":"xohIah5wcoE-","overflowLeft":"qnY4S9sz-8g-","tabRow":"wdW31G8Trag-","tab":"MO7CXQ8xJXo-","selected":"kqof65gyv7g-","tabContent":"AimQioztR1U-"};
|
|
8
8
|
|
package/dist/Text/index.cjs
CHANGED
package/dist/Text/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { T as Typography } from './Typography-
|
|
2
|
+
import { T as Typography } from './Typography-DML6tnyc.js';
|
|
3
3
|
|
|
4
4
|
function Text({ variation = "default", size = "base", align = "start", children, maxLines = "unlimited", }) {
|
|
5
5
|
const textColors = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var Typography = require('./Typography-
|
|
4
|
+
var Typography = require('./Typography-DLWC7ZXM.js');
|
|
5
5
|
|
|
6
6
|
function Text({ variation = "default", size = "base", align = "start", children, maxLines = "unlimited", }) {
|
|
7
7
|
const textColors = {
|
package/dist/Toast/index.cjs
CHANGED
|
@@ -1,101 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var Typography = require('../Typography-coQuYNi1.js');
|
|
3
|
+
var showToast = require('../showToast-Cs6Hi7JB.js');
|
|
4
|
+
require('react');
|
|
5
|
+
require('react-dom/client');
|
|
6
|
+
require('framer-motion');
|
|
7
|
+
require('../Icon-DkziW-2D.js');
|
|
9
8
|
require('@jobber/design');
|
|
9
|
+
require('../Button-Bod4aFn9.js');
|
|
10
10
|
require('classnames');
|
|
11
11
|
require('react-router-dom');
|
|
12
|
+
require('../Typography-DLWC7ZXM.js');
|
|
12
13
|
|
|
13
|
-
var styles = {"wrapper":"FVK4VwhLaVQ-","container":"MUXYGaC7Msg-","toast":"yCRa7jHH33M-","slice":"KiJL-VNZ3Sg-","button":"cExoS0APILs-"};
|
|
14
14
|
|
|
15
|
-
function Toast({ message, variation = "success", action, actionLabel, }) {
|
|
16
|
-
const [visible, setVisible] = React.useState(true);
|
|
17
|
-
const icon = getIcon();
|
|
18
|
-
let timer;
|
|
19
|
-
React.useEffect(() => startTimer(), []);
|
|
20
|
-
return (React.createElement(framerMotion.AnimatePresence, null, visible && (React.createElement(framerMotion.motion.div, { className: styles.toast, initial: { opacity: 0, scale: 0.8 }, animate: { opacity: 1, scale: 1 }, onMouseEnter: () => stopTimer(), onMouseLeave: () => startTimer(), exit: {
|
|
21
|
-
opacity: 0,
|
|
22
|
-
scale: 0.8,
|
|
23
|
-
height: 0,
|
|
24
|
-
transition: { duration: 0.4 },
|
|
25
|
-
} },
|
|
26
|
-
React.createElement("div", { className: styles.slice },
|
|
27
|
-
React.createElement(Icon.Icon, { color: icon.color, name: icon.name }),
|
|
28
|
-
React.createElement(Typography.Typography, { element: "span", size: "large" }, message),
|
|
29
|
-
action && (React.createElement(Button.Button, { label: `${actionLabel}`, onClick: action, type: "tertiary" })),
|
|
30
|
-
React.createElement("div", { className: styles.button },
|
|
31
|
-
React.createElement(Button.Button, { icon: "remove", ariaLabel: "Hide Notification", onClick: handleToastClose, type: "tertiary", variation: "subtle" })))))));
|
|
32
|
-
function startTimer() {
|
|
33
|
-
timer = setTimeout(() => handleToastClose(), getTimeout());
|
|
34
|
-
}
|
|
35
|
-
function stopTimer() {
|
|
36
|
-
clearTimeout(timer);
|
|
37
|
-
}
|
|
38
|
-
function handleToastClose() {
|
|
39
|
-
setVisible(false);
|
|
40
|
-
}
|
|
41
|
-
function getTimeout() {
|
|
42
|
-
const min = 5000;
|
|
43
|
-
const max = 10000;
|
|
44
|
-
const time = message.length * 200;
|
|
45
|
-
if (time < min)
|
|
46
|
-
return min;
|
|
47
|
-
if (time > max)
|
|
48
|
-
return max;
|
|
49
|
-
return time;
|
|
50
|
-
}
|
|
51
|
-
function getIcon() {
|
|
52
|
-
switch (variation) {
|
|
53
|
-
case "info":
|
|
54
|
-
return { name: "knot", color: "lightBlue" };
|
|
55
|
-
case "error":
|
|
56
|
-
return { name: "alert", color: "red" };
|
|
57
|
-
default:
|
|
58
|
-
return { name: "checkmark", color: "green" };
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
15
|
|
|
63
|
-
|
|
64
|
-
let target = document.querySelector(`#${targetId}`);
|
|
65
|
-
if (!target) {
|
|
66
|
-
target = document.createElement("div");
|
|
67
|
-
target.id = targetId;
|
|
68
|
-
target.classList.add(styles.wrapper);
|
|
69
|
-
document.body.appendChild(target);
|
|
70
|
-
}
|
|
71
|
-
const root = client.createRoot(target);
|
|
72
|
-
function showToast(props) {
|
|
73
|
-
// Ensure target and body is still there when rendering the toast. This is due
|
|
74
|
-
// to an issue with ReactDOM createRoot assuming document is always there and
|
|
75
|
-
// Jest taking the document down.
|
|
76
|
-
if (document.body.contains(target)) {
|
|
77
|
-
root.render(React.createElement(ToasterOven, Object.assign({}, props)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
const ToastContainer = React.forwardRef(ToastInternal);
|
|
81
|
-
function ToasterOven(props) {
|
|
82
|
-
const toastRef = React.useRef();
|
|
83
|
-
React.useEffect(() => toastRef.current.add(props));
|
|
84
|
-
return React.createElement(ToastContainer, { ref: toastRef });
|
|
85
|
-
}
|
|
86
|
-
function ToastInternal(_, ref) {
|
|
87
|
-
const [toastKey, setToastKey] = React.useState(0);
|
|
88
|
-
const [toasts, setToasts] = React.useState([]);
|
|
89
|
-
React.useImperativeHandle(ref, () => ({
|
|
90
|
-
add: props => {
|
|
91
|
-
setToastKey(toastKey + 1);
|
|
92
|
-
setToasts([
|
|
93
|
-
Object.assign(Object.assign({}, props), { id: toastKey }),
|
|
94
|
-
...toasts,
|
|
95
|
-
]);
|
|
96
|
-
},
|
|
97
|
-
}));
|
|
98
|
-
return (React.createElement("div", { className: styles.container }, toasts.map(toast => (React.createElement(Toast, Object.assign({}, toast, { key: toast.id }))))));
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
exports.showToast = showToast;
|
|
16
|
+
exports.showToast = showToast.showToast;
|
package/dist/Toast/index.mjs
CHANGED
|
@@ -1,99 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { T as Typography } from '../Typography-DvuJPpAt.js';
|
|
1
|
+
export { s as showToast } from '../showToast-BLO_vX7y.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import 'react-dom/client';
|
|
4
|
+
import 'framer-motion';
|
|
5
|
+
import '../Icon-CqIXt_h2.js';
|
|
7
6
|
import '@jobber/design';
|
|
7
|
+
import '../Button-C0_-w97z.js';
|
|
8
8
|
import 'classnames';
|
|
9
9
|
import 'react-router-dom';
|
|
10
|
-
|
|
11
|
-
var styles = {"wrapper":"FVK4VwhLaVQ-","container":"MUXYGaC7Msg-","toast":"yCRa7jHH33M-","slice":"KiJL-VNZ3Sg-","button":"cExoS0APILs-"};
|
|
12
|
-
|
|
13
|
-
function Toast({ message, variation = "success", action, actionLabel, }) {
|
|
14
|
-
const [visible, setVisible] = useState(true);
|
|
15
|
-
const icon = getIcon();
|
|
16
|
-
let timer;
|
|
17
|
-
useEffect(() => startTimer(), []);
|
|
18
|
-
return (React.createElement(AnimatePresence, null, visible && (React.createElement(motion.div, { className: styles.toast, initial: { opacity: 0, scale: 0.8 }, animate: { opacity: 1, scale: 1 }, onMouseEnter: () => stopTimer(), onMouseLeave: () => startTimer(), exit: {
|
|
19
|
-
opacity: 0,
|
|
20
|
-
scale: 0.8,
|
|
21
|
-
height: 0,
|
|
22
|
-
transition: { duration: 0.4 },
|
|
23
|
-
} },
|
|
24
|
-
React.createElement("div", { className: styles.slice },
|
|
25
|
-
React.createElement(Icon, { color: icon.color, name: icon.name }),
|
|
26
|
-
React.createElement(Typography, { element: "span", size: "large" }, message),
|
|
27
|
-
action && (React.createElement(Button, { label: `${actionLabel}`, onClick: action, type: "tertiary" })),
|
|
28
|
-
React.createElement("div", { className: styles.button },
|
|
29
|
-
React.createElement(Button, { icon: "remove", ariaLabel: "Hide Notification", onClick: handleToastClose, type: "tertiary", variation: "subtle" })))))));
|
|
30
|
-
function startTimer() {
|
|
31
|
-
timer = setTimeout(() => handleToastClose(), getTimeout());
|
|
32
|
-
}
|
|
33
|
-
function stopTimer() {
|
|
34
|
-
clearTimeout(timer);
|
|
35
|
-
}
|
|
36
|
-
function handleToastClose() {
|
|
37
|
-
setVisible(false);
|
|
38
|
-
}
|
|
39
|
-
function getTimeout() {
|
|
40
|
-
const min = 5000;
|
|
41
|
-
const max = 10000;
|
|
42
|
-
const time = message.length * 200;
|
|
43
|
-
if (time < min)
|
|
44
|
-
return min;
|
|
45
|
-
if (time > max)
|
|
46
|
-
return max;
|
|
47
|
-
return time;
|
|
48
|
-
}
|
|
49
|
-
function getIcon() {
|
|
50
|
-
switch (variation) {
|
|
51
|
-
case "info":
|
|
52
|
-
return { name: "knot", color: "lightBlue" };
|
|
53
|
-
case "error":
|
|
54
|
-
return { name: "alert", color: "red" };
|
|
55
|
-
default:
|
|
56
|
-
return { name: "checkmark", color: "green" };
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const targetId = "atlantis-toast-element";
|
|
62
|
-
let target = document.querySelector(`#${targetId}`);
|
|
63
|
-
if (!target) {
|
|
64
|
-
target = document.createElement("div");
|
|
65
|
-
target.id = targetId;
|
|
66
|
-
target.classList.add(styles.wrapper);
|
|
67
|
-
document.body.appendChild(target);
|
|
68
|
-
}
|
|
69
|
-
const root = createRoot(target);
|
|
70
|
-
function showToast(props) {
|
|
71
|
-
// Ensure target and body is still there when rendering the toast. This is due
|
|
72
|
-
// to an issue with ReactDOM createRoot assuming document is always there and
|
|
73
|
-
// Jest taking the document down.
|
|
74
|
-
if (document.body.contains(target)) {
|
|
75
|
-
root.render(React.createElement(ToasterOven, Object.assign({}, props)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
const ToastContainer = forwardRef(ToastInternal);
|
|
79
|
-
function ToasterOven(props) {
|
|
80
|
-
const toastRef = useRef();
|
|
81
|
-
useEffect(() => toastRef.current.add(props));
|
|
82
|
-
return React.createElement(ToastContainer, { ref: toastRef });
|
|
83
|
-
}
|
|
84
|
-
function ToastInternal(_, ref) {
|
|
85
|
-
const [toastKey, setToastKey] = useState(0);
|
|
86
|
-
const [toasts, setToasts] = useState([]);
|
|
87
|
-
useImperativeHandle(ref, () => ({
|
|
88
|
-
add: props => {
|
|
89
|
-
setToastKey(toastKey + 1);
|
|
90
|
-
setToasts([
|
|
91
|
-
Object.assign(Object.assign({}, props), { id: toastKey }),
|
|
92
|
-
...toasts,
|
|
93
|
-
]);
|
|
94
|
-
},
|
|
95
|
-
}));
|
|
96
|
-
return (React.createElement("div", { className: styles.container }, toasts.map(toast => (React.createElement(Toast, Object.assign({}, toast, { key: toast.id }))))));
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export { showToast };
|
|
10
|
+
import '../Typography-DML6tnyc.js';
|