@bigbinary/neeto-site-blocks 0.15.0 → 0.15.1
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 +67 -180
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +67 -180
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27710,7 +27710,7 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
27710
27710
|
|
|
27711
27711
|
function cov_2e4crtgg2y() {
|
|
27712
27712
|
var path = "/home/runner/work/neeto-site-blocks/neeto-site-blocks/src/components/Blocks/FeatureWithRightImage.jsx";
|
|
27713
|
-
var hash = "
|
|
27713
|
+
var hash = "ad5ec7ce535ccf38fd6914f014736c5b7d944a4d";
|
|
27714
27714
|
var global = new Function("return this")();
|
|
27715
27715
|
var gcv = "__coverage__";
|
|
27716
27716
|
var coverageData = {
|
|
@@ -27718,72 +27718,72 @@ function cov_2e4crtgg2y() {
|
|
|
27718
27718
|
statementMap: {
|
|
27719
27719
|
"0": {
|
|
27720
27720
|
start: {
|
|
27721
|
-
line:
|
|
27721
|
+
line: 11,
|
|
27722
27722
|
column: 30
|
|
27723
27723
|
},
|
|
27724
27724
|
end: {
|
|
27725
|
-
line:
|
|
27725
|
+
line: 62,
|
|
27726
27726
|
column: 1
|
|
27727
27727
|
}
|
|
27728
27728
|
},
|
|
27729
27729
|
"1": {
|
|
27730
27730
|
start: {
|
|
27731
|
-
line:
|
|
27731
|
+
line: 12,
|
|
27732
27732
|
column: 33
|
|
27733
27733
|
},
|
|
27734
27734
|
end: {
|
|
27735
|
-
line:
|
|
27735
|
+
line: 12,
|
|
27736
27736
|
column: 47
|
|
27737
27737
|
}
|
|
27738
27738
|
},
|
|
27739
27739
|
"2": {
|
|
27740
27740
|
start: {
|
|
27741
|
-
line:
|
|
27741
|
+
line: 17,
|
|
27742
27742
|
column: 6
|
|
27743
27743
|
},
|
|
27744
27744
|
end: {
|
|
27745
|
-
line:
|
|
27745
|
+
line: 17,
|
|
27746
27746
|
column: 16
|
|
27747
27747
|
}
|
|
27748
27748
|
},
|
|
27749
27749
|
"3": {
|
|
27750
27750
|
start: {
|
|
27751
|
-
line:
|
|
27751
|
+
line: 19,
|
|
27752
27752
|
column: 22
|
|
27753
27753
|
},
|
|
27754
27754
|
end: {
|
|
27755
|
-
line:
|
|
27756
|
-
column:
|
|
27755
|
+
line: 19,
|
|
27756
|
+
column: 74
|
|
27757
27757
|
}
|
|
27758
27758
|
},
|
|
27759
27759
|
"4": {
|
|
27760
27760
|
start: {
|
|
27761
|
-
line:
|
|
27761
|
+
line: 21,
|
|
27762
27762
|
column: 27
|
|
27763
27763
|
},
|
|
27764
27764
|
end: {
|
|
27765
|
-
line:
|
|
27765
|
+
line: 27,
|
|
27766
27766
|
column: 4
|
|
27767
27767
|
}
|
|
27768
27768
|
},
|
|
27769
27769
|
"5": {
|
|
27770
27770
|
start: {
|
|
27771
|
-
line:
|
|
27772
|
-
column:
|
|
27771
|
+
line: 29,
|
|
27772
|
+
column: 25
|
|
27773
27773
|
},
|
|
27774
27774
|
end: {
|
|
27775
|
-
line:
|
|
27775
|
+
line: 34,
|
|
27776
27776
|
column: 4
|
|
27777
27777
|
}
|
|
27778
27778
|
},
|
|
27779
27779
|
"6": {
|
|
27780
27780
|
start: {
|
|
27781
|
-
line:
|
|
27782
|
-
column:
|
|
27781
|
+
line: 36,
|
|
27782
|
+
column: 2
|
|
27783
27783
|
},
|
|
27784
27784
|
end: {
|
|
27785
|
-
line:
|
|
27786
|
-
column:
|
|
27785
|
+
line: 61,
|
|
27786
|
+
column: 4
|
|
27787
27787
|
}
|
|
27788
27788
|
}
|
|
27789
27789
|
},
|
|
@@ -27792,75 +27792,51 @@ function cov_2e4crtgg2y() {
|
|
|
27792
27792
|
name: "(anonymous_0)",
|
|
27793
27793
|
decl: {
|
|
27794
27794
|
start: {
|
|
27795
|
-
line:
|
|
27795
|
+
line: 11,
|
|
27796
27796
|
column: 30
|
|
27797
27797
|
},
|
|
27798
27798
|
end: {
|
|
27799
|
-
line:
|
|
27799
|
+
line: 11,
|
|
27800
27800
|
column: 31
|
|
27801
27801
|
}
|
|
27802
27802
|
},
|
|
27803
27803
|
loc: {
|
|
27804
27804
|
start: {
|
|
27805
|
-
line:
|
|
27805
|
+
line: 11,
|
|
27806
27806
|
column: 74
|
|
27807
27807
|
},
|
|
27808
27808
|
end: {
|
|
27809
|
-
line:
|
|
27809
|
+
line: 62,
|
|
27810
27810
|
column: 1
|
|
27811
27811
|
}
|
|
27812
27812
|
},
|
|
27813
|
-
line:
|
|
27814
|
-
},
|
|
27815
|
-
"1": {
|
|
27816
|
-
name: "(anonymous_1)",
|
|
27817
|
-
decl: {
|
|
27818
|
-
start: {
|
|
27819
|
-
line: 72,
|
|
27820
|
-
column: 34
|
|
27821
|
-
},
|
|
27822
|
-
end: {
|
|
27823
|
-
line: 72,
|
|
27824
|
-
column: 35
|
|
27825
|
-
}
|
|
27826
|
-
},
|
|
27827
|
-
loc: {
|
|
27828
|
-
start: {
|
|
27829
|
-
line: 73,
|
|
27830
|
-
column: 12
|
|
27831
|
-
},
|
|
27832
|
-
end: {
|
|
27833
|
-
line: 80,
|
|
27834
|
-
column: 14
|
|
27835
|
-
}
|
|
27836
|
-
},
|
|
27837
|
-
line: 73
|
|
27813
|
+
line: 11
|
|
27838
27814
|
}
|
|
27839
27815
|
},
|
|
27840
27816
|
branchMap: {
|
|
27841
27817
|
"0": {
|
|
27842
27818
|
loc: {
|
|
27843
27819
|
start: {
|
|
27844
|
-
line:
|
|
27820
|
+
line: 11,
|
|
27845
27821
|
column: 49
|
|
27846
27822
|
},
|
|
27847
27823
|
end: {
|
|
27848
|
-
line:
|
|
27824
|
+
line: 11,
|
|
27849
27825
|
column: 63
|
|
27850
27826
|
}
|
|
27851
27827
|
},
|
|
27852
27828
|
type: "default-arg",
|
|
27853
27829
|
locations: [{
|
|
27854
27830
|
start: {
|
|
27855
|
-
line:
|
|
27831
|
+
line: 11,
|
|
27856
27832
|
column: 61
|
|
27857
27833
|
},
|
|
27858
27834
|
end: {
|
|
27859
|
-
line:
|
|
27835
|
+
line: 11,
|
|
27860
27836
|
column: 63
|
|
27861
27837
|
}
|
|
27862
27838
|
}],
|
|
27863
|
-
line:
|
|
27839
|
+
line: 11
|
|
27864
27840
|
},
|
|
27865
27841
|
"1": {
|
|
27866
27842
|
loc: {
|
|
@@ -27869,8 +27845,8 @@ function cov_2e4crtgg2y() {
|
|
|
27869
27845
|
column: 6
|
|
27870
27846
|
},
|
|
27871
27847
|
end: {
|
|
27872
|
-
line:
|
|
27873
|
-
column:
|
|
27848
|
+
line: 31,
|
|
27849
|
+
column: 57
|
|
27874
27850
|
}
|
|
27875
27851
|
},
|
|
27876
27852
|
type: "binary-expr",
|
|
@@ -27885,12 +27861,12 @@ function cov_2e4crtgg2y() {
|
|
|
27885
27861
|
}
|
|
27886
27862
|
}, {
|
|
27887
27863
|
start: {
|
|
27888
|
-
line:
|
|
27889
|
-
column:
|
|
27864
|
+
line: 31,
|
|
27865
|
+
column: 49
|
|
27890
27866
|
},
|
|
27891
27867
|
end: {
|
|
27892
|
-
line:
|
|
27893
|
-
column:
|
|
27868
|
+
line: 31,
|
|
27869
|
+
column: 57
|
|
27894
27870
|
}
|
|
27895
27871
|
}],
|
|
27896
27872
|
line: 31
|
|
@@ -27898,101 +27874,35 @@ function cov_2e4crtgg2y() {
|
|
|
27898
27874
|
"2": {
|
|
27899
27875
|
loc: {
|
|
27900
27876
|
start: {
|
|
27901
|
-
line:
|
|
27902
|
-
column:
|
|
27903
|
-
},
|
|
27904
|
-
end: {
|
|
27905
|
-
line: 50,
|
|
27906
|
-
column: 51
|
|
27907
|
-
}
|
|
27908
|
-
},
|
|
27909
|
-
type: "binary-expr",
|
|
27910
|
-
locations: [{
|
|
27911
|
-
start: {
|
|
27912
|
-
line: 49,
|
|
27913
|
-
column: 12
|
|
27914
|
-
},
|
|
27915
|
-
end: {
|
|
27916
|
-
line: 49,
|
|
27917
|
-
column: 50
|
|
27918
|
-
}
|
|
27919
|
-
}, {
|
|
27920
|
-
start: {
|
|
27921
|
-
line: 50,
|
|
27922
|
-
column: 12
|
|
27923
|
-
},
|
|
27924
|
-
end: {
|
|
27925
|
-
line: 50,
|
|
27926
|
-
column: 51
|
|
27927
|
-
}
|
|
27928
|
-
}],
|
|
27929
|
-
line: 49
|
|
27930
|
-
},
|
|
27931
|
-
"3": {
|
|
27932
|
-
loc: {
|
|
27933
|
-
start: {
|
|
27934
|
-
line: 52,
|
|
27935
|
-
column: 12
|
|
27936
|
-
},
|
|
27937
|
-
end: {
|
|
27938
|
-
line: 53,
|
|
27939
|
-
column: 52
|
|
27940
|
-
}
|
|
27941
|
-
},
|
|
27942
|
-
type: "binary-expr",
|
|
27943
|
-
locations: [{
|
|
27944
|
-
start: {
|
|
27945
|
-
line: 52,
|
|
27946
|
-
column: 12
|
|
27947
|
-
},
|
|
27948
|
-
end: {
|
|
27949
|
-
line: 52,
|
|
27950
|
-
column: 49
|
|
27951
|
-
}
|
|
27952
|
-
}, {
|
|
27953
|
-
start: {
|
|
27954
|
-
line: 53,
|
|
27955
|
-
column: 12
|
|
27956
|
-
},
|
|
27957
|
-
end: {
|
|
27958
|
-
line: 53,
|
|
27959
|
-
column: 52
|
|
27960
|
-
}
|
|
27961
|
-
}],
|
|
27962
|
-
line: 52
|
|
27963
|
-
},
|
|
27964
|
-
"4": {
|
|
27965
|
-
loc: {
|
|
27966
|
-
start: {
|
|
27967
|
-
line: 67,
|
|
27968
|
-
column: 16
|
|
27877
|
+
line: 33,
|
|
27878
|
+
column: 6
|
|
27969
27879
|
},
|
|
27970
27880
|
end: {
|
|
27971
|
-
line:
|
|
27972
|
-
column:
|
|
27881
|
+
line: 33,
|
|
27882
|
+
column: 56
|
|
27973
27883
|
}
|
|
27974
27884
|
},
|
|
27975
27885
|
type: "binary-expr",
|
|
27976
27886
|
locations: [{
|
|
27977
27887
|
start: {
|
|
27978
|
-
line:
|
|
27979
|
-
column:
|
|
27888
|
+
line: 33,
|
|
27889
|
+
column: 6
|
|
27980
27890
|
},
|
|
27981
27891
|
end: {
|
|
27982
|
-
line:
|
|
27983
|
-
column:
|
|
27892
|
+
line: 33,
|
|
27893
|
+
column: 44
|
|
27984
27894
|
}
|
|
27985
27895
|
}, {
|
|
27986
27896
|
start: {
|
|
27987
|
-
line:
|
|
27988
|
-
column:
|
|
27897
|
+
line: 33,
|
|
27898
|
+
column: 48
|
|
27989
27899
|
},
|
|
27990
27900
|
end: {
|
|
27991
|
-
line:
|
|
27992
|
-
column:
|
|
27901
|
+
line: 33,
|
|
27902
|
+
column: 56
|
|
27993
27903
|
}
|
|
27994
27904
|
}],
|
|
27995
|
-
line:
|
|
27905
|
+
line: 33
|
|
27996
27906
|
}
|
|
27997
27907
|
},
|
|
27998
27908
|
s: {
|
|
@@ -28005,18 +27915,15 @@ function cov_2e4crtgg2y() {
|
|
|
28005
27915
|
"6": 0
|
|
28006
27916
|
},
|
|
28007
27917
|
f: {
|
|
28008
|
-
"0": 0
|
|
28009
|
-
"1": 0
|
|
27918
|
+
"0": 0
|
|
28010
27919
|
},
|
|
28011
27920
|
b: {
|
|
28012
27921
|
"0": [0],
|
|
28013
27922
|
"1": [0, 0],
|
|
28014
|
-
"2": [0, 0]
|
|
28015
|
-
"3": [0, 0],
|
|
28016
|
-
"4": [0, 0]
|
|
27923
|
+
"2": [0, 0]
|
|
28017
27924
|
},
|
|
28018
27925
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
28019
|
-
hash: "
|
|
27926
|
+
hash: "ad5ec7ce535ccf38fd6914f014736c5b7d944a4d"
|
|
28020
27927
|
};
|
|
28021
27928
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
28022
27929
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -28050,30 +27957,28 @@ var FeatureWithRightImage = function FeatureWithRightImage(_ref) {
|
|
|
28050
27957
|
imageURL = _ref3$image.src,
|
|
28051
27958
|
imagePosition = _ref3$image.position,
|
|
28052
27959
|
src = _ref3.backgroundImage.src;
|
|
28053
|
-
var baseClasses = (cov_2e4crtgg2y().s[3]++,
|
|
28054
|
-
|
|
28055
|
-
"
|
|
28056
|
-
"
|
|
28057
|
-
"flex-col": imagePosition === POSITIONS.BOTTOM.label,
|
|
28058
|
-
"flex-col-reverse": imagePosition === POSITIONS.TOP.label
|
|
28059
|
-
}));
|
|
28060
|
-
var imageBaseClasses = (cov_2e4crtgg2y().s[4]++, classnames$1("flex justify-center", {
|
|
28061
|
-
"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),
|
|
27960
|
+
var baseClasses = (cov_2e4crtgg2y().s[3]++, "grid grid-cols-12 items-center grid-flow-row-dense");
|
|
27961
|
+
var imageBaseClasses = (cov_2e4crtgg2y().s[4]++, classnames$1("col-span-12", {
|
|
27962
|
+
"sm:col-span-6 sm:col-start-7 lg:col-start-7 lg:col-span-6": imagePosition === POSITIONS.RIGHT.label,
|
|
27963
|
+
"sm:col-span-6 sm:col-start-1 lg:col-start-1 lg:col-span-6": imagePosition === POSITIONS.LEFT.label,
|
|
28062
27964
|
hidden: !imageURL
|
|
28063
27965
|
}));
|
|
28064
|
-
cov_2e4crtgg2y().s[5]
|
|
27966
|
+
var featureClasses = (cov_2e4crtgg2y().s[5]++, classnames$1("col-span-12", {
|
|
27967
|
+
"sm:col-span-5 lg:col-span-5": (cov_2e4crtgg2y().b[1][0]++, imagePosition === POSITIONS.RIGHT.label) && (cov_2e4crtgg2y().b[1][1]++, imageURL),
|
|
27968
|
+
"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)
|
|
27969
|
+
}));
|
|
27970
|
+
cov_2e4crtgg2y().s[6]++;
|
|
28065
27971
|
return /*#__PURE__*/React__default.createElement(StyledWrapper, {
|
|
28066
27972
|
backgroundImage: mergeLeft({
|
|
28067
27973
|
src: src
|
|
28068
27974
|
}, design.backgroundImage),
|
|
27975
|
+
className: className,
|
|
28069
27976
|
design: design.body,
|
|
28070
|
-
id: id
|
|
28071
|
-
className: classnames$1("border border-l-0 border-r-0 ", [className, baseClasses])
|
|
27977
|
+
id: id
|
|
28072
27978
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
28073
|
-
className: classnames$1("
|
|
28074
|
-
|
|
28075
|
-
|
|
28076
|
-
})
|
|
27979
|
+
className: classnames$1("neeto-site-block-wrapper", baseClasses)
|
|
27980
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
27981
|
+
className: featureClasses
|
|
28077
27982
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
28078
27983
|
isTitle: true,
|
|
28079
27984
|
component: "h1",
|
|
@@ -28081,31 +27986,13 @@ var FeatureWithRightImage = function FeatureWithRightImage(_ref) {
|
|
|
28081
27986
|
}, title), /*#__PURE__*/React__default.createElement(Typography, {
|
|
28082
27987
|
component: "p",
|
|
28083
27988
|
style: design.description
|
|
28084
|
-
}, description), /*#__PURE__*/React__default.createElement("div", {
|
|
28085
|
-
className: classnames$1("flex w-full items-center gap-3 sm:justify-center", {
|
|
28086
|
-
"lg:justify-start": (cov_2e4crtgg2y().b[4][0]++, imagePosition === POSITIONS.LEFT.label) || (cov_2e4crtgg2y().b[4][1]++, imagePosition === POSITIONS.RIGHT.label)
|
|
28087
|
-
})
|
|
28088
|
-
}, properties.buttons.map(function (_ref4, index) {
|
|
28089
|
-
var label = _ref4.label,
|
|
28090
|
-
url = _ref4.url,
|
|
28091
|
-
action = _ref4.action;
|
|
28092
|
-
cov_2e4crtgg2y().f[1]++;
|
|
28093
|
-
cov_2e4crtgg2y().s[6]++;
|
|
28094
|
-
return /*#__PURE__*/React__default.createElement(Button, {
|
|
28095
|
-
action: action,
|
|
28096
|
-
className: "w-full justify-center sm:w-auto sm:justify-start",
|
|
28097
|
-
key: getUniqueKey(label, index),
|
|
28098
|
-
label: label,
|
|
28099
|
-
style: design.buttons,
|
|
28100
|
-
to: url
|
|
28101
|
-
});
|
|
28102
|
-
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
27989
|
+
}, description)), /*#__PURE__*/React__default.createElement("div", {
|
|
28103
27990
|
className: imageBaseClasses
|
|
28104
27991
|
}, /*#__PURE__*/React__default.createElement(StyledImage, {
|
|
28105
27992
|
design: design.image,
|
|
28106
27993
|
lgImageWidth: design.image.width,
|
|
28107
27994
|
src: imageURL
|
|
28108
|
-
})));
|
|
27995
|
+
}))));
|
|
28109
27996
|
};
|
|
28110
27997
|
|
|
28111
27998
|
function cov_1kbh5b1kc1() {
|