@proximus/lavender-timeline 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
@@ -107,11 +107,8 @@ var l = class e extends HTMLElement {
107
107
  let e = this.parentElement;
108
108
  for (; e;) {
109
109
  if (e.localName === "px-grid" || e.localName === "px-stack" && e?.getAttribute("direction") === "row") return !0;
110
- if (window.getComputedStyle(e).display === "contents") {
111
- e = e.parentElement;
112
- continue;
113
- }
114
- break;
110
+ if (window.getComputedStyle(e).display === "contents") e = e.parentElement;
111
+ else break;
115
112
  }
116
113
  return !1;
117
114
  }
@@ -454,18 +451,10 @@ var u = [
454
451
  "Xl"
455
452
  ].map((e) => e.toLowerCase())];
456
453
  function h(e, t, n) {
457
- if (n == null || n === "") {
458
- e.removeAttribute(t);
459
- return;
460
- }
461
- e.setAttribute(t, n.toString());
454
+ n == null || n === "" ? e.removeAttribute(t) : e.setAttribute(t, n.toString());
462
455
  }
463
456
  function g(e, t, n) {
464
- if (!n) {
465
- e.removeAttribute(t);
466
- return;
467
- }
468
- e.setAttribute(t, "");
457
+ n ? e.setAttribute(t, "") : e.removeAttribute(t);
469
458
  }
470
459
  //#endregion
471
460
  //#region ../common/src/template.ts
@@ -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-timeline",
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-timeline",
11
- "description": "\n---\n",
11
+ "description": "\n\n---\n",
12
12
  "doc-url": "",
13
13
  "attributes": [{ "name": "inverted", "value": { "type": "string" } }],
14
14
  "events": [],
@@ -24,7 +24,7 @@
24
24
  },
25
25
  {
26
26
  "name": "px-timeline-item",
27
- "description": "\n---\n\n\n### **Events:**\n - **TIMELINE_ITEM_CONNECTED_EVENT**",
27
+ "description": "\n\n---\n\n\n### **Events:**\n - **TIMELINE_ITEM_CONNECTED_EVENT**",
28
28
  "doc-url": "",
29
29
  "attributes": [
30
30
  { "name": "inverted", "value": { "type": "string" } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-timeline",
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",