react-native-screens 4.20.0-nightly-20251215-f65b107bd → 4.20.0-nightly-20251217-952b7cd54

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.
Files changed (160) hide show
  1. package/lib/commonjs/components/gamma/split/SplitHost.android.js +12 -0
  2. package/lib/commonjs/components/gamma/split/SplitHost.android.js.map +1 -0
  3. package/lib/commonjs/components/gamma/{split-view/SplitViewHost.js → split/SplitHost.js} +9 -9
  4. package/lib/commonjs/components/gamma/split/SplitHost.js.map +1 -0
  5. package/lib/commonjs/components/gamma/{split-view/SplitViewHost.types.js → split/SplitHost.types.js} +1 -1
  6. package/lib/commonjs/components/gamma/split/SplitHost.types.js.map +1 -0
  7. package/lib/commonjs/components/gamma/split/SplitHost.web.js +12 -0
  8. package/lib/commonjs/components/gamma/split/SplitHost.web.js.map +1 -0
  9. package/lib/commonjs/components/gamma/{split-view/SplitViewScreen.android.js → split/SplitScreen.android.js} +2 -2
  10. package/lib/commonjs/components/gamma/split/SplitScreen.android.js.map +1 -0
  11. package/lib/commonjs/components/gamma/{split-view/SplitViewScreen.js → split/SplitScreen.js} +3 -3
  12. package/lib/commonjs/components/gamma/split/SplitScreen.js.map +1 -0
  13. package/lib/commonjs/components/gamma/{split-view/SplitViewScreen.types.js → split/SplitScreen.types.js} +1 -1
  14. package/lib/commonjs/components/gamma/split/SplitScreen.types.js.map +1 -0
  15. package/lib/commonjs/components/gamma/split/SplitScreen.web.js +23 -0
  16. package/lib/commonjs/components/gamma/split/SplitScreen.web.js.map +1 -0
  17. package/lib/commonjs/components/gamma/split/index.js +44 -0
  18. package/lib/commonjs/components/gamma/split/index.js.map +1 -0
  19. package/lib/commonjs/components/gamma/stack/{ScreenStackHost.js → StackHost.js} +3 -3
  20. package/lib/commonjs/components/gamma/stack/StackHost.js.map +1 -0
  21. package/lib/commonjs/components/gamma/stack/{ScreenStackHost.types.js → StackHost.types.js} +1 -1
  22. package/lib/commonjs/components/gamma/stack/StackHost.types.js.map +1 -0
  23. package/lib/commonjs/components/gamma/stack/{ScreenStackHost.web.js → StackHost.web.js} +1 -1
  24. package/lib/commonjs/components/gamma/stack/StackHost.web.js.map +1 -0
  25. package/lib/commonjs/components/gamma/stack/index.js +53 -0
  26. package/lib/commonjs/components/gamma/stack/index.js.map +1 -0
  27. package/lib/commonjs/experimental/index.js +10 -26
  28. package/lib/commonjs/experimental/index.js.map +1 -1
  29. package/lib/commonjs/experimental/types.js +12 -12
  30. package/lib/commonjs/experimental/types.js.map +1 -1
  31. package/lib/module/components/gamma/split/SplitHost.android.js +6 -0
  32. package/lib/module/components/gamma/split/SplitHost.android.js.map +1 -0
  33. package/lib/module/components/gamma/{split-view/SplitViewHost.js → split/SplitHost.js} +9 -9
  34. package/lib/module/components/gamma/split/SplitHost.js.map +1 -0
  35. package/lib/module/components/gamma/split/SplitHost.types.js +2 -0
  36. package/lib/module/components/gamma/split/SplitHost.types.js.map +1 -0
  37. package/lib/module/components/gamma/split/SplitHost.web.js +6 -0
  38. package/lib/module/components/gamma/split/SplitHost.web.js.map +1 -0
  39. package/lib/module/components/gamma/split/SplitScreen.android.js +11 -0
  40. package/lib/module/components/gamma/split/SplitScreen.android.js.map +1 -0
  41. package/lib/module/components/gamma/{split-view/SplitViewScreen.js → split/SplitScreen.js} +3 -3
  42. package/lib/module/components/gamma/split/SplitScreen.js.map +1 -0
  43. package/lib/module/components/gamma/split/SplitScreen.types.js +2 -0
  44. package/lib/module/components/gamma/split/SplitScreen.types.js.map +1 -0
  45. package/lib/module/components/gamma/split/SplitScreen.web.js +17 -0
  46. package/lib/module/components/gamma/split/SplitScreen.web.js.map +1 -0
  47. package/lib/module/components/gamma/split/index.js +15 -0
  48. package/lib/module/components/gamma/split/index.js.map +1 -0
  49. package/lib/module/components/gamma/stack/{ScreenStackHost.js → StackHost.js} +3 -3
  50. package/lib/module/components/gamma/stack/StackHost.js.map +1 -0
  51. package/lib/module/components/gamma/stack/StackHost.types.js +2 -0
  52. package/lib/module/components/gamma/stack/StackHost.types.js.map +1 -0
  53. package/lib/module/components/gamma/stack/{ScreenStackHost.web.js → StackHost.web.js} +1 -1
  54. package/lib/module/components/gamma/stack/StackHost.web.js.map +1 -0
  55. package/lib/module/components/gamma/stack/index.js +15 -0
  56. package/lib/module/components/gamma/stack/index.js.map +1 -0
  57. package/lib/module/experimental/index.js +2 -4
  58. package/lib/module/experimental/index.js.map +1 -1
  59. package/lib/module/experimental/types.js +3 -3
  60. package/lib/module/experimental/types.js.map +1 -1
  61. package/lib/typescript/components/bottom-tabs/BottomTabsScreen.types.d.ts +1 -1
  62. package/lib/typescript/components/gamma/split/SplitHost.android.d.ts +3 -0
  63. package/lib/typescript/components/gamma/split/SplitHost.android.d.ts.map +1 -0
  64. package/lib/typescript/components/gamma/split/SplitHost.d.ts +8 -0
  65. package/lib/typescript/components/gamma/split/SplitHost.d.ts.map +1 -0
  66. package/lib/typescript/components/gamma/{split-view/SplitViewHost.types.d.ts → split/SplitHost.types.d.ts} +35 -35
  67. package/lib/typescript/components/gamma/split/SplitHost.types.d.ts.map +1 -0
  68. package/lib/typescript/components/gamma/split/SplitHost.web.d.ts +3 -0
  69. package/lib/typescript/components/gamma/split/SplitHost.web.d.ts.map +1 -0
  70. package/lib/typescript/components/gamma/{split-view/SplitViewScreen.web.d.ts → split/SplitScreen.android.d.ts} +1 -1
  71. package/lib/typescript/components/gamma/split/SplitScreen.android.d.ts.map +1 -0
  72. package/lib/typescript/components/gamma/split/SplitScreen.d.ts +19 -0
  73. package/lib/typescript/components/gamma/split/SplitScreen.d.ts.map +1 -0
  74. package/lib/typescript/components/gamma/{split-view/SplitViewScreen.types.d.ts → split/SplitScreen.types.d.ts} +7 -7
  75. package/lib/typescript/components/gamma/split/SplitScreen.types.d.ts.map +1 -0
  76. package/lib/typescript/components/gamma/split/SplitScreen.web.d.ts +9 -0
  77. package/lib/typescript/components/gamma/split/SplitScreen.web.d.ts.map +1 -0
  78. package/lib/typescript/components/gamma/split/index.d.ts +13 -0
  79. package/lib/typescript/components/gamma/split/index.d.ts.map +1 -0
  80. package/lib/typescript/components/gamma/stack/StackHost.d.ts +8 -0
  81. package/lib/typescript/components/gamma/stack/StackHost.d.ts.map +1 -0
  82. package/lib/typescript/components/gamma/stack/{ScreenStackHost.types.d.ts → StackHost.types.d.ts} +1 -1
  83. package/lib/typescript/components/gamma/stack/StackHost.types.d.ts.map +1 -0
  84. package/lib/typescript/components/gamma/stack/{ScreenStackHost.web.d.ts → StackHost.web.d.ts} +1 -1
  85. package/lib/typescript/components/gamma/stack/StackHost.web.d.ts.map +1 -0
  86. package/lib/typescript/components/gamma/stack/index.d.ts +14 -0
  87. package/lib/typescript/components/gamma/stack/index.d.ts.map +1 -0
  88. package/lib/typescript/experimental/index.d.ts +2 -4
  89. package/lib/typescript/experimental/index.d.ts.map +1 -1
  90. package/lib/typescript/experimental/types.d.ts +3 -3
  91. package/lib/typescript/experimental/types.d.ts.map +1 -1
  92. package/package.json +1 -1
  93. package/src/components/bottom-tabs/BottomTabsScreen.types.ts +1 -1
  94. package/src/components/gamma/split/SplitHost.android.tsx +8 -0
  95. package/src/components/gamma/{split-view/SplitViewHost.tsx → split/SplitHost.tsx} +16 -16
  96. package/src/components/gamma/{split-view/SplitViewHost.types.ts → split/SplitHost.types.ts} +34 -41
  97. package/src/components/gamma/split/SplitHost.web.tsx +8 -0
  98. package/src/components/gamma/{split-view/SplitViewScreen.android.tsx → split/SplitScreen.android.tsx} +1 -1
  99. package/src/components/gamma/{split-view/SplitViewScreen.tsx → split/SplitScreen.tsx} +5 -5
  100. package/src/components/gamma/{split-view/SplitViewScreen.types.ts → split/SplitScreen.types.ts} +6 -6
  101. package/src/components/gamma/split/SplitScreen.web.tsx +20 -0
  102. package/src/components/gamma/split/index.ts +16 -0
  103. package/src/components/gamma/stack/{ScreenStackHost.tsx → StackHost.tsx} +3 -3
  104. package/src/components/gamma/stack/index.ts +17 -0
  105. package/src/experimental/index.ts +4 -5
  106. package/src/experimental/types.ts +3 -3
  107. package/lib/commonjs/components/gamma/split-view/SplitViewHost.android.js +0 -12
  108. package/lib/commonjs/components/gamma/split-view/SplitViewHost.android.js.map +0 -1
  109. package/lib/commonjs/components/gamma/split-view/SplitViewHost.js.map +0 -1
  110. package/lib/commonjs/components/gamma/split-view/SplitViewHost.types.js.map +0 -1
  111. package/lib/commonjs/components/gamma/split-view/SplitViewHost.web.js +0 -12
  112. package/lib/commonjs/components/gamma/split-view/SplitViewHost.web.js.map +0 -1
  113. package/lib/commonjs/components/gamma/split-view/SplitViewScreen.android.js.map +0 -1
  114. package/lib/commonjs/components/gamma/split-view/SplitViewScreen.js.map +0 -1
  115. package/lib/commonjs/components/gamma/split-view/SplitViewScreen.types.js.map +0 -1
  116. package/lib/commonjs/components/gamma/split-view/SplitViewScreen.web.js +0 -17
  117. package/lib/commonjs/components/gamma/split-view/SplitViewScreen.web.js.map +0 -1
  118. package/lib/commonjs/components/gamma/stack/ScreenStackHost.js.map +0 -1
  119. package/lib/commonjs/components/gamma/stack/ScreenStackHost.types.js.map +0 -1
  120. package/lib/commonjs/components/gamma/stack/ScreenStackHost.web.js.map +0 -1
  121. package/lib/module/components/gamma/split-view/SplitViewHost.android.js +0 -6
  122. package/lib/module/components/gamma/split-view/SplitViewHost.android.js.map +0 -1
  123. package/lib/module/components/gamma/split-view/SplitViewHost.js.map +0 -1
  124. package/lib/module/components/gamma/split-view/SplitViewHost.types.js +0 -2
  125. package/lib/module/components/gamma/split-view/SplitViewHost.types.js.map +0 -1
  126. package/lib/module/components/gamma/split-view/SplitViewHost.web.js +0 -6
  127. package/lib/module/components/gamma/split-view/SplitViewHost.web.js.map +0 -1
  128. package/lib/module/components/gamma/split-view/SplitViewScreen.android.js +0 -11
  129. package/lib/module/components/gamma/split-view/SplitViewScreen.android.js.map +0 -1
  130. package/lib/module/components/gamma/split-view/SplitViewScreen.js.map +0 -1
  131. package/lib/module/components/gamma/split-view/SplitViewScreen.types.js +0 -2
  132. package/lib/module/components/gamma/split-view/SplitViewScreen.types.js.map +0 -1
  133. package/lib/module/components/gamma/split-view/SplitViewScreen.web.js +0 -11
  134. package/lib/module/components/gamma/split-view/SplitViewScreen.web.js.map +0 -1
  135. package/lib/module/components/gamma/stack/ScreenStackHost.js.map +0 -1
  136. package/lib/module/components/gamma/stack/ScreenStackHost.types.js +0 -2
  137. package/lib/module/components/gamma/stack/ScreenStackHost.types.js.map +0 -1
  138. package/lib/module/components/gamma/stack/ScreenStackHost.web.js.map +0 -1
  139. package/lib/typescript/components/gamma/split-view/SplitViewHost.android.d.ts +0 -3
  140. package/lib/typescript/components/gamma/split-view/SplitViewHost.android.d.ts.map +0 -1
  141. package/lib/typescript/components/gamma/split-view/SplitViewHost.d.ts +0 -8
  142. package/lib/typescript/components/gamma/split-view/SplitViewHost.d.ts.map +0 -1
  143. package/lib/typescript/components/gamma/split-view/SplitViewHost.types.d.ts.map +0 -1
  144. package/lib/typescript/components/gamma/split-view/SplitViewHost.web.d.ts +0 -3
  145. package/lib/typescript/components/gamma/split-view/SplitViewHost.web.d.ts.map +0 -1
  146. package/lib/typescript/components/gamma/split-view/SplitViewScreen.android.d.ts +0 -6
  147. package/lib/typescript/components/gamma/split-view/SplitViewScreen.android.d.ts.map +0 -1
  148. package/lib/typescript/components/gamma/split-view/SplitViewScreen.d.ts +0 -19
  149. package/lib/typescript/components/gamma/split-view/SplitViewScreen.d.ts.map +0 -1
  150. package/lib/typescript/components/gamma/split-view/SplitViewScreen.types.d.ts.map +0 -1
  151. package/lib/typescript/components/gamma/split-view/SplitViewScreen.web.d.ts.map +0 -1
  152. package/lib/typescript/components/gamma/stack/ScreenStackHost.d.ts +0 -8
  153. package/lib/typescript/components/gamma/stack/ScreenStackHost.d.ts.map +0 -1
  154. package/lib/typescript/components/gamma/stack/ScreenStackHost.types.d.ts.map +0 -1
  155. package/lib/typescript/components/gamma/stack/ScreenStackHost.web.d.ts.map +0 -1
  156. package/src/components/gamma/split-view/SplitViewHost.android.tsx +0 -8
  157. package/src/components/gamma/split-view/SplitViewHost.web.tsx +0 -8
  158. package/src/components/gamma/split-view/SplitViewScreen.web.tsx +0 -11
  159. /package/src/components/gamma/stack/{ScreenStackHost.types.ts → StackHost.types.ts} +0 -0
  160. /package/src/components/gamma/stack/{ScreenStackHost.web.tsx → StackHost.web.tsx} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/gamma/stack/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAE1D,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AAEpC;;GAEG;AACH,QAAA,MAAM,KAAK;;;CAGV,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -3,9 +3,7 @@
