@stylexjs/stylex 0.3.0 → 0.4.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 (45) hide show
  1. package/README.md +18 -43
  2. package/lib/StyleXCSSTypes.d.ts +3 -1
  3. package/lib/StyleXCSSTypes.js.flow +4 -2
  4. package/lib/StyleXSheet.js +17 -3
  5. package/lib/StyleXTypes.d.ts +10 -4
  6. package/lib/StyleXTypes.js.flow +9 -6
  7. package/lib/stylex.d.ts +0 -7
  8. package/lib/stylex.js +1 -5
  9. package/lib/stylex.js.flow +0 -4
  10. package/package.json +2 -2
  11. package/lib/native/CSSCustomPropertyValue.d.ts +0 -26
  12. package/lib/native/CSSCustomPropertyValue.js +0 -27
  13. package/lib/native/CSSCustomPropertyValue.js.flow +0 -27
  14. package/lib/native/CSSLengthUnitValue.d.ts +0 -18
  15. package/lib/native/CSSLengthUnitValue.js +0 -73
  16. package/lib/native/CSSLengthUnitValue.js.flow +0 -21
  17. package/lib/native/CSSMediaQuery.d.ts +0 -25
  18. package/lib/native/CSSMediaQuery.js +0 -55
  19. package/lib/native/CSSMediaQuery.js.flow +0 -26
  20. package/lib/native/SpreadOptions.d.ts +0 -19
  21. package/lib/native/SpreadOptions.js +0 -1
  22. package/lib/native/SpreadOptions.js.flow +0 -19
  23. package/lib/native/__tests__/__snapshots__/stylex-css-var-test.js.snap +0 -48
  24. package/lib/native/__tests__/__snapshots__/stylex-test.js.snap +0 -1046
  25. package/lib/native/__tests__/parseTimeValue-test.js +0 -11
  26. package/lib/native/__tests__/stylex-css-var-test.js +0 -148
  27. package/lib/native/__tests__/stylex-test.js +0 -924
  28. package/lib/native/errorMsg.d.ts +0 -11
  29. package/lib/native/errorMsg.js +0 -13
  30. package/lib/native/errorMsg.js.flow +0 -12
  31. package/lib/native/fixContentBox.d.ts +0 -11
  32. package/lib/native/fixContentBox.js +0 -59
  33. package/lib/native/fixContentBox.js.flow +0 -11
  34. package/lib/native/flattenStyle.d.ts +0 -15
  35. package/lib/native/flattenStyle.js +0 -20
  36. package/lib/native/flattenStyle.js.flow +0 -20
  37. package/lib/native/parseShadow.d.ts +0 -18
  38. package/lib/native/parseShadow.js +0 -36
  39. package/lib/native/parseShadow.js.flow +0 -19
  40. package/lib/native/parseTimeValue.d.ts +0 -11
  41. package/lib/native/parseTimeValue.js +0 -18
  42. package/lib/native/parseTimeValue.js.flow +0 -12
  43. package/lib/native/stylex.d.ts +0 -50
  44. package/lib/native/stylex.js +0 -393
  45. package/lib/native/stylex.js.flow +0 -60
