exodeui 2.6.8 → 2.6.10

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/types.d.ts CHANGED
@@ -61,6 +61,13 @@ export type Geometry = {
61
61
  text: string;
62
62
  fontSize: number;
63
63
  fontFamily: string;
64
+ fontWeight?: string | number;
65
+ textAlign?: 'left' | 'center' | 'right' | 'justify';
66
+ textVerticalAlign?: 'top' | 'middle' | 'center' | 'bottom';
67
+ width?: number;
68
+ height?: number;
69
+ lineHeight?: number;
70
+ letterSpacing?: number;
64
71
  textInputId?: string;
65
72
  } | {
66
73
  type: 'SVG';
@@ -153,15 +160,22 @@ export interface Physics {
153
160
  isSensor: boolean;
154
161
  }
155
162
  export interface ShapeObject {
156
- type: 'Shape';
163
+ type: 'Shape' | 'Group';
157
164
  id: string;
158
165
  name: string;
159
166
  transform: Transform;
160
167
  geometry: Geometry;
161
168
  style: Style;
169
+ parentId?: string;
170
+ children?: string[];
162
171
  triggers?: Trigger[];
163
172
  interactions?: Interaction[];
164
173
  physics?: Physics;
174
+ renderAsGroup?: boolean;
175
+ opacity?: number;
176
+ visible?: boolean;
177
+ isVisible?: boolean;
178
+ blendMode?: string;
165
179
  }
166
180
  export interface Keyframe {
167
181
  time: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "2.6.8",
3
+ "version": "2.6.10",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",