@jobber/components 5.1.5 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AnimatedPresence/index.cjs +1 -1
- package/dist/AnimatedPresence/index.mjs +1 -1
- package/dist/AnimatedSwitcher/index.cjs +2 -2
- package/dist/AnimatedSwitcher/index.mjs +2 -2
- package/dist/{AnimatedSwitcher-9N1Df5vH.js → AnimatedSwitcher--GDh8WUZ.js} +1 -1
- package/dist/{AnimatedSwitcher-ljEYMTmr.js → AnimatedSwitcher-BPvX4PO_.js} +1 -1
- package/dist/AtlantisContext/index.cjs +1 -1
- package/dist/AtlantisContext/index.mjs +1 -1
- package/dist/Autocomplete/index.cjs +19 -19
- package/dist/Autocomplete/index.mjs +19 -19
- package/dist/{Autocomplete-CYAc_tZK.js → Autocomplete-4Q1Kjo0i.js} +9 -9
- package/dist/{Autocomplete-DcR-Yj2t.js → Autocomplete-D__iJbY1.js} +9 -9
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-C6sgAmkp.js → Avatar-5EREVg4u.js} +1 -1
- package/dist/{Avatar-D27XoNk4.js → Avatar-BXnZsl_C.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-ZXJYvkYM.js → Banner-BX8o4edc.js} +5 -5
- package/dist/{Banner-B4Uouuyz.js → Banner-DpdNIgLy.js} +5 -5
- package/dist/{BannerIcon-DieMBbtD.js → BannerIcon-DKUo9FnP.js} +1 -1
- package/dist/{BannerIcon-D0V5ATrI.js → BannerIcon-F9yWHPCd.js} +1 -1
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-CRUgdCo5.js → Button-CrNtqYZi.js} +2 -2
- package/dist/{Button-CMkahsUS.js → Button-DphsaJ2N.js} +2 -2
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-CSvSDVX3.js → ButtonDismiss-B5hiZLaf.js} +1 -1
- package/dist/{ButtonDismiss-CQG_TrbB.js → ButtonDismiss-B80ZoISQ.js} +1 -1
- package/dist/Card/index.cjs +9 -9
- package/dist/Card/index.mjs +9 -9
- package/dist/{Card-DCC_DUtN.js → Card-B00dTN9x.js} +3 -3
- package/dist/{Card-Dl53Dzbl.js → Card-Xthm11aq.js} +3 -3
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-DYDR_PbC.js → Checkbox-C1bURq1H.js} +3 -3
- package/dist/{Checkbox-Bx6d5hB_.js → Checkbox-DJufLovk.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-BOqYgG_X.js → Chip-ByIL0YxW.js} +6 -6
- package/dist/{Chip-BGxmXPX1.js → Chip-EzWG3scJ.js} +6 -6
- package/dist/{ChipDismissible-zGUCKOvw.js → ChipDismissible-BLaZjnAS.js} +3 -3
- package/dist/{ChipDismissible-CHP22qXF.js → ChipDismissible-BX4VM1IW.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-qqSl3qoc.js → Chips-BTrkmWWR.js} +2 -2
- package/dist/{Chips-BbZ5-wDf.js → Chips-BZgvdou7.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-qR2U3kz9.js → Combobox-B6A0y7o9.js} +9 -9
- package/dist/{Combobox-BMnDke5W.js → Combobox-B9jgMK5u.js} +9 -9
- package/dist/{ComboboxAction-DqjdoL8S.js → ComboboxAction-BAQYx01K.js} +2 -2
- package/dist/{ComboboxAction-BO0su5y2.js → ComboboxAction-cTHHY7MH.js} +2 -2
- package/dist/{ComboboxActivator-BUgxf4oV.js → ComboboxActivator-CS3yuHgy.js} +4 -4
- package/dist/{ComboboxActivator-BLjUwWOG.js → ComboboxActivator-DtZanH3K.js} +4 -4
- package/dist/{ComboboxContent-C_rh83_O.js → ComboboxContent-C7-IMAn4.js} +7 -7
- package/dist/{ComboboxContent-D0n5wGN1.js → ComboboxContent-CWr62pjH.js} +7 -7
- package/dist/{ComboboxContentHeader-CKLgA-Nw.js → ComboboxContentHeader-DaN2--S2.js} +2 -2
- package/dist/{ComboboxContentHeader-C-xLL8pY.js → ComboboxContentHeader-XfUa0FvS.js} +2 -2
- package/dist/{ComboboxContentList-l9LjS6b6.js → ComboboxContentList-BQiFwHZe.js} +6 -6
- package/dist/{ComboboxContentList-Bixzns-p.js → ComboboxContentList-BnhsJQsO.js} +6 -6
- package/dist/{ComboboxContentSearch-C3w0qOyG.js → ComboboxContentSearch-BIHUgpgU.js} +1 -1
- package/dist/{ComboboxContentSearch-KNb55Zoe.js → ComboboxContentSearch-BP8Vej8x.js} +1 -1
- package/dist/{ComboboxLoadMore-DHos11EZ.js → ComboboxLoadMore-B9LW8mQ5.js} +1 -1
- package/dist/{ComboboxLoadMore-BccRFbQc.js → ComboboxLoadMore-CmC9LrZW.js} +1 -1
- package/dist/{ComboboxOption-DlVqUD8x.js → ComboboxOption-C5w7zpOa.js} +3 -3
- package/dist/{ComboboxOption-DA729RE-.js → ComboboxOption-FVu6fqPm.js} +3 -3
- package/dist/{ComboboxProvider-DzQtcrOq.js → ComboboxProvider-CRIxI4aJ.js} +1 -1
- package/dist/{ComboboxProvider-C932OtDv.js → ComboboxProvider-DewF1RVE.js} +1 -1
- package/dist/{ComboboxTrigger-Be_32Yx6.js → ComboboxTrigger-B3QjjY1X.js} +4 -4
- package/dist/{ComboboxTrigger-C-tamT6X.js → ComboboxTrigger-Ddx8aZK7.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-D4BRGOY5.js → ConfirmationModal-CqUN6FMz.js} +4 -4
- package/dist/{ConfirmationModal-FW9KiVe5.js → ConfirmationModal-wBdjMryd.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-D12QjogT.js → Countdown-Da0KRgAJ.js} +1 -1
- package/dist/{Countdown-R870om1j.js → Countdown-HJ17OU9y.js} +1 -1
- package/dist/DataDump/index.cjs +12 -12
- package/dist/DataDump/index.mjs +12 -12
- package/dist/{DataDump-Cl411Xdd.js → DataDump-DvztCGef.js} +3 -3
- package/dist/{DataDump-HI1ZvkI4.js → DataDump-V-DJQs5j.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 +20 -20
- package/dist/DataList/components/DataListSearch/index.mjs +20 -20
- 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-BXhTediI.js → DataList-BNorRF6w.js} +21 -21
- package/dist/{DataList--OZav5pq.js → DataList-D6UMBGbC.js} +21 -21
- package/dist/{DataList.utils-C1lQNPG6.js → DataList.utils-B5U_lx-J.js} +8 -8
- package/dist/{DataList.utils-Vkk8ars2.js → DataList.utils-D5uBTtVM.js} +8 -8
- package/dist/{DataListAction-sDwJp4PI.js → DataListAction-BCVQyDAR.js} +3 -3
- package/dist/{DataListAction-DjHCmH8R.js → DataListAction-CuXsGtRy.js} +3 -3
- package/dist/{DataListActions-CWfWFENU.js → DataListActions-5MeegPQR.js} +6 -6
- package/dist/{DataListActions-DGJwL2PJ.js → DataListActions-Cb-k1nAB.js} +6 -6
- package/dist/{DataListActionsMenu-BBqu4j_5.js → DataListActionsMenu-BzeU4B5p.js} +5 -5
- package/dist/{DataListActionsMenu-DJfhq09s.js → DataListActionsMenu-Cr_UNFaR.js} +5 -5
- package/dist/{DataListBulkActions-BKtOh6gE.js → DataListBulkActions-Dr7u2N58.js} +3 -3
- package/dist/{DataListBulkActions-C48bF2yq.js → DataListBulkActions-Dy2YhZRG.js} +3 -3
- package/dist/{DataListContext-CFlcKIXp.js → DataListContext-C_goVBmW.js} +1 -1
- package/dist/{DataListContext-CHu4mSVK.js → DataListContext-DntcHCEe.js} +1 -1
- package/dist/{DataListEmptyState-j3tTypwU.js → DataListEmptyState-CvVTDh7U.js} +4 -4
- package/dist/{DataListEmptyState-CeRdWoNb.js → DataListEmptyState-D1Q9XVek.js} +4 -4
- package/dist/{DataListFilters-BIRwnpB2.js → DataListFilters-BkNoBbed.js} +5 -5
- package/dist/{DataListFilters-BTFcDsOY.js → DataListFilters-K9XbedZH.js} +5 -5
- package/dist/{DataListHeader-DEygH-Gw.js → DataListHeader-BIlMlywD.js} +11 -11
- package/dist/{DataListHeader-AtlmUERP.js → DataListHeader-CJHFqams.js} +11 -11
- package/dist/{DataListHeaderTile-COwIjVjD.js → DataListHeaderTile-CG-QUa4X.js} +5 -5
- package/dist/{DataListHeaderTile-CCEqCBzF.js → DataListHeaderTile-qadvf5MR.js} +5 -5
- package/dist/{DataListItem-BZ6AkY-F.js → DataListItem-BQXTxZ5F.js} +10 -10
- package/dist/{DataListItem-y8h23M3b.js → DataListItem-C5VS26Zz.js} +10 -10
- package/dist/{DataListItemActions-XLgWsHIO.js → DataListItemActions-BAeVEMFO.js} +2 -2
- package/dist/{DataListItemActions-CMIoYFrD.js → DataListItemActions-FWNlsfBD.js} +2 -2
- package/dist/{DataListItemActionsOverflow-DXGlTVcd.js → DataListItemActionsOverflow-B9tk0Jov.js} +3 -3
- package/dist/{DataListItemActionsOverflow-ClPP0Kny.js → DataListItemActionsOverflow-Ce4fonPl.js} +3 -3
- package/dist/{DataListItemClickable-cfjGeVmL.js → DataListItemClickable-DOWwi0OA.js} +3 -3
- package/dist/{DataListItemClickable-bsutaOhi.js → DataListItemClickable-DiP1QhLN.js} +3 -3
- package/dist/{DataListItems-B1mYLufb.js → DataListItems-BFtUwsOY.js} +3 -3
- package/dist/{DataListItems-CaQiUsaS.js → DataListItems-Dn_R7IDD.js} +3 -3
- package/dist/{DataListLayout-Bm7z60Fl.js → DataListLayout-BlP3q9-p.js} +3 -3
- package/dist/{DataListLayout-BtdP6zQJ.js → DataListLayout-CSF8gvsX.js} +3 -3
- package/dist/{DataListLayoutActions-ByxHRMvS.js → DataListLayoutActions-YoWe-j_t.js} +4 -4
- package/dist/{DataListLayoutActions-SE5LqUVZ.js → DataListLayoutActions-yRiiF5Ve.js} +4 -4
- package/dist/{DataListLayoutContext-C1ndI664.js → DataListLayoutContext-DHxesaaj.js} +1 -1
- package/dist/{DataListLayoutContext-DkKPxLXO.js → DataListLayoutContext-DML_iY1A.js} +1 -1
- package/dist/{DataListLoadMore-BG1HWAMK.js → DataListLoadMore-D-4fj_ui.js} +5 -5
- package/dist/{DataListLoadMore-ekbwIGlD.js → DataListLoadMore-DBKFTCjQ.js} +5 -5
- package/dist/{DataListLoadingState-BY9Pfyy5.js → DataListLoadingState-B0cs5wWt.js} +3 -3
- package/dist/{DataListLoadingState-CSYySVG3.js → DataListLoadingState-Bg4-erpO.js} +3 -3
- package/dist/{DataListOverflowFade-PIDofRIK.js → DataListOverflowFade-D6ixj5Ty.js} +1 -1
- package/dist/{DataListOverflowFade-DMfHxCEZ.js → DataListOverflowFade-DgVAHw_a.js} +1 -1
- package/dist/{DataListSearch-DB3xiiTR.js → DataListSearch-C7bwAqOu.js} +6 -6
- package/dist/{DataListSearch-BDcFUHm_.js → DataListSearch-CtOur-Fv.js} +6 -6
- package/dist/{DataListSort-C4TOZkKi.js → DataListSort-CHdBfGGq.js} +6 -6
- package/dist/{DataListSort-DAqZ5R27.js → DataListSort-DVFYcxl0.js} +6 -6
- package/dist/{DataListSortingOptions-C2WHp18G.js → DataListSortingOptions-CVcDsIS1.js} +3 -3
- package/dist/{DataListSortingOptions-BxUNAv9q.js → DataListSortingOptions-DxPE1DI8.js} +3 -3
- package/dist/{DataListStatusBar-C3s10oLP.js → DataListStatusBar-hERzuMhL.js} +2 -2
- package/dist/{DataListStatusBar-BQzoj5Uo.js → DataListStatusBar-iWftQQ4A.js} +2 -2
- package/dist/{DataListStickyHeader-BM5qigVV.js → DataListStickyHeader-DoUkIG43.js} +1 -1
- package/dist/{DataListStickyHeader-BT79Opub.js → DataListStickyHeader-gd0I7lSf.js} +1 -1
- package/dist/{DataListTags-Dbk9tsKs.js → DataListTags-DVSOokM7.js} +2 -2
- package/dist/{DataListTags-BfaOQ_HJ.js → DataListTags-jUXtRv-v.js} +2 -2
- package/dist/{DataListTotalCount-D5jM4-0r.js → DataListTotalCount-BG_WP5QQ.js} +2 -2
- package/dist/{DataListTotalCount-DkASSooI.js → DataListTotalCount-CysIJbOV.js} +2 -2
- package/dist/DataTable/index.cjs +20 -20
- package/dist/DataTable/index.mjs +20 -20
- package/dist/DataTable/test-utilities/index.cjs +6 -6
- package/dist/DataTable/test-utilities/index.mjs +6 -6
- package/dist/{DataTable-D0HuZJel.js → DataTable-3-AKcwmm.js} +6 -6
- package/dist/{DataTable-CLwcd1Nd.js → DataTable-DAY8zMrL.js} +6 -6
- package/dist/DatePicker/index.cjs +14 -14
- package/dist/DatePicker/index.mjs +14 -14
- package/dist/{DatePicker-NAYXFpnU.js → DatePicker-BUgkEu_L.js} +11 -11
- package/dist/{DatePicker-Ct3U5Rq-.js → DatePicker-Cky9j76f.js} +11 -11
- package/dist/{DayOfMonthSelect-DKC8C5Oz.js → DayOfMonthSelect-CfH9N3AB.js} +2 -2
- package/dist/{DayOfMonthSelect-vrlKgunX.js → DayOfMonthSelect-DAz5KfAQ.js} +2 -2
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-BfrIdXCP.js → DescriptionList-DUNbrk5n.js} +1 -1
- package/dist/{DescriptionList-BOoEwy1o.js → DescriptionList-mGCEbG1x.js} +1 -1
- package/dist/Disclosure/index.cjs +8 -8
- package/dist/Disclosure/index.mjs +8 -8
- package/dist/{Disclosure-CaJRi_zE.js → Disclosure-BFAHizvP.js} +3 -3
- package/dist/{Disclosure-Bn_Kgrsi.js → Disclosure-D4Ljg-qH.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-Bpg1eSwN.js → DrawerGrid-BJgcONnN.js} +2 -2
- package/dist/{DrawerGrid-mIUKfK18.js → DrawerGrid-CrifRNvC.js} +2 -2
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-vubk3W6M.js → Emphasis-KTh3qF8B.js} +1 -1
- package/dist/{Emphasis-BHT3NaBP.js → Emphasis-hPCg4FBq.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-DmHt-0QH.js → FeatureSwitch-CRYW5qb6.js} +7 -7
- package/dist/{FeatureSwitch-Cf8S2t6K.js → FeatureSwitch-CaeXyNyH.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-CbOl2_gC.js → Form-COY9YG8a.js} +1 -1
- package/dist/{Form-DA-zvRDo.js → Form-Cm5S6sqW.js} +1 -1
- package/dist/FormField/FormFieldTypes.d.ts +13 -0
- package/dist/FormField/FormFieldWrapper.d.ts +1 -1
- package/dist/FormField/hooks/useFormFieldFocus.d.ts +9 -0
- package/dist/FormField/hooks/useToolbar.d.ts +20 -0
- package/dist/FormField/index.cjs +10 -10
- package/dist/FormField/index.mjs +10 -10
- package/dist/{FormField-M_2OnEmD.js → FormField-BG7r08Dq.js} +83 -28
- package/dist/{FormField-CnPTpuxr.js → FormField-CoyJGAVy.js} +84 -29
- 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-MpNZC2do.js → FormatFile-CYP-4xh6.js} +7 -7
- package/dist/{FormatFile-rGpOg8h-.js → FormatFile-DHU7gmRM.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-S3sEMHON.js → Gallery-MExL2xXm.js} +3 -3
- package/dist/{Gallery-DMFPU7kY.js → Gallery-hPxjCGqz.js} +3 -3
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-CxtgiEl8.js → Glimmer-Chf9r_dj.js} +2 -2
- package/dist/{Glimmer-Ca4JVKdT.js → Glimmer-DEsto_lK.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-3EREFiud.js → Grid-b3PSDAp8.js} +2 -2
- package/dist/{Grid-CxwMhhWT.js → Grid-vMhsoHyJ.js} +2 -2
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-Cer-Tyt5.js → Heading-8KJMP1ZE.js} +1 -1
- package/dist/{Heading-C9kZcJGt.js → Heading-DvxeGTNo.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-iPUWcvCB.js → InlineLabel-BD_mJWhE.js} +1 -1
- package/dist/{InlineLabel-PwGmhehQ.js → InlineLabel-DO95_9ER.js} +1 -1
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-DRdF_rWf.js → InputAvatar-CfYtxtRK.js} +5 -5
- package/dist/{InputAvatar-CDxn7XRv.js → InputAvatar-DOoEsWMl.js} +5 -5
- package/dist/InputDate/index.cjs +20 -20
- package/dist/InputDate/index.mjs +20 -20
- package/dist/{InputDate-28JFIS8a.js → InputDate-CSIlxk1R.js} +2 -2
- package/dist/{InputDate-DxYVj9kT.js → InputDate-Cjnr274o.js} +2 -2
- package/dist/InputEmail/index.cjs +11 -11
- package/dist/InputEmail/index.mjs +11 -11
- package/dist/{InputEmail-CSeSZ6w2.js → InputEmail-D08WJJec.js} +1 -1
- package/dist/{InputEmail-B5ctn-sx.js → InputEmail-DdzxJZx1.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-CtpjNGHU.js → InputFile-BfLg9uuS.js} +6 -6
- package/dist/{InputFile-DSpmf8ay.js → InputFile-aD7UHz7E.js} +6 -6
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/InputNumber/index.cjs +11 -11
- package/dist/InputNumber/index.mjs +11 -11
- package/dist/{InputNumber-CxWoexPn.js → InputNumber-BWYOsHlM.js} +1 -1
- package/dist/{InputNumber-2F88h4ar.js → InputNumber-YsaVs0-Z.js} +1 -1
- package/dist/InputPassword/index.cjs +11 -11
- package/dist/InputPassword/index.mjs +11 -11
- package/dist/{InputPassword-t3keEtCf.js → InputPassword-Bt07opi0.js} +1 -1
- package/dist/{InputPassword-BwGM92oP.js → InputPassword-CTYaN5AO.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +11 -11
- package/dist/InputPhoneNumber/index.mjs +11 -11
- package/dist/{InputPhoneNumber-DdIMDOKT.js → InputPhoneNumber-C1lqZdeR.js} +2 -2
- package/dist/{InputPhoneNumber-xO6F829T.js → InputPhoneNumber-Dx9vwtNK.js} +2 -2
- package/dist/InputText/InputText.d.ts +6 -0
- package/dist/InputText/index.cjs +12 -12
- package/dist/InputText/index.mjs +12 -12
- package/dist/{InputText-CQT-IXCb.js → InputText-DeiYWOQM.js} +19 -11
- package/dist/{InputText-CajfLbS3.js → InputText-v4qRVK-d.js} +19 -11
- package/dist/InputTime/index.cjs +15 -15
- package/dist/InputTime/index.mjs +15 -15
- package/dist/{InputTime-Btpb86Ok.js → InputTime-B_h6dzcQ.js} +3 -3
- package/dist/{InputTime-D-ORAHkw.js → InputTime-COtLxFCD.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-DFD0tltq.js → InputValidation-CQHollVB.js} +2 -2
- package/dist/{InputValidation-CpVD6rqA.js → InputValidation-S_Fw4V6C.js} +2 -2
- package/dist/{InternalChipDismissible-DTrV3mQ_.js → InternalChipDismissible-DB1MtQZs.js} +11 -11
- package/dist/{InternalChipDismissible-BlRB5-nf.js → InternalChipDismissible-swm24Svg.js} +11 -11
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-sDpzZaxd.js → LightBox-C30mXFBL.js} +7 -7
- package/dist/{LightBox-CjGtyJZ_.js → LightBox-D7xhatlu.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-CAYphgWF.js → List-CvdZND2G.js} +10 -10
- package/dist/{List-lmE1EyuC.js → List-DxSW67uR.js} +10 -10
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-CJ9pUoqI.js → Markdown-DwqQzH9h.js} +7 -7
- package/dist/{Markdown-ZAhZaa7j.js → Markdown-HP4yRbhE.js} +7 -7
- package/dist/Menu/index.cjs +7 -7
- package/dist/Menu/index.mjs +7 -7
- package/dist/{Menu-CYJBf7kz.js → Menu-BCGtvcZN.js} +6 -6
- package/dist/{Menu-NVyEPr1H.js → Menu-BgabXfmr.js} +6 -6
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-Y6fg1Bjw.js → Modal-CG9SMdwW.js} +6 -6
- package/dist/{Modal-C1kFWtNv.js → Modal-Geij_1xy.js} +6 -6
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-BptE1xBL.js → MultiSelect-D0o3CnSO.js} +3 -3
- package/dist/{MultiSelect-ny5MWpnv.js → MultiSelect-cPEWmwFD.js} +3 -3
- package/dist/{Option-C13ISXD6.js → Option-Bjyk51sJ.js} +1 -1
- package/dist/{Option-Ccv-U2ey.js → Option-Crgiw80L.js} +1 -1
- package/dist/Page/index.cjs +20 -20
- package/dist/Page/index.mjs +20 -20
- package/dist/{Page-BGDdonjA.js → Page-BMujn5M4.js} +8 -8
- package/dist/{Page-B-BqlOPr.js → Page-BUSMXT2e.js} +8 -8
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-DTlcASfC.js → Popover-D1dYp7A3.js} +2 -2
- package/dist/{Popover-B6Bal2gs.js → Popover-DXB754kQ.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-CG0brUzX.js → RadioGroup-BTazthP0.js} +1 -1
- package/dist/{RadioGroup-rA2YHYy8.js → RadioGroup-BkxO7Tq2.js} +1 -1
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +17 -17
- package/dist/RecurringSelect/index.mjs +17 -17
- package/dist/{RecurringSelect-DTZMeVfz.js → RecurringSelect-D0H--7pT.js} +6 -6
- package/dist/{RecurringSelect-jffG0ib7.js → RecurringSelect-DL8YhAQ0.js} +6 -6
- package/dist/Select/index.cjs +11 -11
- package/dist/Select/index.mjs +11 -11
- 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-BKwTJwmU.js → StatusLabel-CDYBkqFM.js} +2 -2
- package/dist/{StatusLabel-CfxkcTQG.js → StatusLabel-sTaU_9oA.js} +2 -2
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-DQjPnLuq.js → Switch-BlyFAa1-.js} +1 -1
- package/dist/{Switch-Cwjc3qfN.js → Switch-CYUre9f3.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-0n9rYBQW.js → Tabs-BX99Xgrg.js} +1 -1
- package/dist/{Tabs-Bt2H7Spi.js → Tabs-CT_dzfTF.js} +1 -1
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-DgFnVjl0.js → Text-DXUZ3Xqc.js} +1 -1
- package/dist/{Text-CPbFvIGm.js → Text-DkNm4sVq.js} +1 -1
- package/dist/Toast/index.cjs +3 -3
- package/dist/Toast/index.mjs +3 -3
- package/dist/Tooltip/index.cjs +3 -3
- package/dist/Tooltip/index.mjs +3 -3
- package/dist/{Tooltip-DjdnI-n5.js → Tooltip-D9_Qf__b.js} +2 -2
- package/dist/{Tooltip-BtNkInGO.js → Tooltip-DRO3M1my.js} +2 -2
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{_baseAssignValue-CAVWMH5h.js → _baseAssignValue-CJAu5eqp.js} +1 -1
- package/dist/{_baseAssignValue-Cr1akFNg.js → _baseAssignValue-DcGg82Qw.js} +1 -1
- package/dist/{_baseEach-BYIeuo3A.js → _baseEach-C4Pj2qiD.js} +4 -4
- package/dist/{_baseEach-BF7gudML.js → _baseEach-Dj103Dgc.js} +4 -4
- package/dist/{_defineProperty-nt5f090m.js → _defineProperty-B8PITi2S.js} +3 -3
- package/dist/{_defineProperty-Bv6kiZu7.js → _defineProperty-PhH3QGtc.js} +3 -3
- package/dist/{_getTag-CGEy2hmg.js → _getTag-DB1yvK6h.js} +1 -1
- package/dist/{_getTag-D0VqGIAO.js → _getTag-DssrQ25-.js} +1 -1
- package/dist/{_setToString-BY_Dyddq.js → _setToString-BwIs7FJh.js} +3 -3
- package/dist/{_setToString-CvEyG1A4.js → _setToString-O4I7PIlK.js} +3 -3
- package/dist/{debounce-DOSwR4tR.js → debounce-Cw6b902x.js} +3 -3
- package/dist/{debounce-BRr5vqBr.js → debounce-DAtx90qF.js} +3 -3
- package/dist/{helpers-eSHRmekF.js → helpers-BYo4xHPj.js} +1 -1
- package/dist/{helpers-sF7Hx3KE.js → helpers-DfBjCZt-.js} +1 -1
- package/dist/{index-CjYX8oHn.js → index-2Uy3eyO0.js} +1 -1
- package/dist/{index-CBHSpFM7.js → index-CkU4RUJc.js} +1 -1
- package/dist/index.cjs +145 -145
- package/dist/index.mjs +145 -145
- package/dist/{isObjectLike-CKVZa-cM.js → isObjectLike-BLFVLu_a.js} +1 -1
- package/dist/{isObjectLike-DUaq_9Xk.js → isObjectLike-BcICVoxt.js} +1 -1
- package/dist/{isSymbol-kZMPVIgZ.js → isSymbol-BRfnQIck.js} +1 -1
- package/dist/{isSymbol-Dcl-_X3Q.js → isSymbol-CJJE2f37.js} +1 -1
- package/dist/{noop-faQ-34Gi.js → noop-Bot2EMDu.js} +1 -1
- package/dist/{noop-DEAmU1PF.js → noop-DPvOvsrT.js} +1 -1
- package/dist/styles.css +69 -32
- package/dist/{useActiveLayout-C2kHKDZq.js → useActiveLayout-C_Go0dMv.js} +2 -2
- package/dist/{useActiveLayout-Bf2w6crs.js → useActiveLayout-IV_oIqiY.js} +2 -2
- package/dist/{useAssert-D7sH297m.js → useAssert-AZdnP5Mr.js} +2 -2
- package/dist/{useAssert-DrH9pDVq.js → useAssert-DBBmZb5a.js} +2 -2
- package/dist/{useBatchSelect-D6IyqYwk.js → useBatchSelect-B9ELU1fY.js} +1 -1
- package/dist/{useBatchSelect-Bb45vZFx.js → useBatchSelect-rv09mQw-.js} +1 -1
- package/dist/{useIsMounted-DvOxzjvA.js → useIsMounted-BMPRSmsQ.js} +1 -1
- package/dist/{useIsMounted-DRL5awNo.js → useIsMounted-Cx-XeB3j.js} +1 -1
- package/dist/{useResizeObserver-C2T3HfNI.js → useResizeObserver-DTH-_Z8k.js} +3 -3
- package/dist/{useResizeObserver-TjulKkhA.js → useResizeObserver-Dn9-IVOM.js} +3 -3
- package/dist/{useResponsiveSizing-DqF8-X3g.js → useResponsiveSizing-DAsxwfkB.js} +1 -1
- package/dist/{useResponsiveSizing-DKXeizNO.js → useResponsiveSizing-DujMesX7.js} +1 -1
- package/dist/{useScrollToActive-BtLqaRcg.js → useScrollToActive-BU_n8Yr5.js} +9 -9
- package/dist/{useScrollToActive-CZ75uQKW.js → useScrollToActive-x6TBG9yM.js} +9 -9
- package/package.json +2 -2
- /package/dist/{AnimatedPresence-DJP-WmLH.js → AnimatedPresence-BIiWF70H.js} +0 -0
- /package/dist/{AnimatedPresence-DuhQNUic.js → AnimatedPresence-CPGNazAf.js} +0 -0
- /package/dist/{AtlantisContext-DVa39K4i.js → AtlantisContext-DLYYPfYE.js} +0 -0
- /package/dist/{AtlantisContext-CuD_dcu9.js → AtlantisContext-RsEzUwlm.js} +0 -0
- /package/dist/{Body-rfwuQc-O.js → Body-BKf3Cnid.js} +0 -0
- /package/dist/{Body-CLMA8NKj.js → Body-BULUAcMk.js} +0 -0
- /package/dist/{Content-tJg0b8sb.js → Content-BVuNlQrb.js} +0 -0
- /package/dist/{Content-10GB4FUR.js → Content-DZpCfEYh.js} +0 -0
- /package/dist/{DataList-BaJXLFrr.js → DataList-BeECRNo_.js} +0 -0
- /package/dist/{DataList-k2l0GdWk.js → DataList-CtYPhNZX.js} +0 -0
- /package/dist/{DataList.const-Cz49rwxQ.js → DataList.const-BZWSvJ19.js} +0 -0
- /package/dist/{DataList.const-BMedGKjo.js → DataList.const-ByFsWi-o.js} +0 -0
- /package/dist/{DataListLayoutContext-CMtl0Rf-.js → DataListLayoutContext-B1vViMc5.js} +0 -0
- /package/dist/{DataListLayoutContext-C_fdJ5d_.js → DataListLayoutContext-ClMREIX5.js} +0 -0
- /package/dist/{Divider-D79_A-gR.js → Divider-D9qmrIKM.js} +0 -0
- /package/dist/{Divider-ZU_cUKE2.js → Divider-DVq2lfHh.js} +0 -0
- /package/dist/{Flex-DMlGkPPM.js → Flex-BwgrUo3K.js} +0 -0
- /package/dist/{Flex-CE05GkZy.js → Flex-SQRlz-cQ.js} +0 -0
- /package/dist/{FormatDate-CSUyoB-Z.js → FormatDate-CRCty4EI.js} +0 -0
- /package/dist/{FormatDate-CTSWk-po.js → FormatDate-CZVTG31T.js} +0 -0
- /package/dist/{FormatEmail-BphfgKAR.js → FormatEmail-BSSGvlvJ.js} +0 -0
- /package/dist/{FormatEmail-DABqVrSo.js → FormatEmail-Bjc6ESkw.js} +0 -0
- /package/dist/{FormatRelativeDateTime-CtncQUDC.js → FormatRelativeDateTime-BPEHh2Tr.js} +0 -0
- /package/dist/{FormatRelativeDateTime-BI1aC4vv.js → FormatRelativeDateTime-oWnNyttY.js} +0 -0
- /package/dist/{FormatTime-vQ35heit.js → FormatTime-BI2IOLLl.js} +0 -0
- /package/dist/{FormatTime-BGdV1zNf.js → FormatTime-PqzdEikP.js} +0 -0
- /package/dist/{Icon-D68T3kRf.js → Icon-lHYv-rc2.js} +0 -0
- /package/dist/{Icon-Cx_Ktflt.js → Icon-mKNhhLlM.js} +0 -0
- /package/dist/{InputGroup-DaH-mVrR.js → InputGroup-BlfzzhZh.js} +0 -0
- /package/dist/{InputGroup-BwK_gsqa.js → InputGroup-Bofoy34X.js} +0 -0
- /package/dist/{InternalGridCell-BZBbbA-z.js → InternalGridCell-DUoaAEqL.js} +0 -0
- /package/dist/{InternalGridCell-C5XvlHib.js → InternalGridCell-DzriEwUn.js} +0 -0
- /package/dist/{Link-Dim2Kq8B.js → Link-CE50gCut.js} +0 -0
- /package/dist/{Link-CuPYucbt.js → Link-ZsKiuayv.js} +0 -0
- /package/dist/{ProgressBar-BwShMQSi.js → ProgressBar-CslYYbCT.js} +0 -0
- /package/dist/{ProgressBar-4qhP-KDi.js → ProgressBar-gMuG8qxG.js} +0 -0
- /package/dist/{Spinner-BJPnAe3t.js → Spinner-C51SF7aY.js} +0 -0
- /package/dist/{Spinner-DjBP7aIM.js → Spinner-CJLKR-Xv.js} +0 -0
- /package/dist/{StatusIndicator-ulpUzfuI.js → StatusIndicator-BgLfD1Yw.js} +0 -0
- /package/dist/{StatusIndicator-DtIMNCs4.js → StatusIndicator-DmL45HHO.js} +0 -0
- /package/dist/{Typography-Cw3F4Rct.js → Typography-CHkHpIpY.js} +0 -0
- /package/dist/{Typography-DpZMnfx5.js → Typography-DtrR-UIr.js} +0 -0
- /package/dist/{_commonjsHelpers-BGCqE92r.js → _commonjsHelpers-CD5-_3Iw.js} +0 -0
- /package/dist/{_commonjsHelpers-CXHNZgRE.js → _commonjsHelpers-D6r2ggSt.js} +0 -0
- /package/dist/{_polyfill-node.process-FtweimZa.js → _polyfill-node.process-BwBFrIHL.js} +0 -0
- /package/dist/{_polyfill-node.process-B_uzIWT6.js → _polyfill-node.process-svm-UfAT.js} +0 -0
- /package/dist/{tslib.es6-DwJa3lSq.js → tslib.es6-BzJQO8hv.js} +0 -0
- /package/dist/{tslib.es6-PGjtTazq.js → tslib.es6-De4Bn7R0.js} +0 -0
- /package/dist/{useChildComponent-CPTKC8JK.js → useChildComponent-CYqsLzbZ.js} +0 -0
- /package/dist/{useChildComponent-B_nZQZW1.js → useChildComponent-DYpagVnA.js} +0 -0
- /package/dist/{useFocusTrap-6raALdcn.js → useFocusTrap-DQ4pmP0w.js} +0 -0
- /package/dist/{useFocusTrap-BL1MCSua.js → useFocusTrap-D_sa2pps.js} +0 -0
- /package/dist/{useInView-DnmpkQa5.js → useInView-Dk0B86z5.js} +0 -0
- /package/dist/{useInView-d0jARB4-.js → useInView-NQrpYVIf.js} +0 -0
- /package/dist/{useOnKeyDown-BSDxwb2b.js → useOnKeyDown-CRod0T4z.js} +0 -0
- /package/dist/{useOnKeyDown-CO76qwkn.js → useOnKeyDown-C_ih59Qv.js} +0 -0
- /package/dist/{useRefocusOnActivator-Du7rdcsV.js → useRefocusOnActivator-4tvV0_tR.js} +0 -0
- /package/dist/{useRefocusOnActivator-CAKbkg1i.js → useRefocusOnActivator-xjOg8XdQ.js} +0 -0
- /package/dist/{useSafeLayoutEffect-BXCvs7Wo.js → useSafeLayoutEffect-CJKP3EBD.js} +0 -0
- /package/dist/{useSafeLayoutEffect-I3qMfKlY.js → useSafeLayoutEffect-DfYEVDlo.js} +0 -0
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-BzJQO8hv.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var reactHookForm = require('react-hook-form');
|
|
6
6
|
var classnames = require('classnames');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
7
|
+
var framerMotion = require('framer-motion');
|
|
8
|
+
var design = require('@jobber/design');
|
|
9
|
+
var Button = require('./Button-CrNtqYZi.js');
|
|
10
|
+
var Icon = require('./Icon-lHYv-rc2.js');
|
|
11
|
+
var Text = require('./Text-DXUZ3Xqc.js');
|
|
12
|
+
var InputValidation = require('./InputValidation-CQHollVB.js');
|
|
13
|
+
var Spinner = require('./Spinner-C51SF7aY.js');
|
|
12
14
|
|
|
13
|
-
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","textarea":"mgPacJ6Z71Y-","invalid":"gJ-15M615eY-","disabled":"_1rsTLm5GwcM-","small":"o8D-H-lKfDk-","inline":"_5Hu2F3cBvng-","center":"s1WLQs6ffD8-","right":"a2r4QheWYIA-","maxLength":"KdAnXK1gClo-","inputWrapper":"iQFhpFYnz-8-","childrenWrapper":"Yo2Wi9dpa-Y-","input":"LSHPV7PwOTg-","select":"i31GQXcMz54-","label":"_3xREbTN5pPg-","postfix":"VtnAk1HYMMk-","affixIcon":"uPLklxvtfJw-","suffix":"pYqqDvv57JE-","hasAction":"eI44oQpuVlk-","affixLabel":"jO8P2iSHilM-","description":"_2GfgzNnLOSI-"};
|
|
15
|
+
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","horizontalWrapper":"q7AxfhwVVBs-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","text":"e4VYDAkWHAg-","textarea":"mgPacJ6Z71Y-","invalid":"gJ-15M615eY-","disabled":"_1rsTLm5GwcM-","small":"o8D-H-lKfDk-","inline":"_5Hu2F3cBvng-","center":"s1WLQs6ffD8-","right":"a2r4QheWYIA-","maxLength":"KdAnXK1gClo-","inputWrapper":"iQFhpFYnz-8-","childrenWrapper":"Yo2Wi9dpa-Y-","input":"LSHPV7PwOTg-","select":"i31GQXcMz54-","label":"_3xREbTN5pPg-","postfix":"VtnAk1HYMMk-","affixIcon":"uPLklxvtfJw-","suffix":"pYqqDvv57JE-","hasAction":"eI44oQpuVlk-","affixLabel":"jO8P2iSHilM-","description":"_2GfgzNnLOSI-","toolbar":"_3GtIRFCkZMg-"};
|
|
14
16
|
|
|
15
17
|
var useShowClear$1 = {};
|
|
16
18
|
|
|
@@ -65,20 +67,62 @@ function FormFieldDescription({ id, description, }) {
|
|
|
65
67
|
React.createElement(Text.Text, { size: "small", variation: "subdued" }, description)));
|
|
66
68
|
}
|
|
67
69
|
|
|
68
|
-
var styles = {"
|
|
70
|
+
var styles = {"clearInput":"t1fFX8kDJh8-"};
|
|
69
71
|
|
|
70
72
|
function ClearAction({ onClick }) {
|
|
71
|
-
return (React.createElement("
|
|
72
|
-
React.createElement(
|
|
73
|
-
React.createElement(Icon.Icon, { name: "remove", size: "small" }))));
|
|
73
|
+
return (React.createElement("button", { className: styles.clearInput, onClick: onClick, type: "button", "aria-label": "Clear input" },
|
|
74
|
+
React.createElement(Icon.Icon, { name: "remove", size: "small" })));
|
|
74
75
|
}
|
|
75
76
|
|
|
76
|
-
function
|
|
77
|
+
function useToolbar(props) {
|
|
78
|
+
const isToolbarVisible = props.toolbar !== undefined &&
|
|
79
|
+
(props.toolbarVisibility === "always" || props.focused);
|
|
80
|
+
const toolbarAnimationEnd = { opacity: 0, height: 0 };
|
|
81
|
+
const toolbarAnimationStart = { opacity: 1, height: "auto" };
|
|
82
|
+
return {
|
|
83
|
+
isToolbarVisible,
|
|
84
|
+
toolbarAnimationEnd,
|
|
85
|
+
toolbarAnimationStart,
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function useFormFieldFocus(props) {
|
|
90
|
+
var _a;
|
|
91
|
+
const [focused, setFocused] = React.useState(false);
|
|
92
|
+
React.useEffect(() => {
|
|
93
|
+
var _a, _b, _c, _d;
|
|
94
|
+
function handleFocusIn() {
|
|
95
|
+
setFocused(true);
|
|
96
|
+
}
|
|
97
|
+
function handleFocusOut() {
|
|
98
|
+
setTimeout(() => {
|
|
99
|
+
var _a, _b;
|
|
100
|
+
const focusedElementWithinWrapper = (_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(document.activeElement);
|
|
101
|
+
if (!focusedElementWithinWrapper) {
|
|
102
|
+
setFocused(false);
|
|
103
|
+
}
|
|
104
|
+
}, 1);
|
|
105
|
+
}
|
|
106
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.addEventListener("focusin", handleFocusIn);
|
|
107
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.addEventListener("focusout", handleFocusOut);
|
|
108
|
+
return () => {
|
|
109
|
+
var _a, _b, _c, _d;
|
|
110
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.removeEventListener("focusin", handleFocusIn);
|
|
111
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.removeEventListener("focusout", handleFocusOut);
|
|
112
|
+
};
|
|
113
|
+
}, [(_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current]);
|
|
114
|
+
return {
|
|
115
|
+
focused,
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function FormFieldWrapper({ align, description, descriptionIdentifier, placeholder, value, children, invalid, error, size, prefix, suffix, max, maxLength, type, disabled, inline, identifier, clearable, onClear, toolbar, toolbarVisibility = "while-editing", wrapperRef, }) {
|
|
77
120
|
const wrapperClasses = classnames(styles$1.wrapper, size && styles$1[size], align && styles$1[align], {
|
|
78
121
|
[styles$1.miniLabel]: (placeholder && value !== "") ||
|
|
79
122
|
(placeholder && type === "select") ||
|
|
80
123
|
// Naively assume that if the the type is tel, it is the InputPhoneNumber
|
|
81
124
|
(placeholder && type === "tel"),
|
|
125
|
+
[styles$1.text]: type === "textarea" || type === "text",
|
|
82
126
|
[styles$1.textarea]: type === "textarea",
|
|
83
127
|
[styles$1.select]: type === "select",
|
|
84
128
|
[styles$1.invalid]: invalid !== null && invalid !== void 0 ? invalid : error,
|
|
@@ -101,7 +145,7 @@ function FormFieldWrapper({ align, description, descriptionIdentifier, placehold
|
|
|
101
145
|
React.useEffect(() => {
|
|
102
146
|
setLabelStyle(getAffixPaddding);
|
|
103
147
|
}, [value]);
|
|
104
|
-
const
|
|
148
|
+
const { focused } = useFormFieldFocus({ wrapperRef });
|
|
105
149
|
const showClear = useShowClear_2({
|
|
106
150
|
clearable,
|
|
107
151
|
multiline: type === "textarea",
|
|
@@ -109,18 +153,29 @@ function FormFieldWrapper({ align, description, descriptionIdentifier, placehold
|
|
|
109
153
|
hasValue: Boolean(value),
|
|
110
154
|
disabled,
|
|
111
155
|
});
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
React.createElement(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
156
|
+
const { isToolbarVisible, toolbarAnimationEnd, toolbarAnimationStart } = useToolbar({
|
|
157
|
+
focused,
|
|
158
|
+
toolbar,
|
|
159
|
+
toolbarVisibility,
|
|
160
|
+
});
|
|
161
|
+
return (React.createElement("div", { className: containerClasses },
|
|
162
|
+
React.createElement("div", { className: wrapperClasses, style: wrapperInlineStyle, "data-testid": "Form-Field-Wrapper", ref: wrapperRef },
|
|
163
|
+
React.createElement("div", { className: styles$1.horizontalWrapper },
|
|
164
|
+
(prefix === null || prefix === void 0 ? void 0 : prefix.icon) && React.createElement(AffixIcon, Object.assign({}, prefix, { size: size })),
|
|
165
|
+
React.createElement("div", { className: styles$1.inputWrapper },
|
|
166
|
+
placeholder && (React.createElement("label", { className: styles$1.label, htmlFor: identifier, style: (prefixRef === null || prefixRef === void 0 ? void 0 : prefixRef.current) || (suffixRef === null || suffixRef === void 0 ? void 0 : suffixRef.current)
|
|
167
|
+
? labelStyle
|
|
168
|
+
: undefined }, placeholder)),
|
|
169
|
+
(prefix === null || prefix === void 0 ? void 0 : prefix.label) && React.createElement(AffixLabel, Object.assign({}, prefix, { labelRef: prefixRef })),
|
|
170
|
+
React.createElement("div", { className: styles$1.childrenWrapper, tabIndex: -1 }, children),
|
|
171
|
+
(suffix === null || suffix === void 0 ? void 0 : suffix.label) && (React.createElement(AffixLabel, Object.assign({}, suffix, { labelRef: suffixRef, variation: "suffix" })))),
|
|
172
|
+
showClear && React.createElement(ClearAction, { onClick: onClear }),
|
|
173
|
+
(suffix === null || suffix === void 0 ? void 0 : suffix.icon) && (React.createElement(AffixIcon, Object.assign({}, suffix, { variation: "suffix", size: size })))),
|
|
174
|
+
React.createElement(framerMotion.AnimatePresence, { initial: toolbarVisibility === "always" ? false : true }, isToolbarVisible && (React.createElement(framerMotion.motion.div, { key: "toolbar", initial: toolbarAnimationEnd, animate: toolbarAnimationStart, exit: toolbarAnimationEnd, transition: {
|
|
175
|
+
duration: design.tokens["timing-base"] / 1000,
|
|
176
|
+
ease: "easeInOut",
|
|
177
|
+
}, tabIndex: -1 },
|
|
178
|
+
React.createElement("div", { className: styles$1.toolbar, "data-testid": "ATL-InputText-Toolbar" }, toolbar))))),
|
|
124
179
|
description && !inline && (React.createElement(FormFieldDescription, { id: descriptionIdentifier, description: description })),
|
|
125
180
|
error && !inline && React.createElement(InputValidation.InputValidation, { message: error })));
|
|
126
181
|
function getAffixPaddding() {
|
|
@@ -155,7 +210,7 @@ function FormFieldPostFix({ variation }) {
|
|
|
155
210
|
/*eslint max-statements: ["error", 13]*/
|
|
156
211
|
function FormField(props) {
|
|
157
212
|
var _a, _b;
|
|
158
|
-
const { actionsRef, autocomplete = true, children, defaultValue, description, disabled, inputRef, inline, keyboard, max, maxLength, min, name, readonly, rows, loading, type = "text", validations, value, onChange, onEnter, onFocus, onBlur, onValidation, onKeyUp, clearable = "never", } = props;
|
|
213
|
+
const { actionsRef, autocomplete = true, children, defaultValue, description, disabled, inputRef, inline, keyboard, max, maxLength, min, name, readonly, rows, loading, type = "text", validations, value, onChange, onEnter, onFocus, onBlur, onValidation, onKeyUp, clearable = "never", autofocus, } = props;
|
|
159
214
|
const { control, formState: { errors }, setValue, watch, } = reactHookForm.useFormContext() != undefined
|
|
160
215
|
? reactHookForm.useFormContext()
|
|
161
216
|
: // If there isn't a Form Context being provided, get a form for this field.
|
|
@@ -183,9 +238,9 @@ function FormField(props) {
|
|
|
183
238
|
React.useEffect(() => handleValidation(), [error]);
|
|
184
239
|
return (React.createElement(reactHookForm.Controller, { control: control, name: controlledName, rules: Object.assign({}, validations), defaultValue: (_b = value !== null && value !== void 0 ? value : defaultValue) !== null && _b !== void 0 ? _b : "", render: (_a) => {
|
|
185
240
|
var _b = _a.field, { onChange: onControllerChange, onBlur: onControllerBlur, name: controllerName } = _b, rest = tslib_es6.__rest(_b, ["onChange", "onBlur", "name"]);
|
|
186
|
-
const fieldProps = Object.assign(Object.assign(Object.assign({}, rest), { id: identifier, className: styles$1.input, name: (validations || name) && controllerName, disabled: disabled, readOnly: readonly, inputMode: keyboard, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus }), (description &&
|
|
241
|
+
const fieldProps = Object.assign(Object.assign(Object.assign({}, rest), { id: identifier, className: styles$1.input, name: (validations || name) && controllerName, disabled: disabled, readOnly: readonly, inputMode: keyboard, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, autoFocus: autofocus }), (description &&
|
|
187
242
|
!inline && { "aria-describedby": descriptionIdentifier }));
|
|
188
|
-
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { onKeyDown: handleKeyDown });
|
|
243
|
+
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { autoFocus: autofocus, onKeyDown: handleKeyDown });
|
|
189
244
|
return (React.createElement(FormFieldWrapper, Object.assign({}, props, { value: rest.value, error: error, identifier: identifier, descriptionIdentifier: descriptionIdentifier, clearable: clearable, onClear: handleClear }), renderField()));
|
|
190
245
|
function renderField() {
|
|
191
246
|
switch (type) {
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
2
|
-
import React, {
|
|
1
|
+
import { _ as __rest } from './tslib.es6-De4Bn7R0.js';
|
|
2
|
+
import React, { useState, useEffect, useRef, useId, useImperativeHandle } from 'react';
|
|
3
3
|
import { useFormContext, useForm, Controller } from 'react-hook-form';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { I as
|
|
9
|
-
import {
|
|
5
|
+
import { AnimatePresence, motion } from 'framer-motion';
|
|
6
|
+
import { tokens } from '@jobber/design';
|
|
7
|
+
import { B as Button } from './Button-DphsaJ2N.js';
|
|
8
|
+
import { I as Icon } from './Icon-mKNhhLlM.js';
|
|
9
|
+
import { T as Text } from './Text-DkNm4sVq.js';
|
|
10
|
+
import { I as InputValidation } from './InputValidation-S_Fw4V6C.js';
|
|
11
|
+
import { S as Spinner } from './Spinner-CJLKR-Xv.js';
|
|
10
12
|
|
|
11
|
-
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","textarea":"mgPacJ6Z71Y-","invalid":"gJ-15M615eY-","disabled":"_1rsTLm5GwcM-","small":"o8D-H-lKfDk-","inline":"_5Hu2F3cBvng-","center":"s1WLQs6ffD8-","right":"a2r4QheWYIA-","maxLength":"KdAnXK1gClo-","inputWrapper":"iQFhpFYnz-8-","childrenWrapper":"Yo2Wi9dpa-Y-","input":"LSHPV7PwOTg-","select":"i31GQXcMz54-","label":"_3xREbTN5pPg-","postfix":"VtnAk1HYMMk-","affixIcon":"uPLklxvtfJw-","suffix":"pYqqDvv57JE-","hasAction":"eI44oQpuVlk-","affixLabel":"jO8P2iSHilM-","description":"_2GfgzNnLOSI-"};
|
|
13
|
+
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","horizontalWrapper":"q7AxfhwVVBs-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","text":"e4VYDAkWHAg-","textarea":"mgPacJ6Z71Y-","invalid":"gJ-15M615eY-","disabled":"_1rsTLm5GwcM-","small":"o8D-H-lKfDk-","inline":"_5Hu2F3cBvng-","center":"s1WLQs6ffD8-","right":"a2r4QheWYIA-","maxLength":"KdAnXK1gClo-","inputWrapper":"iQFhpFYnz-8-","childrenWrapper":"Yo2Wi9dpa-Y-","input":"LSHPV7PwOTg-","select":"i31GQXcMz54-","label":"_3xREbTN5pPg-","postfix":"VtnAk1HYMMk-","affixIcon":"uPLklxvtfJw-","suffix":"pYqqDvv57JE-","hasAction":"eI44oQpuVlk-","affixLabel":"jO8P2iSHilM-","description":"_2GfgzNnLOSI-","toolbar":"_3GtIRFCkZMg-"};
|
|
12
14
|
|
|
13
15
|
var useShowClear$1 = {};
|
|
14
16
|
|
|
@@ -63,20 +65,62 @@ function FormFieldDescription({ id, description, }) {
|
|
|
63
65
|
React.createElement(Text, { size: "small", variation: "subdued" }, description)));
|
|
64
66
|
}
|
|
65
67
|
|
|
66
|
-
var styles = {"
|
|
68
|
+
var styles = {"clearInput":"t1fFX8kDJh8-"};
|
|
67
69
|
|
|
68
70
|
function ClearAction({ onClick }) {
|
|
69
|
-
return (React.createElement("
|
|
70
|
-
React.createElement(
|
|
71
|
-
React.createElement(Icon, { name: "remove", size: "small" }))));
|
|
71
|
+
return (React.createElement("button", { className: styles.clearInput, onClick: onClick, type: "button", "aria-label": "Clear input" },
|
|
72
|
+
React.createElement(Icon, { name: "remove", size: "small" })));
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
function
|
|
75
|
+
function useToolbar(props) {
|
|
76
|
+
const isToolbarVisible = props.toolbar !== undefined &&
|
|
77
|
+
(props.toolbarVisibility === "always" || props.focused);
|
|
78
|
+
const toolbarAnimationEnd = { opacity: 0, height: 0 };
|
|
79
|
+
const toolbarAnimationStart = { opacity: 1, height: "auto" };
|
|
80
|
+
return {
|
|
81
|
+
isToolbarVisible,
|
|
82
|
+
toolbarAnimationEnd,
|
|
83
|
+
toolbarAnimationStart,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function useFormFieldFocus(props) {
|
|
88
|
+
var _a;
|
|
89
|
+
const [focused, setFocused] = useState(false);
|
|
90
|
+
useEffect(() => {
|
|
91
|
+
var _a, _b, _c, _d;
|
|
92
|
+
function handleFocusIn() {
|
|
93
|
+
setFocused(true);
|
|
94
|
+
}
|
|
95
|
+
function handleFocusOut() {
|
|
96
|
+
setTimeout(() => {
|
|
97
|
+
var _a, _b;
|
|
98
|
+
const focusedElementWithinWrapper = (_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.contains(document.activeElement);
|
|
99
|
+
if (!focusedElementWithinWrapper) {
|
|
100
|
+
setFocused(false);
|
|
101
|
+
}
|
|
102
|
+
}, 1);
|
|
103
|
+
}
|
|
104
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.addEventListener("focusin", handleFocusIn);
|
|
105
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.addEventListener("focusout", handleFocusOut);
|
|
106
|
+
return () => {
|
|
107
|
+
var _a, _b, _c, _d;
|
|
108
|
+
(_b = (_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.removeEventListener("focusin", handleFocusIn);
|
|
109
|
+
(_d = (_c = props.wrapperRef) === null || _c === void 0 ? void 0 : _c.current) === null || _d === void 0 ? void 0 : _d.removeEventListener("focusout", handleFocusOut);
|
|
110
|
+
};
|
|
111
|
+
}, [(_a = props.wrapperRef) === null || _a === void 0 ? void 0 : _a.current]);
|
|
112
|
+
return {
|
|
113
|
+
focused,
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function FormFieldWrapper({ align, description, descriptionIdentifier, placeholder, value, children, invalid, error, size, prefix, suffix, max, maxLength, type, disabled, inline, identifier, clearable, onClear, toolbar, toolbarVisibility = "while-editing", wrapperRef, }) {
|
|
75
118
|
const wrapperClasses = classnames(styles$1.wrapper, size && styles$1[size], align && styles$1[align], {
|
|
76
119
|
[styles$1.miniLabel]: (placeholder && value !== "") ||
|
|
77
120
|
(placeholder && type === "select") ||
|
|
78
121
|
// Naively assume that if the the type is tel, it is the InputPhoneNumber
|
|
79
122
|
(placeholder && type === "tel"),
|
|
123
|
+
[styles$1.text]: type === "textarea" || type === "text",
|
|
80
124
|
[styles$1.textarea]: type === "textarea",
|
|
81
125
|
[styles$1.select]: type === "select",
|
|
82
126
|
[styles$1.invalid]: invalid !== null && invalid !== void 0 ? invalid : error,
|
|
@@ -99,7 +143,7 @@ function FormFieldWrapper({ align, description, descriptionIdentifier, placehold
|
|
|
99
143
|
useEffect(() => {
|
|
100
144
|
setLabelStyle(getAffixPaddding);
|
|
101
145
|
}, [value]);
|
|
102
|
-
const
|
|
146
|
+
const { focused } = useFormFieldFocus({ wrapperRef });
|
|
103
147
|
const showClear = useShowClear_2({
|
|
104
148
|
clearable,
|
|
105
149
|
multiline: type === "textarea",
|
|
@@ -107,18 +151,29 @@ function FormFieldWrapper({ align, description, descriptionIdentifier, placehold
|
|
|
107
151
|
hasValue: Boolean(value),
|
|
108
152
|
disabled,
|
|
109
153
|
});
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
React.createElement(
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
154
|
+
const { isToolbarVisible, toolbarAnimationEnd, toolbarAnimationStart } = useToolbar({
|
|
155
|
+
focused,
|
|
156
|
+
toolbar,
|
|
157
|
+
toolbarVisibility,
|
|
158
|
+
});
|
|
159
|
+
return (React.createElement("div", { className: containerClasses },
|
|
160
|
+
React.createElement("div", { className: wrapperClasses, style: wrapperInlineStyle, "data-testid": "Form-Field-Wrapper", ref: wrapperRef },
|
|
161
|
+
React.createElement("div", { className: styles$1.horizontalWrapper },
|
|
162
|
+
(prefix === null || prefix === void 0 ? void 0 : prefix.icon) && React.createElement(AffixIcon, Object.assign({}, prefix, { size: size })),
|
|
163
|
+
React.createElement("div", { className: styles$1.inputWrapper },
|
|
164
|
+
placeholder && (React.createElement("label", { className: styles$1.label, htmlFor: identifier, style: (prefixRef === null || prefixRef === void 0 ? void 0 : prefixRef.current) || (suffixRef === null || suffixRef === void 0 ? void 0 : suffixRef.current)
|
|
165
|
+
? labelStyle
|
|
166
|
+
: undefined }, placeholder)),
|
|
167
|
+
(prefix === null || prefix === void 0 ? void 0 : prefix.label) && React.createElement(AffixLabel, Object.assign({}, prefix, { labelRef: prefixRef })),
|
|
168
|
+
React.createElement("div", { className: styles$1.childrenWrapper, tabIndex: -1 }, children),
|
|
169
|
+
(suffix === null || suffix === void 0 ? void 0 : suffix.label) && (React.createElement(AffixLabel, Object.assign({}, suffix, { labelRef: suffixRef, variation: "suffix" })))),
|
|
170
|
+
showClear && React.createElement(ClearAction, { onClick: onClear }),
|
|
171
|
+
(suffix === null || suffix === void 0 ? void 0 : suffix.icon) && (React.createElement(AffixIcon, Object.assign({}, suffix, { variation: "suffix", size: size })))),
|
|
172
|
+
React.createElement(AnimatePresence, { initial: toolbarVisibility === "always" ? false : true }, isToolbarVisible && (React.createElement(motion.div, { key: "toolbar", initial: toolbarAnimationEnd, animate: toolbarAnimationStart, exit: toolbarAnimationEnd, transition: {
|
|
173
|
+
duration: tokens["timing-base"] / 1000,
|
|
174
|
+
ease: "easeInOut",
|
|
175
|
+
}, tabIndex: -1 },
|
|
176
|
+
React.createElement("div", { className: styles$1.toolbar, "data-testid": "ATL-InputText-Toolbar" }, toolbar))))),
|
|
122
177
|
description && !inline && (React.createElement(FormFieldDescription, { id: descriptionIdentifier, description: description })),
|
|
123
178
|
error && !inline && React.createElement(InputValidation, { message: error })));
|
|
124
179
|
function getAffixPaddding() {
|
|
@@ -153,7 +208,7 @@ function FormFieldPostFix({ variation }) {
|
|
|
153
208
|
/*eslint max-statements: ["error", 13]*/
|
|
154
209
|
function FormField(props) {
|
|
155
210
|
var _a, _b;
|
|
156
|
-
const { actionsRef, autocomplete = true, children, defaultValue, description, disabled, inputRef, inline, keyboard, max, maxLength, min, name, readonly, rows, loading, type = "text", validations, value, onChange, onEnter, onFocus, onBlur, onValidation, onKeyUp, clearable = "never", } = props;
|
|
211
|
+
const { actionsRef, autocomplete = true, children, defaultValue, description, disabled, inputRef, inline, keyboard, max, maxLength, min, name, readonly, rows, loading, type = "text", validations, value, onChange, onEnter, onFocus, onBlur, onValidation, onKeyUp, clearable = "never", autofocus, } = props;
|
|
157
212
|
const { control, formState: { errors }, setValue, watch, } = useFormContext() != undefined
|
|
158
213
|
? useFormContext()
|
|
159
214
|
: // If there isn't a Form Context being provided, get a form for this field.
|
|
@@ -181,9 +236,9 @@ function FormField(props) {
|
|
|
181
236
|
useEffect(() => handleValidation(), [error]);
|
|
182
237
|
return (React.createElement(Controller, { control: control, name: controlledName, rules: Object.assign({}, validations), defaultValue: (_b = value !== null && value !== void 0 ? value : defaultValue) !== null && _b !== void 0 ? _b : "", render: (_a) => {
|
|
183
238
|
var _b = _a.field, { onChange: onControllerChange, onBlur: onControllerBlur, name: controllerName } = _b, rest = __rest(_b, ["onChange", "onBlur", "name"]);
|
|
184
|
-
const fieldProps = Object.assign(Object.assign(Object.assign({}, rest), { id: identifier, className: styles$1.input, name: (validations || name) && controllerName, disabled: disabled, readOnly: readonly, inputMode: keyboard, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus }), (description &&
|
|
239
|
+
const fieldProps = Object.assign(Object.assign(Object.assign({}, rest), { id: identifier, className: styles$1.input, name: (validations || name) && controllerName, disabled: disabled, readOnly: readonly, inputMode: keyboard, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, autoFocus: autofocus }), (description &&
|
|
185
240
|
!inline && { "aria-describedby": descriptionIdentifier }));
|
|
186
|
-
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { onKeyDown: handleKeyDown });
|
|
241
|
+
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { autoFocus: autofocus, onKeyDown: handleKeyDown });
|
|
187
242
|
return (React.createElement(FormFieldWrapper, Object.assign({}, props, { value: rest.value, error: error, identifier: identifier, descriptionIdentifier: descriptionIdentifier, clearable: clearable, onClear: handleClear }), renderField()));
|
|
188
243
|
function renderField() {
|
|
189
244
|
switch (type) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as FormatDate, s as strFormatDate } from '../FormatDate-
|
|
1
|
+
export { F as FormatDate, s as strFormatDate } from '../FormatDate-CZVTG31T.js';
|
|
2
2
|
import 'react';
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var FormatFile = require('../FormatFile-
|
|
3
|
+
var FormatFile = require('../FormatFile-CYP-4xh6.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('filesize');
|
|
7
|
-
require('../Button-
|
|
7
|
+
require('../Button-CrNtqYZi.js');
|
|
8
8
|
require('react-router-dom');
|
|
9
|
-
require('../Icon-
|
|
9
|
+
require('../Icon-lHYv-rc2.js');
|
|
10
10
|
require('@jobber/design');
|
|
11
|
-
require('../Typography-
|
|
12
|
-
require('../ConfirmationModal-
|
|
13
|
-
require('../useOnKeyDown-
|
|
14
|
-
require('../Modal-
|
|
11
|
+
require('../Typography-DtrR-UIr.js');
|
|
12
|
+
require('../ConfirmationModal-CqUN6FMz.js');
|
|
13
|
+
require('../useOnKeyDown-CRod0T4z.js');
|
|
14
|
+
require('../Modal-CG9SMdwW.js');
|
|
15
15
|
require('react-dom');
|
|
16
16
|
require('framer-motion');
|
|
17
|
-
require('../useRefocusOnActivator-
|
|
18
|
-
require('../useFocusTrap-
|
|
19
|
-
require('../Heading-
|
|
20
|
-
require('../ButtonDismiss-
|
|
21
|
-
require('../Content-
|
|
22
|
-
require('../Markdown-
|
|
23
|
-
require('../Text-
|
|
24
|
-
require('../Emphasis-
|
|
25
|
-
require('../index-
|
|
26
|
-
require('../_commonjsHelpers-
|
|
27
|
-
require('../_polyfill-node.process-
|
|
28
|
-
require('../Glimmer-
|
|
29
|
-
require('../tslib.es6-
|
|
30
|
-
require('../ProgressBar-
|
|
17
|
+
require('../useRefocusOnActivator-4tvV0_tR.js');
|
|
18
|
+
require('../useFocusTrap-DQ4pmP0w.js');
|
|
19
|
+
require('../Heading-DvxeGTNo.js');
|
|
20
|
+
require('../ButtonDismiss-B5hiZLaf.js');
|
|
21
|
+
require('../Content-DZpCfEYh.js');
|
|
22
|
+
require('../Markdown-HP4yRbhE.js');
|
|
23
|
+
require('../Text-DXUZ3Xqc.js');
|
|
24
|
+
require('../Emphasis-hPCg4FBq.js');
|
|
25
|
+
require('../index-2Uy3eyO0.js');
|
|
26
|
+
require('../_commonjsHelpers-CD5-_3Iw.js');
|
|
27
|
+
require('../_polyfill-node.process-BwBFrIHL.js');
|
|
28
|
+
require('../Glimmer-Chf9r_dj.js');
|
|
29
|
+
require('../tslib.es6-BzJQO8hv.js');
|
|
30
|
+
require('../ProgressBar-CslYYbCT.js');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export { F as FormatFile } from '../FormatFile-
|
|
1
|
+
export { F as FormatFile } from '../FormatFile-DHU7gmRM.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'filesize';
|
|
5
|
-
import '../Button-
|
|
5
|
+
import '../Button-DphsaJ2N.js';
|
|
6
6
|
import 'react-router-dom';
|
|
7
|
-
import '../Icon-
|
|
7
|
+
import '../Icon-mKNhhLlM.js';
|
|
8
8
|
import '@jobber/design';
|
|
9
|
-
import '../Typography-
|
|
10
|
-
import '../ConfirmationModal-
|
|
11
|
-
import '../useOnKeyDown-
|
|
12
|
-
import '../Modal-
|
|
9
|
+
import '../Typography-CHkHpIpY.js';
|
|
10
|
+
import '../ConfirmationModal-wBdjMryd.js';
|
|
11
|
+
import '../useOnKeyDown-C_ih59Qv.js';
|
|
12
|
+
import '../Modal-Geij_1xy.js';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import 'framer-motion';
|
|
15
|
-
import '../useRefocusOnActivator-
|
|
16
|
-
import '../useFocusTrap-
|
|
17
|
-
import '../Heading-
|
|
18
|
-
import '../ButtonDismiss-
|
|
19
|
-
import '../Content-
|
|
20
|
-
import '../Markdown-
|
|
21
|
-
import '../Text-
|
|
22
|
-
import '../Emphasis-
|
|
23
|
-
import '../index-
|
|
24
|
-
import '../_commonjsHelpers-
|
|
25
|
-
import '../_polyfill-node.process-
|
|
26
|
-
import '../Glimmer-
|
|
27
|
-
import '../tslib.es6-
|
|
28
|
-
import '../ProgressBar-
|
|
15
|
+
import '../useRefocusOnActivator-xjOg8XdQ.js';
|
|
16
|
+
import '../useFocusTrap-D_sa2pps.js';
|
|
17
|
+
import '../Heading-8KJMP1ZE.js';
|
|
18
|
+
import '../ButtonDismiss-B80ZoISQ.js';
|
|
19
|
+
import '../Content-BVuNlQrb.js';
|
|
20
|
+
import '../Markdown-DwqQzH9h.js';
|
|
21
|
+
import '../Text-DkNm4sVq.js';
|
|
22
|
+
import '../Emphasis-KTh3qF8B.js';
|
|
23
|
+
import '../index-CkU4RUJc.js';
|
|
24
|
+
import '../_commonjsHelpers-D6r2ggSt.js';
|
|
25
|
+
import '../_polyfill-node.process-svm-UfAT.js';
|
|
26
|
+
import '../Glimmer-DEsto_lK.js';
|
|
27
|
+
import '../tslib.es6-De4Bn7R0.js';
|
|
28
|
+
import '../ProgressBar-gMuG8qxG.js';
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classnames = require('classnames');
|
|
5
5
|
var getHumanReadableFileSize = require('filesize');
|
|
6
|
-
var Button = require('./Button-
|
|
7
|
-
var ConfirmationModal = require('./ConfirmationModal-
|
|
8
|
-
var Glimmer = require('./Glimmer-
|
|
9
|
-
var Icon = require('./Icon-
|
|
10
|
-
var Typography = require('./Typography-
|
|
11
|
-
var Text = require('./Text-
|
|
12
|
-
var ProgressBar = require('./ProgressBar-
|
|
6
|
+
var Button = require('./Button-CrNtqYZi.js');
|
|
7
|
+
var ConfirmationModal = require('./ConfirmationModal-CqUN6FMz.js');
|
|
8
|
+
var Glimmer = require('./Glimmer-Chf9r_dj.js');
|
|
9
|
+
var Icon = require('./Icon-lHYv-rc2.js');
|
|
10
|
+
var Typography = require('./Typography-DtrR-UIr.js');
|
|
11
|
+
var Text = require('./Text-DXUZ3Xqc.js');
|
|
12
|
+
var ProgressBar = require('./ProgressBar-CslYYbCT.js');
|
|
13
13
|
|
|
14
14
|
var styles$2 = {"expanded":"cx4iQqlNNvc-","compact":"nSaog7-7Jn0-","wrapper":"_9jVt97W52JY-","large":"z-kUGMs0Yfg-","base":"x1Ql0enaIxY-","thumbnail":"il9-MCeoBts-","clickable":"O9EG-xJYVco-","hoverable":"QmrRp5CTpGU-","progress":"N5qVYfi1Pgo-","contentBlock":"TyXXZnJuVwo-","deleteButton":"_7wDO6nPXy-g-","deleteable":"sgUJuNv0rUE-"};
|
|
15
15
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import getHumanReadableFileSize from 'filesize';
|
|
4
|
-
import { B as Button } from './Button-
|
|
5
|
-
import { C as ConfirmationModal } from './ConfirmationModal-
|
|
6
|
-
import { G as Glimmer } from './Glimmer-
|
|
7
|
-
import { I as Icon } from './Icon-
|
|
8
|
-
import { T as Typography } from './Typography-
|
|
9
|
-
import { T as Text } from './Text-
|
|
10
|
-
import { P as ProgressBar } from './ProgressBar-
|
|
4
|
+
import { B as Button } from './Button-DphsaJ2N.js';
|
|
5
|
+
import { C as ConfirmationModal } from './ConfirmationModal-wBdjMryd.js';
|
|
6
|
+
import { G as Glimmer } from './Glimmer-DEsto_lK.js';
|
|
7
|
+
import { I as Icon } from './Icon-mKNhhLlM.js';
|
|
8
|
+
import { T as Typography } from './Typography-CHkHpIpY.js';
|
|
9
|
+
import { T as Text } from './Text-DkNm4sVq.js';
|
|
10
|
+
import { P as ProgressBar } from './ProgressBar-gMuG8qxG.js';
|
|
11
11
|
|
|
12
12
|
var styles$2 = {"expanded":"cx4iQqlNNvc-","compact":"nSaog7-7Jn0-","wrapper":"_9jVt97W52JY-","large":"z-kUGMs0Yfg-","base":"x1Ql0enaIxY-","thumbnail":"il9-MCeoBts-","clickable":"O9EG-xJYVco-","hoverable":"QmrRp5CTpGU-","progress":"N5qVYfi1Pgo-","contentBlock":"TyXXZnJuVwo-","deleteButton":"_7wDO6nPXy-g-","deleteable":"sgUJuNv0rUE-"};
|
|
13
13
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as FormatRelativeDateTime } from '../FormatRelativeDateTime-
|
|
1
|
+
export { F as FormatRelativeDateTime } from '../FormatRelativeDateTime-BPEHh2Tr.js';
|
|
2
2
|
import 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as FormatTime } from '../FormatTime-
|
|
1
|
+
export { F as FormatTime } from '../FormatTime-BI2IOLLl.js';
|
|
2
2
|
import 'react';
|