Skip to content

Commit ea3fe6e

Browse files
committed
update snapshots
1 parent 1428f47 commit ea3fe6e

18 files changed

+35
-650
lines changed

packages/cache/__tests__/__snapshots__/index.js.snap

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
exports[`should accept container option 1`] = `
44
.emotion-0 {
5-
display: -webkit-box;
6-
display: -webkit-flex;
7-
display: -ms-flexbox;
85
display: flex;
96
color: blue;
107
}
@@ -22,7 +19,7 @@ exports[`should accept container option 1`] = `
2219
data-s=""
2320
>
2421
25-
.emotion-0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:blue;}
22+
.emotion-0{display:flex;color:blue;}
2623
</style>
2724
</div>
2825
<div>
@@ -45,7 +42,7 @@ exports[`should accept insertionPoint option 1`] = `
4542
data-s=""
4643
>
4744
48-
.test-insertion-point-83n355{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:blue;}
45+
.test-insertion-point-83n355{display:flex;color:blue;}
4946
</style>
5047
5148

packages/css/test/__snapshots__/css.test.js.snap

-69
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ exports[`css array fallback 1`] = `
2525

2626
exports[`css array with explicit false 1`] = `
2727
.emotion-0 {
28-
display: -webkit-box;
29-
display: -webkit-flex;
30-
display: -ms-flexbox;
3128
display: flex;
3229
}
3330
@@ -38,9 +35,6 @@ exports[`css array with explicit false 1`] = `
3835

3936
exports[`css array with explicit true 1`] = `
4037
.emotion-0 {
41-
display: -webkit-box;
42-
display: -webkit-flex;
43-
display: -ms-flexbox;
4438
display: flex;
4539
}
4640
@@ -51,12 +45,7 @@ exports[`css array with explicit true 1`] = `
5145

5246
exports[`css auto px 1`] = `
5347
.emotion-0 {
54-
display: -webkit-box;
55-
display: -webkit-flex;
56-
display: -ms-flexbox;
5748
display: flex;
58-
-webkit-flex: 1;
59-
-ms-flex: 1;
6049
flex: 1;
6150
font-size: 10px;
6251
--custom: 5;
@@ -69,9 +58,6 @@ exports[`css auto px 1`] = `
6958

7059
exports[`css boolean as value 1`] = `
7160
.emotion-0 {
72-
display: -webkit-box;
73-
display: -webkit-flex;
74-
display: -ms-flexbox;
7561
display: flex;
7662
}
7763
@@ -82,9 +68,6 @@ exports[`css boolean as value 1`] = `
8268

8369
exports[`css composition stuff 1`] = `
8470
.emotion-0 {
85-
-webkit-box-pack: center;
86-
-ms-flex-pack: center;
87-
-webkit-justify-content: center;
8871
justify-content: center;
8972
}
9073
@@ -95,9 +78,6 @@ exports[`css composition stuff 1`] = `
9578

9679
exports[`css composition stuff 2`] = `
9780
.emotion-0 {
98-
-webkit-box-pack: center;
99-
-ms-flex-pack: center;
100-
-webkit-justify-content: center;
10181
justify-content: center;
10282
}
10383
@@ -108,15 +88,9 @@ exports[`css composition stuff 2`] = `
10888

10989
exports[`css composition with objects 1`] = `
11090
.emotion-0 {
111-
display: -webkit-box;
112-
display: -webkit-flex;
113-
display: -ms-flexbox;
11491
display: flex;
11592
width: 30px;
11693
height: calc(40vw - 50px);
117-
-webkit-box-pack: center;
118-
-ms-flex-pack: center;
119-
-webkit-justify-content: center;
12094
justify-content: center;
12195
}
12296
@@ -164,9 +138,6 @@ exports[`css css variables 1`] = `
164138

