@entur/menu 4.2.39-RC.0 → 4.2.39-RC.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles.css +125 -125
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -441,131 +441,6 @@
|
|
|
441
441
|
}
|
|
442
442
|
/* DO NOT CHANGE!*/
|
|
443
443
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
444
|
-
.eds-stepper {
|
|
445
|
-
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
446
|
-
--line-color: var(--components-menu-stepper-standard-background);
|
|
447
|
-
--label-font-weight: 500;
|
|
448
|
-
--display-active-line: none;
|
|
449
|
-
display: flex;
|
|
450
|
-
flex-direction: row;
|
|
451
|
-
width: 100%;
|
|
452
|
-
list-style-type: none;
|
|
453
|
-
}
|
|
454
|
-
.eds-stepper__step {
|
|
455
|
-
display: flex;
|
|
456
|
-
flex-grow: 1;
|
|
457
|
-
flex-basis: 0;
|
|
458
|
-
flex-direction: column;
|
|
459
|
-
align-items: inherit;
|
|
460
|
-
-webkit-appearance: none;
|
|
461
|
-
-moz-appearance: none;
|
|
462
|
-
appearance: none;
|
|
463
|
-
background: none;
|
|
464
|
-
border: none;
|
|
465
|
-
font-family: inherit;
|
|
466
|
-
text-transform: none;
|
|
467
|
-
}
|
|
468
|
-
.eds-stepper__step__wrapper {
|
|
469
|
-
flex-grow: 1;
|
|
470
|
-
}
|
|
471
|
-
.eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
472
|
-
outline-offset: 0.125rem;
|
|
473
|
-
outline: 2px solid #181c56;
|
|
474
|
-
}
|
|
475
|
-
.eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
476
|
-
outline-offset: 0.125rem;
|
|
477
|
-
outline: 2px solid #181c56;
|
|
478
|
-
}
|
|
479
|
-
.eds-contrast .eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
480
|
-
outline: 2px solid #ffffff;
|
|
481
|
-
}
|
|
482
|
-
.eds-contrast .eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
483
|
-
outline: 2px solid #ffffff;
|
|
484
|
-
}
|
|
485
|
-
.eds-contrast .eds-stepper__step {
|
|
486
|
-
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
487
|
-
--line-color: var(--components-menu-stepper-contrast-background);
|
|
488
|
-
}
|
|
489
|
-
.eds-stepper__step--interactive {
|
|
490
|
-
all: unset;
|
|
491
|
-
display: flex;
|
|
492
|
-
flex-direction: column;
|
|
493
|
-
width: 100%;
|
|
494
|
-
cursor: pointer;
|
|
495
|
-
}
|
|
496
|
-
.eds-stepper__step--active {
|
|
497
|
-
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
498
|
-
--label-font-weight: 600;
|
|
499
|
-
--display-active-line: block;
|
|
500
|
-
}
|
|
501
|
-
.eds-contrast .eds-stepper__step--active {
|
|
502
|
-
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
503
|
-
}
|
|
504
|
-
.eds-stepper__step--completed {
|
|
505
|
-
--text-color: var(--components-menu-stepper-standard-text-completed);
|
|
506
|
-
--line-color: var(--components-menu-stepper-standard-progressbar);
|
|
507
|
-
}
|
|
508
|
-
.eds-contrast .eds-stepper__step--completed {
|
|
509
|
-
--text-color: var(--components-menu-stepper-contrast-text-completed);
|
|
510
|
-
--line-color: var(--components-menu-stepper-contrast-progressbar);
|
|
511
|
-
}
|
|
512
|
-
.eds-stepper__step__label {
|
|
513
|
-
flex-grow: 1;
|
|
514
|
-
flex-direction: column;
|
|
515
|
-
align-self: center;
|
|
516
|
-
text-align: center;
|
|
517
|
-
font-size: 0.875rem;
|
|
518
|
-
margin: 0.5rem 0 0;
|
|
519
|
-
padding: 0 0.5rem;
|
|
520
|
-
width: -moz-fit-content;
|
|
521
|
-
width: fit-content;
|
|
522
|
-
border-radius: 0.0625rem;
|
|
523
|
-
color: var(--text-color);
|
|
524
|
-
font-weight: var(--label-font-weight);
|
|
525
|
-
}
|
|
526
|
-
.eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
527
|
-
background-color: var(--components-menu-stepper-standard-background);
|
|
528
|
-
color: var(--components-menu-stepper-standard-text-completed);
|
|
529
|
-
}
|
|
530
|
-
.eds-contrast .eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
531
|
-
background-color: var(--components-menu-stepper-contrast-background);
|
|
532
|
-
color: var(--components-menu-stepper-contrast-text-completed);
|
|
533
|
-
}
|
|
534
|
-
.eds-stepper__step__line {
|
|
535
|
-
height: 0.5rem;
|
|
536
|
-
background: var(--line-color);
|
|
537
|
-
position: relative;
|
|
538
|
-
}
|
|
539
|
-
.eds-stepper__step__line:before {
|
|
540
|
-
display: var(--display-active-line);
|
|
541
|
-
content: "";
|
|
542
|
-
position: absolute;
|
|
543
|
-
right: calc(50% - 0.2rem);
|
|
544
|
-
bottom: 0.0625rem;
|
|
545
|
-
border-radius: 0.0625rem;
|
|
546
|
-
background: var(--components-menu-stepper-standard-progressbar);
|
|
547
|
-
width: calc(0.5rem - 0.125rem - 0.01rem);
|
|
548
|
-
height: calc(0.5rem - 0.125rem - 0.01rem);
|
|
549
|
-
transform: rotate(45deg);
|
|
550
|
-
}
|
|
551
|
-
.eds-contrast .eds-stepper__step__line:before {
|
|
552
|
-
background: var(--components-menu-stepper-contrast-progressbar);
|
|
553
|
-
}
|
|
554
|
-
.eds-stepper__step__line:after {
|
|
555
|
-
display: var(--display-active-line);
|
|
556
|
-
content: "";
|
|
557
|
-
position: absolute;
|
|
558
|
-
left: 0;
|
|
559
|
-
bottom: 0;
|
|
560
|
-
width: 50%;
|
|
561
|
-
height: 0.5rem;
|
|
562
|
-
background: var(--components-menu-stepper-standard-progressbar);
|
|
563
|
-
}
|
|
564
|
-
.eds-contrast .eds-stepper__step__line:after {
|
|
565
|
-
background: var(--components-menu-stepper-contrast-progressbar);
|
|
566
|
-
}
|
|
567
|
-
/* DO NOT CHANGE!*/
|
|
568
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
569
444
|
.eds-pagination {
|
|
570
445
|
align-items: center;
|
|
571
446
|
display: flex;
|
|
@@ -772,6 +647,131 @@
|
|
|
772
647
|
}
|
|
773
648
|
/* DO NOT CHANGE!*/
|
|
774
649
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
650
|
+
.eds-stepper {
|
|
651
|
+
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
652
|
+
--line-color: var(--components-menu-stepper-standard-background);
|
|
653
|
+
--label-font-weight: 500;
|
|
654
|
+
--display-active-line: none;
|
|
655
|
+
display: flex;
|
|
656
|
+
flex-direction: row;
|
|
657
|
+
width: 100%;
|
|
658
|
+
list-style-type: none;
|
|
659
|
+
}
|
|
660
|
+
.eds-stepper__step {
|
|
661
|
+
display: flex;
|
|
662
|
+
flex-grow: 1;
|
|
663
|
+
flex-basis: 0;
|
|
664
|
+
flex-direction: column;
|
|
665
|
+
align-items: inherit;
|
|
666
|
+
-webkit-appearance: none;
|
|
667
|
+
-moz-appearance: none;
|
|
668
|
+
appearance: none;
|
|
669
|
+
background: none;
|
|
670
|
+
border: none;
|
|
671
|
+
font-family: inherit;
|
|
672
|
+
text-transform: none;
|
|
673
|
+
}
|
|
674
|
+
.eds-stepper__step__wrapper {
|
|
675
|
+
flex-grow: 1;
|
|
676
|
+
}
|
|
677
|
+
.eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
678
|
+
outline-offset: 0.125rem;
|
|
679
|
+
outline: 2px solid #181c56;
|
|
680
|
+
}
|
|
681
|
+
.eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
682
|
+
outline-offset: 0.125rem;
|
|
683
|
+
outline: 2px solid #181c56;
|
|
684
|
+
}
|
|
685
|
+
.eds-contrast .eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
686
|
+
outline: 2px solid #ffffff;
|
|
687
|
+
}
|
|
688
|
+
.eds-contrast .eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
689
|
+
outline: 2px solid #ffffff;
|
|
690
|
+
}
|
|
691
|
+
.eds-contrast .eds-stepper__step {
|
|
692
|
+
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
693
|
+
--line-color: var(--components-menu-stepper-contrast-background);
|
|
694
|
+
}
|
|
695
|
+
.eds-stepper__step--interactive {
|
|
696
|
+
all: unset;
|
|
697
|
+
display: flex;
|
|
698
|
+
flex-direction: column;
|
|
699
|
+
width: 100%;
|
|
700
|
+
cursor: pointer;
|
|
701
|
+
}
|
|
702
|
+
.eds-stepper__step--active {
|
|
703
|
+
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
704
|
+
--label-font-weight: 600;
|
|
705
|
+
--display-active-line: block;
|
|
706
|
+
}
|
|
707
|
+
.eds-contrast .eds-stepper__step--active {
|
|
708
|
+
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
709
|
+
}
|
|
710
|
+
.eds-stepper__step--completed {
|
|
711
|
+
--text-color: var(--components-menu-stepper-standard-text-completed);
|
|
712
|
+
--line-color: var(--components-menu-stepper-standard-progressbar);
|
|
713
|
+
}
|
|
714
|
+
.eds-contrast .eds-stepper__step--completed {
|
|
715
|
+
--text-color: var(--components-menu-stepper-contrast-text-completed);
|
|
716
|
+
--line-color: var(--components-menu-stepper-contrast-progressbar);
|
|
717
|
+
}
|
|
718
|
+
.eds-stepper__step__label {
|
|
719
|
+
flex-grow: 1;
|
|
720
|
+
flex-direction: column;
|
|
721
|
+
align-self: center;
|
|
722
|
+
text-align: center;
|
|
723
|
+
font-size: 0.875rem;
|
|
724
|
+
margin: 0.5rem 0 0;
|
|
725
|
+
padding: 0 0.5rem;
|
|
726
|
+
width: -moz-fit-content;
|
|
727
|
+
width: fit-content;
|
|
728
|
+
border-radius: 0.0625rem;
|
|
729
|
+
color: var(--text-color);
|
|
730
|
+
font-weight: var(--label-font-weight);
|
|
731
|
+
}
|
|
732
|
+
.eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
733
|
+
background-color: var(--components-menu-stepper-standard-background);
|
|
734
|
+
color: var(--components-menu-stepper-standard-text-completed);
|
|
735
|
+
}
|
|
736
|
+
.eds-contrast .eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
737
|
+
background-color: var(--components-menu-stepper-contrast-background);
|
|
738
|
+
color: var(--components-menu-stepper-contrast-text-completed);
|
|
739
|
+
}
|
|
740
|
+
.eds-stepper__step__line {
|
|
741
|
+
height: 0.5rem;
|
|
742
|
+
background: var(--line-color);
|
|
743
|
+
position: relative;
|
|
744
|
+
}
|
|
745
|
+
.eds-stepper__step__line:before {
|
|
746
|
+
display: var(--display-active-line);
|
|
747
|
+
content: "";
|
|
748
|
+
position: absolute;
|
|
749
|
+
right: calc(50% - 0.2rem);
|
|
750
|
+
bottom: 0.0625rem;
|
|
751
|
+
border-radius: 0.0625rem;
|
|
752
|
+
background: var(--components-menu-stepper-standard-progressbar);
|
|
753
|
+
width: calc(0.5rem - 0.125rem - 0.01rem);
|
|
754
|
+
height: calc(0.5rem - 0.125rem - 0.01rem);
|
|
755
|
+
transform: rotate(45deg);
|
|
756
|
+
}
|
|
757
|
+
.eds-contrast .eds-stepper__step__line:before {
|
|
758
|
+
background: var(--components-menu-stepper-contrast-progressbar);
|
|
759
|
+
}
|
|
760
|
+
.eds-stepper__step__line:after {
|
|
761
|
+
display: var(--display-active-line);
|
|
762
|
+
content: "";
|
|
763
|
+
position: absolute;
|
|
764
|
+
left: 0;
|
|
765
|
+
bottom: 0;
|
|
766
|
+
width: 50%;
|
|
767
|
+
height: 0.5rem;
|
|
768
|
+
background: var(--components-menu-stepper-standard-progressbar);
|
|
769
|
+
}
|
|
770
|
+
.eds-contrast .eds-stepper__step__line:after {
|
|
771
|
+
background: var(--components-menu-stepper-contrast-progressbar);
|
|
772
|
+
}
|
|
773
|
+
/* DO NOT CHANGE!*/
|
|
774
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
775
775
|
/* DO NOT CHANGE!*/
|
|
776
776
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
777
777
|
/* DO NOT CHANGE!*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.2.39-RC.
|
|
3
|
+
"version": "4.2.39-RC.1",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.90-RC.
|
|
31
|
-
"@entur/button": "^3.2.31-RC.
|
|
32
|
-
"@entur/expand": "^3.5.20-RC.
|
|
33
|
-
"@entur/icons": "^7.3.0-RC.
|
|
34
|
-
"@entur/layout": "^2.3.15-RC.
|
|
30
|
+
"@entur/a11y": "^0.2.90-RC.1",
|
|
31
|
+
"@entur/button": "^3.2.31-RC.1",
|
|
32
|
+
"@entur/expand": "^3.5.20-RC.1",
|
|
33
|
+
"@entur/icons": "^7.3.0-RC.1",
|
|
34
|
+
"@entur/layout": "^2.3.15-RC.1",
|
|
35
35
|
"@entur/tokens": "^3.17.0",
|
|
36
|
-
"@entur/typography": "^1.8.44-RC.
|
|
37
|
-
"@entur/utils": "^0.11.2-RC.
|
|
36
|
+
"@entur/typography": "^1.8.44-RC.1",
|
|
37
|
+
"@entur/utils": "^0.11.2-RC.1",
|
|
38
38
|
"@reach/menu-button": "^0.16.1",
|
|
39
39
|
"@reach/polymorphic": "0.18.0",
|
|
40
40
|
"classnames": "^2.3.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "d7b4d04bcbef5d3861b802b0a6af3f36a91a4118"
|
|
43
43
|
}
|