@appinternalleads/ui 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/agent/AgentComponent.js +1 -1
- package/dist/cjs/agent/AgentComponent.js.map +1 -1
- package/dist/cjs/agent/manifests.js +81 -1
- package/dist/cjs/agent/manifests.js.map +1 -1
- package/dist/cjs/agent/result.js +6 -0
- package/dist/cjs/agent/result.js.map +1 -1
- package/dist/cjs/components/catalog.js +18 -0
- package/dist/cjs/components/catalog.js.map +1 -1
- package/dist/cjs/components/onboarding/animated-status/AnimatedStage.js +21 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStage.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStage.types.js +6 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStage.types.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStage.web.js +89 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStage.web.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStatusView.js +62 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStatusView.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStill.js +20 -0
- package/dist/cjs/components/onboarding/animated-status/AnimatedStill.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/contract.js +87 -0
- package/dist/cjs/components/onboarding/animated-status/contract.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/engine.js +40 -0
- package/dist/cjs/components/onboarding/animated-status/engine.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/index.js +20 -0
- package/dist/cjs/components/onboarding/animated-status/index.js.map +1 -0
- package/dist/cjs/components/onboarding/animated-status/presets.json +126 -0
- package/dist/cjs/components/onboarding/animated-status/riv.js +7 -0
- package/dist/cjs/components/onboarding/animated-status/riv.js.map +1 -0
- package/dist/cjs/components/onboarding/index.js +4 -0
- package/dist/cjs/components/onboarding/index.js.map +1 -1
- package/dist/cjs/components/onboarding/presets.js +90 -84
- package/dist/cjs/components/onboarding/presets.js.map +1 -1
- package/dist/cjs/components/onboarding/receipt-printer/ReceiptStage.js +43 -6
- package/dist/cjs/components/onboarding/receipt-printer/ReceiptStage.js.map +1 -1
- package/dist/cjs/components/onboarding/send-completion/SendCompletionView.js +111 -0
- package/dist/cjs/components/onboarding/send-completion/SendCompletionView.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/SendStage.js +37 -0
- package/dist/cjs/components/onboarding/send-completion/SendStage.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/SendStage.types.js +6 -0
- package/dist/cjs/components/onboarding/send-completion/SendStage.types.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/SendStage.web.js +107 -0
- package/dist/cjs/components/onboarding/send-completion/SendStage.web.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/SendStill.js +17 -0
- package/dist/cjs/components/onboarding/send-completion/SendStill.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/contract.js +83 -0
- package/dist/cjs/components/onboarding/send-completion/contract.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/engine.js +32 -0
- package/dist/cjs/components/onboarding/send-completion/engine.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/index.js +22 -0
- package/dist/cjs/components/onboarding/send-completion/index.js.map +1 -0
- package/dist/cjs/components/onboarding/send-completion/presets.json +132 -0
- package/dist/cjs/components/onboarding/send-completion/riv.js +7 -0
- package/dist/cjs/components/onboarding/send-completion/riv.js.map +1 -0
- package/dist/cjs/components/onboarding/shared/actions-data.js +2 -0
- package/dist/cjs/components/onboarding/shared/actions-data.js.map +1 -1
- package/dist/cjs/components/onboarding/shared/configColor.js +76 -0
- package/dist/cjs/components/onboarding/shared/configColor.js.map +1 -0
- package/dist/cjs/components/onboarding/shared/contract.js +4 -0
- package/dist/cjs/components/onboarding/shared/contract.js.map +1 -1
- package/dist/cjs/components/onboarding/shared/describe.js +1 -1
- package/dist/cjs/components/onboarding/shared/describe.js.map +1 -1
- package/dist/cjs/components/onboarding/shared/mock.js +2 -0
- package/dist/cjs/components/onboarding/shared/mock.js.map +1 -1
- package/dist/cjs/components/onboarding/views.js +8 -0
- package/dist/cjs/components/onboarding/views.js.map +1 -1
- package/dist/cjs/motion/MotionPlayer.js +42 -0
- package/dist/cjs/motion/MotionPlayer.js.map +1 -0
- package/dist/cjs/motion/agent.js +323 -0
- package/dist/cjs/motion/agent.js.map +1 -0
- package/dist/cjs/motion/cat/Cat.js +79 -0
- package/dist/cjs/motion/cat/Cat.js.map +1 -0
- package/dist/cjs/motion/cat/animation.js +204 -0
- package/dist/cjs/motion/cat/animation.js.map +1 -0
- package/dist/cjs/motion/cat/art.generated.js +37 -0
- package/dist/cjs/motion/cat/art.generated.js.map +1 -0
- package/dist/cjs/motion/cat/config.js +136 -0
- package/dist/cjs/motion/cat/config.js.map +1 -0
- package/dist/cjs/motion/cat/index.js +75 -0
- package/dist/cjs/motion/cat/index.js.map +1 -0
- package/dist/cjs/motion/cat/rig.js +99 -0
- package/dist/cjs/motion/cat/rig.js.map +1 -0
- package/dist/cjs/motion/cat/scene.js +148 -0
- package/dist/cjs/motion/cat/scene.js.map +1 -0
- package/dist/cjs/motion/configurable/config.js +477 -0
- package/dist/cjs/motion/configurable/config.js.map +1 -0
- package/dist/cjs/motion/configurable/controls.js +44 -0
- package/dist/cjs/motion/configurable/controls.js.map +1 -0
- package/dist/cjs/motion/easing.js +62 -0
- package/dist/cjs/motion/easing.js.map +1 -0
- package/dist/cjs/motion/fit.js +12 -0
- package/dist/cjs/motion/fit.js.map +1 -0
- package/dist/cjs/motion/index.js +101 -0
- package/dist/cjs/motion/index.js.map +1 -0
- package/dist/cjs/motion/neon/GlowRenderer.js +18 -0
- package/dist/cjs/motion/neon/GlowRenderer.js.map +1 -0
- package/dist/cjs/motion/neon/NeonCanvas.js +97 -0
- package/dist/cjs/motion/neon/NeonCanvas.js.map +1 -0
- package/dist/cjs/motion/neon/NeonText.js +108 -0
- package/dist/cjs/motion/neon/NeonText.js.map +1 -0
- package/dist/cjs/motion/neon/NeonTextFrame.js +36 -0
- package/dist/cjs/motion/neon/NeonTextFrame.js.map +1 -0
- package/dist/cjs/motion/neon/artwork.js +102 -0
- package/dist/cjs/motion/neon/artwork.js.map +1 -0
- package/dist/cjs/motion/neon/audio.js +165 -0
- package/dist/cjs/motion/neon/audio.js.map +1 -0
- package/dist/cjs/motion/neon/config.js +334 -0
- package/dist/cjs/motion/neon/config.js.map +1 -0
- package/dist/cjs/motion/neon/flicker.js +196 -0
- package/dist/cjs/motion/neon/flicker.js.map +1 -0
- package/dist/cjs/motion/neon/fonts.js +52 -0
- package/dist/cjs/motion/neon/fonts.js.map +1 -0
- package/dist/cjs/motion/neon/frame.js +24 -0
- package/dist/cjs/motion/neon/frame.js.map +1 -0
- package/dist/cjs/motion/neon/glitch.js +114 -0
- package/dist/cjs/motion/neon/glitch.js.map +1 -0
- package/dist/cjs/motion/neon/index.js +119 -0
- package/dist/cjs/motion/neon/index.js.map +1 -0
- package/dist/cjs/motion/neon/layers.js +68 -0
- package/dist/cjs/motion/neon/layers.js.map +1 -0
- package/dist/cjs/motion/neon/material.js +56 -0
- package/dist/cjs/motion/neon/material.js.map +1 -0
- package/dist/cjs/motion/neon/random.js +43 -0
- package/dist/cjs/motion/neon/random.js.map +1 -0
- package/dist/cjs/motion/neon/scene.js +549 -0
- package/dist/cjs/motion/neon/scene.js.map +1 -0
- package/dist/cjs/motion/neon/synth.js +213 -0
- package/dist/cjs/motion/neon/synth.js.map +1 -0
- package/dist/cjs/motion/neon/typography.js +81 -0
- package/dist/cjs/motion/neon/typography.js.map +1 -0
- package/dist/cjs/motion/neon/wall.js +113 -0
- package/dist/cjs/motion/neon/wall.js.map +1 -0
- package/dist/cjs/motion/paperfold/PaperFold.js +40 -0
- package/dist/cjs/motion/paperfold/PaperFold.js.map +1 -0
- package/dist/cjs/motion/paperfold/PaperFoldFrame.js +290 -0
- package/dist/cjs/motion/paperfold/PaperFoldFrame.js.map +1 -0
- package/dist/cjs/motion/paperfold/PaperFoldPlayer.js +59 -0
- package/dist/cjs/motion/paperfold/PaperFoldPlayer.js.map +1 -0
- package/dist/cjs/motion/paperfold/art.js +388 -0
- package/dist/cjs/motion/paperfold/art.js.map +1 -0
- package/dist/cjs/motion/paperfold/config.js +103 -0
- package/dist/cjs/motion/paperfold/config.js.map +1 -0
- package/dist/cjs/motion/paperfold/controls.js +493 -0
- package/dist/cjs/motion/paperfold/controls.js.map +1 -0
- package/dist/cjs/motion/paperfold/engine.js +722 -0
- package/dist/cjs/motion/paperfold/engine.js.map +1 -0
- package/dist/cjs/motion/paperfold/fonts.js +25 -0
- package/dist/cjs/motion/paperfold/fonts.js.map +1 -0
- package/dist/cjs/motion/paperfold/index.js +113 -0
- package/dist/cjs/motion/paperfold/index.js.map +1 -0
- package/dist/cjs/motion/paperfold/manipulate.js +170 -0
- package/dist/cjs/motion/paperfold/manipulate.js.map +1 -0
- package/dist/cjs/motion/paperfold/presets.js +119 -0
- package/dist/cjs/motion/paperfold/presets.js.map +1 -0
- package/dist/cjs/motion/paperfold/template.js +40 -0
- package/dist/cjs/motion/paperfold/template.js.map +1 -0
- package/dist/cjs/motion/player.js +203 -0
- package/dist/cjs/motion/player.js.map +1 -0
- package/dist/cjs/motion/promo/PromoFrame.js +293 -0
- package/dist/cjs/motion/promo/PromoFrame.js.map +1 -0
- package/dist/cjs/motion/promo/PromoShowcasePlayer.js +59 -0
- package/dist/cjs/motion/promo/PromoShowcasePlayer.js.map +1 -0
- package/dist/cjs/motion/promo/config.js +565 -0
- package/dist/cjs/motion/promo/config.js.map +1 -0
- package/dist/cjs/motion/promo/controls.js +571 -0
- package/dist/cjs/motion/promo/controls.js.map +1 -0
- package/dist/cjs/motion/promo/easing.js +35 -0
- package/dist/cjs/motion/promo/easing.js.map +1 -0
- package/dist/cjs/motion/promo/engine.js +567 -0
- package/dist/cjs/motion/promo/engine.js.map +1 -0
- package/dist/cjs/motion/promo/fonts.js +20 -0
- package/dist/cjs/motion/promo/fonts.js.map +1 -0
- package/dist/cjs/motion/promo/icons.js +29 -0
- package/dist/cjs/motion/promo/icons.js.map +1 -0
- package/dist/cjs/motion/promo/index.js +73 -0
- package/dist/cjs/motion/promo/index.js.map +1 -0
- package/dist/cjs/motion/promo/presets.js +44 -0
- package/dist/cjs/motion/promo/presets.js.map +1 -0
- package/dist/cjs/motion/promo/template.js +38 -0
- package/dist/cjs/motion/promo/template.js.map +1 -0
- package/dist/cjs/motion/replication2/Replication2Player.js +93 -0
- package/dist/cjs/motion/replication2/Replication2Player.js.map +1 -0
- package/dist/cjs/motion/replication2/config.js +352 -0
- package/dist/cjs/motion/replication2/config.js.map +1 -0
- package/dist/cjs/motion/replication2/controls.js +286 -0
- package/dist/cjs/motion/replication2/controls.js.map +1 -0
- package/dist/cjs/motion/replication2/driver.js +68 -0
- package/dist/cjs/motion/replication2/driver.js.map +1 -0
- package/dist/cjs/motion/replication2/easing.js +97 -0
- package/dist/cjs/motion/replication2/easing.js.map +1 -0
- package/dist/cjs/motion/replication2/engine.js +481 -0
- package/dist/cjs/motion/replication2/engine.js.map +1 -0
- package/dist/cjs/motion/replication2/html.js +88 -0
- package/dist/cjs/motion/replication2/html.js.map +1 -0
- package/dist/cjs/motion/replication2/index.js +61 -0
- package/dist/cjs/motion/replication2/index.js.map +1 -0
- package/dist/cjs/motion/replication2/measure.js +30 -0
- package/dist/cjs/motion/replication2/measure.js.map +1 -0
- package/dist/cjs/motion/replication2/metrics.js +10 -0
- package/dist/cjs/motion/replication2/metrics.js.map +1 -0
- package/dist/cjs/motion/replication2/presets.js +67 -0
- package/dist/cjs/motion/replication2/presets.js.map +1 -0
- package/dist/cjs/motion/replication2/riv.js +7 -0
- package/dist/cjs/motion/replication2/riv.js.map +1 -0
- package/dist/cjs/motion/replication2/rive-contract.js +158 -0
- package/dist/cjs/motion/replication2/rive-contract.js.map +1 -0
- package/dist/cjs/motion/replication2/template.js +35 -0
- package/dist/cjs/motion/replication2/template.js.map +1 -0
- package/dist/cjs/motion/sample.js +149 -0
- package/dist/cjs/motion/sample.js.map +1 -0
- package/dist/cjs/motion/templates/hey-template.js +1552 -0
- package/dist/cjs/motion/templates/hey-template.js.map +1 -0
- package/dist/cjs/motion/templates/index.js +22 -0
- package/dist/cjs/motion/templates/index.js.map +1 -0
- package/dist/cjs/motion/templates/word-motion.js +1165 -0
- package/dist/cjs/motion/templates/word-motion.js.map +1 -0
- package/dist/cjs/motion/types.js +3 -0
- package/dist/cjs/motion/types.js.map +1 -0
- package/dist/cjs/motion/typesurface/TypeSurfaceCanvas.js +62 -0
- package/dist/cjs/motion/typesurface/TypeSurfaceCanvas.js.map +1 -0
- package/dist/cjs/motion/typesurface/art.js +861 -0
- package/dist/cjs/motion/typesurface/art.js.map +1 -0
- package/dist/cjs/motion/typesurface/config.js +269 -0
- package/dist/cjs/motion/typesurface/config.js.map +1 -0
- package/dist/cjs/motion/typesurface/engine.js +607 -0
- package/dist/cjs/motion/typesurface/engine.js.map +1 -0
- package/dist/cjs/motion/typesurface/fonts.js +45 -0
- package/dist/cjs/motion/typesurface/fonts.js.map +1 -0
- package/dist/cjs/motion/typesurface/index.js +72 -0
- package/dist/cjs/motion/typesurface/index.js.map +1 -0
- package/dist/cjs/motion/typesurface/layout.js +130 -0
- package/dist/cjs/motion/typesurface/layout.js.map +1 -0
- package/dist/cjs/motion/typesurface/ops.js +175 -0
- package/dist/cjs/motion/typesurface/ops.js.map +1 -0
- package/dist/cjs/motion/typesurface/presets.js +192 -0
- package/dist/cjs/motion/typesurface/presets.js.map +1 -0
- package/dist/cjs/motion/typesurface/renderer.js +672 -0
- package/dist/cjs/motion/typesurface/renderer.js.map +1 -0
- package/dist/cjs/motion/typesurface/shaders.js +300 -0
- package/dist/cjs/motion/typesurface/shaders.js.map +1 -0
- package/dist/cjs/motion/typesurface/surfaces.js +156 -0
- package/dist/cjs/motion/typesurface/surfaces.js.map +1 -0
- package/dist/cjs/motion/typesurface/text.js +34 -0
- package/dist/cjs/motion/typesurface/text.js.map +1 -0
- package/dist/cjs/motion/typesurface/timeline.js +64 -0
- package/dist/cjs/motion/typesurface/timeline.js.map +1 -0
- package/dist/cjs/motion/validate.js +89 -0
- package/dist/cjs/motion/validate.js.map +1 -0
- package/dist/cjs/native/RiveReceiptStage.js +9 -150
- package/dist/cjs/native/RiveReceiptStage.js.map +1 -1
- package/dist/cjs/native/riveReceiptStageFactory.js +162 -0
- package/dist/cjs/native/riveReceiptStageFactory.js.map +1 -0
- package/dist/cjs/tokens/stage.js +10 -0
- package/dist/cjs/tokens/stage.js.map +1 -0
- package/dist/esm/agent/AgentComponent.js +1 -1
- package/dist/esm/agent/AgentComponent.js.map +1 -1
- package/dist/esm/agent/manifests.d.ts.map +1 -1
- package/dist/esm/agent/manifests.js +81 -1
- package/dist/esm/agent/manifests.js.map +1 -1
- package/dist/esm/agent/result.d.ts.map +1 -1
- package/dist/esm/agent/result.js +6 -0
- package/dist/esm/agent/result.js.map +1 -1
- package/dist/esm/agent/types.d.ts +1 -1
- package/dist/esm/agent/types.d.ts.map +1 -1
- package/dist/esm/components/catalog.d.ts +1 -1
- package/dist/esm/components/catalog.d.ts.map +1 -1
- package/dist/esm/components/catalog.js +18 -0
- package/dist/esm/components/catalog.js.map +1 -1
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.d.ts +9 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.js +18 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.d.ts +31 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.js +3 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.types.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.d.ts +4 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.js +86 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStage.web.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.d.ts +32 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.js +59 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStatusView.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStill.d.ts +8 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStill.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStill.js +17 -0
- package/dist/esm/components/onboarding/animated-status/AnimatedStill.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/contract.d.ts +61 -0
- package/dist/esm/components/onboarding/animated-status/contract.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/contract.js +78 -0
- package/dist/esm/components/onboarding/animated-status/contract.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/engine.d.ts +24 -0
- package/dist/esm/components/onboarding/animated-status/engine.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/engine.js +32 -0
- package/dist/esm/components/onboarding/animated-status/engine.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/index.d.ts +5 -0
- package/dist/esm/components/onboarding/animated-status/index.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/index.js +4 -0
- package/dist/esm/components/onboarding/animated-status/index.js.map +1 -0
- package/dist/esm/components/onboarding/animated-status/presets.json +126 -0
- package/dist/esm/components/onboarding/animated-status/riv.d.ts +3 -0
- package/dist/esm/components/onboarding/animated-status/riv.d.ts.map +1 -0
- package/dist/esm/components/onboarding/animated-status/riv.js +4 -0
- package/dist/esm/components/onboarding/animated-status/riv.js.map +1 -0
- package/dist/esm/components/onboarding/index.d.ts +2 -0
- package/dist/esm/components/onboarding/index.d.ts.map +1 -1
- package/dist/esm/components/onboarding/index.js +4 -0
- package/dist/esm/components/onboarding/index.js.map +1 -1
- package/dist/esm/components/onboarding/presets.d.ts.map +1 -1
- package/dist/esm/components/onboarding/presets.js +6 -0
- package/dist/esm/components/onboarding/presets.js.map +1 -1
- package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.d.ts +4 -6
- package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.d.ts.map +1 -1
- package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.js +42 -6
- package/dist/esm/components/onboarding/receipt-printer/ReceiptStage.js.map +1 -1
- package/dist/esm/components/onboarding/send-completion/SendCompletionView.d.ts +47 -0
- package/dist/esm/components/onboarding/send-completion/SendCompletionView.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendCompletionView.js +108 -0
- package/dist/esm/components/onboarding/send-completion/SendCompletionView.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.d.ts +9 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.js +34 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.types.d.ts +33 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.types.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.types.js +3 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.types.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.web.d.ts +4 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.web.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.web.js +104 -0
- package/dist/esm/components/onboarding/send-completion/SendStage.web.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStill.d.ts +11 -0
- package/dist/esm/components/onboarding/send-completion/SendStill.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/SendStill.js +14 -0
- package/dist/esm/components/onboarding/send-completion/SendStill.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/contract.d.ts +99 -0
- package/dist/esm/components/onboarding/send-completion/contract.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/contract.js +76 -0
- package/dist/esm/components/onboarding/send-completion/contract.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/engine.d.ts +20 -0
- package/dist/esm/components/onboarding/send-completion/engine.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/engine.js +28 -0
- package/dist/esm/components/onboarding/send-completion/engine.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/index.d.ts +6 -0
- package/dist/esm/components/onboarding/send-completion/index.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/index.js +6 -0
- package/dist/esm/components/onboarding/send-completion/index.js.map +1 -0
- package/dist/esm/components/onboarding/send-completion/presets.json +132 -0
- package/dist/esm/components/onboarding/send-completion/riv.d.ts +3 -0
- package/dist/esm/components/onboarding/send-completion/riv.d.ts.map +1 -0
- package/dist/esm/components/onboarding/send-completion/riv.js +4 -0
- package/dist/esm/components/onboarding/send-completion/riv.js.map +1 -0
- package/dist/esm/components/onboarding/shared/actions-data.d.ts.map +1 -1
- package/dist/esm/components/onboarding/shared/actions-data.js +2 -0
- package/dist/esm/components/onboarding/shared/actions-data.js.map +1 -1
- package/dist/esm/components/onboarding/shared/configColor.d.ts +29 -0
- package/dist/esm/components/onboarding/shared/configColor.d.ts.map +1 -0
- package/dist/esm/components/onboarding/shared/configColor.js +69 -0
- package/dist/esm/components/onboarding/shared/configColor.js.map +1 -0
- package/dist/esm/components/onboarding/shared/contract.d.ts +1 -1
- package/dist/esm/components/onboarding/shared/contract.d.ts.map +1 -1
- package/dist/esm/components/onboarding/shared/contract.js +4 -0
- package/dist/esm/components/onboarding/shared/contract.js.map +1 -1
- package/dist/esm/components/onboarding/shared/describe.d.ts.map +1 -1
- package/dist/esm/components/onboarding/shared/describe.js +1 -1
- package/dist/esm/components/onboarding/shared/describe.js.map +1 -1
- package/dist/esm/components/onboarding/shared/mock.d.ts +2 -0
- package/dist/esm/components/onboarding/shared/mock.d.ts.map +1 -1
- package/dist/esm/components/onboarding/shared/mock.js +2 -0
- package/dist/esm/components/onboarding/shared/mock.js.map +1 -1
- package/dist/esm/components/onboarding/views.d.ts.map +1 -1
- package/dist/esm/components/onboarding/views.js +8 -0
- package/dist/esm/components/onboarding/views.js.map +1 -1
- package/dist/esm/motion/MotionPlayer.d.ts +22 -0
- package/dist/esm/motion/MotionPlayer.d.ts.map +1 -0
- package/dist/esm/motion/MotionPlayer.js +39 -0
- package/dist/esm/motion/MotionPlayer.js.map +1 -0
- package/dist/esm/motion/agent.d.ts +146 -0
- package/dist/esm/motion/agent.d.ts.map +1 -0
- package/dist/esm/motion/agent.js +278 -0
- package/dist/esm/motion/agent.js.map +1 -0
- package/dist/esm/motion/cat/Cat.d.ts +43 -0
- package/dist/esm/motion/cat/Cat.d.ts.map +1 -0
- package/dist/esm/motion/cat/Cat.js +74 -0
- package/dist/esm/motion/cat/Cat.js.map +1 -0
- package/dist/esm/motion/cat/animation.d.ts +86 -0
- package/dist/esm/motion/cat/animation.d.ts.map +1 -0
- package/dist/esm/motion/cat/animation.js +193 -0
- package/dist/esm/motion/cat/animation.js.map +1 -0
- package/dist/esm/motion/cat/art.generated.d.ts +53 -0
- package/dist/esm/motion/cat/art.generated.d.ts.map +1 -0
- package/dist/esm/motion/cat/art.generated.js +34 -0
- package/dist/esm/motion/cat/art.generated.js.map +1 -0
- package/dist/esm/motion/cat/config.d.ts +103 -0
- package/dist/esm/motion/cat/config.d.ts.map +1 -0
- package/dist/esm/motion/cat/config.js +129 -0
- package/dist/esm/motion/cat/config.js.map +1 -0
- package/dist/esm/motion/cat/index.d.ts +13 -0
- package/dist/esm/motion/cat/index.d.ts.map +1 -0
- package/dist/esm/motion/cat/index.js +13 -0
- package/dist/esm/motion/cat/index.js.map +1 -0
- package/dist/esm/motion/cat/rig.d.ts +44 -0
- package/dist/esm/motion/cat/rig.d.ts.map +1 -0
- package/dist/esm/motion/cat/rig.js +86 -0
- package/dist/esm/motion/cat/rig.js.map +1 -0
- package/dist/esm/motion/cat/scene.d.ts +66 -0
- package/dist/esm/motion/cat/scene.d.ts.map +1 -0
- package/dist/esm/motion/cat/scene.js +137 -0
- package/dist/esm/motion/cat/scene.js.map +1 -0
- package/dist/esm/motion/configurable/config.d.ts +80 -0
- package/dist/esm/motion/configurable/config.d.ts.map +1 -0
- package/dist/esm/motion/configurable/config.js +468 -0
- package/dist/esm/motion/configurable/config.js.map +1 -0
- package/dist/esm/motion/configurable/controls.d.ts +74 -0
- package/dist/esm/motion/configurable/controls.d.ts.map +1 -0
- package/dist/esm/motion/configurable/controls.js +38 -0
- package/dist/esm/motion/configurable/controls.js.map +1 -0
- package/dist/esm/motion/easing.d.ts +4 -0
- package/dist/esm/motion/easing.d.ts.map +1 -0
- package/dist/esm/motion/easing.js +58 -0
- package/dist/esm/motion/easing.js.map +1 -0
- package/dist/esm/motion/fit.d.ts +8 -0
- package/dist/esm/motion/fit.d.ts.map +1 -0
- package/dist/esm/motion/fit.js +8 -0
- package/dist/esm/motion/fit.js.map +1 -0
- package/dist/esm/motion/index.d.ts +27 -0
- package/dist/esm/motion/index.d.ts.map +1 -0
- package/dist/esm/motion/index.js +21 -0
- package/dist/esm/motion/index.js.map +1 -0
- package/dist/esm/motion/neon/GlowRenderer.d.ts +31 -0
- package/dist/esm/motion/neon/GlowRenderer.d.ts.map +1 -0
- package/dist/esm/motion/neon/GlowRenderer.js +14 -0
- package/dist/esm/motion/neon/GlowRenderer.js.map +1 -0
- package/dist/esm/motion/neon/NeonCanvas.d.ts +42 -0
- package/dist/esm/motion/neon/NeonCanvas.d.ts.map +1 -0
- package/dist/esm/motion/neon/NeonCanvas.js +92 -0
- package/dist/esm/motion/neon/NeonCanvas.js.map +1 -0
- package/dist/esm/motion/neon/NeonText.d.ts +26 -0
- package/dist/esm/motion/neon/NeonText.d.ts.map +1 -0
- package/dist/esm/motion/neon/NeonText.js +103 -0
- package/dist/esm/motion/neon/NeonText.js.map +1 -0
- package/dist/esm/motion/neon/NeonTextFrame.d.ts +29 -0
- package/dist/esm/motion/neon/NeonTextFrame.d.ts.map +1 -0
- package/dist/esm/motion/neon/NeonTextFrame.js +33 -0
- package/dist/esm/motion/neon/NeonTextFrame.js.map +1 -0
- package/dist/esm/motion/neon/artwork.d.ts +29 -0
- package/dist/esm/motion/neon/artwork.d.ts.map +1 -0
- package/dist/esm/motion/neon/artwork.js +98 -0
- package/dist/esm/motion/neon/artwork.js.map +1 -0
- package/dist/esm/motion/neon/audio.d.ts +49 -0
- package/dist/esm/motion/neon/audio.d.ts.map +1 -0
- package/dist/esm/motion/neon/audio.js +161 -0
- package/dist/esm/motion/neon/audio.js.map +1 -0
- package/dist/esm/motion/neon/config.d.ts +319 -0
- package/dist/esm/motion/neon/config.d.ts.map +1 -0
- package/dist/esm/motion/neon/config.js +319 -0
- package/dist/esm/motion/neon/config.js.map +1 -0
- package/dist/esm/motion/neon/flicker.d.ts +82 -0
- package/dist/esm/motion/neon/flicker.d.ts.map +1 -0
- package/dist/esm/motion/neon/flicker.js +187 -0
- package/dist/esm/motion/neon/flicker.js.map +1 -0
- package/dist/esm/motion/neon/fonts.d.ts +29 -0
- package/dist/esm/motion/neon/fonts.d.ts.map +1 -0
- package/dist/esm/motion/neon/fonts.js +47 -0
- package/dist/esm/motion/neon/fonts.js.map +1 -0
- package/dist/esm/motion/neon/frame.d.ts +22 -0
- package/dist/esm/motion/neon/frame.d.ts.map +1 -0
- package/dist/esm/motion/neon/frame.js +20 -0
- package/dist/esm/motion/neon/frame.js.map +1 -0
- package/dist/esm/motion/neon/glitch.d.ts +64 -0
- package/dist/esm/motion/neon/glitch.d.ts.map +1 -0
- package/dist/esm/motion/neon/glitch.js +108 -0
- package/dist/esm/motion/neon/glitch.js.map +1 -0
- package/dist/esm/motion/neon/index.d.ts +29 -0
- package/dist/esm/motion/neon/index.d.ts.map +1 -0
- package/dist/esm/motion/neon/index.js +28 -0
- package/dist/esm/motion/neon/index.js.map +1 -0
- package/dist/esm/motion/neon/layers.d.ts +56 -0
- package/dist/esm/motion/neon/layers.d.ts.map +1 -0
- package/dist/esm/motion/neon/layers.js +64 -0
- package/dist/esm/motion/neon/layers.js.map +1 -0
- package/dist/esm/motion/neon/material.d.ts +68 -0
- package/dist/esm/motion/neon/material.d.ts.map +1 -0
- package/dist/esm/motion/neon/material.js +51 -0
- package/dist/esm/motion/neon/material.js.map +1 -0
- package/dist/esm/motion/neon/random.d.ts +15 -0
- package/dist/esm/motion/neon/random.d.ts.map +1 -0
- package/dist/esm/motion/neon/random.js +37 -0
- package/dist/esm/motion/neon/random.js.map +1 -0
- package/dist/esm/motion/neon/scene.d.ts +255 -0
- package/dist/esm/motion/neon/scene.d.ts.map +1 -0
- package/dist/esm/motion/neon/scene.js +532 -0
- package/dist/esm/motion/neon/scene.js.map +1 -0
- package/dist/esm/motion/neon/synth.d.ts +18 -0
- package/dist/esm/motion/neon/synth.d.ts.map +1 -0
- package/dist/esm/motion/neon/synth.js +208 -0
- package/dist/esm/motion/neon/synth.js.map +1 -0
- package/dist/esm/motion/neon/typography.d.ts +53 -0
- package/dist/esm/motion/neon/typography.d.ts.map +1 -0
- package/dist/esm/motion/neon/typography.js +74 -0
- package/dist/esm/motion/neon/typography.js.map +1 -0
- package/dist/esm/motion/neon/wall.d.ts +62 -0
- package/dist/esm/motion/neon/wall.d.ts.map +1 -0
- package/dist/esm/motion/neon/wall.js +106 -0
- package/dist/esm/motion/neon/wall.js.map +1 -0
- package/dist/esm/motion/paperfold/PaperFold.d.ts +36 -0
- package/dist/esm/motion/paperfold/PaperFold.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/PaperFold.js +37 -0
- package/dist/esm/motion/paperfold/PaperFold.js.map +1 -0
- package/dist/esm/motion/paperfold/PaperFoldFrame.d.ts +39 -0
- package/dist/esm/motion/paperfold/PaperFoldFrame.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/PaperFoldFrame.js +283 -0
- package/dist/esm/motion/paperfold/PaperFoldFrame.js.map +1 -0
- package/dist/esm/motion/paperfold/PaperFoldPlayer.d.ts +27 -0
- package/dist/esm/motion/paperfold/PaperFoldPlayer.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/PaperFoldPlayer.js +56 -0
- package/dist/esm/motion/paperfold/PaperFoldPlayer.js.map +1 -0
- package/dist/esm/motion/paperfold/art.d.ts +148 -0
- package/dist/esm/motion/paperfold/art.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/art.js +374 -0
- package/dist/esm/motion/paperfold/art.js.map +1 -0
- package/dist/esm/motion/paperfold/config.d.ts +47 -0
- package/dist/esm/motion/paperfold/config.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/config.js +96 -0
- package/dist/esm/motion/paperfold/config.js.map +1 -0
- package/dist/esm/motion/paperfold/controls.d.ts +57 -0
- package/dist/esm/motion/paperfold/controls.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/controls.js +506 -0
- package/dist/esm/motion/paperfold/controls.js.map +1 -0
- package/dist/esm/motion/paperfold/engine.d.ts +397 -0
- package/dist/esm/motion/paperfold/engine.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/engine.js +699 -0
- package/dist/esm/motion/paperfold/engine.js.map +1 -0
- package/dist/esm/motion/paperfold/fonts.d.ts +3 -0
- package/dist/esm/motion/paperfold/fonts.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/fonts.js +21 -0
- package/dist/esm/motion/paperfold/fonts.js.map +1 -0
- package/dist/esm/motion/paperfold/index.d.ts +17 -0
- package/dist/esm/motion/paperfold/index.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/index.js +17 -0
- package/dist/esm/motion/paperfold/index.js.map +1 -0
- package/dist/esm/motion/paperfold/manipulate.d.ts +59 -0
- package/dist/esm/motion/paperfold/manipulate.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/manipulate.js +161 -0
- package/dist/esm/motion/paperfold/manipulate.js.map +1 -0
- package/dist/esm/motion/paperfold/presets.d.ts +9 -0
- package/dist/esm/motion/paperfold/presets.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/presets.js +115 -0
- package/dist/esm/motion/paperfold/presets.js.map +1 -0
- package/dist/esm/motion/paperfold/template.d.ts +3 -0
- package/dist/esm/motion/paperfold/template.d.ts.map +1 -0
- package/dist/esm/motion/paperfold/template.js +37 -0
- package/dist/esm/motion/paperfold/template.js.map +1 -0
- package/dist/esm/motion/player.d.ts +35 -0
- package/dist/esm/motion/player.d.ts.map +1 -0
- package/dist/esm/motion/player.js +197 -0
- package/dist/esm/motion/player.js.map +1 -0
- package/dist/esm/motion/promo/PromoFrame.d.ts +31 -0
- package/dist/esm/motion/promo/PromoFrame.d.ts.map +1 -0
- package/dist/esm/motion/promo/PromoFrame.js +288 -0
- package/dist/esm/motion/promo/PromoFrame.js.map +1 -0
- package/dist/esm/motion/promo/PromoShowcasePlayer.d.ts +25 -0
- package/dist/esm/motion/promo/PromoShowcasePlayer.d.ts.map +1 -0
- package/dist/esm/motion/promo/PromoShowcasePlayer.js +56 -0
- package/dist/esm/motion/promo/PromoShowcasePlayer.js.map +1 -0
- package/dist/esm/motion/promo/config.d.ts +91 -0
- package/dist/esm/motion/promo/config.d.ts.map +1 -0
- package/dist/esm/motion/promo/config.js +550 -0
- package/dist/esm/motion/promo/config.js.map +1 -0
- package/dist/esm/motion/promo/controls.d.ts +86 -0
- package/dist/esm/motion/promo/controls.d.ts.map +1 -0
- package/dist/esm/motion/promo/controls.js +567 -0
- package/dist/esm/motion/promo/controls.js.map +1 -0
- package/dist/esm/motion/promo/easing.d.ts +3 -0
- package/dist/esm/motion/promo/easing.d.ts.map +1 -0
- package/dist/esm/motion/promo/easing.js +32 -0
- package/dist/esm/motion/promo/easing.js.map +1 -0
- package/dist/esm/motion/promo/engine.d.ts +205 -0
- package/dist/esm/motion/promo/engine.d.ts.map +1 -0
- package/dist/esm/motion/promo/engine.js +551 -0
- package/dist/esm/motion/promo/engine.js.map +1 -0
- package/dist/esm/motion/promo/fonts.d.ts +7 -0
- package/dist/esm/motion/promo/fonts.d.ts.map +1 -0
- package/dist/esm/motion/promo/fonts.js +16 -0
- package/dist/esm/motion/promo/fonts.js.map +1 -0
- package/dist/esm/motion/promo/icons.d.ts +7 -0
- package/dist/esm/motion/promo/icons.d.ts.map +1 -0
- package/dist/esm/motion/promo/icons.js +26 -0
- package/dist/esm/motion/promo/icons.js.map +1 -0
- package/dist/esm/motion/promo/index.d.ts +15 -0
- package/dist/esm/motion/promo/index.d.ts.map +1 -0
- package/dist/esm/motion/promo/index.js +15 -0
- package/dist/esm/motion/promo/index.js.map +1 -0
- package/dist/esm/motion/promo/presets.d.ts +13 -0
- package/dist/esm/motion/promo/presets.d.ts.map +1 -0
- package/dist/esm/motion/promo/presets.js +40 -0
- package/dist/esm/motion/promo/presets.js.map +1 -0
- package/dist/esm/motion/promo/template.d.ts +8 -0
- package/dist/esm/motion/promo/template.d.ts.map +1 -0
- package/dist/esm/motion/promo/template.js +35 -0
- package/dist/esm/motion/promo/template.js.map +1 -0
- package/dist/esm/motion/replication2/Replication2Player.d.ts +26 -0
- package/dist/esm/motion/replication2/Replication2Player.d.ts.map +1 -0
- package/dist/esm/motion/replication2/Replication2Player.js +90 -0
- package/dist/esm/motion/replication2/Replication2Player.js.map +1 -0
- package/dist/esm/motion/replication2/config.d.ts +78 -0
- package/dist/esm/motion/replication2/config.d.ts.map +1 -0
- package/dist/esm/motion/replication2/config.js +341 -0
- package/dist/esm/motion/replication2/config.js.map +1 -0
- package/dist/esm/motion/replication2/controls.d.ts +70 -0
- package/dist/esm/motion/replication2/controls.d.ts.map +1 -0
- package/dist/esm/motion/replication2/controls.js +283 -0
- package/dist/esm/motion/replication2/controls.js.map +1 -0
- package/dist/esm/motion/replication2/driver.d.ts +23 -0
- package/dist/esm/motion/replication2/driver.d.ts.map +1 -0
- package/dist/esm/motion/replication2/driver.js +65 -0
- package/dist/esm/motion/replication2/driver.js.map +1 -0
- package/dist/esm/motion/replication2/easing.d.ts +19 -0
- package/dist/esm/motion/replication2/easing.d.ts.map +1 -0
- package/dist/esm/motion/replication2/easing.js +92 -0
- package/dist/esm/motion/replication2/easing.js.map +1 -0
- package/dist/esm/motion/replication2/engine.d.ts +236 -0
- package/dist/esm/motion/replication2/engine.d.ts.map +1 -0
- package/dist/esm/motion/replication2/engine.js +470 -0
- package/dist/esm/motion/replication2/engine.js.map +1 -0
- package/dist/esm/motion/replication2/html.d.ts +30 -0
- package/dist/esm/motion/replication2/html.d.ts.map +1 -0
- package/dist/esm/motion/replication2/html.js +83 -0
- package/dist/esm/motion/replication2/html.js.map +1 -0
- package/dist/esm/motion/replication2/index.d.ts +15 -0
- package/dist/esm/motion/replication2/index.d.ts.map +1 -0
- package/dist/esm/motion/replication2/index.js +15 -0
- package/dist/esm/motion/replication2/index.js.map +1 -0
- package/dist/esm/motion/replication2/measure.d.ts +3 -0
- package/dist/esm/motion/replication2/measure.d.ts.map +1 -0
- package/dist/esm/motion/replication2/measure.js +27 -0
- package/dist/esm/motion/replication2/measure.js.map +1 -0
- package/dist/esm/motion/replication2/metrics.d.ts +6 -0
- package/dist/esm/motion/replication2/metrics.d.ts.map +1 -0
- package/dist/esm/motion/replication2/metrics.js +7 -0
- package/dist/esm/motion/replication2/metrics.js.map +1 -0
- package/dist/esm/motion/replication2/presets.d.ts +13 -0
- package/dist/esm/motion/replication2/presets.d.ts.map +1 -0
- package/dist/esm/motion/replication2/presets.js +63 -0
- package/dist/esm/motion/replication2/presets.js.map +1 -0
- package/dist/esm/motion/replication2/riv.d.ts +3 -0
- package/dist/esm/motion/replication2/riv.d.ts.map +1 -0
- package/dist/esm/motion/replication2/riv.js +4 -0
- package/dist/esm/motion/replication2/riv.js.map +1 -0
- package/dist/esm/motion/replication2/rive-contract.d.ts +27 -0
- package/dist/esm/motion/replication2/rive-contract.d.ts.map +1 -0
- package/dist/esm/motion/replication2/rive-contract.js +153 -0
- package/dist/esm/motion/replication2/rive-contract.js.map +1 -0
- package/dist/esm/motion/replication2/template.d.ts +8 -0
- package/dist/esm/motion/replication2/template.d.ts.map +1 -0
- package/dist/esm/motion/replication2/template.js +32 -0
- package/dist/esm/motion/replication2/template.js.map +1 -0
- package/dist/esm/motion/sample.d.ts +61 -0
- package/dist/esm/motion/sample.d.ts.map +1 -0
- package/dist/esm/motion/sample.js +138 -0
- package/dist/esm/motion/sample.js.map +1 -0
- package/dist/esm/motion/templates/hey-template.d.ts +3 -0
- package/dist/esm/motion/templates/hey-template.d.ts.map +1 -0
- package/dist/esm/motion/templates/hey-template.js +1549 -0
- package/dist/esm/motion/templates/hey-template.js.map +1 -0
- package/dist/esm/motion/templates/index.d.ts +22 -0
- package/dist/esm/motion/templates/index.d.ts.map +1 -0
- package/dist/esm/motion/templates/index.js +15 -0
- package/dist/esm/motion/templates/index.js.map +1 -0
- package/dist/esm/motion/templates/word-motion.d.ts +3 -0
- package/dist/esm/motion/templates/word-motion.d.ts.map +1 -0
- package/dist/esm/motion/templates/word-motion.js +1162 -0
- package/dist/esm/motion/templates/word-motion.js.map +1 -0
- package/dist/esm/motion/types.d.ts +192 -0
- package/dist/esm/motion/types.d.ts.map +1 -0
- package/dist/esm/motion/types.js +2 -0
- package/dist/esm/motion/types.js.map +1 -0
- package/dist/esm/motion/typesurface/TypeSurfaceCanvas.d.ts +22 -0
- package/dist/esm/motion/typesurface/TypeSurfaceCanvas.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/TypeSurfaceCanvas.js +58 -0
- package/dist/esm/motion/typesurface/TypeSurfaceCanvas.js.map +1 -0
- package/dist/esm/motion/typesurface/art.d.ts +21 -0
- package/dist/esm/motion/typesurface/art.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/art.js +854 -0
- package/dist/esm/motion/typesurface/art.js.map +1 -0
- package/dist/esm/motion/typesurface/config.d.ts +273 -0
- package/dist/esm/motion/typesurface/config.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/config.js +260 -0
- package/dist/esm/motion/typesurface/config.js.map +1 -0
- package/dist/esm/motion/typesurface/engine.d.ts +94 -0
- package/dist/esm/motion/typesurface/engine.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/engine.js +603 -0
- package/dist/esm/motion/typesurface/engine.js.map +1 -0
- package/dist/esm/motion/typesurface/fonts.d.ts +25 -0
- package/dist/esm/motion/typesurface/fonts.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/fonts.js +40 -0
- package/dist/esm/motion/typesurface/fonts.js.map +1 -0
- package/dist/esm/motion/typesurface/index.d.ts +17 -0
- package/dist/esm/motion/typesurface/index.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/index.js +17 -0
- package/dist/esm/motion/typesurface/index.js.map +1 -0
- package/dist/esm/motion/typesurface/layout.d.ts +57 -0
- package/dist/esm/motion/typesurface/layout.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/layout.js +122 -0
- package/dist/esm/motion/typesurface/layout.js.map +1 -0
- package/dist/esm/motion/typesurface/ops.d.ts +70 -0
- package/dist/esm/motion/typesurface/ops.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/ops.js +164 -0
- package/dist/esm/motion/typesurface/ops.js.map +1 -0
- package/dist/esm/motion/typesurface/presets.d.ts +33 -0
- package/dist/esm/motion/typesurface/presets.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/presets.js +185 -0
- package/dist/esm/motion/typesurface/presets.js.map +1 -0
- package/dist/esm/motion/typesurface/renderer.d.ts +78 -0
- package/dist/esm/motion/typesurface/renderer.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/renderer.js +666 -0
- package/dist/esm/motion/typesurface/renderer.js.map +1 -0
- package/dist/esm/motion/typesurface/shaders.d.ts +17 -0
- package/dist/esm/motion/typesurface/shaders.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/shaders.js +297 -0
- package/dist/esm/motion/typesurface/shaders.js.map +1 -0
- package/dist/esm/motion/typesurface/surfaces.d.ts +81 -0
- package/dist/esm/motion/typesurface/surfaces.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/surfaces.js +149 -0
- package/dist/esm/motion/typesurface/surfaces.js.map +1 -0
- package/dist/esm/motion/typesurface/text.d.ts +17 -0
- package/dist/esm/motion/typesurface/text.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/text.js +28 -0
- package/dist/esm/motion/typesurface/text.js.map +1 -0
- package/dist/esm/motion/typesurface/timeline.d.ts +15 -0
- package/dist/esm/motion/typesurface/timeline.d.ts.map +1 -0
- package/dist/esm/motion/typesurface/timeline.js +57 -0
- package/dist/esm/motion/typesurface/timeline.js.map +1 -0
- package/dist/esm/motion/validate.d.ts +22 -0
- package/dist/esm/motion/validate.d.ts.map +1 -0
- package/dist/esm/motion/validate.js +84 -0
- package/dist/esm/motion/validate.js.map +1 -0
- package/dist/esm/native/RiveReceiptStage.d.ts +25 -2
- package/dist/esm/native/RiveReceiptStage.d.ts.map +1 -1
- package/dist/esm/native/RiveReceiptStage.js +7 -148
- package/dist/esm/native/RiveReceiptStage.js.map +1 -1
- package/dist/esm/native/riveReceiptStageFactory.d.ts +26 -0
- package/dist/esm/native/riveReceiptStageFactory.d.ts.map +1 -0
- package/dist/esm/native/riveReceiptStageFactory.js +159 -0
- package/dist/esm/native/riveReceiptStageFactory.js.map +1 -0
- package/dist/esm/tokens/stage.d.ts +7 -0
- package/dist/esm/tokens/stage.d.ts.map +1 -0
- package/dist/esm/tokens/stage.js +7 -0
- package/dist/esm/tokens/stage.js.map +1 -0
- package/package.json +35 -1
- package/spec/examples/components/onboarding/animated-status/case1.json +42 -0
- package/spec/examples/components/onboarding/animated-status/case2.json +42 -0
- package/spec/examples/components/onboarding/animated-status/case3.json +42 -0
- package/spec/examples/components/onboarding/animated-status/case4.json +42 -0
- package/spec/examples/components/onboarding/animated-status/case5.json +42 -0
- package/spec/examples/components/onboarding/send-completion/case1.json +48 -0
- package/spec/examples/components/onboarding/send-completion/case2.json +48 -0
- package/spec/examples/components/onboarding/send-completion/case3.json +48 -0
- package/spec/examples/components/onboarding/send-completion/case4.json +48 -0
- package/spec/examples/components/onboarding/send-completion/case5.json +48 -0
- package/spec/families/onboarding.schema.json +610 -1
- package/src/agent/AgentComponent.tsx +1 -1
- package/src/agent/manifests.ts +83 -1
- package/src/agent/result.ts +6 -0
- package/src/agent/types.ts +1 -1
- package/src/components/catalog.ts +21 -1
- package/src/components/onboarding/animated-status/AnimatedStage.tsx +18 -0
- package/src/components/onboarding/animated-status/AnimatedStage.types.ts +30 -0
- package/src/components/onboarding/animated-status/AnimatedStage.web.tsx +99 -0
- package/src/components/onboarding/animated-status/AnimatedStatusView.tsx +109 -0
- package/src/components/onboarding/animated-status/AnimatedStill.tsx +23 -0
- package/src/components/onboarding/animated-status/contract.ts +105 -0
- package/src/components/onboarding/animated-status/engine.ts +49 -0
- package/src/components/onboarding/animated-status/index.ts +8 -0
- package/src/components/onboarding/animated-status/presets.json +126 -0
- package/src/components/onboarding/animated-status/riv.ts +4 -0
- package/src/components/onboarding/index.ts +4 -0
- package/src/components/onboarding/presets.ts +6 -0
- package/src/components/onboarding/receipt-printer/ReceiptStage.tsx +46 -7
- package/src/components/onboarding/send-completion/SendCompletionView.tsx +164 -0
- package/src/components/onboarding/send-completion/SendStage.tsx +27 -0
- package/src/components/onboarding/send-completion/SendStage.types.ts +32 -0
- package/src/components/onboarding/send-completion/SendStage.web.tsx +116 -0
- package/src/components/onboarding/send-completion/SendStill.tsx +19 -0
- package/src/components/onboarding/send-completion/contract.ts +127 -0
- package/src/components/onboarding/send-completion/engine.ts +37 -0
- package/src/components/onboarding/send-completion/index.ts +10 -0
- package/src/components/onboarding/send-completion/presets.json +132 -0
- package/src/components/onboarding/send-completion/riv.ts +4 -0
- package/src/components/onboarding/shared/actions-data.ts +2 -0
- package/src/components/onboarding/shared/configColor.ts +72 -0
- package/src/components/onboarding/shared/contract.ts +4 -0
- package/src/components/onboarding/shared/describe.ts +1 -1
- package/src/components/onboarding/shared/mock.ts +2 -0
- package/src/components/onboarding/views.ts +8 -0
- package/src/motion/MotionPlayer.tsx +62 -0
- package/src/motion/agent.ts +288 -0
- package/src/motion/cat/Cat.tsx +118 -0
- package/src/motion/cat/animation.ts +206 -0
- package/src/motion/cat/art.generated.ts +44 -0
- package/src/motion/cat/config.ts +186 -0
- package/src/motion/cat/index.ts +26 -0
- package/src/motion/cat/rig.ts +102 -0
- package/src/motion/cat/scene.ts +181 -0
- package/src/motion/configurable/config.ts +420 -0
- package/src/motion/configurable/controls.ts +93 -0
- package/src/motion/easing.ts +55 -0
- package/src/motion/fit.ts +8 -0
- package/src/motion/index.ts +29 -0
- package/src/motion/neon/GlowRenderer.tsx +83 -0
- package/src/motion/neon/NeonCanvas.tsx +175 -0
- package/src/motion/neon/NeonText.tsx +113 -0
- package/src/motion/neon/NeonTextFrame.tsx +67 -0
- package/src/motion/neon/artwork.ts +95 -0
- package/src/motion/neon/audio.ts +162 -0
- package/src/motion/neon/config.ts +484 -0
- package/src/motion/neon/flicker.ts +225 -0
- package/src/motion/neon/fonts.ts +76 -0
- package/src/motion/neon/frame.ts +34 -0
- package/src/motion/neon/glitch.ts +142 -0
- package/src/motion/neon/index.ts +41 -0
- package/src/motion/neon/layers.tsx +209 -0
- package/src/motion/neon/material.ts +88 -0
- package/src/motion/neon/random.ts +40 -0
- package/src/motion/neon/scene.ts +610 -0
- package/src/motion/neon/synth.ts +188 -0
- package/src/motion/neon/typography.ts +102 -0
- package/src/motion/neon/wall.ts +157 -0
- package/src/motion/paperfold/PaperFold.tsx +45 -0
- package/src/motion/paperfold/PaperFoldFrame.tsx +576 -0
- package/src/motion/paperfold/PaperFoldPlayer.tsx +80 -0
- package/src/motion/paperfold/art.ts +455 -0
- package/src/motion/paperfold/config.ts +98 -0
- package/src/motion/paperfold/controls.ts +557 -0
- package/src/motion/paperfold/engine.ts +852 -0
- package/src/motion/paperfold/fonts.ts +21 -0
- package/src/motion/paperfold/index.ts +30 -0
- package/src/motion/paperfold/manipulate.ts +188 -0
- package/src/motion/paperfold/presets.ts +117 -0
- package/src/motion/paperfold/template.ts +38 -0
- package/src/motion/player.ts +207 -0
- package/src/motion/promo/PromoFrame.tsx +501 -0
- package/src/motion/promo/PromoShowcasePlayer.tsx +78 -0
- package/src/motion/promo/config.ts +479 -0
- package/src/motion/promo/controls.ts +643 -0
- package/src/motion/promo/easing.ts +36 -0
- package/src/motion/promo/engine.ts +587 -0
- package/src/motion/promo/fonts.ts +16 -0
- package/src/motion/promo/icons.tsx +29 -0
- package/src/motion/promo/index.ts +24 -0
- package/src/motion/promo/presets.ts +40 -0
- package/src/motion/promo/template.ts +36 -0
- package/src/motion/replication2/Replication2Player.tsx +115 -0
- package/src/motion/replication2/config.ts +323 -0
- package/src/motion/replication2/controls.ts +336 -0
- package/src/motion/replication2/driver.ts +92 -0
- package/src/motion/replication2/easing.ts +88 -0
- package/src/motion/replication2/engine.ts +539 -0
- package/src/motion/replication2/html.ts +87 -0
- package/src/motion/replication2/index.ts +14 -0
- package/src/motion/replication2/measure.ts +28 -0
- package/src/motion/replication2/metrics.ts +7 -0
- package/src/motion/replication2/presets.ts +63 -0
- package/src/motion/replication2/riv.ts +4 -0
- package/src/motion/replication2/rive-contract.ts +165 -0
- package/src/motion/replication2/template.ts +33 -0
- package/src/motion/sample.ts +173 -0
- package/src/motion/templates/hey-template.ts +1553 -0
- package/src/motion/templates/index.ts +17 -0
- package/src/motion/templates/word-motion.ts +1166 -0
- package/src/motion/types.ts +162 -0
- package/src/motion/typesurface/TypeSurfaceCanvas.tsx +73 -0
- package/src/motion/typesurface/art.ts +639 -0
- package/src/motion/typesurface/config.ts +486 -0
- package/src/motion/typesurface/engine.ts +586 -0
- package/src/motion/typesurface/fonts.ts +63 -0
- package/src/motion/typesurface/index.ts +16 -0
- package/src/motion/typesurface/layout.ts +133 -0
- package/src/motion/typesurface/ops.ts +196 -0
- package/src/motion/typesurface/presets.ts +199 -0
- package/src/motion/typesurface/renderer.ts +579 -0
- package/src/motion/typesurface/shaders.ts +303 -0
- package/src/motion/typesurface/surfaces.ts +223 -0
- package/src/motion/typesurface/text.ts +35 -0
- package/src/motion/typesurface/timeline.ts +58 -0
- package/src/motion/validate.ts +101 -0
- package/src/native/RiveReceiptStage.tsx +8 -155
- package/src/native/riveReceiptStageFactory.tsx +175 -0
- package/src/tokens/stage.ts +6 -0
- package/tools/ask/dist/components.mjs +6887 -46
- package/tools/ask/mcp.mjs +80 -1
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import type { FrameState, Glow, Rgba } from './engine';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* **The Rive contract** — the `Replication2` view model, property by property, and the one function
|
|
5
|
+
* that fills it from the engine's frame state. This is the only place the file's property names
|
|
6
|
+
* appear on the host side; the authoring script (`rive/replication-2/authoring/generate-rml.ts`)
|
|
7
|
+
* builds the file from the same list, so the two cannot drift apart.
|
|
8
|
+
*
|
|
9
|
+
* Every property corresponds to a schema value (directly or through the engine); the file has no
|
|
10
|
+
* inputs of its own. Pure: no React, no Rive runtime.
|
|
11
|
+
*/
|
|
12
|
+
export const RIVE_ARTBOARD = 'Replication2';
|
|
13
|
+
export const RIVE_STATE_MACHINE = 'Replication2Machine';
|
|
14
|
+
export const RIVE_VIEW_MODEL = 'Replication2';
|
|
15
|
+
|
|
16
|
+
export type RiveProp = { name: string; type: 'Number' | 'String' | 'Color'; value: number | string; toSource?: boolean };
|
|
17
|
+
const N = (name: string, value = 0): RiveProp => ({ name, type: 'Number', value });
|
|
18
|
+
const S = (name: string, value = ''): RiveProp => ({ name, type: 'String', value });
|
|
19
|
+
const C = (name: string, value = 0xff000000): RiveProp => ({ name, type: 'Color', value });
|
|
20
|
+
|
|
21
|
+
export const STREAK_SLOTS = 12;
|
|
22
|
+
|
|
23
|
+
export const RIVE_PROPS: readonly RiveProp[] = [
|
|
24
|
+
N('sceneIndex'), S('status', 'idle'),
|
|
25
|
+
N('artW', 1920), N('artH', 1080),
|
|
26
|
+
// background
|
|
27
|
+
C('bgDark'), C('bgLight'), N('bgLightOpacity'),
|
|
28
|
+
N('gradOpacity'), C('gradFrom'), C('gradTo'), N('gradX1'), N('gradY1'), N('gradX2'), N('gradY2'),
|
|
29
|
+
...(['top', 'bottom'] as const).flatMap((k) => [N(`${k}X`), N(`${k}Y`), N(`${k}R`), N(`${k}ScaleY`, 1), C(`${k}Color`), C(`${k}Mid`), N(`${k}Falloff`, 0.5), N(`${k}Opacity`)]),
|
|
30
|
+
N('vigOpacity'), C('vigColor'), N('vigX'), N('vigY'), N('vigR', 1),
|
|
31
|
+
C('streakColor'), N('streakWidth', 10), N('streakHeight', 1080),
|
|
32
|
+
...Array.from({ length: STREAK_SLOTS }, (_, i) => [N(`streak${i}X`), N(`streak${i}Opacity`)]).flat(),
|
|
33
|
+
// the text group
|
|
34
|
+
N('stageX', 960), N('stageY', 540), N('stageScale', 1), N('stageRotation'), N('stageOpacity', 1),
|
|
35
|
+
// the sentence
|
|
36
|
+
S('lineSettled'), S('lineHead'), C('lineColor'), C('lineHeadColor'), N('lineSize', 100), N('lineWeight', 400), N('lineTracking'), N('lineOpacity', 1),
|
|
37
|
+
{ ...N('lineWidth'), toSource: true },
|
|
38
|
+
// per-glyph entry (the newest glyph of the sentence or the final words) and distortion (sentence or display line)
|
|
39
|
+
N('enterFrom', -10), N('enterTo', -9), N('enterX'), N('enterY'), N('enterScale', 1), N('enterRotation'), N('enterOpacity', 1), N('enterStrength'),
|
|
40
|
+
N('distFrom'), N('distTo'), N('distFalloffFrom'), N('distFalloffTo'), N('distX'), N('distY'), N('distRotation'), N('distScaleX', 1), N('distScaleY', 1), N('distOpacity', 1), N('distStrength'),
|
|
41
|
+
// the display line
|
|
42
|
+
S('displayText'), N('displaySize', 100), N('displayWeight', 400), N('displayTracking'), N('displayOpacity', 1),
|
|
43
|
+
C('displayTop'), C('displayBottom'), N('displayGradStartY'), N('displayGradEndY'),
|
|
44
|
+
N('hideLeftTo', -1), N('hideLeftFalloff', -1), N('hideRightFrom', 2), N('hideRightFalloff', 2),
|
|
45
|
+
// the final words
|
|
46
|
+
S('finalSettled'), S('finalHead'), S('finalEntering'), C('finalColor'), C('finalHeadColor'), C('finalEnteringColor'),
|
|
47
|
+
N('finalSize', 60), N('finalWeight', 400), N('finalTracking'), N('finalOpacity', 1),
|
|
48
|
+
{ ...N('finalWidth'), toSource: true },
|
|
49
|
+
// cursor
|
|
50
|
+
N('cursorW'), N('cursorH'), N('cursorStroke'), N('cursorRadius'), C('cursorStrokeColor'), C('cursorFillColor'), N('cursorOffset'), N('cursorScale', 1),
|
|
51
|
+
N('cursorLineOpacity'), N('cursorFinalOpacity'), N('cursorGlowOpacity'), C('cursorGlowColor'), N('cursorGlowR'),
|
|
52
|
+
// head glow
|
|
53
|
+
C('glowColor'), C('glowMid'), N('glowFalloff', 0.5), N('glowR'), N('glowScaleY', 1), N('glowX'), N('glowY'),
|
|
54
|
+
N('glowNormal'), N('glowScreen'), N('glowAdditive'),
|
|
55
|
+
// brackets
|
|
56
|
+
N('brOpacity'), C('brColor'), N('brThick', 1), N('brHalfH'), N('brSerif'), N('brLeftX'), N('brRightX'),
|
|
57
|
+
N('brLeftTrim', 1), N('brRightTrim', 1), N('brLeftOpacity'), N('brRightOpacity'), N('brGlowOpacity'), C('brGlowColor'), N('brGlowR'),
|
|
58
|
+
// braces
|
|
59
|
+
N('braceOpacity'), C('braceColor'), N('braceSize', 60), N('braceWeight', 600), N('braceLeftX'), N('braceRightX'), N('braceY'),
|
|
60
|
+
N('braceClosing'), N('braceGlowOpacity'), C('braceGlowColor'), N('braceGlowR'),
|
|
61
|
+
];
|
|
62
|
+
|
|
63
|
+
/** `#rrggbb` (+ alpha 0‥1) as the ARGB integer the Rive runtime takes. */
|
|
64
|
+
export function argb(hex: string, alpha = 1): number {
|
|
65
|
+
const a = Math.round(Math.min(1, Math.max(0, alpha)) * 255);
|
|
66
|
+
return ((a << 24) | parseInt(hex.slice(1, 7), 16)) >>> 0;
|
|
67
|
+
}
|
|
68
|
+
const rgba = (c: Rgba) => argb(c.hex, c.alpha);
|
|
69
|
+
const deg = (d: number) => (d * Math.PI) / 180;
|
|
70
|
+
|
|
71
|
+
export type RiveValues = Record<string, number | string>;
|
|
72
|
+
|
|
73
|
+
/** Every view-model value for one frame. The driver writes these, skipping unchanged ones. */
|
|
74
|
+
export function riveValues(s: FrameState): RiveValues {
|
|
75
|
+
const v: RiveValues = {
|
|
76
|
+
sceneIndex: s.sceneIndex,
|
|
77
|
+
artW: s.design.width, artH: s.design.height,
|
|
78
|
+
bgDark: argb(s.background.dark), bgLight: argb(s.background.light), bgLightOpacity: s.background.lightOpacity,
|
|
79
|
+
gradOpacity: s.background.gradient.opacity, gradFrom: argb(s.background.gradient.from), gradTo: argb(s.background.gradient.to),
|
|
80
|
+
gradX1: s.background.gradient.x1, gradY1: s.background.gradient.y1, gradX2: s.background.gradient.x2, gradY2: s.background.gradient.y2,
|
|
81
|
+
vigOpacity: s.background.vignette.opacity, vigColor: argb(s.background.vignette.color),
|
|
82
|
+
vigX: s.design.width / 2, vigY: s.design.height / 2, vigR: s.background.vignette.radius,
|
|
83
|
+
streakColor: argb(s.background.streaks.color), streakWidth: s.background.streaks.width, streakHeight: s.design.height,
|
|
84
|
+
};
|
|
85
|
+
const glow = (k: string, g: Glow) => {
|
|
86
|
+
v[`${k}X`] = g.x; v[`${k}Y`] = g.y; v[`${k}R`] = g.rx; v[`${k}ScaleY`] = g.rx > 0 ? g.ry / g.rx : 1;
|
|
87
|
+
v[`${k}Color`] = argb(g.color); v[`${k}Mid`] = argb(g.color, 0.5); v[`${k}Falloff`] = g.falloff; v[`${k}Opacity`] = g.visible ? g.opacity : 0;
|
|
88
|
+
};
|
|
89
|
+
glow('top', s.background.top);
|
|
90
|
+
glow('bottom', s.background.bottom);
|
|
91
|
+
for (let i = 0; i < STREAK_SLOTS; i++) {
|
|
92
|
+
const it = s.background.streaks.items[i];
|
|
93
|
+
v[`streak${i}X`] = it?.x ?? 0;
|
|
94
|
+
v[`streak${i}Opacity`] = it?.opacity ?? 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
Object.assign(v, { stageX: s.stage.x, stageY: s.stage.y, stageScale: s.stage.scale, stageRotation: deg(s.stage.rotation), stageOpacity: s.stage.opacity });
|
|
98
|
+
|
|
99
|
+
const L = s.line;
|
|
100
|
+
Object.assign(v, {
|
|
101
|
+
lineSettled: L.settled, lineHead: L.head, lineColor: argb(L.color), lineHeadColor: rgba(L.headColor),
|
|
102
|
+
lineSize: L.fontSize, lineWeight: L.weight, lineTracking: L.letterSpacing, lineOpacity: L.visible ? L.opacity : 0,
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
// The per-glyph entry follows whichever text is being typed.
|
|
106
|
+
const enter = s.final.visible ? s.final.enter : L.enter;
|
|
107
|
+
const em = s.final.visible ? s.final.fontSize : L.fontSize;
|
|
108
|
+
Object.assign(v, {
|
|
109
|
+
enterFrom: enter.index, enterTo: enter.index + 1, enterX: enter.x * em, enterY: enter.y * em, enterScale: enter.scale,
|
|
110
|
+
enterRotation: deg(enter.rotation), enterOpacity: enter.opacity, enterStrength: enter.strength,
|
|
111
|
+
});
|
|
112
|
+
const d = s.display.visible ? s.display.distortion : L.distortion;
|
|
113
|
+
const dem = s.display.visible ? s.display.fontSize : L.fontSize;
|
|
114
|
+
Object.assign(v, {
|
|
115
|
+
distFrom: d.from, distTo: d.to, distFalloffFrom: d.falloffFrom, distFalloffTo: d.falloffTo, distX: d.x * dem, distY: d.y * dem,
|
|
116
|
+
distRotation: deg(d.rotation), distScaleX: d.scaleX, distScaleY: d.scaleY, distOpacity: d.opacity, distStrength: d.strength,
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
const D = s.display;
|
|
120
|
+
Object.assign(v, {
|
|
121
|
+
displayText: D.text, displaySize: D.fontSize, displayWeight: D.weight, displayTracking: D.letterSpacing, displayOpacity: D.visible ? D.opacity : 0,
|
|
122
|
+
displayTop: argb(D.gradientTop), displayBottom: argb(D.gradientBottom), // Text-local y runs down from the top of the line box: cap top ≈ 0.25 em, descender bottom ≈ 1.21 em (Inter).
|
|
123
|
+
displayGradStartY: 0.25 * D.fontSize, displayGradEndY: 1.21 * D.fontSize,
|
|
124
|
+
hideLeftTo: D.hideLeftTo, hideLeftFalloff: D.hideLeftTo - D.softness, hideRightFrom: D.hideRightFrom, hideRightFalloff: D.hideRightFrom + D.softness,
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
const F = s.final;
|
|
128
|
+
Object.assign(v, {
|
|
129
|
+
finalSettled: F.settled, finalHead: F.head, finalEntering: F.entering, finalColor: argb(F.color), finalHeadColor: rgba(F.headColor),
|
|
130
|
+
finalEnteringColor: rgba(F.enteringColor), finalSize: F.fontSize, finalWeight: F.weight, finalTracking: F.letterSpacing,
|
|
131
|
+
finalOpacity: F.visible ? F.opacity : 0,
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
const K = s.cursor;
|
|
135
|
+
const text = K.attach === 'final' ? F.settled + F.head + F.entering : L.settled + L.head;
|
|
136
|
+
Object.assign(v, {
|
|
137
|
+
cursorW: K.width, cursorH: K.height, cursorStroke: K.stroke, cursorRadius: K.radius,
|
|
138
|
+
cursorStrokeColor: argb(K.color, K.solid ? 0 : 1), cursorFillColor: argb(K.color, K.solid ? 1 : 0),
|
|
139
|
+
cursorOffset: text === '' ? 0 : K.gap + K.width / 2, cursorScale: K.scale,
|
|
140
|
+
cursorLineOpacity: K.visible && K.attach === 'line' ? K.opacity : 0, cursorFinalOpacity: K.visible && K.attach === 'final' ? K.opacity : 0,
|
|
141
|
+
cursorGlowOpacity: K.visible ? K.glow.opacity : 0, cursorGlowColor: argb(K.glow.color), cursorGlowR: K.glow.radius,
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
const G = s.headGlow;
|
|
145
|
+
Object.assign(v, {
|
|
146
|
+
glowColor: argb(G.color), glowMid: argb(G.color, 0.7), glowFalloff: G.falloff, glowR: G.rx, glowScaleY: G.rx > 0 ? G.ry / G.rx : 1,
|
|
147
|
+
glowX: G.offsetX, glowY: G.offsetY,
|
|
148
|
+
glowNormal: G.blend === 'normal' ? G.opacity : 0, glowScreen: G.blend === 'screen' ? G.opacity : 0, glowAdditive: G.blend === 'additive' ? G.opacity : 0,
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
const B = s.brackets;
|
|
152
|
+
Object.assign(v, {
|
|
153
|
+
brOpacity: B.visible ? B.opacity : 0, brColor: argb(B.color), brThick: B.thickness, brHalfH: B.height / 2, brSerif: B.serif,
|
|
154
|
+
brLeftX: -B.padding + B.leftOffset, brRightX: B.padding + B.rightOffset, brLeftTrim: B.leftTrim, brRightTrim: B.rightTrim,
|
|
155
|
+
brLeftOpacity: B.leftOpacity, brRightOpacity: B.rightOpacity, brGlowOpacity: B.visible ? B.glow.opacity : 0, brGlowColor: argb(B.glow.color), brGlowR: B.glow.radius,
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
const R = s.brace;
|
|
159
|
+
Object.assign(v, {
|
|
160
|
+
braceOpacity: R.visible ? R.opacity : 0, braceColor: argb(R.color), braceSize: R.size * F.fontSize, braceWeight: R.weight,
|
|
161
|
+
braceLeftX: -R.padding, braceRightX: R.padding + R.closingSlack, braceY: R.offsetY, braceClosing: R.closingVisible,
|
|
162
|
+
braceGlowOpacity: R.visible ? R.glow.opacity : 0, braceGlowColor: argb(R.glow.color), braceGlowR: R.glow.radius,
|
|
163
|
+
});
|
|
164
|
+
return v;
|
|
165
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ConfigurableMotionTemplate } from '../types';
|
|
2
|
+
import { configJsonSchema, defaultConfig } from './config';
|
|
3
|
+
import { CONTROLS, GROUPS } from './controls';
|
|
4
|
+
import { outputDuration } from './engine';
|
|
5
|
+
import { PRESET_PATCHES } from './presets';
|
|
6
|
+
import { RIVE_ARTBOARD, RIVE_STATE_MACHINE, RIVE_VIEW_MODEL } from './rive-contract';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* **replication-2 in the motion registry.** A configurable-motion template rendered by Rive: unlike
|
|
10
|
+
* the DOM templates, its timing and motion are part of the schema (DECISIONS §25), and people and
|
|
11
|
+
* agents edit the same canonical config. Plain data — safe to JSON-serialise.
|
|
12
|
+
*/
|
|
13
|
+
export const replication2: ConfigurableMotionTemplate = {
|
|
14
|
+
id: 'replication-2',
|
|
15
|
+
version: '1.0.0',
|
|
16
|
+
kind: 'configurableMotion',
|
|
17
|
+
renderer: 'rive',
|
|
18
|
+
title: 'Replication 2 — typed question to brace mark',
|
|
19
|
+
description: 'A cursor settles, a question types itself in with placeholder glyphs and a head glow, brackets frame it, it collapses, a display line tracks in, and a hard cut to white reveals words added inside blue braces. Every timing, easing, colour, size and word is configurable.',
|
|
20
|
+
fps: 60,
|
|
21
|
+
formats: [
|
|
22
|
+
{ id: 'landscape', aspectRatio: '16:9', width: 3840, height: 2160 },
|
|
23
|
+
{ id: 'portrait', aspectRatio: '9:16', width: 2160, height: 3840 },
|
|
24
|
+
{ id: 'square', aspectRatio: '1:1', width: 2160, height: 2160 },
|
|
25
|
+
],
|
|
26
|
+
durationInFrames: outputDuration(defaultConfig()),
|
|
27
|
+
groups: [...GROUPS],
|
|
28
|
+
controls: CONTROLS,
|
|
29
|
+
schema: configJsonSchema(),
|
|
30
|
+
presets: PRESET_PATCHES,
|
|
31
|
+
rive: { file: 'rive/replication-2/replication-2.riv', artboard: RIVE_ARTBOARD, stateMachine: RIVE_STATE_MACHINE, viewModel: RIVE_VIEW_MODEL },
|
|
32
|
+
exampleContent: defaultConfig(),
|
|
33
|
+
};
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import type { AnimatedProperty, Keyframe, MotionContract, MotionFormat, Track } from './types';
|
|
2
|
+
import { ease } from './easing';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* **Frame → style, from the motion contract.** Pure and deterministic: the same (target, frame) gives
|
|
6
|
+
* the same style in Remotion, in the HTML runtime and in a test.
|
|
7
|
+
*
|
|
8
|
+
* Colours are `#rrggbb` or a theme token name. A token becomes `var(--cp-<token>)`, and a blend
|
|
9
|
+
* between two tokens becomes `color-mix()`, so a theme changes colours without touching motion.
|
|
10
|
+
*/
|
|
11
|
+
export type TargetStyle = {
|
|
12
|
+
transform?: string;
|
|
13
|
+
left?: string;
|
|
14
|
+
top?: string;
|
|
15
|
+
opacity?: string;
|
|
16
|
+
filter?: string;
|
|
17
|
+
clipPath?: string;
|
|
18
|
+
color?: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const round = (n: number) => Number(n.toFixed(3));
|
|
22
|
+
const isHex = (v: string) => v.startsWith('#');
|
|
23
|
+
const colorRef = (v: string) => (isHex(v) ? v : `var(--cp-${v})`);
|
|
24
|
+
|
|
25
|
+
function mixColor(a: string, b: string, t: number): string {
|
|
26
|
+
if (isHex(a) && isHex(b)) {
|
|
27
|
+
const pa = parseInt(a.slice(1), 16), pb = parseInt(b.slice(1), 16);
|
|
28
|
+
const ch = (p: number, s: number) => (p >> s) & 255;
|
|
29
|
+
const mix = (s: number) => Math.round(ch(pa, s) + (ch(pb, s) - ch(pa, s)) * t);
|
|
30
|
+
// Interpolating between two author-set motion colours; this is arithmetic, not a design colour.
|
|
31
|
+
// eslint-disable-next-line comppack/no-raw-colour
|
|
32
|
+
return `rgb(${mix(16)}, ${mix(8)}, ${mix(0)})`;
|
|
33
|
+
}
|
|
34
|
+
return `color-mix(in srgb, ${colorRef(b)} ${round(t * 100)}%, ${colorRef(a)})`;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** The value of one track at a scene-relative frame. Clamped outside the first/last keyframe. */
|
|
38
|
+
export function valueAt(keyframes: Keyframe[], frame: number): number | string {
|
|
39
|
+
const first = keyframes[0]!;
|
|
40
|
+
if (frame <= first.f) return first.v;
|
|
41
|
+
for (let i = 1; i < keyframes.length; i++) {
|
|
42
|
+
const b = keyframes[i]!;
|
|
43
|
+
if (frame < b.f) {
|
|
44
|
+
const a = keyframes[i - 1]!;
|
|
45
|
+
const t = ease(b.e, (frame - a.f) / (b.f - a.f));
|
|
46
|
+
if (typeof a.v === 'string' || typeof b.v === 'string') {
|
|
47
|
+
return t >= 1 ? b.v : t <= 0 ? a.v : mixColor(String(a.v), String(b.v), t);
|
|
48
|
+
}
|
|
49
|
+
return a.v + (b.v - a.v) * t;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return keyframes[keyframes.length - 1]!.v;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* `scene` scopes the lookup to one timeline. A sequence template's timelines share target names
|
|
57
|
+
* (every item has a `word`), so its callers always pass it; fixed templates may leave it out.
|
|
58
|
+
*/
|
|
59
|
+
export type Sampler = (target: string, sceneFrame: number, scene?: string) => TargetStyle;
|
|
60
|
+
|
|
61
|
+
const FILTER_ID = /^[a-z][a-z0-9-]*$/;
|
|
62
|
+
|
|
63
|
+
/** Index a motion contract once; the returned sampler answers per (target, frame). */
|
|
64
|
+
export function createSampler(motion: MotionContract): Sampler {
|
|
65
|
+
const all = new Map<string, Track[]>();
|
|
66
|
+
const byScene = new Map<string, Map<string, Track[]>>();
|
|
67
|
+
for (const s of motion.scenes) {
|
|
68
|
+
const own = new Map<string, Track[]>();
|
|
69
|
+
byScene.set(s.id, own);
|
|
70
|
+
for (const t of s.tracks) {
|
|
71
|
+
all.set(t.target, [...(all.get(t.target) ?? []), t]);
|
|
72
|
+
own.set(t.target, [...(own.get(t.target) ?? []), t]);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return (target, frame, scene) => {
|
|
77
|
+
const tracks = (scene === undefined ? all : byScene.get(scene))?.get(target);
|
|
78
|
+
if (!tracks) return {};
|
|
79
|
+
const v: Partial<Record<AnimatedProperty, number | string>> = {};
|
|
80
|
+
for (const t of tracks) v[t.property] = valueAt(t.keyframes, frame);
|
|
81
|
+
const num = (p: AnimatedProperty, d: number) => (typeof v[p] === 'number' ? round(v[p] as number) : d);
|
|
82
|
+
|
|
83
|
+
const style: TargetStyle = {};
|
|
84
|
+
if (['x', 'y', 'rotate', 'scale', 'scaleX', 'scaleY'].some((p) => p in v)) {
|
|
85
|
+
const s = num('scale', 1);
|
|
86
|
+
style.transform = `translate(${num('x', 0)}px, ${num('y', 0)}px) rotate(${num('rotate', 0)}deg) scale(${round(s * num('scaleX', 1))}, ${round(s * num('scaleY', 1))})`;
|
|
87
|
+
}
|
|
88
|
+
if ('left' in v) style.left = `${num('left', 0)}%`;
|
|
89
|
+
if ('top' in v) style.top = `${num('top', 0)}px`;
|
|
90
|
+
if ('opacity' in v) style.opacity = String(num('opacity', 1));
|
|
91
|
+
/* An fx is one of the template's own SVG filters, by id; ids are checked so a value can only
|
|
92
|
+
ever be a local reference. It runs before the blur. */
|
|
93
|
+
const fx = typeof v.fx === 'string' && v.fx !== 'none' && FILTER_ID.test(v.fx) ? `url(#${v.fx})` : '';
|
|
94
|
+
const blur = 'blur' in v ? `blur(${num('blur', 0)}px)` : '';
|
|
95
|
+
if (fx || blur) style.filter = [fx, blur].filter(Boolean).join(' ');
|
|
96
|
+
if ('clipRight' in v || 'clipLeft' in v) style.clipPath = `inset(0% ${num('clipRight', 0)}% 0% ${num('clipLeft', 0)}%)`;
|
|
97
|
+
if ('color' in v) {
|
|
98
|
+
const c = String(v.color);
|
|
99
|
+
style.color = c.startsWith('#') || c.startsWith('rgb') || c.startsWith('color-mix') ? c : colorRef(c);
|
|
100
|
+
}
|
|
101
|
+
return style;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* One scene as it plays for some content. `scene` is the timeline that animates it. `key` is the
|
|
107
|
+
* `[data-scene]` it shows: the scene id, or `<list>.<index>` for a sequence item. `item` is that
|
|
108
|
+
* item's index.
|
|
109
|
+
*/
|
|
110
|
+
export type PlayedScene = { key: string; scene: string; item?: number; from: number; durationInFrames: number };
|
|
111
|
+
|
|
112
|
+
const listOf = (motion: MotionContract, content: unknown): Record<string, unknown>[] => {
|
|
113
|
+
const seq = motion.sequence!;
|
|
114
|
+
const list = seq.path.split('.').reduce<unknown>((v, k) => (v && typeof v === 'object' ? (v as Record<string, unknown>)[k] : undefined), content);
|
|
115
|
+
return Array.isArray(list) ? (list as Record<string, unknown>[]) : [];
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/** The item's timeline: its `motionField` choice, or the first option when it has none. */
|
|
119
|
+
export function itemScene(motion: MotionContract, item: Record<string, unknown> | undefined): string {
|
|
120
|
+
const seq = motion.sequence!;
|
|
121
|
+
const chosen = item?.[seq.motionField];
|
|
122
|
+
return typeof chosen === 'string' && seq.options[seq.motionField]?.includes(chosen) ? chosen : seq.options[seq.motionField]![0]!;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** What plays, in order, for this content. Deterministic: content → the same timeline every time. */
|
|
126
|
+
export function playlist(motion: MotionContract, content: unknown): PlayedScene[] {
|
|
127
|
+
if (!motion.sequence) return activeScenes(motion, content).map((s) => ({ key: s.id, scene: s.id, from: s.from, durationInFrames: s.durationInFrames }));
|
|
128
|
+
const { rhythm, path } = motion.sequence;
|
|
129
|
+
let from = 0;
|
|
130
|
+
return listOf(motion, content).map((item, i) => {
|
|
131
|
+
const scene = itemScene(motion, item);
|
|
132
|
+
const min = motion.scenes.find((s) => s.id === scene)?.durationInFrames ?? 1;
|
|
133
|
+
const durationInFrames = Math.max(rhythm[Math.min(i, rhythm.length - 1)] ?? min, min);
|
|
134
|
+
const played = { key: `${path}.${i}`, scene, item: i, from, durationInFrames };
|
|
135
|
+
from += durationInFrames;
|
|
136
|
+
return played;
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** The scenes that play for this content: optional scenes whose content is absent are dropped. */
|
|
141
|
+
export function activeScenes(motion: MotionContract, content: unknown) {
|
|
142
|
+
const c = (content ?? {}) as Record<string, unknown>;
|
|
143
|
+
return motion.scenes.filter((s) => !s.optional || (c[s.id] !== undefined && c[s.id] !== null));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** Total length for this content. */
|
|
147
|
+
export function durationFor(motion: MotionContract, content: unknown) {
|
|
148
|
+
return playlist(motion, content).reduce((end, s) => Math.max(end, s.from + s.durationInFrames), 0);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Which scene is on screen at an absolute frame, and its scene-relative frame. `id` is what the
|
|
153
|
+
* markup shows (`[data-scene]`); `scene` is the timeline that animates it.
|
|
154
|
+
*/
|
|
155
|
+
export function sceneAt(motion: MotionContract, frame: number, content?: unknown): { id: string; scene: string; item?: number; frame: number } | null {
|
|
156
|
+
const scenes = content === undefined && !motion.sequence ? playlist(motion, Object.fromEntries(motion.scenes.map((s) => [s.id, {}]))) : playlist(motion, content);
|
|
157
|
+
for (const s of scenes) {
|
|
158
|
+
if (frame >= s.from && frame < s.from + s.durationInFrames) return { id: s.key, scene: s.scene, ...(s.item === undefined ? {} : { item: s.item }), frame: frame - s.from };
|
|
159
|
+
}
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** The canvas for this content: the format its `aspectRatio` names, else the template's default. */
|
|
164
|
+
export function formatFor(motion: MotionContract, content?: unknown): MotionFormat {
|
|
165
|
+
const wanted = (content as { aspectRatio?: unknown } | undefined)?.aspectRatio;
|
|
166
|
+
const formats = motion.formats ?? [];
|
|
167
|
+
return formats.find((f) => f.aspectRatio === wanted) ?? formats[0] ?? { id: 'default', aspectRatio: `${motion.width}:${motion.height}`, width: motion.width, height: motion.height };
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/** Theme tokens → the CSS custom properties the template's styles read. */
|
|
171
|
+
export function themeVariables(theme: Record<string, string> | undefined): Record<string, string> {
|
|
172
|
+
return Object.fromEntries(Object.entries(theme ?? {}).map(([k, v]) => [`--cp-${k}`, v]));
|
|
173
|
+
}
|