@entur/form 7.0.38-beta.0 → 7.0.39

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.
Files changed (2) hide show
  1. package/dist/styles.css +547 -547
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -1,359 +1,174 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-form-control-wrapper {
4
- --border-color: #7C7F9F;
5
- --border-color-hover: #aeb7e2;
6
- align-items: center;
7
- background-color: #ffffff;
8
- border-radius: 0.25rem;
9
- border: 0.125rem solid var(--border-color);
10
- box-shadow: 0 0 0 transparent;
11
- color: #181c56;
3
+ .eds-feedback-text {
12
4
  display: flex;
13
- position: relative;
14
- width: 100%;
15
- min-height: 3rem;
16
- transition: border-color 0.1s ease-in-out;
17
- --textarea-label-background: t.$colors-brand-white;
18
- /*
19
- Some input controls require a darker design while inside a contrast block.
20
- These elements require the `--dark` modifier, even on the wrapper.
21
- */
5
+ align-items: center;
6
+ margin-top: 0.25rem;
22
7
  }
23
- .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
24
- --border-color: #181c56;
8
+ .eds-feedback-text--info {
9
+ padding-left: calc(1rem + 0.125rem);
25
10
  }
26
- .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
27
- --border-color: #181c56;
11
+ .eds-feedback-text__text {
12
+ color: #181c56;
28
13
  }
29
- .eds-contrast .eds-form-control-wrapper:hover {
30
- --border-color: #aeb7e2;
14
+ .eds-contrast .eds-feedback-text__text {
15
+ color: #ffffff;
31
16
  }
32
- .eds-form-control-wrapper[focus-within] {
33
- box-shadow: inset 0 0 0 1px var(--border-color);
17
+
18
+ .eds-feedback-text__icon {
19
+ font-size: 1.5rem;
20
+ min-height: 1.5rem;
21
+ min-width: 1.5rem;
22
+ padding-right: 0.5rem;
23
+ position: relative;
24
+ top: -0.1rem;
34
25
  }
35
- .eds-form-control-wrapper:focus-within {
36
- box-shadow: inset 0 0 0 1px var(--border-color);
26
+ .eds-feedback-text__icon--success {
27
+ color: #1a8e60;
37
28
  }
38
- .eds-contrast .eds-form-control-wrapper[focus-within] {
39
- --border-color: #181c56;
40
- box-shadow: 0 0 0 0.125rem #aeb7e2;
29
+ .eds-contrast .eds-feedback-text__icon--success {
30
+ color: #5ac39a;
41
31
  }
42
- .eds-contrast .eds-form-control-wrapper:focus-within {
43
- --border-color: #181c56;
44
- box-shadow: 0 0 0 0.125rem #aeb7e2;
32
+ .eds-feedback-text__icon--error {
33
+ color: #d31b1b;
45
34
  }
46
- .eds-form-control-wrapper ::-moz-placeholder {
47
- color: #656782;
35
+ .eds-contrast .eds-feedback-text__icon--error {
36
+ color: #ff9494;
48
37
  }
49
- .eds-form-control-wrapper ::placeholder {
50
- color: #656782;
38
+ .eds-feedback-text__icon--info {
39
+ color: #0082b9;
51
40
  }
52
- .eds-form-control-wrapper--disabled {
53
- --border-color: transparent;
54
- background-color: #e9e9e9;
55
- pointer-events: none;
56
- color: #646464;
41
+ .eds-contrast .eds-feedback-text__icon--info {
42
+ color: #64b3e7;
57
43
  }
58
- .eds-form-control-wrapper--disabled .eds-input-group__label {
59
- color: #646464;
44
+ .eds-feedback-text__icon--warning {
45
+ color: #ffca28;
60
46
  }
61
- .eds-contrast .eds-form-control-wrapper--disabled {
62
- background: #292b6a;
63
- color: #8285a8;
47
+ .eds-feedback-text__icon--warning circle {
48
+ fill: #181c56;
64
49
  }
65
- .eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
66
- color: #8285a8;
50
+ .eds-contrast .eds-feedback-text__icon--warning {
51
+ color: #ffe082;
67
52
  }
68
- .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
69
- display: none;
53
+ .eds-fieldset {
54
+ margin: 0;
55
+ padding: 0;
56
+ border: 0;
70
57
  }
71
- .eds-form-control-wrapper--readonly {
72
- --border-color: transparent;
73
- --textarea-label-background: t.$colors-greys-grey90;
74
- pointer-events: none;
75
- cursor: default;
76
- background: #f8f8f8;
58
+ /* DO NOT CHANGE!*/
59
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
60
+ .eds-checkbox__container {
61
+ display: flex;
62
+ align-items: center;
63
+ position: relative;
64
+ -webkit-appearance: none;
65
+ -moz-appearance: none;
66
+ appearance: none;
67
+ cursor: pointer;
68
+ -webkit-user-select: none;
69
+ -moz-user-select: none;
70
+ user-select: none;
71
+ width: -moz-fit-content;
72
+ width: fit-content;
73
+ margin: 0.5rem 0;
77
74
  }
78
- .eds-contrast .eds-form-control-wrapper--readonly {
79
- --textarea-label-background: t.$colors-blues-blue10;
80
- background: #292b6a;
81
- color: #ffffff;
75
+ .eds-checkbox__container--reduced-click-area {
76
+ height: -moz-fit-content;
77
+ height: fit-content;
82
78
  }
83
- .eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
84
- color: #aeb7e2;
79
+ .eds-checkbox__container input {
80
+ position: absolute;
81
+ opacity: 0;
82
+ height: 0;
83
+ width: 0;
85
84
  }
86
- .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
87
- display: none;
85
+ .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
86
+ background-color: #181c56;
88
87
  }
89
- .eds-form-control-wrapper--size-medium .eds-form-control,
90
- .eds-form-control-wrapper--size-medium .eds-form-control__append,
91
- .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
92
- font-size: 1rem;
93
- line-height: 1rem;
88
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
89
+ visibility: visible;
94
90
  }
95
- .eds-form-control-wrapper--size-large {
96
- min-height: 4rem;
97
- padding: 0 0.5rem;
91
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
92
+ stroke: #ffffff;
93
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
98
94
  }
99
- .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
100
- border-width: 0.25rem;
95
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
96
+ fill: #ffffff;
101
97
  }
102
- .eds-form-control-wrapper--size-large .eds-form-control,
103
- .eds-form-control-wrapper--size-large .eds-form-control__append,
104
- .eds-form-control-wrapper--size-large .eds-form-control__prepend {
105
- font-size: 1.5rem;
106
- line-height: 2.25rem;
98
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
99
+ opacity: 0.5;
107
100
  }
108
- .eds-form-control-wrapper--success {
109
- border-color: #1a8e60;
110
- --border-color: #1a8e60;
101
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
102
+ opacity: 0.5;
111
103
  }
112
- .eds-form-control-wrapper--success:hover {
113
- border-color: #5ac39a;
104
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
105
+ opacity: 0.5;
114
106
  }
115
- .eds-form-control-wrapper--success[focus-within] {
116
- border-color: #1a8e60;
107
+ .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
108
+ opacity: 0.5;
117
109
  }
118
- .eds-form-control-wrapper--success:focus-within {
119
- border-color: #1a8e60;
110
+ .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
111
+ opacity: 0.5;
120
112
  }
121
- .eds-contrast .eds-form-control-wrapper--success {
122
- border-color: #5ac39a;
123
- --border-color: #5ac39a;
113
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
114
+ background-color: #aeb7e2;
124
115
  }
125
- .eds-contrast .eds-form-control-wrapper--success:hover {
126
- border-color: #1a8e60;
116
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
117
+ stroke: #181c56;
127
118
  }
128
- .eds-contrast .eds-form-control-wrapper--success[focus-within] {
129
- --border-color: #5ac39a;
130
- border-color: #181c56;
119
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
120
+ fill: #181c56;
131
121
  }
132
- .eds-contrast .eds-form-control-wrapper--success:focus-within {
133
- --border-color: #5ac39a;
134
- border-color: #181c56;
122
+ .eds-checkbox__container:hover input + .eds-checkbox__icon {
123
+ border-color: #292b6a;
124
+ background-color: #d1d4e3;
135
125
  }
136
- .eds-form-control-wrapper--error {
137
- border-color: #d31b1b;
138
- --border-color: #d31b1b;
126
+ .eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
127
+ border-color: #b6bee5;
128
+ background-color: rgba(174, 183, 226, 0.2);
139
129
  }
140
- .eds-form-control-wrapper--error:hover {
141
- border-color: #ff9494;
130
+ .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
131
+ .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
132
+ border-color: transparent;
133
+ background-color: #54568c;
142
134
  }
143
- .eds-form-control-wrapper--error[focus-within] {
144
- border-color: #d31b1b;
135
+ .eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
136
+ .eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
137
+ background-color: #b6bee5;
145
138
  }
146
- .eds-form-control-wrapper--error:focus-within {
147
- border-color: #d31b1b;
139
+ .eds-checkbox__container:active input + .eds-checkbox__icon {
140
+ border-color: #16194d;
148
141
  }
149
- .eds-contrast .eds-form-control-wrapper--error {
150
- border-color: #ff9494;
151
- --border-color: #ff9494;
142
+ .eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
143
+ border-color: #9da5cb;
152
144
  }
153
- .eds-contrast .eds-form-control-wrapper--error:hover {
154
- border-color: #d31b1b;
145
+ .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
146
+ .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
147
+ background-color: #16194d;
155
148
  }
156
- .eds-contrast .eds-form-control-wrapper--error[focus-within] {
157
- border-color: #181c56;
158
- --border-color: #ff9494;
149
+ .eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
150
+ .eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
151
+ background-color: #9da5cb;
159
152
  }
160
- .eds-contrast .eds-form-control-wrapper--error:focus-within {
161
- border-color: #181c56;
162
- --border-color: #ff9494;
153
+ .eds-checkbox__container:focus + .eds-checkbox__icon,
154
+ .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
155
+ outline: none;
156
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
157
+ outline-offset: 0.125rem;
163
158
  }
164
- .eds-contrast .eds-form-control-wrapper--dark {
165
- background-color: #181c56;
166
- color: #ffffff;
159
+ .eds-checkbox__container:focus + .eds-checkbox__icon,
160
+ .eds-checkbox__container :focus-within + .eds-checkbox__icon {
161
+ outline: none;
162
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
163
+ outline-offset: 0.125rem;
167
164
  }
168
- .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
169
- color: #aeb7e2;
165
+ .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
166
+ .eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
167
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
170
168
  }
171
- .eds-contrast .eds-form-control-wrapper--dark ::placeholder {
172
- color: #aeb7e2;
173
- }
174
- .eds-contrast .eds-form-control-wrapper--dark:hover {
175
- border-color: #aeb7e2;
176
- }
177
- .eds-contrast .eds-form-control-wrapper--dark[focus-within] {
178
- background-color: #292b6a;
179
- border-color: #aeb7e2;
180
- }
181
- .eds-contrast .eds-form-control-wrapper--dark:focus-within {
182
- background-color: #292b6a;
183
- border-color: #aeb7e2;
184
- }
185
- .eds-contrast .eds-form-control-wrapper--dark * {
186
- background-color: transparent;
187
- color: inherit;
188
- }
189
- .eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
190
- background-color: #292b6a;
191
- color: #8285a8;
192
- }
193
-
194
- .eds-form-control {
195
- -webkit-appearance: none;
196
- -moz-appearance: none;
197
- appearance: none;
198
- background-color: transparent;
199
- border: 0;
200
- color: inherit;
201
- display: block;
202
- font-family: inherit;
203
- line-height: 1rem;
204
- font-size: 1rem;
205
- padding: 20px 1rem 0.25rem;
206
- width: 100%;
207
- }
208
- .eds-form-control::-moz-placeholder {
209
- opacity: 0;
210
- -moz-transition: opacity 0.2s ease-in-out;
211
- transition: opacity 0.2s ease-in-out;
212
- }
213
- .eds-form-control::placeholder {
214
- opacity: 0;
215
- transition: opacity 0.2s ease-in-out;
216
- }
217
- .eds-form-control:focus {
218
- outline: none;
219
- }
220
- .eds-form-control:focus::-moz-placeholder {
221
- opacity: 1;
222
- }
223
- .eds-form-control:focus::placeholder {
224
- opacity: 1;
225
- }
226
- .eds-form-control__prepend, .eds-form-control__append {
227
- position: relative;
228
- margin: 0 1rem;
229
- line-height: inherit;
230
- }
231
- .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
232
- position: static;
233
- }
234
- .eds-form-control__prepend svg, .eds-form-control__append svg {
235
- top: 0.125rem;
236
- }
237
- .eds-form-control__prepend {
238
- margin-right: 0;
239
- }
240
- .eds-form-control__append {
241
- margin-left: 0;
242
- }
243
- /* DO NOT CHANGE!*/
244
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
245
- .eds-checkbox__container {
246
- display: flex;
247
- align-items: center;
248
- position: relative;
249
- -webkit-appearance: none;
250
- -moz-appearance: none;
251
- appearance: none;
252
- cursor: pointer;
253
- -webkit-user-select: none;
254
- -moz-user-select: none;
255
- user-select: none;
256
- width: -moz-fit-content;
257
- width: fit-content;
258
- margin: 0.5rem 0;
259
- }
260
- .eds-checkbox__container--reduced-click-area {
261
- height: -moz-fit-content;
262
- height: fit-content;
263
- }
264
- .eds-checkbox__container input {
265
- position: absolute;
266
- opacity: 0;
267
- height: 0;
268
- width: 0;
269
- }
270
- .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
271
- background-color: #181c56;
272
- }
273
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
274
- visibility: visible;
275
- }
276
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
277
- stroke: #ffffff;
278
- animation: stroke ease-in-out 0.2s 0.1s forwards;
279
- }
280
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
281
- fill: #ffffff;
282
- }
283
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
284
- opacity: 0.5;
285
- }
286
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
287
- opacity: 0.5;
288
- }
289
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
290
- opacity: 0.5;
291
- }
292
- .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
293
- opacity: 0.5;
294
- }
295
- .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
296
- opacity: 0.5;
297
- }
298
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
299
- background-color: #aeb7e2;
300
- }
301
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
302
- stroke: #181c56;
303
- }
304
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
305
- fill: #181c56;
306
- }
307
- .eds-checkbox__container:hover input + .eds-checkbox__icon {
308
- border-color: #292b6a;
309
- background-color: #d1d4e3;
310
- }
311
- .eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
312
- border-color: #b6bee5;
313
- background-color: rgba(174, 183, 226, 0.2);
314
- }
315
- .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
316
- .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
317
- border-color: transparent;
318
- background-color: #54568c;
319
- }
320
- .eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
321
- .eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
322
- background-color: #b6bee5;
323
- }
324
- .eds-checkbox__container:active input + .eds-checkbox__icon {
325
- border-color: #16194d;
326
- }
327
- .eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
328
- border-color: #9da5cb;
329
- }
330
- .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
331
- .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
332
- background-color: #16194d;
333
- }
334
- .eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
335
- .eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
336
- background-color: #9da5cb;
337
- }
338
- .eds-checkbox__container:focus + .eds-checkbox__icon,
339
- .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
340
- outline: none;
341
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
342
- outline-offset: 0.125rem;
343
- }
344
- .eds-checkbox__container:focus + .eds-checkbox__icon,
345
- .eds-checkbox__container :focus-within + .eds-checkbox__icon {
346
- outline: none;
347
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
348
- outline-offset: 0.125rem;
349
- }
350
- .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
351
- .eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
352
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
353
- }
354
- .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
355
- .eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
356
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
169
+ .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
170
+ .eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
171
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
357
172
  }
