@workday/canvas-kit-css 13.0.0-alpha.1052-next.0 → 13.0.0-alpha.1064-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/avatar.css CHANGED
@@ -174,7 +174,7 @@
174
174
  opacity: 1;
175
175
  }
176
176
 
177
- .cnvs-avatar.is-image-loaded-false [data-part="avatar-image"] {
177
+ .cnvs-avatar.is-image-loaded-false>[data-part="avatar-image"] {
178
178
  opacity: 0;
179
179
  }
180
180
 
package/badge.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-dmlh3j {
1
+ @keyframes animation-bwd43l {
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-dmlh3j 0.2s ease;
15
+ animation: animation-bwd43l 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-dmlh54 {
1
+ @keyframes animation-bwd456 {
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-dmlh54;
29
+ animation-name: animation-bwd456;
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-dmlh56 {
1
+ @keyframes animation-bwd458 {
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-dmlh56;
21
+ animation-name: animation-bwd458;
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": "13.0.0-alpha.1052-next.0",
3
+ "version": "13.0.0-alpha.1064-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": "7dab7ee02b928735125088175e2e13aa1a354bcc"
28
+ "gitHead": "1a4bdb3f6b6debe5a2f179bab153b38ef7ac804e"
29
29
  }
package/popup.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-dmlhx {
1
+ @keyframes animation-bwd4x {
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-dmlhx;
30
+ animation-name: animation-bwd4x;
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/skeleton.css CHANGED
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
 
39
- @keyframes animation-dmlh5j {
39
+ @keyframes animation-bwd45l {
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-dmlh5j 0.8s linear infinite alternate;
52
+ animation: animation-bwd45l 0.8s linear infinite alternate;
53
53
  position: relative;
54
54
  overflow: hidden;
55
55
  height: 100%;
package/tabs.css CHANGED
@@ -23,7 +23,7 @@
23
23
  --cnvs-system-icon-color: var(--cnvs-sys-color-fg-muted-soft);
24
24
  }
25
25
 
26
- .cnvs-tab-item:has([data-part="system-icon"]), .cnvs-tab-item:has([data-part="ellipsis-text"]) {
26
+ .cnvs-tab-item:has(span) {
27
27
  display: flex;
28
28
  gap: var(--cnvs-sys-space-x2);
29
29
  }
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])) {
package/tooltip.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-dmlh2p {
1
+ @keyframes animation-bwd42r {
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-dmlh2p;
25
+ animation-name: animation-bwd42r;
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);
@@ -36,6 +36,8 @@
36
36
  .cnvs-tooltip-container:before {
37
37
  content: "";
38
38
  border-radius: var(--cnvs-sys-shape-x1);
39
+ outline: 0.0625rem solid transparent;
40
+ outline-offset: -0.0625rem;
39
41
  z-index: -1;
40
42
  margin: var(--cnvs-sys-space-x1);
41
43
  background-color: var(--cnvs-sys-color-bg-translucent);