@justeattakeaway/pie-data-table 0.3.15 → 0.3.17

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 (83) hide show
  1. package/custom-elements.json +145 -25
  2. package/dist/{PieElement-DXI7Vr-d.js → PieElement-BcLpgB4V.js} +1 -1
  3. package/dist/defs-react.d.ts +0 -0
  4. package/dist/defs-react.d.ts.map +0 -0
  5. package/dist/defs.d.ts +0 -0
  6. package/dist/defs.d.ts.map +0 -0
  7. package/dist/index.d.ts +0 -0
  8. package/dist/index.d.ts.map +0 -0
  9. package/dist/index.js +1 -1
  10. package/dist/pie-data-table-body/defs-react.d.ts +0 -0
  11. package/dist/pie-data-table-body/defs-react.d.ts.map +0 -0
  12. package/dist/pie-data-table-body/defs.d.ts +0 -0
  13. package/dist/pie-data-table-body/defs.d.ts.map +0 -0
  14. package/dist/pie-data-table-body/index.d.ts +0 -0
  15. package/dist/pie-data-table-body/index.d.ts.map +0 -0
  16. package/dist/pie-data-table-body/index.js +1 -1
  17. package/dist/pie-data-table-body/react.d.ts +0 -0
  18. package/dist/pie-data-table-body/react.d.ts.map +0 -0
  19. package/dist/pie-data-table-body/react.js +0 -0
  20. package/dist/pie-data-table-cell/defs-react.d.ts +0 -0
  21. package/dist/pie-data-table-cell/defs-react.d.ts.map +0 -0
  22. package/dist/pie-data-table-cell/defs.d.ts +0 -0
  23. package/dist/pie-data-table-cell/defs.d.ts.map +0 -0
  24. package/dist/pie-data-table-cell/index.d.ts +0 -0
  25. package/dist/pie-data-table-cell/index.d.ts.map +0 -0
  26. package/dist/pie-data-table-cell/index.js +1 -1
  27. package/dist/pie-data-table-cell/react.d.ts +0 -0
  28. package/dist/pie-data-table-cell/react.d.ts.map +0 -0
  29. package/dist/pie-data-table-cell/react.js +0 -0
  30. package/dist/pie-data-table-contents/defs-react.d.ts +0 -0
  31. package/dist/pie-data-table-contents/defs-react.d.ts.map +0 -0
  32. package/dist/pie-data-table-contents/defs.d.ts +0 -0
  33. package/dist/pie-data-table-contents/defs.d.ts.map +0 -0
  34. package/dist/pie-data-table-contents/index.d.ts +0 -0
  35. package/dist/pie-data-table-contents/index.d.ts.map +0 -0
  36. package/dist/pie-data-table-contents/index.js +1 -1
  37. package/dist/pie-data-table-contents/react.d.ts +0 -0
  38. package/dist/pie-data-table-contents/react.d.ts.map +0 -0
  39. package/dist/pie-data-table-contents/react.js +0 -0
  40. package/dist/pie-data-table-head/defs-react.d.ts +0 -0
  41. package/dist/pie-data-table-head/defs-react.d.ts.map +0 -0
  42. package/dist/pie-data-table-head/defs.d.ts +0 -0
  43. package/dist/pie-data-table-head/defs.d.ts.map +0 -0
  44. package/dist/pie-data-table-head/index.d.ts +0 -0
  45. package/dist/pie-data-table-head/index.d.ts.map +0 -0
  46. package/dist/pie-data-table-head/index.js +1 -1
  47. package/dist/pie-data-table-head/react.d.ts +0 -0
  48. package/dist/pie-data-table-head/react.d.ts.map +0 -0
  49. package/dist/pie-data-table-head/react.js +0 -0
  50. package/dist/pie-data-table-head-cell/defs-react.d.ts +0 -0
  51. package/dist/pie-data-table-head-cell/defs-react.d.ts.map +0 -0
  52. package/dist/pie-data-table-head-cell/defs.d.ts +0 -0
  53. package/dist/pie-data-table-head-cell/defs.d.ts.map +0 -0
  54. package/dist/pie-data-table-head-cell/index.d.ts +0 -0
  55. package/dist/pie-data-table-head-cell/index.d.ts.map +0 -0
  56. package/dist/pie-data-table-head-cell/index.js +1 -1
  57. package/dist/pie-data-table-head-cell/react.d.ts +0 -0
  58. package/dist/pie-data-table-head-cell/react.d.ts.map +0 -0
  59. package/dist/pie-data-table-head-cell/react.js +0 -0
  60. package/dist/pie-data-table-header/defs-react.d.ts +0 -0
  61. package/dist/pie-data-table-header/defs-react.d.ts.map +0 -0
  62. package/dist/pie-data-table-header/defs.d.ts +0 -0
  63. package/dist/pie-data-table-header/defs.d.ts.map +0 -0
  64. package/dist/pie-data-table-header/index.d.ts +0 -0
  65. package/dist/pie-data-table-header/index.d.ts.map +0 -0
  66. package/dist/pie-data-table-header/index.js +1 -1
  67. package/dist/pie-data-table-header/react.d.ts +0 -0
  68. package/dist/pie-data-table-header/react.d.ts.map +0 -0
  69. package/dist/pie-data-table-header/react.js +0 -0
  70. package/dist/pie-data-table-row/defs-react.d.ts +0 -0
  71. package/dist/pie-data-table-row/defs-react.d.ts.map +0 -0
  72. package/dist/pie-data-table-row/defs.d.ts +0 -0
  73. package/dist/pie-data-table-row/defs.d.ts.map +0 -0
  74. package/dist/pie-data-table-row/index.d.ts +0 -0
  75. package/dist/pie-data-table-row/index.d.ts.map +0 -0
  76. package/dist/pie-data-table-row/index.js +1 -1
  77. package/dist/pie-data-table-row/react.d.ts +0 -0
  78. package/dist/pie-data-table-row/react.d.ts.map +0 -0
  79. package/dist/pie-data-table-row/react.js +0 -0
  80. package/dist/react.d.ts +0 -0
  81. package/dist/react.d.ts.map +0 -0
  82. package/dist/react.js +0 -0
  83. package/package.json +7 -10
