@entur-partner/common 4.4.0 → 4.5.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/common.cjs.development.js +1 -0
- 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 +1 -0
- package/dist/common.esm.js.map +1 -1
- package/dist/styles.css +71 -71
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -15,6 +15,59 @@ button.eps-link-button:hover {
|
|
|
15
15
|
color: #aeb7e2;
|
|
16
16
|
}/* DO NOT CHANGE!*/
|
|
17
17
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
18
|
+
.eps-logo-wrapper {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
}
|
|
21
|
+
.eps-logo-wrapper .logo {
|
|
22
|
+
height: auto;
|
|
23
|
+
width: 170px;
|
|
24
|
+
}/* DO NOT CHANGE!*/
|
|
25
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
26
|
+
/* DO NOT CHANGE!*/
|
|
27
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
28
|
+
.eps-action-bar {
|
|
29
|
+
position: fixed;
|
|
30
|
+
bottom: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
right: 0;
|
|
33
|
+
background-color: #f8f8f8;
|
|
34
|
+
border-top: 2px solid #e9e9e9;
|
|
35
|
+
padding: 15px 15px 15px 80px;
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
z-index: 3;
|
|
39
|
+
}
|
|
40
|
+
@media screen and (min-width: 50rem) {
|
|
41
|
+
.eps-action-bar {
|
|
42
|
+
left: 20rem;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.eps-action-bar-right {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: flex-start;
|
|
48
|
+
}
|
|
49
|
+
.eps-action-bar-right > *:not(:first-child) {
|
|
50
|
+
margin-left: 1rem;
|
|
51
|
+
}
|
|
52
|
+
.eps-action-bar-left > *:not(:first-child) {
|
|
53
|
+
margin-left: 1rem;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.eps-action-bar-padding {
|
|
57
|
+
height: 100px;
|
|
58
|
+
}/* DO NOT CHANGE!*/
|
|
59
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
60
|
+
/* DO NOT CHANGE!*/
|
|
61
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
62
|
+
.eps-content {
|
|
63
|
+
margin: 1rem;
|
|
64
|
+
}
|
|
65
|
+
@media screen and (min-width: 50rem) {
|
|
66
|
+
.eps-content {
|
|
67
|
+
margin: 1.5rem 1.5rem 1.5rem 22rem;
|
|
68
|
+
}
|
|
69
|
+
}/* DO NOT CHANGE!*/
|
|
70
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
18
71
|
/**
|
|
19
72
|
PS! We use #eps-user-menu to prevent the micro frontends overriding the styles. By using
|
|
20
73
|
an id we have a higher specificity. We should explore a better solution later. Ideally
|
|
@@ -85,7 +138,7 @@ button.eps-link-button:hover {
|
|
|
85
138
|
}
|
|
86
139
|
#eps-user-menu .eps-overflow-menu__item:focus {
|
|
87
140
|
outline: none;
|
|
88
|
-
box-shadow: 0 0 0 0.
|
|
141
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
89
142
|
}
|
|
90
143
|
#eps-user-menu .eps-overflow-menu__item:hover {
|
|
91
144
|
background: #d1d3d3;
|
|
@@ -102,59 +155,8 @@ button.eps-link-button:hover {
|
|
|
102
155
|
#eps-overflow-menu .eps-overflow-menu__item {
|
|
103
156
|
border-radius: 0.25rem;
|
|
104
157
|
border: solid 0.0625rem #54568c;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* DO NOT CHANGE!*/
|
|
108
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
109
|
-
.eps-action-bar {
|
|
110
|
-
position: fixed;
|
|
111
|
-
bottom: 0;
|
|
112
|
-
left: 0;
|
|
113
|
-
right: 0;
|
|
114
|
-
background-color: #f8f8f8;
|
|
115
|
-
border-top: 2px solid #e9e9e9;
|
|
116
|
-
padding: 15px 15px 15px 80px;
|
|
117
|
-
display: flex;
|
|
118
|
-
justify-content: space-between;
|
|
119
|
-
z-index: 1;
|
|
120
|
-
}
|
|
121
|
-
@media screen and (min-width: 50rem) {
|
|
122
|
-
.eps-action-bar {
|
|
123
|
-
left: 20rem;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
.eps-action-bar-right {
|
|
127
|
-
display: flex;
|
|
128
|
-
align-items: flex-start;
|
|
129
|
-
}
|
|
130
|
-
.eps-action-bar-right > *:not(:first-child) {
|
|
131
|
-
margin-left: 1rem;
|
|
132
|
-
}
|
|
133
|
-
.eps-action-bar-left > *:not(:first-child) {
|
|
134
|
-
margin-left: 1rem;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.eps-action-bar-padding {
|
|
138
|
-
height: 100px;
|
|
139
|
-
}/* DO NOT CHANGE!*/
|
|
140
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
141
|
-
.eps-logo-wrapper {
|
|
142
|
-
display: inline-block;
|
|
143
|
-
}
|
|
144
|
-
.eps-logo-wrapper .logo {
|
|
145
|
-
height: auto;
|
|
146
|
-
width: 170px;
|
|
147
|
-
}/* DO NOT CHANGE!*/
|
|
148
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
149
|
-
/* DO NOT CHANGE!*/
|
|
150
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
151
|
-
.eps-content {
|
|
152
|
-
margin: 1rem;
|
|
153
|
-
}
|
|
154
|
-
@media screen and (min-width: 50rem) {
|
|
155
|
-
.eps-content {
|
|
156
|
-
margin: 1.5rem 1.5rem 1.5rem 22rem;
|
|
157
|
-
}
|
|
158
|
+
}.multi-language-input:focus {
|
|
159
|
+
outline: none;
|
|
158
160
|
}/* DO NOT CHANGE!*/
|
|
159
161
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
160
162
|
/* DO NOT CHANGE!*/
|
|
@@ -173,16 +175,6 @@ button.eps-link-button:hover {
|
|
|
173
175
|
width: 20rem;
|
|
174
176
|
overflow-y: scroll;
|
|
175
177
|
}
|
|
176
|
-
}/* DO NOT CHANGE!*/
|
|
177
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
178
|
-
.eps-language-select {
|
|
179
|
-
color: #181c56;
|
|
180
|
-
}
|
|
181
|
-
.eps-language-select label {
|
|
182
|
-
flex: initial;
|
|
183
|
-
}
|
|
184
|
-
.eps-language-select .asterisk-margin {
|
|
185
|
-
margin-left: 0.125rem;
|
|
186
178
|
}.eps-unbutton, .eps-unbutton:hover, .eps-unbutton:focus, .eps-unbutton:active:focus, .eps-unbutton:active:hover, .eps-unbutton:active {
|
|
187
179
|
background: none;
|
|
188
180
|
background-color: inherit;
|
|
@@ -193,8 +185,20 @@ button.eps-link-button:hover {
|
|
|
193
185
|
outline: inherit;
|
|
194
186
|
height: inherit;
|
|
195
187
|
min-width: inherit;
|
|
196
|
-
}
|
|
197
|
-
|
|
188
|
+
}/* DO NOT CHANGE!*/
|
|
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
|
+
}/* DO NOT CHANGE!*/
|
|
199
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
200
|
+
.eps-confirm-modal-content {
|
|
201
|
+
margin-bottom: 1rem;
|
|
198
202
|
}/* DO NOT CHANGE!*/
|
|
199
203
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
200
204
|
.ep-audit-info {
|
|
@@ -212,10 +216,6 @@ button.eps-link-button:hover {
|
|
|
212
216
|
font-weight: 600;
|
|
213
217
|
}/* DO NOT CHANGE!*/
|
|
214
218
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
215
|
-
.eps-confirm-modal-content {
|
|
216
|
-
margin-bottom: 1rem;
|
|
217
|
-
}/* DO NOT CHANGE!*/
|
|
218
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
219
219
|
.eps-status-label {
|
|
220
220
|
display: flex;
|
|
221
221
|
align-items: center;
|
|
@@ -2452,7 +2452,7 @@ button.eps-link-button:hover {
|
|
|
2452
2452
|
}
|
|
2453
2453
|
}
|
|
2454
2454
|
.eps-color-black {
|
|
2455
|
-
color: #
|
|
2455
|
+
color: #000000;
|
|
2456
2456
|
}
|
|
2457
2457
|
|
|
2458
2458
|
.eps-color-white {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur-partner/common",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/common.esm.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@entur/button": "^2.3.6",
|
|
27
|
-
"@entur/dropdown": "^1.3.11",
|
|
27
|
+
"@entur/dropdown": "^1.3.11 || ^3.0.0",
|
|
28
28
|
"@entur/expand": "^3.2.17",
|
|
29
|
-
"@entur/form": "^4.0.5",
|
|
30
|
-
"@entur/icons": "^1.19.0",
|
|
31
|
-
"@entur/menu": "^3.5.5",
|
|
29
|
+
"@entur/form": "^4.0.5 || ^5.0.0",
|
|
30
|
+
"@entur/icons": "^1.19.0 || ^4.0.0",
|
|
31
|
+
"@entur/menu": "^3.5.5 || ^4.0.0",
|
|
32
32
|
"@entur/modal": "^1.3.6",
|
|
33
33
|
"@entur/tooltip": "^2.4.7",
|
|
34
34
|
"react": ">=16.8.0",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"react-router-dom": "^5.2.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@entur-partner/util": "^1.1.
|
|
39
|
+
"@entur-partner/util": "^1.1.4",
|
|
40
40
|
"classnames": "^2.2.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@entur-partner/permission-client-node": "
|
|
44
|
-
"@entur/tokens": "
|
|
43
|
+
"@entur-partner/permission-client-node": "2.3.1",
|
|
44
|
+
"@entur/tokens": "3.4.1",
|
|
45
45
|
"identity-obj-proxy": "3.0.0",
|
|
46
46
|
"react-router-dom": "5.3.3"
|
|
47
47
|
},
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"reportFile": "jest-sonar-report.xml",
|
|
59
59
|
"indent": 4
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "a99081e636e0b55fe3c449d9ab2bf2152ec269db"
|
|
62
62
|
}
|