@cntrl-site/sdk 1.23.1-14 → 1.23.1-16
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
CHANGED
|
@@ -2559,7 +2559,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2559
2559
|
onMouseEnter: handleMouseMove,
|
|
2560
2560
|
onMouseMove: handleMouseMove,
|
|
2561
2561
|
className: styles.imageRevealSlider,
|
|
2562
|
-
children: placedImages.map((img2) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(jsxDevRuntime.Fragment, { children: target === "area" && img2.link ? /* @__PURE__ */ jsxDevRuntime.jsxDEV("a", { href: img2.link, children: /* @__PURE__ */ jsxDevRuntime.jsxDEV(
|
|
2562
|
+
children: placedImages.map((img2) => /* @__PURE__ */ jsxDevRuntime.jsxDEV(jsxDevRuntime.Fragment, { children: target === "area" && img2.link ? /* @__PURE__ */ jsxDevRuntime.jsxDEV("a", { href: img2.link, target: "_blank", children: /* @__PURE__ */ jsxDevRuntime.jsxDEV(
|
|
2563
2563
|
"img",
|
|
2564
2564
|
{
|
|
2565
2565
|
src: img2.url,
|
|
@@ -2836,7 +2836,8 @@ const ControlImageRevealSliderComponent = {
|
|
|
2836
2836
|
link: {
|
|
2837
2837
|
type: "string",
|
|
2838
2838
|
display: {
|
|
2839
|
-
type: "text-input"
|
|
2839
|
+
type: "text-input",
|
|
2840
|
+
placeholder: "Enter link..."
|
|
2840
2841
|
}
|
|
2841
2842
|
}
|
|
2842
2843
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -2540,7 +2540,7 @@ function ImageRevealSlider({ settings, content, isEditor }) {
|
|
|
2540
2540
|
onMouseEnter: handleMouseMove,
|
|
2541
2541
|
onMouseMove: handleMouseMove,
|
|
2542
2542
|
className: styles.imageRevealSlider,
|
|
2543
|
-
children: placedImages.map((img2) => /* @__PURE__ */ jsxDEV(Fragment, { children: target === "area" && img2.link ? /* @__PURE__ */ jsxDEV("a", { href: img2.link, children: /* @__PURE__ */ jsxDEV(
|
|
2543
|
+
children: placedImages.map((img2) => /* @__PURE__ */ jsxDEV(Fragment, { children: target === "area" && img2.link ? /* @__PURE__ */ jsxDEV("a", { href: img2.link, target: "_blank", children: /* @__PURE__ */ jsxDEV(
|
|
2544
2544
|
"img",
|
|
2545
2545
|
{
|
|
2546
2546
|
src: img2.url,
|
|
@@ -2817,7 +2817,8 @@ const ControlImageRevealSliderComponent = {
|
|
|
2817
2817
|
link: {
|
|
2818
2818
|
type: "string",
|
|
2819
2819
|
display: {
|
|
2820
|
-
type: "text-input"
|
|
2820
|
+
type: "text-input",
|
|
2821
|
+
placeholder: "Enter link..."
|
|
2821
2822
|
}
|
|
2822
2823
|
}
|
|
2823
2824
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cntrl-site/sdk",
|
|
3
|
-
"version": "1.23.1-
|
|
3
|
+
"version": "1.23.1-16",
|
|
4
4
|
"description": "Generic SDK for use in public websites.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dev": "vite development",
|
|
25
25
|
"prebuild": "rimraf ./dist",
|
|
26
26
|
"build": "vite build && tsc --project tsconfig.build.json",
|
|
27
|
-
"prepublishOnly": "
|
|
27
|
+
"prepublishOnly": "NODE_ENV=production npm run build"
|
|
28
28
|
},
|
|
29
29
|
"bin": {
|
|
30
30
|
"cntrl-sdk": "dist/cli.js"
|