@entur/menu 4.1.39 → 4.1.40
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 +191 -191
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -4,52 +4,6 @@
|
|
|
4
4
|
}
|
|
5
5
|
/* DO NOT CHANGE!*/
|
|
6
6
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
7
|
-
.eds-breadcrumb {
|
|
8
|
-
list-style: none;
|
|
9
|
-
margin: 0;
|
|
10
|
-
padding: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.eds-breadcrumb__item {
|
|
14
|
-
display: inline-block;
|
|
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: inherit;
|
|
24
|
-
background-image: linear-gradient(120deg, #181c56 0%, #181c56 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
|
-
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
31
|
-
}
|
|
32
|
-
.eds-breadcrumb__link:hover {
|
|
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
|
-
@keyframes eds-breadcrumb-underline {
|
|
41
|
-
from {
|
|
42
|
-
background-size: 0% 0.125rem;
|
|
43
|
-
}
|
|
44
|
-
to {
|
|
45
|
-
background-size: 100% 0.125rem;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.eds-breadcrumb__link--current {
|
|
49
|
-
font-weight: 600;
|
|
50
|
-
}
|
|
51
|
-
/* DO NOT CHANGE!*/
|
|
52
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
53
7
|
/* DO NOT CHANGE!*/
|
|
54
8
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
55
9
|
.eds-side-navigation,
|
|
@@ -270,163 +224,49 @@
|
|
|
270
224
|
}
|
|
271
225
|
/* DO NOT CHANGE!*/
|
|
272
226
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
273
|
-
.eds-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
row-gap: 0.75rem;
|
|
278
|
-
justify-content: space-between;
|
|
279
|
-
}
|
|
280
|
-
.eds-pagination__results {
|
|
281
|
-
align-items: center;
|
|
282
|
-
display: flex;
|
|
283
|
-
flex: 1;
|
|
284
|
-
justify-content: flex-start;
|
|
285
|
-
}
|
|
286
|
-
.eds-pagination__results-label {
|
|
287
|
-
margin-right: 0.5rem;
|
|
288
|
-
}
|
|
289
|
-
.eds-pagination__controls {
|
|
290
|
-
align-items: center;
|
|
291
|
-
display: flex;
|
|
292
|
-
justify-content: center;
|
|
293
|
-
}
|
|
294
|
-
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
295
|
-
margin: 0 auto;
|
|
227
|
+
.eds-breadcrumb {
|
|
228
|
+
list-style: none;
|
|
229
|
+
margin: 0;
|
|
230
|
+
padding: 0;
|
|
296
231
|
}
|
|
297
232
|
|
|
298
|
-
.eds-
|
|
299
|
-
|
|
300
|
-
-moz-appearance: none;
|
|
301
|
-
appearance: none;
|
|
302
|
-
background: transparent;
|
|
303
|
-
border: 0.0625rem solid #d1d3d3;
|
|
304
|
-
border-radius: 0.25rem;
|
|
305
|
-
color: inherit;
|
|
306
|
-
font-family: inherit;
|
|
307
|
-
display: flex;
|
|
308
|
-
align-items: center;
|
|
309
|
-
justify-content: space-around;
|
|
310
|
-
height: 2rem;
|
|
311
|
-
margin-left: 0.25rem;
|
|
312
|
-
margin-right: 1rem;
|
|
313
|
-
width: 3.5rem;
|
|
314
|
-
}
|
|
315
|
-
.eds-pagination-menu__menu-button--open {
|
|
316
|
-
border-color: currentColor;
|
|
317
|
-
}
|
|
318
|
-
.eds-pagination-menu__menu-button:focus {
|
|
319
|
-
outline: none;
|
|
320
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
321
|
-
}
|
|
322
|
-
.eds-pagination-menu__menu-list {
|
|
323
|
-
width: 3.5rem;
|
|
233
|
+
.eds-breadcrumb__item {
|
|
234
|
+
display: inline-block;
|
|
324
235
|
}
|
|
325
236
|
|
|
326
|
-
.eds-
|
|
327
|
-
|
|
328
|
-
-webkit-appearance: none;
|
|
329
|
-
-moz-appearance: none;
|
|
330
|
-
appearance: none;
|
|
331
|
-
background: transparent;
|
|
332
|
-
border: 0.0625rem solid #d1d3d3;
|
|
333
|
-
border-color: #d1d3d3;
|
|
334
|
-
border-radius: 0.25rem;
|
|
335
|
-
color: inherit;
|
|
336
|
-
cursor: pointer;
|
|
337
|
-
display: flex;
|
|
338
|
-
font-family: inherit;
|
|
339
|
-
font-size: 0.875rem;
|
|
340
|
-
height: 2rem;
|
|
341
|
-
justify-content: center;
|
|
342
|
-
margin: 0 0.125rem;
|
|
343
|
-
padding: 0 0.25rem;
|
|
344
|
-
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
345
|
-
-webkit-user-select: none;
|
|
346
|
-
-moz-user-select: none;
|
|
347
|
-
user-select: none;
|
|
348
|
-
min-width: 2rem;
|
|
349
|
-
}
|
|
350
|
-
.eds-contrast .eds-pagination__page {
|
|
351
|
-
border-color: #54568c;
|
|
237
|
+
.eds-breadcrumb__separator {
|
|
238
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
352
239
|
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
240
|
+
|
|
241
|
+
.eds-breadcrumb__link {
|
|
242
|
+
text-decoration: none;
|
|
356
243
|
color: inherit;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
border-color: #ffffff;
|
|
362
|
-
background: #393d79;
|
|
363
|
-
}
|
|
364
|
-
.eds-pagination__page--disabled {
|
|
365
|
-
opacity: 0.5;
|
|
366
|
-
pointer-events: none;
|
|
244
|
+
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
245
|
+
background-repeat: no-repeat;
|
|
246
|
+
background-size: 100% 0.125rem;
|
|
247
|
+
background-position: 0 100%;
|
|
367
248
|
}
|
|
368
|
-
.eds-
|
|
369
|
-
background-
|
|
370
|
-
border-color: #d1d4e3;
|
|
249
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
250
|
+
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
371
251
|
}
|
|
372
|
-
.eds-
|
|
373
|
-
|
|
374
|
-
border-color: #393d79;
|
|
252
|
+
.eds-breadcrumb__link:hover {
|
|
253
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
375
254
|
}
|
|
376
|
-
.eds-
|
|
255
|
+
.eds-breadcrumb__link:focus {
|
|
377
256
|
outline: none;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
.eds-contrast .eds-pagination__page:focus {
|
|
381
|
-
border-color: #ffffff;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
.eds-pagination__ellipsis {
|
|
385
|
-
align-items: baseline;
|
|
386
|
-
cursor: default;
|
|
387
|
-
display: flex;
|
|
388
|
-
font-size: 1.5rem;
|
|
389
|
-
height: 2rem;
|
|
390
|
-
justify-content: center;
|
|
391
|
-
-webkit-user-select: none;
|
|
392
|
-
-moz-user-select: none;
|
|
393
|
-
user-select: none;
|
|
394
|
-
width: 2rem;
|
|
395
|
-
margin: 0 2px;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.eds-pagination__input-wrapper {
|
|
399
|
-
white-space: nowrap;
|
|
400
|
-
}
|
|
401
|
-
.eds-pagination__input-label {
|
|
402
|
-
border-left: 0.0625rem solid #d1d3d3;
|
|
403
|
-
color: #656782;
|
|
404
|
-
font-size: 0.875rem;
|
|
405
|
-
margin-left: 0.5rem;
|
|
406
|
-
padding: 0 1rem;
|
|
407
|
-
}
|
|
408
|
-
.eds-contrast .eds-pagination__input-label {
|
|
409
|
-
border-color: #393d79;
|
|
410
|
-
color: #aeb7e2;
|
|
257
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
258
|
+
outline-offset: 0.125rem;
|
|
411
259
|
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
color: inherit;
|
|
420
|
-
font-family: inherit;
|
|
421
|
-
font-size: 0.875rem;
|
|
422
|
-
height: 2rem;
|
|
423
|
-
text-align: center;
|
|
424
|
-
width: 2rem;
|
|
260
|
+
@keyframes eds-breadcrumb-underline {
|
|
261
|
+
from {
|
|
262
|
+
background-size: 0% 0.125rem;
|
|
263
|
+
}
|
|
264
|
+
to {
|
|
265
|
+
background-size: 100% 0.125rem;
|
|
266
|
+
}
|
|
425
267
|
}
|
|
426
|
-
.eds-
|
|
427
|
-
-
|
|
428
|
-
appearance: none;
|
|
429
|
-
margin: 0;
|
|
268
|
+
.eds-breadcrumb__link--current {
|
|
269
|
+
font-weight: 600;
|
|
430
270
|
}
|
|
431
271
|
/* DO NOT CHANGE!*/
|
|
432
272
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -682,3 +522,163 @@
|
|
|
682
522
|
position: relative;
|
|
683
523
|
right: calc(100% - 2rem);
|
|
684
524
|
}
|
|
525
|
+
/* DO NOT CHANGE!*/
|
|
526
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
527
|
+
.eds-pagination {
|
|
528
|
+
align-items: center;
|
|
529
|
+
display: flex;
|
|
530
|
+
flex-wrap: wrap;
|
|
531
|
+
row-gap: 0.75rem;
|
|
532
|
+
justify-content: space-between;
|
|
533
|
+
}
|
|
534
|
+
.eds-pagination__results {
|
|
535
|
+
align-items: center;
|
|
536
|
+
display: flex;
|
|
537
|
+
flex: 1;
|
|
538
|
+
justify-content: flex-start;
|
|
539
|
+
}
|
|
540
|
+
.eds-pagination__results-label {
|
|
541
|
+
margin-right: 0.5rem;
|
|
542
|
+
}
|
|
543
|
+
.eds-pagination__controls {
|
|
544
|
+
align-items: center;
|
|
545
|
+
display: flex;
|
|
546
|
+
justify-content: center;
|
|
547
|
+
}
|
|
548
|
+
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
549
|
+
margin: 0 auto;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.eds-pagination-menu__menu-button {
|
|
553
|
+
-webkit-appearance: none;
|
|
554
|
+
-moz-appearance: none;
|
|
555
|
+
appearance: none;
|
|
556
|
+
background: transparent;
|
|
557
|
+
border: 0.0625rem solid #d1d3d3;
|
|
558
|
+
border-radius: 0.25rem;
|
|
559
|
+
color: inherit;
|
|
560
|
+
font-family: inherit;
|
|
561
|
+
display: flex;
|
|
562
|
+
align-items: center;
|
|
563
|
+
justify-content: space-around;
|
|
564
|
+
height: 2rem;
|
|
565
|
+
margin-left: 0.25rem;
|
|
566
|
+
margin-right: 1rem;
|
|
567
|
+
width: 3.5rem;
|
|
568
|
+
}
|
|
569
|
+
.eds-pagination-menu__menu-button--open {
|
|
570
|
+
border-color: currentColor;
|
|
571
|
+
}
|
|
572
|
+
.eds-pagination-menu__menu-button:focus {
|
|
573
|
+
outline: none;
|
|
574
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
575
|
+
}
|
|
576
|
+
.eds-pagination-menu__menu-list {
|
|
577
|
+
width: 3.5rem;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.eds-pagination__page {
|
|
581
|
+
align-items: center;
|
|
582
|
+
-webkit-appearance: none;
|
|
583
|
+
-moz-appearance: none;
|
|
584
|
+
appearance: none;
|
|
585
|
+
background: transparent;
|
|
586
|
+
border: 0.0625rem solid #d1d3d3;
|
|
587
|
+
border-color: #d1d3d3;
|
|
588
|
+
border-radius: 0.25rem;
|
|
589
|
+
color: inherit;
|
|
590
|
+
cursor: pointer;
|
|
591
|
+
display: flex;
|
|
592
|
+
font-family: inherit;
|
|
593
|
+
font-size: 0.875rem;
|
|
594
|
+
height: 2rem;
|
|
595
|
+
justify-content: center;
|
|
596
|
+
margin: 0 0.125rem;
|
|
597
|
+
padding: 0 0.25rem;
|
|
598
|
+
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
599
|
+
-webkit-user-select: none;
|
|
600
|
+
-moz-user-select: none;
|
|
601
|
+
user-select: none;
|
|
602
|
+
min-width: 2rem;
|
|
603
|
+
}
|
|
604
|
+
.eds-contrast .eds-pagination__page {
|
|
605
|
+
border-color: #54568c;
|
|
606
|
+
}
|
|
607
|
+
.eds-pagination__page--selected {
|
|
608
|
+
background: #d1d4e3;
|
|
609
|
+
border-color: #181c56;
|
|
610
|
+
color: inherit;
|
|
611
|
+
opacity: 1;
|
|
612
|
+
pointer-events: none;
|
|
613
|
+
}
|
|
614
|
+
.eds-contrast .eds-pagination__page--selected {
|
|
615
|
+
border-color: #ffffff;
|
|
616
|
+
background: #393d79;
|
|
617
|
+
}
|
|
618
|
+
.eds-pagination__page--disabled {
|
|
619
|
+
opacity: 0.5;
|
|
620
|
+
pointer-events: none;
|
|
621
|
+
}
|
|
622
|
+
.eds-pagination__page:hover {
|
|
623
|
+
background-color: #d1d4e3;
|
|
624
|
+
border-color: #d1d4e3;
|
|
625
|
+
}
|
|
626
|
+
.eds-contrast .eds-pagination__page:hover {
|
|
627
|
+
background-color: #393d79;
|
|
628
|
+
border-color: #393d79;
|
|
629
|
+
}
|
|
630
|
+
.eds-pagination__page:focus {
|
|
631
|
+
outline: none;
|
|
632
|
+
border-color: #181c56;
|
|
633
|
+
}
|
|
634
|
+
.eds-contrast .eds-pagination__page:focus {
|
|
635
|
+
border-color: #ffffff;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.eds-pagination__ellipsis {
|
|
639
|
+
align-items: baseline;
|
|
640
|
+
cursor: default;
|
|
641
|
+
display: flex;
|
|
642
|
+
font-size: 1.5rem;
|
|
643
|
+
height: 2rem;
|
|
644
|
+
justify-content: center;
|
|
645
|
+
-webkit-user-select: none;
|
|
646
|
+
-moz-user-select: none;
|
|
647
|
+
user-select: none;
|
|
648
|
+
width: 2rem;
|
|
649
|
+
margin: 0 2px;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.eds-pagination__input-wrapper {
|
|
653
|
+
white-space: nowrap;
|
|
654
|
+
}
|
|
655
|
+
.eds-pagination__input-label {
|
|
656
|
+
border-left: 0.0625rem solid #d1d3d3;
|
|
657
|
+
color: #656782;
|
|
658
|
+
font-size: 0.875rem;
|
|
659
|
+
margin-left: 0.5rem;
|
|
660
|
+
padding: 0 1rem;
|
|
661
|
+
}
|
|
662
|
+
.eds-contrast .eds-pagination__input-label {
|
|
663
|
+
border-color: #393d79;
|
|
664
|
+
color: #aeb7e2;
|
|
665
|
+
}
|
|
666
|
+
.eds-pagination__input-field {
|
|
667
|
+
-webkit-appearance: none;
|
|
668
|
+
-moz-appearance: none;
|
|
669
|
+
appearance: none;
|
|
670
|
+
background: transparent;
|
|
671
|
+
border: 0.0625rem solid #d1d3d3;
|
|
672
|
+
border-radius: 0.25rem;
|
|
673
|
+
color: inherit;
|
|
674
|
+
font-family: inherit;
|
|
675
|
+
font-size: 0.875rem;
|
|
676
|
+
height: 2rem;
|
|
677
|
+
text-align: center;
|
|
678
|
+
width: 2rem;
|
|
679
|
+
}
|
|
680
|
+
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
681
|
+
-webkit-appearance: none;
|
|
682
|
+
appearance: none;
|
|
683
|
+
margin: 0;
|
|
684
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.40",
|
|
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.0.
|
|
32
|
-
"@entur/expand": "^3.3.
|
|
33
|
-
"@entur/icons": "^6.2.
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/typography": "^1.7.
|
|
30
|
+
"@entur/a11y": "^0.2.65",
|
|
31
|
+
"@entur/button": "^3.0.7",
|
|
32
|
+
"@entur/expand": "^3.3.45",
|
|
33
|
+
"@entur/icons": "^6.2.1",
|
|
34
|
+
"@entur/layout": "^2.1.31",
|
|
35
|
+
"@entur/tokens": "^3.9.0",
|
|
36
|
+
"@entur/typography": "^1.7.17",
|
|
37
37
|
"@entur/utils": "^0.9.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": "be029b3d6a7f40e805697a28daf0c5df55a6177d"
|
|
43
43
|
}
|