@equinor/mad-core 0.11.0 → 0.11.2

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/CHANGELOG.md CHANGED
@@ -1,611 +1,631 @@
1
1
  # @equinor/mad-core
2
2
 
3
+ ## 0.11.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [54bbc87]
8
+ - @equinor/mad-components@0.19.2
9
+ - @equinor/mad-auth@0.2.14
10
+ - @equinor/mad-toast@0.2.5
11
+
12
+ ## 0.11.1
13
+
14
+ ### Patch Changes
15
+
16
+ - b78671d: Changed peer dependencies requirement range to now allow patch changes.
17
+ - Updated dependencies [b78671d]
18
+ - @equinor/mad-components@0.19.1
19
+ - @equinor/mad-navigation@0.5.1
20
+ - @equinor/mad-insights@0.1.5
21
+ - @equinor/mad-toast@0.2.4
22
+ - @equinor/mad-auth@0.2.13
23
+
3
24
  ## 0.11.0
4
25
 
5
26
  ### Minor Changes
6
27
 
7
- - e340f08: BREAKING: replace `createCoreStackNavigator` with
8
- `createStackCoreNavigator`/`createNativeStackCoreNavigator`. Under the hood they use
9
- `createStackNavigator`/`createNativeStackNavigator` respectively. If you don't want any breaking
10
- changes in your app, migrate `createCoreStackNavigator` to `createNativeStackCoreNavigator`. The
11
- stack-type you use is displayed in the about-screen.
28
+ - e340f08: BREAKING: replace `createCoreStackNavigator` with
29
+ `createStackCoreNavigator`/`createNativeStackCoreNavigator`. Under the hood they use
30
+ `createStackNavigator`/`createNativeStackNavigator` respectively. If you don't want any breaking
31
+ changes in your app, migrate `createCoreStackNavigator` to `createNativeStackCoreNavigator`. The
32
+ stack-type you use is displayed in the about-screen.
12
33
 
13
34
  ### Patch Changes
14
35
 
15
- - Updated dependencies [e340f08]
16
- - @equinor/mad-navigation@0.5.0
36
+ - Updated dependencies [e340f08]
37
+ - @equinor/mad-navigation@0.5.0
17
38
 
18
39
  ## 0.10.3
19
40
 
20
41
  ### Patch Changes
21
42
 
22
- - e643db4: the "Remove" button on the service message now works again
23
- - Updated dependencies [ac10e64]
24
- - Updated dependencies [e643db4]
25
- - @equinor/mad-navigation@0.4.1
26
- - @equinor/mad-components@0.19.0
27
- - @equinor/mad-auth@0.2.12
28
- - @equinor/mad-toast@0.2.3
43
+ - e643db4: the "Remove" button on the service message now works again
44
+ - Updated dependencies [ac10e64]
45
+ - Updated dependencies [e643db4]
46
+ - @equinor/mad-navigation@0.4.1
47
+ - @equinor/mad-components@0.19.0
48
+ - @equinor/mad-auth@0.2.12
49
+ - @equinor/mad-toast@0.2.3
29
50
 
30
51
  ## 0.10.2
31
52
 
32
53
  ### Patch Changes
33
54
 
34
- - Updated dependencies [2a645ec]
35
- - @equinor/mad-components@0.18.0
36
- - @equinor/mad-auth@0.2.11
37
- - @equinor/mad-toast@0.2.2
55
+ - Updated dependencies [2a645ec]
56
+ - @equinor/mad-components@0.18.0
57
+ - @equinor/mad-auth@0.2.11
58
+ - @equinor/mad-toast@0.2.2
38
59
 
39
60
  ## 0.10.1
40
61
 
41
62
  ### Patch Changes
42
63
 
43
- - Updated dependencies [49c59fd]
44
- - @equinor/mad-components@0.17.0
45
- - @equinor/mad-auth@0.2.10
46
- - @equinor/mad-toast@0.2.1
64
+ - Updated dependencies [49c59fd]
65
+ - @equinor/mad-components@0.17.0
66
+ - @equinor/mad-auth@0.2.10
67
+ - @equinor/mad-toast@0.2.1
47
68
 
48
69
  ## 0.10.0
49
70
 
50
71
  ### Minor Changes
51
72
 
52
- - 75df020: Changed dependencies to require Expo 52 compatable versions
73
+ - 75df020: Changed dependencies to require Expo 52 compatable versions
53
74
 
54
75
  ### Patch Changes
55
76
 
56
- - Updated dependencies [75df020]
57
- - @equinor/mad-components@0.16.0
58
- - @equinor/mad-navigation@0.4.0
59
- - @equinor/mad-toast@0.2.0
60
- - @equinor/mad-auth@0.2.9
77
+ - Updated dependencies [75df020]
78
+ - @equinor/mad-components@0.16.0
79
+ - @equinor/mad-navigation@0.4.0
80
+ - @equinor/mad-toast@0.2.0
81
+ - @equinor/mad-auth@0.2.9
61
82
 
62
83
  ## 0.9.12
63
84
 
64
85
  ### Patch Changes
65
86
 
66
- - Updated dependencies [c0aea8c]
67
- - @equinor/mad-components@0.15.2
68
- - @equinor/mad-auth@0.2.8
69
- - @equinor/mad-toast@0.1.7
87
+ - Updated dependencies [c0aea8c]
88
+ - @equinor/mad-components@0.15.2
89
+ - @equinor/mad-auth@0.2.8
90
+ - @equinor/mad-toast@0.1.7
70
91
 
71
92
  ## 0.9.11
72
93
 
73
94
  ### Patch Changes
74
95
 
75
- - 435986a: The ticket number is now copyable in the `CreateIncidentScreen`
96
+ - 435986a: The ticket number is now copyable in the `CreateIncidentScreen`
76
97
 
77
98
  ## 0.9.10
78
99
 
79
100
  ### Patch Changes
80
101
 
81
- - 716e0af: Prevent `Device` and `Device brand` from showing on web in the `CreateIncidentScreen`.
102
+ - 716e0af: Prevent `Device` and `Device brand` from showing on web in the `CreateIncidentScreen`.
82
103
 
83
104
  ## 0.9.9
84
105
 
85
106
  ### Patch Changes
86
107
 
