@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.js
CHANGED
|
@@ -6245,7 +6245,11 @@ var Media = function Media(_ref) {
|
|
|
6245
6245
|
otherProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
6246
6246
|
if (isEmbedded) {
|
|
6247
6247
|
var _design$width;
|
|
6248
|
-
return videoUrl && /*#__PURE__*/React.createElement(
|
|
6248
|
+
return videoUrl && /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
6249
|
+
design: {
|
|
6250
|
+
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
6251
|
+
}
|
|
6252
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
6249
6253
|
className: "relative h-0 w-full overflow-hidden pb-[56.25%]"
|
|
6250
6254
|
}, /*#__PURE__*/React.createElement(StyledWrapper, {
|
|
6251
6255
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
@@ -6253,9 +6257,8 @@ var Media = function Media(_ref) {
|
|
|
6253
6257
|
className: "absolute left-0 top-0 h-full w-full border-0",
|
|
6254
6258
|
design: dissoc("width", design),
|
|
6255
6259
|
height: "300px",
|
|
6256
|
-
src: validateUrl(videoUrl, autoPlay)
|
|
6257
|
-
|
|
6258
|
-
}));
|
|
6260
|
+
src: validateUrl(videoUrl, autoPlay)
|
|
6261
|
+
})));
|
|
6259
6262
|
}
|
|
6260
6263
|
return /*#__PURE__*/React.createElement(StyledImage$1, _objectSpread$i({
|
|
6261
6264
|
design: design,
|
|
@@ -12293,6 +12296,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
12293
12296
|
description = _properties$content.description,
|
|
12294
12297
|
enableAnimation = properties.enableAnimation,
|
|
12295
12298
|
logoUrl = properties.logoUrl,
|
|
12299
|
+
logoAlt = properties.logoAlt,
|
|
12296
12300
|
buttons = properties.buttons,
|
|
12297
12301
|
src = properties.backgroundImage.src;
|
|
12298
12302
|
var baseClasses = "flex flex-col sm:flex-row items-center gap-x-4 gap-y-8";
|
|
@@ -12307,7 +12311,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
12307
12311
|
nestedClassName: baseClasses
|
|
12308
12312
|
}, /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
12309
12313
|
image: image,
|
|
12310
|
-
alt:
|
|
12314
|
+
alt: logoAlt,
|
|
12311
12315
|
design: design.logo,
|
|
12312
12316
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
12313
12317
|
id: "cta-with-logo-logo",
|
|
@@ -13146,7 +13150,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
13146
13150
|
className: "col-span-12 sm:col-span-12 sm:mx-20 sm:flex sm:justify-between sm:gap-y-0"
|
|
13147
13151
|
}, /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
13148
13152
|
image: image,
|
|
13149
|
-
alt: logo.
|
|
13153
|
+
alt: logo.alt,
|
|
13150
13154
|
design: design.logo,
|
|
13151
13155
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
13152
13156
|
id: "footer-classic-logo",
|
|
@@ -13205,7 +13209,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
13205
13209
|
className: "mb-8 flex flex-shrink-0 justify-start sm:mb-0"
|
|
13206
13210
|
}, /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
13207
13211
|
image: image,
|
|
13208
|
-
alt: logo.
|
|
13212
|
+
alt: logo.alt,
|
|
13209
13213
|
design: design.logo,
|
|
13210
13214
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
13211
13215
|
id: "footer-classic-logo",
|
|
@@ -13288,7 +13292,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
13288
13292
|
className: "flex flex-grow flex-col gap-y-4 sm:flex-row sm:gap-x-4"
|
|
13289
13293
|
}, /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
13290
13294
|
image: image,
|
|
13291
|
-
alt: logo.
|
|
13295
|
+
alt: logo.alt,
|
|
13292
13296
|
className: "max-w-fit",
|
|
13293
13297
|
design: design.logo,
|
|
13294
13298
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -13372,7 +13376,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
13372
13376
|
className: "flex items-center gap-x-2"
|
|
13373
13377
|
}, /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
13374
13378
|
image: image,
|
|
13375
|
-
alt: logo.
|
|
13379
|
+
alt: logo.alt,
|
|
13376
13380
|
design: design.logo,
|
|
13377
13381
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
13378
13382
|
id: "footer-with-links-logo",
|
|
@@ -15678,7 +15682,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
15678
15682
|
index: index,
|
|
15679
15683
|
src: src,
|
|
15680
15684
|
priority: true,
|
|
15681
|
-
alt:
|
|
15685
|
+
alt: name,
|
|
15682
15686
|
className: "ns-testimonial-image-aspect-ratio object-cover",
|
|
15683
15687
|
design: design.testimonialImage,
|
|
15684
15688
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -15702,7 +15706,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
15702
15706
|
}, /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
15703
15707
|
index: index,
|
|
15704
15708
|
priority: true,
|
|
15705
|
-
alt:
|
|
15709
|
+
alt: logoAlt,
|
|
15706
15710
|
className: "mx-auto sm:ml-0",
|
|
15707
15711
|
design: design.testimonialLogo,
|
|
15708
15712
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -15789,7 +15793,8 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
15789
15793
|
testimonialDescription = _ref2.description,
|
|
15790
15794
|
name = _ref2.name,
|
|
15791
15795
|
position = _ref2.position,
|
|
15792
|
-
logoUrl = _ref2.logoUrl
|
|
15796
|
+
logoUrl = _ref2.logoUrl,
|
|
15797
|
+
logoAlt = _ref2.logoAlt;
|
|
15793
15798
|
return /*#__PURE__*/React.createElement(MotionWrapper, {
|
|
15794
15799
|
enableAnimation: enableAnimation,
|
|
15795
15800
|
className: "grid grid-flow-row-dense grid-cols-12 items-center gap-4 py-6",
|
|
@@ -15801,6 +15806,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
15801
15806
|
image: image,
|
|
15802
15807
|
index: index,
|
|
15803
15808
|
src: src,
|
|
15809
|
+
alt: name,
|
|
15804
15810
|
className: "ns-testimonial-image-aspect-ratio",
|
|
15805
15811
|
design: design.testimonialImage,
|
|
15806
15812
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -15822,6 +15828,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
15822
15828
|
className: contentClasses
|
|
15823
15829
|
}, /*#__PURE__*/React.createElement(StyledImage$1, {
|
|
15824
15830
|
index: index,
|
|
15831
|
+
alt: logoAlt,
|
|
15825
15832
|
className: "mx-auto sm:ml-0",
|
|
15826
15833
|
design: design.testimonialLogo,
|
|
15827
15834
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|