keski_lib_catalog 1.4.1 → 1.4.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.js +28 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +29 -8
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64,7 +64,28 @@ var AtomicElements = /*#__PURE__*/function () {
|
|
|
64
64
|
}();
|
|
65
65
|
|
|
66
66
|
function Layout1(content) {
|
|
67
|
-
return /*#__PURE__*/React__default.createElement(
|
|
67
|
+
return /*#__PURE__*/React__default.createElement(material.Box, {
|
|
68
|
+
sx: {
|
|
69
|
+
width: '100%',
|
|
70
|
+
height: '100%'
|
|
71
|
+
}
|
|
72
|
+
}, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
73
|
+
component: 'h2',
|
|
74
|
+
dangerouslySetInnerHTML: {
|
|
75
|
+
__html: content.component.title ? content.component.title : ' '
|
|
76
|
+
},
|
|
77
|
+
sx: {
|
|
78
|
+
whiteSpace: 'pre-wrap',
|
|
79
|
+
fontSize: {
|
|
80
|
+
xs: "1.875em",
|
|
81
|
+
sm: "2.25em",
|
|
82
|
+
md: "3em",
|
|
83
|
+
lg: "3em",
|
|
84
|
+
xl: "3em"
|
|
85
|
+
},
|
|
86
|
+
paddingBottom: "32px"
|
|
87
|
+
}
|
|
88
|
+
}), /*#__PURE__*/React__default.createElement(Carousel, {
|
|
68
89
|
indicators: true,
|
|
69
90
|
navButtonsAlwaysInvisible: true,
|
|
70
91
|
sx: {
|
|
@@ -77,7 +98,7 @@ function Layout1(content) {
|
|
|
77
98
|
content: item,
|
|
78
99
|
side: content.component.justify_content
|
|
79
100
|
});
|
|
80
|
-
}));
|
|
101
|
+
})));
|
|
81
102
|
}
|
|
82
103
|
function Item(props) {
|
|
83
104
|
var content = props.content,
|
|
@@ -135,7 +156,7 @@ function Item(props) {
|
|
|
135
156
|
borderRadius: '100%'
|
|
136
157
|
}
|
|
137
158
|
}, /*#__PURE__*/React__default.createElement(Avatar, {
|
|
138
|
-
src: content.image.url ? content.image.url : '',
|
|
159
|
+
src: content.image ? content.image.url ? content.image.url : 'none' : 'none',
|
|
139
160
|
alt: content.title ? content.title : '',
|
|
140
161
|
sx: {
|
|
141
162
|
width: '120px',
|
|
@@ -590,7 +611,7 @@ function Layout1$3(content) {
|
|
|
590
611
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
591
612
|
component: "img",
|
|
592
613
|
alt: img.description ? img.description : "",
|
|
593
|
-
image: img.image.url ? img.image.url :
|
|
614
|
+
image: img.image ? img.image.url ? img.image.url : 'none' : 'none',
|
|
594
615
|
sx: {
|
|
595
616
|
width: "100%",
|
|
596
617
|
height: "100%",
|
|
@@ -857,7 +878,7 @@ function Item$2(props) {
|
|
|
857
878
|
alt: item.title ? item.title : '',
|
|
858
879
|
height: "305px",
|
|
859
880
|
width: "305px",
|
|
860
|
-
image: item.image.url ? item.image.url : 'none',
|
|
881
|
+
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
861
882
|
sx: {
|
|
862
883
|
aspectRatio: '1/1',
|
|
863
884
|
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : "1") + ")")
|
|
@@ -1203,7 +1224,7 @@ function Item$3(props) {
|
|
|
1203
1224
|
}
|
|
1204
1225
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
1205
1226
|
component: "img",
|
|
1206
|
-
image: item.image.url ? item.image.url : 'none',
|
|
1227
|
+
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
1207
1228
|
alt: item.title ? item.title : 'none',
|
|
1208
1229
|
sx: {
|
|
1209
1230
|
width: '100%',
|
|
@@ -3253,7 +3274,7 @@ var Sections = /*#__PURE__*/function () {
|
|
|
3253
3274
|
'0': 'Banner',
|
|
3254
3275
|
'1': 'Texto + Imágenes',
|
|
3255
3276
|
'2': 'Citas/Testimonios',
|
|
3256
|
-
'3': '
|
|
3277
|
+
'3': 'Galería',
|
|
3257
3278
|
'4': 'Texto',
|
|
3258
3279
|
'5': 'Lista',
|
|
3259
3280
|
'6': 'Marcas',
|