ugcinc-render 1.8.222 → 1.8.223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +49 -1
- package/dist/index.d.ts +49 -1
- package/dist/index.js +8 -4
- package/dist/index.mjs +6 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -943,6 +943,29 @@ interface InstagramDmCompositionProps {
|
|
|
943
943
|
dynamicCrop?: DynamicCropConfig;
|
|
944
944
|
}
|
|
945
945
|
|
|
946
|
+
/**
|
|
947
|
+
* Convert InstagramDmComposition props to ImageEditorElements
|
|
948
|
+
*
|
|
949
|
+
* This module transforms the IG DM composition props into an array of
|
|
950
|
+
* ImageEditorElements that can be rendered by ImageEditorComposition.
|
|
951
|
+
*/
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* Result of converting props to elements
|
|
955
|
+
*/
|
|
956
|
+
interface ConversionResult$1 {
|
|
957
|
+
/** Elements to render via ImageEditorComposition */
|
|
958
|
+
elements: ImageEditorElement[];
|
|
959
|
+
/** Image URLs keyed by inputId */
|
|
960
|
+
imageUrls: Record<string, string>;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Convert InstagramDmComposition props to ImageEditorElements
|
|
964
|
+
*
|
|
965
|
+
* This is the main entry point that orchestrates all element generation.
|
|
966
|
+
*/
|
|
967
|
+
declare function convertPropsToElements$1(props: InstagramDmCompositionProps): ConversionResult$1;
|
|
968
|
+
|
|
946
969
|
/**
|
|
947
970
|
* Default composition props for registration
|
|
948
971
|
*/
|
|
@@ -1179,6 +1202,31 @@ interface IMessageDmCompositionProps {
|
|
|
1179
1202
|
dynamicCrop?: DynamicCropConfig;
|
|
1180
1203
|
}
|
|
1181
1204
|
|
|
1205
|
+
/**
|
|
1206
|
+
* Convert iMessage DM Composition props to ImageEditorElements
|
|
1207
|
+
*
|
|
1208
|
+
* This module transforms the composition props into renderable message elements.
|
|
1209
|
+
* Header, footer, and status bar elements are rendered directly in the composition JSX.
|
|
1210
|
+
*/
|
|
1211
|
+
|
|
1212
|
+
/** Tail render data for SVG rendering */
|
|
1213
|
+
interface TailRenderData {
|
|
1214
|
+
id: string;
|
|
1215
|
+
isUser: boolean;
|
|
1216
|
+
messageLeft: number;
|
|
1217
|
+
messageRight: number;
|
|
1218
|
+
messageBottom: number;
|
|
1219
|
+
}
|
|
1220
|
+
/** Result of converting props to elements */
|
|
1221
|
+
interface ConversionResult {
|
|
1222
|
+
elements: ImageEditorElement[];
|
|
1223
|
+
imageUrls: Record<string, string>;
|
|
1224
|
+
tails: TailRenderData[];
|
|
1225
|
+
width: number;
|
|
1226
|
+
height: number;
|
|
1227
|
+
}
|
|
1228
|
+
declare function convertPropsToElements(props: IMessageDmCompositionProps): ConversionResult;
|
|
1229
|
+
|
|
1182
1230
|
/**
|
|
1183
1231
|
* iMessage DM Composition
|
|
1184
1232
|
*
|
|
@@ -1809,4 +1857,4 @@ declare function useResolvedPositions(elements: ImageEditorElement[], textValues
|
|
|
1809
1857
|
|
|
1810
1858
|
declare const RenderRoot: React.FC;
|
|
1811
1859
|
|
|
1812
|
-
export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, BaseDmComposition, type BaseDmCompositionProps, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, CropBounds, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, DebugOverlay, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, DeduplicationPreview, type DeduplicationPreviewProps, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, IMessageDmComposition, type IMessageDmCompositionProps, type IgDmMessage, type IgDmSender, type IgDmTheme, type IgTheme, type ImMessage, type ImMessageSender, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, type ImageSequenceSegment, InstagramDmComposition, type InstagramDmCompositionProps, type InstagramDmPublicInput, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type ValidationError, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VideoSequenceSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, convertPublicToProps, defaultIMessageDmProps, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions, validatePublicInput };
|
|
1860
|
+
export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, BaseDmComposition, type BaseDmCompositionProps, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, CropBounds, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, DebugOverlay, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, DeduplicationPreview, type DeduplicationPreviewProps, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, IMessageDmComposition, type IMessageDmCompositionProps, type IgDmMessage, type IgDmSender, type IgDmTheme, type IgTheme, type ImMessage, type ImMessageSender, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, type ImageSequenceSegment, InstagramDmComposition, type InstagramDmCompositionProps, type InstagramDmPublicInput, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type ValidationError, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VideoSequenceSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, convertPropsToElements as convertIMessagePropsToElements, convertPropsToElements$1 as convertInstagramPropsToElements, convertPublicToProps, defaultIMessageDmProps, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions, validatePublicInput };
|
package/dist/index.d.ts
CHANGED
|
@@ -943,6 +943,29 @@ interface InstagramDmCompositionProps {
|
|
|
943
943
|
dynamicCrop?: DynamicCropConfig;
|
|
944
944
|
}
|
|
945
945
|
|
|
946
|
+
/**
|
|
947
|
+
* Convert InstagramDmComposition props to ImageEditorElements
|
|
948
|
+
*
|
|
949
|
+
* This module transforms the IG DM composition props into an array of
|
|
950
|
+
* ImageEditorElements that can be rendered by ImageEditorComposition.
|
|
951
|
+
*/
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* Result of converting props to elements
|
|
955
|
+
*/
|
|
956
|
+
interface ConversionResult$1 {
|
|
957
|
+
/** Elements to render via ImageEditorComposition */
|
|
958
|
+
elements: ImageEditorElement[];
|
|
959
|
+
/** Image URLs keyed by inputId */
|
|
960
|
+
imageUrls: Record<string, string>;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Convert InstagramDmComposition props to ImageEditorElements
|
|
964
|
+
*
|
|
965
|
+
* This is the main entry point that orchestrates all element generation.
|
|
966
|
+
*/
|
|
967
|
+
declare function convertPropsToElements$1(props: InstagramDmCompositionProps): ConversionResult$1;
|
|
968
|
+
|
|
946
969
|
/**
|
|
947
970
|
* Default composition props for registration
|
|
948
971
|
*/
|
|
@@ -1179,6 +1202,31 @@ interface IMessageDmCompositionProps {
|
|
|
1179
1202
|
dynamicCrop?: DynamicCropConfig;
|
|
1180
1203
|
}
|
|
1181
1204
|
|
|
1205
|
+
/**
|
|
1206
|
+
* Convert iMessage DM Composition props to ImageEditorElements
|
|
1207
|
+
*
|
|
1208
|
+
* This module transforms the composition props into renderable message elements.
|
|
1209
|
+
* Header, footer, and status bar elements are rendered directly in the composition JSX.
|
|
1210
|
+
*/
|
|
1211
|
+
|
|
1212
|
+
/** Tail render data for SVG rendering */
|
|
1213
|
+
interface TailRenderData {
|
|
1214
|
+
id: string;
|
|
1215
|
+
isUser: boolean;
|
|
1216
|
+
messageLeft: number;
|
|
1217
|
+
messageRight: number;
|
|
1218
|
+
messageBottom: number;
|
|
1219
|
+
}
|
|
1220
|
+
/** Result of converting props to elements */
|
|
1221
|
+
interface ConversionResult {
|
|
1222
|
+
elements: ImageEditorElement[];
|
|
1223
|
+
imageUrls: Record<string, string>;
|
|
1224
|
+
tails: TailRenderData[];
|
|
1225
|
+
width: number;
|
|
1226
|
+
height: number;
|
|
1227
|
+
}
|
|
1228
|
+
declare function convertPropsToElements(props: IMessageDmCompositionProps): ConversionResult;
|
|
1229
|
+
|
|
1182
1230
|
/**
|
|
1183
1231
|
* iMessage DM Composition
|
|
1184
1232
|
*
|
|
@@ -1809,4 +1857,4 @@ declare function useResolvedPositions(elements: ImageEditorElement[], textValues
|
|
|
1809
1857
|
|
|
1810
1858
|
declare const RenderRoot: React.FC;
|
|
1811
1859
|
|
|
1812
|
-
export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, BaseDmComposition, type BaseDmCompositionProps, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, CropBounds, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, DebugOverlay, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, DeduplicationPreview, type DeduplicationPreviewProps, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, IMessageDmComposition, type IMessageDmCompositionProps, type IgDmMessage, type IgDmSender, type IgDmTheme, type IgTheme, type ImMessage, type ImMessageSender, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, type ImageSequenceSegment, InstagramDmComposition, type InstagramDmCompositionProps, type InstagramDmPublicInput, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type ValidationError, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VideoSequenceSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, convertPublicToProps, defaultIMessageDmProps, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions, validatePublicInput };
|
|
1860
|
+
export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, BaseDmComposition, type BaseDmCompositionProps, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, CropBounds, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, DebugOverlay, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, DeduplicationPreview, type DeduplicationPreviewProps, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, IMessageDmComposition, type IMessageDmCompositionProps, type IgDmMessage, type IgDmSender, type IgDmTheme, type IgTheme, type ImMessage, type ImMessageSender, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, type ImageSequenceSegment, InstagramDmComposition, type InstagramDmCompositionProps, type InstagramDmPublicInput, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type ValidationError, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VideoSequenceSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, convertPropsToElements as convertIMessagePropsToElements, convertPropsToElements$1 as convertInstagramPropsToElements, convertPublicToProps, defaultIMessageDmProps, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions, validatePublicInput };
|
package/dist/index.js
CHANGED
|
@@ -83,6 +83,8 @@ __export(index_exports, {
|
|
|
83
83
|
calculateScreenshotAnimationDuration: () => calculateScreenshotAnimationDuration,
|
|
84
84
|
calculateTimelineContentEnd: () => calculateTimelineContentEnd,
|
|
85
85
|
canSetAsReference: () => canSetAsReference,
|
|
86
|
+
convertIMessagePropsToElements: () => convertPropsToElements2,
|
|
87
|
+
convertInstagramPropsToElements: () => convertPropsToElements,
|
|
86
88
|
convertPublicToProps: () => convertPublicToProps,
|
|
87
89
|
debugFontStatus: () => debugFontStatus,
|
|
88
90
|
defaultIMessageDmProps: () => defaultIMessageDmProps,
|
|
@@ -5879,7 +5881,7 @@ function generateMessageElements2(props, calculatedMessages) {
|
|
|
5879
5881
|
zIndex: 5 + i,
|
|
5880
5882
|
text: textContent,
|
|
5881
5883
|
font: "apple",
|
|
5882
|
-
fontWeight:
|
|
5884
|
+
fontWeight: "normal",
|
|
5883
5885
|
fontSize: messageFontSize,
|
|
5884
5886
|
letterSpacing: messageLetterSpacing,
|
|
5885
5887
|
lineHeight: lineHeightMultiplier,
|
|
@@ -5952,7 +5954,7 @@ function generateHeaderTextElements(props, calculatedMessages) {
|
|
|
5952
5954
|
zIndex: 4,
|
|
5953
5955
|
text: messageHeaderTimestampText,
|
|
5954
5956
|
font: "apple",
|
|
5955
|
-
fontWeight:
|
|
5957
|
+
fontWeight: "normal",
|
|
5956
5958
|
fontSize: messageHeaderFontSize,
|
|
5957
5959
|
letterSpacing: messageHeaderLetterSpacing,
|
|
5958
5960
|
color: messageHeaderTextColor,
|
|
@@ -5971,7 +5973,7 @@ function generateHeaderTextElements(props, calculatedMessages) {
|
|
|
5971
5973
|
zIndex: 4,
|
|
5972
5974
|
text: messageHeaderImessageText,
|
|
5973
5975
|
font: "apple",
|
|
5974
|
-
fontWeight:
|
|
5976
|
+
fontWeight: "normal",
|
|
5975
5977
|
fontSize: messageHeaderFontSize,
|
|
5976
5978
|
letterSpacing: messageHeaderLetterSpacing,
|
|
5977
5979
|
color: messageHeaderTextColor,
|
|
@@ -6014,7 +6016,7 @@ function generateReadReceiptElement(props, calculatedMessages) {
|
|
|
6014
6016
|
zIndex: 4,
|
|
6015
6017
|
text: readReceiptText,
|
|
6016
6018
|
font: "apple",
|
|
6017
|
-
fontWeight:
|
|
6019
|
+
fontWeight: "bold",
|
|
6018
6020
|
fontSize: readReceiptFontSize,
|
|
6019
6021
|
letterSpacing: readReceiptLetterSpacing,
|
|
6020
6022
|
color: readReceiptColor,
|
|
@@ -8821,6 +8823,8 @@ var RenderRoot = () => {
|
|
|
8821
8823
|
calculateScreenshotAnimationDuration,
|
|
8822
8824
|
calculateTimelineContentEnd,
|
|
8823
8825
|
canSetAsReference,
|
|
8826
|
+
convertIMessagePropsToElements,
|
|
8827
|
+
convertInstagramPropsToElements,
|
|
8824
8828
|
convertPublicToProps,
|
|
8825
8829
|
debugFontStatus,
|
|
8826
8830
|
defaultIMessageDmProps,
|
package/dist/index.mjs
CHANGED
|
@@ -4913,7 +4913,7 @@ function generateMessageElements2(props, calculatedMessages) {
|
|
|
4913
4913
|
zIndex: 5 + i,
|
|
4914
4914
|
text: textContent,
|
|
4915
4915
|
font: "apple",
|
|
4916
|
-
fontWeight:
|
|
4916
|
+
fontWeight: "normal",
|
|
4917
4917
|
fontSize: messageFontSize,
|
|
4918
4918
|
letterSpacing: messageLetterSpacing,
|
|
4919
4919
|
lineHeight: lineHeightMultiplier,
|
|
@@ -4986,7 +4986,7 @@ function generateHeaderTextElements(props, calculatedMessages) {
|
|
|
4986
4986
|
zIndex: 4,
|
|
4987
4987
|
text: messageHeaderTimestampText,
|
|
4988
4988
|
font: "apple",
|
|
4989
|
-
fontWeight:
|
|
4989
|
+
fontWeight: "normal",
|
|
4990
4990
|
fontSize: messageHeaderFontSize,
|
|
4991
4991
|
letterSpacing: messageHeaderLetterSpacing,
|
|
4992
4992
|
color: messageHeaderTextColor,
|
|
@@ -5005,7 +5005,7 @@ function generateHeaderTextElements(props, calculatedMessages) {
|
|
|
5005
5005
|
zIndex: 4,
|
|
5006
5006
|
text: messageHeaderImessageText,
|
|
5007
5007
|
font: "apple",
|
|
5008
|
-
fontWeight:
|
|
5008
|
+
fontWeight: "normal",
|
|
5009
5009
|
fontSize: messageHeaderFontSize,
|
|
5010
5010
|
letterSpacing: messageHeaderLetterSpacing,
|
|
5011
5011
|
color: messageHeaderTextColor,
|
|
@@ -5048,7 +5048,7 @@ function generateReadReceiptElement(props, calculatedMessages) {
|
|
|
5048
5048
|
zIndex: 4,
|
|
5049
5049
|
text: readReceiptText,
|
|
5050
5050
|
font: "apple",
|
|
5051
|
-
fontWeight:
|
|
5051
|
+
fontWeight: "bold",
|
|
5052
5052
|
fontSize: readReceiptFontSize,
|
|
5053
5053
|
letterSpacing: readReceiptLetterSpacing,
|
|
5054
5054
|
color: readReceiptColor,
|
|
@@ -7568,6 +7568,8 @@ export {
|
|
|
7568
7568
|
calculateScreenshotAnimationDuration,
|
|
7569
7569
|
calculateTimelineContentEnd,
|
|
7570
7570
|
canSetAsReference,
|
|
7571
|
+
convertPropsToElements2 as convertIMessagePropsToElements,
|
|
7572
|
+
convertPropsToElements as convertInstagramPropsToElements,
|
|
7571
7573
|
convertPublicToProps,
|
|
7572
7574
|
debugFontStatus,
|
|
7573
7575
|
defaultIMessageDmProps,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc-render",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.223",
|
|
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",
|