@entur/menu 4.1.13 → 4.1.14-RC.1
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 +16 -0
- package/dist/styles.css +97 -97
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.14-RC.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.14-RC.0...@entur/menu@4.1.14-RC.1) (2022-11-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/menu
|
|
9
|
+
|
|
10
|
+
## [4.1.14-RC.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.14-alpha.1...@entur/menu@4.1.14-RC.0) (2022-11-21)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/menu
|
|
13
|
+
|
|
14
|
+
## [4.1.14-alpha.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.14-alpha.0...@entur/menu@4.1.14-alpha.1) (2022-10-26)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/menu
|
|
17
|
+
|
|
18
|
+
## [4.1.14-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.13...@entur/menu@4.1.14-alpha.0) (2022-10-20)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @entur/menu
|
|
21
|
+
|
|
6
22
|
## [4.1.13](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.12...@entur/menu@4.1.13) (2022-10-12)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @entur/menu
|
package/dist/styles.css
CHANGED
|
@@ -325,103 +325,6 @@
|
|
|
325
325
|
width: 2rem;
|
|
326
326
|
}/* DO NOT CHANGE!*/
|
|
327
327
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
328
|
-
.eds-overflow-menu__item {
|
|
329
|
-
-webkit-appearance: none;
|
|
330
|
-
-moz-appearance: none;
|
|
331
|
-
appearance: none;
|
|
332
|
-
border: none;
|
|
333
|
-
font-size: 0.875rem;
|
|
334
|
-
font-family: inherit;
|
|
335
|
-
color: var(--primary-text-color);
|
|
336
|
-
background: #f8f8f8;
|
|
337
|
-
display: block;
|
|
338
|
-
height: 3rem;
|
|
339
|
-
cursor: pointer;
|
|
340
|
-
width: 100%;
|
|
341
|
-
line-height: 1.375rem;
|
|
342
|
-
text-align: left;
|
|
343
|
-
padding: 0.75rem 1rem;
|
|
344
|
-
opacity: 1;
|
|
345
|
-
}
|
|
346
|
-
.eds-contrast .eds-overflow-menu__item {
|
|
347
|
-
color: #181c56;
|
|
348
|
-
}
|
|
349
|
-
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
350
|
-
background: #e9e9e9;
|
|
351
|
-
color: #949494;
|
|
352
|
-
}
|
|
353
|
-
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
354
|
-
background: #e9e9e9;
|
|
355
|
-
color: #949494;
|
|
356
|
-
}
|
|
357
|
-
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
358
|
-
cursor: not-allowed;
|
|
359
|
-
background: #e9e9e9;
|
|
360
|
-
color: #949494;
|
|
361
|
-
}
|
|
362
|
-
.eds-overflow-menu__item .eds-icon {
|
|
363
|
-
margin-right: 0.75rem;
|
|
364
|
-
}
|
|
365
|
-
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
366
|
-
background: #d1d4e3;
|
|
367
|
-
}
|
|
368
|
-
.eds-overflow-menu__item:focus {
|
|
369
|
-
outline: none;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.eds-overflow-menu__item + .eds-overflow-menu__item {
|
|
373
|
-
border-top: 0.0625rem solid #e9e9e9;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
377
|
-
border: 0.0625rem solid #e9e9e9;
|
|
378
|
-
border-radius: 0.25rem;
|
|
379
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
380
|
-
overflow: hidden;
|
|
381
|
-
}
|
|
382
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
383
|
-
outline: none;
|
|
384
|
-
}
|
|
385
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
386
|
-
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
390
|
-
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
391
|
-
-webkit-animation: slide-in 0.2s ease-in-out;
|
|
392
|
-
animation: slide-in 0.2s ease-in-out;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
@-webkit-keyframes slide-in {
|
|
396
|
-
0% {
|
|
397
|
-
opacity: 0;
|
|
398
|
-
transform: translateY(0.5rem);
|
|
399
|
-
}
|
|
400
|
-
100% {
|
|
401
|
-
opacity: 1;
|
|
402
|
-
transform: translateY(0);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
@keyframes slide-in {
|
|
407
|
-
0% {
|
|
408
|
-
opacity: 0;
|
|
409
|
-
transform: translateY(0.5rem);
|
|
410
|
-
}
|
|
411
|
-
100% {
|
|
412
|
-
opacity: 1;
|
|
413
|
-
transform: translateY(0);
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
[data-reach-menu-popover] {
|
|
417
|
-
position: absolute;
|
|
418
|
-
z-index: 30;
|
|
419
|
-
}
|
|
420
|
-
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
421
|
-
position: relative;
|
|
422
|
-
right: calc(100% - 2rem);
|
|
423
|
-
}/* DO NOT CHANGE!*/
|
|
424
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
425
328
|
.eds-stepper {
|
|
426
329
|
display: flex;
|
|
427
330
|
flex-direction: row;
|
|
@@ -536,6 +439,103 @@
|
|
|
536
439
|
background: #aeb7e2;
|
|
537
440
|
}/* DO NOT CHANGE!*/
|
|
538
441
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
442
|
+
.eds-overflow-menu__item {
|
|
443
|
+
-webkit-appearance: none;
|
|
444
|
+
-moz-appearance: none;
|
|
445
|
+
appearance: none;
|
|
446
|
+
border: none;
|
|
447
|
+
font-size: 0.875rem;
|
|
448
|
+
font-family: inherit;
|
|
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;
|
|
459
|
+
}
|
|
460
|
+
.eds-contrast .eds-overflow-menu__item {
|
|
461
|
+
color: #181c56;
|
|
462
|
+
}
|
|
463
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
464
|
+
background: #e9e9e9;
|
|
465
|
+
color: #949494;
|
|
466
|
+
}
|
|
467
|
+
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
468
|
+
background: #e9e9e9;
|
|
469
|
+
color: #949494;
|
|
470
|
+
}
|
|
471
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
472
|
+
cursor: not-allowed;
|
|
473
|
+
background: #e9e9e9;
|
|
474
|
+
color: #949494;
|
|
475
|
+
}
|
|
476
|
+
.eds-overflow-menu__item .eds-icon {
|
|
477
|
+
margin-right: 0.75rem;
|
|
478
|
+
}
|
|
479
|
+
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
480
|
+
background: #d1d4e3;
|
|
481
|
+
}
|
|
482
|
+
.eds-overflow-menu__item:focus {
|
|
483
|
+
outline: none;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.eds-overflow-menu__item + .eds-overflow-menu__item {
|
|
487
|
+
border-top: 0.0625rem solid #e9e9e9;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
491
|
+
border: 0.0625rem solid #e9e9e9;
|
|
492
|
+
border-radius: 0.25rem;
|
|
493
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
494
|
+
overflow: hidden;
|
|
495
|
+
}
|
|
496
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
497
|
+
outline: none;
|
|
498
|
+
}
|
|
499
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
500
|
+
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
504
|
+
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
505
|
+
-webkit-animation: slide-in 0.2s ease-in-out;
|
|
506
|
+
animation: slide-in 0.2s ease-in-out;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
@-webkit-keyframes slide-in {
|
|
510
|
+
0% {
|
|
511
|
+
opacity: 0;
|
|
512
|
+
transform: translateY(0.5rem);
|
|
513
|
+
}
|
|
514
|
+
100% {
|
|
515
|
+
opacity: 1;
|
|
516
|
+
transform: translateY(0);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@keyframes slide-in {
|
|
521
|
+
0% {
|
|
522
|
+
opacity: 0;
|
|
523
|
+
transform: translateY(0.5rem);
|
|
524
|
+
}
|
|
525
|
+
100% {
|
|
526
|
+
opacity: 1;
|
|
527
|
+
transform: translateY(0);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
[data-reach-menu-popover] {
|
|
531
|
+
position: absolute;
|
|
532
|
+
z-index: 30;
|
|
533
|
+
}
|
|
534
|
+
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
535
|
+
position: relative;
|
|
536
|
+
right: calc(100% - 2rem);
|
|
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.14-RC.1",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@entur/a11y": "^0.2.
|
|
27
|
-
"@entur/button": "^2.10.
|
|
28
|
-
"@entur/expand": "^3.3.
|
|
29
|
-
"@entur/icons": "^5.0.
|
|
30
|
-
"@entur/layout": "^2.1.
|
|
26
|
+
"@entur/a11y": "^0.2.50-RC.1",
|
|
27
|
+
"@entur/button": "^2.10.5-RC.1",
|
|
28
|
+
"@entur/expand": "^3.3.22-RC.1",
|
|
29
|
+
"@entur/icons": "^5.0.1-RC.1",
|
|
30
|
+
"@entur/layout": "^2.1.12-RC.1",
|
|
31
31
|
"@entur/tokens": "^3.4.1",
|
|
32
|
-
"@entur/typography": "^1.7.
|
|
33
|
-
"@entur/utils": "^0.
|
|
32
|
+
"@entur/typography": "^1.7.1-RC.1",
|
|
33
|
+
"@entur/utils": "^0.5.0-RC.1",
|
|
34
34
|
"@reach/menu-button": "^0.16.1",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"react": ">=16.8.0",
|
|
39
39
|
"react-dom": ">=16.8.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f961e0f1cc0c331a09e7e561c14c0870871bf875"
|
|
42
42
|
}
|