@bigbinary/neeto-site-blocks 1.9.1 → 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
@@ -40455,7 +40455,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40455
40455
  design: design.body,
40456
40456
  nestedClassName: baseClasses
40457
40457
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40458
- className: "col-span-12 sm:col-span-5"
40458
+ className: "col-span-12 md:col-span-5"
40459
40459
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40460
40460
  className: "flex items-center gap-x-2"
40461
40461
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
@@ -40471,13 +40471,13 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40471
40471
  id: "footer-with-links-description",
40472
40472
  style: design.description
40473
40473
  }, otherProps), description)), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40474
- 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",
40475
40475
  isVisible: neetoCist.isNotEmpty(columns)
40476
40476
  }, columns.map(function (_ref2, index) {
40477
40477
  var title = _ref2.title,
40478
40478
  links = _ref2.links;
40479
40479
  return /*#__PURE__*/React__default["default"].createElement("div", {
40480
- className: "col-span-2",
40480
+ className: " col-span-12 sm:col-span-2",
40481
40481
  key: title
40482
40482
  }, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40483
40483
  index: index,
@@ -40507,30 +40507,13 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40507
40507
  }, otherProps)));
40508
40508
  })));
40509
40509
  })), /*#__PURE__*/React__default["default"].createElement("div", {
40510
- 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"
40511
40511
  }, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40512
40512
  isTitle: true,
40513
40513
  component: "h5",
40514
40514
  id: "footer-with-links-contact-title",
40515
40515
  style: design.columnTitle
40516
40516
  }, otherProps), contact.title), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40517
- className: "flex gap-x-1",
40518
- isVisible: neetoCist.isNotEmpty(contact.socialLinks)
40519
- }, contact.socialLinks.map(function (_icon, index) {
40520
- return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
40521
- disableHovering: true,
40522
- id: "footer-with-links-social-links-".concat(index, "-icon"),
40523
- key: getUniqueKey(_icon.name, index),
40524
- icon: function icon() {
40525
- return renderIcon(_objectSpread$8({
40526
- name: _icon.name,
40527
- type: _icon.type
40528
- }, design.socialIcon));
40529
- }
40530
- }, _objectSpread$8(_objectSpread$8({
40531
- index: index
40532
- }, _icon), otherProps)));
40533
- })), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40534
40517
  as: "ul",
40535
40518
  className: "space-y-1",
40536
40519
  isVisible: neetoCist.isNotEmpty(contact.other),
@@ -40549,9 +40532,28 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
40549
40532
  label: value,
40550
40533
  style: design.columnLinks,
40551
40534
  to: type === "Email" ? "mailto:".concat(value) : "tel:".concat(value)
40552
- }, 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)));
40553
40555
  }))), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40554
- className: "col-span-12 mt-8 sm:mt-0",
40556
+ className: "col-span-12",
40555
40557
  id: "footer-with-links-copyright-text",
40556
40558
  style: design.copyrightText
40557
40559
  }, otherProps), copyrightText));