@tamagui/helpers 2.7.7 → 3.0.0-beta.1093.1

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 (123) hide show
  1. package/dist/cjs/clamp.cjs +15 -19
  2. package/dist/cjs/clamp.native.cjs +29 -0
  3. package/dist/cjs/clamp.native.js +16 -19
  4. package/dist/cjs/clamp.native.js.map +1 -1
  5. package/dist/cjs/composeEventHandlers.cjs +25 -32
  6. package/dist/cjs/composeEventHandlers.native.cjs +38 -0
  7. package/dist/cjs/composeEventHandlers.native.js +25 -36
  8. package/dist/cjs/composeEventHandlers.native.js.map +1 -1
  9. package/dist/cjs/index.cjs +12 -11
  10. package/dist/cjs/index.native.cjs +30 -0
  11. package/dist/cjs/index.native.js +12 -10
  12. package/dist/cjs/index.native.js.map +1 -1
  13. package/dist/cjs/reservedThemeProps.cjs +40 -0
  14. package/dist/cjs/reservedThemeProps.native.cjs +42 -0
  15. package/dist/cjs/reservedThemeProps.native.js +44 -0
  16. package/dist/cjs/reservedThemeProps.native.js.map +1 -0
  17. package/dist/cjs/shouldRenderNativePlatform.cjs +37 -37
  18. package/dist/cjs/shouldRenderNativePlatform.native.cjs +70 -0
  19. package/dist/cjs/shouldRenderNativePlatform.native.js +54 -59
  20. package/dist/cjs/shouldRenderNativePlatform.native.js.map +1 -1
  21. package/dist/cjs/themeClassNames.cjs +44 -0
  22. package/dist/cjs/themeClassNames.native.cjs +64 -0
  23. package/dist/cjs/themeClassNames.native.js +66 -0
  24. package/dist/cjs/themeClassNames.native.js.map +1 -0
  25. package/dist/cjs/toStylePropsObject.cjs +33 -0
  26. package/dist/cjs/toStylePropsObject.native.cjs +72 -0
  27. package/dist/cjs/toStylePropsObject.native.js +74 -0
  28. package/dist/cjs/toStylePropsObject.native.js.map +1 -0
  29. package/dist/cjs/tokenCategories.cjs +47 -0
  30. package/dist/cjs/tokenCategories.native.cjs +51 -0
  31. package/dist/cjs/tokenCategories.native.js +53 -0
  32. package/dist/cjs/tokenCategories.native.js.map +1 -0
  33. package/dist/cjs/types.cjs +18 -20
  34. package/dist/cjs/types.native.cjs +36 -0
  35. package/dist/cjs/types.native.js +18 -19
  36. package/dist/cjs/types.native.js.map +1 -1
  37. package/dist/cjs/validStyleProps.cjs +44 -323
  38. package/dist/cjs/validStyleProps.native.cjs +60 -0
  39. package/dist/cjs/validStyleProps.native.js +45 -316
  40. package/dist/cjs/validStyleProps.native.js.map +1 -1
  41. package/dist/cjs/webOnlyStyleProps.cjs +21 -93
  42. package/dist/cjs/webOnlyStyleProps.native.cjs +35 -0
  43. package/dist/cjs/webOnlyStyleProps.native.js +22 -93
  44. package/dist/cjs/webOnlyStyleProps.native.js.map +1 -1
  45. package/dist/cjs/withStaticProperties.cjs +24 -30
  46. package/dist/cjs/withStaticProperties.native.cjs +37 -0
  47. package/dist/cjs/withStaticProperties.native.js +25 -30
  48. package/dist/cjs/withStaticProperties.native.js.map +1 -1
  49. package/dist/esm/clamp.mjs +2 -1
  50. package/dist/esm/clamp.mjs.map +1 -1
  51. package/dist/esm/clamp.native.js +3 -2
  52. package/dist/esm/clamp.native.js.map +1 -1
  53. package/dist/esm/composeEventHandlers.mjs +12 -14
  54. package/dist/esm/composeEventHandlers.mjs.map +1 -1
  55. package/dist/esm/composeEventHandlers.native.js +12 -19
  56. package/dist/esm/composeEventHandlers.native.js.map +1 -1
  57. package/dist/esm/index.js +21 -9
  58. package/dist/esm/index.mjs +21 -9
  59. package/dist/esm/index.native.js +21 -9
  60. package/dist/esm/reservedThemeProps.mjs +20 -0
  61. package/dist/esm/reservedThemeProps.mjs.map +1 -0
  62. package/dist/esm/reservedThemeProps.native.js +20 -0
  63. package/dist/esm/reservedThemeProps.native.js.map +1 -0
  64. package/dist/esm/shouldRenderNativePlatform.mjs +25 -19
  65. package/dist/esm/shouldRenderNativePlatform.mjs.map +1 -1
  66. package/dist/esm/shouldRenderNativePlatform.native.js +42 -42
  67. package/dist/esm/shouldRenderNativePlatform.native.js.map +1 -1
  68. package/dist/esm/themeClassNames.mjs +21 -0
  69. package/dist/esm/themeClassNames.mjs.map +1 -0
  70. package/dist/esm/themeClassNames.native.js +39 -0
  71. package/dist/esm/themeClassNames.native.js.map +1 -0
  72. package/dist/esm/toStylePropsObject.mjs +13 -0
  73. package/dist/esm/toStylePropsObject.mjs.map +1 -0
  74. package/dist/esm/toStylePropsObject.native.js +50 -0
  75. package/dist/esm/toStylePropsObject.native.js.map +1 -0
  76. package/dist/esm/tokenCategories.mjs +28 -0
  77. package/dist/esm/tokenCategories.mjs.map +1 -0
  78. package/dist/esm/tokenCategories.native.js +30 -0
  79. package/dist/esm/tokenCategories.native.js.map +1 -0
  80. package/dist/esm/types.mjs +1 -0
  81. package/dist/esm/types.mjs.map +1 -1
  82. package/dist/esm/types.native.js +1 -0
  83. package/dist/esm/types.native.js.map +1 -1
  84. package/dist/esm/validStyleProps.mjs +21 -297
  85. package/dist/esm/validStyleProps.mjs.map +1 -1
  86. package/dist/esm/validStyleProps.native.js +22 -291
  87. package/dist/esm/validStyleProps.native.js.map +1 -1
  88. package/dist/esm/webOnlyStyleProps.mjs +7 -75
  89. package/dist/esm/webOnlyStyleProps.mjs.map +1 -1
  90. package/dist/esm/webOnlyStyleProps.native.js +7 -75
  91. package/dist/esm/webOnlyStyleProps.native.js.map +1 -1
  92. package/dist/esm/withStaticProperties.mjs +11 -12
  93. package/dist/esm/withStaticProperties.mjs.map +1 -1
  94. package/dist/esm/withStaticProperties.native.js +12 -13
  95. package/dist/esm/withStaticProperties.native.js.map +1 -1
  96. package/package.json +16 -5
  97. package/src/composeEventHandlers.ts +6 -10
  98. package/src/index.ts +3 -0
  99. package/src/reservedThemeProps.ts +26 -0
  100. package/src/themeClassNames.ts +26 -0
  101. package/src/toStylePropsObject.ts +29 -0
  102. package/src/tokenCategories.ts +29 -0
  103. package/src/validStyleProps.ts +89 -349
  104. package/src/webOnlyStyleProps.ts +16 -80
  105. package/types/composeEventHandlers.d.ts.map +1 -1
  106. package/types/index.d.ts +3 -0
  107. package/types/index.d.ts.map +1 -1
  108. package/types/reservedThemeProps.d.ts +11 -0
  109. package/types/reservedThemeProps.d.ts.map +1 -0
  110. package/types/themeClassNames.d.ts +3 -0
  111. package/types/themeClassNames.d.ts.map +1 -0
  112. package/types/toStylePropsObject.d.ts +6 -0
  113. package/types/toStylePropsObject.d.ts.map +1 -0
  114. package/types/tokenCategories.d.ts +4 -0
  115. package/types/tokenCategories.d.ts.map +1 -0
  116. package/types/validStyleProps.d.ts +1533 -1242
  117. package/types/validStyleProps.d.ts.map +1 -1
  118. package/types/webOnlyStyleProps.d.ts +106 -99
  119. package/types/webOnlyStyleProps.d.ts.map +1 -1
  120. package/types/withStaticProperties.d.ts.map +1 -1
  121. package/dist/esm/index.js.map +0 -1
  122. package/dist/esm/index.mjs.map +0 -1
  123. package/dist/esm/index.native.js.map +0 -1
