@creaditor/newsletter-starterkit
Version:
Creaditor Newsletter Editor - Starterkit for creating beautiful email newsletters
34 lines • 1.64 kB
JavaScript
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3794],{83794:(t,i,e)=>{e.r(i),e.d(i,{UndoRedoIcon:()=>d});var h=e(56666),s=e(21293);class d extends s.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return"left"===this.direction?s.dy` <svg
style="${this.iconStyle}"
width="${this.width}"
height="${this.height}"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
>
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M5.828 7l2.536 2.536L6.95 10.95 2 6l4.95-4.95 1.414 1.414L5.828 5H13a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H5.828z"
/>
</svg>`:s.dy`<svg
style="${this.iconStyle}"
width="${this.width}"
height="${this.height}"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
>
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M18.172 7H11a6 6 0 1 0 0 12h9v2h-9a8 8 0 1 1 0-16h7.172l-2.536-2.536L17.05 1.05 22 6l-4.95 4.95-1.414-1.414L18.172 7z"
/>
</svg>`}}(0,h.Z)(d,"styles",s.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,h.Z)(d,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String},direction:{type:String}}),customElements.define("cdtr-undo-redo-icon",d)}}]);