@ebay/skin 19.34.0 → 19.35.0
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/dist/accordion/accordion.css +0 -2
- package/dist/alert-dialog/alert-dialog.css +16 -6
- package/dist/avatar/avatar.css +23 -5
- package/dist/breadcrumbs/breadcrumbs.css +13 -0
- package/dist/button/button.css +65 -11
- package/dist/calendar/calendar.css +30 -3
- package/dist/carousel/carousel.css +24 -12
- package/dist/ccd/ccd.css +4 -0
- package/dist/checkbox/checkbox.css +16 -2
- package/dist/chip/chip.css +7 -3
- package/dist/chips-combobox/chips-combobox.css +18 -1
- package/dist/combobox/combobox.css +37 -15
- package/dist/confirm-dialog/confirm-dialog.css +16 -6
- package/dist/cta-button/cta-button.css +20 -10
- package/dist/date-textbox/date-textbox.css +6 -1
- package/dist/details/details.css +4 -0
- package/dist/dialog/dialog.css +19 -0
- package/dist/donut-chart/donut-chart.css +8 -0
- package/dist/drawer-dialog/drawer-dialog.css +16 -6
- package/dist/education-notice/education-notice.css +12 -0
- package/dist/eek/eek.css +28 -0
- package/dist/field/field.css +23 -0
- package/dist/file-input/file-input.css +12 -1
- package/dist/file-preview-card/file-preview-card.css +3 -9
- package/dist/file-preview-card-group/file-preview-card-group.css +3 -0
- package/dist/filter-button/filter-button.css +8 -1
- package/dist/filter-chip/filter-chip.css +13 -28
- package/dist/filter-menu/filter-menu.css +24 -4
- package/dist/filter-menu-button/filter-menu-button.css +26 -4
- package/dist/flag/flag.css +252 -0
- package/dist/floating-label/floating-label.css +20 -2
- package/dist/fullscreen-dialog/fullscreen-dialog.css +12 -2
- package/dist/global/global.css +4 -0
- package/dist/icon-button/icon-button.css +24 -0
- package/dist/infotip/infotip.css +35 -11
- package/dist/inline-notice/inline-notice.css +5 -0
- package/dist/item-tile/item-tile.css +0 -1
- package/dist/layout-grid/layout-grid.css +7 -0
- package/dist/lightbox-dialog/lightbox-dialog.css +29 -7
- package/dist/link/link.css +6 -4
- package/dist/list/list.css +15 -3
- package/dist/listbox/listbox.css +22 -10
- package/dist/listbox-button/listbox-button.css +34 -8
- package/dist/menu/menu.css +5 -21
- package/dist/menu-button/menu-button.css +35 -10
- package/dist/number-input/number-input.css +17 -1
- package/dist/page-grid/page-grid.css +4 -3
- package/dist/page-notice/page-notice.css +21 -1
- package/dist/pagination/pagination.css +22 -6
- package/dist/panel-dialog/panel-dialog.css +20 -6
- package/dist/phone-input/phone-input.css +20 -0
- package/dist/progress-bar/progress-bar.css +6 -1
- package/dist/progress-bar-expressive/progress-bar-expressive.css +85 -61
- package/dist/progress-spinner/progress-spinner.css +2 -0
- package/dist/progress-stepper/progress-stepper.css +24 -0
- package/dist/radio/radio.css +16 -2
- package/dist/section-notice/section-notice.css +16 -0
- package/dist/section-title/section-title.css +14 -2
- package/dist/segmented-buttons/segmented-buttons.css +13 -3
- package/dist/select/select.css +17 -5
- package/dist/selection-chip/selection-chip.css +9 -20
- package/dist/skeleton/skeleton.css +23 -0
- package/dist/snackbar-dialog/snackbar-dialog.css +15 -4
- package/dist/star-rating/star-rating.css +2 -0
- package/dist/star-rating-select/star-rating-select.css +8 -1
- package/dist/svg/icon/icon-live-bag-16.svg +1 -1
- package/dist/svg/icon/icon-live-bag-20.svg +1 -1
- package/dist/svg/icon/icon-live-bag-24.svg +1 -1
- package/dist/svg/icon/icon-live-bag-filled-24.svg +1 -1
- package/dist/svg/icon/icon-live-bag-thin-16.svg +1 -1
- package/dist/svg/icons.svg +5 -5
- package/dist/switch/switch.css +8 -21
- package/dist/table/table.css +47 -0
- package/dist/tabs/tabs.css +0 -5
- package/dist/textbox/textbox.css +9 -20
- package/dist/toast-dialog/toast-dialog.css +9 -1
- package/dist/toggle-button/toggle-button.css +32 -0
- package/dist/toggle-button-group/toggle-button-group.css +16 -0
- package/dist/tooltip/tooltip.css +37 -14
- package/dist/tourtip/tourtip.css +43 -16
- package/dist/typography/typography.css +20 -0
- package/dist/utility/utility.css +7 -0
- package/dist/video/video.css +23 -1
- package/eslint.config.mjs +7 -5
- package/package.json +1 -1
|
@@ -2,30 +2,33 @@
|
|
|
2
2
|
--state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
|
|
3
3
|
--state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
nav.pagination {
|
|
6
7
|
align-items: center;
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
justify-content: center;
|
|
7
10
|
color: var(
|
|
8
11
|
--pagination-item-foreground-color,
|
|
9
12
|
var(--color-foreground-secondary)
|
|
10
13
|
);
|
|
11
|
-
display: inline-flex;
|
|
12
14
|
font-family: inherit;
|
|
13
15
|
font-size: 1rem;
|
|
14
|
-
justify-content: center;
|
|
15
16
|
margin: var(--spacing-100) 0;
|
|
16
17
|
max-width: 100%;
|
|
17
18
|
}
|
|
19
|
+
|
|
18
20
|
nav.pagination a,
|
|
19
21
|
nav.pagination button {
|
|
20
22
|
color: inherit;
|
|
21
23
|
font-size: 1em;
|
|
22
24
|
}
|
|
25
|
+
|
|
23
26
|
ol.pagination__items {
|
|
24
27
|
align-items: center;
|
|
25
|
-
box-sizing: border-box;
|
|
26
28
|
display: inline-flex;
|
|
27
|
-
height: 44px;
|
|
28
29
|
justify-content: center;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
height: 44px;
|
|
29
32
|
list-style-type: none;
|
|
30
33
|
margin: 0;
|
|
31
34
|
padding: 0;
|
|
@@ -35,6 +38,7 @@ ol.pagination__items li:not([hidden]) {
|
|
|
35
38
|
display: flex;
|
|
36
39
|
justify-content: center;
|
|
37
40
|
}
|
|
41
|
+
|
|
38
42
|
a.pagination__next,
|
|
39
43
|
a.pagination__previous,
|
|
40
44
|
button.pagination__next,
|
|
@@ -43,31 +47,37 @@ button.pagination__previous {
|
|
|
43
47
|
display: inline-flex;
|
|
44
48
|
justify-content: center;
|
|
45
49
|
}
|
|
50
|
+
|
|
46
51
|
a.pagination__next,
|
|
47
52
|
button.pagination__next {
|
|
48
53
|
margin-inline-start: var(--spacing-100);
|
|
49
54
|
}
|
|
55
|
+
|
|
50
56
|
a.pagination__previous,
|
|
51
57
|
button.pagination__previous {
|
|
52
58
|
margin-inline-end: var(--spacing-100);
|
|
53
59
|
}
|
|
60
|
+
|
|
54
61
|
.pagination__item {
|
|
55
62
|
align-items: center;
|
|
56
|
-
box-sizing: border-box;
|
|
57
63
|
display: inline-flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
box-sizing: border-box;
|
|
58
66
|
font-weight: var(--font-weight-400);
|
|
59
67
|
height: 44px;
|
|
60
|
-
justify-content: center;
|
|
61
68
|
width: 44px;
|
|
62
69
|
}
|
|
70
|
+
|
|
63
71
|
button.pagination__item {
|
|
64
72
|
background: none;
|
|
65
73
|
border: none;
|
|
66
74
|
font-family: inherit;
|
|
67
75
|
}
|
|
76
|
+
|
|
68
77
|
a.pagination__item {
|
|
69
78
|
text-decoration: none;
|
|
70
79
|
}
|
|
80
|
+
|
|
71
81
|
a.pagination__item,
|
|
72
82
|
button.pagination__item {
|
|
73
83
|
position: relative;
|
|
@@ -122,6 +132,7 @@ a.pagination__item:focus:not(:focus-visible),
|
|
|
122
132
|
button.pagination__item:focus:not(:focus-visible) {
|
|
123
133
|
outline: none;
|
|
124
134
|
}
|
|
135
|
+
|
|
125
136
|
span.pagination__item button.icon-btn--transparent {
|
|
126
137
|
overflow: hidden;
|
|
127
138
|
position: relative;
|
|
@@ -157,20 +168,25 @@ span.pagination__item
|
|
|
157
168
|
span.pagination__item button.icon-btn--transparent[href]:active:after {
|
|
158
169
|
background-color: var(--color-state-layer-pressed);
|
|
159
170
|
}
|
|
171
|
+
|
|
160
172
|
nav.pagination--fluid {
|
|
161
173
|
width: 100%;
|
|
162
174
|
}
|
|
175
|
+
|
|
163
176
|
nav.pagination--fluid ol.pagination__items {
|
|
164
177
|
flex-grow: 1;
|
|
165
178
|
max-width: none;
|
|
166
179
|
}
|
|
180
|
+
|
|
167
181
|
nav.pagination--fluid ol.pagination__items li {
|
|
168
182
|
flex: 1 0 var(--spacing-600);
|
|
169
183
|
}
|
|
184
|
+
|
|
170
185
|
[dir="rtl"] nav.pagination svg.icon--arrow-left-16,
|
|
171
186
|
[dir="rtl"] nav.pagination svg.icon--arrow-right-16 {
|
|
172
187
|
transform: rotate(180deg);
|
|
173
188
|
}
|
|
189
|
+
|
|
174
190
|
@media (min-width: 768px) {
|
|
175
191
|
nav.pagination {
|
|
176
192
|
margin: var(--spacing-200) 0;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
--dialog-lightbox-max-width: 616px;
|
|
5
5
|
}
|
|
6
6
|
.panel-dialog[role="dialog"] {
|
|
7
|
-
background-color: var(--dialog-scrim-color-show);
|
|
8
7
|
flex-direction: column;
|
|
9
|
-
inset: 0;
|
|
10
8
|
overflow: hidden;
|
|
9
|
+
background-color: var(--dialog-scrim-color-show);
|
|
10
|
+
inset: 0;
|
|
11
11
|
position: fixed;
|
|
12
12
|
will-change: background-color;
|
|
13
13
|
z-index: 100000;
|
|
@@ -15,24 +15,27 @@
|
|
|
15
15
|
.panel-dialog[role="dialog"]:not([hidden]) {
|
|
16
16
|
display: flex;
|
|
17
17
|
}
|
|
18
|
+
|
|
18
19
|
.panel-dialog__window {
|
|
19
20
|
background-color: var(
|
|
20
21
|
--dialog-window-background-color,
|
|
21
22
|
var(--color-background-primary)
|
|
22
23
|
);
|
|
23
|
-
border-right: 1px solid rgba(153, 153, 153, 0.18);
|
|
24
24
|
display: flex;
|
|
25
25
|
flex: 1 0 auto;
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
min-height: 55px;
|
|
28
|
+
will-change: opacity, transform;
|
|
29
|
+
border-right: 1px solid rgba(153, 153, 153, 0.18);
|
|
28
30
|
overflow-y: auto;
|
|
29
31
|
width: 100%;
|
|
30
|
-
will-change: opacity, transform;
|
|
31
32
|
}
|
|
33
|
+
|
|
32
34
|
.panel-dialog__window--end {
|
|
33
35
|
align-self: flex-end;
|
|
34
36
|
border-left: 1px solid rgba(153, 153, 153, 0.18);
|
|
35
37
|
}
|
|
38
|
+
|
|
36
39
|
.panel-dialog__header {
|
|
37
40
|
display: flex;
|
|
38
41
|
flex-shrink: 0;
|
|
@@ -53,16 +56,18 @@
|
|
|
53
56
|
.panel-dialog__header > :last-child:not(:only-child) {
|
|
54
57
|
margin-inline-start: var(--spacing-200);
|
|
55
58
|
}
|
|
59
|
+
|
|
56
60
|
.panel-dialog__header .fake-link {
|
|
57
61
|
align-self: flex-start;
|
|
58
62
|
outline-offset: 4px;
|
|
59
63
|
text-decoration: none;
|
|
60
64
|
}
|
|
65
|
+
|
|
61
66
|
.panel-dialog__main {
|
|
62
|
-
box-sizing: border-box;
|
|
63
|
-
flex: 1 1 auto;
|
|
64
67
|
height: 1px;
|
|
65
68
|
overflow-y: auto;
|
|
69
|
+
box-sizing: border-box;
|
|
70
|
+
flex: 1 1 auto;
|
|
66
71
|
padding: var(--spacing-200);
|
|
67
72
|
position: relative;
|
|
68
73
|
}
|
|
@@ -72,6 +77,7 @@
|
|
|
72
77
|
.panel-dialog__main > :last-child {
|
|
73
78
|
margin-bottom: 0;
|
|
74
79
|
}
|
|
80
|
+
|
|
75
81
|
.panel-dialog__footer {
|
|
76
82
|
display: flex;
|
|
77
83
|
flex-direction: column;
|
|
@@ -93,12 +99,15 @@ button.icon-btn.panel-dialog__prev {
|
|
|
93
99
|
width: 32px;
|
|
94
100
|
z-index: 1;
|
|
95
101
|
}
|
|
102
|
+
|
|
96
103
|
button.icon-btn.panel-dialog__prev {
|
|
97
104
|
margin-inline-end: var(--spacing-200);
|
|
98
105
|
}
|
|
106
|
+
|
|
99
107
|
.panel-dialog__title:not(:first-child) {
|
|
100
108
|
margin-left: var(--spacing-200);
|
|
101
109
|
}
|
|
110
|
+
|
|
102
111
|
.panel-dialog--hide.panel-dialog--mask-fade,
|
|
103
112
|
.panel-dialog--show.panel-dialog--mask-fade {
|
|
104
113
|
transition: background-color 0.16s ease-out;
|
|
@@ -111,6 +120,7 @@ button.icon-btn.panel-dialog__prev {
|
|
|
111
120
|
.panel-dialog--show .panel-dialog__window--slide {
|
|
112
121
|
transition: transform 0.32s ease-out;
|
|
113
122
|
}
|
|
123
|
+
|
|
114
124
|
.panel-dialog--hide.panel-dialog--hide,
|
|
115
125
|
.panel-dialog--hide.panel-dialog--show-init,
|
|
116
126
|
.panel-dialog--show-init.panel-dialog--hide,
|
|
@@ -131,15 +141,18 @@ button.icon-btn.panel-dialog__prev {
|
|
|
131
141
|
.panel-dialog--show-init .panel-dialog__window--slide-right {
|
|
132
142
|
transform: translateX(100%);
|
|
133
143
|
}
|
|
144
|
+
|
|
134
145
|
.panel-dialog--hide .panel-dialog__window--slide,
|
|
135
146
|
.panel-dialog--show-init .panel-dialog__window--slide {
|
|
136
147
|
transform: translateX(-100%);
|
|
137
148
|
}
|
|
149
|
+
|
|
138
150
|
.panel-dialog--hide .panel-dialog__window--end.panel-dialog__window--slide,
|
|
139
151
|
.panel-dialog--show-init
|
|
140
152
|
.panel-dialog__window--end.panel-dialog__window--slide {
|
|
141
153
|
transform: translateX(100%);
|
|
142
154
|
}
|
|
155
|
+
|
|
143
156
|
.panel-dialog--hide-init.panel-dialog--hide-init,
|
|
144
157
|
.panel-dialog--hide-init.panel-dialog--show,
|
|
145
158
|
.panel-dialog--show.panel-dialog--hide-init,
|
|
@@ -156,6 +169,7 @@ button.icon-btn.panel-dialog__prev {
|
|
|
156
169
|
.panel-dialog--show .panel-dialog__window--slide {
|
|
157
170
|
transform: translateX(0);
|
|
158
171
|
}
|
|
172
|
+
|
|
159
173
|
[dir="rtl"] button.icon-btn.panel-dialog__prev .icon {
|
|
160
174
|
transform: rotate(180deg);
|
|
161
175
|
}
|
|
@@ -2,26 +2,31 @@
|
|
|
2
2
|
.phone-input .listbox-button {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.phone-input button.btn {
|
|
6
7
|
border-radius: 8px 0 0 8px;
|
|
7
8
|
border-right-style: none;
|
|
8
9
|
min-width: 64px;
|
|
9
10
|
padding-inline: var(--spacing-200) var(--spacing-100);
|
|
10
11
|
}
|
|
12
|
+
|
|
11
13
|
.phone-input button.btn:focus-visible {
|
|
12
14
|
border-right-style: solid;
|
|
13
15
|
box-shadow: 0 0 0 1px var(--color-border-strong);
|
|
14
16
|
outline: none;
|
|
15
17
|
z-index: 1;
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
.phone-input button.btn svg.icon:last-child {
|
|
18
21
|
margin-inline-start: var(--spacing-50);
|
|
19
22
|
}
|
|
23
|
+
|
|
20
24
|
.phone-input .listbox-button span.fflag,
|
|
21
25
|
.phone-input .listbox-button svg.flag {
|
|
22
26
|
height: 18px;
|
|
23
27
|
width: 24px;
|
|
24
28
|
}
|
|
29
|
+
|
|
25
30
|
.phone-input .listbox-button__value,
|
|
26
31
|
.phone-input .listbox__value {
|
|
27
32
|
display: inline-flex;
|
|
@@ -38,32 +43,39 @@
|
|
|
38
43
|
.phone-input .listbox__value span:last-child {
|
|
39
44
|
color: var(--color-foreground-secondary);
|
|
40
45
|
}
|
|
46
|
+
|
|
41
47
|
.phone-input .listbox-button__value span:first-of-type,
|
|
42
48
|
.phone-input .listbox__value span:first-of-type {
|
|
43
49
|
overflow: hidden;
|
|
44
50
|
text-overflow: ellipsis;
|
|
45
51
|
white-space: nowrap;
|
|
46
52
|
}
|
|
53
|
+
|
|
47
54
|
.phone-input .textbox {
|
|
48
55
|
border-radius: 0 var(--border-radius-50) var(--border-radius-50) 0;
|
|
49
56
|
}
|
|
57
|
+
|
|
50
58
|
.phone-input--large {
|
|
51
59
|
height: 48px;
|
|
52
60
|
}
|
|
61
|
+
|
|
53
62
|
.phone-input--fluid,
|
|
54
63
|
.phone-input--fluid .textbox {
|
|
55
64
|
width: 100%;
|
|
56
65
|
}
|
|
66
|
+
|
|
57
67
|
.phone-input--readonly .listbox-button button[aria-disabled="true"],
|
|
58
68
|
.phone-input--readonly .listbox-button button[disabled] {
|
|
59
69
|
border-color: var(--textbox-border-color, var(--color-border-medium));
|
|
60
70
|
}
|
|
71
|
+
|
|
61
72
|
.phone-input--readonly .textbox span:first-child {
|
|
62
73
|
color: var(
|
|
63
74
|
--textbox-disabled-foreground-color,
|
|
64
75
|
var(--color-foreground-secondary)
|
|
65
76
|
);
|
|
66
77
|
}
|
|
78
|
+
|
|
67
79
|
.phone-input.phone-input--readonly .textbox.textbox {
|
|
68
80
|
background-color: var(
|
|
69
81
|
--textbox-background-color,
|
|
@@ -73,25 +85,30 @@
|
|
|
73
85
|
border-style: solid;
|
|
74
86
|
border-width: 1px;
|
|
75
87
|
}
|
|
88
|
+
|
|
76
89
|
.phone-input--readonly input.textbox__control[readonly] {
|
|
77
90
|
color: var(--textbox-foreground-color, var(--color-foreground-secondary));
|
|
78
91
|
}
|
|
92
|
+
|
|
79
93
|
.phone-input--disabled span.fflag,
|
|
80
94
|
.phone-input--disabled svg.flag {
|
|
81
95
|
filter: var(--color-media-disabled-filter);
|
|
82
96
|
}
|
|
97
|
+
|
|
83
98
|
.phone-input--disabled .textbox {
|
|
84
99
|
border-color: var(
|
|
85
100
|
--textbox-disabled-border-color,
|
|
86
101
|
var(--color-background-disabled)
|
|
87
102
|
);
|
|
88
103
|
}
|
|
104
|
+
|
|
89
105
|
.phone-input--disabled .textbox span:first-child {
|
|
90
106
|
color: var(
|
|
91
107
|
--textbox-disabled-foreground-color,
|
|
92
108
|
var(--color-foreground-disabled)
|
|
93
109
|
);
|
|
94
110
|
}
|
|
111
|
+
|
|
95
112
|
.phone-input.phone-input--error .textbox.textbox {
|
|
96
113
|
border-color: var(
|
|
97
114
|
--textbox-invalid-foreground-color,
|
|
@@ -102,14 +119,17 @@
|
|
|
102
119
|
.phone-input .floating-label .floating-label__label {
|
|
103
120
|
z-index: 2;
|
|
104
121
|
}
|
|
122
|
+
|
|
105
123
|
.phone-input .floating-label .textbox > span:first-child {
|
|
106
124
|
padding-bottom: 2px;
|
|
107
125
|
padding-top: 18px;
|
|
108
126
|
}
|
|
127
|
+
|
|
109
128
|
.phone-input .floating-label--large .textbox > span:first-child {
|
|
110
129
|
padding-bottom: 5px;
|
|
111
130
|
padding-top: 23px;
|
|
112
131
|
}
|
|
132
|
+
|
|
113
133
|
@media screen and (min-width: 320px) {
|
|
114
134
|
.phone-input .listbox-button__value span:first-of-type,
|
|
115
135
|
.phone-input .listbox__value span:first-of-type {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
.progress-bar {
|
|
2
2
|
border: none;
|
|
3
|
-
color: var(--progress-bar-foreground-color, var(--color-foreground-accent));
|
|
4
3
|
height: 4px;
|
|
5
4
|
margin: var(--spacing-100) 0;
|
|
5
|
+
color: var(--progress-bar-foreground-color, var(--color-foreground-accent));
|
|
6
6
|
}
|
|
7
|
+
|
|
7
8
|
.progress-bar::-webkit-progress-bar {
|
|
8
9
|
background-color: var(
|
|
9
10
|
--progress-bar-background-color,
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
);
|
|
12
13
|
border-radius: 8px;
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
.progress-bar::-webkit-progress-value {
|
|
15
17
|
background-color: var(
|
|
16
18
|
--progress-bar-foreground-color,
|
|
@@ -20,6 +22,7 @@
|
|
|
20
22
|
-webkit-transition: width 0.45s ease-in-out;
|
|
21
23
|
transition: width 0.45s ease-in-out;
|
|
22
24
|
}
|
|
25
|
+
|
|
23
26
|
.progress-bar::-moz-progress-bar {
|
|
24
27
|
background-color: var(
|
|
25
28
|
--progress-bar-foreground-color,
|
|
@@ -27,9 +30,11 @@
|
|
|
27
30
|
);
|
|
28
31
|
border-radius: 8px;
|
|
29
32
|
}
|
|
33
|
+
|
|
30
34
|
.progress-bar--fluid {
|
|
31
35
|
width: 100%;
|
|
32
36
|
}
|
|
37
|
+
|
|
33
38
|
@media (min-width: 512px) {
|
|
34
39
|
.progress-bar {
|
|
35
40
|
margin: var(--spacing-200) 0;
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
--progress-bar-expressive-message-animatein-duration: 833ms;
|
|
25
25
|
--progress-bar-expressive-message-animateout-duration: 400ms;
|
|
26
26
|
}
|
|
27
|
+
|
|
27
28
|
.progress-bar-expressive {
|
|
28
29
|
align-items: stretch;
|
|
29
30
|
display: grid;
|
|
@@ -34,9 +35,11 @@
|
|
|
34
35
|
row-gap: var(--spacing-300);
|
|
35
36
|
width: 100%;
|
|
36
37
|
}
|
|
38
|
+
|
|
37
39
|
.progress-bar-expressive--loaded {
|
|
38
40
|
display: none;
|
|
39
41
|
}
|
|
42
|
+
|
|
40
43
|
.progress-bar-expressive__messages {
|
|
41
44
|
color: var(--color-foreground-primary);
|
|
42
45
|
font-size: var(--font-size-large-1);
|
|
@@ -47,11 +50,13 @@
|
|
|
47
50
|
position: relative;
|
|
48
51
|
text-align: center;
|
|
49
52
|
}
|
|
53
|
+
|
|
50
54
|
.progress-bar-expressive__messages--medium {
|
|
51
55
|
font-size: var(--font-size-medium);
|
|
52
56
|
font-weight: var(--font-weight-600);
|
|
53
57
|
line-height: var(--spacing-300);
|
|
54
58
|
}
|
|
59
|
+
|
|
55
60
|
.progress-bar-expressive__message {
|
|
56
61
|
inset: auto 0 0;
|
|
57
62
|
position: absolute;
|
|
@@ -62,26 +67,31 @@
|
|
|
62
67
|
.progress-bar-expressive__message[aria-hidden="true"] {
|
|
63
68
|
opacity: 0;
|
|
64
69
|
}
|
|
70
|
+
|
|
65
71
|
.progress-bar-expressive__message--in {
|
|
66
72
|
animation: progress-bar-expressive-message-animatein
|
|
67
73
|
var(--progress-bar-expressive-message-animatein-duration)
|
|
68
74
|
cubic-bezier(0.3, 0, 0, 1) both;
|
|
69
75
|
}
|
|
76
|
+
|
|
70
77
|
.progress-bar-expressive__message--out {
|
|
71
78
|
animation: progress-bar-expressive-message-animateout
|
|
72
79
|
var(--progress-bar-expressive-message-animateout-duration)
|
|
73
80
|
cubic-bezier(0.3, 0, 0, 1) both;
|
|
74
81
|
}
|
|
82
|
+
|
|
75
83
|
.progress-bar-expressive__progress[role="progressbar"] {
|
|
76
84
|
border-radius: var(--progress-bar-expressive-line-border-radius);
|
|
77
85
|
margin: 0 var(--spacing-200);
|
|
78
86
|
overflow: hidden;
|
|
79
87
|
}
|
|
88
|
+
|
|
80
89
|
.progress-bar-expressive__lines {
|
|
81
90
|
display: flex;
|
|
82
91
|
overflow: visible;
|
|
83
|
-
width: calc(100% - var(--progress-bar-expressive-line-gap)
|
|
92
|
+
width: calc(100% - 3 * var(--progress-bar-expressive-line-gap));
|
|
84
93
|
}
|
|
94
|
+
|
|
85
95
|
.progress-bar-expressive__line {
|
|
86
96
|
animation:
|
|
87
97
|
progress-bar-expressive-line-reorder
|
|
@@ -99,144 +109,158 @@
|
|
|
99
109
|
.progress-bar-expressive__line:nth-child(4n + 1) {
|
|
100
110
|
background-color: var(--progress-bar-expressive-color-4);
|
|
101
111
|
}
|
|
112
|
+
|
|
102
113
|
.progress-bar-expressive__line:nth-child(4n + 2) {
|
|
103
114
|
background-color: var(--progress-bar-expressive-color-3);
|
|
104
115
|
}
|
|
116
|
+
|
|
105
117
|
.progress-bar-expressive__line:nth-child(4n + 3) {
|
|
106
118
|
background-color: var(--progress-bar-expressive-color-2);
|
|
107
119
|
}
|
|
120
|
+
|
|
108
121
|
.progress-bar-expressive__line:nth-child(4n + 4) {
|
|
109
122
|
background-color: var(--progress-bar-expressive-color-1);
|
|
110
123
|
}
|
|
111
124
|
.progress-bar-expressive__line:first-child {
|
|
112
125
|
animation-delay: calc(
|
|
113
|
-
|
|
126
|
+
-1 *
|
|
127
|
+
(
|
|
114
128
|
var(--progress-bar-expressive-line-scale-duration) -
|
|
115
129
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
116
130
|
var(--progress-bar-expressive-line-count)
|
|
117
|
-
)
|
|
118
|
-
-1
|
|
131
|
+
)
|
|
119
132
|
);
|
|
120
133
|
width: var(--progress-bar-expressive-line-width-a1);
|
|
121
134
|
}
|
|
135
|
+
|
|
122
136
|
.progress-bar-expressive__line:nth-child(2) {
|
|
123
137
|
animation-delay: calc(
|
|
124
|
-
|
|
125
|
-
|
|
138
|
+
-1 *
|
|
139
|
+
(
|
|
140
|
+
var(--progress-bar-expressive-line-scale-duration) - 2 *
|
|
126
141
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
127
|
-
var(--progress-bar-expressive-line-count)
|
|
128
|
-
)
|
|
129
|
-
-1
|
|
142
|
+
var(--progress-bar-expressive-line-count)
|
|
143
|
+
)
|
|
130
144
|
);
|
|
131
145
|
width: var(--progress-bar-expressive-line-width-a2);
|
|
132
146
|
}
|
|
147
|
+
|
|
133
148
|
.progress-bar-expressive__line:nth-child(3) {
|
|
134
149
|
animation-delay: calc(
|
|
135
|
-
|
|
136
|
-
|
|
150
|
+
-1 *
|
|
151
|
+
(
|
|
152
|
+
var(--progress-bar-expressive-line-scale-duration) - 3 *
|
|
137
153
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
138
|
-
var(--progress-bar-expressive-line-count)
|
|
139
|
-
)
|
|
140
|
-
-1
|
|
154
|
+
var(--progress-bar-expressive-line-count)
|
|
155
|
+
)
|
|
141
156
|
);
|
|
142
157
|
width: var(--progress-bar-expressive-line-width-a3);
|
|
143
158
|
}
|
|
159
|
+
|
|
144
160
|
.progress-bar-expressive__line:nth-child(4) {
|
|
145
161
|
animation-delay: calc(
|
|
146
|
-
|
|
147
|
-
|
|
162
|
+
-1 *
|
|
163
|
+
(
|
|
164
|
+
var(--progress-bar-expressive-line-scale-duration) - 4 *
|
|
148
165
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
149
|
-
var(--progress-bar-expressive-line-count)
|
|
150
|
-
)
|
|
151
|
-
-1
|
|
166
|
+
var(--progress-bar-expressive-line-count)
|
|
167
|
+
)
|
|
152
168
|
);
|
|
153
169
|
width: var(--progress-bar-expressive-line-width-a4);
|
|
154
170
|
}
|
|
171
|
+
|
|
155
172
|
.progress-bar-expressive__line:nth-child(5) {
|
|
156
173
|
animation-delay: calc(
|
|
157
|
-
|
|
158
|
-
|
|
174
|
+
-1 *
|
|
175
|
+
(
|
|
176
|
+
var(--progress-bar-expressive-line-scale-duration) - 5 *
|
|
159
177
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
160
|
-
var(--progress-bar-expressive-line-count)
|
|
161
|
-
)
|
|
162
|
-
-1
|
|
178
|
+
var(--progress-bar-expressive-line-count)
|
|
179
|
+
)
|
|
163
180
|
);
|
|
164
181
|
width: var(--progress-bar-expressive-line-width-b1);
|
|
165
182
|
}
|
|
183
|
+
|
|
166
184
|
.progress-bar-expressive__line:nth-child(6) {
|
|
167
185
|
animation-delay: calc(
|
|
168
|
-
|
|
169
|
-
|
|
186
|
+
-1 *
|
|
187
|
+
(
|
|
188
|
+
var(--progress-bar-expressive-line-scale-duration) - 6 *
|
|
170
189
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
171
|
-
var(--progress-bar-expressive-line-count)
|
|
172
|
-
)
|
|
173
|
-
-1
|
|
190
|
+
var(--progress-bar-expressive-line-count)
|
|
191
|
+
)
|
|
174
192
|
);
|
|
175
193
|
width: var(--progress-bar-expressive-line-width-b2);
|
|
176
194
|
}
|
|
195
|
+
|
|
177
196
|
.progress-bar-expressive__line:nth-child(7) {
|
|
178
197
|
animation-delay: calc(
|
|
179
|
-
|
|
180
|
-
|
|
198
|
+
-1 *
|
|
199
|
+
(
|
|
200
|
+
var(--progress-bar-expressive-line-scale-duration) - 7 *
|
|
181
201
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
182
|
-
var(--progress-bar-expressive-line-count)
|
|
183
|
-
)
|
|
184
|
-
-1
|
|
202
|
+
var(--progress-bar-expressive-line-count)
|
|
203
|
+
)
|
|
185
204
|
);
|
|
186
205
|
width: var(--progress-bar-expressive-line-width-b3);
|
|
187
206
|
}
|
|
207
|
+
|
|
188
208
|
.progress-bar-expressive__line:nth-child(8) {
|
|
189
209
|
animation-delay: calc(
|
|
190
|
-
|
|
191
|
-
|
|
210
|
+
-1 *
|
|
211
|
+
(
|
|
212
|
+
var(--progress-bar-expressive-line-scale-duration) - 8 *
|
|
192
213
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
193
|
-
var(--progress-bar-expressive-line-count)
|
|
194
|
-
)
|
|
195
|
-
-1
|
|
214
|
+
var(--progress-bar-expressive-line-count)
|
|
215
|
+
)
|
|
196
216
|
);
|
|
197
217
|
width: var(--progress-bar-expressive-line-width-b4);
|
|
198
218
|
}
|
|
219
|
+
|
|
199
220
|
.progress-bar-expressive__line:nth-child(9) {
|
|
200
221
|
animation-delay: calc(
|
|
201
|
-
|
|
202
|
-
|
|
222
|
+
-1 *
|
|
223
|
+
(
|
|
224
|
+
var(--progress-bar-expressive-line-scale-duration) - 9 *
|
|
203
225
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
204
|
-
var(--progress-bar-expressive-line-count)
|
|
205
|
-
)
|
|
206
|
-
-1
|
|
226
|
+
var(--progress-bar-expressive-line-count)
|
|
227
|
+
)
|
|
207
228
|
);
|
|
208
229
|
width: var(--progress-bar-expressive-line-width-c1);
|
|
209
230
|
}
|
|
231
|
+
|
|
210
232
|
.progress-bar-expressive__line:nth-child(10) {
|
|
211
233
|
animation-delay: calc(
|
|
212
|
-
|
|
213
|
-
|
|
234
|
+
-1 *
|
|
235
|
+
(
|
|
236
|
+
var(--progress-bar-expressive-line-scale-duration) - 10 *
|
|
214
237
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
215
|
-
var(--progress-bar-expressive-line-count)
|
|
216
|
-
)
|
|
217
|
-
-1
|
|
238
|
+
var(--progress-bar-expressive-line-count)
|
|
239
|
+
)
|
|
218
240
|
);
|
|
219
241
|
width: var(--progress-bar-expressive-line-width-c2);
|
|
220
242
|
}
|
|
243
|
+
|
|
221
244
|
.progress-bar-expressive__line:nth-child(11) {
|
|
222
245
|
animation-delay: calc(
|
|
223
|
-
|
|
224
|
-
|
|
246
|
+
-1 *
|
|
247
|
+
(
|
|
248
|
+
var(--progress-bar-expressive-line-scale-duration) - 11 *
|
|
225
249
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
226
|
-
var(--progress-bar-expressive-line-count)
|
|
227
|
-
)
|
|
228
|
-
-1
|
|
250
|
+
var(--progress-bar-expressive-line-count)
|
|
251
|
+
)
|
|
229
252
|
);
|
|
230
253
|
width: var(--progress-bar-expressive-line-width-c3);
|
|
231
254
|
}
|
|
255
|
+
|
|
232
256
|
.progress-bar-expressive__line:nth-child(12) {
|
|
233
257
|
animation-delay: calc(
|
|
234
|
-
|
|
235
|
-
|
|
258
|
+
-1 *
|
|
259
|
+
(
|
|
260
|
+
var(--progress-bar-expressive-line-scale-duration) - 12 *
|
|
236
261
|
var(--progress-bar-expressive-line-scale-duration) /
|
|
237
|
-
var(--progress-bar-expressive-line-count)
|
|
238
|
-
)
|
|
239
|
-
-1
|
|
262
|
+
var(--progress-bar-expressive-line-count)
|
|
263
|
+
)
|
|
240
264
|
);
|
|
241
265
|
width: var(--progress-bar-expressive-line-width-c4);
|
|
242
266
|
}
|
|
@@ -298,7 +322,7 @@
|
|
|
298
322
|
}
|
|
299
323
|
to {
|
|
300
324
|
opacity: 0;
|
|
301
|
-
transform: translateY(calc(var(--font-size-large-2)
|
|
325
|
+
transform: translateY(calc(-1 * var(--font-size-large-2)));
|
|
302
326
|
}
|
|
303
327
|
}
|
|
304
328
|
@keyframes progress-bar-expressive-message-animatein {
|
|
@@ -343,7 +367,7 @@
|
|
|
343
367
|
@keyframes progress-bar-expressive-reduced-motion-line-scroll {
|
|
344
368
|
0% {
|
|
345
369
|
transform: translateX(
|
|
346
|
-
calc(-200% - var(--progress-bar-expressive-line-gap)
|
|
370
|
+
calc(-200% - 8 * var(--progress-bar-expressive-line-gap))
|
|
347
371
|
);
|
|
348
372
|
}
|
|
349
373
|
to {
|