@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,174 @@
|
|
|
1
|
+
import { defineComponent } from 'vue';
|
|
2
|
+
import Notice from './Notice.vue';
|
|
3
|
+
import Button from '../Button/Button.vue';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: 'Components/Notice',
|
|
7
|
+
component: Notice,
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const generateNoticeVariant = (direction, isVisibleProp, onClick) => {
|
|
11
|
+
return {
|
|
12
|
+
notice: {
|
|
13
|
+
direction,
|
|
14
|
+
isVisible: isVisibleProp,
|
|
15
|
+
},
|
|
16
|
+
button: {
|
|
17
|
+
label: 'Click me',
|
|
18
|
+
variant: 'primary',
|
|
19
|
+
size: 'small-wide',
|
|
20
|
+
onClick,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const StorybookNoticeBodyComponent = defineComponent('StorybookNoticeBody', {
|
|
26
|
+
components: {
|
|
27
|
+
Button,
|
|
28
|
+
},
|
|
29
|
+
template: `
|
|
30
|
+
<div class="tw-p-4">
|
|
31
|
+
<input type="text" class="tw-mb-2" />
|
|
32
|
+
<Button
|
|
33
|
+
label="Submit"
|
|
34
|
+
variant="primary"
|
|
35
|
+
size="small-wide"
|
|
36
|
+
:full-width="true"
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
39
|
+
`,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export const Sample = () => {
|
|
43
|
+
return {
|
|
44
|
+
components: { Notice, Button, StorybookNoticeBodyComponent },
|
|
45
|
+
data() {
|
|
46
|
+
return {
|
|
47
|
+
isTopNoticeVisible: false,
|
|
48
|
+
isRightNoticeVisible: false,
|
|
49
|
+
isBottomNoticeVisible: false,
|
|
50
|
+
isLeftNoticeVisible: false,
|
|
51
|
+
directions: ['Top', 'Right', 'Bottom', 'Left'],
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
computed: {
|
|
55
|
+
onClickFunctions() {
|
|
56
|
+
return {
|
|
57
|
+
top: () => {
|
|
58
|
+
this.isTopNoticeVisible = !this.isTopNoticeVisible;
|
|
59
|
+
},
|
|
60
|
+
right: () => {
|
|
61
|
+
this.isRightNoticeVisible = !this.isRightNoticeVisible;
|
|
62
|
+
},
|
|
63
|
+
bottom: () => {
|
|
64
|
+
this.isBottomNoticeVisible = !this.isBottomNoticeVisible;
|
|
65
|
+
},
|
|
66
|
+
left: () => {
|
|
67
|
+
this.isLeftNoticeVisible = !this.isLeftNoticeVisible;
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
variants() {
|
|
72
|
+
return this.directions.map((direction) => {
|
|
73
|
+
const directionLowerCase = direction.toLowerCase();
|
|
74
|
+
return generateNoticeVariant(
|
|
75
|
+
directionLowerCase,
|
|
76
|
+
this[`is${direction}NoticeVisible`],
|
|
77
|
+
this.onClickFunctions[directionLowerCase],
|
|
78
|
+
);
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
template: `
|
|
83
|
+
<div class="tw-flex tw-justify-center tw-mt-40">
|
|
84
|
+
<div class="tw-container tw-max-w-300">
|
|
85
|
+
<table class="tw-w-full">
|
|
86
|
+
<thead>
|
|
87
|
+
<tr>
|
|
88
|
+
<th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Notice</th>
|
|
89
|
+
<th class="tw-text-left tw-p-4 tw-bg-grayscale-400 tw-font-sans">Code</th>
|
|
90
|
+
</tr>
|
|
91
|
+
</thead>
|
|
92
|
+
<tbody>
|
|
93
|
+
<tr
|
|
94
|
+
v-for="(variant, index) in variants"
|
|
95
|
+
:key="index"
|
|
96
|
+
class="tw-bg-grayscale-200"
|
|
97
|
+
>
|
|
98
|
+
<td class="tw-p-4">
|
|
99
|
+
<Notice
|
|
100
|
+
:direction="variant.notice.direction"
|
|
101
|
+
:is-visible="variant.notice.isVisible"
|
|
102
|
+
>
|
|
103
|
+
<template #target>
|
|
104
|
+
<Button
|
|
105
|
+
:label="variant.button.label"
|
|
106
|
+
:variant="variant.button.variant"
|
|
107
|
+
:size="variant.button.size"
|
|
108
|
+
@on-click="variant.button.onClick"
|
|
109
|
+
/>
|
|
110
|
+
</template>
|
|
111
|
+
<template #body>
|
|
112
|
+
<StorybookNoticeBodyComponent />
|
|
113
|
+
</template>
|
|
114
|
+
</Notice>
|
|
115
|
+
</td>
|
|
116
|
+
<td class="tw-p-4">
|
|
117
|
+
<code
|
|
118
|
+
class="tw-bg-info-100 tw-p-2 tw-rounded tw-bg-gray-400 tw-border tw-border-solid tw-border-info-300 tw-text-info-900"
|
|
119
|
+
>
|
|
120
|
+
<Notice direction="{{ variant.notice.direction }}" is-visible="{{ variant.notice.isVisible }}">
|
|
121
|
+
|
|
122
|
+
<template #target>...</template>
|
|
123
|
+
|
|
124
|
+
<template #body>...</template>
|
|
125
|
+
</Notice>
|
|
126
|
+
</code>
|
|
127
|
+
</td>
|
|
128
|
+
</tr>
|
|
129
|
+
</tbody>
|
|
130
|
+
</table>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
`,
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
export const Mobile = () => {
|
|
138
|
+
return {
|
|
139
|
+
components: { Notice, Button },
|
|
140
|
+
data() {
|
|
141
|
+
return {
|
|
142
|
+
isNoticeVisible: false,
|
|
143
|
+
};
|
|
144
|
+
},
|
|
145
|
+
template: `
|
|
146
|
+
<Notice
|
|
147
|
+
direction="bottom"
|
|
148
|
+
:is-visible="isNoticeVisible"
|
|
149
|
+
size="md"
|
|
150
|
+
>
|
|
151
|
+
<template #target>
|
|
152
|
+
<Button
|
|
153
|
+
:full-width="true"
|
|
154
|
+
label="Click me"
|
|
155
|
+
variant="primary"
|
|
156
|
+
size="small-wide"
|
|
157
|
+
@on-click="isNoticeVisible = !isNoticeVisible"
|
|
158
|
+
/>
|
|
159
|
+
</template>
|
|
160
|
+
<template #body>
|
|
161
|
+
<div class="tw-p-4">
|
|
162
|
+
<input type="text" class="tw-mb-2 tw-w-full" />
|
|
163
|
+
<Button
|
|
164
|
+
label="Submit"
|
|
165
|
+
variant="primary"
|
|
166
|
+
size="small-wide"
|
|
167
|
+
:full-width="true"
|
|
168
|
+
/>
|
|
169
|
+
</div>
|
|
170
|
+
</template>
|
|
171
|
+
</Notice>
|
|
172
|
+
`,
|
|
173
|
+
};
|
|
174
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="{
|
|
4
|
+
'tw-relative tw-inline-flex tw-flex-col sm:tw-flex-row tw-w-full sm:tw-w-auto': true,
|
|
5
|
+
'tw-justify-center': alignment === 'center',
|
|
6
|
+
'tw-justify-end': alignment === 'right',
|
|
7
|
+
'tw-justify-start': alignment === 'left',
|
|
8
|
+
}"
|
|
9
|
+
>
|
|
10
|
+
<slot name="target"></slot>
|
|
11
|
+
<div
|
|
12
|
+
:class="{
|
|
13
|
+
'sm:tw-absolute tw-static tw-w-full tw-z-10 tw-border tw-border-solid tw-border-grayscale-500 tw-rounded tw-bg-white tw-top-full tw-mt-4': true,
|
|
14
|
+
'sm:tw-top-auto sm:tw-mt-0': direction !== 'bottom',
|
|
15
|
+
'sm:tw-bottom-full sm:tw-mb-4': direction === 'top',
|
|
16
|
+
'sm:tw-left-full sm:tw-ml-4': direction === 'right',
|
|
17
|
+
'sm:tw-right-full sm:tw-mr-4': direction === 'left',
|
|
18
|
+
'tw-right-0': alignment === 'right',
|
|
19
|
+
'tw-left-0': alignment === 'left',
|
|
20
|
+
'sm:tw-w-64': size === 'sm',
|
|
21
|
+
'sm:tw-w-72': size === 'md',
|
|
22
|
+
'sm:tw-w-96': size === 'lg',
|
|
23
|
+
'tw-hidden': !isVisible,
|
|
24
|
+
}"
|
|
25
|
+
>
|
|
26
|
+
<slot name="body"></slot>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
export default {
|
|
33
|
+
props: {
|
|
34
|
+
// Color can be primary (blue), secondary (dark gray), warning (yellow), alert (red)
|
|
35
|
+
// or success (green)
|
|
36
|
+
color: {
|
|
37
|
+
type: String,
|
|
38
|
+
required: false,
|
|
39
|
+
default: 'primary',
|
|
40
|
+
},
|
|
41
|
+
// The placement of the tooltip. Can be top, right, bottom, top right, top left, bottom right or bottom left
|
|
42
|
+
direction: {
|
|
43
|
+
type: String,
|
|
44
|
+
required: false,
|
|
45
|
+
default: 'top',
|
|
46
|
+
},
|
|
47
|
+
alignment: {
|
|
48
|
+
type: String,
|
|
49
|
+
required: false,
|
|
50
|
+
default: 'left',
|
|
51
|
+
},
|
|
52
|
+
size: {
|
|
53
|
+
type: String,
|
|
54
|
+
required: false,
|
|
55
|
+
default: undefined,
|
|
56
|
+
},
|
|
57
|
+
// Whether the notice can be dismissed or not
|
|
58
|
+
closable: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
required: false,
|
|
61
|
+
default: false,
|
|
62
|
+
},
|
|
63
|
+
// Whether the notice tooltip should be visible or not
|
|
64
|
+
isVisible: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
required: false,
|
|
67
|
+
default: undefined,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
</script>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import NumberStepper from './NumberStepper.vue';
|
|
2
|
+
import Button from '../Button/Button.vue';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Components/Number Stepper',
|
|
6
|
+
component: NumberStepper,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const data = {
|
|
10
|
+
components: {
|
|
11
|
+
NumberStepper,
|
|
12
|
+
Button,
|
|
13
|
+
},
|
|
14
|
+
data() {
|
|
15
|
+
return {
|
|
16
|
+
numberValue: 20,
|
|
17
|
+
};
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const Primary = () => {
|
|
22
|
+
return {
|
|
23
|
+
...data,
|
|
24
|
+
template: `
|
|
25
|
+
<div>
|
|
26
|
+
<div>Full width min 18 max 25</div>
|
|
27
|
+
<NumberStepper v-model="numberValue" id="id1" :min="18" :max="25" :disabled="false" />
|
|
28
|
+
<div class="tw-mt-4 tw-w-64">
|
|
29
|
+
<div>Fixed container width</div>
|
|
30
|
+
<NumberStepper v-model="numberValue" id="id2" :min="18" :max="25" :disabled="false" />
|
|
31
|
+
</div>
|
|
32
|
+
<div class="tw-mt-4 tw-w-64">
|
|
33
|
+
<div>Disabled</div>
|
|
34
|
+
<NumberStepper v-model="numberValue" id="id2" :min="18" :max="25" :disabled="true" />
|
|
35
|
+
</div>
|
|
36
|
+
<div class="tw-mt-4 tw-w-64">
|
|
37
|
+
<div>Normal size</div>
|
|
38
|
+
<NumberStepper v-model="numberValue" id="id2" :min="18" :max="25" :disabled="false" />
|
|
39
|
+
</div>
|
|
40
|
+
<div class="tw-mt-4 tw-w-64">
|
|
41
|
+
<div>Bigger size</div>
|
|
42
|
+
<NumberStepper v-model="numberValue" id="id2" :min="18" :max="25" :disabled="false" />
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
`,
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="tw-flex tw-items-stretch">
|
|
3
|
+
<Button
|
|
4
|
+
variant="flat"
|
|
5
|
+
icon="minus"
|
|
6
|
+
:icon-size="buttonIconSize"
|
|
7
|
+
class="tw-rounded-r-none"
|
|
8
|
+
:classes="buttonStyle"
|
|
9
|
+
:rounded="false"
|
|
10
|
+
:rounded-left="true"
|
|
11
|
+
:disabled="disabled"
|
|
12
|
+
@mousedown.left="onMouseDown('down')"
|
|
13
|
+
@mousedown.right="clearLongPressTimers"
|
|
14
|
+
@mousedown.middle="clearLongPressTimers"
|
|
15
|
+
@mouseup="clearLongPressTimers"
|
|
16
|
+
@mouseleave="clearLongPressTimers"
|
|
17
|
+
@touchstart="onMouseDown('down')"
|
|
18
|
+
@touchend="clearLongPressTimers($event)"
|
|
19
|
+
@touchcancel="clearLongPressTimers($event)"
|
|
20
|
+
/>
|
|
21
|
+
<input
|
|
22
|
+
:ref="numberStepperRef"
|
|
23
|
+
class="tw-w-full tw-text-center tw-border tw-border-solid tw-border-secondary-200"
|
|
24
|
+
type="text"
|
|
25
|
+
:value="number"
|
|
26
|
+
pattern="[0-9]"
|
|
27
|
+
:disabled="disabled"
|
|
28
|
+
@wheel="onMouseWheel"
|
|
29
|
+
@input.stop="onInput"
|
|
30
|
+
@keyup="clearLongPressTimers"
|
|
31
|
+
@keydown.up="onArrowDown('up')"
|
|
32
|
+
@keydown.down="onArrowDown('down')"
|
|
33
|
+
@focus="$emit(FOCUSED_EVENT)"
|
|
34
|
+
@blur="$emit(BLUR_EVENT)"
|
|
35
|
+
/>
|
|
36
|
+
<Button
|
|
37
|
+
variant="flat"
|
|
38
|
+
:rounded="false"
|
|
39
|
+
:rounded-right="true"
|
|
40
|
+
icon="plus"
|
|
41
|
+
:icon-size="buttonIconSize"
|
|
42
|
+
class="tw-rounded-l-none"
|
|
43
|
+
:classes="buttonStyle"
|
|
44
|
+
:disabled="disabled"
|
|
45
|
+
@mousedown.left="onMouseDown('up')"
|
|
46
|
+
@mousedown.right="clearLongPressTimers"
|
|
47
|
+
@mousedown.middle="clearLongPressTimers"
|
|
48
|
+
@mouseup="clearLongPressTimers"
|
|
49
|
+
@mouseleave="clearLongPressTimers"
|
|
50
|
+
@touchstart="onMouseDown('up')"
|
|
51
|
+
@touchend="clearLongPressTimers($event)"
|
|
52
|
+
@touchcancel="clearLongPressTimers($event)"
|
|
53
|
+
/>
|
|
54
|
+
</div>
|
|
55
|
+
</template>
|
|
56
|
+
|
|
57
|
+
<script>
|
|
58
|
+
import { ref } from 'vue';
|
|
59
|
+
import Button from '../Button/Button.vue';
|
|
60
|
+
|
|
61
|
+
export default {
|
|
62
|
+
components: {
|
|
63
|
+
Button,
|
|
64
|
+
},
|
|
65
|
+
props: {
|
|
66
|
+
// The value returned when a variable is assigned to v-model
|
|
67
|
+
id: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: () => '1',
|
|
70
|
+
},
|
|
71
|
+
modelValue: {
|
|
72
|
+
type: Number,
|
|
73
|
+
default: undefined,
|
|
74
|
+
},
|
|
75
|
+
min: {
|
|
76
|
+
type: Number,
|
|
77
|
+
default: 1,
|
|
78
|
+
},
|
|
79
|
+
max: {
|
|
80
|
+
type: Number,
|
|
81
|
+
default: undefined,
|
|
82
|
+
},
|
|
83
|
+
dataAttribute: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: null,
|
|
86
|
+
},
|
|
87
|
+
// Flag that determines if the input is disabled or not
|
|
88
|
+
disabled: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: undefined,
|
|
91
|
+
},
|
|
92
|
+
size: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: 'medium',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
setup(props) {
|
|
98
|
+
const numberStepperRef = `js-number-stepper-${props.id}`;
|
|
99
|
+
return { numberStepperRef, [numberStepperRef]: ref(null) };
|
|
100
|
+
},
|
|
101
|
+
data() {
|
|
102
|
+
return {
|
|
103
|
+
num: null,
|
|
104
|
+
longPress: null,
|
|
105
|
+
longPressTimeout: null,
|
|
106
|
+
longPressInterval: null,
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
computed: {
|
|
110
|
+
buttonStyle() {
|
|
111
|
+
let style = '';
|
|
112
|
+
if (this.size === 'medium') {
|
|
113
|
+
style = '!tw-p-4';
|
|
114
|
+
}
|
|
115
|
+
return style;
|
|
116
|
+
},
|
|
117
|
+
buttonIconSize() {
|
|
118
|
+
let size = 'xs';
|
|
119
|
+
if (this.size === 'medium') {
|
|
120
|
+
size = 'sm';
|
|
121
|
+
}
|
|
122
|
+
return size;
|
|
123
|
+
},
|
|
124
|
+
number: {
|
|
125
|
+
get() {
|
|
126
|
+
return parseInt(this.num, 10);
|
|
127
|
+
},
|
|
128
|
+
set(val) {
|
|
129
|
+
this.num = val;
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
watch: {
|
|
134
|
+
modelValue(val) {
|
|
135
|
+
this.number = val;
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
created() {
|
|
139
|
+
this.LONG_PRESS_DELAY = 1000;
|
|
140
|
+
this.LONG_PRESS_INTERVAL_DELAY = 100;
|
|
141
|
+
this.LONG_PRESS_AMOUNT = 5;
|
|
142
|
+
this.FOCUSED_EVENT = 'focus';
|
|
143
|
+
this.BLUR_EVENT = 'blur';
|
|
144
|
+
},
|
|
145
|
+
mounted() {
|
|
146
|
+
this.number = this.modelValue;
|
|
147
|
+
this.addDataAttribute();
|
|
148
|
+
},
|
|
149
|
+
beforeUnmount() {
|
|
150
|
+
this.clearLongPressTimers();
|
|
151
|
+
},
|
|
152
|
+
methods: {
|
|
153
|
+
addDataAttribute() {
|
|
154
|
+
if (this.dataAttribute) {
|
|
155
|
+
const inputEl = this.$refs[this.numberStepperRef];
|
|
156
|
+
inputEl.setAttribute(this.dataAttribute, '');
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
changeNumber(direction, value) {
|
|
160
|
+
if (!this.disabled) {
|
|
161
|
+
if (direction === 'up') {
|
|
162
|
+
this.increment(value);
|
|
163
|
+
} else {
|
|
164
|
+
this.decrement(value);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
increment(val) {
|
|
169
|
+
const value = typeof val === 'number' ? val : 1;
|
|
170
|
+
if (!this.max || (this.max && this.number + value <= this.max)) {
|
|
171
|
+
this.number += value;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
if (this.max && this.number + value > this.max) {
|
|
175
|
+
this.number = this.max;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
this.$emit('update:modelValue', this.number);
|
|
179
|
+
this.$emit('input', this.number);
|
|
180
|
+
},
|
|
181
|
+
decrement(val) {
|
|
182
|
+
const value = typeof val === 'number' ? val : 1;
|
|
183
|
+
|
|
184
|
+
if (this.number - value >= this.min) {
|
|
185
|
+
this.number -= value;
|
|
186
|
+
} else {
|
|
187
|
+
this.number = this.min;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
this.$emit('update:modelValue', this.number);
|
|
191
|
+
this.$emit('input', this.number);
|
|
192
|
+
},
|
|
193
|
+
onMouseWheel(e) {
|
|
194
|
+
if (!this.disabled) {
|
|
195
|
+
e.preventDefault();
|
|
196
|
+
|
|
197
|
+
if (e.deltaY < 0) {
|
|
198
|
+
this.increment();
|
|
199
|
+
} else {
|
|
200
|
+
this.decrement();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
onMouseDown(direction) {
|
|
205
|
+
if (!this.disabled) {
|
|
206
|
+
const vm = this;
|
|
207
|
+
let longPressValue = 1;
|
|
208
|
+
|
|
209
|
+
vm.changeNumber(direction);
|
|
210
|
+
|
|
211
|
+
vm.longPressInterval = setInterval(() => {
|
|
212
|
+
vm.changeNumber(direction, longPressValue);
|
|
213
|
+
}, vm.LONG_PRESS_INTERVAL_DELAY);
|
|
214
|
+
|
|
215
|
+
vm.longPressTimeout = setTimeout(() => {
|
|
216
|
+
longPressValue = vm.LONG_PRESS_AMOUNT;
|
|
217
|
+
}, vm.LONG_PRESS_DELAY);
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
clearLongPressTimers(e) {
|
|
221
|
+
// eslint-disable-next-line no-unused-expressions
|
|
222
|
+
e && e.preventDefault();
|
|
223
|
+
clearTimeout(this.longPressTimeout);
|
|
224
|
+
clearInterval(this.longPressInterval);
|
|
225
|
+
this.longPressTimeout = null;
|
|
226
|
+
this.longPressInterval = null;
|
|
227
|
+
this.longPress = false;
|
|
228
|
+
},
|
|
229
|
+
onArrowDown(direction) {
|
|
230
|
+
if (!this.disabled) {
|
|
231
|
+
const vm = this;
|
|
232
|
+
|
|
233
|
+
if (vm.longPress) {
|
|
234
|
+
vm.changeNumber(direction, vm.LONG_PRESS_AMOUNT);
|
|
235
|
+
} else {
|
|
236
|
+
vm.changeNumber(direction);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (!vm.longPressTimeout) {
|
|
240
|
+
vm.longPressTimeout = setTimeout(() => {
|
|
241
|
+
vm.longPress = true;
|
|
242
|
+
}, vm.LONG_PRESS_DELAY);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
onInput(e) {
|
|
247
|
+
if (!this.disabled) {
|
|
248
|
+
const value = Math.round(parseFloat(e.target.value));
|
|
249
|
+
let newNumber = 0;
|
|
250
|
+
|
|
251
|
+
if (!/\D/.test(value) || !value) {
|
|
252
|
+
newNumber = value && value;
|
|
253
|
+
} else if (value.length >= this.number.toString().length) {
|
|
254
|
+
newNumber = value.slice(0, -1);
|
|
255
|
+
} else if (typeof size === 'string') {
|
|
256
|
+
// TODO: revist linting
|
|
257
|
+
// eslint-disable-next-line no-undef
|
|
258
|
+
const integer = Math.round(parseFloat(size));
|
|
259
|
+
newNumber = Number.isNaN(integer) ? this.number : integer;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
if (value) {
|
|
263
|
+
if (value < this.min) {
|
|
264
|
+
newNumber = this.min;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
if (this.max && value > this.max) {
|
|
268
|
+
newNumber = this.max;
|
|
269
|
+
}
|
|
270
|
+
} else {
|
|
271
|
+
newNumber = this.min;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
this.number = newNumber;
|
|
275
|
+
e.target.value = newNumber;
|
|
276
|
+
this.$emit('update:modelValue', this.number);
|
|
277
|
+
this.$emit('input', this.number);
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
};
|
|
282
|
+
</script>
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import Picture from './Picture.vue';
|
|
2
|
+
import pictureFixtures from './picture.fixtures';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Components/Picture',
|
|
6
|
+
component: Picture,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const Standard = () => {
|
|
10
|
+
return {
|
|
11
|
+
components: {
|
|
12
|
+
Picture,
|
|
13
|
+
},
|
|
14
|
+
data() {
|
|
15
|
+
return {
|
|
16
|
+
picture: pictureFixtures.standard,
|
|
17
|
+
};
|
|
18
|
+
},
|
|
19
|
+
template: `
|
|
20
|
+
<Picture
|
|
21
|
+
:default-image-url="picture.defaultImageUrl"
|
|
22
|
+
:sources="picture.sources"
|
|
23
|
+
:alt="picture.alt"
|
|
24
|
+
data-attribute="data-test-preview"
|
|
25
|
+
/>
|
|
26
|
+
`,
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export const LogoSearchResultsGrid = () => {
|
|
31
|
+
return {
|
|
32
|
+
components: {
|
|
33
|
+
Picture,
|
|
34
|
+
},
|
|
35
|
+
data() {
|
|
36
|
+
return {
|
|
37
|
+
picture: pictureFixtures.logoSearchResultsGrid,
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
template: `
|
|
41
|
+
<div class="tw-container tw-max-w-300 tw-mx-auto tw-px-2 lg:tw-px-2.5 tw-mb-4">
|
|
42
|
+
<div class="tw-grid md:tw-grid-cols-3 tw-gap-5 tw-pt-8 tw-mb-12 lg:tw-grid-cols-4 tw-grid-cols-2 tw-px-2.5">
|
|
43
|
+
<div
|
|
44
|
+
v-for="index in 30"
|
|
45
|
+
:key="index"
|
|
46
|
+
class="tw-border tw-border-solid tw-border-grayscale-400"
|
|
47
|
+
>
|
|
48
|
+
<Picture
|
|
49
|
+
classes="tw-object-cover tw-w-full tw-object-top"
|
|
50
|
+
:default-image-url="picture.defaultImageUrl"
|
|
51
|
+
:sources="picture.sources"
|
|
52
|
+
:alt="picture.alt"
|
|
53
|
+
/>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
`,
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export const DesignSearchResultsGrid = () => {
|
|
62
|
+
return {
|
|
63
|
+
components: {
|
|
64
|
+
Picture,
|
|
65
|
+
},
|
|
66
|
+
data() {
|
|
67
|
+
return {
|
|
68
|
+
picture: pictureFixtures.designSearchResultsGrid,
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
template: `
|
|
72
|
+
<div class="tw-container tw-max-w-300 tw-mx-auto tw-px-2 lg:tw-px-2.5 tw-mb-4">
|
|
73
|
+
<div class="tw-grid md:tw-grid-cols-3 tw-gap-5 tw-pt-8 tw-mb-12 lg:tw-grid-cols-3 tw-grid-cols-1 tw-px-2.5">
|
|
74
|
+
<div
|
|
75
|
+
v-for="index in 30"
|
|
76
|
+
:key="index"
|
|
77
|
+
class="tw-border tw-border-solid tw-border-grayscale-400"
|
|
78
|
+
>
|
|
79
|
+
<Picture
|
|
80
|
+
classes="tw-object-cover tw-w-full tw-object-top"
|
|
81
|
+
:default-image-url="picture.defaultImageUrl"
|
|
82
|
+
:sources="picture.sources"
|
|
83
|
+
:alt="picture.alt"
|
|
84
|
+
/>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
`,
|
|
89
|
+
};
|
|
90
|
+
};
|