@@ -18,7 +18,7 @@
18
18
  "type": {
19
19
  "text": "ComponentDefaultProps<DataTableProps, keyof Omit<DataTableProps, 'columns' | 'data' >>"
20
20
  },
21
- "default": "{\n additionalRows: [],\n}"
21
+ "default": "{ additionalRows: [], }"
22
22
  }
23
23
  ],
24
24
  "exports": [
@@ -59,7 +59,8 @@
59
59
  },
60
60
  "privacy": "public",
61
61
  "default": "[]",
62
- "description": "Array of column definitions"
62
+ "description": "Array of column definitions",
63
+ "attribute": "columns"
63
64
  },
64
65
  {
65
66
  "kind": "field",
@@ -69,7 +70,8 @@
69
70
  },
70
71
  "privacy": "public",
71
72
  "default": "[]",
72
- "description": "Array of data objects to display"
73
+ "description": "Array of data objects to display",
74
+ "attribute": "data"
73
75
  },
74
76
  {
75
77
  "kind": "field",
@@ -78,7 +80,8 @@
78
80
  "text": "DataTableAdditionalRow[] | undefined"
79
81
  },
80
82
  "privacy": "public",
81
- "description": "Arbitrary additional rows to display at the bottom of the table"
83
+ "description": "Arbitrary additional rows to display at the bottom of the table",
84
+ "attribute": "additionalRows"
82
85
  },
83
86
  {
84
87
  "kind": "method",
@@ -169,6 +172,34 @@
169
172
  "privacy": "private"
170
173
  }
171
174
  ],
175
+ "attributes": [
176
+ {
177
+ "name": "columns",
178
+ "type": {
179
+ "text": "Column[]"
180
+ },
181
+ "default": "[]",
182
+ "description": "Array of column definitions",
183
+ "fieldName": "columns"
184
+ },
185
+ {
186
+ "name": "data",
187
+ "type": {
188
+ "text": "Record<string, unknown>[]"
189
+ },
190
+ "default": "[]",
191
+ "description": "Array of data objects to display",
192
+ "fieldName": "data"
193
+ },
194
+ {
195
+ "name": "additionalRows",
196
+ "type": {
197
+ "text": "DataTableAdditionalRow[] | undefined"
198
+ },
199
+ "description": "Arbitrary additional rows to display at the bottom of the table",
200
+ "fieldName": "additionalRows"
201
+ }
202
+ ],
172
203
  "mixins": [
173
204
  {
174
205
  "name": "RtlMixin",
@@ -189,7 +220,7 @@
189
220
  "name": "*",
190
221
  "declaration": {
191
222
  "name": "*",
192
- "package": "./defs"
223
+ "module": "src/defs"
193
224
  }
194
225
  },
195
226
  {
@@ -243,7 +274,7 @@
243
274
  "name": "*",
244
275
  "declaration": {
245
276
  "name": "*",
246
- "package": "./defs"
277
+ "module": "src/pie-data-table-body/defs"
247
278
  }
248
279
  },
249
280
  {
@@ -280,7 +311,7 @@
280
311
  "type": {
281
312
  "text": "ComponentDefaultProps<DataTableCellProps, 'textAlign' | 'isHidden'>"
282
313
  },
283
- "default": "{\n textAlign: 'left',\n isHidden: false,\n}"
314
+ "default": "{ textAlign: 'left', isHidden: false, }"
284
315
  }
285
316
  ],