87
- - Updated dependencies [569dc2d]
88
- - @equinor/mad-toast@0.1.6
108
+ - Updated dependencies [569dc2d]
109
+ - @equinor/mad-toast@0.1.6
89
110
 
90
111
  ## 0.9.8
91
112
 
92
113
  ### Patch Changes
93
114
 
94
- - Updated dependencies [1224665]
95
- - Updated dependencies [1224665]
96
- - @equinor/mad-components@0.15.1
97
- - @equinor/mad-auth@0.2.7
98
- - @equinor/mad-toast@0.1.5
115
+ - Updated dependencies [1224665]
116
+ - Updated dependencies [1224665]
117
+ - @equinor/mad-components@0.15.1
118
+ - @equinor/mad-auth@0.2.7
119
+ - @equinor/mad-toast@0.1.5
99
120
 
100
121
  ## 0.9.7
101
122
 
102
123
  ### Patch Changes
103
124
 
104
- - Updated dependencies [a529b4a]
105
- - @equinor/mad-toast@0.1.4
125
+ - Updated dependencies [a529b4a]
126
+ - @equinor/mad-toast@0.1.4
106
127
 
107
128
  ## 0.9.6
108
129
 
109
130
  ### Patch Changes
110
131
 
111
- - Updated dependencies [2a428d6]
112
- - @equinor/mad-components@0.15.0
113
- - @equinor/mad-auth@0.2.6
114
- - @equinor/mad-toast@0.1.3
132
+ - Updated dependencies [2a428d6]
133
+ - @equinor/mad-components@0.15.0
134
+ - @equinor/mad-auth@0.2.6
135
+ - @equinor/mad-toast@0.1.3
115
136
 
116
137
  ## 0.9.5
117
138
 
118
139
  ### Patch Changes
119
140
 
120
- - 12a30db: fixed logout button error
141
+ - 12a30db: fixed logout button error
121
142
 
122
143
  ## 0.9.4
123
144
 
124
145
  ### Patch Changes
125
146
 
126
- - 01751ef: update mad base url
147
+ - 01751ef: update mad base url
127
148
 
128
149
  ## 0.9.3
129
150
 
130
151
  ### Patch Changes
131
152
 
132
- - fc6505c: Add Replace step for all "workspace:\*" dependencies
133
- - Updated dependencies [fc6505c]
134
- - @equinor/mad-auth@0.2.5
135
- - @equinor/mad-components@0.14.13
136
- - @equinor/mad-insights@0.1.4
137
- - @equinor/mad-navigation@0.3.2
138
- - @equinor/mad-toast@0.1.2
153
+ - fc6505c: Add Replace step for all "workspace:\*" dependencies
154
+ - Updated dependencies [fc6505c]
155
+ - @equinor/mad-auth@0.2.5
156
+ - @equinor/mad-components@0.14.13
157
+ - @equinor/mad-insights@0.1.4
158
+ - @equinor/mad-navigation@0.3.2
159
+ - @equinor/mad-toast@0.1.2
139
160
 
140
161
  ## 0.9.2
141
162
 
142
163
  ### Patch Changes
143
164
 
144
- - c9f698e: updated mad api base url
145
- - Updated dependencies [dab732c]
146
- - Updated dependencies [dab732c]
147
- - Updated dependencies [00e6e0a]
148
- - Updated dependencies [dab732c]
149
- - Updated dependencies [00e6e0a]
150
- - @equinor/mad-components@0.14.12
151
- - @equinor/mad-auth@0.2.4
152
- - @equinor/mad-toast@0.1.1
153
- - @equinor/mad-insights@0.1.3
154
- - @equinor/mad-navigation@0.3.1
165
+ - c9f698e: updated mad api base url
166
+ - Updated dependencies [dab732c]
167
+ - Updated dependencies [dab732c]
168
+ - Updated dependencies [00e6e0a]
169
+ - Updated dependencies [dab732c]
170
+ - Updated dependencies [00e6e0a]
171
+ - @equinor/mad-components@0.14.12
172
+ - @equinor/mad-auth@0.2.4
173
+ - @equinor/mad-toast@0.1.1
174
+ - @equinor/mad-insights@0.1.3
175
+ - @equinor/mad-navigation@0.3.1
155
176
 
156
177
  ## 0.9.1
157
178
 
158
179
  ### Patch Changes
159
180
 
160
- - ff2a015: Fixed incident request url for the feedback screen
181
+ - ff2a015: Fixed incident request url for the feedback screen
161
182
 
162
183
  ## 0.9.0
163
184
 
164
185
  ### Minor Changes
165
186
 
166
- - 4b172f9: Update mad api base urls. Content Security Policies may need to be updated
187
+ - 4b172f9: Update mad api base urls. Content Security Policies may need to be updated
167
188
 
168
189
  ## 0.8.1
169
190
 
170
191
  ### Patch Changes
171
192
 
172
- - 771e14d: Fixed keyboard covering the input fields in the feedback screen
193
+ - 771e14d: Fixed keyboard covering the input fields in the feedback screen
173
194
 
174
195
  ## 0.8.0
175
196
 
176
197
  ### Minor Changes
177
198
 
178
- - 7ce28df: `addToast` is available. `react-native-safe-area-context` is now a peer dependency
199
+ - 7ce28df: `addToast` is available. `react-native-safe-area-context` is now a peer dependency
179
200
 
180
201
  ### Patch Changes
181
202
 
182
- - Updated dependencies [7ce28df]
183
- - @equinor/mad-components@0.14.6
203
+ - Updated dependencies [7ce28df]
204
+ - @equinor/mad-components@0.14.6
184
205
 
185
206
  ## 0.7.2
186
207
 
187
208
  ### Patch Changes
188
209
 
189
- - 09870d8: Several fixes for expo-auth-session implementation
190
- - Updated dependencies [09870d8]
191
- - @equinor/mad-auth@0.2.1
210
+ - 09870d8: Several fixes for expo-auth-session implementation
211
+ - Updated dependencies [09870d8]
212
+ - @equinor/mad-auth@0.2.1
192
213
 
193
214
  ## 0.7.1
194
215
 
195
216
  ### Patch Changes
196
217
 
197
- - d329bc9: Display authentication method in about screen
218
+ - d329bc9: Display authentication method in about screen
198
219
 
199
220
  ## 0.7.0
200
221
 
