@designcrowd/fe-shared-lib 1.0.0-test-publish
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/.eslintrc.js +35 -0
- package/.prettierrc.js +7 -0
- package/.storybook/main.ts +39 -0
- package/.storybook/preview-head-master.html +4 -0
- package/.storybook/preview-head-publish-master.html +4 -0
- package/.storybook/preview-head-publish.html +10 -0
- package/.storybook/preview-head.html +10 -0
- package/.storybook/preview.js +14 -0
- package/.storybook-static/assets/Auth-Cog6hw8U.css +1 -0
- package/.storybook-static/assets/Auth.stories-ChzrCEEO.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-BVFzTQgj.js +73 -0
- package/.storybook-static/assets/Button-C9BkIo_w.js +1 -0
- package/.storybook-static/assets/Button-Dt0lL0uX.css +1 -0
- package/.storybook-static/assets/ButtonGroup-JjgCZ8Bt.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-C_pSNuPs.js +494 -0
- package/.storybook-static/assets/ButtonPrimary-BD3XC-26.js +1 -0
- package/.storybook-static/assets/ButtonPrimary-CFNYtrCi.css +1 -0
- package/.storybook-static/assets/Buttons.stories-BCz47Kev.js +699 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-Cr8IrzcL.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-CL6A4kGP.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-0nRBCAZo.js +161 -0
- package/.storybook-static/assets/Checktile.stories-BCEogB4v.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-BP-FImZQ.js +39 -0
- package/.storybook-static/assets/Color-RQJUDNI5-DCDdN3vb.js +1 -0
- package/.storybook-static/assets/ColorPicker.stories-vaA-jLow.js +73 -0
- package/.storybook-static/assets/DocsRenderer-K4EAMTCU-Bvtp66Th.js +513 -0
- package/.storybook-static/assets/Dropdown.stories-URhoPzyZ.js +154 -0
- package/.storybook-static/assets/DropdownItem-BQ0eJTHo.css +1 -0
- package/.storybook-static/assets/DropdownItem-DhJH7ViO.js +1 -0
- package/.storybook-static/assets/FormControl.mixin-BBDP7qRp.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-DRXQEHa8.js +64 -0
- package/.storybook-static/assets/HelloBar-DtIRdNgP.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-DC9quWiP.js +342 -0
- package/.storybook-static/assets/Icon-CLd6chSw.js +1 -0
- package/.storybook-static/assets/Icon.stories-CN22t9vh.js +126 -0
- package/.storybook-static/assets/Icon.stories-xBTQr6ZV.js +733 -0
- package/.storybook-static/assets/Loader-CIm9SBxn.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-8SUh_BWV.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-BL9vqKnt.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-CH5CwVl_.js +36 -0
- package/.storybook-static/assets/Masonry-Q4MdMr0_.css +1 -0
- package/.storybook-static/assets/Masonry.stories-BNS1SkB3.js +71 -0
- package/.storybook-static/assets/Modal-BLdvoK5M.js +1 -0
- package/.storybook-static/assets/Modal-BnKdpp5L.css +1 -0
- package/.storybook-static/assets/Modal.stories--h84M-r_.js +380 -0
- package/.storybook-static/assets/Notice.stories-Dcrjykoh.js +222 -0
- package/.storybook-static/assets/NumberStepper.stories-CJc109aH.js +48 -0
- package/.storybook-static/assets/PaymentConfigList.stories-DNm4Lvvk.js +126 -0
- package/.storybook-static/assets/Picture-zuMOWzvt.js +1 -0
- package/.storybook-static/assets/Picture.stories-DdhMmLEh.js +119 -0
- package/.storybook-static/assets/Pill-C7qxntuo.js +1 -0
- package/.storybook-static/assets/Pill.stories-CRIlio0a.js +18 -0
- package/.storybook-static/assets/PillBar-BeJSf_Pk.css +1 -0
- package/.storybook-static/assets/PillBar.stories-C5hh4cri.js +41 -0
- package/.storybook-static/assets/Price-C2LQcwTh.js +1 -0
- package/.storybook-static/assets/Price.stories-_55T9bgL.js +221 -0
- package/.storybook-static/assets/PublishBrandPageModal-BOGSPjB0.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-RjwyGq84.js +349 -0
- package/.storybook-static/assets/SearchBar.stories-C2rpvDPE.js +12 -0
- package/.storybook-static/assets/Select-NfSykZpz.css +1 -0
- package/.storybook-static/assets/Select.stories-DzvEsBf4.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-PFmHb8L4.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-geQc7R-K.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DqoSMxKs.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-BC9dwpco.js +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-Dtf2vM3k.css +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-CdmFjQux.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-H41Js9un.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-CSH2m1ht.js +36 -0
- package/.storybook-static/assets/SignIn-BWJ8nG_4.js +1 -0
- package/.storybook-static/assets/SignIn-Dp4SZqnm.css +1 -0
- package/.storybook-static/assets/Slider-CQ7DbC3q.css +1 -0
- package/.storybook-static/assets/Slider.stories-Soa4tvwi.js +129 -0
- package/.storybook-static/assets/StarRating-BRQqs_py.css +1 -0
- package/.storybook-static/assets/StarRating.stories-Bbx4rxr_.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-B4pbxmGz.js +47 -0
- package/.storybook-static/assets/TextCopyField-BYUCKh4x.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-D1kvx6hJ.js +47 -0
- package/.storybook-static/assets/TextInput-AbeV01jN.js +1 -0
- package/.storybook-static/assets/TextInput.stories-BdFmduiV.js +233 -0
- package/.storybook-static/assets/Textarea.stories-YWHlLp1e.js +207 -0
- package/.storybook-static/assets/Toggle.stories-DL8X0gl8.js +161 -0
- package/.storybook-static/assets/Tooltip-BHf5qq0n.css +1 -0
- package/.storybook-static/assets/Tooltip.stories-CxaxsFXA.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-CeFWp7qz.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Bw3p2gdb.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-BZeSfjIk.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-BmhC3n1M.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-bs059Co-.js +35 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-BISC5ELm.js +79 -0
- package/.storybook-static/assets/WithTooltip-Y7J54OF7-ConbuPqs.js +1 -0
- package/.storybook-static/assets/_commonjsHelpers-BosuxZz1.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-CeoKsdFO.js +30 -0
- package/.storybook-static/assets/axios-dxcvQi4N.js +6 -0
- package/.storybook-static/assets/brand-crowd-api.client-CfTgrTzo.js +1 -0
- package/.storybook-static/assets/carousel-B0jomWUs.css +1 -0
- package/.storybook-static/assets/carousel.stories-CdEzrRrP.js +374 -0
- package/.storybook-static/assets/entry-preview-docs-Dk-WIil3.js +14 -0
- package/.storybook-static/assets/entry-preview-y6pzYfUQ.js +1 -0
- package/.storybook-static/assets/event-constants-6ydiL1p5.js +1 -0
- package/.storybook-static/assets/formatter-B5HCVTEV-C39tdgDq.js +58 -0
- package/.storybook-static/assets/iframe-CaInkaFx.js +7 -0
- package/.storybook-static/assets/index-BqKh95Lf.js +24 -0
- package/.storybook-static/assets/index-BwDkhjyp.js +9 -0
- package/.storybook-static/assets/index-D-8MO0q_.js +1 -0
- package/.storybook-static/assets/index-DK28puIS.js +3 -0
- package/.storybook-static/assets/index-DlpNa54Y.js +1 -0
- package/.storybook-static/assets/index-DrFu-skq.js +6 -0
- package/.storybook-static/assets/preview-B4GcaC1c.js +1 -0
- package/.storybook-static/assets/preview-BAymYkVd.js +7 -0
- package/.storybook-static/assets/preview-BAz7FMXc.js +396 -0
- package/.storybook-static/assets/preview-BJPLiuSt.js +1 -0
- package/.storybook-static/assets/preview-CBGjgnh2.js +1 -0
- package/.storybook-static/assets/preview-Cv3rAi2i.js +7 -0
- package/.storybook-static/assets/preview-CwqMn10d.js +20 -0
- package/.storybook-static/assets/preview-DF-d5FoE.js +1 -0
- package/.storybook-static/assets/preview-Db4Idchh.js +1 -0
- package/.storybook-static/assets/preview-DyKfdery.js +7 -0
- package/.storybook-static/assets/preview-G-5UVXmd.js +1 -0
- package/.storybook-static/assets/syntaxhighlighter-JOJW2KGS-D64iC1CN.js +1 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/assets/vue.esm-bundler-BuzEyh6o.js +47 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +1931 -0
- package/.storybook-static/css/tailwind-brandPage.css +1619 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +1931 -0
- package/.storybook-static/css/tailwind-designCom.css +1931 -0
- package/.storybook-static/css/tailwind-designCrowd.css +1931 -0
- package/.storybook-static/favicon.svg +7 -0
- package/.storybook-static/iframe.html +501 -0
- package/.storybook-static/index.html +163 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/actions-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/controls-3/manager-bundle.js +60 -0
- package/.storybook-static/sb-addons/controls-3/manager-bundle.js.LEGAL.txt +18 -0
- package/.storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/.storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/links-9/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/links-9/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-addons/themes-10/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/themes-10/manager-bundle.js.LEGAL.txt +0 -0
- package/.storybook-static/sb-common-assets/fonts.css +31 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/WithTooltip-Y7J54OF7-3AIPQNGM.js +1 -0
- package/.storybook-static/sb-manager/chunk-KCJCJECS.js +234 -0
- package/.storybook-static/sb-manager/chunk-TZAR34JC.js +6 -0
- package/.storybook-static/sb-manager/chunk-UOBNU442.js +347 -0
- package/.storybook-static/sb-manager/chunk-VCJ56UEM.js +183 -0
- package/.storybook-static/sb-manager/chunk-VMGB76WP.js +9 -0
- package/.storybook-static/sb-manager/chunk-XP3HGWTR.js +1 -0
- package/.storybook-static/sb-manager/formatter-B5HCVTEV-7DCBOGO6.js +58 -0
- package/.storybook-static/sb-manager/globals-module-info.js +1 -0
- package/.storybook-static/sb-manager/globals-runtime.js +1 -0
- package/.storybook-static/sb-manager/globals.js +1 -0
- package/.storybook-static/sb-manager/index.js +1 -0
- package/.storybook-static/sb-manager/runtime.js +1 -0
- package/.storybook-static/sb-manager/syntaxhighlighter-JOJW2KGS-7BF26SBB.js +1 -0
- package/.storybook-static/sb-preview/globals.js +1 -0
- package/.storybook-static/sb-preview/runtime.js +128 -0
- package/Dockerfile +41 -0
- package/README.md +108 -0
- package/buildspec.yml +46 -0
- package/dist/css/tailwind-brandCrowd.css +2419 -0
- package/dist/css/tailwind-brandPage.css +2107 -0
- package/dist/css/tailwind-crazyDomains.css +2419 -0
- package/dist/css/tailwind-designCom.css +2419 -0
- package/dist/css/tailwind-designCrowd.css +2419 -0
- package/index.cjs +17 -0
- package/index.js +53 -0
- package/npmrc +1 -0
- package/package.json +109 -0
- package/postcss.config.js +5 -0
- package/public/css/tailwind-brandCrowd.css +2344 -0
- package/public/css/tailwind-brandPage.css +2032 -0
- package/public/css/tailwind-crazyDomains.css +2344 -0
- package/public/css/tailwind-designCom.css +2344 -0
- package/public/css/tailwind-designCrowd.css +2344 -0
- package/src/atoms/components/Button/Button.vue +323 -0
- package/src/atoms/components/Button/ButtonVariant.mixin.vue +126 -0
- package/src/atoms/components/Button/Buttons.stories.js +778 -0
- package/src/atoms/components/Button/ButtonsCrazyDomains.stories.js +117 -0
- package/src/atoms/components/Button/variants/ButtonDarkModePill.vue +52 -0
- package/src/atoms/components/Button/variants/ButtonFlat.vue +65 -0
- package/src/atoms/components/Button/variants/ButtonGray.vue +64 -0
- package/src/atoms/components/Button/variants/ButtonInfo.vue +51 -0
- package/src/atoms/components/Button/variants/ButtonInfoFilled.vue +63 -0
- package/src/atoms/components/Button/variants/ButtonNoBorder.vue +65 -0
- package/src/atoms/components/Button/variants/ButtonOutline.vue +62 -0
- package/src/atoms/components/Button/variants/ButtonOutlineNoHover.vue +62 -0
- package/src/atoms/components/Button/variants/ButtonOutlineSuccess.vue +54 -0
- package/src/atoms/components/Button/variants/ButtonPill.vue +52 -0
- package/src/atoms/components/Button/variants/ButtonPrimary.vue +69 -0
- package/src/atoms/components/Button/variants/ButtonPrimaryWithIcon.vue +68 -0
- package/src/atoms/components/Button/variants/ButtonSecondary.vue +51 -0
- package/src/atoms/components/Button/variants/ButtonSuccess.vue +55 -0
- package/src/atoms/components/Button/variants/ButtonWarning.vue +65 -0
- package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsOutline.vue +58 -0
- package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsPrimary.vue +38 -0
- package/src/atoms/components/ButtonGroup/ButtonGroup.stories.js +562 -0
- package/src/atoms/components/ButtonGroup/ButtonGroup.vue +188 -0
- package/src/atoms/components/Carousel/Carousel.fixtures.js +35 -0
- package/src/atoms/components/Carousel/Carousel.vue +352 -0
- package/src/atoms/components/Carousel/carousel.stories.js +261 -0
- package/src/atoms/components/Checkbox/Checkbox.mixin.js +47 -0
- package/src/atoms/components/Checkbox/Checkbox.stories.js +176 -0
- package/src/atoms/components/Checkbox/Checkbox.vue +88 -0
- package/src/atoms/components/Checktile/Checktile.stories.js +79 -0
- package/src/atoms/components/Checktile/Checktile.vue +73 -0
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.mixin.js +34 -0
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.stories.js +40 -0
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.vue +30 -0
- package/src/atoms/components/ColorPicker/ColorPicker.stories.js +89 -0
- package/src/atoms/components/ColorPicker/ColorPicker.vue +95 -0
- package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.stories.js +41 -0
- package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.vue +71 -0
- package/src/atoms/components/Dropdown/Dropdown.stories.js +135 -0
- package/src/atoms/components/Dropdown/Dropdown.vue +91 -0
- package/src/atoms/components/Dropdown/DropdownItem.vue +19 -0
- package/src/atoms/components/FormControl/FormControl.mixin.js +127 -0
- package/src/atoms/components/HelloBar/HelloBar.stories.js +195 -0
- package/src/atoms/components/HelloBar/HelloBar.vue +156 -0
- package/src/atoms/components/Icon/Icon.stories.js +382 -0
- package/src/atoms/components/Icon/Icon.vue +796 -0
- package/src/atoms/components/Icon/icons/about.vue +6 -0
- package/src/atoms/components/Icon/icons/add-page.vue +6 -0
- package/src/atoms/components/Icon/icons/ai.vue +6 -0
- package/src/atoms/components/Icon/icons/arrow-down.vue +6 -0
- package/src/atoms/components/Icon/icons/arrow-left.vue +7 -0
- package/src/atoms/components/Icon/icons/arrow-right.vue +7 -0
- package/src/atoms/components/Icon/icons/arrow-top-right.vue +6 -0
- package/src/atoms/components/Icon/icons/arrow-up-underline.vue +7 -0
- package/src/atoms/components/Icon/icons/arrow-up.vue +7 -0
- package/src/atoms/components/Icon/icons/attach.vue +6 -0
- package/src/atoms/components/Icon/icons/auth-facebook-white.vue +17 -0
- package/src/atoms/components/Icon/icons/auth-facebook.vue +24 -0
- package/src/atoms/components/Icon/icons/auth-google.vue +32 -0
- package/src/atoms/components/Icon/icons/background.vue +7 -0
- package/src/atoms/components/Icon/icons/ban.vue +5 -0
- package/src/atoms/components/Icon/icons/banner-centered.vue +6 -0
- package/src/atoms/components/Icon/icons/banner-left.vue +6 -0
- package/src/atoms/components/Icon/icons/banner.vue +7 -0
- package/src/atoms/components/Icon/icons/bc-mast.vue +7 -0
- package/src/atoms/components/Icon/icons/brush.vue +6 -0
- package/src/atoms/components/Icon/icons/business-card-filled.vue +5 -0
- package/src/atoms/components/Icon/icons/business.vue +6 -0
- package/src/atoms/components/Icon/icons/button-justified.vue +6 -0
- package/src/atoms/components/Icon/icons/button.vue +8 -0
- package/src/atoms/components/Icon/icons/buttons/button-arrow-left.vue +5 -0
- package/src/atoms/components/Icon/icons/buttons/button-arrow-right.vue +5 -0
- package/src/atoms/components/Icon/icons/buttons/button-arrow.vue +5 -0
- package/src/atoms/components/Icon/icons/buttons/button-brushstroke-left.vue +7 -0
- package/src/atoms/components/Icon/icons/buttons/button-brushstroke-right.vue +7 -0
- package/src/atoms/components/Icon/icons/buttons/button-brushstroke.vue +10 -0
- package/src/atoms/components/Icon/icons/buttons/button-dashed-oval.vue +5 -0
- package/src/atoms/components/Icon/icons/buttons/button-dashed-rectangle.vue +5 -0
- package/src/atoms/components/Icon/icons/buttons/button-dashed-rounded.vue +5 -0
- package/src/atoms/components/Icon/icons/buttons/button-doubleline-oval.vue +12 -0
- package/src/atoms/components/Icon/icons/buttons/button-doubleline-rectangle.vue +6 -0
- package/src/atoms/components/Icon/icons/buttons/button-doubleline-rounded.vue +12 -0
- package/src/atoms/components/Icon/icons/buttons/button-paper-bottom.vue +7 -0
- package/src/atoms/components/Icon/icons/buttons/button-paper-top.vue +7 -0
- package/src/atoms/components/Icon/icons/buttons/button-paper.vue +25 -0
- package/src/atoms/components/Icon/icons/buttons/button-softshadow-oval.vue +35 -0
- package/src/atoms/components/Icon/icons/buttons/button-softshadow-rectangle.vue +32 -0
- package/src/atoms/components/Icon/icons/buttons/button-softshadow-rounded.vue +35 -0
- package/src/atoms/components/Icon/icons/calendar.vue +5 -0
- package/src/atoms/components/Icon/icons/callout-error.vue +6 -0
- package/src/atoms/components/Icon/icons/callout-info.vue +6 -0
- package/src/atoms/components/Icon/icons/callout-success.vue +8 -0
- package/src/atoms/components/Icon/icons/callout-warning.vue +6 -0
- package/src/atoms/components/Icon/icons/card.vue +9 -0
- package/src/atoms/components/Icon/icons/check-thin.vue +7 -0
- package/src/atoms/components/Icon/icons/check.vue +3 -0
- package/src/atoms/components/Icon/icons/chevron-down.vue +7 -0
- package/src/atoms/components/Icon/icons/chevron-left.vue +7 -0
- package/src/atoms/components/Icon/icons/chevron-right-wide.vue +3 -0
- package/src/atoms/components/Icon/icons/chevron-right.vue +3 -0
- package/src/atoms/components/Icon/icons/chevron-up.vue +7 -0
- package/src/atoms/components/Icon/icons/close.vue +6 -0
- package/src/atoms/components/Icon/icons/column-1.vue +5 -0
- package/src/atoms/components/Icon/icons/column-2.vue +6 -0
- package/src/atoms/components/Icon/icons/column-3.vue +7 -0
- package/src/atoms/components/Icon/icons/column-4.vue +8 -0
- package/src/atoms/components/Icon/icons/community.vue +5 -0
- package/src/atoms/components/Icon/icons/contact-message.vue +10 -0
- package/src/atoms/components/Icon/icons/content.vue +7 -0
- package/src/atoms/components/Icon/icons/copy.vue +10 -0
- package/src/atoms/components/Icon/icons/crazy-domains/filter.vue +6 -0
- package/src/atoms/components/Icon/icons/crazy-domains/globe.vue +6 -0
- package/src/atoms/components/Icon/icons/crazy-domains/home.vue +6 -0
- package/src/atoms/components/Icon/icons/crazy-domains/social-facebook.vue +6 -0
- package/src/atoms/components/Icon/icons/crazy-domains/social-google.vue +6 -0
- package/src/atoms/components/Icon/icons/crazy-domains/social-instagram.vue +6 -0
- package/src/atoms/components/Icon/icons/crazy-domains/social-twitter.vue +6 -0
- package/src/atoms/components/Icon/icons/crazy-domains/social-youtube.vue +6 -0
- package/src/atoms/components/Icon/icons/crop.vue +6 -0
- package/src/atoms/components/Icon/icons/delete.vue +8 -0
- package/src/atoms/components/Icon/icons/designs.vue +6 -0
- package/src/atoms/components/Icon/icons/desktop.vue +7 -0
- package/src/atoms/components/Icon/icons/divider-thick.vue +5 -0
- package/src/atoms/components/Icon/icons/divider-thin.vue +5 -0
- package/src/atoms/components/Icon/icons/divider.vue +7 -0
- package/src/atoms/components/Icon/icons/donate.vue +6 -0
- package/src/atoms/components/Icon/icons/download.vue +5 -0
- package/src/atoms/components/Icon/icons/duplicate.vue +6 -0
- package/src/atoms/components/Icon/icons/edit-line.vue +10 -0
- package/src/atoms/components/Icon/icons/edit.vue +6 -0
- package/src/atoms/components/Icon/icons/ellipsis.vue +6 -0
- package/src/atoms/components/Icon/icons/envelope-email.vue +9 -0
- package/src/atoms/components/Icon/icons/error.vue +8 -0
- package/src/atoms/components/Icon/icons/eye-crossed.vue +7 -0
- package/src/atoms/components/Icon/icons/fees.vue +6 -0
- package/src/atoms/components/Icon/icons/filter.vue +7 -0
- package/src/atoms/components/Icon/icons/filters.vue +6 -0
- package/src/atoms/components/Icon/icons/flag.vue +6 -0
- package/src/atoms/components/Icon/icons/flip-horizontal.vue +7 -0
- package/src/atoms/components/Icon/icons/flip-vertical.vue +7 -0
- package/src/atoms/components/Icon/icons/folder.vue +6 -0
- package/src/atoms/components/Icon/icons/footer-centered.vue +7 -0
- package/src/atoms/components/Icon/icons/footer-left.vue +7 -0
- package/src/atoms/components/Icon/icons/form-message.vue +6 -0
- package/src/atoms/components/Icon/icons/form.vue +5 -0
- package/src/atoms/components/Icon/icons/fullscreen-exit.vue +5 -0
- package/src/atoms/components/Icon/icons/fullscreen.vue +5 -0
- package/src/atoms/components/Icon/icons/globe.vue +6 -0
- package/src/atoms/components/Icon/icons/godaddy/logo.vue +5 -0
- package/src/atoms/components/Icon/icons/hamburger-1.vue +13 -0
- package/src/atoms/components/Icon/icons/hamburger-2.vue +9 -0
- package/src/atoms/components/Icon/icons/hamburger-3.vue +9 -0
- package/src/atoms/components/Icon/icons/hamburger-4.vue +21 -0
- package/src/atoms/components/Icon/icons/hamburger.vue +7 -0
- package/src/atoms/components/Icon/icons/home.vue +7 -0
- package/src/atoms/components/Icon/icons/icon-style-circle-bg.vue +22 -0
- package/src/atoms/components/Icon/icons/icon-style-no-bg.vue +16 -0
- package/src/atoms/components/Icon/icons/icon-style-square-bg.vue +22 -0
- package/src/atoms/components/Icon/icons/image-gallery-carousel.vue +7 -0
- package/src/atoms/components/Icon/icons/image-gallery-grid.vue +7 -0
- package/src/atoms/components/Icon/icons/image-gallery-masonry.vue +6 -0
- package/src/atoms/components/Icon/icons/images-gallery.vue +5 -0
- package/src/atoms/components/Icon/icons/images.vue +7 -0
- package/src/atoms/components/Icon/icons/info.vue +9 -0
- package/src/atoms/components/Icon/icons/jobs.vue +8 -0
- package/src/atoms/components/Icon/icons/layer-bring-front.vue +6 -0
- package/src/atoms/components/Icon/icons/layer-send-back.vue +6 -0
- package/src/atoms/components/Icon/icons/layer.vue +6 -0
- package/src/atoms/components/Icon/icons/layout/display-style-about-1.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-about-2.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-about-3.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-about-4.vue +32 -0
- package/src/atoms/components/Icon/icons/layout/display-style-about-5.vue +27 -0
- package/src/atoms/components/Icon/icons/layout/display-style-about-6.vue +27 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-1.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-2.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-3.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-4.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-5.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-6.vue +27 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-7.vue +27 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-8.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-banner-9.vue +20 -0
- package/src/atoms/components/Icon/icons/layout/display-style-contact-1.vue +24 -0
- package/src/atoms/components/Icon/icons/layout/display-style-contact-2.vue +24 -0
- package/src/atoms/components/Icon/icons/layout/display-style-contact-4.vue +24 -0
- package/src/atoms/components/Icon/icons/layout/display-style-contact-5.vue +39 -0
- package/src/atoms/components/Icon/icons/layout/display-style-contact-6.vue +39 -0
- package/src/atoms/components/Icon/icons/layout/display-style-images-1.vue +32 -0
- package/src/atoms/components/Icon/icons/layout/display-style-images-2.vue +32 -0
- package/src/atoms/components/Icon/icons/layout/display-style-images-3.vue +32 -0
- package/src/atoms/components/Icon/icons/layout/display-style-images-4.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/display-style-images-5.vue +40 -0
- package/src/atoms/components/Icon/icons/layout/display-style-images-6.vue +32 -0
- package/src/atoms/components/Icon/icons/layout/footer/display-style-1.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/footer/display-style-2.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-1.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-2.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-1.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-2.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-3.vue +13 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-4.vue +13 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-5.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-6.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-1.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-2.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-3.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-1.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-2.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-3.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-4.vue +21 -0
- package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-1.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-2.vue +17 -0
- package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-1.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-2.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-3.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-small.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-small-text-center-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-bottom.vue +11 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-circle.vue +10 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-top.vue +11 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-center-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-justify-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-left-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-small-text-left-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-center-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-justify-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-right-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-small-text-right-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-small.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-justify-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-small-text-center-normal.vue +7 -0
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-1.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-2.vue +10 -0
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-3.vue +10 -0
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-4.vue +23 -0
- package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-1.vue +16 -0
- package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-2.vue +7 -0
- package/src/atoms/components/Icon/icons/letterhead-filled.vue +5 -0
- package/src/atoms/components/Icon/icons/link.vue +6 -0
- package/src/atoms/components/Icon/icons/location.vue +6 -0
- package/src/atoms/components/Icon/icons/lock.vue +6 -0
- package/src/atoms/components/Icon/icons/mac-command.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/align-center.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/align-justify.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/align-left.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/align-right.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/animate.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/bold.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/custom-landscape.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/email-symbol.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/email.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/eraser.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/etsy.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/facebook.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/favicon.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/flyer.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/gift-certificate.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/globe.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/image.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/instagram.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/invitation.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/invoice.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/italic.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/link.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/linkedin.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/menu.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/pause.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/phone.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/pinterest.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/play.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/postcard.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/poster.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/profile.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/qrcode.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/snapchat.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/soundcloud.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/strikethrough.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/text.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/thankyou-card.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/tiktok.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/tumblr.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/twitch.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/twitter.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/underline.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/uppercase.vue +14 -0
- package/src/atoms/components/Icon/icons/maker/video.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/whatsapp.vue +7 -0
- package/src/atoms/components/Icon/icons/maker/youtube.vue +5 -0
- package/src/atoms/components/Icon/icons/maker/zoom.vue +5 -0
- package/src/atoms/components/Icon/icons/map.vue +6 -0
- package/src/atoms/components/Icon/icons/message.vue +6 -0
- package/src/atoms/components/Icon/icons/minus-circle-light.vue +7 -0
- package/src/atoms/components/Icon/icons/minus.vue +3 -0
- package/src/atoms/components/Icon/icons/mobile.vue +5 -0
- package/src/atoms/components/Icon/icons/opacity.vue +6 -0
- package/src/atoms/components/Icon/icons/other.vue +7 -0
- package/src/atoms/components/Icon/icons/page-buttons.vue +8 -0
- package/src/atoms/components/Icon/icons/page-hamburger.vue +9 -0
- package/src/atoms/components/Icon/icons/page-tabs.vue +9 -0
- package/src/atoms/components/Icon/icons/pages.vue +6 -0
- package/src/atoms/components/Icon/icons/palette.vue +6 -0
- package/src/atoms/components/Icon/icons/pause.vue +5 -0
- package/src/atoms/components/Icon/icons/payment.vue +8 -0
- package/src/atoms/components/Icon/icons/payments-featured.vue +6 -0
- package/src/atoms/components/Icon/icons/payments-textonly.vue +8 -0
- package/src/atoms/components/Icon/icons/payments-thumbnail.vue +9 -0
- package/src/atoms/components/Icon/icons/phone.vue +6 -0
- package/src/atoms/components/Icon/icons/plus-circle-light.vue +8 -0
- package/src/atoms/components/Icon/icons/plus-circle.vue +7 -0
- package/src/atoms/components/Icon/icons/plus.vue +3 -0
- package/src/atoms/components/Icon/icons/poll.vue +3 -0
- package/src/atoms/components/Icon/icons/portfolio.vue +10 -0
- package/src/atoms/components/Icon/icons/preview.vue +6 -0
- package/src/atoms/components/Icon/icons/printing.vue +6 -0
- package/src/atoms/components/Icon/icons/processing.vue +5 -0
- package/src/atoms/components/Icon/icons/question.vue +11 -0
- package/src/atoms/components/Icon/icons/quote.vue +7 -0
- package/src/atoms/components/Icon/icons/ratio-1-1.vue +3 -0
- package/src/atoms/components/Icon/icons/ratio-16-9.vue +1 -0
- package/src/atoms/components/Icon/icons/ratio-2-3.vue +3 -0
- package/src/atoms/components/Icon/icons/ratio-3-2.vue +3 -0
- package/src/atoms/components/Icon/icons/ratio-3-4.vue +3 -0
- package/src/atoms/components/Icon/icons/ratio-4-3.vue +3 -0
- package/src/atoms/components/Icon/icons/ratio-9-16.vue +3 -0
- package/src/atoms/components/Icon/icons/ratio-circle.vue +8 -0
- package/src/atoms/components/Icon/icons/ratio-original.vue +11 -0
- package/src/atoms/components/Icon/icons/redo.vue +6 -0
- package/src/atoms/components/Icon/icons/reload.vue +6 -0
- package/src/atoms/components/Icon/icons/reorderable.vue +5 -0
- package/src/atoms/components/Icon/icons/request-payment.vue +6 -0
- package/src/atoms/components/Icon/icons/reset.vue +6 -0
- package/src/atoms/components/Icon/icons/search.vue +11 -0
- package/src/atoms/components/Icon/icons/secure.vue +7 -0
- package/src/atoms/components/Icon/icons/services.vue +7 -0
- package/src/atoms/components/Icon/icons/settings.vue +7 -0
- package/src/atoms/components/Icon/icons/shape.vue +5 -0
- package/src/atoms/components/Icon/icons/share.vue +8 -0
- package/src/atoms/components/Icon/icons/shop.vue +6 -0
- package/src/atoms/components/Icon/icons/sms.vue +5 -0
- package/src/atoms/components/Icon/icons/social-facebook-color.vue +9 -0
- package/src/atoms/components/Icon/icons/social-facebook.vue +5 -0
- package/src/atoms/components/Icon/icons/social-google.vue +5 -0
- package/src/atoms/components/Icon/icons/social-instagram-color.vue +24 -0
- package/src/atoms/components/Icon/icons/social-linkedin-color.vue +9 -0
- package/src/atoms/components/Icon/icons/social-share.vue +7 -0
- package/src/atoms/components/Icon/icons/social-twitter-color.vue +9 -0
- package/src/atoms/components/Icon/icons/star-filled.vue +6 -0
- package/src/atoms/components/Icon/icons/star-hollow.vue +6 -0
- package/src/atoms/components/Icon/icons/styles.vue +5 -0
- package/src/atoms/components/Icon/icons/submit.vue +5 -0
- package/src/atoms/components/Icon/icons/templates.vue +7 -0
- package/src/atoms/components/Icon/icons/testimonial-big-image.vue +12 -0
- package/src/atoms/components/Icon/icons/testimonial-centered.vue +8 -0
- package/src/atoms/components/Icon/icons/testimonial-columns.vue +9 -0
- package/src/atoms/components/Icon/icons/text-image-center.vue +6 -0
- package/src/atoms/components/Icon/icons/text-image-justified.vue +7 -0
- package/src/atoms/components/Icon/icons/text-image-left.vue +9 -0
- package/src/atoms/components/Icon/icons/text-image-only.vue +5 -0
- package/src/atoms/components/Icon/icons/text-image-right.vue +9 -0
- package/src/atoms/components/Icon/icons/text-image.vue +13 -0
- package/src/atoms/components/Icon/icons/time.vue +8 -0
- package/src/atoms/components/Icon/icons/tooltip-bottom.vue +5 -0
- package/src/atoms/components/Icon/icons/tooltip-left.vue +5 -0
- package/src/atoms/components/Icon/icons/tooltip-right.vue +5 -0
- package/src/atoms/components/Icon/icons/tooltip-top.vue +5 -0
- package/src/atoms/components/Icon/icons/undo.vue +6 -0
- package/src/atoms/components/Icon/icons/upgrade-alt.vue +7 -0
- package/src/atoms/components/Icon/icons/upgrade.vue +9 -0
- package/src/atoms/components/Icon/icons/upload-arrow.vue +6 -0
- package/src/atoms/components/Icon/icons/upload.vue +5 -0
- package/src/atoms/components/Icon/icons/user-accounts.vue +5 -0
- package/src/atoms/components/Icon/icons/volume-muted.vue +5 -0
- package/src/atoms/components/Icon/icons/volume.vue +5 -0
- package/src/atoms/components/Icon/icons/watchlist-filled.vue +14 -0
- package/src/atoms/components/Icon/icons/watchlist-hollow-alt.vue +14 -0
- package/src/atoms/components/Icon/icons/watchlist-hollow.vue +6 -0
- package/src/atoms/components/Icon/icons/website-filled.vue +5 -0
- package/src/atoms/components/Icon/icons/website.vue +6 -0
- package/src/atoms/components/Icon/icons/wholesale.vue +6 -0
- package/src/atoms/components/Icon/icons/zoom.vue +11 -0
- package/src/atoms/components/Loader/Loader.vue +15 -0
- package/src/atoms/components/Masonry/Masonry.stories.js +48 -0
- package/src/atoms/components/Masonry/Masonry.vue +48 -0
- package/src/atoms/components/Masonry/fixtures.js +589 -0
- package/src/atoms/components/Modal/HashRouteModal.stories.js +68 -0
- package/src/atoms/components/Modal/HashRouteModal.vue +120 -0
- package/src/atoms/components/Modal/Modal.stories.js +303 -0
- package/src/atoms/components/Modal/Modal.vue +234 -0
- package/src/atoms/components/Notice/Notice.stories.js +174 -0
- package/src/atoms/components/Notice/Notice.vue +71 -0
- package/src/atoms/components/NumberStepper/NumberStepper.stories.js +47 -0
- package/src/atoms/components/NumberStepper/NumberStepper.vue +282 -0
- package/src/atoms/components/Picture/Picture.stories.js +90 -0
- package/src/atoms/components/Picture/Picture.vue +84 -0
- package/src/atoms/components/Picture/picture.fixtures.js +35 -0
- package/src/atoms/components/Pill/Pill.stories.js +20 -0
- package/src/atoms/components/Pill/Pill.vue +8 -0
- package/src/atoms/components/PillBar/PillBar.fixtures.js +941 -0
- package/src/atoms/components/PillBar/PillBar.stories.js +39 -0
- package/src/atoms/components/PillBar/PillBar.vue +62 -0
- package/src/atoms/components/Price/Price.fixtures.js +25 -0
- package/src/atoms/components/Price/Price.stories.js +173 -0
- package/src/atoms/components/Price/Price.vue +97 -0
- package/src/atoms/components/SearchBar/SearchBar.stories.js +21 -0
- package/src/atoms/components/SearchBar/SearchBar.vue +51 -0
- package/src/atoms/components/Select/Select.stories.js +142 -0
- package/src/atoms/components/Select/Select.vue +583 -0
- package/src/atoms/components/Select/pointerMixin.js +99 -0
- package/src/atoms/components/Select/selectMixin.js +325 -0
- package/src/atoms/components/Slider/Slider.stories.js +127 -0
- package/src/atoms/components/Slider/Slider.vue +322 -0
- package/src/atoms/components/StarRating/StarRating.stories.js +50 -0
- package/src/atoms/components/StarRating/StarRating.vue +84 -0
- package/src/atoms/components/TabMenu/TabMenu.stories.js +54 -0
- package/src/atoms/components/TabMenu/TabMenu.vue +44 -0
- package/src/atoms/components/TextCopyField/TextCopyField.stories.js +68 -0
- package/src/atoms/components/TextCopyField/TextCopyField.vue +75 -0
- package/src/atoms/components/TextInput/TextInput.stories.js +232 -0
- package/src/atoms/components/TextInput/TextInput.vue +156 -0
- package/src/atoms/components/Textarea/Textarea.stories.js +209 -0
- package/src/atoms/components/Textarea/Textarea.vue +109 -0
- package/src/atoms/components/Toggle/Toggle.stories.js +176 -0
- package/src/atoms/components/Toggle/Toggle.vue +69 -0
- package/src/atoms/components/Tooltip/Tooltip.stories.js +493 -0
- package/src/atoms/components/Tooltip/Tooltip.vue +196 -0
- package/src/atoms/components/design-com/Icon/Icon.stories.js +82 -0
- package/src/atoms/components/design-com/Icon/Icon.vue +150 -0
- package/src/atoms/components/design-com/Icon/icons/annotate-heart.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/award.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/bezier-curve.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/bulb.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/card.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/check-circle-light.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/chevron-down.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/chevron-left.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/chevron-right.vue +3 -0
- package/src/atoms/components/design-com/Icon/icons/chevron-up.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/diamond.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/download.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/file-empty.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/file.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/filter.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/font.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/headphones.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/heart.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/image.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/logo.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/minus-circle-light.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/palette.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/pen.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/plus-circle-light.vue +8 -0
- package/src/atoms/components/design-com/Icon/icons/question-circle-filled.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/search.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/star-filled.vue +6 -0
- package/src/atoms/components/design-com/Icon/icons/star-hollow.vue +6 -0
- package/src/atoms/components/design-com/Icon/icons/text.vue +7 -0
- package/src/atoms/components/design-com/Icon/icons/users.vue +7 -0
- package/src/atoms/constants/constants.ts +6 -0
- package/src/atoms/mixin/hash-router-mixin.js +68 -0
- package/src/atoms/thirdparty-components/VueMasonryWall/VueMasonryWall.vue +280 -0
- package/src/atoms/thirdparty-components/VueMasonryWall/maxBy.js +50 -0
- package/src/css/tailwind.css +3 -0
- package/src/experiences/clients/brand-crowd-api.client.js +104 -0
- package/src/experiences/clients/brand-page-api.client.js +30 -0
- package/src/experiences/components/AuthFlow/Auth.fixtures.js +4 -0
- package/src/experiences/components/AuthFlow/Auth.stories.js +345 -0
- package/src/experiences/components/AuthFlow/AuthCrazyDomains.stories.js +60 -0
- package/src/experiences/components/AuthFlow/AuthLegal.vue +68 -0
- package/src/experiences/components/AuthFlow/AuthModal.vue +39 -0
- package/src/experiences/components/AuthFlow/ForgotPassword.vue +198 -0
- package/src/experiences/components/AuthFlow/ForgotPasswordModal.vue +62 -0
- package/src/experiences/components/AuthFlow/ResetPassword.vue +150 -0
- package/src/experiences/components/AuthFlow/ResetPasswordModal.vue +64 -0
- package/src/experiences/components/AuthFlow/ResetPasswordSuccessModal.vue +56 -0
- package/src/experiences/components/AuthFlow/SignIn.vue +419 -0
- package/src/experiences/components/AuthFlow/SignUp.vue +245 -0
- package/src/experiences/components/AuthFlow/SignUpModal.vue +90 -0
- package/src/experiences/components/AuthFlow/SocialSignIn.vue +165 -0
- package/src/experiences/components/AuthFlow/SocialSignInButton.vue +74 -0
- package/src/experiences/components/AuthFlow/SubmissionButton.vue +56 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +91 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +121 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +189 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +45 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +240 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +509 -0
- package/src/experiences/components/PublishBrandPageModal/__fixtures__/data.js +26 -0
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.fixtures.js +32 -0
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +145 -0
- package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.stories.js +74 -0
- package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +124 -0
- package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +163 -0
- package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +147 -0
- package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +153 -0
- package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.stories.js +38 -0
- package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +184 -0
- package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.stories.js +40 -0
- package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +152 -0
- package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.stories.js +205 -0
- package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue +127 -0
- package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.stories.js +40 -0
- package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.vue +266 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.stories.js +37 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +328 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessText.vue +140 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +467 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoPreview.vue +97 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadError.vue +69 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadExitConfirmation.vue +49 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadModal.vue +38 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +91 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadingLoader.vue +22 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +290 -0
- package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.stories.js +82 -0
- package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +201 -0
- package/src/experiences/constants/api.js +8 -0
- package/src/experiences/constants/error-constants.js +5 -0
- package/src/experiences/constants/event-constants.js +18 -0
- package/src/experiences/constants/partner-dictionary-constants.js +27 -0
- package/src/experiences/constants/rego-source-constants.js +3 -0
- package/src/experiences/constants/sell-domain-name-constants.js +4 -0
- package/src/experiences/helpers/email-validator.js +5 -0
- package/src/experiences/helpers/hex-diff.js +116 -0
- package/src/experiences/helpers/tracking.js +5 -0
- package/src/experiences/mixins/mediaQueryMixin.js +31 -0
- package/src/experiences/mixins/themeMixin.js +22 -0
- package/src/themes/base.js +20 -0
- package/src/themes/bc.js +95 -0
- package/src/themes/bp.js +21 -0
- package/src/themes/cd.js +95 -0
- package/src/themes/dc.js +85 -0
- package/src/themes/dcom.js +106 -0
- package/src/themes/themes.js +17 -0
- package/src/viewports.js +51 -0
- package/storybook-static/favicon.ico +0 -0
- package/stylelint.config.js +19 -0
- package/tailwind.build.js +83 -0
- package/tailwind.config.js +37 -0
- package/tailwind.themes.js +59 -0
- package/vite.config.ts +37 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="tw-fixed tw-w-full tw-h-full tw-z-50 tw-top-0 tw-left-0 tw-bg-black tw-bg-opacity-80 lg:tw-flex tw-items-start tw-justify-center lg:tw-pt-20"
|
|
4
|
+
>
|
|
5
|
+
<AuthModal :show-cancel-button="true" :form-background-class="formBackgroundClass">
|
|
6
|
+
<template #content>
|
|
7
|
+
<SignUp
|
|
8
|
+
:title="title"
|
|
9
|
+
:form-background-class="formBackgroundClass"
|
|
10
|
+
:sign-up-url="signUpUrl"
|
|
11
|
+
:sign-in-url="signInUrl"
|
|
12
|
+
:login-with-google-url="loginWithGoogleUrl"
|
|
13
|
+
:login-with-facebook-url="loginWithFacebookUrl"
|
|
14
|
+
:terms-of-use-url="termsOfUseUrl"
|
|
15
|
+
:privacy-policy-url="privacyPolicyUrl"
|
|
16
|
+
:anti-forgery-token="antiForgeryToken"
|
|
17
|
+
:hello-bar="helloBar"
|
|
18
|
+
:recommended-action-link="recommendedActionLink"
|
|
19
|
+
:is-design-com="isDesignCom"
|
|
20
|
+
/>
|
|
21
|
+
</template>
|
|
22
|
+
</AuthModal>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
<script>
|
|
26
|
+
import AuthModal from './AuthModal.vue';
|
|
27
|
+
import SignUp from './SignUp.vue';
|
|
28
|
+
|
|
29
|
+
export default {
|
|
30
|
+
components: {
|
|
31
|
+
AuthModal,
|
|
32
|
+
SignUp,
|
|
33
|
+
},
|
|
34
|
+
props: {
|
|
35
|
+
title: {
|
|
36
|
+
type: String,
|
|
37
|
+
required: false,
|
|
38
|
+
default: undefined,
|
|
39
|
+
},
|
|
40
|
+
formBackgroundClass: {
|
|
41
|
+
type: String,
|
|
42
|
+
required: false,
|
|
43
|
+
default: undefined,
|
|
44
|
+
},
|
|
45
|
+
signUpUrl: {
|
|
46
|
+
type: String,
|
|
47
|
+
required: true,
|
|
48
|
+
},
|
|
49
|
+
signInUrl: {
|
|
50
|
+
type: String,
|
|
51
|
+
required: true,
|
|
52
|
+
},
|
|
53
|
+
loginWithGoogleUrl: {
|
|
54
|
+
type: String,
|
|
55
|
+
required: false,
|
|
56
|
+
default: undefined,
|
|
57
|
+
},
|
|
58
|
+
loginWithFacebookUrl: {
|
|
59
|
+
type: String,
|
|
60
|
+
required: false,
|
|
61
|
+
default: undefined,
|
|
62
|
+
},
|
|
63
|
+
termsOfUseUrl: {
|
|
64
|
+
type: String,
|
|
65
|
+
required: true,
|
|
66
|
+
},
|
|
67
|
+
privacyPolicyUrl: {
|
|
68
|
+
type: String,
|
|
69
|
+
required: true,
|
|
70
|
+
},
|
|
71
|
+
antiForgeryToken: {
|
|
72
|
+
type: String,
|
|
73
|
+
required: true,
|
|
74
|
+
},
|
|
75
|
+
helloBar: {
|
|
76
|
+
type: Object,
|
|
77
|
+
required: false,
|
|
78
|
+
default: undefined,
|
|
79
|
+
},
|
|
80
|
+
recommendedActionLink: {
|
|
81
|
+
type: String,
|
|
82
|
+
default: undefined,
|
|
83
|
+
},
|
|
84
|
+
isDesignCom: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: false,
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
</script>
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="tw-flex tw-flex-col tw-w-full tw-gap-2">
|
|
3
|
+
<form
|
|
4
|
+
v-if="!!formGoogleUrl"
|
|
5
|
+
ref="googleForm"
|
|
6
|
+
:action="formGoogleUrl"
|
|
7
|
+
method="post"
|
|
8
|
+
@submit="handleGoogleFormSubmit"
|
|
9
|
+
>
|
|
10
|
+
<input type="hidden" name="__RequestVerificationToken" :value="antiForgeryToken" />
|
|
11
|
+
<SocialSignInButton
|
|
12
|
+
label="Continue with Google"
|
|
13
|
+
type="google"
|
|
14
|
+
:disabled="disabled"
|
|
15
|
+
:is-loading="googleLoading"
|
|
16
|
+
:url="formGoogleUrl"
|
|
17
|
+
/>
|
|
18
|
+
</form>
|
|
19
|
+
<form
|
|
20
|
+
v-if="!!formFacebookUrl"
|
|
21
|
+
ref="facebookForm"
|
|
22
|
+
:action="formFacebookUrl"
|
|
23
|
+
method="post"
|
|
24
|
+
class="tw-w-full"
|
|
25
|
+
@submit="handleFacebookFormSubmit"
|
|
26
|
+
>
|
|
27
|
+
<input type="hidden" name="__RequestVerificationToken" :value="antiForgeryToken" />
|
|
28
|
+
<SocialSignInButton
|
|
29
|
+
label="Continue with Facebook"
|
|
30
|
+
type="facebook"
|
|
31
|
+
:disabled="disabled"
|
|
32
|
+
:is-loading="facebookLoading"
|
|
33
|
+
:url="formFacebookUrl"
|
|
34
|
+
/>
|
|
35
|
+
</form>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
<script>
|
|
39
|
+
import SocialSignInButton from './SocialSignInButton.vue';
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
components: {
|
|
43
|
+
SocialSignInButton,
|
|
44
|
+
},
|
|
45
|
+
props: {
|
|
46
|
+
loginWithGoogleUrl: {
|
|
47
|
+
type: String,
|
|
48
|
+
required: false,
|
|
49
|
+
default: undefined,
|
|
50
|
+
},
|
|
51
|
+
loginWithFacebookUrl: {
|
|
52
|
+
type: String,
|
|
53
|
+
required: false,
|
|
54
|
+
default: undefined,
|
|
55
|
+
},
|
|
56
|
+
antiForgeryToken: {
|
|
57
|
+
type: String,
|
|
58
|
+
required: true,
|
|
59
|
+
},
|
|
60
|
+
isLoading: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
required: false,
|
|
63
|
+
default: false,
|
|
64
|
+
},
|
|
65
|
+
facebookLoading: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
required: false,
|
|
68
|
+
default: false,
|
|
69
|
+
},
|
|
70
|
+
googleLoading: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
required: false,
|
|
73
|
+
default: false,
|
|
74
|
+
},
|
|
75
|
+
disabled: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
required: false,
|
|
78
|
+
default: false,
|
|
79
|
+
},
|
|
80
|
+
// hooks
|
|
81
|
+
preFacebookLoginHook: {
|
|
82
|
+
type: Function,
|
|
83
|
+
required: false,
|
|
84
|
+
default: undefined,
|
|
85
|
+
},
|
|
86
|
+
preGoogleLoginHook: {
|
|
87
|
+
type: Function,
|
|
88
|
+
required: false,
|
|
89
|
+
default: undefined,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
data() {
|
|
93
|
+
return {
|
|
94
|
+
formFacebookUrl: this.loginWithFacebookUrl,
|
|
95
|
+
formGoogleUrl: this.loginWithGoogleUrl,
|
|
96
|
+
formAntiForgeryToken: this.antiForgeryToken,
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
methods: {
|
|
100
|
+
updateFormAndSubmit(type, options = {}) {
|
|
101
|
+
const { antiForgeryToken, returnUrl } = options;
|
|
102
|
+
|
|
103
|
+
if (!antiForgeryToken || !returnUrl) {
|
|
104
|
+
throw new Error('Missing antiForgeryToken or action in `updateFormAndSubmit`');
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
this.formAntiForgeryToken = antiForgeryToken;
|
|
108
|
+
|
|
109
|
+
switch (type) {
|
|
110
|
+
case 'FACEBOOK':
|
|
111
|
+
this.formFacebookUrl = this.appendReturnUrl(this.loginWithFacebookUrl, returnUrl);
|
|
112
|
+
setTimeout(() => this.$refs.facebookForm.submit(), 0);
|
|
113
|
+
break;
|
|
114
|
+
case 'GOOGLE':
|
|
115
|
+
this.formGoogleUrl = this.appendReturnUrl(this.loginWithGoogleUrl, returnUrl);
|
|
116
|
+
setTimeout(() => this.$refs.googleForm.submit(), 0);
|
|
117
|
+
break;
|
|
118
|
+
default:
|
|
119
|
+
throw new Error(`Function updateFormAndSubmit - Unknown type: ${type}`);
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
appendReturnUrl(socialLoginUrl, returnUrl) {
|
|
124
|
+
const separator = socialLoginUrl.indexOf('?') === -1 ? '?' : '&';
|
|
125
|
+
return `${socialLoginUrl}${separator}returnUrl=${encodeURIComponent(returnUrl)}`;
|
|
126
|
+
},
|
|
127
|
+
|
|
128
|
+
appendMakerTypeStringAndRegistrationSource(socialLoginUrl) {
|
|
129
|
+
const makerTypeString = window?.location?.search?.match(/[?&]makerTypeString=([^&]*)/);
|
|
130
|
+
const registrationSource = window?.location?.search?.match(/[?&]registrationSource=([^&]*)/);
|
|
131
|
+
|
|
132
|
+
const additionalQueryStrings = [];
|
|
133
|
+
|
|
134
|
+
if (makerTypeString && makerTypeString.length > 0) {
|
|
135
|
+
additionalQueryStrings.push(`makerTypeString=${makerTypeString[1]}`);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (registrationSource && registrationSource.length > 0) {
|
|
139
|
+
additionalQueryStrings.push(`registrationSource=${registrationSource[1]}`);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
const separator = socialLoginUrl.indexOf('?') === -1 ? '?' : '&';
|
|
143
|
+
return `${socialLoginUrl}${separator}${additionalQueryStrings.join('&')}`;
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
handleFacebookFormSubmit(e) {
|
|
147
|
+
if (this.preFacebookLoginHook) {
|
|
148
|
+
e.preventDefault();
|
|
149
|
+
this.preFacebookLoginHook(this.updateFormAndSubmit.bind(this, 'FACEBOOK'));
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
this.formFacebookUrl = this.appendMakerTypeStringAndRegistrationSource(this.formFacebookUrl);
|
|
153
|
+
},
|
|
154
|
+
|
|
155
|
+
handleGoogleFormSubmit(e) {
|
|
156
|
+
if (this.preGoogleLoginHook) {
|
|
157
|
+
e.preventDefault();
|
|
158
|
+
this.preGoogleLoginHook(this.updateFormAndSubmit.bind(this, 'GOOGLE'));
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
this.formGoogleUrl = this.appendMakerTypeStringAndRegistrationSource(this.formGoogleUrl);
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
};
|
|
165
|
+
</script>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<button
|
|
3
|
+
class="tw-h-full c-social-button tw-w-full tw-bg-white tw-border tw-border-solid tw-border-grayscale-500 tw-content-start tw-cursor-pointer tw-rounded tw-transition-colors tw-duration-300 tw-text-base hover:tw-bg-secondary-100"
|
|
4
|
+
:class="{
|
|
5
|
+
'tw-opacity-50': disabled,
|
|
6
|
+
}"
|
|
7
|
+
:disabled="disabled"
|
|
8
|
+
>
|
|
9
|
+
<span class="tw-flex tw-items-stretch">
|
|
10
|
+
<span class="tw-flex tw-items-center tw-z-10 tw-flex-none tw-transform -tw-translate-x-px">
|
|
11
|
+
<Icon :name="`auth-${type}`" class="tw-z-20 tw-py-3 tw-pl-3" size="md" />
|
|
12
|
+
</span>
|
|
13
|
+
<span class="tw-relative tw-w-full tw-inline-flex tw-text-grayscale-700">
|
|
14
|
+
<div
|
|
15
|
+
v-if="isLoading"
|
|
16
|
+
class="tw-absolute tw-top-1/2 tw-right-0 tw-transform tw--translate-y-1/2 tw--translate-x-3"
|
|
17
|
+
>
|
|
18
|
+
<img class="tw-animate-spin tw-align-middle" :src="loadingSrc" alt="Submitting" />
|
|
19
|
+
</div>
|
|
20
|
+
<span class="tw-grow tw-my-auto tw-text-center tw-w-full tw-font-semibold tw-text-sm">{{ label }}</span>
|
|
21
|
+
</span>
|
|
22
|
+
</span>
|
|
23
|
+
</button>
|
|
24
|
+
</template>
|
|
25
|
+
<script>
|
|
26
|
+
import Icon from '../../../../src/atoms/components/Icon/Icon.vue';
|
|
27
|
+
|
|
28
|
+
const TYPES = {
|
|
29
|
+
FACEBOOK: 'facebook',
|
|
30
|
+
GOOGLE: 'google',
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export default {
|
|
34
|
+
components: {
|
|
35
|
+
Icon,
|
|
36
|
+
},
|
|
37
|
+
props: {
|
|
38
|
+
label: {
|
|
39
|
+
type: String,
|
|
40
|
+
required: true,
|
|
41
|
+
},
|
|
42
|
+
url: {
|
|
43
|
+
type: String,
|
|
44
|
+
required: true,
|
|
45
|
+
},
|
|
46
|
+
type: {
|
|
47
|
+
type: String,
|
|
48
|
+
required: true,
|
|
49
|
+
},
|
|
50
|
+
disabled: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
required: false,
|
|
53
|
+
default: false,
|
|
54
|
+
},
|
|
55
|
+
isLoading: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
required: false,
|
|
58
|
+
default: false,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
data() {
|
|
62
|
+
return {
|
|
63
|
+
types: TYPES,
|
|
64
|
+
loadingSrc: null,
|
|
65
|
+
};
|
|
66
|
+
},
|
|
67
|
+
mounted() {
|
|
68
|
+
this.loadingSrc =
|
|
69
|
+
this.type === TYPES.FACEBOOK
|
|
70
|
+
? 'https://bcassetcdn.com/images/icons/loading/loading-fb.svg'
|
|
71
|
+
: 'https://bcassetcdn.com/images/icons/loading/loading-google.svg';
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
</script>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="tw-relative tw-w-full">
|
|
3
|
+
<div
|
|
4
|
+
v-if="isLoading"
|
|
5
|
+
class="tw-absolute tw-top-1/2 tw-left-1/2 tw-transform tw--translate-y-1/2"
|
|
6
|
+
:class="{
|
|
7
|
+
'tw-translate-x-8': labelSize === 'smaller',
|
|
8
|
+
'tw-translate-x-12': labelSize === 'medium',
|
|
9
|
+
'tw-translate-x-20': labelSize === 'larger',
|
|
10
|
+
}"
|
|
11
|
+
>
|
|
12
|
+
<img
|
|
13
|
+
class="tw-animate-spin tw-align-middle"
|
|
14
|
+
src="https://dcstatic.com/images/icons/loading/loading-white-2e291087b2.svg"
|
|
15
|
+
alt="Submitting"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
<Button :variant="variant" :size="size" :label="label" :full-width="true" :disabled="disabled" />
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
import Button from '../../../../src/atoms/components/Button/Button.vue';
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
components: {
|
|
27
|
+
Button,
|
|
28
|
+
},
|
|
29
|
+
props: {
|
|
30
|
+
variant: {
|
|
31
|
+
type: String,
|
|
32
|
+
required: true,
|
|
33
|
+
},
|
|
34
|
+
size: {
|
|
35
|
+
type: String,
|
|
36
|
+
required: true,
|
|
37
|
+
},
|
|
38
|
+
label: {
|
|
39
|
+
type: String,
|
|
40
|
+
required: true,
|
|
41
|
+
},
|
|
42
|
+
labelSize: {
|
|
43
|
+
type: String,
|
|
44
|
+
required: true,
|
|
45
|
+
},
|
|
46
|
+
disabled: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
required: true,
|
|
49
|
+
},
|
|
50
|
+
isLoading: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
required: true,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
</script>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import brandPageApiClient from '../../clients/brand-page-api.client';
|
|
2
|
+
|
|
3
|
+
export const paymentConfigStatuses = Object.freeze({
|
|
4
|
+
active: 'Active',
|
|
5
|
+
pendingPreOnboarding: 'PendingPreOnboarding',
|
|
6
|
+
pendingPostOnboarding: 'PendingPostOnboarding',
|
|
7
|
+
unactivatedByCustomer: 'UnactivatedByCustomer',
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
props: {
|
|
12
|
+
brandPageToken: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: false,
|
|
15
|
+
},
|
|
16
|
+
showPaymentProviderExternalId: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
required: false,
|
|
19
|
+
default: true,
|
|
20
|
+
},
|
|
21
|
+
statusFilters: {
|
|
22
|
+
type: Array,
|
|
23
|
+
required: false,
|
|
24
|
+
default: undefined,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
data: () => ({
|
|
28
|
+
isLoading: true,
|
|
29
|
+
paymentConfigs: [],
|
|
30
|
+
}),
|
|
31
|
+
methods: {
|
|
32
|
+
getPaymentConfigStatusDisplayText(paymentConfigStatus) {
|
|
33
|
+
switch (paymentConfigStatus) {
|
|
34
|
+
case paymentConfigStatuses.pendingPreOnboarding:
|
|
35
|
+
return 'Onboarding Incomplete';
|
|
36
|
+
case paymentConfigStatuses.pendingPostOnboarding:
|
|
37
|
+
return 'Pending Verification';
|
|
38
|
+
case paymentConfigStatuses.active:
|
|
39
|
+
return 'Connected';
|
|
40
|
+
case paymentConfigStatuses.unactivatedByCustomer:
|
|
41
|
+
return 'Inactive';
|
|
42
|
+
default:
|
|
43
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
44
|
+
console.warn(`Unsupported payment config status ${paymentConfigStatus}`);
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
getPaymentConfigStatusDisplayClasses(paymentConfigStatus) {
|
|
51
|
+
switch (paymentConfigStatus) {
|
|
52
|
+
case paymentConfigStatuses.pendingPreOnboarding:
|
|
53
|
+
case paymentConfigStatuses.pendingPostOnboarding:
|
|
54
|
+
return 'tw-bg-warning-500';
|
|
55
|
+
case paymentConfigStatuses.active:
|
|
56
|
+
return 'tw-bg-success-500';
|
|
57
|
+
case paymentConfigStatuses.unactivatedByCustomer:
|
|
58
|
+
return 'tw-bg-grayscale-600';
|
|
59
|
+
default:
|
|
60
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
61
|
+
console.warn(`Unsupported payment config status ${paymentConfigStatus}`);
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
async updatePaymentConfigs() {
|
|
68
|
+
if (!this.brandPageToken) {
|
|
69
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
70
|
+
console.error(`brandPageToken is required`);
|
|
71
|
+
}
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
try {
|
|
76
|
+
this.isLoading = true;
|
|
77
|
+
|
|
78
|
+
const result = await brandPageApiClient.getPaymentConfigsByBrandPageToken(this.brandPageToken);
|
|
79
|
+
|
|
80
|
+
if (result) {
|
|
81
|
+
this.paymentConfigs = Array.isArray(this.statusFilters)
|
|
82
|
+
? result.filter((p) => this.statusFilters.some((s) => p.status === s))
|
|
83
|
+
: result;
|
|
84
|
+
this.$emit('on-load', this.paymentConfigs);
|
|
85
|
+
}
|
|
86
|
+
} finally {
|
|
87
|
+
this.isLoading = false;
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div v-if="isLoading" class="tw-w-full tw-flex tw-justify-center tw-p-2">
|
|
4
|
+
<Loader />
|
|
5
|
+
</div>
|
|
6
|
+
<Button
|
|
7
|
+
v-if="isAddPaymentProviderButtonVisible"
|
|
8
|
+
label="Add Payment Provider"
|
|
9
|
+
size="small"
|
|
10
|
+
variant="outline"
|
|
11
|
+
@on-click="onAddPaymentProviderButtonClick"
|
|
12
|
+
></Button>
|
|
13
|
+
<Dropdown v-if="!isLoading && !isAddPaymentProviderButtonVisible" ref="dropdown">
|
|
14
|
+
<template #title>
|
|
15
|
+
<div v-if="selectedPaymentConfig" class="tw-flex">
|
|
16
|
+
<span class="tw-text-sm tw-grow tw-select-none">{{ selectedPaymentConfig.name }}</span>
|
|
17
|
+
<Pill
|
|
18
|
+
class="tw-text-white tw-mr-2"
|
|
19
|
+
:class="getPaymentConfigStatusDisplayClasses(selectedPaymentConfig.status)"
|
|
20
|
+
>
|
|
21
|
+
{{ getPaymentConfigStatusDisplayText(selectedPaymentConfig.status) }}
|
|
22
|
+
</Pill>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<DropdownItem
|
|
27
|
+
v-for="paymentConfig in paymentConfigs"
|
|
28
|
+
:key="`payment-config-${paymentConfig.id}`"
|
|
29
|
+
@click="onPaymentConfigClick(paymentConfig)"
|
|
30
|
+
>
|
|
31
|
+
<span class="tw-text-sm tw-grow tw-select-none">{{ paymentConfig.name }}</span>
|
|
32
|
+
<Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(paymentConfig.status)">
|
|
33
|
+
{{ getPaymentConfigStatusDisplayText(paymentConfig.status) }}
|
|
34
|
+
</Pill>
|
|
35
|
+
</DropdownItem>
|
|
36
|
+
|
|
37
|
+
<DropdownItem v-if="showAddPaymentProvider" class="tw-border-t-2" @click="onAddPaymentProviderButtonClick">
|
|
38
|
+
<Button
|
|
39
|
+
:full-width="true"
|
|
40
|
+
label="Add Payment Provider"
|
|
41
|
+
size="small"
|
|
42
|
+
variant="outline"
|
|
43
|
+
@on-click="onAddPaymentProviderButtonClick"
|
|
44
|
+
/>
|
|
45
|
+
</DropdownItem>
|
|
46
|
+
</Dropdown>
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
|
49
|
+
<script>
|
|
50
|
+
import Button from '../../../../src/atoms/components/Button/Button.vue';
|
|
51
|
+
import Dropdown from '../../../../src/atoms/components/Dropdown/Dropdown.vue';
|
|
52
|
+
import DropdownItem from '../../../../src/atoms/components/Dropdown/DropdownItem.vue';
|
|
53
|
+
import Loader from '../../../../src/atoms/components/Loader/Loader.vue';
|
|
54
|
+
import Pill from '../../../../src/atoms/components/Pill/Pill.vue';
|
|
55
|
+
|
|
56
|
+
import PaymentConfigMixin, { paymentConfigStatuses } from './PaymentConfig.mixin';
|
|
57
|
+
|
|
58
|
+
export default {
|
|
59
|
+
components: {
|
|
60
|
+
Button,
|
|
61
|
+
Dropdown,
|
|
62
|
+
DropdownItem,
|
|
63
|
+
Loader,
|
|
64
|
+
Pill,
|
|
65
|
+
},
|
|
66
|
+
mixins: [PaymentConfigMixin],
|
|
67
|
+
props: {
|
|
68
|
+
showAddPaymentProvider: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: true,
|
|
71
|
+
},
|
|
72
|
+
paymentConfigId: {
|
|
73
|
+
type: String,
|
|
74
|
+
required: false,
|
|
75
|
+
default: undefined,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
data: () => ({ isAddPaymentProviderButtonVisible: false, selectedPaymentConfig: undefined }),
|
|
79
|
+
watch: {
|
|
80
|
+
paymentConfig(newValue) {
|
|
81
|
+
this.selectedPaymentConfig = newValue;
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
async mounted() {
|
|
85
|
+
if (this.brandPageToken) {
|
|
86
|
+
await this.updatePaymentConfigs();
|
|
87
|
+
if (!this.selectedPaymentConfig && this.paymentConfigs.length === 0) {
|
|
88
|
+
this.isAddPaymentProviderButtonVisible = true;
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const paymentConfig = this.paymentConfigs.find((c) => c.id === this.paymentConfigId);
|
|
93
|
+
|
|
94
|
+
if (paymentConfig) {
|
|
95
|
+
this.setSelectedPaymentConfig(paymentConfig);
|
|
96
|
+
} else if (this.paymentConfigs.length > 0) {
|
|
97
|
+
const activePaymentConfig = this.paymentConfigs.find((c) => c.status === paymentConfigStatuses.active);
|
|
98
|
+
this.setSelectedPaymentConfig(activePaymentConfig || this.paymentConfigs[0]);
|
|
99
|
+
}
|
|
100
|
+
} else {
|
|
101
|
+
this.isLoading = false;
|
|
102
|
+
this.isAddPaymentProviderButtonVisible = true;
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
methods: {
|
|
106
|
+
onAddPaymentProviderButtonClick() {
|
|
107
|
+
this.$emit('on-add-payment-provider-click');
|
|
108
|
+
},
|
|
109
|
+
|
|
110
|
+
onPaymentConfigClick(paymentConfig) {
|
|
111
|
+
this.setSelectedPaymentConfig(paymentConfig);
|
|
112
|
+
this.$refs.dropdown.hideMenu();
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
setSelectedPaymentConfig(paymentConfig) {
|
|
116
|
+
this.selectedPaymentConfig = paymentConfig;
|
|
117
|
+
this.$emit('on-payment-config-selected', this.selectedPaymentConfig);
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
};
|
|
121
|
+
</script>
|