@entur/menu 4.2.37 → 4.2.39-RC.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 +318 -318
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,59 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-breadcrumb {
|
|
4
|
-
list-style: none;
|
|
5
|
-
margin: 0;
|
|
6
|
-
padding: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.eds-breadcrumb__item {
|
|
10
|
-
display: inline-block;
|
|
11
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
12
|
-
}
|
|
13
|
-
.eds-contrast .eds-breadcrumb__item {
|
|
14
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.eds-breadcrumb__separator {
|
|
18
|
-
margin: 0 0.25rem 0 0.25rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.eds-breadcrumb__link {
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
24
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
25
|
-
background-repeat: no-repeat;
|
|
26
|
-
background-size: 100% 0.125rem;
|
|
27
|
-
background-position: 0 100%;
|
|
28
|
-
}
|
|
29
|
-
.eds-contrast .eds-breadcrumb__link {
|
|
30
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
31
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
32
|
-
}
|
|
33
|
-
.eds-breadcrumb__link:hover {
|
|
34
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
35
|
-
}
|
|
36
|
-
.eds-breadcrumb__link:focus {
|
|
37
|
-
outline: 2px solid #181c56;
|
|
38
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
39
|
-
outline-offset: 0.125rem;
|
|
40
|
-
}
|
|
41
|
-
.eds-contrast .eds-breadcrumb__link:focus {
|
|
42
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
43
|
-
}
|
|
44
|
-
@keyframes eds-breadcrumb-underline {
|
|
45
|
-
from {
|
|
46
|
-
background-size: 0% 0.125rem;
|
|
47
|
-
}
|
|
48
|
-
to {
|
|
49
|
-
background-size: 100% 0.125rem;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
.eds-breadcrumb__link--current {
|
|
53
|
-
font-weight: 600;
|
|
54
|
-
}
|
|
55
|
-
/* DO NOT CHANGE!*/
|
|
56
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
57
3
|
.eds-side-navigation,
|
|
58
4
|
.eds-side-navigation-group {
|
|
59
5
|
color: var(--components-menu-sidenavigation-standard-text);
|
|
@@ -307,6 +253,60 @@
|
|
|
307
253
|
}
|
|
308
254
|
/* DO NOT CHANGE!*/
|
|
309
255
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
256
|
+
.eds-breadcrumb {
|
|
257
|
+
list-style: none;
|
|
258
|
+
margin: 0;
|
|
259
|
+
padding: 0;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.eds-breadcrumb__item {
|
|
263
|
+
display: inline-block;
|
|
264
|
+
color: var(--components-menu-breadcrumb-standard-text);
|
|
265
|
+
}
|
|
266
|
+
.eds-contrast .eds-breadcrumb__item {
|
|
267
|
+
color: var(--components-menu-breadcrumb-contrast-text);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.eds-breadcrumb__separator {
|
|
271
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.eds-breadcrumb__link {
|
|
275
|
+
text-decoration: none;
|
|
276
|
+
color: var(--components-menu-breadcrumb-standard-text);
|
|
277
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
278
|
+
background-repeat: no-repeat;
|
|
279
|
+
background-size: 100% 0.125rem;
|
|
280
|
+
background-position: 0 100%;
|
|
281
|
+
}
|
|
282
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
283
|
+
color: var(--components-menu-breadcrumb-contrast-text);
|
|
284
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
285
|
+
}
|
|
286
|
+
.eds-breadcrumb__link:hover {
|
|
287
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
288
|
+
}
|
|
289
|
+
.eds-breadcrumb__link:focus {
|
|
290
|
+
outline: 2px solid #181c56;
|
|
291
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
292
|
+
outline-offset: 0.125rem;
|
|
293
|
+
}
|
|
294
|
+
.eds-contrast .eds-breadcrumb__link:focus {
|
|
295
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
296
|
+
}
|
|
297
|
+
@keyframes eds-breadcrumb-underline {
|
|
298
|
+
from {
|
|
299
|
+
background-size: 0% 0.125rem;
|
|
300
|
+
}
|
|
301
|
+
to {
|
|
302
|
+
background-size: 100% 0.125rem;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
.eds-breadcrumb__link--current {
|
|
306
|
+
font-weight: 600;
|
|
307
|
+
}
|
|
308
|
+
/* DO NOT CHANGE!*/
|
|
309
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
310
310
|
.eds-top-navigation-item {
|
|
311
311
|
--show-active-line: 0;
|
|
312
312
|
display: inline-block;
|
|
@@ -363,287 +363,81 @@
|
|
|
363
363
|
}
|
|
364
364
|
/* DO NOT CHANGE!*/
|
|
365
365
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
366
|
-
.eds-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
366
|
+
.eds-overflow-menu__item {
|
|
367
|
+
-webkit-appearance: none;
|
|
368
|
+
-moz-appearance: none;
|
|
369
|
+
appearance: none;
|
|
370
|
+
border: none;
|
|
371
|
+
font-size: 1rem;
|
|
372
|
+
font-family: inherit;
|
|
373
|
+
color: var(--components-menu-overflowmenu-text);
|
|
374
|
+
background: var(--components-menu-overflowmenu-fill-default);
|
|
375
|
+
display: block;
|
|
376
|
+
cursor: pointer;
|
|
377
|
+
width: 100%;
|
|
378
|
+
line-height: 1.375rem;
|
|
379
|
+
text-align: left;
|
|
380
|
+
padding: 0.75rem;
|
|
381
|
+
opacity: 1;
|
|
372
382
|
}
|
|
373
|
-
.eds-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
flex: 1;
|
|
377
|
-
justify-content: flex-start;
|
|
383
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
384
|
+
background: var(--components-menu-overflowmenu-fill-default);
|
|
385
|
+
color: var(--components-menu-overflowmenu-text-disabled);
|
|
378
386
|
}
|
|
379
|
-
.eds-
|
|
380
|
-
|
|
387
|
+
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
388
|
+
background: var(--components-menu-overflowmenu-fill-default);
|
|
389
|
+
color: var(--components-menu-overflowmenu-text-disabled);
|
|
381
390
|
}
|
|
382
|
-
.eds-
|
|
383
|
-
|
|
391
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
392
|
+
cursor: not-allowed;
|
|
393
|
+
background: var(--components-menu-overflowmenu-fill-default);
|
|
394
|
+
color: var(--components-menu-overflowmenu-text-disabled);
|
|
384
395
|
}
|
|
385
|
-
.eds-
|
|
386
|
-
|
|
396
|
+
.eds-overflow-menu__item .eds-icon {
|
|
397
|
+
margin-right: 0.75rem;
|
|
387
398
|
}
|
|
388
|
-
.eds-
|
|
389
|
-
|
|
390
|
-
display: flex;
|
|
391
|
-
justify-content: center;
|
|
399
|
+
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
400
|
+
background: var(--components-menu-overflowmenu-fill-hover);
|
|
392
401
|
}
|
|
393
|
-
.eds-
|
|
394
|
-
|
|
402
|
+
.eds-overflow-menu__item:focus {
|
|
403
|
+
outline: none;
|
|
395
404
|
}
|
|
396
405
|
|
|
397
|
-
.eds-
|
|
398
|
-
-
|
|
399
|
-
|
|
400
|
-
appearance: none;
|
|
401
|
-
background: transparent;
|
|
402
|
-
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
406
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
407
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
408
|
+
overflow: hidden;
|
|
403
409
|
border-radius: 0.25rem;
|
|
404
|
-
|
|
405
|
-
font-family: inherit;
|
|
406
|
-
display: flex;
|
|
407
|
-
align-items: center;
|
|
408
|
-
justify-content: space-around;
|
|
409
|
-
height: 2rem;
|
|
410
|
-
margin-left: 0.25rem;
|
|
411
|
-
margin-right: 1rem;
|
|
412
|
-
width: 3.5rem;
|
|
413
|
-
}
|
|
414
|
-
.eds-contrast .eds-pagination-menu__menu-button {
|
|
415
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
416
|
-
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
417
|
-
}
|
|
418
|
-
.eds-pagination-menu__menu-button--open {
|
|
419
|
-
border-color: currentColor;
|
|
410
|
+
border: 1px solid var(--components-menu-overflowmenu-border);
|
|
420
411
|
}
|
|
421
|
-
.eds-
|
|
412
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
422
413
|
outline: none;
|
|
423
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
424
414
|
}
|
|
425
|
-
.eds-
|
|
426
|
-
|
|
415
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
416
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
427
417
|
}
|
|
428
418
|
|
|
429
|
-
.eds-
|
|
430
|
-
|
|
431
|
-
-
|
|
432
|
-
-moz-appearance: none;
|
|
433
|
-
appearance: none;
|
|
434
|
-
background-color: var(--components-menu-pagination-standard-default);
|
|
435
|
-
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
436
|
-
border-radius: 0.25rem;
|
|
437
|
-
color: var(--components-menu-pagination-standard-text-unselected);
|
|
438
|
-
cursor: pointer;
|
|
439
|
-
display: flex;
|
|
440
|
-
font-family: inherit;
|
|
441
|
-
font-size: 0.875rem;
|
|
442
|
-
height: 2rem;
|
|
443
|
-
justify-content: center;
|
|
444
|
-
margin: 0 0.125rem;
|
|
445
|
-
padding: 0 0.25rem;
|
|
446
|
-
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
447
|
-
-webkit-user-select: none;
|
|
448
|
-
-moz-user-select: none;
|
|
449
|
-
user-select: none;
|
|
450
|
-
min-width: 2rem;
|
|
451
|
-
}
|
|
452
|
-
.eds-contrast .eds-pagination__page {
|
|
453
|
-
background-color: var(--components-menu-pagination-contrast-default);
|
|
454
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
455
|
-
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
419
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
420
|
+
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
421
|
+
animation: slide-in 0.2s ease-in-out;
|
|
456
422
|
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
423
|
+
|
|
424
|
+
@keyframes slide-in {
|
|
425
|
+
0% {
|
|
426
|
+
opacity: 0;
|
|
427
|
+
transform: translateY(0.5rem);
|
|
428
|
+
}
|
|
429
|
+
100% {
|
|
430
|
+
opacity: 1;
|
|
431
|
+
transform: translateY(0);
|
|
432
|
+
}
|
|
463
433
|
}
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
color: var(--components-menu-pagination-contrast-text-selected);
|
|
434
|
+
[data-reach-menu-popover] {
|
|
435
|
+
position: absolute;
|
|
436
|
+
z-index: 30;
|
|
468
437
|
}
|
|
469
|
-
.eds-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
473
|
-
.eds-pagination__page:hover {
|
|
474
|
-
background-color: var(--components-menu-pagination-standard-hover);
|
|
475
|
-
border-color: var(--components-menu-pagination-standard-border-unselected);
|
|
476
|
-
}
|
|
477
|
-
.eds-contrast .eds-pagination__page:hover {
|
|
478
|
-
background-color: var(--components-menu-pagination-contrast-hover);
|
|
479
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
480
|
-
}
|
|
481
|
-
.eds-pagination__page.focus-visible {
|
|
482
|
-
outline: 2px solid #181c56;
|
|
483
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
484
|
-
outline-offset: 0.125rem;
|
|
485
|
-
}
|
|
486
|
-
.eds-pagination__page:focus-visible {
|
|
487
|
-
outline: 2px solid #181c56;
|
|
488
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
489
|
-
outline-offset: 0.125rem;
|
|
490
|
-
}
|
|
491
|
-
.eds-contrast .eds-pagination__page.focus-visible {
|
|
492
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
493
|
-
}
|
|
494
|
-
.eds-contrast .eds-pagination__page:focus-visible {
|
|
495
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.eds-pagination__ellipsis {
|
|
499
|
-
color: var(--components-menu-pagination-standard-icon);
|
|
500
|
-
align-items: baseline;
|
|
501
|
-
cursor: default;
|
|
502
|
-
display: flex;
|
|
503
|
-
font-size: 1.5rem;
|
|
504
|
-
height: 2rem;
|
|
505
|
-
justify-content: center;
|
|
506
|
-
-webkit-user-select: none;
|
|
507
|
-
-moz-user-select: none;
|
|
508
|
-
user-select: none;
|
|
509
|
-
width: 2rem;
|
|
510
|
-
margin: 0 2px;
|
|
511
|
-
}
|
|
512
|
-
.eds-contrast .eds-pagination__ellipsis {
|
|
513
|
-
color: var(--components-menu-pagination-contrast-icon);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.eds-pagination__input-wrapper {
|
|
517
|
-
white-space: nowrap;
|
|
518
|
-
}
|
|
519
|
-
.eds-pagination__input-label {
|
|
520
|
-
border-left: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
521
|
-
color: var(--components-menu-pagination-standard-text-subdued);
|
|
522
|
-
font-size: 0.875rem;
|
|
523
|
-
margin-left: 0.5rem;
|
|
524
|
-
padding: 0 1rem;
|
|
525
|
-
}
|
|
526
|
-
.eds-contrast .eds-pagination__input-label {
|
|
527
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
528
|
-
color: var(--components-menu-pagination-contrast-text-subdued);
|
|
529
|
-
}
|
|
530
|
-
.eds-pagination__input-field {
|
|
531
|
-
-webkit-appearance: none;
|
|
532
|
-
-moz-appearance: none;
|
|
533
|
-
appearance: none;
|
|
534
|
-
background-color: var(--components-menu-pagination-standard-default);
|
|
535
|
-
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
536
|
-
border-radius: 0.25rem;
|
|
537
|
-
color: var(--components-menu-pagination-standard-text-unselected);
|
|
538
|
-
font-family: inherit;
|
|
539
|
-
font-size: 0.875rem;
|
|
540
|
-
height: 2rem;
|
|
541
|
-
text-align: center;
|
|
542
|
-
width: 2rem;
|
|
543
|
-
}
|
|
544
|
-
.eds-contrast .eds-pagination__input-field {
|
|
545
|
-
background-color: var(--components-menu-pagination-contrast-default);
|
|
546
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
547
|
-
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
548
|
-
}
|
|
549
|
-
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
550
|
-
-webkit-appearance: none;
|
|
551
|
-
appearance: none;
|
|
552
|
-
margin: 0;
|
|
553
|
-
}
|
|
554
|
-
.eds-pagination__input-field.focus-visible {
|
|
555
|
-
outline: 2px solid #181c56;
|
|
556
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
557
|
-
outline-offset: 0.125rem;
|
|
558
|
-
}
|
|
559
|
-
.eds-pagination__input-field:focus-visible {
|
|
560
|
-
outline: 2px solid #181c56;
|
|
561
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
562
|
-
outline-offset: 0.125rem;
|
|
563
|
-
}
|
|
564
|
-
.eds-contrast .eds-pagination__input-field.focus-visible {
|
|
565
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
566
|
-
}
|
|
567
|
-
.eds-contrast .eds-pagination__input-field:focus-visible {
|
|
568
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
569
|
-
}
|
|
570
|
-
/* DO NOT CHANGE!*/
|
|
571
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
572
|
-
.eds-overflow-menu__item {
|
|
573
|
-
-webkit-appearance: none;
|
|
574
|
-
-moz-appearance: none;
|
|
575
|
-
appearance: none;
|
|
576
|
-
border: none;
|
|
577
|
-
font-size: 1rem;
|
|
578
|
-
font-family: inherit;
|
|
579
|
-
color: var(--components-menu-overflowmenu-text);
|
|
580
|
-
background: var(--components-menu-overflowmenu-fill-default);
|
|
581
|
-
display: block;
|
|
582
|
-
cursor: pointer;
|
|
583
|
-
width: 100%;
|
|
584
|
-
line-height: 1.375rem;
|
|
585
|
-
text-align: left;
|
|
586
|
-
padding: 0.75rem;
|
|
587
|
-
opacity: 1;
|
|
588
|
-
}
|
|
589
|
-
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
590
|
-
background: var(--components-menu-overflowmenu-fill-default);
|
|
591
|
-
color: var(--components-menu-overflowmenu-text-disabled);
|
|
592
|
-
}
|
|
593
|
-
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
594
|
-
background: var(--components-menu-overflowmenu-fill-default);
|
|
595
|
-
color: var(--components-menu-overflowmenu-text-disabled);
|
|
596
|
-
}
|
|
597
|
-
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
598
|
-
cursor: not-allowed;
|
|
599
|
-
background: var(--components-menu-overflowmenu-fill-default);
|
|
600
|
-
color: var(--components-menu-overflowmenu-text-disabled);
|
|
601
|
-
}
|
|
602
|
-
.eds-overflow-menu__item .eds-icon {
|
|
603
|
-
margin-right: 0.75rem;
|
|
604
|
-
}
|
|
605
|
-
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
606
|
-
background: var(--components-menu-overflowmenu-fill-hover);
|
|
607
|
-
}
|
|
608
|
-
.eds-overflow-menu__item:focus {
|
|
609
|
-
outline: none;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
613
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
614
|
-
overflow: hidden;
|
|
615
|
-
border-radius: 0.25rem;
|
|
616
|
-
border: 1px solid var(--components-menu-overflowmenu-border);
|
|
617
|
-
}
|
|
618
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
619
|
-
outline: none;
|
|
620
|
-
}
|
|
621
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
622
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
626
|
-
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
627
|
-
animation: slide-in 0.2s ease-in-out;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
@keyframes slide-in {
|
|
631
|
-
0% {
|
|
632
|
-
opacity: 0;
|
|
633
|
-
transform: translateY(0.5rem);
|
|
634
|
-
}
|
|
635
|
-
100% {
|
|
636
|
-
opacity: 1;
|
|
637
|
-
transform: translateY(0);
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
[data-reach-menu-popover] {
|
|
641
|
-
position: absolute;
|
|
642
|
-
z-index: 30;
|
|
643
|
-
}
|
|
644
|
-
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
645
|
-
position: relative;
|
|
646
|
-
right: calc(100% - 2rem);
|
|
438
|
+
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
439
|
+
position: relative;
|
|
440
|
+
right: calc(100% - 2rem);
|
|
647
441
|
}
|
|
648
442
|
/* DO NOT CHANGE!*/
|
|
649
443
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -772,6 +566,212 @@
|
|
|
772
566
|
}
|
|
773
567
|
/* DO NOT CHANGE!*/
|
|
774
568
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
569
|
+
.eds-pagination {
|
|
570
|
+
align-items: center;
|
|
571
|
+
display: flex;
|
|
572
|
+
flex-wrap: wrap;
|
|
573
|
+
row-gap: 0.75rem;
|
|
574
|
+
justify-content: space-between;
|
|
575
|
+
}
|
|
576
|
+
.eds-pagination__results {
|
|
577
|
+
align-items: center;
|
|
578
|
+
display: flex;
|
|
579
|
+
flex: 1;
|
|
580
|
+
justify-content: flex-start;
|
|
581
|
+
}
|
|
582
|
+
.eds-pagination__results-label {
|
|
583
|
+
margin-right: 0.5rem;
|
|
584
|
+
}
|
|
585
|
+
.eds-pagination .eds-label {
|
|
586
|
+
color: var(--components-menu-pagination-standard-text-subdued);
|
|
587
|
+
}
|
|
588
|
+
.eds-contrast .eds-pagination .eds-label {
|
|
589
|
+
color: var(--components-menu-pagination-contrast-text-subdued);
|
|
590
|
+
}
|
|
591
|
+
.eds-pagination__controls {
|
|
592
|
+
align-items: center;
|
|
593
|
+
display: flex;
|
|
594
|
+
justify-content: center;
|
|
595
|
+
}
|
|
596
|
+
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
597
|
+
margin: 0 auto;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.eds-pagination-menu__menu-button {
|
|
601
|
+
-webkit-appearance: none;
|
|
602
|
+
-moz-appearance: none;
|
|
603
|
+
appearance: none;
|
|
604
|
+
background: transparent;
|
|
605
|
+
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
606
|
+
border-radius: 0.25rem;
|
|
607
|
+
color: var(--components-menu-pagination-standard-text-unselected);
|
|
608
|
+
font-family: inherit;
|
|
609
|
+
display: flex;
|
|
610
|
+
align-items: center;
|
|
611
|
+
justify-content: space-around;
|
|
612
|
+
height: 2rem;
|
|
613
|
+
margin-left: 0.25rem;
|
|
614
|
+
margin-right: 1rem;
|
|
615
|
+
width: 3.5rem;
|
|
616
|
+
}
|
|
617
|
+
.eds-contrast .eds-pagination-menu__menu-button {
|
|
618
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
619
|
+
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
620
|
+
}
|
|
621
|
+
.eds-pagination-menu__menu-button--open {
|
|
622
|
+
border-color: currentColor;
|
|
623
|
+
}
|
|
624
|
+
.eds-pagination-menu__menu-button:focus {
|
|
625
|
+
outline: none;
|
|
626
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
627
|
+
}
|
|
628
|
+
.eds-pagination-menu__menu-list {
|
|
629
|
+
width: 3.5rem;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.eds-pagination__page {
|
|
633
|
+
align-items: center;
|
|
634
|
+
-webkit-appearance: none;
|
|
635
|
+
-moz-appearance: none;
|
|
636
|
+
appearance: none;
|
|
637
|
+
background-color: var(--components-menu-pagination-standard-default);
|
|
638
|
+
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
639
|
+
border-radius: 0.25rem;
|
|
640
|
+
color: var(--components-menu-pagination-standard-text-unselected);
|
|
641
|
+
cursor: pointer;
|
|
642
|
+
display: flex;
|
|
643
|
+
font-family: inherit;
|
|
644
|
+
font-size: 0.875rem;
|
|
645
|
+
height: 2rem;
|
|
646
|
+
justify-content: center;
|
|
647
|
+
margin: 0 0.125rem;
|
|
648
|
+
padding: 0 0.25rem;
|
|
649
|
+
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
650
|
+
-webkit-user-select: none;
|
|
651
|
+
-moz-user-select: none;
|
|
652
|
+
user-select: none;
|
|
653
|
+
min-width: 2rem;
|
|
654
|
+
}
|
|
655
|
+
.eds-contrast .eds-pagination__page {
|
|
656
|
+
background-color: var(--components-menu-pagination-contrast-default);
|
|
657
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
658
|
+
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
659
|
+
}
|
|
660
|
+
.eds-pagination__page--selected {
|
|
661
|
+
background: var(--components-menu-pagination-standard-active);
|
|
662
|
+
border-color: var(--components-menu-pagination-standard-border-selected);
|
|
663
|
+
color: var(--components-menu-pagination-standard-text-selected);
|
|
664
|
+
opacity: 1;
|
|
665
|
+
pointer-events: none;
|
|
666
|
+
}
|
|
667
|
+
.eds-contrast .eds-pagination__page--selected {
|
|
668
|
+
background: var(--components-menu-pagination-contrast-active);
|
|
669
|
+
border-color: var(--components-menu-pagination-contrast-border-selected);
|
|
670
|
+
color: var(--components-menu-pagination-contrast-text-selected);
|
|
671
|
+
}
|
|
672
|
+
.eds-pagination__page--disabled {
|
|
673
|
+
opacity: 0.5;
|
|
674
|
+
pointer-events: none;
|
|
675
|
+
}
|
|
676
|
+
.eds-pagination__page:hover {
|
|
677
|
+
background-color: var(--components-menu-pagination-standard-hover);
|
|
678
|
+
border-color: var(--components-menu-pagination-standard-border-unselected);
|
|
679
|
+
}
|
|
680
|
+
.eds-contrast .eds-pagination__page:hover {
|
|
681
|
+
background-color: var(--components-menu-pagination-contrast-hover);
|
|
682
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
683
|
+
}
|
|
684
|
+
.eds-pagination__page.focus-visible {
|
|
685
|
+
outline: 2px solid #181c56;
|
|
686
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
687
|
+
outline-offset: 0.125rem;
|
|
688
|
+
}
|
|
689
|
+
.eds-pagination__page:focus-visible {
|
|
690
|
+
outline: 2px solid #181c56;
|
|
691
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
692
|
+
outline-offset: 0.125rem;
|
|
693
|
+
}
|
|
694
|
+
.eds-contrast .eds-pagination__page.focus-visible {
|
|
695
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
696
|
+
}
|
|
697
|
+
.eds-contrast .eds-pagination__page:focus-visible {
|
|
698
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.eds-pagination__ellipsis {
|
|
702
|
+
color: var(--components-menu-pagination-standard-icon);
|
|
703
|
+
align-items: baseline;
|
|
704
|
+
cursor: default;
|
|
705
|
+
display: flex;
|
|
706
|
+
font-size: 1.5rem;
|
|
707
|
+
height: 2rem;
|
|
708
|
+
justify-content: center;
|
|
709
|
+
-webkit-user-select: none;
|
|
710
|
+
-moz-user-select: none;
|
|
711
|
+
user-select: none;
|
|
712
|
+
width: 2rem;
|
|
713
|
+
margin: 0 2px;
|
|
714
|
+
}
|
|
715
|
+
.eds-contrast .eds-pagination__ellipsis {
|
|
716
|
+
color: var(--components-menu-pagination-contrast-icon);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.eds-pagination__input-wrapper {
|
|
720
|
+
white-space: nowrap;
|
|
721
|
+
}
|
|
722
|
+
.eds-pagination__input-label {
|
|
723
|
+
border-left: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
724
|
+
color: var(--components-menu-pagination-standard-text-subdued);
|
|
725
|
+
font-size: 0.875rem;
|
|
726
|
+
margin-left: 0.5rem;
|
|
727
|
+
padding: 0 1rem;
|
|
728
|
+
}
|
|
729
|
+
.eds-contrast .eds-pagination__input-label {
|
|
730
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
731
|
+
color: var(--components-menu-pagination-contrast-text-subdued);
|
|
732
|
+
}
|
|
733
|
+
.eds-pagination__input-field {
|
|
734
|
+
-webkit-appearance: none;
|
|
735
|
+
-moz-appearance: none;
|
|
736
|
+
appearance: none;
|
|
737
|
+
background-color: var(--components-menu-pagination-standard-default);
|
|
738
|
+
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
739
|
+
border-radius: 0.25rem;
|
|
740
|
+
color: var(--components-menu-pagination-standard-text-unselected);
|
|
741
|
+
font-family: inherit;
|
|
742
|
+
font-size: 0.875rem;
|
|
743
|
+
height: 2rem;
|
|
744
|
+
text-align: center;
|
|
745
|
+
width: 2rem;
|
|
746
|
+
}
|
|
747
|
+
.eds-contrast .eds-pagination__input-field {
|
|
748
|
+
background-color: var(--components-menu-pagination-contrast-default);
|
|
749
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
750
|
+
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
751
|
+
}
|
|
752
|
+
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
753
|
+
-webkit-appearance: none;
|
|
754
|
+
appearance: none;
|
|
755
|
+
margin: 0;
|
|
756
|
+
}
|
|
757
|
+
.eds-pagination__input-field.focus-visible {
|
|
758
|
+
outline: 2px solid #181c56;
|
|
759
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
760
|
+
outline-offset: 0.125rem;
|
|
761
|
+
}
|
|
762
|
+
.eds-pagination__input-field:focus-visible {
|
|
763
|
+
outline: 2px solid #181c56;
|
|
764
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
765
|
+
outline-offset: 0.125rem;
|
|
766
|
+
}
|
|
767
|
+
.eds-contrast .eds-pagination__input-field.focus-visible {
|
|
768
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
769
|
+
}
|
|
770
|
+
.eds-contrast .eds-pagination__input-field:focus-visible {
|
|
771
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
772
|
+
}
|
|
773
|
+
/* DO NOT CHANGE!*/
|
|
774
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
775
775
|
/* DO NOT CHANGE!*/
|
|
776
776
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
777
777
|
/* DO NOT CHANGE!*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.39-RC.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.5.
|
|
33
|
-
"@entur/icons": "^7.
|
|
34
|
-
"@entur/layout": "^2.3.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
37
|
-
"@entur/utils": "^0.11.
|
|
30
|
+
"@entur/a11y": "^0.2.90-RC.0",
|
|
31
|
+
"@entur/button": "^3.2.31-RC.0",
|
|
32
|
+
"@entur/expand": "^3.5.20-RC.0",
|
|
33
|
+
"@entur/icons": "^7.3.0-RC.0",
|
|
34
|
+
"@entur/layout": "^2.3.15-RC.0",
|
|
35
|
+
"@entur/tokens": "^3.17.0",
|
|
36
|
+
"@entur/typography": "^1.8.44-RC.0",
|
|
37
|
+
"@entur/utils": "^0.11.2-RC.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": "f279e609e10d40dd3ff47b09bd2828edf2bbcb7b"
|
|
43
43
|
}
|