@@ -5,329 +5,58 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
12
  };
13
13
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
21
- };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
23
  var validStyleProps_exports = {};
26
24
  __export(validStyleProps_exports, {
27
- cssShorthandLonghands: () => cssShorthandLonghands,
28
- nonAnimatableStyleProps: () => nonAnimatableStyleProps,
29
- stylePropsAll: () => stylePropsAll,
30
- stylePropsText: () => stylePropsText,
31
- stylePropsTextOnly: () => stylePropsTextOnly,
32
- stylePropsTransform: () => stylePropsTransform,
33
- stylePropsUnitless: () => stylePropsUnitless,
34
- stylePropsView: () => stylePropsView,
35
- tokenCategories: () => tokenCategories,
36
- validPseudoKeys: () => validPseudoKeys,
37
- validStyles: () => validStyles
25
+ cssShorthandLonghands: () => cssShorthandLonghands,
26
+ nonAnimatableStyleProps: () => nonAnimatableStyleProps,
27
+ stylePropsAll: () => stylePropsAll,
28
+ stylePropsInput: () => stylePropsInput,
29
+ stylePropsText: () => stylePropsText,
30
+ stylePropsTextOnly: () => stylePropsTextOnly,
31
+ stylePropsTransform: () => stylePropsTransform,
32
+ stylePropsUnitless: () => stylePropsUnitless,
33
+ stylePropsView: () => stylePropsView,
34
+ tokenCategories: () => import_tokenCategories.tokenCategories,
35
+ validStyles: () => validStyles
38
36
  });
39
37
  module.exports = __toCommonJS(validStyleProps_exports);
40
38
  var import_constants = require("@tamagui/constants");
41
39
  require("./webOnlyStyleProps.native.js");
