@entur-partner/common 4.1.0 → 4.4.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
@@ -2,40 +2,6 @@
2
2
  --eps-common: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
- /* DO NOT CHANGE!*/
6
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
7
- .eps-action-bar {
8
- position: fixed;
9
- bottom: 0;
10
- left: 0;
11
- right: 0;
12
- background-color: #f8f8f8;
13
- border-top: 2px solid #e9e9e9;
14
- padding: 15px 15px 15px 80px;
15
- display: flex;
16
- justify-content: space-between;
17
- z-index: 1;
18
- }
19
- @media screen and (min-width: 50rem) {
20
- .eps-action-bar {
21
- left: 20rem;
22
- }
23
- }
24
- .eps-action-bar-right {
25
- display: flex;
26
- align-items: flex-start;
27
- }
28
- .eps-action-bar-right > *:not(:first-child) {
29
- margin-left: 1rem;
30
- }
31
- .eps-action-bar-left > *:not(:first-child) {
32
- margin-left: 1rem;
33
- }
34
-
35
- .eps-action-bar-padding {
36
- height: 100px;
37
- }/* DO NOT CHANGE!*/
38
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
39
5
  button.eps-link-button {
40
6
  cursor: pointer;
41
7
  }
@@ -49,32 +15,6 @@ button.eps-link-button:hover {
49
15
  color: #aeb7e2;
50
16
  }/* DO NOT CHANGE!*/
51
17
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
52
- .eps-logo-wrapper {
53
- display: inline-block;
54
- }
55
- .eps-logo-wrapper .logo {
56
- height: auto;
57
- width: 170px;
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-menu {
63
- position: relative;
64
- width: 100%;
65
- z-index: 30;
66
- }
67
- @media screen and (min-width: 50rem) {
68
- .eps-menu {
69
- left: 0;
70
- top: 0;
71
- position: fixed;
72
- height: 100vh;
73
- width: 20rem;
74
- overflow-y: scroll;
75
- }
76
- }/* DO NOT CHANGE!*/
77
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
78
18
  /**
79
19
  PS! We use #eps-user-menu to prevent the micro frontends overriding the styles. By using
80
20
  an id we have a higher specificity. We should explore a better solution later. Ideally
@@ -166,6 +106,48 @@ button.eps-link-button:hover {
166
106
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
167
107
  /* DO NOT CHANGE!*/
168
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. */
169
151
  .eps-content {
170
152
  margin: 1rem;
171
153
  }
@@ -175,6 +157,24 @@ button.eps-link-button:hover {
175
157
  }
176
158
  }/* DO NOT CHANGE!*/
177
159
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
160
+ /* DO NOT CHANGE!*/
161
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
162
+ .eps-menu {
163
+ position: relative;
164
+ width: 100%;
165
+ z-index: 30;
166
+ }
167
+ @media screen and (min-width: 50rem) {
168
+ .eps-menu {
169
+ left: 0;
170
+ top: 0;
171
+ position: fixed;
172
+ height: 100vh;
173
+ width: 20rem;
174
+ overflow-y: scroll;
175
+ }
176
+ }/* DO NOT CHANGE!*/
177
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
178
178
  .eps-language-select {
179
179
  color: #181c56;
180
180
  }
@@ -183,8 +183,6 @@ button.eps-link-button:hover {
183
183
  }
