react-native-screens 4.20.0-nightly-20251216-94c1d7108 → 4.20.0-nightly-20251218-06a5812f7
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 +73 -44
- package/ios/gamma/stack/{RNSStackController.swift → host/RNSStackController.swift} +5 -5
- package/ios/gamma/stack/{RNSScreenStackHostComponentView.h → host/RNSStackHostComponentView.h} +1 -1
- package/ios/gamma/stack/{RNSScreenStackHostComponentView.mm → host/RNSStackHostComponentView.mm} +6 -6
- package/ios/gamma/stack/{RNSScreenStackHostComponentViewManager.h → host/RNSStackHostComponentViewManager.h} +1 -1
- package/ios/gamma/stack/host/RNSStackHostComponentViewManager.mm +7 -0
- package/ios/gamma/stack/{RNSStackScreenComponentView.h → screen/RNSStackScreenComponentView.h} +7 -7
- package/ios/gamma/stack/{RNSStackScreenComponentView.mm → screen/RNSStackScreenComponentView.mm} +2 -2
- package/ios/gamma/stack/{RNSStackScreenController.swift → screen/RNSStackScreenController.swift} +4 -4
- package/ios/stubs/RNSGammaStubs.h +1 -1
- package/ios/stubs/RNSGammaStubs.mm +1 -1
- package/lib/commonjs/components/gamma/split/SplitHost.android.js +12 -0
- package/lib/commonjs/components/gamma/split/SplitHost.android.js.map +1 -0
- package/lib/commonjs/components/gamma/{split-view/SplitViewHost.js → split/SplitHost.js} +9 -9
- package/lib/commonjs/components/gamma/split/SplitHost.js.map +1 -0
- package/lib/commonjs/components/gamma/{split-view/SplitViewHost.types.js → split/SplitHost.types.js} +1 -1
- package/lib/commonjs/components/gamma/split/SplitHost.types.js.map +1 -0
- package/lib/commonjs/components/gamma/split/SplitHost.web.js +12 -0
- package/lib/commonjs/components/gamma/split/SplitHost.web.js.map +1 -0
- package/lib/commonjs/components/gamma/{split-view/SplitViewScreen.web.js → split/SplitScreen.android.js} +2 -2
- package/lib/commonjs/components/gamma/split/SplitScreen.android.js.map +1 -0
- package/lib/commonjs/components/gamma/{split-view/SplitViewScreen.js → split/SplitScreen.js} +3 -3
- package/lib/commonjs/components/gamma/split/SplitScreen.js.map +1 -0
- package/lib/commonjs/components/gamma/{split-view/SplitViewScreen.types.js → split/SplitScreen.types.js} +1 -1
- package/lib/commonjs/components/gamma/split/SplitScreen.types.js.map +1 -0
- package/lib/commonjs/components/gamma/split/SplitScreen.web.js +23 -0
- package/lib/commonjs/components/gamma/split/SplitScreen.web.js.map +1 -0
- package/lib/commonjs/components/gamma/split/index.js +44 -0
- package/lib/commonjs/components/gamma/split/index.js.map +1 -0
- package/lib/commonjs/components/gamma/stack/StackHost.js +2 -2
- package/lib/commonjs/components/gamma/stack/StackHost.js.map +1 -1
- package/lib/commonjs/components/gamma/stack/StackHost.web.js +4 -2
- package/lib/commonjs/components/gamma/stack/StackHost.web.js.map +1 -1
- package/lib/commonjs/components/gamma/stack/StackScreen.js +1 -1
- package/lib/commonjs/components/gamma/stack/StackScreen.js.map +1 -1
- package/lib/commonjs/experimental/index.js +4 -12
- package/lib/commonjs/experimental/index.js.map +1 -1
- package/lib/commonjs/experimental/types.js +12 -12
- package/lib/commonjs/experimental/types.js.map +1 -1
- package/lib/commonjs/fabric/gamma/{ScreenStackHostNativeComponent.js → stack/StackHostNativeComponent.js} +2 -2
- package/lib/commonjs/fabric/gamma/stack/StackHostNativeComponent.js.map +1 -0
- package/lib/commonjs/fabric/gamma/stack/StackScreenNativeComponent.js.map +1 -0
- package/lib/module/components/gamma/split/SplitHost.android.js +6 -0
- package/lib/module/components/gamma/split/SplitHost.android.js.map +1 -0
- package/lib/module/components/gamma/{split-view/SplitViewHost.js → split/SplitHost.js} +9 -9
- package/lib/module/components/gamma/split/SplitHost.js.map +1 -0
- package/lib/module/components/gamma/split/SplitHost.types.js +2 -0
- package/lib/module/components/gamma/split/SplitHost.types.js.map +1 -0
- package/lib/module/components/gamma/split/SplitHost.web.js +6 -0
- package/lib/module/components/gamma/split/SplitHost.web.js.map +1 -0
- package/lib/module/components/gamma/split/SplitScreen.android.js +11 -0
- package/lib/module/components/gamma/split/SplitScreen.android.js.map +1 -0
- package/lib/module/components/gamma/{split-view/SplitViewScreen.js → split/SplitScreen.js} +3 -3
- package/lib/module/components/gamma/split/SplitScreen.js.map +1 -0
- package/lib/module/components/gamma/split/SplitScreen.types.js +2 -0
- package/lib/module/components/gamma/split/SplitScreen.types.js.map +1 -0
- package/lib/module/components/gamma/split/SplitScreen.web.js +17 -0
- package/lib/module/components/gamma/split/SplitScreen.web.js.map +1 -0
- package/lib/module/components/gamma/split/index.js +15 -0
- package/lib/module/components/gamma/split/index.js.map +1 -0
- package/lib/module/components/gamma/stack/StackHost.js +2 -2
- package/lib/module/components/gamma/stack/StackHost.js.map +1 -1
- package/lib/module/components/gamma/stack/StackHost.web.js +5 -2
- package/lib/module/components/gamma/stack/StackHost.web.js.map +1 -1
- package/lib/module/components/gamma/stack/StackScreen.js +1 -1
- package/lib/module/components/gamma/stack/StackScreen.js.map +1 -1
- package/lib/module/experimental/index.js +1 -2
- package/lib/module/experimental/index.js.map +1 -1
- package/lib/module/experimental/types.js +2 -2
- package/lib/module/experimental/types.js.map +1 -1
- package/lib/module/fabric/gamma/stack/StackHostNativeComponent.js +5 -0
- package/lib/module/fabric/gamma/stack/StackHostNativeComponent.js.map +1 -0
- package/lib/module/fabric/gamma/stack/StackScreenNativeComponent.js.map +1 -0
- package/lib/typescript/components/bottom-tabs/BottomTabsScreen.types.d.ts +1 -1
- package/lib/typescript/components/gamma/split/SplitHost.android.d.ts +3 -0
- package/lib/typescript/components/gamma/split/SplitHost.android.d.ts.map +1 -0
- package/lib/typescript/components/gamma/split/SplitHost.d.ts +8 -0
- package/lib/typescript/components/gamma/split/SplitHost.d.ts.map +1 -0
- package/lib/typescript/components/gamma/{split-view/SplitViewHost.types.d.ts → split/SplitHost.types.d.ts} +35 -35
- package/lib/typescript/components/gamma/split/SplitHost.types.d.ts.map +1 -0
- package/lib/typescript/components/gamma/split/SplitHost.web.d.ts +3 -0
- package/lib/typescript/components/gamma/split/SplitHost.web.d.ts.map +1 -0
- package/lib/typescript/components/gamma/{split-view/SplitViewScreen.web.d.ts → split/SplitScreen.android.d.ts} +1 -1
- package/lib/typescript/components/gamma/split/SplitScreen.android.d.ts.map +1 -0
- package/lib/typescript/components/gamma/split/SplitScreen.d.ts +19 -0
- package/lib/typescript/components/gamma/split/SplitScreen.d.ts.map +1 -0
- package/lib/typescript/components/gamma/{split-view/SplitViewScreen.types.d.ts → split/SplitScreen.types.d.ts} +7 -7
- package/lib/typescript/components/gamma/split/SplitScreen.types.d.ts.map +1 -0
- package/lib/typescript/components/gamma/split/SplitScreen.web.d.ts +9 -0
- package/lib/typescript/components/gamma/split/SplitScreen.web.d.ts.map +1 -0
- package/lib/typescript/components/gamma/split/index.d.ts +13 -0
- package/lib/typescript/components/gamma/split/index.d.ts.map +1 -0
- package/lib/typescript/components/gamma/stack/StackHost.d.ts +2 -2
- package/lib/typescript/components/gamma/stack/StackHost.d.ts.map +1 -1
- package/lib/typescript/components/gamma/stack/StackHost.types.d.ts +1 -1
- package/lib/typescript/components/gamma/stack/StackHost.types.d.ts.map +1 -1
- package/lib/typescript/components/gamma/stack/StackHost.web.d.ts +2 -2
- package/lib/typescript/components/gamma/stack/StackHost.web.d.ts.map +1 -1
- package/lib/typescript/experimental/index.d.ts +1 -2
- package/lib/typescript/experimental/index.d.ts.map +1 -1
- package/lib/typescript/experimental/types.d.ts +2 -2
- package/lib/typescript/experimental/types.d.ts.map +1 -1
- package/lib/typescript/fabric/gamma/{ScreenStackHostNativeComponent.d.ts → stack/StackHostNativeComponent.d.ts} +1 -1
- package/lib/typescript/fabric/gamma/stack/StackHostNativeComponent.d.ts.map +1 -0
- package/lib/typescript/fabric/gamma/stack/StackScreenNativeComponent.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/components/bottom-tabs/BottomTabsScreen.types.ts +1 -1
- package/src/components/gamma/split/SplitHost.android.tsx +8 -0
- package/src/components/gamma/{split-view/SplitViewHost.tsx → split/SplitHost.tsx} +16 -16
- package/src/components/gamma/{split-view/SplitViewHost.types.ts → split/SplitHost.types.ts} +34 -41
- package/src/components/gamma/split/SplitHost.web.tsx +8 -0
- package/src/components/gamma/{split-view/SplitViewScreen.android.tsx → split/SplitScreen.android.tsx} +1 -1
- package/src/components/gamma/{split-view/SplitViewScreen.tsx → split/SplitScreen.tsx} +5 -5
- package/src/components/gamma/{split-view/SplitViewScreen.types.ts → split/SplitScreen.types.ts} +6 -6
- package/src/components/gamma/split/SplitScreen.web.tsx +20 -0
- package/src/components/gamma/split/index.ts +16 -0
- package/src/components/gamma/stack/StackHost.tsx +5 -5
- package/src/components/gamma/stack/StackHost.types.ts +1 -1
- package/src/components/gamma/stack/StackHost.web.tsx +3 -2
- package/src/components/gamma/stack/StackScreen.tsx +1 -1
- package/src/experimental/index.ts +1 -2
- package/src/experimental/types.ts +2 -2
- package/src/fabric/gamma/{ScreenStackHostNativeComponent.ts → stack/StackHostNativeComponent.ts} +1 -1
- package/ios/gamma/stack/RNSScreenStackHostComponentViewManager.mm +0 -7
- package/lib/commonjs/components/gamma/split-view/SplitViewHost.android.js +0 -12
- package/lib/commonjs/components/gamma/split-view/SplitViewHost.android.js.map +0 -1
- package/lib/commonjs/components/gamma/split-view/SplitViewHost.js.map +0 -1
- package/lib/commonjs/components/gamma/split-view/SplitViewHost.types.js.map +0 -1
- package/lib/commonjs/components/gamma/split-view/SplitViewHost.web.js +0 -12
- package/lib/commonjs/components/gamma/split-view/SplitViewHost.web.js.map +0 -1
- package/lib/commonjs/components/gamma/split-view/SplitViewScreen.android.js +0 -17
- package/lib/commonjs/components/gamma/split-view/SplitViewScreen.android.js.map +0 -1
- package/lib/commonjs/components/gamma/split-view/SplitViewScreen.js.map +0 -1
- package/lib/commonjs/components/gamma/split-view/SplitViewScreen.types.js.map +0 -1
- package/lib/commonjs/components/gamma/split-view/SplitViewScreen.web.js.map +0 -1
- package/lib/commonjs/fabric/gamma/ScreenStackHostNativeComponent.js.map +0 -1
- package/lib/commonjs/fabric/gamma/StackScreenNativeComponent.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewHost.android.js +0 -6
- package/lib/module/components/gamma/split-view/SplitViewHost.android.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewHost.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewHost.types.js +0 -2
- package/lib/module/components/gamma/split-view/SplitViewHost.types.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewHost.web.js +0 -6
- package/lib/module/components/gamma/split-view/SplitViewHost.web.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewScreen.android.js +0 -11
- package/lib/module/components/gamma/split-view/SplitViewScreen.android.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewScreen.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewScreen.types.js +0 -2
- package/lib/module/components/gamma/split-view/SplitViewScreen.types.js.map +0 -1
- package/lib/module/components/gamma/split-view/SplitViewScreen.web.js +0 -11
- package/lib/module/components/gamma/split-view/SplitViewScreen.web.js.map +0 -1
- package/lib/module/fabric/gamma/ScreenStackHostNativeComponent.js +0 -5
- package/lib/module/fabric/gamma/ScreenStackHostNativeComponent.js.map +0 -1
- package/lib/module/fabric/gamma/StackScreenNativeComponent.js.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewHost.android.d.ts +0 -3
- package/lib/typescript/components/gamma/split-view/SplitViewHost.android.d.ts.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewHost.d.ts +0 -8
- package/lib/typescript/components/gamma/split-view/SplitViewHost.d.ts.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewHost.types.d.ts.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewHost.web.d.ts +0 -3
- package/lib/typescript/components/gamma/split-view/SplitViewHost.web.d.ts.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewScreen.android.d.ts +0 -6
- package/lib/typescript/components/gamma/split-view/SplitViewScreen.android.d.ts.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewScreen.d.ts +0 -19
- package/lib/typescript/components/gamma/split-view/SplitViewScreen.d.ts.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewScreen.types.d.ts.map +0 -1
- package/lib/typescript/components/gamma/split-view/SplitViewScreen.web.d.ts.map +0 -1
- package/lib/typescript/fabric/gamma/ScreenStackHostNativeComponent.d.ts.map +0 -1
- package/lib/typescript/fabric/gamma/StackScreenNativeComponent.d.ts.map +0 -1
- package/src/components/gamma/split-view/SplitViewHost.android.tsx +0 -8
- package/src/components/gamma/split-view/SplitViewHost.web.tsx +0 -8
- package/src/components/gamma/split-view/SplitViewScreen.web.tsx +0 -11
- /package/ios/gamma/stack/{RNSStackScreenComponentEventEmitter.h → screen/RNSStackScreenComponentEventEmitter.h} +0 -0
- /package/ios/gamma/stack/{RNSStackScreenComponentEventEmitter.mm → screen/RNSStackScreenComponentEventEmitter.mm} +0 -0
- /package/ios/gamma/stack/{RNSStackScreenComponentViewManager.h → screen/RNSStackScreenComponentViewManager.h} +0 -0
- /package/ios/gamma/stack/{RNSStackScreenComponentViewManager.mm → screen/RNSStackScreenComponentViewManager.mm} +0 -0
- /package/lib/commonjs/fabric/gamma/{StackScreenNativeComponent.js → stack/StackScreenNativeComponent.js} +0 -0
- /package/lib/module/fabric/gamma/{StackScreenNativeComponent.js → stack/StackScreenNativeComponent.js} +0 -0
- /package/lib/typescript/fabric/gamma/{StackScreenNativeComponent.d.ts → stack/StackScreenNativeComponent.d.ts} +0 -0
- /package/src/fabric/gamma/{StackScreenNativeComponent.ts → stack/StackScreenNativeComponent.ts} +0 -0
|
@@ -8,22 +8,15 @@ export type DisplayModeWillChangeEvent = {
|
|
|
8
8
|
nextDisplayMode: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
export type
|
|
12
|
-
| 'always'
|
|
13
|
-
| 'automatic'
|
|
14
|
-
| 'never';
|
|
11
|
+
export type SplitDisplayModeButtonVisibility = 'always' | 'automatic' | 'never';
|
|
15
12
|
|
|
16
|
-
export type
|
|
17
|
-
| 'automatic'
|
|
18
|
-
| 'displace'
|
|
19
|
-
| 'overlay'
|
|
20
|
-
| 'tile';
|
|
13
|
+
export type SplitBehavior = 'automatic' | 'displace' | 'overlay' | 'tile';
|
|
21
14
|
|
|
22
|
-
export type
|
|
15
|
+
export type SplitPrimaryEdge = 'leading' | 'trailing';
|
|
23
16
|
|
|
24
|
-
export type
|
|
17
|
+
export type SplitPrimaryBackgroundStyle = 'default' | 'none' | 'sidebar';
|
|
25
18
|
|
|
26
|
-
export type
|
|
19
|
+
export type SplitDisplayMode =
|
|
27
20
|
| 'automatic'
|
|
28
21
|
| 'secondaryOnly'
|
|
29
22
|
| 'oneBesideSecondary'
|
|
@@ -32,7 +25,7 @@ export type SplitViewDisplayMode =
|
|
|
32
25
|
| 'twoOverSecondary'
|
|
33
26
|
| 'twoDisplaceSecondary';
|
|
34
27
|
|
|
35
|
-
export type
|
|
28
|
+
export type SplitHostOrientation =
|
|
36
29
|
| 'inherit'
|
|
37
30
|
| 'all'
|
|
38
31
|
| 'allButUpsideDown'
|
|
@@ -43,47 +36,47 @@ export type SplitViewHostOrientation =
|
|
|
43
36
|
| 'landscapeLeft'
|
|
44
37
|
| 'landscapeRight';
|
|
45
38
|
|
|
46
|
-
export interface
|
|
39
|
+
export interface SplitColumnMetrics {
|
|
47
40
|
/**
|
|
48
41
|
* @summary Minimum width for the primary sidebar.
|
|
49
42
|
*
|
|
50
|
-
* Specifies the minimum width for the primary column in the
|
|
43
|
+
* Specifies the minimum width for the primary column in the Split layout, typically representing the leftmost sidebar.
|
|
51
44
|
*/
|
|
52
45
|
minimumPrimaryColumnWidth?: number;
|
|
53
46
|
/**
|
|
54
47
|
* @summary Maximum width for the primary sidebar.
|
|
55
48
|
*
|
|
56
|
-
* Specifies the maximum width (in points) for the primary column in the
|
|
49
|
+
* Specifies the maximum width (in points) for the primary column in the Split layout, typically representing the leftmost sidebar.
|
|
57
50
|
*/
|
|
58
51
|
maximumPrimaryColumnWidth?: number;
|
|
59
52
|
/**
|
|
60
53
|
* @summary Preferred width for the primary sidebar.
|
|
61
54
|
*
|
|
62
|
-
* Specifies the preferred width (in points or as a fraction for percentage width support) for the primary column in the
|
|
55
|
+
* Specifies the preferred width (in points or as a fraction for percentage width support) for the primary column in the Split layout, typically representing the leftmost sidebar.
|
|
63
56
|
*/
|
|
64
57
|
preferredPrimaryColumnWidthOrFraction?: number;
|
|
65
58
|
/**
|
|
66
59
|
* @summary Minimum width for the intermediate sidebar.
|
|
67
60
|
*
|
|
68
|
-
* Specifies the minimum width (in points) for the supplementary column in the
|
|
61
|
+
* Specifies the minimum width (in points) for the supplementary column in the Split layout, typically representing the intermediate sidebar.
|
|
69
62
|
*/
|
|
70
63
|
minimumSupplementaryColumnWidth?: number;
|
|
71
64
|
/**
|
|
72
65
|
* @summary Maximum width for the intermediate sidebar.
|
|
73
66
|
*
|
|
74
|
-
* Specifies the maximum width (in points) for the supplementary column in the
|
|
67
|
+
* Specifies the maximum width (in points) for the supplementary column in the Split layout, typically representing the intermediate sidebar.
|
|
75
68
|
*/
|
|
76
69
|
maximumSupplementaryColumnWidth?: number;
|
|
77
70
|
/**
|
|
78
71
|
* @summary Preferred width for the intermediate sidebar.
|
|
79
72
|
*
|
|
80
|
-
* Specifies the preferred width (in points or as a fraction for percentage width support) for the supplementary column in the
|
|
73
|
+
* Specifies the preferred width (in points or as a fraction for percentage width support) for the supplementary column in the Split layout, typically representing the intermediate sidebar.
|
|
81
74
|
*/
|
|
82
75
|
preferredSupplementaryColumnWidthOrFraction?: number;
|
|
83
76
|
/**
|
|
84
77
|
* @summary Minimum width for the secondary component.
|
|
85
78
|
*
|
|
86
|
-
* Specifies the minimum width (in points) for the secondary column in the
|
|
79
|
+
* Specifies the minimum width (in points) for the secondary column in the Split layout, typically for the view with the main content.
|
|
87
80
|
*
|
|
88
81
|
* @supported iOS 26 or higher
|
|
89
82
|
*/
|
|
@@ -91,7 +84,7 @@ export interface SplitViewColumnMetrics {
|
|
|
91
84
|
/**
|
|
92
85
|
* @summary Preferred width for the secondary component.
|
|
93
86
|
*
|
|
94
|
-
* Specifies the preferred width (in points or as a fraction for percentage width support) for the secondary column in the
|
|
87
|
+
* Specifies the preferred width (in points or as a fraction for percentage width support) for the secondary column in the Split layout, typically for the view with the main content.
|
|
95
88
|
*
|
|
96
89
|
* @supported iOS 26 or higher
|
|
97
90
|
*/
|
|
@@ -99,7 +92,7 @@ export interface SplitViewColumnMetrics {
|
|
|
99
92
|
/**
|
|
100
93
|
* @summary Minimum width for the inspector component.
|
|
101
94
|
*
|
|
102
|
-
* Specifies the minimum width (in points) for the inspector column in the
|
|
95
|
+
* Specifies the minimum width (in points) for the inspector column in the Split layout, typically the view which is providing additional data about the secondary column.
|
|
103
96
|
*
|
|
104
97
|
* @supported iOS 26 or higher
|
|
105
98
|
*/
|
|
@@ -107,7 +100,7 @@ export interface SplitViewColumnMetrics {
|
|
|
107
100
|
/**
|
|
108
101
|
* @summary Maximum width for the inspector component.
|
|
109
102
|
*
|
|
110
|
-
* Specifies the maximum width (in points) for the inspector column in the
|
|
103
|
+
* Specifies the maximum width (in points) for the inspector column in the Split layout, typically the view which is providing additional data about the secondary column.
|
|
111
104
|
*
|
|
112
105
|
* @supported iOS 26 or higher
|
|
113
106
|
*/
|
|
@@ -115,13 +108,13 @@ export interface SplitViewColumnMetrics {
|
|
|
115
108
|
/**
|
|
116
109
|
* @summary Preferred width for the inspector component.
|
|
117
110
|
*
|
|
118
|
-
* Specifies the preferred width (in points or as a fraction for percentage width support) for the inspector column in the
|
|
111
|
+
* Specifies the preferred width (in points or as a fraction for percentage width support) for the inspector column in the Split layout, typically the view which is providing additional data about the secondary column.
|
|
119
112
|
*
|
|
120
113
|
* @supported iOS 26 or higher
|
|
121
114
|
*/
|
|
122
115
|
preferredInspectorColumnWidthOrFraction?: number;
|
|
123
116
|
}
|
|
124
|
-
export interface
|
|
117
|
+
export interface SplitHostProps extends ViewProps {
|
|
125
118
|
children?: React.ReactNode;
|
|
126
119
|
|
|
127
120
|
/**
|
|
@@ -137,9 +130,9 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
137
130
|
* - `secondary` - the view with the main content
|
|
138
131
|
* - `inspector` - the view which is providing additional data about the secondary column
|
|
139
132
|
*/
|
|
140
|
-
columnMetrics?:
|
|
133
|
+
columnMetrics?: SplitColumnMetrics;
|
|
141
134
|
/**
|
|
142
|
-
* @summary Determines whether the button for changing the
|
|
135
|
+
* @summary Determines whether the button for changing the Split display mode is visible on the screen.
|
|
143
136
|
*
|
|
144
137
|
* The following values are currently supported:
|
|
145
138
|
*
|
|
@@ -152,13 +145,13 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
152
145
|
*
|
|
153
146
|
* @default automatic
|
|
154
147
|
*/
|
|
155
|
-
displayModeButtonVisibility?:
|
|
148
|
+
displayModeButtonVisibility?: SplitDisplayModeButtonVisibility;
|
|
156
149
|
/**
|
|
157
|
-
* @summary A callback that gets invoked when the
|
|
150
|
+
* @summary A callback that gets invoked when the Split was collapsed to a single column.
|
|
158
151
|
*/
|
|
159
152
|
onCollapse?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
|
|
160
153
|
/**
|
|
161
|
-
* @summary A callback that gets invoked when the
|
|
154
|
+
* @summary A callback that gets invoked when the Split displayMode has changed.
|
|
162
155
|
*
|
|
163
156
|
* The purpose of this callback is tracking displayMode updates on host from the JS side.
|
|
164
157
|
* These updates might be a consequence of some native interactions, like pressing native button or performing swipe gesture.
|
|
@@ -167,13 +160,13 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
167
160
|
e: NativeSyntheticEvent<DisplayModeWillChangeEvent>,
|
|
168
161
|
) => void;
|
|
169
162
|
/**
|
|
170
|
-
* @summary A callback that gets invoked when the
|
|
163
|
+
* @summary A callback that gets invoked when the Split was expanded to multiple columns.
|
|
171
164
|
*/
|
|
172
165
|
onExpand?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
|
|
173
166
|
/**
|
|
174
|
-
* @summary A callback that gets invoked when the
|
|
167
|
+
* @summary A callback that gets invoked when the Split inspector is either programmatically hidden (in column presentation) or dismissed (in modal presentation).
|
|
175
168
|
*
|
|
176
|
-
* The purpose of this callback depends on whether the
|
|
169
|
+
* The purpose of this callback depends on whether the Split is collapsed or expanded.
|
|
177
170
|
*
|
|
178
171
|
* @supported iOS 26 or higher
|
|
179
172
|
*/
|
|
@@ -220,7 +213,7 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
220
213
|
*
|
|
221
214
|
* @platform ios
|
|
222
215
|
*/
|
|
223
|
-
orientation?:
|
|
216
|
+
orientation?: SplitHostOrientation;
|
|
224
217
|
/**
|
|
225
218
|
* @summary Determines whether gestures are enabled to change the display mode.
|
|
226
219
|
*/
|
|
@@ -245,7 +238,7 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
245
238
|
*
|
|
246
239
|
* @default automatic
|
|
247
240
|
*/
|
|
248
|
-
preferredDisplayMode?:
|
|
241
|
+
preferredDisplayMode?: SplitDisplayMode;
|
|
249
242
|
/**
|
|
250
243
|
* @summary Specifies the split behavior which will be preferred to use, if the layout requirements are met.
|
|
251
244
|
*
|
|
@@ -263,7 +256,7 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
263
256
|
*
|
|
264
257
|
* @default automatic
|
|
265
258
|
*/
|
|
266
|
-
preferredSplitBehavior?:
|
|
259
|
+
preferredSplitBehavior?: SplitBehavior;
|
|
267
260
|
/**
|
|
268
261
|
* @summary Specifies the background style of the primary view controller.
|
|
269
262
|
*
|
|
@@ -285,7 +278,7 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
285
278
|
* @remarks
|
|
286
279
|
* According to the documentation, this property shouldn't have any effect on iOS. However, on iOS 26 the support for this prop was added.
|
|
287
280
|
*/
|
|
288
|
-
primaryBackgroundStyle?:
|
|
281
|
+
primaryBackgroundStyle?: SplitPrimaryBackgroundStyle;
|
|
289
282
|
/**
|
|
290
283
|
* @summary Indicates on which side primary sidebar is placed, affecting the split view layout.
|
|
291
284
|
*
|
|
@@ -299,12 +292,12 @@ export interface SplitViewHostProps extends ViewProps {
|
|
|
299
292
|
*
|
|
300
293
|
* @default leading
|
|
301
294
|
*/
|
|
302
|
-
primaryEdge?:
|
|
295
|
+
primaryEdge?: SplitPrimaryEdge;
|
|
303
296
|
/**
|
|
304
297
|
* @summary Determines whether inspector column should be displayed.
|
|
305
298
|
*
|
|
306
|
-
* Inspector will be displayed on the trailing edge of the main (secondary) column (for expanded
|
|
307
|
-
* The result on the interface for this prop depends on whether the
|
|
299
|
+
* Inspector will be displayed on the trailing edge of the main (secondary) column (for expanded Split) or as a modal (for collapsed Split).
|
|
300
|
+
* The result on the interface for this prop depends on whether the Split is collapsed or expanded.
|
|
308
301
|
*
|
|
309
302
|
* @supported iOS 26 or higher
|
|
310
303
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const NOOP = () => {
|
|
2
2
|
console.warn(
|
|
3
|
-
'[RNScreens]
|
|
3
|
+
'[RNScreens] Split component is supported only for iOS. Consider using an alternative layout for Android.',
|
|
4
4
|
);
|
|
5
5
|
return null;
|
|
6
6
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
3
|
import SplitViewScreenNativeComponent from '../../../fabric/gamma/SplitViewScreenNativeComponent';
|
|
4
|
-
import {
|
|
4
|
+
import { SplitScreenProps } from './SplitScreen.types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
|
|
8
8
|
*/
|
|
9
|
-
function Column(props:
|
|
9
|
+
function Column(props: SplitScreenProps) {
|
|
10
10
|
return (
|
|
11
11
|
<SplitViewScreenNativeComponent
|
|
12
12
|
columnType="column"
|
|
@@ -20,7 +20,7 @@ function Column(props: SplitViewScreenProps) {
|
|
|
20
20
|
/**
|
|
21
21
|
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
|
|
22
22
|
*/
|
|
23
|
-
function Inspector(props:
|
|
23
|
+
function Inspector(props: SplitScreenProps) {
|
|
24
24
|
return (
|
|
25
25
|
<SplitViewScreenNativeComponent
|
|
26
26
|
columnType="inspector"
|
|
@@ -35,9 +35,9 @@ function Inspector(props: SplitViewScreenProps) {
|
|
|
35
35
|
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
|
|
36
36
|
*/
|
|
37
37
|
// TODO: refactor to drop `Screen` suffix as the API name is really long at the moment
|
|
38
|
-
const
|
|
38
|
+
const SplitScreen = {
|
|
39
39
|
Column,
|
|
40
40
|
Inspector,
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
export default
|
|
43
|
+
export default SplitScreen;
|
package/src/components/gamma/{split-view/SplitViewScreen.types.ts → split/SplitScreen.types.ts}
RENAMED
|
@@ -3,30 +3,30 @@ import type { NativeSyntheticEvent, ViewProps } from 'react-native';
|
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
4
4
|
type GenericEmptyEvent = Readonly<{}>;
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type SplitScreenColumnType = 'column' | 'inspector';
|
|
7
7
|
|
|
8
|
-
export interface
|
|
8
|
+
export interface SplitScreenProps extends ViewProps {
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
/**
|
|
11
|
-
* @summary A callback that gets invoked when the current
|
|
11
|
+
* @summary A callback that gets invoked when the current SplitScreen did appear.
|
|
12
12
|
*
|
|
13
13
|
* This is called as soon as the transition ends.
|
|
14
14
|
*/
|
|
15
15
|
onDidAppear?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
|
|
16
16
|
/**
|
|
17
|
-
* @summary A callback that gets invoked when the current
|
|
17
|
+
* @summary A callback that gets invoked when the current SplitScreen did disappear.
|
|
18
18
|
*
|
|
19
19
|
* This is called as soon as the transition ends.
|
|
20
20
|
*/
|
|
21
21
|
onDidDisappear?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
|
|
22
22
|
/**
|
|
23
|
-
* @summary A callback that gets invoked when the current
|
|
23
|
+
* @summary A callback that gets invoked when the current SplitScreen will appear.
|
|
24
24
|
*
|
|
25
25
|
* This is called as soon as the transition begins.
|
|
26
26
|
*/
|
|
27
27
|
onWillAppear?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
|
|
28
28
|
/**
|
|
29
|
-
* @summary A callback that gets invoked when the current
|
|
29
|
+
* @summary A callback that gets invoked when the current SplitScreen will disappear.
|
|
30
30
|
*
|
|
31
31
|
* This is called as soon as the transition begins.
|
|
32
32
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const NOOP = () => {
|
|
2
|
+
console.warn(
|
|
3
|
+
'[RNScreens] Split component is supported only for iOS. Consider using an alternative layout for Web.',
|
|
4
|
+
);
|
|
5
|
+
return null;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const Column = NOOP;
|
|
9
|
+
const Inspector = NOOP;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
|
|
13
|
+
*/
|
|
14
|
+
// TODO: refactor to drop `Screen` suffix as the API name is really long at the moment
|
|
15
|
+
const SplitScreen = {
|
|
16
|
+
Column,
|
|
17
|
+
Inspector,
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default SplitScreen;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import SplitHost from './SplitHost';
|
|
2
|
+
import SplitScreen from './SplitScreen';
|
|
3
|
+
|
|
4
|
+
export * from './SplitHost.types';
|
|
5
|
+
export * from './SplitScreen.types';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
|
|
9
|
+
*/
|
|
10
|
+
const Split = {
|
|
11
|
+
Host: SplitHost,
|
|
12
|
+
Column: SplitScreen.Column,
|
|
13
|
+
Inspector: SplitScreen.Inspector,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default Split;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
|
-
import
|
|
4
|
-
import type {
|
|
3
|
+
import StackHostNativeComponent from '../../../fabric/gamma/stack/StackHostNativeComponent';
|
|
4
|
+
import type { StackHostProps } from './StackHost.types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
|
|
8
8
|
*/
|
|
9
|
-
function StackHost({ children }:
|
|
9
|
+
function StackHost({ children }: StackHostProps) {
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
11
|
+
<StackHostNativeComponent style={styles.container}>
|
|
12
12
|
{children}
|
|
13
|
-
</
|
|
13
|
+
</StackHostNativeComponent>
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { View, ViewProps } from 'react-native';
|
|
2
2
|
|
|
3
|
+
// TODO: Determine what this type is & whether it should not be removed
|
|
3
4
|
export type ScreenStackNativeProps = ViewProps;
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
+
const StackHost = View;
|
|
6
7
|
|
|
7
|
-
export default
|
|
8
|
+
export default StackHost;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
|
-
import StackScreenNativeComponent from '../../../fabric/gamma/StackScreenNativeComponent';
|
|
3
|
+
import StackScreenNativeComponent from '../../../fabric/gamma/stack/StackScreenNativeComponent';
|
|
4
4
|
import type { NativeSyntheticEvent } from 'react-native';
|
|
5
5
|
import { StackScreenProps } from './StackScreen.types';
|
|
6
6
|
|
|
@@ -13,6 +13,5 @@ export {
|
|
|
13
13
|
StackScreenLifecycleState,
|
|
14
14
|
} from '../components/gamma/stack';
|
|
15
15
|
|
|
16
|
-
export { default as
|
|
17
|
-
export { default as SplitViewScreen } from '../components/gamma/split-view/SplitViewScreen';
|
|
16
|
+
export { default as Split } from '../components/gamma/split';
|
|
18
17
|
export { default as SafeAreaView } from '../components/safe-area/SafeAreaView';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* BE SUBJECT TO BREAKING CHANGES WITHOUT NOTICE OR LIBRARY MAJOR VERSION CHANGE.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export * from '../components/gamma/split-view/SplitViewHost.types';
|
|
7
|
-
export * from '../components/gamma/split-view/SplitViewScreen.types';
|
|
8
6
|
export * from '../components/gamma/stack/StackHost.types';
|
|
7
|
+
export * from '../components/gamma/split/SplitHost.types';
|
|
8
|
+
export * from '../components/gamma/split/SplitScreen.types';
|
|
9
9
|
export * from '../components/gamma/stack/StackScreen.types';
|
|
10
10
|
export * from '../components/safe-area/SafeAreaView.types';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
const SplitViewHost = () => {
|
|
8
|
-
console.warn('[RNScreens] SplitView is supported only for iOS. Consider using an alternative layout for Android.');
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
var _default = exports.default = SplitViewHost;
|
|
12
|
-
//# sourceMappingURL=SplitViewHost.android.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SplitViewHost","console","warn","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.android.tsx"],"mappings":";;;;;;AAAA,MAAMA,aAAa,GAAGA,CAAA,KAAM;EAC1BC,OAAO,CAACC,IAAI,CACV,oGACF,CAAC;EACD,OAAO,IAAI;AACb,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaL,aAAa","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_SplitViewHostNativeComponent","_SplitViewScreen","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","displayModeForSplitViewCompatibilityMap","tile","overlay","displace","automatic","isValidDisplayModeForSplitBehavior","displayMode","splitBehavior","includes","SplitViewHost","props","preferredDisplayMode","preferredSplitBehavior","React","useEffect","isValid","validDisplayModes","console","warn","join","children","Children","toArray","columns","filter","child","type","SplitViewScreen","Column","inspectors","Inspector","createElement","key","style","styles","container","StyleSheet","create","flex","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,6BAAA,GAAAH,sBAAA,CAAAC,OAAA;AAMA,IAAAG,gBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAgD,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAEhD;AACA;AACA;AACA;AACA,MAAMO,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BAAe,CAACC,MAC1C,CAAC;EAED,MAAMC,UAAU,GAAGT,QAAQ,CAACI,MAAM;EAChC;EACAC,KAAK,IAAIA,KAAK,CAACC,IAAI,KAAKC,wBAAe,CAACG,SAC1C,CAAC;EAED,oBACEnD,MAAA,CAAAQ,OAAA,CAAA4C,aAAA,CAAChD,6BAAA,CAAAI;EACC;EACA;EACA;EAAA,EAAAC,QAAA;IACA4C,GAAG,EAAE,WAAWT,OAAO,CAAC7B,MAAM,eAAemC,UAAU,CAACnC,MAAM;EAAG,GAC7DgB,KAAK;IACTuB,KAAK,EAAEC,MAAM,CAACC;EAAU,IACvBzB,KAAK,CAACU,QACqB,CAAC;AAEnC;AAEA,MAAMc,MAAM,GAAGE,uBAAU,CAACC,MAAM,CAAC;EAC/BF,SAAS,EAAE;IACTG,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAArD,OAAA,GAEYsB,aAAa","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
const SplitViewHost = () => {
|
|
8
|
-
console.warn('[RNScreens] SplitView is supported only for iOS. Consider using an alternative layout for Web.');
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
var _default = exports.default = SplitViewHost;
|
|
12
|
-
//# sourceMappingURL=SplitViewHost.web.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SplitViewHost","console","warn","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.web.tsx"],"mappings":";;;;;;AAAA,MAAMA,aAAa,GAAGA,CAAA,KAAM;EAC1BC,OAAO,CAACC,IAAI,CACV,gGACF,CAAC;EACD,OAAO,IAAI;AACb,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEaL,aAAa","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
const NOOP = () => {
|
|
8
|
-
console.warn('[RNScreens] SplitView is supported only for iOS. Consider using an alternative layout for Android.');
|
|
9
|
-
return null;
|
|
10
|
-
};
|
|
11
|
-
const Column = NOOP;
|
|
12
|
-
const Inspector = NOOP;
|
|
13
|
-
var _default = exports.default = {
|
|
14
|
-
Column,
|
|
15
|
-
Inspector
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=SplitViewScreen.android.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NOOP","console","warn","Column","Inspector","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewScreen.android.tsx"],"mappings":";;;;;;AAAA,MAAMA,IAAI,GAAGA,CAAA,KAAM;EACjBC,OAAO,CAACC,IAAI,CACV,oGACF,CAAC;EACD,OAAO,IAAI;AACb,CAAC;AAED,MAAMC,MAAM,GAAGH,IAAI;AACnB,MAAMI,SAAS,GAAGJ,IAAI;AAAC,IAAAK,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAER;EAAEJ,MAAM;EAAEC;AAAU,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_SplitViewScreenNativeComponent","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","Column","props","createElement","columnType","style","StyleSheet","absoluteFill","children","Inspector","SplitViewScreen","_default","exports"],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;AACA;AACA;AACA;AACA,MAAME,eAAe,GAAG;EACtBT,MAAM;EACNQ;AACF,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAxB,OAAA,GAEasB,eAAe","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewScreen.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NOOP","console","warn","Column","Inspector","_default","exports","default"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewScreen.web.tsx"],"mappings":";;;;;;AAAA,MAAMA,IAAI,GAAGA,CAAA,KAAM;EACjBC,OAAO,CAACC,IAAI,CACV,gGACF,CAAC;EACD,OAAO,IAAI;AACb,CAAC;AAED,MAAMC,MAAM,GAAGH,IAAI;AACnB,MAAMI,SAAS,GAAGJ,IAAI;AAAC,IAAAK,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAER;EAAEJ,MAAM;EAAEC;AAAU,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Object","defineProperty","exports","value","default","_reactNative","require","_default","codegenNativeComponent"],"sourceRoot":"../../../../src","sources":["fabric/gamma/ScreenStackHostNativeComponent.ts"],"mappings":";AAAA,YAAY;;AAACA,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,KAAA;AAAA;AAAAD,OAAA,CAAAE,OAAA;AAGb,IAAAC,YAAA,GAAAC,OAAA;AAAsD,IAAAC,QAAA,GAAAL,OAAA,CAAAE,OAAA,GAIvC,IAAAI,mCAAsB,EAAc,oBAAoB,EAAE,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Object","defineProperty","exports","value","default","_reactNative","require","_default","codegenNativeComponent"],"sourceRoot":"../../../../src","sources":["fabric/gamma/StackScreenNativeComponent.ts"],"mappings":";AAAA,YAAY;;AAACA,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,KAAA;AAAA;AAAAD,OAAA,CAAAE,OAAA;AAGb,IAAAC,YAAA,GAAAC,OAAA;AAEA;AAAA,IAAAC,QAAA,GAAAL,OAAA,CAAAE,OAAA,GAee,IAAAI,mCAAsB,EAAc,gBAAgB,EAAE,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SplitViewHost","console","warn"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.android.tsx"],"mappings":"AAAA,MAAMA,aAAa,GAAGA,CAAA,KAAM;EAC1BC,OAAO,CAACC,IAAI,CACV,oGACF,CAAC;EACD,OAAO,IAAI;AACb,CAAC;AAED,eAAeF,aAAa","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","SplitViewHostNativeComponent","SplitViewScreen","displayModeForSplitViewCompatibilityMap","tile","overlay","displace","automatic","isValidDisplayModeForSplitBehavior","displayMode","splitBehavior","includes","SplitViewHost","props","preferredDisplayMode","preferredSplitBehavior","useEffect","isValid","validDisplayModes","console","warn","join","children","Children","toArray","columns","filter","child","type","Column","inspectors","Inspector","createElement","_extends","key","length","style","styles","container","create","flex"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,4BAA4B,MAAM,oDAAoD;AAM7F,OAAOC,eAAe,MAAM,mBAAmB;;AAE/C;AACA;AACA;AACA;AACA,MAAMC,uCAGL,GAAG;EACFC,IAAI,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,oBAAoB,CAAC;EACnEC,OAAO,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,kBAAkB,CAAC;EAClEC,QAAQ,EAAE,CAAC,eA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AiC,aAAA,CAAC/B;EACC;EACA;EACA;EAAA,EAAAgC,QAAA;IACAC,GAAG,EAAE,WAAWT,OAAO,CAACU,MAAM,eAAeL,UAAU,CAACK,MAAM;EAAG,GAC7DtB,KAAK;IACTuB,KAAK,EAAEC,MAAM,CAACC;EAAU,IACvBzB,KAAK,CAACS,QACqB,CAAC;AAEnC;AAEA,MAAMe,MAAM,GAAGrC,UAAU,CAACuC,MAAM,CAAC;EAC/BD,SAAS,EAAE;IACTE,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAEF,eAAe5B,aAAa","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SplitViewHost","console","warn"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewHost.web.tsx"],"mappings":"AAAA,MAAMA,aAAa,GAAGA,CAAA,KAAM;EAC1BC,OAAO,CAACC,IAAI,CACV,gGACF,CAAC;EACD,OAAO,IAAI;AACb,CAAC;AAED,eAAeF,aAAa","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const NOOP = () => {
|
|
2
|
-
console.warn('[RNScreens] SplitView is supported only for iOS. Consider using an alternative layout for Android.');
|
|
3
|
-
return null;
|
|
4
|
-
};
|
|
5
|
-
const Column = NOOP;
|
|
6
|
-
const Inspector = NOOP;
|
|
7
|
-
export default {
|
|
8
|
-
Column,
|
|
9
|
-
Inspector
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=SplitViewScreen.android.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["NOOP","console","warn","Column","Inspector"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewScreen.android.tsx"],"mappings":"AAAA,MAAMA,IAAI,GAAGA,CAAA,KAAM;EACjBC,OAAO,CAACC,IAAI,CACV,oGACF,CAAC;EACD,OAAO,IAAI;AACb,CAAC;AAED,MAAMC,MAAM,GAAGH,IAAI;AACnB,MAAMI,SAAS,GAAGJ,IAAI;AAEtB,eAAe;EAAEG,MAAM;EAAEC;AAAU,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","SplitViewScreenNativeComponent","Column","props","createElement","_extends","columnType","style","absoluteFill","children","Inspector","SplitViewScreen"],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewScreen.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,8BAA8B,MAAM,sDAAsD;AAGjG;AACA;AACA;AACA,SAASC,MAAMA,CAACC,KAA2B,EAAE;EAC3C,oBACEJ,KAAA,CAAAK,aAAA,CAACH,8BAA8B,EAAAI,QAAA;IAC7BC,UAAU,EAAC;EAAQ,GACfH,KAAK;IACTI,KAAK,EAAEP,UAAU,CAACQ;EAAa,IAC9BL,KAAK,CAACM,QACuB,CAAC;AAErC;;AAEA;AACA;AACA;AACA,SAASC,SAASA,CAACP,KAA2B,EAAE;EAC9C,oBACEJ,KAAA,CAAAK,aAAA,CAACH,8BAA8B,EAAAI,QAAA;IAC7BC,UAAU,EAAC;EAAW,GAClBH,KAAK;IACTI,KAAK,EAAEP,UAAU,CAACQ;EAAa,IAC9BL,KAAK,CAACM,QACuB,CAAC;AAErC;;AAEA;AACA;AACA;AACA;AACA,MAAME,eAAe,GAAG;EACtBT,MAAM;EACNQ;AACF,CAAC;AAED,eAAeC,eAAe","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/gamma/split-view/SplitViewScreen.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const NOOP = () => {
|
|
2
|
-
console.warn('[RNScreens] SplitView is supported only for iOS. Consider using an alternative layout for Web.');
|
|
3
|
-
return null;
|
|
4
|
-
};
|
|
5
|
-
const Column = NOOP;
|
|
6
|
-
const Inspector = NOOP;
|
|
7
|
-
export default {
|
|
8
|
-
Column,
|
|
9
|
-
Inspector
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=SplitViewScreen.web.js.map
|