@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.cjs.js
CHANGED
|
@@ -39239,7 +39239,7 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39239
39239
|
button = properties.button,
|
|
39240
39240
|
src = properties.backgroundImage.src;
|
|
39241
39241
|
var baseClasses = "grid grid-cols-12 items-center gap-x-4 gap-y-8";
|
|
39242
|
-
var buttonClasses = classnames("justify-center sm:w-auto rounded-
|
|
39242
|
+
var buttonClasses = classnames("justify-center sm:w-auto sm:rounded-l-none rounded-md", {
|
|
39243
39243
|
"pointer-events-none bg-gray-500": response.status === "loading" || response.status === "error"
|
|
39244
39244
|
});
|
|
39245
39245
|
var handleEmailBlur = function handleEmailBlur(e) {
|
|
@@ -39332,7 +39332,7 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39332
39332
|
}, otherProps), description)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39333
39333
|
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"
|
|
39334
39334
|
}, /*#__PURE__*/React__default["default"].createElement(StyledInput, {
|
|
39335
|
-
className: "h-10 flex-grow rounded-
|
|
39335
|
+
className: "h-10 flex-grow rounded-md px-4 focus:border-black focus:outline-none sm:rounded-r-none",
|
|
39336
39336
|
design: design.input,
|
|
39337
39337
|
placeholder: "Enter your email",
|
|
39338
39338
|
type: "text",
|
|
@@ -39346,13 +39346,13 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39346
39346
|
design: design.button,
|
|
39347
39347
|
onClick: handleSubscribe
|
|
39348
39348
|
}, response.status === "loading" ? "Loading.." : button.label)), response.message && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39349
|
-
className: "col-span-
|
|
39349
|
+
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"
|
|
39350
39350
|
}, response.status === "error" ? /*#__PURE__*/React__default["default"].createElement(Close, {
|
|
39351
|
-
className: "rounded-full bg-red-600 p-1",
|
|
39351
|
+
className: "self-center rounded-full bg-red-600 p-1",
|
|
39352
39352
|
color: "#ffffff",
|
|
39353
39353
|
size: 20
|
|
39354
39354
|
}) : /*#__PURE__*/React__default["default"].createElement(Check, {
|
|
39355
|
-
className: "rounded-full bg-green-600 p-1",
|
|
39355
|
+
className: "self-center rounded-full bg-green-600 p-1",
|
|
39356
39356
|
color: "#ffffff",
|
|
39357
39357
|
size: 20
|
|
39358
39358
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
@@ -39798,11 +39798,13 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39798
39798
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
39799
39799
|
index: index,
|
|
39800
39800
|
isTitle: true,
|
|
39801
|
+
className: "w-full",
|
|
39801
39802
|
component: "h5",
|
|
39802
39803
|
id: "feature-with-grid-".concat(index, "-title"),
|
|
39803
39804
|
style: design.featureTitle
|
|
39804
39805
|
}, otherProps), featureTitle), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
39805
39806
|
index: index,
|
|
39807
|
+
className: "w-full",
|
|
39806
39808
|
id: "feature-with-grid-".concat(index, "-description"),
|
|
39807
39809
|
style: design.featureDescription
|
|
39808
39810
|
}, otherProps), featureDescription));
|