react-native 0.88.0-rc.3 → 0.88.0-rc.5

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 (35) hide show
  1. package/Libraries/Animated/components/AnimatedScrollView.js +2 -2
  2. package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +8 -5
  3. package/Libraries/Components/Button.js +4 -2
  4. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +7 -4
  5. package/Libraries/Components/Pressable/Pressable.js +4 -2
  6. package/Libraries/Components/TextInput/InputAccessoryView.js +8 -6
  7. package/Libraries/Components/TextInput/TextInput.js +5 -5
  8. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +85 -84
  9. package/Libraries/Components/View/ViewAccessibility.js +8 -4
  10. package/Libraries/Core/ReactNativeVersion.js +1 -1
  11. package/Libraries/Image/ImageProps.js +38 -18
  12. package/Libraries/Modal/Modal.js +4 -2
  13. package/Libraries/StyleSheet/StyleSheet.js +3 -9
  14. package/Libraries/StyleSheet/StyleSheet.js.flow +3 -9
  15. package/Libraries/StyleSheet/StyleSheetTypes.js +12 -9
  16. package/Libraries/StyleSheet/splitLayoutProps.js +6 -6
  17. package/Libraries/Text/Text.js +6 -6
  18. package/React/Base/RCTVersion.m +1 -1
  19. package/ReactAndroid/gradle.properties +1 -1
  20. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  21. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java +16 -2
  22. package/ReactAndroid/src/main/res/views/uimanager/values/ids.xml +3 -0
  23. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  24. package/package.json +7 -7
  25. package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +7 -6
  26. package/types_generated/Libraries/Components/Button.d.ts +30 -29
  27. package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +8 -7
  28. package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +5 -4
  29. package/types_generated/Libraries/Components/TextInput/InputAccessoryView.d.ts +7 -6
  30. package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +26 -25
  31. package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +23 -22
  32. package/types_generated/Libraries/Image/ImageProps.d.ts +39 -36
  33. package/types_generated/Libraries/Modal/Modal.d.ts +4 -3
  34. package/types_generated/Libraries/StyleSheet/StyleSheet.d.ts +5 -8
  35. package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +10 -10
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<a69c6bc79300ec06cb703e69a92ceee6>>
7
+ * @generated SignedSource<<619e0dddb6f57da495dbb99fd5cb011f>>
8
8
  *
9
9
  * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/react-native/Libraries/Components/View/ViewAccessibility.js
@@ -207,14 +207,14 @@ export type AccessibilityPropsIOS = Readonly<{
207
207
  */
208
208
  accessibilityRespondsToUserInteraction?: boolean | undefined;
209
209
  }>;
