@entur/menu 7.1.1 → 7.2.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/beta/cjs/SideNavigation/SideNavigation.cjs +13 -9
- package/dist/beta/cjs/SideNavigation/SideNavigation.cjs.map +1 -1
- package/dist/beta/cjs/SideNavigation/SideNavigationExpandableItem.cjs +27 -9
- package/dist/beta/cjs/SideNavigation/SideNavigationExpandableItem.cjs.map +1 -1
- package/dist/beta/cjs/SideNavigation/SideNavigationItem.cjs.map +1 -1
- package/dist/beta/cjs/SideNavigation/SideNavigationItemContent.cjs +9 -4
- package/dist/beta/cjs/SideNavigation/SideNavigationItemContent.cjs.map +1 -1
- package/dist/beta/cjs/SideNavigation/warnOnMixedIcons.cjs +50 -0
- package/dist/beta/cjs/SideNavigation/warnOnMixedIcons.cjs.map +1 -0
- package/dist/beta/esm/SideNavigation/SideNavigation.mjs +13 -9
- package/dist/beta/esm/SideNavigation/SideNavigation.mjs.map +1 -1
- package/dist/beta/esm/SideNavigation/SideNavigationExpandableItem.mjs +27 -9
- package/dist/beta/esm/SideNavigation/SideNavigationExpandableItem.mjs.map +1 -1
- package/dist/beta/esm/SideNavigation/SideNavigationItem.mjs.map +1 -1
- package/dist/beta/esm/SideNavigation/SideNavigationItemContent.mjs +9 -4
- package/dist/beta/esm/SideNavigation/SideNavigationItemContent.mjs.map +1 -1
- package/dist/beta/esm/SideNavigation/warnOnMixedIcons.mjs +50 -0
- package/dist/beta/esm/SideNavigation/warnOnMixedIcons.mjs.map +1 -0
- package/dist/beta/styles/index.css +148 -173
- package/dist/beta/types/SideNavigation/SideNavigationExpandableItem.d.ts +10 -2
- package/dist/beta/types/SideNavigation/SideNavigationItem.d.ts +1 -1
- package/dist/beta/types/SideNavigation/SideNavigationItemContent.d.ts +4 -0
- package/dist/beta/types/SideNavigation/warnOnMixedIcons.d.ts +6 -0
- package/dist/styles.css +49 -278
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -532,30 +532,19 @@
|
|
|
532
532
|
.eds-breadcrumbs__item__link:not(:where(.eds-breadcrumbs__item__link--current)){
|
|
533
533
|
-webkit-text-decoration:none;
|
|
534
534
|
text-decoration:none;
|
|
535
|
-
background-image:-webkit-linear-gradient(330deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
536
|
-
background-image:-moz-linear-gradient(330deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
537
|
-
background-image:-o-linear-gradient(330deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
538
535
|
background-image:linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
539
536
|
background-repeat:no-repeat;
|
|
540
|
-
|
|
541
|
-
-o-background-size:100% 0.125rem;
|
|
542
|
-
background-size:100% 0.125rem;
|
|
537
|
+
background-size:100% 0.125rem;
|
|
543
538
|
background-position:0 100%;
|
|
544
539
|
}
|
|
545
540
|
:where(.eds-contrast) .eds-breadcrumbs__item__link:not(:where(.eds-breadcrumbs__item__link--current)){
|
|
546
|
-
background-image:-webkit-linear-gradient(330deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
547
|
-
background-image:-moz-linear-gradient(330deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
548
|
-
background-image:-o-linear-gradient(330deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
549
541
|
background-image:linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
550
542
|
}
|
|
551
543
|
.eds-breadcrumbs__item__link:not(:where(.eds-breadcrumbs__item__link--current)):where(:hover){
|
|
552
|
-
|
|
553
|
-
-moz-animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
554
|
-
-o-animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
555
|
-
animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
544
|
+
animation:eds-breadcrumbs-underline 0.3s ease-in;
|
|
556
545
|
cursor:pointer;
|
|
557
546
|
}
|
|
558
|
-
|
|
547
|
+
@keyframes eds-breadcrumbs-underline{
|
|
559
548
|
from{
|
|
560
549
|
background-size:0% 0.125rem;
|
|
561
550
|
}
|
|
@@ -563,38 +552,6 @@
|
|
|
563
552
|
background-size:100% 0.125rem;
|
|
564
553
|
}
|
|
565
554
|
}
|
|
566
|
-
@-moz-keyframes eds-breadcrumbs-underline{
|
|
567
|
-
from{
|
|
568
|
-
-moz-background-size:0% 0.125rem;
|
|
569
|
-
background-size:0% 0.125rem;
|
|
570
|
-
}
|
|
571
|
-
to{
|
|
572
|
-
-moz-background-size:100% 0.125rem;
|
|
573
|
-
background-size:100% 0.125rem;
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
@-o-keyframes eds-breadcrumbs-underline{
|
|
577
|
-
from{
|
|
578
|
-
-o-background-size:0% 0.125rem;
|
|
579
|
-
background-size:0% 0.125rem;
|
|
580
|
-
}
|
|
581
|
-
to{
|
|
582
|
-
-o-background-size:100% 0.125rem;
|
|
583
|
-
background-size:100% 0.125rem;
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
@keyframes eds-breadcrumbs-underline{
|
|
587
|
-
from{
|
|
588
|
-
-moz-background-size:0% 0.125rem;
|
|
589
|
-
-o-background-size:0% 0.125rem;
|
|
590
|
-
background-size:0% 0.125rem;
|
|
591
|
-
}
|
|
592
|
-
to{
|
|
593
|
-
-moz-background-size:100% 0.125rem;
|
|
594
|
-
-o-background-size:100% 0.125rem;
|
|
595
|
-
background-size:100% 0.125rem;
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
555
|
.eds-breadcrumbs__item__link--current{
|
|
599
556
|
font-weight:600;
|
|
600
557
|
cursor:default;
|
|
@@ -605,14 +562,8 @@
|
|
|
605
562
|
--eds-logo-svg-height:2rem;
|
|
606
563
|
--eds-logo-text-size:2rem;
|
|
607
564
|
--eds-logo-text-padding-top:0.375rem;
|
|
608
|
-
display:-webkit-inline-box;
|
|
609
|
-
display:-webkit-inline-flex;
|
|
610
|
-
display:-moz-inline-box;
|
|
611
565
|
display:inline-flex;
|
|
612
|
-
-
|
|
613
|
-
-webkit-align-items:flex-start;
|
|
614
|
-
-moz-box-align:start;
|
|
615
|
-
align-items:flex-start;
|
|
566
|
+
align-items:flex-start;
|
|
616
567
|
-webkit-text-decoration:none;
|
|
617
568
|
text-decoration:none;
|
|
618
569
|
gap:0.75rem;
|
|
@@ -623,8 +574,7 @@
|
|
|
623
574
|
--eds-logo-text-padding-top:0.281rem;
|
|
624
575
|
}
|
|
625
576
|
.eds-logo__svg{
|
|
626
|
-
|
|
627
|
-
flex-shrink:0;
|
|
577
|
+
flex-shrink:0;
|
|
628
578
|
height:var(--eds-logo-svg-height);
|
|
629
579
|
width:auto;
|
|
630
580
|
}
|
|
@@ -653,20 +603,14 @@
|
|
|
653
603
|
.eds-contrast .eds-logo:focus-visible{
|
|
654
604
|
outline-color:var(--basecolors-stroke-focus-contrast);
|
|
655
605
|
}.eds-overflow-menu__menu-list{
|
|
656
|
-
|
|
657
|
-
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
658
|
-
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
606
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
659
607
|
overflow:hidden;
|
|
660
|
-
|
|
661
|
-
-moz-border-radius:0.25rem;
|
|
662
|
-
border-radius:0.25rem;
|
|
608
|
+
border-radius:0.25rem;
|
|
663
609
|
border:0.0625rem solid var(--components-menu-overflowmenu-border);
|
|
664
610
|
z-index:20;
|
|
665
611
|
}
|
|
666
612
|
.eds-overflow-menu__menu-list.eds-contrast{
|
|
667
|
-
|
|
668
|
-
-moz-box-shadow:0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
669
|
-
box-shadow:0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
613
|
+
box-shadow:0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
670
614
|
}
|
|
671
615
|
.eds-overflow-menu__item{
|
|
672
616
|
display:block;
|
|
@@ -700,40 +644,18 @@
|
|
|
700
644
|
.eds-overflow-menu__item svg{
|
|
701
645
|
margin-right:0.75rem;
|
|
702
646
|
}.eds-pagination{
|
|
703
|
-
-
|
|
704
|
-
-webkit-align-items:center;
|
|
705
|
-
-moz-box-align:center;
|
|
706
|
-
align-items:center;
|
|
707
|
-
display:-webkit-box;
|
|
708
|
-
display:-webkit-flex;
|
|
709
|
-
display:-moz-box;
|
|
647
|
+
align-items:center;
|
|
710
648
|
display:flex;
|
|
711
|
-
|
|
712
|
-
flex-wrap:wrap;
|
|
649
|
+
flex-wrap:wrap;
|
|
713
650
|
row-gap:0.75rem;
|
|
714
|
-
-
|
|
715
|
-
-webkit-justify-content:space-between;
|
|
716
|
-
-moz-box-pack:justify;
|
|
717
|
-
justify-content:space-between;
|
|
651
|
+
justify-content:space-between;
|
|
718
652
|
}
|
|
719
653
|
.eds-pagination__results{
|
|
720
654
|
margin-right:0.5rem;
|
|
721
|
-
display:-webkit-box;
|
|
722
|
-
display:-webkit-flex;
|
|
723
|
-
display:-moz-box;
|
|
724
655
|
display:flex;
|
|
725
|
-
|
|
726
|
-
-
|
|
727
|
-
|
|
728
|
-
flex:1;
|
|
729
|
-
-webkit-box-align:center;
|
|
730
|
-
-webkit-align-items:center;
|
|
731
|
-
-moz-box-align:center;
|
|
732
|
-
align-items:center;
|
|
733
|
-
-webkit-box-pack:start;
|
|
734
|
-
-webkit-justify-content:flex-start;
|
|
735
|
-
-moz-box-pack:start;
|
|
736
|
-
justify-content:flex-start;
|
|
656
|
+
flex:1;
|
|
657
|
+
align-items:center;
|
|
658
|
+
justify-content:flex-start;
|
|
737
659
|
color:var(--components-menu-pagination-standard-text-subdued);
|
|
738
660
|
}
|
|
739
661
|
.eds-contrast .eds-pagination__results{
|
|
@@ -744,74 +666,41 @@
|
|
|
744
666
|
margin:0 0.5rem;
|
|
745
667
|
}
|
|
746
668
|
.eds-pagination__results .eds-pagination__results__change-number-of-results__content{
|
|
747
|
-
display:-webkit-box;
|
|
748
|
-
display:-webkit-flex;
|
|
749
|
-
display:-moz-box;
|
|
750
669
|
display:flex;
|
|
751
|
-
-
|
|
752
|
-
-webkit-align-items:center;
|
|
753
|
-
-moz-box-align:center;
|
|
754
|
-
align-items:center;
|
|
670
|
+
align-items:center;
|
|
755
671
|
gap:0.5rem;
|
|
756
672
|
}
|
|
757
673
|
.eds-pagination__results .eds-pagination__results__change-number-of-results[aria-expanded=true] .eds-pagination__results__change-number-of-results__content__arrow{
|
|
758
|
-
|
|
759
|
-
-moz-transform:rotate(180deg);
|
|
760
|
-
-o-transform:rotate(180deg);
|
|
761
|
-
transform:rotate(180deg);
|
|
674
|
+
transform:rotate(180deg);
|
|
762
675
|
}
|
|
763
676
|
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type{
|
|
764
677
|
margin:0 auto;
|
|
765
678
|
}
|
|
766
679
|
.eds-pagination__controls{
|
|
767
|
-
-
|
|
768
|
-
-webkit-align-items:center;
|
|
769
|
-
-moz-box-align:center;
|
|
770
|
-
align-items:center;
|
|
771
|
-
display:-webkit-box;
|
|
772
|
-
display:-webkit-flex;
|
|
773
|
-
display:-moz-box;
|
|
680
|
+
align-items:center;
|
|
774
681
|
display:flex;
|
|
775
|
-
-
|
|
776
|
-
-webkit-justify-content:center;
|
|
777
|
-
-moz-box-pack:center;
|
|
778
|
-
justify-content:center;
|
|
682
|
+
justify-content:center;
|
|
779
683
|
}
|
|
780
684
|
.eds-pagination__controls__page{
|
|
781
|
-
-
|
|
782
|
-
-webkit-align-items:center;
|
|
783
|
-
-moz-box-align:center;
|
|
784
|
-
align-items:center;
|
|
685
|
+
align-items:center;
|
|
785
686
|
-webkit-appearance:none;
|
|
786
687
|
-moz-appearance:none;
|
|
787
688
|
appearance:none;
|
|
788
689
|
background-color:var(--components-menu-pagination-standard-default);
|
|
789
690
|
border:0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
790
|
-
|
|
791
|
-
-moz-border-radius:0.25rem;
|
|
792
|
-
border-radius:0.25rem;
|
|
691
|
+
border-radius:0.25rem;
|
|
793
692
|
color:var(--components-menu-pagination-standard-text-unselected);
|
|
794
693
|
cursor:pointer;
|
|
795
|
-
display:-webkit-box;
|
|
796
|
-
display:-webkit-flex;
|
|
797
|
-
display:-moz-box;
|
|
798
694
|
display:flex;
|
|
799
695
|
font-family:inherit;
|
|
800
696
|
font-size:0.875rem;
|
|
801
697
|
height:2rem;
|
|
802
|
-
-
|
|
803
|
-
-webkit-justify-content:center;
|
|
804
|
-
-moz-box-pack:center;
|
|
805
|
-
justify-content:center;
|
|
698
|
+
justify-content:center;
|
|
806
699
|
margin:0 0.125rem;
|
|
807
700
|
padding:0 0.25rem;
|
|
808
|
-
-webkit-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
809
|
-
-o-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
810
|
-
-moz-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
811
701
|
transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
812
702
|
-webkit-user-select:none;
|
|
813
703
|
-moz-user-select:none;
|
|
814
|
-
-ms-user-select:none;
|
|
815
704
|
user-select:none;
|
|
816
705
|
min-width:2rem;
|
|
817
706
|
}
|
|
@@ -854,24 +743,14 @@
|
|
|
854
743
|
}
|
|
855
744
|
.eds-pagination__controls__page__ellipsis{
|
|
856
745
|
color:var(--components-menu-pagination-standard-icon);
|
|
857
|
-
-
|
|
858
|
-
-webkit-align-items:baseline;
|
|
859
|
-
-moz-box-align:baseline;
|
|
860
|
-
align-items:baseline;
|
|
746
|
+
align-items:baseline;
|
|
861
747
|
cursor:default;
|
|
862
|
-
display:-webkit-box;
|
|
863
|
-
display:-webkit-flex;
|
|
864
|
-
display:-moz-box;
|
|
865
748
|
display:flex;
|
|
866
749
|
font-size:1.5rem;
|
|
867
750
|
height:2rem;
|
|
868
|
-
-
|
|
869
|
-
-webkit-justify-content:center;
|
|
870
|
-
-moz-box-pack:center;
|
|
871
|
-
justify-content:center;
|
|
751
|
+
justify-content:center;
|
|
872
752
|
-webkit-user-select:none;
|
|
873
753
|
-moz-user-select:none;
|
|
874
|
-
-ms-user-select:none;
|
|
875
754
|
user-select:none;
|
|
876
755
|
width:2rem;
|
|
877
756
|
margin:0 2px;
|
|
@@ -899,9 +778,7 @@
|
|
|
899
778
|
appearance:none;
|
|
900
779
|
background-color:var(--components-menu-pagination-standard-default);
|
|
901
780
|
border:0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
902
|
-
|
|
903
|
-
-moz-border-radius:0.25rem;
|
|
904
|
-
border-radius:0.25rem;
|
|
781
|
+
border-radius:0.25rem;
|
|
905
782
|
color:var(--components-menu-pagination-standard-text-unselected);
|
|
906
783
|
font-family:inherit;
|
|
907
784
|
font-size:0.875rem;
|
|
@@ -938,12 +815,8 @@
|
|
|
938
815
|
.eds-side-navigation__click-target svg{
|
|
939
816
|
margin-right:1rem;
|
|
940
817
|
color:var(--components-menu-sidenavigation-standard-icon);
|
|
941
|
-
display:-webkit-inline-box;
|
|
942
|
-
display:-webkit-inline-flex;
|
|
943
|
-
display:-moz-inline-box;
|
|
944
818
|
display:inline-flex;
|
|
945
|
-
|
|
946
|
-
align-self:center;
|
|
819
|
+
align-self:center;
|
|
947
820
|
position:relative;
|
|
948
821
|
top:0.075em;
|
|
949
822
|
}
|
|
@@ -967,9 +840,6 @@
|
|
|
967
840
|
margin:0;
|
|
968
841
|
list-style:none;
|
|
969
842
|
position:relative;
|
|
970
|
-
-webkit-transition:max-width ease-in-out 0.2s;
|
|
971
|
-
-o-transition:max-width ease-in-out 0.2s;
|
|
972
|
-
-moz-transition:max-width ease-in-out 0.2s;
|
|
973
843
|
transition:max-width ease-in-out 0.2s;
|
|
974
844
|
}
|
|
975
845
|
.eds-contrast .eds-side-navigation{
|
|
@@ -981,37 +851,22 @@
|
|
|
981
851
|
right:-0.75rem;
|
|
982
852
|
height:1.5rem;
|
|
983
853
|
width:1.5rem;
|
|
984
|
-
|
|
985
|
-
-moz-border-radius:50%;
|
|
986
|
-
border-radius:50%;
|
|
854
|
+
border-radius:50%;
|
|
987
855
|
border:none;
|
|
988
856
|
cursor:pointer;
|
|
989
857
|
background-color:var(--components-menu-sidenavigation-standard-background);
|
|
990
858
|
color:var(--components-menu-sidenavigation-standard-text);
|
|
991
|
-
|
|
992
|
-
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
993
|
-
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
859
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
994
860
|
padding:0;
|
|
995
|
-
display:-webkit-box;
|
|
996
|
-
display:-webkit-flex;
|
|
997
|
-
display:-moz-box;
|
|
998
861
|
display:flex;
|
|
999
|
-
-
|
|
1000
|
-
-
|
|
1001
|
-
-moz-box-align:center;
|
|
1002
|
-
align-items:center;
|
|
1003
|
-
-webkit-box-pack:center;
|
|
1004
|
-
-webkit-justify-content:center;
|
|
1005
|
-
-moz-box-pack:center;
|
|
1006
|
-
justify-content:center;
|
|
862
|
+
align-items:center;
|
|
863
|
+
justify-content:center;
|
|
1007
864
|
z-index:10;
|
|
1008
865
|
}
|
|
1009
866
|
.eds-contrast .eds-side-navigation__collapse-button{
|
|
1010
867
|
background-color:var(--components-menu-sidenavigation-contrast-background);
|
|
1011
868
|
color:var(--components-menu-sidenavigation-contrast-text);
|
|
1012
|
-
|
|
1013
|
-
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1014
|
-
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
869
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1015
870
|
}
|
|
1016
871
|
.eds-side-navigation__collapse-button svg{
|
|
1017
872
|
margin:0;
|
|
@@ -1035,8 +890,6 @@
|
|
|
1035
890
|
}
|
|
1036
891
|
}
|
|
1037
892
|
.eds-side-navigation--small{
|
|
1038
|
-
--padding-vertical:-webkit-calc(0.5rem + 0.1875rem);
|
|
1039
|
-
--padding-vertical:-moz-calc(0.5rem + 0.1875rem);
|
|
1040
893
|
--padding-vertical:calc(0.5rem + 0.1875rem);
|
|
1041
894
|
}
|
|
1042
895
|
.eds-side-navigation .eds-side-navigation{
|
|
@@ -1051,9 +904,7 @@
|
|
|
1051
904
|
|
|
1052
905
|
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target{
|
|
1053
906
|
padding-left:3.5rem;
|
|
1054
|
-
|
|
1055
|
-
-moz-box-shadow:none;
|
|
1056
|
-
box-shadow:none;
|
|
907
|
+
box-shadow:none;
|
|
1057
908
|
}
|
|
1058
909
|
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active{
|
|
1059
910
|
background-color:var(--components-menu-sidenavigation-standard-fill-active);
|
|
@@ -1069,9 +920,7 @@
|
|
|
1069
920
|
background:none;
|
|
1070
921
|
border:0;
|
|
1071
922
|
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
|
|
1072
|
-
|
|
1073
|
-
-moz-border-radius:0;
|
|
1074
|
-
border-radius:0;
|
|
923
|
+
border-radius:0;
|
|
1075
924
|
color:var(--components-menu-sidenavigation-standard-text);
|
|
1076
925
|
cursor:pointer;
|
|
1077
926
|
display:block;
|
|
@@ -1081,9 +930,6 @@
|
|
|
1081
930
|
line-height:inherit;
|
|
1082
931
|
padding:var(--padding-vertical) 2.5rem;
|
|
1083
932
|
padding-left:2.5rem;
|
|
1084
|
-
-webkit-transition:padding 0.2s ease-in-out;
|
|
1085
|
-
-o-transition:padding 0.2s ease-in-out;
|
|
1086
|
-
-moz-transition:padding 0.2s ease-in-out;
|
|
1087
933
|
transition:padding 0.2s ease-in-out;
|
|
1088
934
|
text-align:left;
|
|
1089
935
|
-webkit-text-decoration:none;
|
|
@@ -1098,15 +944,11 @@
|
|
|
1098
944
|
padding-left:2rem;
|
|
1099
945
|
}
|
|
1100
946
|
.eds-side-navigation__click-target--active{
|
|
1101
|
-
|
|
1102
|
-
-moz-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
1103
|
-
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
947
|
+
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
1104
948
|
font-weight:600;
|
|
1105
949
|
}
|
|
1106
950
|
.eds-contrast .eds-side-navigation__click-target--active{
|
|
1107
|
-
|
|
1108
|
-
-moz-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
1109
|
-
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
951
|
+
box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
1110
952
|
}
|
|
1111
953
|
.eds-side-navigation__click-target[disabled]{
|
|
1112
954
|
cursor:not-allowed;
|
|
@@ -1140,10 +982,7 @@
|
|
|
1140
982
|
}
|
|
1141
983
|
|
|
1142
984
|
.eds-side-navigation-group__trigger{
|
|
1143
|
-
-
|
|
1144
|
-
-webkit-align-items:center;
|
|
1145
|
-
-moz-box-align:center;
|
|
1146
|
-
align-items:center;
|
|
985
|
+
align-items:center;
|
|
1147
986
|
-webkit-appearance:none;
|
|
1148
987
|
-moz-appearance:none;
|
|
1149
988
|
appearance:none;
|
|
@@ -1152,26 +991,17 @@
|
|
|
1152
991
|
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
|
|
1153
992
|
color:var(--components-menu-sidenavigation-standard-label);
|
|
1154
993
|
cursor:pointer;
|
|
1155
|
-
display:-webkit-box;
|
|
1156
|
-
display:-webkit-flex;
|
|
1157
|
-
display:-moz-box;
|
|
1158
994
|
display:flex;
|
|
1159
995
|
font-size:0.875rem;
|
|
1160
996
|
font-family:inherit;
|
|
1161
997
|
font-weight:500;
|
|
1162
998
|
height:3rem;
|
|
1163
|
-
-
|
|
1164
|
-
-webkit-justify-content:space-between;
|
|
1165
|
-
-moz-box-pack:justify;
|
|
1166
|
-
justify-content:space-between;
|
|
999
|
+
justify-content:space-between;
|
|
1167
1000
|
letter-spacing:1px;
|
|
1168
1001
|
line-height:1.25rem;
|
|
1169
1002
|
padding:0.75rem 0 0.75rem 2.5rem;
|
|
1170
1003
|
margin:0;
|
|
1171
1004
|
text-transform:uppercase;
|
|
1172
|
-
-webkit-transition:padding 0.2s ease-in-out;
|
|
1173
|
-
-o-transition:padding 0.2s ease-in-out;
|
|
1174
|
-
-moz-transition:padding 0.2s ease-in-out;
|
|
1175
1005
|
transition:padding 0.2s ease-in-out;
|
|
1176
1006
|
width:100%;
|
|
1177
1007
|
}
|
|
@@ -1205,40 +1035,17 @@
|
|
|
1205
1035
|
--line-color:var(--components-menu-stepper-standard-background);
|
|
1206
1036
|
--label-font-weight:500;
|
|
1207
1037
|
--display-active-line:none;
|
|
1208
|
-
display:-webkit-box;
|
|
1209
|
-
display:-webkit-flex;
|
|
1210
|
-
display:-moz-box;
|
|
1211
1038
|
display:flex;
|
|
1212
|
-
-
|
|
1213
|
-
-webkit-box-direction:normal;
|
|
1214
|
-
-webkit-flex-direction:row;
|
|
1215
|
-
-moz-box-orient:horizontal;
|
|
1216
|
-
-moz-box-direction:normal;
|
|
1217
|
-
flex-direction:row;
|
|
1039
|
+
flex-direction:row;
|
|
1218
1040
|
width:100%;
|
|
1219
1041
|
list-style-type:none;
|
|
1220
1042
|
}
|
|
1221
1043
|
.eds-stepper__step{
|
|
1222
|
-
display:-webkit-box;
|
|
1223
|
-
display:-webkit-flex;
|
|
1224
|
-
display:-moz-box;
|
|
1225
1044
|
display:flex;
|
|
1226
|
-
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
-webkit-flex-basis:0;
|
|
1231
|
-
flex-basis:0;
|
|
1232
|
-
-webkit-box-orient:vertical;
|
|
1233
|
-
-webkit-box-direction:normal;
|
|
1234
|
-
-webkit-flex-direction:column;
|
|
1235
|
-
-moz-box-orient:vertical;
|
|
1236
|
-
-moz-box-direction:normal;
|
|
1237
|
-
flex-direction:column;
|
|
1238
|
-
-webkit-box-align:inherit;
|
|
1239
|
-
-webkit-align-items:inherit;
|
|
1240
|
-
-moz-box-align:inherit;
|
|
1241
|
-
align-items:inherit;
|
|
1045
|
+
flex-grow:1;
|
|
1046
|
+
flex-basis:0;
|
|
1047
|
+
flex-direction:column;
|
|
1048
|
+
align-items:inherit;
|
|
1242
1049
|
-webkit-appearance:none;
|
|
1243
1050
|
-moz-appearance:none;
|
|
1244
1051
|
appearance:none;
|
|
@@ -1259,23 +1066,12 @@
|
|
|
1259
1066
|
--line-color:var(--components-menu-stepper-contrast-background);
|
|
1260
1067
|
}
|
|
1261
1068
|
.eds-stepper__step__wrapper{
|
|
1262
|
-
-
|
|
1263
|
-
-webkit-flex-grow:1;
|
|
1264
|
-
-moz-box-flex:1;
|
|
1265
|
-
flex-grow:1;
|
|
1069
|
+
flex-grow:1;
|
|
1266
1070
|
}
|
|
1267
1071
|
.eds-stepper__step--interactive{
|
|
1268
1072
|
all:unset;
|
|
1269
|
-
display:-webkit-box;
|
|
1270
|
-
display:-webkit-flex;
|
|
1271
|
-
display:-moz-box;
|
|
1272
1073
|
display:flex;
|
|
1273
|
-
-
|
|
1274
|
-
-webkit-box-direction:normal;
|
|
1275
|
-
-webkit-flex-direction:column;
|
|
1276
|
-
-moz-box-orient:vertical;
|
|
1277
|
-
-moz-box-direction:normal;
|
|
1278
|
-
flex-direction:column;
|
|
1074
|
+
flex-direction:column;
|
|
1279
1075
|
width:100%;
|
|
1280
1076
|
cursor:pointer;
|
|
1281
1077
|
}
|
|
@@ -1296,18 +1092,9 @@
|
|
|
1296
1092
|
--line-color:var(--components-menu-stepper-contrast-progressbar);
|
|
1297
1093
|
}
|
|
1298
1094
|
.eds-stepper__step__label{
|
|
1299
|
-
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
flex-grow:1;
|
|
1303
|
-
-webkit-box-orient:vertical;
|
|
1304
|
-
-webkit-box-direction:normal;
|
|
1305
|
-
-webkit-flex-direction:column;
|
|
1306
|
-
-moz-box-orient:vertical;
|
|
1307
|
-
-moz-box-direction:normal;
|
|
1308
|
-
flex-direction:column;
|
|
1309
|
-
-webkit-align-self:center;
|
|
1310
|
-
align-self:center;
|
|
1095
|
+
flex-grow:1;
|
|
1096
|
+
flex-direction:column;
|
|
1097
|
+
align-self:center;
|
|
1311
1098
|
text-align:center;
|
|
1312
1099
|
font-size:0.875rem;
|
|
1313
1100
|
margin:0.5rem 0 0;
|
|
@@ -1315,9 +1102,7 @@
|
|
|
1315
1102
|
width:-webkit-fit-content;
|
|
1316
1103
|
width:-moz-fit-content;
|
|
1317
1104
|
width:fit-content;
|
|
1318
|
-
|
|
1319
|
-
-moz-border-radius:0.0625rem;
|
|
1320
|
-
border-radius:0.0625rem;
|
|
1105
|
+
border-radius:0.0625rem;
|
|
1321
1106
|
color:var(--text-color);
|
|
1322
1107
|
font-weight:var(--label-font-weight);
|
|
1323
1108
|
}
|
|
@@ -1338,24 +1123,13 @@
|
|
|
1338
1123
|
display:var(--display-active-line);
|
|
1339
1124
|
content:"";
|
|
1340
1125
|
position:absolute;
|
|
1341
|
-
right:-webkit-calc(50% - 0.2rem);
|
|
1342
|
-
right:-moz-calc(50% - 0.2rem);
|
|
1343
1126
|
right:calc(50% - 0.2rem);
|
|
1344
1127
|
bottom:0.0625rem;
|
|
1345
|
-
|
|
1346
|
-
-moz-border-radius:0.0625rem;
|
|
1347
|
-
border-radius:0.0625rem;
|
|
1128
|
+
border-radius:0.0625rem;
|
|
1348
1129
|
background:var(--components-menu-stepper-standard-progressbar);
|
|
1349
|
-
width:-webkit-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1350
|
-
width:-moz-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1351
1130
|
width:calc(0.5rem - 0.125rem - 0.01rem);
|
|
1352
|
-
height:-webkit-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1353
|
-
height:-moz-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1354
1131
|
height:calc(0.5rem - 0.125rem - 0.01rem);
|
|
1355
|
-
|
|
1356
|
-
-moz-transform:rotate(45deg);
|
|
1357
|
-
-o-transform:rotate(45deg);
|
|
1358
|
-
transform:rotate(45deg);
|
|
1132
|
+
transform:rotate(45deg);
|
|
1359
1133
|
}
|
|
1360
1134
|
.eds-contrast .eds-stepper__step__line::before{
|
|
1361
1135
|
background:var(--components-menu-stepper-contrast-progressbar);
|
|
@@ -1399,9 +1173,6 @@
|
|
|
1399
1173
|
margin:0 auto;
|
|
1400
1174
|
opacity:var(--show-active-line);
|
|
1401
1175
|
background:var(--components-menu-navigationbar-standard-stroke-selected);
|
|
1402
|
-
-webkit-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1403
|
-
-o-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1404
|
-
-moz-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1405
1176
|
transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1406
1177
|
}
|
|
1407
1178
|
.eds-contrast .eds-top-navigation-item{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/menu.cjs",
|
|
6
6
|
"module": "dist/menu.mjs",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"react-dom": ">=18.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@entur/a11y": "^0.3.
|
|
36
|
-
"@entur/button": "^5.0.
|
|
37
|
-
"@entur/expand": "^4.0.
|
|
38
|
-
"@entur/icons": "^10.0.
|
|
39
|
-
"@entur/tokens": "^4.0
|
|
40
|
-
"@entur/tooltip": "^6.0.
|
|
41
|
-
"@entur/typography": "^3.0.
|
|
35
|
+
"@entur/a11y": "^0.3.3",
|
|
36
|
+
"@entur/button": "^5.0.4",
|
|
37
|
+
"@entur/expand": "^4.0.4",
|
|
38
|
+
"@entur/icons": "^10.0.3",
|
|
39
|
+
"@entur/tokens": "^4.1.0",
|
|
40
|
+
"@entur/tooltip": "^6.0.4",
|
|
41
|
+
"@entur/typography": "^3.0.4",
|
|
42
42
|
"@entur/utils": "^0.15.0",
|
|
43
43
|
"@floating-ui/react": "^0.26.28",
|
|
44
44
|
"classnames": "^2.5.1"
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"./dist/beta/*": null,
|
|
76
76
|
"./package.json": "./package.json"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "fa179e7f6a360139e5ee0ffcb35718ef197eab06"
|
|
79
79
|
}
|