@workday/canvas-kit-css 14.0.0-alpha.1125-next.0 → 14.0.0-alpha.1126-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/loading-dots.css +2 -2
- package/modal.css +2 -2
- package/package.json +2 -2
- package/popup.css +2 -2
- package/segmented-control.css +75 -0
- package/skeleton.css +2 -2
- package/tooltip.css +2 -2
package/badge.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-wgzv3n {
|
|
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-wgzv3n 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/loading-dots.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-wgzv63 {
|
|
2
2
|
0%, 80%, 100% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
outline: 0.125rem solid transparent;
|
|
27
27
|
transform: scale(0);
|
|
28
28
|
display: inline-block;
|
|
29
|
-
animation-name: animation-
|
|
29
|
+
animation-name: animation-wgzv63;
|
|
30
30
|
animation-duration: calc(var(--cnvs-loading-dots-animation-duration-ms) * 35);
|
|
31
31
|
animation-iteration-count: infinite;
|
|
32
32
|
animation-timing-function: ease-in-out;
|
package/modal.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-wgzv65 {
|
|
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-wgzv65;
|
|
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": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.1126-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": "5420bd738ba9800e4443d4ec6103df51634529e9"
|
|
29
29
|
}
|
package/popup.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
@keyframes animation-
|
|
6
|
+
@keyframes animation-wgzvy {
|
|
7
7
|
0% {
|
|
8
8
|
opacity: 1;
|
|
9
9
|
transform: translate(var(--cnvs-translate-position-x), var(--cnvs-translate-position-y));
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
padding: var(--cnvs-sys-space-x6);
|
|
33
33
|
max-height: var(--cnvs-popup-card-max-height);
|
|
34
34
|
overflow-y: auto;
|
|
35
|
-
animation-name: animation-
|
|
35
|
+
animation-name: animation-wgzvy;
|
|
36
36
|
animation-duration: 150ms;
|
|
37
37
|
animation-timing-function: ease-out;
|
|
38
38
|
transform-origin: var(--cnvs-popup-card-transform-origin-vertical) var(--cnvs-popup-card-transform-origin-horizontal);
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.cnvs-segmented-control-button {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
border-inline-start: none;
|
|
4
|
+
min-width: auto;
|
|
5
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-soft);
|
|
6
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-container);
|
|
7
|
+
--cnvs-button-border-radius: var(--cnvs-sys-shape-zero);
|
|
8
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-muted-soft);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.cnvs-segmented-control-button:hover, .cnvs-segmented-control-button.hover {
|
|
12
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
13
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-icon-strong);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.cnvs-segmented-control-button:active, .cnvs-segmented-control-button.active {
|
|
17
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-stronger);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.cnvs-segmented-control-button:disabled, .cnvs-segmented-control-button.disabled {
|
|
21
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-softer);
|
|
22
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-container);
|
|
23
|
+
--cnvs-system-icon-color: var(--cnvs-base-palette-soap-600);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.cnvs-segmented-control-button:first-of-type {
|
|
27
|
+
border-radius: var(--cnvs-sys-shape-x1) 0 0 var(--cnvs-sys-shape-x1);
|
|
28
|
+
border-inline-start: 0.0625rem solid var(--cnvs-sys-color-border-container);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.cnvs-segmented-control-button:last-of-type {
|
|
32
|
+
border-radius: 0 var(--cnvs-sys-shape-x1) var(--cnvs-sys-shape-x1) 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.cnvs-segmented-control-button[aria-pressed="true"] {
|
|
36
|
+
--cnvs-button-background: var(--cnvs-brand-primary-base);
|
|
37
|
+
--cnvs-button-border: var(--cnvs-brand-primary-base);
|
|
38
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-inverse);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cnvs-segmented-control-button[aria-pressed="true"]:first-of-type {
|
|
42
|
+
border-inline-start-color: var(--cnvs-brand-primary-base);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.cnvs-segmented-control-button[aria-pressed="true"]:disabled, .cnvs-segmented-control-button[aria-pressed="true"].disabled {
|
|
46
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-softer);
|
|
47
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-container);
|
|
48
|
+
--cnvs-system-icon-color: var(--cnvs-base-palette-soap-600);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.cnvs-segmented-control-button:focus-visible, .cnvs-segmented-control-button.focus {
|
|
52
|
+
border-radius: var(--cnvs-sys-shape-x1);
|
|
53
|
+
z-index: 1;
|
|
54
|
+
animation: none;
|
|
55
|
+
transition: all 120ms border-radius 1ms;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
.cnvs-segmented-control-button.segmented-control-button-size-small {
|
|
60
|
+
width: var(--cnvs-sys-space-x8);
|
|
61
|
+
height: var(--cnvs-sys-space-x8);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
.cnvs-segmented-control-button.segmented-control-button-size-medium {
|
|
66
|
+
width: var(--cnvs-sys-space-x10);
|
|
67
|
+
height: var(--cnvs-sys-space-x10);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
.cnvs-segmented-control-button.segmented-control-button-size-large {
|
|
72
|
+
width: calc(var(--cnvs-sys-space-x10) + var(--cnvs-sys-space-x2));
|
|
73
|
+
height: calc(var(--cnvs-sys-space-x10) + var(--cnvs-sys-space-x2));
|
|
74
|
+
}
|
|
75
|
+
|
package/skeleton.css
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
@keyframes animation-
|
|
39
|
+
@keyframes animation-wgzv6k {
|
|
40
40
|
from {
|
|
41
41
|
opacity: 0.4;
|
|
42
42
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
.cnvs-skeleton {
|
|
51
51
|
box-sizing: border-box;
|
|
52
|
-
animation: animation-
|
|
52
|
+
animation: animation-wgzv6k 0.8s linear infinite alternate;
|
|
53
53
|
position: relative;
|
|
54
54
|
overflow: hidden;
|
|
55
55
|
height: 100%;
|
package/tooltip.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-wgzv2s {
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translate(var(--cnvs-tooltip-translate-position-x), var(--cnvs-tooltip-translate-position-y));
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
position: relative;
|
|
23
23
|
padding: var(--cnvs-sys-space-x3);
|
|
24
24
|
color: var(--cnvs-sys-color-text-inverse);
|
|
25
|
-
animation-name: animation-
|
|
25
|
+
animation-name: animation-wgzv2s;
|
|
26
26
|
animation-duration: 150ms;
|
|
27
27
|
animation-timing-function: ease-out;
|
|
28
28
|
transform-origin: var(--cnvs-tooltip-container-tooltip-transform-origin-vertical) var(--cnvs-tooltip-container-tooltip-transform-origin-horizontal);
|