@descope/web-components-ui 1.0.132 → 1.0.133
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +5 -8
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-link/LinkClass.js +5 -4
- package/src/theme/components/link.js +0 -4
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[58],{5846:(t,e,o)=>{o.r(e),o.d(e,{LinkClass:()=>
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[58],{5846:(t,e,o)=>{o.r(e),o.d(e,{LinkClass:()=>k});var s=o(9241),n=o(693),r=o(2138),i=o(2061),a=o(4567);const c=(0,a.iY)("link");class l extends((0,n.s)({componentName:c,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\ttext-decoration: none;\n\t\t}\n\t\t:host a:hover {\n\t\t\ttext-decoration: underline;\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,a.oP)(this,this.shadowRoot.querySelector("a"),{includeAttrs:["href","target","tooltip"],mapAttrs:{tooltip:"title"}}),(0,a.oP)(this,this.shadowRoot.querySelector("descope-text"),{includeAttrs:["mode","variant"]})}}const p={host:{selector:()=>":host"},anchor:{},wrapper:{selector:()=>":host > div"},text:{selector:()=>r.k.componentName}},{anchor:h,text:d,host:u,wrapper:x}=p,k=(0,i.qC)((0,s.yk)({mappings:{hostWidth:{...u,property:"width"},textAlign:x,textColor:[{...h,property:"color"},{...d,property:r.k.cssVarList.textColor}],cursor:h}}),s.e4,s.Ae)(l);o(1876),customElements.define(c,k)}}]);
|
package/package.json
CHANGED
@@ -21,6 +21,10 @@ class RawLink extends createBaseClass({ componentName, baseSelector: ':host a' }
|
|
21
21
|
}
|
22
22
|
:host a {
|
23
23
|
display: inline;
|
24
|
+
text-decoration: none;
|
25
|
+
}
|
26
|
+
:host a:hover {
|
27
|
+
text-decoration: underline;
|
24
28
|
}
|
25
29
|
</style>
|
26
30
|
<div>
|
@@ -64,10 +68,7 @@ export const LinkClass = compose(
|
|
64
68
|
{ ...text, property: TextClass.cssVarList.textColor }
|
65
69
|
],
|
66
70
|
cursor: anchor,
|
67
|
-
|
68
|
-
textUnderlineStyle: { ...anchor, property: 'border-bottom-style' },
|
69
|
-
textUnderlineColor: { ...anchor, property: 'border-bottom-color' }
|
70
|
-
},
|
71
|
+
}
|
71
72
|
}),
|
72
73
|
draggableMixin,
|
73
74
|
componentNameValidationMixin
|