@proximus/lavender-table 1.4.17-beta.2 → 1.4.17-beta.3

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
@@ -1,6 +1,6 @@
1
1
  import { createTemplate as e, renderTemplate as t } from "@proximus/lavender-common";
2
2
  import "@proximus/lavender-layout";
3
- //#region src/table.css?inline
3
+ // src/table.css?inline
4
4
  var n = ":host{width:100%;display:table}", r = new CSSStyleSheet();
5
5
  r.replaceSync(n);
6
6
  var i = class n extends HTMLElement {
@@ -15,8 +15,7 @@ var i = class n extends HTMLElement {
15
15
  }
16
16
  };
17
17
  customElements.get("px-table") || customElements.define("px-table", i);
18
- //#endregion
19
- //#region src/thead.css?inline
18
+ // src/thead.css?inline
20
19
  var a = ":host{display:table-header-group}::slotted(px-tr){background-color:var(--px-color-background-container-default-default)}", o = new CSSStyleSheet();
21
20
  o.replaceSync(a);
22
21
  var s = class n extends HTMLElement {
@@ -31,8 +30,7 @@ var s = class n extends HTMLElement {
31
30
  }
32
31
  };
33
32
  customElements.get("px-thead") || customElements.define("px-thead", s);
34
- //#endregion
35
- //#region src/tr.css?inline
33
+ // src/tr.css?inline
36
34
  var c = ":host{display:table-row}", l = new CSSStyleSheet();
37
35
  l.replaceSync(c);
38
36
  var u = class n extends HTMLElement {
@@ -47,8 +45,7 @@ var u = class n extends HTMLElement {
47
45
  }
48
46
  };
49
47
  customElements.get("px-tr") || customElements.define("px-tr", u);
50
- //#endregion
51
- //#region src/th.css?inline
48
+ // src/th.css?inline
52
49
  var d = ":host{vertical-align:middle;border-bottom:var(--px-size-border-l) solid var(--th-border-color-default,var(--px-color-border-main-default));display:table-cell}.th{padding:var(--px-padding-s-mobile) var(--px-padding-xs-mobile);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-body-m-mobile);color:var(--px-color-text-neutral-default);line-height:var(--px-line-height-ratio-l)}.th ::slotted([slot=description]){font-size:var(--px-text-size-body-s-mobile);color:var(--px-color-text-dimmed-default)}.th ::slotted(*){font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}@media screen and (width>=48rem){.th{padding:var(--px-padding-s-tablet) var(--px-padding-xs-tablet);font-size:var(--px-text-size-body-m-tablet)}.th ::slotted([slot=description]){font-size:var(--px-text-size-body-s-tablet)}.th ::slotted(*){font-size:var(--px-text-size-body-m-tablet)}}@media screen and (width>=64.0625rem){.th{padding:var(--px-padding-s-laptop) var(--px-padding-xs-laptop);font-size:var(--px-text-size-body-m-laptop)}.th ::slotted([slot=description]){font-size:var(--px-text-size-body-s-laptop)}.th ::slotted(*){font-size:var(--px-text-size-body-m-laptop)}}", f = new CSSStyleSheet();
53
50
  f.replaceSync(d);
54
51
  var p = class n extends HTMLElement {
@@ -65,8 +62,7 @@ var p = class n extends HTMLElement {
65
62
  }
66
63
  };
67
64
  customElements.get("px-th") || customElements.define("px-th", p);
68
- //#endregion
69
- //#region src/tbody.css?inline
65
+ // src/tbody.css?inline
70
66
  var m = ":host{display:table-row-group}::slotted(px-tr){background-color:var(--px-color-background-container-default-default)}::slotted(px-tr:hover){background-color:var(--px-color-background-state-hover-default)}", h = new CSSStyleSheet();
71
67
  h.replaceSync(m);
72
68
  var g = class n extends HTMLElement {
@@ -81,8 +77,7 @@ var g = class n extends HTMLElement {
81
77
  }
82
78
  };
83
79
  customElements.get("px-tbody") || customElements.define("px-tbody", g);
84
- //#endregion
85
- //#region src/td.css?inline
80
+ // src/td.css?inline
86
81
  var _ = ":host{vertical-align:middle;line-height:var(--px-line-height-ratio-l);border-bottom:var(--px-size-border-m) solid var(--td-border-color-default,var(--px-color-border-main-default));display:table-cell}.td{height:100%;padding:var(--px-padding-s-mobile) var(--px-padding-xs-mobile);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l);color:var(--px-color-text-neutral-default)}.td ::slotted([slot=description]){font-size:var(--px-text-size-body-s-mobile);color:var(--px-color-text-dimmed-default)}.td ::slotted(*){font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}@media screen and (width>=48rem){.td{padding:var(--px-padding-s-tablet) var(--px-padding-xs-tablet);font-size:var(--px-text-size-body-m-tablet)}.td ::slotted([slot=description]){font-size:var(--px-text-size-body-s-tablet)}.td ::slotted(*){font-size:var(--px-text-size-body-m-tablet)}}@media screen and (width>=64.0625rem){.td{padding:var(--px-padding-s-laptop) var(--px-padding-xs-laptop);font-size:var(--px-text-size-body-m-laptop)}.td ::slotted([slot=description]){font-size:var(--px-text-size-body-s-laptop)}.td ::slotted(*){font-size:var(--px-text-size-body-m-laptop)}}", v = new CSSStyleSheet();
87
82
  v.replaceSync(_);
88
83
  var y = class n extends HTMLElement {
@@ -101,5 +96,4 @@ var y = class n extends HTMLElement {
101
96
  }
102
97
  };
103
98
  customElements.get("px-td") || customElements.define("px-td", y);
104
- //#endregion
105
99
  export { i as Table, g as Tbody, y as Td, p as Th, s as Thead, u as Tr };
@@ -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-table",
4
- "version": "1.4.17-beta.2",
4
+ "version": "1.4.17-beta.3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "px-table",
11
- "description": "\n\n---\n",
11
+ "description": "\n---\n",
12
12
  "doc-url": "",
13
13
  "attributes": [],
14
14
  "events": [],
@@ -19,7 +19,7 @@
19
19
  },
20
20
  {
21
21
  "name": "px-tbody",
22
- "description": "\n\n---\n",
22
+ "description": "\n---\n",
23
23
  "doc-url": "",
24
24
  "attributes": [],
25
25
  "events": [],
@@ -30,7 +30,7 @@
30
30
  },
31
31
  {
32
32
  "name": "px-td",
33
- "description": "\n\n---\n",
33
+ "description": "\n---\n",
34
34
  "doc-url": "",
35
35
  "attributes": [],
36
36
  "events": [],
@@ -41,7 +41,7 @@
41
41
  },
42
42
  {
43
43
  "name": "px-th",
44
- "description": "\n\n---\n",
44
+ "description": "\n---\n",
45
45
  "doc-url": "",
46
46
  "attributes": [],
47
47
  "events": [],
@@ -52,7 +52,7 @@
52
52
  },
53
53
  {
54
54
  "name": "px-thead",
55
- "description": "\n\n---\n",
55
+ "description": "\n---\n",
56
56
  "doc-url": "",
57
57
  "attributes": [],
58
58
  "events": [],
@@ -63,7 +63,7 @@
63
63
  },
64
64
  {
65
65
  "name": "px-tr",
66
- "description": "\n\n---\n",
66
+ "description": "\n---\n",
67
67
  "doc-url": "",
68
68
  "attributes": [],
69
69
  "events": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-table",
3
- "version": "1.4.17-beta.2",
3
+ "version": "1.4.17-beta.3",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",