@innovastudio/contentbuilder-interactive-runtime 1.0.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/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ interface ContentBuilderRuntimeOptions {
2
+ skin?: string;
3
+ }
4
+
5
+ declare class ContentBuilderRuntime {
6
+ constructor(options?: ContentBuilderRuntimeOptions);
7
+
8
+ openLightbox(url: string, element: HTMLElement, options: Record<string, any>): void;
9
+ init(): void;
10
+ destroy(): void;
11
+ }
12
+ export default ContentBuilderRuntime;
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@innovastudio/contentbuilder-interactive-runtime",
3
+ "type": "module",
4
+ "version": "1.0.0",
5
+ "description": "Runtime libraries for ContentBuilder generated content",
6
+ "main": "dist/contentbuilder-interactive-runtime.esm.js",
7
+ "module": "dist/contentbuilder-interactive-runtime.esm.js",
8
+ "types": "index.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "index.d.ts"
12
+ ],
13
+ "scripts": {
14
+ "dev": "vite",
15
+ "build": "vite build",
16
+ "preview": "vite preview"
17
+ },
18
+ "keywords": [
19
+ "contentbuilder",
20
+ "runtime",
21
+ "wysiwyg",
22
+ "slider",
23
+ "lightbox"
24
+ ],
25
+ "author": "",
26
+ "license": "MIT",
27
+ "devDependencies": {
28
+ "sass": "^1.93.2",
29
+ "vite": "^7.1.7"
30
+ },
31
+ "dependencies": {
32
+ "@glidejs/glide": "^3.7.1",
33
+ "@innovastudio/formviewer": "^1.0.25",
34
+ "glightbox": "^3.3.1"
35
+ }
36
+ }