keski_lib_catalog 1.3.21 → 1.3.22
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 +98 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +99 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1133,10 +1133,10 @@ function Item$3(props) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
}, arrayFourElements.map(function (items, p) {
|
|
1135
1135
|
return /*#__PURE__*/React__default.createElement(material.Container, {
|
|
1136
|
-
maxWidth: "lg"
|
|
1136
|
+
maxWidth: "lg",
|
|
1137
|
+
key: p
|
|
1137
1138
|
}, /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1138
1139
|
container: true,
|
|
1139
|
-
key: p,
|
|
1140
1140
|
spacing: 0,
|
|
1141
1141
|
sx: {
|
|
1142
1142
|
margin: 'auto',
|
|
@@ -1295,7 +1295,6 @@ function Layout1$7(content) {
|
|
|
1295
1295
|
fontWeight: 'bold'
|
|
1296
1296
|
}
|
|
1297
1297
|
})), /*#__PURE__*/React__default.createElement(material.AccordionDetails, {
|
|
1298
|
-
disablePortal: true,
|
|
1299
1298
|
sx: {
|
|
1300
1299
|
padding: "0px 10px 24px 10px"
|
|
1301
1300
|
}
|
|
@@ -1440,6 +1439,98 @@ function hexToRgb(hex) {
|
|
|
1440
1439
|
|
|
1441
1440
|
var JK_RESOURCES = 'https://jk-clients.s3.us-east-2.amazonaws.com/jk-resources/';
|
|
1442
1441
|
|
|
1442
|
+
function Layout1$8(content) {
|
|
1443
|
+
var _content$component, _content$component$su;
|
|
1444
|
+
return /*#__PURE__*/React__default.createElement(material.Box, {
|
|
1445
|
+
sx: {
|
|
1446
|
+
width: {
|
|
1447
|
+
xs: '100%',
|
|
1448
|
+
md: '100%'
|
|
1449
|
+
},
|
|
1450
|
+
textAlign: content.component.justify_content
|
|
1451
|
+
}
|
|
1452
|
+
}, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1453
|
+
component: 'h2',
|
|
1454
|
+
dangerouslySetInnerHTML: {
|
|
1455
|
+
__html: (_content$component = content.component) !== null && _content$component !== void 0 && _content$component.title ? content.component.title : ''
|
|
1456
|
+
},
|
|
1457
|
+
sx: {
|
|
1458
|
+
marginBottom: '45px',
|
|
1459
|
+
whiteSpace: 'pre-wrap',
|
|
1460
|
+
fontSize: {
|
|
1461
|
+
xs: '1.875em',
|
|
1462
|
+
sm: '2.25em',
|
|
1463
|
+
md: '3em',
|
|
1464
|
+
lg: '32px',
|
|
1465
|
+
xl: '32px'
|
|
1466
|
+
},
|
|
1467
|
+
fontWeight: 'bold'
|
|
1468
|
+
}
|
|
1469
|
+
}), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1470
|
+
container: true,
|
|
1471
|
+
direction: "row",
|
|
1472
|
+
alignItems: "flex-start",
|
|
1473
|
+
sx: {
|
|
1474
|
+
gap: '0px 40px'
|
|
1475
|
+
}
|
|
1476
|
+
}, (_content$component$su = content.component.subcomponent) === null || _content$component$su === void 0 ? void 0 : _content$component$su.map(function (i, index) {
|
|
1477
|
+
return /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1478
|
+
item: true,
|
|
1479
|
+
xs: 12,
|
|
1480
|
+
sm: 5,
|
|
1481
|
+
md: 2,
|
|
1482
|
+
lg: 3.6,
|
|
1483
|
+
xl: 3.6,
|
|
1484
|
+
key: index,
|
|
1485
|
+
sx: {
|
|
1486
|
+
'&:hover': {
|
|
1487
|
+
borderBottom: '6px solid black'
|
|
1488
|
+
},
|
|
1489
|
+
borderBottom: '2px solid #343d3f'
|
|
1490
|
+
}
|
|
1491
|
+
}, /*#__PURE__*/React__default.createElement(material.Link, {
|
|
1492
|
+
href: i !== null && i !== void 0 && i.button_action ? i === null || i === void 0 ? void 0 : i.button_action : '#',
|
|
1493
|
+
underline: "none",
|
|
1494
|
+
color: "#343d3f",
|
|
1495
|
+
target: (i === null || i === void 0 ? void 0 : i.link) == 4 ? '_blank' : '_self'
|
|
1496
|
+
}, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1497
|
+
component: 'p',
|
|
1498
|
+
sx: {
|
|
1499
|
+
fontSize: {
|
|
1500
|
+
xs: '1.875em',
|
|
1501
|
+
sm: '2.25em',
|
|
1502
|
+
md: '3em',
|
|
1503
|
+
lg: '3em',
|
|
1504
|
+
xl: '3em'
|
|
1505
|
+
},
|
|
1506
|
+
whiteSpace: 'pre-wrap',
|
|
1507
|
+
width: '100%'
|
|
1508
|
+
},
|
|
1509
|
+
dangerouslySetInnerHTML: {
|
|
1510
|
+
__html: i.title ? i.title : ''
|
|
1511
|
+
}
|
|
1512
|
+
})));
|
|
1513
|
+
})));
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
var Categories = /*#__PURE__*/function (_AtomicElements) {
|
|
1517
|
+
_inheritsLoose(Categories, _AtomicElements);
|
|
1518
|
+
function Categories() {
|
|
1519
|
+
var _this;
|
|
1520
|
+
_this = _AtomicElements.call(this) || this;
|
|
1521
|
+
_this.layout = [Layout1$8];
|
|
1522
|
+
_this.layoutFootprint = ['gallery_layout_1.png'];
|
|
1523
|
+
_this.layoutFootprintReq = [{
|
|
1524
|
+
'type': 1,
|
|
1525
|
+
'title': 'Tittle',
|
|
1526
|
+
'button_action': 'Button action',
|
|
1527
|
+
'Link': 'Link'
|
|
1528
|
+
}];
|
|
1529
|
+
return _this;
|
|
1530
|
+
}
|
|
1531
|
+
return Categories;
|
|
1532
|
+
}(AtomicElements);
|
|
1533
|
+
|
|
1443
1534
|
var Section = /*#__PURE__*/function () {
|
|
1444
1535
|
function Section(AtomicElement, theme) {
|
|
1445
1536
|
this.child = AtomicElement;
|
|
@@ -1477,7 +1568,8 @@ var Sections = /*#__PURE__*/function () {
|
|
|
1477
1568
|
this.list = new Section(new List());
|
|
1478
1569
|
this.brands = new Section(new Brands());
|
|
1479
1570
|
this.faq = new Section(new FAQ());
|
|
1480
|
-
this.
|
|
1571
|
+
this.categories = new Section(new Categories());
|
|
1572
|
+
this.sections = [this.banner, this.textPlusImg, this.quotes, this.gallery, this.text, this.list, this.brands, this.faq, this.categories];
|
|
1481
1573
|
}
|
|
1482
1574
|
var _proto2 = Sections.prototype;
|
|
1483
1575
|
_proto2.getSectionList = function getSectionList() {
|
|
@@ -1489,7 +1581,8 @@ var Sections = /*#__PURE__*/function () {
|
|
|
1489
1581
|
'4': 'Texto',
|
|
1490
1582
|
'5': 'Lista',
|
|
1491
1583
|
'6': 'Marcas',
|
|
1492
|
-
'7': 'FAQ'
|
|
1584
|
+
'7': 'FAQ',
|
|
1585
|
+
'8': 'Categorias'
|
|
1493
1586
|
};
|
|
1494
1587
|
};
|
|
1495
1588
|
_proto2.getLayoutsFromSection = function getLayoutsFromSection(index) {
|