ugcinc-render 1.8.98 → 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 +25 -25
- package/dist/index.mjs +25 -25
- 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,
|
|
@@ -3876,21 +3876,21 @@ var defaultInstagramDmProps = {
|
|
|
3876
3876
|
{ id: "15", sender: "user", text: "color", groupWithPrevious: true },
|
|
3877
3877
|
{ id: "16", sender: "user", text: "color", groupWithPrevious: true }
|
|
3878
3878
|
],
|
|
3879
|
-
messageAreaTop:
|
|
3880
|
-
messageAreaBottom:
|
|
3879
|
+
messageAreaTop: 353,
|
|
3880
|
+
messageAreaBottom: 2340,
|
|
3881
3881
|
recipientBubbleColor: DEFAULTS2.recipientBubbleColor,
|
|
3882
3882
|
senderGradientTop: DEFAULTS2.senderGradientTop,
|
|
3883
3883
|
senderGradientMiddle: DEFAULTS2.senderGradientMiddle,
|
|
3884
3884
|
senderGradientBottom: DEFAULTS2.senderGradientBottom,
|
|
3885
3885
|
bubbleTextColor: DEFAULTS2.bubbleTextColor,
|
|
3886
|
-
messageFontSize:
|
|
3886
|
+
messageFontSize: 51,
|
|
3887
3887
|
messageLineHeight: DEFAULTS2.messageLineHeight,
|
|
3888
|
-
messagePaddingLeft:
|
|
3889
|
-
messagePaddingRight:
|
|
3890
|
-
messagePaddingTop:
|
|
3891
|
-
messagePaddingBottom:
|
|
3892
|
-
bubbleRadiusNormal:
|
|
3893
|
-
bubbleRadiusGrouped:
|
|
3888
|
+
messagePaddingLeft: 37,
|
|
3889
|
+
messagePaddingRight: 19,
|
|
3890
|
+
messagePaddingTop: 27,
|
|
3891
|
+
messagePaddingBottom: 33,
|
|
3892
|
+
bubbleRadiusNormal: 57,
|
|
3893
|
+
bubbleRadiusGrouped: 12,
|
|
3894
3894
|
messageGapInGroup: DEFAULTS2.messageGapInGroup,
|
|
3895
3895
|
messageGapSameUser: DEFAULTS2.messageGapSameUser,
|
|
3896
3896
|
messageGapDifferentUser: DEFAULTS2.messageGapDifferentUser,
|
|
@@ -5250,7 +5250,7 @@ var instagramDmSchema = import_zod.z.object({
|
|
|
5250
5250
|
})).optional().default([]).describe("Array of messages"),
|
|
5251
5251
|
// Message area bounds
|
|
5252
5252
|
messageAreaTop: import_zod.z.number().optional().default(353).describe("Message area top Y (cutoff)"),
|
|
5253
|
-
messageAreaBottom: import_zod.z.number().optional().default(
|
|
5253
|
+
messageAreaBottom: import_zod.z.number().optional().default(2340).describe("Message area bottom Y (start)"),
|
|
5254
5254
|
// Message colors
|
|
5255
5255
|
recipientBubbleColor: import_zod.z.string().optional().default("#25282d").describe("Recipient bubble color"),
|
|
5256
5256
|
senderGradientTop: import_zod.z.string().optional().default("#b932d6").describe("Sender gradient top color"),
|
|
@@ -5258,16 +5258,16 @@ var instagramDmSchema = import_zod.z.object({
|
|
|
5258
5258
|
senderGradientBottom: import_zod.z.string().optional().default("#5751f9").describe("Sender gradient bottom color"),
|
|
5259
5259
|
bubbleTextColor: import_zod.z.string().optional().default("#f9f9f9").describe("Bubble text color"),
|
|
5260
5260
|
// Message typography
|
|
5261
|
-
messageFontSize: import_zod.z.number().optional().default(
|
|
5261
|
+
messageFontSize: import_zod.z.number().optional().default(51).describe("Message font size"),
|
|
5262
5262
|
messageLineHeight: import_zod.z.number().optional().default(60).describe("Message line height"),
|
|
5263
5263
|
// Message padding
|
|
5264
|
-
messagePaddingLeft: import_zod.z.number().optional().default(
|
|
5265
|
-
messagePaddingRight: import_zod.z.number().optional().default(
|
|
5266
|
-
messagePaddingTop: import_zod.z.number().optional().default(
|
|
5267
|
-
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"),
|
|
5268
5268
|
// Bubble corner radii
|
|
5269
|
-
bubbleRadiusNormal: import_zod.z.number().optional().default(
|
|
5270
|
-
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"),
|
|
5271
5271
|
// Message spacing
|
|
5272
5272
|
messageGapInGroup: import_zod.z.number().optional().default(6).describe("Gap between messages in group"),
|
|
5273
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,
|
|
@@ -2945,21 +2945,21 @@ var defaultInstagramDmProps = {
|
|
|
2945
2945
|
{ id: "15", sender: "user", text: "color", groupWithPrevious: true },
|
|
2946
2946
|
{ id: "16", sender: "user", text: "color", groupWithPrevious: true }
|
|
2947
2947
|
],
|
|
2948
|
-
messageAreaTop:
|
|
2949
|
-
messageAreaBottom:
|
|
2948
|
+
messageAreaTop: 353,
|
|
2949
|
+
messageAreaBottom: 2340,
|
|
2950
2950
|
recipientBubbleColor: DEFAULTS2.recipientBubbleColor,
|
|
2951
2951
|
senderGradientTop: DEFAULTS2.senderGradientTop,
|
|
2952
2952
|
senderGradientMiddle: DEFAULTS2.senderGradientMiddle,
|
|
2953
2953
|
senderGradientBottom: DEFAULTS2.senderGradientBottom,
|
|
2954
2954
|
bubbleTextColor: DEFAULTS2.bubbleTextColor,
|
|
2955
|
-
messageFontSize:
|
|
2955
|
+
messageFontSize: 51,
|
|
2956
2956
|
messageLineHeight: DEFAULTS2.messageLineHeight,
|
|
2957
|
-
messagePaddingLeft:
|
|
2958
|
-
messagePaddingRight:
|
|
2959
|
-
messagePaddingTop:
|
|
2960
|
-
messagePaddingBottom:
|
|
2961
|
-
bubbleRadiusNormal:
|
|
2962
|
-
bubbleRadiusGrouped:
|
|
2957
|
+
messagePaddingLeft: 37,
|
|
2958
|
+
messagePaddingRight: 19,
|
|
2959
|
+
messagePaddingTop: 27,
|
|
2960
|
+
messagePaddingBottom: 33,
|
|
2961
|
+
bubbleRadiusNormal: 57,
|
|
2962
|
+
bubbleRadiusGrouped: 12,
|
|
2963
2963
|
messageGapInGroup: DEFAULTS2.messageGapInGroup,
|
|
2964
2964
|
messageGapSameUser: DEFAULTS2.messageGapSameUser,
|
|
2965
2965
|
messageGapDifferentUser: DEFAULTS2.messageGapDifferentUser,
|
|
@@ -4036,7 +4036,7 @@ var instagramDmSchema = z.object({
|
|
|
4036
4036
|
})).optional().default([]).describe("Array of messages"),
|
|
4037
4037
|
// Message area bounds
|
|
4038
4038
|
messageAreaTop: z.number().optional().default(353).describe("Message area top Y (cutoff)"),
|
|
4039
|
-
messageAreaBottom: z.number().optional().default(
|
|
4039
|
+
messageAreaBottom: z.number().optional().default(2340).describe("Message area bottom Y (start)"),
|
|
4040
4040
|
// Message colors
|
|
4041
4041
|
recipientBubbleColor: z.string().optional().default("#25282d").describe("Recipient bubble color"),
|
|
4042
4042
|
senderGradientTop: z.string().optional().default("#b932d6").describe("Sender gradient top color"),
|
|
@@ -4044,16 +4044,16 @@ var instagramDmSchema = z.object({
|
|
|
4044
4044
|
senderGradientBottom: z.string().optional().default("#5751f9").describe("Sender gradient bottom color"),
|
|
4045
4045
|
bubbleTextColor: z.string().optional().default("#f9f9f9").describe("Bubble text color"),
|
|
4046
4046
|
// Message typography
|
|
4047
|
-
messageFontSize: z.number().optional().default(
|
|
4047
|
+
messageFontSize: z.number().optional().default(51).describe("Message font size"),
|
|
4048
4048
|
messageLineHeight: z.number().optional().default(60).describe("Message line height"),
|
|
4049
4049
|
// Message padding
|
|
4050
|
-
messagePaddingLeft: z.number().optional().default(
|
|
4051
|
-
messagePaddingRight: z.number().optional().default(
|
|
4052
|
-
messagePaddingTop: z.number().optional().default(
|
|
4053
|
-
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"),
|
|
4054
4054
|
// Bubble corner radii
|
|
4055
|
-
bubbleRadiusNormal: z.number().optional().default(
|
|
4056
|
-
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"),
|
|
4057
4057
|
// Message spacing
|
|
4058
4058
|
messageGapInGroup: z.number().optional().default(6).describe("Gap between messages in group"),
|
|
4059
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",
|