@ethlete/components 1.0.0-next.87 → 1.0.0-next.89
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 +35 -0
- package/design/sdk/components/accent-on-light/accent-on-light.ts +4 -0
- package/design/sdk/components/accordion/accordion.ts +11 -0
- package/design/sdk/components/action-sheet/action-sheet.ts +12 -0
- package/design/sdk/components/anchored-dialog/anchored-dialog.ts +9 -0
- package/design/sdk/components/avatar/avatar.ts +16 -0
- package/design/sdk/components/badge/badge.ts +12 -0
- package/design/sdk/components/banner/banner.ts +16 -0
- package/design/sdk/components/bracket/bracket.ts +16 -0
- package/design/sdk/components/breadcrumb/breadcrumb.ts +14 -0
- package/design/sdk/components/button/button.ts +112 -7
- package/design/sdk/components/calendar/calendar.ts +25 -0
- package/design/sdk/components/card/card.ts +9 -0
- package/design/sdk/components/carousel/carousel.ts +25 -0
- package/design/sdk/components/chart/chart.ts +23 -0
- package/design/sdk/components/checkbox/checkbox.ts +42 -1
- package/design/sdk/components/chip/chip.ts +46 -8
- package/design/sdk/components/copy-button/copy-button.ts +14 -0
- package/design/sdk/components/description-list/description-list.ts +10 -0
- package/design/sdk/components/dialog/dialog.ts +13 -0
- package/design/sdk/components/divider/divider.ts +5 -0
- package/design/sdk/components/empty-state/empty-state.ts +9 -0
- package/design/sdk/components/floating-action/floating-action.ts +14 -0
- package/design/sdk/components/form-field/form-field.ts +93 -0
- package/design/sdk/components/grid/grid.ts +12 -0
- package/design/sdk/components/input/input.ts +50 -0
- package/design/sdk/components/kbd/kbd.ts +12 -0
- package/design/sdk/components/loader/loader.ts +11 -0
- package/design/sdk/components/masonry/masonry.ts +7 -0
- package/design/sdk/components/match/match.ts +16 -0
- package/design/sdk/components/menu/menu.ts +16 -0
- package/design/sdk/components/notification/notification.ts +18 -0
- package/design/sdk/components/otp-input/otp-input.ts +21 -0
- package/design/sdk/components/pagination/pagination.ts +21 -0
- package/design/sdk/components/picture/picture.ts +15 -0
- package/design/sdk/components/progress-steps/progress-steps.ts +16 -0
- package/design/sdk/components/query-error/query-error.ts +22 -0
- package/design/sdk/components/radio-group/radio-group.ts +42 -1
- package/design/sdk/components/scheduler/scheduler.ts +12 -0
- package/design/sdk/components/scrollable/scrollable.ts +30 -0
- package/design/sdk/components/scrollbar/scrollbar.ts +15 -0
- package/design/sdk/components/select/select.ts +17 -0
- package/design/sdk/components/select-panel/select-panel.ts +18 -0
- package/design/sdk/components/skeleton/skeleton.ts +7 -0
- package/design/sdk/components/slider/slider.ts +34 -0
- package/design/sdk/components/standings/standings.ts +12 -0
- package/design/sdk/components/stat-tile/stat-tile.ts +12 -0
- package/design/sdk/components/stream/stream.ts +11 -0
- package/design/sdk/components/switch/switch.ts +22 -0
- package/design/sdk/components/table/table.ts +34 -0
- package/design/sdk/components/tabs/tabs.ts +21 -0
- package/design/sdk/components/textarea/textarea.ts +32 -0
- package/design/sdk/components/timeline/timeline.ts +11 -0
- package/design/sdk/components/toolbar/toolbar.ts +15 -0
- package/design/sdk/components/tooltip/tooltip.ts +11 -0
- package/design/sdk/components/tree/tree.ts +12 -0
- package/design/sdk/foundations/colors/colors.ts +22 -0
- package/design/sdk/foundations/elevation/elevation.ts +6 -0
- package/design/sdk/foundations/icons/icons.ts +6 -0
- package/design/sdk/ready.json +123 -11
- package/fesm2022/ethlete-components.mjs +435 -95
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +2 -2
- package/src/lib/accordion/accordion-group.component.css +1 -1
- package/src/lib/accordion/accordion.component.css +19 -5
- package/src/lib/bracket/bracket-default-section-title.component.css +14 -0
- package/src/lib/bracket/bracket.component.css +18 -0
- package/src/lib/button/button-properties-styles.component.css +46 -0
- package/src/lib/button/button.component.css +3 -2
- package/src/lib/button/fab.component.css +8 -2
- package/src/lib/button/icon-button.component.css +3 -3
- package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +5 -4
- package/src/lib/icon/headless/icon-styles.component.css +1 -1
- package/src/lib/progress-steps/progress-step.component.css +12 -0
- package/src/lib/scrollable/scrollable.component.css +44 -0
- package/src/lib/table/table.component.css +5 -2
- package/src/lib/tabs/tab-bar-styles.component.css +8 -8
- package/src/lib/timeline/timeline-item.component.css +13 -1
- package/types/ethlete-components.d.ts +135 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ethlete/components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.89",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ethlete-io/ethdk",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ethlete/bracket": "^1.0.0-next.
|
|
26
|
+
"@ethlete/bracket": "^1.0.0-next.6",
|
|
27
27
|
"tslib": "^2.3.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/* Hairlines between the items, not around the stack: every accordion brings its own bottom border,
|
|
6
6
|
so the group only has to drop the trailing one. A boxed group is then a border + radius away, on
|
|
7
7
|
the consumer's side, without having to undo anything first. */
|
|
8
|
-
> .et-accordion:last-child {
|
|
8
|
+
&:where(:not([data-last-divider])) > .et-accordion:last-child {
|
|
9
9
|
border-block-end: 0;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -11,6 +11,18 @@
|
|
|
11
11
|
initial-value: 12px;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
@property --et-accordion-title-font-weight {
|
|
15
|
+
syntax: '<number>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 500;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@property --et-accordion-hint-font-weight {
|
|
21
|
+
syntax: '<number>';
|
|
22
|
+
inherits: true;
|
|
23
|
+
initial-value: 400;
|
|
24
|
+
}
|
|
25
|
+
|
|
14
26
|
@property --et-accordion-gap {
|
|
15
27
|
syntax: '<length>';
|
|
16
28
|
inherits: true;
|
|
@@ -62,7 +74,8 @@
|
|
|
62
74
|
}
|
|
63
75
|
|
|
64
76
|
.et-accordion-heading {
|
|
65
|
-
--_et-accordion-
|
|
77
|
+
--_et-accordion-header-padding-block: var(--et-accordion-header-padding-block, var(--et-accordion-padding-block));
|
|
78
|
+
--_et-accordion-tint-inset: min(4px, var(--_et-accordion-header-padding-block));
|
|
66
79
|
|
|
67
80
|
display: block;
|
|
68
81
|
padding-block: var(--_et-accordion-tint-inset);
|
|
@@ -75,14 +88,15 @@
|
|
|
75
88
|
align-items: center;
|
|
76
89
|
gap: var(--et-accordion-gap);
|
|
77
90
|
inline-size: 100%;
|
|
78
|
-
padding: calc(var(--
|
|
79
|
-
var(--et-accordion-padding-inline);
|
|
91
|
+
padding: calc(var(--_et-accordion-header-padding-block) - var(--_et-accordion-tint-inset))
|
|
92
|
+
var(--et-accordion-header-padding-inline, var(--et-accordion-padding-inline));
|
|
80
93
|
border: 0;
|
|
81
94
|
border-radius: var(--et-accordion-radius);
|
|
82
95
|
background: transparent;
|
|
83
96
|
color: inherit;
|
|
84
97
|
font: inherit;
|
|
85
|
-
font-
|
|
98
|
+
font-size: var(--et-accordion-title-font-size, 1em);
|
|
99
|
+
font-weight: var(--et-accordion-title-font-weight);
|
|
86
100
|
text-align: start;
|
|
87
101
|
cursor: pointer;
|
|
88
102
|
|
|
@@ -124,7 +138,7 @@
|
|
|
124
138
|
.et-accordion-hint {
|
|
125
139
|
flex: none;
|
|
126
140
|
color: var(--_et-accordion-secondary-color);
|
|
127
|
-
font-weight:
|
|
141
|
+
font-weight: var(--et-accordion-hint-font-weight);
|
|
128
142
|
}
|
|
129
143
|
|
|
130
144
|
.et-accordion-chevron {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@layer components.sdk {
|
|
2
|
+
.et-bracket-default-section-title-host {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
block-size: 100%;
|
|
7
|
+
padding-inline: 8px;
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
font-weight: 700;
|
|
10
|
+
line-height: 1.3;
|
|
11
|
+
color: var(--et-surface-color-solid, currentColor);
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -26,6 +26,23 @@
|
|
|
26
26
|
opacity 0.2s;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
/* Placed with left/top, not a transform: sticky offsets its title against the untransformed box, so
|
|
30
|
+
a translated section would pin its title to the box's far end. */
|
|
31
|
+
.et-bracket-section-title {
|
|
32
|
+
position: absolute;
|
|
33
|
+
transition:
|
|
34
|
+
left var(--et-bracket-move-duration, 0.2s) var(--et-bracket-move-easing, ease),
|
|
35
|
+
top var(--et-bracket-move-duration, 0.2s) var(--et-bracket-move-easing, ease);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.et-bracket-section-title-sticky {
|
|
39
|
+
position: sticky;
|
|
40
|
+
inset-inline-start: 0;
|
|
41
|
+
inline-size: max-content;
|
|
42
|
+
max-inline-size: 100%;
|
|
43
|
+
block-size: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
29
46
|
/* Only the centered case has a rule: a header that fills its column - the shipped one does - is
|
|
30
47
|
centered already, so `start` has to leave it exactly as it was. */
|
|
31
48
|
.et-bracket-element--header:where([data-align='center']) {
|
|
@@ -58,6 +75,7 @@
|
|
|
58
75
|
@media (prefers-reduced-motion: reduce) {
|
|
59
76
|
.et-bracket,
|
|
60
77
|
.et-bracket-round,
|
|
78
|
+
.et-bracket-section-title,
|
|
61
79
|
.et-bracket-element,
|
|
62
80
|
.et-bracket-svg path {
|
|
63
81
|
transition: none;
|
|
@@ -53,6 +53,11 @@
|
|
|
53
53
|
initial-value: 0.16;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
@property --_et-button-state-background {
|
|
57
|
+
syntax: '*';
|
|
58
|
+
inherits: false;
|
|
59
|
+
}
|
|
60
|
+
|
|
56
61
|
@property --et-button-gap {
|
|
57
62
|
syntax: '<length>';
|
|
58
63
|
inherits: false;
|
|
@@ -95,6 +100,47 @@
|
|
|
95
100
|
}
|
|
96
101
|
}
|
|
97
102
|
|
|
103
|
+
:is(.et-button, .et-fab, .et-icon-button):where(
|
|
104
|
+
[data-variant='outline']:not([data-pressed='true']),
|
|
105
|
+
[data-pressed='true'][data-pressed-variant='outline']
|
|
106
|
+
):not([disabled], [aria-disabled='true']) {
|
|
107
|
+
@media (hover: hover) {
|
|
108
|
+
&:hover {
|
|
109
|
+
--_et-button-state-background: var(--et-button-outline-hover-background);
|
|
110
|
+
--_et-button-state-border-color: var(--et-button-outline-hover-border-color);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:focus-visible {
|
|
115
|
+
--_et-button-state-background: var(--et-button-outline-hover-background);
|
|
116
|
+
--_et-button-state-border-color: var(--et-button-outline-hover-border-color);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&:active {
|
|
120
|
+
--_et-button-state-background: var(--et-button-outline-active-background);
|
|
121
|
+
--_et-button-state-border-color: var(--et-button-outline-active-border-color);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:is(.et-button, .et-fab, .et-icon-button):where([data-variant='transparent']:not([data-pressed='true'])):not(
|
|
126
|
+
[disabled],
|
|
127
|
+
[aria-disabled='true']
|
|
128
|
+
) {
|
|
129
|
+
@media (hover: hover) {
|
|
130
|
+
&:hover {
|
|
131
|
+
--_et-button-state-background: var(--et-button-transparent-hover-background);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&:focus-visible {
|
|
136
|
+
--_et-button-state-background: var(--et-button-transparent-hover-background);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:active {
|
|
140
|
+
--_et-button-state-background: var(--et-button-transparent-active-background);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
98
144
|
:is(.et-button, .et-fab, .et-icon-button):where([data-variant='tonal']) {
|
|
99
145
|
--et-theme-color-primary-opacity: 0.16;
|
|
100
146
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
justify-content: center;
|
|
15
15
|
gap: var(--et-button-gap);
|
|
16
16
|
--_et-button-cap-middle: 0.5cap;
|
|
17
|
-
background: var(--_et-button-background);
|
|
17
|
+
background: var(--_et-button-state-background, var(--_et-button-background));
|
|
18
18
|
color: var(--_et-button-color);
|
|
19
19
|
border-radius: var(--_et-button-border-radius);
|
|
20
20
|
padding: var(--_et-button-padding);
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
font-weight: var(--et-button-font-weight);
|
|
23
23
|
letter-spacing: var(--et-button-letter-spacing, revert-layer);
|
|
24
24
|
text-transform: var(--et-button-text-transform, revert-layer);
|
|
25
|
-
border: var(--et-button-border-width, 0.1rem) solid
|
|
25
|
+
border: var(--et-button-border-width, 0.1rem) solid
|
|
26
|
+
var(--_et-button-state-border-color, var(--_et-button-border-color));
|
|
26
27
|
box-shadow: var(--_et-button-shadow);
|
|
27
28
|
cursor: var(--et-button-cursor);
|
|
28
29
|
text-decoration: none;
|
|
@@ -166,7 +166,10 @@
|
|
|
166
166
|
|
|
167
167
|
&:where([data-variant='outline'], [data-variant='tonal'], [data-variant='transparent']) {
|
|
168
168
|
--et-button-shadow: none;
|
|
169
|
-
background:
|
|
169
|
+
background: var(
|
|
170
|
+
--_et-button-state-background,
|
|
171
|
+
rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity))
|
|
172
|
+
);
|
|
170
173
|
color: var(--et-theme-color-ink-solid);
|
|
171
174
|
|
|
172
175
|
@media (hover: hover) {
|
|
@@ -183,7 +186,10 @@
|
|
|
183
186
|
|
|
184
187
|
&:where([data-variant='outline'])::after {
|
|
185
188
|
border-width: var(--et-button-border-width, 0.1rem);
|
|
186
|
-
border-color: var(
|
|
189
|
+
border-color: var(
|
|
190
|
+
--_et-button-state-border-color,
|
|
191
|
+
var(--et-button-outline-border-color, var(--et-theme-color-ink-solid))
|
|
192
|
+
);
|
|
187
193
|
}
|
|
188
194
|
|
|
189
195
|
&[data-icon-alignment='end'] {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
width: var(--_et-icon-button-size);
|
|
24
24
|
height: var(--_et-icon-button-size);
|
|
25
25
|
background: var(
|
|
26
|
-
--_et-
|
|
27
|
-
rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity))
|
|
26
|
+
--_et-button-state-background,
|
|
27
|
+
var(--_et-icon-button-background, rgb(var(--et-theme-color-primary-rgb) / var(--et-theme-color-primary-opacity)))
|
|
28
28
|
);
|
|
29
29
|
color: var(--et-theme-color-ink-solid);
|
|
30
30
|
border: none;
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
&:where([data-variant='outline']) {
|
|
120
120
|
border: var(--et-button-border-width, 0.1rem) solid
|
|
121
|
-
var(--et-button-outline-border-color, var(--et-theme-color-ink-solid));
|
|
121
|
+
var(--_et-button-state-border-color, var(--et-button-outline-border-color, var(--et-theme-color-ink-solid)));
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
&[data-pressed='true']:where([data-pressed-variant='filled']) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--et-form-field-control-padding-inline: 10px;
|
|
8
8
|
--et-form-field-control-affix-gap: 6px;
|
|
9
9
|
--et-form-field-control-font-size: 12px;
|
|
10
|
-
--et-form-field-control-min-height: 32px;
|
|
10
|
+
--et-form-field-control-min-height: var(--et-form-field-control-min-height-sm, 32px);
|
|
11
11
|
--et-form-field-label-font-size: 12px;
|
|
12
12
|
--_et-form-field-float-inside-label-inset: 1px;
|
|
13
13
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--et-form-field-control-padding-inline: 12px;
|
|
22
22
|
--et-form-field-control-affix-gap: 8px;
|
|
23
23
|
--et-form-field-control-font-size: 14px;
|
|
24
|
-
--et-form-field-control-min-height: 50px;
|
|
24
|
+
--et-form-field-control-min-height: var(--et-form-field-control-min-height-md, 50px);
|
|
25
25
|
--et-form-field-label-font-size: 13px;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -32,11 +32,12 @@
|
|
|
32
32
|
--et-form-field-control-padding-inline: 14px;
|
|
33
33
|
--et-form-field-control-affix-gap: 10px;
|
|
34
34
|
--et-form-field-control-font-size: 16px;
|
|
35
|
-
--et-form-field-control-min-height: 58px;
|
|
35
|
+
--et-form-field-control-min-height: var(--et-form-field-control-min-height-lg, 58px);
|
|
36
36
|
--et-form-field-label-font-size: 14px;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
&[data-fill='filled']
|
|
39
|
+
&[data-fill='filled'],
|
|
40
|
+
&[data-fill='sunken'] {
|
|
40
41
|
--_et-form-field-control-background: var(
|
|
41
42
|
--et-surface-background-solid,
|
|
42
43
|
var(--et-surface-base-solid, transparent)
|
|
@@ -151,6 +151,18 @@
|
|
|
151
151
|
font-weight: 600;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
.et-progress-steps:where([data-align='start']) & {
|
|
155
|
+
align-items: flex-start;
|
|
156
|
+
|
|
157
|
+
&:not(:last-child)::after {
|
|
158
|
+
inset-inline-start: calc(var(--et-progress-step-marker-size) / 2);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.et-progress-step-text {
|
|
162
|
+
text-align: start;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
154
166
|
/* --- Vertical --- */
|
|
155
167
|
|
|
156
168
|
/* The connector is purpose-built rather than rotated: horizontally it spans marker-center to
|
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
position: relative;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
:where(.et-scrollable[item-size='auto'] > .et-scrollable-wrapper > .et-scrollable-container > *) {
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:where(
|
|
16
|
+
.et-scrollable[item-size='auto']:is([direction='horizontal'], :not([direction]))
|
|
17
|
+
> .et-scrollable-wrapper
|
|
18
|
+
> .et-scrollable-container
|
|
19
|
+
> *
|
|
20
|
+
) {
|
|
21
|
+
inline-size: min-content;
|
|
22
|
+
}
|
|
23
|
+
|
|
11
24
|
.et-scrollable {
|
|
12
25
|
& .et-scrollable-wrapper {
|
|
13
26
|
display: grid;
|
|
@@ -36,6 +49,37 @@
|
|
|
36
49
|
--_auto-size: 100%;
|
|
37
50
|
}
|
|
38
51
|
|
|
52
|
+
&[item-size='auto'] > .et-scrollable-wrapper > .et-scrollable-container {
|
|
53
|
+
display: flex;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&[item-size='auto'] {
|
|
57
|
+
&[direction='horizontal'],
|
|
58
|
+
&:not([direction]) {
|
|
59
|
+
& > .et-scrollable-wrapper > .et-scrollable-container > .et-scroll-observer-first-element {
|
|
60
|
+
margin-inline-end: calc(-4px - var(--item-gap, 0px));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
& > .et-scrollable-wrapper > .et-scrollable-container > .et-scroll-observer-last-element {
|
|
64
|
+
margin-inline-start: calc(-4px - var(--item-gap, 0px));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&[direction='vertical'] > .et-scrollable-wrapper > .et-scrollable-container {
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&[direction='vertical'] {
|
|
73
|
+
& > .et-scrollable-wrapper > .et-scrollable-container > .et-scroll-observer-first-element {
|
|
74
|
+
margin-block-end: calc(-4px - var(--item-gap, 0px));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
& > .et-scrollable-wrapper > .et-scrollable-container > .et-scroll-observer-last-element {
|
|
78
|
+
margin-block-start: calc(-4px - var(--item-gap, 0px));
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
39
83
|
&[render-scrollbars='false'],
|
|
40
84
|
&:not([render-scrollbars]) {
|
|
41
85
|
& .et-scrollable-container {
|
|
@@ -48,7 +48,10 @@
|
|
|
48
48
|
/* The opaque paint behind the two bars rows pass under: the sticky header row and the footer bar.
|
|
49
49
|
Both read it, so an app that recolours one cannot leave the other behind. */
|
|
50
50
|
--_et-table-header-bg: var(--et-table-header-background-color, var(--et-surface-background-solid, Canvas));
|
|
51
|
-
--_et-table-header-border: var(
|
|
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
|
+
);
|
|
52
55
|
--_et-table-row-divider: transparent;
|
|
53
56
|
/* The box of a header adornment (a filter trigger, a column menu trigger), read both by the button
|
|
54
57
|
itself and by the height the header row reserves for it. */
|
|
@@ -201,7 +204,7 @@
|
|
|
201
204
|
}
|
|
202
205
|
|
|
203
206
|
.et-table-host:where([data-appearance='bare']) {
|
|
204
|
-
--_et-table-header-border: transparent;
|
|
207
|
+
--_et-table-header-border: var(--et-table-header-border-color, transparent);
|
|
205
208
|
}
|
|
206
209
|
|
|
207
210
|
/* Cards: every row is a box of its own (see `.et-table-row--box`), painted one surface elevation above
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
gap: 4px;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.et-tab-group__header::after,
|
|
71
|
-
.et-nav-
|
|
70
|
+
.et-tab-group__header-scrollable > .et-scrollable-wrapper::after,
|
|
71
|
+
.et-nav-tabs__scrollable > .et-scrollable-wrapper::after {
|
|
72
72
|
content: '';
|
|
73
73
|
position: absolute;
|
|
74
74
|
background: var(--et-surface-border-solid, currentColor);
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
pointer-events: none;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
[data-divider='false'] .et-tab-group__header::after,
|
|
80
|
-
[data-divider='false'] .et-nav-
|
|
79
|
+
[data-divider='false'] .et-tab-group__header-scrollable > .et-scrollable-wrapper::after,
|
|
80
|
+
[data-divider='false'] .et-nav-tabs__scrollable > .et-scrollable-wrapper::after {
|
|
81
81
|
display: none;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
[data-orientation='horizontal'] .et-tab-group__header::after,
|
|
85
|
-
[data-orientation='horizontal'] .et-nav-
|
|
84
|
+
[data-orientation='horizontal'] .et-tab-group__header-scrollable > .et-scrollable-wrapper::after,
|
|
85
|
+
[data-orientation='horizontal'] .et-nav-tabs__scrollable > .et-scrollable-wrapper::after {
|
|
86
86
|
bottom: 0;
|
|
87
87
|
left: 0;
|
|
88
88
|
right: 0;
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
border-radius: var(--et-tab-bar-underline-radius);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
[data-orientation='vertical'] .et-tab-group__header::after,
|
|
94
|
-
[data-orientation='vertical'] .et-nav-
|
|
93
|
+
[data-orientation='vertical'] .et-tab-group__header-scrollable > .et-scrollable-wrapper::after,
|
|
94
|
+
[data-orientation='vertical'] .et-nav-tabs__scrollable > .et-scrollable-wrapper::after {
|
|
95
95
|
left: 0;
|
|
96
96
|
top: 0;
|
|
97
97
|
bottom: 0;
|
|
@@ -114,10 +114,22 @@
|
|
|
114
114
|
color: var(--et-timeline-marker-color, var(--et-surface-color-muted-solid, currentColor));
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
.et-timeline-item[data-status='upcoming'] .et-timeline-item-marker:empty::before {
|
|
118
|
+
content: '';
|
|
119
|
+
position: absolute;
|
|
120
|
+
inset: var(--et-timeline-upcoming-ring-width, 50%);
|
|
121
|
+
border-radius: 50%;
|
|
122
|
+
background: var(--et-surface-background-solid, Canvas);
|
|
123
|
+
}
|
|
124
|
+
|
|
117
125
|
.et-timeline-item[data-status='current'] .et-timeline-item-marker {
|
|
118
126
|
box-shadow:
|
|
119
127
|
0 0 0 var(--et-timeline-line-thickness) var(--et-surface-background-solid, Canvas),
|
|
120
|
-
0 0 0
|
|
128
|
+
0 0 0
|
|
129
|
+
calc(
|
|
130
|
+
var(--et-timeline-line-thickness) + var(--et-timeline-current-ring-width, var(--et-timeline-line-thickness))
|
|
131
|
+
)
|
|
132
|
+
currentColor;
|
|
121
133
|
}
|
|
122
134
|
|
|
123
135
|
.et-timeline-item:last-child .et-timeline-item-rail::before {
|