@entur-partner/common 6.0.0 → 7.0.1-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
@@ -11,6 +11,27 @@ main .eds-table--sticky-header--active .eds-table__head,
11
11
  top: 1rem;
12
12
  }/* DO NOT CHANGE!*/
13
13
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
14
+ button.eps-link-button {
15
+ cursor: pointer;
16
+ }
17
+ button.eps-link-button, button.eps-link-button:hover, button.eps-link-button:focus, button.eps-link-button:active:focus, button.eps-link-button:active:hover, button.eps-link-button:active {
18
+ background: none;
19
+ background-color: inherit;
20
+ border: none;
21
+ padding: 0;
22
+ }
23
+ button.eps-link-button:hover {
24
+ color: #aeb7e2;
25
+ }/* DO NOT CHANGE!*/
26
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
27
+ .eps-logo-wrapper {
28
+ display: inline-block;
29
+ }
30
+ .eps-logo-wrapper .logo {
31
+ height: auto;
32
+ width: 170px;
33
+ }/* DO NOT CHANGE!*/
34
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
14
35
  /* DO NOT CHANGE!*/
15
36
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
16
37
  .eps-action-bar {
@@ -47,38 +68,6 @@ main .eds-table--sticky-header--active .eds-table__head,
47
68
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
48
69
  /* DO NOT CHANGE!*/
49
70
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
50
- .eps-content {
51
- margin: 1rem;
52
- }
53
- @media screen and (min-width: 50rem) {
54
- .eps-content {
55
- margin: 1.5rem 1.5rem 1.5rem 22rem;
56
- }
57
- }/* DO NOT CHANGE!*/
58
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
59
- button.eps-link-button {
60
- cursor: pointer;
61
- }
62
- button.eps-link-button, button.eps-link-button:hover, button.eps-link-button:focus, button.eps-link-button:active:focus, button.eps-link-button:active:hover, button.eps-link-button:active {
63
- background: none;
64
- background-color: inherit;
65
- border: none;
66
- padding: 0;
67
- }
68
- button.eps-link-button:hover {
69
- color: #aeb7e2;
70
- }/* DO NOT CHANGE!*/
71
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
72
- .eps-logo-wrapper {
73
- display: inline-block;
74
- }
75
- .eps-logo-wrapper .logo {
76
- height: auto;
77
- width: 170px;
78
- }/* DO NOT CHANGE!*/
79
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
80
- /* DO NOT CHANGE!*/
81
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
82
71
  .eps-menu {
83
72
  position: relative;
84
73
  width: 100%;
@@ -95,26 +84,15 @@ button.eps-link-button:hover {
95
84
  }
96
85
  }/* DO NOT CHANGE!*/
97
86
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
98
- .eps-language-select {
99
- color: #181c56;
100
- }
101
- .eps-language-select label {
102
- flex: initial;
87
+ /* DO NOT CHANGE!*/
88
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
89
+ .eps-content {
90
+ margin: 1rem;
103
91
  }
104
- .eps-language-select .asterisk-margin {
105
- margin-left: 0.125rem;
106
- }.eps-unbutton, .eps-unbutton:hover, .eps-unbutton:focus, .eps-unbutton:active:focus, .eps-unbutton:active:hover, .eps-unbutton:active {
107
- background: none;
108
- background-color: inherit;
109
- color: inherit;
110
- border: none;
111
- padding: 0;
112
- font: inherit;
113
- outline: inherit;
114
- height: inherit;
115
- min-width: inherit;
116
- }.multi-language-input:focus {
117
- outline: none;
92
+ @media screen and (min-width: 50rem) {
93
+ .eps-content {
94
+ margin: 1.5rem 1.5rem 1.5rem 22rem;
95
+ }
118
96
  }/* DO NOT CHANGE!*/
119
97
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
120
98
  /**
@@ -209,6 +187,26 @@ button.eps-link-button:hover {
209
187
  border: solid 0.0625rem #54568c;
210
188
  }/* DO NOT CHANGE!*/
211
189
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
190
+ .eps-language-select {
191
+ color: #181c56;
192
+ }
193
+ .eps-language-select label {
194
+ flex: initial;
195
+ }
196
+ .eps-language-select .asterisk-margin {
197
+ margin-left: 0.125rem;
198
+ }.eps-unbutton, .eps-unbutton:hover, .eps-unbutton:focus, .eps-unbutton:active:focus, .eps-unbutton:active:hover, .eps-unbutton:active {
199
+ background: none;
200
+ background-color: inherit;
201
+ color: inherit;
202
+ border: none;
203
+ padding: 0;
204
+ font: inherit;
205
+ outline: inherit;
206
+ height: inherit;
207
+ min-width: inherit;
208
+ }/* DO NOT CHANGE!*/
209
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
212
210
  .ep-audit-info {
213
211
  float: right;
214
212
  margin-top: 1rem;
@@ -222,12 +220,35 @@ button.eps-link-button:hover {
222
220
  .ep-audit-info-label {
223
221
  margin-right: 3rem;
224
222
  font-weight: 600;
223
+ }.multi-language-input:focus {
224
+ outline: none;
225
225
  }/* DO NOT CHANGE!*/
226
226
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
227
227
  .eps-confirm-modal-content {
228
228
  margin-bottom: 1rem;
229
229
  }/* DO NOT CHANGE!*/
230
230
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
231
+ .eps-status-label {
232
+ display: flex;
233
+ align-items: center;
234
+ }
235
+ .eps-status-label.center {
236
+ justify-content: center;
237
+ }
238
+ .eps-status-label__bullet {
239
+ padding: 5px;
240
+ margin-bottom: 4px;
241
+ border-radius: 50%;
242
+ background: #d1d3d3;
243
+ margin-right: 10px;
244
+ }
245
+ .eps-status-label__bullet.aggressive {
246
+ background: #ff5959;
247
+ }
248
+ .eps-status-label__bullet.active {
249
+ background: #1a8e60;
250
+ }/* DO NOT CHANGE!*/
251
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
231
252
  /* DO NOT CHANGE!*/
232
253
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
233
254
  .eps-pt-none {
@@ -2472,6 +2493,8 @@ button.eps-link-button:hover {
2472
2493
 
2473
2494
  .eps-bg-lavender {
2474
2495
  background-color: #aeb7e2;
2496
+ }ol.eds-breadcrumbs {
2497
+ padding: 0;
2475
2498
  }/* DO NOT CHANGE!*/
2476
2499
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2477
2500
  /* DO NOT CHANGE!*/
@@ -2748,27 +2771,4 @@ button.eps-link-button:hover {
2748
2771
 
2749
2772
  .eps-font-weight-heading {
2750
2773
  font-weight: 1rem;
2751
- }/* DO NOT CHANGE!*/
2752
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
2753
- .eps-status-label {
2754
- display: flex;
2755
- align-items: center;
2756
- }
2757
- .eps-status-label.center {
2758
- justify-content: center;
2759
- }
2760
- .eps-status-label__bullet {
2761
- padding: 5px;
2762
- margin-bottom: 4px;
2763
- border-radius: 50%;
2764
- background: #d1d3d3;
2765
- margin-right: 10px;
2766
- }
2767
- .eps-status-label__bullet.aggressive {
2768
- background: #ff5959;
2769
- }
2770
- .eps-status-label__bullet.active {
2771
- background: #1a8e60;
2772
- }ol.eds-breadcrumbs {
2773
- padding: 0;
2774
2774
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur-partner/common",
3
- "version": "6.0.0",
3
+ "version": "7.0.1-alpha.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/common.esm.js",
@@ -45,7 +45,7 @@
45
45
  "@entur/tokens": "3.12.0",
46
46
  "identity-obj-proxy": "3.0.0",
47
47
  "react-helmet-async": "1.3.0",
48
- "react-router-dom": "6.22.0"
48
+ "react-router-dom": "6.22.3"
49
49
  },
50
50
  "jest": {
51
51
  "moduleNameMapper": {
@@ -60,5 +60,5 @@
60
60
  "reportFile": "jest-sonar-report.xml",
61
61
  "indent": 4
62
62
  },
63
- "gitHead": "64d45488508b00189bc3a33f3295e76f625bf7a7"
63
+ "gitHead": "f02e30dfff2ab30a1898fdc90761f8147dcbf629"
64
64
  }
@@ -1,11 +0,0 @@
1
- import { BusinessCapability } from '@entur-partner/permission-client-node';
2
- import React from 'react';
3
- import { PathRouteProps } from 'react-router-dom';
4
- interface PermissionCheckedRouteProps extends PathRouteProps, Omit<PathRouteProps, 'location'> {
5
- actualPermissions: BusinessCapability[];
6
- all?: BusinessCapability[];
7
- oneOf?: BusinessCapability[];
8
- onReject?: React.ReactNode;
9
- }
10
- export declare const PermissionCheckedRoute: ({ children, actualPermissions, all, oneOf, onReject, ...props }: PermissionCheckedRouteProps) => JSX.Element;
11
- export {};