Skip to content

Commit 40df609

Browse files
committed
Replace safe-area-context witn RN SafeArea
1 parent be3cb09 commit 40df609

File tree

7 files changed

+18
-20
lines changed

7 files changed

+18
-20
lines changed

apps/common-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"react-native-gesture-handler": "2.24.0",
5252
"react-native-pager-view": "patch:react-native-pager-view@npm%3A6.6.1#~/.yarn/patches/react-native-pager-view-npm-6.6.1-dda1167cca.patch",
5353
"react-native-reanimated": "workspace:*",
54-
"react-native-safe-area-context": "5.2.0",
54+
"react-native-safe-area-context": "5.3.0",
5555
"react-native-screens": "4.9.1",
5656
"react-native-svg": "15.11.2",
5757
"react-strict-dom": "0.0.27",

apps/common-app/src/examples/OldMeasureExample.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import '../types';
22

33
import type { ReactElement, ReactNode } from 'react';
44
import React, { useRef } from 'react';
5-
import { Platform, StyleSheet, Text, View } from 'react-native';
5+
import { Platform, SafeAreaView, StyleSheet, Text, View } from 'react-native';
66
import type { TapGestureHandlerGestureEvent } from 'react-native-gesture-handler';
77
import { TapGestureHandler } from 'react-native-gesture-handler';
88
import type { AnimatedRef } from 'react-native-reanimated';
@@ -16,7 +16,6 @@ import Animated, {
1616
useSharedValue,
1717
withTiming,
1818
} from 'react-native-reanimated';
19-
import { SafeAreaView } from 'react-native-safe-area-context';
2019

2120
const labels = ['apple', 'banana', 'kiwi', 'milk', 'water'];
2221
const SECTION_HEADER_HEIGHT = 40;

apps/common-app/src/examples/PinExample.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Platform, StyleSheet, Text, View } from 'react-native';
2+
import { Platform, SafeAreaView, StyleSheet, Text, View } from 'react-native';
33
import type { PanGestureHandlerGestureEvent } from 'react-native-gesture-handler';
44
import { PanGestureHandler } from 'react-native-gesture-handler';
55
import type { SharedValue } from 'react-native-reanimated';
@@ -11,7 +11,6 @@ import Animated, {
1111
useDerivedValue,
1212
useSharedValue,
1313
} from 'react-native-reanimated';
14-
import { SafeAreaView } from 'react-native-safe-area-context';
1514

1615
const digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
1716
const indices = [0, 1, 2, 3];

apps/fabric-example/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ PODS:
13561356
- ReactCommon/turbomodule/bridging
13571357
- ReactCommon/turbomodule/core
13581358
- Yoga
1359-
- react-native-safe-area-context (5.2.0):
1359+
- react-native-safe-area-context (5.3.0):
13601360
- DoubleConversion
13611361
- glog
13621362
- hermes-engine
@@ -1371,8 +1371,8 @@ PODS:
13711371
- React-hermes
13721372
- React-ImageManager
13731373
- React-jsi
1374-
- react-native-safe-area-context/common (= 5.2.0)
1375-
- react-native-safe-area-context/fabric (= 5.2.0)
1374+
- react-native-safe-area-context/common (= 5.3.0)
1375+
- react-native-safe-area-context/fabric (= 5.3.0)
13761376
- React-NativeModulesApple
13771377
- React-RCTFabric
13781378
- React-renderercss
@@ -1382,7 +1382,7 @@ PODS:
13821382
- ReactCommon/turbomodule/bridging
13831383
- ReactCommon/turbomodule/core
13841384
- Yoga
1385-
- react-native-safe-area-context/common (5.2.0):
1385+
- react-native-safe-area-context/common (5.3.0):
13861386
- DoubleConversion
13871387
- glog
13881388
- hermes-engine
@@ -1406,7 +1406,7 @@ PODS:
14061406
- ReactCommon/turbomodule/bridging
14071407
- ReactCommon/turbomodule/core
14081408
- Yoga
1409-
- react-native-safe-area-context/fabric (5.2.0):
1409+
- react-native-safe-area-context/fabric (5.3.0):
14101410
- DoubleConversion
14111411
- glog
14121412
- hermes-engine
@@ -2416,7 +2416,7 @@ SPEC CHECKSUMS:
24162416
React-Mapbuffer: 5b911bc2ff88dfca26dab5f02fc0d12c6b860e79
24172417
React-microtasksnativemodule: 3e5086f10c04af85b3be203d98029fbdd078a910
24182418
react-native-pager-view: 8106d314fdce193ae8815e7883939872b95cb105
2419-
react-native-safe-area-context: 98119184660b9638e090e21d0c76f4faa4ac57d8
2419+
react-native-safe-area-context: 2827adb0d1250242917057a8ae0b3bfb5670d9e4
24202420
react-native-slider: 9dacdc4dcd6ea3ba9b11a8b715830f5e2b33639e
24212421
React-NativeModulesApple: 825f355522f781dcb7c126f9c1168e6308337697
24222422
React-oscompat: c6082f356b7a89f29d011e36aaac7101a0a5c032

