@spectrum-web-components/table 0.0.2-table.2609

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 (108) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +364 -0
  3. package/custom-elements.json +1083 -0
  4. package/package.json +74 -0
  5. package/sp-table-body.d.ts +6 -0
  6. package/sp-table-body.js +14 -0
  7. package/sp-table-body.js.map +1 -0
  8. package/sp-table-cell.d.ts +6 -0
  9. package/sp-table-cell.js +14 -0
  10. package/sp-table-cell.js.map +1 -0
  11. package/sp-table-checkbox-cell.d.ts +6 -0
  12. package/sp-table-checkbox-cell.js +14 -0
  13. package/sp-table-checkbox-cell.js.map +1 -0
  14. package/sp-table-head-cell.d.ts +6 -0
  15. package/sp-table-head-cell.js +14 -0
  16. package/sp-table-head-cell.js.map +1 -0
  17. package/sp-table-head.d.ts +6 -0
  18. package/sp-table-head.js +14 -0
  19. package/sp-table-head.js.map +1 -0
  20. package/sp-table-row.d.ts +6 -0
  21. package/sp-table-row.js +14 -0
  22. package/sp-table-row.js.map +1 -0
  23. package/sp-table.d.ts +6 -0
  24. package/sp-table.js +14 -0
  25. package/sp-table.js.map +1 -0
  26. package/src/Table.d.ts +42 -0
  27. package/src/Table.js +363 -0
  28. package/src/Table.js.map +1 -0
  29. package/src/TableBody.d.ts +9 -0
  30. package/src/TableBody.js +36 -0
  31. package/src/TableBody.js.map +1 -0
  32. package/src/TableCell.d.ts +10 -0
  33. package/src/TableCell.js +40 -0
  34. package/src/TableCell.js.map +1 -0
  35. package/src/TableCheckboxCell.d.ts +17 -0
  36. package/src/TableCheckboxCell.js +76 -0
  37. package/src/TableCheckboxCell.js.map +1 -0
  38. package/src/TableHead.d.ts +15 -0
  39. package/src/TableHead.js +56 -0
  40. package/src/TableHead.js.map +1 -0
  41. package/src/TableHeadCell.d.ts +21 -0
  42. package/src/TableHeadCell.js +98 -0
  43. package/src/TableHeadCell.js.map +1 -0
  44. package/src/TableRow.d.ts +18 -0
  45. package/src/TableRow.js +64 -0
  46. package/src/TableRow.js.map +1 -0
  47. package/src/index.d.ts +1 -0
  48. package/src/index.js +13 -0
  49. package/src/index.js.map +1 -0
  50. package/src/spectrum-config.js +245 -0
  51. package/src/spectrum-table-body.css.d.ts +2 -0
  52. package/src/spectrum-table-body.css.js +27 -0
  53. package/src/spectrum-table-body.css.js.map +1 -0
  54. package/src/spectrum-table-cell.css.d.ts +2 -0
  55. package/src/spectrum-table-cell.css.js +37 -0
  56. package/src/spectrum-table-cell.css.js.map +1 -0
  57. package/src/spectrum-table-checkbox-cell.css.d.ts +2 -0
  58. package/src/spectrum-table-checkbox-cell.css.js +23 -0
  59. package/src/spectrum-table-checkbox-cell.css.js.map +1 -0
  60. package/src/spectrum-table-head-cell.css.d.ts +2 -0
  61. package/src/spectrum-table-head-cell.css.js +71 -0
  62. package/src/spectrum-table-head-cell.css.js.map +1 -0
  63. package/src/spectrum-table-head.css.d.ts +2 -0
  64. package/src/spectrum-table-head.css.js +17 -0
  65. package/src/spectrum-table-head.css.js.map +1 -0
  66. package/src/spectrum-table-row.css.d.ts +2 -0
  67. package/src/spectrum-table-row.css.js +43 -0
  68. package/src/spectrum-table-row.css.js.map +1 -0
  69. package/src/spectrum-table.css.d.ts +2 -0
  70. package/src/spectrum-table.css.js +543 -0
  71. package/src/spectrum-table.css.js.map +1 -0
  72. package/src/table-body.css.d.ts +2 -0
  73. package/src/table-body.css.js +27 -0
  74. package/src/table-body.css.js.map +1 -0
  75. package/src/table-cell.css.d.ts +2 -0
  76. package/src/table-cell.css.js +37 -0
  77. package/src/table-cell.css.js.map +1 -0
  78. package/src/table-checkbox-cell.css.d.ts +2 -0
  79. package/src/table-checkbox-cell.css.js +23 -0
  80. package/src/table-checkbox-cell.css.js.map +1 -0
  81. package/src/table-head-cell.css.d.ts +2 -0
  82. package/src/table-head-cell.css.js +71 -0
  83. package/src/table-head-cell.css.js.map +1 -0
  84. package/src/table-head.css.d.ts +2 -0
  85. package/src/table-head.css.js +17 -0
  86. package/src/table-head.css.js.map +1 -0
  87. package/src/table-row.css.d.ts +2 -0
  88. package/src/table-row.css.js +43 -0
  89. package/src/table-row.css.js.map +1 -0
  90. package/src/table.css.d.ts +2 -0
  91. package/src/table.css.js +543 -0
  92. package/src/table.css.js.map +1 -0
  93. package/stories/index.js +44 -0
  94. package/stories/index.js.map +1 -0
  95. package/stories/table-elements.stories.js +237 -0
  96. package/stories/table-elements.stories.js.map +1 -0
  97. package/stories/table-virtualized.stories.js +221 -0
  98. package/stories/table-virtualized.stories.js.map +1 -0
  99. package/stories/table.stories.js.map +1 -0
  100. package/test/benchmark/basic-test.js +18 -0
  101. package/test/benchmark/basic-test.js.map +1 -0
  102. package/test/table-elements.test-vrt.js +15 -0
  103. package/test/table-elements.test-vrt.js.map +1 -0
  104. package/test/table-virtualized.test-vrt.js +15 -0
  105. package/test/table-virtualized.test-vrt.js.map +1 -0
  106. package/test/table.test-vrt.js.map +1 -0
  107. package/test/table.test.js +870 -0
  108. package/test/table.test.js.map +1 -0
