exodeui 2.6.13 → 2.6.15
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/engine.d.ts +3 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +1520 -1391
- package/dist/types.d.ts +17 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -68,10 +68,12 @@ export type Geometry = {
|
|
|
68
68
|
height: number;
|
|
69
69
|
corner_radius?: number | [number, number, number, number];
|
|
70
70
|
cornerRadius?: number | [number, number, number, number];
|
|
71
|
+
isMask?: boolean;
|
|
71
72
|
} | {
|
|
72
73
|
type: 'Ellipse';
|
|
73
74
|
width: number;
|
|
74
75
|
height: number;
|
|
76
|
+
isMask?: boolean;
|
|
75
77
|
} | {
|
|
76
78
|
type: 'Text';
|
|
77
79
|
text: string;
|
|
@@ -87,22 +89,35 @@ export type Geometry = {
|
|
|
87
89
|
textCase?: 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
88
90
|
paragraphSpacing?: number;
|
|
89
91
|
textInputId?: string;
|
|
92
|
+
segments?: {
|
|
93
|
+
text: string;
|
|
94
|
+
fill: Fill;
|
|
95
|
+
fontSize?: number;
|
|
96
|
+
fontFamily?: string;
|
|
97
|
+
fontWeight?: string | number;
|
|
98
|
+
}[];
|
|
99
|
+
enableSegments?: boolean;
|
|
100
|
+
isMask?: boolean;
|
|
90
101
|
} | {
|
|
91
102
|
type: 'Triangle';
|
|
92
103
|
width: number;
|
|
93
104
|
height: number;
|
|
105
|
+
isMask?: boolean;
|
|
94
106
|
} | {
|
|
95
107
|
type: 'Polygon';
|
|
96
108
|
radius: number;
|
|
97
109
|
sides: number;
|
|
110
|
+
isMask?: boolean;
|
|
98
111
|
} | {
|
|
99
112
|
type: 'Star';
|
|
100
113
|
inner_radius: number;
|
|
101
114
|
outer_radius: number;
|
|
102
115
|
points: number;
|
|
116
|
+
isMask?: boolean;
|
|
103
117
|
} | {
|
|
104
118
|
type: 'Line';
|
|
105
119
|
length: number;
|
|
120
|
+
isMask?: boolean;
|
|
106
121
|
} | {
|
|
107
122
|
type: 'SVG';
|
|
108
123
|
svgContent: string;
|
|
@@ -196,6 +211,8 @@ export interface Constraint {
|
|
|
196
211
|
min: number;
|
|
197
212
|
max: number;
|
|
198
213
|
};
|
|
214
|
+
distance?: number;
|
|
215
|
+
mode?: 'clamped' | 'exact' | 'minimum' | 'maximum';
|
|
199
216
|
}
|
|
200
217
|
export interface ShapeObject {
|
|
201
218
|
type: 'Shape' | 'Group' | 'Component' | 'Frame' | 'Button' | 'Bone';
|