@entur/menu 4.1.14 → 4.1.15
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 +237 -237
- 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.15](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.14...@entur/menu@4.1.15) (2022-10-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/menu
|
|
9
|
+
|
|
6
10
|
## [4.1.14](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.13...@entur/menu@4.1.14) (2022-10-20)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/menu
|
package/dist/styles.css
CHANGED
|
@@ -3,6 +3,60 @@
|
|
|
3
3
|
--reach-menu-button: 1;
|
|
4
4
|
}/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
+
.eds-breadcrumb {
|
|
7
|
+
list-style: none;
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.eds-breadcrumb__item {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.eds-breadcrumb__separator {
|
|
17
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.eds-breadcrumb__link {
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
color: inherit;
|
|
23
|
+
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
24
|
+
background-repeat: no-repeat;
|
|
25
|
+
background-size: 100% 0.125rem;
|
|
26
|
+
background-position: 0 100%;
|
|
27
|
+
}
|
|
28
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
29
|
+
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
30
|
+
}
|
|
31
|
+
.eds-breadcrumb__link:hover {
|
|
32
|
+
-webkit-animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
33
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
34
|
+
}
|
|
35
|
+
.eds-breadcrumb__link:focus {
|
|
36
|
+
outline: none;
|
|
37
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
38
|
+
outline-offset: 0.125rem;
|
|
39
|
+
}
|
|
40
|
+
@-webkit-keyframes eds-breadcrumb-underline {
|
|
41
|
+
from {
|
|
42
|
+
background-size: 0% 0.125rem;
|
|
43
|
+
}
|
|
44
|
+
to {
|
|
45
|
+
background-size: 100% 0.125rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@keyframes eds-breadcrumb-underline {
|
|
49
|
+
from {
|
|
50
|
+
background-size: 0% 0.125rem;
|
|
51
|
+
}
|
|
52
|
+
to {
|
|
53
|
+
background-size: 100% 0.125rem;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
.eds-breadcrumb__link--current {
|
|
57
|
+
font-weight: 600;
|
|
58
|
+
}/* DO NOT CHANGE!*/
|
|
59
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
60
|
.eds-top-navigation-item {
|
|
7
61
|
--show-active-line: 0;
|
|
8
62
|
display: inline-block;
|
|
@@ -52,120 +106,6 @@
|
|
|
52
106
|
width: 2rem;
|
|
53
107
|
}/* DO NOT CHANGE!*/
|
|
54
108
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
55
|
-
.eds-stepper {
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: row;
|
|
58
|
-
}
|
|
59
|
-
.eds-stepper__item__container {
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
font-family: inherit;
|
|
62
|
-
text-transform: none;
|
|
63
|
-
-webkit-appearance: none;
|
|
64
|
-
-moz-appearance: none;
|
|
65
|
-
appearance: none;
|
|
66
|
-
background: none;
|
|
67
|
-
border: none;
|
|
68
|
-
margin: 0;
|
|
69
|
-
padding: 0;
|
|
70
|
-
align-items: inherit;
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-grow: 1;
|
|
73
|
-
flex-basis: 0;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
margin-left: 0.25rem;
|
|
76
|
-
}
|
|
77
|
-
.eds-stepper__item__container--non-interactive {
|
|
78
|
-
cursor: default;
|
|
79
|
-
}
|
|
80
|
-
.eds-stepper__item__container:focus {
|
|
81
|
-
outline-offset: 0.125rem;
|
|
82
|
-
outline: none;
|
|
83
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
84
|
-
}
|
|
85
|
-
.eds-contrast .eds-stepper__item__container:focus {
|
|
86
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
87
|
-
}
|
|
88
|
-
.eds-stepper__item__container:first-child {
|
|
89
|
-
margin-left: 0;
|
|
90
|
-
}
|
|
91
|
-
.eds-stepper__item__label {
|
|
92
|
-
cursor: inherit;
|
|
93
|
-
flex-grow: 1;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
text-align: center;
|
|
96
|
-
font-size: 0.875rem;
|
|
97
|
-
padding: 0.25rem 1rem;
|
|
98
|
-
}
|
|
99
|
-
.eds-stepper__item__label--active {
|
|
100
|
-
font-weight: 600;
|
|
101
|
-
}
|
|
102
|
-
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
103
|
-
color: #181c56;
|
|
104
|
-
}
|
|
105
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
106
|
-
color: #ffffff;
|
|
107
|
-
}
|
|
108
|
-
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
109
|
-
color: #181c56;
|
|
110
|
-
}
|
|
111
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
112
|
-
color: #ffffff;
|
|
113
|
-
}
|
|
114
|
-
.eds-stepper__item__square {
|
|
115
|
-
height: 0.5rem;
|
|
116
|
-
}
|
|
117
|
-
.eds-stepper__item__square--active {
|
|
118
|
-
color: inherit;
|
|
119
|
-
background: #e9e9e9;
|
|
120
|
-
position: relative;
|
|
121
|
-
}
|
|
122
|
-
.eds-stepper__item__square--active:before {
|
|
123
|
-
background: #181c56;
|
|
124
|
-
content: "";
|
|
125
|
-
position: absolute;
|
|
126
|
-
right: calc(50% - 0.2rem);
|
|
127
|
-
border-radius: 0.0625rem;
|
|
128
|
-
bottom: 0.0625rem;
|
|
129
|
-
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
130
|
-
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
131
|
-
transform: rotate(45deg);
|
|
132
|
-
}
|
|
133
|
-
.eds-contrast .eds-stepper__item__square--active:before {
|
|
134
|
-
border-left-color: #aeb7e2;
|
|
135
|
-
border-left-color: #aeb7e2;
|
|
136
|
-
}
|
|
137
|
-
.eds-stepper__item__square--active:after {
|
|
138
|
-
content: "";
|
|
139
|
-
position: absolute;
|
|
140
|
-
left: 0;
|
|
141
|
-
bottom: 0;
|
|
142
|
-
width: 50%;
|
|
143
|
-
height: 0.5rem;
|
|
144
|
-
background: #181c56;
|
|
145
|
-
}
|
|
146
|
-
.eds-contrast .eds-stepper__item__square--active:after {
|
|
147
|
-
background: #aeb7e2;
|
|
148
|
-
}
|
|
149
|
-
.eds-contrast .eds-stepper__item__square--active {
|
|
150
|
-
background: #aeb7e2;
|
|
151
|
-
background: #393d79;
|
|
152
|
-
}
|
|
153
|
-
.eds-stepper__item__square--inactive {
|
|
154
|
-
color: #656782;
|
|
155
|
-
background: #e9e9e9;
|
|
156
|
-
}
|
|
157
|
-
.eds-contrast .eds-stepper__item__square--inactive {
|
|
158
|
-
color: #aeb7e2;
|
|
159
|
-
background: #393d79;
|
|
160
|
-
}
|
|
161
|
-
.eds-stepper__item__square--has-been {
|
|
162
|
-
color: inherit;
|
|
163
|
-
background: #181c56;
|
|
164
|
-
}
|
|
165
|
-
.eds-contrast .eds-stepper__item__square--has-been {
|
|
166
|
-
background: #aeb7e2;
|
|
167
|
-
}/* DO NOT CHANGE!*/
|
|
168
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
169
109
|
/* DO NOT CHANGE!*/
|
|
170
110
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
171
111
|
.eds-side-navigation,
|
|
@@ -385,155 +325,118 @@
|
|
|
385
325
|
outline: 2px solid #ffffff;
|
|
386
326
|
}/* DO NOT CHANGE!*/
|
|
387
327
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
388
|
-
.eds-
|
|
389
|
-
|
|
328
|
+
.eds-stepper {
|
|
329
|
+
display: flex;
|
|
330
|
+
flex-direction: row;
|
|
331
|
+
}
|
|
332
|
+
.eds-stepper__item__container {
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
font-family: inherit;
|
|
335
|
+
text-transform: none;
|
|
336
|
+
-webkit-appearance: none;
|
|
337
|
+
-moz-appearance: none;
|
|
338
|
+
appearance: none;
|
|
339
|
+
background: none;
|
|
340
|
+
border: none;
|
|
390
341
|
margin: 0;
|
|
391
342
|
padding: 0;
|
|
343
|
+
align-items: inherit;
|
|
344
|
+
display: flex;
|
|
345
|
+
flex-grow: 1;
|
|
346
|
+
flex-basis: 0;
|
|
347
|
+
flex-direction: column;
|
|
348
|
+
margin-left: 0.25rem;
|
|
392
349
|
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
display: inline-block;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.eds-breadcrumb__separator {
|
|
399
|
-
margin: 0 0.25rem 0 0.25rem;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.eds-breadcrumb__link {
|
|
403
|
-
text-decoration: none;
|
|
404
|
-
color: inherit;
|
|
405
|
-
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
406
|
-
background-repeat: no-repeat;
|
|
407
|
-
background-size: 100% 0.125rem;
|
|
408
|
-
background-position: 0 100%;
|
|
409
|
-
}
|
|
410
|
-
.eds-contrast .eds-breadcrumb__link {
|
|
411
|
-
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
412
|
-
}
|
|
413
|
-
.eds-breadcrumb__link:hover {
|
|
414
|
-
-webkit-animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
415
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
350
|
+
.eds-stepper__item__container--non-interactive {
|
|
351
|
+
cursor: default;
|
|
416
352
|
}
|
|
417
|
-
.eds-
|
|
353
|
+
.eds-stepper__item__container:focus {
|
|
354
|
+
outline-offset: 0.125rem;
|
|
418
355
|
outline: none;
|
|
419
356
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
420
|
-
outline-offset: 0.125rem;
|
|
421
357
|
}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
background-size: 0% 0.125rem;
|
|
425
|
-
}
|
|
426
|
-
to {
|
|
427
|
-
background-size: 100% 0.125rem;
|
|
428
|
-
}
|
|
358
|
+
.eds-contrast .eds-stepper__item__container:focus {
|
|
359
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
429
360
|
}
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
background-size: 0% 0.125rem;
|
|
433
|
-
}
|
|
434
|
-
to {
|
|
435
|
-
background-size: 100% 0.125rem;
|
|
436
|
-
}
|
|
361
|
+
.eds-stepper__item__container:first-child {
|
|
362
|
+
margin-left: 0;
|
|
437
363
|
}
|
|
438
|
-
.eds-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
-webkit-appearance: none;
|
|
444
|
-
-moz-appearance: none;
|
|
445
|
-
appearance: none;
|
|
446
|
-
border: none;
|
|
364
|
+
.eds-stepper__item__label {
|
|
365
|
+
cursor: inherit;
|
|
366
|
+
flex-grow: 1;
|
|
367
|
+
flex-direction: column;
|
|
368
|
+
text-align: center;
|
|
447
369
|
font-size: 0.875rem;
|
|
448
|
-
|
|
449
|
-
color: var(--primary-text-color);
|
|
450
|
-
background: #f8f8f8;
|
|
451
|
-
display: block;
|
|
452
|
-
height: 3rem;
|
|
453
|
-
cursor: pointer;
|
|
454
|
-
width: 100%;
|
|
455
|
-
line-height: 1.375rem;
|
|
456
|
-
text-align: left;
|
|
457
|
-
padding: 0.75rem 1rem;
|
|
458
|
-
opacity: 1;
|
|
370
|
+
padding: 0.25rem 1rem;
|
|
459
371
|
}
|
|
460
|
-
.eds-
|
|
461
|
-
|
|
372
|
+
.eds-stepper__item__label--active {
|
|
373
|
+
font-weight: 600;
|
|
462
374
|
}
|
|
463
|
-
.eds-
|
|
464
|
-
|
|
465
|
-
color: #949494;
|
|
375
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
376
|
+
color: #181c56;
|
|
466
377
|
}
|
|
467
|
-
.eds-contrast .eds-
|
|
468
|
-
|
|
469
|
-
color: #949494;
|
|
378
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
379
|
+
color: #ffffff;
|
|
470
380
|
}
|
|
471
|
-
.eds-
|
|
472
|
-
|
|
473
|
-
background: #e9e9e9;
|
|
474
|
-
color: #949494;
|
|
381
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
382
|
+
color: #181c56;
|
|
475
383
|
}
|
|
476
|
-
.eds-
|
|
477
|
-
|
|
384
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
385
|
+
color: #ffffff;
|
|
478
386
|
}
|
|
479
|
-
.eds-
|
|
480
|
-
|
|
387
|
+
.eds-stepper__item__square {
|
|
388
|
+
height: 0.5rem;
|
|
481
389
|
}
|
|
482
|
-
.eds-
|
|
483
|
-
|
|
390
|
+
.eds-stepper__item__square--active {
|
|
391
|
+
color: inherit;
|
|
392
|
+
background: #e9e9e9;
|
|
393
|
+
position: relative;
|
|
484
394
|
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
395
|
+
.eds-stepper__item__square--active:before {
|
|
396
|
+
background: #181c56;
|
|
397
|
+
content: "";
|
|
398
|
+
position: absolute;
|
|
399
|
+
right: calc(50% - 0.2rem);
|
|
400
|
+
border-radius: 0.0625rem;
|
|
401
|
+
bottom: 0.0625rem;
|
|
402
|
+
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
403
|
+
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
404
|
+
transform: rotate(45deg);
|
|
488
405
|
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
border:
|
|
492
|
-
border-radius: 0.25rem;
|
|
493
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
494
|
-
overflow: hidden;
|
|
406
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
407
|
+
border-left-color: #aeb7e2;
|
|
408
|
+
border-left-color: #aeb7e2;
|
|
495
409
|
}
|
|
496
|
-
.eds-
|
|
497
|
-
|
|
410
|
+
.eds-stepper__item__square--active:after {
|
|
411
|
+
content: "";
|
|
412
|
+
position: absolute;
|
|
413
|
+
left: 0;
|
|
414
|
+
bottom: 0;
|
|
415
|
+
width: 50%;
|
|
416
|
+
height: 0.5rem;
|
|
417
|
+
background: #181c56;
|
|
498
418
|
}
|
|
499
|
-
.eds-
|
|
500
|
-
|
|
419
|
+
.eds-contrast .eds-stepper__item__square--active:after {
|
|
420
|
+
background: #aeb7e2;
|
|
501
421
|
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
-webkit-animation: slide-in 0.2s ease-in-out;
|
|
506
|
-
animation: slide-in 0.2s ease-in-out;
|
|
422
|
+
.eds-contrast .eds-stepper__item__square--active {
|
|
423
|
+
background: #aeb7e2;
|
|
424
|
+
background: #393d79;
|
|
507
425
|
}
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
opacity: 0;
|
|
512
|
-
transform: translateY(0.5rem);
|
|
513
|
-
}
|
|
514
|
-
100% {
|
|
515
|
-
opacity: 1;
|
|
516
|
-
transform: translateY(0);
|
|
517
|
-
}
|
|
426
|
+
.eds-stepper__item__square--inactive {
|
|
427
|
+
color: #656782;
|
|
428
|
+
background: #e9e9e9;
|
|
518
429
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
opacity: 0;
|
|
523
|
-
transform: translateY(0.5rem);
|
|
524
|
-
}
|
|
525
|
-
100% {
|
|
526
|
-
opacity: 1;
|
|
527
|
-
transform: translateY(0);
|
|
528
|
-
}
|
|
430
|
+
.eds-contrast .eds-stepper__item__square--inactive {
|
|
431
|
+
color: #aeb7e2;
|
|
432
|
+
background: #393d79;
|
|
529
433
|
}
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
434
|
+
.eds-stepper__item__square--has-been {
|
|
435
|
+
color: inherit;
|
|
436
|
+
background: #181c56;
|
|
533
437
|
}
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
right: calc(100% - 2rem);
|
|
438
|
+
.eds-contrast .eds-stepper__item__square--has-been {
|
|
439
|
+
background: #aeb7e2;
|
|
537
440
|
}/* DO NOT CHANGE!*/
|
|
538
441
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
539
442
|
.eds-pagination {
|
|
@@ -695,4 +598,101 @@
|
|
|
695
598
|
-webkit-appearance: none;
|
|
696
599
|
appearance: none;
|
|
697
600
|
margin: 0;
|
|
601
|
+
}/* DO NOT CHANGE!*/
|
|
602
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
603
|
+
.eds-overflow-menu__item {
|
|
604
|
+
-webkit-appearance: none;
|
|
605
|
+
-moz-appearance: none;
|
|
606
|
+
appearance: none;
|
|
607
|
+
border: none;
|
|
608
|
+
font-size: 0.875rem;
|
|
609
|
+
font-family: inherit;
|
|
610
|
+
color: var(--primary-text-color);
|
|
611
|
+
background: #f8f8f8;
|
|
612
|
+
display: block;
|
|
613
|
+
height: 3rem;
|
|
614
|
+
cursor: pointer;
|
|
615
|
+
width: 100%;
|
|
616
|
+
line-height: 1.375rem;
|
|
617
|
+
text-align: left;
|
|
618
|
+
padding: 0.75rem 1rem;
|
|
619
|
+
opacity: 1;
|
|
620
|
+
}
|
|
621
|
+
.eds-contrast .eds-overflow-menu__item {
|
|
622
|
+
color: #181c56;
|
|
623
|
+
}
|
|
624
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
625
|
+
background: #e9e9e9;
|
|
626
|
+
color: #949494;
|
|
627
|
+
}
|
|
628
|
+
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
629
|
+
background: #e9e9e9;
|
|
630
|
+
color: #949494;
|
|
631
|
+
}
|
|
632
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
633
|
+
cursor: not-allowed;
|
|
634
|
+
background: #e9e9e9;
|
|
635
|
+
color: #949494;
|
|
636
|
+
}
|
|
637
|
+
.eds-overflow-menu__item .eds-icon {
|
|
638
|
+
margin-right: 0.75rem;
|
|
639
|
+
}
|
|
640
|
+
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
641
|
+
background: #d1d4e3;
|
|
642
|
+
}
|
|
643
|
+
.eds-overflow-menu__item:focus {
|
|
644
|
+
outline: none;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.eds-overflow-menu__item + .eds-overflow-menu__item {
|
|
648
|
+
border-top: 0.0625rem solid #e9e9e9;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
652
|
+
border: 0.0625rem solid #e9e9e9;
|
|
653
|
+
border-radius: 0.25rem;
|
|
654
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
655
|
+
overflow: hidden;
|
|
656
|
+
}
|
|
657
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
658
|
+
outline: none;
|
|
659
|
+
}
|
|
660
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
661
|
+
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
665
|
+
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
666
|
+
-webkit-animation: slide-in 0.2s ease-in-out;
|
|
667
|
+
animation: slide-in 0.2s ease-in-out;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
@-webkit-keyframes slide-in {
|
|
671
|
+
0% {
|
|
672
|
+
opacity: 0;
|
|
673
|
+
transform: translateY(0.5rem);
|
|
674
|
+
}
|
|
675
|
+
100% {
|
|
676
|
+
opacity: 1;
|
|
677
|
+
transform: translateY(0);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
@keyframes slide-in {
|
|
682
|
+
0% {
|
|
683
|
+
opacity: 0;
|
|
684
|
+
transform: translateY(0.5rem);
|
|
685
|
+
}
|
|
686
|
+
100% {
|
|
687
|
+
opacity: 1;
|
|
688
|
+
transform: translateY(0);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
[data-reach-menu-popover] {
|
|
692
|
+
position: absolute;
|
|
693
|
+
z-index: 30;
|
|
694
|
+
}
|
|
695
|
+
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
696
|
+
position: relative;
|
|
697
|
+
right: calc(100% - 2rem);
|
|
698
698
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.15",
|
|
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": "^5.1.
|
|
28
|
+
"@entur/expand": "^3.3.23",
|
|
29
|
+
"@entur/icons": "^5.1.1",
|
|
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": "77a4311927a9215106a9aae13c6e92e5f0f7f614"
|
|
42
42
|
}
|