@designcrowd/fe-shared-lib 1.5.27 → 1.5.28-ast-jy-2

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.
Files changed (174) hide show
  1. package/.claude/skills/new-icon/SKILL.md +121 -0
  2. package/dist/css/tailwind-brandCrowd.css +10 -113
  3. package/dist/css/tailwind-brandPage.css +10 -109
  4. package/dist/css/tailwind-crazyDomains.css +10 -113
  5. package/dist/css/tailwind-designCom.css +10 -113
  6. package/dist/css/tailwind-designCrowd.css +10 -113
  7. package/package.json +1 -1
  8. package/public/css/tailwind-brandCrowd.css +14 -18
  9. package/public/css/tailwind-brandPage.css +14 -10
  10. package/public/css/tailwind-crazyDomains.css +14 -18
  11. package/public/css/tailwind-designCom.css +14 -18
  12. package/public/css/tailwind-designCrowd.css +14 -18
  13. package/src/atoms/components/Icon/Icon.stories.js +3 -0
  14. package/src/atoms/components/Icon/Icon.vue +6 -0
  15. package/src/atoms/components/Icon/icons/discount-badge.vue +5 -0
  16. package/src/atoms/components/Icon/icons/home-outline.vue +6 -0
  17. package/src/atoms/components/Icon/icons/page-blank.vue +6 -0
  18. package/src/bundles/bundled-translations.de-DE.json +3 -1
  19. package/src/bundles/bundled-translations.es-ES.json +3 -1
  20. package/src/bundles/bundled-translations.fr-CA.json +3 -1
  21. package/src/bundles/bundled-translations.fr-FR.json +3 -1
  22. package/src/bundles/bundled-translations.json +3 -1
  23. package/src/bundles/bundled-translations.pt-BR.json +3 -1
  24. package/src/bundles/bundled-translations.pt-PT.json +3 -1
  25. package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +10 -0
  26. package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +20 -0
  27. package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +48 -0
  28. package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +9 -1
  29. package/src/experiences/components/PaymentConfigList/PaymentConfigUpgradeBanner.vue +68 -0
  30. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.de-DE.json +3 -1
  31. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.es-ES.json +3 -1
  32. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-CA.json +3 -1
  33. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-FR.json +3 -1
  34. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.json +3 -1
  35. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-BR.json +3 -1
  36. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-PT.json +3 -1
  37. package/.storybook-static/assets/Auth-BEjq1pFf.css +0 -1
  38. package/.storybook-static/assets/Auth.stories-6JyBk-uq.js +0 -490
  39. package/.storybook-static/assets/AuthCrazyDomains.stories-DM4RpsMO.js +0 -73
  40. package/.storybook-static/assets/Button-BkoQdoaq.css +0 -1
  41. package/.storybook-static/assets/Button-DUOSTNbh.js +0 -1
  42. package/.storybook-static/assets/ButtonGroup-DDPXuhxR.css +0 -1
  43. package/.storybook-static/assets/ButtonGroup.stories-DYoET5Zw.js +0 -504
  44. package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +0 -1
  45. package/.storybook-static/assets/ButtonPrimary-C1HLT2L3.js +0 -1
  46. package/.storybook-static/assets/Buttons.stories-aTFEest4.js +0 -761
  47. package/.storybook-static/assets/ButtonsCrazyDomains.stories-BDEdg2Ki.js +0 -199
  48. package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +0 -1
  49. package/.storybook-static/assets/Checkbox.stories-CA6Ke9oy.js +0 -246
  50. package/.storybook-static/assets/Checktile.stories-DAvOuYro.js +0 -88
  51. package/.storybook-static/assets/CollapsiblePanel.stories-Dn1XwwpU.js +0 -56
  52. package/.storybook-static/assets/ColorPicker.stories-DTkwaAKN.js +0 -73
  53. package/.storybook-static/assets/CopyToClipboardText.stories-CYAv-s36.js +0 -32
  54. package/.storybook-static/assets/Dropdown.stories-hHlWTMpq.js +0 -159
  55. package/.storybook-static/assets/DropdownItem-BIPkoata.js +0 -1
  56. package/.storybook-static/assets/DropdownItem-BV-BdThU.css +0 -1
  57. package/.storybook-static/assets/FormControl.mixin-Z8ORnl4_.js +0 -1
  58. package/.storybook-static/assets/HashRouteModal.stories-t0ZML3rG.js +0 -64
  59. package/.storybook-static/assets/HelloBar-YB27gvZE.js +0 -1
  60. package/.storybook-static/assets/HelloBar.stories-D4kmUZop.js +0 -342
  61. package/.storybook-static/assets/Icon-BKxOWZPO.js +0 -145
  62. package/.storybook-static/assets/Icon.stories-BqE4TmG1.js +0 -151
  63. package/.storybook-static/assets/Icon.stories-Fv8jSyX3.js +0 -791
  64. package/.storybook-static/assets/Loader-DLZpiqG9.js +0 -1
  65. package/.storybook-static/assets/LogoBusinessBrandColours-CeAaMKke.css +0 -1
  66. package/.storybook-static/assets/LogoBusinessBrandColours-CnS5MYDX.js +0 -1
  67. package/.storybook-static/assets/LogoBusinessBrandColours.stories-QdrZqhMQ.js +0 -36
  68. package/.storybook-static/assets/Masonry-C2MNiGg0.css +0 -1
  69. package/.storybook-static/assets/Masonry.stories-CYO67z8l.js +0 -71
  70. package/.storybook-static/assets/Modal-CGwEIF5R.css +0 -1
  71. package/.storybook-static/assets/Modal-DWDuRSAE.js +0 -1
  72. package/.storybook-static/assets/Modal.stories-uhl_4yGf.js +0 -345
  73. package/.storybook-static/assets/Notice.stories-BP3l1NFU.js +0 -222
  74. package/.storybook-static/assets/NumberStepper-Blffv09R.css +0 -1
  75. package/.storybook-static/assets/NumberStepper.stories-BeUZfA-C.js +0 -64
  76. package/.storybook-static/assets/PaymentConfigList-BpUMV6cp.css +0 -1
  77. package/.storybook-static/assets/PaymentConfigList.stories-CVHxg1ka.js +0 -130
  78. package/.storybook-static/assets/Picture-CPyaAiI1.js +0 -1
  79. package/.storybook-static/assets/Picture.stories-BdQ6Koo2.js +0 -119
  80. package/.storybook-static/assets/Pill-CpGZCb39.js +0 -1
  81. package/.storybook-static/assets/Pill.stories-BVDivYOY.js +0 -18
  82. package/.storybook-static/assets/PillBar-os4mJV3M.css +0 -1
  83. package/.storybook-static/assets/PillBar.stories-Dgp2DDmF.js +0 -41
  84. package/.storybook-static/assets/Price-BBo_v_DU.js +0 -1
  85. package/.storybook-static/assets/Price.stories-JstP9L09.js +0 -358
  86. package/.storybook-static/assets/PromoCard.stories-CWKGBEKG.js +0 -299
  87. package/.storybook-static/assets/PublishBrandPageModal-Q9-mNG1q.css +0 -1
  88. package/.storybook-static/assets/PublishBrandPageModal.stories-CYEZ4ls2.js +0 -324
  89. package/.storybook-static/assets/SearchBar.stories-CfVmuWji.js +0 -12
  90. package/.storybook-static/assets/Select-Dw-zvSUg.css +0 -1
  91. package/.storybook-static/assets/Select.stories-EdNZQHYu.js +0 -108
  92. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +0 -1
  93. package/.storybook-static/assets/SellDomainNameListModal-C7mOVElo.js +0 -1
  94. package/.storybook-static/assets/SellDomainNameListModal-DH6khE10.css +0 -1
  95. package/.storybook-static/assets/SellDomainNameListModal.stories-DFwSK3G7.js +0 -71
  96. package/.storybook-static/assets/SellDomainNameListSearchResult-Cpxq0jDA.css +0 -1
  97. package/.storybook-static/assets/SellDomainNameListSearchResult-Cx22LEIX.js +0 -1
  98. package/.storybook-static/assets/SellDomainNameSearchWithResults-DFzBhj00.js +0 -1
  99. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-DKGuPPpj.js +0 -37
  100. package/.storybook-static/assets/SellDomainNameWidget.stories-DNnX4xt_.js +0 -36
  101. package/.storybook-static/assets/SignIn-CE_SoJx-.css +0 -1
  102. package/.storybook-static/assets/SignIn-IL0CRcdp.js +0 -1
  103. package/.storybook-static/assets/Slider-Cog2FFdj.css +0 -1
  104. package/.storybook-static/assets/Slider.stories-CMJ5ugMO.js +0 -141
  105. package/.storybook-static/assets/SparkleIcon.stories-BZksmQE5.js +0 -547
  106. package/.storybook-static/assets/StarRating-BtKh7pzm.css +0 -1
  107. package/.storybook-static/assets/StarRating.stories-ChJp556v.js +0 -45
  108. package/.storybook-static/assets/TabMenu.stories-wiuV4LXX.js +0 -47
  109. package/.storybook-static/assets/TextCopyField-Dzv5HIy6.js +0 -1
  110. package/.storybook-static/assets/TextCopyField.stories-CijK8qce.js +0 -47
  111. package/.storybook-static/assets/TextInput-BHzkiJOm.js +0 -1
  112. package/.storybook-static/assets/TextInput.stories-58ZMik7R.js +0 -233
  113. package/.storybook-static/assets/Textarea.stories-JRiJv3-v.js +0 -207
  114. package/.storybook-static/assets/Toggle.stories-CTp5mIN9.js +0 -161
  115. package/.storybook-static/assets/Tooltip-BhRZYr7B.js +0 -1
  116. package/.storybook-static/assets/Tooltip-DyXIgFQH.css +0 -1
  117. package/.storybook-static/assets/Tooltip.stories-DEHShenH.js +0 -953
  118. package/.storybook-static/assets/UploadYourLogoApplication-nGy7BMKH.css +0 -9
  119. package/.storybook-static/assets/UploadYourLogoApplication.stories-Cdk8mmFd.js +0 -194
  120. package/.storybook-static/assets/UploadYourLogoDropzone-BoFs5oM3.js +0 -24
  121. package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +0 -1
  122. package/.storybook-static/assets/UploadYourLogoDropzone.stories-BVr13-q9.js +0 -55
  123. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-BUMq40yJ.js +0 -79
  124. package/.storybook-static/assets/WebsiteContextualUpgradeModal-BaDRNoWw.css +0 -1
  125. package/.storybook-static/assets/WebsiteContextualUpgradeModal.stories-DsIAXVdb.js +0 -211
  126. package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +0 -1
  127. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
  128. package/.storybook-static/assets/api-lSJGRrF2.js +0 -1
  129. package/.storybook-static/assets/axe-CVuRbXyi.js +0 -30
  130. package/.storybook-static/assets/brand-crowd-api.client-BI9zXww7.js +0 -1
  131. package/.storybook-static/assets/bundled-translations-BoWhEDU_.js +0 -1
  132. package/.storybook-static/assets/bundled-translations.de-DE-C4lqla4O.js +0 -1
  133. package/.storybook-static/assets/bundled-translations.es-ES-BxMIllUH.js +0 -1
  134. package/.storybook-static/assets/bundled-translations.fr-CA-MxZpyz0w.js +0 -1
  135. package/.storybook-static/assets/bundled-translations.fr-FR-N7UPCZVr.js +0 -1
  136. package/.storybook-static/assets/bundled-translations.pt-BR-C8tscYuG.js +0 -1
  137. package/.storybook-static/assets/bundled-translations.pt-PT-Dszj5Xfa.js +0 -1
  138. package/.storybook-static/assets/carousel-BelyIYOK.css +0 -1
  139. package/.storybook-static/assets/carousel.stories-IeFZNB6E.js +0 -668
  140. package/.storybook-static/assets/event-constants-CMO9VQVu.js +0 -1
  141. package/.storybook-static/assets/iframe-Dd7cBPzL.js +0 -1126
  142. package/.storybook-static/assets/index-Bz4la0P9.js +0 -6
  143. package/.storybook-static/assets/index-_aBqSnL8.js +0 -29
  144. package/.storybook-static/assets/matchers-7Z3WT2CE-OIiPHzXs.js +0 -14
  145. package/.storybook-static/assets/mediaQueryMixin-CISNqd93.js +0 -1
  146. package/.storybook-static/assets/tracking-ATsLLehC.js +0 -1
  147. package/.storybook-static/css/tailwind-brandCrowd.css +0 -2508
  148. package/.storybook-static/css/tailwind-brandPage.css +0 -2188
  149. package/.storybook-static/css/tailwind-crazyDomains.css +0 -2508
  150. package/.storybook-static/css/tailwind-designCom.css +0 -2508
  151. package/.storybook-static/css/tailwind-designCrowd.css +0 -2508
  152. package/.storybook-static/favicon.svg +0 -1
  153. package/.storybook-static/iframe.html +0 -694
  154. package/.storybook-static/index.html +0 -156
  155. package/.storybook-static/index.json +0 -1
  156. package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  157. package/.storybook-static/nunito-sans-bold.woff2 +0 -0
  158. package/.storybook-static/nunito-sans-italic.woff2 +0 -0
  159. package/.storybook-static/nunito-sans-regular.woff2 +0 -0
  160. package/.storybook-static/project.json +0 -1
  161. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +0 -5
  162. package/.storybook-static/sb-addons/links-2/manager-bundle.js +0 -3
  163. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
  164. package/.storybook-static/sb-addons/themes-3/manager-bundle.js +0 -3
  165. package/.storybook-static/sb-common-assets/favicon.svg +0 -1
  166. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  167. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  168. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  169. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  170. package/.storybook-static/sb-manager/globals-module-info.js +0 -797
  171. package/.storybook-static/sb-manager/globals-runtime.js +0 -72062
  172. package/.storybook-static/sb-manager/globals.js +0 -34
  173. package/.storybook-static/sb-manager/runtime.js +0 -13002
  174. package/.vscode/settings.json +0 -2
