@bigbinary/neeto-site-blocks 1.8.23 → 1.8.25
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 +7 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39193,7 +39193,7 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39193
39193
|
button = properties.button,
|
|
39194
39194
|
src = properties.backgroundImage.src;
|
|
39195
39195
|
var baseClasses = "grid grid-cols-12 items-center gap-x-4 gap-y-8";
|
|
39196
|
-
var buttonClasses = classnames("justify-center sm:w-auto rounded-
|
|
39196
|
+
var buttonClasses = classnames("justify-center sm:w-auto sm:rounded-l-none rounded-md", {
|
|
39197
39197
|
"pointer-events-none bg-gray-500": response.status === "loading" || response.status === "error"
|
|
39198
39198
|
});
|
|
39199
39199
|
var handleEmailBlur = function handleEmailBlur(e) {
|
|
@@ -39286,7 +39286,7 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39286
39286
|
}, otherProps), description)), /*#__PURE__*/React__default.createElement("div", {
|
|
39287
39287
|
className: "col-span-12 flex flex-col justify-center gap-y-2 sm:col-span-8 sm:col-start-3 sm:flex-row sm:gap-y-0 lg:col-span-6 lg:col-start-4"
|
|
39288
39288
|
}, /*#__PURE__*/React__default.createElement(StyledInput, {
|
|
39289
|
-
className: "h-10 flex-grow rounded-
|
|
39289
|
+
className: "h-10 flex-grow rounded-md px-4 focus:border-black focus:outline-none sm:rounded-r-none",
|
|
39290
39290
|
design: design.input,
|
|
39291
39291
|
placeholder: "Enter your email",
|
|
39292
39292
|
type: "text",
|
|
@@ -39300,13 +39300,13 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39300
39300
|
design: design.button,
|
|
39301
39301
|
onClick: handleSubscribe
|
|
39302
39302
|
}, response.status === "loading" ? "Loading.." : button.label)), response.message && /*#__PURE__*/React__default.createElement("div", {
|
|
39303
|
-
className: "col-span-
|
|
39303
|
+
className: "col-span-12 -mt-4 flex flex-col justify-center gap-x-2 sm:flex-row lg:col-span-6 lg:col-start-4"
|
|
39304
39304
|
}, response.status === "error" ? /*#__PURE__*/React__default.createElement(Close, {
|
|
39305
|
-
className: "rounded-full bg-red-600 p-1",
|
|
39305
|
+
className: "self-center rounded-full bg-red-600 p-1",
|
|
39306
39306
|
color: "#ffffff",
|
|
39307
39307
|
size: 20
|
|
39308
39308
|
}) : /*#__PURE__*/React__default.createElement(Check, {
|
|
39309
|
-
className: "rounded-full bg-green-600 p-1",
|
|
39309
|
+
className: "self-center rounded-full bg-green-600 p-1",
|
|
39310
39310
|
color: "#ffffff",
|
|
39311
39311
|
size: 20
|
|
39312
39312
|
}), /*#__PURE__*/React__default.createElement(Typography$1, {
|
|
@@ -39752,11 +39752,13 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39752
39752
|
}), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
39753
39753
|
index: index,
|
|
39754
39754
|
isTitle: true,
|
|
39755
|
+
className: "w-full",
|
|
39755
39756
|
component: "h5",
|
|
39756
39757
|
id: "feature-with-grid-".concat(index, "-title"),
|
|
39757
39758
|
style: design.featureTitle
|
|
39758
39759
|
}, otherProps), featureTitle), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
39759
39760
|
index: index,
|
|
39761
|
+
className: "w-full",
|
|
39760
39762
|
id: "feature-with-grid-".concat(index, "-description"),
|
|
39761
39763
|
style: design.featureDescription
|
|
39762
39764
|
}, otherProps), featureDescription));
|