@proximus/lavender-link 2.0.0-alpha.113 → 2.0.0-alpha.114

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.
Files changed (2) hide show
  1. package/dist/index.es.js +7 -7
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -16,7 +16,7 @@ const T = [...y, "link-m", "link-s"], h = [
16
16
  "btn-secondary",
17
17
  "btn-tertiary",
18
18
  "icon-link"
19
- ], B = ["", "default", "alternative"], s = class s extends w {
19
+ ], I = ["", "default", "alternative"], s = class s extends w {
20
20
  constructor() {
21
21
  super(g, f, m), this.template = () => '<slot name="before"></slot><slot></slot><slot name="after"></slot>';
22
22
  const t = document.createElement(s.nativeName);
@@ -63,7 +63,7 @@ const T = [...y, "link-m", "link-s"], h = [
63
63
  case "shape--tablet":
64
64
  case "shape--laptop":
65
65
  case "shape--desktop":
66
- this.updateShape(t, a, B);
66
+ this.updateShape(t, a, I);
67
67
  break;
68
68
  case "extended":
69
69
  case "extended--mobile":
@@ -111,7 +111,7 @@ const T = [...y, "link-m", "link-s"], h = [
111
111
  updateVariant(t, e) {
112
112
  t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(h, e) || c(
113
113
  `"${e}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${h.join('", "')}".`
114
- ), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
114
+ );
115
115
  }
116
116
  updateShape(t, e, a) {
117
117
  if (!$(a, e)) {
@@ -248,7 +248,7 @@ s.nativeName = "a";
248
248
  let n = s;
249
249
  customElements.get("px-a") || customElements.define("px-a", n);
250
250
  var i, l, k;
251
- class I extends n {
251
+ class M extends n {
252
252
  constructor() {
253
253
  super();
254
254
  b(this, l);
@@ -280,11 +280,11 @@ class I extends n {
280
280
  i = new WeakMap(), l = new WeakSet(), k = function() {
281
281
  return !this.hasAttribute("disabled") && this.$el.getAttribute("aria-disabled") !== "true";
282
282
  };
283
- customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper", I);
283
+ customElements.get("px-a-wrapper") || customElements.define("px-a-wrapper", M);
284
284
  export {
285
285
  n as Link,
286
- I as LinkWrapper,
287
- B as linkShapeValues,
286
+ M as LinkWrapper,
287
+ I as linkShapeValues,
288
288
  h as linkVariantValues,
289
289
  T as linktextsizesValues
290
290
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-link",
3
- "version": "2.0.0-alpha.113",
3
+ "version": "2.0.0-alpha.114",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",