@skylivellc/lienzo-editor 0.3.0 → 0.5.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/{LienzoEditor-BxWQvOhh.js → LienzoEditor-BeJz8Srw.js} +1318 -1220
- package/dist/LienzoEditor-BeJz8Srw.js.map +1 -0
- package/dist/element.js +1 -1
- package/dist/index.js +1 -1
- package/dist/standalone/lienzo-editor.js +8 -7
- package/dist/standalone/lienzo-editor.js.map +1 -1
- package/dist/types/LienzoEditor.vue.d.ts +0 -5
- package/dist/types/i18n/en.d.ts +8 -0
- package/dist/types/state/editor.d.ts +4 -1
- package/dist/types/ui/ImageField.vue.d.ts +1 -1
- package/package.json +2 -2
- package/dist/LienzoEditor-BxWQvOhh.js.map +0 -1
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { type MessageOverrides } from './i18n/index.ts';
|
|
2
|
-
/**
|
|
3
|
-
* The Lienzo editor. Give it the protocol `endpoint` of a backend (see
|
|
4
|
-
* `@skylivellc/lienzo-core/protocol`); everything else is optional. Props are
|
|
5
|
-
* read once, when the editor mounts.
|
|
6
|
-
*/
|
|
7
2
|
type __VLS_Props = {
|
|
8
3
|
/** Base URL of the protocol, for example `/admin/site/lienzo`. */
|
|
9
4
|
endpoint: string;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -159,6 +159,8 @@ export declare const en: {
|
|
|
159
159
|
'modal.background': string;
|
|
160
160
|
'section.heading': string;
|
|
161
161
|
'section.addAfter': string;
|
|
162
|
+
'section.duplicate': string;
|
|
163
|
+
'canvas.emptySection': string;
|
|
162
164
|
'section.delete': string;
|
|
163
165
|
'section.shownAs': string;
|
|
164
166
|
'section.alone': string;
|
|
@@ -173,6 +175,12 @@ export declare const en: {
|
|
|
173
175
|
'section.generateMobile': string;
|
|
174
176
|
'section.heightDesktop': string;
|
|
175
177
|
'section.heightMobile': string;
|
|
178
|
+
'fill.video': string;
|
|
179
|
+
'section.video': string;
|
|
180
|
+
'section.videoHint': string;
|
|
181
|
+
'section.poster': string;
|
|
182
|
+
'section.wide': string;
|
|
183
|
+
'section.wideHint': string;
|
|
176
184
|
'section.background': string;
|
|
177
185
|
'section.color': string;
|
|
178
186
|
'section.image': string;
|
|
@@ -376,7 +376,7 @@ export declare function createEditor({ client, i18n }: EditorDeps): {
|
|
|
376
376
|
mobile: number;
|
|
377
377
|
};
|
|
378
378
|
background: {
|
|
379
|
-
type: "color" | "gradient" | "image";
|
|
379
|
+
type: "color" | "gradient" | "image" | "video";
|
|
380
380
|
color?: string | null | undefined;
|
|
381
381
|
gradient?: {
|
|
382
382
|
type?: "linear" | "radial" | null | undefined;
|
|
@@ -385,9 +385,11 @@ export declare function createEditor({ client, i18n }: EditorDeps): {
|
|
|
385
385
|
angle?: number | null | undefined;
|
|
386
386
|
} | null | undefined;
|
|
387
387
|
image?: string | null | undefined;
|
|
388
|
+
video?: string | null | undefined;
|
|
388
389
|
overlay?: number | null | undefined;
|
|
389
390
|
parallax?: boolean | null | undefined;
|
|
390
391
|
};
|
|
392
|
+
wide?: boolean | null | undefined;
|
|
391
393
|
elements: ({
|
|
392
394
|
id: string;
|
|
393
395
|
group?: string | null | undefined;
|
|
@@ -985,6 +987,7 @@ export declare function createEditor({ client, i18n }: EditorDeps): {
|
|
|
985
987
|
box: Element["layout"]["desktop"];
|
|
986
988
|
}[]) => void;
|
|
987
989
|
addSection: (section?: Section, after?: string) => void;
|
|
990
|
+
duplicateSection: (id: string) => void;
|
|
988
991
|
applyPageTemplate: (key: PageTemplateKey) => void;
|
|
989
992
|
removeSection: (id: string) => void;
|
|
990
993
|
moveSection: (index: number, step: -1 | 1) => void;
|
|
@@ -20,7 +20,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
20
20
|
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
url: boolean;
|
|
23
|
-
thumb: "
|
|
23
|
+
thumb: "wide" | "icon";
|
|
24
24
|
choose: string;
|
|
25
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skylivellc/lienzo-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Visual editor for Lienzo landing pages. A Vue 3 component and a <lienzo-editor> custom element that talk to any backend over the Lienzo protocol.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"landing-page",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@lucide/vue": "^1.52.0",
|
|
47
|
-
"@skylivellc/lienzo-core": "0.
|
|
47
|
+
"@skylivellc/lienzo-core": "0.5.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@playwright/test": "1.63.0",
|