UNPKG

@creaditor/newsletter-starterkit

Version:

Creaditor Newsletter Editor - Starterkit for creating beautiful email newsletters

73 lines 2.4 kB
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[5978],{25978:(e,t,i)=>{i.r(t),i.d(t,{BoxShadowIcon:()=>s});var r=i(56666),o=i(21293);class s extends o.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return o.dy`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" .style=${this.iconStyle} xmlns="http://www.w3.org/2000/svg" > <g filter="url(#filter0_d_314_32)"> <rect x="4.5" y="2.5" width="23" height="23" stroke="black" shape-rendering="crispEdges" /> </g> <defs> <filter id="filter0_d_314_32" x="0" y="0" width="30" height="30" 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" /> <feMorphology radius="1" operator="dilate" in="SourceAlpha" result="effect1_dropShadow_314_32" /> <feOffset dx="-1" dy="1" /> <feGaussianBlur stdDeviation="1" /> <feComposite in2="hardAlpha" operator="out" /> <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" /> <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_314_32" /> <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_314_32" result="shape" /> </filter> </defs> </svg> `}}(0,r.Z)(s,"styles",o.iv` :host { display: inherit; --cdtr-icon-width: 20px; --cdtr-icon-height: 20px; } svg { width: var(--cdtr-icon-width); height: var(--cdtr-icon-height); color: var(--cdtr-icon-color); } `),(0,r.Z)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-box-shadow-icon",s)}}]);