@bigbinary/neeto-site-blocks 1.8.25 → 1.8.26
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 +52 -28
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +52 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15927,6 +15927,12 @@ var StyledInterweave = styled__default["default"](Interweave)(function (_ref) {
|
|
|
15927
15927
|
return "\n h1 {\n font-size: ".concat(fontSize ? "calc(".concat(FIXED_H1_SIZE, " + ").concat(fontSize, ")") : FIXED_H1_SIZE, ";\n font-weight: inherit;\n }\n\n h2 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H2_SIZE, " + ").concat(fontSize, ")") : FIXED_H2_SIZE, ";\n font-weight: inherit;\n }\n\n h3 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H3_SIZE, " + ").concat(fontSize, ")") : FIXED_H3_SIZE, ";\n font-weight: inherit;\n }\n\n h4 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H4_SIZE, " + ").concat(fontSize, ")") : FIXED_H4_SIZE, ";\n font-weight: inherit;\n }\n\n h5 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H5_SIZE, " + ").concat(fontSize, ")") : FIXED_H5_SIZE, ";\n font-weight: inherit;\n }\n");
|
|
15928
15928
|
});
|
|
15929
15929
|
|
|
15930
|
+
var _templateObject$1;
|
|
15931
|
+
var ListWrapper = styled__default["default"].div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral__default["default"]([""])));
|
|
15932
|
+
var ListWrapper$1 = withConditionalRender(ListWrapper, function (props) {
|
|
15933
|
+
return prop("isVisible", props);
|
|
15934
|
+
});
|
|
15935
|
+
|
|
15930
15936
|
var _templateObject;
|
|
15931
15937
|
var PaginationWrapper = styled__default["default"].div.attrs(function (_ref) {
|
|
15932
15938
|
var isActive = _ref.isActive;
|
|
@@ -40176,24 +40182,28 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40176
40182
|
borderColor: "#C2C8CC"
|
|
40177
40183
|
}
|
|
40178
40184
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40179
|
-
className: "col-span-12
|
|
40185
|
+
className: "col-span-12 sm:col-span-12 sm:mx-20 sm:flex sm:justify-between sm:gap-y-0"
|
|
40180
40186
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40181
|
-
className: "col-span-4 mb-4 sm:mb-0",
|
|
40182
40187
|
design: design.logo,
|
|
40183
40188
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40184
40189
|
id: "footer-classic-logo",
|
|
40185
|
-
src: logo.src
|
|
40186
|
-
|
|
40190
|
+
src: logo.src,
|
|
40191
|
+
wrapperClassName: "mb-4 sm:mb-0"
|
|
40192
|
+
}), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40193
|
+
className: "col-span-4 flex justify-center gap-x-4 sm:w-full sm:justify-around sm:gap-1",
|
|
40194
|
+
isVisible: neetoCist.isNotEmpty(links)
|
|
40195
|
+
}, links.map(function (link, index) {
|
|
40187
40196
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40188
40197
|
index: index,
|
|
40189
|
-
className: "
|
|
40198
|
+
className: "mt-2 flex justify-center hover:text-gray-700 sm:mt-0",
|
|
40190
40199
|
key: getUniqueKey(link.label, index)
|
|
40191
40200
|
}, link, {
|
|
40192
40201
|
id: "footer-classic-links-".concat(index, "-link"),
|
|
40193
40202
|
style: design.links
|
|
40194
40203
|
}, otherProps));
|
|
40195
|
-
})), /*#__PURE__*/React__default["default"].createElement(
|
|
40196
|
-
className: "col-span-12 flex justify-center gap-x-4 sm:col-span-8 sm:col-start-3"
|
|
40204
|
+
}))), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40205
|
+
className: "col-span-12 flex justify-center gap-x-4 sm:col-span-8 sm:col-start-3",
|
|
40206
|
+
isVisible: neetoCist.isNotEmpty(socialIcons)
|
|
40197
40207
|
}, socialIcons.map(function (_icon, index) {
|
|
40198
40208
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40199
40209
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
@@ -40225,13 +40235,14 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40225
40235
|
design: design.body,
|
|
40226
40236
|
nestedClassName: baseClasses
|
|
40227
40237
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40228
|
-
className: "col-span-12 sm:col-span-2",
|
|
40229
40238
|
design: design.logo,
|
|
40230
40239
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40231
40240
|
id: "footer-classic-logo",
|
|
40232
|
-
src: logo.src
|
|
40233
|
-
|
|
40234
|
-
|
|
40241
|
+
src: logo.src,
|
|
40242
|
+
wrapperClassName: "col-span-12 sm:col-span-2 !justify-self-start"
|
|
40243
|
+
}), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40244
|
+
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",
|
|
40245
|
+
isVisible: neetoCist.isNotEmpty(links)
|
|
40235
40246
|
}, links.map(function (link, index) {
|
|
40236
40247
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40237
40248
|
index: index,
|
|
@@ -40247,8 +40258,9 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40247
40258
|
design: {
|
|
40248
40259
|
borderColor: "#C2C8CC"
|
|
40249
40260
|
}
|
|
40250
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
40251
|
-
className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end"
|
|
40261
|
+
}), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40262
|
+
className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end",
|
|
40263
|
+
isVisible: neetoCist.isNotEmpty(socialIcons)
|
|
40252
40264
|
}, socialIcons.map(function (_icon2, index) {
|
|
40253
40265
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40254
40266
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
@@ -40299,14 +40311,16 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40299
40311
|
design: design.body,
|
|
40300
40312
|
nestedClassName: baseClasses
|
|
40301
40313
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40302
|
-
className: "col-span-12 grid grid-cols-
|
|
40314
|
+
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"
|
|
40303
40315
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40304
|
-
className: "col-span-4",
|
|
40305
40316
|
design: design.logo,
|
|
40306
40317
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40307
40318
|
id: "footer-with-icons-logo",
|
|
40308
|
-
src: logo.src
|
|
40309
|
-
|
|
40319
|
+
src: logo.src,
|
|
40320
|
+
wrapperClassName: "col-span-8 sm:col-span-2 sm:justify-self-end"
|
|
40321
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40322
|
+
className: "col-span-6 flex sm:col-span-6 sm:gap-x-4"
|
|
40323
|
+
}, logo.src && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
40310
40324
|
className: "hidden sm:block",
|
|
40311
40325
|
design: {
|
|
40312
40326
|
borderRightWidth: "1px",
|
|
@@ -40314,12 +40328,13 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40314
40328
|
}
|
|
40315
40329
|
}), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
40316
40330
|
isTitle: true,
|
|
40317
|
-
className: "hidden w-full sm:block",
|
|
40331
|
+
className: "my-auto hidden w-full self-center sm:block",
|
|
40318
40332
|
component: "p",
|
|
40319
40333
|
id: "footer-with-icons-copyright-text",
|
|
40320
40334
|
style: design.copyrightText
|
|
40321
|
-
}, otherProps), copyrightText)), /*#__PURE__*/React__default["default"].createElement(
|
|
40322
|
-
className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end"
|
|
40335
|
+
}, otherProps), copyrightText))), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40336
|
+
className: "col-span-12 flex justify-center gap-x-4 sm:col-span-4 sm:col-start-9 sm:justify-end",
|
|
40337
|
+
isVisible: neetoCist.isNotEmpty(socialIcons)
|
|
40323
40338
|
}, socialIcons.map(function (_icon, index) {
|
|
40324
40339
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40325
40340
|
id: "footer-with-icons-social-icon-".concat(index, "-link"),
|
|
@@ -40336,7 +40351,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40336
40351
|
}, _icon), otherProps)));
|
|
40337
40352
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
40338
40353
|
isTitle: true,
|
|
40339
|
-
className: "col-span-12 -mt-2 flex justify-
|
|
40354
|
+
className: "col-span-12 -mt-2 flex justify-center sm:hidden",
|
|
40340
40355
|
id: "footer-with-icons-copyright-text",
|
|
40341
40356
|
style: design.copyrightText
|
|
40342
40357
|
}, otherProps), copyrightText));
|
|
@@ -40387,8 +40402,9 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40387
40402
|
}, otherProps), logo.title)), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
40388
40403
|
id: "footer-with-links-description",
|
|
40389
40404
|
style: design.description
|
|
40390
|
-
}, otherProps), description)), /*#__PURE__*/React__default["default"].createElement(
|
|
40391
|
-
className: "col-span-12 mb-4 grid grid-cols-4 sm:col-span-4 sm:col-start-
|
|
40405
|
+
}, otherProps), description)), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40406
|
+
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",
|
|
40407
|
+
isVisible: neetoCist.isNotEmpty(columns)
|
|
40392
40408
|
}, columns.map(function (_ref2, index) {
|
|
40393
40409
|
var title = _ref2.title,
|
|
40394
40410
|
links = _ref2.links;
|
|
@@ -40401,8 +40417,10 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40401
40417
|
component: "h5",
|
|
40402
40418
|
id: "footer-with-links-columns-".concat(index, "-title"),
|
|
40403
40419
|
style: design.columnTitle
|
|
40404
|
-
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(
|
|
40420
|
+
}, otherProps), title), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40421
|
+
as: "ul",
|
|
40405
40422
|
className: "space-y-1",
|
|
40423
|
+
isVisible: neetoCist.isNotEmpty(links),
|
|
40406
40424
|
role: "list"
|
|
40407
40425
|
}, links.map(function (_ref3, linkIndex) {
|
|
40408
40426
|
var action = _ref3.action,
|
|
@@ -40413,6 +40431,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40413
40431
|
}, /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40414
40432
|
action: action,
|
|
40415
40433
|
linkIndex: linkIndex,
|
|
40434
|
+
disableHovering: true,
|
|
40416
40435
|
id: "footer-with-links-columns-".concat(index, "-links-").concat(linkIndex),
|
|
40417
40436
|
label: name,
|
|
40418
40437
|
style: design.columnLinks,
|
|
@@ -40420,16 +40439,18 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40420
40439
|
}, otherProps)));
|
|
40421
40440
|
})));
|
|
40422
40441
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40423
|
-
className: "col-span-12 space-y-2 sm:col-span-2"
|
|
40442
|
+
className: "col-span-12 space-y-2 sm:col-span-2 sm:col-start-10 lg:col-start-11"
|
|
40424
40443
|
}, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
40425
40444
|
isTitle: true,
|
|
40426
40445
|
component: "h5",
|
|
40427
40446
|
id: "footer-with-links-contact-title",
|
|
40428
40447
|
style: design.columnTitle
|
|
40429
|
-
}, otherProps), contact.title), /*#__PURE__*/React__default["default"].createElement(
|
|
40430
|
-
className: "flex gap-x-1"
|
|
40448
|
+
}, otherProps), contact.title), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40449
|
+
className: "flex gap-x-1",
|
|
40450
|
+
isVisible: neetoCist.isNotEmpty(contact.socialLinks)
|
|
40431
40451
|
}, contact.socialLinks.map(function (_icon, index) {
|
|
40432
40452
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40453
|
+
disableHovering: true,
|
|
40433
40454
|
id: "footer-with-links-social-links-".concat(index, "-icon"),
|
|
40434
40455
|
key: getUniqueKey(_icon.name, index),
|
|
40435
40456
|
icon: function icon() {
|
|
@@ -40441,8 +40462,10 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40441
40462
|
}, _objectSpread$8(_objectSpread$8({
|
|
40442
40463
|
index: index
|
|
40443
40464
|
}, _icon), otherProps)));
|
|
40444
|
-
})), /*#__PURE__*/React__default["default"].createElement(
|
|
40465
|
+
})), /*#__PURE__*/React__default["default"].createElement(ListWrapper$1, {
|
|
40466
|
+
as: "ul",
|
|
40445
40467
|
className: "space-y-1",
|
|
40468
|
+
isVisible: neetoCist.isNotEmpty(contact.other),
|
|
40446
40469
|
role: "list"
|
|
40447
40470
|
}, contact.other.map(function (_ref4, index) {
|
|
40448
40471
|
var action = _ref4.action,
|
|
@@ -40453,6 +40476,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40453
40476
|
}, /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
40454
40477
|
action: action,
|
|
40455
40478
|
index: index,
|
|
40479
|
+
disableHovering: true,
|
|
40456
40480
|
id: "footer-with-links-other-".concat(index, "-other"),
|
|
40457
40481
|
label: value,
|
|
40458
40482
|
style: design.columnLinks,
|