@descope/web-components-ui 1.0.123 → 1.0.124
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[58],{5846:(t,e,o)=>{o.r(e),o.d(e,{LinkClass:()=>u});var r=o(9241),s=o(693),n=o(2138),l=o(2061),i=o(4567);const p=(0,i.iY)("link");class c extends((0,s.s)({componentName:p,baseSelector:":host a"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<style>\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t:host a {\n\t\t\tdisplay: inline
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[58],{5846:(t,e,o)=>{o.r(e),o.d(e,{LinkClass:()=>u});var r=o(9241),s=o(693),n=o(2138),l=o(2061),i=o(4567);const p=(0,i.iY)("link");class c extends((0,s.s)({componentName:p,baseSelector:":host a"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<style>\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t\t:host a {\n\t\t\tdisplay: inline;\n\t\t}\n\t\t</style>\n\t\t<div>\n\t\t\t<descope-text>\n\t\t\t\t<a>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</a>\n\t\t\t</descope-text>\n\t\t</div>\n\t\t",(0,i.oP)(this,this.shadowRoot.querySelector("a"),{includeAttrs:["href","target","tooltip"],mapAttrs:{tooltip:"title"}}),(0,i.oP)(this,this.shadowRoot.querySelector("descope-text"),{includeAttrs:["mode","variant"]})}}const a={host:{selector:()=>":host"},anchor:{},wrapper:{selector:()=>":host > div"},text:{selector:()=>n.k.componentName}},{anchor:d,text:h,host:y,wrapper:m}=a,u=(0,l.qC)((0,r.yk)({mappings:{hostWidth:{...y,property:"width"},textAlign:m,textColor:[{...d,property:"color"},{...h,property:n.k.cssVarList.textColor}],cursor:d,textUnderlineWidth:{...d,property:"border-bottom-width"},textUnderlineStyle:{...d,property:"border-bottom-style"},textUnderlineColor:{...d,property:"border-bottom-color"}}}),r.e4,r.Ae)(c);o(1876),customElements.define(p,u)}}]);
|
package/package.json
CHANGED
@@ -20,15 +20,15 @@ class RawLink extends createBaseClass({ componentName, baseSelector: ':host a' }
|
|
20
20
|
display: inline-block;
|
21
21
|
}
|
22
22
|
:host a {
|
23
|
-
display: inline
|
23
|
+
display: inline;
|
24
24
|
}
|
25
25
|
</style>
|
26
26
|
<div>
|
27
|
-
<
|
28
|
-
<
|
27
|
+
<descope-text>
|
28
|
+
<a>
|
29
29
|
<slot></slot>
|
30
|
-
</
|
31
|
-
</
|
30
|
+
</a>
|
31
|
+
</descope-text>
|
32
32
|
</div>
|
33
33
|
`;
|
34
34
|
|