@purpurds/promotion-card 5.15.1 → 5.16.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/dist/LICENSE.txt +3 -3
- package/dist/promotion-card.cjs.js +1 -1
- package/dist/promotion-card.es.js +56 -56
- package/dist/styles.css +1 -1
- package/package.json +10 -10
- package/src/promotion-card.module.scss +24 -17
package/dist/LICENSE.txt
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
Name: @purpurds/badge
|
|
2
|
-
Version: 5.
|
|
2
|
+
Version: 5.16.0
|
|
3
3
|
License: AGPL-3.0-only
|
|
4
4
|
Private: false
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Name: @purpurds/card
|
|
9
|
-
Version: 5.
|
|
9
|
+
Version: 5.16.0
|
|
10
10
|
License: AGPL-3.0-only
|
|
11
11
|
Private: false
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
Name: @purpurds/heading
|
|
16
|
-
Version: 5.
|
|
16
|
+
Version: 5.16.0
|
|
17
17
|
License: AGPL-3.0-only
|
|
18
18
|
Private: false
|
|
19
19
|
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
Copyright (c) 2018 Jed Watson.
|
|
39
39
|
Licensed under the MIT License (MIT), see
|
|
40
40
|
http://jedwatson.github.io/classnames
|
|
41
|
-
*/(function(e){(function(){var o={}.hasOwnProperty;function a(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=l(r,n.call(this,i)))}return r}function n(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)o.call(r,i)&&r[i]&&(t=l(t,this&&this[i]||i));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(a.default=a,e.exports=a):window.classNames=a})()})(fr);var ht=fr.exports;const gt=ft(ht),mt={"purpur-promotion-card":"_purpur-promotion-card_1u1no_1","purpur-promotion-card--without-image":"_purpur-promotion-card--without-image_1u1no_8","purpur-promotion-card--with-image":"_purpur-promotion-card--with-image_1u1no_30","purpur-promotion-card__card":"_purpur-promotion-card__card_1u1no_42","purpur-promotion-card__image-gradient":"_purpur-promotion-card__image-gradient_1u1no_46","purpur-promotion-card__content":"_purpur-promotion-card__content_1u1no_62","purpur-promotion-card__content--without-image":"_purpur-promotion-card__content--without-image_1u1no_72","purpur-promotion-card__main-content":"_purpur-promotion-card__main-content_1u1no_75","purpur-promotion-card__heading":"_purpur-promotion-card__heading_1u1no_79","purpur-promotion-card__content--with-image":"_purpur-promotion-card__content--with-image_1u1no_84","purpur-promotion-card__badge-wrapper":"_purpur-promotion-card__badge-wrapper_1u1no_95","purpur-promotion-card__body":"_purpur-promotion-card__body_1u1no_99","purpur-promotion-card__image-wrapper":"_purpur-promotion-card__image-wrapper_1u1no_122","purpur-promotion-card__image-wrapper--decorative":"_purpur-promotion-card__image-wrapper--decorative_1u1no_125","purpur-promotion-card__image-wrapper--product":"_purpur-promotion-card__image-wrapper--product_1u1no_126"},vt=["primary","secondary","quaternary"],yt={primary:"var(--purpur-color-background-tone-on-tone-primary)",secondary:"var(--purpur-color-background-tone-on-tone-secondary)",quaternary:"var(--purpur-color-background-tone-on-tone-quaternary)"},xt={primary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,secondary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},wt={primary:"var(--purpur-color-text-tone-on-tone-primary)",secondary:"var(--purpur-color-text-tone-on-tone-secondary)",quaternary:"var(--purpur-color-text-tone-on-tone-tertiary)"},_=gt.bind(mt),u="purpur-promotion-card",hr=({["data-testid"]:e,variant:o="primary",badgeText:a,badgeIcon:n,title:l,titleTag:r="h2",titleVariant:t="title-300",enableTitleHyphenation:i=!0,className:d,children:C,style:j,...c})=>{let O=c,h,$;if("decorativeImage"in c){const{hasGradient:b,decorativeImage:S,...N}=c;h=S,$=b,O=N}else if("productImage"in c){const{hasGradient:b,productImage:S,...N}=c;h=S,$=b,O=N}else if("hasGradient"in c){const{hasGradient:b,...S}=c;$=b,O=S}const gr={"--promotion-card-background":yt[o],"--promotion-card-color":wt[o],"--promotion-card-background-image":xt[o]};return p.jsx(v,{className:_(`${u}__card`),children:p.jsxs("div",{"data-testid":e,style:{...gr,...j},className:_([d,u,`${u}--${o}`,{[`${u}--with-image`]:h,[`${u}--without-image`]:!h}]),...O,children:[p.jsxs("div",{className:_([`${u}__content`,{[`${u}__content--with-image`]:h,[`${u}__content--without-image`]:!h}]),children:[a&&p.jsx("div",{"data-testid":"badgeWrapper",className:_(`${u}__badge-wrapper`),children:p.jsxs(Ur,{variant:o==="primary"?"special":"attention",showIcon:!1,children:[n&&n,a]})}),p.jsxs("div",{className:_(`${u}__main-content`),children:[p.jsx(_r,{tag:r,variant:t,enableHyphenation:i,className:_(`${u}__heading`),children:l}),p.jsx("div",{className:_(`${u}__body`),children:C})]})]}),h&&p.jsxs("div",{className:_([`${u}__image-wrapper`,{[`${u}__image-wrapper--product`]:"productImage"in c,[`${u}__image-wrapper--decorative`]:"decorativeImage"in c}]),children:[h,$&&p.jsx("div",{className:_(`${u}__image-gradient`),"data-testid":"promotion-card-gradient"})]})]})})};hr.displayName="PromotionCard";exports.PromotionCard=hr;exports.promotionCardVariants=vt;
|
|
41
|
+
*/(function(e){(function(){var o={}.hasOwnProperty;function a(){for(var r="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(r=l(r,n.call(this,i)))}return r}function n(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var t="";for(var i in r)o.call(r,i)&&r[i]&&(t=l(t,this&&this[i]||i));return t}function l(r,t){return t?r?r+" "+t:r+t:r}e.exports?(a.default=a,e.exports=a):window.classNames=a})()})(fr);var ht=fr.exports;const gt=ft(ht),mt={"purpur-promotion-card":"_purpur-promotion-card_1vt4e_1","purpur-promotion-card--without-image":"_purpur-promotion-card--without-image_1vt4e_8","purpur-promotion-card__content":"_purpur-promotion-card__content_1vt4e_8","purpur-promotion-card--with-image":"_purpur-promotion-card--with-image_1vt4e_33","purpur-promotion-card__card":"_purpur-promotion-card__card_1vt4e_45","purpur-promotion-card__image-gradient":"_purpur-promotion-card__image-gradient_1vt4e_49","purpur-promotion-card__content--without-image":"_purpur-promotion-card__content--without-image_1vt4e_75","purpur-promotion-card__main-content":"_purpur-promotion-card__main-content_1vt4e_78","purpur-promotion-card__heading":"_purpur-promotion-card__heading_1vt4e_82","purpur-promotion-card__content--with-image":"_purpur-promotion-card__content--with-image_1vt4e_87","purpur-promotion-card__badge-wrapper":"_purpur-promotion-card__badge-wrapper_1vt4e_98","purpur-promotion-card__body":"_purpur-promotion-card__body_1vt4e_102","purpur-promotion-card__image-wrapper":"_purpur-promotion-card__image-wrapper_1vt4e_125","purpur-promotion-card__image-wrapper--decorative":"_purpur-promotion-card__image-wrapper--decorative_1vt4e_128","purpur-promotion-card__image-wrapper--product":"_purpur-promotion-card__image-wrapper--product_1vt4e_129"},vt=["primary","secondary","quaternary"],yt={primary:"var(--purpur-color-background-tone-on-tone-primary)",secondary:"var(--purpur-color-background-tone-on-tone-secondary)",quaternary:"var(--purpur-color-background-tone-on-tone-quaternary)"},xt={primary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,secondary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},wt={primary:"var(--purpur-color-text-tone-on-tone-primary)",secondary:"var(--purpur-color-text-tone-on-tone-secondary)",quaternary:"var(--purpur-color-text-tone-on-tone-tertiary)"},_=gt.bind(mt),u="purpur-promotion-card",hr=({["data-testid"]:e,variant:o="primary",badgeText:a,badgeIcon:n,title:l,titleTag:r="h2",titleVariant:t="title-300",enableTitleHyphenation:i=!0,className:d,children:C,style:j,...c})=>{let O=c,h,$;if("decorativeImage"in c){const{hasGradient:b,decorativeImage:S,...N}=c;h=S,$=b,O=N}else if("productImage"in c){const{hasGradient:b,productImage:S,...N}=c;h=S,$=b,O=N}else if("hasGradient"in c){const{hasGradient:b,...S}=c;$=b,O=S}const gr={"--promotion-card-background":yt[o],"--promotion-card-color":wt[o],"--promotion-card-background-image":xt[o]};return p.jsx(v,{className:_(`${u}__card`),children:p.jsxs("div",{"data-testid":e,style:{...gr,...j},className:_([d,u,`${u}--${o}`,{[`${u}--with-image`]:h,[`${u}--without-image`]:!h}]),...O,children:[p.jsxs("div",{className:_([`${u}__content`,{[`${u}__content--with-image`]:h,[`${u}__content--without-image`]:!h}]),children:[a&&p.jsx("div",{"data-testid":"badgeWrapper",className:_(`${u}__badge-wrapper`),children:p.jsxs(Ur,{variant:o==="primary"?"special":"attention",showIcon:!1,children:[n&&n,a]})}),p.jsxs("div",{className:_(`${u}__main-content`),children:[p.jsx(_r,{tag:r,variant:t,enableHyphenation:i,className:_(`${u}__heading`),children:l}),p.jsx("div",{className:_(`${u}__body`),children:C})]})]}),h&&p.jsxs("div",{className:_([`${u}__image-wrapper`,{[`${u}__image-wrapper--product`]:"productImage"in c,[`${u}__image-wrapper--decorative`]:"decorativeImage"in c}]),children:[h,$&&p.jsx("div",{className:_(`${u}__image-gradient`),"data-testid":"promotion-card-gradient"})]})]})})};hr.displayName="PromotionCard";exports.PromotionCard=hr;exports.promotionCardVariants=vt;
|
|
42
42
|
//# sourceMappingURL=promotion-card.cjs.js.map
|
|
@@ -833,15 +833,15 @@ const Q = /* @__PURE__ */ Pe(ze), He = "_rotate_1xozj_1", Ve = "_dash_1xozj_1",
|
|
|
833
833
|
}
|
|
834
834
|
), Qe = {
|
|
835
835
|
"purpur-card-overline": "_purpur-card-overline_142el_1"
|
|
836
|
-
},
|
|
836
|
+
}, rt = f.bind(Qe), et = "purpur-card-overline", tt = ({
|
|
837
837
|
["data-testid"]: e = "purpur-card-overline",
|
|
838
838
|
overline: o
|
|
839
|
-
}) => o ? /* @__PURE__ */ l(q, { className:
|
|
839
|
+
}) => o ? /* @__PURE__ */ l(q, { className: rt(et), "data-testid": e, children: o }) : null, at = {
|
|
840
840
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
841
841
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
842
842
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
843
843
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
844
|
-
},
|
|
844
|
+
}, ot = {
|
|
845
845
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
846
846
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
847
847
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
@@ -855,16 +855,16 @@ function x() {
|
|
|
855
855
|
return e;
|
|
856
856
|
}, x.apply(null, arguments);
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function it(e, o) {
|
|
859
859
|
typeof e == "function" ? e(o) : e != null && (e.current = o);
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function nt(...e) {
|
|
862
862
|
return (o) => e.forEach(
|
|
863
|
-
(a) =>
|
|
863
|
+
(a) => it(a, o)
|
|
864
864
|
);
|
|
865
865
|
}
|
|
866
866
|
const hr = /* @__PURE__ */ M((e, o) => {
|
|
867
|
-
const { children: a, ...n } = e, p = O.toArray(a), r = p.find(
|
|
867
|
+
const { children: a, ...n } = e, p = O.toArray(a), r = p.find(lt);
|
|
868
868
|
if (r) {
|
|
869
869
|
const t = r.props.children, i = p.map((u) => u === r ? O.count(t) > 1 ? O.only(null) : /* @__PURE__ */ I(t) ? t.props.children : null : u);
|
|
870
870
|
return /* @__PURE__ */ $(j, x({}, n, {
|
|
@@ -879,16 +879,16 @@ hr.displayName = "Slot";
|
|
|
879
879
|
const j = /* @__PURE__ */ M((e, o) => {
|
|
880
880
|
const { children: a, ...n } = e;
|
|
881
881
|
return /* @__PURE__ */ I(a) ? /* @__PURE__ */ ar(a, {
|
|
882
|
-
...
|
|
883
|
-
ref: o ?
|
|
882
|
+
...st(n, a.props),
|
|
883
|
+
ref: o ? nt(o, a.ref) : a.ref
|
|
884
884
|
}) : O.count(a) > 1 ? O.only(null) : null;
|
|
885
885
|
});
|
|
886
886
|
j.displayName = "SlotClone";
|
|
887
|
-
const
|
|
888
|
-
function
|
|
889
|
-
return /* @__PURE__ */ I(e) && e.type ===
|
|
887
|
+
const pt = ({ children: e }) => /* @__PURE__ */ $(Cr, null, e);
|
|
888
|
+
function lt(e) {
|
|
889
|
+
return /* @__PURE__ */ I(e) && e.type === pt;
|
|
890
890
|
}
|
|
891
|
-
function
|
|
891
|
+
function st(e, o) {
|
|
892
892
|
const a = {
|
|
893
893
|
...o
|
|
894
894
|
};
|
|
@@ -909,7 +909,7 @@ function s0(e, o) {
|
|
|
909
909
|
...a
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
|
-
const
|
|
912
|
+
const ut = [
|
|
913
913
|
"a",
|
|
914
914
|
"button",
|
|
915
915
|
"div",
|
|
@@ -926,7 +926,7 @@ const u0 = [
|
|
|
926
926
|
"span",
|
|
927
927
|
"svg",
|
|
928
928
|
"ul"
|
|
929
|
-
],
|
|
929
|
+
], dt = ut.reduce((e, o) => {
|
|
930
930
|
const a = /* @__PURE__ */ M((n, p) => {
|
|
931
931
|
const { asChild: r, ...t } = n, i = r ? hr : o;
|
|
932
932
|
return xr(() => {
|
|
@@ -939,7 +939,7 @@ const u0 = [
|
|
|
939
939
|
...e,
|
|
940
940
|
[o]: a
|
|
941
941
|
};
|
|
942
|
-
}, {}),
|
|
942
|
+
}, {}), ct = /* @__PURE__ */ M((e, o) => /* @__PURE__ */ $(dt.span, x({}, e, {
|
|
943
943
|
ref: o,
|
|
944
944
|
style: {
|
|
945
945
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -955,12 +955,12 @@ const u0 = [
|
|
|
955
955
|
wordWrap: "normal",
|
|
956
956
|
...e.style
|
|
957
957
|
}
|
|
958
|
-
}))),
|
|
958
|
+
}))), _t = ct, rr = ({
|
|
959
959
|
asChild: e,
|
|
960
960
|
children: o,
|
|
961
961
|
className: a = "",
|
|
962
962
|
["data-testid"]: n
|
|
963
|
-
}) => /* @__PURE__ */ l(
|
|
963
|
+
}) => /* @__PURE__ */ l(_t, { asChild: e, "data-testid": n, className: a, children: o }), er = f.bind(ot), y = "purpur-card-trigger-item", ft = ({
|
|
964
964
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
965
965
|
disabled: o = !1,
|
|
966
966
|
href: a,
|
|
@@ -1005,7 +1005,7 @@ const u0 = [
|
|
|
1005
1005
|
children: /* @__PURE__ */ l(rr, { children: p })
|
|
1006
1006
|
}
|
|
1007
1007
|
);
|
|
1008
|
-
},
|
|
1008
|
+
}, ht = f.bind(at), L = "purpur-card-root", gr = M(
|
|
1009
1009
|
({
|
|
1010
1010
|
["data-testid"]: e = "purpur-card-root",
|
|
1011
1011
|
children: o,
|
|
@@ -1018,7 +1018,7 @@ const u0 = [
|
|
|
1018
1018
|
variant: u,
|
|
1019
1019
|
...C
|
|
1020
1020
|
}, U) => {
|
|
1021
|
-
const d =
|
|
1021
|
+
const d = ht([
|
|
1022
1022
|
L,
|
|
1023
1023
|
a,
|
|
1024
1024
|
{
|
|
@@ -1029,7 +1029,7 @@ const u0 = [
|
|
|
1029
1029
|
return /* @__PURE__ */ _("div", { className: d, "data-testid": e, ref: U, ...C, children: [
|
|
1030
1030
|
o,
|
|
1031
1031
|
(t || r) && i && /* @__PURE__ */ l(
|
|
1032
|
-
|
|
1032
|
+
ft,
|
|
1033
1033
|
{
|
|
1034
1034
|
disabled: n,
|
|
1035
1035
|
href: r,
|
|
@@ -1057,9 +1057,9 @@ v.LinkArrow = Je;
|
|
|
1057
1057
|
v.Content = be;
|
|
1058
1058
|
v.ContentContainer = Fe;
|
|
1059
1059
|
v.FeatureList = Te;
|
|
1060
|
-
v.Overline =
|
|
1060
|
+
v.Overline = tt;
|
|
1061
1061
|
v.displayName = "Card";
|
|
1062
|
-
function
|
|
1062
|
+
function gt(e) {
|
|
1063
1063
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1064
1064
|
}
|
|
1065
1065
|
var mr = { exports: {} };
|
|
@@ -1098,8 +1098,8 @@ var mr = { exports: {} };
|
|
|
1098
1098
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1099
1099
|
})();
|
|
1100
1100
|
})(mr);
|
|
1101
|
-
var
|
|
1102
|
-
const
|
|
1101
|
+
var mt = mr.exports;
|
|
1102
|
+
const vt = /* @__PURE__ */ gt(mt), G = {
|
|
1103
1103
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1104
1104
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1105
1105
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1115,7 +1115,7 @@ const v0 = /* @__PURE__ */ g0(m0), G = {
|
|
|
1115
1115
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1116
1116
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1117
1117
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1118
|
-
},
|
|
1118
|
+
}, yt = {
|
|
1119
1119
|
TITLE100: "title-100",
|
|
1120
1120
|
TITLE200: "title-200",
|
|
1121
1121
|
TITLE300: "title-300",
|
|
@@ -1131,10 +1131,10 @@ const v0 = /* @__PURE__ */ g0(m0), G = {
|
|
|
1131
1131
|
enableHyphenation: n = !1,
|
|
1132
1132
|
negative: p = !1,
|
|
1133
1133
|
tag: r,
|
|
1134
|
-
variant: t =
|
|
1134
|
+
variant: t = yt.TITLE100,
|
|
1135
1135
|
...i
|
|
1136
1136
|
}) => {
|
|
1137
|
-
const u = r, C =
|
|
1137
|
+
const u = r, C = vt([
|
|
1138
1138
|
a,
|
|
1139
1139
|
G[Z],
|
|
1140
1140
|
G[`${Z}--${t}`],
|
|
@@ -1146,7 +1146,7 @@ const v0 = /* @__PURE__ */ g0(m0), G = {
|
|
|
1146
1146
|
return /* @__PURE__ */ l(u, { ...i, className: C, "data-testid": e, children: o });
|
|
1147
1147
|
};
|
|
1148
1148
|
vr.displayName = "Heading";
|
|
1149
|
-
function
|
|
1149
|
+
function wt(e) {
|
|
1150
1150
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1151
1151
|
}
|
|
1152
1152
|
var yr = { exports: {} };
|
|
@@ -1185,36 +1185,36 @@ var yr = { exports: {} };
|
|
|
1185
1185
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1186
1186
|
})();
|
|
1187
1187
|
})(yr);
|
|
1188
|
-
var
|
|
1189
|
-
const
|
|
1190
|
-
"purpur-promotion-card": "_purpur-promotion-
|
|
1191
|
-
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-
|
|
1192
|
-
"purpur-promotion-
|
|
1193
|
-
"purpur-promotion-
|
|
1194
|
-
"purpur-promotion-
|
|
1195
|
-
"purpur-promotion-
|
|
1196
|
-
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-
|
|
1197
|
-
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-
|
|
1198
|
-
"purpur-promotion-card__heading": "_purpur-promotion-
|
|
1199
|
-
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-
|
|
1200
|
-
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-
|
|
1201
|
-
"purpur-promotion-card__body": "_purpur-promotion-
|
|
1202
|
-
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-
|
|
1203
|
-
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--
|
|
1204
|
-
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--
|
|
1205
|
-
},
|
|
1188
|
+
var xt = yr.exports;
|
|
1189
|
+
const Ct = /* @__PURE__ */ wt(xt), bt = {
|
|
1190
|
+
"purpur-promotion-card": "_purpur-promotion-card_1vt4e_1",
|
|
1191
|
+
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1vt4e_8",
|
|
1192
|
+
"purpur-promotion-card__content": "_purpur-promotion-card__content_1vt4e_8",
|
|
1193
|
+
"purpur-promotion-card--with-image": "_purpur-promotion-card--with-image_1vt4e_33",
|
|
1194
|
+
"purpur-promotion-card__card": "_purpur-promotion-card__card_1vt4e_45",
|
|
1195
|
+
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-gradient_1vt4e_49",
|
|
1196
|
+
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-image_1vt4e_75",
|
|
1197
|
+
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-content_1vt4e_78",
|
|
1198
|
+
"purpur-promotion-card__heading": "_purpur-promotion-card__heading_1vt4e_82",
|
|
1199
|
+
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-image_1vt4e_87",
|
|
1200
|
+
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-wrapper_1vt4e_98",
|
|
1201
|
+
"purpur-promotion-card__body": "_purpur-promotion-card__body_1vt4e_102",
|
|
1202
|
+
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1vt4e_125",
|
|
1203
|
+
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1vt4e_128",
|
|
1204
|
+
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1vt4e_129"
|
|
1205
|
+
}, Mt = ["primary", "secondary", "quaternary"], St = {
|
|
1206
1206
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1207
1207
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1208
1208
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1209
|
-
},
|
|
1209
|
+
}, At = {
|
|
1210
1210
|
primary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1211
1211
|
secondary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1212
1212
|
quaternary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`
|
|
1213
|
-
},
|
|
1213
|
+
}, Ft = {
|
|
1214
1214
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1215
1215
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1216
1216
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1217
|
-
}, c =
|
|
1217
|
+
}, c = Ct.bind(bt), s = "purpur-promotion-card", kt = ({
|
|
1218
1218
|
["data-testid"]: e,
|
|
1219
1219
|
variant: o = "primary",
|
|
1220
1220
|
badgeText: a,
|
|
@@ -1240,9 +1240,9 @@ const C0 = /* @__PURE__ */ w0(x0), b0 = {
|
|
|
1240
1240
|
N = b, E = S;
|
|
1241
1241
|
}
|
|
1242
1242
|
const wr = {
|
|
1243
|
-
"--promotion-card-background":
|
|
1244
|
-
"--promotion-card-color":
|
|
1245
|
-
"--promotion-card-background-image":
|
|
1243
|
+
"--promotion-card-background": St[o],
|
|
1244
|
+
"--promotion-card-color": Ft[o],
|
|
1245
|
+
"--promotion-card-background-image": At[o]
|
|
1246
1246
|
};
|
|
1247
1247
|
return /* @__PURE__ */ l(v, { className: c(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1248
1248
|
"div",
|
|
@@ -1320,9 +1320,9 @@ const C0 = /* @__PURE__ */ w0(x0), b0 = {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
) });
|
|
1322
1322
|
};
|
|
1323
|
-
|
|
1323
|
+
kt.displayName = "PromotionCard";
|
|
1324
1324
|
export {
|
|
1325
|
-
|
|
1326
|
-
|
|
1325
|
+
kt as PromotionCard,
|
|
1326
|
+
Mt as promotionCardVariants
|
|
1327
1327
|
};
|
|
1328
1328
|
//# sourceMappingURL=promotion-card.es.js.map
|
package/dist/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._purpur-promotion-
|
|
1
|
+
._purpur-promotion-card_1vt4e_1{position:relative;width:100%;height:100%;color:var(--promotion-card-color);box-sizing:border-box}._purpur-promotion-card--without-image_1vt4e_8 ._purpur-promotion-card__content_1vt4e_8{position:relative;z-index:1}._purpur-promotion-card--without-image_1vt4e_8:before{content:"";position:absolute;width:100%;height:100%;background-color:var(--promotion-card-background);background-image:var(--promotion-card-background-image);background-position:right 50% center;background-size:cover;transform:rotateY(180deg)}@container promotion-card (min-width: 600px){._purpur-promotion-card--without-image_1vt4e_8:before{background-position:center center}}@container promotion-card (min-width: 1024px){._purpur-promotion-card--without-image_1vt4e_8:before{transform:rotateY(0)}}._purpur-promotion-card--with-image_1vt4e_33{display:grid;grid-template-areas:"image" "body";grid-template-rows:auto 1fr;background:var(--promotion-card-background)}@container promotion-card (min-width: 600px){._purpur-promotion-card--with-image_1vt4e_33{grid-template-areas:"body image";grid-template-columns:repeat(2,1fr)}}._purpur-promotion-card__card_1vt4e_45{container:promotion-card/inline-size;height:100%}._purpur-promotion-card__image-gradient_1vt4e_49{position:absolute;bottom:0;width:100%;height:100%;background:linear-gradient(0,var(--promotion-card-background),transparent 75%)}@container promotion-card (min-width: 600px){._purpur-promotion-card__image-gradient_1vt4e_49{left:0;top:0;width:100%;height:100%;background:linear-gradient(90deg,var(--promotion-card-background),transparent 75%)}}._purpur-promotion-card__content_1vt4e_8{grid-area:body;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:var(--purpur-spacing-400);box-sizing:border-box}@container promotion-card (min-width: 1024px){._purpur-promotion-card__content--without-image_1vt4e_75{padding:var(--purpur-spacing-600)}._purpur-promotion-card__content--without-image_1vt4e_75 ._purpur-promotion-card__main-content_1vt4e_78{display:flex;gap:var(--purpur-spacing-300)}._purpur-promotion-card__content--without-image_1vt4e_75 ._purpur-promotion-card__heading_1vt4e_82{width:100%}}@container promotion-card (min-width: 600px){._purpur-promotion-card__content--with-image_1vt4e_87{flex-direction:column;justify-content:center;padding:var(--purpur-spacing-600) var(--purpur-spacing-400)}}@container promotion-card (min-width: 1024px){._purpur-promotion-card__content--with-image_1vt4e_87{padding:var(--purpur-spacing-1200) var(--purpur-spacing-600)}}._purpur-promotion-card__badge-wrapper_1vt4e_98{width:100%;padding-bottom:var(--purpur-spacing-200)}._purpur-promotion-card__heading_1vt4e_82,._purpur-promotion-card__body_1vt4e_102{width:100%}._purpur-promotion-card__heading_1vt4e_82{margin-bottom:var(--purpur-spacing-150);color:var(--promotion-card-color)}._purpur-promotion-card__body_1vt4e_102{display:flex;flex-direction:column}._purpur-promotion-card__body_1vt4e_102,._purpur-promotion-card__body_1vt4e_102 p,._purpur-promotion-card__body_1vt4e_102 h1,._purpur-promotion-card__body_1vt4e_102 h2,._purpur-promotion-card__body_1vt4e_102 h3,._purpur-promotion-card__body_1vt4e_102 h4,._purpur-promotion-card__body_1vt4e_102 h5,._purpur-promotion-card__body_1vt4e_102 h6,._purpur-promotion-card__body_1vt4e_102 ul,._purpur-promotion-card__body_1vt4e_102 ol{color:var(--promotion-card-color)}._purpur-promotion-card__image-wrapper_1vt4e_125{grid-area:image}._purpur-promotion-card__image-wrapper--decorative_1vt4e_128 picture,._purpur-promotion-card__image-wrapper--decorative_1vt4e_128 img,._purpur-promotion-card__image-wrapper--product_1vt4e_129 picture,._purpur-promotion-card__image-wrapper--product_1vt4e_129 img{display:block;width:100%;height:auto}._purpur-promotion-card__image-wrapper--decorative_1vt4e_128 img,._purpur-promotion-card__image-wrapper--product_1vt4e_129 img{object-fit:cover}._purpur-promotion-card__image-wrapper--decorative_1vt4e_128{position:relative;width:100%;aspect-ratio:3/2}@container promotion-card (min-width: 600px){._purpur-promotion-card__image-wrapper--decorative_1vt4e_128{aspect-ratio:unset}._purpur-promotion-card__image-wrapper--decorative_1vt4e_128 img{height:100%}}._purpur-promotion-card__image-wrapper--product_1vt4e_129{display:flex;justify-content:center;align-items:center;padding:var(--purpur-spacing-400)}._purpur-promotion-card_1vt4e_1 [class*=_purpur-cta-link_],._purpur-promotion-card_1vt4e_1 [class*=_purpur-button_]{width:100%}@container promotion-card (min-width: 600px){._purpur-promotion-card_1vt4e_1 [class*=_purpur-cta-link_],._purpur-promotion-card_1vt4e_1 [class*=_purpur-button_]{width:auto}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purpurds/promotion-card",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.16.1",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"main": "./dist/promotion-card.cjs.js",
|
|
6
6
|
"types": "./dist/promotion-card.d.ts",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"source": "src/promotion-card.tsx",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"classnames": "~2.5.0",
|
|
19
|
-
"@purpurds/badge": "5.
|
|
20
|
-
"@purpurds/
|
|
21
|
-
"@purpurds/
|
|
22
|
-
"@purpurds/
|
|
23
|
-
"@purpurds/
|
|
19
|
+
"@purpurds/badge": "5.16.1",
|
|
20
|
+
"@purpurds/heading": "5.16.1",
|
|
21
|
+
"@purpurds/icon": "5.16.1",
|
|
22
|
+
"@purpurds/tokens": "5.16.1",
|
|
23
|
+
"@purpurds/card": "5.16.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@rushstack/eslint-patch": "~1.10.0",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"typescript": "^5.5.4",
|
|
45
45
|
"vite": "5.3.4",
|
|
46
46
|
"vitest": "~1.5.0",
|
|
47
|
-
"@purpurds/cta-link": "5.15.1",
|
|
48
47
|
"@purpurds/component-rig": "1.0.0",
|
|
49
|
-
"@purpurds/
|
|
50
|
-
"@purpurds/paragraph": "5.
|
|
51
|
-
"@purpurds/text-spacing": "5.
|
|
48
|
+
"@purpurds/cta-link": "5.16.1",
|
|
49
|
+
"@purpurds/paragraph": "5.16.1",
|
|
50
|
+
"@purpurds/text-spacing": "5.16.1",
|
|
51
|
+
"@purpurds/grid": "5.16.1"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build:dev": "vite",
|
|
@@ -9,24 +9,30 @@
|
|
|
9
9
|
color: var(--promotion-card-color);
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
|
|
12
|
-
&--without-image
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 100%;
|
|
18
|
-
background-color: var(--promotion-card-background);
|
|
19
|
-
background-image: var(--promotion-card-background-image);
|
|
20
|
-
background-position: right 50% center;
|
|
21
|
-
background-size: cover;
|
|
22
|
-
transform: rotateY(180deg);
|
|
23
|
-
|
|
24
|
-
@container promotion-card (min-width: #{$purpur-breakpoint-md}) {
|
|
25
|
-
background-position: center center;
|
|
12
|
+
&--without-image {
|
|
13
|
+
#{$root}__content {
|
|
14
|
+
position: relative;
|
|
15
|
+
z-index: 1;
|
|
26
16
|
}
|
|
27
17
|
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
&::before {
|
|
19
|
+
content: "";
|
|
20
|
+
position: absolute;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
background-color: var(--promotion-card-background);
|
|
24
|
+
background-image: var(--promotion-card-background-image);
|
|
25
|
+
background-position: right 50% center;
|
|
26
|
+
background-size: cover;
|
|
27
|
+
transform: rotateY(180deg);
|
|
28
|
+
|
|
29
|
+
@container promotion-card (min-width: #{$purpur-breakpoint-md}) {
|
|
30
|
+
background-position: center center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@container promotion-card (min-width: #{$purpur-breakpoint-lg}) {
|
|
34
|
+
transform: rotateY(0);
|
|
35
|
+
}
|
|
30
36
|
}
|
|
31
37
|
}
|
|
32
38
|
|
|
@@ -138,6 +144,7 @@
|
|
|
138
144
|
|
|
139
145
|
&--decorative,
|
|
140
146
|
&--product {
|
|
147
|
+
|
|
141
148
|
picture,
|
|
142
149
|
img {
|
|
143
150
|
display: block;
|
|
@@ -180,4 +187,4 @@
|
|
|
180
187
|
width: auto;
|
|
181
188
|
}
|
|
182
189
|
}
|
|
183
|
-
}
|
|
190
|
+
}
|