Skip to content

Commit 4a9307b

Browse files
authored
chore: Upgrade navigation libs (#6512)
1 parent e4f6f69 commit 4a9307b

File tree

7 files changed

+257
-332
lines changed

7 files changed

+257
-332
lines changed

app/containers/Header/components/HeaderButton/HeaderButtons.stories.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import React from 'react';
22
import { View } from 'react-native';
3-
import { Header, HeaderBackground } from '@react-navigation/elements';
3+
import { Header, HeaderBackground, SafeAreaProviderCompat } from '@react-navigation/elements';
44
import { NavigationContainer } from '@react-navigation/native';
5-
import { SafeAreaProvider } from 'react-native-safe-area-context';
65

76
import * as HeaderButton from '.';
87
import { TColors, ThemeContext, TSupportedThemes } from '../../../../theme';
@@ -20,9 +19,9 @@ export default {
2019
decorators: [
2120
(Story: any) => (
2221
<NavigationContainer>
23-
<SafeAreaProvider>
22+
<SafeAreaProviderCompat>
2423
<Story />
25-
</SafeAreaProvider>
24+
</SafeAreaProviderCompat>
2625
</NavigationContainer>
2726
)
2827
]

app/containers/Header/components/HeaderButton/__snapshots__/HeaderButtons.test.tsx.snap

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -568,11 +568,11 @@ exports[`Story Snapshots: Badge should match snapshot 1`] = `
568568
}
569569
>
570570
<Text
571-
accessibilityRole="header"
572571
aria-level="1"
573572
collapsable={false}
574573
numberOfLines={1}
575574
onLayout={[Function]}
575+
role="heading"
576576
style={
577577
[
578578
{
@@ -817,11 +817,11 @@ exports[`Story Snapshots: Common should match snapshot 1`] = `
817817
}
818818
>
819819
<Text
820-
accessibilityRole="header"
821820
aria-level="1"
822821
collapsable={false}
823822
numberOfLines={1}
824823
onLayout={[Function]}
824+
role="heading"
825825
style={
826826
[
827827
{
@@ -1062,11 +1062,11 @@ exports[`Story Snapshots: Common should match snapshot 1`] = `
10621062
}
10631063
>
10641064
<Text
1065-
accessibilityRole="header"
10661065
aria-level="1"
10671066
collapsable={false}
10681067
numberOfLines={1}
10691068
onLayout={[Function]}
1069+
role="heading"
10701070
style={
10711071
[
10721072
{
@@ -1297,11 +1297,11 @@ exports[`Story Snapshots: Common should match snapshot 1`] = `
12971297
}
12981298
>
12991299
<Text
1300-
accessibilityRole="header"
13011300
aria-level="1"
13021301
collapsable={false}
13031302
numberOfLines={1}
13041303
onLayout={[Function]}
1304+
role="heading"
13051305
style={
13061306
[
13071307
{
@@ -1459,11 +1459,11 @@ exports[`Story Snapshots: Common should match snapshot 1`] = `
14591459
}
14601460
>
14611461
<Text
1462-
accessibilityRole="header"
14631462
aria-level="1"
14641463
collapsable={false}
14651464
numberOfLines={1}
14661465
onLayout={[Function]}
1466+
role="heading"
14671467
style={
14681468
[
14691469
{
@@ -1701,11 +1701,11 @@ exports[`Story Snapshots: Common should match snapshot 1`] = `
17011701
}
17021702
>
17031703
<Text
1704-
accessibilityRole="header"
17051704
aria-level="1"
17061705
collapsable={false}
17071706
numberOfLines={1}
17081707
onLayout={[Function]}
1708+
role="heading"
17091709
style={
17101710
[
17111711
{
@@ -1943,11 +1943,11 @@ exports[`Story Snapshots: Common should match snapshot 1`] = `
19431943
}
19441944
>
19451945
<Text
1946-
accessibilityRole="header"
19471946
aria-level="1"
19481947
collapsable={false}
19491948
numberOfLines={1}
19501949
onLayout={[Function]}
1950+
role="heading"
19511951
style={
19521952
[
19531953
{
@@ -2185,11 +2185,11 @@ exports[`Story Snapshots: Common should match snapshot 1`] = `
21852185
}
21862186
>
21872187
<Text
2188-
accessibilityRole="header"
21892188
aria-level="1"
21902189
collapsable={false}
21912190
numberOfLines={1}
21922191
onLayout={[Function]}
2192+
role="heading"
21932193
style={
21942194
[
21952195
{
@@ -2515,11 +2515,11 @@ exports[`Story Snapshots: Icons should match snapshot 1`] = `
25152515
}
25162516
>
25172517
<Text
2518-
accessibilityRole="header"
25192518
aria-level="1"
25202519
collapsable={false}
25212520
numberOfLines={1}
25222521
onLayout={[Function]}
2522+
role="heading"
25232523
style={
25242524
[
25252525
{
@@ -2901,11 +2901,11 @@ exports[`Story Snapshots: Icons should match snapshot 1`] = `
29012901
}
29022902
>
29032903
<Text
2904-
accessibilityRole="header"
29052904
aria-level="1"
29062905
collapsable={false}
29072906
numberOfLines={1}
29082907
onLayout={[Function]}
2908+
role="heading"
29092909
style={
29102910
[
29112911
{
@@ -3401,11 +3401,11 @@ exports[`Story Snapshots: Themes should match snapshot 1`] = `
34013401
}
34023402
>
34033403
<Text
3404-
accessibilityRole="header"
34053404
aria-level="1"
34063405
collapsable={false}
34073406
numberOfLines={1}
34083407
onLayout={[Function]}
3408+
role="heading"
34093409
style={
34103410
[
34113411
{
@@ -3936,11 +3936,11 @@ exports[`Story Snapshots: Themes should match snapshot 1`] = `
39363936
}
39373937
>
39383938
<Text
3939-
accessibilityRole="header"
39403939
aria-level="1"
39413940
collapsable={false}
39423941
numberOfLines={1}
39433942
onLayout={[Function]}
3943+
role="heading"
39443944
style={
39453945
[
39463946
{
@@ -4471,11 +4471,11 @@ exports[`Story Snapshots: Themes should match snapshot 1`] = `
44714471
}
44724472
>
44734473
<Text
4474-
accessibilityRole="header"
44754474
aria-level="1"
44764475
collapsable={false}
44774476
numberOfLines={1}
44784477
onLayout={[Function]}
4478+
role="heading"
44794479
style={
44804480
[
44814481
{
@@ -4894,11 +4894,11 @@ exports[`Story Snapshots: Title should match snapshot 1`] = `
48944894
}
48954895
>
48964896
<Text
4897-
accessibilityRole="header"
48984897
aria-level="1"
48994898
collapsable={false}
49004899
numberOfLines={1}
49014900
onLayout={[Function]}
4901+
role="heading"
49024902
style={
49034903
[
49044904
{
@@ -5256,11 +5256,11 @@ exports[`Story Snapshots: Title should match snapshot 1`] = `
52565256
}
52575257
>
52585258
<Text
5259-
accessibilityRole="header"
52605259
aria-level="1"
52615260
collapsable={false}
52625261
numberOfLines={1}
52635262
onLayout={[Function]}
5263+
role="heading"
52645264
style={
52655265
[
52665266
{

ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PODS:
5353
- ExpoModulesCore
5454
- ExpoHaptics (14.1.3):
5555
- ExpoModulesCore
56-
- ExpoImage (2.1.6):
56+
- ExpoImage (2.3.2):
5757
- ExpoModulesCore
5858
- libavif/libdav1d
5959
- SDWebImage (~> 5.21.0)
@@ -2217,7 +2217,7 @@ PODS:
22172217
- ReactCommon/turbomodule/bridging
22182218
- ReactCommon/turbomodule/core
22192219
- Yoga
2220-
- RNScreens (4.9.2):
2220+
- RNScreens (4.13.1):
22212221
- DoubleConversion
22222222
- glog
22232223
- hermes-engine
@@ -2695,7 +2695,7 @@ SPEC CHECKSUMS:
26952695
ExpoFileSystem: 175267faf2b38511b01ac110243b13754dac57d3
26962696
ExpoFont: abbb91a911eb961652c2b0a22eef801860425ed6
26972697
ExpoHaptics: 0700bdb80e99deb606561698e79041a0d61d724e
2698-
ExpoImage: ef73e2ed551133a5fab8693a2ea1ea1dc4da2542
2698+
ExpoImage: 785f7673cfecd97045cf333fd6486b57ccab4b71
26992699
ExpoKeepAwake: 213acedecafb6fda8c0ffedad22ee9e2903400c5
27002700
ExpoLocalAuthentication: f69863a1822e42db67a311ce839ecbac70e7fa65
27012701
ExpoModulesCore: 92329f3b150939f631068bf4fa54331e55b09244
@@ -2820,7 +2820,7 @@ SPEC CHECKSUMS:
28202820
RNLocalize: ca86348d88b9a89da0e700af58d428ab3f343c4e
28212821
RNNotifee: 8768d065bf1e2f9f8f347b4bd79147431c7eacd6
28222822
RNReanimated: 5088b0601d96ffe35d18700b97bc1feb3f6105d4
2823-
RNScreens: 896fe2f0c448a63265c5e2d17817a0a6b4237e54
2823+
RNScreens: 48d705e4f7a2e66c08cf552a4c57714d4a44d6f9
28242824
RNSVG: ab84f2de7dd4f2c86d01825b8a65e0ef712fc36b
28252825
RNVectorIcons: 5784330be9dddb5474e8b378d5f6947996c84e55
28262826
SDWebImage: f84b0feeb08d2d11e6a9b843cb06d75ebf5b8868

0 commit comments

Comments
 (0)