@entur/menu 4.2.12 → 4.2.14-beta.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/styles.css +89 -89
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -313,6 +313,92 @@
|
|
|
313
313
|
}
|
|
314
314
|
/* DO NOT CHANGE!*/
|
|
315
315
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
316
|
+
.eds-overflow-menu__item {
|
|
317
|
+
-webkit-appearance: none;
|
|
318
|
+
-moz-appearance: none;
|
|
319
|
+
appearance: none;
|
|
320
|
+
border: none;
|
|
321
|
+
font-size: 0.875rem;
|
|
322
|
+
font-family: inherit;
|
|
323
|
+
color: var(--primary-text-color);
|
|
324
|
+
background: #f8f8f8;
|
|
325
|
+
display: block;
|
|
326
|
+
height: 3rem;
|
|
327
|
+
cursor: pointer;
|
|
328
|
+
width: 100%;
|
|
329
|
+
line-height: 1.375rem;
|
|
330
|
+
text-align: left;
|
|
331
|
+
padding: 0.75rem 1rem;
|
|
332
|
+
opacity: 1;
|
|
333
|
+
}
|
|
334
|
+
.eds-contrast .eds-overflow-menu__item {
|
|
335
|
+
color: #181c56;
|
|
336
|
+
}
|
|
337
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
338
|
+
background: #e9e9e9;
|
|
339
|
+
color: #949494;
|
|
340
|
+
}
|
|
341
|
+
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
342
|
+
background: #e9e9e9;
|
|
343
|
+
color: #949494;
|
|
344
|
+
}
|
|
345
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
346
|
+
cursor: not-allowed;
|
|
347
|
+
background: #e9e9e9;
|
|
348
|
+
color: #949494;
|
|
349
|
+
}
|
|
350
|
+
.eds-overflow-menu__item .eds-icon {
|
|
351
|
+
margin-right: 0.75rem;
|
|
352
|
+
}
|
|
353
|
+
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
354
|
+
background: #d1d4e3;
|
|
355
|
+
}
|
|
356
|
+
.eds-overflow-menu__item:focus {
|
|
357
|
+
outline: none;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.eds-overflow-menu__item + .eds-overflow-menu__item {
|
|
361
|
+
border-top: 0.0625rem solid #e9e9e9;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
365
|
+
border: 0.0625rem solid #e9e9e9;
|
|
366
|
+
border-radius: 0.25rem;
|
|
367
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
368
|
+
overflow: hidden;
|
|
369
|
+
}
|
|
370
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
371
|
+
outline: none;
|
|
372
|
+
}
|
|
373
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
374
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
378
|
+
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
379
|
+
animation: slide-in 0.2s ease-in-out;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
@keyframes slide-in {
|
|
383
|
+
0% {
|
|
384
|
+
opacity: 0;
|
|
385
|
+
transform: translateY(0.5rem);
|
|
386
|
+
}
|
|
387
|
+
100% {
|
|
388
|
+
opacity: 1;
|
|
389
|
+
transform: translateY(0);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
[data-reach-menu-popover] {
|
|
393
|
+
position: absolute;
|
|
394
|
+
z-index: 30;
|
|
395
|
+
}
|
|
396
|
+
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
397
|
+
position: relative;
|
|
398
|
+
right: calc(100% - 2rem);
|
|
399
|
+
}
|
|
400
|
+
/* DO NOT CHANGE!*/
|
|
401
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
316
402
|
.eds-pagination {
|
|
317
403
|
align-items: center;
|
|
318
404
|
display: flex;
|
|
@@ -471,91 +557,9 @@
|
|
|
471
557
|
appearance: none;
|
|
472
558
|
margin: 0;
|
|
473
559
|
}
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
-webkit-appearance: none;
|
|
478
|
-
-moz-appearance: none;
|
|
479
|
-
appearance: none;
|
|
480
|
-
border: none;
|
|
481
|
-
font-size: 0.875rem;
|
|
482
|
-
font-family: inherit;
|
|
483
|
-
color: var(--primary-text-color);
|
|
484
|
-
background: #f8f8f8;
|
|
485
|
-
display: block;
|
|
486
|
-
height: 3rem;
|
|
487
|
-
cursor: pointer;
|
|
488
|
-
width: 100%;
|
|
489
|
-
line-height: 1.375rem;
|
|
490
|
-
text-align: left;
|
|
491
|
-
padding: 0.75rem 1rem;
|
|
492
|
-
opacity: 1;
|
|
493
|
-
}
|
|
494
|
-
.eds-contrast .eds-overflow-menu__item {
|
|
495
|
-
color: #181c56;
|
|
496
|
-
}
|
|
497
|
-
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
498
|
-
background: #e9e9e9;
|
|
499
|
-
color: #949494;
|
|
500
|
-
}
|
|
501
|
-
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
502
|
-
background: #e9e9e9;
|
|
503
|
-
color: #949494;
|
|
504
|
-
}
|
|
505
|
-
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
506
|
-
cursor: not-allowed;
|
|
507
|
-
background: #e9e9e9;
|
|
508
|
-
color: #949494;
|
|
509
|
-
}
|
|
510
|
-
.eds-overflow-menu__item .eds-icon {
|
|
511
|
-
margin-right: 0.75rem;
|
|
512
|
-
}
|
|
513
|
-
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
514
|
-
background: #d1d4e3;
|
|
515
|
-
}
|
|
516
|
-
.eds-overflow-menu__item:focus {
|
|
517
|
-
outline: none;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
.eds-overflow-menu__item + .eds-overflow-menu__item {
|
|
521
|
-
border-top: 0.0625rem solid #e9e9e9;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
525
|
-
border: 0.0625rem solid #e9e9e9;
|
|
526
|
-
border-radius: 0.25rem;
|
|
527
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
528
|
-
overflow: hidden;
|
|
529
|
-
}
|
|
530
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
531
|
-
outline: none;
|
|
532
|
-
}
|
|
533
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
534
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
538
|
-
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
539
|
-
animation: slide-in 0.2s ease-in-out;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
@keyframes slide-in {
|
|
543
|
-
0% {
|
|
544
|
-
opacity: 0;
|
|
545
|
-
transform: translateY(0.5rem);
|
|
546
|
-
}
|
|
547
|
-
100% {
|
|
548
|
-
opacity: 1;
|
|
549
|
-
transform: translateY(0);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
[data-reach-menu-popover] {
|
|
553
|
-
position: absolute;
|
|
554
|
-
z-index: 30;
|
|
555
|
-
}
|
|
556
|
-
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
557
|
-
position: relative;
|
|
558
|
-
right: calc(100% - 2rem);
|
|
560
|
+
:root {
|
|
561
|
+
--eds-menu: 1;
|
|
562
|
+
--reach-menu-button: 1;
|
|
559
563
|
}
|
|
560
564
|
/* DO NOT CHANGE!*/
|
|
561
565
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -682,7 +686,3 @@
|
|
|
682
686
|
.eds-contrast .eds-stepper__step__line:after {
|
|
683
687
|
background: #aeb7e2;
|
|
684
688
|
}
|
|
685
|
-
:root {
|
|
686
|
-
--eds-menu: 1;
|
|
687
|
-
--reach-menu-button: 1;
|
|
688
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.14-beta.0",
|
|
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.
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/expand": "^3.4.
|
|
30
|
+
"@entur/a11y": "^0.2.75-beta.0",
|
|
31
|
+
"@entur/button": "^3.2.7-beta.0",
|
|
32
|
+
"@entur/expand": "^3.4.22-beta.0",
|
|
33
33
|
"@entur/icons": "^6.13.2",
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
34
|
+
"@entur/layout": "^2.1.54-beta.0",
|
|
35
35
|
"@entur/tokens": "^3.12.0",
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
37
|
-
"@entur/utils": "^0.
|
|
36
|
+
"@entur/typography": "^1.8.21-beta.0",
|
|
37
|
+
"@entur/utils": "^1.0.0-beta.0",
|
|
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": "
|
|
42
|
+
"gitHead": "4e2a54a5b8402cf439cd91487f569e775bf53691"
|
|
43
43
|
}
|