@openlettermarketing/olc-react-sdk 2.0.2-beta.3 → 2.0.2-beta.5
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/build/index.js +365 -407
- package/build/index.js.map +1 -1
- package/build/types/src/utils/templateIdentifierArea/postCards.d.ts +0 -1
- package/build/types/src/utils/templateSafetyBorders/postCards.d.ts +0 -1
- package/build/types/version.d.ts +1 -1
- package/package.json +2 -2
- package/build/types/src/assets/images/templates/size-image-xl.d.ts +0 -3
- package/build/types/src/utils/templateRestrictedArea/postCardJumbo.d.ts +0 -78
|
@@ -46,5 +46,4 @@ interface Store {
|
|
|
46
46
|
export declare const addIdentifierAreaTo4x6PostCard: (store: Store) => void;
|
|
47
47
|
export declare const addIdentifierAreaTo6x9PostCard: (store: Store) => void;
|
|
48
48
|
export declare const addIdentifierAreaTo6x11PostCard: (store: Store) => void;
|
|
49
|
-
export declare const addIdentifierAreaTo12x9PostCard: (store: Store) => void;
|
|
50
49
|
export {};
|
|
@@ -2,4 +2,3 @@ import { Store } from "./types";
|
|
|
2
2
|
export declare const addSafetyBordersTo4x6PostCard: (store: Store) => void;
|
|
3
3
|
export declare const addSafetyBordersTo6x9PostCard: (store: Store) => void;
|
|
4
4
|
export declare const addSafetyBordersTo6x11PostCard: (store: Store) => void;
|
|
5
|
-
export declare const addSafetyBordersTo12x9PostCard: (store: Store) => void;
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION: "2.0.2-beta.
|
|
1
|
+
export const SDK_VERSION: "2.0.2-beta.5";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openlettermarketing/olc-react-sdk",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.0.2-beta.
|
|
4
|
+
"version": "2.0.2-beta.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Simplify template builder integration for any product.",
|
|
7
7
|
"main": "build/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@fontsource/raleway": "^5.0.19",
|
|
44
44
|
"@reduxjs/toolkit": "^1.9.7",
|
|
45
45
|
"mobx-react-lite": "^4.0.7",
|
|
46
|
-
"polotno": "^2.
|
|
46
|
+
"polotno": "^2.14.1",
|
|
47
47
|
"qrcode": "^1.5.4",
|
|
48
48
|
"react": "^18.3.1",
|
|
49
49
|
"react-dom": "^18.3.1",
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
interface Element {
|
|
2
|
-
id: string;
|
|
3
|
-
type: string;
|
|
4
|
-
name: string;
|
|
5
|
-
opacity: number;
|
|
6
|
-
visible: boolean;
|
|
7
|
-
selectable: boolean;
|
|
8
|
-
removable: boolean;
|
|
9
|
-
alwaysOnTop: boolean;
|
|
10
|
-
showInExport: boolean;
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
rotation: number;
|
|
16
|
-
animations?: any[];
|
|
17
|
-
blurEnabled?: boolean;
|
|
18
|
-
blurRadius?: number;
|
|
19
|
-
brightnessEnabled?: boolean;
|
|
20
|
-
brightness?: number;
|
|
21
|
-
sepiaEnabled?: boolean;
|
|
22
|
-
grayscaleEnabled?: boolean;
|
|
23
|
-
shadowEnabled?: boolean;
|
|
24
|
-
shadowBlur?: number;
|
|
25
|
-
shadowOffsetX?: number;
|
|
26
|
-
shadowOffsetY?: number;
|
|
27
|
-
shadowColor?: string;
|
|
28
|
-
shadowOpacity?: number;
|
|
29
|
-
draggable?: boolean;
|
|
30
|
-
resizable?: boolean;
|
|
31
|
-
contentEditable: boolean;
|
|
32
|
-
styleEditable: boolean;
|
|
33
|
-
subType?: string;
|
|
34
|
-
fill?: string;
|
|
35
|
-
dash?: any[];
|
|
36
|
-
strokeWidth?: number;
|
|
37
|
-
stroke?: string;
|
|
38
|
-
cornerRadius?: number;
|
|
39
|
-
text?: string;
|
|
40
|
-
placeholder?: string;
|
|
41
|
-
fontSize?: number;
|
|
42
|
-
fontFamily?: string;
|
|
43
|
-
fontStyle?: string;
|
|
44
|
-
fontWeight?: string;
|
|
45
|
-
textDecoration?: string;
|
|
46
|
-
align?: string;
|
|
47
|
-
verticalAlign?: string;
|
|
48
|
-
lineHeight?: number;
|
|
49
|
-
letterSpacing?: number;
|
|
50
|
-
backgroundEnabled?: boolean;
|
|
51
|
-
backgroundColor?: string;
|
|
52
|
-
backgroundOpacity?: number;
|
|
53
|
-
backgroundCornerRadius?: number;
|
|
54
|
-
backgroundPadding?: number;
|
|
55
|
-
src?: string;
|
|
56
|
-
cropX?: number;
|
|
57
|
-
cropY?: number;
|
|
58
|
-
cropWidth?: number;
|
|
59
|
-
cropHeight?: number;
|
|
60
|
-
flipX?: boolean;
|
|
61
|
-
flipY?: boolean;
|
|
62
|
-
clipSrc?: string;
|
|
63
|
-
borderSize?: number;
|
|
64
|
-
keepRatio?: boolean;
|
|
65
|
-
}
|
|
66
|
-
interface Page {
|
|
67
|
-
addElement: (element: Element) => void;
|
|
68
|
-
}
|
|
69
|
-
interface Store {
|
|
70
|
-
width: number;
|
|
71
|
-
height: number;
|
|
72
|
-
pages: Page[];
|
|
73
|
-
history: {
|
|
74
|
-
clear: () => void;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
export declare const addRestrictedAreaToPostCardJumbo: (store: Store, barcodeSrc: string) => void;
|
|
78
|
-
export {};
|