@jobber/components 5.20.7 → 5.20.8-JOB-101907.27
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/ThemeContext.d.ts +1 -0
- package/ThemeContext.js +17 -0
- 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-BgCS1S41.js → AnimatedSwitcher-DPh2dqnJ.js} +1 -1
- package/dist/{AnimatedSwitcher-DANvnRKS.js → AnimatedSwitcher-OzpffYuG.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-DrlLJzAI.js → Autocomplete-3bM1E_KO.js} +41 -12
- package/dist/{Autocomplete-C5Rolr3b.js → Autocomplete-7BjlXL0r.js} +42 -13
- package/dist/Avatar/index.cjs +2 -2
- package/dist/Avatar/index.mjs +2 -2
- package/dist/{Avatar-DBqahQ_x.js → Avatar-C21woMAr.js} +2 -2
- package/dist/{Avatar-CO01TIh-.js → Avatar-Dz42wSx-.js} +2 -2
- package/dist/Banner/components/BannerIcon/index.cjs +2 -2
- package/dist/Banner/components/BannerIcon/index.mjs +2 -2
- package/dist/Banner/index.cjs +13 -13
- package/dist/Banner/index.mjs +13 -13
- package/dist/{Banner-BnMr5DVI.js → Banner-BONDYV3g.js} +5 -5
- package/dist/{Banner-7t60NWq3.js → Banner-BsDjBooD.js} +5 -5
- package/dist/{BannerIcon-C-hcHQFp.js → BannerIcon-3gPfui48.js} +3 -3
- package/dist/{BannerIcon-rW_Np0P4.js → BannerIcon-jVtHJ0zZ.js} +3 -3
- package/dist/{Body-ClbGBZA8.js → Body-3j1EePvn.js} +2 -2
- package/dist/{Body-DduJqD6d.js → Body-CkuyFYz9.js} +2 -2
- package/dist/Box/index.cjs +2 -2
- package/dist/Box/index.mjs +2 -2
- package/dist/{Box-Dwt-YIGd.js → Box-D3h87bGL.js} +8 -8
- package/dist/{Box-Hw_E7Er8.js → Box-Dq_HIwDd.js} +8 -8
- package/dist/Button/index.cjs +3 -3
- package/dist/Button/index.mjs +3 -3
- package/dist/{Button-Dz9Txb9H.js → Button-CQQ3YKPV.js} +3 -3
- package/dist/{Button-B6opn1hr.js → Button-DaMX5Km4.js} +3 -3
- package/dist/ButtonDismiss/index.cjs +4 -4
- package/dist/ButtonDismiss/index.mjs +4 -4
- package/dist/{ButtonDismiss-CmeL0Ikq.js → ButtonDismiss-DZeRqf_q.js} +1 -1
- package/dist/{ButtonDismiss-BX-PQNvt.js → ButtonDismiss-rQED0XFt.js} +1 -1
- package/dist/Card/index.cjs +12 -12
- package/dist/Card/index.mjs +12 -12
- package/dist/{Card-HPR8a7eo.js → Card-B-srReVA.js} +5 -5
- package/dist/{Card-Bv6KFgN_.js → Card-DvVWrJiJ.js} +5 -5
- package/dist/Checkbox/index.cjs +5 -5
- package/dist/Checkbox/index.mjs +5 -5
- package/dist/{Checkbox-D8Ggu0cg.js → Checkbox-DPY5Xslc.js} +4 -4
- package/dist/{Checkbox-B0RtZI6S.js → Checkbox-GMRN5BFf.js} +4 -4
- package/dist/Chip/components/ChipSuffix/Chip.Suffix.d.ts +5 -2
- 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-Cq0GhXau.js → Chip-C0pYcddV.js} +17 -9
- package/dist/{Chip-uSJabziM.js → Chip-CbLnEVOP.js} +17 -9
- package/dist/{ChipDismissible-C0uQA_0y.js → ChipDismissible-DAZ-_TjT.js} +3 -3
- package/dist/{ChipDismissible-DZfqA_BH.js → ChipDismissible-xHAz8KIr.js} +3 -3
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +15 -10
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +15 -10
- package/dist/Chips/InternalChipDismissible/index.cjs +26 -21
- package/dist/Chips/InternalChipDismissible/index.mjs +26 -21
- package/dist/Chips/index.cjs +27 -22
- package/dist/Chips/index.mjs +27 -22
- package/dist/{Chips-BebdWoA_.js → Chips-CNqmLhw-.js} +2 -2
- package/dist/{Chips-DzWllEvD.js → Chips-Cr0Gh1SR.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-LviNVFH4.js → Combobox-BfhB28Xw.js} +10 -10
- package/dist/{Combobox-Bdu_U5AW.js → Combobox-CDl96h_s.js} +10 -10
- package/dist/{ComboboxAction-CtgDfqt6.js → ComboboxAction-C08wRz9y.js} +3 -3
- package/dist/{ComboboxAction-BnO8m7FI.js → ComboboxAction-c_JD-zD5.js} +3 -3
- package/dist/{ComboboxActivator-CUjbbZ88.js → ComboboxActivator-Cylg1UoW.js} +4 -4
- package/dist/{ComboboxActivator-Ci4poLRU.js → ComboboxActivator-DSVDoB6c.js} +4 -4
- package/dist/{ComboboxContent-D2Hiz32q.js → ComboboxContent-3a0Jj12e.js} +8 -8
- package/dist/{ComboboxContent-q4HY0KKW.js → ComboboxContent-B4QwqHfq.js} +8 -8
- package/dist/{ComboboxContentHeader-C8aC4w_i.js → ComboboxContentHeader-Ds3N_IQ8.js} +3 -3
- package/dist/{ComboboxContentHeader-DC0FV4xG.js → ComboboxContentHeader-QdeCvhuq.js} +3 -3
- package/dist/{ComboboxContentList-F_ijf-fY.js → ComboboxContentList-Cxk2kDw5.js} +7 -7
- package/dist/{ComboboxContentList-vg3DON99.js → ComboboxContentList-Dp-LW6_P.js} +7 -7
- package/dist/{ComboboxContentSearch-BnMzWvLH.js → ComboboxContentSearch-D1w1fCHg.js} +2 -2
- package/dist/{ComboboxContentSearch-CYLUeVOQ.js → ComboboxContentSearch-L0r9qv6m.js} +2 -2
- package/dist/{ComboboxLoadMore-DZ0gIlko.js → ComboboxLoadMore-DZN3_KGi.js} +2 -2
- package/dist/{ComboboxLoadMore-CKxwdvaU.js → ComboboxLoadMore-wVLxQdek.js} +2 -2
- package/dist/{ComboboxOption-CgKHPlpL.js → ComboboxOption--CQJ03z6.js} +4 -4
- package/dist/{ComboboxOption-DYlLrOFm.js → ComboboxOption-Bl4bdqQf.js} +4 -4
- package/dist/{ComboboxProvider-CUmnnWYs.js → ComboboxProvider-BHCsHGXe.js} +1 -1
- package/dist/{ComboboxProvider-CcJiInsj.js → ComboboxProvider-Cn6x5lBd.js} +1 -1
- package/dist/{ComboboxTrigger-DIEYlBO-.js → ComboboxTrigger-jYhUf43d.js} +4 -4
- package/dist/{ComboboxTrigger-BHsQsfRv.js → ComboboxTrigger-kSxZi0VK.js} +4 -4
- package/dist/ConfirmationModal/index.cjs +17 -17
- package/dist/ConfirmationModal/index.mjs +17 -17
- package/dist/{ConfirmationModal-5FPgBnod.js → ConfirmationModal-CBIRWi_x.js} +4 -4
- package/dist/{ConfirmationModal-CrzNxOqB.js → ConfirmationModal-CsOj_F6S.js} +4 -4
- package/dist/Content/index.cjs +1 -1
- package/dist/Content/index.mjs +1 -1
- package/dist/{Content-BAUhpPe9.js → Content-BgNibLpZ.js} +2 -2
- package/dist/{Content-DcWPKwOu.js → Content-Bgqj461a.js} +2 -2
- package/dist/Countdown/index.cjs +3 -3
- package/dist/Countdown/index.mjs +3 -3
- package/dist/{Countdown-BxtIHdlM.js → Countdown-CrgG8Ruo.js} +1 -1
- package/dist/{Countdown-Cbg_Py5M.js → Countdown-DWwBrKdh.js} +1 -1
- package/dist/DataDump/index.cjs +15 -15
- package/dist/DataDump/index.mjs +15 -15
- package/dist/{DataDump-Bz5Onn8q.js → DataDump-BCdryrwl.js} +3 -3
- package/dist/{DataDump-1NWa6LEr.js → DataDump-Bh-LkjWT.js} +3 -3
- package/dist/DataList/components/DataListAction/index.cjs +4 -4
- package/dist/DataList/components/DataListAction/index.mjs +4 -4
- package/dist/DataList/components/DataListActions/index.cjs +30 -29
- package/dist/DataList/components/DataListActions/index.mjs +30 -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 +32 -31
- package/dist/DataList/components/DataListBulkActions/index.mjs +32 -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 +53 -52
- package/dist/DataList/components/DataListFilters/index.mjs +53 -52
- package/dist/DataList/components/DataListHeader/index.cjs +39 -38
- package/dist/DataList/components/DataListHeader/index.mjs +39 -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 +38 -37
- package/dist/DataList/components/DataListItem/index.mjs +38 -37
- package/dist/DataList/components/DataListItemActions/index.cjs +31 -30
- package/dist/DataList/components/DataListItemActions/index.mjs +31 -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 +39 -38
- package/dist/DataList/components/DataListItems/index.mjs +39 -38
- package/dist/DataList/components/DataListLayout/index.cjs +42 -41
- package/dist/DataList/components/DataListLayout/index.mjs +42 -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 +21 -20
- package/dist/DataList/components/DataListStatusBar/index.mjs +21 -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 +84 -83
- package/dist/DataList/index.mjs +84 -83
- package/dist/{DataList-DFd_H8VI.js → DataList-B-AtiWBj.js} +1 -1
- package/dist/{DataList-twEwXWv6.js → DataList-Ctx2tP8A.js} +21 -21
- package/dist/{DataList-DA-Ro9wq.js → DataList-Z93WF-mi.js} +21 -21
- package/dist/{DataList-Ds4KjaH5.js → DataList-baWftDJr.js} +1 -1
- package/dist/{DataList.utils-DEYzxoEI.js → DataList.utils-B3vBIvUA.js} +15 -14
- package/dist/{DataList.utils-BfCYHQeA.js → DataList.utils-Dno_vyUE.js} +9 -8
- package/dist/{DataListAction-Dnq2bgyo.js → DataListAction-BacO9p8I.js} +4 -4
- package/dist/{DataListAction-CIKWGpfz.js → DataListAction-CHCSrIhU.js} +4 -4
- package/dist/{DataListActions-BYetfL-7.js → DataListActions-B7p1iSvN.js} +6 -6
- package/dist/{DataListActions-D4HZOZJz.js → DataListActions-D5BeuL2v.js} +6 -6
- package/dist/{DataListActionsMenu-CsTqQyx1.js → DataListActionsMenu--hzZHcDO.js} +6 -6
- package/dist/{DataListActionsMenu-raWV4M1Z.js → DataListActionsMenu-DBEA2E-9.js} +6 -6
- package/dist/{DataListBulkActions-H64wF5QK.js → DataListBulkActions-BJT6o2TR.js} +4 -4
- package/dist/{DataListBulkActions-CV8gxaya.js → DataListBulkActions-TR1cc4hj.js} +4 -4
- package/dist/{DataListContext-BFk0V2G1.js → DataListContext-CmemCYPO.js} +1 -1
- package/dist/{DataListContext-BJql1391.js → DataListContext-gVHo5elI.js} +1 -1
- package/dist/{DataListEmptyState-CRT7lyyd.js → DataListEmptyState-BhkmjXaP.js} +5 -5
- package/dist/{DataListEmptyState-gaoY-uXF.js → DataListEmptyState-DJwQEyZK.js} +5 -5
- package/dist/{DataListFilters-BBoziOUz.js → DataListFilters-CFi8yBSE.js} +5 -5
- package/dist/{DataListFilters-CbYNFYe8.js → DataListFilters-CQDp6KJA.js} +5 -5
- package/dist/{DataListHeader-usZOwUlJ.js → DataListHeader-D9hHYJq_.js} +11 -11
- package/dist/{DataListHeader-D0ActtB_.js → DataListHeader-Ds_gW9JV.js} +11 -11
- package/dist/{DataListHeaderTile-DvmLSwI7.js → DataListHeaderTile-C7zqNHW9.js} +7 -7
- package/dist/{DataListHeaderTile-hueCxF-u.js → DataListHeaderTile-D3fiyDx3.js} +7 -7
- package/dist/{DataListItem-DUm3PrLy.js → DataListItem-ByNme2Mn.js} +10 -10
- package/dist/{DataListItem-DRdcCzUt.js → DataListItem-DenZ5SVQ.js} +10 -10
- package/dist/{DataListItemActions-qnWelMoN.js → DataListItemActions-BHWTMDro.js} +3 -3
- package/dist/{DataListItemActions--SsHKkBp.js → DataListItemActions-Cpz5yneF.js} +3 -3
- package/dist/{DataListItemActionsOverflow-DZFHJhqL.js → DataListItemActionsOverflow-DgdTHUEu.js} +3 -3
- package/dist/{DataListItemActionsOverflow-IeXqKUtT.js → DataListItemActionsOverflow-Uz1KUGA0.js} +3 -3
- package/dist/{DataListItemClickable-BtRNWrrZ.js → DataListItemClickable-B2Wqz_i6.js} +3 -3
- package/dist/{DataListItemClickable-Nsls-EYw.js → DataListItemClickable-DSusS3a4.js} +3 -3
- package/dist/{DataListItems-bNmWX0B7.js → DataListItems-Ci-T4Xl2.js} +3 -3
- package/dist/{DataListItems-Cdi5k4MJ.js → DataListItems-U_YP284G.js} +3 -3
- package/dist/{DataListLayout-Bkg5sinN.js → DataListLayout-BGKrWqG4.js} +3 -3
- package/dist/{DataListLayout-NJp75Ib-.js → DataListLayout-Cg09Miu9.js} +3 -3
- package/dist/{DataListLayoutActions-CMwqW_cU.js → DataListLayoutActions-BfeY9bSR.js} +5 -5
- package/dist/{DataListLayoutActions-CfFlnf-R.js → DataListLayoutActions-uMA8k4oI.js} +5 -5
- package/dist/{DataListLayoutContext-C_dosXEy.js → DataListLayoutContext-4WrYPjau.js} +1 -1
- package/dist/{DataListLayoutContext-REtGx0Pl.js → DataListLayoutContext-Cm13jgw8.js} +1 -1
- package/dist/{DataListLoadMore-BThThC7Z.js → DataListLoadMore-A8SCVfoB.js} +6 -6
- package/dist/{DataListLoadMore-BsOSw6Vl.js → DataListLoadMore-C315Mjnf.js} +6 -6
- package/dist/{DataListLoadingState-ynCGXPt5.js → DataListLoadingState-D655jS5i.js} +4 -4
- package/dist/{DataListLoadingState-CKY0Teg9.js → DataListLoadingState-kb50KUM3.js} +4 -4
- package/dist/{DataListOverflowFade-m-0tflnp.js → DataListOverflowFade-CgMbjwxa.js} +2 -2
- package/dist/{DataListOverflowFade-uV2qcaBL.js → DataListOverflowFade-DXH4zFwW.js} +2 -2
- package/dist/{DataListSearch-DqfekNxw.js → DataListSearch-B0xVfpEa.js} +7 -7
- package/dist/{DataListSearch-tqpNMWcv.js → DataListSearch-DqnrRid8.js} +7 -7
- package/dist/{DataListSort-DO3xxQUo.js → DataListSort-DiPjBoeG.js} +6 -6
- package/dist/{DataListSort-D-xVhVm6.js → DataListSort-Dy3S7VWC.js} +6 -6
- package/dist/{DataListSortingOptions-B0ND0Hjt.js → DataListSortingOptions-DZGgWyqr.js} +4 -4
- package/dist/{DataListSortingOptions-CsB_4U-2.js → DataListSortingOptions-JV5kW2GG.js} +4 -4
- package/dist/{DataListStatusBar-CU1tlWf2.js → DataListStatusBar-BnUk_nHu.js} +2 -2
- package/dist/{DataListStatusBar-CJmQ2LsI.js → DataListStatusBar-CBJda5GZ.js} +2 -2
- package/dist/{DataListStickyHeader-CQp-E2Xn.js → DataListStickyHeader-DLsdX8UO.js} +2 -2
- package/dist/{DataListStickyHeader-D4cpJPrc.js → DataListStickyHeader-DYnfbd4r.js} +2 -2
- package/dist/{DataListTags-Dhp6ZjNs.js → DataListTags-C7AY1AB7.js} +3 -3
- package/dist/{DataListTags-ir4iR_tZ.js → DataListTags-DGLSNZc4.js} +3 -3
- package/dist/{DataListTotalCount-cTDZhZnW.js → DataListTotalCount-CYneY43U.js} +3 -3
- package/dist/{DataListTotalCount-CtLrqHQS.js → DataListTotalCount-D5L8rvtQ.js} +3 -3
- package/dist/DataTable/index.cjs +20 -20
- package/dist/DataTable/index.mjs +20 -20
- package/dist/DataTable/test-utilities/index.cjs +7 -7
- package/dist/DataTable/test-utilities/index.mjs +7 -7
- package/dist/{DataTable-QtuhDFMc.js → DataTable-CU3AQo32.js} +10 -10
- package/dist/{DataTable-C7EiSsZR.js → DataTable-CtBxoWSf.js} +10 -10
- package/dist/DatePicker/index.cjs +18 -14
- package/dist/DatePicker/index.mjs +18 -14
- package/dist/{DatePicker-CXWUPP51.js → DatePicker-CoNsQQQk.js} +66 -442
- package/dist/{DatePicker-DWH77u63.js → DatePicker-DM48GUlG.js} +29 -405
- package/dist/{DayOfMonthSelect-C-fhmuL7.js → DayOfMonthSelect-Blo7Lxq_.js} +7 -7
- package/dist/{DayOfMonthSelect-CIOLqY4L.js → DayOfMonthSelect-C49nC2f0.js} +7 -7
- package/dist/DescriptionList/index.cjs +2 -2
- package/dist/DescriptionList/index.mjs +2 -2
- package/dist/{DescriptionList-D6c28NCz.js → DescriptionList-Dfk7GWaZ.js} +2 -2
- package/dist/{DescriptionList-CqKeTGFh.js → DescriptionList-DoiQQYbe.js} +2 -2
- package/dist/Disclosure/index.cjs +9 -9
- package/dist/Disclosure/index.mjs +9 -9
- package/dist/{Disclosure-3GcduDe7.js → Disclosure-B1_i7iZL.js} +4 -4
- package/dist/{Disclosure-BixhlP17.js → Disclosure-CNHLNKvU.js} +4 -4
- package/dist/Divider/index.cjs +1 -1
- package/dist/Divider/index.mjs +1 -1
- package/dist/{Divider-DaXpMHSi.js → Divider-B-rgjLOE.js} +1 -1
- package/dist/{Divider-CdWWXIcd.js → Divider-OICBdP69.js} +1 -1
- package/dist/Drawer/index.cjs +6 -6
- package/dist/Drawer/index.mjs +6 -6
- package/dist/{DrawerGrid-d9Vn4sfO.js → DrawerGrid-Y7E-Tz7_.js} +4 -4
- package/dist/{DrawerGrid-Bn8bjbP2.js → DrawerGrid-vxY_qV8g.js} +4 -4
- package/dist/Emphasis/index.cjs +2 -2
- package/dist/Emphasis/index.mjs +2 -2
- package/dist/{Emphasis-afmKG0tG.js → Emphasis-BwiSHCkp.js} +1 -1
- package/dist/{Emphasis-Bh-JUyJl.js → Emphasis-CLQp4MV7.js} +1 -1
- package/dist/FeatureSwitch/index.cjs +13 -13
- package/dist/FeatureSwitch/index.mjs +13 -13
- package/dist/{FeatureSwitch-DMpo4F1u.js → FeatureSwitch-DaEO4TB-.js} +8 -8
- package/dist/{FeatureSwitch-XCYIHbmg.js → FeatureSwitch-tXyAjvTN.js} +8 -8
- package/dist/Flex/index.cjs +1 -1
- package/dist/Flex/index.mjs +1 -1
- package/dist/{Flex-CwSGO1NU.js → Flex-C4BbHbXX.js} +1 -1
- package/dist/{Flex-Cs_Sg6wQ.js → Flex-Dscwo-tO.js} +1 -1
- package/dist/Form/index.cjs +2 -2
- package/dist/Form/index.mjs +2 -2
- package/dist/{Form-DAaeLlO2.js → Form-BK9M_JFd.js} +7 -14
- package/dist/{Form-DdYpjl6Q.js → Form-DA6rw8kb.js} +7 -14
- package/dist/FormField/index.cjs +9 -9
- package/dist/FormField/index.mjs +9 -9
- package/dist/{FormField-CAuaSp0s.js → FormField-ClclSOLA.js} +33 -16
- package/dist/{FormField-FIGzYJt8.js → FormField-DK8lYun3.js} +33 -16
- package/dist/FormatDate/index.cjs +1 -1
- package/dist/FormatDate/index.mjs +1 -1
- package/dist/FormatEmail/index.cjs +1 -1
- package/dist/FormatEmail/index.mjs +1 -1
- package/dist/{FormatEmail-sP3aBKvL.js → FormatEmail-C9GASuh3.js} +1 -1
- package/dist/{FormatEmail-qWCssEZd.js → FormatEmail-bvkxXIGP.js} +1 -1
- package/dist/FormatFile/index.cjs +21 -21
- package/dist/FormatFile/index.mjs +21 -21
- package/dist/{FormatFile-D20iNhBi.js → FormatFile-D4wV6e3W.js} +10 -10
- package/dist/{FormatFile-CBw3RWhq.js → FormatFile-G-7UnQy-.js} +10 -10
- package/dist/FormatRelativeDateTime/index.cjs +1 -1
- package/dist/FormatRelativeDateTime/index.mjs +1 -1
- package/dist/FormatTime/index.cjs +1 -1
- package/dist/FormatTime/index.mjs +1 -1
- package/dist/Gallery/index.cjs +28 -28
- package/dist/Gallery/index.mjs +28 -28
- package/dist/{Gallery-QJCSe3C3.js → Gallery-B2ZDs1O0.js} +4 -4
- package/dist/{Gallery-8zA9EcTl.js → Gallery-BtPUD-oK.js} +4 -4
- package/dist/Glimmer/index.cjs +3 -3
- package/dist/Glimmer/index.mjs +3 -3
- package/dist/{Glimmer-BRHqCsKj.js → Glimmer-CAHS_iBj.js} +6 -6
- package/dist/{Glimmer-DFOqy6sk.js → Glimmer-DTiPcO83.js} +6 -6
- 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-D8KvqGPY.js → Grid-BuLEKbBM.js} +4 -4
- package/dist/{Grid-DfPNgBb2.js → Grid-DFTOPh_A.js} +4 -4
- package/dist/Heading/index.cjs +2 -2
- package/dist/Heading/index.mjs +2 -2
- package/dist/{Heading-CPu8Wt-A.js → Heading-DBgdRLwt.js} +1 -1
- package/dist/{Heading-D6cLIRsk.js → Heading-T8hn-zTW.js} +1 -1
- package/dist/Icon/index.cjs +1 -1
- package/dist/Icon/index.mjs +1 -1
- package/dist/{Icon-EBEQFLsi.js → Icon--atCG9Mb.js} +6 -6
- package/dist/{Icon-Dy86SgKQ.js → Icon-D9syM6bB.js} +6 -6
- package/dist/InlineLabel/index.cjs +2 -2
- package/dist/InlineLabel/index.mjs +2 -2
- package/dist/{InlineLabel-DNHwgTd0.js → InlineLabel-DhOpWmcl.js} +2 -2
- package/dist/{InlineLabel-BipQ3zpb.js → InlineLabel-H9HjEmbx.js} +2 -2
- package/dist/InputAvatar/index.cjs +13 -13
- package/dist/InputAvatar/index.mjs +13 -13
- package/dist/{InputAvatar-DLesvR4c.js → InputAvatar-DiBHx9Eh.js} +6 -6
- package/dist/{InputAvatar-C4Kkaw4N.js → InputAvatar-V88cLqb_.js} +6 -6
- package/dist/InputDate/index.cjs +25 -21
- package/dist/InputDate/index.mjs +25 -21
- package/dist/{InputDate-BbUJbGFg.js → InputDate-BmfevBst.js} +2 -2
- package/dist/{InputDate-BwIhkgil.js → InputDate-CKsFSibn.js} +2 -2
- package/dist/InputEmail/index.cjs +10 -10
- package/dist/InputEmail/index.mjs +10 -10
- package/dist/{InputEmail-BZHR18Xs.js → InputEmail-CF-oyeTq.js} +1 -1
- package/dist/{InputEmail-DkbE6fbr.js → InputEmail-CesvPl9Y.js} +1 -1
- package/dist/InputFile/index.cjs +10 -10
- package/dist/InputFile/index.mjs +10 -10
- package/dist/{InputFile-BU2M26Oj.js → InputFile-BOjlsB7a.js} +7 -7
- package/dist/{InputFile-BKZ2qr8R.js → InputFile-vM0Qz1SZ.js} +7 -7
- package/dist/InputGroup/index.cjs +1 -1
- package/dist/InputGroup/index.mjs +1 -1
- package/dist/{InputGroup-C3dGz-9h.js → InputGroup-BDDvjK4J.js} +1 -1
- package/dist/{InputGroup-jVwVTk3f.js → InputGroup-_xGkb3ol.js} +1 -1
- package/dist/InputNumber/index.cjs +10 -10
- package/dist/InputNumber/index.mjs +10 -10
- package/dist/{InputNumber-B0Gnh9rs.js → InputNumber-1sxE1q7D.js} +1 -1
- package/dist/{InputNumber-BjEBlzti.js → InputNumber-CJ_KWjYp.js} +1 -1
- package/dist/InputPassword/index.cjs +10 -10
- package/dist/InputPassword/index.mjs +10 -10
- package/dist/{InputPassword-BX2brrkE.js → InputPassword-Bxs5sSCs.js} +1 -1
- package/dist/{InputPassword-B2PGrbAq.js → InputPassword-G40ncDf6.js} +1 -1
- package/dist/InputPhoneNumber/index.cjs +10 -10
- package/dist/InputPhoneNumber/index.mjs +10 -10
- package/dist/{InputPhoneNumber-Dp0lSALT.js → InputPhoneNumber-B0j-idQq.js} +3 -3
- package/dist/{InputPhoneNumber-DgMYSNK-.js → InputPhoneNumber-CJFripTt.js} +3 -3
- package/dist/InputText/index.cjs +11 -11
- package/dist/InputText/index.mjs +11 -11
- package/dist/{InputText-5_4RgR2d.js → InputText-A3pkmEfE.js} +2 -2
- package/dist/{InputText-BIhJX2lv.js → InputText-BXBATxVr.js} +2 -2
- package/dist/InputTime/index.cjs +14 -14
- package/dist/InputTime/index.mjs +14 -14
- package/dist/{InputTime-ajTzHznV.js → InputTime-DQLoNe62.js} +3 -3
- package/dist/{InputTime-D0KiMRzZ.js → InputTime-cPDVrZMs.js} +3 -3
- package/dist/InputValidation/index.cjs +4 -4
- package/dist/InputValidation/index.mjs +4 -4
- package/dist/{InputValidation-4paSqDl7.js → InputValidation-CH3GKHIn.js} +3 -3
- package/dist/{InputValidation-Bj8LPULb.js → InputValidation-t_kwRRjX.js} +3 -3
- package/dist/{InternalChipDismissible-Gut5Zws8.js → InternalChipDismissible-Dl1cnu9i.js} +13 -13
- package/dist/{InternalChipDismissible-LblKl-xS.js → InternalChipDismissible-fXGa1ac0.js} +13 -13
- package/dist/{InternalGridCell-C2Zck7DL.js → InternalGridCell-DSNEf6wC.js} +1 -1
- package/dist/{InternalGridCell-CMXmTEa3.js → InternalGridCell-DzKYLVqU.js} +1 -1
- package/dist/LightBox/index.cjs +14 -14
- package/dist/LightBox/index.mjs +14 -14
- package/dist/{LightBox-Yiqd8U5E.js → LightBox-COxYYY5r.js} +8 -8
- package/dist/{LightBox-BOhW8Nq4.js → LightBox-DPY6lt7S.js} +8 -8
- package/dist/Link/index.cjs +1 -1
- package/dist/Link/index.mjs +1 -1
- package/dist/{Link-BJsmt234.js → Link-CiUh4N9d.js} +1 -1
- package/dist/{Link-BI03FbQp.js → Link-Dy7J5L_i.js} +1 -1
- package/dist/List/index.cjs +20 -17
- package/dist/List/index.mjs +20 -17
- package/dist/{List-B8tbR8Yz.js → List-CqGhg2SC.js} +13 -13
- package/dist/{List-DEc4rFu3.js → List-CvZitWu6.js} +14 -14
- package/dist/Markdown/index.cjs +9 -9
- package/dist/Markdown/index.mjs +9 -9
- package/dist/{Markdown-BYhCiglu.js → Markdown-CAG-qgYj.js} +7 -7
- package/dist/{Markdown-DkH7wLB-.js → Markdown-skWFv1C3.js} +7 -7
- package/dist/Menu/index.cjs +10 -10
- package/dist/Menu/index.mjs +10 -10
- package/dist/{Menu-Bd-ut0No.js → Menu-C-LAeO95.js} +9 -9
- package/dist/{Menu-catc7VVC.js → Menu-Cdt1Zekk.js} +9 -9
- package/dist/Modal/index.cjs +9 -9
- package/dist/Modal/index.mjs +9 -9
- package/dist/{Modal-CnjbOSJ0.js → Modal-BmfhmdDB.js} +8 -8
- package/dist/{Modal-BgWOC-ie.js → Modal-DkWo1Y3L.js} +8 -8
- package/dist/MultiSelect/index.cjs +6 -6
- package/dist/MultiSelect/index.mjs +6 -6
- package/dist/{MultiSelect-CfurhEjd.js → MultiSelect-Cc97vLTK.js} +5 -5
- package/dist/{MultiSelect-DBX6zci3.js → MultiSelect-D9EBjkJX.js} +5 -5
- package/dist/{Option-CN8ZQ-Gi.js → Option-CWw5pEXF.js} +1 -1
- package/dist/{Option-Dq4aRp2-.js → Option-Da3n6CVN.js} +1 -1
- package/dist/Page/index.cjs +24 -24
- package/dist/Page/index.mjs +24 -24
- package/dist/{Page-62qT6tnW.js → Page-ClIt5poR.js} +9 -9
- package/dist/{Page-C6gGONTj.js → Page-CltpWjC1.js} +9 -9
- package/dist/Popover/index.cjs +6 -6
- package/dist/Popover/index.mjs +6 -6
- package/dist/{Popover-B7db-I_8.js → Popover-DdA-8wNa.js} +3 -3
- package/dist/{Popover-CZ-UTymX.js → Popover-aN6q-UXT.js} +3 -3
- package/dist/ProgressBar/index.cjs +1 -1
- package/dist/ProgressBar/index.mjs +1 -1
- package/dist/{ProgressBar-Djl38dNH.js → ProgressBar-DMm8hwA7.js} +2 -2
- package/dist/{ProgressBar-ROeLp5zL.js → ProgressBar-DOu9DgSN.js} +2 -2
- package/dist/RadioGroup/index.cjs +3 -3
- package/dist/RadioGroup/index.mjs +3 -3
- package/dist/{RadioGroup-D4pS9y9x.js → RadioGroup-Cllj4h-v.js} +2 -2
- package/dist/{RadioGroup-kLvh75VL.js → RadioGroup-DRPJHAL5.js} +2 -2
- package/dist/RecurringSelect/components/index.cjs +4 -4
- package/dist/RecurringSelect/components/index.mjs +4 -4
- package/dist/RecurringSelect/index.cjs +16 -16
- package/dist/RecurringSelect/index.mjs +16 -16
- package/dist/{RecurringSelect-AgJ_WB-4.js → RecurringSelect-Bea8CzSf.js} +7 -7
- package/dist/{RecurringSelect-LoBCsr20.js → RecurringSelect-djeD4M7r.js} +7 -7
- package/dist/Select/index.cjs +10 -10
- package/dist/Select/index.mjs +10 -10
- package/dist/SideDrawer/index.cjs +11 -11
- package/dist/SideDrawer/index.mjs +11 -11
- package/dist/{SideDrawer-CQZ2ysem.js → SideDrawer-BzTOqfec.js} +8 -8
- package/dist/{SideDrawer-DldiIdwK.js → SideDrawer-ygHXoGJ-.js} +8 -8
- package/dist/Spinner/index.cjs +1 -1
- package/dist/Spinner/index.mjs +1 -1
- package/dist/{Spinner-BUvv_dB7.js → Spinner-C4QJzVKQ.js} +1 -1
- package/dist/{Spinner-BVZg7jTZ.js → Spinner-CH9m4bzw.js} +1 -1
- package/dist/StatusIndicator/index.cjs +1 -1
- package/dist/StatusIndicator/index.mjs +1 -1
- package/dist/{StatusIndicator-D3az7C2P.js → StatusIndicator-CuoJLAfJ.js} +1 -1
- package/dist/{StatusIndicator-CxZa_t44.js → StatusIndicator-eXRaZOYp.js} +1 -1
- package/dist/StatusLabel/index.cjs +3 -3
- package/dist/StatusLabel/index.mjs +3 -3
- package/dist/{StatusLabel-ZrGamLTX.js → StatusLabel-CrmcExB2.js} +3 -3
- package/dist/{StatusLabel-DCFIlNNz.js → StatusLabel-DKlLDFkB.js} +3 -3
- package/dist/Switch/index.cjs +2 -2
- package/dist/Switch/index.mjs +2 -2
- package/dist/{Switch-C79lqPpQ.js → Switch-B6lBJE4b.js} +2 -2
- package/dist/{Switch-jJpoW9V3.js → Switch-Bl4tSZMg.js} +2 -2
- package/dist/Table/index.cjs +1 -1
- package/dist/Table/index.mjs +1 -1
- package/dist/Tabs/index.cjs +7 -7
- package/dist/Tabs/index.mjs +7 -7
- package/dist/{Tabs-8Prz1kw6.js → Tabs-Icu-REb6.js} +3 -3
- package/dist/{Tabs-BCBF8cXx.js → Tabs-MO40r0YY.js} +3 -3
- package/dist/Text/index.cjs +2 -2
- package/dist/Text/index.mjs +2 -2
- package/dist/{Text-B9yVgqL6.js → Text-C38Y8b_e.js} +1 -1
- package/dist/{Text-m37VkfMK.js → Text-C8jmRZK6.js} +1 -1
- package/dist/ThemeContext/ThemeContext.d.ts +5 -0
- package/dist/ThemeContext/index.cjs +22 -0
- package/dist/ThemeContext/index.d.ts +3 -0
- package/dist/ThemeContext/index.mjs +12 -0
- package/dist/ThemeContext/setTheme.d.ts +7 -0
- package/dist/ThemeContext/types.d.ts +28 -0
- package/dist/ThemeContext/useThemeContextEventQueue.d.ts +7 -0
- package/dist/ThemeContext-BrJuBwvi.js +413 -0
- package/dist/ThemeContext-C72z9sYm.js +419 -0
- package/dist/Toast/index.cjs +4 -4
- package/dist/Toast/index.mjs +4 -4
- package/dist/Tooltip/index.cjs +3 -3
- package/dist/Tooltip/index.mjs +3 -3
- package/dist/{Tooltip-V7j7WVje.js → Tooltip-CCM59Szo.js} +3 -3
- package/dist/{Tooltip-R5nUnclO.js → Tooltip-CNkzQhjH.js} +3 -3
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/index.mjs +1 -1
- package/dist/{Typography-Da5uJdz4.js → Typography-CiLBthx3.js} +9 -9
- package/dist/{Typography-BxqozTX3.js → Typography-ssxp0zuF.js} +9 -9
- package/dist/{_baseAssignValue-CAXUriFT.js → _baseAssignValue-JAngXB9Y.js} +1 -1
- package/dist/{_baseAssignValue-vsaKVIeq.js → _baseAssignValue-kZ-GXq3p.js} +1 -1
- package/dist/{_baseEach-BghEEHZq.js → _baseEach-BJE0V1as.js} +27 -68
- package/dist/{_baseEach-BNcZxfBt.js → _baseEach-CfxRhX-9.js} +7 -48
- package/dist/_baseFlatten-BOOfej-D.js +65 -0
- package/dist/_baseFlatten-CpriHK3g.js +67 -0
- package/dist/_baseFor-DUXu6bDu.js +45 -0
- package/dist/_baseFor-_dpTWeiD.js +47 -0
- package/dist/{_defineProperty-B_bcnBnu.js → _defineProperty-BwUkmDDL.js} +16 -516
- package/dist/{_defineProperty-Xb4NwYe_.js → _defineProperty-DA6aXhrl.js} +23 -534
- package/dist/_getAllKeys-40o07w-m.js +506 -0
- package/dist/_getAllKeys-Bvn9qFF6.js +518 -0
- package/dist/_getTag-BqcVy_jb.js +136 -0
- package/dist/_getTag-DFGn7Zkx.js +133 -0
- package/dist/_isIterateeCall-B6gYonnt.js +55 -0
- package/dist/_isIterateeCall-mUQgRwOP.js +58 -0
- package/dist/{_setToString-DvGJqDp6.js → _setToString-BNWoV5-R.js} +2 -64
- package/dist/{_setToString-B9Yn3RoL.js → _setToString-Ba4JK_RW.js} +1 -64
- package/dist/{debounce-C9Lbvl_W.js → debounce-BszUDx_b.js} +3 -3
- package/dist/{debounce-Dmv2ZLYr.js → debounce-gv8sfhL3.js} +3 -3
- package/dist/{helpers-npKkeUQY.js → helpers-BdGiXud7.js} +1 -1
- package/dist/{helpers-h0Ddl2Qm.js → helpers-DFI4ZNW5.js} +1 -1
- package/dist/{index-BtICwK2a.js → index-DGivKYh_.js} +1 -1
- package/dist/{index-B5u4T6IH.js → index-DlRxMn-q.js} +1 -1
- package/dist/index.cjs +162 -150
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +157 -150
- package/dist/{_getTag-DdbpeYMn.js → isArrayLike-CoxVxZY0.js} +44 -173
- package/dist/{_getTag-DvMkb78A.js → isArrayLike-k9cRpduU.js} +43 -172
- package/dist/{isObjectLike-D4oYmDeg.js → isObjectLike-31Uz00Fo.js} +2 -2
- package/dist/{isObjectLike-BzejLeDJ.js → isObjectLike-u9caVrPn.js} +1 -1
- package/dist/isPlainObject-DSmPHs2p.js +396 -0
- package/dist/isPlainObject-j2Ok_GHO.js +385 -0
- package/dist/{isSymbol-DSR0dOnt.js → isSymbol-CM5WPWqm.js} +1 -1
- package/dist/{isSymbol-C3uqWUAo.js → isSymbol-DUGpN3Qp.js} +1 -1
- package/dist/{noop-DmkADL9z.js → noop-BPIfarP_.js} +1 -1
- package/dist/{noop-8RUxGwFk.js → noop-Cv1GQvfv.js} +1 -1
- package/dist/{showToast-DB9-8UDJ.js → showToast-C4lBcqDL.js} +4 -4
- package/dist/{showToast-BRiku7PZ.js → showToast-gLnaSR0p.js} +4 -4
- package/dist/styles.css +527 -661
- package/dist/{throttle-uZBwBS_o.js → throttle-AJHhfQJH.js} +3 -3
- package/dist/{throttle-Csj7ioCW.js → throttle-BV-HERtC.js} +3 -3
- package/dist/{useActiveLayout-B4bju6IW.js → useActiveLayout-BD9kBIah.js} +2 -2
- package/dist/{useActiveLayout-CP_8BKVR.js → useActiveLayout-BjTPCYR4.js} +2 -2
- package/dist/{useAssert-DrpL9WBc.js → useAssert-4xxzrevM.js} +2 -2
- package/dist/{useAssert-Dec1Jw9V.js → useAssert-BnAvCutF.js} +2 -2
- package/dist/{useBatchSelect-D1G2w36E.js → useBatchSelect-BSqntP1H.js} +1 -1
- package/dist/{useBatchSelect-DswRV9yi.js → useBatchSelect-DbN9kR61.js} +1 -1
- package/dist/{useIsMounted-APi0vdmK.js → useIsMounted-CsOKncHI.js} +1 -1
- package/dist/{useIsMounted-YTCw2C4j.js → useIsMounted-lWhkkiGf.js} +1 -1
- package/dist/{useResizeObserver-uIBmftp8.js → useResizeObserver-DWguP1vx.js} +2 -2
- package/dist/{useResizeObserver-Mwkejzc5.js → useResizeObserver-nitL3vBN.js} +2 -2
- package/dist/{useResponsiveSizing-DwTMzT_g.js → useResponsiveSizing-B3ZIyM7e.js} +1 -1
- package/dist/{useResponsiveSizing-DewaUOPW.js → useResponsiveSizing-DcDH14sA.js} +1 -1
- package/dist/{useScrollToActive-DFuWoLl6.js → useScrollToActive-Be1x_cGb.js} +14 -62
- package/dist/{useScrollToActive-nHvuPyYX.js → useScrollToActive-YkmFn81N.js} +21 -69
- package/dist/utils/mergeRefs.d.ts +6 -0
- package/dist/utils/useDebounce.d.ts +12 -0
- package/package.json +3 -6
- package/rollup.config.mjs +1 -4
- /package/dist/{AnimatedPresence-CL38Z3NS.js → AnimatedPresence-D-e-yQIR.js} +0 -0
- /package/dist/{AnimatedPresence-Gm2X-6tJ.js → AnimatedPresence-_WuDeuSM.js} +0 -0
- /package/dist/{AtlantisContext-B4A1bq5Q.js → AtlantisContext-D1Po2SAc.js} +0 -0
- /package/dist/{AtlantisContext-BN57EkDB.js → AtlantisContext-lJ9krjQd.js} +0 -0
- /package/dist/{DataList.const-9h9tdDPS.js → DataList.const-DqhmzaLS.js} +0 -0
- /package/dist/{DataList.const-CoKiWj8b.js → DataList.const-iLRjgcN3.js} +0 -0
- /package/dist/{DataListLayoutContext-Bue8dFfg.js → DataListLayoutContext-77cYbfSU.js} +0 -0
- /package/dist/{DataListLayoutContext-IdWiH4oq.js → DataListLayoutContext-DkHftvIt.js} +0 -0
- /package/dist/{FormatDate-DZDHxYXf.js → FormatDate-4dl6dJcj.js} +0 -0
- /package/dist/{FormatDate-DjZ376a9.js → FormatDate-CAqaXSko.js} +0 -0
- /package/dist/{FormatRelativeDateTime-z5m90AOd.js → FormatRelativeDateTime-BxXBJvNz.js} +0 -0
- /package/dist/{FormatRelativeDateTime-DaHunuoE.js → FormatRelativeDateTime-CkwdAECP.js} +0 -0
- /package/dist/{FormatTime-BhWAHWJX.js → FormatTime-benJW3S-.js} +0 -0
- /package/dist/{FormatTime-BB60zgZm.js → FormatTime-nGRLRy0W.js} +0 -0
- /package/dist/{_commonjsHelpers-BZDcliAj.js → _commonjsHelpers-4scIqpFs.js} +0 -0
- /package/dist/{_commonjsHelpers-XS-6o8CG.js → _commonjsHelpers-Yv0wsc1f.js} +0 -0
- /package/dist/{_polyfill-node.process-CZWx6b00.js → _polyfill-node.process-DGUjsI-H.js} +0 -0
- /package/dist/{_polyfill-node.process-BnHRnp0X.js → _polyfill-node.process-PlNU1Uvy.js} +0 -0
- /package/dist/{tslib.es6-CRBTczJu.js → tslib.es6-B7DvPe1p.js} +0 -0
- /package/dist/{tslib.es6-BvYlgskK.js → tslib.es6-c8JZ6BM8.js} +0 -0
- /package/dist/{useChildComponent-BmRnbpmn.js → useChildComponent-B2wVVctO.js} +0 -0
- /package/dist/{useChildComponent-DT1Dp5cf.js → useChildComponent-CgDiAMHP.js} +0 -0
- /package/dist/{useFocusTrap-CUl_F5Ls.js → useFocusTrap-Ukb6XcWI.js} +0 -0
- /package/dist/{useFocusTrap-BLjykTAB.js → useFocusTrap-i93ioX0E.js} +0 -0
- /package/dist/{useFormFieldFocus-hjj--gep.js → useFormFieldFocus-CDtzbmvY.js} +0 -0
- /package/dist/{useFormFieldFocus-CZiaCyjZ.js → useFormFieldFocus-DxGFgWtS.js} +0 -0
- /package/dist/{useInView-8w3m8snM.js → useInView-C6MaVOdO.js} +0 -0
- /package/dist/{useInView-C8v8_Q6g.js → useInView-C9LC_KAm.js} +0 -0
- /package/dist/{useOnKeyDown-Cmq3nxnj.js → useOnKeyDown-CpFO8lNR.js} +0 -0
- /package/dist/{useOnKeyDown-DlNofEty.js → useOnKeyDown-DU2bavbr.js} +0 -0
- /package/dist/{useRefocusOnActivator-gptVXTcT.js → useRefocusOnActivator-BFnHHWxj.js} +0 -0
- /package/dist/{useRefocusOnActivator-DxSjATa7.js → useRefocusOnActivator-CJOwbPZS.js} +0 -0
- /package/dist/{useSafeLayoutEffect-B--_HCjV.js → useSafeLayoutEffect-CGoDVU0C.js} +0 -0
- /package/dist/{useSafeLayoutEffect-7JODlTzO.js → useSafeLayoutEffect-L6SfriaH.js} +0 -0
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-B7DvPe1p.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var reactHookForm = require('react-hook-form');
|
|
6
6
|
|
|
7
7
|
const Form = React.forwardRef(function InternalForm({ onSubmit, children, onStateChange }, ref) {
|
|
8
|
-
const methods = reactHookForm.useForm({
|
|
9
|
-
|
|
8
|
+
const methods = reactHookForm.useForm({
|
|
9
|
+
mode: "onTouched",
|
|
10
|
+
});
|
|
11
|
+
const { trigger, handleSubmit, formState: { isDirty, isValid }, } = methods;
|
|
10
12
|
React.useEffect(() => onStateChange && onStateChange({ isDirty, isValid }), [isDirty, isValid]);
|
|
11
13
|
React.useImperativeHandle(ref, () => ({
|
|
12
14
|
/**
|
|
@@ -16,14 +18,10 @@ const Form = React.forwardRef(function InternalForm({ onSubmit, children, onStat
|
|
|
16
18
|
* `Form` component.
|
|
17
19
|
*/
|
|
18
20
|
submit: () => tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
const valid = yield trigger();
|
|
21
|
+
const valid = yield trigger(undefined, { shouldFocus: true });
|
|
20
22
|
if (valid) {
|
|
21
23
|
submitHandler();
|
|
22
24
|
}
|
|
23
|
-
else {
|
|
24
|
-
trigger();
|
|
25
|
-
errorHandler(errors);
|
|
26
|
-
}
|
|
27
25
|
}),
|
|
28
26
|
}));
|
|
29
27
|
/**
|
|
@@ -33,18 +31,13 @@ const Form = React.forwardRef(function InternalForm({ onSubmit, children, onStat
|
|
|
33
31
|
*/
|
|
34
32
|
const Wrapper = onSubmit ? "form" : "div";
|
|
35
33
|
const formProps = {
|
|
36
|
-
onSubmit: onSubmit && handleSubmit(submitHandler
|
|
34
|
+
onSubmit: onSubmit && handleSubmit(submitHandler),
|
|
37
35
|
};
|
|
38
36
|
return (React.createElement(reactHookForm.FormProvider, Object.assign({}, methods),
|
|
39
37
|
React.createElement(Wrapper, Object.assign({}, formProps, { "data-testid": "atlantis-form" }), children)));
|
|
40
38
|
function submitHandler() {
|
|
41
39
|
onSubmit && onSubmit();
|
|
42
40
|
}
|
|
43
|
-
function errorHandler(errs) {
|
|
44
|
-
const firstErrName = Object.keys(errs)[0];
|
|
45
|
-
const element = document.querySelector(`[name="${firstErrName}"]`);
|
|
46
|
-
element === null || element === void 0 ? void 0 : element.focus();
|
|
47
|
-
}
|
|
48
41
|
});
|
|
49
42
|
|
|
50
43
|
exports.Form = Form;
|
package/dist/FormField/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var FormField = require('../FormField-
|
|
4
|
-
require('../tslib.es6-
|
|
3
|
+
var FormField = require('../FormField-ClclSOLA.js');
|
|
4
|
+
require('../tslib.es6-B7DvPe1p.js');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-hook-form');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('framer-motion');
|
|
9
9
|
require('@jobber/design');
|
|
10
|
-
require('../Button-
|
|
10
|
+
require('../Button-CQQ3YKPV.js');
|
|
11
11
|
require('react-router-dom');
|
|
12
|
-
require('../Icon-
|
|
13
|
-
require('../Typography-
|
|
14
|
-
require('../Text-
|
|
15
|
-
require('../useFormFieldFocus-
|
|
16
|
-
require('../InputValidation-
|
|
17
|
-
require('../Spinner-
|
|
12
|
+
require('../Icon-D9syM6bB.js');
|
|
13
|
+
require('../Typography-CiLBthx3.js');
|
|
14
|
+
require('../Text-C38Y8b_e.js');
|
|
15
|
+
require('../useFormFieldFocus-CDtzbmvY.js');
|
|
16
|
+
require('../InputValidation-t_kwRRjX.js');
|
|
17
|
+
require('../Spinner-C4QJzVKQ.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
package/dist/FormField/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { F as FormField } from '../FormField-
|
|
2
|
-
import '../tslib.es6-
|
|
1
|
+
export { F as FormField } from '../FormField-DK8lYun3.js';
|
|
2
|
+
import '../tslib.es6-c8JZ6BM8.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-hook-form';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import 'framer-motion';
|
|
7
7
|
import '@jobber/design';
|
|
8
|
-
import '../Button-
|
|
8
|
+
import '../Button-DaMX5Km4.js';
|
|
9
9
|
import 'react-router-dom';
|
|
10
|
-
import '../Icon
|
|
11
|
-
import '../Typography-
|
|
12
|
-
import '../Text-
|
|
13
|
-
import '../useFormFieldFocus-
|
|
14
|
-
import '../InputValidation-
|
|
15
|
-
import '../Spinner-
|
|
10
|
+
import '../Icon--atCG9Mb.js';
|
|
11
|
+
import '../Typography-ssxp0zuF.js';
|
|
12
|
+
import '../Text-C8jmRZK6.js';
|
|
13
|
+
import '../useFormFieldFocus-DxGFgWtS.js';
|
|
14
|
+
import '../InputValidation-CH3GKHIn.js';
|
|
15
|
+
import '../Spinner-CH9m4bzw.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-B7DvPe1p.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var reactHookForm = require('react-hook-form');
|
|
6
6
|
var classnames = require('classnames');
|
|
7
7
|
var framerMotion = require('framer-motion');
|
|
8
8
|
var design = require('@jobber/design');
|
|
9
|
-
var Button = require('./Button-
|
|
10
|
-
var Icon = require('./Icon-
|
|
11
|
-
var Text = require('./Text-
|
|
12
|
-
var useFormFieldFocus = require('./useFormFieldFocus-
|
|
13
|
-
var InputValidation = require('./InputValidation-
|
|
14
|
-
var Spinner = require('./Spinner-
|
|
9
|
+
var Button = require('./Button-CQQ3YKPV.js');
|
|
10
|
+
var Icon = require('./Icon-D9syM6bB.js');
|
|
11
|
+
var Text = require('./Text-C38Y8b_e.js');
|
|
12
|
+
var useFormFieldFocus = require('./useFormFieldFocus-CDtzbmvY.js');
|
|
13
|
+
var InputValidation = require('./InputValidation-t_kwRRjX.js');
|
|
14
|
+
var Spinner = require('./Spinner-C4QJzVKQ.js');
|
|
15
15
|
|
|
16
|
-
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","horizontalWrapper":"q7AxfhwVVBs-","textarea":"mgPacJ6Z71Y-","safari":"g82RTxBqooQ-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","text":"e4VYDAkWHAg-","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-","
|
|
16
|
+
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","horizontalWrapper":"q7AxfhwVVBs-","textarea":"mgPacJ6Z71Y-","safari":"g82RTxBqooQ-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","text":"e4VYDAkWHAg-","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-","label":"_3xREbTN5pPg-","select":"i31GQXcMz54-","postfix":"VtnAk1HYMMk-","affixIcon":"uPLklxvtfJw-","suffix":"pYqqDvv57JE-","hasAction":"eI44oQpuVlk-","affixLabel":"jO8P2iSHilM-","description":"_2GfgzNnLOSI-","toolbar":"_3GtIRFCkZMg-","spinning":"Ux16l9amgg0-"};
|
|
17
17
|
|
|
18
18
|
var useShowClear$1 = {};
|
|
19
19
|
|
|
@@ -68,7 +68,7 @@ function FormFieldDescription({ id, description, }) {
|
|
|
68
68
|
React.createElement(Text.Text, { size: "small", variation: "subdued" }, description)));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
var styles = {"clearInput":"t1fFX8kDJh8-"};
|
|
71
|
+
var styles = {"clearInput":"t1fFX8kDJh8-","spinning":"_8RDTUjNg02Y-"};
|
|
72
72
|
|
|
73
73
|
function ClearAction({ onClick }) {
|
|
74
74
|
return (React.createElement("button", { className: styles.clearInput, onClick: onClick, type: "button", "aria-label": "Clear input" },
|
|
@@ -186,6 +186,23 @@ function FormFieldPostFix({ variation }) {
|
|
|
186
186
|
return (React.createElement("span", { className: styles$1.postfix }, variation === "select" ? (React.createElement(Icon.Icon, { name: "arrowDown" })) : (React.createElement(Spinner.Spinner, { size: "small" }))));
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Given an array of refs, merge them into a single ref callback.
|
|
191
|
+
* This is useful for cases where you need to pass a multiple refs to a component.
|
|
192
|
+
*/
|
|
193
|
+
function mergeRefs(refs) {
|
|
194
|
+
return value => {
|
|
195
|
+
refs.forEach(ref => {
|
|
196
|
+
if (typeof ref === "function") {
|
|
197
|
+
ref(value);
|
|
198
|
+
}
|
|
199
|
+
else if (ref != null) {
|
|
200
|
+
ref.current = value;
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
|
|
189
206
|
function FormField(props) {
|
|
190
207
|
// Warning: do not move useId into FormFieldInternal. This must be here to avoid
|
|
191
208
|
// a problem where useId isn't stable across multiple StrictMode renders.
|
|
@@ -197,10 +214,9 @@ function FormField(props) {
|
|
|
197
214
|
function FormFieldInternal(props) {
|
|
198
215
|
var _a;
|
|
199
216
|
const { actionsRef, autocomplete = true, children, defaultValue, description, disabled, id, inputRef, inline, keyboard, max, maxLength, min, name: nameProp, readonly, rows, loading, type = "text", validations, value, onChange, onEnter, onFocus, onBlur, onValidation, onKeyUp, clearable = "never", autofocus, } = props;
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
reactHookForm.useForm({ mode: "onTouched" });
|
|
217
|
+
const formContext = reactHookForm.useFormContext();
|
|
218
|
+
// If there isn't a Form Context being provided, get a form for this field.
|
|
219
|
+
const { control, setValue, watch } = formContext !== null && formContext !== void 0 ? formContext : reactHookForm.useForm({ mode: "onTouched" });
|
|
204
220
|
const descriptionIdentifier = `descriptionUUID--${id}`;
|
|
205
221
|
/**
|
|
206
222
|
* Generate a name if one is not supplied, this is the name
|
|
@@ -223,12 +239,13 @@ function FormFieldInternal(props) {
|
|
|
223
239
|
control,
|
|
224
240
|
rules: validations,
|
|
225
241
|
defaultValue: (_a = value !== null && value !== void 0 ? value : defaultValue) !== null && _a !== void 0 ? _a : "",
|
|
226
|
-
}), _c = _b.field, { onChange: onControllerChange, onBlur: onControllerBlur } = _c, rest = tslib_es6.__rest(_c, ["onChange", "onBlur"]), { fieldState: { error } } = _b;
|
|
242
|
+
}), _c = _b.field, { onChange: onControllerChange, onBlur: onControllerBlur, ref: fieldRef } = _c, rest = tslib_es6.__rest(_c, ["onChange", "onBlur", "ref"]), { fieldState: { error } } = _b;
|
|
227
243
|
const errorMessage = (error === null || error === void 0 ? void 0 : error.message) || "";
|
|
228
244
|
React.useEffect(() => handleValidation(errorMessage), [errorMessage]);
|
|
229
245
|
const fieldProps = Object.assign(Object.assign(Object.assign({}, rest), { id, className: styles$1.input, name: (validations || nameProp) && name, disabled: disabled, readOnly: readonly, inputMode: keyboard, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, autoFocus: autofocus }), (description &&
|
|
230
246
|
!inline && { "aria-describedby": descriptionIdentifier }));
|
|
231
247
|
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { autoFocus: autofocus, onKeyDown: handleKeyDown });
|
|
248
|
+
const inputRefs = mergeRefs([inputRef, fieldRef]);
|
|
232
249
|
return (React.createElement(FormFieldWrapper, Object.assign({}, props, { value: rest.value, error: errorMessage, identifier: id, descriptionIdentifier: descriptionIdentifier, clearable: clearable, onClear: handleClear }), renderField()));
|
|
233
250
|
function renderField() {
|
|
234
251
|
switch (type) {
|
|
@@ -237,10 +254,10 @@ function FormFieldInternal(props) {
|
|
|
237
254
|
React.createElement("select", Object.assign({}, fieldProps), children),
|
|
238
255
|
React.createElement(FormFieldPostFix, { variation: "select" })));
|
|
239
256
|
case "textarea":
|
|
240
|
-
return
|
|
257
|
+
return React.createElement("textarea", Object.assign({}, textFieldProps, { rows: rows, ref: inputRefs }));
|
|
241
258
|
default:
|
|
242
259
|
return (React.createElement(React.Fragment, null,
|
|
243
|
-
React.createElement("input", Object.assign({}, textFieldProps, { autoComplete: setAutocomplete(autocomplete), type: type, maxLength: maxLength, max: max, min: min, ref:
|
|
260
|
+
React.createElement("input", Object.assign({}, textFieldProps, { autoComplete: setAutocomplete(autocomplete), type: type, maxLength: maxLength, max: max, min: min, ref: inputRefs, onKeyUp: onKeyUp })),
|
|
244
261
|
loading && React.createElement(FormFieldPostFix, { variation: "spinner" }),
|
|
245
262
|
children));
|
|
246
263
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-c8JZ6BM8.js';
|
|
2
2
|
import React, { useRef, useState, useEffect, useId, useImperativeHandle } from 'react';
|
|
3
3
|
import { useFormContext, useForm, useController } from 'react-hook-form';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
6
6
|
import { tokens } from '@jobber/design';
|
|
7
|
-
import { B as Button } from './Button-
|
|
8
|
-
import { I as Icon } from './Icon
|
|
9
|
-
import { T as Text } from './Text-
|
|
10
|
-
import { u as useFormFieldFocus } from './useFormFieldFocus-
|
|
11
|
-
import { I as InputValidation } from './InputValidation-
|
|
12
|
-
import { S as Spinner } from './Spinner-
|
|
7
|
+
import { B as Button } from './Button-DaMX5Km4.js';
|
|
8
|
+
import { I as Icon } from './Icon--atCG9Mb.js';
|
|
9
|
+
import { T as Text } from './Text-C8jmRZK6.js';
|
|
10
|
+
import { u as useFormFieldFocus } from './useFormFieldFocus-DxGFgWtS.js';
|
|
11
|
+
import { I as InputValidation } from './InputValidation-CH3GKHIn.js';
|
|
12
|
+
import { S as Spinner } from './Spinner-CH9m4bzw.js';
|
|
13
13
|
|
|
14
|
-
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","horizontalWrapper":"q7AxfhwVVBs-","textarea":"mgPacJ6Z71Y-","safari":"g82RTxBqooQ-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","text":"e4VYDAkWHAg-","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-","
|
|
14
|
+
var styles$1 = {"container":"geR7qBhrMfk-","wrapper":"nPGhTEEzsoU-","horizontalWrapper":"q7AxfhwVVBs-","textarea":"mgPacJ6Z71Y-","safari":"g82RTxBqooQ-","timeInputLabel":"YhserUiOeFE-","miniLabel":"UIZq8hTmJVU-","large":"Ku8sWS0mLew-","text":"e4VYDAkWHAg-","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-","label":"_3xREbTN5pPg-","select":"i31GQXcMz54-","postfix":"VtnAk1HYMMk-","affixIcon":"uPLklxvtfJw-","suffix":"pYqqDvv57JE-","hasAction":"eI44oQpuVlk-","affixLabel":"jO8P2iSHilM-","description":"_2GfgzNnLOSI-","toolbar":"_3GtIRFCkZMg-","spinning":"Ux16l9amgg0-"};
|
|
15
15
|
|
|
16
16
|
var useShowClear$1 = {};
|
|
17
17
|
|
|
@@ -66,7 +66,7 @@ function FormFieldDescription({ id, description, }) {
|
|
|
66
66
|
React.createElement(Text, { size: "small", variation: "subdued" }, description)));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
var styles = {"clearInput":"t1fFX8kDJh8-"};
|
|
69
|
+
var styles = {"clearInput":"t1fFX8kDJh8-","spinning":"_8RDTUjNg02Y-"};
|
|
70
70
|
|
|
71
71
|
function ClearAction({ onClick }) {
|
|
72
72
|
return (React.createElement("button", { className: styles.clearInput, onClick: onClick, type: "button", "aria-label": "Clear input" },
|
|
@@ -184,6 +184,23 @@ function FormFieldPostFix({ variation }) {
|
|
|
184
184
|
return (React.createElement("span", { className: styles$1.postfix }, variation === "select" ? (React.createElement(Icon, { name: "arrowDown" })) : (React.createElement(Spinner, { size: "small" }))));
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Given an array of refs, merge them into a single ref callback.
|
|
189
|
+
* This is useful for cases where you need to pass a multiple refs to a component.
|
|
190
|
+
*/
|
|
191
|
+
function mergeRefs(refs) {
|
|
192
|
+
return value => {
|
|
193
|
+
refs.forEach(ref => {
|
|
194
|
+
if (typeof ref === "function") {
|
|
195
|
+
ref(value);
|
|
196
|
+
}
|
|
197
|
+
else if (ref != null) {
|
|
198
|
+
ref.current = value;
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
187
204
|
function FormField(props) {
|
|
188
205
|
// Warning: do not move useId into FormFieldInternal. This must be here to avoid
|
|
189
206
|
// a problem where useId isn't stable across multiple StrictMode renders.
|
|
@@ -195,10 +212,9 @@ function FormField(props) {
|
|
|
195
212
|
function FormFieldInternal(props) {
|
|
196
213
|
var _a;
|
|
197
214
|
const { actionsRef, autocomplete = true, children, defaultValue, description, disabled, id, inputRef, inline, keyboard, max, maxLength, min, name: nameProp, readonly, rows, loading, type = "text", validations, value, onChange, onEnter, onFocus, onBlur, onValidation, onKeyUp, clearable = "never", autofocus, } = props;
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
useForm({ mode: "onTouched" });
|
|
215
|
+
const formContext = useFormContext();
|
|
216
|
+
// If there isn't a Form Context being provided, get a form for this field.
|
|
217
|
+
const { control, setValue, watch } = formContext !== null && formContext !== void 0 ? formContext : useForm({ mode: "onTouched" });
|
|
202
218
|
const descriptionIdentifier = `descriptionUUID--${id}`;
|
|
203
219
|
/**
|
|
204
220
|
* Generate a name if one is not supplied, this is the name
|
|
@@ -221,12 +237,13 @@ function FormFieldInternal(props) {
|
|
|
221
237
|
control,
|
|
222
238
|
rules: validations,
|
|
223
239
|
defaultValue: (_a = value !== null && value !== void 0 ? value : defaultValue) !== null && _a !== void 0 ? _a : "",
|
|
224
|
-
}), _c = _b.field, { onChange: onControllerChange, onBlur: onControllerBlur } = _c, rest = __rest(_c, ["onChange", "onBlur"]), { fieldState: { error } } = _b;
|
|
240
|
+
}), _c = _b.field, { onChange: onControllerChange, onBlur: onControllerBlur, ref: fieldRef } = _c, rest = __rest(_c, ["onChange", "onBlur", "ref"]), { fieldState: { error } } = _b;
|
|
225
241
|
const errorMessage = (error === null || error === void 0 ? void 0 : error.message) || "";
|
|
226
242
|
useEffect(() => handleValidation(errorMessage), [errorMessage]);
|
|
227
243
|
const fieldProps = Object.assign(Object.assign(Object.assign({}, rest), { id, className: styles$1.input, name: (validations || nameProp) && name, disabled: disabled, readOnly: readonly, inputMode: keyboard, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, autoFocus: autofocus }), (description &&
|
|
228
244
|
!inline && { "aria-describedby": descriptionIdentifier }));
|
|
229
245
|
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { autoFocus: autofocus, onKeyDown: handleKeyDown });
|
|
246
|
+
const inputRefs = mergeRefs([inputRef, fieldRef]);
|
|
230
247
|
return (React.createElement(FormFieldWrapper, Object.assign({}, props, { value: rest.value, error: errorMessage, identifier: id, descriptionIdentifier: descriptionIdentifier, clearable: clearable, onClear: handleClear }), renderField()));
|
|
231
248
|
function renderField() {
|
|
232
249
|
switch (type) {
|
|
@@ -235,10 +252,10 @@ function FormFieldInternal(props) {
|
|
|
235
252
|
React.createElement("select", Object.assign({}, fieldProps), children),
|
|
236
253
|
React.createElement(FormFieldPostFix, { variation: "select" })));
|
|
237
254
|
case "textarea":
|
|
238
|
-
return
|
|
255
|
+
return React.createElement("textarea", Object.assign({}, textFieldProps, { rows: rows, ref: inputRefs }));
|
|
239
256
|
default:
|
|
240
257
|
return (React.createElement(React.Fragment, null,
|
|
241
|
-
React.createElement("input", Object.assign({}, textFieldProps, { autoComplete: setAutocomplete(autocomplete), type: type, maxLength: maxLength, max: max, min: min, ref:
|
|
258
|
+
React.createElement("input", Object.assign({}, textFieldProps, { autoComplete: setAutocomplete(autocomplete), type: type, maxLength: maxLength, max: max, min: min, ref: inputRefs, onKeyUp: onKeyUp })),
|
|
242
259
|
loading && React.createElement(FormFieldPostFix, { variation: "spinner" }),
|
|
243
260
|
children));
|
|
244
261
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as FormatDate, s as strFormatDate } from '../FormatDate-
|
|
1
|
+
export { F as FormatDate, s as strFormatDate } from '../FormatDate-CAqaXSko.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-D4wV6e3W.js');
|
|
4
4
|
require('react');
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('filesize');
|
|
7
|
-
require('../Button-
|
|
7
|
+
require('../Button-CQQ3YKPV.js');
|
|
8
8
|
require('react-router-dom');
|
|
9
|
-
require('../Icon-
|
|
9
|
+
require('../Icon-D9syM6bB.js');
|
|
10
10
|
require('@jobber/design');
|
|
11
|
-
require('../Typography-
|
|
12
|
-
require('../ConfirmationModal-
|
|
13
|
-
require('../useOnKeyDown-
|
|
14
|
-
require('../Modal-
|
|
11
|
+
require('../Typography-CiLBthx3.js');
|
|
12
|
+
require('../ConfirmationModal-CBIRWi_x.js');
|
|
13
|
+
require('../useOnKeyDown-DU2bavbr.js');
|
|
14
|
+
require('../Modal-DkWo1Y3L.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-CJOwbPZS.js');
|
|
18
|
+
require('../useFocusTrap-i93ioX0E.js');
|
|
19
|
+
require('../Heading-DBgdRLwt.js');
|
|
20
|
+
require('../ButtonDismiss-DZeRqf_q.js');
|
|
21
|
+
require('../Content-BgNibLpZ.js');
|
|
22
|
+
require('../Markdown-CAG-qgYj.js');
|
|
23
|
+
require('../Text-C38Y8b_e.js');
|
|
24
|
+
require('../Emphasis-BwiSHCkp.js');
|
|
25
|
+
require('../index-DGivKYh_.js');
|
|
26
|
+
require('../_commonjsHelpers-4scIqpFs.js');
|
|
27
|
+
require('../_polyfill-node.process-PlNU1Uvy.js');
|
|
28
|
+
require('../Glimmer-DTiPcO83.js');
|
|
29
|
+
require('../tslib.es6-B7DvPe1p.js');
|
|
30
|
+
require('../ProgressBar-DOu9DgSN.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-G-7UnQy-.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'filesize';
|
|
5
|
-
import '../Button-
|
|
5
|
+
import '../Button-DaMX5Km4.js';
|
|
6
6
|
import 'react-router-dom';
|
|
7
|
-
import '../Icon
|
|
7
|
+
import '../Icon--atCG9Mb.js';
|
|
8
8
|
import '@jobber/design';
|
|
9
|
-
import '../Typography-
|
|
10
|
-
import '../ConfirmationModal-
|
|
11
|
-
import '../useOnKeyDown-
|
|
12
|
-
import '../Modal-
|
|
9
|
+
import '../Typography-ssxp0zuF.js';
|
|
10
|
+
import '../ConfirmationModal-CsOj_F6S.js';
|
|
11
|
+
import '../useOnKeyDown-CpFO8lNR.js';
|
|
12
|
+
import '../Modal-BmfhmdDB.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-BFnHHWxj.js';
|
|
16
|
+
import '../useFocusTrap-Ukb6XcWI.js';
|
|
17
|
+
import '../Heading-T8hn-zTW.js';
|
|
18
|
+
import '../ButtonDismiss-rQED0XFt.js';
|
|
19
|
+
import '../Content-Bgqj461a.js';
|
|
20
|
+
import '../Markdown-skWFv1C3.js';
|
|
21
|
+
import '../Text-C8jmRZK6.js';
|
|
22
|
+
import '../Emphasis-CLQp4MV7.js';
|
|
23
|
+
import '../index-DlRxMn-q.js';
|
|
24
|
+
import '../_commonjsHelpers-Yv0wsc1f.js';
|
|
25
|
+
import '../_polyfill-node.process-DGUjsI-H.js';
|
|
26
|
+
import '../Glimmer-CAHS_iBj.js';
|
|
27
|
+
import '../tslib.es6-c8JZ6BM8.js';
|
|
28
|
+
import '../ProgressBar-DMm8hwA7.js';
|
|
@@ -3,15 +3,15 @@
|
|
|
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-CQQ3YKPV.js');
|
|
7
|
+
var ConfirmationModal = require('./ConfirmationModal-CBIRWi_x.js');
|
|
8
|
+
var Glimmer = require('./Glimmer-DTiPcO83.js');
|
|
9
|
+
var Icon = require('./Icon-D9syM6bB.js');
|
|
10
|
+
var Typography = require('./Typography-CiLBthx3.js');
|
|
11
|
+
var Text = require('./Text-C38Y8b_e.js');
|
|
12
|
+
var ProgressBar = require('./ProgressBar-DOu9DgSN.js');
|
|
13
13
|
|
|
14
|
-
var styles$2 = {"formatFile":"izUmsxxh1nU-","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-"};
|
|
14
|
+
var styles$2 = {"formatFile":"izUmsxxh1nU-","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-","spinning":"uO50kOFsUy4-"};
|
|
15
15
|
|
|
16
16
|
function FormatFileDeleteButton({ size, onDelete }) {
|
|
17
17
|
const buttonSize = size === "base" ? "small" : "base";
|
|
@@ -21,9 +21,9 @@ function FormatFileDeleteButton({ size, onDelete }) {
|
|
|
21
21
|
React.createElement(ConfirmationModal.ConfirmationModal, { title: "Confirm Deletion", message: `Are you sure you want to delete this file?`, confirmLabel: "Delete", variation: "destructive", open: deleteConfirmationOpen, onConfirm: () => onDelete === null || onDelete === void 0 ? void 0 : onDelete(), onRequestClose: () => setDeleteConfirmationOpen(false) })));
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
var styles$1 = {"content":"M9Y7sOk6lTc-","hasName":"E4wclxY71oM-","large":"yReSfaruAh0-","fileName":"YXN92rsh2eU-","base":"psaqxO2Lu7E-"};
|
|
24
|
+
var styles$1 = {"content":"M9Y7sOk6lTc-","hasName":"E4wclxY71oM-","large":"yReSfaruAh0-","fileName":"YXN92rsh2eU-","base":"psaqxO2Lu7E-","spinning":"_1JSVKfVcJj4-"};
|
|
25
25
|
|
|
26
|
-
var styles = {"image":"_62D0xyydQwo-","fadeIn":"_5GIEBejwNJc-","hidden":"a5EQqLlJmCk-"};
|
|
26
|
+
var styles = {"image":"_62D0xyydQwo-","fadeIn":"_5GIEBejwNJc-","hidden":"a5EQqLlJmCk-","spinning":"pRyMHShXCyE-"};
|
|
27
27
|
|
|
28
28
|
function InternalThumbnailImage({ file }) {
|
|
29
29
|
const { name, src } = file;
|
|
@@ -1,15 +1,15 @@
|
|
|
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-DaMX5Km4.js';
|
|
5
|
+
import { C as ConfirmationModal } from './ConfirmationModal-CsOj_F6S.js';
|
|
6
|
+
import { G as Glimmer } from './Glimmer-CAHS_iBj.js';
|
|
7
|
+
import { I as Icon } from './Icon--atCG9Mb.js';
|
|
8
|
+
import { T as Typography } from './Typography-ssxp0zuF.js';
|
|
9
|
+
import { T as Text } from './Text-C8jmRZK6.js';
|
|
10
|
+
import { P as ProgressBar } from './ProgressBar-DMm8hwA7.js';
|
|
11
11
|
|
|
12
|
-
var styles$2 = {"formatFile":"izUmsxxh1nU-","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-"};
|
|
12
|
+
var styles$2 = {"formatFile":"izUmsxxh1nU-","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-","spinning":"uO50kOFsUy4-"};
|
|
13
13
|
|
|
14
14
|
function FormatFileDeleteButton({ size, onDelete }) {
|
|
15
15
|
const buttonSize = size === "base" ? "small" : "base";
|
|
@@ -19,9 +19,9 @@ function FormatFileDeleteButton({ size, onDelete }) {
|
|
|
19
19
|
React.createElement(ConfirmationModal, { title: "Confirm Deletion", message: `Are you sure you want to delete this file?`, confirmLabel: "Delete", variation: "destructive", open: deleteConfirmationOpen, onConfirm: () => onDelete === null || onDelete === void 0 ? void 0 : onDelete(), onRequestClose: () => setDeleteConfirmationOpen(false) })));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
var styles$1 = {"content":"M9Y7sOk6lTc-","hasName":"E4wclxY71oM-","large":"yReSfaruAh0-","fileName":"YXN92rsh2eU-","base":"psaqxO2Lu7E-"};
|
|
22
|
+
var styles$1 = {"content":"M9Y7sOk6lTc-","hasName":"E4wclxY71oM-","large":"yReSfaruAh0-","fileName":"YXN92rsh2eU-","base":"psaqxO2Lu7E-","spinning":"_1JSVKfVcJj4-"};
|
|
23
23
|
|
|
24
|
-
var styles = {"image":"_62D0xyydQwo-","fadeIn":"_5GIEBejwNJc-","hidden":"a5EQqLlJmCk-"};
|
|
24
|
+
var styles = {"image":"_62D0xyydQwo-","fadeIn":"_5GIEBejwNJc-","hidden":"a5EQqLlJmCk-","spinning":"pRyMHShXCyE-"};
|
|
25
25
|
|
|
26
26
|
function InternalThumbnailImage({ file }) {
|
|
27
27
|
const { name, src } = file;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as FormatRelativeDateTime } from '../FormatRelativeDateTime-
|
|
1
|
+
export { F as FormatRelativeDateTime } from '../FormatRelativeDateTime-CkwdAECP.js';
|
|
2
2
|
import 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as FormatTime } from '../FormatTime-
|
|
1
|
+
export { F as FormatTime } from '../FormatTime-nGRLRy0W.js';
|
|
2
2
|
import 'react';
|