@@ -1,1046 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`custom properties filters out the property and emits a warning when encountering a variable name which has not been provided 1`] = `{}`;
4
-
5
- exports[`custom properties resolves custom properties' values 1`] = `
6
- {
7
- "style": {
8
- "color": "#333",
9
- "width": 42,
10
- },
11
- }
12
- `;
13
-
14
- exports[`length units 10 "em" units are resolved to pixels 1`] = `
15
- {
16
- "style": {
17
- "width": 160,
18
- },
19
- }
20
- `;
21
-
22
- exports[`length units 10 "em" units based on inherited font-size 1`] = `
23
- {
24
- "style": {
25
- "width": 120,
26
- },
27
- }
28
- `;
29
-
30
- exports[`length units 10 "px" units are resolved to pixels 1`] = `
31
- {
32
- "style": {
33
- "width": 10,
34
- },
35
- }
36
- `;
37
-
38
- exports[`length units 10 "rem" units are resolved to pixels 1`] = `
39
- {
40
- "style": {
41
- "width": 160,
42
- },
43
- }
44
- `;
45
-
46
- exports[`length units 10 "vh" units are resolved to pixels 1`] = `
47
- {
48
- "style": {
49
- "width": 60,
50
- },
51
- }
52
- `;
53
-
54
- exports[`length units 10 "vmax" units are resolved to pixels 1`] = `
55
- {
56
- "style": {
57
- "width": 60,
58
- },
59
- }
60
- `;
61
-
62
- exports[`length units 10 "vmin" units are resolved to pixels 1`] = `
63
- {
64
- "style": {
65
- "width": 32,
66
- },
67
- }
68
- `;
69
-
70
- exports[`length units 10 "vw" units are resolved to pixels 1`] = `
71
- {
72
- "style": {
73
- "width": 32,
74
- },
75
- }
76
- `;
77
-
78
- exports[`logical styles blockSize: blockSize 1`] = `
79
- {
80
- "style": {
81
- "height": 100,
82
- },
83
- }
84
- `;
85
-
86
- exports[`logical styles blockSize: blockSize after height 1`] = `
87
- {
88
- "style": {
89
- "height": 200,
90
- },
91
- }
92
- `;
93
-
94
- exports[`logical styles blockSize: maxBlockSize 1`] = `
95
- {
96
- "style": {
97
- "maxHeight": 100,
98
- },
99
- }
100
- `;
101
-
102
- exports[`logical styles blockSize: maxBlockSize after maxHeight 1`] = `
103
- {
104
- "style": {
105
- "maxHeight": 200,
106
- },
107
- }
108
- `;
109
-
110
- exports[`logical styles blockSize: minBlockSize 1`] = `
111
- {
112
- "style": {
113
- "minHeight": 100,
114
- },
115
- }
116
- `;
117
-
118
- exports[`logical styles blockSize: minBlockSize after minHeight 1`] = `
119
- {
120
- "style": {
121
- "minHeight": 200,
122
- },
123
- }
124
- `;
125
-
126
- exports[`logical styles borderBlock: borderBlock 1`] = `
127
- {
128
- "style": {
129
- "borderBottomColor": "black",
130
- "borderBottomStyle": "solid",
131
- "borderBottomWidth": 1,
132
- "borderTopColor": "black",
133
- "borderTopStyle": "solid",
134
- "borderTopWidth": 1,
135
- },
136
- }
137
- `;
138
-
139
- exports[`logical styles borderBlock: borderBlock after borderBlockEnd 1`] = `
140
- {
141
- "style": {
142
- "borderBottomColor": "red",
143
- "borderBottomStyle": "dotted",
144
- "borderBottomWidth": 2,
145
- "borderTopColor": "black",
146
- "borderTopStyle": "solid",
147
- "borderTopWidth": 1,
148
- },
149
- }
150
- `;
151
-
152
- exports[`logical styles borderBlock: borderBlock after borderBlockStart 1`] = `
153
- {
154
- "style": {
155
- "borderBottomColor": "black",
156
- "borderBottomStyle": "solid",
157
- "borderBottomWidth": 1,
158
- "borderTopColor": "green",
159
- "borderTopStyle": "dashed",
160
- "borderTopWidth": 3,
161
- },
162
- }
163
- `;
164
-
165
- exports[`logical styles borderBlock: borderBlockEnd 1`] = `
166
- {
167
- "style": {
168
- "borderBottomColor": "red",
169
- "borderBottomStyle": "dotted",
170
- "borderBottomWidth": 2,
171
- },
172
- }
173
- `;
174
-
175
- exports[`logical styles borderBlock: borderBlockStart 1`] = `
176
- {
177
- "style": {
178
- "borderTopColor": "green",
179
- "borderTopStyle": "dashed",
180
- "borderTopWidth": 3,
181
- },
182
- }
183
- `;
184
-
185
- exports[`logical styles borderInline: borderInline 1`] = `
186
- {
187
- "style": {
188
- "borderEndColor": "black",
189
- "borderEndStyle": "solid",
190
- "borderEndWidth": 1,
191
- "borderStartColor": "black",
192
- "borderStartStyle": "solid",
193
- "borderStartWidth": 1,
194
- },
195
- }
196
- `;
197
-
198
- exports[`logical styles borderInline: borderInline after borderInlineEnd 1`] = `
199
- {
200
- "style": {
201
- "borderEndColor": "red",
202
- "borderEndStyle": "dotted",
203
- "borderEndWidth": 2,
204
- "borderStartColor": "black",
205
- "borderStartStyle": "solid",
206
- "borderStartWidth": 1,
207
- },
208
- }
209
- `;
210
-
211
- exports[`logical styles borderInline: borderInline after borderInlineStart 1`] = `
212
- {
213
- "style": {
214
- "borderEndColor": "black",
215
- "borderEndStyle": "solid",
216
- "borderEndWidth": 1,
217
- "borderStartColor": "green",
218
- "borderStartStyle": "dashed",
219
- "borderStartWidth": 3,
220
- },
221
- }
222
- `;
223
-
224
- exports[`logical styles borderInline: borderInlineEnd 1`] = `
225
- {
226
- "style": {
227
- "borderEndColor": "red",
228
- "borderEndStyle": "dotted",
229
- "borderEndWidth": 2,
230
- },
231
- }
232
- `;
233
-
234
- exports[`logical styles borderInline: borderInlineStart 1`] = `
235
- {
236
- "style": {
237
- "borderStartColor": "green",
238
- "borderStartStyle": "dashed",
239
- "borderStartWidth": 3,
240
- },
241
- }
242
- `;
243
-
244
- exports[`logical styles borderRadius: endend 1`] = `
245
- {
246
- "style": {
247
- "borderBottomEndRadius": 10,
248
- },
249
- }
250
- `;
251
-
252
- exports[`logical styles borderRadius: endstart 1`] = `
253
- {
254
- "style": {
255
- "borderBottomStartRadius": 10,
256
- },
257
- }
258
- `;
259
-
260
- exports[`logical styles borderRadius: startend 1`] = `
261
- {
262
- "style": {
263
- "borderTopEndRadius": 10,
264
- },
265
- }
266
- `;
267
-
268
- exports[`logical styles borderRadius: startstart 1`] = `
269
- {
270
- "style": {
271
- "borderTopStartRadius": 10,
272
- },
273
- }
274
- `;
275
-
276
- exports[`logical styles inlineSize: inlineSize 1`] = `
277
- {
278
- "style": {
279
- "width": 100,
280
- },
281
- }
282
- `;
283
-
284
- exports[`logical styles inlineSize: inlineSize after width 1`] = `
285
- {
286
- "style": {
287
- "width": 200,
288
- },
289
- }
290
- `;
291
-
292
- exports[`logical styles inlineSize: maxInlineSize 1`] = `
293
- {
294
- "style": {
295
- "maxWidth": 100,
296
- },
297
- }
298
- `;
299
-
300
- exports[`logical styles inlineSize: maxInlineSize after maxWidth 1`] = `
301
- {
302
- "style": {
303
- "maxWidth": 200,
304
- },
305
- }
306
- `;
307
-
308
- exports[`logical styles inlineSize: minInlineSize 1`] = `
309
- {
310
- "style": {
311
- "minWidth": 100,
312
- },
313
- }
314
- `;
315
-
316
- exports[`logical styles inlineSize: minInlineSize after minWidth 1`] = `
317
- {
318
- "style": {
319
- "minWidth": 200,
320
- },
321
- }
322
- `;
323
-
324
- exports[`logical styles inset: inset 1`] = `
325
- {
326
- "style": {
327
- "bottom": 1,
328
- "end": 1,
329
- "start": 1,
330
- "top": 1,
331
- },
332
- }
333
- `;
334
-
335
- exports[`logical styles inset: inset vs top 1`] = `
336
- {
337
- "style": {
338
- "bottom": 100,
339
- "left": 10,
340
- "right": 10,
341
- "top": 100,
342
- },
343
- }
344
- `;
345
-
346
- exports[`logical styles inset: insetBlock 1`] = `
347
- {
348
- "style": {
349
- "bottom": 2,
350
- "top": 2,
351
- },
352
- }
353
- `;
354
-
355
- exports[`logical styles inset: insetBlock vs top 1`] = `
356
- {
357
- "style": {
358
- "bottom": 100,
359
- "top": 100,
360
- },
361
- }
362
- `;
363
-
364
- exports[`logical styles inset: insetBlockEnd 1`] = `
365
- {
366
- "style": {
367
- "bottom": 4,
368
- },
369
- }
370
- `;
371
-
372
- exports[`logical styles inset: insetBlockEnd vs bottom 1`] = `
373
- {
374
- "style": {
375
- "bottom": 100,
376
- },
377
- }
378
- `;
379
-
380
- exports[`logical styles inset: insetBlockStart 1`] = `
381
- {
382
- "style": {
383
- "top": 3,
384
- },
385
- }
386
- `;
387
-
388
- exports[`logical styles inset: insetBlockStart vs top 1`] = `
389
- {
390
- "style": {
391
- "top": 100,
392
- },
393
- }
394
- `;
395
-
396
- exports[`logical styles inset: insetInline 1`] = `
397
- {
398
- "style": {
399
- "end": 5,
400
- "start": 5,
401
- },
402
- }
403
- `;
404
-
405
- exports[`logical styles inset: insetInlineEnd 1`] = `
406
- {
407
- "style": {
408
- "end": 7,
409
- },
410
- }
411
- `;
412
-
413
- exports[`logical styles inset: insetInlineStart 1`] = `
414
- {
415
- "style": {
416
- "start": 6,
417
- },
418
- }
419
- `;
420
-
421
- exports[`logical styles margin: marginBlock 1`] = `
422
- {
423
- "style": {
424
- "marginVertical": 1,
425
- },
426
- }
427
- `;
428
-
429
- exports[`logical styles margin: marginBlockEnd 1`] = `
430
- {
431
- "style": {
432
- "marginBottom": 3,
433
- },
434
- }
435
- `;
436
-
437
- exports[`logical styles margin: marginBlockStart 1`] = `
438
- {
439
- "style": {
440
- "marginTop": 2,
441
- },
442
- }
443
- `;
444
-
445
- exports[`logical styles margin: marginInline 1`] = `
446
- {
447
- "style": {
448
- "marginHorizontal": 1,
449
- },
450
- }
451
- `;
452
-
453
- exports[`logical styles margin: marginInlineEnd 1`] = `
454
- {
455
- "style": {
456
- "marginEnd": 3,
457
- },
458
- }
459
- `;
460
-
461
- exports[`logical styles margin: marginInlineStart 1`] = `
462
- {
463
- "style": {
464
- "marginStart": 2,
465
- },
466
- }
467
- `;
468
-
469
- exports[`logical styles padding: paddingBlock 1`] = `
470
- {
471
- "style": {
472
- "paddingVertical": 1,
473
- },
474
- }
475
- `;
476
-
477
- exports[`logical styles padding: paddingBlockEnd 1`] = `
478
- {
479
- "style": {
480
- "paddingBottom": 3,
481
- },
482
- }
483
- `;
484
-
485
- exports[`logical styles padding: paddingBlockStart 1`] = `
486
- {
487
- "style": {
488
- "paddingTop": 2,
489
- },
490
- }
491
- `;
492
-
493
- exports[`logical styles padding: paddingInline 1`] = `
494
- {
495
- "style": {
496
- "paddingHorizontal": 1,
497
- },
498
- }
499
- `;
500
-
501
- exports[`logical styles padding: paddingInlineEnd 1`] = `
502
- {
503
- "style": {
504
- "paddingEnd": 3,
505
- },
506
- }
507
- `;
508
-
509
- exports[`logical styles padding: paddingInlineStart 1`] = `
510
- {
511
- "style": {
512
- "paddingStart": 2,
513
- },
514
- }
515
- `;
516
-
517
- exports[`logical styles textAlign: end 1`] = `
518
- {
519
- "style": {
520
- "textAlign": "end",
521
- },
522
- }
523
- `;
524
-
525
- exports[`logical styles textAlign: start 1`] = `
526
- {
527
- "style": {
528
- "textAlign": "start",
529
- },
530
- }
531
- `;
532
-
533
- exports[`styles :hover syntax: hovered 1`] = `
534
- {
535
- "style": {
536
- "backgroundColor": "blue",
537
- },
538
- }
539
- `;
540
-
541
- exports[`styles :hover syntax: not hovered 1`] = `
542
- {
543
- "style": {
544
- "backgroundColor": "red",
545
- },
546
- }
547
- `;
548
-
549
- exports[`styles animation-delay 1`] = `
550
- {
551
- "style": {
552
- "animationDelay": 300,
553
- },
554
- }
555
- `;
556
-
557
- exports[`styles animation-duration 1`] = `
558
- {
559
- "style": {
560
- "animationDuration": 500,
561
- },
562
- }
563
- `;
564
-
565
- exports[`styles border-style 1`] = `
566
- {
567
- "style": {
568
- "borderWidth": 0,
569
- },
570
- }
571
- `;
572
-
573
- exports[`styles border-style 2`] = `
574
- {
575
- "style": {
576
- "borderStyle": "solid",
577
- "borderWidth": 10,
578
- },
579
- }
580
- `;
581
-
582
- exports[`styles box-shadow 1`] = `
583
- {
584
- "style": {
585
- "shadowColor": "red",
586
- "shadowOffset": {
587
- "height": 2,
588
- "width": 1,
589
- },
590
- "shadowOpacity": 1,
591
- "shadowRadius": 3,
592
- },
593
- }
594
- `;
595
-
596
- exports[`styles box-sizing: content-box: allDifferent 1`] = `
597
- {
598
- "style": {
599
- "borderBottomWidth": 3,
600
- "borderLeftWidth": 4,
601
- "borderRightWidth": 2,
602
- "borderTopWidth": 1,
603
- "height": 144,
604
- "paddingBottom": 30,
605
- "paddingLeft": 40,
606
- "paddingRight": 20,
607
- "paddingTop": 10,
608
- "width": 166,
609
- },
610
- }
611
- `;
612
-
613
- exports[`styles box-sizing: content-box: auto 1`] = `
614
- {
615
- "style": {
616
- "borderWidth": 2,
617
- "height": 74,
618
- "padding": 10,
619
- "width": "auto",
620
- },
621
- }
622
- `;
623
-
624
- exports[`styles box-sizing: content-box: height 1`] = `
625
- {
626
- "style": {
627
- "borderWidth": 2,
628
- "height": 74,
629
- "padding": 10,
630
- },
631
- }
632
- `;
633
-
634
- exports[`styles box-sizing: content-box: maxHeight 1`] = `
635
- {
636
- "style": {
637
- "borderWidth": 2,
638
- "maxHeight": 74,
639
- "padding": 10,
640
- },
641
- }
642
- `;
643
-
644
- exports[`styles box-sizing: content-box: maxWidth 1`] = `
645
- {
646
- "style": {
647
- "borderWidth": 2,
648
- "maxWidth": 124,
649
- "padding": 10,
650
- },
651
- }
652
- `;
653
-
654
- exports[`styles box-sizing: content-box: minHeight 1`] = `
655
- {
656
- "style": {
657
- "borderWidth": 2,
658
- "minHeight": 74,
659
- "padding": 10,
660
- },
661
- }
662
- `;
663
-
664
- exports[`styles box-sizing: content-box: minWidth 1`] = `
665
- {
666
- "style": {
667
- "borderWidth": 2,
668
- "minWidth": 124,
669
- "padding": 10,
670
- },
671
- }
672
- `;
673
-
674
- exports[`styles box-sizing: content-box: units 1`] = `
675
- {
676
- "style": {
677
- "borderWidth": 2,
678
- "height": 86,
679
- "padding": 16,
680
- "width": 136,
681
- },
682
- }
683
- `;
684
-
685
- exports[`styles box-sizing: content-box: width 1`] = `
686
- {
687
- "style": {
688
- "borderWidth": 2,
689
- "overflow": "hidden",
690
- "padding": 10,
691
- "width": 124,
692
- },
693
- }
694
- `;
695
-
696
- exports[`styles direction 1`] = `
697
- {
698
- "style": {
699
- "direction": "ltr",
700
- },
701
- }
702
- `;
703
-
704
- exports[`styles direction 2`] = `
705
- {
706
- "style": {
707
- "direction": "rtl",
708
- },
709
- }
710
- `;
711
-
712
- exports[`styles font-size: default 1`] = `
713
- {
714
- "style": {
715
- "fontSize": 40,
716
- },
717
- }
718
- `;
719
-
720
- exports[`styles font-size: fontScale:2 1`] = `
721
- {
722
- "style": {
723
- "fontSize": 80,
724
- },
725
- }
726
- `;
727
-
728
- exports[`styles font-variant 1`] = `
729
- {
730
- "style": {
731
- "fontVariant": "common-ligatures small-caps",
732
- },
733
- }
734
- `;
735
-
736
- exports[`styles font-weight 1`] = `
737
- {
738
- "style": {
739
- "fontWeight": "900",
740
- },
741
- }
742
- `;
743
-
744
- exports[`styles font-weight 2`] = `
745
- {
746
- "style": {
747
- "fontWeight": "bold",
748
- },
749
- }
750
- `;
751
-
752
- exports[`styles line-clamp 1`] = `
753
- {
754
- "numberOfLines": 3,
755
- }
756
- `;
757
-
758
- exports[`styles line-height: px 1`] = `
759
- {
760
- "style": {
761
- "lineHeight": 24,
762
- },
763
- }
764
- `;
765
-
766
- exports[`styles line-height: rem 1`] = `
767
- {
768
- "style": {
769
- "lineHeight": 24,
770
- },
771
- }
772
- `;
773
-
774
- exports[`styles line-height: unitless number 1`] = `
775
- {
776
- "style": {
777
- "lineHeight": 24,
778
- },
779
- }
780
- `;
781
-
782
- exports[`styles line-height: unitless string 1`] = `
783
- {
784
- "style": {
785
- "lineHeight": 24,
786
- },
787
- }
788
- `;
789
-
790
- exports[`styles object-fit: contain 1`] = `
791
- {
792
- "style": {
793
- "objectFit": "contain",
794
- },
795
- }
796
- `;
797
-
798
- exports[`styles object-fit: contain 2`] = `
799
- {
800
- "style": {
801
- "objectFit": "cover",
802
- },
803
- }
804
- `;
805
-
806
- exports[`styles object-fit: fill 1`] = `
807
- {
808
- "style": {
809
- "objectFit": "fill",
810
- },
811
- }
812
- `;
813
-
814
- exports[`styles object-fit: none 1`] = `
815
- {
816
- "style": {
817
- "objectFit": "none",
818
- },
819
- }
820
- `;
821
-
822
- exports[`styles object-fit: scaleDown 1`] = `
823
- {
824
- "style": {
825
- "objectFit": "scale-down",
826
- },
827
- }
828
- `;
829
-
830
- exports[`styles pointer-events 1`] = `
831
- {
832
- "style": {
833
- "pointerEvents": "none",
834
- },
835
- }
836
- `;
837
-
838
- exports[`styles position: absolute 1`] = `
839
- {
840
- "style": {
841
- "position": "absolute",
842
- },
843
- }
844
- `;
845
-
846
- exports[`styles position: fixed 1`] = `
847
- {
848
- "style": {
849
- "position": "absolute",
850
- },
851
- }
852
- `;
853
-
854
- exports[`styles position: relative 1`] = `
855
- {
856
- "style": {
857
- "position": "relative",
858
- },
859
- }
860
- `;
861
-
862
- exports[`styles position: static 1`] = `
863
- {
864
- "style": {
865
- "position": "relative",
866
- },
867
- }
868
- `;
869
-
870
- exports[`styles position: sticky 1`] = `
871
- {
872
- "style": {
873
- "position": "relative",
874
- },
875
- }
876
- `;
877
-
878
- exports[`styles text-shadow 1`] = `
879
- {
880
- "style": {
881
- "textShadowColor": "red",
882
- "textShadowOffset": {
883
- "height": 2,
884
- "width": 1,
885
- },
886
- "textShadowRadius": 3,
887
- },
888
- }
889
- `;
890
-
891
- exports[`styles text-shadow 2`] = `
892
- {
893
- "style": {
894
- "textShadowColor": "red",
895
- "textShadowOffset": {
896
- "height": 2,
897
- "width": 1,
898
- },
899
- "textShadowRadius": 3,
900
- },
901
- }
902
- `;
903
-
904
- exports[`styles transform: matrix 1`] = `
905
- {
906
- "style": {
907
- "transform": "matrix(0.1, 1, -0.3, 1, 0, 0)",
908
- },
909
- }
910
- `;
911
-
912
- exports[`styles transform: mixed 1`] = `
913
- {
914
- "style": {
915
- "transform": "
916
- rotateX(1deg) rotateY(2deg) rotateZ(3deg) rotate3d(1deg, 2deg, 3deg)
917
- scale(1) scaleX(2) scaleY(3) scaleZ(4) scale3d(1,2,3)
918
- translateX(1px) translateY(1em) translateZ(1rem) translate3d(1px, 1em, 1rem)
919
- ",
920
- },
921
- }
922
- `;
923
-
924
- exports[`styles transform: none 1`] = `
925
- {
926
- "style": {
927
- "transform": "none",
928
- },
929
- }
930
- `;
931
-
932
- exports[`styles transform: perspective 1`] = `
933
- {
934
- "style": {
935
- "transform": "perspective(10px)",
936
- },
937
- }
938
- `;
939
-
940
- exports[`styles transform: rotate 1`] = `
941
- {
942
- "style": {
943
- "transform": "rotate(10deg) rotateX(20deg) rotateY(30deg) rotateZ(40deg) rotate3d(0, 0.5, 1, 90deg)",
944
- },
945
- }
946
- `;
947
-
948
- exports[`styles transform: rotate 2`] = `
949
- {
950
- "style": {
951
- "transform": "rotate(10deg) rotateX(20deg) rotateY(30deg) rotateZ(40deg) rotate3d(0, 0.5, 1, 90deg)",
952
- },
953
- }
954
- `;
955
-
956
- exports[`styles transform: scale 1`] = `
957
- {
958
- "style": {
959
- "transform": "scale(1, 2) scaleX(1) scaleY(2) scaleZ(3) scale3d(1, 2, 3)",
960
- },
961
- }
962
- `;
963
-
964
- exports[`styles transform: skew 1`] = `
965
- {
966
- "style": {
967
- "transform": "skew(10deg, 15deg) skewX(20deg) skewY(30deg)",
968
- },
969
- }
970
- `;
971
-
972
- exports[`styles transform: translate 1`] = `
973
- {
974
- "style": {
975
- "transform": "translate(10px, 20px) translateX(11px) translateY(12px) translateZ(13px) translate3d(20px, 30px, 40px)",
976
- },
977
- }
978
- `;
979
-
980
- exports[`styles transition-delay 1`] = `
981
- {
982
- "style": {
983
- "transitionDelay": 300,
984
- },
985
- }
986
- `;
987
-
988
- exports[`styles transition-duration 1`] = `
989
- {
990
- "style": {
991
- "transitionDuration": 500,
992
- },
993
- }
994
- `;
995
-
996
- exports[`styles user-select 1`] = `
997
- {
998
- "style": {
999
- "userSelect": "none",
1000
- },
1001
- }
1002
- `;
1003
-
1004
- exports[`styles vertical-align: middle 1`] = `
1005
- {
1006
- "style": {
1007
- "verticalAlign": "middle",
1008
- },
1009
- }
1010
- `;
1011
-
1012
- exports[`styles vertical-align: top 1`] = `
1013
- {
1014
- "style": {
1015
- "verticalAlign": "top",
1016
- },
1017
- }
1018
- `;
1019
-
1020
- exports[`unsupported style properties "filter" 1`] = `{}`;
1021
-
1022
- exports[`unsupported style properties "marginEnd" 1`] = `{}`;
1023
-
1024
- exports[`unsupported style properties "marginHorizontal" 1`] = `{}`;
1025
-
1026
- exports[`unsupported style properties "marginStart" 1`] = `{}`;
1027
-
1028
- exports[`unsupported style properties "marginVertical" 1`] = `{}`;
1029
-
1030
- exports[`unsupported style properties "paddingHorizontal" 1`] = `{}`;
1031
-
1032
- exports[`unsupported style properties "paddingVertical" 1`] = `{}`;
1033
-
1034
- exports[`unsupported style properties "transitionProperty" passthrough 1`] = `
1035
- {
1036
- "style": {
1037
- "transitionProperty": "opacity",
1038
- },
1039
- }
1040
- `;
1041
-
1042
- exports[`unsupported style values calc 1`] = `{}`;
1043
-
1044
- exports[`unsupported style values inherit 1`] = `{}`;
1045
-
1046
- exports[`unsupported style values initial 1`] = `{}`;