@entur/form 7.0.36 → 7.0.38-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.
Files changed (2) hide show
  1. package/dist/styles.css +548 -548
  2. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -1,54 +1,244 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-feedback-text {
4
- display: flex;
3
+ .eds-form-control-wrapper {
4
+ --border-color: #7C7F9F;
5
+ --border-color-hover: #aeb7e2;
5
6
  align-items: center;
6
- margin-top: 0.25rem;
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;
12
+ 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
+ */
7
22
  }
8
- .eds-feedback-text--info {
9
- padding-left: calc(1rem + 0.125rem);
23
+ .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
24
+ --border-color: #181c56;
10
25
  }
11
- .eds-feedback-text__text {
12
- color: #181c56;
26
+ .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
27
+ --border-color: #181c56;
13
28
  }
14
- .eds-contrast .eds-feedback-text__text {
29
+ .eds-contrast .eds-form-control-wrapper:hover {
30
+ --border-color: #aeb7e2;
31
+ }
32
+ .eds-form-control-wrapper[focus-within] {
33
+ box-shadow: inset 0 0 0 1px var(--border-color);
34
+ }
35
+ .eds-form-control-wrapper:focus-within {
36
+ box-shadow: inset 0 0 0 1px var(--border-color);
37
+ }
38
+ .eds-contrast .eds-form-control-wrapper[focus-within] {
39
+ --border-color: #181c56;
40
+ box-shadow: 0 0 0 0.125rem #aeb7e2;
41
+ }
42
+ .eds-contrast .eds-form-control-wrapper:focus-within {
43
+ --border-color: #181c56;
44
+ box-shadow: 0 0 0 0.125rem #aeb7e2;
45
+ }
46
+ .eds-form-control-wrapper ::-moz-placeholder {
47
+ color: #656782;
48
+ }
49
+ .eds-form-control-wrapper ::placeholder {
50
+ color: #656782;
51
+ }
52
+ .eds-form-control-wrapper--disabled {
53
+ --border-color: transparent;
54
+ background-color: #e9e9e9;
55
+ pointer-events: none;
56
+ color: #646464;
57
+ }
58
+ .eds-form-control-wrapper--disabled .eds-input-group__label {
59
+ color: #646464;
60
+ }
61
+ .eds-contrast .eds-form-control-wrapper--disabled {
62
+ background: #292b6a;
63
+ color: #8285a8;
64
+ }
65
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
66
+ color: #8285a8;
67
+ }
68
+ .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
69
+ display: none;
70
+ }
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;
77
+ }
78
+ .eds-contrast .eds-form-control-wrapper--readonly {
79
+ --textarea-label-background: t.$colors-blues-blue10;
80
+ background: #292b6a;
15
81
  color: #ffffff;
16
82
  }
17
-
18
- .eds-feedback-text__icon {
83
+ .eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
84
+ color: #aeb7e2;
85
+ }
86
+ .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
87
+ display: none;
88
+ }
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;
94
+ }
95
+ .eds-form-control-wrapper--size-large {
96
+ min-height: 4rem;
97
+ padding: 0 0.5rem;
98
+ }
99
+ .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
100
+ border-width: 0.25rem;
101
+ }
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 {
19
105
  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;
106
+ line-height: 2.25rem;
25
107
  }
