@workday/canvas-kit-css 11.0.0-alpha.761-next.0 → 11.0.0-alpha.765-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 +1 -1
- package/card.css +6 -0
- package/checkbox.css +52 -70
- package/collection.css +1 -0
- package/combobox.css +6 -0
- package/icon.css +8 -1
- package/menu.css +2 -1
- package/package.json +2 -2
- package/select.css +3 -0
- package/switch.css +3 -0
- package/table.css +8 -8
- package/text.css +5 -0
package/badge.css
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.cnvs-count-badge {
|
|
13
|
+
box-sizing: border-box;
|
|
13
14
|
align-items: center;
|
|
14
15
|
animation: animation-d9cb82 0.2s ease;
|
|
15
16
|
border-radius: var(--cnvs-sys-shape-round);
|
|
16
|
-
box-sizing: border-box;
|
|
17
17
|
display: inline-flex;
|
|
18
18
|
font-family: var(--cnvs-sys-font-family-default);
|
|
19
19
|
font-size: var(--cnvs-sys-font-size-subtext-medium);
|
package/card.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.cnvs-card-heading {
|
|
2
|
+
box-sizing: border-box;
|
|
2
3
|
color: var(--cnvs-sys-color-text-strong);
|
|
3
4
|
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
4
5
|
margin-bottom: var(--cnvs-sys-space-x6);
|
|
@@ -6,8 +7,13 @@
|
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
|
|
10
|
+
.cnvs-card-body {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
9
14
|
|
|
10
15
|
.cnvs-card {
|
|
16
|
+
box-sizing: border-box;
|
|
11
17
|
box-shadow: var(--cnvs-sys-depth-1);
|
|
12
18
|
padding: var(--cnvs-sys-space-x8);
|
|
13
19
|
background-color: var(--cnvs-sys-color-bg-default);
|
package/checkbox.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.cnvs-checkbox-ripple {
|
|
2
|
+
box-sizing: border-box;
|
|
2
3
|
border-radius: var(--cnvs-sys-shape-round);
|
|
3
4
|
box-shadow: none;
|
|
4
5
|
height: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
@@ -10,6 +11,7 @@
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
.cnvs-checkbox-container {
|
|
14
|
+
box-sizing: border-box;
|
|
13
15
|
display: flex;
|
|
14
16
|
align-items: center;
|
|
15
17
|
min-height: var(--cnvs-sys-space-x6);
|
|
@@ -30,10 +32,10 @@
|
|
|
30
32
|
|
|
31
33
|
|
|
32
34
|
.cnvs-checkbox-background {
|
|
35
|
+
box-sizing: border-box;
|
|
33
36
|
align-items: center;
|
|
34
|
-
background-color: var(--cnvs-
|
|
37
|
+
background-color: var(--cnvs-sys-color-bg-default);
|
|
35
38
|
border-radius: var(--cnvs-sys-shape-half);
|
|
36
|
-
box-sizing: border-box;
|
|
37
39
|
display: flex;
|
|
38
40
|
height: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
39
41
|
justify-content: center;
|
|
@@ -42,29 +44,30 @@
|
|
|
42
44
|
position: absolute;
|
|
43
45
|
transition: border 200ms ease,background 200ms;
|
|
44
46
|
width: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
45
|
-
border: 0.0625rem solid var(--cnvs-
|
|
47
|
+
border: 0.0625rem solid var(--cnvs-sys-color-border-input-default);
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
|
|
49
51
|
.cnvs-checkbox-background--error-error {
|
|
50
|
-
--cnvs-background-
|
|
51
|
-
--cnvs-background-
|
|
52
|
+
--cnvs-checkbox-background-errorRingColorInner: var(--cnvs-brand-error-base);
|
|
53
|
+
--cnvs-checkbox-background-errorRingColorOuter: transparent;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
|
|
55
57
|
.cnvs-checkbox-background--error-alert {
|
|
56
|
-
--cnvs-background-
|
|
57
|
-
--cnvs-background-
|
|
58
|
+
--cnvs-checkbox-background-errorRingColorInner: var(--cnvs-brand-alert-base);
|
|
59
|
+
--cnvs-checkbox-background-errorRingColorOuter: var(--cnvs-brand-alert-darkest);
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
|
|
61
63
|
.cnvs-checkbox-check {
|
|
64
|
+
box-sizing: border-box;
|
|
62
65
|
display: flex;
|
|
63
66
|
flex-direction: column;
|
|
64
67
|
max-width: 100%;
|
|
65
68
|
pointer-events: none;
|
|
66
69
|
transition: transform 200ms ease,opacity 200ms ease;
|
|
67
|
-
opacity:
|
|
70
|
+
opacity: var(--cnvs-sys-opacity-zero);
|
|
68
71
|
transform: scale(0.5);
|
|
69
72
|
}
|
|
70
73
|
|
|
@@ -75,30 +78,37 @@
|
|
|
75
78
|
|
|
76
79
|
|
|
77
80
|
.cnvs-checkbox-check--checked {
|
|
78
|
-
|
|
81
|
+
--cnvs-system-icon-color: var(--cnvs-brand-primary-accent);
|
|
82
|
+
opacity: var(--cnvs-sys-opacity-full);
|
|
79
83
|
transform: scale(1);
|
|
80
84
|
}
|
|
81
85
|
|
|
82
86
|
|
|
83
87
|
.cnvs-checkbox-check--indeterminate {
|
|
84
|
-
opacity:
|
|
88
|
+
opacity: var(--cnvs-sys-opacity-full);
|
|
85
89
|
transform: scale(1);
|
|
86
90
|
}
|
|
87
91
|
|
|
88
92
|
|
|
93
|
+
.cnvs-checkbox-check--variant-inverse {
|
|
94
|
+
--cnvs-system-icon-color: var(--cnvs-brand-primary-base);
|
|
95
|
+
}
|
|
96
|
+
|
|
89
97
|
.cnvs-checkbox-check--variant-inverse>div {
|
|
90
98
|
background-color: var(--cnvs-brand-primary-base);
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
|
|
94
102
|
.cnvs-indeterminate-box {
|
|
95
|
-
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
width: 0.625rem;
|
|
96
105
|
height: calc(var(--cnvs-sys-space-x1) / 2);
|
|
97
106
|
background-color: var(--cnvs-brand-primary-accent);
|
|
98
107
|
}
|
|
99
108
|
|
|
100
109
|
|
|
101
110
|
.cnvs-checkbox-input {
|
|
111
|
+
box-sizing: border-box;
|
|
102
112
|
border-radius: var(--cnvs-sys-shape-half);
|
|
103
113
|
width: var(--cnvs-sys-space-x6);
|
|
104
114
|
height: var(--cnvs-sys-space-x6);
|
|
@@ -106,19 +116,19 @@
|
|
|
106
116
|
margin-top: calc(0.1875rem * -1);
|
|
107
117
|
margin-inline-start: calc(0.1875rem * -1);
|
|
108
118
|
position: absolute;
|
|
109
|
-
opacity:
|
|
119
|
+
opacity: var(--cnvs-sys-opacity-zero);
|
|
110
120
|
}
|
|
111
121
|
|
|
112
122
|
.cnvs-checkbox-input:not(:disabled) {
|
|
113
123
|
cursor: pointer;
|
|
114
124
|
}
|
|
115
125
|
|
|
116
|
-
.cnvs-checkbox-input:where(:hover
|
|
117
|
-
box-shadow: 0 0 0 0.4375rem var(--cnvs-
|
|
126
|
+
.cnvs-checkbox-input:where(:hover,.hover)~span:first-of-type {
|
|
127
|
+
box-shadow: 0 0 0 0.4375rem var(--cnvs-sys-color-bg-alt-soft);
|
|
118
128
|
}
|
|
119
129
|
|
|
120
130
|
.cnvs-checkbox-input:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
121
|
-
border-color: var(--cnvs-
|
|
131
|
+
border-color: var(--cnvs-sys-color-border-input-strong);
|
|
122
132
|
}
|
|
123
133
|
|
|
124
134
|
.cnvs-checkbox-input:where(:checked, :indeterminate)~div:first-of-type {
|
|
@@ -127,9 +137,9 @@
|
|
|
127
137
|
}
|
|
128
138
|
|
|
129
139
|
.cnvs-checkbox-input:disabled~div:first-of-type {
|
|
130
|
-
border-color: var(--cnvs-
|
|
131
|
-
background-color: var(--cnvs-
|
|
132
|
-
opacity:
|
|
140
|
+
border-color: var(--cnvs-sys-color-border-input-disabled);
|
|
141
|
+
background-color: var(--cnvs-sys-color-bg-alt-softer);
|
|
142
|
+
opacity: var(--cnvs-sys-opacity-full);
|
|
133
143
|
}
|
|
134
144
|
|
|
135
145
|
.cnvs-checkbox-input:disabled:where(:checked, :indeterminate)~div:first-of-type {
|
|
@@ -163,36 +173,36 @@
|
|
|
163
173
|
}
|
|
164
174
|
|
|
165
175
|
.cnvs-checkbox-input--variant-inverse~div:first-of-type {
|
|
166
|
-
border-color: var(--cnvs-
|
|
176
|
+
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
167
177
|
}
|
|
168
178
|
|
|
169
179
|
.cnvs-checkbox-input--variant-inverse:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
170
|
-
border-color: var(--cnvs-
|
|
180
|
+
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
171
181
|
}
|
|
172
182
|
|
|
173
183
|
.cnvs-checkbox-input--variant-inverse:where(:checked, :indeterminate)~div:first-of-type {
|
|
174
|
-
border-color: var(--cnvs-
|
|
175
|
-
background-color: var(--cnvs-
|
|
184
|
+
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
185
|
+
background-color: var(--cnvs-sys-color-bg-default);
|
|
176
186
|
}
|
|
177
187
|
|
|
178
188
|
.cnvs-checkbox-input--variant-inverse:disabled~div:first-of-type {
|
|
179
|
-
background-color: var(--cnvs-
|
|
189
|
+
background-color: var(--cnvs-sys-color-bg-alt-default);
|
|
180
190
|
opacity: var(--cnvs-sys-opacity-disabled);
|
|
181
191
|
}
|
|
182
192
|
|
|
183
193
|
.cnvs-checkbox-input--variant-inverse:disabled:where(:checked, :indeterminate)~div:first-of-type {
|
|
184
|
-
border-color: var(--cnvs-
|
|
185
|
-
background-color: var(--cnvs-
|
|
194
|
+
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
195
|
+
background-color: var(--cnvs-sys-color-bg-alt-default);
|
|
186
196
|
}
|
|
187
197
|
|
|
188
198
|
.cnvs-checkbox-input--variant-inverse:where(:focus-visible, .focus)~div:first-of-type {
|
|
189
|
-
border-color: var(--cnvs-
|
|
190
|
-
box-shadow: 0 0 0 0px var(--cnvs-
|
|
199
|
+
border-color: var(--cnvs-sys-color-border-contrast-default);
|
|
200
|
+
box-shadow: 0 0 0 0px var(--cnvs-sys-color-fg-strong),0 0 0 2px var(--cnvs-sys-color-fg-inverse);
|
|
191
201
|
}
|
|
192
202
|
|
|
193
203
|
.cnvs-checkbox-input--variant-inverse:checked:focus-visible~div:first-of-type, .cnvs-checkbox-input--variant-inverse:checked.focus~div:first-of-type, .cnvs-checkbox-input--variant-inverse:indeterminate:focus-visible~div:first-of-type, .cnvs-checkbox-input--variant-inverse:indeterminate.focus~div:first-of-type {
|
|
194
|
-
box-shadow: 0 0 0 2px var(--cnvs-
|
|
195
|
-
border-color: var(--cnvs-
|
|
204
|
+
box-shadow: 0 0 0 2px var(--cnvs-sys-color-fg-strong),0 0 0 4px var(--cnvs-sys-color-fg-inverse);
|
|
205
|
+
border-color: var(--cnvs-sys-color-border-inverse);
|
|
196
206
|
}
|
|
197
207
|
|
|
198
208
|
|
|
@@ -201,58 +211,30 @@
|
|
|
201
211
|
}
|
|
202
212
|
|
|
203
213
|
|
|
204
|
-
.cnvs-checkbox-input--error
|
|
205
|
-
border-color: var(--cnvs-background-
|
|
206
|
-
box-shadow: 0 0 0 0.0625rem var(--cnvs-background-
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.cnvs-checkbox-input--error-error:where(:checked, :indeterminate)~div:first-of-type {
|
|
210
|
-
border-color: transparent;
|
|
211
|
-
box-shadow: 0 0 0 0.125rem var(--cnvs-base-palette-french-vanilla-100),0 0 0 0.25rem var(--cnvs-background-inner),0 0 0 0.3125rem var(--cnvs-background-outer);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.cnvs-checkbox-input--error-error:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
215
|
-
border-color: var(--cnvs-background-inner);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
.cnvs-checkbox-input--error-alert:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
220
|
-
border: 0.0625rem solid var(--cnvs-background-inner);
|
|
221
|
-
box-shadow: 0 0 0 0.0625rem var(--cnvs-background-inner),0 0 0 0.125rem var(--cnvs-background-outer);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.cnvs-checkbox-input--error-alert:not(where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
225
|
-
border-color: var(--cnvs-background-inner);
|
|
214
|
+
.cnvs-checkbox-input--error:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
215
|
+
border-color: var(--cnvs-checkbox-background-errorRingColorInner);
|
|
216
|
+
box-shadow: 0 0 0 0.0625rem var(--cnvs-checkbox-background-errorRingColorInner),0 0 0 0.125rem var(--cnvs-checkbox-background-errorRingColorOuter);
|
|
226
217
|
}
|
|
227
218
|
|
|
228
|
-
.cnvs-checkbox-input--error
|
|
219
|
+
.cnvs-checkbox-input--error:where(:checked, :indeterminate)~div:first-of-type {
|
|
229
220
|
border-color: transparent;
|
|
230
|
-
box-shadow: 0 0 0 0.125rem var(--cnvs-
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error-error:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
235
|
-
border: 0.0625rem solid var(--cnvs-base-palette-soap-300);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error-error:not(where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
239
|
-
border-color: var(--cnvs-base-palette-soap-300);
|
|
221
|
+
box-shadow: 0 0 0 0.125rem var(--cnvs-sys-color-fg-inverse),0 0 0 0.25rem var(--cnvs-checkbox-background-errorRingColorInner),0 0 0 0.3125rem var(--cnvs-checkbox-background-errorRingColorOuter);
|
|
240
222
|
}
|
|
241
223
|
|
|
242
|
-
.cnvs-checkbox-input--
|
|
243
|
-
border-color: var(--cnvs-
|
|
224
|
+
.cnvs-checkbox-input--error:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
225
|
+
border-color: var(--cnvs-checkbox-background-errorRingColorInner);
|
|
244
226
|
}
|
|
245
227
|
|
|
246
228
|
|
|
247
|
-
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error
|
|
248
|
-
border: 0.0625rem solid var(--cnvs-
|
|
229
|
+
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
230
|
+
border: 0.0625rem solid var(--cnvs-sys-color-border-input-inverse);
|
|
249
231
|
}
|
|
250
232
|
|
|
251
|
-
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error
|
|
252
|
-
border-color: var(--cnvs-
|
|
233
|
+
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error:not(where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
234
|
+
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
253
235
|
}
|
|
254
236
|
|
|
255
|
-
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error
|
|
256
|
-
border-color: var(--cnvs-
|
|
237
|
+
.cnvs-checkbox-input--variant-inverse.cnvs-checkbox-input--error:where(:checked, :indeterminate)~div:first-of-type {
|
|
238
|
+
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
257
239
|
}
|
|
258
240
|
|
package/collection.css
CHANGED
package/combobox.css
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
.cnvs-combobox-menu-list {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
|
|
2
6
|
.cnvs-combobox-menu-item-icon {
|
|
7
|
+
box-sizing: border-box;
|
|
3
8
|
align-self: start;
|
|
4
9
|
}
|
|
5
10
|
|
|
6
11
|
|
|
7
12
|
.cnvs-combobox-menu-item {
|
|
13
|
+
box-sizing: border-box;
|
|
8
14
|
min-height: var(--cnvs-sys-space-x10);
|
|
9
15
|
}
|
|
10
16
|
|
package/icon.css
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
.cnvs-accent-icon {
|
|
19
|
+
box-sizing: border-box;
|
|
19
20
|
--cnvs-svg-size: 3.5rem;
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
|
|
35
36
|
|
|
36
37
|
.cnvs-applet-icon {
|
|
38
|
+
box-sizing: border-box;
|
|
37
39
|
--cnvs-svg-size: 5.75rem;
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
|
|
65
67
|
.cnvs-system-icon {
|
|
66
68
|
--cnvs-system-icon-backgroundColor: transparent;
|
|
69
|
+
box-sizing: border-box;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
.cnvs-system-icon .wd-icon-fill {
|
|
@@ -92,6 +95,7 @@
|
|
|
92
95
|
|
|
93
96
|
|
|
94
97
|
.cnvs-system-icon-circle {
|
|
98
|
+
box-sizing: border-box;
|
|
95
99
|
background: var(--cnvs-system-icon-circle-backgroundColor, var(--cnvs-base-palette-soap-200));
|
|
96
100
|
display: flex;
|
|
97
101
|
align-items: center;
|
|
@@ -99,7 +103,6 @@
|
|
|
99
103
|
padding: var(--cnvs-sys-space-zero);
|
|
100
104
|
border: none;
|
|
101
105
|
border-radius: var(--cnvs-sys-shape-round);
|
|
102
|
-
box-sizing: border-box;
|
|
103
106
|
overflow: hidden;
|
|
104
107
|
width: var(--cnvs-system-icon-circle-containerSize, var(--cnvs-sys-space-x10));
|
|
105
108
|
height: var(--cnvs-system-icon-circle-containerSize, var(--cnvs-sys-space-x10));
|
|
@@ -113,6 +116,10 @@
|
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
|
|
119
|
+
.cnvs-graphic {
|
|
120
|
+
box-sizing: border-box;
|
|
121
|
+
}
|
|
122
|
+
|
|
116
123
|
.cnvs-graphic svg {
|
|
117
124
|
width: var(--cnvs-graphic-width, 100%);
|
|
118
125
|
height: var(--cnvs-graphic-height, 100%);
|
package/menu.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--cnvs-menu-card-minWidth: 0.0625rem;
|
|
3
3
|
--cnvs-menu-card-transformOriginVertical: top;
|
|
4
4
|
--cnvs-menu-card-transformOriginHorizontal: left;
|
|
5
|
+
box-sizing: border-box;
|
|
5
6
|
font-family: var(--cnvs-base-font-family-50);
|
|
6
7
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
7
8
|
line-height: var(--cnvs-base-line-height-100);
|
|
@@ -16,7 +17,6 @@
|
|
|
16
17
|
max-width: calc(100vw - var(--cnvs-sys-space-x8));
|
|
17
18
|
box-shadow: var(--cnvs-sys-depth-3);
|
|
18
19
|
min-width: var(--cnvs-menu-card-minWidth);
|
|
19
|
-
box-sizing: border-box;
|
|
20
20
|
transform-origin: var(--cnvs-menu-card-transformOriginVertical) var(--cnvs-menu-card-transformOriginHorizontal);
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
.cnvs-menu-list {
|
|
29
|
+
box-sizing: border-box;
|
|
29
30
|
background: var(--cnvs-base-palette-french-vanilla-100);
|
|
30
31
|
border-radius: var(--cnvs-sys-shape-zero);
|
|
31
32
|
padding: var(--cnvs-sys-space-zero);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-css",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.765-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": "75a590b82446ba010969a3beb9a74df0571b163c"
|
|
29
29
|
}
|
package/select.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.cnvs-select-input {
|
|
2
|
+
box-sizing: border-box;
|
|
2
3
|
caret-color: transparent;
|
|
3
4
|
cursor: default;
|
|
4
5
|
}
|
|
@@ -9,12 +10,14 @@
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
.cnvs-select-icons {
|
|
13
|
+
box-sizing: border-box;
|
|
12
14
|
position: absolute;
|
|
13
15
|
pointer-events: none;
|
|
14
16
|
}
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
.cnvs-hidden-select-input {
|
|
20
|
+
box-sizing: border-box;
|
|
18
21
|
position: absolute;
|
|
19
22
|
top: var(--cnvs-sys-space-zero);
|
|
20
23
|
bottom: var(--cnvs-sys-space-zero);
|
package/switch.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.cnvs-switch-container {
|
|
2
|
+
box-sizing: border-box;
|
|
2
3
|
position: relative;
|
|
3
4
|
height: var(--cnvs-sys-space-x6);
|
|
4
5
|
width: var(--cnvs-sys-space-x8);
|
|
@@ -6,6 +7,7 @@
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
.cnvs-switch-input {
|
|
10
|
+
box-sizing: border-box;
|
|
9
11
|
display: flex;
|
|
10
12
|
position: absolute;
|
|
11
13
|
height: var(--cnvs-sys-space-x6);
|
|
@@ -69,6 +71,7 @@
|
|
|
69
71
|
|
|
70
72
|
|
|
71
73
|
.cnvs-switch-circle {
|
|
74
|
+
box-sizing: border-box;
|
|
72
75
|
width: var(--cnvs-sys-space-x3);
|
|
73
76
|
height: var(--cnvs-sys-space-x3);
|
|
74
77
|
border-radius: var(--cnvs-sys-shape-round);
|
package/table.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.cnvs-table-head {
|
|
2
|
+
box-sizing: border-box;
|
|
2
3
|
display: grid;
|
|
3
4
|
background-color: var(--cnvs-base-palette-soap-100);
|
|
4
5
|
min-height: 3rem;
|
|
5
|
-
box-sizing: border-box;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.cnvs-table-head th:first-of-type {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
.cnvs-table-body {
|
|
18
|
-
display: grid;
|
|
19
18
|
box-sizing: border-box;
|
|
19
|
+
display: grid;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.cnvs-table-body tr:last-of-type td, .cnvs-table-body tr:last-of-type th {
|
|
@@ -37,14 +37,15 @@
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
.cnvs-table-row {
|
|
40
|
+
box-sizing: border-box;
|
|
40
41
|
display: grid;
|
|
41
42
|
grid-auto-flow: column;
|
|
42
43
|
grid-template-columns: repeat(var(--cnvs-children-cellNumber), minmax(10rem, 1fr));
|
|
43
|
-
box-sizing: border-box;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
.cnvs-table-header {
|
|
48
|
+
box-sizing: border-box;
|
|
48
49
|
display: grid;
|
|
49
50
|
align-items: center;
|
|
50
51
|
background-color: var(--cnvs-base-palette-french-vanilla-100);
|
|
@@ -54,11 +55,11 @@
|
|
|
54
55
|
padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
|
|
55
56
|
word-break: break-word;
|
|
56
57
|
font-weight: var(--cnvs-sys-font-weight-medium);
|
|
57
|
-
box-sizing: border-box;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
.cnvs-table-cell {
|
|
62
|
+
box-sizing: border-box;
|
|
62
63
|
display: grid;
|
|
63
64
|
align-items: center;
|
|
64
65
|
background-color: var(--cnvs-base-palette-french-vanilla-100);
|
|
@@ -68,25 +69,25 @@
|
|
|
68
69
|
min-height: 3.5rem;
|
|
69
70
|
padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
|
|
70
71
|
word-break: break-word;
|
|
71
|
-
box-sizing: border-box;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
.cnvs-table-footer {
|
|
76
|
-
display: grid;
|
|
77
76
|
box-sizing: border-box;
|
|
77
|
+
display: grid;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
.cnvs-table-caption {
|
|
82
|
+
box-sizing: border-box;
|
|
82
83
|
display: flex;
|
|
83
84
|
border-bottom: 0.0625rem solid var(--cnvs-base-palette-soap-500);
|
|
84
85
|
padding: var(--cnvs-sys-space-x2) var(--cnvs-sys-space-x4);
|
|
85
|
-
box-sizing: border-box;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
.cnvs-table {
|
|
90
|
+
box-sizing: border-box;
|
|
90
91
|
font-family: var(--cnvs-base-font-family-50);
|
|
91
92
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
92
93
|
line-height: var(--cnvs-base-line-height-100);
|
|
@@ -97,6 +98,5 @@
|
|
|
97
98
|
border-radius: var(--cnvs-sys-shape-x2);
|
|
98
99
|
overflow: auto;
|
|
99
100
|
color: var(--cnvs-base-palette-black-pepper-300);
|
|
100
|
-
box-sizing: border-box;
|
|
101
101
|
}
|
|
102
102
|
|
package/text.css
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
.cnvs-text {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
|
|
2
6
|
.cnvs-text--type-level-title-large {
|
|
3
7
|
font-family: var(--cnvs-base-font-family-50);
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
|
|
128
132
|
|
|
129
133
|
.cnvs-label-text {
|
|
134
|
+
box-sizing: border-box;
|
|
130
135
|
font-family: var(--cnvs-base-font-family-50);
|
|
131
136
|
font-weight: var(--cnvs-base-font-weight-400);
|
|
132
137
|
line-height: var(--cnvs-base-line-height-100);
|