Skip to content

Commit db50e6b

Browse files
committed
rollback
1 parent 72ee7e2 commit db50e6b

3 files changed

Lines changed: 69 additions & 75 deletions

File tree

packages/react-native/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
* @format
99
*/
1010

11-
/** @build-types emit-as-interface react-native-web compatibility */
1211
export type ____DangerouslyImpreciseStyle_InternalOverrides = Readonly<{}>;
1312
/** @build-types emit-as-interface react-native-web compatibility */
1413
export type ____ImageStyle_InternalOverrides = Readonly<{}>;
15-
/** @build-types emit-as-interface react-native-web compatibility */
1614
export type ____ShadowStyle_InternalOverrides = Readonly<{}>;
1715
/** @build-types emit-as-interface react-native-web compatibility */
1816
export type ____TextStyle_InternalOverrides = Readonly<{}>;

packages/react-native/ReactNativeApi.d.ts

Lines changed: 69 additions & 71 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<<d706b972287ceaef6325d32ba324ea9b>>
7+
* @generated SignedSource<<59c4db3952e3c0dd7ec2b99e68143a7a>>
88
*
99
* This file was generated by scripts/js-api/build-types/index.js.
1010
*/
@@ -514,7 +514,7 @@ declare type ____DangerouslyImpreciseAnimatedStyleProp_Internal =
514514
WithAnimatedValue<StyleProp<Partial<____DangerouslyImpreciseStyle_Internal>>>
515515
declare type ____DangerouslyImpreciseStyle_Internal = Readonly<
516516
____DangerouslyImpreciseStyle_InternalCore &
517-
DangerouslyImpreciseStyleOverrides
517+
____DangerouslyImpreciseStyle_InternalOverrides
518518
>
519519
declare type ____DangerouslyImpreciseStyle_InternalCore = Readonly<
520520
____TextStyle_Internal & {
@@ -524,6 +524,7 @@ declare type ____DangerouslyImpreciseStyle_InternalCore = Readonly<
524524
tintColor?: ____ColorValue_Internal
525525
}
526526
>
527+
declare type ____DangerouslyImpreciseStyle_InternalOverrides = {}
527528
declare type ____FlattenStyleProp_Helper<
528529
TStyleProp extends StyleProp<unknown>,
529530
Depth extends FlattenDepthLimiter[keyof FlattenDepthLimiter] = 9,
@@ -724,7 +725,7 @@ declare type ____LayoutStyle_Internal = {
724725
readonly zIndex?: number
725726
}
726727
declare type ____ShadowStyle_Internal = Readonly<
727-
____ShadowStyle_InternalCore & ShadowStyleOverrides
728+
____ShadowStyle_InternalCore & ____ShadowStyle_InternalOverrides
728729
>
729730
declare type ____ShadowStyle_InternalCore = {
730731
readonly shadowColor?: ____ColorValue_Internal
@@ -735,6 +736,7 @@ declare type ____ShadowStyle_InternalCore = {
735736
readonly shadowOpacity?: number
736737
readonly shadowRadius?: number
737738
}
739+
declare type ____ShadowStyle_InternalOverrides = {}
738740
declare type ____Styles_Internal = {
739741
readonly [key: string]: Partial<____DangerouslyImpreciseStyle_Internal>
740742
}
@@ -1821,7 +1823,6 @@ declare function createPublicTextInstance(
18211823
): ReadOnlyText_default
18221824
declare type createPublicTextInstanceT = typeof createPublicTextInstance
18231825
declare type CursorValue = "auto" | "pointer"
1824-
declare interface DangerouslyImpreciseStyleOverrides extends Readonly<{}> {}
18251826
declare type DataDetectorTypesType =
18261827
| "address"
18271828
| "all"
@@ -4498,7 +4499,6 @@ declare type Settings = typeof Settings
44984499
declare function setWrapperComponentProvider(
44994500
provider: WrapperComponentProvider,
45004501
): void
4501-
declare interface ShadowStyleOverrides extends Readonly<{}> {}
45024502
declare class Share {
45034503
static dismissedAction: "dismissedAction"
45044504
static sharedAction: "sharedAction"
@@ -5757,18 +5757,18 @@ export {
57575757
AccessibilityValue, // cf8bcb74
57585758
ActionSheetIOS, // b558559e
57595759
ActionSheetIOSOptions, // 1756eb5a
5760-
ActivityIndicator, // a8626e7b
5760+
ActivityIndicator, // 525f47e4
57615761
ActivityIndicatorInstance, // a82dd4e7
5762-
ActivityIndicatorProps, // 89e35eb7
5762+
ActivityIndicatorProps, // 6e0904a0
57635763
Alert, // a398a509
57645764
AlertButton, // bf1a3b60
57655765
AlertButtonStyle, // ec9fb242
57665766
AlertOptions, // 8a116d2a
57675767
AlertType, // 5ab91217
57685768
AndroidKeyboardEvent, // e03becc8
5769-
Animated, // c210f392
5769+
Animated, // 0f2162a9
57705770
AppConfig, // 35c0ca70
5771-
AppRegistry, // cbc682e0
5771+
AppRegistry, // abe605c7
57725772
AppState, // 12012be5
57735773
AppStateEvent, // 80f034c3
57745774
AppStateStatus, // 447e5ef2
@@ -5780,8 +5780,8 @@ export {
57805780
BackPressEventName, // 4620fb76
57815781
BlurEvent, // 4ba4f941
57825782
BoxShadowValue, // b679703f
5783-
Button, // 1439a9c5
5784-
ButtonInstance, // c58d307f
5783+
Button, // f381a935
5784+
ButtonInstance, // affb8d6e
57855785
ButtonProps, // e48830f2
57865786
Clipboard, // 41addb89
57875787
CodegenTypes, // ab4986cc
@@ -5790,7 +5790,6 @@ export {
57905790
ComponentProvider, // bf78f91b
57915791
ComponentProviderInstrumentationHook, // 68823a13
57925792
CursorValue, // 26522595
5793-
DangerouslyImpreciseStyleOverrides, // d110d2fc
57945793
DevMenu, // 21b8b7a9
57955794
DevSettings, // e55b91dc
57965795
DeviceEventEmitter, // bdbdd014
@@ -5801,9 +5800,9 @@ export {
58015800
DimensionsPayload, // 653bc26c
58025801
DisplayMetrics, // 1dc35cef
58035802
DisplayMetricsAndroid, // 872e62eb
5804-
DrawerLayoutAndroid, // 6655a8d4
5803+
DrawerLayoutAndroid, // 636ce5f7
58055804
DrawerLayoutAndroidInstance, // c0694352
5806-
DrawerLayoutAndroidProps, // 0a44e508
5805+
DrawerLayoutAndroidProps, // e4a8c9c4
58075806
DrawerSlideEvent, // c4ab8fba
58085807
DropShadowValue, // e9df2606
58095808
DynamicColorIOS, // d96c228c
@@ -5819,9 +5818,9 @@ export {
58195818
EventSubscription, // b8d084aa
58205819
ExtendedExceptionData, // 5a6ccf5a
58215820
FilterFunction, // bf24c0e3
5822-
FlatList, // 2b967619
5823-
FlatListInstance, // ec0ed3c6
5824-
FlatListProps, // 70be262b
5821+
FlatList, // 0bf459ac
5822+
FlatListInstance, // e034680e
5823+
FlatListProps, // 1170f27f
58255824
FocusEvent, // 850f1517
58265825
FontVariant, // 7c7558bb
58275826
GestureResponderEvent, // 14d3e77a
@@ -5832,38 +5831,38 @@ export {
58325831
IEventEmitter, // fbef6131
58335832
IOSKeyboardEvent, // e67bfe3a
58345833
IgnorePattern, // ec6f6ece
5835-
Image, // 8e87e24b
5836-
ImageBackground, // db2d34b0
5837-
ImageBackgroundInstance, // be6b40df
5838-
ImageBackgroundProps, // 50898933
5834+
Image, // 93144b5d
5835+
ImageBackground, // a772f4ab
5836+
ImageBackgroundInstance, // 8611db56
5837+
ImageBackgroundProps, // b898092d
58395838
ImageErrorEvent, // 978933f4
58405839
ImageInstance, // 9a100753
58415840
ImageLoadEvent, // 77f0b718
58425841
ImageProgressEventIOS, // 445331a4
5843-
ImageProps, // 31e62bb3
5842+
ImageProps, // 50883374
58445843
ImagePropsAndroid, // ee00e1d5
5845-
ImagePropsBase, // 25fb0ba7
5844+
ImagePropsBase, // 4637fa9c
58465845
ImagePropsIOS, // 9e19c85d
58475846
ImageRequireSource, // 681d683b
58485847
ImageResizeMode, // d51106e2
58495848
ImageResolvedAssetSource, // f3060931
58505849
ImageSize, // 1c47cf88
58515850
ImageSource, // ea31cf4a
58525851
ImageSourcePropType, // f522e093
5853-
ImageStyle, // 68c24314
5852+
ImageStyle, // acaa9db5
58545853
ImageStyleOverrides, // 0cf194cb
58555854
ImageURISource, // 443d047c
5856-
InputAccessoryView, // 91f7925a
5857-
InputAccessoryViewProps, // 4283eca3
5855+
InputAccessoryView, // 539782dd
5856+
InputAccessoryViewProps, // 287eb835
58585857
InputModeOptions, // 4e8581b9
58595858
Insets, // e7fe432a
58605859
KeyDownEvent, // 5b147614
58615860
KeyEvent, // 20fa4267
58625861
KeyUpEvent, // 57f832c5
58635862
Keyboard, // 49414c97
5864-
KeyboardAvoidingView, // 08cbaf42
5865-
KeyboardAvoidingViewInstance, // be8a919e
5866-
KeyboardAvoidingViewProps, // 46661558
5863+
KeyboardAvoidingView, // e6b3c686
5864+
KeyboardAvoidingViewInstance, // ba9ff4fc
5865+
KeyboardAvoidingViewProps, // 16eee6de
58675866
KeyboardEvent, // c3f895d4
58685867
KeyboardEventEasing, // af4091c8
58695868
KeyboardEventName, // 59299ad6
@@ -5888,10 +5887,10 @@ export {
58885887
MeasureInWindowOnSuccessCallback, // a285f598
58895888
MeasureLayoutOnSuccessCallback, // 3592502a
58905889
MeasureOnSuccessCallback, // 82824e59
5891-
Modal, // 53b057ad
5890+
Modal, // bb9bb26e
58925891
ModalBaseProps, // 050be772
58935892
ModalInstance, // d466ce77
5894-
ModalProps, // a35f6e5d
5893+
ModalProps, // 92b32a9f
58955894
ModalPropsAndroid, // 515fb173
58965895
ModalPropsIOS, // 664ecb7e
58975896
ModeChangeEvent, // f64bf69d
@@ -5927,25 +5926,25 @@ export {
59275926
PointerEvent, // ff599afe
59285927
PressabilityConfig, // fea539a5
59295928
PressabilityEventHandlers, // c222648b
5930-
Pressable, // d9c8dc4c
5929+
Pressable, // 80e0bba0
59315930
PressableAndroidRippleConfig, // ee32eaca
59325931
PressableInstance, // eebfe911
5933-
PressableProps, // e4a95c7b
5932+
PressableProps, // b3ff6cc3
59345933
PressableStateCallbackType, // 2a3a68be
59355934
ProcessedColorValue, // 33f74304
5936-
ProgressBarAndroid, // 371fe544
5935+
ProgressBarAndroid, // 54fdd541
59375936
ProgressBarAndroidInstance, // ab545ef1
5938-
ProgressBarAndroidProps, // 0a922e8d
5937+
ProgressBarAndroidProps, // 65af06a4
59395938
PublicRootInstance, // 8040afd7
59405939
PublicTextInstance, // 6937c7bf
59415940
PushNotificationEventName, // 84e7e150
59425941
PushNotificationIOS, // b4d1fe78
59435942
PushNotificationPermissions, // c2e7ae4f
59445943
Rationale, // 5df1b1c1
59455944
ReactNativeVersion, // abd76827
5946-
RefreshControl, // 6dbf8bad
5947-
RefreshControlInstance, // 48feb98f
5948-
RefreshControlProps, // 53d8999d
5945+
RefreshControl, // 78a0488f
5946+
RefreshControlInstance, // f12d3ef0
5947+
RefreshControlProps, // 29253a40
59495948
RefreshControlPropsAndroid, // 8ac931ca
59505949
RefreshControlPropsIOS, // 72a36381
59515950
Registry, // 6c39216d
@@ -5954,32 +5953,31 @@ export {
59545953
Role, // af7b889d
59555954
RootTag, // 3cd10504
59565955
RootTagContext, // 38bfc8f6
5957-
RootViewStyleProvider, // 4a8d11f1
5956+
RootViewStyleProvider, // 0bd61f00
59585957
Runnable, // 594dd93a
59595958
Runnables, // 4367c557
5960-
SafeAreaView, // 76eecdfb
5959+
SafeAreaView, // 25dcbe7c
59615960
SafeAreaViewInstance, // 21dba39c
59625961
ScaledSize, // 07e417c7
59635962
ScrollEvent, // d7abdd0a
5964-
ScrollResponderType, // d8b4eab3
5963+
ScrollResponderType, // ce5eb39e
59655964
ScrollToLocationParamsType, // d7ecdad1
5966-
ScrollView, // 8cafe0bb
5967-
ScrollViewImperativeMethods, // 6f8835ca
5968-
ScrollViewInstance, // eb501aa2
5969-
ScrollViewProps, // dba6d803
5965+
ScrollView, // 07a9ca66
5966+
ScrollViewImperativeMethods, // 601383a1
5967+
ScrollViewInstance, // 179cf1eb
5968+
ScrollViewProps, // 10e0c74e
59705969
ScrollViewPropsAndroid, // 02f3df2e
59715970
ScrollViewPropsIOS, // 807cb4f6
59725971
ScrollViewScrollToOptions, // 3313411e
59735972
SectionBase, // 9f13db00
5974-
SectionList, // 24adbb99
5973+
SectionList, // 867788a8
59755974
SectionListData, // 1a4de01a
5976-
SectionListInstance, // 2596d0d8
5977-
SectionListProps, // e4f4846c
5975+
SectionListInstance, // 7094b141
5976+
SectionListProps, // df46a9b1
59785977
SectionListRenderItem, // 715b2086
59795978
SectionListRenderItemInfo, // 4a48a922
59805979
Separators, // 6a45f7e3
59815980
Settings, // 2be0c61e
5982-
ShadowStyleOverrides, // 915c65b5
59835981
Share, // e4591b32
59845982
ShareAction, // ead1004a
59855983
ShareActionSheetError, // 55e4f451
@@ -5992,19 +5990,19 @@ export {
59925990
StatusBarProps, // c2a44d88
59935991
StatusBarStyle, // 78f53eea
59945992
StyleProp, // fa0e9b4a
5995-
StyleSheet, // 7596223b
5993+
StyleSheet, // d17bd1f4
59965994
SubmitBehavior, // c4ddf490
5997-
Switch, // d9a1dd23
5995+
Switch, // 8e175a10
59985996
SwitchChangeEvent, // 899635b1
59995997
SwitchInstance, // 3c50eec5
6000-
SwitchProps, // c44e2498
5998+
SwitchProps, // faf1cc6d
60015999
Systrace, // 626d178c
60026000
TVViewPropsIOS, // 330ce7b5
60036001
TargetedEvent, // 16e98910
60046002
TaskProvider, // 266dedf2
6005-
Text, // 54d172ab
6003+
Text, // 1b6cdd28
60066004
TextContentType, // 239b3ecc
6007-
TextInput, // e437a677
6005+
TextInput, // e99faf04
60086006
TextInputAndroidProps, // 9ebbc103
60096007
TextInputBlurEvent, // b77af40e
60106008
TextInputChangeEvent, // f55eef98
@@ -6014,46 +6012,46 @@ export {
60146012
TextInputIOSProps, // fb3c9327
60156013
TextInputInstance, // 5a0c0e0d
60166014
TextInputKeyPressEvent, // 546c5d07
6017-
TextInputProps, // 75d18d57
6015+
TextInputProps, // 03bd534b
60186016
TextInputSelectionChangeEvent, // e58f2abc
60196017
TextInputSubmitEditingEvent, // 6bcb2aa5
60206018
TextInstance, // 05463a96
60216019
TextLayoutEvent, // 3f54186f
6022-
TextProps, // 043e18a5
6023-
TextStyle, // abc7fa54
6020+
TextProps, // f0df010d
6021+
TextStyle, // 7c67c79b
60246022
TextStyleOverrides, // beb3f872
60256023
ToastAndroid, // 88a8969a
6026-
TouchableHighlight, // 80ee3efd
6024+
TouchableHighlight, // 624919f0
60276025
TouchableHighlightInstance, // b510c0eb
6028-
TouchableHighlightProps, // 2b1e785e
6029-
TouchableNativeFeedback, // bdf62670
6030-
TouchableNativeFeedbackInstance, // 4a751a08
6031-
TouchableNativeFeedbackProps, // ce2b3d71
6032-
TouchableOpacity, // 745735a1
6026+
TouchableHighlightProps, // 0e257e7e
6027+
TouchableNativeFeedback, // 6529ba6a
6028+
TouchableNativeFeedbackInstance, // b644237a
6029+
TouchableNativeFeedbackProps, // e865eabb
6030+
TouchableOpacity, // 79358ebc
60336031
TouchableOpacityInstance, // b186055b
6034-
TouchableOpacityProps, // 114015fd
6035-
TouchableWithoutFeedback, // b41464e4
6036-
TouchableWithoutFeedbackProps, // 639d42c3
6032+
TouchableOpacityProps, // ffcbc142
6033+
TouchableWithoutFeedback, // f307c0fd
6034+
TouchableWithoutFeedbackProps, // be683933
60376035
TransformsStyle, // 65e70f18
60386036
TurboModule, // dfe29706
60396037
TurboModuleRegistry, // 4ace6db2
60406038
UIManager, // afbcdf05
60416039
UTFSequence, // ad625158
60426040
Vibration, // 31e4bbf8
6043-
View, // 98a0686a
6041+
View, // 456213d7
60446042
ViewInstance, // ffde5573
6045-
ViewProps, // bc36d970
6043+
ViewProps, // d6634e5e
60466044
ViewPropsAndroid, // 55e81851
60476045
ViewPropsIOS, // 58ee19bf
6048-
ViewStyle, // b3f36281
6046+
ViewStyle, // 85b8ab32
60496047
ViewStyleOverrides, // 78744f0f
60506048
VirtualViewMode, // 6be59722
60516049
VirtualizedList, // 68c7345e
60526050
VirtualizedListInstance, // 423ee7c0
6053-
VirtualizedListProps, // 58061ed7
6051+
VirtualizedListProps, // 15de6473
60546052
VirtualizedSectionList, // 9fd9cd61
60556053
VirtualizedSectionListInstance, // 12b706d5
6056-
VirtualizedSectionListProps, // 35ff5c3a
6054+
VirtualizedSectionListProps, // ccd5c85a
60576055
WrapperComponentProvider, // 9ef54e61
60586056
codegenNativeCommands, // 628a7c0a
60596057
codegenNativeComponent, // 520daa94

packages/react-native/index.js.flow

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,7 @@ export type {
430430
PointValue,
431431
} from './Libraries/StyleSheet/StyleSheetTypes';
432432
export type {
433-
____DangerouslyImpreciseStyle_InternalOverrides as DangerouslyImpreciseStyleOverrides,
434433
____ImageStyle_InternalOverrides as ImageStyleOverrides,
435-
____ShadowStyle_InternalOverrides as ShadowStyleOverrides,
436434
____TextStyle_InternalOverrides as TextStyleOverrides,
437435
____ViewStyle_InternalOverrides as ViewStyleOverrides,
438436
} from './Libraries/StyleSheet/private/_StyleSheetTypesOverrides';

0 commit comments

Comments
 (0)