Skip to content

Commit 313b486

Browse files
committed
chore: remove RN types and regenerate snapshots in BottomSheet and IntroScreen
1 parent 4d2ce83 commit 313b486

File tree

5 files changed

+16
-30
lines changed

5 files changed

+16
-30
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"@types/node": "^16.11.19",
5858
"@types/react": "~18.0.0",
5959
"@types/react-dom": "~18.0.0",
60-
"@types/react-native": "0.72.7",
6160
"@types/react-native-vector-icons": "^6.4.9",
6261
"@types/react-test-renderer": "~18.0.0",
6362
"@types/shelljs": "^0.8.9",
@@ -92,7 +91,6 @@
9291
"resolutions": {
9392
"@mendix/pluggable-widgets-tools": "9.24.1",
9493
"@types/react": "^18",
95-
"@types/react-native": "0.72.7",
9694
"react": "18.2.0",
9795
"react-dom": "18.2.0",
9896
"react-native": "0.73.8",

packages/pluggableWidgets/bottom-sheet-native/src/__tests__/__snapshots__/BottomSheet.spec.tsx.snap

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Bottom sheet renders a custom bottom action sheet for ios (Basic modal) with custom style 1`] = `
4-
<Modal
5-
animationType="none"
6-
hardwareAccelerated={false}
7-
onRequestClose={[Function]}
8-
transparent={true}
9-
visible={false}
10-
/>
11-
`;
3+
exports[`Bottom sheet renders a custom bottom action sheet for ios (Basic modal) with custom style 1`] = `null`;
124

135
exports[`Bottom sheet renders a custom modal 1`] = `
146
<View

packages/pluggableWidgets/intro-screen-native/src/__tests__/__snapshots__/IntroScreen.notch.spec.tsx.snap

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -780,10 +780,4 @@ exports[`Intro Screen renders with active slide attribute 1`] = `
780780
</Modal>
781781
`;
782782

783-
exports[`Intro Screen renders with async storage identifier 1`] = `
784-
<Modal
785-
hardwareAccelerated={false}
786-
transparent={false}
787-
visible={false}
788-
/>
789-
`;
783+
exports[`Intro Screen renders with async storage identifier 1`] = `null`;

packages/pluggableWidgets/intro-screen-native/src/__tests__/__snapshots__/IntroScreen.spec.tsx.snap

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -780,10 +780,4 @@ exports[`Intro Screen renders with active slide attribute 1`] = `
780780
</Modal>
781781
`;
782782

783-
exports[`Intro Screen renders with async storage identifier 1`] = `
784-
<Modal
785-
hardwareAccelerated={false}
786-
transparent={false}
787-
visible={false}
788-
/>
789-
`;
783+
exports[`Intro Screen renders with async storage identifier 1`] = `null`;

yarn.lock

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3881,13 +3881,22 @@ __metadata:
38813881
languageName: node
38823882
linkType: hard
38833883

3884-
"@types/react-native@npm:0.72.7":
3885-
version: 0.72.7
3886-
resolution: "@types/react-native@npm:0.72.7"
3884+
"@types/react-native@npm:*":
3885+
version: 0.72.8
3886+
resolution: "@types/react-native@npm:0.72.8"
38873887
dependencies:
38883888
"@react-native/virtualized-lists": ^0.72.4
38893889
"@types/react": "*"
3890-
checksum: a8bffe36986abc5aa883514706ca4dfe4a9fda4133c6f8b728a514b061a007458ed9f6dcaae6f1df4767b87b39f4fae7e7769dcf97312b26d621bce36d591645
3890+
checksum: a9fdf0a11ed42f800eb646d038702d3652d0732aa017ecd8203fb2aee77a782fa7ef388433e5cfcb6ab658a1642e1286698fecedcbc379547e4aeefa681ed685
3891+
languageName: node
3892+
linkType: hard
3893+
3894+
"@types/react-native@npm:^0.70, @types/react-native@npm:^0.70.0, @types/react-native@npm:~0.70.2":
3895+
version: 0.70.19
3896+
resolution: "@types/react-native@npm:0.70.19"
3897+
dependencies:
3898+
"@types/react": "*"
3899+
checksum: 79b504fa56340631079e7c20ea0d9412ec14147b76d0ce189f4403936f529ef1e6fd031383afab117846c5ae039123bcf3afc948bae4432269c6780282726f71
38913900
languageName: node
38923901
linkType: hard
38933902

@@ -12182,7 +12191,6 @@ __metadata:
1218212191
"@types/node": ^16.11.19
1218312192
"@types/react": ~18.0.0
1218412193
"@types/react-dom": ~18.0.0
12185-
"@types/react-native": 0.72.7
1218612194
"@types/react-native-vector-icons": ^6.4.9
1218712195
"@types/react-test-renderer": ~18.0.0
1218812196
"@types/shelljs": ^0.8.9

0 commit comments

Comments
 (0)