Skip to content

Commit 568bc32

Browse files
regenerate API snapshot for backgroundImage
1 parent 7609846 commit 568bc32

1 file changed

Lines changed: 106 additions & 57 deletions

File tree

packages/react-native/ReactNativeApi.d.ts

Lines changed: 106 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<08dd369849273136812ea5edbda6e1df>>
7+
* @generated SignedSource<<c8038b3d71914d5649335150e00bf340>>
88
*
99
* This file was generated by scripts/js-api/build-types/index.js.
1010
*/
@@ -936,6 +936,7 @@ declare type ____ViewStyle_Internal = Readonly<
936936
declare type ____ViewStyle_InternalBase = {
937937
readonly backfaceVisibility?: "hidden" | "visible"
938938
readonly backgroundColor?: ____ColorValue_Internal
939+
readonly backgroundImage?: ReadonlyArray<BackgroundImageValue> | string
939940
readonly borderBlockColor?: ____ColorValue_Internal
940941
readonly borderBlockEndColor?: ____ColorValue_Internal
941942
readonly borderBlockStartColor?: ____ColorValue_Internal
@@ -1713,6 +1714,7 @@ declare type AttributeType<T, V> =
17131714
readonly process?: (arg1: V) => T
17141715
}
17151716
declare type AutoCapitalize = "characters" | "none" | "sentences" | "words"
1717+
declare type BackgroundImageValue = LinearGradientValue | RadialGradientValue
17161718
declare type BackHandler = typeof BackHandler
17171719
declare type BackPressEventName = "backPress" | "hardwareBackPress"
17181720
declare type BaseKeyboardEvent = {
@@ -3014,6 +3016,14 @@ declare interface LegacyHostInstanceMethods {
30143016
): void
30153017
setNativeProps(nativeProps: {}): void
30163018
}
3019+
declare type LinearGradientValue = {
3020+
colorStops: ReadonlyArray<{
3021+
color: ____ColorValue_Internal
3022+
positions?: ReadonlyArray<string>
3023+
}>
3024+
direction?: string
3025+
type: "linear-gradient"
3026+
}
30173027
declare type Linking = typeof Linking
30183028
declare type LinkingEventDefinitions = {
30193029
url: [
@@ -3960,6 +3970,45 @@ declare type PushNotificationPermissions = {
39603970
badge: boolean
39613971
sound: boolean
39623972
}
3973+
declare type RadialExtent =
3974+
| "closest-corner"
3975+
| "closest-side"
3976+
| "farthest-corner"
3977+
| "farthest-side"
3978+
declare type RadialGradientPosition =
3979+
| {
3980+
bottom: number | string
3981+
left: number | string
3982+
}
3983+
| {
3984+
bottom: number | string
3985+
right: number | string
3986+
}
3987+
| {
3988+
left: number | string
3989+
top: number | string
3990+
}
3991+
| {
3992+
right: number | string
3993+
top: number | string
3994+
}
3995+
declare type RadialGradientShape = "circle" | "ellipse"
3996+
declare type RadialGradientSize =
3997+
| RadialExtent
3998+
| {
3999+
x: number | string
4000+
y: number | string
4001+
}
4002+
declare type RadialGradientValue = {
4003+
colorStops: ReadonlyArray<{
4004+
color: ____ColorValue_Internal
4005+
positions?: ReadonlyArray<string>
4006+
}>
4007+
position: RadialGradientPosition
4008+
shape: RadialGradientShape
4009+
size: RadialGradientSize
4010+
type: "radial-gradient"
4011+
}
39634012
declare type Rationale = {
39644013
buttonNegative?: string
39654014
buttonNeutral?: string
@@ -5999,17 +6048,17 @@ export {
59996048
AccessibilityValue, // cf8bcb74
60006049
ActionSheetIOS, // b558559e
60016050
ActionSheetIOSOptions, // 1756eb5a
6002-
ActivityIndicator, // f06b0687
6003-
ActivityIndicatorProps, // 5e976856
6051+
ActivityIndicator, // 089ca05d
6052+
ActivityIndicatorProps, // b7e332fa
60046053
Alert, // 5bf12165
60056054
AlertButton, // bf1a3b60
60066055
AlertButtonStyle, // ec9fb242
60076056
AlertOptions, // a0cdac0f
60086057
AlertType, // 5ab91217
60096058
AndroidKeyboardEvent, // e03becc8
6010-
Animated, // 1a47480c
6059+
Animated, // f3ee00f8
60116060
AppConfig, // ce4209a7
6012-
AppRegistry, // 5edf0524
6061+
AppRegistry, // 1e444b14
60136062
AppState, // 12012be5
60146063
AppStateEvent, // 80f034c3
60156064
AppStateStatus, // 447e5ef2
@@ -6019,7 +6068,7 @@ export {
60196068
BackPressEventName, // 4620fb76
60206069
BlurEvent, // e6151a1f
60216070
BoxShadowValue, // b679703f
6022-
Button, // 869e5a89
6071+
Button, // 9ec4369b
60236072
ButtonProps, // 349967e6
60246073
Clipboard, // 41addb89
60256074
CodegenTypes, // 0b8108a8
@@ -6038,8 +6087,8 @@ export {
60386087
DimensionsPayload, // 653bc26c
60396088
DisplayMetrics, // 1dc35cef
60406089
DisplayMetricsAndroid, // 872e62eb
6041-
DrawerLayoutAndroid, // eb4bcfa5
6042-
DrawerLayoutAndroidProps, // 1ddb208e
6090+
DrawerLayoutAndroid, // 1bfb1fa4
6091+
DrawerLayoutAndroidProps, // c2e2c8e7
60436092
DrawerSlideEvent, // 0256d35a
60446093
DropShadowValue, // e9df2606
60456094
DynamicColorIOS, // d96c228c
@@ -6054,8 +6103,8 @@ export {
60546103
EventSubscription, // b8d084aa
60556104
ExtendedExceptionData, // 5a6ccf5a
60566105
FilterFunction, // bf24c0e3
6057-
FlatList, // e47faa4e
6058-
FlatListProps, // 22cacca0
6106+
FlatList, // f02f132f
6107+
FlatListProps, // 67ebab46
60596108
FocusEvent, // 62fc1eb8
60606109
FontVariant, // 7c7558bb
60616110
GestureResponderEvent, // f693e9a5
@@ -6067,34 +6116,34 @@ export {
60676116
IEventEmitter, // fbef6131
60686117
IOSKeyboardEvent, // e67bfe3a
60696118
IgnorePattern, // ec6f6ece
6070-
Image, // 1891541a
6071-
ImageBackground, // cf95f60b
6072-
ImageBackgroundProps, // c68c896d
6119+
Image, // 3d15af6c
6120+
ImageBackground, // 4b122ab2
6121+
ImageBackgroundProps, // 9a8c5b6d
60736122
ImageErrorEvent, // d3ee606e
60746123
ImageLoadEvent, // 6b547ea5
60756124
ImageProgressEventIOS, // 4c866a82
6076-
ImageProps, // 801d1e1c
6125+
ImageProps, // 361afa82
60776126
ImagePropsAndroid, // 9fd9bcbb
6078-
ImagePropsBase, // 372b652b
6127+
ImagePropsBase, // e0b6f7ac
60796128
ImagePropsIOS, // c4ae0c06
60806129
ImageRequireSource, // 681d683b
60816130
ImageResolvedAssetSource, // f3060931
60826131
ImageSize, // 1c47cf88
60836132
ImageSource, // 48c7f316
60846133
ImageSourcePropType, // bfb5e5c6
6085-
ImageStyle, // ad6a6dee
6134+
ImageStyle, // b184020c
60866135
ImageURISource, // 016eb083
6087-
InputAccessoryView, // d664987a
6088-
InputAccessoryViewProps, // ac36060b
6136+
InputAccessoryView, // d1fc274a
6137+
InputAccessoryViewProps, // d94dc290
60896138
InputModeOptions, // 4e8581b9
60906139
Insets, // e7fe432a
60916140
InteractionManager, // c324d6e3
60926141
KeyDownEvent, // d4971b72
60936142
KeyEvent, // 20fa4267
60946143
KeyUpEvent, // bc6bd87b
60956144
Keyboard, // 49414c97
6096-
KeyboardAvoidingView, // c8c29c8d
6097-
KeyboardAvoidingViewProps, // 4114f649
6145+
KeyboardAvoidingView, // ac1dc3df
6146+
KeyboardAvoidingViewProps, // 64fb6511
60986147
KeyboardEvent, // c3f895d4
60996148
KeyboardEventEasing, // af4091c8
61006149
KeyboardEventName, // 59299ad6
@@ -6119,9 +6168,9 @@ export {
61196168
MeasureInWindowOnSuccessCallback, // a285f598
61206169
MeasureLayoutOnSuccessCallback, // 3592502a
61216170
MeasureOnSuccessCallback, // 82824e59
6122-
Modal, // bdd9bb3f
6171+
Modal, // 57fcfdf0
61236172
ModalBaseProps, // 3cca97dc
6124-
ModalProps, // aa4211df
6173+
ModalProps, // 0cca9df8
61256174
ModalPropsAndroid, // 515fb173
61266175
ModalPropsIOS, // 144bbc95
61276176
ModeChangeEvent, // a5e9864f
@@ -6159,13 +6208,13 @@ export {
61596208
PointerEvent, // fe3989a1
61606209
PressabilityConfig, // 6dedcb61
61616210
PressabilityEventHandlers, // 3e6c0f56
6162-
Pressable, // 0241ba70
6211+
Pressable, // 951d473f
61636212
PressableAndroidRippleConfig, // ee32eaca
6164-
PressableProps, // a9048420
6213+
PressableProps, // 602a0871
61656214
PressableStateCallbackType, // 9af36561
61666215
ProcessedColorValue, // 33f74304
6167-
ProgressBarAndroid, // 00fcd180
6168-
ProgressBarAndroidProps, // f59f8f03
6216+
ProgressBarAndroid, // 7b1f73ba
6217+
ProgressBarAndroidProps, // 3066ec2a
61696218
PromiseTask, // 5102c862
61706219
PublicRootInstance, // 8040afd7
61716220
PublicTextInstance, // cd0d8f8d
@@ -6174,8 +6223,8 @@ export {
61746223
PushNotificationPermissions, // c2e7ae4f
61756224
Rationale, // 5df1b1c1
61766225
ReactNativeVersion, // abd76827
6177-
RefreshControl, // ed67a3b2
6178-
RefreshControlProps, // bfc35644
6226+
RefreshControl, // 9f1d4711
6227+
RefreshControlProps, // 434965f0
61796228
RefreshControlPropsAndroid, // 99f64c97
61806229
RefreshControlPropsIOS, // 72a36381
61816230
Registry, // 6c39216d
@@ -6184,24 +6233,24 @@ export {
61846233
Role, // af7b889d
61856234
RootTag, // 3cd10504
61866235
RootTagContext, // 38bfc8f6
6187-
RootViewStyleProvider, // d4818465
6236+
RootViewStyleProvider, // 8792d506
61886237
Runnable, // 594dd93a
61896238
Runnables, // 4367c557
6190-
SafeAreaView, // a7cd92bb
6239+
SafeAreaView, // c4db96cf
61916240
ScaledSize, // 07e417c7
61926241
ScrollEvent, // 5d529218
6193-
ScrollResponderType, // 197f0107
6242+
ScrollResponderType, // cfd3f5d3
61946243
ScrollToLocationParamsType, // d7ecdad1
6195-
ScrollView, // 938178e6
6196-
ScrollViewImperativeMethods, // 27f6b917
6197-
ScrollViewProps, // d5d9f043
6244+
ScrollView, // 656c844e
6245+
ScrollViewImperativeMethods, // 424d1901
6246+
ScrollViewProps, // 7c856b6d
61986247
ScrollViewPropsAndroid, // 44210553
61996248
ScrollViewPropsIOS, // b34b696c
62006249
ScrollViewScrollToOptions, // 3313411e
62016250
SectionBase, // b376bddc
6202-
SectionList, // 6b202d76
6251+
SectionList, // c35fb56d
62036252
SectionListData, // 119baf83
6204-
SectionListProps, // 6bdbf0ef
6253+
SectionListProps, // 8305b9b3
62056254
SectionListRenderItem, // 1fad0435
62066255
SectionListRenderItemInfo, // 745e1992
62076256
Separators, // 6a45f7e3
@@ -6218,57 +6267,57 @@ export {
62186267
StatusBarProps, // 06c98add
62196268
StatusBarStyle, // 986b2051
62206269
StyleProp, // fa0e9b4a
6221-
StyleSheet, // e77dd046
6270+
StyleSheet, // 3305b34f
62226271
SubmitBehavior, // c4ddf490
6223-
Switch, // 015be3f7
6272+
Switch, // c3f24d61
62246273
SwitchChangeEvent, // 63e9c50b
6225-
SwitchProps, // 0dbf23ea
6274+
SwitchProps, // 98f757d0
62266275
Systrace, // 626d178c
62276276
TVViewPropsIOS, // 330ce7b5
62286277
TargetedEvent, // 16e98910
62296278
TaskProvider, // 266dedf2
6230-
Text, // 608149e8
6279+
Text, // 6dac0f5d
62316280
TextContentType, // 239b3ecc
6232-
TextInput, // 3b7016bb
6281+
TextInput, // af2057e5
62336282
TextInputAndroidProps, // 3f09ce49
62346283
TextInputChangeEvent, // 3ab11bb4
62356284
TextInputContentSizeChangeEvent, // f71f8571
62366285
TextInputEndEditingEvent, // e5f70633
62376286
TextInputFocusEvent, // 020507e6
62386287
TextInputIOSProps, // 0d05a855
62396288
TextInputKeyPressEvent, // 3924ad9b
6240-
TextInputProps, // 96c07405
6289+
TextInputProps, // 3567ff1c
62416290
TextInputSelectionChangeEvent, // d4d10630
62426291
TextInputSubmitEditingEvent, // 22885c31
62436292
TextLayoutEvent, // 73ab173e
6244-
TextProps, // 4c29419c
6245-
TextStyle, // bb9b7a58
6293+
TextProps, // 4013fa39
6294+
TextStyle, // facf52f4
62466295
ToastAndroid, // 88a8969a
62476296
Touchable, // da3239ee
6248-
TouchableHighlight, // 49bbefe7
6249-
TouchableHighlightProps, // f14a1131
6250-
TouchableNativeFeedback, // d89b59a8
6251-
TouchableNativeFeedbackProps, // a88ade2e
6252-
TouchableOpacity, // 8d1b023b
6253-
TouchableOpacityProps, // 908e84b9
6254-
TouchableWithoutFeedback, // 71d446ec
6255-
TouchableWithoutFeedbackProps, // e0c1c566
6297+
TouchableHighlight, // 0ddba8fe
6298+
TouchableHighlightProps, // 7c755130
6299+
TouchableNativeFeedback, // df7641ec
6300+
TouchableNativeFeedbackProps, // 3b914a6d
6301+
TouchableOpacity, // 42bb6a98
6302+
TouchableOpacityProps, // a41625dc
6303+
TouchableWithoutFeedback, // eeeb6e7d
6304+
TouchableWithoutFeedbackProps, // d4ec4680
62566305
TransformsStyle, // 65e70f18
62576306
TurboModule, // dfe29706
62586307
TurboModuleRegistry, // 4ace6db2
62596308
UIManager, // a1a7cc01
62606309
UTFSequence, // ad625158
62616310
Vibration, // 31e4bbf8
6262-
View, // 234d8db5
6263-
ViewProps, // 6d644e8b
6311+
View, // 1b7f6ab3
6312+
ViewProps, // 98c1b867
62646313
ViewPropsAndroid, // ac650c5c
62656314
ViewPropsIOS, // 58ee19bf
6266-
ViewStyle, // 00a0f8fb
6315+
ViewStyle, // e45056b1
62676316
VirtualViewMode, // 6be59722
62686317
VirtualizedList, // 68c7345e
6269-
VirtualizedListProps, // 9453ce86
6318+
VirtualizedListProps, // 5ec964f2
62706319
VirtualizedSectionList, // 9fd9cd61
6271-
VirtualizedSectionListProps, // 7a993da5
6320+
VirtualizedSectionListProps, // 2ae73cd2
62726321
WrapperComponentProvider, // 9cf3844c
62736322
codegenNativeCommands, // 628a7c0a
62746323
codegenNativeComponent, // 2baac257

0 commit comments

Comments
 (0)