exodeui 2.6.40 → 2.6.41

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
@@ -42,6 +42,19 @@ export interface Shadow {
42
42
  export interface Blur {
43
43
  amount: number;
44
44
  }
45
+ export interface DesignTokens {
46
+ colors: Record<string, string>;
47
+ typography: Record<string, {
48
+ fontFamily: string;
49
+ fontSize: number;
50
+ fontWeight: string | number;
51
+ lineHeight?: number;
52
+ }>;
53
+ spacing: Record<string, number>;
54
+ effects: Record<string, any>;
55
+ radii?: Record<string, number>;
56
+ opacities?: Record<string, number>;
57
+ }
45
58
  /**
46
59
  * Liquid Morphing - Blob-like deformations for shapes
47
60
  */
@@ -539,6 +552,7 @@ export interface Artboard {
539
552
  objects: ShapeObject[];
540
553
  animations: Animation[];
541
554
  stateMachine?: StateMachine;
555
+ tokens?: DesignTokens;
542
556
  physics?: {
543
557
  gravity: {
544
558
  x: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "2.6.40",
3
+ "version": "2.6.41",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",