@proximus/lavender-button 2.0.0-alpha.206 → 2.0.0-alpha.208

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/dist/index.es.js CHANGED
@@ -130,11 +130,7 @@ var h = [
130
130
  e && (e.getAttribute("size") || e.setAttribute("size", "xs")), this.$el.classList.toggle("loading");
131
131
  }
132
132
  updateShape(e, t, r) {
133
- if (!n(r, t)) {
134
- i(`"${t}" is not a valid shape value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
135
- return;
136
- }
137
- t !== null && t !== "" && this.$el.setAttribute(e, t);
133
+ n(r, t) ? t !== null && t !== "" && this.$el.setAttribute(e, t) : i(`"${t}" is not a valid shape value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
138
134
  }
139
135
  get variant() {
140
136
  return this.getAttribute("variant");
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@proximus/lavender-button",
4
- "version": "2.0.0-alpha.206",
4
+ "version": "2.0.0-alpha.208",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "px-button",
11
- "description": "\n---\n",
11
+ "description": "\n\n---\n",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  { "name": "variant", "value": { "type": "string" } },
@@ -58,7 +58,7 @@
58
58
  },
59
59
  {
60
60
  "name": "px-button-wrapper",
61
- "description": "A wrapper button that propagates interactive states (hover/focus) to child components.\n---\n\n\n### **Slots:**\n - **before** - Content to be placed before the button text.\n- **after** - Content to be placed after the button text.",
61
+ "description": "A wrapper button that propagates interactive states (hover/focus) to child components.\n\n---\n\n\n### **Slots:**\n - **before** - Content to be placed before the button text.\n- **after** - Content to be placed after the button text.",
62
62
  "doc-url": "",
63
63
  "attributes": [
64
64
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-button",
3
- "version": "2.0.0-alpha.206",
3
+ "version": "2.0.0-alpha.208",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",