286
317
  "exports": [
@@ -324,7 +355,8 @@
324
355
  "text": "DataTableCellProps['textAlign'] | undefined"
325
356
  },
326
357
  "privacy": "public",
327
- "description": "Text alignment for the cell content"
358
+ "description": "Text alignment for the cell content",
359
+ "attribute": "textAlign"
328
360
  },
329
361
  {
330
362
  "kind": "field",
@@ -333,7 +365,26 @@
333
365
  "text": "DataTableCellProps['isHidden'] | undefined"
334
366
  },
335
367
  "privacy": "public",
336
- "description": "Whether the cell is hidden"
368
+ "description": "Whether the cell is hidden",
369
+ "attribute": "isHidden"
370
+ }
371
+ ],
372
+ "attributes": [
373
+ {
374
+ "name": "textAlign",
375
+ "type": {
376
+ "text": "DataTableCellProps['textAlign'] | undefined"
377
+ },
378
+ "description": "Text alignment for the cell content",
379
+ "fieldName": "textAlign"
380
+ },
381
+ {
382
+ "name": "isHidden",
383
+ "type": {
384
+ "text": "DataTableCellProps['isHidden'] | undefined"
385
+ },
386
+ "description": "Whether the cell is hidden",
387
+ "fieldName": "isHidden"
337
388
  }
338
389
  ],
339
390
  "superclass": {
@@ -350,7 +401,7 @@
350
401
  "name": "*",
351
402
  "declaration": {
352
403
  "name": "*",
353
- "package": "./defs"
404
+ "module": "src/pie-data-table-cell/defs"
354
405
  }
355
406
  },
356
407
  {
@@ -404,7 +455,7 @@
404
455
  "name": "*",
405
456
  "declaration": {
406
457
  "name": "*",
407
- "package": "./defs"
458
+ "module": "src/pie-data-table-contents/defs"
408
459
  }
409
460
  },
410
461
  {
@@ -458,7 +509,7 @@
458
509
  "name": "*",
459
510
  "declaration": {
460
511
  "name": "*",
461
- "package": "./defs"
512
+ "module": "src/pie-data-table-head/defs"
462
513
  }
463
514
  },
464
515
  {
@@ -495,7 +546,7 @@
495
546
  "type": {
496
547
  "text": "ComponentDefaultProps<DataTableHeadCellProps, 'textAlign' | 'isHidden'>"
497
548
  },
498
- "default": "{\n textAlign: 'left',\n isHidden: false,\n}"
549
+ "default": "{ textAlign: 'left', isHidden: false, }"
499
550
  }
500
551
  ],
501
552
  "exports": [
@@ -539,7 +590,8 @@
539
590
  "text": "DataTableHeadCellProps['textAlign'] | undefined"
540
591
  },
541
592
  "privacy": "public",
542
- "description": "Text alignment for the cell content"
593
+ "description": "Text alignment for the cell content",
594
+ "attribute": "textAlign"
543
595
  },
544
596
  {
545
597
  "kind": "field",
@@ -548,7 +600,26 @@
548
600
  "text": "DataTableHeadCellProps['isHidden'] | undefined"
549
601
  },
550
602
  "privacy": "public",
551
- "description": "Whether the cell is hidden"
603
+ "description": "Whether the cell is hidden",
604
+ "attribute": "isHidden"
605
+ }
606
+ ],
607
+ "attributes": [
608
+ {
609
+ "name": "textAlign",
610
+ "type": {
611
+ "text": "DataTableHeadCellProps['textAlign'] | undefined"
612
+ },
613
+ "description": "Text alignment for the cell content",
614
+ "fieldName": "textAlign"
615
+ },
616
+ {
617
+ "name": "isHidden",
618
+ "type": {
619
+ "text": "DataTableHeadCellProps['isHidden'] | undefined"
620
+ },
621
+ "description": "Whether the cell is hidden",
622
+ "fieldName": "isHidden"
552
623
  }
553
624
  ],