@@ -1,299 +0,0 @@
1
- import{d as W,q as m,c as q,e as o,b as a,h as H,t as u,o as V}from"./iframe-Dd7cBPzL.js";import{B as N}from"./mediaQueryMixin-CISNqd93.js";import{B as A}from"./Button-DUOSTNbh.js";import"./ButtonPrimary-C1HLT2L3.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Icon-BKxOWZPO.js";const E=["src","alt"],j={class:"tw-font-bold tw-text-black tw-mb-0.5"},t=W({__name:"PromoCard",props:{title:{type:String,required:!0},description:{type:String,required:!0},imageUrl:{type:String,required:!0},altText:{type:String,default:""},buttonLabel:{type:String,required:!0},horizontalLayout:{type:Boolean,default:!1},shouldShowImageOnTop:{type:Boolean,default:!1},textLineClamp:{type:Number,default:0}},emits:["button-clicked"],setup(e,{emit:O}){const c=e,U=O,F=()=>U("button-clicked"),M=m(()=>c.textLineClamp>0?`tw-line-clamp-${c.textLineClamp}`:"tw-line-clamp-none"),D=m(()=>!(c.horizontalLayout&&window.innerWidth>=N.SMALL));return(G,R)=>(V(),q("div",{class:a(["tw-flex",e.shouldShowImageOnTop?"tw-flex-col":"tw-flex-row"])},[o("div",{class:a(["tw-flex tw-justify-center tw-items-center tw-bg-grayscale-400 tw-w-60 tw-p-1 dcom-rounded-tl dcom-rounded-bl",{"tw-w-full tw-px-8 md:tw-px-12 lg:tw-px-20 tw-py-4":e.shouldShowImageOnTop,"tw-px-4":!e.shouldShowImageOnTop}])},[o("img",{class:"tw-w-full",src:e.imageUrl,alt:e.altText},null,8,E)],2),o("div",{class:a(["tw-flex tw-bg-white tw-w-full tw-p-4 tw-grow dcom-rounded-tr dcom-rounded-br tw-flex-col tw-justify-between",{"sm:tw-flex-row sm:tw-items-center":e.horizontalLayout}])},[o("div",{class:a(["tw-text-left tw-overflow-hidden tw-text-ellipsis tw-text-base",M.value])},[o("div",j,u(e.title),1),o("p",null,u(e.description),1)],2),H(A,{variant:"primary",size:"small","full-width":D.value,class:a(["tw-text-left tw-mt-4",e.horizontalLayout?"tw-w-full tw-mr-2 sm:tw-mt-0 sm:tw-ml-2 sm:tw-w-auto":""]),label:e.buttonLabel,onOnClick:F},null,8,["full-width","class","label"])],2)],2))}});t.__docgenInfo={exportName:"default",displayName:"PromoCard",description:"",tags:{},props:[{name:"title",type:{name:"string"},required:!0},{name:"description",type:{name:"string"},required:!0},{name:"imageUrl",type:{name:"string"},required:!0},{name:"altText",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"buttonLabel",type:{name:"string"},required:!0},{name:"horizontalLayout",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"shouldShowImageOnTop",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"textLineClamp",type:{name:"number"},defaultValue:{func:!1,value:"0"}}],events:[{name:"button-clicked"}],sourceFiles:["/Users/kristianbonitz/Repos/fe-shared-lib/src/atoms/components/PromoCard/PromoCard.vue"]};const Z={title:"Components/PromoCard",component:t},n={render:e=>({components:{PromoCard:t},setup(){return{args:e}},template:`
2
- <PromoCard
3
- v-bind="args"
4
- @button-clicked="handleButtonClick"
5
- />
6
- `,methods:{handleButtonClick(){console.log("Button clicked!")}}}),args:{title:"Special Offer",description:"Get 20% off your next purchase. Limited time offer!",imageUrl:"https://bcassetcdn.com/assets/images/promo/legalzoom-symbol.svg",altText:"Promotional image",buttonLabel:"Learn More",horizontalLayout:!1,shouldShowImageOnTop:!1}},r={render:e=>({components:{PromoCard:t},setup(){return{args:e}},template:`
7
- <PromoCard
8
- v-bind="args"
9
- @button-clicked="handleButtonClick"
10
- />
11
- `,methods:{handleButtonClick(){console.log("Button clicked!")}}}),args:{title:"Premium Package",description:"Upgrade to premium and unlock exclusive features today.",imageUrl:"https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png",altText:"Premium package image",buttonLabel:"Upgrade Now",horizontalLayout:!0,scaleImageDown:!1,imageWidthFull:!1,shouldShowImageOnTop:!1}},l={render:e=>({components:{PromoCard:t},setup(){return{args:e}},template:`
12
- <PromoCard
13
- v-bind="args"
14
- @button-clicked="handleButtonClick"
15
- />
16
- `,methods:{handleButtonClick(){console.log("Button clicked!")}}}),args:{title:"Mobile Friendly",description:"This layout works great on mobile devices with the image displayed on top.",imageUrl:"https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png",altText:"Mobile friendly layout",buttonLabel:"Try It",horizontalLayout:!1,scaleImageDown:!1,imageWidthFull:!1,shouldShowImageOnTop:!0}},s={render:e=>({components:{PromoCard:t},setup(){return{args:e}},template:`
17
- <PromoCard
18
- v-bind="args"
19
- @button-clicked="handleButtonClick"
20
- />
21
- `,methods:{handleButtonClick(){console.log("Button clicked!")}}}),args:{title:"Logo Showcase",description:"Display your logo with proper spacing and scaling.",imageUrl:"https://via.placeholder.com/120x120",altText:"Logo showcase",buttonLabel:"View More",horizontalLayout:!1,scaleImageDown:!0,imageWidthFull:!1,shouldShowImageOnTop:!1}},i={render:e=>({components:{PromoCard:t},setup(){return{args:e}},template:`
22
- <PromoCard
23
- v-bind="args"
24
- @button-clicked="handleButtonClick"
25
- />
26
- `,methods:{handleButtonClick(){console.log("Button clicked!")}}}),args:{title:"Full Width Banner",description:"Images that stretch to fill the available space.",imageUrl:"https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png",altText:"Full width banner",buttonLabel:"Explore",horizontalLayout:!1,scaleImageDown:!1,imageWidthFull:!0,shouldShowImageOnTop:!1}},d={render:e=>({components:{PromoCard:t},setup(){return{args:e}},template:`
27
- <div class="tw-space-y-4">
28
- <div>
29
- <h3 class="tw-mb-2 tw-font-bold">Standard Layout</h3>
30
- <PromoCard
31
- title="Standard Promo"
32
- description="This is the default vertical layout with image on the left."
33
- imageUrl="https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png"
34
- altText="Standard layout"
35
- buttonLabel="Click Me"
36
- @button-clicked="handleButtonClick"
37
- />
38
- </div>
39
-
40
- <div>
41
- <h3 class="tw-mb-2 tw-font-bold">Horizontal Layout</h3>
42
- <PromoCard
43
- title="Horizontal Promo"
44
- description="This layout is better for desktop with content side by side."
45
- imageUrl="https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png"
46
- altText="Horizontal layout"
47
- buttonLabel="Click Me"
48
- :horizontal-layout="true"
49
- @button-clicked="handleButtonClick"
50
- />
51
- </div>
52
-
53
- <div>
54
- <h3 class="tw-mb-2 tw-font-bold">Image On Top</h3>
55
- <PromoCard
56
- title="Mobile Optimized"
57
- description="Perfect for mobile views with image stacked on top."
58
- imageUrl="https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png"
59
- altText="Image on top"
60
- buttonLabel="Click Me"
61
- :should-show-image-on-top="true"
62
- @button-clicked="handleButtonClick"
63
- />
64
- </div>
65
- </div>
66
- `,methods:{handleButtonClick(){console.log("Button clicked!")}}}),args:{}};n.story={name:"PromoCard - Standard"};r.story={name:"PromoCard - Horizontal Layout"};l.story={name:"PromoCard - Image On Top"};s.story={name:"PromoCard - Scaled Down Image"};i.story={name:"PromoCard - Full Width Image"};d.story={name:"PromoCard - All Variants"};var p,g,h;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{
67
- render: args => {
68
- return {
69
- components: {
70
- PromoCard
71
- },
72
- setup() {
73
- return {
74
- args
75
- };
76
- },
77
- template: \`
78
- <PromoCard
79
- v-bind="args"
80
- @button-clicked="handleButtonClick"
81
- />
82
- \`,
83
- methods: {
84
- handleButtonClick() {
85
- console.log('Button clicked!');
86
- }
87
- }
88
- };
89
- },
90
- args: {
91
- title: 'Special Offer',
92
- description: 'Get 20% off your next purchase. Limited time offer!',
93
- imageUrl: 'https://bcassetcdn.com/assets/images/promo/legalzoom-symbol.svg',
94
- altText: 'Promotional image',
95
- buttonLabel: 'Learn More',
96
- horizontalLayout: false,
97
- shouldShowImageOnTop: false
98
- }
99
- }`,...(h=(g=n.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var b,w,f;r.parameters={...r.parameters,docs:{...(b=r.parameters)==null?void 0:b.docs,source:{originalSource:`{
100
- render: args => {
101
- return {
102
- components: {
103
- PromoCard
104
- },
105
- setup() {
106
- return {
107
- args
108
- };
109
- },
110
- template: \`
111
- <PromoCard
112
- v-bind="args"
113
- @button-clicked="handleButtonClick"
114
- />
115
- \`,
116
- methods: {
117
- handleButtonClick() {
118
- console.log('Button clicked!');
119
- }
120
- }
121
- };
122
- },
123
- args: {
124
- title: 'Premium Package',
125
- description: 'Upgrade to premium and unlock exclusive features today.',
126
- imageUrl: 'https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png',
127
- altText: 'Premium package image',
128
- buttonLabel: 'Upgrade Now',
129
- horizontalLayout: true,
130
- scaleImageDown: false,
131
- imageWidthFull: false,
132
- shouldShowImageOnTop: false
133
- }
134
- }`,...(f=(w=r.parameters)==null?void 0:w.docs)==null?void 0:f.source}}};var y,C,k;l.parameters={...l.parameters,docs:{...(y=l.parameters)==null?void 0:y.docs,source:{originalSource:`{
135
- render: args => {
136
- return {
137
- components: {
138
- PromoCard
139
- },
140
- setup() {
141
- return {
142
- args
143
- };
144
- },
145
- template: \`
146
- <PromoCard
147
- v-bind="args"
148
- @button-clicked="handleButtonClick"
149
- />
150
- \`,
151
- methods: {
152
- handleButtonClick() {
153
- console.log('Button clicked!');
154
- }
155
- }
156
- };
157
- },
158
- args: {
159
- title: 'Mobile Friendly',
160
- description: 'This layout works great on mobile devices with the image displayed on top.',
161
- imageUrl: 'https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png',
162
- altText: 'Mobile friendly layout',
163
- buttonLabel: 'Try It',
164
- horizontalLayout: false,
165
- scaleImageDown: false,
166
- imageWidthFull: false,
167
- shouldShowImageOnTop: true
168
- }
169
- }`,...(k=(C=l.parameters)==null?void 0:C.docs)==null?void 0:k.source}}};var v,L,P;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{
170
- render: args => {
171
- return {
172
- components: {
173
- PromoCard
174
- },
175
- setup() {
176
- return {
177
- args
178
- };
179
- },
180
- template: \`
181
- <PromoCard
182
- v-bind="args"
183
- @button-clicked="handleButtonClick"
184
- />
185
- \`,
186
- methods: {
187
- handleButtonClick() {
188
- console.log('Button clicked!');
189
- }
190
- }
191
- };
192
- },
193
- args: {
194
- title: 'Logo Showcase',
195
- description: 'Display your logo with proper spacing and scaling.',
196
- imageUrl: 'https://via.placeholder.com/120x120',
197
- altText: 'Logo showcase',
198
- buttonLabel: 'View More',
199
- horizontalLayout: false,
200
- scaleImageDown: true,
201
- imageWidthFull: false,
202
- shouldShowImageOnTop: false
203
- }
204
- }`,...(P=(L=s.parameters)==null?void 0:L.docs)==null?void 0:P.source}}};var B,x,T;i.parameters={...i.parameters,docs:{...(B=i.parameters)==null?void 0:B.docs,source:{originalSource:`{
205
- render: args => {
206
- return {
207
- components: {
208
- PromoCard
209
- },
210
- setup() {
211
- return {
212
- args
213
- };
214
- },
215
- template: \`
216
- <PromoCard
217
- v-bind="args"
218
- @button-clicked="handleButtonClick"
219
- />
220
- \`,
221
- methods: {
222
- handleButtonClick() {
223
- console.log('Button clicked!');
224
- }
225
- }
226
- };
227
- },
228
- args: {
229
- title: 'Full Width Banner',
230
- description: 'Images that stretch to fill the available space.',
231
- imageUrl: 'https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png',
232
- altText: 'Full width banner',
233
- buttonLabel: 'Explore',
234
- horizontalLayout: false,
235
- scaleImageDown: false,
236
- imageWidthFull: true,
237
- shouldShowImageOnTop: false
238
- }
239
- }`,...(T=(x=i.parameters)==null?void 0:x.docs)==null?void 0:T.source}}};var S,I,z;d.parameters={...d.parameters,docs:{...(S=d.parameters)==null?void 0:S.docs,source:{originalSource:`{
240
- render: args => {
241
- return {
242
- components: {
243
- PromoCard
244
- },
245
- setup() {
246
- return {
247
- args
248
- };
249
- },
250
- template: \`
251
- <div class="tw-space-y-4">
252
- <div>
253
- <h3 class="tw-mb-2 tw-font-bold">Standard Layout</h3>
254
- <PromoCard
255
- title="Standard Promo"
256
- description="This is the default vertical layout with image on the left."
257
- imageUrl="https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png"
258
- altText="Standard layout"
259
- buttonLabel="Click Me"
260
- @button-clicked="handleButtonClick"
261
- />
262
- </div>
263
-
264
- <div>
265
- <h3 class="tw-mb-2 tw-font-bold">Horizontal Layout</h3>
266
- <PromoCard
267
- title="Horizontal Promo"
268
- description="This layout is better for desktop with content side by side."
269
- imageUrl="https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png"
270
- altText="Horizontal layout"
271
- buttonLabel="Click Me"
272
- :horizontal-layout="true"
273
- @button-clicked="handleButtonClick"
274
- />
275
- </div>
276
-
277
- <div>
278
- <h3 class="tw-mb-2 tw-font-bold">Image On Top</h3>
279
- <PromoCard
280
- title="Mobile Optimized"
281
- description="Perfect for mobile views with image stacked on top."
282
- imageUrl="https://bcassetcdn.com/assets/images/promo/brandpage-design-support.png"
283
- altText="Image on top"
284
- buttonLabel="Click Me"
285
- :should-show-image-on-top="true"
286
- @button-clicked="handleButtonClick"
287
- />
288
- </div>
289
- </div>
290
- \`,
291
- methods: {
292
- handleButtonClick() {
293
- console.log('Button clicked!');
294
- }
295
- }
296
- };
297
- },
298
- args: {}
299
- }`,...(z=(I=d.parameters)==null?void 0:I.docs)==null?void 0:z.source}}};const _=["Standard","HorizontalLayout","ImageOnTop","ScaledDownImage","FullWidthImage","AllOptions"];export{d as AllOptions,i as FullWidthImage,r as HorizontalLayout,l as ImageOnTop,s as ScaledDownImage,n as Standard,_ as __namedExportsOrder,Z as default};
@@ -1 +0,0 @@
1
- @media(max-width:640px){.desktop-cta[data-v-76a233f5]{display:none;width:100%}}@media(min-width:640px){.mobile-cta[data-v-76a233f5]{display:none;width:100%}}@media(max-width:640px){[data-v-70e87ecf] .publish-bp--modal{max-height:90vh;width:90vw}}@media(min-width:640px){[data-v-70e87ecf] .publish-bp--modal{max-height:80vh;width:90vw}}