@@ -0,0 +1,2 @@
1
+ declare const styles: import("@spectrum-web-components/base").CSSResult;
2
+ export default styles;
@@ -0,0 +1,23 @@
1
+ /*
2
+ Copyright 2022 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+ import { css } from '@spectrum-web-components/base';
13
+ const styles = css `
14
+ :host([dir=ltr]){padding-right:var(
15
+ --spectrum-table-regular-cell-checkbox-padding-right
16
+ )}:host([dir=rtl]){padding-left:var(
17
+ --spectrum-table-regular-cell-checkbox-padding-right
18
+ )}:host{padding-bottom:0;padding-top:0;vertical-align:var(
19
+ --spectrum-table-regular-cell-checkbox-vertical-alignment
20
+ )}.checkbox{vertical-align:super}
21
+ `;
22
+ export default styles;
23
+ //# sourceMappingURL=spectrum-table-checkbox-cell.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spectrum-table-checkbox-cell.css.js","sourceRoot":"","sources":["spectrum-table-checkbox-cell.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;CAQjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host([dir=ltr]){padding-right:var(\n--spectrum-table-regular-cell-checkbox-padding-right\n)}:host([dir=rtl]){padding-left:var(\n--spectrum-table-regular-cell-checkbox-padding-right\n)}:host{padding-bottom:0;padding-top:0;vertical-align:var(\n--spectrum-table-regular-cell-checkbox-vertical-alignment\n)}.checkbox{vertical-align:super}\n`;\nexport default styles;"]}
@@ -0,0 +1,2 @@
1
+ declare const styles: import("@spectrum-web-components/base").CSSResult;
2
+ export default styles;
@@ -0,0 +1,71 @@
1
+ /*
2
+ Copyright 2022 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+ import { css } from '@spectrum-web-components/base';
13
+ const styles = css `
14
+ :host([dir=ltr]) .sortedIcon{margin-left:var(
15
+ --spectrum-table-regular-header-sort-icon-gap
16
+ )}:host([dir=rtl]) .sortedIcon{margin-right:var(
17
+ --spectrum-table-regular-header-sort-icon-gap
18
+ )}:host([dir=ltr]){text-align:left}:host([dir=rtl]){text-align:right}:host([dir=ltr]){padding-left:var(
19
+ --spectrum-table-regular-header-padding-left
20
+ );padding-right:var(--spectrum-table-regular-header-padding-right)}:host([dir=rtl]){padding-left:var(--spectrum-table-regular-header-padding-right);padding-right:var(
21
+ --spectrum-table-regular-header-padding-left
22
+ )}:host{border-radius:var(--spectrum-table-regular-header-border-radius);box-sizing:border-box;cursor:default;font-size:var(--spectrum-table-regular-header-text-size);font-weight:var(--spectrum-table-regular-header-text-font-weight);letter-spacing:var(--spectrum-table-regular-header-text-letter-spacing);line-height:var(--spectrum-table-regular-header-text-line-height);min-height:var(--spectrum-table-regular-header-min-height);outline:0;padding-bottom:var(--spectrum-table-regular-header-padding-bottom);padding-top:var(--spectrum-table-regular-header-padding-top);text-transform:uppercase;transition:color var(--spectrum-global-animation-duration-100,.13s) ease-in-out}:host([sortable]){cursor:pointer}:host([sorted=asc]) .sortedIcon,:host([sorted=desc]) .sortedIcon{display:inline-block;margin-top:calc(var(--spectrum-global-dimension-size-25)*-1)}:host([sorted=asc]) .sortedIcon{transform:rotate(-90deg)}:host{position:relative}:host(.focus-visible),:host([focused]){outline:none}:host(:focus-visible),:host([focused]){outline:none}:host([dir=ltr]) .spectrum-Table-headCell.focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:0}:host([dir=ltr]) .spectrum-Table-headCell:focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:0}:host([dir=rtl]) .spectrum-Table-headCell.focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=rtl]) .spectrum-Table-headCell:focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=ltr]) .spectrum-Table-headCell.focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=ltr]) .spectrum-Table-headCell:focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=rtl]) .spectrum-Table-headCell.focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:0}:host([dir=rtl]) .spectrum-Table-headCell:focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:0}:host(.focus-visible):before,:host([focused]):before{border-radius:calc(var(--spectrum-table-regular-cell-border-radius-key-focus) - 1px);bottom:0;content:"";position:absolute;top:0;z-index:1}:host(:focus-visible):before,:host([focused]):before{border-radius:calc(var(--spectrum-table-regular-cell-border-radius-key-focus) - 1px);bottom:0;content:"";position:absolute;top:0;z-index:1}:host([dir=ltr].focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:var(
23
+ --spectrum-table-regular-border-size
24
+ )}:host([dir=ltr]:focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:var(
25
+ --spectrum-table-regular-border-size
26
+ )}:host([dir=rtl].focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:var(
27
+ --spectrum-table-regular-border-size
28
+ )}:host([dir=rtl]:focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:var(
29
+ --spectrum-table-regular-border-size
30
+ )}:host([dir=ltr].focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:var(
31
+ --spectrum-table-regular-border-size
32
+ )}:host([dir=ltr]:focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:var(
33
+ --spectrum-table-regular-border-size
34
+ )}:host([dir=rtl].focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:var(
35
+ --spectrum-table-regular-border-size
36
+ )}:host([dir=rtl]:focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:var(
37
+ --spectrum-table-regular-border-size
38
+ )}:host(.focus-visible):before,:host([focused]):before{bottom:var(--spectrum-table-regular-border-size);top:var(
39
+ --spectrum-table-regular-border-size
40
+ )}:host(:focus-visible):before,:host([focused]):before{bottom:var(--spectrum-table-regular-border-size);top:var(
41
+ --spectrum-table-regular-border-size
42
+ )}:host{background-color:var(
43
+ --spectrum-table-m-regular-header-background-color,var(--spectrum-alias-background-color-transparent)
44
+ );color:var(
45
+ --spectrum-table-m-regular-header-text-color,var(--spectrum-alias-label-text-color)
46
+ )}:host([sortable]) .sortedIcon{color:var(
47
+ --spectrum-table-m-regular-header-sort-icon-color,var(--spectrum-global-color-gray-600)
48
+ )}:host([sortable]:hover){color:var(
49
+ --spectrum-table-m-regular-header-text-color-hover,var(--spectrum-alias-text-color-hover)
50
+ )}:host([sortable]:hover) .sortedIcon{color:var(
51
+ --spectrum-table-m-regular-header-sort-icon-color-hover,var(--spectrum-alias-icon-color-hover)
52
+ )}:host([sortable].focus-visible),:host([sortable][focused]){color:var(
53
+ --spectrum-table-m-regular-header-text-color-key-focus,var(--spectrum-alias-text-color-hover)
54
+ )}:host([sortable]:focus-visible),:host([sortable][focused]){color:var(
55
+ --spectrum-table-m-regular-header-text-color-key-focus,var(--spectrum-alias-text-color-hover)
56
+ )}:host([sortable].focus-visible) .sortedIcon,:host([sortable][focused]) .sortedIcon{color:var(
57
+ --spectrum-table-m-regular-header-sort-icon-color-key-focus,var(--spectrum-alias-icon-color-key-focus)
58
+ )}:host([sortable]:focus-visible) .sortedIcon,:host([sortable][focused]) .sortedIcon{color:var(
59
+ --spectrum-table-m-regular-header-sort-icon-color-key-focus,var(--spectrum-alias-icon-color-key-focus)
60
+ )}:host([sortable][active]){color:var(
61
+ --spectrum-table-m-regular-header-text-color-down,var(--spectrum-alias-text-color-down)
62
+ )}:host([sortable][active]) .sortedIcon{color:var(
63
+ --spectrum-table-m-regular-header-sort-icon-color-down,var(--spectrum-alias-icon-color-down)
64
+ )}:host(.focus-visible):before,:host([focused]):before{box-shadow:inset 0 0 0 2px var(
65
+ --spectrum-table-m-regular-cell-border-color-key-focus,var(--spectrum-alias-border-color-key-focus)
66
+ )}:host(:focus-visible):before,:host([focused]):before{box-shadow:inset 0 0 0 2px var(
67
+ --spectrum-table-m-regular-cell-border-color-key-focus,var(--spectrum-alias-border-color-key-focus)
68
+ )}
69
+ `;
70
+ export default styles;
71
+ //# sourceMappingURL=spectrum-table-head-cell.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spectrum-table-head-cell.css.js","sourceRoot":"","sources":["spectrum-table-head-cell.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host([dir=ltr]) .sortedIcon{margin-left:var(\n--spectrum-table-regular-header-sort-icon-gap\n)}:host([dir=rtl]) .sortedIcon{margin-right:var(\n--spectrum-table-regular-header-sort-icon-gap\n)}:host([dir=ltr]){text-align:left}:host([dir=rtl]){text-align:right}:host([dir=ltr]){padding-left:var(\n--spectrum-table-regular-header-padding-left\n);padding-right:var(--spectrum-table-regular-header-padding-right)}:host([dir=rtl]){padding-left:var(--spectrum-table-regular-header-padding-right);padding-right:var(\n--spectrum-table-regular-header-padding-left\n)}:host{border-radius:var(--spectrum-table-regular-header-border-radius);box-sizing:border-box;cursor:default;font-size:var(--spectrum-table-regular-header-text-size);font-weight:var(--spectrum-table-regular-header-text-font-weight);letter-spacing:var(--spectrum-table-regular-header-text-letter-spacing);line-height:var(--spectrum-table-regular-header-text-line-height);min-height:var(--spectrum-table-regular-header-min-height);outline:0;padding-bottom:var(--spectrum-table-regular-header-padding-bottom);padding-top:var(--spectrum-table-regular-header-padding-top);text-transform:uppercase;transition:color var(--spectrum-global-animation-duration-100,.13s) ease-in-out}:host([sortable]){cursor:pointer}:host([sorted=asc]) .sortedIcon,:host([sorted=desc]) .sortedIcon{display:inline-block;margin-top:calc(var(--spectrum-global-dimension-size-25)*-1)}:host([sorted=asc]) .sortedIcon{transform:rotate(-90deg)}:host{position:relative}:host(.focus-visible),:host([focused]){outline:none}:host(:focus-visible),:host([focused]){outline:none}:host([dir=ltr]) .spectrum-Table-headCell.focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:0}:host([dir=ltr]) .spectrum-Table-headCell:focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:0}:host([dir=rtl]) .spectrum-Table-headCell.focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=rtl]) .spectrum-Table-headCell:focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=ltr]) .spectrum-Table-headCell.focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=ltr]) .spectrum-Table-headCell:focus-visible:before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:0}:host([dir=rtl]) .spectrum-Table-headCell.focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:0}:host([dir=rtl]) .spectrum-Table-headCell:focus-visible:before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:0}:host(.focus-visible):before,:host([focused]):before{border-radius:calc(var(--spectrum-table-regular-cell-border-radius-key-focus) - 1px);bottom:0;content:\"\";position:absolute;top:0;z-index:1}:host(:focus-visible):before,:host([focused]):before{border-radius:calc(var(--spectrum-table-regular-cell-border-radius-key-focus) - 1px);bottom:0;content:\"\";position:absolute;top:0;z-index:1}:host([dir=ltr].focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:var(\n--spectrum-table-regular-border-size\n)}:host([dir=ltr]:focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{right:var(\n--spectrum-table-regular-border-size\n)}:host([dir=rtl].focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:var(\n--spectrum-table-regular-border-size\n)}:host([dir=rtl]:focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{left:var(\n--spectrum-table-regular-border-size\n)}:host([dir=ltr].focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:var(\n--spectrum-table-regular-border-size\n)}:host([dir=ltr]:focus-visible):before,:host([dir=ltr][focused]) .spectrum-Table-headCell:before{left:var(\n--spectrum-table-regular-border-size\n)}:host([dir=rtl].focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:var(\n--spectrum-table-regular-border-size\n)}:host([dir=rtl]:focus-visible):before,:host([dir=rtl][focused]) .spectrum-Table-headCell:before{right:var(\n--spectrum-table-regular-border-size\n)}:host(.focus-visible):before,:host([focused]):before{bottom:var(--spectrum-table-regular-border-size);top:var(\n--spectrum-table-regular-border-size\n)}:host(:focus-visible):before,:host([focused]):before{bottom:var(--spectrum-table-regular-border-size);top:var(\n--spectrum-table-regular-border-size\n)}:host{background-color:var(\n--spectrum-table-m-regular-header-background-color,var(--spectrum-alias-background-color-transparent)\n);color:var(\n--spectrum-table-m-regular-header-text-color,var(--spectrum-alias-label-text-color)\n)}:host([sortable]) .sortedIcon{color:var(\n--spectrum-table-m-regular-header-sort-icon-color,var(--spectrum-global-color-gray-600)\n)}:host([sortable]:hover){color:var(\n--spectrum-table-m-regular-header-text-color-hover,var(--spectrum-alias-text-color-hover)\n)}:host([sortable]:hover) .sortedIcon{color:var(\n--spectrum-table-m-regular-header-sort-icon-color-hover,var(--spectrum-alias-icon-color-hover)\n)}:host([sortable].focus-visible),:host([sortable][focused]){color:var(\n--spectrum-table-m-regular-header-text-color-key-focus,var(--spectrum-alias-text-color-hover)\n)}:host([sortable]:focus-visible),:host([sortable][focused]){color:var(\n--spectrum-table-m-regular-header-text-color-key-focus,var(--spectrum-alias-text-color-hover)\n)}:host([sortable].focus-visible) .sortedIcon,:host([sortable][focused]) .sortedIcon{color:var(\n--spectrum-table-m-regular-header-sort-icon-color-key-focus,var(--spectrum-alias-icon-color-key-focus)\n)}:host([sortable]:focus-visible) .sortedIcon,:host([sortable][focused]) .sortedIcon{color:var(\n--spectrum-table-m-regular-header-sort-icon-color-key-focus,var(--spectrum-alias-icon-color-key-focus)\n)}:host([sortable][active]){color:var(\n--spectrum-table-m-regular-header-text-color-down,var(--spectrum-alias-text-color-down)\n)}:host([sortable][active]) .sortedIcon{color:var(\n--spectrum-table-m-regular-header-sort-icon-color-down,var(--spectrum-alias-icon-color-down)\n)}:host(.focus-visible):before,:host([focused]):before{box-shadow:inset 0 0 0 2px var(\n--spectrum-table-m-regular-cell-border-color-key-focus,var(--spectrum-alias-border-color-key-focus)\n)}:host(:focus-visible):before,:host([focused]):before{box-shadow:inset 0 0 0 2px var(\n--spectrum-table-m-regular-cell-border-color-key-focus,var(--spectrum-alias-border-color-key-focus)\n)}\n`;\nexport default styles;"]}
@@ -0,0 +1,2 @@
1
+ declare const styles: import("@spectrum-web-components/base").CSSResult;
2
+ export default styles;
@@ -0,0 +1,17 @@
1
+ /*
2
+ Copyright 2022 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+ import { css } from '@spectrum-web-components/base';
13
+ const styles = css `
14
+
15
+ `;
16
+ export default styles;
17
+ //# sourceMappingURL=spectrum-table-head.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spectrum-table-head.css.js","sourceRoot":"","sources":["spectrum-table-head.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;CAEjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n\n`;\nexport default styles;"]}
@@ -0,0 +1,2 @@
1
+ declare const styles: import("@spectrum-web-components/base").CSSResult;
2
+ export default styles;
@@ -0,0 +1,43 @@
1
+ /*
2
+ Copyright 2022 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+ import { css } from '@spectrum-web-components/base';
13
+ const styles = css `
14
+ :host([dir=ltr][drop-target]):before{left:0}:host([dir=rtl][drop-target]):before{right:0}:host([dir=ltr][drop-target]):before{right:0}:host([dir=rtl][drop-target]):before{left:0}:host([drop-target]):before{bottom:0;content:"";position:absolute;top:0;z-index:1}:host{cursor:pointer;position:relative;transition:background-color var(--spectrum-global-animation-duration-100,.13s) ease-in-out}:host(:focus){outline:0}:host([dir=ltr]) .spectrum-Table-checkboxCell{padding-right:var(
15
+ --spectrum-table-regular-cell-checkbox-padding-right
16
+ )}:host([dir=rtl]) .spectrum-Table-checkboxCell{padding-left:var(
17
+ --spectrum-table-regular-cell-checkbox-padding-right
18
+ )}:host{background-color:var(
19
+ --spectrum-table-m-regular-row-background-color,var(--spectrum-alias-background-color-transparent)
20
+ );border-bottom:1px solid var(
21
+ --spectrum-table-m-regular-border-color,var(--spectrum-alias-border-color-mid)
22
+ )}:host(:hover){background-color:var(
23
+ --spectrum-table-m-regular-row-background-color-hover,var(--spectrum-alias-highlight-hover)
24
+ )}:host(.focus-visible),:host([focused]){background-color:var(
25
+ --spectrum-table-m-regular-row-background-color-hover,var(--spectrum-alias-highlight-hover)
26
+ )}:host(:focus-visible),:host([focused]){background-color:var(
27
+ --spectrum-table-m-regular-row-background-color-hover,var(--spectrum-alias-highlight-hover)
28
+ )}:host(:active){background-color:var(
29
+ --spectrum-table-m-regular-row-background-color-down,var(--spectrum-alias-highlight-down)
30
+ )}:host([selected]){background-color:var(
31
+ --spectrum-table-m-regular-row-background-color-selected,var(--spectrum-alias-highlight-selected)
32
+ )}:host([selected]:hover){background-color:var(
33
+ --spectrum-table-m-regular-row-background-color-selected-hover,var(--spectrum-alias-highlight-selected-hover)
34
+ )}:host([selected].focus-visible),:host([selected][focused]){background-color:var(
35
+ --spectrum-table-m-regular-row-background-color-selected-key-focus,var(--spectrum-alias-highlight-selected-hover)
36
+ )}:host([selected]:focus-visible),:host([selected][focused]){background-color:var(
37
+ --spectrum-table-m-regular-row-background-color-selected-key-focus,var(--spectrum-alias-highlight-selected-hover)
38
+ )}:host([drop-target]):before{background-color:var(--spectrum-alias-highlight-selected);box-shadow:inset 0 0 0 2px var(
39
+ --spectrum-alias-border-color-key-focus,var(--spectrum-global-color-blue-400)
40
+ )}
41
+ `;
42
+ export default styles;
43
+ //# sourceMappingURL=spectrum-table-row.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spectrum-table-row.css.js","sourceRoot":"","sources":["spectrum-table-row.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2022 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host([dir=ltr][drop-target]):before{left:0}:host([dir=rtl][drop-target]):before{right:0}:host([dir=ltr][drop-target]):before{right:0}:host([dir=rtl][drop-target]):before{left:0}:host([drop-target]):before{bottom:0;content:\"\";position:absolute;top:0;z-index:1}:host{cursor:pointer;position:relative;transition:background-color var(--spectrum-global-animation-duration-100,.13s) ease-in-out}:host(:focus){outline:0}:host([dir=ltr]) .spectrum-Table-checkboxCell{padding-right:var(\n--spectrum-table-regular-cell-checkbox-padding-right\n)}:host([dir=rtl]) .spectrum-Table-checkboxCell{padding-left:var(\n--spectrum-table-regular-cell-checkbox-padding-right\n)}:host{background-color:var(\n--spectrum-table-m-regular-row-background-color,var(--spectrum-alias-background-color-transparent)\n);border-bottom:1px solid var(\n--spectrum-table-m-regular-border-color,var(--spectrum-alias-border-color-mid)\n)}:host(:hover){background-color:var(\n--spectrum-table-m-regular-row-background-color-hover,var(--spectrum-alias-highlight-hover)\n)}:host(.focus-visible),:host([focused]){background-color:var(\n--spectrum-table-m-regular-row-background-color-hover,var(--spectrum-alias-highlight-hover)\n)}:host(:focus-visible),:host([focused]){background-color:var(\n--spectrum-table-m-regular-row-background-color-hover,var(--spectrum-alias-highlight-hover)\n)}:host(:active){background-color:var(\n--spectrum-table-m-regular-row-background-color-down,var(--spectrum-alias-highlight-down)\n)}:host([selected]){background-color:var(\n--spectrum-table-m-regular-row-background-color-selected,var(--spectrum-alias-highlight-selected)\n)}:host([selected]:hover){background-color:var(\n--spectrum-table-m-regular-row-background-color-selected-hover,var(--spectrum-alias-highlight-selected-hover)\n)}:host([selected].focus-visible),:host([selected][focused]){background-color:var(\n--spectrum-table-m-regular-row-background-color-selected-key-focus,var(--spectrum-alias-highlight-selected-hover)\n)}:host([selected]:focus-visible),:host([selected][focused]){background-color:var(\n--spectrum-table-m-regular-row-background-color-selected-key-focus,var(--spectrum-alias-highlight-selected-hover)\n)}:host([drop-target]):before{background-color:var(--spectrum-alias-highlight-selected);box-shadow:inset 0 0 0 2px var(\n--spectrum-alias-border-color-key-focus,var(--spectrum-global-color-blue-400)\n)}\n`;\nexport default styles;"]}
@@ -0,0 +1,2 @@
1
+ declare const styles: import("@spectrum-web-components/base").CSSResult;
2
+ export default styles;