@designcrowd/fe-shared-lib 1.7.0 → 1.7.1
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 +36 -36
- package/.github/workflows/auto-merge.yml +52 -52
- package/.github/workflows/claude.yml +72 -72
- package/.prettierrc.js +7 -7
- package/.storybook/main.ts +36 -36
- package/.storybook/preview-head-master.html +4 -4
- package/.storybook/preview-head-publish-master.html +4 -4
- package/.storybook/preview-head-publish.html +9 -9
- package/.storybook/preview-head.html +9 -9
- package/.storybook/preview.js +53 -53
- package/CLAUDE.md +94 -94
- package/Dockerfile +43 -43
- package/README.md +103 -103
- package/buildspec.yml +47 -47
- package/dist/css/tailwind-brandCrowd.css +499 -499
- package/dist/css/tailwind-brandPage.css +417 -417
- package/dist/css/tailwind-crazyDomains.css +499 -499
- package/dist/css/tailwind-designCom.css +499 -499
- package/dist/css/tailwind-designCrowd.css +499 -499
- package/docs/plans/DY-957-plan-phase-2-fe-shared-lib.md +382 -382
- package/index.cjs +16 -16
- package/index.js +62 -62
- package/nodemon.translation.json +6 -6
- package/package.json +115 -115
- package/postcss.config.js +5 -5
- package/src/atoms/components/AiPoweredLoader/AiPoweredLoader.stories.js +90 -90
- package/src/atoms/components/AiPoweredLoader/AiPoweredLoader.vue +120 -120
- package/src/atoms/components/Button/Button.vue +341 -341
- package/src/atoms/components/Button/ButtonVariant.mixin.vue +126 -126
- package/src/atoms/components/Button/Buttons.stories.js +828 -828
- package/src/atoms/components/Button/ButtonsCrazyDomains.stories.js +117 -117
- package/src/atoms/components/Button/variants/ButtonAi.vue +63 -63
- package/src/atoms/components/Button/variants/ButtonDarkModePill.vue +52 -52
- package/src/atoms/components/Button/variants/ButtonFlat.vue +65 -65
- package/src/atoms/components/Button/variants/ButtonGray.vue +64 -64
- package/src/atoms/components/Button/variants/ButtonInfo.vue +51 -51
- package/src/atoms/components/Button/variants/ButtonInfoFilled.vue +63 -63
- package/src/atoms/components/Button/variants/ButtonNoBorder.vue +65 -65
- package/src/atoms/components/Button/variants/ButtonOutline.vue +62 -62
- package/src/atoms/components/Button/variants/ButtonOutlineNoHover.vue +62 -62
- package/src/atoms/components/Button/variants/ButtonOutlinePrimary.vue +53 -53
- package/src/atoms/components/Button/variants/ButtonOutlineSuccess.vue +54 -54
- package/src/atoms/components/Button/variants/ButtonPill.vue +52 -52
- package/src/atoms/components/Button/variants/ButtonPrimary.vue +69 -69
- package/src/atoms/components/Button/variants/ButtonPrimaryWithIcon.vue +68 -68
- package/src/atoms/components/Button/variants/ButtonSecondary.vue +51 -51
- package/src/atoms/components/Button/variants/ButtonSuccess.vue +55 -55
- package/src/atoms/components/Button/variants/ButtonWarning.vue +65 -65
- package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsOutline.vue +58 -58
- package/src/atoms/components/Button/variants/crazy-domains/ButtonCrazyDomainsPrimary.vue +38 -38
- package/src/atoms/components/ButtonGroup/ButtonGroup.stories.js +575 -575
- package/src/atoms/components/ButtonGroup/ButtonGroup.vue +200 -200
- package/src/atoms/components/Carousel/Carousel.fixtures.js +53 -53
- package/src/atoms/components/Carousel/Carousel.vue +363 -363
- package/src/atoms/components/Carousel/carousel.stories.js +530 -530
- package/src/atoms/components/Checkbox/Checkbox.mixin.js +57 -57
- package/src/atoms/components/Checkbox/Checkbox.stories.js +340 -340
- package/src/atoms/components/Checkbox/Checkbox.vue +84 -84
- package/src/atoms/components/Checktile/Checktile.stories.js +79 -79
- package/src/atoms/components/Checktile/Checktile.vue +73 -73
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.mixin.js +38 -38
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.stories.js +53 -53
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.vue +33 -33
- package/src/atoms/components/ColorPicker/ColorPicker.stories.js +89 -89
- package/src/atoms/components/ColorPicker/ColorPicker.vue +95 -95
- package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.stories.js +41 -41
- package/src/atoms/components/CopyToClipboardText/CopyToClipboardText.vue +71 -71
- package/src/atoms/components/Dropdown/Dropdown.stories.js +140 -140
- package/src/atoms/components/Dropdown/Dropdown.vue +129 -129
- package/src/atoms/components/Dropdown/DropdownItem.vue +33 -33
- package/src/atoms/components/FormControl/FormControl.mixin.js +136 -136
- package/src/atoms/components/HelloBar/HelloBar.stories.js +195 -195
- package/src/atoms/components/HelloBar/HelloBar.vue +156 -156
- package/src/atoms/components/Icon/Icon.stories.js +410 -410
- package/src/atoms/components/Icon/Icon.vue +934 -932
- package/src/atoms/components/Icon/icons/add-page.vue +6 -6
- package/src/atoms/components/Icon/icons/ai.vue +6 -6
- package/src/atoms/components/Icon/icons/annotate-heart.vue +7 -7
- package/src/atoms/components/Icon/icons/arrow-down.vue +6 -6
- package/src/atoms/components/Icon/icons/arrow-left.vue +7 -7
- package/src/atoms/components/Icon/icons/arrow-right.vue +7 -7
- package/src/atoms/components/Icon/icons/arrow-top-right.vue +6 -6
- package/src/atoms/components/Icon/icons/arrow-up-underline.vue +7 -7
- package/src/atoms/components/Icon/icons/arrow-up.vue +7 -7
- package/src/atoms/components/Icon/icons/attach.vue +6 -6
- package/src/atoms/components/Icon/icons/auth-facebook-white.vue +17 -17
- package/src/atoms/components/Icon/icons/auth-facebook.vue +24 -24
- package/src/atoms/components/Icon/icons/auth-google.vue +32 -32
- package/src/atoms/components/Icon/icons/award.vue +7 -7
- package/src/atoms/components/Icon/icons/background.vue +7 -7
- package/src/atoms/components/Icon/icons/badge.vue +7 -7
- package/src/atoms/components/Icon/icons/banner-centered.vue +6 -6
- package/src/atoms/components/Icon/icons/banner-left.vue +6 -6
- package/src/atoms/components/Icon/icons/banner.vue +7 -7
- package/src/atoms/components/Icon/icons/bc-mast.vue +7 -7
- package/src/atoms/components/Icon/icons/bezier-curve-outline.vue +7 -7
- package/src/atoms/components/Icon/icons/bezier-curve.vue +7 -7
- package/src/atoms/components/Icon/icons/briefcase.vue +7 -7
- package/src/atoms/components/Icon/icons/browser.vue +7 -7
- package/src/atoms/components/Icon/icons/brush.vue +6 -6
- package/src/atoms/components/Icon/icons/business-card-filled.vue +5 -5
- package/src/atoms/components/Icon/icons/business.vue +6 -6
- package/src/atoms/components/Icon/icons/calculator.vue +3 -3
- package/src/atoms/components/Icon/icons/calendar.vue +5 -5
- package/src/atoms/components/Icon/icons/callout-error.vue +6 -6
- package/src/atoms/components/Icon/icons/callout-info.vue +6 -6
- package/src/atoms/components/Icon/icons/callout-success.vue +8 -8
- package/src/atoms/components/Icon/icons/callout-warning.vue +6 -6
- package/src/atoms/components/Icon/icons/cap.vue +22 -22
- package/src/atoms/components/Icon/icons/card-vertical.vue +7 -7
- package/src/atoms/components/Icon/icons/card.vue +9 -9
- package/src/atoms/components/Icon/icons/cart-empty.vue +9 -9
- package/src/atoms/components/Icon/icons/check-thin.vue +7 -7
- package/src/atoms/components/Icon/icons/check.vue +3 -3
- package/src/atoms/components/Icon/icons/chevron-down.vue +7 -7
- package/src/atoms/components/Icon/icons/chevron-left.vue +7 -7
- package/src/atoms/components/Icon/icons/chevron-right-wide.vue +3 -3
- package/src/atoms/components/Icon/icons/chevron-right.vue +3 -3
- package/src/atoms/components/Icon/icons/chevron-up.vue +7 -7
- package/src/atoms/components/Icon/icons/clipboard-check.vue +6 -6
- package/src/atoms/components/Icon/icons/close.vue +6 -6
- package/src/atoms/components/Icon/icons/community.vue +5 -5
- package/src/atoms/components/Icon/icons/contact-message.vue +10 -10
- package/src/atoms/components/Icon/icons/content.vue +7 -7
- package/src/atoms/components/Icon/icons/copy.vue +10 -10
- package/src/atoms/components/Icon/icons/crazy-domains/filter.vue +6 -6
- package/src/atoms/components/Icon/icons/crazy-domains/globe.vue +6 -6
- package/src/atoms/components/Icon/icons/crazy-domains/home.vue +6 -6
- package/src/atoms/components/Icon/icons/crazy-domains/social-facebook.vue +6 -6
- package/src/atoms/components/Icon/icons/crazy-domains/social-google.vue +6 -6
- package/src/atoms/components/Icon/icons/crazy-domains/social-instagram.vue +6 -6
- package/src/atoms/components/Icon/icons/crazy-domains/social-twitter.vue +6 -6
- package/src/atoms/components/Icon/icons/crazy-domains/social-youtube.vue +6 -6
- package/src/atoms/components/Icon/icons/crop.vue +6 -6
- package/src/atoms/components/Icon/icons/crown-alt.vue +5 -5
- package/src/atoms/components/Icon/icons/crown.vue +6 -6
- package/src/atoms/components/Icon/icons/delete.vue +8 -8
- package/src/atoms/components/Icon/icons/designs.vue +6 -6
- package/src/atoms/components/Icon/icons/desktop.vue +7 -7
- package/src/atoms/components/Icon/icons/digital-business-card-filled.vue +8 -8
- package/src/atoms/components/Icon/icons/donate.vue +6 -6
- package/src/atoms/components/Icon/icons/download.vue +5 -5
- package/src/atoms/components/Icon/icons/duplicate.vue +6 -6
- package/src/atoms/components/Icon/icons/edit-line.vue +10 -10
- package/src/atoms/components/Icon/icons/edit.vue +6 -6
- package/src/atoms/components/Icon/icons/ellipsis.vue +6 -6
- package/src/atoms/components/Icon/icons/envelope-email.vue +9 -9
- package/src/atoms/components/Icon/icons/error.vue +8 -8
- package/src/atoms/components/Icon/icons/eye-crossed.vue +7 -7
- package/src/atoms/components/Icon/icons/eye-open.vue +11 -11
- package/src/atoms/components/Icon/icons/fees.vue +6 -6
- package/src/atoms/components/Icon/icons/file-box.vue +3 -3
- package/src/atoms/components/Icon/icons/file-empty.vue +7 -7
- package/src/atoms/components/Icon/icons/file.vue +7 -7
- package/src/atoms/components/Icon/icons/filter.vue +7 -7
- package/src/atoms/components/Icon/icons/filters.vue +6 -6
- package/src/atoms/components/Icon/icons/flag.vue +6 -6
- package/src/atoms/components/Icon/icons/flip-horizontal.vue +7 -7
- package/src/atoms/components/Icon/icons/flip-vertical.vue +7 -7
- package/src/atoms/components/Icon/icons/folder.vue +6 -6
- package/src/atoms/components/Icon/icons/font.vue +7 -7
- package/src/atoms/components/Icon/icons/footer-centered.vue +7 -7
- package/src/atoms/components/Icon/icons/footer-left.vue +7 -7
- package/src/atoms/components/Icon/icons/form-message.vue +6 -6
- package/src/atoms/components/Icon/icons/form.vue +5 -5
- package/src/atoms/components/Icon/icons/fullscreen-exit.vue +5 -5
- package/src/atoms/components/Icon/icons/fullscreen.vue +5 -5
- package/src/atoms/components/Icon/icons/globe.vue +6 -6
- package/src/atoms/components/Icon/icons/godaddy/logo.vue +5 -5
- package/src/atoms/components/Icon/icons/group.vue +6 -6
- package/src/atoms/components/Icon/icons/hamburger.vue +7 -7
- package/src/atoms/components/Icon/icons/headphones.vue +7 -7
- package/src/atoms/components/Icon/icons/history.vue +12 -12
- package/src/atoms/components/Icon/icons/home-outline.vue +6 -6
- package/src/atoms/components/Icon/icons/home.vue +7 -7
- package/src/atoms/components/Icon/icons/icon-style-circle-bg.vue +22 -22
- package/src/atoms/components/Icon/icons/icon-style-no-bg.vue +16 -16
- package/src/atoms/components/Icon/icons/icon-style-square-bg.vue +22 -22
- package/src/atoms/components/Icon/icons/image-gallery-carousel.vue +7 -7
- package/src/atoms/components/Icon/icons/image-gallery-grid.vue +7 -7
- package/src/atoms/components/Icon/icons/image-gallery-masonry.vue +6 -6
- package/src/atoms/components/Icon/icons/image.vue +7 -7
- package/src/atoms/components/Icon/icons/images-gallery.vue +5 -5
- package/src/atoms/components/Icon/icons/images.vue +7 -7
- package/src/atoms/components/Icon/icons/info.vue +9 -9
- package/src/atoms/components/Icon/icons/jobs.vue +8 -8
- package/src/atoms/components/Icon/icons/layer-bring-front.vue +6 -6
- package/src/atoms/components/Icon/icons/layer-send-back.vue +6 -6
- package/src/atoms/components/Icon/icons/layer.vue +6 -6
- package/src/atoms/components/Icon/icons/layout/display-style-about-1.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-about-2.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-about-3.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-about-4.vue +32 -32
- package/src/atoms/components/Icon/icons/layout/display-style-about-5.vue +27 -27
- package/src/atoms/components/Icon/icons/layout/display-style-about-6.vue +27 -27
- package/src/atoms/components/Icon/icons/layout/display-style-banner-1.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-banner-2.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-banner-3.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-banner-4.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-banner-5.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-banner-6.vue +27 -27
- package/src/atoms/components/Icon/icons/layout/display-style-banner-7.vue +27 -27
- package/src/atoms/components/Icon/icons/layout/display-style-banner-8.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-banner-9.vue +20 -20
- package/src/atoms/components/Icon/icons/layout/display-style-contact-1.vue +24 -24
- package/src/atoms/components/Icon/icons/layout/display-style-contact-2.vue +24 -24
- package/src/atoms/components/Icon/icons/layout/display-style-contact-4.vue +24 -24
- package/src/atoms/components/Icon/icons/layout/display-style-contact-5.vue +39 -39
- package/src/atoms/components/Icon/icons/layout/display-style-contact-6.vue +39 -39
- package/src/atoms/components/Icon/icons/layout/footer/display-style-1.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/footer/display-style-2.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-1.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/desktop-hamburger-display-style-2.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-1.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-2.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-3.vue +13 -13
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-4.vue +13 -13
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-5.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/desktop-tab-display-style-6.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-1.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-2.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/header/hamburger-display-style-no-logo-3.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-1.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-2.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-3.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/mobile-hamburger-display-style-4.vue +21 -21
- package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-1.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/mobile-tab-display-style-2.vue +17 -17
- package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-1.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-2.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/header/tab-display-style-no-logo-3.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-normal-text-center-small.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-bottom-small-text-center-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-bottom.vue +11 -11
- package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-circle.vue +10 -10
- package/src/atoms/components/Icon/icons/layout/layout-icon-center-normal-curved-text-top.vue +11 -11
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-center-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-justify-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-normal-text-left-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-left-small-text-left-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-center-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-justify-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-normal-text-right-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-right-small-text-right-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-center-small.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-normal-text-justify-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/layout-icon-top-small-text-center-normal.vue +7 -7
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-1.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-2.vue +10 -10
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-3.vue +10 -10
- package/src/atoms/components/Icon/icons/layout/nav/hamburger/display-style-4.vue +23 -23
- package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-1.vue +16 -16
- package/src/atoms/components/Icon/icons/layout/nav/tab/display-style-2.vue +7 -7
- package/src/atoms/components/Icon/icons/letterhead-filled.vue +5 -5
- package/src/atoms/components/Icon/icons/lightning.vue +7 -7
- package/src/atoms/components/Icon/icons/link-in-bio-filled.vue +8 -8
- package/src/atoms/components/Icon/icons/link.vue +6 -6
- package/src/atoms/components/Icon/icons/location.vue +6 -6
- package/src/atoms/components/Icon/icons/lock.vue +6 -6
- package/src/atoms/components/Icon/icons/logo.vue +7 -7
- package/src/atoms/components/Icon/icons/mac-command.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/align-center.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/align-justify.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/align-left.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/align-right.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/animate.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/bold.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/custom-landscape.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/email-symbol.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/email.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/eraser.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/etsy.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/facebook.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/favicon.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/flyer.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/gift-certificate.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/globe.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/image.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/instagram.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/invitation.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/invoice.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/italic.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/link.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/linkedin.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/menu.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/pause.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/phone.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/pinterest.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/play.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/postcard.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/poster.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/profile.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/qrcode.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/snapchat.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/soundcloud.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/spacing.vue +18 -18
- package/src/atoms/components/Icon/icons/maker/strikethrough.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/t-shirt.vue +32 -32
- package/src/atoms/components/Icon/icons/maker/text-background-color.vue +12 -12
- package/src/atoms/components/Icon/icons/maker/text-color.vue +14 -14
- package/src/atoms/components/Icon/icons/maker/text.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/thankyou-card.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/tiktok.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/tumblr.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/twitch.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/twitter.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/underline.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/uppercase.vue +14 -14
- package/src/atoms/components/Icon/icons/maker/video.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/whatsapp.vue +7 -7
- package/src/atoms/components/Icon/icons/maker/youtube.vue +5 -5
- package/src/atoms/components/Icon/icons/maker/zoom.vue +5 -5
- package/src/atoms/components/Icon/icons/map.vue +6 -6
- package/src/atoms/components/Icon/icons/media.vue +3 -3
- package/src/atoms/components/Icon/icons/message.vue +6 -6
- package/src/atoms/components/Icon/icons/minus-circle-light.vue +7 -7
- package/src/atoms/components/Icon/icons/minus.vue +3 -3
- package/src/atoms/components/Icon/icons/mobile.vue +5 -5
- package/src/atoms/components/Icon/icons/mug.vue +29 -29
- package/src/atoms/components/Icon/icons/opacity.vue +6 -6
- package/src/atoms/components/Icon/icons/other.vue +7 -7
- package/src/atoms/components/Icon/icons/page-blank.vue +6 -6
- package/src/atoms/components/Icon/icons/page-buttons.vue +8 -8
- package/src/atoms/components/Icon/icons/page-hamburger.vue +9 -9
- package/src/atoms/components/Icon/icons/page-tabs.vue +9 -9
- package/src/atoms/components/Icon/icons/pages.vue +6 -6
- package/src/atoms/components/Icon/icons/palette-outline.vue +7 -7
- package/src/atoms/components/Icon/icons/palette.vue +6 -6
- package/src/atoms/components/Icon/icons/pause.vue +5 -5
- package/src/atoms/components/Icon/icons/payment.vue +8 -8
- package/src/atoms/components/Icon/icons/payments-featured.vue +6 -6
- package/src/atoms/components/Icon/icons/payments-textonly.vue +8 -8
- package/src/atoms/components/Icon/icons/payments-thumbnail.vue +9 -9
- package/src/atoms/components/Icon/icons/pen-outline.vue +7 -7
- package/src/atoms/components/Icon/icons/pen-sparkle.vue +17 -17
- package/src/atoms/components/Icon/icons/pen-tool.vue +7 -7
- package/src/atoms/components/Icon/icons/pen.vue +7 -7
- package/src/atoms/components/Icon/icons/phone.vue +6 -6
- package/src/atoms/components/Icon/icons/plus-circle-light.vue +8 -8
- package/src/atoms/components/Icon/icons/plus-circle.vue +7 -7
- package/src/atoms/components/Icon/icons/plus.vue +3 -3
- package/src/atoms/components/Icon/icons/poll.vue +3 -3
- package/src/atoms/components/Icon/icons/portfolio.vue +10 -10
- package/src/atoms/components/Icon/icons/premium-content.vue +8 -8
- package/src/atoms/components/Icon/icons/preview.vue +6 -6
- package/src/atoms/components/Icon/icons/printing.vue +6 -6
- package/src/atoms/components/Icon/icons/processing.vue +5 -5
- package/src/atoms/components/Icon/icons/question-alt.vue +20 -20
- package/src/atoms/components/Icon/icons/question.vue +11 -11
- package/src/atoms/components/Icon/icons/ratio-1-1.vue +3 -3
- package/src/atoms/components/Icon/icons/ratio-16-9.vue +1 -1
- package/src/atoms/components/Icon/icons/ratio-2-3.vue +3 -3
- package/src/atoms/components/Icon/icons/ratio-3-2.vue +3 -3
- package/src/atoms/components/Icon/icons/ratio-3-4.vue +3 -3
- package/src/atoms/components/Icon/icons/ratio-4-3.vue +3 -3
- package/src/atoms/components/Icon/icons/ratio-9-16.vue +3 -3
- package/src/atoms/components/Icon/icons/ratio-circle.vue +8 -8
- package/src/atoms/components/Icon/icons/ratio-original.vue +11 -11
- package/src/atoms/components/Icon/icons/redo.vue +6 -6
- package/src/atoms/components/Icon/icons/reload.vue +6 -6
- package/src/atoms/components/Icon/icons/reorderable.vue +5 -5
- package/src/atoms/components/Icon/icons/request-payment.vue +6 -6
- package/src/atoms/components/Icon/icons/reset.vue +6 -6
- package/src/atoms/components/Icon/icons/resize.vue +6 -6
- package/src/atoms/components/Icon/icons/save.vue +6 -6
- package/src/atoms/components/Icon/icons/search.vue +11 -11
- package/src/atoms/components/Icon/icons/secure.vue +7 -7
- package/src/atoms/components/Icon/icons/select-all.vue +7 -0
- package/src/atoms/components/Icon/icons/send.vue +12 -12
- package/src/atoms/components/Icon/icons/services.vue +7 -7
- package/src/atoms/components/Icon/icons/settings.vue +7 -7
- package/src/atoms/components/Icon/icons/shape.vue +5 -5
- package/src/atoms/components/Icon/icons/share.vue +9 -9
- package/src/atoms/components/Icon/icons/shield-tick.vue +6 -6
- package/src/atoms/components/Icon/icons/shop.vue +5 -5
- package/src/atoms/components/Icon/icons/sms.vue +5 -5
- package/src/atoms/components/Icon/icons/social-facebook-color.vue +9 -9
- package/src/atoms/components/Icon/icons/social-facebook.vue +5 -5
- package/src/atoms/components/Icon/icons/social-google.vue +5 -5
- package/src/atoms/components/Icon/icons/social-instagram-color.vue +24 -24
- package/src/atoms/components/Icon/icons/social-linkedin-color.vue +9 -9
- package/src/atoms/components/Icon/icons/social-share.vue +7 -7
- package/src/atoms/components/Icon/icons/social-twitter-color.vue +9 -9
- package/src/atoms/components/Icon/icons/sparkle-square.vue +22 -22
- package/src/atoms/components/Icon/icons/star-filled.vue +6 -6
- package/src/atoms/components/Icon/icons/star-hollow.vue +6 -6
- package/src/atoms/components/Icon/icons/sticker.vue +28 -28
- package/src/atoms/components/Icon/icons/stop.vue +5 -5
- package/src/atoms/components/Icon/icons/styles.vue +5 -5
- package/src/atoms/components/Icon/icons/submit.vue +5 -5
- package/src/atoms/components/Icon/icons/templates.vue +7 -7
- package/src/atoms/components/Icon/icons/text-image-center.vue +6 -6
- package/src/atoms/components/Icon/icons/text-image-justified.vue +7 -7
- package/src/atoms/components/Icon/icons/text-image-left.vue +9 -9
- package/src/atoms/components/Icon/icons/text-image-only.vue +5 -5
- package/src/atoms/components/Icon/icons/text-image-right.vue +9 -9
- package/src/atoms/components/Icon/icons/text-image.vue +13 -13
- package/src/atoms/components/Icon/icons/time.vue +8 -8
- package/src/atoms/components/Icon/icons/tooltip-bottom.vue +5 -5
- package/src/atoms/components/Icon/icons/tooltip-left.vue +5 -5
- package/src/atoms/components/Icon/icons/tooltip-right.vue +5 -5
- package/src/atoms/components/Icon/icons/tooltip-top.vue +5 -5
- package/src/atoms/components/Icon/icons/undo.vue +6 -6
- package/src/atoms/components/Icon/icons/upgrade-alt.vue +7 -7
- package/src/atoms/components/Icon/icons/upgrade.vue +9 -9
- package/src/atoms/components/Icon/icons/upload-arrow.vue +5 -5
- package/src/atoms/components/Icon/icons/upload.vue +5 -5
- package/src/atoms/components/Icon/icons/user-accounts.vue +5 -5
- package/src/atoms/components/Icon/icons/user-headset.vue +50 -50
- package/src/atoms/components/Icon/icons/users-2.vue +5 -5
- package/src/atoms/components/Icon/icons/volume-muted.vue +5 -5
- package/src/atoms/components/Icon/icons/volume.vue +5 -5
- package/src/atoms/components/Icon/icons/watchlist-filled.vue +14 -14
- package/src/atoms/components/Icon/icons/watchlist-hollow-alt.vue +14 -14
- package/src/atoms/components/Icon/icons/watchlist-hollow.vue +6 -6
- package/src/atoms/components/Icon/icons/website-filled.vue +5 -5
- package/src/atoms/components/Icon/icons/website.vue +6 -6
- package/src/atoms/components/Icon/icons/websites/upgrade-to-add-page.vue +50 -50
- package/src/atoms/components/Icon/icons/websites/upgrade-to-contact-form.vue +82 -82
- package/src/atoms/components/Icon/icons/websites/upgrade-to-google-ad.vue +92 -92
- package/src/atoms/components/Icon/icons/websites/upgrade-to-maps.vue +40 -40
- package/src/atoms/components/Icon/icons/websites/upgrade-to-publish.vue +107 -107
- package/src/atoms/components/Icon/icons/websites/upgrade-to-remove-watermark.vue +74 -74
- package/src/atoms/components/Icon/icons/websites/upgrade-to-videos.vue +16 -16
- package/src/atoms/components/Icon/icons/wholesale.vue +6 -6
- package/src/atoms/components/Icon/icons/zoom-in.vue +5 -5
- package/src/atoms/components/Icon/icons/zoom-out.vue +5 -5
- package/src/atoms/components/Icon/icons/zoom.vue +11 -11
- package/src/atoms/components/Loader/Loader.vue +15 -15
- package/src/atoms/components/Masonry/Masonry.stories.js +48 -48
- package/src/atoms/components/Masonry/Masonry.vue +48 -48
- package/src/atoms/components/Masonry/fixtures.js +589 -589
- package/src/atoms/components/Modal/HashRouteModal.stories.js +68 -68
- package/src/atoms/components/Modal/HashRouteModal.vue +120 -120
- package/src/atoms/components/Modal/Modal.stories.js +293 -293
- package/src/atoms/components/Modal/Modal.vue +272 -272
- package/src/atoms/components/Notice/Notice.stories.js +174 -174
- package/src/atoms/components/Notice/Notice.vue +71 -71
- package/src/atoms/components/NumberStepper/NumberStepper.stories.js +55 -55
- package/src/atoms/components/NumberStepper/NumberStepper.vue +340 -340
- package/src/atoms/components/Picture/Picture.stories.js +90 -90
- package/src/atoms/components/Picture/Picture.vue +84 -84
- package/src/atoms/components/Picture/picture.fixtures.js +35 -35
- package/src/atoms/components/Pill/Pill.stories.js +20 -20
- package/src/atoms/components/Pill/Pill.vue +8 -8
- package/src/atoms/components/PillBar/PillBar.fixtures.js +941 -941
- package/src/atoms/components/PillBar/PillBar.stories.js +39 -39
- package/src/atoms/components/PillBar/PillBar.vue +62 -62
- package/src/atoms/components/Price/Price.fixtures.js +85 -85
- package/src/atoms/components/Price/Price.stories.js +313 -313
- package/src/atoms/components/Price/Price.vue +135 -135
- package/src/atoms/components/Price/i18n/price.de-DE.json +5 -5
- package/src/atoms/components/Price/i18n/price.es-ES.json +5 -5
- package/src/atoms/components/Price/i18n/price.fr-CA.json +5 -5
- package/src/atoms/components/Price/i18n/price.fr-FR.json +5 -5
- package/src/atoms/components/Price/i18n/price.json +5 -5
- package/src/atoms/components/Price/i18n/price.pt-BR.json +5 -5
- package/src/atoms/components/Price/i18n/price.pt-PT.json +5 -5
- package/src/atoms/components/PromoCard/PromoCard.stories.ts +263 -263
- package/src/atoms/components/PromoCard/PromoCard.vue +83 -83
- package/src/atoms/components/SearchBar/SearchBar.stories.js +21 -21
- package/src/atoms/components/SearchBar/SearchBar.vue +51 -51
- package/src/atoms/components/Select/Select.stories.js +142 -142
- package/src/atoms/components/Select/Select.vue +619 -619
- package/src/atoms/components/Select/pointerMixin.js +99 -99
- package/src/atoms/components/Select/selectMixin.js +356 -356
- package/src/atoms/components/SparkleIcon/SparkleIcon.stories.js +386 -386
- package/src/atoms/components/SparkleIcon/SparkleIcon.vue +136 -136
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-01.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-02.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-03.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-04.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-05.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-06.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-07.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/sparkle/state-08.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-01.svg +5 -5
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-02.svg +14 -14
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-03.svg +14 -14
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-04.svg +14 -14
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-05.svg +14 -14
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-06.svg +14 -14
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-07.svg +14 -14
- package/src/atoms/components/SparkleIcon/assets/animations/spinner/state-08.svg +14 -14
- package/src/atoms/components/SparkleIcon/assets/sparkle.svg +3 -3
- package/src/atoms/components/SparkleIcon/index.ts +3 -3
- package/src/atoms/components/SparkleIcon/sparkle-paths.ts +54 -54
- package/src/atoms/components/SparkleIcon/sparkle-with-spinner-paths.ts +61 -61
- package/src/atoms/components/StarRating/StarRating.stories.js +50 -50
- package/src/atoms/components/StarRating/StarRating.vue +84 -84
- package/src/atoms/components/TabMenu/TabMenu.stories.js +54 -54
- package/src/atoms/components/TabMenu/TabMenu.vue +44 -44
- package/src/atoms/components/TextCopyField/TextCopyField.stories.js +68 -68
- package/src/atoms/components/TextCopyField/TextCopyField.vue +75 -75
- package/src/atoms/components/TextInput/TextInput.stories.js +232 -232
- package/src/atoms/components/TextInput/TextInput.vue +161 -161
- package/src/atoms/components/Textarea/Textarea.stories.js +209 -209
- package/src/atoms/components/Textarea/Textarea.vue +112 -112
- package/src/atoms/components/Toggle/Toggle.stories.js +176 -176
- package/src/atoms/components/Toggle/Toggle.vue +69 -69
- package/src/atoms/components/Tooltip/Tooltip.stories.js +493 -493
- package/src/atoms/components/Tooltip/Tooltip.vue +196 -196
- package/src/atoms/components/design-com/Icon/Icon.stories.js +94 -94
- package/src/atoms/components/design-com/Icon/Icon.vue +181 -181
- package/src/atoms/components/design-com/Icon/icons/ai.vue +5 -5
- package/src/atoms/components/design-com/Icon/icons/award.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/badge.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/briefcase.vue +6 -6
- package/src/atoms/components/design-com/Icon/icons/browser.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/bulb.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/card-vertical.vue +8 -8
- package/src/atoms/components/design-com/Icon/icons/card.vue +6 -6
- package/src/atoms/components/design-com/Icon/icons/check-circle-light.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/chevron-down.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/chevron-left.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/chevron-right.vue +3 -3
- package/src/atoms/components/design-com/Icon/icons/chevron-up.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/diamond.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/download.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/file-empty.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/file.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/filter.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/folder.vue +5 -5
- package/src/atoms/components/design-com/Icon/icons/font.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/headphones.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/heart.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/image.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/lightning.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/logo.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/minus-circle-light.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/plus-circle-light.vue +8 -8
- package/src/atoms/components/design-com/Icon/icons/printing.vue +5 -5
- package/src/atoms/components/design-com/Icon/icons/question-circle-filled.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/search.vue +7 -7
- package/src/atoms/components/design-com/Icon/icons/shield-tick.vue +5 -5
- package/src/atoms/components/design-com/Icon/icons/star-filled.vue +6 -6
- package/src/atoms/components/design-com/Icon/icons/star-hollow.vue +6 -6
- package/src/atoms/components/design-com/Icon/icons/users.vue +7 -7
- package/src/atoms/constants/constants.ts +6 -6
- package/src/atoms/mixin/hash-router-mixin.js +68 -68
- package/src/atoms/thirdparty-components/VueMasonryWall/VueMasonryWall.vue +280 -280
- package/src/atoms/thirdparty-components/VueMasonryWall/maxBy.js +50 -50
- package/src/bundleTranslation.js +86 -86
- package/src/bundles/bundled-translations.de-DE.json +53 -8
- package/src/bundles/bundled-translations.es-ES.json +53 -8
- package/src/bundles/bundled-translations.fr-CA.json +53 -8
- package/src/bundles/bundled-translations.fr-FR.json +53 -8
- package/src/bundles/bundled-translations.json +53 -8
- package/src/bundles/bundled-translations.pt-BR.json +53 -8
- package/src/bundles/bundled-translations.pt-PT.json +53 -8
- package/src/css/tailwind.css +3 -3
- package/src/experiences/clients/brand-crowd-api.client.js +142 -142
- package/src/experiences/clients/brand-page-api.client.js +62 -62
- package/src/experiences/components/AuthFlow/Auth.fixtures.js +4 -4
- package/src/experiences/components/AuthFlow/Auth.stories.js +345 -345
- package/src/experiences/components/AuthFlow/AuthCrazyDomains.stories.js +60 -60
- package/src/experiences/components/AuthFlow/AuthLegal.vue +108 -108
- package/src/experiences/components/AuthFlow/AuthModal.vue +39 -39
- package/src/experiences/components/AuthFlow/ForgotPassword.vue +222 -222
- package/src/experiences/components/AuthFlow/ForgotPasswordModal.vue +68 -68
- package/src/experiences/components/AuthFlow/ResetPassword.vue +179 -179
- package/src/experiences/components/AuthFlow/ResetPasswordModal.vue +64 -64
- package/src/experiences/components/AuthFlow/ResetPasswordSuccessModal.vue +56 -56
- package/src/experiences/components/AuthFlow/SignIn.vue +472 -472
- package/src/experiences/components/AuthFlow/SignUp.vue +278 -278
- package/src/experiences/components/AuthFlow/SignUpModal.vue +90 -90
- package/src/experiences/components/AuthFlow/SocialSignIn.vue +177 -177
- package/src/experiences/components/AuthFlow/SocialSignInButton.vue +74 -74
- package/src/experiences/components/AuthFlow/SubmissionButton.vue +56 -56
- package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +118 -118
- package/src/experiences/components/PaymentConfigList/PaymentConfigDeleteConfigModal.vue +108 -108
- package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +175 -175
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +234 -234
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +136 -136
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.de-DE.json +11 -11
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.es-ES.json +11 -11
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-CA.json +11 -11
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-FR.json +11 -11
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.json +11 -11
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-BR.json +11 -11
- package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-PT.json +11 -11
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +119 -119
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +262 -262
- package/src/experiences/components/PublishBrandPageModal/__fixtures__/data.js +25 -25
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +27 -27
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +27 -27
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-CA.json +27 -27
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +27 -27
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +27 -27
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-BR.json +27 -27
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +27 -27
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.fixtures.js +32 -32
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +157 -157
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +7 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +7 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-CA.json +7 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +7 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.json +7 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-BR.json +7 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +7 -7
- package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.stories.js +74 -74
- package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +128 -128
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +5 -5
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +5 -5
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-CA.json +5 -5
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +5 -5
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.json +5 -5
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-BR.json +5 -5
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +5 -5
- package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +222 -222
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +5 -5
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +5 -5
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-CA.json +5 -5
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +5 -5
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.json +5 -5
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-BR.json +5 -5
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +5 -5
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +7 -7
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +7 -7
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-CA.json +7 -7
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +7 -7
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.json +7 -7
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-BR.json +7 -7
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +7 -7
- package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +167 -167
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +5 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +5 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-CA.json +5 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +5 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.json +5 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-BR.json +5 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +5 -5
- package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.stories.js +38 -38
- package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +223 -223
- package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.stories.js +40 -40
- package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +155 -155
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +7 -7
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +7 -7
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-CA.json +7 -7
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +7 -7
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.json +7 -7
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-BR.json +7 -7
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +7 -7
- package/src/experiences/components/SideNavigationPanel/MenuCta.vue +62 -62
- package/src/experiences/components/SideNavigationPanel/MenuItem.vue +40 -40
- package/src/experiences/components/SideNavigationPanel/SideNavigationPanel.stories.js +219 -219
- package/src/experiences/components/SideNavigationPanel/SideNavigationPanel.vue +82 -82
- package/src/experiences/components/SideNavigationPanel/types.ts +7 -7
- package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.stories.js +254 -254
- package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue +163 -163
- package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.stories.js +59 -59
- package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.vue +285 -285
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.stories.js +37 -37
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +338 -338
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessText.vue +146 -146
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +473 -473
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.stories.js +65 -65
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.vue +156 -156
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoPreview.vue +103 -103
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadError.vue +75 -75
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadExitConfirmation.vue +55 -55
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadModal.vue +38 -38
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +109 -109
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadingLoader.vue +39 -39
- package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +363 -363
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.de-DE.json +37 -37
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.es-ES.json +37 -37
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-CA.json +37 -37
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-FR.json +37 -37
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.json +37 -37
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-BR.json +37 -37
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-PT.json +37 -37
- package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.stories.js +82 -82
- package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +211 -211
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.de-DE.json +8 -8
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.es-ES.json +8 -8
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.fr-CA.json +8 -8
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.fr-FR.json +8 -8
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.json +8 -8
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.pt-BR.json +8 -8
- package/src/experiences/components/UploadedLogoSearchResultCard/i18n/upload-logo-search-result-card.pt-PT.json +8 -8
- package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.stories.js +181 -181
- package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +203 -203
- package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.de-DE.json +42 -42
- package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.es-ES.json +42 -42
- package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-CA.json +42 -42
- package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.fr-FR.json +42 -42
- package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.json +42 -42
- package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-BR.json +42 -42
- package/src/experiences/components/WebsitesContextualUpgradeModal/i18n/website-contextual-upgrade-modal.pt-PT.json +42 -42
- package/src/experiences/constants/api.js +9 -9
- package/src/experiences/constants/error-constants.js +5 -5
- package/src/experiences/constants/event-constants.js +18 -18
- package/src/experiences/constants/partner-dictionary-constants.js +27 -27
- package/src/experiences/constants/rego-source-constants.js +3 -3
- package/src/experiences/constants/sell-domain-name-constants.js +4 -4
- package/src/experiences/helpers/email-validator.js +5 -5
- package/src/experiences/helpers/hex-diff.js +116 -116
- package/src/experiences/helpers/tracking.js +5 -5
- package/src/experiences/mixins/mediaQueryMixin.js +31 -31
- package/src/experiences/mixins/themeMixin.js +22 -22
- package/src/experiences/models/websiteContextualModel.ts +11 -11
- package/src/themes/base.js +20 -20
- package/src/themes/bc.js +95 -95
- package/src/themes/bp.js +21 -21
- package/src/themes/cd.js +94 -94
- package/src/themes/dc.js +84 -84
- package/src/themes/dcom.js +106 -106
- package/src/themes/themes.js +16 -16
- package/src/useSharedLibTranslate.js +131 -131
- package/src/viewports.js +51 -51
- package/stylelint.config.js +19 -19
- package/tailwind.build.js +83 -83
- package/tailwind.config.js +36 -36
- package/tailwind.themes.js +59 -59
- package/vite.config.ts +37 -37
- package/public/css/tailwind-brandCrowd.css +0 -2497
- package/public/css/tailwind-brandPage.css +0 -2197
- package/public/css/tailwind-crazyDomains.css +0 -2497
- package/public/css/tailwind-designCom.css +0 -2497
- package/public/css/tailwind-designCrowd.css +0 -2497
|
@@ -1,382 +1,382 @@
|
|
|
1
|
-
# DY-957 Phase 2: fe-shared-lib Wizard Changes
|
|
2
|
-
|
|
3
|
-
## Goal
|
|
4
|
-
|
|
5
|
-
Add an optional keywords step to the BYO upload wizard in `@designcrowd/fe-shared-lib`. The step fetches AI keyword suggestions, displays them in an editable textbox, and emits the keywords for the consumer to use. The step is opt-in via a `showKeywordsStep` prop (default `false`).
|
|
6
|
-
|
|
7
|
-
## Repo
|
|
8
|
-
|
|
9
|
-
`fe-shared-lib`
|
|
10
|
-
|
|
11
|
-
## Prerequisites
|
|
12
|
-
|
|
13
|
-
- Phase 1 backend endpoint deployed (needed for integration testing, not for Storybook development)
|
|
14
|
-
|
|
15
|
-
## Implementation Decisions (Confirmed)
|
|
16
|
-
|
|
17
|
-
- The keyword suggestions endpoint path is `/api/ai-keyword-suggestion` (this is intentionally **not** maker-prefixed).
|
|
18
|
-
- `templateType` is required end-to-end; consumers must pass a non-null default value.
|
|
19
|
-
- Continue action in the keywords step must be disabled while suggestions are loading.
|
|
20
|
-
- Storybook coverage for `LogoKeywords` is required for this task (not optional).
|
|
21
|
-
- Publishing/version bump and final validation are human-owned follow-up steps, not coding-agent scope.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Tasks
|
|
26
|
-
|
|
27
|
-
### 1. Add API constant
|
|
28
|
-
|
|
29
|
-
**File**: `src/experiences/constants/api.js`
|
|
30
|
-
|
|
31
|
-
Add one line to the exported object:
|
|
32
|
-
|
|
33
|
-
```js
|
|
34
|
-
KEYWORD_SUGGESTIONS_API_URL: '/api/ai-keyword-suggestion',
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### 2. Add `getKeywordSuggestionsAsync` to API client
|
|
38
|
-
|
|
39
|
-
**File**: `src/experiences/clients/brand-crowd-api.client.js`
|
|
40
|
-
|
|
41
|
-
Add a new async method following the `searchDomainNamesByKeywordAsync` pattern (lines 71-117):
|
|
42
|
-
|
|
43
|
-
```js
|
|
44
|
-
const getKeywordSuggestionsAsync = async ({ businessName, templateType }) => {
|
|
45
|
-
try {
|
|
46
|
-
const url = `${API.KEYWORD_SUGGESTIONS_API_URL}?businessName=${encodeURIComponent(businessName)}&templateType=${encodeURIComponent(templateType)}`;
|
|
47
|
-
const response = await getAxios()({
|
|
48
|
-
method: 'get',
|
|
49
|
-
url,
|
|
50
|
-
});
|
|
51
|
-
return response.data;
|
|
52
|
-
} catch (error) {
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Behavior note: if `businessName` is empty, still call the endpoint with `businessName=` and continue normally (expected to return empty suggestions).
|
|
59
|
-
|
|
60
|
-
Add `getKeywordSuggestionsAsync` to the default export object (lines 119-124).
|
|
61
|
-
|
|
62
|
-
### 3. Create `LogoKeywords.vue` component
|
|
63
|
-
|
|
64
|
-
**File**: Create `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.vue`
|
|
65
|
-
|
|
66
|
-
Clone the structure from `LogoBusinessText.vue` (same directory). The component should:
|
|
67
|
-
|
|
68
|
-
**Props:**
|
|
69
|
-
- `progressLabel` (String, required) — "Step X of Y"
|
|
70
|
-
- `eventCategory` (String, required) — for analytics tracking
|
|
71
|
-
- `savedKeywords` (String, optional, default: `null`) — restored keywords if user navigated back then forward
|
|
72
|
-
- `businessName` (String, optional, default: `''`) — from previous step (may be empty)
|
|
73
|
-
- `templateType` (String, required) — e.g. "business card"
|
|
74
|
-
|
|
75
|
-
Behavior note: keep current wizard behavior where empty business name is allowed; do not block navigation if no business name is entered.
|
|
76
|
-
|
|
77
|
-
**Data:**
|
|
78
|
-
- `keywordsText: ''` — the editable comma-separated keywords string
|
|
79
|
-
- `isLoading: false`
|
|
80
|
-
|
|
81
|
-
**Mounted lifecycle:**
|
|
82
|
-
```js
|
|
83
|
-
async mounted() {
|
|
84
|
-
if (this.savedKeywords !== null) {
|
|
85
|
-
this.keywordsText = this.savedKeywords;
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
this.isLoading = true;
|
|
89
|
-
try {
|
|
90
|
-
const result = await brandCrowdClient.getKeywordSuggestionsAsync({
|
|
91
|
-
businessName: this.businessName,
|
|
92
|
-
templateType: this.templateType,
|
|
93
|
-
});
|
|
94
|
-
if (result && result.keywords && result.keywords.length > 0) {
|
|
95
|
-
this.keywordsText = result.keywords.join(', ');
|
|
96
|
-
}
|
|
97
|
-
} catch {
|
|
98
|
-
// leave keywordsText as empty string
|
|
99
|
-
} finally {
|
|
100
|
-
this.isLoading = false;
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
**Methods:**
|
|
106
|
-
- `back()` — emits `on-go-back`
|
|
107
|
-
- `save()` — no-op if `isLoading` is true; otherwise tracks event with `eventAction: 'keywords'`, `eventLabel: 'Clicked_Continue'`, then emits `on-save` with `{ keywords: this.keywordsText }`
|
|
108
|
-
- `onKeywordsKeyUp(e)` — if `e.key === 'Enter'` and `!isLoading`, call `this.save()`
|
|
109
|
-
|
|
110
|
-
**Template:** Mirror `LogoBusinessText.vue` layout:
|
|
111
|
-
- Progress label header: `{{ progressLabel }}`
|
|
112
|
-
- Heading: `{{ uploadYourLogoTr('keywords') }}`
|
|
113
|
-
- Description: `{{ uploadYourLogoTr('keywordsDescription') }}`
|
|
114
|
-
- Single `<input>` or `<textarea>` bound to `keywordsText`, disabled while `isLoading`, with `@keyup="onKeywordsKeyUp"`
|
|
115
|
-
- Show a loading indicator (spinner or skeleton) when `isLoading` is true
|
|
116
|
-
- Footer with Back button (emits `on-go-back`) and Continue button (calls `save()`)
|
|
117
|
-
- Continue button must be disabled while `isLoading` is `true`
|
|
118
|
-
|
|
119
|
-
**i18n:** Use the `uploadYourLogoTr` mixin (same as `LogoBusinessText.vue`).
|
|
120
|
-
|
|
121
|
-
### 4. Add i18n translation keys
|
|
122
|
-
|
|
123
|
-
**Files**: All 7 locale files in `src/experiences/components/UploadYourLogoOnBoarding/i18n/`
|
|
124
|
-
|
|
125
|
-
Add two new keys inside the `"uploadYourLogo"` object in **every** locale file, using the **English text** in all of them:
|
|
126
|
-
|
|
127
|
-
```json
|
|
128
|
-
"keywords": "Keywords",
|
|
129
|
-
"keywordsDescription": "Add keywords related to your business and logo"
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
Add this identical English text to:
|
|
133
|
-
- `upload-your-logo.json` (English)
|
|
134
|
-
- `upload-your-logo.de-DE.json`
|
|
135
|
-
- `upload-your-logo.es-ES.json`
|
|
136
|
-
- `upload-your-logo.fr-CA.json`
|
|
137
|
-
- `upload-your-logo.fr-FR.json`
|
|
138
|
-
- `upload-your-logo.pt-BR.json`
|
|
139
|
-
- `upload-your-logo.pt-PT.json`
|
|
140
|
-
|
|
141
|
-
**Do not translate** — a separate process will sweep the codebase and replace the English placeholders with proper translations.
|
|
142
|
-
|
|
143
|
-
After editing all files, run `npm run bundle-translation` to regenerate bundled translation files.
|
|
144
|
-
|
|
145
|
-
### 5. Update `UploadYourLogoOnBoarding.vue` orchestrator
|
|
146
|
-
|
|
147
|
-
**File**: `src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue`
|
|
148
|
-
|
|
149
|
-
#### 5a. Add new props (after existing props at lines 115-136)
|
|
150
|
-
|
|
151
|
-
```js
|
|
152
|
-
showKeywordsStep: {
|
|
153
|
-
type: Boolean,
|
|
154
|
-
required: false,
|
|
155
|
-
default: false,
|
|
156
|
-
},
|
|
157
|
-
templateType: {
|
|
158
|
-
type: String,
|
|
159
|
-
required: true,
|
|
160
|
-
},
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
Note: `templateType` must be provided by the consumer (fallback/defaulting happens in consumer app config, not in this component).
|
|
164
|
-
|
|
165
|
-
#### 5b. Update `data()` (lines 142-154)
|
|
166
|
-
|
|
167
|
-
Change `totalNumSteps` to be dynamic:
|
|
168
|
-
```js
|
|
169
|
-
totalNumSteps: this.useDropzone
|
|
170
|
-
? (this.showKeywordsStep ? 6 : 5)
|
|
171
|
-
: (this.showKeywordsStep ? 5 : 4),
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
Add new data property:
|
|
175
|
-
```js
|
|
176
|
-
savedKeywords: null,
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
#### 5c. Add computed property for brand colours step number
|
|
180
|
-
|
|
181
|
-
```js
|
|
182
|
-
brandColoursStep() {
|
|
183
|
-
return this.showKeywordsStep ? 5 : 4;
|
|
184
|
-
},
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
#### 5d. Update `currentStepProgressLabel` (lines 157-163)
|
|
188
|
-
|
|
189
|
-
Replace hard-coded totals with `this.totalNumSteps`:
|
|
190
|
-
```js
|
|
191
|
-
currentStepProgressLabel() {
|
|
192
|
-
if (this.includeDropzoneInModal) {
|
|
193
|
-
const currentStepDisplay = this.currentStep === 0 ? 1 : this.currentStep;
|
|
194
|
-
return this.uploadYourLogoTr('stepOf', { CURRENT: currentStepDisplay, TOTAL: this.totalNumSteps });
|
|
195
|
-
}
|
|
196
|
-
return this.uploadYourLogoTr('stepOf', { CURRENT: this.currentStep - 1, TOTAL: this.totalNumSteps });
|
|
197
|
-
},
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
#### 5e. Update `currentStepTrackingLabel` (lines 170-176)
|
|
201
|
-
|
|
202
|
-
Make it keyword-step aware:
|
|
203
|
-
```js
|
|
204
|
-
currentStepTrackingLabel() {
|
|
205
|
-
const stepTwoLabel = this.currentStep === 2 && !this.canCropImage ? 'previewLogo' : 'cropLogo';
|
|
206
|
-
const steps = this.showKeywordsStep
|
|
207
|
-
? ['logoUploader', stepTwoLabel, 'businessName', 'keywords', 'brandColors']
|
|
208
|
-
: ['logoUploader', stepTwoLabel, 'businessName', 'brandColors'];
|
|
209
|
-
return steps[this.currentStep - 1];
|
|
210
|
-
},
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
#### 5f. Import LogoKeywords component
|
|
214
|
-
|
|
215
|
-
Add import at top of script:
|
|
216
|
-
```js
|
|
217
|
-
import LogoKeywords from './LogoKeywords.vue';
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
Register in `components: { ... }`.
|
|
221
|
-
|
|
222
|
-
#### 5g. Update `onSaveBusinessText` method (lines 251-255)
|
|
223
|
-
|
|
224
|
-
No change needed — it already sets `currentStep = 4`. When `showKeywordsStep` is true, step 4 shows LogoKeywords. When false, step 4 shows LogoBusinessBrandColours (via `brandColoursStep` computed).
|
|
225
|
-
|
|
226
|
-
#### 5h. Add `onSaveKeywords` method
|
|
227
|
-
|
|
228
|
-
```js
|
|
229
|
-
onSaveKeywords(payload) {
|
|
230
|
-
this.$emit('on-save-keywords', { keywords: payload.keywords });
|
|
231
|
-
this.savedKeywords = payload.keywords;
|
|
232
|
-
this.currentStep = this.brandColoursStep;
|
|
233
|
-
},
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
#### 5i. Add `onGoBackFromBrandColours` method (or rename existing `onGoBackToBusinessText` usage on brand colours)
|
|
237
|
-
|
|
238
|
-
```js
|
|
239
|
-
onGoBackFromBrandColours() {
|
|
240
|
-
this.$emit('on-back', { currentStepTrackingLabel: this.currentStepTrackingLabel });
|
|
241
|
-
this.currentStep = this.showKeywordsStep ? 4 : 3;
|
|
242
|
-
},
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
**Important**: The brand colours component currently uses `@on-go-back="onGoBackToBusinessText"` (which sets `currentStep = 3`). Change this to `@on-go-back="onGoBackFromBrandColours"` so it goes back to keywords (step 4) when the keywords step is enabled.
|
|
246
|
-
|
|
247
|
-
#### 5j. Update template — add LogoKeywords between BusinessText and BrandColours
|
|
248
|
-
|
|
249
|
-
Add after the LogoBusinessText block and before LogoBusinessBrandColours:
|
|
250
|
-
|
|
251
|
-
```vue
|
|
252
|
-
<LogoKeywords
|
|
253
|
-
v-if="showKeywordsStep && !isAttemptingToExit && currentStep === 4 && uploadedLogoData"
|
|
254
|
-
:progress-label="currentStepProgressLabel"
|
|
255
|
-
:event-category="eventCategory"
|
|
256
|
-
:saved-keywords="savedKeywords"
|
|
257
|
-
:business-name="(savedBusinessText && savedBusinessText.businessText) || ''"
|
|
258
|
-
:template-type="templateType"
|
|
259
|
-
@on-go-back="onGoBackToBusinessText"
|
|
260
|
-
@on-save="onSaveKeywords"
|
|
261
|
-
/>
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
#### 5k. Update template — change BrandColours step condition
|
|
265
|
-
|
|
266
|
-
Change `currentStep === 4` to `currentStep === brandColoursStep`:
|
|
267
|
-
|
|
268
|
-
```vue
|
|
269
|
-
<LogoBusinessBrandColours
|
|
270
|
-
v-if="!isAttemptingToExit && currentStep === brandColoursStep && uploadedLogoData && !isCurrentlySaving"
|
|
271
|
-
...
|
|
272
|
-
@on-go-back="onGoBackFromBrandColours"
|
|
273
|
-
...
|
|
274
|
-
/>
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
#### 5l. Update `reset()` method (lines 290-299)
|
|
278
|
-
|
|
279
|
-
Add:
|
|
280
|
-
```js
|
|
281
|
-
this.savedKeywords = null;
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
### 6. Update `UploadYourLogoApplication.vue` wrapper
|
|
285
|
-
|
|
286
|
-
**File**: `src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue`
|
|
287
|
-
|
|
288
|
-
#### 6a. Add pass-through props (after existing props at lines 29-45)
|
|
289
|
-
|
|
290
|
-
```js
|
|
291
|
-
showKeywordsStep: {
|
|
292
|
-
type: Boolean,
|
|
293
|
-
required: false,
|
|
294
|
-
default: false,
|
|
295
|
-
},
|
|
296
|
-
templateType: {
|
|
297
|
-
type: String,
|
|
298
|
-
required: true,
|
|
299
|
-
},
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
Note: `templateType` must be provided by the consumer (fallback/defaulting happens in consumer app config, not in this component).
|
|
303
|
-
|
|
304
|
-
#### 6b. Pass props to `UploadYourLogoOnBoarding` in template
|
|
305
|
-
|
|
306
|
-
Add to the existing `<UploadYourLogoOnBoarding>` tag:
|
|
307
|
-
```vue
|
|
308
|
-
:show-keywords-step="showKeywordsStep"
|
|
309
|
-
:template-type="templateType"
|
|
310
|
-
@on-save-keywords="onSaveKeywords"
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
#### 6c. Add event handler method
|
|
314
|
-
|
|
315
|
-
```js
|
|
316
|
-
onSaveKeywords(payload) {
|
|
317
|
-
this.$emit('on-save-keywords', payload);
|
|
318
|
-
},
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
### 7. Add Storybook story (required)
|
|
322
|
-
|
|
323
|
-
**File**: Create `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.stories.js`
|
|
324
|
-
|
|
325
|
-
Create a story following standard Storybook patterns covering:
|
|
326
|
-
- Loading state (mock delayed API)
|
|
327
|
-
- Populated state (mock successful response with keywords)
|
|
328
|
-
- Empty state (mock failed response)
|
|
329
|
-
- Pre-populated state (savedKeywords prop set)
|
|
330
|
-
|
|
331
|
-
### 8. Publish package
|
|
332
|
-
|
|
333
|
-
After all changes are verified (human release process; **not** a coding-agent task):
|
|
334
|
-
1. Bump package version in `package.json`
|
|
335
|
-
2. Run `npm run bundle-translation` to regenerate i18n bundles
|
|
336
|
-
3. Perform manual validation in Storybook/integration context (no automated test runner in this repo)
|
|
337
|
-
4. Publish the new version of `@designcrowd/fe-shared-lib`
|
|
338
|
-
|
|
339
|
-
---
|
|
340
|
-
|
|
341
|
-
## Step Number Reference Table
|
|
342
|
-
|
|
343
|
-
### When `showKeywordsStep = false` (default, unchanged):
|
|
344
|
-
|
|
345
|
-
| currentStep | Component | Progress Display |
|
|
346
|
-
|---|---|---|
|
|
347
|
-
| 1 | LogoUploader | Step 0 of 4 |
|
|
348
|
-
| 2 | LogoCropper/Preview | Step 1 of 4 |
|
|
349
|
-
| 3 | LogoBusinessText | Step 2 of 4 |
|
|
350
|
-
| 4 | LogoBusinessBrandColours | Step 3 of 4 |
|
|
351
|
-
|
|
352
|
-
### When `showKeywordsStep = true`:
|
|
353
|
-
|
|
354
|
-
| currentStep | Component | Progress Display |
|
|
355
|
-
|---|---|---|
|
|
356
|
-
| 1 | LogoUploader | Step 0 of 5 |
|
|
357
|
-
| 2 | LogoCropper/Preview | Step 1 of 5 |
|
|
358
|
-
| 3 | LogoBusinessText | Step 2 of 5 |
|
|
359
|
-
| **4** | **LogoKeywords (NEW)** | **Step 3 of 5** |
|
|
360
|
-
| 5 | LogoBusinessBrandColours | Step 4 of 5 |
|
|
361
|
-
|
|
362
|
-
Note: The `useDropzone` variant adds step 0 (dropzone) and shifts totals by +1. The same logic applies — `totalNumSteps` handles this via the ternary in `data()`.
|
|
363
|
-
|
|
364
|
-
---
|
|
365
|
-
|
|
366
|
-
## Files Changed
|
|
367
|
-
|
|
368
|
-
| File | Change |
|
|
369
|
-
|---|---|
|
|
370
|
-
| `src/experiences/constants/api.js` | Add `KEYWORD_SUGGESTIONS_API_URL` |
|
|
371
|
-
| `src/experiences/clients/brand-crowd-api.client.js` | Add `getKeywordSuggestionsAsync` method + export |
|
|
372
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.vue` | **New file** — keywords step component |
|
|
373
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue` | New props, step routing, computed properties, methods, template |
|
|
374
|
-
| `src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue` | Pass-through props + event |
|
|
375
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.json` | Add `keywords`, `keywordsDescription` |
|
|
376
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.de-DE.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
377
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.es-ES.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
378
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-CA.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
379
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-FR.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
380
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-BR.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
381
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-PT.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
382
|
-
| `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.stories.js` | **New file** (required) |
|
|
1
|
+
# DY-957 Phase 2: fe-shared-lib Wizard Changes
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Add an optional keywords step to the BYO upload wizard in `@designcrowd/fe-shared-lib`. The step fetches AI keyword suggestions, displays them in an editable textbox, and emits the keywords for the consumer to use. The step is opt-in via a `showKeywordsStep` prop (default `false`).
|
|
6
|
+
|
|
7
|
+
## Repo
|
|
8
|
+
|
|
9
|
+
`fe-shared-lib`
|
|
10
|
+
|
|
11
|
+
## Prerequisites
|
|
12
|
+
|
|
13
|
+
- Phase 1 backend endpoint deployed (needed for integration testing, not for Storybook development)
|
|
14
|
+
|
|
15
|
+
## Implementation Decisions (Confirmed)
|
|
16
|
+
|
|
17
|
+
- The keyword suggestions endpoint path is `/api/ai-keyword-suggestion` (this is intentionally **not** maker-prefixed).
|
|
18
|
+
- `templateType` is required end-to-end; consumers must pass a non-null default value.
|
|
19
|
+
- Continue action in the keywords step must be disabled while suggestions are loading.
|
|
20
|
+
- Storybook coverage for `LogoKeywords` is required for this task (not optional).
|
|
21
|
+
- Publishing/version bump and final validation are human-owned follow-up steps, not coding-agent scope.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Tasks
|
|
26
|
+
|
|
27
|
+
### 1. Add API constant
|
|
28
|
+
|
|
29
|
+
**File**: `src/experiences/constants/api.js`
|
|
30
|
+
|
|
31
|
+
Add one line to the exported object:
|
|
32
|
+
|
|
33
|
+
```js
|
|
34
|
+
KEYWORD_SUGGESTIONS_API_URL: '/api/ai-keyword-suggestion',
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### 2. Add `getKeywordSuggestionsAsync` to API client
|
|
38
|
+
|
|
39
|
+
**File**: `src/experiences/clients/brand-crowd-api.client.js`
|
|
40
|
+
|
|
41
|
+
Add a new async method following the `searchDomainNamesByKeywordAsync` pattern (lines 71-117):
|
|
42
|
+
|
|
43
|
+
```js
|
|
44
|
+
const getKeywordSuggestionsAsync = async ({ businessName, templateType }) => {
|
|
45
|
+
try {
|
|
46
|
+
const url = `${API.KEYWORD_SUGGESTIONS_API_URL}?businessName=${encodeURIComponent(businessName)}&templateType=${encodeURIComponent(templateType)}`;
|
|
47
|
+
const response = await getAxios()({
|
|
48
|
+
method: 'get',
|
|
49
|
+
url,
|
|
50
|
+
});
|
|
51
|
+
return response.data;
|
|
52
|
+
} catch (error) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Behavior note: if `businessName` is empty, still call the endpoint with `businessName=` and continue normally (expected to return empty suggestions).
|
|
59
|
+
|
|
60
|
+
Add `getKeywordSuggestionsAsync` to the default export object (lines 119-124).
|
|
61
|
+
|
|
62
|
+
### 3. Create `LogoKeywords.vue` component
|
|
63
|
+
|
|
64
|
+
**File**: Create `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.vue`
|
|
65
|
+
|
|
66
|
+
Clone the structure from `LogoBusinessText.vue` (same directory). The component should:
|
|
67
|
+
|
|
68
|
+
**Props:**
|
|
69
|
+
- `progressLabel` (String, required) — "Step X of Y"
|
|
70
|
+
- `eventCategory` (String, required) — for analytics tracking
|
|
71
|
+
- `savedKeywords` (String, optional, default: `null`) — restored keywords if user navigated back then forward
|
|
72
|
+
- `businessName` (String, optional, default: `''`) — from previous step (may be empty)
|
|
73
|
+
- `templateType` (String, required) — e.g. "business card"
|
|
74
|
+
|
|
75
|
+
Behavior note: keep current wizard behavior where empty business name is allowed; do not block navigation if no business name is entered.
|
|
76
|
+
|
|
77
|
+
**Data:**
|
|
78
|
+
- `keywordsText: ''` — the editable comma-separated keywords string
|
|
79
|
+
- `isLoading: false`
|
|
80
|
+
|
|
81
|
+
**Mounted lifecycle:**
|
|
82
|
+
```js
|
|
83
|
+
async mounted() {
|
|
84
|
+
if (this.savedKeywords !== null) {
|
|
85
|
+
this.keywordsText = this.savedKeywords;
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
this.isLoading = true;
|
|
89
|
+
try {
|
|
90
|
+
const result = await brandCrowdClient.getKeywordSuggestionsAsync({
|
|
91
|
+
businessName: this.businessName,
|
|
92
|
+
templateType: this.templateType,
|
|
93
|
+
});
|
|
94
|
+
if (result && result.keywords && result.keywords.length > 0) {
|
|
95
|
+
this.keywordsText = result.keywords.join(', ');
|
|
96
|
+
}
|
|
97
|
+
} catch {
|
|
98
|
+
// leave keywordsText as empty string
|
|
99
|
+
} finally {
|
|
100
|
+
this.isLoading = false;
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Methods:**
|
|
106
|
+
- `back()` — emits `on-go-back`
|
|
107
|
+
- `save()` — no-op if `isLoading` is true; otherwise tracks event with `eventAction: 'keywords'`, `eventLabel: 'Clicked_Continue'`, then emits `on-save` with `{ keywords: this.keywordsText }`
|
|
108
|
+
- `onKeywordsKeyUp(e)` — if `e.key === 'Enter'` and `!isLoading`, call `this.save()`
|
|
109
|
+
|
|
110
|
+
**Template:** Mirror `LogoBusinessText.vue` layout:
|
|
111
|
+
- Progress label header: `{{ progressLabel }}`
|
|
112
|
+
- Heading: `{{ uploadYourLogoTr('keywords') }}`
|
|
113
|
+
- Description: `{{ uploadYourLogoTr('keywordsDescription') }}`
|
|
114
|
+
- Single `<input>` or `<textarea>` bound to `keywordsText`, disabled while `isLoading`, with `@keyup="onKeywordsKeyUp"`
|
|
115
|
+
- Show a loading indicator (spinner or skeleton) when `isLoading` is true
|
|
116
|
+
- Footer with Back button (emits `on-go-back`) and Continue button (calls `save()`)
|
|
117
|
+
- Continue button must be disabled while `isLoading` is `true`
|
|
118
|
+
|
|
119
|
+
**i18n:** Use the `uploadYourLogoTr` mixin (same as `LogoBusinessText.vue`).
|
|
120
|
+
|
|
121
|
+
### 4. Add i18n translation keys
|
|
122
|
+
|
|
123
|
+
**Files**: All 7 locale files in `src/experiences/components/UploadYourLogoOnBoarding/i18n/`
|
|
124
|
+
|
|
125
|
+
Add two new keys inside the `"uploadYourLogo"` object in **every** locale file, using the **English text** in all of them:
|
|
126
|
+
|
|
127
|
+
```json
|
|
128
|
+
"keywords": "Keywords",
|
|
129
|
+
"keywordsDescription": "Add keywords related to your business and logo"
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Add this identical English text to:
|
|
133
|
+
- `upload-your-logo.json` (English)
|
|
134
|
+
- `upload-your-logo.de-DE.json`
|
|
135
|
+
- `upload-your-logo.es-ES.json`
|
|
136
|
+
- `upload-your-logo.fr-CA.json`
|
|
137
|
+
- `upload-your-logo.fr-FR.json`
|
|
138
|
+
- `upload-your-logo.pt-BR.json`
|
|
139
|
+
- `upload-your-logo.pt-PT.json`
|
|
140
|
+
|
|
141
|
+
**Do not translate** — a separate process will sweep the codebase and replace the English placeholders with proper translations.
|
|
142
|
+
|
|
143
|
+
After editing all files, run `npm run bundle-translation` to regenerate bundled translation files.
|
|
144
|
+
|
|
145
|
+
### 5. Update `UploadYourLogoOnBoarding.vue` orchestrator
|
|
146
|
+
|
|
147
|
+
**File**: `src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue`
|
|
148
|
+
|
|
149
|
+
#### 5a. Add new props (after existing props at lines 115-136)
|
|
150
|
+
|
|
151
|
+
```js
|
|
152
|
+
showKeywordsStep: {
|
|
153
|
+
type: Boolean,
|
|
154
|
+
required: false,
|
|
155
|
+
default: false,
|
|
156
|
+
},
|
|
157
|
+
templateType: {
|
|
158
|
+
type: String,
|
|
159
|
+
required: true,
|
|
160
|
+
},
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Note: `templateType` must be provided by the consumer (fallback/defaulting happens in consumer app config, not in this component).
|
|
164
|
+
|
|
165
|
+
#### 5b. Update `data()` (lines 142-154)
|
|
166
|
+
|
|
167
|
+
Change `totalNumSteps` to be dynamic:
|
|
168
|
+
```js
|
|
169
|
+
totalNumSteps: this.useDropzone
|
|
170
|
+
? (this.showKeywordsStep ? 6 : 5)
|
|
171
|
+
: (this.showKeywordsStep ? 5 : 4),
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Add new data property:
|
|
175
|
+
```js
|
|
176
|
+
savedKeywords: null,
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
#### 5c. Add computed property for brand colours step number
|
|
180
|
+
|
|
181
|
+
```js
|
|
182
|
+
brandColoursStep() {
|
|
183
|
+
return this.showKeywordsStep ? 5 : 4;
|
|
184
|
+
},
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
#### 5d. Update `currentStepProgressLabel` (lines 157-163)
|
|
188
|
+
|
|
189
|
+
Replace hard-coded totals with `this.totalNumSteps`:
|
|
190
|
+
```js
|
|
191
|
+
currentStepProgressLabel() {
|
|
192
|
+
if (this.includeDropzoneInModal) {
|
|
193
|
+
const currentStepDisplay = this.currentStep === 0 ? 1 : this.currentStep;
|
|
194
|
+
return this.uploadYourLogoTr('stepOf', { CURRENT: currentStepDisplay, TOTAL: this.totalNumSteps });
|
|
195
|
+
}
|
|
196
|
+
return this.uploadYourLogoTr('stepOf', { CURRENT: this.currentStep - 1, TOTAL: this.totalNumSteps });
|
|
197
|
+
},
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
#### 5e. Update `currentStepTrackingLabel` (lines 170-176)
|
|
201
|
+
|
|
202
|
+
Make it keyword-step aware:
|
|
203
|
+
```js
|
|
204
|
+
currentStepTrackingLabel() {
|
|
205
|
+
const stepTwoLabel = this.currentStep === 2 && !this.canCropImage ? 'previewLogo' : 'cropLogo';
|
|
206
|
+
const steps = this.showKeywordsStep
|
|
207
|
+
? ['logoUploader', stepTwoLabel, 'businessName', 'keywords', 'brandColors']
|
|
208
|
+
: ['logoUploader', stepTwoLabel, 'businessName', 'brandColors'];
|
|
209
|
+
return steps[this.currentStep - 1];
|
|
210
|
+
},
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
#### 5f. Import LogoKeywords component
|
|
214
|
+
|
|
215
|
+
Add import at top of script:
|
|
216
|
+
```js
|
|
217
|
+
import LogoKeywords from './LogoKeywords.vue';
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
Register in `components: { ... }`.
|
|
221
|
+
|
|
222
|
+
#### 5g. Update `onSaveBusinessText` method (lines 251-255)
|
|
223
|
+
|
|
224
|
+
No change needed — it already sets `currentStep = 4`. When `showKeywordsStep` is true, step 4 shows LogoKeywords. When false, step 4 shows LogoBusinessBrandColours (via `brandColoursStep` computed).
|
|
225
|
+
|
|
226
|
+
#### 5h. Add `onSaveKeywords` method
|
|
227
|
+
|
|
228
|
+
```js
|
|
229
|
+
onSaveKeywords(payload) {
|
|
230
|
+
this.$emit('on-save-keywords', { keywords: payload.keywords });
|
|
231
|
+
this.savedKeywords = payload.keywords;
|
|
232
|
+
this.currentStep = this.brandColoursStep;
|
|
233
|
+
},
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
#### 5i. Add `onGoBackFromBrandColours` method (or rename existing `onGoBackToBusinessText` usage on brand colours)
|
|
237
|
+
|
|
238
|
+
```js
|
|
239
|
+
onGoBackFromBrandColours() {
|
|
240
|
+
this.$emit('on-back', { currentStepTrackingLabel: this.currentStepTrackingLabel });
|
|
241
|
+
this.currentStep = this.showKeywordsStep ? 4 : 3;
|
|
242
|
+
},
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
**Important**: The brand colours component currently uses `@on-go-back="onGoBackToBusinessText"` (which sets `currentStep = 3`). Change this to `@on-go-back="onGoBackFromBrandColours"` so it goes back to keywords (step 4) when the keywords step is enabled.
|
|
246
|
+
|
|
247
|
+
#### 5j. Update template — add LogoKeywords between BusinessText and BrandColours
|
|
248
|
+
|
|
249
|
+
Add after the LogoBusinessText block and before LogoBusinessBrandColours:
|
|
250
|
+
|
|
251
|
+
```vue
|
|
252
|
+
<LogoKeywords
|
|
253
|
+
v-if="showKeywordsStep && !isAttemptingToExit && currentStep === 4 && uploadedLogoData"
|
|
254
|
+
:progress-label="currentStepProgressLabel"
|
|
255
|
+
:event-category="eventCategory"
|
|
256
|
+
:saved-keywords="savedKeywords"
|
|
257
|
+
:business-name="(savedBusinessText && savedBusinessText.businessText) || ''"
|
|
258
|
+
:template-type="templateType"
|
|
259
|
+
@on-go-back="onGoBackToBusinessText"
|
|
260
|
+
@on-save="onSaveKeywords"
|
|
261
|
+
/>
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
#### 5k. Update template — change BrandColours step condition
|
|
265
|
+
|
|
266
|
+
Change `currentStep === 4` to `currentStep === brandColoursStep`:
|
|
267
|
+
|
|
268
|
+
```vue
|
|
269
|
+
<LogoBusinessBrandColours
|
|
270
|
+
v-if="!isAttemptingToExit && currentStep === brandColoursStep && uploadedLogoData && !isCurrentlySaving"
|
|
271
|
+
...
|
|
272
|
+
@on-go-back="onGoBackFromBrandColours"
|
|
273
|
+
...
|
|
274
|
+
/>
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
#### 5l. Update `reset()` method (lines 290-299)
|
|
278
|
+
|
|
279
|
+
Add:
|
|
280
|
+
```js
|
|
281
|
+
this.savedKeywords = null;
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### 6. Update `UploadYourLogoApplication.vue` wrapper
|
|
285
|
+
|
|
286
|
+
**File**: `src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue`
|
|
287
|
+
|
|
288
|
+
#### 6a. Add pass-through props (after existing props at lines 29-45)
|
|
289
|
+
|
|
290
|
+
```js
|
|
291
|
+
showKeywordsStep: {
|
|
292
|
+
type: Boolean,
|
|
293
|
+
required: false,
|
|
294
|
+
default: false,
|
|
295
|
+
},
|
|
296
|
+
templateType: {
|
|
297
|
+
type: String,
|
|
298
|
+
required: true,
|
|
299
|
+
},
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
Note: `templateType` must be provided by the consumer (fallback/defaulting happens in consumer app config, not in this component).
|
|
303
|
+
|
|
304
|
+
#### 6b. Pass props to `UploadYourLogoOnBoarding` in template
|
|
305
|
+
|
|
306
|
+
Add to the existing `<UploadYourLogoOnBoarding>` tag:
|
|
307
|
+
```vue
|
|
308
|
+
:show-keywords-step="showKeywordsStep"
|
|
309
|
+
:template-type="templateType"
|
|
310
|
+
@on-save-keywords="onSaveKeywords"
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
#### 6c. Add event handler method
|
|
314
|
+
|
|
315
|
+
```js
|
|
316
|
+
onSaveKeywords(payload) {
|
|
317
|
+
this.$emit('on-save-keywords', payload);
|
|
318
|
+
},
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
### 7. Add Storybook story (required)
|
|
322
|
+
|
|
323
|
+
**File**: Create `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.stories.js`
|
|
324
|
+
|
|
325
|
+
Create a story following standard Storybook patterns covering:
|
|
326
|
+
- Loading state (mock delayed API)
|
|
327
|
+
- Populated state (mock successful response with keywords)
|
|
328
|
+
- Empty state (mock failed response)
|
|
329
|
+
- Pre-populated state (savedKeywords prop set)
|
|
330
|
+
|
|
331
|
+
### 8. Publish package
|
|
332
|
+
|
|
333
|
+
After all changes are verified (human release process; **not** a coding-agent task):
|
|
334
|
+
1. Bump package version in `package.json`
|
|
335
|
+
2. Run `npm run bundle-translation` to regenerate i18n bundles
|
|
336
|
+
3. Perform manual validation in Storybook/integration context (no automated test runner in this repo)
|
|
337
|
+
4. Publish the new version of `@designcrowd/fe-shared-lib`
|
|
338
|
+
|
|
339
|
+
---
|
|
340
|
+
|
|
341
|
+
## Step Number Reference Table
|
|
342
|
+
|
|
343
|
+
### When `showKeywordsStep = false` (default, unchanged):
|
|
344
|
+
|
|
345
|
+
| currentStep | Component | Progress Display |
|
|
346
|
+
|---|---|---|
|
|
347
|
+
| 1 | LogoUploader | Step 0 of 4 |
|
|
348
|
+
| 2 | LogoCropper/Preview | Step 1 of 4 |
|
|
349
|
+
| 3 | LogoBusinessText | Step 2 of 4 |
|
|
350
|
+
| 4 | LogoBusinessBrandColours | Step 3 of 4 |
|
|
351
|
+
|
|
352
|
+
### When `showKeywordsStep = true`:
|
|
353
|
+
|
|
354
|
+
| currentStep | Component | Progress Display |
|
|
355
|
+
|---|---|---|
|
|
356
|
+
| 1 | LogoUploader | Step 0 of 5 |
|
|
357
|
+
| 2 | LogoCropper/Preview | Step 1 of 5 |
|
|
358
|
+
| 3 | LogoBusinessText | Step 2 of 5 |
|
|
359
|
+
| **4** | **LogoKeywords (NEW)** | **Step 3 of 5** |
|
|
360
|
+
| 5 | LogoBusinessBrandColours | Step 4 of 5 |
|
|
361
|
+
|
|
362
|
+
Note: The `useDropzone` variant adds step 0 (dropzone) and shifts totals by +1. The same logic applies — `totalNumSteps` handles this via the ternary in `data()`.
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## Files Changed
|
|
367
|
+
|
|
368
|
+
| File | Change |
|
|
369
|
+
|---|---|
|
|
370
|
+
| `src/experiences/constants/api.js` | Add `KEYWORD_SUGGESTIONS_API_URL` |
|
|
371
|
+
| `src/experiences/clients/brand-crowd-api.client.js` | Add `getKeywordSuggestionsAsync` method + export |
|
|
372
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.vue` | **New file** — keywords step component |
|
|
373
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue` | New props, step routing, computed properties, methods, template |
|
|
374
|
+
| `src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue` | Pass-through props + event |
|
|
375
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.json` | Add `keywords`, `keywordsDescription` |
|
|
376
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.de-DE.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
377
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.es-ES.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
378
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-CA.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
379
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.fr-FR.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
380
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-BR.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
381
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.pt-PT.json` | Add `keywords`, `keywordsDescription` (English placeholder) |
|
|
382
|
+
| `src/experiences/components/UploadYourLogoOnBoarding/LogoKeywords.stories.js` | **New file** (required) |
|