184
184
  .eps-language-select .asterisk-margin {
185
185
  margin-left: 0.125rem;
186
- }.multi-language-input:focus {
187
- outline: none;
188
186
  }.eps-unbutton, .eps-unbutton:hover, .eps-unbutton:focus, .eps-unbutton:active:focus, .eps-unbutton:active:hover, .eps-unbutton:active {
189
187
  background: none;
190
188
  background-color: inherit;
@@ -195,6 +193,8 @@ button.eps-link-button:hover {
195
193
  outline: inherit;
196
194
  height: inherit;
197
195
  min-width: inherit;
196
+ }.multi-language-input:focus {
197
+ outline: none;
198
198
  }/* DO NOT CHANGE!*/
199
199
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
200
200
  .ep-audit-info {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur-partner/common",
3
- "version": "4.1.0",
3
+ "version": "4.4.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/common.esm.js",
@@ -43,7 +43,7 @@
43
43
  "@entur-partner/permission-client-node": "1.3.4",
44
44
  "@entur/tokens": "2.0.1",
45
45
  "identity-obj-proxy": "3.0.0",
46
- "react-router-dom": "5.3.0"
46
+ "react-router-dom": "5.3.3"
47
47
  },
48
48
  "jest": {
49
49
  "moduleNameMapper": {
@@ -58,5 +58,5 @@
58
58
  "reportFile": "jest-sonar-report.xml",
59
59
  "indent": 4
60
60
  },
61
- "gitHead": "0939e6ee86338e99c712b40f598749ed6033ed7f"
61
+ "gitHead": "4dcc7d212af7357d6b4f764cf0628b5c3d35a8b6"
62
62
  }
package/CHANGELOG.md DELETED
@@ -1,187 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [4.1.0](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.7...@entur-partner/common@4.1.0) (2022-03-09)
7
-
8
- ### Bug Fixes
9
-
10
- - **deps:** update all non-major dependencies ([4533e34](https://bitbucket.org/enturas/entur-partner-packages/commits/4533e34e81006c6fd056f5ebca40a58c75d9caf9))
11
- - **deps:** update entur packages ([22224c2](https://bitbucket.org/enturas/entur-partner-packages/commits/22224c223cd111224f5654ced91879a7c06d2fa1))
12
-
13
- ### Features
14
-
15
- - **box:** implement alignItems prop for Box ([57907e2](https://bitbucket.org/enturas/entur-partner-packages/commits/57907e2253f5343d6ba70ff9669bcbffedd767d2))
16
-
17
- ## [4.0.7](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.6...@entur-partner/common@4.0.7) (2022-02-10)
18
-
19
- ### Bug Fixes
20
-
21
- - update to Node 16. Also update various packages to make dts-cli and its dependencies work ([93468c8](https://bitbucket.org/enturas/entur-partner-packages/commits/93468c8190e8590143f274c468df23e786af4553))
22
-
23
- ## [4.0.6](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.5...@entur-partner/common@4.0.6) (2022-02-07)
24
-
25
- ### Bug Fixes
26
-
27
- - **deps:** pin dependencies ([840fa3d](https://bitbucket.org/enturas/entur-partner-packages/commits/840fa3d44ce62deea2a69131d30da4d979bc8fe9))
28
- - **deps:** pin dependencies ([0a33356](https://bitbucket.org/enturas/entur-partner-packages/commits/0a333563ff91fb711c39a45352fc31a49513ebaa))
29
- - **deps:** update all non-major dependencies ([20fc6be](https://bitbucket.org/enturas/entur-partner-packages/commits/20fc6bed3831d05bd62ace84bc60ee48877a034c))
30
- - **deps:** update entur packages ([a900a53](https://bitbucket.org/enturas/entur-partner-packages/commits/a900a5383801679efe186caffd56d3dfac5f1947))
31
-
32
- ## [4.0.5](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.4...@entur-partner/common@4.0.5) (2021-11-05)
33
-
34
- ### Bug Fixes
35
-
36
- - **common:** fix ErrorBoundary in non-production environments ([cd62e49](https://bitbucket.org/enturas/entur-partner-packages/commits/cd62e4955ccc676799b6853dbff2b11f97d32ccc))
37
-
38
- ## [4.0.4](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.3...@entur-partner/common@4.0.4) (2021-10-19)
39
-
40
- ### Bug Fixes
41
-
42
- - **menu:** revert previous fix which could cause unwanted "jumping" of page content ([5597b03](https://bitbucket.org/enturas/entur-partner-packages/commits/5597b03ef86db344de5d8a816b5afe87ced8e839))
43
-
44
- ## [4.0.3](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.2...@entur-partner/common@4.0.3) (2021-10-14)
45
-
46
- ### Bug Fixes
47
-
48
- - **menu:** for the menu, only show scrollbar when content actually overflows ([55940f1](https://bitbucket.org/enturas/entur-partner-packages/commits/55940f14a5abea4c00b5c98bff7dfb3ffe9aadc7))
49
-
50
- ## [4.0.2](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.1...@entur-partner/common@4.0.2) (2021-10-04)
51
-
52
- ### Bug Fixes
53
-
54
- - **permissioncheckedroute:** fix a bug causing the fallback not to render the actual redirect view ([9b97f06](https://bitbucket.org/enturas/entur-partner-packages/commits/9b97f06539ccce29e573b082c4faa862d2efb232))
55
-
56
- ## [4.0.1](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.0...@entur-partner/common@4.0.1) (2021-08-19)
57
-
58
- ### Bug Fixes
59
-
60
- - **actionbar:** make left and right actionbar more flexible in size ([fae0d44](https://bitbucket.org/enturas/entur-partner-packages/commits/fae0d44eac3873e2d4e068be4c6aa934dd0b89de))
61
-
62
- # [4.0.0](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@3.0.6...@entur-partner/common@4.0.0) (2021-05-04)
63
-
64
- ### Bug Fixes
65
-
66
- - **actionbar:** adjust left pos after menu width increase ([a9382a9](https://bitbucket.org/enturas/entur-partner-packages/commits/a9382a9dd76ce89058b49838c0f7dd19533f2fdf))
67
- - **Content:** increase padding for app shell standalone ([98f0ece](https://bitbucket.org/enturas/entur-partner-packages/commits/98f0eced8fece7f6c0a40ea3eaf564c51066ab49))
68
- - **menu:** increase menu width ([41514f2](https://bitbucket.org/enturas/entur-partner-packages/commits/41514f26a4d4a459dfd5372580ec13a0cc1870e1))
69
-
70
- ### BREAKING CHANGES
71
-
72
- - **menu:** all applications must be updated simultaneously
73
- to avoid differing content and menu widths
74
-
75
- ## [3.0.6](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@3.0.5...@entur-partner/common@3.0.6) (2021-04-19)
76
-
77
- ### Bug Fixes
78
-
79
- - **organisationdropdown:** lagt til searchable og clearable til OrganisationDropDown ([f2a62b7](https://bitbucket.org/enturas/entur-partner-packages/commits/f2a62b7143efd105fa7a50074b2fe5fffd8163a2))
80
-
81
- ## [3.0.5](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@3.0.4...@entur-partner/common@3.0.5) (2021-04-07)
82
-
83
- ### Bug Fixes
84
-
85
- - **package.json UserMenu:** set resolution for y18n and format UserMenu ([6a149ca](https://bitbucket.org/enturas/entur-partner-packages/commits/6a149cac6a11f08b653a8c9727b000d21bc52d78))
86
- - **UserMenu:** menu closes when a menu option is clicked ([595e5da](https://bitbucket.org/enturas/entur-partner-packages/commits/595e5da8cc659dcf31b7f1f969186b982dd3de48))
87
-
88
- ## [3.0.4](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@3.0.3...@entur-partner/common@3.0.4) (2021-03-23)
89
-
90
- ### Bug Fixes
91
-
92
- - **usermenu:** increase css specificity to avoid overwritten styling ([4325da3](https://bitbucket.org/enturas/entur-partner-packages/commits/4325da3d1ad69ce209b1482ec49c01e081497857))
93
-
94
- ## [3.0.3](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@3.0.2...@entur-partner/common@3.0.3) (2021-03-18)
95
-
96
- ### Bug Fixes
97
-
98
- - **usermenu:** improve custom usermenu shadowdom support ([2c43d95](https://bitbucket.org/enturas/entur-partner-packages/commits/2c43d954a4a064a7c899d60397e5c2c69ef245e9))
99
- - **usermenu:** use a custom component for usermenu ([ca147c9](https://bitbucket.org/enturas/entur-partner-packages/commits/ca147c939e5aa1f8b52757e58d6907a575a6b32f))
100
-
101
- ## [3.0.2](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@3.0.1...@entur-partner/common@3.0.2) (2021-02-25)
102
-
103
- ### Bug Fixes
104
-
105
- - comment change to trigger publishing to npm ([6984026](https://bitbucket.org/enturas/entur-partner-packages/commits/6984026992f8c20adb40be2e6f536785ec6fa59e))
106
-
107
- ## [3.0.1](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@3.0.0...@entur-partner/common@3.0.1) (2021-02-24)
108
-
109
- ### Bug Fixes
110
-
111
- - **UserMenu:** change classname and styles to not be overridden ([a4d5fb0](https://bitbucket.org/enturas/entur-partner-packages/commits/a4d5fb0986ed63bedfe72f43475236181cfd3db8))
112
-
113
- # [3.0.0](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@2.0.2...@entur-partner/common@3.0.0) (2021-02-24)
114
-
115
- ### Bug Fixes
116
-
117
- - **UserMenu:** remove children and update package.json ([3015db4](https://bitbucket.org/enturas/entur-partner-packages/commits/3015db46a78835ba3febf1a89902f058a9ed728a))
118
-
119
- ### Features
120
-
121
- - **UserMenu:** change layout and text ([1f807d6](https://bitbucket.org/enturas/entur-partner-packages/commits/1f807d6536cf504cf0c9fc53181efafa5c98dafa))
122
-
123
- ### BREAKING CHANGES
124
-
125
- - **UserMenu:** MenuUser requires switchLanguage in messages, and remove nb and en
126
-
127
- ## [2.0.2](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@2.0.1...@entur-partner/common@2.0.2) (2021-02-05)
128
-
129
- ### Bug Fixes
130
-
131
- - **actionbar:** changed from css variables to scss to be compatible with shadow DOM ([fe52c37](https://bitbucket.org/enturas/entur-partner-packages/commits/fe52c37b56936d370812d884bd65740044868caf))
132
-
133
- ## [2.0.1](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@2.0.0...@entur-partner/common@2.0.1) (2021-02-02)
134
-
135
- ### Reverts
136
-
137
- - **revert menu size change:** revert increased menu size ([2f37f75](https://bitbucket.org/enturas/entur-partner-packages/commits/2f37f753e511c0dbb1fa26c902fe4242598ac0ed))
138
-
139
- # [2.0.0](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.2.4...@entur-partner/common@2.0.0) (2021-02-01)
140
-
141
- ### Features
142
-
143
- - **menu actionbar:** increase menu width and adjust actionbar position accordingly ([7d70b1f](https://bitbucket.org/enturas/entur-partner-packages/commits/7d70b1fdd3232c83dd42159b3c3eb21eaffb6a3e))
144
-
145
- ### BREAKING CHANGES
146
-
147
- - **menu actionbar:** menu width increased and adjusted actionbar position
148
-
149
- ## [1.2.4](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.2.3...@entur-partner/common@1.2.4) (2021-01-15)
150
-
151
- **Note:** Version bump only for package @entur-partner/common
152
-
153
- ## [1.2.3](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.2.2...@entur-partner/common@1.2.3) (2021-01-14)
154
-
155
- **Note:** Version bump only for package @entur-partner/common
156
-
157
- ## [1.2.2](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.2.1...@entur-partner/common@1.2.2) (2021-01-14)
158
-
159
- ### Bug Fixes
160
-
161
- - Move actionbar to remove gap ([129f889](https://bitbucket.org/enturas/entur-partner-packages/commits/129f88972bdc8392f83c4f00158670686da0b3e2))
162
-
163
- ## [1.2.1](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.2.0...@entur-partner/common@1.2.1) (2020-12-04)
164
-
165
- ### Bug Fixes
166
-
167
- - pass extra props to Dropdown ([66a866a](https://bitbucket.org/enturas/entur-partner-packages/commits/66a866afad7f16e06e20047ca8e817d533131892))
168
-
169
- # [1.2.0](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.1.2...@entur-partner/common@1.2.0) (2020-12-02)
170
-
171
- ### Features
172
-
173
- - add permissions checks ([c8a3e16](https://bitbucket.org/enturas/entur-partner-packages/commits/c8a3e16cb808d87edfb35908e6def30cfe85e09b))
174
-
175
- ## [1.1.2](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.1.1...@entur-partner/common@1.1.2) (2020-11-24)
176
-
177
- **Note:** Version bump only for package @entur-partner/common
178
-
179
- ## [1.1.1](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@1.1.0...@entur-partner/common@1.1.1) (2020-11-23)
180
-
181
- **Note:** Version bump only for package @entur-partner/common
182
-
183
- # [1.1.0](https://bitbucket.org/enturas/op-ui/compare/@entur-partner/common@1.0.0...@entur-partner/common@1.1.0) (2020-11-06)
184
-
185
- ### Features
186
-
187
- - **box:** add contrast prop ([f688c0c](https://bitbucket.org/enturas/op-ui/commits/f688c0cf908f976024819e6c3685a173ccc78158))