@ethlete/components 1.0.0-next.100 → 1.0.0-next.102
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/CHANGELOG.md +45 -0
- package/design/banner.ts +1 -1
- package/design/breadcrumb.ts +0 -1
- package/design/button.ts +0 -2
- package/design/card.ts +1 -1
- package/design/dialog.ts +1 -7
- package/design/grid.ts +3 -3
- package/design/masonry.ts +3 -3
- package/design/menu.ts +5 -3
- package/design/notification.ts +0 -1
- package/design/scheduler.ts +1 -1
- package/design/sdk/components/accent-on-light/accent-on-light.css +5 -5
- package/design/sdk/components/accordion/accordion.css +3 -3
- package/design/sdk/components/action-sheet/action-sheet.css +13 -13
- package/design/sdk/components/action-sheet/action-sheet.ts +5 -3
- package/design/sdk/components/anchored-dialog/anchored-dialog.css +5 -5
- package/design/sdk/components/avatar/avatar.css +3 -3
- package/design/sdk/components/badge/badge.css +3 -3
- package/design/sdk/components/banner/banner.css +4 -4
- package/design/sdk/components/bracket/bracket.css +8 -11
- package/design/sdk/components/breadcrumb/breadcrumb.css +4 -4
- package/design/sdk/components/button/button.css +3 -13
- package/design/sdk/components/calendar/calendar.css +7 -7
- package/design/sdk/components/card/card.css +4 -4
- package/design/sdk/components/carousel/carousel.css +6 -6
- package/design/sdk/components/chart/chart.css +8 -8
- package/design/sdk/components/checkbox/checkbox.css +2 -2
- package/design/sdk/components/chip/chip.css +4 -4
- package/design/sdk/components/copy-button/copy-button.css +3 -3
- package/design/sdk/components/description-list/description-list.css +2 -2
- package/design/sdk/components/dialog/dialog.css +4 -4
- package/design/sdk/components/divider/divider.css +2 -2
- package/design/sdk/components/empty-state/empty-state.css +4 -4
- package/design/sdk/components/floating-action/floating-action.css +4 -4
- package/design/sdk/components/grid/grid.css +4 -4
- package/design/sdk/components/input/input.css +13 -22
- package/design/sdk/components/kbd/kbd.css +2 -2
- package/design/sdk/components/loader/loader.css +6 -6
- package/design/sdk/components/masonry/masonry.css +2 -2
- package/design/sdk/components/match/match.css +5 -8
- package/design/sdk/components/menu/menu.css +2 -2
- package/design/sdk/components/menu/menu.ts +2 -2
- package/design/sdk/components/notification/notification.css +6 -6
- package/design/sdk/components/otp-input/otp-input.css +8 -8
- package/design/sdk/components/pagination/pagination.css +2 -2
- package/design/sdk/components/picture/picture.css +5 -5
- package/design/sdk/components/progress-steps/progress-steps.css +6 -6
- package/design/sdk/components/query-error/query-error.css +5 -11
- package/design/sdk/components/radio-group/radio-group.css +2 -2
- package/design/sdk/components/scheduler/scheduler.css +9 -15
- package/design/sdk/components/scrollable/scrollable.css +5 -5
- package/design/sdk/components/scrollbar/scrollbar.css +3 -3
- package/design/sdk/components/select/select.css +1 -1
- package/design/sdk/components/skeleton/skeleton.css +2 -2
- package/design/sdk/components/slider/slider.css +8 -13
- package/design/sdk/components/standings/standings.css +7 -8
- package/design/sdk/components/stat-tile/stat-tile.css +3 -3
- package/design/sdk/components/stream/stream.css +7 -13
- package/design/sdk/components/table/table.css +13 -13
- package/design/sdk/components/tabs/tabs.css +2 -2
- package/design/sdk/components/textarea/textarea.css +13 -22
- package/design/sdk/components/timeline/timeline.css +4 -4
- package/design/sdk/components/toolbar/toolbar.css +6 -6
- package/design/sdk/components/tooltip/tooltip.css +3 -3
- package/design/sdk/components/tooltip/tooltip.ts +1 -1
- package/design/sdk/components/tree/selected-tint.css +3 -3
- package/design/sdk/foundations/colors/colors.css +363 -421
- package/design/sdk/foundations/colors/colors.ts +27 -25
- package/design/sdk/foundations/colors/shared/contrast.ts +10 -10
- package/design/sdk/foundations/elevation/elevation.css +2 -2
- package/design/sdk/foundations/elevation/elevation.ts +1 -1
- package/design/sdk/foundations/elevation/shared/elevation/scene.css +16 -11
- package/design/sdk/ready.json +4 -109
- package/design/tabs.ts +1 -1
- package/design/toggletip.ts +85 -0
- package/fesm2022/ethlete-components.mjs +725 -417
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/generators.json +10 -0
- package/generators/migrate-overlay-and-column-api/column-visibility-host.js +102 -0
- package/generators/migrate-overlay-and-column-api/migration.js +39 -0
- package/generators/migrate-overlay-and-column-api/overlay-and-column-api.js +18 -0
- package/generators/migrate-overlay-and-column-api/overlay-result.js +399 -0
- package/generators/migrate-overlay-and-column-api/schema.json +26 -0
- package/generators/migrate-overlay-and-column-api/source-scan.js +171 -0
- package/generators/migrate-tabs-active-underline/migration.js +31 -0
- package/generators/migrate-tabs-active-underline/schema.json +26 -0
- package/generators/migrate-tabs-active-underline/tabs-active-underline.js +46 -0
- package/migrations.json +18 -0
- package/package.json +2 -2
- package/src/lib/accordion/accordion.component.css +10 -11
- package/src/lib/avatar/avatar-group.component.css +1 -1
- package/src/lib/avatar/avatar.component.css +3 -3
- package/src/lib/badge/badge.component.css +13 -9
- package/src/lib/banner/banner.component.css +5 -5
- package/src/lib/bracket/bracket-default-continue.component.css +2 -2
- package/src/lib/bracket/bracket-default-final-match.component.css +6 -6
- package/src/lib/bracket/bracket-default-round-header.component.css +2 -2
- package/src/lib/bracket/bracket-default-section-title.component.css +1 -1
- package/src/lib/bracket/bracket-pick-card.component.css +21 -21
- package/src/lib/bracket/bracket-rounds-list.component.css +1 -1
- package/src/lib/bracket/bracket.component.css +2 -2
- package/src/lib/bracket/layouts/swiss/bracket-swiss-round-header.component.css +65 -0
- package/src/lib/bracket/layouts/swiss/bracket-swiss-styles.component.css +5 -1
- package/src/lib/breadcrumb/breadcrumb-overflow.component.css +3 -3
- package/src/lib/breadcrumb/breadcrumb.component.css +5 -6
- package/src/lib/button/button-properties-styles.component.css +12 -12
- package/src/lib/button/button.component.css +52 -35
- package/src/lib/button/fab.component.css +17 -20
- package/src/lib/button/icon-button.component.css +15 -19
- package/src/lib/button/split-button.component.css +11 -14
- package/src/lib/button/text-button.component.css +1 -1
- package/src/lib/button/window-control-button.component.css +21 -32
- package/src/lib/calendar/calendar-comparison-band-styles.component.css +1 -1
- package/src/lib/calendar/calendar-week-numbers-styles.component.css +3 -3
- package/src/lib/calendar/calendar.component.css +21 -23
- package/src/lib/card/card.component.css +5 -5
- package/src/lib/carousel/carousel-autoplay-styles.component.css +2 -8
- package/src/lib/carousel/carousel.component.css +7 -19
- package/src/lib/chart/bar-chart.component.css +6 -6
- package/src/lib/chart/chart-grid.component.css +1 -1
- package/src/lib/chart/chart-legend.component.css +2 -2
- package/src/lib/chart/chart-tooltip.component.css +2 -2
- package/src/lib/chart/line-chart-tooltip.component.css +2 -2
- package/src/lib/chart/line-chart.component.css +11 -11
- package/src/lib/chart/pie-chart.component.css +8 -8
- package/src/lib/chart/sankey-chart.component.css +13 -13
- package/src/lib/chip/chip.component.css +15 -17
- package/src/lib/command-palette/command-palette-item.component.css +5 -5
- package/src/lib/command-palette/command-palette.component.css +3 -3
- package/src/lib/description-list/description-list.component.css +2 -2
- package/src/lib/divider/divider.component.css +2 -2
- package/src/lib/empty-state/empty-state.component.css +4 -4
- package/src/lib/floating-action/floating-action-styles.component.css +3 -3
- package/src/lib/focus-ring/focus-ring-styles.component.css +1 -1
- package/src/lib/forms/cascader/cascader-breadcrumb-styles.component.css +8 -8
- package/src/lib/forms/cascader/cascader-panel.component.css +27 -24
- package/src/lib/forms/cascader/cascader-sheet-styles.component.css +3 -3
- package/src/lib/forms/cascader/cascader.component.css +1 -1
- package/src/lib/forms/checkbox/checkbox.component.css +26 -39
- package/src/lib/forms/choice-field/choice-field-card-styles.component.css +3 -3
- package/src/lib/forms/choice-field/choice-field.component.css +7 -7
- package/src/lib/forms/color-input/color-input.component.css +2 -3
- package/src/lib/forms/color-input/color-picker-panel.component.css +16 -15
- package/src/lib/forms/date-time/date-input/date-input.component.css +1 -1
- package/src/lib/forms/date-time/date-picker-panel.component.css +8 -5
- package/src/lib/forms/date-time/date-range-presets.component.css +2 -2
- package/src/lib/forms/date-time/date-time-input/date-time-input.component.css +4 -4
- package/src/lib/forms/date-time/date-time-range-input/date-time-range-input.component.css +3 -3
- package/src/lib/forms/date-time/duration-input/duration-input.component.css +3 -3
- package/src/lib/forms/date-time/range-input-shell-styles.component.css +2 -2
- package/src/lib/forms/date-time/time-input/time-input.component.css +1 -1
- package/src/lib/forms/description/description.component.css +1 -1
- package/src/lib/forms/dropzone/dropzone-crop.component.css +8 -8
- package/src/lib/forms/dropzone/dropzone-item.component.css +5 -5
- package/src/lib/forms/dropzone/dropzone-preview-styles.component.css +5 -5
- package/src/lib/forms/dropzone/dropzone-readonly-styles.component.css +1 -1
- package/src/lib/forms/dropzone/dropzone-row-styles.component.css +3 -3
- package/src/lib/forms/dropzone/dropzone.component.css +20 -22
- package/src/lib/forms/form-field/counter.component.css +2 -2
- package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +12 -14
- package/src/lib/forms/form-field/form-field-suffix-overlap-styles.component.css +1 -1
- package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +22 -35
- package/src/lib/forms/form-field/form-field.component.css +9 -10
- package/src/lib/forms/form-field/form-support-styles.component.css +2 -2
- package/src/lib/forms/form-field/headless/label.directive.css +2 -2
- package/src/lib/forms/form-field/hint.component.css +2 -2
- package/src/lib/forms/input/input.component.css +1 -1
- package/src/lib/forms/input/number-input.component.css +5 -5
- package/src/lib/forms/input/password-input.component.css +7 -8
- package/src/lib/forms/multi-language-rich-text-editor/tools/multi-language-rich-text-editor-language-tool.component.css +7 -10
- package/src/lib/forms/otp-input/otp-input.component.css +11 -15
- package/src/lib/forms/phone-input/phone-input.component.css +4 -5
- package/src/lib/forms/rating/rating.component.css +8 -9
- package/src/lib/forms/rich-text-editor/rich-text-content-styles.component.css +6 -6
- package/src/lib/forms/rich-text-editor/rich-text-editor-floating-toolbar.component.css +7 -4
- package/src/lib/forms/rich-text-editor/rich-text-editor-image-editor.component.css +6 -6
- package/src/lib/forms/rich-text-editor/rich-text-editor-link-editor.component.css +4 -4
- package/src/lib/forms/rich-text-editor/rich-text-editor-token-popup.component.css +12 -9
- package/src/lib/forms/rich-text-editor/rich-text-editor.component.css +6 -8
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-image-styles.component.css +7 -7
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-styles.component.css +2 -2
- package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-tool.component.css +4 -4
- package/src/lib/forms/select/select-extras-styles.component.css +10 -13
- package/src/lib/forms/select/select-option-group.component.css +2 -2
- package/src/lib/forms/select/select-option-styles.component.css +6 -6
- package/src/lib/forms/select/select-panel.component.css +13 -10
- package/src/lib/forms/select/select.component.css +4 -4
- package/src/lib/forms/selection-card-styles.component.css +10 -14
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +11 -21
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group.component.css +4 -4
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +11 -21
- package/src/lib/forms/selection-list/radio-group/radio-group.component.css +4 -4
- package/src/lib/forms/selection-list/radio-group/radio.component.css +10 -20
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +7 -7
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +16 -15
- package/src/lib/forms/slider/range-slider.component.css +18 -24
- package/src/lib/forms/slider/slider.component.css +18 -24
- package/src/lib/forms/switch/switch.component.css +19 -22
- package/src/lib/forms/tag-input/tag-input.component.css +1 -1
- package/src/lib/forms/textarea/textarea.component.css +1 -1
- package/src/lib/grid/grid-debug.component.css +18 -18
- package/src/lib/grid/grid-item-default-actions.component.css +2 -2
- package/src/lib/grid/grid-item.component.css +3 -4
- package/src/lib/grid/grid.component.css +2 -2
- package/src/lib/kbd/kbd.component.css +3 -3
- package/src/lib/loader/brand-loader/brand-loader.component.css +3 -3
- package/src/lib/loader/progress-bar/progress-bar.component.css +1 -1
- package/src/lib/loader/spinner/spinner-styles.component.css +1 -1
- package/src/lib/match/match-card.component.css +18 -29
- package/src/lib/match/match-participant.component.css +11 -11
- package/src/lib/match/match-score.component.css +1 -1
- package/src/lib/match/match-scoreline.component.css +3 -3
- package/src/lib/menu/menu-group-label.component.css +1 -1
- package/src/lib/menu/menu-item-shortcut.component.css +1 -1
- package/src/lib/menu/menu-item-submenu-icon.component.css +1 -1
- package/src/lib/menu/menu-search-styles.component.css +3 -3
- package/src/lib/menu/menu-selection-item.component.css +2 -2
- package/src/lib/menu/menu-separator.component.css +1 -1
- package/src/lib/menu/menu.component.css +13 -10
- package/src/lib/notification/notification.component.css +10 -10
- package/src/lib/overlay/alert-dialog/alert-dialog.component.css +2 -2
- package/src/lib/overlay/floating-tip-styles.component.css +4 -4
- package/src/lib/overlay/overlay-container.component.css +9 -6
- package/src/lib/overlay/strategies/overlay-arrow-styles.component.css +2 -2
- package/src/lib/overlay/strategies/sheet-styles.component.css +2 -2
- package/src/lib/pagination/pagination.component.css +9 -10
- package/src/lib/progress-steps/progress-step.component.css +19 -19
- package/src/lib/query-error/query-error.component.css +1 -1
- package/src/lib/scheduler/scheduler-agenda-view.component.css +8 -8
- package/src/lib/scheduler/scheduler-appointment-drag-styles.component.css +4 -1
- package/src/lib/scheduler/scheduler-appointment-styles.component.css +12 -10
- package/src/lib/scheduler/scheduler-edit-color.component.css +2 -2
- package/src/lib/scheduler/scheduler-edit-surface-breadcrumb.component.css +2 -2
- package/src/lib/scheduler/scheduler-edit-surface-children.component.css +4 -4
- package/src/lib/scheduler/scheduler-month-view.component.css +16 -18
- package/src/lib/scheduler/scheduler-time-grid-view.component.css +24 -26
- package/src/lib/scheduler/scheduler.component.css +1 -1
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +55 -6
- package/src/lib/scrollable/headless/scrollable-masks.component.css +2 -2
- package/src/lib/scrollable/headless/scrollable-navigation.component.css +2 -2
- package/src/lib/scrollbar/scrollbar.component.css +2 -2
- package/src/lib/skeleton/skeleton.component.css +2 -8
- package/src/lib/standings/standings-pick.component.css +13 -21
- package/src/lib/standings/standings.component.css +24 -30
- package/src/lib/stat-tile/stat-tile-sparkline.component.css +2 -2
- package/src/lib/stat-tile/stat-tile.component.css +5 -5
- package/src/lib/stream/consent/stream-consent.component.css +2 -2
- package/src/lib/stream/error/stream-player-error.component.css +2 -2
- package/src/lib/stream/loading/stream-player-loading.component.css +3 -3
- package/src/lib/stream/pip/pip-slot-placeholder.component.css +2 -2
- package/src/lib/stream/pip/pip-stage-styles.component.css +3 -6
- package/src/lib/stream/pip/pip-window.component.css +4 -5
- package/src/lib/stream/stream-overlay-card-styles.component.css +4 -4
- package/src/lib/stream/stream-player-slot-styles.component.css +1 -1
- package/src/lib/table/table-column-menu-trigger.component.css +1 -1
- package/src/lib/table/table-expander-cell.component.css +2 -2
- package/src/lib/table/table-filter-trigger.component.css +4 -4
- package/src/lib/table/table-group-header-row.component.css +1 -1
- package/src/lib/table/table-reorder-overlay.component.css +4 -4
- package/src/lib/table/table-resize-grip.component.css +4 -5
- package/src/lib/table/table-row-box-styles.component.css +7 -11
- package/src/lib/table/table-select-cell.component.css +7 -7
- package/src/lib/table/table-sort-priority-styles.component.css +1 -1
- package/src/lib/table/table.component.css +37 -49
- package/src/lib/tabs/tab-bar-styles.component.css +44 -8
- package/src/lib/time-picker/time-picker.component.css +16 -25
- package/src/lib/timeline/timeline-item.component.css +7 -10
- package/src/lib/timeline/timeline.component.css +1 -1
- package/src/lib/toggletip/toggletip.component.css +6 -1
- package/src/lib/toolbar/toolbar.component.css +1 -1
- package/src/lib/tooltip/tooltip.component.css +4 -4
- package/src/lib/tree/tree.component.css +18 -18
- package/types/ethlete-components.d.ts +85 -28
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
rule: a transparent button paints itself in the accent ink, but in this table accent means
|
|
18
18
|
*active* (a sorted arrow, a filtered column), so a resting control has to read as header chrome. */
|
|
19
19
|
.et-table-header-cell .et-table-column-menu-trigger {
|
|
20
|
-
color: var(--et-surface-
|
|
20
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.et-table-column-menu-icon {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
|
|
35
35
|
.et-table-expander:hover,
|
|
36
36
|
.et-table-expander:focus-visible {
|
|
37
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
37
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 12%, transparent);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.et-table-expander:active {
|
|
41
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
41
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 24%, transparent);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/* The shared `et-chevron` points up, and the expander wants it pointing at what it opens: right
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
|
|
17
17
|
/* Header chrome at rest — see the same note on the column menu trigger. */
|
|
18
18
|
.et-table-header-cell .et-table-filter-trigger {
|
|
19
|
-
color: var(--et-surface-
|
|
19
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/* An active filter reads as accented, so a filtered column is obvious at a glance. */
|
|
23
23
|
.et-table-header-cell .et-table-filter-trigger:where([data-active='true']) {
|
|
24
|
-
color: var(--et-
|
|
24
|
+
color: var(--et-tone-fill, currentColor);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.et-table-filter-empty {
|
|
28
28
|
margin: 0;
|
|
29
29
|
padding: 8px 12px;
|
|
30
|
-
color: var(--et-surface-
|
|
30
|
+
color: var(--et-surface-text-muted, CanvasText);
|
|
31
31
|
font-size: 13px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.et-table-filter-more {
|
|
35
35
|
inline-size: 100%;
|
|
36
36
|
padding: 8px;
|
|
37
|
-
color: var(--et-
|
|
37
|
+
color: var(--et-tone-text, currentColor);
|
|
38
38
|
font: inherit;
|
|
39
39
|
text-align: center;
|
|
40
40
|
background: none;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
font-weight: 600;
|
|
30
30
|
letter-spacing: 0.04em;
|
|
31
31
|
text-transform: uppercase;
|
|
32
|
-
color: var(--et-surface-
|
|
32
|
+
color: var(--et-surface-text-muted, CanvasText);
|
|
33
33
|
/* The vertical rule the base sheet draws between header cells and body cells, extended to labelled
|
|
34
34
|
group runs. Unlabelled runs get none, so the band above an ungrouped column reads as empty rather
|
|
35
35
|
than as a one-column group. */
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
font-weight: 600;
|
|
33
33
|
white-space: nowrap;
|
|
34
34
|
text-overflow: ellipsis;
|
|
35
|
-
color: var(--et-surface-
|
|
36
|
-
background: var(--et-surface-background
|
|
37
|
-
border: 1px solid var(--et-surface-border
|
|
35
|
+
color: var(--et-surface-text, CanvasText);
|
|
36
|
+
background: var(--et-surface-background, Canvas);
|
|
37
|
+
border: 1px solid var(--et-surface-border, rgb(128 128 128 / 0.3));
|
|
38
38
|
border-radius: 6px;
|
|
39
|
-
box-shadow: 0 8px 24px color-mix(in srgb, var(--et-surface-
|
|
39
|
+
box-shadow: 0 8px 24px color-mix(in srgb, var(--et-surface-tint, black) 18%, transparent);
|
|
40
40
|
pointer-events: none;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
inset-block: 20%;
|
|
28
28
|
inset-inline-end: 0;
|
|
29
29
|
inline-size: 1px;
|
|
30
|
-
background: var(--et-surface-border
|
|
30
|
+
background: var(--et-surface-border, rgb(128 128 128 / 0.4));
|
|
31
31
|
transition: background 120ms ease;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -35,20 +35,19 @@
|
|
|
35
35
|
.et-table-resize-grip:hover::after {
|
|
36
36
|
inset-block: 0;
|
|
37
37
|
inline-size: 2px;
|
|
38
|
-
background: var(--et-
|
|
38
|
+
background: var(--et-tone-fill, currentColor);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.et-table-resize-grip:focus-visible {
|
|
43
|
-
outline: 2px solid
|
|
44
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
43
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
45
44
|
outline-offset: -2px;
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
.et-table-resize-grip:focus-visible::after {
|
|
49
48
|
inset-block: 0;
|
|
50
49
|
inline-size: 2px;
|
|
51
|
-
background: var(--et-
|
|
50
|
+
background: var(--et-tone-fill, currentColor);
|
|
52
51
|
}
|
|
53
52
|
|
|
54
53
|
/* Fingers can't hit a 9px strip: widen the hit area inward on coarse pointers (the header cell clips
|
|
@@ -31,21 +31,17 @@
|
|
|
31
31
|
has to be declared here rather than in the appearance block - a `var()` in the block would resolve
|
|
32
32
|
against the host, which is the surface the card is meant to stand off. */
|
|
33
33
|
.et-table-row--card {
|
|
34
|
-
--_et-table-row-paint: var(--et-table-row-background, var(--et-surface-background
|
|
34
|
+
--_et-table-row-paint: var(--et-table-row-background, var(--et-surface-background, Canvas));
|
|
35
35
|
--_et-table-row-surface: var(--_et-table-row-paint);
|
|
36
36
|
--_et-table-stripe-solid: var(--_et-table-row-paint);
|
|
37
|
-
--_et-table-row-hover-solid: color-mix(
|
|
38
|
-
in srgb,
|
|
39
|
-
var(--et-surface-interaction-solid, gray) 8%,
|
|
40
|
-
var(--_et-table-row-paint)
|
|
41
|
-
);
|
|
37
|
+
--_et-table-row-hover-solid: color-mix(in srgb, var(--et-surface-tint, gray) 8%, var(--_et-table-row-paint));
|
|
42
38
|
--_et-table-row-pressed-solid: color-mix(
|
|
43
39
|
in srgb,
|
|
44
|
-
var(--et-surface-
|
|
40
|
+
var(--et-surface-control-text, gray) 16%,
|
|
45
41
|
var(--_et-table-row-paint)
|
|
46
42
|
);
|
|
47
43
|
--_et-table-inert-row-hover-solid: var(--_et-table-row-paint);
|
|
48
|
-
color: var(--et-surface-
|
|
44
|
+
color: var(--et-surface-text, CanvasText);
|
|
49
45
|
}
|
|
50
46
|
|
|
51
47
|
/* No surface a level above the table's to raise the card onto - a theme-less app, or a table already on
|
|
@@ -68,7 +64,7 @@
|
|
|
68
64
|
position: absolute;
|
|
69
65
|
inset: 0;
|
|
70
66
|
z-index: 4;
|
|
71
|
-
border: 1px solid var(--et-table-row-border-color, var(--et-surface-border
|
|
67
|
+
border: 1px solid var(--et-table-row-border-color, var(--et-surface-border, rgb(128 128 128 / 0.3)));
|
|
72
68
|
border-radius: inherit;
|
|
73
69
|
pointer-events: none;
|
|
74
70
|
}
|
|
@@ -144,7 +140,7 @@
|
|
|
144
140
|
.et-table-host:where([data-appearance='cards']) .et-table-card-corners::before,
|
|
145
141
|
.et-table-host:where([data-appearance='cards']) .et-table-card-corners::after {
|
|
146
142
|
--_et-table-card-radius: var(--et-table-row-radius, 10px);
|
|
147
|
-
--_et-table-card-edge: var(--et-table-row-border-color, var(--et-surface-border
|
|
143
|
+
--_et-table-card-edge: var(--et-table-row-border-color, var(--et-surface-border, rgb(128 128 128 / 0.3)));
|
|
148
144
|
|
|
149
145
|
content: '';
|
|
150
146
|
flex: 0 0 auto;
|
|
@@ -240,7 +236,7 @@
|
|
|
240
236
|
position: absolute;
|
|
241
237
|
inset: 4px;
|
|
242
238
|
z-index: 5;
|
|
243
|
-
border: 2px solid var(--et-
|
|
239
|
+
border: 2px solid var(--et-tone-fill, currentColor);
|
|
244
240
|
border-radius: max(0px, calc(var(--_et-table-row-corner, 0px) - 4px));
|
|
245
241
|
pointer-events: none;
|
|
246
242
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
`.et-table-row.et-table-row--selected` outweighs the base sheet's stripe, hover and pressed rules
|
|
39
39
|
instead of tying with them: Angular re-appends that sheet after this one when a table mounts again. */
|
|
40
40
|
.et-table-row.et-table-row--selected {
|
|
41
|
-
--_et-table-selected-accent: var(--et-table-row-selected-tint, var(--et-
|
|
41
|
+
--_et-table-selected-accent: var(--et-table-row-selected-tint, var(--et-tone-fill, gray));
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.et-table-row.et-table-row--selected .et-table-cell {
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
color-mix(
|
|
55
55
|
in srgb,
|
|
56
56
|
var(--_et-table-selected-accent) 32%,
|
|
57
|
-
var(--_et-table-row-surface, var(--et-surface-background
|
|
57
|
+
var(--_et-table-row-surface, var(--et-surface-background, Canvas))
|
|
58
58
|
),
|
|
59
59
|
color-mix(
|
|
60
60
|
in srgb,
|
|
61
61
|
var(--_et-table-selected-accent) 12%,
|
|
62
|
-
var(--_et-table-row-surface, var(--et-surface-background
|
|
62
|
+
var(--_et-table-row-surface, var(--et-surface-background, Canvas))
|
|
63
63
|
)
|
|
64
64
|
);
|
|
65
65
|
}
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
color-mix(
|
|
81
81
|
in srgb,
|
|
82
82
|
var(--_et-table-selected-accent) 38%,
|
|
83
|
-
var(--_et-table-row-surface, var(--et-surface-background
|
|
83
|
+
var(--_et-table-row-surface, var(--et-surface-background, Canvas))
|
|
84
84
|
),
|
|
85
85
|
color-mix(
|
|
86
86
|
in srgb,
|
|
87
87
|
var(--_et-table-selected-accent) 18%,
|
|
88
|
-
var(--_et-table-row-surface, var(--et-surface-background
|
|
88
|
+
var(--_et-table-row-surface, var(--et-surface-background, Canvas))
|
|
89
89
|
)
|
|
90
90
|
);
|
|
91
91
|
}
|
|
@@ -107,12 +107,12 @@
|
|
|
107
107
|
color-mix(
|
|
108
108
|
in srgb,
|
|
109
109
|
var(--_et-table-selected-accent) 44%,
|
|
110
|
-
var(--_et-table-row-surface, var(--et-surface-background
|
|
110
|
+
var(--_et-table-row-surface, var(--et-surface-background, Canvas))
|
|
111
111
|
),
|
|
112
112
|
color-mix(
|
|
113
113
|
in srgb,
|
|
114
114
|
var(--_et-table-selected-accent) 26%,
|
|
115
|
-
var(--_et-table-row-surface, var(--et-surface-background
|
|
115
|
+
var(--_et-table-row-surface, var(--et-surface-background, Canvas))
|
|
116
116
|
)
|
|
117
117
|
);
|
|
118
118
|
}
|
|
@@ -36,22 +36,15 @@
|
|
|
36
36
|
/* The table owns this scroll container, so it owns the scrollbar in it: left to the platform, a
|
|
37
37
|
horizontally scrolling table ends on a wide light-grey slab that no theme reaches. */
|
|
38
38
|
scrollbar-width: thin;
|
|
39
|
-
scrollbar-color: color-mix(in srgb, var(--et-surface-
|
|
39
|
+
scrollbar-color: color-mix(in srgb, var(--et-surface-tint, gray) 35%, transparent) transparent;
|
|
40
40
|
|
|
41
41
|
/* Skin knobs — the flat cell rules read these; each appearance overrides what it needs. The band
|
|
42
42
|
is a subtle neutral tint mixed over the surface so it stays opaque under the sticky header. */
|
|
43
|
-
--_et-table-band: color-mix(
|
|
44
|
-
in srgb,
|
|
45
|
-
var(--et-surface-interaction-solid, gray) 7%,
|
|
46
|
-
var(--et-surface-background-solid, Canvas)
|
|
47
|
-
);
|
|
43
|
+
--_et-table-band: color-mix(in srgb, var(--et-surface-tint, gray) 7%, var(--et-surface-background, Canvas));
|
|
48
44
|
/* The opaque paint behind the two bars rows pass under: the sticky header row and the footer bar.
|
|
49
45
|
Both read it, so an app that recolours one cannot leave the other behind. */
|
|
50
|
-
--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background
|
|
51
|
-
--_et-table-header-border: var(
|
|
52
|
-
--et-table-header-border-color,
|
|
53
|
-
var(--et-surface-border-solid, rgb(128 128 128 / 0.3))
|
|
54
|
-
);
|
|
46
|
+
--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background, Canvas));
|
|
47
|
+
--_et-table-header-border: var(--et-table-header-border-color, var(--et-surface-border, rgb(128 128 128 / 0.3)));
|
|
55
48
|
--_et-table-row-divider: transparent;
|
|
56
49
|
/* The box of a header adornment (a filter trigger, a column menu trigger), read both by the button
|
|
57
50
|
itself and by the height the header row reserves for it. */
|
|
@@ -60,27 +53,27 @@
|
|
|
60
53
|
so it cannot use the translucent tints the other cells layer on - it needs each of them mixed over
|
|
61
54
|
what the row is actually painted on. Every `*-solid` below mixes over this one knob, and an
|
|
62
55
|
appearance that paints its rows differently (`cards`) sets it once. */
|
|
63
|
-
--_et-table-row-surface: var(--et-surface-background
|
|
56
|
+
--_et-table-row-surface: var(--et-surface-background, Canvas);
|
|
64
57
|
/* Stripe as a translucent tint (layered over the row's paint for normal cells) and as an opaque
|
|
65
58
|
solid (for pinned cells). */
|
|
66
59
|
--_et-table-stripe-bg: transparent;
|
|
67
60
|
--_et-table-stripe-solid: var(--_et-table-row-surface);
|
|
68
61
|
/* The hover tint, in the same two forms and for the same reason. Read as a knob so an appearance
|
|
69
62
|
can drop it, where a row has nothing to react to. */
|
|
70
|
-
--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-
|
|
63
|
+
--_et-table-hover-tint: color-mix(in srgb, var(--et-surface-tint, gray) 8%, transparent);
|
|
71
64
|
--_et-table-hover-tint-solid: color-mix(
|
|
72
65
|
in srgb,
|
|
73
|
-
var(--et-surface-
|
|
66
|
+
var(--et-surface-control-text, gray) 8%,
|
|
74
67
|
var(--_et-table-row-surface)
|
|
75
68
|
);
|
|
76
69
|
--_et-table-row-hover: var(--_et-table-hover-tint);
|
|
77
70
|
--_et-table-row-hover-solid: var(--_et-table-hover-tint-solid);
|
|
78
71
|
/* Held rather than hovered. Twice the hover tint, the same step the library's buttons take, in the
|
|
79
72
|
same two forms as the hover tint and for the same reason. */
|
|
80
|
-
--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-
|
|
73
|
+
--_et-table-pressed-tint: color-mix(in srgb, var(--et-surface-tint, gray) 16%, transparent);
|
|
81
74
|
--_et-table-pressed-tint-solid: color-mix(
|
|
82
75
|
in srgb,
|
|
83
|
-
var(--et-surface-
|
|
76
|
+
var(--et-surface-control-text, gray) 16%,
|
|
84
77
|
var(--_et-table-row-surface)
|
|
85
78
|
);
|
|
86
79
|
--_et-table-row-pressed: var(--_et-table-pressed-tint);
|
|
@@ -103,11 +96,11 @@
|
|
|
103
96
|
--_et-table-sticky-clip: none;
|
|
104
97
|
--_et-table-busy-margin-block-start: 0px;
|
|
105
98
|
--_et-table-busy-margin-block-end: -2px;
|
|
106
|
-
--_et-table-detail-rule: 1px solid var(--et-surface-border
|
|
99
|
+
--_et-table-detail-rule: 1px solid var(--et-surface-border, rgb(128 128 128 / 0.15));
|
|
107
100
|
/* The paint outside a card's rounded corner - the table's own surface. Declared here and not on the
|
|
108
101
|
corner box, which sits inside a card row: a card row raises its elevation, so a var() resolved
|
|
109
102
|
inside it would pick the card's own surface and the rounding would vanish. */
|
|
110
|
-
--_et-table-card-outside: var(--et-surface-background
|
|
103
|
+
--_et-table-card-outside: var(--et-surface-background, Canvas);
|
|
111
104
|
/* The mark at an edge rows pass under - a pinned column's inner edge, the sticky header, the footer
|
|
112
105
|
bar. The surface's own interaction neutral rather than a fixed black, which is invisible on a dark
|
|
113
106
|
table: the boundary has to lighten there instead. Named per direction so a cell sitting at two of
|
|
@@ -122,7 +115,7 @@
|
|
|
122
115
|
classes) - and every rule below composes these, so none of them needs to ask. */
|
|
123
116
|
--_et-table-pin-shadow: var(
|
|
124
117
|
--et-table-pin-shadow-color,
|
|
125
|
-
color-mix(in srgb, var(--et-surface-
|
|
118
|
+
color-mix(in srgb, var(--et-surface-tint, black) 30%, transparent)
|
|
126
119
|
);
|
|
127
120
|
/* Per axis as well, because the two marks answer to different designs: an app that draws its own
|
|
128
121
|
rule at a pinned column's edge takes the inline mark to `transparent` and still wants the block
|
|
@@ -171,36 +164,32 @@
|
|
|
171
164
|
/* "Panel" skins wrap the table in a bordered, rounded surface; overflow:auto (above) clips the
|
|
172
165
|
rounded corners and keeps the sticky header inside the panel. */
|
|
173
166
|
.et-table-host:where([data-appearance='enclosed'], [data-appearance='zebra'], [data-appearance='grid']) {
|
|
174
|
-
border: 1px solid var(--et-surface-border
|
|
167
|
+
border: 1px solid var(--et-surface-border, rgb(128 128 128 / 0.3));
|
|
175
168
|
border-radius: var(--et-table-radius, 10px);
|
|
176
169
|
}
|
|
177
170
|
|
|
178
171
|
.et-table-host:where([data-appearance='enclosed']) {
|
|
179
172
|
--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));
|
|
180
|
-
--_et-table-row-divider: var(--et-surface-border
|
|
173
|
+
--_et-table-row-divider: var(--et-surface-border, rgb(128 128 128 / 0.15));
|
|
181
174
|
box-shadow:
|
|
182
|
-
0 1px 2px
|
|
183
|
-
0 6px 16px
|
|
175
|
+
0 1px 2px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 4%, transparent),
|
|
176
|
+
0 6px 16px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 6%, transparent);
|
|
184
177
|
}
|
|
185
178
|
|
|
186
179
|
.et-table-host:where([data-appearance='divided']) {
|
|
187
|
-
--_et-table-row-divider: var(--et-surface-border
|
|
180
|
+
--_et-table-row-divider: var(--et-surface-border, rgb(128 128 128 / 0.15));
|
|
188
181
|
}
|
|
189
182
|
|
|
190
183
|
.et-table-host:where([data-appearance='zebra']) {
|
|
191
184
|
--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));
|
|
192
|
-
--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-
|
|
193
|
-
--_et-table-stripe-solid: color-mix(
|
|
194
|
-
in srgb,
|
|
195
|
-
var(--et-surface-interaction-solid, gray) 4%,
|
|
196
|
-
var(--_et-table-row-surface)
|
|
197
|
-
);
|
|
185
|
+
--_et-table-stripe-bg: color-mix(in srgb, var(--et-surface-tint, gray) 4%, transparent);
|
|
186
|
+
--_et-table-stripe-solid: color-mix(in srgb, var(--et-surface-tint, gray) 4%, var(--_et-table-row-surface));
|
|
198
187
|
}
|
|
199
188
|
|
|
200
189
|
.et-table-host:where([data-appearance='grid']) {
|
|
201
|
-
--_et-table-cell-rule: 1px solid var(--et-surface-border
|
|
190
|
+
--_et-table-cell-rule: 1px solid var(--et-surface-border, rgb(128 128 128 / 0.15));
|
|
202
191
|
--_et-table-header-bg: var(--et-table-header-background-color, var(--_et-table-band));
|
|
203
|
-
--_et-table-row-divider: var(--et-surface-border
|
|
192
|
+
--_et-table-row-divider: var(--et-surface-border, rgb(128 128 128 / 0.15));
|
|
204
193
|
}
|
|
205
194
|
|
|
206
195
|
.et-table-host:where([data-appearance='bare']) {
|
|
@@ -223,7 +212,7 @@
|
|
|
223
212
|
--_et-table-busy-margin-block-end: calc((var(--et-table-row-gap, 8px) - 2px) / 2);
|
|
224
213
|
--_et-table-detail-rule: 0;
|
|
225
214
|
--_et-table-inert-row-hover: transparent;
|
|
226
|
-
--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background
|
|
215
|
+
--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background, Canvas));
|
|
227
216
|
--_et-table-row-divider: transparent;
|
|
228
217
|
}
|
|
229
218
|
|
|
@@ -249,8 +238,8 @@
|
|
|
249
238
|
min-inline-size: 100%;
|
|
250
239
|
/* The table is a surface panel: paint its background so cells (and the sticky
|
|
251
240
|
header, which reuses this token) sit on an opaque, themed surface. */
|
|
252
|
-
background: var(--et-surface-background
|
|
253
|
-
color: var(--et-surface-
|
|
241
|
+
background: var(--et-surface-background, Canvas);
|
|
242
|
+
color: var(--et-surface-text, CanvasText);
|
|
254
243
|
font-size: 14px;
|
|
255
244
|
line-height: 1.4;
|
|
256
245
|
}
|
|
@@ -313,7 +302,7 @@
|
|
|
313
302
|
letter-spacing: var(--et-table-header-letter-spacing);
|
|
314
303
|
text-transform: var(--et-table-header-text-transform);
|
|
315
304
|
min-block-size: var(--et-table-header-row-min-height, auto);
|
|
316
|
-
color: var(--et-table-header-color, var(--et-surface-
|
|
305
|
+
color: var(--et-table-header-color, var(--et-surface-text-muted, CanvasText));
|
|
317
306
|
/* Opaque (band or plain surface) so scrolling rows pass behind the pinned header. */
|
|
318
307
|
background: var(--_et-table-header-bg);
|
|
319
308
|
border-block-end: 1px solid var(--_et-table-header-border);
|
|
@@ -434,7 +423,7 @@
|
|
|
434
423
|
font-weight: 600;
|
|
435
424
|
/* Opaque band so scrolling rows pass behind the pinned footer. */
|
|
436
425
|
background: var(--_et-table-header-bg);
|
|
437
|
-
border-block-start: 1px solid var(--et-surface-border
|
|
426
|
+
border-block-start: 1px solid var(--et-surface-border, rgb(128 128 128 / 0.3));
|
|
438
427
|
}
|
|
439
428
|
|
|
440
429
|
.et-table-footer-cell:where([data-align='center']) {
|
|
@@ -473,7 +462,7 @@
|
|
|
473
462
|
so the public knob can fall back to a theme token (see the theming guide). */
|
|
474
463
|
--_et-table-scroll-fade-color: var(
|
|
475
464
|
--et-table-scroll-fade-color,
|
|
476
|
-
color-mix(in srgb, var(--et-surface-
|
|
465
|
+
color-mix(in srgb, var(--et-surface-tint, black) 22%, transparent)
|
|
477
466
|
);
|
|
478
467
|
}
|
|
479
468
|
|
|
@@ -512,7 +501,7 @@
|
|
|
512
501
|
z-index: 4;
|
|
513
502
|
padding: var(--et-table-cell-padding-block) var(--et-table-cell-padding-inline);
|
|
514
503
|
background: var(--_et-table-header-bg);
|
|
515
|
-
border-block-start: 1px solid var(--et-surface-border
|
|
504
|
+
border-block-start: 1px solid var(--et-surface-border, rgb(128 128 128 / 0.3));
|
|
516
505
|
}
|
|
517
506
|
|
|
518
507
|
/* Secondary text projected into the footer bar — an "Items per page:" label beside a page-size
|
|
@@ -521,7 +510,7 @@
|
|
|
521
510
|
.et-table-footer-label {
|
|
522
511
|
margin: 0;
|
|
523
512
|
font-size: 14px;
|
|
524
|
-
color: var(--et-surface-
|
|
513
|
+
color: var(--et-surface-text-muted, CanvasText);
|
|
525
514
|
}
|
|
526
515
|
|
|
527
516
|
/* Tighten the footer bar on touch layouts, where it otherwise eats a lot of vertical room. */
|
|
@@ -576,8 +565,7 @@
|
|
|
576
565
|
.et-table-expander:focus-visible,
|
|
577
566
|
.et-table-cell:focus-visible,
|
|
578
567
|
.et-table-header-label:focus-visible .et-table-header-label-box {
|
|
579
|
-
outline: 2px solid
|
|
580
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
568
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
581
569
|
outline-offset: -2px;
|
|
582
570
|
}
|
|
583
571
|
|
|
@@ -676,7 +664,7 @@
|
|
|
676
664
|
inline-size: 1.15em;
|
|
677
665
|
block-size: 1.15em;
|
|
678
666
|
transform: translateY(-0.045em);
|
|
679
|
-
color: light-dark(var(--et-
|
|
667
|
+
color: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
680
668
|
/* Reversing the sort turns the arrow over in place — the element stays mounted across the flip,
|
|
681
669
|
so a plain transition on `transform` is the whole animation. The glyph is drawn centred in its
|
|
682
670
|
own box (see ARROW_UP_ICON), which is what keeps the ink still while it rotates. */
|
|
@@ -737,7 +725,7 @@
|
|
|
737
725
|
box-sizing: border-box;
|
|
738
726
|
inline-size: var(--_et-table-viewport-inline-size, 100%);
|
|
739
727
|
padding: 32px var(--et-table-cell-padding-inline);
|
|
740
|
-
color: var(--et-surface-
|
|
728
|
+
color: var(--et-surface-text-muted, CanvasText);
|
|
741
729
|
text-align: center;
|
|
742
730
|
}
|
|
743
731
|
|
|
@@ -767,7 +755,7 @@
|
|
|
767
755
|
inline-size: 16px;
|
|
768
756
|
block-size: 16px;
|
|
769
757
|
/* Ink, not `primary`: the mark sits on the table's own surface, not on a filled swatch. */
|
|
770
|
-
color: var(--et-
|
|
758
|
+
color: var(--et-tone-text, currentColor);
|
|
771
759
|
}
|
|
772
760
|
|
|
773
761
|
/* A cell that failed on its own keeps its value and gains the mark in front of it, so the row stays
|
|
@@ -780,7 +768,7 @@
|
|
|
780
768
|
flex: none;
|
|
781
769
|
inline-size: 14px;
|
|
782
770
|
block-size: 14px;
|
|
783
|
-
color: var(--et-
|
|
771
|
+
color: var(--et-tone-text, currentColor);
|
|
784
772
|
}
|
|
785
773
|
|
|
786
774
|
/* ── Loading ────────────────────────────────────────────────────────────
|
|
@@ -803,7 +791,7 @@
|
|
|
803
791
|
margin-block-start: var(--_et-table-busy-margin-block-start);
|
|
804
792
|
margin-block-end: var(--_et-table-busy-margin-block-end);
|
|
805
793
|
overflow: hidden;
|
|
806
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
794
|
+
background: color-mix(in srgb, var(--et-surface-tint, gray) 10%, transparent);
|
|
807
795
|
}
|
|
808
796
|
|
|
809
797
|
.et-table-busy-bar.et-table-busy-bar--enter {
|
|
@@ -830,7 +818,7 @@
|
|
|
830
818
|
inline-size: 40%;
|
|
831
819
|
block-size: 100%;
|
|
832
820
|
border-radius: 999px;
|
|
833
|
-
background: light-dark(var(--et-
|
|
821
|
+
background: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
834
822
|
animation: et-table-busy-sweep 1.1s ease-in-out infinite;
|
|
835
823
|
}
|
|
836
824
|
|
|
@@ -859,7 +847,7 @@
|
|
|
859
847
|
}
|
|
860
848
|
|
|
861
849
|
.et-table-host et-checkbox:where([aria-checked='true'], [aria-checked='mixed']) .et-checkbox-box {
|
|
862
|
-
outline: 1px solid var(--et-
|
|
850
|
+
outline: 1px solid var(--et-tone-text);
|
|
863
851
|
outline-offset: -1px;
|
|
864
852
|
}
|
|
865
853
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
display: inline-flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
color: var(--et-tab-inactive-color, var(--et-surface-
|
|
37
|
+
color: var(--et-tab-inactive-color, var(--et-surface-control-text, inherit));
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
position: relative;
|
|
40
40
|
white-space: nowrap;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
content: '';
|
|
78
78
|
position: absolute;
|
|
79
79
|
z-index: -1;
|
|
80
|
-
background: var(--et-tab-baseline-color, var(--et-surface-border
|
|
80
|
+
background: var(--et-tab-baseline-color, var(--et-surface-border, currentColor));
|
|
81
81
|
opacity: var(--et-tab-baseline-opacity);
|
|
82
82
|
pointer-events: none;
|
|
83
83
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
.et-tab-bar-underline {
|
|
109
109
|
position: absolute;
|
|
110
110
|
z-index: 1;
|
|
111
|
-
background: var(--et-
|
|
111
|
+
background: var(--et-tone-text, currentColor);
|
|
112
112
|
pointer-events: none;
|
|
113
113
|
opacity: 0;
|
|
114
114
|
}
|
|
@@ -180,10 +180,24 @@
|
|
|
180
180
|
bottom: var(--et-nav-tab-link-padding-block);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
.et-tab-group__trigger:not(.et-tab-group__trigger--active):not(:disabled):focus-visible,
|
|
184
|
+
.et-nav-tab-link:not(.et-nav-tab-link--active):not(.et-nav-tab-link--disabled):focus-visible {
|
|
185
|
+
color: var(
|
|
186
|
+
--et-tab-inactive-color,
|
|
187
|
+
var(
|
|
188
|
+
--et-surface-control-text-focus,
|
|
189
|
+
var(--et-surface-control-text-hover, var(--et-surface-control-text, inherit))
|
|
190
|
+
)
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
|
|
183
194
|
@media (hover: hover) {
|
|
184
195
|
.et-tab-group__trigger:not(.et-tab-group__trigger--active):not(:disabled):hover,
|
|
185
196
|
.et-nav-tab-link:not(.et-nav-tab-link--active):not(.et-nav-tab-link--disabled):hover {
|
|
186
|
-
color: var(
|
|
197
|
+
color: var(
|
|
198
|
+
--et-tab-hover-color,
|
|
199
|
+
var(--et-tab-inactive-color, var(--et-surface-control-text-hover, var(--et-surface-control-text, inherit)))
|
|
200
|
+
);
|
|
187
201
|
|
|
188
202
|
.et-tab-bar-underline {
|
|
189
203
|
opacity: var(--et-tab-hover-underline-opacity, 0);
|
|
@@ -192,23 +206,45 @@
|
|
|
192
206
|
|
|
193
207
|
.et-tab-group__trigger.et-tab-group__trigger--active:not(.et-tab-bar-trigger--just-activated):hover,
|
|
194
208
|
.et-nav-tab-link.et-nav-tab-link--active:not(.et-tab-bar-trigger--just-activated):hover {
|
|
195
|
-
background:
|
|
209
|
+
background: color-mix(in srgb, var(--et-tone-fill, rgb(0 0 0)) 8%, transparent);
|
|
196
210
|
}
|
|
197
211
|
}
|
|
198
212
|
|
|
213
|
+
.et-tab-group__trigger:not(.et-tab-group__trigger--active):not(:disabled):active,
|
|
214
|
+
.et-nav-tab-link:not(.et-nav-tab-link--active):not(.et-nav-tab-link--disabled):active {
|
|
215
|
+
color: var(
|
|
216
|
+
--et-tab-hover-color,
|
|
217
|
+
var(
|
|
218
|
+
--et-tab-inactive-color,
|
|
219
|
+
var(
|
|
220
|
+
--et-surface-control-text-active,
|
|
221
|
+
var(--et-surface-control-text-hover, var(--et-surface-control-text, inherit))
|
|
222
|
+
)
|
|
223
|
+
)
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.et-tab-group__trigger:not(.et-tab-group__trigger--active):disabled,
|
|
228
|
+
.et-nav-tab-link.et-nav-tab-link--disabled:not(.et-nav-tab-link--active) {
|
|
229
|
+
color: var(
|
|
230
|
+
--et-tab-inactive-color,
|
|
231
|
+
var(--et-surface-control-text-disabled, var(--et-surface-control-text, inherit))
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
|
|
199
235
|
.et-tab-group__trigger.et-tab-group__trigger--active:not(.et-tab-bar-trigger--just-activated):focus-visible,
|
|
200
236
|
.et-nav-tab-link.et-nav-tab-link--active:not(.et-tab-bar-trigger--just-activated):focus-visible {
|
|
201
|
-
background:
|
|
237
|
+
background: color-mix(in srgb, var(--et-tone-fill, rgb(0 0 0)) 12%, transparent);
|
|
202
238
|
}
|
|
203
239
|
|
|
204
240
|
.et-tab-group__trigger.et-tab-group__trigger--active:not(.et-tab-bar-trigger--just-activated):active,
|
|
205
241
|
.et-nav-tab-link.et-nav-tab-link--active:not(.et-tab-bar-trigger--just-activated):active {
|
|
206
|
-
background:
|
|
242
|
+
background: color-mix(in srgb, var(--et-tone-fill, rgb(0 0 0)) 16%, transparent);
|
|
207
243
|
}
|
|
208
244
|
|
|
209
245
|
.et-tab-group__trigger.et-tab-group__trigger--active,
|
|
210
246
|
.et-nav-tab-link.et-nav-tab-link--active {
|
|
211
|
-
color: var(--et-tab-active-color, var(--et-surface-
|
|
247
|
+
color: var(--et-tab-active-color, var(--et-surface-text, inherit));
|
|
212
248
|
}
|
|
213
249
|
|
|
214
250
|
.et-tab-group__trigger.et-tab-bar-trigger--no-initial-transition,
|