@bigbinary/neeto-site-blocks 1.1.7 → 1.1.8
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 +12 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -40985,23 +40985,28 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
40985
40985
|
logos = _properties$logos === void 0 ? [] : _properties$logos,
|
|
40986
40986
|
title = properties.title,
|
|
40987
40987
|
enableAnimation = properties.enableAnimation,
|
|
40988
|
+
logoCount = properties.logoCount,
|
|
40989
|
+
showColoredLogo = properties.showColoredLogo,
|
|
40988
40990
|
src = properties.backgroundImage.src;
|
|
40989
40991
|
var baseClasses = "grid grid-cols-12 items-center sm:gap-x-4 gap-y-10";
|
|
40990
40992
|
var logoBaseClasses = function logoBaseClasses(index) {
|
|
40991
|
-
return classnames("
|
|
40993
|
+
return classnames("col-span-6 flex justify-center", {
|
|
40994
|
+
"lg:col-span-2": logoCount === 6,
|
|
40995
|
+
"sm:col-span-3": logoCount === 4,
|
|
40996
|
+
"ns-logo-clouds": !showColoredLogo,
|
|
40992
40997
|
"sm:col-start-4": logos.length % 4 === 2 && index === logos.length - 2,
|
|
40993
40998
|
"sm:col-start-3": logos.length % 4 === 3 && index === logos.length - 3,
|
|
40994
40999
|
"col-start-3": logos.length % 2 === 1 && index === logos.length - 1
|
|
40995
41000
|
});
|
|
40996
41001
|
};
|
|
40997
41002
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
41003
|
+
className: className,
|
|
41004
|
+
enableAnimation: enableAnimation,
|
|
41005
|
+
id: id,
|
|
40998
41006
|
backgroundImage: mergeLeft({
|
|
40999
41007
|
src: src
|
|
41000
41008
|
}, design.backgroundImage),
|
|
41001
|
-
className: className,
|
|
41002
41009
|
design: design.body,
|
|
41003
|
-
enableAnimation: enableAnimation,
|
|
41004
|
-
id: id,
|
|
41005
41010
|
nestedClassName: baseClasses
|
|
41006
41011
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
41007
41012
|
className: "col-span-12",
|
|
@@ -41017,10 +41022,10 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
41017
41022
|
key: getUniqueKey(title, index)
|
|
41018
41023
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
41019
41024
|
alt: alt,
|
|
41020
|
-
className: "logo-image",
|
|
41021
|
-
design: design.logo,
|
|
41022
41025
|
src: src,
|
|
41023
|
-
title: title
|
|
41026
|
+
title: title,
|
|
41027
|
+
className: "logo-image",
|
|
41028
|
+
design: design.logo
|
|
41024
41029
|
}));
|
|
41025
41030
|
}));
|
|
41026
41031
|
};
|