@@ -400,7 +400,7 @@ exports[`non-styled: shallow 1`] = `<div />`;
400
400
exports [` null 1` ] = ` null` ;
401
401
402
402
exports [` referring to other components: mount 1` ] = `
403
- .c0 {
403
+ .c1 {
404
404
display : - webkit - box ;
405
405
display : - webkit - flex ;
406
406
display : - ms - flexbox ;
@@ -414,18 +414,18 @@ exports[`referring to other components: mount 1`] = `
414
414
color : palevioletred ;
415
415
}
416
416
417
- .c1 {
417
+ .c2 {
418
418
- webkit - transition : fill 0.25s ;
419
419
transition : fill 0.25s ;
420
420
width : 48px ;
421
421
height : 48px ;
422
422
}
423
423
424
- .c0:hover .c1 {
424
+ .c0:hover .c2 {
425
425
fill : rebeccapurple ;
426
426
}
427
427
428
- .c2 {
428
+ .c3 {
429
429
display : - webkit - box ;
430
430
display : - webkit - flex ;
431
431
display : - ms - flexbox ;
@@ -437,17 +437,17 @@ exports[`referring to other components: mount 1`] = `
437
437
line - height : 1.2 ;
438
438
}
439
439
440
- .c2 ::before {
440
+ .c3 ::before {
441
441
content : ' ◀' ;
442
442
margin : 0 10px ;
443
443
}
444
444
445
- .sc-fzXfLU .c3 {
445
+ .sc-fzXfLU .c4 {
446
446
color : yellow ;
447
447
background - color : green ;
448
448
}
449
449
450
- .sc-fzXfLU .c4 {
450
+ .sc-fzXfLU .c5 {
451
451
color : yellow ;
452
452
background - color : red ;
453
453
}
@@ -456,24 +456,24 @@ exports[`referring to other components: mount 1`] = `
456
456
href = " #"
457
457
>
458
458
<a
459
- className = " c0"
459
+ className = " c0 c1 "
460
460
href = " #"
461
461
>
462
462
<styled.svg >
463
463
<svg
464
- className = " c1 "
464
+ className = " c2 "
465
465
/>
466
466
</styled.svg >
467
467
<styled.span >
468
468
<span
469
- className = " c2 "
469
+ className = " c3 "
470
470
>
471
471
Hovering my parent changes my style!
472
472
</span >
473
473
</styled.span >
474
474
<styled.span >
475
475
<span
476
- className = " c3 "
476
+ className = " c4 "
477
477
>
478
478
I should be green
479
479
</span >
@@ -482,7 +482,7 @@ exports[`referring to other components: mount 1`] = `
482
482
error = { true }
483
483
>
484
484
<span
485
- className = " c4 "
485
+ className = " c5 "
486
486
>
487
487
I should be red
488
488
</span >
@@ -492,7 +492,7 @@ exports[`referring to other components: mount 1`] = `
492
492
` ;
493
493
494
494
exports [` referring to other components: react-test-renderer 1` ] = `
495
- .c0 {
495
+ .c1 {
496
496
display : - webkit - box ;
497
497
display : - webkit - flex ;
498
498
display : - ms - flexbox ;
@@ -506,18 +506,18 @@ exports[`referring to other components: react-test-renderer 1`] = `
506
506
color : palevioletred ;
507
507
}
508
508
509
- .c1 {
509
+ .c2 {
510
510
- webkit - transition : fill 0.25s ;
511
511
transition : fill 0.25s ;
512
512
width : 48px ;
513
513
height : 48px ;
514
514
}
515
515
516
- .c0:hover .c1 {
516
+ .c0:hover .c2 {
517
517
fill : rebeccapurple ;
518
518
}
519
519
520
- .c2 {
520
+ .c3 {
521
521
display : - webkit - box ;
522
522
display : - webkit - flex ;
523
523
display : - ms - flexbox ;
@@ -529,48 +529,48 @@ exports[`referring to other components: react-test-renderer 1`] = `
529
529
line - height : 1.2 ;
530
530
}
531
531
532
- .c2 ::before {
532
+ .c3 ::before {
533
533
content : ' ◀' ;
534
534
margin : 0 10px ;
535
535
}
536
536
537
- .sc-fzXfLU .c3 {
537
+ .sc-fzXfLU .c4 {
538
538
color : yellow ;
539
539
background - color : green ;
540
540
}
541
541
542
- .sc-fzXfLU .c4 {
542
+ .sc-fzXfLU .c5 {
543
543
color : yellow ;
544
544
background - color : red ;
545
545
}
546
546
547
547
<a
548
- className = " c0"
548
+ className = " c0 c1 "
549
549
href = " #"
550
550
>
551
551
<svg
552
- className = " c1 "
552
+ className = " c2 "
553
553
/>
554
554
<span
555
- className = " c2 "
555
+ className = " c3 "
556
556
>
557
557
Hovering my parent changes my style!
558
558
</span >
559
559
<span
560
- className = " c3 "
560
+ className = " c4 "
561
561
>
562
562
I should be green
563
563
</span >
564
564
<span
565
- className = " c4 "
565
+ className = " c5 "
566
566
>
567
567
I should be red
568
568
</span >
569
569
</a >
570
570
` ;
571
571
572
572
exports [` referring to other components: react-testing-library 1` ] = `
573
- .c0 {
573
+ .c1 {
574
574
display : - webkit - box ;
575
575
display : - webkit - flex ;
576
576
display : - ms - flexbox ;
@@ -584,18 +584,18 @@ exports[`referring to other components: react-testing-library 1`] = `
584
584
color : palevioletred ;
585
585
}
586
586
587
- .c1 {
587
+ .c2 {
588
588
- webkit - transition : fill 0.25s ;
589
589
transition : fill 0.25s ;
590
590
width : 48px ;
591
591
height : 48px ;
592
592
}
593
593
594
- .c0:hover .c1 {
594
+ .c0:hover .c2 {
595
595
fill : rebeccapurple ;
596
596
}
597
597
598
- .c2 {
598
+ .c3 {
599
599
display : - webkit - box ;
600
600
display : - webkit - flex ;
601
601
display : - ms - flexbox ;
@@ -607,40 +607,40 @@ exports[`referring to other components: react-testing-library 1`] = `
607
607
line - height : 1.2 ;
608
608
}
609
609
610
- .c2 ::before {
610
+ .c3 ::before {
611
611
content : ' ◀' ;
612
612
margin : 0 10px ;
613
613
}
614
614
615
- .sc-fzXfLU .c3 {
615
+ .sc-fzXfLU .c4 {
616
616
color : yellow ;
617
617
background - color : green ;
618
618
}
619
619
620
- .sc-fzXfLU .c4 {
620
+ .sc-fzXfLU .c5 {
621
621
color : yellow ;
622
622
background - color : red ;
623
623
}
624
624
625
625
<a
626
- class = " c0"
626
+ class = " c0 c1 "
627
627
href = " #"
628
628
>
629
629
<svg
630
- class = " c1 "
630
+ class = " c2 "
631
631
/>
632
632
<span
633
- class = " c2 "
633
+ class = " c3 "
634
634
>
635
635
Hovering my parent changes my style!
636
636
</span >
637
637
<span
638
- class = " c3 "
638
+ class = " c4 "
639
639
>
640
640
I should be green
641
641
</span >
642
642
<span
643
- class = " c4 "
643
+ class = " c5 "
644
644
>
645
645
I should be red
646
646
</span >
0 commit comments