Skip to content

Commit 8a24d6f

Browse files
committed
chore(types): update React Native API
1 parent ad7bfd0 commit 8a24d6f

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<<3ce9599aceb36dd1f09ded3db3332daa>>
7+
* @generated SignedSource<<39c5cbcfe8610724d7a8df66ca6bb392>>
88
*
99
* This file was generated by scripts/js-api/build-types/index.js.
1010
*/
@@ -1579,7 +1579,8 @@ declare type AttributeType<T, V> =
15791579
readonly process?: (arg1: V) => T
15801580
}
15811581
declare type AutoCapitalize = "characters" | "none" | "sentences" | "words"
1582-
declare type BackgroundImageValue = LinearGradientValue | RadialGradientValue
1582+
declare type BackgroundImageValue =
1583+
ConicGradientValue | LinearGradientValue | RadialGradientValue
15831584
declare type BackgroundPositionValue =
15841585
| {
15851586
bottom: number | string
@@ -1768,6 +1769,15 @@ declare function configureNext(
17681769
onAnimationDidEnd?: OnAnimationDidEndCallback,
17691770
onAnimationDidFail?: OnAnimationDidFailCallback,
17701771
): void
1772+
declare type ConicGradientValue = {
1773+
colorStops: ReadonlyArray<{
1774+
color: ____ColorValue_Internal
1775+
positions?: ReadonlyArray<string>
1776+
}>
1777+
from?: string
1778+
position?: RadialGradientPosition
1779+
type: "conic-gradient"
1780+
}
17711781
declare type ContentAvailable = 1 | null | void
17721782
declare type Context = {
17731783
readonly cellKey: string | undefined
@@ -5762,18 +5772,18 @@ export {
57625772
AccessibilityValue, // cf8bcb74
57635773
ActionSheetIOS, // b558559e
57645774
ActionSheetIOSOptions, // 1756eb5a
5765-
ActivityIndicator, // b8c4f05a
5775+
ActivityIndicator, // 2a77d6b9
57665776
ActivityIndicatorInstance, // 1b5e0dd5
5767-
ActivityIndicatorProps, // ab46ec7e
5777+
ActivityIndicatorProps, // 6527bf4e
57685778
Alert, // a398a509
57695779
AlertButton, // bf1a3b60
57705780
AlertButtonStyle, // ec9fb242
57715781
AlertOptions, // 8a116d2a
57725782
AlertType, // 5ab91217
57735783
AndroidKeyboardEvent, // e03becc8
5774-
Animated, // 990adcb6
5784+
Animated, // bde3a579
57755785
AppConfig, // 35c0ca70
5776-
AppRegistry, // edec2a30
5786+
AppRegistry, // 64c1b19e
57775787
AppState, // 12012be5
57785788
AppStateEvent, // 80f034c3
57795789
AppStateStatus, // 447e5ef2
@@ -5785,8 +5795,8 @@ export {
57855795
BackPressEventName, // 4620fb76
57865796
BlurEvent, // d5e68e96
57875797
BoxShadowValue, // b679703f
5788-
Button, // 35d2ff2d
5789-
ButtonInstance, // 8d4861a8
5798+
Button, // 7672d022
5799+
ButtonInstance, // 91aff59d
57905800
ButtonProps, // 5f462ce0
57915801
Clipboard, // 41addb89
57925802
CodegenTypes, // 9067fd06
@@ -5805,9 +5815,9 @@ export {
58055815
DimensionsPayload, // 653bc26c
58065816
DisplayMetrics, // 1dc35cef
58075817
DisplayMetricsAndroid, // 872e62eb
5808-
DrawerLayoutAndroid, // 9385b054
5818+
DrawerLayoutAndroid, // 99450940
58095819
DrawerLayoutAndroidInstance, // aa243cbf
5810-
DrawerLayoutAndroidProps, // a4ddbda9
5820+
DrawerLayoutAndroidProps, // 3ea2ed54
58115821
DrawerSlideEvent, // 38213685
58125822
DropShadowValue, // e9df2606
58135823
DynamicColorIOS, // d96c228c
@@ -5823,9 +5833,9 @@ export {
58235833
EventSubscription, // b8d084aa
58245834
ExtendedExceptionData, // 5a6ccf5a
58255835
FilterFunction, // bf24c0e3
5826-
FlatList, // 76dfb3dc
5827-
FlatListInstance, // 1d6b2ce4
5828-
FlatListProps, // 14bbe483
5836+
FlatList, // 0701da0e
5837+
FlatListInstance, // 7959d6fc
5838+
FlatListProps, // b02e81f8
58295839
FocusEvent, // f2e4363d
58305840
FontVariant, // 7c7558bb
58315841
GestureResponderEvent, // 5cd2a663
@@ -5836,37 +5846,37 @@ export {
58365846
IEventEmitter, // fbef6131
58375847
IOSKeyboardEvent, // e67bfe3a
58385848
IgnorePattern, // ec6f6ece
5839-
Image, // 048b0a2a
5840-
ImageBackground, // 3d3dc917
5841-
ImageBackgroundInstance, // 400a5719
5842-
ImageBackgroundProps, // 43ae7a8a
5849+
Image, // 37612471
5850+
ImageBackground, // 994249b3
5851+
ImageBackgroundInstance, // 04e72daa
5852+
ImageBackgroundProps, // 3ea19f79
58435853
ImageErrorEvent, // b6227714
58445854
ImageInstance, // df709524
58455855
ImageLoadEvent, // 31709c38
58465856
ImageProgressEventIOS, // 9243d460
5847-
ImageProps, // 1fcb686b
5857+
ImageProps, // 2ac90fbe
58485858
ImagePropsAndroid, // ee00e1d5
5849-
ImagePropsBase, // c744a0da
5859+
ImagePropsBase, // 44d85ef6
58505860
ImagePropsIOS, // 1998f91a
58515861
ImageRequireSource, // 681d683b
58525862
ImageResizeMode, // d51106e2
58535863
ImageResolvedAssetSource, // f3060931
58545864
ImageSize, // 1c47cf88
58555865
ImageSource, // ea31cf4a
58565866
ImageSourcePropType, // f522e093
5857-
ImageStyle, // 85dc694a
5867+
ImageStyle, // 5b107e73
58585868
ImageURISource, // 443d047c
5859-
InputAccessoryView, // ab6e2a66
5860-
InputAccessoryViewProps, // 73685b83
5869+
InputAccessoryView, // 812a1e43
5870+
InputAccessoryViewProps, // 61c51e3b
58615871
InputModeOptions, // 4e8581b9
58625872
Insets, // e7fe432a
58635873
KeyDownEvent, // a12d46ea
58645874
KeyEvent, // 20fa4267
58655875
KeyUpEvent, // 0b5d0144
58665876
Keyboard, // 49414c97
5867-
KeyboardAvoidingView, // 9dab9980
5868-
KeyboardAvoidingViewInstance, // 2772afb3
5869-
KeyboardAvoidingViewProps, // 84e4ee76
5877+
KeyboardAvoidingView, // 5c66ea15
5878+
KeyboardAvoidingViewInstance, // 28f9b88c
5879+
KeyboardAvoidingViewProps, // fed9ba6c
58705880
KeyboardEvent, // c3f895d4
58715881
KeyboardEventEasing, // af4091c8
58725882
KeyboardEventName, // 59299ad6
@@ -5891,10 +5901,10 @@ export {
58915901
MeasureInWindowOnSuccessCallback, // a285f598
58925902
MeasureLayoutOnSuccessCallback, // 3592502a
58935903
MeasureOnSuccessCallback, // 82824e59
5894-
Modal, // 62f03222
5904+
Modal, // f7a05aeb
58955905
ModalBaseProps, // a6e4334f
58965906
ModalInstance, // 0f04c1bf
5897-
ModalProps, // b9129837
5907+
ModalProps, // d40c4384
58985908
ModalPropsAndroid, // 515fb173
58995909
ModalPropsIOS, // a65a8f5c
59005910
ModeChangeEvent, // ccf30dc4
@@ -5930,25 +5940,25 @@ export {
59305940
PointerEvent, // a506d9d7
59315941
PressabilityConfig, // 0fd655fe
59325942
PressabilityEventHandlers, // be359ba3
5933-
Pressable, // c52c0096
5943+
Pressable, // 27fb5558
59345944
PressableAndroidRippleConfig, // ee32eaca
59355945
PressableInstance, // ed26f040
5936-
PressableProps, // 97cdaaa1
5946+
PressableProps, // 89cbcfd8
59375947
PressableStateCallbackType, // f83728cd
59385948
ProcessedColorValue, // 33f74304
5939-
ProgressBarAndroid, // a2626c30
5949+
ProgressBarAndroid, // 5d675ae5
59405950
ProgressBarAndroidInstance, // f17242be
5941-
ProgressBarAndroidProps, // 7205b2a5
5951+
ProgressBarAndroidProps, // 9ed201cc
59425952
PublicRootInstance, // 8040afd7
59435953
PublicTextInstance, // f9adf69a
59445954
PushNotificationEventName, // 84e7e150
59455955
PushNotificationIOS, // b4d1fe78
59465956
PushNotificationPermissions, // c2e7ae4f
59475957
Rationale, // 5df1b1c1
59485958
ReactNativeVersion, // abd76827
5949-
RefreshControl, // db24bb7e
5950-
RefreshControlInstance, // d076b876
5951-
RefreshControlProps, // f95b4cd0
5959+
RefreshControl, // a28bb205
5960+
RefreshControlInstance, // 4107d49a
5961+
RefreshControlProps, // e4bad0f5
59525962
RefreshControlPropsAndroid, // 8ac931ca
59535963
RefreshControlPropsIOS, // 72a36381
59545964
Registry, // 6c39216d
@@ -5957,27 +5967,27 @@ export {
59575967
Role, // af7b889d
59585968
RootTag, // 3cd10504
59595969
RootTagContext, // 38bfc8f6
5960-
RootViewStyleProvider, // d5909148
5970+
RootViewStyleProvider, // 69ce4edc
59615971
Runnable, // 594dd93a
59625972
Runnables, // 4367c557
5963-
SafeAreaView, // d917b6ec
5973+
SafeAreaView, // 0121b68c
59645974
SafeAreaViewInstance, // 2b5d4391
59655975
ScaledSize, // 07e417c7
59665976
ScrollEvent, // 956fdb27
5967-
ScrollResponderType, // e41ccb2a
5977+
ScrollResponderType, // d3cde407
59685978
ScrollToLocationParamsType, // d7ecdad1
5969-
ScrollView, // 651915c2
5970-
ScrollViewImperativeMethods, // cb73da62
5971-
ScrollViewInstance, // 099b48e2
5972-
ScrollViewProps, // 7e38d97b
5979+
ScrollView, // 2e5fe920
5980+
ScrollViewImperativeMethods, // 501bd894
5981+
ScrollViewInstance, // 55f51160
5982+
ScrollViewProps, // ea31f904
59735983
ScrollViewPropsAndroid, // 02f3df2e
59745984
ScrollViewPropsIOS, // c378379b
59755985
ScrollViewScrollToOptions, // 3313411e
59765986
SectionBase, // 9f13db00
5977-
SectionList, // 542a3017
5987+
SectionList, // 51d22bef
59785988
SectionListData, // 1a4de01a
5979-
SectionListInstance, // ea2f03e4
5980-
SectionListProps, // d6282d2b
5989+
SectionListInstance, // e072ef81
5990+
SectionListProps, // 42ec37da
59815991
SectionListRenderItem, // 715b2086
59825992
SectionListRenderItemInfo, // 4a48a922
59835993
Separators, // 6a45f7e3
@@ -5994,19 +6004,19 @@ export {
59946004
StatusBarProps, // c2a44d88
59956005
StatusBarStyle, // 78f53eea
59966006
StyleProp, // fa0e9b4a
5997-
StyleSheet, // 8bb13f55
6007+
StyleSheet, // 5707f87f
59986008
SubmitBehavior, // c4ddf490
5999-
Switch, // 408983ac
6009+
Switch, // 0a7053aa
60006010
SwitchChangeEvent, // 3b472666
60016011
SwitchInstance, // 73dce99f
6002-
SwitchProps, // fc2b9dfe
6012+
SwitchProps, // bbb2dad6
60036013
Systrace, // 626d178c
60046014
TVViewPropsIOS, // 1c612e4e
60056015
TargetedEvent, // 16e98910
60066016
TaskProvider, // 266dedf2
6007-
Text, // 39a4d091
6017+
Text, // 21a12bda
60086018
TextContentType, // 239b3ecc
6009-
TextInput, // 9981d7ab
6019+
TextInput, // 3ecbb07f
60106020
TextInputAndroidProps, // 9ebbc103
60116021
TextInputBlurEvent, // b4c7a58c
60126022
TextInputChangeEvent, // 92363e10
@@ -6016,46 +6026,46 @@ export {
60166026
TextInputIOSProps, // fb3c9327
60176027
TextInputInstance, // 53fe7b73
60186028
TextInputKeyPressEvent, // cbbc322a
6019-
TextInputProps, // 253dd17d
6029+
TextInputProps, // 1a69976d
60206030
TextInputSelectionChangeEvent, // 4a8f10c2
60216031
TextInputSubmitEditingEvent, // e811fdbd
60226032
TextInstance, // 7c7e2069
60236033
TextLayoutEvent, // 1a21e24a
6024-
TextProps, // e4fdaaad
6025-
TextStyle, // 898adfd1
6034+
TextProps, // 57710952
6035+
TextStyle, // 30961df1
60266036
ToastAndroid, // 88a8969a
6027-
TouchableHighlight, // c5f5b1c2
6037+
TouchableHighlight, // 1c0670bd
60286038
TouchableHighlightInstance, // 811af7ca
6029-
TouchableHighlightProps, // c35edf1d
6030-
TouchableNativeFeedback, // bd8a9aa5
6031-
TouchableNativeFeedbackInstance, // 7010d8d4
6032-
TouchableNativeFeedbackProps, // 827f5e03
6033-
TouchableOpacity, // db1102e5
6039+
TouchableHighlightProps, // 1e14a6a1
6040+
TouchableNativeFeedback, // 561338d9
6041+
TouchableNativeFeedbackInstance, // 3e4b4bc6
6042+
TouchableNativeFeedbackProps, // 30561ca4
6043+
TouchableOpacity, // 4e63eeb2
60346044
TouchableOpacityInstance, // 0cd8a347
6035-
TouchableOpacityProps, // 1bc8fbaa
6036-
TouchableWithoutFeedback, // a397bd6c
6037-
TouchableWithoutFeedbackProps, // 9dfdc3eb
6045+
TouchableOpacityProps, // a21bb478
6046+
TouchableWithoutFeedback, // 0bb43ec0
6047+
TouchableWithoutFeedbackProps, // ea461b24
60386048
TransformsStyle, // 65e70f18
60396049
TurboModule, // dfe29706
60406050
TurboModuleRegistry, // 4ace6db2
60416051
UIManager, // 6a18fc05
60426052
UTFSequence, // ad625158
60436053
Vibration, // 31e4bbf8
6044-
View, // fe623c3d
6054+
View, // 63db59b0
60456055
ViewInstance, // 0283d2fc
6046-
ViewProps, // 7fb992e4
6056+
ViewProps, // b3275e90
60476057
ViewPropsAndroid, // 66d760c6
60486058
ViewPropsIOS, // 58ee19bf
6049-
ViewStyle, // 4e2746d6
6059+
ViewStyle, // 9581393f
60506060
ViewabilityConfig, // eb3f7ed8
60516061
ViewabilityConfigCallbackPair, // bdd0788c
60526062
VirtualViewMode, // 6be59722
60536063
VirtualizedList, // 68c7345e
60546064
VirtualizedListInstance, // 423ee7c0
6055-
VirtualizedListProps, // 7a7c618a
6065+
VirtualizedListProps, // 81486260
60566066
VirtualizedSectionList, // 9fd9cd61
60576067
VirtualizedSectionListInstance, // 12b706d5
6058-
VirtualizedSectionListProps, // 8373f27c
6068+
VirtualizedSectionListProps, // 95466fda
60596069
WrapperComponentProvider, // 9b4247f6
60606070
codegenNativeCommands, // 322f3f4e
60616071
codegenNativeComponent, // e8334853

0 commit comments

Comments
 (0)