@bigbinary/neeto-site-blocks 1.9.4 → 1.9.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
@@ -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"];
@@ -40364,7 +40368,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40364
40368
  enableAnimation = properties.enableAnimation,
40365
40369
  socialIcons = properties.socialIcons,
40366
40370
  src = properties.backgroundImage.src;
40367
- var baseClasses = "grid grid-cols-12 sm:gap-x-4 items-center gap-y-8";
40371
+ var baseClasses = "flex flex-col sm:flex-row sm:gap-x-4 items-center gap-y-8 sm:justify-between";
40368
40372
  return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
40369
40373
  className: className,
40370
40374
  enableAnimation: enableAnimation,
@@ -40376,17 +40380,16 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40376
40380
  design: design.body,
40377
40381
  nestedClassName: baseClasses
40378
40382
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40379
- className: "col-span-12 grid grid-cols-8 gap-y-4 sm:col-span-7 sm:w-full sm:gap-x-4 lg:col-span-6"
40383
+ className: "flex flex-grow flex-col gap-y-4 sm:flex-row sm:gap-x-4"
40380
40384
  }, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
40381
40385
  image: image,
40386
+ className: "max-w-fit",
40382
40387
  design: design.logo,
40383
40388
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
40384
40389
  id: "footer-with-icons-logo",
40385
40390
  src: logo.src,
40386
- wrapperClassName: "col-span-8 sm:col-span-2 sm:justify-self-end"
40387
- }), /*#__PURE__*/React__default["default"].createElement("div", {
40388
- className: "col-span-6 flex sm:col-span-6 sm:gap-x-4"
40389
- }, logo.src && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
40391
+ wrapperClassName: "items-center"
40392
+ }), logo.src && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
40390
40393
  className: "hidden sm:block",
40391
40394
  design: {
40392
40395
  borderRightWidth: "1px",
@@ -40398,8 +40401,8 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40398
40401
  component: "p",
40399
40402
  id: "footer-with-icons-copyright-text",
40400
40403
  style: design.copyrightText
40401
- }, otherProps), copyrightText))), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40402
- className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end",
40404
+ }, otherProps), copyrightText)), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
40405
+ className: "flex justify-center gap-x-4 sm:justify-end",
40403
40406
  isVisible: neetoCist.isNotEmpty(socialIcons)
40404
40407
  }, socialIcons.map(function (_icon, index) {
40405
40408
  return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
@@ -40417,7 +40420,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40417
40420
  }, _icon), otherProps)));
40418
40421
  })), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
40419
40422
  isTitle: true,
40420
- className: "col-span-12 -mt-2 flex justify-center sm:hidden",
40423
+ className: "flex justify-center text-center sm:hidden sm:text-left",
40421
40424
  id: "footer-with-icons-copyright-text",
40422
40425
  style: design.copyrightText
40423
40426
  }, otherProps), copyrightText));