@proximus/lavender-image 2.0.0-alpha.205 → 2.0.0-alpha.207

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
@@ -332,10 +332,10 @@ var d = class e extends l {
332
332
  this.addSrcset(s, "screen and (min-width: 64.0625rem)"), this.addImg(a, t, n);
333
333
  }
334
334
  updateLoading(e) {
335
- !this.$imgEl || !this.src || (e && (e === "lazy" || e === "eager") ? this.$imgEl.loading = e : this.$imgEl.removeAttribute("loading"));
335
+ this.$imgEl && this.src && (e && (e === "lazy" || e === "eager") ? this.$imgEl.loading = e : this.$imgEl.removeAttribute("loading"));
336
336
  }
337
337
  updateAlt(e) {
338
- !this.$imgEl || !this.src || (this.$imgEl.alt = e || "");
338
+ this.$imgEl && this.src && (this.$imgEl.alt = e || "");
339
339
  }
340
340
  };
341
341
  customElements.get("px-picture") || customElements.define("px-picture", d);
@@ -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-image",
4
- "version": "2.0.0-alpha.205",
4
+ "version": "2.0.0-alpha.207",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "px-img",
11
- "description": "An image component.\n---\n",
11
+ "description": "An image component.\n\n---\n",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  {
@@ -74,7 +74,7 @@
74
74
  },
75
75
  {
76
76
  "name": "px-picture",
77
- "description": "\n---\n",
77
+ "description": "\n\n---\n",
78
78
  "doc-url": "",
79
79
  "attributes": [
80
80
  { "name": "loading", "value": { "type": "string" } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-image",
3
- "version": "2.0.0-alpha.205",
3
+ "version": "2.0.0-alpha.207",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",