@fraczled/sdk 1.30.24 → 1.30.25
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-Dj-EqAGI.js} +10913 -10747
- package/dist/{index.es-BA2zFWZw.js → index.es-CD-a0LVb.js} +1 -1
- package/index.d.ts +30 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -96,6 +96,35 @@ export type LegacyCrop = {
|
|
|
96
96
|
|
|
97
97
|
export type CropState = NormalizedCrop | LegacyCrop;
|
|
98
98
|
|
|
99
|
+
export type BlendMode =
|
|
100
|
+
| 'normal'
|
|
101
|
+
| 'dissolve'
|
|
102
|
+
| 'darken'
|
|
103
|
+
| 'multiply'
|
|
104
|
+
| 'color-burn'
|
|
105
|
+
| 'linear-burn'
|
|
106
|
+
| 'darker-color'
|
|
107
|
+
| 'lighten'
|
|
108
|
+
| 'screen'
|
|
109
|
+
| 'color-dodge'
|
|
110
|
+
| 'linear-dodge'
|
|
111
|
+
| 'lighter-color'
|
|
112
|
+
| 'overlay'
|
|
113
|
+
| 'soft-light'
|
|
114
|
+
| 'hard-light'
|
|
115
|
+
| 'vivid-light'
|
|
116
|
+
| 'linear-light'
|
|
117
|
+
| 'pin-light'
|
|
118
|
+
| 'hard-mix'
|
|
119
|
+
| 'difference'
|
|
120
|
+
| 'exclusion'
|
|
121
|
+
| 'subtract'
|
|
122
|
+
| 'divide'
|
|
123
|
+
| 'hue'
|
|
124
|
+
| 'saturation'
|
|
125
|
+
| 'color'
|
|
126
|
+
| 'luminosity';
|
|
127
|
+
|
|
99
128
|
export interface Point {
|
|
100
129
|
x: number;
|
|
101
130
|
y: number;
|
|
@@ -138,6 +167,7 @@ export interface CanvasElement {
|
|
|
138
167
|
height: number;
|
|
139
168
|
rotation: number;
|
|
140
169
|
opacity: number;
|
|
170
|
+
blendMode?: BlendMode;
|
|
141
171
|
visible: boolean;
|
|
142
172
|
color?: string;
|
|
143
173
|
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.25",
|
|
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",
|