ugcinc-render 1.8.213 → 1.8.215

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.
@@ -275,6 +275,16 @@ interface CropBounds {
275
275
  * before rendering.
276
276
  */
277
277
 
278
+ /**
279
+ * Lightweight media reference stored in editor configs.
280
+ * Structurally compatible with the full Media type from ugcinc.
281
+ */
282
+ interface StaticMediaItem {
283
+ id: string;
284
+ name: string | null;
285
+ url: string | null;
286
+ type: string | null;
287
+ }
278
288
  /**
279
289
  * Dimension preset keys for image editor
280
290
  */
@@ -365,6 +375,10 @@ interface ImageEditorElement {
365
375
  boxAlign?: 'left' | 'center' | 'right';
366
376
  /** Maps to input port (e.g., "image_1", "image_2") */
367
377
  inputId?: string;
378
+ /** Whether this image comes from a variable input port (default: true for backwards compat) */
379
+ imageIsVariable?: boolean;
380
+ /** Selected media items for static image selection */
381
+ imageMedia?: StaticMediaItem[];
368
382
  /** How the image fits its container */
369
383
  fit?: FitMode;
370
384
  /** Opacity percentage 0-100 */
@@ -391,6 +405,10 @@ interface ImageEditorNodeConfig {
391
405
  elements: ImageEditorElement[];
392
406
  /** Background type: 'image' for image input, 'color' for solid color */
393
407
  backgroundType?: 'image' | 'color';
408
+ /** Whether background image comes from a variable input port (default: true for backwards compat) */
409
+ backgroundIsVariable?: boolean;
410
+ /** Selected media items for static background image */
411
+ backgroundMedia?: StaticMediaItem[];
394
412
  /** Background color (hex) when backgroundType is 'color' */
395
413
  backgroundColor?: string;
396
414
  /** How the background image fits the canvas */
@@ -1165,4 +1183,4 @@ declare function getCaptionPresetNames(): CaptionPreset[];
1165
1183
  */
1166
1184
  declare function isValidCaptionPreset(name: string): name is CaptionPreset;
1167
1185
 
1168
- export { SCREENSHOT_ANIMATION_DEFAULTS as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorSegment as E, type FitMode as F, type VideoEditorChannel as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorNodeConfig as J, type SegmentTimelinePosition as K, type CropBoundary as L, type CropAxisConfig as M, type CropBounds as N, type CaptionWord as O, type PositionResolutionResult as P, type CaptionPage as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPreset as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPosition as X, type CaptionFontWeight as Y, type CaptionStyle as Z, type ScreenshotAnimationConfig as _, type RelativePositionConfigY as a, calculateScreenshotAnimationDuration as a0, FONT_FAMILIES as a1, APPLE_EMOJI_FONT as a2, getFontFamily as a3, buildFontString as a4, FONT_URLS as a5, preloadFonts as a6, areFontsLoaded as a7, debugFontStatus as a8, calculateFitDimensions as a9, getSegmentTimelinePosition as aA, isSegmentVisibleAtTime as aB, calculateEstimatedDuration as aC, calculateTimelineContentEnd as aD, formatTime as aE, parseTime as aF, generateSegmentId as aG, generateOverlayId as aH, CAPTION_PRESETS as aI, DEFAULT_CAPTION_STYLE as aJ, resolveCaptionStyle as aK, getCaptionPresetNames as aL, isValidCaptionPreset as aM, type FitDimensions as aa, TEXT_DEFAULTS as ab, IMAGE_DEFAULTS as ac, VIDEO_DEFAULTS as ad, VISUAL_DEFAULTS as ae, applyTextDefaults as af, applyImageDefaults as ag, applyVideoDefaults as ah, wrapText as ai, calculateLineWidth as aj, getBorderRadii as ak, parseHexColor as al, hexToRgba as am, getSFProLetterSpacing as an, resolveElementPositions as ao, calculateAutoWidthDimensions as ap, canSetAsReference as aq, getDependentElements as ar, getReferenceElementX as as, getReferenceElementY as at, type PositionResolutionError as au, calculateCropBounds as av, isDynamicCropEnabled as aw, defaultOffset as ax, getBaseSegments as ay, getOverlays as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type DimensionPresetKey as o, type DimensionPreset as p, DIMENSION_PRESETS as q, type TimeMode as r, type VideoEditorBaseSegment as s, type VideoEditorVisualSegment as t, type VideoEditorVideoSegment as u, type VideoEditorAudioSegment as v, type VideoEditorImageSegment as w, type VideoEditorTextSegment as x, type VideoEditorImageSequenceSegment as y, type VideoEditorVideoSequenceSegment as z };
1186
+ export { type ScreenshotAnimationConfig as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorVideoSequenceSegment as E, type FitMode as F, type VideoEditorSegment as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorChannel as J, type VideoEditorNodeConfig as K, type SegmentTimelinePosition as L, type CropBoundary as M, type CropAxisConfig as N, type CropBounds as O, type PositionResolutionResult as P, type CaptionWord as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPage as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPreset as X, type CaptionPosition as Y, type CaptionFontWeight as Z, type CaptionStyle as _, type RelativePositionConfigY as a, SCREENSHOT_ANIMATION_DEFAULTS as a0, calculateScreenshotAnimationDuration as a1, FONT_FAMILIES as a2, APPLE_EMOJI_FONT as a3, getFontFamily as a4, buildFontString as a5, FONT_URLS as a6, preloadFonts as a7, areFontsLoaded as a8, debugFontStatus as a9, getOverlays as aA, getSegmentTimelinePosition as aB, isSegmentVisibleAtTime as aC, calculateEstimatedDuration as aD, calculateTimelineContentEnd as aE, formatTime as aF, parseTime as aG, generateSegmentId as aH, generateOverlayId as aI, CAPTION_PRESETS as aJ, DEFAULT_CAPTION_STYLE as aK, resolveCaptionStyle as aL, getCaptionPresetNames as aM, isValidCaptionPreset as aN, calculateFitDimensions as aa, type FitDimensions as ab, TEXT_DEFAULTS as ac, IMAGE_DEFAULTS as ad, VIDEO_DEFAULTS as ae, VISUAL_DEFAULTS as af, applyTextDefaults as ag, applyImageDefaults as ah, applyVideoDefaults as ai, wrapText as aj, calculateLineWidth as ak, getBorderRadii as al, parseHexColor as am, hexToRgba as an, getSFProLetterSpacing as ao, resolveElementPositions as ap, calculateAutoWidthDimensions as aq, canSetAsReference as ar, getDependentElements as as, getReferenceElementX as at, getReferenceElementY as au, type PositionResolutionError as av, calculateCropBounds as aw, isDynamicCropEnabled as ax, defaultOffset as ay, getBaseSegments as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type StaticMediaItem as o, type DimensionPresetKey as p, type DimensionPreset as q, DIMENSION_PRESETS as r, type TimeMode as s, type VideoEditorBaseSegment as t, type VideoEditorVisualSegment as u, type VideoEditorVideoSegment as v, type VideoEditorAudioSegment as w, type VideoEditorImageSegment as x, type VideoEditorTextSegment as y, type VideoEditorImageSequenceSegment as z };
@@ -275,6 +275,16 @@ interface CropBounds {
275
275
  * before rendering.
276
276
  */
277
277
 
278
+ /**
279
+ * Lightweight media reference stored in editor configs.
280
+ * Structurally compatible with the full Media type from ugcinc.
281
+ */
282
+ interface StaticMediaItem {
283
+ id: string;
284
+ name: string | null;
285
+ url: string | null;
286
+ type: string | null;
287
+ }
278
288
  /**
279
289
  * Dimension preset keys for image editor
280
290
  */
@@ -365,6 +375,10 @@ interface ImageEditorElement {
365
375
  boxAlign?: 'left' | 'center' | 'right';
366
376
  /** Maps to input port (e.g., "image_1", "image_2") */
367
377
  inputId?: string;
378
+ /** Whether this image comes from a variable input port (default: true for backwards compat) */
379
+ imageIsVariable?: boolean;
380
+ /** Selected media items for static image selection */
381
+ imageMedia?: StaticMediaItem[];
368
382
  /** How the image fits its container */
369
383
  fit?: FitMode;
370
384
  /** Opacity percentage 0-100 */
@@ -391,6 +405,10 @@ interface ImageEditorNodeConfig {
391
405
  elements: ImageEditorElement[];
392
406
  /** Background type: 'image' for image input, 'color' for solid color */
393
407
  backgroundType?: 'image' | 'color';
408
+ /** Whether background image comes from a variable input port (default: true for backwards compat) */
409
+ backgroundIsVariable?: boolean;
410
+ /** Selected media items for static background image */
411
+ backgroundMedia?: StaticMediaItem[];
394
412
  /** Background color (hex) when backgroundType is 'color' */
395
413
  backgroundColor?: string;
396
414
  /** How the background image fits the canvas */
@@ -1165,4 +1183,4 @@ declare function getCaptionPresetNames(): CaptionPreset[];
1165
1183
  */
1166
1184
  declare function isValidCaptionPreset(name: string): name is CaptionPreset;
1167
1185
 
1168
- export { SCREENSHOT_ANIMATION_DEFAULTS as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorSegment as E, type FitMode as F, type VideoEditorChannel as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorNodeConfig as J, type SegmentTimelinePosition as K, type CropBoundary as L, type CropAxisConfig as M, type CropBounds as N, type CaptionWord as O, type PositionResolutionResult as P, type CaptionPage as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPreset as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPosition as X, type CaptionFontWeight as Y, type CaptionStyle as Z, type ScreenshotAnimationConfig as _, type RelativePositionConfigY as a, calculateScreenshotAnimationDuration as a0, FONT_FAMILIES as a1, APPLE_EMOJI_FONT as a2, getFontFamily as a3, buildFontString as a4, FONT_URLS as a5, preloadFonts as a6, areFontsLoaded as a7, debugFontStatus as a8, calculateFitDimensions as a9, getSegmentTimelinePosition as aA, isSegmentVisibleAtTime as aB, calculateEstimatedDuration as aC, calculateTimelineContentEnd as aD, formatTime as aE, parseTime as aF, generateSegmentId as aG, generateOverlayId as aH, CAPTION_PRESETS as aI, DEFAULT_CAPTION_STYLE as aJ, resolveCaptionStyle as aK, getCaptionPresetNames as aL, isValidCaptionPreset as aM, type FitDimensions as aa, TEXT_DEFAULTS as ab, IMAGE_DEFAULTS as ac, VIDEO_DEFAULTS as ad, VISUAL_DEFAULTS as ae, applyTextDefaults as af, applyImageDefaults as ag, applyVideoDefaults as ah, wrapText as ai, calculateLineWidth as aj, getBorderRadii as ak, parseHexColor as al, hexToRgba as am, getSFProLetterSpacing as an, resolveElementPositions as ao, calculateAutoWidthDimensions as ap, canSetAsReference as aq, getDependentElements as ar, getReferenceElementX as as, getReferenceElementY as at, type PositionResolutionError as au, calculateCropBounds as av, isDynamicCropEnabled as aw, defaultOffset as ax, getBaseSegments as ay, getOverlays as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type DimensionPresetKey as o, type DimensionPreset as p, DIMENSION_PRESETS as q, type TimeMode as r, type VideoEditorBaseSegment as s, type VideoEditorVisualSegment as t, type VideoEditorVideoSegment as u, type VideoEditorAudioSegment as v, type VideoEditorImageSegment as w, type VideoEditorTextSegment as x, type VideoEditorImageSequenceSegment as y, type VideoEditorVideoSequenceSegment as z };
1186
+ export { type ScreenshotAnimationConfig as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorVideoSequenceSegment as E, type FitMode as F, type VideoEditorSegment as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorChannel as J, type VideoEditorNodeConfig as K, type SegmentTimelinePosition as L, type CropBoundary as M, type CropAxisConfig as N, type CropBounds as O, type PositionResolutionResult as P, type CaptionWord as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPage as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPreset as X, type CaptionPosition as Y, type CaptionFontWeight as Z, type CaptionStyle as _, type RelativePositionConfigY as a, SCREENSHOT_ANIMATION_DEFAULTS as a0, calculateScreenshotAnimationDuration as a1, FONT_FAMILIES as a2, APPLE_EMOJI_FONT as a3, getFontFamily as a4, buildFontString as a5, FONT_URLS as a6, preloadFonts as a7, areFontsLoaded as a8, debugFontStatus as a9, getOverlays as aA, getSegmentTimelinePosition as aB, isSegmentVisibleAtTime as aC, calculateEstimatedDuration as aD, calculateTimelineContentEnd as aE, formatTime as aF, parseTime as aG, generateSegmentId as aH, generateOverlayId as aI, CAPTION_PRESETS as aJ, DEFAULT_CAPTION_STYLE as aK, resolveCaptionStyle as aL, getCaptionPresetNames as aM, isValidCaptionPreset as aN, calculateFitDimensions as aa, type FitDimensions as ab, TEXT_DEFAULTS as ac, IMAGE_DEFAULTS as ad, VIDEO_DEFAULTS as ae, VISUAL_DEFAULTS as af, applyTextDefaults as ag, applyImageDefaults as ah, applyVideoDefaults as ai, wrapText as aj, calculateLineWidth as ak, getBorderRadii as al, parseHexColor as am, hexToRgba as an, getSFProLetterSpacing as ao, resolveElementPositions as ap, calculateAutoWidthDimensions as aq, canSetAsReference as ar, getDependentElements as as, getReferenceElementX as at, getReferenceElementY as au, type PositionResolutionError as av, calculateCropBounds as aw, isDynamicCropEnabled as ax, defaultOffset as ay, getBaseSegments as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type StaticMediaItem as o, type DimensionPresetKey as p, type DimensionPreset as q, DIMENSION_PRESETS as r, type TimeMode as s, type VideoEditorBaseSegment as t, type VideoEditorVisualSegment as u, type VideoEditorVideoSegment as v, type VideoEditorAudioSegment as w, type VideoEditorImageSegment as x, type VideoEditorTextSegment as y, type VideoEditorImageSequenceSegment as z };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-ul4UIbpT.mjs';
2
- export { a2 as APPLE_EMOJI_FONT, aI as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, M as CropAxisConfig, L as CropBoundary, N as CropBounds, aJ as DEFAULT_CAPTION_STYLE, q as DIMENSION_PRESETS, p as DimensionPreset, o as DimensionPresetKey, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ac as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, au as PositionResolutionError, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, K as SegmentTimelinePosition, ab as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, r as TimeMode, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, v as VideoEditorAudioSegment, s as VideoEditorBaseSegment, G as VideoEditorChannel, w as VideoEditorImageSegment, y as VideoEditorImageSequenceSegment, J as VideoEditorNodeConfig, E as VideoEditorSegment, x as VideoEditorTextSegment, u as VideoEditorVideoSegment, z as VideoEditorVideoSequenceSegment, t as VideoEditorVisualSegment, W as WordBreak, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ap as calculateAutoWidthDimensions, av as calculateCropBounds, aC as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aD as calculateTimelineContentEnd, aq as canSetAsReference, a8 as debugFontStatus, ax as defaultOffset, aE as formatTime, aH as generateOverlayId, aG as generateSegmentId, ay as getBaseSegments, ak as getBorderRadii, aL as getCaptionPresetNames, ar as getDependentElements, a3 as getFontFamily, az as getOverlays, as as getReferenceElementX, at as getReferenceElementY, an as getSFProLetterSpacing, aA as getSegmentTimelinePosition, am as hexToRgba, aw as isDynamicCropEnabled, aB as isSegmentVisibleAtTime, aM as isValidCaptionPreset, al as parseHexColor, aF as parseTime, a6 as preloadFonts, aK as resolveCaptionStyle, ao as resolveElementPositions, ai as wrapText } from './index-ul4UIbpT.mjs';
1
+ import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-Defxsgxn.mjs';
2
+ export { a3 as APPLE_EMOJI_FONT, aJ as CAPTION_PRESETS, Z as CaptionFontWeight, U as CaptionPage, Y as CaptionPosition, X as CaptionPreset, _ as CaptionStyle, Q as CaptionWord, N as CropAxisConfig, M as CropBoundary, O as CropBounds, aK as DEFAULT_CAPTION_STYLE, r as DIMENSION_PRESETS, q as DimensionPreset, p as DimensionPresetKey, a2 as FONT_FAMILIES, a6 as FONT_URLS, ab as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ad as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, av as PositionResolutionError, a0 as SCREENSHOT_ANIMATION_DEFAULTS, $ as ScreenshotAnimationConfig, L as SegmentTimelinePosition, o as StaticMediaItem, ac as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, s as TimeMode, ae as VIDEO_DEFAULTS, af as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, w as VideoEditorAudioSegment, t as VideoEditorBaseSegment, J as VideoEditorChannel, x as VideoEditorImageSegment, z as VideoEditorImageSequenceSegment, K as VideoEditorNodeConfig, G as VideoEditorSegment, y as VideoEditorTextSegment, v as VideoEditorVideoSegment, E as VideoEditorVideoSequenceSegment, u as VideoEditorVisualSegment, W as WordBreak, ah as applyImageDefaults, ag as applyTextDefaults, ai as applyVideoDefaults, a8 as areFontsLoaded, a5 as buildFontString, aq as calculateAutoWidthDimensions, aw as calculateCropBounds, aD as calculateEstimatedDuration, aa as calculateFitDimensions, ak as calculateLineWidth, a1 as calculateScreenshotAnimationDuration, aE as calculateTimelineContentEnd, ar as canSetAsReference, a9 as debugFontStatus, ay as defaultOffset, aF as formatTime, aI as generateOverlayId, aH as generateSegmentId, az as getBaseSegments, al as getBorderRadii, aM as getCaptionPresetNames, as as getDependentElements, a4 as getFontFamily, aA as getOverlays, at as getReferenceElementX, au as getReferenceElementY, ao as getSFProLetterSpacing, aB as getSegmentTimelinePosition, an as hexToRgba, ax as isDynamicCropEnabled, aC as isSegmentVisibleAtTime, aN as isValidCaptionPreset, am as parseHexColor, aG as parseTime, a7 as preloadFonts, aL as resolveCaptionStyle, ap as resolveElementPositions, aj as wrapText } from './index-Defxsgxn.mjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React from 'react';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-ul4UIbpT.js';
2
- export { a2 as APPLE_EMOJI_FONT, aI as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, M as CropAxisConfig, L as CropBoundary, N as CropBounds, aJ as DEFAULT_CAPTION_STYLE, q as DIMENSION_PRESETS, p as DimensionPreset, o as DimensionPresetKey, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ac as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, au as PositionResolutionError, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, K as SegmentTimelinePosition, ab as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, r as TimeMode, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, v as VideoEditorAudioSegment, s as VideoEditorBaseSegment, G as VideoEditorChannel, w as VideoEditorImageSegment, y as VideoEditorImageSequenceSegment, J as VideoEditorNodeConfig, E as VideoEditorSegment, x as VideoEditorTextSegment, u as VideoEditorVideoSegment, z as VideoEditorVideoSequenceSegment, t as VideoEditorVisualSegment, W as WordBreak, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ap as calculateAutoWidthDimensions, av as calculateCropBounds, aC as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aD as calculateTimelineContentEnd, aq as canSetAsReference, a8 as debugFontStatus, ax as defaultOffset, aE as formatTime, aH as generateOverlayId, aG as generateSegmentId, ay as getBaseSegments, ak as getBorderRadii, aL as getCaptionPresetNames, ar as getDependentElements, a3 as getFontFamily, az as getOverlays, as as getReferenceElementX, at as getReferenceElementY, an as getSFProLetterSpacing, aA as getSegmentTimelinePosition, am as hexToRgba, aw as isDynamicCropEnabled, aB as isSegmentVisibleAtTime, aM as isValidCaptionPreset, al as parseHexColor, aF as parseTime, a6 as preloadFonts, aK as resolveCaptionStyle, ao as resolveElementPositions, ai as wrapText } from './index-ul4UIbpT.js';
1
+ import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-Defxsgxn.js';
2
+ export { a3 as APPLE_EMOJI_FONT, aJ as CAPTION_PRESETS, Z as CaptionFontWeight, U as CaptionPage, Y as CaptionPosition, X as CaptionPreset, _ as CaptionStyle, Q as CaptionWord, N as CropAxisConfig, M as CropBoundary, O as CropBounds, aK as DEFAULT_CAPTION_STYLE, r as DIMENSION_PRESETS, q as DimensionPreset, p as DimensionPresetKey, a2 as FONT_FAMILIES, a6 as FONT_URLS, ab as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ad as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, av as PositionResolutionError, a0 as SCREENSHOT_ANIMATION_DEFAULTS, $ as ScreenshotAnimationConfig, L as SegmentTimelinePosition, o as StaticMediaItem, ac as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, s as TimeMode, ae as VIDEO_DEFAULTS, af as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, w as VideoEditorAudioSegment, t as VideoEditorBaseSegment, J as VideoEditorChannel, x as VideoEditorImageSegment, z as VideoEditorImageSequenceSegment, K as VideoEditorNodeConfig, G as VideoEditorSegment, y as VideoEditorTextSegment, v as VideoEditorVideoSegment, E as VideoEditorVideoSequenceSegment, u as VideoEditorVisualSegment, W as WordBreak, ah as applyImageDefaults, ag as applyTextDefaults, ai as applyVideoDefaults, a8 as areFontsLoaded, a5 as buildFontString, aq as calculateAutoWidthDimensions, aw as calculateCropBounds, aD as calculateEstimatedDuration, aa as calculateFitDimensions, ak as calculateLineWidth, a1 as calculateScreenshotAnimationDuration, aE as calculateTimelineContentEnd, ar as canSetAsReference, a9 as debugFontStatus, ay as defaultOffset, aF as formatTime, aI as generateOverlayId, aH as generateSegmentId, az as getBaseSegments, al as getBorderRadii, aM as getCaptionPresetNames, as as getDependentElements, a4 as getFontFamily, aA as getOverlays, at as getReferenceElementX, au as getReferenceElementY, ao as getSFProLetterSpacing, aB as getSegmentTimelinePosition, an as hexToRgba, ax as isDynamicCropEnabled, aC as isSegmentVisibleAtTime, aN as isValidCaptionPreset, am as parseHexColor, aG as parseTime, a7 as preloadFonts, aL as resolveCaptionStyle, ap as resolveElementPositions, aj as wrapText } from './index-Defxsgxn.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React from 'react';
5
5
 
@@ -1 +1 @@
1
- export { a2 as APPLE_EMOJI_FONT, aI as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, aJ as DEFAULT_CAPTION_STYLE, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, ac as IMAGE_DEFAULTS, au as PositionResolutionError, P as PositionResolutionResult, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, c as ScreenshotAnimationProps, ab as TEXT_DEFAULTS, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ap as calculateAutoWidthDimensions, av as calculateCropBounds, aC as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aD as calculateTimelineContentEnd, aq as canSetAsReference, a8 as debugFontStatus, ax as defaultOffset, aE as formatTime, aH as generateOverlayId, aG as generateSegmentId, ay as getBaseSegments, ak as getBorderRadii, aL as getCaptionPresetNames, ar as getDependentElements, a3 as getFontFamily, az as getOverlays, as as getReferenceElementX, at as getReferenceElementY, an as getSFProLetterSpacing, aA as getSegmentTimelinePosition, am as hexToRgba, aw as isDynamicCropEnabled, aB as isSegmentVisibleAtTime, aM as isValidCaptionPreset, al as parseHexColor, aF as parseTime, a6 as preloadFonts, aK as resolveCaptionStyle, ao as resolveElementPositions, ai as wrapText } from '../index-ul4UIbpT.mjs';
1
+ export { a3 as APPLE_EMOJI_FONT, aJ as CAPTION_PRESETS, Z as CaptionFontWeight, U as CaptionPage, Y as CaptionPosition, X as CaptionPreset, _ as CaptionStyle, Q as CaptionWord, aK as DEFAULT_CAPTION_STYLE, a2 as FONT_FAMILIES, a6 as FONT_URLS, ab as FitDimensions, ad as IMAGE_DEFAULTS, av as PositionResolutionError, P as PositionResolutionResult, a0 as SCREENSHOT_ANIMATION_DEFAULTS, $ as ScreenshotAnimationConfig, c as ScreenshotAnimationProps, ac as TEXT_DEFAULTS, ae as VIDEO_DEFAULTS, af as VISUAL_DEFAULTS, ah as applyImageDefaults, ag as applyTextDefaults, ai as applyVideoDefaults, a8 as areFontsLoaded, a5 as buildFontString, aq as calculateAutoWidthDimensions, aw as calculateCropBounds, aD as calculateEstimatedDuration, aa as calculateFitDimensions, ak as calculateLineWidth, a1 as calculateScreenshotAnimationDuration, aE as calculateTimelineContentEnd, ar as canSetAsReference, a9 as debugFontStatus, ay as defaultOffset, aF as formatTime, aI as generateOverlayId, aH as generateSegmentId, az as getBaseSegments, al as getBorderRadii, aM as getCaptionPresetNames, as as getDependentElements, a4 as getFontFamily, aA as getOverlays, at as getReferenceElementX, au as getReferenceElementY, ao as getSFProLetterSpacing, aB as getSegmentTimelinePosition, an as hexToRgba, ax as isDynamicCropEnabled, aC as isSegmentVisibleAtTime, aN as isValidCaptionPreset, am as parseHexColor, aG as parseTime, a7 as preloadFonts, aL as resolveCaptionStyle, ap as resolveElementPositions, aj as wrapText } from '../index-Defxsgxn.mjs';
@@ -1 +1 @@
1
- export { a2 as APPLE_EMOJI_FONT, aI as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, aJ as DEFAULT_CAPTION_STYLE, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, ac as IMAGE_DEFAULTS, au as PositionResolutionError, P as PositionResolutionResult, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, c as ScreenshotAnimationProps, ab as TEXT_DEFAULTS, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ap as calculateAutoWidthDimensions, av as calculateCropBounds, aC as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aD as calculateTimelineContentEnd, aq as canSetAsReference, a8 as debugFontStatus, ax as defaultOffset, aE as formatTime, aH as generateOverlayId, aG as generateSegmentId, ay as getBaseSegments, ak as getBorderRadii, aL as getCaptionPresetNames, ar as getDependentElements, a3 as getFontFamily, az as getOverlays, as as getReferenceElementX, at as getReferenceElementY, an as getSFProLetterSpacing, aA as getSegmentTimelinePosition, am as hexToRgba, aw as isDynamicCropEnabled, aB as isSegmentVisibleAtTime, aM as isValidCaptionPreset, al as parseHexColor, aF as parseTime, a6 as preloadFonts, aK as resolveCaptionStyle, ao as resolveElementPositions, ai as wrapText } from '../index-ul4UIbpT.js';
1
+ export { a3 as APPLE_EMOJI_FONT, aJ as CAPTION_PRESETS, Z as CaptionFontWeight, U as CaptionPage, Y as CaptionPosition, X as CaptionPreset, _ as CaptionStyle, Q as CaptionWord, aK as DEFAULT_CAPTION_STYLE, a2 as FONT_FAMILIES, a6 as FONT_URLS, ab as FitDimensions, ad as IMAGE_DEFAULTS, av as PositionResolutionError, P as PositionResolutionResult, a0 as SCREENSHOT_ANIMATION_DEFAULTS, $ as ScreenshotAnimationConfig, c as ScreenshotAnimationProps, ac as TEXT_DEFAULTS, ae as VIDEO_DEFAULTS, af as VISUAL_DEFAULTS, ah as applyImageDefaults, ag as applyTextDefaults, ai as applyVideoDefaults, a8 as areFontsLoaded, a5 as buildFontString, aq as calculateAutoWidthDimensions, aw as calculateCropBounds, aD as calculateEstimatedDuration, aa as calculateFitDimensions, ak as calculateLineWidth, a1 as calculateScreenshotAnimationDuration, aE as calculateTimelineContentEnd, ar as canSetAsReference, a9 as debugFontStatus, ay as defaultOffset, aF as formatTime, aI as generateOverlayId, aH as generateSegmentId, az as getBaseSegments, al as getBorderRadii, aM as getCaptionPresetNames, as as getDependentElements, a4 as getFontFamily, aA as getOverlays, at as getReferenceElementX, au as getReferenceElementY, ao as getSFProLetterSpacing, aB as getSegmentTimelinePosition, an as hexToRgba, ax as isDynamicCropEnabled, aC as isSegmentVisibleAtTime, aN as isValidCaptionPreset, am as parseHexColor, aG as parseTime, a7 as preloadFonts, aL as resolveCaptionStyle, ap as resolveElementPositions, aj as wrapText } from '../index-Defxsgxn.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.8.213",
3
+ "version": "1.8.215",
4
4
  "description": "Unified rendering package for UGC Inc - shared types, components, and compositions for pixel-perfect client/server rendering",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",