@react-navigation/elements 2.9.20 → 2.9.21
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.
- package/lib/typescript/src/Button.d.ts +1 -1
- package/lib/typescript/src/Button.d.ts.map +1 -1
- package/lib/typescript/src/Header/Header.d.ts +1 -1
- package/lib/typescript/src/Header/Header.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderBackButton.d.ts +1 -1
- package/lib/typescript/src/Header/HeaderBackButton.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderButton.d.ts +1 -1
- package/lib/typescript/src/Header/HeaderButton.d.ts.map +1 -1
- package/lib/typescript/src/Header/HeaderSearchBar.d.ts +1 -1
- package/lib/typescript/src/Header/HeaderSearchBar.d.ts.map +1 -1
- package/lib/typescript/src/Header/getDefaultHeaderHeight.d.ts +1 -1
- package/lib/typescript/src/Header/getDefaultHeaderHeight.d.ts.map +1 -1
- package/lib/typescript/src/Header/getHeaderTitle.d.ts +1 -1
- package/lib/typescript/src/Header/getHeaderTitle.d.ts.map +1 -1
- package/lib/typescript/src/MaskedView.android.d.ts +1 -1
- package/lib/typescript/src/MaskedView.android.d.ts.map +1 -1
- package/lib/typescript/src/MaskedView.ios.d.ts +1 -1
- package/lib/typescript/src/MaskedView.ios.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +26 -26
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type LinkProps } from '@react-navigation/native';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { type Props as PlatformPressableProps } from './PlatformPressable';
|
|
3
|
+
import { type Props as PlatformPressableProps } from './PlatformPressable.js';
|
|
4
4
|
type ButtonBaseProps = Omit<PlatformPressableProps, 'children'> & {
|
|
5
5
|
variant?: 'plain' | 'tinted' | 'filled';
|
|
6
6
|
color?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAGf,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,KAAK,KAAK,IAAI,sBAAsB,EACrC,MAAM,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAGf,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,KAAK,KAAK,IAAI,sBAAsB,EACrC,MAAM,wBAAqB,CAAC;AAG7B,KAAK,eAAe,GAAG,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC,GAAG;IAChE,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC7B,CAAC;AAEF,KAAK,eAAe,CAAC,SAAS,SAAS,eAAe,CAAC,aAAa,IAClE,SAAS,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;AAI1D,wBAAgB,MAAM,CAAC,SAAS,SAAS,eAAe,CAAC,aAAa,EACpE,KAAK,EAAE,eAAe,CAAC,SAAS,CAAC,GAChC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AAErB,wBAAgB,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/Header/Header.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/Header/Header.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAU,CAAC;AActD,KAAK,KAAK,GAAG,aAAa,GAAG;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B;;WAEG;QACH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAkBF,wBAAgB,MAAM,CAAC,KAAK,EAAE,KAAK,2CAmXlC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { HeaderBackButtonProps } from '../types';
|
|
1
|
+
import type { HeaderBackButtonProps } from '../types.js';
|
|
2
2
|
export declare function HeaderBackButton({ disabled, allowFontScaling, backImage, label, labelStyle, displayMode, onLabelLayout, onPress, pressColor, pressOpacity, screenLayout, tintColor, titleLayout, truncatedLabel, accessibilityLabel, testID, style, href, }: HeaderBackButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=HeaderBackButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderBackButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderBackButton.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HeaderBackButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderBackButton.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAU,CAAC;AAItD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,UAAU,EACV,WAA2D,EAC3D,aAAa,EACb,OAAO,EACP,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,WAAW,EACX,cAAuB,EACvB,kBAA6E,EAC7E,MAAM,EACN,KAAK,EACL,IAAI,GACL,EAAE,qBAAqB,2CAuJvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { HeaderButtonProps } from '../types';
|
|
2
|
+
import type { HeaderButtonProps } from '../types.js';
|
|
3
3
|
export declare const HeaderButton: React.ForwardRefExoticComponent<HeaderButtonProps & React.RefAttributes<import("react-native").View | import("react-native").Animated.LegacyRef<import("react-native").View>>>;
|
|
4
4
|
//# sourceMappingURL=HeaderButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HeaderButton.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAU,CAAC;AAsClD,eAAO,MAAM,YAAY,gLAAyC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Animated, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
-
import type { HeaderSearchBarOptions, HeaderSearchBarRef } from '../types';
|
|
3
|
+
import type { HeaderSearchBarOptions, HeaderSearchBarRef } from '../types.js';
|
|
4
4
|
export declare const HeaderSearchBar: React.ForwardRefExoticComponent<Omit<HeaderSearchBarOptions, "ref"> & {
|
|
5
5
|
visible: boolean;
|
|
6
6
|
onClose: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSearchBar.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderSearchBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EAGR,KAAK,SAAS,EAId,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HeaderSearchBar.d.ts","sourceRoot":"","sources":["../../../../src/Header/HeaderSearchBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,QAAQ,EAGR,KAAK,SAAS,EAId,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,aAAU,CAAC;AA+S3E,eAAO,MAAM,eAAe;aA1SjB,OAAO;aACP,MAAM,IAAI;gBACP,MAAM;YACV,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;4CAuSc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultHeaderHeight.d.ts","sourceRoot":"","sources":["../../../../src/Header/getDefaultHeaderHeight.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getDefaultHeaderHeight.d.ts","sourceRoot":"","sources":["../../../../src/Header/getDefaultHeaderHeight.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAU,CAAC;AAEvC,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,OAAO,EAC1B,QAAQ,EAAE,MAAM,GACf,MAAM,CAkCR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHeaderTitle.d.ts","sourceRoot":"","sources":["../../../../src/Header/getHeaderTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getHeaderTitle.d.ts","sourceRoot":"","sources":["../../../../src/Header/getHeaderTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAU,CAAC;AAE9C,wBAAgB,cAAc,CAC5B,OAAO,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAA;CAAE,EACvE,QAAQ,EAAE,MAAM,GACf,MAAM,CAMR"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { MaskedView } from './MaskedViewNative';
|
|
1
|
+
export { MaskedView } from './MaskedViewNative.js';
|
|
2
2
|
//# sourceMappingURL=MaskedView.android.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaskedView.android.d.ts","sourceRoot":"","sources":["../../../src/MaskedView.android.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"MaskedView.android.d.ts","sourceRoot":"","sources":["../../../src/MaskedView.android.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAoB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { MaskedView } from './MaskedViewNative';
|
|
1
|
+
export { MaskedView } from './MaskedViewNative.js';
|
|
2
2
|
//# sourceMappingURL=MaskedView.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaskedView.ios.d.ts","sourceRoot":"","sources":["../../../src/MaskedView.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"MaskedView.ios.d.ts","sourceRoot":"","sources":["../../../src/MaskedView.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAoB,CAAC"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export { Background } from './Background';
|
|
2
|
-
export { Badge } from './Badge';
|
|
3
|
-
export { Button } from './Button';
|
|
4
|
-
export { getDefaultSidebarWidth } from './getDefaultSidebarWidth';
|
|
5
|
-
export { getDefaultHeaderHeight } from './Header/getDefaultHeaderHeight';
|
|
6
|
-
export { getHeaderTitle } from './Header/getHeaderTitle';
|
|
7
|
-
export { Header } from './Header/Header';
|
|
8
|
-
export { HeaderBackButton } from './Header/HeaderBackButton';
|
|
9
|
-
export { HeaderBackContext } from './Header/HeaderBackContext';
|
|
10
|
-
export { HeaderBackground } from './Header/HeaderBackground';
|
|
11
|
-
export { HeaderButton } from './Header/HeaderButton';
|
|
12
|
-
export { HeaderHeightContext } from './Header/HeaderHeightContext';
|
|
13
|
-
export { HeaderShownContext } from './Header/HeaderShownContext';
|
|
14
|
-
export { HeaderTitle } from './Header/HeaderTitle';
|
|
15
|
-
export { useHeaderHeight } from './Header/useHeaderHeight';
|
|
16
|
-
export { getLabel } from './Label/getLabel';
|
|
17
|
-
export { Label } from './Label/Label';
|
|
18
|
-
export { Lazy } from './Lazy';
|
|
19
|
-
export { MissingIcon } from './MissingIcon';
|
|
20
|
-
export { PlatformPressable } from './PlatformPressable';
|
|
21
|
-
export { ResourceSavingView } from './ResourceSavingView';
|
|
22
|
-
export { SafeAreaProviderCompat } from './SafeAreaProviderCompat';
|
|
23
|
-
export { Screen } from './Screen';
|
|
24
|
-
export { Text } from './Text';
|
|
25
|
-
export { useFrameSize } from './useFrameSize';
|
|
1
|
+
export { Background } from './Background.js';
|
|
2
|
+
export { Badge } from './Badge.js';
|
|
3
|
+
export { Button } from './Button.js';
|
|
4
|
+
export { getDefaultSidebarWidth } from './getDefaultSidebarWidth.js';
|
|
5
|
+
export { getDefaultHeaderHeight } from './Header/getDefaultHeaderHeight.js';
|
|
6
|
+
export { getHeaderTitle } from './Header/getHeaderTitle.js';
|
|
7
|
+
export { Header } from './Header/Header.js';
|
|
8
|
+
export { HeaderBackButton } from './Header/HeaderBackButton.js';
|
|
9
|
+
export { HeaderBackContext } from './Header/HeaderBackContext.js';
|
|
10
|
+
export { HeaderBackground } from './Header/HeaderBackground.js';
|
|
11
|
+
export { HeaderButton } from './Header/HeaderButton.js';
|
|
12
|
+
export { HeaderHeightContext } from './Header/HeaderHeightContext.js';
|
|
13
|
+
export { HeaderShownContext } from './Header/HeaderShownContext.js';
|
|
14
|
+
export { HeaderTitle } from './Header/HeaderTitle.js';
|
|
15
|
+
export { useHeaderHeight } from './Header/useHeaderHeight.js';
|
|
16
|
+
export { getLabel } from './Label/getLabel.js';
|
|
17
|
+
export { Label } from './Label/Label.js';
|
|
18
|
+
export { Lazy } from './Lazy.js';
|
|
19
|
+
export { MissingIcon } from './MissingIcon.js';
|
|
20
|
+
export { PlatformPressable } from './PlatformPressable.js';
|
|
21
|
+
export { ResourceSavingView } from './ResourceSavingView.js';
|
|
22
|
+
export { SafeAreaProviderCompat } from './SafeAreaProviderCompat.js';
|
|
23
|
+
export { Screen } from './Screen.js';
|
|
24
|
+
export { Text } from './Text.js';
|
|
25
|
+
export { useFrameSize } from './useFrameSize.js';
|
|
26
26
|
export declare const Assets: any[];
|
|
27
|
-
export * from './types';
|
|
27
|
+
export * from './types.js';
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAc,C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AgB,CAAC;AAE9C,eAAO,MAAM,MAAM,OAMlB,CAAC;AAEF,cAAc,YAAS,CAAC"}
|
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.
|
|
4
|
+
"version": "2.9.21",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
7
7
|
"react-navigation",
|
|
@@ -49,20 +49,20 @@
|
|
|
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.
|
|
52
|
+
"@react-navigation/native": "^7.3.0",
|
|
53
53
|
"@testing-library/react-native": "^13.2.1",
|
|
54
54
|
"@types/react": "~19.0.10",
|
|
55
55
|
"@types/use-sync-external-store": "^1.5.0",
|
|
56
56
|
"del-cli": "^6.0.0",
|
|
57
57
|
"react": "19.1.0",
|
|
58
58
|
"react-native": "0.81.5",
|
|
59
|
-
"react-native-builder-bob": "^0.
|
|
59
|
+
"react-native-builder-bob": "^0.42.1",
|
|
60
60
|
"react-test-renderer": "19.1.0",
|
|
61
61
|
"typescript": "^5.9.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@react-native-masked-view/masked-view": ">= 0.2.0",
|
|
65
|
-
"@react-navigation/native": "^7.
|
|
65
|
+
"@react-navigation/native": "^7.3.0",
|
|
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": "
|
|
93
|
+
"gitHead": "dd325d641ccae08a61fd25710270abb85865482f"
|
|
94
94
|
}
|