@workday/canvas-kit-css 13.0.0-alpha.1045-next.0 → 13.0.0-alpha.1052-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
@@ -9,6 +9,7 @@
9
9
  border: 0;
10
10
  overflow: hidden;
11
11
  cursor: default;
12
+ pointer-events: none;
12
13
  border-radius: var(--cnvs-sys-shape-round);
13
14
  width: var(--cnvs-avatar-size);
14
15
  height: var(--cnvs-avatar-size);
@@ -21,6 +22,7 @@
21
22
 
22
23
  .cnvs-avatar :is(button) {
23
24
  cursor: pointer;
25
+ pointer-events: auto;
24
26
  }
25
27
 
26
28
  .cnvs-avatar>[data-part="avatar-icon"] {
@@ -168,20 +170,20 @@
168
170
  }
169
171
 
170
172
 
171
- .cnvs-avatar.is-image-loaded [data-part="avatar-icon"] {
172
- opacity: 0;
173
+ .cnvs-avatar.is-image-loaded-false [data-part="avatar-icon"] {
174
+ opacity: 1;
173
175
  }
174
176
 
175
- .cnvs-avatar.is-image-loaded [data-part="avatar-image"] {
176
- opacity: 1;
177
+ .cnvs-avatar.is-image-loaded-false [data-part="avatar-image"] {
178
+ opacity: 0;
177
179
  }
178
180
 
179
181
 
180
- .cnvs-avatar.is-image-loaded-false [data-part="avatar-icon"] {
181
- opacity: 1;
182
+ .cnvs-avatar.is-image-loaded [data-part="avatar-icon"] {
183
+ opacity: 0;
182
184
  }
183
185
 
184
- .cnvs-avatar.is-image-loaded-false [data-part="avatar-image"] {
185
- opacity: 0;
186
+ .cnvs-avatar.is-image-loaded [data-part="avatar-image"] {
187
+ opacity: 1;
186
188
  }
187
189
 
package/badge.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-x8h13h {
1
+ @keyframes animation-dmlh3j {
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-x8h13h 0.2s ease;
15
+ animation: animation-dmlh3j 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-x8h152 {
1
+ @keyframes animation-dmlh54 {
2
2
  0%, 80%, 100% {
3
3
  transform: scale(0);
4
4
  }
@@ -25,7 +25,7 @@
25
25
  border-radius: var(--cnvs-sys-shape-round);
26
26
  transform: scale(0);
27
27
  display: inline-block;
28
- animation-name: animation-x8h152;
28
+ animation-name: animation-dmlh54;
29
29
  animation-duration: calc(var(--cnvs-loading-dots-animation-duration-ms) * 35);
30
30
  animation-iteration-count: infinite;
31
31
  animation-timing-function: ease-in-out;
package/modal.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-x8h154 {
1
+ @keyframes animation-dmlh56 {
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-x8h154;
21
+ animation-name: animation-dmlh56;
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": "13.0.0-alpha.1045-next.0",
3
+ "version": "13.0.0-alpha.1052-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": "7121da3a45445a47c6582e047462a8e979e4d106"
28
+ "gitHead": "7dab7ee02b928735125088175e2e13aa1a354bcc"
29
29
  }
package/popup.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-x8h1x {
1
+ @keyframes animation-dmlhx {
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-x8h1x;
30
+ animation-name: animation-dmlhx;
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-x8h15h {
39
+ @keyframes animation-dmlh5j {
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-x8h15h 0.8s linear infinite alternate;
52
+ animation: animation-dmlh5j 0.8s linear infinite alternate;
53
53
  position: relative;
54
54
  overflow: hidden;
55
55
  height: 100%;
package/tooltip.css ADDED
@@ -0,0 +1,77 @@
1
+ @keyframes animation-dmlh2p {
2
+ 0% {
3
+ opacity: 0;
4
+ transform: translate(var(--cnvs-tooltip-translate-position-x), var(--cnvs-tooltip-translate-position-y));
5
+ }
6
+
7
+ 100% {
8
+ opacity: 1;
9
+ transform: translate(0);
10
+ }
11
+
12
+ }
13
+
14
+ .cnvs-tooltip-container {
15
+ box-sizing: border-box;
16
+ font-family: var(--cnvs-sys-font-family-default);
17
+ font-weight: var(--cnvs-sys-font-weight-normal);
18
+ line-height: var(--cnvs-sys-line-height-subtext-medium);
19
+ font-size: var(--cnvs-sys-font-size-subtext-medium);
20
+ letter-spacing: var(--cnvs-base-letter-spacing-100);
21
+ display: inline-flex;
22
+ position: relative;
23
+ padding: var(--cnvs-sys-space-x3);
24
+ color: var(--cnvs-sys-color-text-inverse);
25
+ animation-name: animation-dmlh2p;
26
+ animation-duration: 150ms;
27
+ animation-timing-function: ease-out;
28
+ transform-origin: var(--cnvs-tooltip-container-tooltip-transform-origin-vertical) var(--cnvs-tooltip-container-tooltip-transform-origin-horizontal);
29
+ }
30
+
31
+ .cnvs-tooltip-container a {
32
+ color: var(--cnvs-sys-color-text-inverse);
33
+ text-decoration: underline;
34
+ }
35
+
36
+ .cnvs-tooltip-container:before {
37
+ content: "";
38
+ border-radius: var(--cnvs-sys-shape-x1);
39
+ z-index: -1;
40
+ margin: var(--cnvs-sys-space-x1);
41
+ background-color: var(--cnvs-sys-color-bg-translucent);
42
+ position: absolute;
43
+ top: 0;
44
+ left: 0;
45
+ right: 0;
46
+ bottom: 0;
47
+ }
48
+
49
+ body:has(:focus-visible, .focus) .cnvs-tooltip-container {
50
+ padding: calc(var(--cnvs-sys-space-x4) - calc(var(--cnvs-sys-space-x1) / 2));
51
+ }
52
+
53
+ body:has(:focus-visible, .focus) .cnvs-tooltip-container:before {
54
+ margin: calc(var(--cnvs-sys-space-x1) + calc(var(--cnvs-sys-space-x1) / 2));
55
+ }
56
+
57
+ [data-popper-reference-hidden] .cnvs-tooltip-container {
58
+ visibility: hidden;
59
+ pointer-events: none;
60
+ }
61
+
62
+ [data-popper-placement="top-start"] .cnvs-tooltip-container, [data-popper-placement="bottom-start"] .cnvs-tooltip-container {
63
+ left: calc(var(--cnvs-sys-space-x1) * -1);
64
+ }
65
+
66
+ [data-popper-placement="top-end"] .cnvs-tooltip-container, [data-popper-placement="bottom-end"] .cnvs-tooltip-container {
67
+ right: calc(var(--cnvs-sys-space-x1) * -1);
68
+ }
69
+
70
+ [data-popper-placement="left-start"] .cnvs-tooltip-container, [data-popper-placement="right-start"] .cnvs-tooltip-container {
71
+ top: calc(var(--cnvs-sys-space-x1) * -1);
72
+ }
73
+
74
+ [data-popper-placement="left-end"] .cnvs-tooltip-container, [data-popper-placement="right-end"] .cnvs-tooltip-container {
75
+ bottom: calc(var(--cnvs-sys-space-x1) * -1);
76
+ }
77
+