@entur-partner/common 8.0.0 → 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 +75 -75
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -24,37 +24,6 @@ button.eps-link-button:hover {
|
|
|
24
24
|
color: #aeb7e2;
|
|
25
25
|
}/* DO NOT CHANGE!*/
|
|
26
26
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
27
|
-
.eps-language-select {
|
|
28
|
-
color: #181c56;
|
|
29
|
-
}
|
|
30
|
-
.eps-language-select label {
|
|
31
|
-
flex: initial;
|
|
32
|
-
}
|
|
33
|
-
.eps-language-select .asterisk-margin {
|
|
34
|
-
margin-left: 0.125rem;
|
|
35
|
-
}/* DO NOT CHANGE!*/
|
|
36
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
37
|
-
/* DO NOT CHANGE!*/
|
|
38
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
39
|
-
.eps-content {
|
|
40
|
-
margin: 1rem;
|
|
41
|
-
}
|
|
42
|
-
@media screen and (min-width: 50rem) {
|
|
43
|
-
.eps-content {
|
|
44
|
-
margin: 1.5rem 1.5rem 1.5rem 22rem;
|
|
45
|
-
}
|
|
46
|
-
}/* DO NOT CHANGE!*/
|
|
47
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
48
|
-
.eps-logo-wrapper {
|
|
49
|
-
display: inline-block;
|
|
50
|
-
}
|
|
51
|
-
.eps-logo-wrapper .logo {
|
|
52
|
-
height: auto;
|
|
53
|
-
width: 170px;
|
|
54
|
-
}.multi-language-input:focus {
|
|
55
|
-
outline: none;
|
|
56
|
-
}/* DO NOT CHANGE!*/
|
|
57
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
58
27
|
/* DO NOT CHANGE!*/
|
|
59
28
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
60
29
|
.eps-menu {
|
|
@@ -71,16 +40,6 @@ button.eps-link-button:hover {
|
|
|
71
40
|
width: 20rem;
|
|
72
41
|
overflow-y: scroll;
|
|
73
42
|
}
|
|
74
|
-
}.eps-unbutton, .eps-unbutton:hover, .eps-unbutton:focus, .eps-unbutton:active:focus, .eps-unbutton:active:hover, .eps-unbutton:active {
|
|
75
|
-
background: none;
|
|
76
|
-
background-color: inherit;
|
|
77
|
-
color: inherit;
|
|
78
|
-
border: none;
|
|
79
|
-
padding: 0;
|
|
80
|
-
font: inherit;
|
|
81
|
-
outline: inherit;
|
|
82
|
-
height: inherit;
|
|
83
|
-
min-width: inherit;
|
|
84
43
|
}/* DO NOT CHANGE!*/
|
|
85
44
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
86
45
|
/* DO NOT CHANGE!*/
|
|
@@ -117,6 +76,62 @@ button.eps-link-button:hover {
|
|
|
117
76
|
height: 100px;
|
|
118
77
|
}/* DO NOT CHANGE!*/
|
|
119
78
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
79
|
+
.eps-logo-wrapper {
|
|
80
|
+
display: inline-block;
|
|
81
|
+
}
|
|
82
|
+
.eps-logo-wrapper .logo {
|
|
83
|
+
height: auto;
|
|
84
|
+
width: 170px;
|
|
85
|
+
}/* DO NOT CHANGE!*/
|
|
86
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
87
|
+
.eps-language-select {
|
|
88
|
+
color: #181c56;
|
|
89
|
+
}
|
|
90
|
+
.eps-language-select label {
|
|
91
|
+
flex: initial;
|
|
92
|
+
}
|
|
93
|
+
.eps-language-select .asterisk-margin {
|
|
94
|
+
margin-left: 0.125rem;
|
|
95
|
+
}/* DO NOT CHANGE!*/
|
|
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. */
|
|
120
135
|
/**
|
|
121
136
|
PS! We use #eps-user-menu to prevent the micro frontends overriding the styles. By using
|
|
122
137
|
an id we have a higher specificity. We should explore a better solution later. Ideally
|
|
@@ -2459,19 +2474,27 @@ button.eps-link-button:hover {
|
|
|
2459
2474
|
background-color: #aeb7e2;
|
|
2460
2475
|
}/* DO NOT CHANGE!*/
|
|
2461
2476
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
2462
|
-
.
|
|
2463
|
-
float: right;
|
|
2464
|
-
margin-top: 1rem;
|
|
2465
|
-
font-size: 0.875rem;
|
|
2466
|
-
}
|
|
2467
|
-
.ep-audit-info > div {
|
|
2477
|
+
.eps-status-label {
|
|
2468
2478
|
display: flex;
|
|
2469
|
-
|
|
2479
|
+
align-items: center;
|
|
2470
2480
|
}
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2481
|
+
.eps-status-label.center {
|
|
2482
|
+
justify-content: center;
|
|
2483
|
+
}
|
|
2484
|
+
.eps-status-label__bullet {
|
|
2485
|
+
padding: 5px;
|
|
2486
|
+
margin-bottom: 4px;
|
|
2487
|
+
border-radius: 50%;
|
|
2488
|
+
background: #d1d3d3;
|
|
2489
|
+
margin-right: 10px;
|
|
2490
|
+
}
|
|
2491
|
+
.eps-status-label__bullet.aggressive {
|
|
2492
|
+
background: #ff5959;
|
|
2493
|
+
}
|
|
2494
|
+
.eps-status-label__bullet.active {
|
|
2495
|
+
background: #1a8e60;
|
|
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
|
-
}ol.eds-breadcrumbs {
|
|
2752
|
-
padding: 0;
|
|
2753
|
-
}/* DO NOT CHANGE!*/
|
|
2754
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
2755
|
-
.eps-status-label {
|
|
2756
|
-
display: flex;
|
|
2757
|
-
align-items: center;
|
|
2758
|
-
}
|
|
2759
|
-
.eps-status-label.center {
|
|
2760
|
-
justify-content: center;
|
|
2761
|
-
}
|
|
2762
|
-
.eps-status-label__bullet {
|
|
2763
|
-
padding: 5px;
|
|
2764
|
-
margin-bottom: 4px;
|
|
2765
|
-
border-radius: 50%;
|
|
2766
|
-
background: #d1d3d3;
|
|
2767
|
-
margin-right: 10px;
|
|
2768
|
-
}
|
|
2769
|
-
.eps-status-label__bullet.aggressive {
|
|
2770
|
-
background: #ff5959;
|
|
2771
|
-
}
|
|
2772
|
-
.eps-status-label__bullet.active {
|
|
2773
|
-
background: #1a8e60;
|
|
2774
2774
|
}
|
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",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://
|
|
13
|
+
"url": "https://github.com/entur/entur-partner-packages.git",
|
|
14
14
|
"directory": "packages/common"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
@@ -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
|
}
|