react-native-screens 4.25.0-beta.1 → 4.25.0-beta.2

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 (96) hide show
  1. package/android/src/main/java/com/swmansion/rnscreens/gamma/stack/header/StackHeaderAppBarLayout.kt +6 -14
  2. package/android/src/main/java/com/swmansion/rnscreens/gamma/stack/header/StackHeaderAppBarLayoutBehavior.kt +29 -0
  3. package/android/src/main/java/com/swmansion/rnscreens/gamma/stack/header/StackHeaderCoordinator.kt +56 -0
  4. package/android/src/main/java/com/swmansion/rnscreens/gamma/stack/header/config/StackHeaderConfig.kt +11 -0
  5. package/android/src/main/java/com/swmansion/rnscreens/gamma/stack/header/config/StackHeaderConfigProviding.kt +5 -0
  6. package/android/src/main/java/com/swmansion/rnscreens/gamma/stack/header/config/StackHeaderConfigViewManager.kt +35 -0
  7. package/android/src/main/java/com/swmansion/rnscreens/gamma/stack/header/subview/StackHeaderSubview.kt +3 -7
  8. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/TabsActionOrigin.kt +26 -0
  9. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/TabsContainer.kt +227 -151
  10. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/TabsNavigationState.kt +60 -0
  11. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/{TabsContainerDelegate.kt → TabsNavigationStateObserver.kt} +19 -14
  12. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/TabsNavigationStateObserverRegistry.kt +88 -0
  13. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/host/TabsHost.kt +40 -24
  14. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/host/TabsHostEventEmitter.kt +11 -9
  15. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/host/TabsHostViewManager.kt +19 -7
  16. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/host/event/TabsHostTabSelectedEvent.kt +4 -3
  17. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/host/event/TabsHostTabSelectionPreventedEvent.kt +3 -3
  18. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/host/event/TabsHostTabSelectionRejectedEvent.kt +11 -10
  19. package/ios/conversion/RNSConversions-Tabs.mm +19 -0
  20. package/ios/conversion/RNSConversions.h +3 -0
  21. package/ios/tabs/bottom-accessory/RNSTabsBottomAccessoryHelper.mm +34 -5
  22. package/ios/tabs/host/RNSTabBarController.h +152 -99
  23. package/ios/tabs/host/RNSTabBarController.mm +137 -113
  24. package/ios/tabs/host/RNSTabsHostComponentView.h +7 -8
  25. package/ios/tabs/host/RNSTabsHostComponentView.mm +37 -33
  26. package/ios/tabs/host/RNSTabsHostEventEmitter.h +4 -4
  27. package/ios/tabs/host/RNSTabsHostEventEmitter.mm +5 -3
  28. package/ios/tabs/host/RNSTabsNavigationState.h +142 -27
  29. package/ios/tabs/host/RNSTabsNavigationState.mm +35 -2
  30. package/ios/tabs/host/RNSTabsNavigationStateObserverRegistry.h +62 -0
  31. package/ios/tabs/host/RNSTabsNavigationStateObserverRegistry.mm +104 -0
  32. package/lib/commonjs/components/gamma/stack/header/StackHeaderConfig.android.js +46 -1
  33. package/lib/commonjs/components/gamma/stack/header/StackHeaderConfig.android.js.map +1 -1
  34. package/lib/commonjs/components/safe-area/SafeAreaView.web.js +2 -3
  35. package/lib/commonjs/components/safe-area/SafeAreaView.web.js.map +1 -1
  36. package/lib/commonjs/components/tabs/host/TabsHost.android.js +2 -2
  37. package/lib/commonjs/components/tabs/host/TabsHost.android.js.map +1 -1
  38. package/lib/commonjs/components/tabs/host/TabsHost.ios.js +2 -2
  39. package/lib/commonjs/components/tabs/host/TabsHost.ios.js.map +1 -1
  40. package/lib/commonjs/fabric/gamma/stack/StackHeaderConfigAndroidNativeComponent.js.map +1 -1
  41. package/lib/commonjs/flags.js +1 -0
  42. package/lib/commonjs/flags.js.map +1 -1
  43. package/lib/module/components/gamma/stack/header/StackHeaderConfig.android.js +46 -1
  44. package/lib/module/components/gamma/stack/header/StackHeaderConfig.android.js.map +1 -1
  45. package/lib/module/components/safe-area/SafeAreaView.web.js +1 -1
  46. package/lib/module/components/safe-area/SafeAreaView.web.js.map +1 -1
  47. package/lib/module/components/tabs/host/TabsHost.android.js +2 -2
  48. package/lib/module/components/tabs/host/TabsHost.android.js.map +1 -1
  49. package/lib/module/components/tabs/host/TabsHost.ios.js +2 -2
  50. package/lib/module/components/tabs/host/TabsHost.ios.js.map +1 -1
  51. package/lib/module/fabric/gamma/stack/StackHeaderConfigAndroidNativeComponent.js.map +1 -1
  52. package/lib/module/flags.js +1 -0
  53. package/lib/module/flags.js.map +1 -1
  54. package/lib/typescript/components/gamma/split/SplitHost.types.d.ts +1 -1
  55. package/lib/typescript/components/gamma/split/SplitHost.types.d.ts.map +1 -1
  56. package/lib/typescript/components/gamma/stack/header/StackHeaderConfig.android.d.ts.map +1 -1
  57. package/lib/typescript/components/gamma/stack/header/StackHeaderConfig.android.types.d.ts +183 -8
  58. package/lib/typescript/components/gamma/stack/header/StackHeaderConfig.android.types.d.ts.map +1 -1
  59. package/lib/typescript/components/gamma/stack/header/StackHeaderConfig.types.d.ts +37 -0
  60. package/lib/typescript/components/gamma/stack/header/StackHeaderConfig.types.d.ts.map +1 -1
  61. package/lib/typescript/components/gamma/stack/header/android/StackHeaderSubview.android.types.d.ts +1 -1
  62. package/lib/typescript/components/gamma/stack/header/android/StackHeaderSubview.android.types.d.ts.map +1 -1
  63. package/lib/typescript/components/gamma/stack/host/StackHost.types.d.ts +1 -1
  64. package/lib/typescript/components/gamma/stack/host/StackHost.types.d.ts.map +1 -1
  65. package/lib/typescript/components/safe-area/SafeAreaView.web.d.ts +1 -1
  66. package/lib/typescript/components/safe-area/SafeAreaView.web.d.ts.map +1 -1
  67. package/lib/typescript/components/tabs/host/TabsHost.types.d.ts +27 -17
  68. package/lib/typescript/components/tabs/host/TabsHost.types.d.ts.map +1 -1
  69. package/lib/typescript/components/tabs/index.d.ts +1 -1
  70. package/lib/typescript/components/tabs/index.d.ts.map +1 -1
  71. package/lib/typescript/fabric/gamma/stack/StackHeaderConfigAndroidNativeComponent.d.ts +5 -0
  72. package/lib/typescript/fabric/gamma/stack/StackHeaderConfigAndroidNativeComponent.d.ts.map +1 -1
  73. package/lib/typescript/fabric/tabs/TabsHostAndroidNativeComponent.d.ts +4 -4
  74. package/lib/typescript/fabric/tabs/TabsHostAndroidNativeComponent.d.ts.map +1 -1
  75. package/lib/typescript/fabric/tabs/TabsHostIOSNativeComponent.d.ts +4 -4
  76. package/lib/typescript/fabric/tabs/TabsHostIOSNativeComponent.d.ts.map +1 -1
  77. package/lib/typescript/flags.d.ts +1 -0
  78. package/lib/typescript/flags.d.ts.map +1 -1
  79. package/package.json +1 -1
  80. package/src/components/gamma/split/SplitHost.types.ts +1 -1
  81. package/src/components/gamma/stack/header/StackHeaderConfig.android.tsx +72 -2
  82. package/src/components/gamma/stack/header/StackHeaderConfig.android.types.ts +183 -8
  83. package/src/components/gamma/stack/header/StackHeaderConfig.types.ts +37 -0
  84. package/src/components/gamma/stack/header/android/StackHeaderSubview.android.types.ts +1 -1
  85. package/src/components/gamma/stack/host/StackHost.types.ts +1 -1
  86. package/src/components/safe-area/SafeAreaView.web.tsx +1 -1
  87. package/src/components/tabs/host/TabsHost.android.tsx +2 -2
  88. package/src/components/tabs/host/TabsHost.ios.tsx +2 -2
  89. package/src/components/tabs/host/TabsHost.types.ts +27 -17
  90. package/src/components/tabs/index.ts +1 -1
  91. package/src/fabric/gamma/stack/StackHeaderConfigAndroidNativeComponent.ts +6 -0
  92. package/src/fabric/tabs/TabsHostAndroidNativeComponent.ts +4 -4
  93. package/src/fabric/tabs/TabsHostIOSNativeComponent.ts +4 -4
  94. package/src/flags.ts +1 -0
  95. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/TabsContainerOps.kt +0 -7
  96. package/android/src/main/java/com/swmansion/rnscreens/gamma/tabs/container/TabsNavState.kt +0 -43