210
- export interface AccessibilityProps extends Readonly<Omit<AccessibilityPropsAndroid, keyof AccessibilityPropsIOS | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<AccessibilityPropsIOS, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden">> {
210
+ type AccessibilityPropsCore = Readonly<{
211
211
  /**
212
212
  * When `true`, indicates that the view is an accessibility element.
213
213
  * By default, all the touchable elements are accessible.
214
214
  *
215
215
  * See https://reactnative.dev/docs/view#accessible
216
216
  */
217
- readonly accessible?: boolean | undefined;
217
+ accessible?: boolean | undefined;
218
218
  /**
219
219
  * Overrides the text that's read by the screen reader when the user interacts
220
220
  * with the element. By default, the label is constructed by traversing all
@@ -222,7 +222,7 @@ export interface AccessibilityProps extends Readonly<Omit<AccessibilityPropsAndr
222
222
  *
223
223
  * See https://reactnative.dev/docs/view#accessibilitylabel
224
224
  */
225
- readonly accessibilityLabel?: string | undefined;
225
+ accessibilityLabel?: string | undefined;
226
226
  /**
227
227
  * An accessibility hint helps users understand what will happen when they perform
228
228
  * an action on the accessibility element when that result is not obvious from the
@@ -231,52 +231,53 @@ export interface AccessibilityProps extends Readonly<Omit<AccessibilityPropsAndr
231
231
  *
232
232
  * See https://reactnative.dev/docs/view#accessibilityHint
233
233
  */
234
- readonly accessibilityHint?: string | undefined;
234
+ accessibilityHint?: string | undefined;
235
235
  /**
236
236
  * Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel
237
237
  * https://github.com/facebook/react-native/issues/34424
238
238
  */
239
- readonly "aria-label"?: string | undefined;
239
+ "aria-label"?: string | undefined;
240
240
  /**
241
241
  * Indicates to accessibility services to treat UI component like a specific role.
242
242
  */
243
- readonly accessibilityRole?: AccessibilityRole | undefined;
243
+ accessibilityRole?: AccessibilityRole | undefined;
244
244
  /**
245
245
  * Alias for accessibilityRole
246
246
  */
247
- readonly role?: Role | undefined;
247
+ role?: Role | undefined;
248
248
  /**
249
249
  * Indicates to accessibility services that UI Component is in a specific State.
250
250
  */
251
- readonly accessibilityState?: AccessibilityState | undefined;
252
- readonly accessibilityValue?: AccessibilityValue | undefined;
251
+ accessibilityState?: AccessibilityState | undefined;
252
+ accessibilityValue?: AccessibilityValue | undefined;
253
253
  /**
254
254
  * alias for accessibilityState
255
255
  * It represents textual description of a component's value, or for range-based components, such as sliders and progress bars.
256
256
  */
257
- readonly "aria-valuemax"?: AccessibilityValue["max"] | undefined;
258
- readonly "aria-valuemin"?: AccessibilityValue["min"] | undefined;
259
- readonly "aria-valuenow"?: AccessibilityValue["now"] | undefined;
260
- readonly "aria-valuetext"?: AccessibilityValue["text"] | undefined;
257
+ "aria-valuemax"?: AccessibilityValue["max"] | undefined;
258
+ "aria-valuemin"?: AccessibilityValue["min"] | undefined;
259
+ "aria-valuenow"?: AccessibilityValue["now"] | undefined;
260
+ "aria-valuetext"?: AccessibilityValue["text"] | undefined;
261
261
  /**
262
262
  * Provides an array of custom actions available for accessibility.
263
263
  *
264
264
  */
265
- readonly accessibilityActions?: ReadonlyArray<AccessibilityActionInfo> | undefined;
265
+ accessibilityActions?: ReadonlyArray<AccessibilityActionInfo> | undefined;
266
266
  /**
267
267
  * alias for accessibilityState
268
268
  *
269
269
  * see https://reactnative.dev/docs/accessibility#accessibilitystate
270
270
  */
271
- readonly "aria-busy"?: boolean | undefined;
272
- readonly "aria-checked"?: (boolean | undefined) | "mixed" | undefined;
273
- readonly "aria-disabled"?: boolean | undefined;
274
- readonly "aria-expanded"?: boolean | undefined;
275
- readonly "aria-selected"?: boolean | undefined;
271
+ "aria-busy"?: boolean | undefined;
272
+ "aria-checked"?: (boolean | undefined) | "mixed" | undefined;
273
+ "aria-disabled"?: boolean | undefined;
274
+ "aria-expanded"?: boolean | undefined;
275
+ "aria-selected"?: boolean | undefined;
276
276
  /** A value indicating whether the accessibility elements contained within
277
277
  * this accessibility element are hidden.
278
278
  *
279
279
  * See https://reactnative.dev/docs/view#aria-hidden
280
280
  */
281
- readonly "aria-hidden"?: boolean | undefined;
282
- }
281
+ "aria-hidden"?: boolean | undefined;
282
+ }>;
283
+ export interface AccessibilityProps extends Readonly<Omit<AccessibilityPropsAndroid, keyof AccessibilityPropsIOS | keyof AccessibilityPropsCore | keyof {}> & Omit<AccessibilityPropsIOS, keyof AccessibilityPropsCore | keyof {}> & Omit<AccessibilityPropsCore, keyof {}>> {}
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<7b7516f0d7f97f437407051a5b415587>>
7
+ * @generated SignedSource<<635cfd572953eaee74aa3e8d7707316d>>
8
8
  *
