motionary 10.6.0 → 10.7.0
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/AGENTS.md +2 -0
- package/CHANGELOG.md +16 -0
- package/README.md +35 -1
- package/bin/motionary-mcp.mjs +160 -11
- package/dist/chunks/{anim-image-DECLkPH4.cjs → anim-image-CFGpUX7t.cjs} +2 -2
- package/dist/chunks/{anim-image-DECLkPH4.cjs.map → anim-image-CFGpUX7t.cjs.map} +1 -1
- package/dist/chunks/{anim-image-DNghy017.js → anim-image-CXDD19FH.js} +2 -2
- package/dist/chunks/{anim-image-DNghy017.js.map → anim-image-CXDD19FH.js.map} +1 -1
- package/dist/chunks/{keyframes-CbUZjD_5.cjs → keyframes-DdwGY1gr.cjs} +2 -2
- package/dist/chunks/{keyframes-CbUZjD_5.cjs.map → keyframes-DdwGY1gr.cjs.map} +1 -1
- package/dist/chunks/{keyframes-F6vp6tZZ.js → keyframes-DwR6GPej.js} +2 -2
- package/dist/chunks/{keyframes-F6vp6tZZ.js.map → keyframes-DwR6GPej.js.map} +1 -1
- package/dist/chunks/{registry-D8LAoXI-.js → registry-D87dP_aR.js} +3 -3
- package/dist/chunks/{registry-D8LAoXI-.js.map → registry-D87dP_aR.js.map} +1 -1
- package/dist/chunks/{registry-dr1CPTk1.cjs → registry-DhKZCitb.cjs} +2 -2
- package/dist/chunks/{registry-dr1CPTk1.cjs.map → registry-DhKZCitb.cjs.map} +1 -1
- package/dist/chunks/{ticker-Do9bGsaV.js → ticker-CJYI5Pxc.js} +2 -2
- package/dist/chunks/{ticker-Do9bGsaV.js.map → ticker-CJYI5Pxc.js.map} +1 -1
- package/dist/chunks/{ticker-DaAlEyOd.cjs → ticker-jD9_A9Rh.cjs} +2 -2
- package/dist/chunks/{ticker-DaAlEyOd.cjs.map → ticker-jD9_A9Rh.cjs.map} +1 -1
- package/dist/chunks/{tween-CmkdSyaC.cjs → tween-Dk0QmNe9.cjs} +2 -2
- package/dist/chunks/{tween-CmkdSyaC.cjs.map → tween-Dk0QmNe9.cjs.map} +1 -1
- package/dist/chunks/{tween-BzCGq_Ba.js → tween-_Lld1MsF.js} +2 -2
- package/dist/chunks/{tween-BzCGq_Ba.js.map → tween-_Lld1MsF.js.map} +1 -1
- package/dist/components/ai.cjs +314 -0
- package/dist/components/ai.cjs.map +1 -0
- package/dist/components/ai.d.cts +58 -0
- package/dist/components/ai.d.ts +58 -0
- package/dist/components/ai.js +311 -0
- package/dist/components/ai.js.map +1 -0
- package/dist/components/widgets.cjs +598 -226
- package/dist/components/widgets.cjs.map +1 -1
- package/dist/components/widgets.d.cts +438 -35
- package/dist/components/widgets.d.ts +438 -35
- package/dist/components/widgets.js +596 -227
- package/dist/components/widgets.js.map +1 -1
- package/dist/llms-full.txt +98 -1
- package/dist/llms.txt +6 -2
- package/dist/manifest.json +238 -1
- package/dist/runtime/format-apng.cjs +4 -4
- package/dist/runtime/format-apng.js +4 -4
- package/dist/runtime/format-css.cjs +4 -4
- package/dist/runtime/format-css.js +4 -4
- package/dist/runtime/format-gif.cjs +4 -4
- package/dist/runtime/format-gif.js +4 -4
- package/dist/runtime/format-gltf.cjs +1 -1
- package/dist/runtime/format-gltf.js +1 -1
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +1 -1
- package/dist/runtime/format-obj.js +1 -1
- package/dist/runtime/format-scene.cjs +241 -0
- package/dist/runtime/format-scene.cjs.map +1 -0
- package/dist/runtime/format-scene.d.cts +349 -0
- package/dist/runtime/format-scene.d.ts +349 -0
- package/dist/runtime/format-scene.iife.js +2 -0
- package/dist/runtime/format-scene.iife.js.map +1 -0
- package/dist/runtime/format-scene.js +233 -0
- package/dist/runtime/format-scene.js.map +1 -0
- package/dist/runtime/format-sprite.cjs +3 -3
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +4 -4
- package/dist/runtime/format-webp.js +4 -4
- package/dist/runtime/gl.cjs +1 -1
- package/dist/runtime/gl.js +1 -1
- package/dist/runtime/physics.cjs +739 -0
- package/dist/runtime/physics.cjs.map +1 -0
- package/dist/runtime/physics.d.cts +250 -0
- package/dist/runtime/physics.d.ts +250 -0
- package/dist/runtime/physics.iife.js +2 -0
- package/dist/runtime/physics.iife.js.map +1 -0
- package/dist/runtime/physics.js +731 -0
- package/dist/runtime/physics.js.map +1 -0
- package/dist/runtime/scroll.cjs +2 -2
- package/dist/runtime/scroll.js +2 -2
- package/dist/runtime/smooth.cjs +1 -1
- package/dist/runtime/smooth.js +1 -1
- package/dist/runtime/text.cjs +1 -1
- package/dist/runtime/text.js +1 -1
- package/dist/runtime/vector.cjs +3 -3
- package/dist/runtime/vector.js +3 -3
- package/dist/runtime.cjs +3 -3
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.iife.js +1 -1
- package/dist/runtime.iife.js.map +1 -1
- package/dist/runtime.js +5 -5
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/docs/ROADMAP.md +1 -1
- package/docs/components/README.md +3 -1
- package/docs/components/usa-motion-prompt.md +32 -0
- package/docs/components/usa-physics-playground.md +63 -0
- package/docs/components.md +44 -0
- package/docs/runtime/format-scene.md +59 -0
- package/docs/runtime/physics.md +61 -0
- package/package.json +31 -1
|
@@ -2478,7 +2478,7 @@ interface Light {
|
|
|
2478
2478
|
color: Vec3;
|
|
2479
2479
|
intensity: number;
|
|
2480
2480
|
}
|
|
2481
|
-
declare class Scene {
|
|
2481
|
+
declare class Scene$1 {
|
|
2482
2482
|
root: GlNode;
|
|
2483
2483
|
ambient: Vec3;
|
|
2484
2484
|
lights: Light[];
|
|
@@ -2503,7 +2503,7 @@ declare class Scene {
|
|
|
2503
2503
|
* `<usa-three-scene>` is an alias with the same API.
|
|
2504
2504
|
*/
|
|
2505
2505
|
interface UsaGlSceneElement extends UsaElement {
|
|
2506
|
-
readonly scene: Scene | null;
|
|
2506
|
+
readonly scene: Scene$1 | null;
|
|
2507
2507
|
readonly camera: Camera | null;
|
|
2508
2508
|
readonly root: GlNode | null;
|
|
2509
2509
|
reload(): Promise<void>;
|
|
@@ -2580,45 +2580,45 @@ declare function defineShaderBackdrop(tag?: string): CustomElementConstructor |
|
|
|
2580
2580
|
* runtime timeline (seek, reverse, scrub with `progress`, markers → labels).
|
|
2581
2581
|
*/
|
|
2582
2582
|
|
|
2583
|
-
type Num = number;
|
|
2583
|
+
type Num$2 = number;
|
|
2584
2584
|
interface LottieProp {
|
|
2585
|
-
a?: Num;
|
|
2585
|
+
a?: Num$2;
|
|
2586
2586
|
k: any;
|
|
2587
2587
|
x?: string;
|
|
2588
2588
|
s?: boolean;
|
|
2589
2589
|
}
|
|
2590
2590
|
interface LottieLayer {
|
|
2591
|
-
ty: Num;
|
|
2592
|
-
ind?: Num;
|
|
2593
|
-
parent?: Num;
|
|
2594
|
-
ip: Num;
|
|
2595
|
-
op: Num;
|
|
2596
|
-
st?: Num;
|
|
2597
|
-
sr?: Num;
|
|
2591
|
+
ty: Num$2;
|
|
2592
|
+
ind?: Num$2;
|
|
2593
|
+
parent?: Num$2;
|
|
2594
|
+
ip: Num$2;
|
|
2595
|
+
op: Num$2;
|
|
2596
|
+
st?: Num$2;
|
|
2597
|
+
sr?: Num$2;
|
|
2598
2598
|
ks: any;
|
|
2599
2599
|
shapes?: any[];
|
|
2600
2600
|
hd?: boolean;
|
|
2601
|
-
tt?: Num;
|
|
2602
|
-
td?: Num;
|
|
2601
|
+
tt?: Num$2;
|
|
2602
|
+
td?: Num$2;
|
|
2603
2603
|
masksProperties?: any[];
|
|
2604
2604
|
refId?: string;
|
|
2605
|
-
w?: Num;
|
|
2606
|
-
h?: Num;
|
|
2607
|
-
sw?: Num;
|
|
2608
|
-
sh?: Num;
|
|
2605
|
+
w?: Num$2;
|
|
2606
|
+
h?: Num$2;
|
|
2607
|
+
sw?: Num$2;
|
|
2608
|
+
sh?: Num$2;
|
|
2609
2609
|
sc?: string;
|
|
2610
2610
|
tm?: LottieProp;
|
|
2611
2611
|
nm?: string;
|
|
2612
|
-
ddd?: Num;
|
|
2612
|
+
ddd?: Num$2;
|
|
2613
2613
|
ef?: unknown[];
|
|
2614
2614
|
}
|
|
2615
2615
|
interface LottieAnimation {
|
|
2616
2616
|
v?: string;
|
|
2617
|
-
fr: Num;
|
|
2618
|
-
ip: Num;
|
|
2619
|
-
op: Num;
|
|
2620
|
-
w: Num;
|
|
2621
|
-
h: Num;
|
|
2617
|
+
fr: Num$2;
|
|
2618
|
+
ip: Num$2;
|
|
2619
|
+
op: Num$2;
|
|
2620
|
+
w: Num$2;
|
|
2621
|
+
h: Num$2;
|
|
2622
2622
|
nm?: string;
|
|
2623
2623
|
layers: LottieLayer[];
|
|
2624
2624
|
assets?: {
|
|
@@ -2626,23 +2626,23 @@ interface LottieAnimation {
|
|
|
2626
2626
|
layers?: LottieLayer[];
|
|
2627
2627
|
p?: string;
|
|
2628
2628
|
u?: string;
|
|
2629
|
-
w?: Num;
|
|
2630
|
-
h?: Num;
|
|
2631
|
-
e?: Num;
|
|
2629
|
+
w?: Num$2;
|
|
2630
|
+
h?: Num$2;
|
|
2631
|
+
e?: Num$2;
|
|
2632
2632
|
}[];
|
|
2633
2633
|
markers?: {
|
|
2634
2634
|
cm: string;
|
|
2635
|
-
tm: Num;
|
|
2636
|
-
dr: Num;
|
|
2635
|
+
tm: Num$2;
|
|
2636
|
+
dr: Num$2;
|
|
2637
2637
|
}[];
|
|
2638
2638
|
}
|
|
2639
2639
|
type LottiePlayer = Playable & {
|
|
2640
|
-
readonly frame: Num;
|
|
2641
|
-
readonly totalFrames: Num;
|
|
2640
|
+
readonly frame: Num$2;
|
|
2641
|
+
readonly totalFrames: Num$2;
|
|
2642
2642
|
readonly animation: LottieAnimation;
|
|
2643
|
-
goToFrame(f: Num): void;
|
|
2644
|
-
setSegment(seg: [Num, Num] | string | null): void;
|
|
2645
|
-
markers: Record<string, [Num, Num]>;
|
|
2643
|
+
goToFrame(f: Num$2): void;
|
|
2644
|
+
setSegment(seg: [Num$2, Num$2] | string | null): void;
|
|
2645
|
+
markers: Record<string, [Num$2, Num$2]>;
|
|
2646
2646
|
};
|
|
2647
2647
|
|
|
2648
2648
|
/**
|
|
@@ -2749,6 +2749,407 @@ interface UsaTokenEditorElement extends UsaElement {
|
|
|
2749
2749
|
}
|
|
2750
2750
|
declare function defineTokenEditor(tag?: string): CustomElementConstructor | undefined;
|
|
2751
2751
|
|
|
2752
|
+
/**
|
|
2753
|
+
* `motionary/runtime/physics` (10.7) — a small 2D rigid-body engine written
|
|
2754
|
+
* for Motionary (own implementation and API; no Matter.js / Box2D code):
|
|
2755
|
+
*
|
|
2756
|
+
* - bodies: circles, boxes and convex polygons (static, dynamic or
|
|
2757
|
+
* kinematic), density → mass + moment of inertia, restitution, friction,
|
|
2758
|
+
* sensors, collision groups / masks, sleeping;
|
|
2759
|
+
* - collisions: sort-and-sweep broad phase, separating-axis narrow phase
|
|
2760
|
+
* with clipped contact manifolds (up to 2 points), sequential, accumulated and
|
|
2761
|
+
* clamped impulses (normal + Coulomb friction) with a Baumgarte position bias;
|
|
2762
|
+
* - constraints: `distance` (rigid or a spring with `stiffness` /
|
|
2763
|
+
* `damping`), `pin` (a body point to a world point — also the pointer
|
|
2764
|
+
* drag constraint) and `weld`-like stiff distance pairs;
|
|
2765
|
+
* - a fixed time step (default 1/60 s) with an accumulator, so results are
|
|
2766
|
+
* the same at any frame rate; `world.run()` drives it from the shared
|
|
2767
|
+
* runtime ticker (pauses while the ticker sleeps).
|
|
2768
|
+
*
|
|
2769
|
+
* Pure maths — no DOM: safe in SSR and workers. Units are up to you (the
|
|
2770
|
+
* defaults assume pixels: gravity 980 px/s²).
|
|
2771
|
+
*/
|
|
2772
|
+
|
|
2773
|
+
type Num$1 = number;
|
|
2774
|
+
interface Vec2 {
|
|
2775
|
+
x: Num$1;
|
|
2776
|
+
y: Num$1;
|
|
2777
|
+
}
|
|
2778
|
+
type ShapeKind = 'circle' | 'box' | 'polygon';
|
|
2779
|
+
interface BodyOptions {
|
|
2780
|
+
shape?: ShapeKind;
|
|
2781
|
+
x?: Num$1;
|
|
2782
|
+
y?: Num$1;
|
|
2783
|
+
angle?: Num$1;
|
|
2784
|
+
/** circle */
|
|
2785
|
+
radius?: Num$1;
|
|
2786
|
+
/** box */
|
|
2787
|
+
width?: Num$1;
|
|
2788
|
+
height?: Num$1;
|
|
2789
|
+
/** polygon: local vertices (any winding; made convex-ccw) */
|
|
2790
|
+
vertices?: [Num$1, Num$1][];
|
|
2791
|
+
/** 'dynamic' (default), 'static' (never moves) or 'kinematic' (moves by its velocity, ignores forces / collisions). */
|
|
2792
|
+
type?: 'dynamic' | 'static' | 'kinematic';
|
|
2793
|
+
/** Mass per unit area (default 0.001 → a 40 px box weighs 1.6). */
|
|
2794
|
+
density?: Num$1;
|
|
2795
|
+
/** Overrides density. */
|
|
2796
|
+
mass?: Num$1;
|
|
2797
|
+
restitution?: Num$1;
|
|
2798
|
+
friction?: Num$1;
|
|
2799
|
+
vx?: Num$1;
|
|
2800
|
+
vy?: Num$1;
|
|
2801
|
+
angularVelocity?: Num$1;
|
|
2802
|
+
/** Linear / angular damping per second (0–1). */
|
|
2803
|
+
damping?: Num$1;
|
|
2804
|
+
angularDamping?: Num$1;
|
|
2805
|
+
/** Collides with nothing, reports overlaps only. */
|
|
2806
|
+
sensor?: boolean;
|
|
2807
|
+
/** Collision filtering: bodies collide when (a.category & b.mask) && (b.category & a.mask). */
|
|
2808
|
+
category?: Num$1;
|
|
2809
|
+
mask?: Num$1;
|
|
2810
|
+
/** No rotation (infinite inertia). */
|
|
2811
|
+
fixedRotation?: boolean;
|
|
2812
|
+
label?: string;
|
|
2813
|
+
/** Anything (e.g. a fill colour for your renderer). */
|
|
2814
|
+
data?: unknown;
|
|
2815
|
+
}
|
|
2816
|
+
declare class Body {
|
|
2817
|
+
readonly id: number;
|
|
2818
|
+
label: string;
|
|
2819
|
+
shape: ShapeKind;
|
|
2820
|
+
type: 'dynamic' | 'static' | 'kinematic';
|
|
2821
|
+
position: Vec2;
|
|
2822
|
+
velocity: Vec2;
|
|
2823
|
+
angle: Num$1;
|
|
2824
|
+
angularVelocity: Num$1;
|
|
2825
|
+
force: Vec2;
|
|
2826
|
+
torque: number;
|
|
2827
|
+
radius: number;
|
|
2828
|
+
/** Local convex vertices (counter-clockwise) for boxes / polygons. */
|
|
2829
|
+
verts: Vec2[];
|
|
2830
|
+
normals: Vec2[];
|
|
2831
|
+
mass: number;
|
|
2832
|
+
invMass: number;
|
|
2833
|
+
inertia: number;
|
|
2834
|
+
invInertia: number;
|
|
2835
|
+
restitution: Num$1;
|
|
2836
|
+
friction: Num$1;
|
|
2837
|
+
damping: Num$1;
|
|
2838
|
+
angularDamping: Num$1;
|
|
2839
|
+
sensor: boolean;
|
|
2840
|
+
category: Num$1;
|
|
2841
|
+
mask: Num$1;
|
|
2842
|
+
sleeping: boolean;
|
|
2843
|
+
sleepTime: number;
|
|
2844
|
+
data: unknown;
|
|
2845
|
+
/** Bounding box, refreshed every step. */
|
|
2846
|
+
aabb: {
|
|
2847
|
+
minX: number;
|
|
2848
|
+
minY: number;
|
|
2849
|
+
maxX: number;
|
|
2850
|
+
maxY: number;
|
|
2851
|
+
};
|
|
2852
|
+
private wv;
|
|
2853
|
+
private wvAngle;
|
|
2854
|
+
private wvPos;
|
|
2855
|
+
constructor(o?: BodyOptions);
|
|
2856
|
+
get isStatic(): boolean;
|
|
2857
|
+
/** Vertices in world space (cached per pose). */
|
|
2858
|
+
worldVerts(): Vec2[];
|
|
2859
|
+
worldNormal(i: Num$1): Vec2;
|
|
2860
|
+
updateAabb(): void;
|
|
2861
|
+
applyImpulse(j: Vec2, at?: Vec2): void;
|
|
2862
|
+
applyForce(f: Vec2, at?: Vec2): void;
|
|
2863
|
+
wake(): void;
|
|
2864
|
+
/** Is the world point inside this body? */
|
|
2865
|
+
contains(x: Num$1, y: Num$1): boolean;
|
|
2866
|
+
}
|
|
2867
|
+
interface Contact {
|
|
2868
|
+
point: Vec2;
|
|
2869
|
+
depth: Num$1;
|
|
2870
|
+
}
|
|
2871
|
+
interface Manifold {
|
|
2872
|
+
a: Body;
|
|
2873
|
+
b: Body;
|
|
2874
|
+
normal: Vec2;
|
|
2875
|
+
contacts: Contact[];
|
|
2876
|
+
}
|
|
2877
|
+
interface ConstraintOptions {
|
|
2878
|
+
type: 'distance' | 'pin';
|
|
2879
|
+
a: Body;
|
|
2880
|
+
/** distance: the other body; pin: omitted. */
|
|
2881
|
+
b?: Body;
|
|
2882
|
+
/** Anchor on a / b in body-local coordinates (default the centre). */
|
|
2883
|
+
anchorA?: [Num$1, Num$1];
|
|
2884
|
+
anchorB?: [Num$1, Num$1];
|
|
2885
|
+
/** pin: the world point. */
|
|
2886
|
+
point?: [Num$1, Num$1];
|
|
2887
|
+
/** Rest length (default: the current distance). */
|
|
2888
|
+
length?: Num$1;
|
|
2889
|
+
/** 1 = rigid; < 1 = spring (fraction of the error corrected per step). */
|
|
2890
|
+
stiffness?: Num$1;
|
|
2891
|
+
/** Spring damping (0–1). */
|
|
2892
|
+
damping?: Num$1;
|
|
2893
|
+
label?: string;
|
|
2894
|
+
}
|
|
2895
|
+
declare class Constraint {
|
|
2896
|
+
type: 'distance' | 'pin';
|
|
2897
|
+
a: Body;
|
|
2898
|
+
b: Body | null;
|
|
2899
|
+
anchorA: Vec2;
|
|
2900
|
+
anchorB: Vec2;
|
|
2901
|
+
point: Vec2;
|
|
2902
|
+
length: Num$1;
|
|
2903
|
+
stiffness: Num$1;
|
|
2904
|
+
damping: Num$1;
|
|
2905
|
+
label: string;
|
|
2906
|
+
constructor(o: ConstraintOptions);
|
|
2907
|
+
worldA(): Vec2;
|
|
2908
|
+
worldB(): Vec2;
|
|
2909
|
+
/** One velocity iteration (impulse along the constraint axis, with a position bias). */
|
|
2910
|
+
solve(h: Num$1): void;
|
|
2911
|
+
}
|
|
2912
|
+
interface WorldOptions {
|
|
2913
|
+
gravity?: [Num$1, Num$1];
|
|
2914
|
+
/** Velocity iterations per step (default 10). */
|
|
2915
|
+
iterations?: Num$1;
|
|
2916
|
+
/** Fixed step in seconds (default 1/60). */
|
|
2917
|
+
step?: Num$1;
|
|
2918
|
+
/** Let resting bodies sleep (default true). */
|
|
2919
|
+
sleeping?: boolean;
|
|
2920
|
+
}
|
|
2921
|
+
type CollisionListener = (m: Manifold) => void;
|
|
2922
|
+
declare class World {
|
|
2923
|
+
gravity: Vec2;
|
|
2924
|
+
iterations: Num$1;
|
|
2925
|
+
fixedStep: Num$1;
|
|
2926
|
+
sleeping: boolean;
|
|
2927
|
+
bodies: Body[];
|
|
2928
|
+
constraints: Constraint[];
|
|
2929
|
+
/** Manifolds of the last step (incl. sensor overlaps, which have no response). */
|
|
2930
|
+
contacts: Manifold[];
|
|
2931
|
+
time: number;
|
|
2932
|
+
steps: number;
|
|
2933
|
+
private acc;
|
|
2934
|
+
private warm;
|
|
2935
|
+
private listeners;
|
|
2936
|
+
private stop;
|
|
2937
|
+
constructor(o?: WorldOptions);
|
|
2938
|
+
add<T extends Body | Constraint>(...items: T[]): T;
|
|
2939
|
+
body(o: BodyOptions): Body;
|
|
2940
|
+
constraint(o: ConstraintOptions): Constraint;
|
|
2941
|
+
remove(...items: (Body | Constraint)[]): void;
|
|
2942
|
+
clear(): void;
|
|
2943
|
+
/** Static walls around a w × h box (thickness t outside it). */
|
|
2944
|
+
bounds(w: Num$1, h: Num$1, t?: number, o?: {
|
|
2945
|
+
top?: boolean;
|
|
2946
|
+
}): Body[];
|
|
2947
|
+
onCollision(fn: CollisionListener): () => void;
|
|
2948
|
+
/** Bodies under a world point (topmost = last added first). */
|
|
2949
|
+
query(x: Num$1, y: Num$1): Body[];
|
|
2950
|
+
/** Advance by `seconds` of real time in fixed steps (max 8 steps per call). */
|
|
2951
|
+
update(seconds: Num$1): Num$1;
|
|
2952
|
+
/** One fixed step of h seconds. */
|
|
2953
|
+
step(h?: Num$1): void;
|
|
2954
|
+
/** Drive the world from the shared runtime ticker (needs the core). Returns a stopper. */
|
|
2955
|
+
run(): () => void;
|
|
2956
|
+
get running(): boolean;
|
|
2957
|
+
/** Total kinetic energy (handy for tests / "settled" checks). */
|
|
2958
|
+
energy(): Num$1;
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
/**
|
|
2962
|
+
* `motionary/runtime/format-scene` (10.7) — the versioned scene format
|
|
2963
|
+
* `motionary-scene@1`: a JSON description of a 2D physics scene (world,
|
|
2964
|
+
* named materials, bodies, constraints, per-body style) that
|
|
2965
|
+
* `<usa-physics-playground>` and your own code can load, validate,
|
|
2966
|
+
* migrate and save.
|
|
2967
|
+
*
|
|
2968
|
+
* ```json
|
|
2969
|
+
* { "format": "motionary-scene@1",
|
|
2970
|
+
* "world": { "width": 600, "height": 360, "gravity": [0, 980], "walls": true },
|
|
2971
|
+
* "materials": { "rubber": { "restitution": 0.8, "friction": 0.6, "density": 0.001 } },
|
|
2972
|
+
* "bodies": [
|
|
2973
|
+
* { "id": "ball", "shape": "circle", "radius": 20, "position": [120, 40], "material": "rubber", "style": { "fill": "#f472b6" } },
|
|
2974
|
+
* { "id": "floor-plank", "shape": "box", "size": [300, 16], "position": [300, 300], "angle": 0.1, "static": true }
|
|
2975
|
+
* ],
|
|
2976
|
+
* "constraints": [ { "type": "distance", "a": "ball", "b": "floor-plank", "length": 120, "stiffness": 0.3 } ] }
|
|
2977
|
+
* ```
|
|
2978
|
+
*
|
|
2979
|
+
* - `validateScene(json)` lists problems (never throws);
|
|
2980
|
+
* - `migrateScene(json)` upgrades older shapes (an unversioned scene, the
|
|
2981
|
+
* `motionary-scene@0` draft) to `@1` and reports what it changed;
|
|
2982
|
+
* - `parseScene(json)` = migrate + validate, throws on errors;
|
|
2983
|
+
* - `sceneToWorld(scene)` builds a `motionary/runtime/physics` world
|
|
2984
|
+
* (bodies by id); `worldToScene(world)` saves one back.
|
|
2985
|
+
*
|
|
2986
|
+
* Needs `motionary/runtime/physics` registered for `sceneToWorld` /
|
|
2987
|
+
* `worldToScene`; validation and migration are pure.
|
|
2988
|
+
*/
|
|
2989
|
+
|
|
2990
|
+
type Num = number;
|
|
2991
|
+
declare const SCENE_FORMAT = "motionary-scene@1";
|
|
2992
|
+
interface SceneMaterial {
|
|
2993
|
+
restitution?: Num;
|
|
2994
|
+
friction?: Num;
|
|
2995
|
+
density?: Num;
|
|
2996
|
+
}
|
|
2997
|
+
interface SceneBody {
|
|
2998
|
+
id: string;
|
|
2999
|
+
shape: 'circle' | 'box' | 'polygon';
|
|
3000
|
+
position: [Num, Num];
|
|
3001
|
+
angle?: Num;
|
|
3002
|
+
radius?: Num;
|
|
3003
|
+
size?: [Num, Num];
|
|
3004
|
+
vertices?: [Num, Num][];
|
|
3005
|
+
static?: boolean;
|
|
3006
|
+
kinematic?: boolean;
|
|
3007
|
+
material?: string;
|
|
3008
|
+
restitution?: Num;
|
|
3009
|
+
friction?: Num;
|
|
3010
|
+
density?: Num;
|
|
3011
|
+
velocity?: [Num, Num];
|
|
3012
|
+
angularVelocity?: Num;
|
|
3013
|
+
sensor?: boolean;
|
|
3014
|
+
style?: {
|
|
3015
|
+
fill?: string;
|
|
3016
|
+
stroke?: string;
|
|
3017
|
+
label?: string;
|
|
3018
|
+
};
|
|
3019
|
+
}
|
|
3020
|
+
interface SceneConstraint {
|
|
3021
|
+
type: 'distance' | 'pin';
|
|
3022
|
+
a: string;
|
|
3023
|
+
b?: string;
|
|
3024
|
+
point?: [Num, Num];
|
|
3025
|
+
anchorA?: [Num, Num];
|
|
3026
|
+
anchorB?: [Num, Num];
|
|
3027
|
+
length?: Num;
|
|
3028
|
+
stiffness?: Num;
|
|
3029
|
+
damping?: Num;
|
|
3030
|
+
}
|
|
3031
|
+
interface Scene {
|
|
3032
|
+
format: typeof SCENE_FORMAT;
|
|
3033
|
+
name?: string;
|
|
3034
|
+
world: {
|
|
3035
|
+
width: Num;
|
|
3036
|
+
height: Num;
|
|
3037
|
+
gravity?: [Num, Num];
|
|
3038
|
+
walls?: boolean | {
|
|
3039
|
+
top?: boolean;
|
|
3040
|
+
};
|
|
3041
|
+
iterations?: Num;
|
|
3042
|
+
};
|
|
3043
|
+
materials?: Record<string, SceneMaterial>;
|
|
3044
|
+
bodies: SceneBody[];
|
|
3045
|
+
constraints?: SceneConstraint[];
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* `<usa-physics-playground preset="pyramid"></usa-physics-playground>` (10.7)
|
|
3050
|
+
* — a 2D rigid-body sandbox drawn on Canvas 2D, simulated by Motionary's own
|
|
3051
|
+
* **`motionary/runtime/physics`** and loaded from a **`motionary-scene@1`**
|
|
3052
|
+
* scene (`motionary/runtime/format-scene`). Requires `use(physics,
|
|
3053
|
+
* formatScene)` before it mounts.
|
|
3054
|
+
*
|
|
3055
|
+
* Attributes: `preset` (balls · pyramid · pendulum · dominoes), `src` (a
|
|
3056
|
+
* scene JSON URL) or an inline `<script type="application/json">` scene,
|
|
3057
|
+
* `gravity` (px/s², default 980), `spawn` (click / tap empty space drops a
|
|
3058
|
+
* body), `paused`, `label`. Drag any dynamic body (pointer or touch);
|
|
3059
|
+
* arrow keys nudge the last body touched. Reduced motion: the scene is
|
|
3060
|
+
* settled off-screen and drawn once (dragging still works, one frame per
|
|
3061
|
+
* move). Only steps while visible.
|
|
3062
|
+
*
|
|
3063
|
+
* API: `world`, `bodies` (by scene id), `scene` (the loaded scene),
|
|
3064
|
+
* `reset()`, `play()`, `pause()`, `toScene()`; events `usa:load` ({ bodies,
|
|
3065
|
+
* format }), `usa:collision` (first contact between two dynamic bodies per
|
|
3066
|
+
* step), `usa:error`, `usa:runtime-missing`.
|
|
3067
|
+
*/
|
|
3068
|
+
interface UsaPhysicsPlaygroundElement extends UsaElement {
|
|
3069
|
+
readonly world: World | null;
|
|
3070
|
+
readonly bodies: Record<string, Body>;
|
|
3071
|
+
readonly scene: Scene | null;
|
|
3072
|
+
reset(): void;
|
|
3073
|
+
play(): void;
|
|
3074
|
+
pause(): void;
|
|
3075
|
+
toScene(): Scene | null;
|
|
3076
|
+
}
|
|
3077
|
+
/** The built-in scenes (motionary-scene@1). */
|
|
3078
|
+
declare const PHYSICS_PRESETS: Record<string, () => unknown>;
|
|
3079
|
+
declare function definePhysicsPlayground(tag?: string): CustomElementConstructor | undefined;
|
|
3080
|
+
|
|
3081
|
+
/**
|
|
3082
|
+
* `motionary/components/ai` (10.7, AI-assisted motion) — turns a short
|
|
3083
|
+
* natural-language description ("fade the cards up slowly when they scroll
|
|
3084
|
+
* into view, one after another") into a motion spec: effect, direction,
|
|
3085
|
+
* distance, duration, delay, easing, trigger, repeat, stagger, Web
|
|
3086
|
+
* Animations keyframes + options, a CSS rule and the Motionary components
|
|
3087
|
+
* that do it. English and Chinese phrases. A small deterministic parser —
|
|
3088
|
+
* no model, no network — shared by `<usa-motion-prompt>` and the
|
|
3089
|
+
* `suggest_motion` tool of `motionary-mcp` (which runs an evaluation set of
|
|
3090
|
+
* prompts against it in CI).
|
|
3091
|
+
*
|
|
3092
|
+
* Pure: no DOM access — safe in Node, workers and SSR.
|
|
3093
|
+
*/
|
|
3094
|
+
type MotionEffect = 'fade' | 'slide' | 'zoom' | 'rotate' | 'flip' | 'bounce' | 'shake' | 'pulse' | 'blur' | 'reveal' | 'typewriter' | 'count' | 'tilt' | 'magnetic' | 'ripple' | 'parallax' | 'marquee' | 'particles';
|
|
3095
|
+
type MotionTrigger = 'load' | 'scroll' | 'hover' | 'click' | 'loop';
|
|
3096
|
+
type Direction = 'up' | 'down' | 'left' | 'right' | null;
|
|
3097
|
+
interface MotionIntent {
|
|
3098
|
+
/** The input, trimmed. */
|
|
3099
|
+
text: string;
|
|
3100
|
+
effect: MotionEffect;
|
|
3101
|
+
/** Secondary effects mentioned with the main one ("fade and zoom"). */
|
|
3102
|
+
also: MotionEffect[];
|
|
3103
|
+
direction: Direction;
|
|
3104
|
+
/** px for slides, scale factor for zooms, degrees for rotations / flips. */
|
|
3105
|
+
amount: number;
|
|
3106
|
+
duration: number;
|
|
3107
|
+
delay: number;
|
|
3108
|
+
easing: string;
|
|
3109
|
+
/** Named easing the text asked for ('spring', 'bouncy', 'smooth', 'linear', 'snappy', 'ease-out' …). */
|
|
3110
|
+
easingName: string;
|
|
3111
|
+
trigger: MotionTrigger;
|
|
3112
|
+
/** 1 = once, Infinity = forever. */
|
|
3113
|
+
iterations: number;
|
|
3114
|
+
alternate: boolean;
|
|
3115
|
+
/** ms between items for lists / groups (0 = none). */
|
|
3116
|
+
stagger: number;
|
|
3117
|
+
reducedMotion: 'respect';
|
|
3118
|
+
keyframes: Keyframe[];
|
|
3119
|
+
options: KeyframeAnimationOptions;
|
|
3120
|
+
css: string;
|
|
3121
|
+
/** Motionary components that implement it, best first. */
|
|
3122
|
+
components: {
|
|
3123
|
+
tag: string;
|
|
3124
|
+
why: string;
|
|
3125
|
+
snippet: string;
|
|
3126
|
+
}[];
|
|
3127
|
+
/** 0–1: how much of the text was understood. */
|
|
3128
|
+
confidence: number;
|
|
3129
|
+
/** Words / phrases that drove each decision (for explanations). */
|
|
3130
|
+
matched: string[];
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
/**
|
|
3134
|
+
* `<usa-motion-prompt></usa-motion-prompt>` (10.7, AI-assisted motion) — type
|
|
3135
|
+
* what you want ("fade the cards up slowly, one after another" / "卡片从下往上
|
|
3136
|
+
* 依次淡入") and get a live preview plus ready code: Web Animations, CSS or a
|
|
3137
|
+
* Motionary component. Runs `describeMotion()` from
|
|
3138
|
+
* `motionary/components/ai` — a small deterministic parser (English and
|
|
3139
|
+
* Chinese), **no model and no network**; the same parser backs the
|
|
3140
|
+
* `suggest_motion` tool of `motionary-mcp`.
|
|
3141
|
+
*
|
|
3142
|
+
* Attributes: `value` (initial prompt), `format` (waapi · css · component,
|
|
3143
|
+
* default waapi), `placeholder`, `label`. The preview respects reduced
|
|
3144
|
+
* motion (shows the end state). API: `intent`, `suggest(text)`; events
|
|
3145
|
+
* `usa:suggest` ({ intent }), `usa:copy` ({ format, code }).
|
|
3146
|
+
*/
|
|
3147
|
+
interface UsaMotionPromptElement extends UsaElement {
|
|
3148
|
+
readonly intent: MotionIntent | null;
|
|
3149
|
+
suggest(text: string): MotionIntent;
|
|
3150
|
+
}
|
|
3151
|
+
declare function defineMotionPrompt(tag?: string): CustomElementConstructor | undefined;
|
|
3152
|
+
|
|
2752
3153
|
/**
|
|
2753
3154
|
* motionary/components/widgets — the 6.x animated UI widgets, in their own
|
|
2754
3155
|
* entry so `motionary/components` and `components/lite` keep their size
|
|
@@ -2884,8 +3285,10 @@ declare global {
|
|
|
2884
3285
|
'usa-lottie-player': UsaLottiePlayerElement;
|
|
2885
3286
|
'usa-rive': UsaRiveElement;
|
|
2886
3287
|
'usa-token-editor': UsaTokenEditorElement;
|
|
3288
|
+
'usa-physics-playground': UsaPhysicsPlaygroundElement;
|
|
3289
|
+
'usa-motion-prompt': UsaMotionPromptElement;
|
|
2887
3290
|
}
|
|
2888
3291
|
}
|
|
2889
3292
|
|
|
2890
|
-
export { BACKDROP_PRESETS, CAROUSEL_EFFECTS, EQ_PRESETS, FESTIVAL_THEMES, LOTTIE_ICONS, MENU_EFFECTS, MODAL_EFFECTS, NAV_INDICATORS, PARTICLE_DRAW_WGSL, PARTICLE_SIM_WGSL, POST_PASSES, PRESENCE_STATES, PROGRESS_VARIANTS, RETRO_VARIANTS, RIVE_CDN, RIVE_PEER, SEGMENTED_VARIANTS, SHEET_SIDES, SKELETON_VARIANTS, SPARK_VARIANTS, SWITCH_VARIANTS, TAB_INDICATORS, TIP_PLACEMENTS, TOAST_POSITIONS, TOGGLE_VARIANTS, WEATHER_CONDITIONS, WIDGETS, WIDGET_TAGS, WORKER_SCENES, backgroundCss, badgeProgress, cartTotal, defineAddToCart, defineBadgeWall, defineBarChart, defineBgGenerator, defineCarousel, defineCartDrawer, defineChapterNav, defineChatComposer, defineClockControl, defineCodeExport, defineColorPicker, defineCommandPalette, defineCompare, defineCountdown, defineCubeGallery, defineDatePicker, defineDisclosure, defineDock, defineEqualizer, defineFestivalBanner, defineField, defineFileDrop, defineGauge, defineGenArt, defineGestureSticker, defineGlScene, defineGlobe, defineGpuParticles, defineGyroCard, defineHeroVideo, defineHudPanel, defineHydrate, defineInstallButton, defineKanban, defineKeyframeEditor, defineKpi, defineLeaderboard, defineLiquidNav, defineLocationCard, defineLottie, defineLottieIcon, defineLottiePlayer, defineLyrics, defineMasonryFlow, defineMenu, defineMenuToggle, defineMessageList, defineMilestones, defineModal, defineMotion, defineMotionInspector, defineMotionPrefs, defineMotionSpec, defineMusicPlayer, defineNativePreview, defineNavMorph, defineNotificationBell, defineOdometer, defineOrganicCard, defineOtp, definePagination, definePanorama, defineParallaxLayers, definePauseAll, definePerfMonitor, definePluginCard, definePluginStore, definePresence, definePrizeWheel, defineProductGallery, defineProgressRing, definePropPanel, definePullCord, defineRadar, defineReactions, defineRedEnvelope, defineRetroButton, defineRive, defineRouteTransition, defineScene, defineScrollRing, defineScrollScene, defineSegmented, defineShaderBackdrop, defineSheet, defineShortcut, defineSkeletonReveal, defineSketchChart, defineSmoothScroll, defineSparkline, defineSpatialCard, defineStarRating, defineStepper, defineStickyWall, defineStories, defineSuggestionChips, defineSwipeDeck, defineSwitch, defineTabBar, defineTerminal, defineTextSplitter, defineThemeSurface, defineThemeSwitcher, defineThreeScene, defineTip, defineToastStack, defineTokenEditor, defineUploadProgress, defineVideoCard, defineVoiceButton, defineVolumeKnob, defineWeatherCard, defineWidgets, defineWorkerCanvas, defineXpBar, describeComponent, exportComponent, formatBytes, formatDistance, fuzzyMatch, haversine, hexToHsv, hsvToHex, initials, keyLabels, levelFor, loadRiveRuntime, matchesKeys, monthGrid, pageWindow, parseChips, parseISODate, parseLRC, parseMarkers, parseProps, parseReactions, parseScrub, parseTargets, passwordStrength, project, provideRiveRuntime, rankRows, sanitizeCode, sparkPoints, splitTime, stackToast, waveBars, wheelAngle, wrapIndex };
|
|
2891
|
-
export type { BellNotice, CartItem, ChatMessage, ExportFormat, ExportedNode, GlobeMarker, LeaderRow, PaletteCommand, PerfStats, PresenceState, PropSpec, RadarTarget, StackToastOptions, StickerState, UsaAddToCartElement, UsaBadgeWallElement, UsaBarChartElement, UsaBgGeneratorElement, UsaCarouselElement, UsaCartDrawerElement, UsaChapterNavElement, UsaChatComposerElement, UsaClockControlElement, UsaCodeExportElement, UsaColorPickerElement, UsaCommandPaletteElement, UsaCompareElement, UsaCountdownElement, UsaCubeGalleryElement, UsaDatePickerElement, UsaDisclosureElement, UsaDockElement, UsaEqualizerElement, UsaFestivalBannerElement, UsaFieldElement, UsaFileDropElement, UsaGaugeElement, UsaGenArtElement, UsaGestureStickerElement, UsaGlSceneElement, UsaGlobeElement, UsaGpuParticlesElement, UsaGyroCardElement, UsaHeroVideoElement, UsaHudPanelElement, UsaHydrateElement, UsaInstallButtonElement, UsaKanbanElement, UsaKeyframeEditorElement, UsaKpiElement, UsaLeaderboardElement, UsaLiquidNavElement, UsaLocationCardElement, UsaLottieElement, UsaLottieIconElement, UsaLottiePlayerElement, UsaLyricsElement, UsaMasonryFlowElement, UsaMenuElement, UsaMenuToggleElement, UsaMessageListElement, UsaMilestonesElement, UsaModalElement, UsaMotionElement, UsaMotionInspectorElement, UsaMotionPrefsElement, UsaMotionSpecElement, UsaMusicPlayerElement, UsaNativePreviewElement, UsaNavMorphElement, UsaNotificationBellElement, UsaOdometerElement, UsaOrganicCardElement, UsaOtpElement, UsaPaginationElement, UsaPanoramaElement, UsaParallaxLayersElement, UsaPauseAllElement, UsaPerfMonitorElement, UsaPluginCardElement, UsaPluginStoreElement, UsaPresenceElement, UsaPrizeWheelElement, UsaProductGalleryElement, UsaProgressRingElement, UsaPropPanelElement, UsaPullCordElement, UsaRadarElement, UsaReactionsElement, UsaRedEnvelopeElement, UsaRetroButtonElement, UsaRiveElement, UsaRouteTransitionElement, UsaSceneElement, UsaScrollRingElement, UsaScrollSceneElement, UsaSegmentedElement, UsaShaderBackdropElement, UsaSheetElement, UsaShortcutElement, UsaSkeletonRevealElement, UsaSketchChartElement, UsaSmoothScrollElement, UsaSparklineElement, UsaSpatialCardElement, UsaStarRatingElement, UsaStepperElement, UsaStickyWallElement, UsaStoriesElement, UsaSuggestionChipsElement, UsaSwipeDeckElement, UsaSwitchElement, UsaTabBarElement, UsaTerminalElement, UsaTextSplitterElement, UsaThemeSurfaceElement, UsaThemeSwitcherElement, UsaTipElement, UsaToastStackElement, UsaTokenEditorElement, UsaUploadProgressElement, UsaVideoCardElement, UsaVoiceButtonElement, UsaVolumeKnobElement, UsaWeatherCardElement, UsaWorkerCanvasElement, UsaXpBarElement, WallBadge };
|
|
3293
|
+
export { BACKDROP_PRESETS, CAROUSEL_EFFECTS, EQ_PRESETS, FESTIVAL_THEMES, LOTTIE_ICONS, MENU_EFFECTS, MODAL_EFFECTS, NAV_INDICATORS, PARTICLE_DRAW_WGSL, PARTICLE_SIM_WGSL, PHYSICS_PRESETS, POST_PASSES, PRESENCE_STATES, PROGRESS_VARIANTS, RETRO_VARIANTS, RIVE_CDN, RIVE_PEER, SEGMENTED_VARIANTS, SHEET_SIDES, SKELETON_VARIANTS, SPARK_VARIANTS, SWITCH_VARIANTS, TAB_INDICATORS, TIP_PLACEMENTS, TOAST_POSITIONS, TOGGLE_VARIANTS, WEATHER_CONDITIONS, WIDGETS, WIDGET_TAGS, WORKER_SCENES, backgroundCss, badgeProgress, cartTotal, defineAddToCart, defineBadgeWall, defineBarChart, defineBgGenerator, defineCarousel, defineCartDrawer, defineChapterNav, defineChatComposer, defineClockControl, defineCodeExport, defineColorPicker, defineCommandPalette, defineCompare, defineCountdown, defineCubeGallery, defineDatePicker, defineDisclosure, defineDock, defineEqualizer, defineFestivalBanner, defineField, defineFileDrop, defineGauge, defineGenArt, defineGestureSticker, defineGlScene, defineGlobe, defineGpuParticles, defineGyroCard, defineHeroVideo, defineHudPanel, defineHydrate, defineInstallButton, defineKanban, defineKeyframeEditor, defineKpi, defineLeaderboard, defineLiquidNav, defineLocationCard, defineLottie, defineLottieIcon, defineLottiePlayer, defineLyrics, defineMasonryFlow, defineMenu, defineMenuToggle, defineMessageList, defineMilestones, defineModal, defineMotion, defineMotionInspector, defineMotionPrefs, defineMotionPrompt, defineMotionSpec, defineMusicPlayer, defineNativePreview, defineNavMorph, defineNotificationBell, defineOdometer, defineOrganicCard, defineOtp, definePagination, definePanorama, defineParallaxLayers, definePauseAll, definePerfMonitor, definePhysicsPlayground, definePluginCard, definePluginStore, definePresence, definePrizeWheel, defineProductGallery, defineProgressRing, definePropPanel, definePullCord, defineRadar, defineReactions, defineRedEnvelope, defineRetroButton, defineRive, defineRouteTransition, defineScene, defineScrollRing, defineScrollScene, defineSegmented, defineShaderBackdrop, defineSheet, defineShortcut, defineSkeletonReveal, defineSketchChart, defineSmoothScroll, defineSparkline, defineSpatialCard, defineStarRating, defineStepper, defineStickyWall, defineStories, defineSuggestionChips, defineSwipeDeck, defineSwitch, defineTabBar, defineTerminal, defineTextSplitter, defineThemeSurface, defineThemeSwitcher, defineThreeScene, defineTip, defineToastStack, defineTokenEditor, defineUploadProgress, defineVideoCard, defineVoiceButton, defineVolumeKnob, defineWeatherCard, defineWidgets, defineWorkerCanvas, defineXpBar, describeComponent, exportComponent, formatBytes, formatDistance, fuzzyMatch, haversine, hexToHsv, hsvToHex, initials, keyLabels, levelFor, loadRiveRuntime, matchesKeys, monthGrid, pageWindow, parseChips, parseISODate, parseLRC, parseMarkers, parseProps, parseReactions, parseScrub, parseTargets, passwordStrength, project, provideRiveRuntime, rankRows, sanitizeCode, sparkPoints, splitTime, stackToast, waveBars, wheelAngle, wrapIndex };
|
|
3294
|
+
export type { BellNotice, CartItem, ChatMessage, ExportFormat, ExportedNode, GlobeMarker, LeaderRow, PaletteCommand, PerfStats, PresenceState, PropSpec, RadarTarget, StackToastOptions, StickerState, UsaAddToCartElement, UsaBadgeWallElement, UsaBarChartElement, UsaBgGeneratorElement, UsaCarouselElement, UsaCartDrawerElement, UsaChapterNavElement, UsaChatComposerElement, UsaClockControlElement, UsaCodeExportElement, UsaColorPickerElement, UsaCommandPaletteElement, UsaCompareElement, UsaCountdownElement, UsaCubeGalleryElement, UsaDatePickerElement, UsaDisclosureElement, UsaDockElement, UsaEqualizerElement, UsaFestivalBannerElement, UsaFieldElement, UsaFileDropElement, UsaGaugeElement, UsaGenArtElement, UsaGestureStickerElement, UsaGlSceneElement, UsaGlobeElement, UsaGpuParticlesElement, UsaGyroCardElement, UsaHeroVideoElement, UsaHudPanelElement, UsaHydrateElement, UsaInstallButtonElement, UsaKanbanElement, UsaKeyframeEditorElement, UsaKpiElement, UsaLeaderboardElement, UsaLiquidNavElement, UsaLocationCardElement, UsaLottieElement, UsaLottieIconElement, UsaLottiePlayerElement, UsaLyricsElement, UsaMasonryFlowElement, UsaMenuElement, UsaMenuToggleElement, UsaMessageListElement, UsaMilestonesElement, UsaModalElement, UsaMotionElement, UsaMotionInspectorElement, UsaMotionPrefsElement, UsaMotionPromptElement, UsaMotionSpecElement, UsaMusicPlayerElement, UsaNativePreviewElement, UsaNavMorphElement, UsaNotificationBellElement, UsaOdometerElement, UsaOrganicCardElement, UsaOtpElement, UsaPaginationElement, UsaPanoramaElement, UsaParallaxLayersElement, UsaPauseAllElement, UsaPerfMonitorElement, UsaPhysicsPlaygroundElement, UsaPluginCardElement, UsaPluginStoreElement, UsaPresenceElement, UsaPrizeWheelElement, UsaProductGalleryElement, UsaProgressRingElement, UsaPropPanelElement, UsaPullCordElement, UsaRadarElement, UsaReactionsElement, UsaRedEnvelopeElement, UsaRetroButtonElement, UsaRiveElement, UsaRouteTransitionElement, UsaSceneElement, UsaScrollRingElement, UsaScrollSceneElement, UsaSegmentedElement, UsaShaderBackdropElement, UsaSheetElement, UsaShortcutElement, UsaSkeletonRevealElement, UsaSketchChartElement, UsaSmoothScrollElement, UsaSparklineElement, UsaSpatialCardElement, UsaStarRatingElement, UsaStepperElement, UsaStickyWallElement, UsaStoriesElement, UsaSuggestionChipsElement, UsaSwipeDeckElement, UsaSwitchElement, UsaTabBarElement, UsaTerminalElement, UsaTextSplitterElement, UsaThemeSurfaceElement, UsaThemeSwitcherElement, UsaTipElement, UsaToastStackElement, UsaTokenEditorElement, UsaUploadProgressElement, UsaVideoCardElement, UsaVoiceButtonElement, UsaVolumeKnobElement, UsaWeatherCardElement, UsaWorkerCanvasElement, UsaXpBarElement, WallBadge };
|