@clypra-studio/engine 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-B2KQXJLS.js → chunk-JP44RJUI.js} +2 -2
- package/dist/{chunk-NG4F55V7.js → chunk-V5VSY64D.js} +2 -2
- package/dist/chunk-XHHAW7MS.js +598 -0
- package/dist/chunk-XHHAW7MS.js.map +1 -0
- package/dist/{chunk-7ORA5BPW.js → chunk-YBOYDQU5.js} +199 -2
- package/dist/chunk-YBOYDQU5.js.map +1 -0
- package/dist/index.cjs +647 -1744
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +345 -9
- package/dist/index.js.map +1 -1
- package/dist/rendering/index.cjs +198 -0
- package/dist/rendering/index.cjs.map +1 -1
- package/dist/rendering/index.js +2 -3
- package/dist/textEffects/index.cjs +198 -1
- package/dist/textEffects/index.cjs.map +1 -1
- package/dist/textEffects/index.js +2 -3
- package/dist/transitions/index.js +0 -1
- package/dist/videoEffects/index.cjs +106 -1741
- package/dist/videoEffects/index.cjs.map +1 -1
- package/dist/videoEffects/index.d.cts +2 -115
- package/dist/videoEffects/index.d.ts +2 -115
- package/dist/videoEffects/index.js +1 -6
- package/package.json +12 -12
- package/dist/chunk-7ORA5BPW.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -10
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-SH7HOGVX.js +0 -2235
- package/dist/chunk-SH7HOGVX.js.map +0 -1
- /package/dist/{chunk-B2KQXJLS.js.map → chunk-JP44RJUI.js.map} +0 -0
- /package/dist/{chunk-NG4F55V7.js.map → chunk-V5VSY64D.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { z } from 'zod';
|
|
|
4
4
|
export { C as CompositorFromScene, E as EvaluateOptions, F as FontDescriptor, a as FontLoadResult, b as FontLoader, c as FontVariant, T as TextEffectRenderer, _ as _buildConfig, d as advanceSceneTime, e as builtInPresets, f as checkFontVariant, g as createBlankTextEffectConfig, h as defaultConfig, i as ensureFontsLoaded, j as evaluateConfig, k as evaluateScene, l as getFontLoader, m as getSceneTime, n as initializeFontSystem, o as injectFontVariantRules, p as layerToTextEffectConfig, q as mergeSceneIntoConfig, r as renderTextEffectCore, s as resetFontLoader, t as resetSceneTime, u as resolveFontFamilyName, v as sceneToConfig, w as setSceneTime, x as syncCompositorFromScene, y as textEffectConfigToScene } from './index-CHLTQy2v.cjs';
|
|
5
5
|
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index-FDQDo2pR.cjs';
|
|
6
6
|
export { d as CANONICAL_RENDERER_VERSION, e as CANONICAL_SCHEMA_VERSION, f as CanonicalRenderContext, g as CanonicalRenderInput, h as CanonicalRenderResult, i as CapabilityReport, j as CapabilityStatus, k as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, P as PublishedRevision, l as RenderCapability, m as RenderDiagnostic, n as RenderDiagnostics, o as RenderEnvironment, p as RenderIdentity, q as RenderTarget, S as SceneDocumentV2, r as TEXT_TEMPLATE_KIND, s as TEXT_TEMPLATE_RENDERER_VERSION, t as TEXT_TEMPLATE_SCHEMA_VERSION, u as TemplateAssetRef, v as TemplateBackgroundPanel, w as TemplateCapabilityReport, x as TemplateContainerNode, y as TemplateContainerNodeStyle, z as TemplateControl, A as TemplateControlConstraints, B as TemplateControlOption, D as TemplateControlType, F as TemplateDependencyManifest, G as TemplateDurationPolicy, H as TemplateFontRef, I as TemplateImageNode, J as TemplateLayerV2, K as TemplateMetadata, L as TemplateNode, M as TemplateNodeAnimation, N as TemplatePreviewArtifacts, O as TemplatePropertyKeyframes, Q as TemplateProtectedRegion, U as TemplateRenderTarget, V as TemplateRevision, W as TemplateShapeNode, X as TemplateShapeNodeStyle, Y as TemplateStyleRef, Z as TemplateTextNode, _ as TemplateTextNodeStyle, $ as TemplateTimelineMarker, a0 as TemplateTiming, a1 as TextEffectRenderInput, a2 as TextTemplateCanvas, a3 as TextTemplateClip, a4 as TextTemplateDocument, a5 as TextTemplateDocumentV2, a6 as TextTemplateFlexLayout, a7 as TextTemplateRenderInput, a8 as canonicalContentHash, a9 as canonicalizeSceneDocument, aa as evaluateTextEffect, ab as evaluateTextTemplate, ac as getRenderCapabilities, ad as getTextTemplateControls, ae as normalizeTextEffect, af as normalizeTextTemplate, ag as renderCanonicalToCanvas, ah as renderTextEffectToCanvas, ai as renderTextTemplateToCanvas, aj as resolveTemplateFontFamily, ak as resolveTextTemplateArtifact } from './index-FDQDo2pR.cjs';
|
|
7
|
-
export { AppliedEffect, AppliedOverlay, BlendMode,
|
|
7
|
+
export { AppliedEffect, AppliedOverlay, BlendMode, EFFECTS_REGISTRY, EffectCategory, EffectEngine, EffectGraph, EffectMetadata, EffectParameters, EffectPreset, EffectRenderer, EffectRendererType, FilterAsset, GraphDefinition, OverlayAsset, VideoEffectApiDefinition, VideoEffectCategory, VideoEffectItem, VideoEffectManifest, VideoEffectState, addNoise, blendColors, clearCanvas, effectMetadataToApi, generateEffectsManifest, getAllEffectsForApi, getEffectByIdForApi, getEffectCategoriesSummary, getEffectMetadata, getEffectPreviewUrl, getEffectRenderer, getEffectsByCategory, getEffectsByCategoryForApi, hexToRgba, rgbaToComponents, searchEffects, searchEffectsForApi, withContext } from './videoEffects/index.cjs';
|
|
8
8
|
export { ALL_TRANSITIONS, AppliedTransition, EasingFunction, NativeTransitionDefinition, NativeTransitionParam, TRANSITION_CATEGORIES, TRANSITION_PRESETS, TransitionCategory, TransitionParameters, TransitionPreset, TransitionRenderer, TransitionRendererType, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionsByCategory, getTransitionsByTags, searchTransitions } from './transitions/index.cjs';
|
|
9
9
|
import { NodeCapabilities, NodeRequirements, GraphPin, GraphNode, GraphEdge, MediaProcessingGraph } from '@clypra-studio/types';
|
|
10
10
|
export { NodeCapabilities as EffectCapabilities, NodeRequirements as EffectRequirements, GraphDataType, GraphEdge, GraphHelper, GraphNode, GraphPin, GraphValue, MediaProcessingGraph, NodeCapabilities, NodeLifecycleState, NodeRequirements } from '@clypra-studio/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { z } from 'zod';
|
|
|
4
4
|
export { C as CompositorFromScene, E as EvaluateOptions, F as FontDescriptor, a as FontLoadResult, b as FontLoader, c as FontVariant, T as TextEffectRenderer, _ as _buildConfig, d as advanceSceneTime, e as builtInPresets, f as checkFontVariant, g as createBlankTextEffectConfig, h as defaultConfig, i as ensureFontsLoaded, j as evaluateConfig, k as evaluateScene, l as getFontLoader, m as getSceneTime, n as initializeFontSystem, o as injectFontVariantRules, p as layerToTextEffectConfig, q as mergeSceneIntoConfig, r as renderTextEffectCore, s as resetFontLoader, t as resetSceneTime, u as resolveFontFamilyName, v as sceneToConfig, w as setSceneTime, x as syncCompositorFromScene, y as textEffectConfigToScene } from './index-9ozUyd9c.js';
|
|
5
5
|
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index-XWLBYyFQ.js';
|
|
6
6
|
export { d as CANONICAL_RENDERER_VERSION, e as CANONICAL_SCHEMA_VERSION, f as CanonicalRenderContext, g as CanonicalRenderInput, h as CanonicalRenderResult, i as CapabilityReport, j as CapabilityStatus, k as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, P as PublishedRevision, l as RenderCapability, m as RenderDiagnostic, n as RenderDiagnostics, o as RenderEnvironment, p as RenderIdentity, q as RenderTarget, S as SceneDocumentV2, r as TEXT_TEMPLATE_KIND, s as TEXT_TEMPLATE_RENDERER_VERSION, t as TEXT_TEMPLATE_SCHEMA_VERSION, u as TemplateAssetRef, v as TemplateBackgroundPanel, w as TemplateCapabilityReport, x as TemplateContainerNode, y as TemplateContainerNodeStyle, z as TemplateControl, A as TemplateControlConstraints, B as TemplateControlOption, D as TemplateControlType, F as TemplateDependencyManifest, G as TemplateDurationPolicy, H as TemplateFontRef, I as TemplateImageNode, J as TemplateLayerV2, K as TemplateMetadata, L as TemplateNode, M as TemplateNodeAnimation, N as TemplatePreviewArtifacts, O as TemplatePropertyKeyframes, Q as TemplateProtectedRegion, U as TemplateRenderTarget, V as TemplateRevision, W as TemplateShapeNode, X as TemplateShapeNodeStyle, Y as TemplateStyleRef, Z as TemplateTextNode, _ as TemplateTextNodeStyle, $ as TemplateTimelineMarker, a0 as TemplateTiming, a1 as TextEffectRenderInput, a2 as TextTemplateCanvas, a3 as TextTemplateClip, a4 as TextTemplateDocument, a5 as TextTemplateDocumentV2, a6 as TextTemplateFlexLayout, a7 as TextTemplateRenderInput, a8 as canonicalContentHash, a9 as canonicalizeSceneDocument, aa as evaluateTextEffect, ab as evaluateTextTemplate, ac as getRenderCapabilities, ad as getTextTemplateControls, ae as normalizeTextEffect, af as normalizeTextTemplate, ag as renderCanonicalToCanvas, ah as renderTextEffectToCanvas, ai as renderTextTemplateToCanvas, aj as resolveTemplateFontFamily, ak as resolveTextTemplateArtifact } from './index-XWLBYyFQ.js';
|
|
7
|
-
export { AppliedEffect, AppliedOverlay, BlendMode,
|
|
7
|
+
export { AppliedEffect, AppliedOverlay, BlendMode, EFFECTS_REGISTRY, EffectCategory, EffectEngine, EffectGraph, EffectMetadata, EffectParameters, EffectPreset, EffectRenderer, EffectRendererType, FilterAsset, GraphDefinition, OverlayAsset, VideoEffectApiDefinition, VideoEffectCategory, VideoEffectItem, VideoEffectManifest, VideoEffectState, addNoise, blendColors, clearCanvas, effectMetadataToApi, generateEffectsManifest, getAllEffectsForApi, getEffectByIdForApi, getEffectCategoriesSummary, getEffectMetadata, getEffectPreviewUrl, getEffectRenderer, getEffectsByCategory, getEffectsByCategoryForApi, hexToRgba, rgbaToComponents, searchEffects, searchEffectsForApi, withContext } from './videoEffects/index.js';
|
|
8
8
|
export { ALL_TRANSITIONS, AppliedTransition, EasingFunction, NativeTransitionDefinition, NativeTransitionParam, TRANSITION_CATEGORIES, TRANSITION_PRESETS, TransitionCategory, TransitionParameters, TransitionPreset, TransitionRenderer, TransitionRendererType, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionsByCategory, getTransitionsByTags, searchTransitions } from './transitions/index.js';
|
|
9
9
|
import { NodeCapabilities, NodeRequirements, GraphPin, GraphNode, GraphEdge, MediaProcessingGraph } from '@clypra-studio/types';
|
|
10
10
|
export { NodeCapabilities as EffectCapabilities, NodeRequirements as EffectRequirements, GraphDataType, GraphEdge, GraphHelper, GraphNode, GraphPin, GraphValue, MediaProcessingGraph, NodeCapabilities, NodeLifecycleState, NodeRequirements } from '@clypra-studio/types';
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
solveSpring,
|
|
37
37
|
splitTextContent,
|
|
38
38
|
validateTextTemplateArtifact
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-JP44RJUI.js";
|
|
40
40
|
import {
|
|
41
41
|
FontLoader,
|
|
42
42
|
checkFontVariant,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
initializeFontSystem,
|
|
46
46
|
injectFontVariantRules,
|
|
47
47
|
resetFontLoader
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-V5VSY64D.js";
|
|
49
49
|
import {
|
|
50
50
|
COMPOSITION_PRESETS,
|
|
51
51
|
CanvasDevice,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
syncCompositorFromScene,
|
|
107
107
|
textEffectConfigToScene,
|
|
108
108
|
wrapTextToWidth
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-YBOYDQU5.js";
|
|
110
110
|
import {
|
|
111
111
|
ALL_TRANSITIONS,
|
|
112
112
|
TRANSITION_CATEGORIES,
|
|
@@ -130,7 +130,6 @@ import {
|
|
|
130
130
|
EffectRenderer,
|
|
131
131
|
addNoise,
|
|
132
132
|
blendColors,
|
|
133
|
-
camera_exports,
|
|
134
133
|
clearCanvas,
|
|
135
134
|
effectMetadataToApi,
|
|
136
135
|
generateEffectsManifest,
|
|
@@ -143,13 +142,11 @@ import {
|
|
|
143
142
|
getEffectsByCategory,
|
|
144
143
|
getEffectsByCategoryForApi,
|
|
145
144
|
hexToRgba,
|
|
146
|
-
light_exports,
|
|
147
145
|
rgbaToComponents,
|
|
148
146
|
searchEffects,
|
|
149
147
|
searchEffectsForApi,
|
|
150
148
|
withContext
|
|
151
|
-
} from "./chunk-
|
|
152
|
-
import "./chunk-PZ5AY32C.js";
|
|
149
|
+
} from "./chunk-XHHAW7MS.js";
|
|
153
150
|
|
|
154
151
|
// src/validation.ts
|
|
155
152
|
import { z } from "zod";
|
|
@@ -6620,6 +6617,347 @@ var BUILTIN_CANVAS_TEMPLATES = [
|
|
|
6620
6617
|
}
|
|
6621
6618
|
}
|
|
6622
6619
|
]
|
|
6620
|
+
},
|
|
6621
|
+
// ── Caption Templates (Admin-Customizable Studio Presets) ────────────────────
|
|
6622
|
+
{
|
|
6623
|
+
id: "classic-yellow",
|
|
6624
|
+
label: "Classic Yellow",
|
|
6625
|
+
category: "caption",
|
|
6626
|
+
duration: 4,
|
|
6627
|
+
canvasWidth: 1920,
|
|
6628
|
+
canvasHeight: 1080,
|
|
6629
|
+
description: "High-contrast yellow text with bold black outline \u2014 the most readable caption style for mixed backgrounds.",
|
|
6630
|
+
layers: [
|
|
6631
|
+
{
|
|
6632
|
+
kind: "text",
|
|
6633
|
+
id: "caption-text",
|
|
6634
|
+
content: "Sample Subtitle Caption",
|
|
6635
|
+
fontFamily: "Outfit Variable",
|
|
6636
|
+
fontSize: 38,
|
|
6637
|
+
fontWeight: 800,
|
|
6638
|
+
color: "#FFE600",
|
|
6639
|
+
align: "center",
|
|
6640
|
+
x: 360,
|
|
6641
|
+
y: 890,
|
|
6642
|
+
width: 1200,
|
|
6643
|
+
height: 100,
|
|
6644
|
+
role: "primary",
|
|
6645
|
+
textRole: "caption",
|
|
6646
|
+
stroke: { color: "#000000", width: 4 },
|
|
6647
|
+
shadow: { color: "rgba(0,0,0,0.6)", blur: 6, offsetX: 0, offsetY: 3 },
|
|
6648
|
+
animation: {
|
|
6649
|
+
in: "fade",
|
|
6650
|
+
out: "fade",
|
|
6651
|
+
inDuration: 0.2,
|
|
6652
|
+
outDuration: 0.2,
|
|
6653
|
+
hold: "full"
|
|
6654
|
+
},
|
|
6655
|
+
anchor: {
|
|
6656
|
+
anchorPoint: "bottom-center",
|
|
6657
|
+
maxWidthPercentage: 90
|
|
6658
|
+
}
|
|
6659
|
+
}
|
|
6660
|
+
]
|
|
6661
|
+
},
|
|
6662
|
+
{
|
|
6663
|
+
id: "dark-pill",
|
|
6664
|
+
label: "Dark Pill",
|
|
6665
|
+
category: "caption",
|
|
6666
|
+
duration: 4,
|
|
6667
|
+
canvasWidth: 1920,
|
|
6668
|
+
canvasHeight: 1080,
|
|
6669
|
+
description: "White text inside a semi-transparent dark rounded pill \u2014 works on any background.",
|
|
6670
|
+
layers: [
|
|
6671
|
+
{
|
|
6672
|
+
kind: "text",
|
|
6673
|
+
id: "caption-text",
|
|
6674
|
+
content: "Sample Subtitle Caption",
|
|
6675
|
+
fontFamily: "Inter Variable",
|
|
6676
|
+
fontSize: 34,
|
|
6677
|
+
fontWeight: 700,
|
|
6678
|
+
color: "#FFFFFF",
|
|
6679
|
+
align: "center",
|
|
6680
|
+
x: 360,
|
|
6681
|
+
y: 890,
|
|
6682
|
+
width: 1200,
|
|
6683
|
+
height: 100,
|
|
6684
|
+
role: "primary",
|
|
6685
|
+
textRole: "caption",
|
|
6686
|
+
backgroundColor: "rgba(0,0,0,0.75)",
|
|
6687
|
+
backgroundRadius: 10,
|
|
6688
|
+
padding: 10,
|
|
6689
|
+
paddingTop: 10,
|
|
6690
|
+
paddingBottom: 10,
|
|
6691
|
+
paddingLeft: 20,
|
|
6692
|
+
paddingRight: 20,
|
|
6693
|
+
shadow: { color: "rgba(0,0,0,0.5)", blur: 4, offsetX: 0, offsetY: 2 },
|
|
6694
|
+
animation: {
|
|
6695
|
+
in: "fade",
|
|
6696
|
+
out: "fade",
|
|
6697
|
+
inDuration: 0.2,
|
|
6698
|
+
outDuration: 0.2,
|
|
6699
|
+
hold: "full"
|
|
6700
|
+
},
|
|
6701
|
+
anchor: {
|
|
6702
|
+
anchorPoint: "bottom-center",
|
|
6703
|
+
maxWidthPercentage: 90
|
|
6704
|
+
}
|
|
6705
|
+
}
|
|
6706
|
+
]
|
|
6707
|
+
},
|
|
6708
|
+
{
|
|
6709
|
+
id: "outline-white",
|
|
6710
|
+
label: "Outline White",
|
|
6711
|
+
category: "caption",
|
|
6712
|
+
duration: 4,
|
|
6713
|
+
canvasWidth: 1920,
|
|
6714
|
+
canvasHeight: 1080,
|
|
6715
|
+
description: "Broadcast-standard white text with dark outline \u2014 clean and professional on any content.",
|
|
6716
|
+
layers: [
|
|
6717
|
+
{
|
|
6718
|
+
kind: "text",
|
|
6719
|
+
id: "caption-text",
|
|
6720
|
+
content: "Sample Subtitle Caption",
|
|
6721
|
+
fontFamily: "Inter Variable",
|
|
6722
|
+
fontSize: 32,
|
|
6723
|
+
fontWeight: 600,
|
|
6724
|
+
color: "#FFFFFF",
|
|
6725
|
+
align: "center",
|
|
6726
|
+
x: 360,
|
|
6727
|
+
y: 890,
|
|
6728
|
+
width: 1200,
|
|
6729
|
+
height: 100,
|
|
6730
|
+
role: "primary",
|
|
6731
|
+
textRole: "caption",
|
|
6732
|
+
stroke: { color: "#1a1a1a", width: 3 },
|
|
6733
|
+
shadow: { color: "rgba(0,0,0,0.8)", blur: 5, offsetX: 0, offsetY: 2 },
|
|
6734
|
+
animation: {
|
|
6735
|
+
in: "fade",
|
|
6736
|
+
out: "fade",
|
|
6737
|
+
inDuration: 0.2,
|
|
6738
|
+
outDuration: 0.2,
|
|
6739
|
+
hold: "full"
|
|
6740
|
+
},
|
|
6741
|
+
anchor: {
|
|
6742
|
+
anchorPoint: "bottom-center",
|
|
6743
|
+
maxWidthPercentage: 90
|
|
6744
|
+
}
|
|
6745
|
+
}
|
|
6746
|
+
]
|
|
6747
|
+
},
|
|
6748
|
+
{
|
|
6749
|
+
id: "neon-pop",
|
|
6750
|
+
label: "Neon Pop",
|
|
6751
|
+
category: "caption",
|
|
6752
|
+
duration: 4,
|
|
6753
|
+
canvasWidth: 1920,
|
|
6754
|
+
canvasHeight: 1080,
|
|
6755
|
+
description: "Electric cyan with a vivid blue glow \u2014 perfect for tech, gaming, and high-energy content.",
|
|
6756
|
+
layers: [
|
|
6757
|
+
{
|
|
6758
|
+
kind: "text",
|
|
6759
|
+
id: "caption-text",
|
|
6760
|
+
content: "Sample Subtitle Caption",
|
|
6761
|
+
fontFamily: "Outfit Variable",
|
|
6762
|
+
fontSize: 38,
|
|
6763
|
+
fontWeight: 800,
|
|
6764
|
+
color: "#00FFFF",
|
|
6765
|
+
align: "center",
|
|
6766
|
+
x: 360,
|
|
6767
|
+
y: 890,
|
|
6768
|
+
width: 1200,
|
|
6769
|
+
height: 100,
|
|
6770
|
+
role: "primary",
|
|
6771
|
+
textRole: "caption",
|
|
6772
|
+
stroke: { color: "#0044EE", width: 3 },
|
|
6773
|
+
shadow: { color: "rgba(0,68,238,0.5)", blur: 10, offsetX: 0, offsetY: 0 },
|
|
6774
|
+
animation: {
|
|
6775
|
+
in: "fade",
|
|
6776
|
+
out: "fade",
|
|
6777
|
+
inDuration: 0.2,
|
|
6778
|
+
outDuration: 0.2,
|
|
6779
|
+
hold: "full"
|
|
6780
|
+
},
|
|
6781
|
+
anchor: {
|
|
6782
|
+
anchorPoint: "bottom-center",
|
|
6783
|
+
maxWidthPercentage: 90
|
|
6784
|
+
}
|
|
6785
|
+
}
|
|
6786
|
+
]
|
|
6787
|
+
},
|
|
6788
|
+
{
|
|
6789
|
+
id: "minimal-clean",
|
|
6790
|
+
label: "Minimal Clean",
|
|
6791
|
+
category: "caption",
|
|
6792
|
+
duration: 4,
|
|
6793
|
+
canvasWidth: 1920,
|
|
6794
|
+
canvasHeight: 1080,
|
|
6795
|
+
description: "Understated white text with a soft shadow \u2014 editorial and podcast-friendly.",
|
|
6796
|
+
layers: [
|
|
6797
|
+
{
|
|
6798
|
+
kind: "text",
|
|
6799
|
+
id: "caption-text",
|
|
6800
|
+
content: "Sample Subtitle Caption",
|
|
6801
|
+
fontFamily: "Inter Variable",
|
|
6802
|
+
fontSize: 30,
|
|
6803
|
+
fontWeight: 400,
|
|
6804
|
+
color: "#FFFFFF",
|
|
6805
|
+
align: "center",
|
|
6806
|
+
x: 360,
|
|
6807
|
+
y: 890,
|
|
6808
|
+
width: 1200,
|
|
6809
|
+
height: 100,
|
|
6810
|
+
role: "primary",
|
|
6811
|
+
textRole: "caption",
|
|
6812
|
+
stroke: { color: "rgba(0,0,0,0.3)", width: 1.5 },
|
|
6813
|
+
shadow: { color: "rgba(0,0,0,0.7)", blur: 8, offsetX: 0, offsetY: 3 },
|
|
6814
|
+
animation: {
|
|
6815
|
+
in: "fade",
|
|
6816
|
+
out: "fade",
|
|
6817
|
+
inDuration: 0.2,
|
|
6818
|
+
outDuration: 0.2,
|
|
6819
|
+
hold: "full"
|
|
6820
|
+
},
|
|
6821
|
+
anchor: {
|
|
6822
|
+
anchorPoint: "bottom-center",
|
|
6823
|
+
maxWidthPercentage: 90
|
|
6824
|
+
}
|
|
6825
|
+
}
|
|
6826
|
+
]
|
|
6827
|
+
},
|
|
6828
|
+
{
|
|
6829
|
+
id: "fire-orange",
|
|
6830
|
+
label: "Fire Orange",
|
|
6831
|
+
category: "caption",
|
|
6832
|
+
duration: 4,
|
|
6833
|
+
canvasWidth: 1920,
|
|
6834
|
+
canvasHeight: 1080,
|
|
6835
|
+
description: "Bold warm orange with dark outline \u2014 energetic and attention-grabbing for action content.",
|
|
6836
|
+
layers: [
|
|
6837
|
+
{
|
|
6838
|
+
kind: "text",
|
|
6839
|
+
id: "caption-text",
|
|
6840
|
+
content: "Sample Subtitle Caption",
|
|
6841
|
+
fontFamily: "Outfit Variable",
|
|
6842
|
+
fontSize: 40,
|
|
6843
|
+
fontWeight: 900,
|
|
6844
|
+
color: "#FF6B1A",
|
|
6845
|
+
align: "center",
|
|
6846
|
+
x: 360,
|
|
6847
|
+
y: 890,
|
|
6848
|
+
width: 1200,
|
|
6849
|
+
height: 100,
|
|
6850
|
+
role: "primary",
|
|
6851
|
+
textRole: "caption",
|
|
6852
|
+
stroke: { color: "#1A0800", width: 4 },
|
|
6853
|
+
shadow: { color: "rgba(255,80,0,0.4)", blur: 8, offsetX: 0, offsetY: 0 },
|
|
6854
|
+
animation: {
|
|
6855
|
+
in: "fade",
|
|
6856
|
+
out: "fade",
|
|
6857
|
+
inDuration: 0.2,
|
|
6858
|
+
outDuration: 0.2,
|
|
6859
|
+
hold: "full"
|
|
6860
|
+
},
|
|
6861
|
+
anchor: {
|
|
6862
|
+
anchorPoint: "bottom-center",
|
|
6863
|
+
maxWidthPercentage: 90
|
|
6864
|
+
}
|
|
6865
|
+
}
|
|
6866
|
+
]
|
|
6867
|
+
},
|
|
6868
|
+
{
|
|
6869
|
+
id: "frosted-glass",
|
|
6870
|
+
label: "Frosted Glass",
|
|
6871
|
+
category: "caption",
|
|
6872
|
+
duration: 4,
|
|
6873
|
+
canvasWidth: 1920,
|
|
6874
|
+
canvasHeight: 1080,
|
|
6875
|
+
description: "Modern frosted glass pill with light text \u2014 clean, premium look for lifestyle and brand content.",
|
|
6876
|
+
layers: [
|
|
6877
|
+
{
|
|
6878
|
+
kind: "text",
|
|
6879
|
+
id: "caption-text",
|
|
6880
|
+
content: "Sample Subtitle Caption",
|
|
6881
|
+
fontFamily: "Inter Variable",
|
|
6882
|
+
fontSize: 32,
|
|
6883
|
+
fontWeight: 600,
|
|
6884
|
+
color: "#FFFFFF",
|
|
6885
|
+
align: "center",
|
|
6886
|
+
x: 360,
|
|
6887
|
+
y: 890,
|
|
6888
|
+
width: 1200,
|
|
6889
|
+
height: 100,
|
|
6890
|
+
role: "primary",
|
|
6891
|
+
textRole: "caption",
|
|
6892
|
+
backgroundColor: "rgba(255,255,255,0.12)",
|
|
6893
|
+
backgroundBorderColor: "rgba(255,255,255,0.3)",
|
|
6894
|
+
backgroundBorderWidth: 1,
|
|
6895
|
+
backgroundRadius: 14,
|
|
6896
|
+
padding: 12,
|
|
6897
|
+
paddingTop: 12,
|
|
6898
|
+
paddingBottom: 12,
|
|
6899
|
+
paddingLeft: 24,
|
|
6900
|
+
paddingRight: 24,
|
|
6901
|
+
stroke: { color: "rgba(255,255,255,0.3)", width: 1 },
|
|
6902
|
+
shadow: { color: "rgba(0,0,0,0.4)", blur: 6, offsetX: 0, offsetY: 2 },
|
|
6903
|
+
animation: {
|
|
6904
|
+
in: "fade",
|
|
6905
|
+
out: "fade",
|
|
6906
|
+
inDuration: 0.2,
|
|
6907
|
+
outDuration: 0.2,
|
|
6908
|
+
hold: "full"
|
|
6909
|
+
},
|
|
6910
|
+
anchor: {
|
|
6911
|
+
anchorPoint: "bottom-center",
|
|
6912
|
+
maxWidthPercentage: 90
|
|
6913
|
+
}
|
|
6914
|
+
}
|
|
6915
|
+
]
|
|
6916
|
+
},
|
|
6917
|
+
{
|
|
6918
|
+
id: "typewriter-mono",
|
|
6919
|
+
label: "Typewriter Mono",
|
|
6920
|
+
category: "caption",
|
|
6921
|
+
duration: 4,
|
|
6922
|
+
canvasWidth: 1920,
|
|
6923
|
+
canvasHeight: 1080,
|
|
6924
|
+
description: "Monospace typewriter style \u2014 perfect for documentary narration, tech, or interview content.",
|
|
6925
|
+
layers: [
|
|
6926
|
+
{
|
|
6927
|
+
kind: "text",
|
|
6928
|
+
id: "caption-text",
|
|
6929
|
+
content: "Sample Subtitle Caption",
|
|
6930
|
+
fontFamily: "monospace",
|
|
6931
|
+
fontSize: 28,
|
|
6932
|
+
fontWeight: 400,
|
|
6933
|
+
color: "#E8E8D8",
|
|
6934
|
+
align: "left",
|
|
6935
|
+
x: 360,
|
|
6936
|
+
y: 890,
|
|
6937
|
+
width: 1200,
|
|
6938
|
+
height: 100,
|
|
6939
|
+
role: "primary",
|
|
6940
|
+
textRole: "caption",
|
|
6941
|
+
backgroundColor: "rgba(0,0,0,0.85)",
|
|
6942
|
+
backgroundRadius: 4,
|
|
6943
|
+
padding: 10,
|
|
6944
|
+
paddingTop: 10,
|
|
6945
|
+
paddingBottom: 10,
|
|
6946
|
+
paddingLeft: 16,
|
|
6947
|
+
paddingRight: 16,
|
|
6948
|
+
animation: {
|
|
6949
|
+
in: "fade",
|
|
6950
|
+
out: "fade",
|
|
6951
|
+
inDuration: 0.2,
|
|
6952
|
+
outDuration: 0.2,
|
|
6953
|
+
hold: "full"
|
|
6954
|
+
},
|
|
6955
|
+
anchor: {
|
|
6956
|
+
anchorPoint: "bottom-center",
|
|
6957
|
+
maxWidthPercentage: 90
|
|
6958
|
+
}
|
|
6959
|
+
}
|
|
6960
|
+
]
|
|
6623
6961
|
}
|
|
6624
6962
|
];
|
|
6625
6963
|
function getCanvasTemplatePreset(id) {
|
|
@@ -17312,7 +17650,6 @@ export {
|
|
|
17312
17650
|
CANONICAL_RENDERER_VERSION,
|
|
17313
17651
|
CANONICAL_SCHEMA_VERSION,
|
|
17314
17652
|
COMPOSITION_PRESETS,
|
|
17315
|
-
camera_exports as CameraEffects,
|
|
17316
17653
|
CanvasDevice,
|
|
17317
17654
|
CommandBufferBuilder,
|
|
17318
17655
|
CommandExecutor,
|
|
@@ -17364,7 +17701,6 @@ export {
|
|
|
17364
17701
|
LOTTIE_TEMPLATE_PRESETS,
|
|
17365
17702
|
LayerAnimationSchema,
|
|
17366
17703
|
LayoutEngine,
|
|
17367
|
-
light_exports as LightEffects,
|
|
17368
17704
|
LiveBroadcastBridge,
|
|
17369
17705
|
MediaEncoderRegistry,
|
|
17370
17706
|
MediaImageEngine,
|