@entur/menu 4.1.33 → 4.1.34

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 +168 -168
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -50,125 +50,6 @@
50
50
  }
51
51
  /* DO NOT CHANGE!*/
52
52
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
53
- .eds-stepper {
54
- display: flex;
55
- flex-direction: row;
56
- }
57
- .eds-stepper__item__container {
58
- cursor: pointer;
59
- font-family: inherit;
60
- text-transform: none;
61
- -webkit-appearance: none;
62
- -moz-appearance: none;
63
- appearance: none;
64
- background: none;
65
- border: none;
66
- margin: 0;
67
- padding: 0;
68
- align-items: inherit;
69
- display: flex;
70
- flex-grow: 1;
71
- flex-basis: 0;
72
- flex-direction: column;
73
- margin-left: 0.25rem;
74
- }
75
- .eds-stepper__item__container--non-interactive {
76
- cursor: default;
77
- }
78
- .eds-stepper__item__container:focus {
79
- outline-offset: 0.125rem;
80
- outline: none;
81
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
82
- }
83
- .eds-contrast .eds-stepper__item__container:focus {
84
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
85
- }
86
- .eds-stepper__item__container:first-child {
87
- margin-left: 0;
88
- }
89
- .eds-stepper__item__label {
90
- cursor: inherit;
91
- flex-grow: 1;
92
- flex-direction: column;
93
- text-align: center;
94
- font-size: 0.875rem;
95
- padding: 0.25rem 1rem;
96
- }
97
- .eds-stepper__item__label--active {
98
- font-weight: 600;
99
- }
100
- .eds-stepper__item__label.eds-stepper__item__label--active {
101
- color: #181c56;
102
- }
103
- .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
104
- color: #ffffff;
105
- }
106
- .eds-stepper__item__label.eds-stepper__item__label--has-been {
107
- color: #181c56;
108
- }
109
- .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
110
- color: #ffffff;
111
- }
112
- .eds-stepper__item__square {
113
- height: 0.5rem;
114
- }
115
- .eds-stepper__item__square--active {
116
- color: inherit;
117
- background: #e9e9e9;
118
- position: relative;
119
- }
120
- .eds-stepper__item__square--active:before {
121
- background: #181c56;
122
- content: "";
123
- position: absolute;
124
- right: calc(50% - 0.2rem);
125
- border-radius: 0.0625rem;
126
- bottom: 0.0625rem;
127
- width: calc(
128
- 0.5rem - 0.125rem - 0.01rem
129
- );
130
- height: calc(
131
- 0.5rem - 0.125rem - 0.01rem
132
- );
133
- transform: rotate(45deg);
134
- }
135
- .eds-contrast .eds-stepper__item__square--active:before {
136
- border-left-color: #aeb7e2;
137
- border-left-color: #aeb7e2;
138
- }
139
- .eds-stepper__item__square--active:after {
140
- content: "";
141
- position: absolute;
142
- left: 0;
143
- bottom: 0;
144
- width: 50%;
145
- height: 0.5rem;
146
- background: #181c56;
147
- }
148
- .eds-contrast .eds-stepper__item__square--active:after {
149
- background: #aeb7e2;
150
- }
151
- .eds-contrast .eds-stepper__item__square--active {
152
- background: #aeb7e2;
153
- background: #393d79;
154
- }
155
- .eds-stepper__item__square--inactive {
156
- color: #656782;
157
- background: #e9e9e9;
158
- }
159
- .eds-contrast .eds-stepper__item__square--inactive {
160
- color: #aeb7e2;
161
- background: #393d79;
162
- }
163
- .eds-stepper__item__square--has-been {
164
- color: inherit;
165
- background: #181c56;
166
- }
167
- .eds-contrast .eds-stepper__item__square--has-been {
168
- background: #aeb7e2;
169
- }
170
- /* DO NOT CHANGE!*/
171
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
172
53
  /* DO NOT CHANGE!*/
173
54
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
174
55
  .eds-side-navigation,
@@ -389,6 +270,55 @@
389
270
  }
390
271
  /* DO NOT CHANGE!*/
391
272
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
273
+ .eds-top-navigation-item {
274
+ --show-active-line: 0;
275
+ display: inline-block;
276
+ cursor: pointer;
277
+ color: inherit;
278
+ text-decoration: none;
279
+ position: relative;
280
+ padding: 1rem;
281
+ min-width: 5rem;
282
+ width: -moz-fit-content;
283
+ width: fit-content;
284
+ text-align: center;
285
+ font-family: inherit;
286
+ font-size: 1rem;
287
+ font-weight: 600;
288
+ }
289
+ .eds-top-navigation-item::after {
290
+ content: "";
291
+ display: block;
292
+ bottom: 1rem;
293
+ height: 0.1875rem;
294
+ width: 0;
295
+ margin: 0 auto;
296
+ opacity: var(--show-active-line);
297
+ background: #ff5959;
298
+ transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
299
+ }
300
+ .eds-top-navigation-item:focus {
301
+ outline-offset: 0.125rem;
302
+ outline: none;
303
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
304
+ }
305
+ .eds-contrast .eds-top-navigation-item:focus {
306
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
307
+ }
308
+ .eds-top-navigation-item:hover {
309
+ --show-active-line: 1;
310
+ }
311
+ .eds-top-navigation-item:hover::after {
312
+ width: 2rem;
313
+ }
314
+ .eds-top-navigation-item--active {
315
+ --show-active-line: 1;
316
+ }
317
+ .eds-top-navigation-item--active::after {
318
+ width: 2rem;
319
+ }
320
+ /* DO NOT CHANGE!*/
321
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
392
322
  .eds-pagination {
393
323
  align-items: center;
394
324
  display: flex;
@@ -549,55 +479,6 @@
549
479
  }
