@bigbinary/neeto-site-blocks 1.10.31 → 1.10.33
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 +19 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +19 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6264,7 +6264,11 @@ var Media = function Media(_ref) {
|
|
|
6264
6264
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$v);
|
|
6265
6265
|
if (isEmbedded) {
|
|
6266
6266
|
var _design$width;
|
|
6267
|
-
return videoUrl && /*#__PURE__*/React__default["default"].createElement(
|
|
6267
|
+
return videoUrl && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
6268
|
+
design: {
|
|
6269
|
+
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
6270
|
+
}
|
|
6271
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6268
6272
|
className: "relative h-0 w-full overflow-hidden pb-[56.25%]"
|
|
6269
6273
|
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
6270
6274
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
@@ -6272,9 +6276,8 @@ var Media = function Media(_ref) {
|
|
|
6272
6276
|
className: "absolute left-0 top-0 h-full w-full border-0",
|
|
6273
6277
|
design: ramda.dissoc("width", design),
|
|
6274
6278
|
height: "300px",
|
|
6275
|
-
src: validateUrl(videoUrl, autoPlay)
|
|
6276
|
-
|
|
6277
|
-
}));
|
|
6279
|
+
src: validateUrl(videoUrl, autoPlay)
|
|
6280
|
+
})));
|
|
6278
6281
|
}
|
|
6279
6282
|
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, _objectSpread$i({
|
|
6280
6283
|
design: design,
|
|
@@ -12312,6 +12315,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
12312
12315
|
description = _properties$content.description,
|
|
12313
12316
|
enableAnimation = properties.enableAnimation,
|
|
12314
12317
|
logoUrl = properties.logoUrl,
|
|
12318
|
+
logoAlt = properties.logoAlt,
|
|
12315
12319
|
buttons = properties.buttons,
|
|
12316
12320
|
src = properties.backgroundImage.src;
|
|
12317
12321
|
var baseClasses = "flex flex-col sm:flex-row items-center gap-x-4 gap-y-8";
|
|
@@ -12326,7 +12330,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
12326
12330
|
nestedClassName: baseClasses
|
|
12327
12331
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
12328
12332
|
image: image,
|
|
12329
|
-
alt:
|
|
12333
|
+
alt: logoAlt,
|
|
12330
12334
|
design: design.logo,
|
|
12331
12335
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
12332
12336
|
id: "cta-with-logo-logo",
|
|
@@ -13165,7 +13169,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
13165
13169
|
className: "col-span-12 sm:col-span-12 sm:mx-20 sm:flex sm:justify-between sm:gap-y-0"
|
|
13166
13170
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
13167
13171
|
image: image,
|
|
13168
|
-
alt: logo.
|
|
13172
|
+
alt: logo.alt,
|
|
13169
13173
|
design: design.logo,
|
|
13170
13174
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
13171
13175
|
id: "footer-classic-logo",
|
|
@@ -13224,7 +13228,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
13224
13228
|
className: "mb-8 flex flex-shrink-0 justify-start sm:mb-0"
|
|
13225
13229
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
13226
13230
|
image: image,
|
|
13227
|
-
alt: logo.
|
|
13231
|
+
alt: logo.alt,
|
|
13228
13232
|
design: design.logo,
|
|
13229
13233
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
13230
13234
|
id: "footer-classic-logo",
|
|
@@ -13307,7 +13311,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
13307
13311
|
className: "flex flex-grow flex-col gap-y-4 sm:flex-row sm:gap-x-4"
|
|
13308
13312
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
13309
13313
|
image: image,
|
|
13310
|
-
alt: logo.
|
|
13314
|
+
alt: logo.alt,
|
|
13311
13315
|
className: "max-w-fit",
|
|
13312
13316
|
design: design.logo,
|
|
13313
13317
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -13391,7 +13395,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
13391
13395
|
className: "flex items-center gap-x-2"
|
|
13392
13396
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
13393
13397
|
image: image,
|
|
13394
|
-
alt: logo.
|
|
13398
|
+
alt: logo.alt,
|
|
13395
13399
|
design: design.logo,
|
|
13396
13400
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
13397
13401
|
id: "footer-with-links-logo",
|
|
@@ -15697,7 +15701,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
15697
15701
|
index: index,
|
|
15698
15702
|
src: src,
|
|
15699
15703
|
priority: true,
|
|
15700
|
-
alt:
|
|
15704
|
+
alt: name,
|
|
15701
15705
|
className: "ns-testimonial-image-aspect-ratio object-cover",
|
|
15702
15706
|
design: design.testimonialImage,
|
|
15703
15707
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -15721,7 +15725,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
15721
15725
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
15722
15726
|
index: index,
|
|
15723
15727
|
priority: true,
|
|
15724
|
-
alt:
|
|
15728
|
+
alt: logoAlt,
|
|
15725
15729
|
className: "mx-auto sm:ml-0",
|
|
15726
15730
|
design: design.testimonialLogo,
|
|
15727
15731
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -15808,7 +15812,8 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
15808
15812
|
testimonialDescription = _ref2.description,
|
|
15809
15813
|
name = _ref2.name,
|
|
15810
15814
|
position = _ref2.position,
|
|
15811
|
-
logoUrl = _ref2.logoUrl
|
|
15815
|
+
logoUrl = _ref2.logoUrl,
|
|
15816
|
+
logoAlt = _ref2.logoAlt;
|
|
15812
15817
|
return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
15813
15818
|
enableAnimation: enableAnimation,
|
|
15814
15819
|
className: "grid grid-flow-row-dense grid-cols-12 items-center gap-4 py-6",
|
|
@@ -15820,6 +15825,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
15820
15825
|
image: image,
|
|
15821
15826
|
index: index,
|
|
15822
15827
|
src: src,
|
|
15828
|
+
alt: name,
|
|
15823
15829
|
className: "ns-testimonial-image-aspect-ratio",
|
|
15824
15830
|
design: design.testimonialImage,
|
|
15825
15831
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -15841,6 +15847,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
15841
15847
|
className: contentClasses
|
|
15842
15848
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
15843
15849
|
index: index,
|
|
15850
|
+
alt: logoAlt,
|
|
15844
15851
|
className: "mx-auto sm:ml-0",
|
|
15845
15852
|
design: design.testimonialLogo,
|
|
15846
15853
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|