@jobber/components 4.91.2-retheme-fe.2 → 4.91.2-retheme-fe.3
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.js → index.cjs} +1 -3
- package/dist/AnimatedPresence/index.mjs +4 -0
- package/dist/AnimatedPresence-Dg0rSWmK.js +98 -0
- package/dist/{AnimatedPresence-20a02aaa.js → AnimatedPresence-kepj98O9.js} +3 -7
- package/dist/AnimatedSwitcher/index.cjs +11 -0
- package/dist/AnimatedSwitcher/index.mjs +5 -0
- package/dist/AnimatedSwitcher-B5GlT1r8.js +90 -0
- package/dist/{AnimatedSwitcher-3d45ec5d.js → AnimatedSwitcher-DkWeBaXx.js} +4 -8
- package/dist/AtlantisContext/{index.js → index.cjs} +1 -3
- package/dist/AtlantisContext/index.mjs +2 -0
- package/dist/AtlantisContext-BB6fVGP7.js +18 -0
- package/dist/Autocomplete/index.cjs +32 -0
- package/dist/Autocomplete/index.mjs +26 -0
- package/dist/Autocomplete-4jTEXjzp.js +192 -0
- package/dist/Autocomplete-B892iXrS.js +190 -0
- package/dist/Avatar/index.cjs +12 -0
- package/dist/Avatar/index.mjs +6 -0
- package/dist/Avatar-BcTE1VAK.js +69 -0
- package/dist/Avatar-D99qNu2q.js +67 -0
- package/dist/Banner/components/BannerIcon/index.cjs +11 -0
- package/dist/Banner/components/BannerIcon/index.mjs +5 -0
- package/dist/Banner/index.cjs +22 -0
- package/dist/Banner/index.mjs +16 -0
- package/dist/Banner-DXiLDPyP.js +66 -0
- package/dist/Banner-aDyK7ryS.js +68 -0
- package/dist/BannerIcon-CR5zIp9W.js +17 -0
- package/dist/BannerIcon-DaWJs7AC.js +14 -0
- package/dist/Body-CsnvKsQJ.js +45 -0
- package/dist/Body-Di3_1N_g.js +54 -0
- package/dist/Button/index.cjs +13 -0
- package/dist/Button/index.mjs +7 -0
- package/dist/Button-CrxxoYQF.js +49 -0
- package/dist/Button-DzwBVzGv.js +47 -0
- package/dist/ButtonDismiss/index.cjs +14 -0
- package/dist/ButtonDismiss/index.mjs +8 -0
- package/dist/ButtonDismiss-D77VYrSx.js +8 -0
- package/dist/ButtonDismiss-mNxpZX9b.js +10 -0
- package/dist/Card/index.cjs +20 -0
- package/dist/Card/index.mjs +14 -0
- package/dist/Card-BIuX0d8F.js +83 -0
- package/dist/Card-D3BWz4zt.js +81 -0
- package/dist/Checkbox/index.cjs +15 -0
- package/dist/Checkbox/index.mjs +9 -0
- package/dist/Checkbox-BeOyeqVV.js +53 -0
- package/dist/Checkbox-CgTUkcUJ.js +55 -0
- package/dist/Chip/hooks/index.cjs +8 -0
- package/dist/Chip/hooks/index.mjs +2 -0
- package/dist/Chip/index.cjs +26 -0
- package/dist/Chip/index.mjs +18 -0
- package/dist/Chip-BO6LPeGJ.js +67 -0
- package/dist/Chip-rCOZOjwt.js +70 -0
- package/dist/ChipDismissible-7huIAOo1.js +19 -0
- package/dist/ChipDismissible-CGJCNiKU.js +22 -0
- package/dist/Chips/InternalChipDismissible/hooks/index.cjs +23 -0
- package/dist/Chips/InternalChipDismissible/hooks/index.mjs +13 -0
- package/dist/Chips/InternalChipDismissible/index.cjs +35 -0
- package/dist/Chips/InternalChipDismissible/index.mjs +29 -0
- package/dist/Chips/index.cjs +48 -0
- package/dist/Chips/index.mjs +44 -0
- package/dist/Chips-BKPjQDju.js +93 -0
- package/dist/Chips-nzWX1NfH.js +91 -0
- package/dist/Combobox/components/ComboboxAction/index.cjs +12 -0
- package/dist/Combobox/components/ComboboxAction/index.mjs +6 -0
- package/dist/Combobox/components/ComboboxActivator/index.cjs +27 -0
- package/dist/Combobox/components/ComboboxActivator/index.mjs +21 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.cjs +14 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxContentHeader/index.mjs +8 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.cjs +24 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxContentList/index.mjs +18 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.cjs +10 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxContentSearch/index.mjs +4 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.cjs +9 -0
- package/dist/Combobox/components/ComboboxContent/ComboboxLoadMore/index.mjs +3 -0
- package/dist/Combobox/components/ComboboxContent/index.cjs +34 -0
- package/dist/Combobox/components/ComboboxContent/index.mjs +28 -0
- package/dist/Combobox/components/ComboboxOption/index.cjs +14 -0
- package/dist/Combobox/components/ComboboxOption/index.mjs +8 -0
- package/dist/Combobox/components/ComboboxTrigger/index.cjs +25 -0
- package/dist/Combobox/components/ComboboxTrigger/index.mjs +19 -0
- package/dist/Combobox/index.cjs +53 -0
- package/dist/Combobox/index.mjs +46 -0
- package/dist/Combobox-CPFiAWN6.js +117 -0
- package/dist/Combobox-ChHMTRwV.js +119 -0
- package/dist/ComboboxAction-C8vgEtWx.js +22 -0
- package/dist/ComboboxAction-CMtTeU6U.js +24 -0
- package/dist/ComboboxActivator-D9nXKLfL.js +26 -0
- package/dist/ComboboxActivator-DR2zBEhW.js +28 -0
- package/dist/ComboboxContent-hlcIQRLz.js +143 -0
- package/dist/ComboboxContent-oQDp-dEd.js +145 -0
- package/dist/ComboboxContentHeader-BpyDfau9.js +29 -0
- package/dist/ComboboxContentHeader-CJHYc30F.js +27 -0
- package/dist/ComboboxContentList-B46nuf36.js +75 -0
- package/dist/ComboboxContentList-DdhL57Bj.js +77 -0
- package/dist/ComboboxContentSearch-BgkQYIHq.js +34 -0
- package/dist/ComboboxContentSearch-CG16cjfz.js +32 -0
- package/dist/ComboboxLoadMore-9FgWV4Uv.js +16 -0
- package/dist/ComboboxLoadMore-lwIHDJ3e.js +14 -0
- package/dist/ComboboxOption-BPLxC2h4.js +20 -0
- package/dist/ComboboxOption-CJpTBVXu.js +22 -0
- package/dist/ComboboxProvider-BzFHJNMs.js +10 -0
- package/dist/ComboboxProvider-fgameO9B.js +13 -0
- package/dist/ComboboxTrigger-0H4T-Fa6.js +24 -0
- package/dist/ComboboxTrigger-Bro30eER.js +22 -0
- package/dist/ConfirmationModal/index.cjs +29 -0
- package/dist/ConfirmationModal/index.mjs +23 -0
- package/dist/{ConfirmationModal-289df9ad.js → ConfirmationModal-D_79ZcA-.js} +8 -12
- package/dist/ConfirmationModal-iPrJJhaV.js +94 -0
- package/dist/Content/index.cjs +9 -0
- package/dist/Content/index.mjs +3 -0
- package/dist/Content-DbO2GY5M.js +13 -0
- package/dist/Content-DzVNJZsM.js +15 -0
- package/dist/Countdown/index.cjs +11 -0
- package/dist/Countdown/index.mjs +5 -0
- package/dist/Countdown-7LRQSe5O.js +659 -0
- package/dist/Countdown-okI-Yhdd.js +657 -0
- package/dist/DataDump/index.cjs +23 -0
- package/dist/DataDump/index.mjs +17 -0
- package/dist/DataDump-DUj1DcI5.js +17 -0
- package/dist/DataDump-JGAum9NC.js +15 -0
- package/dist/DataList/components/DataListAction/index.cjs +13 -0
- package/dist/DataList/components/DataListAction/index.mjs +7 -0
- package/dist/DataList/components/DataListActions/index.cjs +42 -0
- package/dist/DataList/components/DataListActions/index.mjs +36 -0
- package/dist/DataList/components/DataListActionsMenu/index.cjs +17 -0
- package/dist/DataList/components/DataListActionsMenu/index.mjs +11 -0
- package/dist/DataList/components/DataListBulkActions/index.cjs +45 -0
- package/dist/DataList/components/DataListBulkActions/index.mjs +38 -0
- package/dist/DataList/components/DataListEmptyState/index.cjs +20 -0
- package/dist/DataList/components/DataListEmptyState/index.mjs +13 -0
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.cjs +54 -0
- package/dist/DataList/components/DataListFilters/components/DataListSort/index.mjs +48 -0
- package/dist/DataList/components/DataListFilters/index.cjs +67 -0
- package/dist/DataList/components/DataListFilters/index.mjs +60 -0
- package/dist/DataList/components/DataListHeader/index.cjs +52 -0
- package/dist/DataList/components/DataListHeader/index.mjs +46 -0
- package/dist/DataList/components/DataListHeaderTile/components/index.cjs +12 -0
- package/dist/DataList/components/DataListHeaderTile/components/index.mjs +6 -0
- package/dist/DataList/components/DataListHeaderTile/index.cjs +20 -0
- package/dist/DataList/components/DataListHeaderTile/index.mjs +14 -0
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.cjs +14 -0
- package/dist/DataList/components/DataListItem/components/DataListItemClickable/index.mjs +8 -0
- package/dist/DataList/components/DataListItem/index.cjs +51 -0
- package/dist/DataList/components/DataListItem/index.mjs +45 -0
- package/dist/DataList/components/DataListItemActions/index.cjs +44 -0
- package/dist/DataList/components/DataListItemActions/index.mjs +37 -0
- package/dist/DataList/components/DataListItemActionsOverflow/index.cjs +25 -0
- package/dist/DataList/components/DataListItemActionsOverflow/index.mjs +19 -0
- package/dist/DataList/components/DataListItems/index.cjs +52 -0
- package/dist/DataList/components/DataListItems/index.mjs +46 -0
- package/dist/DataList/components/DataListLayout/index.cjs +55 -0
- package/dist/DataList/components/DataListLayout/index.mjs +49 -0
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.cjs +9 -0
- package/dist/DataList/components/DataListLayoutActions/DataListLayoutContext/index.mjs +2 -0
- package/dist/DataList/components/DataListLayoutActions/index.cjs +33 -0
- package/dist/DataList/components/DataListLayoutActions/index.mjs +27 -0
- package/dist/DataList/components/DataListLoadMore/index.cjs +21 -0
- package/dist/DataList/components/DataListLoadMore/index.mjs +14 -0
- package/dist/DataList/components/DataListLoadingState/index.cjs +21 -0
- package/dist/DataList/components/DataListLoadingState/index.mjs +13 -0
- package/dist/DataList/components/DataListOverflowFade/index.cjs +11 -0
- package/dist/DataList/components/DataListOverflowFade/index.mjs +4 -0
- package/dist/DataList/components/DataListSearch/index.cjs +33 -0
- package/dist/DataList/components/DataListSearch/index.mjs +25 -0
- package/dist/DataList/components/DataListStatusBar/index.cjs +30 -0
- package/dist/DataList/components/DataListStatusBar/index.mjs +23 -0
- package/dist/DataList/components/DataListStickyHeader/index.cjs +11 -0
- package/dist/DataList/components/DataListStickyHeader/index.mjs +5 -0
- package/dist/DataList/components/DataListTags/index.cjs +12 -0
- package/dist/DataList/components/DataListTags/index.mjs +6 -0
- package/dist/DataList/components/DataListTotalCount/index.cjs +15 -0
- package/dist/DataList/components/DataListTotalCount/index.mjs +8 -0
- package/dist/DataList/context/DataListContext/index.cjs +12 -0
- package/dist/DataList/context/DataListContext/index.mjs +4 -0
- package/dist/DataList/context/DataListLayoutContext/index.cjs +12 -0
- package/dist/DataList/context/DataListLayoutContext/index.mjs +4 -0
- package/dist/DataList/index.cjs +97 -0
- package/dist/DataList/index.mjs +91 -0
- package/dist/DataList-B0YrIckS.js +141 -0
- package/dist/DataList-Dcbo0O6p.js +5 -0
- package/dist/DataList-DfyJDhUn.js +3 -0
- package/dist/DataList-I9cVfKBx.js +139 -0
- package/dist/DataList.const-B-WAZqZm.js +25 -0
- package/dist/DataList.const-DZ5upBs4.js +38 -0
- package/dist/DataList.utils-DKYlINpl.js +168 -0
- package/dist/DataList.utils-DmychB4b.js +161 -0
- package/dist/DataListAction-BTge_0LD.js +37 -0
- package/dist/DataListAction-HGpY_hOu.js +39 -0
- package/dist/DataListActions-CmIwf73f.js +43 -0
- package/dist/DataListActions-D94XxpZM.js +45 -0
- package/dist/DataListActionsMenu-BDlbxRpS.js +57 -0
- package/dist/DataListActionsMenu-DJ0jKNQ9.js +55 -0
- package/dist/DataListBulkActions-CqyhvwO3.js +29 -0
- package/dist/DataListBulkActions-DMU9T6TS.js +26 -0
- package/dist/DataListContext-B9QPGTE9.js +25 -0
- package/dist/DataListContext-CtxUHHfs.js +29 -0
- package/dist/DataListEmptyState-B-6AynZz.js +53 -0
- package/dist/DataListEmptyState-DSrTemd1.js +50 -0
- package/dist/DataListFilters-CVRcWy-9.js +43 -0
- package/dist/DataListFilters-LGIT4RTw.js +46 -0
- package/dist/DataListHeader-CKNSWwQo.js +95 -0
- package/dist/DataListHeader-CfZmYQG2.js +93 -0
- package/dist/DataListHeaderTile-BYDWDG_0.js +81 -0
- package/dist/DataListHeaderTile-I90vRaws.js +79 -0
- package/dist/DataListItem-BuwfdyIq.js +112 -0
- package/dist/DataListItem-EDyh_yml.js +114 -0
- package/dist/DataListItemActions-BcrNy34u.js +29 -0
- package/dist/DataListItemActions-E6TYqr0T.js +32 -0
- package/dist/DataListItemActionsOverflow-BFOFHLmm.js +35 -0
- package/dist/DataListItemActionsOverflow-OJZ4_d_f.js +33 -0
- package/dist/DataListItemClickable-DLS2uEpq.js +45 -0
- package/dist/DataListItemClickable-RGUCPgM5.js +47 -0
- package/dist/DataListItems-BjQ_XDeZ.js +19 -0
- package/dist/DataListItems-CN_kub24.js +21 -0
- package/dist/DataListLayout-BmLJ-mi_.js +19 -0
- package/dist/DataListLayout-kbVmXDsv.js +21 -0
- package/dist/DataListLayoutActions-D7dfXhpA.js +38 -0
- package/dist/DataListLayoutActions-DsqeiOLl.js +36 -0
- package/dist/DataListLayoutContext-CmT-yv31.js +14 -0
- package/dist/DataListLayoutContext-DbIuv3_7.js +8 -0
- package/dist/DataListLayoutContext-Dsm5THEw.js +11 -0
- package/dist/DataListLayoutContext-cLuet6uT.js +18 -0
- package/dist/DataListLoadMore-BXjOjGwa.js +34 -0
- package/dist/DataListLoadMore-C6Of-7M0.js +31 -0
- package/dist/DataListLoadingState-7erg1duA.js +26 -0
- package/dist/DataListLoadingState-Da7RpOd1.js +22 -0
- package/dist/DataListOverflowFade-B2Iz6CsX.js +25 -0
- package/dist/DataListOverflowFade-CzFRYirg.js +22 -0
- package/dist/DataListSearch-DVyuwX2c.js +59 -0
- package/dist/DataListSearch-Dh9PxyQp.js +63 -0
- package/dist/DataListSort-CgGWlSZ0.js +94 -0
- package/dist/DataListSort-Dql37zcM.js +92 -0
- package/dist/DataListSortingOptions-DW9pkdUG.js +37 -0
- package/dist/DataListSortingOptions-Eoovb0ni.js +35 -0
- package/dist/DataListStatusBar-B_NhZoAv.js +22 -0
- package/dist/DataListStatusBar-CoHWwL7-.js +25 -0
- package/dist/DataListStickyHeader-Ba82f3Im.js +25 -0
- package/dist/DataListStickyHeader-DBCXs6Rc.js +23 -0
- package/dist/DataListTags-DH4nIE2K.js +62 -0
- package/dist/DataListTags-scOaXzcs.js +64 -0
- package/dist/DataListTotalCount-DjKf6gMo.js +27 -0
- package/dist/DataListTotalCount-m2VGpCak.js +24 -0
- package/dist/DataTable/index.cjs +36 -0
- package/dist/DataTable/index.mjs +25 -0
- package/dist/DataTable/test-utilities/index.cjs +246 -0
- package/dist/DataTable/test-utilities/index.mjs +238 -0
- package/dist/DataTable-NxjqVEtH.js +238 -0
- package/dist/DataTable-x5RQEyBP.js +236 -0
- package/dist/DatePicker/index.cjs +26 -0
- package/dist/DatePicker/index.mjs +20 -0
- package/dist/DatePicker-BVcHoA7-.js +8554 -0
- package/dist/DatePicker-C8v-Zj4s.js +8551 -0
- package/dist/DayOfMonthSelect--FHzXJDW.js +137 -0
- package/dist/DayOfMonthSelect-C-fPPm2a.js +130 -0
- package/dist/DescriptionList/index.cjs +10 -0
- package/dist/DescriptionList/index.mjs +4 -0
- package/dist/DescriptionList-Cju_ltAl.js +14 -0
- package/dist/DescriptionList-DyycFYga.js +12 -0
- package/dist/Disclosure/index.cjs +17 -0
- package/dist/Disclosure/index.mjs +11 -0
- package/dist/Disclosure-BuGyUy0l.js +33 -0
- package/dist/Disclosure-CMxuffso.js +35 -0
- package/dist/Divider/index.cjs +9 -0
- package/dist/Divider/index.mjs +3 -0
- package/dist/Divider-CCH0JB2B.js +17 -0
- package/dist/Divider-L89PyUsw.js +19 -0
- package/dist/Drawer/index.cjs +17 -0
- package/dist/Drawer/index.mjs +10 -0
- package/dist/DrawerGrid-Bp4NRp42.js +31 -0
- package/dist/DrawerGrid-CZEJyoma.js +28 -0
- package/dist/Emphasis/index.cjs +10 -0
- package/dist/Emphasis/index.mjs +4 -0
- package/dist/Emphasis-BOCpUymX.js +15 -0
- package/dist/Emphasis-DyEYCEeY.js +13 -0
- package/dist/FeatureSwitch/index.cjs +24 -0
- package/dist/FeatureSwitch/index.mjs +18 -0
- package/dist/FeatureSwitch-Be-BLvA7.js +54 -0
- package/dist/FeatureSwitch-vqe0AQ2W.js +52 -0
- package/dist/Flex/index.cjs +9 -0
- package/dist/Flex/index.mjs +3 -0
- package/dist/Flex-DnI4PG_x.js +28 -0
- package/dist/Flex-DqHnYqYa.js +30 -0
- package/dist/Form/index.cjs +10 -0
- package/dist/Form/index.mjs +4 -0
- package/dist/{Form/index.js → Form-Clk5qGl3.js} +3 -9
- package/dist/Form-DVrhZAfE.js +48 -0
- package/dist/FormField/index.cjs +20 -0
- package/dist/FormField/index.mjs +14 -0
- package/dist/FormField-CDoeGp9o.js +261 -0
- package/dist/FormField-Dc7XoE3A.js +263 -0
- package/dist/FormatDate/{index.js → index.cjs} +1 -3
- package/dist/FormatDate/index.mjs +2 -0
- package/dist/FormatDate-B-4ItFF2.js +27 -0
- package/dist/{FormatDate-70ea5b43.js → FormatDate-BSQ5SYSD.js} +1 -5
- package/dist/FormatEmail/index.cjs +9 -0
- package/dist/FormatEmail/index.mjs +3 -0
- package/dist/FormatEmail-BoR_OfTf.js +11 -0
- package/dist/FormatEmail-CoezKTev.js +13 -0
- package/dist/FormatFile/index.cjs +34 -0
- package/dist/FormatFile/index.mjs +28 -0
- package/dist/FormatFile-RCY2HTZX.js +149 -0
- package/dist/FormatFile-YktXX0mA.js +147 -0
- package/dist/FormatRelativeDateTime/index.cjs +8 -0
- package/dist/FormatRelativeDateTime/index.mjs +2 -0
- package/dist/FormatRelativeDateTime-BU_6qDFz.js +64 -0
- package/dist/{FormatRelativeDateTime/index.js → FormatRelativeDateTime-CU2SvOF9.js} +5 -11
- package/dist/FormatTime/index.cjs +8 -0
- package/dist/FormatTime/index.mjs +2 -0
- package/dist/{FormatTime/index.js → FormatTime-BUB6E47S.js} +1 -7
- package/dist/FormatTime-DM6K5QTY.js +29 -0
- package/dist/Gallery/index.cjs +41 -0
- package/dist/Gallery/index.mjs +35 -0
- package/dist/Gallery-CHSQtOX4.js +65 -0
- package/dist/Gallery-Dr48QgPl.js +63 -0
- package/dist/Glimmer/index.cjs +12 -0
- package/dist/Glimmer/index.mjs +5 -0
- package/dist/Glimmer-BG7eX9ml.js +63 -0
- package/dist/Glimmer-C-o8hGKO.js +60 -0
- package/dist/Grid/InternalGridCell/index.cjs +9 -0
- package/dist/Grid/InternalGridCell/index.mjs +2 -0
- package/dist/Grid/index.cjs +14 -0
- package/dist/Grid/index.mjs +7 -0
- package/dist/Grid-D1qStNFU.js +32 -0
- package/dist/Grid-DtxggU52.js +29 -0
- package/dist/Heading/index.cjs +10 -0
- package/dist/Heading/index.mjs +4 -0
- package/dist/Heading-CLboCN8l.js +47 -0
- package/dist/{Heading-d025ffbb.js → Heading-D39OfHbk.js} +2 -6
- package/dist/Icon/index.cjs +9 -0
- package/dist/Icon/index.mjs +3 -0
- package/dist/Icon-5T1h0cSC.js +36 -0
- package/dist/Icon-zn-zanGs.js +34 -0
- package/dist/InlineLabel/index.cjs +10 -0
- package/dist/InlineLabel/index.mjs +4 -0
- package/dist/InlineLabel-BSjKYUfv.js +20 -0
- package/dist/InlineLabel-Bw_i26zR.js +18 -0
- package/dist/InputAvatar/index.cjs +26 -0
- package/dist/InputAvatar/index.mjs +20 -0
- package/dist/InputAvatar-BW3GFAXi.js +49 -0
- package/dist/InputAvatar-D_ghJoiU.js +47 -0
- package/dist/InputDate/index.cjs +34 -0
- package/dist/InputDate/index.mjs +28 -0
- package/dist/{InputDate/index.js → InputDate-EhlH_aDw.js} +6 -31
- package/dist/InputDate-zAEoCRbO.js +48 -0
- package/dist/InputEmail/index.cjs +22 -0
- package/dist/InputEmail/index.mjs +15 -0
- package/dist/InputEmail-DMIv0W-U.js +20 -0
- package/dist/InputEmail-Dvxsqv1m.js +23 -0
- package/dist/InputFile/index.cjs +23 -0
- package/dist/InputFile/index.mjs +16 -0
- package/dist/InputFile-2ME4Lx_J.js +1608 -0
- package/dist/InputFile-ApUNeer4.js +1611 -0
- package/dist/InputGroup/index.cjs +9 -0
- package/dist/InputGroup/index.mjs +3 -0
- package/dist/InputGroup-CuMESZ3e.js +23 -0
- package/dist/InputGroup-SgH2Znm3.js +25 -0
- package/dist/InputNumber/index.cjs +21 -0
- package/dist/InputNumber/index.mjs +15 -0
- package/dist/InputNumber-CiVi1adj.js +56 -0
- package/dist/{InputNumber-0cc0d204.js → InputNumber-DDZLNzAN.js} +2 -6
- package/dist/InputPassword/index.cjs +21 -0
- package/dist/InputPassword/index.mjs +15 -0
- package/dist/InputPassword-BX5iEGUi.js +19 -0
- package/dist/InputPassword-DSFVkKrW.js +21 -0
- package/dist/InputPhoneNumber/index.cjs +21 -0
- package/dist/InputPhoneNumber/index.mjs +15 -0
- package/dist/InputPhoneNumber-BtGDXTrX.js +94 -0
- package/dist/{InputPhoneNumber/index.js → InputPhoneNumber-D9f6nzaN.js} +7 -27
- package/dist/InputText/index.cjs +22 -0
- package/dist/InputText/index.mjs +16 -0
- package/dist/InputText-DAp8GDBJ.js +96 -0
- package/dist/{InputText-8af32879.js → InputText-DJvMLtTA.js} +4 -8
- package/dist/InputTime/index.cjs +26 -0
- package/dist/InputTime/index.mjs +20 -0
- package/dist/{InputTime/index.js → InputTime-BK32ZRmi.js} +5 -25
- package/dist/InputTime-Cwh6bsgB.js +190 -0
- package/dist/InputValidation/index.cjs +14 -0
- package/dist/InputValidation/index.mjs +8 -0
- package/dist/InputValidation-B0ocr1XO.js +20 -0
- package/dist/InputValidation-BxaW-DOL.js +22 -0
- package/dist/InternalChipDismissible-AydwPO6F.js +157 -0
- package/dist/InternalChipDismissible-BNj2lRac.js +152 -0
- package/dist/InternalGridCell-Dx7Dz3Xq.js +34 -0
- package/dist/InternalGridCell-puBI2ZeJ.js +37 -0
- package/dist/LightBox/index.cjs +26 -0
- package/dist/LightBox/index.mjs +20 -0
- package/dist/LightBox-BRZpFYeQ.js +110 -0
- package/dist/LightBox-CPK9oJpX.js +112 -0
- package/dist/Link/index.cjs +8 -0
- package/dist/Link/index.mjs +2 -0
- package/dist/Link-BMm-4O29.js +9 -0
- package/dist/Link-CacM5qqe.js +7 -0
- package/dist/List/index.cjs +27 -0
- package/dist/List/index.mjs +20 -0
- package/dist/List-D-5zOLA5.js +189 -0
- package/dist/List-tRcUMZA6.js +186 -0
- package/dist/Markdown/index.cjs +17 -0
- package/dist/Markdown/index.mjs +11 -0
- package/dist/Markdown-CRV63Nlg.js +19011 -0
- package/dist/Markdown-CjYVzppS.js +19013 -0
- package/dist/Menu/index.cjs +18 -0
- package/dist/Menu/index.mjs +12 -0
- package/dist/Menu-PQAVNqJX.js +128 -0
- package/dist/Menu-wYw5h0bM.js +130 -0
- package/dist/Modal/index.cjs +21 -0
- package/dist/Modal/index.mjs +15 -0
- package/dist/Modal-3fXNhDjb.js +63 -0
- package/dist/Modal-DpZxsqaF.js +61 -0
- package/dist/MultiSelect/index.cjs +16 -0
- package/dist/MultiSelect/index.mjs +10 -0
- package/dist/MultiSelect-BKA4GqeW.js +164 -0
- package/dist/MultiSelect-Bz5m3p2S.js +166 -0
- package/dist/Option-BWUCNzu-.js +15 -0
- package/dist/Option-CiWcXqo-.js +12 -0
- package/dist/Page/index.cjs +31 -0
- package/dist/Page/index.mjs +25 -0
- package/dist/Page-B4qMqVDr.js +56 -0
- package/dist/Page-D4-zBR88.js +58 -0
- package/dist/Popover/index.cjs +17 -0
- package/dist/Popover/index.mjs +11 -0
- package/dist/Popover-CNkUbTvG.js +50 -0
- package/dist/Popover-CxiiucKv.js +48 -0
- package/dist/ProgressBar/index.cjs +9 -0
- package/dist/ProgressBar/index.mjs +3 -0
- package/dist/ProgressBar-BRI8oId0.js +31 -0
- package/dist/ProgressBar-D4cWYAjk.js +33 -0
- package/dist/RadioGroup/index.cjs +12 -0
- package/dist/RadioGroup/index.mjs +5 -0
- package/dist/RadioGroup-BGqrJ6K9.js +39 -0
- package/dist/RadioGroup-Dx1Glowr.js +36 -0
- package/dist/RecurringSelect/components/index.cjs +15 -0
- package/dist/RecurringSelect/components/index.mjs +6 -0
- package/dist/RecurringSelect/index.cjs +35 -0
- package/dist/RecurringSelect/index.mjs +21 -0
- package/dist/RecurringSelect-D8bZAHBs.js +69 -0
- package/dist/RecurringSelect-D9qSmSek.js +71 -0
- package/dist/Select/index.cjs +22 -0
- package/dist/Select/index.mjs +15 -0
- package/dist/Spinner/index.cjs +9 -0
- package/dist/Spinner/index.mjs +3 -0
- package/dist/Spinner-CRjrJ0LO.js +14 -0
- package/dist/Spinner-DBuwcAqL.js +16 -0
- package/dist/StatusIndicator/index.cjs +8 -0
- package/dist/StatusIndicator/index.mjs +2 -0
- package/dist/StatusIndicator-DGvPdP50.js +9 -0
- package/dist/StatusIndicator-egqvK_8I.js +11 -0
- package/dist/StatusLabel/index.cjs +11 -0
- package/dist/StatusLabel/index.mjs +5 -0
- package/dist/StatusLabel-ClNWJSbx.js +16 -0
- package/dist/StatusLabel-gScnhH3r.js +18 -0
- package/dist/Switch/index.cjs +10 -0
- package/dist/Switch/index.mjs +4 -0
- package/dist/Switch-B6FDMgFW.js +48 -0
- package/dist/Switch-B8HlM_QY.js +46 -0
- package/dist/Table/index.cjs +17 -0
- package/dist/Table/index.mjs +4 -0
- package/dist/Tabs/index.cjs +11 -0
- package/dist/Tabs/index.mjs +4 -0
- package/dist/Tabs-BWBhsLmc.js +70 -0
- package/dist/Tabs-CqLdEcw_.js +67 -0
- package/dist/Text/index.cjs +10 -0
- package/dist/Text/index.mjs +4 -0
- package/dist/{Text-fdc65f0b.js → Text-C0pm--c0.js} +2 -6
- package/dist/Text-CyaxiLeN.js +25 -0
- package/dist/Toast/index.cjs +16 -0
- package/dist/Toast/index.mjs +10 -0
- package/dist/Tooltip/Tooltip.d.ts +7 -1
- package/dist/Tooltip/Tooltip.types.d.ts +1 -0
- package/dist/Tooltip/index.cjs +14 -0
- package/dist/Tooltip/index.mjs +8 -0
- package/dist/Tooltip/useTooltipPositioning.d.ts +7 -2
- package/dist/Tooltip-Cz3YrniM.js +107 -0
- package/dist/Tooltip-DwJncSM8.js +109 -0
- package/dist/Typography/index.cjs +9 -0
- package/dist/Typography/index.mjs +3 -0
- package/dist/Typography-BCKgZ_gv.js +38 -0
- package/dist/Typography-C0YR4XBl.js +36 -0
- package/dist/_baseAssignValue-BUu9BC9H.js +31 -0
- package/dist/_baseAssignValue-DF3A_efn.js +29 -0
- package/dist/_baseEach-CRlnkM7o.js +1069 -0
- package/dist/_baseEach-DVwKXi81.js +1073 -0
- package/dist/_commonjsHelpers-DAuvc7SO.js +36 -0
- package/dist/_commonjsHelpers-jBnpF2iq.js +32 -0
- package/dist/_defineProperty-B3SNVTd_.js +1326 -0
- package/dist/_defineProperty-JMBF-bcO.js +1306 -0
- package/dist/_getTag-5wQIlCbe.js +718 -0
- package/dist/_getTag-BBZ5PchE.js +733 -0
- package/dist/_polyfill-node.process-DT4I8V6P.js +258 -0
- package/dist/_polyfill-node.process-SftmnXC5.js +255 -0
- package/dist/_setToString-D6dO6z5c.js +234 -0
- package/dist/_setToString-Dgouhodc.js +230 -0
- package/dist/debounce-BIIhPHgB.js +332 -0
- package/dist/debounce-D4EqvIGN.js +329 -0
- package/dist/helpers-BQt4cjaM.js +15 -0
- package/dist/helpers-DMMJ1q7H.js +17 -0
- package/dist/index-Bd55olyf.js +1186 -0
- package/dist/index-CkGfA4vx.js +1189 -0
- package/dist/index.cjs +274 -0
- package/dist/index.d.mts +74 -0
- package/dist/index.d.ts +74 -0
- package/dist/index.mjs +161 -0
- package/dist/isObjectLike-BlLIuFVH.js +197 -0
- package/dist/isObjectLike-CAV2cIfa.js +190 -0
- package/dist/isSymbol-BxsxMlnF.js +35 -0
- package/dist/isSymbol-C2J0yjld.js +33 -0
- package/dist/noop-C9vKAtvJ.js +24 -0
- package/dist/noop-D4cCHWII.js +26 -0
- package/dist/showToast-DEz-eIM4.js +96 -0
- package/dist/showToast-d0XdpaJD.js +98 -0
- package/dist/styles.css +8401 -0
- package/dist/tslib.es6-6dmIhJTi.js +102 -0
- package/dist/tslib.es6-sBHgrKO6.js +97 -0
- package/dist/useActiveLayout-EZ1eunvS.js +16 -0
- package/dist/useActiveLayout-VN6ZOkxZ.js +14 -0
- package/dist/useAssert-BHj1OQqJ.js +27 -0
- package/dist/useAssert-knwpkZW0.js +27 -0
- package/dist/useBatchSelect-BTQ9PbXi.js +36 -0
- package/dist/useBatchSelect-C9775spd.js +38 -0
- package/dist/useChildComponent-BLLL1r7O.js +17 -0
- package/dist/useChildComponent-D9yXvtJR.js +15 -0
- package/dist/useFocusTrap-B8ok2cIh.js +74 -0
- package/dist/useFocusTrap-BBkfWfEx.js +74 -0
- package/dist/useInView-Bj_Jl5Bw.js +25 -0
- package/dist/useInView-fsT3lwCU.js +25 -0
- package/dist/useIsMounted-CYEXH1zH.js +47 -0
- package/dist/useIsMounted-Dcw7g7-d.js +47 -0
- package/dist/useOnKeyDown-DN2YGzzl.js +40 -0
- package/dist/useOnKeyDown-DrmWnz2G.js +40 -0
- package/dist/useRefocusOnActivator-DA8gO9ka.js +32 -0
- package/dist/useRefocusOnActivator-y6qNNjZw.js +32 -0
- package/dist/useResizeObserver-8FUujV3_.js +1192 -0
- package/dist/useResizeObserver-CatrBt7i.js +1189 -0
- package/dist/useResponsiveSizing--fEPoUpK.js +51 -0
- package/dist/useResponsiveSizing-Dh343Vot.js +49 -0
- package/dist/useSafeLayoutEffect-BQD8SqX2.js +12 -0
- package/dist/useSafeLayoutEffect-DOMGt2wv.js +14 -0
- package/dist/useScrollToActive-Cgc9Gsx0.js +597 -0
- package/dist/useScrollToActive-gryn6oCp.js +591 -0
- package/package.json +411 -11
- package/{rollup.config.js → rollup.config.mjs} +49 -17
- package/dist/AnimatedSwitcher/index.js +0 -13
- package/dist/Autocomplete/index.js +0 -213
- package/dist/Avatar/index.js +0 -15
- package/dist/Avatar-a5a90da9.js +0 -78
- package/dist/Banner/index.js +0 -92
- package/dist/Button/index.js +0 -16
- package/dist/Button-bb77a513.js +0 -57
- package/dist/ButtonDismiss/index.js +0 -17
- package/dist/ButtonDismiss-a1df8656.js +0 -14
- package/dist/Card/index.js +0 -23
- package/dist/Card-69212ecd.js +0 -93
- package/dist/Checkbox/index.js +0 -18
- package/dist/Checkbox-2ea61ab4.js +0 -63
- package/dist/Chip/index.js +0 -42
- package/dist/Chip-b67ae770.js +0 -89
- package/dist/Chips/index.js +0 -525
- package/dist/Combobox/index.js +0 -41
- package/dist/Combobox-faa6bffe.js +0 -481
- package/dist/ConfirmationModal/index.js +0 -30
- package/dist/Content/index.js +0 -12
- package/dist/Content-e3f7b6fc.js +0 -24
- package/dist/Countdown/index.js +0 -72
- package/dist/DataDump/index.js +0 -36
- package/dist/DataList/index.js +0 -1345
- package/dist/DataTable/index.js +0 -301
- package/dist/DatePicker/index.js +0 -21
- package/dist/DatePicker-8392951f.js +0 -144
- package/dist/DescriptionList/index.js +0 -24
- package/dist/Disclosure/index.js +0 -46
- package/dist/Divider/index.js +0 -29
- package/dist/Drawer/index.js +0 -48
- package/dist/Emphasis/index.js +0 -13
- package/dist/Emphasis-2bbe4da6.js +0 -19
- package/dist/FeatureSwitch/index.js +0 -69
- package/dist/Flex/index.js +0 -12
- package/dist/Flex-d490c4db.js +0 -38
- package/dist/FormField/index.js +0 -24
- package/dist/FormField-5134bf0e.js +0 -253
- package/dist/FormatEmail/index.js +0 -23
- package/dist/FormatFile/index.js +0 -35
- package/dist/FormatFile-7e432b0d.js +0 -162
- package/dist/Gallery/index.js +0 -99
- package/dist/Glimmer/index.js +0 -15
- package/dist/Glimmer-156bb2d1.js +0 -77
- package/dist/Grid/index.js +0 -76
- package/dist/Heading/index.js +0 -13
- package/dist/Icon/index.js +0 -11
- package/dist/Icon-405a216c.js +0 -40
- package/dist/InlineLabel/index.js +0 -13
- package/dist/InlineLabel-d092e45a.js +0 -28
- package/dist/InputAvatar/index.js +0 -70
- package/dist/InputEmail/index.js +0 -43
- package/dist/InputFile/index.js +0 -25
- package/dist/InputFile-5458fb6e.js +0 -190
- package/dist/InputGroup/index.js +0 -12
- package/dist/InputGroup-8d4fd4eb.js +0 -33
- package/dist/InputNumber/index.js +0 -25
- package/dist/InputPassword/index.js +0 -41
- package/dist/InputText/index.js +0 -26
- package/dist/InputValidation/index.js +0 -17
- package/dist/InputValidation-9c582130.js +0 -29
- package/dist/LightBox/index.js +0 -25
- package/dist/LightBox-ddbda5c6.js +0 -121
- package/dist/Link/index.js +0 -15
- package/dist/List/index.js +0 -92
- package/dist/Markdown/index.js +0 -18
- package/dist/Markdown-8150d535.js +0 -62
- package/dist/Menu/index.js +0 -21
- package/dist/Menu-f9fb99bb.js +0 -138
- package/dist/Modal/index.js +0 -24
- package/dist/Modal-4f48de3a.js +0 -74
- package/dist/MultiSelect/index.js +0 -182
- package/dist/Option-8faed3bf.js +0 -19
- package/dist/Page/index.js +0 -77
- package/dist/Popover/index.js +0 -65
- package/dist/ProgressBar/index.js +0 -12
- package/dist/ProgressBar-e4bb029e.js +0 -43
- package/dist/RadioGroup/index.js +0 -15
- package/dist/RadioGroup-c31c2e81.js +0 -46
- package/dist/RecurringSelect/index.js +0 -227
- package/dist/Select/index.js +0 -26
- package/dist/Spinner/index.js +0 -12
- package/dist/Spinner-e15a3ae0.js +0 -24
- package/dist/StatusIndicator/index.js +0 -11
- package/dist/StatusIndicator-dd1f0fd5.js +0 -18
- package/dist/StatusLabel/index.js +0 -28
- package/dist/Switch/index.js +0 -13
- package/dist/Switch-57fbf575.js +0 -56
- package/dist/Table/index.js +0 -66
- package/dist/Tabs/index.js +0 -80
- package/dist/Text/index.js +0 -13
- package/dist/Toast/index.js +0 -110
- package/dist/Tooltip/index.js +0 -17
- package/dist/Tooltip-1e3abeb6.js +0 -114
- package/dist/Typography/index.js +0 -12
- package/dist/Typography-018e1471.js +0 -62
- package/dist/style-inject.es-9d2f5f4e.js +0 -30
- package/dist/tslib.es6-754e2961.js +0 -46
- /package/{.eslintrc.js → .eslintrc.cjs} +0 -0
- /package/dist/{AtlantisContext-64608897.js → AtlantisContext-k356LtVM.js} +0 -0
package/dist/Divider/index.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classnames = require('classnames');
|
|
7
|
-
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
13
|
-
|
|
14
|
-
var css_248z = ".dH7SqeSo70A- {\n --divider-width: var(--border-base);\n --divider-color: var(--color-border);\n margin: 0;\n padding: 0;\n border: none;\n}\n\n._07xjw8ykfvg- {\n --divider-width: var(--border-thick);\n opacity: 0.875;\n}\n\n.TGD22T-KP78- {\n --divider-width: var(--border-thicker);\n opacity: 0.625;\n}\n\n.UUndaiRIryU- {\n --divider-width: var(--border-thickest);\n opacity: 0.375;\n}\n\n.HzWBc8FoucI- {\n height: calc(16px / 16);\n height: var(--space-minuscule);\n border-bottom: var(--divider-width) solid var(--divider-color);\n}\n\n.vu46ZKcGBWM- {\n width: var(--space-miniscule);\n height: auto;\n border-right: var(--divider-width) solid var(--divider-color);\n}\n";
|
|
15
|
-
var styles = {"divider":"dH7SqeSo70A-","large":"_07xjw8ykfvg-","larger":"TGD22T-KP78-","largest":"UUndaiRIryU-","horizontal":"HzWBc8FoucI-","vertical":"vu46ZKcGBWM-"};
|
|
16
|
-
styleInject_es.styleInject(css_248z);
|
|
17
|
-
|
|
18
|
-
function Divider({ size = "base", direction = "horizontal", }) {
|
|
19
|
-
const className = classnames__default["default"](styles.divider, {
|
|
20
|
-
[styles.large]: size === "large",
|
|
21
|
-
[styles.larger]: size === "larger",
|
|
22
|
-
[styles.largest]: size === "largest",
|
|
23
|
-
[styles.horizontal]: direction == "horizontal",
|
|
24
|
-
[styles.vertical]: direction == "vertical",
|
|
25
|
-
});
|
|
26
|
-
return React__default["default"].createElement("div", { className: className, role: "none presentation" });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
exports.Divider = Divider;
|
package/dist/Drawer/index.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classnames = require('classnames');
|
|
7
|
-
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
var Heading = require('../Heading-d025ffbb.js');
|
|
9
|
-
var ButtonDismiss = require('../ButtonDismiss-a1df8656.js');
|
|
10
|
-
require('../Typography-018e1471.js');
|
|
11
|
-
require('../Button-bb77a513.js');
|
|
12
|
-
require('react-router-dom');
|
|
13
|
-
require('../Icon-405a216c.js');
|
|
14
|
-
require('@jobber/design');
|
|
15
|
-
|
|
16
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
|
-
|
|
18
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
19
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
20
|
-
|
|
21
|
-
var css_248z$1 = ":root {\n --drawer-width: 280px;\n --drawer--base-padding: var(--space-large);\n}\n\n.IJAyrFb2GpA- {\n display: none;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1001;\n z-index: var(--elevation-modal);\n box-shadow: 0px calc(16px / 16) calc(16px / 4) 0px\n rgba(0, 0, 0, 0.1),\n 0px calc(16px / 4) 12px 0px rgba(0, 0, 0, 0.05);\n box-shadow: var(--shadow-base);\n overflow: hidden;\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--color-surface);\n\n /* SPECIAL CASE:\n Drawer is primarily used in Jobber Online and is currently used in a layout\n that rearranges at 640px. For compatibility, this is hardcoded here\n rather than using the breakpoint custom properties.\n DO NOT COPY THIS - USE THE BREAKPOINTS DEFINED IN THE @jobber/design package!\n */\n}\n\n@media (min-width: 640px), print {\n\n.IJAyrFb2GpA- {\n position: relative;\n z-index: auto;\n width: 280px;\n width: var(--drawer-width);\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--color-border);\n border-bottom-left-radius: 8px;\n border-bottom-left-radius: var(--radius-base);\n border-top-left-radius: 8px;\n border-top-left-radius: var(--radius-base);\n}\n }\n\n@media (min-width: 1080px) {\n\n.IJAyrFb2GpA- {\n --drawer-width: 420px;\n}\n }\n\n@media (--large-screens-and-up) {\n\n.IJAyrFb2GpA- {\n --drawer-width: 420px;\n}\n }\n\n.Hsmk6Pg14PQ- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.DwF3Q9EMPvQ- {\n display: -ms-flexbox;\n display: flex;\n}\n\n.TcdyXiTbnMU- {\n display: -ms-flexbox;\n display: flex;\n padding: calc(16px * 1) calc(16px * 1) 0 calc(16px * 1.5);\n padding: var(--space-base) var(--space-base) 0 var(--drawer--base-padding);\n background-color: transparent;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.srL7xqEzwhM- {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n height: 100%;\n -ms-flex-direction: row;\n flex-direction: row;\n overflow-y: auto;\n}\n\n.p6-yqttoIJI- {\n width: 100%;\n}\n\n/* Adjust `Content` components public padding to match the cards */\n\n.p6-yqttoIJI- > * {\n --public-content--padding: var(--drawer--base-padding);\n}\n\n/* Remove the nested `Content` components public padding */\n\n.p6-yqttoIJI- > * > * {\n --public-content--padding: 0;\n}\n";
|
|
22
|
-
var styles$1 = {"container":"IJAyrFb2GpA-","drawer":"Hsmk6Pg14PQ-","open":"DwF3Q9EMPvQ-","header":"TcdyXiTbnMU-","contentScroll":"srL7xqEzwhM-","content":"p6-yqttoIJI-"};
|
|
23
|
-
styleInject_es.styleInject(css_248z$1);
|
|
24
|
-
|
|
25
|
-
function Drawer({ title, children, open = true, onRequestClose, id, }) {
|
|
26
|
-
const drawerClassNames = classnames__default["default"](styles$1.container, open && styles$1.open);
|
|
27
|
-
return (React__default["default"].createElement("aside", { className: drawerClassNames, "data-testid": "drawer-container", "aria-label": title, "aria-hidden": !open, id: id },
|
|
28
|
-
React__default["default"].createElement("div", { className: styles$1.drawer },
|
|
29
|
-
React__default["default"].createElement(Header, { title: title, onRequestClose: onRequestClose }),
|
|
30
|
-
React__default["default"].createElement("div", { className: styles$1.contentScroll },
|
|
31
|
-
React__default["default"].createElement("div", { className: styles$1.content }, children)))));
|
|
32
|
-
}
|
|
33
|
-
function Header({ title, onRequestClose }) {
|
|
34
|
-
return (React__default["default"].createElement("div", { className: styles$1.header, "data-testid": "drawer-header" },
|
|
35
|
-
React__default["default"].createElement(Heading.Heading, { level: 2 }, title),
|
|
36
|
-
React__default["default"].createElement(ButtonDismiss.ButtonDismiss, { onClick: onRequestClose, ariaLabel: `Close ${title || "drawer"}` })));
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
var css_248z = "._50Jq09W07gg- {\n display: grid;\n width: 100%;\n height: 100%;\n overflow: hidden;\n grid-template-columns: minmax(0, 1fr) minmax(-webkit-min-content, -webkit-max-content);\n grid-template-columns: minmax(0, 1fr) minmax(min-content, max-content);\n grid-template-rows: 1fr;\n}\n";
|
|
40
|
-
var styles = {"drawerGrid":"_50Jq09W07gg-"};
|
|
41
|
-
styleInject_es.styleInject(css_248z);
|
|
42
|
-
|
|
43
|
-
function DrawerGrid({ children }) {
|
|
44
|
-
return React__default["default"].createElement("div", { className: styles.drawerGrid }, children);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
exports.Drawer = Drawer;
|
|
48
|
-
exports.DrawerGrid = DrawerGrid;
|
package/dist/Emphasis/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var Emphasis = require('../Emphasis-2bbe4da6.js');
|
|
6
|
-
require('react');
|
|
7
|
-
require('../Typography-018e1471.js');
|
|
8
|
-
require('classnames');
|
|
9
|
-
require('../style-inject.es-9d2f5f4e.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.Emphasis = Emphasis.Emphasis;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var Typography = require('./Typography-018e1471.js');
|
|
5
|
-
|
|
6
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7
|
-
|
|
8
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
9
|
-
|
|
10
|
-
function Emphasis({ variation, children }) {
|
|
11
|
-
const variationMap = {
|
|
12
|
-
bold: { element: "b", fontWeight: "bold" },
|
|
13
|
-
italic: { element: "em", emphasisType: "italic" },
|
|
14
|
-
highlight: { element: "strong", emphasisType: "highlight" },
|
|
15
|
-
};
|
|
16
|
-
return React__default["default"].createElement(Typography.Typography, Object.assign({}, variationMap[variation]), children);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
exports.Emphasis = Emphasis;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var framerMotion = require('framer-motion');
|
|
7
|
-
var classnames = require('classnames');
|
|
8
|
-
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
9
|
-
var Heading = require('../Heading-d025ffbb.js');
|
|
10
|
-
var Text = require('../Text-fdc65f0b.js');
|
|
11
|
-
var Content = require('../Content-e3f7b6fc.js');
|
|
12
|
-
var Switch = require('../Switch-57fbf575.js');
|
|
13
|
-
var Button = require('../Button-bb77a513.js');
|
|
14
|
-
var Emphasis = require('../Emphasis-2bbe4da6.js');
|
|
15
|
-
var Markdown = require('../Markdown-8150d535.js');
|
|
16
|
-
require('../Typography-018e1471.js');
|
|
17
|
-
require('react-router-dom');
|
|
18
|
-
require('../Icon-405a216c.js');
|
|
19
|
-
require('@jobber/design');
|
|
20
|
-
require('react-markdown');
|
|
21
|
-
|
|
22
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
23
|
-
|
|
24
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
25
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
26
|
-
|
|
27
|
-
var css_248z = ".-sVnhIK4hZw- {\n display: -ms-flexbox;\n display: flex;\n}\n\n.ZJaXf-cIFgU- {\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n -ms-flex-item-align: center;\n align-self: center;\n padding-right: calc(16px * 1);\n padding-right: var(--space-base);\n transition: opacity 200ms;\n transition: opacity var(--timing-base);\n}\n\n.OA-s1YYLMMM- {\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n -ms-flex-item-align: start;\n align-self: flex-start;\n position: relative;\n}\n\n.lN90IIewHq8- {\n position: absolute;\n top: 100%;\n width: 100%;\n margin-top: calc(16px / 8);\n margin-top: var(--space-smallest);\n text-align: center;\n}\n\n.mW56hvBHqPM- {\n opacity: 0.5;\n}\n\n.QfZjM5S-Ls0- {\n opacity: 1;\n}\n";
|
|
28
|
-
var styles = {"container":"-sVnhIK4hZw-","content":"ZJaXf-cIFgU-","action":"OA-s1YYLMMM-","savedIndicator":"lN90IIewHq8-","featureContent":"mW56hvBHqPM-","enabled":"QfZjM5S-Ls0-"};
|
|
29
|
-
styleInject_es.styleInject(css_248z);
|
|
30
|
-
|
|
31
|
-
function FeatureSwitch({ children, description, disabled = false, enabled, externalLink = false, onEdit, onSwitch, hasSaveIndicator = false, title, }) {
|
|
32
|
-
const [savedIndicator, setSavedIndicator] = React.useState(false);
|
|
33
|
-
const featureContentClassnames = classnames__default["default"](styles.featureContent, styles.content, enabled && styles.enabled);
|
|
34
|
-
shouldShowSavedIndicator();
|
|
35
|
-
return (React__default["default"].createElement(Content.Content, null,
|
|
36
|
-
React__default["default"].createElement("div", { className: styles.container },
|
|
37
|
-
React__default["default"].createElement("div", { className: styles.content },
|
|
38
|
-
React__default["default"].createElement(Content.Content, null,
|
|
39
|
-
title && React__default["default"].createElement(Heading.Heading, { level: 4 }, title),
|
|
40
|
-
description && (React__default["default"].createElement(Text.Text, null,
|
|
41
|
-
React__default["default"].createElement(Markdown.Markdown, { content: description, basicUsage: true, externalLink: externalLink }))))),
|
|
42
|
-
onSwitch && (React__default["default"].createElement("div", { className: styles.action },
|
|
43
|
-
React__default["default"].createElement(Switch.Switch, { value: enabled, onChange: onSwitch, ariaLabel: description, disabled: disabled }),
|
|
44
|
-
React__default["default"].createElement(framerMotion.AnimatePresence, null, hasSaveIndicator && savedIndicator && (React__default["default"].createElement(framerMotion.motion.div, { className: styles.savedIndicator, initial: { y: -4, opacity: 0 }, animate: { y: 0, opacity: 1 }, exit: { y: -4, opacity: 0 }, transition: {
|
|
45
|
-
delay: 0.2,
|
|
46
|
-
type: "spring",
|
|
47
|
-
damping: 20,
|
|
48
|
-
stiffness: 300,
|
|
49
|
-
}, onAnimationComplete: handleAnimationComplete },
|
|
50
|
-
React__default["default"].createElement(Text.Text, { variation: "success" },
|
|
51
|
-
React__default["default"].createElement(Emphasis.Emphasis, { variation: "italic" }, "Saved")))))))),
|
|
52
|
-
(children || onEdit) && (React__default["default"].createElement("div", { className: styles.container },
|
|
53
|
-
children && (React__default["default"].createElement("div", { className: featureContentClassnames }, children)),
|
|
54
|
-
onEdit && (React__default["default"].createElement("div", { className: styles.action },
|
|
55
|
-
React__default["default"].createElement(Button.Button, { label: "Edit", type: "tertiary", onClick: onEdit })))))));
|
|
56
|
-
function shouldShowSavedIndicator() {
|
|
57
|
-
// Check if the component is mounted
|
|
58
|
-
const [didMount, setDidMount] = React.useState(false);
|
|
59
|
-
React.useEffect(() => setDidMount(true), []);
|
|
60
|
-
React.useEffect(() => {
|
|
61
|
-
didMount && hasSaveIndicator && setSavedIndicator(true);
|
|
62
|
-
}, [enabled]);
|
|
63
|
-
}
|
|
64
|
-
function handleAnimationComplete() {
|
|
65
|
-
setSavedIndicator(false);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
exports.FeatureSwitch = FeatureSwitch;
|
package/dist/Flex/index.js
DELETED
package/dist/Flex-d490c4db.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var classnames = require('classnames');
|
|
5
|
-
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
6
|
-
|
|
7
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
-
|
|
9
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
11
|
-
|
|
12
|
-
var css_248z = "._8VpnrMKmsqQ- {\n display: grid;\n /* If this gets wrapped in a flex container, it should take the remaining space */\n -ms-flex: 1;\n flex: 1;\n}\n\n.ooF1YfV4Usc- {\n gap: calc(16px / 8);\n gap: var(--space-smallest);\n}\n\n.ppCZfXq-Kqc- {\n gap: calc(16px / 4);\n gap: var(--space-smaller);\n}\n\n.tElkBalXH3g- {\n gap: calc(16px / 2);\n gap: var(--space-small);\n}\n\n._4u3OwUKxxbg- {\n gap: calc(16px * 1);\n gap: var(--space-base);\n}\n\n.RL7CJla0AAI- {\n gap: calc(16px * 1.5);\n gap: var(--space-large);\n}\n\n.fV4cvFYkhgo- {\n gap: 0;\n}\n\n._04xVVjZgr-0- {\n -ms-flex-align: start;\n align-items: start;\n}\n\n.Nc3zrqHHYSg- {\n -ms-flex-align: center;\n align-items: center;\n}\n\n.qA-v50wBX1U- {\n -ms-flex-align: end;\n align-items: end;\n}\n";
|
|
13
|
-
var styles = {"flexible":"_8VpnrMKmsqQ-","smallestGap":"ooF1YfV4Usc-","smallerGap":"ppCZfXq-Kqc-","smallGap":"tElkBalXH3g-","baseGap":"_4u3OwUKxxbg-","largeGap":"RL7CJla0AAI-","noneGap":"fV4cvFYkhgo-","startAlign":"_04xVVjZgr-0-","centerAlign":"Nc3zrqHHYSg-","endAlign":"qA-v50wBX1U-"};
|
|
14
|
-
styleInject_es.styleInject(css_248z);
|
|
15
|
-
|
|
16
|
-
function Flex({ align = "center", children, direction = "row", gap = "base", template, }) {
|
|
17
|
-
return (React__default["default"].createElement("div", { className: classnames__default["default"](styles.flexible, {
|
|
18
|
-
[styles[`${gap}Gap`]]: Boolean(gap),
|
|
19
|
-
[styles[`${align}Align`]]: Boolean(align),
|
|
20
|
-
}), style: generateGridStylesFromTemplate(direction, template) }, children));
|
|
21
|
-
}
|
|
22
|
-
function generateGridStylesFromTemplate(direction, layoutTemplate) {
|
|
23
|
-
const containerStyles = {};
|
|
24
|
-
const templateKeys = {
|
|
25
|
-
row: "gridTemplateColumns",
|
|
26
|
-
column: "gridTemplateRows",
|
|
27
|
-
};
|
|
28
|
-
const templateValues = {
|
|
29
|
-
grow: "1fr",
|
|
30
|
-
shrink: "max-content",
|
|
31
|
-
};
|
|
32
|
-
containerStyles[templateKeys[direction]] = layoutTemplate
|
|
33
|
-
.map(key => templateValues[key])
|
|
34
|
-
.join(" ");
|
|
35
|
-
return containerStyles;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
exports.Flex = Flex;
|
package/dist/FormField/index.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var FormField = require('../FormField-5134bf0e.js');
|
|
6
|
-
require('../tslib.es6-754e2961.js');
|
|
7
|
-
require('react');
|
|
8
|
-
require('react-hook-form');
|
|
9
|
-
require('../style-inject.es-9d2f5f4e.js');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@jobber/hooks/useShowClear');
|
|
12
|
-
require('../Button-bb77a513.js');
|
|
13
|
-
require('react-router-dom');
|
|
14
|
-
require('../Icon-405a216c.js');
|
|
15
|
-
require('@jobber/design');
|
|
16
|
-
require('../Typography-018e1471.js');
|
|
17
|
-
require('../Text-fdc65f0b.js');
|
|
18
|
-
require('../InputValidation-9c582130.js');
|
|
19
|
-
require('framer-motion');
|
|
20
|
-
require('../Spinner-e15a3ae0.js');
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
exports.FormField = FormField.FormField;
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-754e2961.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var reactHookForm = require('react-hook-form');
|
|
6
|
-
var styleInject_es = require('./style-inject.es-9d2f5f4e.js');
|
|
7
|
-
var classnames = require('classnames');
|
|
8
|
-
var useShowClear = require('@jobber/hooks/useShowClear');
|
|
9
|
-
var Button = require('./Button-bb77a513.js');
|
|
10
|
-
var Icon = require('./Icon-405a216c.js');
|
|
11
|
-
var Text = require('./Text-fdc65f0b.js');
|
|
12
|
-
var InputValidation = require('./InputValidation-9c582130.js');
|
|
13
|
-
var Spinner = require('./Spinner-e15a3ae0.js');
|
|
14
|
-
|
|
15
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
|
-
|
|
17
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
19
|
-
|
|
20
|
-
var css_248z$1 = ":root {\n /**\n * These `--public-field` properties are used in other components such\n * as InputGroup, therefore they must stay on :root\n **/\n --public-field--top-left-radius: var(--radius-base);\n --public-field--top-right-radius: var(--radius-base);\n --public-field--bottom-left-radius: var(--radius-base);\n --public-field--bottom-right-radius: var(--radius-base);\n\n --field--placeholder-color: var(--color-greyBlue--light);\n --field--value-color: var(--color-heading);\n --field--border-color: var(--color-border);\n}\n\n.geR7qBhrMfk- {\n width: 100%;\n}\n\n/**\n * Wrapper\n **/\n\n.nPGhTEEzsoU- {\n --field--placeholder-offset: 50%;\n --field--placeholder-transform: -50%;\n\n --field--textAlign: left;\n\n --field--height: var(--space-largest);\n\n --field--padding-top: calc(var(--space-base) - var(--space-smallest));\n --field--padding-bottom: calc(var(--space-base) - var(--space-smallest));\n --field--padding-left: var(--space-base);\n --field--padding-right: var(--space-base);\n\n --field--value-lineHeight: calc(var(--base-unit) * 1.25);\n\n --field--background-color: var(--color-surface);\n\n --field--base-elevation: var(--elevation-base);\n --field--label-elevation: calc(var(--field--base-elevation) + 1);\n --field--postfix-elevation: calc(var(--field--base-elevation) - 1);\n --field--postfix-action-elevation: calc(var(--field--base-elevation) + 2);\n\n display: -ms-flexbox;\n\n display: flex;\n width: 100%;\n height: calc(16px * 3);\n height: var(--field--height);\n border: calc(16px / 16) solid rgb(218, 224, 226);\n border: var(--border-base) solid var(--field--border-color);\n border-radius: 8px;\n border-radius: var(--radius-base);\n border-top-right-radius: 8px;\n border-top-right-radius: var(--public-field--top-right-radius);\n border-bottom-right-radius: 8px;\n border-bottom-right-radius: var(--public-field--bottom-right-radius);\n border-bottom-left-radius: 8px;\n border-bottom-left-radius: var(--public-field--bottom-left-radius);\n border-top-left-radius: 8px;\n border-top-left-radius: var(--public-field--top-left-radius);\n color: rgb(1, 40, 55);\n color: var(--field--value-color);\n font-size: calc((16px * 1) * 0.875);\n font-size: calc(calc(16px * 1) * 0.875);\n font-size: var(--typography--fontSize-base);\n background-color: rgba(255, 255, 255, 1);\n background-color: var(--field--background-color);\n}\n\n.nPGhTEEzsoU- * {\n box-sizing: border-box;\n}\n\n.nPGhTEEzsoU-:focus-within {\n position: relative;\n z-index: var(--field--base-elevation);\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(131, 151, 160);\n box-shadow: var(--shadow-focus);\n}\n\n.YhserUiOeFE-:not(:focus-within) input {\n color: var(--field--background-color);\n -webkit-text-fill-color: var(--field--background-color);\n}\n\n.YhserUiOeFE-:focus-within,\n.UIZq8hTmJVU- {\n --field--placeholder-color: var(--color-text--secondary);\n --field--placeholder-offset: var(--space-smallest);\n --field--placeholder-transform: 0;\n --field--padding-top: calc(var(--space-base) + var(--space-smaller));\n --field--padding-bottom: var(--space-small);\n}\n\n.YhserUiOeFE-.Ku8sWS0mLew-:focus-within,\n.UIZq8hTmJVU-.Ku8sWS0mLew- {\n --field--padding-top: calc(var(--space-large) + var(--space-smaller));\n}\n\n.nPGhTEEzsoU-.mgPacJ6Z71Y- {\n --field--placeholder-offset: 0;\n --field--placeholder-transform: 0;\n height: auto;\n min-height: auto;\n}\n\n.gJ-15M615eY-,\n.gJ-15M615eY-:focus-within {\n --field--border-color: var(--color-critical);\n position: relative;\n}\n\n._1rsTLm5GwcM- {\n --field--placeholder-color: var(--color-disabled);\n --field--value-color: var(--color-disabled);\n --field--background-color: var(--color-surface--background);\n --field--border-color: var(--color-disabled--secondary);\n}\n\n/* override iOS default styling for disabled input */\n\n._1rsTLm5GwcM- :disabled {\n -webkit-text-fill-color: rgb(1, 40, 55);\n -webkit-text-fill-color: var(--field--value-color);\n opacity: 1;\n}\n\n.o8D-H-lKfDk- {\n --field--padding-left: calc(var(--space-base) - var(--space-smaller));\n --field--padding-right: calc(var(--space-base) - var(--space-smaller));\n --field--padding-top: var(--space-small);\n --field--padding-bottom: var(--space-small);\n --field--height: calc(var(--space-larger) + var(--space-smaller));\n}\n\n.Ku8sWS0mLew- {\n --field--padding-left: var(--space-large);\n --field--padding-right: var(--space-large);\n --field--height: calc(var(--space-extravagant));\n}\n\n._5Hu2F3cBvng- {\n display: inline-block;\n width: auto;\n}\n\n.s1WLQs6ffD8- {\n --field--textAlign: center;\n}\n\n.a2r4QheWYIA- {\n --field--textAlign: right;\n}\n\n/**\n * The custom property --formField-maxLength is getting defined inside the\n * component.\n */\n\n.KdAnXK1gClo- {\n width: calc(\n (16px * var(--formField-maxLength)) + var(--field--padding-left) +\n var(--field--padding-right)\n );\n width: calc(\n (var(--base-unit) * var(--formField-maxLength)) + var(--field--padding-left) +\n var(--field--padding-right)\n );\n}\n\n/**\n * Input Wrapper\n **/\n\n.iQFhpFYnz-8- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex: 1;\n flex: 1;\n position: relative;\n /* Ensure input stays with the rest of the element stack */\n z-index: 0;\n z-index: var(--elevation-default);\n}\n\n.Yo2Wi9dpa-Y- {\n position: relative;\n -ms-flex: 1;\n flex: 1;\n}\n\n/**\n * Input\n **/\n\n.LSHPV7PwOTg- {\n position: relative;\n z-index: var(--field--base-elevation);\n width: 100%;\n height: 100%;\n padding-top: var(--field--padding-top);\n padding-bottom: var(--field--padding-bottom);\n padding-left: var(--field--padding-left);\n padding-right: var(--field--padding-right);\n border: none;\n border-radius: 0;\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n line-height: var(--field--value-lineHeight);\n text-align: var(--field--textAlign);\n background: transparent;\n -webkit-appearance: none;\n appearance: none;\n}\n\n.LSHPV7PwOTg-:focus {\n outline: none;\n}\n\n.mgPacJ6Z71Y- .LSHPV7PwOTg- {\n resize: vertical;\n}\n\n.i31GQXcMz54- .LSHPV7PwOTg- {\n z-index: var(--field--label-elevation);\n}\n\n.LSHPV7PwOTg-:-webkit-autofill,\n.LSHPV7PwOTg-:-webkit-autofill:hover,\n.LSHPV7PwOTg-:-webkit-autofill:focus,\n.LSHPV7PwOTg-:-webkit-autofill:active {\n -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 1) inset !important;\n -webkit-box-shadow: 0 0 0 30px var(--color-surface) inset !important;\n}\n\n/**\n * Label\n **/\n\n._3xREbTN5pPg- {\n position: absolute;\n top: var(--field--placeholder-offset);\n z-index: var(--field--label-elevation);\n width: 100%;\n padding-left: var(--field--padding-left);\n padding-right: var(--field--padding-right);\n overflow: hidden;\n color: rgb(147, 161, 169);\n color: var(--field--placeholder-color);\n line-height: var(--field--value-lineHeight);\n text-align: var(--field--textAlign);\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: none;\n -webkit-transform: translateY(var(--field--placeholder-transform));\n transform: translateY(var(--field--placeholder-transform));\n transition: all 100ms;\n transition: all var(--timing-quick);\n}\n\n.mgPacJ6Z71Y- ._3xREbTN5pPg- {\n /* Changes the width so that the scrollbar on the textarea doesn't get cut off */\n width: calc(100% - var(--field--padding-right));\n padding-top: var(--field--padding-top);\n /* Remove padding on right to make use of the entire width */\n padding-right: 0;\n -webkit-transform: translateY(var(--field--placeholder-transform));\n transform: translateY(var(--field--placeholder-transform));\n}\n\n.UIZq8hTmJVU- ._3xREbTN5pPg-,\n.YhserUiOeFE-:focus-within ._3xREbTN5pPg- {\n font-size: calc((16px * 1) * 0.75);\n font-size: calc(calc(16px * 1) * 0.75);\n font-size: var(--typography--fontSize-small);\n}\n\n.mgPacJ6Z71Y-.UIZq8hTmJVU- ._3xREbTN5pPg- {\n padding-top: calc(16px / 8);\n padding-top: var(--space-smallest);\n background-color: var(--field--background-color);\n}\n\n.o8D-H-lKfDk-.UIZq8hTmJVU- ._3xREbTN5pPg-,\n.YhserUiOeFE-.o8D-H-lKfDk-.UIZq8hTmJVU-:focus-within ._3xREbTN5pPg- {\n display: none;\n}\n\n/**This is valid cascading order **/\n\n/* stylelint-disable-next-line no-descending-specificity */\n\n.Ku8sWS0mLew-.UIZq8hTmJVU- ._3xREbTN5pPg-,\n.YhserUiOeFE-.Ku8sWS0mLew-.UIZq8hTmJVU-:focus-within ._3xREbTN5pPg- {\n padding-top: calc(16px / 2);\n padding-top: var(--space-small);\n}\n\n/**\n * Postfix\n **/\n\n.VtnAk1HYMMk- {\n position: absolute;\n top: 50%;\n right: calc(16px * 1);\n right: var(--space-base);\n z-index: var(--field--postfix-elevation);\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n\n/**\n * Affix\n **/\n\n.uPLklxvtfJw- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 0 calc(var(--field--padding-left) * -1) 0 0;\n padding: 0 var(--field--padding-right) 0 var(--field--padding-left);\n}\n\n@supports (aspect-ratio: 1/1) {\n .uPLklxvtfJw- {\n /*\n * disabling property-no-unknown here as this is a real property\n * that stylelint just doesn't know about. We may be able to remove\n * this when we update our stylelint to not care about IE11.\n */\n /* stylelint-disable-next-line property-no-unknown */\n aspect-ratio: 1/1;\n padding: 0;\n }\n}\n\n.uPLklxvtfJw-.pYqqDvv57JE- {\n margin: 0 0 0 calc(var(--field--padding-right) * -1);\n}\n\n.uPLklxvtfJw-.eI44oQpuVlk- {\n position: relative;\n z-index: var(--field--postfix-action-elevation);\n}\n\n.jO8P2iSHilM- {\n display: -ms-flexbox;\n display: flex;\n margin: 0 calc((var(--field--padding-left) - calc(16px / 8)) * -1) 0 0;\n margin: 0 calc((var(--field--padding-left) - var(--space-smallest)) * -1) 0 0;\n padding: 0 0 0 var(--field--padding-left);\n line-height: var(--field--value-lineHeight);\n -ms-flex-align: center;\n align-items: center;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n\n.jO8P2iSHilM-.pYqqDvv57JE- {\n margin: 0 0 0 calc((var(--field--padding-left) - calc(16px / 8)) * -1);\n margin: 0 0 0 calc((var(--field--padding-left) - var(--space-smallest)) * -1);\n padding: 0 var(--field--padding-left) 0 0;\n}\n\n.UIZq8hTmJVU-:not(.o8D-H-lKfDk-) .jO8P2iSHilM- {\n padding-top: var(--field--padding-top);\n padding-bottom: var(--field--padding-bottom);\n}\n\n._2GfgzNnLOSI- {\n margin-top: calc(16px / 4);\n margin-top: var(--space-smaller);\n}\n";
|
|
21
|
-
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-"};
|
|
22
|
-
styleInject_es.styleInject(css_248z$1);
|
|
23
|
-
|
|
24
|
-
function AffixLabel({ label, variation = "prefix", labelRef, }) {
|
|
25
|
-
const affixLabelClass = classnames__default["default"](styles$1.affixLabel, {
|
|
26
|
-
[styles$1.suffix]: variation === "suffix",
|
|
27
|
-
});
|
|
28
|
-
return (React__default["default"].createElement("div", { ref: labelRef, className: affixLabelClass }, label));
|
|
29
|
-
}
|
|
30
|
-
function AffixIcon({ icon, onClick, ariaLabel, variation = "prefix", size, }) {
|
|
31
|
-
const affixIconClass = classnames__default["default"](styles$1.affixIcon, {
|
|
32
|
-
[styles$1.suffix]: variation === "suffix",
|
|
33
|
-
[styles$1.hasAction]: onClick,
|
|
34
|
-
});
|
|
35
|
-
const iconSize = size === "small" ? "small" : "base";
|
|
36
|
-
if (!icon)
|
|
37
|
-
return React__default["default"].createElement(React__default["default"].Fragment, null);
|
|
38
|
-
return (React__default["default"].createElement("div", { className: affixIconClass }, onClick ? (React__default["default"].createElement(Button.Button
|
|
39
|
-
/**
|
|
40
|
-
* We can cast the ariaLabel here as a `Suffix`
|
|
41
|
-
* requires an ariaLabel if there is an action
|
|
42
|
-
*/
|
|
43
|
-
, {
|
|
44
|
-
/**
|
|
45
|
-
* We can cast the ariaLabel here as a `Suffix`
|
|
46
|
-
* requires an ariaLabel if there is an action
|
|
47
|
-
*/
|
|
48
|
-
ariaLabel: ariaLabel, icon: icon, onClick: onClick, variation: "subtle", type: "tertiary", size: iconSize })) : (React__default["default"].createElement(Icon.Icon, { name: icon, size: iconSize, color: "greyBlue" }))));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function FormFieldDescription({ id, description, }) {
|
|
52
|
-
return (React__default["default"].createElement("div", { id: id, className: styles$1.description },
|
|
53
|
-
React__default["default"].createElement(Text.Text, { size: "small", variation: "subdued" }, description)));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
var css_248z = "._07kZJ5ltI5E- {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n padding-left: calc(16px / 2);\n padding-left: var(--space-small);\n}\n\n.t1fFX8kDJh8- {\n display: -ms-flexbox;\n display: flex;\n position: relative;\n right: calc(16px / 2);\n right: var(--space-small);\n z-index: 1002;\n z-index: var(--elevation-tooltip);\n width: calc(16px * 1.5);\n width: var(--space-large);\n height: calc(16px * 1.5);\n height: var(--space-large);\n padding: 0;\n border: none;\n border-radius: 100%;\n border-radius: var(--radius-circle);\n background-color: rgb(241, 239, 233);\n background-color: var(--color-surface--background);\n cursor: pointer;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n.t1fFX8kDJh8-:focus {\n outline: none;\n}\n\n.t1fFX8kDJh8-:hover,\n.t1fFX8kDJh8-:focus-visible {\n outline: none;\n background-color: rgb(241, 239, 233);\n background-color: var(--color-surface--background);\n}\n\n.t1fFX8kDJh8-:focus-visible {\n box-shadow: 0px 0px 0px calc(16px / 8) rgba(255, 255, 255, 1),\n 0px 0px 0px calc(16px / 4) rgb(131, 151, 160);\n box-shadow: var(--shadow-focus);\n}\n";
|
|
57
|
-
var styles = {"clearContainer":"_07kZJ5ltI5E-","clearInput":"t1fFX8kDJh8-"};
|
|
58
|
-
styleInject_es.styleInject(css_248z);
|
|
59
|
-
|
|
60
|
-
function ClearAction({ onClick }) {
|
|
61
|
-
return (React__default["default"].createElement("div", { className: styles.clearContainer },
|
|
62
|
-
React__default["default"].createElement("button", { className: styles.clearInput, onClick: onClick, type: "button", "aria-label": "Clear input" },
|
|
63
|
-
React__default["default"].createElement(Icon.Icon, { name: "remove", size: "small" }))));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function FormFieldWrapper({ align, description, descriptionIdentifier, placeholder, value, children, invalid, error, size, prefix, suffix, max, maxLength, type, disabled, inline, identifier, clearable, onClear, }) {
|
|
67
|
-
const wrapperClasses = classnames__default["default"](styles$1.wrapper, size && styles$1[size], align && styles$1[align], {
|
|
68
|
-
[styles$1.miniLabel]: (placeholder && value !== "") ||
|
|
69
|
-
(placeholder && type === "select") ||
|
|
70
|
-
// Naively assume that if the the type is tel, it is the InputPhoneNumber
|
|
71
|
-
(placeholder && type === "tel"),
|
|
72
|
-
[styles$1.textarea]: type === "textarea",
|
|
73
|
-
[styles$1.select]: type === "select",
|
|
74
|
-
[styles$1.invalid]: invalid !== null && invalid !== void 0 ? invalid : error,
|
|
75
|
-
[styles$1.disabled]: disabled,
|
|
76
|
-
[styles$1.maxLength]: maxLength,
|
|
77
|
-
[styles$1.timeInputLabel]: placeholder && type === "time" && placeholder && value === "",
|
|
78
|
-
});
|
|
79
|
-
const containerClasses = classnames__default["default"](styles$1.container, {
|
|
80
|
-
[styles$1.inline]: inline,
|
|
81
|
-
});
|
|
82
|
-
const wrapperInlineStyle = {
|
|
83
|
-
["--formField-maxLength"]: maxLength || max,
|
|
84
|
-
};
|
|
85
|
-
const prefixRef = React.useRef();
|
|
86
|
-
const suffixRef = React.useRef();
|
|
87
|
-
const [labelStyle, setLabelStyle] = React.useState({
|
|
88
|
-
paddingLeft: undefined,
|
|
89
|
-
paddingRight: undefined,
|
|
90
|
-
});
|
|
91
|
-
React.useEffect(() => {
|
|
92
|
-
setLabelStyle(getAffixPaddding);
|
|
93
|
-
}, [value]);
|
|
94
|
-
const [focused, setFocused] = React.useState(false);
|
|
95
|
-
const showClear = useShowClear.useShowClear({
|
|
96
|
-
clearable,
|
|
97
|
-
multiline: type === "textarea",
|
|
98
|
-
focused,
|
|
99
|
-
hasValue: Boolean(value),
|
|
100
|
-
disabled,
|
|
101
|
-
});
|
|
102
|
-
return (React__default["default"].createElement("div", { className: containerClasses, onFocus: () => setFocused(true), onBlur: () => setFocused(false) },
|
|
103
|
-
React__default["default"].createElement("div", { className: wrapperClasses, style: wrapperInlineStyle, "data-testid": "Form-Field-Wrapper" },
|
|
104
|
-
(prefix === null || prefix === void 0 ? void 0 : prefix.icon) && React__default["default"].createElement(AffixIcon, Object.assign({}, prefix, { size: size })),
|
|
105
|
-
React__default["default"].createElement("div", { className: styles$1.inputWrapper },
|
|
106
|
-
placeholder && (React__default["default"].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)
|
|
107
|
-
? labelStyle
|
|
108
|
-
: undefined }, placeholder)),
|
|
109
|
-
(prefix === null || prefix === void 0 ? void 0 : prefix.label) && React__default["default"].createElement(AffixLabel, Object.assign({}, prefix, { labelRef: prefixRef })),
|
|
110
|
-
React__default["default"].createElement("div", { className: styles$1.childrenWrapper }, children),
|
|
111
|
-
(suffix === null || suffix === void 0 ? void 0 : suffix.label) && (React__default["default"].createElement(AffixLabel, Object.assign({}, suffix, { labelRef: suffixRef, variation: "suffix" })))),
|
|
112
|
-
showClear && React__default["default"].createElement(ClearAction, { onClick: onClear }),
|
|
113
|
-
(suffix === null || suffix === void 0 ? void 0 : suffix.icon) && (React__default["default"].createElement(AffixIcon, Object.assign({}, suffix, { variation: "suffix", size: size })))),
|
|
114
|
-
description && !inline && (React__default["default"].createElement(FormFieldDescription, { id: descriptionIdentifier, description: description })),
|
|
115
|
-
error && !inline && React__default["default"].createElement(InputValidation.InputValidation, { message: error })));
|
|
116
|
-
function getAffixPaddding() {
|
|
117
|
-
const hasValue = value !== "";
|
|
118
|
-
const newPadding = {
|
|
119
|
-
paddingLeft: undefined,
|
|
120
|
-
paddingRight: undefined,
|
|
121
|
-
};
|
|
122
|
-
// Naively assume that if the the type is tel, it is the InputPhoneNumber
|
|
123
|
-
if (type === "tel")
|
|
124
|
-
return newPadding;
|
|
125
|
-
if ((prefixRef === null || prefixRef === void 0 ? void 0 : prefixRef.current) && !hasValue) {
|
|
126
|
-
const { offsetWidth } = prefixRef.current;
|
|
127
|
-
newPadding.paddingLeft = offset(offsetWidth);
|
|
128
|
-
}
|
|
129
|
-
if ((suffixRef === null || suffixRef === void 0 ? void 0 : suffixRef.current) && !hasValue) {
|
|
130
|
-
const { offsetWidth } = suffixRef.current;
|
|
131
|
-
newPadding.paddingRight = offset(offsetWidth);
|
|
132
|
-
}
|
|
133
|
-
function offset(width) {
|
|
134
|
-
return `calc(${width}px + var(--space-smallest)`;
|
|
135
|
-
}
|
|
136
|
-
return newPadding;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
function FormFieldPostFix({ variation }) {
|
|
141
|
-
return (React__default["default"].createElement("span", { className: styles$1.postfix }, variation === "select" ? (React__default["default"].createElement(Icon.Icon, { name: "arrowDown" })) : (React__default["default"].createElement(Spinner.Spinner, { size: "small" }))));
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// Added 13th statement to accommodate getErrorMessage function
|
|
145
|
-
/*eslint max-statements: ["error", 13]*/
|
|
146
|
-
function FormField(props) {
|
|
147
|
-
var _a, _b;
|
|
148
|
-
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;
|
|
149
|
-
const { control, formState: { errors }, setValue, watch, } = reactHookForm.useFormContext() != undefined
|
|
150
|
-
? reactHookForm.useFormContext()
|
|
151
|
-
: // If there isn't a Form Context being provided, get a form for this field.
|
|
152
|
-
reactHookForm.useForm({ mode: "onTouched" });
|
|
153
|
-
const [identifier] = React.useState(React.useId());
|
|
154
|
-
const [descriptionIdentifier] = React.useState(`descriptionUUID--${React.useId()}`);
|
|
155
|
-
/**
|
|
156
|
-
* Generate a name if one is not supplied, this is the name
|
|
157
|
-
* that will be used for react-hook-form and not neccessarily
|
|
158
|
-
* attached to the DOM
|
|
159
|
-
*/
|
|
160
|
-
const [controlledName] = React.useState(name ? name : `generatedName--${identifier}`);
|
|
161
|
-
React.useEffect(() => {
|
|
162
|
-
if (value != undefined) {
|
|
163
|
-
setValue(controlledName, value);
|
|
164
|
-
}
|
|
165
|
-
}, [value, watch(controlledName)]);
|
|
166
|
-
React.useImperativeHandle(actionsRef, () => ({
|
|
167
|
-
setValue: newValue => {
|
|
168
|
-
setValue(controlledName, newValue, { shouldValidate: true });
|
|
169
|
-
},
|
|
170
|
-
}));
|
|
171
|
-
const message = (_a = errors[controlledName]) === null || _a === void 0 ? void 0 : _a.message;
|
|
172
|
-
const error = getErrorMessage();
|
|
173
|
-
React.useEffect(() => handleValidation(), [error]);
|
|
174
|
-
return (React__default["default"].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) => {
|
|
175
|
-
var _b = _a.field, { onChange: onControllerChange, onBlur: onControllerBlur, name: controllerName } = _b, rest = tslib_es6.__rest(_b, ["onChange", "onBlur", "name"]);
|
|
176
|
-
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 &&
|
|
177
|
-
!inline && { "aria-describedby": descriptionIdentifier }));
|
|
178
|
-
const textFieldProps = Object.assign(Object.assign({}, fieldProps), { onKeyDown: handleKeyDown });
|
|
179
|
-
return (React__default["default"].createElement(FormFieldWrapper, Object.assign({}, props, { value: rest.value, error: error, identifier: identifier, descriptionIdentifier: descriptionIdentifier, clearable: clearable, onClear: handleClear }), renderField()));
|
|
180
|
-
function renderField() {
|
|
181
|
-
switch (type) {
|
|
182
|
-
case "select":
|
|
183
|
-
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
184
|
-
React__default["default"].createElement("select", Object.assign({}, fieldProps), children),
|
|
185
|
-
React__default["default"].createElement(FormFieldPostFix, { variation: "select" })));
|
|
186
|
-
case "textarea":
|
|
187
|
-
return (React__default["default"].createElement("textarea", Object.assign({}, textFieldProps, { rows: rows, ref: inputRef })));
|
|
188
|
-
default:
|
|
189
|
-
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
190
|
-
React__default["default"].createElement("input", Object.assign({}, textFieldProps, { autoComplete: setAutocomplete(autocomplete), type: type, maxLength: maxLength, max: max, min: min, ref: inputRef, onKeyUp: onKeyUp })),
|
|
191
|
-
loading && React__default["default"].createElement(FormFieldPostFix, { variation: "spinner" }),
|
|
192
|
-
children));
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
function handleClear() {
|
|
196
|
-
var _a;
|
|
197
|
-
handleBlur();
|
|
198
|
-
setValue(controlledName, undefined, { shouldValidate: true });
|
|
199
|
-
onChange && onChange("");
|
|
200
|
-
(_a = inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
201
|
-
}
|
|
202
|
-
function handleChange(event) {
|
|
203
|
-
let newValue;
|
|
204
|
-
newValue = event.currentTarget.value;
|
|
205
|
-
if (type === "number" && newValue.length > 0) {
|
|
206
|
-
newValue = parseFloat(newValue);
|
|
207
|
-
}
|
|
208
|
-
onChange && onChange(newValue, event);
|
|
209
|
-
onControllerChange(event);
|
|
210
|
-
}
|
|
211
|
-
function handleKeyDown(event) {
|
|
212
|
-
if (!onEnter)
|
|
213
|
-
return;
|
|
214
|
-
if (event.key !== "Enter")
|
|
215
|
-
return;
|
|
216
|
-
if (event.shiftKey || event.ctrlKey)
|
|
217
|
-
return;
|
|
218
|
-
event.preventDefault();
|
|
219
|
-
onEnter && onEnter(event);
|
|
220
|
-
}
|
|
221
|
-
function handleFocus(event) {
|
|
222
|
-
const target = event.currentTarget;
|
|
223
|
-
if (target.select) {
|
|
224
|
-
setTimeout(() => readonly && target.select());
|
|
225
|
-
}
|
|
226
|
-
onFocus && onFocus();
|
|
227
|
-
}
|
|
228
|
-
function handleBlur() {
|
|
229
|
-
onBlur && onBlur();
|
|
230
|
-
onControllerBlur();
|
|
231
|
-
}
|
|
232
|
-
} }));
|
|
233
|
-
function getErrorMessage() {
|
|
234
|
-
if (typeof message === "string") {
|
|
235
|
-
return message;
|
|
236
|
-
}
|
|
237
|
-
return "";
|
|
238
|
-
}
|
|
239
|
-
function handleValidation() {
|
|
240
|
-
onValidation && onValidation(error);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
function setAutocomplete(autocompleteSetting) {
|
|
244
|
-
if (autocompleteSetting === true) {
|
|
245
|
-
return undefined;
|
|
246
|
-
}
|
|
247
|
-
else if (autocompleteSetting === false) {
|
|
248
|
-
return "off";
|
|
249
|
-
}
|
|
250
|
-
return autocompleteSetting;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
exports.FormField = FormField;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classnames = require('classnames');
|
|
7
|
-
var styleInject_es = require('../style-inject.es-9d2f5f4e.js');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
-
var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
|
|
13
|
-
|
|
14
|
-
var css_248z = ".Cr7OFSgq9WA- {\n font-style: normal;\n}\n";
|
|
15
|
-
var styles = {"email":"Cr7OFSgq9WA-"};
|
|
16
|
-
styleInject_es.styleInject(css_248z);
|
|
17
|
-
|
|
18
|
-
function FormatEmail({ email }) {
|
|
19
|
-
const className = classnames__default["default"](styles.email);
|
|
20
|
-
return React__default["default"].createElement("address", { className: className }, email);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.FormatEmail = FormatEmail;
|
package/dist/FormatFile/index.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var FormatFile = require('../FormatFile-7e432b0d.js');
|
|
6
|
-
require('react');
|
|
7
|
-
require('classnames');
|
|
8
|
-
require('filesize');
|
|
9
|
-
require('../style-inject.es-9d2f5f4e.js');
|
|
10
|
-
require('../Button-bb77a513.js');
|
|
11
|
-
require('react-router-dom');
|
|
12
|
-
require('../Icon-405a216c.js');
|
|
13
|
-
require('@jobber/design');
|
|
14
|
-
require('../Typography-018e1471.js');
|
|
15
|
-
require('../ConfirmationModal-289df9ad.js');
|
|
16
|
-
require('@jobber/hooks/useOnKeyDown');
|
|
17
|
-
require('../Modal-4f48de3a.js');
|
|
18
|
-
require('react-dom');
|
|
19
|
-
require('framer-motion');
|
|
20
|
-
require('@jobber/hooks/useRefocusOnActivator');
|
|
21
|
-
require('@jobber/hooks/useFocusTrap');
|
|
22
|
-
require('../Heading-d025ffbb.js');
|
|
23
|
-
require('../ButtonDismiss-a1df8656.js');
|
|
24
|
-
require('../Content-e3f7b6fc.js');
|
|
25
|
-
require('../Markdown-8150d535.js');
|
|
26
|
-
require('react-markdown');
|
|
27
|
-
require('../Text-fdc65f0b.js');
|
|
28
|
-
require('../Emphasis-2bbe4da6.js');
|
|
29
|
-
require('../Glimmer-156bb2d1.js');
|
|
30
|
-
require('../tslib.es6-754e2961.js');
|
|
31
|
-
require('../ProgressBar-e4bb029e.js');
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
exports.FormatFile = FormatFile.FormatFile;
|