@entur/form 5.3.5 → 5.3.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.7...@entur/form@5.3.8) (2022-06-28)
7
+
8
+ **Note:** Version bump only for package @entur/form
9
+
10
+ ## [5.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.6...@entur/form@5.3.7) (2022-06-24)
11
+
12
+ **Note:** Version bump only for package @entur/form
13
+
14
+ ## [5.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.5...@entur/form@5.3.6) (2022-06-02)
15
+
16
+ **Note:** Version bump only for package @entur/form
17
+
6
18
  ## [5.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.4...@entur/form@5.3.5) (2022-05-13)
7
19
 
8
20
  ### Bug Fixes
package/dist/styles.css CHANGED
@@ -2,6 +2,15 @@
2
2
  --eds-form: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-fieldset {
6
+ margin: 0;
7
+ padding: 0;
8
+ border: 0;
9
+ }
10
+ .eds-fieldset .eds-legend {
11
+ margin: 0 0 0.5rem;
12
+ }/* DO NOT CHANGE!*/
13
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
14
  .eds-feedback-text {
6
15
  display: flex;
7
16
  align-items: center;
@@ -195,184 +204,341 @@
195
204
  }
196
205
  }/* DO NOT CHANGE!*/
197
206
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
198
- .eds-input-group {
199
- color: inherit;
200
- display: block;
207
+ .eds-form-control-wrapper {
208
+ --border-color: #181c56;
209
+ --border-color-hover: #aeb7e2;
210
+ align-items: center;
211
+ background-color: #ffffff;
212
+ border-radius: 0.25rem;
213
+ border: 0.125rem solid #d1d3d3;
214
+ box-shadow: 0 0 0 transparent;
215
+ color: #181c56;
216
+ display: flex;
201
217
  position: relative;
218
+ width: 100%;
219
+ min-height: 3rem;
220
+ transition: border-color 0.1s ease-in-out;
221
+ --textarea-label-background: $colors-brand-white;
222
+ /*
223
+ Some input controls require a darker design while inside a contrast block.
224
+ These elements require the `--dark` modifier, even on the wrapper.
225
+ */
202
226
  }
203
- .eds-input-group__label {
204
- color: #656782;
205
- display: flex;
206
- font-size: 1rem;
207
- position: absolute;
208
- line-height: 1rem;
209
- height: 3rem;
210
- padding: 1rem;
211
- padding-left: 0;
212
- margin-left: 1rem;
213
- top: -0.125rem;
214
- 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;
215
- -webkit-user-select: none;
216
- -moz-user-select: none;
217
- -ms-user-select: none;
218
- user-select: none;
219
- pointer-events: none;
227
+ .eds-contrast .eds-form-control-wrapper {
228
+ --border-color: #aeb7e2;
229
+ background-color: #ffffff;
230
+ border-color: #54568c;
220
231
  }
221
- .eds-form-control-wrapper--is-filled .eds-input-group__label {
222
- top: calc(0.5rem - 0.125rem);
223
- font-size: 0.75rem;
224
- line-height: 0.75rem;
225
- height: 10px;
226
- padding: 0;
227
- margin-left: 1rem;
232
+ .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
233
+ border-color: #181c56;
228
234
  }
229
- .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
230
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
231
- background: var(--textarea-label-background);
232
- width: calc( 100% - 1rem - 1rem - 4px );
235
+ .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
236
+ border-color: #181c56;
233
237
  }
234
- .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
235
- top: 0.5rem;
236
- font-size: 0.875rem;
237
- line-height: 1rem;
238
- padding: 0;
239
- margin-left: 1rem;
238
+ .eds-contrast .eds-form-control-wrapper:hover {
239
+ border-color: #aeb7e2;
240
+ background: #ebebf1;
240
241
  }
241
- .eds-contrast .eds-input-group__label {
242
- color: #8285a8;
242
+ .eds-form-control-wrapper[focus-within] {
243
+ box-shadow: inset 0 0 0 1px var(--border-color);
243
244
  }
244
- .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
245
- color: #aeb7e2;
245
+ .eds-form-control-wrapper:focus-within {
246
+ box-shadow: inset 0 0 0 1px var(--border-color);
246
247
  }
247
- .eds-form-control-wrapper--size-large .eds-input-group__label {
248
- font-size: 1.5rem;
249
- line-height: 2.25rem;
250
- height: 4rem;
248
+ .eds-contrast .eds-form-control-wrapper[focus-within] {
249
+ border-color: #181c56;
250
+ --border-color: #aeb7e2;
251
+ box-shadow: 0 0 0 0.125rem var(--border-color);
251
252
  }
252
- .eds-input-group__label--filled {
253
- top: calc(0.5rem - 0.125rem);
254
- font-size: 0.75rem;
255
- line-height: 0.75rem;
256
- height: 10px;
257
- padding: 0;
258
- margin-left: 1rem;
253
+ .eds-contrast .eds-form-control-wrapper:focus-within {
254
+ border-color: #181c56;
255
+ --border-color: #aeb7e2;
256
+ box-shadow: 0 0 0 0.125rem var(--border-color);
259
257
  }
260
- .eds-textarea__label .eds-input-group__label--filled {
261
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
262
- background: var(--textarea-label-background);
263
- width: calc( 100% - 1rem - 1rem - 4px );
258
+ .eds-form-control-wrapper ::-moz-placeholder {
259
+ color: #656782;
264
260
  }
265
- .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
266
- top: 0.5rem;
267
- font-size: 0.875rem;
268
- line-height: 1rem;
269
- padding: 0;
270
- margin-left: 1rem;
261
+ .eds-form-control-wrapper :-ms-input-placeholder {
262
+ color: #656782;
271
263
  }
272
- .eds-input-group__label-tooltip-icon {
273
- color: #0082b9;
274
- padding-left: 0.25rem;
275
- padding-right: 0.25rem;
276
- display: flex;
277
- align-items: center;
278
- cursor: help;
279
- font-size: 1rem;
264
+ .eds-form-control-wrapper ::placeholder {
265
+ color: #656782;
280
266
  }
281
-
282
- .eds-form-control-wrapper[focus-within] .eds-input-group__label {
283
- top: calc(0.5rem - 0.125rem);
284
- font-size: 0.75rem;
285
- line-height: 0.75rem;
286
- height: 10px;
287
- padding: 0;
288
- margin-left: 1rem;
267
+ .eds-form-control-wrapper--disabled {
268
+ background-color: #e9e9e9;
269
+ color: #656782;
270
+ border-color: transparent;
271
+ pointer-events: none;
289
272
  }
290
-
291
- .eds-form-control-wrapper:focus-within .eds-input-group__label {
292
- top: calc(0.5rem - 0.125rem);
293
- font-size: 0.75rem;
294
- line-height: 0.75rem;
295
- height: 10px;
296
- padding: 0;
297
- margin-left: 1rem;
273
+ .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
274
+ display: none;
298
275
  }
299
- .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
300
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
301
- background: var(--textarea-label-background);
302
- width: calc( 100% - 1rem - 1rem - 4px );
276
+ .eds-contrast .eds-form-control-wrapper--disabled {
277
+ background: #292b6a;
278
+ border-color: transparent;
279
+ color: #8285a8;
303
280
  }
304
- .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
305
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
306
- background: var(--textarea-label-background);
307
- width: calc( 100% - 1rem - 1rem - 4px );
281
+ .eds-form-control-wrapper--readonly {
282
+ pointer-events: none;
283
+ cursor: default;
284
+ border-color: transparent;
285
+ background: #f8f8f8;
286
+ --textarea-label-background: $colors-greys-grey90;
308
287
  }
309
- .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
310
- top: 0.5rem;
311
- font-size: 0.875rem;
312
- line-height: 1rem;
313
- padding: 0;
314
- margin-left: 1rem;
288
+ .eds-contrast .eds-form-control-wrapper--readonly {
289
+ background: #292b6a;
290
+ --textarea-label-background: $colors-blues-blue10;
291
+ color: #ffffff;
292
+ border-color: transparent;
315
293
  }
316
- .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
317
- top: 0.5rem;
318
- font-size: 0.875rem;
294
+ .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
295
+ display: none;
296
+ }
297
+ .eds-form-control-wrapper--size-medium .eds-form-control,
298
+ .eds-form-control-wrapper--size-medium .eds-form-control__append,
299
+ .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
300
+ font-size: 1rem;
319
301
  line-height: 1rem;
320
- padding: 0;
321
- margin-left: 1rem;
322
- }/* DO NOT CHANGE!*/
323
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
324
- textarea.eds-form-control.eds-textarea {
325
- min-height: 7.75rem;
326
- resize: vertical;
327
- line-height: 1.5rem;
328
- }/* DO NOT CHANGE!*/
329
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
330
- .eds-fieldset {
331
- margin: 0;
332
- padding: 0;
333
- border: 0;
334
302
  }
335
- .eds-fieldset .eds-legend {
336
- margin: 0 0 0.5rem;
337
- }/* DO NOT CHANGE!*/
338
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
339
- .eds-form-component--radio__container {
340
- display: flex;
341
- justify-content: center;
342
- align-items: center;
343
- position: relative;
344
- cursor: pointer;
345
- height: 2rem;
346
- width: -webkit-fit-content;
347
- width: -moz-fit-content;
348
- width: fit-content;
349
- -webkit-user-select: none;
350
- -moz-user-select: none;
351
- -ms-user-select: none;
352
- user-select: none;
303
+ .eds-form-control-wrapper--size-large {
304
+ min-height: 4rem;
305
+ padding: 0 0.5rem;
353
306
  }
354
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
355
- border-color: #54568c;
307
+ .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
308
+ border-width: 0.25rem;
356
309
  }
357
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
358
- background-color: #54568c;
310
+ .eds-form-control-wrapper--size-large .eds-form-control,
311
+ .eds-form-control-wrapper--size-large .eds-form-control__append,
312
+ .eds-form-control-wrapper--size-large .eds-form-control__prepend {
313
+ font-size: 1.5rem;
314
+ line-height: 2.25rem;
359
315
  }
360
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
361
- border-color: #8285a8;
316
+ .eds-form-control-wrapper--success {
317
+ border-color: #1a8e60;
318
+ --border-color: #1a8e60;
362
319
  }
363
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
364
- background-color: #8285a8;
320
+ .eds-form-control-wrapper--success:hover {
321
+ border-color: #5ac39a;
365
322
  }
366
- .eds-form-component--radio__container input {
367
- position: absolute;
368
- opacity: 0;
369
- cursor: pointer;
370
- height: 0;
371
- width: 0;
323
+ .eds-form-control-wrapper--success[focus-within] {
324
+ border-color: #1a8e60;
372
325
  }
373
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
374
- height: 0.625rem;
375
- width: 0.625rem;
326
+ .eds-form-control-wrapper--success:focus-within {
327
+ border-color: #1a8e60;
328
+ }
329
+ .eds-contrast .eds-form-control-wrapper--success {
330
+ border-color: #5ac39a;
331
+ --border-color: #5ac39a;
332
+ }
333
+ .eds-contrast .eds-form-control-wrapper--success:hover {
334
+ border-color: #1a8e60;
335
+ }
336
+ .eds-contrast .eds-form-control-wrapper--success[focus-within] {
337
+ --border-color: #5ac39a;
338
+ border-color: #181c56;
339
+ }
340
+ .eds-contrast .eds-form-control-wrapper--success:focus-within {
341
+ --border-color: #5ac39a;
342
+ border-color: #181c56;
343
+ }
344
+ .eds-form-control-wrapper--error {
345
+ border-color: #d31b1b;
346
+ --border-color: #d31b1b;
347
+ }
348
+ .eds-form-control-wrapper--error:hover {
349
+ border-color: #ff9494;
350
+ }
351
+ .eds-form-control-wrapper--error[focus-within] {
352
+ border-color: #d31b1b;
353
+ }
354
+ .eds-form-control-wrapper--error:focus-within {
355
+ border-color: #d31b1b;
356
+ }
357
+ .eds-contrast .eds-form-control-wrapper--error {
358
+ border-color: #ff9494;
359
+ --border-color: #ff9494;
360
+ }
361
+ .eds-contrast .eds-form-control-wrapper--error:hover {
362
+ border-color: #d31b1b;
363
+ }
364
+ .eds-contrast .eds-form-control-wrapper--error[focus-within] {
365
+ border-color: #181c56;
366
+ --border-color: #ff9494;
367
+ }
368
+ .eds-contrast .eds-form-control-wrapper--error:focus-within {
369
+ border-color: #181c56;
370
+ --border-color: #ff9494;
371
+ }
372
+ .eds-contrast .eds-form-control-wrapper--dark {
373
+ background-color: #181c56;
374
+ color: #ffffff;
375
+ }
376
+ .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
377
+ color: #aeb7e2;
378
+ }
379
+ .eds-contrast .eds-form-control-wrapper--dark :-ms-input-placeholder {
380
+ color: #aeb7e2;
381
+ }
382
+ .eds-contrast .eds-form-control-wrapper--dark ::placeholder {
383
+ color: #aeb7e2;
384
+ }
385
+ .eds-contrast .eds-form-control-wrapper--dark:hover {
386
+ border-color: #aeb7e2;
387
+ }
388
+ .eds-contrast .eds-form-control-wrapper--dark[focus-within] {
389
+ background-color: #292b6a;
390
+ border-color: #aeb7e2;
391
+ }
392
+ .eds-contrast .eds-form-control-wrapper--dark:focus-within {
393
+ background-color: #292b6a;
394
+ border-color: #aeb7e2;
395
+ }
396
+ .eds-contrast .eds-form-control-wrapper--dark * {
397
+ background-color: transparent;
398
+ color: inherit;
399
+ }
400
+ .eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
401
+ background-color: #292b6a;
402
+ color: #8285a8;
403
+ }
404
+
405
+ .eds-form-control {
406
+ -webkit-appearance: none;
407
+ -moz-appearance: none;
408
+ appearance: none;
409
+ background-color: transparent;
410
+ border: 0;
411
+ color: inherit;
412
+ display: block;
413
+ font-family: inherit;
414
+ line-height: 1rem;
415
+ font-size: 1rem;
416
+ padding: 20px 1rem 0.25rem;
417
+ width: 100%;
418
+ }
419
+ .eds-form-control::-moz-placeholder {
420
+ opacity: 0;
421
+ -moz-transition: opacity 0.2s ease-in-out;
422
+ transition: opacity 0.2s ease-in-out;
423
+ }
424
+ .eds-form-control:-ms-input-placeholder {
425
+ opacity: 0;
426
+ -ms-transition: opacity 0.2s ease-in-out;
427
+ transition: opacity 0.2s ease-in-out;
428
+ }
429
+ .eds-form-control::placeholder {
430
+ opacity: 0;
431
+ transition: opacity 0.2s ease-in-out;
432
+ }
433
+ .eds-form-control:focus {
434
+ outline: none;
435
+ }
436
+ .eds-form-control:focus::-moz-placeholder {
437
+ opacity: 1;
438
+ }
439
+ .eds-form-control:focus:-ms-input-placeholder {
440
+ opacity: 1;
441
+ }
442
+ .eds-form-control:focus::placeholder {
443
+ opacity: 1;
444
+ }
445
+ .eds-form-control__prepend, .eds-form-control__append {
446
+ position: relative;
447
+ margin: 0 1rem;
448
+ line-height: inherit;
449
+ }
450
+ .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
451
+ position: static;
452
+ }
453
+ .eds-form-control__prepend svg, .eds-form-control__append svg {
454
+ top: 0.125rem;
455
+ }
456
+ .eds-form-control__prepend {
457
+ margin-right: 0;
458
+ }
459
+ .eds-form-control__append {
460
+ margin-left: 0;
461
+ }/* DO NOT CHANGE!*/
462
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
463
+ textarea.eds-form-control.eds-textarea {
464
+ min-height: 7.75rem;
465
+ resize: vertical;
466
+ line-height: 1.5rem;
467
+ }/* DO NOT CHANGE!*/
468
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
469
+ .eds-textfield__clear-button {
470
+ background: none;
471
+ border: none;
472
+ border-radius: 50%;
473
+ color: inherit;
474
+ cursor: pointer;
475
+ display: flex;
476
+ font: inherit;
477
+ font-size: 1rem;
478
+ line-height: 1rem;
479
+ padding: 0.5rem;
480
+ margin-right: -0.75rem;
481
+ }
482
+ .eds-textfield__clear-button-wrapper {
483
+ display: flex;
484
+ align-items: center;
485
+ }
486
+ .eds-textfield__clear-button:hover {
487
+ background: #f3f3f3;
488
+ }
489
+ .eds-textfield__clear-button:focus {
490
+ outline: none;
491
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
492
+ }
493
+
494
+ .eds-textfield__divider {
495
+ content: "";
496
+ display: block;
497
+ background-color: #e9e9e9;
498
+ height: 1.5rem;
499
+ width: 1px;
500
+ }
501
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
502
+ background-color: #8285a8;
503
+ }/* DO NOT CHANGE!*/
504
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
505
+ .eds-form-component--radio__container {
506
+ display: flex;
507
+ justify-content: center;
508
+ align-items: center;
509
+ position: relative;
510
+ cursor: pointer;
511
+ height: 2rem;
512
+ width: -webkit-fit-content;
513
+ width: -moz-fit-content;
514
+ width: fit-content;
515
+ -webkit-user-select: none;
516
+ -moz-user-select: none;
517
+ -ms-user-select: none;
518
+ user-select: none;
519
+ }
520
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
521
+ border-color: #54568c;
522
+ }
523
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
524
+ background-color: #54568c;
525
+ }
526
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
527
+ border-color: #8285a8;
528
+ }
529
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
530
+ background-color: #8285a8;
531
+ }
532
+ .eds-form-component--radio__container input {
533
+ position: absolute;
534
+ opacity: 0;
535
+ cursor: pointer;
536
+ height: 0;
537
+ width: 0;
538
+ }
539
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
540
+ height: 0.625rem;
541
+ width: 0.625rem;
376
542
  }