3
3
  * BE SUBJECT TO BREAKING CHANGES WITHOUT NOTICE OR LIBRARY MAJOR VERSION CHANGE.
4
4
  */
5
5
  export * from './types';
6
- export { default as ScreenStackHost } from '../components/gamma/stack/ScreenStackHost';
7
- export { default as StackScreen, StackScreenLifecycleState, } from '../components/gamma/stack/StackScreen';
8
- export { default as SplitViewHost } from '../components/gamma/split-view/SplitViewHost';
9
- export { default as SplitViewScreen } from '../components/gamma/split-view/SplitViewScreen';
6
+ export { default as Stack, StackScreenLifecycleState, } from '../components/gamma/stack';
7
+ export { default as Split } from '../components/gamma/split';
10
8
  export { default as SafeAreaView } from '../components/safe-area/SafeAreaView';
11
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/experimental/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,SAAS,CAAC;AAIxB,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,yBAAyB,GAC1B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/experimental/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,SAAS,CAAC;AAIxB,OAAO,EACL,OAAO,IAAI,KAAK,EAChB,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC"}
@@ -2,9 +2,9 @@
2
2
  * ALL SYMBOLS EXPOSED FROM THIS MODULE ARE EXPERIMENTAL AND MIGHT
3
3
  * BE SUBJECT TO BREAKING CHANGES WITHOUT NOTICE OR LIBRARY MAJOR VERSION CHANGE.
