@cntrl-site/sdk 1.24.1 → 1.24.3-0
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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types/component/Component.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -2594,7 +2594,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2594
2594
|
setCounter(defaultImageCount % content.length);
|
|
2595
2595
|
};
|
|
2596
2596
|
placeImages();
|
|
2597
|
-
}, [defaultContentUrls, sizeType, customWidth, randomRange]);
|
|
2597
|
+
}, [defaultContentUrls, sizeType, customWidth, randomRange, revealPosition]);
|
|
2598
2598
|
react.useEffect(() => {
|
|
2599
2599
|
if (visible === "lastOne") {
|
|
2600
2600
|
setPlacedImages((prev) => prev.length > 0 ? [prev[prev.length - 1]] : []);
|
package/dist/index.mjs
CHANGED
|
@@ -2575,7 +2575,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2575
2575
|
setCounter(defaultImageCount % content.length);
|
|
2576
2576
|
};
|
|
2577
2577
|
placeImages();
|
|
2578
|
-
}, [defaultContentUrls, sizeType, customWidth, randomRange]);
|
|
2578
|
+
}, [defaultContentUrls, sizeType, customWidth, randomRange, revealPosition]);
|
|
2579
2579
|
useEffect(() => {
|
|
2580
2580
|
if (visible === "lastOne") {
|
|
2581
2581
|
setPlacedImages((prev) => prev.length > 0 ? [prev[prev.length - 1]] : []);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cntrl-site/sdk",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.3-0",
|
|
4
4
|
"description": "Generic SDK for use in public websites.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"@tsconfig/recommended": "^1.0.1",
|
|
69
69
|
"@types/jest": "^29.0.0",
|
|
70
70
|
"@types/node": "^18.11.7",
|
|
71
|
-
"@types/react": "^18.
|
|
72
|
-
"@types/react-dom": "^18.
|
|
71
|
+
"@types/react": "^18.2.0",
|
|
72
|
+
"@types/react-dom": "^18.2.0",
|
|
73
73
|
"@vitejs/plugin-react": "^4.3.4",
|
|
74
74
|
"jest": "^28.1.3",
|
|
75
|
-
"react": "^18.
|
|
76
|
-
"react-dom": "^18.
|
|
75
|
+
"react": "^18.2.0",
|
|
76
|
+
"react-dom": "^18.2.0",
|
|
77
77
|
"sass": "^1.86.3",
|
|
78
78
|
"ts-jest": "^28.0.8",
|
|
79
79
|
"typescript": "^5.2.2",
|