exodeui 2.6.17 → 2.6.18
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/__tests__/spring.test.d.ts +1 -0
- package/dist/engine.d.ts +3 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +573 -558
- package/dist/types.d.ts +4 -0
- package/dist/useExodeUI.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/engine.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Artboard, Fit, Alignment, ComponentEvent } from './types';
|
|
1
|
+
import { Artboard, Fit, Alignment, ComponentEvent, Constraint } from './types';
|
|
2
2
|
|
|
3
3
|
export declare class ExodeUIEngine {
|
|
4
4
|
private artboard;
|
|
@@ -19,9 +19,11 @@ export declare class ExodeUIEngine {
|
|
|
19
19
|
private focusedId;
|
|
20
20
|
private draggingSliderId;
|
|
21
21
|
private activeDropdownId;
|
|
22
|
+
private objectVelocities;
|
|
22
23
|
setTriggerCallback(cb: (triggerName: string, animationName: string) => void): void;
|
|
23
24
|
setInputUpdateCallback(cb: (nameOrId: string, value: any) => void): void;
|
|
24
25
|
setComponentChangeCallback(cb: (event: ComponentEvent) => void): void;
|
|
26
|
+
updateConstraint(objectId: string, index: number, properties: Partial<Constraint>): void;
|
|
25
27
|
constructor();
|
|
26
28
|
private setInternalInput;
|
|
27
29
|
setLayout(fit: Fit, alignment: Alignment): void;
|