26
- .eds-feedback-text__icon--success {
27
- color: #1a8e60;
108
+ .eds-form-control-wrapper--success {
109
+ border-color: #1a8e60;
110
+ --border-color: #1a8e60;
28
111
  }
29
- .eds-contrast .eds-feedback-text__icon--success {
30
- color: #5ac39a;
112
+ .eds-form-control-wrapper--success:hover {
113
+ border-color: #5ac39a;
31
114
  }
32
- .eds-feedback-text__icon--error {
33
- color: #d31b1b;
115
+ .eds-form-control-wrapper--success[focus-within] {
116
+ border-color: #1a8e60;
34
117
  }
35
- .eds-contrast .eds-feedback-text__icon--error {
36
- color: #ff9494;
118
+ .eds-form-control-wrapper--success:focus-within {
119
+ border-color: #1a8e60;
37
120
  }
38
- .eds-feedback-text__icon--info {
39
- color: #0082b9;
121
+ .eds-contrast .eds-form-control-wrapper--success {
122
+ border-color: #5ac39a;
123
+ --border-color: #5ac39a;
40
124
  }
41
- .eds-contrast .eds-feedback-text__icon--info {
42
- color: #64b3e7;
125
+ .eds-contrast .eds-form-control-wrapper--success:hover {
126
+ border-color: #1a8e60;
43
127
  }
44
- .eds-feedback-text__icon--warning {
45
- color: #ffca28;
128
+ .eds-contrast .eds-form-control-wrapper--success[focus-within] {
129
+ --border-color: #5ac39a;
130
+ border-color: #181c56;
46
131
  }
47
- .eds-feedback-text__icon--warning circle {
48
- fill: #181c56;
132
+ .eds-contrast .eds-form-control-wrapper--success:focus-within {
133
+ --border-color: #5ac39a;
134
+ border-color: #181c56;
49
135
  }
50
- .eds-contrast .eds-feedback-text__icon--warning {
51
- color: #ffe082;
136
+ .eds-form-control-wrapper--error {
137
+ border-color: #d31b1b;
138
+ --border-color: #d31b1b;
139
+ }
140
+ .eds-form-control-wrapper--error:hover {
141
+ border-color: #ff9494;
142
+ }
143
+ .eds-form-control-wrapper--error[focus-within] {
144
+ border-color: #d31b1b;
145
+ }
146
+ .eds-form-control-wrapper--error:focus-within {
147
+ border-color: #d31b1b;
148
+ }
149
+ .eds-contrast .eds-form-control-wrapper--error {
150
+ border-color: #ff9494;
151
+ --border-color: #ff9494;
152
+ }
153
+ .eds-contrast .eds-form-control-wrapper--error:hover {
154
+ border-color: #d31b1b;
155
+ }
156
+ .eds-contrast .eds-form-control-wrapper--error[focus-within] {
157
+ border-color: #181c56;
158
+ --border-color: #ff9494;
159
+ }
160
+ .eds-contrast .eds-form-control-wrapper--error:focus-within {
161
+ border-color: #181c56;
162
+ --border-color: #ff9494;
163
+ }
164
+ .eds-contrast .eds-form-control-wrapper--dark {
165
+ background-color: #181c56;
166
+ color: #ffffff;
167
+ }
168
+ .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
169
+ color: #aeb7e2;
170
+ }
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;
52
242
  }
53
243
  /* DO NOT CHANGE!*/
54
244
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -212,212 +402,62 @@
212
402
  stroke-dashoffset: 0;
213
403
  }
214
404
  }
215
- /* DO NOT CHANGE!*/
216
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
217
- .eds-switch {
218
- cursor: pointer;
219
- -webkit-user-select: none;
220
- -moz-user-select: none;
221
- user-select: none;
222
- padding: 0.5rem 0;
223
- width: -moz-fit-content;
224
- width: fit-content;
225
- }
226
- .eds-switch input {
227
- opacity: 0;
228
- pointer-events: none;
229
- position: absolute;
230
- }
231
- .eds-switch--right {
232
- display: flex;
233
- flex-direction: row;
234
- align-items: center;
235
- }
236
- .eds-switch--bottom {
237
- display: flex;
238
- flex-direction: column;
239
- align-items: center;
240
- }
241
- .eds-switch__circle {
242
- border-radius: 50%;
243
- height: 1.25rem;
244
- width: 1.25rem;
245
- content: "";
246
- display: flex;
247
- align-items: center;
248
- justify-content: center;
249
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
250
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
251
- background-color: #ffffff;
252
- top: 0.125rem;
253
- left: 0.125rem;
254
- position: relative;
255
- }
256
- .eds-switch__switch--large .eds-switch__circle {
257
- height: 1.75rem;
258
- width: 1.75rem;
259
- }
260
- .eds-contrast .eds-switch__circle {
261
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
262
- }
263
- .eds-switch__switch {
264
- position: relative;
265
- background-color: #949494;
266
- content: "";
267
- display: block;
268
- transition: background-color 0.1s ease-in-out;
269
- height: 1.5rem;
270
- width: 3rem;
271
- border-radius: 1.5rem;
272
- box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
273
- }
274
- .eds-contrast .eds-switch__switch {
275
- background-color: #8285a8;
276
- }
277
- .eds-switch--right .eds-switch__switch {
278
- margin-right: 0.75rem;
279
- }
280
- .eds-switch__switch svg g,
281
- .eds-switch__switch path {
282
- fill: #646464;
283
- transition: fill ease-in-out 0.1s;
284
- }
285
- .eds-contrast .eds-switch__switch svg g,
286
- .eds-contrast .eds-switch__switch path {
287
- fill: #181c56;
288
- }
289
- :checked + .eds-switch__switch {
290
- background-color: var(--eds-switch-color);
291
- }
292
- :checked + .eds-switch__switch .eds-switch__circle {
293
- left: 1.625rem;
294
- }
295
- :checked + .eds-switch__switch .eds-switch__circle svg g,
296
- :checked + .eds-switch__switch .eds-switch__circle path {
297
- fill: var(--eds-switch-color);
298
- }
299
- .eds-contrast :checked + .eds-switch__switch {
300
- background-color: var(--eds-switch-contrast-color);
301
- }
302
- :focus + .eds-switch__switch {
303
- outline: none;
304
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
305
- outline-offset: 0.125rem;
306
- }
307
- .eds-contrast :focus + .eds-switch__switch {
308
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
309
- }
310
- .eds-switch__switch--large {
311
- width: 3.75rem;
312
- height: 2rem;
313
- border-radius: 3.75rem;
314
- }
315
- :checked + .eds-switch__switch--large .eds-switch__circle {
316
- left: 1.875rem;
317
- }
318
- .eds-switch__switch--large svg {
319
- position: relative;
320
- right: 0.05rem;
321
- }
322
- .eds-switch__label--large--right {
323
- font-size: 1rem;
324
- }
325
- .eds-switch__label--large--bottom {
326
- font-size: 0.875rem;
327
- }
328
- .eds-switch__label--medium--right {
329
- font-size: 0.875rem;
330
- }
331
- .eds-switch__label--medium--bottom {
332
- font-size: 0.75rem;
405
+ .eds-fieldset {
406
+ margin: 0;
407
+ padding: 0;
408
+ border: 0;
333
409
  }
334
410
  /* DO NOT CHANGE!*/
335
411
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
336
- .eds-form-component--radio__container {
412
+ .eds-feedback-text {
337
413
  display: flex;
338
- justify-content: center;
339
414
  align-items: center;
340
- position: relative;
341
- cursor: pointer;
342
- height: 2rem;
343
- width: -moz-fit-content;
344
- width: fit-content;
345
- -webkit-user-select: none;
346
- -moz-user-select: none;
347
- user-select: none;
348
- }
349
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
350
- border-color: #54568c;
351
- }
352
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
353
- background-color: #54568c;
354
- }
355
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
356
- border-color: #8285a8;
415
+ margin-top: 0.25rem;
357
416
  }
358
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
359
- background-color: #8285a8;
417
+ .eds-feedback-text--info {
418
+ padding-left: calc(1rem + 0.125rem);
360
419
  }
361
- .eds-form-component--radio__container input {
362
- position: absolute;
363
- opacity: 0;
364
- cursor: pointer;
365
- height: 0;
366
- width: 0;
420
+ .eds-feedback-text__text {
421
+ color: #181c56;
367
422
  }
368
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
369
- height: 0.625rem;
370
- width: 0.625rem;
423
+ .eds-contrast .eds-feedback-text__text {
424
+ color: #ffffff;
371
425
  }
372
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
373
- outline: none;
374
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
375
- outline-offset: 0.125rem;
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;
376
434
  }
377
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
378
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
435
+ .eds-feedback-text__icon--success {
436
+ color: #1a8e60;
379
437
  }
380
- .eds-form-component--radio__container .eds-form-component--radio__radio {
381
- position: relative;
382
- height: 1.25rem;
383
- width: 1.25rem;
384
- margin-right: 1rem;
385
- background-color: #ffffff;
386
- border: 0.125rem solid #181c56;
387
- border-radius: 50%;
388
- display: flex;
389
- align-items: center;
390
- justify-content: center;
438
+ .eds-contrast .eds-feedback-text__icon--success {
439
+ color: #5ac39a;
391
440
  }
392
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
393
- background-color: #181c56;
394
- border-color: #aeb7e2;
441
+ .eds-feedback-text__icon--error {
442
+ color: #d31b1b;
395
443
  }
396
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
397
- background: #d1d3d3;
398
- border-color: #d1d3d3;
399
- cursor: not-allowed;
444
+ .eds-contrast .eds-feedback-text__icon--error {
445
+ color: #ff9494;
400
446
  }
401
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
402
- border-color: #d1d3d3;
447
+ .eds-feedback-text__icon--info {
448
+ color: #0082b9;
403
449
  }
404
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
405
- background: #d1d3d3;
406
- border-color: #d1d3d3;
450
+ .eds-contrast .eds-feedback-text__icon--info {
451
+ color: #64b3e7;
407
452
  }
408
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
409
- color: #656782;
453
+ .eds-feedback-text__icon--warning {
454
+ color: #ffca28;
410
455
  }
411
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
412
- display: block;
413
- width: 0;
414
- height: 0;
415
- border-radius: 50%;
416
- background-color: #181c56;
417
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
456
+ .eds-feedback-text__icon--warning circle {
457
+ fill: #181c56;
418
458
  }
419
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
420
- background-color: #aeb7e2;
459
+ .eds-contrast .eds-feedback-text__icon--warning {
460
+ color: #ffe082;
421
461
  }
422
462
  /* DO NOT CHANGE!*/
423
463
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -553,23 +593,142 @@
553
593
  }
554
594
  /* DO NOT CHANGE!*/
555
595
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
556
- .eds-input-panel[focus-within] .eds-input-panel__container {
557
- border-color: #181c56;
558
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
559
- }
560
- .eds-input-panel:focus-within .eds-input-panel__container {
561
- border-color: #181c56;
562
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
596
+ .eds-switch {
597
+ cursor: pointer;
598
+ -webkit-user-select: none;
599
+ -moz-user-select: none;
600
+ user-select: none;
601
+ padding: 0.5rem 0;
602
+ width: -moz-fit-content;
603
+ width: fit-content;
563
604
  }
564
- .eds-contrast .eds-input-panel[focus-within] .eds-input-panel__container {
565
- border-color: #ffffff;
566
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
605
+ .eds-switch input {
606
+ opacity: 0;
607
+ pointer-events: none;
608
+ position: absolute;
567
609
  }
568
- .eds-contrast .eds-input-panel:focus-within .eds-input-panel__container {
569
- border-color: #ffffff;
570
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
610
+ .eds-switch--right {
611
+ display: flex;
612
+ flex-direction: row;
613
+ align-items: center;
571
614
  }
572
- .eds-input-panel > input {
615
+ .eds-switch--bottom {
616
+ display: flex;
617
+ flex-direction: column;
618
+ align-items: center;
619
+ }
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;
634
+ }
635
+ .eds-switch__switch--large .eds-switch__circle {
636
+ height: 1.75rem;
637
+ width: 1.75rem;
638
+ }
639
+ .eds-contrast .eds-switch__circle {
640
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
641
+ }
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);
652
+ }
653
+ .eds-contrast .eds-switch__switch {
654
+ background-color: #8285a8;
655
+ }
656
+ .eds-switch--right .eds-switch__switch {
657
+ margin-right: 0.75rem;
658
+ }
659
+ .eds-switch__switch svg g,
660
+ .eds-switch__switch path {
661
+ fill: #646464;
662
+ transition: fill ease-in-out 0.1s;
663
+ }
664
+ .eds-contrast .eds-switch__switch svg g,
665
+ .eds-contrast .eds-switch__switch path {
666
+ fill: #181c56;
667
+ }
668
+ :checked + .eds-switch__switch {
669
+ background-color: var(--eds-switch-color);
670
+ }
671
+ :checked + .eds-switch__switch .eds-switch__circle {
672
+ left: 1.625rem;
673
+ }
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);
677
+ }
678
+ .eds-contrast :checked + .eds-switch__switch {
679
+ background-color: var(--eds-switch-contrast-color);
680
+ }
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;
685
+ }
686
+ .eds-contrast :focus + .eds-switch__switch {
687
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
688
+ }
689
+ .eds-switch__switch--large {
690
+ width: 3.75rem;
691
+ height: 2rem;
692
+ border-radius: 3.75rem;
693
+ }
694
+ :checked + .eds-switch__switch--large .eds-switch__circle {
695
+ left: 1.875rem;
696
+ }
697
+ .eds-switch__switch--large svg {
698
+ position: relative;
699
+ right: 0.05rem;
700
+ }
701
+ .eds-switch__label--large--right {
702
+ font-size: 1rem;
703
+ }
704
+ .eds-switch__label--large--bottom {
705
+ font-size: 0.875rem;
706
+ }
707
+ .eds-switch__label--medium--right {
708
+ font-size: 0.875rem;
709
+ }
710
+ .eds-switch__label--medium--bottom {
711
+ font-size: 0.75rem;
712
+ }
713
+ /* DO NOT CHANGE!*/
714
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
715
+ .eds-input-panel[focus-within] .eds-input-panel__container {
716
+ border-color: #181c56;
717
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
718
+ }
719
+ .eds-input-panel:focus-within .eds-input-panel__container {
720
+ border-color: #181c56;
721
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
722
+ }
723
+ .eds-contrast .eds-input-panel[focus-within] .eds-input-panel__container {
724
+ border-color: #ffffff;
725
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
726
+ }
727
+ .eds-contrast .eds-input-panel:focus-within .eds-input-panel__container {
728
+ border-color: #ffffff;
729
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
730
+ }
731
+ .eds-input-panel > input {
573
732
  position: absolute;
574
733
  opacity: 0;
575
734
  cursor: pointer;
@@ -612,353 +771,194 @@
612
771
  background-color: #292b6a;
613
772
  }
614
773
  .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio .eds-form-component--radio__circle {
615
- background-color: #ffffff;
616
- }
617
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
618
- background-color: #292b6a;
619
- border-color: transparent;
620
- }
621
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
622
- background-color: #b6bee5;
623
- }
624
- .eds-input-panel__container {
625
- background: #ffffff;
626
- border: 0.125rem solid #babbcf;
627
- border-radius: 0.25rem;
628
- display: flex;
629
- flex-direction: column;
630
- justify-content: flex-start;
631
- min-width: 20rem;
632
- position: relative;
633
- padding: 1rem;
634
- -webkit-user-select: none;
635
- -moz-user-select: none;
636
- user-select: none;
637
- width: -moz-fit-content;
638
- width: fit-content;
639
- transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
640
- }
641
- .eds-contrast .eds-input-panel__container {
642
- background-color: transparent;
643
- border-color: #aeb7e2;
644
- }
645
- .eds-input-panel__container:hover {
646
- background-color: #ebebf1;
647
- /* The following styling is needed to sync the inner checkbox/radiobutton's
648
- hover state styling with the inputPanel container */
649
- }
650
- .eds-contrast .eds-input-panel__container:hover {
651
- background-color: #54568c;
652
- }
653
- .eds-input-panel__container:hover .eds-checkbox__icon,
654
- .eds-input-panel__container:hover .eds-form-component--radio__radio {
655
- border-color: #292b6a;
656
- background-color: #d1d4e3;
657
- }
658
- .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
659
- .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
660
- border-color: #b6bee5;
661
- background-color: rgba(174, 183, 226, 0.2);
662
- }
663
- input:disabled + .eds-input-panel__container {
664
- background: #f3f3f3;
665
- border-color: #f3f3f3;
666
- color: #656782;
667
- pointer-events: none;
668
- }
669
- .eds-contrast input:disabled + .eds-input-panel__container {
670
- background: #181c56;
671
- border-style: dashed;
672
- border-color: #54568c;
673
- color: #babbcf;
674
- }
675
- .eds-input-panel__container .eds-checkbox__icon,
676
- .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
677
- .eds-input-panel__container .eds-form-component--radio__radio {
678
- width: 1.5rem;
679
- height: 1.5rem;
680
- margin-right: 0;
681
- }
682
- .eds-input-panel--medium .eds-input-panel__title {
683
- font-size: 1rem;
684
- font-weight: 500;
685
- }
686
- .eds-input-panel--medium.eds-input-panel__container {
687
- padding-bottom: 1rem;
688
- min-height: 3.75rem;
689
- }
690
- .eds-input-panel--large.eds-input-panel__container {
691
- min-height: 6rem;
692
- }
693
- .eds-input-panel--large .eds-input-panel__title {
694
- font-size: 1.25rem;
695
- font-weight: 500;
696
- line-height: 1.875rem;
697
- }
698
- .eds-input-panel__title-wrapper {
699
- display: flex;
700
- justify-content: space-between;
701
- align-items: center;
702
- }
703
- .eds-input-panel__secondary-label-and-icon-wrapper {
704
- display: flex;
705
- justify-content: center;
706
- align-items: center;
707
- gap: 0.75rem;
708
- }
709
- .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
710
- margin: 0;
711
- }
712
- .eds-input-panel__additional-content {
713
- margin-top: 0.25rem;
714
- word-wrap: break-word;
715
- }
716
- /* DO NOT CHANGE!*/
717
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
718
- .eds-form-control-wrapper {
719
- --border-color: #7C7F9F;
720
- --border-color-hover: #aeb7e2;
721
- align-items: center;
722
- background-color: #ffffff;
723
- border-radius: 0.25rem;
724
- border: 0.125rem solid var(--border-color);
725
- box-shadow: 0 0 0 transparent;
726
- color: #181c56;
727
- display: flex;
728
- position: relative;
729
- width: 100%;
730
- min-height: 3rem;
731
- transition: border-color 0.1s ease-in-out;
732
- --textarea-label-background: t.$colors-brand-white;
733
- /*
734
- Some input controls require a darker design while inside a contrast block.
735
- These elements require the `--dark` modifier, even on the wrapper.
736
- */
737
- }
738
- .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
739
- --border-color: #181c56;
740
- }
741
- .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
742
- --border-color: #181c56;
743
- }
744
- .eds-contrast .eds-form-control-wrapper:hover {
745
- --border-color: #aeb7e2;
746
- }
747
- .eds-form-control-wrapper[focus-within] {
748
- box-shadow: inset 0 0 0 1px var(--border-color);
749
- }
750
- .eds-form-control-wrapper:focus-within {
751
- box-shadow: inset 0 0 0 1px var(--border-color);
752
- }
753
- .eds-contrast .eds-form-control-wrapper[focus-within] {
754
- --border-color: #181c56;
755
- box-shadow: 0 0 0 0.125rem #aeb7e2;
756
- }
757
- .eds-contrast .eds-form-control-wrapper:focus-within {
758
- --border-color: #181c56;
759
- box-shadow: 0 0 0 0.125rem #aeb7e2;
760
- }
761
- .eds-form-control-wrapper ::-moz-placeholder {
762
- color: #656782;
763
- }
764
- .eds-form-control-wrapper ::placeholder {
765
- color: #656782;
766
- }
767
- .eds-form-control-wrapper--disabled {
768
- --border-color: transparent;
769
- background-color: #e9e9e9;
770
- pointer-events: none;
771
- color: #646464;
772
- }
773
- .eds-form-control-wrapper--disabled .eds-input-group__label {
774
- color: #646464;
775
- }
776
- .eds-contrast .eds-form-control-wrapper--disabled {
777
- background: #292b6a;
778
- color: #8285a8;
779
- }
780
- .eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
781
- color: #8285a8;
782
- }
783
- .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
784
- display: none;
785
- }
786
- .eds-form-control-wrapper--readonly {
787
- --border-color: transparent;
788
- --textarea-label-background: t.$colors-greys-grey90;
789
- pointer-events: none;
790
- cursor: default;
791
- background: #f8f8f8;
792
- }
793
- .eds-contrast .eds-form-control-wrapper--readonly {
794
- --textarea-label-background: t.$colors-blues-blue10;
795
- background: #292b6a;
796
- color: #ffffff;
797
- }
798
- .eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
799
- color: #aeb7e2;
800
- }
801
- .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
802
- display: none;
803
- }
804
- .eds-form-control-wrapper--size-medium .eds-form-control,
805
- .eds-form-control-wrapper--size-medium .eds-form-control__append,
806
- .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
807
- font-size: 1rem;
808
- line-height: 1rem;
809
- }
810
- .eds-form-control-wrapper--size-large {
811
- min-height: 4rem;
812
- padding: 0 0.5rem;
813
- }
814
- .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
815
- border-width: 0.25rem;
816
- }
817
- .eds-form-control-wrapper--size-large .eds-form-control,
818
- .eds-form-control-wrapper--size-large .eds-form-control__append,
819
- .eds-form-control-wrapper--size-large .eds-form-control__prepend {
820
- font-size: 1.5rem;
821
- line-height: 2.25rem;
822
- }
823
- .eds-form-control-wrapper--success {
824
- border-color: #1a8e60;
825
- --border-color: #1a8e60;
774
+ background-color: #ffffff;
826
775
  }
