@skylivellc/lienzo-editor 0.3.0 → 0.4.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-luruvISU.js} +1262 -1206
- package/dist/LienzoEditor-luruvISU.js.map +1 -0
- package/dist/element.js +1 -1
- package/dist/index.js +1 -1
- package/dist/standalone/lienzo-editor.js +5 -5
- 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 +2 -0
- package/dist/types/state/editor.d.ts +1 -0
- 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;
|
|
@@ -985,6 +985,7 @@ export declare function createEditor({ client, i18n }: EditorDeps): {
|
|
|
985
985
|
box: Element["layout"]["desktop"];
|
|
986
986
|
}[]) => void;
|
|
987
987
|
addSection: (section?: Section, after?: string) => void;
|
|
988
|
+
duplicateSection: (id: string) => void;
|
|
988
989
|
applyPageTemplate: (key: PageTemplateKey) => void;
|
|
989
990
|
removeSection: (id: string) => void;
|
|
990
991
|
moveSection: (index: number, step: -1 | 1) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skylivellc/lienzo-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.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.4.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@playwright/test": "1.63.0",
|