4
4
  */
5
- export * from '../components/gamma/split-view/SplitViewHost.types';
6
- export * from '../components/gamma/split-view/SplitViewScreen.types';
7
- export * from '../components/gamma/stack/ScreenStackHost.types';
5
+ export * from '../components/gamma/stack/StackHost.types';
6
+ export * from '../components/gamma/split/SplitHost.types';
7
+ export * from '../components/gamma/split/SplitScreen.types';
8
8
  export * from '../components/gamma/stack/StackScreen.types';
9
9
  export * from '../components/safe-area/SafeAreaView.types';
10
10
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/experimental/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/experimental/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screens",
3
- "version": "4.20.0-nightly-20251215-f65b107bd",
3
+ "version": "4.20.0-nightly-20251217-952b7cd54",
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 ../)",
@@ -413,7 +413,7 @@ export interface BottomTabsScreenProps {
413
413
  * is queried.
414
414
  *
415
415
  * Note that:
416
- * - some components (like `SplitViewHost`) may choose not to query
416
+ * - some components (like `SplitHost`) may choose not to query
417
417
  * its child components,
418
418
  * - Stack v4 implementation **ALWAYS** returns some supported
419
419
  * orientations (`allButUpsideDown` by default), overriding
@@ -0,0 +1,8 @@
1
+ const SplitHost = () => {
2
+ console.warn(
3
+ '[RNScreens] Split component is supported only for iOS. Consider using an alternative layout for Android.',
4
+ );
5
+ return null;
6
+ };
7
+
8
+ export default SplitHost;
@@ -2,19 +2,19 @@ import React from 'react';
2
2
  import { StyleSheet } from 'react-native';
3
3
  import SplitViewHostNativeComponent from '../../../fabric/gamma/SplitViewHostNativeComponent';
4
4
  import type {
5
- SplitViewDisplayMode,
6
- SplitViewHostProps,
7
- SplitViewSplitBehavior,
8
- } from './SplitViewHost.types';
9
- import SplitViewScreen from './SplitViewScreen';
5
+ SplitDisplayMode,
6
+ SplitHostProps,
7
+ SplitBehavior,
8
+ } from './SplitHost.types';
9
+ import SplitScreen from './SplitScreen';
10
10
 
