@tamagui/helpers 1.111.8 → 1.111.10

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 (33) hide show
  1. package/dist/esm/clamp.native.js +2 -4
  2. package/dist/esm/clamp.native.js.map +1 -6
  3. package/dist/esm/composeEventHandlers.native.js +9 -9
  4. package/dist/esm/composeEventHandlers.native.js.map +1 -6
  5. package/dist/esm/concatClassName.native.js +27 -28
  6. package/dist/esm/concatClassName.native.js.map +1 -6
  7. package/dist/esm/index.native.js +8 -8
  8. package/dist/esm/index.native.js.map +1 -6
  9. package/dist/esm/shouldRenderNativePlatform.native.js +14 -23
  10. package/dist/esm/shouldRenderNativePlatform.native.js.map +1 -6
  11. package/dist/esm/types.native.js +7 -9
  12. package/dist/esm/types.native.js.map +1 -6
  13. package/dist/esm/validStyleProps.native.js +240 -241
  14. package/dist/esm/validStyleProps.native.js.map +1 -6
  15. package/dist/esm/withStaticProperties.native.js +21 -22
  16. package/dist/esm/withStaticProperties.native.js.map +1 -6
  17. package/package.json +5 -5
  18. package/dist/esm/clamp.native.mjs +0 -6
  19. package/dist/esm/clamp.native.mjs.map +0 -1
  20. package/dist/esm/composeEventHandlers.native.mjs +0 -12
  21. package/dist/esm/composeEventHandlers.native.mjs.map +0 -1
  22. package/dist/esm/concatClassName.native.mjs +0 -46
  23. package/dist/esm/concatClassName.native.mjs.map +0 -1
  24. package/dist/esm/index.native.mjs +0 -9
  25. package/dist/esm/index.native.mjs.map +0 -1
  26. package/dist/esm/shouldRenderNativePlatform.native.mjs +0 -35
  27. package/dist/esm/shouldRenderNativePlatform.native.mjs.map +0 -1
  28. package/dist/esm/types.native.mjs +0 -7
  29. package/dist/esm/types.native.mjs.map +0 -1
  30. package/dist/esm/validStyleProps.native.mjs +0 -245
  31. package/dist/esm/validStyleProps.native.mjs.map +0 -1
  32. package/dist/esm/withStaticProperties.native.mjs +0 -24
  33. package/dist/esm/withStaticProperties.native.mjs.map +0 -1
@@ -1,246 +1,245 @@
1
1
  import { isAndroid } from "@tamagui/constants";
