@upstep/react-native 0.6.15 → 0.6.16

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.
@@ -0,0 +1,4 @@
1
+
2
+ > @upstep/react-native@0.6.15 type-check /Users/sandhyasandy/Dev/upstep/packages/sdk-react-native
3
+ > tsc --noEmit
4
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.16
4
+
5
+ - Fix TypeScript compatibility across React Native versions when rendering the feedback-sheet backdrop.
6
+
3
7
  ## 0.6.15
4
8
 
5
9
  - Show the custom dashboard status name and color in the feedback sheet.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upstep/react-native",
3
- "version": "0.6.15",
3
+ "version": "0.6.16",
4
4
  "description": "Upstep feedback SDK for React Native",
5
5
  "homepage": "https://upstep.dev",
6
6
  "repository": {
@@ -549,7 +549,7 @@ const STATUS_COLOR: Record<string, string> = {
549
549
  PENDING: "#ea580c", CLOSED: "#6b7280",
550
550
  };
551
551
 
552
- function StatusDot({ status, color }: { status: string; color?: string }) {
552
+ function StatusDot({ status, color }: { status: string; color?: string | undefined }) {
553
553
  return <View style={[styles.statusDot, { backgroundColor: color ?? STATUS_COLOR[status] ?? "#9ca3af" }]} />;
554
554
  }
555
555
 
@@ -594,7 +594,11 @@ const styles = StyleSheet.create({
594
594
  justifyContent: "flex-end",
595
595
  },
596
596
  backdrop: {
597
- ...StyleSheet.absoluteFill,
597
+ position: "absolute",
598
+ top: 0,
599
+ right: 0,
600
+ bottom: 0,
601
+ left: 0,
598
602
  backgroundColor: "rgba(0,0,0,0.45)",
599
603
  },
600
604