@@ -5,29 +5,204 @@ import type { PlatformIconAndroid } from '../../../../types';
5
5
  export type StackHeaderTypeAndroid = 'small' | 'medium' | 'large';
6
6
  export type StackHeaderBackgroundSubviewCollapseModeAndroid = StackHeaderSubviewCollapseModeAndroid;
7
7
  export interface StackHeaderToolbarSubviewAndroid {
8
- Component: ReactNode;
8
+ /**
9
+ * @summary The React component rendered in this toolbar slot.
10
+ *
11
+ * The subview is sized by React Native's layout engine but positioned by the
12
+ * platform native layout. Each subview is placed independently — subviews do
13
+ * not participate in a shared flex layout and cannot influence each other's
14
+ * sizing.
15
+ *
16
+ *
17
+ * @remarks
18
+ * Intrinsic sizing and explicit dimensions work as expected. Avoid
19
+ * parent-relative sizing (e.g. `flex: 1`) on the root element — it will
20
+ * produce incorrect dimensions. Flex layout within a root that has a known
21
+ * size works as expected.
22
+ *
23
+ * @platform android
24
+ */
25
+ Component: NonNullable<ReactNode>;
9
26
  }
10
27
  export interface StackHeaderBackgroundSubviewAndroid {
28
+ /**
29
+ * @summary Controls how the background subview behaves when the app bar
30
+ * collapses.
31
+ *
32
+ * The following values are available:
33
+ * - `off` - the subview scrolls away with the app bar,
34
+ * - `parallax` - the subview scrolls at a slower rate, creating a parallax
35
+ * effect.
36
+ *
37
+ * @remarks
38
+ * `pin` is not currently supported because the background subview is
39
+ * stretched to match the entire `AppBarLayout`, which causes pinned content
40
+ * to move immediately rather than staying fixed. Support for `pin` collapse
41
+ * mode might be added in the future.
42
+ *
43
+ * @default off
44
+ *
45
+ * @platform android
46
+ */
11
47
  collapseMode?: StackHeaderSubviewCollapseModeAndroid | undefined;
12
- Component: ReactNode;
48
+ /**
49
+ * @summary The React component rendered as the header background.
50
+ *
51
+ * The subview is stretched to match the header (`AppBarLayout`) dimensions,
52
+ * so parent-relative sizing (e.g. `flex: 1`) works correctly.
53
+ *
54
+ * @platform android
55
+ */
56
+ Component: NonNullable<ReactNode>;
13
57
  }