358
173
  .eds-checkbox--disabled {
359
174
  pointer-events: none;
@@ -402,63 +217,6 @@
402
217
  stroke-dashoffset: 0;
403
218
  }
404
219
  }
405
- .eds-fieldset {
406
- margin: 0;
407
- padding: 0;
408
- border: 0;
409
- }
410
- /* DO NOT CHANGE!*/
411
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
412
- .eds-feedback-text {
413
- display: flex;
414
- align-items: center;
415
- margin-top: 0.25rem;
416
- }
417
- .eds-feedback-text--info {
418
- padding-left: calc(1rem + 0.125rem);
419
- }
420
- .eds-feedback-text__text {
421
- color: #181c56;
422
- }
423
- .eds-contrast .eds-feedback-text__text {
424
- color: #ffffff;
425
- }
426
-
427
- .eds-feedback-text__icon {
428
- font-size: 1.5rem;
429
- min-height: 1.5rem;
430
- min-width: 1.5rem;
431
- padding-right: 0.5rem;
432
- position: relative;
433
- top: -0.1rem;
434
- }
435
- .eds-feedback-text__icon--success {
436
- color: #1a8e60;
437
- }
438
- .eds-contrast .eds-feedback-text__icon--success {
439
- color: #5ac39a;
440
- }
441
- .eds-feedback-text__icon--error {
442
- color: #d31b1b;
443
- }
444
- .eds-contrast .eds-feedback-text__icon--error {
445
- color: #ff9494;
446
- }
447
- .eds-feedback-text__icon--info {
448
- color: #0082b9;
449
- }
450
- .eds-contrast .eds-feedback-text__icon--info {
451
- color: #64b3e7;
452
- }
453
- .eds-feedback-text__icon--warning {
454
- color: #ffca28;
455
- }
456
- .eds-feedback-text__icon--warning circle {
457
- fill: #181c56;
458
- }
459
- .eds-contrast .eds-feedback-text__icon--warning {
460
- color: #ffe082;
461
- }
462
220
  /* DO NOT CHANGE!*/
