motionary 10.4.0 → 10.6.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/CHANGELOG.md +30 -0
- package/README.md +97 -0
- package/dist/chunks/{anim-image-blQgPFFS.cjs → anim-image-DECLkPH4.cjs} +2 -2
- package/dist/chunks/{anim-image-blQgPFFS.cjs.map → anim-image-DECLkPH4.cjs.map} +1 -1
- package/dist/chunks/{anim-image-DDdb9q3X.js → anim-image-DNghy017.js} +2 -2
- package/dist/chunks/{anim-image-DDdb9q3X.js.map → anim-image-DNghy017.js.map} +1 -1
- package/dist/chunks/{keyframes-tC3I7anQ.cjs → keyframes-CbUZjD_5.cjs} +2 -2
- package/dist/chunks/{keyframes-tC3I7anQ.cjs.map → keyframes-CbUZjD_5.cjs.map} +1 -1
- package/dist/chunks/{keyframes-B5PWe5bU.js → keyframes-F6vp6tZZ.js} +2 -2
- package/dist/chunks/{keyframes-B5PWe5bU.js.map → keyframes-F6vp6tZZ.js.map} +1 -1
- package/dist/chunks/{registry-CT-TT_bx.js → registry-D8LAoXI-.js} +2 -2
- package/dist/chunks/{registry-CT-TT_bx.js.map → registry-D8LAoXI-.js.map} +1 -1
- package/dist/chunks/{registry-tzwKkldE.cjs → registry-dr1CPTk1.cjs} +2 -2
- package/dist/chunks/{registry-tzwKkldE.cjs.map → registry-dr1CPTk1.cjs.map} +1 -1
- package/dist/chunks/{ticker-Un0bvTWR.cjs → ticker-DaAlEyOd.cjs} +2 -2
- package/dist/chunks/{ticker-Un0bvTWR.cjs.map → ticker-DaAlEyOd.cjs.map} +1 -1
- package/dist/chunks/{ticker-C8lSGml9.js → ticker-Do9bGsaV.js} +2 -2
- package/dist/chunks/{ticker-C8lSGml9.js.map → ticker-Do9bGsaV.js.map} +1 -1
- package/dist/chunks/{tween-BcejKpsx.js → tween-BzCGq_Ba.js} +2 -2
- package/dist/chunks/{tween-BcejKpsx.js.map → tween-BzCGq_Ba.js.map} +1 -1
- package/dist/chunks/{tween-CwLLC3Ko.cjs → tween-CmkdSyaC.cjs} +2 -2
- package/dist/chunks/{tween-CwLLC3Ko.cjs.map → tween-CmkdSyaC.cjs.map} +1 -1
- package/dist/components/lite.cjs +179 -0
- package/dist/components/lite.cjs.map +1 -1
- package/dist/components/lite.js +176 -1
- package/dist/components/lite.js.map +1 -1
- package/dist/components/tokens.cjs +179 -0
- package/dist/components/tokens.cjs.map +1 -1
- package/dist/components/tokens.d.cts +36 -1
- package/dist/components/tokens.d.ts +36 -1
- package/dist/components/tokens.js +176 -1
- package/dist/components/tokens.js.map +1 -1
- package/dist/components/widgets.cjs +1138 -213
- package/dist/components/widgets.cjs.map +1 -1
- package/dist/components/widgets.d.cts +401 -2
- package/dist/components/widgets.d.ts +401 -2
- package/dist/components/widgets.js +1124 -214
- package/dist/components/widgets.js.map +1 -1
- package/dist/components.cjs +4 -0
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +36 -1
- package/dist/components.d.ts +36 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +2 -2
- package/dist/components.umd.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/llms-full.txt +273 -1
- package/dist/llms.txt +14 -2
- package/dist/manifest.json +736 -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 +207 -0
- package/dist/runtime/format-gltf.cjs.map +1 -0
- package/dist/runtime/format-gltf.d.cts +251 -0
- package/dist/runtime/format-gltf.d.ts +251 -0
- package/dist/runtime/format-gltf.iife.js +2 -0
- package/dist/runtime/format-gltf.iife.js.map +1 -0
- package/dist/runtime/format-gltf.js +200 -0
- package/dist/runtime/format-gltf.js.map +1 -0
- package/dist/runtime/format-motion.cjs +4 -4
- package/dist/runtime/format-motion.js +4 -4
- package/dist/runtime/format-obj.cjs +181 -0
- package/dist/runtime/format-obj.cjs.map +1 -0
- package/dist/runtime/format-obj.d.cts +176 -0
- package/dist/runtime/format-obj.d.ts +176 -0
- package/dist/runtime/format-obj.iife.js +2 -0
- package/dist/runtime/format-obj.iife.js.map +1 -0
- package/dist/runtime/format-obj.js +174 -0
- package/dist/runtime/format-obj.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 +763 -0
- package/dist/runtime/gl.cjs.map +1 -0
- package/dist/runtime/gl.d.cts +260 -0
- package/dist/runtime/gl.d.ts +260 -0
- package/dist/runtime/gl.iife.js +2 -0
- package/dist/runtime/gl.iife.js.map +1 -0
- package/dist/runtime/gl.js +739 -0
- package/dist/runtime/gl.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 +704 -0
- package/dist/runtime/vector.cjs.map +1 -0
- package/dist/runtime/vector.d.cts +306 -0
- package/dist/runtime/vector.d.ts +306 -0
- package/dist/runtime/vector.iife.js +2 -0
- package/dist/runtime/vector.iife.js.map +1 -0
- package/dist/runtime/vector.js +692 -0
- package/dist/runtime/vector.js.map +1 -0
- 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 +2 -2
- package/docs/components/README.md +11 -1
- package/docs/components/usa-gl-scene.md +66 -0
- package/docs/components/usa-gpu-particles.md +32 -0
- package/docs/components/usa-lottie-player.md +60 -0
- package/docs/components/usa-rive.md +57 -0
- package/docs/components/usa-shader-backdrop.md +36 -0
- package/docs/components/usa-three-scene.md +20 -0
- package/docs/components/usa-token-editor.md +32 -0
- package/docs/components.md +120 -0
- package/docs/runtime/format-gltf.md +63 -0
- package/docs/runtime/format-obj.md +59 -0
- package/docs/runtime/gl.md +62 -0
- package/docs/runtime/rive.md +55 -0
- package/docs/runtime/vector.md +67 -0
- package/package.json +47 -3
|
@@ -2357,6 +2357,398 @@ interface UsaSmoothScrollElement extends UsaElement {
|
|
|
2357
2357
|
}
|
|
2358
2358
|
declare function defineSmoothScroll(tag?: string): CustomElementConstructor | undefined;
|
|
2359
2359
|
|
|
2360
|
+
/**
|
|
2361
|
+
* `motionary/runtime/gl` (10.5) — a small WebGL2 scene renderer written for
|
|
2362
|
+
* Motionary (not a Three.js clone; own API, own shaders):
|
|
2363
|
+
*
|
|
2364
|
+
* - **math** (`mat4`, quaternions — column-major `Float32Array`s), pure;
|
|
2365
|
+
* - **scene graph**: `GlNode` (position / rotation quaternion / scale,
|
|
2366
|
+
* children, optional mesh), `Camera` (perspective, `lookAt`), lights
|
|
2367
|
+
* (`ambient`, up to 4 directional / point), `bounds()` + `frameNode()`;
|
|
2368
|
+
* - **geometry** builders (`box`, `plane`, `sphere`, `torus`) and custom
|
|
2369
|
+
* geometry from typed arrays (indexed 16 / 32-bit or not);
|
|
2370
|
+
* - **materials**: `standard` (metallic-roughness PBR approximation, base
|
|
2371
|
+
* colour texture, emissive, ACES-free Reinhard tone mapping, sRGB),
|
|
2372
|
+
* `unlit`, and `shader` (your GLSL ES 3.00 fragment with the standard
|
|
2373
|
+
* varyings + your uniforms);
|
|
2374
|
+
* - **textures** from images, canvases, bitmaps and **videos** (updated per
|
|
2375
|
+
* decoded frame with `requestVideoFrameCallback`; `scrubVideo()` seeks a
|
|
2376
|
+
* video from a 0–1 progress, e.g. a scroll scene);
|
|
2377
|
+
* - `orbitControls()` — drag / wheel / pinch / arrow keys, damping, optional
|
|
2378
|
+
* auto-rotate (off under reduced motion).
|
|
2379
|
+
*
|
|
2380
|
+
* Math, geometry and the scene graph are pure (SSR / workers); rendering
|
|
2381
|
+
* needs WebGL2 (`createRenderer()` throws a clear error without it). Model
|
|
2382
|
+
* loaders live in `motionary/runtime/format-gltf` and `format-obj`.
|
|
2383
|
+
*/
|
|
2384
|
+
|
|
2385
|
+
type Vec3 = [number, number, number];
|
|
2386
|
+
type Quat = [number, number, number, number];
|
|
2387
|
+
type Mat4 = Float32Array;
|
|
2388
|
+
interface Geometry {
|
|
2389
|
+
positions: Float32Array;
|
|
2390
|
+
normals?: Float32Array;
|
|
2391
|
+
uvs?: Float32Array;
|
|
2392
|
+
indices?: Uint16Array | Uint32Array;
|
|
2393
|
+
/** 'triangles' (default), 'lines', 'points'. */
|
|
2394
|
+
mode?: 'triangles' | 'lines' | 'points';
|
|
2395
|
+
/** Renderer cache. */
|
|
2396
|
+
_gpu?: unknown;
|
|
2397
|
+
}
|
|
2398
|
+
interface GlTexture {
|
|
2399
|
+
source: TexImageSource | {
|
|
2400
|
+
width: number;
|
|
2401
|
+
height: number;
|
|
2402
|
+
data: Uint8Array | Uint8ClampedArray;
|
|
2403
|
+
};
|
|
2404
|
+
/** sRGB colour data (default true for colour maps). */
|
|
2405
|
+
srgb?: boolean;
|
|
2406
|
+
repeat?: boolean;
|
|
2407
|
+
flipY?: boolean;
|
|
2408
|
+
/** Re-upload every frame a new video frame is ready. */
|
|
2409
|
+
video?: boolean;
|
|
2410
|
+
needsUpdate?: boolean;
|
|
2411
|
+
_gpu?: unknown;
|
|
2412
|
+
}
|
|
2413
|
+
interface Material {
|
|
2414
|
+
type: 'standard' | 'unlit' | 'shader';
|
|
2415
|
+
/** Linear RGBA multiplier (sRGB input converted by the shader). */
|
|
2416
|
+
color: [number, number, number, number];
|
|
2417
|
+
map?: GlTexture | null;
|
|
2418
|
+
metallic: number;
|
|
2419
|
+
roughness: number;
|
|
2420
|
+
emissive: Vec3;
|
|
2421
|
+
doubleSided?: boolean;
|
|
2422
|
+
transparent?: boolean;
|
|
2423
|
+
wireframe?: boolean;
|
|
2424
|
+
/** 'shader' materials: GLSL ES 3.00 fragment body + uniforms. */
|
|
2425
|
+
fragment?: string;
|
|
2426
|
+
uniforms?: Record<string, number | number[] | Float32Array | GlTexture>;
|
|
2427
|
+
_gpu?: unknown;
|
|
2428
|
+
}
|
|
2429
|
+
interface Mesh {
|
|
2430
|
+
geometry: Geometry;
|
|
2431
|
+
material: Material;
|
|
2432
|
+
}
|
|
2433
|
+
declare class GlNode {
|
|
2434
|
+
name: string;
|
|
2435
|
+
position: Vec3;
|
|
2436
|
+
rotation: Quat;
|
|
2437
|
+
scale: Vec3;
|
|
2438
|
+
/** Set to use a fixed local matrix instead of position / rotation / scale (glTF `matrix`). */
|
|
2439
|
+
matrix: Mat4 | null;
|
|
2440
|
+
children: GlNode[];
|
|
2441
|
+
parent: GlNode | null;
|
|
2442
|
+
mesh: Mesh | Mesh[] | null;
|
|
2443
|
+
visible: boolean;
|
|
2444
|
+
/** Free-form data (loaders put source info here). */
|
|
2445
|
+
extras: Record<string, unknown>;
|
|
2446
|
+
readonly world: Mat4;
|
|
2447
|
+
constructor(name?: string, mesh?: Mesh | Mesh[] | null);
|
|
2448
|
+
add(...nodes: GlNode[]): this;
|
|
2449
|
+
remove(n: GlNode): void;
|
|
2450
|
+
setEuler(x: number, y: number, z: number): this;
|
|
2451
|
+
local(): Mat4;
|
|
2452
|
+
/** Recompute world matrices of this subtree. */
|
|
2453
|
+
updateWorld(parent?: Mat4): void;
|
|
2454
|
+
traverse(fn: (n: GlNode) => void): void;
|
|
2455
|
+
find(name: string): GlNode | null;
|
|
2456
|
+
}
|
|
2457
|
+
declare class Camera extends GlNode {
|
|
2458
|
+
fov: number;
|
|
2459
|
+
near: number;
|
|
2460
|
+
far: number;
|
|
2461
|
+
aspect: number;
|
|
2462
|
+
target: Vec3;
|
|
2463
|
+
up: Vec3;
|
|
2464
|
+
constructor(o?: {
|
|
2465
|
+
fov?: number;
|
|
2466
|
+
near?: number;
|
|
2467
|
+
far?: number;
|
|
2468
|
+
position?: Vec3;
|
|
2469
|
+
target?: Vec3;
|
|
2470
|
+
});
|
|
2471
|
+
view(): Mat4;
|
|
2472
|
+
projection(): Mat4;
|
|
2473
|
+
}
|
|
2474
|
+
interface Light {
|
|
2475
|
+
type: 'directional' | 'point';
|
|
2476
|
+
/** Direction the light travels (directional) or position (point). */
|
|
2477
|
+
vector: Vec3;
|
|
2478
|
+
color: Vec3;
|
|
2479
|
+
intensity: number;
|
|
2480
|
+
}
|
|
2481
|
+
declare class Scene {
|
|
2482
|
+
root: GlNode;
|
|
2483
|
+
ambient: Vec3;
|
|
2484
|
+
lights: Light[];
|
|
2485
|
+
/** Clear colour (sRGB, 0–1) or null for transparent. */
|
|
2486
|
+
background: [number, number, number, number] | null;
|
|
2487
|
+
exposure: number;
|
|
2488
|
+
add(...n: GlNode[]): this;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* `<usa-gl-scene src="model.glb" controls auto-rotate></usa-gl-scene>` (10.5)
|
|
2493
|
+
* — a WebGL2 3D viewer on **`motionary/runtime/gl`** (requires `use(gl)`;
|
|
2494
|
+
* `.gltf` / `.glb` models also need `motionary/runtime/format-gltf`, `.obj`
|
|
2495
|
+
* needs `motionary/runtime/format-obj`). Without `src` it shows a built-in
|
|
2496
|
+
* `shape` (torus · box · sphere · plane). `color`, `metallic`, `roughness`,
|
|
2497
|
+
* `background`, `exposure`, `controls` (drag / wheel / pinch / arrow keys),
|
|
2498
|
+
* `auto-rotate` (deg/s; off under reduced motion), `video` (a video URL
|
|
2499
|
+
* mapped onto the shape as a texture; `video-scrub` ties its time to the
|
|
2500
|
+
* element's scroll position instead of playing), `label` (accessible name).
|
|
2501
|
+
* Renders only while visible. `scene`, `camera`, `root`, `reload()`;
|
|
2502
|
+
* `usa:load` { nodes, meshes }, `usa:error`.
|
|
2503
|
+
* `<usa-three-scene>` is an alias with the same API.
|
|
2504
|
+
*/
|
|
2505
|
+
interface UsaGlSceneElement extends UsaElement {
|
|
2506
|
+
readonly scene: Scene | null;
|
|
2507
|
+
readonly camera: Camera | null;
|
|
2508
|
+
readonly root: GlNode | null;
|
|
2509
|
+
reload(): Promise<void>;
|
|
2510
|
+
}
|
|
2511
|
+
declare function defineGlScene(tag?: string): CustomElementConstructor | undefined;
|
|
2512
|
+
/** `<usa-three-scene>` — alias of `<usa-gl-scene>` (same attributes, events and methods; no Three.js involved). */
|
|
2513
|
+
declare function defineThreeScene(tag?: string): CustomElementConstructor | undefined;
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* `<usa-gpu-particles count="20000" mode="swirl"></usa-gpu-particles>` (10.5,
|
|
2517
|
+
* WebGPU effects 2.0) — a particle canvas simulated by a **WebGPU compute
|
|
2518
|
+
* shader** (positions + velocities in a storage buffer, drawn as instanced
|
|
2519
|
+
* quads), falling back to a CPU simulation on Canvas 2D (fewer particles)
|
|
2520
|
+
* where WebGPU is missing or refused. `mode` (swirl · galaxy · fountain),
|
|
2521
|
+
* `count`, `colors` (comma list), `size`, `speed`, `trail` (0–1 frame fade,
|
|
2522
|
+
* a one-pass post effect), `pointer` (particles flee the pointer), `label`.
|
|
2523
|
+
* Only simulates while visible; one still frame under reduced motion.
|
|
2524
|
+
* `data-usa-backend` = webgpu | canvas2d; `backend`; `usa:backend`.
|
|
2525
|
+
*/
|
|
2526
|
+
interface UsaGpuParticlesElement extends UsaElement {
|
|
2527
|
+
readonly backend: string;
|
|
2528
|
+
}
|
|
2529
|
+
/** WGSL compute pass: integrates every particle (flow field / orbit / fountain + pointer repulsion). */
|
|
2530
|
+
declare const PARTICLE_SIM_WGSL = "struct P{pos:vec2f,vel:vec2f};struct U{t:f32,dt:f32,mode:f32,speed:f32,ptr:vec2f,aspect:f32,size:f32,c0:vec4f,c1:vec4f};\n@group(0) @binding(1) var<uniform> u:U;@group(0) @binding(0) var<storage,read_write> ps:array<P>;\nfn h(n:f32)->f32{return fract(sin(n)*43758.5453);}\n@compute @workgroup_size(64) fn sim(@builtin(global_invocation_id) id:vec3u){let i=id.x;if(i>=arrayLength(&ps)){return;}var p=ps[i];let fi=f32(i);\nvar acc=vec2f(0.0);let r=length(p.pos)+1e-3;\nif(u.mode<0.5){acc=vec2f(-p.pos.y,p.pos.x)*0.9/r+vec2f(sin(p.pos.y*3.0+u.t),cos(p.pos.x*3.0-u.t))*0.35-p.pos*0.15;}\nelse if(u.mode<1.5){acc=vec2f(-p.pos.y,p.pos.x)/(r*r*4.0+0.2)-p.pos*0.08/r;}\nelse{acc=vec2f(0.0,-1.4);if(p.pos.y<-1.1){p.pos=vec2f((h(fi+u.t)-0.5)*0.1,-1.0);p.vel=vec2f((h(fi*1.7+u.t)-0.5)*0.9,1.6+h(fi*3.1)*0.8);}}\nlet d=p.pos-u.ptr;let dl=length(d);if(dl<0.35&&u.ptr.x>-5.0){acc+=d/(dl*dl+0.02)*0.12;}\np.vel=(p.vel+acc*u.dt*u.speed)*pow(0.985,u.dt*60.0);p.pos+=p.vel*u.dt*u.speed;\nif(abs(p.pos.x)>1.6||abs(p.pos.y)>1.6){p.pos=vec2f(h(fi)-0.5,h(fi*7.3)-0.5)*1.6;p.vel=vec2f(0.0);}ps[i]=p;}";
|
|
2531
|
+
/** WGSL render pass: instanced soft round quads, additive. */
|
|
2532
|
+
declare const PARTICLE_DRAW_WGSL = "struct P{pos:vec2f,vel:vec2f};struct U{t:f32,dt:f32,mode:f32,speed:f32,ptr:vec2f,aspect:f32,size:f32,c0:vec4f,c1:vec4f};\n@group(0) @binding(1) var<uniform> u:U;@group(0) @binding(0) var<storage,read> ps:array<P>;\nstruct V{@builtin(position) pos:vec4f,@location(0) q:vec2f,@location(1) c:vec4f};\n@vertex fn vs(@builtin(vertex_index) vi:u32,@builtin(instance_index) ii:u32)->V{var c=array<vec2f,6>(vec2f(-1.0,-1.0),vec2f(1.0,-1.0),vec2f(-1.0,1.0),vec2f(-1.0,1.0),vec2f(1.0,-1.0),vec2f(1.0,1.0));let p=ps[ii];let q=c[vi];var o:V;\no.pos=vec4f(p.pos.x/u.aspect+q.x*u.size/u.aspect,p.pos.y+q.y*u.size,0.0,1.0);o.q=q;o.c=mix(u.c0,u.c1,clamp(length(p.vel)*0.8,0.0,1.0));return o;}\n@fragment fn fs(v:V)->@location(0) vec4f{let a=smoothstep(1.0,0.0,length(v.q));return vec4f(v.c.rgb*a,a*v.c.a);}";
|
|
2533
|
+
declare function defineGpuParticles(tag?: string): CustomElementConstructor | undefined;
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* `<usa-shader-backdrop preset="aurora" post="bloom,vignette,grain"></usa-shader-backdrop>`
|
|
2537
|
+
* (10.5, WebGPU effects 2.0 — post-processing chain) — an animated shader
|
|
2538
|
+
* background (WebGL2) rendered into a framebuffer and run through a chain
|
|
2539
|
+
* of post passes in order: `bloom`, `vignette`, `grain`, `chromatic`
|
|
2540
|
+
* (aberration), `pixelate`, `scanlines`. `preset` (aurora · plasma · waves ·
|
|
2541
|
+
* nebula) or your own GLSL `vec3 scene(vec2 uv, float t)` in a child
|
|
2542
|
+
* `<script type="x-shader/x-fragment">`; `colors` (3), `speed`,
|
|
2543
|
+
* `intensity` (post strength 0–1), `label`. Content inside sits on top.
|
|
2544
|
+
* Renders only while visible; one still frame under reduced motion; a CSS
|
|
2545
|
+
* gradient without WebGL2. `passes` (the post chain in use); `usa:backend`.
|
|
2546
|
+
*/
|
|
2547
|
+
interface UsaShaderBackdropElement extends UsaElement {
|
|
2548
|
+
readonly passes: string[];
|
|
2549
|
+
}
|
|
2550
|
+
/** Built-in scenes: GLSL bodies of `vec3 scene(vec2 uv, float t)`. */
|
|
2551
|
+
declare const BACKDROP_PRESETS: Record<string, string>;
|
|
2552
|
+
/** Post passes (GLSL bodies reading `u_src`). */
|
|
2553
|
+
declare const POST_PASSES: Record<string, string>;
|
|
2554
|
+
declare function defineShaderBackdrop(tag?: string): CustomElementConstructor | undefined;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* `motionary/runtime/vector` (10.6) — a Lottie (bodymovin JSON) + dotLottie
|
|
2558
|
+
* player written for Motionary (own renderer on Canvas 2D; no lottie-web
|
|
2559
|
+
* code). Supported subset — see the compatibility table in
|
|
2560
|
+
* `docs/runtime/vector.md`:
|
|
2561
|
+
*
|
|
2562
|
+
* - layers: shape, solid, null, image, precomp (with time stretch / time
|
|
2563
|
+
* remap), parenting, in / out points, hidden layers;
|
|
2564
|
+
* - transforms: anchor, position (incl. split X / Y and spatial bezier
|
|
2565
|
+
* paths), scale, rotation, skew, opacity;
|
|
2566
|
+
* - shapes: groups, paths, rectangles (rounded), ellipses, stars / polygons;
|
|
2567
|
+
* fills (non-zero / even-odd), strokes (caps, joins, dashes), linear and
|
|
2568
|
+
* radial gradient fills / strokes, **trim paths** (individually /
|
|
2569
|
+
* simultaneously);
|
|
2570
|
+
* - **masks** (add, subtract, intersect, inverted, opacity) and **track
|
|
2571
|
+
* mattes** (alpha, alpha inverted; luma approximated by alpha);
|
|
2572
|
+
* - keyframes: bezier easing per dimension, hold keyframes, v4 (`e`) and v5+
|
|
2573
|
+
* (`s` only) files;
|
|
2574
|
+
* - **dotLottie** (`.lottie`): zip (stored + deflate via the native
|
|
2575
|
+
* `DecompressionStream`), `manifest.json` v1 / v2, several animations,
|
|
2576
|
+
* embedded images.
|
|
2577
|
+
*
|
|
2578
|
+
* Not supported (documented): 3D layers, effects, text layers (10.8),
|
|
2579
|
+
* expressions (10.8 subset), merge paths, repeaters. `lottiePlayer()` is a
|
|
2580
|
+
* runtime timeline (seek, reverse, scrub with `progress`, markers → labels).
|
|
2581
|
+
*/
|
|
2582
|
+
|
|
2583
|
+
type Num = number;
|
|
2584
|
+
interface LottieProp {
|
|
2585
|
+
a?: Num;
|
|
2586
|
+
k: any;
|
|
2587
|
+
x?: string;
|
|
2588
|
+
s?: boolean;
|
|
2589
|
+
}
|
|
2590
|
+
interface LottieLayer {
|
|
2591
|
+
ty: Num;
|
|
2592
|
+
ind?: Num;
|
|
2593
|
+
parent?: Num;
|
|
2594
|
+
ip: Num;
|
|
2595
|
+
op: Num;
|
|
2596
|
+
st?: Num;
|
|
2597
|
+
sr?: Num;
|
|
2598
|
+
ks: any;
|
|
2599
|
+
shapes?: any[];
|
|
2600
|
+
hd?: boolean;
|
|
2601
|
+
tt?: Num;
|
|
2602
|
+
td?: Num;
|
|
2603
|
+
masksProperties?: any[];
|
|
2604
|
+
refId?: string;
|
|
2605
|
+
w?: Num;
|
|
2606
|
+
h?: Num;
|
|
2607
|
+
sw?: Num;
|
|
2608
|
+
sh?: Num;
|
|
2609
|
+
sc?: string;
|
|
2610
|
+
tm?: LottieProp;
|
|
2611
|
+
nm?: string;
|
|
2612
|
+
ddd?: Num;
|
|
2613
|
+
ef?: unknown[];
|
|
2614
|
+
}
|
|
2615
|
+
interface LottieAnimation {
|
|
2616
|
+
v?: string;
|
|
2617
|
+
fr: Num;
|
|
2618
|
+
ip: Num;
|
|
2619
|
+
op: Num;
|
|
2620
|
+
w: Num;
|
|
2621
|
+
h: Num;
|
|
2622
|
+
nm?: string;
|
|
2623
|
+
layers: LottieLayer[];
|
|
2624
|
+
assets?: {
|
|
2625
|
+
id: string;
|
|
2626
|
+
layers?: LottieLayer[];
|
|
2627
|
+
p?: string;
|
|
2628
|
+
u?: string;
|
|
2629
|
+
w?: Num;
|
|
2630
|
+
h?: Num;
|
|
2631
|
+
e?: Num;
|
|
2632
|
+
}[];
|
|
2633
|
+
markers?: {
|
|
2634
|
+
cm: string;
|
|
2635
|
+
tm: Num;
|
|
2636
|
+
dr: Num;
|
|
2637
|
+
}[];
|
|
2638
|
+
}
|
|
2639
|
+
type LottiePlayer = Playable & {
|
|
2640
|
+
readonly frame: Num;
|
|
2641
|
+
readonly totalFrames: Num;
|
|
2642
|
+
readonly animation: LottieAnimation;
|
|
2643
|
+
goToFrame(f: Num): void;
|
|
2644
|
+
setSegment(seg: [Num, Num] | string | null): void;
|
|
2645
|
+
markers: Record<string, [Num, Num]>;
|
|
2646
|
+
};
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* `<usa-lottie-player src="hero.lottie" autoplay loop></usa-lottie-player>`
|
|
2650
|
+
* (10.6) — plays Lottie JSON and dotLottie (`.lottie`) files with
|
|
2651
|
+
* **`motionary/runtime/vector`** (requires `use(vector)`): Motionary's own
|
|
2652
|
+
* Canvas 2D renderer for the documented subset (shapes, gradients, trim
|
|
2653
|
+
* paths, masks, track mattes, precomps, images). `animation` (id inside a
|
|
2654
|
+
* dotLottie), `autoplay`, `loop` (or a count), `speed`, `mode` (normal ·
|
|
2655
|
+
* bounce), `segment` ("0,30" or a marker name), `hover` (play on hover),
|
|
2656
|
+
* `scrub` (progress follows the element's scroll position), `fit` (contain ·
|
|
2657
|
+
* cover · fill), `background`, `label`. Methods `play()`, `pause()`,
|
|
2658
|
+
* `stop()`, `seek(frame)`, `player`, `animationData`, `unsupported`
|
|
2659
|
+
* (features in the file this renderer skips); `usa:load`, `usa:complete`,
|
|
2660
|
+
* `usa:error`. Reduced motion: first frame, no autoplay. Renders only while
|
|
2661
|
+
* visible.
|
|
2662
|
+
*/
|
|
2663
|
+
interface UsaLottiePlayerElement extends UsaElement {
|
|
2664
|
+
play(): void;
|
|
2665
|
+
pause(): void;
|
|
2666
|
+
stop(): void;
|
|
2667
|
+
seek(frame: number): void;
|
|
2668
|
+
readonly player: LottiePlayer | null;
|
|
2669
|
+
readonly animationData: LottieAnimation | null;
|
|
2670
|
+
readonly unsupported: string[];
|
|
2671
|
+
}
|
|
2672
|
+
declare function defineLottiePlayer(tag?: string): CustomElementConstructor | undefined;
|
|
2673
|
+
|
|
2674
|
+
/**
|
|
2675
|
+
* `<usa-rive src="vehicles.riv" state-machine="bumpy" autoplay></usa-rive>`
|
|
2676
|
+
* (10.6) — plays Rive (`.riv`) files with the **official Rive runtime**
|
|
2677
|
+
* `@rive-app/canvas` (an optional peer dependency; `.riv` is Rive's
|
|
2678
|
+
* proprietary binary format, so Motionary does not reimplement it). The
|
|
2679
|
+
* runtime is loaded lazily on first use: from `provideRiveRuntime(() =>
|
|
2680
|
+
* import('@rive-app/canvas'))` (bundlers, after `npm i @rive-app/canvas`),
|
|
2681
|
+
* from `window.rive` (the official CDN script), an import map, or from
|
|
2682
|
+
* `runtime-src` (a URL to the official ESM / UMD build). Missing →
|
|
2683
|
+
* a clear message in place + `usa:runtime-missing`. `artboard`,
|
|
2684
|
+
* `animation`, `state-machine`, `autoplay`, `fit` (contain · cover · fill ·
|
|
2685
|
+
* fitWidth · fitHeight · none), `label`. `rive` (the official instance),
|
|
2686
|
+
* `play()`, `pause()`, `input(name)` (state-machine input); `usa:load`,
|
|
2687
|
+
* `usa:error`. Reduced motion: paused on the first frame.
|
|
2688
|
+
*/
|
|
2689
|
+
interface UsaRiveElement extends UsaElement {
|
|
2690
|
+
readonly rive: any;
|
|
2691
|
+
play(): void;
|
|
2692
|
+
pause(): void;
|
|
2693
|
+
input(name: string): any;
|
|
2694
|
+
}
|
|
2695
|
+
declare const RIVE_PEER = "@rive-app/canvas";
|
|
2696
|
+
declare const RIVE_CDN = "https://unpkg.com/@rive-app/canvas@2.44.1/rive.js";
|
|
2697
|
+
/**
|
|
2698
|
+
* Hand `<usa-rive>` the official runtime yourself — the module, or (better) a
|
|
2699
|
+
* lazy loader such as `() => import('@rive-app/canvas')` for bundlers that do
|
|
2700
|
+
* not follow the element's own optional import. Call before the element mounts.
|
|
2701
|
+
*/
|
|
2702
|
+
declare function provideRiveRuntime(runtime: unknown | (() => unknown)): void;
|
|
2703
|
+
/** Load the official runtime: window.rive → import('@rive-app/canvas') → `runtimeSrc` script. */
|
|
2704
|
+
declare function loadRiveRuntime(runtimeSrc?: string): Promise<any>;
|
|
2705
|
+
declare function defineRive(tag?: string): CustomElementConstructor | undefined;
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* motionary/components/tokens — motion design tokens (4.2).
|
|
2709
|
+
*
|
|
2710
|
+
* One source of truth for durations, easings and springs: as CSS custom
|
|
2711
|
+
* properties (`--usa-duration-fast`, `--usa-easing-emphasized`,
|
|
2712
|
+
* `--usa-spring-bouncy-stiffness`…), as W3C Design Tokens JSON, and importable
|
|
2713
|
+
* from Figma Tokens (Tokens Studio) or Style Dictionary exports.
|
|
2714
|
+
*
|
|
2715
|
+
* ```ts
|
|
2716
|
+
* import { applyMotionTokens, importMotionTokens, motionToken } from 'motionary/components/tokens';
|
|
2717
|
+
* applyMotionTokens(importMotionTokens(await (await fetch('/tokens.json')).json()));
|
|
2718
|
+
* el.animate(frames, { duration: motionToken('duration', 'slow'), easing: motionToken('easing', 'emphasized') });
|
|
2719
|
+
* ```
|
|
2720
|
+
*/
|
|
2721
|
+
interface SpringToken {
|
|
2722
|
+
stiffness: number;
|
|
2723
|
+
damping: number;
|
|
2724
|
+
mass: number;
|
|
2725
|
+
}
|
|
2726
|
+
interface MotionTokens {
|
|
2727
|
+
/** Durations in ms. */
|
|
2728
|
+
duration: Record<string, number>;
|
|
2729
|
+
/** CSS easing strings. */
|
|
2730
|
+
easing: Record<string, string>;
|
|
2731
|
+
/** Spring physics parameters. */
|
|
2732
|
+
spring: Record<string, SpringToken>;
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* `<usa-token-editor apply></usa-token-editor>` (10.6, motion design tokens
|
|
2737
|
+
* 2.0) — edit motion tokens (durations and cubic-bézier easings) with a live
|
|
2738
|
+
* preview per token, then export them as W3C Design Tokens (DTCG 2025.10 or
|
|
2739
|
+
* the earlier draft) or import a DTCG file (aliases resolved, problems
|
|
2740
|
+
* listed). `apply` writes the tokens to `:root` custom properties as you
|
|
2741
|
+
* edit; `format` (2025.10 · draft); `groups` (duration,easing). `tokens`,
|
|
2742
|
+
* `exportJSON()`, `importJSON(json)`; `usa:change` { tokens },
|
|
2743
|
+
* `usa:export` { json }, `usa:import` { problems }.
|
|
2744
|
+
*/
|
|
2745
|
+
interface UsaTokenEditorElement extends UsaElement {
|
|
2746
|
+
tokens: MotionTokens;
|
|
2747
|
+
exportJSON(): Record<string, unknown>;
|
|
2748
|
+
importJSON(json: unknown): string[];
|
|
2749
|
+
}
|
|
2750
|
+
declare function defineTokenEditor(tag?: string): CustomElementConstructor | undefined;
|
|
2751
|
+
|
|
2360
2752
|
/**
|
|
2361
2753
|
* motionary/components/widgets — the 6.x animated UI widgets, in their own
|
|
2362
2754
|
* entry so `motionary/components` and `components/lite` keep their size
|
|
@@ -2485,8 +2877,15 @@ declare global {
|
|
|
2485
2877
|
'usa-scroll-ring': UsaScrollRingElement;
|
|
2486
2878
|
'usa-parallax-layers': UsaParallaxLayersElement;
|
|
2487
2879
|
'usa-smooth-scroll': UsaSmoothScrollElement;
|
|
2880
|
+
'usa-gl-scene': UsaGlSceneElement;
|
|
2881
|
+
'usa-three-scene': UsaGlSceneElement;
|
|
2882
|
+
'usa-gpu-particles': UsaGpuParticlesElement;
|
|
2883
|
+
'usa-shader-backdrop': UsaShaderBackdropElement;
|
|
2884
|
+
'usa-lottie-player': UsaLottiePlayerElement;
|
|
2885
|
+
'usa-rive': UsaRiveElement;
|
|
2886
|
+
'usa-token-editor': UsaTokenEditorElement;
|
|
2488
2887
|
}
|
|
2489
2888
|
}
|
|
2490
2889
|
|
|
2491
|
-
export { CAROUSEL_EFFECTS, EQ_PRESETS, FESTIVAL_THEMES, LOTTIE_ICONS, MENU_EFFECTS, MODAL_EFFECTS, NAV_INDICATORS, PRESENCE_STATES, PROGRESS_VARIANTS, RETRO_VARIANTS, 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, defineGlobe, defineGyroCard, defineHeroVideo, defineHudPanel, defineHydrate, defineInstallButton, defineKanban, defineKeyframeEditor, defineKpi, defineLeaderboard, defineLiquidNav, defineLocationCard, defineLottie, defineLottieIcon, 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, defineRouteTransition, defineScene, defineScrollRing, defineScrollScene, defineSegmented, defineSheet, defineShortcut, defineSkeletonReveal, defineSketchChart, defineSmoothScroll, defineSparkline, defineSpatialCard, defineStarRating, defineStepper, defineStickyWall, defineStories, defineSuggestionChips, defineSwipeDeck, defineSwitch, defineTabBar, defineTerminal, defineTextSplitter, defineThemeSurface, defineThemeSwitcher, defineTip, defineToastStack, defineUploadProgress, defineVideoCard, defineVoiceButton, defineVolumeKnob, defineWeatherCard, defineWidgets, defineWorkerCanvas, defineXpBar, describeComponent, exportComponent, formatBytes, formatDistance, fuzzyMatch, haversine, hexToHsv, hsvToHex, initials, keyLabels, levelFor, matchesKeys, monthGrid, pageWindow, parseChips, parseISODate, parseLRC, parseMarkers, parseProps, parseReactions, parseScrub, parseTargets, passwordStrength, project, rankRows, sanitizeCode, sparkPoints, splitTime, stackToast, waveBars, wheelAngle, wrapIndex };
|
|
2492
|
-
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, UsaGlobeElement, UsaGyroCardElement, UsaHeroVideoElement, UsaHudPanelElement, UsaHydrateElement, UsaInstallButtonElement, UsaKanbanElement, UsaKeyframeEditorElement, UsaKpiElement, UsaLeaderboardElement, UsaLiquidNavElement, UsaLocationCardElement, UsaLottieElement, UsaLottieIconElement, 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, UsaRouteTransitionElement, UsaSceneElement, UsaScrollRingElement, UsaScrollSceneElement, UsaSegmentedElement, UsaSheetElement, UsaShortcutElement, UsaSkeletonRevealElement, UsaSketchChartElement, UsaSmoothScrollElement, UsaSparklineElement, UsaSpatialCardElement, UsaStarRatingElement, UsaStepperElement, UsaStickyWallElement, UsaStoriesElement, UsaSuggestionChipsElement, UsaSwipeDeckElement, UsaSwitchElement, UsaTabBarElement, UsaTerminalElement, UsaTextSplitterElement, UsaThemeSurfaceElement, UsaThemeSwitcherElement, UsaTipElement, UsaToastStackElement, UsaUploadProgressElement, UsaVideoCardElement, UsaVoiceButtonElement, UsaVolumeKnobElement, UsaWeatherCardElement, UsaWorkerCanvasElement, UsaXpBarElement, WallBadge };
|
|
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 };
|