554
625
  "superclass": {
@@ -565,7 +636,7 @@
565
636
  "name": "*",
566
637
  "declaration": {
567
638
  "name": "*",
568
- "package": "./defs"
639
+ "module": "src/pie-data-table-head-cell/defs"
569
640
  }
570
641
  },
571
642
  {
@@ -602,7 +673,7 @@
602
673
  "type": {
603
674
  "text": "ComponentDefaultProps<DataTableHeaderProps, keyof Omit<DataTableHeaderProps, 'heading' | 'subHeading'>>"
604
675
  },
605
- "default": "{\n variant: 'subtle',\n}"
676
+ "default": "{ variant: 'subtle', }"
606
677
  }
607
678
  ],
608
679
  "exports": [
@@ -646,7 +717,8 @@
646
717
  "text": "DataTableHeaderProps['heading']"
647
718
  },
648
719
  "privacy": "public",
649
- "description": "heading text for the data table header"
720
+ "description": "heading text for the data table header",
721
+ "attribute": "heading"
650
722
  },
651
723
  {
652
724
  "kind": "field",
@@ -655,7 +727,8 @@
655
727
  "text": "DataTableHeaderProps['subHeading']"
656
728
  },
657
729
  "privacy": "public",
658
- "description": "Sub heading text for the data table header"
730
+ "description": "Sub heading text for the data table header",
731
+ "attribute": "subHeading"
659
732
  },
660
733
  {
661
734
  "kind": "field",
@@ -664,7 +737,8 @@
664
737
  "text": "typeof defaultProps.variant | undefined"
665
738
  },
666
739
  "privacy": "public",
667
- "description": "Emphasis level for the header"
740
+ "description": "Emphasis level for the header",
741
+ "attribute": "variant"
668
742
  },
669
743
  {
670
744
  "kind": "field",
@@ -704,6 +778,32 @@
704
778
  "description": "Handles the slot change event to determine if there are action buttons."
705
779
  }
706
780
  ],
781
+ "attributes": [
782
+ {
783
+ "name": "heading",
784
+ "type": {
785
+ "text": "DataTableHeaderProps['heading']"
786
+ },
787
+ "description": "heading text for the data table header",
788
+ "fieldName": "heading"
789
+ },
790
+ {
791
+ "name": "subHeading",
792
+ "type": {
793
+ "text": "DataTableHeaderProps['subHeading']"
794
+ },
795
+ "description": "Sub heading text for the data table header",
796
+ "fieldName": "subHeading"
797
+ },
798
+ {
799
+ "name": "variant",
800
+ "type": {
801
+ "text": "typeof defaultProps.variant | undefined"
802
+ },
803
+ "description": "Emphasis level for the header",
804
+ "fieldName": "variant"
805
+ }
806
+ ],
707
807
  "superclass": {
708
808
  "name": "PieElement",
709
809
  "package": "@justeattakeaway/pie-webc-core/src/internals/PieElement"
@@ -718,7 +818,7 @@
718
818
  "name": "*",
719
819
  "declaration": {
720
820
  "name": "*",
721
- "package": "./defs"
821
+ "module": "src/pie-data-table-header/defs"
722
822
  }
723
823
  },
724
824
  {
@@ -747,7 +847,7 @@
747
847
  "type": {
748
848
  "text": "ComponentDefaultProps<DataTableRowProps, 'isSelected' | 'isHidden'>"
749
849
  },
750
- "default": "{\n isSelected: false,\n isHidden: false,\n}"
850
+ "default": "{ isSelected: false, isHidden: false, }"
751
851
  }
752
852
  ],
753
853
  "exports": [
@@ -783,7 +883,8 @@
783
883
  "text": "DataTableRowProps['isSelected'] | undefined"
784
884
  },
785
885
  "privacy": "public",
786
- "description": "Whether the row is currently selected"
886
+ "description": "Whether the row is currently selected",
887
+ "attribute": "isSelected"
787
888
  },
788
889
  {
789
890
  "kind": "field",
@@ -792,7 +893,26 @@
792
893
  "text": "DataTableRowProps['isHidden'] | undefined"
793
894
  },
794
895
  "privacy": "public",
795
- "description": "Whether the row is hidden"
896
+ "description": "Whether the row is hidden",
897
+ "attribute": "isHidden"
898
+ }
899
+ ],
900
+ "attributes": [
901
+ {
902
+ "name": "isSelected",
903
+ "type": {
904
+ "text": "DataTableRowProps['isSelected'] | undefined"
905
+ },
906
+ "description": "Whether the row is currently selected",
907
+ "fieldName": "isSelected"
908
+ },
909
+ {
910
+ "name": "isHidden",
911
+ "type": {
912
+ "text": "DataTableRowProps['isHidden'] | undefined"
913
+ },
914
+ "description": "Whether the row is hidden",
915
+ "fieldName": "isHidden"
796
916
  }
797
917
  ],