14
58
  export interface StackHeaderConfigPropsAndroid {
59
+ /**
60
+ * @summary Specifies the type of the Material 3 app bar.
61
+ *
62
+ * The following values are available:
63
+ * - `small` - small app bar with fixed title,
64
+ * - `medium` - medium app bar with collapsing title,
65
+ * - `large` - large app bar with collapsing title.
66
+ *
67
+ * @remarks
68
+ * M3 Expressive headers aren't currently supported (there is no stable
69
+ * `MDC-Android` version yet).
70
+ *
71
+ * @see {@link https://m3.material.io/components/app-bars/overview|Material Design 3: App bars}
72
+ *
73
+ * @default small
74
+ *
75
+ * @platform android
76
+ */
15
77
  type?: StackHeaderTypeAndroid | undefined;
78
+ /**
79
+ * @summary Custom view rendered behind the header content.
80
+ *
81
+ * @platform android
82
+ */
16
83
  backgroundSubview?: StackHeaderBackgroundSubviewAndroid | undefined;
84
+ /**
85
+ * @summary Custom view placed in the leading (start) slot of the toolbar.
86
+ *
87
+ * @platform android
88
+ */
17
89
  leadingSubview?: StackHeaderToolbarSubviewAndroid | undefined;
90
+ /**
91
+ * @summary Custom view placed in the center slot of the toolbar.
92
+ *
93
+ * @platform android
94
+ */
18
95
  centerSubview?: StackHeaderToolbarSubviewAndroid | undefined;
96
+ /**
97
+ * @summary Custom view placed in the trailing (end) slot of the toolbar.
98
+ *
99
+ * @platform android
100
+ */
19
101
  trailingSubview?: StackHeaderToolbarSubviewAndroid | undefined;
20
102
  /**
21
- * Tint color for the back button icon.
22
- * - `undefined` — use default tint (for custom images, no tint is applied)
23
- * - `ColorValue` apply a custom tint color
103
+ * @summary Tint color applied to the back button icon.
104
+ *
105
+ * When `undefined`, the default tint color is used. This applies to the
106
+ * native back arrow and `drawableResource` icons that have an associated
107
+ * tint. For `imageSource` icons, no tint is applied by default.
108
+ *
109
+ * @platform android
24
110
  */
25
111
  backButtonTintColor?: ColorValue | undefined;
26
112
  /**
27
- * Custom icon for the back button.
28
- * - `undefined` — use the native default back arrow
29
- * - `PlatformIconAndroid` use a custom icon (drawableResource or imageSource)
113
+ * @summary Custom icon for the back button.
114
+ *
115
+ * When `undefined`, the native back arrow (`homeAsUpIndicator`) is used.
116
+ *
117
+ * Supported values:
118
+ * - `{ type: 'imageSource', imageSource }`
119
+ * Uses an image from the provided resource.
120
+ *
121
+ * Remarks: `imageSource` type doesn't support SVGs on Android.
122
+ * For loading SVGs use `drawableResource` type.
123
+ *
124
+ * - `{ type: 'drawableResource', name }`
125
+ * Uses a drawable resource with the given name.
126
+ *
127
+ * Remarks: Requires passing a drawable to resources via Android Studio.
128
+ *
129
+ * @platform android
30
130
  */
31
131
  backButtonIcon?: PlatformIconAndroid | undefined;
132
+ /**
133
+ * @summary Whether the header reacts to nested scroll. Required for any
134
+ * other `scrollFlag*` prop to take effect.
135
+ *
136
+ * When `undefined`, falls back to the type-specific default:
137
+ * - `small` -> `false`
138
+ * - `medium` / `large` -> `true`
139
+ *
140
+ * @remarks
141
+ * Changing any `scrollFlag*` at runtime forces the header back to
142
+ * its fully expanded state, which produces a visible snap. Treat these
143
+ * props as a static configuration.
144
+ *
145
+ * @platform android
146
+ */
147
+ scrollFlagScroll?: boolean | undefined;
148
+ /**
149
+ * @summary When enabled, the header re-expands as soon as the user scrolls
150
+ * back toward the top of the content, regardless of the ScrollView's current
151
+ * scroll position. Without this flag, the header only begins expanding once
152
+ * the list has reached the top of its content. Requires `scrollFlagScroll`.
153
+ *
154
+ * When `undefined`, falls back to the type-specific default (`false` for
155
+ * all types).
156
+ *
157
+ * @platform android
158
+ */
159
+ scrollFlagEnterAlways?: boolean | undefined;
160
+ /**
161
+ * @summary Modifies `scrollFlagEnterAlways` so that the initial re-entry
162
+ * stops at the header's collapsed height (the toolbar); the remainder
163
+ * expands only after the ScrollView reaches the top of its content. Requires
164
+ * `scrollFlagEnterAlways`.
165
+ *
166
+ * When `undefined`, falls back to the type-specific default (`false` for
167
+ * all types).
168
+ *
169
+ * @remarks
170
+ * This flag does not have any effect for `small` header.
171
+ *
172
+ * @platform android
173
+ */
174
+ scrollFlagEnterAlwaysCollapsed?: boolean | undefined;
175
+ /**
176
+ * @summary When enabled, the header collapses only until its minimum height
177
+ * (the toolbar) remains pinned at the top. Without this flag, the entire
178
+ * header scrolls off the screen. Requires `scrollFlagScroll`.
179
+ *
180
+ * When `undefined`, falls back to the type-specific default:
181
+ * - `small` -> `false`
182
+ * - `medium` / `large` -> `true`
183
+ *
184
+ * @remarks
185
+ * Setting this flag for `small` header is equivalent to disabling
186
+ * `scrollFlagScroll`.
187
+ *
188
+ * Even when this flag is disabled, a strip with the height of the system top
189
+ * inset (status bar and display cutout) remains visible at the top.
190
+ *
191
+ * @platform android
192
+ */
193
+ scrollFlagExitUntilCollapsed?: boolean | undefined;
194
+ /**
195
+ * @summary When enabled, the header snaps to its nearest edge (fully
196
+ * expanded, or fully collapsed as defined by `scrollFlagExitUntilCollapsed`)
197
+ * after a scroll gesture ends, instead of resting partway. Requires
198
+ * `scrollFlagScroll`.
199
+ *
200
+ * When `undefined`, falls back to the type-specific default:
201
+ * - `small` -> `false`
202
+ * - `medium` / `large` -> `true`
203
+ *
204
+ * @platform android
205
+ */
206
+ scrollFlagSnap?: boolean | undefined;
32
207
  }
