@creaditor/newsletter-starterkit
Version:
Creaditor Newsletter Editor - Starterkit for creating beautiful email newsletters
36 lines • 2.01 kB
JavaScript
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[6046],{76046:(t,e,i)=>{i.r(e),i.d(e,{HeartIcon:()=>o});var r=i(56666),s=i(21293);class o extends s.oi{constructor(){super(),this.iconStyle="",this.width="18"}render(){return this.full?s.dy` <svg
style="${this.iconStyle}"
width="${this.width}"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"
></path>
</svg>`:s.dy`<svg
style="${this.iconStyle}"
width="${this.width}"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M458.4 64.3C400.6 15.7 311.3 23 256 79.3 200.7 23 111.4 15.6 53.6 64.3-21.6 127.6-10.6 230.8 43 285.5l175.4 178.7c10 10.2 23.4 15.9 37.6 15.9 14.3 0 27.6-5.6 37.6-15.8L469 285.6c53.5-54.7 64.7-157.9-10.6-221.3zm-23.6 187.5L259.4 430.5c-2.4 2.4-4.4 2.4-6.8 0L77.2 251.8c-36.5-37.2-43.9-107.6 7.3-150.7 38.9-32.7 98.9-27.8 136.5 10.5l35 35.7 35-35.7c37.8-38.5 97.8-43.2 136.5-10.6 51.1 43.1 43.5 113.9 7.3 150.8z"
></path>
</svg>`}}(0,r.Z)(o,"styles",s.iv`
:host {
display:inherit;
--cdtr-icon-width: 18px;
--cdtr-icon-height: 15px;
}
svg {
width: var(--cdtr-icon-width);
height: var(--cdtr-icon-height);
fill: var(--cdtr-icon-color);
}
`),(0,r.Z)(o,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String},full:{type:Boolean}}),customElements.define("cdtr-heart-icon",o)}}]);