@cueframe/kernel 0.1.1 → 0.1.2
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/_members/account-model/testing/conversationStoreContract.d.ts +0 -59
- package/dist/_members/account-model/testing/index.d.ts +0 -5
- package/dist/_members/account-model/testing/restorePointStoreContract.d.ts +0 -24
- package/dist/_members/account-model/validators/contextFile.d.ts +0 -6
- package/dist/_members/account-model/validators/conversation.d.ts +0 -96
- package/dist/_members/account-model/validators/dashboardInsight.d.ts +0 -6
- package/dist/_members/account-model/validators/sessionToken.d.ts +0 -29
- package/dist/_members/account-model/validators/uploadToken.d.ts +0 -4
- package/dist/_members/account-model/validators/userSettings.d.ts +0 -4
- package/dist/_members/account-model/validators/workingComposition.d.ts +0 -7
- package/dist/_members/animate/animations/Create.d.ts +0 -19
- package/dist/_members/animate/animations/FadeIn.d.ts +0 -17
- package/dist/_members/animate/animations/GrowArrow.d.ts +0 -19
- package/dist/_members/animate/animations/GrowFromCenter.d.ts +0 -12
- package/dist/_members/animate/animations/Indicate.d.ts +0 -17
- package/dist/_members/animate/animations/MoveAlongPath.d.ts +0 -18
- package/dist/_members/animate/animations/Transform.d.ts +0 -28
- package/dist/_members/animate/animations/Wiggle.d.ts +0 -18
- package/dist/_members/animate/animations/Write.d.ts +0 -20
- package/dist/_members/animate/composition/AnimationGroup.d.ts +0 -21
- package/dist/_members/animate/composition/LaggedStart.d.ts +0 -22
- package/dist/_members/animate/composition/Succession.d.ts +0 -17
- package/dist/_members/animate/easing/rush.d.ts +0 -14
- package/dist/_members/animate/easing/smooth.d.ts +0 -7
- package/dist/_members/animate/easing/smootherstep.d.ts +0 -6
- package/dist/_members/animate/index.d.ts +0 -2
- package/dist/_members/animate/mobjects/Arrow.d.ts +0 -25
- package/dist/_members/animate/mobjects/BrandBox.d.ts +0 -25
- package/dist/_members/animate/mobjects/DiGraph.d.ts +0 -18
- package/dist/_members/animate/mobjects/Graph.d.ts +0 -38
- package/dist/_members/animate/three/ThreeCanvas.d.ts +0 -23
- package/dist/_members/animate/three/drei.d.ts +0 -7
- package/dist/_members/authoring/agent/buildTools.d.ts +0 -37
- package/dist/_members/authoring/agent/contextManagement.d.ts +0 -65
- package/dist/_members/authoring/agent/errors.d.ts +0 -9
- package/dist/_members/authoring/agent/memoryTool.d.ts +0 -2
- package/dist/_members/authoring/agent/promptCache.d.ts +0 -31
- package/dist/_members/authoring/agent.d.ts +0 -34
- package/dist/_members/authoring/capabilities.d.ts +0 -145
- package/dist/_members/authoring/composer/scopes.d.ts +0 -19
- package/dist/_members/authoring/context/brand.d.ts +0 -4
- package/dist/_members/authoring/context/brandTokens.d.ts +0 -4
- package/dist/_members/authoring/context/index.d.ts +0 -1
- package/dist/_members/authoring/context/timeline.d.ts +0 -15
- package/dist/_members/authoring/context/transcript.d.ts +0 -11
- package/dist/_members/authoring/context/types.d.ts +0 -4
- package/dist/_members/authoring/decomposer.d.ts +0 -12
- package/dist/_members/authoring/evaluate.d.ts +0 -26
- package/dist/_members/authoring/evaluator.d.ts +0 -16
- package/dist/_members/authoring/models/modelFactory.d.ts +0 -77
- package/dist/_members/authoring/motion/applyMotionPreset.d.ts +0 -12
- package/dist/_members/authoring/motion/materializeMotionPresetOps.d.ts +0 -7
- package/dist/_members/authoring/motion/shell.d.ts +0 -20
- package/dist/_members/authoring/pipelineTrace.d.ts +0 -19
- package/dist/_members/authoring/prompts/decomposerPrompt.d.ts +0 -4
- package/dist/_members/authoring/prompts/designReviewerPrompt.d.ts +0 -16
- package/dist/_members/authoring/prompts/evaluatorPrompt.d.ts +0 -4
- package/dist/_members/authoring/prompts/graphics.d.ts +0 -5
- package/dist/_members/authoring/prompts/plannerPrompt.d.ts +0 -30
- package/dist/_members/authoring/providers/resourceApi.d.ts +1 -20
- package/dist/_members/authoring/resource-routing.d.ts +0 -121
- package/dist/_members/authoring/resources.d.ts +0 -34
- package/dist/_members/authoring/scope.d.ts +0 -24
- package/dist/_members/authoring/tools/brandTokens.d.ts +0 -22
- package/dist/_members/authoring/tools/composeRoleTools.d.ts +0 -79
- package/dist/_members/authoring/tools/index.d.ts +0 -1
- package/dist/_members/authoring/tools/toolSets.d.ts +0 -50
- package/dist/_members/authoring/transpileComponent.d.ts +0 -34
- package/dist/_members/authoring/transpileHelper.d.ts +0 -18
- package/dist/_members/authoring/types.d.ts +0 -149
- package/dist/_members/brand-derivation/constants.d.ts +0 -17
- package/dist/_members/brand-derivation/contrastSafe.d.ts +0 -23
- package/dist/_members/cloud-import/CloudImportService.d.ts +0 -15
- package/dist/_members/cloud-import/ImportProvider.d.ts +0 -45
- package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +0 -9
- package/dist/_members/cloud-import/cloudConfig.d.ts +0 -15
- package/dist/_members/compose/CompositionRenderer.d.ts +0 -6
- package/dist/_members/compose/primitiveRegistry.d.ts +0 -64
- package/dist/_members/compose/sceneToRenderInput.d.ts +0 -26
- package/dist/_members/compose/schema.d.ts +0 -15
- package/dist/_members/compose/tokenResolver.d.ts +0 -11
- package/dist/_members/composition/audio/audioMix.d.ts +0 -34
- package/dist/_members/composition/audio/mixStaging.d.ts +0 -81
- package/dist/_members/composition/audio/musicPack.d.ts +0 -35
- package/dist/_members/composition/audio/musicPack.generated.d.ts +0 -6
- package/dist/_members/composition/audio/pack.d.ts +0 -43
- package/dist/_members/composition/audio/pack.generated.d.ts +0 -6
- package/dist/_members/composition/audio/palette.d.ts +0 -36
- package/dist/_members/composition/autozoom/index.d.ts +0 -32
- package/dist/_members/composition/brand-kit.d.ts +0 -8
- package/dist/_members/composition/brief/contract.d.ts +0 -90
- package/dist/_members/composition/color-grade.d.ts +0 -11
- package/dist/_members/composition/depth.d.ts +0 -19
- package/dist/_members/composition/fixtures/agentErrored.d.ts +0 -23
- package/dist/_members/composition/fonts.d.ts +0 -62
- package/dist/_members/composition/graphics-plan/compile.d.ts +0 -29
- package/dist/_members/composition/graphics-plan/index.d.ts +0 -5
- package/dist/_members/composition/graphics-plan/instantiateMotif.d.ts +0 -17
- package/dist/_members/composition/graphics-plan/motion.d.ts +0 -17
- package/dist/_members/composition/graphics-plan/schemas.d.ts +0 -171
- package/dist/_members/composition/graphics-plan/solve.d.ts +0 -19
- package/dist/_members/composition/invariants/clipPlacement.d.ts +0 -59
- package/dist/_members/composition/invariants/composition.d.ts +0 -5
- package/dist/_members/composition/invariants/etag.d.ts +0 -7
- package/dist/_members/composition/invariants/ids.d.ts +0 -6
- package/dist/_members/composition/invariants/keyframes.d.ts +0 -19
- package/dist/_members/composition/invariants/markers.d.ts +0 -6
- package/dist/_members/composition/invariants/time.d.ts +0 -8
- package/dist/_members/composition/invariants/tracks.d.ts +0 -48
- package/dist/_members/composition/ops/compositionOps.d.ts +4 -71
- package/dist/_members/composition/ops/compositionOps.shared.d.ts +30 -0
- package/dist/_members/composition/ops/headlessStore.d.ts +0 -24
- package/dist/_members/composition/ops/selectors.d.ts +0 -66
- package/dist/_members/composition/ops/timeline-word.d.ts +0 -5
- package/dist/_members/composition/ops/transcript.d.ts +0 -27
- package/dist/_members/composition/ops/types.d.ts +0 -51
- package/dist/_members/composition/primitive-catalog/catalogQuery.d.ts +0 -32
- package/dist/_members/composition/primitive-catalog/disabled.d.ts +0 -1
- package/dist/_members/composition/primitive-catalog/index.d.ts +0 -11
- package/dist/_members/composition/primitive-catalog/paramValidation.d.ts +0 -50
- package/dist/_members/composition/primitive-catalog/projection.d.ts +0 -39
- package/dist/_members/composition/primitive-catalog/types.d.ts +0 -78
- package/dist/_members/composition/projection/behind-placement.d.ts +0 -40
- package/dist/_members/composition/projection/behind-readiness.d.ts +14 -89
- package/dist/_members/composition/projection/brandKit.d.ts +0 -142
- package/dist/_members/composition/projection/cardTokens.d.ts +0 -65
- package/dist/_members/composition/projection/composition-floor.d.ts +0 -179
- package/dist/_members/composition/projection/cropProjection.d.ts +0 -75
- package/dist/_members/composition/projection/occlusion-budget.d.ts +0 -37
- package/dist/_members/composition/projection/reframe-readiness.d.ts +4 -111
- package/dist/_members/composition/projection/safe-zones.d.ts +0 -29
- package/dist/_members/composition/reframe/aspectLoss.d.ts +12 -35
- package/dist/_members/composition/reframe/coverage.d.ts +0 -40
- package/dist/_members/composition/reframe/derive.d.ts +0 -21
- package/dist/_members/composition/reframe/index.d.ts +0 -60
- package/dist/_members/composition/reframe/kenBurns.d.ts +0 -37
- package/dist/_members/composition/reframe/shotScale.d.ts +0 -75
- package/dist/_members/composition/reframe/trajectory.d.ts +0 -65
- package/dist/_members/composition/timeline/compound.d.ts +0 -31
- package/dist/_members/composition/timeline/intent.d.ts +0 -29
- package/dist/_members/composition/timeline/keyframes.d.ts +0 -43
- package/dist/_members/composition/timeline/link.d.ts +0 -27
- package/dist/_members/composition/timeline/occupancy.d.ts +1 -42
- package/dist/_members/composition/timeline/placement.d.ts +5 -52
- package/dist/_members/composition/timeline/plan.d.ts +5 -53
- package/dist/_members/composition/timeline/resolve.d.ts +0 -36
- package/dist/_members/composition/timeline/trims.d.ts +0 -49
- package/dist/_members/composition/validators/brandKit.d.ts +0 -29
- package/dist/_members/composition/validators/composePlan.d.ts +0 -39
- package/dist/_members/composition/validators/composition.d.ts +30 -513
- package/dist/_members/composition/validators/graphicKinds.d.ts +0 -28
- package/dist/_members/composition/validators/render.d.ts +23 -23
- package/dist/_members/composition-ops/alphaLayers.d.ts +0 -56
- package/dist/_members/composition-ops/index.d.ts +27 -148
- package/dist/_members/composition-ops/materializeGrid.d.ts +0 -28
- package/dist/_members/composition-ops/opRecorder.d.ts +0 -34
- package/dist/_members/composition-ops/recordingStore.d.ts +0 -16
- package/dist/_members/composition-ops/replaceRegion.d.ts +0 -48
- package/dist/_members/composition-ops/testFixtures.d.ts +0 -14
- package/dist/_members/convex-api/api.d.ts +0 -3
- package/dist/_members/convex-api/dataModel.d.ts +0 -2
- package/dist/_members/core/index.d.ts +1 -1
- package/dist/_members/core/render/bookends.d.ts +0 -44
- package/dist/_members/core/render/captions.d.ts +0 -42
- package/dist/_members/core/render/compositionRender.d.ts +1 -180
- package/dist/_members/core/render/deriveTrajectory.d.ts +0 -140
- package/dist/_members/core/render/emphasis.d.ts +0 -6
- package/dist/_members/core/render/eval/cropBox.d.ts +0 -69
- package/dist/_members/core/render/eval/inclusion.d.ts +0 -39
- package/dist/_members/core/render/eval/index.d.ts +0 -58
- package/dist/_members/core/render/eval/metrics.d.ts +0 -36
- package/dist/_members/core/render/exportSettings.d.ts +4 -12
- package/dist/_members/core/render/index.d.ts +1 -1
- package/dist/_members/core/render/mapFaceToPerson.d.ts +0 -27
- package/dist/_members/core/render/types.d.ts +1 -184
- package/dist/_members/core/render/variantKeys.d.ts +1 -0
- package/dist/_members/core/render/vcam/cameraPath.d.ts +0 -44
- package/dist/_members/core/render/vcam/constants.d.ts +0 -93
- package/dist/_members/core/render/vcam/errorCodes.d.ts +0 -28
- package/dist/_members/core/render/vcam/framing.d.ts +0 -76
- package/dist/_members/core/render/vcam/requiredRegion.d.ts +0 -71
- package/dist/_members/core/render/vcam/shots.d.ts +0 -40
- package/dist/_members/core/render/vcam/subjectSet.d.ts +0 -85
- package/dist/_members/core/select/errorCodes.d.ts +0 -25
- package/dist/_members/core/select/index.d.ts +0 -20
- package/dist/_members/core/select/model.d.ts +0 -79
- package/dist/_members/core/select/select.d.ts +0 -49
- package/dist/_members/core/select/stabilize.d.ts +0 -102
- package/dist/_members/core/types.d.ts +0 -1
- package/dist/_members/director/ai-sdk/chunks.d.ts +14 -0
- package/dist/_members/director/ai-sdk/context.d.ts +6 -0
- package/dist/_members/director/ai-sdk/generationTool.d.ts +8 -0
- package/dist/_members/director/ai-sdk/index.d.ts +4 -0
- package/dist/_members/director/ai-sdk/messages.d.ts +292 -0
- package/dist/_members/director/domain/chat.d.ts +357 -0
- package/dist/_members/director/domain/generation.d.ts +1 -0
- package/dist/_members/director/domain/index.d.ts +3 -0
- package/dist/_members/director/domain/ports.d.ts +32 -0
- package/dist/_members/director/index.d.ts +2 -0
- package/dist/_members/director/testing/contract.d.ts +52 -0
- package/dist/_members/director/testing/index.d.ts +1 -0
- package/dist/_members/errors/registry.d.ts +0 -32
- package/dist/_members/foundation/codes/index.d.ts +0 -21
- package/dist/_members/mcp/adapter.d.ts +1 -84
- package/dist/_members/mcp/burnedNames.d.ts +0 -16
- package/dist/_members/mcp/core.d.ts +1 -81
- package/dist/_members/mcp/curation.d.ts +0 -112
- package/dist/_members/mcp/executor.d.ts +0 -49
- package/dist/_members/mcp/format.d.ts +0 -6
- package/dist/_members/mcp/generated/catalogPreviews.d.ts +0 -1
- package/dist/_members/mcp/generated/operations.d.ts +0 -23
- package/dist/_members/mcp/internalLoopTools.d.ts +0 -23
- package/dist/_members/mcp/prompts.d.ts +0 -16
- package/dist/_members/mcp/resources.d.ts +0 -13
- package/dist/_members/mcp/server.d.ts +0 -61
- package/dist/_members/mcp/wait.d.ts +0 -22
- package/dist/_members/mcp/x402Meta.d.ts +0 -44
- package/dist/_members/media-model/generation.d.ts +314 -0
- package/dist/_members/media-model/index.d.ts +1 -0
- package/dist/_members/media-model/media-kind.d.ts +0 -27
- package/dist/_members/media-model/transcriptSearch.d.ts +0 -42
- package/dist/_members/nle-export/fcpxml.d.ts +0 -13
- package/dist/_members/nle-export/index.d.ts +0 -6
- package/dist/_members/nle-export/types.d.ts +0 -26
- package/dist/_members/nle-export/xml/index.d.ts +0 -8
- package/dist/_members/nle-export/xml-utils.d.ts +0 -12
- package/dist/_members/perception/activeSpeaker.d.ts +0 -94
- package/dist/_members/perception/audioQuality.d.ts +0 -64
- package/dist/_members/perception/energyBeat.d.ts +0 -81
- package/dist/_members/perception/identityMatch.d.ts +0 -66
- package/dist/_members/perception/index.d.ts +0 -52
- package/dist/_members/perception/visualQuality.d.ts +0 -73
- package/dist/_members/plane/conformance.d.ts +0 -59
- package/dist/_members/plane/contract.d.ts +0 -29
- package/dist/_members/plane/index.d.ts +0 -15
- package/dist/_members/primitives/backgrounds/animated-bar-chart/index.d.ts +0 -13
- package/dist/_members/primitives/backgrounds/animated-line-chart/index.d.ts +0 -14
- package/dist/_members/primitives/backgrounds/dither-gradient-bg/index.d.ts +0 -14
- package/dist/_members/primitives/backgrounds/dynamic-grid/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/ecosystem-constellation/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/infinite-marquee/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/mesh-gradient-bg/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/perspective-marquee/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/silk-flow-bg/index.d.ts +0 -17
- package/dist/_members/primitives/backgrounds/vector-field/index.d.ts +0 -14
- package/dist/_members/primitives/backgrounds/volumetric-rays/index.d.ts +0 -18
- package/dist/_members/primitives/captions/Captions.d.ts +0 -24
- package/dist/_members/primitives/captions/index.d.ts +0 -15
- package/dist/_members/primitives/captions/paginate.d.ts +0 -21
- package/dist/_members/primitives/captions/placement.d.ts +0 -30
- package/dist/_members/primitives/effects/blur/index.d.ts +0 -16
- package/dist/_members/primitives/effects/color-grade/index.d.ts +0 -20
- package/dist/_members/primitives/effects/grain/index.d.ts +0 -12
- package/dist/_members/primitives/effects/parallax/index.d.ts +0 -13
- package/dist/_members/primitives/effects/particles/index.d.ts +0 -16
- package/dist/_members/primitives/effects/pulsing-indicator/index.d.ts +0 -10
- package/dist/_members/primitives/effects/spotlight-card/index.d.ts +0 -8
- package/dist/_members/primitives/effects/spring-pop-in/index.d.ts +0 -10
- package/dist/_members/primitives/effects/success-confetti/index.d.ts +0 -8
- package/dist/_members/primitives/effects/vignette/index.d.ts +0 -12
- package/dist/_members/primitives/hero-text/HeroText.d.ts +0 -17
- package/dist/_members/primitives/hero-text/config.d.ts +0 -10
- package/dist/_members/primitives/hero-text/index.d.ts +0 -14
- package/dist/_members/primitives/index.d.ts +0 -8
- package/dist/_members/primitives/layouts/chat-to-preview-layout/index.d.ts +0 -8
- package/dist/_members/primitives/layouts/infinite-bento-pan/index.d.ts +0 -8
- package/dist/_members/primitives/layouts/letterbox/index.d.ts +0 -15
- package/dist/_members/primitives/layouts/photo-grid/index.d.ts +0 -17
- package/dist/_members/primitives/layouts/picture-in-picture/index.d.ts +0 -21
- package/dist/_members/primitives/layouts/split-screen/index.d.ts +0 -15
- package/dist/_members/primitives/layouts/staggered-bento-grid/index.d.ts +0 -8
- package/dist/_members/primitives/lib/easings.d.ts +0 -27
- package/dist/_members/primitives/lib/palette.d.ts +0 -22
- package/dist/_members/primitives/lib/preview.d.ts +0 -22
- package/dist/_members/primitives/lib/schema.d.ts +0 -36
- package/dist/_members/primitives/lib/seeded-random.d.ts +0 -23
- package/dist/_members/primitives/lib/text/contrast.d.ts +0 -17
- package/dist/_members/primitives/lib/text/fill.d.ts +0 -5
- package/dist/_members/primitives/lib/text/fitText.d.ts +0 -37
- package/dist/_members/primitives/lib/text/marker.d.ts +0 -10
- package/dist/_members/primitives/lib/text/motion.d.ts +0 -46
- package/dist/_members/primitives/lib/text/recolor.d.ts +0 -11
- package/dist/_members/primitives/lib/text/spec.d.ts +0 -39
- package/dist/_members/primitives/lib/text/stage.d.ts +0 -17
- package/dist/_members/primitives/lib/text/typeface.d.ts +0 -11
- package/dist/_members/primitives/lib/tokens.d.ts +0 -87
- package/dist/_members/primitives/lib/types.d.ts +0 -141
- package/dist/_members/primitives/scenes/changelog-bite/index.d.ts +0 -12
- package/dist/_members/primitives/scenes/hero-device-assemble/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/landing-code-showcase/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/live-code-compilation/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/pricing-tier-focus/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/product-launch-trailer/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/terminal-to-browser-deploy/index.d.ts +0 -8
- package/dist/_members/primitives/subject-foreground/SubjectForeground.d.ts +0 -38
- package/dist/_members/primitives/subject-foreground/index.d.ts +0 -21
- package/dist/_members/primitives/text/blur-reveal/index.d.ts +0 -9
- package/dist/_members/primitives/text/cinematic-title/index.d.ts +0 -14
- package/dist/_members/primitives/text/inline-highlight/index.d.ts +0 -11
- package/dist/_members/primitives/text/karaoke/index.d.ts +0 -13
- package/dist/_members/primitives/text/kinetic-type/index.d.ts +0 -15
- package/dist/_members/primitives/text/lower-third/index.d.ts +0 -14
- package/dist/_members/primitives/text/marker-highlight/index.d.ts +0 -10
- package/dist/_members/primitives/text/masked-slide-reveal/index.d.ts +0 -8
- package/dist/_members/primitives/text/matrix-decode/index.d.ts +0 -9
- package/dist/_members/primitives/text/quote-card/index.d.ts +0 -9
- package/dist/_members/primitives/text/rgb-glitch-text/index.d.ts +0 -13
- package/dist/_members/primitives/text/shimmer-sweep/index.d.ts +0 -10
- package/dist/_members/primitives/text/slot-machine-roll/index.d.ts +0 -8
- package/dist/_members/primitives/text/staggered-fade-up/index.d.ts +0 -12
- package/dist/_members/primitives/text/stat-counter/index.d.ts +0 -13
- package/dist/_members/primitives/text/strikethrough-replace/index.d.ts +0 -9
- package/dist/_members/primitives/text/text-effect/index.d.ts +0 -17
- package/dist/_members/primitives/text/text-fade-replace/index.d.ts +0 -8
- package/dist/_members/primitives/text/token-stream/index.d.ts +0 -11
- package/dist/_members/primitives/text/tracking-in/index.d.ts +0 -8
- package/dist/_members/primitives/text/typewriter/index.d.ts +0 -12
- package/dist/_members/primitives/transitions/chromatic-aberration-wipe/index.d.ts +0 -11
- package/dist/_members/primitives/transitions/code-diff-wipe/index.d.ts +0 -8
- package/dist/_members/primitives/transitions/directional-wipe/index.d.ts +0 -10
- package/dist/_members/primitives/transitions/frosted-glass-wipe/index.d.ts +0 -10
- package/dist/_members/primitives/transitions/glitch-cut/index.d.ts +0 -3
- package/dist/_members/primitives/transitions/grid-pixelate-wipe/index.d.ts +0 -14
- package/dist/_members/primitives/transitions/ink-wipe/index.d.ts +0 -3
- package/dist/_members/primitives/transitions/kinetic-type-mask/index.d.ts +0 -12
- package/dist/_members/primitives/transitions/light-leak/index.d.ts +0 -3
- package/dist/_members/primitives/transitions/luma-matte/index.d.ts +0 -2
- package/dist/_members/primitives/transitions/morph/index.d.ts +0 -2
- package/dist/_members/primitives/transitions/spatial-push/index.d.ts +0 -10
- package/dist/_members/primitives/transitions/swipe-transition-wipe/index.d.ts +0 -13
- package/dist/_members/primitives/transitions/zoom-through/index.d.ts +0 -2
- package/dist/_members/primitives/transitions/zoom-through-transition/index.d.ts +0 -9
- package/dist/_members/primitives/ui-blocks/ai-generate-overlay/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/ai-generation-canvas/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/badge-pop/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/before-after-slider/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/benchmark-bars/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/bounding-box-selector/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/browser-flow/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/brush-stroke-simulator/index.d.ts +0 -18
- package/dist/_members/primitives/ui-blocks/chat-exchange/index.d.ts +0 -10
- package/dist/_members/primitives/ui-blocks/code-accordion/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/context-meter/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/cursor-flow/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/dashboard-populate/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/data-flow-pipes/index.d.ts +0 -9
- package/dist/_members/primitives/ui-blocks/device-mockup-zoom/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/drag-and-drop-flow/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/eval-scorecard/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/glass-code-block/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/image-expand-to-fullscreen/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/metric-gauge/index.d.ts +0 -12
- package/dist/_members/primitives/ui-blocks/morphing-modal/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/pipeline-journey/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/progress-steps/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/reasoning-trace/index.d.ts +0 -10
- package/dist/_members/primitives/ui-blocks/simulated-cursor/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/terminal-simulator/index.d.ts +0 -19
- package/dist/_members/primitives/ui-blocks/toast-notification/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/tool-call-stack/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/tool-menu-slide-in/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/visual-docs-snippet/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/voice-waveform/index.d.ts +0 -11
- package/dist/_members/primitives/workspace.d.ts +0 -29
- package/dist/_members/render-harness/browserOptions.d.ts +11 -0
- package/dist/_members/render-harness/browserOptions.d.ts.map +1 -0
- package/dist/_members/render-harness/cardRender.d.ts +0 -40
- package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
- package/dist/_members/render-harness/contractRender.d.ts +0 -16
- package/dist/_members/render-harness/contractRender.d.ts.map +1 -1
- package/dist/_members/render-harness/extractSegments.d.ts +0 -37
- package/dist/_members/render-harness/extractSegments.d.ts.map +1 -1
- package/dist/_members/render-harness/index.d.ts +0 -12
- package/dist/_members/render-harness/index.d.ts.map +1 -1
- package/dist/_members/render-harness/localRender.d.ts +1 -110
- package/dist/_members/render-harness/localRender.d.ts.map +1 -1
- package/dist/_members/render-harness/materializeSources.d.ts +0 -22
- package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
- package/dist/_members/render-harness/mediaServer.d.ts +0 -16
- package/dist/_members/render-harness/mediaServer.d.ts.map +1 -1
- package/dist/_members/render-harness/renderInputAssets.d.ts +0 -45
- package/dist/_members/render-harness/renderInputAssets.d.ts.map +1 -1
- package/dist/_members/render-harness/resolveAssets.d.ts +0 -24
- package/dist/_members/render-harness/resolveAssets.d.ts.map +1 -1
- package/dist/_members/render-harness/sandboxGlobalSpecs.d.ts +0 -14
- package/dist/_members/render-harness/sandboxGlobalSpecs.d.ts.map +1 -1
- package/dist/account-model/validators.js +1 -1
- package/dist/account-model.js +1 -1
- package/dist/animate.js +0 -15
- package/dist/authoring/build-tools.js +8 -8
- package/dist/authoring/composer.js +0 -20
- package/dist/authoring/context.js +6 -6
- package/dist/authoring/pipelineTrace.js +1 -1
- package/dist/authoring/prompts.js +1 -1
- package/dist/authoring/resource-routing.js +1 -1
- package/dist/authoring/resources.js +1 -1
- package/dist/authoring/tools.js +7 -7
- package/dist/authoring.js +14 -80
- package/dist/{chunk-TWQOKKAF.js → chunk-23HFEKV7.js} +0 -6
- package/dist/{chunk-EA6MYCYW.js → chunk-2B5VJZHL.js} +14 -25
- package/dist/chunk-73DQTUWY.js +131 -0
- package/dist/{chunk-HI4UTTPS.js → chunk-AO744WIK.js} +1 -43
- package/dist/chunk-BADZHXLR.js +0 -0
- package/dist/{chunk-GA23TRNR.js → chunk-BKHGL4MB.js} +5 -13
- package/dist/{chunk-PDYO3DOJ.js → chunk-BZZTVOGG.js} +6 -55
- package/dist/{chunk-AP6ZIVAV.js → chunk-CAJQ7H5A.js} +17 -17
- package/dist/{chunk-7FO3ZJ43.js → chunk-DCVJWGIA.js} +1 -9
- package/dist/{chunk-AQBREB5O.js → chunk-DWLNPNC4.js} +1 -4
- package/dist/{chunk-SW336CJP.js → chunk-DYZE7JZA.js} +3 -26
- package/dist/{chunk-HCCBDJLW.js → chunk-EP2Y6M2J.js} +0 -4
- package/dist/{chunk-ZE76SSRT.js → chunk-FMODQD5P.js} +0 -6
- package/dist/chunk-FTVZF4GO.js +0 -0
- package/dist/{chunk-PMY24FUD.js → chunk-G5BFI32U.js} +1 -1
- package/dist/{chunk-LD5ZOUFT.js → chunk-GF52TW4I.js} +0 -4
- package/dist/{chunk-ABL557OT.js → chunk-GMD33ZD7.js} +1 -8
- package/dist/{chunk-ZWMV6DD2.js → chunk-ICSZF37W.js} +10 -162
- package/dist/chunk-IEXAKOEX.js +113 -0
- package/dist/{chunk-UY4SWJVE.js → chunk-K2IUBCND.js} +0 -12
- package/dist/chunk-LJ5W4ZBU.js +146 -0
- package/dist/chunk-LLUW26BS.js +255 -0
- package/dist/{chunk-JJ6XD7NG.js → chunk-PIURX6IZ.js} +70 -2
- package/dist/{chunk-MMEJ3Y7E.js → chunk-QETYXKQQ.js} +1 -10
- package/dist/{chunk-YX2GSJK7.js → chunk-RP4SXXLJ.js} +1 -1
- package/dist/{chunk-P727GZVO.js → chunk-SAMQUUO5.js} +3 -5
- package/dist/{chunk-RF7U3SCL.js → chunk-TD347SSX.js} +3 -11
- package/dist/{chunk-TOJEXFXL.js → chunk-TFGKUWHY.js} +1 -88
- package/dist/{chunk-UHGSZZDI.js → chunk-TPA6PYN2.js} +1 -11
- package/dist/{chunk-OLFOPQCA.js → chunk-UQSOS726.js} +4 -18
- package/dist/{chunk-GBRNYH7W.js → chunk-V24L35GM.js} +0 -11
- package/dist/{chunk-MBCXCJOE.js → chunk-VFMW3JUY.js} +1 -1
- package/dist/{chunk-DK2ODBNT.js → chunk-VHF66LCQ.js} +16 -98
- package/dist/{chunk-JMURQODM.js → chunk-VZ7TYX6Z.js} +0 -1
- package/dist/{chunk-SIGGQRY2.js → chunk-W3SIWT7J.js} +5030 -4412
- package/dist/{chunk-W35ZMOXB.js → chunk-WPZKOVYF.js} +0 -5
- package/dist/chunk-WZH57M53.js +494 -0
- package/dist/{chunk-AYVJXDLB.js → chunk-XHGZ2E77.js} +0 -2
- package/dist/{chunk-HY3RIEZW.js → chunk-XQ72DZKJ.js} +1 -1
- package/dist/{chunk-7DHP4ESU.js → chunk-YLDMAZZE.js} +0 -10
- package/dist/{chunk-FYZVH3MC.js → chunk-YQ7FFW3G.js} +0 -11
- package/dist/chunk-ZPLJ24OV.js +93 -0
- package/dist/cloud-import/multipart.js +1 -1
- package/dist/cloud-import.js +9 -16
- package/dist/compose/renderer.js +18 -18
- package/dist/compose.js +21 -21
- package/dist/composition/audio.js +1 -1
- package/dist/composition/brand-kit.js +0 -5
- package/dist/composition/graphics-plan.js +4 -4
- package/dist/composition/ops.js +5 -5
- package/dist/composition/primitive-catalog.js +1 -1
- package/dist/composition/projection.js +11 -3
- package/dist/composition/reframe/kenBurns.js +0 -4
- package/dist/composition/reframe.js +4 -2
- package/dist/composition/timeline.js +1 -1
- package/dist/composition/validators/graphic-kinds.js +1 -1
- package/dist/composition/validators.js +4 -4
- package/dist/composition-ops.js +16 -135
- package/dist/composition.js +15 -7
- package/dist/context-JLLU3MYD.js +14 -0
- package/dist/core/render.js +9 -7
- package/dist/core/select.js +2 -6
- package/dist/core.js +5 -7
- package/dist/director/ai-sdk.d.ts +1 -0
- package/dist/director/ai-sdk.js +33 -0
- package/dist/director/domain.d.ts +1 -0
- package/dist/director/domain.js +62 -0
- package/dist/director/testing.d.ts +1 -0
- package/dist/director/testing.js +22 -0
- package/dist/director.d.ts +1 -0
- package/dist/director.js +86 -0
- package/dist/errors.js +1 -1
- package/dist/foundation.js +1 -0
- package/dist/mcp/adapter.js +4 -64
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/media-model/generation.d.ts +1 -0
- package/dist/media-model/generation.js +40 -0
- package/dist/media-model.js +38 -6
- package/dist/nle-export.js +21 -21
- package/dist/plane/contract.js +0 -3
- package/dist/primitives/backgrounds.js +2 -2
- package/dist/primitives/captions.js +0 -5
- package/dist/primitives/effects.js +2 -2
- package/dist/primitives/hero-text.js +2 -2
- package/dist/primitives/layouts.js +2 -2
- package/dist/primitives/lib/index.js +17 -17
- package/dist/primitives/lib/text/fitText.js +1 -1
- package/dist/primitives/lib/tokens.js +1 -1
- package/dist/primitives/lib.js +17 -17
- package/dist/primitives/scenes.js +2 -2
- package/dist/primitives/text.js +2 -2
- package/dist/primitives/ui-blocks.js +4 -4
- package/dist/primitives.js +21 -21
- package/dist/render-harness/sandboxGlobalSpecs.js +1 -1
- package/dist/render-harness.js +24 -41
- package/package.json +37 -21
- package/dist/chunk-6EQXLEP6.js +0 -194
- package/dist/chunk-OCFDUCF4.js +0 -504
- package/dist/chunk-PODIYN2K.js +0 -742
- package/dist/context-YWUZDG5X.js +0 -14
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Typeface resolution for text primitives.
|
|
3
|
-
*
|
|
4
|
-
* Every text-on-video surface resolves its font by ROLE through this module:
|
|
5
|
-
* brand kit first, then a deliberately chosen designed fallback — NEVER
|
|
6
|
-
* `inherit` / `sans-serif` / `monospace` (the generic system face is the #1
|
|
7
|
-
* "AI-default" tell, and the remocn fork stripped the real faces). The floor
|
|
8
|
-
* pairing is Bricolage Grotesque (display) + Schibsted Grotesk (caption), both
|
|
9
|
-
* OFL and bundled in the render harness; mono reuses the already-bundled
|
|
10
|
-
* Space Mono.
|
|
11
|
-
*/
|
|
12
1
|
export type TextRole = 'display' | 'caption' | 'mono';
|
|
13
2
|
export interface TypefaceBrandKit {
|
|
14
3
|
fonts?: Partial<Record<'heading' | 'caption' | 'mono', string>>;
|
|
@@ -1,107 +1,20 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Brand cascade resolution.
|
|
3
|
-
*
|
|
4
|
-
* Resolves token-bound params at apply-time:
|
|
5
|
-
*
|
|
6
|
-
* code default → propDefaults → brand cascade → user param
|
|
7
|
-
*
|
|
8
|
-
* Each layer overrides the previous. The resolved params are materialized
|
|
9
|
-
* into the wire-shape and frozen — the renderer never re-resolves.
|
|
10
|
-
*/
|
|
11
1
|
import type { TokenBinding } from './types.js';
|
|
12
|
-
/**
|
|
13
|
-
* Brand-kit paths that drive a TEXT or CAPTION color — the contrast-critical
|
|
14
|
-
* surface. When one of these cannot resolve (kit absent or path missing) the
|
|
15
|
-
* author's hardcoded `fallback` hex is brand-blind and may be illegible over
|
|
16
|
-
* the real background, so it falls to a neutral-ramp pole instead (the floor's
|
|
17
|
-
* "garbage brand still legible" guarantee). DECORATIVE paths (backgrounds,
|
|
18
|
-
* borders, accents, surfaces) keep their author fallback.
|
|
19
|
-
*
|
|
20
|
-
* Every path here is a frozen Tier-2 core path (see FROZEN_CORE_PATHS) that
|
|
21
|
-
* materializes a foreground/caption color on the `ResolvedBrandKit`. The
|
|
22
|
-
* earlier old-vocabulary synonyms (`colors.fg` / `colors.foreground` /
|
|
23
|
-
* `colors.muted`) were retired in the C3b repoint — no binding references them
|
|
24
|
-
* and the registry lint now rejects them — so they are gone from this set.
|
|
25
|
-
*/
|
|
26
2
|
export declare const CONTRAST_CRITICAL_PATHS: ReadonlySet<string>;
|
|
27
3
|
export declare function isContrastCritical(brandKitPath: string): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* The frozen Tier-2 core: the brand-kit paths a primitive binding may reference
|
|
30
|
-
* that map 1:1 onto a materialized `ResolvedBrandKit` field. This vocabulary is
|
|
31
|
-
* frozen — adding to it means extending `ResolvedBrandKit` (its validator and
|
|
32
|
-
* projection), not just listing a new string here.
|
|
33
|
-
*/
|
|
34
4
|
export declare const FROZEN_CORE_PATHS: readonly ["colors.background", "colors.surface", "colors.card", "colors.text", "colors.textMuted", "colors.textOnMedia", "colors.border", "colors.gridLine", "colors.accent", "colors.accentMuted", "colors.textOnAccent", "colors.textOnSurface", "caption.fg", "caption.scrim", "fonts.heading", "fonts.body", "fonts.caption", "motion.duration", "motion.easing", "motion.entrance", "motion.staggerMs", "motion.exitMs", "spacing.base", "spacing.lg", "spacing.sm", "sizing.fontSizeHeading", "sizing.fontSizeBody", "sizing.fontSizeLabel", "sizing.borderRadius"];
|
|
35
|
-
/**
|
|
36
|
-
* Tier-2b extension namespace: pure-function-of-core one-offs a binding may
|
|
37
|
-
* reference but which are NOT yet derived onto the `ResolvedBrandKit`. They
|
|
38
|
-
* miss at resolve time and fall to the binding's author fallback (decorative,
|
|
39
|
-
* so the legibility floor doesn't apply). Declaring them here keeps the lint
|
|
40
|
-
* from rejecting an intentional extension while still rejecting typos and
|
|
41
|
-
* retired synonyms.
|
|
42
|
-
*/
|
|
43
5
|
export declare const TIER2B_EXTENSION_PATHS: readonly ["colors.terminal", "colors.chrome", "colors.overlay", "colors.accentHue"];
|
|
44
|
-
/**
|
|
45
|
-
* The complete allowlist a primitive's `brandKitPath` may reference:
|
|
46
|
-
* the frozen Tier-2 core ∪ the declared Tier-2b extension namespace.
|
|
47
|
-
*/
|
|
48
6
|
export declare const ALLOWED_BRAND_PATHS: readonly string[];
|
|
49
7
|
export declare function lintBrandPath(p: string): boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Resolve a single token binding against a brand kit.
|
|
52
|
-
*
|
|
53
|
-
* Returns the brand-kit value if found, otherwise the binding's `fallback`.
|
|
54
|
-
* CSS-var resolution happens at render time inside the component (via
|
|
55
|
-
* `getComputedStyle`); this function is for the brand-kit cascade only.
|
|
56
|
-
*
|
|
57
|
-
* When a binding declares a `brandKitPath` but it does NOT resolve (kit absent
|
|
58
|
-
* or path missing), the miss is LOUD, not silent — `opts.onUnresolved` is
|
|
59
|
-
* invoked (or `console.warn` if no callback is supplied) before a fallback is
|
|
60
|
-
* returned. A silent fallback here is exactly the failure mode that produces
|
|
61
|
-
* off-brand renders (a brand-bound accent collapsing to its hardcoded
|
|
62
|
-
* `#FFD60A`), so it must be observable in render logs.
|
|
63
|
-
*
|
|
64
|
-
* The unresolved fallback itself depends on what the binding controls:
|
|
65
|
-
*
|
|
66
|
-
* - CONTRAST-CRITICAL (a text/caption color — `brandKitPath` in
|
|
67
|
-
* CONTRAST_CRITICAL_PATHS): the author's hardcoded hex is brand-blind and
|
|
68
|
-
* may be illegible over the real background, so it falls to a neutral-ramp
|
|
69
|
-
* pole (`NEUTRAL_RAMP.onDark` — white, the safe default when the background
|
|
70
|
-
* is unknown) rather than `binding.fallback`. This is the floor's
|
|
71
|
-
* "garbage brand still legible" guarantee.
|
|
72
|
-
* - DECORATIVE (a background, border, accent, surface, …): the author
|
|
73
|
-
* `fallback` is kept — a legibility floor doesn't apply to it.
|
|
74
|
-
*
|
|
75
|
-
* `onUnresolved` fires in BOTH cases; only the returned value differs.
|
|
76
|
-
*/
|
|
77
8
|
export declare function resolveTokenValue(binding: TokenBinding, brandKit: Record<string, unknown> | undefined, opts?: {
|
|
78
9
|
onUnresolved?: (info: {
|
|
79
10
|
path: string;
|
|
80
11
|
}) => void;
|
|
81
12
|
}): string;
|
|
82
|
-
/**
|
|
83
|
-
* Apply brand-cascade defaults to params.
|
|
84
|
-
*
|
|
85
|
-
* For each token binding: if the user hasn't set the bound prop explicitly,
|
|
86
|
-
* fill it from the brand kit (or the binding's fallback).
|
|
87
|
-
*
|
|
88
|
-
* Pure function — returns a new object, doesn't mutate inputs.
|
|
89
|
-
*/
|
|
90
13
|
export declare function applyBrandCascade<P extends Record<string, unknown>>(params: Partial<P>, tokens: TokenBinding[], brandKit: Record<string, unknown> | undefined, opts?: {
|
|
91
14
|
onUnresolved?: (info: {
|
|
92
15
|
path: string;
|
|
93
16
|
}) => void;
|
|
94
17
|
}): P;
|
|
95
|
-
/**
|
|
96
|
-
* Full four-layer resolution.
|
|
97
|
-
*
|
|
98
|
-
* final = userParams ∘ brandCascade(tokens) ∘ propDefaults ∘ codeDefaults
|
|
99
|
-
*
|
|
100
|
-
* `codeDefaults` come from the React component's parameter defaults and
|
|
101
|
-
* are NOT applied here — they're the renderer's last-line fallback. This
|
|
102
|
-
* function applies the three resolvable layers. The renderer trusts the
|
|
103
|
-
* output and reapplies code defaults for any field still undefined.
|
|
104
|
-
*/
|
|
105
18
|
export declare function resolveParams<P extends Record<string, unknown>>(userParams: Partial<P>, propDefaults: Partial<P>, tokens: TokenBinding[], brandKit: Record<string, unknown> | undefined, opts?: {
|
|
106
19
|
onUnresolved?: (info: {
|
|
107
20
|
path: string;
|
|
@@ -1,194 +1,54 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Agent-first primitive metadata contract.
|
|
3
|
-
*
|
|
4
|
-
* Every primitive's `config.ts` exports a `config: PrimitiveMeta`. The
|
|
5
|
-
* registry, the agent's `apply_template` chokepoint, the customizer
|
|
6
|
-
* controls, and the app's PrimitivesDrawer all read from this single shape.
|
|
7
|
-
*
|
|
8
|
-
* Design tenets:
|
|
9
|
-
* - Schema is canonical (zod). JSON Schema and prop defaults derive from it.
|
|
10
|
-
* - Field descriptions are prompt-quality. The agent's tool surface
|
|
11
|
-
* surfaces them to the LLM.
|
|
12
|
-
* - Examples are vibe-tagged few-shot, not single-sample demos.
|
|
13
|
-
* - Validation is normative. zod constraints fail loudly.
|
|
14
|
-
*/
|
|
15
1
|
import type * as React from 'react';
|
|
16
2
|
import type { z } from 'zod';
|
|
17
3
|
export type PrimitiveCategory = 'text' | 'effects' | 'transitions' | 'layouts' | 'backgrounds' | 'ui-blocks' | 'scenes';
|
|
18
|
-
/**
|
|
19
|
-
* What the renderer does with this primitive.
|
|
20
|
-
*
|
|
21
|
-
* - `component`: mount as a React component with validated params.
|
|
22
|
-
* - `transition`: call `createPresentation(params)` for `<TransitionSeries>`.
|
|
23
|
-
* The `component` field still references the underlying presentation
|
|
24
|
-
* component for static drawer preview at a fixed progress.
|
|
25
|
-
* - `scene`: same as `component`, but declares `primitivesUsed[]` as an
|
|
26
|
-
* ABI manifest the workflow asserts at start.
|
|
27
|
-
*/
|
|
28
4
|
export type PrimitiveKind = 'component' | 'transition' | 'scene';
|
|
29
|
-
/**
|
|
30
|
-
* Curation tier — ranks craft + general applicability for a driving agent.
|
|
31
|
-
* `recommended` = lead with it; `standard` = solid, on-demand; `niche` = special-case.
|
|
32
|
-
*/
|
|
33
5
|
export type Tier = 'recommended' | 'standard' | 'niche';
|
|
34
|
-
/**
|
|
35
|
-
* Editorial use-case — the edit-role(s) a driving agent filters the catalog by.
|
|
36
|
-
*/
|
|
37
6
|
export type UseCase = 'intro' | 'outro' | 'full-scene' | 'title-over-footage' | 'transition' | 'background' | 'grade' | 'emphasis' | 'explainer' | 'social-cut';
|
|
38
7
|
export type Mood = 'editorial' | 'cinematic' | 'tech-demo' | 'breaking-news' | 'playful' | 'minimal' | 'aggressive' | 'soft' | 'glitchy' | 'corporate';
|
|
39
8
|
export interface Example<P = any> {
|
|
40
|
-
/** kebab-case slug, unique within a primitive's examples[]. */
|
|
41
9
|
name: string;
|
|
42
|
-
/** Mood tags. Drives drawer filtering and agent vibe-matching. */
|
|
43
10
|
mood: Mood[];
|
|
44
|
-
/**
|
|
45
|
-
* Param values for this example. May be partial — missing fields fall back
|
|
46
|
-
* to `propDefaults` and the four-layer brand-cascade resolver at apply time.
|
|
47
|
-
*/
|
|
48
11
|
params: Partial<P>;
|
|
49
|
-
/** When the agent should pick this example. */
|
|
50
12
|
description?: string;
|
|
51
13
|
}
|
|
52
14
|
export interface TokenBinding {
|
|
53
|
-
/**
|
|
54
|
-
* Dotted path into the params object this token controls.
|
|
55
|
-
*
|
|
56
|
-
* Examples: `'textColor'`, `'tokens.accentColor'`, `'fontFamily'`.
|
|
57
|
-
*/
|
|
58
15
|
propPath: string;
|
|
59
|
-
/**
|
|
60
|
-
* CSS custom property in the host theme. The drawer/renderer reads
|
|
61
|
-
* `getComputedStyle(host).getPropertyValue(cssVar)` and falls back to
|
|
62
|
-
* `fallback` if undefined.
|
|
63
|
-
*/
|
|
64
16
|
cssVar: `--cf-${string}`;
|
|
65
|
-
/** Fallback value if neither brand kit nor CSS var resolves. */
|
|
66
17
|
fallback: string;
|
|
67
|
-
/**
|
|
68
|
-
* Path into the org's brand kit for this token. The apply-time
|
|
69
|
-
* resolver reads `org.brandKit[brandKitPath]` to fill the param if
|
|
70
|
-
* the user hasn't set it explicitly.
|
|
71
|
-
*/
|
|
72
18
|
brandKitPath?: string;
|
|
73
19
|
}
|
|
74
20
|
export interface PrimitivePreview {
|
|
75
|
-
/** Frame to render as the static thumbnail. */
|
|
76
21
|
thumbnailFrame: number;
|
|
77
|
-
/** Loop the preview or play once. */
|
|
78
22
|
mode: 'loop' | 'oneshot';
|
|
79
|
-
/** Override `width` for preview only. Defaults to the primitive's `width`. */
|
|
80
23
|
width?: number;
|
|
81
|
-
/** Override `height` for preview only. Defaults to the primitive's `height`. */
|
|
82
24
|
height?: number;
|
|
83
|
-
/** `Example.name` to seed the drawer with. Defaults to `examples[0]`. */
|
|
84
25
|
defaultExample?: string;
|
|
85
26
|
}
|
|
86
27
|
export interface PrimitiveMeta<P = any> {
|
|
87
|
-
/** Stable, kebab-case, globally unique within the cueframe registry. */
|
|
88
28
|
id: string;
|
|
89
|
-
/**
|
|
90
|
-
* The React component reference.
|
|
91
|
-
*
|
|
92
|
-
* For `kind: 'component' | 'scene'`, this is the primitive itself.
|
|
93
|
-
* For `kind: 'transition'`, this is the underlying presentation component
|
|
94
|
-
* (mountable for static preview at a fixed progress).
|
|
95
|
-
*/
|
|
96
29
|
component: React.ComponentType<any>;
|
|
97
|
-
/** Human-readable display name for drawer surfaces. */
|
|
98
30
|
name: string;
|
|
99
31
|
category: PrimitiveCategory;
|
|
100
32
|
kind: PrimitiveKind;
|
|
101
|
-
/** Semver. Bumped when `paramsSchema` changes shape. */
|
|
102
33
|
version: string;
|
|
103
|
-
/**
|
|
104
|
-
* How an EFFECT primitive reaches pixels when the render mounts it.
|
|
105
|
-
*
|
|
106
|
-
* `'overlay'` (the default) — the component PAINTS ITS OWN content (grain,
|
|
107
|
-
* vignette, particles) and is mounted as a layer stacked above the footage.
|
|
108
|
-
*
|
|
109
|
-
* `'wrap'` — the component is a FILTER WRAPPER (color-grade, blur): it
|
|
110
|
-
* renders `<div style={{filter}}>{children}</div>` and changes nothing it is
|
|
111
|
-
* not an ancestor of. The render mounts it AROUND the footage stack
|
|
112
|
-
* (`WrapEffects` in render-entry), never as a stacked sibling — a childless
|
|
113
|
-
* mount is a filter over an empty div, which grades zero pixels while
|
|
114
|
-
* reporting success (the 2026-08-25 inert-grade bug). A `'wrap'` component
|
|
115
|
-
* MUST accept a `style` prop spread LAST on its wrapper element, so the
|
|
116
|
-
* mount can neutralize it outside its active window
|
|
117
|
-
* (`{filter:'none', transform:'none'}`) without unmounting the footage.
|
|
118
|
-
*/
|
|
119
34
|
effectPlacement?: 'wrap' | 'overlay';
|
|
120
|
-
/**
|
|
121
|
-
* Verb describing what this primitive accomplishes.
|
|
122
|
-
*
|
|
123
|
-
* Examples: `'reveal-text'`, `'transition-scenes'`, `'fill-background'`,
|
|
124
|
-
* `'overlay-grain'`, `'compose-trailer'`.
|
|
125
|
-
*/
|
|
126
35
|
intent: string;
|
|
127
|
-
/** One-paragraph description, prompt-quality. Surfaces to the agent. */
|
|
128
36
|
description: string;
|
|
129
|
-
/**
|
|
130
|
-
* When to use this primitive — and when not to. Specific guidance,
|
|
131
|
-
* not generic. Negative guidance is what stops bad agent choices.
|
|
132
|
-
*/
|
|
133
37
|
useWhen: string;
|
|
134
|
-
/** Other primitive ids that complement this one. */
|
|
135
38
|
pairsWith: string[];
|
|
136
|
-
/** Other primitive ids that conflict with this one. */
|
|
137
39
|
avoidWith: string[];
|
|
138
|
-
/** Curation tier — craft + general applicability ranking for a driving agent. */
|
|
139
40
|
tier: Tier;
|
|
140
|
-
/** Editorial use-case(s) — the edit-role(s) a driving agent filters by. ≥1. */
|
|
141
41
|
useCase: UseCase[];
|
|
142
|
-
/** Search keywords. Drives drawer search ranking. */
|
|
143
42
|
tags: string[];
|
|
144
|
-
/** Mood tags for drawer filtering and agent vibe-matching. */
|
|
145
43
|
mood: Mood[];
|
|
146
|
-
/**
|
|
147
|
-
* Zod schema for the primitive's params. Every field should have
|
|
148
|
-
* `.describe()` so the generated JSON Schema carries LLM documentation.
|
|
149
|
-
* Use `.default()` to declare propDefaults inline.
|
|
150
|
-
*/
|
|
151
44
|
paramsSchema: z.ZodTypeAny;
|
|
152
|
-
/** Materialized defaults. Derived from zod via `lib/schema.ts:zodToDefaults`. */
|
|
153
45
|
propDefaults: Partial<P>;
|
|
154
|
-
/** ≥1 example. The first is the drawer default unless `preview.defaultExample` overrides. */
|
|
155
46
|
examples: Example<P>[];
|
|
156
|
-
/**
|
|
157
|
-
* Param field that accepts the primitive's primary text payload.
|
|
158
|
-
* `null` means the primitive has no canonical text slot (e.g. backgrounds).
|
|
159
|
-
* Used by `apply_template` to fill the layer's text variable.
|
|
160
|
-
*
|
|
161
|
-
* ABI SCOPE — textParam + subtextParam are the TWO single-string title/subtitle
|
|
162
|
-
* slots only. MULTI-ELEMENT / STRUCTURED scene copy (tiers, feature lines,
|
|
163
|
-
* code lines, beats) is NOT carried here; expose it as a typed param in the
|
|
164
|
-
* primitive's OWN `paramsSchema` (e.g. changelog-bite `oldLines`/`newLines:
|
|
165
|
-
* string[]`) and document any still-baked copy in `fixedCopy`. A genuinely
|
|
166
|
-
* GLOBAL structured-content slot on this ABI is intentionally deferred — see
|
|
167
|
-
* the agent-surface-gap plan (EXPRESSIVENESS: canonical text ABI).
|
|
168
|
-
*/
|
|
169
47
|
textParam: string | null;
|
|
170
|
-
/** Same contract for a secondary text payload (subtitle, byline, role). See textParam's ABI-scope note. */
|
|
171
48
|
subtextParam: string | null;
|
|
172
|
-
/**
|
|
173
|
-
* On-screen strings this primitive BAKES into the render — the read-side
|
|
174
|
-
* counterpart to `paramsSchema`. List the literal copy (titles, faux-code,
|
|
175
|
-
* labels, faux-data) that renders REGARDLESS of params, so the agent surface
|
|
176
|
-
* can warn at author time that this text is fixed and only forking the source
|
|
177
|
-
* (get_component_source) can change it. Omit for primitives that bake no copy.
|
|
178
|
-
*/
|
|
179
49
|
fixedCopy?: string[];
|
|
180
|
-
/** Token bindings declared by this primitive. Empty array if no theme params. */
|
|
181
50
|
tokens: TokenBinding[];
|
|
182
|
-
/**
|
|
183
|
-
* `kind === 'transition'`: factory returning a Remotion TransitionPresentation.
|
|
184
|
-
* Consumed by the render path's `<TransitionSeries.Transition presentation={...} />`.
|
|
185
|
-
*/
|
|
186
51
|
createPresentation?: (params: P) => unknown;
|
|
187
|
-
/**
|
|
188
|
-
* `kind === 'scene'`: ABI manifest of dependent primitive ids. Asserted
|
|
189
|
-
* at workflow start; missing primitives throw non-retryable
|
|
190
|
-
* `PrimitiveMissing` so the worker rebuild surface is gated cleanly.
|
|
191
|
-
*/
|
|
192
52
|
primitivesUsed?: string[];
|
|
193
53
|
durationInFrames: number;
|
|
194
54
|
fps: number;
|
|
@@ -196,5 +56,4 @@ export interface PrimitiveMeta<P = any> {
|
|
|
196
56
|
height: number;
|
|
197
57
|
preview: PrimitivePreview;
|
|
198
58
|
}
|
|
199
|
-
/** A category catalog: the ordered list of all primitives in one subpath. */
|
|
200
59
|
export type Catalog = PrimitiveMeta[];
|
|
@@ -1,22 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - hermetic-ize fontFamily (use inherit / monospace, not Geist CSS vars)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
import type { ReactNode } from "react";
|
|
10
2
|
export interface ChangelogBiteProps {
|
|
11
3
|
label?: string;
|
|
12
4
|
title?: string;
|
|
13
|
-
/** ReactNode escape hatch (host-only; NOT expressible over the JSON params bag). */
|
|
14
5
|
oldContent?: ReactNode;
|
|
15
|
-
/** ReactNode escape hatch (host-only; NOT expressible over the JSON params bag). */
|
|
16
6
|
newContent?: ReactNode;
|
|
17
|
-
/** BEFORE-panel content as plain lines — the JSON-serializable comparison slot. */
|
|
18
7
|
oldLines?: string[];
|
|
19
|
-
/** AFTER-panel content as plain lines — the JSON-serializable comparison slot. */
|
|
20
8
|
newLines?: string[];
|
|
21
9
|
format?: "square" | "portrait";
|
|
22
10
|
background?: string;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - hermetic-ize fontFamily (use inherit / monospace, not Geist CSS vars)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
export interface HeroDeviceAssembleProps {
|
|
10
2
|
assembleStart?: number;
|
|
11
3
|
device?: "laptop" | "phone";
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - hermetic-ize fontFamily (use inherit / monospace, not Geist CSS vars)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
import { LANDING_CODE_SHOWCASE_DURATION } from "./timeline.js";
|
|
10
2
|
export interface LandingCodeShowcaseProps {
|
|
11
3
|
accentColor?: string;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - hermetic-ize fontFamily (use inherit / monospace, not Geist CSS vars)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
export interface LiveCodeCompilationProps {
|
|
10
2
|
accentColor?: string;
|
|
11
3
|
speed?: number;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - hermetic-ize fontFamily (use inherit / monospace, not Geist CSS vars)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
export interface PricingTierFocusProps {
|
|
10
2
|
focusedTier?: 0 | 1 | 2 | "0" | "1" | "2";
|
|
11
3
|
accentColor?: string;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - hermetic-ize fontFamily (use inherit / monospace, not Geist CSS vars)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
export interface ProductLaunchTrailerProps {
|
|
10
2
|
logoLabel?: string;
|
|
11
3
|
productName?: string;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - hermetic-ize fontFamily (use inherit / monospace, not Geist CSS vars)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
export interface TerminalToBrowserDeployProps {
|
|
10
2
|
siteUrl?: string;
|
|
11
3
|
accentColor?: string;
|
|
@@ -1,43 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Subject-foreground primitive — alpha-masked source video composited
|
|
3
|
-
* on top of captions for the captions-behind-speaker silhouette effect.
|
|
4
|
-
*
|
|
5
|
-
* Wire-up: when a `MediaClipSource` has its `variant` field set AND the
|
|
6
|
-
* composition has `captions`, the renderer composites in three layers:
|
|
7
|
-
*
|
|
8
|
-
* 1. background plate (pre-baked video variant)
|
|
9
|
-
* 2. captions text (`<Captions>`)
|
|
10
|
-
* 3. subject foreground silhouette (this primitive — top z-layer)
|
|
11
|
-
*
|
|
12
|
-
* The matte (`mediaItems.mattes[matteHash].matteR2Key`) is a crop-
|
|
13
|
-
* INDEPENDENT VP9-alpha WebM person foreground plate, baked over the
|
|
14
|
-
* clip's source window. Render-time crop (CropFromTrajectory) is applied
|
|
15
|
-
* identically to the plate and the background, so this primitive does NO
|
|
16
|
-
* transform math — it fills the parent (see style below) and the wrapping
|
|
17
|
-
* CropFromTrajectory positions both in lockstep.
|
|
18
|
-
*
|
|
19
|
-
* FRAME ALIGNMENT: the matte is encoded CFR at the COMPOSITION fps, so its
|
|
20
|
-
* frame index lines up 1:1 with the rendered output. At composition frame
|
|
21
|
-
* f, `<OffthreadVideo startFrom={0}>` plays matte frame f — the same source
|
|
22
|
-
* content the background shows at f (the double-head-ghost fix; see
|
|
23
|
-
* the backend services_router/skills/person_matting.py `_open_encoder`).
|
|
24
|
-
*
|
|
25
|
-
* ALPHA HANDLING: the matte is `yuva420p` VP9 where the A channel carries
|
|
26
|
-
* the person alpha. Remotion's `<OffthreadVideo transparent>` is required —
|
|
27
|
-
* without it the YUVA stream renders as opaque RGB and obscures the
|
|
28
|
-
* background plate entirely.
|
|
29
|
-
*
|
|
30
|
-
* LICENSE: the matte is produced by BiRefNet-portrait (MIT), not the
|
|
31
|
-
* retired GPL RVM path — nothing proprietary or copyleft flows in.
|
|
32
|
-
*/
|
|
33
1
|
export interface SubjectForegroundProps {
|
|
34
|
-
/** R2 URL (presigned) of the pre-cropped alpha ProRes 4444 .mov. */
|
|
35
2
|
src: string;
|
|
36
|
-
/**
|
|
37
|
-
* Source-relative time offset where this clip starts. Maps the
|
|
38
|
-
* Remotion frame counter (clip-relative) to the matte's frame
|
|
39
|
-
* index (source-relative).
|
|
40
|
-
*/
|
|
41
3
|
startTimeInSourceSec?: number;
|
|
42
4
|
}
|
|
43
5
|
export declare function SubjectForeground({ src, startTimeInSourceSec, }: SubjectForegroundProps): import("react").JSX.Element;
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @cueframe/primitives/subject-foreground — alpha-channel foreground
|
|
3
|
-
* layer for the captions-behind-speaker silhouette effect.
|
|
4
|
-
*
|
|
5
|
-
* Wire-up: when a `MediaClipSource` has its `variant` field set AND
|
|
6
|
-
* `mediaItems.variants[framing][aspect].maskR2Key` is populated AND
|
|
7
|
-
* the composition has `captions`, the renderer composites in three
|
|
8
|
-
* layers: background plate → captions → `<SubjectForeground>`.
|
|
9
|
-
* Without the matte, the renderer skips this layer and captions
|
|
10
|
-
* render flat on top of the video as usual.
|
|
11
|
-
*
|
|
12
|
-
* Per Architectural Decision #3 (baked-variants plan, 2026-05-25):
|
|
13
|
-
* the matte is co-baked from the SAME PyAutoFlip crop trajectory as
|
|
14
|
-
* the chosen video variant, so alignment is structural — this
|
|
15
|
-
* primitive needs no transform math.
|
|
16
|
-
*
|
|
17
|
-
* Top-level layer, not in the drag-and-drop catalog. Substrate-
|
|
18
|
-
* internal: the alpha video is produced by the GPL-3.0 RVM service in
|
|
19
|
-
* `the backend services_matting/`; this primitive only consumes the output
|
|
20
|
-
* file (per the GPL boundary documented in the design doc).
|
|
21
|
-
*/
|
|
22
1
|
export { SubjectForeground } from './SubjectForeground.js';
|
|
23
2
|
export type { SubjectForegroundProps } from './SubjectForeground.js';
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - bind a real display typeface (typeface floor) instead of `inherit`
|
|
7
|
-
* - bake the shared contrast shadow so text survives over any footage
|
|
8
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
9
|
-
*/
|
|
10
1
|
export interface BlurRevealProps {
|
|
11
2
|
text: string;
|
|
12
3
|
className?: string;
|
|
@@ -8,24 +8,10 @@ export interface CinematicTitleTokens {
|
|
|
8
8
|
letterSpacing?: number;
|
|
9
9
|
}
|
|
10
10
|
export interface CinematicTitleProps {
|
|
11
|
-
/** Primary text */
|
|
12
11
|
text: string;
|
|
13
|
-
/** Optional subtitle / secondary text */
|
|
14
12
|
subtitle?: string;
|
|
15
|
-
/** Visual variant */
|
|
16
13
|
variant?: 'default' | 'bold' | 'zoom';
|
|
17
|
-
/** Vertical position */
|
|
18
14
|
position?: 'center' | 'bottom' | 'top';
|
|
19
|
-
/** Design tokens */
|
|
20
15
|
tokens?: CinematicTitleTokens;
|
|
21
16
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Dramatic title reveal with cinematic letterbox bars.
|
|
24
|
-
*
|
|
25
|
-
* - default: letterbox bars slide in, text fades up with letter-spacing tightening
|
|
26
|
-
* - bold: larger scale, heavier weight, stronger entrance
|
|
27
|
-
* - zoom: scale-from-blur entrance with zoom overshoot
|
|
28
|
-
*
|
|
29
|
-
* Migrated from cinematic-title template. Preserves spring physics and easing curves.
|
|
30
|
-
*/
|
|
31
17
|
export declare const CinematicTitle: React.FC<CinematicTitleProps>;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - bind a real display typeface (typeface floor) instead of `inherit`
|
|
7
|
-
* - bake the shared contrast shadow so text survives over any footage
|
|
8
|
-
* - single-source the color defaults from config (was #171717 base /
|
|
9
|
-
* #ff5e3a highlight here, disagreeing with the config token fallbacks)
|
|
10
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
11
|
-
*/
|
|
12
1
|
export interface InlineHighlightProps {
|
|
13
2
|
before: string;
|
|
14
3
|
highlight: string;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface KaraokeWord {
|
|
3
|
-
/** Word text */
|
|
4
3
|
text: string;
|
|
5
|
-
/** Start time in milliseconds */
|
|
6
4
|
startMs: number;
|
|
7
|
-
/** End time in milliseconds */
|
|
8
5
|
endMs: number;
|
|
9
6
|
}
|
|
10
7
|
export interface KaraokeTokens {
|
|
@@ -15,18 +12,8 @@ export interface KaraokeTokens {
|
|
|
15
12
|
activeScale?: number;
|
|
16
13
|
}
|
|
17
14
|
export interface KaraokeProps {
|
|
18
|
-
/** Array of timed words */
|
|
19
15
|
words: KaraokeWord[];
|
|
20
|
-
/** Text position */
|
|
21
16
|
position?: 'center' | 'left' | 'right' | 'bottom';
|
|
22
|
-
/** Design tokens */
|
|
23
17
|
tokens?: KaraokeTokens;
|
|
24
18
|
}
|
|
25
|
-
/**
|
|
26
|
-
* Word-by-word highlight synced to timing.
|
|
27
|
-
*
|
|
28
|
-
* Each word has a start/end time in milliseconds. The active word gets
|
|
29
|
-
* accent color and a subtle scale boost via spring physics.
|
|
30
|
-
* Inactive past words stay full opacity; future words are dimmed.
|
|
31
|
-
*/
|
|
32
19
|
export declare const Karaoke: React.FC<KaraokeProps>;
|
|
@@ -5,25 +5,10 @@ export interface KineticTypeTokens {
|
|
|
5
5
|
textColor?: string;
|
|
6
6
|
}
|
|
7
7
|
export interface KineticTypeProps {
|
|
8
|
-
/** Text content */
|
|
9
8
|
text: string;
|
|
10
|
-
/** Animation style */
|
|
11
9
|
animation?: 'fly-in' | 'rotate' | 'scale-bounce' | 'cascade';
|
|
12
|
-
/** Text position */
|
|
13
10
|
position?: 'center' | 'left' | 'right';
|
|
14
|
-
/** Accent color for the payoff (last) word. Empty string disables. */
|
|
15
11
|
accentColor?: string;
|
|
16
|
-
/** Design tokens */
|
|
17
12
|
tokens?: KineticTypeTokens;
|
|
18
13
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Motion typography with per-word choreography.
|
|
21
|
-
*
|
|
22
|
-
* Each word animates in with spring physics and staggered timing.
|
|
23
|
-
* Four animation styles for different moods:
|
|
24
|
-
* - fly-in: words slide up from below
|
|
25
|
-
* - rotate: words rotate in from tilted angle
|
|
26
|
-
* - scale-bounce: words pop in with scale overshoot
|
|
27
|
-
* - cascade: words drop in from above with gravity feel
|
|
28
|
-
*/
|
|
29
14
|
export declare const KineticType: React.FC<KineticTypeProps>;
|
|
@@ -8,23 +8,9 @@ export interface LowerThirdTokens {
|
|
|
8
8
|
backgroundColor?: string;
|
|
9
9
|
}
|
|
10
10
|
export interface LowerThirdProps {
|
|
11
|
-
/** Primary text (speaker name, topic) */
|
|
12
11
|
text: string;
|
|
13
|
-
/** Secondary text (title, role) */
|
|
14
12
|
subtitle?: string;
|
|
15
|
-
/** Visual variant */
|
|
16
13
|
variant?: 'classic' | 'modern' | 'cinematic';
|
|
17
|
-
/** Design tokens */
|
|
18
14
|
tokens?: LowerThirdTokens;
|
|
19
15
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Speaker/topic identification bar at the bottom of the screen.
|
|
22
|
-
*
|
|
23
|
-
* Migrated from lower-third template. Spring-driven slide entrance/exit.
|
|
24
|
-
*
|
|
25
|
-
* Variants:
|
|
26
|
-
* - classic: accent color bar on primary text, dark background on subtitle
|
|
27
|
-
* - modern: full accent background with rounded corners
|
|
28
|
-
* - cinematic: thin accent border-left with translucent dark background
|
|
29
|
-
*/
|
|
30
16
|
export declare const LowerThird: React.FC<LowerThirdProps>;
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - bind a real display typeface (typeface floor) instead of `inherit`
|
|
7
|
-
* - single-source markerColor from config (was #facc15 here, disagreeing
|
|
8
|
-
* with the config token fallback #fde047)
|
|
9
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
10
|
-
*/
|
|
11
1
|
export interface MarkerHighlightProps {
|
|
12
2
|
before?: string;
|
|
13
3
|
highlight: string;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adapted from remocn (https://github.com/kapishdima/remocn) — MIT
|
|
3
|
-
* Copyright (c) 2026 KapishDima
|
|
4
|
-
*
|
|
5
|
-
* Modifications:
|
|
6
|
-
* - bind real display typeface + bake contrast shadow (was `inherit`, no shadow)
|
|
7
|
-
* - strip "use client" directive (re-added at shadcn-registry export time)
|
|
8
|
-
*/
|
|
9
1
|
export interface MaskedSlideRevealProps {
|
|
10
2
|
text: string;
|
|
11
3
|
staggerDelay?: number;
|