9
9
  * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/react-native/Libraries/Image/ImageProps.js
@@ -119,42 +119,42 @@ export type ImagePropsAndroid = Readonly<{
119
119
  */
120
120
  resizeMultiplier?: number | undefined;
121
121
  }>;
122
- export interface ImagePropsBase extends Readonly<Omit<Omit<ViewProps, "style">, "accessible" | "internal_analyticTag" | "accessibilityLabel" | "aria-label" | "aria-labelledby" | "alt" | "blurRadius" | "capInsets" | "crossOrigin" | "height" | "width" | "onError" | "onLayout" | "onLoad" | "onLoadEnd" | "onLoadStart" | "source" | "referrerPolicy" | "resizeMode" | "testID" | "tintColor" | "src" | "srcSet" | "children">> {
122
+ type ImagePropsBaseCore = Readonly<{
123
123
  /**
124
124
  * When `true`, indicates the image is an accessibility element.
125
125
  */
126
- readonly accessible?: boolean | undefined;
126
+ accessible?: boolean | undefined;
127
127
  /**
128
128
  * Internal prop to set an "Analytics Tag" that can will be set on the Image.
129
129
  */
130
- readonly internal_analyticTag?: string | undefined;
130
+ internal_analyticTag?: string | undefined;
131
131
  /**
132
132
  * The text that's read by the screen reader when the user interacts with
133
133
  * the image.
134
134
  */
135
- readonly accessibilityLabel?: string | undefined;
135
+ accessibilityLabel?: string | undefined;
136
136
  /**
137
137
  * Alias for `accessibilityLabel`.
138
138
  */
139
- readonly "aria-label"?: string | undefined;
139
+ "aria-label"?: string | undefined;
140
140
  /**
141
141
  * Represents the `nativeID` of the associated label. When the assistive
142
142
  * technology focuses on the component with this prop.
143
143
  *
144
144
  * @platform android
145
145
  */
146
- readonly "aria-labelledby"?: string | undefined;
146
+ "aria-labelledby"?: string | undefined;
147
147
  /**
148
148
  * Alternative text description of the image, read by the screen reader
149
149
  * when the user interacts with it. Automatically marks the element as
150
150
  * accessible.
151
151
  */
152
- readonly alt?: string | undefined;
152
+ alt?: string | undefined;
153
153
  /**
154
154
  * The blur radius of the blur filter added to the image. On iOS, needs to
155
155
  * be more than 5.
156
156
  */
157
- readonly blurRadius?: number | undefined;
157
+ blurRadius?: number | undefined;
158
158
  /**
159
159
  * When the image is resized, the corners of the size specified by
160
160
  * `capInsets` stay a fixed size, but the center content and borders of
@@ -163,42 +163,42 @@ export interface ImagePropsBase extends Readonly<Omit<Omit<ViewProps, "style">,
163
163
  *
164
164
  * @platform ios
165
165
  */
166
- readonly capInsets?: EdgeInsetsProp | undefined;
166
+ capInsets?: EdgeInsetsProp | undefined;
167
167
  /**
168
168
  * CORS mode for fetching the image resource. When unset, the image
169
169
  * request is made without the CORS header.
170
170
  *
171
171
  * @default `'anonymous'`
172
172
  */
173
- readonly crossOrigin?: ("anonymous" | "use-credentials") | undefined;
173
+ crossOrigin?: ("anonymous" | "use-credentials") | undefined;
174
174
  /**
175
175
  * Height of the image component.
176
176
  */
177
- readonly height?: number | undefined;
177
+ height?: number | undefined;
178
178
  /**
179
179
  * Width of the image component.
180
180
  */
181
- readonly width?: number | undefined;
181
+ width?: number | undefined;
182
182
  /**
183
183
  * Invoked on load error.
184
184
  */
185
- readonly onError?: ((event: ImageErrorEvent) => void) | undefined;
185
+ onError?: ((event: ImageErrorEvent) => void) | undefined;
186
186
  /**
187
187
  * Invoked on mount and on layout changes.
188
188
  */
189
- readonly onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
189
+ onLayout?: ((event: LayoutChangeEvent) => unknown) | undefined;
190
190
  /**
191
191
  * Invoked when load completes successfully.
192
192
  */
193
- readonly onLoad?: ((event: ImageLoadEvent) => void) | undefined;
193
+ onLoad?: ((event: ImageLoadEvent) => void) | undefined;
194
194
  /**
195
195
  * Invoked when load either succeeds or fails.
196
196
  */
197
- readonly onLoadEnd?: (() => void) | undefined;
197
+ onLoadEnd?: (() => void) | undefined;
198
198
  /**
199
199
  * Invoked on load start.
200
200
  */
201
- readonly onLoadStart?: (() => void) | undefined;
201
+ onLoadStart?: (() => void) | undefined;
202
202
  /**
203
203
  * The image source (either a remote URL or a local file resource).
204
204
  *
@@ -211,13 +211,13 @@ export interface ImagePropsBase extends Readonly<Omit<Omit<ViewProps, "style">,
211
211
  * The currently supported formats are `png`, `jpg`, `jpeg`, `bmp`, `gif`,
212
212
  * `webp` (Android only), and `psd` (iOS only).
213
213
  */
214
- readonly source?: ImageSource | undefined;
214
+ source?: ImageSource | undefined;
215
215
  /**
216
216
  * Which referrer to use when fetching the image resource.
217
217
  *
218
218
  * @default `'strict-origin-when-cross-origin'`
219
219
  */
220
- readonly referrerPolicy?: ("no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined;
220
+ referrerPolicy?: ("no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined;
221
221
  /**
222
222
  * Determines how to resize the image when the frame doesn't match the raw
223
223
  * image dimensions.
@@ -245,44 +245,47 @@ export interface ImagePropsBase extends Readonly<Omit<Omit<ViewProps, "style">,
245
245
  *
246
246
  * @default `'cover'`
247
247
  */
248
- readonly resizeMode?: ImageResizeMode | undefined;
249
- readonly testID?: string | undefined;
248
+ resizeMode?: ImageResizeMode | undefined;
249
+ testID?: string | undefined;
250
250
  /**
251
251
  * Changes the color of all non-transparent pixels to the `tintColor`.
252
252
  */
253
- readonly tintColor?: ColorValue | undefined;
253
+ tintColor?: ColorValue | undefined;
254
254
  /**
255
255
  * A remote URL string for the image resource. Takes precedence over
256
256
  * `source`.
257
257
  */
258
- readonly src?: string | undefined;
258
+ src?: string | undefined;
259
259
  /**
260
260
  * Comma-separated list of candidate image sources with pixel density
261
261
  * descriptors.
262
262
  */
263
- readonly srcSet?: string | undefined;
264
- readonly children?: never | undefined;
265
- }
266
- export interface ImageProps extends Readonly<Omit<ImagePropsIOS, keyof ImagePropsAndroid | keyof ImagePropsBase | "style"> & Omit<ImagePropsAndroid, keyof ImagePropsBase | "style"> & Omit<ImagePropsBase, "style">> {
263
+ srcSet?: string | undefined;
264
+ children?: never | undefined;
265
+ }>;
266
+ export interface ImagePropsBase extends Readonly<Omit<Omit<ViewProps, "accessibilityLabel" | "accessible" | "aria-label" | "aria-labelledby" | "children" | "onLayout" | "style" | "testID">, keyof ImagePropsBaseCore | keyof {}> & Omit<ImagePropsBaseCore, keyof {}>> {}
267
+ type ImagePropsCore = Readonly<{
267
268
  /**
268
269
  * Style applied to the `Image` component.
269
270
  */
270
- readonly style?: ImageStyleProp | undefined;
271
- }
272
- export interface ImageBackgroundProps extends Readonly<Omit<ImageProps, "children" | "style" | "imageStyle" | "imageRef">> {
273
- readonly children?: React.ReactNode | undefined;
271
+ style?: ImageStyleProp | undefined;
272
+ }>;
273
+ export interface ImageProps extends Readonly<Omit<ImagePropsIOS, keyof ImagePropsAndroid | keyof ImagePropsBase | keyof ImagePropsCore | keyof {}> & Omit<ImagePropsAndroid, keyof ImagePropsBase | keyof ImagePropsCore | keyof {}> & Omit<ImagePropsBase, keyof ImagePropsCore | keyof {}> & Omit<ImagePropsCore, keyof {}>> {}
274
+ type ImageBackgroundPropsCore = Readonly<{
275
+ children?: React.ReactNode | undefined;
274
276
  /**
275
277
  * Style applied to the outer `View` wrapper. Accepts `ViewStyle` props
276
278
  * rather than `ImageStyle` props.
277
279
  */
278
- readonly style?: ViewStyleProp | undefined;
280
+ style?: ViewStyleProp | undefined;
279
281
  /**
280
282
  * Style applied to the inner `Image` component.
281
283
  */
282
- readonly imageStyle?: ImageStyleProp | undefined;
284
+ imageStyle?: ImageStyleProp | undefined;
283
285
  /**
284
286
  * A ref setter assigned the element node of the inner `Image` component
285
287
  * when mounted.
286
288
  */
287
- readonly imageRef?: React.Ref<React.ComponentRef<ImageType>> | undefined;
288
- }
289
+ imageRef?: React.Ref<React.ComponentRef<ImageType>> | undefined;
290
+ }>;
291
+ export interface ImageBackgroundProps extends Readonly<Omit<Omit<ImageProps, "children" | "style">, keyof ImageBackgroundPropsCore | keyof {}> & Omit<ImageBackgroundPropsCore, keyof {}>> {}
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<f32cf1474c77deea920b5f94b6f5ca3c>>
7
+ * @generated SignedSource<<8aa13070fe981018e699a106f795c485>>
8
8
  *
9
9
  * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/react-native/Libraries/Modal/Modal.js
@@ -19,7 +19,7 @@ export type ModalInstance = HostInstance;
19
19
  type OrientationChangeEvent = Readonly<{
20
20
  orientation: "portrait" | "landscape";
21
21
  }>;
22
- export interface ModalBaseProps {
22
+ type ModalBasePropsCore = {
23
23
  /**
24
24
  * Controls how the modal animates. `'slide'` slides in from the bottom,
25
25
  * `'fade'` fades into view, `'none'` appears without animation.
@@ -59,7 +59,8 @@ export interface ModalBaseProps {
59
59
  * A ref to the native Modal component.
60
60
  */
61
61
  modalRef?: React.Ref<ModalInstance> | undefined;
62
- }
62
+ };
63
+ export interface ModalBaseProps extends ModalBasePropsCore {}
63
64
  export type ModalPropsIOS = {
64
65
  /**
65
66
  * Controls how the modal appears.
@@ -4,14 +4,14 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<8fe671e5c6033a988e08b0d8935b583f>>
7
+ * @generated SignedSource<<623e76f9437ba20a11572749b12259b1>>
8
8
  *
9
9
  * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/react-native/Libraries/StyleSheet/StyleSheet.js.flow
11
11
  */
12
12
 
13
13
  export * as default from "./StyleSheetExports";
14
- import type { ____ColorValue_Internal, ____DangerouslyImpreciseStyle_Internal, ____DangerouslyImpreciseStyleProp_Internal, ____FontVariant_Internal, ____ImageStyle_Internal, ____ImageStyleProp_Internal, ____TextStyle_Internal, ____TextStyleProp_Internal, ____TransformStyle_Internal, ____ViewStyle_Internal, ____ViewStyleProp_Internal, NativeColorValue } from "./StyleSheetTypes";
14
+ import type { ____ColorValue_Internal, ____DangerouslyImpreciseStyle_Internal, ____DangerouslyImpreciseStyleProp_Internal, ____FontVariant_Internal, ____ImageStyleProp_Internal, ____TextStyleProp_Internal, ____TransformStyle_Internal, ____ViewStyleProp_Internal, NativeColorValue } from "./StyleSheetTypes";
15
15
  export type { BoxShadowValue, FilterFunction, NativeColorValue, StyleProp } from "./StyleSheetTypes";
16
16
  export type StyleSheetProperties = {
17
17
  hairlineWidth: number;
@@ -105,8 +105,7 @@ export type TypeForStyleKey<key extends keyof ____DangerouslyImpreciseStyle_Inte
105
105
  * object of styles to pass to a View that can't be precomputed with
106
106
  * StyleSheet.create.
107
107
  */
108
-
109
- export interface ViewStyle extends ____ViewStyle_Internal {}
108
+ export type { ViewStyle } from "./StyleSheetTypes";
110
109
  /**
111
110
  * This type is an object of the different possible style
112
111
  * properties that can be specified for Text.
@@ -122,8 +121,7 @@ export interface ViewStyle extends ____ViewStyle_Internal {}
122
121
  * object of styles to pass to a Text that can't be precomputed with
123
122
  * StyleSheet.create.
124
123
  */
125
-
126
- export interface TextStyle extends ____TextStyle_Internal {}
124
+ export type { TextStyle } from "./StyleSheetTypes";
127
125
  /**
128
126
  * This type is an object of the different possible style
129
127
  * properties that can be specified for Image.
@@ -139,8 +137,7 @@ export interface TextStyle extends ____TextStyle_Internal {}
139
137
  * object of styles to pass to an Image that can't be precomputed with
140
138
  * StyleSheet.create.
141
139
  */
142
-
143
- export interface ImageStyle extends ____ImageStyle_Internal {}
140
+ export type { ImageStyle } from "./StyleSheetTypes";
144
141
  /**
145
142
  * WARNING: You probably shouldn't be using this type. This type is an object
146
143
  * with all possible style keys and their values. Note that this isn't
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<a0a1280377cfcd5df69ae281d8efcec2>>
7
+ * @generated SignedSource<<d19244de86354877501aa61c92839115>>
8
8
  *
9
9
  * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/react-native/Libraries/StyleSheet/StyleSheetTypes.js
@@ -783,7 +783,7 @@ export type ____ViewStyle_InternalBase = Readonly<{
783
783
  isolation?: "auto" | "isolate" | undefined;
784
784
  }>;
785
785
  export type ____ViewStyle_InternalCore = Readonly<Omit<____LayoutStyle_Internal, keyof ____ShadowStyle_Internal | keyof ____TransformStyle_Internal | keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____ShadowStyle_Internal, keyof ____TransformStyle_Internal | keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____TransformStyle_Internal, keyof ____ViewStyle_InternalBase | keyof {}> & Omit<____ViewStyle_InternalBase, keyof {}> & {}>;
786
- export type ____ViewStyle_Internal = Readonly<Omit<____ViewStyle_InternalCore, keyof ____ViewStyle_InternalOverrides | keyof {}> & Omit<____ViewStyle_InternalOverrides, keyof {}> & {}>;
786
+ export interface ViewStyle extends Readonly<Omit<____ViewStyle_InternalCore, keyof ____ViewStyle_InternalOverrides | keyof {}> & Omit<____ViewStyle_InternalOverrides, keyof {}>> {}
787
787
  export type FontStyleType = {
788
788
  fontFamily: string;
789
789
  fontWeight: ____FontWeight_Internal;
@@ -843,17 +843,17 @@ type ____TextStyle_InternalBase = Readonly<{
843
843
  verticalAlign?: "auto" | "top" | "bottom" | "middle" | undefined;
844
844
  writingDirection?: "auto" | "ltr" | "rtl" | undefined;
845
845
  }>;
846
- export type ____TextStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, keyof ____TextStyle_InternalBase | keyof {}> & Omit<____TextStyle_InternalBase, keyof {}> & {}>;
847
- export type ____TextStyle_Internal = Readonly<Omit<____TextStyle_InternalCore, keyof ____TextStyle_InternalOverrides | keyof {}> & Omit<____TextStyle_InternalOverrides, keyof {}> & {}>;
848
- export type ____ImageStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, "resizeMode" | "objectFit" | "tintColor" | "overlayColor" | "overflow"> & {
846
+ export type ____TextStyle_InternalCore = Readonly<Omit<ViewStyle, keyof ____TextStyle_InternalBase | keyof {}> & Omit<____TextStyle_InternalBase, keyof {}> & {}>;
847
+ export interface TextStyle extends Readonly<Omit<____TextStyle_InternalCore, keyof ____TextStyle_InternalOverrides | keyof {}> & Omit<____TextStyle_InternalOverrides, keyof {}>> {}
848
+ export type ____ImageStyle_InternalCore = Readonly<Omit<ViewStyle, "resizeMode" | "objectFit" | "tintColor" | "overlayColor" | "overflow"> & {
849
849
  resizeMode?: ImageResizeMode | undefined;
850
850
  objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
851
851
  tintColor?: ____ColorValue_Internal | undefined;
852
852
  overlayColor?: ColorValue | undefined;
853
853
  overflow?: "visible" | "hidden" | undefined;
854
854
  }>;
855
- export type ____ImageStyle_Internal = Readonly<Omit<____ImageStyle_InternalCore, keyof ____ImageStyle_InternalOverrides | keyof {}> & Omit<____ImageStyle_InternalOverrides, keyof {}> & {}>;
856
- export type ____DangerouslyImpreciseStyle_InternalCore = Readonly<Omit<____TextStyle_Internal, "resizeMode" | "objectFit" | "tintColor" | "overlayColor"> & {
855
+ export interface ImageStyle extends Readonly<Omit<____ImageStyle_InternalCore, keyof ____ImageStyle_InternalOverrides | keyof {}> & Omit<____ImageStyle_InternalOverrides, keyof {}>> {}
856
+ export type ____DangerouslyImpreciseStyle_InternalCore = Readonly<Omit<TextStyle, "resizeMode" | "objectFit" | "tintColor" | "overlayColor"> & {
857
857
  resizeMode?: ImageResizeMode | undefined;
858
858
  objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
859
859
  tintColor?: ____ColorValue_Internal | undefined;
@@ -863,9 +863,9 @@ export type ____DangerouslyImpreciseStyle_Internal = Readonly<Omit<____Dangerous
863
863
  export type StyleProp<T> = null | void | T | false | "" | ReadonlyArray<StyleProp<T>>;
864
864
  export type ____DangerouslyImpreciseStyleProp_Internal = StyleProp<Partial<____DangerouslyImpreciseStyle_Internal>>;
865
865
  export type ____DangerouslyImpreciseAnimatedStyleProp_Internal = WithAnimatedValue<StyleProp<Partial<____DangerouslyImpreciseStyle_Internal>>>;
866
- export type ____ViewStyleProp_Internal = StyleProp<Readonly<Partial<____ViewStyle_Internal>>>;
867
- export type ____TextStyleProp_Internal = StyleProp<Readonly<Partial<____TextStyle_Internal>>>;
868
- export type ____ImageStyleProp_Internal = StyleProp<Readonly<Partial<____ImageStyle_Internal>>>;
866
+ export type ____ViewStyleProp_Internal = StyleProp<Readonly<Partial<ViewStyle>>>;
867
+ export type ____TextStyleProp_Internal = StyleProp<Readonly<Partial<TextStyle>>>;
868
+ export type ____ImageStyleProp_Internal = StyleProp<Readonly<Partial<ImageStyle>>>;
869
869
  export type ____Styles_Internal = {
870
870
  readonly [key: string]: Partial<____DangerouslyImpreciseStyle_Internal>;
871
871
  };