@workday/canvas-kit-css 14.0.0-alpha.1165-next.0 → 14.0.0-alpha.1168-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/package.json +2 -2
- package/action-bar.css +0 -32
- package/avatar.css +0 -186
- package/badge.css +0 -38
- package/banner.css +0 -95
- package/breadcrumbs.css +0 -98
- package/button.css +0 -757
- package/card.css +0 -34
- package/checkbox.css +0 -240
- package/collection.css +0 -25
- package/color-picker.css +0 -87
- package/combobox.css +0 -4
- package/common.css +0 -53
- package/expandable.css +0 -97
- package/form-field.css +0 -190
- package/icon.css +0 -165
- package/loading-dots.css +0 -47
- package/menu.css +0 -155
- package/modal.css +0 -108
- package/pagination.css +0 -143
- package/popup.css +0 -72
- package/segmented-control.css +0 -75
- package/select.css +0 -37
- package/skeleton.css +0 -73
- package/switch.css +0 -93
- package/table.css +0 -132
- package/tabs.css +0 -123
- package/text-area.css +0 -30
- package/text-input.css +0 -146
- package/text.css +0 -189
- package/toast.css +0 -42
- package/tooltip.css +0 -79
package/card.css
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.cnvs-card-heading {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
color: var(--cnvs-sys-color-fg-strong);
|
|
4
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
5
|
-
margin-block: var(--cnvs-sys-space-zero);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
.cnvs-card-body {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.cnvs-card {
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
gap: var(--cnvs-sys-space-x6);
|
|
19
|
-
padding: var(--cnvs-sys-space-x8);
|
|
20
|
-
background-color: var(--cnvs-sys-color-bg-default);
|
|
21
|
-
border-radius: var(--cnvs-sys-shape-x2);
|
|
22
|
-
border: 0.0625rem solid var(--cnvs-sys-color-border-container);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.cnvs-card.variant-borderless {
|
|
27
|
-
border-color: transparent;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
.cnvs-card.variant-filled {
|
|
32
|
-
background-color: var(--cnvs-sys-color-bg-alt-soft);
|
|
33
|
-
}
|
|
34
|
-
|
package/checkbox.css
DELETED
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
.cnvs-checkbox-ripple {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
border-radius: var(--cnvs-sys-shape-round);
|
|
4
|
-
box-shadow: none;
|
|
5
|
-
height: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
6
|
-
width: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
7
|
-
transition: box-shadow 150ms ease-out;
|
|
8
|
-
position: absolute;
|
|
9
|
-
pointer-events: none;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.cnvs-checkbox-container {
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
min-height: var(--cnvs-sys-space-x6);
|
|
18
|
-
position: relative;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.cnvs-checkbox-container>div {
|
|
22
|
-
display: flex;
|
|
23
|
-
height: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
24
|
-
min-width: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
25
|
-
margin-top: 0.1875rem;
|
|
26
|
-
align-self: flex-start;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.cnvs-checkbox-container>label {
|
|
30
|
-
padding-inline-start: var(--cnvs-sys-space-x3);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.cnvs-checkbox-background {
|
|
35
|
-
box-sizing: border-box;
|
|
36
|
-
align-items: center;
|
|
37
|
-
background-color: var(--cnvs-sys-color-bg-default);
|
|
38
|
-
border-radius: var(--cnvs-sys-shape-half);
|
|
39
|
-
display: flex;
|
|
40
|
-
height: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
41
|
-
justify-content: center;
|
|
42
|
-
padding: var(--cnvs-sys-space-zero) calc(var(--cnvs-sys-space-x1) / 2);
|
|
43
|
-
pointer-events: none;
|
|
44
|
-
position: absolute;
|
|
45
|
-
transition: border 200ms ease,background 200ms;
|
|
46
|
-
width: calc(var(--cnvs-sys-space-x4) + 0.125rem);
|
|
47
|
-
border: 0.0625rem solid var(--cnvs-sys-color-border-input-default);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.cnvs-checkbox-background.error-error {
|
|
52
|
-
--cnvs-checkbox-background-error-ring-color-inner: var(--cnvs-brand-error-base);
|
|
53
|
-
--cnvs-checkbox-background-error-ring-color-outer: transparent;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.cnvs-checkbox-background.error-alert {
|
|
58
|
-
--cnvs-checkbox-background-error-ring-color-inner: var(--cnvs-brand-alert-base);
|
|
59
|
-
--cnvs-checkbox-background-error-ring-color-outer: var(--cnvs-brand-alert-darkest);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
.cnvs-checkbox-check {
|
|
64
|
-
box-sizing: border-box;
|
|
65
|
-
display: flex;
|
|
66
|
-
flex-direction: column;
|
|
67
|
-
max-width: 100%;
|
|
68
|
-
pointer-events: none;
|
|
69
|
-
transition: transform 200ms ease,opacity 200ms ease;
|
|
70
|
-
opacity: var(--cnvs-sys-opacity-zero);
|
|
71
|
-
transform: scale(0.5);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.cnvs-checkbox-check span {
|
|
75
|
-
margin-inline-start: calc(0.375rem * -1);
|
|
76
|
-
transition: margin 200ms ease;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
.cnvs-checkbox-check.checked {
|
|
81
|
-
--cnvs-system-icon-color: var(--cnvs-brand-primary-accent);
|
|
82
|
-
opacity: var(--cnvs-sys-opacity-full);
|
|
83
|
-
transform: scale(1);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.cnvs-checkbox-check.indeterminate {
|
|
88
|
-
opacity: var(--cnvs-sys-opacity-full);
|
|
89
|
-
transform: scale(1);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.cnvs-checkbox-check.variant-inverse {
|
|
94
|
-
--cnvs-system-icon-color: var(--cnvs-brand-primary-base);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.cnvs-checkbox-check.variant-inverse>div {
|
|
98
|
-
background-color: var(--cnvs-brand-primary-base);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
.cnvs-indeterminate-box {
|
|
103
|
-
box-sizing: border-box;
|
|
104
|
-
width: 0.625rem;
|
|
105
|
-
height: calc(var(--cnvs-sys-space-x1) / 2);
|
|
106
|
-
background-color: var(--cnvs-brand-primary-accent);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
.cnvs-checkbox-input {
|
|
111
|
-
box-sizing: border-box;
|
|
112
|
-
border-radius: var(--cnvs-sys-shape-half);
|
|
113
|
-
width: var(--cnvs-sys-space-x6);
|
|
114
|
-
height: var(--cnvs-sys-space-x6);
|
|
115
|
-
margin: var(--cnvs-sys-space-zero);
|
|
116
|
-
margin-top: calc(0.1875rem * -1);
|
|
117
|
-
margin-inline-start: calc(0.1875rem * -1);
|
|
118
|
-
position: absolute;
|
|
119
|
-
opacity: var(--cnvs-sys-opacity-zero);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.cnvs-checkbox-input:not(:disabled) {
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
}
|
|
125
|
-
|
|
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);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.cnvs-checkbox-input:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
131
|
-
border-color: var(--cnvs-sys-color-border-input-strong);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.cnvs-checkbox-input:where(:checked, :indeterminate)~div:first-of-type {
|
|
135
|
-
border-color: var(--cnvs-brand-primary-base);
|
|
136
|
-
background-color: var(--cnvs-brand-primary-base);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.cnvs-checkbox-input:disabled~div:first-of-type {
|
|
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);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.cnvs-checkbox-input:disabled:where(:checked, :indeterminate)~div:first-of-type {
|
|
146
|
-
border-color: var(--cnvs-brand-primary-light);
|
|
147
|
-
background-color: var(--cnvs-brand-primary-light);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.cnvs-checkbox-input:where(:focus-visible, :active, .focus, .active) {
|
|
151
|
-
outline: none;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.cnvs-checkbox-input:where(:focus-visible, .focus)~div:first-of-type {
|
|
155
|
-
border-color: var(--cnvs-brand-primary-base);
|
|
156
|
-
border-width: 0.125rem;
|
|
157
|
-
box-shadow: 0 0 0 0px var(--cnvs-sys-color-border-inverse, rgba(255,255,255,1)),0 0 0 0px var(--cnvs-brand-common-focus-outline, rgba(8,117,225,1));
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.cnvs-checkbox-input:checked:focus-visible~div:first-of-type, .cnvs-checkbox-input:indeterminate:focus-visible~div:first-of-type, .cnvs-checkbox-input:checked.focus~div:first-of-type, .cnvs-checkbox-input:indeterminate.focus~div:first-of-type {
|
|
161
|
-
box-shadow: 0 0 0 2px var(--cnvs-sys-color-border-inverse, rgba(255,255,255,1)),0 0 0 4px var(--cnvs-brand-common-focus-outline);
|
|
162
|
-
border-color: var(--cnvs-brand-primary-base);
|
|
163
|
-
border-width: 0.125rem;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.cnvs-checkbox-input:checked:focus-visible~div:first-of-type span, .cnvs-checkbox-input:indeterminate:focus-visible~div:first-of-type span, .cnvs-checkbox-input:checked.focus~div:first-of-type span, .cnvs-checkbox-input:indeterminate.focus~div:first-of-type span {
|
|
167
|
-
margin-inline-start: calc(0.4375rem * -1);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
.cnvs-checkbox-input.variant-inverse~span:first-of-type {
|
|
172
|
-
opacity: var(--cnvs-sys-opacity-disabled);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.cnvs-checkbox-input.variant-inverse~div:first-of-type {
|
|
176
|
-
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.cnvs-checkbox-input.variant-inverse:not(:where(:checked, :indeterminate, :disabled, :focus-visible, .focus)):where(:hover, .hover, :active, .active)~div:first-of-type {
|
|
180
|
-
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.cnvs-checkbox-input.variant-inverse:where(:checked, :indeterminate)~div:first-of-type {
|
|
184
|
-
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
185
|
-
background-color: var(--cnvs-sys-color-bg-default);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.cnvs-checkbox-input.variant-inverse:disabled~div:first-of-type {
|
|
189
|
-
background-color: var(--cnvs-sys-color-bg-alt-default);
|
|
190
|
-
opacity: var(--cnvs-sys-opacity-disabled);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.cnvs-checkbox-input.variant-inverse:disabled:where(:checked, :indeterminate)~div:first-of-type {
|
|
194
|
-
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
195
|
-
background-color: var(--cnvs-sys-color-bg-default);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.cnvs-checkbox-input.variant-inverse:where(:focus-visible, .focus)~div:first-of-type {
|
|
199
|
-
border-color: var(--cnvs-sys-color-border-contrast-default);
|
|
200
|
-
box-shadow: 0 0 0 0px var(--cnvs-sys-color-border-contrast-default),0 0 0 2px var(--cnvs-sys-color-border-inverse);
|
|
201
|
-
}
|
|
202
|
-
|
|
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 {
|
|
204
|
-
box-shadow: 0 0 0 2px var(--cnvs-sys-color-border-contrast-default),0 0 0 4px var(--cnvs-sys-color-border-inverse);
|
|
205
|
-
border-color: var(--cnvs-sys-color-border-inverse);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
.cnvs-checkbox-input.disabled:where(:hover, .hover)~span:first-of-type {
|
|
210
|
-
box-shadow: none;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
.cnvs-checkbox-input.error:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
215
|
-
border-color: var(--cnvs-checkbox-background-error-ring-color-inner);
|
|
216
|
-
box-shadow: 0 0 0 0.0625rem var(--cnvs-checkbox-background-error-ring-color-inner),0 0 0 0.125rem var(--cnvs-checkbox-background-error-ring-color-outer);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.cnvs-checkbox-input.error:where(:checked, :indeterminate)~div:first-of-type {
|
|
220
|
-
border-color: transparent;
|
|
221
|
-
box-shadow: 0 0 0 0.125rem var(--cnvs-sys-color-border-inverse),0 0 0 0.25rem var(--cnvs-checkbox-background-error-ring-color-inner),0 0 0 0.3125rem var(--cnvs-checkbox-background-error-ring-color-outer);
|
|
222
|
-
}
|
|
223
|
-
|
|
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-error-ring-color-inner);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
.cnvs-checkbox-input.variant-inverse.error:not(:where(:focus-visible, .focus))~div:first-of-type {
|
|
230
|
-
border: 0.0625rem solid var(--cnvs-sys-color-border-input-inverse);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.cnvs-checkbox-input.variant-inverse.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);
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.cnvs-checkbox-input.variant-inverse.error:where(:checked, :indeterminate)~div:first-of-type {
|
|
238
|
-
border-color: var(--cnvs-sys-color-border-input-inverse);
|
|
239
|
-
}
|
|
240
|
-
|
package/collection.css
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.cnvs-list-box-container {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.cnvs-list-box-container :where([data-part="list"]) {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
margin-block-start: var(--cnvs-sys-space-zero);
|
|
9
|
-
margin-block-end: var(--cnvs-sys-space-zero);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.cnvs-list-box-container.orientation-vertical {
|
|
14
|
-
overflow-y: auto;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
.cnvs-list-box-container.orientation-horizontal {
|
|
19
|
-
overflow-y: undefined;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.cnvs-list-box-container.orientation-horizontal :where([data-part="list"]) {
|
|
23
|
-
flex-direction: row;
|
|
24
|
-
}
|
|
25
|
-
|
package/color-picker.css
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
.cnvs-color-picker-color-swatch {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
--cnvs-system-icon-color: var(--cnvs-color-picker-color-swatch-icon-color);
|
|
4
|
-
width: 1.25rem;
|
|
5
|
-
height: 1.25rem;
|
|
6
|
-
border-radius: var(--cnvs-sys-shape-half);
|
|
7
|
-
background-color: var(--cnvs-color-picker-color-swatch-color);
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.cnvs-color-picker-color-swatch>* {
|
|
14
|
-
margin: calc(0.125rem * -1);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
.cnvs-color-picker-color-swatch.with-shadow {
|
|
19
|
-
box-shadow: inset 0px 0px 0px 0.0625rem rgba(0, 0, 0, 0.25);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
.cnvs-color-picker-hex-input {
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
--cnvs-color-picker-hex-input-width: 7.25rem;
|
|
26
|
-
position: relative;
|
|
27
|
-
width: var(--cnvs-color-picker-hex-input-width);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.cnvs-color-picker-hex-input [data-part="color-picker-hex-input"] {
|
|
31
|
-
min-width: var(--cnvs-color-picker-hex-input-width);
|
|
32
|
-
width: var(--cnvs-color-picker-hex-input-width);
|
|
33
|
-
font-family: var(--cnvs-sys-font-family-mono);
|
|
34
|
-
padding-inline-start: calc(100% - 5.375rem);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.cnvs-color-picker-hex-input [data-part="color-picker-hex-input"]:focus::placeholder {
|
|
38
|
-
color: transparent;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.cnvs-color-picker-hex-input [data-part="color-picker-hex-input-pound-sign"] {
|
|
42
|
-
position: absolute;
|
|
43
|
-
top: 0.625rem;
|
|
44
|
-
left: 5.5rem;
|
|
45
|
-
font-family: var(--cnvs-sys-font-family-mono);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.cnvs-color-picker-hex-input [data-part="color-picker-hex-input-swatch"] {
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 0.625rem;
|
|
51
|
-
left: var(--cnvs-sys-space-x2);
|
|
52
|
-
box-shadow: inset 0 0 0 0.0625rem rgba(0,0,0,0.25);
|
|
53
|
-
pointer-events: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.cnvs-color-picker-hex-input :dir(ltr) [data-part="color-picker-hex-input"] {
|
|
57
|
-
padding-inline-start: 2.875rem;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.cnvs-color-picker-hex-input :dir(ltr) [data-part="color-picker-hex-input-pound-sign"] {
|
|
61
|
-
left: 2.25rem;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
.cnvs-color-picker-hex-input.grow {
|
|
66
|
-
--cnvs-color-picker-hex-input-width: 100%;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
.cnvs-color-picker-hex-input.disabled [data-part="color-picker-hex-input"] {
|
|
71
|
-
border-color: var(--cnvs-sys-color-border-input-disabled);
|
|
72
|
-
background-color: var(--cnvs-sys-color-bg-alt-soft);
|
|
73
|
-
color: var(--cnvs-sys-color-text-disabled);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.cnvs-color-picker-hex-input.disabled [data-part="color-picker-hex-input-pound-sign"] {
|
|
77
|
-
color: var(--cnvs-sys-color-text-disabled);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.cnvs-color-preview {
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
background-color: var(--cnvs-sys-color-bg-default);
|
|
84
|
-
border-color: var(--cnvs-sys-color-border-inverse);
|
|
85
|
-
pointer-events: none;
|
|
86
|
-
}
|
|
87
|
-
|
package/combobox.css
DELETED
package/common.css
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
.cnvs-accessible-hide {
|
|
2
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
3
|
-
clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);
|
|
4
|
-
position: absolute;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
white-space: nowrap;
|
|
7
|
-
height: 1px;
|
|
8
|
-
min-height: 1px;
|
|
9
|
-
width: 1px;
|
|
10
|
-
min-width: 1px;
|
|
11
|
-
margin: -1px;
|
|
12
|
-
padding: 0;
|
|
13
|
-
border: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.cnvs-default-branding {
|
|
18
|
-
--cnvs-brand-error-darkest: var(--cnvs-base-palette-red-800);
|
|
19
|
-
--cnvs-brand-common-alert-inner: var(--cnvs-base-palette-amber-400);
|
|
20
|
-
--cnvs-brand-common-error-inner: var(--cnvs-base-palette-red-500);
|
|
21
|
-
--cnvs-brand-common-focus-outline: var(--cnvs-base-palette-blue-500);
|
|
22
|
-
--cnvs-brand-neutral-accent: var(--cnvs-base-palette-neutral-0);
|
|
23
|
-
--cnvs-brand-neutral-darkest: var(--cnvs-base-palette-slate-800);
|
|
24
|
-
--cnvs-brand-neutral-dark: var(--cnvs-base-palette-slate-700);
|
|
25
|
-
--cnvs-brand-neutral-base: var(--cnvs-base-palette-slate-600);
|
|
26
|
-
--cnvs-brand-neutral-light: var(--cnvs-base-palette-slate-200);
|
|
27
|
-
--cnvs-brand-neutral-lightest: var(--cnvs-base-palette-slate-100);
|
|
28
|
-
--cnvs-brand-success-accent: var(--cnvs-base-palette-neutral-0);
|
|
29
|
-
--cnvs-brand-success-darkest: var(--cnvs-base-palette-green-800);
|
|
30
|
-
--cnvs-brand-success-dark: var(--cnvs-base-palette-green-700);
|
|
31
|
-
--cnvs-brand-success-base: var(--cnvs-base-palette-green-600);
|
|
32
|
-
--cnvs-brand-success-light: var(--cnvs-base-palette-green-200);
|
|
33
|
-
--cnvs-brand-success-lightest: var(--cnvs-base-palette-green-100);
|
|
34
|
-
--cnvs-brand-error-accent: var(--cnvs-base-palette-neutral-0);
|
|
35
|
-
--cnvs-brand-error-dark: var(--cnvs-base-palette-red-600);
|
|
36
|
-
--cnvs-brand-error-base: var(--cnvs-base-palette-red-700);
|
|
37
|
-
--cnvs-brand-error-light: var(--cnvs-base-palette-red-200);
|
|
38
|
-
--cnvs-brand-error-lightest: var(--cnvs-base-palette-red-100);
|
|
39
|
-
--cnvs-brand-alert-accent: var(--cnvs-base-palette-neutral-900);
|
|
40
|
-
--cnvs-brand-alert-darkest: var(--cnvs-base-palette-amber-800);
|
|
41
|
-
--cnvs-brand-alert-dark: var(--cnvs-base-palette-amber-600);
|
|
42
|
-
--cnvs-brand-alert-base: var(--cnvs-base-palette-amber-400);
|
|
43
|
-
--cnvs-brand-alert-light: var(--cnvs-base-palette-amber-100);
|
|
44
|
-
--cnvs-brand-alert-lightest: var(--cnvs-base-palette-amber-50);
|
|
45
|
-
--cnvs-brand-primary-accent: var(--cnvs-base-palette-neutral-0);
|
|
46
|
-
--cnvs-brand-primary-darkest: var(--cnvs-base-palette-blue-800);
|
|
47
|
-
--cnvs-brand-primary-dark: var(--cnvs-base-palette-blue-700);
|
|
48
|
-
--cnvs-brand-primary-base: var(--cnvs-base-palette-blue-600);
|
|
49
|
-
--cnvs-brand-primary-light: var(--cnvs-base-palette-blue-200);
|
|
50
|
-
--cnvs-brand-primary-lightest: var(--cnvs-base-palette-blue-100);
|
|
51
|
-
--cnvs-brand-gradient-primary: linear-gradient(90deg, var(--cnvs-brand-primary-base) 0%, var(--cnvs-brand-primary-dark) 100%);
|
|
52
|
-
}
|
|
53
|
-
|
package/expandable.css
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
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-soft);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.cnvs-expandable-target:focus-visible, .cnvs-expandable-target.focus {
|
|
28
|
-
outline: var(--cnvs-brand-common-focus-outline) solid 0.125rem;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
.cnvs-expandable-icon {
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
padding: var(--cnvs-sys-space-x1);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
.cnvs-expandable-icon.position-end.is-expanded {
|
|
44
|
-
margin-inline-start: auto;
|
|
45
|
-
transform: rotate(180deg);
|
|
46
|
-
padding-inline-end: var(--cnvs-sys-space-x3);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
.cnvs-expandable-icon.position-end.is-expanded {
|
|
51
|
-
margin-inline-start: auto;
|
|
52
|
-
padding-inline-start: var(--cnvs-sys-space-x3);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
.cnvs-expandable-icon.position-start.is-expanded {
|
|
57
|
-
margin-inline-end: var(--cnvs-sys-space-x2);
|
|
58
|
-
transform: rotate(90deg);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.cnvs-expandable-icon.position-start.is-expanded :dir(rtl) {
|
|
62
|
-
transform: rotate(-90deg);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
.cnvs-expandable-icon.position-start.is-expanded {
|
|
67
|
-
margin-inline-end: var(--cnvs-sys-space-x2);
|
|
68
|
-
transform: rotate(180deg);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
.cnvs-expandable-title {
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
font-family: var(--cnvs-sys-font-family-default);
|
|
75
|
-
font-weight: var(--cnvs-sys-font-weight-bold);
|
|
76
|
-
line-height: var(--cnvs-sys-line-height-body-medium);
|
|
77
|
-
font-size: var(--cnvs-sys-font-size-body-medium);
|
|
78
|
-
color: var(--cnvs-sys-color-text-strong);
|
|
79
|
-
padding: 0.125rem var(--cnvs-sys-space-zero);
|
|
80
|
-
text-align: left;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
.cnvs-expandable-avatar {
|
|
85
|
-
box-sizing: border-box;
|
|
86
|
-
margin-inline-end: var(--cnvs-sys-space-x2);
|
|
87
|
-
flex-shrink: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.cnvs-expandable-container {
|
|
92
|
-
box-sizing: border-box;
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
padding: var(--cnvs-sys-space-x2);
|
|
96
|
-
}
|
|
97
|
-
|