Skip to content

Commit 866b153

Browse files
committed
chore(types): update React Native API
1 parent 5aaee64 commit 866b153

1 file changed

Lines changed: 76 additions & 66 deletions

File tree

‎packages/react-native/ReactNativeApi.d.ts‎

Lines changed: 76 additions & 66 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<<2199d280ef42e2a63ec4d6c405af893a>>
7+
* @generated SignedSource<<3dba34aa9f9b26815e076a32ac3f7637>>
88
*
99
* This file was generated by scripts/js-api/build-types/index.js.
1010
*/
@@ -1589,7 +1589,8 @@ declare type AttributeType<T, V> =
15891589
readonly process?: (arg1: V) => T
15901590
}
15911591
declare type AutoCapitalize = "characters" | "none" | "sentences" | "words"
1592-
declare type BackgroundImageValue = LinearGradientValue | RadialGradientValue
1592+
declare type BackgroundImageValue =
1593+
ConicGradientValue | LinearGradientValue | RadialGradientValue
15931594
declare type BackgroundPositionValue =
15941595
| {
15951596
bottom: number | string
@@ -1778,6 +1779,15 @@ declare function configureNext(
17781779
onAnimationDidEnd?: OnAnimationDidEndCallback,
17791780
onAnimationDidFail?: OnAnimationDidFailCallback,
17801781
): void
1782+
declare type ConicGradientValue = {
1783+
colorStops: ReadonlyArray<{
1784+
color: ____ColorValue_Internal
1785+
positions?: ReadonlyArray<string>
1786+
}>
1787+
from?: string
1788+
position?: RadialGradientPosition
1789+
type: "conic-gradient"
1790+
}
17811791
declare type ContentAvailable = 1 | null | void
17821792
declare type Context = {
17831793
readonly cellKey: string | undefined
@@ -5752,18 +5762,18 @@ export {
57525762
AccessibilityValue, // cf8bcb74
57535763
ActionSheetIOS, // b558559e
57545764
ActionSheetIOSOptions, // 1756eb5a
5755-
ActivityIndicator, // 085c0bdd
5765+
ActivityIndicator, // 5c425112
57565766
ActivityIndicatorInstance, // a82dd4e7
5757-
ActivityIndicatorProps, // 7597a087
5767+
ActivityIndicatorProps, // d7516cd9
57585768
Alert, // a398a509
57595769
AlertButton, // bf1a3b60
57605770
AlertButtonStyle, // ec9fb242
57615771
AlertOptions, // 8a116d2a
57625772
AlertType, // 5ab91217
57635773
AndroidKeyboardEvent, // e03becc8
5764-
Animated, // 8ed2ff0a
5774+
Animated, // 68343bb2
57655775
AppConfig, // 35c0ca70
5766-
AppRegistry, // 5bc2bced
5776+
AppRegistry, // 19ccbeca
57675777
AppState, // 12012be5
57685778
AppStateEvent, // 80f034c3
57695779
AppStateStatus, // 447e5ef2
@@ -5775,8 +5785,8 @@ export {
57755785
BackPressEventName, // 4620fb76
57765786
BlurEvent, // 4ba4f941
57775787
BoxShadowValue, // b679703f
5778-
Button, // af384e38
5779-
ButtonInstance, // 3f6e29ea
5788+
Button, // d37d614e
5789+
ButtonInstance, // 342c271e
57805790
ButtonProps, // 21c5780c
57815791
Clipboard, // 41addb89
57825792
CodegenTypes, // ab4986cc
@@ -5795,9 +5805,9 @@ export {
57955805
DimensionsPayload, // 653bc26c
57965806
DisplayMetrics, // 1dc35cef
57975807
DisplayMetricsAndroid, // 872e62eb
5798-
DrawerLayoutAndroid, // 787ba7e2
5808+
DrawerLayoutAndroid, // 82bb4e6a
57995809
DrawerLayoutAndroidInstance, // c0694352
5800-
DrawerLayoutAndroidProps, // 658000f3
5810+
DrawerLayoutAndroidProps, // a6bcbc90
58015811
DrawerSlideEvent, // c4ab8fba
58025812
DropShadowValue, // e9df2606
58035813
DynamicColorIOS, // d96c228c
@@ -5813,9 +5823,9 @@ export {
58135823
EventSubscription, // b8d084aa
58145824
ExtendedExceptionData, // 5a6ccf5a
58155825
FilterFunction, // bf24c0e3
5816-
FlatList, // 901c50da
5817-
FlatListInstance, // c2dd86eb
5818-
FlatListProps, // 3bd11d32
5826+
FlatList, // 3d8bde04
5827+
FlatListInstance, // 543847e3
5828+
FlatListProps, // fcc3b7bc
58195829
FocusEvent, // 850f1517
58205830
FontVariant, // 7c7558bb
58215831
GestureResponderEvent, // 14d3e77a
@@ -5826,37 +5836,37 @@ export {
58265836
IEventEmitter, // fbef6131
58275837
IOSKeyboardEvent, // e67bfe3a
58285838
IgnorePattern, // ec6f6ece
5829-
Image, // 23ec0708
5830-
ImageBackground, // 4922fef8
5831-
ImageBackgroundInstance, // a693a792
5832-
ImageBackgroundProps, // 9a257b18
5839+
Image, // 047e6a3c
5840+
ImageBackground, // 29325eb1
5841+
ImageBackgroundInstance, // d6c605e8
5842+
ImageBackgroundProps, // aa3e835c
58335843
ImageErrorEvent, // 978933f4
58345844
ImageInstance, // 9a100753
58355845
ImageLoadEvent, // 77f0b718
58365846
ImageProgressEventIOS, // 445331a4
5837-
ImageProps, // 9acb1a99
5847+
ImageProps, // 14e2f9c5
58385848
ImagePropsAndroid, // ee00e1d5
5839-
ImagePropsBase, // ceee1a0e
5849+
ImagePropsBase, // 035153a6
58405850
ImagePropsIOS, // 9e19c85d
58415851
ImageRequireSource, // 681d683b
58425852
ImageResizeMode, // d51106e2
58435853
ImageResolvedAssetSource, // f3060931
58445854
ImageSize, // 1c47cf88
58455855
ImageSource, // ea31cf4a
58465856
ImageSourcePropType, // f522e093
5847-
ImageStyle, // c972b651
5857+
ImageStyle, // d7ad9013
58485858
ImageURISource, // 443d047c
5849-
InputAccessoryView, // 69da97d8
5850-
InputAccessoryViewProps, // 6c4ba417
5859+
InputAccessoryView, // c53c9e38
5860+
InputAccessoryViewProps, // 44e0a667
58515861
InputModeOptions, // 4e8581b9
58525862
Insets, // e7fe432a
58535863
KeyDownEvent, // 5b147614
58545864
KeyEvent, // 20fa4267
58555865
KeyUpEvent, // 57f832c5
58565866
Keyboard, // 49414c97
5857-
KeyboardAvoidingView, // 206bbaad
5858-
KeyboardAvoidingViewInstance, // 9fc99a9a
5859-
KeyboardAvoidingViewProps, // 1661b30c
5867+
KeyboardAvoidingView, // 6e66c9e2
5868+
KeyboardAvoidingViewInstance, // 24079016
5869+
KeyboardAvoidingViewProps, // 8d254545
58605870
KeyboardEvent, // c3f895d4
58615871
KeyboardEventEasing, // af4091c8
58625872
KeyboardEventName, // 59299ad6
@@ -5881,10 +5891,10 @@ export {
58815891
MeasureInWindowOnSuccessCallback, // a285f598
58825892
MeasureLayoutOnSuccessCallback, // 3592502a
58835893
MeasureOnSuccessCallback, // 82824e59
5884-
Modal, // 8e222ce5
5894+
Modal, // d63c125c
58855895
ModalBaseProps, // c294cc46
58865896
ModalInstance, // d466ce77
5887-
ModalProps, // dc3dfe04
5897+
ModalProps, // 487f9665
58885898
ModalPropsAndroid, // 515fb173
58895899
ModalPropsIOS, // 664ecb7e
58905900
ModeChangeEvent, // f64bf69d
@@ -5920,25 +5930,25 @@ export {
59205930
PointerEvent, // ff599afe
59215931
PressabilityConfig, // fea539a5
59225932
PressabilityEventHandlers, // c222648b
5923-
Pressable, // 148fa542
5933+
Pressable, // 0888d4a0
59245934
PressableAndroidRippleConfig, // ee32eaca
59255935
PressableInstance, // eebfe911
5926-
PressableProps, // 0610ea0a
5936+
PressableProps, // febd3f0c
59275937
PressableStateCallbackType, // 9af36561
59285938
ProcessedColorValue, // 33f74304
5929-
ProgressBarAndroid, // 48034c58
5939+
ProgressBarAndroid, // db2a71f0
59305940
ProgressBarAndroidInstance, // ab545ef1
5931-
ProgressBarAndroidProps, // 9c1b93a7
5941+
ProgressBarAndroidProps, // 045cf479
59325942
PublicRootInstance, // 8040afd7
59335943
PublicTextInstance, // 6937c7bf
59345944
PushNotificationEventName, // 84e7e150
59355945
PushNotificationIOS, // b4d1fe78
59365946
PushNotificationPermissions, // c2e7ae4f
59375947
Rationale, // 5df1b1c1
59385948
ReactNativeVersion, // abd76827
5939-
RefreshControl, // 76837d3f
5940-
RefreshControlInstance, // 4c4b2643
5941-
RefreshControlProps, // d41ad947
5949+
RefreshControl, // 2b4a6e48
5950+
RefreshControlInstance, // 209d1dc5
5951+
RefreshControlProps, // b8de2eee
59425952
RefreshControlPropsAndroid, // 8ac931ca
59435953
RefreshControlPropsIOS, // 72a36381
59445954
Registry, // 6c39216d
@@ -5947,27 +5957,27 @@ export {
59475957
Role, // af7b889d
59485958
RootTag, // 3cd10504
59495959
RootTagContext, // 38bfc8f6
5950-
RootViewStyleProvider, // a4547094
5960+
RootViewStyleProvider, // cbd29769
59515961
Runnable, // 594dd93a
59525962
Runnables, // 4367c557
5953-
SafeAreaView, // 718d200c
5963+
SafeAreaView, // 2d255698
59545964
SafeAreaViewInstance, // 21dba39c
59555965
ScaledSize, // 07e417c7
59565966
ScrollEvent, // d7abdd0a
5957-
ScrollResponderType, // 603c33d5
5967+
ScrollResponderType, // 8bc47f88
59585968
ScrollToLocationParamsType, // d7ecdad1
5959-
ScrollView, // a644be1d
5960-
ScrollViewImperativeMethods, // 480a85e1
5961-
ScrollViewInstance, // 1030cf7f
5962-
ScrollViewProps, // 901ba6eb
5969+
ScrollView, // ffbbfd69
5970+
ScrollViewImperativeMethods, // 71f50c92
5971+
ScrollViewInstance, // ae094073
5972+
ScrollViewProps, // eceb867d
59635973
ScrollViewPropsAndroid, // 02f3df2e
59645974
ScrollViewPropsIOS, // 807cb4f6
59655975
ScrollViewScrollToOptions, // 3313411e
59665976
SectionBase, // 9f13db00
5967-
SectionList, // d3af1e2c
5977+
SectionList, // 8a476d07
59685978
SectionListData, // 1a4de01a
5969-
SectionListInstance, // 07b91520
5970-
SectionListProps, // ea05da1f
5979+
SectionListInstance, // e4120348
5980+
SectionListProps, // e355d2d9
59715981
SectionListRenderItem, // 715b2086
59725982
SectionListRenderItemInfo, // 4a48a922
59735983
Separators, // 6a45f7e3
@@ -5984,19 +5994,19 @@ export {
59845994
StatusBarProps, // c2a44d88
59855995
StatusBarStyle, // 78f53eea
59865996
StyleProp, // fa0e9b4a
5987-
StyleSheet, // f7fe407a
5997+
StyleSheet, // 1a05d208
59885998
SubmitBehavior, // c4ddf490
5989-
Switch, // b3e75e79
5999+
Switch, // d8a18a06
59906000
SwitchChangeEvent, // 899635b1
59916001
SwitchInstance, // 3c50eec5
5992-
SwitchProps, // 31d4e162
6002+
SwitchProps, // 82497648
59936003
Systrace, // 626d178c
59946004
TVViewPropsIOS, // 330ce7b5
59956005
TargetedEvent, // 16e98910
59966006
TaskProvider, // 266dedf2
5997-
Text, // 6f2a9453
6007+
Text, // 9702274d
59986008
TextContentType, // 239b3ecc
5999-
TextInput, // e7689ddb
6009+
TextInput, // 8b6c410e
60006010
TextInputAndroidProps, // 9ebbc103
60016011
TextInputBlurEvent, // b77af40e
60026012
TextInputChangeEvent, // f55eef98
@@ -6006,44 +6016,44 @@ export {
60066016
TextInputIOSProps, // fb3c9327
60076017
TextInputInstance, // 5a0c0e0d
60086018
TextInputKeyPressEvent, // 546c5d07
6009-
TextInputProps, // 665a095f
6019+
TextInputProps, // b54430f7
60106020
TextInputSelectionChangeEvent, // e58f2abc
60116021
TextInputSubmitEditingEvent, // 6bcb2aa5
60126022
TextInstance, // 05463a96
60136023
TextLayoutEvent, // 3f54186f
6014-
TextProps, // 278dd30a
6015-
TextStyle, // bea26d6b
6024+
TextProps, // a905782a
6025+
TextStyle, // 501318b2
60166026
ToastAndroid, // 88a8969a
6017-
TouchableHighlight, // 4b9ae440
6027+
TouchableHighlight, // 610d50ce
60186028
TouchableHighlightInstance, // b510c0eb
6019-
TouchableHighlightProps, // 8e8c6680
6020-
TouchableNativeFeedback, // 49b246df
6021-
TouchableNativeFeedbackInstance, // 95dc4a1d
6022-
TouchableNativeFeedbackProps, // b32639f0
6023-
TouchableOpacity, // 36c0926f
6029+
TouchableHighlightProps, // afef80ce
6030+
TouchableNativeFeedback, // 10c921f9
6031+
TouchableNativeFeedbackInstance, // 03a71f97
6032+
TouchableNativeFeedbackProps, // 1e08221b
6033+
TouchableOpacity, // 21cbed92
60246034
TouchableOpacityInstance, // b186055b
6025-
TouchableOpacityProps, // d7db3879
6026-
TouchableWithoutFeedback, // 4bf9d65a
6027-
TouchableWithoutFeedbackProps, // 931958b6
6035+
TouchableOpacityProps, // 9a7742d3
6036+
TouchableWithoutFeedback, // e8aec8dd
6037+
TouchableWithoutFeedbackProps, // 862ca2c8
60286038
TransformsStyle, // 65e70f18
60296039
TurboModule, // dfe29706
60306040
TurboModuleRegistry, // 4ace6db2
60316041
UIManager, // afbcdf05
60326042
UTFSequence, // ad625158
60336043
Vibration, // 31e4bbf8
6034-
View, // c31ebc5e
6044+
View, // d125a60a
60356045
ViewInstance, // ffde5573
6036-
ViewProps, // e2c15ef7
6046+
ViewProps, // 5ada1ad2
60376047
ViewPropsAndroid, // 55e81851
60386048
ViewPropsIOS, // 58ee19bf
6039-
ViewStyle, // 1848a17c
6049+
ViewStyle, // 9a414f0b
60406050
VirtualViewMode, // 6be59722
60416051
VirtualizedList, // 68c7345e
60426052
VirtualizedListInstance, // 423ee7c0
6043-
VirtualizedListProps, // 3194847b
6053+
VirtualizedListProps, // 2dd840cb
60446054
VirtualizedSectionList, // 9fd9cd61
60456055
VirtualizedSectionListInstance, // 12b706d5
6046-
VirtualizedSectionListProps, // f42f54c4
6056+
VirtualizedSectionListProps, // 4e1c4c63
60476057
WrapperComponentProvider, // 9ef54e61
60486058
codegenNativeCommands, // 628a7c0a
60496059
codegenNativeComponent, // 32a1bca6

0 commit comments

Comments
 (0)