201
222
  ### Minor Changes
202
223
 
203
- - 14d79cb: Implemented Expo-Auth-Session as authentication alternative from mad-auth
224
+ - 14d79cb: Implemented Expo-Auth-Session as authentication alternative from mad-auth
204
225
 
205
226
  ### Patch Changes
206
227
 
207
- - 1fe26dc: Added msal-browser client implementation
208
- - abb6d1a: Fixed issue with exporting mad-auth package
209
- - c2404af: `NavigationContainer`: ref can now be attached and forwarded to the underlying
210
- `NavigationContainer` from `react-navigation`
211
- - Updated dependencies [1fe26dc]
212
- - Updated dependencies [14d79cb]
213
- - Updated dependencies [c2404af]
214
- - @equinor/mad-auth@0.2.0
215
- - @equinor/mad-navigation@0.3.1
228
+ - 1fe26dc: Added msal-browser client implementation
229
+ - abb6d1a: Fixed issue with exporting mad-auth package
230
+ - c2404af: `NavigationContainer`: ref can now be attached and forwarded to the underlying
231
+ `NavigationContainer` from `react-navigation`
232
+ - Updated dependencies [1fe26dc]
233
+ - Updated dependencies [14d79cb]
234
+ - Updated dependencies [c2404af]
235
+ - @equinor/mad-auth@0.2.0
236
+ - @equinor/mad-navigation@0.3.1
216
237
 
217
238
  ## 0.6.1
218
239
 
219
240
  ### Patch Changes
220
241
 
221
- - 13fbceb: add testID to demo button and the invisible pressable used to display the demo button
222
- - Updated dependencies [13fbceb]
223
- - @equinor/mad-components@0.14.2
242
+ - 13fbceb: add testID to demo button and the invisible pressable used to display the demo button
243
+ - Updated dependencies [13fbceb]
244
+ - @equinor/mad-components@0.14.2
224
245
 
225
246
  ## 0.6.0
226
247
 
227
248
  ### Minor Changes
228
249
 
229
- - 6fa6d98: use react-native-markdown-display for release notes
250
+ - 6fa6d98: use react-native-markdown-display for release notes
230
251
 
231
252
  ## 0.5.18
232
253
 
233
254
  ### Patch Changes
234
255
 
235
- - ae11efd: Export types from mad-auth
256
+ - ae11efd: Export types from mad-auth
236
257
 
237
258
  ## 0.5.17
238
259
 
239
260
  ### Patch Changes
240
261
 
241
- - 7cf3344: You can now change the background color of the login screen
262
+ - 7cf3344: You can now change the background color of the login screen
242
263
 
243
264
  ## 0.5.16
244
265
 
245
266
  ### Patch Changes
246
267
 
247
- - Updated dependencies [49e643c]
248
- - @equinor/mad-components@0.13.0
249
- - @equinor/mad-auth@0.1.24
268
+ - Updated dependencies [49e643c]
269
+ - @equinor/mad-components@0.13.0
270
+ - @equinor/mad-auth@0.1.24
250
271
 
251
272
  ## 0.5.15
252
273
 
253
274
  ### Patch Changes
254
275
 
255
- - bfb69d7: Now initiates authentication client when creating core stack in order to make sure it's
256
- available at all times
257
- - Updated dependencies [bfb69d7]
258
- - @equinor/mad-auth@0.1.23
276
+ - bfb69d7: Now initiates authentication client when creating core stack in order to make sure it's
277
+ available at all times
278
+ - Updated dependencies [bfb69d7]
279
+ - @equinor/mad-auth@0.1.23
259
280
 
260
281
  ## 0.5.14
261
282
 
262
283
  ### Patch Changes
263
284
 
264
- - Updated dependencies [af77bb9]
265
- - @equinor/mad-auth@0.1.22
285
+ - Updated dependencies [af77bb9]
286
+ - @equinor/mad-auth@0.1.22
266
287
 
267
288
  ## 0.5.13
268
289
 
269
290
  ### Patch Changes
270
291
 
271
- - 5cdfd6b: demo mode should now always be disabled when logging in
272
- - dcf40b7: Should no longer update last displayed release notes in demo mode
292
+ - 5cdfd6b: demo mode should now always be disabled when logging in
293
+ - dcf40b7: Should no longer update last displayed release notes in demo mode
273
294
 
274
295
  ## 0.5.12
275
296
 
276
297
  ### Patch Changes
277
298
 
278
- - Updated dependencies [b5badbd]
279
- - @equinor/mad-components@0.12.10
280
- - @equinor/mad-auth@0.1.21
299
+ - Updated dependencies [b5badbd]
300
+ - @equinor/mad-components@0.12.10
301
+ - @equinor/mad-auth@0.1.21
281
302
 
282
303
  ## 0.5.11
283
304
 
284
305
  ### Patch Changes
285
306
 
286
- - Updated dependencies [ba1d39f]
287
- - @equinor/mad-components@0.12.9
288
- - @equinor/mad-auth@0.1.20
307
+ - Updated dependencies [ba1d39f]
308
+ - @equinor/mad-components@0.12.9
309
+ - @equinor/mad-auth@0.1.20
289
310
 
290
311
  ## 0.5.10
291
312
 
292
313
  ### Patch Changes
293
314
 
294
- - 256e7de: Fixed overlapping text in Feedback screen on small devices
295
- - Updated dependencies [8a09b94]
296
- - @equinor/mad-components@0.12.8
297
- - @equinor/mad-auth@0.1.19
315
+ - 256e7de: Fixed overlapping text in Feedback screen on small devices
316
+ - Updated dependencies [8a09b94]
317
+ - @equinor/mad-components@0.12.8
318
+ - @equinor/mad-auth@0.1.19
298
319
 
299
320
  ## 0.5.9
300
321
 
301
322
  ### Patch Changes
302
323
 
303
- - 11b42e4: mock release notes should now display correctly when entering demo mode
304
- - 48f5206: Now exits demo mode when signing out
324
+ - 11b42e4: mock release notes should now display correctly when entering demo mode
325
+ - 48f5206: Now exits demo mode when signing out
305
326
 
306
327
  ## 0.5.8
307
328
 
308
329
  ### Patch Changes
309
330
 
310
- - aebe3a2: Now adds username to app insights tracking after authenticating
331
+ - aebe3a2: Now adds username to app insights tracking after authenticating
311
332
 