377
543
  .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
378
544
  outline: none;
@@ -425,35 +591,147 @@ textarea.eds-form-control.eds-textarea {
425
591
  background-color: #aeb7e2;
426
592
  }/* DO NOT CHANGE!*/
427
593
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
428
- .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
429
- border-color: #181c56;
430
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
431
- }
432
- .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
433
- border-color: #181c56;
434
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
435
- }
436
- .eds-contrast .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
437
- border-color: #ffffff;
438
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
439
- }
440
- .eds-contrast .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
441
- border-color: #ffffff;
442
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
594
+ .eds-switch {
595
+ cursor: pointer;
596
+ -webkit-user-select: none;
597
+ -moz-user-select: none;
598
+ -ms-user-select: none;
599
+ user-select: none;
600
+ padding: 0.5rem 0;
601
+ width: -webkit-fit-content;
602
+ width: -moz-fit-content;
603
+ width: fit-content;
443
604
  }
444
- .eds-radio-panel__wrapper input {
445
- position: absolute;
605
+ .eds-switch input {
446
606
  opacity: 0;
447
- cursor: pointer;
448
- height: 0;
449
- width: 0;
607
+ pointer-events: none;
608
+ position: absolute;
450
609
  }
451
- .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
452
- border-color: #181c56;
453
- background: #f5f5f8;
610
+ .eds-switch--right {
611
+ display: flex;
612
+ flex-direction: row;
613
+ align-items: center;
454
614
  }
455
- .eds-contrast .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
456
- border-color: #aeb7e2;
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-switch .eds-switch__switch svg g,
640
+ .eds-switch .eds-switch__switch path {
641
+ fill: #949494;
642
+ transition: fill ease-in-out 0.1s;
643
+ }
644
+ .eds-switch__switch {
645
+ position: relative;
646
+ background-color: #d1d3d3;
647
+ content: "";
648
+ display: block;
649
+ transition: background-color 0.1s ease-in-out;
650
+ height: 1.5rem;
651
+ width: 3rem;
652
+ border-radius: 1.5rem;
653
+ }
654
+ .eds-switch--right .eds-switch__switch {
655
+ margin-right: 0.75rem;
656
+ }
657
+ :checked + .eds-switch__switch {
658
+ background-color: var(--eds-switch-color);
659
+ }
660
+ :checked + .eds-switch__switch .eds-switch__circle {
661
+ left: 1.625rem;
662
+ }
663
+ :checked + .eds-switch__switch .eds-switch__circle svg g,
664
+ :checked + .eds-switch__switch .eds-switch__circle path {
665
+ fill: var(--eds-switch-color);
666
+ }
667
+ .eds-contrast :checked + .eds-switch__switch .eds-switch__circle svg g,
668
+ .eds-contrast :checked + .eds-switch__switch .eds-switch__circle path {
669
+ fill: var(--eds-switch-color);
670
+ }
671
+ .eds-contrast :checked + .eds-switch__switch {
672
+ background-color: var(--eds-switch-contrast-color);
673
+ }
674
+ :focus + .eds-switch__switch {
675
+ outline: none;
676
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
677
+ outline-offset: 0.125rem;
678
+ }
679
+ .eds-contrast :focus + .eds-switch__switch {
680
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
681
+ }
682
+ .eds-contrast .eds-switch__switch {
683
+ background-color: #54568c;
684
+ }
685
+ .eds-switch__switch--large {
686
+ width: 3.75rem;
687
+ height: 2rem;
688
+ border-radius: 3.75rem;
689
+ }
690
+ :checked + .eds-switch__switch--large .eds-switch__circle {
691
+ left: 1.875rem;
692
+ }
693
+ .eds-switch__label--large--right {
694
+ font-size: 1rem;
695
+ }
696
+ .eds-switch__label--large--bottom {
697
+ font-size: 0.875rem;
698
+ }
699
+ .eds-switch__label--medium--right {
700
+ font-size: 0.875rem;
701
+ }
702
+ .eds-switch__label--medium--bottom {
703
+ font-size: 0.75rem;
704
+ }/* DO NOT CHANGE!*/
705
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
706
+ .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
707
+ border-color: #181c56;
708
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
709
+ }
710
+ .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
711
+ border-color: #181c56;
712
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
713
+ }
714
+ .eds-contrast .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
715
+ border-color: #ffffff;
716
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
717
+ }
718
+ .eds-contrast .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
719
+ border-color: #ffffff;
720
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
721
+ }
722
+ .eds-radio-panel__wrapper input {
723
+ position: absolute;
724
+ opacity: 0;
725
+ cursor: pointer;
726
+ height: 0;
727
+ width: 0;
728
+ }
729
+ .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
730
+ border-color: #181c56;
731
+ background: #f5f5f8;
732
+ }
733
+ .eds-contrast .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
734
+ border-color: #aeb7e2;
457
735
  background: #393d79;
