@bigbinary/neeto-site-blocks 1.2.5 → 1.2.6

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
@@ -40931,9 +40931,10 @@ var HeroWithMultipleLayouts = function HeroWithMultipleLayouts(_ref) {
40931
40931
  var src = _ref2.src,
40932
40932
  position = _ref2.position;
40933
40933
  return classnames("sm:col-span-6 col-span-12", {
40934
- "sm:col-start-1": src && position === POSITIONS.RIGHT.label && src,
40935
- "sm:col-span-8 sm:col-start-3": src && position === POSITIONS.CENTER.label && src,
40936
- "sm:col-start-7": src && position === POSITIONS.LEFT.label && src,
40934
+ "sm:col-start-1": src && position === POSITIONS.RIGHT.label,
40935
+ "sm:col-span-8 sm:col-start-3": src && position === POSITIONS.BOTTOM.label,
40936
+ "sm:col-span-12 sm:col-start-1 flex flex-col justify-center order-2": src && position === POSITIONS.TOP.label,
40937
+ "sm:col-start-7": src && position === POSITIONS.LEFT.label,
40937
40938
  "flex flex-col justify-center sm:col-span-12": !src
40938
40939
  });
40939
40940
  };
@@ -40943,7 +40944,8 @@ var HeroWithMultipleLayouts = function HeroWithMultipleLayouts(_ref) {
40943
40944
  return classnames("sm:col-span-5 col-span-12 flex justify-center", {
40944
40945
  "sm:col-start-1": src && position === POSITIONS.LEFT.label,
40945
40946
  "sm:col-start-8": src && position === POSITIONS.RIGHT.label,
40946
- "sm:col-span-8 sm:col-start-3": src && position === POSITIONS.CENTER.label,
40947
+ "sm:col-span-8 sm:col-start-3": src && position === POSITIONS.BOTTOM.label,
40948
+ "sm:col-span-8 sm:col-start-3 flex justify-center order-1": src && position === POSITIONS.TOP.label,
40947
40949
  hidden: !src
40948
40950
  });
40949
40951
  };
@@ -40951,24 +40953,24 @@ var HeroWithMultipleLayouts = function HeroWithMultipleLayouts(_ref) {
40951
40953
  var src = _ref4.src,
40952
40954
  position = _ref4.position;
40953
40955
  return classnames("flex w-full gap-x-4", {
40954
- "justify-center": !src || position === POSITIONS.CENTER.label
40956
+ "justify-center": !src || position === POSITIONS.BOTTOM.label || position === POSITIONS.TOP.label
40955
40957
  });
40956
40958
  };
40957
40959
  var textClasses = function textClasses(_ref5) {
40958
40960
  var src = _ref5.src,
40959
40961
  position = _ref5.position;
40960
40962
  return classnames({
40961
- "text-center": !src || position === POSITIONS.CENTER.label
40963
+ "text-center": !src || position === POSITIONS.BOTTOM.label || position === POSITIONS.TOP.label
40962
40964
  });
40963
40965
  };
40964
40966
  return /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
40967
+ enableAnimation: enableAnimation,
40968
+ id: id,
40965
40969
  backgroundImage: mergeLeft({
40966
40970
  src: src
40967
40971
  }, design.backgroundImage),
40968
40972
  className: "flex items-center justify-between gap-x-2",
40969
- design: mergeDesign(design.body, 24),
40970
- enableAnimation: enableAnimation,
40971
- id: id
40973
+ design: mergeDesign(design.body, 24)
40972
40974
  }, /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
40973
40975
  isStart: true,
40974
40976
  Icon: ArrowLeftS$1,
@@ -41034,7 +41036,7 @@ var HeroWithMultipleLayouts = function HeroWithMultipleLayouts(_ref) {
41034
41036
  lgImageSize: design.media.width,
41035
41037
  src: media.src,
41036
41038
  className: classnames({
41037
- "slider-image": media.position !== POSITIONS.CENTER.label
41039
+ "slider-image": media.position !== POSITIONS.BOTTOM.label || media.position !== POSITIONS.TOP.label
41038
41040
  })
41039
41041
  }))));
41040
41042
  })), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {