@entur/menu 4.1.42 → 4.1.43

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.
Files changed (2) hide show
  1. package/dist/styles.css +49 -49
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -549,55 +549,6 @@
549
549
  }
550
550
  /* DO NOT CHANGE!*/
551
551
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
552
- .eds-top-navigation-item {
553
- --show-active-line: 0;
554
- display: inline-block;
555
- cursor: pointer;
556
- color: inherit;
557
- text-decoration: none;
558
- position: relative;
559
- padding: 1rem;
560
- min-width: 5rem;
561
- width: -moz-fit-content;
562
- width: fit-content;
563
- text-align: center;
564
- font-family: inherit;
565
- font-size: 1rem;
566
- font-weight: 600;
567
- }
568
- .eds-top-navigation-item::after {
569
- content: "";
570
- display: block;
571
- bottom: 1rem;
572
- height: 0.1875rem;
573
- width: 0;
574
- margin: 0 auto;
575
- opacity: var(--show-active-line);
576
- background: #ff5959;
577
- transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
578
- }
579
- .eds-top-navigation-item:focus {
580
- outline-offset: 0.125rem;
581
- outline: none;
582
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
583
- }
584
- .eds-contrast .eds-top-navigation-item:focus {
585
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
586
- }
587
- .eds-top-navigation-item:hover {
588
- --show-active-line: 1;
589
- }
590
- .eds-top-navigation-item:hover::after {
591
- width: 2rem;
592
- }
593
- .eds-top-navigation-item--active {
594
- --show-active-line: 1;
595
- }
596
- .eds-top-navigation-item--active::after {
597
- width: 2rem;
598
- }
599
- /* DO NOT CHANGE!*/
600
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
601
552
  .eds-overflow-menu__item {
602
553
  -webkit-appearance: none;
603
554
  -moz-appearance: none;
@@ -682,3 +633,52 @@
682
633
  position: relative;
683
634
  right: calc(100% - 2rem);
684
635
  }
636
+ /* DO NOT CHANGE!*/
637
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
638
+ .eds-top-navigation-item {
639
+ --show-active-line: 0;
640
+ display: inline-block;
641
+ cursor: pointer;
642
+ color: inherit;
643
+ text-decoration: none;
644
+ position: relative;
645
+ padding: 1rem;
646
+ min-width: 5rem;
647
+ width: -moz-fit-content;
648
+ width: fit-content;
649
+ text-align: center;
650
+ font-family: inherit;
651
+ font-size: 1rem;
652
+ font-weight: 600;
653
+ }
654
+ .eds-top-navigation-item::after {
655
+ content: "";
656
+ display: block;
657
+ bottom: 1rem;
658
+ height: 0.1875rem;
659
+ width: 0;
660
+ margin: 0 auto;
661
+ opacity: var(--show-active-line);
662
+ background: #ff5959;
663
+ transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
664
+ }
665
+ .eds-top-navigation-item:focus {
666
+ outline-offset: 0.125rem;
667
+ outline: none;
668
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
669
+ }
670
+ .eds-contrast .eds-top-navigation-item:focus {
671
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
672
+ }
673
+ .eds-top-navigation-item:hover {
674
+ --show-active-line: 1;
675
+ }
676
+ .eds-top-navigation-item:hover::after {
677
+ width: 2rem;
678
+ }
679
+ .eds-top-navigation-item--active {
680
+ --show-active-line: 1;
681
+ }
682
+ .eds-top-navigation-item--active::after {
683
+ width: 2rem;
684
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "4.1.42",
3
+ "version": "4.1.43",
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.65",
31
- "@entur/button": "^3.0.8",
32
- "@entur/expand": "^3.4.1",
33
- "@entur/icons": "^6.3.0",
34
- "@entur/layout": "^2.1.33",
35
- "@entur/tokens": "^3.9.0",
36
- "@entur/typography": "^1.8.0",
37
- "@entur/utils": "^0.9.0",
30
+ "@entur/a11y": "^0.2.66",
31
+ "@entur/button": "^3.0.9",
32
+ "@entur/expand": "^3.4.2",
33
+ "@entur/icons": "^6.3.1",
34
+ "@entur/layout": "^2.1.34",
35
+ "@entur/tokens": "^3.10.0",
36
+ "@entur/typography": "^1.8.1",
37
+ "@entur/utils": "^0.9.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": "8f124a94b17be084024892eca96ab800f18ceca2"
42
+ "gitHead": "de2304501aabbda4457d9dbfe30671786b91474e"
43
43
  }