458
736
  }
459
737
  .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check {
@@ -567,408 +845,130 @@ textarea.eds-form-control.eds-textarea {
567
845
  stroke-width: 0.375rem;
568
846
  }/* DO NOT CHANGE!*/
569
847
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
570
- .eds-form-control-wrapper {
571
- --border-color: #181c56;
572
- --border-color-hover: #aeb7e2;
573
- align-items: center;
574
- background-color: #ffffff;
575
- border-radius: 0.25rem;
576
- border: 0.125rem solid #d1d3d3;
577
- box-shadow: 0 0 0 transparent;
578
- color: #181c56;
579
- display: flex;
848
+ .eds-input-group {
849
+ color: inherit;
850
+ display: block;
580
851
  position: relative;
581
- width: 100%;
582
- min-height: 3rem;
583
- transition: border-color 0.1s ease-in-out;
584
- --textarea-label-background: $colors-brand-white;
585
- /*
586
- Some input controls require a darker design while inside a contrast block.
587
- These elements require the `--dark` modifier, even on the wrapper.
588
- */
589
- }
590
- .eds-contrast .eds-form-control-wrapper {
591
- --border-color: #aeb7e2;
592
- background-color: #ffffff;
593
- border-color: #54568c;
594
- }
595
- .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
596
- border-color: #181c56;
597
- }
598
- .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
599
- border-color: #181c56;
600
- }
601
- .eds-contrast .eds-form-control-wrapper:hover {
602
- border-color: #aeb7e2;
603
- background: #ebebf1;
604
- }
605
- .eds-form-control-wrapper[focus-within] {
606
- box-shadow: inset 0 0 0 1px var(--border-color);
607
- }
608
- .eds-form-control-wrapper:focus-within {
609
- box-shadow: inset 0 0 0 1px var(--border-color);
610
- }
611
- .eds-contrast .eds-form-control-wrapper[focus-within] {
612
- border-color: #181c56;
613
- --border-color: #aeb7e2;
614
- box-shadow: 0 0 0 0.125rem var(--border-color);
615
- }
616
- .eds-contrast .eds-form-control-wrapper:focus-within {
617
- border-color: #181c56;
618
- --border-color: #aeb7e2;
619
- box-shadow: 0 0 0 0.125rem var(--border-color);
620
- }
621
- .eds-form-control-wrapper ::-moz-placeholder {
622
- color: #656782;
623
- }
624
- .eds-form-control-wrapper :-ms-input-placeholder {
625
- color: #656782;
626
- }
627
- .eds-form-control-wrapper ::placeholder {
628
- color: #656782;
629
852
  }
