@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{F as w}from"./FormControl.mixin-BBDP7qRp.js";import{c as o,n as l,j as b,t as f,e as i,a as s,i as p,m as y,w as u,k as x,g as F,o as t}from"./vue.esm-bundler-BuzEyh6o.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";const C={mixins:[w],props:{type:{type:String,required:!1,default:"text"},enableClear:{type:Boolean,required:!1,default:!1},enableClearConfirmation:{type:Boolean,required:!1,default:!1},borderLeft:{type:Boolean,required:!1,default:!0},borderRight:{type:Boolean,required:!1,default:!0},prefixText:{type:String,required:!1,default:void 0},elementClasses:{type:String,required:!1,default:""}},computed:{enableInput(){return this.enableClear||this.enableClearConfirmation}},methods:{onClearInput(){this.enableClear?(this.$emit("on-clear"),this.input("")):this.enableClearConfirmation&&this.$emit("on-clear-confirmation")}}},g={class:"tw-box-border"},h=["for"],v={key:0,class:"tw-text-error-500"},q={key:0,class:"tw-font-sans tw-bg-grayscale-200 tw-text-grayscale-600 tw-text-sm tw-px-2 tw-inline-flex tw-items-center tw-border tw-border-solid tw-shadow-inner tw-border-grayscale-500 tw-rounded-l tw-border-r-0"},V=["id","type","value","name","required","placeholder","disabled","readonly","minlength","maxlength"];function j(e,r,n,k,I,m){const d=F("Icon");return t(),o("div",g,[e.label?(t(),o("label",{key:0,for:`scl-input-${e.id}`,class:l(["tw-font-sans tw-text-grayscale-600 tw-text-sm tw-mb-2 tw-block tw-font-semibold",{"tw-sr-only":e.showLabelScreenReaderOnly}])},[b(f(e.label)+" ",1),e.required?(t(),o("span",v,"*")):i("",!0)],10,h)):i("",!0),s("div",{class:l({"tw-flex":!!n.prefixText})},[n.prefixText?(t(),o("span",q,f(n.prefixText),1)):i("",!0),s("div",{class:l([{"tw-relative":e.icon||m.enableInput},"tw-w-full"])},[e.icon?(t(),o("div",{key:0,class:l(["tw-absolute tw-top-0 tw-left-0 tw-transform tw-translate-x-4 tw-text-grayscale-500",{"tw-translate-y-2.5":e.size==="sm","tw-translate-y-1/2":e.size!=="sm"}])},[p(d,{name:e.icon,size:"md"},null,8,["name"])],2)):i("",!0),s("input",y({id:e.id?`scl-input-${e.id}`:null},e.attrs,{type:n.type,value:e.modelValue,name:e.name,required:e.required,placeholder:e.placeholder,disabled:e.disabled,readonly:e.readonly,minlength:e.minlength,maxlength:e.maxlength,class:[[n.elementClasses,{"tw-bg-white":!e.readonly,"tw-bg-grayscale-200":e.readonly,"tw-border-error-500 focus:tw-border-error-600":e.error,"tw-border-warning-500 focus:tw-border-warning-600":e.warning,"tw-border-success-500 focus:tw-border-success-600":e.success,"tw-border-grayscale-500 focus:tw-border-grayscale-600":!e.error&&!e.warning&&!e.success,"tw-opacity-50":e.disabled,"tw-pl-12":e.icon,"tw-pr-12":n.enableClear,"tw-py-2":e.size==="sm","tw-py-3.5":e.size!=="sm","tw-rounded-r":n.borderRight,"tw-rounded-l":n.borderLeft&&!n.prefixText,"tw-border-l-0":!n.borderLeft,"tw-border-r-0":!n.borderRight,"!tw-rounded-l-none":n.borderRight&&!n.borderLeft,"!tw-rounded-r-none":n.borderLeft&&!n.borderRight}],"tw-text-grayscale-600 tw-box-border tw-w-full tw-text-base tw-px-4 tw-border tw-border-solid focus:tw-outline-none tw-transition-colors tw-duration-300 tw-ease-out tw-shadow-inner"],onInput:r[0]||(r[0]=u(a=>e.input(a.target.value),["stop"])),onKeyup:[r[1]||(r[1]=u(a=>e.keyup(a.target.value),["stop"])),r[5]||(r[5]=x(a=>e.enterKeyUp(a.target.value),["enter"]))],onKeydown:r[2]||(r[2]=u(a=>e.keydown(a),["stop"])),onFocus:r[3]||(r[3]=a=>e.focus(a.target.value)),onBlur:r[4]||(r[4]=a=>e.blur(a.target.value))}),null,16,V),m.enableInput&&e.modelValue!==""?(t(),o("div",{key:1,class:l(["tw-absolute tw-top-0 tw-right-0 tw-transform tw--translate-x-4 tw-text-grayscale-500 tw-cursor-pointer",{"tw-translate-y-2.5":e.size==="sm","tw-translate-y-1/2":e.size!=="sm"}]),onClick:r[6]||(r[6]=(...a)=>m.onClearInput&&m.onClearInput(...a))},[p(d,{name:"close",size:"md"})],2)):i("",!0)],2)],2)])}const L=c(C,[["render",j]]);C.__docgenInfo={exportName:"default",displayName:"TextInput",description:"",tags:{},props:[{name:"attrs",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"object"},required:!1,defaultValue:{func:!0,value:"() => {}"}},{name:"modelValue",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string|number"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"id",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"placeholder",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"size",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'sm'"}},{name:"label",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"showLabelScreenReaderOnly",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"icon",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"required",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"error",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"warning",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"success",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"disabled",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"readonly",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"name",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"maxlength",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"number"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"minlength",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"number"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"isSpaceDisabled",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"type",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'text'"}},{name:"enableClear",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"enableClearConfirmation",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"borderLeft",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"borderRight",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"prefixText",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"elementClasses",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}}],events:[{name:"update:modelValue",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"input",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"keyup",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"keydown",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"focus",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"blur",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"enter-key-up",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"on-clear"},{name:"on-clear-confirmation"}],sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/FormControl/FormControl.mixin.js","/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/TextInput/TextInput.vue"]};export{L as T};
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import{T as g}from"./TextInput-AbeV01jN.js";import"./FormControl.mixin-BBDP7qRp.js";import"./Icon-CLd6chSw.js";import"./vue.esm-bundler-BuzEyh6o.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const he={title:"Components/Text Input",component:g},e={components:{TextInput:g},data(){return{value:"Hello world",attrs:{"data-test-tag":"test"}}}},t=()=>({...e,template:`
|
|
2
|
+
<TextInput v-model="value" :attrs="attrs" />
|
|
3
|
+
`}),r=()=>({...e,template:`
|
|
4
|
+
<TextInput v-model="value" size="sm" :attrs="attrs" />
|
|
5
|
+
`}),a=()=>({...e,template:`
|
|
6
|
+
<TextInput v-model="value" size="sm" icon="message" :attrs="attrs" />
|
|
7
|
+
`}),n=()=>({...e,template:`
|
|
8
|
+
<TextInput v-model="value" icon="message" :attrs="attrs" />
|
|
9
|
+
`}),s=()=>({...e,template:`
|
|
10
|
+
<TextInput v-model="value" label="Your Name" :attrs="attrs" />
|
|
11
|
+
`}),o=()=>({...e,template:`
|
|
12
|
+
<TextInput v-model="value" label="Your Name" :required="true" :attrs="attrs" />
|
|
13
|
+
`}),l=()=>({...e,template:`
|
|
14
|
+
<TextInput v-model="value" label="Your Name" icon="message" :attrs="attrs" />
|
|
15
|
+
`}),u=()=>({...e,template:`
|
|
16
|
+
<TextInput v-model="value" :warning="true" :attrs="attrs" />
|
|
17
|
+
`}),d=()=>({...e,template:`
|
|
18
|
+
<TextInput v-model="value" :error="true" :attrs="attrs" />
|
|
19
|
+
`}),p=()=>({...e,template:`
|
|
20
|
+
<TextInput v-model="value" :success="true" :attrs="attrs" />
|
|
21
|
+
`}),c=()=>({...e,template:`
|
|
22
|
+
<TextInput v-model="value" :disabled="true" :attrs="attrs" />
|
|
23
|
+
`}),m=()=>({...e,template:`
|
|
24
|
+
<TextInput v-model="value" :readonly="true" :attrs="attrs" />
|
|
25
|
+
`}),i=()=>({...e,template:`
|
|
26
|
+
<TextInput placeholder="Start typing..." :attrs="attrs" />
|
|
27
|
+
`}),v=()=>({...e,template:`
|
|
28
|
+
<div>
|
|
29
|
+
<TextInput v-model="value" :enable-clear="true" @on-clear="value = ''" :attrs="attrs" />
|
|
30
|
+
<span>Current Text Value: {{value}}</span>
|
|
31
|
+
</div>
|
|
32
|
+
`}),x=()=>({...e,template:`
|
|
33
|
+
<TextInput placeholder="your-brand-name" prefix-text="https://www.brand.page/" :attrs="attrs" />
|
|
34
|
+
`}),T=()=>({...e,template:`
|
|
35
|
+
<TextInput v-model="value" :border-left="false" :attrs="attrs" />
|
|
36
|
+
`}),I=()=>({...e,template:`
|
|
37
|
+
<TextInput v-model="value" :border-right="false" :attrs="attrs" />
|
|
38
|
+
`}),b=()=>({components:{TextInput:g},data(){return{blurCalled:0,focusCalled:0,keyDownCalled:0,keyUpCalled:0}},template:`
|
|
39
|
+
<div>
|
|
40
|
+
<TextInput placeholder="Start typing..." @blur="onBlur" @focus="onFocus" @keydown="onKeyDown" @keyup="onKeyUp" />
|
|
41
|
+
<table border="1" class="tw-font-sans tw-mt-8">
|
|
42
|
+
<tr>
|
|
43
|
+
<td>blurCalled</td>
|
|
44
|
+
<td>{{ blurCalled }}</td>
|
|
45
|
+
</tr>
|
|
46
|
+
<tr>
|
|
47
|
+
<td>focusCalled</td>
|
|
48
|
+
<td>{{ focusCalled }}</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<td>keyDownCalled</td>
|
|
52
|
+
<td>{{ keyDownCalled }}</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td>keyUpCalled</td>
|
|
56
|
+
<td>{{ keyUpCalled }}</td>
|
|
57
|
+
</tr>
|
|
58
|
+
</table>
|
|
59
|
+
</div>
|
|
60
|
+
`,methods:{onBlur(){this.blurCalled+=1},onFocus(){this.focusCalled+=1},onKeyDown(){this.keyDownCalled+=1},onKeyUp(){this.keyUpCalled+=1}}});var y,C,S;t.parameters={...t.parameters,docs:{...(y=t.parameters)==null?void 0:y.docs,source:{originalSource:`() => {
|
|
61
|
+
return {
|
|
62
|
+
...data,
|
|
63
|
+
template: \`
|
|
64
|
+
<TextInput v-model="value" :attrs="attrs" />
|
|
65
|
+
\`
|
|
66
|
+
};
|
|
67
|
+
}`,...(S=(C=t.parameters)==null?void 0:C.docs)==null?void 0:S.source}}};var w,f,h;r.parameters={...r.parameters,docs:{...(w=r.parameters)==null?void 0:w.docs,source:{originalSource:`() => {
|
|
68
|
+
return {
|
|
69
|
+
...data,
|
|
70
|
+
template: \`
|
|
71
|
+
<TextInput v-model="value" size="sm" :attrs="attrs" />
|
|
72
|
+
\`
|
|
73
|
+
};
|
|
74
|
+
}`,...(h=(f=r.parameters)==null?void 0:f.docs)==null?void 0:h.source}}};var k,D,U;a.parameters={...a.parameters,docs:{...(k=a.parameters)==null?void 0:k.docs,source:{originalSource:`() => {
|
|
75
|
+
return {
|
|
76
|
+
...data,
|
|
77
|
+
template: \`
|
|
78
|
+
<TextInput v-model="value" size="sm" icon="message" :attrs="attrs" />
|
|
79
|
+
\`
|
|
80
|
+
};
|
|
81
|
+
}`,...(U=(D=a.parameters)==null?void 0:D.docs)==null?void 0:U.source}}};var B,N,K;n.parameters={...n.parameters,docs:{...(B=n.parameters)==null?void 0:B.docs,source:{originalSource:`() => {
|
|
82
|
+
return {
|
|
83
|
+
...data,
|
|
84
|
+
template: \`
|
|
85
|
+
<TextInput v-model="value" icon="message" :attrs="attrs" />
|
|
86
|
+
\`
|
|
87
|
+
};
|
|
88
|
+
}`,...(K=(N=n.parameters)==null?void 0:N.docs)==null?void 0:K.source}}};var L,R,Y;s.parameters={...s.parameters,docs:{...(L=s.parameters)==null?void 0:L.docs,source:{originalSource:`() => {
|
|
89
|
+
return {
|
|
90
|
+
...data,
|
|
91
|
+
template: \`
|
|
92
|
+
<TextInput v-model="value" label="Your Name" :attrs="attrs" />
|
|
93
|
+
\`
|
|
94
|
+
};
|
|
95
|
+
}`,...(Y=(R=s.parameters)==null?void 0:R.docs)==null?void 0:Y.source}}};var E,q,z;o.parameters={...o.parameters,docs:{...(E=o.parameters)==null?void 0:E.docs,source:{originalSource:`() => {
|
|
96
|
+
return {
|
|
97
|
+
...data,
|
|
98
|
+
template: \`
|
|
99
|
+
<TextInput v-model="value" label="Your Name" :required="true" :attrs="attrs" />
|
|
100
|
+
\`
|
|
101
|
+
};
|
|
102
|
+
}`,...(z=(q=o.parameters)==null?void 0:q.docs)==null?void 0:z.source}}};var F,P,W;l.parameters={...l.parameters,docs:{...(F=l.parameters)==null?void 0:F.docs,source:{originalSource:`() => {
|
|
103
|
+
return {
|
|
104
|
+
...data,
|
|
105
|
+
template: \`
|
|
106
|
+
<TextInput v-model="value" label="Your Name" icon="message" :attrs="attrs" />
|
|
107
|
+
\`
|
|
108
|
+
};
|
|
109
|
+
}`,...(W=(P=l.parameters)==null?void 0:P.docs)==null?void 0:W.source}}};var _,V,H;u.parameters={...u.parameters,docs:{...(_=u.parameters)==null?void 0:_.docs,source:{originalSource:`() => {
|
|
110
|
+
return {
|
|
111
|
+
...data,
|
|
112
|
+
template: \`
|
|
113
|
+
<TextInput v-model="value" :warning="true" :attrs="attrs" />
|
|
114
|
+
\`
|
|
115
|
+
};
|
|
116
|
+
}`,...(H=(V=u.parameters)==null?void 0:V.docs)==null?void 0:H.source}}};var O,j,A;d.parameters={...d.parameters,docs:{...(O=d.parameters)==null?void 0:O.docs,source:{originalSource:`() => {
|
|
117
|
+
return {
|
|
118
|
+
...data,
|
|
119
|
+
template: \`
|
|
120
|
+
<TextInput v-model="value" :error="true" :attrs="attrs" />
|
|
121
|
+
\`
|
|
122
|
+
};
|
|
123
|
+
}`,...(A=(j=d.parameters)==null?void 0:j.docs)==null?void 0:A.source}}};var G,J,M;p.parameters={...p.parameters,docs:{...(G=p.parameters)==null?void 0:G.docs,source:{originalSource:`() => {
|
|
124
|
+
return {
|
|
125
|
+
...data,
|
|
126
|
+
template: \`
|
|
127
|
+
<TextInput v-model="value" :success="true" :attrs="attrs" />
|
|
128
|
+
\`
|
|
129
|
+
};
|
|
130
|
+
}`,...(M=(J=p.parameters)==null?void 0:J.docs)==null?void 0:M.source}}};var Q,X,Z;c.parameters={...c.parameters,docs:{...(Q=c.parameters)==null?void 0:Q.docs,source:{originalSource:`() => {
|
|
131
|
+
return {
|
|
132
|
+
...data,
|
|
133
|
+
template: \`
|
|
134
|
+
<TextInput v-model="value" :disabled="true" :attrs="attrs" />
|
|
135
|
+
\`
|
|
136
|
+
};
|
|
137
|
+
}`,...(Z=(X=c.parameters)==null?void 0:X.docs)==null?void 0:Z.source}}};var $,ee,te;m.parameters={...m.parameters,docs:{...($=m.parameters)==null?void 0:$.docs,source:{originalSource:`() => {
|
|
138
|
+
return {
|
|
139
|
+
...data,
|
|
140
|
+
template: \`
|
|
141
|
+
<TextInput v-model="value" :readonly="true" :attrs="attrs" />
|
|
142
|
+
\`
|
|
143
|
+
};
|
|
144
|
+
}`,...(te=(ee=m.parameters)==null?void 0:ee.docs)==null?void 0:te.source}}};var re,ae,ne;i.parameters={...i.parameters,docs:{...(re=i.parameters)==null?void 0:re.docs,source:{originalSource:`() => {
|
|
145
|
+
return {
|
|
146
|
+
...data,
|
|
147
|
+
template: \`
|
|
148
|
+
<TextInput placeholder="Start typing..." :attrs="attrs" />
|
|
149
|
+
\`
|
|
150
|
+
};
|
|
151
|
+
}`,...(ne=(ae=i.parameters)==null?void 0:ae.docs)==null?void 0:ne.source}}};var se,oe,le;v.parameters={...v.parameters,docs:{...(se=v.parameters)==null?void 0:se.docs,source:{originalSource:`() => {
|
|
152
|
+
return {
|
|
153
|
+
...data,
|
|
154
|
+
template: \`
|
|
155
|
+
<div>
|
|
156
|
+
<TextInput v-model="value" :enable-clear="true" @on-clear="value = ''" :attrs="attrs" />
|
|
157
|
+
<span>Current Text Value: {{value}}</span>
|
|
158
|
+
</div>
|
|
159
|
+
\`
|
|
160
|
+
};
|
|
161
|
+
}`,...(le=(oe=v.parameters)==null?void 0:oe.docs)==null?void 0:le.source}}};var ue,de,pe;x.parameters={...x.parameters,docs:{...(ue=x.parameters)==null?void 0:ue.docs,source:{originalSource:`() => {
|
|
162
|
+
return {
|
|
163
|
+
...data,
|
|
164
|
+
template: \`
|
|
165
|
+
<TextInput placeholder="your-brand-name" prefix-text="https://www.brand.page/" :attrs="attrs" />
|
|
166
|
+
\`
|
|
167
|
+
};
|
|
168
|
+
}`,...(pe=(de=x.parameters)==null?void 0:de.docs)==null?void 0:pe.source}}};var ce,me,ie;T.parameters={...T.parameters,docs:{...(ce=T.parameters)==null?void 0:ce.docs,source:{originalSource:`() => {
|
|
169
|
+
return {
|
|
170
|
+
...data,
|
|
171
|
+
template: \`
|
|
172
|
+
<TextInput v-model="value" :border-left="false" :attrs="attrs" />
|
|
173
|
+
\`
|
|
174
|
+
};
|
|
175
|
+
}`,...(ie=(me=T.parameters)==null?void 0:me.docs)==null?void 0:ie.source}}};var ve,xe,Te;I.parameters={...I.parameters,docs:{...(ve=I.parameters)==null?void 0:ve.docs,source:{originalSource:`() => {
|
|
176
|
+
return {
|
|
177
|
+
...data,
|
|
178
|
+
template: \`
|
|
179
|
+
<TextInput v-model="value" :border-right="false" :attrs="attrs" />
|
|
180
|
+
\`
|
|
181
|
+
};
|
|
182
|
+
}`,...(Te=(xe=I.parameters)==null?void 0:xe.docs)==null?void 0:Te.source}}};var Ie,be,ge;b.parameters={...b.parameters,docs:{...(Ie=b.parameters)==null?void 0:Ie.docs,source:{originalSource:`() => {
|
|
183
|
+
return {
|
|
184
|
+
components: {
|
|
185
|
+
TextInput
|
|
186
|
+
},
|
|
187
|
+
data() {
|
|
188
|
+
return {
|
|
189
|
+
blurCalled: 0,
|
|
190
|
+
focusCalled: 0,
|
|
191
|
+
keyDownCalled: 0,
|
|
192
|
+
keyUpCalled: 0
|
|
193
|
+
};
|
|
194
|
+
},
|
|
195
|
+
template: \`
|
|
196
|
+
<div>
|
|
197
|
+
<TextInput placeholder="Start typing..." @blur="onBlur" @focus="onFocus" @keydown="onKeyDown" @keyup="onKeyUp" />
|
|
198
|
+
<table border="1" class="tw-font-sans tw-mt-8">
|
|
199
|
+
<tr>
|
|
200
|
+
<td>blurCalled</td>
|
|
201
|
+
<td>{{ blurCalled }}</td>
|
|
202
|
+
</tr>
|
|
203
|
+
<tr>
|
|
204
|
+
<td>focusCalled</td>
|
|
205
|
+
<td>{{ focusCalled }}</td>
|
|
206
|
+
</tr>
|
|
207
|
+
<tr>
|
|
208
|
+
<td>keyDownCalled</td>
|
|
209
|
+
<td>{{ keyDownCalled }}</td>
|
|
210
|
+
</tr>
|
|
211
|
+
<tr>
|
|
212
|
+
<td>keyUpCalled</td>
|
|
213
|
+
<td>{{ keyUpCalled }}</td>
|
|
214
|
+
</tr>
|
|
215
|
+
</table>
|
|
216
|
+
</div>
|
|
217
|
+
\`,
|
|
218
|
+
methods: {
|
|
219
|
+
onBlur() {
|
|
220
|
+
this.blurCalled += 1;
|
|
221
|
+
},
|
|
222
|
+
onFocus() {
|
|
223
|
+
this.focusCalled += 1;
|
|
224
|
+
},
|
|
225
|
+
onKeyDown() {
|
|
226
|
+
this.keyDownCalled += 1;
|
|
227
|
+
},
|
|
228
|
+
onKeyUp() {
|
|
229
|
+
this.keyUpCalled += 1;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
}`,...(ge=(be=b.parameters)==null?void 0:be.docs)==null?void 0:ge.source}}};const ke=["Sample","Small","SmallWithIcon","Icon","Label","LabelRequired","LabelIcon","Warning","Error","Success","Disabled","Readonly","Placeholder","TextClearButton","PrefixText","NoLeftBorder","NoRightBorder","Events"];export{c as Disabled,d as Error,b as Events,n as Icon,s as Label,l as LabelIcon,o as LabelRequired,T as NoLeftBorder,I as NoRightBorder,i as Placeholder,x as PrefixText,m as Readonly,t as Sample,r as Small,a as SmallWithIcon,p as Success,v as TextClearButton,u as Warning,ke as __namedExportsOrder,he as default};
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import{F as be}from"./FormControl.mixin-BBDP7qRp.js";import{c as n,n as q,j as we,t as ge,e as g,a as k,i as he,m as Te,w as h,g as qe,o}from"./vue.esm-bundler-BuzEyh6o.js";import{_ as ke}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Icon-CLd6chSw.js";const ye={mixins:[be],props:{resize:{type:Boolean,required:!1,default:!0},shouldAutoFitContent:{type:Boolean,default:!1},elementClasses:{type:String,required:!1,default:""}},watch:{modelValue(){this.$emit("value-changed"),this.resizeIfRequired()}},mounted(){this.$emit("value-changed"),this.resizeIfRequired()},methods:{resizeIfRequired(){this.shouldAutoFitContent&&this.autoFitToContent()},autoFitToContent(){setTimeout(()=>{const e=document.getElementById(`scl-input-${this.id}`);e&&(e.style.height="auto",e.style.height=`${e.scrollHeight}px`)},1e3)}}},je={class:"tw-box-border"},Ve=["for"],Se={key:0,class:"tw-text-error-500"},ze={key:0,class:"tw-absolute tw-top-0 tw-left-0 tw-transform tw-translate-y-4 tw-translate-x-4 tw-text-grayscale-500"},De=["id","value","required","placeholder","disabled","readonly","minlength","maxlength"];function Ue(e,t,T,Ie,Be,Re){const Fe=qe("Icon");return o(),n("div",je,[e.label?(o(),n("label",{key:0,for:`scl-input-${e.id}`,class:q(["tw-font-sans tw-text-grayscale-600 tw-text-sm tw-mb-2 tw-block tw-font-semibold",{"tw-sr-only":e.showLabelScreenReaderOnly}])},[we(ge(e.label)+" ",1),e.required?(o(),n("span",Se,"*")):g("",!0)],10,Ve)):g("",!0),k("div",{class:q({"tw-relative":e.icon})},[e.icon?(o(),n("div",ze,[he(Fe,{name:e.icon,size:"md"},null,8,["name"])])):g("",!0),k("textarea",Te({id:e.id?`scl-input-${e.id}`:null},e.attrs,{type:"text",value:e.modelValue,required:e.required,placeholder:e.placeholder,disabled:e.disabled,readonly:e.readonly,minlength:e.minlength,maxlength:e.maxlength,class:[[T.elementClasses,{"tw-border-error-500 focus:tw-border-error-600":e.error,"tw-border-warning-500 focus:tw-border-warning-600":e.warning,"tw-border-success-500 focus:tw-border-success-600":e.success,"tw-border-grayscale-500 focus:tw-border-grayscale-600":!e.error&&!e.warning&&!e.success,"tw-opacity-50":e.disabled,"tw-pl-12":e.icon,"tw-h-20":e.size==="sm","tw-h-40":e.size==="md","tw-h-80":e.size==="lg","tw-resize-none":T.resize===!1}],"tw-font-sans tw-bg-white tw-text-grayscale-600 tw-box-border tw-w-full tw-py-3.5 tw-text-base tw-px-4 tw-rounded tw-border tw-border-solid focus:tw-outline-none tw-transition-colors tw-duration-300 tw-ease-out tw-shadow-inner"],onInput:t[0]||(t[0]=h(r=>e.input(r.target.value),["stop"])),onKeyup:t[1]||(t[1]=h(r=>e.keyup(r.target.value),["stop"])),onKeydown:t[2]||(t[2]=h(r=>e.keydown(r),["stop"])),onFocus:t[3]||(t[3]=r=>e.focus(r.target.value)),onBlur:t[4]||(t[4]=r=>e.blur(r.target.value))}),null,16,De)],2)])}const w=ke(ye,[["render",Ue]]);ye.__docgenInfo={exportName:"default",displayName:"Textarea",description:"",tags:{},props:[{name:"attrs",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"object"},required:!1,defaultValue:{func:!0,value:"() => {}"}},{name:"modelValue",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string|number"},required:!1,defaultValue:{func:!1,value:"''"}},{name:"id",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"placeholder",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"size",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'sm'"}},{name:"label",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"showLabelScreenReaderOnly",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"icon",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"required",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"error",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"warning",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"success",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"disabled",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"readonly",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"name",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"maxlength",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"number"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"minlength",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"number"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"isSpaceDisabled",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"resize",type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"true"}},{name:"shouldAutoFitContent",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"elementClasses",type:{name:"string"},required:!1,defaultValue:{func:!1,value:"''"}}],events:[{name:"update:modelValue",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"input",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"keyup",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"keydown",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"focus",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"blur",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"enter-key-up",mixin:{name:"FormControl.mixin",path:"../FormControl/FormControl.mixin.js"},type:{names:["undefined"]}},{name:"value-changed"}],sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/FormControl/FormControl.mixin.js","/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/Textarea/Textarea.vue"]};const $e={title:"Components/Textarea",component:w},a={components:{Textarea:w},data(){return{value:"Hello world",attrs:{"data-test-tag":"test"}}}},l=()=>({...a,template:`
|
|
2
|
+
<Textarea v-model="value" :attrs="attrs" />
|
|
3
|
+
`}),s=()=>({...a,template:`
|
|
4
|
+
<Textarea v-model="value" size="md" :attrs="attrs" />
|
|
5
|
+
`}),m=()=>({...a,template:`
|
|
6
|
+
<Textarea v-model="value" size="lg" :attrs="attrs" />
|
|
7
|
+
`}),i=()=>({...a,template:`
|
|
8
|
+
<Textarea v-model="value" icon="message" :attrs="attrs" />
|
|
9
|
+
`}),u=()=>({components:{Textarea:w},data(){return{value:""}},template:`
|
|
10
|
+
<Textarea v-model="value" placeholder="Start typing..." :attrs="attrs"/>
|
|
11
|
+
`}),d=()=>({...a,template:`
|
|
12
|
+
<Textarea v-model="value" :disabled="true" :attrs="attrs" />
|
|
13
|
+
`}),p=()=>({...a,template:`
|
|
14
|
+
<Textarea v-model="value" :readonly="true" :attrs="attrs" />
|
|
15
|
+
`}),c=()=>({...a,template:`
|
|
16
|
+
<Textarea v-model="value" label="Message" :attrs="attrs" />
|
|
17
|
+
`}),f=()=>({...a,template:`
|
|
18
|
+
<Textarea v-model="value" label="Message" :required="true" :attrs="attrs" />
|
|
19
|
+
`}),C=()=>({...a,template:`
|
|
20
|
+
<Textarea v-model="value" label="Your Name" icon="message" :attrs="attrs" />
|
|
21
|
+
`}),x=()=>({...a,template:`
|
|
22
|
+
<Textarea v-model="value" :warning="true" :attrs="attrs" />
|
|
23
|
+
`}),v=()=>({...a,template:`
|
|
24
|
+
<Textarea v-model="value" :error="true" :attrs="attrs" />
|
|
25
|
+
`}),y=()=>({...a,template:`
|
|
26
|
+
<Textarea v-model="value" :success="true" :attrs="attrs" />
|
|
27
|
+
`}),F=()=>({...a,template:`
|
|
28
|
+
<Textarea v-model="value" :resize="false" :attrs="attrs" />
|
|
29
|
+
`}),b=()=>({components:{Textarea:w},data(){return{blurCalled:0,focusCalled:0,keyDownCalled:0,keyUpCalled:0}},template:`
|
|
30
|
+
<div>
|
|
31
|
+
<Textarea placeholder="Start typing..." @blur="onBlur" @focus="onFocus" @keydown="onKeyDown" @keyup="onKeyUp" />
|
|
32
|
+
<table border="1" class="tw-font-sans tw-mt-8">
|
|
33
|
+
<tr>
|
|
34
|
+
<td>blurCalled</td>
|
|
35
|
+
<td>{{ blurCalled }}</td>
|
|
36
|
+
</tr>
|
|
37
|
+
<tr>
|
|
38
|
+
<td>focusCalled</td>
|
|
39
|
+
<td>{{ focusCalled }}</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr>
|
|
42
|
+
<td>keyDownCalled</td>
|
|
43
|
+
<td>{{ keyDownCalled }}</td>
|
|
44
|
+
</tr>
|
|
45
|
+
<tr>
|
|
46
|
+
<td>keyUpCalled</td>
|
|
47
|
+
<td>{{ keyUpCalled }}</td>
|
|
48
|
+
</tr>
|
|
49
|
+
</table>
|
|
50
|
+
</div>
|
|
51
|
+
`,methods:{onBlur(){this.blurCalled+=1},onFocus(){this.focusCalled+=1},onKeyDown(){this.keyDownCalled+=1},onKeyUp(){this.keyUpCalled+=1}}});var j,V,S;l.parameters={...l.parameters,docs:{...(j=l.parameters)==null?void 0:j.docs,source:{originalSource:`() => {
|
|
52
|
+
return {
|
|
53
|
+
...data,
|
|
54
|
+
template: \`
|
|
55
|
+
<Textarea v-model="value" :attrs="attrs" />
|
|
56
|
+
\`
|
|
57
|
+
};
|
|
58
|
+
}`,...(S=(V=l.parameters)==null?void 0:V.docs)==null?void 0:S.source}}};var z,D,U;s.parameters={...s.parameters,docs:{...(z=s.parameters)==null?void 0:z.docs,source:{originalSource:`() => {
|
|
59
|
+
return {
|
|
60
|
+
...data,
|
|
61
|
+
template: \`
|
|
62
|
+
<Textarea v-model="value" size="md" :attrs="attrs" />
|
|
63
|
+
\`
|
|
64
|
+
};
|
|
65
|
+
}`,...(U=(D=s.parameters)==null?void 0:D.docs)==null?void 0:U.source}}};var I,B,R;m.parameters={...m.parameters,docs:{...(I=m.parameters)==null?void 0:I.docs,source:{originalSource:`() => {
|
|
66
|
+
return {
|
|
67
|
+
...data,
|
|
68
|
+
template: \`
|
|
69
|
+
<Textarea v-model="value" size="lg" :attrs="attrs" />
|
|
70
|
+
\`
|
|
71
|
+
};
|
|
72
|
+
}`,...(R=(B=m.parameters)==null?void 0:B.docs)==null?void 0:R.source}}};var K,L,N;i.parameters={...i.parameters,docs:{...(K=i.parameters)==null?void 0:K.docs,source:{originalSource:`() => {
|
|
73
|
+
return {
|
|
74
|
+
...data,
|
|
75
|
+
template: \`
|
|
76
|
+
<Textarea v-model="value" icon="message" :attrs="attrs" />
|
|
77
|
+
\`
|
|
78
|
+
};
|
|
79
|
+
}`,...(N=(L=i.parameters)==null?void 0:L.docs)==null?void 0:N.source}}};var M,$,E;u.parameters={...u.parameters,docs:{...(M=u.parameters)==null?void 0:M.docs,source:{originalSource:`() => {
|
|
80
|
+
return {
|
|
81
|
+
components: {
|
|
82
|
+
Textarea
|
|
83
|
+
},
|
|
84
|
+
data() {
|
|
85
|
+
return {
|
|
86
|
+
value: ''
|
|
87
|
+
};
|
|
88
|
+
},
|
|
89
|
+
template: \`
|
|
90
|
+
<Textarea v-model="value" placeholder="Start typing..." :attrs="attrs"/>
|
|
91
|
+
\`
|
|
92
|
+
};
|
|
93
|
+
}`,...(E=($=u.parameters)==null?void 0:$.docs)==null?void 0:E.source}}};var P,A,O;d.parameters={...d.parameters,docs:{...(P=d.parameters)==null?void 0:P.docs,source:{originalSource:`() => {
|
|
94
|
+
return {
|
|
95
|
+
...data,
|
|
96
|
+
template: \`
|
|
97
|
+
<Textarea v-model="value" :disabled="true" :attrs="attrs" />
|
|
98
|
+
\`
|
|
99
|
+
};
|
|
100
|
+
}`,...(O=(A=d.parameters)==null?void 0:A.docs)==null?void 0:O.source}}};var H,W,Y;p.parameters={...p.parameters,docs:{...(H=p.parameters)==null?void 0:H.docs,source:{originalSource:`() => {
|
|
101
|
+
return {
|
|
102
|
+
...data,
|
|
103
|
+
template: \`
|
|
104
|
+
<Textarea v-model="value" :readonly="true" :attrs="attrs" />
|
|
105
|
+
\`
|
|
106
|
+
};
|
|
107
|
+
}`,...(Y=(W=p.parameters)==null?void 0:W.docs)==null?void 0:Y.source}}};var G,J,Q;c.parameters={...c.parameters,docs:{...(G=c.parameters)==null?void 0:G.docs,source:{originalSource:`() => {
|
|
108
|
+
return {
|
|
109
|
+
...data,
|
|
110
|
+
template: \`
|
|
111
|
+
<Textarea v-model="value" label="Message" :attrs="attrs" />
|
|
112
|
+
\`
|
|
113
|
+
};
|
|
114
|
+
}`,...(Q=(J=c.parameters)==null?void 0:J.docs)==null?void 0:Q.source}}};var X,Z,_;f.parameters={...f.parameters,docs:{...(X=f.parameters)==null?void 0:X.docs,source:{originalSource:`() => {
|
|
115
|
+
return {
|
|
116
|
+
...data,
|
|
117
|
+
template: \`
|
|
118
|
+
<Textarea v-model="value" label="Message" :required="true" :attrs="attrs" />
|
|
119
|
+
\`
|
|
120
|
+
};
|
|
121
|
+
}`,...(_=(Z=f.parameters)==null?void 0:Z.docs)==null?void 0:_.source}}};var ee,ae,te;C.parameters={...C.parameters,docs:{...(ee=C.parameters)==null?void 0:ee.docs,source:{originalSource:`() => {
|
|
122
|
+
return {
|
|
123
|
+
...data,
|
|
124
|
+
template: \`
|
|
125
|
+
<Textarea v-model="value" label="Your Name" icon="message" :attrs="attrs" />
|
|
126
|
+
\`
|
|
127
|
+
};
|
|
128
|
+
}`,...(te=(ae=C.parameters)==null?void 0:ae.docs)==null?void 0:te.source}}};var re,ne,oe;x.parameters={...x.parameters,docs:{...(re=x.parameters)==null?void 0:re.docs,source:{originalSource:`() => {
|
|
129
|
+
return {
|
|
130
|
+
...data,
|
|
131
|
+
template: \`
|
|
132
|
+
<Textarea v-model="value" :warning="true" :attrs="attrs" />
|
|
133
|
+
\`
|
|
134
|
+
};
|
|
135
|
+
}`,...(oe=(ne=x.parameters)==null?void 0:ne.docs)==null?void 0:oe.source}}};var le,se,me;v.parameters={...v.parameters,docs:{...(le=v.parameters)==null?void 0:le.docs,source:{originalSource:`() => {
|
|
136
|
+
return {
|
|
137
|
+
...data,
|
|
138
|
+
template: \`
|
|
139
|
+
<Textarea v-model="value" :error="true" :attrs="attrs" />
|
|
140
|
+
\`
|
|
141
|
+
};
|
|
142
|
+
}`,...(me=(se=v.parameters)==null?void 0:se.docs)==null?void 0:me.source}}};var ie,ue,de;y.parameters={...y.parameters,docs:{...(ie=y.parameters)==null?void 0:ie.docs,source:{originalSource:`() => {
|
|
143
|
+
return {
|
|
144
|
+
...data,
|
|
145
|
+
template: \`
|
|
146
|
+
<Textarea v-model="value" :success="true" :attrs="attrs" />
|
|
147
|
+
\`
|
|
148
|
+
};
|
|
149
|
+
}`,...(de=(ue=y.parameters)==null?void 0:ue.docs)==null?void 0:de.source}}};var pe,ce,fe;F.parameters={...F.parameters,docs:{...(pe=F.parameters)==null?void 0:pe.docs,source:{originalSource:`() => {
|
|
150
|
+
return {
|
|
151
|
+
...data,
|
|
152
|
+
template: \`
|
|
153
|
+
<Textarea v-model="value" :resize="false" :attrs="attrs" />
|
|
154
|
+
\`
|
|
155
|
+
};
|
|
156
|
+
}`,...(fe=(ce=F.parameters)==null?void 0:ce.docs)==null?void 0:fe.source}}};var Ce,xe,ve;b.parameters={...b.parameters,docs:{...(Ce=b.parameters)==null?void 0:Ce.docs,source:{originalSource:`() => {
|
|
157
|
+
return {
|
|
158
|
+
components: {
|
|
159
|
+
Textarea
|
|
160
|
+
},
|
|
161
|
+
data() {
|
|
162
|
+
return {
|
|
163
|
+
blurCalled: 0,
|
|
164
|
+
focusCalled: 0,
|
|
165
|
+
keyDownCalled: 0,
|
|
166
|
+
keyUpCalled: 0
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
template: \`
|
|
170
|
+
<div>
|
|
171
|
+
<Textarea placeholder="Start typing..." @blur="onBlur" @focus="onFocus" @keydown="onKeyDown" @keyup="onKeyUp" />
|
|
172
|
+
<table border="1" class="tw-font-sans tw-mt-8">
|
|
173
|
+
<tr>
|
|
174
|
+
<td>blurCalled</td>
|
|
175
|
+
<td>{{ blurCalled }}</td>
|
|
176
|
+
</tr>
|
|
177
|
+
<tr>
|
|
178
|
+
<td>focusCalled</td>
|
|
179
|
+
<td>{{ focusCalled }}</td>
|
|
180
|
+
</tr>
|
|
181
|
+
<tr>
|
|
182
|
+
<td>keyDownCalled</td>
|
|
183
|
+
<td>{{ keyDownCalled }}</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td>keyUpCalled</td>
|
|
187
|
+
<td>{{ keyUpCalled }}</td>
|
|
188
|
+
</tr>
|
|
189
|
+
</table>
|
|
190
|
+
</div>
|
|
191
|
+
\`,
|
|
192
|
+
methods: {
|
|
193
|
+
onBlur() {
|
|
194
|
+
this.blurCalled += 1;
|
|
195
|
+
},
|
|
196
|
+
onFocus() {
|
|
197
|
+
this.focusCalled += 1;
|
|
198
|
+
},
|
|
199
|
+
onKeyDown() {
|
|
200
|
+
this.keyDownCalled += 1;
|
|
201
|
+
},
|
|
202
|
+
onKeyUp() {
|
|
203
|
+
this.keyUpCalled += 1;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
}`,...(ve=(xe=b.parameters)==null?void 0:xe.docs)==null?void 0:ve.source}}};const Ee=["Small","Medium","Large","Icon","Placeholder","Disabled","Readonly","Label","LabelRequired","LabelIcon","Warning","Error","Success","NoResize","Events"];export{d as Disabled,v as Error,b as Events,i as Icon,c as Label,C as LabelIcon,f as LabelRequired,m as Large,s as Medium,F as NoResize,u as Placeholder,p as Readonly,l as Small,y as Success,x as Warning,Ee as __namedExportsOrder,$e as default};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import{C as X}from"./Checkbox.mixin-CL6A4kGP.js";import{c as g,a as r,n as t,j as Y,t as Z,e as k,o as h}from"./vue.esm-bundler-BuzEyh6o.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const K={mixins:[X]},ee=["for"],ne={key:0,class:"tw-text-error-500"},re={class:"tw-flex tw-justify-between tw-items-center"},te=["id","checked","disabled"];function oe(e,b,ae,se,ce,le){return h(),g("div",{class:t(["tw-box-border",{"tw-cursor-pointer tw-pointer-events-none tw-opacity-30":e.disabled}])},[r("label",{for:`scl-input-${e.id}`,class:t(["tw-cursor-pointer",{"tw-flex tw-items-center":e.inline}])},[e.label?(h(),g("span",{key:0,class:t(["tw-font-sans tw-text-grayscale-600 tw-text-sm tw-block tw-font-semibold",{"tw-sr-only":e.showLabelScreenReaderOnly,"tw-mb-2":!e.inline,"tw-ml-2 tw-order-last":e.inline}])},[Y(Z(e.label)+" ",1),e.required?(h(),g("span",ne,"*")):k("",!0)],2)):k("",!0),r("div",re,[r("input",{id:`scl-input-${e.id}`,checked:e.modelValue,type:"checkbox",class:"tw-sr-only",disabled:e.disabled,onChange:b[0]||(b[0]=Q=>e.$emit("update:modelValue",Q.target.checked))},null,40,te),r("div",{class:t(["tw-flex tw-items-center tw-rounded-full tw-p-1 tw-duration-300 tw-ease-in-out tw-box-border",{"tw-bg-primary-500":e.modelValue&&e.color==="primary","tw-bg-success-500":e.modelValue&&e.color==="success","tw-bg-error-500":e.modelValue&&e.color==="error","tw-bg-info-500":e.modelValue&&e.color==="info","tw-bg-warning-500":e.modelValue&&e.color==="warning","tw-bg-grayscale-500":!e.modelValue,"tw-w-10 tw-h-5":e.size==="sm","tw-w-12 tw-h-6":e.size==="md"}])},[r("div",{class:t(["tw-bg-white tw-rounded-full tw-shadow-sm tw-transform tw-duration-300 tw-ease-in-out",{"tw-w-3 tw-h-3":e.size==="sm","tw-w-4 tw-h-4":e.size==="md","tw-translate-x-5":e.size==="sm"&&e.modelValue,"tw-translate-x-6":e.size==="md"&&e.modelValue}])},null,2)],2)])],10,ee)],2)}const n=_(K,[["render",oe]]);K.__docgenInfo={exportName:"default",displayName:"Toggle",description:"",tags:{},props:[{name:"modelValue",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"boolean"},required:!0},{name:"id",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"string"},required:!0},{name:"label",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"undefined"}},{name:"showLabelScreenReaderOnly",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"inline",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"required",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"disabled",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"boolean"},required:!1,defaultValue:{func:!1,value:"false"}},{name:"color",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'success'"}},{name:"size",mixin:{name:"Checkbox.mixin",path:"../Checkbox/Checkbox.mixin.js"},type:{name:"string"},required:!1,defaultValue:{func:!1,value:"'md'"}}],events:[{name:"update:modelValue"}],sourceFiles:["/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/Checkbox/Checkbox.mixin.js","/Users/brooke.couchman/Projects/bc-shared-experience-library/src/atoms/components/Toggle/Toggle.vue"]};const ue={title:"Components/Toggle",component:n},o=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
2
|
+
<Toggle v-model="checked" id="test" />
|
|
3
|
+
`}),a=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
4
|
+
<Toggle v-model="checked" id="test" label="Do you love switches?" />
|
|
5
|
+
`}),s=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
6
|
+
<Toggle v-model="checked" id="test" label="Do you love switches?" :inline="true" />
|
|
7
|
+
`}),c=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
8
|
+
<Toggle v-model="checked" id="test" label="Do you love switches?" :required="true" />
|
|
9
|
+
`}),l=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
10
|
+
<Toggle v-model="checked" id="test" color="success" />
|
|
11
|
+
`}),d=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
12
|
+
<Toggle v-model="checked" id="test" color="error" />
|
|
13
|
+
`}),i=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
14
|
+
<Toggle v-model="checked" id="test" color="info" />
|
|
15
|
+
`}),m=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
16
|
+
<Toggle v-model="checked" id="test" color="warning" />
|
|
17
|
+
`}),u=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
18
|
+
<Toggle v-model="checked" id="test" :disabled="true" />
|
|
19
|
+
`}),p=()=>({components:{Toggle:n},data(){return{checked:!0}},template:`
|
|
20
|
+
<Toggle v-model="checked" id="test" size="sm" />
|
|
21
|
+
`});var w,f,x;o.parameters={...o.parameters,docs:{...(w=o.parameters)==null?void 0:w.docs,source:{originalSource:`() => {
|
|
22
|
+
return {
|
|
23
|
+
components: {
|
|
24
|
+
Toggle
|
|
25
|
+
},
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
checked: true
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
template: \`
|
|
32
|
+
<Toggle v-model="checked" id="test" />
|
|
33
|
+
\`
|
|
34
|
+
};
|
|
35
|
+
}`,...(x=(f=o.parameters)==null?void 0:f.docs)==null?void 0:x.source}}};var v,T,C;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`() => {
|
|
36
|
+
return {
|
|
37
|
+
components: {
|
|
38
|
+
Toggle
|
|
39
|
+
},
|
|
40
|
+
data() {
|
|
41
|
+
return {
|
|
42
|
+
checked: true
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
template: \`
|
|
46
|
+
<Toggle v-model="checked" id="test" label="Do you love switches?" />
|
|
47
|
+
\`
|
|
48
|
+
};
|
|
49
|
+
}`,...(C=(T=a.parameters)==null?void 0:T.docs)==null?void 0:C.source}}};var y,V,S;s.parameters={...s.parameters,docs:{...(y=s.parameters)==null?void 0:y.docs,source:{originalSource:`() => {
|
|
50
|
+
return {
|
|
51
|
+
components: {
|
|
52
|
+
Toggle
|
|
53
|
+
},
|
|
54
|
+
data() {
|
|
55
|
+
return {
|
|
56
|
+
checked: true
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
template: \`
|
|
60
|
+
<Toggle v-model="checked" id="test" label="Do you love switches?" :inline="true" />
|
|
61
|
+
\`
|
|
62
|
+
};
|
|
63
|
+
}`,...(S=(V=s.parameters)==null?void 0:V.docs)==null?void 0:S.source}}};var q,j,z;c.parameters={...c.parameters,docs:{...(q=c.parameters)==null?void 0:q.docs,source:{originalSource:`() => {
|
|
64
|
+
return {
|
|
65
|
+
components: {
|
|
66
|
+
Toggle
|
|
67
|
+
},
|
|
68
|
+
data() {
|
|
69
|
+
return {
|
|
70
|
+
checked: true
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
template: \`
|
|
74
|
+
<Toggle v-model="checked" id="test" label="Do you love switches?" :required="true" />
|
|
75
|
+
\`
|
|
76
|
+
};
|
|
77
|
+
}`,...(z=(j=c.parameters)==null?void 0:j.docs)==null?void 0:z.source}}};var D,$,L;l.parameters={...l.parameters,docs:{...(D=l.parameters)==null?void 0:D.docs,source:{originalSource:`() => {
|
|
78
|
+
return {
|
|
79
|
+
components: {
|
|
80
|
+
Toggle
|
|
81
|
+
},
|
|
82
|
+
data() {
|
|
83
|
+
return {
|
|
84
|
+
checked: true
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
template: \`
|
|
88
|
+
<Toggle v-model="checked" id="test" color="success" />
|
|
89
|
+
\`
|
|
90
|
+
};
|
|
91
|
+
}`,...(L=($=l.parameters)==null?void 0:$.docs)==null?void 0:L.source}}};var I,N,E;d.parameters={...d.parameters,docs:{...(I=d.parameters)==null?void 0:I.docs,source:{originalSource:`() => {
|
|
92
|
+
return {
|
|
93
|
+
components: {
|
|
94
|
+
Toggle
|
|
95
|
+
},
|
|
96
|
+
data() {
|
|
97
|
+
return {
|
|
98
|
+
checked: true
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
template: \`
|
|
102
|
+
<Toggle v-model="checked" id="test" color="error" />
|
|
103
|
+
\`
|
|
104
|
+
};
|
|
105
|
+
}`,...(E=(N=d.parameters)==null?void 0:N.docs)==null?void 0:E.source}}};var R,B,O;i.parameters={...i.parameters,docs:{...(R=i.parameters)==null?void 0:R.docs,source:{originalSource:`() => {
|
|
106
|
+
return {
|
|
107
|
+
components: {
|
|
108
|
+
Toggle
|
|
109
|
+
},
|
|
110
|
+
data() {
|
|
111
|
+
return {
|
|
112
|
+
checked: true
|
|
113
|
+
};
|
|
114
|
+
},
|
|
115
|
+
template: \`
|
|
116
|
+
<Toggle v-model="checked" id="test" color="info" />
|
|
117
|
+
\`
|
|
118
|
+
};
|
|
119
|
+
}`,...(O=(B=i.parameters)==null?void 0:B.docs)==null?void 0:O.source}}};var P,U,W;m.parameters={...m.parameters,docs:{...(P=m.parameters)==null?void 0:P.docs,source:{originalSource:`() => {
|
|
120
|
+
return {
|
|
121
|
+
components: {
|
|
122
|
+
Toggle
|
|
123
|
+
},
|
|
124
|
+
data() {
|
|
125
|
+
return {
|
|
126
|
+
checked: true
|
|
127
|
+
};
|
|
128
|
+
},
|
|
129
|
+
template: \`
|
|
130
|
+
<Toggle v-model="checked" id="test" color="warning" />
|
|
131
|
+
\`
|
|
132
|
+
};
|
|
133
|
+
}`,...(W=(U=m.parameters)==null?void 0:U.docs)==null?void 0:W.source}}};var F,M,A;u.parameters={...u.parameters,docs:{...(F=u.parameters)==null?void 0:F.docs,source:{originalSource:`() => {
|
|
134
|
+
return {
|
|
135
|
+
components: {
|
|
136
|
+
Toggle
|
|
137
|
+
},
|
|
138
|
+
data() {
|
|
139
|
+
return {
|
|
140
|
+
checked: true
|
|
141
|
+
};
|
|
142
|
+
},
|
|
143
|
+
template: \`
|
|
144
|
+
<Toggle v-model="checked" id="test" :disabled="true" />
|
|
145
|
+
\`
|
|
146
|
+
};
|
|
147
|
+
}`,...(A=(M=u.parameters)==null?void 0:M.docs)==null?void 0:A.source}}};var G,H,J;p.parameters={...p.parameters,docs:{...(G=p.parameters)==null?void 0:G.docs,source:{originalSource:`() => {
|
|
148
|
+
return {
|
|
149
|
+
components: {
|
|
150
|
+
Toggle
|
|
151
|
+
},
|
|
152
|
+
data() {
|
|
153
|
+
return {
|
|
154
|
+
checked: true
|
|
155
|
+
};
|
|
156
|
+
},
|
|
157
|
+
template: \`
|
|
158
|
+
<Toggle v-model="checked" id="test" size="sm" />
|
|
159
|
+
\`
|
|
160
|
+
};
|
|
161
|
+
}`,...(J=(H=p.parameters)==null?void 0:H.docs)==null?void 0:J.source}}};const pe=["Sample","Label","LabelInline","Required","Success","Error","Info","Warning","Disabled","Small"];export{u as Disabled,d as Error,i as Info,a as Label,s as LabelInline,c as Required,o as Sample,p as Small,l as Success,m as Warning,pe as __namedExportsOrder,ue as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.shared-tooltip__body[data-v-dd32b50d]{max-width:15rem}.shared-tooltip__extended-body[data-v-dd32b50d]{max-width:27rem;width:27rem}.shared-tooltip__open[data-v-dd32b50d]:hover{cursor:help}.shared-tooltip__open:hover+.shared-tooltip__content[data-v-dd32b50d]{display:flex}
|