312
333
  ## 0.5.7
313
334
 
314
335
  ### Patch Changes
315
336
 
316
- - 4724aea: `MadConfig`: `addScreenManually` option added for `login`. Lets the developer add login
317
- screen to the stack manually in order to access otherwise inaccessible props
318
- - Updated dependencies [b2b8572]
319
- - @equinor/mad-insights@0.1.2
337
+ - 4724aea: `MadConfig`: `addScreenManually` option added for `login`. Lets the developer add login
338
+ screen to the stack manually in order to access otherwise inaccessible props
339
+ - Updated dependencies [b2b8572]
340
+ - @equinor/mad-insights@0.1.2
320
341
 
321
342
  ## 0.5.6
322
343
 
323
344
  ### Patch Changes
324
345
 
325
- - Updated dependencies [cd8350f]
326
- - @equinor/mad-components@0.12.7
327
- - @equinor/mad-auth@0.1.18
346
+ - Updated dependencies [cd8350f]
347
+ - @equinor/mad-components@0.12.7
348
+ - @equinor/mad-auth@0.1.18
328
349
 
329
350
  ## 0.5.5
330
351
 
331
352
  ### Patch Changes
332
353
 
333
- - Updated dependencies [964af01]
334
- - @equinor/mad-components@0.12.6
335
- - @equinor/mad-auth@0.1.17
354
+ - Updated dependencies [964af01]
355
+ - @equinor/mad-components@0.12.6
356
+ - @equinor/mad-auth@0.1.17
336
357
 
337
358
  ## 0.5.4
338
359
 
339
360
  ### Patch Changes
340
361
 
341
- - Updated dependencies [121bbec]
342
- - @equinor/mad-components@0.12.5
343
- - @equinor/mad-auth@0.1.16
362
+ - Updated dependencies [121bbec]
363
+ - @equinor/mad-components@0.12.5
364
+ - @equinor/mad-auth@0.1.16
344
365
 
345
366
  ## 0.5.3
346
367
 
347
368
  ### Patch Changes
348
369
 
349
- - Updated dependencies [8657a23]
350
- - @equinor/mad-components@0.12.4
351
- - @equinor/mad-auth@0.1.15
370
+ - Updated dependencies [8657a23]
371
+ - @equinor/mad-components@0.12.4
372
+ - @equinor/mad-auth@0.1.15
352
373
 
353
374
  ## 0.5.2
354
375
 
355
376
  ### Patch Changes
356
377
 
357
- - Updated dependencies [45f2215]
358
- - @equinor/mad-components@0.12.3
359
- - @equinor/mad-auth@0.1.14
378
+ - Updated dependencies [45f2215]
379
+ - @equinor/mad-components@0.12.3
380
+ - @equinor/mad-auth@0.1.14
360
381
 
361
382
  ## 0.5.1
362
383
 
363
384
  ### Patch Changes
364
385
 
365
- - 04713bc: `CreateIncidentScreen`: Now has a scrollview surrounding the content, making the
366
- content available on smaller devices
386
+ - 04713bc: `CreateIncidentScreen`: Now has a scrollview surrounding the content, making the content
387
+ available on smaller devices
367
388
 
368
389
  ## 0.5.0
369
390
 
370
391
  ### Minor Changes
371
392
 
372
- - b024e0f: login screen has been redesigned. Now requires you to provide a splash screen instead
373
- of a title and logo
393
+ - b024e0f: login screen has been redesigned. Now requires you to provide a splash screen instead of
394
+ a title and logo
374
395
 
375
396
  ### Patch Changes
376
397
 
377
- - Updated dependencies [b024e0f]
378
- - @equinor/mad-navigation@0.3.0
398
+ - Updated dependencies [b024e0f]
399
+ - @equinor/mad-navigation@0.3.0
379
400
 
380
401
  ## 0.4.4
381
402
 
382
403
  ### Patch Changes
383
404
 
384
- - Updated dependencies [558ca83]
385
- - @equinor/mad-components@0.12.2
386
- - @equinor/mad-auth@0.1.13
405
+ - Updated dependencies [558ca83]
406
+ - @equinor/mad-components@0.12.2
407
+ - @equinor/mad-auth@0.1.13
387
408
 
388
409
  ## 0.4.3
389
410
 
390
411
  ### Patch Changes
391
412
 
392
- - Updated dependencies [8baaf7b]
393
- - @equinor/mad-components@0.12.1
394
- - @equinor/mad-auth@0.1.12
413
+ - Updated dependencies [8baaf7b]
414
+ - @equinor/mad-components@0.12.1
415
+ - @equinor/mad-auth@0.1.12
395
416
 
396
417
  ## 0.4.2
397
418
 
398
419
  ### Patch Changes
399
420
 
400
- - Updated dependencies [e43285f]
401
- - Updated dependencies [79fb731]
402
- - Updated dependencies [37025ac]
403
- - @equinor/mad-components@0.12.0
404
- - @equinor/mad-auth@0.1.11
421
+ - Updated dependencies [e43285f]
422
+ - Updated dependencies [79fb731]
423
+ - Updated dependencies [37025ac]
424
+ - @equinor/mad-components@0.12.0
425
+ - @equinor/mad-auth@0.1.11
405
426
 
406
427
  ## 0.4.1
407
428
 
408
429
  ### Patch Changes
409
430
 
410
- - Updated dependencies [8adb0dc]
411
- - Updated dependencies [496cd9a]
412
- - @equinor/mad-components@0.11.3
413
- - @equinor/mad-auth@0.1.10
431
+ - Updated dependencies [8adb0dc]
432
+ - Updated dependencies [496cd9a]
433
+ - @equinor/mad-components@0.11.3
434
+ - @equinor/mad-auth@0.1.10
414
435
 
415
436
  ## 0.4.0
416
437
 
417
438
  ### Minor Changes
418
439
 
