@workday/canvas-kit-css 15.0.4 → 15.0.6
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/button.css +8 -0
- package/checkbox.css +1 -1
- package/common.css +7 -0
- package/expandable.css +1 -1
- package/loading-dots.css +2 -2
- package/menu.css +1 -1
- package/modal.css +2 -2
- package/package.json +2 -2
- package/popup.css +2 -2
- package/skeleton.css +5 -5
- package/switch.css +1 -1
- package/table.css +5 -5
- package/tabs.css +2 -2
- package/testing.css +16 -0
- package/tooltip.css +2 -2
package/badge.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-1ydr3u {
|
|
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-1ydr3u 0.2s ease;
|
|
16
16
|
border-radius: var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round, 65rem));
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
font-family: var(--cnvs-sys-font-family-default);
|
package/button.css
CHANGED
package/checkbox.css
CHANGED
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
width: var(--cnvs-base-size-300, 1.5rem);
|
|
136
136
|
height: var(--cnvs-base-size-300, 1.5rem);
|
|
137
137
|
margin: 0;
|
|
138
|
-
margin-
|
|
138
|
+
margin-block-start: calc(0.1875rem * -1);
|
|
139
139
|
margin-inline-start: calc(0.1875rem * -1);
|
|
140
140
|
position: absolute;
|
|
141
141
|
opacity: var(--cnvs-sys-opacity-zero);
|
package/common.css
CHANGED
package/expandable.css
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.cnvs-expandable-target:focus-visible, .cnvs-expandable-target.focus {
|
|
77
|
-
outline: var(
|
|
77
|
+
outline: 0.125rem solid var(--cnvs-sys-color-brand-border-primary, oklch(0.6023 0.2032 255.68 / 1));
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
|
package/loading-dots.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-3ybml5 {
|
|
2
2
|
0%, 80%, 100% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
outline: 0.125rem solid transparent;
|
|
38
38
|
transform: scale(0);
|
|
39
39
|
display: inline-block;
|
|
40
|
-
animation-name: animation-
|
|
40
|
+
animation-name: animation-3ybml5;
|
|
41
41
|
animation-duration: calc(var(--cnvs-loading-dots-animation-duration-ms) * 35);
|
|
42
42
|
animation-iteration-count: infinite;
|
|
43
43
|
animation-timing-function: ease-in-out;
|
package/menu.css
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
display: block;
|
|
33
33
|
height: 0.0625rem;
|
|
34
34
|
border: none;
|
|
35
|
-
border-
|
|
35
|
+
border-block-start: 0.0625rem solid var(--cnvs-sys-color-border-default, var(--cnvs-sys-color-border-divider, oklch(0.3057 0.079 256.22 / 0.13)));
|
|
36
36
|
margin: var(--cnvs-sys-gap-sm, var(--cnvs-sys-space-x2, 0.5rem)) var(--cnvs-sys-gap-md, var(--cnvs-sys-space-x4, 1rem));
|
|
37
37
|
}
|
|
38
38
|
|
package/modal.css
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
@keyframes animation-
|
|
48
|
+
@keyframes animation-20ld2q {
|
|
49
49
|
0% {
|
|
50
50
|
background: none;
|
|
51
51
|
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
height: 100vh;
|
|
66
66
|
background: var(--cnvs-sys-color-surface-overlay-scrim, oklch(0.0847 0 0 / 0.36));
|
|
67
67
|
animation-duration: 0.3s;
|
|
68
|
-
animation-name: animation-
|
|
68
|
+
animation-name: animation-20ld2q;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.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": "15.0.
|
|
3
|
+
"version": "15.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The parent module that contains all Workday Canvas Kit CSS components",
|
|
6
6
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"components",
|
|
27
27
|
"workday"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7633fbb415cd6f549265955cd80ed21bcc72d3fc"
|
|
30
30
|
}
|
package/popup.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
@keyframes animation-
|
|
13
|
+
@keyframes animation-2yr4iv {
|
|
14
14
|
0% {
|
|
15
15
|
opacity: 1;
|
|
16
16
|
transform: translate(var(--cnvs-translate-position-x), var(--cnvs-translate-position-y));
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
border-radius: var(--cnvs-sys-shape-xxxl, 2rem);
|
|
40
40
|
max-height: var(--cnvs-popup-card-max-height);
|
|
41
41
|
overflow-y: auto;
|
|
42
|
-
animation-name: animation-
|
|
42
|
+
animation-name: animation-2yr4iv;
|
|
43
43
|
animation-duration: 150ms;
|
|
44
44
|
animation-timing-function: ease-out;
|
|
45
45
|
transform-origin: var(--cnvs-popup-card-transform-origin-vertical) var(--cnvs-popup-card-transform-origin-horizontal);
|
package/skeleton.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
border-radius: var(--cnvs-skeleton-shape-border-radius, 0);
|
|
5
5
|
height: var(--cnvs-skeleton-shape-height, 100%);
|
|
6
6
|
width: var(--cnvs-skeleton-shape-width);
|
|
7
|
-
margin-
|
|
7
|
+
margin-block-end: var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4, 1rem));
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
border-radius: var(--cnvs-sys-shape-md, var(--cnvs-sys-shape-x2, 0.5rem));
|
|
15
15
|
height: var(--cnvs-skeleton-header-height, var(--cnvs-sys-size-xs, var(--cnvs-sys-space-x6, 1.5rem)));
|
|
16
16
|
width: var(--cnvs-skeleton-header-width);
|
|
17
|
-
margin-
|
|
17
|
+
margin-block-end: var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4, 1rem));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
.cnvs-skeleton-text {
|
|
22
22
|
box-sizing: border-box;
|
|
23
|
-
margin-
|
|
23
|
+
margin-block-end: var(--cnvs-sys-size-xs, var(--cnvs-sys-space-x6, 1.5rem));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.cnvs-skeleton-text [data-part="skeleton-text-lines"] {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
@keyframes animation-
|
|
39
|
+
@keyframes animation-4pyqc {
|
|
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-4pyqc 0.8s linear infinite alternate;
|
|
53
53
|
position: relative;
|
|
54
54
|
overflow: hidden;
|
|
55
55
|
height: 100%;
|
package/switch.css
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
display: flex;
|
|
59
59
|
align-items: center;
|
|
60
60
|
pointer-events: none;
|
|
61
|
-
margin-
|
|
61
|
+
margin-block-start: var(--cnvs-sys-gap-xs, var(--cnvs-sys-space-x1, 0.25rem));
|
|
62
62
|
width: var(--cnvs-sys-size-sm, var(--cnvs-sys-space-x8, 2rem));
|
|
63
63
|
height: var(--cnvs-sys-size-xxxs, var(--cnvs-sys-space-x4, 1rem));
|
|
64
64
|
border-radius: var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round, 65rem));
|
package/table.css
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.cnvs-base-table-body tr:last-of-type td, .cnvs-base-table-body tr:last-of-type th {
|
|
6
|
-
border-
|
|
6
|
+
border-block-end: none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.cnvs-base-table-body tr:first-of-type td, .cnvs-base-table-body tr:first-of-type th {
|
|
10
|
-
border-
|
|
10
|
+
border-block-start: none;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.cnvs-base-table-body td:last-of-type {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
box-sizing: border-box;
|
|
30
30
|
align-items: center;
|
|
31
31
|
background-color: var(--cnvs-sys-color-bg-default);
|
|
32
|
-
border-
|
|
32
|
+
border-block-end: 0.0625rem solid var(--cnvs-sys-color-border-default, var(--cnvs-sys-color-border-divider, oklch(0.3057 0.079 256.22 / 0.13)));
|
|
33
33
|
grid-template-columns: 1fr;
|
|
34
34
|
justify-content: start;
|
|
35
35
|
min-height: 3.5rem;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
.cnvs-base-table-header {
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
background-color: var(--cnvs-sys-color-bg-default);
|
|
59
|
-
border-
|
|
59
|
+
border-block-end: 0.0625rem solid var(--cnvs-sys-color-border-default, var(--cnvs-sys-color-border-divider, oklch(0.3057 0.079 256.22 / 0.13)));
|
|
60
60
|
justify-content: start;
|
|
61
61
|
min-height: calc(var(--cnvs-sys-size-xxl, var(--cnvs-sys-space-x16, 4rem)) - var(--cnvs-base-size-100, 0.5rem));
|
|
62
62
|
padding: var(--cnvs-sys-padding-xs, var(--cnvs-sys-space-x2, 0.5rem)) var(--cnvs-sys-padding-md, var(--cnvs-sys-space-x4, 1rem));
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
.cnvs-table-caption {
|
|
103
103
|
box-sizing: border-box;
|
|
104
104
|
display: flex;
|
|
105
|
-
border-
|
|
105
|
+
border-block-end: 0.0625rem solid var(--cnvs-sys-color-border-strong, var(--cnvs-sys-color-border-container, oklch(0.2442 0.0693 257.66 / 0.21)));
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
|
package/tabs.css
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
|
|
63
63
|
.cnvs-tab-item[aria-selected=true]:after {
|
|
64
64
|
position: absolute;
|
|
65
|
-
border-
|
|
65
|
+
border-block-end: var(--cnvs-base-size-50, 0.25rem) solid transparent;
|
|
66
66
|
border-radius: var(--cnvs-sys-shape-md, var(--cnvs-sys-shape-x2, 0.5rem)) var(--cnvs-sys-shape-md, var(--cnvs-sys-shape-x2, 0.5rem)) var(--cnvs-sys-shape-none, var(--cnvs-sys-shape-zero, 0)) var(--cnvs-sys-shape-none, var(--cnvs-sys-shape-zero, 0));
|
|
67
67
|
background-color: var(--cnvs-sys-color-brand-fg-primary-default, var(--cnvs-brand-primary-base, oklch(0.5198 0.1782 256.11 / 1)));
|
|
68
68
|
bottom: 0;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
box-sizing: border-box;
|
|
83
83
|
display: flex;
|
|
84
84
|
position: relative;
|
|
85
|
-
border-
|
|
85
|
+
border-block-end: 0.0625rem solid var(--cnvs-sys-color-border-default, var(--cnvs-sys-color-border-divider, oklch(0.3057 0.079 256.22 / 0.13)));
|
|
86
86
|
gap: var(--cnvs-sys-gap-xs, var(--cnvs-sys-space-x1, 0.25rem));
|
|
87
87
|
padding-inline: var(--cnvs-base-size-500, 2.5rem);
|
|
88
88
|
}
|
package/testing.css
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.cnvs-table {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.cnvs-table thead {
|
|
6
|
+
text-align: start;
|
|
7
|
+
padding-block-end: var(--cnvs-sys-padding-md);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.cnvs-table td, .cnvs-table th {
|
|
11
|
+
min-width: 6.25rem;
|
|
12
|
+
padding-block-end: var(--cnvs-sys-padding-md);
|
|
13
|
+
padding-inline-end: var(--cnvs-sys-padding-md);
|
|
14
|
+
text-align: start;
|
|
15
|
+
}
|
|
16
|
+
|
package/tooltip.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-1bfoy0 {
|
|
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-padding-sm, var(--cnvs-sys-space-x3, 0.75rem));
|
|
24
24
|
color: var(--cnvs-sys-color-fg-inverse);
|
|
25
|
-
animation-name: animation-
|
|
25
|
+
animation-name: animation-1bfoy0;
|
|
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);
|