@proximus/lavender-common 2.0.0-alpha.52 → 2.0.0-alpha.54

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 +3 -6
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -138,12 +138,9 @@ class u extends HTMLElement {
138
138
  }
139
139
  }
140
140
  updateProperties(t, s, e, o) {
141
- if (o && !this.checkName(o, e)) {
142
- v(
143
- `${e} is not an allowed ${o} value for ${this.tagName.toLowerCase()}`
144
- );
145
- return;
146
- }
141
+ o && (this.checkName(o, e) || v(
142
+ `${e} is not an allowed ${o} value for ${this.tagName.toLowerCase()}`
143
+ ));
147
144
  const a = t.indexOf("--") > -1, l = a ? t.split("--")[0] : t;
148
145
  if (!a)
149
146
  this.style.setProperty(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-common",
3
- "version": "2.0.0-alpha.52",
3
+ "version": "2.0.0-alpha.54",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",