11
11
  // According to the UIKit documentation: https://developer.apple.com/documentation/uikit/uisplitviewcontroller/displaymode-swift.enum
12
12
  // Only specific pairs for displayMode - splitBehavior are valid and others may lead to unexpected results.
13
13
  // Therefore, we're adding check on the JS side to return a feedback to the client when that pairing isn't valid.
14
14
  // However, we're not blocking these props to be set on the native side, because it doesn't crash, just the result or transitions may not work as expected.
15
- const displayModeForSplitViewCompatibilityMap: Record<
16
- SplitViewSplitBehavior,
17
- SplitViewDisplayMode[]
15
+ const displayModeForSplitCompatibilityMap: Record<
16
+ SplitBehavior,
17
+ SplitDisplayMode[]
18
18
  > = {
19
19
  tile: ['secondaryOnly', 'oneBesideSecondary', 'twoBesideSecondary'],
20
20
  overlay: ['secondaryOnly', 'oneOverSecondary', 'twoOverSecondary'],
@@ -23,14 +23,14 @@ const displayModeForSplitViewCompatibilityMap: Record<
23
23
  };
24
24
 
25
25
  const isValidDisplayModeForSplitBehavior = (
26
- displayMode: SplitViewDisplayMode,
27
- splitBehavior: SplitViewSplitBehavior,
26
+ displayMode: SplitDisplayMode,
27
+ splitBehavior: SplitBehavior,
28
28
  ) => {
29
29
  if (splitBehavior === 'automatic') {
30
30
  // for automatic we cannot easily verify the compatibility, because it depends on the system preference for display mode, therefore we're assuming that 'automatic' has only valid combinations
31
31
  return true;
32
32
  }
33
- return displayModeForSplitViewCompatibilityMap[splitBehavior].includes(
33
+ return displayModeForSplitCompatibilityMap[splitBehavior].includes(
34
34
  displayMode,
35
35
  );
36
36
  };
@@ -38,7 +38,7 @@ const isValidDisplayModeForSplitBehavior = (
38
38
  /**
39
39
  * EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
40
40
  */
41
- function SplitViewHost(props: SplitViewHostProps) {
41
+ function SplitHost(props: SplitHostProps) {
42
42
  const { preferredDisplayMode, preferredSplitBehavior } = props;
43
43
 
44
44
  React.useEffect(() => {
@@ -49,7 +49,7 @@ function SplitViewHost(props: SplitViewHostProps) {
49
49
  );
50
50
  if (!isValid) {
51
51
  const validDisplayModes =
52
- displayModeForSplitViewCompatibilityMap[preferredSplitBehavior];
52
+ displayModeForSplitCompatibilityMap[preferredSplitBehavior];
53
53
  console.warn(
54
54
  `Invalid display mode "${preferredDisplayMode}" for split behavior "${preferredSplitBehavior}".` +
55
55
  `\nValid modes for "${preferredSplitBehavior}" are: ${validDisplayModes.join(
@@ -64,12 +64,12 @@ function SplitViewHost(props: SplitViewHostProps) {
64
64
 
65
65
  const columns = children.filter(
66
66
  // @ts-ignore - type is valid attribute for child
67
- child => child.type === SplitViewScreen.Column,
67
+ child => child.type === SplitScreen.Column,
68
68
  );
69
69
 
70
70
  const inspectors = children.filter(
71
71
  // @ts-ignore - type is valid attribute for child
72
- child => child.type === SplitViewScreen.Inspector,
72
+ child => child.type === SplitScreen.Inspector,
73
73
  );
74
74
 
75
75
  return (
@@ -91,4 +91,4 @@ const styles = StyleSheet.create({
91
91
  },
92
92
  });
93
93
 
94
- export default SplitViewHost;
94
+ export default SplitHost;
@@ -8,22 +8,15 @@ export type DisplayModeWillChangeEvent = {
8
8
  nextDisplayMode: string;
9
9
  };
10
10
 
11
- export type SplitViewDisplayModeButtonVisibility =
12
- | 'always'
13
- | 'automatic'
14
- | 'never';
11
+ export type SplitDisplayModeButtonVisibility = 'always' | 'automatic' | 'never';
15
12
 
16
- export type SplitViewSplitBehavior =
17
- | 'automatic'
18
- | 'displace'
19
- | 'overlay'
20
- | 'tile';
13
+ export type SplitBehavior = 'automatic' | 'displace' | 'overlay' | 'tile';
21
14
 
22
- export type SplitViewPrimaryEdge = 'leading' | 'trailing';
15
+ export type SplitPrimaryEdge = 'leading' | 'trailing';
23
16
 
24
- export type SplitViewPrimaryBackgroundStyle = 'default' | 'none' | 'sidebar';
17
+ export type SplitPrimaryBackgroundStyle = 'default' | 'none' | 'sidebar';
25
18
 
26
- export type SplitViewDisplayMode =
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 SplitViewHostOrientation =
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 SplitViewColumnMetrics {
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 SplitView layout, typically representing the leftmost sidebar.
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 SplitView layout, typically representing the leftmost sidebar.
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 SplitView layout, typically representing the leftmost sidebar.
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 SplitView layout, typically representing the intermediate sidebar.
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 SplitView layout, typically representing the intermediate sidebar.
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 SplitView layout, typically representing the intermediate sidebar.
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 SplitView layout, typically for the view with the main content.
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 SplitView layout, typically for the view with the main content.
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 SplitView layout, typically the view which is providing additional data about the secondary column.
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 SplitView layout, typically the view which is providing additional data about the secondary column.
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 SplitView layout, typically the view which is providing additional data about the secondary column.
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 SplitViewHostProps extends ViewProps {
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?: SplitViewColumnMetrics;
133
+ columnMetrics?: SplitColumnMetrics;
141
134
  /**
142
- * @summary Determines whether the button for changing the SplitView display mode is visible on the screen.
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?: SplitViewDisplayModeButtonVisibility;
148
+ displayModeButtonVisibility?: SplitDisplayModeButtonVisibility;
156
149
  /**
157
- * @summary A callback that gets invoked when the SplitView was collapsed to a single column.
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 SplitView displayMode has changed.
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 SplitView was expanded to multiple columns.
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 SplitView inspector is either programmatically hidden (in column presentation) or dismissed (in modal presentation).
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 SplitView is collapsed or expanded.
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?: SplitViewHostOrientation;
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?: SplitViewDisplayMode;
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?: SplitViewSplitBehavior;
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?: SplitViewPrimaryBackgroundStyle;
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?: SplitViewPrimaryEdge;
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 SplitView) or as a modal (for collapsed SplitView).
307
- * The result on the interface for this prop depends on whether the SplitView is collapsed or expanded.
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
  */
@@ -0,0 +1,8 @@
1
+ const SplitHost = () => {
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
+ export default SplitHost;
@@ -1,6 +1,6 @@
1
1
  const NOOP = () => {
2
2
  console.warn(
3
- '[RNScreens] SplitView is supported only for iOS. Consider using an alternative layout for Android.',
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 { SplitViewScreenProps } from './SplitViewScreen.types';
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: SplitViewScreenProps) {
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: SplitViewScreenProps) {
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 SplitViewScreen = {
38
+ const SplitScreen = {
39
39
  Column,
40
40
  Inspector,
41
41
  };
42
42
 
43
- export default SplitViewScreen;
43
+ export default SplitScreen;
@@ -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 SplitViewScreenColumnType = 'column' | 'inspector';
6
+ export type SplitScreenColumnType = 'column' | 'inspector';
7
7
 
8
- export interface SplitViewScreenProps extends ViewProps {
8
+ export interface SplitScreenProps extends ViewProps {
9
9
  children?: React.ReactNode;
10
10
  /**
11
- * @summary A callback that gets invoked when the current SplitViewScreen did appear.
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 SplitViewScreen did disappear.
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 SplitViewScreen will appear.
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 SplitViewScreen will disappear.
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,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import { StyleSheet } from 'react-native';
3
3
  import ScreenStackHostNativeComponent from '../../../fabric/gamma/ScreenStackHostNativeComponent';
4
- import type { ScreenStackHostProps } from './ScreenStackHost.types';
4
+ import type { ScreenStackHostProps } from './StackHost.types';
5
5
 
6
6
  /**
7
7
  * EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
8
8
  */
9
- function ScreenStackHost({ children }: ScreenStackHostProps) {
9
+ function StackHost({ children }: ScreenStackHostProps) {
10
10
  return (
11
11
  <ScreenStackHostNativeComponent style={styles.container}>
12
12
  {children}
@@ -20,4 +20,4 @@ const styles = StyleSheet.create({
20
20
  },
21
21
  });
22
22
 
23
- export default ScreenStackHost;
23
+ export default StackHost;
@@ -0,0 +1,17 @@
1
+ import StackHost from './StackHost';
2
+ import StackScreen from './StackScreen';
3
+
4
+ export { StackScreenLifecycleState } from './StackScreen';
5
+
6
+ export * from './StackHost.types';
7
+ export * from './StackScreen.types';
8
+
9
+ /**
10
+ * EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
11
+ */
12
+ const Stack = {
13
+ Host: StackHost,
14
+ Screen: StackScreen,
15
+ };
16
+
17
+ export default Stack;
@@ -8,11 +8,10 @@ export * from './types';
8
8
 
9
9
  // Components
10
10
 
11
- export { default as ScreenStackHost } from '../components/gamma/stack/ScreenStackHost';
12
11
  export {
13
- default as StackScreen,
12
+ default as Stack,
14
13
  StackScreenLifecycleState,
15
- } from '../components/gamma/stack/StackScreen';
16
- export { default as SplitViewHost } from '../components/gamma/split-view/SplitViewHost';
17
- export { default as SplitViewScreen } from '../components/gamma/split-view/SplitViewScreen';
14
+ } from '../components/gamma/stack';
15
+
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
- export * from '../components/gamma/stack/ScreenStackHost.types';
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,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,eAAe,EAAE,oBAAoB,EAAE,sBAAsB,CAAC;EACzEC,SAAS,EAAE,EAAE,CAAE;AACjB,CAAC;AAED,MAAMC,kCAAkC,GAAGA,CACzCC,WAAiC,EACjCC,aAAqC,KAClC;EACH,IAAIA,aAAa,KAAK,WAAW,EAAE;IACjC;IACA,OAAO,IAAI;EACb;EACA,OAAOP,uCAAuC,CAACO,aAAa,CAAC,CAACC,QAAQ,CACpEF,WACF,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA,SAASG,aAAaA,CAACC,KAAyB,EAAE;EAChD,MAAM;IAAEC,oBAAoB;IAAEC;EAAuB,CAAC,GAAGF,KAAK;EAE9DG,cAAK,CAACC,SAAS,CAAC,MAAM;IACpB,IAAIH,oBAAoB,IAAIC,sBAAsB,EAAE;MAClD,MAAMG,OAAO,GAAGV,kCAAkC,CAChDM,oBAAoB,EACpBC,sBACF,CAAC;MACD,IAAI,CAACG,OAAO,EAAE;QACZ,MAAMC,iBAAiB,GACrBhB,uCAAuC,CAACY,sBAAsB,CAAC;QACjEK,OAAO,CAACC,IAAI,CACV,yBAAyBP,oBAAoB,yBAAyBC,sBAAsB,IAAI,GAC9F,sBAAsBA,sBAAsB,UAAUI,iBAAiB,CAACG,IAAI,CAC1E,IACF,CAAC,GACL,CAAC;MACH;IACF;EACF,CAAC,EAAE,CAACR,oBAAoB,EAAEC,sBAAsB,CAAC,CAAC;EAElD,MAAMQ,QAAQ,GAAGP,cAAK,CAACQ,QAAQ,CAACC,OAAO,CAACZ,KAAK,CAACU,QAAQ,CAAC;EAEvD,MAAMG,OAAO,GAAGH,QAAQ,CAACI,MAAM;EAC7B;EACAC,KAAK,IAAIA,KAAK,CAACC,IAAI,KAAKC,wBAAe,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 +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":[]}