@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 @@
|
|
|
1
|
+
import{o as t,c as o,l as r}from"./vue.esm-bundler-BuzEyh6o.js";import{_ as s}from"./_plugin-vue_export-helper-DlAUqK2U.js";const e={},c=r('<svg class="tw-animate-spin" width="30" height="30" xmlns="http://www.w3.org/2000/svg"><g transform="translate(3 3)" stroke="#5D6D81" fill="none" fill-rule="evenodd"><path d="M24 12c0 6.6-5.4 12-12 12-4.8134 0-8.9885-2.8722-10.8962-6.9873M0 12C0 5.4 5.4 0 12 0c4.68 0 8.76 2.64 10.68 6.6" stroke-width="1.92"></path><path stroke-width="1.8462" d="M.0923 24l.923-7.1077 7.1078.923"></path><path stroke-width="1.92" d="M24 0l-1.0166 6.72-7.6234-.911"></path><circle stroke-width="1.8462" cx="12" cy="12" r="3"></circle></g></svg>',1),a=[c];function n(i,d){return t(),o("div",null,a)}const p=s(e,[["render",n]]);e.__docgenInfo={displayName:"Loader",description:"",tags:{},sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/Loader/Loader.vue"]};export{p as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.done-btn[data-v-43734079]{box-shadow:0 0 0 1px #d4d4d4,0 8px 16px #d4d4d4}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as z}from"./Button-C9BkIo_w.js";import{I as j}from"./Icon-CLd6chSw.js";import{H as F}from"./HelloBar-DtIRdNgP.js";import{t as T}from"./tracking-ATsLLehC.js";import{c as w,a as u,b as C,e as a,t as g,w as E,i as y,F as O,f as R,h as I,g as _,o as c}from"./vue.esm-bundler-BuzEyh6o.js";import{_ as G}from"./_plugin-vue_export-helper-DlAUqK2U.js";const W=(e,t)=>{const o=L.apply(void 0,e),l=L.apply(void 0,t);return U(o,l)},D=e=>{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t===null?null:[t[1],t[2],t[3]].map(o=>parseInt(o,16))},L=(e,t,o)=>{const[l,s,r]=A(e,t,o);return V(l,s,r)},A=(e,t,o)=>{e/=255,t/=255,o/=255,e=e>.04045?((e+.005)/1.055)**2.4:e/12.92,t=t>.04045?((t+.005)/1.055)**2.4:t/12.92,o=o>.04045?((o+.005)/1.055)**2.4:o/12.92,e*=100,t*=100,o*=100;const l=e*.4124+t*.3576+o*.1805,s=e*.2126+t*.7152+o*.0722,r=e*.0193+t*.1192+o*.9505;return[l,s,r]},V=(e,t,o)=>{e/=95.047,t/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const p=116*t-16,i=500*(e-t),d=200*(t-o);return[p,i,d]},U=(e,t)=>{const[r,p,i]=e,[d,n,f]=t,b=r-d,S=p-n,B=i-f,x=Math.sqrt(p*p+i*i),H=Math.sqrt(n*n+f*f);let h=d-r,m=H-x;const k=Math.sqrt(b*b+S*S+B*B);let v=Math.sqrt(k)>Math.sqrt(Math.abs(h))+Math.sqrt(Math.abs(m))?Math.sqrt(k*k-h*h-m*m):0;const N=1+.045*x,M=1+.015*x;return h/=1,m/=1*N,v/=1*M,Math.sqrt(h*h+m*m+v*v)},Y=e=>{if(e<=1)return"Same";if(e<=30)return"Similar";if(e>30)return"Different"};function P(e,t){const o=D(e),l=D(t);return Y(W(o,l))}const q={components:{Button:z,Icon:j,HelloBar:F},props:{logoData:{type:Object,required:!0,default:null},croppedLogoImage:{type:String,required:!0,default:null},totalNumSteps:{type:Number,required:!0},eventCategory:{type:String,required:!0}},data(){return{currentStep:null,stepNumber:null,activeStep:{},customTextColour:{hex:null,selected:!1},customBackgroundColour:{hex:null,selected:!1},steps:{textColour:{index:1,number:this.totalNumSteps-1,active:!1,title:"Primary text color",description:"Help us setup your logo by confirming the primary text color. Choose from the available colors or click the plus icon to add another.",colourData:this.logoData.logoImageDetails.textColors,colours:[]},backgroundColour:{index:2,number:this.totalNumSteps,active:!1,title:"Background color",description:"Help us setup your logo by confirming the background color. Choose from the available colors or click the plus icon to add another.",colourData:this.logoData.logoImageDetails.backgroundColors,colours:[]}}}},computed:{areColorsTooClose(){var o,l;const e=(o=this.steps.textColour)==null?void 0:o.colours.find(s=>s.selected===!0),t=(l=this.steps.backgroundColour)==null?void 0:l.colours.find(s=>s.selected===!0);return!(e!=null&&e.hex)||!(t!=null&&t.hex)?!1:this.activeStep.index===2&&P(e.hex,t.hex)!=="Different"}},mounted(){Object.keys(this.steps).forEach(t=>{const o=this.steps[t];o.colourData.forEach((l,s)=>{o.colours.push({hex:l,selected:s===0})})}),this.goToStep("textColour")},methods:{goToStep(e,t=!1){this.currentStep=e,this.activeStep=this.steps[e],this.steps[e].active=!0,t&&e==="backgroundColour"&&T({eventCategory:this.eventCategory,eventAction:"textColor",eventLabel:"Clicked_Continue",event:"click"})},setSelectedColour(e){this.activeStep.colours.forEach(t=>{t!==e&&(t.selected=!1)}),e.selected=!0},deselectAllColours(e){this.steps[e].colours.forEach(t=>{t.selected=!1})},onCustomTextColourChange(e){this.deselectAllColours("textColour");const t={hex:e.target.value,selected:!0,custom:!0};this.steps.textColour.colours[this.steps.textColour.colours.length-1].custom?this.steps.textColour.colours[this.steps.textColour.colours.length-1]=t:this.steps.textColour.colours.push(t)},onCustomBackgroundColourChange(e){this.deselectAllColours("backgroundColour");const t={hex:e.target.value,selected:!0,custom:!0};this.steps.backgroundColour.colours[this.steps.backgroundColour.colours.length-1].custom?this.steps.backgroundColour.colours[this.steps.backgroundColour.colours.length-1]=t:this.steps.backgroundColour.colours.push(t)},back(){this.$emit("on-go-back")},save(){let e=this.steps.textColour.colours.find(r=>r.selected===!0),t=this.steps.backgroundColour.colours.find(r=>r.selected===!0),o=(e==null?void 0:e.custom)||!1;this.customTextColour.hex&&this.customTextColour.selected&&(o=!0,e=this.customTextColour);let l=(t==null?void 0:t.custom)||!1;this.customBackgroundColour.hex&&this.customBackgroundColour.selected&&(l=!0,t=this.customBackgroundColour);const s={textColor:e.hex,backgroundColor:t.hex,textColorUserSelected:o,backgroundColorUserSelected:l};this.$emit("on-save",s),T({eventCategory:this.eventCategory,eventAction:"backgroundColor",eventLabel:"Clicked_Continue",event:"click"})}}},X={class:"tw-w-full tw-h-full"},Z={class:"tw-h-full tw-pb-24 lg:tw-pb-0 tw-overflow-scroll lg:tw-overflow-visible"},J={class:"tw-pb-8 tw-px-8 tw-text-center"},K={class:"tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase"},Q={class:"tw-mb-4 tw-text-4xl tw-text-black tw-font-bold"},$={class:"tw-mt-0"},tt={class:"tw-grid tw-grid-cols-1 md:tw-grid-cols-2 tw-gap-4 tw-pb-8 tw-px-8 tw-text-left"},et={class:"tw-flex tw-justify-center tw-items-center tw-max-h-56"},ot=["src"],st={key:0,class:"tw-grid tw-grid-cols-4 tw-gap-3 tw-grid-flow-row tw-auto-rows-max"},rt={class:"tw-relative tw-h-14 tw-w-14 tw-rounded-md tw-border-solid tw-cursor-pointer tw-bg-grayscale-400 tw-text-gray-500"},lt={class:"tw-flex tw-items-center tw-justify-center tw-w-full tw-h-full"},nt=["onClick"],ct={key:0,class:"tw-bg-white tw-border tw-border-solid tw-border-info-500 tw-mx-auto tw-w-5 tw-h-5 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-info-500"},ut={class:"tw-sr-only"},at={key:0,class:"tw-bg-white tw-border tw-border-solid tw-border-info-500 tw-mx-auto tw-w-5 tw-h-5 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-info-500"},it={class:"tw-sr-only"},dt={class:"tw-fixed tw-rounded-b tw-bottom-0 tw-left-0 tw-z-10 tw-bg-grayscale-200 lg:tw-static tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8 tw-box-border"};function wt(e,t,o,l,s,r){const p=_("HelloBar"),i=_("Icon"),d=_("Button");return c(),w("div",X,[u("div",Z,[r.areColorsTooClose?(c(),C(p,{key:0,label:"",description:"Your text and background colors are too similar. Please choose a more distinct pairing to ensure they create quality designs.",variant:"warning",class:"tw-m-5 tw-mt-3"})):a("",!0),u("div",J,[u("p",K," Step "+g(s.activeStep.number)+" of "+g(o.totalNumSteps),1),u("h2",Q,g(s.activeStep.title),1),u("p",$,g(s.activeStep.description),1)]),u("div",tt,[u("figure",et,[u("img",{src:o.croppedLogoImage,alt:"",class:"tw-max-w-full tw-max-h-full"},null,8,ot)]),s.activeStep.colourData?(c(),w("div",st,[u("button",rt,[s.currentStep==="textColour"?(c(),w("input",{key:0,type:"color",class:"tw-absolute tw-top-0 tw-left-0 tw-z-10 tw-w-full tw-h-full tw-opacity-0 tw-cursor-pointer",onInput:t[0]||(t[0]=E((...n)=>r.onCustomTextColourChange&&r.onCustomTextColourChange(...n),["stop"]))},null,32)):a("",!0),s.currentStep==="backgroundColour"?(c(),w("input",{key:1,type:"color",class:"tw-absolute tw-top-0 tw-left-0 tw-z-10 tw-w-full tw-h-full tw-opacity-0 tw-cursor-pointer",onInput:t[1]||(t[1]=E((...n)=>r.onCustomBackgroundColourChange&&r.onCustomBackgroundColourChange(...n),["stop"]))},null,32)):a("",!0),u("span",lt,[y(i,{name:"plus",size:"sm"})])]),(c(!0),w(O,null,R(s.activeStep.colours,(n,f)=>(c(),w("button",{key:f,class:"tw-relative tw-h-14 tw-w-14 tw-rounded-md tw-border-solid tw-cursor-pointer tw-border-2 tw-border-grayscale-500",style:I({"background-color":n.hex}),onClick:b=>r.setSelectedColour(n)},[n.selected?(c(),w("span",ct,[y(i,{name:"check",size:"xs"})])):a("",!0),u("span",ut,g(n.hex),1)],12,nt))),128)),s.currentStep==="textColour"&&s.customTextColour.hex?(c(),w("button",{key:0,class:"tw-relative tw-h-14 tw-w-14 tw-rounded-md tw-border-solid tw-cursor-pointer tw-border-2 tw-border-grayscale-500",style:I({"background-color":s.customTextColour.hex}),onClick:t[2]||(t[2]=n=>r.setSelectedColour(s.customTextColour))},[e.colour.selected?(c(),w("span",at,[y(i,{name:"check",size:"xs"})])):a("",!0),u("span",it,g(s.customTextColour.hex),1)],4)):a("",!0)])):a("",!0)])]),u("div",dt,[s.activeStep.index===1?(c(),C(d,{key:0,label:"Back",size:"large",variant:"outline","container-classes":"tw-mx-2","data-test-back-btn":"",onOnClick:r.back},null,8,["onOnClick"])):a("",!0),s.activeStep.index===2?(c(),C(d,{key:1,label:"Back",size:"large",variant:"outline","container-classes":"tw-mx-2","data-test-back-btn":"",onOnClick:t[3]||(t[3]=n=>r.goToStep("textColour"))})):a("",!0),s.activeStep.index===1?(c(),C(d,{key:2,label:"Continue",size:"large",variant:"primary-with-icon",icon:"chevron-right-wide","container-classes":"tw-mx-2","data-test-continue-btn":"",onOnClick:t[4]||(t[4]=n=>r.goToStep("backgroundColour",!0))})):a("",!0),s.activeStep.index===2?(c(),C(d,{key:3,label:"Continue",size:"large",variant:"primary-with-icon",icon:"chevron-right-wide","container-classes":"tw-mx-2","data-test-continue-btn":"",onOnClick:r.save},null,8,["onOnClick"])):a("",!0)])])}const bt=G(q,[["render",wt],["__scopeId","data-v-43734079"]]);q.__docgenInfo={exportName:"default",displayName:"LogoBusinessBrandColours",description:"",tags:{},props:[{name:"logoData",type:{name:"object"},required:!0,defaultValue:{func:!1,value:"null"}},{name:"croppedLogoImage",type:{name:"string"},required:!0,defaultValue:{func:!1,value:"null"}},{name:"totalNumSteps",type:{name:"number"},required:!0},{name:"eventCategory",type:{name:"string"},required:!0}],events:[{name:"on-go-back"},{name:"on-save",type:{names:["undefined"]}}],sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue"]};export{bt as L,P as h};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{L as t}from"./LogoBusinessBrandColours-BL9vqKnt.js";import"./Button-C9BkIo_w.js";import"./ButtonPrimary-BD3XC-26.js";import"./vue.esm-bundler-BuzEyh6o.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Icon-CLd6chSw.js";import"./HelloBar-DtIRdNgP.js";import"./tracking-ATsLLehC.js";const g={title:"Components/LogoBusinessBrandColours",component:t},o=()=>({components:{LogoBusinessBrandColours:t},data(){return{uploadedLogoData:{templateUploadToken:"6bc3885c-7e5c-4c9e-9b54-21dcd06ca647",logoImageUrl:"https://images.unsplash.com/photo-1621745491698-86b18793ce6f?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=300&ixlib=rb-1.2.1&q=80&w=300",logoImageDetails:{businessText:"LOGO TEXT HERE",sloganText:"Slogan Text Here",textColors:["#EF4444","#F59E0B","#10B981","#991B1B","#8B5CF6","#F472B6"],backgroundColors:["#041444"]}}}},template:`
|
|
2
|
+
<div>
|
|
3
|
+
<LogoBusinessBrandColours
|
|
4
|
+
:logo-data="uploadedLogoData"
|
|
5
|
+
cropped-logo-image="https://source.unsplash.com/random/300x300"
|
|
6
|
+
/>
|
|
7
|
+
</div>
|
|
8
|
+
`});var e,s,n;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`() => {
|
|
9
|
+
return {
|
|
10
|
+
components: {
|
|
11
|
+
LogoBusinessBrandColours
|
|
12
|
+
},
|
|
13
|
+
data() {
|
|
14
|
+
return {
|
|
15
|
+
uploadedLogoData: {
|
|
16
|
+
templateUploadToken: '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647',
|
|
17
|
+
logoImageUrl: 'https://images.unsplash.com/photo-1621745491698-86b18793ce6f?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=300&ixlib=rb-1.2.1&q=80&w=300',
|
|
18
|
+
logoImageDetails: {
|
|
19
|
+
businessText: 'LOGO TEXT HERE',
|
|
20
|
+
sloganText: 'Slogan Text Here',
|
|
21
|
+
textColors: ['#EF4444', '#F59E0B', '#10B981', '#991B1B', '#8B5CF6', '#F472B6'],
|
|
22
|
+
backgroundColors: ['#041444']
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
template: \`
|
|
28
|
+
<div>
|
|
29
|
+
<LogoBusinessBrandColours
|
|
30
|
+
:logo-data="uploadedLogoData"
|
|
31
|
+
cropped-logo-image="https://source.unsplash.com/random/300x300"
|
|
32
|
+
/>
|
|
33
|
+
</div>
|
|
34
|
+
\`
|
|
35
|
+
};
|
|
36
|
+
}`,...(n=(s=o.parameters)==null?void 0:s.docs)==null?void 0:n.source}}};const u=["Sample"];export{o as Sample,u as __namedExportsOrder,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.masonry-wall[data-v-40c36bc8]{display:flex}.masonry-wall[data-v-40c36bc8]:not(.ready){opacity:0}.masonry-column[data-v-40c36bc8]{flex-grow:1;flex-basis:0;display:flex;flex-direction:column}.masonry-bottom[data-v-40c36bc8]{flex-grow:1;margin-top:-300px;padding-top:300px;min-height:100px;z-index:-1}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import{E as z,o as l,c as b,F as v,f as k,h as u,r as _,j as V,t as $,x as j,a as q,n as D,b as H,C as R,g as E}from"./vue.esm-bundler-BuzEyh6o.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";function w(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(a){return typeof a}:w=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},w(e)}function W(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function L(e,a){for(var t=0;t<a.length;t++){var r=a[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y(e,a,t){return a&&L(e.prototype,a),e}function N(e){return G(e)||J(e)||K()}function G(e){if(Array.isArray(e)){for(var a=0,t=new Array(e.length);a<e.length;a++)t[a]=e[a];return t}}function J(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function K(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function Q(e){var a;return typeof e=="function"?a={callback:e}:a=e,a}function X(e,a){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,n,d=function(m){for(var o=arguments.length,p=new Array(o>1?o-1:0),c=1;c<o;c++)p[c-1]=arguments[c];if(n=p,!(r&&m===i)){var f=t.leading;typeof f=="function"&&(f=f(m,i)),(!r||m!==i)&&f&&e.apply(void 0,[m].concat(N(n))),i=m,clearTimeout(r),r=setTimeout(function(){e.apply(void 0,[m].concat(N(n))),r=0},a)}};return d._clear=function(){clearTimeout(r),r=null},d}function B(e,a){if(e===a)return!0;if(w(e)==="object"){for(var t in e)if(!B(e[t],a[t]))return!1;return!0}return!1}var Z=function(){function e(a,t,r){W(this,e),this.el=a,this.observer=null,this.frozen=!1,this.createObserver(t,r)}return Y(e,[{key:"createObserver",value:function(t,r){var i=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=Q(t),this.callback=function(s,m){i.options.callback(s,m),s&&i.options.once&&(i.frozen=!0,i.destroyObserver())},this.callback&&this.options.throttle){var n=this.options.throttleOptions||{},d=n.leading;this.callback=X(this.callback,this.options.throttle,{leading:function(m){return d==="both"||d==="visible"&&m||d==="hidden"&&!m}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(s){var m=s[0];if(s.length>1){var o=s.find(function(c){return c.isIntersecting});o&&(m=o)}if(i.callback){var p=m.isIntersecting&&m.intersectionRatio>=i.threshold;if(p===i.oldResult)return;i.oldResult=p,i.callback(p,m)}},this.options.intersection),r.context.$nextTick(function(){i.observer&&i.observer.observe(i.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),e}();function C(e,a,t){var r=a.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var i=new Z(e,r,t);e._vue_visibilityState=i}}function ee(e,a,t){var r=a.value,i=a.oldValue;if(!B(r,i)){var n=e._vue_visibilityState;if(!r){O(e);return}n?n.createObserver(r,t):C(e,{value:r},t)}}function O(e){var a=e._vue_visibilityState;a&&(a.destroyObserver(),delete e._vue_visibilityState)}var F={bind:C,update:ee,unbind:O};function ae(e){e.directive("observe-visibility",F)}var te={version:"1.0.0",install:ae},y=null;typeof window<"u"?y=window.Vue:typeof global<"u"&&(y=global.Vue);y&&y.use(te);function re(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":toString.call(e)}function ie(e){const a=typeof e;return a=="symbol"||a==="object"&&e!=null&&re(e)=="[object Symbol]"}function ne(e,a){let t;if(e==null)return t;let r;for(const i of e){const n=a(i);n!=null&&(r===void 0?n===n&&!ie(n):n>r)&&(r=n,t=i)}return t}const U=e=>{const a=[];for(let t=0;t<e;t++)a.push({i:t,indexes:[]});return a},P={name:"VueMasonryWall",directives:{"observe-visibility":F},props:{items:{type:Array,required:!0},options:{type:Object,required:!1},ssr:{type:Object,required:!1}},data(){const e=this.ssr&&this.ssr.columns;if(e>0){const a=U(e);for(let t=0;t<this.items.length;t++)a[t%e].indexes.push(t);return{columns:a,cursor:this.items.length,ready:!1}}return{columns:[],cursor:0,ready:!1}},computed:{_options(){const{options:e}=this;return{width:e&&e.width||300,padding:{default:e&&e.padding&&e.padding.default||12},throttle:e&&e.throttle||300}},_style(){let e=this.options&&this.options.padding;return e&&typeof e!="number"&&(e=this.options.padding[this.columns.length]||this._options.padding.default),{wall:{margin:`-${e}px`},lane:{paddingLeft:`${e}px`,paddingRight:`${e}px`},item:{paddingTop:`${e}px`,paddingBottom:`${e}px`}}}},watch:{items:{handler(){this._fill()},deep:!0},options:{handler(e,a){e.width!==a.width&&this.redraw()},deep:!0}},mounted(){this.$resize=()=>{this.columns.length!==this._columnSize()&&this.redraw()},this.$resize(),this.ready||(this.ready=!0),window.addEventListener("resize",this.$resize)},beforeDestroy(){window.removeEventListener("resize",this.$resize)},methods:{redraw(){this.ready=!1,this.columns.splice(0),this.cursor=0,this.columns.push(...U(this._columnSize())),this.ready=!0,this._fill()},_columnSize(){if(!this.$refs.wall)return 1;const e=Math.round(this.$refs.wall.scrollWidth/this._options.width);return e<1?1:e},_fill(){if(this.ready){if(this.cursor>=this.items.length){this.$emit("append");return}this.$nextTick(()=>{const e=ne(this.$refs.bottom,a=>a.clientHeight||0);this._addItem(e.dataset.column),this._fill()})}},_addItem(e){const a=this.columns[e];this.items[this.cursor]&&(a.indexes.push(this.cursor),this.cursor++)}}},me=["data-column"];function oe(e,a,t,r,i,n){const d=z("observe-visibility");return l(),b("div",{ref:"wall",class:D(["masonry-wall",{ready:i.ready}]),style:u(n._style.wall)},[(l(!0),b(v,null,k(i.columns,(s,m)=>(l(),b("div",{key:m,class:"masonry-column",style:u(n._style.lane)},[(l(!0),b(v,null,k(s.indexes,o=>(l(),b("div",{key:o,ref_for:!0,ref:`item_${o}`,class:"masonry-item",style:u(n._style.item)},[_(e.$slots,"default",{item:t.items[o],index:o},()=>[V($(t.items[o]),1)],!0)],4))),128)),j(q("div",{ref_for:!0,ref:"bottom",class:"masonry-bottom","data-column":m},null,8,me),[[d,{callback:o=>o&&n._fill(),throttle:n._options.throttle}]])],4))),128))],6)}const se=S(P,[["render",oe],["__scopeId","data-v-40c36bc8"]]);P.__docgenInfo={displayName:"VueMasonryWall",exportName:"default",description:"",tags:{},props:[{name:"items",description:"Array of items to add into masonry",type:{name:"array"},required:!0},{name:"options",description:`Options to config masonry.
|
|
2
|
+
|
|
3
|
+
{
|
|
4
|
+
width: 300,
|
|
5
|
+
padding: {
|
|
6
|
+
default: 12,
|
|
7
|
+
1: 6,
|
|
8
|
+
2: 8,
|
|
9
|
+
},
|
|
10
|
+
throttle: 300
|
|
11
|
+
}`,type:{name:"object"},required:!1},{name:"ssr",description:`SSR has no clue what is the size of your height of your element or width of the browser.
|
|
12
|
+
You can however guess based on user-agent: https://github.com/nuxt-community/device-module
|
|
13
|
+
This param allow you to preload a config for SSR rendering, it will distribute your items into all columns evenly.
|
|
14
|
+
|
|
15
|
+
Once the client is mounted, it will redraw if the config is different from SSR.
|
|
16
|
+
|
|
17
|
+
{
|
|
18
|
+
column: 2
|
|
19
|
+
}`,type:{name:"object"},required:!1}],events:[{name:"append"}],slots:[{name:"default",scoped:!0,bindings:[{name:"item",title:"binding"},{name:"index",title:"binding"}]}],sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/thirdparty-components/VueMasonryWall/VueMasonryWall.vue"]};const M={components:{VueMasonryWall:se},props:{items:{type:Array,required:!0},gap:{type:Number,required:!1,default:22},columnWidth:{type:Number,required:!1,default:void 0}},computed:{options(){const e={};return this.gap&&(e.padding=this.gap),this.columnWidth&&(e.width=this.columnWidth),e}}};function de(e,a,t,r,i,n){const d=E("vue-masonry-wall");return l(),H(d,{items:t.items,options:n.options},{default:R(({item:s})=>[_(e.$slots,"item",{item:s})]),_:3},8,["items","options"])}const A=S(M,[["render",de]]);M.__docgenInfo={exportName:"default",displayName:"Masonry",description:"",tags:{},props:[{name:"items",type:{name:"array"},required:!0},{name:"gap",type:{name:"number"},required:!1,defaultValue:{func:!1,value:"22"}},{name:"columnWidth",type:{name:"number"},required:!1,defaultValue:{func:!1,value:"undefined"}}],slots:[{name:"item",scoped:!0,bindings:[{name:"item",title:"binding"}]}],sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/Masonry/Masonry.vue"]};const h={page1:[{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/97ea081b-f250-4002-9c05-b02cffcc62d0/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=18800",height:1080,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/a2f72950-3635-43b6-b41d-b286cbbb2bd0/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=18839",height:1080,width:1080},{templateTypeName:"Facebook post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/a0f73a89-8bfa-4728-a8ad-d290ed4a49ac/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20post?templateId=9377",height:788,width:940},{templateTypeName:"Business card horizontal",imageUrl:"https://dynamic.brandcrowd.com/template/preview/ed526c4e-c7bd-4edc-af15-863ffd906c28/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Tasty Pastry",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/business%20card%20horizontal?templateId=201",height:599,width:1024},{templateTypeName:"Facebook post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/b9419fbe-ec7c-4cf3-8235-c8e34a47cbe1/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Fresh Bread",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20post?templateId=9380",height:788,width:940},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/08727835-a4ad-4cef-b883-fb37e23bf8c4/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"A slice of happiness",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=11415",height:1080,width:1080},{templateTypeName:"Facebook post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/315cc2c3-636c-4bce-96a9-4e48b260e0de/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20post?templateId=18888",height:788,width:940},{templateTypeName:"Facebook cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/591f3a1b-2ed9-44ea-9d6f-cd0879349983/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20cover?templateId=18923",height:312,width:820},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/d20693ca-1574-4e39-80c7-30f4756dd039/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Best Seller Muffin",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=11544",height:1080,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/d34810ae-d454-46c1-a90d-71332148f740/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Love Cookie Bite",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23166",height:1080,width:1080},{templateTypeName:"Facebook post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/69ab31b8-3666-48d2-bbe9-1ba100020728/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Today's Special",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20post?templateId=9383",height:788,width:940},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/b6a1e61b-3493-4dbc-9984-01f4ddbfad76/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cake Parts",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=12183",height:1080,width:1080},{templateTypeName:"Facebook cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/ff02b338-b670-4d56-9383-5f4f833ef9bf/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20cover?templateId=18968",height:312,width:820},{templateTypeName:"Facebook post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/2277394e-e7d2-4355-922e-29a0423de3b9/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20post?templateId=18946",height:788,width:940},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/9d553d47-97f5-4f6c-964c-e6cebd23d5d7/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bake Sale Event",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=8039",height:1080,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/205ed12c-6240-4ac2-92e9-0ff4cd8ff25a/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=9453",height:1080,width:1080}],page2:[{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/7b696fa8-2d84-457d-9457-d214ecb45be1/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Matcha Macaron",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=10886",height:1080,width:1080},{templateTypeName:"Facebook cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/7cdd710c-eb89-49ab-90c6-d5b7ab639eb7/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Mavy Wavy",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20cover?templateId=69",height:312,width:820},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/690cdef8-f27b-4149-a19b-9ed68f20fbe6/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Best Seller Muffin",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=9911",height:1080,width:1080},{templateTypeName:"Facebook post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/b73b3495-171e-4053-b9e1-2d3764c5f816/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Pink Cupcake",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20post?templateId=11622",height:788,width:940},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/51d6d5a0-1bbe-4ca3-892b-e19d19204f8b/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Pink Cupcake",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=11409",height:1080,width:1080},{templateTypeName:"Facebook cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/a2e45042-6e94-442a-8d97-12e0283d021e/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Pink Cupcake",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20cover?templateId=11620",height:312,width:820},{templateTypeName:"Facebook story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/9902b1fe-d068-48c4-add6-84a0439fa1f1/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cake Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20story?templateId=9473",height:1920,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/c317dd56-82d3-4188-8451-6bc9eb9cc775/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Christmas Cookie Day",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23662",height:1080,width:1080},{templateTypeName:"Facebook story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/13fc5d2f-1904-46d0-bf1a-8f4a08591596/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20story?templateId=18889",height:1920,width:1080},{templateTypeName:"Facebook ad",imageUrl:"https://dynamic.brandcrowd.com/template/preview/d62d01f1-c216-452a-b5b7-1e256516c1a2/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20ad?templateId=18920",height:628,width:1200},{templateTypeName:"Poster",imageUrl:"https://dynamic.brandcrowd.com/template/preview/f5ca2164-b72f-4fb8-9cbc-52e136e8f28a/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/poster?templateId=18935",height:3194,width:2260},{templateTypeName:"Twitter post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/38340c8b-9494-4aaa-9a78-509bb2396ce8/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/twitter%20post?templateId=18892",height:512,width:1024},{templateTypeName:"Instagram story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/de6b30d4-f2ea-4994-9589-639bc897cdb6/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20story?templateId=18890",height:1920,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/abafb492-7421-4f13-b16e-1307230353dd/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cute Cookie Day",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23685",height:1080,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/b803f439-fcd3-472e-acd4-a0cc5a2ca485/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Memphis Cookie Day",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23686",height:1080,width:1080},{templateTypeName:"Pinterest board cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/95c5ceb2-62f6-4f4c-9055-fd6612a362b6/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Food Cupcake",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/pinterest%20board%20cover?templateId=6044",height:150,width:222}],page3:[{templateTypeName:"Flyer",imageUrl:"https://dynamic.brandcrowd.com/template/preview/0bdb2794-2ef2-4812-85cb-2245fba0e519/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/flyer?templateId=18944",height:1123,width:794},{templateTypeName:"Facebook event cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/e27a3de4-b12c-4528-8e8e-259091bc6c18/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bakery And Pastry Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20event%20cover?templateId=18921",height:1080,width:1920},{templateTypeName:"Business card horizontal",imageUrl:"https://dynamic.brandcrowd.com/template/preview/31cc2340-e335-4e01-b792-c7fbaa31f208/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Delicious Doodles",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/business%20card%20horizontal?templateId=46211",height:599,width:1024},{templateTypeName:"Poster",imageUrl:"https://dynamic.brandcrowd.com/template/preview/d0804818-d183-4cfd-ac84-8fce8e2e492d/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/poster?templateId=18977",height:3194,width:2260},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/33c8f53e-cd5a-4a17-b1d5-d9971750f35d/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cookie Lover Promo",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23687",height:1080,width:1080},{templateTypeName:"Facebook story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/267fa9a7-c277-4863-a5d5-d354fa38e97f/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20story?templateId=18949",height:1920,width:1080},{templateTypeName:"Facebook event cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/ba10bd1a-9dae-4643-835f-de30dffa5962/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20event%20cover?templateId=18967",height:1080,width:1920},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/6a01cfd0-abd8-4358-a805-6af55e6b6ac9/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cookie Doodle",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23691",height:1080,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/88f4160d-2b8e-4940-9dc1-23f099b061c0/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cookie Bowl",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23871",height:1080,width:1080},{templateTypeName:"Facebook ad",imageUrl:"https://dynamic.brandcrowd.com/template/preview/407b90d3-d561-4489-ae98-04e6344e2903/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20ad?templateId=18963",height:628,width:1200},{templateTypeName:"Facebook story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/c7d79628-cd5c-4534-b73b-597e21bbe037/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Bake Sale Event",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20story?templateId=8124",height:1920,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/be03c76d-c1ba-40ea-bba4-c30f1a76e205/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cute Cookie Day ",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23700",height:1080,width:1080},{templateTypeName:"Flyer",imageUrl:"https://dynamic.brandcrowd.com/template/preview/5db22cb2-3787-44e5-9af1-4e8cea5de4ff/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/flyer?templateId=18978",height:1123,width:794},{templateTypeName:"Twitter post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/882719cd-71d9-4d06-b9e2-b29254016468/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/twitter%20post?templateId=18959",height:512,width:1024},{templateTypeName:"Instagram story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/be5a26b0-6aec-47b0-824b-2dbcf8f61f22/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Homemade Bakeshop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20story?templateId=18956",height:1920,width:1080},{templateTypeName:"Facebook event cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/07af9614-a92d-41a1-9c87-585e07b48b48/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20event%20cover?templateId=9522",height:1080,width:1920}],page4:[{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/9c0216f2-fcdd-45e5-bffc-1bb8b9a8bab9/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cookie Crumbs Explosion",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23532",height:1080,width:1080},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/9872139c-9b46-4dd2-9f0d-f46162e4cc11/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"New Breakfast Restaurant",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=32339",height:1080,width:1080},{templateTypeName:"Postcard",imageUrl:"https://dynamic.brandcrowd.com/template/preview/a9cd61c6-36fc-4522-9269-f5199df1af1d/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/postcard?templateId=9540",height:1276,width:1784},{templateTypeName:"Poster",imageUrl:"https://dynamic.brandcrowd.com/template/preview/f18d764f-ad59-47b6-b6a3-e54ab740424e/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/poster?templateId=9531",height:3194,width:2260},{templateTypeName:"Menu",imageUrl:"https://dynamic.brandcrowd.com/template/preview/459d8901-c017-4ba3-b3fa-4984756bdee9/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Minimal Hipster",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/menu?templateId=1498",height:1123,width:794},{templateTypeName:"Business card horizontal",imageUrl:"https://dynamic.brandcrowd.com/template/preview/2482780a-61f1-49e6-b92c-db64064b356c/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Chef Utensils Doodle ",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/business%20card%20horizontal?templateId=11416",height:599,width:1024},{templateTypeName:"Thank You Card",imageUrl:"https://dynamic.brandcrowd.com/template/preview/9a113085-6c40-4511-b7c2-6cbc0f27c757/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Corporate Badge",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/thank%20you%20card?templateId=21336",height:1300,width:1677},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/a2c53a49-4212-4266-b7dc-f6aef7430a0c/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cookie Day Illustration",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=23650",height:1080,width:1080},{templateTypeName:"Twitter post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/5c957f6b-b825-43ab-a8a9-71cfcd91dd11/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/twitter%20post?templateId=9467",height:512,width:1024},{templateTypeName:"Instagram story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/7c99863a-684f-46ac-935c-67548800c897/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20story?templateId=9468",height:1920,width:1080},{templateTypeName:"Facebook story",imageUrl:"https://dynamic.brandcrowd.com/template/preview/81ae4216-91e8-463b-b602-0683aeb1cc38/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20story?templateId=9451",height:1920,width:1080},{templateTypeName:"Facebook ad",imageUrl:"https://dynamic.brandcrowd.com/template/preview/df4808b2-93af-4579-bad8-4368757febc5/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Now Open Bakery",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20ad?templateId=9452",height:628,width:1200},{templateTypeName:"Instagram post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/2bbc0c08-25d6-4290-ab6f-b88d67d6945a/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Cake Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/instagram%20post?templateId=9470",height:1080,width:1080},{templateTypeName:"Flyer",imageUrl:"https://dynamic.brandcrowd.com/template/preview/6ea0ce2d-28a0-44b9-9fca-e5b88d1d978d/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Pink Cupcake",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/flyer?templateId=11624",height:1123,width:794},{templateTypeName:"Twitter post",imageUrl:"https://dynamic.brandcrowd.com/template/preview/08b230c3-c8f6-4caa-9d03-ab3a338144fe/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Pink Cupcake",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/twitter%20post?templateId=11617",height:512,width:1024},{templateTypeName:"Facebook cover",imageUrl:"https://dynamic.brandcrowd.com/template/preview/3f0c78ff-fd31-4e97-ac6d-f8de6953968e/1b82ba07-3024-4424-bc01-82ea819f0a92/design-preview-2x",templateName:"Pastry Cake Shop",editorUrl:"/maker/mydesigns/new/1b82ba07-3024-4424-bc01-82ea819f0a92/facebook%20cover?templateId=9525",height:312,width:820}]},le={title:"Components/Masonry",component:A},g=()=>({components:{Masonry:A},data(){return{items:h.page1}},template:`
|
|
20
|
+
<div>
|
|
21
|
+
Sample
|
|
22
|
+
<Masonry :items="items" :gap="22">
|
|
23
|
+
<template #item="{item}">
|
|
24
|
+
<figure class="tw-w-full tw-m-0 tw-p-0">
|
|
25
|
+
<img :src="item.imageUrl" class="tw-w-full" />
|
|
26
|
+
</figure>
|
|
27
|
+
</template>
|
|
28
|
+
</Masonry>
|
|
29
|
+
<div><button @click.stop="addOneItem">Add one item</button></div>
|
|
30
|
+
<div><button @click.stop="add16Items">Add next 16 item</button></div>
|
|
31
|
+
</div>
|
|
32
|
+
`,methods:{getRandomInt(e){return Math.floor(Math.random()*e)},addOneItem(){const e=this.getRandomInt(h.page2.length-1);this.items.push(h.page2[e])},add16Items(){h.page2.forEach(e=>{this.items.push(e)})}}});var I,x,T;g.parameters={...g.parameters,docs:{...(I=g.parameters)==null?void 0:I.docs,source:{originalSource:`() => {
|
|
33
|
+
return {
|
|
34
|
+
components: {
|
|
35
|
+
Masonry
|
|
36
|
+
},
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
39
|
+
items: data.page1
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
template: \`
|
|
43
|
+
<div>
|
|
44
|
+
Sample
|
|
45
|
+
<Masonry :items="items" :gap="22">
|
|
46
|
+
<template #item="{item}">
|
|
47
|
+
<figure class="tw-w-full tw-m-0 tw-p-0">
|
|
48
|
+
<img :src="item.imageUrl" class="tw-w-full" />
|
|
49
|
+
</figure>
|
|
50
|
+
</template>
|
|
51
|
+
</Masonry>
|
|
52
|
+
<div><button @click.stop="addOneItem">Add one item</button></div>
|
|
53
|
+
<div><button @click.stop="add16Items">Add next 16 item</button></div>
|
|
54
|
+
</div>
|
|
55
|
+
\`,
|
|
56
|
+
methods: {
|
|
57
|
+
getRandomInt(max) {
|
|
58
|
+
return Math.floor(Math.random() * max);
|
|
59
|
+
},
|
|
60
|
+
addOneItem() {
|
|
61
|
+
const randomIndex = this.getRandomInt(data.page2.length - 1);
|
|
62
|
+
this.items.push(data.page2[randomIndex]);
|
|
63
|
+
},
|
|
64
|
+
add16Items() {
|
|
65
|
+
data.page2.forEach(e => {
|
|
66
|
+
this.items.push(e);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}`,...(T=(x=g.parameters)==null?void 0:x.docs)==null?void 0:T.source}}};const be=["Sample"];export{g as Sample,be as __namedExportsOrder,le as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as c}from"./Icon-CLd6chSw.js";import{x as m,y as w,c as r,a as s,n as o,r as d,i as y,e as g,k as h,w as v,g as b,o as i,A as k,B as p}from"./vue.esm-bundler-BuzEyh6o.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";const B="https://bcassetcdn.com/scl-assets/images/modal-background.svg",u={components:{Icon:c},props:{simple:{type:Boolean,required:!1,default:!1},removeHorizontalMargin:{type:Boolean,required:!1,default:!1},visible:{type:Boolean,required:!1,default:!1},mandatory:{type:Boolean,required:!1,default:!1},mode:{type:String,required:!1,default:void 0},classes:{type:[String,Object],required:!1,default:""},contentClasses:{type:Array,required:!1,default:()=>[]},size:{type:String,required:!1,default:void 0},fullScreenBreakpoint:{type:String,required:!1,default:void 0},closeOnEsc:{type:Boolean,required:!1,default:!1},hideScrollbar:{type:Boolean,required:!1,default:!0},showModalBackgroundImage:{type:Boolean,required:!1,default:!0}},computed:{isImageMode(){return this.mode==="image"}},watch:{visible(a){a&&this.closeOnEsc?document.addEventListener("keydown",this.closeModalOnKeyDown):document.removeEventListener("keydown",this.closeModalOnKeyDown)}},mounted(){if(this.closeOnEsc&&document.addEventListener("keydown",this.closeModalOnKeyDown),this.showModalBackgroundImage)try{const a=document.createElement("link");a.href=B,a.rel="preload",a.as="image",document.getElementsByTagName("head")[0].appendChild(a)}catch(a){console.warn("Unable to inject modal background preload",a)}},unmounted(){this.closeOnEsc&&document.removeEventListener("keydown",this.closeModalOnKeyDown)},methods:{closeModalOnKeyDown(a){const t=a||window.event;let e=!1;"key"in t?e=t.key==="Escape"||t.key==="Esc":e=t.keyCode===27,e&&(document.removeEventListener("keydown",this.closeModalOnKeyDown),this.close())},close(a){this.mandatory||this.$emit("close-modal",a)}}},q=a=>(k("data-v-3c1e7f3a"),a=a(),p(),a),x=["aria-hidden"],I=q(()=>s("span",{class:"tw-sr-only"},"Close modal",-1));function S(a,t,e,E,V,l){const f=b("Icon");return m((i(),r("div",{"aria-hidden":e.visible?"false":"true",class:o(["tw-bg-black tw-bg-opacity-75 tw-flex tw-items-center tw-justify-center tw-fixed tw-w-full tw-h-full tw-top-0 tw-left-0 tw-z-50",{"tw-px-4":e.fullScreenBreakpoint===void 0&&!l.isImageMode,"sm:tw-px-4":e.fullScreenBreakpoint==="sm"&&!l.isImageMode}]),onMousedown:t[2]||(t[2]=v((...n)=>l.close&&l.close(...n),["self"]))},[s("div",{class:o(["modal tw-shadow-xl tw-bg-grayscale-200 tw-relative tw-flex tw-flex-col tw-box-border tw-outline-none",[{"tw-w-full":!l.isImageMode,"tw-p-4":!e.simple,"tw-max-w-md":e.size==="md","tw-max-w-xl":e.size==="xl","tw-max-w-2xl":!e.size&&!l.isImageMode,"tw-max-h-screen-90 tw-mx-4":e.fullScreenBreakpoint===void 0&&e.removeHorizontalMargin===!1,"tw-max-h-screen tw-h-full sm:tw-h-auto tw-rounded-none sm:tw-rounded-md":e.fullScreenBreakpoint==="sm","tw-rounded-md":e.fullScreenBreakpoint!=="sm","modal-bg":!e.simple&&!l.isImageMode&&e.showModalBackgroundImage,"modal-image":l.isImageMode},e.classes]]),onKeydown:t[1]||(t[1]=h(n=>e.closeOnEsc&&l.close(),["esc"]))},[s("div",{class:o({"tw-relative":!e.simple,"tw-absolute tw-top-0 tw-right-0 tw-transform tw-translate-y-4 tw--translate-x-4 tw-z-30":e.simple})},[s("div",{class:o({"header-min-height":!e.mandatory})},[d(a.$slots,"header",{},void 0,!0)],2),e.mandatory?g("",!0):(i(),r("button",{key:0,class:"tw-absolute tw-right-0 tw-top-0 tw-border-none tw-text-secondary-500 tw-appearance-none tw-bg-transparent tw-p-0 tw-w-8 tw-h-8 tw-ml-auto tw-cursor-pointer","data-test-modal-close-btn":"",onClick:t[0]||(t[0]=n=>l.close(n))},[I,y(f,{name:"close",size:"sm"})]))],2),s("div",{class:o(["modal-content tw-h-full",[{"tw-overflow-y-auto":!l.isImageMode&&!e.contentClasses.find(n=>n.includes("tw-overflow-y")),"hide-scroll":e.hideScrollbar},e.contentClasses]])},[d(a.$slots,"default",{},void 0,!0)],2),s("div",null,[d(a.$slots,"footer",{},void 0,!0)])],34)],42,x)),[[w,e.visible]])}const _=M(u,[["render",S],["__scopeId","data-v-3c1e7f3a"]]);u.__docgenInfo={exportName:"default",displayName:"Modal",description:"",tags:{},props:[{name:"simple",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"removeHorizontalMargin",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"visible",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"mandatory",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"mode",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"classes",type:{name:"string|object"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"contentClasses",type:{name:"array"},required:!1,defaultValue:{func:!1,value:"[]"}},{name:"size",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"fullScreenBreakpoint",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"closeOnEsc",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"hideScrollbar",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"showModalBackgroundImage",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}}],events:[{name:"close-modal",type:{names:["undefined"]}}],slots:[{name:"header"},{name:"default"},{name:"footer"}],sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/Modal/Modal.vue"]};export{_ as M};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.modal[data-v-3c1e7f3a]{max-height:100vh}.modal.modal-bg[data-v-3c1e7f3a]{background-image:url(https://bcassetcdn.com/scl-assets/images/modal-background.svg)}.modal .hide-scroll[data-v-3c1e7f3a]::-webkit-scrollbar{display:none}.modal .hide-scroll[data-v-3c1e7f3a]{-ms-overflow-style:none;scrollbar-width:none}.modal .header-min-height[data-v-3c1e7f3a]{min-height:32px}.modal.modal-image .modal-content img[data-v-3c1e7f3a]{max-width:100%;max-height:90vh}.modal[data-v-3c1e7f3a] .swiper-wrapper{max-height:90vh}
|
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import{M as t}from"./Modal-BLdvoK5M.js";import{B as Y}from"./Button-C9BkIo_w.js";import"./Icon-CLd6chSw.js";import"./vue.esm-bundler-BuzEyh6o.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ButtonPrimary-BD3XC-26.js";const{useArgs:s}=__STORYBOOK_MODULE_PREVIEW_API__,U={title:"Components/Modal",component:t},o={render:e=>{const[,n]=s();return{components:{Modal:t},setup(){return{args:e}},template:`
|
|
2
|
+
<Modal v-bind="args" close-on-esc @close-modal="closeLoginModal">
|
|
3
|
+
Your component goes here
|
|
4
|
+
</Modal>
|
|
5
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})}}}},args:{visible:!0}},g={render:e=>{const[,n]=s();return{components:{Modal:t,Button:Y},setup(){return{args:e}},template:`
|
|
6
|
+
<div>
|
|
7
|
+
<Button size="medium" variant="primary" label="Click Me" @on-click="onButtonClick" />
|
|
8
|
+
<Modal v-bind="args" close-on-esc @close-modal="closeLoginModal">
|
|
9
|
+
Your component goes here
|
|
10
|
+
</Modal>
|
|
11
|
+
</div>
|
|
12
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})},onButtonClick(){n({...e,visible:!0})}}}},args:{visible:!0}},c={render:e=>{const[,n]=s();return{components:{Modal:t},setup(){return{args:e}},template:`
|
|
13
|
+
<Modal v-bind="args" :simple="true" @close-modal="closeLoginModal">
|
|
14
|
+
<div class="tw-px-8">
|
|
15
|
+
<div>
|
|
16
|
+
<h2 class="tw-text-2xl tw-text-center tw-mb-4">Hello World</h2>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</Modal>
|
|
20
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})}}}},args:{visible:!0}},r={render:e=>{const[,n]=s();return{components:{Modal:t},setup(){return{args:e}},template:`
|
|
21
|
+
<Modal v-bind="args" :mandatory="true" @close-modal="closeLoginModal">
|
|
22
|
+
I'm a mandatory modal
|
|
23
|
+
</Modal>
|
|
24
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})}}}},args:{visible:!0}},a={render:e=>{const[,n]=s();return{components:{Modal:t},setup(){return{args:e}},template:`
|
|
25
|
+
<Modal v-bind="args" @close-modal="closeLoginModal">
|
|
26
|
+
<div>
|
|
27
|
+
<div>Heading</div>
|
|
28
|
+
<div style="height: 150px;">Contents 1</div>
|
|
29
|
+
<div style="height: 250px;">Contents 2</div>
|
|
30
|
+
<div style="height: 300px;">Contents 3</div>
|
|
31
|
+
<button>Save</button>
|
|
32
|
+
</div>
|
|
33
|
+
</Modal>
|
|
34
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})}}}},args:{visible:!0}},l={render:e=>{const[,n]=s();return{components:{Modal:t},setup(){return{args:e}},template:`
|
|
35
|
+
<Modal v-bind="args" @close-modal="closeLoginModal">
|
|
36
|
+
<template v-slot:header>
|
|
37
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
38
|
+
<span>Header</span>
|
|
39
|
+
</div>
|
|
40
|
+
<div>
|
|
41
|
+
<span>Sticky content here which does not overflow</span>
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
44
|
+
<div class="sm:tw-h-96">
|
|
45
|
+
<div style="height: 150px;">Over flowing Contents 1</div>
|
|
46
|
+
<div style="height: 200px;">Over flowing Contents 2</div>
|
|
47
|
+
<div style="height: 350px;">Over flowing Contents 3</div>
|
|
48
|
+
<div style="height: 350px;">Over flowing Contents 4</div>
|
|
49
|
+
<div style="height: 350px;">Over flowing Contents 5</div>
|
|
50
|
+
<button>Save</button>
|
|
51
|
+
</div>
|
|
52
|
+
<template v-slot:footer>
|
|
53
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
54
|
+
<span>Footer</span>
|
|
55
|
+
</div>
|
|
56
|
+
</template>
|
|
57
|
+
</Modal>
|
|
58
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})}}}},args:{visible:!0}},i={render:e=>{const[,n]=s();return{components:{Modal:t},setup(){return{args:e}},template:`
|
|
59
|
+
<Modal v-bind="args" @close-modal="closeLoginModal" fullScreenBreakpoint="sm">
|
|
60
|
+
<template v-slot:header>
|
|
61
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
62
|
+
<span>Try resizing browser</span>
|
|
63
|
+
</div>
|
|
64
|
+
</template>
|
|
65
|
+
<div class="sm:tw-h-96">
|
|
66
|
+
<div style="height: 150px;">Over flowing Contents 1</div>
|
|
67
|
+
<div style="height: 200px;">Over flowing Contents 2</div>
|
|
68
|
+
<div style="height: 350px;">Over flowing Contents 3</div>
|
|
69
|
+
<div style="height: 350px;">Over flowing Contents 4</div>
|
|
70
|
+
<div style="height: 350px;">Over flowing Contents 5</div>
|
|
71
|
+
<button>Save</button>
|
|
72
|
+
</div>
|
|
73
|
+
<template v-slot:footer>
|
|
74
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
75
|
+
<span>Footer</span>
|
|
76
|
+
</div>
|
|
77
|
+
</template>
|
|
78
|
+
</Modal>
|
|
79
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})}}}},args:{visible:!0}},d={render:e=>{const[,n]=s();return{components:{Modal:t},setup(){return{args:e}},template:`
|
|
80
|
+
<Modal mode="image" v-bind="args" @close-modal="closeLoginModal">
|
|
81
|
+
<img alt="modal-img" src="https://source.unsplash.com/random/1200x1200"/>
|
|
82
|
+
</Modal>
|
|
83
|
+
`,methods:{closeLoginModal(){n({...e,visible:!1})}}}},args:{visible:!0}};d.story={name:"Modal — Image"};o.story={name:"Modal"};r.story={name:"Modal — Mandatory"};a.story={name:"Modal — Overflow Height"};l.story={name:"Modal — Header and Footer"};i.story={name:"Modal — Fullscreen breakpoint"};var p,v,m;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{
|
|
84
|
+
render: args => {
|
|
85
|
+
const [, setArgs] = useArgs();
|
|
86
|
+
return {
|
|
87
|
+
components: {
|
|
88
|
+
Modal
|
|
89
|
+
},
|
|
90
|
+
setup() {
|
|
91
|
+
return {
|
|
92
|
+
args
|
|
93
|
+
};
|
|
94
|
+
},
|
|
95
|
+
template: \`
|
|
96
|
+
<Modal v-bind="args" close-on-esc @close-modal="closeLoginModal">
|
|
97
|
+
Your component goes here
|
|
98
|
+
</Modal>
|
|
99
|
+
\`,
|
|
100
|
+
methods: {
|
|
101
|
+
closeLoginModal() {
|
|
102
|
+
setArgs({
|
|
103
|
+
...args,
|
|
104
|
+
visible: false
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
},
|
|
110
|
+
args: {
|
|
111
|
+
visible: true
|
|
112
|
+
}
|
|
113
|
+
}`,...(m=(v=o.parameters)==null?void 0:v.docs)==null?void 0:m.source}}};var u,h,M;g.parameters={...g.parameters,docs:{...(u=g.parameters)==null?void 0:u.docs,source:{originalSource:`{
|
|
114
|
+
render: args => {
|
|
115
|
+
const [, setArgs] = useArgs();
|
|
116
|
+
return {
|
|
117
|
+
components: {
|
|
118
|
+
Modal,
|
|
119
|
+
Button
|
|
120
|
+
},
|
|
121
|
+
setup() {
|
|
122
|
+
return {
|
|
123
|
+
args
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
template: \`
|
|
127
|
+
<div>
|
|
128
|
+
<Button size="medium" variant="primary" label="Click Me" @on-click="onButtonClick" />
|
|
129
|
+
<Modal v-bind="args" close-on-esc @close-modal="closeLoginModal">
|
|
130
|
+
Your component goes here
|
|
131
|
+
</Modal>
|
|
132
|
+
</div>
|
|
133
|
+
\`,
|
|
134
|
+
methods: {
|
|
135
|
+
closeLoginModal() {
|
|
136
|
+
setArgs({
|
|
137
|
+
...args,
|
|
138
|
+
visible: false
|
|
139
|
+
});
|
|
140
|
+
},
|
|
141
|
+
onButtonClick() {
|
|
142
|
+
setArgs({
|
|
143
|
+
...args,
|
|
144
|
+
visible: true
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
args: {
|
|
151
|
+
visible: true
|
|
152
|
+
}
|
|
153
|
+
}`,...(M=(h=g.parameters)==null?void 0:h.docs)==null?void 0:M.source}}};var b,f,x;c.parameters={...c.parameters,docs:{...(b=c.parameters)==null?void 0:b.docs,source:{originalSource:`{
|
|
154
|
+
render: args => {
|
|
155
|
+
const [, setArgs] = useArgs();
|
|
156
|
+
return {
|
|
157
|
+
components: {
|
|
158
|
+
Modal
|
|
159
|
+
},
|
|
160
|
+
setup() {
|
|
161
|
+
return {
|
|
162
|
+
args
|
|
163
|
+
};
|
|
164
|
+
},
|
|
165
|
+
template: \`
|
|
166
|
+
<Modal v-bind="args" :simple="true" @close-modal="closeLoginModal">
|
|
167
|
+
<div class="tw-px-8">
|
|
168
|
+
<div>
|
|
169
|
+
<h2 class="tw-text-2xl tw-text-center tw-mb-4">Hello World</h2>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</Modal>
|
|
173
|
+
\`,
|
|
174
|
+
methods: {
|
|
175
|
+
closeLoginModal() {
|
|
176
|
+
setArgs({
|
|
177
|
+
...args,
|
|
178
|
+
visible: false
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
},
|
|
184
|
+
args: {
|
|
185
|
+
visible: true
|
|
186
|
+
}
|
|
187
|
+
}`,...(x=(f=c.parameters)==null?void 0:f.docs)==null?void 0:x.source}}};var y,w,A;r.parameters={...r.parameters,docs:{...(y=r.parameters)==null?void 0:y.docs,source:{originalSource:`{
|
|
188
|
+
render: args => {
|
|
189
|
+
const [, setArgs] = useArgs();
|
|
190
|
+
return {
|
|
191
|
+
components: {
|
|
192
|
+
Modal
|
|
193
|
+
},
|
|
194
|
+
setup() {
|
|
195
|
+
return {
|
|
196
|
+
args
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
template: \`
|
|
200
|
+
<Modal v-bind="args" :mandatory="true" @close-modal="closeLoginModal">
|
|
201
|
+
I'm a mandatory modal
|
|
202
|
+
</Modal>
|
|
203
|
+
\`,
|
|
204
|
+
methods: {
|
|
205
|
+
closeLoginModal() {
|
|
206
|
+
setArgs({
|
|
207
|
+
...args,
|
|
208
|
+
visible: false
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
},
|
|
214
|
+
args: {
|
|
215
|
+
visible: true
|
|
216
|
+
}
|
|
217
|
+
}`,...(A=(w=r.parameters)==null?void 0:w.docs)==null?void 0:A.source}}};var C,L,S;a.parameters={...a.parameters,docs:{...(C=a.parameters)==null?void 0:C.docs,source:{originalSource:`{
|
|
218
|
+
render: args => {
|
|
219
|
+
const [, setArgs] = useArgs();
|
|
220
|
+
return {
|
|
221
|
+
components: {
|
|
222
|
+
Modal
|
|
223
|
+
},
|
|
224
|
+
setup() {
|
|
225
|
+
return {
|
|
226
|
+
args
|
|
227
|
+
};
|
|
228
|
+
},
|
|
229
|
+
template: \`
|
|
230
|
+
<Modal v-bind="args" @close-modal="closeLoginModal">
|
|
231
|
+
<div>
|
|
232
|
+
<div>Heading</div>
|
|
233
|
+
<div style="height: 150px;">Contents 1</div>
|
|
234
|
+
<div style="height: 250px;">Contents 2</div>
|
|
235
|
+
<div style="height: 300px;">Contents 3</div>
|
|
236
|
+
<button>Save</button>
|
|
237
|
+
</div>
|
|
238
|
+
</Modal>
|
|
239
|
+
\`,
|
|
240
|
+
methods: {
|
|
241
|
+
closeLoginModal() {
|
|
242
|
+
setArgs({
|
|
243
|
+
...args,
|
|
244
|
+
visible: false
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
},
|
|
250
|
+
args: {
|
|
251
|
+
visible: true
|
|
252
|
+
}
|
|
253
|
+
}`,...(S=(L=a.parameters)==null?void 0:L.docs)==null?void 0:S.source}}};var O,B,k;l.parameters={...l.parameters,docs:{...(O=l.parameters)==null?void 0:O.docs,source:{originalSource:`{
|
|
254
|
+
render: args => {
|
|
255
|
+
const [, setArgs] = useArgs();
|
|
256
|
+
return {
|
|
257
|
+
components: {
|
|
258
|
+
Modal
|
|
259
|
+
},
|
|
260
|
+
setup() {
|
|
261
|
+
return {
|
|
262
|
+
args
|
|
263
|
+
};
|
|
264
|
+
},
|
|
265
|
+
template: \`
|
|
266
|
+
<Modal v-bind="args" @close-modal="closeLoginModal">
|
|
267
|
+
<template v-slot:header>
|
|
268
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
269
|
+
<span>Header</span>
|
|
270
|
+
</div>
|
|
271
|
+
<div>
|
|
272
|
+
<span>Sticky content here which does not overflow</span>
|
|
273
|
+
</div>
|
|
274
|
+
</template>
|
|
275
|
+
<div class="sm:tw-h-96">
|
|
276
|
+
<div style="height: 150px;">Over flowing Contents 1</div>
|
|
277
|
+
<div style="height: 200px;">Over flowing Contents 2</div>
|
|
278
|
+
<div style="height: 350px;">Over flowing Contents 3</div>
|
|
279
|
+
<div style="height: 350px;">Over flowing Contents 4</div>
|
|
280
|
+
<div style="height: 350px;">Over flowing Contents 5</div>
|
|
281
|
+
<button>Save</button>
|
|
282
|
+
</div>
|
|
283
|
+
<template v-slot:footer>
|
|
284
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
285
|
+
<span>Footer</span>
|
|
286
|
+
</div>
|
|
287
|
+
</template>
|
|
288
|
+
</Modal>
|
|
289
|
+
\`,
|
|
290
|
+
methods: {
|
|
291
|
+
closeLoginModal() {
|
|
292
|
+
setArgs({
|
|
293
|
+
...args,
|
|
294
|
+
visible: false
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
},
|
|
300
|
+
args: {
|
|
301
|
+
visible: true
|
|
302
|
+
}
|
|
303
|
+
}`,...(k=(B=l.parameters)==null?void 0:B.docs)==null?void 0:k.source}}};var z,F,H;i.parameters={...i.parameters,docs:{...(z=i.parameters)==null?void 0:z.docs,source:{originalSource:`{
|
|
304
|
+
render: args => {
|
|
305
|
+
const [, setArgs] = useArgs();
|
|
306
|
+
return {
|
|
307
|
+
components: {
|
|
308
|
+
Modal
|
|
309
|
+
},
|
|
310
|
+
setup() {
|
|
311
|
+
return {
|
|
312
|
+
args
|
|
313
|
+
};
|
|
314
|
+
},
|
|
315
|
+
template: \`
|
|
316
|
+
<Modal v-bind="args" @close-modal="closeLoginModal" fullScreenBreakpoint="sm">
|
|
317
|
+
<template v-slot:header>
|
|
318
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
319
|
+
<span>Try resizing browser</span>
|
|
320
|
+
</div>
|
|
321
|
+
</template>
|
|
322
|
+
<div class="sm:tw-h-96">
|
|
323
|
+
<div style="height: 150px;">Over flowing Contents 1</div>
|
|
324
|
+
<div style="height: 200px;">Over flowing Contents 2</div>
|
|
325
|
+
<div style="height: 350px;">Over flowing Contents 3</div>
|
|
326
|
+
<div style="height: 350px;">Over flowing Contents 4</div>
|
|
327
|
+
<div style="height: 350px;">Over flowing Contents 5</div>
|
|
328
|
+
<button>Save</button>
|
|
329
|
+
</div>
|
|
330
|
+
<template v-slot:footer>
|
|
331
|
+
<div style="text-align: center; font-weight: 600; font-size: 20px;">
|
|
332
|
+
<span>Footer</span>
|
|
333
|
+
</div>
|
|
334
|
+
</template>
|
|
335
|
+
</Modal>
|
|
336
|
+
\`,
|
|
337
|
+
methods: {
|
|
338
|
+
closeLoginModal() {
|
|
339
|
+
setArgs({
|
|
340
|
+
...args,
|
|
341
|
+
visible: false
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
},
|
|
347
|
+
args: {
|
|
348
|
+
visible: true
|
|
349
|
+
}
|
|
350
|
+
}`,...(H=(F=i.parameters)==null?void 0:F.docs)==null?void 0:H.source}}};var _,I,W;d.parameters={...d.parameters,docs:{...(_=d.parameters)==null?void 0:_.docs,source:{originalSource:`{
|
|
351
|
+
render: args => {
|
|
352
|
+
const [, setArgs] = useArgs();
|
|
353
|
+
return {
|
|
354
|
+
components: {
|
|
355
|
+
Modal
|
|
356
|
+
},
|
|
357
|
+
setup() {
|
|
358
|
+
return {
|
|
359
|
+
args
|
|
360
|
+
};
|
|
361
|
+
},
|
|
362
|
+
template: \`
|
|
363
|
+
<Modal mode="image" v-bind="args" @close-modal="closeLoginModal">
|
|
364
|
+
<img alt="modal-img" src="https://source.unsplash.com/random/1200x1200"/>
|
|
365
|
+
</Modal>
|
|
366
|
+
\`,
|
|
367
|
+
methods: {
|
|
368
|
+
closeLoginModal() {
|
|
369
|
+
setArgs({
|
|
370
|
+
...args,
|
|
371
|
+
visible: false
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
},
|
|
377
|
+
args: {
|
|
378
|
+
visible: true
|
|
379
|
+
}
|
|
380
|
+
}`,...(W=(I=d.parameters)==null?void 0:I.docs)==null?void 0:W.source}}};const V=["Sample","OpenWithButton","Simple","MandatorySample","InnerOverflowSample","HeaderFooterSample","FullscreenBreakpointSample","Image"];export{i as FullscreenBreakpointSample,l as HeaderFooterSample,d as Image,a as InnerOverflowSample,r as MandatorySample,g as OpenWithButton,o as Sample,c as Simple,V as __namedExportsOrder,U as default};
|