react-native 0.87.0-rc.2 → 0.87.0-rc.3
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.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/jsinspector-modern/HostTargetTraceRecording.cpp +10 -7
- package/ReactCommon/jsinspector-modern/tracing/HostTracingProfile.h +14 -1
- package/ReactCommon/jsinspector-modern/tracing/TraceRecordingState.h +11 -0
- package/ReactCommon/react/nativemodule/dom/NativeDOM.cpp +10 -4
- package/package.json +7 -7
- package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +7 -7
- package/types_generated/Libraries/Alert/Alert.d.ts +6 -6
- package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +2 -2
- package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +3 -3
- package/types_generated/Libraries/Animated/animations/Animation.d.ts +7 -7
- package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +5 -5
- package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +49 -49
- package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +13 -13
- package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +3 -3
- package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +3 -3
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +4 -4
- package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +2 -2
- package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +9 -9
- package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +3 -3
- package/types_generated/Libraries/Blob/BlobTypes.d.ts +4 -4
- package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +3 -3
- package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +3 -3
- package/types_generated/Libraries/Components/Button.d.ts +5 -5
- package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +3 -3
- package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +5 -5
- package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +6 -6
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +3 -3
- package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +3 -3
- package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +20 -20
- package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +4 -4
- package/types_generated/Libraries/Components/Switch/Switch.d.ts +3 -3
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +5 -5
- package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +4 -4
- package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +3 -3
- package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +2 -2
- package/types_generated/Libraries/Components/View/View.d.ts +3 -3
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +12 -12
- package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +10 -10
- package/types_generated/Libraries/Core/ExtendedError.d.ts +10 -10
- package/types_generated/Libraries/Image/ImageProps.d.ts +13 -13
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +5 -5
- package/types_generated/Libraries/Lists/FlatList.d.ts +13 -13
- package/types_generated/Libraries/Lists/SectionList.d.ts +4 -4
- package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +2 -2
- package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +2 -2
- package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +2 -2
- package/types_generated/Libraries/Modal/Modal.d.ts +4 -4
- package/types_generated/Libraries/Network/FormData.d.ts +5 -5
- package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +4 -4
- package/types_generated/Libraries/Pressability/Pressability.d.ts +5 -5
- package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +11 -11
- package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +4 -4
- package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +5 -5
- package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +34 -34
- package/types_generated/Libraries/Share/Share.d.ts +11 -11
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +3 -3
- package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +182 -182
- package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +3 -3
- package/types_generated/Libraries/Text/Text.d.ts +3 -3
- package/types_generated/Libraries/Text/TextProps.d.ts +5 -5
- package/types_generated/Libraries/TurboModule/RCTExport.d.ts +2 -2
- package/types_generated/Libraries/Types/CoreEventTypes.d.ts +8 -8
- package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +6 -6
- package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +5 -5
- package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +2 -2
- package/types_generated/src/private/assets/AssetRegistry.d.ts +2 -2
- package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +5 -5
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +3 -3
- package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +3 -3
- package/types_generated/src/private/components/virtualview/VirtualView.d.ts +7 -7
- package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +5 -5
- package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +5 -5
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +7 -7
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +5 -5
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +8 -8
- package/types_generated/src/private/types/HostComponent.d.ts +3 -3
- package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +2 -2
- package/types_generated/src/private/webapis/dom/events/Event.d.ts +4 -4
- package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +8 -8
- package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +3 -3
|
@@ -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<<
|
|
7
|
+
* @generated SignedSource<<13efca0945b93b821e52cc043896aa47>>
|
|
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
|
|
@@ -65,21 +65,21 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
65
65
|
* It works similarly to `display` in CSS, but only support 'flex' and 'none'.
|
|
66
66
|
* 'flex' is the default.
|
|
67
67
|
*/
|
|
68
|
-
display?: "none" | "flex" | "contents";
|
|
68
|
+
display?: "none" | "flex" | "contents" | undefined;
|
|
69
69
|
/** `width` sets the width of this component.
|
|
70
70
|
*
|
|
71
71
|
* It works similarly to `width` in CSS, but in React Native you
|
|
72
72
|
* must use points or percentages. Ems and other units are not supported.
|
|
73
73
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/width for more details.
|
|
74
74
|
*/
|
|
75
|
-
width?: DimensionValue;
|
|
75
|
+
width?: DimensionValue | undefined;
|
|
76
76
|
/** `height` sets the height of this component.
|
|
77
77
|
*
|
|
78
78
|
* It works similarly to `height` in CSS, but in React Native you
|
|
79
79
|
* must use points or percentages. Ems and other units are not supported.
|
|
80
80
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/height for more details.
|
|
81
81
|
*/
|
|
82
|
-
height?: DimensionValue;
|
|
82
|
+
height?: DimensionValue | undefined;
|
|
83
83
|
/** `bottom` is the number of logical pixels to offset the bottom edge of
|
|
84
84
|
* this component.
|
|
85
85
|
*
|
|
@@ -89,14 +89,14 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
89
89
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom
|
|
90
90
|
* for more details of how `bottom` affects layout.
|
|
91
91
|
*/
|
|
92
|
-
bottom?: DimensionValue;
|
|
92
|
+
bottom?: DimensionValue | undefined;
|
|
93
93
|
/**
|
|
94
94
|
* When the direction is `ltr`, `end` is equivalent to `right`.
|
|
95
95
|
* When the direction is `rtl`, `end` is equivalent to `left`.
|
|
96
96
|
*
|
|
97
97
|
* This style takes precedence over the `left` and `right` styles.
|
|
98
98
|
*/
|
|
99
|
-
end?: DimensionValue;
|
|
99
|
+
end?: DimensionValue | undefined;
|
|
100
100
|
/** `left` is the number of logical pixels to offset the left edge of
|
|
101
101
|
* this component.
|
|
102
102
|
*
|
|
@@ -106,7 +106,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
106
106
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/left
|
|
107
107
|
* for more details of how `left` affects layout.
|
|
108
108
|
*/
|
|
109
|
-
left?: DimensionValue;
|
|
109
|
+
left?: DimensionValue | undefined;
|
|
110
110
|
/** `right` is the number of logical pixels to offset the right edge of
|
|
111
111
|
* this component.
|
|
112
112
|
*
|
|
@@ -116,14 +116,14 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
116
116
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/right
|
|
117
117
|
* for more details of how `right` affects layout.
|
|
118
118
|
*/
|
|
119
|
-
right?: DimensionValue;
|
|
119
|
+
right?: DimensionValue | undefined;
|
|
120
120
|
/**
|
|
121
121
|
* When the direction is `ltr`, `start` is equivalent to `left`.
|
|
122
122
|
* When the direction is `rtl`, `start` is equivalent to `right`.
|
|
123
123
|
*
|
|
124
124
|
* This style takes precedence over the `left`, `right`, and `end` styles.
|
|
125
125
|
*/
|
|
126
|
-
start?: DimensionValue;
|
|
126
|
+
start?: DimensionValue | undefined;
|
|
127
127
|
/** `top` is the number of logical pixels to offset the top edge of
|
|
128
128
|
* this component.
|
|
129
129
|
*
|
|
@@ -133,7 +133,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
133
133
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/top
|
|
134
134
|
* for more details of how `top` affects layout.
|
|
135
135
|
*/
|
|
136
|
-
top?: DimensionValue;
|
|
136
|
+
top?: DimensionValue | undefined;
|
|
137
137
|
/** `inset` is a shorthand that corresponds to the top, right, bottom, and/or left properties.
|
|
138
138
|
*
|
|
139
139
|
* It works similarly to `inset` in CSS, but in React Native you
|
|
@@ -142,7 +142,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
142
142
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset
|
|
143
143
|
* for more details of how `inset` affects layout.
|
|
144
144
|
*/
|
|
145
|
-
inset?: DimensionValue;
|
|
145
|
+
inset?: DimensionValue | undefined;
|
|
146
146
|
/** `insetBlock` is a shorthand that corresponds to the `insetBlockStart` and `insetBlockEnd` properties.
|
|
147
147
|
*
|
|
148
148
|
* It works similarly to `inset-block` in CSS, but in React Native you
|
|
@@ -151,7 +151,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
151
151
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block
|
|
152
152
|
* for more details of how `inset-block` affects layout.
|
|
153
153
|
*/
|
|
154
|
-
insetBlock?: DimensionValue;
|
|
154
|
+
insetBlock?: DimensionValue | undefined;
|
|
155
155
|
/** `insetBlockEnd` is a logical property that sets the length that an
|
|
156
156
|
* element is offset in the block direction from its ending edge.
|
|
157
157
|
*
|
|
@@ -161,7 +161,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
161
161
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-end
|
|
162
162
|
* for more details of how `inset-block-end` affects layout.
|
|
163
163
|
*/
|
|
164
|
-
insetBlockEnd?: DimensionValue;
|
|
164
|
+
insetBlockEnd?: DimensionValue | undefined;
|
|
165
165
|
/** `insetBlockStart` is a logical property that sets the length that an
|
|
166
166
|
* element is offset in the block direction from its starting edge.
|
|
167
167
|
*
|
|
@@ -171,7 +171,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
171
171
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-block-start
|
|
172
172
|
* for more details of how `inset-block-start` affects layout.
|
|
173
173
|
*/
|
|
174
|
-
insetBlockStart?: DimensionValue;
|
|
174
|
+
insetBlockStart?: DimensionValue | undefined;
|
|
175
175
|
/** `insetInline` is a shorthand that corresponds to the `insetInlineStart` and `insetInlineEnd` properties.
|
|
176
176
|
*
|
|
177
177
|
* It works similarly to `inset-inline` in CSS, but in React Native you
|
|
@@ -180,7 +180,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
180
180
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline
|
|
181
181
|
* for more details of how `inset-inline` affects layout.
|
|
182
182
|
*/
|
|
183
|
-
insetInline?: DimensionValue;
|
|
183
|
+
insetInline?: DimensionValue | undefined;
|
|
184
184
|
/** `insetInlineEnd` is a logical property that sets the length that an
|
|
185
185
|
* element is offset in the starting inline direction.
|
|
186
186
|
*
|
|
@@ -190,7 +190,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
190
190
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-end
|
|
191
191
|
* for more details of how `inset-inline-end` affects layout.
|
|
192
192
|
*/
|
|
193
|
-
insetInlineEnd?: DimensionValue;
|
|
193
|
+
insetInlineEnd?: DimensionValue | undefined;
|
|
194
194
|
/** `insetInlineStart` is a logical property that sets the length that an
|
|
195
195
|
* element is offset in the starting inline direction.
|
|
196
196
|
*
|
|
@@ -200,7 +200,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
200
200
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-start
|
|
201
201
|
* for more details of how `inset-inline-start` affects layout.
|
|
202
202
|
*/
|
|
203
|
-
insetInlineStart?: DimensionValue;
|
|
203
|
+
insetInlineStart?: DimensionValue | undefined;
|
|
204
204
|
/** `minWidth` is the minimum width for this component, in logical pixels.
|
|
205
205
|
*
|
|
206
206
|
* It works similarly to `min-width` in CSS, but in React Native you
|
|
@@ -209,7 +209,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
209
209
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/min-width
|
|
210
210
|
* for more details.
|
|
211
211
|
*/
|
|
212
|
-
minWidth?: DimensionValue;
|
|
212
|
+
minWidth?: DimensionValue | undefined;
|
|
213
213
|
/** `maxWidth` is the maximum width for this component, in logical pixels.
|
|
214
214
|
*
|
|
215
215
|
* It works similarly to `max-width` in CSS, but in React Native you
|
|
@@ -218,7 +218,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
218
218
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/max-width
|
|
219
219
|
* for more details.
|
|
220
220
|
*/
|
|
221
|
-
maxWidth?: DimensionValue;
|
|
221
|
+
maxWidth?: DimensionValue | undefined;
|
|
222
222
|
/** `minHeight` is the minimum height for this component, in logical pixels.
|
|
223
223
|
*
|
|
224
224
|
* It works similarly to `min-height` in CSS, but in React Native you
|
|
@@ -227,7 +227,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
227
227
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/min-height
|
|
228
228
|
* for more details.
|
|
229
229
|
*/
|
|
230
|
-
minHeight?: DimensionValue;
|
|
230
|
+
minHeight?: DimensionValue | undefined;
|
|
231
231
|
/** `maxHeight` is the maximum height for this component, in logical pixels.
|
|
232
232
|
*
|
|
233
233
|
* It works similarly to `max-height` in CSS, but in React Native you
|
|
@@ -236,190 +236,190 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
236
236
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/max-height
|
|
237
237
|
* for more details.
|
|
238
238
|
*/
|
|
239
|
-
maxHeight?: DimensionValue;
|
|
239
|
+
maxHeight?: DimensionValue | undefined;
|
|
240
240
|
/** Setting `margin` has the same effect as setting each of
|
|
241
241
|
* `marginTop`, `marginLeft`, `marginBottom`, and `marginRight`.
|
|
242
242
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin
|
|
243
243
|
* for more details.
|
|
244
244
|
*/
|
|
245
|
-
margin?: DimensionValue;
|
|
245
|
+
margin?: DimensionValue | undefined;
|
|
246
246
|
/** Setting `marginBlock` has the same effect as setting both
|
|
247
247
|
* `marginTop` and `marginBottom`.
|
|
248
248
|
*/
|
|
249
|
-
marginBlock?: DimensionValue;
|
|
249
|
+
marginBlock?: DimensionValue | undefined;
|
|
250
250
|
/** `marginBlockEnd` works like `margin-block-end`in CSS. Because React
|
|
251
251
|
* Native doesn not support `writing-mode` this is always mapped to
|
|
252
252
|
* `margin-bottom`. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end
|
|
253
253
|
* for more details.
|
|
254
254
|
*/
|
|
255
|
-
marginBlockEnd?: DimensionValue;
|
|
255
|
+
marginBlockEnd?: DimensionValue | undefined;
|
|
256
256
|
/** `marginBlockEnd` works like `margin-block-end`in CSS. Because React
|
|
257
257
|
* Native doesn not support `writing-mode` this is always mapped to
|
|
258
258
|
* `margin-top`. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-end
|
|
259
259
|
* for more details.
|
|
260
260
|
*/
|
|
261
|
-
marginBlockStart?: DimensionValue;
|
|
261
|
+
marginBlockStart?: DimensionValue | undefined;
|
|
262
262
|
/** `marginBottom` works like `margin-bottom` in CSS.
|
|
263
263
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-block-start
|
|
264
264
|
* for more details.
|
|
265
265
|
*/
|
|
266
|
-
marginBottom?: DimensionValue;
|
|
266
|
+
marginBottom?: DimensionValue | undefined;
|
|
267
267
|
/**
|
|
268
268
|
* When direction is `ltr`, `marginEnd` is equivalent to `marginRight`.
|
|
269
269
|
* When direction is `rtl`, `marginEnd` is equivalent to `marginLeft`.
|
|
270
270
|
*/
|
|
271
|
-
marginEnd?: DimensionValue;
|
|
271
|
+
marginEnd?: DimensionValue | undefined;
|
|
272
272
|
/** Setting `marginHorizontal` has the same effect as setting
|
|
273
273
|
* both `marginLeft` and `marginRight`.
|
|
274
274
|
*/
|
|
275
|
-
marginHorizontal?: DimensionValue;
|
|
275
|
+
marginHorizontal?: DimensionValue | undefined;
|
|
276
276
|
/** Setting `marginInline` has the same effect as setting
|
|
277
277
|
* both `marginLeft` and `marginRight`.
|
|
278
278
|
*/
|
|
279
|
-
marginInline?: DimensionValue;
|
|
279
|
+
marginInline?: DimensionValue | undefined;
|
|
280
280
|
/**
|
|
281
281
|
* When direction is `ltr`, `marginInlineEnd` is equivalent to `marginRight`.
|
|
282
282
|
* When direction is `rtl`, `marginInlineEnd` is equivalent to `marginLeft`.
|
|
283
283
|
*/
|
|
284
|
-
marginInlineEnd?: DimensionValue;
|
|
284
|
+
marginInlineEnd?: DimensionValue | undefined;
|
|
285
285
|
/**
|
|
286
286
|
* When direction is `ltr`, `marginInlineStart` is equivalent to `marginLeft`.
|
|
287
287
|
* When direction is `rtl`, `marginInlineStart` is equivalent to `marginRight`.
|
|
288
288
|
*/
|
|
289
|
-
marginInlineStart?: DimensionValue;
|
|
289
|
+
marginInlineStart?: DimensionValue | undefined;
|
|
290
290
|
/** `marginLeft` works like `margin-left` in CSS.
|
|
291
291
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left
|
|
292
292
|
* for more details.
|
|
293
293
|
*/
|
|
294
|
-
marginLeft?: DimensionValue;
|
|
294
|
+
marginLeft?: DimensionValue | undefined;
|
|
295
295
|
/** `marginRight` works like `margin-right` in CSS.
|
|
296
296
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right
|
|
297
297
|
* for more details.
|
|
298
298
|
*/
|
|
299
|
-
marginRight?: DimensionValue;
|
|
299
|
+
marginRight?: DimensionValue | undefined;
|
|
300
300
|
/**
|
|
301
301
|
* When direction is `ltr`, `marginStart` is equivalent to `marginLeft`.
|
|
302
302
|
* When direction is `rtl`, `marginStart` is equivalent to `marginRight`.
|
|
303
303
|
*/
|
|
304
|
-
marginStart?: DimensionValue;
|
|
304
|
+
marginStart?: DimensionValue | undefined;
|
|
305
305
|
/** `marginTop` works like `margin-top` in CSS.
|
|
306
306
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
|
|
307
307
|
* for more details.
|
|
308
308
|
*/
|
|
309
|
-
marginTop?: DimensionValue;
|
|
309
|
+
marginTop?: DimensionValue | undefined;
|
|
310
310
|
/** Setting `marginVertical` has the same effect as setting both
|
|
311
311
|
* `marginTop` and `marginBottom`.
|
|
312
312
|
*/
|
|
313
|
-
marginVertical?: DimensionValue;
|
|
313
|
+
marginVertical?: DimensionValue | undefined;
|
|
314
314
|
/** Setting `padding` has the same effect as setting each of
|
|
315
315
|
* `paddingTop`, `paddingBottom`, `paddingLeft`, and `paddingRight`.
|
|
316
316
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding
|
|
317
317
|
* for more details.
|
|
318
318
|
*/
|
|
319
|
-
padding?: DimensionValue;
|
|
319
|
+
padding?: DimensionValue | undefined;
|
|
320
320
|
/** Setting `paddingBlock` is like setting both of
|
|
321
321
|
* `paddingTop` and `paddingBottom`.
|
|
322
322
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block
|
|
323
323
|
* for more details.
|
|
324
324
|
*/
|
|
325
|
-
paddingBlock?: DimensionValue;
|
|
325
|
+
paddingBlock?: DimensionValue | undefined;
|
|
326
326
|
/** `paddingBlockEnd` works like `padding-bottom` in CSS.
|
|
327
327
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block-end
|
|
328
328
|
* for more details.
|
|
329
329
|
*/
|
|
330
|
-
paddingBlockEnd?: DimensionValue;
|
|
330
|
+
paddingBlockEnd?: DimensionValue | undefined;
|
|
331
331
|
/** `paddingBlockStart` works like `padding-top` in CSS.
|
|
332
332
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-block-start
|
|
333
333
|
* for more details.
|
|
334
334
|
*/
|
|
335
|
-
paddingBlockStart?: DimensionValue;
|
|
335
|
+
paddingBlockStart?: DimensionValue | undefined;
|
|
336
336
|
/** `paddingBottom` works like `padding-bottom` in CSS.
|
|
337
337
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
|
|
338
338
|
* for more details.
|
|
339
339
|
*/
|
|
340
|
-
paddingBottom?: DimensionValue;
|
|
340
|
+
paddingBottom?: DimensionValue | undefined;
|
|
341
341
|
/**
|
|
342
342
|
* When direction is `ltr`, `paddingEnd` is equivalent to `paddingRight`.
|
|
343
343
|
* When direction is `rtl`, `paddingEnd` is equivalent to `paddingLeft`.
|
|
344
344
|
*/
|
|
345
|
-
paddingEnd?: DimensionValue;
|
|
345
|
+
paddingEnd?: DimensionValue | undefined;
|
|
346
346
|
/** Setting `paddingHorizontal` is like setting both of
|
|
347
347
|
* `paddingLeft` and `paddingRight`.
|
|
348
348
|
*/
|
|
349
|
-
paddingHorizontal?: DimensionValue;
|
|
349
|
+
paddingHorizontal?: DimensionValue | undefined;
|
|
350
350
|
/** Setting `paddingInline` is like setting both of
|
|
351
351
|
* `paddingLeft` and `paddingRight`.
|
|
352
352
|
*/
|
|
353
|
-
paddingInline?: DimensionValue;
|
|
353
|
+
paddingInline?: DimensionValue | undefined;
|
|
354
354
|
/**
|
|
355
355
|
* When direction is `ltr`, `paddingInlineEnd` is equivalent to `paddingRight`.
|
|
356
356
|
* When direction is `rtl`, `paddingInlineEnd` is equivalent to `paddingLeft`.
|
|
357
357
|
*/
|
|
358
|
-
paddingInlineEnd?: DimensionValue;
|
|
358
|
+
paddingInlineEnd?: DimensionValue | undefined;
|
|
359
359
|
/**
|
|
360
360
|
* When direction is `ltr`, `paddingInlineStart` is equivalent to `paddingLeft`.
|
|
361
361
|
* When direction is `rtl`, `paddingInlineStart` is equivalent to `paddingRight`.
|
|
362
362
|
*/
|
|
363
|
-
paddingInlineStart?: DimensionValue;
|
|
363
|
+
paddingInlineStart?: DimensionValue | undefined;
|
|
364
364
|
/** `paddingLeft` works like `padding-left` in CSS.
|
|
365
365
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left
|
|
366
366
|
* for more details.
|
|
367
367
|
*/
|
|
368
|
-
paddingLeft?: DimensionValue;
|
|
368
|
+
paddingLeft?: DimensionValue | undefined;
|
|
369
369
|
/** `paddingRight` works like `padding-right` in CSS.
|
|
370
370
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right
|
|
371
371
|
* for more details.
|
|
372
372
|
*/
|
|
373
|
-
paddingRight?: DimensionValue;
|
|
373
|
+
paddingRight?: DimensionValue | undefined;
|
|
374
374
|
/**
|
|
375
375
|
* When direction is `ltr`, `paddingStart` is equivalent to `paddingLeft`.
|
|
376
376
|
* When direction is `rtl`, `paddingStart` is equivalent to `paddingRight`.
|
|
377
377
|
*/
|
|
378
|
-
paddingStart?: DimensionValue;
|
|
378
|
+
paddingStart?: DimensionValue | undefined;
|
|
379
379
|
/** `paddingTop` works like `padding-top` in CSS.
|
|
380
380
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top
|
|
381
381
|
* for more details.
|
|
382
382
|
*/
|
|
383
|
-
paddingTop?: DimensionValue;
|
|
383
|
+
paddingTop?: DimensionValue | undefined;
|
|
384
384
|
/** Setting `paddingVertical` is like setting both of
|
|
385
385
|
* `paddingTop` and `paddingBottom`.
|
|
386
386
|
*/
|
|
387
|
-
paddingVertical?: DimensionValue;
|
|
387
|
+
paddingVertical?: DimensionValue | undefined;
|
|
388
388
|
/** `borderWidth` works like `border-width` in CSS.
|
|
389
389
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-width
|
|
390
390
|
* for more details.
|
|
391
391
|
*/
|
|
392
|
-
borderWidth?: number;
|
|
392
|
+
borderWidth?: number | undefined;
|
|
393
393
|
/** `borderBottomWidth` works like `border-bottom-width` in CSS.
|
|
394
394
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-width
|
|
395
395
|
* for more details.
|
|
396
396
|
*/
|
|
397
|
-
borderBottomWidth?: number;
|
|
397
|
+
borderBottomWidth?: number | undefined;
|
|
398
398
|
/**
|
|
399
399
|
* When direction is `ltr`, `borderEndWidth` is equivalent to `borderRightWidth`.
|
|
400
400
|
* When direction is `rtl`, `borderEndWidth` is equivalent to `borderLeftWidth`.
|
|
401
401
|
*/
|
|
402
|
-
borderEndWidth?: number;
|
|
402
|
+
borderEndWidth?: number | undefined;
|
|
403
403
|
/** `borderLeftWidth` works like `border-left-width` in CSS.
|
|
404
404
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-width
|
|
405
405
|
* for more details.
|
|
406
406
|
*/
|
|
407
|
-
borderLeftWidth?: number;
|
|
407
|
+
borderLeftWidth?: number | undefined;
|
|
408
408
|
/** `borderRightWidth` works like `border-right-width` in CSS.
|
|
409
409
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-right-width
|
|
410
410
|
* for more details.
|
|
411
411
|
*/
|
|
412
|
-
borderRightWidth?: number;
|
|
412
|
+
borderRightWidth?: number | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* When direction is `ltr`, `borderStartWidth` is equivalent to `borderLeftWidth`.
|
|
415
415
|
* When direction is `rtl`, `borderStartWidth` is equivalent to `borderRightWidth`.
|
|
416
416
|
*/
|
|
417
|
-
borderStartWidth?: number;
|
|
417
|
+
borderStartWidth?: number | undefined;
|
|
418
418
|
/** `borderTopWidth` works like `border-top-width` in CSS.
|
|
419
419
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-width
|
|
420
420
|
* for more details.
|
|
421
421
|
*/
|
|
422
|
-
borderTopWidth?: number;
|
|
422
|
+
borderTopWidth?: number | undefined;
|
|
423
423
|
/** `position` in React Native is similar to regular CSS, but
|
|
424
424
|
* everything is set to `relative` by default.
|
|
425
425
|
*
|
|
@@ -437,7 +437,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
437
437
|
* for more details on how `position` differs between React Native
|
|
438
438
|
* and CSS.
|
|
439
439
|
*/
|
|
440
|
-
position?: "absolute" | "relative" | "static";
|
|
440
|
+
position?: "absolute" | "relative" | "static" | undefined;
|
|
441
441
|
/** `flexDirection` controls which directions children of a container go.
|
|
442
442
|
* `row` goes left to right, `column` goes top to bottom, and you may
|
|
443
443
|
* be able to guess what the other two do. It works like `flex-direction`
|
|
@@ -445,14 +445,14 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
445
445
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction
|
|
446
446
|
* for more details.
|
|
447
447
|
*/
|
|
448
|
-
flexDirection?: "row" | "row-reverse" | "column" | "column-reverse";
|
|
448
|
+
flexDirection?: "row" | "row-reverse" | "column" | "column-reverse" | undefined;
|
|
449
449
|
/** `flexWrap` controls whether children can wrap around after they
|
|
450
450
|
* hit the end of a flex container.
|
|
451
451
|
* It works like `flex-wrap` in CSS (default: nowrap).
|
|
452
452
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/flex-wrap
|
|
453
453
|
* for more details.
|
|
454
454
|
*/
|
|
455
|
-
flexWrap?: "wrap" | "nowrap" | "wrap-reverse";
|
|
455
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
456
456
|
/** `justifyContent` aligns children in the main direction.
|
|
457
457
|
* For example, if children are flowing vertically, `justifyContent`
|
|
458
458
|
* controls how they align vertically.
|
|
@@ -460,7 +460,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
460
460
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
461
461
|
* for more details.
|
|
462
462
|
*/
|
|
463
|
-
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
|
|
463
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
464
464
|
/** `alignItems` aligns children in the cross direction.
|
|
465
465
|
* For example, if children are flowing vertically, `alignItems`
|
|
466
466
|
* controls how they align horizontally.
|
|
@@ -468,20 +468,20 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
468
468
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
469
469
|
* for more details.
|
|
470
470
|
*/
|
|
471
|
-
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
471
|
+
alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
|
472
472
|
/** `alignSelf` controls how a child aligns in the cross direction,
|
|
473
473
|
* overriding the `alignItems` of the parent. It works like `align-self`
|
|
474
474
|
* in CSS (default: auto).
|
|
475
475
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/align-self
|
|
476
476
|
* for more details.
|
|
477
477
|
*/
|
|
478
|
-
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline";
|
|
478
|
+
alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
|
|
479
479
|
/** `alignContent` controls how rows align in the cross direction,
|
|
480
480
|
* overriding the `alignContent` of the parent.
|
|
481
481
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
482
482
|
* for more details.
|
|
483
483
|
*/
|
|
484
|
-
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly";
|
|
484
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
485
485
|
/** `overflow` controls how children are measured and displayed.
|
|
486
486
|
* `overflow: hidden` causes views to be clipped while `overflow: scroll`
|
|
487
487
|
* causes views to be measured independently of their parents main axis.
|
|
@@ -491,7 +491,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
491
491
|
* `overflow: visible` only works on iOS. On Android, all views will clip
|
|
492
492
|
* their children.
|
|
493
493
|
*/
|
|
494
|
-
overflow?: "visible" | "hidden" | "scroll";
|
|
494
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
495
495
|
/** In React Native `flex` does not work the same way that it does in CSS.
|
|
496
496
|
* `flex` is a number rather than a string, and it works
|
|
497
497
|
* according to the `Yoga` library
|
|
@@ -511,10 +511,10 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
511
511
|
*
|
|
512
512
|
* flexGrow, flexShrink, and flexBasis work the same as in CSS.
|
|
513
513
|
*/
|
|
514
|
-
flex?: number;
|
|
515
|
-
flexGrow?: number;
|
|
516
|
-
flexShrink?: number;
|
|
517
|
-
flexBasis?: number | string;
|
|
514
|
+
flex?: number | undefined;
|
|
515
|
+
flexGrow?: number | undefined;
|
|
516
|
+
flexShrink?: number | undefined;
|
|
517
|
+
flexBasis?: number | string | undefined;
|
|
518
518
|
/**
|
|
519
519
|
* Aspect ratio control the size of the undefined dimension of a node.
|
|
520
520
|
*
|
|
@@ -532,7 +532,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
532
532
|
* - aspectRatio: '1'
|
|
533
533
|
* - aspectRatio: '1'
|
|
534
534
|
*/
|
|
535
|
-
aspectRatio?: number | string;
|
|
535
|
+
aspectRatio?: number | string | undefined;
|
|
536
536
|
/**
|
|
537
537
|
* Box sizing controls whether certain size properties apply to the node's
|
|
538
538
|
* content box or border box. The size properties in question include `width`,
|
|
@@ -544,7 +544,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
544
544
|
* under `boxSizing: border-box` and 120px by 70px under
|
|
545
545
|
* `boxSizing: content-box`.
|
|
546
546
|
*/
|
|
547
|
-
boxSizing?: "border-box" | "content-box";
|
|
547
|
+
boxSizing?: "border-box" | "content-box" | undefined;
|
|
548
548
|
/** `zIndex` controls which components display on top of others.
|
|
549
549
|
* Normally, you don't use `zIndex`. Components render according to
|
|
550
550
|
* their order in the document tree, so later components draw over
|
|
@@ -557,7 +557,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
557
557
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/z-index for
|
|
558
558
|
* more details.
|
|
559
559
|
*/
|
|
560
|
-
zIndex?: number;
|
|
560
|
+
zIndex?: number | undefined;
|
|
561
561
|
/** `direction` specifies the directional flow of the user interface.
|
|
562
562
|
* The default is `inherit`, except for root node which will have
|
|
563
563
|
* value based on the current locale.
|
|
@@ -565,7 +565,7 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
565
565
|
* for more details.
|
|
566
566
|
* @platform ios
|
|
567
567
|
*/
|
|
568
|
-
direction?: "inherit" | "ltr" | "rtl";
|
|
568
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
569
569
|
/**
|
|
570
570
|
* In React Native, gap works the same way it does in CSS.
|
|
571
571
|
* If there are two or more children in a container, they will be separated from each other
|
|
@@ -575,9 +575,9 @@ type ____LayoutStyle_Internal = Readonly<{
|
|
|
575
575
|
* between children may be larger than the gap value.
|
|
576
576
|
* See https://developer.mozilla.org/en-US/docs/Web/CSS/gap for more details.
|
|
577
577
|
*/
|
|
578
|
-
rowGap?: number | string;
|
|
579
|
-
columnGap?: number | string;
|
|
580
|
-
gap?: number | string;
|
|
578
|
+
rowGap?: number | string | undefined;
|
|
579
|
+
columnGap?: number | string | undefined;
|
|
580
|
+
gap?: number | string | undefined;
|
|
581
581
|
}>;
|
|
582
582
|
/**
|
|
583
583
|
* These props can be used to dynamically generate shadows on views, images, text, etc.
|
|
@@ -594,25 +594,25 @@ export type ____ShadowStyle_InternalCore = Readonly<{
|
|
|
594
594
|
* Sets the drop shadow color
|
|
595
595
|
* @platform ios
|
|
596
596
|
*/
|
|
597
|
-
shadowColor?: ____ColorValue_Internal;
|
|
597
|
+
shadowColor?: ____ColorValue_Internal | undefined;
|
|
598
598
|
/**
|
|
599
599
|
* Sets the drop shadow offset
|
|
600
600
|
* @platform ios
|
|
601
601
|
*/
|
|
602
602
|
shadowOffset?: Readonly<{
|
|
603
|
-
width?: number;
|
|
604
|
-
height?: number;
|
|
605
|
-
}
|
|
603
|
+
width?: number | undefined;
|
|
604
|
+
height?: number | undefined;
|
|
605
|
+
}> | undefined;
|
|
606
606
|
/**
|
|
607
607
|
* Sets the drop shadow opacity (multiplied by the color's alpha component)
|
|
608
608
|
* @platform ios
|
|
609
609
|
*/
|
|
610
|
-
shadowOpacity?: number;
|
|
610
|
+
shadowOpacity?: number | undefined;
|
|
611
611
|
/**
|
|
612
612
|
* Sets the drop shadow blur radius
|
|
613
613
|
* @platform ios
|
|
614
614
|
*/
|
|
615
|
-
shadowRadius?: number;
|
|
615
|
+
shadowRadius?: number | undefined;
|
|
616
616
|
}>;
|
|
617
617
|
export type ____ShadowStyle_Internal = Readonly<Omit<____ShadowStyle_InternalCore, keyof ____ShadowStyle_InternalOverrides | keyof {}> & Omit<____ShadowStyle_InternalOverrides, keyof {}> & {}>;
|
|
618
618
|
export type FilterFunction = {
|
|
@@ -639,15 +639,15 @@ export type FilterFunction = {
|
|
|
639
639
|
export type DropShadowValue = {
|
|
640
640
|
offsetX: number | string;
|
|
641
641
|
offsetY: number | string;
|
|
642
|
-
standardDeviation?: number | string;
|
|
643
|
-
color?: ____ColorValue_Internal;
|
|
642
|
+
standardDeviation?: number | string | undefined;
|
|
643
|
+
color?: ____ColorValue_Internal | undefined;
|
|
644
644
|
};
|
|
645
645
|
type LinearGradientValue = {
|
|
646
646
|
type: "linear-gradient";
|
|
647
|
-
direction?: string;
|
|
647
|
+
direction?: string | undefined;
|
|
648
648
|
colorStops: ReadonlyArray<{
|
|
649
649
|
color: ____ColorValue_Internal;
|
|
650
|
-
positions?: ReadonlyArray<string
|
|
650
|
+
positions?: ReadonlyArray<string> | undefined;
|
|
651
651
|
}>;
|
|
652
652
|
};
|
|
653
653
|
type RadialExtent = "closest-corner" | "closest-side" | "farthest-corner" | "farthest-side";
|
|
@@ -676,7 +676,7 @@ type RadialGradientValue = {
|
|
|
676
676
|
position: RadialGradientPosition;
|
|
677
677
|
colorStops: ReadonlyArray<{
|
|
678
678
|
color: ____ColorValue_Internal;
|
|
679
|
-
positions?: ReadonlyArray<string
|
|
679
|
+
positions?: ReadonlyArray<string> | undefined;
|
|
680
680
|
}>;
|
|
681
681
|
};
|
|
682
682
|
export type BackgroundImageValue = LinearGradientValue | RadialGradientValue;
|
|
@@ -705,56 +705,56 @@ export type BackgroundRepeatValue = {
|
|
|
705
705
|
export type BoxShadowValue = {
|
|
706
706
|
offsetX: number | string;
|
|
707
707
|
offsetY: number | string;
|
|
708
|
-
color?: ____ColorValue_Internal;
|
|
709
|
-
blurRadius?: number | string;
|
|
710
|
-
spreadDistance?: number | string;
|
|
711
|
-
inset?: boolean;
|
|
708
|
+
color?: ____ColorValue_Internal | undefined;
|
|
709
|
+
blurRadius?: number | string | undefined;
|
|
710
|
+
spreadDistance?: number | string | undefined;
|
|
711
|
+
inset?: boolean | undefined;
|
|
712
712
|
};
|
|
713
713
|
type ____BlendMode_Internal = "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "color" | "luminosity" | "plus-lighter";
|
|
714
714
|
export type ____ViewStyle_InternalBase = Readonly<{
|
|
715
|
-
backfaceVisibility?: "visible" | "hidden";
|
|
716
|
-
backgroundColor?: ____ColorValue_Internal;
|
|
717
|
-
borderColor?: ____ColorValue_Internal;
|
|
715
|
+
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
716
|
+
backgroundColor?: ____ColorValue_Internal | undefined;
|
|
717
|
+
borderColor?: ____ColorValue_Internal | undefined;
|
|
718
718
|
/**
|
|
719
719
|
* On iOS 13+, it is possible to change the corner curve of borders.
|
|
720
720
|
* @platform ios
|
|
721
721
|
*/
|
|
722
|
-
borderCurve?: "circular" | "continuous";
|
|
723
|
-
borderBottomColor?: ____ColorValue_Internal;
|
|
724
|
-
borderEndColor?: ____ColorValue_Internal;
|
|
725
|
-
borderLeftColor?: ____ColorValue_Internal;
|
|
726
|
-
borderRightColor?: ____ColorValue_Internal;
|
|
727
|
-
borderStartColor?: ____ColorValue_Internal;
|
|
728
|
-
borderTopColor?: ____ColorValue_Internal;
|
|
729
|
-
borderBlockColor?: ____ColorValue_Internal;
|
|
730
|
-
borderBlockEndColor?: ____ColorValue_Internal;
|
|
731
|
-
borderBlockStartColor?: ____ColorValue_Internal;
|
|
732
|
-
borderRadius?: number | string;
|
|
733
|
-
borderBottomEndRadius?: number | string;
|
|
734
|
-
borderBottomLeftRadius?: number | string;
|
|
735
|
-
borderBottomRightRadius?: number | string;
|
|
736
|
-
borderBottomStartRadius?: number | string;
|
|
737
|
-
borderEndEndRadius?: number | string;
|
|
738
|
-
borderEndStartRadius?: number | string;
|
|
739
|
-
borderStartEndRadius?: number | string;
|
|
740
|
-
borderStartStartRadius?: number | string;
|
|
741
|
-
borderTopEndRadius?: number | string;
|
|
742
|
-
borderTopLeftRadius?: number | string;
|
|
743
|
-
borderTopRightRadius?: number | string;
|
|
744
|
-
borderTopStartRadius?: number | string;
|
|
745
|
-
borderStyle?: "solid" | "dotted" | "dashed";
|
|
746
|
-
borderWidth?: number;
|
|
747
|
-
borderBottomWidth?: number;
|
|
748
|
-
borderEndWidth?: number;
|
|
749
|
-
borderLeftWidth?: number;
|
|
750
|
-
borderRightWidth?: number;
|
|
751
|
-
borderStartWidth?: number;
|
|
752
|
-
borderTopWidth?: number;
|
|
753
|
-
opacity?: number;
|
|
754
|
-
outlineColor?: ____ColorValue_Internal;
|
|
755
|
-
outlineOffset?: number;
|
|
756
|
-
outlineStyle?: "solid" | "dotted" | "dashed";
|
|
757
|
-
outlineWidth?: number;
|
|
722
|
+
borderCurve?: "circular" | "continuous" | undefined;
|
|
723
|
+
borderBottomColor?: ____ColorValue_Internal | undefined;
|
|
724
|
+
borderEndColor?: ____ColorValue_Internal | undefined;
|
|
725
|
+
borderLeftColor?: ____ColorValue_Internal | undefined;
|
|
726
|
+
borderRightColor?: ____ColorValue_Internal | undefined;
|
|
727
|
+
borderStartColor?: ____ColorValue_Internal | undefined;
|
|
728
|
+
borderTopColor?: ____ColorValue_Internal | undefined;
|
|
729
|
+
borderBlockColor?: ____ColorValue_Internal | undefined;
|
|
730
|
+
borderBlockEndColor?: ____ColorValue_Internal | undefined;
|
|
731
|
+
borderBlockStartColor?: ____ColorValue_Internal | undefined;
|
|
732
|
+
borderRadius?: number | string | undefined;
|
|
733
|
+
borderBottomEndRadius?: number | string | undefined;
|
|
734
|
+
borderBottomLeftRadius?: number | string | undefined;
|
|
735
|
+
borderBottomRightRadius?: number | string | undefined;
|
|
736
|
+
borderBottomStartRadius?: number | string | undefined;
|
|
737
|
+
borderEndEndRadius?: number | string | undefined;
|
|
738
|
+
borderEndStartRadius?: number | string | undefined;
|
|
739
|
+
borderStartEndRadius?: number | string | undefined;
|
|
740
|
+
borderStartStartRadius?: number | string | undefined;
|
|
741
|
+
borderTopEndRadius?: number | string | undefined;
|
|
742
|
+
borderTopLeftRadius?: number | string | undefined;
|
|
743
|
+
borderTopRightRadius?: number | string | undefined;
|
|
744
|
+
borderTopStartRadius?: number | string | undefined;
|
|
745
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
746
|
+
borderWidth?: number | undefined;
|
|
747
|
+
borderBottomWidth?: number | undefined;
|
|
748
|
+
borderEndWidth?: number | undefined;
|
|
749
|
+
borderLeftWidth?: number | undefined;
|
|
750
|
+
borderRightWidth?: number | undefined;
|
|
751
|
+
borderStartWidth?: number | undefined;
|
|
752
|
+
borderTopWidth?: number | undefined;
|
|
753
|
+
opacity?: number | undefined;
|
|
754
|
+
outlineColor?: ____ColorValue_Internal | undefined;
|
|
755
|
+
outlineOffset?: number | undefined;
|
|
756
|
+
outlineStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
757
|
+
outlineWidth?: number | undefined;
|
|
758
758
|
/**
|
|
759
759
|
* Sets the elevation of a view, using Android's underlying
|
|
760
760
|
* [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation).
|
|
@@ -763,21 +763,21 @@ export type ____ViewStyle_InternalBase = Readonly<{
|
|
|
763
763
|
*
|
|
764
764
|
* @platform android
|
|
765
765
|
*/
|
|
766
|
-
elevation?: number;
|
|
766
|
+
elevation?: number | undefined;
|
|
767
767
|
/**
|
|
768
768
|
* Controls whether the View can be the target of touch events.
|
|
769
769
|
*/
|
|
770
|
-
pointerEvents?: "auto" | "none" | "box-none" | "box-only";
|
|
771
|
-
cursor?: CursorValue;
|
|
772
|
-
boxShadow?: ReadonlyArray<BoxShadowValue> | string;
|
|
773
|
-
filter?: ReadonlyArray<FilterFunction> | string;
|
|
774
|
-
mixBlendMode?: ____BlendMode_Internal;
|
|
775
|
-
backgroundImage?: ReadonlyArray<BackgroundImageValue> | string;
|
|
776
|
-
experimental_backgroundImage?: ReadonlyArray<BackgroundImageValue> | string;
|
|
777
|
-
experimental_backgroundSize?: ReadonlyArray<BackgroundSizeValue> | string;
|
|
778
|
-
experimental_backgroundPosition?: ReadonlyArray<BackgroundPositionValue> | string;
|
|
779
|
-
experimental_backgroundRepeat?: ReadonlyArray<BackgroundRepeatValue> | string;
|
|
780
|
-
isolation?: "auto" | "isolate";
|
|
770
|
+
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
771
|
+
cursor?: CursorValue | undefined;
|
|
772
|
+
boxShadow?: ReadonlyArray<BoxShadowValue> | string | undefined;
|
|
773
|
+
filter?: ReadonlyArray<FilterFunction> | string | undefined;
|
|
774
|
+
mixBlendMode?: ____BlendMode_Internal | undefined;
|
|
775
|
+
backgroundImage?: ReadonlyArray<BackgroundImageValue> | string | undefined;
|
|
776
|
+
experimental_backgroundImage?: ReadonlyArray<BackgroundImageValue> | string | undefined;
|
|
777
|
+
experimental_backgroundSize?: ReadonlyArray<BackgroundSizeValue> | string | undefined;
|
|
778
|
+
experimental_backgroundPosition?: ReadonlyArray<BackgroundPositionValue> | string | undefined;
|
|
779
|
+
experimental_backgroundRepeat?: ReadonlyArray<BackgroundRepeatValue> | string | undefined;
|
|
780
|
+
isolation?: "auto" | "isolate" | undefined;
|
|
781
781
|
}>;
|
|
782
782
|
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 {}> & {}>;
|
|
783
783
|
export type ____ViewStyle_Internal = Readonly<Omit<____ViewStyle_InternalCore, keyof ____ViewStyle_InternalOverrides | keyof {}> & Omit<____ViewStyle_InternalOverrides, keyof {}> & {}>;
|
|
@@ -800,62 +800,62 @@ export type ____FontWeight_Internal = "normal" | "bold" | "100" | "200" | "300"
|
|
|
800
800
|
export type ____FontVariant_Internal = "small-caps" | "oldstyle-nums" | "lining-nums" | "tabular-nums" | "common-ligatures" | "no-common-ligatures" | "discretionary-ligatures" | "no-discretionary-ligatures" | "historical-ligatures" | "no-historical-ligatures" | "contextual" | "no-contextual" | "proportional-nums" | "stylistic-one" | "stylistic-two" | "stylistic-three" | "stylistic-four" | "stylistic-five" | "stylistic-six" | "stylistic-seven" | "stylistic-eight" | "stylistic-nine" | "stylistic-ten" | "stylistic-eleven" | "stylistic-twelve" | "stylistic-thirteen" | "stylistic-fourteen" | "stylistic-fifteen" | "stylistic-sixteen" | "stylistic-seventeen" | "stylistic-eighteen" | "stylistic-nineteen" | "stylistic-twenty";
|
|
801
801
|
export type ____FontVariantArray_Internal = ReadonlyArray<____FontVariant_Internal>;
|
|
802
802
|
type ____TextStyle_InternalBase = Readonly<{
|
|
803
|
-
color?: ____ColorValue_Internal;
|
|
804
|
-
fontFamily?: string;
|
|
805
|
-
fontSize?: number;
|
|
806
|
-
fontStyle?: "normal" | "italic";
|
|
803
|
+
color?: ____ColorValue_Internal | undefined;
|
|
804
|
+
fontFamily?: string | undefined;
|
|
805
|
+
fontSize?: number | undefined;
|
|
806
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
807
807
|
/**
|
|
808
808
|
* Specifies font weight. The values 'normal' and 'bold' are supported
|
|
809
809
|
* for most fonts. Not all fonts have a variant for each of the numeric
|
|
810
810
|
* values, in that case the closest one is chosen.
|
|
811
811
|
*/
|
|
812
|
-
fontWeight?: ____FontWeight_Internal;
|
|
813
|
-
fontVariant?: ____FontVariantArray_Internal | string;
|
|
812
|
+
fontWeight?: ____FontWeight_Internal | undefined;
|
|
813
|
+
fontVariant?: ____FontVariantArray_Internal | string | undefined;
|
|
814
814
|
textShadowOffset?: Readonly<{
|
|
815
815
|
width: number;
|
|
816
816
|
height: number;
|
|
817
|
-
}
|
|
818
|
-
textShadowRadius?: number;
|
|
819
|
-
textShadowColor?: ____ColorValue_Internal;
|
|
820
|
-
letterSpacing?: number;
|
|
821
|
-
lineHeight?: number;
|
|
822
|
-
textAlign?: "auto" | "left" | "right" | "center" | "justify" | "start" | "end";
|
|
823
|
-
textAlignVertical?: "auto" | "top" | "bottom" | "center";
|
|
824
|
-
includeFontPadding?: boolean;
|
|
825
|
-
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through";
|
|
826
|
-
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | "wavy";
|
|
827
|
-
textDecorationColor?: ____ColorValue_Internal;
|
|
828
|
-
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase";
|
|
829
|
-
userSelect?: "auto" | "text" | "none" | "contain" | "all";
|
|
830
|
-
verticalAlign?: "auto" | "top" | "bottom" | "middle";
|
|
831
|
-
writingDirection?: "auto" | "ltr" | "rtl";
|
|
817
|
+
}> | undefined;
|
|
818
|
+
textShadowRadius?: number | undefined;
|
|
819
|
+
textShadowColor?: ____ColorValue_Internal | undefined;
|
|
820
|
+
letterSpacing?: number | undefined;
|
|
821
|
+
lineHeight?: number | undefined;
|
|
822
|
+
textAlign?: "auto" | "left" | "right" | "center" | "justify" | "start" | "end" | undefined;
|
|
823
|
+
textAlignVertical?: "auto" | "top" | "bottom" | "center" | undefined;
|
|
824
|
+
includeFontPadding?: boolean | undefined;
|
|
825
|
+
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
826
|
+
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | "wavy" | undefined;
|
|
827
|
+
textDecorationColor?: ____ColorValue_Internal | undefined;
|
|
828
|
+
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase" | undefined;
|
|
829
|
+
userSelect?: "auto" | "text" | "none" | "contain" | "all" | undefined;
|
|
830
|
+
verticalAlign?: "auto" | "top" | "bottom" | "middle" | undefined;
|
|
831
|
+
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
|
|
832
832
|
}>;
|
|
833
833
|
export type ____TextStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, keyof ____TextStyle_InternalBase | keyof {}> & Omit<____TextStyle_InternalBase, keyof {}> & {}>;
|
|
834
834
|
export type ____TextStyle_Internal = Readonly<Omit<____TextStyle_InternalCore, keyof ____TextStyle_InternalOverrides | keyof {}> & Omit<____TextStyle_InternalOverrides, keyof {}> & {}>;
|
|
835
835
|
export type ____ImageStyle_InternalCore = Readonly<Omit<____ViewStyle_Internal, keyof {
|
|
836
|
-
resizeMode?: ImageResizeMode;
|
|
837
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
838
|
-
tintColor?: ____ColorValue_Internal;
|
|
839
|
-
overlayColor?: ColorValue;
|
|
840
|
-
overflow?: "visible" | "hidden";
|
|
836
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
837
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
838
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
839
|
+
overlayColor?: ColorValue | undefined;
|
|
840
|
+
overflow?: "visible" | "hidden" | undefined;
|
|
841
841
|
}> & {
|
|
842
|
-
resizeMode?: ImageResizeMode;
|
|
843
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
844
|
-
tintColor?: ____ColorValue_Internal;
|
|
845
|
-
overlayColor?: ColorValue;
|
|
846
|
-
overflow?: "visible" | "hidden";
|
|
842
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
843
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
844
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
845
|
+
overlayColor?: ColorValue | undefined;
|
|
846
|
+
overflow?: "visible" | "hidden" | undefined;
|
|
847
847
|
}>;
|
|
848
848
|
export type ____ImageStyle_Internal = Readonly<Omit<____ImageStyle_InternalCore, keyof ____ImageStyle_InternalOverrides | keyof {}> & Omit<____ImageStyle_InternalOverrides, keyof {}> & {}>;
|
|
849
849
|
export type ____DangerouslyImpreciseStyle_InternalCore = Readonly<Omit<____TextStyle_Internal, keyof {
|
|
850
|
-
resizeMode?: ImageResizeMode;
|
|
851
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
852
|
-
tintColor?: ____ColorValue_Internal;
|
|
853
|
-
overlayColor?: ColorValue;
|
|
850
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
851
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
852
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
853
|
+
overlayColor?: ColorValue | undefined;
|
|
854
854
|
}> & {
|
|
855
|
-
resizeMode?: ImageResizeMode;
|
|
856
|
-
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none";
|
|
857
|
-
tintColor?: ____ColorValue_Internal;
|
|
858
|
-
overlayColor?: ColorValue;
|
|
855
|
+
resizeMode?: ImageResizeMode | undefined;
|
|
856
|
+
objectFit?: "cover" | "contain" | "fill" | "scale-down" | "none" | undefined;
|
|
857
|
+
tintColor?: ____ColorValue_Internal | undefined;
|
|
858
|
+
overlayColor?: ColorValue | undefined;
|
|
859
859
|
}>;
|
|
860
860
|
export type ____DangerouslyImpreciseStyle_Internal = Readonly<Omit<____DangerouslyImpreciseStyle_InternalCore, keyof ____DangerouslyImpreciseStyle_InternalOverrides | keyof {}> & Omit<____DangerouslyImpreciseStyle_InternalOverrides, keyof {}> & {}>;
|
|
861
861
|
export type StyleProp<T> = null | void | T | false | "" | ReadonlyArray<StyleProp<T>>;
|