@bigbinary/neeto-site-blocks 0.15.0 → 0.15.2

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.
package/dist/index.cjs.js CHANGED
@@ -27393,7 +27393,7 @@ var FeatureWithLink = function FeatureWithLink(_ref) {
27393
27393
 
27394
27394
  function cov_26jzxz7dh2() {
27395
27395
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/FeatureWithList.jsx";
27396
- var hash = "5ab009021ab768eb2912b81a4a1ac687bec83205";
27396
+ var hash = "9c3e6d67bd4099dfadc881d9d1f0e6dc7eab0cad";
27397
27397
  var global = new Function("return this")();
27398
27398
  var gcv = "__coverage__";
27399
27399
  var coverageData = {
@@ -27402,81 +27402,91 @@ function cov_26jzxz7dh2() {
27402
27402
  "0": {
27403
27403
  start: {
27404
27404
  line: 12,
27405
- column: 24
27405
+ column: 0
27406
27406
  },
27407
27407
  end: {
27408
- line: 104,
27409
- column: 1
27408
+ line: 12,
27409
+ column: 13
27410
27410
  }
27411
27411
  },
27412
27412
  "1": {
27413
27413
  start: {
27414
- line: 13,
27415
- column: 33
27414
+ line: 14,
27415
+ column: 24
27416
27416
  },
27417
27417
  end: {
27418
- line: 13,
27419
- column: 47
27418
+ line: 90,
27419
+ column: 1
27420
27420
  }
27421
27421
  },
27422
27422
  "2": {
27423
27423
  start: {
27424
- line: 19,
27425
- column: 6
27424
+ line: 15,
27425
+ column: 33
27426
27426
  },
27427
27427
  end: {
27428
- line: 19,
27429
- column: 16
27428
+ line: 15,
27429
+ column: 47
27430
27430
  }
27431
27431
  },
27432
27432
  "3": {
27433
27433
  start: {
27434
27434
  line: 21,
27435
- column: 25
27435
+ column: 6
27436
27436
  },
27437
27437
  end: {
27438
27438
  line: 21,
27439
- column: 40
27439
+ column: 16
27440
27440
  }
27441
27441
  },
27442
27442
  "4": {
27443
27443
  start: {
27444
- line: 23,
27445
- column: 22
27444
+ line: 24,
27445
+ column: 4
27446
27446
  },
27447
27447
  end: {
27448
- line: 30,
27449
- column: 4
27448
+ line: 24,
27449
+ column: 78
27450
27450
  }
27451
27451
  },
27452
27452
  "5": {
27453
27453
  start: {
27454
- line: 32,
27454
+ line: 26,
27455
27455
  column: 27
27456
27456
  },
27457
27457
  end: {
27458
- line: 36,
27458
+ line: 32,
27459
27459
  column: 4
27460
27460
  }
27461
27461
  },
27462
27462
  "6": {
27463
27463
  start: {
27464
- line: 38,
27465
- column: 2
27464
+ line: 34,
27465
+ column: 29
27466
27466
  },
27467
27467
  end: {
27468
- line: 103,
27468
+ line: 39,
27469
27469
  column: 4
27470
27470
  }
27471
27471
  },
27472
27472
  "7": {
27473
27473
  start: {
27474
- line: 75,
27475
- column: 12
27474
+ line: 41,
27475
+ column: 2
27476
27476
  },
27477
27477
  end: {
27478
- line: 91,
27479
- column: 18
27478
+ line: 89,
27479
+ column: 4
27480
+ }
27481
+ },
27482
+ "8": {
27483
+ start: {
27484
+ line: 62,
27485
+ column: 16
27486
+ },
27487
+ end: {
27488
+ line: 75,
27489
+ column: 22
27480
27490
  }
27481
27491
  }
27482
27492
  },
@@ -27485,132 +27495,165 @@ function cov_26jzxz7dh2() {
27485
27495
  name: "(anonymous_0)",
27486
27496
  decl: {
27487
27497
  start: {
27488
- line: 12,
27498
+ line: 14,
27489
27499
  column: 24
27490
27500
  },
27491
27501
  end: {
27492
- line: 12,
27502
+ line: 14,
27493
27503
  column: 25
27494
27504
  }
27495
27505
  },
27496
27506
  loc: {
27497
27507
  start: {
27498
- line: 12,
27508
+ line: 14,
27499
27509
  column: 68
27500
27510
  },
27501
27511
  end: {
27502
- line: 104,
27512
+ line: 90,
27503
27513
  column: 1
27504
27514
  }
27505
27515
  },
27506
- line: 12
27516
+ line: 14
27507
27517
  },
27508
27518
  "1": {
27509
27519
  name: "(anonymous_1)",
27510
27520
  decl: {
27511
27521
  start: {
27512
- line: 65,
27513
- column: 10
27522
+ line: 58,
27523
+ column: 14
27514
27524
  },
27515
27525
  end: {
27516
- line: 65,
27517
- column: 11
27526
+ line: 58,
27527
+ column: 15
27518
27528
  }
27519
27529
  },
27520
27530
  loc: {
27521
27531
  start: {
27522
- line: 75,
27523
- column: 12
27532
+ line: 62,
27533
+ column: 16
27524
27534
  },
27525
27535
  end: {
27526
- line: 91,
27527
- column: 18
27536
+ line: 75,
27537
+ column: 22
27528
27538
  }
27529
27539
  },
27530
- line: 75
27540
+ line: 62
27531
27541
  }
27532
27542
  },
27533
27543
  branchMap: {
27534
27544
  "0": {
27535
27545
  loc: {
27536
27546
  start: {
27537
- line: 12,
27547
+ line: 14,
27538
27548
  column: 43
27539
27549
  },
27540
27550
  end: {
27541
- line: 12,
27551
+ line: 14,
27542
27552
  column: 57
27543
27553
  }
27544
27554
  },
27545
27555
  type: "default-arg",
27546
27556
  locations: [{
27547
27557
  start: {
27548
- line: 12,
27558
+ line: 14,
27549
27559
  column: 55
27550
27560
  },
27551
27561
  end: {
27552
- line: 12,
27562
+ line: 14,
27553
27563
  column: 57
27554
27564
  }
27555
27565
  }],
27556
- line: 12
27566
+ line: 14
27557
27567
  },
27558
27568
  "1": {
27559
27569
  loc: {
27560
27570
  start: {
27561
- line: 16,
27571
+ line: 18,
27562
27572
  column: 4
27563
27573
  },
27564
27574
  end: {
27565
- line: 16,
27575
+ line: 18,
27566
27576
  column: 17
27567
27577
  }
27568
27578
  },
27569
27579
  type: "default-arg",
27570
27580
  locations: [{
27571
27581
  start: {
27572
- line: 16,
27582
+ line: 18,
27573
27583
  column: 15
27574
27584
  },
27575
27585
  end: {
27576
- line: 16,
27586
+ line: 18,
27577
27587
  column: 17
27578
27588
  }
27579
27589
  }],
27580
- line: 16
27590
+ line: 18
27581
27591
  },
27582
27592
  "2": {
27583
27593
  loc: {
27584
27594
  start: {
27585
- line: 34,
27595
+ line: 36,
27586
27596
  column: 6
27587
27597
  },
27588
27598
  end: {
27589
- line: 35,
27590
- column: 44
27599
+ line: 36,
27600
+ column: 57
27591
27601
  }
27592
27602
  },
27593
27603
  type: "binary-expr",
27594
27604
  locations: [{
27595
27605
  start: {
27596
- line: 34,
27606
+ line: 36,
27597
27607
  column: 6
27598
27608
  },
27599
27609
  end: {
27600
- line: 34,
27610
+ line: 36,
27601
27611
  column: 45
27602
27612
  }
27603
27613
  }, {
27604
27614
  start: {
27605
- line: 35,
27615
+ line: 36,
27616
+ column: 49
27617
+ },
27618
+ end: {
27619
+ line: 36,
27620
+ column: 57
27621
+ }
27622
+ }],
27623
+ line: 36
27624
+ },
27625
+ "3": {
27626
+ loc: {
27627
+ start: {
27628
+ line: 38,
27606
27629
  column: 6
27607
27630
  },
27608
27631
  end: {
27609
- line: 35,
27632
+ line: 38,
27633
+ column: 56
27634
+ }
27635
+ },
27636
+ type: "binary-expr",
27637
+ locations: [{
27638
+ start: {
27639
+ line: 38,
27640
+ column: 6
27641
+ },
27642
+ end: {
27643
+ line: 38,
27610
27644
  column: 44
27611
27645
  }
27646
+ }, {
27647
+ start: {
27648
+ line: 38,
27649
+ column: 48
27650
+ },
27651
+ end: {
27652
+ line: 38,
27653
+ column: 56
27654
+ }
27612
27655
  }],
27613
- line: 34
27656
+ line: 38
27614
27657
  }
27615
27658
  },
27616
27659
  s: {
@@ -27621,7 +27664,8 @@ function cov_26jzxz7dh2() {
27621
27664
  "4": 0,
27622
27665
  "5": 0,
27623
27666
  "6": 0,
27624
- "7": 0
27667
+ "7": 0,
27668
+ "8": 0
27625
27669
  },
27626
27670
  f: {
27627
27671
  "0": 0,
@@ -27630,10 +27674,11 @@ function cov_26jzxz7dh2() {
27630
27674
  b: {
27631
27675
  "0": [0],
27632
27676
  "1": [0],
27633
- "2": [0, 0]
27677
+ "2": [0, 0],
27678
+ "3": [0, 0]
27634
27679
  },
27635
27680
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
27636
- hash: "5ab009021ab768eb2912b81a4a1ac687bec83205"
27681
+ hash: "9c3e6d67bd4099dfadc881d9d1f0e6dc7eab0cad"
27637
27682
  };
27638
27683
  var coverage = global[gcv] || (global[gcv] = {});
27639
27684
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -27650,52 +27695,48 @@ function cov_26jzxz7dh2() {
27650
27695
  }
27651
27696
  cov_26jzxz7dh2();
27652
27697
  cov_26jzxz7dh2().s[0]++;
27698
+ cov_26jzxz7dh2().s[1]++;
27653
27699
  var FeatureWithList = function FeatureWithList(_ref) {
27654
27700
  var configurations = _ref.configurations,
27655
27701
  _ref$className = _ref.className,
27656
27702
  className = _ref$className === void 0 ? (cov_26jzxz7dh2().b[0][0]++, "") : _ref$className,
27657
27703
  id = _ref.id;
27658
27704
  cov_26jzxz7dh2().f[0]++;
27659
- var _ref2 = (cov_26jzxz7dh2().s[1]++, configurations),
27705
+ var _ref2 = (cov_26jzxz7dh2().s[2]++, configurations),
27660
27706
  properties = _ref2.properties,
27661
27707
  design = _ref2.design;
27662
- var _ref3 = (cov_26jzxz7dh2().s[2]++, properties),
27708
+ var _ref3 = (cov_26jzxz7dh2().s[3]++, properties),
27663
27709
  _ref3$content = _ref3.content,
27664
27710
  title = _ref3$content.title,
27665
27711
  description = _ref3$content.description,
27666
- contentPosition = _ref3$content.position,
27667
27712
  _ref3$features = _ref3.features,
27668
27713
  features = _ref3$features === void 0 ? (cov_26jzxz7dh2().b[1][0]++, []) : _ref3$features,
27669
27714
  _ref3$image = _ref3.image,
27670
27715
  imageURL = _ref3$image.src,
27671
27716
  imagePosition = _ref3$image.position,
27672
27717
  src = _ref3.backgroundImage.src;
27673
- var textOnlyLayout = (cov_26jzxz7dh2().s[3]++, imageURL === "");
27674
- var baseClasses = (cov_26jzxz7dh2().s[4]++, classnames$1("flex gap-12", {
27675
- "items-center": !textOnlyLayout,
27676
- "flex-col lg:flex-row": imagePosition === POSITIONS.RIGHT.label,
27677
- "flex-col-reverse lg:flex-row-reverse": imagePosition === POSITIONS.LEFT.label,
27678
- "flex-col": imagePosition === POSITIONS.BOTTOM.label,
27679
- "flex-col-reverse": imagePosition === POSITIONS.TOP.label
27718
+ var baseClasses = (cov_26jzxz7dh2().s[4]++, "grid grid-cols-12 items-center sm:gap-x-2 lg:gap-x-4 grid-flow-row-dense");
27719
+ var imageBaseClasses = (cov_26jzxz7dh2().s[5]++, classnames$1("col-span-12", {
27720
+ "sm:col-span-7 sm:col-start-7 lg:col-span-6 lg:col-start-7": imagePosition === POSITIONS.RIGHT.label,
27721
+ "sm:col-span-6 sm:col-start-1 lg:col-span-6": imagePosition === POSITIONS.LEFT.label,
27722
+ hidden: !imageURL
27680
27723
  }));
27681
- var imageBaseClasses = (cov_26jzxz7dh2().s[5]++, classnames$1("flex justify-center", {
27682
- "sm:w-2/3 lg:w-1/2 flex-shrink-0": (cov_26jzxz7dh2().b[2][0]++, imagePosition === POSITIONS.RIGHT.label) || (cov_26jzxz7dh2().b[2][1]++, imagePosition === POSITIONS.LEFT.label)
27724
+ var contentBaseClasses = (cov_26jzxz7dh2().s[6]++, classnames$1("col-span-12", {
27725
+ "sm:col-span-5 sm:col-start-1": (cov_26jzxz7dh2().b[2][0]++, imagePosition === POSITIONS.RIGHT.label) && (cov_26jzxz7dh2().b[2][1]++, imageURL),
27726
+ "sm:col-span-5 sm:col-start-8 lg:col-start-8": (cov_26jzxz7dh2().b[3][0]++, imagePosition === POSITIONS.LEFT.label) && (cov_26jzxz7dh2().b[3][1]++, imageURL)
27683
27727
  }));
27684
- cov_26jzxz7dh2().s[6]++;
27728
+ cov_26jzxz7dh2().s[7]++;
27685
27729
  return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
27686
27730
  backgroundImage: mergeLeft({
27687
27731
  src: src
27688
27732
  }, design.backgroundImage),
27733
+ className: className,
27689
27734
  design: design.body,
27690
- id: id,
27691
- className: classnames$1("border border-l-0 border-r-0", [className, baseClasses])
27735
+ id: id
27692
27736
  }, /*#__PURE__*/React__default["default"].createElement("div", {
27693
- className: classnames$1({
27694
- "relative flex flex-grow flex-col": true,
27695
- "sm:items-center sm:text-center lg:items-start": contentPosition === POSITIONS.LEFT.label,
27696
- "items-center text-center": contentPosition === POSITIONS.CENTER.label,
27697
- "items-end": contentPosition === POSITIONS.RIGHT.label
27698
- })
27737
+ className: classnames$1("neeto-site-block-wrapper", baseClasses)
27738
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
27739
+ className: contentBaseClasses
27699
27740
  }, /*#__PURE__*/React__default["default"].createElement(Typography, {
27700
27741
  isTitle: true,
27701
27742
  component: "h1",
@@ -27703,17 +27744,15 @@ var FeatureWithList = function FeatureWithList(_ref) {
27703
27744
  }, title), /*#__PURE__*/React__default["default"].createElement(Typography, {
27704
27745
  component: "p",
27705
27746
  style: design.description
27706
- }, description), features.map(function (_ref4, index) {
27747
+ }, description), /*#__PURE__*/React__default["default"].createElement("div", {
27748
+ className: "space-y-6"
27749
+ }, features.map(function (_ref4, index) {
27707
27750
  var featureTitle = _ref4.title,
27708
- featureDescription = _ref4.description,
27709
- label = _ref4.label,
27710
- url = _ref4.url,
27711
- action = _ref4.action;
27751
+ featureDescription = _ref4.description;
27712
27752
  cov_26jzxz7dh2().f[1]++;
27713
- cov_26jzxz7dh2().s[7]++;
27753
+ cov_26jzxz7dh2().s[8]++;
27714
27754
  return /*#__PURE__*/React__default["default"].createElement("div", {
27715
- className: "mb-6 w-full last:mb-0",
27716
- key: getUniqueKey(featureTitle, url, index)
27755
+ key: getUniqueKey(featureTitle, featureDescription, index)
27717
27756
  }, /*#__PURE__*/React__default["default"].createElement(Typography, {
27718
27757
  isTitle: true,
27719
27758
  component: "h4",
@@ -27721,24 +27760,19 @@ var FeatureWithList = function FeatureWithList(_ref) {
27721
27760
  }, featureTitle), /*#__PURE__*/React__default["default"].createElement(Typography, {
27722
27761
  component: "p",
27723
27762
  style: design.featureDescription
27724
- }, featureDescription), /*#__PURE__*/React__default["default"].createElement(LinkElement, {
27725
- action: action,
27726
- label: label,
27727
- style: design.featureLink,
27728
- to: url
27729
- }));
27730
- })), /*#__PURE__*/React__default["default"].createElement("div", {
27763
+ }, featureDescription));
27764
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
27731
27765
  className: imageBaseClasses
27732
27766
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage, {
27733
27767
  design: design.image,
27734
27768
  lgImageSize: design.image.width,
27735
27769
  src: imageURL
27736
- })));
27770
+ }))));
27737
27771
  };
27738
27772
 
27739
27773
  function cov_2e4crtgg2y() {
27740
27774
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/FeatureWithRightImage.jsx";
27741
- var hash = "34b57fcf259bfe3506d050e012063bf87beca5d9";
27775
+ var hash = "ad5ec7ce535ccf38fd6914f014736c5b7d944a4d";
27742
27776
  var global = new Function("return this")();
27743
27777
  var gcv = "__coverage__";
27744
27778
  var coverageData = {
@@ -27746,72 +27780,72 @@ function cov_2e4crtgg2y() {
27746
27780
  statementMap: {
27747
27781
  "0": {
27748
27782
  start: {
27749
- line: 12,
27783
+ line: 11,
27750
27784
  column: 30
27751
27785
  },
27752
27786
  end: {
27753
- line: 93,
27787
+ line: 62,
27754
27788
  column: 1
27755
27789
  }
27756
27790
  },
27757
27791
  "1": {
27758
27792
  start: {
27759
- line: 13,
27793
+ line: 12,
27760
27794
  column: 33
27761
27795
  },
27762
27796
  end: {
27763
- line: 13,
27797
+ line: 12,
27764
27798
  column: 47
27765
27799
  }
27766
27800
  },
27767
27801
  "2": {
27768
27802
  start: {
27769
- line: 18,
27803
+ line: 17,
27770
27804
  column: 6
27771
27805
  },
27772
27806
  end: {
27773
- line: 18,
27807
+ line: 17,
27774
27808
  column: 16
27775
27809
  }
27776
27810
  },
27777
27811
  "3": {
27778
27812
  start: {
27779
- line: 20,
27813
+ line: 19,
27780
27814
  column: 22
27781
27815
  },
27782
27816
  end: {
27783
- line: 27,
27784
- column: 4
27817
+ line: 19,
27818
+ column: 74
27785
27819
  }
27786
27820
  },
27787
27821
  "4": {
27788
27822
  start: {
27789
- line: 29,
27823
+ line: 21,
27790
27824
  column: 27
27791
27825
  },
27792
27826
  end: {
27793
- line: 34,
27827
+ line: 27,
27794
27828
  column: 4
27795
27829
  }
27796
27830
  },
27797
27831
  "5": {
27798
27832
  start: {
27799
- line: 36,
27800
- column: 2
27833
+ line: 29,
27834
+ column: 25
27801
27835
  },
27802
27836
  end: {
27803
- line: 92,
27837
+ line: 34,
27804
27838
  column: 4
27805
27839
  }
27806
27840
  },
27807
27841
  "6": {
27808
27842
  start: {
27809
- line: 73,
27810
- column: 12
27843
+ line: 36,
27844
+ column: 2
27811
27845
  },
27812
27846
  end: {
27813
- line: 80,
27814
- column: 14
27847
+ line: 61,
27848
+ column: 4
27815
27849
  }
27816
27850
  }
27817
27851
  },
@@ -27820,75 +27854,51 @@ function cov_2e4crtgg2y() {
27820
27854
  name: "(anonymous_0)",
27821
27855
  decl: {
27822
27856
  start: {
27823
- line: 12,
27857
+ line: 11,
27824
27858
  column: 30
27825
27859
  },
27826
27860
  end: {
27827
- line: 12,
27861
+ line: 11,
27828
27862
  column: 31
27829
27863
  }
27830
27864
  },
27831
27865
  loc: {
27832
27866
  start: {
27833
- line: 12,
27867
+ line: 11,
27834
27868
  column: 74
27835
27869
  },
27836
27870
  end: {
27837
- line: 93,
27871
+ line: 62,
27838
27872
  column: 1
27839
27873
  }
27840
27874
  },
27841
- line: 12
27842
- },
27843
- "1": {
27844
- name: "(anonymous_1)",
27845
- decl: {
27846
- start: {
27847
- line: 72,
27848
- column: 34
27849
- },
27850
- end: {
27851
- line: 72,
27852
- column: 35
27853
- }
27854
- },
27855
- loc: {
27856
- start: {
27857
- line: 73,
27858
- column: 12
27859
- },
27860
- end: {
27861
- line: 80,
27862
- column: 14
27863
- }
27864
- },
27865
- line: 73
27875
+ line: 11
27866
27876
  }
27867
27877
  },
27868
27878
  branchMap: {
27869
27879
  "0": {
27870
27880
  loc: {
27871
27881
  start: {
27872
- line: 12,
27882
+ line: 11,
27873
27883
  column: 49
27874
27884
  },
27875
27885
  end: {
27876
- line: 12,
27886
+ line: 11,
27877
27887
  column: 63
27878
27888
  }
27879
27889
  },
27880
27890
  type: "default-arg",
27881
27891
  locations: [{
27882
27892
  start: {
27883
- line: 12,
27893
+ line: 11,
27884
27894
  column: 61
27885
27895
  },
27886
27896
  end: {
27887
- line: 12,
27897
+ line: 11,
27888
27898
  column: 63
27889
27899
  }
27890
27900
  }],
27891
- line: 12
27901
+ line: 11
27892
27902
  },
27893
27903
  "1": {
27894
27904
  loc: {
@@ -27897,8 +27907,8 @@ function cov_2e4crtgg2y() {
27897
27907
  column: 6
27898
27908
  },
27899
27909
  end: {
27900
- line: 32,
27901
- column: 44
27910
+ line: 31,
27911
+ column: 57
27902
27912
  }
27903
27913
  },
27904
27914
  type: "binary-expr",
@@ -27913,12 +27923,12 @@ function cov_2e4crtgg2y() {
27913
27923
  }
27914
27924
  }, {
27915
27925
  start: {
27916
- line: 32,
27917
- column: 6
27926
+ line: 31,
27927
+ column: 49
27918
27928
  },
27919
27929
  end: {
27920
- line: 32,
27921
- column: 44
27930
+ line: 31,
27931
+ column: 57
27922
27932
  }
27923
27933
  }],
27924
27934
  line: 31
@@ -27926,101 +27936,35 @@ function cov_2e4crtgg2y() {
27926
27936
  "2": {
27927
27937
  loc: {
27928
27938
  start: {
27929
- line: 49,
27930
- column: 12
27931
- },
27932
- end: {
27933
- line: 50,
27934
- column: 51
27935
- }
27936
- },
27937
- type: "binary-expr",
27938
- locations: [{
27939
- start: {
27940
- line: 49,
27941
- column: 12
27942
- },
27943
- end: {
27944
- line: 49,
27945
- column: 50
27946
- }
27947
- }, {
27948
- start: {
27949
- line: 50,
27950
- column: 12
27951
- },
27952
- end: {
27953
- line: 50,
27954
- column: 51
27955
- }
27956
- }],
27957
- line: 49
27958
- },
27959
- "3": {
27960
- loc: {
27961
- start: {
27962
- line: 52,
27963
- column: 12
27964
- },
27965
- end: {
27966
- line: 53,
27967
- column: 52
27968
- }
27969
- },
27970
- type: "binary-expr",
27971
- locations: [{
27972
- start: {
27973
- line: 52,
27974
- column: 12
27975
- },
27976
- end: {
27977
- line: 52,
27978
- column: 49
27979
- }
27980
- }, {
27981
- start: {
27982
- line: 53,
27983
- column: 12
27984
- },
27985
- end: {
27986
- line: 53,
27987
- column: 52
27988
- }
27989
- }],
27990
- line: 52
27991
- },
27992
- "4": {
27993
- loc: {
27994
- start: {
27995
- line: 67,
27996
- column: 16
27939
+ line: 33,
27940
+ column: 6
27997
27941
  },
27998
27942
  end: {
27999
- line: 68,
28000
- column: 55
27943
+ line: 33,
27944
+ column: 56
28001
27945
  }
28002
27946
  },
28003
27947
  type: "binary-expr",
28004
27948
  locations: [{
28005
27949
  start: {
28006
- line: 67,
28007
- column: 16
27950
+ line: 33,
27951
+ column: 6
28008
27952
  },
28009
27953
  end: {
28010
- line: 67,
28011
- column: 54
27954
+ line: 33,
27955
+ column: 44
28012
27956
  }
28013
27957
  }, {
28014
27958
  start: {
28015
- line: 68,
28016
- column: 16
27959
+ line: 33,
27960
+ column: 48
28017
27961
  },
28018
27962
  end: {
28019
- line: 68,
28020
- column: 55
27963
+ line: 33,
27964
+ column: 56
28021
27965
  }
28022
27966
  }],
28023
- line: 67
27967
+ line: 33
28024
27968
  }
28025
27969
  },
28026
27970
  s: {
@@ -28033,18 +27977,15 @@ function cov_2e4crtgg2y() {
28033
27977
  "6": 0
28034
27978
  },
28035
27979
  f: {
28036
- "0": 0,
28037
- "1": 0
27980
+ "0": 0
28038
27981
  },
28039
27982
  b: {
28040
27983
  "0": [0],
28041
27984
  "1": [0, 0],
28042
- "2": [0, 0],
28043
- "3": [0, 0],
28044
- "4": [0, 0]
27985
+ "2": [0, 0]
28045
27986
  },
28046
27987
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
28047
- hash: "34b57fcf259bfe3506d050e012063bf87beca5d9"
27988
+ hash: "ad5ec7ce535ccf38fd6914f014736c5b7d944a4d"
28048
27989
  };
28049
27990
  var coverage = global[gcv] || (global[gcv] = {});
28050
27991
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -28078,30 +28019,28 @@ var FeatureWithRightImage = function FeatureWithRightImage(_ref) {
28078
28019
  imageURL = _ref3$image.src,
28079
28020
  imagePosition = _ref3$image.position,
28080
28021
  src = _ref3.backgroundImage.src;
28081
- var baseClasses = (cov_2e4crtgg2y().s[3]++, classnames$1("flex gap-12", {
28082
- "items-center": imageURL,
28083
- "flex-col lg:flex-row": imagePosition === POSITIONS.RIGHT.label,
28084
- "flex-col-reverse lg:flex-row-reverse": imagePosition === POSITIONS.LEFT.label,
28085
- "flex-col": imagePosition === POSITIONS.BOTTOM.label,
28086
- "flex-col-reverse": imagePosition === POSITIONS.TOP.label
28087
- }));
28088
- var imageBaseClasses = (cov_2e4crtgg2y().s[4]++, classnames$1("flex justify-center", {
28089
- "sm:w-2/3 lg:w-1/2 flex-shrink-0": (cov_2e4crtgg2y().b[1][0]++, imagePosition === POSITIONS.RIGHT.label) || (cov_2e4crtgg2y().b[1][1]++, imagePosition === POSITIONS.LEFT.label),
28022
+ var baseClasses = (cov_2e4crtgg2y().s[3]++, "grid grid-cols-12 items-center grid-flow-row-dense");
28023
+ var imageBaseClasses = (cov_2e4crtgg2y().s[4]++, classnames$1("col-span-12", {
28024
+ "sm:col-span-6 sm:col-start-7 lg:col-start-7 lg:col-span-6": imagePosition === POSITIONS.RIGHT.label,
28025
+ "sm:col-span-6 sm:col-start-1 lg:col-start-1 lg:col-span-6": imagePosition === POSITIONS.LEFT.label,
28090
28026
  hidden: !imageURL
28091
28027
  }));
28092
- cov_2e4crtgg2y().s[5]++;
28028
+ var featureClasses = (cov_2e4crtgg2y().s[5]++, classnames$1("col-span-12", {
28029
+ "sm:col-span-5 lg:col-span-5": (cov_2e4crtgg2y().b[1][0]++, imagePosition === POSITIONS.RIGHT.label) && (cov_2e4crtgg2y().b[1][1]++, imageURL),
28030
+ "sm:col-span-6 sm:col-start-7 lg:col-span-6 lg:col-start-7": (cov_2e4crtgg2y().b[2][0]++, imagePosition === POSITIONS.LEFT.label) && (cov_2e4crtgg2y().b[2][1]++, imageURL)
28031
+ }));
28032
+ cov_2e4crtgg2y().s[6]++;
28093
28033
  return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
28094
28034
  backgroundImage: mergeLeft({
28095
28035
  src: src
28096
28036
  }, design.backgroundImage),
28037
+ className: className,
28097
28038
  design: design.body,
28098
- id: id,
28099
- className: classnames$1("border border-l-0 border-r-0 ", [className, baseClasses])
28039
+ id: id
28100
28040
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28101
- className: classnames$1("relative flex flex-grow flex-col", {
28102
- "sm:items-center sm:text-center lg:items-start": (cov_2e4crtgg2y().b[2][0]++, imagePosition === POSITIONS.LEFT.label) || (cov_2e4crtgg2y().b[2][1]++, imagePosition === POSITIONS.RIGHT.label),
28103
- "items-center text-center": (cov_2e4crtgg2y().b[3][0]++, imagePosition === POSITIONS.TOP.label) || (cov_2e4crtgg2y().b[3][1]++, imagePosition === POSITIONS.BOTTOM.label)
28104
- })
28041
+ className: classnames$1("neeto-site-block-wrapper", baseClasses)
28042
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28043
+ className: featureClasses
28105
28044
  }, /*#__PURE__*/React__default["default"].createElement(Typography, {
28106
28045
  isTitle: true,
28107
28046
  component: "h1",
@@ -28109,31 +28048,13 @@ var FeatureWithRightImage = function FeatureWithRightImage(_ref) {
28109
28048
  }, title), /*#__PURE__*/React__default["default"].createElement(Typography, {
28110
28049
  component: "p",
28111
28050
  style: design.description
28112
- }, description), /*#__PURE__*/React__default["default"].createElement("div", {
28113
- className: classnames$1("flex w-full items-center gap-3 sm:justify-center", {
28114
- "lg:justify-start": (cov_2e4crtgg2y().b[4][0]++, imagePosition === POSITIONS.LEFT.label) || (cov_2e4crtgg2y().b[4][1]++, imagePosition === POSITIONS.RIGHT.label)
28115
- })
28116
- }, properties.buttons.map(function (_ref4, index) {
28117
- var label = _ref4.label,
28118
- url = _ref4.url,
28119
- action = _ref4.action;
28120
- cov_2e4crtgg2y().f[1]++;
28121
- cov_2e4crtgg2y().s[6]++;
28122
- return /*#__PURE__*/React__default["default"].createElement(Button, {
28123
- action: action,
28124
- className: "w-full justify-center sm:w-auto sm:justify-start",
28125
- key: getUniqueKey(label, index),
28126
- label: label,
28127
- style: design.buttons,
28128
- to: url
28129
- });
28130
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
28051
+ }, description)), /*#__PURE__*/React__default["default"].createElement("div", {
28131
28052
  className: imageBaseClasses
28132
28053
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage, {
28133
28054
  design: design.image,
28134
28055
  lgImageWidth: design.image.width,
28135
28056
  src: imageURL
28136
- })));
28057
+ }))));
28137
28058
  };
28138
28059
 
28139
28060
  function cov_1kbh5b1kc1() {