@spectrum-web-components/table 0.50.0-beta.1 → 0.50.0-beta.11
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/package.json +13 -7
- package/src/TableHeadCell.dev.js +2 -1
- package/src/TableHeadCell.dev.js.map +2 -2
- package/src/TableHeadCell.js +2 -2
- package/src/TableHeadCell.js.map +3 -3
- package/src/spectrum-table-body.css.dev.js +1 -1
- package/src/spectrum-table-body.css.dev.js.map +1 -1
- package/src/spectrum-table-body.css.js +1 -1
- package/src/spectrum-table-body.css.js.map +1 -1
- package/src/spectrum-table-cell.css.dev.js +1 -1
- package/src/spectrum-table-cell.css.dev.js.map +1 -1
- package/src/spectrum-table-cell.css.js +1 -1
- package/src/spectrum-table-cell.css.js.map +1 -1
- package/src/spectrum-table-checkbox-cell.css.dev.js +1 -1
- package/src/spectrum-table-checkbox-cell.css.dev.js.map +1 -1
- package/src/spectrum-table-checkbox-cell.css.js +1 -1
- package/src/spectrum-table-checkbox-cell.css.js.map +1 -1
- package/src/spectrum-table-head-cell.css.dev.js +1 -1
- package/src/spectrum-table-head-cell.css.dev.js.map +1 -1
- package/src/spectrum-table-head-cell.css.js +1 -1
- package/src/spectrum-table-head-cell.css.js.map +1 -1
- package/src/spectrum-table-row.css.dev.js +1 -1
- package/src/spectrum-table-row.css.dev.js.map +1 -1
- package/src/spectrum-table-row.css.js +1 -1
- package/src/spectrum-table-row.css.js.map +1 -1
- package/src/spectrum-table.css.dev.js +1 -1
- package/src/spectrum-table.css.dev.js.map +1 -1
- package/src/spectrum-table.css.js +3 -3
- package/src/spectrum-table.css.js.map +1 -1
- package/src/table-body.css.dev.js +1 -1
- package/src/table-body.css.dev.js.map +1 -1
- package/src/table-body.css.js +1 -1
- package/src/table-body.css.js.map +1 -1
- package/src/table-cell-overrides.css.d.ts +2 -0
- package/src/table-cell-overrides.css.dev.js +7 -0
- package/src/table-cell-overrides.css.dev.js.map +7 -0
- package/src/table-cell-overrides.css.js +4 -0
- package/src/table-cell-overrides.css.js.map +7 -0
- package/src/table-cell.css.dev.js +1 -1
- package/src/table-cell.css.dev.js.map +1 -1
- package/src/table-cell.css.js +1 -1
- package/src/table-cell.css.js.map +1 -1
- package/src/table-checkbox-cell-overrides.css.d.ts +2 -0
- package/src/table-checkbox-cell-overrides.css.dev.js +7 -0
- package/src/table-checkbox-cell-overrides.css.dev.js.map +7 -0
- package/src/table-checkbox-cell-overrides.css.js +4 -0
- package/src/table-checkbox-cell-overrides.css.js.map +7 -0
- package/src/table-checkbox-cell.css.dev.js +1 -1
- package/src/table-checkbox-cell.css.dev.js.map +1 -1
- package/src/table-checkbox-cell.css.js +1 -1
- package/src/table-checkbox-cell.css.js.map +1 -1
- package/src/table-head-cell-overrides.css.d.ts +2 -0
- package/src/table-head-cell-overrides.css.dev.js +7 -0
- package/src/table-head-cell-overrides.css.dev.js.map +7 -0
- package/src/table-head-cell-overrides.css.js +4 -0
- package/src/table-head-cell-overrides.css.js.map +7 -0
- package/src/table-head-cell.css.dev.js +1 -1
- package/src/table-head-cell.css.dev.js.map +1 -1
- package/src/table-head-cell.css.js +1 -1
- package/src/table-head-cell.css.js.map +1 -1
- package/src/table-head-overrides.css.d.ts +2 -0
- package/src/table-head-overrides.css.dev.js +7 -0
- package/src/table-head-overrides.css.dev.js.map +7 -0
- package/src/table-head-overrides.css.js +4 -0
- package/src/table-head-overrides.css.js.map +7 -0
- package/src/table-overrides.css.d.ts +2 -0
- package/src/table-overrides.css.dev.js +7 -0
- package/src/table-overrides.css.dev.js.map +7 -0
- package/src/table-overrides.css.js +4 -0
- package/src/table-overrides.css.js.map +7 -0
- package/src/table-row-overrides.css.d.ts +2 -0
- package/src/table-row-overrides.css.dev.js +7 -0
- package/src/table-row-overrides.css.dev.js.map +7 -0
- package/src/table-row-overrides.css.js +4 -0
- package/src/table-row-overrides.css.js.map +7 -0
- package/src/table-row.css.dev.js +1 -1
- package/src/table-row.css.dev.js.map +1 -1
- package/src/table-row.css.js +1 -1
- package/src/table-row.css.js.map +1 -1
- package/src/table.css.dev.js +1 -1
- package/src/table.css.dev.js.map +1 -1
- package/src/table.css.js +1 -1
- package/src/table.css.js.map +1 -1
- package/test/helpers.js +1 -1
- package/test/helpers.js.map +1 -1
- package/test/virtualized-table-selects.test.js +68 -104
- package/test/virtualized-table-selects.test.js.map +2 -2
package/src/table.css.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["table.css.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-medium);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-medium);--spectrum-table-min-header-height:var(--spectrum-component-height-100);--spectrum-table-min-row-height:var(--spectrum-table-row-height-medium-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-medium-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-medium-regular);--spectrum-table-cell-inline-space:var(--spectrum-table-edge-to-content);--spectrum-table-border-radius:var(--spectrum-corner-radius-100);--spectrum-table-border-width:var(--spectrum-table-border-divider-width);--spectrum-table-outer-border-inline-width:var(--spectrum-table-border-divider-width);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-default-vertical-align:top;--spectrum-table-header-vertical-align:middle;--spectrum-table-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-row-font-family:var(--spectrum-sans-font-family-stack);--spectrum-table-row-font-weight:var(--spectrum-regular-font-weight);--spectrum-table-row-font-style:var(--spectrum-default-font-style);--spectrum-table-row-font-size:var(--spectrum-font-size-100);--spectrum-table-row-line-height:var(--spectrum-line-height-100);--spectrum-table-border-color:var(--spectrum-gray-300);--spectrum-table-divider-color:var(--spectrum-gray-300);--spectrum-table-header-background-color:var(--spectrum-transparent-white-100);--spectrum-table-header-text-color:var(--spectrum-body-color);--spectrum-table-row-background-color:var(--spectrum-gray-50);--spectrum-table-row-text-color:var(--spectrum-neutral-content-color-default);--spectrum-table-selected-row-background-color:rgba(var(--spectrum-blue-900-rgb),var(--spectrum-table-selected-row-background-opacity));--spectrum-table-selected-row-background-color-non-emphasized:rgba(var(--spectrum-gray-700-rgb),var(--spectrum-table-selected-row-background-opacity-non-emphasized));--spectrum-table-row-background-color-hover:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-table-row-hover-opacity));--spectrum-table-row-active-color:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-table-row-down-opacity));--spectrum-table-selected-row-background-color-focus:rgba(var(--spectrum-blue-900-rgb),var(--spectrum-table-selected-row-background-opacity-hover));--spectrum-table-selected-row-background-color-non-emphasized-focus:rgba(var(--spectrum-gray-700-rgb),var(--spectrum-table-selected-row-background-opacity-non-emphasized-hover));--spectrum-table-icon-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-table-icon-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--spectrum-table-icon-color-active:var(--spectrum-neutral-subdued-content-color-down);--spectrum-table-icon-color-focus:var(--spectrum-neutral-subdued-content-color-focus);--spectrum-table-icon-color-focus-hover:var(--spectrum-neutral-subdued-content-focus-hover);--spectrum-table-icon-color-key-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-medium);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-medium-regular);--spectrum-table-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-table-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-table-drop-zone-background-color:rgba(var(--spectrum-drop-zone-background-color-rgb),var(--spectrum-drop-zone-background-color-opacity));--spectrum-table-drop-zone-outline-color:var(--spectrum-accent-visual-color);--spectrum-table-transition-duration:var(--spectrum-animation-duration-100);--spectrum-table-summary-row-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-summary-row-background-color:var(--spectrum-gray-200);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-medium);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-100);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-100);--spectrum-table-section-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-section-header-background-color:var(--spectrum-gray-200);--spectrum-table-collapsible-tier-indent:var(--spectrum-spacing-300);--spectrum-table-collapsible-disclosure-inline-spacing:0px;--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-100);--spectrum-table-collapsible-icon-animation-duration:var(--spectrum-animation-duration-100);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-medium-regular);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-300);--spectrum-table-cell-background-color:var(--highcontrast-table-row-background-color,var(--mod-table-row-background-color,var(--spectrum-table-row-background-color)));--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color-non-emphasized,var(--spectrum-table-selected-row-background-color-non-emphasized)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-non-emphasized-focus,var(--spectrum-table-selected-row-background-color-non-emphasized-focus)));--mod-thumbnail-size:var(--mod-table-thumbnail-size,var(--spectrum-table-thumbnail-size))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host([size=s]){--spectrum-table-min-header-height:var(--spectrum-component-height-100);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-small);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-small);--spectrum-table-min-row-height:var(--spectrum-table-row-height-small-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-small-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-small-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-row-font-size:var(--spectrum-font-size-75);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-small);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-small-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-small);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-75);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-75);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-75);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-small-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-200)}:host([size=l]){--spectrum-table-min-header-height:var(--spectrum-component-height-200);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-large);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-large);--spectrum-table-min-row-height:var(--spectrum-table-row-height-large-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-large-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-large-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-200);--spectrum-table-row-font-size:var(--spectrum-font-size-200);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-large);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-large-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-large);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-200);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-200);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-200);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-large-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-200);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-500)}:host([size=xl]){--spectrum-table-min-header-height:var(--spectrum-component-height-300);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-extra-large);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-extra-large);--spectrum-table-min-row-height:var(--spectrum-table-row-height-extra-large-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-extra-large-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-extra-large-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-300);--spectrum-table-row-font-size:var(--spectrum-font-size-300);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-extra-large);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-extra-large-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-extra-large);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-300);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-300);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-300);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-extra-large-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-300);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-700)}:host([density=compact]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-medium-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-medium-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-medium-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-medium-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-medium-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-200))}:host([density=compact][size=s]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-small-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-small-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-small-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-small-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-small-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-50))}:host([density=compact][size=l]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-large-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-large-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-large-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-large-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-large-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-300))}:host([density=compact][size=xl]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-extra-large-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-extra-large-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-extra-large-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-extra-large-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-500))}:host([density=spacious]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-medium-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-medium-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-medium-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-medium-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-medium-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-500))}:host([density=spacious][size=s]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-small-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-small-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-small-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-small-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-small-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-300))}:host([density=spacious][size=l]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-large-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-large-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-large-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-large-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-large-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-700))}:host([density=spacious][size=xl]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-extra-large-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-extra-large-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-extra-large-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-extra-large-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-800))}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color,var(--spectrum-table-selected-row-background-color)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-focus,var(--spectrum-table-selected-row-background-color-focus)))}:host([quiet]){--mod-table-border-radius:var(--mod-table-border-radius--quiet,0px);--mod-table-outer-border-inline-width:var(--mod-table-outer-border-inline-width--quiet,0px);--mod-table-header-background-color:var(--mod-table-header-background-color--quiet,var(--spectrum-transparent-white-100));--mod-table-row-background-color:var(--mod-table-row-background-color--quiet,var(--spectrum-transparent-white-100))}@media (forced-colors:active){:host{--highcontrast-table-row-background-color:Canvas;--highcontrast-table-row-text-color:CanvasText;--highcontrast-table-divider-color:CanvasText;--highcontrast-table-border-color:CanvasText;--highcontrast-table-icon-color:CanvasText;--highcontrast-table-icon-color-focus:Highlight;--highcontrast-table-selected-row-background-color:Highlight;--highcontrast-table-selected-row-text-color:HighlightText;--highcontrast-table-selected-row-text-color-default:HighlightText;--highcontrast-table-selected-row-background-color-focus:Highlight;--highcontrast-table-selected-row-text-color-focus:HighlightText;--highcontrast-table-row-background-color-hover:Highlight;--highcontrast-table-row-text-color-hover:HighlightText;--highcontrast-table-section-header-text-color:Canvas;--highcontrast-table-section-header-background-color:CanvasText;--highcontrast-table-focus-indicator-color:Highlight;--highcontrast-table-transition-duration:0}@supports (color:SelectedItem){:host{--highcontrast-table-selected-row-background-color:SelectedItem;--highcontrast-table-selected-row-text-color:SelectedItemText;--highcontrast-table-selected-row-text-color-default:SelectedItemText}}}:host:not(.spectrum-Table-scroller){border-collapse:initial;border-spacing:0}:host:not(.spectrum-Table-scroller){display:table}:host{flex-direction:column;display:flex}\n`;\nexport default styles;"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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 @media (forced-colors:active){:host{--highcontrast-table-row-background-color:Canvas;--highcontrast-table-row-text-color:CanvasText;--highcontrast-table-divider-color:CanvasText;--highcontrast-table-border-color:CanvasText;--highcontrast-table-icon-color:CanvasText;--highcontrast-table-icon-color-focus:Highlight;--highcontrast-table-selected-row-background-color:Highlight;--highcontrast-table-selected-row-text-color:HighlightText;--highcontrast-table-selected-row-text-color-default:HighlightText;--highcontrast-table-selected-row-background-color-focus:Highlight;--highcontrast-table-selected-row-text-color-focus:HighlightText;--highcontrast-table-row-background-color-hover:Highlight;--highcontrast-table-row-text-color-hover:HighlightText;--highcontrast-table-section-header-text-color:Canvas;--highcontrast-table-section-header-background-color:CanvasText;--highcontrast-table-focus-indicator-color:Highlight;--highcontrast-table-transition-duration:0}@supports (color:SelectedItem){:host{--highcontrast-table-selected-row-background-color:SelectedItem;--highcontrast-table-selected-row-text-color:SelectedItemText;--highcontrast-table-selected-row-text-color-default:SelectedItemText}}}:host{--mod-thumbnail-size:var(--mod-table-thumbnail-size,var(--spectrum-table-thumbnail-size));--spectrum-table-cell-background-color:var(--highcontrast-table-row-background-color,var(--mod-table-row-background-color,var(--spectrum-table-row-background-color)));--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color-non-emphasized,var(--spectrum-table-selected-row-background-color-non-emphasized)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-non-emphasized-focus,var(--spectrum-table-selected-row-background-color-non-emphasized-focus)))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host:not(.spectrum-Table-scroller){border-collapse:initial;border-spacing:0}:host:not(.spectrum-Table-scroller){display:table}:host([density=compact]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-medium-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-medium-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-medium-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-medium-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-medium-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-200))}:host([density=compact][size=s]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-small-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-small-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-small-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-small-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-small-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-50))}:host([density=compact][size=l]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-large-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-large-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-large-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-large-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-large-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-300))}:host([density=compact][size=xl]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-extra-large-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-extra-large-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-extra-large-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-extra-large-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-500))}:host([density=spacious]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-medium-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-medium-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-medium-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-medium-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-medium-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-500))}:host([density=spacious][size=s]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-small-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-small-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-small-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-small-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-small-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-300))}:host([density=spacious][size=l]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-large-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-large-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-large-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-large-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-large-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-700))}:host([density=spacious][size=xl]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-extra-large-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-extra-large-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-extra-large-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-extra-large-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-800))}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color,var(--spectrum-table-selected-row-background-color)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-focus,var(--spectrum-table-selected-row-background-color-focus)))}:host([quiet]){--spectrum-table-border-radius:var(--mod-table-border-radius--quiet,0px);--spectrum-table-outer-border-inline-width:var(--mod-table-outer-border-inline-width--quiet,0px);--spectrum-table-header-background-color:var(--mod-table-header-background-color--quiet,var(--spectrum-transparent-white-100));--spectrum-table-row-background-color:var(--mod-table-row-background-color--quiet,var(--spectrum-transparent-white-100))}:host{--spectrum-table-header-top-to-text:var(--system-table-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-header-bottom-to-text);--spectrum-table-min-header-height:var(--system-table-min-header-height);--spectrum-table-min-row-height:var(--system-table-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-row-bottom-to-text);--spectrum-table-cell-inline-space:var(--system-table-cell-inline-space);--spectrum-table-border-radius:var(--system-table-border-radius);--spectrum-table-border-width:var(--system-table-border-width);--spectrum-table-outer-border-inline-width:var(--system-table-outer-border-inline-width);--spectrum-table-icon-to-text:var(--system-table-icon-to-text);--spectrum-table-default-vertical-align:var(--system-table-default-vertical-align);--spectrum-table-header-vertical-align:var(--system-table-header-vertical-align);--spectrum-table-header-font-weight:var(--system-table-header-font-weight);--spectrum-table-row-font-family:var(--system-table-row-font-family);--spectrum-table-row-font-weight:var(--system-table-row-font-weight);--spectrum-table-row-font-style:var(--system-table-row-font-style);--spectrum-table-row-font-size:var(--system-table-row-font-size);--spectrum-table-row-line-height:var(--system-table-row-line-height);--spectrum-table-border-color:var(--system-table-border-color);--spectrum-table-divider-color:var(--system-table-divider-color);--spectrum-table-header-background-color:var(--system-table-header-background-color);--spectrum-table-header-text-color:var(--system-table-header-text-color);--spectrum-table-row-background-color:var(--system-table-row-background-color);--spectrum-table-row-text-color:var(--system-table-row-text-color);--spectrum-table-selected-row-background-color:var(--system-table-selected-row-background-color);--spectrum-table-selected-row-background-color-non-emphasized:var(--system-table-selected-row-background-color-non-emphasized);--spectrum-table-row-background-color-hover:var(--system-table-row-background-color-hover);--spectrum-table-row-active-color:var(--system-table-row-active-color);--spectrum-table-selected-row-background-color-focus:var(--system-table-selected-row-background-color-focus);--spectrum-table-selected-row-background-color-non-emphasized-focus:var(--system-table-selected-row-background-color-non-emphasized-focus);--spectrum-table-icon-color-default:var(--system-table-icon-color-default);--spectrum-table-icon-color-hover:var(--system-table-icon-color-hover);--spectrum-table-icon-color-active:var(--system-table-icon-color-active);--spectrum-table-icon-color-focus:var(--system-table-icon-color-focus);--spectrum-table-icon-color-focus-hover:var(--system-table-icon-color-focus-hover);--spectrum-table-icon-color-key-focus:var(--system-table-icon-color-key-focus);--spectrum-table-header-checkbox-block-spacing:var(--system-table-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-row-checkbox-block-spacing);--spectrum-table-focus-indicator-thickness:var(--system-table-focus-indicator-thickness);--spectrum-table-focus-indicator-color:var(--system-table-focus-indicator-color);--spectrum-table-drop-zone-background-color:var(--system-table-drop-zone-background-color);--spectrum-table-drop-zone-outline-color:var(--system-table-drop-zone-outline-color);--spectrum-table-transition-duration:var(--system-table-transition-duration);--spectrum-table-summary-row-font-weight:var(--system-table-summary-row-font-weight);--spectrum-table-summary-row-background-color:var(--system-table-summary-row-background-color);--spectrum-table-section-header-min-height:var(--system-table-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-section-header-block-end-spacing);--spectrum-table-section-header-font-weight:var(--system-table-section-header-font-weight);--spectrum-table-section-header-background-color:var(--system-table-section-header-background-color);--spectrum-table-collapsible-tier-indent:var(--system-table-collapsible-tier-indent);--spectrum-table-collapsible-disclosure-inline-spacing:var(--system-table-collapsible-disclosure-inline-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-disclosure-icon-size);--spectrum-table-collapsible-icon-animation-duration:var(--system-table-collapsible-icon-animation-duration);--spectrum-table-thumbnail-to-text:var(--system-table-thumbnail-to-text);--spectrum-table-thumbnail-block-spacing:var(--system-table-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-thumbnail-size);--spectrum-table-cell-background-color:var(--system-table-cell-background-color);--spectrum-table-selected-cell-background-color:var(--system-table-selected-cell-background-color);--spectrum-table-selected-cell-background-color-focus:var(--system-table-selected-cell-background-color-focus)}:host([size=s]){--spectrum-table-min-header-height:var(--system-table-size-s-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-s-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-s-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-s-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-s-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-s-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-s-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-s-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-s-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-s-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-s-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-s-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-s-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-s-thumbnail-size)}:host([size=l]){--spectrum-table-min-header-height:var(--system-table-size-l-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-l-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-l-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-l-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-l-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-l-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-l-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-l-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-l-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-l-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-l-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-l-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-l-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-l-thumbnail-size)}:host([size=xl]){--spectrum-table-min-header-height:var(--system-table-size-xl-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-xl-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-xl-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-xl-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-xl-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-xl-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-xl-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-xl-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-xl-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-xl-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-xl-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-xl-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-xl-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-xl-thumbnail-size)}:host([density=compact]){--spectrum-table-min-row-height:var(--system-table-compact-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-thumbnail-size)}:host([density=compact][size=s]){--spectrum-table-min-row-height:var(--system-table-compact-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-s-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-s-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-s-thumbnail-size)}:host([density=compact][size=l]){--spectrum-table-min-row-height:var(--system-table-compact-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-l-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-l-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-l-thumbnail-size)}:host([density=compact][size=xl]){--spectrum-table-min-row-height:var(--system-table-compact-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-xl-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-xl-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-xl-thumbnail-size)}:host([density=spacious]){--spectrum-table-min-row-height:var(--system-table-spacious-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-thumbnail-size)}:host([density=spacious][size=s]){--spectrum-table-min-row-height:var(--system-table-spacious-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-s-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-s-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-s-thumbnail-size)}:host([density=spacious][size=l]){--spectrum-table-min-row-height:var(--system-table-spacious-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-l-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-l-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-l-thumbnail-size)}:host([density=spacious][size=xl]){--spectrum-table-min-row-height:var(--system-table-spacious-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-xl-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-xl-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-xl-thumbnail-size)}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--system-table-emphasized-selected-cell-background-color);--spectrum-table-selected-cell-background-color-focus:var(--system-table-emphasized-selected-cell-background-color-focus)}:host([quiet]){--spectrum-table-border-radius:var(--system-table-quiet-border-radius);--spectrum-table-outer-border-inline-width:var(--system-table-quiet-outer-border-inline-width);--spectrum-table-header-background-color:var(--system-table-quiet-header-background-color);--spectrum-table-row-background-color:var(--system-table-quiet-row-background-color)}:host{flex-direction:column;display:flex}\n`;\nexport default styles;"],
|
|
5
5
|
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/src/table.css.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";import{css as t}from"@spectrum-web-components/base";const e=t`
|
|
2
|
-
:host{--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-medium);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-medium);--spectrum-table-min-header-height:var(--spectrum-component-height-100);--spectrum-table-min-row-height:var(--spectrum-table-row-height-medium-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-medium-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-medium-regular);--spectrum-table-cell-inline-space:var(--spectrum-table-edge-to-content);--spectrum-table-border-radius:var(--spectrum-corner-radius-100);--spectrum-table-border-width:var(--spectrum-table-border-divider-width);--spectrum-table-outer-border-inline-width:var(--spectrum-table-border-divider-width);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-default-vertical-align:top;--spectrum-table-header-vertical-align:middle;--spectrum-table-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-row-font-family:var(--spectrum-sans-font-family-stack);--spectrum-table-row-font-weight:var(--spectrum-regular-font-weight);--spectrum-table-row-font-style:var(--spectrum-default-font-style);--spectrum-table-row-font-size:var(--spectrum-font-size-100);--spectrum-table-row-line-height:var(--spectrum-line-height-100);--spectrum-table-border-color:var(--spectrum-gray-300);--spectrum-table-divider-color:var(--spectrum-gray-300);--spectrum-table-header-background-color:var(--spectrum-transparent-white-100);--spectrum-table-header-text-color:var(--spectrum-body-color);--spectrum-table-row-background-color:var(--spectrum-gray-50);--spectrum-table-row-text-color:var(--spectrum-neutral-content-color-default);--spectrum-table-selected-row-background-color:rgba(var(--spectrum-blue-900-rgb),var(--spectrum-table-selected-row-background-opacity));--spectrum-table-selected-row-background-color-non-emphasized:rgba(var(--spectrum-gray-700-rgb),var(--spectrum-table-selected-row-background-opacity-non-emphasized));--spectrum-table-row-background-color-hover:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-table-row-hover-opacity));--spectrum-table-row-active-color:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-table-row-down-opacity));--spectrum-table-selected-row-background-color-focus:rgba(var(--spectrum-blue-900-rgb),var(--spectrum-table-selected-row-background-opacity-hover));--spectrum-table-selected-row-background-color-non-emphasized-focus:rgba(var(--spectrum-gray-700-rgb),var(--spectrum-table-selected-row-background-opacity-non-emphasized-hover));--spectrum-table-icon-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-table-icon-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--spectrum-table-icon-color-active:var(--spectrum-neutral-subdued-content-color-down);--spectrum-table-icon-color-focus:var(--spectrum-neutral-subdued-content-color-focus);--spectrum-table-icon-color-focus-hover:var(--spectrum-neutral-subdued-content-focus-hover);--spectrum-table-icon-color-key-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-medium);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-medium-regular);--spectrum-table-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-table-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-table-drop-zone-background-color:rgba(var(--spectrum-drop-zone-background-color-rgb),var(--spectrum-drop-zone-background-color-opacity));--spectrum-table-drop-zone-outline-color:var(--spectrum-accent-visual-color);--spectrum-table-transition-duration:var(--spectrum-animation-duration-100);--spectrum-table-summary-row-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-summary-row-background-color:var(--spectrum-gray-200);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-medium);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-100);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-100);--spectrum-table-section-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-section-header-background-color:var(--spectrum-gray-200);--spectrum-table-collapsible-tier-indent:var(--spectrum-spacing-300);--spectrum-table-collapsible-disclosure-inline-spacing:0px;--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-100);--spectrum-table-collapsible-icon-animation-duration:var(--spectrum-animation-duration-100);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-medium-regular);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-300);--spectrum-table-cell-background-color:var(--highcontrast-table-row-background-color,var(--mod-table-row-background-color,var(--spectrum-table-row-background-color)));--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color-non-emphasized,var(--spectrum-table-selected-row-background-color-non-emphasized)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-non-emphasized-focus,var(--spectrum-table-selected-row-background-color-non-emphasized-focus)));--mod-thumbnail-size:var(--mod-table-thumbnail-size,var(--spectrum-table-thumbnail-size))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host([size=s]){--spectrum-table-min-header-height:var(--spectrum-component-height-100);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-small);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-small);--spectrum-table-min-row-height:var(--spectrum-table-row-height-small-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-small-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-small-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-row-font-size:var(--spectrum-font-size-75);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-small);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-small-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-small);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-75);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-75);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-75);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-small-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-200)}:host([size=l]){--spectrum-table-min-header-height:var(--spectrum-component-height-200);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-large);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-large);--spectrum-table-min-row-height:var(--spectrum-table-row-height-large-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-large-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-large-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-200);--spectrum-table-row-font-size:var(--spectrum-font-size-200);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-large);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-large-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-large);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-200);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-200);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-200);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-large-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-200);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-500)}:host([size=xl]){--spectrum-table-min-header-height:var(--spectrum-component-height-300);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-extra-large);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-extra-large);--spectrum-table-min-row-height:var(--spectrum-table-row-height-extra-large-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-extra-large-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-extra-large-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-300);--spectrum-table-row-font-size:var(--spectrum-font-size-300);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-extra-large);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-extra-large-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-extra-large);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-300);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-300);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-300);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-extra-large-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-300);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-700)}:host([density=compact]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-medium-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-medium-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-medium-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-medium-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-medium-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-200))}:host([density=compact][size=s]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-small-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-small-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-small-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-small-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-small-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-50))}:host([density=compact][size=l]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-large-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-large-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-large-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-large-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-large-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-300))}:host([density=compact][size=xl]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-extra-large-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-extra-large-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-extra-large-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-extra-large-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-500))}:host([density=spacious]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-medium-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-medium-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-medium-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-medium-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-medium-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-500))}:host([density=spacious][size=s]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-small-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-small-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-small-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-small-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-small-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-300))}:host([density=spacious][size=l]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-large-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-large-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-large-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-large-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-large-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-700))}:host([density=spacious][size=xl]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-extra-large-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-extra-large-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-extra-large-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-extra-large-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-800))}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color,var(--spectrum-table-selected-row-background-color)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-focus,var(--spectrum-table-selected-row-background-color-focus)))}:host([quiet]){--mod-table-border-radius:var(--mod-table-border-radius--quiet,0px);--mod-table-outer-border-inline-width:var(--mod-table-outer-border-inline-width--quiet,0px);--mod-table-header-background-color:var(--mod-table-header-background-color--quiet,var(--spectrum-transparent-white-100));--mod-table-row-background-color:var(--mod-table-row-background-color--quiet,var(--spectrum-transparent-white-100))}@media (forced-colors:active){:host{--highcontrast-table-row-background-color:Canvas;--highcontrast-table-row-text-color:CanvasText;--highcontrast-table-divider-color:CanvasText;--highcontrast-table-border-color:CanvasText;--highcontrast-table-icon-color:CanvasText;--highcontrast-table-icon-color-focus:Highlight;--highcontrast-table-selected-row-background-color:Highlight;--highcontrast-table-selected-row-text-color:HighlightText;--highcontrast-table-selected-row-text-color-default:HighlightText;--highcontrast-table-selected-row-background-color-focus:Highlight;--highcontrast-table-selected-row-text-color-focus:HighlightText;--highcontrast-table-row-background-color-hover:Highlight;--highcontrast-table-row-text-color-hover:HighlightText;--highcontrast-table-section-header-text-color:Canvas;--highcontrast-table-section-header-background-color:CanvasText;--highcontrast-table-focus-indicator-color:Highlight;--highcontrast-table-transition-duration:0}@supports (color:SelectedItem){:host{--highcontrast-table-selected-row-background-color:SelectedItem;--highcontrast-table-selected-row-text-color:SelectedItemText;--highcontrast-table-selected-row-text-color-default:SelectedItemText}}}:host:not(.spectrum-Table-scroller){border-collapse:initial;border-spacing:0}:host:not(.spectrum-Table-scroller){display:table}:host{flex-direction:column;display:flex}
|
|
2
|
+
@media (forced-colors:active){:host{--highcontrast-table-row-background-color:Canvas;--highcontrast-table-row-text-color:CanvasText;--highcontrast-table-divider-color:CanvasText;--highcontrast-table-border-color:CanvasText;--highcontrast-table-icon-color:CanvasText;--highcontrast-table-icon-color-focus:Highlight;--highcontrast-table-selected-row-background-color:Highlight;--highcontrast-table-selected-row-text-color:HighlightText;--highcontrast-table-selected-row-text-color-default:HighlightText;--highcontrast-table-selected-row-background-color-focus:Highlight;--highcontrast-table-selected-row-text-color-focus:HighlightText;--highcontrast-table-row-background-color-hover:Highlight;--highcontrast-table-row-text-color-hover:HighlightText;--highcontrast-table-section-header-text-color:Canvas;--highcontrast-table-section-header-background-color:CanvasText;--highcontrast-table-focus-indicator-color:Highlight;--highcontrast-table-transition-duration:0}@supports (color:SelectedItem){:host{--highcontrast-table-selected-row-background-color:SelectedItem;--highcontrast-table-selected-row-text-color:SelectedItemText;--highcontrast-table-selected-row-text-color-default:SelectedItemText}}}:host{--mod-thumbnail-size:var(--mod-table-thumbnail-size,var(--spectrum-table-thumbnail-size));--spectrum-table-cell-background-color:var(--highcontrast-table-row-background-color,var(--mod-table-row-background-color,var(--spectrum-table-row-background-color)));--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color-non-emphasized,var(--spectrum-table-selected-row-background-color-non-emphasized)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-non-emphasized-focus,var(--spectrum-table-selected-row-background-color-non-emphasized-focus)))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host:not(.spectrum-Table-scroller){border-collapse:initial;border-spacing:0}:host:not(.spectrum-Table-scroller){display:table}:host([density=compact]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-medium-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-medium-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-medium-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-medium-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-medium-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-200))}:host([density=compact][size=s]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-small-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-small-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-small-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-small-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-small-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-50))}:host([density=compact][size=l]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-large-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-large-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-large-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-large-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-large-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-300))}:host([density=compact][size=xl]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-extra-large-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-extra-large-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-extra-large-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-extra-large-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-500))}:host([density=spacious]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-medium-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-medium-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-medium-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-medium-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-medium-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-500))}:host([density=spacious][size=s]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-small-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-small-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-small-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-small-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-small-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-300))}:host([density=spacious][size=l]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-large-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-large-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-large-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-large-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-large-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-700))}:host([density=spacious][size=xl]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-extra-large-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-extra-large-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-extra-large-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-extra-large-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-800))}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color,var(--spectrum-table-selected-row-background-color)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-focus,var(--spectrum-table-selected-row-background-color-focus)))}:host([quiet]){--spectrum-table-border-radius:var(--mod-table-border-radius--quiet,0px);--spectrum-table-outer-border-inline-width:var(--mod-table-outer-border-inline-width--quiet,0px);--spectrum-table-header-background-color:var(--mod-table-header-background-color--quiet,var(--spectrum-transparent-white-100));--spectrum-table-row-background-color:var(--mod-table-row-background-color--quiet,var(--spectrum-transparent-white-100))}:host{--spectrum-table-header-top-to-text:var(--system-table-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-header-bottom-to-text);--spectrum-table-min-header-height:var(--system-table-min-header-height);--spectrum-table-min-row-height:var(--system-table-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-row-bottom-to-text);--spectrum-table-cell-inline-space:var(--system-table-cell-inline-space);--spectrum-table-border-radius:var(--system-table-border-radius);--spectrum-table-border-width:var(--system-table-border-width);--spectrum-table-outer-border-inline-width:var(--system-table-outer-border-inline-width);--spectrum-table-icon-to-text:var(--system-table-icon-to-text);--spectrum-table-default-vertical-align:var(--system-table-default-vertical-align);--spectrum-table-header-vertical-align:var(--system-table-header-vertical-align);--spectrum-table-header-font-weight:var(--system-table-header-font-weight);--spectrum-table-row-font-family:var(--system-table-row-font-family);--spectrum-table-row-font-weight:var(--system-table-row-font-weight);--spectrum-table-row-font-style:var(--system-table-row-font-style);--spectrum-table-row-font-size:var(--system-table-row-font-size);--spectrum-table-row-line-height:var(--system-table-row-line-height);--spectrum-table-border-color:var(--system-table-border-color);--spectrum-table-divider-color:var(--system-table-divider-color);--spectrum-table-header-background-color:var(--system-table-header-background-color);--spectrum-table-header-text-color:var(--system-table-header-text-color);--spectrum-table-row-background-color:var(--system-table-row-background-color);--spectrum-table-row-text-color:var(--system-table-row-text-color);--spectrum-table-selected-row-background-color:var(--system-table-selected-row-background-color);--spectrum-table-selected-row-background-color-non-emphasized:var(--system-table-selected-row-background-color-non-emphasized);--spectrum-table-row-background-color-hover:var(--system-table-row-background-color-hover);--spectrum-table-row-active-color:var(--system-table-row-active-color);--spectrum-table-selected-row-background-color-focus:var(--system-table-selected-row-background-color-focus);--spectrum-table-selected-row-background-color-non-emphasized-focus:var(--system-table-selected-row-background-color-non-emphasized-focus);--spectrum-table-icon-color-default:var(--system-table-icon-color-default);--spectrum-table-icon-color-hover:var(--system-table-icon-color-hover);--spectrum-table-icon-color-active:var(--system-table-icon-color-active);--spectrum-table-icon-color-focus:var(--system-table-icon-color-focus);--spectrum-table-icon-color-focus-hover:var(--system-table-icon-color-focus-hover);--spectrum-table-icon-color-key-focus:var(--system-table-icon-color-key-focus);--spectrum-table-header-checkbox-block-spacing:var(--system-table-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-row-checkbox-block-spacing);--spectrum-table-focus-indicator-thickness:var(--system-table-focus-indicator-thickness);--spectrum-table-focus-indicator-color:var(--system-table-focus-indicator-color);--spectrum-table-drop-zone-background-color:var(--system-table-drop-zone-background-color);--spectrum-table-drop-zone-outline-color:var(--system-table-drop-zone-outline-color);--spectrum-table-transition-duration:var(--system-table-transition-duration);--spectrum-table-summary-row-font-weight:var(--system-table-summary-row-font-weight);--spectrum-table-summary-row-background-color:var(--system-table-summary-row-background-color);--spectrum-table-section-header-min-height:var(--system-table-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-section-header-block-end-spacing);--spectrum-table-section-header-font-weight:var(--system-table-section-header-font-weight);--spectrum-table-section-header-background-color:var(--system-table-section-header-background-color);--spectrum-table-collapsible-tier-indent:var(--system-table-collapsible-tier-indent);--spectrum-table-collapsible-disclosure-inline-spacing:var(--system-table-collapsible-disclosure-inline-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-disclosure-icon-size);--spectrum-table-collapsible-icon-animation-duration:var(--system-table-collapsible-icon-animation-duration);--spectrum-table-thumbnail-to-text:var(--system-table-thumbnail-to-text);--spectrum-table-thumbnail-block-spacing:var(--system-table-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-thumbnail-size);--spectrum-table-cell-background-color:var(--system-table-cell-background-color);--spectrum-table-selected-cell-background-color:var(--system-table-selected-cell-background-color);--spectrum-table-selected-cell-background-color-focus:var(--system-table-selected-cell-background-color-focus)}:host([size=s]){--spectrum-table-min-header-height:var(--system-table-size-s-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-s-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-s-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-s-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-s-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-s-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-s-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-s-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-s-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-s-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-s-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-s-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-s-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-s-thumbnail-size)}:host([size=l]){--spectrum-table-min-header-height:var(--system-table-size-l-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-l-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-l-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-l-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-l-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-l-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-l-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-l-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-l-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-l-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-l-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-l-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-l-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-l-thumbnail-size)}:host([size=xl]){--spectrum-table-min-header-height:var(--system-table-size-xl-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-xl-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-xl-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-xl-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-xl-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-xl-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-xl-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-xl-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-xl-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-xl-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-xl-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-xl-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-xl-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-xl-thumbnail-size)}:host([density=compact]){--spectrum-table-min-row-height:var(--system-table-compact-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-thumbnail-size)}:host([density=compact][size=s]){--spectrum-table-min-row-height:var(--system-table-compact-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-s-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-s-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-s-thumbnail-size)}:host([density=compact][size=l]){--spectrum-table-min-row-height:var(--system-table-compact-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-l-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-l-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-l-thumbnail-size)}:host([density=compact][size=xl]){--spectrum-table-min-row-height:var(--system-table-compact-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-xl-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-xl-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-xl-thumbnail-size)}:host([density=spacious]){--spectrum-table-min-row-height:var(--system-table-spacious-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-thumbnail-size)}:host([density=spacious][size=s]){--spectrum-table-min-row-height:var(--system-table-spacious-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-s-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-s-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-s-thumbnail-size)}:host([density=spacious][size=l]){--spectrum-table-min-row-height:var(--system-table-spacious-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-l-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-l-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-l-thumbnail-size)}:host([density=spacious][size=xl]){--spectrum-table-min-row-height:var(--system-table-spacious-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-xl-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-xl-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-xl-thumbnail-size)}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--system-table-emphasized-selected-cell-background-color);--spectrum-table-selected-cell-background-color-focus:var(--system-table-emphasized-selected-cell-background-color-focus)}:host([quiet]){--spectrum-table-border-radius:var(--system-table-quiet-border-radius);--spectrum-table-outer-border-inline-width:var(--system-table-quiet-outer-border-inline-width);--spectrum-table-header-background-color:var(--system-table-quiet-header-background-color);--spectrum-table-row-background-color:var(--system-table-quiet-row-background-color)}:host{flex-direction:column;display:flex}
|
|
3
3
|
`;export default e;
|
|
4
4
|
//# sourceMappingURL=table.css.js.map
|
package/src/table.css.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["table.css.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 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{--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-medium);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-medium);--spectrum-table-min-header-height:var(--spectrum-component-height-100);--spectrum-table-min-row-height:var(--spectrum-table-row-height-medium-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-medium-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-medium-regular);--spectrum-table-cell-inline-space:var(--spectrum-table-edge-to-content);--spectrum-table-border-radius:var(--spectrum-corner-radius-100);--spectrum-table-border-width:var(--spectrum-table-border-divider-width);--spectrum-table-outer-border-inline-width:var(--spectrum-table-border-divider-width);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-default-vertical-align:top;--spectrum-table-header-vertical-align:middle;--spectrum-table-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-row-font-family:var(--spectrum-sans-font-family-stack);--spectrum-table-row-font-weight:var(--spectrum-regular-font-weight);--spectrum-table-row-font-style:var(--spectrum-default-font-style);--spectrum-table-row-font-size:var(--spectrum-font-size-100);--spectrum-table-row-line-height:var(--spectrum-line-height-100);--spectrum-table-border-color:var(--spectrum-gray-300);--spectrum-table-divider-color:var(--spectrum-gray-300);--spectrum-table-header-background-color:var(--spectrum-transparent-white-100);--spectrum-table-header-text-color:var(--spectrum-body-color);--spectrum-table-row-background-color:var(--spectrum-gray-50);--spectrum-table-row-text-color:var(--spectrum-neutral-content-color-default);--spectrum-table-selected-row-background-color:rgba(var(--spectrum-blue-900-rgb),var(--spectrum-table-selected-row-background-opacity));--spectrum-table-selected-row-background-color-non-emphasized:rgba(var(--spectrum-gray-700-rgb),var(--spectrum-table-selected-row-background-opacity-non-emphasized));--spectrum-table-row-background-color-hover:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-table-row-hover-opacity));--spectrum-table-row-active-color:rgba(var(--spectrum-gray-900-rgb),var(--spectrum-table-row-down-opacity));--spectrum-table-selected-row-background-color-focus:rgba(var(--spectrum-blue-900-rgb),var(--spectrum-table-selected-row-background-opacity-hover));--spectrum-table-selected-row-background-color-non-emphasized-focus:rgba(var(--spectrum-gray-700-rgb),var(--spectrum-table-selected-row-background-opacity-non-emphasized-hover));--spectrum-table-icon-color-default:var(--spectrum-neutral-subdued-content-color-default);--spectrum-table-icon-color-hover:var(--spectrum-neutral-subdued-content-color-hover);--spectrum-table-icon-color-active:var(--spectrum-neutral-subdued-content-color-down);--spectrum-table-icon-color-focus:var(--spectrum-neutral-subdued-content-color-focus);--spectrum-table-icon-color-focus-hover:var(--spectrum-neutral-subdued-content-focus-hover);--spectrum-table-icon-color-key-focus:var(--spectrum-neutral-subdued-content-color-key-focus);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-medium);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-medium-regular);--spectrum-table-focus-indicator-thickness:var(--spectrum-focus-indicator-thickness);--spectrum-table-focus-indicator-color:var(--spectrum-focus-indicator-color);--spectrum-table-drop-zone-background-color:rgba(var(--spectrum-drop-zone-background-color-rgb),var(--spectrum-drop-zone-background-color-opacity));--spectrum-table-drop-zone-outline-color:var(--spectrum-accent-visual-color);--spectrum-table-transition-duration:var(--spectrum-animation-duration-100);--spectrum-table-summary-row-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-summary-row-background-color:var(--spectrum-gray-200);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-medium);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-100);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-100);--spectrum-table-section-header-font-weight:var(--spectrum-bold-font-weight);--spectrum-table-section-header-background-color:var(--spectrum-gray-200);--spectrum-table-collapsible-tier-indent:var(--spectrum-spacing-300);--spectrum-table-collapsible-disclosure-inline-spacing:0px;--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-100);--spectrum-table-collapsible-icon-animation-duration:var(--spectrum-animation-duration-100);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-medium-regular);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-300);--spectrum-table-cell-background-color:var(--highcontrast-table-row-background-color,var(--mod-table-row-background-color,var(--spectrum-table-row-background-color)));--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color-non-emphasized,var(--spectrum-table-selected-row-background-color-non-emphasized)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-non-emphasized-focus,var(--spectrum-table-selected-row-background-color-non-emphasized-focus)));--mod-thumbnail-size:var(--mod-table-thumbnail-size,var(--spectrum-table-thumbnail-size))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host([size=s]){--spectrum-table-min-header-height:var(--spectrum-component-height-100);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-small);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-small);--spectrum-table-min-row-height:var(--spectrum-table-row-height-small-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-small-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-small-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-row-font-size:var(--spectrum-font-size-75);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-small);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-small-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-small);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-75);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-75);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-75);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-small-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-100);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-200)}:host([size=l]){--spectrum-table-min-header-height:var(--spectrum-component-height-200);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-large);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-large);--spectrum-table-min-row-height:var(--spectrum-table-row-height-large-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-large-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-large-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-200);--spectrum-table-row-font-size:var(--spectrum-font-size-200);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-large);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-large-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-large);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-200);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-200);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-200);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-large-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-200);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-500)}:host([size=xl]){--spectrum-table-min-header-height:var(--spectrum-component-height-300);--spectrum-table-header-top-to-text:var(--spectrum-table-column-header-row-top-to-text-extra-large);--spectrum-table-header-bottom-to-text:var(--spectrum-table-column-header-row-bottom-to-text-extra-large);--spectrum-table-min-row-height:var(--spectrum-table-row-height-extra-large-regular);--spectrum-table-row-top-to-text:var(--spectrum-table-row-top-to-text-extra-large-regular);--spectrum-table-row-bottom-to-text:var(--spectrum-table-row-bottom-to-text-extra-large-regular);--spectrum-table-icon-to-text:var(--spectrum-text-to-visual-300);--spectrum-table-row-font-size:var(--spectrum-font-size-300);--spectrum-table-header-checkbox-block-spacing:var(--spectrum-table-header-row-checkbox-to-top-extra-large);--spectrum-table-row-checkbox-block-spacing:var(--spectrum-table-row-checkbox-to-top-extra-large-regular);--spectrum-table-section-header-min-height:var(--spectrum-table-section-header-row-height-extra-large);--spectrum-table-section-header-block-start-spacing:var(--spectrum-component-top-to-text-300);--spectrum-table-section-header-block-end-spacing:var(--spectrum-component-bottom-to-text-300);--spectrum-table-disclosure-icon-size:var(--spectrum-component-height-300);--spectrum-table-thumbnail-block-spacing:var(--spectrum-table-thumbnail-to-top-minimum-extra-large-regular);--spectrum-table-thumbnail-to-text:var(--spectrum-text-to-visual-300);--spectrum-table-thumbnail-size:var(--spectrum-thumbnail-size-700)}:host([density=compact]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-medium-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-medium-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-medium-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-medium-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-medium-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-200))}:host([density=compact][size=s]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-small-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-small-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-small-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-small-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-small-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-50))}:host([density=compact][size=l]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-large-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-large-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-large-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-large-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-large-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-300))}:host([density=compact][size=xl]){--mod-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-extra-large-compact));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-extra-large-compact));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-extra-large-compact));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-extra-large-compact));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-compact));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-500))}:host([density=spacious]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-medium-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-medium-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-medium-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-medium-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-medium-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-500))}:host([density=spacious][size=s]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-small-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-small-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-small-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-small-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-small-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-300))}:host([density=spacious][size=l]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-large-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-large-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-large-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-large-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-large-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-700))}:host([density=spacious][size=xl]){--mod-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-extra-large-spacious));--mod-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-extra-large-spacious));--mod-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-extra-large-spacious));--mod-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-extra-large-spacious));--mod-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious));--mod-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-800))}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color,var(--spectrum-table-selected-row-background-color)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-focus,var(--spectrum-table-selected-row-background-color-focus)))}:host([quiet]){--mod-table-border-radius:var(--mod-table-border-radius--quiet,0px);--mod-table-outer-border-inline-width:var(--mod-table-outer-border-inline-width--quiet,0px);--mod-table-header-background-color:var(--mod-table-header-background-color--quiet,var(--spectrum-transparent-white-100));--mod-table-row-background-color:var(--mod-table-row-background-color--quiet,var(--spectrum-transparent-white-100))}@media (forced-colors:active){:host{--highcontrast-table-row-background-color:Canvas;--highcontrast-table-row-text-color:CanvasText;--highcontrast-table-divider-color:CanvasText;--highcontrast-table-border-color:CanvasText;--highcontrast-table-icon-color:CanvasText;--highcontrast-table-icon-color-focus:Highlight;--highcontrast-table-selected-row-background-color:Highlight;--highcontrast-table-selected-row-text-color:HighlightText;--highcontrast-table-selected-row-text-color-default:HighlightText;--highcontrast-table-selected-row-background-color-focus:Highlight;--highcontrast-table-selected-row-text-color-focus:HighlightText;--highcontrast-table-row-background-color-hover:Highlight;--highcontrast-table-row-text-color-hover:HighlightText;--highcontrast-table-section-header-text-color:Canvas;--highcontrast-table-section-header-background-color:CanvasText;--highcontrast-table-focus-indicator-color:Highlight;--highcontrast-table-transition-duration:0}@supports (color:SelectedItem){:host{--highcontrast-table-selected-row-background-color:SelectedItem;--highcontrast-table-selected-row-text-color:SelectedItemText;--highcontrast-table-selected-row-text-color-default:SelectedItemText}}}:host:not(.spectrum-Table-scroller){border-collapse:initial;border-spacing:0}:host:not(.spectrum-Table-scroller){display:table}:host{flex-direction:column;display:flex}\n`;\nexport default styles;"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 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 @media (forced-colors:active){:host{--highcontrast-table-row-background-color:Canvas;--highcontrast-table-row-text-color:CanvasText;--highcontrast-table-divider-color:CanvasText;--highcontrast-table-border-color:CanvasText;--highcontrast-table-icon-color:CanvasText;--highcontrast-table-icon-color-focus:Highlight;--highcontrast-table-selected-row-background-color:Highlight;--highcontrast-table-selected-row-text-color:HighlightText;--highcontrast-table-selected-row-text-color-default:HighlightText;--highcontrast-table-selected-row-background-color-focus:Highlight;--highcontrast-table-selected-row-text-color-focus:HighlightText;--highcontrast-table-row-background-color-hover:Highlight;--highcontrast-table-row-text-color-hover:HighlightText;--highcontrast-table-section-header-text-color:Canvas;--highcontrast-table-section-header-background-color:CanvasText;--highcontrast-table-focus-indicator-color:Highlight;--highcontrast-table-transition-duration:0}@supports (color:SelectedItem){:host{--highcontrast-table-selected-row-background-color:SelectedItem;--highcontrast-table-selected-row-text-color:SelectedItemText;--highcontrast-table-selected-row-text-color-default:SelectedItemText}}}:host{--mod-thumbnail-size:var(--mod-table-thumbnail-size,var(--spectrum-table-thumbnail-size));--spectrum-table-cell-background-color:var(--highcontrast-table-row-background-color,var(--mod-table-row-background-color,var(--spectrum-table-row-background-color)));--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color-non-emphasized,var(--spectrum-table-selected-row-background-color-non-emphasized)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-non-emphasized-focus,var(--spectrum-table-selected-row-background-color-non-emphasized-focus)))}:host:dir(rtl),:host([dir=rtl]){--spectrum-logical-rotation:matrix(-1,0,0,1,0,0)}:host:not(.spectrum-Table-scroller){border-collapse:initial;border-spacing:0}:host:not(.spectrum-Table-scroller){display:table}:host([density=compact]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-medium-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-medium-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-medium-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-medium-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-medium-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-200))}:host([density=compact][size=s]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-small-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-small-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-small-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-small-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-small-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-50))}:host([density=compact][size=l]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-large-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-large-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-large-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-large-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-large-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-300))}:host([density=compact][size=xl]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--compact,var(--spectrum-table-row-height-extra-large-compact));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--compact,var(--spectrum-table-row-top-to-text-extra-large-compact));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--compact,var(--spectrum-table-row-bottom-to-text-extra-large-compact));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--compact,var(--spectrum-table-row-checkbox-to-top-extra-large-compact));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-compact,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-compact));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-compact,var(--spectrum-thumbnail-size-500))}:host([density=spacious]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-medium-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-medium-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-medium-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-medium-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-medium-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-500))}:host([density=spacious][size=s]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-small-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-small-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-small-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-small-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-small-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-300))}:host([density=spacious][size=l]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-large-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-large-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-large-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-large-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-large-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-700))}:host([density=spacious][size=xl]){--spectrum-table-min-row-height:var(--mod-table-min-row-height--spacious,var(--spectrum-table-row-height-extra-large-spacious));--spectrum-table-row-top-to-text:var(--mod-table-row-top-to-text--spacious,var(--spectrum-table-row-top-to-text-extra-large-spacious));--spectrum-table-row-bottom-to-text:var(--mod-table-row-bottom-to-text--spacious,var(--spectrum-table-row-bottom-to-text-extra-large-spacious));--spectrum-table-row-checkbox-block-spacing:var(--mod-table-row-checkbox-block-spacing--spacious,var(--spectrum-table-row-checkbox-to-top-extra-large-spacious));--spectrum-table-thumbnail-block-spacing:var(--mod-table-thumbnail-block-spacing-spacious,var(--spectrum-table-thumbnail-to-top-minimum-extra-large-spacious));--spectrum-table-thumbnail-size:var(--mod-table-thumbnail-size-spacious,var(--spectrum-thumbnail-size-800))}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--highcontrast-table-selected-row-background-color,var(--mod-table-selected-row-background-color,var(--spectrum-table-selected-row-background-color)));--spectrum-table-selected-cell-background-color-focus:var(--highcontrast-table-selected-row-background-color-focus,var(--mod-table-selected-row-background-color-focus,var(--spectrum-table-selected-row-background-color-focus)))}:host([quiet]){--spectrum-table-border-radius:var(--mod-table-border-radius--quiet,0px);--spectrum-table-outer-border-inline-width:var(--mod-table-outer-border-inline-width--quiet,0px);--spectrum-table-header-background-color:var(--mod-table-header-background-color--quiet,var(--spectrum-transparent-white-100));--spectrum-table-row-background-color:var(--mod-table-row-background-color--quiet,var(--spectrum-transparent-white-100))}:host{--spectrum-table-header-top-to-text:var(--system-table-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-header-bottom-to-text);--spectrum-table-min-header-height:var(--system-table-min-header-height);--spectrum-table-min-row-height:var(--system-table-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-row-bottom-to-text);--spectrum-table-cell-inline-space:var(--system-table-cell-inline-space);--spectrum-table-border-radius:var(--system-table-border-radius);--spectrum-table-border-width:var(--system-table-border-width);--spectrum-table-outer-border-inline-width:var(--system-table-outer-border-inline-width);--spectrum-table-icon-to-text:var(--system-table-icon-to-text);--spectrum-table-default-vertical-align:var(--system-table-default-vertical-align);--spectrum-table-header-vertical-align:var(--system-table-header-vertical-align);--spectrum-table-header-font-weight:var(--system-table-header-font-weight);--spectrum-table-row-font-family:var(--system-table-row-font-family);--spectrum-table-row-font-weight:var(--system-table-row-font-weight);--spectrum-table-row-font-style:var(--system-table-row-font-style);--spectrum-table-row-font-size:var(--system-table-row-font-size);--spectrum-table-row-line-height:var(--system-table-row-line-height);--spectrum-table-border-color:var(--system-table-border-color);--spectrum-table-divider-color:var(--system-table-divider-color);--spectrum-table-header-background-color:var(--system-table-header-background-color);--spectrum-table-header-text-color:var(--system-table-header-text-color);--spectrum-table-row-background-color:var(--system-table-row-background-color);--spectrum-table-row-text-color:var(--system-table-row-text-color);--spectrum-table-selected-row-background-color:var(--system-table-selected-row-background-color);--spectrum-table-selected-row-background-color-non-emphasized:var(--system-table-selected-row-background-color-non-emphasized);--spectrum-table-row-background-color-hover:var(--system-table-row-background-color-hover);--spectrum-table-row-active-color:var(--system-table-row-active-color);--spectrum-table-selected-row-background-color-focus:var(--system-table-selected-row-background-color-focus);--spectrum-table-selected-row-background-color-non-emphasized-focus:var(--system-table-selected-row-background-color-non-emphasized-focus);--spectrum-table-icon-color-default:var(--system-table-icon-color-default);--spectrum-table-icon-color-hover:var(--system-table-icon-color-hover);--spectrum-table-icon-color-active:var(--system-table-icon-color-active);--spectrum-table-icon-color-focus:var(--system-table-icon-color-focus);--spectrum-table-icon-color-focus-hover:var(--system-table-icon-color-focus-hover);--spectrum-table-icon-color-key-focus:var(--system-table-icon-color-key-focus);--spectrum-table-header-checkbox-block-spacing:var(--system-table-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-row-checkbox-block-spacing);--spectrum-table-focus-indicator-thickness:var(--system-table-focus-indicator-thickness);--spectrum-table-focus-indicator-color:var(--system-table-focus-indicator-color);--spectrum-table-drop-zone-background-color:var(--system-table-drop-zone-background-color);--spectrum-table-drop-zone-outline-color:var(--system-table-drop-zone-outline-color);--spectrum-table-transition-duration:var(--system-table-transition-duration);--spectrum-table-summary-row-font-weight:var(--system-table-summary-row-font-weight);--spectrum-table-summary-row-background-color:var(--system-table-summary-row-background-color);--spectrum-table-section-header-min-height:var(--system-table-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-section-header-block-end-spacing);--spectrum-table-section-header-font-weight:var(--system-table-section-header-font-weight);--spectrum-table-section-header-background-color:var(--system-table-section-header-background-color);--spectrum-table-collapsible-tier-indent:var(--system-table-collapsible-tier-indent);--spectrum-table-collapsible-disclosure-inline-spacing:var(--system-table-collapsible-disclosure-inline-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-disclosure-icon-size);--spectrum-table-collapsible-icon-animation-duration:var(--system-table-collapsible-icon-animation-duration);--spectrum-table-thumbnail-to-text:var(--system-table-thumbnail-to-text);--spectrum-table-thumbnail-block-spacing:var(--system-table-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-thumbnail-size);--spectrum-table-cell-background-color:var(--system-table-cell-background-color);--spectrum-table-selected-cell-background-color:var(--system-table-selected-cell-background-color);--spectrum-table-selected-cell-background-color-focus:var(--system-table-selected-cell-background-color-focus)}:host([size=s]){--spectrum-table-min-header-height:var(--system-table-size-s-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-s-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-s-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-s-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-s-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-s-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-s-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-s-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-s-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-s-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-s-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-s-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-s-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-s-thumbnail-size)}:host([size=l]){--spectrum-table-min-header-height:var(--system-table-size-l-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-l-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-l-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-l-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-l-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-l-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-l-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-l-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-l-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-l-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-l-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-l-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-l-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-l-thumbnail-size)}:host([size=xl]){--spectrum-table-min-header-height:var(--system-table-size-xl-min-header-height);--spectrum-table-header-top-to-text:var(--system-table-size-xl-header-top-to-text);--spectrum-table-header-bottom-to-text:var(--system-table-size-xl-header-bottom-to-text);--spectrum-table-min-row-height:var(--system-table-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-size-xl-row-bottom-to-text);--spectrum-table-icon-to-text:var(--system-table-size-xl-icon-to-text);--spectrum-table-row-font-size:var(--system-table-size-xl-row-font-size);--spectrum-table-header-checkbox-block-spacing:var(--system-table-size-xl-header-checkbox-block-spacing);--spectrum-table-row-checkbox-block-spacing:var(--system-table-size-xl-row-checkbox-block-spacing);--spectrum-table-section-header-min-height:var(--system-table-size-xl-section-header-min-height);--spectrum-table-section-header-block-start-spacing:var(--system-table-size-xl-section-header-block-start-spacing);--spectrum-table-section-header-block-end-spacing:var(--system-table-size-xl-section-header-block-end-spacing);--spectrum-table-disclosure-icon-size:var(--system-table-size-xl-disclosure-icon-size);--spectrum-table-thumbnail-block-spacing:var(--system-table-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-to-text:var(--system-table-size-xl-thumbnail-to-text);--spectrum-table-thumbnail-size:var(--system-table-size-xl-thumbnail-size)}:host([density=compact]){--spectrum-table-min-row-height:var(--system-table-compact-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-thumbnail-size)}:host([density=compact][size=s]){--spectrum-table-min-row-height:var(--system-table-compact-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-s-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-s-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-s-thumbnail-size)}:host([density=compact][size=l]){--spectrum-table-min-row-height:var(--system-table-compact-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-l-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-l-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-l-thumbnail-size)}:host([density=compact][size=xl]){--spectrum-table-min-row-height:var(--system-table-compact-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-compact-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-compact-size-xl-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-compact-size-xl-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-compact-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-compact-size-xl-thumbnail-size)}:host([density=spacious]){--spectrum-table-min-row-height:var(--system-table-spacious-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-thumbnail-size)}:host([density=spacious][size=s]){--spectrum-table-min-row-height:var(--system-table-spacious-size-s-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-s-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-s-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-s-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-s-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-s-thumbnail-size)}:host([density=spacious][size=l]){--spectrum-table-min-row-height:var(--system-table-spacious-size-l-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-l-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-l-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-l-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-l-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-l-thumbnail-size)}:host([density=spacious][size=xl]){--spectrum-table-min-row-height:var(--system-table-spacious-size-xl-min-row-height);--spectrum-table-row-top-to-text:var(--system-table-spacious-size-xl-row-top-to-text);--spectrum-table-row-bottom-to-text:var(--system-table-spacious-size-xl-row-bottom-to-text);--spectrum-table-row-checkbox-block-spacing:var(--system-table-spacious-size-xl-row-checkbox-block-spacing);--spectrum-table-thumbnail-block-spacing:var(--system-table-spacious-size-xl-thumbnail-block-spacing);--spectrum-table-thumbnail-size:var(--system-table-spacious-size-xl-thumbnail-size)}:host([emphasized]){--spectrum-table-selected-cell-background-color:var(--system-table-emphasized-selected-cell-background-color);--spectrum-table-selected-cell-background-color-focus:var(--system-table-emphasized-selected-cell-background-color-focus)}:host([quiet]){--spectrum-table-border-radius:var(--system-table-quiet-border-radius);--spectrum-table-outer-border-inline-width:var(--system-table-quiet-outer-border-inline-width);--spectrum-table-header-background-color:var(--system-table-quiet-header-background-color);--spectrum-table-row-background-color:var(--system-table-quiet-row-background-color)}:host{flex-direction:column;display:flex}\n`;\nexport default styles;"],
|
|
5
5
|
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
|
6
6
|
"names": ["css", "styles"]
|
|
7
7
|
}
|
package/test/helpers.js
CHANGED
|
@@ -3,7 +3,7 @@ import { fixture, html } from "@open-wc/testing";
|
|
|
3
3
|
import { virtualizerRef } from "@lit-labs/virtualizer/virtualize.js";
|
|
4
4
|
export async function styledFixture(story) {
|
|
5
5
|
const test = await fixture(html`
|
|
6
|
-
<sp-theme
|
|
6
|
+
<sp-theme system="spectrum" scale="medium" color="light">
|
|
7
7
|
${story}
|
|
8
8
|
</sp-theme>
|
|
9
9
|
`);
|
package/test/helpers.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["helpers.ts"],
|
|
4
|
-
"sourcesContent": ["/*\nCopyright 2023 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 { TemplateResult } from '@spectrum-web-components/base';\nimport type { Table, TableBody } from '@spectrum-web-components/table';\nimport type { Theme } from '@spectrum-web-components/theme';\nimport { fixture, html } from '@open-wc/testing';\nimport { virtualizerRef } from '@lit-labs/virtualizer/virtualize.js';\nimport { Virtualizer } from '@lit-labs/virtualizer/Virtualizer.js';\n\nexport async function styledFixture<T extends Element>(\n story: TemplateResult\n): Promise<T> {\n const test = await fixture<Theme>(html`\n <sp-theme
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 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 { TemplateResult } from '@spectrum-web-components/base';\nimport type { Table, TableBody } from '@spectrum-web-components/table';\nimport type { Theme } from '@spectrum-web-components/theme';\nimport { fixture, html } from '@open-wc/testing';\nimport { virtualizerRef } from '@lit-labs/virtualizer/virtualize.js';\nimport { Virtualizer } from '@lit-labs/virtualizer/Virtualizer.js';\n\nexport async function styledFixture<T extends Element>(\n story: TemplateResult\n): Promise<T> {\n const test = await fixture<Theme>(html`\n <sp-theme system=\"spectrum\" scale=\"medium\" color=\"light\">\n ${story}\n </sp-theme>\n `);\n return test.children[0] as T;\n}\n\n/* awaiting a `rangeChanged` event does not guarantee that the component has updated. We need to use\n ** layout complete to ensure the TableBody has updated for tests involving scrolling.\n */\nexport async function tableLayoutComplete(table: Table): Promise<void> {\n const body = table.querySelector(\n 'sp-table-body'\n ) as unknown as TableBody & {\n [virtualizerRef]: Virtualizer;\n };\n await body[virtualizerRef].layoutComplete;\n}\n"],
|
|
5
5
|
"mappings": ";AAcA,SAAS,SAAS,YAAY;AAC9B,SAAS,sBAAsB;AAG/B,sBAAsB,cAClB,OACU;AACV,QAAM,OAAO,MAAM,QAAe;AAAA;AAAA,cAExB,KAAK;AAAA;AAAA,KAEd;AACD,SAAO,KAAK,SAAS,CAAC;AAC1B;AAKA,sBAAsB,oBAAoB,OAA6B;AACnE,QAAM,OAAO,MAAM;AAAA,IACf;AAAA,EACJ;AAGA,QAAM,KAAK,cAAc,EAAE;AAC/B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -28,15 +28,11 @@ import { styledFixture, tableLayoutComplete } from "./helpers.js";
|
|
|
28
28
|
ignoreResizeObserverLoopError(before, after);
|
|
29
29
|
describe("Virtualized Table Selects", () => {
|
|
30
30
|
it("selects and deselects all checkboxes in Virtualized Table when clicking the TableHeadCheckboxCell", async () => {
|
|
31
|
-
const test = await fixture(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
)}
|
|
37
|
-
</div>
|
|
38
|
-
`
|
|
39
|
-
);
|
|
31
|
+
const test = await fixture(html`
|
|
32
|
+
<div>
|
|
33
|
+
${virtualizedMultiple(virtualizedMultiple.args)}
|
|
34
|
+
</div>
|
|
35
|
+
`);
|
|
40
36
|
const el = test.querySelector("sp-table");
|
|
41
37
|
await oneEvent(el, "rangeChanged");
|
|
42
38
|
await elementUpdated(el);
|
|
@@ -66,26 +62,24 @@ describe("Virtualized Table Selects", () => {
|
|
|
66
62
|
expect(el.selected).to.deep.equal(["applied-1"]);
|
|
67
63
|
});
|
|
68
64
|
it("can prevent selection", async () => {
|
|
69
|
-
const el = await fixture(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
>
|
|
81
|
-
<sp-table-head>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
`
|
|
88
|
-
);
|
|
65
|
+
const el = await fixture(html`
|
|
66
|
+
<sp-table
|
|
67
|
+
size="m"
|
|
68
|
+
style="height: 200px"
|
|
69
|
+
selects="single"
|
|
70
|
+
@change=${(event) => {
|
|
71
|
+
event.preventDefault();
|
|
72
|
+
}}
|
|
73
|
+
.items=${makeItems(50)}
|
|
74
|
+
.renderItem=${renderItem}
|
|
75
|
+
>
|
|
76
|
+
<sp-table-head>
|
|
77
|
+
<sp-table-head-cell>Column Title</sp-table-head-cell>
|
|
78
|
+
<sp-table-head-cell>Column Title</sp-table-head-cell>
|
|
79
|
+
<sp-table-head-cell>Column Title</sp-table-head-cell>
|
|
80
|
+
</sp-table-head>
|
|
81
|
+
</sp-table>
|
|
82
|
+
`);
|
|
89
83
|
await oneEvent(el, "rangeChanged");
|
|
90
84
|
await elementUpdated(el);
|
|
91
85
|
const rowTwo = el.querySelector('[value="2"]');
|
|
@@ -99,13 +93,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
99
93
|
expect(el.selected.length).to.equal(0);
|
|
100
94
|
});
|
|
101
95
|
it('surfaces [selects="single"] selection on Virtualized Table', async () => {
|
|
102
|
-
const test = await fixture(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
`
|
|
108
|
-
);
|
|
96
|
+
const test = await fixture(html`
|
|
97
|
+
<sp-theme system="spectrum" scale="medium" color="light">
|
|
98
|
+
${virtualizedSingle(virtualizedSingle.args)}
|
|
99
|
+
</sp-theme>
|
|
100
|
+
`);
|
|
109
101
|
const el = test.querySelector("sp-table");
|
|
110
102
|
const body = el.querySelector("sp-table-body");
|
|
111
103
|
await tableLayoutComplete(el);
|
|
@@ -123,13 +115,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
123
115
|
expect(lastRowCheckboxCell.checked).to.be.true;
|
|
124
116
|
});
|
|
125
117
|
it('selects via `click` while [selects="single"]', async () => {
|
|
126
|
-
const test = await fixture(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
`
|
|
132
|
-
);
|
|
118
|
+
const test = await fixture(html`
|
|
119
|
+
<sp-theme system="spectrum" scale="medium" color="light">
|
|
120
|
+
${virtualizedSingle(virtualizedSingle.args)}
|
|
121
|
+
</sp-theme>
|
|
122
|
+
`);
|
|
133
123
|
const el = test.querySelector("sp-table");
|
|
134
124
|
el.selected = [];
|
|
135
125
|
await tableLayoutComplete(el);
|
|
@@ -154,15 +144,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
154
144
|
expect(el.selected).to.deep.equal(["1"]);
|
|
155
145
|
});
|
|
156
146
|
it('surfaces [selects="multiple"] selection on Virtualized Table', async () => {
|
|
157
|
-
const test = await fixture(
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
)}
|
|
163
|
-
</sp-theme>
|
|
164
|
-
`
|
|
165
|
-
);
|
|
147
|
+
const test = await fixture(html`
|
|
148
|
+
<sp-theme system="spectrum" scale="medium" color="light">
|
|
149
|
+
${virtualizedMultiple(virtualizedMultiple.args)}
|
|
150
|
+
</sp-theme>
|
|
151
|
+
`);
|
|
166
152
|
const el = test.querySelector("sp-table");
|
|
167
153
|
const body = el.querySelector("sp-table-body");
|
|
168
154
|
await tableLayoutComplete(el);
|
|
@@ -177,15 +163,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
177
163
|
expect(unseenRowCheckboxCell.checked).to.be.true;
|
|
178
164
|
});
|
|
179
165
|
it('selects via `click` while [selects="multiple"] selection', async () => {
|
|
180
|
-
const test = await styledFixture(
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
)}
|
|
186
|
-
</div>
|
|
187
|
-
`
|
|
188
|
-
);
|
|
166
|
+
const test = await styledFixture(html`
|
|
167
|
+
<div>
|
|
168
|
+
${virtualizedMultiple(virtualizedMultiple.args)}
|
|
169
|
+
</div>
|
|
170
|
+
`);
|
|
189
171
|
const el = test.querySelector("sp-table");
|
|
190
172
|
el.selected = [];
|
|
191
173
|
await tableLayoutComplete(el);
|
|
@@ -207,15 +189,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
207
189
|
expect(el.selected.length).to.equal(49);
|
|
208
190
|
});
|
|
209
191
|
it('allows .selected values to be changed by the application when [selects="multiple"]', async () => {
|
|
210
|
-
const test = await styledFixture(
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
)}
|
|
216
|
-
</div>
|
|
217
|
-
`
|
|
218
|
-
);
|
|
192
|
+
const test = await styledFixture(html`
|
|
193
|
+
<div>
|
|
194
|
+
${virtualizedMultiple(virtualizedMultiple.args)}
|
|
195
|
+
</div>
|
|
196
|
+
`);
|
|
219
197
|
const el = test.querySelector("sp-table");
|
|
220
198
|
el.selected = ["1"];
|
|
221
199
|
await tableLayoutComplete(el);
|
|
@@ -304,15 +282,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
304
282
|
expect(rowTwoCheckbox).to.be.null;
|
|
305
283
|
});
|
|
306
284
|
it("ensures that virtualized elements with values in .selected are visually selected when brought into view using scrollTop", async () => {
|
|
307
|
-
const test = await fixture(
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
)}
|
|
313
|
-
</sp-theme>
|
|
314
|
-
`
|
|
315
|
-
);
|
|
285
|
+
const test = await fixture(html`
|
|
286
|
+
<sp-theme system="spectrum" scale="medium" color="light">
|
|
287
|
+
${virtualizedMultiple(virtualizedMultiple.args)}
|
|
288
|
+
</sp-theme>
|
|
289
|
+
`);
|
|
316
290
|
const el = test.querySelector("sp-table");
|
|
317
291
|
const body = el.querySelector("sp-table-body");
|
|
318
292
|
await tableLayoutComplete(el);
|
|
@@ -336,15 +310,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
336
310
|
expect(unseenRowCheckboxCell.checkbox.checked).to.be.true;
|
|
337
311
|
});
|
|
338
312
|
it("ensures that virtualized elements with values in .selected are visually selected when brought into view using scrollToIndex", async () => {
|
|
339
|
-
const test = await fixture(
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
)}
|
|
345
|
-
</div>
|
|
346
|
-
`
|
|
347
|
-
);
|
|
313
|
+
const test = await fixture(html`
|
|
314
|
+
<div>
|
|
315
|
+
${virtualizedMultiple(virtualizedMultiple.args)}
|
|
316
|
+
</div>
|
|
317
|
+
`);
|
|
348
318
|
const el = test.querySelector("sp-table");
|
|
349
319
|
await tableLayoutComplete(el);
|
|
350
320
|
const rowOne = el.querySelector('[value="0"]');
|
|
@@ -366,15 +336,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
366
336
|
expect(unseenRowCheckboxCell.checkbox.checked).to.be.true;
|
|
367
337
|
});
|
|
368
338
|
it("does not set `allSelected` to true by default on Virtualised `<sp-table>`", async () => {
|
|
369
|
-
const test = await fixture(
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
)}
|
|
375
|
-
</div>
|
|
376
|
-
`
|
|
377
|
-
);
|
|
339
|
+
const test = await fixture(html`
|
|
340
|
+
<div>
|
|
341
|
+
${virtualizedMultiple(virtualizedMultiple.args)}
|
|
342
|
+
</div>
|
|
343
|
+
`);
|
|
378
344
|
const el = test.querySelector("sp-table");
|
|
379
345
|
await oneEvent(el, "rangeChanged");
|
|
380
346
|
await elementUpdated(el);
|
|
@@ -388,13 +354,11 @@ describe("Virtualized Table Selects", () => {
|
|
|
388
354
|
});
|
|
389
355
|
});
|
|
390
356
|
it("renders custom content at a particular row and does not select it", async () => {
|
|
391
|
-
const test = await fixture(
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
`
|
|
397
|
-
);
|
|
357
|
+
const test = await fixture(html`
|
|
358
|
+
<div>
|
|
359
|
+
${virtualizedCustomRow(virtualizedCustomRow.args)}
|
|
360
|
+
</div>
|
|
361
|
+
`);
|
|
398
362
|
const el = test.querySelector("sp-table");
|
|
399
363
|
await oneEvent(el, "rangeChanged");
|
|
400
364
|
await elementUpdated(el);
|