42
- var cssShorthandLonghands = {
43
- borderWidth: true,
44
- borderStyle: true,
45
- borderColor: true,
46
- borderTopWidth: true,
47
- borderTopStyle: true,
48
- borderTopColor: true,
49
- borderRightWidth: true,
50
- borderRightStyle: true,
51
- borderRightColor: true,
52
- borderBottomWidth: true,
53
- borderBottomStyle: true,
54
- borderBottomColor: true,
55
- borderLeftWidth: true,
56
- borderLeftStyle: true,
57
- borderLeftColor: true,
58
- outlineWidth: true,
59
- outlineStyle: true,
60
- outlineColor: true,
61
- outlineOffset: true
62
- };
63
- var textColors = {
64
- color: true,
65
- textDecorationColor: true,
66
- textShadowColor: true
67
- };
68
- var tokenCategories = {
69
- radius: {
70
- borderRadius: true,
71
- borderTopLeftRadius: true,
72
- borderTopRightRadius: true,
73
- borderBottomLeftRadius: true,
74
- borderBottomRightRadius: true,
75
- borderStartStartRadius: true,
76
- borderStartEndRadius: true,
77
- borderEndStartRadius: true,
78
- borderEndEndRadius: true
79
- },
80
- size: {
81
- width: true,
82
- height: true,
83
- minWidth: true,
84
- minHeight: true,
85
- maxWidth: true,
86
- maxHeight: true,
87
- blockSize: true,
88
- minBlockSize: true,
89
- maxBlockSize: true,
90
- inlineSize: true,
91
- minInlineSize: true,
92
- maxInlineSize: true
93
- },
94
- zIndex: {
95
- zIndex: true
96
- },
97
- color: {
98
- backgroundColor: true,
99
- borderColor: true,
100
- borderBlockStartColor: true,
101
- borderBlockEndColor: true,
102
- borderBlockColor: true,
103
- borderBottomColor: true,
104
- borderInlineColor: true,
105
- borderInlineStartColor: true,
106
- borderInlineEndColor: true,
107
- borderTopColor: true,
108
- borderLeftColor: true,
109
- borderRightColor: true,
110
- borderEndColor: true,
111
- borderStartColor: true,
112
- shadowColor: true,
113
- ...textColors,
114
- outlineColor: true
115
- }
116
- };
117
- var nonAnimatableViewProps = {
118
- alignContent: true,
119
- alignItems: true,
120
- alignSelf: true,
121
- backfaceVisibility: true,
122
- borderCurve: true,
123
- borderStyle: true,
124
- borderBlockStyle: true,
125
- borderBlockEndStyle: true,
126
- borderBlockStartStyle: true,
127
- borderInlineStyle: true,
128
- borderInlineEndStyle: true,
129
- borderInlineStartStyle: true,
130
- boxSizing: true,
131
- cursor: true,
132
- direction: true,
133
- display: true,
134
- flexDirection: true,
135
- flexWrap: true,
136
- isolation: true,
137
- justifyContent: true,
138
- mixBlendMode: true,
139
- outlineStyle: true,
140
- overflow: true,
141
- position: true
142
- };
143
- var nonAnimatableFontProps = {
144
- fontFamily: true,
145
- fontStyle: true,
146
- fontVariant: true,
147
- textTransform: true
148
- };
149
- var nonAnimatableTextOnlyProps = {
150
- textAlign: true,
151
- textDecorationLine: true,
152
- textDecorationStyle: true,
153
- userSelect: true
154
- };
155
- var nonAnimatableUnitlessProps = {
156
- WebkitLineClamp: true,
157
- lineClamp: true,
158
- gridTemplateColumns: true,
159
- gridTemplateAreas: true
160
- };
161
- var nonAnimatableStyleProps = {
162
- ...nonAnimatableViewProps,
163
- ...nonAnimatableFontProps,
164
- ...nonAnimatableTextOnlyProps,
165
- ...nonAnimatableUnitlessProps
166
- };
167
- var stylePropsUnitless = {
168
- ...nonAnimatableUnitlessProps,
169
- animationIterationCount: true,
170
- aspectRatio: true,
171
- borderImageOutset: true,
172
- borderImageSlice: true,
173
- borderImageWidth: true,
174
- columnCount: true,
175
- flex: true,
176
- flexGrow: true,
177
- flexOrder: true,
178
- flexPositive: true,
179
- flexShrink: true,
180
- flexNegative: true,
181
- fontWeight: true,
182
- gridRow: true,
183
- gridRowEnd: true,
184
- gridRowGap: true,
185
- gridRowStart: true,
186
- gridColumn: true,
187
- gridColumnEnd: true,
188
- gridColumnGap: true,
189
- gridColumnStart: true,
190
- opacity: true,
191
- order: true,
192
- orphans: true,
193
- tabSize: true,
194
- widows: true,
195
- zIndex: true,
196
- zoom: true,
197
- scale: true,
198
- scaleX: true,
199
- scaleY: true,
200
- scaleZ: true,
201
- shadowOpacity: true
202
- };
203
- var stylePropsTransform = {
204
- x: true,
205
- y: true,
206
- scale: true,
207
- perspective: true,
208
- scaleX: true,
209
- scaleY: true,
210
- skewX: true,
211
- skewY: true,
212
- matrix: true,
213
- rotate: true,
214
- rotateY: true,
215
- rotateX: true,
216
- rotateZ: true
217
- };
218
- var stylePropsView = {
219
- ...nonAnimatableViewProps,
220
- borderBottomEndRadius: true,
221
- borderBottomStartRadius: true,
222
- borderBottomWidth: true,
223
- borderLeftWidth: true,
224
- borderRightWidth: true,
225
- borderBlockWidth: true,
226
- borderBlockEndWidth: true,
227
- borderBlockStartWidth: true,
228
- borderInlineWidth: true,
229
- borderInlineEndWidth: true,
230
- borderInlineStartWidth: true,
231
- borderTopEndRadius: true,
232
- borderTopStartRadius: true,
233
- borderTopWidth: true,
234
- borderWidth: true,
235
- transform: true,
236
- transformOrigin: true,
237
- borderEndWidth: true,
238
- borderStartWidth: true,
239
- bottom: true,
240
- end: true,
241
- flexBasis: true,
242
- gap: true,
243
- columnGap: true,
244
- rowGap: true,
245
- left: true,
246
- margin: true,
247
- marginBlock: true,
248
- marginBlockEnd: true,
249
- marginBlockStart: true,
250
- marginInline: true,
251
- marginInlineStart: true,
252
- marginInlineEnd: true,
253
- marginBottom: true,
254
- marginEnd: true,
255
- marginHorizontal: true,
256
- marginLeft: true,
257
- marginRight: true,
258
- marginStart: true,
259
- marginTop: true,
260
- marginVertical: true,
261
- padding: true,
262
- paddingBottom: true,
263
- paddingInline: true,
264
- paddingBlock: true,
265
- paddingBlockStart: true,
266
- paddingInlineEnd: true,
267
- paddingInlineStart: true,
268
- paddingEnd: true,
269
- paddingHorizontal: true,
270
- paddingLeft: true,
271
- paddingRight: true,
272
- paddingStart: true,
273
- paddingTop: true,
274
- paddingVertical: true,
275
- right: true,
276
- start: true,
277
- top: true,
278
- inset: true,
279
- insetBlock: true,
280
- insetBlockEnd: true,
281
- insetBlockStart: true,
282
- insetInline: true,
283
- insetInlineEnd: true,
284
- insetInlineStart: true,
285
- shadowOffset: true,
286
- shadowRadius: true,
287
- ...tokenCategories.color,
288
- ...tokenCategories.radius,
289
- ...tokenCategories.size,
290
- ...stylePropsTransform,
291
- ...stylePropsUnitless,
292
- ...(import_constants.isAndroid ? {
293
- elevationAndroid: true
294
- } : {}),
295
- boxShadow: true,
296
- border: true,
297
- filter: true,
298
- backgroundImage: true,
299
- experimental_backgroundImage: true,
300
- outline: true,
301
- outlineColor: true,
302
- outlineOffset: true,
303
- outlineWidth: true
304
- };
305
- var stylePropsTextOnly = {
306
- ...nonAnimatableFontProps,
307
- fontSize: true,
308
- fontWeight: true,
309
- letterSpacing: true,
310
- lineHeight: true,
311
- ...nonAnimatableTextOnlyProps,
312
- ...textColors,
313
- textShadow: true,
314
- textShadowOffset: true,
315
- textShadowRadius: true,
316
- verticalAlign: true
317
- };
318
- var stylePropsText = {
319
- ...stylePropsView,
320
- ...stylePropsTextOnly
321
- };
322
- var stylePropsAll = stylePropsText;
323
- var validPseudoKeys = {
324
- enterStyle: true,
325
- exitStyle: true,
326
- hoverStyle: true,
327
- pressStyle: true,
328
- focusStyle: true,
329
- disabledStyle: true,
330
- focusWithinStyle: true
331
- };
40
+ var import_toStylePropsObject = require("./toStylePropsObject.native.js");
41
+ var import_tokenCategories = require("./tokenCategories.native.js");
42
+ var cssShorthandLonghands = (0, import_toStylePropsObject.toStylePropsObject)("borderWidth borderStyle borderColor borderTopWidth borderTopStyle borderTopColor borderRightWidth borderRightStyle borderRightColor borderBottomWidth borderBottomStyle borderBottomColor borderLeftWidth borderLeftStyle borderLeftColor outlineWidth outlineStyle outlineColor outlineOffset");
43
+ var textColors = (0, import_toStylePropsObject.toStylePropsObject)("color textDecorationColor textShadowColor");
44
+ var inputColors = (0, import_toStylePropsObject.toStylePropsObject)("placeholderTextColor selectionColor cursorColor selectionHandleColor");
45
+ var nonAnimatableViewProps = (0, import_toStylePropsObject.toStylePropsObject)("alignContent alignItems alignSelf backfaceVisibility borderCurve borderStyle borderBlockStyle borderBlockEndStyle borderBlockStartStyle borderInlineStyle borderInlineEndStyle borderInlineStartStyle boxSizing cursor direction display flexDirection flexWrap isolation justifyContent mixBlendMode outlineStyle overflow pointerEvents position visibility");
46
+ var nonAnimatableFontProps = (0, import_toStylePropsObject.toStylePropsObject)("fontFamily fontStyle fontVariant textTransform");
47
+ var nonAnimatableTextOnlyProps = (0, import_toStylePropsObject.toStylePropsObject)("textAlign textDecorationLine textDecorationStyle userSelect writingDirection");
48
+ var nonAnimatableUnitlessProps = (0, import_toStylePropsObject.toStylePropsObject)("WebkitLineClamp lineClamp");
49
+ var cssGridProps = (0, import_toStylePropsObject.toStylePropsObject)("gridTemplateColumns gridTemplateAreas gridRow gridRowEnd gridRowGap gridRowStart gridColumn gridColumnEnd gridColumnGap gridColumnStart");
50
+ var enableCSSGrid = process.env.TAMAGUI_CSS_GRID === "1";
51
+ var nonAnimatableStyleProps = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableViewProps, nonAnimatableFontProps, nonAnimatableTextOnlyProps, nonAnimatableUnitlessProps, enableCSSGrid ? cssGridProps : void 0, void 0, void 0);
52
+ var stylePropsUnitless = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableUnitlessProps, enableCSSGrid ? cssGridProps : void 0, "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth columnCount flex flexGrow flexOrder flexPositive flexShrink flexNegative fontWeight opacity order orphans tabSize widows zIndex zoom scale scaleX scaleY scaleZ shadowOpacity");
53
+ var stylePropsTransform = (0, import_toStylePropsObject.toStylePropsObject)("x y scale perspective scaleX scaleY skewX skewY matrix rotate rotateY rotateX rotateZ");
54
+ var stylePropsView = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableViewProps, "borderBottomWidth borderLeftWidth borderRightWidth borderBlockWidth borderBlockEndWidth borderBlockStartWidth borderInlineWidth borderInlineEndWidth borderInlineStartWidth borderTopWidth borderWidth transform transformOrigin borderEndWidth borderStartWidth bottom end flexBasis gap columnGap rowGap left margin marginBlock marginBlockEnd marginBlockStart marginInline marginInlineStart marginInlineEnd marginBottom marginEnd marginHorizontal marginLeft marginRight marginStart marginTop marginVertical padding paddingBottom paddingInline paddingBlock paddingBlockEnd paddingBlockStart paddingInlineEnd paddingInlineStart paddingEnd paddingHorizontal paddingLeft paddingRight paddingStart paddingTop paddingVertical right start top inset insetBlock insetBlockEnd insetBlockStart insetInline insetInlineEnd insetInlineStart shadowOffset backgroundColor borderColor borderBlockStartColor borderBlockEndColor borderBlockColor borderBottomColor borderInlineColor borderInlineStartColor borderInlineEndColor borderTopColor borderLeftColor borderRightColor borderEndColor borderStartColor shadowColor outlineColor", void 0, "borderRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderTopStartRadius borderTopEndRadius borderBottomStartRadius borderBottomEndRadius borderStartStartRadius borderStartEndRadius borderEndStartRadius borderEndEndRadius width height minWidth minHeight maxWidth maxHeight blockSize minBlockSize maxBlockSize inlineSize minInlineSize maxInlineSize shadowRadius", stylePropsTransform, stylePropsUnitless, import_constants.isAndroid ? { elevationAndroid: true } : void 0, "boxShadow border borderBlock borderInline filter background backgroundImage experimental_backgroundImage outline outlineOffset outlineWidth", void 0);
55
+ var stylePropsFont = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableFontProps, "fontSize fontWeight letterSpacing lineHeight");
56
+ var stylePropsTextOnly = (0, import_toStylePropsObject.toStylePropsObject)(stylePropsFont, nonAnimatableTextOnlyProps, textColors, "textShadow textShadowOffset textShadowRadius textDecoration font verticalAlign", void 0);
57
+ var stylePropsText = (0, import_toStylePropsObject.toStylePropsObject)(stylePropsView, stylePropsTextOnly);
58
+ var stylePropsInput = (0, import_toStylePropsObject.toStylePropsObject)(stylePropsText, inputColors);
59
+ var stylePropsAll = stylePropsInput;
332
60
  var validStyles = stylePropsView;
