@entur/menu 7.1.0 → 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 +50 -280
- 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;
|
|
@@ -691,7 +635,6 @@
|
|
|
691
635
|
}
|
|
692
636
|
.eds-overflow-menu__item:active{
|
|
693
637
|
background:var(--components-menu-overflowmenu-fill-active);
|
|
694
|
-
color:var(--components-menu-overflowmenu-text-active);
|
|
695
638
|
}
|
|
696
639
|
.eds-overflow-menu__item--disabled{
|
|
697
640
|
background:var(--components-menu-overflowmenu-fill-default);
|
|
@@ -701,40 +644,18 @@
|
|
|
701
644
|
.eds-overflow-menu__item svg{
|
|
702
645
|
margin-right:0.75rem;
|
|
703
646
|
}.eds-pagination{
|
|
704
|
-
-
|
|
705
|
-
-webkit-align-items:center;
|
|
706
|
-
-moz-box-align:center;
|
|
707
|
-
align-items:center;
|
|
708
|
-
display:-webkit-box;
|
|
709
|
-
display:-webkit-flex;
|
|
710
|
-
display:-moz-box;
|
|
647
|
+
align-items:center;
|
|
711
648
|
display:flex;
|
|
712
|
-
|
|
713
|
-
flex-wrap:wrap;
|
|
649
|
+
flex-wrap:wrap;
|
|
714
650
|
row-gap:0.75rem;
|
|
715
|
-
-
|
|
716
|
-
-webkit-justify-content:space-between;
|
|
717
|
-
-moz-box-pack:justify;
|
|
718
|
-
justify-content:space-between;
|
|
651
|
+
justify-content:space-between;
|
|
719
652
|
}
|
|
720
653
|
.eds-pagination__results{
|
|
721
654
|
margin-right:0.5rem;
|
|
722
|
-
display:-webkit-box;
|
|
723
|
-
display:-webkit-flex;
|
|
724
|
-
display:-moz-box;
|
|
725
655
|
display:flex;
|
|
726
|
-
|
|
727
|
-
-
|
|
728
|
-
|
|
729
|
-
flex:1;
|
|
730
|
-
-webkit-box-align:center;
|
|
731
|
-
-webkit-align-items:center;
|
|
732
|
-
-moz-box-align:center;
|
|
733
|
-
align-items:center;
|
|
734
|
-
-webkit-box-pack:start;
|
|
735
|
-
-webkit-justify-content:flex-start;
|
|
736
|
-
-moz-box-pack:start;
|
|
737
|
-
justify-content:flex-start;
|
|
656
|
+
flex:1;
|
|
657
|
+
align-items:center;
|
|
658
|
+
justify-content:flex-start;
|
|
738
659
|
color:var(--components-menu-pagination-standard-text-subdued);
|
|
739
660
|
}
|
|
740
661
|
.eds-contrast .eds-pagination__results{
|
|
@@ -745,74 +666,41 @@
|
|
|
745
666
|
margin:0 0.5rem;
|
|
746
667
|
}
|
|
747
668
|
.eds-pagination__results .eds-pagination__results__change-number-of-results__content{
|
|
748
|
-
display:-webkit-box;
|
|
749
|
-
display:-webkit-flex;
|
|
750
|
-
display:-moz-box;
|
|
751
669
|
display:flex;
|
|
752
|
-
-
|
|
753
|
-
-webkit-align-items:center;
|
|
754
|
-
-moz-box-align:center;
|
|
755
|
-
align-items:center;
|
|
670
|
+
align-items:center;
|
|
756
671
|
gap:0.5rem;
|
|
757
672
|
}
|
|
758
673
|
.eds-pagination__results .eds-pagination__results__change-number-of-results[aria-expanded=true] .eds-pagination__results__change-number-of-results__content__arrow{
|
|
759
|
-
|
|
760
|
-
-moz-transform:rotate(180deg);
|
|
761
|
-
-o-transform:rotate(180deg);
|
|
762
|
-
transform:rotate(180deg);
|
|
674
|
+
transform:rotate(180deg);
|
|
763
675
|
}
|
|
764
676
|
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type{
|
|
765
677
|
margin:0 auto;
|
|
766
678
|
}
|
|
767
679
|
.eds-pagination__controls{
|
|
768
|
-
-
|
|
769
|
-
-webkit-align-items:center;
|
|
770
|
-
-moz-box-align:center;
|
|
771
|
-
align-items:center;
|
|
772
|
-
display:-webkit-box;
|
|
773
|
-
display:-webkit-flex;
|
|
774
|
-
display:-moz-box;
|
|
680
|
+
align-items:center;
|
|
775
681
|
display:flex;
|
|
776
|
-
-
|
|
777
|
-
-webkit-justify-content:center;
|
|
778
|
-
-moz-box-pack:center;
|
|
779
|
-
justify-content:center;
|
|
682
|
+
justify-content:center;
|
|
780
683
|
}
|
|
781
684
|
.eds-pagination__controls__page{
|
|
782
|
-
-
|
|
783
|
-
-webkit-align-items:center;
|
|
784
|
-
-moz-box-align:center;
|
|
785
|
-
align-items:center;
|
|
685
|
+
align-items:center;
|
|
786
686
|
-webkit-appearance:none;
|
|
787
687
|
-moz-appearance:none;
|
|
788
688
|
appearance:none;
|
|
789
689
|
background-color:var(--components-menu-pagination-standard-default);
|
|
790
690
|
border:0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
791
|
-
|
|
792
|
-
-moz-border-radius:0.25rem;
|
|
793
|
-
border-radius:0.25rem;
|
|
691
|
+
border-radius:0.25rem;
|
|
794
692
|
color:var(--components-menu-pagination-standard-text-unselected);
|
|
795
693
|
cursor:pointer;
|
|
796
|
-
display:-webkit-box;
|
|
797
|
-
display:-webkit-flex;
|
|
798
|
-
display:-moz-box;
|
|
799
694
|
display:flex;
|
|
800
695
|
font-family:inherit;
|
|
801
696
|
font-size:0.875rem;
|
|
802
697
|
height:2rem;
|
|
803
|
-
-
|
|
804
|
-
-webkit-justify-content:center;
|
|
805
|
-
-moz-box-pack:center;
|
|
806
|
-
justify-content:center;
|
|
698
|
+
justify-content:center;
|
|
807
699
|
margin:0 0.125rem;
|
|
808
700
|
padding:0 0.25rem;
|
|
809
|
-
-webkit-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
810
|
-
-o-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
811
|
-
-moz-transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
812
701
|
transition:background 0.1s ease-out, border-color 0.1s ease-out;
|
|
813
702
|
-webkit-user-select:none;
|
|
814
703
|
-moz-user-select:none;
|
|
815
|
-
-ms-user-select:none;
|
|
816
704
|
user-select:none;
|
|
817
705
|
min-width:2rem;
|
|
818
706
|
}
|
|
@@ -855,24 +743,14 @@
|
|
|
855
743
|
}
|
|
856
744
|
.eds-pagination__controls__page__ellipsis{
|
|
857
745
|
color:var(--components-menu-pagination-standard-icon);
|
|
858
|
-
-
|
|
859
|
-
-webkit-align-items:baseline;
|
|
860
|
-
-moz-box-align:baseline;
|
|
861
|
-
align-items:baseline;
|
|
746
|
+
align-items:baseline;
|
|
862
747
|
cursor:default;
|
|
863
|
-
display:-webkit-box;
|
|
864
|
-
display:-webkit-flex;
|
|
865
|
-
display:-moz-box;
|
|
866
748
|
display:flex;
|
|
867
749
|
font-size:1.5rem;
|
|
868
750
|
height:2rem;
|
|
869
|
-
-
|
|
870
|
-
-webkit-justify-content:center;
|
|
871
|
-
-moz-box-pack:center;
|
|
872
|
-
justify-content:center;
|
|
751
|
+
justify-content:center;
|
|
873
752
|
-webkit-user-select:none;
|
|
874
753
|
-moz-user-select:none;
|
|
875
|
-
-ms-user-select:none;
|
|
876
754
|
user-select:none;
|
|
877
755
|
width:2rem;
|
|
878
756
|
margin:0 2px;
|
|
@@ -900,9 +778,7 @@
|
|
|
900
778
|
appearance:none;
|
|
901
779
|
background-color:var(--components-menu-pagination-standard-default);
|
|
902
780
|
border:0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
903
|
-
|
|
904
|
-
-moz-border-radius:0.25rem;
|
|
905
|
-
border-radius:0.25rem;
|
|
781
|
+
border-radius:0.25rem;
|
|
906
782
|
color:var(--components-menu-pagination-standard-text-unselected);
|
|
907
783
|
font-family:inherit;
|
|
908
784
|
font-size:0.875rem;
|
|
@@ -939,12 +815,8 @@
|
|
|
939
815
|
.eds-side-navigation__click-target svg{
|
|
940
816
|
margin-right:1rem;
|
|
941
817
|
color:var(--components-menu-sidenavigation-standard-icon);
|
|
942
|
-
display:-webkit-inline-box;
|
|
943
|
-
display:-webkit-inline-flex;
|
|
944
|
-
display:-moz-inline-box;
|
|
945
818
|
display:inline-flex;
|
|
946
|
-
|
|
947
|
-
align-self:center;
|
|
819
|
+
align-self:center;
|
|
948
820
|
position:relative;
|
|
949
821
|
top:0.075em;
|
|
950
822
|
}
|
|
@@ -968,9 +840,6 @@
|
|
|
968
840
|
margin:0;
|
|
969
841
|
list-style:none;
|
|
970
842
|
position:relative;
|
|
971
|
-
-webkit-transition:max-width ease-in-out 0.2s;
|
|
972
|
-
-o-transition:max-width ease-in-out 0.2s;
|
|
973
|
-
-moz-transition:max-width ease-in-out 0.2s;
|
|
974
843
|
transition:max-width ease-in-out 0.2s;
|
|
975
844
|
}
|
|
976
845
|
.eds-contrast .eds-side-navigation{
|
|
@@ -982,37 +851,22 @@
|
|
|
982
851
|
right:-0.75rem;
|
|
983
852
|
height:1.5rem;
|
|
984
853
|
width:1.5rem;
|
|
985
|
-
|
|
986
|
-
-moz-border-radius:50%;
|
|
987
|
-
border-radius:50%;
|
|
854
|
+
border-radius:50%;
|
|
988
855
|
border:none;
|
|
989
856
|
cursor:pointer;
|
|
990
857
|
background-color:var(--components-menu-sidenavigation-standard-background);
|
|
991
858
|
color:var(--components-menu-sidenavigation-standard-text);
|
|
992
|
-
|
|
993
|
-
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
994
|
-
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);
|
|
995
860
|
padding:0;
|
|
996
|
-
display:-webkit-box;
|
|
997
|
-
display:-webkit-flex;
|
|
998
|
-
display:-moz-box;
|
|
999
861
|
display:flex;
|
|
1000
|
-
-
|
|
1001
|
-
-
|
|
1002
|
-
-moz-box-align:center;
|
|
1003
|
-
align-items:center;
|
|
1004
|
-
-webkit-box-pack:center;
|
|
1005
|
-
-webkit-justify-content:center;
|
|
1006
|
-
-moz-box-pack:center;
|
|
1007
|
-
justify-content:center;
|
|
862
|
+
align-items:center;
|
|
863
|
+
justify-content:center;
|
|
1008
864
|
z-index:10;
|
|
1009
865
|
}
|
|
1010
866
|
.eds-contrast .eds-side-navigation__collapse-button{
|
|
1011
867
|
background-color:var(--components-menu-sidenavigation-contrast-background);
|
|
1012
|
-
color:var(--components-menu-sidenavigation-
|
|
1013
|
-
|
|
1014
|
-
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1015
|
-
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
868
|
+
color:var(--components-menu-sidenavigation-contrast-text);
|
|
869
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1016
870
|
}
|
|
1017
871
|
.eds-side-navigation__collapse-button svg{
|
|
1018
872
|
margin:0;
|
|
@@ -1036,8 +890,6 @@
|
|
|
1036
890
|
}
|
|
1037
891
|
}
|
|
1038
892
|
.eds-side-navigation--small{
|
|
1039
|
-
--padding-vertical:-webkit-calc(0.5rem + 0.1875rem);
|
|
1040
|
-
--padding-vertical:-moz-calc(0.5rem + 0.1875rem);
|
|
1041
893
|
--padding-vertical:calc(0.5rem + 0.1875rem);
|
|
1042
894
|
}
|
|
1043
895
|
.eds-side-navigation .eds-side-navigation{
|
|
@@ -1052,9 +904,7 @@
|
|
|
1052
904
|
|
|
1053
905
|
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target{
|
|
1054
906
|
padding-left:3.5rem;
|
|
1055
|
-
|
|
1056
|
-
-moz-box-shadow:none;
|
|
1057
|
-
box-shadow:none;
|
|
907
|
+
box-shadow:none;
|
|
1058
908
|
}
|
|
1059
909
|
.eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active{
|
|
1060
910
|
background-color:var(--components-menu-sidenavigation-standard-fill-active);
|
|
@@ -1070,9 +920,7 @@
|
|
|
1070
920
|
background:none;
|
|
1071
921
|
border:0;
|
|
1072
922
|
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
|
|
1073
|
-
|
|
1074
|
-
-moz-border-radius:0;
|
|
1075
|
-
border-radius:0;
|
|
923
|
+
border-radius:0;
|
|
1076
924
|
color:var(--components-menu-sidenavigation-standard-text);
|
|
1077
925
|
cursor:pointer;
|
|
1078
926
|
display:block;
|
|
@@ -1082,9 +930,6 @@
|
|
|
1082
930
|
line-height:inherit;
|
|
1083
931
|
padding:var(--padding-vertical) 2.5rem;
|
|
1084
932
|
padding-left:2.5rem;
|
|
1085
|
-
-webkit-transition:padding 0.2s ease-in-out;
|
|
1086
|
-
-o-transition:padding 0.2s ease-in-out;
|
|
1087
|
-
-moz-transition:padding 0.2s ease-in-out;
|
|
1088
933
|
transition:padding 0.2s ease-in-out;
|
|
1089
934
|
text-align:left;
|
|
1090
935
|
-webkit-text-decoration:none;
|
|
@@ -1099,15 +944,11 @@
|
|
|
1099
944
|
padding-left:2rem;
|
|
1100
945
|
}
|
|
1101
946
|
.eds-side-navigation__click-target--active{
|
|
1102
|
-
|
|
1103
|
-
-moz-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-standard-stroke-selected);
|
|
1104
|
-
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);
|
|
1105
948
|
font-weight:600;
|
|
1106
949
|
}
|
|
1107
950
|
.eds-contrast .eds-side-navigation__click-target--active{
|
|
1108
|
-
|
|
1109
|
-
-moz-box-shadow:inset 0.25rem 0 0 var(--components-menu-sidenavigation-contrast-stroke-selected);
|
|
1110
|
-
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);
|
|
1111
952
|
}
|
|
1112
953
|
.eds-side-navigation__click-target[disabled]{
|
|
1113
954
|
cursor:not-allowed;
|
|
@@ -1141,10 +982,7 @@
|
|
|
1141
982
|
}
|
|
1142
983
|
|
|
1143
984
|
.eds-side-navigation-group__trigger{
|
|
1144
|
-
-
|
|
1145
|
-
-webkit-align-items:center;
|
|
1146
|
-
-moz-box-align:center;
|
|
1147
|
-
align-items:center;
|
|
985
|
+
align-items:center;
|
|
1148
986
|
-webkit-appearance:none;
|
|
1149
987
|
-moz-appearance:none;
|
|
1150
988
|
appearance:none;
|
|
@@ -1153,26 +991,17 @@
|
|
|
1153
991
|
border-bottom:0.0625rem solid var(--components-menu-sidenavigation-standard-divide);
|
|
1154
992
|
color:var(--components-menu-sidenavigation-standard-label);
|
|
1155
993
|
cursor:pointer;
|
|
1156
|
-
display:-webkit-box;
|
|
1157
|
-
display:-webkit-flex;
|
|
1158
|
-
display:-moz-box;
|
|
1159
994
|
display:flex;
|
|
1160
995
|
font-size:0.875rem;
|
|
1161
996
|
font-family:inherit;
|
|
1162
997
|
font-weight:500;
|
|
1163
998
|
height:3rem;
|
|
1164
|
-
-
|
|
1165
|
-
-webkit-justify-content:space-between;
|
|
1166
|
-
-moz-box-pack:justify;
|
|
1167
|
-
justify-content:space-between;
|
|
999
|
+
justify-content:space-between;
|
|
1168
1000
|
letter-spacing:1px;
|
|
1169
1001
|
line-height:1.25rem;
|
|
1170
1002
|
padding:0.75rem 0 0.75rem 2.5rem;
|
|
1171
1003
|
margin:0;
|
|
1172
1004
|
text-transform:uppercase;
|
|
1173
|
-
-webkit-transition:padding 0.2s ease-in-out;
|
|
1174
|
-
-o-transition:padding 0.2s ease-in-out;
|
|
1175
|
-
-moz-transition:padding 0.2s ease-in-out;
|
|
1176
1005
|
transition:padding 0.2s ease-in-out;
|
|
1177
1006
|
width:100%;
|
|
1178
1007
|
}
|
|
@@ -1206,40 +1035,17 @@
|
|
|
1206
1035
|
--line-color:var(--components-menu-stepper-standard-background);
|
|
1207
1036
|
--label-font-weight:500;
|
|
1208
1037
|
--display-active-line:none;
|
|
1209
|
-
display:-webkit-box;
|
|
1210
|
-
display:-webkit-flex;
|
|
1211
|
-
display:-moz-box;
|
|
1212
1038
|
display:flex;
|
|
1213
|
-
-
|
|
1214
|
-
-webkit-box-direction:normal;
|
|
1215
|
-
-webkit-flex-direction:row;
|
|
1216
|
-
-moz-box-orient:horizontal;
|
|
1217
|
-
-moz-box-direction:normal;
|
|
1218
|
-
flex-direction:row;
|
|
1039
|
+
flex-direction:row;
|
|
1219
1040
|
width:100%;
|
|
1220
1041
|
list-style-type:none;
|
|
1221
1042
|
}
|
|
1222
1043
|
.eds-stepper__step{
|
|
1223
|
-
display:-webkit-box;
|
|
1224
|
-
display:-webkit-flex;
|
|
1225
|
-
display:-moz-box;
|
|
1226
1044
|
display:flex;
|
|
1227
|
-
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
-webkit-flex-basis:0;
|
|
1232
|
-
flex-basis:0;
|
|
1233
|
-
-webkit-box-orient:vertical;
|
|
1234
|
-
-webkit-box-direction:normal;
|
|
1235
|
-
-webkit-flex-direction:column;
|
|
1236
|
-
-moz-box-orient:vertical;
|
|
1237
|
-
-moz-box-direction:normal;
|
|
1238
|
-
flex-direction:column;
|
|
1239
|
-
-webkit-box-align:inherit;
|
|
1240
|
-
-webkit-align-items:inherit;
|
|
1241
|
-
-moz-box-align:inherit;
|
|
1242
|
-
align-items:inherit;
|
|
1045
|
+
flex-grow:1;
|
|
1046
|
+
flex-basis:0;
|
|
1047
|
+
flex-direction:column;
|
|
1048
|
+
align-items:inherit;
|
|
1243
1049
|
-webkit-appearance:none;
|
|
1244
1050
|
-moz-appearance:none;
|
|
1245
1051
|
appearance:none;
|
|
@@ -1260,23 +1066,12 @@
|
|
|
1260
1066
|
--line-color:var(--components-menu-stepper-contrast-background);
|
|
1261
1067
|
}
|
|
1262
1068
|
.eds-stepper__step__wrapper{
|
|
1263
|
-
-
|
|
1264
|
-
-webkit-flex-grow:1;
|
|
1265
|
-
-moz-box-flex:1;
|
|
1266
|
-
flex-grow:1;
|
|
1069
|
+
flex-grow:1;
|
|
1267
1070
|
}
|
|
1268
1071
|
.eds-stepper__step--interactive{
|
|
1269
1072
|
all:unset;
|
|
1270
|
-
display:-webkit-box;
|
|
1271
|
-
display:-webkit-flex;
|
|
1272
|
-
display:-moz-box;
|
|
1273
1073
|
display:flex;
|
|
1274
|
-
-
|
|
1275
|
-
-webkit-box-direction:normal;
|
|
1276
|
-
-webkit-flex-direction:column;
|
|
1277
|
-
-moz-box-orient:vertical;
|
|
1278
|
-
-moz-box-direction:normal;
|
|
1279
|
-
flex-direction:column;
|
|
1074
|
+
flex-direction:column;
|
|
1280
1075
|
width:100%;
|
|
1281
1076
|
cursor:pointer;
|
|
1282
1077
|
}
|
|
@@ -1297,18 +1092,9 @@
|
|
|
1297
1092
|
--line-color:var(--components-menu-stepper-contrast-progressbar);
|
|
1298
1093
|
}
|
|
1299
1094
|
.eds-stepper__step__label{
|
|
1300
|
-
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
flex-grow:1;
|
|
1304
|
-
-webkit-box-orient:vertical;
|
|
1305
|
-
-webkit-box-direction:normal;
|
|
1306
|
-
-webkit-flex-direction:column;
|
|
1307
|
-
-moz-box-orient:vertical;
|
|
1308
|
-
-moz-box-direction:normal;
|
|
1309
|
-
flex-direction:column;
|
|
1310
|
-
-webkit-align-self:center;
|
|
1311
|
-
align-self:center;
|
|
1095
|
+
flex-grow:1;
|
|
1096
|
+
flex-direction:column;
|
|
1097
|
+
align-self:center;
|
|
1312
1098
|
text-align:center;
|
|
1313
1099
|
font-size:0.875rem;
|
|
1314
1100
|
margin:0.5rem 0 0;
|
|
@@ -1316,9 +1102,7 @@
|
|
|
1316
1102
|
width:-webkit-fit-content;
|
|
1317
1103
|
width:-moz-fit-content;
|
|
1318
1104
|
width:fit-content;
|
|
1319
|
-
|
|
1320
|
-
-moz-border-radius:0.0625rem;
|
|
1321
|
-
border-radius:0.0625rem;
|
|
1105
|
+
border-radius:0.0625rem;
|
|
1322
1106
|
color:var(--text-color);
|
|
1323
1107
|
font-weight:var(--label-font-weight);
|
|
1324
1108
|
}
|
|
@@ -1339,24 +1123,13 @@
|
|
|
1339
1123
|
display:var(--display-active-line);
|
|
1340
1124
|
content:"";
|
|
1341
1125
|
position:absolute;
|
|
1342
|
-
right:-webkit-calc(50% - 0.2rem);
|
|
1343
|
-
right:-moz-calc(50% - 0.2rem);
|
|
1344
1126
|
right:calc(50% - 0.2rem);
|
|
1345
1127
|
bottom:0.0625rem;
|
|
1346
|
-
|
|
1347
|
-
-moz-border-radius:0.0625rem;
|
|
1348
|
-
border-radius:0.0625rem;
|
|
1128
|
+
border-radius:0.0625rem;
|
|
1349
1129
|
background:var(--components-menu-stepper-standard-progressbar);
|
|
1350
|
-
width:-webkit-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1351
|
-
width:-moz-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1352
1130
|
width:calc(0.5rem - 0.125rem - 0.01rem);
|
|
1353
|
-
height:-webkit-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1354
|
-
height:-moz-calc(0.5rem - 0.125rem - 0.01rem);
|
|
1355
1131
|
height:calc(0.5rem - 0.125rem - 0.01rem);
|
|
1356
|
-
|
|
1357
|
-
-moz-transform:rotate(45deg);
|
|
1358
|
-
-o-transform:rotate(45deg);
|
|
1359
|
-
transform:rotate(45deg);
|
|
1132
|
+
transform:rotate(45deg);
|
|
1360
1133
|
}
|
|
1361
1134
|
.eds-contrast .eds-stepper__step__line::before{
|
|
1362
1135
|
background:var(--components-menu-stepper-contrast-progressbar);
|
|
@@ -1400,9 +1173,6 @@
|
|
|
1400
1173
|
margin:0 auto;
|
|
1401
1174
|
opacity:var(--show-active-line);
|
|
1402
1175
|
background:var(--components-menu-navigationbar-standard-stroke-selected);
|
|
1403
|
-
-webkit-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1404
|
-
-o-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1405
|
-
-moz-transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1406
1176
|
transition:width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
1407
1177
|
}
|
|
1408
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
|
}
|