ugcinc-render 1.8.97 → 1.8.99
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.js +43 -26
- package/dist/index.mjs +43 -26
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3528,20 +3528,20 @@ var import_remotion9 = require("remotion");
|
|
|
3528
3528
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
3529
3529
|
var DEFAULTS2 = {
|
|
3530
3530
|
messageAreaTop: 353,
|
|
3531
|
-
messageAreaBottom:
|
|
3531
|
+
messageAreaBottom: 2340,
|
|
3532
3532
|
recipientBubbleColor: "#25282d",
|
|
3533
3533
|
senderGradientTop: "#b932d6",
|
|
3534
3534
|
senderGradientMiddle: "#7d38f6",
|
|
3535
3535
|
senderGradientBottom: "#5751f9",
|
|
3536
3536
|
bubbleTextColor: "#f9f9f9",
|
|
3537
|
-
messageFontSize:
|
|
3537
|
+
messageFontSize: 51,
|
|
3538
3538
|
messageLineHeight: 60,
|
|
3539
|
-
messagePaddingLeft:
|
|
3540
|
-
messagePaddingRight:
|
|
3541
|
-
messagePaddingTop:
|
|
3542
|
-
messagePaddingBottom:
|
|
3543
|
-
bubbleRadiusNormal:
|
|
3544
|
-
bubbleRadiusGrouped:
|
|
3539
|
+
messagePaddingLeft: 37,
|
|
3540
|
+
messagePaddingRight: 19,
|
|
3541
|
+
messagePaddingTop: 27,
|
|
3542
|
+
messagePaddingBottom: 33,
|
|
3543
|
+
bubbleRadiusNormal: 57,
|
|
3544
|
+
bubbleRadiusGrouped: 12,
|
|
3545
3545
|
messageGapInGroup: 6,
|
|
3546
3546
|
messageGapSameUser: 35,
|
|
3547
3547
|
messageGapDifferentUser: 161,
|
|
@@ -3858,22 +3858,39 @@ var defaultInstagramDmProps = {
|
|
|
3858
3858
|
homeIndicatorRight: 818,
|
|
3859
3859
|
homeIndicatorColor: "#ffffff",
|
|
3860
3860
|
// Message defaults
|
|
3861
|
-
messages: [
|
|
3862
|
-
|
|
3863
|
-
|
|
3861
|
+
messages: [
|
|
3862
|
+
{ id: "1", sender: "user", text: "color" },
|
|
3863
|
+
{ id: "2", sender: "user", text: "color", groupWithPrevious: true },
|
|
3864
|
+
{ id: "3", sender: "user", text: "color", groupWithPrevious: true },
|
|
3865
|
+
{ id: "4", sender: "user", text: "color", groupWithPrevious: true },
|
|
3866
|
+
{ id: "5", sender: "user", text: "color", groupWithPrevious: true },
|
|
3867
|
+
{ id: "6", sender: "user", text: "color", groupWithPrevious: true },
|
|
3868
|
+
{ id: "7", sender: "user", text: "color", groupWithPrevious: true },
|
|
3869
|
+
{ id: "8", sender: "user", text: "color", groupWithPrevious: true },
|
|
3870
|
+
{ id: "9", sender: "user", text: "color", groupWithPrevious: true },
|
|
3871
|
+
{ id: "10", sender: "user", text: "color", groupWithPrevious: true },
|
|
3872
|
+
{ id: "11", sender: "user", text: "color", groupWithPrevious: true },
|
|
3873
|
+
{ id: "12", sender: "user", text: "color", groupWithPrevious: true },
|
|
3874
|
+
{ id: "13", sender: "user", text: "color", groupWithPrevious: true },
|
|
3875
|
+
{ id: "14", sender: "user", text: "color", groupWithPrevious: true },
|
|
3876
|
+
{ id: "15", sender: "user", text: "color", groupWithPrevious: true },
|
|
3877
|
+
{ id: "16", sender: "user", text: "color", groupWithPrevious: true }
|
|
3878
|
+
],
|
|
3879
|
+
messageAreaTop: 353,
|
|
3880
|
+
messageAreaBottom: 2340,
|
|
3864
3881
|
recipientBubbleColor: DEFAULTS2.recipientBubbleColor,
|
|
3865
3882
|
senderGradientTop: DEFAULTS2.senderGradientTop,
|
|
3866
3883
|
senderGradientMiddle: DEFAULTS2.senderGradientMiddle,
|
|
3867
3884
|
senderGradientBottom: DEFAULTS2.senderGradientBottom,
|
|
3868
3885
|
bubbleTextColor: DEFAULTS2.bubbleTextColor,
|
|
3869
|
-
messageFontSize:
|
|
3886
|
+
messageFontSize: 51,
|
|
3870
3887
|
messageLineHeight: DEFAULTS2.messageLineHeight,
|
|
3871
|
-
messagePaddingLeft:
|
|
3872
|
-
messagePaddingRight:
|
|
3873
|
-
messagePaddingTop:
|
|
3874
|
-
messagePaddingBottom:
|
|
3875
|
-
bubbleRadiusNormal:
|
|
3876
|
-
bubbleRadiusGrouped:
|
|
3888
|
+
messagePaddingLeft: 37,
|
|
3889
|
+
messagePaddingRight: 19,
|
|
3890
|
+
messagePaddingTop: 27,
|
|
3891
|
+
messagePaddingBottom: 33,
|
|
3892
|
+
bubbleRadiusNormal: 57,
|
|
3893
|
+
bubbleRadiusGrouped: 12,
|
|
3877
3894
|
messageGapInGroup: DEFAULTS2.messageGapInGroup,
|
|
3878
3895
|
messageGapSameUser: DEFAULTS2.messageGapSameUser,
|
|
3879
3896
|
messageGapDifferentUser: DEFAULTS2.messageGapDifferentUser,
|
|
@@ -5233,7 +5250,7 @@ var instagramDmSchema = import_zod.z.object({
|
|
|
5233
5250
|
})).optional().default([]).describe("Array of messages"),
|
|
5234
5251
|
// Message area bounds
|
|
5235
5252
|
messageAreaTop: import_zod.z.number().optional().default(353).describe("Message area top Y (cutoff)"),
|
|
5236
|
-
messageAreaBottom: import_zod.z.number().optional().default(
|
|
5253
|
+
messageAreaBottom: import_zod.z.number().optional().default(2340).describe("Message area bottom Y (start)"),
|
|
5237
5254
|
// Message colors
|
|
5238
5255
|
recipientBubbleColor: import_zod.z.string().optional().default("#25282d").describe("Recipient bubble color"),
|
|
5239
5256
|
senderGradientTop: import_zod.z.string().optional().default("#b932d6").describe("Sender gradient top color"),
|
|
@@ -5241,16 +5258,16 @@ var instagramDmSchema = import_zod.z.object({
|
|
|
5241
5258
|
senderGradientBottom: import_zod.z.string().optional().default("#5751f9").describe("Sender gradient bottom color"),
|
|
5242
5259
|
bubbleTextColor: import_zod.z.string().optional().default("#f9f9f9").describe("Bubble text color"),
|
|
5243
5260
|
// Message typography
|
|
5244
|
-
messageFontSize: import_zod.z.number().optional().default(
|
|
5261
|
+
messageFontSize: import_zod.z.number().optional().default(51).describe("Message font size"),
|
|
5245
5262
|
messageLineHeight: import_zod.z.number().optional().default(60).describe("Message line height"),
|
|
5246
5263
|
// Message padding
|
|
5247
|
-
messagePaddingLeft: import_zod.z.number().optional().default(
|
|
5248
|
-
messagePaddingRight: import_zod.z.number().optional().default(
|
|
5249
|
-
messagePaddingTop: import_zod.z.number().optional().default(
|
|
5250
|
-
messagePaddingBottom: import_zod.z.number().optional().default(
|
|
5264
|
+
messagePaddingLeft: import_zod.z.number().optional().default(37).describe("Message padding left"),
|
|
5265
|
+
messagePaddingRight: import_zod.z.number().optional().default(19).describe("Message padding right"),
|
|
5266
|
+
messagePaddingTop: import_zod.z.number().optional().default(27).describe("Message padding top"),
|
|
5267
|
+
messagePaddingBottom: import_zod.z.number().optional().default(33).describe("Message padding bottom"),
|
|
5251
5268
|
// Bubble corner radii
|
|
5252
|
-
bubbleRadiusNormal: import_zod.z.number().optional().default(
|
|
5253
|
-
bubbleRadiusGrouped: import_zod.z.number().optional().default(
|
|
5269
|
+
bubbleRadiusNormal: import_zod.z.number().optional().default(57).describe("Normal bubble corner radius"),
|
|
5270
|
+
bubbleRadiusGrouped: import_zod.z.number().optional().default(12).describe("Grouped bubble corner radius"),
|
|
5254
5271
|
// Message spacing
|
|
5255
5272
|
messageGapInGroup: import_zod.z.number().optional().default(6).describe("Gap between messages in group"),
|
|
5256
5273
|
messageGapSameUser: import_zod.z.number().optional().default(35).describe("Gap between messages from same user"),
|
package/dist/index.mjs
CHANGED
|
@@ -2597,20 +2597,20 @@ import { Img as Img5 } from "remotion";
|
|
|
2597
2597
|
import { Fragment as Fragment3, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2598
2598
|
var DEFAULTS2 = {
|
|
2599
2599
|
messageAreaTop: 353,
|
|
2600
|
-
messageAreaBottom:
|
|
2600
|
+
messageAreaBottom: 2340,
|
|
2601
2601
|
recipientBubbleColor: "#25282d",
|
|
2602
2602
|
senderGradientTop: "#b932d6",
|
|
2603
2603
|
senderGradientMiddle: "#7d38f6",
|
|
2604
2604
|
senderGradientBottom: "#5751f9",
|
|
2605
2605
|
bubbleTextColor: "#f9f9f9",
|
|
2606
|
-
messageFontSize:
|
|
2606
|
+
messageFontSize: 51,
|
|
2607
2607
|
messageLineHeight: 60,
|
|
2608
|
-
messagePaddingLeft:
|
|
2609
|
-
messagePaddingRight:
|
|
2610
|
-
messagePaddingTop:
|
|
2611
|
-
messagePaddingBottom:
|
|
2612
|
-
bubbleRadiusNormal:
|
|
2613
|
-
bubbleRadiusGrouped:
|
|
2608
|
+
messagePaddingLeft: 37,
|
|
2609
|
+
messagePaddingRight: 19,
|
|
2610
|
+
messagePaddingTop: 27,
|
|
2611
|
+
messagePaddingBottom: 33,
|
|
2612
|
+
bubbleRadiusNormal: 57,
|
|
2613
|
+
bubbleRadiusGrouped: 12,
|
|
2614
2614
|
messageGapInGroup: 6,
|
|
2615
2615
|
messageGapSameUser: 35,
|
|
2616
2616
|
messageGapDifferentUser: 161,
|
|
@@ -2927,22 +2927,39 @@ var defaultInstagramDmProps = {
|
|
|
2927
2927
|
homeIndicatorRight: 818,
|
|
2928
2928
|
homeIndicatorColor: "#ffffff",
|
|
2929
2929
|
// Message defaults
|
|
2930
|
-
messages: [
|
|
2931
|
-
|
|
2932
|
-
|
|
2930
|
+
messages: [
|
|
2931
|
+
{ id: "1", sender: "user", text: "color" },
|
|
2932
|
+
{ id: "2", sender: "user", text: "color", groupWithPrevious: true },
|
|
2933
|
+
{ id: "3", sender: "user", text: "color", groupWithPrevious: true },
|
|
2934
|
+
{ id: "4", sender: "user", text: "color", groupWithPrevious: true },
|
|
2935
|
+
{ id: "5", sender: "user", text: "color", groupWithPrevious: true },
|
|
2936
|
+
{ id: "6", sender: "user", text: "color", groupWithPrevious: true },
|
|
2937
|
+
{ id: "7", sender: "user", text: "color", groupWithPrevious: true },
|
|
2938
|
+
{ id: "8", sender: "user", text: "color", groupWithPrevious: true },
|
|
2939
|
+
{ id: "9", sender: "user", text: "color", groupWithPrevious: true },
|
|
2940
|
+
{ id: "10", sender: "user", text: "color", groupWithPrevious: true },
|
|
2941
|
+
{ id: "11", sender: "user", text: "color", groupWithPrevious: true },
|
|
2942
|
+
{ id: "12", sender: "user", text: "color", groupWithPrevious: true },
|
|
2943
|
+
{ id: "13", sender: "user", text: "color", groupWithPrevious: true },
|
|
2944
|
+
{ id: "14", sender: "user", text: "color", groupWithPrevious: true },
|
|
2945
|
+
{ id: "15", sender: "user", text: "color", groupWithPrevious: true },
|
|
2946
|
+
{ id: "16", sender: "user", text: "color", groupWithPrevious: true }
|
|
2947
|
+
],
|
|
2948
|
+
messageAreaTop: 353,
|
|
2949
|
+
messageAreaBottom: 2340,
|
|
2933
2950
|
recipientBubbleColor: DEFAULTS2.recipientBubbleColor,
|
|
2934
2951
|
senderGradientTop: DEFAULTS2.senderGradientTop,
|
|
2935
2952
|
senderGradientMiddle: DEFAULTS2.senderGradientMiddle,
|
|
2936
2953
|
senderGradientBottom: DEFAULTS2.senderGradientBottom,
|
|
2937
2954
|
bubbleTextColor: DEFAULTS2.bubbleTextColor,
|
|
2938
|
-
messageFontSize:
|
|
2955
|
+
messageFontSize: 51,
|
|
2939
2956
|
messageLineHeight: DEFAULTS2.messageLineHeight,
|
|
2940
|
-
messagePaddingLeft:
|
|
2941
|
-
messagePaddingRight:
|
|
2942
|
-
messagePaddingTop:
|
|
2943
|
-
messagePaddingBottom:
|
|
2944
|
-
bubbleRadiusNormal:
|
|
2945
|
-
bubbleRadiusGrouped:
|
|
2957
|
+
messagePaddingLeft: 37,
|
|
2958
|
+
messagePaddingRight: 19,
|
|
2959
|
+
messagePaddingTop: 27,
|
|
2960
|
+
messagePaddingBottom: 33,
|
|
2961
|
+
bubbleRadiusNormal: 57,
|
|
2962
|
+
bubbleRadiusGrouped: 12,
|
|
2946
2963
|
messageGapInGroup: DEFAULTS2.messageGapInGroup,
|
|
2947
2964
|
messageGapSameUser: DEFAULTS2.messageGapSameUser,
|
|
2948
2965
|
messageGapDifferentUser: DEFAULTS2.messageGapDifferentUser,
|
|
@@ -4019,7 +4036,7 @@ var instagramDmSchema = z.object({
|
|
|
4019
4036
|
})).optional().default([]).describe("Array of messages"),
|
|
4020
4037
|
// Message area bounds
|
|
4021
4038
|
messageAreaTop: z.number().optional().default(353).describe("Message area top Y (cutoff)"),
|
|
4022
|
-
messageAreaBottom: z.number().optional().default(
|
|
4039
|
+
messageAreaBottom: z.number().optional().default(2340).describe("Message area bottom Y (start)"),
|
|
4023
4040
|
// Message colors
|
|
4024
4041
|
recipientBubbleColor: z.string().optional().default("#25282d").describe("Recipient bubble color"),
|
|
4025
4042
|
senderGradientTop: z.string().optional().default("#b932d6").describe("Sender gradient top color"),
|
|
@@ -4027,16 +4044,16 @@ var instagramDmSchema = z.object({
|
|
|
4027
4044
|
senderGradientBottom: z.string().optional().default("#5751f9").describe("Sender gradient bottom color"),
|
|
4028
4045
|
bubbleTextColor: z.string().optional().default("#f9f9f9").describe("Bubble text color"),
|
|
4029
4046
|
// Message typography
|
|
4030
|
-
messageFontSize: z.number().optional().default(
|
|
4047
|
+
messageFontSize: z.number().optional().default(51).describe("Message font size"),
|
|
4031
4048
|
messageLineHeight: z.number().optional().default(60).describe("Message line height"),
|
|
4032
4049
|
// Message padding
|
|
4033
|
-
messagePaddingLeft: z.number().optional().default(
|
|
4034
|
-
messagePaddingRight: z.number().optional().default(
|
|
4035
|
-
messagePaddingTop: z.number().optional().default(
|
|
4036
|
-
messagePaddingBottom: z.number().optional().default(
|
|
4050
|
+
messagePaddingLeft: z.number().optional().default(37).describe("Message padding left"),
|
|
4051
|
+
messagePaddingRight: z.number().optional().default(19).describe("Message padding right"),
|
|
4052
|
+
messagePaddingTop: z.number().optional().default(27).describe("Message padding top"),
|
|
4053
|
+
messagePaddingBottom: z.number().optional().default(33).describe("Message padding bottom"),
|
|
4037
4054
|
// Bubble corner radii
|
|
4038
|
-
bubbleRadiusNormal: z.number().optional().default(
|
|
4039
|
-
bubbleRadiusGrouped: z.number().optional().default(
|
|
4055
|
+
bubbleRadiusNormal: z.number().optional().default(57).describe("Normal bubble corner radius"),
|
|
4056
|
+
bubbleRadiusGrouped: z.number().optional().default(12).describe("Grouped bubble corner radius"),
|
|
4040
4057
|
// Message spacing
|
|
4041
4058
|
messageGapInGroup: z.number().optional().default(6).describe("Gap between messages in group"),
|
|
4042
4059
|
messageGapSameUser: z.number().optional().default(35).describe("Gap between messages from same user"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc-render",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.99",
|
|
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",
|