2
2
  var textColors = {
3
- color: !0,
4
- textDecorationColor: !0,
5
- textShadowColor: !0
6
- }, tokenCategories = {
7
- radius: {
8
- borderRadius: !0,
9
- borderTopLeftRadius: !0,
10
- borderTopRightRadius: !0,
11
- borderBottomLeftRadius: !0,
12
- borderBottomRightRadius: !0,
13
- // logical
14
- borderStartStartRadius: !0,
15
- borderStartEndRadius: !0,
16
- borderEndStartRadius: !0,
17
- borderEndEndRadius: !0
3
+ color: !0,
4
+ textDecorationColor: !0,
5
+ textShadowColor: !0
18
6
  },
19
- size: {
20
- width: !0,
21
- height: !0,
22
- minWidth: !0,
23
- minHeight: !0,
24
- maxWidth: !0,
25
- maxHeight: !0,
26
- blockSize: !0,
27
- minBlockSize: !0,
28
- maxBlockSize: !0,
29
- inlineSize: !0,
30
- minInlineSize: !0,
31
- maxInlineSize: !0
7
+ tokenCategories = {
8
+ radius: {
9
+ borderRadius: !0,
10
+ borderTopLeftRadius: !0,
11
+ borderTopRightRadius: !0,
12
+ borderBottomLeftRadius: !0,
13
+ borderBottomRightRadius: !0,
14
+ // logical
15
+ borderStartStartRadius: !0,
16
+ borderStartEndRadius: !0,
17
+ borderEndStartRadius: !0,
18
+ borderEndEndRadius: !0
19
+ },
20
+ size: {
21
+ width: !0,
22
+ height: !0,
23
+ minWidth: !0,
24
+ minHeight: !0,
25
+ maxWidth: !0,
26
+ maxHeight: !0,
27
+ blockSize: !0,
28
+ minBlockSize: !0,
29
+ maxBlockSize: !0,
30
+ inlineSize: !0,
31
+ minInlineSize: !0,
32
+ maxInlineSize: !0
33
+ },
34
+ zIndex: {
35
+ zIndex: !0
36
+ },
37
+ color: {
38
+ backgroundColor: !0,
39
+ borderColor: !0,
40
+ borderBlockStartColor: !0,
41
+ borderBlockEndColor: !0,
42
+ borderBlockColor: !0,
43
+ borderBottomColor: !0,
44
+ borderInlineColor: !0,
45
+ borderInlineStartColor: !0,
46
+ borderInlineEndColor: !0,
47
+ borderTopColor: !0,
48
+ borderLeftColor: !0,
49
+ borderRightColor: !0,
50
+ borderEndColor: !0,
51
+ borderStartColor: !0,
52
+ shadowColor: !0,
53
+ ...textColors
54
+ }
32
55
  },
33
- zIndex: {
34
- zIndex: !0
56
+ stylePropsUnitless = {
57
+ WebkitLineClamp: !0,
58
+ animationIterationCount: !0,
59
+ aspectRatio: !0,
60
+ borderImageOutset: !0,
61
+ borderImageSlice: !0,
62
+ borderImageWidth: !0,
63
+ columnCount: !0,
64
+ flex: !0,
65
+ flexGrow: !0,
66
+ flexOrder: !0,
67
+ flexPositive: !0,
68
+ flexShrink: !0,
69
+ flexNegative: !0,
70
+ fontWeight: !0,
71
+ gridRow: !0,
72
+ gridRowEnd: !0,
73
+ gridRowGap: !0,
74
+ gridRowStart: !0,
75
+ gridColumn: !0,
76
+ gridColumnEnd: !0,
77
+ gridColumnGap: !0,
78
+ gridColumnStart: !0,
79
+ gridTemplateColumns: !0,
80
+ gridTemplateAreas: !0,
81
+ lineClamp: !0,
82
+ opacity: !0,
83
+ order: !0,
84
+ orphans: !0,
85
+ tabSize: !0,
86
+ widows: !0,
87
+ zIndex: !0,
88
+ zoom: !0,
89
+ scale: !0,
90
+ scaleX: !0,
91
+ scaleY: !0,
92
+ scaleZ: !0,
93
+ shadowOpacity: !0
35
94
  },
36
- color: {
37
- backgroundColor: !0,
38
- borderColor: !0,
39
- borderBlockStartColor: !0,
40
- borderBlockEndColor: !0,
41
- borderBlockColor: !0,
42
- borderBottomColor: !0,
43
- borderInlineColor: !0,
44
- borderInlineStartColor: !0,
45
- borderInlineEndColor: !0,
46
- borderTopColor: !0,
47
- borderLeftColor: !0,
48
- borderRightColor: !0,
49
- borderEndColor: !0,
50
- borderStartColor: !0,
51
- shadowColor: !0,
52
- ...textColors
53
- }
54
- }, stylePropsUnitless = {
55
- WebkitLineClamp: !0,
56
- animationIterationCount: !0,
57
- aspectRatio: !0,
58
- borderImageOutset: !0,
59
- borderImageSlice: !0,
60
- borderImageWidth: !0,
61
- columnCount: !0,
62
- flex: !0,
63
- flexGrow: !0,
64
- flexOrder: !0,
65
- flexPositive: !0,
66
- flexShrink: !0,
67
- flexNegative: !0,
68
- fontWeight: !0,
69
- gridRow: !0,
70
- gridRowEnd: !0,
71
- gridRowGap: !0,
72
- gridRowStart: !0,
73
- gridColumn: !0,
74
- gridColumnEnd: !0,
75
- gridColumnGap: !0,
76
- gridColumnStart: !0,
77
- gridTemplateColumns: !0,
78
- gridTemplateAreas: !0,
79
- lineClamp: !0,
80
- opacity: !0,
81
- order: !0,
82
- orphans: !0,
83
- tabSize: !0,
84
- widows: !0,
85
- zIndex: !0,
86
- zoom: !0,
87
- scale: !0,
88
- scaleX: !0,
89
- scaleY: !0,
90
- scaleZ: !0,
91
- shadowOpacity: !0
92
- }, stylePropsTransform = {
93
- x: !0,
94
- y: !0,
95
- scale: !0,
96
- perspective: !0,
97
- scaleX: !0,
98
- scaleY: !0,
99
- skewX: !0,
100
- skewY: !0,
101
- matrix: !0,
102
- rotate: !0,
103
- rotateY: !0,
104
- rotateX: !0,
105
- rotateZ: !0
106
- }, stylePropsView = {
107
- backfaceVisibility: !0,
108
- borderBottomEndRadius: !0,
109
- borderBottomStartRadius: !0,
110
- borderBottomWidth: !0,
111
- borderLeftWidth: !0,
112
- borderRightWidth: !0,
113
- borderBlockWidth: !0,
114
- borderBlockEndWidth: !0,
115
- borderBlockStartWidth: !0,
116
- borderInlineWidth: !0,
117
- borderInlineEndWidth: !0,
118
- borderInlineStartWidth: !0,
119
- borderStyle: !0,
120
- borderBlockStyle: !0,
121
- borderBlockEndStyle: !0,
122
- borderBlockStartStyle: !0,
123
- borderInlineStyle: !0,
124
- borderInlineEndStyle: !0,
125
- borderInlineStartStyle: !0,
126
- borderTopEndRadius: !0,
127
- borderTopStartRadius: !0,
128
- borderTopWidth: !0,
129
- borderWidth: !0,
130
- transform: !0,
131
- transformOrigin: !0,
132
- alignContent: !0,
133
- alignItems: !0,
134
- alignSelf: !0,
135
- borderEndWidth: !0,
136
- borderStartWidth: !0,
137
- bottom: !0,
138
- display: !0,
139
- end: !0,
140
- flexBasis: !0,
141
- flexDirection: !0,
142
- flexWrap: !0,
143
- gap: !0,
144
- columnGap: !0,
145
- rowGap: !0,
146
- justifyContent: !0,
147
- left: !0,
148
- margin: !0,
149
- marginBlock: !0,
150
- marginBlockEnd: !0,
151
- marginBlockStart: !0,
152
- marginInline: !0,
153
- marginInlineStart: !0,
154
- marginInlineEnd: !0,
155
- marginBottom: !0,
156
- marginEnd: !0,
157
- marginHorizontal: !0,
158
- marginLeft: !0,
159
- marginRight: !0,
160
- marginStart: !0,
161
- marginTop: !0,
162
- marginVertical: !0,
163
- overflow: !0,
164
- padding: !0,
165
- paddingBottom: !0,
166
- paddingInline: !0,
167
- paddingBlock: !0,
168
- paddingBlockStart: !0,
169
- paddingInlineEnd: !0,
170
- paddingInlineStart: !0,
171
- paddingEnd: !0,
172
- paddingHorizontal: !0,
173
- paddingLeft: !0,
174
- paddingRight: !0,
175
- paddingStart: !0,
176
- paddingTop: !0,
177
- paddingVertical: !0,
178
- position: !0,
179
- right: !0,
180
- start: !0,
181
- top: !0,
182
- inset: !0,
183
- insetBlock: !0,
184
- insetBlockEnd: !0,
185
- insetBlockStart: !0,
186
- insetInline: !0,
187
- insetInlineEnd: !0,
188
- insetInlineStart: !0,
189
- direction: !0,
190
- shadowOffset: !0,
191
- shadowRadius: !0,
192
- ...tokenCategories.color,
193
- ...tokenCategories.radius,
194
- ...tokenCategories.size,
195
- ...tokenCategories.radius,
196
- ...stylePropsTransform,
197
- ...stylePropsUnitless,
198
- ...isAndroid ? {
199
- elevationAndroid: !0
200
- } : {}
201
- }, stylePropsFont = {
202
- fontFamily: !0,
203
- fontSize: !0,
204
- fontStyle: !0,
205
- fontWeight: !0,
206
- letterSpacing: !0,
207
- lineHeight: !0,
208
- textTransform: !0
209
- }, stylePropsTextOnly = {
210
- ...stylePropsFont,
211
- textAlign: !0,
212
- textDecorationLine: !0,
213
- textDecorationStyle: !0,
214
- ...textColors,
215
- textShadowOffset: !0,
216
- textShadowRadius: !0,
217
- userSelect: !0,
218
- selectable: !0,
219
- verticalAlign: !0
220
- }, stylePropsText = {
221
- ...stylePropsView,
222
- ...stylePropsTextOnly
223
- }, stylePropsAll = stylePropsText, validPseudoKeys = {
224
- enterStyle: !0,
225
- exitStyle: !0,
226
- hoverStyle: !0,
227
- pressStyle: !0,
228
- focusStyle: !0,
229
- disabledStyle: !0
230
- }, validStyles = {
231
- ...validPseudoKeys,
232
- ...stylePropsView
233
- };
234
- export {
235
- stylePropsAll,
236
- stylePropsFont,
237
- stylePropsText,
238
- stylePropsTextOnly,
239
- stylePropsTransform,
240
- stylePropsUnitless,
241
- stylePropsView,
242
- tokenCategories,
243
- validPseudoKeys,
244
- validStyles
245
- };
246
- //# sourceMappingURL=validStyleProps.js.map
95
+ stylePropsTransform = {
96
+ x: !0,
97
+ y: !0,
98
+ scale: !0,
99
+ perspective: !0,
100
+ scaleX: !0,
101
+ scaleY: !0,
102
+ skewX: !0,
103
+ skewY: !0,
104
+ matrix: !0,
105
+ rotate: !0,
106
+ rotateY: !0,
107
+ rotateX: !0,
108
+ rotateZ: !0
109
+ },
110
+ stylePropsView = {
111
+ backfaceVisibility: !0,
112
+ borderBottomEndRadius: !0,
113
+ borderBottomStartRadius: !0,
114
+ borderBottomWidth: !0,
115
+ borderLeftWidth: !0,
116
+ borderRightWidth: !0,
117
+ borderBlockWidth: !0,
118
+ borderBlockEndWidth: !0,
119
+ borderBlockStartWidth: !0,
120
+ borderInlineWidth: !0,
121
+ borderInlineEndWidth: !0,
122
+ borderInlineStartWidth: !0,
123
+ borderStyle: !0,
124
+ borderBlockStyle: !0,
125
+ borderBlockEndStyle: !0,
126
+ borderBlockStartStyle: !0,
127
+ borderInlineStyle: !0,
128
+ borderInlineEndStyle: !0,
129
+ borderInlineStartStyle: !0,
130
+ borderTopEndRadius: !0,
131
+ borderTopStartRadius: !0,
132
+ borderTopWidth: !0,
133
+ borderWidth: !0,
134
+ transform: !0,
135
+ transformOrigin: !0,
136
+ alignContent: !0,
137
+ alignItems: !0,
138
+ alignSelf: !0,
139
+ borderEndWidth: !0,
140
+ borderStartWidth: !0,
141
+ bottom: !0,
142
+ display: !0,
143
+ end: !0,
144
+ flexBasis: !0,
145
+ flexDirection: !0,
146
+ flexWrap: !0,
147
+ gap: !0,
148
+ columnGap: !0,
149
+ rowGap: !0,
150
+ justifyContent: !0,
151
+ left: !0,
152
+ margin: !0,
153
+ marginBlock: !0,
154
+ marginBlockEnd: !0,
155
+ marginBlockStart: !0,
156
+ marginInline: !0,
157
+ marginInlineStart: !0,
158
+ marginInlineEnd: !0,
159
+ marginBottom: !0,
160
+ marginEnd: !0,
161
+ marginHorizontal: !0,
162
+ marginLeft: !0,
163
+ marginRight: !0,
164
+ marginStart: !0,
165
+ marginTop: !0,
166
+ marginVertical: !0,
167
+ overflow: !0,
168
+ padding: !0,
169
+ paddingBottom: !0,
170
+ paddingInline: !0,
171
+ paddingBlock: !0,
172
+ paddingBlockStart: !0,
173
+ paddingInlineEnd: !0,
174
+ paddingInlineStart: !0,
175
+ paddingEnd: !0,
176
+ paddingHorizontal: !0,
177
+ paddingLeft: !0,
178
+ paddingRight: !0,
179
+ paddingStart: !0,
180
+ paddingTop: !0,
181
+ paddingVertical: !0,
182
+ position: !0,
183
+ right: !0,
184
+ start: !0,
185
+ top: !0,
186
+ inset: !0,
187
+ insetBlock: !0,
188
+ insetBlockEnd: !0,
189
+ insetBlockStart: !0,
190
+ insetInline: !0,
191
+ insetInlineEnd: !0,
192
+ insetInlineStart: !0,
193
+ direction: !0,
194
+ shadowOffset: !0,
195
+ shadowRadius: !0,
196
+ ...tokenCategories.color,
197
+ ...tokenCategories.radius,
198
+ ...tokenCategories.size,
199
+ ...tokenCategories.radius,
200
+ ...stylePropsTransform,
201
+ ...stylePropsUnitless,
202
+ ...(isAndroid ? {
203
+ elevationAndroid: !0
204
+ } : {})
205
+ },
206
+ stylePropsFont = {
207
+ fontFamily: !0,
208
+ fontSize: !0,
209
+ fontStyle: !0,
210
+ fontWeight: !0,
211
+ letterSpacing: !0,
212
+ lineHeight: !0,
213
+ textTransform: !0
214
+ },
215
+ stylePropsTextOnly = {
216
+ ...stylePropsFont,
217
+ textAlign: !0,
218
+ textDecorationLine: !0,
219
+ textDecorationStyle: !0,
220
+ ...textColors,
221
+ textShadowOffset: !0,
222
+ textShadowRadius: !0,
223
+ userSelect: !0,
224
+ selectable: !0,
225
+ verticalAlign: !0
226
+ },
227
+ stylePropsText = {
228
+ ...stylePropsView,
229
+ ...stylePropsTextOnly
230
+ },
231
+ stylePropsAll = stylePropsText,
232
+ validPseudoKeys = {
233
+ enterStyle: !0,
234
+ exitStyle: !0,
235
+ hoverStyle: !0,
236
+ pressStyle: !0,
237
+ focusStyle: !0,
238
+ disabledStyle: !0
239
+ },
240
+ validStyles = {
241
+ ...validPseudoKeys,
242
+ ...stylePropsView
243
+ };
244
+ export { stylePropsAll, stylePropsFont, stylePropsText, stylePropsTextOnly, stylePropsTransform, stylePropsUnitless, stylePropsView, tokenCategories, validPseudoKeys, validStyles };
245
+ //# sourceMappingURL=validStyleProps.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/validStyleProps.ts"],
4
- "mappings": "AAAA,SAASA,iBAAiB;AAI1B,IAAMC,aAAa;EACjBC,OAAO;EACPC,qBAAqB;EACrBC,iBAAiB;AACnB,GAIaC,kBAAkB;EAC7BC,QAAQ;IACNC,cAAc;IACdC,qBAAqB;IACrBC,sBAAsB;IACtBC,wBAAwB;IACxBC,yBAAyB;;IAGzBC,wBAAwB;IACxBC,sBAAsB;IACtBC,sBAAsB;IACtBC,oBAAoB;EACtB;EACAC,MAAM;IACJC,OAAO;IACPC,QAAQ;IACRC,UAAU;IACVC,WAAW;IACXC,UAAU;IACVC,WAAW;IACXC,WAAW;IACXC,cAAc;IAC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5H,YAAY;EACZ6H,eAAe;EACfC,YAAY;EACZC,eAAe;AACjB,GAEaC,qBAAqB;EAChC,GAAGP;EACHQ,WAAW;EACXC,oBAAoB;EACpBC,qBAAqB;EACrB,GAAG7L;EACH8L,kBAAkB;EAClBC,kBAAkB;EAClBC,YAAY;EACZC,YAAY;EACZC,eAAe;AAYjB,GAEaC,iBAAiB;EAC5B,GAAGvG;EACH,GAAG8F;AACL,GAEaU,gBAAgBD,gBAEhBE,kBAAkB;EAC7BC,YAAY;EACZC,WAAW;EACXC,YAAY;EACZC,YAAY;EACZC,YAAY;EACZC,eAAe;AAMjB,GAEaC,cAAc;EACzB,GAAGP;EACH,GAAGzG;AACL;",
5
- "names": ["isAndroid", "textColors", "color", "textDecorationColor", "textShadowColor", "tokenCategories", "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", "borderColor", "borderBlockStartColor", "borderBlockEndColor", "borderBlockColor", "borderBottomColor", "borderInlineColor", "borderInlineStartColor", "borderInlineEndColor", "borderTopColor", "borderLeftColor", "borderRightColor", "borderEndColor", "borderStartColor", "shadowColor", "stylePropsUnitless", "WebkitLineClamp", "animationIterationCount", "aspectRatio", "borderImageOutset", "borderImageSlice", "borderImageWidth", "columnCount", "flex", "flexGrow", "flexOrder", "flexPositive", "flexShrink", "flexNegative", "fontWeight", "gridRow", "gridRowEnd", "gridRowGap", "gridRowStart", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridTemplateColumns", "gridTemplateAreas", "lineClamp", "opacity", "order", "orphans", "tabSize", "widows", "zoom", "scale", "scaleX", "scaleY", "scaleZ", "shadowOpacity", "stylePropsTransform", "x", "y", "perspective", "skewX", "skewY", "matrix", "rotate", "rotateY", "rotateX", "rotateZ", "stylePropsView", "backfaceVisibility", "borderBottomEndRadius", "borderBottomStartRadius", "borderBottomWidth", "borderLeftWidth", "borderRightWidth", "borderBlockWidth", "borderBlockEndWidth", "borderBlockStartWidth", "borderInlineWidth", "borderInlineEndWidth", "borderInlineStartWidth", "borderStyle", "borderBlockStyle", "borderBlockEndStyle", "borderBlockStartStyle", "borderInlineStyle", "borderInlineEndStyle", "borderInlineStartStyle", "borderTopEndRadius", "borderTopStartRadius", "borderTopWidth", "borderWidth", "transform", "transformOrigin", "alignContent", "alignItems", "alignSelf", "borderEndWidth", "borderStartWidth", "bottom", "display", "end", "flexBasis", "flexDirection", "flexWrap", "gap", "columnGap", "rowGap", "justifyContent", "left", "margin", "marginBlock", "marginBlockEnd", "marginBlockStart", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBottom", "marginEnd", "marginHorizontal", "marginLeft", "marginRight", "marginStart", "marginTop", "marginVertical", "overflow", "padding", "paddingBottom", "paddingInline", "paddingBlock", "paddingBlockStart", "paddingInlineEnd", "paddingInlineStart", "paddingEnd", "paddingHorizontal", "paddingLeft", "paddingRight", "paddingStart", "paddingTop", "paddingVertical", "position", "right", "start", "top", "inset", "insetBlock", "insetBlockEnd", "insetBlockStart", "insetInline", "insetInlineEnd", "insetInlineStart", "direction", "shadowOffset", "shadowRadius", "elevationAndroid", "stylePropsFont", "fontFamily", "fontSize", "fontStyle", "letterSpacing", "lineHeight", "textTransform", "stylePropsTextOnly", "textAlign", "textDecorationLine", "textDecorationStyle", "textShadowOffset", "textShadowRadius", "userSelect", "selectable", "verticalAlign", "stylePropsText", "stylePropsAll", "validPseudoKeys", "enterStyle", "exitStyle", "hoverStyle", "pressStyle", "focusStyle", "disabledStyle", "validStyles"]
6
- }
1
+ {"version":3,"names":["isAndroid","textColors","color","textDecorationColor","textShadowColor","tokenCategories","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","borderColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderBottomColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderTopColor","borderLeftColor","borderRightColor","borderEndColor","borderStartColor","shadowColor","stylePropsUnitless","WebkitLineClamp","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridTemplateColumns","gridTemplateAreas","lineClamp","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","stylePropsTransform","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","stylePropsView","backfaceVisibility","borderBottomEndRadius","borderBottomStartRadius","borderBottomWidth","borderLeftWidth","borderRightWidth","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderStyle","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","borderTopEndRadius","borderTopStartRadius","borderTopWidth","borderWidth","transform","transformOrigin","alignContent","alignItems","alignSelf","borderEndWidth","borderStartWidth","bottom","display","end","flexBasis","flexDirection","flexWrap","gap","columnGap","rowGap","justifyContent","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","overflow","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","direction","shadowOffset","shadowRadius","elevationAndroid","stylePropsFont","fontFamily","fontSize","fontStyle","letterSpacing","lineHeight","textTransform","stylePropsTextOnly","textAlign","textDecorationLine","textDecorationStyle","textShadowOffset","textShadowRadius","userSelect","selectable","verticalAlign","stylePropsText","stylePropsAll","validPseudoKeys","enterStyle","exitStyle","hoverStyle","pressStyle","focusStyle","disabledStyle","validStyles"],"sources":["../../src/validStyleProps.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,QAAiB;AAI1B,IAAAC,UAAM;IACJC,KAAA,EAAO;IACPC,mBAAA,EAAqB;IACrBC,eAAA,EAAiB;EACnB;EAIaC,eAAA,GAAkB;IAC7BC,MAAA,EAAQ;MACNC,YAAA,EAAc;MACdC,mBAAA,EAAqB;MACrBC,oBAAA,EAAsB;MACtBC,sBAAA,EAAwB;MACxBC,uBAAA,EAAyB;MAAA;MAGzBC,sBAAA,EAAwB;MACxBC,oBAAA,EAAsB;MACtBC,oBAAA,EAAsB;MACtBC,kBAAA,EAAoB;IACtB;IACAC,IAAA,EAAM;MACJC,KAAA,EAAO;MACPC,MAAA,EAAQ;MACRC,QAAA,EAAU;MACVC,SAAA,EAAW;MACXC,QAAA,EAAU;MACVC,SAAA,EAAW;MACXC,SAAA,EAAW;MACXC,YAAA,EAAc;MACdC,YAAA,EAAc;MACdC,UAAA,EAAY;MACZC,aAAA,EAAe;MACfC,aAAA,EAAe;IACjB;IACAC,MAAA,EAAQ;MACNA,MAAA,EAAQ;IACV;IACA3B,KAAA,EAAO;MACL4B,eAAA,EAAiB;MACjBC,WAAA,EAAa;MACbC,qBAAA,EAAuB;MACvBC,mBAAA,EAAqB;MACrBC,gBAAA,EAAkB;MAClBC,iBAAA,EAAmB;MACnBC,iBAAA,EAAmB;MACnBC,sBAAA,EAAwB;MACxBC,oBAAA,EAAsB;MACtBC,cAAA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Y;IACZC,UAAU;IACVC,QAAA;IACAC,SAAA,GAAY;IACZ5H,UAAA;IACA6H,aAAA;IACAC,UAAA;IACAC,aAAA;EAAiB;EACjBC,kBAAiB;IACjB,GAAAP,cAAA;IACAQ,SAAA;IACAC,kBAAkB;IAClBC,mBAAgB;IAChB,GAAA7L,UAAA;IACA8L,gBAAa;IACbC,gBAAA,EAAiB;IACjBC,UAAA;IACAC,UAAA;IACAC,aAAW;EAAA;EACXC,cAAW;IACX,GAAAvG,cAAY;IACZ,GAAA8F;EAAU;EACVU,aAAS,GAAAD,cAAA;EAAAE,eAAA;IACTC,UAAA;IACAC,SAAS;IACTC,UAAQ;IACRC,UAAQ;IACRC,UAAO;IACPC,aAAM;EAAA;EACNC,WAAY;IACZ,GAAAP,eAAgB;IAChB,GAAAzG;EAAkB;AACA,SAElBwG,aAAA,EACAjB,cAAA,EACAgB,cAAU,EACVT,kBAAe,EACfzG,mBAAW,EACXrC,kBAAU,EACVgD,cAAY,EACZxF,eAAc,EACdiM,eAAY,EACZO,WAAU","ignoreList":[]}
@@ -1,25 +1,24 @@
1
1
  import React from "react";
2
- var Decorated = Symbol(), withStaticProperties = function(component, staticProps) {
3
- var next = function() {
4
- if (component[Decorated]) {
5
- var _ = /* @__PURE__ */ React.forwardRef(function(props, ref) {
6
- return /* @__PURE__ */ React.createElement(component, {
7
- ...props,
8
- ref
2
+ var Decorated = Symbol(),
3
+ withStaticProperties = function (component, staticProps) {
4
+ var next = function () {
5
+ if (component[Decorated]) {
6
+ var _ = /* @__PURE__ */React.forwardRef(function (props, ref) {
7
+ return /* @__PURE__ */React.createElement(component, {
8
+ ...props,
9
+ ref
10
+ });
9
11
  });
10
- });
11
- for (var key in component) {
12
- var v = component[key];
13
- _[key] = v && typeof v == "object" ? {
14
- ...v
15
- } : v;
12
+ for (var key in component) {
13
+ var v = component[key];
14
+ _[key] = v && typeof v == "object" ? {
15
+ ...v
16
+ } : v;
17
+ }
16
18
  }
17
- }
18
- return component;
19
- }();
20
- return Object.assign(next, staticProps), next[Decorated] = !0, next;
21
- };
22
- export {
23
- withStaticProperties
24
- };
25
- //# sourceMappingURL=withStaticProperties.js.map
19
+ return component;
20
+ }();
21
+ return Object.assign(next, staticProps), next[Decorated] = !0, next;
22
+ };
23
+ export { withStaticProperties };
24
+ //# sourceMappingURL=withStaticProperties.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/withStaticProperties.tsx"],
4
- "mappings": "AAAA,OAAOA,WAAW;AAElB,IAAMC,YAAYC,OAAAA,GAILC,uBAAuB,SAClCC,WACAC,aAAAA;AAGA,MAAMC,OAAQ,WAAA;AACZ,QAAIF,UAAUH,SAAAA,GAAY;AACxB,UAAMM,IAAIP,sBAAMQ,WAAW,SAACC,OAAOC,KAAAA;eACjCV,sBAAMW,cAAcP,WAAkB;UAAE,GAAGK;UAAOC;QAAI,CAAA;;AAGxD,eAAWE,OAAOR,WAAW;AAC3B,YAAMS,IAAIT,UAAUQ,GAAAA;AAEpBL,UAAEK,GAAAA,IAAOC,KAAK,OAAOA,KAAM,WAAW;UAAE,GAAGA;QAAE,IAAIA;MACnD;IACF;AACA,WAAOT;EACT,EAAA;AAGAU,gBAAOC,OAAOT,MAAMD,WAAAA,GACpBC,KAAKL,SAAAA,IAAa,IAEXK;AACT;",
5
- "names": ["React", "Decorated", "Symbol", "withStaticProperties", "component", "staticProps", "next", "_", "forwardRef", "props", "ref", "createElement", "key", "v", "Object", "assign"]
6
- }
1
+ {"version":3,"names":["React","Decorated","Symbol","withStaticProperties","component","staticProps","next","_","forwardRef","props","ref","createElement","key","v"],"sources":["../../src/withStaticProperties.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAElB,IAAAC,SAAM,GAAAC,MAAY;EAAOC,oBAIZ,YAAAA,CACXC,SACA,EAAAC,WACmB;IAEnB,IAAAC,IAAM,eAAc;MAClB,IAAIF,SAAA,CAAUH,SAAS,GAAG;QACxB,IAAAM,CAAA,GAAM,eAAUP,KAAA,CAAAQ,UAAA,WAAAC,KAAA,EAAAC,GAAA;UAAW,OAAC,eACpBV,KAAA,CAAAW,aAAc,CAAAP,SAAuB;YAC7C,GAAAK,KAAA;YAEAC;UACE;QAEA;QACF,SAAAE,GAAA,IAAAR,SAAA;UACF,IAAAS,CAAA,GAAAT,SAAA,CAAAQ,GAAA;UACAL,CAAA,CAAAK,GAAO,IAAAC,CAAA,WAAAA,CAAA;YACN,GAAAA;UAGH,IAAAA,CAAA;QAIF","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/helpers",
3
- "version": "1.111.8",
3
+ "version": "1.111.10",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs",
@@ -19,11 +19,11 @@
19
19
  "clean:build": "tamagui-build clean:build"
20
20
  },
21
21
  "dependencies": {
22
- "@tamagui/constants": "1.111.8",
23
- "@tamagui/simple-hash": "1.111.8"
22
+ "@tamagui/constants": "1.111.10",
23
+ "@tamagui/simple-hash": "1.111.10"
24
24
  },
25
25
  "devDependencies": {
26
- "@tamagui/build": "1.111.8"
26
+ "@tamagui/build": "1.111.10"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"
@@ -31,7 +31,7 @@
31
31
  "exports": {
32
32
  "./package.json": "./package.json",
33
33
  ".": {
34
- "react-native-import": "./dist/esm/index.native.mjs",
34
+ "react-native-import": "./dist/esm/index.native.js",
35
35
  "react-native": "./dist/cjs/index.native.js",
36
36
  "types": "./types/index.d.ts",
37
37
  "import": "./dist/esm/index.mjs",
@@ -1,6 +0,0 @@
1
- function clamp(value, param) {
2
- var [min, max] = param;
3
- return Math.min(max, Math.max(min, value));
4
- }
5
- export { clamp };
6
- //# sourceMappingURL=clamp.native.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["clamp","value","param","min","max","Math"],"sources":["../../src/clamp.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,MAAMC,KAAA,EAAeC,KAAC,EAAK;EACzC,KAAAC,GAAO,EAAAC,GAAK,IAAIF,KAAK;EACvB,OAAAG,IAAA,CAAAF,GAAA,CAAAC,GAAA,EAAAC,IAAA,CAAAD,GAAA,CAAAD,GAAA,EAAAF,KAAA","ignoreList":[]}
@@ -1,12 +0,0 @@
1
- function composeEventHandlers(og, next) {
2
- var {
3
- checkDefaultPrevented = !0
4
- } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5
- return !og || !next ? next || og || void 0 : function (event) {
6
- if (og?.(event), !event || !(checkDefaultPrevented && "defaultPrevented" in event) ||
7
- // @ts-ignore
8
- "defaultPrevented" in event && !event.defaultPrevented) return next?.(event);
9
- };
10
- }
11
- export { composeEventHandlers };
12
- //# sourceMappingURL=composeEventHandlers.native.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["composeEventHandlers","og","next","checkDefaultPrevented","arguments","length","event","defaultPrevented"],"sources":["../../src/composeEventHandlers.ts"],"sourcesContent":[null],"mappings":"AAIO,SAASA,qBACdC,EAAA,EACAC,IAAA,EACA;EAEA;IAAAC,qBACS,GAAQ;EAAA,IAAMC,SAEf,CAAAC,MAAA,GAAa,KAAAD,SAAA,iBAAAA,SAAA;EAEnB,OADA,CAAAH,EAAA,IAAK,CAAAC,IAEH,GAACA,IAAA,IACDD,EAAE,uBAAAK,KAAyB;IAE1B,IAAAL,EAAA,GAAAK,KAAA,IAAAA,KAAsB,MAAAH,qBAAgB,0BAAAG,KAAA;IAAA;IAEvC,kBAAc,IAAKA,KAAA,KAAAA,KAAA,CAAAC,gBAAA,EAEvB,OAAAL,IAAA,GAAAI,KAAA;EACF","ignoreList":[]}