@bigbinary/neeto-site-blocks 1.1.6 → 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 CHANGED
@@ -15320,7 +15320,7 @@ function Interweave(props) {
15320
15320
 
15321
15321
  var StyledInterweave = styled__default["default"](Interweave)(function (_ref) {
15322
15322
  var fontSize = _ref.fontSize;
15323
- return "\n h1 {\n font-size: ".concat(fontSize ? "calc(".concat(FIXED_H1_SIZE, " + ").concat(fontSize, ")") : FIXED_H1_SIZE, ";\n }\n\n h2 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H2_SIZE, " + ").concat(fontSize, ")") : FIXED_H2_SIZE, ";\n }\n\n h3 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H3_SIZE, " + ").concat(fontSize, ")") : FIXED_H3_SIZE, ";\n }\n\n h4 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H4_SIZE, " + ").concat(fontSize, ")") : FIXED_H4_SIZE, ";\n }\n\n h5 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H5_SIZE, " + ").concat(fontSize, ")") : FIXED_H5_SIZE, ";\n }\n");
15323
+ return "\n h1 {\n font-size: ".concat(fontSize ? "calc(".concat(FIXED_H1_SIZE, " + ").concat(fontSize, ")") : FIXED_H1_SIZE, ";\n font-weight: inherit;\n }\n\n h2 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H2_SIZE, " + ").concat(fontSize, ")") : FIXED_H2_SIZE, ";\n font-weight: inherit;\n }\n\n h3 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H3_SIZE, " + ").concat(fontSize, ")") : FIXED_H3_SIZE, ";\n font-weight: inherit;\n }\n\n h4 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H4_SIZE, " + ").concat(fontSize, ")") : FIXED_H4_SIZE, ";\n font-weight: inherit;\n }\n\n h5 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H5_SIZE, " + ").concat(fontSize, ")") : FIXED_H5_SIZE, ";\n font-weight: inherit;\n }\n");
15324
15324
  });
15325
15325
 
15326
15326
  var _templateObject;
@@ -40707,7 +40707,6 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
40707
40707
  design: design.logo,
40708
40708
  src: properties.logo.src
40709
40709
  }), /*#__PURE__*/React__default["default"].createElement(Typography$1, {
40710
- isTitle: true,
40711
40710
  component: "p",
40712
40711
  style: design.logoTitle,
40713
40712
  className: classnames({
@@ -40986,23 +40985,28 @@ var LogoClouds = function LogoClouds(_ref) {
40986
40985
  logos = _properties$logos === void 0 ? [] : _properties$logos,
40987
40986
  title = properties.title,
40988
40987
  enableAnimation = properties.enableAnimation,
40988
+ logoCount = properties.logoCount,
40989
+ showColoredLogo = properties.showColoredLogo,
40989
40990
  src = properties.backgroundImage.src;
40990
40991
  var baseClasses = "grid grid-cols-12 items-center sm:gap-x-4 gap-y-10";
40991
40992
  var logoBaseClasses = function logoBaseClasses(index) {
40992
- return classnames("ns-logo-clouds col-span-6 flex justify-center sm:col-span-3", {
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,
40993
40997
  "sm:col-start-4": logos.length % 4 === 2 && index === logos.length - 2,
40994
40998
  "sm:col-start-3": logos.length % 4 === 3 && index === logos.length - 3,
40995
40999
  "col-start-3": logos.length % 2 === 1 && index === logos.length - 1
40996
41000
  });
40997
41001
  };
40998
41002
  return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
41003
+ className: className,
41004
+ enableAnimation: enableAnimation,
41005
+ id: id,
40999
41006
  backgroundImage: mergeLeft({
41000
41007
  src: src
41001
41008
  }, design.backgroundImage),
41002
- className: className,
41003
41009
  design: design.body,
41004
- enableAnimation: enableAnimation,
41005
- id: id,
41006
41010
  nestedClassName: baseClasses
41007
41011
  }, /*#__PURE__*/React__default["default"].createElement(Typography$1, {
41008
41012
  className: "col-span-12",
@@ -41018,10 +41022,10 @@ var LogoClouds = function LogoClouds(_ref) {
41018
41022
  key: getUniqueKey(title, index)
41019
41023
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
41020
41024
  alt: alt,
41021
- className: "logo-image",
41022
- design: design.logo,
41023
41025
  src: src,
41024
- title: title
41026
+ title: title,
41027
+ className: "logo-image",
41028
+ design: design.logo
41025
41029
  }));
41026
41030
  }));
41027
41031
  };