798
918
  "superclass": {
@@ -809,7 +929,7 @@
809
929
  "name": "*",
810
930
  "declaration": {
811
931
  "name": "*",
812
- "package": "./defs"
932
+ "module": "src/pie-data-table-row/defs"
813
933
  }
814
934
  },
815
935
  {
@@ -4,7 +4,7 @@ const t = class t extends i {
4
4
  this.getAttribute("v") || this.setAttribute("v", t.v);
5
5
  }
6
6
  };
7
- t.v = "0.3.15";
7
+ t.v = "0.3.17";
8
8
  let s = t;
9
9
  export {
10
10
  s as P
File without changes
File without changes
package/dist/defs.d.ts CHANGED
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
File without changes
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-DXI7Vr-d.js";
3
+ import { P as p } from "./PieElement-BcLpgB4V.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 = {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  import { unsafeCSS as p, html as d } from "lit";
2
- import { P as i } from "../PieElement-DXI7Vr-d.js";
2
+ import { P as i } from "../PieElement-BcLpgB4V.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) => {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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-DXI7Vr-d.js";
3
+ import { P as g } from "../PieElement-BcLpgB4V.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",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  import { unsafeCSS as i, html as c } from "lit";
2
- import { P as m } from "../PieElement-DXI7Vr-d.js";
2
+ import { P as m } from "../PieElement-BcLpgB4V.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) => {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  import { unsafeCSS as d, html as i } from "lit";
2
- import { P as c } from "../PieElement-DXI7Vr-d.js";
2
+ import { P as c } from "../PieElement-BcLpgB4V.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) => {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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-DXI7Vr-d.js";
3
+ import { P as h } from "../PieElement-BcLpgB4V.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",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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-DXI7Vr-d.js";
3
+ import { P as f } from "../PieElement-BcLpgB4V.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 = {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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-DXI7Vr-d.js";
3
+ import { P as b } from "../PieElement-BcLpgB4V.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,
File without changes
File without changes
File without changes
package/dist/react.d.ts CHANGED
File without changes
File without changes
package/dist/react.js CHANGED
File without changes
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.15",
4
+ "version": "0.3.17",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -20,30 +20,27 @@
20
20
  },
21
21
  "scripts": {
22
22
  "build": "run -T vite build",
23
- "build:react-wrapper": "npx build-react-wrapper",
23
+ "build:react-wrapper": "run -T build-react-wrapper",
24
24
  "create:manifest": "run -T cem analyze --litelement",
25
25
  "lint:scripts": "run -T eslint .",
26
26
  "lint:scripts:fix": "yarn lint:scripts --fix",
27
27
  "lint:style": "run -T stylelint ./src/**/*.{css,scss}",
28
28
  "lint:style:fix": "yarn lint:style --fix",
29
29
  "watch": "run -T vite build --watch",
30
- "test:browsers": "npx playwright test -c ./playwright-lit.config.ts",
30
+ "test:browsers": "run -T playwright test -c ./playwright-lit.config.ts",
31
31
  "test:browsers:ci": "yarn test:browsers",
32
- "test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_DATA_TABLE} percy exec --allowed-hostname cloudfront.net -- npx playwright test -c ./playwright-lit-visual.config.ts",
32
+ "test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_DATA_TABLE} percy exec --allowed-hostname cloudfront.net -- run -T playwright test -c ./playwright-lit-visual.config.ts",
33
33
  "test:visual:ci": "yarn test:visual"
34
34
  },
35
35
  "author": "Just Eat Takeaway.com - Design System Team",
36
36
  "license": "Apache-2.0",
37
37
  "devDependencies": {
38
- "@justeattakeaway/pie-components-config": "0.21.1",
38
+ "@justeattakeaway/pie-components-config": "0.21.3",
39
39
  "@justeattakeaway/pie-css": "1.1.1",
40
- "@justeattakeaway/pie-monorepo-utils": "0.9.0"
40
+ "@justeattakeaway/pie-monorepo-utils": "0.9.2"
41
41
  },
42
42
  "dependencies": {
43
- "@justeattakeaway/pie-webc-core": "14.0.1"
44
- },
45
- "volta": {
46
- "extends": "../../../package.json"
43
+ "@justeattakeaway/pie-webc-core": "14.0.2"
47
44
  },
48
45
  "customElements": "custom-elements.json",
49
46
  "sideEffects": [