scu-web-components 0.0.53 → 0.0.55
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/chunks/{chunk.TYN2P2KN.js → chunk.4O3MKSMB.js} +1 -1
- package/dist/chunks/chunk.4O3MKSMB.js.gz +0 -0
- package/dist/chunks/chunk.APDMSNWD.js +1 -0
- package/dist/chunks/chunk.APDMSNWD.js.gz +0 -0
- package/dist/chunks/chunk.FE6Q4XHS.js +1 -0
- package/dist/chunks/chunk.FE6Q4XHS.js.gz +0 -0
- package/dist/chunks/chunk.THHB3DFF.js +1 -0
- package/dist/chunks/chunk.THHB3DFF.js.gz +0 -0
- package/dist/chunks/{chunk.JXM2F5II.js → chunk.V6ASPMJX.js} +1 -1
- package/dist/chunks/chunk.V6ASPMJX.js.gz +0 -0
- package/dist/chunks/{chunk.FQQRBLN5.js → chunk.Z73LGC4J.js} +1 -1
- package/dist/chunks/chunk.Z73LGC4J.js.gz +0 -0
- package/dist/custom-elements.json +980 -980
- package/dist/custom-elements.json.gz +0 -0
- package/dist/docs/components/manifest.json +48 -48
- package/dist/docs/config.json +3 -3
- package/dist/scw-button/ScwButton.js +1 -1
- package/dist/scw-button/ScwButton.js.gz +0 -0
- package/dist/scw-button/scw-button.js +1 -1
- package/dist/scw-button/scw-button.js.gz +0 -0
- package/dist/scw-card/ScwCard.js +1 -1
- package/dist/scw-card/ScwCard.js.gz +0 -0
- package/dist/scw-card/scw-card.js +1 -1
- package/dist/scw-card/scw-card.js.gz +0 -0
- package/dist/scw-components.js +1 -1
- package/dist/scw-components.js.gz +0 -0
- package/dist/scw-form-component/scw-form-component.js +1 -1
- package/dist/scw-form-component/scw-form-component.js.gz +0 -0
- package/dist/scw-icon/ScwIcon.js +1 -1
- package/dist/scw-icon/ScwIcon.js.gz +0 -0
- package/dist/scw-icon/scw-icon.js +1 -1
- package/dist/scw-icon/scw-icon.js.gz +0 -0
- package/dist/scw-input/scw-input.js +1 -1
- package/dist/scw-input/scw-input.js.gz +0 -0
- package/dist/scw-select/scw-select.js +1 -1
- package/dist/scw-select/scw-select.js.gz +0 -0
- package/dist/scw-single-input/scw-single-input.js +1 -1
- package/dist/scw-single-input/scw-single-input.js.gz +0 -0
- package/dist/scw-textarea/scw-textarea.js +1 -1
- package/dist/scw-textarea/scw-textarea.js.gz +0 -0
- package/dist/scw.js +1 -1
- package/dist/scw.js.gz +0 -0
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +1 -1
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/dist/utils/suffix.js +1 -1
- package/dist/utils/suffix.js.gz +0 -0
- package/dist-node/scw-components.js +1 -1
- package/dist-node/scw-icon/ScwIcon.js +1 -1
- package/dist-node/scw-icon/scw-icon.js +2 -2
- package/dist-node/scw.js +1 -1
- package/package.json +1 -1
- package/scripts/themes.mjs +6 -2
- package/dist/chunks/chunk.666BIQQM.js +0 -1
- package/dist/chunks/chunk.666BIQQM.js.gz +0 -0
- package/dist/chunks/chunk.ALT45ALV.js +0 -1
- package/dist/chunks/chunk.ALT45ALV.js.gz +0 -0
- package/dist/chunks/chunk.FQQRBLN5.js.gz +0 -0
- package/dist/chunks/chunk.JXM2F5II.js.gz +0 -0
- package/dist/chunks/chunk.TJYE5VHV.js +0 -1
- package/dist/chunks/chunk.TJYE5VHV.js.gz +0 -0
- package/dist/chunks/chunk.TYN2P2KN.js.gz +0 -0
- /package/dist/chunks/{chunk.PHOCAD7Y.js → chunk.V4LKG7M5.js} +0 -0
- /package/dist/chunks/{chunk.PHOCAD7Y.js.gz → chunk.V4LKG7M5.js.gz} +0 -0
|
Binary file
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
constructor (config) { // (version, extraCssPromise, assetsUrl, config ) {
|
|
5
5
|
this.tokens = {"COLORS|color":{"primary":{"01":["rgba(28,74,5,1)"],"02":["rgba(41,95,14,1)"],"03":["rgba(52,110,6,1)"],"04":["rgba(63,121,15,1)"],"05":["rgba(75,132,29,1)"],"":["rgba(75,132,29,1)"],"06":["rgba(99,166,10,1)"],"07":["rgba(158,201,101,1)"],"08":["rgba(200,230,160,1)"],"09":["rgba(232,247,212,1)"],"092":["rgba(239,255,223,1)"],"095":["rgba(246,255,237,1)"]},"grey":{"10":["rgba(255,255,255,1)"],"00":["rgba(0,0,0,1)"],"01":["rgba(29,30,32,1)"],"02":["rgba(62,65,67,1)"],"03":["rgba(87,90,93,1)"],"04":["rgba(114,118,122,1)"],"05":["rgba(134,137,140,1)"],"":["rgba(134,137,140,1)"],"06":["rgba(154,158,160,1)"],"07":["rgba(177,180,183,1)"],"08":["rgba(194,197,200,1)"],"09":["rgba(218,220,223,1)"],"092":["rgba(235,238,240,1)"],"095":["rgba(246,247,249,1)"]},"error":{"":["rgba(228,109,114,1)"],"light":["rgba(249,230,230,1)"],"dark":["rgba(158,0,0,1)"]},"warning":{"":["rgba(255,134,66,1)"],"light":["rgba(255,214,191,1)"],"dark":["rgba(128,46,0,1)"]},"success":{"":["rgba(123,209,8,1)"],"light":["rgba(213,233,187,1)"],"dark":["rgba(72,121,6,1)"]},"information":{"":["rgba(252,231,40,1)"],"light":["rgba(255,250,208,1)"],"dark":["rgba(170,153,0,1)"]},"icon":{"":["rgba(1,1,1,1)"]},"secondary":{"":["rgba(87,90,93,1)"]},"mortgage":{"01":["rgba(74,2,57,1)"],"02":["rgba(92,1,75,1)"],"03":["rgba(107,4,83,1)"],"04":["rgba(136,6,105,1)"],"05":["rgba(162,0,125,1)"],"":["rgba(162,0,125,1)"],"06":["rgba(193,64,164,1)"],"07":["rgba(214,121,192,1)"],"08":["rgba(235,169,220,1)"],"09":["rgba(247,220,242,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(253,240,250,1)"]},"investments":{"01":["rgba(15,14,88,1)"],"02":["rgba(37,37,124,1)"],"03":["rgba(52,52,145,1)"],"04":["rgba(65,64,157,1)"],"05":["rgba(85,84,177,1)"],"":["rgba(85,84,177,1)"],"06":["rgba(117,116,195,1)"],"07":["rgba(160,159,219,1)"],"08":["rgba(200,199,237,1)"],"09":["rgba(227,226,248,1)"],"092":["rgba(232,231,249,1)"],"095":["rgba(244,244,255,1)"]},"credit-cards":{"01":["rgba(1,51,77,1)"],"02":["rgba(1,70,106,1)"],"03":["rgba(1,88,132,1)"],"04":["rgba(1,104,157,1)"],"05":["rgba(0,122,185,1)"],"":["rgba(0,122,185,1)"],"06":["rgba(46,147,199,1)"],"07":["rgba(94,173,213,1)"],"08":["rgba(140,197,227,1)"],"09":["rgba(189,224,242,1)"],"092":["rgba(227,241,249,1)"],"095":["rgba(236,249,255,1)"]},"student":{"01":["rgba(1,56,49,1)"],"02":["rgba(0,75,67,1)"],"03":["rgba(0,94,83,1)"],"04":["rgba(0,113,100,1)"],"05":["rgba(0,131,116,1)"],"":["rgba(0,131,116,1)"],"06":["rgba(46,156,143,1)"],"07":["rgba(105,185,176,1)"],"08":["rgba(157,217,211,1)"],"09":["rgba(209,240,237,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(237,253,252,1)"]},"savings":{"01":["rgba(119,33,0,1)"],"02":["rgba(149,41,0,1)"],"03":["rgba(163,46,2,1)"],"04":["rgba(178,51,3,1)"],"05":["rgba(195,75,0,1)"],"":["rgba(195,75,0,1)"],"06":["rgba(230,118,47,1)"],"07":["rgba(242,165,109,1)"],"08":["rgba(250,209,167,1)"],"09":["rgba(255,235,211,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(253,247,239,1)"]},"checking":{"01":["rgba(49,6,67,1)"],"02":["rgba(64,21,83,1)"],"03":["rgba(92,40,114,1)"],"04":["rgba(119,57,145,1)"],"05":["rgba(148,77,178,1)"],"":["rgba(148,77,178,1)"],"06":["rgba(168,108,193,1)"],"07":["rgba(198,151,217,1)"],"08":["rgba(218,187,232,1)"],"09":["rgba(233,213,240,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(249,237,252,1)"]},"red-shoes":{"01":["rgba(90,7,9,1)"],"02":["rgba(117,15,18,1)"],"03":["rgba(143,23,27,1)"],"04":["rgba(171,31,36,1)"],"05":["rgba(201,40,45,1)"],"":["rgba(201,40,45,1)"],"06":["rgba(214,80,84,1)"],"07":["rgba(226,119,121,1)"],"08":["rgba(240,162,164,1)"],"09":["rgba(255,219,220,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(255,240,241,1)"]},"business":{"01":["rgba(83,72,1,1)"],"02":["rgba(111,96,1,1)"],"03":["rgba(141,122,1,1)"],"04":["rgba(168,145,1,1)"],"05":["rgba(199,172,0,1)"],"":["rgba(199,172,0,1)"],"06":["rgba(212,190,46,1)"],"07":["rgba(227,209,98,1)"],"08":["rgba(241,229,149,1)"],"09":["rgba(255,247,197,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(255,251,224,1)"]},"personal":{"01":["rgba(1,40,60,1)"],"02":["rgba(1,59,90,1)"],"03":["rgba(1,80,121,1)"],"04":["rgba(1,99,150,1)"],"05":["rgba(0,122,185,1)"],"":["rgba(0,122,185,1)"],"06":["rgba(48,149,202,1)"],"07":["rgba(100,179,220,1)"],"08":["rgba(154,210,238,1)"],"09":["rgba(202,237,255,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(226,245,255,1)"]},"heloc":{"01":["rgba(41,17,75,1)"],"02":["rgba(56,28,92,1)"],"03":["rgba(76,44,118,1)"],"04":["rgba(101,63,149,1)"],"05":["rgba(128,91,177,1)"],"":["rgba(128,91,177,1)"],"06":["rgba(159,126,201,1)"],"07":["rgba(189,164,221,1)"],"08":["rgba(207,191,229,1)"],"09":["rgba(229,219,244,1)"],"092":["rgba(204,218,222,1)"],"095":["rgba(243,239,252,1)"]}},"TYPOGRAPHY|type":{"text":{"10":["2.5rem","'Proxima Nova'","400","3.045rem","0rem","none"],"09":["1.875rem","'Proxima Nova'","400","2.531rem","0rem","none"],"08":["1.5rem","'Proxima Nova'","400","2.025rem","0rem","none"],"07":["1.25rem","'Proxima Nova'","400","1.688rem","0rem","none"],"06":["1.125rem","'Proxima Nova'","400","1.688rem","0rem","none"],"05":["1rem","'Proxima Nova'","400","1.5rem","0rem","none"],"":["1rem","'Proxima Nova'","400","1.5rem","0rem","none"],"04":["0.875rem","'Proxima Nova'","400","1.313rem","0rem","none"],"03":["0.75rem","'Proxima Nova'","400","0.938rem","0rem","none"],"02":["0.6875rem","'Proxima Nova'","400","0.859rem","0rem","none"],"01":["0.5625rem","'Proxima Nova'","400","0.703rem","0rem","none"]},"text-bold":{"10":["2.5rem","'Proxima Nova'","700","3.375rem","0rem","none"],"09":["1.875rem","'Proxima Nova'","700","2.531rem","0rem","none"],"08":["1.5rem","'Proxima Nova'","700","2.025rem","0rem","none"],"07":["1.25rem","'Proxima Nova'","700","1.688rem","0rem","none"],"06":["1.125rem","'Proxima Nova'","700","1.688rem","0rem","none"],"05":["1rem","'Proxima Nova'","700","1.5rem","0rem","none"],"":["1rem","'Proxima Nova'","700","1.5rem","0rem","none"],"04":["0.875rem","'Proxima Nova'","700","1.313rem","0rem","none"],"03":["0.75rem","'Proxima Nova'","700","0.938rem","0rem","none"],"02":["0.6875rem","'Proxima Nova'","700","0.859rem","0rem","none"],"01":["0.5625rem","'Proxima Nova'","700","0.703rem","0rem","none"]},"text-bold-condensed":{"10":["2.5rem","'Proxima Nova Condensed'","700","3.375rem","0rem","none"],"09":["1.875rem","'Proxima Nova Condensed'","700","2.531rem","0rem","none"],"08":["1.5rem","'Proxima Nova Condensed'","700","2.025rem","0rem","none"],"07":["1.25rem","'Proxima Nova Condensed'","700","1.688rem","0rem","none"],"06":["1.125rem","'Proxima Nova Condensed'","700","1.688rem","0rem","none"],"05":["1rem","'Proxima Nova Condensed'","700","1.5rem","0rem","none"],"":["1rem","'Proxima Nova Condensed'","700","1.5rem","0rem","none"],"04":["0.875rem","'Proxima Nova Condensed'","700","1.313rem","0rem","none"],"03":["0.75rem","'Proxima Nova Condensed'","700","0.938rem","0rem","none"],"02":["0.6875rem","'Proxima Nova Condensed'","700","0.859rem","0rem","none"],"01":["0.5625rem","'Proxima Nova Condensed'","700","0.703rem","0rem","none"]}},"EFFECTS|effect":{"shadow":{"":["0px 0px 8px 0px rgba(0,0,0,0.27)"]},"focus":{"":["0px 0px 0px 2px rgba(53,155,249,1)"]}},"ICONS|icon":{"placeholder":{"svg":[""]},"close":{"svg":[""]},"instagram":{"svg":[""]},"check":{"svg":[""]},"download":{"svg":[""]},"menu":{"svg":[""]},"tester":{"svg":[""]},"linkedin":{"svg":[""]},"facebook":{"svg":[""]},"tiktok":{"svg":[""]},"location":{"svg":[""]},"location-dot":{"svg":[""]},"search":{"svg":[""]},"visible":{"svg":[""]},"hidden":{"svg":[""]},"lock":{"svg":[""]},"edit":{"svg":[""]},"envelope":{"svg":[""]},"external-link":{"svg":[""]},"crosshairs":{"svg":[""]},"message":{"svg":[""]},"minus":{"svg":[""]},"mobile":{"svg":[""]},"pdf":{"svg":[""]},"plus":{"svg":[""]},"chevron-up":{"svg":[""]},"chevron-down":{"svg":[""]},"chevron-left":{"svg":[""]},"chevron-right":{"svg":[""]},"clock":{"svg":[""]},"info":{"svg":[""]},"user":{"svg":[""]},"circle":{"svg":[""]},"code":{"svg":[""]},"print":{"svg":[""]},"slider":{"svg":[""]},"document":{"svg":[""]},"checkbox":{"svg":[""]},"radio":{"svg":[""]},"checkbox-selected":{"svg":[""]},"radio-selected":{"svg":[""]},"checkbox-hover":{"svg":[""]},"radio-hover":{"svg":[""]},"checkbox-selected-hover":{"svg":[""]},"radio-selected-hover":{"svg":[""]},"checkbox-disabled":{"svg":[""]},"radio-disabled":{"svg":[""]},"checkbox-selected-disabled":{"svg":[""]},"radio-selected-disabled":{"svg":[""]},"color-test":{"svg":[""]}},"GRAPHICS|graphic":{"apple-app-store":{"svg":[""],"":["159px","47px"]},"logo":{"svg":[""],"":["143px","64px"]},"ncua":{"svg":[""],"":["108px","50px"]},"ehl":{"svg":[""],"":["53px","53px"]},"google-play-store":{"svg":[""],"":["159px","47px"]}},"LAYOUTS|":{"spacing":{"1":["0.625rem"]},"col":{"1":["8.3333%"]},"colvw":{"1":["8.3333vw"]}},"FONTS|font":{"proxima_nova condensed-700-normal":{"":["Proxima Nova Condensed","font-proxima_nova condensed-700-normal.otf","700","normal"]},"proxima_nova-700-normal":{"":["Proxima Nova","font-proxima_nova-700-normal.otf","700","normal"]},"proxima_nova-300-normal":{"":["Proxima Nova","font-proxima_nova-300-normal.otf","300","normal"]}},"BREAKPOINTS|breakpoint":{"sm":{"":["sm","0px","576px","1"]},"md":{"":["md","0px","768px","2"]},"lg":{"":["lg","0px","992px","3"]},"xlg":{"":["xlg","0px","1200px","4"]}}};
|
|
6
6
|
this.prefix = 'scw';// dynamic
|
|
7
|
-
this.uuid = '
|
|
7
|
+
this.uuid = 'a4420c90-e7d8-450f-92a4-6e0ddbd07bdd';// dynamic
|
|
8
8
|
|
|
9
9
|
this.initialized = false;
|
|
10
10
|
this.lookup;
|
|
Binary file
|
package/dist/utils/suffix.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.THHB3DFF.js";import"../chunks/chunk.V4LKG7M5.js";import"../chunks/chunk.W4CRIA2R.js";import"../chunks/chunk.NBAHMDHF.js";import"../chunks/chunk.G2G2TPJK.js";import"../chunks/chunk.KRGVR4EU.js";export{a as default};
|
package/dist/utils/suffix.js.gz
CHANGED
|
Binary file
|
|
@@ -401,7 +401,7 @@ var m5=Object.create;var P=Object.defineProperty;var $1=Object.getOwnPropertyDes
|
|
|
401
401
|
:host([size="100"]) {
|
|
402
402
|
width: 100px;
|
|
403
403
|
height: 100px;
|
|
404
|
-
}`});var m3={};a(m3,{validationWarnings:()=>R9});var R9,H3=C(()=>{"use strict";R9={ariaLabelWarning:"link without a label",noIconWarning:"could not find the icon"}});import{html as K9}from"lit";import{property as w1,state as P9}from"lit/decorators.js";import{unsafeHTML as F9}from"lit/directives/unsafe-html.js";var j9,_,V3=C(()=>{"use strict";g1();f3();f();g3();b();({validationWarnings:j9}=(H3(),L5(m3))),_=class extends l{constructor(){super();this.size="50";this.colorBackground=!1;this._svgInfo="";this.element="icon"}static get styles(){return[super.styles,u3]}set icon(e){let r=this._icon;this._icon=e,this.requestUpdate("icon",r),this.refreshIcon()}get icon(){return this._icon}connectedCallback(){super.connectedCallback()}refreshIcon(){this.clearWarnings(),
|
|
404
|
+
}`});var m3={};a(m3,{validationWarnings:()=>R9});var R9,H3=C(()=>{"use strict";R9={ariaLabelWarning:"link without a label",noIconWarning:"could not find the icon"}});import{html as K9}from"lit";import{property as w1,state as P9}from"lit/decorators.js";import{unsafeHTML as F9}from"lit/directives/unsafe-html.js";var j9,_,V3=C(()=>{"use strict";g1();f3();f();g3();b();({validationWarnings:j9}=(H3(),L5(m3))),_=class extends l{constructor(){super();this.size="50";this.colorBackground=!1;this._svgInfo="";this.element="icon"}static get styles(){return[super.styles,u3]}set icon(e){let r=this._icon;this._icon=e,this.requestUpdate("icon",r),this.refreshIcon()}get icon(){return this._icon}connectedCallback(){super.connectedCallback()}refreshIcon(){this.clearWarnings(),z(this.icon,e=>{e===!1?this.warn(j9.noIconWarning):this._svgInfo=e})}render(){return K9`
|
|
405
405
|
${F9(this._svgInfo)}
|
|
406
406
|
`}};n([w1({type:String,reflect:!0})],_.prototype,"icon",1),n([w1({type:String,reflect:!0})],_.prototype,"size",2),n([w1({type:Boolean,reflect:!0,attribute:"color-background"})],_.prototype,"colorBackground",2),n([P9()],_.prototype,"_svgInfo",2)});import{css as z9}from"lit-element/lit-element.js";var w3,L3=C(()=>{"use strict";w3=z9`
|
|
407
407
|
:host {
|
|
@@ -123,6 +123,6 @@ var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var m4=Object.
|
|
|
123
123
|
outline: 2px solid red !important;
|
|
124
124
|
}`;var r=class{constructor(e,C){this._element=e,this._callback=C,this.observe()}observe(){if(this.disconnect(),this._element){let e={characterData:!0,childList:!0,attributes:!1,subtree:!0};this._mutationObserver=new MutationObserver(()=>this._callback()),this._mutationObserver.observe(this._element,e)}}disconnect(){!this._mutationObserver||this._mutationObserver.disconnect()}};var a=class extends A2{constructor(){super(...arguments);this.ariaLabel="";this.ariaDisabled="false";this.isLink=!1;this.dynamic=!1;this.element="component"}disconnectedCallback(){super.disconnectedCallback(),this._lightDomMutationObserver&&this._lightDomMutationObserver.disconnect()}firstUpdated(C){super.firstUpdated(C),this.dynamic&&(this._lightDomMutationObserver=new r(this,()=>{this.domMutated()}))}domMutated(){}warn(C){this._lastWarning||(this._lastWarning=C,this.setAttribute("warning",C),this.setAttribute("title",`[ERROR]: ${C}`))}clearWarnings(){this._lastWarning=void 0,this.removeAttribute("warning"),this.removeAttribute("title")}render(){return z2`
|
|
125
125
|
<slot></slot>
|
|
126
|
-
`}};a.styles=v4,H([h({type:String,reflect:!0,attribute:"aria-label"})],a.prototype,"ariaLabel",2),H([h({type:String,attribute:"aria-disabled"})],a.prototype,"ariaDisabled",2),H([h({type:Boolean,reflect:!0,attribute:"is-link"})],a.prototype,"isLink",2),H([h({type:Boolean})],a.prototype,"dynamic",2),H([h({type:String,reflect:!0})],a.prototype,"element",2),H([O2()],a.prototype,"_lastWarning",2);var{validationWarnings:U2}=(u4(),y4(x4)),L=class extends a{constructor(){super();this.size="50";this.colorBackground=!1;this._svgInfo="";this.element="icon"}static get styles(){return[super.styles,f4]}set icon(C){let o=this._icon;this._icon=C,this.requestUpdate("icon",o),this.refreshIcon()}get icon(){return this._icon}connectedCallback(){super.connectedCallback()}refreshIcon(){this.clearWarnings(),
|
|
126
|
+
`}};a.styles=v4,H([h({type:String,reflect:!0,attribute:"aria-label"})],a.prototype,"ariaLabel",2),H([h({type:String,attribute:"aria-disabled"})],a.prototype,"ariaDisabled",2),H([h({type:Boolean,reflect:!0,attribute:"is-link"})],a.prototype,"isLink",2),H([h({type:Boolean})],a.prototype,"dynamic",2),H([h({type:String,reflect:!0})],a.prototype,"element",2),H([O2()],a.prototype,"_lastWarning",2);var{validationWarnings:U2}=(u4(),y4(x4)),L=class extends a{constructor(){super();this.size="50";this.colorBackground=!1;this._svgInfo="";this.element="icon"}static get styles(){return[super.styles,f4]}set icon(C){let o=this._icon;this._icon=C,this.requestUpdate("icon",o),this.refreshIcon()}get icon(){return this._icon}connectedCallback(){super.connectedCallback()}refreshIcon(){this.clearWarnings(),w(this.icon,C=>{C===!1?this.warn(U2.noIconWarning):this._svgInfo=C})}render(){return P2`
|
|
127
127
|
${R2(this._svgInfo)}
|
|
128
128
|
`}};H([M({type:String,reflect:!0})],L.prototype,"icon",1),H([M({type:String,reflect:!0})],L.prototype,"size",2),H([M({type:Boolean,reflect:!0,attribute:"color-background"})],L.prototype,"colorBackground",2),H([$2()],L.prototype,"_svgInfo",2);export{L as default};
|