@justeattakeaway/pie-data-table 0.3.13 → 0.3.14
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/custom-elements.json +5 -5
- package/dist/{PieElement-CUYy9BMG.js → PieElement-D5rpDc8w.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/pie-data-table-body/index.js +1 -1
- package/dist/pie-data-table-cell/index.js +1 -1
- package/dist/pie-data-table-contents/index.js +1 -1
- package/dist/pie-data-table-head/index.js +1 -1
- package/dist/pie-data-table-head-cell/index.js +1 -1
- package/dist/pie-data-table-header/index.js +1 -1
- package/dist/pie-data-table-row/index.js +1 -1
- package/package.json +3 -3
package/custom-elements.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type": {
|
|
19
19
|
"text": "ComponentDefaultProps<DataTableProps, keyof Omit<DataTableProps, 'columns' | 'data' >>"
|
|
20
20
|
},
|
|
21
|
-
"default": "{\
|
|
21
|
+
"default": "{\n additionalRows: [],\n}"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
24
|
"exports": [
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"type": {
|
|
281
281
|
"text": "ComponentDefaultProps<DataTableCellProps, 'textAlign' | 'isHidden'>"
|
|
282
282
|
},
|
|
283
|
-
"default": "{\
|
|
283
|
+
"default": "{\n textAlign: 'left',\n isHidden: false,\n}"
|
|
284
284
|
}
|
|
285
285
|
],
|
|
286
286
|
"exports": [
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
"type": {
|
|
496
496
|
"text": "ComponentDefaultProps<DataTableHeadCellProps, 'textAlign' | 'isHidden'>"
|
|
497
497
|
},
|
|
498
|
-
"default": "{\
|
|
498
|
+
"default": "{\n textAlign: 'left',\n isHidden: false,\n}"
|
|
499
499
|
}
|
|
500
500
|
],
|
|
501
501
|
"exports": [
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
"type": {
|
|
603
603
|
"text": "ComponentDefaultProps<DataTableHeaderProps, keyof Omit<DataTableHeaderProps, 'heading' | 'subHeading'>>"
|
|
604
604
|
},
|
|
605
|
-
"default": "{\
|
|
605
|
+
"default": "{\n variant: 'subtle',\n}"
|
|
606
606
|
}
|
|
607
607
|
],
|
|
608
608
|
"exports": [
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
"type": {
|
|
748
748
|
"text": "ComponentDefaultProps<DataTableRowProps, 'isSelected' | 'isHidden'>"
|
|
749
749
|
},
|
|
750
|
-
"default": "{\
|
|
750
|
+
"default": "{\n isSelected: false,\n isHidden: false,\n}"
|
|
751
751
|
}
|
|
752
752
|
],
|
|
753
753
|
"exports": [
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nothing as c, html as l, unsafeCSS as g } from "lit";
|
|
2
2
|
import { property as h } from "lit/decorators.js";
|
|
3
|
-
import { P as p } from "./PieElement-
|
|
3
|
+
import { P as p } from "./PieElement-D5rpDc8w.js";
|
|
4
4
|
import { RtlMixin as u, safeCustomElement as f } from "@justeattakeaway/pie-webc-core";
|
|
5
5
|
import { classMap as n } from "lit/directives/class-map.js";
|
|
6
6
|
const v = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-data-table{--data-table-background-color: var(--dt-color-container-default);--data-table-background-hover-or-active: var(--dt-color-container-subtle);--data-table-border-color: var(--dt-color-border-default);--data-table-border-radius: var(--dt-radius-rounded-c);--data-table-text-color: var(--dt-color-content-default);background-color:var(--data-table-background-color);border:1px solid var(--data-table-border-color);border-radius:var(--data-table-border-radius);color:var(--data-table-text-color);width:100%;overflow:hidden}.c-data-table table{border-spacing:0;width:100%}.c-data-table tbody{overflow:auto}.c-data-table tbody tr:hover{background-color:var(--data-table-background-hover-or-active)}.c-data-table-head-cell{background-color:transparent;font-size:calc(var(--dt-font-body-strong-l-size) * 1px);line-height:calc(var(--dt-font-body-strong-l-line-height) * 1px);font-weight:var(--dt-font-body-strong-l-weight);color:var(--data-table-text-color);text-align:left}.c-data-table-head-cell-text-align--left,.c-data-table-cell-text-align--left{text-align:left}.c-data-table-head-cell-text-align--right,.c-data-table-cell-text-align--right{text-align:right}.c-data-table-head-cell-text-align--center,.c-data-table-cell-text-align--center{text-align:center}.c-data-table-cell,.c-data-table-head-cell{padding:var(--dt-spacing-d);border-bottom:1px solid var(--data-table-border-color)}.c-data-table-cell--hidden,.c-data-table-row--hidden{display:none}", m = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { unsafeCSS as p, html as d } from "lit";
|
|
2
|
-
import { P as i } from "../PieElement-
|
|
2
|
+
import { P as i } from "../PieElement-D5rpDc8w.js";
|
|
3
3
|
import { safeCustomElement as m } from "@justeattakeaway/pie-webc-core";
|
|
4
4
|
const b = ":host{display:table-row-group}:host ::slotted(pie-data-table-row){--pie-data-table-row-background-hover: var(--dt-color-container-subtle)}";
|
|
5
5
|
var u = Object.getOwnPropertyDescriptor, c = (o, a, n, s) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { unsafeCSS as c, nothing as d, html as f } from "lit";
|
|
2
2
|
import { property as p } from "lit/decorators.js";
|
|
3
|
-
import { P as g } from "../PieElement-
|
|
3
|
+
import { P as g } from "../PieElement-D5rpDc8w.js";
|
|
4
4
|
import { validPropertyValues as b, safeCustomElement as h } from "@justeattakeaway/pie-webc-core";
|
|
5
5
|
const m = ":host{padding:var(--dt-spacing-d);border-bottom:1px solid var(--data-table-border-color);display:table-cell}:host([textAlign=right]){text-align:right}:host([textAlign=center]){text-align:center}:host([textAlign=left]){text-align:left}:host([isHidden]){display:none}", x = ["left", "right", "center"], u = {
|
|
6
6
|
textAlign: "left",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { unsafeCSS as i, html as c } from "lit";
|
|
2
|
-
import { P as m } from "../PieElement-
|
|
2
|
+
import { P as m } from "../PieElement-D5rpDc8w.js";
|
|
3
3
|
import { safeCustomElement as p } from "@justeattakeaway/pie-webc-core";
|
|
4
4
|
const b = ":host{inline-size:100%;display:table}";
|
|
5
5
|
var f = Object.getOwnPropertyDescriptor, u = (r, l, o, a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { unsafeCSS as d, html as i } from "lit";
|
|
2
|
-
import { P as c } from "../PieElement-
|
|
2
|
+
import { P as c } from "../PieElement-D5rpDc8w.js";
|
|
3
3
|
import { safeCustomElement as b } from "@justeattakeaway/pie-webc-core";
|
|
4
4
|
const p = ":host{background-color:transparent;font-size:calc(var(--dt-font-body-strong-l-size) * 1px);line-height:calc(var(--dt-font-body-strong-l-line-height) * 1px);font-weight:var(--dt-font-body-strong-l-weight);color:var(--dt-color-content-default);border-bottom:1px solid var(--data-table-border-color);display:table-header-group}";
|
|
5
5
|
var f = Object.getOwnPropertyDescriptor, h = (o, a, n, l) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { unsafeCSS as p, nothing as c, html as f } from "lit";
|
|
2
2
|
import { property as d } from "lit/decorators.js";
|
|
3
|
-
import { P as h } from "../PieElement-
|
|
3
|
+
import { P as h } from "../PieElement-D5rpDc8w.js";
|
|
4
4
|
import { validPropertyValues as g, safeCustomElement as b } from "@justeattakeaway/pie-webc-core";
|
|
5
5
|
const m = ":host{padding:var(--dt-spacing-d);border-bottom:1px solid var(--data-table-border-color);display:table-cell}:host([textAlign=right]){text-align:right}:host([textAlign=center]){text-align:center}:host([textAlign=left]){text-align:left}:host([isHidden]){display:none}", x = ["left", "right", "center"], u = {
|
|
6
6
|
textAlign: "left",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { unsafeCSS as p, nothing as h, html as d } from "lit";
|
|
2
2
|
import { property as c, queryAssignedElements as g, state as b } from "lit/decorators.js";
|
|
3
|
-
import { P as f } from "../PieElement-
|
|
3
|
+
import { P as f } from "../PieElement-D5rpDc8w.js";
|
|
4
4
|
import { validPropertyValues as u, safeCustomElement as m } from "@justeattakeaway/pie-webc-core";
|
|
5
5
|
import { classMap as v } from "lit/directives/class-map.js";
|
|
6
6
|
const y = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-data-table-header{--data-table-header-background: transparent;--data-table-border-color: var(--dt-color-border-default);padding:var(--dt-spacing-d);background-color:var(--data-table-header-background);border-bottom:1px solid var(--data-table-border-color);display:flex;justify-content:space-between;align-items:flex-end}.c-data-table-header-heading-wrapper{display:flex;flex-direction:column;gap:var(--dt-spacing-b)}.c-data-table-header-heading{font-family:var(--dt-font-heading-m-family);font-weight:var(--dt-font-heading-m-weight);font-size:calc(var(--dt-font-heading-m-size--wide) * 1px);line-height:calc(var(--dt-font-heading-m-line-height--wide) * 1px)}.c-data-table-header-sub-heading{font-family:var(--dt-font-body-l-family);font-weight:var(--dt-font-body-l-weight);font-size:calc(var(--dt-font-body-l-size) * 1px);line-height:calc(var(--dt-font-body-l-line-height) * 1px)}.c-data-table-header--strong{--data-table-header-background: var(--dt-color-support-brand-02)}.c-data-table-action-buttons-wrapper{display:flex;gap:var(--dt-spacing-d)}", w = ["subtle", "strong"], x = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { unsafeCSS as d, nothing as c, html as f } from "lit";
|
|
2
2
|
import { property as i } from "lit/decorators.js";
|
|
3
|
-
import { P as b } from "../PieElement-
|
|
3
|
+
import { P as b } from "../PieElement-D5rpDc8w.js";
|
|
4
4
|
import { safeCustomElement as m } from "@justeattakeaway/pie-webc-core";
|
|
5
5
|
const u = ":host{display:table-row;border-bottom:1px solid var(--data-table-border-color)}:host(:hover){background-color:var(--pie-data-table-row-background-hover, transparent)}:host([isSelected]){background-color:var(--dt-color-container-subtle)}", S = {
|
|
6
6
|
isSelected: !1,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-data-table",
|
|
3
3
|
"description": "PIE Design System Data Table built using Web Components",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.14",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
39
39
|
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
40
40
|
"@justeattakeaway/pie-css": "1.1.0",
|
|
41
|
-
"@justeattakeaway/pie-monorepo-utils": "0.
|
|
41
|
+
"@justeattakeaway/pie-monorepo-utils": "0.9.0",
|
|
42
42
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@justeattakeaway/pie-webc-core": "14.0.
|
|
45
|
+
"@justeattakeaway/pie-webc-core": "14.0.1"
|
|
46
46
|
},
|
|
47
47
|
"volta": {
|
|
48
48
|
"extends": "../../../package.json"
|