33
208
  //# sourceMappingURL=StackHeaderConfig.android.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StackHeaderConfig.android.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/gamma/stack/header/StackHeaderConfig.android.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACxG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElE,MAAM,MAAM,+CAA+C,GACzD,qCAAqC,CAAC;AAExC,MAAM,WAAW,gCAAgC;IAC/C,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,mCAAmC;IAClD,YAAY,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;IACjE,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC1C,iBAAiB,CAAC,EAAE,mCAAmC,GAAG,SAAS,CAAC;IACpE,cAAc,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC9D,aAAa,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC7D,eAAe,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC/D;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC7C;;;;OAIG;IACH,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAClD"}
1
+ {"version":3,"file":"StackHeaderConfig.android.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/gamma/stack/header/StackHeaderConfig.android.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACxG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElE,MAAM,MAAM,+CAA+C,GACzD,qCAAqC,CAAC;AAExC,MAAM,WAAW,gCAAgC;IAC/C;;;;;;;;;;;;;;;;OAgBG;IACH,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,mCAAmC;IAClD;;;;;;;;;;;;;;;;;;OAkBG;IACH,YAAY,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;IACjE;;;;;;;OAOG;IACH,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC1C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,mCAAmC,GAAG,SAAS,CAAC;IACpE;;;;OAIG;IACH,cAAc,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC9D;;;;OAIG;IACH,aAAa,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC7D;;;;OAIG;IACH,eAAe,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC/D;;;;;;;;OAQG;IACH,mBAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC7C;;;;;;;;;;;;;;;;;;OAkBG;IACH,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACjD;;;;;;;;;;;;;;OAcG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;;;;;;;;;OAUG;IACH,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5C;;;;;;;;;;;;;OAaG;IACH,8BAA8B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrD;;;;;;;;;;;;;;;;;OAiBG;IACH,4BAA4B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnD;;;;;;;;;;;OAWG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACtC"}
@@ -1,9 +1,46 @@
1
1
  import { StackHeaderConfigPropsAndroid } from './StackHeaderConfig.android.types';
2
2
  import { StackHeaderConfigPropsIOS } from './StackHeaderConfig.ios.types';
3
3
  export interface StackHeaderConfigPropsBase {
4
+ /**
5
+ * @summary Title displayed in the header.
6
+ *
7
+ * @platform android, ios
8
+ */
4
9
  title?: string | undefined;
10
+ /**
11
+ * @summary Specifies if the header should be hidden.
12
+ *
13
+ * @default false
14
+ *
15
+ * @platform android, ios
16
+ */
5
17
  hidden?: boolean | undefined;
18
+ /**
19
+ * @summary Specifies if the content should be rendered behind the header.
20
+ *
21
+ * When `true`, content is rendered behind the header instead of starting
22
+ * below it.
23
+ *
24
+ * On Android:
25
+ * - The header background color is not affected by this prop.
26
+ * - Setting this prop to `true` is not supported when header scrolling is
27
+ * enabled.
28
+ *
29
+ * @default false
30
+ *
31
+ * @platform android, ios
32
+ */
6
33
  transparent?: boolean | undefined;
34
+ /**
35
+ * @summary Specifies if the back button should be hidden.
36
+ *
37
+ * This prop does not apply to the root screen of the stack for which the back
38
+ * button is always hidden.
39
+ *
40
+ * @default false
41
+ *
42
+ * @platform android, ios
43
+ */
7
44
  backButtonHidden?: boolean | undefined;
8
45
  }