630
- .eds-form-control-wrapper--disabled {
631
- background-color: #e9e9e9;
853
+ .eds-input-group__label {
632
854
  color: #656782;
633
- border-color: transparent;
634
- pointer-events: none;
635
- }
636
- .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
637
- display: none;
638
- }
639
- .eds-contrast .eds-form-control-wrapper--disabled {
640
- background: #292b6a;
641
- border-color: transparent;
642
- color: #8285a8;
643
- }
644
- .eds-form-control-wrapper--readonly {
855
+ display: flex;
856
+ font-size: 1rem;
857
+ position: absolute;
858
+ line-height: 1rem;
859
+ height: 3rem;
860
+ padding: 1rem;
861
+ padding-left: 0;
862
+ margin-left: 1rem;
863
+ top: -0.125rem;
864
+ 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;
865
+ -webkit-user-select: none;
866
+ -moz-user-select: none;
867
+ -ms-user-select: none;
868
+ user-select: none;
645
869
  pointer-events: none;
646
- cursor: default;
647
- border-color: transparent;
648
- background: #f8f8f8;
649
- --textarea-label-background: $colors-greys-grey90;
650
870
  }
651
- .eds-contrast .eds-form-control-wrapper--readonly {
652
- background: #292b6a;
653
- --textarea-label-background: $colors-blues-blue10;
654
- color: #ffffff;
655
- border-color: transparent;
871
+ .eds-form-control-wrapper--is-filled .eds-input-group__label {
872
+ top: calc(0.5rem - 0.125rem);
873
+ font-size: 0.75rem;
874
+ line-height: 0.75rem;
875
+ height: 10px;
876
+ padding: 0;
877
+ margin-left: 1rem;
656
878
  }
657
- .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
658
- display: none;
879
+ .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
880
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
881
+ background: var(--textarea-label-background);
882
+ width: calc( 100% - 1rem - 1rem - 4px );
659
883
  }