165139
exports[`css explicit & 1`] = `
166140
.emotion-0.another-class {
167-
display: -webkit-box;
168-
display: -webkit-flex;
169-
display: -ms-flexbox;
170141
display: flex;
171142
}
172143
@@ -177,9 +148,6 @@ exports[`css explicit & 1`] = `
177148

178149
exports[`css explicit & 2`] = `
179150
".css-5v9d41-cls1.another-class {
180-
display: -webkit-box;
181-
display: -webkit-flex;
182-
display: -ms-flexbox;
183151
display: flex;
184152
}"
185153
`;
@@ -192,9 +160,6 @@ exports[`css explicit false 1`] = `
192160

193161
exports[`css falsy property value in object 1`] = `
194162
.emotion-0 {
195-
display: -webkit-box;
196-
display: -webkit-flex;
197-
display: -ms-flexbox;
198163
display: flex;
199164
}
200165
@@ -225,9 +190,6 @@ exports[`css float property 1`] = `
225190

226191
exports[`css flushes correctly 1`] = `
227192
.emotion-0 {
228-
display: -webkit-box;
229-
display: -webkit-flex;
230-
display: -ms-flexbox;
231193
display: flex;
232194
}
233195
@@ -255,7 +217,6 @@ exports[`css handles array of objects 1`] = `
255217

256218
exports[`css handles more than 10 dynamic properties 1`] = `
257219
.emotion-0 {
258-
-webkit-text-decoration: underline;
259220
text-decoration: underline;
260221
border-right: solid blue 54px;
261222
background: white;
@@ -277,9 +238,6 @@ exports[`css handles more than 10 dynamic properties 1`] = `
277238
exports[`css handles objects 1`] = `
278239
.emotion-0 {
279240
float: left;
280-
display: -webkit-box;
281-
display: -webkit-flex;
282-
display: -ms-flexbox;
283241
display: flex;
284242
color: blue;
285243
font-size: 20px;
@@ -369,9 +327,6 @@ exports[`css nested 1`] = `
369327
}
370328
371329
.emotion-0 .some-class {
372-
display: -webkit-box;
373-
display: -webkit-flex;
374-
display: -ms-flexbox;
375330
display: flex;
376331
}
377332
@@ -403,9 +358,6 @@ exports[`css nested array 1`] = `
403358
display: inline;
404359
display: inline-block;
405360
display: block;
406-
display: -webkit-box;
407-
display: -webkit-flex;
408-
display: -ms-flexbox;
409361
display: flex;
410362
display: table;
411363
color: darkorchid;
@@ -447,9 +399,6 @@ exports[`css nested at rules 1`] = `
447399
448400
@supports (display: flex) {
449401
.emotion-0 {
450-
display: -webkit-box;
451-
display: -webkit-flex;
452-
display: -ms-flexbox;
453402
display: flex;
454403
}
455404
}
@@ -506,9 +455,6 @@ exports[`css random expression 1`] = `
506455

507456
exports[`css random interpolation with undefined values 1`] = `
508457
.emotion-0 {
509-
-webkit-box-pack: center;
510-
-ms-flex-pack: center;
511-
-webkit-justify-content: center;
512458
justify-content: center;
513459
}
514460
@@ -519,9 +465,6 @@ exports[`css random interpolation with undefined values 1`] = `
519465

520466
exports[`css registered styles as nested selector value in object 1`] = `
521467
.emotion-0:hover {
522-
display: -webkit-box;
523-
display: -webkit-flex;
524-
display: -ms-flexbox;
525468
display: flex;
526469
background-color: hotpink;
527470
}
@@ -549,13 +492,7 @@ exports[`css rule after media query 1`] = `
549492

550493
exports[`css simple composition 1`] = `
551494
.emotion-0 {
552-
display: -webkit-box;
553-
display: -webkit-flex;
554-
display: -ms-flexbox;
555495
display: flex;
556-
-webkit-box-pack: center;
557-
-ms-flex-pack: center;
558-
-webkit-justify-content: center;
559496
justify-content: center;
560497
}
561498
@@ -570,9 +507,6 @@ exports[`css simple composition 1`] = `
570507

571508
exports[`css weakmap 1`] = `
572509
.emotion-0 {
573-
display: -webkit-box;
574-
display: -webkit-flex;
575-
display: -ms-flexbox;
576510
display: flex;
577511
}
578512
@@ -583,9 +517,6 @@ exports[`css weakmap 1`] = `
583517

584518
exports[`css weakmap 2`] = `
585519
.emotion-0 {
586-
display: -webkit-box;
587-
display: -webkit-flex;
588-
display: -ms-flexbox;
589520
display: flex;
590521
}
591522

packages/css/test/__snapshots__/inject-global.test.js.snap

-9
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ exports[`injectGlobal interpolated value 1`] = `
2121
exports[`injectGlobal nested interpolated media query 1`] = `
2222
"@media (max-width: 600px) {
2323
body {
24-
display: -webkit-box;
25-
display: -webkit-flex;
26-
display: -ms-flexbox;
2724
display: flex;
2825
}
2926
}"
@@ -39,16 +36,10 @@ exports[`injectGlobal pseudo in @media 1`] = `
3936

4037
exports[`injectGlobal random interpolation 1`] = `
4138
".css-1002tid-cls {
42-
display: -webkit-box;
43-
display: -webkit-flex;
44-
display: -ms-flexbox;
4539
display: flex;
4640
}
4741
4842
body {
49-
display: -webkit-box;
50-
display: -webkit-flex;
51-
display: -ms-flexbox;
5243
display: flex;
5344
}"
5445
`;

packages/css/test/__snapshots__/keyframes.test.js.snap

-23
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,15 @@
33
exports[`keyframes keyframes with interpolation 1`] = `
44
@keyframes animation-0 {
55
from {
6-
-webkit-transform: rotate(0deg);
7-
-moz-transform: rotate(0deg);
8-
-ms-transform: rotate(0deg);
96
transform: rotate(0deg);
107
}
118
129
to {
13-
-webkit-transform: rotate(360deg);
14-
-moz-transform: rotate(360deg);
15-
-ms-transform: rotate(360deg);
1610
transform: rotate(360deg);
1711
}
1812
}
1913
2014
.emotion-0 {
21-
-webkit-animation: animation-0 2s linear infinite;
2215
animation: animation-0 2s linear infinite;
2316
}
2417
@@ -32,42 +25,26 @@ exports[`keyframes keyframes with interpolation 1`] = `
3225
exports[`keyframes renders 1`] = `
3326
@keyframes animation-0 {
3427
from, 20%, 53%, 80%, to {
35-
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
3628
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
37-
-webkit-transform: translate3d(0,0,0);
38-
-moz-transform: translate3d(0,0,0);
39-
-ms-transform: translate3d(0,0,0);
4029
transform: translate3d(0,0,0);
4130
}
4231
4332
40%, 43% {
44-
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
4533
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
46-
-webkit-transform: translate3d(0, -30px, 0);
47-
-moz-transform: translate3d(0, -30px, 0);
48-
-ms-transform: translate3d(0, -30px, 0);
4934
transform: translate3d(0, -30px, 0);
5035
}
5136
5237
70% {
53-
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
5438
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
55-
-webkit-transform: translate3d(0, -15px, 0);
56-
-moz-transform: translate3d(0, -15px, 0);
57-
-ms-transform: translate3d(0, -15px, 0);
5839
transform: translate3d(0, -15px, 0);
5940
}
6041
6142
90% {
62-
-webkit-transform: translate3d(0,-4px,0);
63-
-moz-transform: translate3d(0,-4px,0);
64-
-ms-transform: translate3d(0,-4px,0);
6543
transform: translate3d(0,-4px,0);
6644
}
6745
}
6846
6947
.emotion-0 {
70-
-webkit-animation: animation-0 2s linear infinite;
7148
animation: animation-0 2s linear infinite;
7249
}
7350

0 commit comments

Comments
 (0)