@workday/canvas-kit-css 13.2.1 → 13.2.2
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/button.css +0 -661
- package/card.css +0 -23
- package/checkbox.css +0 -240
- package/collection.css +0 -25
- package/combobox.css +0 -4
- package/common.css +0 -53
- package/expandable.css +0 -93
- package/form-field.css +0 -190
- package/icon.css +0 -165
- package/loading-dots.css +0 -47
- package/menu.css +0 -150
- package/modal.css +0 -109
- package/popup.css +0 -74
- 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/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-base-palette-french-vanilla-100, 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-base-palette-french-vanilla-100, 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/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: rgba(128,22,14,1);
|
|
19
|
-
--cnvs-brand-common-alert-inner: var(--cnvs-base-palette-cantaloupe-400);
|
|
20
|
-
--cnvs-brand-common-error-inner: var(--cnvs-base-palette-cinnamon-500);
|
|
21
|
-
--cnvs-brand-common-focus-outline: var(--cnvs-base-palette-blueberry-400);
|
|
22
|
-
--cnvs-brand-neutral-accent: var(--cnvs-base-palette-french-vanilla-100);
|
|
23
|
-
--cnvs-brand-neutral-darkest: var(--cnvs-base-palette-licorice-400);
|
|
24
|
-
--cnvs-brand-neutral-dark: var(--cnvs-base-palette-licorice-300);
|
|
25
|
-
--cnvs-brand-neutral-base: var(--cnvs-base-palette-soap-600);
|
|
26
|
-
--cnvs-brand-neutral-light: var(--cnvs-base-palette-soap-300);
|
|
27
|
-
--cnvs-brand-neutral-lightest: var(--cnvs-base-palette-soap-200);
|
|
28
|
-
--cnvs-brand-success-accent: var(--cnvs-base-palette-french-vanilla-100);
|
|
29
|
-
--cnvs-brand-success-darkest: var(--cnvs-base-palette-green-apple-600);
|
|
30
|
-
--cnvs-brand-success-dark: var(--cnvs-base-palette-green-apple-500);
|
|
31
|
-
--cnvs-brand-success-base: var(--cnvs-base-palette-green-apple-400);
|
|
32
|
-
--cnvs-brand-success-light: var(--cnvs-base-palette-green-apple-300);
|
|
33
|
-
--cnvs-brand-success-lightest: var(--cnvs-base-palette-green-apple-100);
|
|
34
|
-
--cnvs-brand-error-accent: var(--cnvs-base-palette-french-vanilla-100);
|
|
35
|
-
--cnvs-brand-error-dark: var(--cnvs-base-palette-cinnamon-600);
|
|
36
|
-
--cnvs-brand-error-base: var(--cnvs-base-palette-cinnamon-500);
|
|
37
|
-
--cnvs-brand-error-light: var(--cnvs-base-palette-cinnamon-200);
|
|
38
|
-
--cnvs-brand-error-lightest: var(--cnvs-base-palette-cinnamon-100);
|
|
39
|
-
--cnvs-brand-alert-accent: var(--cnvs-base-palette-french-vanilla-100);
|
|
40
|
-
--cnvs-brand-alert-darkest: var(--cnvs-base-palette-cantaloupe-600);
|
|
41
|
-
--cnvs-brand-alert-dark: var(--cnvs-base-palette-cantaloupe-500);
|
|
42
|
-
--cnvs-brand-alert-base: var(--cnvs-base-palette-cantaloupe-400);
|
|
43
|
-
--cnvs-brand-alert-light: var(--cnvs-base-palette-cantaloupe-200);
|
|
44
|
-
--cnvs-brand-alert-lightest: var(--cnvs-base-palette-cantaloupe-100);
|
|
45
|
-
--cnvs-brand-primary-accent: var(--cnvs-base-palette-french-vanilla-100);
|
|
46
|
-
--cnvs-brand-primary-darkest: var(--cnvs-base-palette-blueberry-600);
|
|
47
|
-
--cnvs-brand-primary-dark: var(--cnvs-base-palette-blueberry-500);
|
|
48
|
-
--cnvs-brand-primary-base: var(--cnvs-base-palette-blueberry-400);
|
|
49
|
-
--cnvs-brand-primary-light: var(--cnvs-base-palette-blueberry-200);
|
|
50
|
-
--cnvs-brand-primary-lightest: var(--cnvs-base-palette-blueberry-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,93 +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-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/form-field.css
DELETED
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
.cnvs-form-field-label {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
font-weight: var(--cnvs-sys-font-weight-medium);
|
|
4
|
-
color: var(--cnvs-sys-color-text-default);
|
|
5
|
-
padding-inline-start: var(--cnvs-sys-space-zero);
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
min-width: 11.25rem;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.cnvs-form-field-label.is-required::after {
|
|
13
|
-
content: "*";
|
|
14
|
-
font-size: var(--cnvs-sys-font-size-body-large);
|
|
15
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
16
|
-
color: var(--cnvs-brand-error-base);
|
|
17
|
-
text-decoration: unset;
|
|
18
|
-
margin-inline-start: var(--cnvs-sys-space-x1);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.cnvs-form-field-label.orientation-horizontal-start {
|
|
23
|
-
justify-content: flex-start;
|
|
24
|
-
float: left;
|
|
25
|
-
max-height: var(--cnvs-sys-space-x10);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
.cnvs-form-field-label.orientation-horizontal-end {
|
|
30
|
-
max-height: var(--cnvs-sys-space-x10);
|
|
31
|
-
float: left;
|
|
32
|
-
justify-content: flex-end;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
.cnvs-form-field-label.orientation-vertical {
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
.cnvs-form-field-label.is-hidden {
|
|
42
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
43
|
-
clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);
|
|
44
|
-
position: absolute;
|
|
45
|
-
overflow: hidden;
|
|
46
|
-
white-space: nowrap;
|
|
47
|
-
height: 1px;
|
|
48
|
-
min-height: 1px;
|
|
49
|
-
width: 1px;
|
|
50
|
-
min-width: 1px;
|
|
51
|
-
margin: -1px;
|
|
52
|
-
padding: 0;
|
|
53
|
-
border: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.cnvs-form-field-hint {
|
|
58
|
-
box-sizing: border-box;
|
|
59
|
-
margin: var(--cnvs-sys-space-zero);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
.cnvs-form-field-hint.error-error {
|
|
64
|
-
color: var(--cnvs-brand-error-base);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.cnvs-form-field-container {
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-direction: column;
|
|
73
|
-
gap: var(--cnvs-sys-space-x2);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
.cnvs-form-field {
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
display: flex;
|
|
80
|
-
border: none;
|
|
81
|
-
padding: var(--cnvs-sys-space-zero);
|
|
82
|
-
margin: var(--cnvs-sys-space-zero) var(--cnvs-sys-space-zero) var(--cnvs-sys-space-x6);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
.cnvs-form-field.grow {
|
|
87
|
-
width: 100%;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.cnvs-form-field.grow [data-width="ck-formfield-width"] {
|
|
91
|
-
width: 100%;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.cnvs-form-field.grow:has(div[data-width="ck-formfield-width"]) {
|
|
95
|
-
width: 100%;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
.cnvs-form-field.orientation-horizontal-start {
|
|
100
|
-
flex-direction: row;
|
|
101
|
-
gap: var(--cnvs-sys-space-x8);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
.cnvs-form-field.orientation-horizontal-end {
|
|
106
|
-
flex-direction: row;
|
|
107
|
-
gap: var(--cnvs-sys-space-x8);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
.cnvs-form-field.orientation-vertical {
|
|
112
|
-
flex-direction: column;
|
|
113
|
-
gap: var(--cnvs-sys-space-x1);
|
|
114
|
-
align-items: flex-start;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
.cnvs-form-field-field {
|
|
122
|
-
box-sizing: border-box;
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: column;
|
|
125
|
-
gap: var(--cnvs-sys-space-x2);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
.cnvs-form-field-group-list {
|
|
130
|
-
box-sizing: border-box;
|
|
131
|
-
display: flex;
|
|
132
|
-
flex-direction: column;
|
|
133
|
-
border-radius: var(--cnvs-sys-shape-x1);
|
|
134
|
-
gap: var(--cnvs-sys-space-x2);
|
|
135
|
-
padding: 0.625rem var(--cnvs-sys-space-x3) var(--cnvs-sys-space-x2);
|
|
136
|
-
margin: 0 calc(var(--cnvs-sys-space-x3) * -1);
|
|
137
|
-
transition: 100ms box-shadow;
|
|
138
|
-
width: fit-content;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
.cnvs-form-field-group-list.error-error {
|
|
143
|
-
box-shadow: inset 0 0 0 0.125rem var(--cnvs-brand-error-base);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
.cnvs-form-field-group-list.error-alert {
|
|
148
|
-
box-shadow: inset 0 0 0 0.0625rem var(--cnvs-brand-alert-darkest),inset 0 0 0 0.1875rem var(--cnvs-brand-alert-base);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
.cnvs-form-field-group-label {
|
|
153
|
-
box-sizing: border-box;
|
|
154
|
-
font-weight: var(--cnvs-sys-font-weight-medium);
|
|
155
|
-
color: var(--cnvs-sys-color-text-default);
|
|
156
|
-
padding-inline-start: var(--cnvs-sys-space-zero);
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
min-width: 11.25rem;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
.cnvs-form-field-group-label.is-required::after {
|
|
164
|
-
content: "*";
|
|
165
|
-
font-size: var(--cnvs-sys-font-size-body-large);
|
|
166
|
-
font-weight: var(--cnvs-sys-font-weight-normal);
|
|
167
|
-
color: var(--cnvs-brand-error-base);
|
|
168
|
-
text-decoration: unset;
|
|
169
|
-
margin-inline-start: var(--cnvs-sys-space-x1);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
.cnvs-form-field-group-label.orientation-vertical {
|
|
174
|
-
width: 100%;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
.cnvs-form-field-group-label.orientation-horizontal-start {
|
|
179
|
-
justify-content: flex-start;
|
|
180
|
-
float: left;
|
|
181
|
-
max-height: var(--cnvs-sys-space-x10);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
.cnvs-form-field-group-label.orientation-horizontal-end {
|
|
186
|
-
max-height: var(--cnvs-sys-space-x10);
|
|
187
|
-
float: left;
|
|
188
|
-
justify-content: flex-end;
|
|
189
|
-
}
|
|
190
|
-
|