react-native-ios-translate-sheet 1.3.0 → 1.3.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.
@@ -19,6 +19,8 @@ struct IOSTranslateSheet: View {
19
19
  .translationPresentation(
20
20
  isPresented: $props.isPresented,
21
21
  text: props.text,
22
+ attachmentAnchor: .point(.bottom),
23
+ arrowEdge: .bottom,
22
24
  replacementAction: props.hasReplacementAction ? props.onReplacementAction : nil
23
25
  )
24
26
  .onChange(of: props.isPresented) { oldValue, newValue in
@@ -28,4 +30,4 @@ struct IOSTranslateSheet: View {
28
30
  }
29
31
  }
30
32
  }
31
- }
33
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ios-translate-sheet",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "SwiftUI Translate Sheet on React Native",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "lib/commonjs/index.js",
@@ -70,7 +70,7 @@
70
70
  "husky": "^9.1.7",
71
71
  "jest": "^29.7.0",
72
72
  "react": "19.0.0",
73
- "react-native": "0.78.1",
73
+ "react-native": "0.78.2",
74
74
  "react-native-builder-bob": "^0.39.0",
75
75
  "semantic-release": "^24.2.3",
76
76
  "turbo": "^2.4.4",
@@ -120,6 +120,11 @@
120
120
  "android": {
121
121
  "javaPackageName": "com.iostranslatesheet"
122
122
  },
123
+ "ios": {
124
+ "componentProvider": {
125
+ "IOSTranslateSheetView": "IOSTranslateSheetView"
126
+ }
127
+ },
123
128
  "includesGeneratedCode": true
124
129
  },
125
130
  "create-react-native-library": {