@bigbinary/neeto-site-blocks 0.26.3 → 0.27.0
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 +476 -44
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +476 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1252,8 +1252,8 @@ function cov_26592p5fu3() {
|
|
|
1252
1252
|
return actualCoverage;
|
|
1253
1253
|
}
|
|
1254
1254
|
cov_26592p5fu3();
|
|
1255
|
-
function ownKeys$
|
|
1256
|
-
function _objectSpread$
|
|
1255
|
+
function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1256
|
+
function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1257
1257
|
var StyledWrapper = (cov_26592p5fu3().s[0]++, styled__default["default"].div(function (_ref) {
|
|
1258
1258
|
var _design$border, _design$borderTop, _design$borderTop2, _design$borderTop3, _design$borderBottom, _design$borderBottom2, _design$borderBottom3, _design$borderRight, _design$borderLeft, _design$border2;
|
|
1259
1259
|
var _ref$design = _ref.design,
|
|
@@ -1292,7 +1292,7 @@ var StyledWrapper = (cov_26592p5fu3().s[0]++, styled__default["default"].div(fun
|
|
|
1292
1292
|
var backgroundStyles = (cov_26592p5fu3().s[6]++, {
|
|
1293
1293
|
position: "relative",
|
|
1294
1294
|
zIndex: 0,
|
|
1295
|
-
"&::before": _objectSpread$
|
|
1295
|
+
"&::before": _objectSpread$9({
|
|
1296
1296
|
content: "''",
|
|
1297
1297
|
position: "absolute",
|
|
1298
1298
|
top: 0,
|
|
@@ -21704,7 +21704,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21704
21704
|
|
|
21705
21705
|
function cov_27t2v2dfma() {
|
|
21706
21706
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithCustomizableGrid.jsx";
|
|
21707
|
-
var hash = "
|
|
21707
|
+
var hash = "0318532e35bd61f5b90f5798504b9b178c6bb5a0";
|
|
21708
21708
|
var global = new Function("return this")();
|
|
21709
21709
|
var gcv = "__coverage__";
|
|
21710
21710
|
var coverageData = {
|
|
@@ -21716,7 +21716,7 @@ function cov_27t2v2dfma() {
|
|
|
21716
21716
|
column: 34
|
|
21717
21717
|
},
|
|
21718
21718
|
end: {
|
|
21719
|
-
line:
|
|
21719
|
+
line: 91,
|
|
21720
21720
|
column: 1
|
|
21721
21721
|
}
|
|
21722
21722
|
},
|
|
@@ -21742,51 +21742,51 @@ function cov_27t2v2dfma() {
|
|
|
21742
21742
|
},
|
|
21743
21743
|
"3": {
|
|
21744
21744
|
start: {
|
|
21745
|
-
line:
|
|
21746
|
-
column:
|
|
21745
|
+
line: 23,
|
|
21746
|
+
column: 4
|
|
21747
21747
|
},
|
|
21748
21748
|
end: {
|
|
21749
|
-
line:
|
|
21750
|
-
column:
|
|
21749
|
+
line: 23,
|
|
21750
|
+
column: 63
|
|
21751
21751
|
}
|
|
21752
21752
|
},
|
|
21753
21753
|
"4": {
|
|
21754
21754
|
start: {
|
|
21755
|
-
line:
|
|
21755
|
+
line: 25,
|
|
21756
21756
|
column: 26
|
|
21757
21757
|
},
|
|
21758
21758
|
end: {
|
|
21759
|
-
line:
|
|
21759
|
+
line: 32,
|
|
21760
21760
|
column: 3
|
|
21761
21761
|
}
|
|
21762
21762
|
},
|
|
21763
21763
|
"5": {
|
|
21764
21764
|
start: {
|
|
21765
|
-
line:
|
|
21765
|
+
line: 34,
|
|
21766
21766
|
column: 2
|
|
21767
21767
|
},
|
|
21768
21768
|
end: {
|
|
21769
|
-
line:
|
|
21769
|
+
line: 90,
|
|
21770
21770
|
column: 4
|
|
21771
21771
|
}
|
|
21772
21772
|
},
|
|
21773
21773
|
"6": {
|
|
21774
21774
|
start: {
|
|
21775
|
-
line:
|
|
21775
|
+
line: 57,
|
|
21776
21776
|
column: 10
|
|
21777
21777
|
},
|
|
21778
21778
|
end: {
|
|
21779
|
-
line:
|
|
21779
|
+
line: 79,
|
|
21780
21780
|
column: 26
|
|
21781
21781
|
}
|
|
21782
21782
|
},
|
|
21783
21783
|
"7": {
|
|
21784
21784
|
start: {
|
|
21785
|
-
line:
|
|
21785
|
+
line: 62,
|
|
21786
21786
|
column: 27
|
|
21787
21787
|
},
|
|
21788
21788
|
end: {
|
|
21789
|
-
line:
|
|
21789
|
+
line: 62,
|
|
21790
21790
|
column: 62
|
|
21791
21791
|
}
|
|
21792
21792
|
}
|
|
@@ -21810,7 +21810,7 @@ function cov_27t2v2dfma() {
|
|
|
21810
21810
|
column: 78
|
|
21811
21811
|
},
|
|
21812
21812
|
end: {
|
|
21813
|
-
line:
|
|
21813
|
+
line: 91,
|
|
21814
21814
|
column: 1
|
|
21815
21815
|
}
|
|
21816
21816
|
},
|
|
@@ -21820,49 +21820,49 @@ function cov_27t2v2dfma() {
|
|
|
21820
21820
|
name: "(anonymous_1)",
|
|
21821
21821
|
decl: {
|
|
21822
21822
|
start: {
|
|
21823
|
-
line:
|
|
21823
|
+
line: 56,
|
|
21824
21824
|
column: 19
|
|
21825
21825
|
},
|
|
21826
21826
|
end: {
|
|
21827
|
-
line:
|
|
21827
|
+
line: 56,
|
|
21828
21828
|
column: 20
|
|
21829
21829
|
}
|
|
21830
21830
|
},
|
|
21831
21831
|
loc: {
|
|
21832
21832
|
start: {
|
|
21833
|
-
line:
|
|
21833
|
+
line: 57,
|
|
21834
21834
|
column: 10
|
|
21835
21835
|
},
|
|
21836
21836
|
end: {
|
|
21837
|
-
line:
|
|
21837
|
+
line: 79,
|
|
21838
21838
|
column: 26
|
|
21839
21839
|
}
|
|
21840
21840
|
},
|
|
21841
|
-
line:
|
|
21841
|
+
line: 57
|
|
21842
21842
|
},
|
|
21843
21843
|
"2": {
|
|
21844
21844
|
name: "(anonymous_2)",
|
|
21845
21845
|
decl: {
|
|
21846
21846
|
start: {
|
|
21847
|
-
line:
|
|
21847
|
+
line: 62,
|
|
21848
21848
|
column: 21
|
|
21849
21849
|
},
|
|
21850
21850
|
end: {
|
|
21851
|
-
line:
|
|
21851
|
+
line: 62,
|
|
21852
21852
|
column: 22
|
|
21853
21853
|
}
|
|
21854
21854
|
},
|
|
21855
21855
|
loc: {
|
|
21856
21856
|
start: {
|
|
21857
|
-
line:
|
|
21857
|
+
line: 62,
|
|
21858
21858
|
column: 27
|
|
21859
21859
|
},
|
|
21860
21860
|
end: {
|
|
21861
|
-
line:
|
|
21861
|
+
line: 62,
|
|
21862
21862
|
column: 62
|
|
21863
21863
|
}
|
|
21864
21864
|
},
|
|
21865
|
-
line:
|
|
21865
|
+
line: 62
|
|
21866
21866
|
}
|
|
21867
21867
|
},
|
|
21868
21868
|
branchMap: {
|
|
@@ -21893,68 +21893,68 @@ function cov_27t2v2dfma() {
|
|
|
21893
21893
|
"1": {
|
|
21894
21894
|
loc: {
|
|
21895
21895
|
start: {
|
|
21896
|
-
line:
|
|
21896
|
+
line: 62,
|
|
21897
21897
|
column: 27
|
|
21898
21898
|
},
|
|
21899
21899
|
end: {
|
|
21900
|
-
line:
|
|
21900
|
+
line: 62,
|
|
21901
21901
|
column: 62
|
|
21902
21902
|
}
|
|
21903
21903
|
},
|
|
21904
21904
|
type: "binary-expr",
|
|
21905
21905
|
locations: [{
|
|
21906
21906
|
start: {
|
|
21907
|
-
line:
|
|
21907
|
+
line: 62,
|
|
21908
21908
|
column: 27
|
|
21909
21909
|
},
|
|
21910
21910
|
end: {
|
|
21911
|
-
line:
|
|
21911
|
+
line: 62,
|
|
21912
21912
|
column: 31
|
|
21913
21913
|
}
|
|
21914
21914
|
}, {
|
|
21915
21915
|
start: {
|
|
21916
|
-
line:
|
|
21916
|
+
line: 62,
|
|
21917
21917
|
column: 35
|
|
21918
21918
|
},
|
|
21919
21919
|
end: {
|
|
21920
|
-
line:
|
|
21920
|
+
line: 62,
|
|
21921
21921
|
column: 62
|
|
21922
21922
|
}
|
|
21923
21923
|
}],
|
|
21924
|
-
line:
|
|
21924
|
+
line: 62
|
|
21925
21925
|
},
|
|
21926
21926
|
"2": {
|
|
21927
21927
|
loc: {
|
|
21928
21928
|
start: {
|
|
21929
|
-
line:
|
|
21929
|
+
line: 81,
|
|
21930
21930
|
column: 9
|
|
21931
21931
|
},
|
|
21932
21932
|
end: {
|
|
21933
|
-
line:
|
|
21933
|
+
line: 87,
|
|
21934
21934
|
column: 9
|
|
21935
21935
|
}
|
|
21936
21936
|
},
|
|
21937
21937
|
type: "binary-expr",
|
|
21938
21938
|
locations: [{
|
|
21939
21939
|
start: {
|
|
21940
|
-
line:
|
|
21940
|
+
line: 81,
|
|
21941
21941
|
column: 9
|
|
21942
21942
|
},
|
|
21943
21943
|
end: {
|
|
21944
|
-
line:
|
|
21944
|
+
line: 81,
|
|
21945
21945
|
column: 25
|
|
21946
21946
|
}
|
|
21947
21947
|
}, {
|
|
21948
21948
|
start: {
|
|
21949
|
-
line:
|
|
21949
|
+
line: 82,
|
|
21950
21950
|
column: 10
|
|
21951
21951
|
},
|
|
21952
21952
|
end: {
|
|
21953
|
-
line:
|
|
21953
|
+
line: 86,
|
|
21954
21954
|
column: 12
|
|
21955
21955
|
}
|
|
21956
21956
|
}],
|
|
21957
|
-
line:
|
|
21957
|
+
line: 81
|
|
21958
21958
|
}
|
|
21959
21959
|
},
|
|
21960
21960
|
s: {
|
|
@@ -21978,7 +21978,7 @@ function cov_27t2v2dfma() {
|
|
|
21978
21978
|
"2": [0, 0]
|
|
21979
21979
|
},
|
|
21980
21980
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
21981
|
-
hash: "
|
|
21981
|
+
hash: "0318532e35bd61f5b90f5798504b9b178c6bb5a0"
|
|
21982
21982
|
};
|
|
21983
21983
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
21984
21984
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -22013,7 +22013,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
22013
22013
|
button = _ref3.button,
|
|
22014
22014
|
isBorderRequired = _ref3.isBorderRequired,
|
|
22015
22015
|
src = _ref3.backgroundImage.src;
|
|
22016
|
-
var baseClasses = (cov_27t2v2dfma().s[3]++, "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center");
|
|
22016
|
+
var baseClasses = (cov_27t2v2dfma().s[3]++, "grid grid-cols-12 sm:gap-x-4 gap-y-4 items-center ns-card");
|
|
22017
22017
|
var gridBaseClasses = (cov_27t2v2dfma().s[4]++, classnames("col-span-12 h-56 flex flex-col gap-2 ns-card-animation cursor-pointer", {
|
|
22018
22018
|
"sm:col-span-6 lg:col-span-4": gridCount === 3,
|
|
22019
22019
|
"sm:col-span-6": gridCount === 2,
|
|
@@ -24924,6 +24924,437 @@ var CardsWithGallery = function CardsWithGallery(_ref) {
|
|
|
24924
24924
|
}, title), renderFeature()));
|
|
24925
24925
|
};
|
|
24926
24926
|
|
|
24927
|
+
function cov_1ewhd24l3e() {
|
|
24928
|
+
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithImage.jsx";
|
|
24929
|
+
var hash = "a75d275917730ebe5fd03d1bb0f427cc67fa2f65";
|
|
24930
|
+
var global = new Function("return this")();
|
|
24931
|
+
var gcv = "__coverage__";
|
|
24932
|
+
var coverageData = {
|
|
24933
|
+
path: "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithImage.jsx",
|
|
24934
|
+
statementMap: {
|
|
24935
|
+
"0": {
|
|
24936
|
+
start: {
|
|
24937
|
+
line: 9,
|
|
24938
|
+
column: 23
|
|
24939
|
+
},
|
|
24940
|
+
end: {
|
|
24941
|
+
line: 105,
|
|
24942
|
+
column: 1
|
|
24943
|
+
}
|
|
24944
|
+
},
|
|
24945
|
+
"1": {
|
|
24946
|
+
start: {
|
|
24947
|
+
line: 10,
|
|
24948
|
+
column: 33
|
|
24949
|
+
},
|
|
24950
|
+
end: {
|
|
24951
|
+
line: 10,
|
|
24952
|
+
column: 47
|
|
24953
|
+
}
|
|
24954
|
+
},
|
|
24955
|
+
"2": {
|
|
24956
|
+
start: {
|
|
24957
|
+
line: 17,
|
|
24958
|
+
column: 6
|
|
24959
|
+
},
|
|
24960
|
+
end: {
|
|
24961
|
+
line: 17,
|
|
24962
|
+
column: 16
|
|
24963
|
+
}
|
|
24964
|
+
},
|
|
24965
|
+
"3": {
|
|
24966
|
+
start: {
|
|
24967
|
+
line: 19,
|
|
24968
|
+
column: 22
|
|
24969
|
+
},
|
|
24970
|
+
end: {
|
|
24971
|
+
line: 19,
|
|
24972
|
+
column: 70
|
|
24973
|
+
}
|
|
24974
|
+
},
|
|
24975
|
+
"4": {
|
|
24976
|
+
start: {
|
|
24977
|
+
line: 22,
|
|
24978
|
+
column: 4
|
|
24979
|
+
},
|
|
24980
|
+
end: {
|
|
24981
|
+
line: 22,
|
|
24982
|
+
column: 143
|
|
24983
|
+
}
|
|
24984
|
+
},
|
|
24985
|
+
"5": {
|
|
24986
|
+
start: {
|
|
24987
|
+
line: 24,
|
|
24988
|
+
column: 2
|
|
24989
|
+
},
|
|
24990
|
+
end: {
|
|
24991
|
+
line: 104,
|
|
24992
|
+
column: 4
|
|
24993
|
+
}
|
|
24994
|
+
},
|
|
24995
|
+
"6": {
|
|
24996
|
+
start: {
|
|
24997
|
+
line: 51,
|
|
24998
|
+
column: 10
|
|
24999
|
+
},
|
|
25000
|
+
end: {
|
|
25001
|
+
line: 81,
|
|
25002
|
+
column: 26
|
|
25003
|
+
}
|
|
25004
|
+
},
|
|
25005
|
+
"7": {
|
|
25006
|
+
start: {
|
|
25007
|
+
line: 60,
|
|
25008
|
+
column: 27
|
|
25009
|
+
},
|
|
25010
|
+
end: {
|
|
25011
|
+
line: 60,
|
|
25012
|
+
column: 62
|
|
25013
|
+
}
|
|
25014
|
+
},
|
|
25015
|
+
"8": {
|
|
25016
|
+
start: {
|
|
25017
|
+
line: 98,
|
|
25018
|
+
column: 26
|
|
25019
|
+
},
|
|
25020
|
+
end: {
|
|
25021
|
+
line: 98,
|
|
25022
|
+
column: 60
|
|
25023
|
+
}
|
|
25024
|
+
}
|
|
25025
|
+
},
|
|
25026
|
+
fnMap: {
|
|
25027
|
+
"0": {
|
|
25028
|
+
name: "(anonymous_0)",
|
|
25029
|
+
decl: {
|
|
25030
|
+
start: {
|
|
25031
|
+
line: 9,
|
|
25032
|
+
column: 23
|
|
25033
|
+
},
|
|
25034
|
+
end: {
|
|
25035
|
+
line: 9,
|
|
25036
|
+
column: 24
|
|
25037
|
+
}
|
|
25038
|
+
},
|
|
25039
|
+
loc: {
|
|
25040
|
+
start: {
|
|
25041
|
+
line: 9,
|
|
25042
|
+
column: 67
|
|
25043
|
+
},
|
|
25044
|
+
end: {
|
|
25045
|
+
line: 105,
|
|
25046
|
+
column: 1
|
|
25047
|
+
}
|
|
25048
|
+
},
|
|
25049
|
+
line: 9
|
|
25050
|
+
},
|
|
25051
|
+
"1": {
|
|
25052
|
+
name: "(anonymous_1)",
|
|
25053
|
+
decl: {
|
|
25054
|
+
start: {
|
|
25055
|
+
line: 50,
|
|
25056
|
+
column: 19
|
|
25057
|
+
},
|
|
25058
|
+
end: {
|
|
25059
|
+
line: 50,
|
|
25060
|
+
column: 20
|
|
25061
|
+
}
|
|
25062
|
+
},
|
|
25063
|
+
loc: {
|
|
25064
|
+
start: {
|
|
25065
|
+
line: 51,
|
|
25066
|
+
column: 10
|
|
25067
|
+
},
|
|
25068
|
+
end: {
|
|
25069
|
+
line: 81,
|
|
25070
|
+
column: 26
|
|
25071
|
+
}
|
|
25072
|
+
},
|
|
25073
|
+
line: 51
|
|
25074
|
+
},
|
|
25075
|
+
"2": {
|
|
25076
|
+
name: "(anonymous_2)",
|
|
25077
|
+
decl: {
|
|
25078
|
+
start: {
|
|
25079
|
+
line: 60,
|
|
25080
|
+
column: 21
|
|
25081
|
+
},
|
|
25082
|
+
end: {
|
|
25083
|
+
line: 60,
|
|
25084
|
+
column: 22
|
|
25085
|
+
}
|
|
25086
|
+
},
|
|
25087
|
+
loc: {
|
|
25088
|
+
start: {
|
|
25089
|
+
line: 60,
|
|
25090
|
+
column: 27
|
|
25091
|
+
},
|
|
25092
|
+
end: {
|
|
25093
|
+
line: 60,
|
|
25094
|
+
column: 62
|
|
25095
|
+
}
|
|
25096
|
+
},
|
|
25097
|
+
line: 60
|
|
25098
|
+
},
|
|
25099
|
+
"3": {
|
|
25100
|
+
name: "(anonymous_3)",
|
|
25101
|
+
decl: {
|
|
25102
|
+
start: {
|
|
25103
|
+
line: 98,
|
|
25104
|
+
column: 20
|
|
25105
|
+
},
|
|
25106
|
+
end: {
|
|
25107
|
+
line: 98,
|
|
25108
|
+
column: 21
|
|
25109
|
+
}
|
|
25110
|
+
},
|
|
25111
|
+
loc: {
|
|
25112
|
+
start: {
|
|
25113
|
+
line: 98,
|
|
25114
|
+
column: 26
|
|
25115
|
+
},
|
|
25116
|
+
end: {
|
|
25117
|
+
line: 98,
|
|
25118
|
+
column: 60
|
|
25119
|
+
}
|
|
25120
|
+
},
|
|
25121
|
+
line: 98
|
|
25122
|
+
}
|
|
25123
|
+
},
|
|
25124
|
+
branchMap: {
|
|
25125
|
+
"0": {
|
|
25126
|
+
loc: {
|
|
25127
|
+
start: {
|
|
25128
|
+
line: 9,
|
|
25129
|
+
column: 42
|
|
25130
|
+
},
|
|
25131
|
+
end: {
|
|
25132
|
+
line: 9,
|
|
25133
|
+
column: 56
|
|
25134
|
+
}
|
|
25135
|
+
},
|
|
25136
|
+
type: "default-arg",
|
|
25137
|
+
locations: [{
|
|
25138
|
+
start: {
|
|
25139
|
+
line: 9,
|
|
25140
|
+
column: 54
|
|
25141
|
+
},
|
|
25142
|
+
end: {
|
|
25143
|
+
line: 9,
|
|
25144
|
+
column: 56
|
|
25145
|
+
}
|
|
25146
|
+
}],
|
|
25147
|
+
line: 9
|
|
25148
|
+
},
|
|
25149
|
+
"1": {
|
|
25150
|
+
loc: {
|
|
25151
|
+
start: {
|
|
25152
|
+
line: 60,
|
|
25153
|
+
column: 27
|
|
25154
|
+
},
|
|
25155
|
+
end: {
|
|
25156
|
+
line: 60,
|
|
25157
|
+
column: 62
|
|
25158
|
+
}
|
|
25159
|
+
},
|
|
25160
|
+
type: "binary-expr",
|
|
25161
|
+
locations: [{
|
|
25162
|
+
start: {
|
|
25163
|
+
line: 60,
|
|
25164
|
+
column: 27
|
|
25165
|
+
},
|
|
25166
|
+
end: {
|
|
25167
|
+
line: 60,
|
|
25168
|
+
column: 31
|
|
25169
|
+
}
|
|
25170
|
+
}, {
|
|
25171
|
+
start: {
|
|
25172
|
+
line: 60,
|
|
25173
|
+
column: 35
|
|
25174
|
+
},
|
|
25175
|
+
end: {
|
|
25176
|
+
line: 60,
|
|
25177
|
+
column: 62
|
|
25178
|
+
}
|
|
25179
|
+
}],
|
|
25180
|
+
line: 60
|
|
25181
|
+
},
|
|
25182
|
+
"2": {
|
|
25183
|
+
loc: {
|
|
25184
|
+
start: {
|
|
25185
|
+
line: 83,
|
|
25186
|
+
column: 9
|
|
25187
|
+
},
|
|
25188
|
+
end: {
|
|
25189
|
+
line: 101,
|
|
25190
|
+
column: 9
|
|
25191
|
+
}
|
|
25192
|
+
},
|
|
25193
|
+
type: "binary-expr",
|
|
25194
|
+
locations: [{
|
|
25195
|
+
start: {
|
|
25196
|
+
line: 83,
|
|
25197
|
+
column: 9
|
|
25198
|
+
},
|
|
25199
|
+
end: {
|
|
25200
|
+
line: 83,
|
|
25201
|
+
column: 25
|
|
25202
|
+
}
|
|
25203
|
+
}, {
|
|
25204
|
+
start: {
|
|
25205
|
+
line: 84,
|
|
25206
|
+
column: 10
|
|
25207
|
+
},
|
|
25208
|
+
end: {
|
|
25209
|
+
line: 100,
|
|
25210
|
+
column: 26
|
|
25211
|
+
}
|
|
25212
|
+
}],
|
|
25213
|
+
line: 83
|
|
25214
|
+
}
|
|
25215
|
+
},
|
|
25216
|
+
s: {
|
|
25217
|
+
"0": 0,
|
|
25218
|
+
"1": 0,
|
|
25219
|
+
"2": 0,
|
|
25220
|
+
"3": 0,
|
|
25221
|
+
"4": 0,
|
|
25222
|
+
"5": 0,
|
|
25223
|
+
"6": 0,
|
|
25224
|
+
"7": 0,
|
|
25225
|
+
"8": 0
|
|
25226
|
+
},
|
|
25227
|
+
f: {
|
|
25228
|
+
"0": 0,
|
|
25229
|
+
"1": 0,
|
|
25230
|
+
"2": 0,
|
|
25231
|
+
"3": 0
|
|
25232
|
+
},
|
|
25233
|
+
b: {
|
|
25234
|
+
"0": [0],
|
|
25235
|
+
"1": [0, 0],
|
|
25236
|
+
"2": [0, 0]
|
|
25237
|
+
},
|
|
25238
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
25239
|
+
hash: "a75d275917730ebe5fd03d1bb0f427cc67fa2f65"
|
|
25240
|
+
};
|
|
25241
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
25242
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
25243
|
+
coverage[path] = coverageData;
|
|
25244
|
+
}
|
|
25245
|
+
var actualCoverage = coverage[path];
|
|
25246
|
+
{
|
|
25247
|
+
// @ts-ignore
|
|
25248
|
+
cov_1ewhd24l3e = function () {
|
|
25249
|
+
return actualCoverage;
|
|
25250
|
+
};
|
|
25251
|
+
}
|
|
25252
|
+
return actualCoverage;
|
|
25253
|
+
}
|
|
25254
|
+
cov_1ewhd24l3e();
|
|
25255
|
+
function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25256
|
+
function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
25257
|
+
cov_1ewhd24l3e().s[0]++;
|
|
25258
|
+
var CardsWithImage = function CardsWithImage(_ref) {
|
|
25259
|
+
var configurations = _ref.configurations,
|
|
25260
|
+
_ref$className = _ref.className,
|
|
25261
|
+
className = _ref$className === void 0 ? (cov_1ewhd24l3e().b[0][0]++, "") : _ref$className,
|
|
25262
|
+
id = _ref.id;
|
|
25263
|
+
cov_1ewhd24l3e().f[0]++;
|
|
25264
|
+
var _ref2 = (cov_1ewhd24l3e().s[1]++, configurations),
|
|
25265
|
+
properties = _ref2.properties,
|
|
25266
|
+
design = _ref2.design;
|
|
25267
|
+
var _ref3 = (cov_1ewhd24l3e().s[2]++, properties),
|
|
25268
|
+
_ref3$content = _ref3.content,
|
|
25269
|
+
title = _ref3$content.title,
|
|
25270
|
+
description = _ref3$content.description,
|
|
25271
|
+
enableAnimation = _ref3.enableAnimation,
|
|
25272
|
+
cards = _ref3.cards,
|
|
25273
|
+
addMore = _ref3.addMore,
|
|
25274
|
+
src = _ref3.backgroundImage.src;
|
|
25275
|
+
var baseClasses = (cov_1ewhd24l3e().s[3]++, "grid grid-cols-12 gap-y-6 items-center ns-card");
|
|
25276
|
+
var gridBaseClasses = (cov_1ewhd24l3e().s[4]++, "relative sm:col-span-6 lg:col-span-4 col-span-12 grid grid-cols-6 h-40 justify-center items-center gap-2 ns-card-animation cursor-pointer");
|
|
25277
|
+
cov_1ewhd24l3e().s[5]++;
|
|
25278
|
+
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
25279
|
+
backgroundImage: mergeLeft({
|
|
25280
|
+
src: src
|
|
25281
|
+
}, design.backgroundImage),
|
|
25282
|
+
className: className,
|
|
25283
|
+
design: design.body,
|
|
25284
|
+
enableAnimation: enableAnimation,
|
|
25285
|
+
id: id,
|
|
25286
|
+
nestedClassName: baseClasses
|
|
25287
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
25288
|
+
isTitle: true,
|
|
25289
|
+
className: "col-span-12",
|
|
25290
|
+
component: "h1",
|
|
25291
|
+
style: design.title
|
|
25292
|
+
}, title), /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
25293
|
+
isTitle: true,
|
|
25294
|
+
className: "col-span-12 sm:col-span-8 sm:col-start-3",
|
|
25295
|
+
component: "h1",
|
|
25296
|
+
style: design.description
|
|
25297
|
+
}, description), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25298
|
+
className: "col-span-12 grid grid-cols-12 gap-y-4 sm:gap-6"
|
|
25299
|
+
}, cards.map(function (_ref4, index) {
|
|
25300
|
+
var title = _ref4.title,
|
|
25301
|
+
description = _ref4.description,
|
|
25302
|
+
href = _ref4.href,
|
|
25303
|
+
imageUrl = _ref4.imageUrl;
|
|
25304
|
+
cov_1ewhd24l3e().f[1]++;
|
|
25305
|
+
cov_1ewhd24l3e().s[6]++;
|
|
25306
|
+
return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
25307
|
+
className: gridBaseClasses,
|
|
25308
|
+
enableAnimation: enableAnimation,
|
|
25309
|
+
key: getUniqueKey(title, description, index),
|
|
25310
|
+
design: _objectSpread$8(_objectSpread$8({}, design.card), {}, {
|
|
25311
|
+
paddingHorizontal: 0,
|
|
25312
|
+
paddingVertical: 0
|
|
25313
|
+
}),
|
|
25314
|
+
onClick: function onClick() {
|
|
25315
|
+
cov_1ewhd24l3e().f[2]++;
|
|
25316
|
+
cov_1ewhd24l3e().s[7]++;
|
|
25317
|
+
return (cov_1ewhd24l3e().b[1][0]++, href) && (cov_1ewhd24l3e().b[1][1]++, window.open(href, "_blank"));
|
|
25318
|
+
}
|
|
25319
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
25320
|
+
className: "col-span-4",
|
|
25321
|
+
design: {
|
|
25322
|
+
paddingHorizontal: design.card.paddingHorizontal,
|
|
25323
|
+
paddingVertical: design.card.paddingVertical
|
|
25324
|
+
}
|
|
25325
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
25326
|
+
isTitle: true,
|
|
25327
|
+
className: "ns-card-truncation ns-card-line-clamp-4",
|
|
25328
|
+
component: "h1",
|
|
25329
|
+
style: design.cardTitle
|
|
25330
|
+
}, title)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
25331
|
+
className: "absolute right-0 bottom-0 flex items-end justify-end"
|
|
25332
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledImage, {
|
|
25333
|
+
design: design.cardImage,
|
|
25334
|
+
src: imageUrl
|
|
25335
|
+
})));
|
|
25336
|
+
}), (cov_1ewhd24l3e().b[2][0]++, cards.length > 1) && (cov_1ewhd24l3e().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
25337
|
+
className: "ns-card-animation col-span-12 flex h-40 items-center justify-center transition-all duration-300 ease-in-out sm:col-span-6 lg:col-span-4",
|
|
25338
|
+
enableAnimation: enableAnimation,
|
|
25339
|
+
design: _objectSpread$8(_objectSpread$8({}, design.card), {}, {
|
|
25340
|
+
paddingHorizontal: 0,
|
|
25341
|
+
paddingVertical: 0,
|
|
25342
|
+
backgroundColor: "transparent"
|
|
25343
|
+
})
|
|
25344
|
+
}, /*#__PURE__*/React__default["default"].createElement(LinkElement, _extends__default["default"]({
|
|
25345
|
+
className: "col-span-12 flex items-center justify-center gap-x-2",
|
|
25346
|
+
style: design.cardLink
|
|
25347
|
+
}, addMore, {
|
|
25348
|
+
icon: function icon() {
|
|
25349
|
+
cov_1ewhd24l3e().f[3]++;
|
|
25350
|
+
cov_1ewhd24l3e().s[8]++;
|
|
25351
|
+
return renderIcon({
|
|
25352
|
+
name: addMore.icon
|
|
25353
|
+
});
|
|
25354
|
+
}
|
|
25355
|
+
}))))));
|
|
25356
|
+
};
|
|
25357
|
+
|
|
24927
25358
|
function cov_ztzwtjaoj() {
|
|
24928
25359
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CtaClassic.jsx";
|
|
24929
25360
|
var hash = "b321ad296a4d3d9c9350ad0fdd838bf04cceecca";
|
|
@@ -53550,6 +53981,7 @@ exports.CardsClassic = CardsClassic;
|
|
|
53550
53981
|
exports.CardsInGridView = CardsInGridView;
|
|
53551
53982
|
exports.CardsWithCustomizableGrid = CardsWithCustomizableGrid;
|
|
53552
53983
|
exports.CardsWithGallery = CardsWithGallery;
|
|
53984
|
+
exports.CardsWithImage = CardsWithImage;
|
|
53553
53985
|
exports.CtaClassic = CtaClassic;
|
|
53554
53986
|
exports.CtaWithEmailAction = CtaWithEmailAction;
|
|
53555
53987
|
exports.CtaWithLogo = CtaWithLogo;
|