@vanillaskyai/video 0.5.3 → 0.5.4

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{bg-media-VSFT5YC7.js → bg-media-ILOMGMR4.js} +4 -4
  3. package/dist/{brand-message-GSM2LOEP.js → brand-message-M2YADSZX.js} +2 -2
  4. package/dist/{chart-bar-ZGGCV3ED.js → chart-bar-25ZZSPOC.js} +4 -4
  5. package/dist/{chart-counter-T3MXDPP6.js → chart-counter-GFEXZEJK.js} +4 -4
  6. package/dist/{chart-progress-ring-OT5Z2LMK.js → chart-progress-ring-IZZLYZPX.js} +4 -4
  7. package/dist/check-runtime.js +2 -1
  8. package/dist/{chunk-65MRKELL.js → chunk-4M6HDFQU.js} +17 -1
  9. package/dist/{cta-logo-CV5NCBHX.js → cta-logo-MR45BN3J.js} +2 -2
  10. package/dist/{cta-media-TJ7F4GN7.js → cta-media-BI3SZKTA.js} +4 -4
  11. package/dist/{incoming-call-FOD6Z4R2.js → incoming-call-NF6Z2OAF.js} +2 -2
  12. package/dist/{infographic-feature-list-Z37COJMT.js → infographic-feature-list-XQZEMDCM.js} +4 -4
  13. package/dist/{infographic-problem-solution-WAJ76HQV.js → infographic-problem-solution-V67AFFGA.js} +2 -2
  14. package/dist/{infographic-stat-row-ZTS6PO57.js → infographic-stat-row-H7PAX6LC.js} +4 -4
  15. package/dist/{infographic-steps-SNZCO5ZW.js → infographic-steps-LI2SVPET.js} +4 -4
  16. package/dist/{prompt-input-VQ6WUBRH.js → prompt-input-3IRVZIBB.js} +2 -2
  17. package/dist/react.js +25 -24
  18. package/dist/{reaction-QECWNLCQ.js → reaction-TBZSTYWU.js} +2 -2
  19. package/dist/{showcase-code-PVPNSI6U.js → showcase-code-JM47BEVJ.js} +4 -4
  20. package/dist/{showcase-phone-G32YB25H.js → showcase-phone-HH5J3JEG.js} +4 -4
  21. package/dist/{showcase-terminal-PLZTGUL6.js → showcase-terminal-ZNI2RSTM.js} +4 -4
  22. package/dist/{showcase-web-IRLNVEYD.js → showcase-web-E5A3AOGH.js} +4 -4
  23. package/dist/{social-milestone-T67PZ5RR.js → social-milestone-4DQIIIHI.js} +2 -2
  24. package/dist/{social-notification-P7ZSTEZ5.js → social-notification-2S7DA2NX.js} +2 -2
  25. package/dist/{social-review-stack-IXAC23MY.js → social-review-stack-T4PEVP2X.js} +2 -2
  26. package/dist/{social-testimonial-AGSFR2IF.js → social-testimonial-GINCBMWU.js} +2 -2
  27. package/dist/{social-tweet-UXTQA5VW.js → social-tweet-TQHHY6OG.js} +2 -2
  28. package/examples/nextjs-quickstart/package.json +1 -1
  29. package/package.json +1 -1
  30. package/dist/{chunk-SNVWTK63.js → chunk-MT2Z4A5X.js} +3 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ VanillaSky follows semantic versioning. This changelog begins with the 0.1 beta.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.5.4
8
+
9
+ - Prevents Mobile Safari from holding outgoing and incoming scene video
10
+ decoders at the same time. Video-to-video cuts use the preloaded matching
11
+ poster on iPhone and iPad, while desktop media preroll and crossfades remain
12
+ unchanged.
13
+
7
14
  ## 0.5.3
8
15
 
9
16
  - Makes `crossfade` the default for generated videos and mounts changed media
