@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
package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.stories.js
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import axios from 'axios';
|
|
2
|
+
import MockAdapter from 'axios-mock-adapter';
|
|
3
|
+
|
|
4
|
+
import UploadYourLogoApplication from './UploadYourLogoApplication.vue';
|
|
5
|
+
import Events from '../../constants/event-constants';
|
|
6
|
+
import API from '../../constants/api';
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
title: 'Components/UploadYourLogoApplication',
|
|
10
|
+
component: UploadYourLogoApplication,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const MOCK_RESPONSE_DELAY = 2000;
|
|
14
|
+
const UPLOAD_SUCCESS_RESPONSE = {
|
|
15
|
+
templateUploadToken: '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647',
|
|
16
|
+
logoImageUrl: '/images/logos/coke.jpeg',
|
|
17
|
+
logoImageDetails: {
|
|
18
|
+
businessText: 'LOGO TEXT HERE',
|
|
19
|
+
sloganText: 'Slogan Text Here',
|
|
20
|
+
textColors: ['#2ab1f8', '#ff0000', '#00ff00', '#0fb0fb', '#87adbb', '#7ef99f'],
|
|
21
|
+
backgroundColors: ['#041444'],
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
const UPLOAD_SUCCESS_RESPONSE_SVG = {
|
|
25
|
+
templateUploadToken: '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647',
|
|
26
|
+
logoImageUrl: 'https://cdn.worldvectorlogo.com/logos/raspberry-pi.svg',
|
|
27
|
+
logoImageDetails: {
|
|
28
|
+
businessText: 'LOGO TEXT HERE',
|
|
29
|
+
textColors: ['#cd003f'],
|
|
30
|
+
backgroundColors: ['#000000'],
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const Success = () => {
|
|
35
|
+
const mock = new MockAdapter(axios, { delayResponse: MOCK_RESPONSE_DELAY });
|
|
36
|
+
mock.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT).reply(200, UPLOAD_SUCCESS_RESPONSE);
|
|
37
|
+
|
|
38
|
+
mock.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_SAVE_ENDPOINT).reply(200, {
|
|
39
|
+
success: true,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
return {
|
|
43
|
+
components: {
|
|
44
|
+
UploadYourLogoApplication,
|
|
45
|
+
},
|
|
46
|
+
template: `
|
|
47
|
+
<div>
|
|
48
|
+
<input type="file" @change="onFileInputChange" accept=".png,.svg,.eps" />
|
|
49
|
+
<UploadYourLogoApplication :use-dropzone="true" @on-finish="onFinish" />
|
|
50
|
+
</div>
|
|
51
|
+
`,
|
|
52
|
+
methods: {
|
|
53
|
+
onFileInputChange(e) {
|
|
54
|
+
if (e.target.files.length) {
|
|
55
|
+
window.dispatchEvent(
|
|
56
|
+
new CustomEvent(Events.BeginUploadLogoExperience, {
|
|
57
|
+
detail: { file: e.target.files[0] },
|
|
58
|
+
}),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
onFinish(e) {
|
|
63
|
+
alert('on finish');
|
|
64
|
+
console.log(e);
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const SuccessNotLoggedIn = () => {
|
|
71
|
+
const mock = new MockAdapter(axios, { delayResponse: MOCK_RESPONSE_DELAY });
|
|
72
|
+
mock.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT).reply(200, UPLOAD_SUCCESS_RESPONSE);
|
|
73
|
+
|
|
74
|
+
mock.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_SAVE_ENDPOINT).reply(200, {
|
|
75
|
+
success: true,
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
components: {
|
|
80
|
+
UploadYourLogoApplication,
|
|
81
|
+
},
|
|
82
|
+
template: `
|
|
83
|
+
<div>
|
|
84
|
+
<UploadYourLogoApplication :active="true" :use-dropzone="true" @on-file-change="onFileChange" />
|
|
85
|
+
</div>
|
|
86
|
+
`,
|
|
87
|
+
methods: {
|
|
88
|
+
onFileChange(fileInput) {
|
|
89
|
+
if (fileInput) {
|
|
90
|
+
window.dispatchEvent(
|
|
91
|
+
new CustomEvent(Events.BeginUploadLogoExperience, {
|
|
92
|
+
detail: { file: fileInput },
|
|
93
|
+
}),
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export const SuccessSvg = () => {
|
|
102
|
+
const mock = new MockAdapter(axios, { delayResponse: MOCK_RESPONSE_DELAY });
|
|
103
|
+
mock.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT).reply(200, UPLOAD_SUCCESS_RESPONSE_SVG);
|
|
104
|
+
|
|
105
|
+
mock.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_SAVE_ENDPOINT).reply(200, {
|
|
106
|
+
success: true,
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
components: {
|
|
111
|
+
UploadYourLogoApplication,
|
|
112
|
+
},
|
|
113
|
+
template: `
|
|
114
|
+
<div>
|
|
115
|
+
<input type="file" @change="onFileInputChange" accept=".png,.svg,.eps" />
|
|
116
|
+
<UploadYourLogoApplication :is-user-authenticated="true" @on-finish="onFinish" />
|
|
117
|
+
</div>
|
|
118
|
+
`,
|
|
119
|
+
methods: {
|
|
120
|
+
onFileInputChange(e) {
|
|
121
|
+
if (e.target.files.length) {
|
|
122
|
+
window.dispatchEvent(
|
|
123
|
+
new CustomEvent(Events.BeginUploadLogoExperience, {
|
|
124
|
+
detail: { file: e.target.files[0] },
|
|
125
|
+
}),
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
onFinish(e) {
|
|
130
|
+
alert('on finish');
|
|
131
|
+
console.log(e);
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
export const FailOnUpload = () => {
|
|
138
|
+
const mock = new MockAdapter(axios, { delayResponse: MOCK_RESPONSE_DELAY });
|
|
139
|
+
mock
|
|
140
|
+
.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT)
|
|
141
|
+
.reply(500, 'An error occured when extracting details from the image. Please try again.');
|
|
142
|
+
|
|
143
|
+
return {
|
|
144
|
+
components: {
|
|
145
|
+
UploadYourLogoApplication,
|
|
146
|
+
},
|
|
147
|
+
template: `
|
|
148
|
+
<div>
|
|
149
|
+
<input type="file" @change="onFileInputChange" accept=".png,.svg,.eps" />
|
|
150
|
+
<UploadYourLogoApplication @on-finish="onFinish" />
|
|
151
|
+
</div>
|
|
152
|
+
`,
|
|
153
|
+
methods: {
|
|
154
|
+
onFileInputChange(e) {
|
|
155
|
+
if (e.target.files.length) {
|
|
156
|
+
window.dispatchEvent(
|
|
157
|
+
new CustomEvent(Events.BeginUploadLogoExperience, {
|
|
158
|
+
detail: { file: e.target.files[0] },
|
|
159
|
+
}),
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
onFinish(e) {
|
|
164
|
+
alert('on finish');
|
|
165
|
+
console.log(e);
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
export const FailOnCreate = () => {
|
|
172
|
+
const mock = new MockAdapter(axios, { delayResponse: MOCK_RESPONSE_DELAY });
|
|
173
|
+
mock.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT).reply(200, UPLOAD_SUCCESS_RESPONSE);
|
|
174
|
+
|
|
175
|
+
mock
|
|
176
|
+
.onPost(API.BYO_LOGO_API_URL + API.BYO_LOGO_API_SAVE_ENDPOINT)
|
|
177
|
+
.reply(500, 'An error occured when creating a logo from the provided details. Please try again.');
|
|
178
|
+
|
|
179
|
+
return {
|
|
180
|
+
components: {
|
|
181
|
+
UploadYourLogoApplication,
|
|
182
|
+
},
|
|
183
|
+
template: `
|
|
184
|
+
<div>
|
|
185
|
+
<input type="file" @change="onFileInputChange" accept=".png,.svg,.eps" />
|
|
186
|
+
<UploadYourLogoApplication :is-user-authenticated="true" @on-finish="onFinish" />
|
|
187
|
+
</div>
|
|
188
|
+
`,
|
|
189
|
+
methods: {
|
|
190
|
+
onFileInputChange(e) {
|
|
191
|
+
if (e.target.files.length) {
|
|
192
|
+
window.dispatchEvent(
|
|
193
|
+
new CustomEvent(Events.BeginUploadLogoExperience, {
|
|
194
|
+
detail: { file: e.target.files[0] },
|
|
195
|
+
}),
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
onFinish(e) {
|
|
200
|
+
alert('on finish');
|
|
201
|
+
console.log(e);
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
};
|
|
205
|
+
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<UploadYourLogoOnBoarding
|
|
4
|
+
v-if="active"
|
|
5
|
+
:logo-file="logoData.logoFile"
|
|
6
|
+
:use-dropzone="useDropzone"
|
|
7
|
+
:is-post-purchase-user-upload="isPostPurchaseUserUpload"
|
|
8
|
+
@on-exit="onExit"
|
|
9
|
+
@on-upload-error="onUploadError"
|
|
10
|
+
@on-file-change="onFileChange"
|
|
11
|
+
@on-finish="onFinish"
|
|
12
|
+
@on-image-cropped="onImageCropped"
|
|
13
|
+
@on-save-business-text="onSaveBusinessText"
|
|
14
|
+
@on-brand-colors-save="onBrandColorsSave"
|
|
15
|
+
@on-back="onBack"
|
|
16
|
+
@on-logo-upload-success="onLogoUploadSuccess"
|
|
17
|
+
/>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
<script>
|
|
21
|
+
import Events from '../../constants/event-constants';
|
|
22
|
+
import UploadYourLogoOnBoarding from '../UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue';
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
components: {
|
|
26
|
+
UploadYourLogoOnBoarding,
|
|
27
|
+
},
|
|
28
|
+
props: {
|
|
29
|
+
useDropzone: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
required: false,
|
|
32
|
+
default: false,
|
|
33
|
+
},
|
|
34
|
+
isPostPurchaseUserUpload: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
required: false,
|
|
37
|
+
default: false,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
data() {
|
|
41
|
+
return {
|
|
42
|
+
logoData: {
|
|
43
|
+
logoFile: null,
|
|
44
|
+
},
|
|
45
|
+
active: this.useDropzone,
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
watch: {
|
|
49
|
+
useDropzone: {
|
|
50
|
+
immediate: true,
|
|
51
|
+
handler() {
|
|
52
|
+
if (this.useDropzone) {
|
|
53
|
+
this.active = true;
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
mounted() {
|
|
59
|
+
/*
|
|
60
|
+
Disclaimer!
|
|
61
|
+
This event is used for when the experience is launched via a
|
|
62
|
+
regular HTML5 <input type="file" />. This is invoked by the "Upload your logo"
|
|
63
|
+
link in the HeroBannerGeneric component and also a button in the App.Maker sidebar.
|
|
64
|
+
|
|
65
|
+
Unless you are interacting with this component from outside of Vue or outside of
|
|
66
|
+
this repository, please refrain from using the window event to upload logos.
|
|
67
|
+
*/
|
|
68
|
+
if (window) {
|
|
69
|
+
window.addEventListener(Events.BeginUploadLogoExperience, (e) => {
|
|
70
|
+
this.onBeginUploadLogoExperience(e.detail.file);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
beforeDestroy() {
|
|
75
|
+
window.removeEventListener(Events.BeginUploadLogoExperience, (e) => {
|
|
76
|
+
this.onBeginUploadLogoExperience(e.detail.file);
|
|
77
|
+
});
|
|
78
|
+
},
|
|
79
|
+
methods: {
|
|
80
|
+
onBeginUploadLogoExperience(file) {
|
|
81
|
+
this.active = true;
|
|
82
|
+
this.logoData.logoFile = {
|
|
83
|
+
file,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
onExit({ currentStepTrackingLabel }) {
|
|
87
|
+
this.$emit('on-exit', { currentStepTrackingLabel });
|
|
88
|
+
this.reset();
|
|
89
|
+
},
|
|
90
|
+
reset() {
|
|
91
|
+
this.active = false;
|
|
92
|
+
this.logoData.logoFile = null;
|
|
93
|
+
},
|
|
94
|
+
onUploadError() {
|
|
95
|
+
this.logoData.logoFile = null;
|
|
96
|
+
},
|
|
97
|
+
onFileChange(file) {
|
|
98
|
+
this.logoData.logoFile = {
|
|
99
|
+
file,
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
onFinish(e) {
|
|
103
|
+
this.$emit('on-finish', e);
|
|
104
|
+
window.dispatchEvent(new CustomEvent(Events.UploadLogoSuccess));
|
|
105
|
+
this.reset();
|
|
106
|
+
},
|
|
107
|
+
onBack({ currentStepTrackingLabel }) {
|
|
108
|
+
this.$emit('on-back', { currentStepTrackingLabel });
|
|
109
|
+
},
|
|
110
|
+
onImageCropped({ isCropped }) {
|
|
111
|
+
this.$emit('on-image-cropped', { isCropped });
|
|
112
|
+
},
|
|
113
|
+
onSaveBusinessText({ businessText }) {
|
|
114
|
+
this.$emit('on-save-business-text', { businessText });
|
|
115
|
+
},
|
|
116
|
+
onBrandColorsSave({ textColorUserSelected, backgroundColorUserSelected }) {
|
|
117
|
+
this.$emit('on-brand-colors-save', {
|
|
118
|
+
textColorUserSelected,
|
|
119
|
+
backgroundColorUserSelected,
|
|
120
|
+
});
|
|
121
|
+
},
|
|
122
|
+
onLogoUploadSuccess() {
|
|
123
|
+
this.$emit('on-logo-upload-success');
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
};
|
|
127
|
+
</script>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import Events from '../../constants/event-constants';
|
|
2
|
+
import UploadYourLogoDropzone from './UploadYourLogoDropzone.vue';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Components/UploadYourLogoDropzone',
|
|
6
|
+
component: UploadYourLogoDropzone,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const Sample = () => {
|
|
10
|
+
window.addEventListener(Events.BeginUploadLogoExperience, (e) => {
|
|
11
|
+
console.log('BEGIN_UPLOAD_LOGO_EXPERIENCE', e);
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
return {
|
|
15
|
+
components: {
|
|
16
|
+
UploadYourLogoDropzone,
|
|
17
|
+
},
|
|
18
|
+
template: `
|
|
19
|
+
<UploadYourLogoDropzone />
|
|
20
|
+
`,
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export const SampleExternallyInvoked = () => {
|
|
25
|
+
window.addEventListener(Events.BeginUploadLogoExperience, (e) => {
|
|
26
|
+
console.log('BEGIN_UPLOAD_LOGO_EXPERIENCE', e);
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
return {
|
|
30
|
+
components: {
|
|
31
|
+
UploadYourLogoDropzone,
|
|
32
|
+
},
|
|
33
|
+
template: `
|
|
34
|
+
<div>
|
|
35
|
+
<UploadYourLogoDropzone
|
|
36
|
+
:should-open-upload-when-mounted="true" />
|
|
37
|
+
</div>
|
|
38
|
+
`,
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<dropzone
|
|
3
|
+
:id="`upload-your-logo-dropzone-${_uid}`"
|
|
4
|
+
ref="dropzone"
|
|
5
|
+
class="c-upload-your-logo tw-group tw-transition-colors tw-duration-200 tw-flex tw-items-center tw-justify-center tw-flex-col tw-py-8 tw-cursor-pointer"
|
|
6
|
+
:class="{
|
|
7
|
+
'tw-w-full tw-bg-grayscale-400 tw-flex tw-items-center tw-justify-center tw-flex-col tw-cursor-pointer': isModal,
|
|
8
|
+
'hover:tw-bg-grayscale-200 tw-bg-white tw-border tw-border-dashed tw-border-secondary-300 tw-rounded': !isModal,
|
|
9
|
+
'md:tw-py-2 md:tw-pr-2 md:tw-items-start': useLandscapeTile,
|
|
10
|
+
}"
|
|
11
|
+
:options="options"
|
|
12
|
+
:include-styling="false"
|
|
13
|
+
:use-custom-slot="true"
|
|
14
|
+
data-test-byo-upload-dropzone
|
|
15
|
+
@vdropzone-success="onUploadSuccess"
|
|
16
|
+
>
|
|
17
|
+
<div
|
|
18
|
+
class="tw-text-center tw-px-2"
|
|
19
|
+
:class="{
|
|
20
|
+
'md:tw-flex md:tw-flex-row md:tw-items-center md:tw-text-left md:tw-text-xs md:tw-px-4': useLandscapeTile,
|
|
21
|
+
'md:tw-px-8': smallLayout && !useLandscapeTile,
|
|
22
|
+
}"
|
|
23
|
+
>
|
|
24
|
+
<div
|
|
25
|
+
class="group-hover:tw-text-info-500 tw-flex tw-items-center tw-justify-center tw-w-full tw-mx-auto tw-mb-2"
|
|
26
|
+
:class="{
|
|
27
|
+
'tw-text-secondary-500': !isDesignCom,
|
|
28
|
+
'tw-text-secondary-400': isDesignCom,
|
|
29
|
+
'md:tw-mb-0': useLandscapeTile,
|
|
30
|
+
'md:tw-w-10 md:tw-h-10': smallLayout,
|
|
31
|
+
}"
|
|
32
|
+
>
|
|
33
|
+
<svg
|
|
34
|
+
class="tw-fill-current tw-w-24 tw-h-24 tw-transition-colors tw-duration-200"
|
|
35
|
+
viewBox="0 0 100 100"
|
|
36
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
37
|
+
>
|
|
38
|
+
<path
|
|
39
|
+
d="M61.393 5c.5922 0 1.1635.261 1.5802.6956l22.3903 23.2608c.373.4133.6365.9565.6365 1.5216v52.7172C86 89.6737 80.6002 95 74.0585 95h-48.117C19.3998 95 14 89.6737 14 83.1952v-66.391C14 10.3262 19.3998 5 25.9415 5zm-2.1736 4.3478H25.9415c-4.1268 0-7.5512 3.3914-7.5512 7.4563v66.391c0 4.0877 3.4466 7.457 7.5512 7.457h48.117c4.1268 0 7.5512-3.3693 7.5512-7.457V32.6087H68.8563c-5.334 0-9.6369-4.2393-9.6369-9.5217V9.348zM67.8124 76C69.0252 76 70 76.8996 70 78c0 1.0998-.9748 2-2.1657 2H32.1657C30.9747 80 30 79.0998 30 78c0-1.1004.9748-2 2.1657-2zM50 35c.6121 0 1.1807.264 1.5965.7037l12.8169 13.8331c.831.8794.7654 2.2652-.1099 3.1009-.4152.396-.9623.5939-1.4873.5939-.59 0-1.1592-.2424-1.5965-.7037l-9.0111-9.743v24.0159c0 1.2093-.9837 2.1992-2.1871 2.1992-1.2028 0-2.1872-.9899-2.1872-2.1992v-24.016l-9.011 9.7431c-.8311.8794-2.2086.9454-3.1274.1098-.8746-.8141-.9402-2.2215-.1092-3.1009l12.8168-13.8331C48.8187 35.264 49.3873 35 50 35zm13.6097-22.326v10.413c0 2.8694 2.349 5.1738 5.2466 5.1738h9.7464L63.6097 12.674z"
|
|
40
|
+
fill-rule="nonzero"
|
|
41
|
+
/>
|
|
42
|
+
</svg>
|
|
43
|
+
</div>
|
|
44
|
+
<div
|
|
45
|
+
:class="{
|
|
46
|
+
'md:tw-flex md:tw-flex-col md:tw-ml-2': useLandscapeTile,
|
|
47
|
+
}"
|
|
48
|
+
>
|
|
49
|
+
<p
|
|
50
|
+
v-if="!isModal"
|
|
51
|
+
class="tw-font-bold tw-text-black tw-text-lg tw-mb-2"
|
|
52
|
+
:class="{ 'md:tw-text-sm md:tw-mb-0': smallLayout }"
|
|
53
|
+
>
|
|
54
|
+
Upload your logo
|
|
55
|
+
</p>
|
|
56
|
+
|
|
57
|
+
<p
|
|
58
|
+
class="tw-text-secondary-600 tw-text-sm"
|
|
59
|
+
:class="{
|
|
60
|
+
'tw-mb-0': !isDesignCom,
|
|
61
|
+
'tw-mb-3': isDesignCom,
|
|
62
|
+
}"
|
|
63
|
+
>
|
|
64
|
+
Drop your file here or
|
|
65
|
+
<span class="tw-text-info-500">click to upload</span>
|
|
66
|
+
</p>
|
|
67
|
+
|
|
68
|
+
<p
|
|
69
|
+
v-if="!smallLayout"
|
|
70
|
+
class="tw-text-sm"
|
|
71
|
+
:class="{
|
|
72
|
+
'tw-text-secondary-600': !isDesignCom,
|
|
73
|
+
'tw-text-secondary-400': isDesignCom,
|
|
74
|
+
}"
|
|
75
|
+
>
|
|
76
|
+
We accept PNG, JPG, SVG or EPS files up to 25MB
|
|
77
|
+
</p>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</dropzone>
|
|
81
|
+
</template>
|
|
82
|
+
|
|
83
|
+
<script>
|
|
84
|
+
import Dropzone from 'dropzone-vue3';
|
|
85
|
+
import Events, { TRIGGER_TYPE } from '../../constants/event-constants';
|
|
86
|
+
import RegoSource from '../../constants/rego-source-constants';
|
|
87
|
+
|
|
88
|
+
const ACCEPTED_MIME_TYPES = ['image/jpeg', 'image/png', 'image/svg+xml', 'application/postscript'];
|
|
89
|
+
|
|
90
|
+
const ACCEPTED_FILE_EXTENSIONS = ['jpg', 'jpeg', 'png', 'svg', 'eps'];
|
|
91
|
+
const UNSUPPORTED_FILE_ERROR_MSG = "You can't upload files of this type.";
|
|
92
|
+
|
|
93
|
+
export default {
|
|
94
|
+
components: {
|
|
95
|
+
Dropzone,
|
|
96
|
+
},
|
|
97
|
+
props: {
|
|
98
|
+
isUserAuthenticated: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
required: false,
|
|
101
|
+
default: true,
|
|
102
|
+
},
|
|
103
|
+
trackingData: {
|
|
104
|
+
type: Object,
|
|
105
|
+
required: false,
|
|
106
|
+
default: undefined,
|
|
107
|
+
},
|
|
108
|
+
shouldOpenUploadWhenMounted: {
|
|
109
|
+
type: Boolean,
|
|
110
|
+
required: false,
|
|
111
|
+
default: false,
|
|
112
|
+
},
|
|
113
|
+
isModal: {
|
|
114
|
+
type: Boolean,
|
|
115
|
+
required: false,
|
|
116
|
+
default: false,
|
|
117
|
+
},
|
|
118
|
+
useLandscapeTile: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
required: false,
|
|
121
|
+
default: false,
|
|
122
|
+
},
|
|
123
|
+
smallLayout: {
|
|
124
|
+
type: Boolean,
|
|
125
|
+
required: false,
|
|
126
|
+
default: false,
|
|
127
|
+
},
|
|
128
|
+
isDesignCom: {
|
|
129
|
+
type: Boolean,
|
|
130
|
+
required: false,
|
|
131
|
+
default: false,
|
|
132
|
+
},
|
|
133
|
+
assetType: {
|
|
134
|
+
type: Number,
|
|
135
|
+
default: null,
|
|
136
|
+
},
|
|
137
|
+
templateTypeFriendlyName: {
|
|
138
|
+
type: String,
|
|
139
|
+
default: null,
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
data() {
|
|
143
|
+
const self = this;
|
|
144
|
+
|
|
145
|
+
return {
|
|
146
|
+
options: {
|
|
147
|
+
url: '#',
|
|
148
|
+
autoProcessQueue: false,
|
|
149
|
+
maxFiles: 1,
|
|
150
|
+
uploadMultiple: false,
|
|
151
|
+
acceptedFiles: ACCEPTED_MIME_TYPES.join(','),
|
|
152
|
+
accept(file) {
|
|
153
|
+
const extension = file.name.split('.').pop();
|
|
154
|
+
|
|
155
|
+
if (ACCEPTED_FILE_EXTENSIONS.indexOf(extension) < 0) {
|
|
156
|
+
self.displayError(UNSUPPORTED_FILE_ERROR_MSG);
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
const reader = new FileReader();
|
|
161
|
+
const dropzone = this;
|
|
162
|
+
|
|
163
|
+
reader.addEventListener('loadend', () => {
|
|
164
|
+
// eslint-disable-next-line no-param-reassign
|
|
165
|
+
file.status = 'success';
|
|
166
|
+
dropzone.emit('success', file);
|
|
167
|
+
dropzone.emit('complete', file);
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
reader.readAsText(file);
|
|
171
|
+
},
|
|
172
|
+
init() {
|
|
173
|
+
const dropzone = this;
|
|
174
|
+
dropzone.hiddenFileInput.addEventListener('click', (event) => {
|
|
175
|
+
if (!self.isUserAuthenticated) {
|
|
176
|
+
event.preventDefault();
|
|
177
|
+
self.showLoginModal();
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
};
|
|
183
|
+
},
|
|
184
|
+
mounted() {
|
|
185
|
+
if (window) {
|
|
186
|
+
if (this.shouldOpenUploadWhenMounted) {
|
|
187
|
+
if (this.$refs.dropzone && this.$refs.dropzone?.$refs.dropzoneElement) {
|
|
188
|
+
// eslint-disable-next-line no-unused-expressions
|
|
189
|
+
this.$refs?.dropzone?.$refs?.dropzoneElement.click();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
methods: {
|
|
195
|
+
pushTrackingData() {
|
|
196
|
+
if (this.trackingData) {
|
|
197
|
+
window.dataLayer = window.dataLayer || [];
|
|
198
|
+
window.dataLayer.push(this.trackingData);
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
/**
|
|
202
|
+
* @function onUploadSuccess
|
|
203
|
+
* @param {file} File
|
|
204
|
+
* Fires the event to start the byo logo experience
|
|
205
|
+
*/
|
|
206
|
+
onUploadSuccess(file) {
|
|
207
|
+
this.$refs.dropzone.removeAllFiles();
|
|
208
|
+
this.pushTrackingData();
|
|
209
|
+
if (!this.isUserAuthenticated) {
|
|
210
|
+
this.showLoginModal();
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
this.$emit('on-upload-success', file);
|
|
215
|
+
},
|
|
216
|
+
showLoginModal() {
|
|
217
|
+
this.$refs.dropzone.removeAllFiles();
|
|
218
|
+
|
|
219
|
+
this.$emit('on-login-modal-open', RegoSource.UploadUserLogo);
|
|
220
|
+
|
|
221
|
+
window.dispatchEvent(
|
|
222
|
+
new CustomEvent(Events.ShowLoginModal, {
|
|
223
|
+
detail: {
|
|
224
|
+
isSave: true,
|
|
225
|
+
regoSource: RegoSource.UploadUserLogo,
|
|
226
|
+
emailCapturedCallback: this.handleEmailCapturedForLogoUpload,
|
|
227
|
+
shouldReloadPageOnSuccess: false,
|
|
228
|
+
assetType: this.assetType,
|
|
229
|
+
templateTypeName: this.templateTypeFriendlyName,
|
|
230
|
+
userTriggered: TRIGGER_TYPE.Automatic,
|
|
231
|
+
},
|
|
232
|
+
}),
|
|
233
|
+
);
|
|
234
|
+
},
|
|
235
|
+
handleEmailCapturedForLogoUpload() {
|
|
236
|
+
this.$emit('logo-dropzone-login-callback');
|
|
237
|
+
},
|
|
238
|
+
/**
|
|
239
|
+
* @function displayError
|
|
240
|
+
* @paramm {msg} String
|
|
241
|
+
* Displays a custom error message in the Dropzone error region
|
|
242
|
+
*/
|
|
243
|
+
displayError(msg) {
|
|
244
|
+
if (this.$refs?.dropzone?.$refs?.dropzoneElement) {
|
|
245
|
+
const $errorContainer = this.$refs.dropzone.$refs.dropzoneElement.querySelector('.dz-error-message');
|
|
246
|
+
if ($errorContainer) {
|
|
247
|
+
$errorContainer.innerText = msg;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
};
|
|
253
|
+
</script>
|
|
254
|
+
<style>
|
|
255
|
+
.c-upload-your-logo .dz-success-mark,
|
|
256
|
+
.c-upload-your-logo .dz-error-mark,
|
|
257
|
+
.c-upload-your-logo .dz-details {
|
|
258
|
+
display: none;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.c-upload-your-logo .dz-error-message {
|
|
262
|
+
color: #f21b3f;
|
|
263
|
+
font-size: 0.875rem;
|
|
264
|
+
line-height: 1.25rem;
|
|
265
|
+
}
|
|
266
|
+
</style>
|
package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.stories.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import LogoBusinessBrandColours from './LogoBusinessBrandColours.vue';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Components/LogoBusinessBrandColours',
|
|
5
|
+
component: LogoBusinessBrandColours,
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const Sample = () => {
|
|
9
|
+
return {
|
|
10
|
+
components: {
|
|
11
|
+
LogoBusinessBrandColours,
|
|
12
|
+
},
|
|
13
|
+
data() {
|
|
14
|
+
return {
|
|
15
|
+
uploadedLogoData: {
|
|
16
|
+
templateUploadToken: '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647',
|
|
17
|
+
logoImageUrl:
|
|
18
|
+
'https://images.unsplash.com/photo-1621745491698-86b18793ce6f?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=300&ixlib=rb-1.2.1&q=80&w=300',
|
|
19
|
+
logoImageDetails: {
|
|
20
|
+
businessText: 'LOGO TEXT HERE',
|
|
21
|
+
sloganText: 'Slogan Text Here',
|
|
22
|
+
textColors: ['#EF4444', '#F59E0B', '#10B981', '#991B1B', '#8B5CF6', '#F472B6'],
|
|
23
|
+
backgroundColors: ['#041444'],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
template: `
|
|
29
|
+
<div>
|
|
30
|
+
<LogoBusinessBrandColours
|
|
31
|
+
:logo-data="uploadedLogoData"
|
|
32
|
+
cropped-logo-image="https://source.unsplash.com/random/300x300"
|
|
33
|
+
/>
|
|
34
|
+
</div>
|
|
35
|
+
`,
|
|
36
|
+
};
|
|
37
|
+
};
|