@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
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
position: relative;
|
|
47
47
|
font-size: var(--et-line-chart-font-size);
|
|
48
48
|
line-height: 1.4;
|
|
49
|
-
color: var(--et-surface-
|
|
49
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
50
50
|
|
|
51
51
|
.et-line-chart-legend {
|
|
52
52
|
margin-block-end: calc(var(--et-line-chart-axis-gap) * 1.5);
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
.et-line-chart-area {
|
|
96
96
|
--_et-line-chart-color: color-mix(
|
|
97
97
|
in oklab,
|
|
98
|
-
var(--et-
|
|
99
|
-
var(--et-surface-background
|
|
98
|
+
var(--et-tone-fill, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
99
|
+
var(--et-surface-background, transparent)
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
|
|
117
117
|
.et-line-chart-point {
|
|
118
118
|
fill: var(--_et-line-chart-color);
|
|
119
|
-
stroke: var(--et-surface-background
|
|
119
|
+
stroke: var(--et-surface-background, transparent);
|
|
120
120
|
stroke-width: 2px;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -125,13 +125,13 @@
|
|
|
125
125
|
fill: color-mix(
|
|
126
126
|
in oklab,
|
|
127
127
|
var(--_et-line-chart-color) var(--et-line-chart-stacked-area-mix),
|
|
128
|
-
var(--et-surface-background
|
|
128
|
+
var(--et-surface-background, transparent)
|
|
129
129
|
);
|
|
130
130
|
fill-opacity: 1;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.et-line-chart-slice {
|
|
134
|
-
--_et-line-chart-slice-tint: color-mix(in srgb, var(--et-surface-
|
|
134
|
+
--_et-line-chart-slice-tint: color-mix(in srgb, var(--et-surface-tint, currentColor) 6%, transparent);
|
|
135
135
|
|
|
136
136
|
outline: none;
|
|
137
137
|
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.et-line-chart-crosshair {
|
|
171
|
-
stroke: var(--et-surface-
|
|
171
|
+
stroke: var(--et-surface-text-subtle, currentColor);
|
|
172
172
|
stroke-width: 1px;
|
|
173
173
|
opacity: 0;
|
|
174
174
|
pointer-events: none;
|
|
@@ -177,10 +177,10 @@
|
|
|
177
177
|
.et-line-chart-slice-point {
|
|
178
178
|
fill: color-mix(
|
|
179
179
|
in oklab,
|
|
180
|
-
var(--et-
|
|
181
|
-
var(--et-surface-background
|
|
180
|
+
var(--et-tone-fill, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
181
|
+
var(--et-surface-background, transparent)
|
|
182
182
|
);
|
|
183
|
-
stroke: var(--et-surface-background
|
|
183
|
+
stroke: var(--et-surface-background, transparent);
|
|
184
184
|
stroke-width: 2px;
|
|
185
185
|
opacity: 0;
|
|
186
186
|
pointer-events: none;
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
|
|
211
211
|
&:focus-visible .et-line-chart-focus-ring {
|
|
212
212
|
fill: var(--_et-line-chart-slice-tint);
|
|
213
|
-
stroke: var(--et-
|
|
213
|
+
stroke: var(--et-tone-fill, currentColor);
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
position: relative;
|
|
29
29
|
font-size: var(--et-pie-chart-font-size);
|
|
30
30
|
line-height: 1.4;
|
|
31
|
-
color: var(--et-surface-
|
|
31
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.et-pie-chart-figure {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
.et-pie-chart-empty {
|
|
54
54
|
fill: none;
|
|
55
|
-
stroke: var(--et-surface-border
|
|
55
|
+
stroke: var(--et-surface-border, currentColor);
|
|
56
56
|
stroke-width: 1px;
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
.et-pie-chart-legend-item {
|
|
61
61
|
--_et-pie-chart-slice-fill: color-mix(
|
|
62
62
|
in oklab,
|
|
63
|
-
var(--et-
|
|
64
|
-
var(--et-surface-background
|
|
63
|
+
var(--et-tone-fill, currentColor) var(--_et-pie-chart-accent-mix, 100%),
|
|
64
|
+
var(--et-surface-background, transparent)
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
--_et-pie-chart-slice-tint: color-mix(
|
|
70
70
|
in oklab,
|
|
71
71
|
var(--_et-pie-chart-slice-fill) 85%,
|
|
72
|
-
var(--et-surface-background
|
|
72
|
+
var(--et-surface-background, transparent)
|
|
73
73
|
);
|
|
74
74
|
|
|
75
75
|
outline: none;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
|
|
91
91
|
&:focus-visible .et-pie-chart-slice-mark {
|
|
92
92
|
fill: var(--_et-pie-chart-slice-tint);
|
|
93
|
-
stroke: var(--et-surface-
|
|
93
|
+
stroke: var(--et-surface-text, currentColor);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
@media (hover: hover) {
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
.et-pie-chart-total {
|
|
117
117
|
font-size: 1.5em;
|
|
118
118
|
line-height: 1.2;
|
|
119
|
-
color: var(--et-surface-
|
|
119
|
+
color: var(--et-surface-text, currentColor);
|
|
120
120
|
font-variant-numeric: tabular-nums;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.et-pie-chart-legend-value {
|
|
161
|
-
color: var(--et-surface-
|
|
161
|
+
color: var(--et-surface-text, currentColor);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
position: relative;
|
|
41
41
|
font-size: var(--et-sankey-chart-font-size);
|
|
42
42
|
line-height: 1.4;
|
|
43
|
-
color: var(--et-surface-
|
|
43
|
+
color: var(--et-surface-text, currentColor);
|
|
44
44
|
|
|
45
45
|
.et-sankey-chart-scroller {
|
|
46
46
|
overflow-x: auto;
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
white-space: nowrap;
|
|
78
78
|
translate: 0 -50%;
|
|
79
79
|
text-shadow:
|
|
80
|
-
0 0 2px var(--et-surface-background
|
|
81
|
-
0 0 4px var(--et-surface-background
|
|
80
|
+
0 0 2px var(--et-surface-background, transparent),
|
|
81
|
+
0 0 4px var(--et-surface-background, transparent);
|
|
82
82
|
|
|
83
83
|
&:where([data-side='start']) {
|
|
84
84
|
translate: -100% -50%;
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
&:where([data-side='center']) {
|
|
89
89
|
box-sizing: border-box;
|
|
90
90
|
padding: 1px 6px;
|
|
91
|
-
border: 1px solid var(--et-surface-border
|
|
91
|
+
border: 1px solid var(--et-surface-border, currentColor);
|
|
92
92
|
border-radius: 4px;
|
|
93
|
-
background: var(--et-surface-background
|
|
93
|
+
background: var(--et-surface-background, transparent);
|
|
94
94
|
text-shadow: none;
|
|
95
95
|
translate: -50% -50%;
|
|
96
96
|
}
|
|
@@ -122,18 +122,18 @@
|
|
|
122
122
|
.et-sankey-chart-node-mark {
|
|
123
123
|
fill: color-mix(
|
|
124
124
|
in oklab,
|
|
125
|
-
var(--et-
|
|
126
|
-
var(--et-surface-background
|
|
125
|
+
var(--et-tone-fill, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
126
|
+
var(--et-surface-background, transparent)
|
|
127
127
|
);
|
|
128
128
|
animation: et-sankey-chart-fade var(--et-sankey-chart-enter-duration) ease-out backwards;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
&:where([data-active]) .et-sankey-chart-node-target {
|
|
132
|
-
fill: color-mix(in srgb, var(--et-surface-
|
|
132
|
+
fill: color-mix(in srgb, var(--et-surface-tint, currentColor) 8%, transparent);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
&:focus-visible .et-sankey-chart-node-target {
|
|
136
|
-
stroke: var(--et-
|
|
136
|
+
stroke: var(--et-tone-fill, currentColor);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
.et-sankey-chart-link-mark {
|
|
144
144
|
fill: color-mix(
|
|
145
145
|
in oklab,
|
|
146
|
-
var(--et-
|
|
147
|
-
var(--et-surface-background
|
|
146
|
+
var(--et-tone-fill, currentColor) var(--_et-chart-accent-mix, 100%),
|
|
147
|
+
var(--et-surface-background, transparent)
|
|
148
148
|
);
|
|
149
149
|
fill-opacity: var(--et-sankey-chart-link-opacity);
|
|
150
150
|
stroke: transparent;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
&:focus-visible .et-sankey-chart-link-mark {
|
|
163
|
-
stroke: var(--et-
|
|
163
|
+
stroke: var(--et-tone-fill, currentColor);
|
|
164
164
|
stroke-width: 2px;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
gap: 2px;
|
|
197
197
|
|
|
198
198
|
.et-sankey-chart-tooltip-hint {
|
|
199
|
-
color: var(--et-surface-
|
|
199
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
200
200
|
white-space: nowrap;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
line-height: 1.4;
|
|
53
53
|
max-inline-size: 100%;
|
|
54
54
|
box-sizing: border-box;
|
|
55
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
56
|
-
color: var(--et-surface-
|
|
55
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 14%, transparent);
|
|
56
|
+
color: var(--et-surface-text, currentColor);
|
|
57
57
|
-webkit-user-select: none;
|
|
58
58
|
user-select: none;
|
|
59
59
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -75,13 +75,12 @@
|
|
|
75
75
|
|
|
76
76
|
@media (hover: hover) {
|
|
77
77
|
&:hover:not([aria-checked='true'], [data-readonly], [data-disabled]) {
|
|
78
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
78
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 22%, transparent);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&:focus-visible {
|
|
83
|
-
outline: 2px solid
|
|
84
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
83
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
85
84
|
outline-offset: 1px;
|
|
86
85
|
}
|
|
87
86
|
|
|
@@ -90,17 +89,17 @@
|
|
|
90
89
|
}
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
/* tonal fill via color-mix over the
|
|
94
|
-
--et-
|
|
92
|
+
/* tonal fill via color-mix over the fill token — the opacity-aware
|
|
93
|
+
--et-tone-fill mechanic needs per-element token re-resolution
|
|
95
94
|
([etColorInteractive]), which a plain chip does not carry */
|
|
96
95
|
&:where([aria-checked='true']) {
|
|
97
|
-
background: color-mix(in srgb, var(--et-
|
|
98
|
-
color: var(--et-
|
|
99
|
-
box-shadow: inset 0 0 0 1px light-dark(var(--et-
|
|
96
|
+
background: color-mix(in srgb, var(--et-tone-fill, currentColor) 16%, transparent);
|
|
97
|
+
color: var(--et-tone-text, currentColor);
|
|
98
|
+
box-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
100
99
|
|
|
101
100
|
@media (hover: hover) {
|
|
102
101
|
&:hover:not([data-readonly], [data-disabled]) {
|
|
103
|
-
background: color-mix(in srgb, var(--et-
|
|
102
|
+
background: color-mix(in srgb, var(--et-tone-fill, currentColor) 24%, transparent);
|
|
104
103
|
}
|
|
105
104
|
}
|
|
106
105
|
}
|
|
@@ -130,7 +129,7 @@
|
|
|
130
129
|
padding: 0;
|
|
131
130
|
margin: 0;
|
|
132
131
|
background: transparent;
|
|
133
|
-
color: var(--et-surface-
|
|
132
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
134
133
|
cursor: pointer;
|
|
135
134
|
appearance: none;
|
|
136
135
|
transition:
|
|
@@ -139,18 +138,17 @@
|
|
|
139
138
|
|
|
140
139
|
@media (hover: hover) {
|
|
141
140
|
&:not([disabled]):hover {
|
|
142
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
143
|
-
color: var(--et-surface-
|
|
141
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 20%, transparent);
|
|
142
|
+
color: var(--et-surface-text, currentColor);
|
|
144
143
|
}
|
|
145
144
|
}
|
|
146
145
|
|
|
147
146
|
&:not([disabled]):active {
|
|
148
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
147
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 28%, transparent);
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
&:focus-visible {
|
|
152
|
-
outline: 2px solid
|
|
153
|
-
light-dark(var(--et-theme-color-ink-solid, currentColor), var(--et-theme-color-primary-solid, currentColor));
|
|
151
|
+
outline: 2px solid light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor));
|
|
154
152
|
outline-offset: 1px;
|
|
155
153
|
}
|
|
156
154
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
/* Marks the row the arrow keys reached. Not `:hover`: the pointer and the keyboard drive one
|
|
46
46
|
highlight, and the component decides which row that is. */
|
|
47
47
|
&.et-command-palette-item--active {
|
|
48
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
48
|
+
background: color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 12%, transparent);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&:where([aria-disabled='true']) {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
flex: none;
|
|
59
59
|
inline-size: var(--et-command-palette-item-icon-size);
|
|
60
60
|
block-size: var(--et-command-palette-item-icon-size);
|
|
61
|
-
color: var(--et-surface-
|
|
61
|
+
color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
62
62
|
|
|
63
63
|
svg {
|
|
64
64
|
inline-size: 100%;
|
|
@@ -80,19 +80,19 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.et-command-palette-item-description {
|
|
83
|
-
color: var(--et-surface-
|
|
83
|
+
color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
84
84
|
font-size: 12px;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* A `mark` carries a yellow background by default, which is not how a match should read here. */
|
|
88
88
|
.et-command-palette-item-match {
|
|
89
89
|
background: none;
|
|
90
|
-
color: var(--et-
|
|
90
|
+
color: var(--et-tone-text, currentcolor);
|
|
91
91
|
font-weight: 600;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.et-command-palette-item-shortcut {
|
|
95
95
|
flex: none;
|
|
96
|
-
color: var(--et-surface-
|
|
96
|
+
color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.et-command-palette {
|
|
33
|
-
--_et-command-palette-color: var(--et-surface-
|
|
34
|
-
--_et-command-palette-muted-color: var(--et-surface-
|
|
35
|
-
--_et-command-palette-border: var(--et-surface-border
|
|
33
|
+
--_et-command-palette-color: var(--et-surface-text, rgb(244 244 245));
|
|
34
|
+
--_et-command-palette-muted-color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
35
|
+
--_et-command-palette-border: var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
36
36
|
position: relative;
|
|
37
37
|
display: grid;
|
|
38
38
|
grid-template-rows: auto minmax(0, 1fr);
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
dt {
|
|
50
50
|
grid-column: 1;
|
|
51
51
|
font-size: var(--et-description-list-term-font-size);
|
|
52
|
-
color: var(--et-surface-
|
|
52
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
dd {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
margin: 0;
|
|
58
58
|
overflow-wrap: anywhere;
|
|
59
59
|
font-size: var(--et-description-list-detail-font-size);
|
|
60
|
-
color: var(--et-surface-
|
|
60
|
+
color: var(--et-surface-text, currentColor);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&:where([data-variant='stacked']) {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
flex: none;
|
|
23
23
|
block-size: 0;
|
|
24
24
|
border-block-start: var(--et-divider-thickness) solid
|
|
25
|
-
var(--et-divider-color, var(--et-surface-border
|
|
25
|
+
var(--et-divider-color, var(--et-surface-border, rgb(255 255 255 / 0.1)));
|
|
26
26
|
margin-block: var(--et-divider-spacing);
|
|
27
27
|
margin-inline: var(--et-divider-inset);
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
inline-size: 0;
|
|
33
33
|
border-block-start: 0;
|
|
34
34
|
border-inline-start: var(--et-divider-thickness) solid
|
|
35
|
-
var(--et-divider-color, var(--et-surface-border
|
|
35
|
+
var(--et-divider-color, var(--et-surface-border, rgb(255 255 255 / 0.1)));
|
|
36
36
|
margin-block: var(--et-divider-inset);
|
|
37
37
|
margin-inline: var(--et-divider-spacing);
|
|
38
38
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
max-inline-size: var(--et-empty-state-max-inline-size);
|
|
46
46
|
margin-inline: auto;
|
|
47
47
|
text-align: center;
|
|
48
|
-
color: var(--et-surface-
|
|
48
|
+
color: var(--et-surface-text, currentColor);
|
|
49
49
|
|
|
50
50
|
> .et-icon {
|
|
51
51
|
flex-shrink: 0;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
height: var(--et-empty-state-icon-size);
|
|
54
54
|
/* `--et-empty-state-icon-color` must stay unregistered: an `@property` initial value cannot hold `var()`,
|
|
55
55
|
and a registered token always has a value, so this surface fallback would never apply. */
|
|
56
|
-
color: var(--et-empty-state-icon-color, var(--et-surface-
|
|
56
|
+
color: var(--et-empty-state-icon-color, var(--et-surface-text-muted, currentColor));
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
> [etEmptyStateAction] {
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
.et-empty-state-description {
|
|
71
71
|
margin: 0;
|
|
72
72
|
font-size: var(--et-empty-state-description-font-size);
|
|
73
|
-
color: var(--et-surface-
|
|
73
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.et-empty-state .et-button:where([data-variant='filled']) {
|
|
77
|
-
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-
|
|
77
|
+
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
pointer-events: none;
|
|
59
59
|
opacity: 0;
|
|
60
60
|
box-shadow:
|
|
61
|
-
0 0.3rem 0.8rem
|
|
62
|
-
0 0.1rem 0.3rem
|
|
61
|
+
0 0.3rem 0.8rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 20%, transparent),
|
|
62
|
+
0 0.1rem 0.3rem color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 12%, transparent);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.et-floating-action-trigger:where([data-floating-action-state='floating']) {
|
|
66
|
-
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-
|
|
66
|
+
--et-button-shadow: inset 0 0 0 1px light-dark(var(--et-tone-text), transparent);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.et-floating-action-trigger:where([data-floating-action-state='floating'])::before {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
--_et-focus-ring-width: var(--et-focus-ring-width, 2px);
|
|
20
20
|
--_et-focus-ring-color: var(
|
|
21
21
|
--et-focus-ring-color,
|
|
22
|
-
light-dark(var(--et-
|
|
22
|
+
light-dark(var(--et-tone-text, currentColor), var(--et-tone-fill, currentColor))
|
|
23
23
|
);
|
|
24
24
|
outline: var(--_et-focus-ring-width) solid transparent;
|
|
25
25
|
outline-offset: var(--_et-focus-ring-offset);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
inline-size: 0;
|
|
11
11
|
min-inline-size: 100%;
|
|
12
12
|
padding: 6px;
|
|
13
|
-
border-block-start: 1px solid var(--et-surface-border
|
|
13
|
+
border-block-start: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
background: transparent;
|
|
39
39
|
font: inherit;
|
|
40
40
|
font-size: 12px;
|
|
41
|
-
color: var(--et-surface-
|
|
41
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
42
42
|
text-align: start;
|
|
43
43
|
white-space: nowrap;
|
|
44
44
|
overflow: hidden;
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
|
|
53
53
|
@media (hover: hover) {
|
|
54
54
|
&:hover {
|
|
55
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
56
|
-
color: var(--et-surface-
|
|
55
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 12%, transparent);
|
|
56
|
+
color: var(--et-surface-text, currentColor);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&:focus-visible {
|
|
61
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
62
|
-
color: var(--et-surface-
|
|
61
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 16%, transparent);
|
|
62
|
+
color: var(--et-surface-text, currentColor);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
&[data-current] {
|
|
66
|
-
color: var(--et-surface-
|
|
66
|
+
color: var(--et-surface-text, currentColor);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
flex: none;
|
|
72
72
|
inline-size: 10px;
|
|
73
73
|
block-size: 10px;
|
|
74
|
-
color: var(--et-surface-
|
|
74
|
+
color: var(--et-surface-text-subtle, currentColor);
|
|
75
75
|
rotate: 90deg;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -37,11 +37,14 @@
|
|
|
37
37
|
);
|
|
38
38
|
--_et-cascader-row-radius: max(2px, var(--_et-overlay-surface-radius, 10px) - 6px);
|
|
39
39
|
border-radius: var(--_et-overlay-surface-radius, 10px);
|
|
40
|
-
border: 1px solid var(--et-surface-border
|
|
41
|
-
background: var(--et-surface-background
|
|
42
|
-
color: var(--et-surface-
|
|
40
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
41
|
+
background: var(--et-surface-background, rgb(32 32 32));
|
|
42
|
+
color: var(--et-surface-text, rgb(244 244 245));
|
|
43
43
|
font-size: 14px;
|
|
44
|
-
box-shadow: var(
|
|
44
|
+
box-shadow: var(
|
|
45
|
+
--et-anchored-panel-shadow,
|
|
46
|
+
0 10px 24px color-mix(in srgb, var(--et-shadow-color, rgb(0 0 0)) 16%, transparent)
|
|
47
|
+
);
|
|
45
48
|
overflow: hidden;
|
|
46
49
|
|
|
47
50
|
&.et-cascader-panel--resizing {
|
|
@@ -120,7 +123,7 @@
|
|
|
120
123
|
|
|
121
124
|
.et-cascader-search {
|
|
122
125
|
padding: 6px;
|
|
123
|
-
border-block-end: 1px solid var(--et-surface-border
|
|
126
|
+
border-block-end: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
124
127
|
|
|
125
128
|
input[etcascadersearch] {
|
|
126
129
|
inline-size: 100%;
|
|
@@ -128,22 +131,22 @@
|
|
|
128
131
|
box-sizing: border-box;
|
|
129
132
|
padding-inline: 10px;
|
|
130
133
|
border-radius: var(--_et-cascader-row-radius);
|
|
131
|
-
border: 1px solid var(--et-surface-border
|
|
132
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
134
|
+
border: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
135
|
+
background: color-mix(in srgb, var(--et-surface-tint, rgb(255 255 255)) 6%, transparent);
|
|
133
136
|
color: inherit;
|
|
134
137
|
font: inherit;
|
|
135
138
|
outline: none;
|
|
136
|
-
caret-color: var(--et-
|
|
139
|
+
caret-color: var(--et-tone-fill, currentColor);
|
|
137
140
|
transition:
|
|
138
141
|
border-color 120ms ease,
|
|
139
142
|
background 120ms ease;
|
|
140
143
|
|
|
141
144
|
&:focus-visible {
|
|
142
|
-
border-color: var(--et-
|
|
145
|
+
border-color: var(--et-tone-fill, rgb(255 255 255 / 0.3));
|
|
143
146
|
}
|
|
144
147
|
|
|
145
148
|
&::placeholder {
|
|
146
|
-
color: var(--et-surface-
|
|
149
|
+
color: var(--et-surface-text-muted, rgb(255 255 255 / 0.55));
|
|
147
150
|
}
|
|
148
151
|
}
|
|
149
152
|
}
|
|
@@ -184,7 +187,7 @@
|
|
|
184
187
|
}
|
|
185
188
|
|
|
186
189
|
.et-cascader-column-wrapper:not(:last-child) .et-cascader-column {
|
|
187
|
-
border-inline-end: 1px solid var(--et-surface-border
|
|
190
|
+
border-inline-end: 1px solid var(--et-surface-border, rgb(255 255 255 / 0.1));
|
|
188
191
|
}
|
|
189
192
|
|
|
190
193
|
.et-cascader-columns[data-sheet] .et-cascader-column {
|
|
@@ -224,21 +227,21 @@
|
|
|
224
227
|
|
|
225
228
|
@media (hover: hover) {
|
|
226
229
|
&:hover {
|
|
227
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
230
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 12%, transparent);
|
|
228
231
|
}
|
|
229
232
|
}
|
|
230
233
|
|
|
231
234
|
&:focus-visible,
|
|
232
235
|
&[data-focused] {
|
|
233
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
236
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 16%, transparent);
|
|
234
237
|
}
|
|
235
238
|
|
|
236
239
|
&[data-expanded] {
|
|
237
|
-
background: color-mix(in srgb, var(--et-surface-
|
|
240
|
+
background: color-mix(in srgb, var(--et-surface-tint, currentColor) 12%, transparent);
|
|
238
241
|
}
|
|
239
242
|
|
|
240
243
|
&[data-selected] {
|
|
241
|
-
color: var(--et-
|
|
244
|
+
color: var(--et-tone-text, currentColor);
|
|
242
245
|
font-weight: 500;
|
|
243
246
|
}
|
|
244
247
|
|
|
@@ -258,7 +261,7 @@
|
|
|
258
261
|
}
|
|
259
262
|
|
|
260
263
|
.et-cascader-search-option-ancestor {
|
|
261
|
-
color: var(--et-surface-
|
|
264
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
262
265
|
}
|
|
263
266
|
|
|
264
267
|
.et-cascader-check {
|
|
@@ -267,7 +270,7 @@
|
|
|
267
270
|
inline-size: 16px;
|
|
268
271
|
block-size: 16px;
|
|
269
272
|
box-sizing: border-box;
|
|
270
|
-
border: 2px solid var(--et-surface-border
|
|
273
|
+
border: 2px solid var(--et-surface-border, rgb(255 255 255 / 0.3));
|
|
271
274
|
border-radius: 4px;
|
|
272
275
|
transition:
|
|
273
276
|
background 120ms ease,
|
|
@@ -282,8 +285,8 @@
|
|
|
282
285
|
|
|
283
286
|
[data-selected] > .et-cascader-check,
|
|
284
287
|
[data-indeterminate] > .et-cascader-check {
|
|
285
|
-
border-color: var(--et-
|
|
286
|
-
background: var(--et-
|
|
288
|
+
border-color: var(--et-tone-fill, currentColor);
|
|
289
|
+
background: var(--et-tone-fill, currentColor);
|
|
287
290
|
}
|
|
288
291
|
|
|
289
292
|
[data-selected] > .et-cascader-check::after {
|
|
@@ -291,7 +294,7 @@
|
|
|
291
294
|
inset-block-start: 1px;
|
|
292
295
|
inline-size: 4px;
|
|
293
296
|
block-size: 8px;
|
|
294
|
-
border: solid var(--et-
|
|
297
|
+
border: solid var(--et-tone-on-fill, rgb(0 0 0));
|
|
295
298
|
border-width: 0 2px 2px 0;
|
|
296
299
|
rotate: 45deg;
|
|
297
300
|
opacity: 1;
|
|
@@ -302,7 +305,7 @@
|
|
|
302
305
|
inset-block-start: 5px;
|
|
303
306
|
inline-size: 8px;
|
|
304
307
|
block-size: 2px;
|
|
305
|
-
background: var(--et-
|
|
308
|
+
background: var(--et-tone-on-fill, rgb(0 0 0));
|
|
306
309
|
opacity: 1;
|
|
307
310
|
}
|
|
308
311
|
|
|
@@ -310,7 +313,7 @@
|
|
|
310
313
|
flex: none;
|
|
311
314
|
inline-size: 12px;
|
|
312
315
|
block-size: 12px;
|
|
313
|
-
color: var(--et-surface-
|
|
316
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
314
317
|
rotate: 90deg;
|
|
315
318
|
}
|
|
316
319
|
|
|
@@ -322,7 +325,7 @@
|
|
|
322
325
|
min-block-size: var(--et-cascader-node-height);
|
|
323
326
|
padding: 12px 16px;
|
|
324
327
|
text-align: center;
|
|
325
|
-
color: var(--et-surface-
|
|
328
|
+
color: var(--et-surface-text-muted, currentColor);
|
|
326
329
|
|
|
327
330
|
&.et-cascader-state--error {
|
|
328
331
|
flex-direction: column;
|
|
@@ -350,7 +353,7 @@
|
|
|
350
353
|
}
|
|
351
354
|
|
|
352
355
|
.et-cascader-state-error-message {
|
|
353
|
-
color: var(--et-
|
|
356
|
+
color: var(--et-tone-text, rgb(248 113 113));
|
|
354
357
|
}
|
|
355
358
|
}
|
|
356
359
|
|