@bigbinary/neeto-site-blocks 1.9.3 → 1.9.5

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
@@ -16572,7 +16572,7 @@ var CardsClassic = function CardsClassic(_ref) {
16572
16572
  }, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
16573
16573
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
16574
16574
  id: "cards-classic-call-to-action",
16575
- style: design.button
16575
+ style: dissoc("justifyContent", design.button)
16576
16576
  }, button, otherProps))));
16577
16577
  };
16578
16578
 
@@ -21549,7 +21549,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
21549
21549
  }
21550
21550
  }, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
21551
21551
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
21552
- style: design.button
21552
+ style: dissoc("justifyContent", design.button)
21553
21553
  }, _objectSpread$h(_objectSpread$h({}, button), {}, {
21554
21554
  disableButtonAndLinks: disableButtonAndLinks
21555
21555
  }), {
@@ -21639,7 +21639,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
21639
21639
  }, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
21640
21640
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
21641
21641
  id: "cards-with-customizable-grid-action-button",
21642
- style: design.button
21642
+ style: dissoc("justifyContent", design.button)
21643
21643
  }, button, otherProps)))));
21644
21644
  };
21645
21645
 
@@ -40225,7 +40225,7 @@ var FooterClassic = function FooterClassic(_ref) {
40225
40225
  socialIcons = properties.socialIcons,
40226
40226
  isPositionCentre = properties.isPositionCentre,
40227
40227
  src = properties.backgroundImage.src;
40228
- var baseClasses = "grid grid-cols-12 gap-x-2 sm:gap-x-4 grid-flow-row-dense gap-y-8";
40228
+ var baseClasses = "flex flex-col gap-y-8";
40229
40229
  if (isPositionCentre) {
40230
40230
  return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
40231
40231
  className: className,
@@ -40297,34 +40297,43 @@ var FooterClassic = function FooterClassic(_ref) {
40297
40297
  }, design.backgroundImage),
40298
40298
  design: design.body,
40299
40299
  nestedClassName: baseClasses
40300
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40301
+ className: "flex flex-col justify-between gap-x-6 sm:flex-row"
40302
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40303
+ className: "mb-8 flex flex-shrink-0 justify-start sm:mb-0"
40300
40304
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
40301
40305
  image: image,
40302
40306
  design: design.logo,
40303
40307
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
40304
40308
  id: "footer-classic-logo",
40305
- src: logo.src,
40306
- wrapperClassName: "col-span-12 sm:col-span-2 !justify-self-start"
40307
- }), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40308
- className: "col-span-12 grid grid-cols-4 gap-x-10 gap-y-4 sm:col-span-10 sm:col-start-4 sm:flex sm:justify-end",
40309
+ src: logo.src
40310
+ })), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40311
+ className: "flex flex-grow flex-wrap gap-x-7 gap-y-4 sm:justify-end",
40309
40312
  isVisible: neetoCist.isNotEmpty(links)
40310
40313
  }, links.map(function (link, index) {
40311
40314
  return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
40312
40315
  index: index,
40313
- className: "col-span-1 hover:text-gray-700",
40314
40316
  id: "footer-classic-links-".concat(index, "-link"),
40315
40317
  key: getUniqueKey(link.label, index)
40316
40318
  }, link, {
40317
40319
  style: design.links
40318
40320
  }, otherProps));
40319
- })), /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
40321
+ }))), /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
40320
40322
  as: "hr",
40321
40323
  className: "col-span-12",
40322
40324
  design: {
40323
40325
  borderColor: "#C2C8CC"
40324
40326
  }
40325
- }), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40326
- className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end",
40327
- isVisible: neetoCist.isNotEmpty(socialIcons)
40327
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
40328
+ className: "col-span-12 grid grid-cols-1 items-center gap-4 sm:grid-cols-2 "
40329
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
40330
+ className: "order-2 sm:order-1"
40331
+ }, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40332
+ className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-1 sm:justify-start sm:text-left",
40333
+ id: "footer-classic-copyright-text",
40334
+ style: design.copyrightText
40335
+ }, otherProps), copyrightText)), /*#__PURE__*/React__default["default"].createElement("div", {
40336
+ className: "order-1 flex justify-center space-x-4 sm:order-2 sm:justify-end"
40328
40337
  }, socialIcons.map(function (_icon2, index) {
40329
40338
  return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
40330
40339
  id: "footer-classic-social-icons-".concat(index, "-link"),
@@ -40332,18 +40341,13 @@ var FooterClassic = function FooterClassic(_ref) {
40332
40341
  icon: function icon() {
40333
40342
  return renderIcon(_objectSpread$a({
40334
40343
  name: _icon2.name,
40335
- type: _icon2.type,
40336
- className: "hover:text-gray-600"
40344
+ type: _icon2.type
40337
40345
  }, design.socialIcon));
40338
40346
  }
40339
40347
  }, _objectSpread$a(_objectSpread$a({
40340
40348
  index: index
40341
40349
  }, _icon2), otherProps)));
40342
- })), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40343
- className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-1 sm:justify-start",
40344
- id: "footer-classic-copyright-text",
40345
- style: design.copyrightText
40346
- }, otherProps), copyrightText));
40350
+ }))));
40347
40351
  };
40348
40352
 
40349
40353
  var _excluded$c = ["configurations", "className", "id", "image"];
@@ -43879,7 +43883,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
43879
43883
  }, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
43880
43884
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
43881
43885
  id: "testimonial-with-slider-action-button",
43882
- style: design.button
43886
+ style: dissoc("justifyContent", design.button)
43883
43887
  }, button, otherProps))));
43884
43888
  };
43885
43889
 
@@ -43987,7 +43991,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
43987
43991
  }
43988
43992
  }, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
43989
43993
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
43990
- style: design.button
43994
+ style: dissoc("justifyContent", design.button)
43991
43995
  }, button, {
43992
43996
  id: "testimonial-with-vertical-view-action-button"
43993
43997
  }, otherProps))));