react-native-screens 4.19.0-nightly-20251208-2903b79de → 4.19.0-nightly-20251209-fb49fca61
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/ios/RNSScreenStackHeaderSubview.mm +65 -3
- package/lib/commonjs/components/SearchBar.js.map +1 -1
- package/lib/commonjs/fabric/FullWindowOverlayNativeComponent.js +2 -4
- package/lib/commonjs/fabric/FullWindowOverlayNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ModalScreenNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ModalScreenNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenContainerNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenContainerNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenContentWrapperNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenContentWrapperNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenFooterNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenFooterNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenNavigationContainerNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenNavigationContainerNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenStackHeaderConfigNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenStackHeaderConfigNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenStackHeaderSubviewNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenStackHeaderSubviewNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/ScreenStackNativeComponent.js +2 -4
- package/lib/commonjs/fabric/ScreenStackNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/SearchBarNativeComponent.js +5 -6
- package/lib/commonjs/fabric/SearchBarNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.js +2 -4
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.js +2 -4
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsNativeComponent.js +2 -4
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsScreenNativeComponent.js +2 -4
- package/lib/commonjs/fabric/bottom-tabs/BottomTabsScreenNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/gamma/ScreenStackHostNativeComponent.js +2 -4
- package/lib/commonjs/fabric/gamma/ScreenStackHostNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/gamma/SplitViewHostNativeComponent.js +2 -4
- package/lib/commonjs/fabric/gamma/SplitViewHostNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/gamma/SplitViewScreenNativeComponent.js +2 -4
- package/lib/commonjs/fabric/gamma/SplitViewScreenNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/gamma/StackScreenNativeComponent.js +2 -4
- package/lib/commonjs/fabric/gamma/StackScreenNativeComponent.js.map +1 -1
- package/lib/commonjs/fabric/safe-area/SafeAreaViewNativeComponent.js +2 -4
- package/lib/commonjs/fabric/safe-area/SafeAreaViewNativeComponent.js.map +1 -1
- package/lib/module/components/SearchBar.js.map +1 -1
- package/lib/module/fabric/FullWindowOverlayNativeComponent.js +1 -2
- package/lib/module/fabric/FullWindowOverlayNativeComponent.js.map +1 -1
- package/lib/module/fabric/ModalScreenNativeComponent.js +1 -2
- package/lib/module/fabric/ModalScreenNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenContainerNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenContainerNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenContentWrapperNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenContentWrapperNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenFooterNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenFooterNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenNavigationContainerNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenNavigationContainerNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenStackHeaderConfigNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenStackHeaderConfigNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenStackHeaderSubviewNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenStackHeaderSubviewNativeComponent.js.map +1 -1
- package/lib/module/fabric/ScreenStackNativeComponent.js +1 -2
- package/lib/module/fabric/ScreenStackNativeComponent.js.map +1 -1
- package/lib/module/fabric/SearchBarNativeComponent.js +4 -3
- package/lib/module/fabric/SearchBarNativeComponent.js.map +1 -1
- package/lib/module/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.js +1 -2
- package/lib/module/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.js.map +1 -1
- package/lib/module/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.js +1 -2
- package/lib/module/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.js.map +1 -1
- package/lib/module/fabric/bottom-tabs/BottomTabsNativeComponent.js +1 -2
- package/lib/module/fabric/bottom-tabs/BottomTabsNativeComponent.js.map +1 -1
- package/lib/module/fabric/bottom-tabs/BottomTabsScreenNativeComponent.js +1 -2
- package/lib/module/fabric/bottom-tabs/BottomTabsScreenNativeComponent.js.map +1 -1
- package/lib/module/fabric/gamma/ScreenStackHostNativeComponent.js +1 -2
- package/lib/module/fabric/gamma/ScreenStackHostNativeComponent.js.map +1 -1
- package/lib/module/fabric/gamma/SplitViewHostNativeComponent.js +1 -2
- package/lib/module/fabric/gamma/SplitViewHostNativeComponent.js.map +1 -1
- package/lib/module/fabric/gamma/SplitViewScreenNativeComponent.js +1 -2
- package/lib/module/fabric/gamma/SplitViewScreenNativeComponent.js.map +1 -1
- package/lib/module/fabric/gamma/StackScreenNativeComponent.js +1 -2
- package/lib/module/fabric/gamma/StackScreenNativeComponent.js.map +1 -1
- package/lib/module/fabric/safe-area/SafeAreaViewNativeComponent.js +1 -2
- package/lib/module/fabric/safe-area/SafeAreaViewNativeComponent.js.map +1 -1
- package/lib/typescript/fabric/FullWindowOverlayNativeComponent.d.ts +3 -4
- package/lib/typescript/fabric/FullWindowOverlayNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ModalScreenNativeComponent.d.ts +41 -42
- package/lib/typescript/fabric/ModalScreenNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenContainerNativeComponent.d.ts +1 -1
- package/lib/typescript/fabric/ScreenContainerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenContentWrapperNativeComponent.d.ts +1 -1
- package/lib/typescript/fabric/ScreenContentWrapperNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenFooterNativeComponent.d.ts +1 -1
- package/lib/typescript/fabric/ScreenFooterNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenNativeComponent.d.ts +46 -47
- package/lib/typescript/fabric/ScreenNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenNavigationContainerNativeComponent.d.ts +1 -1
- package/lib/typescript/fabric/ScreenNavigationContainerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenStackHeaderConfigNativeComponent.d.ts +17 -18
- package/lib/typescript/fabric/ScreenStackHeaderConfigNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenStackHeaderSubviewNativeComponent.d.ts +4 -5
- package/lib/typescript/fabric/ScreenStackHeaderSubviewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/ScreenStackNativeComponent.d.ts +3 -4
- package/lib/typescript/fabric/ScreenStackNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/SearchBarNativeComponent.d.ts +17 -18
- package/lib/typescript/fabric/SearchBarNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.d.ts +3 -4
- package/lib/typescript/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.d.ts +3 -4
- package/lib/typescript/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/bottom-tabs/BottomTabsNativeComponent.d.ts +11 -12
- package/lib/typescript/fabric/bottom-tabs/BottomTabsNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/bottom-tabs/BottomTabsScreenNativeComponent.d.ts +25 -26
- package/lib/typescript/fabric/bottom-tabs/BottomTabsScreenNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/gamma/ScreenStackHostNativeComponent.d.ts +1 -1
- package/lib/typescript/fabric/gamma/ScreenStackHostNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/gamma/SplitViewHostNativeComponent.d.ts +26 -27
- package/lib/typescript/fabric/gamma/SplitViewHostNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/gamma/SplitViewScreenNativeComponent.d.ts +7 -8
- package/lib/typescript/fabric/gamma/SplitViewScreenNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/gamma/StackScreenNativeComponent.d.ts +7 -8
- package/lib/typescript/fabric/gamma/StackScreenNativeComponent.d.ts.map +1 -1
- package/lib/typescript/fabric/safe-area/SafeAreaViewNativeComponent.d.ts +3 -4
- package/lib/typescript/fabric/safe-area/SafeAreaViewNativeComponent.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/SearchBar.tsx +6 -6
- package/src/fabric/FullWindowOverlayNativeComponent.ts +3 -5
- package/src/fabric/ModalScreenNativeComponent.ts +41 -49
- package/src/fabric/ScreenContainerNativeComponent.ts +1 -2
- package/src/fabric/ScreenContentWrapperNativeComponent.ts +1 -2
- package/src/fabric/ScreenFooterNativeComponent.ts +1 -2
- package/src/fabric/ScreenNativeComponent.ts +46 -54
- package/src/fabric/ScreenNavigationContainerNativeComponent.ts +1 -2
- package/src/fabric/ScreenStackHeaderConfigNativeComponent.ts +17 -24
- package/src/fabric/ScreenStackHeaderSubviewNativeComponent.ts +4 -6
- package/src/fabric/ScreenStackNativeComponent.ts +3 -5
- package/src/fabric/SearchBarNativeComponent.ts +22 -22
- package/src/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.ts +3 -5
- package/src/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.ts +3 -5
- package/src/fabric/bottom-tabs/BottomTabsNativeComponent.ts +11 -17
- package/src/fabric/bottom-tabs/BottomTabsScreenNativeComponent.ts +28 -31
- package/src/fabric/gamma/ScreenStackHostNativeComponent.ts +1 -2
- package/src/fabric/gamma/SplitViewHostNativeComponent.ts +26 -32
- package/src/fabric/gamma/SplitViewScreenNativeComponent.ts +7 -12
- package/src/fabric/gamma/StackScreenNativeComponent.ts +7 -12
- package/src/fabric/safe-area/SafeAreaViewNativeComponent.ts +3 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenStackHostNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/ScreenStackHostNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ScreenStackHostNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/ScreenStackHostNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,WAAW,WAAY,SAAQ,SAAS;CAAG;;AAEjD,wBAA6E"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
-
import type { DirectEventHandler, Float, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ViewProps } from 'react-native';
|
|
3
2
|
type GenericEmptyEvent = Readonly<{}>;
|
|
4
3
|
type DisplayModeWillChangeEvent = {
|
|
5
4
|
currentDisplayMode: string;
|
|
@@ -12,34 +11,34 @@ type SplitViewDisplayMode = 'automatic' | 'secondaryOnly' | 'oneBesideSecondary'
|
|
|
12
11
|
type SplitViewOrientation = 'inherit' | 'all' | 'allButUpsideDown' | 'portrait' | 'portraitUp' | 'portraitDown' | 'landscape' | 'landscapeLeft' | 'landscapeRight';
|
|
13
12
|
type SplitViewPrimaryBackgroundStyle = 'default' | 'none' | 'sidebar';
|
|
14
13
|
interface ColumnMetrics {
|
|
15
|
-
minimumPrimaryColumnWidth?: WithDefault<Float, -1.0>;
|
|
16
|
-
maximumPrimaryColumnWidth?: WithDefault<Float, -1.0>;
|
|
17
|
-
preferredPrimaryColumnWidthOrFraction?: WithDefault<Float, -1.0>;
|
|
18
|
-
minimumSupplementaryColumnWidth?: WithDefault<Float, -1.0>;
|
|
19
|
-
maximumSupplementaryColumnWidth?: WithDefault<Float, -1.0>;
|
|
20
|
-
preferredSupplementaryColumnWidthOrFraction?: WithDefault<Float, -1.0>;
|
|
21
|
-
minimumSecondaryColumnWidth?: WithDefault<Float, -1.0>;
|
|
22
|
-
preferredSecondaryColumnWidthOrFraction?: WithDefault<Float, -1.0>;
|
|
23
|
-
minimumInspectorColumnWidth?: WithDefault<Float, -1.0>;
|
|
24
|
-
maximumInspectorColumnWidth?: WithDefault<Float, -1.0>;
|
|
25
|
-
preferredInspectorColumnWidthOrFraction?: WithDefault<Float, -1.0>;
|
|
14
|
+
minimumPrimaryColumnWidth?: CT.WithDefault<CT.Float, -1.0>;
|
|
15
|
+
maximumPrimaryColumnWidth?: CT.WithDefault<CT.Float, -1.0>;
|
|
16
|
+
preferredPrimaryColumnWidthOrFraction?: CT.WithDefault<CT.Float, -1.0>;
|
|
17
|
+
minimumSupplementaryColumnWidth?: CT.WithDefault<CT.Float, -1.0>;
|
|
18
|
+
maximumSupplementaryColumnWidth?: CT.WithDefault<CT.Float, -1.0>;
|
|
19
|
+
preferredSupplementaryColumnWidthOrFraction?: CT.WithDefault<CT.Float, -1.0>;
|
|
20
|
+
minimumSecondaryColumnWidth?: CT.WithDefault<CT.Float, -1.0>;
|
|
21
|
+
preferredSecondaryColumnWidthOrFraction?: CT.WithDefault<CT.Float, -1.0>;
|
|
22
|
+
minimumInspectorColumnWidth?: CT.WithDefault<CT.Float, -1.0>;
|
|
23
|
+
maximumInspectorColumnWidth?: CT.WithDefault<CT.Float, -1.0>;
|
|
24
|
+
preferredInspectorColumnWidthOrFraction?: CT.WithDefault<CT.Float, -1.0>;
|
|
26
25
|
}
|
|
27
26
|
interface NativeProps extends ViewProps {
|
|
28
|
-
preferredDisplayMode?: WithDefault<SplitViewDisplayMode, 'automatic'>;
|
|
29
|
-
preferredSplitBehavior?: WithDefault<SplitViewSplitBehavior, 'automatic'>;
|
|
30
|
-
primaryEdge?: WithDefault<SplitViewPrimaryEdge, 'leading'>;
|
|
31
|
-
showSecondaryToggleButton?: WithDefault<boolean, false>;
|
|
32
|
-
displayModeButtonVisibility?: WithDefault<SplitViewDisplayModeButtonVisibility, 'automatic'>;
|
|
27
|
+
preferredDisplayMode?: CT.WithDefault<SplitViewDisplayMode, 'automatic'>;
|
|
28
|
+
preferredSplitBehavior?: CT.WithDefault<SplitViewSplitBehavior, 'automatic'>;
|
|
29
|
+
primaryEdge?: CT.WithDefault<SplitViewPrimaryEdge, 'leading'>;
|
|
30
|
+
showSecondaryToggleButton?: CT.WithDefault<boolean, false>;
|
|
31
|
+
displayModeButtonVisibility?: CT.WithDefault<SplitViewDisplayModeButtonVisibility, 'automatic'>;
|
|
33
32
|
columnMetrics?: ColumnMetrics;
|
|
34
|
-
orientation?: WithDefault<SplitViewOrientation, 'inherit'>;
|
|
35
|
-
primaryBackgroundStyle?: WithDefault<SplitViewPrimaryBackgroundStyle, 'default'>;
|
|
36
|
-
presentsWithGesture?: WithDefault<boolean, true>;
|
|
37
|
-
showInspector?: WithDefault<boolean, false>;
|
|
38
|
-
onCollapse?: DirectEventHandler<GenericEmptyEvent>;
|
|
39
|
-
onDisplayModeWillChange?: DirectEventHandler<DisplayModeWillChangeEvent>;
|
|
40
|
-
onExpand?: DirectEventHandler<GenericEmptyEvent>;
|
|
41
|
-
onInspectorHide?: DirectEventHandler<GenericEmptyEvent>;
|
|
33
|
+
orientation?: CT.WithDefault<SplitViewOrientation, 'inherit'>;
|
|
34
|
+
primaryBackgroundStyle?: CT.WithDefault<SplitViewPrimaryBackgroundStyle, 'default'>;
|
|
35
|
+
presentsWithGesture?: CT.WithDefault<boolean, true>;
|
|
36
|
+
showInspector?: CT.WithDefault<boolean, false>;
|
|
37
|
+
onCollapse?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
38
|
+
onDisplayModeWillChange?: CT.DirectEventHandler<DisplayModeWillChangeEvent>;
|
|
39
|
+
onExpand?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
40
|
+
onInspectorHide?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
42
41
|
}
|
|
43
|
-
declare const _default: import("react-native
|
|
42
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
44
43
|
export default _default;
|
|
45
44
|
//# sourceMappingURL=SplitViewHostNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplitViewHostNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/SplitViewHostNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SplitViewHostNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/SplitViewHostNativeComponent.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
-
import { DirectEventHandler, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ViewProps } from 'react-native';
|
|
3
2
|
type GenericEmptyEvent = Readonly<{}>;
|
|
4
3
|
type SplitViewScreenColumnType = 'column' | 'inspector';
|
|
5
4
|
interface NativeProps extends ViewProps {
|
|
6
|
-
columnType?: WithDefault<SplitViewScreenColumnType, 'column'>;
|
|
7
|
-
onWillAppear?: DirectEventHandler<GenericEmptyEvent>;
|
|
8
|
-
onDidAppear?: DirectEventHandler<GenericEmptyEvent>;
|
|
9
|
-
onWillDisappear?: DirectEventHandler<GenericEmptyEvent>;
|
|
10
|
-
onDidDisappear?: DirectEventHandler<GenericEmptyEvent>;
|
|
5
|
+
columnType?: CT.WithDefault<SplitViewScreenColumnType, 'column'>;
|
|
6
|
+
onWillAppear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
7
|
+
onDidAppear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
8
|
+
onWillDisappear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
9
|
+
onDidDisappear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
11
10
|
}
|
|
12
|
-
declare const _default: import("react-native
|
|
11
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
13
12
|
export default _default;
|
|
14
13
|
//# sourceMappingURL=SplitViewScreenNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplitViewScreenNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/SplitViewScreenNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SplitViewScreenNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/SplitViewScreenNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIlE,KAAK,iBAAiB,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAEtC,KAAK,yBAAyB,GAAG,QAAQ,GAAG,WAAW,CAAC;AAExD,UAAU,WAAY,SAAQ,SAAS;IAErC,UAAU,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CAAC;IAGjE,YAAY,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IACvD,eAAe,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IAC3D,cAAc,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;CAC3D;;AAED,wBAEG"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
-
import { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ViewProps } from 'react-native';
|
|
3
2
|
export type GenericEmptyEvent = Readonly<{}>;
|
|
4
3
|
export interface NativeProps extends ViewProps {
|
|
5
|
-
maxLifecycleState: Int32;
|
|
4
|
+
maxLifecycleState: CT.Int32;
|
|
6
5
|
screenKey: string;
|
|
7
|
-
onWillAppear?: DirectEventHandler<GenericEmptyEvent>;
|
|
8
|
-
onDidAppear?: DirectEventHandler<GenericEmptyEvent>;
|
|
9
|
-
onWillDisappear?: DirectEventHandler<GenericEmptyEvent>;
|
|
10
|
-
onDidDisappear?: DirectEventHandler<GenericEmptyEvent>;
|
|
6
|
+
onWillAppear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
7
|
+
onDidAppear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
8
|
+
onWillDisappear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
9
|
+
onDidDisappear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
11
10
|
}
|
|
12
|
-
declare const _default: import("react-native
|
|
11
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
13
12
|
export default _default;
|
|
14
13
|
//# sourceMappingURL=StackScreenNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackScreenNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/StackScreenNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"StackScreenNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/gamma/StackScreenNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIlE,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAE7C,MAAM,WAAW,WAAY,SAAQ,SAAS;IAE5C,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAGlB,YAAY,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IACvD,eAAe,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IAC3D,cAAc,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;CAC3D;;AAED,wBAAyE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ViewProps } from 'react-native';
|
|
2
|
-
import { WithDefault } from 'react-native/Libraries/Types/CodegenTypesNamespace';
|
|
1
|
+
import type { CodegenTypes as CT, ViewProps } from 'react-native';
|
|
3
2
|
type InsetType = 'all' | 'system' | 'interface';
|
|
4
3
|
export interface NativeProps extends ViewProps {
|
|
5
4
|
edges?: Readonly<{
|
|
@@ -8,8 +7,8 @@ export interface NativeProps extends ViewProps {
|
|
|
8
7
|
bottom: boolean;
|
|
9
8
|
left: boolean;
|
|
10
9
|
}>;
|
|
11
|
-
insetType?: WithDefault<InsetType, 'all'>;
|
|
10
|
+
insetType?: CT.WithDefault<InsetType, 'all'>;
|
|
12
11
|
}
|
|
13
|
-
declare const _default: import("react-native
|
|
12
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
14
13
|
export default _default;
|
|
15
14
|
//# sourceMappingURL=SafeAreaViewNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeAreaViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/safe-area/SafeAreaViewNativeComponent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SafeAreaViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/safe-area/SafeAreaViewNativeComponent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAElE,KAAK,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEhD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,KAAK,CAAC,EAAE,QAAQ,CAAC;QACf,GAAG,EAAE,OAAO,CAAC;QACb,KAAK,EAAE,OAAO,CAAC;QACf,MAAM,EAAE,OAAO,CAAC;QAChB,IAAI,EAAE,OAAO,CAAC;KACf,CAAC,CAAC;IAEH,SAAS,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;CAC9C;;AAED,wBAEG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-screens",
|
|
3
|
-
"version": "4.19.0-nightly-
|
|
3
|
+
"version": "4.19.0-nightly-20251209-fb49fca61",
|
|
4
4
|
"description": "Native navigation primitives for your React Native app.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"submodules": "git submodule update --init --recursive && (cd react-navigation && yarn && yarn build && cd ../)",
|
|
@@ -16,7 +16,7 @@ import SearchBarNativeComponent, {
|
|
|
16
16
|
SearchButtonPressedEvent,
|
|
17
17
|
ChangeTextEvent,
|
|
18
18
|
} from '../fabric/SearchBarNativeComponent';
|
|
19
|
-
import {
|
|
19
|
+
import type { CodegenTypes as CT } from 'react-native';
|
|
20
20
|
|
|
21
21
|
const NativeSearchBar: React.ComponentType<
|
|
22
22
|
SearchBarNativeProps & { ref?: React.RefObject<SearchBarCommands> }
|
|
@@ -112,15 +112,15 @@ function SearchBar(
|
|
|
112
112
|
hideNavigationBar={parseBooleanToOptionalBooleanNativeProp(
|
|
113
113
|
hideNavigationBar,
|
|
114
114
|
)}
|
|
115
|
-
onSearchFocus={onFocus as DirectEventHandler<SearchBarEvent>}
|
|
116
|
-
onSearchBlur={onBlur as DirectEventHandler<SearchBarEvent>}
|
|
115
|
+
onSearchFocus={onFocus as CT.DirectEventHandler<SearchBarEvent>}
|
|
116
|
+
onSearchBlur={onBlur as CT.DirectEventHandler<SearchBarEvent>}
|
|
117
117
|
onSearchButtonPress={
|
|
118
|
-
onSearchButtonPress as DirectEventHandler<SearchButtonPressedEvent>
|
|
118
|
+
onSearchButtonPress as CT.DirectEventHandler<SearchButtonPressedEvent>
|
|
119
119
|
}
|
|
120
120
|
onCancelButtonPress={
|
|
121
|
-
onCancelButtonPress as DirectEventHandler<SearchBarEvent>
|
|
121
|
+
onCancelButtonPress as CT.DirectEventHandler<SearchBarEvent>
|
|
122
122
|
}
|
|
123
|
-
onChangeText={onChangeText as DirectEventHandler<ChangeTextEvent>}
|
|
123
|
+
onChangeText={onChangeText as CT.DirectEventHandler<ChangeTextEvent>}
|
|
124
124
|
/>
|
|
125
125
|
);
|
|
126
126
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { ViewProps } from 'react-native';
|
|
6
|
-
import { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import { codegenNativeComponent } from 'react-native';
|
|
4
|
+
import type { CodegenTypes as CT, ViewProps } from 'react-native';
|
|
7
5
|
|
|
8
6
|
// Internal export, not part of stable library API.
|
|
9
7
|
export interface NativeProps extends ViewProps {
|
|
10
|
-
accessibilityContainerViewIsModal?: WithDefault<boolean, true>;
|
|
8
|
+
accessibilityContainerViewIsModal?: CT.WithDefault<boolean, true>;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
export default codegenNativeComponent<NativeProps>('RNSFullWindowOverlay', {
|
|
@@ -1,43 +1,35 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { ViewProps, ColorValue } from 'react-native';
|
|
6
|
-
import type {
|
|
7
|
-
DirectEventHandler,
|
|
8
|
-
WithDefault,
|
|
9
|
-
Int32,
|
|
10
|
-
Float,
|
|
11
|
-
Double,
|
|
12
|
-
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import { codegenNativeComponent } from 'react-native';
|
|
4
|
+
import type { CodegenTypes as CT, ViewProps, ColorValue } from 'react-native';
|
|
13
5
|
|
|
14
6
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
15
7
|
type ScreenEvent = Readonly<{}>;
|
|
16
8
|
|
|
17
9
|
type ScreenDismissedEvent = Readonly<{
|
|
18
|
-
dismissCount: Int32;
|
|
10
|
+
dismissCount: CT.Int32;
|
|
19
11
|
}>;
|
|
20
12
|
|
|
21
13
|
type TransitionProgressEvent = Readonly<{
|
|
22
|
-
progress: Double;
|
|
23
|
-
closing: Int32;
|
|
24
|
-
goingForward: Int32;
|
|
14
|
+
progress: CT.Double;
|
|
15
|
+
closing: CT.Int32;
|
|
16
|
+
goingForward: CT.Int32;
|
|
25
17
|
}>;
|
|
26
18
|
|
|
27
19
|
type HeaderHeightChangeEvent = Readonly<{
|
|
28
|
-
headerHeight: Double;
|
|
20
|
+
headerHeight: CT.Double;
|
|
29
21
|
}>;
|
|
30
22
|
|
|
31
23
|
type SheetDetentChangedEvent = Readonly<{
|
|
32
|
-
index: Int32;
|
|
24
|
+
index: CT.Int32;
|
|
33
25
|
isStable: boolean;
|
|
34
26
|
}>;
|
|
35
27
|
|
|
36
28
|
type GestureResponseDistanceType = Readonly<{
|
|
37
|
-
start: Float;
|
|
38
|
-
end: Float;
|
|
39
|
-
top: Float;
|
|
40
|
-
bottom: Float;
|
|
29
|
+
start: CT.Float;
|
|
30
|
+
end: CT.Float;
|
|
31
|
+
top: CT.Float;
|
|
32
|
+
bottom: CT.Float;
|
|
41
33
|
}>;
|
|
42
34
|
|
|
43
35
|
type StackPresentation =
|
|
@@ -70,32 +62,32 @@ type ReplaceAnimation = 'pop' | 'push';
|
|
|
70
62
|
type OptionalBoolean = 'undefined' | 'false' | 'true';
|
|
71
63
|
|
|
72
64
|
export interface NativeProps extends ViewProps {
|
|
73
|
-
onAppear?: DirectEventHandler<ScreenEvent>;
|
|
74
|
-
onDisappear?: DirectEventHandler<ScreenEvent>;
|
|
75
|
-
onDismissed?: DirectEventHandler<ScreenDismissedEvent>;
|
|
76
|
-
onNativeDismissCancelled?: DirectEventHandler<ScreenDismissedEvent>;
|
|
77
|
-
onWillAppear?: DirectEventHandler<ScreenEvent>;
|
|
78
|
-
onWillDisappear?: DirectEventHandler<ScreenEvent>;
|
|
79
|
-
onHeaderHeightChange?: DirectEventHandler<HeaderHeightChangeEvent>;
|
|
80
|
-
onTransitionProgress?: DirectEventHandler<TransitionProgressEvent>;
|
|
81
|
-
onGestureCancel?: DirectEventHandler<ScreenEvent>;
|
|
82
|
-
onHeaderBackButtonClicked?: DirectEventHandler<ScreenEvent>;
|
|
83
|
-
onSheetDetentChanged?: DirectEventHandler<SheetDetentChangedEvent>;
|
|
84
|
-
screenId?: WithDefault<string, ''>;
|
|
65
|
+
onAppear?: CT.DirectEventHandler<ScreenEvent>;
|
|
66
|
+
onDisappear?: CT.DirectEventHandler<ScreenEvent>;
|
|
67
|
+
onDismissed?: CT.DirectEventHandler<ScreenDismissedEvent>;
|
|
68
|
+
onNativeDismissCancelled?: CT.DirectEventHandler<ScreenDismissedEvent>;
|
|
69
|
+
onWillAppear?: CT.DirectEventHandler<ScreenEvent>;
|
|
70
|
+
onWillDisappear?: CT.DirectEventHandler<ScreenEvent>;
|
|
71
|
+
onHeaderHeightChange?: CT.DirectEventHandler<HeaderHeightChangeEvent>;
|
|
72
|
+
onTransitionProgress?: CT.DirectEventHandler<TransitionProgressEvent>;
|
|
73
|
+
onGestureCancel?: CT.DirectEventHandler<ScreenEvent>;
|
|
74
|
+
onHeaderBackButtonClicked?: CT.DirectEventHandler<ScreenEvent>;
|
|
75
|
+
onSheetDetentChanged?: CT.DirectEventHandler<SheetDetentChangedEvent>;
|
|
76
|
+
screenId?: CT.WithDefault<string, ''>;
|
|
85
77
|
sheetAllowedDetents?: number[];
|
|
86
|
-
sheetLargestUndimmedDetent?: WithDefault<Int32, -1>;
|
|
87
|
-
sheetGrabberVisible?: WithDefault<boolean, false>;
|
|
88
|
-
sheetCornerRadius?: WithDefault<Float, -1.0>;
|
|
89
|
-
sheetExpandsWhenScrolledToEdge?: WithDefault<boolean, false>;
|
|
90
|
-
sheetInitialDetent?: WithDefault<Int32, 0>;
|
|
91
|
-
sheetElevation?: WithDefault<Int32, 24>;
|
|
92
|
-
sheetShouldOverflowTopInset?: WithDefault<boolean, false>;
|
|
78
|
+
sheetLargestUndimmedDetent?: CT.WithDefault<CT.Int32, -1>;
|
|
79
|
+
sheetGrabberVisible?: CT.WithDefault<boolean, false>;
|
|
80
|
+
sheetCornerRadius?: CT.WithDefault<CT.Float, -1.0>;
|
|
81
|
+
sheetExpandsWhenScrolledToEdge?: CT.WithDefault<boolean, false>;
|
|
82
|
+
sheetInitialDetent?: CT.WithDefault<CT.Int32, 0>;
|
|
83
|
+
sheetElevation?: CT.WithDefault<CT.Int32, 24>;
|
|
84
|
+
sheetShouldOverflowTopInset?: CT.WithDefault<boolean, false>;
|
|
93
85
|
customAnimationOnSwipe?: boolean;
|
|
94
|
-
fullScreenSwipeEnabled?: WithDefault<OptionalBoolean, 'undefined'>;
|
|
95
|
-
fullScreenSwipeShadowEnabled?: WithDefault<boolean, true>;
|
|
86
|
+
fullScreenSwipeEnabled?: CT.WithDefault<OptionalBoolean, 'undefined'>;
|
|
87
|
+
fullScreenSwipeShadowEnabled?: CT.WithDefault<boolean, true>;
|
|
96
88
|
homeIndicatorHidden?: boolean;
|
|
97
89
|
preventNativeDismiss?: boolean;
|
|
98
|
-
gestureEnabled?: WithDefault<boolean, true>;
|
|
90
|
+
gestureEnabled?: CT.WithDefault<boolean, true>;
|
|
99
91
|
statusBarColor?: ColorValue;
|
|
100
92
|
statusBarHidden?: boolean;
|
|
101
93
|
screenOrientation?: string;
|
|
@@ -103,18 +95,18 @@ export interface NativeProps extends ViewProps {
|
|
|
103
95
|
statusBarStyle?: string;
|
|
104
96
|
statusBarTranslucent?: boolean;
|
|
105
97
|
gestureResponseDistance?: GestureResponseDistanceType;
|
|
106
|
-
stackPresentation?: WithDefault<StackPresentation, 'push'>;
|
|
107
|
-
stackAnimation?: WithDefault<StackAnimation, 'default'>;
|
|
108
|
-
transitionDuration?: WithDefault<Int32, 500>;
|
|
109
|
-
replaceAnimation?: WithDefault<ReplaceAnimation, 'pop'>;
|
|
110
|
-
swipeDirection?: WithDefault<SwipeDirection, 'horizontal'>;
|
|
98
|
+
stackPresentation?: CT.WithDefault<StackPresentation, 'push'>;
|
|
99
|
+
stackAnimation?: CT.WithDefault<StackAnimation, 'default'>;
|
|
100
|
+
transitionDuration?: CT.WithDefault<CT.Int32, 500>;
|
|
101
|
+
replaceAnimation?: CT.WithDefault<ReplaceAnimation, 'pop'>;
|
|
102
|
+
swipeDirection?: CT.WithDefault<SwipeDirection, 'horizontal'>;
|
|
111
103
|
hideKeyboardOnSwipe?: boolean;
|
|
112
|
-
activityState?: WithDefault<Float, -1.0>;
|
|
104
|
+
activityState?: CT.WithDefault<CT.Float, -1.0>;
|
|
113
105
|
navigationBarColor?: ColorValue;
|
|
114
106
|
navigationBarTranslucent?: boolean;
|
|
115
107
|
navigationBarHidden?: boolean;
|
|
116
108
|
nativeBackButtonDismissalEnabled?: boolean;
|
|
117
|
-
synchronousShadowStateUpdatesEnabled?: WithDefault<boolean, false>;
|
|
109
|
+
synchronousShadowStateUpdatesEnabled?: CT.WithDefault<boolean, false>;
|
|
118
110
|
}
|
|
119
111
|
|
|
120
112
|
export default codegenNativeComponent<NativeProps>('RNSModalScreen', {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
3
|
+
import { codegenNativeComponent } from 'react-native';
|
|
5
4
|
import type { ViewProps } from 'react-native';
|
|
6
5
|
|
|
7
6
|
interface NativeProps extends ViewProps {}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent } from 'react-native';
|
|
3
2
|
import type { ViewProps } from 'react-native';
|
|
4
3
|
|
|
5
4
|
export interface NativeProps extends ViewProps {}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent } from 'react-native';
|
|
3
2
|
import type { ViewProps } from 'react-native';
|
|
4
3
|
|
|
5
4
|
export interface NativeProps extends ViewProps {}
|
|
@@ -1,43 +1,35 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import type { ViewProps, ColorValue } from 'react-native';
|
|
6
|
-
import type {
|
|
7
|
-
DirectEventHandler,
|
|
8
|
-
WithDefault,
|
|
9
|
-
Int32,
|
|
10
|
-
Float,
|
|
11
|
-
Double,
|
|
12
|
-
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import { codegenNativeComponent } from 'react-native';
|
|
4
|
+
import type { CodegenTypes as CT, ViewProps, ColorValue } from 'react-native';
|
|
13
5
|
|
|
14
6
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
15
7
|
type ScreenEvent = Readonly<{}>;
|
|
16
8
|
|
|
17
9
|
type ScreenDismissedEvent = Readonly<{
|
|
18
|
-
dismissCount: Int32;
|
|
10
|
+
dismissCount: CT.Int32;
|
|
19
11
|
}>;
|
|
20
12
|
|
|
21
13
|
type TransitionProgressEvent = Readonly<{
|
|
22
|
-
progress: Double;
|
|
23
|
-
closing: Int32;
|
|
24
|
-
goingForward: Int32;
|
|
14
|
+
progress: CT.Double;
|
|
15
|
+
closing: CT.Int32;
|
|
16
|
+
goingForward: CT.Int32;
|
|
25
17
|
}>;
|
|
26
18
|
|
|
27
19
|
type HeaderHeightChangeEvent = Readonly<{
|
|
28
|
-
headerHeight: Double;
|
|
20
|
+
headerHeight: CT.Double;
|
|
29
21
|
}>;
|
|
30
22
|
|
|
31
23
|
type SheetDetentChangedEvent = Readonly<{
|
|
32
|
-
index: Int32;
|
|
24
|
+
index: CT.Int32;
|
|
33
25
|
isStable: boolean;
|
|
34
26
|
}>;
|
|
35
27
|
|
|
36
28
|
type GestureResponseDistanceType = Readonly<{
|
|
37
|
-
start: Float;
|
|
38
|
-
end: Float;
|
|
39
|
-
top: Float;
|
|
40
|
-
bottom: Float;
|
|
29
|
+
start: CT.Float;
|
|
30
|
+
end: CT.Float;
|
|
31
|
+
top: CT.Float;
|
|
32
|
+
bottom: CT.Float;
|
|
41
33
|
}>;
|
|
42
34
|
|
|
43
35
|
type StackPresentation =
|
|
@@ -72,32 +64,32 @@ type ScrollEdgeEffect = 'automatic' | 'hard' | 'soft' | 'hidden';
|
|
|
72
64
|
type OptionalBoolean = 'undefined' | 'false' | 'true';
|
|
73
65
|
|
|
74
66
|
export interface NativeProps extends ViewProps {
|
|
75
|
-
onAppear?: DirectEventHandler<ScreenEvent>;
|
|
76
|
-
onDisappear?: DirectEventHandler<ScreenEvent>;
|
|
77
|
-
onDismissed?: DirectEventHandler<ScreenDismissedEvent>;
|
|
78
|
-
onNativeDismissCancelled?: DirectEventHandler<ScreenDismissedEvent>;
|
|
79
|
-
onWillAppear?: DirectEventHandler<ScreenEvent>;
|
|
80
|
-
onWillDisappear?: DirectEventHandler<ScreenEvent>;
|
|
81
|
-
onHeaderHeightChange?: DirectEventHandler<HeaderHeightChangeEvent>;
|
|
82
|
-
onTransitionProgress?: DirectEventHandler<TransitionProgressEvent>;
|
|
83
|
-
onGestureCancel?: DirectEventHandler<ScreenEvent>;
|
|
84
|
-
onHeaderBackButtonClicked?: DirectEventHandler<ScreenEvent>;
|
|
85
|
-
onSheetDetentChanged?: DirectEventHandler<SheetDetentChangedEvent>;
|
|
86
|
-
screenId?: WithDefault<string, ''>;
|
|
67
|
+
onAppear?: CT.DirectEventHandler<ScreenEvent>;
|
|
68
|
+
onDisappear?: CT.DirectEventHandler<ScreenEvent>;
|
|
69
|
+
onDismissed?: CT.DirectEventHandler<ScreenDismissedEvent>;
|
|
70
|
+
onNativeDismissCancelled?: CT.DirectEventHandler<ScreenDismissedEvent>;
|
|
71
|
+
onWillAppear?: CT.DirectEventHandler<ScreenEvent>;
|
|
72
|
+
onWillDisappear?: CT.DirectEventHandler<ScreenEvent>;
|
|
73
|
+
onHeaderHeightChange?: CT.DirectEventHandler<HeaderHeightChangeEvent>;
|
|
74
|
+
onTransitionProgress?: CT.DirectEventHandler<TransitionProgressEvent>;
|
|
75
|
+
onGestureCancel?: CT.DirectEventHandler<ScreenEvent>;
|
|
76
|
+
onHeaderBackButtonClicked?: CT.DirectEventHandler<ScreenEvent>;
|
|
77
|
+
onSheetDetentChanged?: CT.DirectEventHandler<SheetDetentChangedEvent>;
|
|
78
|
+
screenId?: CT.WithDefault<string, ''>;
|
|
87
79
|
sheetAllowedDetents?: number[];
|
|
88
|
-
sheetLargestUndimmedDetent?: WithDefault<Int32, -1>;
|
|
89
|
-
sheetGrabberVisible?: WithDefault<boolean, false>;
|
|
90
|
-
sheetCornerRadius?: WithDefault<Float, -1.0>;
|
|
91
|
-
sheetExpandsWhenScrolledToEdge?: WithDefault<boolean, false>;
|
|
92
|
-
sheetInitialDetent?: WithDefault<Int32, 0>;
|
|
93
|
-
sheetElevation?: WithDefault<Int32, 24>;
|
|
94
|
-
sheetShouldOverflowTopInset?: WithDefault<boolean, false>;
|
|
80
|
+
sheetLargestUndimmedDetent?: CT.WithDefault<CT.Int32, -1>;
|
|
81
|
+
sheetGrabberVisible?: CT.WithDefault<boolean, false>;
|
|
82
|
+
sheetCornerRadius?: CT.WithDefault<CT.Float, -1.0>;
|
|
83
|
+
sheetExpandsWhenScrolledToEdge?: CT.WithDefault<boolean, false>;
|
|
84
|
+
sheetInitialDetent?: CT.WithDefault<CT.Int32, 0>;
|
|
85
|
+
sheetElevation?: CT.WithDefault<CT.Int32, 24>;
|
|
86
|
+
sheetShouldOverflowTopInset?: CT.WithDefault<boolean, false>;
|
|
95
87
|
customAnimationOnSwipe?: boolean;
|
|
96
|
-
fullScreenSwipeEnabled?: WithDefault<OptionalBoolean, 'undefined'>;
|
|
97
|
-
fullScreenSwipeShadowEnabled?: WithDefault<boolean, true>;
|
|
88
|
+
fullScreenSwipeEnabled?: CT.WithDefault<OptionalBoolean, 'undefined'>;
|
|
89
|
+
fullScreenSwipeShadowEnabled?: CT.WithDefault<boolean, true>;
|
|
98
90
|
homeIndicatorHidden?: boolean;
|
|
99
91
|
preventNativeDismiss?: boolean;
|
|
100
|
-
gestureEnabled?: WithDefault<boolean, true>;
|
|
92
|
+
gestureEnabled?: CT.WithDefault<boolean, true>;
|
|
101
93
|
statusBarColor?: ColorValue;
|
|
102
94
|
statusBarHidden?: boolean;
|
|
103
95
|
screenOrientation?: string;
|
|
@@ -105,23 +97,23 @@ export interface NativeProps extends ViewProps {
|
|
|
105
97
|
statusBarStyle?: string;
|
|
106
98
|
statusBarTranslucent?: boolean;
|
|
107
99
|
gestureResponseDistance?: GestureResponseDistanceType;
|
|
108
|
-
stackPresentation?: WithDefault<StackPresentation, 'push'>;
|
|
109
|
-
stackAnimation?: WithDefault<StackAnimation, 'default'>;
|
|
110
|
-
transitionDuration?: WithDefault<Int32, 500>;
|
|
111
|
-
replaceAnimation?: WithDefault<ReplaceAnimation, 'pop'>;
|
|
112
|
-
swipeDirection?: WithDefault<SwipeDirection, 'horizontal'>;
|
|
100
|
+
stackPresentation?: CT.WithDefault<StackPresentation, 'push'>;
|
|
101
|
+
stackAnimation?: CT.WithDefault<StackAnimation, 'default'>;
|
|
102
|
+
transitionDuration?: CT.WithDefault<CT.Int32, 500>;
|
|
103
|
+
replaceAnimation?: CT.WithDefault<ReplaceAnimation, 'pop'>;
|
|
104
|
+
swipeDirection?: CT.WithDefault<SwipeDirection, 'horizontal'>;
|
|
113
105
|
hideKeyboardOnSwipe?: boolean;
|
|
114
|
-
activityState?: WithDefault<Float, -1.0>;
|
|
106
|
+
activityState?: CT.WithDefault<CT.Float, -1.0>;
|
|
115
107
|
navigationBarColor?: ColorValue;
|
|
116
108
|
navigationBarTranslucent?: boolean;
|
|
117
109
|
navigationBarHidden?: boolean;
|
|
118
110
|
nativeBackButtonDismissalEnabled?: boolean;
|
|
119
|
-
bottomScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
120
|
-
leftScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
121
|
-
rightScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
122
|
-
topScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
123
|
-
synchronousShadowStateUpdatesEnabled?: WithDefault<boolean, false>;
|
|
124
|
-
androidResetScreenShadowStateOnOrientationChangeEnabled?: WithDefault<
|
|
111
|
+
bottomScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
112
|
+
leftScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
113
|
+
rightScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
114
|
+
topScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
115
|
+
synchronousShadowStateUpdatesEnabled?: CT.WithDefault<boolean, false>;
|
|
116
|
+
androidResetScreenShadowStateOnOrientationChangeEnabled?: CT.WithDefault<
|
|
125
117
|
boolean,
|
|
126
118
|
true
|
|
127
119
|
>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
3
|
+
import { codegenNativeComponent } from 'react-native';
|
|
5
4
|
import type { ViewProps } from 'react-native';
|
|
6
5
|
|
|
7
6
|
interface NativeProps extends ViewProps {}
|