9
46
  export interface StackHeaderConfigProps extends StackHeaderConfigPropsBase {
@@ -1 +1 @@
1
- {"version":3,"file":"StackHeaderConfig.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/gamma/stack/header/StackHeaderConfig.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACpD,GAAG,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAC7C"}
1
+ {"version":3,"file":"StackHeaderConfig.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/gamma/stack/header/StackHeaderConfig.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B;;;;;;;;;;;;;;OAcG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC;;;;;;;;;OASG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACpD,GAAG,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAC7C"}
@@ -2,7 +2,7 @@ import { ViewProps } from 'react-native';
2
2
  export type StackHeaderSubviewTypeAndroid = 'background' | 'leading' | 'center' | 'trailing';
3
3
  export type StackHeaderSubviewCollapseModeAndroid = 'off' | 'parallax';
4
4
  export type StackHeaderSubviewProps = {
5
- children?: ViewProps['children'] | undefined;
5
+ children: NonNullable<ViewProps['children']>;
6
6
  type?: StackHeaderSubviewTypeAndroid | undefined;
7
7
  collapseMode?: StackHeaderSubviewCollapseModeAndroid | undefined;
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"StackHeaderSubview.android.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/gamma/stack/header/android/StackHeaderSubview.android.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,6BAA6B,GACrC,YAAY,GACZ,SAAS,GACT,QAAQ,GACR,UAAU,CAAC;AAEf,MAAM,MAAM,qCAAqC,GAAG,KAAK,GAAG,UAAU,CAAC;AAEvE,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IAE7C,IAAI,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACjD,YAAY,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;CAClE,CAAC"}
1
+ {"version":3,"file":"StackHeaderSubview.android.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/gamma/stack/header/android/StackHeaderSubview.android.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,6BAA6B,GACrC,YAAY,GACZ,SAAS,GACT,QAAQ,GACR,UAAU,CAAC;AAEf,MAAM,MAAM,qCAAqC,GAAG,KAAK,GAAG,UAAU,CAAC;AAEvE,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAE7C,IAAI,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACjD,YAAY,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;CAClE,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { ReactNativeElement, ViewProps } from 'react-native';
3
3
  import { type NativeProps } from '../../../../fabric/gamma/stack/StackHostNativeComponent';
4
4
  export type StackHostProps = {
5
- children: ViewProps['children'];
5
+ children: NonNullable<ViewProps['children']>;
6
6
  ref?: React.RefObject<(React.Component<NativeProps> & ReactNativeElement) | null> | undefined;
7
7
  };
8
8
  //# sourceMappingURL=StackHost.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StackHost.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/gamma/stack/host/StackHost.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAE3F,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAEhC,GAAG,CAAC,EACA,KAAK,CAAC,SAAS,CACb,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,kBAAkB,CAAC,GAAG,IAAI,CAC3D,GACD,SAAS,CAAC;CACf,CAAC"}
1
+ {"version":3,"file":"StackHost.types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/gamma/stack/host/StackHost.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAE3F,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAE7C,GAAG,CAAC,EACA,KAAK,CAAC,SAAS,CACb,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,kBAAkB,CAAC,GAAG,IAAI,CAC3D,GACD,SAAS,CAAC;CACf,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { View } from 'react-native';
2
2
  declare const SafeAreaView: typeof View;
3
- export default SafeAreaView;
3
+ export { SafeAreaView };
4
4
  //# sourceMappingURL=SafeAreaView.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeAreaView.web.d.ts","sourceRoot":"","sources":["../../../../src/components/safe-area/SafeAreaView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,QAAA,MAAM,YAAY,aAAO,CAAC;AAE1B,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"SafeAreaView.web.d.ts","sourceRoot":"","sources":["../../../../src/components/safe-area/SafeAreaView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,QAAA,MAAM,YAAY,aAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -2,7 +2,7 @@ import type { ColorValue, NativeSyntheticEvent, ViewProps } from 'react-native';
2
2
  import type { TabsHostPropsAndroid } from './TabsHost.android.types';
3
3
  import type { TabsHostPropsIOS } from './TabsHost.ios.types';
4
4
  import type { ColorScheme, Direction } from '../../shared/types';
5
- export type TabsHostNavState = {
5
+ export type TabsHostNavStateRequest = {
6
6
  /**
7
7
  * @summary Valid screen key.
8
8
  *
@@ -11,13 +11,12 @@ export type TabsHostNavState = {
11
11
  */
12
12
  selectedScreenKey: string;
13
13
  /**
14
- * @summary A number describing the provenance of the state instance.
14
+ * @summary Provenance of the navigation state this request is derived from.
15
15
  *
16
16
  * @description
17
17
  * The provenance value establishes a relationship between different navigation state instances
18
- * held by given state holder. The assumption here is that when the navigation
19
- * state is progressed (modified), the provenance number is incremented.
20
- * This creates a relationship where we can say that:
18
+ * held by given state holder. The assumption is that when the navigation state is progressed
19
+ * (modified), the provenance number is incremented. This creates a relationship where we can say:
21
20
  *
22
21
  * 1. State with provenance = n + 1 has been derived from state with provenance = n.
23
22
  * 2. For two given navigation states A and B, we can say that A *is stale* iff
@@ -28,12 +27,15 @@ export type TabsHostNavState = {
28
27
  *
29
28
  * Currently, the native implementation of TabsHost is the state holder.
30
29
  *
31
- * When you use object of this shape to trigger a navigation via {@link TabsHostPropsBase#navState},
32
- * pass here THE PROVENANCE OF THE LAST ACKNOWLEDGED state you received from native side
33
- * via {@link TabsHostPropsBase#onTabSelected}. In other words this should be the provenance number
34
- * of last confirmed state you base your update request on.
30
+ * Pass here THE PROVENANCE OF THE LAST ACKNOWLEDGED state you received from native side
31
+ * via {@link TabsHostPropsBase#onTabSelected}. In other words this should be the provenance
32
+ * number of last confirmed state you base your update request on.
33
+ *
34
+ * It is named `baseProvenance` (rather than `provenance`) to disambiguate it from the
35
+ * `provenance` field on the {@link TabSelectedEvent} payload, which carries the provenance
36
+ * of the state *resulting* from a transition.
35
37
  */
36
- provenance: number;
38
+ baseProvenance: number;
37
39
  };
38
40
  /**
39
41
  * @summary Payload of the event emitted when a tab selection occurs on the native side.
@@ -52,10 +54,18 @@ export type TabSelectedEvent = {
52
54
  /** Whether the selection triggered a special effect (e.g. scroll-to-top on repeated selection). */
53
55
  hasTriggeredSpecialEffect: boolean;
54
56
  /**
55
- * False in case the event is a result of JS-driven update. True otherwise, e.g. in case of user action (tap)
56
- * or implicit UIKit action (app resize, orientation change, etc.).
57
+ * @summary Origin (actor) that requested this tab transition.
58
+ *
59
+ * @description
60
+ * - `user` — direct native UI interaction (e.g. tab bar tap, iOS tab drag-and-drop).
61
+ * - `programmatic-js` — JS-initiated request delivered via the `navStateRequest` prop.
62
+ * - `programmatic-native` — request initiated from the native side by an actor
63
+ * integrating directly against the native container.
64
+ * - `implicit` — platform side effect not attributable to an explicit actor
65
+ * (e.g. UIKit reshuffling the selection during a horizontal size-class transition on iPad).
66
+ * Currently only emitted on iOS.
57
67
  */
58
- isNativeAction: boolean;
68
+ actionOrigin: 'user' | 'programmatic-js' | 'programmatic-native' | 'implicit';
59
69
  };
60
70
  /**
61
71
  * @summary Reason why a tab selection request was rejected by the native side.
@@ -122,15 +132,15 @@ export interface TabsHostPropsBase {
122
132
  * the update might get accepted or rejected.
123
133
  *
124
134
  * @see {@link TabsHostPropsBase#rejectStaleNavStateUpdates}
125
- * @see {@link TabsHostNavState} for description of the type model & accepted values.
135
+ * @see {@link TabsHostNavStateRequest} for description of the type model & accepted values.
126
136
  */
127
- navState: TabsHostNavState;
137
+ navStateRequest: TabsHostNavStateRequest;
128
138
  /**
129
139
  * @summary If true, the native side will reject any navigation state updates coming from JS
130
140
  * if they are stale.
131
141
  *
132
142
  * @description A navigation state update is considered stale if it is based of an stale state
133
- * (@{link TabsHostNavState#provenance} indicates the base state).
143
+ * ({@link TabsHostNavStateRequest#baseProvenance} indicates the base state).
134
144
  * A state is stale, when at the time of executing update, there already had been accepted a newer state
135
145
  * of different origin.
136
146
  *
@@ -147,7 +157,7 @@ export interface TabsHostPropsBase {
147
157
  * @default false
148
158
  */
149
159
  rejectStaleNavStateUpdates?: boolean | undefined;
150
- children?: ViewProps['children'] | undefined;
160
+ children: NonNullable<ViewProps['children']>;
151
161
  /**
152
162
  * @summary Hides the tab bar.
153
163
  *
@@ -1 +1 @@
1
- {"version":3,"file":"TabsHost.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/tabs/host/TabsHost.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIjE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAMF;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,4CAA4C;IAC5C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,UAAU,EAAE,OAAO,CAAC;IACpB,mGAAmG;IACnG,yBAAyB,EAAE,OAAO,CAAC;IACnC;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,GAAG,UAAU,CAAC;AAE/D;;;;;;;;;GASG;A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CAAC,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;;;;;;;OAQG;IACH,oBAAoB,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;IACrE;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,SAAS,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC1C;;;;;;;;;;;OAWG;IACH,WAAW,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAG9C;;;;OAIG;IACH,aAAa,CAAC,EACV,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC,GACzD,SAAS,CAAC;IAEd;;;;;OAKG;IACH,sBAAsB,CAAC,EACnB,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,yBAAyB,CAAC,KAAK,IAAI,CAAC,GAClE,SAAS,CAAC;IAEd;;;;;;OAMG;IACH,uBAAuB,CAAC,EACpB,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,0BAA0B,CAAC,KAAK,IAAI,CAAC,GACnE,SAAS,CAAC;CACf;AAED,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,GAAG,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC5C"}
@@ -1,6 +1,6 @@
1
1
  import { TabsHost } from './host';
2
2
  import { TabsScreen } from './screen';
3
- export type { TabsHostNavState, TabSelectedEvent, TabSelectionRejectedEvent, TabSelectionRejectionReason, TabsHostColorScheme, TabsHostDirection, TabsHostNativeContainerStyleProps, TabsHostPropsBase, TabsHostProps, TabsHostPropsAndroid, MoreTabSelectedEvent, TabsBottomAccessoryComponentFactory, TabBarMinimizeBehavior, TabBarControllerMode, TabsHostPropsIOS, } from './host';
3
+ export type { TabsHostNavStateRequest, TabSelectedEvent, TabSelectionRejectedEvent, TabSelectionRejectionReason, TabsHostColorScheme, TabsHostDirection, TabsHostNativeContainerStyleProps, TabsHostPropsBase, TabsHostProps, TabsHostPropsAndroid, MoreTabSelectedEvent, TabsBottomAccessoryComponentFactory, TabBarMinimizeBehavior, TabBarControllerMode, TabsHostPropsIOS, } from './host';
4
4
  export type { TabsScreenEventHandler, TabsScreenOrientation, TabsScreenPropsBase, TabsScreenProps, TabBarItemLabelVisibilityMode, TabsScreenItemStateAppearanceAndroid, TabsScreenAppearanceAndroid, TabsScreenPropsAndroid, TabsScreenBlurEffect, TabsScreenSystemItem, TabsScreenAppearanceIOS, TabsScreenItemAppearanceIOS, TabsScreenItemStateAppearanceIOS, TabsScreenPropsIOS, } from './screen';
5
5
  export type { TabsBottomAccessoryEnvironment } from './bottom-accessory';
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,iBAAiB,EACjB,iCAAiC,EACjC,iBAAiB,EACjB,aAAa,EAEb,oBAAoB,EAEpB,oBAAoB,EACpB,mCAAmC,EACnC,sBAAsB,EACtB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAEhB,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EAEf,6BAA6B,EAC7B,oCAAoC,EACpC,2BAA2B,EAC3B,sBAAsB,EAEtB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,2BAA2B,EAC3B,gCAAgC,EAChC,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAElB,YAAY,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,IAAI;;;CAGhB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,YAAY,EACV,uBAAuB,EACvB,gBAAgB,EAChB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,iBAAiB,EACjB,iCAAiC,EACjC,iBAAiB,EACjB,aAAa,EAEb,oBAAoB,EAEpB,oBAAoB,EACpB,mCAAmC,EACnC,sBAAsB,EACtB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAEhB,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EAEf,6BAA6B,EAC7B,oCAAoC,EACpC,2BAA2B,EAC3B,sBAAsB,EAEtB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,2BAA2B,EAC3B,gCAAgC,EAChC,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAElB,YAAY,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,IAAI;;;CAGhB,CAAC"}
@@ -9,6 +9,11 @@ export interface NativeProps extends ViewProps {
9
9
  backButtonTintColor?: ColorValue | undefined;
10
10
  backButtonDrawableIconResourceName?: string | undefined;
11
11
  backButtonImageIconResource?: ImageSource | undefined;
12
+ scrollFlagScroll?: CT.WithDefault<boolean, false>;
13
+ scrollFlagEnterAlways?: CT.WithDefault<boolean, false>;
14
+ scrollFlagEnterAlwaysCollapsed?: CT.WithDefault<boolean, false>;
15
+ scrollFlagExitUntilCollapsed?: CT.WithDefault<boolean, false>;
16
+ scrollFlagSnap?: CT.WithDefault<boolean, false>;
12
17
  }
13
18
  declare const _default: import("react-native").HostComponent<NativeProps>;
14
19
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"StackHeaderConfigAndroidNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/fabric/gamma/stack/StackHeaderConfigAndroidNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EACV,YAAY,IAAI,EAAE,EAClB,WAAW,EACX,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,KAAK,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACxC,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC7C,gBAAgB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAGlD,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IAEvD,mBAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC7C,kCAAkC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxD,2BAA2B,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CACvD;;AAED,wBAME"}
1
+ {"version":3,"file":"StackHeaderConfigAndroidNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/fabric/gamma/stack/StackHeaderConfigAndroidNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EACV,YAAY,IAAI,EAAE,EAClB,WAAW,EACX,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,KAAK,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACxC,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC7C,gBAAgB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAGlD,IAAI,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IAEvD,mBAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC7C,kCAAkC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxD,2BAA2B,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAEtD,gBAAgB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAClD,qBAAqB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACvD,8BAA8B,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAChE,4BAA4B,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9D,cAAc,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;CACjD;;AAED,wBAME"}
@@ -4,11 +4,11 @@ type TabSelectedEvent = {
4
4
  provenance: CT.Int32;
5
5
  isRepeated: boolean;
6
6
  hasTriggeredSpecialEffect: boolean;
7
- isNativeAction: boolean;
7
+ actionOrigin: 'user' | 'programmatic-js' | 'programmatic-native' | 'implicit';
8
8
  };
9
- type NavigationState = {
9
+ type NavigationStateRequest = {
10
10
  selectedScreenKey: string;
11
- provenance: CT.Int32;
11
+ baseProvenance: CT.Int32;
12
12
  };
13
13
  type TabSelectionRejectedEvent = Readonly<{
14
14
  selectedScreenKey: string;
@@ -24,7 +24,7 @@ type TabSelectionPreventedEvent = Readonly<{
24
24
  }>;
25
25
  type TabsHostColorScheme = 'inherit' | 'light' | 'dark';
26
26
  export interface NativeProps extends ViewProps {
27
- navState: NavigationState;
27
+ navStateRequest: NavigationStateRequest;
28
28
  rejectStaleNavStateUpdates?: CT.WithDefault<boolean, false>;
29
29
  onTabSelected?: CT.DirectEventHandler<TabSelectedEvent> | undefined;
30
30
  onTabSelectionRejected?: CT.DirectEventHandler<TabSelectionRejectedEvent> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsHostAndroidNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/tabs/TabsHostAndroidNativeComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9E,KAAK,gBAAgB,GAAG;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,yBAAyB,EAAE,OAAO,CAAC;IACnC,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC;CACtB,CAAC;AAEF,KAAK,yBAAyB,GAAG,QAAQ,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,EAAE,CAAC,KAAK,CAAC;IAC7B,eAAe,EAAE,OAAO,GAAG,UAAU,CAAC;CACvC,CAAC,CAAC;AAEH,KAAK,0BAA0B,GAAG,QAAQ,CAAC;IACzC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UA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D,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC;IAG7D,uBAAuB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;CAC1D;;AAED,wBAGG"}
@@ -4,11 +4,11 @@ type TabSelectedEvent = Readonly<{
4
4
  provenance: CT.Int32;
5
5
  isRepeated: boolean;
6
6
  hasTriggeredSpecialEffect: boolean;
7
- isNativeAction: boolean;
7
+ actionOrigin: 'user' | 'programmatic-js' | 'programmatic-native' | 'implicit';
8
8
  }>;
9
- type NavigationState = Readonly<{
9
+ type NavigationStateRequest = Readonly<{
10
10
  selectedScreenKey: string;
11
- provenance: CT.Int32;
11
+ baseProvenance: CT.Int32;
12
12
  }>;
13
13
  type TabSelectionRejectedEvent = Readonly<{
14
14
  selectedScreenKey: string;
@@ -31,7 +31,7 @@ type LayoutDirection = 'inherit' | 'ltr' | 'rtl';
31
31
  type TabBarMinimizeBehavior = 'automatic' | 'never' | 'onScrollDown' | 'onScrollUp';
32
32
  type TabBarControllerMode = 'automatic' | 'tabBar' | 'tabSidebar';
33
33
  export interface NativeProps extends ViewProps {
34
- navState: NavigationState;
34
+ navStateRequest: NavigationStateRequest;
35
35
  rejectStaleNavStateUpdates?: CT.WithDefault<boolean, false>;
36
36
  onTabSelected?: CT.DirectEventHandler<TabSelectedEvent> | undefined;
37
37
  onTabSelectionRejected?: CT.DirectEventHandler<TabSelectionRejectedEvent> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TabsHostIOSNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/fabric/tabs/TabsHostIOSNativeComponent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9E,KAAK,gBAAgB,GAAG,QAAQ,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UA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AAa,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IACpE,sBAAsB,CAAC,EACnB,EAAE,CAAC,kBAAkB,CAAC,yBAAyB,CAAC,GAChD,SAAS,CAAC;IACd,uBAAuB,CAAC,EACpB,EAAE,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,GACjD,SAAS,CAAC;IACd,iBAAiB,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;IAG5E,YAAY,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9C,8BAA8B,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACxD,WAAW,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC;IAI7D,eAAe,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;IAG7D,eAAe,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACzC,sBAAsB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,sBAAsB,EAAE,WAAW,CAAC,CAAC;IAC7E,oBAAoB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC;CAC1E;;AAED,wBAGG"}
@@ -49,6 +49,7 @@ export declare const compatibilityFlags: {
49
49
  * * https://github.com/software-mansion/react-native-screens/pull/3863
50
50
  * * https://github.com/software-mansion/react-native-screens/pull/3875
51
51
  * * https://github.com/software-mansion/react-native-screens/pull/3895
52
+ * * https://github.com/software-mansion/react-native-screens/pull/3918
52
53
  */
53
54
  readonly usesStableTabsApi: true;
54
55
  };
@@ -1 +1 @@
1
- {"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../../src/flags.ts"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;IAC7B;;;;;OAKG;;IAGH;;;;;;;;OAQG;;IAGH;;;;;OAKG;;IAGH;;;;;;;;;;;;;;;;;;;OAmBG;;CAEK,CAAC;AAqHX;;;;GAIG;AACH,eAAO,MAAM,YAAY;IACvB;;OAEG;;yCAK0C,OAAO;+CAMD,OAAO;gDAMN,OAAO;uCAMhB,OAAO;iEAOvC,OAAO;QAIhB;;;WAGG;kDAIiD,OAAO;QAG3D;;;WAGG;iDAIgD,OAAO;QAG1D;;;;;;WAMG;gDAI+C,OAAO;;IAI3D;;OAEG;;sBAKuB,OAAO;;CAIlC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../../src/flags.ts"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;IAC7B;;;;;OAKG;;IAGH;;;;;;;;OAQG;;IAGH;;;;;OAKG;;IAGH;;;;;;;;;;;;;;;;;;;;OAoBG;;CAEK,CAAC;AAqHX;;;;GAIG;AACH,eAAO,MAAM,YAAY;IACvB;;OAEG;;yCAK0C,OAAO;+CAMD,OAAO;gDAMN,OAAO;uCAMhB,OAAO;iEAOvC,OAAO;QAIhB;;;WAGG;kDAIiD,OAAO;QAG3D;;;WAGG;iDAIgD,OAAO;QAG1D;;;;;;WAMG;gDAI+C,OAAO;;IAI3D;;OAEG;;sBAKuB,OAAO;;CAIlC,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screens",
3
- "version": "4.25.0-beta.1",
3
+ "version": "4.25.0-beta.2",
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 ../)",
@@ -113,7 +113,7 @@ export type SplitHostCommands = {
113
113
  };
114
114
 
115
115
  export interface SplitHostProps extends ViewProps {
116
- children?: React.ReactNode | undefined;
116
+ children: NonNullable<React.ReactNode>;
117
117
  ref?: React.Ref<SplitHostCommands> | undefined;
118
118
 
119
119
  /**