463
221
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
464
222
  .eds-input-group {
@@ -593,122 +351,452 @@
593
351
  }
594
352
  /* DO NOT CHANGE!*/
595
353
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
596
- .eds-switch {
354
+ .eds-form-component--radio__container {
355
+ display: flex;
356
+ justify-content: center;
357
+ align-items: center;
358
+ position: relative;
597
359
  cursor: pointer;
360
+ height: 2rem;
361
+ width: -moz-fit-content;
362
+ width: fit-content;
598
363
  -webkit-user-select: none;
599
364
  -moz-user-select: none;
600
365
  user-select: none;
601
- padding: 0.5rem 0;
602
- width: -moz-fit-content;
603
- width: fit-content;
604
366
  }
605
- .eds-switch input {
606
- opacity: 0;
607
- pointer-events: none;
608
- position: absolute;
367
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
368
+ border-color: #54568c;
369
+ }
370
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
371
+ background-color: #54568c;
372
+ }
373
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
374
+ border-color: #8285a8;
375
+ }
376
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
377
+ background-color: #8285a8;
378
+ }
379
+ .eds-form-component--radio__container input {
380
+ position: absolute;
381
+ opacity: 0;
382
+ cursor: pointer;
383
+ height: 0;
384
+ width: 0;
385
+ }
386
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
387
+ height: 0.625rem;
388
+ width: 0.625rem;
389
+ }
390
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
391
+ outline: none;
392
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
393
+ outline-offset: 0.125rem;
394
+ }
395
+ .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
396
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
397
+ }
398
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
399
+ position: relative;
400
+ height: 1.25rem;
401
+ width: 1.25rem;
402
+ margin-right: 1rem;
403
+ background-color: #ffffff;
404
+ border: 0.125rem solid #181c56;
405
+ border-radius: 50%;
406
+ display: flex;
407
+ align-items: center;
408
+ justify-content: center;
409
+ }
410
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
411
+ background-color: #181c56;
412
+ border-color: #aeb7e2;
413
+ }
414
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
415
+ background: #d1d3d3;
416
+ border-color: #d1d3d3;
417
+ cursor: not-allowed;
418
+ }
419
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
420
+ border-color: #d1d3d3;
421
+ }
422
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
423
+ background: #d1d3d3;
424
+ border-color: #d1d3d3;
425
+ }
426
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
427
+ color: #656782;
428
+ }
429
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
430
+ display: block;
431
+ width: 0;
432
+ height: 0;
433
+ border-radius: 50%;
434
+ background-color: #181c56;
435
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
436
+ }
437
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
438
+ background-color: #aeb7e2;
439
+ }
440
+ /* DO NOT CHANGE!*/
441
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
442
+ .eds-switch {
443
+ cursor: pointer;
444
+ -webkit-user-select: none;
445
+ -moz-user-select: none;
446
+ user-select: none;
447
+ padding: 0.5rem 0;
448
+ width: -moz-fit-content;
449
+ width: fit-content;
450
+ }
451
+ .eds-switch input {
452
+ opacity: 0;
453
+ pointer-events: none;
454
+ position: absolute;
455
+ }
456
+ .eds-switch--right {
457
+ display: flex;
458
+ flex-direction: row;
459
+ align-items: center;
460
+ }
461
+ .eds-switch--bottom {
462
+ display: flex;
463
+ flex-direction: column;
464
+ align-items: center;
465
+ }
466
+ .eds-switch__circle {
467
+ border-radius: 50%;
468
+ height: 1.25rem;
469
+ width: 1.25rem;
470
+ content: "";
471
+ display: flex;
472
+ align-items: center;
473
+ justify-content: center;
474
+ transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
475
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
476
+ background-color: #ffffff;
477
+ top: 0.125rem;
478
+ left: 0.125rem;
479
+ position: relative;
480
+ }
481
+ .eds-switch__switch--large .eds-switch__circle {
482
+ height: 1.75rem;
483
+ width: 1.75rem;
484
+ }
485
+ .eds-contrast .eds-switch__circle {
486
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
487
+ }
488
+ .eds-switch__switch {
489
+ position: relative;
490
+ background-color: #949494;
491
+ content: "";
492
+ display: block;
493
+ transition: background-color 0.1s ease-in-out;
494
+ height: 1.5rem;
495
+ width: 3rem;
496
+ border-radius: 1.5rem;
497
+ box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
498
+ }
499
+ .eds-contrast .eds-switch__switch {
500
+ background-color: #8285a8;
501
+ }
502
+ .eds-switch--right .eds-switch__switch {
503
+ margin-right: 0.75rem;
504
+ }
505
+ .eds-switch__switch svg g,
506
+ .eds-switch__switch path {
507
+ fill: #646464;
508
+ transition: fill ease-in-out 0.1s;
509
+ }
510
+ .eds-contrast .eds-switch__switch svg g,
511
+ .eds-contrast .eds-switch__switch path {
512
+ fill: #181c56;
513
+ }
514
+ :checked + .eds-switch__switch {
515
+ background-color: var(--eds-switch-color);
516
+ }
517
+ :checked + .eds-switch__switch .eds-switch__circle {
518
+ left: 1.625rem;
519
+ }
520
+ :checked + .eds-switch__switch .eds-switch__circle svg g,
521
+ :checked + .eds-switch__switch .eds-switch__circle path {
522
+ fill: var(--eds-switch-color);
523
+ }
524
+ .eds-contrast :checked + .eds-switch__switch {
525
+ background-color: var(--eds-switch-contrast-color);
526
+ }
527
+ :focus + .eds-switch__switch {
528
+ outline: none;
529
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
530
+ outline-offset: 0.125rem;
531
+ }
532
+ .eds-contrast :focus + .eds-switch__switch {
533
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
534
+ }
535
+ .eds-switch__switch--large {
536
+ width: 3.75rem;
537
+ height: 2rem;
538
+ border-radius: 3.75rem;
539
+ }
540
+ :checked + .eds-switch__switch--large .eds-switch__circle {
541
+ left: 1.875rem;
542
+ }
543
+ .eds-switch__switch--large svg {
544
+ position: relative;
545
+ right: 0.05rem;
546
+ }
547
+ .eds-switch__label--large--right {
548
+ font-size: 1rem;
549
+ }
550
+ .eds-switch__label--large--bottom {
551
+ font-size: 0.875rem;
552
+ }
553
+ .eds-switch__label--medium--right {
554
+ font-size: 0.875rem;
555
+ }
556
+ .eds-switch__label--medium--bottom {
557
+ font-size: 0.75rem;
558
+ }
559
+ /* DO NOT CHANGE!*/
560
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
561
+ .eds-form-control-wrapper {
562
+ --border-color: #7C7F9F;
563
+ --border-color-hover: #aeb7e2;
564
+ align-items: center;
565
+ background-color: #ffffff;
566
+ border-radius: 0.25rem;
567
+ border: 0.125rem solid var(--border-color);
568
+ box-shadow: 0 0 0 transparent;
569
+ color: #181c56;
570
+ display: flex;
571
+ position: relative;
572
+ width: 100%;
573
+ min-height: 3rem;
574
+ transition: border-color 0.1s ease-in-out;
575
+ --textarea-label-background: t.$colors-brand-white;
576
+ /*
577
+ Some input controls require a darker design while inside a contrast block.
578
+ These elements require the `--dark` modifier, even on the wrapper.
579
+ */
580
+ }
581
+ .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
582
+ --border-color: #181c56;
583
+ }
584
+ .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
585
+ --border-color: #181c56;
586
+ }
587
+ .eds-contrast .eds-form-control-wrapper:hover {
588
+ --border-color: #aeb7e2;
589
+ }
590
+ .eds-form-control-wrapper[focus-within] {
591
+ box-shadow: inset 0 0 0 1px var(--border-color);
592
+ }
593
+ .eds-form-control-wrapper:focus-within {
594
+ box-shadow: inset 0 0 0 1px var(--border-color);
595
+ }
596
+ .eds-contrast .eds-form-control-wrapper[focus-within] {
597
+ --border-color: #181c56;
598
+ box-shadow: 0 0 0 0.125rem #aeb7e2;
599
+ }
600
+ .eds-contrast .eds-form-control-wrapper:focus-within {
601
+ --border-color: #181c56;
602
+ box-shadow: 0 0 0 0.125rem #aeb7e2;
603
+ }
604
+ .eds-form-control-wrapper ::-moz-placeholder {
605
+ color: #656782;
606
+ }
607
+ .eds-form-control-wrapper ::placeholder {
608
+ color: #656782;
609
+ }
610
+ .eds-form-control-wrapper--disabled {
611
+ --border-color: transparent;
612
+ background-color: #e9e9e9;
613
+ pointer-events: none;
614
+ color: #646464;
615
+ }
616
+ .eds-form-control-wrapper--disabled .eds-input-group__label {
617
+ color: #646464;
618
+ }
619
+ .eds-contrast .eds-form-control-wrapper--disabled {
620
+ background: #292b6a;
621
+ color: #8285a8;
622
+ }
623
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
624
+ color: #8285a8;
625
+ }
626
+ .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
627
+ display: none;
628
+ }
629
+ .eds-form-control-wrapper--readonly {
630
+ --border-color: transparent;
631
+ --textarea-label-background: t.$colors-greys-grey90;
632
+ pointer-events: none;
633
+ cursor: default;
634
+ background: #f8f8f8;
635
+ }
636
+ .eds-contrast .eds-form-control-wrapper--readonly {
637
+ --textarea-label-background: t.$colors-blues-blue10;
638
+ background: #292b6a;
639
+ color: #ffffff;
640
+ }
641
+ .eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
642
+ color: #aeb7e2;
643
+ }
644
+ .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
645
+ display: none;
646
+ }
647
+ .eds-form-control-wrapper--size-medium .eds-form-control,
648
+ .eds-form-control-wrapper--size-medium .eds-form-control__append,
649
+ .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
650
+ font-size: 1rem;
651
+ line-height: 1rem;
652
+ }
653
+ .eds-form-control-wrapper--size-large {
654
+ min-height: 4rem;
655
+ padding: 0 0.5rem;
656
+ }
657
+ .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
658
+ border-width: 0.25rem;
659
+ }
660
+ .eds-form-control-wrapper--size-large .eds-form-control,
661
+ .eds-form-control-wrapper--size-large .eds-form-control__append,
662
+ .eds-form-control-wrapper--size-large .eds-form-control__prepend {
663
+ font-size: 1.5rem;
664
+ line-height: 2.25rem;
665
+ }
666
+ .eds-form-control-wrapper--success {
667
+ border-color: #1a8e60;
668
+ --border-color: #1a8e60;
669
+ }
670
+ .eds-form-control-wrapper--success:hover {
671
+ border-color: #5ac39a;
672
+ }
673
+ .eds-form-control-wrapper--success[focus-within] {
674
+ border-color: #1a8e60;
675
+ }
676
+ .eds-form-control-wrapper--success:focus-within {
677
+ border-color: #1a8e60;
678
+ }
679
+ .eds-contrast .eds-form-control-wrapper--success {
680
+ border-color: #5ac39a;
681
+ --border-color: #5ac39a;
682
+ }
683
+ .eds-contrast .eds-form-control-wrapper--success:hover {
684
+ border-color: #1a8e60;
685
+ }
686
+ .eds-contrast .eds-form-control-wrapper--success[focus-within] {
687
+ --border-color: #5ac39a;
688
+ border-color: #181c56;
689
+ }
690
+ .eds-contrast .eds-form-control-wrapper--success:focus-within {
691
+ --border-color: #5ac39a;
692
+ border-color: #181c56;
693
+ }
694
+ .eds-form-control-wrapper--error {
695
+ border-color: #d31b1b;
696
+ --border-color: #d31b1b;
697
+ }
698
+ .eds-form-control-wrapper--error:hover {
699
+ border-color: #ff9494;
609
700
  }
