polotno 3.12.0 → 3.12.1
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/README.md +57 -22
- package/blueprint/side-panel/select-video.d.ts +2 -2
- package/canvas/page.js +1 -1
- package/model/figure-model.d.ts +1 -1
- package/model/gif-model.d.ts +1 -1
- package/model/group-model.d.ts +8 -8
- package/model/image-model.d.ts +1 -1
- package/model/line-model.d.ts +1 -1
- package/model/page-model.d.ts +10 -10
- package/model/shape-model.d.ts +2 -2
- package/model/shape-model.js +1 -1
- package/model/store.d.ts +92 -92
- package/model/svg-model.d.ts +1 -1
- package/model/table-model.d.ts +1 -1
- package/model/text-model.d.ts +1 -1
- package/model/video-model.d.ts +1 -1
- package/package.json +25 -8
- package/polotno.bundle.js +139 -139
- package/side-panel/select-video.d.ts +2 -2
- package/utils/clipboard.d.ts +2 -2
- package/utils/rich-text-html.d.ts +0 -10
- package/utils/rich-text-html.js +1 -1
- package/utils/validate-key.js +1 -1
package/model/svg-model.d.ts
CHANGED
|
@@ -143,7 +143,7 @@ export declare const SVGElement: import("mobx-state-tree").IModelType<{
|
|
|
143
143
|
} & {
|
|
144
144
|
readonly locked: boolean;
|
|
145
145
|
readonly a: import("./shape-model.js").AnimatedAttrs;
|
|
146
|
-
animated(attr:
|
|
146
|
+
animated(attr: string): any;
|
|
147
147
|
readonly timeRange: {
|
|
148
148
|
start: number;
|
|
149
149
|
end: number;
|
package/model/table-model.d.ts
CHANGED
|
@@ -427,7 +427,7 @@ export declare const TableElement: import("mobx-state-tree").IModelType<{
|
|
|
427
427
|
} & {
|
|
428
428
|
readonly locked: boolean;
|
|
429
429
|
readonly a: import("./shape-model.js").AnimatedAttrs;
|
|
430
|
-
animated(attr:
|
|
430
|
+
animated(attr: string): any;
|
|
431
431
|
readonly timeRange: {
|
|
432
432
|
start: number;
|
|
433
433
|
end: number;
|
package/model/text-model.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ export declare const TextElement: import("mobx-state-tree").IModelType<{
|
|
|
154
154
|
} & {
|
|
155
155
|
readonly locked: boolean;
|
|
156
156
|
readonly a: import("./shape-model.js").AnimatedAttrs;
|
|
157
|
-
animated(attr:
|
|
157
|
+
animated(attr: string): any;
|
|
158
158
|
readonly timeRange: {
|
|
159
159
|
start: number;
|
|
160
160
|
end: number;
|
package/model/video-model.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ export declare const VideoElement: import("mobx-state-tree").IModelType<{
|
|
|
149
149
|
} & {
|
|
150
150
|
readonly locked: boolean;
|
|
151
151
|
readonly a: import("./shape-model.js").AnimatedAttrs;
|
|
152
|
-
animated(attr:
|
|
152
|
+
animated(attr: string): any;
|
|
153
153
|
readonly timeRange: {
|
|
154
154
|
start: number;
|
|
155
155
|
end: number;
|
package/package.json
CHANGED
|
@@ -1,13 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polotno",
|
|
3
|
-
"version": "3.12.
|
|
4
|
-
"description": "Design
|
|
3
|
+
"version": "3.12.1",
|
|
4
|
+
"description": "Design editor SDK: embed a Canva-like editor, generate designs from templates and data, export PNG, PDF, and video in the browser or on a server.",
|
|
5
5
|
"author": "Anton Lavrenov",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/polotno-project/polotno.git",
|
|
9
|
+
"directory": "packages/polotno"
|
|
10
|
+
},
|
|
6
11
|
"keywords": [
|
|
7
12
|
"polotno",
|
|
13
|
+
"design editor sdk",
|
|
14
|
+
"design editor",
|
|
15
|
+
"canvas editor",
|
|
16
|
+
"canva-like",
|
|
17
|
+
"image editor",
|
|
18
|
+
"video editor",
|
|
19
|
+
"konva",
|
|
20
|
+
"react-konva",
|
|
21
|
+
"react",
|
|
8
22
|
"canvas",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
23
|
+
"templates",
|
|
24
|
+
"pdf",
|
|
25
|
+
"psd",
|
|
26
|
+
"mcp",
|
|
27
|
+
"agent-skills"
|
|
11
28
|
],
|
|
12
29
|
"type": "module",
|
|
13
30
|
"exports": {
|
|
@@ -96,14 +113,14 @@
|
|
|
96
113
|
},
|
|
97
114
|
"dependencies": {
|
|
98
115
|
"@base-ui/react": "^1.7.0",
|
|
99
|
-
"@polotno/core": "0.
|
|
100
|
-
"@polotno/html-export": "0.5.
|
|
116
|
+
"@polotno/core": "0.11.0",
|
|
117
|
+
"@polotno/html-export": "0.5.2",
|
|
101
118
|
"@polotno/schema": "0.6.1",
|
|
102
|
-
"@polotno/svg-export": "0.6.
|
|
119
|
+
"@polotno/svg-export": "0.6.2",
|
|
103
120
|
"class-variance-authority": "^0.7.1",
|
|
104
121
|
"clsx": "^2.1.1",
|
|
105
122
|
"gifuct-js": "^2.1.2",
|
|
106
|
-
"konva": "^10.
|
|
123
|
+
"konva": "^10.5.0",
|
|
107
124
|
"lodash-es": "^4.18.1",
|
|
108
125
|
"lucide-react": "^1.39.0",
|
|
109
126
|
"mediabunny": "^1.55.5",
|