@bigbinary/neeto-site-blocks 0.26.0 → 0.26.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
@@ -21626,7 +21626,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
21626
21626
 
21627
21627
  function cov_27t2v2dfma() {
21628
21628
  var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithCustomizableGrid.jsx";
21629
- var hash = "ade1cd5d1fbb2bbe75b9eaf5ec44a18fee5a15c2";
21629
+ var hash = "66953ee2fd30dd6f1d7a05289ffedd161c9d42c2";
21630
21630
  var global = new Function("return this")();
21631
21631
  var gcv = "__coverage__";
21632
21632
  var coverageData = {
@@ -21638,7 +21638,7 @@ function cov_27t2v2dfma() {
21638
21638
  column: 34
21639
21639
  },
21640
21640
  end: {
21641
- line: 73,
21641
+ line: 81,
21642
21642
  column: 1
21643
21643
  }
21644
21644
  },
@@ -21654,62 +21654,62 @@ function cov_27t2v2dfma() {
21654
21654
  },
21655
21655
  "2": {
21656
21656
  start: {
21657
- line: 17,
21657
+ line: 18,
21658
21658
  column: 6
21659
21659
  },
21660
21660
  end: {
21661
- line: 17,
21661
+ line: 18,
21662
21662
  column: 16
21663
21663
  }
21664
21664
  },
21665
21665
  "3": {
21666
21666
  start: {
21667
- line: 19,
21667
+ line: 20,
21668
21668
  column: 22
21669
21669
  },
21670
21670
  end: {
21671
- line: 19,
21671
+ line: 20,
21672
21672
  column: 73
21673
21673
  }
21674
21674
  },
21675
21675
  "4": {
21676
21676
  start: {
21677
- line: 21,
21677
+ line: 22,
21678
21678
  column: 26
21679
21679
  },
21680
21680
  end: {
21681
- line: 27,
21681
+ line: 29,
21682
21682
  column: 3
21683
21683
  }
21684
21684
  },
21685
21685
  "5": {
21686
21686
  start: {
21687
- line: 29,
21687
+ line: 31,
21688
21688
  column: 2
21689
21689
  },
21690
21690
  end: {
21691
- line: 72,
21691
+ line: 80,
21692
21692
  column: 4
21693
21693
  }
21694
21694
  },
21695
21695
  "6": {
21696
21696
  start: {
21697
- line: 47,
21698
- column: 8
21697
+ line: 54,
21698
+ column: 10
21699
21699
  },
21700
21700
  end: {
21701
- line: 69,
21702
- column: 24
21701
+ line: 76,
21702
+ column: 26
21703
21703
  }
21704
21704
  },
21705
21705
  "7": {
21706
21706
  start: {
21707
- line: 52,
21708
- column: 25
21707
+ line: 59,
21708
+ column: 27
21709
21709
  },
21710
21710
  end: {
21711
- line: 52,
21712
- column: 60
21711
+ line: 59,
21712
+ column: 62
21713
21713
  }
21714
21714
  }
21715
21715
  },
@@ -21732,7 +21732,7 @@ function cov_27t2v2dfma() {
21732
21732
  column: 78
21733
21733
  },
21734
21734
  end: {
21735
- line: 73,
21735
+ line: 81,
21736
21736
  column: 1
21737
21737
  }
21738
21738
  },
@@ -21742,49 +21742,49 @@ function cov_27t2v2dfma() {
21742
21742
  name: "(anonymous_1)",
21743
21743
  decl: {
21744
21744
  start: {
21745
- line: 46,
21746
- column: 17
21745
+ line: 53,
21746
+ column: 19
21747
21747
  },
21748
21748
  end: {
21749
- line: 46,
21750
- column: 18
21749
+ line: 53,
21750
+ column: 20
21751
21751
  }
21752
21752
  },
21753
21753
  loc: {
21754
21754
  start: {
21755
- line: 47,
21756
- column: 8
21755
+ line: 54,
21756
+ column: 10
21757
21757
  },
21758
21758
  end: {
21759
- line: 69,
21760
- column: 24
21759
+ line: 76,
21760
+ column: 26
21761
21761
  }
21762
21762
  },
21763
- line: 47
21763
+ line: 54
21764
21764
  },
