af-motion 0.0.0-stage → 1.0.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 +33 -0
- package/LICENSE +201 -0
- package/README.md +203 -3
- package/RELEASE_NOTES.md +115 -0
- package/bin/af-motion.js +16 -0
- package/bin/mcp-server.js +21 -0
- package/dist/3d/adapter.d.ts +29 -0
- package/dist/3d/assets/cache.d.ts +71 -0
- package/dist/3d/assets/index.d.ts +10 -0
- package/dist/3d/assets/inspection.d.ts +19 -0
- package/dist/3d/assets/loaders.d.ts +30 -0
- package/dist/3d/assets/manager.d.ts +69 -0
- package/dist/3d/assets/scene-integration.d.ts +23 -0
- package/dist/3d/assets/types.d.ts +80 -0
- package/dist/3d/assets/validation.d.ts +12 -0
- package/dist/3d/camera/index.d.ts +7 -0
- package/dist/3d/camera/presets.d.ts +8 -0
- package/dist/3d/camera/transitions.d.ts +19 -0
- package/dist/3d/camera/types.d.ts +37 -0
- package/dist/3d/camera/validation.d.ts +9 -0
- package/dist/3d/capabilities.d.ts +11 -0
- package/dist/3d/composition/fallback.d.ts +20 -0
- package/dist/3d/composition/generation.d.ts +24 -0
- package/dist/3d/composition/index.d.ts +12 -0
- package/dist/3d/composition/quality.d.ts +35 -0
- package/dist/3d/composition/recipes.d.ts +34 -0
- package/dist/3d/composition/types.d.ts +88 -0
- package/dist/3d/composition/unified.d.ts +18 -0
- package/dist/3d/environment/index.d.ts +6 -0
- package/dist/3d/environment/presets.d.ts +8 -0
- package/dist/3d/environment/types.d.ts +36 -0
- package/dist/3d/environment/validation.d.ts +9 -0
- package/dist/3d/geometry/cache.d.ts +37 -0
- package/dist/3d/geometry/generators.d.ts +24 -0
- package/dist/3d/geometry/hash.d.ts +10 -0
- package/dist/3d/geometry/index.d.ts +9 -0
- package/dist/3d/geometry/three-adapter.d.ts +15 -0
- package/dist/3d/geometry/types.d.ts +120 -0
- package/dist/3d/geometry/validation.d.ts +6 -0
- package/dist/3d/index.d.ts +32 -0
- package/dist/3d/interaction/camera-controls.d.ts +58 -0
- package/dist/3d/interaction/index.d.ts +8 -0
- package/dist/3d/interaction/manager.d.ts +61 -0
- package/dist/3d/interaction/presets.d.ts +9 -0
- package/dist/3d/interaction/raycaster.d.ts +20 -0
- package/dist/3d/interaction/types.d.ts +78 -0
- package/dist/3d/lighting/index.d.ts +6 -0
- package/dist/3d/lighting/presets.d.ts +8 -0
- package/dist/3d/lighting/types.d.ts +31 -0
- package/dist/3d/lighting/validation.d.ts +17 -0
- package/dist/3d/materials/bridge.d.ts +11 -0
- package/dist/3d/materials/index.d.ts +7 -0
- package/dist/3d/materials/presets.d.ts +9 -0
- package/dist/3d/materials/types.d.ts +43 -0
- package/dist/3d/materials/validation.d.ts +9 -0
- package/dist/3d/morphing/animator.d.ts +19 -0
- package/dist/3d/morphing/correspondence.d.ts +32 -0
- package/dist/3d/morphing/geometry.d.ts +28 -0
- package/dist/3d/morphing/index.d.ts +16 -0
- package/dist/3d/morphing/interpolation.d.ts +45 -0
- package/dist/3d/morphing/morph.d.ts +18 -0
- package/dist/3d/morphing/presets.d.ts +31 -0
- package/dist/3d/morphing/react.d.ts +29 -0
- package/dist/3d/morphing/topology.d.ts +34 -0
- package/dist/3d/morphing/types.d.ts +138 -0
- package/dist/3d/morphing/validation.d.ts +19 -0
- package/dist/3d/optimization/analysis.d.ts +14 -0
- package/dist/3d/optimization/colliders.d.ts +16 -0
- package/dist/3d/optimization/geometry.d.ts +22 -0
- package/dist/3d/optimization/hierarchy.d.ts +14 -0
- package/dist/3d/optimization/index.d.ts +33 -0
- package/dist/3d/optimization/lod.d.ts +13 -0
- package/dist/3d/optimization/materials.d.ts +12 -0
- package/dist/3d/optimization/recommendations.d.ts +13 -0
- package/dist/3d/optimization/skeleton.d.ts +20 -0
- package/dist/3d/optimization/types.d.ts +252 -0
- package/dist/3d/physics/benchmark.d.ts +76 -0
- package/dist/3d/physics/body/inertia.d.ts +61 -0
- package/dist/3d/physics/collision/ccd.d.ts +26 -0
- package/dist/3d/physics/collision/narrowphase.d.ts +15 -0
- package/dist/3d/physics/collision/shapes.d.ts +45 -0
- package/dist/3d/physics/constraints/advanced.d.ts +40 -0
- package/dist/3d/physics/constraints/solver.d.ts +34 -0
- package/dist/3d/physics/constraints/types.d.ts +106 -0
- package/dist/3d/physics/events.d.ts +34 -0
- package/dist/3d/physics/index.d.ts +29 -0
- package/dist/3d/physics/material.d.ts +27 -0
- package/dist/3d/physics/math.d.ts +79 -0
- package/dist/3d/physics/soft/cloth.d.ts +12 -0
- package/dist/3d/physics/soft/collision.d.ts +12 -0
- package/dist/3d/physics/soft/gpu.d.ts +19 -0
- package/dist/3d/physics/soft/pbd.d.ts +20 -0
- package/dist/3d/physics/soft/rope.d.ts +16 -0
- package/dist/3d/physics/soft/soft-body.d.ts +12 -0
- package/dist/3d/physics/soft/types.d.ts +212 -0
- package/dist/3d/physics/solver/integrators.d.ts +25 -0
- package/dist/3d/physics/solver/types.d.ts +28 -0
- package/dist/3d/physics/spatial/spatial-hash.d.ts +51 -0
- package/dist/3d/physics/types.d.ts +579 -0
- package/dist/3d/physics/world.d.ts +106 -0
- package/dist/3d/r3f.d.ts +34 -0
- package/dist/3d/scene.d.ts +8 -0
- package/dist/3d/schema.d.ts +739 -0
- package/dist/3d/schemas/ai-integration.d.ts +201 -0
- package/dist/3d/schemas/correction.d.ts +11 -0
- package/dist/3d/schemas/index.d.ts +12 -0
- package/dist/3d/schemas/schemas.d.ts +361 -0
- package/dist/3d/schemas/serialization.d.ts +22 -0
- package/dist/3d/schemas/types.d.ts +199 -0
- package/dist/3d/schemas/validation.d.ts +33 -0
- package/dist/3d/scroll/controller.d.ts +32 -0
- package/dist/3d/scroll/index.d.ts +6 -0
- package/dist/3d/scroll/presets.d.ts +9 -0
- package/dist/3d/scroll/types.d.ts +53 -0
- package/dist/3d/terrain/biomes.d.ts +18 -0
- package/dist/3d/terrain/chunks.d.ts +20 -0
- package/dist/3d/terrain/erosion.d.ts +15 -0
- package/dist/3d/terrain/heightmap.d.ts +27 -0
- package/dist/3d/terrain/index.d.ts +18 -0
- package/dist/3d/terrain/materials.d.ts +20 -0
- package/dist/3d/terrain/noise.d.ts +25 -0
- package/dist/3d/terrain/physics.d.ts +34 -0
- package/dist/3d/terrain/terrain.d.ts +12 -0
- package/dist/3d/terrain/types.d.ts +235 -0
- package/dist/3d/terrain/vegetation.d.ts +14 -0
- package/dist/3d/types.d.ts +176 -0
- package/dist/3d/world/hydrology.d.ts +12 -0
- package/dist/3d/world/index.d.ts +15 -0
- package/dist/3d/world/lighting.d.ts +16 -0
- package/dist/3d/world/pipeline.d.ts +20 -0
- package/dist/3d/world/population.d.ts +12 -0
- package/dist/3d/world/presets.d.ts +11 -0
- package/dist/3d/world/streaming.d.ts +13 -0
- package/dist/3d/world/types.d.ts +272 -0
- package/dist/3d/world/world.d.ts +64 -0
- package/dist/backgrounds/advanced-gradient.d.ts +32 -0
- package/dist/backgrounds/atmospheric-backgrounds.d.ts +79 -0
- package/dist/backgrounds/aurora.d.ts +24 -0
- package/dist/backgrounds/cosmic-background.d.ts +31 -0
- package/dist/backgrounds/energy-effects.d.ts +78 -0
- package/dist/backgrounds/floating-orbs.d.ts +26 -0
- package/dist/backgrounds/fluid-backgrounds.d.ts +72 -0
- package/dist/backgrounds/geometric-backgrounds.d.ts +78 -0
- package/dist/backgrounds/gradient.d.ts +20 -0
- package/dist/backgrounds/grid.d.ts +22 -0
- package/dist/backgrounds/internal/canvas-lifecycle.d.ts +29 -0
- package/dist/backgrounds/noise.d.ts +20 -0
- package/dist/backgrounds/particle-background.d.ts +37 -0
- package/dist/backgrounds/particle-field.d.ts +22 -0
- package/dist/backgrounds/spotlight.d.ts +20 -0
- package/dist/backgrounds/wave.d.ts +22 -0
- package/dist/catalogue.d.ts +227 -0
- package/dist/catalogue.js +4 -0
- package/dist/chunks/catalogue-ZmbeEdRo.js +59850 -0
- package/dist/chunks/core-animation-CeiI_TEe.js +1394 -0
- package/dist/chunks/motion-choreography-DC6LWvDk.js +4089 -0
- package/dist/chunks/pointer-capture-lrnKAl2I.js +158 -0
- package/dist/chunks/safe-json-D5j34GEB.js +62 -0
- package/dist/chunks/scroll-velocity-BNUHaS0-.js +904 -0
- package/dist/cli/commands/doctor.d.ts +9 -0
- package/dist/cli/commands/example.d.ts +9 -0
- package/dist/cli/commands/info.d.ts +8 -0
- package/dist/cli/commands/init.d.ts +9 -0
- package/dist/cli/commands/presets.d.ts +10 -0
- package/dist/cli/commands/validate.d.ts +9 -0
- package/dist/cli/index.d.ts +22 -0
- package/dist/cli/types.d.ts +115 -0
- package/dist/cli/utils/safety.d.ts +11 -0
- package/dist/cli/utils/templates.d.ts +16 -0
- package/dist/cli/utils/terminal.d.ts +29 -0
- package/dist/cli.js +825 -0
- package/dist/core/adaptive-motion.d.ts +100 -0
- package/dist/core/adaptive-quality/controller.d.ts +61 -0
- package/dist/core/adaptive-quality/index.d.ts +13 -0
- package/dist/core/adaptive-quality/metrics.d.ts +33 -0
- package/dist/core/adaptive-quality/policies.d.ts +40 -0
- package/dist/core/adaptive-quality/profile.d.ts +58 -0
- package/dist/core/adaptive-quality/react.d.ts +57 -0
- package/dist/core/adaptive-quality/recommendation.d.ts +12 -0
- package/dist/core/adaptive-quality/resolution.d.ts +22 -0
- package/dist/core/adaptive-quality/types.d.ts +362 -0
- package/dist/core/advanced-motion/adapters.d.ts +20 -0
- package/dist/core/advanced-motion/controller.d.ts +52 -0
- package/dist/core/advanced-motion/index.d.ts +12 -0
- package/dist/core/advanced-motion/recipes.d.ts +16 -0
- package/dist/core/advanced-motion/timeline.d.ts +35 -0
- package/dist/core/advanced-motion/types.d.ts +174 -0
- package/dist/core/advanced-motion/validation.d.ts +11 -0
- package/dist/core/agent-workflows/agent-registry.d.ts +21 -0
- package/dist/core/agent-workflows/agents/accessibility-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/composition-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/design-to-motion-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/index.d.ts +13 -0
- package/dist/core/agent-workflows/agents/motion-intelligence-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/performance-agent.d.ts +9 -0
- package/dist/core/agent-workflows/agents/scene-generation-agent.d.ts +9 -0
- package/dist/core/agent-workflows/collaboration-planner.d.ts +38 -0
- package/dist/core/agent-workflows/collaboration-workflows.d.ts +83 -0
- package/dist/core/agent-workflows/communication.d.ts +29 -0
- package/dist/core/agent-workflows/conflict-resolver.d.ts +25 -0
- package/dist/core/agent-workflows/context.d.ts +36 -0
- package/dist/core/agent-workflows/execution-engine.d.ts +30 -0
- package/dist/core/agent-workflows/index.d.ts +20 -0
- package/dist/core/agent-workflows/orchestration-types.d.ts +144 -0
- package/dist/core/agent-workflows/orchestrator.d.ts +29 -0
- package/dist/core/agent-workflows/react.d.ts +71 -0
- package/dist/core/agent-workflows/shared-context.d.ts +36 -0
- package/dist/core/agent-workflows/task-planner.d.ts +42 -0
- package/dist/core/agent-workflows/templates.d.ts +14 -0
- package/dist/core/agent-workflows/tool-registry.d.ts +24 -0
- package/dist/core/agent-workflows/types.d.ts +167 -0
- package/dist/core/ai-ecosystem/capability-registry.d.ts +23 -0
- package/dist/core/ai-ecosystem/index.d.ts +13 -0
- package/dist/core/ai-ecosystem/pipeline.d.ts +19 -0
- package/dist/core/ai-ecosystem/provider.d.ts +19 -0
- package/dist/core/ai-ecosystem/types.d.ts +69 -0
- package/dist/core/ai-motion-intelligence/engine.d.ts +51 -0
- package/dist/core/ai-motion-intelligence/explanation-engine.d.ts +8 -0
- package/dist/core/ai-motion-intelligence/index.d.ts +15 -0
- package/dist/core/ai-motion-intelligence/intent-classifier.d.ts +14 -0
- package/dist/core/ai-motion-intelligence/knowledge-base.d.ts +12 -0
- package/dist/core/ai-motion-intelligence/provider.d.ts +31 -0
- package/dist/core/ai-motion-intelligence/quality-evaluator.d.ts +9 -0
- package/dist/core/ai-motion-intelligence/react.d.ts +14 -0
- package/dist/core/ai-motion-intelligence/recommendation-engine.d.ts +16 -0
- package/dist/core/ai-motion-intelligence/types.d.ts +134 -0
- package/dist/core/ai-motion-registry.d.ts +201 -0
- package/dist/core/animate.d.ts +57 -0
- package/dist/core/animation-intelligence/engine.d.ts +42 -0
- package/dist/core/animation-intelligence/index.d.ts +11 -0
- package/dist/core/animation-intelligence/intent.d.ts +15 -0
- package/dist/core/animation-intelligence/schema.d.ts +42 -0
- package/dist/core/animation-intelligence/scoring.d.ts +15 -0
- package/dist/core/animation-intelligence/types.d.ts +91 -0
- package/dist/core/animation-parallel.d.ts +37 -0
- package/dist/core/animation-presets.d.ts +56 -0
- package/dist/core/animation-sequence.d.ts +37 -0
- package/dist/core/animation-timeline.d.ts +46 -0
- package/dist/core/animation.d.ts +48 -0
- package/dist/core/built-in-palettes.d.ts +331 -0
- package/dist/core/choreography-intelligence/bridge.d.ts +43 -0
- package/dist/core/choreography-intelligence/generator.d.ts +11 -0
- package/dist/core/choreography-intelligence/index.d.ts +11 -0
- package/dist/core/choreography-intelligence/intent.d.ts +11 -0
- package/dist/core/choreography-intelligence/schema.d.ts +76 -0
- package/dist/core/choreography-intelligence/types.d.ts +87 -0
- package/dist/core/composition.d.ts +170 -0
- package/dist/core/configuration-corrector.d.ts +85 -0
- package/dist/core/design-intelligence.d.ts +199 -0
- package/dist/core/design-system.d.ts +206 -0
- package/dist/core/design-to-motion/design-analyzer.d.ts +13 -0
- package/dist/core/design-to-motion/engine.d.ts +34 -0
- package/dist/core/design-to-motion/generator.d.ts +16 -0
- package/dist/core/design-to-motion/index.d.ts +15 -0
- package/dist/core/design-to-motion/input-parser.d.ts +17 -0
- package/dist/core/design-to-motion/motion-planner.d.ts +11 -0
- package/dist/core/design-to-motion/presets.d.ts +11 -0
- package/dist/core/design-to-motion/react.d.ts +13 -0
- package/dist/core/design-to-motion/types.d.ts +221 -0
- package/dist/core/design-to-motion/validator.d.ts +13 -0
- package/dist/core/device-capabilities/classification.d.ts +25 -0
- package/dist/core/device-capabilities/detection.d.ts +27 -0
- package/dist/core/device-capabilities/graphics.d.ts +22 -0
- package/dist/core/device-capabilities/hardware.d.ts +27 -0
- package/dist/core/device-capabilities/index.d.ts +14 -0
- package/dist/core/device-capabilities/monitor.d.ts +19 -0
- package/dist/core/device-capabilities/react.d.ts +24 -0
- package/dist/core/device-capabilities/runtime.d.ts +11 -0
- package/dist/core/device-capabilities/scoring.d.ts +18 -0
- package/dist/core/device-capabilities/types.d.ts +171 -0
- package/dist/core/effect-composer.d.ts +41 -0
- package/dist/core/generation-pipeline.d.ts +135 -0
- package/dist/core/inertia.d.ts +30 -0
- package/dist/core/interactions/cursor-controller.d.ts +9 -0
- package/dist/core/interactions/custom-gestures.d.ts +28 -0
- package/dist/core/interactions/device-capabilities.d.ts +12 -0
- package/dist/core/interactions/drag-controller.d.ts +60 -0
- package/dist/core/interactions/errors.d.ts +13 -0
- package/dist/core/interactions/gesture-classifier.d.ts +43 -0
- package/dist/core/interactions/gesture-intelligence-controller.d.ts +9 -0
- package/dist/core/interactions/gesture-recognizers.d.ts +160 -0
- package/dist/core/interactions/gesture-sequence.d.ts +9 -0
- package/dist/core/interactions/index.d.ts +27 -0
- package/dist/core/interactions/input-normalizer.d.ts +8 -0
- package/dist/core/interactions/interaction-manager.d.ts +43 -0
- package/dist/core/interactions/keyboard-manager.d.ts +16 -0
- package/dist/core/interactions/magnetic-controller.d.ts +9 -0
- package/dist/core/interactions/magnetic-group.d.ts +11 -0
- package/dist/core/interactions/multitouch-controller.d.ts +62 -0
- package/dist/core/interactions/pointer-controller.d.ts +34 -0
- package/dist/core/interactions/pointer-tracker.d.ts +32 -0
- package/dist/core/interactions/prioritizer.d.ts +17 -0
- package/dist/core/interactions/touch-controller.d.ts +35 -0
- package/dist/core/interactions/types.d.ts +710 -0
- package/dist/core/layout/controller.d.ts +56 -0
- package/dist/core/layout/flip.d.ts +21 -0
- package/dist/core/layout/group.d.ts +46 -0
- package/dist/core/layout/index.d.ts +12 -0
- package/dist/core/layout/measure.d.ts +30 -0
- package/dist/core/layout/presets.d.ts +24 -0
- package/dist/core/layout/types.d.ts +189 -0
- package/dist/core/microinteractions/generator.d.ts +11 -0
- package/dist/core/microinteractions/index.d.ts +11 -0
- package/dist/core/microinteractions/intent.d.ts +11 -0
- package/dist/core/microinteractions/runtime.d.ts +25 -0
- package/dist/core/microinteractions/schema.d.ts +82 -0
- package/dist/core/microinteractions/types.d.ts +79 -0
- package/dist/core/motion-choreography.d.ts +163 -0
- package/dist/core/motion-dna.d.ts +129 -0
- package/dist/core/motion-path/animator.d.ts +13 -0
- package/dist/core/motion-path/engine.d.ts +27 -0
- package/dist/core/motion-path/follower.d.ts +8 -0
- package/dist/core/motion-path/index.d.ts +15 -0
- package/dist/core/motion-path/lut.d.ts +33 -0
- package/dist/core/motion-path/parser.d.ts +26 -0
- package/dist/core/motion-path/segments.d.ts +16 -0
- package/dist/core/motion-path/types.d.ts +178 -0
- package/dist/core/motion-path/vector3.d.ts +49 -0
- package/dist/core/motion-recipe.d.ts +171 -0
- package/dist/core/motion-states.d.ts +43 -0
- package/dist/core/motion-validation/consistency.d.ts +11 -0
- package/dist/core/motion-validation/index.d.ts +11 -0
- package/dist/core/motion-validation/optimizer.d.ts +11 -0
- package/dist/core/motion-validation/schema.d.ts +81 -0
- package/dist/core/motion-validation/types.d.ts +53 -0
- package/dist/core/motion-validation/validator.d.ts +11 -0
- package/dist/core/motion.d.ts +7 -0
- package/dist/core/natural-motion.d.ts +110 -0
- package/dist/core/palette-colors.d.ts +16 -0
- package/dist/core/palette-styles.d.ts +12 -0
- package/dist/core/palettes.d.ts +59 -0
- package/dist/core/performance-intelligence/conflicts.d.ts +21 -0
- package/dist/core/performance-intelligence/context.d.ts +48 -0
- package/dist/core/performance-intelligence/coordinator.d.ts +84 -0
- package/dist/core/performance-intelligence/decisions.d.ts +17 -0
- package/dist/core/performance-intelligence/history.d.ts +44 -0
- package/dist/core/performance-intelligence/index.d.ts +15 -0
- package/dist/core/performance-intelligence/policies.d.ts +59 -0
- package/dist/core/performance-intelligence/react.d.ts +78 -0
- package/dist/core/performance-intelligence/report.d.ts +16 -0
- package/dist/core/performance-intelligence/scoring.d.ts +16 -0
- package/dist/core/performance-intelligence/types.d.ts +203 -0
- package/dist/core/performance-optimizer/bottlenecks.d.ts +9 -0
- package/dist/core/performance-optimizer/index.d.ts +13 -0
- package/dist/core/performance-optimizer/optimizer.d.ts +43 -0
- package/dist/core/performance-optimizer/profiler.d.ts +38 -0
- package/dist/core/performance-optimizer/react.d.ts +55 -0
- package/dist/core/performance-optimizer/strategies.d.ts +22 -0
- package/dist/core/performance-optimizer/types.d.ts +227 -0
- package/dist/core/performance-optimizer/workers.d.ts +27 -0
- package/dist/core/physics/collision-constraints.d.ts +15 -0
- package/dist/core/physics/collision-detection.d.ts +93 -0
- package/dist/core/physics/collision-response.d.ts +24 -0
- package/dist/core/physics/collision-types.d.ts +381 -0
- package/dist/core/physics/collision-world.d.ts +11 -0
- package/dist/core/physics/composition-behaviors.d.ts +97 -0
- package/dist/core/physics/composition-choreography.d.ts +14 -0
- package/dist/core/physics/composition-engine.d.ts +25 -0
- package/dist/core/physics/composition-recipes.d.ts +46 -0
- package/dist/core/physics/composition-types.d.ts +265 -0
- package/dist/core/physics/composition-validation.d.ts +33 -0
- package/dist/core/physics/index.d.ts +37 -0
- package/dist/core/physics/inertia-animation.d.ts +11 -0
- package/dist/core/physics/inertia-math.d.ts +56 -0
- package/dist/core/physics/inertia-presets.d.ts +25 -0
- package/dist/core/physics/inertia-simulation.d.ts +11 -0
- package/dist/core/physics/inertia-types.d.ts +355 -0
- package/dist/core/physics/inertia-validation.d.ts +22 -0
- package/dist/core/physics/math.d.ts +99 -0
- package/dist/core/physics/presets.d.ts +28 -0
- package/dist/core/physics/simulation.d.ts +11 -0
- package/dist/core/physics/spring-animation.d.ts +11 -0
- package/dist/core/physics/spring-math.d.ts +47 -0
- package/dist/core/physics/spring-presets.d.ts +29 -0
- package/dist/core/physics/spring-simulation.d.ts +11 -0
- package/dist/core/physics/spring-types.d.ts +350 -0
- package/dist/core/physics/spring-validation.d.ts +22 -0
- package/dist/core/physics/stepper.d.ts +24 -0
- package/dist/core/physics/types.d.ts +280 -0
- package/dist/core/physics/validation.d.ts +62 -0
- package/dist/core/pointer-capture.d.ts +7 -0
- package/dist/core/reference-analysis/index.d.ts +10 -0
- package/dist/core/reference-analysis/interpreter.d.ts +12 -0
- package/dist/core/reference-analysis/planner.d.ts +15 -0
- package/dist/core/reference-analysis/specification.d.ts +14 -0
- package/dist/core/reference-analysis/types.d.ts +244 -0
- package/dist/core/resource-intelligence/cache.d.ts +43 -0
- package/dist/core/resource-intelligence/gpu.d.ts +19 -0
- package/dist/core/resource-intelligence/index.d.ts +16 -0
- package/dist/core/resource-intelligence/leaks.d.ts +13 -0
- package/dist/core/resource-intelligence/memory.d.ts +27 -0
- package/dist/core/resource-intelligence/pooling.d.ts +32 -0
- package/dist/core/resource-intelligence/pressure.d.ts +32 -0
- package/dist/core/resource-intelligence/react.d.ts +63 -0
- package/dist/core/resource-intelligence/registry.d.ts +33 -0
- package/dist/core/resource-intelligence/reports.d.ts +14 -0
- package/dist/core/resource-intelligence/types.d.ts +232 -0
- package/dist/core/scene-generation/engine.d.ts +31 -0
- package/dist/core/scene-generation/generator.d.ts +14 -0
- package/dist/core/scene-generation/index.d.ts +14 -0
- package/dist/core/scene-generation/input-parser.d.ts +24 -0
- package/dist/core/scene-generation/presets.d.ts +10 -0
- package/dist/core/scene-generation/react.d.ts +13 -0
- package/dist/core/scene-generation/scene-analyzer.d.ts +9 -0
- package/dist/core/scene-generation/scene-planner.d.ts +12 -0
- package/dist/core/scene-generation/types.d.ts +236 -0
- package/dist/core/scene-generation/validator.d.ts +18 -0
- package/dist/core/schema.d.ts +185 -0
- package/dist/core/scroll-intelligence/generator.d.ts +11 -0
- package/dist/core/scroll-intelligence/index.d.ts +11 -0
- package/dist/core/scroll-intelligence/intent.d.ts +11 -0
- package/dist/core/scroll-intelligence/runtime.d.ts +21 -0
- package/dist/core/scroll-intelligence/schema.d.ts +78 -0
- package/dist/core/scroll-intelligence/types.d.ts +85 -0
- package/dist/core/spring.d.ts +38 -0
- package/dist/core/svg-morph/animator.d.ts +10 -0
- package/dist/core/svg-morph/arc-to-cubic.d.ts +11 -0
- package/dist/core/svg-morph/index.d.ts +10 -0
- package/dist/core/svg-morph/interpolate.d.ts +23 -0
- package/dist/core/svg-morph/normalize.d.ts +34 -0
- package/dist/core/svg-morph/parser.d.ts +13 -0
- package/dist/core/svg-morph/shapes.d.ts +32 -0
- package/dist/core/svg-morph/types.d.ts +144 -0
- package/dist/core/transform.d.ts +27 -0
- package/dist/core/transitions/controller.d.ts +45 -0
- package/dist/core/transitions/engine.d.ts +26 -0
- package/dist/core/transitions/group-transition.d.ts +30 -0
- package/dist/core/transitions/index.d.ts +15 -0
- package/dist/core/transitions/presets.d.ts +16 -0
- package/dist/core/transitions/schema.d.ts +71 -0
- package/dist/core/transitions/shared-element-transition.d.ts +88 -0
- package/dist/core/transitions/shared-element.d.ts +84 -0
- package/dist/core/transitions/types.d.ts +185 -0
- package/dist/core/transitions/view-transition.d.ts +25 -0
- package/dist/core/typography/engine.d.ts +19 -0
- package/dist/core/typography/index.d.ts +15 -0
- package/dist/core/typography/path-motion.d.ts +24 -0
- package/dist/core/typography/presets.d.ts +14 -0
- package/dist/core/typography/properties.d.ts +19 -0
- package/dist/core/typography/segmenter.d.ts +32 -0
- package/dist/core/typography/stagger.d.ts +15 -0
- package/dist/core/typography/transitions.d.ts +11 -0
- package/dist/core/typography/types.d.ts +154 -0
- package/dist/core/utils/safe-json.d.ts +50 -0
- package/dist/core/visual-style-registry.d.ts +659 -0
- package/dist/easing/easings.d.ts +44 -0
- package/dist/effects/border-beam.d.ts +28 -0
- package/dist/effects/count-up.d.ts +30 -0
- package/dist/effects/cursor-trail.d.ts +23 -0
- package/dist/effects/drag.d.ts +41 -0
- package/dist/effects/draw-svg.d.ts +19 -0
- package/dist/effects/follow-pointer.d.ts +19 -0
- package/dist/effects/glow.d.ts +25 -0
- package/dist/effects/gradient-text.d.ts +22 -0
- package/dist/effects/hover-motion.d.ts +32 -0
- package/dist/effects/in-view.d.ts +14 -0
- package/dist/effects/magnetic.d.ts +40 -0
- package/dist/effects/morph-svg.d.ts +15 -0
- package/dist/effects/parallax.d.ts +42 -0
- package/dist/effects/pinch.d.ts +27 -0
- package/dist/effects/reveal.d.ts +33 -0
- package/dist/effects/ripple.d.ts +21 -0
- package/dist/effects/scroll-animate.d.ts +23 -0
- package/dist/effects/scroll-direction.d.ts +19 -0
- package/dist/effects/scroll-progress.d.ts +29 -0
- package/dist/effects/scroll-trigger.d.ts +22 -0
- package/dist/effects/scroll-velocity.d.ts +29 -0
- package/dist/effects/shine.d.ts +23 -0
- package/dist/effects/split-text.d.ts +17 -0
- package/dist/effects/spotlight.d.ts +24 -0
- package/dist/effects/stagger.d.ts +46 -0
- package/dist/effects/swipe.d.ts +27 -0
- package/dist/effects/text-highlight.d.ts +25 -0
- package/dist/effects/text-mask.d.ts +25 -0
- package/dist/effects/text-reveal.d.ts +28 -0
- package/dist/effects/text-scramble.d.ts +18 -0
- package/dist/effects/tilt.d.ts +42 -0
- package/dist/effects/typewriter.d.ts +26 -0
- package/dist/graphics/capabilities.d.ts +12 -0
- package/dist/graphics/composition/engine.d.ts +14 -0
- package/dist/graphics/composition/fallback.d.ts +13 -0
- package/dist/graphics/composition/index.d.ts +10 -0
- package/dist/graphics/composition/ordering.d.ts +29 -0
- package/dist/graphics/composition/quality.d.ts +24 -0
- package/dist/graphics/composition/schema.d.ts +156 -0
- package/dist/graphics/composition/types.d.ts +81 -0
- package/dist/graphics/composition/unified.d.ts +23 -0
- package/dist/graphics/effects/advanced/engine.d.ts +9 -0
- package/dist/graphics/effects/advanced/index.d.ts +1 -0
- package/dist/graphics/effects/composer.d.ts +9 -0
- package/dist/graphics/effects/distortion/engine.d.ts +9 -0
- package/dist/graphics/effects/distortion/index.d.ts +1 -0
- package/dist/graphics/effects/fluid/engine.d.ts +9 -0
- package/dist/graphics/effects/fluid/index.d.ts +1 -0
- package/dist/graphics/effects/index.d.ts +10 -0
- package/dist/graphics/effects/particles/engine.d.ts +9 -0
- package/dist/graphics/effects/particles/index.d.ts +2 -0
- package/dist/graphics/effects/particles/pool.d.ts +17 -0
- package/dist/graphics/effects/schema.d.ts +312 -0
- package/dist/graphics/effects/types.d.ts +85 -0
- package/dist/graphics/engine.d.ts +5 -0
- package/dist/graphics/environment/clouds.d.ts +28 -0
- package/dist/graphics/environment/environment.d.ts +50 -0
- package/dist/graphics/environment/fire-smoke.d.ts +32 -0
- package/dist/graphics/environment/fog.d.ts +28 -0
- package/dist/graphics/environment/index.d.ts +18 -0
- package/dist/graphics/environment/lightning.d.ts +33 -0
- package/dist/graphics/environment/rain.d.ts +33 -0
- package/dist/graphics/environment/snow.d.ts +30 -0
- package/dist/graphics/environment/types.d.ts +184 -0
- package/dist/graphics/environment/weather.d.ts +19 -0
- package/dist/graphics/environment/wind.d.ts +23 -0
- package/dist/graphics/fluid/flow-field.d.ts +74 -0
- package/dist/graphics/fluid/grid.d.ts +43 -0
- package/dist/graphics/fluid/index.d.ts +13 -0
- package/dist/graphics/fluid/interactions.d.ts +39 -0
- package/dist/graphics/fluid/rendering.d.ts +32 -0
- package/dist/graphics/fluid/simulation.d.ts +50 -0
- package/dist/graphics/fluid/solver.d.ts +19 -0
- package/dist/graphics/fluid/types.d.ts +186 -0
- package/dist/graphics/gpu-simulation/backends/backend.d.ts +24 -0
- package/dist/graphics/gpu-simulation/backends/cpu.d.ts +21 -0
- package/dist/graphics/gpu-simulation/backends/selection.d.ts +15 -0
- package/dist/graphics/gpu-simulation/backends/webgl2.d.ts +28 -0
- package/dist/graphics/gpu-simulation/backends/webgpu.d.ts +23 -0
- package/dist/graphics/gpu-simulation/capabilities.d.ts +14 -0
- package/dist/graphics/gpu-simulation/device.d.ts +17 -0
- package/dist/graphics/gpu-simulation/engine.d.ts +8 -0
- package/dist/graphics/gpu-simulation/index.d.ts +22 -0
- package/dist/graphics/gpu-simulation/ping-pong.d.ts +23 -0
- package/dist/graphics/gpu-simulation/pipeline.d.ts +18 -0
- package/dist/graphics/gpu-simulation/resource-manager.d.ts +8 -0
- package/dist/graphics/gpu-simulation/shaders.d.ts +50 -0
- package/dist/graphics/gpu-simulation/types.d.ts +288 -0
- package/dist/graphics/index.d.ts +23 -0
- package/dist/graphics/materials/glass.d.ts +22 -0
- package/dist/graphics/materials/index.d.ts +9 -0
- package/dist/graphics/materials/lighting.d.ts +22 -0
- package/dist/graphics/materials/presets.d.ts +28 -0
- package/dist/graphics/materials/schema.d.ts +574 -0
- package/dist/graphics/materials/surface.d.ts +13 -0
- package/dist/graphics/materials/types.d.ts +150 -0
- package/dist/graphics/particle-fields/composition.d.ts +32 -0
- package/dist/graphics/particle-fields/forces.d.ts +103 -0
- package/dist/graphics/particle-fields/index.d.ts +12 -0
- package/dist/graphics/particle-fields/interaction.d.ts +32 -0
- package/dist/graphics/particle-fields/spatial-index.d.ts +20 -0
- package/dist/graphics/particle-fields/system.d.ts +52 -0
- package/dist/graphics/particle-fields/types.d.ts +138 -0
- package/dist/graphics/particles/behaviors.d.ts +11 -0
- package/dist/graphics/particles/controller.d.ts +82 -0
- package/dist/graphics/particles/data-layout.d.ts +51 -0
- package/dist/graphics/particles/emitters.d.ts +24 -0
- package/dist/graphics/particles/index.d.ts +15 -0
- package/dist/graphics/particles/random.d.ts +25 -0
- package/dist/graphics/particles/rendering.d.ts +16 -0
- package/dist/graphics/particles/simulation.d.ts +23 -0
- package/dist/graphics/particles/types.d.ts +282 -0
- package/dist/graphics/renderer.d.ts +66 -0
- package/dist/graphics/resource-manager.d.ts +6 -0
- package/dist/graphics/schema.d.ts +177 -0
- package/dist/graphics/simulation/adapters.d.ts +36 -0
- package/dist/graphics/simulation/coordinator.d.ts +64 -0
- package/dist/graphics/simulation/index.d.ts +11 -0
- package/dist/graphics/simulation/optimizer.d.ts +101 -0
- package/dist/graphics/simulation/resource-manager.d.ts +40 -0
- package/dist/graphics/simulation/types.d.ts +126 -0
- package/dist/graphics/textures/cache.d.ts +29 -0
- package/dist/graphics/textures/canvas-utils.d.ts +31 -0
- package/dist/graphics/textures/engine.d.ts +34 -0
- package/dist/graphics/textures/generators.d.ts +29 -0
- package/dist/graphics/textures/index.d.ts +11 -0
- package/dist/graphics/textures/material-integration.d.ts +20 -0
- package/dist/graphics/textures/prng.d.ts +27 -0
- package/dist/graphics/textures/schema.d.ts +219 -0
- package/dist/graphics/textures/types.d.ts +80 -0
- package/dist/graphics/types.d.ts +152 -0
- package/dist/graphics/viewport.d.ts +32 -0
- package/dist/index.d.ts +132 -0
- package/dist/index.js +4921 -0
- package/dist/mcp/index.d.ts +12 -0
- package/dist/mcp/prompts.d.ts +9 -0
- package/dist/mcp/resources.d.ts +9 -0
- package/dist/mcp/server.d.ts +29 -0
- package/dist/mcp/tools.d.ts +9 -0
- package/dist/mcp/transport.d.ts +33 -0
- package/dist/mcp/types.d.ts +96 -0
- package/dist/presets.d.ts +176 -0
- package/dist/presets.js +3 -0
- package/dist/react.d.ts +5358 -0
- package/dist/react.js +7557 -0
- package/package.json +112 -6
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AF Motion Visual Style Registry & Schema Foundation
|
|
3
|
+
*
|
|
4
|
+
* Centralized, extensible, framework-independent registry and compatibility engine
|
|
5
|
+
* for visual design styles, establishing the design language foundation for AF Motion.
|
|
6
|
+
*/
|
|
7
|
+
import { type UnifiedMotionSchema } from "./schema.js";
|
|
8
|
+
export declare const VISUAL_STYLE_SCHEMA_SPEC_VERSION = "1.0.0";
|
|
9
|
+
export type VisualStyleCategory = "retro" | "skeuomorphic" | "modernist" | "experimental" | "expressive" | "dimensional" | "traditional" | "minimal" | "cyber";
|
|
10
|
+
export interface VisualStyleTypography {
|
|
11
|
+
readonly headingFont: string;
|
|
12
|
+
readonly bodyFont: string;
|
|
13
|
+
readonly scaleRatio: number;
|
|
14
|
+
readonly fontWeights: {
|
|
15
|
+
readonly heading: number | string;
|
|
16
|
+
readonly body: number | string;
|
|
17
|
+
};
|
|
18
|
+
readonly letterSpacing?: string;
|
|
19
|
+
readonly textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
|
|
20
|
+
readonly lineHeights?: {
|
|
21
|
+
readonly heading: number | string;
|
|
22
|
+
readonly body: number | string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface VisualStyleShapeLanguage {
|
|
26
|
+
readonly cornerRadius: string;
|
|
27
|
+
readonly borderWidth: string;
|
|
28
|
+
readonly borderStyle: "solid" | "dashed" | "dotted" | "double" | "none";
|
|
29
|
+
readonly geometricTendency: "sharp" | "rounded" | "fluid" | "organic" | "rigid" | "distorted";
|
|
30
|
+
readonly aspectRatios?: readonly string[];
|
|
31
|
+
}
|
|
32
|
+
export interface VisualStyleLayout {
|
|
33
|
+
readonly density: "compact" | "normal" | "spacious" | "dense";
|
|
34
|
+
readonly gridStructure: "strict" | "asymmetric" | "broken" | "dense" | "minimal";
|
|
35
|
+
readonly alignment: "left" | "center" | "justified" | "off-grid";
|
|
36
|
+
readonly whitespaceRule: "generous" | "tight" | "chaotic" | "structured";
|
|
37
|
+
}
|
|
38
|
+
export interface VisualStyleGraphics {
|
|
39
|
+
readonly iconography: "line" | "solid" | "duotone" | "realistic" | "abstract" | "hand-drawn";
|
|
40
|
+
readonly borders: "clean" | "heavy" | "ornate" | "embossed" | "glitched" | "none";
|
|
41
|
+
readonly dividers: "subtle" | "prominent" | "decorative" | "none";
|
|
42
|
+
readonly decorativeElements: readonly string[];
|
|
43
|
+
}
|
|
44
|
+
export interface VisualStyleTextures {
|
|
45
|
+
readonly primaryTexture: "none" | "noise" | "grain" | "paper" | "metallic" | "glass" | "halftone" | "mesh" | "leather" | "wood" | "fabric";
|
|
46
|
+
readonly patternStyle: "none" | "geometric" | "dots" | "stripes" | "organic" | "wood" | "circuit" | "mesh" | "abstract";
|
|
47
|
+
readonly intensity: number;
|
|
48
|
+
}
|
|
49
|
+
export interface VisualStyleSurfaces {
|
|
50
|
+
readonly materialType: "flat" | "plastic" | "glass" | "paper" | "metal" | "clay" | "liquid" | "holographic";
|
|
51
|
+
readonly opacity: number;
|
|
52
|
+
readonly blur: string;
|
|
53
|
+
readonly backdropFilter?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface VisualStyleLighting {
|
|
56
|
+
readonly lightSource: "top-left" | "top" | "center" | "ambient" | "harsh-direct" | "neon" | "diffuse";
|
|
57
|
+
readonly shadowStyle: "none" | "soft" | "hard" | "inner" | "layered" | "glow" | "colored";
|
|
58
|
+
readonly elevationLevels: readonly string[];
|
|
59
|
+
readonly highlights: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface VisualStyleBackground {
|
|
62
|
+
readonly primaryTreatment: "solid" | "gradient" | "pattern" | "canvas" | "textured";
|
|
63
|
+
readonly compatibleBackgroundCapabilities: readonly string[];
|
|
64
|
+
readonly recommendedBackground: string;
|
|
65
|
+
readonly overlay?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface VisualStyleComponents {
|
|
68
|
+
readonly buttonTreatment: {
|
|
69
|
+
readonly borderRadius: string;
|
|
70
|
+
readonly shadow: string;
|
|
71
|
+
readonly border: string;
|
|
72
|
+
readonly hoverTransform: string;
|
|
73
|
+
};
|
|
74
|
+
readonly cardTreatment: {
|
|
75
|
+
readonly borderRadius: string;
|
|
76
|
+
readonly shadow: string;
|
|
77
|
+
readonly border: string;
|
|
78
|
+
readonly background: string;
|
|
79
|
+
};
|
|
80
|
+
readonly inputTreatment: {
|
|
81
|
+
readonly borderRadius: string;
|
|
82
|
+
readonly border: string;
|
|
83
|
+
readonly focusRing: string;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
export interface VisualStyleMotion {
|
|
87
|
+
readonly compatibleMotionDNA: readonly string[];
|
|
88
|
+
readonly recommendedPresets: readonly string[];
|
|
89
|
+
readonly animationIntensity: "subtle" | "moderate" | "expressive" | "dramatic";
|
|
90
|
+
readonly transitionPacing: "snappy" | "smooth" | "measured" | "elastic";
|
|
91
|
+
}
|
|
92
|
+
export interface VisualStyleGraphicsCompatibility {
|
|
93
|
+
readonly canvasSupported: boolean;
|
|
94
|
+
readonly svgPreferred: boolean;
|
|
95
|
+
readonly blendingModes: readonly string[];
|
|
96
|
+
}
|
|
97
|
+
export interface VisualStyleThreeDCompatibility {
|
|
98
|
+
readonly depthLevel: "flat" | "2.5d" | "pseudo-3d" | "full-3d";
|
|
99
|
+
readonly cameraAngle: "isometric" | "perspective" | "orthographic" | "front";
|
|
100
|
+
readonly lightingModel: "flat" | "phong" | "pbr" | "unlit" | "matcap" | "diffuse";
|
|
101
|
+
readonly materialReflectivity: number;
|
|
102
|
+
}
|
|
103
|
+
export interface VisualStyleResponsive {
|
|
104
|
+
readonly mobileAdaptations: readonly string[];
|
|
105
|
+
readonly breakpointStrategy: "desktop-first" | "mobile-first" | "fluid";
|
|
106
|
+
}
|
|
107
|
+
export interface VisualStyleAccessibility {
|
|
108
|
+
readonly contrastTarget: "AA" | "AAA";
|
|
109
|
+
readonly reducedMotionBehavior: "disable-transforms" | "fade-only" | "static-fallback";
|
|
110
|
+
readonly readabilityNotes: string;
|
|
111
|
+
}
|
|
112
|
+
export interface VisualStyleReactMetadata {
|
|
113
|
+
readonly recommendedComponents: readonly string[];
|
|
114
|
+
readonly cssVariablesPrefix: string;
|
|
115
|
+
readonly styleProperties: Readonly<Record<string, string>>;
|
|
116
|
+
}
|
|
117
|
+
export interface VisualStyleDefinition {
|
|
118
|
+
readonly id: string;
|
|
119
|
+
readonly version: string;
|
|
120
|
+
readonly name: string;
|
|
121
|
+
readonly description: string;
|
|
122
|
+
readonly category: VisualStyleCategory;
|
|
123
|
+
readonly philosophy: string;
|
|
124
|
+
readonly personality: readonly string[];
|
|
125
|
+
readonly recommendedPalettes: readonly string[];
|
|
126
|
+
readonly typography: VisualStyleTypography;
|
|
127
|
+
readonly shapeLanguage: VisualStyleShapeLanguage;
|
|
128
|
+
readonly layout: VisualStyleLayout;
|
|
129
|
+
readonly graphics: VisualStyleGraphics;
|
|
130
|
+
readonly textures: VisualStyleTextures;
|
|
131
|
+
readonly surfaces: VisualStyleSurfaces;
|
|
132
|
+
readonly lighting: VisualStyleLighting;
|
|
133
|
+
readonly background: VisualStyleBackground;
|
|
134
|
+
readonly components: VisualStyleComponents;
|
|
135
|
+
readonly motion: VisualStyleMotion;
|
|
136
|
+
readonly graphicsCompatibility: VisualStyleGraphicsCompatibility;
|
|
137
|
+
readonly threeDCompatibility: VisualStyleThreeDCompatibility;
|
|
138
|
+
readonly responsive: VisualStyleResponsive;
|
|
139
|
+
readonly accessibility: VisualStyleAccessibility;
|
|
140
|
+
readonly react: VisualStyleReactMetadata;
|
|
141
|
+
readonly examples: readonly string[];
|
|
142
|
+
readonly tags: readonly string[];
|
|
143
|
+
readonly custom?: boolean;
|
|
144
|
+
}
|
|
145
|
+
export interface VisualStyleFilter {
|
|
146
|
+
readonly category?: VisualStyleCategory;
|
|
147
|
+
readonly tag?: string;
|
|
148
|
+
readonly palette?: string;
|
|
149
|
+
readonly motionDNA?: string;
|
|
150
|
+
readonly backgroundCapability?: string;
|
|
151
|
+
readonly depthLevel?: "flat" | "2.5d" | "pseudo-3d" | "full-3d";
|
|
152
|
+
}
|
|
153
|
+
export interface StyleCompatibilityContext {
|
|
154
|
+
readonly paletteId?: string;
|
|
155
|
+
readonly paletteName?: string;
|
|
156
|
+
readonly motionDNA?: string;
|
|
157
|
+
readonly backgroundCapability?: string;
|
|
158
|
+
readonly designSystem?: string;
|
|
159
|
+
readonly threeDDepth?: string;
|
|
160
|
+
readonly accessibilityStrict?: boolean;
|
|
161
|
+
}
|
|
162
|
+
export interface StyleConflict {
|
|
163
|
+
readonly type: "palette" | "motion" | "background" | "3d" | "accessibility";
|
|
164
|
+
readonly message: string;
|
|
165
|
+
readonly severity: "warning" | "error";
|
|
166
|
+
readonly resolution?: string;
|
|
167
|
+
}
|
|
168
|
+
export interface StyleCompatibilityReport {
|
|
169
|
+
readonly compatible: boolean;
|
|
170
|
+
readonly score: number;
|
|
171
|
+
readonly conflicts: readonly StyleConflict[];
|
|
172
|
+
readonly recommendations: readonly string[];
|
|
173
|
+
readonly suggestedPalettes: readonly string[];
|
|
174
|
+
readonly suggestedMotionDNA: readonly string[];
|
|
175
|
+
readonly suggestedBackgrounds: readonly string[];
|
|
176
|
+
}
|
|
177
|
+
export interface ResolvedVisualStyle {
|
|
178
|
+
readonly styleId: string;
|
|
179
|
+
readonly styleName: string;
|
|
180
|
+
readonly category: VisualStyleCategory;
|
|
181
|
+
readonly palette: {
|
|
182
|
+
readonly name: string;
|
|
183
|
+
readonly primary: string;
|
|
184
|
+
readonly secondary: string;
|
|
185
|
+
readonly accent: string;
|
|
186
|
+
readonly background: string;
|
|
187
|
+
readonly surface: string;
|
|
188
|
+
};
|
|
189
|
+
readonly typography: VisualStyleTypography;
|
|
190
|
+
readonly shapeLanguage: VisualStyleShapeLanguage;
|
|
191
|
+
readonly surfaces: VisualStyleSurfaces;
|
|
192
|
+
readonly lighting: VisualStyleLighting;
|
|
193
|
+
readonly background: VisualStyleBackground;
|
|
194
|
+
readonly components: VisualStyleComponents;
|
|
195
|
+
readonly motion: VisualStyleMotion;
|
|
196
|
+
readonly responsive: VisualStyleResponsive;
|
|
197
|
+
readonly accessibility: VisualStyleAccessibility;
|
|
198
|
+
readonly cssVariables: Readonly<Record<string, string>>;
|
|
199
|
+
}
|
|
200
|
+
export interface VisualStyleRegistry {
|
|
201
|
+
registerVisualStyle(style: VisualStyleDefinition, options?: {
|
|
202
|
+
override?: boolean;
|
|
203
|
+
}): void;
|
|
204
|
+
unregisterVisualStyle(id: string): boolean;
|
|
205
|
+
getVisualStyle(id: string): VisualStyleDefinition | undefined;
|
|
206
|
+
hasVisualStyle(id: string): boolean;
|
|
207
|
+
listVisualStyles(filter?: VisualStyleFilter): readonly VisualStyleDefinition[];
|
|
208
|
+
searchVisualStyles(query: string): readonly VisualStyleDefinition[];
|
|
209
|
+
getCompatibleStyles(context: StyleCompatibilityContext): readonly VisualStyleDefinition[];
|
|
210
|
+
registerCustomVisualStyle(style: VisualStyleDefinition): void;
|
|
211
|
+
validateVisualStyleDefinition(style: unknown): {
|
|
212
|
+
valid: boolean;
|
|
213
|
+
errors: string[];
|
|
214
|
+
};
|
|
215
|
+
exportVisualStylesJson(options?: {
|
|
216
|
+
pretty?: boolean;
|
|
217
|
+
}): string;
|
|
218
|
+
importVisualStylesFromJson(json: string, options?: {
|
|
219
|
+
override?: boolean;
|
|
220
|
+
}): {
|
|
221
|
+
imported: number;
|
|
222
|
+
errors: string[];
|
|
223
|
+
};
|
|
224
|
+
subscribe(listener: () => void): () => void;
|
|
225
|
+
getVersion(): number;
|
|
226
|
+
count(): number;
|
|
227
|
+
getCategories(): readonly VisualStyleCategory[];
|
|
228
|
+
getTags(): readonly string[];
|
|
229
|
+
reset(): void;
|
|
230
|
+
}
|
|
231
|
+
export declare function createVisualStyleSchema(): UnifiedMotionSchema;
|
|
232
|
+
export declare function validateVisualStyleDefinition(style: unknown): {
|
|
233
|
+
valid: boolean;
|
|
234
|
+
errors: string[];
|
|
235
|
+
};
|
|
236
|
+
export declare function checkStyleCompatibility(styleOrId: string | VisualStyleDefinition, context?: StyleCompatibilityContext): StyleCompatibilityReport;
|
|
237
|
+
export declare function resolveVisualStyle(styleOrId: string | VisualStyleDefinition, overrides?: Partial<ResolvedVisualStyle>): ResolvedVisualStyle | undefined;
|
|
238
|
+
export declare function createVisualStyleRegistry(initialStyles?: readonly VisualStyleDefinition[]): VisualStyleRegistry;
|
|
239
|
+
/**
|
|
240
|
+
* Global singleton Visual Style Registry pre-populated with all 19 foundation styles.
|
|
241
|
+
*/
|
|
242
|
+
export declare const visualStyleRegistry: VisualStyleRegistry;
|
|
243
|
+
export type SkeuomorphicMaterial = "leather" | "metal" | "glass" | "plastic";
|
|
244
|
+
export interface SkeuomorphicStyleOptions {
|
|
245
|
+
readonly material?: SkeuomorphicMaterial;
|
|
246
|
+
readonly elevation?: number;
|
|
247
|
+
readonly pressed?: boolean;
|
|
248
|
+
readonly highlight?: boolean;
|
|
249
|
+
readonly highContrast?: boolean;
|
|
250
|
+
readonly customAccent?: string;
|
|
251
|
+
}
|
|
252
|
+
export interface SkeuomorphicStyleResult {
|
|
253
|
+
readonly background: string;
|
|
254
|
+
readonly boxShadow: string;
|
|
255
|
+
readonly border: string;
|
|
256
|
+
readonly color: string;
|
|
257
|
+
readonly textShadow: string;
|
|
258
|
+
readonly borderRadius: string;
|
|
259
|
+
readonly backdropFilter?: string;
|
|
260
|
+
}
|
|
261
|
+
export declare function computeSkeuomorphicStyle(options?: SkeuomorphicStyleOptions): SkeuomorphicStyleResult;
|
|
262
|
+
export type NeumorphicShape = "flat" | "convex" | "concave" | "pressed";
|
|
263
|
+
export type NeumorphicLightSource = "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
264
|
+
export interface NeumorphicStyleOptions {
|
|
265
|
+
readonly shape?: NeumorphicShape;
|
|
266
|
+
readonly surfaceColor?: string;
|
|
267
|
+
readonly distance?: number;
|
|
268
|
+
readonly blur?: number;
|
|
269
|
+
readonly intensity?: number;
|
|
270
|
+
readonly lightSource?: NeumorphicLightSource;
|
|
271
|
+
readonly accessibleContrast?: boolean;
|
|
272
|
+
readonly pressed?: boolean;
|
|
273
|
+
}
|
|
274
|
+
export interface NeumorphicStyleResult {
|
|
275
|
+
readonly background: string;
|
|
276
|
+
readonly boxShadow: string;
|
|
277
|
+
readonly border: string;
|
|
278
|
+
readonly color: string;
|
|
279
|
+
readonly outline?: string;
|
|
280
|
+
readonly borderRadius: string;
|
|
281
|
+
}
|
|
282
|
+
export declare function computeNeumorphicStyle(options?: NeumorphicStyleOptions): NeumorphicStyleResult;
|
|
283
|
+
export type ArtNouveauVariant = "parchment" | "sage" | "terracotta" | "dark-emerald";
|
|
284
|
+
export interface ArtNouveauStyleOptions {
|
|
285
|
+
readonly variant?: ArtNouveauVariant;
|
|
286
|
+
readonly cornerRadius?: string;
|
|
287
|
+
readonly ornateBorder?: boolean;
|
|
288
|
+
readonly asymmetric?: boolean;
|
|
289
|
+
readonly highContrast?: boolean;
|
|
290
|
+
}
|
|
291
|
+
export interface ArtNouveauStyleResult {
|
|
292
|
+
readonly background: string;
|
|
293
|
+
readonly borderColor: string;
|
|
294
|
+
readonly borderWidth: string;
|
|
295
|
+
readonly borderStyle: string;
|
|
296
|
+
readonly borderRadius: string;
|
|
297
|
+
readonly color: string;
|
|
298
|
+
readonly accentColor: string;
|
|
299
|
+
readonly boxShadow: string;
|
|
300
|
+
readonly fontFamily: string;
|
|
301
|
+
readonly letterSpacing: string;
|
|
302
|
+
}
|
|
303
|
+
export declare function computeArtNouveauStyle(options?: ArtNouveauStyleOptions): ArtNouveauStyleResult;
|
|
304
|
+
export declare const ART_NOUVEAU_WHIPLASH_PATH = "M 0 20 C 30 5, 50 35, 80 20 C 110 5, 130 35, 160 20 C 190 5, 210 35, 240 20";
|
|
305
|
+
export declare const ART_NOUVEAU_CORNER_PATH = "M 4 36 C 4 18, 18 4, 36 4 C 24 10, 10 24, 4 36 Z M 4 24 C 8 14, 14 8, 24 4";
|
|
306
|
+
export declare const ART_NOUVEAU_DIVIDER_PATH = "M 0 15 C 40 0, 60 30, 100 15 C 120 7, 130 5, 150 15 C 170 25, 180 23, 200 15 C 240 0, 260 30, 300 15";
|
|
307
|
+
export interface StyleMotionConfig {
|
|
308
|
+
readonly preset: string;
|
|
309
|
+
readonly transition: string;
|
|
310
|
+
readonly spring: {
|
|
311
|
+
readonly stiffness: number;
|
|
312
|
+
readonly damping: number;
|
|
313
|
+
readonly mass: number;
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
export declare function getStyleMotionConfig(styleId: string): StyleMotionConfig;
|
|
317
|
+
export type LiquidChromeVariant = "mirror" | "iridescent" | "dark-mercury" | "holographic";
|
|
318
|
+
export interface LiquidChromeStyleOptions {
|
|
319
|
+
readonly variant?: LiquidChromeVariant;
|
|
320
|
+
readonly elevation?: number;
|
|
321
|
+
readonly pressed?: boolean;
|
|
322
|
+
readonly highContrast?: boolean;
|
|
323
|
+
readonly fluidBorder?: boolean;
|
|
324
|
+
}
|
|
325
|
+
export interface LiquidChromeStyleResult {
|
|
326
|
+
readonly background: string;
|
|
327
|
+
readonly border: string;
|
|
328
|
+
readonly borderRadius: string;
|
|
329
|
+
readonly boxShadow: string;
|
|
330
|
+
readonly color: string;
|
|
331
|
+
readonly textShadow: string;
|
|
332
|
+
readonly backdropFilter?: string;
|
|
333
|
+
}
|
|
334
|
+
export declare function computeLiquidChromeStyle(options?: LiquidChromeStyleOptions): LiquidChromeStyleResult;
|
|
335
|
+
export type DeStijlVariant = "white" | "red" | "blue" | "yellow" | "black" | "gray";
|
|
336
|
+
export interface DeStijlStyleOptions {
|
|
337
|
+
readonly variant?: DeStijlVariant;
|
|
338
|
+
readonly borderWidth?: number;
|
|
339
|
+
readonly pressed?: boolean;
|
|
340
|
+
readonly highContrast?: boolean;
|
|
341
|
+
}
|
|
342
|
+
export interface DeStijlStyleResult {
|
|
343
|
+
readonly background: string;
|
|
344
|
+
readonly border: string;
|
|
345
|
+
readonly borderRadius: string;
|
|
346
|
+
readonly boxShadow: string;
|
|
347
|
+
readonly color: string;
|
|
348
|
+
readonly fontFamily: string;
|
|
349
|
+
readonly textTransform: "uppercase";
|
|
350
|
+
readonly fontWeight: number;
|
|
351
|
+
}
|
|
352
|
+
export declare function computeDeStijlStyle(options?: DeStijlStyleOptions): DeStijlStyleResult;
|
|
353
|
+
export type MemphisVariant = "coral" | "teal" | "lemon" | "lavender" | "mint" | "white";
|
|
354
|
+
export type MemphisPatternType = "dots" | "stripes" | "confetti" | "grid" | "none";
|
|
355
|
+
export interface MemphisStyleOptions {
|
|
356
|
+
readonly variant?: MemphisVariant;
|
|
357
|
+
readonly pattern?: MemphisPatternType;
|
|
358
|
+
readonly shadowDistance?: number;
|
|
359
|
+
readonly pressed?: boolean;
|
|
360
|
+
readonly highContrast?: boolean;
|
|
361
|
+
}
|
|
362
|
+
export interface MemphisStyleResult {
|
|
363
|
+
readonly background: string;
|
|
364
|
+
readonly backgroundSize?: string;
|
|
365
|
+
readonly border: string;
|
|
366
|
+
readonly borderRadius: string;
|
|
367
|
+
readonly boxShadow: string;
|
|
368
|
+
readonly color: string;
|
|
369
|
+
readonly fontFamily: string;
|
|
370
|
+
}
|
|
371
|
+
export declare function computeMemphisStyle(options?: MemphisStyleOptions): MemphisStyleResult;
|
|
372
|
+
export declare const MEMPHIS_SQUIGGLE_PATH = "M 0 15 Q 15 0, 30 15 T 60 15 T 90 15 T 120 15 T 150 15";
|
|
373
|
+
export declare const MEMPHIS_ZIGZAG_PATH = "M 0 20 L 15 5 L 30 20 L 45 5 L 60 20 L 75 5 L 90 20";
|
|
374
|
+
export declare const MEMPHIS_TRIANGLE_PATH = "M 15 5 L 28 27 L 2 27 Z";
|
|
375
|
+
export declare const MEMPHIS_CIRCLE_PATH = "M 15 3 A 12 12 0 1 0 15 27 A 12 12 0 1 0 15 3";
|
|
376
|
+
export type PsychedelicVariant = "electric" | "swirl" | "cosmic-trip" | "optical";
|
|
377
|
+
export interface PsychedelicStyleOptions {
|
|
378
|
+
readonly variant?: PsychedelicVariant;
|
|
379
|
+
readonly elevation?: number;
|
|
380
|
+
readonly wavy?: boolean;
|
|
381
|
+
readonly pressed?: boolean;
|
|
382
|
+
readonly highContrast?: boolean;
|
|
383
|
+
}
|
|
384
|
+
export interface PsychedelicStyleResult {
|
|
385
|
+
readonly background: string;
|
|
386
|
+
readonly border: string;
|
|
387
|
+
readonly borderRadius: string;
|
|
388
|
+
readonly boxShadow: string;
|
|
389
|
+
readonly color: string;
|
|
390
|
+
readonly textShadow: string;
|
|
391
|
+
readonly fontFamily: string;
|
|
392
|
+
}
|
|
393
|
+
export declare function computePsychedelicStyle(options?: PsychedelicStyleOptions): PsychedelicStyleResult;
|
|
394
|
+
export type VaporwaveVariant = "sunset" | "cyber-grid" | "arcade" | "pastel";
|
|
395
|
+
export interface VaporwaveStyleOptions {
|
|
396
|
+
readonly variant?: VaporwaveVariant;
|
|
397
|
+
readonly elevation?: number;
|
|
398
|
+
readonly glow?: boolean;
|
|
399
|
+
readonly pressed?: boolean;
|
|
400
|
+
readonly highContrast?: boolean;
|
|
401
|
+
}
|
|
402
|
+
export interface VaporwaveStyleResult {
|
|
403
|
+
readonly background: string;
|
|
404
|
+
readonly border: string;
|
|
405
|
+
readonly borderRadius: string;
|
|
406
|
+
readonly boxShadow: string;
|
|
407
|
+
readonly color: string;
|
|
408
|
+
readonly textShadow: string;
|
|
409
|
+
readonly fontFamily: string;
|
|
410
|
+
readonly backdropFilter?: string;
|
|
411
|
+
}
|
|
412
|
+
export declare function computeVaporwaveStyle(options?: VaporwaveStyleOptions): VaporwaveStyleResult;
|
|
413
|
+
export type SteampunkVariant = "brass" | "copper" | "bronze" | "parchment";
|
|
414
|
+
export interface SteampunkStyleOptions {
|
|
415
|
+
readonly variant?: SteampunkVariant;
|
|
416
|
+
readonly elevation?: number;
|
|
417
|
+
readonly pressed?: boolean;
|
|
418
|
+
readonly highContrast?: boolean;
|
|
419
|
+
}
|
|
420
|
+
export interface SteampunkStyleResult {
|
|
421
|
+
readonly background: string;
|
|
422
|
+
readonly border: string;
|
|
423
|
+
readonly borderRadius: string;
|
|
424
|
+
readonly boxShadow: string;
|
|
425
|
+
readonly color: string;
|
|
426
|
+
readonly textShadow: string;
|
|
427
|
+
readonly fontFamily: string;
|
|
428
|
+
}
|
|
429
|
+
export declare function computeSteampunkStyle(options?: SteampunkStyleOptions): SteampunkStyleResult;
|
|
430
|
+
export declare const PSYCHEDELIC_WAVE_PATH = "M 0 25 C 25 5, 45 45, 75 25 C 105 5, 125 45, 155 25 C 185 5, 205 45, 235 25 C 265 5, 285 45, 315 25";
|
|
431
|
+
export declare const PSYCHEDELIC_FLOWER_PATH = "M 25 5 C 30 15, 45 15, 45 25 C 45 35, 30 35, 25 45 C 20 35, 5 35, 5 25 C 5 15, 20 15, 25 5 Z";
|
|
432
|
+
export declare const VAPORWAVE_SUNSET_PATH = "M 5 35 A 30 30 0 0 1 65 35 Z M 5 28 H 65 M 5 22 H 65 M 5 17 H 65";
|
|
433
|
+
export declare const VAPORWAVE_GRID_PATH = "M 0 35 L 70 35 M 0 25 L 70 25 M 0 18 L 70 18 M 0 12 L 70 12 M 10 35 L 25 0 M 35 35 L 35 0 M 60 35 L 45 0";
|
|
434
|
+
export declare const STEAMPUNK_GEAR_PATH = "M 22 5 L 28 5 L 29 10 L 35 12 L 39 8 L 43 12 L 40 17 L 44 22 L 49 22 L 49 28 L 44 29 L 42 35 L 46 39 L 42 43 L 37 40 L 32 44 L 32 49 L 26 49 L 25 44 L 19 42 L 15 46 L 11 42 L 14 37 L 10 32 L 5 32 L 5 26 L 10 25 L 12 19 L 8 15 L 12 11 L 17 14 L 22 10 Z M 27 21 A 6 6 0 1 0 27 33 A 6 6 0 1 0 27 21 Z";
|
|
435
|
+
export declare const STEAMPUNK_BRACKET_PATH = "M 4 36 L 4 12 C 4 8, 8 4, 12 4 L 36 4 L 36 10 L 14 10 C 12 10, 10 12, 10 14 L 10 36 Z M 8 8 L 14 14";
|
|
436
|
+
export type GrungeVariant = "distressed-paper" | "zine-dark" | "photocopy" | "decay";
|
|
437
|
+
export interface GrungeStyleOptions {
|
|
438
|
+
readonly variant?: GrungeVariant;
|
|
439
|
+
readonly elevation?: number;
|
|
440
|
+
readonly roughEdges?: boolean;
|
|
441
|
+
readonly pressed?: boolean;
|
|
442
|
+
readonly highContrast?: boolean;
|
|
443
|
+
}
|
|
444
|
+
export interface GrungeStyleResult {
|
|
445
|
+
readonly background: string;
|
|
446
|
+
readonly border: string;
|
|
447
|
+
readonly borderRadius: string;
|
|
448
|
+
readonly boxShadow: string;
|
|
449
|
+
readonly color: string;
|
|
450
|
+
readonly textShadow: string;
|
|
451
|
+
readonly fontFamily: string;
|
|
452
|
+
readonly transform?: string;
|
|
453
|
+
}
|
|
454
|
+
export declare function computeGrungeStyle(options?: GrungeStyleOptions): GrungeStyleResult;
|
|
455
|
+
export type PaperCutoutVariant = "cardstock" | "kraft" | "pastel-stack" | "dark-construction";
|
|
456
|
+
export interface PaperCutoutStyleOptions {
|
|
457
|
+
readonly variant?: PaperCutoutVariant;
|
|
458
|
+
readonly elevation?: number;
|
|
459
|
+
readonly foldedCorner?: boolean;
|
|
460
|
+
readonly pressed?: boolean;
|
|
461
|
+
readonly highContrast?: boolean;
|
|
462
|
+
}
|
|
463
|
+
export interface PaperCutoutStyleResult {
|
|
464
|
+
readonly background: string;
|
|
465
|
+
readonly border: string;
|
|
466
|
+
readonly borderRadius: string;
|
|
467
|
+
readonly boxShadow: string;
|
|
468
|
+
readonly color: string;
|
|
469
|
+
readonly textShadow: string;
|
|
470
|
+
readonly fontFamily: string;
|
|
471
|
+
readonly transform?: string;
|
|
472
|
+
}
|
|
473
|
+
export declare function computePaperCutoutStyle(options?: PaperCutoutStyleOptions): PaperCutoutStyleResult;
|
|
474
|
+
export type GlitchVariant = "cyber-terminal" | "rgb-split" | "matrix-green" | "hologram-dissonance";
|
|
475
|
+
export interface GlitchStyleOptions {
|
|
476
|
+
readonly variant?: GlitchVariant;
|
|
477
|
+
readonly elevation?: number;
|
|
478
|
+
readonly scanlines?: boolean;
|
|
479
|
+
readonly chromaticAberration?: boolean;
|
|
480
|
+
readonly pressed?: boolean;
|
|
481
|
+
readonly highContrast?: boolean;
|
|
482
|
+
}
|
|
483
|
+
export interface GlitchStyleResult {
|
|
484
|
+
readonly background: string;
|
|
485
|
+
readonly border: string;
|
|
486
|
+
readonly borderRadius: string;
|
|
487
|
+
readonly boxShadow: string;
|
|
488
|
+
readonly color: string;
|
|
489
|
+
readonly textShadow: string;
|
|
490
|
+
readonly fontFamily: string;
|
|
491
|
+
readonly backdropFilter?: string;
|
|
492
|
+
readonly backgroundImage?: string;
|
|
493
|
+
readonly backgroundSize?: string;
|
|
494
|
+
}
|
|
495
|
+
export declare function computeGlitchStyle(options?: GlitchStyleOptions): GlitchStyleResult;
|
|
496
|
+
export declare const GRUNGE_TAPE_PATH = "M 0 4 L 4 0 L 8 5 L 12 1 L 16 4 L 140 4 L 144 0 L 148 5 L 152 1 L 156 4 L 156 26 L 152 30 L 148 25 L 144 29 L 140 26 L 16 26 L 12 30 L 8 25 L 4 29 L 0 26 Z";
|
|
497
|
+
export declare const GRUNGE_SPLATTER_PATH = "M 25 15 C 28 8, 35 10, 37 16 C 42 12, 48 18, 44 24 C 49 28, 46 36, 40 35 C 38 42, 30 44, 26 38 C 20 42, 14 36, 17 30 C 11 26, 13 18, 20 18 C 18 12, 22 8, 25 15 Z M 48 8 A 2 2 0 1 1 48 12 A 2 2 0 1 1 48 8 M 8 38 A 3 3 0 1 1 8 44 A 3 3 0 1 1 8 38 M 42 42 A 1.5 1.5 0 1 1 42 45 A 1.5 1.5 0 1 1 42 42";
|
|
498
|
+
export declare const GRUNGE_SCRATCH_PATH = "M 5 5 L 45 45 M 12 2 L 48 38 M 2 12 L 38 48 M 45 5 L 5 45 M 48 12 L 12 48";
|
|
499
|
+
export declare const PAPER_CUTOUT_WAVE_PATH = "M 0 30 C 30 10, 60 45, 100 25 C 140 5, 170 40, 210 20 C 250 5, 270 35, 300 20 L 300 60 L 0 60 Z";
|
|
500
|
+
export declare const PAPER_FOLDED_CORNER_PATH = "M 0 0 L 30 0 L 30 30 Z M 0 0 L 30 30 L 0 30 Z";
|
|
501
|
+
export declare const PAPER_PERFORATION_PATH = "M 0 5 L 8 5 M 14 5 L 22 5 M 28 5 L 36 5 M 42 5 L 50 5 M 56 5 L 64 5 M 70 5 L 78 5 M 84 5 L 92 5 M 98 5 L 106 5";
|
|
502
|
+
export declare const GLITCH_CROSSHAIR_PATH = "M 15 2 L 15 8 M 15 22 L 15 28 M 2 15 L 8 15 M 22 15 L 28 15 M 10 10 L 20 10 L 20 20 L 10 20 Z";
|
|
503
|
+
export declare const GLITCH_BARCODE_PATH = "M 2 2 L 2 22 M 6 2 L 6 22 M 10 2 L 10 14 M 14 6 L 14 22 M 18 2 L 18 22 M 22 2 L 22 18 M 26 6 L 26 22 M 30 2 L 30 22 M 34 2 L 34 16 M 38 6 L 38 22";
|
|
504
|
+
export declare const GLITCH_CORNER_TECH_PATH = "M 2 18 L 2 2 L 18 2 M 6 6 L 10 6 L 10 10";
|
|
505
|
+
export type AntiDesignVariant = "toxic-yellow" | "acid-magenta" | "raw-brutalist" | "clash-cyan";
|
|
506
|
+
export interface AntiDesignStyleOptions {
|
|
507
|
+
readonly variant?: AntiDesignVariant;
|
|
508
|
+
readonly elevation?: number;
|
|
509
|
+
readonly asymmetrical?: boolean;
|
|
510
|
+
readonly tilted?: boolean;
|
|
511
|
+
readonly pressed?: boolean;
|
|
512
|
+
readonly highContrast?: boolean;
|
|
513
|
+
}
|
|
514
|
+
export interface AntiDesignStyleResult {
|
|
515
|
+
readonly background: string;
|
|
516
|
+
readonly border: string;
|
|
517
|
+
readonly borderRadius: string;
|
|
518
|
+
readonly boxShadow: string;
|
|
519
|
+
readonly color: string;
|
|
520
|
+
readonly textShadow: string;
|
|
521
|
+
readonly fontFamily: string;
|
|
522
|
+
readonly transform?: string;
|
|
523
|
+
}
|
|
524
|
+
export declare function computeAntiDesignStyle(options?: AntiDesignStyleOptions): AntiDesignStyleResult;
|
|
525
|
+
export type Inflated3DVariant = "bubblegum-pink" | "mallow-lavender" | "cloud-cyan" | "sunny-peach";
|
|
526
|
+
export interface Inflated3DStyleOptions {
|
|
527
|
+
readonly variant?: Inflated3DVariant;
|
|
528
|
+
readonly elevation?: number;
|
|
529
|
+
readonly pill?: boolean;
|
|
530
|
+
readonly pressed?: boolean;
|
|
531
|
+
readonly highContrast?: boolean;
|
|
532
|
+
}
|
|
533
|
+
export interface Inflated3DStyleResult {
|
|
534
|
+
readonly background: string;
|
|
535
|
+
readonly border: string;
|
|
536
|
+
readonly borderRadius: string;
|
|
537
|
+
readonly boxShadow: string;
|
|
538
|
+
readonly color: string;
|
|
539
|
+
readonly textShadow: string;
|
|
540
|
+
readonly fontFamily: string;
|
|
541
|
+
readonly transform?: string;
|
|
542
|
+
}
|
|
543
|
+
export declare function compute3DInflatedStyle(options?: Inflated3DStyleOptions): Inflated3DStyleResult;
|
|
544
|
+
export type IsometricVariant = "cobalt-blueprint" | "concrete-slate" | "emerald-matrix" | "clean-elevation";
|
|
545
|
+
export interface IsometricStyleOptions {
|
|
546
|
+
readonly variant?: IsometricVariant;
|
|
547
|
+
readonly elevation?: number;
|
|
548
|
+
readonly extruded?: boolean;
|
|
549
|
+
readonly pressed?: boolean;
|
|
550
|
+
readonly highContrast?: boolean;
|
|
551
|
+
}
|
|
552
|
+
export interface IsometricStyleResult {
|
|
553
|
+
readonly background: string;
|
|
554
|
+
readonly border: string;
|
|
555
|
+
readonly borderRadius: string;
|
|
556
|
+
readonly boxShadow: string;
|
|
557
|
+
readonly color: string;
|
|
558
|
+
readonly textShadow: string;
|
|
559
|
+
readonly fontFamily: string;
|
|
560
|
+
readonly transform?: string;
|
|
561
|
+
}
|
|
562
|
+
export declare function computeIsometricStyle(options?: IsometricStyleOptions): IsometricStyleResult;
|
|
563
|
+
export declare const ANTI_DESIGN_STRIPES_PATH = "M 0 0 L 10 0 L 30 40 L 20 40 Z M 25 0 L 35 0 L 55 40 L 45 40 Z M 50 0 L 60 0 L 80 40 L 70 40 Z M 75 0 L 85 0 L 105 40 L 95 40 Z";
|
|
564
|
+
export declare const ANTI_DESIGN_CROSS_PATH = "M 6 6 L 34 34 M 34 6 L 6 34";
|
|
565
|
+
export declare const ANTI_DESIGN_BURST_PATH = "M 25 2 L 31 14 L 45 10 L 41 24 L 50 35 L 36 38 L 32 50 L 22 42 L 10 48 L 12 34 L 2 26 L 15 20 Z";
|
|
566
|
+
export declare const INFLATED_3D_BUBBLE_PATH = "M 25 5 A 20 20 0 1 0 25 45 A 20 20 0 1 0 25 5 Z M 16 12 A 6 4 0 0 1 24 10 A 3 2 0 0 0 18 14 Z";
|
|
567
|
+
export declare const INFLATED_3D_PILL_PATH = "M 14 6 C 8 6, 4 10, 4 16 L 4 34 C 4 40, 8 44, 14 44 L 36 44 C 42 44, 46 40, 46 34 L 46 16 C 46 10, 42 6, 36 6 Z";
|
|
568
|
+
export declare const INFLATED_3D_CLOUD_PATH = "M 14 36 L 40 36 C 45 36, 48 32, 48 28 C 48 24, 45 21, 41 21 C 41 15, 36 10, 30 10 C 26 10, 22 12, 20 16 C 18 15, 16 15, 14 16 C 10 18, 8 22, 8 26 C 8 32, 11 36, 14 36 Z";
|
|
569
|
+
export declare const ISOMETRIC_CUBE_PATH = "M 25 5 L 45 16 L 25 27 L 5 16 Z M 5 16 L 25 27 L 25 48 L 5 37 Z M 25 27 L 45 16 L 45 37 L 25 48 Z";
|
|
570
|
+
export declare const ISOMETRIC_GRID_PATH = "M 25 2 L 48 15 L 25 28 L 2 15 Z M 25 28 L 48 41 L 25 54 L 2 41 Z M 2 15 L 2 41 M 48 15 L 48 41 M 25 28 L 25 54";
|
|
571
|
+
export declare const ISOMETRIC_PYRAMID_PATH = "M 25 6 L 42 16 L 25 26 L 8 16 Z M 8 16 L 25 26 L 25 44 L 8 34 Z M 25 26 L 42 16 L 42 34 L 25 44 Z";
|
|
572
|
+
export type UkiyoeVariant = "indigo-wave" | "vermilion-sun" | "sumi-wash" | "moss-garden";
|
|
573
|
+
export interface UkiyoeStyleOptions {
|
|
574
|
+
readonly variant?: UkiyoeVariant;
|
|
575
|
+
readonly elevation?: number;
|
|
576
|
+
readonly woodblockBorder?: boolean;
|
|
577
|
+
readonly pressed?: boolean;
|
|
578
|
+
readonly highContrast?: boolean;
|
|
579
|
+
}
|
|
580
|
+
export interface UkiyoeStyleResult {
|
|
581
|
+
readonly background: string;
|
|
582
|
+
readonly border: string;
|
|
583
|
+
readonly borderRadius: string;
|
|
584
|
+
readonly boxShadow: string;
|
|
585
|
+
readonly color: string;
|
|
586
|
+
readonly textShadow: string;
|
|
587
|
+
readonly fontFamily: string;
|
|
588
|
+
readonly transform?: string;
|
|
589
|
+
}
|
|
590
|
+
export declare function computeUkiyoeStyle(options?: UkiyoeStyleOptions): UkiyoeStyleResult;
|
|
591
|
+
export type BrutalistVariant = "mono-stark" | "concrete-gray" | "hazard-orange" | "blueprint-cyan";
|
|
592
|
+
export interface BrutalistStyleOptions {
|
|
593
|
+
readonly variant?: BrutalistVariant;
|
|
594
|
+
readonly elevation?: number;
|
|
595
|
+
readonly thickBorder?: boolean;
|
|
596
|
+
readonly pressed?: boolean;
|
|
597
|
+
readonly highContrast?: boolean;
|
|
598
|
+
}
|
|
599
|
+
export interface BrutalistStyleResult {
|
|
600
|
+
readonly background: string;
|
|
601
|
+
readonly border: string;
|
|
602
|
+
readonly borderRadius: string;
|
|
603
|
+
readonly boxShadow: string;
|
|
604
|
+
readonly color: string;
|
|
605
|
+
readonly textShadow: string;
|
|
606
|
+
readonly fontFamily: string;
|
|
607
|
+
readonly transform?: string;
|
|
608
|
+
}
|
|
609
|
+
export declare function computeBrutalistStyle(options?: BrutalistStyleOptions): BrutalistStyleResult;
|
|
610
|
+
export type BauhausVariant = "primary-red" | "primary-blue" | "primary-yellow" | "rational-white";
|
|
611
|
+
export interface BauhausStyleOptions {
|
|
612
|
+
readonly variant?: BauhausVariant;
|
|
613
|
+
readonly elevation?: number;
|
|
614
|
+
readonly shapeForm?: "square" | "circle" | "standard";
|
|
615
|
+
readonly pressed?: boolean;
|
|
616
|
+
readonly highContrast?: boolean;
|
|
617
|
+
}
|
|
618
|
+
export interface BauhausStyleResult {
|
|
619
|
+
readonly background: string;
|
|
620
|
+
readonly border: string;
|
|
621
|
+
readonly borderRadius: string;
|
|
622
|
+
readonly boxShadow: string;
|
|
623
|
+
readonly color: string;
|
|
624
|
+
readonly textShadow: string;
|
|
625
|
+
readonly fontFamily: string;
|
|
626
|
+
readonly transform?: string;
|
|
627
|
+
}
|
|
628
|
+
export declare function computeBauhausStyle(options?: BauhausStyleOptions): BauhausStyleResult;
|
|
629
|
+
export type MidCenturyModernVariant = "warm-teak" | "atomic-teal" | "mustard-harvest" | "olive-terracotta";
|
|
630
|
+
export interface MidCenturyModernStyleOptions {
|
|
631
|
+
readonly variant?: MidCenturyModernVariant;
|
|
632
|
+
readonly elevation?: number;
|
|
633
|
+
readonly kidneyCurve?: boolean;
|
|
634
|
+
readonly pressed?: boolean;
|
|
635
|
+
readonly highContrast?: boolean;
|
|
636
|
+
}
|
|
637
|
+
export interface MidCenturyModernStyleResult {
|
|
638
|
+
readonly background: string;
|
|
639
|
+
readonly border: string;
|
|
640
|
+
readonly borderRadius: string;
|
|
641
|
+
readonly boxShadow: string;
|
|
642
|
+
readonly color: string;
|
|
643
|
+
readonly textShadow: string;
|
|
644
|
+
readonly fontFamily: string;
|
|
645
|
+
readonly transform?: string;
|
|
646
|
+
}
|
|
647
|
+
export declare function computeMidCenturyModernStyle(options?: MidCenturyModernStyleOptions): MidCenturyModernStyleResult;
|
|
648
|
+
export declare const UKIYOE_WAVE_PATH = "M 0 35 C 15 35, 25 15, 45 15 C 65 15, 75 35, 95 35 C 115 35, 125 10, 145 10 C 165 10, 175 35, 195 35 L 195 50 L 0 50 Z M 135 15 C 138 8, 145 6, 148 12 M 140 18 C 143 12, 149 11, 151 16";
|
|
649
|
+
export declare const UKIYOE_CLOUD_PATH = "M 15 25 C 10 25, 5 20, 8 14 C 11 8, 18 8, 22 12 C 26 6, 36 6, 40 12 C 45 10, 50 14, 48 20 C 52 23, 50 29, 45 30 L 15 30 Z";
|
|
650
|
+
export declare const UKIYOE_HANKO_PATH = "M 4 4 L 36 4 L 36 36 L 4 36 Z M 8 8 L 32 8 L 32 32 L 8 32 Z M 14 12 L 26 12 M 20 12 L 20 28 M 14 20 L 26 20 M 14 28 L 26 28";
|
|
651
|
+
export declare const BRUTALIST_CROSSHAIR_PATH = "M 15 0 L 15 30 M 0 15 L 30 15 M 7 7 L 23 7 L 23 23 L 7 23 Z";
|
|
652
|
+
export declare const BRUTALIST_CORNER_PATH = "M 0 16 L 0 0 L 16 0 M 4 4 L 4 12 M 4 4 L 12 4";
|
|
653
|
+
export declare const BRUTALIST_ARROW_PATH = "M 4 20 L 26 20 M 16 10 L 26 20 L 16 30";
|
|
654
|
+
export declare const BAUHAUS_TRIANGLE_PATH = "M 25 5 L 47 42 L 3 42 Z";
|
|
655
|
+
export declare const BAUHAUS_CIRCLE_PATH = "M 25 5 A 20 20 0 1 0 25 45 A 20 20 0 1 0 25 5 Z";
|
|
656
|
+
export declare const BAUHAUS_SQUARE_PATH = "M 5 5 L 45 5 L 45 45 L 5 45 Z";
|
|
657
|
+
export declare const MCM_SUNBURST_PATH = "M 25 2 L 27 18 L 43 14 L 30 23 L 46 32 L 29 30 L 28 48 L 22 32 L 6 38 L 18 26 L 2 20 L 19 17 Z";
|
|
658
|
+
export declare const MCM_BOOMERANG_PATH = "M 4 36 C 14 24, 24 14, 38 4 C 34 16, 26 28, 14 44 C 9 44, 4 41, 4 36 Z";
|
|
659
|
+
export declare const MCM_KIDNEY_PATH = "M 12 10 C 22 4, 38 8, 44 20 C 48 30, 42 42, 30 44 C 18 46, 6 38, 6 26 C 6 18, 10 12, 12 10 Z";
|