@entur/form 8.2.9 → 8.2.10-beta.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/dist/styles.css +460 -460
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -1,227 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-checkbox__container {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
position: relative;
|
|
7
|
-
-webkit-appearance: none;
|
|
8
|
-
-moz-appearance: none;
|
|
9
|
-
appearance: none;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
-webkit-user-select: none;
|
|
12
|
-
-moz-user-select: none;
|
|
13
|
-
user-select: none;
|
|
14
|
-
width: -moz-fit-content;
|
|
15
|
-
width: fit-content;
|
|
16
|
-
margin: 0.5rem 0;
|
|
17
|
-
}
|
|
18
|
-
.eds-checkbox__container--reduced-click-area {
|
|
19
|
-
height: -moz-fit-content;
|
|
20
|
-
height: fit-content;
|
|
21
|
-
}
|
|
22
|
-
.eds-checkbox__container input {
|
|
23
|
-
position: absolute;
|
|
24
|
-
opacity: 0;
|
|
25
|
-
height: 0;
|
|
26
|
-
width: 0;
|
|
27
|
-
}
|
|
28
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
29
|
-
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
30
|
-
}
|
|
31
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
32
|
-
visibility: visible;
|
|
33
|
-
}
|
|
34
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
35
|
-
stroke: var(--components-form-checkbox-standard-icon);
|
|
36
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
37
|
-
}
|
|
38
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
39
|
-
fill: var(--components-form-checkbox-standard-icon);
|
|
40
|
-
}
|
|
41
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
42
|
-
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
43
|
-
}
|
|
44
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
45
|
-
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
46
|
-
}
|
|
47
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
48
|
-
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
49
|
-
}
|
|
50
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
51
|
-
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
52
|
-
}
|
|
53
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
54
|
-
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
55
|
-
}
|
|
56
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast {
|
|
57
|
-
color: var(--components-form-checkbox-contrast-fill-selected);
|
|
58
|
-
}
|
|
59
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast path {
|
|
60
|
-
stroke: var(--components-form-checkbox-contrast-icon);
|
|
61
|
-
}
|
|
62
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast rect {
|
|
63
|
-
fill: var(--components-form-checkbox-contrast-icon);
|
|
64
|
-
}
|
|
65
|
-
.eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
|
|
66
|
-
border-color: var(--components-form-checkbox-standard-border);
|
|
67
|
-
background-color: var(--components-form-checkbox-standard-fill-hover);
|
|
68
|
-
}
|
|
69
|
-
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
|
|
70
|
-
border-color: var(--components-form-checkbox-contrast-border);
|
|
71
|
-
background-color: var(--components-form-checkbox-contrast-fill-hover);
|
|
72
|
-
}
|
|
73
|
-
.eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
74
|
-
.eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
|
|
75
|
-
border-color: transparent;
|
|
76
|
-
background-color: var(--components-form-checkbox-standard-fill-selectedhover);
|
|
77
|
-
}
|
|
78
|
-
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
79
|
-
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
|
|
80
|
-
background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
|
|
81
|
-
}
|
|
82
|
-
.eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
83
|
-
.eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
|
|
84
|
-
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
85
|
-
}
|
|
86
|
-
.eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
87
|
-
.eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
|
|
88
|
-
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
89
|
-
}
|
|
90
|
-
.eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
|
|
91
|
-
outline: 2px solid #181c56;
|
|
92
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
93
|
-
outline-offset: 0.125rem;
|
|
94
|
-
}
|
|
95
|
-
.eds-contrast .eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
|
|
96
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
97
|
-
}
|
|
98
|
-
.eds-checkbox--disabled {
|
|
99
|
-
cursor: not-allowed;
|
|
100
|
-
}
|
|
101
|
-
.eds-checkbox--disabled input {
|
|
102
|
-
pointer-events: none;
|
|
103
|
-
}
|
|
104
|
-
.eds-checkbox--disabled .eds-checkbox__label {
|
|
105
|
-
opacity: 0.5;
|
|
106
|
-
}
|
|
107
|
-
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
108
|
-
border-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
109
|
-
}
|
|
110
|
-
.eds-contrast .eds-checkbox--disabled .eds-checkbox__icon {
|
|
111
|
-
border-color: var(--components-form-checkbox-contrast-icon-disabled);
|
|
112
|
-
}
|
|
113
|
-
.eds-checkbox__icon {
|
|
114
|
-
box-sizing: border-box;
|
|
115
|
-
display: inline-flex;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
align-items: center;
|
|
118
|
-
position: relative;
|
|
119
|
-
margin-right: 1rem;
|
|
120
|
-
height: 1.25rem;
|
|
121
|
-
width: 1.25rem;
|
|
122
|
-
border: 0.125rem solid var(--components-form-checkbox-standard-border);
|
|
123
|
-
border-radius: 0.125rem;
|
|
124
|
-
background-color: transparent;
|
|
125
|
-
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
126
|
-
}
|
|
127
|
-
.eds-checkbox__icon--reduced-click-area {
|
|
128
|
-
margin-right: 0;
|
|
129
|
-
}
|
|
130
|
-
.eds-contrast .eds-checkbox__icon {
|
|
131
|
-
border-color: var(--components-form-checkbox-contrast-border);
|
|
132
|
-
}
|
|
133
|
-
.eds-checkbox__icon .eds-checkbox-icon {
|
|
134
|
-
height: 1rem;
|
|
135
|
-
width: 1rem;
|
|
136
|
-
visibility: hidden;
|
|
137
|
-
}
|
|
138
|
-
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
139
|
-
transform-origin: 50% 50%;
|
|
140
|
-
stroke-dasharray: 48;
|
|
141
|
-
stroke-dashoffset: 48;
|
|
142
|
-
stroke-width: 0.375rem;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
@keyframes stroke {
|
|
146
|
-
100% {
|
|
147
|
-
stroke-dashoffset: 0;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
/* DO NOT CHANGE!*/
|
|
151
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
152
|
-
.eds-feedback-text {
|
|
153
|
-
display: flex;
|
|
154
|
-
align-items: center;
|
|
155
|
-
margin-top: 0.25rem;
|
|
156
|
-
}
|
|
157
|
-
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
158
|
-
padding-left: calc(1rem + 0.125rem);
|
|
159
|
-
}
|
|
160
|
-
.eds-feedback-text__text {
|
|
161
|
-
color: var(--components-form-feedbacktext-information-standard-text);
|
|
162
|
-
}
|
|
163
|
-
.eds-contrast .eds-feedback-text__text {
|
|
164
|
-
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.eds-feedback-text__icon {
|
|
168
|
-
font-size: 1.5rem;
|
|
169
|
-
min-height: 1.5rem;
|
|
170
|
-
min-width: 1.5rem;
|
|
171
|
-
padding-right: 0.5rem;
|
|
172
|
-
position: relative;
|
|
173
|
-
top: -0.1rem;
|
|
174
|
-
}
|
|
175
|
-
.eds-feedback-text__icon--success {
|
|
176
|
-
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
177
|
-
}
|
|
178
|
-
.eds-feedback-text__icon--success circle {
|
|
179
|
-
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
180
|
-
}
|
|
181
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
182
|
-
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
183
|
-
}
|
|
184
|
-
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
185
|
-
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
186
|
-
}
|
|
187
|
-
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
188
|
-
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
189
|
-
}
|
|
190
|
-
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
191
|
-
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
192
|
-
}
|
|
193
|
-
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
194
|
-
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
195
|
-
}
|
|
196
|
-
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
197
|
-
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
198
|
-
}
|
|
199
|
-
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
200
|
-
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
201
|
-
}
|
|
202
|
-
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
203
|
-
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
204
|
-
}
|
|
205
|
-
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
206
|
-
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
207
|
-
}
|
|
208
|
-
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
209
|
-
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
210
|
-
}
|
|
211
|
-
.eds-feedback-text__icon--warning {
|
|
212
|
-
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
213
|
-
}
|
|
214
|
-
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
215
|
-
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
216
|
-
}
|
|
217
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
218
|
-
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
219
|
-
}
|
|
220
|
-
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
221
|
-
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
222
|
-
}
|
|
223
|
-
/* DO NOT CHANGE!*/
|
|
224
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
225
3
|
.eds-form-control__field-and-feedback-text {
|
|
226
4
|
display: flex;
|
|
227
5
|
flex-direction: column;
|
|
@@ -361,165 +139,299 @@
|
|
|
361
139
|
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
362
140
|
outline-color: var(--components-form-baseform-contrast-border-negative);
|
|
363
141
|
}
|
|
364
|
-
.eds-contrast .eds-form-control .eds-tooltip {
|
|
365
|
-
background: var(--components-tooltip-tooltip-standard-fill);
|
|
366
|
-
color: var(--components-tooltip-tooltip-standard-text);
|
|
367
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
142
|
+
.eds-contrast .eds-form-control .eds-tooltip {
|
|
143
|
+
background: var(--components-tooltip-tooltip-standard-fill);
|
|
144
|
+
color: var(--components-tooltip-tooltip-standard-text);
|
|
145
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
146
|
+
}
|
|
147
|
+
.eds-form-control .eds-tooltip::after {
|
|
148
|
+
background: var(--components-tooltip-tooltip-standard-fill);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.eds-form-control {
|
|
152
|
+
display: block;
|
|
153
|
+
-webkit-appearance: none;
|
|
154
|
+
-moz-appearance: none;
|
|
155
|
+
appearance: none;
|
|
156
|
+
width: 100%;
|
|
157
|
+
height: 100%;
|
|
158
|
+
padding: 20px 0rem 0.25rem;
|
|
159
|
+
font-family: inherit;
|
|
160
|
+
font-size: 1rem;
|
|
161
|
+
line-height: 1rem;
|
|
162
|
+
border: 0;
|
|
163
|
+
color: var(--components-form-baseform-standard-text-content);
|
|
164
|
+
background-color: transparent;
|
|
165
|
+
}
|
|
166
|
+
.eds-form-control::-moz-placeholder {
|
|
167
|
+
opacity: 0;
|
|
168
|
+
-moz-transition: opacity 0.2s ease-in-out;
|
|
169
|
+
transition: opacity 0.2s ease-in-out;
|
|
170
|
+
}
|
|
171
|
+
.eds-form-control::placeholder {
|
|
172
|
+
opacity: 0;
|
|
173
|
+
transition: opacity 0.2s ease-in-out;
|
|
174
|
+
}
|
|
175
|
+
.eds-form-control:focus {
|
|
176
|
+
outline: none;
|
|
177
|
+
}
|
|
178
|
+
.eds-form-control:focus::-moz-placeholder {
|
|
179
|
+
opacity: 1;
|
|
180
|
+
}
|
|
181
|
+
.eds-form-control:focus::placeholder {
|
|
182
|
+
opacity: 1;
|
|
183
|
+
}
|
|
184
|
+
.eds-form-control__prepend, .eds-form-control__append {
|
|
185
|
+
position: relative;
|
|
186
|
+
line-height: inherit;
|
|
187
|
+
}
|
|
188
|
+
.eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
|
|
189
|
+
all: unset;
|
|
190
|
+
position: absolute;
|
|
191
|
+
display: flex;
|
|
192
|
+
align-items: center;
|
|
193
|
+
justify-content: center;
|
|
194
|
+
height: 1.5rem;
|
|
195
|
+
width: 1.5rem;
|
|
196
|
+
right: -2rem;
|
|
197
|
+
border-radius: 100%;
|
|
198
|
+
color: var(--primary-text-color);
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
}
|
|
201
|
+
.eds-form-control__prepend {
|
|
202
|
+
margin-right: 0.75rem;
|
|
203
|
+
margin-left: 0;
|
|
204
|
+
}
|
|
205
|
+
.eds-form-control__append {
|
|
206
|
+
margin-right: 0;
|
|
207
|
+
margin-left: 0.75rem;
|
|
208
|
+
}
|
|
209
|
+
/* DO NOT CHANGE!*/
|
|
210
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
211
|
+
.eds-feedback-text {
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
margin-top: 0.25rem;
|
|
215
|
+
}
|
|
216
|
+
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
217
|
+
padding-left: calc(1rem + 0.125rem);
|
|
218
|
+
}
|
|
219
|
+
.eds-feedback-text__text {
|
|
220
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
221
|
+
}
|
|
222
|
+
.eds-contrast .eds-feedback-text__text {
|
|
223
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.eds-feedback-text__icon {
|
|
227
|
+
font-size: 1.5rem;
|
|
228
|
+
min-height: 1.5rem;
|
|
229
|
+
min-width: 1.5rem;
|
|
230
|
+
padding-right: 0.5rem;
|
|
231
|
+
position: relative;
|
|
232
|
+
top: -0.1rem;
|
|
233
|
+
}
|
|
234
|
+
.eds-feedback-text__icon--success {
|
|
235
|
+
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
236
|
+
}
|
|
237
|
+
.eds-feedback-text__icon--success circle {
|
|
238
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
239
|
+
}
|
|
240
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
241
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
242
|
+
}
|
|
243
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
244
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
245
|
+
}
|
|
246
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
247
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
248
|
+
}
|
|
249
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
250
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
251
|
+
}
|
|
252
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
253
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
254
|
+
}
|
|
255
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
256
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
257
|
+
}
|
|
258
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
259
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
260
|
+
}
|
|
261
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
262
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
263
|
+
}
|
|
264
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
265
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
266
|
+
}
|
|
267
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
268
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
269
|
+
}
|
|
270
|
+
.eds-feedback-text__icon--warning {
|
|
271
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
272
|
+
}
|
|
273
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
274
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
275
|
+
}
|
|
276
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
277
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
278
|
+
}
|
|
279
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
280
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
281
|
+
}
|
|
282
|
+
.eds-fieldset {
|
|
283
|
+
margin: 0;
|
|
284
|
+
padding: 0;
|
|
285
|
+
border: 0;
|
|
286
|
+
}
|
|
287
|
+
/* DO NOT CHANGE!*/
|
|
288
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
289
|
+
.eds-checkbox__container {
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: center;
|
|
292
|
+
position: relative;
|
|
293
|
+
-webkit-appearance: none;
|
|
294
|
+
-moz-appearance: none;
|
|
295
|
+
appearance: none;
|
|
296
|
+
cursor: pointer;
|
|
297
|
+
-webkit-user-select: none;
|
|
298
|
+
-moz-user-select: none;
|
|
299
|
+
user-select: none;
|
|
300
|
+
width: -moz-fit-content;
|
|
301
|
+
width: fit-content;
|
|
302
|
+
margin: 0.5rem 0;
|
|
303
|
+
}
|
|
304
|
+
.eds-checkbox__container--reduced-click-area {
|
|
305
|
+
height: -moz-fit-content;
|
|
306
|
+
height: fit-content;
|
|
307
|
+
}
|
|
308
|
+
.eds-checkbox__container input {
|
|
309
|
+
position: absolute;
|
|
310
|
+
opacity: 0;
|
|
311
|
+
height: 0;
|
|
312
|
+
width: 0;
|
|
313
|
+
}
|
|
314
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
315
|
+
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
316
|
+
}
|
|
317
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
318
|
+
visibility: visible;
|
|
319
|
+
}
|
|
320
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
321
|
+
stroke: var(--components-form-checkbox-standard-icon);
|
|
322
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
323
|
+
}
|
|
324
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
325
|
+
fill: var(--components-form-checkbox-standard-icon);
|
|
326
|
+
}
|
|
327
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
328
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
329
|
+
}
|
|
330
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
331
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
368
332
|
}
|
|
369
|
-
.eds-
|
|
370
|
-
background: var(--components-
|
|
333
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
334
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
371
335
|
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
display: block;
|
|
375
|
-
-webkit-appearance: none;
|
|
376
|
-
-moz-appearance: none;
|
|
377
|
-
appearance: none;
|
|
378
|
-
width: 100%;
|
|
379
|
-
height: 100%;
|
|
380
|
-
padding: 20px 0rem 0.25rem;
|
|
381
|
-
font-family: inherit;
|
|
382
|
-
font-size: 1rem;
|
|
383
|
-
line-height: 1rem;
|
|
384
|
-
border: 0;
|
|
385
|
-
color: var(--components-form-baseform-standard-text-content);
|
|
386
|
-
background-color: transparent;
|
|
336
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
337
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
387
338
|
}
|
|
388
|
-
.eds-
|
|
389
|
-
|
|
390
|
-
-moz-transition: opacity 0.2s ease-in-out;
|
|
391
|
-
transition: opacity 0.2s ease-in-out;
|
|
339
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
340
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
392
341
|
}
|
|
393
|
-
.eds-
|
|
394
|
-
|
|
395
|
-
transition: opacity 0.2s ease-in-out;
|
|
342
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast {
|
|
343
|
+
color: var(--components-form-checkbox-contrast-fill-selected);
|
|
396
344
|
}
|
|
397
|
-
.eds-
|
|
398
|
-
|
|
345
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast path {
|
|
346
|
+
stroke: var(--components-form-checkbox-contrast-icon);
|
|
399
347
|
}
|
|
400
|
-
.eds-
|
|
401
|
-
|
|
348
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast rect {
|
|
349
|
+
fill: var(--components-form-checkbox-contrast-icon);
|
|
402
350
|
}
|
|
403
|
-
.eds-
|
|
404
|
-
|
|
351
|
+
.eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
|
|
352
|
+
border-color: var(--components-form-checkbox-standard-border);
|
|
353
|
+
background-color: var(--components-form-checkbox-standard-fill-hover);
|
|
405
354
|
}
|
|
406
|
-
.eds-
|
|
407
|
-
|
|
408
|
-
|
|
355
|
+
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
|
|
356
|
+
border-color: var(--components-form-checkbox-contrast-border);
|
|
357
|
+
background-color: var(--components-form-checkbox-contrast-fill-hover);
|
|
409
358
|
}
|
|
410
|
-
.eds-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
align-items: center;
|
|
415
|
-
justify-content: center;
|
|
416
|
-
height: 1.5rem;
|
|
417
|
-
width: 1.5rem;
|
|
418
|
-
right: -2rem;
|
|
419
|
-
border-radius: 100%;
|
|
420
|
-
color: var(--primary-text-color);
|
|
421
|
-
cursor: pointer;
|
|
359
|
+
.eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
360
|
+
.eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
|
|
361
|
+
border-color: transparent;
|
|
362
|
+
background-color: var(--components-form-checkbox-standard-fill-selectedhover);
|
|
422
363
|
}
|
|
423
|
-
.eds-
|
|
424
|
-
|
|
425
|
-
|
|
364
|
+
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
365
|
+
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
|
|
366
|
+
background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
|
|
426
367
|
}
|
|
427
|
-
.eds-
|
|
428
|
-
|
|
429
|
-
|
|
368
|
+
.eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
369
|
+
.eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
|
|
370
|
+
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
430
371
|
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
color: inherit;
|
|
435
|
-
display: block;
|
|
436
|
-
position: relative;
|
|
372
|
+
.eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
373
|
+
.eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
|
|
374
|
+
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
437
375
|
}
|
|
438
|
-
.eds-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
position: absolute;
|
|
443
|
-
line-height: 1rem;
|
|
444
|
-
height: 3rem;
|
|
445
|
-
padding-left: 0;
|
|
446
|
-
top: 1rem;
|
|
447
|
-
transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out, padding 0.2s ease-in-out, line-height ease-in-out 0.2s;
|
|
448
|
-
-webkit-user-select: none;
|
|
449
|
-
-moz-user-select: none;
|
|
450
|
-
user-select: none;
|
|
451
|
-
pointer-events: none;
|
|
376
|
+
.eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
|
|
377
|
+
outline: 2px solid #181c56;
|
|
378
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
379
|
+
outline-offset: 0.125rem;
|
|
452
380
|
}
|
|
453
|
-
.eds-
|
|
454
|
-
|
|
455
|
-
font-size: 0.75rem;
|
|
456
|
-
line-height: 0.75rem;
|
|
457
|
-
height: 10px;
|
|
458
|
-
padding: 0;
|
|
381
|
+
.eds-contrast .eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
|
|
382
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
459
383
|
}
|
|
460
|
-
.eds-
|
|
461
|
-
|
|
462
|
-
background: var(--textarea-label-background);
|
|
463
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
384
|
+
.eds-checkbox--disabled {
|
|
385
|
+
cursor: not-allowed;
|
|
464
386
|
}
|
|
465
|
-
.eds-
|
|
466
|
-
|
|
467
|
-
font-size: 0.875rem;
|
|
468
|
-
line-height: 1rem;
|
|
469
|
-
padding: 0;
|
|
387
|
+
.eds-checkbox--disabled input {
|
|
388
|
+
pointer-events: none;
|
|
470
389
|
}
|
|
471
|
-
.eds-
|
|
472
|
-
|
|
473
|
-
font-size: 1.5rem;
|
|
474
|
-
line-height: 2.25rem;
|
|
390
|
+
.eds-checkbox--disabled .eds-checkbox__label {
|
|
391
|
+
opacity: 0.5;
|
|
475
392
|
}
|
|
476
|
-
.eds-
|
|
477
|
-
|
|
478
|
-
font-size: 0.75rem;
|
|
479
|
-
line-height: 0.75rem;
|
|
480
|
-
height: 10px;
|
|
481
|
-
padding: 0;
|
|
393
|
+
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
394
|
+
border-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
482
395
|
}
|
|
483
|
-
.eds-
|
|
484
|
-
|
|
485
|
-
background: var(--textarea-label-background);
|
|
486
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
396
|
+
.eds-contrast .eds-checkbox--disabled .eds-checkbox__icon {
|
|
397
|
+
border-color: var(--components-form-checkbox-contrast-icon-disabled);
|
|
487
398
|
}
|
|
488
|
-
.eds-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
399
|
+
.eds-checkbox__icon {
|
|
400
|
+
box-sizing: border-box;
|
|
401
|
+
display: inline-flex;
|
|
402
|
+
justify-content: center;
|
|
403
|
+
align-items: center;
|
|
404
|
+
position: relative;
|
|
405
|
+
margin-right: 1rem;
|
|
406
|
+
height: 1.25rem;
|
|
407
|
+
width: 1.25rem;
|
|
408
|
+
border: 0.125rem solid var(--components-form-checkbox-standard-border);
|
|
409
|
+
border-radius: 0.125rem;
|
|
410
|
+
background-color: transparent;
|
|
411
|
+
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
493
412
|
}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
top: 0.375rem;
|
|
497
|
-
font-size: 0.75rem;
|
|
498
|
-
line-height: 0.75rem;
|
|
499
|
-
height: 10px;
|
|
500
|
-
padding: 0;
|
|
413
|
+
.eds-checkbox__icon--reduced-click-area {
|
|
414
|
+
margin-right: 0;
|
|
501
415
|
}
|
|
502
|
-
.eds-
|
|
503
|
-
|
|
504
|
-
background: var(--textarea-label-background);
|
|
505
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
416
|
+
.eds-contrast .eds-checkbox__icon {
|
|
417
|
+
border-color: var(--components-form-checkbox-contrast-border);
|
|
506
418
|
}
|
|
507
|
-
.eds-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
padding: 0;
|
|
419
|
+
.eds-checkbox__icon .eds-checkbox-icon {
|
|
420
|
+
height: 1rem;
|
|
421
|
+
width: 1rem;
|
|
422
|
+
visibility: hidden;
|
|
512
423
|
}
|
|
513
|
-
.eds-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
424
|
+
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
425
|
+
transform-origin: 50% 50%;
|
|
426
|
+
stroke-dasharray: 48;
|
|
427
|
+
stroke-dashoffset: 48;
|
|
428
|
+
stroke-width: 0.375rem;
|
|
518
429
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
430
|
+
|
|
431
|
+
@keyframes stroke {
|
|
432
|
+
100% {
|
|
433
|
+
stroke-dashoffset: 0;
|
|
434
|
+
}
|
|
523
435
|
}
|
|
524
436
|
/* DO NOT CHANGE!*/
|
|
525
437
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -877,28 +789,116 @@
|
|
|
877
789
|
--basecolors-text-subduedalt: #b3b4bd;
|
|
878
790
|
}
|
|
879
791
|
|
|
880
|
-
.eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
|
|
881
|
-
background: #ffffff;
|
|
882
|
-
background: var(--basecolors-frame-default);
|
|
883
|
-
width: -moz-fit-content;
|
|
884
|
-
width: fit-content;
|
|
885
|
-
height: -moz-fit-content;
|
|
886
|
-
height: fit-content;
|
|
887
|
-
padding: 0.15rem;
|
|
888
|
-
margin: -0.15rem;
|
|
792
|
+
.eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
|
|
793
|
+
background: #ffffff;
|
|
794
|
+
background: var(--basecolors-frame-default);
|
|
795
|
+
width: -moz-fit-content;
|
|
796
|
+
width: fit-content;
|
|
797
|
+
height: -moz-fit-content;
|
|
798
|
+
height: fit-content;
|
|
799
|
+
padding: 0.15rem;
|
|
800
|
+
margin: -0.15rem;
|
|
801
|
+
}
|
|
802
|
+
*[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
|
|
803
|
+
background-color: #181c56;
|
|
804
|
+
background-color: var(--basecolors-frame-contrast);
|
|
805
|
+
}
|
|
806
|
+
.eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
|
|
807
|
+
min-height: 7.75rem;
|
|
808
|
+
resize: vertical;
|
|
809
|
+
line-height: 1.5rem;
|
|
810
|
+
}
|
|
811
|
+
.eds-textarea__wrapper .eds-form-control-wrapper {
|
|
812
|
+
padding-right: 0;
|
|
813
|
+
cursor: text;
|
|
814
|
+
}
|
|
815
|
+
/* DO NOT CHANGE!*/
|
|
816
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
817
|
+
.eds-input-group {
|
|
818
|
+
color: inherit;
|
|
819
|
+
display: block;
|
|
820
|
+
position: relative;
|
|
821
|
+
}
|
|
822
|
+
.eds-input-group__label {
|
|
823
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
824
|
+
display: flex;
|
|
825
|
+
font-size: 1rem;
|
|
826
|
+
position: absolute;
|
|
827
|
+
line-height: 1rem;
|
|
828
|
+
height: 3rem;
|
|
829
|
+
padding-left: 0;
|
|
830
|
+
top: 1rem;
|
|
831
|
+
transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out, padding 0.2s ease-in-out, line-height ease-in-out 0.2s;
|
|
832
|
+
-webkit-user-select: none;
|
|
833
|
+
-moz-user-select: none;
|
|
834
|
+
user-select: none;
|
|
835
|
+
pointer-events: none;
|
|
836
|
+
}
|
|
837
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
838
|
+
top: 0.375rem;
|
|
839
|
+
font-size: 0.75rem;
|
|
840
|
+
line-height: 0.75rem;
|
|
841
|
+
height: 10px;
|
|
842
|
+
padding: 0;
|
|
843
|
+
}
|
|
844
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
845
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
846
|
+
background: var(--textarea-label-background);
|
|
847
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
848
|
+
}
|
|
849
|
+
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
850
|
+
top: 0.5rem;
|
|
851
|
+
font-size: 0.875rem;
|
|
852
|
+
line-height: 1rem;
|
|
853
|
+
padding: 0;
|
|
854
|
+
}
|
|
855
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
856
|
+
top: 0.75rem;
|
|
857
|
+
font-size: 1.5rem;
|
|
858
|
+
line-height: 2.25rem;
|
|
859
|
+
}
|
|
860
|
+
.eds-input-group__label--filled {
|
|
861
|
+
top: 0.375rem;
|
|
862
|
+
font-size: 0.75rem;
|
|
863
|
+
line-height: 0.75rem;
|
|
864
|
+
height: 10px;
|
|
865
|
+
padding: 0;
|
|
866
|
+
}
|
|
867
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
868
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
869
|
+
background: var(--textarea-label-background);
|
|
870
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
871
|
+
}
|
|
872
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
873
|
+
top: 0.5rem;
|
|
874
|
+
font-size: 0.875rem;
|
|
875
|
+
line-height: 1rem;
|
|
876
|
+
padding: 0;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
880
|
+
top: 0.375rem;
|
|
881
|
+
font-size: 0.75rem;
|
|
882
|
+
line-height: 0.75rem;
|
|
883
|
+
height: 10px;
|
|
884
|
+
padding: 0;
|
|
889
885
|
}
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
background
|
|
886
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
887
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
888
|
+
background: var(--textarea-label-background);
|
|
889
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
893
890
|
}
|
|
894
|
-
.eds-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
line-height:
|
|
891
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
892
|
+
top: 0.5rem;
|
|
893
|
+
font-size: 0.875rem;
|
|
894
|
+
line-height: 1rem;
|
|
895
|
+
padding: 0;
|
|
898
896
|
}
|
|
899
|
-
.eds-
|
|
900
|
-
|
|
901
|
-
|
|
897
|
+
.eds-form-control-wrapper--disabled:focus-within .eds-input-group__label {
|
|
898
|
+
top: 1rem;
|
|
899
|
+
font-size: 1rem;
|
|
900
|
+
height: 3rem;
|
|
901
|
+
line-height: 1rem;
|
|
902
902
|
}
|
|
903
903
|
/* DO NOT CHANGE!*/
|
|
904
904
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -1092,14 +1092,85 @@ input:disabled + .eds-input-panel__container {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
/* DO NOT CHANGE!*/
|
|
1094
1094
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1095
|
-
.eds-segmented-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
background: var(--components-form-segmentedcontrol-standard-background);
|
|
1099
|
-
border-radius: 0.5rem;
|
|
1095
|
+
.eds-segmented-choice {
|
|
1096
|
+
display: block;
|
|
1097
|
+
flex: 1 1 0px;
|
|
1100
1098
|
}
|
|
1101
|
-
.eds-
|
|
1102
|
-
background: var(--components-form-segmentedcontrol-
|
|
1099
|
+
.eds-segmented-choice .eds-base-segmented {
|
|
1100
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-unselected);
|
|
1101
|
+
background-color: var(--background-color);
|
|
1102
|
+
border-radius: 0.25rem;
|
|
1103
|
+
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1104
|
+
cursor: pointer;
|
|
1105
|
+
font-size: 0.875rem;
|
|
1106
|
+
height: 1.5rem;
|
|
1107
|
+
line-height: 1.25rem;
|
|
1108
|
+
margin: 0.25rem;
|
|
1109
|
+
outline-color: transparent;
|
|
1110
|
+
padding: calc(0.25rem / 2) 0.75rem;
|
|
1111
|
+
text-align: center;
|
|
1112
|
+
-webkit-user-select: none;
|
|
1113
|
+
-moz-user-select: none;
|
|
1114
|
+
user-select: none;
|
|
1115
|
+
}
|
|
1116
|
+
.eds-segmented-choice .eds-base-segmented--large {
|
|
1117
|
+
font-size: 1rem;
|
|
1118
|
+
height: 2.5rem;
|
|
1119
|
+
line-height: 1.5rem;
|
|
1120
|
+
padding: 0.5rem 0.75rem;
|
|
1121
|
+
}
|
|
1122
|
+
.eds-contrast .eds-segmented-choice .eds-base-segmented {
|
|
1123
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-background);
|
|
1124
|
+
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1125
|
+
}
|
|
1126
|
+
.eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1127
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1128
|
+
}
|
|
1129
|
+
.eds-contrast .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1130
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1131
|
+
}
|
|
1132
|
+
.eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1133
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1134
|
+
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1135
|
+
}
|
|
1136
|
+
.eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1137
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1138
|
+
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1139
|
+
}
|
|
1140
|
+
.eds-segmented-choice input {
|
|
1141
|
+
-webkit-appearance: none;
|
|
1142
|
+
-moz-appearance: none;
|
|
1143
|
+
appearance: none;
|
|
1144
|
+
position: absolute;
|
|
1145
|
+
opacity: 0;
|
|
1146
|
+
height: 0;
|
|
1147
|
+
width: 0;
|
|
1148
|
+
}
|
|
1149
|
+
.eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1150
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-selected);
|
|
1151
|
+
color: var(--components-form-segmentedcontrol-standard-text-selected);
|
|
1152
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1153
|
+
}
|
|
1154
|
+
.eds-contrast .eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1155
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-fill-selected);
|
|
1156
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
1157
|
+
color: var(--components-form-segmentedcontrol-contrast-text-selected);
|
|
1158
|
+
}
|
|
1159
|
+
.eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1160
|
+
outline: 2px solid #181c56;
|
|
1161
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1162
|
+
outline-offset: 0.125rem;
|
|
1163
|
+
}
|
|
1164
|
+
.eds-contrast .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1165
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1166
|
+
}
|
|
1167
|
+
.eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
|
|
1168
|
+
outline: 2px solid #181c56;
|
|
1169
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1170
|
+
outline-offset: 0.125rem;
|
|
1171
|
+
}
|
|
1172
|
+
.eds-contrast .eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
|
|
1173
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1103
1174
|
}
|
|
1104
1175
|
/* DO NOT CHANGE!*/
|
|
1105
1176
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -1702,83 +1773,12 @@ input:disabled + .eds-input-panel__container {
|
|
|
1702
1773
|
}
|
|
1703
1774
|
/* DO NOT CHANGE!*/
|
|
1704
1775
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1705
|
-
.eds-segmented-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-unselected);
|
|
1711
|
-
background-color: var(--background-color);
|
|
1712
|
-
border-radius: 0.25rem;
|
|
1713
|
-
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1714
|
-
cursor: pointer;
|
|
1715
|
-
font-size: 0.875rem;
|
|
1716
|
-
height: 1.5rem;
|
|
1717
|
-
line-height: 1.25rem;
|
|
1718
|
-
margin: 0.25rem;
|
|
1719
|
-
outline-color: transparent;
|
|
1720
|
-
padding: calc(0.25rem / 2) 0.75rem;
|
|
1721
|
-
text-align: center;
|
|
1722
|
-
-webkit-user-select: none;
|
|
1723
|
-
-moz-user-select: none;
|
|
1724
|
-
user-select: none;
|
|
1725
|
-
}
|
|
1726
|
-
.eds-segmented-choice .eds-base-segmented--large {
|
|
1727
|
-
font-size: 1rem;
|
|
1728
|
-
height: 2.5rem;
|
|
1729
|
-
line-height: 1.5rem;
|
|
1730
|
-
padding: 0.5rem 0.75rem;
|
|
1731
|
-
}
|
|
1732
|
-
.eds-contrast .eds-segmented-choice .eds-base-segmented {
|
|
1733
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-background);
|
|
1734
|
-
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1735
|
-
}
|
|
1736
|
-
.eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1737
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1738
|
-
}
|
|
1739
|
-
.eds-contrast .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1740
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1741
|
-
}
|
|
1742
|
-
.eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1743
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1744
|
-
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1745
|
-
}
|
|
1746
|
-
.eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1747
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1748
|
-
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1749
|
-
}
|
|
1750
|
-
.eds-segmented-choice input {
|
|
1751
|
-
-webkit-appearance: none;
|
|
1752
|
-
-moz-appearance: none;
|
|
1753
|
-
appearance: none;
|
|
1754
|
-
position: absolute;
|
|
1755
|
-
opacity: 0;
|
|
1756
|
-
height: 0;
|
|
1757
|
-
width: 0;
|
|
1758
|
-
}
|
|
1759
|
-
.eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1760
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-selected);
|
|
1761
|
-
color: var(--components-form-segmentedcontrol-standard-text-selected);
|
|
1762
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1763
|
-
}
|
|
1764
|
-
.eds-contrast .eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1765
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-fill-selected);
|
|
1766
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
1767
|
-
color: var(--components-form-segmentedcontrol-contrast-text-selected);
|
|
1768
|
-
}
|
|
1769
|
-
.eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1770
|
-
outline: 2px solid #181c56;
|
|
1771
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1772
|
-
outline-offset: 0.125rem;
|
|
1773
|
-
}
|
|
1774
|
-
.eds-contrast .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1775
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1776
|
-
}
|
|
1777
|
-
.eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
|
|
1778
|
-
outline: 2px solid #181c56;
|
|
1779
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1780
|
-
outline-offset: 0.125rem;
|
|
1776
|
+
.eds-segmented-control {
|
|
1777
|
+
margin-top: 0.25rem;
|
|
1778
|
+
display: flex;
|
|
1779
|
+
background: var(--components-form-segmentedcontrol-standard-background);
|
|
1780
|
+
border-radius: 0.5rem;
|
|
1781
1781
|
}
|
|
1782
|
-
.eds-contrast .eds-segmented-
|
|
1783
|
-
|
|
1782
|
+
.eds-contrast .eds-segmented-control {
|
|
1783
|
+
background: var(--components-form-segmentedcontrol-contrast-background);
|
|
1784
1784
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.10-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/form.esm.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/button": "^3.3.
|
|
31
|
-
"@entur/icons": "^7.
|
|
30
|
+
"@entur/button": "^3.3.10-beta.0",
|
|
31
|
+
"@entur/icons": "^7.13.0-beta.0",
|
|
32
32
|
"@entur/tokens": "^3.19.1",
|
|
33
|
-
"@entur/tooltip": "^5.2.
|
|
34
|
-
"@entur/typography": "^1.9.
|
|
33
|
+
"@entur/tooltip": "^5.2.10-beta.0",
|
|
34
|
+
"@entur/typography": "^1.9.10-beta.0",
|
|
35
35
|
"@entur/utils": "^0.12.3",
|
|
36
36
|
"classnames": "^2.3.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"dts-cli": "2.0.5"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "395ed0106e0bd13be76da11ee8ae35b3197ab218"
|
|
42
42
|
}
|