419
- - b81ade4: `useLanguage`: now returns `defaultLanguage`, `isLanguageSelected` and
420
- `supportedLanguages` instead of `getDefaultLanguage`, `getIsLanguageSelected` and
421
- `getSupportedLanguages`
422
- - b81ade4: `MadConfig`: new property `navigateToMainRouteFn` has been added. This means `"Root"`
423
- is no longer recognized as the main route for your app. You have to configure this new property
424
- to navigate the user to your preferred route
440
+ - b81ade4: `useLanguage`: now returns `defaultLanguage`, `isLanguageSelected` and
441
+ `supportedLanguages` instead of `getDefaultLanguage`, `getIsLanguageSelected` and
442
+ `getSupportedLanguages`
443
+ - b81ade4: `MadConfig`: new property `navigateToMainRouteFn` has been added. This means `"Root"` is
444
+ no longer recognized as the main route for your app. You have to configure this new property to
445
+ navigate the user to your preferred route
425
446
 
426
447
  ## 0.3.11
427
448
 
428
449
  ### Patch Changes
429
450
 
430
- - Updated dependencies [7eae144]
431
- - @equinor/mad-components@0.11.2
432
- - @equinor/mad-auth@0.1.9
451
+ - Updated dependencies [7eae144]
452
+ - @equinor/mad-components@0.11.2
453
+ - @equinor/mad-auth@0.1.9
433
454
 
434
455
  ## 0.3.10
435
456
 
436
457
  ### Patch Changes
437
458
 
438
- - 85da576: Now exports `getAccount`, `signOut`, and `authenticateInteractively`
459
+ - 85da576: Now exports `getAccount`, `signOut`, and `authenticateInteractively`
439
460
 
440
461
  ## 0.3.9
441
462
 
442
463
  ### Patch Changes
443
464
 
444
- - Updated dependencies [d986ab2]
445
- - @equinor/mad-components@0.11.1
446
- - @equinor/mad-auth@0.1.8
465
+ - Updated dependencies [d986ab2]
466
+ - @equinor/mad-components@0.11.1
467
+ - @equinor/mad-auth@0.1.8
447
468
 
448
469
  ## 0.3.8
449
470
 
450
471
  ### Patch Changes
451
472
 
452
- - ea920f3: feat: you're now able to add custom settings
473
+ - ea920f3: feat: you're now able to add custom settings
453
474
 
454
475
  ## 0.3.7
455
476
 
456
477
  ### Patch Changes
457
478
 
458
- - Updated dependencies [3681d0b]
459
- - Updated dependencies [8441874]
460
- - @equinor/mad-components@0.11.0
461
- - @equinor/mad-auth@0.1.7
479
+ - Updated dependencies [3681d0b]
480
+ - Updated dependencies [8441874]
481
+ - @equinor/mad-components@0.11.0
482
+ - @equinor/mad-auth@0.1.7
462
483
 
463
484
  ## 0.3.6
464
485
 
465
486
  ### Patch Changes
466
487
 
467
- - Updated dependencies [f02e61c]
468
- - Updated dependencies [f02e61c]
469
- - @equinor/mad-components@0.10.0
470
- - @equinor/mad-auth@0.1.6
488
+ - Updated dependencies [f02e61c]
489
+ - Updated dependencies [f02e61c]
490
+ - @equinor/mad-components@0.10.0
491
+ - @equinor/mad-auth@0.1.6
471
492
 
472
493
  ## 0.3.5
473
494
 
474
495
  ### Patch Changes
475
496
 
476
- - 37c7524: `What's new Screen`: ok button should now be available regardless of release note
477
- length
478
- - Updated dependencies [1fe9f1b]
479
- - @equinor/mad-components@0.9.0
480
- - @equinor/mad-auth@0.1.5
497
+ - 37c7524: `What's new Screen`: ok button should now be available regardless of release note length
498
+ - Updated dependencies [1fe9f1b]
499
+ - @equinor/mad-components@0.9.0
500
+ - @equinor/mad-auth@0.1.5
481
501
 
482
502
  ## 0.3.4
483
503
 
484
504
  ### Patch Changes
485
505
 
486
- - 0d6c310: update color scheme for feedback and added deprecation
487
- - Updated dependencies [a5607df]
488
- - Updated dependencies [0d6c310]
489
- - @equinor/mad-components@0.8.6
490
- - @equinor/mad-auth@0.1.4
506
+ - 0d6c310: update color scheme for feedback and added deprecation
507
+ - Updated dependencies [a5607df]
508
+ - Updated dependencies [0d6c310]
509
+ - @equinor/mad-components@0.8.6
510
+ - @equinor/mad-auth@0.1.4
491
511
 
492
512
  ## 0.3.3
493
513
 
494
514
  ### Patch Changes
495
515
 
496
- - b025c9b: Implemented Create Incident Screen
497
- - 009f521: Added support for environment switching
498
- - Updated dependencies [b025c9b]
499
- - @equinor/mad-components@0.8.5
500
- - @equinor/mad-navigation@0.2.1
501
- - @equinor/mad-insights@0.1.1
502
- - @equinor/mad-auth@0.1.3
516
+ - b025c9b: Implemented Create Incident Screen
517
+ - 009f521: Added support for environment switching
518
+ - Updated dependencies [b025c9b]
519
+ - @equinor/mad-components@0.8.5
520
+ - @equinor/mad-navigation@0.2.1
521
+ - @equinor/mad-insights@0.1.1
522
+ - @equinor/mad-auth@0.1.3
503
523
 
504
524
  ## 0.3.2
505
525
 
506
526
  ### Patch Changes
507
527
 
508
- - 3d8b22f: `createCoreStackNavigator`: now accepts paramlist as a generic argument (just like
509
- `createNativeStackNavigator`)
528
+ - 3d8b22f: `createCoreStackNavigator`: now accepts paramlist as a generic argument (just like
529
+ `createNativeStackNavigator`)
510
530
 
511
531
  ## 0.3.1
512
532
 
513
533
  ### Patch Changes
514
534
 
515
- - 7c9c6da: export most of `mad-insights`' exports
535
+ - 7c9c6da: export most of `mad-insights`' exports
516
536
 
517
537
  ## 0.3.0
518
538
 
519
539
  ### Minor Changes
520
540
 
521
- - 97dca15: Added support for service-messages!
541
+ - 97dca15: Added support for service-messages!
522
542
 
523
543
  ### Patch Changes
524
544
 
