@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 +61 -55
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +61 -55
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21580,7 +21580,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21580
21580
|
|
|
21581
21581
|
function cov_27t2v2dfma() {
|
|
21582
21582
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithCustomizableGrid.jsx";
|
|
21583
|
-
var hash = "
|
|
21583
|
+
var hash = "66953ee2fd30dd6f1d7a05289ffedd161c9d42c2";
|
|
21584
21584
|
var global = new Function("return this")();
|
|
21585
21585
|
var gcv = "__coverage__";
|
|
21586
21586
|
var coverageData = {
|
|
@@ -21592,7 +21592,7 @@ function cov_27t2v2dfma() {
|
|
|
21592
21592
|
column: 34
|
|
21593
21593
|
},
|
|
21594
21594
|
end: {
|
|
21595
|
-
line:
|
|
21595
|
+
line: 81,
|
|
21596
21596
|
column: 1
|
|
21597
21597
|
}
|
|
21598
21598
|
},
|
|
@@ -21608,62 +21608,62 @@ function cov_27t2v2dfma() {
|
|
|
21608
21608
|
},
|
|
21609
21609
|
"2": {
|
|
21610
21610
|
start: {
|
|
21611
|
-
line:
|
|
21611
|
+
line: 18,
|
|
21612
21612
|
column: 6
|
|
21613
21613
|
},
|
|
21614
21614
|
end: {
|
|
21615
|
-
line:
|
|
21615
|
+
line: 18,
|
|
21616
21616
|
column: 16
|
|
21617
21617
|
}
|
|
21618
21618
|
},
|
|
21619
21619
|
"3": {
|
|
21620
21620
|
start: {
|
|
21621
|
-
line:
|
|
21621
|
+
line: 20,
|
|
21622
21622
|
column: 22
|
|
21623
21623
|
},
|
|
21624
21624
|
end: {
|
|
21625
|
-
line:
|
|
21625
|
+
line: 20,
|
|
21626
21626
|
column: 73
|
|
21627
21627
|
}
|
|
21628
21628
|
},
|
|
21629
21629
|
"4": {
|
|
21630
21630
|
start: {
|
|
21631
|
-
line:
|
|
21631
|
+
line: 22,
|
|
21632
21632
|
column: 26
|
|
21633
21633
|
},
|
|
21634
21634
|
end: {
|
|
21635
|
-
line:
|
|
21635
|
+
line: 29,
|
|
21636
21636
|
column: 3
|
|
21637
21637
|
}
|
|
21638
21638
|
},
|
|
21639
21639
|
"5": {
|
|
21640
21640
|
start: {
|
|
21641
|
-
line:
|
|
21641
|
+
line: 31,
|
|
21642
21642
|
column: 2
|
|
21643
21643
|
},
|
|
21644
21644
|
end: {
|
|
21645
|
-
line:
|
|
21645
|
+
line: 80,
|
|
21646
21646
|
column: 4
|
|
21647
21647
|
}
|
|
21648
21648
|
},
|
|
21649
21649
|
"6": {
|
|
21650
21650
|
start: {
|
|
21651
|
-
line:
|
|
21652
|
-
column:
|
|
21651
|
+
line: 54,
|
|
21652
|
+
column: 10
|
|
21653
21653
|
},
|
|
21654
21654
|
end: {
|
|
21655
|
-
line:
|
|
21656
|
-
column:
|
|
21655
|
+
line: 76,
|
|
21656
|
+
column: 26
|
|
21657
21657
|
}
|
|
21658
21658
|
},
|
|
21659
21659
|
"7": {
|
|
21660
21660
|
start: {
|
|
21661
|
-
line:
|
|
21662
|
-
column:
|
|
21661
|
+
line: 59,
|
|
21662
|
+
column: 27
|
|
21663
21663
|
},
|
|
21664
21664
|
end: {
|
|
21665
|
-
line:
|
|
21666
|
-
column:
|
|
21665
|
+
line: 59,
|
|
21666
|
+
column: 62
|
|
21667
21667
|
}
|
|
21668
21668
|
}
|
|
21669
21669
|
},
|
|
@@ -21686,7 +21686,7 @@ function cov_27t2v2dfma() {
|
|
|
21686
21686
|
column: 78
|
|
21687
21687
|
},
|
|
21688
21688
|
end: {
|
|
21689
|
-
line:
|
|
21689
|
+
line: 81,
|
|
21690
21690
|
column: 1
|
|
21691
21691
|
}
|
|
21692
21692
|
},
|
|
@@ -21696,49 +21696,49 @@ function cov_27t2v2dfma() {
|
|
|
21696
21696
|
name: "(anonymous_1)",
|
|
21697
21697
|
decl: {
|
|
21698
21698
|
start: {
|
|
21699
|
-
line:
|
|
21700
|
-
column:
|
|
21699
|
+
line: 53,
|
|
21700
|
+
column: 19
|
|
21701
21701
|
},
|
|
21702
21702
|
end: {
|
|
21703
|
-
line:
|
|
21704
|
-
column:
|
|
21703
|
+
line: 53,
|
|
21704
|
+
column: 20
|
|
21705
21705
|
}
|
|
21706
21706
|
},
|
|
21707
21707
|
loc: {
|
|
21708
21708
|
start: {
|
|
21709
|
-
line:
|
|
21710
|
-
column:
|
|
21709
|
+
line: 54,
|
|
21710
|
+
column: 10
|
|
21711
21711
|
},
|
|
21712
21712
|
end: {
|
|
21713
|
-
line:
|
|
21714
|
-
column:
|
|
21713
|
+
line: 76,
|
|
21714
|
+
column: 26
|
|
21715
21715
|
}
|
|
21716
21716
|
},
|
|
21717
|
-
line:
|
|
21717
|
+
line: 54
|
|
21718
21718
|
},
|
|
21719
21719
|
"2": {
|
|
21720
21720
|
name: "(anonymous_2)",
|
|
21721
21721
|
decl: {
|
|
21722
21722
|
start: {
|
|
21723
|
-
line:
|
|
21724
|
-
column:
|
|
21723
|
+
line: 59,
|
|
21724
|
+
column: 21
|
|
21725
21725
|
},
|
|
21726
21726
|
end: {
|
|
21727
|
-
line:
|
|
21728
|
-
column:
|
|
21727
|
+
line: 59,
|
|
21728
|
+
column: 22
|
|
21729
21729
|
}
|
|
21730
21730
|
},
|
|
21731
21731
|
loc: {
|
|
21732
21732
|
start: {
|
|
21733
|
-
line:
|
|
21734
|
-
column:
|
|
21733
|
+
line: 59,
|
|
21734
|
+
column: 27
|
|
21735
21735
|
},
|
|
21736
21736
|
end: {
|
|
21737
|
-
line:
|
|
21738
|
-
column:
|
|
21737
|
+
line: 59,
|
|
21738
|
+
column: 62
|
|
21739
21739
|
}
|
|
21740
21740
|
},
|
|
21741
|
-
line:
|
|
21741
|
+
line: 59
|
|
21742
21742
|
}
|
|
21743
21743
|
},
|
|
21744
21744
|
branchMap: {
|
|
@@ -21769,35 +21769,35 @@ function cov_27t2v2dfma() {
|
|
|
21769
21769
|
"1": {
|
|
21770
21770
|
loc: {
|
|
21771
21771
|
start: {
|
|
21772
|
-
line:
|
|
21773
|
-
column:
|
|
21772
|
+
line: 59,
|
|
21773
|
+
column: 27
|
|
21774
21774
|
},
|
|
21775
21775
|
end: {
|
|
21776
|
-
line:
|
|
21777
|
-
column:
|
|
21776
|
+
line: 59,
|
|
21777
|
+
column: 62
|
|
21778
21778
|
}
|
|
21779
21779
|
},
|
|
21780
21780
|
type: "binary-expr",
|
|
21781
21781
|
locations: [{
|
|
21782
21782
|
start: {
|
|
21783
|
-
line:
|
|
21784
|
-
column:
|
|
21783
|
+
line: 59,
|
|
21784
|
+
column: 27
|
|
21785
21785
|
},
|
|
21786
21786
|
end: {
|
|
21787
|
-
line:
|
|
21788
|
-
column:
|
|
21787
|
+
line: 59,
|
|
21788
|
+
column: 31
|
|
21789
21789
|
}
|
|
21790
21790
|
}, {
|
|
21791
21791
|
start: {
|
|
21792
|
-
line:
|
|
21793
|
-
column:
|
|
21792
|
+
line: 59,
|
|
21793
|
+
column: 35
|
|
21794
21794
|
},
|
|
21795
21795
|
end: {
|
|
21796
|
-
line:
|
|
21797
|
-
column:
|
|
21796
|
+
line: 59,
|
|
21797
|
+
column: 62
|
|
21798
21798
|
}
|
|
21799
21799
|
}],
|
|
21800
|
-
line:
|
|
21800
|
+
line: 59
|
|
21801
21801
|
}
|
|
21802
21802
|
},
|
|
21803
21803
|
s: {
|
|
@@ -21820,7 +21820,7 @@ function cov_27t2v2dfma() {
|
|
|
21820
21820
|
"1": [0, 0]
|
|
21821
21821
|
},
|
|
21822
21822
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
21823
|
-
hash: "
|
|
21823
|
+
hash: "66953ee2fd30dd6f1d7a05289ffedd161c9d42c2"
|
|
21824
21824
|
};
|
|
21825
21825
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
21826
21826
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -21851,11 +21851,13 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21851
21851
|
enableAnimation = _ref3.enableAnimation,
|
|
21852
21852
|
cards = _ref3.cards,
|
|
21853
21853
|
gridCount = _ref3.gridCount,
|
|
21854
|
+
isBorderRequired = _ref3.isBorderRequired,
|
|
21854
21855
|
src = _ref3.backgroundImage.src;
|
|
21855
21856
|
var baseClasses = (cov_27t2v2dfma().s[3]++, "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center");
|
|
21856
|
-
var gridBaseClasses = (cov_27t2v2dfma().s[4]++, classnames("col-span-12
|
|
21857
|
+
var gridBaseClasses = (cov_27t2v2dfma().s[4]++, classnames("col-span-12 h-56 flex flex-col gap-2 ns-card-animation cursor-pointer", {
|
|
21857
21858
|
"sm:col-span-6 lg:col-span-4": gridCount === 3,
|
|
21858
|
-
"sm:col-span-6": gridCount === 2
|
|
21859
|
+
"sm:col-span-6": gridCount === 2,
|
|
21860
|
+
"lg:col-span-3 sm:col-span-6": gridCount === 4
|
|
21859
21861
|
}));
|
|
21860
21862
|
cov_27t2v2dfma().s[5]++;
|
|
21861
21863
|
return /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
@@ -21872,7 +21874,11 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21872
21874
|
className: "col-span-12",
|
|
21873
21875
|
component: "h1",
|
|
21874
21876
|
style: design.title
|
|
21875
|
-
}, title),
|
|
21877
|
+
}, title), /*#__PURE__*/React__default.createElement("div", {
|
|
21878
|
+
className: classnames("col-span-12 grid grid-cols-12 gap-4", {
|
|
21879
|
+
"lg:divide-x": isBorderRequired
|
|
21880
|
+
})
|
|
21881
|
+
}, cards.map(function (_ref4, index) {
|
|
21876
21882
|
var title = _ref4.title,
|
|
21877
21883
|
description = _ref4.description,
|
|
21878
21884
|
href = _ref4.href;
|
|
@@ -21898,7 +21904,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21898
21904
|
component: "p",
|
|
21899
21905
|
style: design.cardDescription
|
|
21900
21906
|
}, description));
|
|
21901
|
-
}));
|
|
21907
|
+
})));
|
|
21902
21908
|
};
|
|
21903
21909
|
|
|
21904
21910
|
var lib = {};
|