@react-navigation/elements 3.0.0-alpha.51 → 3.0.0-alpha.53

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,7 +1,7 @@
1
1
  import { type ColorValue, type StyleProp, type TextProps, type TextStyle } from 'react-native';
2
2
  type Props = Omit<TextProps, 'style'> & {
3
- tintColor?: ColorValue;
4
- children?: string;
3
+ tintColor?: ColorValue | undefined;
4
+ children?: string | undefined;
5
5
  style?: StyleProp<TextStyle>;
6
6
  };
7
7
  export declare function Label({ tintColor, style, ...rest }: Props): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,+BAQzD"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,KAAK,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG;IACtC,SAAS,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,+BAQzD"}
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { Animated, type ColorValue, type GestureResponderEvent, type PressableProps, type StyleProp, type ViewStyle } from 'react-native';
3
3
  type HoverEffectProps = {
4
- color?: string;
5
- hoverOpacity?: number;
6
- activeOpacity?: number;
4
+ color?: string | undefined;
5
+ hoverOpacity?: number | undefined;
6
+ activeOpacity?: number | undefined;
7
7
  };
8
8
  export type Props = Omit<PressableProps, 'style' | 'onPress'> & {
9
9
  href?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformPressable.d.ts","sourceRoot":"","sources":["../../../src/PlatformPressable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EACR,KAAK,UAAU,EAEf,KAAK,qBAAqB,EAG1B,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC,GAAG;IAC9D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC3C,KAAK,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAA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AAS,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC3C,KAAK,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,GAAG,SAAS,CAAC;IACrE,OAAO,CAAC,EACJ,CAAC,CACC,CAAC,EACG,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,GAC/C,qBAAqB,KACtB,IAAI,CAAC,GACV,SAAS,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC,GAAG,SAAS,CAAC;CAC3E,CAAC;AAEF,QAAA,MAAM,iBAAiB,gIAA8C,CAAC;AAQtE;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,OAAO,EACP,SAAS,EACT,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAkB,EAClB,WAAW,EACX,KAAK,EACL,QAAQ,EACR,GAAG,EACH,GAAG,IAAI,EACR,EAAE,KAAK,qBA+JP"}
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": "3.0.0-alpha.51",
4
+ "version": "3.0.0-alpha.53",
5
5
  "keywords": [
6
6
  "react-native",
7
7
  "react-navigation",
@@ -54,7 +54,7 @@
54
54
  "devDependencies": {
55
55
  "@callstack/liquid-glass": "^0.8.0",
56
56
  "@jest/globals": "^30.4.1",
57
- "@react-navigation/native": "^8.0.0-alpha.47",
57
+ "@react-navigation/native": "^8.0.0-alpha.49",
58
58
  "@testing-library/jest-dom": "^7.0.0",
59
59
  "@testing-library/react": "^16.3.2",
60
60
  "@testing-library/react-native": "^14.0.0",
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@callstack/liquid-glass": ">= 0.6.0",
76
- "@react-navigation/native": "^8.0.0-alpha.47",
76
+ "@react-navigation/native": "^8.0.0-alpha.49",
77
77
  "react": ">= 19.2.0",
78
78
  "react-native": "*",
79
79
  "react-native-safe-area-context": ">= 5.5.0",
@@ -97,5 +97,5 @@
97
97
  ]
98
98
  ]
99
99
  },
100
- "gitHead": "e83cb9a88ab92d24caad272442c338de046cfac2"
100
+ "gitHead": "110f8e897f476977b7227e5f0326996106a742f0"
101
101
  }
@@ -9,8 +9,8 @@ import {
9
9
  import { Text } from '../Text';
10
10
 
11
11
  type Props = Omit<TextProps, 'style'> & {
12
- tintColor?: ColorValue;
13
- children?: string;
12
+ tintColor?: ColorValue | undefined;
13
+ children?: string | undefined;
14
14
  style?: StyleProp<TextStyle>;
15
15
  };
16
16
 
@@ -13,9 +13,9 @@ import {
13
13
  } from 'react-native';
14
14
 
15
15
  type HoverEffectProps = {
16
- color?: string;
17
- hoverOpacity?: number;
18
- activeOpacity?: number;
16
+ color?: string | undefined;
17
+ hoverOpacity?: number | undefined;
18
+ activeOpacity?: number | undefined;
19
19
  };
20
20
 
21
21
  export type Props = Omit<PressableProps, 'style' | 'onPress'> & {