@@ -1,10 +1,7 @@
1
1
  import {
2
2
  SceneBackground,
3
3
  getMediaBackgroundProps
4
- } from "./chunk-SNVWTK63.js";
5
- import {
6
- hasSceneMedia
7
- } from "./chunk-35LIYILY.js";
4
+ } from "./chunk-MT2Z4A5X.js";
8
5
  import {
9
6
  ConfettiLayer
10
7
  } from "./chunk-CJ7F2CE6.js";
@@ -15,6 +12,9 @@ import {
15
12
  import "./chunk-L5BTTCZV.js";
16
13
  import "./chunk-MFYFZQHM.js";
17
14
  import "./chunk-XTOXFMLM.js";
15
+ import {
16
+ hasSceneMedia
17
+ } from "./chunk-35LIYILY.js";
18
18
  import {
19
19
  resolveTokens
20
20
  } from "./chunk-XWWLKRNU.js";
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import {
10
9
  renderWithEmoji
11
10
  } from "./chunk-L5BTTCZV.js";
@@ -13,6 +12,7 @@ import "./chunk-MFYFZQHM.js";
13
12
  import {
14
13
  interpolate
15
14
  } from "./chunk-XTOXFMLM.js";
15
+ import "./chunk-35LIYILY.js";
16
16
  import "./chunk-XWWLKRNU.js";
17
17
 
18
18
  // src/visual-system/primitives/typography/BrandMessageBubble.tsx
@@ -1,10 +1,7 @@
1
1
  import {
2
2
  SceneBackground,
3
3
  getMediaBackgroundProps
4
- } from "./chunk-SNVWTK63.js";
5
- import {
6
- hasSceneMedia
7
- } from "./chunk-35LIYILY.js";
4
+ } from "./chunk-MT2Z4A5X.js";
8
5
  import {
9
6
  TemplateText
10
7
  } from "./chunk-TCEHK2BW.js";
@@ -18,6 +15,9 @@ import {
18
15
  interpolate,
19
16
  spring
20
17
  } from "./chunk-XTOXFMLM.js";
18
+ import {
19
+ hasSceneMedia
20
+ } from "./chunk-35LIYILY.js";
21
21
  import {
22
22
  resolveTokens
23
23
  } from "./chunk-XWWLKRNU.js";
@@ -4,10 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import {
9
- hasSceneMedia
10
- } from "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
11
8
  import {
12
9
  ConfettiLayer
13
10
  } from "./chunk-CJ7F2CE6.js";
@@ -24,6 +21,9 @@ import {
24
21
  interpolate,
25
22
  spring
26
23
  } from "./chunk-XTOXFMLM.js";
