@entur/menu 4.1.17 → 4.1.18

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 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.18](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.17...@entur/menu@4.1.18) (2022-10-31)
7
+
8
+ **Note:** Version bump only for package @entur/menu
9
+
6
10
  ## [4.1.17](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.16...@entur/menu@4.1.17) (2022-10-31)
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;
@@ -166,6 +220,167 @@
166
220
  background: #aeb7e2;
167
221
  }/* DO NOT CHANGE!*/
168
222
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
223
+ .eds-pagination {
224
+ align-items: center;
225
+ display: flex;
226
+ flex-wrap: wrap;
227
+ row-gap: 0.75rem;
228
+ justify-content: space-between;
229
+ }
230
+ .eds-pagination__results {
231
+ align-items: center;
232
+ display: flex;
233
+ flex: 1;
234
+ justify-content: flex-start;
235
+ }
236
+ .eds-pagination__results-label {
237
+ margin-right: 0.5rem;
238
+ }
239
+ .eds-pagination__controls {
240
+ align-items: center;
241
+ display: flex;
242
+ justify-content: center;
243
+ }
244
+ .eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
245
+ margin: 0 auto;
246
+ }
247
+
248
+ .eds-pagination-menu__menu-button {
249
+ -webkit-appearance: none;
250
+ -moz-appearance: none;
251
+ appearance: none;
252
+ background: transparent;
253
+ border: 0.0625rem solid #d1d3d3;
254
+ border-radius: 0.25rem;
255
+ color: inherit;
256
+ font-family: inherit;
257
+ display: flex;
258
+ align-items: center;
259
+ justify-content: space-around;
260
+ height: 2rem;
261
+ margin-left: 0.25rem;
262
+ margin-right: 1rem;
263
+ width: 3.5rem;
264
+ }
265
+ .eds-pagination-menu__menu-button--open {
266
+ border-color: currentColor;
267
+ }
268
+ .eds-pagination-menu__menu-button:focus {
269
+ outline: none;
270
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
271
+ }
272
+ .eds-pagination-menu__menu-list {
273
+ width: 3.5rem;
274
+ }
275
+
276
+ .eds-pagination__page {
277
+ align-items: center;
278
+ -webkit-appearance: none;
279
+ -moz-appearance: none;
280
+ appearance: none;
281
+ background: transparent;
282
+ border: 0.0625rem solid #d1d3d3;
283
+ border-color: #d1d3d3;
284
+ border-radius: 0.25rem;
285
+ color: inherit;
286
+ cursor: pointer;
287
+ display: flex;
288
+ font-family: inherit;
289
+ font-size: 0.875rem;
290
+ height: 2rem;
291
+ justify-content: center;
292
+ margin: 0 0.125rem;
293
+ padding: 0 0.25rem;
294
+ transition: background 0.1s ease-out, border-color 0.1s ease-out;
295
+ -webkit-user-select: none;
296
+ -moz-user-select: none;
297
+ -ms-user-select: none;
298
+ user-select: none;
299
+ min-width: 2rem;
300
+ }
301
+ .eds-contrast .eds-pagination__page {
302
+ border-color: #54568c;
303
+ }
304
+ .eds-pagination__page--selected {
305
+ background: #d1d4e3;
306
+ border-color: #181c56;
307
+ color: inherit;
308
+ opacity: 1;
309
+ pointer-events: none;
310
+ }
311
+ .eds-contrast .eds-pagination__page--selected {
312
+ border-color: #ffffff;
313
+ background: #393d79;
314
+ }
315
+ .eds-pagination__page--disabled {
316
+ opacity: 0.5;
317
+ pointer-events: none;
318
+ }
319
+ .eds-pagination__page:hover {
320
+ background-color: #d1d4e3;
321
+ border-color: #d1d4e3;
322
+ }
323
+ .eds-contrast .eds-pagination__page:hover {
324
+ background-color: #393d79;
325
+ border-color: #393d79;
326
+ }
327
+ .eds-pagination__page:focus {
328
+ outline: none;
329
+ border-color: #181c56;
330
+ }
331
+ .eds-contrast .eds-pagination__page:focus {
332
+ border-color: #ffffff;
333
+ }
334
+
335
+ .eds-pagination__ellipsis {
336
+ align-items: baseline;
337
+ cursor: default;
338
+ display: flex;
339
+ font-size: 1.5rem;
340
+ height: 2rem;
341
+ justify-content: center;
342
+ -webkit-user-select: none;
343
+ -moz-user-select: none;
344
+ -ms-user-select: none;
345
+ user-select: none;
346
+ width: 2rem;
347
+ margin: 0 2px;
348
+ }
349
+
350
+ .eds-pagination__input-wrapper {
351
+ white-space: nowrap;
352
+ }
353
+ .eds-pagination__input-label {
354
+ border-left: 0.0625rem solid #d1d3d3;
355
+ color: #656782;
356
+ font-size: 0.875rem;
357
+ margin-left: 0.5rem;
358
+ padding: 0 1rem;
359
+ }
360
+ .eds-contrast .eds-pagination__input-label {
361
+ border-color: #393d79;
362
+ color: #aeb7e2;
363
+ }
364
+ .eds-pagination__input-field {
365
+ -webkit-appearance: none;
366
+ -moz-appearance: none;
367
+ appearance: none;
368
+ background: transparent;
369
+ border: 0.0625rem solid #d1d3d3;
370
+ border-radius: 0.25rem;
371
+ color: inherit;
372
+ font-family: inherit;
373
+ font-size: 0.875rem;
374
+ height: 2rem;
375
+ text-align: center;
376
+ width: 2rem;
377
+ }
378
+ .eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
379
+ -webkit-appearance: none;
380
+ appearance: none;
381
+ margin: 0;
382
+ }/* DO NOT CHANGE!*/
383
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
169
384
  /* DO NOT CHANGE!*/
