@entur/menu 4.1.12 → 4.1.13
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/CHANGELOG.md +4 -0
- package/dist/styles.css +163 -163
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.1.13](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.12...@entur/menu@4.1.13) (2022-10-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/menu
|
|
9
|
+
|
|
6
10
|
## [4.1.12](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.11...@entur/menu@4.1.12) (2022-10-05)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/dist/styles.css
CHANGED
|
@@ -57,169 +57,6 @@
|
|
|
57
57
|
font-weight: 600;
|
|
58
58
|
}/* DO NOT CHANGE!*/
|
|
59
59
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
60
|
-
.eds-top-navigation-item {
|
|
61
|
-
--show-active-line: 0;
|
|
62
|
-
display: inline-block;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
color: inherit;
|
|
65
|
-
text-decoration: none;
|
|
66
|
-
position: relative;
|
|
67
|
-
padding: 1rem;
|
|
68
|
-
min-width: 5rem;
|
|
69
|
-
width: -webkit-fit-content;
|
|
70
|
-
width: -moz-fit-content;
|
|
71
|
-
width: fit-content;
|
|
72
|
-
text-align: center;
|
|
73
|
-
font-family: inherit;
|
|
74
|
-
font-size: 1rem;
|
|
75
|
-
font-weight: 600;
|
|
76
|
-
}
|
|
77
|
-
.eds-top-navigation-item::after {
|
|
78
|
-
content: "";
|
|
79
|
-
display: block;
|
|
80
|
-
bottom: 1rem;
|
|
81
|
-
height: 0.1875rem;
|
|
82
|
-
width: 0;
|
|
83
|
-
margin: 0 auto;
|
|
84
|
-
opacity: var(--show-active-line);
|
|
85
|
-
background: #ff5959;
|
|
86
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
87
|
-
}
|
|
88
|
-
.eds-top-navigation-item:focus {
|
|
89
|
-
outline-offset: 0.125rem;
|
|
90
|
-
outline: none;
|
|
91
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
92
|
-
}
|
|
93
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
94
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
95
|
-
}
|
|
96
|
-
.eds-top-navigation-item:hover {
|
|
97
|
-
--show-active-line: 1;
|
|
98
|
-
}
|
|
99
|
-
.eds-top-navigation-item:hover::after {
|
|
100
|
-
width: 2rem;
|
|
101
|
-
}
|
|
102
|
-
.eds-top-navigation-item--active {
|
|
103
|
-
--show-active-line: 1;
|
|
104
|
-
}
|
|
105
|
-
.eds-top-navigation-item--active::after {
|
|
106
|
-
width: 2rem;
|
|
107
|
-
}/* DO NOT CHANGE!*/
|
|
108
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
109
|
-
.eds-stepper {
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: row;
|
|
112
|
-
}
|
|
113
|
-
.eds-stepper__item__container {
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
font-family: inherit;
|
|
116
|
-
text-transform: none;
|
|
117
|
-
-webkit-appearance: none;
|
|
118
|
-
-moz-appearance: none;
|
|
119
|
-
appearance: none;
|
|
120
|
-
background: none;
|
|
121
|
-
border: none;
|
|
122
|
-
margin: 0;
|
|
123
|
-
padding: 0;
|
|
124
|
-
align-items: inherit;
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-grow: 1;
|
|
127
|
-
flex-basis: 0;
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
margin-left: 0.25rem;
|
|
130
|
-
}
|
|
131
|
-
.eds-stepper__item__container--non-interactive {
|
|
132
|
-
cursor: default;
|
|
133
|
-
}
|
|
134
|
-
.eds-stepper__item__container:focus {
|
|
135
|
-
outline-offset: 0.125rem;
|
|
136
|
-
outline: none;
|
|
137
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
138
|
-
}
|
|
139
|
-
.eds-contrast .eds-stepper__item__container:focus {
|
|
140
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
141
|
-
}
|
|
142
|
-
.eds-stepper__item__container:first-child {
|
|
143
|
-
margin-left: 0;
|
|
144
|
-
}
|
|
145
|
-
.eds-stepper__item__label {
|
|
146
|
-
cursor: inherit;
|
|
147
|
-
flex-grow: 1;
|
|
148
|
-
flex-direction: column;
|
|
149
|
-
text-align: center;
|
|
150
|
-
font-size: 0.875rem;
|
|
151
|
-
padding: 0.25rem 1rem;
|
|
152
|
-
}
|
|
153
|
-
.eds-stepper__item__label--active {
|
|
154
|
-
font-weight: 600;
|
|
155
|
-
}
|
|
156
|
-
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
157
|
-
color: #181c56;
|
|
158
|
-
}
|
|
159
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
160
|
-
color: #ffffff;
|
|
161
|
-
}
|
|
162
|
-
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
163
|
-
color: #181c56;
|
|
164
|
-
}
|
|
165
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
166
|
-
color: #ffffff;
|
|
167
|
-
}
|
|
168
|
-
.eds-stepper__item__square {
|
|
169
|
-
height: 0.5rem;
|
|
170
|
-
}
|
|
171
|
-
.eds-stepper__item__square--active {
|
|
172
|
-
color: inherit;
|
|
173
|
-
background: #e9e9e9;
|
|
174
|
-
position: relative;
|
|
175
|
-
}
|
|
176
|
-
.eds-stepper__item__square--active:before {
|
|
177
|
-
background: #181c56;
|
|
178
|
-
content: "";
|
|
179
|
-
position: absolute;
|
|
180
|
-
right: calc(50% - 0.2rem);
|
|
181
|
-
border-radius: 0.0625rem;
|
|
182
|
-
bottom: 0.0625rem;
|
|
183
|
-
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
184
|
-
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
185
|
-
transform: rotate(45deg);
|
|
186
|
-
}
|
|
187
|
-
.eds-contrast .eds-stepper__item__square--active:before {
|
|
188
|
-
border-left-color: #aeb7e2;
|
|
189
|
-
border-left-color: #aeb7e2;
|
|
190
|
-
}
|
|
191
|
-
.eds-stepper__item__square--active:after {
|
|
192
|
-
content: "";
|
|
193
|
-
position: absolute;
|
|
194
|
-
left: 0;
|
|
195
|
-
bottom: 0;
|
|
196
|
-
width: 50%;
|
|
197
|
-
height: 0.5rem;
|
|
198
|
-
background: #181c56;
|
|
199
|
-
}
|
|
200
|
-
.eds-contrast .eds-stepper__item__square--active:after {
|
|
201
|
-
background: #aeb7e2;
|
|
202
|
-
}
|
|
203
|
-
.eds-contrast .eds-stepper__item__square--active {
|
|
204
|
-
background: #aeb7e2;
|
|
205
|
-
background: #393d79;
|
|
206
|
-
}
|
|
207
|
-
.eds-stepper__item__square--inactive {
|
|
208
|
-
color: #656782;
|
|
209
|
-
background: #e9e9e9;
|
|
210
|
-
}
|
|
211
|
-
.eds-contrast .eds-stepper__item__square--inactive {
|
|
212
|
-
color: #aeb7e2;
|
|
213
|
-
background: #393d79;
|
|
214
|
-
}
|
|
215
|
-
.eds-stepper__item__square--has-been {
|
|
216
|
-
color: inherit;
|
|
217
|
-
background: #181c56;
|
|
218
|
-
}
|
|
219
|
-
.eds-contrast .eds-stepper__item__square--has-been {
|
|
220
|
-
background: #aeb7e2;
|
|
221
|
-
}/* DO NOT CHANGE!*/
|
|
222
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
223
60
|
/* DO NOT CHANGE!*/
|
|
224
61
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
225
62
|
.eds-side-navigation,
|
|
@@ -439,6 +276,55 @@
|
|
|
439
276
|
outline: 2px solid #ffffff;
|
|
440
277
|
}/* DO NOT CHANGE!*/
|
|
441
278
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
279
|
+
.eds-top-navigation-item {
|
|
280
|
+
--show-active-line: 0;
|
|
281
|
+
display: inline-block;
|
|
282
|
+
cursor: pointer;
|
|
283
|
+
color: inherit;
|
|
284
|
+
text-decoration: none;
|
|
285
|
+
position: relative;
|
|
286
|
+
padding: 1rem;
|
|
287
|
+
min-width: 5rem;
|
|
288
|
+
width: -webkit-fit-content;
|
|
289
|
+
width: -moz-fit-content;
|
|
290
|
+
width: fit-content;
|
|
291
|
+
text-align: center;
|
|
292
|
+
font-family: inherit;
|
|
293
|
+
font-size: 1rem;
|
|
294
|
+
font-weight: 600;
|
|
295
|
+
}
|
|
296
|
+
.eds-top-navigation-item::after {
|
|
297
|
+
content: "";
|
|
298
|
+
display: block;
|
|
299
|
+
bottom: 1rem;
|
|
300
|
+
height: 0.1875rem;
|
|
301
|
+
width: 0;
|
|
302
|
+
margin: 0 auto;
|
|
303
|
+
opacity: var(--show-active-line);
|
|
304
|
+
background: #ff5959;
|
|
305
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
306
|
+
}
|
|
307
|
+
.eds-top-navigation-item:focus {
|
|
308
|
+
outline-offset: 0.125rem;
|
|
309
|
+
outline: none;
|
|
310
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
311
|
+
}
|
|
312
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
313
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
314
|
+
}
|
|
315
|
+
.eds-top-navigation-item:hover {
|
|
316
|
+
--show-active-line: 1;
|
|
317
|
+
}
|
|
318
|
+
.eds-top-navigation-item:hover::after {
|
|
319
|
+
width: 2rem;
|
|
320
|
+
}
|
|
321
|
+
.eds-top-navigation-item--active {
|
|
322
|
+
--show-active-line: 1;
|
|
323
|
+
}
|
|
324
|
+
.eds-top-navigation-item--active::after {
|
|
325
|
+
width: 2rem;
|
|
326
|
+
}/* DO NOT CHANGE!*/
|
|
327
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
442
328
|
.eds-overflow-menu__item {
|
|
443
329
|
-webkit-appearance: none;
|
|
444
330
|
-moz-appearance: none;
|
|
@@ -536,6 +422,120 @@
|
|
|
536
422
|
right: calc(100% - 2rem);
|
|
537
423
|
}/* DO NOT CHANGE!*/
|
|
538
424
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
425
|
+
.eds-stepper {
|
|
426
|
+
display: flex;
|
|
427
|
+
flex-direction: row;
|
|
428
|
+
}
|
|
429
|
+
.eds-stepper__item__container {
|
|
430
|
+
cursor: pointer;
|
|
431
|
+
font-family: inherit;
|
|
432
|
+
text-transform: none;
|
|
433
|
+
-webkit-appearance: none;
|
|
434
|
+
-moz-appearance: none;
|
|
435
|
+
appearance: none;
|
|
436
|
+
background: none;
|
|
437
|
+
border: none;
|
|
438
|
+
margin: 0;
|
|
439
|
+
padding: 0;
|
|
440
|
+
align-items: inherit;
|
|
441
|
+
display: flex;
|
|
442
|
+
flex-grow: 1;
|
|
443
|
+
flex-basis: 0;
|
|
444
|
+
flex-direction: column;
|
|
445
|
+
margin-left: 0.25rem;
|
|
446
|
+
}
|
|
447
|
+
.eds-stepper__item__container--non-interactive {
|
|
448
|
+
cursor: default;
|
|
449
|
+
}
|
|
450
|
+
.eds-stepper__item__container:focus {
|
|
451
|
+
outline-offset: 0.125rem;
|
|
452
|
+
outline: none;
|
|
453
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
454
|
+
}
|
|
455
|
+
.eds-contrast .eds-stepper__item__container:focus {
|
|
456
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
457
|
+
}
|
|
458
|
+
.eds-stepper__item__container:first-child {
|
|
459
|
+
margin-left: 0;
|
|
460
|
+
}
|
|
461
|
+
.eds-stepper__item__label {
|
|
462
|
+
cursor: inherit;
|
|
463
|
+
flex-grow: 1;
|
|
464
|
+
flex-direction: column;
|
|
465
|
+
text-align: center;
|
|
466
|
+
font-size: 0.875rem;
|
|
467
|
+
padding: 0.25rem 1rem;
|
|
468
|
+
}
|
|
469
|
+
.eds-stepper__item__label--active {
|
|
470
|
+
font-weight: 600;
|
|
471
|
+
}
|
|
472
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
473
|
+
color: #181c56;
|
|
474
|
+
}
|
|
475
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
476
|
+
color: #ffffff;
|
|
477
|
+
}
|
|
478
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
479
|
+
color: #181c56;
|
|
480
|
+
}
|
|
481
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
482
|
+
color: #ffffff;
|
|
483
|
+
}
|
|
484
|
+
.eds-stepper__item__square {
|
|
485
|
+
height: 0.5rem;
|
|
486
|
+
}
|
|
487
|
+
.eds-stepper__item__square--active {
|
|
488
|
+
color: inherit;
|
|
489
|
+
background: #e9e9e9;
|
|
490
|
+
position: relative;
|
|
491
|
+
}
|
|
492
|
+
.eds-stepper__item__square--active:before {
|
|
493
|
+
background: #181c56;
|
|
494
|
+
content: "";
|
|
495
|
+
position: absolute;
|
|
496
|
+
right: calc(50% - 0.2rem);
|
|
497
|
+
border-radius: 0.0625rem;
|
|
498
|
+
bottom: 0.0625rem;
|
|
499
|
+
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
500
|
+
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
501
|
+
transform: rotate(45deg);
|
|
502
|
+
}
|
|
503
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
504
|
+
border-left-color: #aeb7e2;
|
|
505
|
+
border-left-color: #aeb7e2;
|
|
506
|
+
}
|
|
507
|
+
.eds-stepper__item__square--active:after {
|
|
508
|
+
content: "";
|
|
509
|
+
position: absolute;
|
|
510
|
+
left: 0;
|
|
511
|
+
bottom: 0;
|
|
512
|
+
width: 50%;
|
|
513
|
+
height: 0.5rem;
|
|
514
|
+
background: #181c56;
|
|
515
|
+
}
|
|
516
|
+
.eds-contrast .eds-stepper__item__square--active:after {
|
|
517
|
+
background: #aeb7e2;
|
|
518
|
+
}
|
|
519
|
+
.eds-contrast .eds-stepper__item__square--active {
|
|
520
|
+
background: #aeb7e2;
|
|
521
|
+
background: #393d79;
|
|
522
|
+
}
|
|
523
|
+
.eds-stepper__item__square--inactive {
|
|
524
|
+
color: #656782;
|
|
525
|
+
background: #e9e9e9;
|
|
526
|
+
}
|
|
527
|
+
.eds-contrast .eds-stepper__item__square--inactive {
|
|
528
|
+
color: #aeb7e2;
|
|
529
|
+
background: #393d79;
|
|
530
|
+
}
|
|
531
|
+
.eds-stepper__item__square--has-been {
|
|
532
|
+
color: inherit;
|
|
533
|
+
background: #181c56;
|
|
534
|
+
}
|
|
535
|
+
.eds-contrast .eds-stepper__item__square--has-been {
|
|
536
|
+
background: #aeb7e2;
|
|
537
|
+
}/* DO NOT CHANGE!*/
|
|
538
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
539
539
|
.eds-pagination {
|
|
540
540
|
align-items: center;
|
|
541
541
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.13",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@entur/a11y": "^0.2.49",
|
|
27
27
|
"@entur/button": "^2.10.4",
|
|
28
|
-
"@entur/expand": "^3.3.
|
|
29
|
-
"@entur/icons": "^
|
|
28
|
+
"@entur/expand": "^3.3.21",
|
|
29
|
+
"@entur/icons": "^5.0.0",
|
|
30
30
|
"@entur/layout": "^2.1.11",
|
|
31
31
|
"@entur/tokens": "^3.4.1",
|
|
32
32
|
"@entur/typography": "^1.7.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"react": ">=16.8.0",
|
|
39
39
|
"react-dom": ">=16.8.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "e6da59550f3ace8e356155d60ce72d480aa17d51"
|
|
42
42
|
}
|