@expo/html-elements 57.0.0 → 58.0.0-canary-20260805-ccd18b9

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.
Files changed (115) hide show
  1. package/.tsbuildinfo +1 -0
  2. package/.turbo/turbo-build.log +27 -0
  3. package/CHANGELOG.md +1 -1
  4. package/README.md +11 -11
  5. package/babel/jest.config.js +2 -6
  6. package/build/Elements.d.ts +0 -1
  7. package/build/Elements.js +9 -0
  8. package/build/Elements.js.map +1 -0
  9. package/build/css/createSafeStyledView.d.ts +0 -1
  10. package/build/css/createSafeStyledView.js +6 -0
  11. package/build/css/createSafeStyledView.js.map +1 -0
  12. package/build/css/createSafeStyledView.native.d.ts +0 -1
  13. package/build/css/createSafeStyledView.native.js +17 -0
  14. package/build/css/createSafeStyledView.native.js.map +1 -0
  15. package/build/css/filterStyles.d.ts +0 -1
  16. package/build/css/filterStyles.js +86 -0
  17. package/build/css/filterStyles.js.map +1 -0
  18. package/build/css/units.d.ts +0 -1
  19. package/build/css/units.js +11 -0
  20. package/build/css/units.js.map +1 -0
  21. package/build/elements/Anchor.d.ts +0 -1
  22. package/build/elements/Anchor.js +30 -0
  23. package/build/elements/Anchor.js.map +1 -0
  24. package/build/elements/Headings.d.ts +0 -1
  25. package/build/elements/Headings.js +82 -0
  26. package/build/elements/Headings.js.map +1 -0
  27. package/build/elements/Layout.d.ts +0 -1
  28. package/build/elements/Layout.js +60 -0
  29. package/build/elements/Layout.js.map +1 -0
  30. package/build/elements/Lists.d.ts +0 -1
  31. package/build/elements/Lists.js +46 -0
  32. package/build/elements/Lists.js.map +1 -0
  33. package/build/elements/Rules.d.ts +0 -1
  34. package/build/elements/Rules.js +23 -0
  35. package/build/elements/Rules.js.map +1 -0
  36. package/build/elements/Rules.web.d.ts +0 -1
  37. package/build/elements/Rules.web.js +6 -0
  38. package/build/elements/Rules.web.js.map +1 -0
  39. package/build/elements/Table.d.ts +0 -1
  40. package/build/elements/Table.js +83 -0
  41. package/build/elements/Table.js.map +1 -0
  42. package/build/elements/Table.web.d.ts +0 -1
  43. package/build/elements/Table.web.js +47 -0
  44. package/build/elements/Table.web.js.map +1 -0
  45. package/build/elements/Text.d.ts +1 -2
  46. package/build/elements/Text.js +169 -0
  47. package/build/elements/Text.js.map +1 -0
  48. package/build/elements/Text.types.d.ts +0 -1
  49. package/build/elements/Text.types.js +3 -0
  50. package/build/elements/Text.types.js.map +1 -0
  51. package/build/primitives/Image.d.ts +0 -1
  52. package/build/primitives/Image.js +6 -0
  53. package/build/primitives/Image.js.map +1 -0
  54. package/build/primitives/RNWView.d.ts +0 -1
  55. package/build/primitives/RNWView.js +128 -0
  56. package/build/primitives/RNWView.js.map +1 -0
  57. package/build/primitives/Table.d.ts +0 -1
  58. package/build/primitives/Table.js +4 -0
  59. package/build/primitives/Table.js.map +1 -0
  60. package/build/primitives/Text.d.ts +0 -1
  61. package/build/primitives/Text.js +6 -0
  62. package/build/primitives/Text.js.map +1 -0
  63. package/build/primitives/View.d.ts +0 -1
  64. package/build/primitives/View.js +11 -0
  65. package/build/primitives/View.js.map +1 -0
  66. package/build/primitives/createDevView.d.ts +0 -1
  67. package/build/primitives/createDevView.js +56 -0
  68. package/build/primitives/createDevView.js.map +1 -0
  69. package/build/ts-declarations/process.d.ts +7 -0
  70. package/build/ts-declarations/react-native-web.d.ts +1015 -0
  71. package/package.json +55 -34
  72. package/src/css/__tests__/createSafeStyledView.test.native.tsx +0 -1
  73. package/src/elements/Anchor.tsx +1 -1
  74. package/src/elements/Text.tsx +1 -1
  75. package/src/elements/__tests__/Anchor.test.ios.tsx +0 -1
  76. package/src/elements/__tests__/Anchor.test.web.tsx +0 -1
  77. package/src/elements/__tests__/Headings.test.ios.tsx +1 -2
  78. package/src/elements/__tests__/Layout.test.ios.tsx +0 -1
  79. package/src/elements/__tests__/Layout.test.web.tsx +0 -1
  80. package/src/elements/__tests__/Lists.test.native.tsx +0 -1
  81. package/src/elements/__tests__/Lists.test.web.tsx +0 -1
  82. package/src/elements/__tests__/Rules.test.native.tsx +0 -1
  83. package/src/elements/__tests__/Rules.test.web.tsx +0 -1
  84. package/src/elements/__tests__/Table.test.ios.tsx +0 -1
  85. package/src/elements/__tests__/Table.test.web.tsx +0 -1
  86. package/src/elements/__tests__/Text.test.ios.tsx +0 -1
  87. package/src/primitives/Image.tsx +1 -1
  88. package/src/primitives/Text.tsx +1 -1
  89. package/src/primitives/View.tsx +1 -1
  90. package/src/primitives/__tests__/createDevView.test.tsx +0 -1
  91. package/src/ts-declarations/react-native-web.d.ts +6 -7
  92. package/tsconfig.json +2 -3
  93. package/.eslintrc.js +0 -2
  94. package/build/Elements.d.ts.map +0 -1
  95. package/build/css/createSafeStyledView.d.ts.map +0 -1
  96. package/build/css/createSafeStyledView.native.d.ts.map +0 -1
  97. package/build/css/filterStyles.d.ts.map +0 -1
  98. package/build/css/units.d.ts.map +0 -1
  99. package/build/elements/Anchor.d.ts.map +0 -1
  100. package/build/elements/Headings.d.ts.map +0 -1
  101. package/build/elements/Layout.d.ts.map +0 -1
  102. package/build/elements/Lists.d.ts.map +0 -1
  103. package/build/elements/Rules.d.ts.map +0 -1
  104. package/build/elements/Rules.web.d.ts.map +0 -1
  105. package/build/elements/Table.d.ts.map +0 -1
  106. package/build/elements/Table.web.d.ts.map +0 -1
  107. package/build/elements/Text.d.ts.map +0 -1
  108. package/build/elements/Text.types.d.ts.map +0 -1
  109. package/build/primitives/Image.d.ts.map +0 -1
  110. package/build/primitives/RNWView.d.ts.map +0 -1
  111. package/build/primitives/Table.d.ts.map +0 -1
  112. package/build/primitives/Text.d.ts.map +0 -1
  113. package/build/primitives/View.d.ts.map +0 -1
  114. package/build/primitives/createDevView.d.ts.map +0 -1
  115. /package/src/primitives/{Table.ts → Table.tsx} +0 -0
