@fraczled/sdk 1.30.24 → 1.30.26
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/fraczled-sdk.es.js +1 -1
- package/dist/fraczled-sdk.umd.js +213 -213
- package/dist/{index-CaLyC1k2.js → index-DBpUREnv.js} +10856 -10673
- package/dist/{index.es-BA2zFWZw.js → index.es-CKXHNpIs.js} +1 -1
- package/index.d.ts +31 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface DocumentSettings {
|
|
|
13
13
|
backgroundColor: string;
|
|
14
14
|
showBleed: boolean;
|
|
15
15
|
showSafeArea: boolean;
|
|
16
|
+
clipOutsideCutline?: boolean;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
export type EffectStyleType =
|
|
@@ -96,6 +97,35 @@ export type LegacyCrop = {
|
|
|
96
97
|
|
|
97
98
|
export type CropState = NormalizedCrop | LegacyCrop;
|
|
98
99
|
|
|
100
|
+
export type BlendMode =
|
|
101
|
+
| 'normal'
|
|
102
|
+
| 'dissolve'
|
|
103
|
+
| 'darken'
|
|
104
|
+
| 'multiply'
|
|
105
|
+
| 'color-burn'
|
|
106
|
+
| 'linear-burn'
|
|
107
|
+
| 'darker-color'
|
|
108
|
+
| 'lighten'
|
|
109
|
+
| 'screen'
|
|
110
|
+
| 'color-dodge'
|
|
111
|
+
| 'linear-dodge'
|
|
112
|
+
| 'lighter-color'
|
|
113
|
+
| 'overlay'
|
|
114
|
+
| 'soft-light'
|
|
115
|
+
| 'hard-light'
|
|
116
|
+
| 'vivid-light'
|
|
117
|
+
| 'linear-light'
|
|
118
|
+
| 'pin-light'
|
|
119
|
+
| 'hard-mix'
|
|
120
|
+
| 'difference'
|
|
121
|
+
| 'exclusion'
|
|
122
|
+
| 'subtract'
|
|
123
|
+
| 'divide'
|
|
124
|
+
| 'hue'
|
|
125
|
+
| 'saturation'
|
|
126
|
+
| 'color'
|
|
127
|
+
| 'luminosity';
|
|
128
|
+
|
|
99
129
|
export interface Point {
|
|
100
130
|
x: number;
|
|
101
131
|
y: number;
|
|
@@ -138,6 +168,7 @@ export interface CanvasElement {
|
|
|
138
168
|
height: number;
|
|
139
169
|
rotation: number;
|
|
140
170
|
opacity: number;
|
|
171
|
+
blendMode?: BlendMode;
|
|
141
172
|
visible: boolean;
|
|
142
173
|
color?: string;
|
|
143
174
|
backgroundColor?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fraczled/sdk",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.26",
|
|
4
4
|
"description": "Fraczled Design Studio SDK - Embed a powerful design editor in your application",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build --config ../vite.sdk.config.ts && vite build --config ../vite.sdk.umd.config.ts && node ../scripts/copy-sdk-icons.mjs",
|