@workday/canvas-kit-css 15.0.0-alpha.0064-next.0 → 15.0.0-alpha.0075-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/badge.css +2 -2
- package/loading-dots.css +2 -2
- package/modal.css +2 -2
- package/package.json +2 -2
- package/pill.css +229 -0
- package/popup.css +2 -2
- package/skeleton.css +2 -2
- package/tooltip.css +2 -2
package/badge.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-2n4jp4 {
|
|
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-
|
|
15
|
+
animation: animation-2n4jp4 0.2s ease;
|
|
16
16
|
border-radius: var(--cnvs-sys-shape-round);
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
font-family: var(--cnvs-sys-font-family-default);
|
package/loading-dots.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-oqv82 {
|
|
2
2
|
0%, 80%, 100% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
outline: 0.125rem solid transparent;
|
|
39
39
|
transform: scale(0);
|
|
40
40
|
display: inline-block;
|
|
41
|
-
animation-name: animation-
|
|
41
|
+
animation-name: animation-oqv82;
|
|
42
42
|
animation-duration: calc(var(--cnvs-loading-dots-animation-duration-ms) * 35);
|
|
43
43
|
animation-iteration-count: infinite;
|
|
44
44
|
animation-timing-function: ease-in-out;
|
package/modal.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes animation-
|
|
1
|
+
@keyframes animation-2f9ff0 {
|
|
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-
|
|
21
|
+
animation-name: animation-2f9ff0;
|
|
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": "15.0.0-alpha.
|
|
3
|
+
"version": "15.0.0-alpha.0075-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": "
|
|
28
|
+
"gitHead": "85c5dfa329d29263f96a49be74ef55f551990c7b"
|
|
29
29
|
}
|
package/pill.css
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
.cnvs-pill-icon {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
margin-inline-start: calc(var(--cnvs-sys-space-x1) * -1);
|
|
4
|
+
--cnvs-svg-size: 1.25rem;
|
|
5
|
+
flex: 0 0 auto;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
.cnvs-pill-icon-button {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
margin-inline-end: calc(0.4375rem * -1);
|
|
12
|
+
margin-inline-start: calc(0.125rem * -1);
|
|
13
|
+
border-radius: var(--cnvs-sys-shape-half);
|
|
14
|
+
height: calc(var(--cnvs-sys-space-x4) + var(--cnvs-sys-space-x1));
|
|
15
|
+
width: calc(var(--cnvs-sys-space-x4) + var(--cnvs-sys-space-x1));
|
|
16
|
+
padding: var(--cnvs-sys-space-zero);
|
|
17
|
+
overflow: visible;
|
|
18
|
+
flex: 0 0 auto;
|
|
19
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-transparent);
|
|
20
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
21
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-strong);
|
|
22
|
+
--cnvs-svg-size: var(--cnvs-sys-space-x6);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.cnvs-pill-icon-button ::after {
|
|
26
|
+
content: "";
|
|
27
|
+
height: var(--cnvs-sys-space-x8);
|
|
28
|
+
width: var(--cnvs-sys-space-x8);
|
|
29
|
+
position: absolute;
|
|
30
|
+
left: calc(0.4375rem * -1);
|
|
31
|
+
bottom: calc(0.4375rem * -1);
|
|
32
|
+
margin: var(--cnvs-sys-space-zero);
|
|
33
|
+
pointer-events: all;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cnvs-pill-icon-button:focus-visible, .cnvs-pill-icon-button.focus {
|
|
37
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-transparent);
|
|
38
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
39
|
+
box-shadow: 0 0 0 0px var(--cnvs-sys-color-border-transparent),0 0 0 2px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.cnvs-pill-icon-button:hover, .cnvs-pill-icon-button.hover {
|
|
43
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-transparent);
|
|
44
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-strong);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.cnvs-pill-icon-button:active, .cnvs-pill-icon-button.active {
|
|
48
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-transparent);
|
|
49
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-stronger);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.cnvs-pill-icon-button:disabled, .cnvs-pill-icon-button.disabled {
|
|
53
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-transparent);
|
|
54
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
55
|
+
--cnvs-system-icon-color: var(--cnvs-sys-color-fg-disabled);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
.cnvs-pill-count {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
border-start-start-radius: var(--cnvs-sys-shape-zero);
|
|
62
|
+
border-start-end-radius: var(--cnvs-sys-shape-x1);
|
|
63
|
+
border-end-start-radius: var(--cnvs-sys-shape-zero);
|
|
64
|
+
border-end-end-radius: var(--cnvs-sys-shape-x1);
|
|
65
|
+
border-width: 0.0625rem;
|
|
66
|
+
border-inline-start-width: var(--cnvs-sys-space-zero);
|
|
67
|
+
border-style: solid;
|
|
68
|
+
border-color: var(--cnvs-pill-count-border-color, var(--cnvs-sys-color-border-transparent));
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
height: 1.375rem;
|
|
73
|
+
width: var(--cnvs-sys-space-x6);
|
|
74
|
+
padding: var(--cnvs-sys-space-zero) var(--cnvs-sys-space-x1);
|
|
75
|
+
margin-inline-end: calc(var(--cnvs-sys-space-x2) * -1);
|
|
76
|
+
margin-inline-start: var(--cnvs-sys-space-x1);
|
|
77
|
+
background-color: var(--cnvs-pill-count-background-color, var(--cnvs-sys-color-bg-alt-stronger));
|
|
78
|
+
flex: 0 0 auto;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
.cnvs-pill-avatar {
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
flex: 0 0 auto;
|
|
85
|
+
font-family: var(--cnvs-sys-font-family-default);
|
|
86
|
+
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
87
|
+
line-height: var(--cnvs-sys-line-height-subtext-small);
|
|
88
|
+
font-size: var(--cnvs-sys-font-size-subtext-small);
|
|
89
|
+
letter-spacing: var(--cnvs-base-letter-spacing-50);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cnvs-pill-avatar:disabled, .cnvs-pill-avatar.disabled {
|
|
93
|
+
opacity: var(--cnvs-sys-opacity-disabled);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
.cnvs-pill-label {
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
flex-shrink: 1;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
text-overflow: ellipsis;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
.cnvs-pill {
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
display: initial;
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
align-items: center;
|
|
111
|
+
border-radius: var(--cnvs-sys-shape-x1);
|
|
112
|
+
font-family: var(--cnvs-sys-font-family-default);
|
|
113
|
+
font-weight: var(--cnvs-sys-font-weight-medium);
|
|
114
|
+
line-height: var(--cnvs-sys-line-height-subtext-small);
|
|
115
|
+
font-size: var(--cnvs-sys-font-size-subtext-large);
|
|
116
|
+
letter-spacing: var(--cnvs-base-letter-spacing-150);
|
|
117
|
+
box-shadow: none;
|
|
118
|
+
outline: none;
|
|
119
|
+
-webkit-font-smoothing: antialiased;
|
|
120
|
+
-moz-osx-font-smoothing: grayscale;
|
|
121
|
+
width: fit-content;
|
|
122
|
+
padding: 0.125rem var(--cnvs-sys-space-x2);
|
|
123
|
+
height: var(--cnvs-sys-space-x6);
|
|
124
|
+
position: relative;
|
|
125
|
+
gap: var(--cnvs-sys-space-x1);
|
|
126
|
+
max-width: var(--cnvs-pill-max-width);
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
text-overflow: ellipsis;
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
131
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-input-default);
|
|
132
|
+
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
133
|
+
--cnvs-system-icon-color: currentColor;
|
|
134
|
+
--cnvs-pill-count-border-color: transparent;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.cnvs-pill:has(span) {
|
|
138
|
+
display: flex;
|
|
139
|
+
line-height: var(--cnvs-sys-line-height-subtext-large);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.cnvs-pill:hover, .cnvs-pill.hover {
|
|
143
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-strong);
|
|
144
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-input-strong);
|
|
145
|
+
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
146
|
+
--cnvs-system-icon-color: currentColor;
|
|
147
|
+
--cnvs-pill-count-background-color: var(--cnvs-sys-color-bg-muted-softer);
|
|
148
|
+
--cnvs-pill-count-border-color: transparent;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.cnvs-pill:active, .cnvs-pill.active {
|
|
152
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-stronger);
|
|
153
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-input-strong);
|
|
154
|
+
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
155
|
+
--cnvs-system-icon-color: currentColor;
|
|
156
|
+
--cnvs-pill-count-background-color: var(--cnvs-sys-color-bg-muted-softer);
|
|
157
|
+
--cnvs-pill-count-border-color: transparent;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.cnvs-pill:focus-visible, .cnvs-pill.focus {
|
|
161
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
162
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-primary-default);
|
|
163
|
+
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
164
|
+
border-color: var(--cnvs-sys-color-border-primary-default);
|
|
165
|
+
--cnvs-system-icon-color: currentColor;
|
|
166
|
+
--cnvs-pill-count-border-color: var(--cnvs-sys-color-border-primary-default);
|
|
167
|
+
box-shadow: inset 0 0 0 1px var(--cnvs-sys-color-border-primary-default),0 0 0 0px var(--cnvs-sys-color-border-primary-default);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.cnvs-pill:disabled, .cnvs-pill.disabled {
|
|
171
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
172
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-input-disabled);
|
|
173
|
+
--cnvs-button-label: var(--cnvs-sys-color-fg-disabled);
|
|
174
|
+
--cnvs-system-icon-color: currentColor;
|
|
175
|
+
--cnvs-pill-count-background-color: var(--cnvs-sys-color-bg-alt-strong);
|
|
176
|
+
--cnvs-pill-count-border-color: transparent;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
.cnvs-pill.variant-read-only {
|
|
181
|
+
border: 0.0625rem solid var(--cnvs-sys-color-border-container);
|
|
182
|
+
cursor: default;
|
|
183
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.cnvs-pill.variant-read-only:hover, .cnvs-pill.variant-read-only.hover {
|
|
187
|
+
border-color: var(--cnvs-sys-color-border-container);
|
|
188
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.cnvs-pill.variant-read-only:focus-visible, .cnvs-pill.variant-read-only.focus {
|
|
192
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cnvs-pill.variant-read-only:active, .cnvs-pill.variant-read-only.active {
|
|
196
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.cnvs-pill.variant-read-only:disabled, .cnvs-pill.variant-read-only.disabled {
|
|
200
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-default);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
.cnvs-pill.variant-removable {
|
|
205
|
+
cursor: default;
|
|
206
|
+
overflow: revert;
|
|
207
|
+
position: relative;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.cnvs-pill.variant-removable:focus-visible, .cnvs-pill.variant-removable.focus {
|
|
211
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
212
|
+
--cnvs-button-border: var(--cnvs-sys-color-border-input-default);
|
|
213
|
+
--cnvs-button-label: var(--cnvs-sys-color-fg-strong);
|
|
214
|
+
box-shadow: none;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.cnvs-pill.variant-removable:hover, .cnvs-pill.variant-removable.hover {
|
|
218
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-strong);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.cnvs-pill.variant-removable:active, .cnvs-pill.variant-removable.active {
|
|
222
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-stronger);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.cnvs-pill.variant-removable:disabled, .cnvs-pill.variant-removable.disabled {
|
|
226
|
+
--cnvs-button-background: var(--cnvs-sys-color-bg-alt-default);
|
|
227
|
+
--cnvs-system-icon-color: currentColor;
|
|
228
|
+
}
|
|
229
|
+
|
package/popup.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
@keyframes animation-
|
|
6
|
+
@keyframes animation-3iww3 {
|
|
7
7
|
0% {
|
|
8
8
|
opacity: 1;
|
|
9
9
|
transform: translate(var(--cnvs-translate-position-x), var(--cnvs-translate-position-y));
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
padding: var(--cnvs-sys-space-x6);
|
|
32
32
|
max-height: var(--cnvs-popup-card-max-height);
|
|
33
33
|
overflow-y: auto;
|
|
34
|
-
animation-name: animation-
|
|
34
|
+
animation-name: animation-3iww3;
|
|
35
35
|
animation-duration: 150ms;
|
|
36
36
|
animation-timing-function: ease-out;
|
|
37
37
|
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-
|
|
39
|
+
@keyframes animation-1uyxkk {
|
|
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-
|
|
52
|
+
animation: animation-1uyxkk 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-
|
|
1
|
+
@keyframes animation-1e6unq {
|
|
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-
|
|
25
|
+
animation-name: animation-1e6unq;
|
|
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);
|