@tamagui/helpers 2.0.0-rc.8 → 2.0.0

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 (87) hide show
  1. package/dist/cjs/clamp.cjs +12 -10
  2. package/dist/cjs/clamp.native.js +12 -10
  3. package/dist/cjs/clamp.native.js.map +1 -1
  4. package/dist/cjs/composeEventHandlers.cjs +22 -14
  5. package/dist/cjs/composeEventHandlers.native.js +23 -15
  6. package/dist/cjs/composeEventHandlers.native.js.map +1 -1
  7. package/dist/cjs/index.cjs +7 -5
  8. package/dist/cjs/index.native.js +7 -5
  9. package/dist/cjs/index.native.js.map +1 -1
  10. package/dist/cjs/shouldRenderNativePlatform.cjs +28 -15
  11. package/dist/cjs/shouldRenderNativePlatform.native.js +44 -28
  12. package/dist/cjs/shouldRenderNativePlatform.native.js.map +1 -1
  13. package/dist/cjs/types.cjs +17 -15
  14. package/dist/cjs/types.native.js +17 -15
  15. package/dist/cjs/types.native.js.map +1 -1
  16. package/dist/cjs/validStyleProps.cjs +307 -297
  17. package/dist/cjs/validStyleProps.native.js +302 -292
  18. package/dist/cjs/validStyleProps.native.js.map +1 -1
  19. package/dist/cjs/webOnlyStyleProps.cjs +88 -78
  20. package/dist/cjs/webOnlyStyleProps.native.js +88 -78
  21. package/dist/cjs/webOnlyStyleProps.native.js.map +1 -1
  22. package/dist/cjs/withStaticProperties.cjs +18 -12
  23. package/dist/cjs/withStaticProperties.native.js +18 -14
  24. package/dist/cjs/withStaticProperties.native.js.map +1 -1
  25. package/dist/esm/composeEventHandlers.mjs +10 -4
  26. package/dist/esm/composeEventHandlers.mjs.map +1 -1
  27. package/dist/esm/composeEventHandlers.native.js +11 -5
  28. package/dist/esm/composeEventHandlers.native.js.map +1 -1
  29. package/dist/esm/index.js +7 -7
  30. package/dist/esm/index.js.map +1 -6
  31. package/dist/esm/shouldRenderNativePlatform.mjs +16 -5
  32. package/dist/esm/shouldRenderNativePlatform.mjs.map +1 -1
  33. package/dist/esm/shouldRenderNativePlatform.native.js +30 -16
  34. package/dist/esm/shouldRenderNativePlatform.native.js.map +1 -1
  35. package/dist/esm/types.mjs +5 -5
  36. package/dist/esm/types.mjs.map +1 -1
  37. package/dist/esm/types.native.js +5 -5
  38. package/dist/esm/types.native.js.map +1 -1
  39. package/dist/esm/validStyleProps.mjs +294 -287
  40. package/dist/esm/validStyleProps.mjs.map +1 -1
  41. package/dist/esm/validStyleProps.native.js +288 -281
  42. package/dist/esm/validStyleProps.native.js.map +1 -1
  43. package/dist/esm/webOnlyStyleProps.mjs +75 -69
  44. package/dist/esm/webOnlyStyleProps.mjs.map +1 -1
  45. package/dist/esm/webOnlyStyleProps.native.js +75 -69
  46. package/dist/esm/webOnlyStyleProps.native.js.map +1 -1
  47. package/dist/esm/withStaticProperties.mjs +6 -2
  48. package/dist/esm/withStaticProperties.mjs.map +1 -1
  49. package/dist/esm/withStaticProperties.native.js +6 -4
  50. package/dist/esm/withStaticProperties.native.js.map +1 -1
  51. package/package.json +7 -10
  52. package/src/validStyleProps.ts +77 -38
  53. package/src/webOnlyStyleProps.ts +40 -29
  54. package/types/validStyleProps.d.ts +312 -238
  55. package/types/validStyleProps.d.ts.map +1 -1
  56. package/types/webOnlyStyleProps.d.ts +60 -20
  57. package/types/webOnlyStyleProps.d.ts.map +1 -1
  58. package/dist/cjs/clamp.js +0 -23
  59. package/dist/cjs/clamp.js.map +0 -6
  60. package/dist/cjs/composeEventHandlers.js +0 -27
  61. package/dist/cjs/composeEventHandlers.js.map +0 -6
  62. package/dist/cjs/index.js +0 -22
  63. package/dist/cjs/index.js.map +0 -6
  64. package/dist/cjs/shouldRenderNativePlatform.js +0 -35
  65. package/dist/cjs/shouldRenderNativePlatform.js.map +0 -6
  66. package/dist/cjs/types.js +0 -25
  67. package/dist/cjs/types.js.map +0 -6
  68. package/dist/cjs/validStyleProps.js +0 -307
  69. package/dist/cjs/validStyleProps.js.map +0 -6
  70. package/dist/cjs/webOnlyStyleProps.js +0 -89
  71. package/dist/cjs/webOnlyStyleProps.js.map +0 -6
  72. package/dist/cjs/withStaticProperties.js +0 -21
  73. package/dist/cjs/withStaticProperties.js.map +0 -6
  74. package/dist/esm/clamp.js +0 -7
  75. package/dist/esm/clamp.js.map +0 -6
  76. package/dist/esm/composeEventHandlers.js +0 -11
  77. package/dist/esm/composeEventHandlers.js.map +0 -6
  78. package/dist/esm/shouldRenderNativePlatform.js +0 -19
  79. package/dist/esm/shouldRenderNativePlatform.js.map +0 -6
  80. package/dist/esm/types.js +0 -9
  81. package/dist/esm/types.js.map +0 -6
  82. package/dist/esm/validStyleProps.js +0 -292
  83. package/dist/esm/validStyleProps.js.map +0 -6
  84. package/dist/esm/webOnlyStyleProps.js +0 -73
  85. package/dist/esm/webOnlyStyleProps.js.map +0 -6
  86. package/dist/esm/withStaticProperties.js +0 -5
  87. package/dist/esm/withStaticProperties.js.map +0 -6