525
- - e9e74b0: export demo mode and language related utilities
526
- - Updated dependencies [97dca15]
527
- - Updated dependencies [97dca15]
528
- - @equinor/mad-components@0.8.4
529
- - @equinor/mad-auth@0.1.2
545
+ - e9e74b0: export demo mode and language related utilities
546
+ - Updated dependencies [97dca15]
547
+ - Updated dependencies [97dca15]
548
+ - @equinor/mad-components@0.8.4
549
+ - @equinor/mad-auth@0.1.2
530
550
 
531
551
  ## 0.2.0
532
552
 
533
553
  ### Minor Changes
534
554
 
535
- - 8e0178c: Added `AboutScreen`
555
+ - 8e0178c: Added `AboutScreen`
536
556
 
537
557
  ### Patch Changes
538
558
 
539
- - bcb1f75: Now exports `authenticateSilently`
540
- - Updated dependencies [59860d3]
541
- - Updated dependencies [6f62312]
542
- - @equinor/mad-components@0.8.3
543
- - @equinor/mad-auth@0.1.1
559
+ - bcb1f75: Now exports `authenticateSilently`
560
+ - Updated dependencies [59860d3]
561
+ - Updated dependencies [6f62312]
562
+ - @equinor/mad-components@0.8.3
563
+ - @equinor/mad-auth@0.1.1
544
564
 
545
565
  ## 0.1.0
546
566
 
547
567
  ### Minor Changes
548
568
 
549
- - 936e5e0: Added application insights support. Now exports NavigationContainer and ErrorBoundary
550
- with tracking
551
-
552
- ### Patch Changes
553
-
554
- - 64325cd: Implemented Release Notes Screen from Settings
555
- - 00d02ca: Norwegian and english support
556
- - f96b8e4: `MadConfig`: added redirectUriWeb
557
- - 106a9a8: Portuguese language added
558
- - ab71601: now exports `createBottomTabNavigator` and `createNativeStackNavigator`, with
559
- environment-banner as a sub-header
560
- - e941e2e: Can now select language
561
- - Updated dependencies [ab71601]
562
- - Updated dependencies [936e5e0]
563
- - Updated dependencies [38e818d]
564
- - Updated dependencies [cf131da]
565
- - Updated dependencies [936e5e0]
566
- - Updated dependencies [e941e2e]
567
- - @equinor/mad-navigation@0.2.0
568
- - @equinor/mad-insights@0.1.0
569
- - @equinor/mad-components@0.8.2
570
- - @equinor/mad-auth@0.1.0
569
+ - 936e5e0: Added application insights support. Now exports NavigationContainer and ErrorBoundary
570
+ with tracking
571
+
572
+ ### Patch Changes
573
+
574
+ - 64325cd: Implemented Release Notes Screen from Settings
575
+ - 00d02ca: Norwegian and english support
576
+ - f96b8e4: `MadConfig`: added redirectUriWeb
577
+ - 106a9a8: Portuguese language added
578
+ - ab71601: now exports `createBottomTabNavigator` and `createNativeStackNavigator`, with
579
+ environment-banner as a sub-header
580
+ - e941e2e: Can now select language
581
+ - Updated dependencies [ab71601]
582
+ - Updated dependencies [936e5e0]
583
+ - Updated dependencies [38e818d]
584
+ - Updated dependencies [cf131da]
585
+ - Updated dependencies [936e5e0]
586
+ - Updated dependencies [e941e2e]
587
+ - @equinor/mad-navigation@0.2.0
588
+ - @equinor/mad-insights@0.1.0
589
+ - @equinor/mad-components@0.8.2
590
+ - @equinor/mad-auth@0.1.0
571
591
 
572
592
  ## 0.0.4
573
593
 
574
594
  ### Patch Changes
575
595
 
576
- - a22023e: Settings screen implemented
577
- - 4c301e1: Implemented WhatsNewScreen into core package, created ChangeLog component
578
- - Updated dependencies [c8d9131]
579
- - Updated dependencies [a22023e]
580
- - Updated dependencies [a57a362]
581
- - Updated dependencies [a22023e]
582
- - Updated dependencies [65d6d69]
583
- - Updated dependencies [a0999d4]
584
- - Updated dependencies [4c301e1]
585
- - Updated dependencies [bda6748]
586
- - Updated dependencies [08eeb85]
587
- - @equinor/mad-components@0.8.1
588
- - @equinor/mad-navigation@0.1.17
589
- - @equinor/mad-auth@0.0.14
596
+ - a22023e: Settings screen implemented
597
+ - 4c301e1: Implemented WhatsNewScreen into core package, created ChangeLog component
598
+ - Updated dependencies [c8d9131]
599
+ - Updated dependencies [a22023e]
600
+ - Updated dependencies [a57a362]
601
+ - Updated dependencies [a22023e]
602
+ - Updated dependencies [65d6d69]
603
+ - Updated dependencies [a0999d4]
604
+ - Updated dependencies [4c301e1]
605
+ - Updated dependencies [bda6748]
606
+ - Updated dependencies [08eeb85]
607
+ - @equinor/mad-components@0.8.1
608
+ - @equinor/mad-navigation@0.1.17
609
+ - @equinor/mad-auth@0.0.14
590
610
 
591
611
  ## 0.0.3
592
612
 
593
613
  ### Patch Changes
594
614
 
595
- - Updated dependencies [fb69a74]
596
- - @equinor/mad-components@0.8.0
597
- - @equinor/mad-auth@0.0.13
598
- - @equinor/mad-navigation@0.1.16
615
+ - Updated dependencies [fb69a74]
616
+ - @equinor/mad-components@0.8.0
617
+ - @equinor/mad-auth@0.0.13
618
+ - @equinor/mad-navigation@0.1.16
599
619
 
600
620
  ## 0.0.2
601
621
 
602
622
  ### Patch Changes
603
623
 
604
- - 81f95ba: An initial template for mad-core
605
- - Updated dependencies [c2f7949]
606
- - Updated dependencies [b8b7a72]
607
- - Updated dependencies [5a071fb]
608
- - Updated dependencies [c2f7949]
609
- - @equinor/mad-components@0.7.0
610
- - @equinor/mad-auth@0.0.12
611
- - @equinor/mad-navigation@0.1.15
624
+ - 81f95ba: An initial template for mad-core
625
+ - Updated dependencies [c2f7949]
626
+ - Updated dependencies [b8b7a72]
627
+ - Updated dependencies [5a071fb]
628
+ - Updated dependencies [c2f7949]
629
+ - @equinor/mad-components@0.7.0
630
+ - @equinor/mad-auth@0.0.12
631
+ - @equinor/mad-navigation@0.1.15
@@ -1,6 +1,3 @@
1
- import {
2
- SelectLanguageScreen
3
- } from "./chunk-STKI44UB.js";
4
1
  import {
5
2
  ReleaseNotesScreen
6
3
  } from "./chunk-TWUGCMPQ.js";
