@entur-partner/common 8.0.1 → 8.0.4
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/UserMenu/components/CustomOverflowMenu.d.ts +11 -0
- package/dist/UserMenu/components/CustomOverflowMenuItem.d.ts +3 -0
- package/dist/UserMenu/components/LanguageSwitchMenuItem.d.ts +10 -0
- package/dist/UserMenu/components/LogOutMenuItem.d.ts +9 -0
- package/dist/UserMenu/components/UserMenuItem.d.ts +9 -0
- package/dist/UserMenu/components/VersionMenuItem.d.ts +5 -0
- package/dist/{UserMenu.d.ts → UserMenu/index.d.ts} +3 -7
- package/dist/UserMenu/useOutsideClick.d.ts +2 -0
- package/dist/common.cjs.development.js +167 -125
- package/dist/common.cjs.development.js.map +1 -1
- package/dist/common.cjs.production.min.js +1 -1
- package/dist/common.cjs.production.min.js.map +1 -1
- package/dist/common.esm.js +169 -127
- package/dist/common.esm.js.map +1 -1
- package/dist/styles.css +60 -60
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -26,6 +26,24 @@ button.eps-link-button:hover {
|
|
|
26
26
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
27
27
|
/* DO NOT CHANGE!*/
|
|
28
28
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
29
|
+
.eps-menu {
|
|
30
|
+
position: relative;
|
|
31
|
+
width: 100%;
|
|
32
|
+
z-index: 30;
|
|
33
|
+
}
|
|
34
|
+
@media screen and (min-width: 50rem) {
|
|
35
|
+
.eps-menu {
|
|
36
|
+
left: 0;
|
|
37
|
+
top: 0;
|
|
38
|
+
position: fixed;
|
|
39
|
+
height: 100vh;
|
|
40
|
+
width: 20rem;
|
|
41
|
+
overflow-y: scroll;
|
|
42
|
+
}
|
|
43
|
+
}/* DO NOT CHANGE!*/
|
|
44
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
45
|
+
/* DO NOT CHANGE!*/
|
|
46
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
29
47
|
.eps-action-bar {
|
|
30
48
|
position: fixed;
|
|
31
49
|
bottom: 0;
|
|
@@ -58,24 +76,6 @@ button.eps-link-button:hover {
|
|
|
58
76
|
height: 100px;
|
|
59
77
|
}/* DO NOT CHANGE!*/
|
|
60
78
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
61
|
-
/* DO NOT CHANGE!*/
|
|
62
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
63
|
-
.eps-menu {
|
|
64
|
-
position: relative;
|
|
65
|
-
width: 100%;
|
|
66
|
-
z-index: 30;
|
|
67
|
-
}
|
|
68
|
-
@media screen and (min-width: 50rem) {
|
|
69
|
-
.eps-menu {
|
|
70
|
-
left: 0;
|
|
71
|
-
top: 0;
|
|
72
|
-
position: fixed;
|
|
73
|
-
height: 100vh;
|
|
74
|
-
width: 20rem;
|
|
75
|
-
overflow-y: scroll;
|
|
76
|
-
}
|
|
77
|
-
}/* DO NOT CHANGE!*/
|
|
78
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
79
79
|
.eps-logo-wrapper {
|
|
80
80
|
display: inline-block;
|
|
81
81
|
}
|
|
@@ -94,6 +94,44 @@ button.eps-link-button:hover {
|
|
|
94
94
|
margin-left: 0.125rem;
|
|
95
95
|
}/* DO NOT CHANGE!*/
|
|
96
96
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
97
|
+
/* DO NOT CHANGE!*/
|
|
98
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
99
|
+
.eps-content {
|
|
100
|
+
margin: 1rem;
|
|
101
|
+
}
|
|
102
|
+
@media screen and (min-width: 50rem) {
|
|
103
|
+
.eps-content {
|
|
104
|
+
margin: 1.5rem 1.5rem 1.5rem 22rem;
|
|
105
|
+
}
|
|
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;
|
|
118
|
+
}/* DO NOT CHANGE!*/
|
|
119
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
120
|
+
.ep-audit-info {
|
|
121
|
+
float: right;
|
|
122
|
+
margin-top: 1rem;
|
|
123
|
+
font-size: 0.875rem;
|
|
124
|
+
}
|
|
125
|
+
.ep-audit-info > div {
|
|
126
|
+
display: flex;
|
|
127
|
+
justify-content: space-between;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ep-audit-info-label {
|
|
131
|
+
margin-right: 3rem;
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
}/* DO NOT CHANGE!*/
|
|
134
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
97
135
|
/**
|
|
98
136
|
PS! We use #eps-user-menu to prevent the micro frontends overriding the styles. By using
|
|
99
137
|
an id we have a higher specificity. We should explore a better solution later. Ideally
|
|
@@ -186,42 +224,8 @@ button.eps-link-button:hover {
|
|
|
186
224
|
border: solid 0.0625rem #54568c;
|
|
187
225
|
}/* DO NOT CHANGE!*/
|
|
188
226
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
.eps-content {
|
|
192
|
-
margin: 1rem;
|
|
193
|
-
}
|
|
194
|
-
@media screen and (min-width: 50rem) {
|
|
195
|
-
.eps-content {
|
|
196
|
-
margin: 1.5rem 1.5rem 1.5rem 22rem;
|
|
197
|
-
}
|
|
198
|
-
}.multi-language-input:focus {
|
|
199
|
-
outline: none;
|
|
200
|
-
}.eps-unbutton, .eps-unbutton:hover, .eps-unbutton:focus, .eps-unbutton:active:focus, .eps-unbutton:active:hover, .eps-unbutton:active {
|
|
201
|
-
background: none;
|
|
202
|
-
background-color: inherit;
|
|
203
|
-
color: inherit;
|
|
204
|
-
border: none;
|
|
205
|
-
padding: 0;
|
|
206
|
-
font: inherit;
|
|
207
|
-
outline: inherit;
|
|
208
|
-
height: inherit;
|
|
209
|
-
min-width: inherit;
|
|
210
|
-
}/* DO NOT CHANGE!*/
|
|
211
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
212
|
-
.ep-audit-info {
|
|
213
|
-
float: right;
|
|
214
|
-
margin-top: 1rem;
|
|
215
|
-
font-size: 0.875rem;
|
|
216
|
-
}
|
|
217
|
-
.ep-audit-info > div {
|
|
218
|
-
display: flex;
|
|
219
|
-
justify-content: space-between;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.ep-audit-info-label {
|
|
223
|
-
margin-right: 3rem;
|
|
224
|
-
font-weight: 600;
|
|
227
|
+
.eps-confirm-modal-content {
|
|
228
|
+
margin-bottom: 1rem;
|
|
225
229
|
}/* DO NOT CHANGE!*/
|
|
226
230
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
227
231
|
/* DO NOT CHANGE!*/
|
|
@@ -2470,12 +2474,6 @@ button.eps-link-button:hover {
|
|
|
2470
2474
|
background-color: #aeb7e2;
|
|
2471
2475
|
}/* DO NOT CHANGE!*/
|
|
2472
2476
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
2473
|
-
.eps-confirm-modal-content {
|
|
2474
|
-
margin-bottom: 1rem;
|
|
2475
|
-
}ol.eds-breadcrumbs {
|
|
2476
|
-
padding: 0;
|
|
2477
|
-
}/* DO NOT CHANGE!*/
|
|
2478
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
2479
2477
|
.eps-status-label {
|
|
2480
2478
|
display: flex;
|
|
2481
2479
|
align-items: center;
|
|
@@ -2495,6 +2493,8 @@ button.eps-link-button:hover {
|
|
|
2495
2493
|
}
|
|
2496
2494
|
.eps-status-label__bullet.active {
|
|
2497
2495
|
background: #1a8e60;
|
|
2496
|
+
}ol.eds-breadcrumbs {
|
|
2497
|
+
padding: 0;
|
|
2498
2498
|
}/* DO NOT CHANGE!*/
|
|
2499
2499
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
2500
2500
|
/* DO NOT CHANGE!*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur-partner/common",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/common.esm.js",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"react-router-dom": "^6.22.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@entur-partner/util": "^1.2.
|
|
40
|
+
"@entur-partner/util": "^1.2.3",
|
|
41
41
|
"classnames": "^2.2.6"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@entur-partner/permission-client-node": "2.3.2",
|
|
45
|
-
"@entur/tokens": "3.
|
|
45
|
+
"@entur/tokens": "3.17.3",
|
|
46
46
|
"identity-obj-proxy": "3.0.0",
|
|
47
47
|
"react-helmet-async": "1.3.0",
|
|
48
|
-
"react-router-dom": "6.
|
|
48
|
+
"react-router-dom": "6.28.0"
|
|
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": "
|
|
63
|
+
"gitHead": "37d8445b21bd76a2e89ba280037acf4df7ef4996"
|
|
64
64
|
}
|