@bigbinary/neeto-site-blocks 1.7.2 → 1.7.3
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 +66 -37
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +66 -37
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1989,6 +1989,11 @@ var IMAGE_FIT_VALUES = {
|
|
|
1989
1989
|
cover: "cover",
|
|
1990
1990
|
contain: "contain"
|
|
1991
1991
|
};
|
|
1992
|
+
var BUTTON_ALIGN_VALUES = {
|
|
1993
|
+
left: "left",
|
|
1994
|
+
center: "center",
|
|
1995
|
+
right: "right"
|
|
1996
|
+
};
|
|
1992
1997
|
|
|
1993
1998
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
1994
1999
|
__proto__: null,
|
|
@@ -2015,7 +2020,8 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
2015
2020
|
DEFAULT_LINK_STYLES: DEFAULT_LINK_STYLES,
|
|
2016
2021
|
IMAGE_POSITIONS: IMAGE_POSITIONS,
|
|
2017
2022
|
LOGO_SIZE_VALUES: LOGO_SIZE_VALUES,
|
|
2018
|
-
IMAGE_FIT_VALUES: IMAGE_FIT_VALUES
|
|
2023
|
+
IMAGE_FIT_VALUES: IMAGE_FIT_VALUES,
|
|
2024
|
+
BUTTON_ALIGN_VALUES: BUTTON_ALIGN_VALUES
|
|
2019
2025
|
});
|
|
2020
2026
|
|
|
2021
2027
|
/**
|
|
@@ -15982,10 +15988,15 @@ var CardsClassic = function CardsClassic(_ref) {
|
|
|
15982
15988
|
component: "p",
|
|
15983
15989
|
style: design.cardDescription
|
|
15984
15990
|
}, description));
|
|
15985
|
-
}), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(
|
|
15986
|
-
className: "col-span-12 flex
|
|
15991
|
+
}), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
15992
|
+
className: "col-span-12 flex",
|
|
15993
|
+
design: {
|
|
15994
|
+
justifyContent: design.button.justifyContent
|
|
15995
|
+
}
|
|
15996
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
15997
|
+
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
15987
15998
|
style: design.button
|
|
15988
|
-
}, button)));
|
|
15999
|
+
}, button))));
|
|
15989
16000
|
};
|
|
15990
16001
|
|
|
15991
16002
|
/**
|
|
@@ -20925,10 +20936,13 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
20925
20936
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
20926
20937
|
key: getUniqueKey(card.title, card.description, index)
|
|
20927
20938
|
}, renderCard(card));
|
|
20928
|
-
})), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(
|
|
20929
|
-
className: "col-span-12
|
|
20939
|
+
})), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
20940
|
+
className: "col-span-12 flex",
|
|
20941
|
+
design: {
|
|
20942
|
+
justifyContent: design.button.justifyContent
|
|
20943
|
+
}
|
|
20930
20944
|
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
20931
|
-
className: "
|
|
20945
|
+
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
20932
20946
|
style: design.button
|
|
20933
20947
|
}, button))));
|
|
20934
20948
|
};
|
|
@@ -21000,10 +21014,13 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21000
21014
|
component: "p",
|
|
21001
21015
|
style: design.cardDescription
|
|
21002
21016
|
}, description));
|
|
21003
|
-
}), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(
|
|
21004
|
-
className: "col-span-12
|
|
21017
|
+
}), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
21018
|
+
className: "col-span-12 flex",
|
|
21019
|
+
design: {
|
|
21020
|
+
justifyContent: design.button.justifyContent
|
|
21021
|
+
}
|
|
21005
21022
|
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
21006
|
-
className: "
|
|
21023
|
+
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
21007
21024
|
style: design.button
|
|
21008
21025
|
}, button)))));
|
|
21009
21026
|
};
|
|
@@ -21112,18 +21129,17 @@ var CtaClassic = function CtaClassic(_ref) {
|
|
|
21112
21129
|
title = _properties$content.title,
|
|
21113
21130
|
description = _properties$content.description,
|
|
21114
21131
|
enableAnimation = properties.enableAnimation,
|
|
21115
|
-
|
|
21116
|
-
src = properties.backgroundImage.src
|
|
21117
|
-
secondaryButton = properties.secondaryButton;
|
|
21132
|
+
buttons = properties.buttons,
|
|
21133
|
+
src = properties.backgroundImage.src;
|
|
21118
21134
|
var baseClasses = "grid grid-cols-12 items-center gap-x-4 gap-y-8";
|
|
21119
21135
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
21136
|
+
className: className,
|
|
21137
|
+
enableAnimation: enableAnimation,
|
|
21138
|
+
id: id,
|
|
21120
21139
|
backgroundImage: mergeLeft({
|
|
21121
21140
|
src: src
|
|
21122
21141
|
}, design.backgroundImage),
|
|
21123
|
-
className: className,
|
|
21124
21142
|
design: design.body,
|
|
21125
|
-
enableAnimation: enableAnimation,
|
|
21126
|
-
id: id,
|
|
21127
21143
|
nestedClassName: baseClasses
|
|
21128
21144
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21129
21145
|
className: "col-span-12 sm:col-span-8 sm:col-start-3 lg:col-span-6 lg:col-start-4"
|
|
@@ -21136,13 +21152,13 @@ var CtaClassic = function CtaClassic(_ref) {
|
|
|
21136
21152
|
style: design.description
|
|
21137
21153
|
}, description)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21138
21154
|
className: "col-span-10 col-start-2 flex flex-col justify-center gap-y-2 space-x-2 sm:col-span-6 sm:col-start-4 sm:flex-row lg:col-span-4 lg:col-start-5"
|
|
21139
|
-
},
|
|
21140
|
-
|
|
21141
|
-
|
|
21142
|
-
|
|
21143
|
-
|
|
21144
|
-
|
|
21145
|
-
}
|
|
21155
|
+
}, buttons.map(function (button, index) {
|
|
21156
|
+
return /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
21157
|
+
className: "justify-center sm:w-auto",
|
|
21158
|
+
key: index,
|
|
21159
|
+
style: button.type === "primary" ? design.primaryButton : design.secondaryButton
|
|
21160
|
+
}, button, otherProps));
|
|
21161
|
+
})));
|
|
21146
21162
|
};
|
|
21147
21163
|
|
|
21148
21164
|
var axios$3 = {exports: {}};
|
|
@@ -38760,17 +38776,17 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
38760
38776
|
description = _properties$content.description,
|
|
38761
38777
|
enableAnimation = properties.enableAnimation,
|
|
38762
38778
|
logoUrl = properties.logoUrl,
|
|
38763
|
-
|
|
38779
|
+
buttons = properties.buttons,
|
|
38764
38780
|
src = properties.backgroundImage.src;
|
|
38765
38781
|
var baseClasses = "grid grid-cols-12 items-center gap-x-4 gap-y-8";
|
|
38766
38782
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
38783
|
+
className: className,
|
|
38784
|
+
enableAnimation: enableAnimation,
|
|
38785
|
+
id: id,
|
|
38767
38786
|
backgroundImage: mergeLeft({
|
|
38768
38787
|
src: src
|
|
38769
38788
|
}, design.backgroundImage),
|
|
38770
|
-
className: className,
|
|
38771
38789
|
design: design.body,
|
|
38772
|
-
enableAnimation: enableAnimation,
|
|
38773
|
-
id: id,
|
|
38774
38790
|
nestedClassName: baseClasses
|
|
38775
38791
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
38776
38792
|
alt: "logo",
|
|
@@ -38788,10 +38804,13 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
38788
38804
|
style: design.description
|
|
38789
38805
|
}, description)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38790
38806
|
className: "col-span-12 mx-auto w-full sm:col-span-3 sm:col-start-10 lg:col-span-3 lg:col-start-10"
|
|
38791
|
-
},
|
|
38792
|
-
|
|
38793
|
-
|
|
38794
|
-
|
|
38807
|
+
}, buttons.map(function (button, index) {
|
|
38808
|
+
return /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
38809
|
+
className: "justify-center sm:w-auto",
|
|
38810
|
+
key: index,
|
|
38811
|
+
style: design.button
|
|
38812
|
+
}, button, otherProps));
|
|
38813
|
+
})));
|
|
38795
38814
|
};
|
|
38796
38815
|
|
|
38797
38816
|
var Embed = function Embed(_ref) {
|
|
@@ -42833,10 +42852,15 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
42833
42852
|
}), /*#__PURE__*/React__default["default"].createElement(Pagination$1, {
|
|
42834
42853
|
swiper: swiper,
|
|
42835
42854
|
design: design.buttons
|
|
42836
|
-
}))), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(
|
|
42837
|
-
className: "col-span-12 flex
|
|
42855
|
+
}))), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
42856
|
+
className: "col-span-12 flex",
|
|
42857
|
+
design: {
|
|
42858
|
+
justifyContent: design.button.justifyContent
|
|
42859
|
+
}
|
|
42860
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
42861
|
+
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
42838
42862
|
style: design.button
|
|
42839
|
-
}, button, otherProps)));
|
|
42863
|
+
}, button, otherProps))));
|
|
42840
42864
|
};
|
|
42841
42865
|
|
|
42842
42866
|
var _excluded = ["configurations", "className", "id"];
|
|
@@ -42922,10 +42946,15 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
42922
42946
|
component: "p",
|
|
42923
42947
|
style: design.testimonialDescription
|
|
42924
42948
|
}, testimonialDescription)));
|
|
42925
|
-
})), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(
|
|
42926
|
-
className: "col-span-12 flex
|
|
42949
|
+
})), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
42950
|
+
className: "col-span-12 flex",
|
|
42951
|
+
design: {
|
|
42952
|
+
justifyContent: design.button.justifyContent
|
|
42953
|
+
}
|
|
42954
|
+
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
42955
|
+
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
42927
42956
|
style: design.button
|
|
42928
|
-
}, button, otherProps)));
|
|
42957
|
+
}, button, otherProps))));
|
|
42929
42958
|
};
|
|
42930
42959
|
|
|
42931
42960
|
var index = /*#__PURE__*/Object.freeze({
|