610
- .eds-switch--right {
611
- display: flex;
612
- flex-direction: row;
613
- align-items: center;
701
+ .eds-form-control-wrapper--error[focus-within] {
702
+ border-color: #d31b1b;
614
703
  }
615
- .eds-switch--bottom {
616
- display: flex;
617
- flex-direction: column;
618
- align-items: center;
704
+ .eds-form-control-wrapper--error:focus-within {
705
+ border-color: #d31b1b;
619
706
  }
620
- .eds-switch__circle {
621
- border-radius: 50%;
622
- height: 1.25rem;
623
- width: 1.25rem;
624
- content: "";
625
- display: flex;
626
- align-items: center;
627
- justify-content: center;
628
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
629
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
630
- background-color: #ffffff;
631
- top: 0.125rem;
632
- left: 0.125rem;
633
- position: relative;
707
+ .eds-contrast .eds-form-control-wrapper--error {
708
+ border-color: #ff9494;
709
+ --border-color: #ff9494;
634
710
  }
635
- .eds-switch__switch--large .eds-switch__circle {
636
- height: 1.75rem;
637
- width: 1.75rem;
711
+ .eds-contrast .eds-form-control-wrapper--error:hover {
712
+ border-color: #d31b1b;
638
713
  }
639
- .eds-contrast .eds-switch__circle {
640
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
714
+ .eds-contrast .eds-form-control-wrapper--error[focus-within] {
715
+ border-color: #181c56;
716
+ --border-color: #ff9494;
641
717
  }
642
- .eds-switch__switch {
643
- position: relative;
644
- background-color: #949494;
645
- content: "";
646
- display: block;
647
- transition: background-color 0.1s ease-in-out;
648
- height: 1.5rem;
649
- width: 3rem;
650
- border-radius: 1.5rem;
651
- box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
718
+ .eds-contrast .eds-form-control-wrapper--error:focus-within {
719
+ border-color: #181c56;
720
+ --border-color: #ff9494;
652
721
  }
653
- .eds-contrast .eds-switch__switch {
654
- background-color: #8285a8;
722
+ .eds-contrast .eds-form-control-wrapper--dark {
723
+ background-color: #181c56;
724
+ color: #ffffff;
655
725
  }
656
- .eds-switch--right .eds-switch__switch {
657
- margin-right: 0.75rem;
726
+ .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
727
+ color: #aeb7e2;
658
728
  }
659
- .eds-switch__switch svg g,
660
- .eds-switch__switch path {
661
- fill: #646464;
662
- transition: fill ease-in-out 0.1s;
729
+ .eds-contrast .eds-form-control-wrapper--dark ::placeholder {
730
+ color: #aeb7e2;
663
731
  }
664
- .eds-contrast .eds-switch__switch svg g,
665
- .eds-contrast .eds-switch__switch path {
666
- fill: #181c56;
732
+ .eds-contrast .eds-form-control-wrapper--dark:hover {
733
+ border-color: #aeb7e2;
667
734
  }
668
- :checked + .eds-switch__switch {
669
- background-color: var(--eds-switch-color);
735
+ .eds-contrast .eds-form-control-wrapper--dark[focus-within] {
736
+ background-color: #292b6a;
737
+ border-color: #aeb7e2;
670
738
  }
671
- :checked + .eds-switch__switch .eds-switch__circle {
672
- left: 1.625rem;
739
+ .eds-contrast .eds-form-control-wrapper--dark:focus-within {
740
+ background-color: #292b6a;
741
+ border-color: #aeb7e2;
673
742
  }
674
- :checked + .eds-switch__switch .eds-switch__circle svg g,
675
- :checked + .eds-switch__switch .eds-switch__circle path {
676
- fill: var(--eds-switch-color);
743
+ .eds-contrast .eds-form-control-wrapper--dark * {
744
+ background-color: transparent;
745
+ color: inherit;
677
746
  }
678
- .eds-contrast :checked + .eds-switch__switch {
679
- background-color: var(--eds-switch-contrast-color);
747
+ .eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
748
+ background-color: #292b6a;
749
+ color: #8285a8;
680
750
  }
681
- :focus + .eds-switch__switch {
682
- outline: none;
683
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
684
- outline-offset: 0.125rem;
751
+
752
+ .eds-form-control {
753
+ -webkit-appearance: none;
754
+ -moz-appearance: none;
755
+ appearance: none;
756
+ background-color: transparent;
757
+ border: 0;
758
+ color: inherit;
759
+ display: block;
760
+ font-family: inherit;
761
+ line-height: 1rem;
762
+ font-size: 1rem;
763
+ padding: 20px 1rem 0.25rem;
764
+ width: 100%;
685
765
  }
686
- .eds-contrast :focus + .eds-switch__switch {
687
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
766
+ .eds-form-control::-moz-placeholder {
767
+ opacity: 0;
768
+ -moz-transition: opacity 0.2s ease-in-out;
769
+ transition: opacity 0.2s ease-in-out;
688
770
  }
689
- .eds-switch__switch--large {
690
- width: 3.75rem;
691
- height: 2rem;
692
- border-radius: 3.75rem;
771
+ .eds-form-control::placeholder {
772
+ opacity: 0;
773
+ transition: opacity 0.2s ease-in-out;
693
774
  }
694
- :checked + .eds-switch__switch--large .eds-switch__circle {
695
- left: 1.875rem;
775
+ .eds-form-control:focus {
776
+ outline: none;
696
777
  }
697
- .eds-switch__switch--large svg {
778
+ .eds-form-control:focus::-moz-placeholder {
779
+ opacity: 1;
780
+ }
781
+ .eds-form-control:focus::placeholder {
782
+ opacity: 1;
783
+ }
784
+ .eds-form-control__prepend, .eds-form-control__append {
698
785
  position: relative;
699
- right: 0.05rem;
786
+ margin: 0 1rem;
787
+ line-height: inherit;
700
788
  }
701
- .eds-switch__label--large--right {
702
- font-size: 1rem;
789
+ .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
790
+ position: static;
703
791
  }
704
- .eds-switch__label--large--bottom {
705
- font-size: 0.875rem;
792
+ .eds-form-control__prepend svg, .eds-form-control__append svg {
793
+ top: 0.125rem;
706
794
  }
707
- .eds-switch__label--medium--right {
708
- font-size: 0.875rem;
795
+ .eds-form-control__prepend {
796
+ margin-right: 0;
709
797
  }
710
- .eds-switch__label--medium--bottom {
711
- font-size: 0.75rem;
798
+ .eds-form-control__append {
799
+ margin-left: 0;
712
800
  }
713
801
  /* DO NOT CHANGE!*/
714
802
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -874,94 +962,6 @@ input:disabled + .eds-input-panel__container {
874
962
  }
875
963
  /* DO NOT CHANGE!*/
876
964
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
877
- .eds-form-component--radio__container {
878
- display: flex;
879
- justify-content: center;
880
- align-items: center;
881
- position: relative;
882
- cursor: pointer;
883
- height: 2rem;
884
- width: -moz-fit-content;
885
- width: fit-content;
886
- -webkit-user-select: none;
887
- -moz-user-select: none;
888
- user-select: none;
889
- }
890
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
891
- border-color: #54568c;
892
- }
893
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
894
- background-color: #54568c;
895
- }
896
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
897
- border-color: #8285a8;
898
- }
899
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
900
- background-color: #8285a8;
901
- }
902
- .eds-form-component--radio__container input {
903
- position: absolute;
904
- opacity: 0;
905
- cursor: pointer;
906
- height: 0;
907
- width: 0;
908
- }
909
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
910
- height: 0.625rem;
911
- width: 0.625rem;
912
- }
913
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
914
- outline: none;
915
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
916
- outline-offset: 0.125rem;
917
- }
918
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
919
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
920
- }
921
- .eds-form-component--radio__container .eds-form-component--radio__radio {
922
- position: relative;
923
- height: 1.25rem;
924
- width: 1.25rem;
925
- margin-right: 1rem;
926
- background-color: #ffffff;
927
- border: 0.125rem solid #181c56;
928
- border-radius: 50%;
929
- display: flex;
930
- align-items: center;
931
- justify-content: center;
932
- }
933
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
934
- background-color: #181c56;
935
- border-color: #aeb7e2;
936
- }
937
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
938
- background: #d1d3d3;
939
- border-color: #d1d3d3;
940
- cursor: not-allowed;
941
- }
942
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
943
- border-color: #d1d3d3;
944
- }
945
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
946
- background: #d1d3d3;
947
- border-color: #d1d3d3;
948
- }
949
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
950
- color: #656782;
951
- }
952
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
953
- display: block;
954
- width: 0;
955
- height: 0;
956
- border-radius: 50%;
957
- background-color: #181c56;
958
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
959
- }
960
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
961
- background-color: #aeb7e2;
962
- }
963
- /* DO NOT CHANGE!*/
964
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
965
965
  textarea.eds-form-control.eds-textarea {
966
966
  min-height: 7.75rem;
967
967
  resize: vertical;
@@ -1075,9 +1075,6 @@ textarea.eds-form-control.eds-textarea {
1075
1075
  .eds-contrast .eds-segmented-choice input:focus:checked + .eds-base-segmented {
1076
1076
  box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121), inset 0 0 0 0.0625rem #ffffff, inset 0 0 0 calc(0.125rem + 0.0625rem) #181c56;
1077
1077
  }
1078
- :root {
1079
- --eds-form: 1;
1080
- }
1081
1078
  /* DO NOT CHANGE!*/
1082
1079
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1083
1080
  .eds-segmented-control {
@@ -1089,3 +1086,6 @@ textarea.eds-form-control.eds-textarea {
1089
1086
  .eds-contrast .eds-segmented-control {
1090
1087
  background: #393d79;
1091
1088
  }
1089
+ :root {
1090
+ --eds-form: 1;
1091
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "7.0.38-beta.0",
3
+ "version": "7.0.39",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/icons": "^6.15.0",
31
- "@entur/tokens": "^3.12.0",
32
- "@entur/tooltip": "^2.6.47-beta.0",
33
- "@entur/typography": "^1.8.23",
30
+ "@entur/icons": "^6.15.1",
31
+ "@entur/tokens": "^3.13.0",
32
+ "@entur/tooltip": "^2.6.48",
33
+ "@entur/typography": "^1.8.24",
34
34
  "@entur/utils": "^0.10.0",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "453c823f5b935959f701f0c777236a8e0c23601e"
37
+ "gitHead": "450b88a0baca11352d329ffa3fcd6c003ec1d338"
38
38
  }