react-native-screens 4.19.0-nightly-20251207-910978b9a → 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/README.md +2 -0
- package/ios/RNSScreenStack.mm +2 -1
- package/ios/RNSScreenStackHeaderConfig.mm +5 -7
- package/ios/RNSScreenStackHeaderSubview.mm +65 -3
- package/ios/bottom-tabs/host/RNSTabBarController.mm +1 -2
- package/ios/bottom-tabs/screen/RNSBottomTabsScreenComponentView.mm +7 -0
- package/lib/commonjs/components/ScreenStackItem.js +2 -2
- package/lib/commonjs/components/ScreenStackItem.js.map +1 -1
- 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/ScreenStackItem.js +2 -2
- package/lib/module/components/ScreenStackItem.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/components/bottom-tabs/BottomTabs.types.d.ts +0 -3
- package/lib/typescript/components/bottom-tabs/BottomTabs.types.d.ts.map +1 -1
- package/lib/typescript/components/bottom-tabs/BottomTabsScreen.types.d.ts +2 -0
- package/lib/typescript/components/bottom-tabs/BottomTabsScreen.types.d.ts.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/ScreenStackItem.tsx +2 -2
- package/src/components/SearchBar.tsx +6 -6
- package/src/components/bottom-tabs/BottomTabs.types.ts +0 -3
- package/src/components/bottom-tabs/BottomTabsScreen.types.ts +2 -0
- 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,5 +1,4 @@
|
|
|
1
|
-
import type { ViewProps, ColorValue, HostComponent } from 'react-native';
|
|
2
|
-
import type { WithDefault, DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ViewProps, ColorValue, HostComponent } from 'react-native';
|
|
3
2
|
export type SearchBarEvent = Readonly<{}>;
|
|
4
3
|
export type SearchButtonPressedEvent = Readonly<{
|
|
5
4
|
text?: string;
|
|
@@ -11,30 +10,30 @@ type SearchBarPlacement = 'automatic' | 'inline' | 'stacked' | 'integrated' | 'i
|
|
|
11
10
|
type AutoCapitalizeType = 'systemDefault' | 'none' | 'words' | 'sentences' | 'characters';
|
|
12
11
|
type OptionalBoolean = 'undefined' | 'false' | 'true';
|
|
13
12
|
export interface NativeProps extends ViewProps {
|
|
14
|
-
onSearchFocus?: DirectEventHandler<SearchBarEvent> | null;
|
|
15
|
-
onSearchBlur?: DirectEventHandler<SearchBarEvent> | null;
|
|
16
|
-
onSearchButtonPress?: DirectEventHandler<SearchButtonPressedEvent> | null;
|
|
17
|
-
onCancelButtonPress?: DirectEventHandler<SearchBarEvent> | null;
|
|
18
|
-
onChangeText?: DirectEventHandler<ChangeTextEvent> | null;
|
|
19
|
-
hideWhenScrolling?: WithDefault<boolean, true>;
|
|
20
|
-
autoCapitalize?: WithDefault<AutoCapitalizeType, 'systemDefault'>;
|
|
13
|
+
onSearchFocus?: CT.DirectEventHandler<SearchBarEvent> | null;
|
|
14
|
+
onSearchBlur?: CT.DirectEventHandler<SearchBarEvent> | null;
|
|
15
|
+
onSearchButtonPress?: CT.DirectEventHandler<SearchButtonPressedEvent> | null;
|
|
16
|
+
onCancelButtonPress?: CT.DirectEventHandler<SearchBarEvent> | null;
|
|
17
|
+
onChangeText?: CT.DirectEventHandler<ChangeTextEvent> | null;
|
|
18
|
+
hideWhenScrolling?: CT.WithDefault<boolean, true>;
|
|
19
|
+
autoCapitalize?: CT.WithDefault<AutoCapitalizeType, 'systemDefault'>;
|
|
21
20
|
placeholder?: string;
|
|
22
|
-
placement?: WithDefault<SearchBarPlacement, 'automatic'>;
|
|
23
|
-
allowToolbarIntegration?: WithDefault<boolean, true>;
|
|
24
|
-
obscureBackground?: WithDefault<OptionalBoolean, 'undefined'>;
|
|
25
|
-
hideNavigationBar?: WithDefault<OptionalBoolean, 'undefined'>;
|
|
21
|
+
placement?: CT.WithDefault<SearchBarPlacement, 'automatic'>;
|
|
22
|
+
allowToolbarIntegration?: CT.WithDefault<boolean, true>;
|
|
23
|
+
obscureBackground?: CT.WithDefault<OptionalBoolean, 'undefined'>;
|
|
24
|
+
hideNavigationBar?: CT.WithDefault<OptionalBoolean, 'undefined'>;
|
|
26
25
|
cancelButtonText?: string;
|
|
27
26
|
barTintColor?: ColorValue;
|
|
28
27
|
tintColor?: ColorValue;
|
|
29
28
|
textColor?: ColorValue;
|
|
30
|
-
autoFocus?: WithDefault<boolean, false>;
|
|
29
|
+
autoFocus?: CT.WithDefault<boolean, false>;
|
|
31
30
|
disableBackButtonOverride?: boolean;
|
|
32
31
|
inputType?: string;
|
|
33
|
-
onClose?: DirectEventHandler<SearchBarEvent> | null;
|
|
34
|
-
onOpen?: DirectEventHandler<SearchBarEvent> | null;
|
|
32
|
+
onClose?: CT.DirectEventHandler<SearchBarEvent> | null;
|
|
33
|
+
onOpen?: CT.DirectEventHandler<SearchBarEvent> | null;
|
|
35
34
|
hintTextColor?: ColorValue;
|
|
36
35
|
headerIconColor?: ColorValue;
|
|
37
|
-
shouldShowHintSearchIcon?: WithDefault<boolean, true>;
|
|
36
|
+
shouldShowHintSearchIcon?: CT.WithDefault<boolean, true>;
|
|
38
37
|
}
|
|
39
38
|
type ComponentType = HostComponent<NativeProps>;
|
|
40
39
|
interface NativeCommands {
|
|
@@ -46,6 +45,6 @@ interface NativeCommands {
|
|
|
46
45
|
cancelSearch: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
47
46
|
}
|
|
48
47
|
export declare const Commands: NativeCommands;
|
|
49
|
-
declare const _default:
|
|
48
|
+
declare const _default: HostComponent<NativeProps>;
|
|
50
49
|
export default _default;
|
|
51
50
|
//# sourceMappingURL=SearchBarNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBarNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/fabric/SearchBarNativeComponent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchBarNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/fabric/SearchBarNativeComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,EAAE,EAClB,SAAS,EACT,UAAU,EACV,aAAa,EACd,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAE1C,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,KAAK,kBAAkB,GACnB,WAAW,GACX,QAAQ,GACR,SAAS,GACT,YAAY,GACZ,kBAAkB,GAClB,oBAAoB,CAAC;AAEzB,KAAK,kBAAkB,GACnB,eAAe,GACf,MAAM,GACN,OAAO,GACP,WAAW,GACX,YAAY,CAAC;AAEjB,KAAK,eAAe,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAEtD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,aAAa,CAAC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AAO,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;IACvD,MAAM,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;IACtD,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,wBAAwB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;CAC1D;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;AAEhD,UAAU,cAAc;IACtB,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IACzD,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAC1D,SAAS,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAC9D,kBAAkB,EAAE,CAClB,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,EACxC,IAAI,EAAE,OAAO,KACV,IAAI,CAAC;IACV,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,YAAY,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAClE;AAED,eAAO,MAAM,QAAQ,EAAE,cASrB,CAAC;;AAEH,wBAAuE"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
-
import { WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ViewProps } from 'react-native';
|
|
3
2
|
type BottomAccessoryEnvironment = 'regular' | 'inline';
|
|
4
3
|
export interface NativeProps extends ViewProps {
|
|
5
|
-
environment?: WithDefault<BottomAccessoryEnvironment, 'regular'>;
|
|
4
|
+
environment?: CT.WithDefault<BottomAccessoryEnvironment, 'regular'>;
|
|
6
5
|
}
|
|
7
|
-
declare const _default: import("react-native
|
|
6
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
8
7
|
export default _default;
|
|
9
8
|
//# sourceMappingURL=BottomTabsAccessoryContentNativeComponent.d.ts.map
|
package/lib/typescript/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabsAccessoryContentNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BottomTabsAccessoryContentNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsAccessoryContentNativeComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAElE,KAAK,0BAA0B,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC;CACrE;;AAED,wBAGE"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
-
import { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ViewProps } from 'react-native';
|
|
3
2
|
type EnvironmentChangeEvent = {
|
|
4
3
|
environment: 'regular' | 'inline';
|
|
5
4
|
};
|
|
6
5
|
export interface NativeProps extends ViewProps {
|
|
7
|
-
onEnvironmentChange?: DirectEventHandler<EnvironmentChangeEvent>;
|
|
6
|
+
onEnvironmentChange?: CT.DirectEventHandler<EnvironmentChangeEvent>;
|
|
8
7
|
}
|
|
9
|
-
declare const _default: import("react-native
|
|
8
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
10
9
|
export default _default;
|
|
11
10
|
//# sourceMappingURL=BottomTabsAccessoryNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabsAccessoryNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BottomTabsAccessoryNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsAccessoryNativeComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAElE,KAAK,sBAAsB,GAAG;IAC5B,WAAW,EAAE,SAAS,GAAG,QAAQ,CAAC;CACnC,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,mBAAmB,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;CACrE;;AAED,wBAEG"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { ColorValue, ViewProps } from 'react-native';
|
|
2
|
-
import type { DirectEventHandler, Float, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ColorValue, ViewProps } from 'react-native';
|
|
3
2
|
type NativeFocusChangeEvent = {
|
|
4
3
|
tabKey: string;
|
|
5
4
|
repeatedSelectionHandledBySpecialEffect: boolean;
|
|
@@ -8,11 +7,11 @@ type TabBarItemLabelVisibilityMode = 'auto' | 'selected' | 'labeled' | 'unlabele
|
|
|
8
7
|
type TabBarMinimizeBehavior = 'automatic' | 'never' | 'onScrollDown' | 'onScrollUp';
|
|
9
8
|
type TabBarControllerMode = 'automatic' | 'tabBar' | 'tabSidebar';
|
|
10
9
|
export interface NativeProps extends ViewProps {
|
|
11
|
-
onNativeFocusChange?: DirectEventHandler<NativeFocusChangeEvent>;
|
|
10
|
+
onNativeFocusChange?: CT.DirectEventHandler<NativeFocusChangeEvent>;
|
|
12
11
|
tabBarBackgroundColor?: ColorValue;
|
|
13
12
|
tabBarItemTitleFontFamily?: string;
|
|
14
|
-
tabBarItemTitleFontSize?: Float;
|
|
15
|
-
tabBarItemTitleFontSizeActive?: Float;
|
|
13
|
+
tabBarItemTitleFontSize?: CT.Float;
|
|
14
|
+
tabBarItemTitleFontSizeActive?: CT.Float;
|
|
16
15
|
tabBarItemTitleFontWeight?: string;
|
|
17
16
|
tabBarItemTitleFontStyle?: string;
|
|
18
17
|
tabBarItemTitleFontColor?: ColorValue;
|
|
@@ -20,15 +19,15 @@ export interface NativeProps extends ViewProps {
|
|
|
20
19
|
tabBarItemIconColor?: ColorValue;
|
|
21
20
|
tabBarItemIconColorActive?: ColorValue;
|
|
22
21
|
tabBarItemActiveIndicatorColor?: ColorValue;
|
|
23
|
-
tabBarItemActiveIndicatorEnabled?: WithDefault<boolean, true>;
|
|
22
|
+
tabBarItemActiveIndicatorEnabled?: CT.WithDefault<boolean, true>;
|
|
24
23
|
tabBarItemRippleColor?: ColorValue;
|
|
25
|
-
tabBarItemLabelVisibilityMode?: WithDefault<TabBarItemLabelVisibilityMode, 'auto'>;
|
|
24
|
+
tabBarItemLabelVisibilityMode?: CT.WithDefault<TabBarItemLabelVisibilityMode, 'auto'>;
|
|
26
25
|
tabBarTintColor?: ColorValue;
|
|
27
|
-
tabBarMinimizeBehavior?: WithDefault<TabBarMinimizeBehavior, 'automatic'>;
|
|
28
|
-
tabBarControllerMode?: WithDefault<TabBarControllerMode, 'automatic'>;
|
|
29
|
-
tabBarHidden?: WithDefault<boolean, false>;
|
|
30
|
-
controlNavigationStateInJS?: WithDefault<boolean, false>;
|
|
26
|
+
tabBarMinimizeBehavior?: CT.WithDefault<TabBarMinimizeBehavior, 'automatic'>;
|
|
27
|
+
tabBarControllerMode?: CT.WithDefault<TabBarControllerMode, 'automatic'>;
|
|
28
|
+
tabBarHidden?: CT.WithDefault<boolean, false>;
|
|
29
|
+
controlNavigationStateInJS?: CT.WithDefault<boolean, false>;
|
|
31
30
|
}
|
|
32
|
-
declare const _default: import("react-native
|
|
31
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
33
32
|
export default _default;
|
|
34
33
|
//# sourceMappingURL=BottomTabsNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabsNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsNativeComponent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BottomTabsNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsNativeComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAS9E,KAAK,sBAAsB,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,uCAAuC,EAAE,OAAO,CAAC;CAClD,CAAC;AAEF,KAAK,6BAA6B,GAC9B,MAAM,GACN,UAAU,GACV,SAAS,GACT,WAAW,CAAC;AAEhB,KAAK,sBAAsB,GACvB,WAAW,GACX,OAAO,GACP,cAAc,GACd,YAAY,CAAC;AAEjB,KAAK,oBAAoB,GAAG,WAAW,GAAG,QAAQ,GAAG,YAAY,CAAC;AAElE,MAAM,WAAW,WAAY,SAAQ,SAAS;IAE5C,mBAAmB,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAMpE,qBAAqB,CAAC,EAAE,UAAU,CAAC;IACnC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,uBAAuB,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC;IACnC,6BAA6B,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC;IACzC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,8BAA8B,CAAC,EAAE,UAAU,CAAC;IAC5C,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,yBAAyB,CAAC,EAAE,UAAU,CAAC;IACvC,8BAA8B,CAAC,EAAE,UAAU,CAAC;IAC5C,gCAAgC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACjE,qBAAqB,CAAC,EAAE,UAAU,CAAC;IACnC,6BAA6B,CAAC,EAAE,EAAE,CAAC,WAAW,CAC5C,6BAA6B,EAC7B,MAAM,CACP,CAAC;IAGF,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,sBAAsB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,sBAAsB,EAAE,WAAW,CAAC,CAAC;IAC7E,oBAAoB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC;IACzE,YAAY,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAK9C,0BAA0B,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;CAC7D;;AAED,wBAEG"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import type { ColorValue, ImageSource, ProcessedColorValue, ViewProps } from 'react-native';
|
|
2
|
-
import { DirectEventHandler, Float, Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import type { CodegenTypes as CT, ColorValue, ImageSource, ProcessedColorValue, ViewProps } from 'react-native';
|
|
3
2
|
import { UnsafeMixed } from './codegenUtils';
|
|
4
3
|
export type IconType = 'image' | 'template' | 'sfSymbol';
|
|
5
4
|
type GenericEmptyEvent = Readonly<{}>;
|
|
6
5
|
type LifecycleStateChangeEvent = Readonly<{
|
|
7
|
-
previousState: Int32;
|
|
8
|
-
newState: Int32;
|
|
6
|
+
previousState: CT.Int32;
|
|
7
|
+
newState: CT.Int32;
|
|
9
8
|
}>;
|
|
10
9
|
export type ItemStateAppearance = {
|
|
11
10
|
tabBarItemTitleFontFamily?: string;
|
|
12
|
-
tabBarItemTitleFontSize?: Float;
|
|
11
|
+
tabBarItemTitleFontSize?: CT.Float;
|
|
13
12
|
tabBarItemTitleFontWeight?: string;
|
|
14
13
|
tabBarItemTitleFontStyle?: string;
|
|
15
14
|
tabBarItemTitleFontColor?: ProcessedColorValue | null;
|
|
16
15
|
tabBarItemTitlePositionAdjustment?: {
|
|
17
|
-
horizontal?: Float;
|
|
18
|
-
vertical?: Float;
|
|
16
|
+
horizontal?: CT.Float;
|
|
17
|
+
vertical?: CT.Float;
|
|
19
18
|
};
|
|
20
19
|
tabBarItemIconColor?: ProcessedColorValue | null;
|
|
21
20
|
tabBarItemBadgeBackgroundColor?: ProcessedColorValue | null;
|
|
@@ -32,7 +31,7 @@ export type Appearance = {
|
|
|
32
31
|
compactInline?: ItemAppearance;
|
|
33
32
|
tabBarBackgroundColor?: ProcessedColorValue | null;
|
|
34
33
|
tabBarShadowColor?: ProcessedColorValue | null;
|
|
35
|
-
tabBarBlurEffect?: WithDefault<BlurEffect, 'systemDefault'>;
|
|
34
|
+
tabBarBlurEffect?: CT.WithDefault<BlurEffect, 'systemDefault'>;
|
|
36
35
|
};
|
|
37
36
|
type BlurEffect = 'none' | 'systemDefault' | 'extraLight' | 'light' | 'dark' | 'regular' | 'prominent' | 'systemUltraThinMaterial' | 'systemThinMaterial' | 'systemMaterial' | 'systemThickMaterial' | 'systemChromeMaterial' | 'systemUltraThinMaterialLight' | 'systemThinMaterialLight' | 'systemMaterialLight' | 'systemThickMaterialLight' | 'systemChromeMaterialLight' | 'systemUltraThinMaterialDark' | 'systemThinMaterialDark' | 'systemMaterialDark' | 'systemThickMaterialDark' | 'systemChromeMaterialDark';
|
|
38
37
|
type Orientation = 'inherit' | 'all' | 'allButUpsideDown' | 'portrait' | 'portraitUp' | 'portraitDown' | 'landscape' | 'landscapeLeft' | 'landscapeRight';
|
|
@@ -40,42 +39,42 @@ type SystemItem = 'none' | 'bookmarks' | 'contacts' | 'downloads' | 'favorites'
|
|
|
40
39
|
type ScrollEdgeEffect = 'automatic' | 'hard' | 'soft' | 'hidden';
|
|
41
40
|
type UserInterfaceStyle = 'unspecified' | 'light' | 'dark';
|
|
42
41
|
export interface NativeProps extends ViewProps {
|
|
43
|
-
onLifecycleStateChange?: DirectEventHandler<LifecycleStateChangeEvent>;
|
|
44
|
-
onWillAppear?: DirectEventHandler<GenericEmptyEvent>;
|
|
45
|
-
onDidAppear?: DirectEventHandler<GenericEmptyEvent>;
|
|
46
|
-
onWillDisappear?: DirectEventHandler<GenericEmptyEvent>;
|
|
47
|
-
onDidDisappear?: DirectEventHandler<GenericEmptyEvent>;
|
|
42
|
+
onLifecycleStateChange?: CT.DirectEventHandler<LifecycleStateChangeEvent>;
|
|
43
|
+
onWillAppear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
44
|
+
onDidAppear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
45
|
+
onWillDisappear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
46
|
+
onDidDisappear?: CT.DirectEventHandler<GenericEmptyEvent>;
|
|
48
47
|
isFocused?: boolean;
|
|
49
48
|
tabKey: string;
|
|
50
49
|
title?: string | undefined | null;
|
|
51
|
-
isTitleUndefined?: WithDefault<boolean, true>;
|
|
50
|
+
isTitleUndefined?: CT.WithDefault<boolean, true>;
|
|
52
51
|
badgeValue?: string;
|
|
53
|
-
orientation?: WithDefault<Orientation, 'inherit'>;
|
|
52
|
+
orientation?: CT.WithDefault<Orientation, 'inherit'>;
|
|
54
53
|
drawableIconResourceName?: string;
|
|
55
54
|
imageIconResource?: ImageSource;
|
|
56
55
|
tabBarItemBadgeTextColor?: ColorValue;
|
|
57
56
|
tabBarItemBadgeBackgroundColor?: ColorValue;
|
|
58
57
|
standardAppearance?: UnsafeMixed<Appearance>;
|
|
59
58
|
scrollEdgeAppearance?: UnsafeMixed<Appearance>;
|
|
60
|
-
iconType?: WithDefault<IconType, 'sfSymbol'>;
|
|
59
|
+
iconType?: CT.WithDefault<IconType, 'sfSymbol'>;
|
|
61
60
|
iconImageSource?: ImageSource;
|
|
62
61
|
iconSfSymbolName?: string;
|
|
63
62
|
selectedIconImageSource?: ImageSource;
|
|
64
63
|
selectedIconSfSymbolName?: string;
|
|
65
|
-
systemItem?: WithDefault<SystemItem, 'none'>;
|
|
64
|
+
systemItem?: CT.WithDefault<SystemItem, 'none'>;
|
|
66
65
|
specialEffects?: {
|
|
67
66
|
repeatedTabSelection?: {
|
|
68
|
-
popToRoot?: WithDefault<boolean, true>;
|
|
69
|
-
scrollToTop?: WithDefault<boolean, true>;
|
|
67
|
+
popToRoot?: CT.WithDefault<boolean, true>;
|
|
68
|
+
scrollToTop?: CT.WithDefault<boolean, true>;
|
|
70
69
|
};
|
|
71
70
|
};
|
|
72
|
-
overrideScrollViewContentInsetAdjustmentBehavior?: WithDefault<boolean, true>;
|
|
73
|
-
bottomScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
74
|
-
leftScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
75
|
-
rightScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
76
|
-
topScrollEdgeEffect?: WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
77
|
-
userInterfaceStyle?: WithDefault<UserInterfaceStyle, 'unspecified'>;
|
|
71
|
+
overrideScrollViewContentInsetAdjustmentBehavior?: CT.WithDefault<boolean, true>;
|
|
72
|
+
bottomScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
73
|
+
leftScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
74
|
+
rightScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
75
|
+
topScrollEdgeEffect?: CT.WithDefault<ScrollEdgeEffect, 'automatic'>;
|
|
76
|
+
userInterfaceStyle?: CT.WithDefault<UserInterfaceStyle, 'unspecified'>;
|
|
78
77
|
}
|
|
79
|
-
declare const _default: import("react-native
|
|
78
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
80
79
|
export default _default;
|
|
81
80
|
//# sourceMappingURL=BottomTabsScreenNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomTabsScreenNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsScreenNativeComponent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BottomTabsScreenNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/bottom-tabs/BottomTabsScreenNativeComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,EAAE,EAClB,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAGzD,KAAK,iBAAiB,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAEtC,KAAK,yBAAyB,GAAG,QAAQ,CAAC;IACxC,aAAa,EAAE,EAAE,CAAC,KAAK,CAAC;IACxB,QAAQ,EAAE,EAAE,CAAC,KAAK,CAAC;CACpB,CAAC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAChC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,uBAAuB,CAAC,EAA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AE,CAAC,WAAW,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC;CACxE;;AAED,wBAA8E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ViewProps } from 'react-native';
|
|
2
2
|
export interface NativeProps extends ViewProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import("react-native
|
|
4
|
+
declare const _default: import("react-native").HostComponent<NativeProps>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=ScreenStackHostNativeComponent.d.ts.map
|
|
@@ -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":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIlE,KAAK,iBAAiB,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;AAEtC,KAAK,0BAA0B,GAAG;IAChC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,KAAK,oCAAoC,GAAG,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC;AAE7E,KAAK,sBAAsB,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAE5E,KAAK,oBAAoB,GAAG,SAAS,GAAG,UAAU,CAAC;AAEnD,KAAK,oBAAoB,GACrB,WAAW,GACX,eA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,CAAC,iBAAiB,CAAC,CAAC;CAC5D;;AAED,wBAA2E"}
|
|
@@ -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 ../)",
|
|
@@ -214,7 +214,7 @@ function getPositioningStyle(
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
if (isIOS) {
|
|
217
|
-
return styles.
|
|
217
|
+
return styles.absoluteWithNoBottom;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
// Other platforms, tested reliably only on Android
|
|
@@ -272,7 +272,7 @@ const styles = StyleSheet.create({
|
|
|
272
272
|
container: {
|
|
273
273
|
flex: 1,
|
|
274
274
|
},
|
|
275
|
-
|
|
275
|
+
absoluteWithNoBottom: {
|
|
276
276
|
position: 'absolute',
|
|
277
277
|
top: 0,
|
|
278
278
|
start: 0,
|
|
@@ -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
|
}
|
|
@@ -265,9 +265,6 @@ export interface BottomTabsProps extends ViewProps {
|
|
|
265
265
|
* If set to false, tab screen change will not be prevented by the
|
|
266
266
|
* native side (managed/natively-driven).
|
|
267
267
|
*
|
|
268
|
-
* On iOS, some features are not fully implemented for managed tabs
|
|
269
|
-
* (e.g. overrideScrollViewContentInsetAdjustmentBehavior).
|
|
270
|
-
*
|
|
271
268
|
* On Android, only controlled tabs are currently supported and the
|
|
272
269
|
* value of this prop is ignored.
|
|
273
270
|
*
|
|
@@ -504,6 +504,8 @@ export interface BottomTabsScreenProps {
|
|
|
504
504
|
* prevents ScrollViews from respecting navigation bar insets.
|
|
505
505
|
* When this prop is set to `true`, `automatic` behavior is reverted.
|
|
506
506
|
*
|
|
507
|
+
* Supported only on Fabric.
|
|
508
|
+
*
|
|
507
509
|
* @default true
|
|
508
510
|
*
|
|
509
511
|
* @platform ios
|
|
@@ -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', {
|