827
- .eds-form-control-wrapper--success:hover {
828
- border-color: #5ac39a;
776
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
777
+ background-color: #292b6a;
778
+ border-color: transparent;
829
779
  }
830
- .eds-form-control-wrapper--success[focus-within] {
831
- border-color: #1a8e60;
780
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
781
+ background-color: #b6bee5;
832
782
  }
833
- .eds-form-control-wrapper--success:focus-within {
834
- border-color: #1a8e60;
783
+ .eds-input-panel__container {
784
+ background: #ffffff;
785
+ border: 0.125rem solid #babbcf;
786
+ border-radius: 0.25rem;
787
+ display: flex;
788
+ flex-direction: column;
789
+ justify-content: flex-start;
790
+ min-width: 20rem;
791
+ position: relative;
792
+ padding: 1rem;
793
+ -webkit-user-select: none;
794
+ -moz-user-select: none;
795
+ user-select: none;
796
+ width: -moz-fit-content;
797
+ width: fit-content;
798
+ transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
835
799
  }
836
- .eds-contrast .eds-form-control-wrapper--success {
837
- border-color: #5ac39a;
838
- --border-color: #5ac39a;
800
+ .eds-contrast .eds-input-panel__container {
801
+ background-color: transparent;
802
+ border-color: #aeb7e2;
839
803
  }
840
- .eds-contrast .eds-form-control-wrapper--success:hover {
841
- border-color: #1a8e60;
804
+ .eds-input-panel__container:hover {
805
+ background-color: #ebebf1;
806
+ /* The following styling is needed to sync the inner checkbox/radiobutton's
807
+ hover state styling with the inputPanel container */
842
808
  }
843
- .eds-contrast .eds-form-control-wrapper--success[focus-within] {
844
- --border-color: #5ac39a;
845
- border-color: #181c56;
809
+ .eds-contrast .eds-input-panel__container:hover {
810
+ background-color: #54568c;
846
811
  }
847
- .eds-contrast .eds-form-control-wrapper--success:focus-within {
848
- --border-color: #5ac39a;
849
- border-color: #181c56;
812
+ .eds-input-panel__container:hover .eds-checkbox__icon,
813
+ .eds-input-panel__container:hover .eds-form-component--radio__radio {
814
+ border-color: #292b6a;
815
+ background-color: #d1d4e3;
850
816
  }
851
- .eds-form-control-wrapper--error {
852
- border-color: #d31b1b;
853
- --border-color: #d31b1b;
817
+ .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
818
+ .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
819
+ border-color: #b6bee5;
820
+ background-color: rgba(174, 183, 226, 0.2);
854
821
  }
855
- .eds-form-control-wrapper--error:hover {
856
- border-color: #ff9494;
822
+ input:disabled + .eds-input-panel__container {
823
+ background: #f3f3f3;
824
+ border-color: #f3f3f3;
825
+ color: #656782;
826
+ pointer-events: none;
857
827
  }
858
- .eds-form-control-wrapper--error[focus-within] {
859
- border-color: #d31b1b;
828
+ .eds-contrast input:disabled + .eds-input-panel__container {
829
+ background: #181c56;
830
+ border-style: dashed;
831
+ border-color: #54568c;
832
+ color: #babbcf;
860
833
  }
861
- .eds-form-control-wrapper--error:focus-within {
862
- border-color: #d31b1b;
834
+ .eds-input-panel__container .eds-checkbox__icon,
835
+ .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
836
+ .eds-input-panel__container .eds-form-component--radio__radio {
837
+ width: 1.5rem;
838
+ height: 1.5rem;
839
+ margin-right: 0;
863
840
  }
864
- .eds-contrast .eds-form-control-wrapper--error {
865
- border-color: #ff9494;
866
- --border-color: #ff9494;
841
+ .eds-input-panel--medium .eds-input-panel__title {
842
+ font-size: 1rem;
843
+ font-weight: 500;
867
844
  }
868
- .eds-contrast .eds-form-control-wrapper--error:hover {
869
- border-color: #d31b1b;
845
+ .eds-input-panel--medium.eds-input-panel__container {
846
+ padding-bottom: 1rem;
847
+ min-height: 3.75rem;
870
848
  }
871
- .eds-contrast .eds-form-control-wrapper--error[focus-within] {
872
- border-color: #181c56;
873
- --border-color: #ff9494;
849
+ .eds-input-panel--large.eds-input-panel__container {
850
+ min-height: 6rem;
874
851
  }
875
- .eds-contrast .eds-form-control-wrapper--error:focus-within {
876
- border-color: #181c56;
877
- --border-color: #ff9494;
852
+ .eds-input-panel--large .eds-input-panel__title {
853
+ font-size: 1.25rem;
854
+ font-weight: 500;
855
+ line-height: 1.875rem;
878
856
  }
879
- .eds-contrast .eds-form-control-wrapper--dark {
880
- background-color: #181c56;
881
- color: #ffffff;
857
+ .eds-input-panel__title-wrapper {
858
+ display: flex;
859
+ justify-content: space-between;
860
+ align-items: center;
882
861
  }
883
- .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
884
- color: #aeb7e2;
862
+ .eds-input-panel__secondary-label-and-icon-wrapper {
863
+ display: flex;
864
+ justify-content: center;
865
+ align-items: center;
866
+ gap: 0.75rem;
885
867
  }
886
- .eds-contrast .eds-form-control-wrapper--dark ::placeholder {
887
- color: #aeb7e2;
868
+ .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
869
+ margin: 0;
888
870
  }
889
- .eds-contrast .eds-form-control-wrapper--dark:hover {
890
- border-color: #aeb7e2;
871
+ .eds-input-panel__additional-content {
872
+ margin-top: 0.25rem;
873
+ word-wrap: break-word;
891
874
  }
892
- .eds-contrast .eds-form-control-wrapper--dark[focus-within] {
893
- background-color: #292b6a;
894
- border-color: #aeb7e2;
875
+ /* DO NOT CHANGE!*/
876
+ /* 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;
895
889
  }
896
- .eds-contrast .eds-form-control-wrapper--dark:focus-within {
897
- background-color: #292b6a;
898
- border-color: #aeb7e2;
890
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
891
+ border-color: #54568c;
899
892
  }
900
- .eds-contrast .eds-form-control-wrapper--dark * {
901
- background-color: transparent;
902
- color: inherit;
893
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
894
+ background-color: #54568c;
903
895
  }
904
- .eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
905
- background-color: #292b6a;
906
- color: #8285a8;
896
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
897
+ border-color: #8285a8;
907
898
  }
908
-
909
- .eds-form-control {
910
- -webkit-appearance: none;
911
- -moz-appearance: none;
912
- appearance: none;
913
- background-color: transparent;
914
- border: 0;
915
- color: inherit;
916
- display: block;
917
- font-family: inherit;
918
- line-height: 1rem;
919
- font-size: 1rem;
920
- padding: 20px 1rem 0.25rem;
921
- width: 100%;
899
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
900
+ background-color: #8285a8;
922
901
  }
923
- .eds-form-control::-moz-placeholder {
902
+ .eds-form-component--radio__container input {
903
+ position: absolute;
924
904
  opacity: 0;
925
- -moz-transition: opacity 0.2s ease-in-out;
926
- transition: opacity 0.2s ease-in-out;
905
+ cursor: pointer;
906
+ height: 0;
907
+ width: 0;
927
908
  }
928
- .eds-form-control::placeholder {
929
- opacity: 0;
930
- transition: opacity 0.2s ease-in-out;
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;
931
912
  }
932
- .eds-form-control:focus {
913
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
933
914
  outline: none;
915
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
916
+ outline-offset: 0.125rem;
934
917
  }
935
- .eds-form-control:focus::-moz-placeholder {
936
- opacity: 1;
937
- }
938
- .eds-form-control:focus::placeholder {
939
- opacity: 1;
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;
940
920
  }
941
- .eds-form-control__prepend, .eds-form-control__append {
921
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
942
922
  position: relative;
943
- margin: 0 1rem;
944
- line-height: inherit;
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;
945
932
  }
946
- .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
947
- position: static;
933
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
934
+ background-color: #181c56;
935
+ border-color: #aeb7e2;
948
936
  }
949
- .eds-form-control__prepend svg, .eds-form-control__append svg {
950
- top: 0.125rem;
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;
951
941
  }
952
- .eds-form-control__prepend {
953
- margin-right: 0;
942
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
943
+ border-color: #d1d3d3;
954
944
  }
955
- .eds-form-control__append {
956
- margin-left: 0;
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;
957
948
  }
958
- .eds-fieldset {
959
- margin: 0;
960
- padding: 0;
961
- border: 0;
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
962
  }
963
963
  /* DO NOT CHANGE!*/
964
964
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -1075,6 +1075,9 @@ 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
+ }
1078
1081
  /* DO NOT CHANGE!*/
1079
1082
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1080
1083
  .eds-segmented-control {
@@ -1086,6 +1089,3 @@ textarea.eds-form-control.eds-textarea {
1086
1089
  .eds-contrast .eds-segmented-control {
1087
1090
  background: #393d79;
1088
1091
  }
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.36",
3
+ "version": "7.0.38-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
@@ -29,10 +29,10 @@
29
29
  "dependencies": {
30
30
  "@entur/icons": "^6.15.0",
31
31
  "@entur/tokens": "^3.12.0",
32
- "@entur/tooltip": "^2.6.45",
32
+ "@entur/tooltip": "^2.6.47-beta.0",
33
33
  "@entur/typography": "^1.8.23",
34
34
  "@entur/utils": "^0.10.0",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "3842f90322ff4340572e6597baf4ce753a6bf355"
37
+ "gitHead": "453c823f5b935959f701f0c777236a8e0c23601e"
38
38
  }