cmspageblocks 1.0.40 → 1.0.41
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/build/index.js
CHANGED
|
@@ -3527,12 +3527,8 @@ function CustomSlider(_ref) {
|
|
|
3527
3527
|
showIndicators: content.length > 1 ? true : false,
|
|
3528
3528
|
centerSlidePercentage: 50
|
|
3529
3529
|
}, options.content.map(function (slide, index) {
|
|
3530
|
-
if (!slide.active) return;
|
|
3531
3530
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3532
3531
|
key: index,
|
|
3533
|
-
style: {
|
|
3534
|
-
height: options.height ? parseInt(options.height) : 600
|
|
3535
|
-
},
|
|
3536
3532
|
dangerouslySetInnerHTML: {
|
|
3537
3533
|
__html: slide.content
|
|
3538
3534
|
}
|
package/package.json
CHANGED
|
@@ -16,13 +16,9 @@ export default function CustomSlider({ options }) {
|
|
|
16
16
|
centerSlidePercentage={50}
|
|
17
17
|
>
|
|
18
18
|
{options.content.map((slide, index) => {
|
|
19
|
-
if (!slide.active) return;
|
|
20
19
|
return (
|
|
21
20
|
<div
|
|
22
|
-
key={index}
|
|
23
|
-
style={{
|
|
24
|
-
height: options.height ? parseInt(options.height) : 600,
|
|
25
|
-
}}
|
|
21
|
+
key={index}
|
|
26
22
|
dangerouslySetInnerHTML={{ __html: slide.content }}
|
|
27
23
|
></div>
|
|
28
24
|
);
|