@comicrelief/component-library 8.77.0 → 8.77.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.
@@ -393,7 +393,7 @@ exports[`renders the customised padding version correctly:
393
393
  line-height: inherit;
394
394
  }
395
395
 
396
- .c10 {
396
+ .c11 {
397
397
  font-family: 'Anton',Impact,sans-serif;
398
398
  font-weight: 400;
399
399
  text-transform: uppercase;
@@ -402,16 +402,16 @@ exports[`renders the customised padding version correctly:
402
402
  line-height: 2rem;
403
403
  }
404
404
 
405
- .c10 {
405
+ .c11 {
406
406
  font-family: 'Anton',Impact,sans-serif;
407
407
  }
408
408
 
409
- .c10 span {
409
+ .c11 span {
410
410
  font-size: inherit;
411
411
  line-height: inherit;
412
412
  }
413
413
 
414
- .c8 {
414
+ .c9 {
415
415
  width: 45%;
416
416
  display: block;
417
417
  padding: 9%;
@@ -421,13 +421,13 @@ exports[`renders the customised padding version correctly:
421
421
  overflow: visible;
422
422
  }
423
423
 
424
- .c8 img {
424
+ .c9 img {
425
425
  width: 100%;
426
426
  height: auto;
427
427
  display: block;
428
428
  }
429
429
 
430
- .c8:after {
430
+ .c9:after {
431
431
  position: absolute;
432
432
  content: '';
433
433
  top: 50%;
@@ -437,22 +437,22 @@ exports[`renders the customised padding version correctly:
437
437
  border-bottom: 2px dashed #89888b;
438
438
  }
439
439
 
440
- .c9 {
440
+ .c10 {
441
441
  padding: 1.5rem 0 0.75rem;
442
442
  }
443
443
 
444
- .c9 h1 {
444
+ .c10 h1 {
445
445
  font-size: 34px;
446
446
  line-height: 37px;
447
447
  }
448
448
 
449
- .c11 {
449
+ .c12 {
450
450
  padding: 0;
451
451
  width: 75%;
452
452
  margin: 0 auto;
453
453
  }
454
454
 
455
- .c11 p {
455
+ .c12 p {
456
456
  font-size: 1rem;
457
457
  line-height: 1.5rem;
458
458
  }
@@ -493,28 +493,37 @@ exports[`renders the customised padding version correctly:
493
493
  box-shadow: rgba(0,0,0,0.15) 0px 0px 1rem;
494
494
  }
495
495
 
496
- .c1 .carousel {
496
+ .c1 .splide {
497
497
  position: relative;
498
498
  margin: 0 auto;
499
499
  padding-top: 2rem;
500
500
  }
501
501
 
502
- .c1 .carousel button.carousel__back-button,
503
- .c1 .carousel button.carousel__next-button {
502
+ .c1 .splide .splide__arrows {
503
+ width: 100%;
504
+ position: absolute;
505
+ top: 0;
506
+ left: 0;
507
+ height: 100%;
508
+ width: 100%;
509
+ }
510
+
511
+ .c1 .splide button.splide__arrow {
504
512
  position: absolute;
505
513
  left: 0;
506
514
  top: 0;
507
- width: 33%!important;
515
+ width: 33.3%;
508
516
  height: 100%;
509
- padding: 0!important;
517
+ padding: 0;
510
518
  box-shadow: none;
511
519
  text-indent: -9999px;
512
520
  background-color: transparent;
513
- border: none;
521
+ transform: none;
522
+ border-radius: 0;
523
+ opacity: 1;
514
524
  }
515
525
 
516
- .c1 .carousel button.carousel__back-button:after,
517
- .c1 .carousel button.carousel__next-button:after {
526
+ .c1 .splide button.splide__arrow:after {
518
527
  content: "";
519
528
  position: absolute;
520
529
  top: 0;
@@ -525,48 +534,42 @@ exports[`renders the customised padding version correctly:
525
534
  background: linear-gradient(90deg,rgba(255,255,255,1),rgba(255,255,255,0.5),rgba(255,255,255,0));
526
535
  }
527
536
 
528
- .c1 .carousel button.carousel__back-button:hover:after,
529
- .c1 .carousel button.carousel__next-button:hover:after {
530
- opacity: 0.5;
537
+ .c1 .splide button.splide__arrow.splide__arrow--next {
538
+ left: auto;
539
+ right: 0;
531
540
  }
532
541
 
533
- .c1 .carousel button.carousel__next-button {
542
+ .c1 .splide button.splide__arrow.splide__arrow--next:after {
534
543
  left: auto;
535
544
  right: 0;
545
+ background: linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,0.5),rgba(255,255,255,1));
536
546
  }
537
547
 
538
- .c1 .carousel button.carousel__next-button:before {
539
- transform: translate(0,-50%) rotate(-90deg);
548
+ .c1 .splide button.splide__arrow:hover:after {
549
+ opacity: 0.5;
540
550
  }
541
551
 
542
- .c1 .carousel button.carousel__next-button:after {
543
- left: auto;
544
- right: 0;
545
- background: linear-gradient(270deg,rgba(255,255,255,1),rgba(255,255,255,0.5),rgba(255,255,255,0));
552
+ .c1 .splide button.splide__arrow svg {
553
+ display: none;
546
554
  }
547
555
 
548
- .c1 .carousel .wymd-carousel {
549
- transition: -webkit-transform 0.75s;
550
- -o-transition: transform 0.75s;
551
- transition: transform 0.75s;
552
- -webkit-transform: 0.75s;
553
- will-change: transform;
556
+ .c1 .splide button.carousel__next-button {
557
+ left: auto;
558
+ right: 0;
554
559
  }
555
560
 
556
- .c1 .carousel .wymd-carousel .last-slide .image-wrapper:after {
557
- content: none;
561
+ .c1 .splide button.carousel__next-button:after {
562
+ left: auto;
563
+ right: 0;
564
+ background: linear-gradient(270deg,rgba(255,255,255,1),rgba(255,255,255,0.5),rgba(255,255,255,0));
558
565
  }
559
566
 
560
- .c1 .carousel .wymd-carousel .carousel__slide {
561
- padding-bottom: 425px!important;
567
+ .c1 .splide.wymd-carousel .splide__slide {
568
+ height: 425px;
562
569
  }
563
570
 
564
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide {
565
- text-align: center;
566
- display: inline-flex;
567
- align-items: center;
568
- justify-content: flex-start;
569
- flex-direction: column;
571
+ .c1 .splide.wymd-carousel .splide__slide.last-slide .c8:after {
572
+ content: none;
570
573
  }
571
574
 
572
575
  .c0 {
@@ -617,33 +620,33 @@ exports[`renders the customised padding version correctly:
617
620
  }
618
621
 
619
622
  @media (min-width: 740px) {
620
- .c10 {
623
+ .c11 {
621
624
  font-size: 2.5rem;
622
625
  line-height: 2.5rem;
623
626
  }
624
627
  }
625
628
 
626
629
  @media (min-width: 1024px) {
627
- .c10 {
630
+ .c11 {
628
631
  font-size: 3rem;
629
632
  line-height: 3rem;
630
633
  }
631
634
  }
632
635
 
633
636
  @media (min-width: 1024px) {
634
- .c8 {
637
+ .c9 {
635
638
  width: 50%;
636
639
  padding: 9%;
637
640
  }
638
641
 
639
- .c8:after {
642
+ .c9:after {
640
643
  width: 100%;
641
644
  right: calc(-100% - 8px);
642
645
  }
643
646
  }
644
647
 
645
648
  @media (min-width: 740px) {
646
- .c9 h1 {
649
+ .c10 h1 {
647
650
  font-size: 40px;
648
651
  line-height: 40px;
649
652
  }
@@ -678,99 +681,26 @@ exports[`renders the customised padding version correctly:
678
681
  }
679
682
 
680
683
  @media (min-width: 1024px) {
681
- .c1 .carousel {
684
+ .c1 .splide {
682
685
  padding-top: 2rem;
683
686
  }
684
687
  }
685
688
 
686
689
  @media (min-width: 740px) {
687
- .c1 .carousel button.carousel__back-button,
688
- .c1 .carousel button.carousel__next-button {
689
- width: 33.3%!important;
690
- }
691
-
692
- .c1 .carousel button.carousel__back-button:after,
693
- .c1 .carousel button.carousel__next-button:after {
690
+ .c1 .splide button.splide__arrow:after {
694
691
  width: 100%;
695
692
  }
696
693
  }
697
694
 
698
695
  @media (min-width: 740px) {
699
- .c1 .carousel .wymd-carousel .carousel__slide {
700
- padding-bottom: 450px!important;
701
- }
702
-
703
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide >div:first-child {
704
- transition: transform 0.75s ease;
705
- transform: scale(0.5);
706
- }
707
-
708
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide >div:first-child:after {
709
- transition: transform 0.75s ease,width 0.75s ease,right 0.75s ease;
710
- right: calc(-300% - 6px);
711
- transform: scale(1);
712
- width: 300%;
713
- }
714
-
715
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide .all-text-wrapper {
716
- transition: transform 0.75s ease;
717
- transform-origin: top;
718
- transform: translateY(calc(-45px + 5%)) scale(0.5);
719
- }
720
-
721
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
722
- right: calc(-300% - 6px);
723
- transform: scale(1);
724
- width: 300%;
725
- }
726
-
727
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child {
728
- transform: scale(1);
729
- }
730
-
731
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
732
- right: calc(-222% - 6px);
733
- transform: scale(0.5);
734
- width: 300%;
735
- }
736
-
737
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .all-text-wrapper {
738
- transform: translateY(0) scale(1);
739
- }
740
-
741
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible >div>div:first-child {
742
- transform: scale(0.5);
743
- }
744
-
745
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible >div>div:first-child:after {
746
- right: calc(-300% - 6px);
747
- transform: scale(1);
748
- width: 300%;
749
- }
750
-
751
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible .all-text-wrapper {
752
- transform: translateY(calc(-45px + 5%)) scale(0.5);
696
+ .c1 .splide.wymd-carousel .splide__slide {
697
+ height: 450px;
753
698
  }
754
699
  }
755
700
 
756
701
  @media (min-width: 1024px) {
757
- .c1 .carousel .wymd-carousel .carousel__slide {
758
- padding-bottom: 475px!important;
759
- }
760
-
761
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
762
- right: calc(-250% - 6px);
763
- width: 250%;
764
- }
765
-
766
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
767
- right: calc(-187% - 6px);
768
- width: 250%;
769
- }
770
-
771
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
772
- right: calc(-250% - 6px);
773
- width: 250%;
702
+ .c1 .splide.wymd-carousel .splide__slide {
703
+ height: 475px;
774
704
  }
775
705
  }
776
706
 
@@ -797,545 +727,376 @@ exports[`renders the customised padding version correctly:
797
727
  including...
798
728
  </p>
799
729
  <div
800
- className="carousel"
730
+ className="splide wymd-carousel"
801
731
  >
802
732
  <div
803
- aria-label="slider"
804
- aria-live="polite"
805
- className="horizontalSlider___281Ls carousel__slider carousel__slider--horizontal"
806
- onKeyDown={[Function]}
807
- role="listbox"
808
- style={{}}
733
+ className="splide__track"
809
734
  >
810
- <div
811
- className="carousel__slider-tray-wrapper carousel__slider-tray-wrap--horizontal"
812
- style={{}}
735
+ <ul
736
+ className="splide__list"
813
737
  >
814
- <div
815
- className="sliderTray___-vHFQ wymd-carousel carousel__slider-tray carousel__slider-tray--horizontal"
816
- onClickCapture={[Function]}
817
- onMouseDown={[Function]}
818
- onTouchCancel={[Function]}
819
- onTouchEnd={[Function]}
820
- onTouchMove={[Function]}
821
- onTouchStart={[Function]}
822
- style={
823
- {
824
- "flexDirection": "row",
825
- "transform": "translateX(0%) translateX(0px)",
826
- "width": "366.6666666666667%",
827
- }
828
- }
738
+ <li
739
+ className="splide__slide"
740
+ data-index={0}
741
+ index={0}
829
742
  >
830
743
  <div
831
- aria-label="slide"
832
- aria-selected={true}
833
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--visible"
834
- onBlur={[Function]}
835
- onFocus={[Function]}
836
- role="option"
837
- style={
838
- {
839
- "paddingBottom": "36.36363636363637%",
840
- "width": "9.090909090909092%",
841
- }
842
- }
744
+ className=""
843
745
  >
844
746
  <div
845
- className="slideInner___2mfX9 carousel__inner-slide"
846
- style={{}}
847
- />
848
- </div>
849
- <div
850
- aria-label="slide"
851
- aria-selected={true}
852
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--visible"
853
- onBlur={[Function]}
854
- onFocus={[Function]}
855
- role="option"
856
- style={
857
- {
858
- "paddingBottom": "36.36363636363637%",
859
- "width": "9.090909090909092%",
860
- }
861
- }
862
- >
747
+ className="c8 c9 image-wrapper"
748
+ >
749
+ <img
750
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
751
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
752
+ />
753
+ </div>
863
754
  <div
864
- className="slideInner___2mfX9 carousel__inner-slide"
865
- style={{}}
755
+ className=""
866
756
  >
867
757
  <div
868
- className="c8 image-wrapper"
758
+ className="c10"
869
759
  >
870
- <img
871
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
872
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
873
- />
760
+ <h1
761
+ className="c11"
762
+ >
763
+ 1,000
764
+ </h1>
874
765
  </div>
875
766
  <div
876
- className="all-text-wrapper"
767
+ className="c12"
877
768
  >
878
- <div
879
- className="c9"
880
- >
881
- <h1
882
- className="c10"
883
- >
884
- 1,000
885
- </h1>
886
- </div>
887
- <div
888
- className="c11"
769
+ <p
770
+ className="c6"
889
771
  >
890
- <p
891
- className="c6"
892
- >
893
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
894
- </p>
895
- </div>
772
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
773
+ </p>
896
774
  </div>
897
775
  </div>
898
776
  </div>
777
+ </li>
778
+ <li
779
+ className="splide__slide"
780
+ data-index={1}
781
+ index={1}
782
+ >
899
783
  <div
900
- aria-label="slide"
901
- aria-selected={true}
902
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--visible"
903
- onBlur={[Function]}
904
- onFocus={[Function]}
905
- role="option"
906
- style={
907
- {
908
- "paddingBottom": "36.36363636363637%",
909
- "width": "9.090909090909092%",
910
- }
911
- }
784
+ className=""
912
785
  >
913
786
  <div
914
- className="slideInner___2mfX9 carousel__inner-slide"
915
- style={{}}
787
+ className="c8 c9 image-wrapper"
788
+ >
789
+ <img
790
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
791
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
792
+ />
793
+ </div>
794
+ <div
795
+ className=""
916
796
  >
917
797
  <div
918
- className="c8 image-wrapper"
798
+ className="c10"
919
799
  >
920
- <img
921
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
922
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
923
- />
800
+ <h1
801
+ className="c11"
802
+ >
803
+ 750,000
804
+ </h1>
924
805
  </div>
925
806
  <div
926
- className="all-text-wrapper"
807
+ className="c12"
927
808
  >
928
- <div
929
- className="c9"
809
+ <p
810
+ className="c6"
930
811
  >
931
- <h1
932
- className="c10"
933
- >
934
- 750,000
935
- </h1>
936
- </div>
937
- <div
938
- className="c11"
939
- >
940
- <p
941
- className="c6"
942
- >
943
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
944
- </p>
945
- </div>
812
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
813
+ </p>
946
814
  </div>
947
815
  </div>
948
816
  </div>
817
+ </li>
818
+ <li
819
+ className="splide__slide"
820
+ data-index={2}
821
+ index={2}
822
+ >
949
823
  <div
950
- aria-label="slide"
951
- aria-selected={false}
952
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden"
953
- onBlur={[Function]}
954
- onFocus={[Function]}
955
- role="option"
956
- style={
957
- {
958
- "paddingBottom": "36.36363636363637%",
959
- "width": "9.090909090909092%",
960
- }
961
- }
824
+ className=""
962
825
  >
963
826
  <div
964
- className="slideInner___2mfX9 carousel__inner-slide"
965
- style={{}}
827
+ className="c8 c9 image-wrapper"
828
+ >
829
+ <img
830
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
831
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
832
+ />
833
+ </div>
834
+ <div
835
+ className=""
966
836
  >
967
837
  <div
968
- className="c8 image-wrapper"
838
+ className="c10"
969
839
  >
970
- <img
971
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
972
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
973
- />
840
+ <h1
841
+ className="c11"
842
+ >
843
+ 3,000
844
+ </h1>
974
845
  </div>
975
846
  <div
976
- className="all-text-wrapper"
847
+ className="c12"
977
848
  >
978
- <div
979
- className="c9"
980
- >
981
- <h1
982
- className="c10"
983
- >
984
- 3,000
985
- </h1>
986
- </div>
987
- <div
988
- className="c11"
849
+ <p
850
+ className="c6"
989
851
  >
990
- <p
991
- className="c6"
992
- >
993
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
994
- </p>
995
- </div>
852
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
853
+ </p>
996
854
  </div>
997
855
  </div>
998
856
  </div>
857
+ </li>
858
+ <li
859
+ className="splide__slide"
860
+ data-index={3}
861
+ index={3}
862
+ >
999
863
  <div
1000
- aria-label="slide"
1001
- aria-selected={false}
1002
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden"
1003
- onBlur={[Function]}
1004
- onFocus={[Function]}
1005
- role="option"
1006
- style={
1007
- {
1008
- "paddingBottom": "36.36363636363637%",
1009
- "width": "9.090909090909092%",
1010
- }
1011
- }
864
+ className=""
1012
865
  >
1013
866
  <div
1014
- className="slideInner___2mfX9 carousel__inner-slide"
1015
- style={{}}
867
+ className="c8 c9 image-wrapper"
868
+ >
869
+ <img
870
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
871
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
872
+ />
873
+ </div>
874
+ <div
875
+ className=""
1016
876
  >
1017
877
  <div
1018
- className="c8 image-wrapper"
878
+ className="c10"
1019
879
  >
1020
- <img
1021
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1022
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1023
- />
880
+ <h1
881
+ className="c11"
882
+ >
883
+ 4,000
884
+ </h1>
1024
885
  </div>
1025
886
  <div
1026
- className="all-text-wrapper"
887
+ className="c12"
1027
888
  >
1028
- <div
1029
- className="c9"
1030
- >
1031
- <h1
1032
- className="c10"
1033
- >
1034
- 4,000
1035
- </h1>
1036
- </div>
1037
- <div
1038
- className="c11"
889
+ <p
890
+ className="c6"
1039
891
  >
1040
- <p
1041
- className="c6"
1042
- >
1043
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1044
- </p>
1045
- </div>
892
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
893
+ </p>
1046
894
  </div>
1047
895
  </div>
1048
896
  </div>
897
+ </li>
898
+ <li
899
+ className="splide__slide"
900
+ data-index={4}
901
+ index={4}
902
+ >
1049
903
  <div
1050
- aria-label="slide"
1051
- aria-selected={false}
1052
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden"
1053
- onBlur={[Function]}
1054
- onFocus={[Function]}
1055
- role="option"
1056
- style={
1057
- {
1058
- "paddingBottom": "36.36363636363637%",
1059
- "width": "9.090909090909092%",
1060
- }
1061
- }
904
+ className=""
1062
905
  >
1063
906
  <div
1064
- className="slideInner___2mfX9 carousel__inner-slide"
1065
- style={{}}
907
+ className="c8 c9 image-wrapper"
908
+ >
909
+ <img
910
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
911
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
912
+ />
913
+ </div>
914
+ <div
915
+ className=""
1066
916
  >
1067
917
  <div
1068
- className="c8 image-wrapper"
918
+ className="c10"
1069
919
  >
1070
- <img
1071
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1072
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1073
- />
920
+ <h1
921
+ className="c11"
922
+ >
923
+ 5,000
924
+ </h1>
1074
925
  </div>
1075
926
  <div
1076
- className="all-text-wrapper"
927
+ className="c12"
1077
928
  >
1078
- <div
1079
- className="c9"
929
+ <p
930
+ className="c6"
1080
931
  >
1081
- <h1
1082
- className="c10"
1083
- >
1084
- 5,000
1085
- </h1>
1086
- </div>
1087
- <div
1088
- className="c11"
1089
- >
1090
- <p
1091
- className="c6"
1092
- >
1093
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1094
- </p>
1095
- </div>
932
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
933
+ </p>
1096
934
  </div>
1097
935
  </div>
1098
936
  </div>
937
+ </li>
938
+ <li
939
+ className="splide__slide"
940
+ data-index={5}
941
+ index={5}
942
+ >
1099
943
  <div
1100
- aria-label="slide"
1101
- aria-selected={false}
1102
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden"
1103
- onBlur={[Function]}
1104
- onFocus={[Function]}
1105
- role="option"
1106
- style={
1107
- {
1108
- "paddingBottom": "36.36363636363637%",
1109
- "width": "9.090909090909092%",
1110
- }
1111
- }
944
+ className=""
1112
945
  >
1113
946
  <div
1114
- className="slideInner___2mfX9 carousel__inner-slide"
1115
- style={{}}
947
+ className="c8 c9 image-wrapper"
948
+ >
949
+ <img
950
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
951
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
952
+ />
953
+ </div>
954
+ <div
955
+ className=""
1116
956
  >
1117
957
  <div
1118
- className="c8 image-wrapper"
958
+ className="c10"
1119
959
  >
1120
- <img
1121
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1122
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1123
- />
960
+ <h1
961
+ className="c11"
962
+ >
963
+ 6,000
964
+ </h1>
1124
965
  </div>
1125
966
  <div
1126
- className="all-text-wrapper"
967
+ className="c12"
1127
968
  >
1128
- <div
1129
- className="c9"
1130
- >
1131
- <h1
1132
- className="c10"
1133
- >
1134
- 6,000
1135
- </h1>
1136
- </div>
1137
- <div
1138
- className="c11"
969
+ <p
970
+ className="c6"
1139
971
  >
1140
- <p
1141
- className="c6"
1142
- >
1143
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1144
- </p>
1145
- </div>
972
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
973
+ </p>
1146
974
  </div>
1147
975
  </div>
1148
976
  </div>
977
+ </li>
978
+ <li
979
+ className="splide__slide"
980
+ data-index={6}
981
+ index={6}
982
+ >
1149
983
  <div
1150
- aria-label="slide"
1151
- aria-selected={false}
1152
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden"
1153
- onBlur={[Function]}
1154
- onFocus={[Function]}
1155
- role="option"
1156
- style={
1157
- {
1158
- "paddingBottom": "36.36363636363637%",
1159
- "width": "9.090909090909092%",
1160
- }
1161
- }
984
+ className=""
1162
985
  >
1163
986
  <div
1164
- className="slideInner___2mfX9 carousel__inner-slide"
1165
- style={{}}
987
+ className="c8 c9 image-wrapper"
988
+ >
989
+ <img
990
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
991
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
992
+ />
993
+ </div>
994
+ <div
995
+ className=""
1166
996
  >
1167
997
  <div
1168
- className="c8 image-wrapper"
998
+ className="c10"
1169
999
  >
1170
- <img
1171
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1172
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1173
- />
1000
+ <h1
1001
+ className="c11"
1002
+ >
1003
+ 7,000
1004
+ </h1>
1174
1005
  </div>
1175
1006
  <div
1176
- className="all-text-wrapper"
1007
+ className="c12"
1177
1008
  >
1178
- <div
1179
- className="c9"
1180
- >
1181
- <h1
1182
- className="c10"
1183
- >
1184
- 7,000
1185
- </h1>
1186
- </div>
1187
- <div
1188
- className="c11"
1009
+ <p
1010
+ className="c6"
1189
1011
  >
1190
- <p
1191
- className="c6"
1192
- >
1193
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1194
- </p>
1195
- </div>
1012
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1013
+ </p>
1196
1014
  </div>
1197
1015
  </div>
1198
1016
  </div>
1017
+ </li>
1018
+ <li
1019
+ className="splide__slide"
1020
+ data-index={7}
1021
+ index={7}
1022
+ >
1199
1023
  <div
1200
- aria-label="slide"
1201
- aria-selected={false}
1202
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden"
1203
- onBlur={[Function]}
1204
- onFocus={[Function]}
1205
- role="option"
1206
- style={
1207
- {
1208
- "paddingBottom": "36.36363636363637%",
1209
- "width": "9.090909090909092%",
1210
- }
1211
- }
1024
+ className=""
1212
1025
  >
1213
1026
  <div
1214
- className="slideInner___2mfX9 carousel__inner-slide"
1215
- style={{}}
1027
+ className="c8 c9 image-wrapper"
1028
+ >
1029
+ <img
1030
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1031
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1032
+ />
1033
+ </div>
1034
+ <div
1035
+ className=""
1216
1036
  >
1217
1037
  <div
1218
- className="c8 image-wrapper"
1038
+ className="c10"
1219
1039
  >
1220
- <img
1221
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1222
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1223
- />
1040
+ <h1
1041
+ className="c11"
1042
+ >
1043
+ 8,000
1044
+ </h1>
1224
1045
  </div>
1225
1046
  <div
1226
- className="all-text-wrapper"
1047
+ className="c12"
1227
1048
  >
1228
- <div
1229
- className="c9"
1049
+ <p
1050
+ className="c6"
1230
1051
  >
1231
- <h1
1232
- className="c10"
1233
- >
1234
- 8,000
1235
- </h1>
1236
- </div>
1237
- <div
1238
- className="c11"
1239
- >
1240
- <p
1241
- className="c6"
1242
- >
1243
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1244
- </p>
1245
- </div>
1052
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1053
+ </p>
1246
1054
  </div>
1247
1055
  </div>
1248
1056
  </div>
1057
+ </li>
1058
+ <li
1059
+ className="splide__slide last-slide"
1060
+ data-index={8}
1061
+ index={8}
1062
+ >
1249
1063
  <div
1250
- aria-label="slide"
1251
- aria-selected={false}
1252
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden last-slide"
1253
- onBlur={[Function]}
1254
- onFocus={[Function]}
1255
- role="option"
1256
- style={
1257
- {
1258
- "paddingBottom": "36.36363636363637%",
1259
- "width": "9.090909090909092%",
1260
- }
1261
- }
1064
+ className=""
1262
1065
  >
1263
1066
  <div
1264
- className="slideInner___2mfX9 carousel__inner-slide"
1265
- style={{}}
1067
+ className="c8 c9 image-wrapper"
1068
+ >
1069
+ <img
1070
+ alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1071
+ src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1072
+ />
1073
+ </div>
1074
+ <div
1075
+ className=""
1266
1076
  >
1267
1077
  <div
1268
- className="c8 image-wrapper"
1078
+ className="c10"
1269
1079
  >
1270
- <img
1271
- alt="children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education."
1272
- src="//images.ctfassets.net/zsfivwzfgl3t/6ZsS5CpukQwXRcMSUlbOM1/be31c7ff09891d14232e7c3dbe9fa8a2/028-love_1.png"
1273
- />
1080
+ <h1
1081
+ className="c11"
1082
+ >
1083
+ 9,000
1084
+ </h1>
1274
1085
  </div>
1275
1086
  <div
1276
- className="all-text-wrapper"
1087
+ className="c12"
1277
1088
  >
1278
- <div
1279
- className="c9"
1280
- >
1281
- <h1
1282
- className="c10"
1283
- >
1284
- 9,000
1285
- </h1>
1286
- </div>
1287
- <div
1288
- className="c11"
1089
+ <p
1090
+ className="c6"
1289
1091
  >
1290
- <p
1291
- className="c6"
1292
- >
1293
- children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1294
- </p>
1295
- </div>
1092
+ children and young people in the UK and around the world, including with safe homes, good nutrition and access to quality healthcare and education.
1093
+ </p>
1296
1094
  </div>
1297
1095
  </div>
1298
1096
  </div>
1299
- <div
1300
- aria-label="slide"
1301
- aria-selected={false}
1302
- className="slide___3-Nqo slideHorizontal___1NzNV carousel__slide carousel__slide--hidden"
1303
- onBlur={[Function]}
1304
- onFocus={[Function]}
1305
- role="option"
1306
- style={
1307
- {
1308
- "paddingBottom": "36.36363636363637%",
1309
- "width": "9.090909090909092%",
1310
- }
1311
- }
1312
- >
1313
- <div
1314
- className="slideInner___2mfX9 carousel__inner-slide"
1315
- style={{}}
1316
- />
1317
- </div>
1318
- </div>
1319
- </div>
1097
+ </li>
1098
+ </ul>
1320
1099
  </div>
1321
- <button
1322
- aria-label="previous"
1323
- className="buttonBack___1mlaL carousel__back-button"
1324
- disabled={false}
1325
- onClick={[Function]}
1326
- type="button"
1327
- >
1328
- Back
1329
- </button>
1330
- <button
1331
- aria-label="next"
1332
- className="buttonNext___2mOCa carousel__next-button"
1333
- disabled={false}
1334
- onClick={[Function]}
1335
- type="button"
1336
- >
1337
- Next
1338
- </button>
1339
1100
  </div>
1340
1101
  </div>
1341
1102
  </div>
@@ -1770,28 +1531,37 @@ exports[`renders the default padding version correctly:
1770
1531
  box-shadow: rgba(0,0,0,0.15) 0px 0px 1rem;
1771
1532
  }
1772
1533
 
1773
- .c1 .carousel {
1534
+ .c1 .splide {
1774
1535
  position: relative;
1775
1536
  margin: 0 auto;
1776
1537
  padding-top: 2rem;
1777
1538
  }
1778
1539
 
1779
- .c1 .carousel button.carousel__back-button,
1780
- .c1 .carousel button.carousel__next-button {
1540
+ .c1 .splide .splide__arrows {
1541
+ width: 100%;
1542
+ position: absolute;
1543
+ top: 0;
1544
+ left: 0;
1545
+ height: 100%;
1546
+ width: 100%;
1547
+ }
1548
+
1549
+ .c1 .splide button.splide__arrow {
1781
1550
  position: absolute;
1782
1551
  left: 0;
1783
1552
  top: 0;
1784
- width: 33%!important;
1553
+ width: 33.3%;
1785
1554
  height: 100%;
1786
- padding: 0!important;
1555
+ padding: 0;
1787
1556
  box-shadow: none;
1788
1557
  text-indent: -9999px;
1789
1558
  background-color: transparent;
1790
- border: none;
1559
+ transform: none;
1560
+ border-radius: 0;
1561
+ opacity: 1;
1791
1562
  }
1792
1563
 
1793
- .c1 .carousel button.carousel__back-button:after,
1794
- .c1 .carousel button.carousel__next-button:after {
1564
+ .c1 .splide button.splide__arrow:after {
1795
1565
  content: "";
1796
1566
  position: absolute;
1797
1567
  top: 0;
@@ -1802,48 +1572,38 @@ exports[`renders the default padding version correctly:
1802
1572
  background: linear-gradient(90deg,rgba(255,255,255,1),rgba(255,255,255,0.5),rgba(255,255,255,0));
1803
1573
  }
1804
1574
 
1805
- .c1 .carousel button.carousel__back-button:hover:after,
1806
- .c1 .carousel button.carousel__next-button:hover:after {
1807
- opacity: 0.5;
1808
- }
1809
-
1810
- .c1 .carousel button.carousel__next-button {
1575
+ .c1 .splide button.splide__arrow.splide__arrow--next {
1811
1576
  left: auto;
1812
1577
  right: 0;
1813
1578
  }
1814
1579
 
1815
- .c1 .carousel button.carousel__next-button:before {
1816
- transform: translate(0,-50%) rotate(-90deg);
1817
- }
1818
-
1819
- .c1 .carousel button.carousel__next-button:after {
1580
+ .c1 .splide button.splide__arrow.splide__arrow--next:after {
1820
1581
  left: auto;
1821
1582
  right: 0;
1822
- background: linear-gradient(270deg,rgba(255,255,255,1),rgba(255,255,255,0.5),rgba(255,255,255,0));
1583
+ background: linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,0.5),rgba(255,255,255,1));
1823
1584
  }
1824
1585
 
1825
- .c1 .carousel .wymd-carousel {
1826
- transition: -webkit-transform 0.75s;
1827
- -o-transition: transform 0.75s;
1828
- transition: transform 0.75s;
1829
- -webkit-transform: 0.75s;
1830
- will-change: transform;
1586
+ .c1 .splide button.splide__arrow:hover:after {
1587
+ opacity: 0.5;
1831
1588
  }
1832
1589
 
1833
- .c1 .carousel .wymd-carousel .last-slide .image-wrapper:after {
1834
- content: none;
1590
+ .c1 .splide button.splide__arrow svg {
1591
+ display: none;
1835
1592
  }
1836
1593
 
1837
- .c1 .carousel .wymd-carousel .carousel__slide {
1838
- padding-bottom: 425px!important;
1594
+ .c1 .splide button.carousel__next-button {
1595
+ left: auto;
1596
+ right: 0;
1839
1597
  }
1840
1598
 
1841
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide {
1842
- text-align: center;
1843
- display: inline-flex;
1844
- align-items: center;
1845
- justify-content: flex-start;
1846
- flex-direction: column;
1599
+ .c1 .splide button.carousel__next-button:after {
1600
+ left: auto;
1601
+ right: 0;
1602
+ background: linear-gradient(270deg,rgba(255,255,255,1),rgba(255,255,255,0.5),rgba(255,255,255,0));
1603
+ }
1604
+
1605
+ .c1 .splide.wymd-carousel .splide__slide {
1606
+ height: 425px;
1847
1607
  }
1848
1608
 
1849
1609
  .c0 {
@@ -1922,99 +1682,26 @@ exports[`renders the default padding version correctly:
1922
1682
  }
1923
1683
 
1924
1684
  @media (min-width: 1024px) {
1925
- .c1 .carousel {
1685
+ .c1 .splide {
1926
1686
  padding-top: 2rem;
1927
1687
  }
1928
1688
  }
1929
1689
 
1930
1690
  @media (min-width: 740px) {
1931
- .c1 .carousel button.carousel__back-button,
1932
- .c1 .carousel button.carousel__next-button {
1933
- width: 33.3%!important;
1934
- }
1935
-
1936
- .c1 .carousel button.carousel__back-button:after,
1937
- .c1 .carousel button.carousel__next-button:after {
1691
+ .c1 .splide button.splide__arrow:after {
1938
1692
  width: 100%;
1939
1693
  }
1940
1694
  }
1941
1695
 
1942
1696
  @media (min-width: 740px) {
1943
- .c1 .carousel .wymd-carousel .carousel__slide {
1944
- padding-bottom: 450px!important;
1945
- }
1946
-
1947
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide >div:first-child {
1948
- transition: transform 0.75s ease;
1949
- transform: scale(0.5);
1950
- }
1951
-
1952
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide >div:first-child:after {
1953
- transition: transform 0.75s ease,width 0.75s ease,right 0.75s ease;
1954
- right: calc(-300% - 6px);
1955
- transform: scale(1);
1956
- width: 300%;
1957
- }
1958
-
1959
- .c1 .carousel .wymd-carousel .carousel__slide .carousel__inner-slide .all-text-wrapper {
1960
- transition: transform 0.75s ease;
1961
- transform-origin: top;
1962
- transform: translateY(calc(-45px + 5%)) scale(0.5);
1963
- }
1964
-
1965
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
1966
- right: calc(-300% - 6px);
1967
- transform: scale(1);
1968
- width: 300%;
1969
- }
1970
-
1971
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child {
1972
- transform: scale(1);
1973
- }
1974
-
1975
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
1976
- right: calc(-222% - 6px);
1977
- transform: scale(0.5);
1978
- width: 300%;
1979
- }
1980
-
1981
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .all-text-wrapper {
1982
- transform: translateY(0) scale(1);
1983
- }
1984
-
1985
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible >div>div:first-child {
1986
- transform: scale(0.5);
1987
- }
1988
-
1989
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible >div>div:first-child:after {
1990
- right: calc(-300% - 6px);
1991
- transform: scale(1);
1992
- width: 300%;
1993
- }
1994
-
1995
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible .all-text-wrapper {
1996
- transform: translateY(calc(-45px + 5%)) scale(0.5);
1697
+ .c1 .splide.wymd-carousel .splide__slide {
1698
+ height: 450px;
1997
1699
  }
1998
1700
  }
1999
1701
 
2000
1702
  @media (min-width: 1024px) {
2001
- .c1 .carousel .wymd-carousel .carousel__slide {
2002
- padding-bottom: 475px!important;
2003
- }
2004
-
2005
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
2006
- right: calc(-250% - 6px);
2007
- width: 250%;
2008
- }
2009
-
2010
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
2011
- right: calc(-187% - 6px);
2012
- width: 250%;
2013
- }
2014
-
2015
- .c1 .carousel .wymd-carousel .carousel__slide.carousel__slide--visible +.carousel__slide--visible +.carousel__slide--visible .carousel__inner-slide >div:first-child:after {
2016
- right: calc(-250% - 6px);
2017
- width: 250%;
1703
+ .c1 .splide.wymd-carousel .splide__slide {
1704
+ height: 475px;
2018
1705
  }
2019
1706
  }
2020
1707