@bigbinary/neeto-site-blocks 1.9.1 → 1.9.3
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 +25 -23
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +25 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40409,7 +40409,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40409
40409
|
design: design.body,
|
|
40410
40410
|
nestedClassName: baseClasses
|
|
40411
40411
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
40412
|
-
className: "col-span-12
|
|
40412
|
+
className: "col-span-12 md:col-span-5"
|
|
40413
40413
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
40414
40414
|
className: "flex items-center gap-x-2"
|
|
40415
40415
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
@@ -40425,13 +40425,13 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40425
40425
|
id: "footer-with-links-description",
|
|
40426
40426
|
style: design.description
|
|
40427
40427
|
}, otherProps), description)), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
|
|
40428
|
-
className: "col-span-12 mb-4 grid grid-cols-
|
|
40428
|
+
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",
|
|
40429
40429
|
isVisible: isNotEmpty(columns)
|
|
40430
40430
|
}, columns.map(function (_ref2, index) {
|
|
40431
40431
|
var title = _ref2.title,
|
|
40432
40432
|
links = _ref2.links;
|
|
40433
40433
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
40434
|
-
className: "col-span-2",
|
|
40434
|
+
className: " col-span-12 sm:col-span-2",
|
|
40435
40435
|
key: title
|
|
40436
40436
|
}, /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
40437
40437
|
index: index,
|
|
@@ -40461,30 +40461,13 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40461
40461
|
}, otherProps)));
|
|
40462
40462
|
})));
|
|
40463
40463
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
40464
|
-
className: "col-span-12
|
|
40464
|
+
className: "col-span-12 md:col-span-3 md:col-start-10 lg:col-start-11"
|
|
40465
40465
|
}, /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
40466
40466
|
isTitle: true,
|
|
40467
40467
|
component: "h5",
|
|
40468
40468
|
id: "footer-with-links-contact-title",
|
|
40469
40469
|
style: design.columnTitle
|
|
40470
40470
|
}, otherProps), contact.title), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
|
|
40471
|
-
className: "flex gap-x-1",
|
|
40472
|
-
isVisible: isNotEmpty(contact.socialLinks)
|
|
40473
|
-
}, contact.socialLinks.map(function (_icon, index) {
|
|
40474
|
-
return /*#__PURE__*/React__default.createElement(Link, _extends$2({
|
|
40475
|
-
disableHovering: true,
|
|
40476
|
-
id: "footer-with-links-social-links-".concat(index, "-icon"),
|
|
40477
|
-
key: getUniqueKey(_icon.name, index),
|
|
40478
|
-
icon: function icon() {
|
|
40479
|
-
return renderIcon(_objectSpread$8({
|
|
40480
|
-
name: _icon.name,
|
|
40481
|
-
type: _icon.type
|
|
40482
|
-
}, design.socialIcon));
|
|
40483
|
-
}
|
|
40484
|
-
}, _objectSpread$8(_objectSpread$8({
|
|
40485
|
-
index: index
|
|
40486
|
-
}, _icon), otherProps)));
|
|
40487
|
-
})), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
|
|
40488
40471
|
as: "ul",
|
|
40489
40472
|
className: "space-y-1",
|
|
40490
40473
|
isVisible: isNotEmpty(contact.other),
|
|
@@ -40503,9 +40486,28 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40503
40486
|
label: value,
|
|
40504
40487
|
style: design.columnLinks,
|
|
40505
40488
|
to: type === "Email" ? "mailto:".concat(value) : "tel:".concat(value)
|
|
40506
|
-
}, otherProps
|
|
40489
|
+
}, otherProps, {
|
|
40490
|
+
className: "break-all"
|
|
40491
|
+
})));
|
|
40492
|
+
})), /*#__PURE__*/React__default.createElement(ListWrapper$1, {
|
|
40493
|
+
className: "mt-2 flex gap-x-3",
|
|
40494
|
+
isVisible: isNotEmpty(contact.socialLinks)
|
|
40495
|
+
}, contact.socialLinks.map(function (_icon, index) {
|
|
40496
|
+
return /*#__PURE__*/React__default.createElement(Link, _extends$2({
|
|
40497
|
+
disableHovering: true,
|
|
40498
|
+
id: "footer-with-links-social-links-".concat(index, "-icon"),
|
|
40499
|
+
key: getUniqueKey(_icon.name, index),
|
|
40500
|
+
icon: function icon() {
|
|
40501
|
+
return renderIcon(_objectSpread$8({
|
|
40502
|
+
name: _icon.name,
|
|
40503
|
+
type: _icon.type
|
|
40504
|
+
}, design.socialIcon));
|
|
40505
|
+
}
|
|
40506
|
+
}, _objectSpread$8(_objectSpread$8({
|
|
40507
|
+
index: index
|
|
40508
|
+
}, _icon), otherProps)));
|
|
40507
40509
|
}))), /*#__PURE__*/React__default.createElement(Typography$1, _extends$2({
|
|
40508
|
-
className: "col-span-12
|
|
40510
|
+
className: "col-span-12",
|
|
40509
40511
|
id: "footer-with-links-copyright-text",
|
|
40510
40512
|
style: design.copyrightText
|
|
40511
40513
|
}, otherProps), copyrightText));
|