ugcinc-render 1.8.215 → 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.
@@ -335,6 +335,8 @@ interface ImageEditorElement {
335
335
  text?: string;
336
336
  /** Maps to text input port for variable text (e.g., "text_1") */
337
337
  textInputId?: string;
338
+ /** Whether text comes from a variable input port (default: true for backwards compat) */
339
+ textIsVariable?: boolean;
338
340
  /** Text color (hex) */
339
341
  color?: string;
340
342
  /** Outline width in pixels (0 = no outline) */
@@ -335,6 +335,8 @@ interface ImageEditorElement {
335
335
  text?: string;
336
336
  /** Maps to text input port for variable text (e.g., "text_1") */
337
337
  textInputId?: string;
338
+ /** Whether text comes from a variable input port (default: true for backwards compat) */
339
+ textIsVariable?: boolean;
338
340
  /** Text color (hex) */
339
341
  color?: string;
340
342
  /** Outline width in pixels (0 = no outline) */
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-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';
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-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';
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 { 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
+ 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 { 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';
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.215",
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",