61
+
333
62
  //# sourceMappingURL=validStyleProps.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["to","__toCommonJS","mod","__copyProps","__defProp","value","validStyleProps_exports","__export","cssShorthandLonghands","nonAnimatableStyleProps","stylePropsAll","stylePropsText","stylePropsTextOnly","stylePropsTransform","stylePropsUnitless","stylePropsView","tokenCategories","validPseudoKeys","validStyles","module","exports","import_constants","require","borderWidth","borderStyle","borderColor","borderTopWidth","borderTopStyle","borderTopColor","borderRightWidth","borderRightStyle","borderRightColor","borderBottomWidth","borderBottomStyle","borderBottomColor","borderLeftWidth","borderLeftStyle","borderLeftColor","outlineWidth","outlineStyle","outlineColor","outlineOffset","textColors","color","textDecorationColor","textShadowColor","radius","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","size","width","height","minWidth","minHeight","maxWidth","maxHeight","blockSize","minBlockSize","maxBlockSize","inlineSize","minInlineSize","maxInlineSize","zIndex","backgroundColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderEndColor","borderStartColor","shadowColor","nonAnimatableViewProps","alignContent","alignItems","alignSelf","backfaceVisibility","borderCurve","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","boxSizing","cursor","direction","display","flexDirection","flexWrap","isolation","justifyContent","mixBlendMode","overflow","position","nonAnimatableFontProps","fontFamily","fontStyle","fontVariant","textTransform","nonAnimatableTextOnlyProps","textAlign","textDecorationLine","textDecorationStyle","userSelect","nonAnimatableUnitlessProps","WebkitLineClamp","lineClamp","gridTemplateColumns","gridTemplateAreas","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","borderBottomEndRadius","borderBottomStartRadius","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderTopEndRadius","borderTopStartRadius","transform","transformOrigin","borderEndWidth","borderStartWidth","bottom","end","flexBasis","gap","columnGap","rowGap","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","shadowOffset","shadowRadius","isAndroid","elevationAndroid","boxShadow","border","filter","backgroundImage","experimental_backgroundImage","outline","fontSize","letterSpacing","lineHeight","textShadow","textShadowOffset","textShadowRadius","verticalAlign","enterStyle","exitStyle","hoverStyle","pressStyle","focusStyle","disabledStyle","focusWithinStyle"],"sources":["../../src/validStyleProps.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;EAAA;EAAA,OAAAA,EAAA;AAAA;AAAA,IAAAC,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,qBAAA,EAAAA,CAAA,KAAAA,qBAAA;EAAAC,uBAAA,EAAAA,CAAA,KAAAA,uBAAA;EAAAC,aAAA,EAAAA,CAAA,KAAAA,aAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,kBAAA,EAAAA,CAAA,KAAAA,kBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAA,mBAAA;EAAAC,kBAAA,EAAAA,CAAA,KAAAA,kBAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,eAAA,EAAAA,CAAA,KAAAA,eAAA;EAAAC,eAAA,EAAAA,CAAA,KAA0BA,eAAA;EAC1BC,WAAA,EAAAA,CAAA,KAAAA;AAWO;AAA8BC,MAAA,CAAAC,OAAA,GAAAnB,YAAA,CAAAK,uBAAA;AAAA,IAEnCe,gBAAa,GAAAC,OAAA;AAAAA,OACb,gCAAa;AAAA,IACbd,qBAAa;EAAAe,WACb,MAAgB;EAAAC,WAChB,MAAgB;EAAAC,WAChB,MAAgB;EAAAC,cAChB,MAAkB;EAAAC,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B;EAAAC,YACV;EAAA,GACP7M,eAAO,CAAA2B,KAAA;EAAA,GACP3B,eAAK,CAAA8B,MAAA;EAAA,GACL9B,eAAO,CAAAwC,IAAA;EAAA,GACP3C,mBAAY;EAAA,GACZC,kBAAe;EAAA,IACfO,gBAAiB,CAAAyM,SAAA;IAAAC,gBAAA;EAAA;EAAAC,SACjB,MAAa;EAAAC,MACb;EAAgBC,MAChB;EAAkBC,eACJ;EAAAC,4BACA;EAAAC,OACX;EAAgB7L,YAChB;EAAgBC,aAChB;EAAgBH,YAChB;AAAA;AACA,IACH1B,kBAAI;EAA0C,GAE9C2F,sBAAW;EAAA+H,QACX,EAAQ;EAAApG,UACA;EAAAqG,aAAA;EAAAC,UAER;EAAiB,GAAA5H,0BAAA;EAAA,GAEjBlE,UAAA;EAA8B+L,UAAA;EAAAC,gBAErB;EAAAC,gBACK;EAAAC,aACd;AAAe;AACD,IAAAjO,cAAA;EAAA,GAGdI,cAAgB;EAClB,GAAAH;AAEA;AAAuB,IACrBF,aAAG,GAAAC,cAAA;AAAA,IACHM,eAAU;EAAA4N,UACV,MAAY;EAAAC,SACZ;EAAeC,UACf,MAAY;EACdC,UAAA;EAEOC,UAAM;EAAqBC,aAC7B;EAAAC,gBACA;AAAA;AACA,IACHjO,WAAY,GAAAH,cAAA","ignoreList":[]}