24
+ import {
25
+ hasSceneMedia
26
+ } from "./chunk-35LIYILY.js";
27
27
  import {
28
28
  MEDIA_TEXT_SHADOW,
29
29
  TOKEN_DEFAULTS,
@@ -5,10 +5,7 @@ import {
5
5
  import {
6
6
  SceneBackground,
7
7
  getMediaBackgroundProps
8
- } from "./chunk-SNVWTK63.js";
9
- import {
10
- hasSceneMedia
11
- } from "./chunk-35LIYILY.js";
8
+ } from "./chunk-MT2Z4A5X.js";
12
9
  import {
13
10
  TemplateText
14
11
  } from "./chunk-TCEHK2BW.js";
@@ -20,6 +17,9 @@ import {
20
17
  import {
21
18
  interpolate
22
19
  } from "./chunk-XTOXFMLM.js";
20
+ import {
21
+ hasSceneMedia
22
+ } from "./chunk-35LIYILY.js";
23
23
  import {
24
24
  TOKEN_DEFAULTS,
25
25
  resolveTokens
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  VideoFrame
3
- } from "./chunk-65MRKELL.js";
3
+ } from "./chunk-4M6HDFQU.js";
4
+ import "./chunk-35LIYILY.js";
4
5
  import "./chunk-XWWLKRNU.js";
5
6
  import "./chunk-SPVTJH3F.js";
6
7
  import {
@@ -1,3 +1,6 @@
1
+ import {
2
+ resolveMediaType
3
+ } from "./chunk-35LIYILY.js";
1
4
  import {
2
5
  resolveDensity
3
6
  } from "./chunk-XWWLKRNU.js";
@@ -55,6 +58,16 @@ function brandBackgroundFallback(config) {
55
58
  function sceneHasBackdrop(range) {
56
59
  return String(range.scene.variables.mediaType || "auto") !== "gradient" && String(range.scene.variables.mediaUrl || "").trim() !== "";
57
60
  }
61
+ function sceneHasVideoBackdrop(range) {
62
+ return resolveMediaType(
63
+ String(range.scene.variables.mediaType || "auto"),
64
+ String(range.scene.variables.mediaUrl || "")
65
+ ) === "video";
66
+ }
67
+ function limitsConcurrentVideoDecoders() {
68
+ if (typeof navigator === "undefined") return false;
69
+ return /iPad|iPhone|iPod/.test(navigator.userAgent) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
70
+ }
58
71
  function sceneBackgroundChanges(left, right) {
59
72
  const mediaUrl = (range) => String(range.scene.variables.mediaType || "auto") === "gradient" ? "" : String(range.scene.variables.mediaUrl || "");
60
73
  return mediaUrl(left) !== mediaUrl(right);
@@ -191,8 +204,11 @@ function VideoFrame({
191
204
  );
192
205
  const prerollDuration = prerollsNext ? Math.min(Math.max(MEDIA_PREROLL_SECONDS, blendDuration), Math.max(0, duration)) : blendDuration;
193
206
  const prerollStart = active.end - prerollDuration;
207
+ const decoderConstrainedTransition = Boolean(
208
+ contiguousNext && limitsConcurrentVideoDecoders() && sceneHasVideoBackdrop(active) && sceneHasVideoBackdrop(contiguousNext)
209
+ );
194
210
  const mountingNext = Boolean(
195
- contiguousNext && time >= prerollStart && time < blendEnd && (eligibleNextTransition || prerollsNext)
211
+ contiguousNext && !decoderConstrainedTransition && time >= prerollStart && time < blendEnd && (eligibleNextTransition || prerollsNext)
196
212
  );
197
213
  const previewingNext = Boolean(
198
214
  eligibleNextTransition && time >= blendStart && time < blendEnd
@@ -4,14 +4,14 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import "./chunk-MFYFZQHM.js";
10
9
  import {
11
10
  SPRING_SMOOTH,
12
11
  interpolate,
13
12
  spring
14
13
  } from "./chunk-XTOXFMLM.js";
14
+ import "./chunk-35LIYILY.js";
15
15
  import {
16
16
  TOKEN_DEFAULTS,
17
17
  resolveTokens
@@ -5,10 +5,7 @@ import {
5
5
  import {
6
6
  SceneBackground,
7
7
  getMediaBackgroundProps
8
- } from "./chunk-SNVWTK63.js";
9
- import {
10
- hasSceneMedia
11
- } from "./chunk-35LIYILY.js";
8
+ } from "./chunk-MT2Z4A5X.js";
12
9
  import {
13
10
  TemplateText
14
11
  } from "./chunk-TCEHK2BW.js";
@@ -19,6 +16,9 @@ import {
19
16
  interpolate,
20
17
  spring
21
18
  } from "./chunk-XTOXFMLM.js";
19
+ import {
20
+ hasSceneMedia
21
+ } from "./chunk-35LIYILY.js";
22
22
  import {
23
23
  TOKEN_DEFAULTS,
24
24
  resolveTokens
@@ -5,8 +5,7 @@ import {
5
5
  import {
6
6
  SceneBackground,
7
7
  getMediaBackgroundProps
8
- } from "./chunk-SNVWTK63.js";
9
- import "./chunk-35LIYILY.js";
8
+ } from "./chunk-MT2Z4A5X.js";
10
9
  import "./chunk-MFYFZQHM.js";
11
10
  import {
12
11
  SPRING_BOUNCY,
@@ -14,6 +13,7 @@ import {
14
13
  interpolate,
15
14
  spring
16
15
  } from "./chunk-XTOXFMLM.js";
16
+ import "./chunk-35LIYILY.js";
17
17
  import {
18
18
  resolveTokens
19
19
  } from "./chunk-XWWLKRNU.js";
@@ -7,10 +7,7 @@ import {
7
7
  import {
8
8
  SceneBackground,
9
9
  getMediaBackgroundProps
10
- } from "./chunk-SNVWTK63.js";
11
- import {
12
- hasSceneMedia
13
- } from "./chunk-35LIYILY.js";
10
+ } from "./chunk-MT2Z4A5X.js";
14
11
  import {
15
12
  TemplateText
16
13
  } from "./chunk-TCEHK2BW.js";
@@ -22,6 +19,9 @@ import {
22
19
  interpolate,
23
20
  spring
24
21
  } from "./chunk-XTOXFMLM.js";
22
+ import {
23
+ hasSceneMedia
24
+ } from "./chunk-35LIYILY.js";
25
25
  import {
26
26
  TOKEN_DEFAULTS,
27
27
  resolveTokens
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import {
10
9
  smoothSize
11
10
  } from "./chunk-TCEHK2BW.js";
@@ -15,6 +14,7 @@ import {
15
14
  interpolate,
16
15
  spring
17
16
  } from "./chunk-XTOXFMLM.js";
17
+ import "./chunk-35LIYILY.js";
18
18
  import {
19
19
  TOKEN_DEFAULTS,
20
20
  resolveTokens
@@ -1,10 +1,7 @@
1
1
  import {
2
2
  SceneBackground,
3
3
  getMediaBackgroundProps
4
- } from "./chunk-SNVWTK63.js";
5
- import {
6
- hasSceneMedia
7
- } from "./chunk-35LIYILY.js";
4
+ } from "./chunk-MT2Z4A5X.js";
8
5
  import {
9
6
  TemplateText
10
7
  } from "./chunk-TCEHK2BW.js";
@@ -17,6 +14,9 @@ import {
17
14
  interpolate,
18
15
  spring
19
16
  } from "./chunk-XTOXFMLM.js";
17
+ import {
18
+ hasSceneMedia
19
+ } from "./chunk-35LIYILY.js";
20
20
  import {
21
21
  TOKEN_DEFAULTS,
22
22
  resolveTokens
@@ -8,10 +8,7 @@ import {
8
8
  import {
9
9
  SceneBackground,
10
10
  getMediaBackgroundProps
11
- } from "./chunk-SNVWTK63.js";
12
- import {
13
- hasSceneMedia
14
- } from "./chunk-35LIYILY.js";
11
+ } from "./chunk-MT2Z4A5X.js";
15
12
  import {
16
13
  TemplateText
17
14
  } from "./chunk-TCEHK2BW.js";
@@ -27,6 +24,9 @@ import {
27
24
  interpolate,
28
25
  spring
29
26
  } from "./chunk-XTOXFMLM.js";
27
+ import {
28
+ hasSceneMedia
29
+ } from "./chunk-35LIYILY.js";
30
30
  import {
31
31
  TOKEN_DEFAULTS,
32
32
  resolveTokens
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import "./chunk-MFYFZQHM.js";
10
9
  import {
11
10
  SPRING_BOUNCY,
@@ -13,6 +12,7 @@ import {
13
12
  interpolate,
14
13
  spring
15
14
  } from "./chunk-XTOXFMLM.js";
15
+ import "./chunk-35LIYILY.js";
16
16
  import {
17
17
  resolveTokens
18
18
  } from "./chunk-XWWLKRNU.js";
package/dist/react.js CHANGED
@@ -24,7 +24,8 @@ import {
24
24
  import {
25
25
  VideoFrame,
26
26
  getDimensions
27
- } from "./chunk-65MRKELL.js";
27
+ } from "./chunk-4M6HDFQU.js";
28
+ import "./chunk-35LIYILY.js";
28
29
  import {
29
30
  fontStack
30
31
  } from "./chunk-XWWLKRNU.js";
@@ -76,34 +77,34 @@ import { createElement } from "react";
76
77
 
77
78
  // src/visual-system/catalog/builtin-loaders.generated.ts
78
79
  var GENERATED_BUILTIN_TEMPLATE_LOADERS = {
79
- "media": () => import("./bg-media-VSFT5YC7.js").then((module) => ({ default: module.BgMediaTemplate })),
80
- "reaction": () => import("./reaction-QECWNLCQ.js").then((module) => ({ default: module.ReactionTemplate })),
80
+ "media": () => import("./bg-media-ILOMGMR4.js").then((module) => ({ default: module.BgMediaTemplate })),
81
+ "reaction": () => import("./reaction-TBZSTYWU.js").then((module) => ({ default: module.ReactionTemplate })),
81
82
  "confetti": () => import("./bg-confetti-572VDSYM.js").then((module) => ({ default: module.BgConfettiTemplate })),
82
83
  "emojiBurst": () => import("./bg-emoji-T4IEJ6U2.js").then((module) => ({ default: module.BgEmojiTemplate })),
83
- "bigNumber": () => import("./chart-counter-T3MXDPP6.js").then((module) => ({ default: module.ChartCounterTemplate })),
84
- "barChart": () => import("./chart-bar-ZGGCV3ED.js").then((module) => ({ default: module.ChartBarTemplate })),
85
- "progressRing": () => import("./chart-progress-ring-OT5Z2LMK.js").then((module) => ({ default: module.ChartProgressRingTemplate })),
86
- "phoneMockup": () => import("./showcase-phone-G32YB25H.js").then((module) => ({ default: module.ShowcasePhoneTemplate })),
87
- "webMockup": () => import("./showcase-web-IRLNVEYD.js").then((module) => ({ default: module.ShowcaseWebTemplate })),
88
- "codeEditor": () => import("./showcase-code-PVPNSI6U.js").then((module) => ({ default: module.ShowcaseCodeTemplate })),
89
- "terminal": () => import("./showcase-terminal-PLZTGUL6.js").then((module) => ({ default: module.ShowcaseTerminalTemplate })),
90
- "tweet": () => import("./social-tweet-UXTQA5VW.js").then((module) => ({ default: module.SocialTweetTemplate })),
91
- "notification": () => import("./social-notification-P7ZSTEZ5.js").then((module) => ({ default: module.SocialNotificationTemplate })),
84
+ "bigNumber": () => import("./chart-counter-GFEXZEJK.js").then((module) => ({ default: module.ChartCounterTemplate })),
85
+ "barChart": () => import("./chart-bar-25ZZSPOC.js").then((module) => ({ default: module.ChartBarTemplate })),
86
+ "progressRing": () => import("./chart-progress-ring-IZZLYZPX.js").then((module) => ({ default: module.ChartProgressRingTemplate })),
87
+ "phoneMockup": () => import("./showcase-phone-HH5J3JEG.js").then((module) => ({ default: module.ShowcasePhoneTemplate })),
88
+ "webMockup": () => import("./showcase-web-E5A3AOGH.js").then((module) => ({ default: module.ShowcaseWebTemplate })),
89
+ "codeEditor": () => import("./showcase-code-JM47BEVJ.js").then((module) => ({ default: module.ShowcaseCodeTemplate })),
90
+ "terminal": () => import("./showcase-terminal-ZNI2RSTM.js").then((module) => ({ default: module.ShowcaseTerminalTemplate })),
91
+ "tweet": () => import("./social-tweet-TQHHY6OG.js").then((module) => ({ default: module.SocialTweetTemplate })),
92
+ "notification": () => import("./social-notification-2S7DA2NX.js").then((module) => ({ default: module.SocialNotificationTemplate })),
92
93
  "chatMessenger": () => import("./social-conversation-75SD2637.js").then((module) => ({ default: module.SocialConversationTemplate })),
93
94
  "chatWhatsapp": () => import("./social-conversation-75SD2637.js").then((module) => ({ default: module.SocialConversationTemplate })),
94
- "milestone": () => import("./social-milestone-T67PZ5RR.js").then((module) => ({ default: module.SocialMilestoneTemplate })),
95
- "reviewStack": () => import("./social-review-stack-IXAC23MY.js").then((module) => ({ default: module.SocialReviewStackTemplate })),
96
- "testimonial": () => import("./social-testimonial-AGSFR2IF.js").then((module) => ({ default: module.SocialTestimonialTemplate })),
97
- "incomingCall": () => import("./incoming-call-FOD6Z4R2.js").then((module) => ({ default: module.IncomingCallTemplate })),
98
- "brandMessage": () => import("./brand-message-GSM2LOEP.js").then((module) => ({ default: module.BrandMessageTemplate })),
99
- "promptInput": () => import("./prompt-input-VQ6WUBRH.js").then((module) => ({ default: module.PromptInputTemplate })),
95
+ "milestone": () => import("./social-milestone-4DQIIIHI.js").then((module) => ({ default: module.SocialMilestoneTemplate })),
96
+ "reviewStack": () => import("./social-review-stack-T4PEVP2X.js").then((module) => ({ default: module.SocialReviewStackTemplate })),
97
+ "testimonial": () => import("./social-testimonial-GINCBMWU.js").then((module) => ({ default: module.SocialTestimonialTemplate })),
98
+ "incomingCall": () => import("./incoming-call-NF6Z2OAF.js").then((module) => ({ default: module.IncomingCallTemplate })),
99
+ "brandMessage": () => import("./brand-message-M2YADSZX.js").then((module) => ({ default: module.BrandMessageTemplate })),
100
+ "promptInput": () => import("./prompt-input-3IRVZIBB.js").then((module) => ({ default: module.PromptInputTemplate })),
100
101
  "beforeAfter": () => import("./infographic-before-after-FQXCQ2CY.js").then((module) => ({ default: module.InfographicBeforeAfterTemplate })),
101
- "tripleStats": () => import("./infographic-stat-row-ZTS6PO57.js").then((module) => ({ default: module.InfographicStatRowTemplate })),
102
- "problemSolution": () => import("./infographic-problem-solution-WAJ76HQV.js").then((module) => ({ default: module.InfographicProblemSolutionTemplate })),
103
- "cardList": () => import("./infographic-feature-list-Z37COJMT.js").then((module) => ({ default: module.InfographicFeatureListTemplate })),
104
- "steps": () => import("./infographic-steps-SNZCO5ZW.js").then((module) => ({ default: module.InfographicStepsTemplate })),
105
- "ctaLogo": () => import("./cta-logo-CV5NCBHX.js").then((module) => ({ default: module.CtaLogoTemplate })),
106
- "ctaMedia": () => import("./cta-media-TJ7F4GN7.js").then((module) => ({ default: module.CtaMediaTemplate }))
102
+ "tripleStats": () => import("./infographic-stat-row-H7PAX6LC.js").then((module) => ({ default: module.InfographicStatRowTemplate })),
103
+ "problemSolution": () => import("./infographic-problem-solution-V67AFFGA.js").then((module) => ({ default: module.InfographicProblemSolutionTemplate })),
104
+ "cardList": () => import("./infographic-feature-list-XQZEMDCM.js").then((module) => ({ default: module.InfographicFeatureListTemplate })),
105
+ "steps": () => import("./infographic-steps-LI2SVPET.js").then((module) => ({ default: module.InfographicStepsTemplate })),
106
+ "ctaLogo": () => import("./cta-logo-MR45BN3J.js").then((module) => ({ default: module.CtaLogoTemplate })),
107
+ "ctaMedia": () => import("./cta-media-BI3SZKTA.js").then((module) => ({ default: module.CtaMediaTemplate }))
107
108
  };
108
109
 
109
110
  // src/visual-system/catalog/builtin-player.generated.ts
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  SceneBackground
3
- } from "./chunk-SNVWTK63.js";
4
- import "./chunk-35LIYILY.js";
3
+ } from "./chunk-MT2Z4A5X.js";
5
4
  import {
6
5
  TemplateText
7
6
  } from "./chunk-TCEHK2BW.js";
8
7
  import "./chunk-L5BTTCZV.js";
9
8
  import "./chunk-MFYFZQHM.js";
10
9
  import "./chunk-XTOXFMLM.js";
10
+ import "./chunk-35LIYILY.js";
11
11
  import {
12
12
  resolveTokens
13
13
  } from "./chunk-XWWLKRNU.js";
@@ -5,10 +5,7 @@ import {
5
5
  import {
6
6
  SceneBackground,
7
7
  getMediaBackgroundProps
8
- } from "./chunk-SNVWTK63.js";
9
- import {
10
- hasSceneMedia
11
- } from "./chunk-35LIYILY.js";
8
+ } from "./chunk-MT2Z4A5X.js";
12
9
  import {
13
10
  TemplateText
14
11
  } from "./chunk-TCEHK2BW.js";
@@ -18,6 +15,9 @@ import {
18
15
  interpolate,
19
16
  spring
20
17
  } from "./chunk-XTOXFMLM.js";
18
+ import {
19
+ hasSceneMedia
20
+ } from "./chunk-35LIYILY.js";
21
21
  import {
22
22
  resolveTokens
23
23
  } from "./chunk-XWWLKRNU.js";
@@ -7,10 +7,7 @@ import "./chunk-S7HFLYNN.js";
7
7
  import {
8
8
  SceneBackground,
9
9
  getMediaBackgroundProps
10
- } from "./chunk-SNVWTK63.js";
11
- import {
12
- hasSceneMedia
13
- } from "./chunk-35LIYILY.js";
10
+ } from "./chunk-MT2Z4A5X.js";
14
11
  import {
15
12
  TemplateText
16
13
  } from "./chunk-TCEHK2BW.js";
@@ -21,6 +18,9 @@ import {
21
18
  interpolate,
22
19
  spring
23
20
  } from "./chunk-XTOXFMLM.js";
21
+ import {
22
+ hasSceneMedia
23
+ } from "./chunk-35LIYILY.js";
24
24
  import {
25
25
  TOKEN_DEFAULTS,
26
26
  resolveTokens
@@ -7,10 +7,7 @@ import {
7
7
  import {
8
8
  SceneBackground,
9
9
  getMediaBackgroundProps
10
- } from "./chunk-SNVWTK63.js";
11
- import {
12
- hasSceneMedia
13
- } from "./chunk-35LIYILY.js";
10
+ } from "./chunk-MT2Z4A5X.js";
14
11
  import {
15
12
  TemplateText
16
13
  } from "./chunk-TCEHK2BW.js";
@@ -20,6 +17,9 @@ import {
20
17
  interpolate,
21
18
  spring
22
19
  } from "./chunk-XTOXFMLM.js";
20
+ import {
21
+ hasSceneMedia
22
+ } from "./chunk-35LIYILY.js";
23
23
  import {
24
24
  TOKEN_DEFAULTS,
25
25
  resolveTokens
@@ -9,10 +9,7 @@ import {
9
9
  import {
10
10
  SceneBackground,
11
11
  getMediaBackgroundProps
12
- } from "./chunk-SNVWTK63.js";
13
- import {
14
- hasSceneMedia
15
- } from "./chunk-35LIYILY.js";
12
+ } from "./chunk-MT2Z4A5X.js";
16
13
  import {
17
14
  TemplateText
18
15
  } from "./chunk-TCEHK2BW.js";
@@ -23,6 +20,9 @@ import {
23
20
  interpolate,
24
21
  spring
25
22
  } from "./chunk-XTOXFMLM.js";
23
+ import {
24
+ hasSceneMedia
25
+ } from "./chunk-35LIYILY.js";
26
26
  import {
27
27
  TOKEN_DEFAULTS,
28
28
  resolveTokens
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import {
10
9
  ConfettiLayer
11
10
  } from "./chunk-CJ7F2CE6.js";
@@ -24,6 +23,7 @@ import {
24
23
  interpolate,
25
24
  spring
26
25
  } from "./chunk-XTOXFMLM.js";
26
+ import "./chunk-35LIYILY.js";
27
27
  import {
28
28
  MEDIA_TEXT_SHADOW,
29
29
  TOKEN_DEFAULTS,
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import {
10
9
  Emoji,
11
10
  renderWithEmoji
@@ -16,6 +15,7 @@ import {
16
15
  interpolate,
17
16
  spring
18
17
  } from "./chunk-XTOXFMLM.js";
18
+ import "./chunk-35LIYILY.js";
19
19
  import {
20
20
  resolveTokens
21
21
  } from "./chunk-XWWLKRNU.js";
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import {
10
9
  accessibleTextColor,
11
10
  withOpacity
@@ -15,6 +14,7 @@ import {
15
14
  interpolate,
16
15
  spring
17
16
  } from "./chunk-XTOXFMLM.js";
17
+ import "./chunk-35LIYILY.js";
18
18
  import {
19
19
  lighten,
20
20
  resolveTokens
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import {
10
9
  accessibleTextColor,
11
10
  autoTextColor,
@@ -17,6 +16,7 @@ import {
17
16
  interpolate,
18
17
  spring
19
18
  } from "./chunk-XTOXFMLM.js";
19
+ import "./chunk-35LIYILY.js";
20
20
  import {
21
21
  TOKEN_DEFAULTS,
22
22
  lighten,
@@ -4,8 +4,7 @@ import {
4
4
  import {
5
5
  SceneBackground,
6
6
  getMediaBackgroundProps
7
- } from "./chunk-SNVWTK63.js";
8
- import "./chunk-35LIYILY.js";
7
+ } from "./chunk-MT2Z4A5X.js";
9
8
  import {
10
9
  renderWithEmoji
11
10
  } from "./chunk-L5BTTCZV.js";
@@ -17,6 +16,7 @@ import {
17
16
  interpolate,
18
17
  spring
19
18
  } from "./chunk-XTOXFMLM.js";
19
+ import "./chunk-35LIYILY.js";
20
20
  import {
21
21
  resolveTokens
22
22
  } from "./chunk-XWWLKRNU.js";
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@ai-sdk/anthropic": "^4.0.41",
12
- "@vanillaskyai/video": "0.5.3",
12
+ "@vanillaskyai/video": "0.5.4",
13
13
  "ai": "^7.0.77",
14
14
  "next": "16.3.2",
15
15
  "react": "19.2.8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanillaskyai/video",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Open-source video response SDK for personalized AI applications.",
5
5
  "keywords": [
6
6
  "generative-video",
@@ -1,10 +1,10 @@
1
- import {
2
- resolveMediaType
3
- } from "./chunk-35LIYILY.js";
4
1
  import {
5
2
  BrandGradientOverlay,
6
3
  getBackgroundTransform
7
4
  } from "./chunk-MFYFZQHM.js";
5
+ import {
6
+ resolveMediaType
7
+ } from "./chunk-35LIYILY.js";
8
8
 
9
9
  // src/visual-system/scene-templates/scene-background.tsx
10
10
  import { useEffect, useRef, useState } from "react";