@ebay/skin 19.3.0 → 19.5.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/alert-dialog/alert-dialog.css +96 -6
- package/dist/bundles/skin-default.css +308 -59
- package/dist/bundles/skin-full.css +308 -59
- package/dist/bundles/skin-headless.css +308 -59
- package/dist/ccd/ccd.css +16 -8
- package/dist/chips-combobox/chips-combobox.css +2 -4
- package/dist/combobox/combobox.css +1 -2
- package/dist/confirm-dialog/confirm-dialog.css +90 -13
- package/dist/date-textbox/date-textbox.css +1 -2
- package/dist/drawer-dialog/drawer-dialog.css +2 -2
- package/dist/file-preview-card/file-preview-card.css +3 -3
- package/dist/filter-input/filter-input.css +55 -0
- package/dist/filter-menu-button/filter-menu-button.css +1 -2
- package/dist/fullscreen-dialog/fullscreen-dialog.css +2 -2
- package/dist/infotip/infotip.css +1 -2
- package/dist/lightbox-dialog/lightbox-dialog.css +84 -19
- package/dist/listbox/listbox.css +1 -2
- package/dist/listbox-button/listbox-button.css +1 -2
- package/dist/menu/menu.css +1 -2
- package/dist/menu-button/menu-button.css +1 -2
- package/dist/mixins/_utility-mixins.scss +1 -1
- package/dist/number-input/number-input.css +48 -0
- package/dist/panel-dialog/panel-dialog.css +2 -2
- package/dist/section-notice/section-notice.css +8 -4
- package/dist/snackbar-dialog/snackbar-dialog.css +2 -2
- package/dist/svg/icon/icon-audio-high-20.svg +7 -0
- package/dist/svg/icon/icon-audio-high-24.svg +7 -0
- package/dist/svg/icon/icon-audio-off-20.svg +7 -0
- package/dist/svg/icon/icon-audio-off-24.svg +7 -0
- package/dist/svg/icon/icon-card-stack-64.svg +7 -0
- package/dist/svg/icon/icon-coupon-16.svg +7 -0
- package/dist/svg/icon/icon-coupon-24.svg +7 -0
- package/dist/svg/icon/icon-discount-16.svg +1 -1
- package/dist/svg/icon/icon-discount-24.svg +1 -1
- package/dist/svg/icon/icon-discount-auto-16.svg +7 -0
- package/dist/svg/icon/icon-discount-auto-24.svg +7 -0
- package/dist/svg/icon/icon-dollar-off-24.svg +7 -0
- package/dist/svg/icon/icon-feedback-error-16.svg +7 -0
- package/dist/svg/icon/icon-feedback-error-24.svg +7 -0
- package/dist/svg/icon/icon-hand-swipe-40.svg +7 -0
- package/dist/svg/icon/icon-package-error-24.svg +7 -0
- package/dist/svg/icon/icon-pause-20.svg +7 -0
- package/dist/svg/icon/icon-pencil-signed-24.svg +7 -0
- package/dist/svg/icon/icon-play-20.svg +5 -0
- package/dist/svg/icon/icon-psa-logo-16.svg +7 -0
- package/dist/svg/icon/icon-psa-logo-color-16-colored.svg +10 -0
- package/dist/svg/icon/icon-psa-vault-16.svg +7 -2
- package/dist/svg/icon/icon-psa-vault-24.svg +12 -0
- package/dist/svg/icon/icon-psa-vault-logo-16.svg +7 -0
- package/dist/svg/icon/icon-psa-vault-logo-color-16-colored.svg +14 -0
- package/dist/svg/icon/icon-refresh-20.svg +7 -0
- package/dist/svg/icon/icon-trading-card-edition-24.svg +7 -0
- package/dist/svg/icons.svg +249 -63
- package/dist/table/table.css +4 -0
- package/dist/textbox/textbox.css +1 -1
- package/dist/toast-dialog/toast-dialog.css +2 -2
- package/dist/tooltip/tooltip.css +1 -2
- package/dist/tourtip/tourtip.css +1 -2
- package/eslint.config.mjs +4 -4
- package/filter-input.browser.json +1 -0
- package/filter-input.css +1 -0
- package/filter-input.js +1 -0
- package/filter-input.mjs +1 -0
- package/index.browser.json +2 -0
- package/index.css +2 -0
- package/index.js +2 -0
- package/index.mjs +83 -81
- package/number-input.browser.json +1 -0
- package/number-input.css +1 -0
- package/number-input.js +1 -0
- package/number-input.mjs +1 -0
- package/package.json +49 -49
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--dialog-scrim-color-hide:
|
|
3
|
-
--dialog-scrim-color-show:
|
|
2
|
+
--dialog-scrim-color-hide: rgb(17, 24, 32, 0);
|
|
3
|
+
--dialog-scrim-color-show: rgb(17, 24, 32, 0.7);
|
|
4
4
|
--dialog-lightbox-max-width: 616px;
|
|
5
5
|
}
|
|
6
6
|
.confirm-dialog[role="dialog"] {
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
--dialog-window-background-color,
|
|
27
27
|
var(--color-background-primary)
|
|
28
28
|
);
|
|
29
|
-
border-radius: var(--lightbox-border-radius, var(--border-radius-
|
|
29
|
+
border-radius: var(--lightbox-border-radius, var(--border-radius-100));
|
|
30
30
|
display: flex;
|
|
31
31
|
flex: 1 0 auto;
|
|
32
32
|
flex-direction: column;
|
|
33
|
-
margin: auto
|
|
33
|
+
margin: auto;
|
|
34
34
|
margin-left: var(--spacing-200);
|
|
35
35
|
margin-right: var(--spacing-200);
|
|
36
36
|
max-height: 90%;
|
|
@@ -67,18 +67,41 @@ a.confirm-dialog__confirm,
|
|
|
67
67
|
button.confirm-dialog__confirm {
|
|
68
68
|
margin-left: var(--spacing-100);
|
|
69
69
|
}
|
|
70
|
-
|
|
71
70
|
.confirm-dialog--hide.confirm-dialog--mask-fade,
|
|
72
|
-
.confirm-dialog--
|
|
73
|
-
transition: background-color
|
|
71
|
+
.confirm-dialog--hide.confirm-dialog--mask-fade-slow {
|
|
72
|
+
transition: background-color var(--motion-duration-short-3)
|
|
73
|
+
var(--motion-easing-continuous);
|
|
74
74
|
}
|
|
75
|
-
.confirm-dialog--hide.confirm-
|
|
75
|
+
.confirm-dialog--hide .confirm-dialog__window--fade {
|
|
76
|
+
transition: opacity var(--motion-duration-short-3)
|
|
77
|
+
var(--motion-easing-continuous);
|
|
78
|
+
}
|
|
79
|
+
.confirm-dialog--hide .confirm-dialog__window--animate {
|
|
80
|
+
transition:
|
|
81
|
+
transform var(--motion-duration-medium-3) var(--motion-easing-soft-exit),
|
|
82
|
+
opacity var(--motion-duration-short-3) var(--motion-easing-continuous);
|
|
83
|
+
}
|
|
84
|
+
.confirm-dialog--hide .confirm-dialog__window--animate > * {
|
|
85
|
+
transition: opacity var(--motion-duration-short-2)
|
|
86
|
+
var(--motion-easing-continuous);
|
|
87
|
+
}
|
|
88
|
+
.confirm-dialog--show.confirm-dialog--mask-fade,
|
|
76
89
|
.confirm-dialog--show.confirm-dialog--mask-fade-slow {
|
|
77
|
-
transition: background-color
|
|
90
|
+
transition: background-color var(--motion-duration-short-3)
|
|
91
|
+
var(--motion-easing-continuous);
|
|
78
92
|
}
|
|
79
|
-
.confirm-dialog--hide .confirm-dialog__window--fade,
|
|
80
93
|
.confirm-dialog--show .confirm-dialog__window--fade {
|
|
81
|
-
transition: opacity
|
|
94
|
+
transition: opacity var(--motion-duration-short-3)
|
|
95
|
+
var(--motion-easing-continuous);
|
|
96
|
+
}
|
|
97
|
+
.confirm-dialog--show .confirm-dialog__window--animate {
|
|
98
|
+
transition:
|
|
99
|
+
transform var(--motion-duration-medium-3) var(--motion-easing-standard),
|
|
100
|
+
opacity var(--motion-duration-short-3) var(--motion-easing-continuous);
|
|
101
|
+
}
|
|
102
|
+
.confirm-dialog--show .confirm-dialog__window--animate > * {
|
|
103
|
+
transition: opacity var(--motion-duration-medium-2)
|
|
104
|
+
var(--motion-easing-continuous) var(--motion-duration-short-3);
|
|
82
105
|
}
|
|
83
106
|
|
|
84
107
|
.confirm-dialog--hide.confirm-dialog--hide,
|
|
@@ -93,7 +116,11 @@ button.confirm-dialog__confirm {
|
|
|
93
116
|
.confirm-dialog--show-init.confirm-dialog--mask-fade-slow {
|
|
94
117
|
background-color: var(--dialog-scrim-color-hide);
|
|
95
118
|
}
|
|
119
|
+
.confirm-dialog--hide .confirm-dialog__window--animate,
|
|
120
|
+
.confirm-dialog--hide .confirm-dialog__window--animate > *,
|
|
96
121
|
.confirm-dialog--hide .confirm-dialog__window--fade,
|
|
122
|
+
.confirm-dialog--show-init .confirm-dialog__window--animate,
|
|
123
|
+
.confirm-dialog--show-init .confirm-dialog__window--animate > *,
|
|
97
124
|
.confirm-dialog--show-init .confirm-dialog__window--fade {
|
|
98
125
|
opacity: 0;
|
|
99
126
|
}
|
|
@@ -110,15 +137,65 @@ button.confirm-dialog__confirm {
|
|
|
110
137
|
.confirm-dialog--show.confirm-dialog--mask-fade-slow {
|
|
111
138
|
background-color: var(--dialog-scrim-color-show);
|
|
112
139
|
}
|
|
140
|
+
.confirm-dialog--hide-init .confirm-dialog__window--animate,
|
|
141
|
+
.confirm-dialog--hide-init .confirm-dialog__window--animate > *,
|
|
113
142
|
.confirm-dialog--hide-init .confirm-dialog__window--fade,
|
|
143
|
+
.confirm-dialog--show .confirm-dialog__window--animate,
|
|
144
|
+
.confirm-dialog--show .confirm-dialog__window--animate > *,
|
|
114
145
|
.confirm-dialog--show .confirm-dialog__window--fade {
|
|
115
146
|
opacity: 1;
|
|
116
147
|
}
|
|
117
148
|
|
|
149
|
+
@media (prefers-reduced-motion) {
|
|
150
|
+
.confirm-dialog--hide.confirm-dialog--mask-fade,
|
|
151
|
+
.confirm-dialog--hide.confirm-dialog--mask-fade-slow {
|
|
152
|
+
transition: background-color var(--motion-duration-short-3)
|
|
153
|
+
var(--motion-easing-soft-exit);
|
|
154
|
+
}
|
|
155
|
+
.confirm-dialog--hide .confirm-dialog__window--animate,
|
|
156
|
+
.confirm-dialog--hide .confirm-dialog__window--fade {
|
|
157
|
+
transition: opacity var(--motion-duration-short-3)
|
|
158
|
+
var(--motion-easing-soft-exit);
|
|
159
|
+
}
|
|
160
|
+
.confirm-dialog--hide .confirm-dialog__window--animate > * {
|
|
161
|
+
transition: opacity var(--motion-duration-short-2)
|
|
162
|
+
var(--motion-soft-exit);
|
|
163
|
+
}
|
|
164
|
+
.confirm-dialog--show.confirm-dialog--mask-fade,
|
|
165
|
+
.confirm-dialog--show.confirm-dialog--mask-fade-slow {
|
|
166
|
+
transition: background-color var(--motion-duration-medium-2)
|
|
167
|
+
var(--motion-easing-soft-enter);
|
|
168
|
+
}
|
|
169
|
+
.confirm-dialog--show .confirm-dialog__window--animate,
|
|
170
|
+
.confirm-dialog--show .confirm-dialog__window--fade {
|
|
171
|
+
transition: opacity var(--motion-duration-medium-2)
|
|
172
|
+
var(--motion-easing-soft-enter);
|
|
173
|
+
}
|
|
174
|
+
.confirm-dialog--show .confirm-dialog__window--animate > * {
|
|
175
|
+
transition: opacity var(--motion-duration-medium-2)
|
|
176
|
+
var(--motion-easing-soft-enter) var(--motion-duration-short-3);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
.confirm-dialog--hide-init .confirm-dialog__window--animate,
|
|
180
|
+
.confirm-dialog--show .confirm-dialog__window--animate {
|
|
181
|
+
transform: scale(1);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.confirm-dialog--hide .confirm-dialog__window--animate,
|
|
185
|
+
.confirm-dialog--show-init .confirm-dialog__window--animate {
|
|
186
|
+
transform: scale(0.75);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media (prefers-reduced-motion) {
|
|
190
|
+
.confirm-dialog--hide .confirm-dialog__window--animate,
|
|
191
|
+
.confirm-dialog--hide-init .confirm-dialog__window--animate,
|
|
192
|
+
.confirm-dialog--show .confirm-dialog__window--animate,
|
|
193
|
+
.confirm-dialog--show-init .confirm-dialog__window--animate {
|
|
194
|
+
transform: scale(1);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
118
197
|
@media (min-width: 768px) {
|
|
119
198
|
.confirm-dialog__window {
|
|
120
|
-
border-radius: var(--lightbox-border-radius, var(--border-radius-100));
|
|
121
|
-
margin: auto;
|
|
122
199
|
max-width: calc(88% - var(--spacing-400));
|
|
123
200
|
}
|
|
124
201
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! DEPRECATED COMPONENT. Will be removed next major version */
|
|
2
2
|
:root {
|
|
3
|
-
--dialog-scrim-color-hide:
|
|
4
|
-
--dialog-scrim-color-show:
|
|
3
|
+
--dialog-scrim-color-hide: rgb(17, 24, 32, 0);
|
|
4
|
+
--dialog-scrim-color-show: rgb(17, 24, 32, 0.7);
|
|
5
5
|
--dialog-lightbox-max-width: 616px;
|
|
6
6
|
}
|
|
7
7
|
.drawer-dialog[role="dialog"] {
|
|
@@ -100,7 +100,7 @@ video.file-preview-card__asset {
|
|
|
100
100
|
|
|
101
101
|
.file-preview-card__see-more {
|
|
102
102
|
aspect-ratio: 1/1;
|
|
103
|
-
background-color:
|
|
103
|
+
background-color: rgb(
|
|
104
104
|
var(
|
|
105
105
|
--file-preview-card-see-more-background-color-rgb,
|
|
106
106
|
var(--color-background-strong-rgb)
|
|
@@ -136,7 +136,7 @@ video.file-preview-card__asset {
|
|
|
136
136
|
|
|
137
137
|
.file-preview-card__see-more:focus-visible,
|
|
138
138
|
.file-preview-card__see-more:hover {
|
|
139
|
-
background-color:
|
|
139
|
+
background-color: rgb(
|
|
140
140
|
var(
|
|
141
141
|
--file-preview-card-see-more-interactive-background-color-rgb,
|
|
142
142
|
var(--color-state-secondary-hover-rgb)
|
|
@@ -146,7 +146,7 @@ video.file-preview-card__asset {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.file-preview-card__see-more:active {
|
|
149
|
-
background-color:
|
|
149
|
+
background-color: rgb(
|
|
150
150
|
var(
|
|
151
151
|
--file-preview-card-see-more-interactive-active-background-color-rgb,
|
|
152
152
|
var(--color-state-secondary-active-rgb)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.filter-input {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.filter-input__clear-btn {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.filter-input .textbox {
|
|
11
|
+
border-radius: var(--border-radius-150);
|
|
12
|
+
max-width: 480px;
|
|
13
|
+
min-width: 200px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.filter-input .textbox__control {
|
|
17
|
+
height: 40px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.filter-input
|
|
21
|
+
.textbox__control:not(:placeholder-shown)
|
|
22
|
+
~ .filter-input__clear-btn {
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.filter-input .textbox__control::-webkit-search-cancel-button {
|
|
27
|
+
-webkit-appearance: none;
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.filter-input .textbox button.icon-btn.icon-btn--transparent.icon-btn--small {
|
|
32
|
+
min-width: 32px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.filter-input .textbox .icon-btn:last-child {
|
|
36
|
+
flex-shrink: 0;
|
|
37
|
+
margin-inline-end: var(--spacing-50);
|
|
38
|
+
margin-inline-start: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.filter-input--small .textbox .icon-btn:last-child {
|
|
42
|
+
margin-inline-end: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.filter-input--large .textbox .icon-btn:last-child {
|
|
46
|
+
margin-inline-end: var(--spacing-100);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.filter-input--small .textbox__control {
|
|
50
|
+
height: 32px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.filter-input--large .textbox__control {
|
|
54
|
+
height: 48px;
|
|
55
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! DEPRECATED COMPONENT. Will be removed next major version */
|
|
2
2
|
:root {
|
|
3
|
-
--dialog-scrim-color-hide:
|
|
4
|
-
--dialog-scrim-color-show:
|
|
3
|
+
--dialog-scrim-color-hide: rgb(17, 24, 32, 0);
|
|
4
|
+
--dialog-scrim-color-show: rgb(17, 24, 32, 0.7);
|
|
5
5
|
--dialog-lightbox-max-width: 616px;
|
|
6
6
|
}
|
|
7
7
|
.fullscreen-dialog[role="dialog"] {
|
package/dist/infotip/infotip.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--dialog-scrim-color-hide:
|
|
3
|
-
--dialog-scrim-color-show:
|
|
2
|
+
--dialog-scrim-color-hide: rgb(17, 24, 32, 0);
|
|
3
|
+
--dialog-scrim-color-show: rgb(17, 24, 32, 0.7);
|
|
4
4
|
--dialog-lightbox-max-width: 616px;
|
|
5
5
|
--dialog-lightbox-wide-max-width: 896px;
|
|
6
6
|
--dialog-lightbox-narrow-max-width: 480px;
|
|
@@ -148,24 +148,41 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
148
148
|
.lightbox-dialog__title--center {
|
|
149
149
|
text-align: center;
|
|
150
150
|
}
|
|
151
|
-
|
|
152
151
|
.lightbox-dialog--hide.lightbox-dialog--mask-fade,
|
|
153
|
-
.lightbox-dialog--
|
|
154
|
-
transition: background-color
|
|
152
|
+
.lightbox-dialog--hide.lightbox-dialog--mask-fade-slow {
|
|
153
|
+
transition: background-color var(--motion-duration-short-3)
|
|
154
|
+
var(--motion-easing-continuous);
|
|
155
155
|
}
|
|
156
|
-
.lightbox-dialog--hide.lightbox-
|
|
156
|
+
.lightbox-dialog--hide .lightbox-dialog__window--fade {
|
|
157
|
+
transition: opacity var(--motion-duration-short-3)
|
|
158
|
+
var(--motion-easing-continuous);
|
|
159
|
+
}
|
|
160
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate {
|
|
161
|
+
transition:
|
|
162
|
+
transform var(--motion-duration-medium-3) var(--motion-easing-soft-exit),
|
|
163
|
+
opacity var(--motion-duration-short-3) var(--motion-easing-continuous);
|
|
164
|
+
}
|
|
165
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate > * {
|
|
166
|
+
transition: opacity var(--motion-duration-short-2)
|
|
167
|
+
var(--motion-easing-continuous);
|
|
168
|
+
}
|
|
169
|
+
.lightbox-dialog--show.lightbox-dialog--mask-fade,
|
|
157
170
|
.lightbox-dialog--show.lightbox-dialog--mask-fade-slow {
|
|
158
|
-
transition: background-color
|
|
171
|
+
transition: background-color var(--motion-duration-short-3)
|
|
172
|
+
var(--motion-easing-continuous);
|
|
159
173
|
}
|
|
160
|
-
.lightbox-dialog--hide .lightbox-dialog__window--fade,
|
|
161
174
|
.lightbox-dialog--show .lightbox-dialog__window--fade {
|
|
162
|
-
transition: opacity
|
|
175
|
+
transition: opacity var(--motion-duration-short-3)
|
|
176
|
+
var(--motion-easing-continuous);
|
|
163
177
|
}
|
|
164
|
-
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
165
178
|
.lightbox-dialog--show .lightbox-dialog__window--animate {
|
|
166
179
|
transition:
|
|
167
|
-
|
|
168
|
-
|
|
180
|
+
transform var(--motion-duration-medium-3) var(--motion-easing-standard),
|
|
181
|
+
opacity var(--motion-duration-short-3) var(--motion-easing-continuous);
|
|
182
|
+
}
|
|
183
|
+
.lightbox-dialog--show .lightbox-dialog__window--animate > * {
|
|
184
|
+
transition: opacity var(--motion-duration-medium-2)
|
|
185
|
+
var(--motion-easing-continuous) var(--motion-duration-short-3);
|
|
169
186
|
}
|
|
170
187
|
|
|
171
188
|
.lightbox-dialog--hide.lightbox-dialog--hide,
|
|
@@ -180,15 +197,14 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
180
197
|
.lightbox-dialog--show-init.lightbox-dialog--mask-fade-slow {
|
|
181
198
|
background-color: var(--dialog-scrim-color-hide);
|
|
182
199
|
}
|
|
200
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
201
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate > *,
|
|
183
202
|
.lightbox-dialog--hide .lightbox-dialog__window--fade,
|
|
203
|
+
.lightbox-dialog--show-init .lightbox-dialog__window--animate,
|
|
204
|
+
.lightbox-dialog--show-init .lightbox-dialog__window--animate > *,
|
|
184
205
|
.lightbox-dialog--show-init .lightbox-dialog__window--fade {
|
|
185
206
|
opacity: 0;
|
|
186
207
|
}
|
|
187
|
-
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
188
|
-
.lightbox-dialog--show-init .lightbox-dialog__window--animate {
|
|
189
|
-
opacity: 0;
|
|
190
|
-
transform: translateY(100%);
|
|
191
|
-
}
|
|
192
208
|
|
|
193
209
|
.lightbox-dialog--hide-init.lightbox-dialog--hide-init,
|
|
194
210
|
.lightbox-dialog--hide-init.lightbox-dialog--show,
|
|
@@ -202,15 +218,54 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
202
218
|
.lightbox-dialog--show.lightbox-dialog--mask-fade-slow {
|
|
203
219
|
background-color: var(--dialog-scrim-color-show);
|
|
204
220
|
}
|
|
221
|
+
.lightbox-dialog--hide-init .lightbox-dialog__window--animate,
|
|
222
|
+
.lightbox-dialog--hide-init .lightbox-dialog__window--animate > *,
|
|
205
223
|
.lightbox-dialog--hide-init .lightbox-dialog__window--fade,
|
|
224
|
+
.lightbox-dialog--show .lightbox-dialog__window--animate,
|
|
225
|
+
.lightbox-dialog--show .lightbox-dialog__window--animate > *,
|
|
206
226
|
.lightbox-dialog--show .lightbox-dialog__window--fade {
|
|
207
227
|
opacity: 1;
|
|
208
228
|
}
|
|
229
|
+
|
|
230
|
+
@media (prefers-reduced-motion) {
|
|
231
|
+
.lightbox-dialog--hide.lightbox-dialog--mask-fade,
|
|
232
|
+
.lightbox-dialog--hide.lightbox-dialog--mask-fade-slow {
|
|
233
|
+
transition: background-color var(--motion-duration-short-3)
|
|
234
|
+
var(--motion-easing-soft-exit);
|
|
235
|
+
}
|
|
236
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
237
|
+
.lightbox-dialog--hide .lightbox-dialog__window--fade {
|
|
238
|
+
transition: opacity var(--motion-duration-short-3)
|
|
239
|
+
var(--motion-easing-soft-exit);
|
|
240
|
+
}
|
|
241
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate > * {
|
|
242
|
+
transition: opacity var(--motion-duration-short-2)
|
|
243
|
+
var(--motion-soft-exit);
|
|
244
|
+
}
|
|
245
|
+
.lightbox-dialog--show.lightbox-dialog--mask-fade,
|
|
246
|
+
.lightbox-dialog--show.lightbox-dialog--mask-fade-slow {
|
|
247
|
+
transition: background-color var(--motion-duration-medium-2)
|
|
248
|
+
var(--motion-easing-soft-enter);
|
|
249
|
+
}
|
|
250
|
+
.lightbox-dialog--show .lightbox-dialog__window--animate,
|
|
251
|
+
.lightbox-dialog--show .lightbox-dialog__window--fade {
|
|
252
|
+
transition: opacity var(--motion-duration-medium-2)
|
|
253
|
+
var(--motion-easing-soft-enter);
|
|
254
|
+
}
|
|
255
|
+
.lightbox-dialog--show .lightbox-dialog__window--animate > * {
|
|
256
|
+
transition: opacity var(--motion-duration-medium-2)
|
|
257
|
+
var(--motion-easing-soft-enter) var(--motion-duration-short-3);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
209
260
|
.lightbox-dialog--hide-init .lightbox-dialog__window--animate,
|
|
210
261
|
.lightbox-dialog--show .lightbox-dialog__window--animate {
|
|
211
|
-
opacity: 1;
|
|
212
262
|
transform: translateY(0);
|
|
213
263
|
}
|
|
264
|
+
|
|
265
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
266
|
+
.lightbox-dialog--show-init .lightbox-dialog__window--animate {
|
|
267
|
+
transform: translateY(100%);
|
|
268
|
+
}
|
|
214
269
|
.lightbox-dialog__handle:after {
|
|
215
270
|
background-color: var(--dialog-handle-color, var(--color-stroke-default));
|
|
216
271
|
border-radius: 3px;
|
|
@@ -264,11 +319,21 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
264
319
|
margin-left: var(--spacing-100);
|
|
265
320
|
margin-top: 0;
|
|
266
321
|
}
|
|
322
|
+
.lightbox-dialog--hide-init .lightbox-dialog__window--animate,
|
|
323
|
+
.lightbox-dialog--show .lightbox-dialog__window--animate {
|
|
324
|
+
transform: scale(1);
|
|
325
|
+
}
|
|
326
|
+
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
327
|
+
.lightbox-dialog--show-init .lightbox-dialog__window--animate {
|
|
328
|
+
transform: scale(0.75);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
@media (min-width: 512px) and (prefers-reduced-motion) {
|
|
267
332
|
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
268
333
|
.lightbox-dialog--hide-init .lightbox-dialog__window--animate,
|
|
269
334
|
.lightbox-dialog--show .lightbox-dialog__window--animate,
|
|
270
335
|
.lightbox-dialog--show-init .lightbox-dialog__window--animate {
|
|
271
|
-
transform:
|
|
336
|
+
transform: scale(1);
|
|
272
337
|
}
|
|
273
338
|
}
|
|
274
339
|
@media (min-width: 768px) {
|
package/dist/listbox/listbox.css
CHANGED
package/dist/menu/menu.css
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.number-input .textbox {
|
|
2
|
+
background: transparent;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.number-input label:first-child {
|
|
6
|
+
flex-grow: 1;
|
|
7
|
+
padding-left: var(--spacing-200);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.number-input label:first-child ~ input.textbox__control {
|
|
11
|
+
flex-grow: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.icon-btn.number-input__delete {
|
|
15
|
+
display: none;
|
|
16
|
+
margin-inline-end: calc(var(--spacing-100) * -1);
|
|
17
|
+
order: -1;
|
|
18
|
+
padding-inline-start: var(--spacing-200);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.number-input--show-delete .number-input__delete {
|
|
22
|
+
display: block;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.number-input--show-delete .number-input__decrement {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.number-input .textbox .textbox__control {
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
text-align: center;
|
|
32
|
+
width: 48px;
|
|
33
|
+
}
|
|
34
|
+
.number-input .textbox .textbox__control::-webkit-inner-spin-button,
|
|
35
|
+
.number-input .textbox .textbox__control::-webkit-outer-spin-button {
|
|
36
|
+
-webkit-appearance: none;
|
|
37
|
+
margin: 0;
|
|
38
|
+
}
|
|
39
|
+
.number-input .textbox .textbox__control[type="number"] {
|
|
40
|
+
-moz-appearance: textfield;
|
|
41
|
+
-webkit-appearance: textfield;
|
|
42
|
+
appearance: textfield;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.number-input .textbox .icon-btn:not(:disabled) svg {
|
|
46
|
+
color: var(--color-foreground-primary);
|
|
47
|
+
fill: currentColor;
|
|
48
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--dialog-scrim-color-hide:
|
|
3
|
-
--dialog-scrim-color-show:
|
|
2
|
+
--dialog-scrim-color-hide: rgb(17, 24, 32, 0);
|
|
3
|
+
--dialog-scrim-color-show: rgb(17, 24, 32, 0.7);
|
|
4
4
|
--dialog-lightbox-max-width: 616px;
|
|
5
5
|
}
|
|
6
6
|
.panel-dialog[role="dialog"] {
|
|
@@ -81,7 +81,8 @@ span[role="region"].section-notice {
|
|
|
81
81
|
margin-inline-end: var(--spacing-200);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.section-notice__header + .section-notice__main
|
|
84
|
+
.section-notice__header + .section-notice__main,
|
|
85
|
+
.section-notice__header ~ .section-notice__cta {
|
|
85
86
|
grid-column: 2;
|
|
86
87
|
}
|
|
87
88
|
|
|
@@ -98,10 +99,10 @@ span[role="region"].section-notice {
|
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
p.section-notice__cta {
|
|
101
|
-
grid-column:
|
|
102
|
+
grid-column: 1 / 3;
|
|
102
103
|
grid-row: 2;
|
|
103
104
|
justify-self: flex-start;
|
|
104
|
-
margin-
|
|
105
|
+
margin-bottom: 0;
|
|
105
106
|
margin-top: var(--spacing-200);
|
|
106
107
|
}
|
|
107
108
|
.section-notice__main .section-notice__title ~ p {
|
|
@@ -116,10 +117,13 @@ p.section-notice__cta {
|
|
|
116
117
|
grid-column: 4;
|
|
117
118
|
grid-row: 1;
|
|
118
119
|
justify-self: flex-end;
|
|
119
|
-
margin-
|
|
120
|
+
margin-right: var(--spacing-200);
|
|
120
121
|
margin-top: 0;
|
|
121
122
|
padding-right: var(--spacing-200);
|
|
122
123
|
}
|
|
124
|
+
.section-notice__header ~ .section-notice__cta {
|
|
125
|
+
grid-column: 4;
|
|
126
|
+
}
|
|
123
127
|
.section-notice__footer {
|
|
124
128
|
padding-left: var(--spacing-200);
|
|
125
129
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--dialog-scrim-color-hide:
|
|
3
|
-
--dialog-scrim-color-show:
|
|
2
|
+
--dialog-scrim-color-hide: rgb(17, 24, 32, 0);
|
|
3
|
+
--dialog-scrim-color-show: rgb(17, 24, 32, 0.7);
|
|
4
4
|
--dialog-lightbox-max-width: 616px;
|
|
5
5
|
}
|
|
6
6
|
.snackbar-dialog {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M12.073 2.206a1 1 0 0 1 1.302-.552 9.003 9.003 0 0 1 0 16.691 1 1 0 0 1-.75-1.854 7.002 7.002 0 0 0 0-12.983 1 1 0 0 1-.552-1.302Zm.177 10.962c0 .395.408.65.725.416 1.083-.8 1.775-2.123 1.775-3.585 0-1.461-.692-2.785-1.775-3.585-.317-.234-.725.021-.725.416v6.339ZM13.084 10v.045-.09V10Zm-8.86-2.24L8 5.332v9.337l-3.777-2.428a2.663 2.663 0 0 1 0-4.48ZM10 3.72a1.12 1.12 0 0 0-1.726-.942l-5.132 3.3a4.663 4.663 0 0 0 0 7.845l5.132 3.3A1.12 1.12 0 0 0 10 16.28V3.72Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M15.063 2.65a1 1 0 0 1 1.287-.587C20.254 3.52 23 7.465 23 12c0 4.535-2.746 8.48-6.65 9.937a1 1 0 0 1-.7-1.874C18.737 18.912 21 15.738 21 12c0-3.738-2.263-6.911-5.35-8.063a1 1 0 0 1-.587-1.286ZM15 15.804c0 .474.49.78.87.499C17.17 15.342 18 13.754 18 12c0-1.753-.831-3.342-2.13-4.301-.38-.282-.87.025-.87.498v7.606ZM4.655 9.05 10 5.783v12.434l-5.345-3.266a3.458 3.458 0 0 1 0-5.901ZM12 4.258c0-.894-.979-1.443-1.741-.977L3.612 7.343a5.458 5.458 0 0 0 0 9.314l6.647 4.062A1.144 1.144 0 0 0 12 19.743V4.258Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M1.746 1.884a1 1 0 0 1 1.41-.097l2.856 2.486L8.274 2.82A1.12 1.12 0 0 1 10 3.76v3.986l2.25 1.96V6.87c0-.394.408-.65.725-.415 1.083.8 1.775 2.123 1.775 3.585 0 .559-.101 1.098-.287 1.595l1.79 1.558a7.003 7.003 0 0 0-3.627-9.644 1 1 0 1 1 .75-1.854 9.003 9.003 0 0 1 4.421 12.843l.86.749a1 1 0 0 1-1.314 1.508l-15.5-13.5a1 1 0 0 1-.097-1.41Zm13.073 14.621a1 1 0 0 1-.375 1.364c-.343.195-.7.368-1.069.517a1 1 0 0 1-.75-1.854c.286-.116.564-.25.83-.402a1 1 0 0 1 1.364.375ZM2.275 6.836a1 1 0 1 1 1.453 1.375 2.663 2.663 0 0 0 .495 4.07L8 14.71V12.8a1 1 0 0 1 2 0v3.522a1.12 1.12 0 0 1-1.726.942l-5.132-3.3a4.663 4.663 0 0 1-.867-7.127Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M16.35 2.063a1 1 0 0 0-.7 1.874C18.737 5.09 21 8.262 21 12c0 1.462-.347 2.84-.956 4.046l-2.423-2.04c.245-.622.379-1.3.379-2.006 0-1.753-.831-3.342-2.13-4.301-.38-.282-.87.025-.87.498V11.8l-3-2.527V4.257c0-.893-.978-1.442-1.74-.976l.518.85-.519-.85-3.114 1.903-3.5-2.949a1 1 0 0 0-1.29 1.53l19 16a1 1 0 1 0 1.29-1.53l-1.037-.872A10.942 10.942 0 0 0 23 12c0-4.535-2.746-8.48-6.65-9.937ZM4.248 8.001a1 1 0 0 1-.085 1.412 3.458 3.458 0 0 0 .492 5.537L10 18.217V15a1 1 0 1 1 2 0v4.742c0 .894-.979 1.443-1.741.977l-6.647-4.063a5.458 5.458 0 0 1-.775-8.74 1 1 0 0 1 1.411.085Zm14.104 11.744a1 1 0 0 1-.329 1.375 9.642 9.642 0 0 1-1.673.818 1 1 0 0 1-.7-1.874 7.64 7.64 0 0 0 1.327-.648 1 1 0 0 1 1.375.329Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="m41.832 15.44-2.005-7a7.5 7.5 0 0 0-9.275-5.146L8.437 9.626A7.5 7.5 0 0 0 3.292 18.9l7.71 26.918a7.503 7.503 0 0 0 6.351 5.388 7.47 7.47 0 0 0 4.255 3.17l22.114 6.334a7.5 7.5 0 0 0 9.276-5.146l7.71-26.918a7.5 7.5 0 0 0-5.145-9.274l-13.73-3.932Zm-5.666-1.622L35.02 9.816A2.5 2.5 0 0 0 31.928 8.1L9.814 14.433a2.5 2.5 0 0 0-1.715 3.091l7.709 26.918c.111.389.308.729.565 1.007a7.81 7.81 0 0 1 .09-.346l7.71-26.918a7.5 7.5 0 0 1 9.275-5.145l2.718.778Zm-7.186 5.744a2.5 2.5 0 0 1 3.091-1.715l22.115 6.332a2.5 2.5 0 0 1 1.715 3.092l-7.71 26.918a2.5 2.5 0 0 1-3.092 1.715L22.985 49.57a2.5 2.5 0 0 1-1.715-3.091l7.71-26.918Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M2.5 2A2.5 2.5 0 0 0 0 4.5V6a1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1v1.5A2.5 2.5 0 0 0 2.5 14h11a2.5 2.5 0 0 0 2.5-2.5V10a1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1V4.5A2.5 2.5 0 0 0 13.5 2h-11ZM6 4v.5a1 1 0 0 0 2 0V4h5.5a.5.5 0 0 1 .5.5v.67a3.001 3.001 0 0 0 0 5.66v.67a.5.5 0 0 1-.5.5H8.052l.023-.454a1 1 0 1 0-1.998-.101L6.05 12H2.5a.5.5 0 0 1-.5-.5v-.67a3.001 3.001 0 0 0 0-5.66V4.5a.5.5 0 0 1 .5-.5H6Zm1 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path
|
|
3
|
+
fill-rule="evenodd"
|
|
4
|
+
clip-rule="evenodd"
|
|
5
|
+
d="M4 4a3 3 0 0 0-3 3v1.9c0 .618.497 1.082 1.067 1.101a2 2 0 0 1 0 3.998A1.103 1.103 0 0 0 1 15.1V17a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3v-1.9c0-.618-.497-1.082-1.067-1.101a2 2 0 0 1 0-3.998A1.103 1.103 0 0 0 23 8.9V7a3 3 0 0 0-3-3H4Zm7 13v1h9a1 1 0 0 0 1-1v-1.126a4.001 4.001 0 0 1 0-7.748V7a1 1 0 0 0-1-1h-9v1a1 1 0 1 1-2 0V6H4a1 1 0 0 0-1 1v1.126a4.001 4.001 0 0 1 0 7.748V17a1 1 0 0 0 1 1h5v-1a1 1 0 1 1 2 0Zm0-6a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|