ugcinc-render 1.8.214 → 1.8.216

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
  */
@@ -325,6 +335,8 @@ interface ImageEditorElement {
325
335
  text?: string;
326
336
  /** Maps to text input port for variable text (e.g., "text_1") */
327
337
  textInputId?: string;
338
+ /** Whether text comes from a variable input port (default: true for backwards compat) */
339
+ textIsVariable?: boolean;
328
340
  /** Text color (hex) */
329
341
  color?: string;
330
342
  /** Outline width in pixels (0 = no outline) */
@@ -367,10 +379,8 @@ interface ImageEditorElement {
367
379
  inputId?: string;
368
380
  /** Whether this image comes from a variable input port (default: true for backwards compat) */
369
381
  imageIsVariable?: boolean;
370
- /** Media library ID for static image selection */
371
- imageMediaId?: string | null;
372
- /** URL for static image selection */
373
- imageMediaUrl?: string | null;
382
+ /** Selected media items for static image selection */
383
+ imageMedia?: StaticMediaItem[];
374
384
  /** How the image fits its container */
375
385
  fit?: FitMode;
376
386
  /** Opacity percentage 0-100 */
@@ -399,10 +409,8 @@ interface ImageEditorNodeConfig {
399
409
  backgroundType?: 'image' | 'color';
400
410
  /** Whether background image comes from a variable input port (default: true for backwards compat) */
401
411
  backgroundIsVariable?: boolean;
402
- /** Media library ID for static background image */
403
- backgroundMediaId?: string | null;
404
- /** URL for static background image */
405
- backgroundMediaUrl?: string | null;
412
+ /** Selected media items for static background image */
413
+ backgroundMedia?: StaticMediaItem[];
406
414
  /** Background color (hex) when backgroundType is 'color' */
407
415
  backgroundColor?: string;
408
416
  /** How the background image fits the canvas */
@@ -1177,4 +1185,4 @@ declare function getCaptionPresetNames(): CaptionPreset[];
1177
1185
  */
1178
1186
  declare function isValidCaptionPreset(name: string): name is CaptionPreset;
1179
1187
 
1180
- 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 };
1188
+ 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
  */
@@ -325,6 +335,8 @@ interface ImageEditorElement {
325
335
  text?: string;
326
336
  /** Maps to text input port for variable text (e.g., "text_1") */
327
337
  textInputId?: string;
338
+ /** Whether text comes from a variable input port (default: true for backwards compat) */
339
+ textIsVariable?: boolean;
328
340
  /** Text color (hex) */
329
341
  color?: string;
330
342
  /** Outline width in pixels (0 = no outline) */
@@ -367,10 +379,8 @@ interface ImageEditorElement {
367
379
  inputId?: string;
368
380
  /** Whether this image comes from a variable input port (default: true for backwards compat) */
369
381
  imageIsVariable?: boolean;
370
- /** Media library ID for static image selection */
371
- imageMediaId?: string | null;
372
- /** URL for static image selection */
373
- imageMediaUrl?: string | null;
382
+ /** Selected media items for static image selection */
383
+ imageMedia?: StaticMediaItem[];
374
384
  /** How the image fits its container */
375
385
  fit?: FitMode;
376
386
  /** Opacity percentage 0-100 */
@@ -399,10 +409,8 @@ interface ImageEditorNodeConfig {
399
409
  backgroundType?: 'image' | 'color';
400
410
  /** Whether background image comes from a variable input port (default: true for backwards compat) */
401
411
  backgroundIsVariable?: boolean;
402
- /** Media library ID for static background image */
403
- backgroundMediaId?: string | null;
404
- /** URL for static background image */
405
- backgroundMediaUrl?: string | null;
412
+ /** Selected media items for static background image */
413
+ backgroundMedia?: StaticMediaItem[];
406
414
  /** Background color (hex) when backgroundType is 'color' */
407
415
  backgroundColor?: string;
408
416
  /** How the background image fits the canvas */
@@ -1177,4 +1185,4 @@ declare function getCaptionPresetNames(): CaptionPreset[];
1177
1185
  */
1178
1186
  declare function isValidCaptionPreset(name: string): name is CaptionPreset;
1179
1187
 
1180
- 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 };
1188
+ 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-COoGJ_Tb.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-COoGJ_Tb.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-BdKUIyCn.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-BdKUIyCn.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-COoGJ_Tb.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-COoGJ_Tb.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-BdKUIyCn.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-BdKUIyCn.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-COoGJ_Tb.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-BdKUIyCn.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-COoGJ_Tb.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-BdKUIyCn.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.8.214",
3
+ "version": "1.8.216",
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",