@workday/canvas-kit-css 16.0.0-alpha.0463-next.0 → 16.0.0-alpha.0465-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/checkbox.css +0 -4
- package/combobox.css +0 -9
- package/package.json +2 -2
- package/popup.css +36 -0
- package/toast.css +18 -6
- package/tooltip.css +21 -17
package/checkbox.css
CHANGED
package/combobox.css
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
.cnvs-combobox-card {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.cnvs-combobox-card :where([data-part="list-box-container"]) {
|
|
6
|
-
border-radius: var(--cnvs-sys-shape-xxl, var(--cnvs-sys-shape-x6, 1.5rem));
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
1
|
.cnvs-combobox-menu-list {
|
|
11
2
|
box-sizing: border-box;
|
|
12
3
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-css",
|
|
3
|
-
"version": "16.0.0-alpha.
|
|
3
|
+
"version": "16.0.0-alpha.0465-next.0",
|
|
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": "02dd284d77ccf92991d5526190f453d442ccebcc"
|
|
30
30
|
}
|
package/popup.css
CHANGED
|
@@ -10,6 +10,41 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
.cnvs-popup-button-group {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: var(--cnvs-sys-gap-sm, var(--cnvs-sys-space-x2, 0.5rem));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media screen and (max-width: 768px) {
|
|
20
|
+
.cnvs-popup-button-group {
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
.cnvs-popup-button-group.position-start {
|
|
29
|
+
justify-content: flex-start;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
.cnvs-popup-button-group.position-center {
|
|
34
|
+
justify-content: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
.cnvs-popup-button-group.position-end {
|
|
39
|
+
justify-content: flex-end;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
.cnvs-popup-button-group.grow button {
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
13
48
|
@keyframes animation-29kkhp {
|
|
14
49
|
0% {
|
|
15
50
|
opacity: 1;
|
|
@@ -52,6 +87,7 @@
|
|
|
52
87
|
@media screen and (max-width: 768px) {
|
|
53
88
|
.cnvs-popup-card {
|
|
54
89
|
transform-origin: bottom center;
|
|
90
|
+
padding: var(--cnvs-sys-padding-lg, var(--cnvs-sys-space-x5, 1.25rem));
|
|
55
91
|
}
|
|
56
92
|
|
|
57
93
|
|
package/toast.css
CHANGED
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
align-items: flex-start;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
justify-content: center;
|
|
6
|
-
padding-block: var(--cnvs-sys-padding-md, var(--cnvs-sys-space-x4, 1rem));
|
|
7
6
|
flex-grow: 1;
|
|
8
|
-
gap:
|
|
7
|
+
gap: 0;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
.cnvs-toast-close-icon {
|
|
13
12
|
box-sizing: border-box;
|
|
14
|
-
position:
|
|
13
|
+
position: absolute;
|
|
14
|
+
inset-block-start: var(--cnvs-base-size-50, 0.25rem);
|
|
15
|
+
inset-inline-end: var(--cnvs-base-size-50, 0.25rem);
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
.cnvs-toast-icon {
|
|
19
20
|
box-sizing: border-box;
|
|
20
21
|
align-self: start;
|
|
21
|
-
margin: var(--cnvs-sys-gap-md, var(--cnvs-sys-space-x4, 1rem)) var(--cnvs-base-size-150, 0.75rem);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -34,8 +34,20 @@
|
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: row;
|
|
36
36
|
width: 22.5rem;
|
|
37
|
-
padding: 0;
|
|
38
|
-
|
|
37
|
+
padding-block: var(--cnvs-sys-padding-sm, var(--cnvs-sys-space-x3, 0.75rem));
|
|
38
|
+
padding-inline: var(--cnvs-sys-padding-md, var(--cnvs-sys-space-x4, 1rem)) var(--cnvs-sys-padding-xl, var(--cnvs-sys-space-x6, 1.5rem));
|
|
39
|
+
gap: var(--cnvs-base-size-150, 0.75rem);
|
|
39
40
|
border-radius: var(--cnvs-sys-shape-xl, var(--cnvs-sys-shape-x4, 1rem));
|
|
41
|
+
border: 0.0625rem solid var(--cnvs-sys-color-border-default);
|
|
42
|
+
background-color: var(--cnvs-sys-color-surface-default, var(--cnvs-sys-color-bg-default, oklch(1 0 0 / 1)));
|
|
43
|
+
box-shadow: var(--cnvs-sys-depth-3);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (forced-colors: active) {
|
|
47
|
+
.cnvs-toast {
|
|
48
|
+
outline: 0.0625rem solid CanvasText;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
40
52
|
}
|
|
41
53
|
|
package/tooltip.css
CHANGED
|
@@ -13,34 +13,34 @@
|
|
|
13
13
|
|
|
14
14
|
.cnvs-tooltip-container {
|
|
15
15
|
box-sizing: border-box;
|
|
16
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
17
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
letter-spacing: var(--cnvs-sys-letter-spacing-subtext-
|
|
16
|
+
font-family: var(--cnvs-sys-font-family-default, "Roboto");
|
|
17
|
+
font-weight: var(--cnvs-sys-font-weight-normal, 400);
|
|
18
|
+
line-height: var(--cnvs-sys-line-height-subtext-lg, 1.25rem);
|
|
19
|
+
font-size: var(--cnvs-sys-font-size-subtext-lg, 0.875rem);
|
|
20
|
+
letter-spacing: var(--cnvs-sys-letter-spacing-subtext-lg, 0.015rem);
|
|
21
21
|
display: inline-flex;
|
|
22
22
|
position: relative;
|
|
23
|
-
padding: var(--cnvs-sys-padding-sm, var(--cnvs-sys-space-x3, 0.75rem));
|
|
24
|
-
color: var(--cnvs-sys-color-fg-
|
|
23
|
+
padding: 0.375rem var(--cnvs-sys-padding-sm, var(--cnvs-sys-space-x3, 0.75rem));
|
|
24
|
+
color: var(--cnvs-sys-color-fg-default);
|
|
25
25
|
animation-name: animation-3s4los;
|
|
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);
|
|
29
|
+
margin: var(--cnvs-sys-gap-xs, var(--cnvs-sys-space-x1, 0.25rem));
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
.cnvs-tooltip-container a {
|
|
32
|
-
color: var(--cnvs-sys-color-fg-
|
|
33
|
+
color: var(--cnvs-sys-color-fg-default);
|
|
33
34
|
text-decoration: underline;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
.cnvs-tooltip-container:before {
|
|
37
38
|
content: "";
|
|
38
|
-
border-radius: var(--cnvs-sys-shape-
|
|
39
|
-
|
|
40
|
-
outline-offset: -0.0625rem;
|
|
39
|
+
border-radius: var(--cnvs-sys-shape-full, var(--cnvs-sys-shape-round, 65rem));
|
|
40
|
+
border: 0.0625rem solid var(--cnvs-sys-color-border-default);
|
|
41
41
|
z-index: -1;
|
|
42
|
-
margin:
|
|
43
|
-
background-color: var(--cnvs-sys-color-surface-
|
|
42
|
+
margin: 0;
|
|
43
|
+
background-color: var(--cnvs-sys-color-surface-default, var(--cnvs-sys-color-bg-default, oklch(1 0 0 / 1)));
|
|
44
44
|
position: absolute;
|
|
45
45
|
top: 0;
|
|
46
46
|
left: 0;
|
|
@@ -70,12 +70,16 @@
|
|
|
70
70
|
bottom: calc(var(--cnvs-base-size-50, 0.25rem) * -1);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
@media (forced-colors: active) {
|
|
74
|
+
.cnvs-tooltip-container {
|
|
75
|
+
outline: 0.0625rem solid CanvasText;
|
|
76
|
+
}
|
|
77
|
+
|
|
73
78
|
|
|
74
|
-
.cnvs-tooltip-container.element-has-focus {
|
|
75
|
-
padding: calc(var(--cnvs-sys-padding-md, var(--cnvs-sys-space-x4, 1rem)) - calc(var(--cnvs-sys-padding-xxs, var(--cnvs-sys-space-x1, 0.25rem)) / 2));
|
|
76
79
|
}
|
|
77
80
|
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
|
|
82
|
+
.cnvs-tooltip-container.element-has-focus {
|
|
83
|
+
margin: 0.375rem;
|
|
80
84
|
}
|
|
81
85
|
|