@@ -9,7 +6,10 @@ import {
9
6
  } from "./chunk-F2IUXOBD.js";
10
7
  import {
11
8
  CreateIncidentScreen
12
- } from "./chunk-ZIV7DVBA.js";
9
+ } from "./chunk-LDNQAGSY.js";
10
+ import {
11
+ SelectLanguageScreen
12
+ } from "./chunk-STKI44UB.js";
13
13
  import {
14
14
  AboutScreen
15
15
  } from "./chunk-ZAJCJP22.js";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  createMadCoreNativeStackNavigator,
10
10
  createMadCoreStackNavigator
11
- } from "./chunk-4DFNW2IQ.js";
11
+ } from "./chunk-K2WN3N6V.js";
12
12
  import {
13
13
  setConfig
14
14
  } from "./chunk-GEEFQMRN.js";
@@ -2,7 +2,7 @@ import {
2
2
  createCoreStackNavigator,
3
3
  createNativeStackCoreNavigator,
4
4
  createStackCoreNavigator
5
- } from "../chunk-W5OWK2YM.js";
5
+ } from "../chunk-L6D5Q6UU.js";
6
6
  import "../chunk-WDZF2C5R.js";
7
7
  import "../chunk-2GCLIPZP.js";
8
8
  import "../chunk-YB3XJPRA.js";
@@ -12,15 +12,15 @@ import "../chunk-SHKOH7MA.js";
12
12
  import "../chunk-XJX4HQF2.js";
13
13
  import "../chunk-YWPELSTX.js";
14
14
  import "../chunk-BDKB5ELS.js";
15
- import "../chunk-4DFNW2IQ.js";
16
- import "../chunk-STKI44UB.js";
17
- import "../chunk-KEH6NBFE.js";
15
+ import "../chunk-K2WN3N6V.js";
18
16
  import "../chunk-TWUGCMPQ.js";
19
17
  import "../chunk-F2IUXOBD.js";
20
18
  import "../chunk-XLQYZR5C.js";
21
- import "../chunk-ZIV7DVBA.js";
22
- import "../chunk-3WUJAVUO.js";
19
+ import "../chunk-LDNQAGSY.js";
23
20
  import "../chunk-NJ5W3O5I.js";
21
+ import "../chunk-3WUJAVUO.js";
22
+ import "../chunk-STKI44UB.js";
23
+ import "../chunk-KEH6NBFE.js";
24
24
  import "../chunk-ZAJCJP22.js";
25
25
  import "../chunk-5GNZJDSE.js";
26
26
  import "../chunk-OCWASWDK.js";
@@ -2,17 +2,17 @@ import "../chunk-JYWP44JR.js";
2
2
  import "../chunk-AK7PA4BE.js";
3
3
  import {
4
4
  SettingsScreen
5
- } from "../chunk-HH5WS6OQ.js";
6
- import "../chunk-5GBNULIT.js";
7
- import "../chunk-WQTC5TXE.js";
5
+ } from "../chunk-BGHJW5SF.js";
8
6
  import "../chunk-YKLMUKP4.js";
9
7
  import "../chunk-3OKLIPZ5.js";
8
+ import "../chunk-5GBNULIT.js";
9
+ import "../chunk-WQTC5TXE.js";
10
10
  import "../chunk-QLL6LKDN.js";
11
11
  import {
12
12
  createCoreStackNavigator,
13
13
  createNativeStackCoreNavigator,
14
14
  createStackCoreNavigator
15
- } from "../chunk-W5OWK2YM.js";
15
+ } from "../chunk-L6D5Q6UU.js";
16
16
  import "../chunk-WDZF2C5R.js";
17
17
  import "../chunk-2GCLIPZP.js";
18
18
  import {
@@ -26,15 +26,15 @@ import "../chunk-SHKOH7MA.js";
26
26
  import "../chunk-XJX4HQF2.js";
27
27
  import "../chunk-YWPELSTX.js";
28
28
  import "../chunk-BDKB5ELS.js";
29
- import "../chunk-4DFNW2IQ.js";
30
- import "../chunk-STKI44UB.js";
31
- import "../chunk-KEH6NBFE.js";
29
+ import "../chunk-K2WN3N6V.js";
32
30
  import "../chunk-TWUGCMPQ.js";
33
31
  import "../chunk-F2IUXOBD.js";
34
32
  import "../chunk-XLQYZR5C.js";
35
- import "../chunk-ZIV7DVBA.js";
36
- import "../chunk-3WUJAVUO.js";
33
+ import "../chunk-LDNQAGSY.js";
37
34
  import "../chunk-NJ5W3O5I.js";
35
+ import "../chunk-3WUJAVUO.js";
36
+ import "../chunk-STKI44UB.js";
37
+ import "../chunk-KEH6NBFE.js";
38
38
  import "../chunk-ZAJCJP22.js";
39
39
  import {
40
40
  LoginScreen
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  CreateIncidentScreen
3
- } from "../../../chunk-ZIV7DVBA.js";
4
- import "../../../chunk-3WUJAVUO.js";
3
+ } from "../../../chunk-LDNQAGSY.js";
5
4
  import "../../../chunk-NJ5W3O5I.js";
5
+ import "../../../chunk-3WUJAVUO.js";
6
6
  import "../../../chunk-ZB37EIZB.js";
7
7
  import "../../../chunk-GUKC6UGZ.js";
8
8
  import "../../../chunk-WWF7QKDX.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SettingsScreen
3
- } from "../../../chunk-HH5WS6OQ.js";
4
- import "../../../chunk-WQTC5TXE.js";
3
+ } from "../../../chunk-BGHJW5SF.js";
5
4
  import "../../../chunk-YKLMUKP4.js";
6
5
  import "../../../chunk-3OKLIPZ5.js";
6
+ import "../../../chunk-WQTC5TXE.js";
7
7
  import "../../../chunk-QLL6LKDN.js";