apps/fabric-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"react-native-gesture-handler": "2.24.0",
2525
"react-native-pager-view": "patch:react-native-pager-view@npm%3A6.6.1#~/.yarn/patches/react-native-pager-view-npm-6.6.1-dda1167cca.patch",
2626
"react-native-reanimated": "workspace:*",
27-
"react-native-safe-area-context": "5.2.0",
27+
"react-native-safe-area-context": "5.3.0",
2828
"react-native-screens": "4.9.1",
2929
"react-native-svg": "15.11.2"
3030
},

apps/paper-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"react-native-gesture-handler": "2.24.0",
2525
"react-native-pager-view": "patch:react-native-pager-view@npm%3A6.6.1#~/.yarn/patches/react-native-pager-view-npm-6.6.1-dda1167cca.patch",
2626
"react-native-reanimated": "workspace:*",
27-
"react-native-safe-area-context": "5.2.0",
27+
"react-native-safe-area-context": "5.3.0",
2828
"react-native-screens": "4.9.1",
2929
"react-native-svg": "15.11.2"
3030
},

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8928,7 +8928,7 @@ __metadata:
89288928
react-native-gesture-handler: "npm:2.24.0"
89298929
react-native-pager-view: "patch:react-native-pager-view@npm%3A6.6.1#~/.yarn/patches/react-native-pager-view-npm-6.6.1-dda1167cca.patch"
89308930
react-native-reanimated: "workspace:*"
8931-
react-native-safe-area-context: "npm:5.2.0"
8931+
react-native-safe-area-context: "npm:5.3.0"
89328932
react-native-screens: "npm:4.9.1"
89338933
react-native-svg: "npm:15.11.2"
89348934
react-strict-dom: "npm:0.0.27"
@@ -11522,7 +11522,7 @@ __metadata:
1152211522
react-native-gesture-handler: "npm:2.24.0"
1152311523
react-native-pager-view: "patch:react-native-pager-view@npm%3A6.6.1#~/.yarn/patches/react-native-pager-view-npm-6.6.1-dda1167cca.patch"
1152411524
react-native-reanimated: "workspace:*"
11525-
react-native-safe-area-context: "npm:5.2.0"
11525+
react-native-safe-area-context: "npm:5.3.0"
1152611526
react-native-screens: "npm:4.9.1"
1152711527
react-native-svg: "npm:15.11.2"
1152811528
react-test-renderer: "npm:19.0.0"
@@ -17443,7 +17443,7 @@ __metadata:
1744317443
react-native-gesture-handler: "npm:2.24.0"
1744417444
react-native-pager-view: "patch:react-native-pager-view@npm%3A6.6.1#~/.yarn/patches/react-native-pager-view-npm-6.6.1-dda1167cca.patch"
1744517445
react-native-reanimated: "workspace:*"
17446-
react-native-safe-area-context: "npm:5.2.0"
17446+
react-native-safe-area-context: "npm:5.3.0"
1744717447
react-native-screens: "npm:4.9.1"
1744817448
react-native-svg: "npm:15.11.2"
1744917449
react-test-renderer: "npm:19.0.0"
@@ -18529,13 +18529,13 @@ __metadata:
1852918529
languageName: node
1853018530
linkType: hard
1853118531

18532-
"react-native-safe-area-context@npm:5.2.0":
18533-
version: 5.2.0
18534-
resolution: "react-native-safe-area-context@npm:5.2.0"
18532+
"react-native-safe-area-context@npm:5.3.0":
18533+
version: 5.3.0
18534+
resolution: "react-native-safe-area-context@npm:5.3.0"
1853518535
peerDependencies:
1853618536
react: "*"
1853718537
react-native: "*"
18538-
checksum: 10/0972d6f1e2485b71c148aeabaf9f1bfbc533549c66de7d0ea617f92df0024646324c38dc9062ea0392761b72b0f7b6e605a784c09addce61e105e6737bbde7b0
18538+
checksum: 10/771abab96577fcdf7ff77835174d58ebb032df06938a99b30d24f192e2c8eb823cec88f289a33b862b7c10f35c6fccc5da02698aadcb2a199741cbf829ee4ea6
1853918539
languageName: node
1854018540
linkType: hard
1854118541

0 commit comments

Comments
 (0)