1
+ {"version":3,"file":"validStyleProps.native.js","names":[],"sources":["cjs/validStyleProps.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar validStyleProps_exports = {};\n__export(validStyleProps_exports, {\n\tcssShorthandLonghands: () => cssShorthandLonghands,\n\tnonAnimatableStyleProps: () => nonAnimatableStyleProps,\n\tstylePropsAll: () => stylePropsAll,\n\tstylePropsInput: () => stylePropsInput,\n\tstylePropsText: () => stylePropsText,\n\tstylePropsTextOnly: () => stylePropsTextOnly,\n\tstylePropsTransform: () => stylePropsTransform,\n\tstylePropsUnitless: () => stylePropsUnitless,\n\tstylePropsView: () => stylePropsView,\n\ttokenCategories: () => import_tokenCategories.tokenCategories,\n\tvalidStyles: () => validStyles\n});\nmodule.exports = __toCommonJS(validStyleProps_exports);\nvar import_constants = require(\"@tamagui/constants\");\nrequire(\"./webOnlyStyleProps\");\nvar import_toStylePropsObject = require(\"./toStylePropsObject\");\nvar import_tokenCategories = require(\"./tokenCategories\");\nvar cssShorthandLonghands = (0, import_toStylePropsObject.toStylePropsObject)(\"borderWidth borderStyle borderColor borderTopWidth borderTopStyle borderTopColor borderRightWidth borderRightStyle borderRightColor borderBottomWidth borderBottomStyle borderBottomColor borderLeftWidth borderLeftStyle borderLeftColor outlineWidth outlineStyle outlineColor outlineOffset\");\nvar textColors = (0, import_toStylePropsObject.toStylePropsObject)(\"color textDecorationColor textShadowColor\");\nvar inputColors = (0, import_toStylePropsObject.toStylePropsObject)(\"placeholderTextColor selectionColor cursorColor selectionHandleColor\");\nvar nonAnimatableViewProps = (0, import_toStylePropsObject.toStylePropsObject)(\"alignContent alignItems alignSelf backfaceVisibility borderCurve borderStyle borderBlockStyle borderBlockEndStyle borderBlockStartStyle borderInlineStyle borderInlineEndStyle borderInlineStartStyle boxSizing cursor direction display flexDirection flexWrap isolation justifyContent mixBlendMode outlineStyle overflow pointerEvents position visibility\");\nvar nonAnimatableFontProps = (0, import_toStylePropsObject.toStylePropsObject)(\"fontFamily fontStyle fontVariant textTransform\");\nvar nonAnimatableTextOnlyProps = (0, import_toStylePropsObject.toStylePropsObject)(\"textAlign textDecorationLine textDecorationStyle userSelect writingDirection\");\nvar nonAnimatableUnitlessProps = (0, import_toStylePropsObject.toStylePropsObject)(\"WebkitLineClamp lineClamp\");\nvar cssGridProps = (0, import_toStylePropsObject.toStylePropsObject)(\"gridTemplateColumns gridTemplateAreas gridRow gridRowEnd gridRowGap gridRowStart gridColumn gridColumnEnd gridColumnGap gridColumnStart\");\nvar enableCSSGrid = process.env.TAMAGUI_CSS_GRID === \"1\";\nvar nonAnimatableStyleProps = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableViewProps, nonAnimatableFontProps, nonAnimatableTextOnlyProps, nonAnimatableUnitlessProps, enableCSSGrid ? cssGridProps : void 0, void 0, void 0);\nvar stylePropsUnitless = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableUnitlessProps, enableCSSGrid ? cssGridProps : void 0, \"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth columnCount flex flexGrow flexOrder flexPositive flexShrink flexNegative fontWeight opacity order orphans tabSize widows zIndex zoom scale scaleX scaleY scaleZ shadowOpacity\");\nvar stylePropsTransform = (0, import_toStylePropsObject.toStylePropsObject)(\"x y scale perspective scaleX scaleY skewX skewY matrix rotate rotateY rotateX rotateZ\");\nvar stylePropsView = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableViewProps, \"borderBottomWidth borderLeftWidth borderRightWidth borderBlockWidth borderBlockEndWidth borderBlockStartWidth borderInlineWidth borderInlineEndWidth borderInlineStartWidth borderTopWidth borderWidth transform transformOrigin borderEndWidth borderStartWidth bottom end flexBasis gap columnGap rowGap left margin marginBlock marginBlockEnd marginBlockStart marginInline marginInlineStart marginInlineEnd marginBottom marginEnd marginHorizontal marginLeft marginRight marginStart marginTop marginVertical padding paddingBottom paddingInline paddingBlock paddingBlockEnd paddingBlockStart paddingInlineEnd paddingInlineStart paddingEnd paddingHorizontal paddingLeft paddingRight paddingStart paddingTop paddingVertical right start top inset insetBlock insetBlockEnd insetBlockStart insetInline insetInlineEnd insetInlineStart shadowOffset backgroundColor borderColor borderBlockStartColor borderBlockEndColor borderBlockColor borderBottomColor borderInlineColor borderInlineStartColor borderInlineEndColor borderTopColor borderLeftColor borderRightColor borderEndColor borderStartColor shadowColor outlineColor\", void 0, \"borderRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderTopStartRadius borderTopEndRadius borderBottomStartRadius borderBottomEndRadius borderStartStartRadius borderStartEndRadius borderEndStartRadius borderEndEndRadius width height minWidth minHeight maxWidth maxHeight blockSize minBlockSize maxBlockSize inlineSize minInlineSize maxInlineSize shadowRadius\", stylePropsTransform, stylePropsUnitless, import_constants.isAndroid ? { elevationAndroid: true } : void 0, \"boxShadow border borderBlock borderInline filter background backgroundImage experimental_backgroundImage outline outlineOffset outlineWidth\", void 0);\nvar stylePropsFont = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableFontProps, \"fontSize fontWeight letterSpacing lineHeight\");\nvar stylePropsTextOnly = (0, import_toStylePropsObject.toStylePropsObject)(stylePropsFont, nonAnimatableTextOnlyProps, textColors, \"textShadow textShadowOffset textShadowRadius textDecoration font verticalAlign\", void 0);\nvar stylePropsText = (0, import_toStylePropsObject.toStylePropsObject)(stylePropsView, stylePropsTextOnly);\nvar stylePropsInput = (0, import_toStylePropsObject.toStylePropsObject)(stylePropsText, inputColors);\nvar stylePropsAll = stylePropsInput;\nvar validStyles = stylePropsView;\n//# sourceMappingURL=validStyleProps.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC/B,KAAK,IAAI,QAAQ,KAAK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AACjK,IAAI,8BAA8B,GAAG,0BAA0B,mBAAkB,CAAE,2BAA2B;AAC9G,IAAI,gBAAgB,GAAG,0BAA0B,mBAAkB,CAAE,yIAAyI;AAC9M,IAAI,gBAAgB,QAAQ,IAAI,qBAAqB;AACrD,IAAI,2BAA2B,GAAG,0BAA0B,mBAAkB,CAAE,wBAAwB,wBAAwB,4BAA4B,4BAA4B,gBAAgB,eAAe,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAC7O,IAAI,sBAAsB,GAAG,0BAA0B,mBAAkB,CAAE,4BAA4B,gBAAgB,eAAe,KAAK,GAAG,uQAAuQ;AACrZ,IAAI,uBAAuB,GAAG,0BAA0B,mBAAkB,CAAE,uFAAuF;AACnK,IAAI,kBAAkB,GAAG,0BAA0B,mBAAkB,CAAE,wBAAwB,slCAAslC,KAAK,GAAG,6ZAA6Z,qBAAqB,oBAAoB,iBAAiB,YAAY,EAAE,kBAAkB,KAAK,IAAI,KAAK,GAAG,+IAA+I,KAAK,CAAC;AAC11D,IAAI,kBAAkB,GAAG,0BAA0B,mBAAkB,CAAE,wBAAwB,8CAA8C;AAC7I,IAAI,sBAAsB,GAAG,0BAA0B,mBAAkB,CAAE,gBAAgB,4BAA4B,YAAY,kFAAkF,KAAK,CAAC;AAC3N,IAAI,kBAAkB,GAAG,0BAA0B,mBAAkB,CAAE,gBAAgB,kBAAkB;AACzG,IAAI,mBAAmB,GAAG,0BAA0B,mBAAkB,CAAE,gBAAgB,WAAW;AACnG,IAAI,gBAAgB;AACpB,IAAI,cAAc"}
@@ -3,103 +3,31 @@ 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: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
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, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
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, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var webOnlyStyleProps_exports = {};
24
22
  __export(webOnlyStyleProps_exports, {
25
- nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
26
- nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
27
- webOnlyStylePropsText: () => webOnlyStylePropsText,
28
- webOnlyStylePropsView: () => webOnlyStylePropsView
23
+ nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
24
+ nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
25
+ webOnlyStylePropsText: () => webOnlyStylePropsText,
26
+ webOnlyStylePropsView: () => webOnlyStylePropsView
29
27
  });
30
28
  module.exports = __toCommonJS(webOnlyStyleProps_exports);
31
- const nonAnimatableWebViewProps = {
32
- backgroundAttachment: true,
33
- backgroundBlendMode: true,
34
- backgroundClip: true,
35
- backgroundOrigin: true,
36
- backgroundRepeat: true,
37
- borderBottomStyle: true,
38
- borderLeftStyle: true,
39
- borderRightStyle: true,
40
- borderTopStyle: true,
41
- contain: true,
42
- containerType: true,
43
- content: true,
44
- float: true,
45
- maskBorderMode: true,
46
- maskBorderRepeat: true,
47
- maskClip: true,
48
- maskComposite: true,
49
- maskMode: true,
50
- maskOrigin: true,
51
- maskRepeat: true,
52
- maskType: true,
53
- objectFit: true,
54
- overflowBlock: true,
55
- overflowInline: true,
56
- overflowX: true,
57
- overflowY: true,
58
- // NOTE: pointerEvents is NOT web-only - it's a core React Native View prop (not a style)
59
- pointerEvents: true,
60
- scrollbarWidth: true,
61
- textWrap: true,
62
- touchAction: true,
63
- transformStyle: true,
64
- willChange: true
65
- };
66
- const nonAnimatableWebTextProps = {
67
- whiteSpace: true,
68
- wordWrap: true,
69
- textOverflow: true,
70
- WebkitBoxOrient: true
71
- };
72
- const webOnlyStylePropsView = {
73
- ...nonAnimatableWebViewProps,
74
- transition: true,
75
- backdropFilter: true,
76
- WebkitBackdropFilter: true,
77
- background: true,
78
- borderTop: true,
79
- borderRight: true,
80
- borderBottom: true,
81
- borderLeft: true,
82
- backgroundPosition: true,
83
- backgroundSize: true,
84
- borderImage: true,
85
- caretColor: true,
86
- clipPath: true,
87
- mask: true,
88
- maskBorder: true,
89
- maskBorderOutset: true,
90
- maskBorderSlice: true,
91
- maskBorderSource: true,
92
- maskBorderWidth: true,
93
- maskImage: true,
94
- maskPosition: true,
95
- maskSize: true,
96
- objectPosition: true,
97
- textEmphasis: true,
98
- userSelect: true
99
- };
100
- const webOnlyStylePropsText = {
101
- ...nonAnimatableWebTextProps,
102
- textDecorationDistance: true,
103
- // cursor: now cross-platform - in stylePropsView
104
- WebkitLineClamp: true
105
- };
29
+ var import_toStylePropsObject = require("./toStylePropsObject.cjs");
30
+ const nonAnimatableWebViewProps = (0, import_toStylePropsObject.toStylePropsObject)("backgroundAttachment backgroundBlendMode backgroundClip backgroundOrigin backgroundRepeat borderBottomStyle borderLeftStyle borderRightStyle borderTopStyle contain containerType containerName content float maskBorderMode maskBorderRepeat maskClip maskComposite maskMode maskOrigin maskRepeat maskType objectFit overflowBlock overflowInline overflowX overflowY scrollbarWidth textWrap touchAction transformStyle willChange");
31
+ const nonAnimatableWebTextProps = (0, import_toStylePropsObject.toStylePropsObject)("whiteSpace wordWrap textOverflow WebkitBoxOrient");
32
+ const webOnlyStylePropsView = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebViewProps, "transition transitionProperty transitionDuration transitionTimingFunction transitionDelay transitionBehavior backdropFilter WebkitBackdropFilter borderTop borderRight borderBottom borderLeft backgroundPosition backgroundSize borderImage caretColor clipPath mask maskBorder maskBorderOutset maskBorderSlice maskBorderSource maskBorderWidth maskImage maskPosition maskSize objectPosition textEmphasis userSelect overflowWrap wordWrap resize");
33
+ const webOnlyStylePropsText = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebTextProps, "textDecorationDistance WebkitLineClamp");
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
+ var webOnlyStyleProps_exports = {};
24
+ __export(webOnlyStyleProps_exports, {
25
+ nonAnimatableWebTextProps: () => nonAnimatableWebTextProps,
26
+ nonAnimatableWebViewProps: () => nonAnimatableWebViewProps,
27
+ webOnlyStylePropsText: () => webOnlyStylePropsText,
28
+ webOnlyStylePropsView: () => webOnlyStylePropsView
29
+ });
30
+ module.exports = __toCommonJS(webOnlyStyleProps_exports);
31
+ var import_toStylePropsObject = require("./toStylePropsObject.native.js");
32
+ var nonAnimatableWebViewProps = (0, import_toStylePropsObject.toStylePropsObject)("backgroundAttachment backgroundBlendMode backgroundClip backgroundOrigin backgroundRepeat borderBottomStyle borderLeftStyle borderRightStyle borderTopStyle contain containerType containerName content float maskBorderMode maskBorderRepeat maskClip maskComposite maskMode maskOrigin maskRepeat maskType objectFit overflowBlock overflowInline overflowX overflowY scrollbarWidth textWrap touchAction transformStyle willChange");
33
+ var nonAnimatableWebTextProps = (0, import_toStylePropsObject.toStylePropsObject)("whiteSpace wordWrap textOverflow WebkitBoxOrient");
34
+ var webOnlyStylePropsView = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebViewProps, "transition transitionProperty transitionDuration transitionTimingFunction transitionDelay transitionBehavior backdropFilter WebkitBackdropFilter borderTop borderRight borderBottom borderLeft backgroundPosition backgroundSize borderImage caretColor clipPath mask maskBorder maskBorderOutset maskBorderSlice maskBorderSource maskBorderWidth maskImage maskPosition maskSize objectPosition textEmphasis userSelect overflowWrap wordWrap resize");
35
+ var webOnlyStylePropsText = (0, import_toStylePropsObject.toStylePropsObject)(nonAnimatableWebTextProps, "textDecorationDistance WebkitLineClamp");