@entur/menu 7.3.0 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/menu.cjs +3 -0
- package/dist/menu.cjs.map +1 -1
- package/dist/menu.mjs +3 -0
- package/dist/menu.mjs.map +1 -1
- package/dist/styles.css +152 -142
- package/dist/styles.no-base-tokens.css +1330 -0
- package/package.json +12 -10
package/dist/styles.css
CHANGED
|
@@ -368,162 +368,172 @@
|
|
|
368
368
|
--basecolors-text-subdued:#b3b4bd;
|
|
369
369
|
--basecolors-text-subduedalt:#b3b4bd;
|
|
370
370
|
}
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
:
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
--font-
|
|
389
|
-
--font-
|
|
390
|
-
--font-
|
|
391
|
-
--font-
|
|
392
|
-
--font-
|
|
393
|
-
--font-
|
|
394
|
-
--font-
|
|
395
|
-
--font-
|
|
396
|
-
--font-
|
|
397
|
-
--font-
|
|
398
|
-
--font-
|
|
399
|
-
--font-
|
|
400
|
-
--font-
|
|
401
|
-
--font-
|
|
402
|
-
--font-
|
|
403
|
-
--font-
|
|
404
|
-
--font-
|
|
405
|
-
--font-
|
|
406
|
-
--font-
|
|
407
|
-
--font-
|
|
408
|
-
--font-
|
|
409
|
-
--font-
|
|
410
|
-
--font-
|
|
411
|
-
--font-
|
|
412
|
-
--font-
|
|
413
|
-
--font-
|
|
414
|
-
--font-
|
|
415
|
-
--font-size-body-m:var(--size-8);
|
|
416
|
-
--font-size-body-lg:var(--size-9);
|
|
417
|
-
--font-size-body-xl:var(--size-10);
|
|
418
|
-
--font-size-heading-xs:var(--size-7);
|
|
419
|
-
--font-size-heading-s:var(--size-8);
|
|
420
|
-
--font-size-heading-m:var(--size-9);
|
|
421
|
-
--font-size-heading-lg:var(--size-10);
|
|
422
|
-
--font-size-heading-xl:var(--size-12);
|
|
423
|
-
--font-size-heading-2xl:var(--size-14);
|
|
424
|
-
--font-size-label-s:var(--size-7);
|
|
425
|
-
--font-size-label-m:var(--size-8);
|
|
426
|
-
--font-size-label-lg:var(--size-9);
|
|
427
|
-
/* string */
|
|
428
|
-
--font-family-nationale:nationale;
|
|
371
|
+
|
|
372
|
+
[data-view-mode=standard],
|
|
373
|
+
:root{
|
|
374
|
+
--font-line-height-body-xs:1rem;
|
|
375
|
+
--font-line-height-body-s:1.25rem;
|
|
376
|
+
--font-line-height-body-m:1.5rem;
|
|
377
|
+
--font-line-height-body-lg:1.75rem;
|
|
378
|
+
--font-line-height-body-xl:2rem;
|
|
379
|
+
--font-line-height-heading-xs:1rem;
|
|
380
|
+
--font-line-height-heading-s:1.25rem;
|
|
381
|
+
--font-line-height-heading-m:1.5rem;
|
|
382
|
+
--font-line-height-heading-lg:1.75rem;
|
|
383
|
+
--font-line-height-heading-xl:2.25rem;
|
|
384
|
+
--font-line-height-heading-2xl:2.75rem;
|
|
385
|
+
--font-line-height-label-s:1rem;
|
|
386
|
+
--font-line-height-label-m:1.25rem;
|
|
387
|
+
--font-line-height-label-lg:1.5rem;
|
|
388
|
+
--font-paragraph-spacing-body-xs:0.5rem;
|
|
389
|
+
--font-paragraph-spacing-body-s:0.75rem;
|
|
390
|
+
--font-paragraph-spacing-body-m:1rem;
|
|
391
|
+
--font-paragraph-spacing-body-lg:1.5rem;
|
|
392
|
+
--font-paragraph-spacing-body-xl:1.5rem;
|
|
393
|
+
--font-paragraph-spacing-heading-xs:0.5rem;
|
|
394
|
+
--font-paragraph-spacing-heading-m:0.75rem;
|
|
395
|
+
--font-paragraph-spacing-heading-s:0.75rem;
|
|
396
|
+
--font-paragraph-spacing-heading-lg:1rem;
|
|
397
|
+
--font-paragraph-spacing-heading-xl:1.25rem;
|
|
398
|
+
--font-paragraph-spacing-heading-2xl:1.5rem;
|
|
399
|
+
--font-size-body-xs:0.75rem;
|
|
400
|
+
--font-size-body-s:0.875rem;
|
|
401
|
+
--font-size-body-m:1rem;
|
|
402
|
+
--font-size-body-lg:1.25rem;
|
|
403
|
+
--font-size-body-xl:1.5rem;
|
|
404
|
+
--font-size-heading-xs:0.875rem;
|
|
405
|
+
--font-size-heading-s:1rem;
|
|
406
|
+
--font-size-heading-m:1.25rem;
|
|
407
|
+
--font-size-heading-lg:1.5rem;
|
|
408
|
+
--font-size-heading-xl:2rem;
|
|
409
|
+
--font-size-heading-2xl:2.5rem;
|
|
410
|
+
--font-size-label-s:0.875rem;
|
|
411
|
+
--font-size-label-m:1rem;
|
|
412
|
+
--font-size-label-lg:1.25rem;
|
|
413
|
+
--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
414
|
+
--font-family-nationale:Nationale;
|
|
429
415
|
--font-weight-body:500;
|
|
430
416
|
--font-weight-heading:600;
|
|
431
417
|
}
|
|
432
418
|
|
|
433
419
|
[data-view-mode=compact]{
|
|
434
|
-
|
|
435
|
-
--font-line-height-body-
|
|
436
|
-
--font-line-height-body-
|
|
437
|
-
--font-line-height-body-
|
|
438
|
-
--font-line-height-body-
|
|
439
|
-
--font-line-height-
|
|
440
|
-
--font-line-height-heading-
|
|
441
|
-
--font-line-height-heading-
|
|
442
|
-
--font-line-height-heading-
|
|
443
|
-
--font-line-height-heading-
|
|
444
|
-
--font-line-height-heading-
|
|
445
|
-
--font-line-height-
|
|
446
|
-
--font-line-height-label-
|
|
447
|
-
--font-line-height-label-
|
|
448
|
-
--font-
|
|
449
|
-
--font-paragraph-spacing-body-
|
|
450
|
-
--font-paragraph-spacing-body-
|
|
451
|
-
--font-paragraph-spacing-body-
|
|
452
|
-
--font-paragraph-spacing-body-
|
|
453
|
-
--font-paragraph-spacing-
|
|
454
|
-
--font-paragraph-spacing-heading-
|
|
455
|
-
--font-paragraph-spacing-heading-
|
|
456
|
-
--font-paragraph-spacing-heading-
|
|
457
|
-
--font-paragraph-spacing-heading-
|
|
458
|
-
--font-paragraph-spacing-heading-
|
|
459
|
-
--font-
|
|
460
|
-
--font-size-body-
|
|
461
|
-
--font-size-body-
|
|
462
|
-
--font-size-body-
|
|
463
|
-
--font-size-body-
|
|
464
|
-
--font-size-
|
|
465
|
-
--font-size-heading-
|
|
466
|
-
--font-size-heading-
|
|
467
|
-
--font-size-heading-
|
|
468
|
-
--font-size-heading-
|
|
469
|
-
--font-size-heading-
|
|
470
|
-
--font-size-
|
|
471
|
-
--font-size-label-
|
|
472
|
-
--font-size-label-
|
|
473
|
-
--font-
|
|
474
|
-
|
|
475
|
-
--font-family-nationale:nationale;
|
|
420
|
+
--font-line-height-body-xs:1rem;
|
|
421
|
+
--font-line-height-body-s:1.25rem;
|
|
422
|
+
--font-line-height-body-lg:1.5rem;
|
|
423
|
+
--font-line-height-body-m:1.5rem;
|
|
424
|
+
--font-line-height-body-xl:1.75rem;
|
|
425
|
+
--font-line-height-heading-s:1rem;
|
|
426
|
+
--font-line-height-heading-xs:1rem;
|
|
427
|
+
--font-line-height-heading-m:1.25rem;
|
|
428
|
+
--font-line-height-heading-lg:1.5rem;
|
|
429
|
+
--font-line-height-heading-xl:1.75rem;
|
|
430
|
+
--font-line-height-heading-2xl:2rem;
|
|
431
|
+
--font-line-height-label-m:1rem;
|
|
432
|
+
--font-line-height-label-s:1rem;
|
|
433
|
+
--font-line-height-label-lg:1.25rem;
|
|
434
|
+
--font-paragraph-spacing-body-xs:0.5rem;
|
|
435
|
+
--font-paragraph-spacing-body-s:0.75rem;
|
|
436
|
+
--font-paragraph-spacing-body-m:1rem;
|
|
437
|
+
--font-paragraph-spacing-body-lg:1.25rem;
|
|
438
|
+
--font-paragraph-spacing-body-xl:1.25rem;
|
|
439
|
+
--font-paragraph-spacing-heading-s:0.5rem;
|
|
440
|
+
--font-paragraph-spacing-heading-xs:0.5rem;
|
|
441
|
+
--font-paragraph-spacing-heading-lg:0.75rem;
|
|
442
|
+
--font-paragraph-spacing-heading-m:0.75rem;
|
|
443
|
+
--font-paragraph-spacing-heading-2xl:1rem;
|
|
444
|
+
--font-paragraph-spacing-heading-xl:1rem;
|
|
445
|
+
--font-size-body-xs:0.75rem;
|
|
446
|
+
--font-size-body-s:0.875rem;
|
|
447
|
+
--font-size-body-lg:1rem;
|
|
448
|
+
--font-size-body-m:1rem;
|
|
449
|
+
--font-size-body-xl:1.25rem;
|
|
450
|
+
--font-size-heading-xs:0.75rem;
|
|
451
|
+
--font-size-heading-s:0.875rem;
|
|
452
|
+
--font-size-heading-m:1rem;
|
|
453
|
+
--font-size-heading-lg:1.25rem;
|
|
454
|
+
--font-size-heading-xl:1.5rem;
|
|
455
|
+
--font-size-heading-2xl:1.75rem;
|
|
456
|
+
--font-size-label-s:0.875rem;
|
|
457
|
+
--font-size-label-m:1rem;
|
|
458
|
+
--font-size-label-lg:1.25rem;
|
|
459
|
+
--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
460
|
+
--font-family-nationale:Nationale;
|
|
476
461
|
--font-weight-body:500;
|
|
477
462
|
--font-weight-heading:600;
|
|
478
463
|
}
|
|
479
464
|
|
|
480
465
|
[data-view-mode=display]{
|
|
481
|
-
|
|
482
|
-
--font-line-height-body-
|
|
483
|
-
--font-line-height-body-
|
|
484
|
-
--font-line-height-body-
|
|
485
|
-
--font-line-height-body-
|
|
486
|
-
--font-line-height-
|
|
487
|
-
--font-line-height-heading-
|
|
488
|
-
--font-line-height-heading-
|
|
489
|
-
--font-line-height-heading-
|
|
490
|
-
--font-line-height-heading-
|
|
491
|
-
--font-line-height-heading-
|
|
492
|
-
--font-line-height-
|
|
493
|
-
--font-line-height-label-
|
|
494
|
-
--font-line-height-label-
|
|
495
|
-
--font-
|
|
496
|
-
--font-paragraph-spacing-body-
|
|
497
|
-
--font-paragraph-spacing-body-
|
|
498
|
-
--font-paragraph-spacing-body-
|
|
499
|
-
--font-paragraph-spacing-body-
|
|
500
|
-
--font-paragraph-spacing-
|
|
501
|
-
--font-paragraph-spacing-heading-
|
|
502
|
-
--font-paragraph-spacing-heading-
|
|
503
|
-
--font-paragraph-spacing-heading-
|
|
504
|
-
--font-paragraph-spacing-heading-
|
|
505
|
-
--font-paragraph-spacing-heading-
|
|
506
|
-
--font-
|
|
507
|
-
--font-size-body-
|
|
508
|
-
--font-size-body-
|
|
509
|
-
--font-size-body-
|
|
510
|
-
--font-size-body-
|
|
511
|
-
--font-size-
|
|
512
|
-
--font-size-heading-
|
|
513
|
-
--font-size-heading-
|
|
514
|
-
--font-size-heading-
|
|
515
|
-
--font-size-heading-
|
|
516
|
-
--font-size-heading-
|
|
517
|
-
--font-size-
|
|
518
|
-
--font-size-label-
|
|
519
|
-
--font-size-label-
|
|
520
|
-
--font-
|
|
521
|
-
|
|
522
|
-
--font-family-nationale:nationale;
|
|
466
|
+
--font-line-height-body-xs:1.75rem;
|
|
467
|
+
--font-line-height-body-s:2rem;
|
|
468
|
+
--font-line-height-body-m:2.75rem;
|
|
469
|
+
--font-line-height-body-lg:3.5rem;
|
|
470
|
+
--font-line-height-body-xl:4rem;
|
|
471
|
+
--font-line-height-heading-xs:1.75rem;
|
|
472
|
+
--font-line-height-heading-s:2.25rem;
|
|
473
|
+
--font-line-height-heading-m:2.75rem;
|
|
474
|
+
--font-line-height-heading-lg:3.5rem;
|
|
475
|
+
--font-line-height-heading-xl:4.5rem;
|
|
476
|
+
--font-line-height-heading-2xl:5rem;
|
|
477
|
+
--font-line-height-label-s:1.75rem;
|
|
478
|
+
--font-line-height-label-m:2.25rem;
|
|
479
|
+
--font-line-height-label-lg:2.75rem;
|
|
480
|
+
--font-paragraph-spacing-body-xs:1.25rem;
|
|
481
|
+
--font-paragraph-spacing-body-s:1.5rem;
|
|
482
|
+
--font-paragraph-spacing-body-m:2rem;
|
|
483
|
+
--font-paragraph-spacing-body-lg:2.5rem;
|
|
484
|
+
--font-paragraph-spacing-body-xl:3rem;
|
|
485
|
+
--font-paragraph-spacing-heading-xs:0.75rem;
|
|
486
|
+
--font-paragraph-spacing-heading-s:1rem;
|
|
487
|
+
--font-paragraph-spacing-heading-m:1.25rem;
|
|
488
|
+
--font-paragraph-spacing-heading-lg:1.5rem;
|
|
489
|
+
--font-paragraph-spacing-heading-xl:2rem;
|
|
490
|
+
--font-paragraph-spacing-heading-2xl:2.25rem;
|
|
491
|
+
--font-size-body-xs:1.25rem;
|
|
492
|
+
--font-size-body-s:1.5rem;
|
|
493
|
+
--font-size-body-m:2rem;
|
|
494
|
+
--font-size-body-lg:2.5rem;
|
|
495
|
+
--font-size-body-xl:3rem;
|
|
496
|
+
--font-size-heading-xs:1.5rem;
|
|
497
|
+
--font-size-heading-s:2rem;
|
|
498
|
+
--font-size-heading-m:2.5rem;
|
|
499
|
+
--font-size-heading-lg:3rem;
|
|
500
|
+
--font-size-heading-xl:4rem;
|
|
501
|
+
--font-size-heading-2xl:4.5rem;
|
|
502
|
+
--font-size-label-s:1.5rem;
|
|
503
|
+
--font-size-label-m:2rem;
|
|
504
|
+
--font-size-label-lg:2.5rem;
|
|
505
|
+
--font-family-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
506
|
+
--font-family-nationale:Nationale;
|
|
523
507
|
--font-weight-body:500;
|
|
524
508
|
--font-weight-heading:600;
|
|
525
509
|
}
|
|
526
510
|
|
|
511
|
+
@media (max-width: 599.98px){
|
|
512
|
+
:root:where(:not([data-view-mode])),
|
|
513
|
+
[data-view-mode=standard]{
|
|
514
|
+
--font-line-height-body-xl:1.75rem;
|
|
515
|
+
--font-line-height-heading-s:1rem;
|
|
516
|
+
--font-line-height-heading-xs:1rem;
|
|
517
|
+
--font-line-height-heading-m:1.25rem;
|
|
518
|
+
--font-line-height-heading-lg:1.5rem;
|
|
519
|
+
--font-line-height-heading-xl:1.75rem;
|
|
520
|
+
--font-line-height-heading-2xl:2rem;
|
|
521
|
+
--font-paragraph-spacing-body-xl:1.25rem;
|
|
522
|
+
--font-paragraph-spacing-heading-s:0.5rem;
|
|
523
|
+
--font-paragraph-spacing-heading-xs:0.5rem;
|
|
524
|
+
--font-paragraph-spacing-heading-lg:0.75rem;
|
|
525
|
+
--font-paragraph-spacing-heading-m:0.75rem;
|
|
526
|
+
--font-paragraph-spacing-heading-2xl:1rem;
|
|
527
|
+
--font-paragraph-spacing-heading-xl:1rem;
|
|
528
|
+
--font-size-body-xl:1.25rem;
|
|
529
|
+
--font-size-heading-xs:0.75rem;
|
|
530
|
+
--font-size-heading-s:0.875rem;
|
|
531
|
+
--font-size-heading-m:1rem;
|
|
532
|
+
--font-size-heading-lg:1.25rem;
|
|
533
|
+
--font-size-heading-xl:1.5rem;
|
|
534
|
+
--font-size-heading-2xl:1.75rem;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
527
537
|
:root{
|
|
528
538
|
--eds-menu:1;
|
|
529
539
|
--reach-menu-button:1;
|