@cntrl-site/sdk 1.23.1-2 → 1.23.1-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.
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
interface SliderProps {
|
|
3
2
|
settings: SliderSettings;
|
|
4
3
|
content: SliderItem[];
|
|
5
4
|
styles: SliderStyles;
|
|
6
5
|
isEditor?: boolean;
|
|
7
6
|
}
|
|
8
|
-
export declare function ControlSlider({ settings, content, styles: sliderStyles, isEditor }: SliderProps):
|
|
7
|
+
export declare function ControlSlider({ settings, content, styles: sliderStyles, isEditor }: SliderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
type SliderItem = {
|
|
10
9
|
image: {
|
|
11
10
|
url: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
interface ImageRevealSliderProps {
|
|
3
2
|
settings: ImageRevealSliderSettings;
|
|
4
3
|
content: ImageRevealSliderItem[];
|
|
@@ -35,5 +34,5 @@ type ImageRevealSliderItem = {
|
|
|
35
34
|
};
|
|
36
35
|
imageCaption: any[];
|
|
37
36
|
};
|
|
38
|
-
export declare function ImageRevealSlider({ settings, content, isEditor }: ImageRevealSliderProps):
|
|
37
|
+
export declare function ImageRevealSlider({ settings, content, isEditor }: ImageRevealSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
39
38
|
export {};
|
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-4",
|
|
4
4
|
"description": "Generic SDK for use in public websites.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"test": "jest",
|
|
24
24
|
"dev": "vite development",
|
|
25
25
|
"prebuild": "rimraf ./dist",
|
|
26
|
-
"build": "vite build && tsc --project tsconfig.build.json",
|
|
27
|
-
"prepublishOnly": "
|
|
26
|
+
"build": "vite build --mode production && tsc --project tsconfig.build.json",
|
|
27
|
+
"prepublishOnly": "NODE_ENV=production npm run build"
|
|
28
28
|
},
|
|
29
29
|
"bin": {
|
|
30
30
|
"cntrl-sdk": "dist/cli.js"
|