@workday/canvas-kit-css 11.0.0-alpha.764-next.0 → 11.0.0-alpha.766-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 +6 -1
- 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
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;
|
|
@@ -59,6 +61,7 @@
|
|
|
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%;
|
|
@@ -97,6 +100,7 @@
|
|
|
97
100
|
|
|
98
101
|
|
|
99
102
|
.cnvs-indeterminate-box {
|
|
103
|
+
box-sizing: border-box;
|
|
100
104
|
width: 0.625rem;
|
|
101
105
|
height: calc(var(--cnvs-sys-space-x1) / 2);
|
|
102
106
|
background-color: var(--cnvs-brand-primary-accent);
|
|
@@ -104,6 +108,7 @@
|
|
|
104
108
|
|
|
105
109
|
|
|
106
110
|
.cnvs-checkbox-input {
|
|
111
|
+
box-sizing: border-box;
|
|
107
112
|
border-radius: var(--cnvs-sys-shape-half);
|
|
108
113
|
width: var(--cnvs-sys-space-x6);
|
|
109
114
|
height: var(--cnvs-sys-space-x6);
|
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.766-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": "a0883a359bb6af9d380b1e562662713b99fad4cc"
|
|
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);
|