8
8
  import "../../../chunk-U5IJVQDO.js";
9
9
  import "../../../chunk-GUKC6UGZ.js";
@@ -1,11 +1,11 @@
1
1
  import "../../../chunk-AK7PA4BE.js";
2
2
  import {
3
3
  SettingsScreen
4
- } from "../../../chunk-HH5WS6OQ.js";
5
- import "../../../chunk-5GBNULIT.js";
6
- import "../../../chunk-WQTC5TXE.js";
4
+ } from "../../../chunk-BGHJW5SF.js";
7
5
  import "../../../chunk-YKLMUKP4.js";
8
6
  import "../../../chunk-3OKLIPZ5.js";
7
+ import "../../../chunk-5GBNULIT.js";
8
+ import "../../../chunk-WQTC5TXE.js";
9
9
  import "../../../chunk-QLL6LKDN.js";
10
10
  import "../../../chunk-U5IJVQDO.js";
11
11
  import "../../../chunk-GUKC6UGZ.js";
package/dist/index.js CHANGED
@@ -2,17 +2,17 @@ import "./chunk-JYWP44JR.js";
2
2
  import "./chunk-AK7PA4BE.js";
3
3
  import {
4
4
  SettingsScreen
5
- } from "./chunk-HH5WS6OQ.js";
6
- import "./chunk-5GBNULIT.js";
7
- import "./chunk-WQTC5TXE.js";
5
+ } from "./chunk-BGHJW5SF.js";
8
6
  import "./chunk-YKLMUKP4.js";
9
7
  import "./chunk-3OKLIPZ5.js";
8
+ import "./chunk-5GBNULIT.js";
9
+ import "./chunk-WQTC5TXE.js";
10
10
  import "./chunk-QLL6LKDN.js";
11
11
  import {
12
12
  createCoreStackNavigator,
13
13
  createNativeStackCoreNavigator,
14
14
  createStackCoreNavigator
15
- } from "./chunk-W5OWK2YM.js";
15
+ } from "./chunk-L6D5Q6UU.js";
16
16
  import "./chunk-WDZF2C5R.js";
17
17
  import "./chunk-2GCLIPZP.js";
18
18
  import {
@@ -26,15 +26,15 @@ import "./chunk-SHKOH7MA.js";
26
26
  import "./chunk-XJX4HQF2.js";
27
27
  import "./chunk-YWPELSTX.js";
28
28
  import "./chunk-BDKB5ELS.js";
29
- import "./chunk-4DFNW2IQ.js";
30
- import "./chunk-STKI44UB.js";
31
- import "./chunk-KEH6NBFE.js";
29
+ import "./chunk-K2WN3N6V.js";
32
30
  import "./chunk-TWUGCMPQ.js";
33
31
  import "./chunk-F2IUXOBD.js";
34
32
  import "./chunk-XLQYZR5C.js";
35
- import "./chunk-ZIV7DVBA.js";
36
- import "./chunk-3WUJAVUO.js";
33
+ import "./chunk-LDNQAGSY.js";
37
34
  import "./chunk-NJ5W3O5I.js";
35
+ import "./chunk-3WUJAVUO.js";
36
+ import "./chunk-STKI44UB.js";
37
+ import "./chunk-KEH6NBFE.js";
38
38
  import "./chunk-ZAJCJP22.js";
39
39
  import {
40
40
  LoginScreen
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createMadCoreNativeStackNavigator,
3
3
  createMadCoreStackNavigator
4
- } from "../chunk-4DFNW2IQ.js";
5
- import "../chunk-STKI44UB.js";
6
- import "../chunk-KEH6NBFE.js";
4
+ } from "../chunk-K2WN3N6V.js";
7
5
  import "../chunk-TWUGCMPQ.js";
8
6
  import "../chunk-F2IUXOBD.js";
9
7
  import "../chunk-XLQYZR5C.js";
10
- import "../chunk-ZIV7DVBA.js";
11
- import "../chunk-3WUJAVUO.js";
8
+ import "../chunk-LDNQAGSY.js";
12
9
  import "../chunk-NJ5W3O5I.js";
10
+ import "../chunk-3WUJAVUO.js";
11
+ import "../chunk-STKI44UB.js";
12
+ import "../chunk-KEH6NBFE.js";
13
13
  import "../chunk-ZAJCJP22.js";
14
14
  import "../chunk-5GNZJDSE.js";
15
15
  import "../chunk-OCWASWDK.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@equinor/mad-core",
3
3
  "description": "Core library for the Mobile App Delivery team",
4
- "version": "0.11.0",
4
+ "version": "0.11.2",
5
5
  "author": {
6
6
  "name": "Equinor Mobile App Delivery team (MAD)"
7
7
  },
@@ -51,9 +51,9 @@
51
51
  "@react-navigation/native": "^6.1.17",
52
52
  "expo-device": "~7.0.1",
53
53
  "expo-localization": "~16.0.0",
54
- "react": "18.3.1",
55
- "react-dom": "18.3.1",
56
- "react-native": "0.76.3",
54
+ "react": "~18.3.1",
55
+ "react-dom": "~18.3.1",
56
+ "react-native": "~0.76.3",
57
57
  "react-native-gesture-handler": "~2.20.2",
58
58
  "react-native-msal": "*",
59
59
  "react-native-safe-area-context": "4.12.0"
@@ -1,9 +1,9 @@
1
- import {
2
- useSignOut
3
- } from "./chunk-WQTC5TXE.js";
4
1
  import {
5
2
  SettingsSection
6
3
  } from "./chunk-YKLMUKP4.js";
4
+ import {
5
+ useSignOut
6
+ } from "./chunk-WQTC5TXE.js";
7
7
  import {
8
8
  getFinalSettingsConfig
9
9
  } from "./chunk-QLL6LKDN.js";
@@ -1,9 +1,9 @@
1
- import {
2
- UserInfo
3
- } from "./chunk-3WUJAVUO.js";
4
1
  import {
5
2
  createIncident
6
3
  } from "./chunk-NJ5W3O5I.js";
4
+ import {
5
+ UserInfo
6
+ } from "./chunk-3WUJAVUO.js";
7
7
  import {
8
8
  useAccountOrDemoAccount
9
9
  } from "./chunk-WWF7QKDX.js";