@@ -0,0 +1,1015 @@
1
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/exports/createElement/index.js
2
+ declare module 'react-native-web/dist/exports/createElement' {
3
+ export { createElement as default } from 'react';
4
+ }
5
+
6
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/exports/StyleSheet/index.js
7
+ declare module 'react-native-web/dist/exports/StyleSheet' {
8
+ type StyleProps = [string, { [key: string]: any } | null];
9
+ type Options = {
10
+ shadow?: boolean;
11
+ textShadow?: boolean;
12
+ writingDirection: 'ltr' | 'rtl';
13
+ };
14
+
15
+ export type IStyleSheet = {
16
+ (styles: readonly any[], options?: Options): StyleProps;
17
+ absoluteFill: object;
18
+ absoluteFillObject: object;
19
+ create: typeof create;
20
+ compose: typeof compose;
21
+ flatten: typeof flatten;
22
+ getSheet: typeof getSheet;
23
+ hairlineWidth: number;
24
+ };
25
+
26
+ const stylesheet: IStyleSheet;
27
+ export default stylesheet;
28
+ }
29
+
30
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/exports/Text/TextAncestorContext.js
31
+ declare module 'react-native-web/dist/exports/Text/TextAncestorContext' {
32
+ import type { Context } from 'react';
33
+ const textAncestorContext: Context<boolean>;
34
+ export default textAncestorContext;
35
+ }
36
+
37
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/exports/View/index.js
38
+ declare module 'react-native-web/dist/exports/View' {
39
+ export type { ViewProps } from 'react-native-web/dist/exports/View/types';
40
+ }
41
+
42
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/exports/View/types.js
43
+ declare module 'react-native-web/dist/exports/View/types' {
44
+ import type { ColorValue, GenericStyleProp, LayoutEvent } from 'react-native-web/dist/types';
45
+ import type {
46
+ AnimationStyles,
47
+ BorderStyles,
48
+ InteractionStyles,
49
+ LayoutStyles,
50
+ ShadowStyles,
51
+ TransformStyles,
52
+ } from 'react-native-web/dist/types/styles';
53
+
54
+ type NumberOrString = number | string;
55
+ type OverscrollBehaviorValue = 'auto' | 'contain' | 'none';
56
+ type idRef = string;
57
+ type idRefList = idRef | idRef[];
58
+
59
+ export type AccessibilityProps = {
60
+ 'aria-activedescendant'?: idRef | null;
61
+ 'aria-atomic'?: boolean | null;
62
+ 'aria-autocomplete'?: 'none' | 'list' | 'inline' | 'both' | null;
63
+ 'aria-busy'?: boolean | null;
64
+ 'aria-checked'?: boolean | 'mixed' | null;
65
+ 'aria-colcount'?: number | null;
66
+ 'aria-colindex'?: number | null;
67
+ 'aria-colspan'?: number | null;
68
+ 'aria-controls'?: idRef | null;
69
+ 'aria-current'?: boolean | 'page' | 'step' | 'location' | 'date' | 'time' | null;
70
+ 'aria-describedby'?: idRef | null;
71
+ 'aria-details'?: idRef | null;
72
+ 'aria-disabled'?: boolean | null;
73
+ 'aria-errormessage'?: idRef | null;
74
+ 'aria-expanded'?: boolean | null;
75
+ 'aria-flowto'?: idRef | null;
76
+ 'aria-haspopup'?: 'dialog' | 'grid' | 'listbox' | 'menu' | 'tree' | false | null;
77
+ 'aria-hidden'?: boolean | null;
78
+ 'aria-invalid'?: boolean | null;
79
+ 'aria-keyshortcuts'?: string[] | null;
80
+ 'aria-label'?: string | null;
81
+ 'aria-labelledby'?: idRef | null;
82
+ 'aria-level'?: number | null;
83
+ 'aria-live'?: 'assertive' | 'none' | 'polite' | null;
84
+ 'aria-modal'?: boolean | null;
85
+ 'aria-multiline'?: boolean | null;
86
+ 'aria-multiselectable'?: boolean | null;
87
+ 'aria-orientation'?: 'horizontal' | 'vertical' | null;
88
+ 'aria-owns'?: idRef | null;
89
+ 'aria-placeholder'?: string | null;
90
+ 'aria-posinset'?: number | null;
91
+ 'aria-pressed'?: (boolean | 'mixed') | null;
92
+ 'aria-readonly'?: boolean | null;
93
+ 'aria-required'?: boolean | null;
94
+ 'aria-roledescription'?: string | null;
95
+ 'aria-rowcount'?: number | null;
96
+ 'aria-rowindex'?: number | null;
97
+ 'aria-rowspan'?: number | null;
98
+ 'aria-selected'?: boolean | null;
99
+ 'aria-setsize'?: number | null;
100
+ 'aria-sort'?: 'ascending' | 'descending' | 'none' | 'other' | null;
101
+ 'aria-valuemax'?: number | null;
102
+ 'aria-valuemin'?: number | null;
103
+ 'aria-valuenow'?: number | null;
104
+ 'aria-valuetext'?: string | null;
105
+ role?: string | null;
106
+
107
+ // @deprecated
108
+ accessibilityActiveDescendant?: idRef | null;
109
+ accessibilityAtomic?: boolean | null;
110
+ accessibilityAutoComplete?: ('none' | 'list' | 'inline' | 'both') | null;
111
+ accessibilityBusy?: boolean | null;
112
+ accessibilityChecked?: boolean | 'mixed' | null;
113
+ accessibilityColumnCount?: number | null;
114
+ accessibilityColumnIndex?: number | null;
115
+ accessibilityColumnSpan?: number | null;
116
+ accessibilityControls?: idRefList | null;
117
+ accessibilityCurrent?: boolean | 'page' | 'step' | 'location' | 'date' | 'time' | null;
118
+ accessibilityDescribedBy?: idRefList | null;
119
+ accessibilityDetails?: idRef | null;
120
+ accessibilityDisabled?: boolean | null;
121
+ accessibilityErrorMessage?: idRef | null;
122
+ accessibilityExpanded?: boolean | null;
123
+ accessibilityFlowTo?: idRefList | null;
124
+ accessibilityHasPopup?: 'dialog' | 'grid' | 'listbox' | 'menu' | 'tree' | false | null;
125
+ accessibilityHidden?: boolean | null;
126
+ accessibilityInvalid?: boolean | null;
127
+ accessibilityKeyShortcuts?: string[] | null;
128
+ accessibilityLabel?: string | null;
129
+ accessibilityLabelledBy?: idRefList | null;
130
+ accessibilityLevel?: number | null;
131
+ accessibilityLiveRegion?: 'assertive' | 'none' | 'polite' | null;
132
+ accessibilityModal?: boolean | null;
133
+ accessibilityMultiline?: boolean | null;
134
+ accessibilityMultiSelectable?: boolean | null;
135
+ accessibilityOrientation?: 'horizontal' | 'vertical' | null;
136
+ accessibilityOwns?: idRefList | null;
137
+ accessibilityPlaceholder?: string | null;
138
+ accessibilityPosInSet?: number | null;
139
+ accessibilityPressed?: (boolean | 'mixed') | null;
140
+ accessibilityReadOnly?: boolean | null;
141
+ accessibilityRequired?: boolean | null;
142
+ accessibilityRole?: string | null;
143
+ accessibilityRoleDescription?: string | null;
144
+ accessibilityRowCount?: number | null;
145
+ accessibilityRowIndex?: number | null;
146
+ accessibilityRowSpan?: number | null;
147
+ accessibilitySelected?: boolean | null;
148
+ accessibilitySetSize?: number | null;
149
+ accessibilitySort?: 'ascending' | 'descending' | 'none' | 'other' | null;
150
+ accessibilityValueMax?: number | null;
151
+ accessibilityValueMin?: number | null;
152
+ accessibilityValueNow?: number | null;
153
+ accessibilityValueText?: string | null;
154
+ };
155
+
156
+ export type EventProps = {
157
+ onAuxClick?: (e: any) => void;
158
+ onBlur?: (e: any) => void;
159
+ onClick?: (e: any) => void;
160
+ onContextMenu?: (e: any) => void;
161
+ onFocus?: (e: any) => void;
162
+ onGotPointerCapture?: (e: any) => void;
163
+ onKeyDown?: (e: any) => void;
164
+ onKeyUp?: (e: any) => void;
165
+ onLayout?: (e: LayoutEvent) => void;
166
+ onLostPointerCapture?: (e: any) => void;
167
+ onMoveShouldSetResponder?: (e: any) => boolean;
168
+ onMoveShouldSetResponderCapture?: (e: any) => boolean;
169
+ onPointerCancel?: (e: any) => void;
170
+ onPointerDown?: (e: any) => void;
171
+ onPointerEnter?: (e: any) => void;
172
+ onPointerMove?: (e: any) => void;
173
+ onPointerLeave?: (e: any) => void;
174
+ onPointerOut?: (e: any) => void;
175
+ onPointerOver?: (e: any) => void;
176
+ onPointerUp?: (e: any) => void;
177
+ onResponderEnd?: (e: any) => void;
178
+ onResponderGrant?: (e: any) => void | boolean;
179
+ onResponderMove?: (e: any) => void;
180
+ onResponderReject?: (e: any) => void;
181
+ onResponderRelease?: (e: any) => void;
182
+ onResponderStart?: (e: any) => void;
183
+ onResponderTerminate?: (e: any) => void;
184
+ onResponderTerminationRequest?: (e: any) => boolean;
185
+ onScrollShouldSetResponder?: (e: any) => boolean;
186
+ onScrollShouldSetResponderCapture?: (e: any) => boolean;
187
+ onSelectionChangeShouldSetResponder?: (e: any) => boolean;
188
+ onSelectionChangeShouldSetResponderCapture?: (e: any) => boolean;
189
+ onStartShouldSetResponder?: (e: any) => boolean;
190
+ onStartShouldSetResponderCapture?: (e: any) => boolean;
191
+ // unstable
192
+ onMouseDown?: (e: any) => void;
193
+ onMouseEnter?: (e: any) => void;
194
+ onMouseLeave?: (e: any) => void;
195
+ onMouseMove?: (e: any) => void;
196
+ onMouseOver?: (e: any) => void;
197
+ onMouseOut?: (e: any) => void;
198
+ onMouseUp?: (e: any) => void;
199
+ onScroll?: (e: any) => void;
200
+ onTouchCancel?: (e: any) => void;
201
+ onTouchCancelCapture?: (e: any) => void;
202
+ onTouchEnd?: (e: any) => void;
203
+ onTouchEndCapture?: (e: any) => void;
204
+ onTouchMove?: (e: any) => void;
205
+ onTouchMoveCapture?: (e: any) => void;
206
+ onTouchStart?: (e: any) => void;
207
+ onTouchStartCapture?: (e: any) => void;
208
+ onWheel?: (e: any) => void;
209
+ };
210
+
211
+ export type ViewStyle = AnimationStyles &
212
+ BorderStyles &
213
+ InteractionStyles &
214
+ LayoutStyles &
215
+ ShadowStyles &
216
+ TransformStyles & {
217
+ backdropFilter?: string | null;
218
+ backgroundAttachment?: string | null;
219
+ backgroundBlendMode?: string | null;
220
+ backgroundClip?: string | null;
221
+ backgroundColor?: ColorValue | null;
222
+ backgroundImage?: string | null;
223
+ backgroundOrigin?: 'border-box' | 'content-box' | 'padding-box';
224
+ backgroundPosition?: string | null;
225
+ backgroundRepeat?: string | null;
226
+ backgroundSize?: string | null;
227
+ boxShadow?: string | null;
228
+ clip?: string | null;
229
+ filter?: string | null;
230
+ opacity?: number | null;
231
+ outlineColor?: ColorValue | null;
232
+ outlineOffset?: NumberOrString | null;
233
+ outlineStyle?: string | null;
234
+ outlineWidth?: NumberOrString | null;
235
+ overscrollBehavior?: OverscrollBehaviorValue | null;
236
+ overscrollBehaviorX?: OverscrollBehaviorValue | null;
237
+ overscrollBehaviorY?: OverscrollBehaviorValue | null;
238
+ pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto';
239
+ scrollbarWidth?: 'auto' | 'none' | 'thin';
240
+ scrollSnapAlign?: string | null;
241
+ scrollSnapType?: string | null;
242
+ WebkitMaskImage?: string | null;
243
+ WebkitOverflowScrolling?: 'auto' | 'touch';
244
+ };
245
+
246
+ export type ViewProps = AccessibilityProps &
247
+ EventProps & {
248
+ children?: any | null;
249
+ dataSet?: object;
250
+ dir?: 'ltr' | 'rtl';
251
+ id?: string | null;
252
+ lang?: string;
253
+ style?: GenericStyleProp<ViewStyle>;
254
+ tabIndex?: 0 | -1 | null;
255
+ testID?: string | null;
256
+ // unstable
257
+ href?: string | null;
258
+ hrefAttrs?: { download?: boolean | null; rel?: string | null; target?: string | null } | null;
259
+ // @deprecated
260
+ focusable?: boolean | null;
261
+ pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto';
262
+ nativeID?: string | null;
263
+ };
264
+ }
265
+
266
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/forwardedProps/index.js
267
+ declare module 'react-native-web/dist/modules/forwardedProps' {
268
+ export const defaultProps = {
269
+ children: true,
270
+ dataSet: true,
271
+ dir: true,
272
+ id: true,
273
+ ref: true,
274
+ suppressHydrationWarning: true,
275
+ tabIndex: true,
276
+ testID: true,
277
+ // @deprecated
278
+ focusable: true,
279
+ nativeID: true,
280
+ };
281
+
282
+ export const accessibilityProps = {
283
+ 'aria-activedescendant': true,
284
+ 'aria-atomic': true,
285
+ 'aria-autocomplete': true,
286
+ 'aria-busy': true,
287
+ 'aria-checked': true,
288
+ 'aria-colcount': true,
289
+ 'aria-colindex': true,
290
+ 'aria-colspan': true,
291
+ 'aria-controls': true,
292
+ 'aria-current': true,
293
+ 'aria-describedby': true,
294
+ 'aria-details': true,
295
+ 'aria-disabled': true,
296
+ 'aria-errormessage': true,
297
+ 'aria-expanded': true,
298
+ 'aria-flowto': true,
299
+ 'aria-haspopup': true,
300
+ 'aria-hidden': true,
301
+ 'aria-invalid': true,
302
+ 'aria-keyshortcuts': true,
303
+ 'aria-label': true,
304
+ 'aria-labelledby': true,
305
+ 'aria-level': true,
306
+ 'aria-live': true,
307
+ 'aria-modal': true,
308
+ 'aria-multiline': true,
309
+ 'aria-multiselectable': true,
310
+ 'aria-orientation': true,
311
+ 'aria-owns': true,
312
+ 'aria-placeholder': true,
313
+ 'aria-posinset': true,
314
+ 'aria-pressed': true,
315
+ 'aria-readonly': true,
316
+ 'aria-required': true,
317
+ role: true,
318
+ 'aria-roledescription': true,
319
+ 'aria-rowcount': true,
320
+ 'aria-rowindex': true,
321
+ 'aria-rowspan': true,
322
+ 'aria-selected': true,
323
+ 'aria-setsize': true,
324
+ 'aria-sort': true,
325
+ 'aria-valuemax': true,
326
+ 'aria-valuemin': true,
327
+ 'aria-valuenow': true,
328
+ 'aria-valuetext': true,
329
+ // @deprecated
330
+ accessibilityActiveDescendant: true,
331
+ accessibilityAtomic: true,
332
+ accessibilityAutoComplete: true,
333
+ accessibilityBusy: true,
334
+ accessibilityChecked: true,
335
+ accessibilityColumnCount: true,
336
+ accessibilityColumnIndex: true,
337
+ accessibilityColumnSpan: true,
338
+ accessibilityControls: true,
339
+ accessibilityCurrent: true,
340
+ accessibilityDescribedBy: true,
341
+ accessibilityDetails: true,
342
+ accessibilityDisabled: true,
343
+ accessibilityErrorMessage: true,
344
+ accessibilityExpanded: true,
345
+ accessibilityFlowTo: true,
346
+ accessibilityHasPopup: true,
347
+ accessibilityHidden: true,
348
+ accessibilityInvalid: true,
349
+ accessibilityKeyShortcuts: true,
350
+ accessibilityLabel: true,
351
+ accessibilityLabelledBy: true,
352
+ accessibilityLevel: true,
353
+ accessibilityLiveRegion: true,
354
+ accessibilityModal: true,
355
+ accessibilityMultiline: true,
356
+ accessibilityMultiSelectable: true,
357
+ accessibilityOrientation: true,
358
+ accessibilityOwns: true,
359
+ accessibilityPlaceholder: true,
360
+ accessibilityPosInSet: true,
361
+ accessibilityPressed: true,
362
+ accessibilityReadOnly: true,
363
+ accessibilityRequired: true,
364
+ accessibilityRole: true,
365
+ accessibilityRoleDescription: true,
366
+ accessibilityRowCount: true,
367
+ accessibilityRowIndex: true,
368
+ accessibilityRowSpan: true,
369
+ accessibilitySelected: true,
370
+ accessibilitySetSize: true,
371
+ accessibilitySort: true,
372
+ accessibilityValueMax: true,
373
+ accessibilityValueMin: true,
374
+ accessibilityValueNow: true,
375
+ accessibilityValueText: true,
376
+ };
377
+
378
+ export const clickProps = {
379
+ onClick: true,
380
+ onAuxClick: true,
381
+ onContextMenu: true,
382
+ onGotPointerCapture: true,
383
+ onLostPointerCapture: true,
384
+ onPointerCancel: true,
385
+ onPointerDown: true,
386
+ onPointerEnter: true,
387
+ onPointerMove: true,
388
+ onPointerLeave: true,
389
+ onPointerOut: true,
390
+ onPointerOver: true,
391
+ onPointerUp: true,
392
+ };
393
+
394
+ export const focusProps = {
395
+ onBlur: true,
396
+ onFocus: true,
397
+ };
398
+
399
+ export const keyboardProps = {
400
+ onKeyDown: true,
401
+ onKeyDownCapture: true,
402
+ onKeyUp: true,
403
+ onKeyUpCapture: true,
404
+ };
405
+
406
+ export const mouseProps = {
407
+ onMouseDown: true,
408
+ onMouseEnter: true,
409
+ onMouseLeave: true,
410
+ onMouseMove: true,
411
+ onMouseOver: true,
412
+ onMouseOut: true,
413
+ onMouseUp: true,
414
+ };
415
+
416
+ export const touchProps = {
417
+ onTouchCancel: true,
418
+ onTouchCancelCapture: true,
419
+ onTouchEnd: true,
420
+ onTouchEndCapture: true,
421
+ onTouchMove: true,
422
+ onTouchMoveCapture: true,
423
+ onTouchStart: true,
424
+ onTouchStartCapture: true,
425
+ };
426
+
427
+ export const styleProps = {
428
+ style: true,
429
+ };
430
+ }
431
+
432
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/mergeRefs/index.js
433
+ declare module 'react-native-web/dist/modules/mergeRefs' {
434
+ export default function mergeRefs(
435
+ ...args: readonly React.ElementRef<any>[]
436
+ ): (node: HTMLElement | null) => void;
437
+ }
438
+
439
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/pick/index.js
440
+ declare module 'react-native-web/dist/modules/pick' {
441
+ export default function pick<T extends Record<string, any>, L extends Record<string, boolean>>(
442
+ obj: T,
443
+ list: L
444
+ ): { [K in Extract<keyof T, keyof L> as L[K] extends true ? K : never]: T[K] };
445
+ }
446
+
447
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useElementLayout/index.js
448
+ declare module 'react-native-web/dist/modules/useElementLayout' {
449
+ import type { ElementType } from 'react';
450
+ import type { LayoutEvent } from 'react-native-web/dist/types';
451
+
452
+ export default function useElementLayout(
453
+ ref: ElementRef<any>,
454
+ onLayout?: ((e: LayoutEvent) => void) | undefined | null
455
+ ): void;
456
+ }
457
+
458
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useLocale/index.js
459
+ declare module 'react-native-web/dist/modules/useLocale' {
460
+ import type { PropsWithChildren } from 'react';
461
+
462
+ type Locale = string;
463
+ type WritingDirection = 'ltr' | 'rtl';
464
+ type LocaleValue = {
465
+ /** Locale writing direction. */
466
+ direction: WritingDirection;
467
+ /** Locale BCP47 language code: https://www.ietf.org/rfc/bcp/bcp47.txt */
468
+ locale?: Locale;
469
+ };
470
+
471
+ export function getLocaleDirection(locale: Locale): WritingDirection;
472
+ export function LocaleProvider(props: PropsWithChildren<ProviderProps>): Node;
473
+ export function useLocaleContext(): LocaleValue;
474
+ }
475
+
476
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useMergeRefs/index.js
477
+ declare module 'react-native-web/dist/modules/useMergeRefs' {
478
+ export { default } from 'react-native-web/dist/modules/mergeRefs';
479
+ }
480
+
481
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/usePlatformMethods/index.js
482
+ declare module 'react-native-web/dist/modules/usePlatformMethods' {
483
+ import type { ViewProps } from 'react-native-web/dist/exports/View/types';
484
+ import type { GenericStyleProp } from 'react-native-web/dist/types';
485
+
486
+ /**
487
+ * Adds non-standard methods to the host element. This is temporarily until an
488
+ * API like `ReactNative.measure(hostRef, callback)` is added to React Native.
489
+ */
490
+ export default function usePlatformMethods(methods: {
491
+ style?: GenericStyleProp<any>;
492
+ pointerEvents?: ViewProps['pointerEvents'];
493
+ });
494
+ }
495
+
496
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useResponderEvents/index.js
497
+ declare module 'react-native-web/dist/modules/useResponderEvents' {
498
+ import type { ResponderConfig } from 'react-native-web/dist/modules/useResponderEvents/ResponderSystem';
499
+
500
+ export default function useResponderEvents(hostRef: any, config?: ResponderConfig): void;
501
+ }
502
+
503
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useResponderEvents/createResponderEvent.js
504
+ declare module 'react-native-web/dist/modules/useResponderEvents/createResponderEvent' {
505
+ import type { TouchEvent } from 'react-native-web/src/modules/useResponderEvents/ResponderEventTypes';
506
+ import type { TouchHistory } from 'react-native-web/src/modules/useResponderEvents/ResponderTouchHistoryStore';
507
+
508
+ export type ResponderEvent = {
509
+ bubbles: boolean;
510
+ cancelable: boolean;
511
+ currentTarget: any;
512
+ defaultPrevented: boolean | null;
513
+ dispatchConfig: {
514
+ registrationName?: string;
515
+ phasedRegistrationNames?: {
516
+ bubbled: string;
517
+ captured: string;
518
+ };
519
+ };
520
+ eventPhase: number | null;
521
+ isDefaultPrevented: () => boolean;
522
+ isPropagationStopped: () => boolean;
523
+ isTrusted: boolean | null;
524
+ preventDefault: () => void;
525
+ stopPropagation: () => void;
526
+ nativeEvent: TouchEvent;
527
+ persist: () => void;
528
+ target: any | null;
529
+ timeStamp: number;
530
+ touchHistory: TouchHistory;
531
+ };
532
+ }
533
+
534
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useResponderEvents/ResponderEventTypes.js
535
+ declare module 'react-native-web/src/modules/useResponderEvents/ResponderEventTypes' {
536
+ export type Touch = {
537
+ force: number;
538
+ identifier: number;
539
+ // The locationX and locationY properties are non-standard additions
540
+ locationX: any;
541
+ locationY: any;
542
+ pageX: number;
543
+ pageY: number;
544
+ target: any;
545
+ // Touches in a list have a timestamp property
546
+ timestamp: number;
547
+ };
548
+
549
+ export type TouchEvent = {
550
+ altKey: boolean;
551
+ ctrlKey: boolean;
552
+ metaKey: boolean;
553
+ shiftKey: boolean;
554
+ // TouchList is an array in the Responder system
555
+ changedTouches: Touch[];
556
+ force: number;
557
+ // React Native adds properties to the "nativeEvent that are usually only found on W3C Touches ‾\_(ツ)_/‾
558
+ identifier: number;
559
+ locationX: any;
560
+ locationY: any;
561
+ pageX: number;
562
+ pageY: number;
563
+ target: any;
564
+ // The timestamp has a lowercase "s" in the Responder system
565
+ timestamp: number;
566
+ // TouchList is an array in the Responder system
567
+ touches: Touch[];
568
+ };
569
+ }
570
+
571
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useResponderEvents/ResponderSystem.js
572
+ declare module 'react-native-web/dist/modules/useResponderEvents/ResponderSystem' {
573
+ import type { ResponderEvent } from 'react-native-web/dist/modules/useResponderEvents/createResponderEvent';
574
+
575
+ export type ResponderConfig = {
576
+ // Direct responder events dispatched directly to responder. Do not bubble.
577
+ onResponderEnd?: (e: ResponderEvent) => void | null;
578
+ onResponderGrant?: (e: ResponderEvent) => void | boolean | null;
579
+ onResponderMove?: (e: ResponderEvent) => void | null;
580
+ onResponderRelease?: (e: ResponderEvent) => void | null;
581
+ onResponderReject?: (e: ResponderEvent) => void | null;
582
+ onResponderStart?: (e: ResponderEvent) => void | null;
583
+ onResponderTerminate?: (e: ResponderEvent) => void | null;
584
+ onResponderTerminationRequest?: (e: ResponderEvent) => boolean | null;
585
+ // On pointer down, should this element become the responder?
586
+ onStartShouldSetResponder?: (e: ResponderEvent) => boolean | null;
587
+ onStartShouldSetResponderCapture?: (e: ResponderEvent) => boolean | null;
588
+ // On pointer move, should this element become the responder?
589
+ onMoveShouldSetResponder?: (e: ResponderEvent) => boolean | null;
590
+ onMoveShouldSetResponderCapture?: (e: ResponderEvent) => boolean | null;
591
+ // On scroll, should this element become the responder? Do no bubble
592
+ onScrollShouldSetResponder?: (e: ResponderEvent) => boolean | null;
593
+ onScrollShouldSetResponderCapture?: (e: ResponderEvent) => boolean | null;
594
+ // On text selection change, should this element become the responder?
595
+ onSelectionChangeShouldSetResponder?: (e: ResponderEvent) => boolean | null;
596
+ onSelectionChangeShouldSetResponderCapture?: (e: ResponderEvent) => booleam | null;
597
+ };
598
+ }
599
+
600
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/modules/useResponderEvents/ResponderTouchHistoryStore.js
601
+ declare module 'react-native-web/src/modules/useResponderEvents/ResponderTouchHistoryStore' {
602
+ type TouchRecord = {
603
+ currentPageX: number;
604
+ currentPageY: number;
605
+ currentTimeStamp: number;
606
+ previousPageX: number;
607
+ previousPageY: number;
608
+ previousTimeStamp: number;
609
+ startPageX: number;
610
+ startPageY: number;
611
+ startTimeStamp: number;
612
+ touchActive: boolean;
613
+ };
614
+
615
+ export type TouchHistory = Readonly<{
616
+ indexOfSingleActiveTouch: number;
617
+ mostRecentTimeStamp: number;
618
+ numberActiveTouches: number;
619
+ touchBank: TouchRecord[];
620
+ }>;
621
+ }
622
+
623
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/types/index.js
624
+ declare module 'react-native-web/dist/types' {
625
+ export type ColorValue = null | string;
626
+
627
+ export type DimensionValue = null | number | string;
628
+
629
+ export type EdgeInsetsValue = {
630
+ top: number;
631
+ left: number;
632
+ right: number;
633
+ bottom: number;
634
+ };
635
+
636
+ export type GenericStyleProp<T> =
637
+ | null
638
+ | void
639
+ | $ReadOnly<T>
640
+ | false
641
+ | ''
642
+ | $ReadOnlyArray<GenericStyleProp<T>>;
643
+
644
+ export type LayoutValue = {
645
+ x: number;
646
+ y: number;
647
+ width: number;
648
+ height: number;
649
+ };
650
+
651
+ export type LayoutEvent = {
652
+ nativeEvent: {
653
+ layout: LayoutValue;
654
+ target: any;
655
+ };
656
+ timeStamp: number;
657
+ };
658
+
659
+ export type PointValue = {
660
+ x: number;
661
+ y: number;
662
+ };
663
+
664
+ type LayoutCallback = (
665
+ x: number,
666
+ y: number,
667
+ width: number,
668
+ height: number,
669
+ left: number,
670
+ top: number
671
+ ) => void;
672
+
673
+ type MeasureInWindowCallback = (left: number, top: number, width: number, height: number) => void;
674
+
675
+ // Mixin to HTMLElement that represents additions from the `usePlatformMethods` hook
676
+ export interface PlatformMethods {
677
+ blur: () => void;
678
+ focus: () => void;
679
+ measure: (callback: LayoutCallback) => void;
680
+ measureInWindow: (callback: MeasureInWindowCallback) => void;
681
+ measureLayout: (
682
+ relativeToNativeNode: object,
683
+ onSuccess: LayoutCallback,
684
+ onFail: () => void
685
+ ) => void;
686
+ }
687
+ }
688
+
689
+ // See: https://github.com/necolas/react-native-web/blob/0.20.0/packages/react-native-web/src/types/styles.js
690
+ declare module 'react-native-web/dist/types/styles' {
691
+ import type { ColorValue, DimensionValue } from 'react-native-web/dist/types';
692
+
693
+ type NumberOrString = number | string;
694
+
695
+ /**
696
+ * Animations and transitions
697
+ */
698
+
699
+ type AnimationDirection = 'alternate' | 'alternate-reverse' | 'normal' | 'reverse';
700
+ type AnimationFillMode = 'none' | 'forwards' | 'backwards' | 'both';
701
+ type AnimationIterationCount = number | 'infinite';
702
+ type AnimationKeyframes = string | object;
703
+ type AnimationPlayState = 'paused' | 'running';
704
+
705
+ export type AnimationStyles = {
706
+ animationDelay?: string | string[] | null;
707
+ animationDirection?: AnimationDirection | AnimationDirection[] | null;
708
+ animationDuration?: string | string[] | null;
709
+ animationFillMode?: AnimationFillMode | AnimationFillMode[] | null;
710
+ animationIterationCount?: AnimationIterationCount | AnimationIterationCount[] | null;
711
+ animationKeyframes?: AnimationKeyframes | AnimationKeyframes[] | null;
712
+ animationPlayState?: AnimationPlayState | AnimationPlayState[] | null;
713
+ animationTimingFunction?: string | string[] | null;
714
+ transitionDelay?: string | string[] | null;
715
+ transitionDuration?: string | string[] | null;
716
+ transitionProperty?: string | string[] | null;
717
+ transitionTimingFunction?: string | string[] | null;
718
+ };
719
+
720
+ /**
721
+ * Border
722
+ */
723
+
724
+ type BorderRadiusValue = number | string;
725
+ type BorderStyleValue = 'solid' | 'dotted' | 'dashed';
726
+
727
+ export type BorderStyles = {
728
+ // color
729
+ borderColor?: ColorValue | null;
730
+ borderBlockColor?: ColorValue | null;
731
+ borderBlockEndColor?: ColorValue | null;
732
+ borderBlockStartColor?: ColorValue | null;
733
+ borderBottomColor?: ColorValue | null;
734
+ borderInlineColor?: ColorValue | null;
735
+ borderInlineEndColor?: ColorValue | null;
736
+ borderInlineStartColor?: ColorValue | null;
737
+ borderLeftColor?: ColorValue | null;
738
+ borderRightColor?: ColorValue | null;
739
+ borderTopColor?: ColorValue | null;
740
+ // radius
741
+ borderRadius?: BorderRadiusValue | null;
742
+ borderEndEndRadius?: BorderRadiusValue | null;
743
+ borderEndStartRadius?: BorderRadiusValue | null;
744
+ borderStartEndRadius?: BorderRadiusValue | null;
745
+ borderStartStartRadius?: BorderRadiusValue | null;
746
+ borderBottomLeftRadius?: BorderRadiusValue | null;
747
+ borderBottomRightRadius?: BorderRadiusValue | null;
748
+ borderTopLeftRadius?: BorderRadiusValue | null;
749
+ borderTopRightRadius?: BorderRadiusValue | null;
750
+ // style
751
+ borderStyle?: BorderStyleValue | null;
752
+ borderBlockStyle?: BorderStyleValue | null;
753
+ borderBlockEndStyle?: BorderStyleValue | null;
754
+ borderBlockStartStyle?: BorderStyleValue | null;
755
+ borderBottomStyle?: BorderStyleValue | null;
756
+ borderInlineStyle?: BorderStyleValue | null;
757
+ borderInlineEndStyle?: BorderStyleValue | null;
758
+ borderInlineStartStyle?: BorderStyleValue | null;
759
+ borderLeftStyle?: BorderStyleValue | null;
760
+ borderRightStyle?: BorderStyleValue | null;
761
+ borderTopStyle?: BorderStyleValue | null;
762
+ // deprecated
763
+ borderEndColor?: ColorValue | null;
764
+ borderStartColor?: ColorValue | null;
765
+ borderEndStyle?: BorderStyleValue | null;
766
+ borderStartStyle?: BorderStyleValue | null;
767
+ borderBottomEndRadius?: BorderRadiusValue | null;
768
+ borderBottomStartRadius?: BorderRadiusValue | null;
769
+ borderTopEndRadius?: BorderRadiusValue | null;
770
+ borderTopStartRadius?: BorderRadiusValue | null;
771
+ };
772
+
773
+ /**
774
+ * Interactions
775
+ */
776
+
777
+ type CursorValue =
778
+ | 'alias'
779
+ | 'all-scroll'
780
+ | 'auto'
781
+ | 'cell'
782
+ | 'context-menu'
783
+ | 'copy'
784
+ | 'crosshair'
785
+ | 'default'
786
+ | 'grab'
787
+ | 'grabbing'
788
+ | 'help'
789
+ | 'pointer'
790
+ | 'progress'
791
+ | 'wait'
792
+ | 'text'
793
+ | 'vertical-text'
794
+ | 'move'
795
+ | 'none'
796
+ | 'no-drop'
797
+ | 'not-allowed'
798
+ | 'zoom-in'
799
+ | 'zoom-out'
800
+ // resize
801
+ | 'col-resize'
802
+ | 'e-resize'
803
+ | 'ew-resize'
804
+ | 'n-resize'
805
+ | 'ne-resize'
806
+ | 'ns-resize'
807
+ | 'nw-resize'
808
+ | 'row-resize'
809
+ | 's-resize'
810
+ | 'se-resize'
811
+ | 'sw-resize'
812
+ | 'w-resize'
813
+ | 'nesw-resize'
814
+ | 'nwse-resize';
815
+
816
+ type TouchActionValue =
817
+ | 'auto'
818
+ | 'inherit'
819
+ | 'manipulation'
820
+ | 'none'
821
+ | 'pan-down'
822
+ | 'pan-left'
823
+ | 'pan-right'
824
+ | 'pan-up'
825
+ | 'pan-x'
826
+ | 'pan-y'
827
+ | 'pinch-zoom';
828
+
829
+ type UserSelect = 'all' | 'auto' | 'contain' | 'none' | 'text';
830
+
831
+ export type InteractionStyles = {
832
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#Formal_syntax
833
+ cursor?: CursorValue | null;
834
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action#Formal_syntax
835
+ touchAction?: TouchActionValue | null;
836
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#Formal_syntax_2
837
+ userSelect?: UserSelect | null;
838
+ willChange?: string | null;
839
+ };
840
+
841
+ /**
842
+ * Layout
843
+ */
844
+
845
+ type OverflowValue = 'auto' | 'hidden' | 'scroll' | 'visible';
846
+ type VisiblilityValue = 'hidden' | 'visible';
847
+
848
+ export type LayoutStyles = {
849
+ alignContent?:
850
+ | 'center'
851
+ | 'flex-end'
852
+ | 'flex-start'
853
+ | 'space-around'
854
+ | 'space-between'
855
+ | 'stretch';
856
+ alignItems?: 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch' | null;
857
+ alignSelf?: 'auto' | 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch' | null;
858
+ aspectRatio?: NumberOrString | null;
859
+ backfaceVisibility?: VisiblilityValue | null;
860
+ borderWidth?: DimensionValue | null;
861
+ borderBlockWidth?: DimensionValue | null;
862
+ borderBlockEndWidth?: DimensionValue | null;
863
+ borderBlockStartWidth?: DimensionValue | null;
864
+ borderBottomWidth?: DimensionValue | null;
865
+ borderInlineWidth?: DimensionValue | null;
866
+ borderInlineEndWidth?: DimensionValue | null;
867
+ borderInlineStartWidth?: DimensionValue | null;
868
+ borderLeftWidth?: DimensionValue | null;
869
+ borderRightWidth?: DimensionValue | null;
870
+ borderTopWidth?: DimensionValue | null;
871
+ bottom?: DimensionValue | null;
872
+ boxSizing?: ('border-box' | 'content-box' | 'padding-box') | null;
873
+ columnGap?: DimensionValue | null;
874
+ direction?: ('inherit' | 'ltr' | 'rtl') | null;
875
+ display?: string | null;
876
+ flex?: number | null;
877
+ flexBasis?: DimensionValue | null;
878
+ flexDirection?: ('column' | 'column-reverse' | 'row' | 'row-reverse') | null;
879
+ flexGrow?: number | null;
880
+ flexShrink?: number | null;
881
+ flexWrap?: ('nowrap' | 'wrap' | 'wrap-reverse') | null;
882
+ gap?: DimensionValue | null;
883
+ height?: DimensionValue | null;
884
+ inset?: DimensionValue | null;
885
+ insetBlock?: DimensionValue | null;
886
+ insetBlockEnd?: DimensionValue | null;
887
+ insetBlockStart?: DimensionValue | null;
888
+ insetInline?: DimensionValue | null;
889
+ insetInlineEnd?: DimensionValue | null;
890
+ insetInlineStart?: DimensionValue | null;
891
+ justifyContent?:
892
+ | 'center'
893
+ | 'flex-end'
894
+ | 'flex-start'
895
+ | 'space-around'
896
+ | 'space-between'
897
+ | 'space-evenly'
898
+ | null;
899
+ left?: DimensionValue | null;
900
+ margin?: DimensionValue | null;
901
+ marginBlock?: DimensionValue | null;
902
+ marginBlockEnd?: DimensionValue | null;
903
+ marginBlockStart?: DimensionValue | null;
904
+ marginBottom?: DimensionValue | null;
905
+ marginInline?: DimensionValue | null;
906
+ marginInlineEnd?: DimensionValue | null;
907
+ marginInlineStart?: DimensionValue | null;
908
+ marginLeft?: DimensionValue | null;
909
+ marginRight?: DimensionValue | null;
910
+ marginTop?: DimensionValue | null;
911
+ maxHeight?: DimensionValue | null;
912
+ maxWidth?: DimensionValue | null;
913
+ minHeight?: DimensionValue | null;
914
+ minWidth?: DimensionValue | null;
915
+ order?: number | null;
916
+ overflow?: OverflowValue | null;
917
+ overflowX?: OverflowValue | null;
918
+ overflowY?: OverflowValue | null;
919
+ padding?: DimensionValue | null;
920
+ paddingBlock?: DimensionValue | null;
921
+ paddingBlockEnd?: DimensionValue | null;
922
+ paddingBlockStart?: DimensionValue | null;
923
+ paddingBottom?: DimensionValue | null;
924
+ paddingInline?: DimensionValue | null;
925
+ paddingInlineEnd?: DimensionValue | null;
926
+ paddingInlineStart?: DimensionValue | null;
927
+ paddingLeft?: DimensionValue | null;
928
+ paddingRight?: DimensionValue | null;
929
+ paddingTop?: DimensionValue | null;
930
+ position?: 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky' | null;
931
+ right?: DimensionValue | null;
932
+ rowGap?: DimensionValue | null;
933
+ top?: DimensionValue | null;
934
+ visibility?: VisiblilityValue | null;
935
+ width?: DimensionValue | null;
936
+ zIndex?: number | null;
937
+ /**
938
+ * @platform web
939
+ */
940
+ gridAutoColumns?: string | null;
941
+ gridAutoFlow?: string | null;
942
+ gridAutoRows?: string | null;
943
+ gridColumnEnd?: string | null;
944
+ gridColumnGap?: string | null;
945
+ gridColumnStart?: string | null;
946
+ gridRowEnd?: string | null;
947
+ gridRowGap?: string | null;
948
+ gridRowStart?: string | null;
949
+ gridTemplateColumns?: string | null;
950
+ gridTemplateRows?: string | null;
951
+ gridTemplateAreas?: string | null;
952
+ /**
953
+ * @deprecated
954
+ */
955
+ borderEndWidth?: DimensionValue | null;
956
+ borderStartWidth?: DimensionValue | null;
957
+ end?: DimensionValue | null;
958
+ marginHorizontal?: DimensionValue | null;
959
+ marginEnd?: DimensionValue | null;
960
+ marginStart?: DimensionValue | null;
961
+ marginVertical?: DimensionValue | null;
962
+ paddingHorizontal?: DimensionValue | null;
963
+ paddingStart?: DimensionValue | null;
964
+ paddingEnd?: DimensionValue | null;
965
+ paddingVertical?: DimensionValue | null;
966
+ start?: DimensionValue | null;
967
+ };
968
+
969
+ /**
970
+ * Shadows
971
+ */
972
+
973
+ export type ShadowStyles = {
974
+ // @deprecated
975
+ shadowColor?: ColorValue | null;
976
+ shadowOffset?: {
977
+ width?: DimensionValue;
978
+ height?: DimensionValue;
979
+ } | null;
980
+ shadowOpacity?: number | null;
981
+ shadowRadius?: DimensionValue | null;
982
+ };
983
+
984
+ /**
985
+ * Transforms
986
+ */
987
+
988
+ export type TransformStyles = {
989
+ perspective?: NumberOrString | null;
990
+ perspectiveOrigin?: string | null;
991
+ transform?:
992
+ | string
993
+ | null
994
+ | (
995
+ | { perspective: NumberOrString }
996
+ | { rotate: string }
997
+ | { rotateX: string }
998
+ | { rotateY: string }
999
+ | { rotateZ: string }
1000
+ | { scale: number }
1001
+ | { scaleX: number }
1002
+ | { scaleY: number }
1003
+ | { scaleZ: number }
1004
+ | { scale3d: string }
1005
+ | { skewX: string }
1006
+ | { skewY: string }
1007
+ | { translateX: NumberOrString }
1008
+ | { translateY: NumberOrString }
1009
+ | { translateZ: NumberOrString }
1010
+ | { translate3d: string }
1011
+ )[];
1012
+ transformOrigin?: string | NumberOrString[] | undefined | null;
1013
+ transformStyle?: 'flat' | 'preserve-3d' | undefined | null;
1014
+ };
1015
+ }