@bigbinary/neeto-site-blocks 0.28.0 → 0.28.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 +87 -46
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +87 -46
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22297,7 +22297,7 @@ SwiperSlide.displayName = 'SwiperSlide';
|
|
|
22297
22297
|
|
|
22298
22298
|
function cov_28vs9apug9() {
|
|
22299
22299
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsInGridView.jsx";
|
|
22300
|
-
var hash = "
|
|
22300
|
+
var hash = "736a81b1388a09af42d03fbc851c3b42e91dce68";
|
|
22301
22301
|
var global = new Function("return this")();
|
|
22302
22302
|
var gcv = "__coverage__";
|
|
22303
22303
|
var coverageData = {
|
|
@@ -22309,7 +22309,7 @@ function cov_28vs9apug9() {
|
|
|
22309
22309
|
column: 24
|
|
22310
22310
|
},
|
|
22311
22311
|
end: {
|
|
22312
|
-
line:
|
|
22312
|
+
line: 166,
|
|
22313
22313
|
column: 1
|
|
22314
22314
|
}
|
|
22315
22315
|
},
|
|
@@ -22469,7 +22469,7 @@ function cov_28vs9apug9() {
|
|
|
22469
22469
|
column: 2
|
|
22470
22470
|
},
|
|
22471
22471
|
end: {
|
|
22472
|
-
line:
|
|
22472
|
+
line: 165,
|
|
22473
22473
|
column: 4
|
|
22474
22474
|
}
|
|
22475
22475
|
},
|
|
@@ -22503,7 +22503,7 @@ function cov_28vs9apug9() {
|
|
|
22503
22503
|
column: 68
|
|
22504
22504
|
},
|
|
22505
22505
|
end: {
|
|
22506
|
-
line:
|
|
22506
|
+
line: 166,
|
|
22507
22507
|
column: 1
|
|
22508
22508
|
}
|
|
22509
22509
|
},
|
|
@@ -22833,7 +22833,7 @@ function cov_28vs9apug9() {
|
|
|
22833
22833
|
column: 7
|
|
22834
22834
|
},
|
|
22835
22835
|
end: {
|
|
22836
|
-
line:
|
|
22836
|
+
line: 163,
|
|
22837
22837
|
column: 7
|
|
22838
22838
|
}
|
|
22839
22839
|
},
|
|
@@ -22853,8 +22853,8 @@ function cov_28vs9apug9() {
|
|
|
22853
22853
|
column: 8
|
|
22854
22854
|
},
|
|
22855
22855
|
end: {
|
|
22856
|
-
line:
|
|
22857
|
-
column:
|
|
22856
|
+
line: 162,
|
|
22857
|
+
column: 14
|
|
22858
22858
|
}
|
|
22859
22859
|
}],
|
|
22860
22860
|
line: 155
|
|
@@ -22899,7 +22899,7 @@ function cov_28vs9apug9() {
|
|
|
22899
22899
|
"4": [0, 0]
|
|
22900
22900
|
},
|
|
22901
22901
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
22902
|
-
hash: "
|
|
22902
|
+
hash: "736a81b1388a09af42d03fbc851c3b42e91dce68"
|
|
22903
22903
|
};
|
|
22904
22904
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
22905
22905
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -23069,15 +23069,17 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
23069
23069
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
23070
23070
|
key: getUniqueKey(card.title, card.description, index)
|
|
23071
23071
|
}, renderCard(card));
|
|
23072
|
-
}), (cov_28vs9apug9().b[4][0]++, isButtonRequired) && (cov_28vs9apug9().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(
|
|
23072
|
+
}), (cov_28vs9apug9().b[4][0]++, isButtonRequired) && (cov_28vs9apug9().b[4][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23073
|
+
className: "col-span-12 grid grid-cols-12"
|
|
23074
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({
|
|
23073
23075
|
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
|
|
23074
23076
|
style: design.button
|
|
23075
|
-
}, button))));
|
|
23077
|
+
}, button)))));
|
|
23076
23078
|
};
|
|
23077
23079
|
|
|
23078
23080
|
function cov_27t2v2dfma() {
|
|
23079
23081
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithCustomizableGrid.jsx";
|
|
23080
|
-
var hash = "
|
|
23082
|
+
var hash = "5a172e7bd5926ffcce34b3c4e35d8aaa1ed851f5";
|
|
23081
23083
|
var global = new Function("return this")();
|
|
23082
23084
|
var gcv = "__coverage__";
|
|
23083
23085
|
var coverageData = {
|
|
@@ -23089,7 +23091,7 @@ function cov_27t2v2dfma() {
|
|
|
23089
23091
|
column: 34
|
|
23090
23092
|
},
|
|
23091
23093
|
end: {
|
|
23092
|
-
line:
|
|
23094
|
+
line: 98,
|
|
23093
23095
|
column: 1
|
|
23094
23096
|
}
|
|
23095
23097
|
},
|
|
@@ -23139,7 +23141,7 @@ function cov_27t2v2dfma() {
|
|
|
23139
23141
|
column: 2
|
|
23140
23142
|
},
|
|
23141
23143
|
end: {
|
|
23142
|
-
line:
|
|
23144
|
+
line: 97,
|
|
23143
23145
|
column: 4
|
|
23144
23146
|
}
|
|
23145
23147
|
},
|
|
@@ -23183,7 +23185,7 @@ function cov_27t2v2dfma() {
|
|
|
23183
23185
|
column: 78
|
|
23184
23186
|
},
|
|
23185
23187
|
end: {
|
|
23186
|
-
line:
|
|
23188
|
+
line: 98,
|
|
23187
23189
|
column: 1
|
|
23188
23190
|
}
|
|
23189
23191
|
},
|
|
@@ -23336,7 +23338,7 @@ function cov_27t2v2dfma() {
|
|
|
23336
23338
|
column: 9
|
|
23337
23339
|
},
|
|
23338
23340
|
end: {
|
|
23339
|
-
line:
|
|
23341
|
+
line: 94,
|
|
23340
23342
|
column: 9
|
|
23341
23343
|
}
|
|
23342
23344
|
},
|
|
@@ -23356,8 +23358,8 @@ function cov_27t2v2dfma() {
|
|
|
23356
23358
|
column: 10
|
|
23357
23359
|
},
|
|
23358
23360
|
end: {
|
|
23359
|
-
line:
|
|
23360
|
-
column:
|
|
23361
|
+
line: 93,
|
|
23362
|
+
column: 16
|
|
23361
23363
|
}
|
|
23362
23364
|
}],
|
|
23363
23365
|
line: 86
|
|
@@ -23385,7 +23387,7 @@ function cov_27t2v2dfma() {
|
|
|
23385
23387
|
"3": [0, 0]
|
|
23386
23388
|
},
|
|
23387
23389
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
23388
|
-
hash: "
|
|
23390
|
+
hash: "5a172e7bd5926ffcce34b3c4e35d8aaa1ed851f5"
|
|
23389
23391
|
};
|
|
23390
23392
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
23391
23393
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -23476,10 +23478,12 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
23476
23478
|
component: "p",
|
|
23477
23479
|
style: design.cardDescription
|
|
23478
23480
|
}, description));
|
|
23479
|
-
}), (cov_27t2v2dfma().b[3][0]++, isButtonRequired) && (cov_27t2v2dfma().b[3][1]++, /*#__PURE__*/React__default["default"].createElement(
|
|
23481
|
+
}), (cov_27t2v2dfma().b[3][0]++, isButtonRequired) && (cov_27t2v2dfma().b[3][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23482
|
+
className: "col-span-12 grid grid-cols-12"
|
|
23483
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({
|
|
23480
23484
|
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
|
|
23481
23485
|
style: design.button
|
|
23482
|
-
}, button)))));
|
|
23486
|
+
}, button))))));
|
|
23483
23487
|
};
|
|
23484
23488
|
|
|
23485
23489
|
var lib = {};
|
|
@@ -26338,7 +26342,7 @@ var CardsWithGallery = function CardsWithGallery(_ref) {
|
|
|
26338
26342
|
|
|
26339
26343
|
function cov_1ewhd24l3e() {
|
|
26340
26344
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/CardsWithImage.jsx";
|
|
26341
|
-
var hash = "
|
|
26345
|
+
var hash = "20a82252254c2358334d599164b13e89339dd385";
|
|
26342
26346
|
var global = new Function("return this")();
|
|
26343
26347
|
var gcv = "__coverage__";
|
|
26344
26348
|
var coverageData = {
|
|
@@ -26366,37 +26370,37 @@ function cov_1ewhd24l3e() {
|
|
|
26366
26370
|
},
|
|
26367
26371
|
"2": {
|
|
26368
26372
|
start: {
|
|
26369
|
-
line:
|
|
26373
|
+
line: 18,
|
|
26370
26374
|
column: 6
|
|
26371
26375
|
},
|
|
26372
26376
|
end: {
|
|
26373
|
-
line:
|
|
26377
|
+
line: 18,
|
|
26374
26378
|
column: 16
|
|
26375
26379
|
}
|
|
26376
26380
|
},
|
|
26377
26381
|
"3": {
|
|
26378
26382
|
start: {
|
|
26379
|
-
line:
|
|
26383
|
+
line: 20,
|
|
26380
26384
|
column: 22
|
|
26381
26385
|
},
|
|
26382
26386
|
end: {
|
|
26383
|
-
line:
|
|
26387
|
+
line: 20,
|
|
26384
26388
|
column: 70
|
|
26385
26389
|
}
|
|
26386
26390
|
},
|
|
26387
26391
|
"4": {
|
|
26388
26392
|
start: {
|
|
26389
|
-
line:
|
|
26393
|
+
line: 23,
|
|
26390
26394
|
column: 4
|
|
26391
26395
|
},
|
|
26392
26396
|
end: {
|
|
26393
|
-
line:
|
|
26397
|
+
line: 23,
|
|
26394
26398
|
column: 143
|
|
26395
26399
|
}
|
|
26396
26400
|
},
|
|
26397
26401
|
"5": {
|
|
26398
26402
|
start: {
|
|
26399
|
-
line:
|
|
26403
|
+
line: 25,
|
|
26400
26404
|
column: 2
|
|
26401
26405
|
},
|
|
26402
26406
|
end: {
|
|
@@ -26610,7 +26614,7 @@ function cov_1ewhd24l3e() {
|
|
|
26610
26614
|
},
|
|
26611
26615
|
end: {
|
|
26612
26616
|
line: 83,
|
|
26613
|
-
column:
|
|
26617
|
+
column: 26
|
|
26614
26618
|
}
|
|
26615
26619
|
}, {
|
|
26616
26620
|
start: {
|
|
@@ -26648,7 +26652,7 @@ function cov_1ewhd24l3e() {
|
|
|
26648
26652
|
"2": [0, 0]
|
|
26649
26653
|
},
|
|
26650
26654
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
26651
|
-
hash: "
|
|
26655
|
+
hash: "20a82252254c2358334d599164b13e89339dd385"
|
|
26652
26656
|
};
|
|
26653
26657
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
26654
26658
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -26683,6 +26687,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
26683
26687
|
enableAnimation = _ref3.enableAnimation,
|
|
26684
26688
|
cards = _ref3.cards,
|
|
26685
26689
|
addMore = _ref3.addMore,
|
|
26690
|
+
isAddMoreRequired = _ref3.isAddMoreRequired,
|
|
26686
26691
|
src = _ref3.backgroundImage.src;
|
|
26687
26692
|
var baseClasses = (cov_1ewhd24l3e().s[3]++, "grid grid-cols-12 gap-y-6 items-center ns-card");
|
|
26688
26693
|
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");
|
|
@@ -26702,7 +26707,6 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
26702
26707
|
component: "h1",
|
|
26703
26708
|
style: design.title
|
|
26704
26709
|
}, title), /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
26705
|
-
isTitle: true,
|
|
26706
26710
|
className: "col-span-12 sm:col-span-8 sm:col-start-3",
|
|
26707
26711
|
component: "h1",
|
|
26708
26712
|
style: design.description
|
|
@@ -26745,7 +26749,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
26745
26749
|
design: design.cardImage,
|
|
26746
26750
|
src: imageUrl
|
|
26747
26751
|
})));
|
|
26748
|
-
}), (cov_1ewhd24l3e().b[2][0]++,
|
|
26752
|
+
}), (cov_1ewhd24l3e().b[2][0]++, isAddMoreRequired) && (cov_1ewhd24l3e().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
26749
26753
|
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",
|
|
26750
26754
|
enableAnimation: enableAnimation,
|
|
26751
26755
|
design: _objectSpread$7(_objectSpread$7({}, design.card), {}, {
|
|
@@ -47036,7 +47040,7 @@ var FeatureWithJumboText = function FeatureWithJumboText(_ref) {
|
|
|
47036
47040
|
|
|
47037
47041
|
function cov_26jzxz7dh2() {
|
|
47038
47042
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/FeatureWithList.jsx";
|
|
47039
|
-
var hash = "
|
|
47043
|
+
var hash = "701620ec57e01715c8d92dbe6a539502685be02a";
|
|
47040
47044
|
var global = new Function("return this")();
|
|
47041
47045
|
var gcv = "__coverage__";
|
|
47042
47046
|
var coverageData = {
|
|
@@ -47048,7 +47052,7 @@ function cov_26jzxz7dh2() {
|
|
|
47048
47052
|
column: 24
|
|
47049
47053
|
},
|
|
47050
47054
|
end: {
|
|
47051
|
-
line:
|
|
47055
|
+
line: 89,
|
|
47052
47056
|
column: 1
|
|
47053
47057
|
}
|
|
47054
47058
|
},
|
|
@@ -47108,7 +47112,7 @@ function cov_26jzxz7dh2() {
|
|
|
47108
47112
|
column: 2
|
|
47109
47113
|
},
|
|
47110
47114
|
end: {
|
|
47111
|
-
line:
|
|
47115
|
+
line: 88,
|
|
47112
47116
|
column: 4
|
|
47113
47117
|
}
|
|
47114
47118
|
},
|
|
@@ -47118,7 +47122,7 @@ function cov_26jzxz7dh2() {
|
|
|
47118
47122
|
column: 12
|
|
47119
47123
|
},
|
|
47120
47124
|
end: {
|
|
47121
|
-
line:
|
|
47125
|
+
line: 76,
|
|
47122
47126
|
column: 28
|
|
47123
47127
|
}
|
|
47124
47128
|
}
|
|
@@ -47142,7 +47146,7 @@ function cov_26jzxz7dh2() {
|
|
|
47142
47146
|
column: 68
|
|
47143
47147
|
},
|
|
47144
47148
|
end: {
|
|
47145
|
-
line:
|
|
47149
|
+
line: 89,
|
|
47146
47150
|
column: 1
|
|
47147
47151
|
}
|
|
47148
47152
|
},
|
|
@@ -47166,7 +47170,7 @@ function cov_26jzxz7dh2() {
|
|
|
47166
47170
|
column: 12
|
|
47167
47171
|
},
|
|
47168
47172
|
end: {
|
|
47169
|
-
line:
|
|
47173
|
+
line: 76,
|
|
47170
47174
|
column: 28
|
|
47171
47175
|
}
|
|
47172
47176
|
},
|
|
@@ -47310,7 +47314,7 @@ function cov_26jzxz7dh2() {
|
|
|
47310
47314
|
"3": [0, 0]
|
|
47311
47315
|
},
|
|
47312
47316
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
47313
|
-
hash: "
|
|
47317
|
+
hash: "701620ec57e01715c8d92dbe6a539502685be02a"
|
|
47314
47318
|
};
|
|
47315
47319
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
47316
47320
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -47386,14 +47390,17 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
47386
47390
|
cov_26jzxz7dh2().f[1]++;
|
|
47387
47391
|
cov_26jzxz7dh2().s[7]++;
|
|
47388
47392
|
return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
47389
|
-
className: "
|
|
47393
|
+
className: "grid grid-cols-12 gap-x-2",
|
|
47390
47394
|
design: design.feature,
|
|
47391
47395
|
enableAnimation: enableAnimation,
|
|
47392
47396
|
key: getUniqueKey(featureTitle, index)
|
|
47397
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
47398
|
+
className: "col-span-1"
|
|
47393
47399
|
}, renderIcon(_objectSpread$5({
|
|
47394
47400
|
name: name
|
|
47395
|
-
}, design.featureIcon)), /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
47401
|
+
}, design.featureIcon))), /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
47396
47402
|
isTitle: true,
|
|
47403
|
+
className: "col-span-11 col-start-2 flex justify-start",
|
|
47397
47404
|
component: "p",
|
|
47398
47405
|
style: design.featureTitle
|
|
47399
47406
|
}, featureTitle));
|
|
@@ -49116,7 +49123,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
49116
49123
|
|
|
49117
49124
|
function cov_65dwd4u8l() {
|
|
49118
49125
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/FooterWithLinks.jsx";
|
|
49119
|
-
var hash = "
|
|
49126
|
+
var hash = "ff2ec2bc42677f7adb314bc423d236ab8ac60a96";
|
|
49120
49127
|
var global = new Function("return this")();
|
|
49121
49128
|
var gcv = "__coverage__";
|
|
49122
49129
|
var coverageData = {
|
|
@@ -49393,6 +49400,39 @@ function cov_65dwd4u8l() {
|
|
|
49393
49400
|
}
|
|
49394
49401
|
}],
|
|
49395
49402
|
line: 9
|
|
49403
|
+
},
|
|
49404
|
+
"1": {
|
|
49405
|
+
loc: {
|
|
49406
|
+
start: {
|
|
49407
|
+
line: 82,
|
|
49408
|
+
column: 20
|
|
49409
|
+
},
|
|
49410
|
+
end: {
|
|
49411
|
+
line: 82,
|
|
49412
|
+
column: 73
|
|
49413
|
+
}
|
|
49414
|
+
},
|
|
49415
|
+
type: "cond-expr",
|
|
49416
|
+
locations: [{
|
|
49417
|
+
start: {
|
|
49418
|
+
line: 82,
|
|
49419
|
+
column: 39
|
|
49420
|
+
},
|
|
49421
|
+
end: {
|
|
49422
|
+
line: 82,
|
|
49423
|
+
column: 56
|
|
49424
|
+
}
|
|
49425
|
+
}, {
|
|
49426
|
+
start: {
|
|
49427
|
+
line: 82,
|
|
49428
|
+
column: 59
|
|
49429
|
+
},
|
|
49430
|
+
end: {
|
|
49431
|
+
line: 82,
|
|
49432
|
+
column: 73
|
|
49433
|
+
}
|
|
49434
|
+
}],
|
|
49435
|
+
line: 82
|
|
49396
49436
|
}
|
|
49397
49437
|
},
|
|
49398
49438
|
s: {
|
|
@@ -49416,10 +49456,11 @@ function cov_65dwd4u8l() {
|
|
|
49416
49456
|
"5": 0
|
|
49417
49457
|
},
|
|
49418
49458
|
b: {
|
|
49419
|
-
"0": [0]
|
|
49459
|
+
"0": [0],
|
|
49460
|
+
"1": [0, 0]
|
|
49420
49461
|
},
|
|
49421
49462
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
49422
|
-
hash: "
|
|
49463
|
+
hash: "ff2ec2bc42677f7adb314bc423d236ab8ac60a96"
|
|
49423
49464
|
};
|
|
49424
49465
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
49425
49466
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -49535,7 +49576,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
49535
49576
|
}, contact.other.map(function (_ref6, index) {
|
|
49536
49577
|
var action = _ref6.action,
|
|
49537
49578
|
value = _ref6.value,
|
|
49538
|
-
|
|
49579
|
+
type = _ref6.type;
|
|
49539
49580
|
cov_65dwd4u8l().f[5]++;
|
|
49540
49581
|
cov_65dwd4u8l().s[9]++;
|
|
49541
49582
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
@@ -49544,7 +49585,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
49544
49585
|
action: action,
|
|
49545
49586
|
label: value,
|
|
49546
49587
|
style: design.columnLinks,
|
|
49547
|
-
to:
|
|
49588
|
+
to: type === "Email" ? (cov_65dwd4u8l().b[1][0]++, "mailto:".concat(value)) : (cov_65dwd4u8l().b[1][1]++, "tel:".concat(value))
|
|
49548
49589
|
}));
|
|
49549
49590
|
}))), /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
49550
49591
|
className: "col-span-12 mt-8 sm:mt-0",
|