@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,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5ZM1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM5.1 8C5.1 7.72386 5.32386 7.5 5.6 7.5H10.4C10.6761 7.5 10.9 7.72386 10.9 8C10.9 8.27614 10.6761 8.5 10.4 8.5H5.6C5.32386 8.5 5.1 8.27614 5.1 8Z"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M7.99992 2.08337C4.73223 2.08337 2.08325 4.73236 2.08325 8.00004C2.08325 11.2677 4.73223 13.9167 7.99992 13.9167C8.69028 13.9167 9.24992 13.3571 9.24992 12.6667V12.3334C9.24992 12.3169 9.24991 12.3006 9.24991 12.2845C9.24982 12.0228 9.24975 11.821 9.27345 11.6411C9.43591 10.4071 10.407 9.43603 11.641 9.27357C11.8209 9.24988 12.0227 9.24994 12.2844 9.25003C12.3005 9.25004 12.3167 9.25004 12.3333 9.25004H12.6666C13.3569 9.25004 13.9166 8.6904 13.9166 8.00004C13.9166 4.73236 11.2676 2.08337 7.99992 2.08337ZM0.583252 8.00004C0.583252 3.90393 3.90381 0.583374 7.99992 0.583374C12.096 0.583374 15.4166 3.90393 15.4166 8.00004C15.4166 9.51882 14.1854 10.75 12.6666 10.75H12.3333C11.9998 10.75 11.9057 10.7517 11.8368 10.7607C11.2758 10.8346 10.8345 11.276 10.7606 11.8369C10.7515 11.9058 10.7499 11.9999 10.7499 12.3334V12.6667C10.7499 14.1855 9.5187 15.4167 7.99992 15.4167C3.90381 15.4167 0.583252 12.0962 0.583252 8.00004ZM6.66659 4.75004C6.71261 4.75004 6.74992 4.71273 6.74992 4.66671C6.74992 4.62068 6.71261 4.58337 6.66659 4.58337C6.62056 4.58337 6.58325 4.62068 6.58325 4.66671C6.58325 4.71273 6.62056 4.75004 6.66659 4.75004ZM5.24992 4.66671C5.24992 3.8843 5.88418 3.25004 6.66659 3.25004C7.44899 3.25004 8.08325 3.8843 8.08325 4.66671C8.08325 5.44911 7.44899 6.08337 6.66659 6.08337C5.88418 6.08337 5.24992 5.44911 5.24992 4.66671ZM10.6666 5.41671C10.7126 5.41671 10.7499 5.3794 10.7499 5.33337C10.7499 5.28735 10.7126 5.25004 10.6666 5.25004C10.6206 5.25004 10.5833 5.28735 10.5833 5.33337C10.5833 5.3794 10.6206 5.41671 10.6666 5.41671ZM9.24992 5.33337C9.24992 4.55097 9.88418 3.91671 10.6666 3.91671C11.449 3.91671 12.0833 4.55097 12.0833 5.33337C12.0833 6.11578 11.449 6.75004 10.6666 6.75004C9.88418 6.75004 9.24992 6.11578 9.24992 5.33337ZM4.66659 8.08337C4.71261 8.08337 4.74992 8.04606 4.74992 8.00004C4.74992 7.95402 4.71261 7.91671 4.66659 7.91671C4.62056 7.91671 4.58325 7.95402 4.58325 8.00004C4.58325 8.04606 4.62056 8.08337 4.66659 8.08337ZM3.24992 8.00004C3.24992 7.21764 3.88418 6.58337 4.66659 6.58337C5.44899 6.58337 6.08325 7.21764 6.08325 8.00004C6.08325 8.78244 5.44899 9.41671 4.66659 9.41671C3.88418 9.41671 3.24992 8.78244 3.24992 8.00004Z"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M0.802937 0.803029C0.987686 0.61828 1.25527 0.542992 1.50925 0.604297L10.5138 2.77781C10.5302 2.78177 10.5473 2.78582 10.565 2.79001C10.7472 2.8331 10.9937 2.89138 11.2035 3.02818C11.3841 3.14595 11.5354 3.30338 11.646 3.48849C11.7744 3.70352 11.8229 3.95206 11.8588 4.13584C11.8623 4.1537 11.8656 4.17094 11.8689 4.18749L12.5379 7.53203C12.728 7.51468 12.9207 7.53584 13.1044 7.5955C13.3121 7.66301 13.4697 7.77702 13.5902 7.87932C13.699 7.97171 13.8171 8.08983 13.935 8.20777L14.4589 8.73164C14.5768 8.84953 14.6949 8.96761 14.7873 9.07644C14.8896 9.19694 15.0036 9.35448 15.0711 9.56225C15.1636 9.84678 15.1636 10.1533 15.0711 10.4378C15.0036 10.6456 14.8896 10.8031 14.7873 10.9236C14.6949 11.0324 14.5768 11.1505 14.4589 11.2684L11.2683 14.459C11.1504 14.5769 11.0324 14.695 10.9235 14.7874C10.803 14.8897 10.6455 15.0037 10.4377 15.0712C10.1532 15.1637 9.84669 15.1637 9.56216 15.0712C9.35439 15.0037 9.19685 14.8897 9.07634 14.7874C8.96752 14.695 8.84945 14.5769 8.73156 14.459L8.20766 13.9351C8.08973 13.8172 7.97162 13.6991 7.87923 13.5903C7.77693 13.4698 7.66292 13.3122 7.59541 13.1045C7.53575 12.9208 7.51459 12.7281 7.53194 12.5379L4.1874 11.869C4.17085 11.8657 4.1536 11.8624 4.13574 11.8589C3.95197 11.823 3.70343 11.7745 3.4884 11.6461C3.30329 11.5355 3.14585 11.3842 3.02809 11.2036C2.89129 10.9938 2.83301 10.7473 2.78991 10.5651C2.78573 10.5474 2.78168 10.5303 2.77772 10.5139L0.604206 1.50934C0.5429 1.25536 0.618188 0.987778 0.802937 0.803029ZM9.06481 12.6667C9.11212 12.7178 9.17955 12.7856 9.28451 12.8906L9.77602 13.3821C9.88098 13.4871 9.94887 13.5545 9.99993 13.6018C10.051 13.5545 10.1189 13.4871 10.2239 13.3821L13.382 10.2239C13.487 10.119 13.5544 10.0511 13.6017 10C13.5544 9.94896 13.487 9.88107 13.382 9.77611L12.8905 9.2846C12.7856 9.17964 12.7177 9.11221 12.6666 9.0649C12.6155 9.11221 12.5476 9.17964 12.4427 9.2846L9.28451 12.4428C9.17955 12.5477 9.11212 12.6156 9.06481 12.6667ZM11.1858 8.42019L8.42009 11.1859L4.48157 10.3982C4.41975 10.3858 4.37179 10.3762 4.3304 10.3674C4.31258 10.3636 4.29745 10.3602 4.28449 10.3573C4.281 10.3444 4.27707 10.3294 4.27257 10.3118C4.26213 10.2708 4.25064 10.2232 4.23585 10.162L2.68778 3.74853L5.42817 6.48893C5.3136 6.74704 5.24993 7.03276 5.24993 7.33336C5.24993 8.48395 6.18267 9.41669 7.33327 9.41669C8.48386 9.41669 9.4166 8.48395 9.4166 7.33336C9.4166 6.18277 8.48386 5.25003 7.33327 5.25003C7.03267 5.25003 6.74694 5.31369 6.48883 5.42827L3.74844 2.68787L10.1619 4.23594C10.2231 4.25073 10.2707 4.26222 10.3117 4.27266C10.3294 4.27716 10.3443 4.2811 10.3572 4.28458C10.3601 4.29754 10.3635 4.31267 10.3673 4.33049C10.3761 4.37189 10.3857 4.41984 10.3981 4.48166L11.1858 8.42019ZM6.91269 6.92914C6.91545 6.92646 6.9182 6.92375 6.92093 6.92102C6.92366 6.91829 6.92637 6.91554 6.92905 6.91278C7.0339 6.81199 7.17635 6.75003 7.33327 6.75003C7.65543 6.75003 7.9166 7.01119 7.9166 7.33336C7.9166 7.65553 7.65543 7.91669 7.33327 7.91669C7.0111 7.91669 6.74993 7.65553 6.74993 7.33336C6.74993 7.17644 6.8119 7.03399 6.91269 6.92914Z"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
transform="translate(1, 1)"
|
|
6
|
+
d="M1.5 7C1.5 5.54131 2.07946 4.14236 3.11091 3.11091C4.14236 2.07946 5.54131 1.5 7 1.5C8.45869 1.5 9.85764 2.07946 10.8891 3.11091C11.9205 4.14236 12.5 5.54131 12.5 7C12.5 8.45869 11.9205 9.85764 10.8891 10.8891C9.85764 11.9205 8.45869 12.5 7 12.5C5.54131 12.5 4.14236 11.9205 3.11091 10.8891C2.07946 9.85764 1.5 8.45869 1.5 7ZM7 0.5C5.27609 0.5 3.62279 1.18482 2.40381 2.40381C1.18482 3.62279 0.5 5.27609 0.5 7C0.5 8.72391 1.18482 10.3772 2.40381 11.5962C3.62279 12.8152 5.27609 13.5 7 13.5C8.72391 13.5 10.3772 12.8152 11.5962 11.5962C12.8152 10.3772 13.5 8.72391 13.5 7C13.5 5.27609 12.8152 3.62279 11.5962 2.40381C10.3772 1.18482 8.72391 0.5 7 0.5V0.5ZM7 3.5C7.13261 3.5 7.25979 3.55268 7.35355 3.64645C7.44732 3.74021 7.5 3.86739 7.5 4V6.5H10C10.1326 6.5 10.2598 6.55268 10.3536 6.64645C10.4473 6.74021 10.5 6.86739 10.5 7C10.5 7.13261 10.4473 7.25979 10.3536 7.35355C10.2598 7.44732 10.1326 7.5 10 7.5H7.5V10C7.5 10.1326 7.44732 10.2598 7.35355 10.3536C7.25979 10.4473 7.13261 10.5 7 10.5C6.86739 10.5 6.74021 10.4473 6.64645 10.3536C6.55268 10.2598 6.5 10.1326 6.5 10V7.5H4C3.86739 7.5 3.74021 7.44732 3.64645 7.35355C3.55268 7.25979 3.5 7.13261 3.5 7C3.5 6.86739 3.55268 6.74021 3.64645 6.64645C3.74021 6.55268 3.86739 6.5 4 6.5H6.5V4C6.5 3.86739 6.55268 3.74021 6.64645 3.64645C6.74021 3.55268 6.86739 3.5 7 3.5V3.5Z"
|
|
7
|
+
/>
|
|
8
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M7.667.583a7.417 7.417 0 1 0 0 14.834 7.417 7.417 0 0 0 0-14.834ZM5.593 6.857c.314 0 .592-.25.592-.571 0-.625.519-1.143 1.185-1.143h.593c.648 0 1.185.518 1.185 1.143v.071c0 .393-.222.75-.555.964l-.778.483c-.463.285-.74.785-.74 1.321v.018c0 .321.258.571.592.571.314 0 .592-.25.592-.571v-.018c0-.143.074-.286.204-.357l.778-.482c.666-.429 1.092-1.143 1.092-1.929v-.071C10.333 5.036 9.26 4 7.963 4H7.37C6.056 4 5 5.036 5 6.286c0 .321.26.571.593.571Zm1.426 4.786c.13.232.37.357.648.357.259 0 .5-.125.63-.357a.704.704 0 0 0 0-.714.753.753 0 0 0-1.278 0c-.13.232-.13.5 0 .714Z"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M7.66667 2.75C4.95127 2.75 2.75 4.95127 2.75 7.66667C2.75 10.3821 4.95127 12.5833 7.66667 12.5833C8.98369 12.5833 10.1798 12.0655 11.0624 11.2223C11.0845 11.1923 11.1092 11.1635 11.1364 11.1363C11.1636 11.1091 11.1923 11.0845 11.2224 11.0623C12.0655 10.1797 12.5833 8.98367 12.5833 7.66667C12.5833 4.95127 10.3821 2.75 7.66667 2.75ZM12.7034 11.6427C13.5675 10.5495 14.0833 9.16832 14.0833 7.66667C14.0833 4.12284 11.2105 1.25 7.66667 1.25C4.12284 1.25 1.25 4.12284 1.25 7.66667C1.25 11.2105 4.12284 14.0833 7.66667 14.0833C9.16834 14.0833 10.5495 13.5675 11.6427 12.7033L13.4697 14.5303C13.7626 14.8232 14.2374 14.8232 14.5303 14.5303C14.8232 14.2374 14.8232 13.7626 14.5303 13.4697L12.7034 11.6427Z"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
d="M14.2503 5.63l-3.7761-.5749-1.6895-3.5855c-.2957-.6261-1.2739-.6261-1.5696 0L5.5265 5.0551l-3.777.5749c-.7149.109-1.0045 1.0332-.4848 1.565L3.998 9.9855l-.6448 3.9412c-.1216.7463.6273 1.3193 1.2695.9663l3.3772-1.8601 3.378 1.861c.637.3493 1.392-.2145 1.2696-.9663l-.6449-3.9412 2.7333-2.7907c.5188-.5326.2292-1.4567-.4856-1.5658z"
|
|
4
|
+
fill-rule="nonzero"
|
|
5
|
+
/>
|
|
6
|
+
</template>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
d="M11.377 14.892l-3.3772-1.86-3.3772 1.86c-.636.3547-1.3929-.2155-1.2695-.9662l.6448-3.941-2.7332-2.7904c-.5197-.5317-.2301-1.4548.4856-1.5639l3.776-.5748 1.6895-3.5861c.294-.6261 1.2748-.6261 1.5688 0l1.6894 3.5852 3.7761.5748c.7157.109 1.0044 1.0322.4856 1.5639l-2.7332 2.7914.6448 3.9409c.1233.7544-.6352 1.3164-1.2704.9662zm-2.9695-3.7072l2.2152 1.2202-.4225-2.5852c-.049-.297.0455-.6004.251-.8112L12.244 7.177l-2.4768-.3768c-.2861-.043-.532-.231-.6588-.5014L7.9998 3.9465 6.8912 6.2988c-.1277.2704-.3735.4583-.6588.5014l-2.4768.3768 1.7927 1.8316c.2056.2099.3.5142.251.8112l-.4225 2.5852 2.2152-1.2202a.838.838 0 01.8155 0z"
|
|
4
|
+
fill-rule="nonzero"
|
|
5
|
+
/>
|
|
6
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M4.64336 1.91663H11.3568C11.6474 1.91662 11.9023 1.91661 12.114 1.93105C12.3381 1.94635 12.5682 1.9803 12.7973 2.07521C13.3078 2.28666 13.7134 2.69223 13.9248 3.2027C14.0197 3.43184 14.0537 3.6619 14.069 3.88603C14.0834 4.09776 14.0834 4.3526 14.0834 4.64323V4.66663C14.0834 5.08084 13.7476 5.41663 13.3334 5.41663C12.9192 5.41663 12.5834 5.08084 12.5834 4.66663C12.5834 4.34574 12.583 4.14263 12.5725 3.98814C12.5624 3.84038 12.5456 3.79262 12.539 3.77673C12.4798 3.6338 12.3662 3.52024 12.2233 3.46103C12.2074 3.45445 12.1597 3.43766 12.0119 3.42757C11.8574 3.41703 11.6543 3.41663 11.3334 3.41663H8.75008V12.5833H10.0001C10.4143 12.5833 10.7501 12.9191 10.7501 13.3333C10.7501 13.7475 10.4143 14.0833 10.0001 14.0833H6.00008C5.58587 14.0833 5.25008 13.7475 5.25008 13.3333C5.25008 12.9191 5.58587 12.5833 6.00008 12.5833H7.25008V3.41663H4.66675C4.34586 3.41663 4.14275 3.41703 3.98826 3.42757C3.84051 3.43766 3.79275 3.45445 3.77685 3.46103C3.63392 3.52024 3.52036 3.6338 3.46115 3.77673C3.45457 3.79262 3.43778 3.84038 3.4277 3.98814C3.41716 4.14263 3.41675 4.34574 3.41675 4.66663C3.41675 5.08084 3.08096 5.41663 2.66675 5.41663C2.25254 5.41663 1.91675 5.08084 1.91675 4.66663L1.91675 4.64323C1.91674 4.3526 1.91673 4.09776 1.93118 3.88603C1.94647 3.6619 1.98042 3.43184 2.07533 3.2027C2.28678 2.69223 2.69235 2.28666 3.20283 2.07521C3.43196 1.9803 3.66203 1.94635 3.88616 1.93105C4.09789 1.91661 4.35272 1.91662 4.64336 1.91663Z"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M6.33323 2.75C5.09059 2.75 4.08323 3.75736 4.08323 5C4.08323 6.24264 5.09059 7.25 6.33323 7.25C7.57587 7.25 8.58323 6.24264 8.58323 5C8.58323 3.75736 7.57587 2.75 6.33323 2.75ZM2.58323 5C2.58323 2.92893 4.26216 1.25 6.33323 1.25C8.4043 1.25 10.0832 2.92893 10.0832 5C10.0832 7.07107 8.4043 8.75 6.33323 8.75C4.26216 8.75 2.58323 7.07107 2.58323 5ZM9.99493 1.97807C10.1793 1.60713 10.6294 1.45587 11.0003 1.6402C12.2333 2.25293 13.0832 3.52652 13.0832 5C13.0832 6.47348 12.2333 7.74707 11.0003 8.3598C10.6294 8.54413 10.1793 8.39287 9.99493 8.02193C9.81059 7.651 9.96186 7.20086 10.3328 7.01652C11.0755 6.64745 11.5832 5.88233 11.5832 5C11.5832 4.11767 11.0755 3.35255 10.3328 2.98348C9.96186 2.79914 9.81059 2.349 9.99493 1.97807ZM6.33323 10.75C4.73416 10.75 3.276 11.6213 2.33028 13.0413C2.27422 13.1255 2.23109 13.1903 2.19523 13.2469C2.20917 13.2473 2.22405 13.2477 2.23994 13.2481C2.32471 13.25 2.42301 13.25 2.54814 13.25H10.1183C10.2435 13.25 10.3418 13.25 10.4265 13.2481C10.4424 13.2477 10.4573 13.2473 10.4712 13.2469C10.4354 13.1903 10.3922 13.1255 10.3362 13.0413C9.39046 11.6213 7.9323 10.75 6.33323 10.75ZM1.08183 12.2098C2.26185 10.4381 4.15813 9.25 6.33323 9.25C8.50833 9.25 10.4046 10.4381 11.5846 12.2098C11.5903 12.2183 11.596 12.2268 11.6017 12.2354C11.7031 12.3876 11.8152 12.5557 11.8941 12.7166C11.9904 12.9131 12.0615 13.1429 12.0449 13.4182C12.0317 13.6381 11.9591 13.8401 11.874 13.999C11.7889 14.158 11.661 14.3304 11.4853 14.4633C11.2495 14.6416 10.9966 14.7028 10.7794 14.7281C10.5903 14.7501 10.3677 14.7501 10.15 14.75C10.1395 14.75 10.1289 14.75 10.1183 14.75H2.54814C2.53758 14.75 2.52701 14.75 2.51642 14.75C2.29877 14.7501 2.07617 14.7501 1.88703 14.7281C1.66988 14.7028 1.41696 14.6416 1.18113 14.4633L1.63353 13.8651M11.3297 10.2213C11.5156 9.85112 11.9664 9.7018 12.3366 9.88773C13.4411 10.4426 14.3733 11.3251 15.0473 12.4109C15.0547 12.4229 15.0626 12.4354 15.0707 12.4483C15.1692 12.6054 15.3074 12.8258 15.3524 13.1163C15.4048 13.4539 15.313 13.774 15.1787 14.0154C15.0444 14.2568 14.8209 14.5036 14.5065 14.6372C14.2341 14.7529 13.9403 14.7514 13.7257 14.7502C13.7052 14.7501 13.6855 14.75 13.6666 14.75C13.2524 14.75 12.9166 14.4142 12.9166 14C12.9166 13.5858 13.2524 13.25 13.6666 13.25C13.7197 13.25 13.7638 13.25 13.8024 13.2497C13.7935 13.2352 13.7837 13.2195 13.7729 13.202C13.2321 12.3308 12.4999 11.6484 11.6632 11.2281C11.2931 11.0422 11.1438 10.5914 11.3297 10.2213ZM1.08183 12.2098C1.07618 12.2183 1.07049 12.2268 1.06476 12.2354ZM1.06476 12.2354C0.963345 12.3876 0.851235 12.5557 0.772357 12.7166ZM0.772357 12.7166C0.676039 12.9131 0.605008 13.1429 0.621536 13.4182ZM0.621536 13.4182C0.634734 13.6381 0.707385 13.8401 0.792496 13.999ZM0.792496 13.999C0.877607 14.158 1.00544 14.3304 1.18113 14.4633Z"
|
|
6
|
+
/>
|
|
7
|
+
</template>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const hashPrefix = '#';
|
|
2
|
+
const hashSeparator = '|';
|
|
3
|
+
const hashRemoveRegex = /[#|]/;
|
|
4
|
+
|
|
5
|
+
const appendHash = (fullHash, newHash) => {
|
|
6
|
+
return `#${fullHash
|
|
7
|
+
.replace(hashPrefix, '')
|
|
8
|
+
.split(hashSeparator)
|
|
9
|
+
.filter((x) => x)
|
|
10
|
+
.concat(newHash)
|
|
11
|
+
.join(hashSeparator)}`;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const HashRouterMixin = {
|
|
15
|
+
props: {
|
|
16
|
+
isHashRouteEnabled: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
required: false,
|
|
19
|
+
default: false,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
data: () => ({
|
|
23
|
+
removeHookFunc: undefined,
|
|
24
|
+
}),
|
|
25
|
+
mounted() {
|
|
26
|
+
if (!this.isHashRouteEnabled || !this.$router || typeof this.onHashRouteChange !== 'function') {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
this.removeHookFunc = this.$router.afterEach((to, from) => {
|
|
31
|
+
const hashDiff = from.hash.split(to.hash).join('').replace(hashRemoveRegex, '');
|
|
32
|
+
|
|
33
|
+
this.onHashRouteChange(hashDiff);
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
unmounted() {
|
|
37
|
+
if (this.removeHookFunc) {
|
|
38
|
+
this.removeHookFunc();
|
|
39
|
+
this.removeHookFunc = undefined;
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
hashRoutePush(hashValue) {
|
|
44
|
+
if (!this.isHashRouteEnabled || !this.$router) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const hash = appendHash(this.$router.currentRoute.value.hash, hashValue);
|
|
49
|
+
|
|
50
|
+
this.$router.push({ hash });
|
|
51
|
+
},
|
|
52
|
+
hashRouteBack(hashValue) {
|
|
53
|
+
if (!this.isHashRouteEnabled || !this.$router) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (
|
|
58
|
+
this.$router.currentRoute.value.hash.split(hashSeparator).filter((x) => x.indexOf(hashValue) > -1).length === 0
|
|
59
|
+
) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
this.$router.back();
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export default HashRouterMixin;
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div ref="wall" class="masonry-wall" :style="_style.wall" :class="{ ready }">
|
|
3
|
+
<div v-for="(lane, index) in columns" :key="index" class="masonry-column" :style="_style.lane">
|
|
4
|
+
<div v-for="i in lane.indexes" :key="i" :ref="`item_${i}`" class="masonry-item" :style="_style.item">
|
|
5
|
+
<slot :item="items[i]" :index="i">{{ items[i] }}</slot>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div
|
|
9
|
+
ref="bottom"
|
|
10
|
+
v-observe-visibility="{ callback: (v) => v && _fill(), throttle: _options.throttle }"
|
|
11
|
+
class="masonry-bottom"
|
|
12
|
+
:data-column="index"
|
|
13
|
+
></div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
<!-- eslint-disable no-underscore-dangle -->
|
|
18
|
+
<!-- eslint-disable no-plusplus -->
|
|
19
|
+
<!-- eslint-disable vue/require-default-prop -->
|
|
20
|
+
<script>
|
|
21
|
+
import { ObserveVisibility } from 'vue-observe-visibility';
|
|
22
|
+
import maxBy from './maxBy';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @param count number of columns to create
|
|
26
|
+
* @returns {[{i: number, indexes: []},...]}
|
|
27
|
+
*/
|
|
28
|
+
const _newColumns = (count) => {
|
|
29
|
+
const columns = [];
|
|
30
|
+
for (let i = 0; i < count; i++) {
|
|
31
|
+
columns.push({ i, indexes: [] });
|
|
32
|
+
}
|
|
33
|
+
return columns;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default {
|
|
37
|
+
name: 'VueMasonryWall',
|
|
38
|
+
directives: {
|
|
39
|
+
'observe-visibility': ObserveVisibility,
|
|
40
|
+
},
|
|
41
|
+
props: {
|
|
42
|
+
/**
|
|
43
|
+
* Array of items to add into masonry
|
|
44
|
+
*/
|
|
45
|
+
items: {
|
|
46
|
+
type: Array,
|
|
47
|
+
required: true,
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Options to config masonry.
|
|
52
|
+
*
|
|
53
|
+
* {
|
|
54
|
+
* width: 300,
|
|
55
|
+
* padding: {
|
|
56
|
+
* default: 12,
|
|
57
|
+
* 1: 6,
|
|
58
|
+
* 2: 8,
|
|
59
|
+
* },
|
|
60
|
+
* throttle: 300
|
|
61
|
+
* }
|
|
62
|
+
*/
|
|
63
|
+
options: {
|
|
64
|
+
type: Object,
|
|
65
|
+
required: false,
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* SSR has no clue what is the size of your height of your element or width of the browser.
|
|
70
|
+
* You can however guess based on user-agent: https://github.com/nuxt-community/device-module
|
|
71
|
+
* This param allow you to preload a config for SSR rendering, it will distribute your items into all columns evenly.
|
|
72
|
+
*
|
|
73
|
+
* Once the client is mounted, it will redraw if the config is different from SSR.
|
|
74
|
+
*
|
|
75
|
+
* {
|
|
76
|
+
* column: 2
|
|
77
|
+
* }
|
|
78
|
+
*/
|
|
79
|
+
ssr: {
|
|
80
|
+
type: Object,
|
|
81
|
+
required: false,
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
data() {
|
|
85
|
+
const count = this.ssr && this.ssr.columns;
|
|
86
|
+
if (count > 0) {
|
|
87
|
+
const columns = _newColumns(count);
|
|
88
|
+
|
|
89
|
+
for (let i = 0; i < this.items.length; i++) {
|
|
90
|
+
columns[i % count].indexes.push(i);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
columns,
|
|
95
|
+
cursor: this.items.length,
|
|
96
|
+
ready: false,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
columns: [],
|
|
102
|
+
cursor: 0,
|
|
103
|
+
ready: false,
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
computed: {
|
|
107
|
+
/**
|
|
108
|
+
* Options with default override if not given
|
|
109
|
+
*
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
_options() {
|
|
113
|
+
const { options } = this;
|
|
114
|
+
return {
|
|
115
|
+
width: (options && options.width) || 300,
|
|
116
|
+
padding: {
|
|
117
|
+
default: (options && options.padding && options.padding.default) || 12,
|
|
118
|
+
},
|
|
119
|
+
throttle: (options && options.throttle) || 300,
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Style of wall, column and item for padding
|
|
125
|
+
* @private
|
|
126
|
+
*/
|
|
127
|
+
_style() {
|
|
128
|
+
let padding = this.options && this.options.padding;
|
|
129
|
+
if (padding && typeof padding !== 'number') {
|
|
130
|
+
padding = this.options.padding[this.columns.length] || this._options.padding.default;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
wall: {
|
|
135
|
+
margin: `-${padding}px`,
|
|
136
|
+
},
|
|
137
|
+
lane: {
|
|
138
|
+
paddingLeft: `${padding}px`,
|
|
139
|
+
paddingRight: `${padding}px`,
|
|
140
|
+
},
|
|
141
|
+
item: {
|
|
142
|
+
paddingTop: `${padding}px`,
|
|
143
|
+
paddingBottom: `${padding}px`,
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
watch: {
|
|
149
|
+
items: {
|
|
150
|
+
handler() {
|
|
151
|
+
this._fill();
|
|
152
|
+
},
|
|
153
|
+
deep: true,
|
|
154
|
+
},
|
|
155
|
+
options: {
|
|
156
|
+
handler(oldValue, newValue) {
|
|
157
|
+
if (oldValue.width === newValue.width) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
this.redraw();
|
|
162
|
+
},
|
|
163
|
+
deep: true,
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* For detecting browser resize event to redraw the columns.
|
|
168
|
+
*/
|
|
169
|
+
mounted() {
|
|
170
|
+
this.$resize = () => {
|
|
171
|
+
if (this.columns.length !== this._columnSize()) {
|
|
172
|
+
this.redraw();
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
this.$resize();
|
|
177
|
+
|
|
178
|
+
// set opacity to 1 when ssr.columns is recieved and this.columns.length === this._columnSize() so redraw does not get called for the first time.
|
|
179
|
+
if (!this.ready) this.ready = true;
|
|
180
|
+
|
|
181
|
+
window.addEventListener('resize', this.$resize);
|
|
182
|
+
},
|
|
183
|
+
/**
|
|
184
|
+
* Remove resize event listener
|
|
185
|
+
*/
|
|
186
|
+
beforeDestroy() {
|
|
187
|
+
window.removeEventListener('resize', this.$resize);
|
|
188
|
+
},
|
|
189
|
+
methods: {
|
|
190
|
+
/**
|
|
191
|
+
* Redraw masonry
|
|
192
|
+
*/
|
|
193
|
+
redraw() {
|
|
194
|
+
this.ready = false;
|
|
195
|
+
this.columns.splice(0);
|
|
196
|
+
this.cursor = 0;
|
|
197
|
+
this.columns.push(..._newColumns(this._columnSize()));
|
|
198
|
+
this.ready = true;
|
|
199
|
+
this._fill();
|
|
200
|
+
},
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @returns {number}
|
|
205
|
+
* @private internal component use
|
|
206
|
+
*/
|
|
207
|
+
_columnSize() {
|
|
208
|
+
if (!this.$refs.wall) {
|
|
209
|
+
return 1;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
const length = Math.round(this.$refs.wall.scrollWidth / this._options.width);
|
|
213
|
+
if (length < 1) return 1;
|
|
214
|
+
return length;
|
|
215
|
+
},
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Add items into masonry columns, items are added to the shortest column first.
|
|
219
|
+
*
|
|
220
|
+
* @private internal component use
|
|
221
|
+
*/
|
|
222
|
+
_fill() {
|
|
223
|
+
if (!this.ready) return;
|
|
224
|
+
|
|
225
|
+
if (this.cursor >= this.items.length) {
|
|
226
|
+
// Request for more items
|
|
227
|
+
this.$emit('append');
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// Keep filling until no more items
|
|
232
|
+
this.$nextTick(() => {
|
|
233
|
+
const bottom = maxBy(this.$refs.bottom, (spacer) => spacer.clientHeight || 0);
|
|
234
|
+
this._addItem(bottom.dataset.column);
|
|
235
|
+
this._fill();
|
|
236
|
+
});
|
|
237
|
+
},
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Items will automatically be taken from items with cursor.
|
|
241
|
+
*
|
|
242
|
+
* @param index of the column to add to
|
|
243
|
+
* @private internal component use
|
|
244
|
+
*/
|
|
245
|
+
_addItem(index) {
|
|
246
|
+
const column = this.columns[index];
|
|
247
|
+
if (this.items[this.cursor]) {
|
|
248
|
+
column.indexes.push(this.cursor);
|
|
249
|
+
this.cursor++;
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
};
|
|
254
|
+
</script>
|
|
255
|
+
|
|
256
|
+
<style scoped>
|
|
257
|
+
.masonry-wall {
|
|
258
|
+
display: flex;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.masonry-wall:not(.ready) {
|
|
262
|
+
opacity: 0;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.masonry-column {
|
|
266
|
+
flex-grow: 1;
|
|
267
|
+
flex-basis: 0;
|
|
268
|
+
|
|
269
|
+
display: flex;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.masonry-bottom {
|
|
274
|
+
flex-grow: 1;
|
|
275
|
+
margin-top: -300px;
|
|
276
|
+
padding-top: 300px;
|
|
277
|
+
min-height: 100px;
|
|
278
|
+
z-index: -1;
|
|
279
|
+
}
|
|
280
|
+
</style>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* eslint-disable no-restricted-syntax */
|
|
2
|
+
function getTag(value) {
|
|
3
|
+
if (value == null) {
|
|
4
|
+
return value === undefined ? '[object Undefined]' : '[object Null]';
|
|
5
|
+
}
|
|
6
|
+
return toString.call(value);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function isSymbol(value) {
|
|
10
|
+
const type = typeof value;
|
|
11
|
+
// eslint-disable-next-line eqeqeq
|
|
12
|
+
return type == 'symbol' || (type === 'object' && value != null && getTag(value) == '[object Symbol]');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* This method is like `max` except that it accepts `iteratee` which is
|
|
17
|
+
* invoked for each element in `array` to generate the criterion by which
|
|
18
|
+
* the value is ranked. The iteratee is invoked with one argument: (value).
|
|
19
|
+
*
|
|
20
|
+
* @since 4.0.0
|
|
21
|
+
* @category Math
|
|
22
|
+
* @param {Array} array The array to iterate over.
|
|
23
|
+
* @param {Function} iteratee The iteratee invoked per element.
|
|
24
|
+
* @returns {*} Returns the maximum value.
|
|
25
|
+
* @example
|
|
26
|
+
*
|
|
27
|
+
* const objects = [{ 'n': 1 }, { 'n': 2 }]
|
|
28
|
+
*
|
|
29
|
+
* maxBy(objects, ({ n }) => n)
|
|
30
|
+
* // => { 'n': 2 }
|
|
31
|
+
*/
|
|
32
|
+
function maxBy(array, iteratee) {
|
|
33
|
+
let result;
|
|
34
|
+
if (array == null) {
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
let computed;
|
|
38
|
+
for (const value of array) {
|
|
39
|
+
const current = iteratee(value);
|
|
40
|
+
|
|
41
|
+
// eslint-disable-next-line no-self-compare
|
|
42
|
+
if (current != null && (computed === undefined ? current === current && !isSymbol(current) : current > computed)) {
|
|
43
|
+
computed = current;
|
|
44
|
+
result = value;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default maxBy;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import axios from 'axios';
|
|
2
|
+
import API from '../constants/api';
|
|
3
|
+
|
|
4
|
+
let internalAxios;
|
|
5
|
+
|
|
6
|
+
const setBrandCrowdApiClientAxios = (axiosInstance) => {
|
|
7
|
+
internalAxios = axiosInstance;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const getAxios = () => {
|
|
11
|
+
return internalAxios || axios;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const uploadLogoAndGetDetails = async (logoFile) => {
|
|
15
|
+
const formData = new FormData();
|
|
16
|
+
formData.append('logoImage', logoFile && logoFile.file);
|
|
17
|
+
|
|
18
|
+
try {
|
|
19
|
+
const response = await getAxios()({
|
|
20
|
+
method: 'post',
|
|
21
|
+
url: API.BYO_LOGO_API_URL + API.BYO_LOGO_API_UPLOAD_LOGO_ENDPOINT,
|
|
22
|
+
data: formData,
|
|
23
|
+
headers: { 'Content-Type': 'multipart/form-data' },
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
return { success: response.status === 200, response };
|
|
27
|
+
} catch (error) {
|
|
28
|
+
return { success: false, error };
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const createUserLogo = async (payload) => {
|
|
33
|
+
try {
|
|
34
|
+
const response = await getAxios()({
|
|
35
|
+
method: 'post',
|
|
36
|
+
url: API.BYO_LOGO_API_URL + API.BYO_LOGO_API_SAVE_ENDPOINT,
|
|
37
|
+
data: payload,
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
if (!payload.isPostPurchaseUserUpload) {
|
|
41
|
+
return { success: true, response };
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const linkResponse = await getAxios()({
|
|
45
|
+
method: 'post',
|
|
46
|
+
url: API.BYO_LOGO_API_URL + API.BYO_LOGO_API_LINK_TEMPLATE_ENDPOINT,
|
|
47
|
+
data: { logoTemplateToken: response.data.token },
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
return { success: true, response: linkResponse };
|
|
51
|
+
} catch (error) {
|
|
52
|
+
return { false: true, error };
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const searchDomainNamesByKeywordAsync = async ({
|
|
57
|
+
keyword,
|
|
58
|
+
designDraftToken,
|
|
59
|
+
logoDraftToken,
|
|
60
|
+
isUserTriggered,
|
|
61
|
+
domainNameSearchOrigin,
|
|
62
|
+
userText,
|
|
63
|
+
limit,
|
|
64
|
+
}) => {
|
|
65
|
+
try {
|
|
66
|
+
let url = `${API.DOMAIN_NAME_SEARCH_API_URL}?keyword=${keyword}&userText=${encodeURIComponent(userText)}`;
|
|
67
|
+
|
|
68
|
+
if (designDraftToken) {
|
|
69
|
+
url = `${url}&designDraftToken=${designDraftToken}`;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (logoDraftToken) {
|
|
73
|
+
url = `${url}&logoDraftToken=${logoDraftToken}`;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (isUserTriggered) {
|
|
77
|
+
url = `${url}&isUserTriggered=${isUserTriggered}`;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (domainNameSearchOrigin) {
|
|
81
|
+
url = `${url}&domainNameSearchOrigin=${domainNameSearchOrigin}`;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (limit) {
|
|
85
|
+
url = `${url}&limit=${limit}`;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
const response = await getAxios()({
|
|
89
|
+
method: 'get',
|
|
90
|
+
url,
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
return response.data;
|
|
94
|
+
} catch (error) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
export default {
|
|
100
|
+
setBrandCrowdApiClientAxios,
|
|
101
|
+
uploadLogoAndGetDetails,
|
|
102
|
+
createUserLogo,
|
|
103
|
+
searchDomainNamesByKeywordAsync,
|
|
104
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import axios from 'axios';
|
|
2
|
+
|
|
3
|
+
let internalAxios;
|
|
4
|
+
|
|
5
|
+
const setBrandPageApiClientAxios = (axiosInstance) => {
|
|
6
|
+
internalAxios = axiosInstance;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const getAxios = () => {
|
|
10
|
+
return internalAxios || axios;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const getPaymentConfigsByBrandPageToken = async (brandPageToken) => {
|
|
14
|
+
try {
|
|
15
|
+
const response = await getAxios().get(`/maker/api/brand-pages/${brandPageToken}/payment-configs`);
|
|
16
|
+
|
|
17
|
+
if (response.status === 200) {
|
|
18
|
+
return response.data;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return null;
|
|
22
|
+
} catch (err) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
setBrandPageApiClientAxios,
|
|
29
|
+
getPaymentConfigsByBrandPageToken,
|
|
30
|
+
};
|