@cntrl-site/sdk 1.24.3 → 1.24.4
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2413,7 +2413,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2413
2413
|
ref: divRef,
|
|
2414
2414
|
onClick: handleClick,
|
|
2415
2415
|
className: styles.imageRevealSlider,
|
|
2416
|
-
style: { cursor:
|
|
2416
|
+
style: { cursor: cursorType !== "system" && defaultCursor ? `url(${target === "area" ? hoverCursor : defaultCursor}), auto` : "default" },
|
|
2417
2417
|
children: placedImages.map((img2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2418
2418
|
"div",
|
|
2419
2419
|
{
|
|
@@ -2425,7 +2425,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2425
2425
|
transform: "translate(-50%, -50%)",
|
|
2426
2426
|
width: img2.width ?? "auto",
|
|
2427
2427
|
height: "auto",
|
|
2428
|
-
cursor:
|
|
2428
|
+
cursor: cursorType !== "system" && hoverCursor ? `url(${hoverCursor}), auto` : "default"
|
|
2429
2429
|
},
|
|
2430
2430
|
children: target === "area" && img2.link ? /* @__PURE__ */ jsxRuntime.jsx("a", { href: img2.link, target: "_blank", className: styles.link, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2431
2431
|
"img",
|
package/dist/index.mjs
CHANGED
|
@@ -2394,7 +2394,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2394
2394
|
ref: divRef,
|
|
2395
2395
|
onClick: handleClick,
|
|
2396
2396
|
className: styles.imageRevealSlider,
|
|
2397
|
-
style: { cursor:
|
|
2397
|
+
style: { cursor: cursorType !== "system" && defaultCursor ? `url(${target === "area" ? hoverCursor : defaultCursor}), auto` : "default" },
|
|
2398
2398
|
children: placedImages.map((img2) => /* @__PURE__ */ jsx(
|
|
2399
2399
|
"div",
|
|
2400
2400
|
{
|
|
@@ -2406,7 +2406,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2406
2406
|
transform: "translate(-50%, -50%)",
|
|
2407
2407
|
width: img2.width ?? "auto",
|
|
2408
2408
|
height: "auto",
|
|
2409
|
-
cursor:
|
|
2409
|
+
cursor: cursorType !== "system" && hoverCursor ? `url(${hoverCursor}), auto` : "default"
|
|
2410
2410
|
},
|
|
2411
2411
|
children: target === "area" && img2.link ? /* @__PURE__ */ jsx("a", { href: img2.link, target: "_blank", className: styles.link, children: /* @__PURE__ */ jsx(
|
|
2412
2412
|
"img",
|