21765
21765
  "2": {
21766
21766
  name: "(anonymous_2)",
21767
21767
  decl: {
21768
21768
  start: {
21769
- line: 52,
21770
- column: 19
21769
+ line: 59,
21770
+ column: 21
21771
21771
  },
21772
21772
  end: {
21773
- line: 52,
21774
- column: 20
21773
+ line: 59,
21774
+ column: 22
21775
21775
  }
21776
21776
  },
21777
21777
  loc: {
21778
21778
  start: {
21779
- line: 52,
21780
- column: 25
21779
+ line: 59,
21780
+ column: 27
21781
21781
  },
21782
21782
  end: {
21783
- line: 52,
21784
- column: 60
21783
+ line: 59,
21784
+ column: 62
21785
21785
  }
21786
21786
  },
21787
- line: 52
21787
+ line: 59
21788
21788
  }
21789
21789
  },
21790
21790
  branchMap: {
@@ -21815,35 +21815,35 @@ function cov_27t2v2dfma() {
21815
21815
  "1": {
21816
21816
  loc: {
21817
21817
  start: {
21818
- line: 52,
21819
- column: 25
21818
+ line: 59,
21819
+ column: 27
21820
21820
  },
21821
21821
  end: {
21822
- line: 52,
21823
- column: 60
21822
+ line: 59,
21823
+ column: 62
21824
21824
  }
21825
21825
  },
21826
21826
  type: "binary-expr",
21827
21827
  locations: [{
21828
21828
  start: {
21829
- line: 52,
21830
- column: 25
21829
+ line: 59,
21830
+ column: 27
21831
21831
  },
21832
21832
  end: {
21833
- line: 52,
21834
- column: 29
21833
+ line: 59,
21834
+ column: 31
21835
21835
  }
21836
21836
  }, {
21837
21837
  start: {
21838
- line: 52,
21839
- column: 33
21838
+ line: 59,
21839
+ column: 35
21840
21840
  },
21841
21841
  end: {
21842
- line: 52,
21843
- column: 60
21842
+ line: 59,
21843
+ column: 62
21844
21844
  }
21845
21845
  }],
21846
- line: 52
21846
+ line: 59
21847
21847
  }
21848
21848
  },
21849
21849
  s: {
@@ -21866,7 +21866,7 @@ function cov_27t2v2dfma() {
21866
21866
  "1": [0, 0]
21867
21867
  },
21868
21868
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
21869
- hash: "ade1cd5d1fbb2bbe75b9eaf5ec44a18fee5a15c2"
21869
+ hash: "66953ee2fd30dd6f1d7a05289ffedd161c9d42c2"
21870
21870
  };
21871
21871
  var coverage = global[gcv] || (global[gcv] = {});
21872
21872
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -21897,11 +21897,13 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
21897
21897
  enableAnimation = _ref3.enableAnimation,
21898
21898
  cards = _ref3.cards,
21899
21899
  gridCount = _ref3.gridCount,
21900
+ isBorderRequired = _ref3.isBorderRequired,
21900
21901
  src = _ref3.backgroundImage.src;
21901
21902
  var baseClasses = (cov_27t2v2dfma().s[3]++, "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center");
21902
- var gridBaseClasses = (cov_27t2v2dfma().s[4]++, classnames("col-span-12 flex h-72 flex-col justify-center gap-2 ns-card-animation cursor-pointer", {
21903
+ var gridBaseClasses = (cov_27t2v2dfma().s[4]++, classnames("col-span-12 h-56 flex flex-col gap-2 ns-card-animation cursor-pointer", {
21903
21904
  "sm:col-span-6 lg:col-span-4": gridCount === 3,
21904
- "sm:col-span-6": gridCount === 2
21905
+ "sm:col-span-6": gridCount === 2,
21906
+ "lg:col-span-3 sm:col-span-6": gridCount === 4
21905
21907
  }));
21906
21908
  cov_27t2v2dfma().s[5]++;
21907
21909
  return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
@@ -21918,7 +21920,11 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
21918
21920
  className: "col-span-12",
21919
21921
  component: "h1",
21920
21922
  style: design.title
21921
- }, title), cards.map(function (_ref4, index) {
21923
+ }, title), /*#__PURE__*/React__default["default"].createElement("div", {
21924
+ className: classnames("col-span-12 grid grid-cols-12 gap-4", {
21925
+ "lg:divide-x": isBorderRequired
21926
+ })
21927
+ }, cards.map(function (_ref4, index) {
21922
21928
  var title = _ref4.title,
21923
21929
  description = _ref4.description,
21924
21930
  href = _ref4.href;
@@ -21944,7 +21950,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
21944
21950
  component: "p",
21945
21951
  style: design.cardDescription
21946
21952
  }, description));
21947
- }));
21953
+ })));
21948
21954
  };
21949
21955
 
21950
21956
  var lib = {};