@ebay/skin 17.2.0-next.0 → 17.3.0-next.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/.changeset/clever-trees-trade.md +5 -0
- package/.changeset/fresh-suits-fold.md +5 -0
- package/.changeset/grumpy-emus-jump.md +5 -0
- package/.changeset/loud-zebras-fail.md +5 -0
- package/.changeset/pre.json +9 -9
- package/.changeset/strange-forks-flow.md +5 -0
- package/.changeset/strong-schools-tap.md +5 -0
- package/.changeset/strong-toys-behave.md +5 -0
- package/.changeset/tough-cougars-poke.md +5 -0
- package/.github/workflows/jekyll-gh-pages.yml +3 -4
- package/CHANGELOG.md +40 -0
- package/_cdn/skin/v17.3.0-next.0/skin-default.min.css +69 -0
- package/_cdn/skin/v17.3.0-next.0/skin-full.min.css +151 -0
- package/_cdn/skin/v17.3.0-next.0/skin-headless.min.css +6 -0
- package/dist/button/button.css +6 -6
- package/dist/combobox/combobox.css +5 -2
- package/dist/date-textbox/date-textbox.css +3 -2
- package/dist/education-notice/education-notice.css +61 -0
- package/dist/filter-menu-button/filter-menu-button.css +3 -2
- package/dist/infotip/infotip.css +3 -2
- package/dist/listbox/listbox.css +4 -1
- package/dist/listbox-button/listbox-button.css +10 -7
- package/dist/menu/menu.css +4 -1
- package/dist/menu-button/menu-button.css +7 -2
- package/dist/progress-bar-expressive/progress-bar-expressive.css +277 -0
- package/dist/toggle-button-group/toggle-button-group.css +1 -1
- package/dist/tooltip/tooltip.css +3 -2
- package/dist/tourtip/tourtip.css +3 -2
- package/education-notice.browser.json +1 -0
- package/education-notice.css +1 -0
- package/education-notice.js +1 -0
- package/education-notice.mjs +1 -0
- package/index.browser.json +2 -0
- package/index.css +2 -0
- package/index.js +2 -0
- package/index.mjs +2 -0
- package/package.json +31 -32
- package/progress-bar-expressive.browser.json +1 -0
- package/progress-bar-expressive.css +1 -0
- package/progress-bar-expressive.js +1 -0
- package/progress-bar-expressive.mjs +1 -0
- package/src/less/bundles/skin-headless.less +2 -0
- package/src/less/button/button.less +3 -0
- package/src/less/carousel/stories/carousel.stories.js +44 -44
- package/src/less/date-textbox/date-textbox.less +1 -1
- package/src/less/education-notice/education-notice.less +74 -0
- package/src/less/education-notice/stories/base.stories.js +152 -0
- package/src/less/filter-menu-button/filter-menu-button.less +1 -1
- package/src/less/listbox-button/listbox-button.less +3 -2
- package/src/less/mixins/private/bubble-mixins.less +7 -3
- package/src/less/mixins/private/dropdown-mixins.less +1 -1
- package/src/less/mixins/private/selection-list-mixins.less +2 -0
- package/src/less/pagination/stories/overflow.stories.js +12 -12
- package/src/less/progress-bar-expressive/progress-bar-expressive.less +456 -0
- package/src/less/progress-bar-expressive/stories/progress-bar-expressive.stories.js +117 -0
- package/src/less/section-notice/section-notice.less +1 -0
- package/src/less/toggle-button-group/stories/gallery-layout.stories.js +91 -0
- package/src/less/toggle-button-group/toggle-button-group.less +1 -1
- package/.changeset/chilled-dots-whisper.md +0 -5
- package/.changeset/five-bats-appear.md +0 -5
- package/.changeset/gentle-moles-collect.md +0 -5
- package/.changeset/healthy-kings-hang.md +0 -5
- package/.changeset/pretty-rabbits-smash.md +0 -5
- package/.changeset/slow-maps-guess.md +0 -5
- package/.changeset/stale-lamps-retire.md +0 -5
- package/.changeset/unlucky-files-tickle.md +0 -5
- package/_cdn/skin/v17.2.0-next.0/skin-default.min.css +0 -69
- package/_cdn/skin/v17.2.0-next.0/skin-full.min.css +0 -151
- package/_cdn/skin/v17.2.0-next.0/skin-headless.min.css +0 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
.date-textbox {
|
|
5
6
|
--calendar-month-width: 311px;
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
.date-textbox__popover {
|
|
11
12
|
background-color: var(--calendar-background-color, var(--color-background-elevated));
|
|
12
13
|
border-radius: var(--spacing-200);
|
|
13
|
-
|
|
14
|
+
box-shadow: var(--bubble-shadow);
|
|
14
15
|
margin-left: calc(var(--spacing-100) * -1);
|
|
15
16
|
padding: var(--spacing-200);
|
|
16
17
|
position: absolute;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.education-notice {
|
|
2
|
+
background-color: var(--education-notice-default-background-color, var(--color-background-secondary));
|
|
3
|
+
border-radius: var(--education-notice-border-radius, var(--border-radius-100));
|
|
4
|
+
color: var(--color-foreground-primary);
|
|
5
|
+
font-size: var(--font-size-default);
|
|
6
|
+
padding: var(--spacing-300);
|
|
7
|
+
}
|
|
8
|
+
.education-notice--prominent {
|
|
9
|
+
background-color: var(--education-notice-education-background-color, var(--color-background-education));
|
|
10
|
+
}
|
|
11
|
+
.education-notice__header {
|
|
12
|
+
align-items: center;
|
|
13
|
+
display: flex;
|
|
14
|
+
}
|
|
15
|
+
.education-notice__title {
|
|
16
|
+
flex-grow: 1;
|
|
17
|
+
font-size: var(--font-size-medium);
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
line-height: 1.5em;
|
|
20
|
+
margin: 0;
|
|
21
|
+
-webkit-margin-start: var(--spacing-150);
|
|
22
|
+
margin-inline-start: var(--spacing-150);
|
|
23
|
+
}
|
|
24
|
+
.education-notice__main {
|
|
25
|
+
margin-top: var(--spacing-200);
|
|
26
|
+
}
|
|
27
|
+
.education-notice__dismiss {
|
|
28
|
+
-webkit-margin-start: var(--spacing-150);
|
|
29
|
+
margin-inline-start: var(--spacing-150);
|
|
30
|
+
}
|
|
31
|
+
.education-notice button.icon-btn {
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
}
|
|
34
|
+
.education-notice__header .icon--prominent {
|
|
35
|
+
color: var(--color-foreground-accent);
|
|
36
|
+
}
|
|
37
|
+
.education-notice__footer a {
|
|
38
|
+
color: var(--education-notice-foreground-color, var(--color-foreground-primary));
|
|
39
|
+
font-size: var(--font-size-default);
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
.education-notice__footer button.fake-link {
|
|
44
|
+
font-size: var(--font-size-default);
|
|
45
|
+
font-weight: bold;
|
|
46
|
+
}
|
|
47
|
+
.education-notice__main p {
|
|
48
|
+
font-size: var(--font-size-default);
|
|
49
|
+
margin: 0;
|
|
50
|
+
}
|
|
51
|
+
.education-notice__footer {
|
|
52
|
+
margin-top: var(--spacing-200);
|
|
53
|
+
}
|
|
54
|
+
.education-notice__header button.fake-link,
|
|
55
|
+
.education-notice__header button.fake-link:hover {
|
|
56
|
+
color: var(--education-notice-foreground-color, var(--color-foreground-primary));
|
|
57
|
+
font-size: var(--font-size-default);
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
height: 24px;
|
|
60
|
+
width: 24px;
|
|
61
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
div.filter-group {
|
|
5
6
|
display: flex;
|
|
@@ -98,8 +99,8 @@ button.filter-menu-button__button[aria-pressed="true"][aria-disabled="true"]:hov
|
|
|
98
99
|
background-color: var(--filter-menu-item-background-color, var(--color-background-elevated));
|
|
99
100
|
border: none;
|
|
100
101
|
border-radius: 16px;
|
|
102
|
+
box-shadow: var(--bubble-shadow);
|
|
101
103
|
display: none;
|
|
102
|
-
filter: var(--bubble-filter);
|
|
103
104
|
max-width: 288px;
|
|
104
105
|
min-width: 144px;
|
|
105
106
|
overflow: hidden;
|
package/dist/infotip/infotip.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
.infotip {
|
|
5
6
|
position: relative;
|
|
@@ -9,7 +10,7 @@ span.infotip {
|
|
|
9
10
|
}
|
|
10
11
|
.infotip__overlay {
|
|
11
12
|
border-radius: var(--bubble-border-radius, var(--border-radius-50));
|
|
12
|
-
|
|
13
|
+
box-shadow: var(--bubble-shadow);
|
|
13
14
|
font-size: 14px;
|
|
14
15
|
left: 0;
|
|
15
16
|
max-width: 344px;
|
package/dist/listbox/listbox.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
div.listbox {
|
|
5
6
|
margin: var(--spacing-200) 0;
|
|
@@ -30,6 +31,8 @@ div.listbox__options--reverse[role="listbox"] {
|
|
|
30
31
|
}
|
|
31
32
|
div.listbox__option[role="option"] {
|
|
32
33
|
background-color: transparent;
|
|
34
|
+
border-style: solid;
|
|
35
|
+
border-width: 1px;
|
|
33
36
|
box-sizing: border-box;
|
|
34
37
|
display: inline-grid;
|
|
35
38
|
font-family: inherit;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
.listbox-button {
|
|
5
6
|
line-height: normal;
|
|
@@ -21,9 +22,9 @@ span.listbox-button--fluid .btn {
|
|
|
21
22
|
div.listbox-button__listbox {
|
|
22
23
|
background-color: var(--listbox-button-listbox-background-color, var(--color-background-elevated));
|
|
23
24
|
border-radius: var(--listbox-button-listbox-border-radius, var(--border-radius-50));
|
|
25
|
+
box-shadow: var(--bubble-shadow);
|
|
24
26
|
box-sizing: border-box;
|
|
25
27
|
display: none;
|
|
26
|
-
filter: var(--bubble-filter);
|
|
27
28
|
left: 0;
|
|
28
29
|
max-height: 400px;
|
|
29
30
|
min-width: 100%;
|
|
@@ -44,12 +45,12 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox,
|
|
|
44
45
|
.listbox-button button[aria-invalid="true"] {
|
|
45
46
|
border-color: var(--listbox-button-invalid-border-color, var(--color-stroke-attention));
|
|
46
47
|
}
|
|
47
|
-
.listbox-button:not(.listbox-button--error) button.btn--form {
|
|
48
|
+
.listbox-button:not(.listbox-button--error) button:not([disabled], [aria-disabled="true"]).btn--form {
|
|
48
49
|
border-color: var(--listbox-button-border-color, var(--color-stroke-default));
|
|
49
50
|
}
|
|
50
|
-
.listbox-button:not(.listbox-button--error) button.btn--form:hover,
|
|
51
|
-
.listbox-button:not(.listbox-button--error) button.btn--form:focus,
|
|
52
|
-
.listbox-button:not(.listbox-button--error) button.btn--form:active {
|
|
51
|
+
.listbox-button:not(.listbox-button--error) button:not([disabled], [aria-disabled="true"]).btn--form:hover,
|
|
52
|
+
.listbox-button:not(.listbox-button--error) button:not([disabled], [aria-disabled="true"]).btn--form:focus,
|
|
53
|
+
.listbox-button:not(.listbox-button--error) button:not([disabled], [aria-disabled="true"]).btn--form:active {
|
|
53
54
|
border-color: inherit;
|
|
54
55
|
}
|
|
55
56
|
.listbox-button button.expand-btn--borderless,
|
|
@@ -76,7 +77,7 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox,
|
|
|
76
77
|
.listbox-button.listbox-button--form button[disabled],
|
|
77
78
|
.listbox-button.listbox-button--form button[aria-disabled="true"] {
|
|
78
79
|
border-color: var(--listbox-button-disabled-border-color, var(--color-background-disabled));
|
|
79
|
-
color: var(--listbox-button-disabled-foreground-color, var(--color-foreground-
|
|
80
|
+
color: var(--listbox-button-disabled-foreground-color, var(--color-foreground-disabled));
|
|
80
81
|
}
|
|
81
82
|
.listbox-button.listbox-button--form button:focus {
|
|
82
83
|
background-color: var(--combobox-textbox-focus-background-color, var(--color-background-primary));
|
|
@@ -128,6 +129,8 @@ div.listbox-button__option[role="option"][aria-selected="true"] svg.icon {
|
|
|
128
129
|
}
|
|
129
130
|
div.listbox-button__option[role="option"] {
|
|
130
131
|
background-color: transparent;
|
|
132
|
+
border-style: solid;
|
|
133
|
+
border-width: 1px;
|
|
131
134
|
box-sizing: border-box;
|
|
132
135
|
display: inline-grid;
|
|
133
136
|
font-family: inherit;
|
package/dist/menu/menu.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
.menu__items,
|
|
5
6
|
.fake-menu__items {
|
|
@@ -46,6 +47,8 @@ button.fake-menu__item,
|
|
|
46
47
|
a.fake-menu__item,
|
|
47
48
|
div.menu__item[role^="menuitem"] {
|
|
48
49
|
background-color: transparent;
|
|
50
|
+
border-style: solid;
|
|
51
|
+
border-width: 1px;
|
|
49
52
|
box-sizing: border-box;
|
|
50
53
|
display: inline-grid;
|
|
51
54
|
font-family: inherit;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
.menu-button,
|
|
5
6
|
.fake-menu-button {
|
|
@@ -10,9 +11,9 @@
|
|
|
10
11
|
.fake-menu-button__menu {
|
|
11
12
|
background-color: var(--menu-button-menu-background-color, var(--color-background-elevated));
|
|
12
13
|
border-radius: var(--menu-button-menu-border-radius, var(--border-radius-50));
|
|
14
|
+
box-shadow: var(--bubble-shadow);
|
|
13
15
|
box-sizing: border-box;
|
|
14
16
|
display: none;
|
|
15
|
-
filter: var(--bubble-filter);
|
|
16
17
|
left: 0;
|
|
17
18
|
max-height: 400px;
|
|
18
19
|
min-width: 100%;
|
|
@@ -42,6 +43,8 @@ span.fake-menu-button__button {
|
|
|
42
43
|
}
|
|
43
44
|
div.menu-button__item[role^="menuitem"] {
|
|
44
45
|
background-color: transparent;
|
|
46
|
+
border-style: solid;
|
|
47
|
+
border-width: 1px;
|
|
45
48
|
box-sizing: border-box;
|
|
46
49
|
display: inline-grid;
|
|
47
50
|
font-family: inherit;
|
|
@@ -115,6 +118,8 @@ div.menu-button__item[role^="menuitem"][aria-checked="true"] svg.icon--tick-16 {
|
|
|
115
118
|
.fake-menu-button__menu a.fake-menu-button__item,
|
|
116
119
|
.fake-menu-button__menu button.fake-menu-button__item {
|
|
117
120
|
background-color: transparent;
|
|
121
|
+
border-style: solid;
|
|
122
|
+
border-width: 1px;
|
|
118
123
|
box-sizing: border-box;
|
|
119
124
|
display: inline-grid;
|
|
120
125
|
font-family: inherit;
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--progress-bar-expressive-color-1: #e53238;
|
|
3
|
+
--progress-bar-expressive-color-2: #0064d2;
|
|
4
|
+
--progress-bar-expressive-color-3: #f5af02;
|
|
5
|
+
--progress-bar-expressive-color-4: #86b817;
|
|
6
|
+
--progress-bar-expressive-line-border-radius: 2px;
|
|
7
|
+
--progress-bar-expressive-line-count: 12;
|
|
8
|
+
--progress-bar-expressive-line-gap: var(--spacing-50);
|
|
9
|
+
--progress-bar-expressive-line-height: 6px;
|
|
10
|
+
--progress-bar-expressive-line-scale-duration: 3s;
|
|
11
|
+
--progress-bar-expressive-line-scroll-duration: 20s;
|
|
12
|
+
/* Each line has a final width of 10% - 40% of the lines container.
|
|
13
|
+
In each set of four lines, the widths add up to 100%.
|
|
14
|
+
These widths are defined in CSS variables so they can more
|
|
15
|
+
easily be randomized in Javascript, if desired. */
|
|
16
|
+
--progress-bar-expressive-line-width-a1: 25%;
|
|
17
|
+
--progress-bar-expressive-line-width-a2: 15%;
|
|
18
|
+
--progress-bar-expressive-line-width-a3: 40%;
|
|
19
|
+
--progress-bar-expressive-line-width-a4: 20%;
|
|
20
|
+
--progress-bar-expressive-line-width-b1: 17%;
|
|
21
|
+
--progress-bar-expressive-line-width-b2: 21%;
|
|
22
|
+
--progress-bar-expressive-line-width-b3: 30%;
|
|
23
|
+
--progress-bar-expressive-line-width-b4: 32%;
|
|
24
|
+
--progress-bar-expressive-line-width-c1: 39%;
|
|
25
|
+
--progress-bar-expressive-line-width-c2: 29%;
|
|
26
|
+
--progress-bar-expressive-line-width-c3: 20%;
|
|
27
|
+
--progress-bar-expressive-line-width-c4: 12%;
|
|
28
|
+
--progress-bar-expressive-message-animatein-duration: 833ms;
|
|
29
|
+
--progress-bar-expressive-message-animateout-duration: 400ms;
|
|
30
|
+
}
|
|
31
|
+
@media (prefers-color-scheme: dark) {
|
|
32
|
+
:root {
|
|
33
|
+
--progress-bar-expressive-color-1: #f0343b;
|
|
34
|
+
--progress-bar-expressive-color-2: #0078fc;
|
|
35
|
+
--progress-bar-expressive-color-3: #e8a502;
|
|
36
|
+
--progress-bar-expressive-color-4: #86b817;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.progress-bar-expressive {
|
|
40
|
+
align-items: stretch;
|
|
41
|
+
display: grid;
|
|
42
|
+
grid-template-columns: 1fr;
|
|
43
|
+
justify-content: end;
|
|
44
|
+
margin: 0 auto;
|
|
45
|
+
max-width: 375px;
|
|
46
|
+
row-gap: var(--spacing-300);
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
.progress-bar-expressive--loaded {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
.progress-bar-expressive__messages {
|
|
53
|
+
color: var(--color-foreground-primary);
|
|
54
|
+
font-size: var(--font-size-large-1);
|
|
55
|
+
font-weight: var(--font-weight-regular);
|
|
56
|
+
line-height: calc(var(--spacing-50) + var(--spacing-300));
|
|
57
|
+
margin: 0 var(--spacing-200);
|
|
58
|
+
min-height: 3rem;
|
|
59
|
+
position: relative;
|
|
60
|
+
text-align: center;
|
|
61
|
+
}
|
|
62
|
+
.progress-bar-expressive__messages--medium {
|
|
63
|
+
font-size: var(--font-size-medium);
|
|
64
|
+
font-weight: var(--font-weight-bold);
|
|
65
|
+
line-height: var(--spacing-300);
|
|
66
|
+
}
|
|
67
|
+
.progress-bar-expressive__message {
|
|
68
|
+
bottom: 0;
|
|
69
|
+
left: 0;
|
|
70
|
+
position: absolute;
|
|
71
|
+
right: 0;
|
|
72
|
+
}
|
|
73
|
+
.progress-bar-expressive__message[role="status"] {
|
|
74
|
+
opacity: 1;
|
|
75
|
+
}
|
|
76
|
+
.progress-bar-expressive__message[aria-hidden="true"] {
|
|
77
|
+
opacity: 0;
|
|
78
|
+
}
|
|
79
|
+
.progress-bar-expressive__message--in {
|
|
80
|
+
animation: progress-bar-expressive-message-animatein var(--progress-bar-expressive-message-animatein-duration) cubic-bezier(0.3, 0, 0, 1) both;
|
|
81
|
+
}
|
|
82
|
+
.progress-bar-expressive__message--out {
|
|
83
|
+
animation: progress-bar-expressive-message-animateout var(--progress-bar-expressive-message-animateout-duration) cubic-bezier(0.3, 0, 0, 1) both;
|
|
84
|
+
}
|
|
85
|
+
.progress-bar-expressive__progress[role="progressbar"] {
|
|
86
|
+
border-radius: var(--progress-bar-expressive-line-border-radius);
|
|
87
|
+
margin: 0 var(--spacing-200);
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
}
|
|
90
|
+
.progress-bar-expressive__lines {
|
|
91
|
+
display: flex;
|
|
92
|
+
overflow: visible;
|
|
93
|
+
width: calc(100% - (3 * var(--progress-bar-expressive-line-gap)));
|
|
94
|
+
}
|
|
95
|
+
.progress-bar-expressive__line {
|
|
96
|
+
/* Default animation behavior: Lines scroll and resize.
|
|
97
|
+
Animate line's width from 0% to its pre-defined width.
|
|
98
|
+
Simultaneously cycle the line's order in its flex container
|
|
99
|
+
to push its siblings forward and achieve an infinite loop.
|
|
100
|
+
|
|
101
|
+
Note that Safari < 14 does not support flex order animations.
|
|
102
|
+
In these browsers, the lines do not appear to infinitely
|
|
103
|
+
scroll. Instead, they scale up, reset their size, and repeat. */
|
|
104
|
+
animation: progress-bar-expressive-line-reorder var(--progress-bar-expressive-line-scale-duration) steps(var(--progress-bar-expressive-line-count)) infinite, progress-bar-expressive-line-scale-width var(--progress-bar-expressive-line-scale-duration) infinite;
|
|
105
|
+
border-radius: var(--progress-bar-expressive-line-border-radius);
|
|
106
|
+
display: inline-block;
|
|
107
|
+
flex-shrink: 0;
|
|
108
|
+
height: var(--progress-bar-expressive-line-height);
|
|
109
|
+
line-height: 0;
|
|
110
|
+
order: 1;
|
|
111
|
+
}
|
|
112
|
+
.progress-bar-expressive__line:nth-child(4n + 1) {
|
|
113
|
+
background-color: var(--progress-bar-expressive-color-4);
|
|
114
|
+
}
|
|
115
|
+
.progress-bar-expressive__line:nth-child(4n + 2) {
|
|
116
|
+
background-color: var(--progress-bar-expressive-color-3);
|
|
117
|
+
}
|
|
118
|
+
.progress-bar-expressive__line:nth-child(4n + 3) {
|
|
119
|
+
background-color: var(--progress-bar-expressive-color-2);
|
|
120
|
+
}
|
|
121
|
+
.progress-bar-expressive__line:nth-child(4n + 4) {
|
|
122
|
+
background-color: var(--progress-bar-expressive-color-1);
|
|
123
|
+
}
|
|
124
|
+
.progress-bar-expressive__line:nth-child(1) {
|
|
125
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)));
|
|
126
|
+
width: var(--progress-bar-expressive-line-width-a1);
|
|
127
|
+
}
|
|
128
|
+
.progress-bar-expressive__line:nth-child(2) {
|
|
129
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 2)));
|
|
130
|
+
width: var(--progress-bar-expressive-line-width-a2);
|
|
131
|
+
}
|
|
132
|
+
.progress-bar-expressive__line:nth-child(3) {
|
|
133
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 3)));
|
|
134
|
+
width: var(--progress-bar-expressive-line-width-a3);
|
|
135
|
+
}
|
|
136
|
+
.progress-bar-expressive__line:nth-child(4) {
|
|
137
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 4)));
|
|
138
|
+
width: var(--progress-bar-expressive-line-width-a4);
|
|
139
|
+
}
|
|
140
|
+
.progress-bar-expressive__line:nth-child(5) {
|
|
141
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 5)));
|
|
142
|
+
width: var(--progress-bar-expressive-line-width-b1);
|
|
143
|
+
}
|
|
144
|
+
.progress-bar-expressive__line:nth-child(6) {
|
|
145
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 6)));
|
|
146
|
+
width: var(--progress-bar-expressive-line-width-b2);
|
|
147
|
+
}
|
|
148
|
+
.progress-bar-expressive__line:nth-child(7) {
|
|
149
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 7)));
|
|
150
|
+
width: var(--progress-bar-expressive-line-width-b3);
|
|
151
|
+
}
|
|
152
|
+
.progress-bar-expressive__line:nth-child(8) {
|
|
153
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 8)));
|
|
154
|
+
width: var(--progress-bar-expressive-line-width-b4);
|
|
155
|
+
}
|
|
156
|
+
.progress-bar-expressive__line:nth-child(9) {
|
|
157
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 9)));
|
|
158
|
+
width: var(--progress-bar-expressive-line-width-c1);
|
|
159
|
+
}
|
|
160
|
+
.progress-bar-expressive__line:nth-child(10) {
|
|
161
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 10)));
|
|
162
|
+
width: var(--progress-bar-expressive-line-width-c2);
|
|
163
|
+
}
|
|
164
|
+
.progress-bar-expressive__line:nth-child(11) {
|
|
165
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 11)));
|
|
166
|
+
width: var(--progress-bar-expressive-line-width-c3);
|
|
167
|
+
}
|
|
168
|
+
.progress-bar-expressive__line:nth-child(12) {
|
|
169
|
+
animation-delay: calc(-1 * (var(--progress-bar-expressive-line-scale-duration) - ((var(--progress-bar-expressive-line-scale-duration) / var(--progress-bar-expressive-line-count)) * 12)));
|
|
170
|
+
width: var(--progress-bar-expressive-line-width-c4);
|
|
171
|
+
}
|
|
172
|
+
/* With reduced motion, there are no animated transitions
|
|
173
|
+
between messages and the lines scroll but do not resize. */
|
|
174
|
+
@media (prefers-reduced-motion) {
|
|
175
|
+
.progress-bar-expressive__message--in,
|
|
176
|
+
.progress-bar-expressive__message--out {
|
|
177
|
+
animation: none;
|
|
178
|
+
}
|
|
179
|
+
.progress-bar-expressive__message[aria-hidden="true"] {
|
|
180
|
+
display: none;
|
|
181
|
+
}
|
|
182
|
+
.progress-bar-expressive__messages:not(
|
|
183
|
+
.progress-bar-expressive__messages--medium
|
|
184
|
+
) .progress-bar-expressive__message--initial[role="status"] {
|
|
185
|
+
animation: progress-bar-expressive-message-fadein var(--progress-bar-expressive-message-animatein-duration) cubic-bezier(0.3, 0, 0, 1) both;
|
|
186
|
+
}
|
|
187
|
+
.progress-bar-expressive__lines {
|
|
188
|
+
animation: progress-bar-expressive-reduced-motion-line-scroll var(--progress-bar-expressive-line-scroll-duration) linear infinite;
|
|
189
|
+
overflow: visible;
|
|
190
|
+
}
|
|
191
|
+
.progress-bar-expressive__line {
|
|
192
|
+
animation: none;
|
|
193
|
+
animation-delay: none;
|
|
194
|
+
margin-right: var(--progress-bar-expressive-line-gap);
|
|
195
|
+
}
|
|
196
|
+
.progress-bar-expressive__line:nth-child(4n + 1) {
|
|
197
|
+
background-color: var(--progress-bar-expressive-color-1);
|
|
198
|
+
}
|
|
199
|
+
.progress-bar-expressive__line:nth-child(4n + 2) {
|
|
200
|
+
background-color: var(--progress-bar-expressive-color-2);
|
|
201
|
+
}
|
|
202
|
+
.progress-bar-expressive__line:nth-child(4n + 3) {
|
|
203
|
+
background-color: var(--progress-bar-expressive-color-3);
|
|
204
|
+
}
|
|
205
|
+
.progress-bar-expressive__line:nth-child(4n + 4) {
|
|
206
|
+
background-color: var(--progress-bar-expressive-color-4);
|
|
207
|
+
}
|
|
208
|
+
.progress-bar-expressive__line:nth-child(9) {
|
|
209
|
+
width: var(--progress-bar-expressive-line-width-a1);
|
|
210
|
+
}
|
|
211
|
+
.progress-bar-expressive__line:nth-child(10) {
|
|
212
|
+
width: var(--progress-bar-expressive-line-width-a2);
|
|
213
|
+
}
|
|
214
|
+
.progress-bar-expressive__line:nth-child(11) {
|
|
215
|
+
width: var(--progress-bar-expressive-line-width-a3);
|
|
216
|
+
}
|
|
217
|
+
.progress-bar-expressive__line:nth-child(12) {
|
|
218
|
+
width: var(--progress-bar-expressive-line-width-a4);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
@keyframes progress-bar-expressive-message-animateout {
|
|
222
|
+
0% {
|
|
223
|
+
opacity: 1;
|
|
224
|
+
transform: translateY(0);
|
|
225
|
+
}
|
|
226
|
+
100% {
|
|
227
|
+
opacity: 0;
|
|
228
|
+
transform: translateY(calc(var(--font-size-24) * -1));
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
@keyframes progress-bar-expressive-message-animatein {
|
|
232
|
+
0% {
|
|
233
|
+
opacity: 0;
|
|
234
|
+
transform: translateY(var(--font-size-24));
|
|
235
|
+
}
|
|
236
|
+
100% {
|
|
237
|
+
opacity: 1;
|
|
238
|
+
transform: translateY(0);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
@keyframes progress-bar-expressive-message-fadein {
|
|
242
|
+
0% {
|
|
243
|
+
opacity: 0;
|
|
244
|
+
}
|
|
245
|
+
100% {
|
|
246
|
+
opacity: 1;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
@keyframes progress-bar-expressive-line-reorder {
|
|
250
|
+
0% {
|
|
251
|
+
order: 0;
|
|
252
|
+
}
|
|
253
|
+
100% {
|
|
254
|
+
order: var(--progress-bar-expressive-line-count);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
@keyframes progress-bar-expressive-line-scale-width {
|
|
258
|
+
0% {
|
|
259
|
+
margin-right: 0;
|
|
260
|
+
width: 0;
|
|
261
|
+
}
|
|
262
|
+
12.5% {
|
|
263
|
+
margin-right: var(--progress-bar-expressive-line-gap);
|
|
264
|
+
}
|
|
265
|
+
50%,
|
|
266
|
+
100% {
|
|
267
|
+
margin-right: var(--progress-bar-expressive-line-gap);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
@keyframes progress-bar-expressive-reduced-motion-line-scroll {
|
|
271
|
+
0% {
|
|
272
|
+
transform: translateX(calc(-200% - 8 * var(--progress-bar-expressive-line-gap)));
|
|
273
|
+
}
|
|
274
|
+
100% {
|
|
275
|
+
transform: translateX(0);
|
|
276
|
+
}
|
|
277
|
+
}
|
package/dist/tooltip/tooltip.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
.tooltip {
|
|
5
6
|
position: relative;
|
|
@@ -9,8 +10,8 @@ span.tooltip {
|
|
|
9
10
|
}
|
|
10
11
|
.tooltip__overlay {
|
|
11
12
|
border-radius: var(--bubble-border-radius, var(--border-radius-50));
|
|
13
|
+
box-shadow: var(--bubble-shadow);
|
|
12
14
|
display: none;
|
|
13
|
-
filter: var(--bubble-filter);
|
|
14
15
|
font-size: 14px;
|
|
15
16
|
left: 0;
|
|
16
17
|
max-width: 344px;
|
package/dist/tourtip/tourtip.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--bubble-
|
|
2
|
+
--bubble-shadow: 0 2px 7px rgba(0, 0, 0, 0.15),
|
|
3
|
+
0 5px 17px rgba(0, 0, 0, 0.2);
|
|
3
4
|
}
|
|
4
5
|
.tourtip {
|
|
5
6
|
position: relative;
|
|
@@ -9,8 +10,8 @@ span.tourtip {
|
|
|
9
10
|
}
|
|
10
11
|
.tourtip__overlay {
|
|
11
12
|
border-radius: var(--bubble-border-radius, var(--border-radius-100));
|
|
13
|
+
box-shadow: var(--bubble-shadow);
|
|
12
14
|
display: none;
|
|
13
|
-
filter: var(--bubble-filter);
|
|
14
15
|
font-size: 14px;
|
|
15
16
|
left: 0;
|
|
16
17
|
max-width: 344px;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "dependencies": ["require: ./education-notice.js"] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./dist/education-notice/education-notice.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./dist/education-notice/education-notice.css');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './dist/education-notice/education-notice.css';
|
package/index.browser.json
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"require: ./date-textbox.js",
|
|
17
17
|
"require: ./details.js",
|
|
18
18
|
"require: ./drawer-dialog.js",
|
|
19
|
+
"require: ./education-notice.js",
|
|
19
20
|
"require: ./eek.js",
|
|
20
21
|
"require: ./field.js",
|
|
21
22
|
"require: ./filter-button.js",
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
"require: ./pagination.js",
|
|
43
44
|
"require: ./panel-dialog.js",
|
|
44
45
|
"require: ./progress-bar.js",
|
|
46
|
+
"require: ./progress-bar-expressive.js",
|
|
45
47
|
"require: ./progress-spinner.js",
|
|
46
48
|
"require: ./progress-stepper.js",
|
|
47
49
|
"require: ./radio.js",
|
package/index.css
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
@import "./date-textbox.css";
|
|
15
15
|
@import "./details.css";
|
|
16
16
|
@import "./drawer-dialog.css";
|
|
17
|
+
@import "./education-notice.css";
|
|
17
18
|
@import "./eek.css";
|
|
18
19
|
@import "./field.css";
|
|
19
20
|
@import "./filter-button.css";
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
@import "./pagination.css";
|
|
41
42
|
@import "./panel-dialog.css";
|
|
42
43
|
@import "./progress-bar.css";
|
|
44
|
+
@import "./progress-bar-expressive.css";
|
|
43
45
|
@import "./progress-spinner.css";
|
|
44
46
|
@import "./progress-stepper.css";
|
|
45
47
|
@import "./radio.css";
|
package/index.js
CHANGED
|
@@ -14,6 +14,7 @@ require('./cta-button.js');
|
|
|
14
14
|
require('./date-textbox.js');
|
|
15
15
|
require('./details.js');
|
|
16
16
|
require('./drawer-dialog.js');
|
|
17
|
+
require('./education-notice.js');
|
|
17
18
|
require('./eek.js');
|
|
18
19
|
require('./field.js');
|
|
19
20
|
require('./filter-button.js');
|
|
@@ -40,6 +41,7 @@ require('./page-notice.js');
|
|
|
40
41
|
require('./pagination.js');
|
|
41
42
|
require('./panel-dialog.js');
|
|
42
43
|
require('./progress-bar.js');
|
|
44
|
+
require('./progress-bar-expressive.js');
|
|
43
45
|
require('./progress-spinner.js');
|
|
44
46
|
require('./progress-stepper.js');
|
|
45
47
|
require('./radio.js');
|
package/index.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import './cta-button.css';
|
|
|
14
14
|
import './date-textbox.css';
|
|
15
15
|
import './details.css';
|
|
16
16
|
import './drawer-dialog.css';
|
|
17
|
+
import './education-notice.css';
|
|
17
18
|
import './eek.css';
|
|
18
19
|
import './field.css';
|
|
19
20
|
import './filter-button.css';
|
|
@@ -40,6 +41,7 @@ import './page-notice.css';
|
|
|
40
41
|
import './pagination.css';
|
|
41
42
|
import './panel-dialog.css';
|
|
42
43
|
import './progress-bar.css';
|
|
44
|
+
import './progress-bar-expressive.css';
|
|
43
45
|
import './progress-spinner.css';
|
|
44
46
|
import './progress-stepper.css';
|
|
45
47
|
import './radio.css';
|