@entur-partner/common 4.2.0 → 4.4.1
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/EnturPartnerLogo.d.ts +3 -0
- package/dist/UserMenu.d.ts +2 -2
- package/dist/common.cjs.development.js +49 -22
- 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 +49 -24
- package/dist/common.esm.js.map +1 -1
- package/dist/environment.d.ts +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/styles.css +44 -44
- package/package.json +3 -3
- package/CHANGELOG.md +0 -193
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur-partner/common",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.1",
|
|
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.
|
|
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": "
|
|
61
|
+
"gitHead": "2c94713a3693b8833cd4b2a3911d08f89f29d93b"
|
|
62
62
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,193 +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.2.0](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.1.0...@entur-partner/common@4.2.0) (2022-03-22)
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
- **feature-flag:** add function for checking feature flag ([c5e2bee](https://bitbucket.org/enturas/entur-partner-packages/commits/c5e2bee730635cf9498f617707683cb955b22d32))
|
|
11
|
-
|
|
12
|
-
# [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)
|
|
13
|
-
|
|
14
|
-
### Bug Fixes
|
|
15
|
-
|
|
16
|
-
- **deps:** update all non-major dependencies ([4533e34](https://bitbucket.org/enturas/entur-partner-packages/commits/4533e34e81006c6fd056f5ebca40a58c75d9caf9))
|
|
17
|
-
- **deps:** update entur packages ([22224c2](https://bitbucket.org/enturas/entur-partner-packages/commits/22224c223cd111224f5654ced91879a7c06d2fa1))
|
|
18
|
-
|
|
19
|
-
### Features
|
|
20
|
-
|
|
21
|
-
- **box:** implement alignItems prop for Box ([57907e2](https://bitbucket.org/enturas/entur-partner-packages/commits/57907e2253f5343d6ba70ff9669bcbffedd767d2))
|
|
22
|
-
|
|
23
|
-
## [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)
|
|
24
|
-
|
|
25
|
-
### Bug Fixes
|
|
26
|
-
|
|
27
|
-
- 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))
|
|
28
|
-
|
|
29
|
-
## [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)
|
|
30
|
-
|
|
31
|
-
### Bug Fixes
|
|
32
|
-
|
|
33
|
-
- **deps:** pin dependencies ([840fa3d](https://bitbucket.org/enturas/entur-partner-packages/commits/840fa3d44ce62deea2a69131d30da4d979bc8fe9))
|
|
34
|
-
- **deps:** pin dependencies ([0a33356](https://bitbucket.org/enturas/entur-partner-packages/commits/0a333563ff91fb711c39a45352fc31a49513ebaa))
|
|
35
|
-
- **deps:** update all non-major dependencies ([20fc6be](https://bitbucket.org/enturas/entur-partner-packages/commits/20fc6bed3831d05bd62ace84bc60ee48877a034c))
|
|
36
|
-
- **deps:** update entur packages ([a900a53](https://bitbucket.org/enturas/entur-partner-packages/commits/a900a5383801679efe186caffd56d3dfac5f1947))
|
|
37
|
-
|
|
38
|
-
## [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)
|
|
39
|
-
|
|
40
|
-
### Bug Fixes
|
|
41
|
-
|
|
42
|
-
- **common:** fix ErrorBoundary in non-production environments ([cd62e49](https://bitbucket.org/enturas/entur-partner-packages/commits/cd62e4955ccc676799b6853dbff2b11f97d32ccc))
|
|
43
|
-
|
|
44
|
-
## [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)
|
|
45
|
-
|
|
46
|
-
### Bug Fixes
|
|
47
|
-
|
|
48
|
-
- **menu:** revert previous fix which could cause unwanted "jumping" of page content ([5597b03](https://bitbucket.org/enturas/entur-partner-packages/commits/5597b03ef86db344de5d8a816b5afe87ced8e839))
|
|
49
|
-
|
|
50
|
-
## [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)
|
|
51
|
-
|
|
52
|
-
### Bug Fixes
|
|
53
|
-
|
|
54
|
-
- **menu:** for the menu, only show scrollbar when content actually overflows ([55940f1](https://bitbucket.org/enturas/entur-partner-packages/commits/55940f14a5abea4c00b5c98bff7dfb3ffe9aadc7))
|
|
55
|
-
|
|
56
|
-
## [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)
|
|
57
|
-
|
|
58
|
-
### Bug Fixes
|
|
59
|
-
|
|
60
|
-
- **permissioncheckedroute:** fix a bug causing the fallback not to render the actual redirect view ([9b97f06](https://bitbucket.org/enturas/entur-partner-packages/commits/9b97f06539ccce29e573b082c4faa862d2efb232))
|
|
61
|
-
|
|
62
|
-
## [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)
|
|
63
|
-
|
|
64
|
-
### Bug Fixes
|
|
65
|
-
|
|
66
|
-
- **actionbar:** make left and right actionbar more flexible in size ([fae0d44](https://bitbucket.org/enturas/entur-partner-packages/commits/fae0d44eac3873e2d4e068be4c6aa934dd0b89de))
|
|
67
|
-
|
|
68
|
-
# [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)
|
|
69
|
-
|
|
70
|
-
### Bug Fixes
|
|
71
|
-
|
|
72
|
-
- **actionbar:** adjust left pos after menu width increase ([a9382a9](https://bitbucket.org/enturas/entur-partner-packages/commits/a9382a9dd76ce89058b49838c0f7dd19533f2fdf))
|
|
73
|
-
- **Content:** increase padding for app shell standalone ([98f0ece](https://bitbucket.org/enturas/entur-partner-packages/commits/98f0eced8fece7f6c0a40ea3eaf564c51066ab49))
|
|
74
|
-
- **menu:** increase menu width ([41514f2](https://bitbucket.org/enturas/entur-partner-packages/commits/41514f26a4d4a459dfd5372580ec13a0cc1870e1))
|
|
75
|
-
|
|
76
|
-
### BREAKING CHANGES
|
|
77
|
-
|
|
78
|
-
- **menu:** all applications must be updated simultaneously
|
|
79
|
-
to avoid differing content and menu widths
|
|
80
|
-
|
|
81
|
-
## [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)
|
|
82
|
-
|
|
83
|
-
### Bug Fixes
|
|
84
|
-
|
|
85
|
-
- **organisationdropdown:** lagt til searchable og clearable til OrganisationDropDown ([f2a62b7](https://bitbucket.org/enturas/entur-partner-packages/commits/f2a62b7143efd105fa7a50074b2fe5fffd8163a2))
|
|
86
|
-
|
|
87
|
-
## [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)
|
|
88
|
-
|
|
89
|
-
### Bug Fixes
|
|
90
|
-
|
|
91
|
-
- **package.json UserMenu:** set resolution for y18n and format UserMenu ([6a149ca](https://bitbucket.org/enturas/entur-partner-packages/commits/6a149cac6a11f08b653a8c9727b000d21bc52d78))
|
|
92
|
-
- **UserMenu:** menu closes when a menu option is clicked ([595e5da](https://bitbucket.org/enturas/entur-partner-packages/commits/595e5da8cc659dcf31b7f1f969186b982dd3de48))
|
|
93
|
-
|
|
94
|
-
## [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)
|
|
95
|
-
|
|
96
|
-
### Bug Fixes
|
|
97
|
-
|
|
98
|
-
- **usermenu:** increase css specificity to avoid overwritten styling ([4325da3](https://bitbucket.org/enturas/entur-partner-packages/commits/4325da3d1ad69ce209b1482ec49c01e081497857))
|
|
99
|
-
|
|
100
|
-
## [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)
|
|
101
|
-
|
|
102
|
-
### Bug Fixes
|
|
103
|
-
|
|
104
|
-
- **usermenu:** improve custom usermenu shadowdom support ([2c43d95](https://bitbucket.org/enturas/entur-partner-packages/commits/2c43d954a4a064a7c899d60397e5c2c69ef245e9))
|
|
105
|
-
- **usermenu:** use a custom component for usermenu ([ca147c9](https://bitbucket.org/enturas/entur-partner-packages/commits/ca147c939e5aa1f8b52757e58d6907a575a6b32f))
|
|
106
|
-
|
|
107
|
-
## [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)
|
|
108
|
-
|
|
109
|
-
### Bug Fixes
|
|
110
|
-
|
|
111
|
-
- comment change to trigger publishing to npm ([6984026](https://bitbucket.org/enturas/entur-partner-packages/commits/6984026992f8c20adb40be2e6f536785ec6fa59e))
|
|
112
|
-
|
|
113
|
-
## [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)
|
|
114
|
-
|
|
115
|
-
### Bug Fixes
|
|
116
|
-
|
|
117
|
-
- **UserMenu:** change classname and styles to not be overridden ([a4d5fb0](https://bitbucket.org/enturas/entur-partner-packages/commits/a4d5fb0986ed63bedfe72f43475236181cfd3db8))
|
|
118
|
-
|
|
119
|
-
# [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)
|
|
120
|
-
|
|
121
|
-
### Bug Fixes
|
|
122
|
-
|
|
123
|
-
- **UserMenu:** remove children and update package.json ([3015db4](https://bitbucket.org/enturas/entur-partner-packages/commits/3015db46a78835ba3febf1a89902f058a9ed728a))
|
|
124
|
-
|
|
125
|
-
### Features
|
|
126
|
-
|
|
127
|
-
- **UserMenu:** change layout and text ([1f807d6](https://bitbucket.org/enturas/entur-partner-packages/commits/1f807d6536cf504cf0c9fc53181efafa5c98dafa))
|
|
128
|
-
|
|
129
|
-
### BREAKING CHANGES
|
|
130
|
-
|
|
131
|
-
- **UserMenu:** MenuUser requires switchLanguage in messages, and remove nb and en
|
|
132
|
-
|
|
133
|
-
## [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)
|
|
134
|
-
|
|
135
|
-
### Bug Fixes
|
|
136
|
-
|
|
137
|
-
- **actionbar:** changed from css variables to scss to be compatible with shadow DOM ([fe52c37](https://bitbucket.org/enturas/entur-partner-packages/commits/fe52c37b56936d370812d884bd65740044868caf))
|
|
138
|
-
|
|
139
|
-
## [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)
|
|
140
|
-
|
|
141
|
-
### Reverts
|
|
142
|
-
|
|
143
|
-
- **revert menu size change:** revert increased menu size ([2f37f75](https://bitbucket.org/enturas/entur-partner-packages/commits/2f37f753e511c0dbb1fa26c902fe4242598ac0ed))
|
|
144
|
-
|
|
145
|
-
# [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)
|
|
146
|
-
|
|
147
|
-
### Features
|
|
148
|
-
|
|
149
|
-
- **menu actionbar:** increase menu width and adjust actionbar position accordingly ([7d70b1f](https://bitbucket.org/enturas/entur-partner-packages/commits/7d70b1fdd3232c83dd42159b3c3eb21eaffb6a3e))
|
|
150
|
-
|
|
151
|
-
### BREAKING CHANGES
|
|
152
|
-
|
|
153
|
-
- **menu actionbar:** menu width increased and adjusted actionbar position
|
|
154
|
-
|
|
155
|
-
## [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)
|
|
156
|
-
|
|
157
|
-
**Note:** Version bump only for package @entur-partner/common
|
|
158
|
-
|
|
159
|
-
## [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)
|
|
160
|
-
|
|
161
|
-
**Note:** Version bump only for package @entur-partner/common
|
|
162
|
-
|
|
163
|
-
## [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)
|
|
164
|
-
|
|
165
|
-
### Bug Fixes
|
|
166
|
-
|
|
167
|
-
- Move actionbar to remove gap ([129f889](https://bitbucket.org/enturas/entur-partner-packages/commits/129f88972bdc8392f83c4f00158670686da0b3e2))
|
|
168
|
-
|
|
169
|
-
## [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)
|
|
170
|
-
|
|
171
|
-
### Bug Fixes
|
|
172
|
-
|
|
173
|
-
- pass extra props to Dropdown ([66a866a](https://bitbucket.org/enturas/entur-partner-packages/commits/66a866afad7f16e06e20047ca8e817d533131892))
|
|
174
|
-
|
|
175
|
-
# [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)
|
|
176
|
-
|
|
177
|
-
### Features
|
|
178
|
-
|
|
179
|
-
- add permissions checks ([c8a3e16](https://bitbucket.org/enturas/entur-partner-packages/commits/c8a3e16cb808d87edfb35908e6def30cfe85e09b))
|
|
180
|
-
|
|
181
|
-
## [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)
|
|
182
|
-
|
|
183
|
-
**Note:** Version bump only for package @entur-partner/common
|
|
184
|
-
|
|
185
|
-
## [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)
|
|
186
|
-
|
|
187
|
-
**Note:** Version bump only for package @entur-partner/common
|
|
188
|
-
|
|
189
|
-
# [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)
|
|
190
|
-
|
|
191
|
-
### Features
|
|
192
|
-
|
|
193
|
-
- **box:** add contrast prop ([f688c0c](https://bitbucket.org/enturas/op-ui/commits/f688c0cf908f976024819e6c3685a173ccc78158))
|