@workday/canvas-kit-css 12.0.0-alpha.906-next.0 → 12.0.0-alpha.908-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/badge.css +2 -2
- package/combobox.css +0 -12
- package/loading-dots.css +2 -2
- package/menu.css +82 -0
- package/modal.css +2 -2
- package/package.json +2 -2
- package/popup.css +2 -2
package/badge.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-e3033e {
|
|
2
2
|
from {
|
|
3
3
|
transform: scale(0.85);
|
|
4
4
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
.cnvs-count-badge {
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
align-items: center;
|
|
15
|
-
animation: animation-
|
|
15
|
+
animation: animation-e3033e 0.2s ease;
|
|
16
16
|
background: var(--cnvs-sys-color-static-red-default);
|
|
17
17
|
border-radius: var(--cnvs-sys-shape-round);
|
|
18
18
|
color: var(--cnvs-sys-color-text-inverse);
|
package/combobox.css
CHANGED
package/loading-dots.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-e3034y {
|
|
2
2
|
0%, 80%, 100% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
border-radius: var(--cnvs-sys-shape-round);
|
|
20
20
|
transform: scale(0);
|
|
21
21
|
display: inline-block;
|
|
22
|
-
animation-name: animation-
|
|
22
|
+
animation-name: animation-e3034y;
|
|
23
23
|
animation-duration: calc(var(--cnvs-single-loading-dot-animation-duration-ms) * 35);
|
|
24
24
|
animation-iteration-count: infinite;
|
|
25
25
|
animation-timing-function: ease-in-out;
|
package/menu.css
CHANGED
|
@@ -1,3 +1,69 @@
|
|
|
1
|
+
.cnvs-menu-item {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
font-family: var(--cnvs-base-font-family-50);
|
|
4
|
+
font-weight: var(--cnvs-base-font-weight-400);
|
|
5
|
+
line-height: var(--cnvs-base-line-height-100);
|
|
6
|
+
font-size: var(--cnvs-base-font-size-75);
|
|
7
|
+
letter-spacing: var(--cnvs-base-letter-spacing-150);
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
gap: var(--cnvs-sys-space-x4);
|
|
12
|
+
padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
color: var(--cnvs-sys-color-fg-default);
|
|
15
|
+
border-width: 0;
|
|
16
|
+
text-align: start;
|
|
17
|
+
transition: background-color 80ms,color 80ms;
|
|
18
|
+
background-color: inherit;
|
|
19
|
+
min-height: var(--cnvs-sys-space-x10);
|
|
20
|
+
--cnvs-system-icon-color: currentcolor;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.cnvs-menu-item :where([data-part="menu-item-selected"]) {
|
|
24
|
+
transition: opacity 80ms linear;
|
|
25
|
+
opacity: var(--cnvs-sys-opacity-zero);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cnvs-menu-item:where(:has(span)) {
|
|
29
|
+
display: flex;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.cnvs-menu-item:is([aria-selected=true]) {
|
|
33
|
+
color: var(--cnvs-brand-primary-dark);
|
|
34
|
+
background-color: var(--cnvs-brand-primary-lightest);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.cnvs-menu-item:is(.hover, :hover) {
|
|
38
|
+
color: var(--cnvs-sys-color-fg-strong);
|
|
39
|
+
background-color: var(--cnvs-brand-neutral-lightest);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.cnvs-menu-item:is(.focus, :focus) {
|
|
43
|
+
color: var(--cnvs-brand-primary-accent);
|
|
44
|
+
outline: none;
|
|
45
|
+
background-color: var(--cnvs-brand-primary-base);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.cnvs-menu-item:is(:disabled, [aria-disabled=true]) {
|
|
49
|
+
color: var(--cnvs-sys-color-text-disabled);
|
|
50
|
+
cursor: default;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.cnvs-menu-item:is(:disabled, [aria-disabled=true]):where(.focus, :focus) {
|
|
54
|
+
background-color: var(--cnvs-brand-primary-light);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.cnvs-menu-item :where([data-part="menu-item-text"]) {
|
|
58
|
+
flex-grow: 1;
|
|
59
|
+
align-self: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.cnvs-menu-item :where([data-part="menu-icon-icon"]) {
|
|
63
|
+
align-self: start;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
1
67
|
.cnvs-menu-card {
|
|
2
68
|
--cnvs-menu-card-min-width: 0.0625rem;
|
|
3
69
|
--cnvs-menu-card-transform-origin-vertical: top;
|
|
@@ -43,3 +109,19 @@
|
|
|
43
109
|
flex-direction: row;
|
|
44
110
|
}
|
|
45
111
|
|
|
112
|
+
|
|
113
|
+
.cnvs-menu-option {
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.cnvs-menu-option:where([aria-selected=true]) :where([data-part="menu-item-selected"]) {
|
|
118
|
+
opacity: var(--cnvs-sys-opacity-full);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.cnvs-menu-option:where([aria-selected=true]):where(.focus, :focus) {
|
|
122
|
+
--cnvs-system-icon-color: var(--cnvs-brand-primary-accent);
|
|
123
|
+
outline: none;
|
|
124
|
+
background-color: var(--cnvs-brand-primary-base);
|
|
125
|
+
color: var(--cnvs-system-icon-color);
|
|
126
|
+
}
|
|
127
|
+
|
package/modal.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-e30351 {
|
|
2
2
|
0% {
|
|
3
3
|
background: none;
|
|
4
4
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
height: 100vh;
|
|
19
19
|
background: var(--cnvs-sys-color-bg-overlay);
|
|
20
20
|
animation-duration: 0.3s;
|
|
21
|
-
animation-name: animation-
|
|
21
|
+
animation-name: animation-e30351;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.wd-no-animation .cnvs-modal-overlay-container {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-css",
|
|
3
|
-
"version": "12.0.0-alpha.
|
|
3
|
+
"version": "12.0.0-alpha.908-next.0",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit CSS components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"components",
|
|
26
26
|
"workday"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "96aa087e44d928f9b530e0133be4326b8ff2fdce"
|
|
29
29
|
}
|
package/popup.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-e303x {
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 1;
|
|
4
4
|
transform: translate(var(--cnvs-translate-position-x), var(--cnvs-translate-position-y));
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
padding: var(--cnvs-sys-space-x6);
|
|
28
28
|
max-height: var(--cnvs-popup-card-max-height);
|
|
29
29
|
overflow-y: auto;
|
|
30
|
-
animation-name: animation-
|
|
30
|
+
animation-name: animation-e303x;
|
|
31
31
|
animation-duration: 150ms;
|
|
32
32
|
animation-timing-function: ease-out;
|
|
33
33
|
transform-origin: var(--cnvs-popup-card-transform-origin-vertical) var(--cnvs-popup-card-transform-origin-horizontal);
|