@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.js CHANGED
@@ -16526,7 +16526,7 @@ var CardsClassic = function CardsClassic(_ref) {
16526
16526
  }, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
16527
16527
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
16528
16528
  id: "cards-classic-call-to-action",
16529
- style: design.button
16529
+ style: dissoc("justifyContent", design.button)
16530
16530
  }, button, otherProps))));
16531
16531
  };
16532
16532
 
@@ -21503,7 +21503,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
21503
21503
  }
21504
21504
  }, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
21505
21505
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
21506
- style: design.button
21506
+ style: dissoc("justifyContent", design.button)
21507
21507
  }, _objectSpread$h(_objectSpread$h({}, button), {}, {
21508
21508
  disableButtonAndLinks: disableButtonAndLinks
21509
21509
  }), {
@@ -21593,7 +21593,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
21593
21593
  }, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
21594
21594
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
21595
21595
  id: "cards-with-customizable-grid-action-button",
21596
- style: design.button
21596
+ style: dissoc("justifyContent", design.button)
21597
21597
  }, button, otherProps)))));
21598
21598
  };
21599
21599
 
@@ -40179,7 +40179,7 @@ var FooterClassic = function FooterClassic(_ref) {
40179
40179
  socialIcons = properties.socialIcons,
40180
40180
  isPositionCentre = properties.isPositionCentre,
40181
40181
  src = properties.backgroundImage.src;
40182
- var baseClasses = "grid grid-cols-12 gap-x-2 sm:gap-x-4 grid-flow-row-dense gap-y-8";
40182
+ var baseClasses = "flex flex-col gap-y-8";
40183
40183
  if (isPositionCentre) {
40184
40184
  return /*#__PURE__*/React__default.createElement(BlockWrapper, {
40185
40185
  className: className,
@@ -40251,34 +40251,43 @@ var FooterClassic = function FooterClassic(_ref) {
40251
40251
  }, design.backgroundImage),
40252
40252
  design: design.body,
40253
40253
  nestedClassName: baseClasses
40254
+ }, /*#__PURE__*/React__default.createElement("div", {
40255
+ className: "flex flex-col justify-between gap-x-6 sm:flex-row"
40256
+ }, /*#__PURE__*/React__default.createElement("div", {
40257
+ className: "mb-8 flex flex-shrink-0 justify-start sm:mb-0"
40254
40258
  }, /*#__PURE__*/React__default.createElement(StyledImage$1, {
40255
40259
  image: image,
40256
40260
  design: design.logo,
40257
40261
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
40258
40262
  id: "footer-classic-logo",
40259
- src: logo.src,
40260
- wrapperClassName: "col-span-12 sm:col-span-2 !justify-self-start"
40261
- }), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
40262
- 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",
40263
+ src: logo.src
40264
+ })), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
40265
+ className: "flex flex-grow flex-wrap gap-x-7 gap-y-4 sm:justify-end",
40263
40266
  isVisible: isNotEmpty(links)
40264
40267
  }, links.map(function (link, index) {
40265
40268
  return /*#__PURE__*/React__default.createElement(Link, _extends$2({
40266
40269
  index: index,
40267
- className: "col-span-1 hover:text-gray-700",
40268
40270
  id: "footer-classic-links-".concat(index, "-link"),
40269
40271
  key: getUniqueKey(link.label, index)
40270
40272
  }, link, {
40271
40273
  style: design.links
40272
40274
  }, otherProps));
40273
- })), /*#__PURE__*/React__default.createElement(StyledWrapper, {
40275
+ }))), /*#__PURE__*/React__default.createElement(StyledWrapper, {
40274
40276
  as: "hr",
40275
40277
  className: "col-span-12",
40276
40278
  design: {
40277
40279
  borderColor: "#C2C8CC"
40278
40280
  }
40279
- }), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
40280
- className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end",
40281
- isVisible: isNotEmpty(socialIcons)
40281
+ }), /*#__PURE__*/React__default.createElement("div", {
40282
+ className: "col-span-12 grid grid-cols-1 items-center gap-4 sm:grid-cols-2 "
40283
+ }, /*#__PURE__*/React__default.createElement("div", {
40284
+ className: "order-2 sm:order-1"
40285
+ }, /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
40286
+ className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-1 sm:justify-start sm:text-left",
40287
+ id: "footer-classic-copyright-text",
40288
+ style: design.copyrightText
40289
+ }, otherProps), copyrightText)), /*#__PURE__*/React__default.createElement("div", {
40290
+ className: "order-1 flex justify-center space-x-4 sm:order-2 sm:justify-end"
40282
40291
  }, socialIcons.map(function (_icon2, index) {
40283
40292
  return /*#__PURE__*/React__default.createElement(Link, _extends$2({
40284
40293
  id: "footer-classic-social-icons-".concat(index, "-link"),
@@ -40286,18 +40295,13 @@ var FooterClassic = function FooterClassic(_ref) {
40286
40295
  icon: function icon() {
40287
40296
  return renderIcon(_objectSpread$a({
40288
40297
  name: _icon2.name,
40289
- type: _icon2.type,
40290
- className: "hover:text-gray-600"
40298
+ type: _icon2.type
40291
40299
  }, design.socialIcon));
40292
40300
  }
40293
40301
  }, _objectSpread$a(_objectSpread$a({
40294
40302
  index: index
40295
40303
  }, _icon2), otherProps)));
40296
- })), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
40297
- className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-1 sm:justify-start",
40298
- id: "footer-classic-copyright-text",
40299
- style: design.copyrightText
40300
- }, otherProps), copyrightText));
40304
+ }))));
40301
40305
  };
40302
40306
 
40303
40307
  var _excluded$c = ["configurations", "className", "id", "image"];
@@ -43833,7 +43837,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
43833
43837
  }, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
43834
43838
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
43835
43839
  id: "testimonial-with-slider-action-button",
43836
- style: design.button
43840
+ style: dissoc("justifyContent", design.button)
43837
43841
  }, button, otherProps))));
43838
43842
  };
43839
43843
 
@@ -43941,7 +43945,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
43941
43945
  }
43942
43946
  }, /*#__PURE__*/React__default.createElement(Button$1, _extends$2({
43943
43947
  className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
43944
- style: design.button
43948
+ style: dissoc("justifyContent", design.button)
43945
43949
  }, button, {
43946
43950
  id: "testimonial-with-vertical-view-action-button"
43947
43951
  }, otherProps))));