@entur-partner/common 10.0.1 → 11.0.0-alpha.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 CHANGED
@@ -1,5 +1,67 @@
1
+ @import '@entur/loader/dist/styles.css';
1
2
  /* DO NOT CHANGE!*/
2
3
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
4
+ .top-navigation {
5
+ display: flex;
6
+ align-items: center;
7
+ position: fixed;
8
+ top: 0;
9
+ left: 0;
10
+ padding-inline: 2.5rem;
11
+ justify-content: flex-start;
12
+ border-bottom: 0.125rem solid var(--designentur-header-default-divider);
13
+ background: #292b6a;
14
+ width: 100%;
15
+ height: 5rem;
16
+ z-index: 20;
17
+ transition: margin-left 0.1s ease-out;
18
+ gap: 1.5rem;
19
+ }
20
+ .top-navigation .eds-top-navigation-item {
21
+ color: white;
22
+ }
23
+ .top-navigation .eds-top-navigation-item:hover {
24
+ color: white;
25
+ }
26
+ .top-navigation .eds-top-navigation-item--active {
27
+ color: white;
28
+ font-weight: bold;
29
+ }
30
+ .top-navigation--frontpage {
31
+ border-bottom: none;
32
+ }
33
+ .top-navigation__logo {
34
+ margin-right: 1.5rem;
35
+ }
36
+ .top-navigation__logo:focus-visible {
37
+ outline: none;
38
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
39
+ outline-offset: 0.125rem;
40
+ }
41
+ .top-navigation__actions {
42
+ margin-left: auto;
43
+ display: flex;
44
+ align-items: center;
45
+ }
46
+ .top-navigation__button {
47
+ color: #ffffff;
48
+ }
49
+ .top-navigation__button:hover {
50
+ color: #292b6a;
51
+ }
52
+ @media screen and (max-width: 1108px) {
53
+ .top-navigation {
54
+ padding-inline: 1.5rem;
55
+ }
56
+ .top-navigation .eds-top-navigation-item {
57
+ font-size: 14px;
58
+ padding: 0.75rem;
59
+ }
60
+ .top-navigation__logo {
61
+ margin-right: 1.5rem;
62
+ }
63
+ }/* DO NOT CHANGE!*/
64
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
65
  /* DO NOT CHANGE!*/
4
66
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
67
  .eps-action-bar {
@@ -2293,12 +2355,12 @@
2293
2355
 
2294
2356
  .eps-bg-lavender {
2295
2357
  background-color: #aeb7e2;
2358
+ }ol.eds-breadcrumbs {
2359
+ padding: 0;
2296
2360
  }/* DO NOT CHANGE!*/
2297
2361
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2298
2362
  .eps-confirm-modal-content {
2299
2363
  margin-bottom: 1rem;
2300
- }ol.eds-breadcrumbs {
2301
- padding: 0;
2302
2364
  }/* DO NOT CHANGE!*/
2303
2365
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2304
2366
  /* DO NOT CHANGE!*/
@@ -2310,6 +2372,23 @@
2310
2372
  .eps-content {
2311
2373
  margin: 1.5rem 1.5rem 1.5rem 22rem;
2312
2374
  }
2375
+ }
2376
+
2377
+ .eps-public-content {
2378
+ padding-top: 5rem;
2379
+ }
2380
+ @media screen and (min-width: 50rem) {
2381
+ .eps-public-content {
2382
+ margin-left: 12rem;
2383
+ }
2384
+ }/* DO NOT CHANGE!*/
2385
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2386
+ .eps-logo-wrapper {
2387
+ display: inline-block;
2388
+ }
2389
+ .eps-logo-wrapper .logo {
2390
+ height: auto;
2391
+ width: 170px;
2313
2392
  }/* DO NOT CHANGE!*/
2314
2393
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2315
2394
  .eps-language-select {
@@ -2337,6 +2416,27 @@ button.eps-link-button:hover {
2337
2416
  outline: none;
2338
2417
  }/* DO NOT CHANGE!*/
2339
2418
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2419
+ .eps-status-label {
2420
+ display: flex;
2421
+ align-items: center;
2422
+ }
2423
+ .eps-status-label.center {
2424
+ justify-content: center;
2425
+ }
2426
+ .eps-status-label__bullet {
2427
+ padding: 5px;
2428
+ margin-bottom: 4px;
2429
+ border-radius: 50%;
2430
+ background: #d1d3d3;
2431
+ margin-right: 10px;
2432
+ }
2433
+ .eps-status-label__bullet.aggressive {
2434
+ background: #ff5959;
2435
+ }
2436
+ .eps-status-label__bullet.active {
2437
+ background: #1a8e60;
2438
+ }/* DO NOT CHANGE!*/
2439
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2340
2440
  /* DO NOT CHANGE!*/
2341
2441
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2342
2442
  .eps-font-size-extraSmall {
@@ -2611,27 +2711,6 @@ button.eps-link-button:hover {
2611
2711
 
2612
2712
  .eps-font-weight-heading {
2613
2713
  font-weight: 1rem;
2614
- }/* DO NOT CHANGE!*/
2615
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2616
- .eps-status-label {
2617
- display: flex;
2618
- align-items: center;
2619
- }
2620
- .eps-status-label.center {
2621
- justify-content: center;
2622
- }
2623
- .eps-status-label__bullet {
2624
- padding: 5px;
2625
- margin-bottom: 4px;
2626
- border-radius: 50%;
2627
- background: #d1d3d3;
2628
- margin-right: 10px;
2629
- }
2630
- .eps-status-label__bullet.aggressive {
2631
- background: #ff5959;
2632
- }
2633
- .eps-status-label__bullet.active {
2634
- background: #1a8e60;
2635
2714
  }.eps-unbutton, .eps-unbutton:hover, .eps-unbutton:focus, .eps-unbutton:active:focus, .eps-unbutton:active:hover, .eps-unbutton:active {
2636
2715
  background: none;
2637
2716
  background-color: inherit;
@@ -2736,14 +2815,6 @@ button.eps-link-button:hover {
2736
2815
  border: solid 0.0625rem #54568c;
2737
2816
  }/* DO NOT CHANGE!*/
2738
2817
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2739
- .eps-logo-wrapper {
2740
- display: inline-block;
2741
- }
2742
- .eps-logo-wrapper .logo {
2743
- height: auto;
2744
- width: 170px;
2745
- }/* DO NOT CHANGE!*/
2746
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2747
2818
  /* DO NOT CHANGE!*/
2748
2819
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2749
2820
  .eps-menu {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur-partner/common",
3
- "version": "10.0.1",
3
+ "version": "11.0.0-alpha.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/common.esm.js",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@entur-partner/permission-client-node": "3.4.6",
44
- "@entur/tokens": "3.17.3",
44
+ "@entur/tokens": "3.20.0",
45
45
  "identity-obj-proxy": "3.0.0",
46
46
  "react-router-dom": "6.30.1"
47
47
  },
@@ -58,5 +58,5 @@
58
58
  "reportFile": "jest-sonar-report.xml",
59
59
  "indent": 4
60
60
  },
61
- "gitHead": "b0db40c8aac1a8d043af35c5b7da726b81456110"
61
+ "gitHead": "4f7923dfa4d48067fb9403b46572a98eb4842f58"
62
62
  }