@@ -3,24 +3,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var validStyleProps_exports = {};
22
24
  __export(validStyleProps_exports, {
23
25
  cssShorthandLonghands: () => cssShorthandLonghands,
26
+ nonAnimatableStyleProps: () => nonAnimatableStyleProps,
24
27
  stylePropsAll: () => stylePropsAll,
25
28
  stylePropsText: () => stylePropsText,
26
29
  stylePropsTextOnly: () => stylePropsTextOnly,
@@ -32,295 +35,302 @@ __export(validStyleProps_exports, {
32
35
  validStyles: () => validStyles
33
36
  });
34
37
  module.exports = __toCommonJS(validStyleProps_exports);
35
- var import_constants = require("@tamagui/constants"),
36
- import_webOnlyStyleProps = require("./webOnlyStyleProps.cjs");
38
+ var import_constants = require("@tamagui/constants");
39
+ var import_webOnlyStyleProps = require("./webOnlyStyleProps.cjs");
37
40
  const cssShorthandLonghands = {
38
- // border longhands
39
- borderWidth: !0,
40
- borderStyle: !0,
41
- borderColor: !0,
42
- borderTopWidth: !0,
43
- borderTopStyle: !0,
44
- borderTopColor: !0,
45
- borderRightWidth: !0,
46
- borderRightStyle: !0,
47
- borderRightColor: !0,
48
- borderBottomWidth: !0,
49
- borderBottomStyle: !0,
50
- borderBottomColor: !0,
51
- borderLeftWidth: !0,
52
- borderLeftStyle: !0,
53
- borderLeftColor: !0,
54
- // outline longhands
55
- outlineWidth: !0,
56
- outlineStyle: !0,
57
- outlineColor: !0,
58
- outlineOffset: !0
59
- },
60
- textColors = {
61
- color: !0,
62
- textDecorationColor: !0,
63
- textShadowColor: !0
64
- },
65
- tokenCategories = {
66
- radius: {
67
- borderRadius: !0,
68
- borderTopLeftRadius: !0,
69
- borderTopRightRadius: !0,
70
- borderBottomLeftRadius: !0,
71
- borderBottomRightRadius: !0,
72
- // logical
73
- borderStartStartRadius: !0,
74
- borderStartEndRadius: !0,
75
- borderEndStartRadius: !0,
76
- borderEndEndRadius: !0
77
- },
78
- size: {
79
- width: !0,
80
- height: !0,
81
- minWidth: !0,
82
- minHeight: !0,
83
- maxWidth: !0,
84
- maxHeight: !0,
85
- blockSize: !0,
86
- minBlockSize: !0,
87
- maxBlockSize: !0,
88
- inlineSize: !0,
89
- minInlineSize: !0,
90
- maxInlineSize: !0
91
- },
92
- zIndex: {
93
- zIndex: !0
94
- },
95
- color: {
96
- backgroundColor: !0,
97
- borderColor: !0,
98
- borderBlockStartColor: !0,
99
- borderBlockEndColor: !0,
100
- borderBlockColor: !0,
101
- borderBottomColor: !0,
102
- borderInlineColor: !0,
103
- borderInlineStartColor: !0,
104
- borderInlineEndColor: !0,
105
- borderTopColor: !0,
106
- borderLeftColor: !0,
107
- borderRightColor: !0,
108
- borderEndColor: !0,
109
- borderStartColor: !0,
110
- shadowColor: !0,
111
- ...textColors,
112
- // outlineColor is supported on RN 0.77+ (New Architecture)
113
- outlineColor: !0,
114
- caretColor: !0
115
- }
116
- },
117
- stylePropsUnitless = {
118
- WebkitLineClamp: !0,
119
- animationIterationCount: !0,
120
- aspectRatio: !0,
121
- borderImageOutset: !0,
122
- borderImageSlice: !0,
123
- borderImageWidth: !0,
124
- columnCount: !0,
125
- flex: !0,
126
- flexGrow: !0,
127
- flexOrder: !0,
128
- flexPositive: !0,
129
- flexShrink: !0,
130
- flexNegative: !0,
131
- fontWeight: !0,
132
- gridRow: !0,
133
- gridRowEnd: !0,
134
- gridRowGap: !0,
135
- gridRowStart: !0,
136
- gridColumn: !0,
137
- gridColumnEnd: !0,
138
- gridColumnGap: !0,
139
- gridColumnStart: !0,
140
- gridTemplateColumns: !0,
141
- gridTemplateAreas: !0,
142
- lineClamp: !0,
143
- opacity: !0,
144
- order: !0,
145
- orphans: !0,
146
- tabSize: !0,
147
- widows: !0,
148
- zIndex: !0,
149
- zoom: !0,
150
- scale: !0,
151
- scaleX: !0,
152
- scaleY: !0,
153
- scaleZ: !0,
154
- shadowOpacity: !0
41
+ borderWidth: true,
42
+ borderStyle: true,
43
+ borderColor: true,
44
+ borderTopWidth: true,
45
+ borderTopStyle: true,
46
+ borderTopColor: true,
47
+ borderRightWidth: true,
48
+ borderRightStyle: true,
49
+ borderRightColor: true,
50
+ borderBottomWidth: true,
51
+ borderBottomStyle: true,
52
+ borderBottomColor: true,
53
+ borderLeftWidth: true,
54
+ borderLeftStyle: true,
55
+ borderLeftColor: true,
56
+ outlineWidth: true,
57
+ outlineStyle: true,
58
+ outlineColor: true,
59
+ outlineOffset: true
60
+ };
61
+ const textColors = {
62
+ color: true,
63
+ textDecorationColor: true,
64
+ textShadowColor: true
65
+ };
66
+ const tokenCategories = {
67
+ radius: {
68
+ borderRadius: true,
69
+ borderTopLeftRadius: true,
70
+ borderTopRightRadius: true,
71
+ borderBottomLeftRadius: true,
72
+ borderBottomRightRadius: true,
73
+ borderStartStartRadius: true,
74
+ borderStartEndRadius: true,
75
+ borderEndStartRadius: true,
76
+ borderEndEndRadius: true
155
77
  },
156
- stylePropsTransform = {
157
- x: !0,
158
- y: !0,
159
- scale: !0,
160
- perspective: !0,
161
- scaleX: !0,
162
- scaleY: !0,
163
- skewX: !0,
164
- skewY: !0,
165
- matrix: !0,
166
- rotate: !0,
167
- rotateY: !0,
168
- rotateX: !0,
169
- rotateZ: !0
78
+ size: {
79
+ width: true,
80
+ height: true,
81
+ minWidth: true,
82
+ minHeight: true,
83
+ maxWidth: true,
84
+ maxHeight: true,
85
+ blockSize: true,
86
+ minBlockSize: true,
87
+ maxBlockSize: true,
88
+ inlineSize: true,
89
+ minInlineSize: true,
90
+ maxInlineSize: true
170
91
  },
171
- stylePropsView = {
172
- backfaceVisibility: !0,
173
- borderCurve: !0,
174
- cursor: !0,
175
- borderBottomEndRadius: !0,
176
- borderBottomStartRadius: !0,
177
- borderBottomWidth: !0,
178
- borderLeftWidth: !0,
179
- borderRightWidth: !0,
180
- borderBlockWidth: !0,
181
- borderBlockEndWidth: !0,
182
- borderBlockStartWidth: !0,
183
- borderInlineWidth: !0,
184
- borderInlineEndWidth: !0,
185
- borderInlineStartWidth: !0,
186
- borderStyle: !0,
187
- borderBlockStyle: !0,
188
- borderBlockEndStyle: !0,
189
- borderBlockStartStyle: !0,
190
- borderInlineStyle: !0,
191
- borderInlineEndStyle: !0,
192
- borderInlineStartStyle: !0,
193
- borderTopEndRadius: !0,
194
- borderTopStartRadius: !0,
195
- borderTopWidth: !0,
196
- borderWidth: !0,
197
- transform: !0,
198
- transformOrigin: !0,
199
- alignContent: !0,
200
- alignItems: !0,
201
- alignSelf: !0,
202
- borderEndWidth: !0,
203
- borderStartWidth: !0,
204
- bottom: !0,
205
- display: !0,
206
- end: !0,
207
- flexBasis: !0,
208
- flexDirection: !0,
209
- flexWrap: !0,
210
- gap: !0,
211
- columnGap: !0,
212
- rowGap: !0,
213
- justifyContent: !0,
214
- left: !0,
215
- margin: !0,
216
- marginBlock: !0,
217
- marginBlockEnd: !0,
218
- marginBlockStart: !0,
219
- marginInline: !0,
220
- marginInlineStart: !0,
221
- marginInlineEnd: !0,
222
- marginBottom: !0,
223
- marginEnd: !0,
224
- marginHorizontal: !0,
225
- marginLeft: !0,
226
- marginRight: !0,
227
- marginStart: !0,
228
- marginTop: !0,
229
- marginVertical: !0,
230
- overflow: !0,
231
- padding: !0,
232
- paddingBottom: !0,
233
- paddingInline: !0,
234
- paddingBlock: !0,
235
- paddingBlockStart: !0,
236
- paddingInlineEnd: !0,
237
- paddingInlineStart: !0,
238
- paddingEnd: !0,
239
- paddingHorizontal: !0,
240
- paddingLeft: !0,
241
- paddingRight: !0,
242
- paddingStart: !0,
243
- paddingTop: !0,
244
- paddingVertical: !0,
245
- position: !0,
246
- right: !0,
247
- start: !0,
248
- top: !0,
249
- inset: !0,
250
- insetBlock: !0,
251
- insetBlockEnd: !0,
252
- insetBlockStart: !0,
253
- insetInline: !0,
254
- insetInlineEnd: !0,
255
- insetInlineStart: !0,
256
- direction: !0,
257
- shadowOffset: !0,
258
- shadowRadius: !0,
259
- ...tokenCategories.color,
260
- ...tokenCategories.radius,
261
- ...tokenCategories.size,
262
- ...tokenCategories.radius,
263
- ...stylePropsTransform,
264
- ...stylePropsUnitless,
265
- ...(import_constants.isAndroid ? {
266
- elevationAndroid: !0
267
- } : {}),
268
- boxShadow: !0,
269
- border: !0,
270
- filter: !0,
271
- // RN 0.76+ supports linear-gradient via backgroundImage
272
- backgroundImage: !0,
273
- // the actual RN 0.76+ prop name (backgroundImage expands to this on native)
274
- experimental_backgroundImage: !0,
275
- // RN 0.76/0.77+ style props (New Architecture)
276
- boxSizing: !0,
277
- mixBlendMode: !0,
278
- isolation: !0,
279
- outline: !0,
280
- outlineColor: !0,
281
- outlineOffset: !0,
282
- outlineStyle: !0,
283
- outlineWidth: !0,
284
- // web-only for convenience - tree-shaken on native
285
- ...import_webOnlyStyleProps.webOnlyStylePropsView
92
+ zIndex: {
93
+ zIndex: true
286
94
  },
287
- stylePropsFont = {
288
- fontFamily: !0,
289
- fontSize: !0,
290
- fontStyle: !0,
291
- fontWeight: !0,
292
- fontVariant: !0,
293
- letterSpacing: !0,
294
- lineHeight: !0,
295
- textTransform: !0
296
- },
297
- stylePropsTextOnly = {
298
- ...stylePropsFont,
299
- textAlign: !0,
300
- textDecorationLine: !0,
301
- textDecorationStyle: !0,
95
+ color: {
96
+ backgroundColor: true,
97
+ borderColor: true,
98
+ borderBlockStartColor: true,
99
+ borderBlockEndColor: true,
100
+ borderBlockColor: true,
101
+ borderBottomColor: true,
102
+ borderInlineColor: true,
103
+ borderInlineStartColor: true,
104
+ borderInlineEndColor: true,
105
+ borderTopColor: true,
106
+ borderLeftColor: true,
107
+ borderRightColor: true,
108
+ borderEndColor: true,
109
+ borderStartColor: true,
110
+ shadowColor: true,
302
111
  ...textColors,
303
- textShadow: !0,
304
- textShadowOffset: !0,
305
- textShadowRadius: !0,
306
- userSelect: !0,
307
- verticalAlign: !0,
308
- // web-only text props - tree-shaken on native
309
- ...import_webOnlyStyleProps.webOnlyStylePropsText
310
- },
311
- stylePropsText = {
312
- ...stylePropsView,
313
- ...stylePropsTextOnly
314
- },
315
- stylePropsAll = stylePropsText,
316
- validPseudoKeys = {
317
- enterStyle: !0,
318
- exitStyle: !0,
319
- hoverStyle: !0,
320
- pressStyle: !0,
321
- focusStyle: !0,
322
- disabledStyle: !0,
323
- focusWithinStyle: !0,
324
- focusVisibleStyle: !0
325
- },
326
- validStyles = stylePropsView;
112
+ outlineColor: true,
113
+ caretColor: true
114
+ }
115
+ };
116
+ const nonAnimatableViewProps = {
117
+ alignContent: true,
118
+ alignItems: true,
119
+ alignSelf: true,
120
+ backfaceVisibility: true,
121
+ borderCurve: true,
122
+ borderStyle: true,
123
+ borderBlockStyle: true,
124
+ borderBlockEndStyle: true,
125
+ borderBlockStartStyle: true,
126
+ borderInlineStyle: true,
127
+ borderInlineEndStyle: true,
128
+ borderInlineStartStyle: true,
129
+ boxSizing: true,
130
+ cursor: true,
131
+ direction: true,
132
+ display: true,
133
+ flexDirection: true,
134
+ flexWrap: true,
135
+ isolation: true,
136
+ justifyContent: true,
137
+ mixBlendMode: true,
138
+ outlineStyle: true,
139
+ overflow: true,
140
+ position: true
141
+ };
142
+ const nonAnimatableFontProps = {
143
+ fontFamily: true,
144
+ fontStyle: true,
145
+ fontVariant: true,
146
+ textTransform: true
147
+ };
148
+ const nonAnimatableTextOnlyProps = {
149
+ textAlign: true,
150
+ textDecorationLine: true,
151
+ textDecorationStyle: true,
152
+ userSelect: true
153
+ };
154
+ const nonAnimatableUnitlessProps = {
155
+ WebkitLineClamp: true,
156
+ lineClamp: true,
157
+ gridTemplateColumns: true,
158
+ gridTemplateAreas: true
159
+ };
160
+ const nonAnimatableStyleProps = {
161
+ ...nonAnimatableViewProps,
162
+ ...nonAnimatableFontProps,
163
+ ...nonAnimatableTextOnlyProps,
164
+ ...nonAnimatableUnitlessProps,
165
+ ...import_webOnlyStyleProps.nonAnimatableWebViewProps,
166
+ ...import_webOnlyStyleProps.nonAnimatableWebTextProps
167
+ };
168
+ const stylePropsUnitless = {
169
+ ...nonAnimatableUnitlessProps,
170
+ animationIterationCount: true,
171
+ aspectRatio: true,
172
+ borderImageOutset: true,
173
+ borderImageSlice: true,
174
+ borderImageWidth: true,
175
+ columnCount: true,
176
+ flex: true,
177
+ flexGrow: true,
178
+ flexOrder: true,
179
+ flexPositive: true,
180
+ flexShrink: true,
181
+ flexNegative: true,
182
+ fontWeight: true,
183
+ gridRow: true,
184
+ gridRowEnd: true,
185
+ gridRowGap: true,
186
+ gridRowStart: true,
187
+ gridColumn: true,
188
+ gridColumnEnd: true,
189
+ gridColumnGap: true,
190
+ gridColumnStart: true,
191
+ opacity: true,
192
+ order: true,
193
+ orphans: true,
194
+ tabSize: true,
195
+ widows: true,
196
+ zIndex: true,
197
+ zoom: true,
198
+ scale: true,
199
+ scaleX: true,
200
+ scaleY: true,
201
+ scaleZ: true,
202
+ shadowOpacity: true
203
+ };
204
+ const stylePropsTransform = {
205
+ x: true,
206
+ y: true,
207
+ scale: true,
208
+ perspective: true,
209
+ scaleX: true,
210
+ scaleY: true,
211
+ skewX: true,
212
+ skewY: true,
213
+ matrix: true,
214
+ rotate: true,
215
+ rotateY: true,
216
+ rotateX: true,
217
+ rotateZ: true
218
+ };
219
+ const stylePropsView = {
220
+ ...nonAnimatableViewProps,
221
+ borderBottomEndRadius: true,
222
+ borderBottomStartRadius: true,
223
+ borderBottomWidth: true,
224
+ borderLeftWidth: true,
225
+ borderRightWidth: true,
226
+ borderBlockWidth: true,
227
+ borderBlockEndWidth: true,
228
+ borderBlockStartWidth: true,
229
+ borderInlineWidth: true,
230
+ borderInlineEndWidth: true,
231
+ borderInlineStartWidth: true,
232
+ borderTopEndRadius: true,
233
+ borderTopStartRadius: true,
234
+ borderTopWidth: true,
235
+ borderWidth: true,
236
+ transform: true,
237
+ transformOrigin: true,
238
+ borderEndWidth: true,
239
+ borderStartWidth: true,
240
+ bottom: true,
241
+ end: true,
242
+ flexBasis: true,
243
+ gap: true,
244
+ columnGap: true,
245
+ rowGap: true,
246
+ left: true,
247
+ margin: true,
248
+ marginBlock: true,
249
+ marginBlockEnd: true,
250
+ marginBlockStart: true,
251
+ marginInline: true,
252
+ marginInlineStart: true,
253
+ marginInlineEnd: true,
254
+ marginBottom: true,
255
+ marginEnd: true,
256
+ marginHorizontal: true,
257
+ marginLeft: true,
258
+ marginRight: true,
259
+ marginStart: true,
260
+ marginTop: true,
261
+ marginVertical: true,
262
+ padding: true,
263
+ paddingBottom: true,
264
+ paddingInline: true,
265
+ paddingBlock: true,
266
+ paddingBlockStart: true,
267
+ paddingInlineEnd: true,
268
+ paddingInlineStart: true,
269
+ paddingEnd: true,
270
+ paddingHorizontal: true,
271
+ paddingLeft: true,
272
+ paddingRight: true,
273
+ paddingStart: true,
274
+ paddingTop: true,
275
+ paddingVertical: true,
276
+ right: true,
277
+ start: true,
278
+ top: true,
279
+ inset: true,
280
+ insetBlock: true,
281
+ insetBlockEnd: true,
282
+ insetBlockStart: true,
283
+ insetInline: true,
284
+ insetInlineEnd: true,
285
+ insetInlineStart: true,
286
+ shadowOffset: true,
287
+ shadowRadius: true,
288
+ ...tokenCategories.color,
289
+ ...tokenCategories.radius,
290
+ ...tokenCategories.size,
291
+ ...stylePropsTransform,
292
+ ...stylePropsUnitless,
293
+ ...(import_constants.isAndroid ? {
294
+ elevationAndroid: true
295
+ } : {}),
296
+ boxShadow: true,
297
+ border: true,
298
+ filter: true,
299
+ backgroundImage: true,
300
+ experimental_backgroundImage: true,
301
+ outline: true,
302
+ outlineColor: true,
303
+ outlineOffset: true,
304
+ outlineWidth: true,
305
+ ...import_webOnlyStyleProps.webOnlyStylePropsView
306
+ };
307
+ const stylePropsTextOnly = {
308
+ ...nonAnimatableFontProps,
309
+ fontSize: true,
310
+ fontWeight: true,
311
+ letterSpacing: true,
312
+ lineHeight: true,
313
+ ...nonAnimatableTextOnlyProps,
314
+ ...textColors,
315
+ textShadow: true,
316
+ textShadowOffset: true,
317
+ textShadowRadius: true,
318
+ verticalAlign: true,
319
+ ...import_webOnlyStyleProps.webOnlyStylePropsText
320
+ };
321
+ const stylePropsText = {
322
+ ...stylePropsView,
323
+ ...stylePropsTextOnly
324
+ };
325
+ const stylePropsAll = stylePropsText;
326
+ const validPseudoKeys = {
327
+ enterStyle: true,
328
+ exitStyle: true,
329
+ hoverStyle: true,
330
+ pressStyle: true,
331
+ focusStyle: true,
332
+ disabledStyle: true,
333
+ focusWithinStyle: true,
334
+ focusVisibleStyle: true
335
+ };
336
+ const validStyles = stylePropsView;