@workday/canvas-kit-css 12.5.0-1046-next.0 → 12.5.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 CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-pk5n3f {
1
+ @keyframes animation-bfu53h {
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-pk5n3f 0.2s ease;
15
+ animation: animation-bfu53h 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/button.css CHANGED
@@ -39,6 +39,8 @@
39
39
  border-color: var(--cnvs-button-color-prop-focus-border, var(--cnvs-button-border, transparent));
40
40
  color: var(--cnvs-button-color-prop-focus-label, var(--cnvs-button-label, var(--cnvs-sys-color-fg-strong)));
41
41
  --cnvs-system-icon-color: var(--cnvs-button-color-prop-focus-icon, var(--cnvs-sys-color-fg-strong));
42
+ outline: 0.125rem solid transparent;
43
+ outline-offset: 0.125rem;
42
44
  box-shadow: 0 0 0 2px var(--cnvs-button-color-prop-focus-box-shadow-inner, var(--cnvs-button-box-shadow-inner, var(--cnvs-sys-color-border-inverse))),0 0 0 4px var(--cnvs-button-color-prop-focus-box-shadow-outer, var(--cnvs-button-box-shadow-outer, var(--cnvs-brand-common-focus-outline)));
43
45
  }
44
46
 
@@ -67,6 +69,20 @@
67
69
  --cnvs-system-icon-color: var(--cnvs-button-color-prop-disabled-icon, var(--cnvs-sys-color-fg-strong));
68
70
  }
69
71
 
72
+ @media (prefers-contrast: more) {
73
+ .cnvs-button[aria-pressed="true"] {
74
+ outline: 0.125rem solid transparent;
75
+ outline-offset: -0.0625rem;
76
+ }
77
+
78
+ .cnvs-button[aria-pressed="true"]:focus-visible, .cnvs-button[aria-pressed="true"].focus {
79
+ outline: 0.25rem double transparent;
80
+ outline-offset: 0;
81
+ }
82
+
83
+
84
+ }
85
+
70
86
 
71
87
  .cnvs-button.size-large {
72
88
  font-family: var(--cnvs-sys-font-family-default);
package/icon.css CHANGED
@@ -97,6 +97,15 @@
97
97
  fill: var(--cnvs-deprecated-system-icon-background-hover, var(--cnvs-system-icon-background-color, transparent));
98
98
  }
99
99
 
100
+ @media (prefers-contrast: more) {
101
+ .cnvs-system-icon .wd-icon-fill, .cnvs-system-icon .wd-icon-accent {
102
+ color: currentColor;
103
+ fill: currentColor;
104
+ }
105
+
106
+
107
+ }
108
+
100
109
 
101
110
  .cnvs-system-icon-circle {
102
111
  box-sizing: border-box;
@@ -130,3 +139,20 @@
130
139
  --cnvs-svg-width: 100%;
131
140
  }
132
141
 
142
+
143
+ .cnvs-graphic-image {
144
+ box-sizing: border-box;
145
+ }
146
+
147
+ .cnvs-graphic-image [data-part="graphic-img"] {
148
+ width: var(--cnvs-graphic-image-width);
149
+ height: var(--cnvs-graphic-image-height);
150
+ max-width: 100%;
151
+ max-height: 100%;
152
+ }
153
+
154
+
155
+ .cnvs-graphic-image.grow [data-part="graphic-img"] {
156
+ width: 100%;
157
+ }
158
+
package/loading-dots.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-pk5n50 {
1
+ @keyframes animation-bfu552 {
2
2
  0%, 80%, 100% {
3
3
  transform: scale(0);
4
4
  }
@@ -23,9 +23,10 @@
23
23
  height: var(--cnvs-sys-space-x4);
24
24
  font-size: var(--cnvs-sys-space-zero);
25
25
  border-radius: var(--cnvs-sys-shape-round);
26
+ outline: 0.125rem solid transparent;
26
27
  transform: scale(0);
27
28
  display: inline-block;
28
- animation-name: animation-pk5n50;
29
+ animation-name: animation-bfu552;
29
30
  animation-duration: calc(var(--cnvs-loading-dots-animation-duration-ms) * 35);
30
31
  animation-iteration-count: infinite;
31
32
  animation-timing-function: ease-in-out;
package/menu.css CHANGED
@@ -42,8 +42,9 @@
42
42
 
43
43
  .cnvs-menu-item:is(.focus, :focus) {
44
44
  color: var(--cnvs-brand-primary-accent);
45
- outline: none;
46
45
  background-color: var(--cnvs-brand-primary-base);
46
+ outline: 0.125rem solid transparent;
47
+ outline-offset: -0.125rem;
47
48
  }
48
49
 
49
50
  .cnvs-menu-item:is(:disabled, [aria-disabled=true]) {
package/modal.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-pk5n52 {
1
+ @keyframes animation-bfu554 {
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-pk5n52;
21
+ animation-name: animation-bfu554;
22
22
  }
23
23
 
24
24
  .wd-no-animation .cnvs-modal-overlay-container {
@@ -55,6 +55,7 @@
55
55
  margin: var(--cnvs-sys-space-x10);
56
56
  width: calc(calc(var(--cnvs-sys-space-x20) * 5) + var(--cnvs-sys-space-x10));
57
57
  border-width: var(--cnvs-sys-space-zero);
58
+ outline: 0.0625rem solid transparent;
58
59
  box-shadow: var(--cnvs-sys-depth-6);
59
60
  }
60
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-css",
3
- "version": "12.5.0-1046-next.0",
3
+ "version": "12.5.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": "3350db5e9a6aa32c04b6bad66fb7638b61010650"
28
+ "gitHead": "3f9fe28cbb758a0a56d3f9db5cee2a29509f0cd2"
29
29
  }
package/popup.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-pk5nx {
1
+ @keyframes animation-bfu5x {
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-pk5nx;
30
+ animation-name: animation-bfu5x;
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);
package/text-input.css CHANGED
@@ -34,7 +34,7 @@
34
34
  .cnvs-text-input:is(:focus-visible, .focus):where(:not([disabled])) {
35
35
  border-color: var(--cnvs-brand-common-focus-outline);
36
36
  box-shadow: inset 0 0 0 1px var(--cnvs-brand-common-focus-outline);
37
- outline: none;
37
+ outline: 0.125rem solid transparent;
38
38
  }
39
39
 
40
40
  .cnvs-text-input:is(:disabled, .disabled) {
@@ -70,12 +70,14 @@
70
70
 
71
71
  .cnvs-text-input.error-error:is(:focus-visible, .focus):not([disabled]) {
72
72
  box-shadow: inset 0 0 0 0.0625rem var(--cnvs-brand-error-base),0 0 0 2px var(--cnvs-sys-color-border-inverse),0 0 0 4px var(--cnvs-brand-common-focus-outline);
73
+ outline-offset: 0.125rem;
73
74
  }
74
75
 
75
76
 
76
77
  .cnvs-text-input.error-alert {
77
78
  border-color: var(--cnvs-brand-alert-darkest);
78
79
  box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-alert-base);
80
+ outline-offset: 0.125rem;
79
81
  }
80
82
 
81
83
  .cnvs-text-input.error-alert:is(:hover, .hover, :disabled, .disabled, :focus-visible:not([disabled]), .focus:not([disabled])) {