@workday/canvas-kit-css 13.0.0-alpha.1080-next.0 → 13.0.0-alpha.1084-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
@@ -15,7 +15,7 @@
15
15
  height: var(--cnvs-avatar-size);
16
16
  }
17
17
 
18
- .cnvs-avatar:focus-visible:not([disabled]), .cnvs-avatar.focus:not([disabled]) {
18
+ .cnvs-avatar:focus-visible, .cnvs-avatar.focus {
19
19
  outline: none;
20
20
  box-shadow: 0 0 0 2px var(--cnvs-base-palette-french-vanilla-100, rgba(255,255,255,1)),0 0 0 4px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1));
21
21
  }
@@ -25,20 +25,26 @@
25
25
  pointer-events: auto;
26
26
  }
27
27
 
28
- .cnvs-avatar>[data-part="avatar-icon"] {
28
+ .cnvs-avatar:disabled, .cnvs-avatar.disabled {
29
+ opacity: var(--cnvs-sys-opacity-disabled);
30
+ }
31
+
32
+ .cnvs-avatar [data-part="avatar-icon"] {
29
33
  transition: opacity 150ms linear;
30
34
  display: flex;
31
35
  align-items: center;
32
36
  justify-content: center;
33
37
  --cnvs-svg-size: calc(var(--cnvs-avatar-size) * 0.625);
38
+ opacity: 1;
34
39
  }
35
40
 
36
- .cnvs-avatar>[data-part="avatar-image"] {
41
+ .cnvs-avatar [data-part="avatar-image"] {
37
42
  position: absolute;
38
43
  width: 100%;
39
44
  height: 100%;
40
45
  border-radius: 999px;
41
46
  transition: opacity 150ms linear;
47
+ opacity: 0;
42
48
  }
43
49
 
44
50
 
@@ -170,15 +176,6 @@
170
176
  }
171
177
 
172
178
 
173
- .cnvs-avatar.is-image-loaded-false [data-part="avatar-icon"] {
174
- opacity: 1;
175
- }
176
-
177
- .cnvs-avatar.is-image-loaded-false>[data-part="avatar-image"] {
178
- opacity: 0;
179
- }
180
-
181
-
182
179
  .cnvs-avatar.is-image-loaded [data-part="avatar-icon"] {
183
180
  opacity: 0;
184
181
  }
package/badge.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-lwv43n {
1
+ @keyframes animation-q8d73n {
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-lwv43n 0.2s ease;
15
+ animation: animation-q8d73n 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/expandable.css ADDED
@@ -0,0 +1,93 @@
1
+ .cnvs-expandable-content {
2
+ box-sizing: border-box;
3
+ background: var(--cnvs-sys-color-bg-transparent);
4
+ padding: var(--cnvs-sys-space-x4) var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x2);
5
+ }
6
+
7
+
8
+ .cnvs-expandable-target {
9
+ box-sizing: border-box;
10
+ background: var(--cnvs-sys-color-bg-transparent);
11
+ border-color: var(--cnvs-sys-color-bg-transparent);
12
+ border-radius: var(--cnvs-sys-shape-x1);
13
+ border-width: 0;
14
+ display: flex;
15
+ align-items: flex-start;
16
+ flex-direction: row;
17
+ justify-content: start;
18
+ padding: var(--cnvs-sys-space-x2);
19
+ cursor: pointer;
20
+ width: 100%;
21
+ }
22
+
23
+ .cnvs-expandable-target:hover, .cnvs-expandable-target.hover {
24
+ background-color: var(--cnvs-sys-color-bg-alt-default);
25
+ }
26
+
27
+
28
+ .cnvs-expandable-icon {
29
+ box-sizing: border-box;
30
+ padding: var(--cnvs-sys-space-x1);
31
+ }
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ .cnvs-expandable-icon.position-end.is-expanded {
40
+ margin-inline-start: auto;
41
+ transform: rotate(180deg);
42
+ padding-inline-end: var(--cnvs-sys-space-x3);
43
+ }
44
+
45
+
46
+ .cnvs-expandable-icon.position-end.is-expanded {
47
+ margin-inline-start: auto;
48
+ padding-inline-start: var(--cnvs-sys-space-x3);
49
+ }
50
+
51
+
52
+ .cnvs-expandable-icon.position-start.is-expanded {
53
+ margin-inline-end: var(--cnvs-sys-space-x2);
54
+ transform: rotate(90deg);
55
+ }
56
+
57
+ .cnvs-expandable-icon.position-start.is-expanded :dir(rtl) {
58
+ transform: rotate(-90deg);
59
+ }
60
+
61
+
62
+ .cnvs-expandable-icon.position-start.is-expanded {
63
+ margin-inline-end: var(--cnvs-sys-space-x2);
64
+ transform: rotate(180deg);
65
+ }
66
+
67
+
68
+ .cnvs-expandable-title {
69
+ box-sizing: border-box;
70
+ font-family: var(--cnvs-sys-font-family-default);
71
+ font-weight: var(--cnvs-sys-font-weight-bold);
72
+ line-height: var(--cnvs-sys-line-height-body-medium);
73
+ font-size: var(--cnvs-sys-font-size-body-medium);
74
+ color: var(--cnvs-sys-color-text-strong);
75
+ padding: 0.125rem var(--cnvs-sys-space-zero);
76
+ text-align: left;
77
+ }
78
+
79
+
80
+ .cnvs-expandable-avatar {
81
+ box-sizing: border-box;
82
+ margin-inline-end: var(--cnvs-sys-space-x2);
83
+ flex-shrink: 0;
84
+ }
85
+
86
+
87
+ .cnvs-expandable-container {
88
+ box-sizing: border-box;
89
+ display: flex;
90
+ flex-direction: column;
91
+ padding: var(--cnvs-sys-space-x2);
92
+ }
93
+
package/loading-dots.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-lwv45h {
1
+ @keyframes animation-q8d75w {
2
2
  0%, 80%, 100% {
3
3
  transform: scale(0);
4
4
  }
@@ -26,7 +26,7 @@
26
26
  outline: 0.125rem solid transparent;
27
27
  transform: scale(0);
28
28
  display: inline-block;
29
- animation-name: animation-lwv45h;
29
+ animation-name: animation-q8d75w;
30
30
  animation-duration: calc(var(--cnvs-loading-dots-animation-duration-ms) * 35);
31
31
  animation-iteration-count: infinite;
32
32
  animation-timing-function: ease-in-out;
package/menu.css CHANGED
@@ -137,3 +137,18 @@
137
137
  color: var(--cnvs-system-icon-color);
138
138
  }
139
139
 
140
+
141
+ .cnvs-menu-group-heading {
142
+ box-sizing: border-box;
143
+ font-family: var(--cnvs-sys-font-family-default);
144
+ font-weight: var(--cnvs-sys-font-weight-bold);
145
+ line-height: var(--cnvs-sys-line-height-subtext-large);
146
+ font-size: var(--cnvs-sys-font-size-subtext-large);
147
+ letter-spacing: var(--cnvs-base-letter-spacing-150);
148
+ display: flex;
149
+ align-items: center;
150
+ width: 100%;
151
+ gap: var(--cnvs-sys-space-x4);
152
+ padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
153
+ }
154
+
package/modal.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-lwv45j {
1
+ @keyframes animation-q8d75y {
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-lwv45j;
21
+ animation-name: animation-q8d75y;
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.1080-next.0",
3
+ "version": "13.0.0-alpha.1084-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": "3a91b45efddac2543b8c0d88f2e33f54133778ea"
28
+ "gitHead": "7e212f823aba1ffbb1965c6ffdf8e270ad575a96"
29
29
  }
package/popup.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-lwv4x {
1
+ @keyframes animation-q8d7x {
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-lwv4x;
30
+ animation-name: animation-q8d7x;
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-lwv45w {
39
+ @keyframes animation-q8d76b {
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-lwv45w 0.8s linear infinite alternate;
52
+ animation: animation-q8d76b 0.8s linear infinite alternate;
53
53
  position: relative;
54
54
  overflow: hidden;
55
55
  height: 100%;
package/tooltip.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes animation-lwv42r {
1
+ @keyframes animation-q8d72r {
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-lwv42r;
25
+ animation-name: animation-q8d72r;
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);