@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.js CHANGED
@@ -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"];
@@ -40318,7 +40322,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40318
40322
  enableAnimation = properties.enableAnimation,
40319
40323
  socialIcons = properties.socialIcons,
40320
40324
  src = properties.backgroundImage.src;
40321
- var baseClasses = "grid grid-cols-12 sm:gap-x-4 items-center gap-y-8";
40325
+ var baseClasses = "flex flex-col sm:flex-row sm:gap-x-4 items-center gap-y-8 sm:justify-between";
40322
40326
  return /*#__PURE__*/React__default.createElement(BlockWrapper, {
40323
40327
  className: className,
40324
40328
  enableAnimation: enableAnimation,
@@ -40330,17 +40334,16 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40330
40334
  design: design.body,
40331
40335
  nestedClassName: baseClasses
40332
40336
  }, /*#__PURE__*/React__default.createElement("div", {
40333
- 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"
40337
+ className: "flex flex-grow flex-col gap-y-4 sm:flex-row sm:gap-x-4"
40334
40338
  }, /*#__PURE__*/React__default.createElement(StyledImage$1, {
40335
40339
  image: image,
40340
+ className: "max-w-fit",
40336
40341
  design: design.logo,
40337
40342
  disableButtonAndLinks: otherProps.disableButtonAndLinks,
40338
40343
  id: "footer-with-icons-logo",
40339
40344
  src: logo.src,
40340
- wrapperClassName: "col-span-8 sm:col-span-2 sm:justify-self-end"
40341
- }), /*#__PURE__*/React__default.createElement("div", {
40342
- className: "col-span-6 flex sm:col-span-6 sm:gap-x-4"
40343
- }, logo.src && /*#__PURE__*/React__default.createElement(StyledWrapper, {
40345
+ wrapperClassName: "items-center"
40346
+ }), logo.src && /*#__PURE__*/React__default.createElement(StyledWrapper, {
40344
40347
  className: "hidden sm:block",
40345
40348
  design: {
40346
40349
  borderRightWidth: "1px",
@@ -40352,8 +40355,8 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40352
40355
  component: "p",
40353
40356
  id: "footer-with-icons-copyright-text",
40354
40357
  style: design.copyrightText
40355
- }, otherProps), copyrightText))), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
40356
- className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end",
40358
+ }, otherProps), copyrightText)), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
40359
+ className: "flex justify-center gap-x-4 sm:justify-end",
40357
40360
  isVisible: isNotEmpty(socialIcons)
40358
40361
  }, socialIcons.map(function (_icon, index) {
40359
40362
  return /*#__PURE__*/React__default.createElement(Link, _extends$2({
@@ -40371,7 +40374,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
40371
40374
  }, _icon), otherProps)));
40372
40375
  })), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
40373
40376
  isTitle: true,
40374
- className: "col-span-12 -mt-2 flex justify-center sm:hidden",
40377
+ className: "flex justify-center text-center sm:hidden sm:text-left",
40375
40378
  id: "footer-with-icons-copyright-text",
40376
40379
  style: design.copyrightText
40377
40380
  }, otherProps), copyrightText));