ugcinc 4.5.54 → 4.5.56
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/media.d.ts
CHANGED
|
@@ -197,6 +197,8 @@ export interface IMessageDmCompositionProps {
|
|
|
197
197
|
messages?: ImMessage[];
|
|
198
198
|
/** Dynamic cropping configuration - crop output to DM element bounds */
|
|
199
199
|
dynamicCrop?: DynamicCropConfig;
|
|
200
|
+
/** Center the crop container vertically within the canvas (for preview display) */
|
|
201
|
+
cropVerticalCenter?: boolean;
|
|
200
202
|
}
|
|
201
203
|
/**
|
|
202
204
|
* Zod schema for iMessage DM composition props (for Remotion)
|
|
@@ -395,6 +397,7 @@ export declare const iMessageDmPropsSchema: z.ZodObject<{
|
|
|
395
397
|
groupWithPrevious?: boolean | undefined;
|
|
396
398
|
}>, "many">>;
|
|
397
399
|
dynamicCrop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
400
|
+
cropVerticalCenter: z.ZodOptional<z.ZodBoolean>;
|
|
398
401
|
}, "strip", z.ZodTypeAny, {
|
|
399
402
|
backgroundColor?: string | undefined;
|
|
400
403
|
lightMode?: boolean | undefined;
|
|
@@ -499,6 +502,7 @@ export declare const iMessageDmPropsSchema: z.ZodObject<{
|
|
|
499
502
|
dividerLineY?: number | undefined;
|
|
500
503
|
dividerLineColor?: string | undefined;
|
|
501
504
|
headerBackgroundColor?: string | undefined;
|
|
505
|
+
cropVerticalCenter?: boolean | undefined;
|
|
502
506
|
headerTop?: number | undefined;
|
|
503
507
|
headerBottom?: number | undefined;
|
|
504
508
|
profilePicTop?: number | undefined;
|
|
@@ -681,6 +685,7 @@ export declare const iMessageDmPropsSchema: z.ZodObject<{
|
|
|
681
685
|
dividerLineY?: number | undefined;
|
|
682
686
|
dividerLineColor?: string | undefined;
|
|
683
687
|
headerBackgroundColor?: string | undefined;
|
|
688
|
+
cropVerticalCenter?: boolean | undefined;
|
|
684
689
|
headerTop?: number | undefined;
|
|
685
690
|
headerBottom?: number | undefined;
|
|
686
691
|
profilePicTop?: number | undefined;
|
|
@@ -215,4 +215,6 @@ export interface InstagramDmCompositionProps {
|
|
|
215
215
|
headerBackgroundColor?: string;
|
|
216
216
|
/** Dynamic cropping configuration - crop output to element bounds */
|
|
217
217
|
dynamicCrop?: DynamicCropConfig;
|
|
218
|
+
/** Center the crop container vertically within the canvas (for preview display) */
|
|
219
|
+
cropVerticalCenter?: boolean;
|
|
218
220
|
}
|