170
385
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
171
386
  .eds-side-navigation,
@@ -385,60 +600,6 @@
385
600
  outline: 2px solid #ffffff;
386
601
  }/* DO NOT CHANGE!*/
387
602
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
388
- .eds-breadcrumb {
389
- list-style: none;
390
- margin: 0;
391
- padding: 0;
392
- }
393
-
394
- .eds-breadcrumb__item {
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;
416
- }
417
- .eds-breadcrumb__link:focus {
418
- outline: none;
419
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
420
- outline-offset: 0.125rem;
421
- }
422
- @-webkit-keyframes eds-breadcrumb-underline {
423
- from {
424
- background-size: 0% 0.125rem;
425
- }
426
- to {
427
- background-size: 100% 0.125rem;
428
- }
429
- }
430
- @keyframes eds-breadcrumb-underline {
431
- from {
432
- background-size: 0% 0.125rem;
433
- }
434
- to {
435
- background-size: 100% 0.125rem;
436
- }
437
- }
438
- .eds-breadcrumb__link--current {
439
- font-weight: 600;
440
- }/* DO NOT CHANGE!*/
441
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
442
603
  .eds-overflow-menu__item {
443
604
  -webkit-appearance: none;
444
605
  -moz-appearance: none;
@@ -534,165 +695,4 @@
534
695
  [data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
535
696
  position: relative;
536
697
  right: calc(100% - 2rem);
537
- }/* DO NOT CHANGE!*/
538
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
539
- .eds-pagination {
540
- align-items: center;
541
- display: flex;
542
- flex-wrap: wrap;
543
- row-gap: 0.75rem;
544
- justify-content: space-between;
545
- }
546
- .eds-pagination__results {
547
- align-items: center;
548
- display: flex;
549
- flex: 1;
550
- justify-content: flex-start;
551
- }
552
- .eds-pagination__results-label {
553
- margin-right: 0.5rem;
554
- }
555
- .eds-pagination__controls {
556
- align-items: center;
557
- display: flex;
558
- justify-content: center;
559
- }
560
- .eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
561
- margin: 0 auto;
562
- }
563
-
564
- .eds-pagination-menu__menu-button {
565
- -webkit-appearance: none;
566
- -moz-appearance: none;
567
- appearance: none;
568
- background: transparent;
569
- border: 0.0625rem solid #d1d3d3;
570
- border-radius: 0.25rem;
571
- color: inherit;
572
- font-family: inherit;
573
- display: flex;
574
- align-items: center;
575
- justify-content: space-around;
576
- height: 2rem;
577
- margin-left: 0.25rem;
578
- margin-right: 1rem;
579
- width: 3.5rem;
580
- }
581
- .eds-pagination-menu__menu-button--open {
582
- border-color: currentColor;
583
- }
584
- .eds-pagination-menu__menu-button:focus {
585
- outline: none;
586
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
587
- }
588
- .eds-pagination-menu__menu-list {
589
- width: 3.5rem;
590
- }
591
-
592
- .eds-pagination__page {
593
- align-items: center;
594
- -webkit-appearance: none;
595
- -moz-appearance: none;
596
- appearance: none;
597
- background: transparent;
598
- border: 0.0625rem solid #d1d3d3;
599
- border-color: #d1d3d3;
600
- border-radius: 0.25rem;
601
- color: inherit;
602
- cursor: pointer;
603
- display: flex;
604
- font-family: inherit;
605
- font-size: 0.875rem;
606
- height: 2rem;
607
- justify-content: center;
608
- margin: 0 0.125rem;
609
- padding: 0 0.25rem;
610
- transition: background 0.1s ease-out, border-color 0.1s ease-out;
611
- -webkit-user-select: none;
612
- -moz-user-select: none;
613
- -ms-user-select: none;
614
- user-select: none;
615
- min-width: 2rem;
616
- }
617
- .eds-contrast .eds-pagination__page {
618
- border-color: #54568c;
619
- }
620
- .eds-pagination__page--selected {
621
- background: #d1d4e3;
622
- border-color: #181c56;
623
- color: inherit;
624
- opacity: 1;
625
- pointer-events: none;
626
- }
627
- .eds-contrast .eds-pagination__page--selected {
628
- border-color: #ffffff;
629
- background: #393d79;
630
- }
631
- .eds-pagination__page--disabled {
632
- opacity: 0.5;
633
- pointer-events: none;
634
- }
635
- .eds-pagination__page:hover {
636
- background-color: #d1d4e3;
637
- border-color: #d1d4e3;
638
- }
639
- .eds-contrast .eds-pagination__page:hover {
640
- background-color: #393d79;
641
- border-color: #393d79;
642
- }
643
- .eds-pagination__page:focus {
644
- outline: none;
645
- border-color: #181c56;
646
- }
647
- .eds-contrast .eds-pagination__page:focus {
648
- border-color: #ffffff;
649
- }
650
-
651
- .eds-pagination__ellipsis {
652
- align-items: baseline;
653
- cursor: default;
654
- display: flex;
655
- font-size: 1.5rem;
656
- height: 2rem;
657
- justify-content: center;
658
- -webkit-user-select: none;
659
- -moz-user-select: none;
660
- -ms-user-select: none;
661
- user-select: none;
662
- width: 2rem;
663
- margin: 0 2px;
664
- }
665
-
666
- .eds-pagination__input-wrapper {
667
- white-space: nowrap;
668
- }
669
- .eds-pagination__input-label {
670
- border-left: 0.0625rem solid #d1d3d3;
671
- color: #656782;
672
- font-size: 0.875rem;
673
- margin-left: 0.5rem;
674
- padding: 0 1rem;
675
- }
676
- .eds-contrast .eds-pagination__input-label {
677
- border-color: #393d79;
678
- color: #aeb7e2;
679
- }
680
- .eds-pagination__input-field {
681
- -webkit-appearance: none;
682
- -moz-appearance: none;
683
- appearance: none;
684
- background: transparent;
685
- border: 0.0625rem solid #d1d3d3;
686
- border-radius: 0.25rem;
687
- color: inherit;
688
- font-family: inherit;
689
- font-size: 0.875rem;
690
- height: 2rem;
691
- text-align: center;
692
- width: 2rem;
693
- }
694
- .eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
695
- -webkit-appearance: none;
696
- appearance: none;
697
- margin: 0;
698
698
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "4.1.17",
3
+ "version": "4.1.18",
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.49",
27
- "@entur/button": "^2.10.4",
28
- "@entur/expand": "^3.3.25",
29
- "@entur/icons": "^5.2.1",
30
- "@entur/layout": "^2.1.11",
26
+ "@entur/a11y": "^0.2.50",
27
+ "@entur/button": "^2.10.5",
28
+ "@entur/expand": "^3.3.26",
29
+ "@entur/icons": "^5.2.2",
30
+ "@entur/layout": "^2.1.12",
31
31
  "@entur/tokens": "^3.4.1",
32
- "@entur/typography": "^1.7.0",
33
- "@entur/utils": "^0.4.5",
32
+ "@entur/typography": "^1.7.1",
33
+ "@entur/utils": "^0.4.6",
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": "09829f0914d2ee5740f584cfd2be4d9d2b5fc18a"
41
+ "gitHead": "11fde5ffbfd805773572c3a7d999d63f2733e0c7"
42
42
  }