@florid-kit/components 0.10.7 → 0.10.8
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/index.js +1 -1
- package/index.mjs +1 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -991,7 +991,7 @@
|
|
|
991
991
|
width: 0.1rem !important;
|
|
992
992
|
white-space: nowrap !important;
|
|
993
993
|
}
|
|
994
|
-
`;It([a({type:String,reflect:!0})],dt.prototype,"status",2);It([a({type:String,reflect:!0})],dt.prototype,"ariaDescribedBy",2);It([a({type:String,reflect:!0})],dt.prototype,"label",2);dt=It([g("o-wishlist-button")],dt);var Wo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,lt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Go(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Wo(t,e,i),i};let K=class extends p{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()
|
|
994
|
+
`;It([a({type:String,reflect:!0})],dt.prototype,"status",2);It([a({type:String,reflect:!0})],dt.prototype,"ariaDescribedBy",2);It([a({type:String,reflect:!0})],dt.prototype,"label",2);dt=It([g("o-wishlist-button")],dt);var Wo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,lt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Go(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Wo(t,e,i),i};let K=class extends p{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){const o=this.href||"#";return l`
|
|
995
995
|
<a
|
|
996
996
|
href="${o}"
|
|
997
997
|
target="${P(this.target||void 0)}"
|
package/index.mjs
CHANGED
|
@@ -2340,11 +2340,7 @@ let K = class extends p {
|
|
|
2340
2340
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
2341
2341
|
}
|
|
2342
2342
|
_handleClick(o) {
|
|
2343
|
-
(!this.href || this.href === "#") && o.preventDefault()
|
|
2344
|
-
detail: { href: this.href },
|
|
2345
|
-
bubbles: !0,
|
|
2346
|
-
composed: !0
|
|
2347
|
-
}));
|
|
2343
|
+
(!this.href || this.href === "#") && o.preventDefault();
|
|
2348
2344
|
}
|
|
2349
2345
|
render() {
|
|
2350
2346
|
const o = this.href || "#";
|