@tamagui/helpers 1.0.0-alpha.2 → 1.0.0-alpha.5

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 (2) hide show
  1. package/package.json +3 -2
  2. package/types.d.ts +488 -0
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@tamagui/helpers",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.5",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
7
7
  "typings": "types.d.ts",
8
8
  "files": [
9
+ "types.d.ts",
9
10
  "dist",
10
11
  "src"
11
12
  ],
@@ -22,5 +23,5 @@
22
23
  "publishConfig": {
23
24
  "access": "public"
24
25
  },
25
- "gitHead": "a9f30fdf4ebd448961a6e133741cd4b903185559"
26
+ "gitHead": "e12f14aa087c41ea5ba3933a05f33fada0be03c0"
26
27
  }
package/types.d.ts ADDED
@@ -0,0 +1,488 @@
1
+ // Generated by dts-bundle-generator v5.9.0
2
+
3
+ export declare function concatClassName(_cn: any): string;
4
+ export declare const stylePropsTransform: {
5
+ x: boolean;
6
+ y: boolean;
7
+ scale: boolean;
8
+ perspective: boolean;
9
+ scaleX: boolean;
10
+ scaleY: boolean;
11
+ skewX: boolean;
12
+ skewY: boolean;
13
+ matrix: boolean;
14
+ rotate: boolean;
15
+ rotateY: boolean;
16
+ rotateX: boolean;
17
+ rotateZ: boolean;
18
+ };
19
+ export declare const stylePropsView: Readonly<{
20
+ userSelect?: boolean | undefined;
21
+ cursor?: boolean | undefined;
22
+ contain?: boolean | undefined;
23
+ pointerEvents?: boolean | undefined;
24
+ boxSizing?: boolean | undefined;
25
+ x: boolean;
26
+ y: boolean;
27
+ scale: boolean;
28
+ perspective: boolean;
29
+ scaleX: boolean;
30
+ scaleY: boolean;
31
+ skewX: boolean;
32
+ skewY: boolean;
33
+ matrix: boolean;
34
+ rotate: boolean;
35
+ rotateY: boolean;
36
+ rotateX: boolean;
37
+ rotateZ: boolean;
38
+ backfaceVisibility: boolean;
39
+ backgroundColor: boolean;
40
+ borderBottomColor: boolean;
41
+ borderBottomEndRadius: boolean;
42
+ borderBottomLeftRadius: boolean;
43
+ borderBottomRightRadius: boolean;
44
+ borderBottomStartRadius: boolean;
45
+ borderBottomWidth: boolean;
46
+ borderColor: boolean;
47
+ borderEndColor: boolean;
48
+ borderLeftColor: boolean;
49
+ borderLeftWidth: boolean;
50
+ borderRadius: boolean;
51
+ borderRightColor: boolean;
52
+ borderRightWidth: boolean;
53
+ borderStartColor: boolean;
54
+ borderStyle: boolean;
55
+ borderTopColor: boolean;
56
+ borderTopEndRadius: boolean;
57
+ borderTopLeftRadius: boolean;
58
+ borderTopRightRadius: boolean;
59
+ borderTopStartRadius: boolean;
60
+ borderTopWidth: boolean;
61
+ borderWidth: boolean;
62
+ opacity: boolean;
63
+ transform: boolean;
64
+ alignContent: boolean;
65
+ alignItems: boolean;
66
+ alignSelf: boolean;
67
+ aspectRatio: boolean;
68
+ borderEndWidth: boolean;
69
+ borderStartWidth: boolean;
70
+ bottom: boolean;
71
+ display: boolean;
72
+ end: boolean;
73
+ flex: boolean;
74
+ flexBasis: boolean;
75
+ flexDirection: boolean;
76
+ flexGrow: boolean;
77
+ flexShrink: boolean;
78
+ flexWrap: boolean;
79
+ height: boolean;
80
+ justifyContent: boolean;
81
+ left: boolean;
82
+ margin: boolean;
83
+ marginBottom: boolean;
84
+ marginEnd: boolean;
85
+ marginHorizontal: boolean;
86
+ marginLeft: boolean;
87
+ marginRight: boolean;
88
+ marginStart: boolean;
89
+ marginTop: boolean;
90
+ marginVertical: boolean;
91
+ maxHeight: boolean;
92
+ maxWidth: boolean;
93
+ minHeight: boolean;
94
+ minWidth: boolean;
95
+ overflow: boolean;
96
+ padding: boolean;
97
+ paddingBottom: boolean;
98
+ paddingEnd: boolean;
99
+ paddingHorizontal: boolean;
100
+ paddingLeft: boolean;
101
+ paddingRight: boolean;
102
+ paddingStart: boolean;
103
+ paddingTop: boolean;
104
+ paddingVertical: boolean;
105
+ position: boolean;
106
+ right: boolean;
107
+ start: boolean;
108
+ top: boolean;
109
+ width: boolean;
110
+ zIndex: boolean;
111
+ direction: boolean;
112
+ shadowColor: boolean;
113
+ shadowOffset: boolean;
114
+ shadowOpacity: boolean;
115
+ shadowRadius: boolean;
116
+ }>;
117
+ export declare const stylePropsTextOnly: Readonly<{
118
+ whiteSpace?: boolean | undefined;
119
+ wordWrap?: boolean | undefined;
120
+ textOverflow?: boolean | undefined;
121
+ textDecorationDistance?: boolean | undefined;
122
+ color: boolean;
123
+ fontFamily: boolean;
124
+ fontSize: boolean;
125
+ fontStyle: boolean;
126
+ fontWeight: boolean;
127
+ letterSpacing: boolean;
128
+ lineHeight: boolean;
129
+ textAlign: boolean;
130
+ textDecorationLine: boolean;
131
+ textDecorationStyle: boolean;
132
+ textDecorationColor: boolean;
133
+ textShadowColor: boolean;
134
+ textShadowOffset: boolean;
135
+ textShadowRadius: boolean;
136
+ textTransform: boolean;
137
+ }>;
138
+ export declare const stylePropsText: Readonly<{
139
+ whiteSpace?: boolean | undefined;
140
+ wordWrap?: boolean | undefined;
141
+ textOverflow?: boolean | undefined;
142
+ textDecorationDistance?: boolean | undefined;
143
+ color: boolean;
144
+ fontFamily: boolean;
145
+ fontSize: boolean;
146
+ fontStyle: boolean;
147
+ fontWeight: boolean;
148
+ letterSpacing: boolean;
149
+ lineHeight: boolean;
150
+ textAlign: boolean;
151
+ textDecorationLine: boolean;
152
+ textDecorationStyle: boolean;
153
+ textDecorationColor: boolean;
154
+ textShadowColor: boolean;
155
+ textShadowOffset: boolean;
156
+ textShadowRadius: boolean;
157
+ textTransform: boolean;
158
+ userSelect?: boolean | undefined;
159
+ cursor?: boolean | undefined;
160
+ contain?: boolean | undefined;
161
+ pointerEvents?: boolean | undefined;
162
+ boxSizing?: boolean | undefined;
163
+ x: boolean;
164
+ y: boolean;
165
+ scale: boolean;
166
+ perspective: boolean;
167
+ scaleX: boolean;
168
+ scaleY: boolean;
169
+ skewX: boolean;
170
+ skewY: boolean;
171
+ matrix: boolean;
172
+ rotate: boolean;
173
+ rotateY: boolean;
174
+ rotateX: boolean;
175
+ rotateZ: boolean;
176
+ backfaceVisibility: boolean;
177
+ backgroundColor: boolean;
178
+ borderBottomColor: boolean;
179
+ borderBottomEndRadius: boolean;
180
+ borderBottomLeftRadius: boolean;
181
+ borderBottomRightRadius: boolean;
182
+ borderBottomStartRadius: boolean;
183
+ borderBottomWidth: boolean;
184
+ borderColor: boolean;
185
+ borderEndColor: boolean;
186
+ borderLeftColor: boolean;
187
+ borderLeftWidth: boolean;
188
+ borderRadius: boolean;
189
+ borderRightColor: boolean;
190
+ borderRightWidth: boolean;
191
+ borderStartColor: boolean;
192
+ borderStyle: boolean;
193
+ borderTopColor: boolean;
194
+ borderTopEndRadius: boolean;
195
+ borderTopLeftRadius: boolean;
196
+ borderTopRightRadius: boolean;
197
+ borderTopStartRadius: boolean;
198
+ borderTopWidth: boolean;
199
+ borderWidth: boolean;
200
+ opacity: boolean;
201
+ transform: boolean;
202
+ alignContent: boolean;
203
+ alignItems: boolean;
204
+ alignSelf: boolean;
205
+ aspectRatio: boolean;
206
+ borderEndWidth: boolean;
207
+ borderStartWidth: boolean;
208
+ bottom: boolean;
209
+ display: boolean;
210
+ end: boolean;
211
+ flex: boolean;
212
+ flexBasis: boolean;
213
+ flexDirection: boolean;
214
+ flexGrow: boolean;
215
+ flexShrink: boolean;
216
+ flexWrap: boolean;
217
+ height: boolean;
218
+ justifyContent: boolean;
219
+ left: boolean;
220
+ margin: boolean;
221
+ marginBottom: boolean;
222
+ marginEnd: boolean;
223
+ marginHorizontal: boolean;
224
+ marginLeft: boolean;
225
+ marginRight: boolean;
226
+ marginStart: boolean;
227
+ marginTop: boolean;
228
+ marginVertical: boolean;
229
+ maxHeight: boolean;
230
+ maxWidth: boolean;
231
+ minHeight: boolean;
232
+ minWidth: boolean;
233
+ overflow: boolean;
234
+ padding: boolean;
235
+ paddingBottom: boolean;
236
+ paddingEnd: boolean;
237
+ paddingHorizontal: boolean;
238
+ paddingLeft: boolean;
239
+ paddingRight: boolean;
240
+ paddingStart: boolean;
241
+ paddingTop: boolean;
242
+ paddingVertical: boolean;
243
+ position: boolean;
244
+ right: boolean;
245
+ start: boolean;
246
+ top: boolean;
247
+ width: boolean;
248
+ zIndex: boolean;
249
+ direction: boolean;
250
+ shadowColor: boolean;
251
+ shadowOffset: boolean;
252
+ shadowOpacity: boolean;
253
+ shadowRadius: boolean;
254
+ }>;
255
+ export declare const stylePropsAll: Readonly<{
256
+ whiteSpace?: boolean | undefined;
257
+ wordWrap?: boolean | undefined;
258
+ textOverflow?: boolean | undefined;
259
+ textDecorationDistance?: boolean | undefined;
260
+ color: boolean;
261
+ fontFamily: boolean;
262
+ fontSize: boolean;
263
+ fontStyle: boolean;
264
+ fontWeight: boolean;
265
+ letterSpacing: boolean;
266
+ lineHeight: boolean;
267
+ textAlign: boolean;
268
+ textDecorationLine: boolean;
269
+ textDecorationStyle: boolean;
270
+ textDecorationColor: boolean;
271
+ textShadowColor: boolean;
272
+ textShadowOffset: boolean;
273
+ textShadowRadius: boolean;
274
+ textTransform: boolean;
275
+ userSelect?: boolean | undefined;
276
+ cursor?: boolean | undefined;
277
+ contain?: boolean | undefined;
278
+ pointerEvents?: boolean | undefined;
279
+ boxSizing?: boolean | undefined;
280
+ x: boolean;
281
+ y: boolean;
282
+ scale: boolean;
283
+ perspective: boolean;
284
+ scaleX: boolean;
285
+ scaleY: boolean;
286
+ skewX: boolean;
287
+ skewY: boolean;
288
+ matrix: boolean;
289
+ rotate: boolean;
290
+ rotateY: boolean;
291
+ rotateX: boolean;
292
+ rotateZ: boolean;
293
+ backfaceVisibility: boolean;
294
+ backgroundColor: boolean;
295
+ borderBottomColor: boolean;
296
+ borderBottomEndRadius: boolean;
297
+ borderBottomLeftRadius: boolean;
298
+ borderBottomRightRadius: boolean;
299
+ borderBottomStartRadius: boolean;
300
+ borderBottomWidth: boolean;
301
+ borderColor: boolean;
302
+ borderEndColor: boolean;
303
+ borderLeftColor: boolean;
304
+ borderLeftWidth: boolean;
305
+ borderRadius: boolean;
306
+ borderRightColor: boolean;
307
+ borderRightWidth: boolean;
308
+ borderStartColor: boolean;
309
+ borderStyle: boolean;
310
+ borderTopColor: boolean;
311
+ borderTopEndRadius: boolean;
312
+ borderTopLeftRadius: boolean;
313
+ borderTopRightRadius: boolean;
314
+ borderTopStartRadius: boolean;
315
+ borderTopWidth: boolean;
316
+ borderWidth: boolean;
317
+ opacity: boolean;
318
+ transform: boolean;
319
+ alignContent: boolean;
320
+ alignItems: boolean;
321
+ alignSelf: boolean;
322
+ aspectRatio: boolean;
323
+ borderEndWidth: boolean;
324
+ borderStartWidth: boolean;
325
+ bottom: boolean;
326
+ display: boolean;
327
+ end: boolean;
328
+ flex: boolean;
329
+ flexBasis: boolean;
330
+ flexDirection: boolean;
331
+ flexGrow: boolean;
332
+ flexShrink: boolean;
333
+ flexWrap: boolean;
334
+ height: boolean;
335
+ justifyContent: boolean;
336
+ left: boolean;
337
+ margin: boolean;
338
+ marginBottom: boolean;
339
+ marginEnd: boolean;
340
+ marginHorizontal: boolean;
341
+ marginLeft: boolean;
342
+ marginRight: boolean;
343
+ marginStart: boolean;
344
+ marginTop: boolean;
345
+ marginVertical: boolean;
346
+ maxHeight: boolean;
347
+ maxWidth: boolean;
348
+ minHeight: boolean;
349
+ minWidth: boolean;
350
+ overflow: boolean;
351
+ padding: boolean;
352
+ paddingBottom: boolean;
353
+ paddingEnd: boolean;
354
+ paddingHorizontal: boolean;
355
+ paddingLeft: boolean;
356
+ paddingRight: boolean;
357
+ paddingStart: boolean;
358
+ paddingTop: boolean;
359
+ paddingVertical: boolean;
360
+ position: boolean;
361
+ right: boolean;
362
+ start: boolean;
363
+ top: boolean;
364
+ width: boolean;
365
+ zIndex: boolean;
366
+ direction: boolean;
367
+ shadowColor: boolean;
368
+ shadowOffset: boolean;
369
+ shadowOpacity: boolean;
370
+ shadowRadius: boolean;
371
+ }>;
372
+ export declare const validStylesPseudo: {
373
+ hoverStyle: boolean;
374
+ pressStyle: boolean;
375
+ focusStyle: boolean;
376
+ };
377
+ export declare const validStyles: {
378
+ userSelect?: boolean | undefined;
379
+ cursor?: boolean | undefined;
380
+ contain?: boolean | undefined;
381
+ pointerEvents?: boolean | undefined;
382
+ boxSizing?: boolean | undefined;
383
+ x: boolean;
384
+ y: boolean;
385
+ scale: boolean;
386
+ perspective: boolean;
387
+ scaleX: boolean;
388
+ scaleY: boolean;
389
+ skewX: boolean;
390
+ skewY: boolean;
391
+ matrix: boolean;
392
+ rotate: boolean;
393
+ rotateY: boolean;
394
+ rotateX: boolean;
395
+ rotateZ: boolean;
396
+ backfaceVisibility: boolean;
397
+ backgroundColor: boolean;
398
+ borderBottomColor: boolean;
399
+ borderBottomEndRadius: boolean;
400
+ borderBottomLeftRadius: boolean;
401
+ borderBottomRightRadius: boolean;
402
+ borderBottomStartRadius: boolean;
403
+ borderBottomWidth: boolean;
404
+ borderColor: boolean;
405
+ borderEndColor: boolean;
406
+ borderLeftColor: boolean;
407
+ borderLeftWidth: boolean;
408
+ borderRadius: boolean;
409
+ borderRightColor: boolean;
410
+ borderRightWidth: boolean;
411
+ borderStartColor: boolean;
412
+ borderStyle: boolean;
413
+ borderTopColor: boolean;
414
+ borderTopEndRadius: boolean;
415
+ borderTopLeftRadius: boolean;
416
+ borderTopRightRadius: boolean;
417
+ borderTopStartRadius: boolean;
418
+ borderTopWidth: boolean;
419
+ borderWidth: boolean;
420
+ opacity: boolean;
421
+ transform: boolean;
422
+ alignContent: boolean;
423
+ alignItems: boolean;
424
+ alignSelf: boolean;
425
+ aspectRatio: boolean;
426
+ borderEndWidth: boolean;
427
+ borderStartWidth: boolean;
428
+ bottom: boolean;
429
+ display: boolean;
430
+ end: boolean;
431
+ flex: boolean;
432
+ flexBasis: boolean;
433
+ flexDirection: boolean;
434
+ flexGrow: boolean;
435
+ flexShrink: boolean;
436
+ flexWrap: boolean;
437
+ height: boolean;
438
+ justifyContent: boolean;
439
+ left: boolean;
440
+ margin: boolean;
441
+ marginBottom: boolean;
442
+ marginEnd: boolean;
443
+ marginHorizontal: boolean;
444
+ marginLeft: boolean;
445
+ marginRight: boolean;
446
+ marginStart: boolean;
447
+ marginTop: boolean;
448
+ marginVertical: boolean;
449
+ maxHeight: boolean;
450
+ maxWidth: boolean;
451
+ minHeight: boolean;
452
+ minWidth: boolean;
453
+ overflow: boolean;
454
+ padding: boolean;
455
+ paddingBottom: boolean;
456
+ paddingEnd: boolean;
457
+ paddingHorizontal: boolean;
458
+ paddingLeft: boolean;
459
+ paddingRight: boolean;
460
+ paddingStart: boolean;
461
+ paddingTop: boolean;
462
+ paddingVertical: boolean;
463
+ position: boolean;
464
+ right: boolean;
465
+ start: boolean;
466
+ top: boolean;
467
+ width: boolean;
468
+ zIndex: boolean;
469
+ direction: boolean;
470
+ shadowColor: boolean;
471
+ shadowOffset: boolean;
472
+ shadowOpacity: boolean;
473
+ shadowRadius: boolean;
474
+ hoverStyle: boolean;
475
+ pressStyle: boolean;
476
+ focusStyle: boolean;
477
+ };
478
+ export declare type StyleObject = {
479
+ property: string;
480
+ value: string;
481
+ className: string;
482
+ identifier: string;
483
+ rules: string[];
484
+ };
485
+ export declare const AllRules: Set<unknown>;
486
+ export declare const getStyleRules: () => Set<unknown>;
487
+
488
+ export {};