@bigbinary/neeto-site-blocks 1.9.0 → 1.9.2

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
@@ -14809,8 +14809,7 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
14809
14809
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage, _extends__default["default"]({
14810
14810
  as: image !== null && image !== void 0 ? image : "img",
14811
14811
  height: 0,
14812
- objectFit: "contain",
14813
- sizes: "100vw",
14812
+ sizes: "(max-width: 480px) 700vw, (max-width: 768px) 500vw, (max-width: 1200px) 300vw, (max-width: 1500px) 250vw, 100vw",
14814
14813
  width: 0
14815
14814
  }, props)));
14816
14815
  };
@@ -40456,7 +40455,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40456
40455
  design: design.body,
40457
40456
  nestedClassName: baseClasses
40458
40457
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40459
- className: "col-span-12 sm:col-span-5"
40458
+ className: "col-span-12 md:col-span-5"
40460
40459
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40461
40460
  className: "flex items-center gap-x-2"
40462
40461
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
@@ -40472,13 +40471,13 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40472
40471
  id: "footer-with-links-description",
40473
40472
  style: design.description
40474
40473
  }, otherProps), description)), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40475
- className: "col-span-12 mb-4 grid grid-cols-4 gap-y-4 sm:col-span-4 sm:col-start-6 sm:mb-0 lg:col-start-7",
40474
+ className: "col-span-12 mb-4 grid grid-cols-12 gap-4 sm:grid-cols-4 md:col-span-4 md:col-start-6 md:mb-0 lg:col-start-7",
40476
40475
  isVisible: neetoCist.isNotEmpty(columns)
40477
40476
  }, columns.map(function (_ref2, index) {
40478
40477
  var title = _ref2.title,
40479
40478
  links = _ref2.links;
40480
40479
  return /*#__PURE__*/React__default["default"].createElement("div", {
40481
- className: "col-span-2",
40480
+ className: " col-span-12 sm:col-span-2",
40482
40481
  key: title
40483
40482
  }, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40484
40483
  index: index,
@@ -40508,30 +40507,13 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40508
40507
  }, otherProps)));
40509
40508
  })));
40510
40509
  })), /*#__PURE__*/React__default["default"].createElement("div", {
40511
- className: "col-span-12 space-y-2 sm:col-span-2 sm:col-start-10 lg:col-start-11"
40510
+ className: "col-span-12 md:col-span-3 md:col-start-10 lg:col-start-11"
40512
40511
  }, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40513
40512
  isTitle: true,
40514
40513
  component: "h5",
40515
40514
  id: "footer-with-links-contact-title",
40516
40515
  style: design.columnTitle
40517
40516
  }, otherProps), contact.title), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40518
- className: "flex gap-x-1",
40519
- isVisible: neetoCist.isNotEmpty(contact.socialLinks)
40520
- }, contact.socialLinks.map(function (_icon, index) {
40521
- return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
40522
- disableHovering: true,
40523
- id: "footer-with-links-social-links-".concat(index, "-icon"),
40524
- key: getUniqueKey(_icon.name, index),
40525
- icon: function icon() {
40526
- return renderIcon(_objectSpread$8({
40527
- name: _icon.name,
40528
- type: _icon.type
40529
- }, design.socialIcon));
40530
- }
40531
- }, _objectSpread$8(_objectSpread$8({
40532
- index: index
40533
- }, _icon), otherProps)));
40534
- })), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40535
40517
  as: "ul",
40536
40518
  className: "space-y-1",
40537
40519
  isVisible: neetoCist.isNotEmpty(contact.other),
@@ -40550,9 +40532,28 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40550
40532
  label: value,
40551
40533
  style: design.columnLinks,
40552
40534
  to: type === "Email" ? "mailto:".concat(value) : "tel:".concat(value)
40553
- }, otherProps)));
40535
+ }, otherProps, {
40536
+ className: "break-all"
40537
+ })));
40538
+ })), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40539
+ className: "mt-2 flex gap-x-3",
40540
+ isVisible: neetoCist.isNotEmpty(contact.socialLinks)
40541
+ }, contact.socialLinks.map(function (_icon, index) {
40542
+ return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
40543
+ disableHovering: true,
40544
+ id: "footer-with-links-social-links-".concat(index, "-icon"),
40545
+ key: getUniqueKey(_icon.name, index),
40546
+ icon: function icon() {
40547
+ return renderIcon(_objectSpread$8({
40548
+ name: _icon.name,
40549
+ type: _icon.type
40550
+ }, design.socialIcon));
40551
+ }
40552
+ }, _objectSpread$8(_objectSpread$8({
40553
+ index: index
40554
+ }, _icon), otherProps)));
40554
40555
  }))), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40555
- className: "col-span-12 mt-8 sm:mt-0",
40556
+ className: "col-span-12",
40556
40557
  id: "footer-with-links-copyright-text",
40557
40558
  style: design.copyrightText
40558
40559
  }, otherProps), copyrightText));