@react-navigation/elements 2.9.31 → 2.9.33

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.
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import type { HeaderButtonProps } from '../types.js';
3
- export declare const HeaderButton: React.ForwardRefExoticComponent<HeaderButtonProps & React.RefAttributes<import("react-native").View | import("react-native").Animated.LegacyRef<import("react-native").View>>>;
3
+ export declare const HeaderButton: React.ForwardRefExoticComponent<HeaderButtonProps & React.RefAttributes<import("react-native").Animated.LegacyRef<import("react-native").View> | import("react-native").View>>;
4
4
  //# sourceMappingURL=HeaderButton.d.ts.map
@@ -14,7 +14,7 @@ export type Props = Omit<PressableProps, 'style' | 'onPress'> & {
14
14
  onPress?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent) => void;
15
15
  children: React.ReactNode;
16
16
  };
17
- export declare const PlatformPressable: React.ForwardRefExoticComponent<Omit<PressableProps, "style" | "onPress"> & {
17
+ export declare const PlatformPressable: React.ForwardRefExoticComponent<Omit<PressableProps, "onPress" | "style"> & {
18
18
  href?: string;
19
19
  pressColor?: string;
20
20
  pressOpacity?: number;
@@ -22,6 +22,6 @@ export declare const PlatformPressable: React.ForwardRefExoticComponent<Omit<Pre
22
22
  style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
23
23
  onPress?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent) => void;
24
24
  children: React.ReactNode;
25
- } & React.RefAttributes<import("react-native").View | Animated.LegacyRef<import("react-native").View>>>;
25
+ } & React.RefAttributes<Animated.LegacyRef<import("react-native").View> | import("react-native").View>>;
26
26
  export {};
27
27
  //# sourceMappingURL=PlatformPressable.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-navigation/elements",
3
3
  "description": "UI Components for React Navigation",
4
- "version": "2.9.31",
4
+ "version": "2.9.33",
5
5
  "keywords": [
6
6
  "react-native",
7
7
  "react-navigation",
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "@jest/globals": "^30.0.0",
51
51
  "@react-native-masked-view/masked-view": "0.3.2",
52
- "@react-navigation/native": "^7.3.9",
52
+ "@react-navigation/native": "^7.3.11",
53
53
  "@testing-library/react-native": "^13.2.1",
54
54
  "@types/react": "~19.2.4",
55
55
  "@types/use-sync-external-store": "^1.5.0",
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@react-native-masked-view/masked-view": ">= 0.2.0",
65
- "@react-navigation/native": "^7.3.9",
65
+ "@react-navigation/native": "^7.3.11",
66
66
  "react": ">= 18.2.0",
67
67
  "react-native": "*",
68
68
  "react-native-safe-area-context": ">= 4.0.0"
@@ -90,5 +90,5 @@
90
90
  ]
91
91
  ]
92
92
  },
93
- "gitHead": "d9dafe23ab092e3e76fab1e35dbb1973f45107ca"
93
+ "gitHead": "1f32fd8c2777ea2d492c82bcc469be48f35406ed"
94
94
  }