660
- .eds-form-control-wrapper--size-medium .eds-form-control,
661
- .eds-form-control-wrapper--size-medium .eds-form-control__append,
662
- .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
663
- font-size: 1rem;
884
+ .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
885
+ top: 0.5rem;
886
+ font-size: 0.875rem;
664
887
  line-height: 1rem;
888
+ padding: 0;
889
+ margin-left: 1rem;
665
890
  }
666
- .eds-form-control-wrapper--size-large {
667
- min-height: 4rem;
668
- padding: 0 0.5rem;
891
+ .eds-contrast .eds-input-group__label {
892
+ color: #8285a8;
669
893
  }
670
- .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
671
- border-width: 0.25rem;
894
+ .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
895
+ color: #aeb7e2;
672
896
  }
673
- .eds-form-control-wrapper--size-large .eds-form-control,
674
- .eds-form-control-wrapper--size-large .eds-form-control__append,
675
- .eds-form-control-wrapper--size-large .eds-form-control__prepend {
897
+ .eds-form-control-wrapper--size-large .eds-input-group__label {
676
898
  font-size: 1.5rem;
677
899
  line-height: 2.25rem;
900
+ height: 4rem;
678
901
  }
679
- .eds-form-control-wrapper--success {
680
- border-color: #1a8e60;
681
- --border-color: #1a8e60;
682
- }
683
- .eds-form-control-wrapper--success:hover {
684
- border-color: #5ac39a;
685
- }
686
- .eds-form-control-wrapper--success[focus-within] {
687
- border-color: #1a8e60;
688
- }
689
- .eds-form-control-wrapper--success:focus-within {
690
- border-color: #1a8e60;
691
- }
692
- .eds-contrast .eds-form-control-wrapper--success {
693
- border-color: #5ac39a;
694
- --border-color: #5ac39a;
695
- }
696
- .eds-contrast .eds-form-control-wrapper--success:hover {
697
- border-color: #1a8e60;
698
- }
699
- .eds-contrast .eds-form-control-wrapper--success[focus-within] {
700
- --border-color: #5ac39a;
701
- border-color: #181c56;
702
- }
703
- .eds-contrast .eds-form-control-wrapper--success:focus-within {
704
- --border-color: #5ac39a;
705
- border-color: #181c56;
706
- }
707
- .eds-form-control-wrapper--error {
708
- border-color: #d31b1b;
709
- --border-color: #d31b1b;
710
- }
711
- .eds-form-control-wrapper--error:hover {
712
- border-color: #ff9494;
713
- }
714
- .eds-form-control-wrapper--error[focus-within] {
715
- border-color: #d31b1b;
716
- }
717
- .eds-form-control-wrapper--error:focus-within {
718
- border-color: #d31b1b;
719
- }
720
- .eds-contrast .eds-form-control-wrapper--error {
721
- border-color: #ff9494;
722
- --border-color: #ff9494;
723
- }
724
- .eds-contrast .eds-form-control-wrapper--error:hover {
725
- border-color: #d31b1b;
726
- }
727
- .eds-contrast .eds-form-control-wrapper--error[focus-within] {
728
- border-color: #181c56;
729
- --border-color: #ff9494;
730
- }
731
- .eds-contrast .eds-form-control-wrapper--error:focus-within {
732
- border-color: #181c56;
733
- --border-color: #ff9494;
734
- }
735
- .eds-contrast .eds-form-control-wrapper--dark {
736
- background-color: #181c56;
737
- color: #ffffff;
738
- }
739
- .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
740
- color: #aeb7e2;
741
- }
742
- .eds-contrast .eds-form-control-wrapper--dark :-ms-input-placeholder {
743
- color: #aeb7e2;
744
- }
745
- .eds-contrast .eds-form-control-wrapper--dark ::placeholder {
746
- color: #aeb7e2;
747
- }
748
- .eds-contrast .eds-form-control-wrapper--dark:hover {
749
- border-color: #aeb7e2;
750
- }
751
- .eds-contrast .eds-form-control-wrapper--dark[focus-within] {
752
- background-color: #292b6a;
753
- border-color: #aeb7e2;
754
- }
755
- .eds-contrast .eds-form-control-wrapper--dark:focus-within {
756
- background-color: #292b6a;
757
- border-color: #aeb7e2;
758
- }
759
- .eds-contrast .eds-form-control-wrapper--dark * {
760
- background-color: transparent;
761
- color: inherit;
762
- }
763
- .eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
764
- background-color: #292b6a;
765
- color: #8285a8;
766
- }
767
-
768
- .eds-form-control {
769
- -webkit-appearance: none;
770
- -moz-appearance: none;
771
- appearance: none;
772
- background-color: transparent;
773
- border: 0;
774
- color: inherit;
775
- display: block;
776
- font-family: inherit;
777
- line-height: 1rem;
778
- font-size: 1rem;
779
- padding: 20px 1rem 0.25rem;
780
- width: 100%;
781
- }
782
- .eds-form-control::-moz-placeholder {
783
- opacity: 0;
784
- -moz-transition: opacity 0.2s ease-in-out;
785
- transition: opacity 0.2s ease-in-out;
786
- }
787
- .eds-form-control:-ms-input-placeholder {
788
- opacity: 0;
789
- -ms-transition: opacity 0.2s ease-in-out;
790
- transition: opacity 0.2s ease-in-out;
791
- }
792
- .eds-form-control::placeholder {
793
- opacity: 0;
794
- transition: opacity 0.2s ease-in-out;
795
- }
796
- .eds-form-control:focus {
797
- outline: none;
798
- }
799
- .eds-form-control:focus::-moz-placeholder {
800
- opacity: 1;
801
- }
802
- .eds-form-control:focus:-ms-input-placeholder {
803
- opacity: 1;
804
- }
805
- .eds-form-control:focus::placeholder {
806
- opacity: 1;
807
- }
808
- .eds-form-control__prepend, .eds-form-control__append {
809
- position: relative;
810
- margin: 0 1rem;
811
- line-height: inherit;
812
- }
813
- .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
814
- position: static;
815
- }
816
- .eds-form-control__prepend svg, .eds-form-control__append svg {
817
- top: 0.125rem;
902
+ .eds-input-group__label--filled {
903
+ top: calc(0.5rem - 0.125rem);
904
+ font-size: 0.75rem;
905
+ line-height: 0.75rem;
906
+ height: 10px;
907
+ padding: 0;
908
+ margin-left: 1rem;
818
909
  }
819
- .eds-form-control__prepend {
820
- margin-right: 0;
910
+ .eds-textarea__label .eds-input-group__label--filled {
911
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
912
+ background: var(--textarea-label-background);
913
+ width: calc( 100% - 1rem - 1rem - 4px );
821
914
  }
822
- .eds-form-control__append {
823
- margin-left: 0;
824
- }/* DO NOT CHANGE!*/
825
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
826
- .eds-textfield__clear-button {
827
- background: none;
828
- border: none;
829
- border-radius: 50%;
830
- color: inherit;
831
- cursor: pointer;
832
- display: flex;
833
- font: inherit;
834
- font-size: 1rem;
915
+ .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
916
+ top: 0.5rem;
917
+ font-size: 0.875rem;
835
918
  line-height: 1rem;
836
- padding: 0.5rem;
837
- margin-right: -0.75rem;
919
+ padding: 0;
920
+ margin-left: 1rem;
838
921
  }
839
- .eds-textfield__clear-button-wrapper {
922
+ .eds-input-group__label-tooltip-icon {
923
+ color: #0082b9;
924
+ padding-left: 0.25rem;
925
+ padding-right: 0.25rem;
840
926
  display: flex;
841
927
  align-items: center;
842
- }
843
- .eds-textfield__clear-button:hover {
844
- background: #f3f3f3;
845
- }
846
- .eds-textfield__clear-button:focus {
847
- outline: none;
848
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
928
+ cursor: help;
929
+ font-size: 1rem;
849
930
  }
850
931
 
851
- .eds-textfield__divider {
852
- content: "";
853
- display: block;
854
- background-color: #e9e9e9;
855
- height: 1.5rem;
856
- width: 1px;
857
- }
858
- .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
859
- background-color: #8285a8;
860
- }/* DO NOT CHANGE!*/
861
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
862
- .eds-switch {
863
- cursor: pointer;
864
- -webkit-user-select: none;
865
- -moz-user-select: none;
866
- -ms-user-select: none;
867
- user-select: none;
868
- padding: 0.5rem 0;
869
- width: -webkit-fit-content;
870
- width: -moz-fit-content;
871
- width: fit-content;
872
- }
873
- .eds-switch input {
874
- opacity: 0;
875
- pointer-events: none;
876
- position: absolute;
877
- }
878
- .eds-switch--right {
879
- display: flex;
880
- flex-direction: row;
881
- align-items: center;
882
- }
883
- .eds-switch--bottom {
884
- display: flex;
885
- flex-direction: column;
886
- align-items: center;
887
- }
888
- .eds-switch__circle {
889
- border-radius: 50%;
890
- height: 1.25rem;
891
- width: 1.25rem;
892
- content: "";
893
- display: flex;
894
- align-items: center;
895
- justify-content: center;
896
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
897
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
898
- background-color: #ffffff;
899
- top: 0.125rem;
900
- left: 0.125rem;
901
- position: relative;
902
- }
903
- .eds-switch__switch--large .eds-switch__circle {
904
- height: 1.75rem;
905
- width: 1.75rem;
906
- }
907
- .eds-switch .eds-switch__switch svg g,
908
- .eds-switch .eds-switch__switch path {
909
- fill: #949494;
910
- transition: fill ease-in-out 0.1s;
911
- }
912
- .eds-switch__switch {
913
- position: relative;
914
- background-color: #d1d3d3;
915
- content: "";
916
- display: block;
917
- transition: background-color 0.1s ease-in-out;
918
- height: 1.5rem;
919
- width: 3rem;
920
- border-radius: 1.5rem;
921
- }
922
- .eds-switch--right .eds-switch__switch {
923
- margin-right: 0.75rem;
924
- }
925
- :checked + .eds-switch__switch {
926
- background-color: var(--eds-switch-color);
927
- }
928
- :checked + .eds-switch__switch .eds-switch__circle {
929
- left: 1.625rem;
930
- }
931
- :checked + .eds-switch__switch .eds-switch__circle svg g,
932
- :checked + .eds-switch__switch .eds-switch__circle path {
933
- fill: var(--eds-switch-color);
934
- }
935
- .eds-contrast :checked + .eds-switch__switch .eds-switch__circle svg g,
936
- .eds-contrast :checked + .eds-switch__switch .eds-switch__circle path {
937
- fill: var(--eds-switch-color);
938
- }
939
- .eds-contrast :checked + .eds-switch__switch {
940
- background-color: var(--eds-switch-contrast-color);
941
- }
942
- :focus + .eds-switch__switch {
943
- outline: none;
944
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
945
- outline-offset: 0.125rem;
946
- }
947
- .eds-contrast :focus + .eds-switch__switch {
948
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
949
- }
950
- .eds-contrast .eds-switch__switch {
951
- background-color: #54568c;
932
+ .eds-form-control-wrapper[focus-within] .eds-input-group__label {
933
+ top: calc(0.5rem - 0.125rem);
934
+ font-size: 0.75rem;
935
+ line-height: 0.75rem;
936
+ height: 10px;
937
+ padding: 0;
938
+ margin-left: 1rem;
952
939
  }
953
- .eds-switch__switch--large {
954
- width: 3.75rem;
955
- height: 2rem;
956
- border-radius: 3.75rem;
940
+
941
+ .eds-form-control-wrapper:focus-within .eds-input-group__label {
942
+ top: calc(0.5rem - 0.125rem);
943
+ font-size: 0.75rem;
944
+ line-height: 0.75rem;
945
+ height: 10px;
946
+ padding: 0;
947
+ margin-left: 1rem;
957
948
  }
958
- :checked + .eds-switch__switch--large .eds-switch__circle {
959
- left: 1.875rem;
949
+ .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
950
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
951
+ background: var(--textarea-label-background);
952
+ width: calc( 100% - 1rem - 1rem - 4px );
960
953
  }
961
- .eds-switch__label--large--right {
962
- font-size: 1rem;
954
+ .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
955
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
956
+ background: var(--textarea-label-background);
957
+ width: calc( 100% - 1rem - 1rem - 4px );
963
958
  }
964
- .eds-switch__label--large--bottom {
959
+ .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
960
+ top: 0.5rem;
965
961
  font-size: 0.875rem;
962
+ line-height: 1rem;
963
+ padding: 0;
964
+ margin-left: 1rem;
966
965
  }
967
- .eds-switch__label--medium--right {
966
+ .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
967
+ top: 0.5rem;
968
968
  font-size: 0.875rem;
969
- }
970
- .eds-switch__label--medium--bottom {
971
- font-size: 0.75rem;
969
+ line-height: 1rem;
970
+ padding: 0;
971
+ margin-left: 1rem;
972
972
  }/* DO NOT CHANGE!*/
973
973
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
974
974
  .eds-segmented-control {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "5.3.5",
3
+ "version": "5.3.8",
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": "^4.1.2",
30
+ "@entur/icons": "^4.2.0",
31
31
  "@entur/tokens": "^3.3.2",
32
- "@entur/tooltip": "^2.5.8",
33
- "@entur/typography": "^1.6.13",
32
+ "@entur/tooltip": "^2.5.11",
33
+ "@entur/typography": "^1.6.14",
34
34
  "@entur/utils": "^0.4.3",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "9e25b2a4a4ab659dc368f51ad0e0b74bee26e1d0"
37
+ "gitHead": "b8c747624dc3cb71b5710305c958ece5ba460e23"
38
38
  }