@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.
@@ -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;\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)}}]);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/web-components-ui",
3
- "version": "1.0.132",
3
+ "version": "1.0.133",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -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
- textUnderlineWidth: { ...anchor, property: 'border-bottom-width' },
68
- textUnderlineStyle: { ...anchor, property: 'border-bottom-style' },
69
- textUnderlineColor: { ...anchor, property: 'border-bottom-color' }
70
- },
71
+ }
71
72
  }),
72
73
  draggableMixin,
73
74
  componentNameValidationMixin
@@ -27,10 +27,6 @@ const link = {
27
27
  [vars.hostWidth]: '100%'
28
28
  },
29
29
 
30
- _hover: {
31
- [vars.textUnderlineColor]: 'currentColor'
32
- },
33
-
34
30
  mode: {
35
31
  primary: {
36
32
  [vars.textColor]: globalRefs.colors.primary.main,