@ethlete/components 1.0.0-next.100 → 1.0.0-next.101
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 +39 -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 +2 -2
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.carousel-frame {
|
|
2
2
|
padding: 2.4rem;
|
|
3
|
-
background: var(--et-surface-background
|
|
4
|
-
color: var(--et-surface-
|
|
3
|
+
background: var(--et-surface-background);
|
|
4
|
+
color: var(--et-surface-text);
|
|
5
5
|
font-size: 1.4rem;
|
|
6
6
|
|
|
7
7
|
.carousel-slide {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
min-block-size: 200px;
|
|
15
15
|
padding: 2.4rem;
|
|
16
16
|
border-radius: 12px;
|
|
17
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
18
|
-
color: var(--et-surface-
|
|
17
|
+
background: color-mix(in srgb, var(--et-surface-text) 14%, transparent);
|
|
18
|
+
color: var(--et-surface-text);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.carousel-slide p {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
|
|
35
35
|
@layer components {
|
|
36
36
|
.et-carousel .et-focus-ring {
|
|
37
|
-
--_et-focus-ring-color: var(--et-
|
|
37
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.et-carousel .et-carousel-dot[data-active]::before,
|
|
41
41
|
.et-carousel .et-carousel-dot-progress-half::before {
|
|
42
|
-
background: light-dark(var(--et-
|
|
42
|
+
background: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.t-frame {
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
padding: 1.6rem;
|
|
4
|
-
background: var(--et-surface-background
|
|
5
|
-
color: var(--et-surface-
|
|
4
|
+
background: var(--et-surface-background);
|
|
5
|
+
color: var(--et-surface-text);
|
|
6
6
|
font-size: 1.4rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
.et-line-chart-tooltip .et-line-chart-tooltip-key {
|
|
15
15
|
--_et-chart-mark-accent: color-mix(
|
|
16
16
|
in oklab,
|
|
17
|
-
light-dark(var(--et-
|
|
18
|
-
var(--et-surface-background
|
|
17
|
+
light-dark(var(--et-tone-text), var(--et-tone-fill)) var(--_et-chart-accent-mix, 100%),
|
|
18
|
+
var(--et-surface-background, transparent)
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
|
|
36
36
|
.et-bar-chart-bar .et-bar-chart-bar-mark,
|
|
37
37
|
.et-pie-chart-slice .et-pie-chart-slice-mark {
|
|
38
|
-
stroke: var(--et-
|
|
38
|
+
stroke: var(--et-tone-text);
|
|
39
39
|
stroke-width: 1px;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.et-chart-legend:not([data-mark='line']) .et-chart-legend-swatch,
|
|
43
43
|
.et-pie-chart-legend .et-pie-chart-legend-swatch {
|
|
44
|
-
box-shadow: inset 0 0 0 1px var(--et-
|
|
44
|
+
box-shadow: inset 0 0 0 1px var(--et-tone-text);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.et-bar-chart-bar:focus-visible .et-bar-chart-bar-target,
|
|
48
48
|
.et-line-chart-slice:focus-visible .et-line-chart-focus-ring {
|
|
49
|
-
stroke: var(--et-
|
|
49
|
+
stroke: var(--et-tone-text);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.et-pie-chart-slice:focus-visible .et-pie-chart-slice-mark {
|
|
53
|
-
stroke: var(--et-
|
|
53
|
+
stroke: var(--et-tone-text);
|
|
54
54
|
stroke-width: 2px;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
padding: 2.4rem 1.6rem;
|
|
5
|
-
background: var(--et-surface-background
|
|
6
|
-
color: var(--et-surface-
|
|
5
|
+
background: var(--et-surface-background);
|
|
6
|
+
color: var(--et-surface-text);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@layer components {
|
|
10
10
|
.et-chip:where([role='checkbox'], [role='radio']):focus-visible,
|
|
11
11
|
.et-chip .et-chip-remove-button:focus-visible {
|
|
12
|
-
outline-color: var(--et-
|
|
12
|
+
outline-color: var(--et-tone-text);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.et-chip:where([aria-checked='true']) {
|
|
16
|
-
box-shadow: inset 0 0 0 1px var(--et-
|
|
16
|
+
box-shadow: inset 0 0 0 1px var(--et-tone-text);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 1.6rem;
|
|
5
5
|
padding: 2.4rem 1.6rem;
|
|
6
|
-
background: var(--et-surface-background
|
|
7
|
-
color: var(--et-surface-
|
|
6
|
+
background: var(--et-surface-background);
|
|
7
|
+
color: var(--et-surface-text);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@layer components {
|
|
11
11
|
.copy-button-frame .et-focus-ring {
|
|
12
|
-
--_et-focus-ring-color: var(--et-
|
|
12
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.description-list-frame {
|
|
2
2
|
max-inline-size: 42rem;
|
|
3
3
|
padding: 3.2rem;
|
|
4
|
-
background: var(--et-surface-background
|
|
5
|
-
color: var(--et-surface-
|
|
4
|
+
background: var(--et-surface-background);
|
|
5
|
+
color: var(--et-surface-text);
|
|
6
6
|
font-family: var(--et-font-family);
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.dialog-frame {
|
|
2
2
|
overflow: hidden;
|
|
3
|
-
background: var(--et-surface-background
|
|
4
|
-
color: var(--et-surface-
|
|
3
|
+
background: var(--et-surface-background);
|
|
4
|
+
color: var(--et-surface-text);
|
|
5
5
|
font-size: 1.4rem;
|
|
6
6
|
}
|
|
7
7
|
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
@layer components {
|
|
22
22
|
.et-overlay--dialog .et-focus-ring {
|
|
23
|
-
--_et-focus-ring-color: var(--et-
|
|
23
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.et-overlay--dialog .et-button[data-variant='filled'] {
|
|
27
|
-
--et-button-shadow: inset 0 0 0 1px var(--et-
|
|
27
|
+
--et-button-shadow: inset 0 0 0 1px var(--et-tone-text);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.empty-state-frame {
|
|
2
2
|
padding: 2.4rem 1.6rem;
|
|
3
|
-
background: var(--et-surface-background
|
|
4
|
-
color: var(--et-surface-
|
|
3
|
+
background: var(--et-surface-background);
|
|
4
|
+
color: var(--et-surface-text);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
@layer components {
|
|
8
8
|
.et-empty-state .et-focus-ring {
|
|
9
|
-
--_et-focus-ring-color: var(--et-
|
|
9
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.et-empty-state .et-button[data-variant='filled'] {
|
|
13
|
-
--et-button-shadow: inset 0 0 0 1px var(--et-
|
|
13
|
+
--et-button-shadow: inset 0 0 0 1px var(--et-tone-text);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
block-size: 400px;
|
|
6
6
|
transform: translate(0);
|
|
7
|
-
background: var(--et-surface-background
|
|
8
|
-
color: var(--et-surface-
|
|
7
|
+
background: var(--et-surface-background);
|
|
8
|
+
color: var(--et-surface-text);
|
|
9
9
|
font-size: 1.4rem;
|
|
10
10
|
|
|
11
11
|
.fa-page {
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
.fa-row {
|
|
40
40
|
padding: 1.2rem;
|
|
41
41
|
border-radius: 8px;
|
|
42
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
42
|
+
background: color-mix(in srgb, var(--et-surface-text) 8%, transparent);
|
|
43
43
|
list-style: none;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@layer components {
|
|
48
48
|
.et-floating-action .et-floating-action-trigger:where([data-floating-action-state='floating']) {
|
|
49
|
-
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-
|
|
49
|
+
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
.t-frame {
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
padding: 1.6rem;
|
|
4
|
-
background: var(--et-surface-background
|
|
5
|
-
color: var(--et-surface-
|
|
4
|
+
background: var(--et-surface-background);
|
|
5
|
+
color: var(--et-surface-text);
|
|
6
6
|
font-size: 1.4rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@layer components {
|
|
10
10
|
.et-grid-item:focus-visible {
|
|
11
|
-
outline-color: var(--et-
|
|
11
|
+
outline-color: var(--et-tone-text);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.et-grid-item-toolbar .et-focus-ring {
|
|
15
|
-
--_et-focus-ring-color: var(--et-
|
|
15
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -3,39 +3,30 @@
|
|
|
3
3
|
display: grid;
|
|
4
4
|
gap: 1.6rem;
|
|
5
5
|
padding: 1.6rem;
|
|
6
|
-
background: var(--et-surface-background
|
|
7
|
-
color: var(--et-surface-
|
|
6
|
+
background: var(--et-surface-background);
|
|
7
|
+
color: var(--et-surface-text);
|
|
8
8
|
font-size: 1.4rem;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@layer components {
|
|
12
12
|
et-form-field[data-text-shell] {
|
|
13
|
-
--_et-form-field-frame-border: color-mix(
|
|
14
|
-
|
|
15
|
-
var(--et-surface-color-solid) 43%,
|
|
16
|
-
var(--et-surface-background-solid)
|
|
17
|
-
);
|
|
18
|
-
--_et-form-field-frame-border-hover: var(--et-surface-color-solid);
|
|
13
|
+
--_et-form-field-frame-border: color-mix(in oklab, var(--et-surface-text) 43%, var(--et-surface-background));
|
|
14
|
+
--_et-form-field-frame-border-hover: var(--et-surface-text);
|
|
19
15
|
}
|
|
20
16
|
|
|
21
17
|
et-form-field[data-text-shell][data-error] {
|
|
22
|
-
--_et-form-field-frame-border: var(--et-
|
|
18
|
+
--_et-form-field-frame-border: var(--et-tone-fill);
|
|
23
19
|
--_et-form-field-frame-border-hover: light-dark(
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
var(--et-tone-fill-hover, var(--et-tone-fill-rest)),
|
|
21
|
+
var(
|
|
22
|
+
--et-tone-text-active,
|
|
26
23
|
var(
|
|
27
|
-
--et-
|
|
24
|
+
--et-tone-text-focus,
|
|
28
25
|
var(
|
|
29
|
-
--et-
|
|
26
|
+
--et-tone-text-hover,
|
|
30
27
|
var(
|
|
31
|
-
--et-
|
|
32
|
-
var(
|
|
33
|
-
--et-color-primary-ink,
|
|
34
|
-
var(
|
|
35
|
-
--et-color-primary-active,
|
|
36
|
-
var(--et-color-primary-focus, var(--et-color-primary-hover, var(--et-color-primary)))
|
|
37
|
-
)
|
|
38
|
-
)
|
|
28
|
+
--et-tone-text-rest,
|
|
29
|
+
var(--et-tone-fill-active, var(--et-tone-fill-focus, var(--et-tone-fill-hover, var(--et-tone-fill-rest))))
|
|
39
30
|
)
|
|
40
31
|
)
|
|
41
32
|
)
|
|
@@ -48,7 +39,7 @@
|
|
|
48
39
|
}
|
|
49
40
|
|
|
50
41
|
et-form-field et-label .et-label-required-marker {
|
|
51
|
-
color: var(--et-
|
|
42
|
+
color: var(--et-tone-text);
|
|
52
43
|
}
|
|
53
44
|
|
|
54
45
|
et-input .et-input-native::placeholder {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.loader-frame {
|
|
2
2
|
padding: 2.4rem 1.6rem;
|
|
3
|
-
background: var(--et-surface-background
|
|
4
|
-
color: var(--et-surface-
|
|
3
|
+
background: var(--et-surface-background);
|
|
4
|
+
color: var(--et-surface-text);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.loader-row {
|
|
@@ -18,19 +18,19 @@
|
|
|
18
18
|
|
|
19
19
|
@layer components {
|
|
20
20
|
.et-spinner.et-color--brand {
|
|
21
|
-
--et-spinner-color: var(--et-
|
|
21
|
+
--et-spinner-color: var(--et-tone-text);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.et-progress-bar.et-color--brand {
|
|
25
|
-
--et-progress-bar-indicator-color: var(--et-
|
|
25
|
+
--et-progress-bar-indicator-color: var(--et-tone-text);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.et-brand-loader .et-brand-loader__outline {
|
|
29
|
-
stroke: var(--et-
|
|
29
|
+
stroke: var(--et-tone-text);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.et-brand-loader .et-brand-loader__fill {
|
|
33
|
-
stroke: var(--et-
|
|
33
|
+
stroke: var(--et-tone-text);
|
|
34
34
|
stroke-width: 0.7;
|
|
35
35
|
stroke-linejoin: round;
|
|
36
36
|
}
|
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
.t-frame {
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
padding: 1.6rem;
|
|
4
|
-
background: var(--et-surface-background
|
|
5
|
-
color: var(--et-surface-
|
|
4
|
+
background: var(--et-surface-background);
|
|
5
|
+
color: var(--et-surface-text);
|
|
6
6
|
font-size: 1.4rem;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@layer components {
|
|
10
10
|
.et-match-card.et-focus-ring {
|
|
11
|
-
--_et-focus-ring-color: var(--et-
|
|
11
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.et-match-card:where([data-winner='home']) .et-match-card-side:where([data-side='home']),
|
|
15
15
|
.et-match-card:where([data-winner='away']) .et-match-card-side:where([data-side='away']) {
|
|
16
|
-
--_et-match-card-side-marker-color: light-dark(
|
|
17
|
-
var(--et-theme-color-ink-solid),
|
|
18
|
-
var(--et-theme-color-primary-solid)
|
|
19
|
-
);
|
|
16
|
+
--_et-match-card-side-marker-color: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
20
17
|
}
|
|
21
18
|
|
|
22
19
|
.et-match-card-live-dot {
|
|
23
|
-
background: light-dark(var(--et-
|
|
20
|
+
background: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
24
21
|
}
|
|
25
22
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
@layer components {
|
|
11
11
|
.et-menu .et-menu-selection-item:not(.et-menu-selection-item--has-icon) .et-menu-item-check,
|
|
12
12
|
.et-menu .et-menu-selection-item--has-icon:is([aria-checked='true'], [aria-checked='mixed']) .et-menu-item-check {
|
|
13
|
-
color: var(--et-
|
|
13
|
+
color: var(--et-tone-text);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@layer components {
|
|
18
18
|
.et-menu .et-menu-item[data-active]:focus-visible {
|
|
19
|
-
outline: 2px solid var(--et-
|
|
19
|
+
outline: 2px solid var(--et-tone-text);
|
|
20
20
|
outline-offset: -2px;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -83,7 +83,7 @@ const { states, grid } = interactionRows(
|
|
|
83
83
|
export default definePart({
|
|
84
84
|
note: 'Decided rules only',
|
|
85
85
|
consumerAction: 'its items are actions the consumer passes in',
|
|
86
|
-
madeBy: ['claude-opus-5-5'],
|
|
86
|
+
madeBy: ['claude-opus-5-5', 'design check'],
|
|
87
87
|
states: {
|
|
88
88
|
menu: { rows: FULL },
|
|
89
89
|
...states,
|
|
@@ -114,7 +114,7 @@ export default definePart({
|
|
|
114
114
|
frame: (body) => `<div class="menu-frame">${body}</div>`,
|
|
115
115
|
render: ({ rows, forced }: Props) =>
|
|
116
116
|
drawing({
|
|
117
|
-
body: menu({ rows: withForced(rows, forced), color: 'brand' }),
|
|
117
|
+
body: menu({ rows: withForced(rows, forced), color: 'brand', errorColor: 'danger' }),
|
|
118
118
|
styles: [menuStyles, edge].join('\n'),
|
|
119
119
|
}),
|
|
120
120
|
});
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-end;
|
|
5
5
|
padding: 2.4rem 1.6rem;
|
|
6
|
-
background: var(--et-surface-background
|
|
7
|
-
color: var(--et-surface-
|
|
6
|
+
background: var(--et-surface-background);
|
|
7
|
+
color: var(--et-surface-text);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@layer components {
|
|
11
11
|
.et-notification {
|
|
12
|
-
border-inline-start-color: var(--et-
|
|
12
|
+
border-inline-start-color: var(--et-tone-text);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.et-notification .et-notification-icon {
|
|
16
|
-
color: var(--et-
|
|
16
|
+
color: var(--et-tone-text);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.et-notification .et-notification-spinner {
|
|
20
|
-
--et-spinner-color: var(--et-
|
|
20
|
+
--et-spinner-color: var(--et-tone-text);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.et-notification .et-focus-ring {
|
|
24
|
-
--_et-focus-ring-color: var(--et-
|
|
24
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -4,32 +4,32 @@
|
|
|
4
4
|
justify-items: start;
|
|
5
5
|
gap: 1.6rem;
|
|
6
6
|
padding: 1.6rem;
|
|
7
|
-
background: var(--et-surface-background
|
|
8
|
-
color: var(--et-surface-
|
|
7
|
+
background: var(--et-surface-background);
|
|
8
|
+
color: var(--et-surface-text);
|
|
9
9
|
font-size: 1.4rem;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@layer components {
|
|
13
13
|
et-otp-input .et-otp-input-segment[data-caret] {
|
|
14
|
-
border-color: var(--et-
|
|
15
|
-
outline-color: var(--et-
|
|
14
|
+
border-color: var(--et-tone-text);
|
|
15
|
+
outline-color: var(--et-tone-text);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
et-otp-input .et-otp-input-segment .et-otp-input-caret {
|
|
19
|
-
background: var(--et-
|
|
19
|
+
background: var(--et-tone-text);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
et-otp-input > et-label .et-label-required-marker {
|
|
23
|
-
color: light-dark(var(--et-
|
|
23
|
+
color: light-dark(var(--et-tone-text), var(--et-tone-fill));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
@media (hover: hover) {
|
|
27
27
|
et-otp-input:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]) {
|
|
28
|
-
border-color: var(--et-surface-
|
|
28
|
+
border-color: var(--et-surface-text);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
et-otp-input[data-error]:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]) {
|
|
32
|
-
border-color: var(--et-
|
|
32
|
+
border-color: var(--et-tone-text);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
@layer components {
|
|
7
7
|
.et-pagination-host .et-pagination-button {
|
|
8
|
-
--_et-focus-ring-color: var(--et-
|
|
8
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.et-pagination-host .et-pagination-button[aria-current='page'] {
|
|
12
|
-
--et-button-shadow: inset 0 0 0 1px var(--et-
|
|
12
|
+
--et-button-shadow: inset 0 0 0 1px var(--et-tone-text);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
gap: 0.8rem;
|
|
5
5
|
max-inline-size: 520px;
|
|
6
6
|
padding: 2.4rem 1.6rem;
|
|
7
|
-
background: var(--et-surface-background
|
|
8
|
-
color: var(--et-surface-
|
|
7
|
+
background: var(--et-surface-background);
|
|
8
|
+
color: var(--et-surface-text);
|
|
9
9
|
font-size: 1.4rem;
|
|
10
10
|
|
|
11
11
|
.picture-error {
|
|
12
12
|
margin: 0;
|
|
13
|
-
color: var(--et-surface-
|
|
13
|
+
color: var(--et-surface-text-muted);
|
|
14
14
|
font-size: 1.2rem;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
gap: 0.4rem;
|
|
27
27
|
margin: 0;
|
|
28
28
|
font-size: 1.2rem;
|
|
29
|
-
color: var(--et-surface-
|
|
29
|
+
color: var(--et-surface-text-muted);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.picture-fit-cell .et-picture {
|
|
33
33
|
inline-size: 180px;
|
|
34
34
|
block-size: 120px;
|
|
35
|
-
outline: 1px dashed var(--et-surface-border
|
|
35
|
+
outline: 1px dashed var(--et-surface-border);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
.progress-steps-frame {
|
|
2
2
|
padding: 2.4rem 1.6rem;
|
|
3
|
-
background: var(--et-surface-background
|
|
4
|
-
color: var(--et-surface-
|
|
3
|
+
background: var(--et-surface-background);
|
|
4
|
+
color: var(--et-surface-text);
|
|
5
5
|
font-size: 1.4rem;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
@layer components {
|
|
9
9
|
.et-progress-step {
|
|
10
|
-
--_et-focus-ring-color: var(--et-
|
|
10
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
11
11
|
|
|
12
12
|
&:is(
|
|
13
13
|
[data-state='current'],
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
[data-state='error']
|
|
18
18
|
)
|
|
19
19
|
.et-progress-step-marker {
|
|
20
|
-
border-color: var(--et-
|
|
20
|
+
border-color: var(--et-tone-text);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&:is([data-state='complete'], [data-state='success'], [data-state='warning'], [data-state='error']):not(
|
|
24
24
|
:last-child
|
|
25
25
|
)::after {
|
|
26
|
-
background: var(--et-
|
|
26
|
+
background: var(--et-tone-text);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&:is(a, button) {
|
|
30
30
|
@media (hover: hover) {
|
|
31
31
|
&:hover .et-progress-step-marker {
|
|
32
|
-
border-color: var(--et-
|
|
32
|
+
border-color: var(--et-tone-text);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.query-error-frame {
|
|
2
2
|
max-inline-size: 520px;
|
|
3
3
|
padding: 2.4rem 1.6rem;
|
|
4
|
-
background: var(--et-surface-background
|
|
5
|
-
color: var(--et-surface-
|
|
4
|
+
background: var(--et-surface-background);
|
|
5
|
+
color: var(--et-surface-text);
|
|
6
6
|
font-size: 1.4rem;
|
|
7
7
|
|
|
8
8
|
.query-error-support {
|
|
@@ -14,20 +14,14 @@
|
|
|
14
14
|
|
|
15
15
|
@layer components {
|
|
16
16
|
.et-banner {
|
|
17
|
-
border-color: var(--et-
|
|
17
|
+
border-color: var(--et-tone-text);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.et-button {
|
|
21
|
-
--_et-focus-ring-color: var(--et-
|
|
21
|
+
--_et-focus-ring-color: var(--et-tone-text);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.et-button:where([data-variant='filled']) {
|
|
25
|
-
--et-button-shadow: inset 0 0 0 1px var(--et-
|
|
26
|
-
|
|
27
|
-
@media (hover: hover) {
|
|
28
|
-
&:hover {
|
|
29
|
-
--et-theme-color-primary-rgb: var(--et-color-primary-active);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
25
|
+
--et-button-shadow: inset 0 0 0 1px var(--et-tone-text);
|
|
32
26
|
}
|
|
33
27
|
}
|