550
480
  /* DO NOT CHANGE!*/
551
481
  /* 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
482
  .eds-overflow-menu__item {
602
483
  -webkit-appearance: none;
603
484
  -moz-appearance: none;
@@ -682,3 +563,122 @@
682
563
  position: relative;
683
564
  right: calc(100% - 2rem);
684
565
  }
566
+ /* DO NOT CHANGE!*/
567
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
568
+ .eds-stepper {
569
+ display: flex;
570
+ flex-direction: row;
571
+ }
572
+ .eds-stepper__item__container {
573
+ cursor: pointer;
574
+ font-family: inherit;
575
+ text-transform: none;
576
+ -webkit-appearance: none;
577
+ -moz-appearance: none;
578
+ appearance: none;
579
+ background: none;
580
+ border: none;
581
+ margin: 0;
582
+ padding: 0;
583
+ align-items: inherit;
584
+ display: flex;
585
+ flex-grow: 1;
586
+ flex-basis: 0;
587
+ flex-direction: column;
588
+ margin-left: 0.25rem;
589
+ }
590
+ .eds-stepper__item__container--non-interactive {
591
+ cursor: default;
592
+ }
593
+ .eds-stepper__item__container:focus {
594
+ outline-offset: 0.125rem;
595
+ outline: none;
596
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
597
+ }
598
+ .eds-contrast .eds-stepper__item__container:focus {
599
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
600
+ }
601
+ .eds-stepper__item__container:first-child {
602
+ margin-left: 0;
603
+ }
604
+ .eds-stepper__item__label {
605
+ cursor: inherit;
606
+ flex-grow: 1;
607
+ flex-direction: column;
608
+ text-align: center;
609
+ font-size: 0.875rem;
610
+ padding: 0.25rem 1rem;
611
+ }
612
+ .eds-stepper__item__label--active {
613
+ font-weight: 600;
614
+ }
615
+ .eds-stepper__item__label.eds-stepper__item__label--active {
616
+ color: #181c56;
617
+ }
618
+ .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
619
+ color: #ffffff;
620
+ }
621
+ .eds-stepper__item__label.eds-stepper__item__label--has-been {
622
+ color: #181c56;
623
+ }
624
+ .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
625
+ color: #ffffff;
626
+ }
627
+ .eds-stepper__item__square {
628
+ height: 0.5rem;
629
+ }
630
+ .eds-stepper__item__square--active {
631
+ color: inherit;
632
+ background: #e9e9e9;
633
+ position: relative;
634
+ }
635
+ .eds-stepper__item__square--active:before {
636
+ background: #181c56;
637
+ content: "";
638
+ position: absolute;
639
+ right: calc(50% - 0.2rem);
640
+ border-radius: 0.0625rem;
641
+ bottom: 0.0625rem;
642
+ width: calc(
643
+ 0.5rem - 0.125rem - 0.01rem
644
+ );
645
+ height: calc(
646
+ 0.5rem - 0.125rem - 0.01rem
647
+ );
648
+ transform: rotate(45deg);
649
+ }
650
+ .eds-contrast .eds-stepper__item__square--active:before {
651
+ border-left-color: #aeb7e2;
652
+ border-left-color: #aeb7e2;
653
+ }
654
+ .eds-stepper__item__square--active:after {
655
+ content: "";
656
+ position: absolute;
657
+ left: 0;
658
+ bottom: 0;
659
+ width: 50%;
660
+ height: 0.5rem;
661
+ background: #181c56;
662
+ }
663
+ .eds-contrast .eds-stepper__item__square--active:after {
664
+ background: #aeb7e2;
665
+ }
666
+ .eds-contrast .eds-stepper__item__square--active {
667
+ background: #aeb7e2;
668
+ background: #393d79;
669
+ }
670
+ .eds-stepper__item__square--inactive {
671
+ color: #656782;
672
+ background: #e9e9e9;
673
+ }
674
+ .eds-contrast .eds-stepper__item__square--inactive {
675
+ color: #aeb7e2;
676
+ background: #393d79;
677
+ }
678
+ .eds-stepper__item__square--has-been {
679
+ color: inherit;
680
+ background: #181c56;
681
+ }
682
+ .eds-contrast .eds-stepper__item__square--has-been {
683
+ background: #aeb7e2;
684
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "4.1.33",
3
+ "version": "4.1.34",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/menu.esm.js",
@@ -29,9 +29,9 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.61",
31
31
  "@entur/button": "^3.0.2",
32
- "@entur/expand": "^3.3.39",
33
- "@entur/icons": "^6.0.1",
34
- "@entur/layout": "^2.1.25",
32
+ "@entur/expand": "^3.3.40",
33
+ "@entur/icons": "^6.1.0",
34
+ "@entur/layout": "^2.1.26",
35
35
  "@entur/tokens": "^3.8.1",
36
36
  "@entur/typography": "^1.7.13",
37
37
  "@entur/utils": "^0.6.0",
@@ -39,5 +39,5 @@
39
39
  "@reach/polymorphic": "0.18.0",
40
40
  "classnames": "^2.3.1"
41
41
  },
42
- "gitHead": "34cd9b50251daa4fed6ec367451c5403162145bc"
42
+ "gitHead": "a3edbb9069b9bd125919df8984b23628a1040cf4"
43
43
  }