Skip to content

Commit 32cb933

Browse files
vadymv-mendixUrazAkgultan
authored andcommitted
chore: remove RN types and regenerate snapshots in BottomSheet and IntroScreen
1 parent 7981472 commit 32cb933

File tree

5 files changed

+21
-29
lines changed

5 files changed

+21
-29
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"@types/node": "^16.11.19",
5959
"@types/react": "~18.0.0",
6060
"@types/react-dom": "~18.0.0",
61-
"@types/react-native": "0.72.7",
6261
"@types/react-native-vector-icons": "^6.4.9",
6362
"@types/react-test-renderer": "~18.0.0",
6463
"@types/shelljs": "^0.8.9",
@@ -94,7 +93,6 @@
9493
"resolutions": {
9594
"@mendix/pluggable-widgets-tools": "9.24.1",
9695
"@types/react": "^18",
97-
"@types/react-native": "0.72.7",
9896
"react": "18.2.0",
9997
"react-dom": "18.2.0",
10098
"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: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6844,13 +6844,28 @@ __metadata:
68446844
languageName: node
68456845
linkType: hard
68466846

6847-
"@types/react-native@npm:0.72.7":
6848-
version: 0.72.7
6849-
resolution: "@types/react-native@npm:0.72.7"
6847+
"@types/react-native@npm:*":
6848+
version: 0.72.8
6849+
resolution: "@types/react-native@npm:0.72.8"
68506850
dependencies:
6851+
<<<<<<< HEAD
68516852
"@react-native/virtualized-lists": "npm:^0.72.4"
68526853
"@types/react": "npm:*"
68536854
checksum: 10/6560af8b6150136f54f1d7500d28498d73335766326ff740acb4a49c9c42feb3fcef252f22fdb900eb522a26a93774801457928335650f4dd70e9979f53ebc97
6855+
=======
6856+
"@react-native/virtualized-lists": ^0.72.4
6857+
"@types/react": "*"
6858+
checksum: a9fdf0a11ed42f800eb646d038702d3652d0732aa017ecd8203fb2aee77a782fa7ef388433e5cfcb6ab658a1642e1286698fecedcbc379547e4aeefa681ed685
6859+
languageName: node
6860+
linkType: hard
6861+
6862+
"@types/react-native@npm:^0.70, @types/react-native@npm:^0.70.0, @types/react-native@npm:~0.70.2":
6863+
version: 0.70.19
6864+
resolution: "@types/react-native@npm:0.70.19"
6865+
dependencies:
6866+
"@types/react": "*"
6867+
checksum: 79b504fa56340631079e7c20ea0d9412ec14147b76d0ce189f4403936f529ef1e6fd031383afab117846c5ae039123bcf3afc948bae4432269c6780282726f71
6868+
>>>>>>> 313b486e (chore: remove RN types and regenerate snapshots in BottomSheet and IntroScreen)
68546869
languageName: node
68556870
linkType: hard
68566871

@@ -17907,7 +17922,6 @@ __metadata:
1790717922
"@types/node": ^16.11.19
1790817923
"@types/react": ~18.0.0
1790917924
"@types/react-dom": ~18.0.0
17910-
"@types/react-native": 0.72.7
1791117925
"@types/react-native-vector-icons": ^6.4.9
1791217926
"@types/react-test-renderer": ~18.0.0
1791317927
"@types/shelljs": ^0.8.9

0 commit comments

Comments
 (0)