ugcinc-render 1.8.50 → 1.8.51
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 +8 -8
- package/dist/index.mjs +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4341,8 +4341,8 @@ function IgMessageList({
|
|
|
4341
4341
|
// src/compositions/InstagramDmComposition/index.tsx
|
|
4342
4342
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4343
4343
|
var defaultInstagramDmProps = {
|
|
4344
|
-
width:
|
|
4345
|
-
height:
|
|
4344
|
+
width: 1206,
|
|
4345
|
+
height: 2622,
|
|
4346
4346
|
durationInFrames: 90,
|
|
4347
4347
|
fps: 30,
|
|
4348
4348
|
theme: "dark",
|
|
@@ -4371,8 +4371,8 @@ var defaultInstagramDmProps = {
|
|
|
4371
4371
|
}
|
|
4372
4372
|
};
|
|
4373
4373
|
function InstagramDmComposition({
|
|
4374
|
-
width =
|
|
4375
|
-
height =
|
|
4374
|
+
width = 1206,
|
|
4375
|
+
height = 2622,
|
|
4376
4376
|
theme,
|
|
4377
4377
|
statusBar,
|
|
4378
4378
|
user,
|
|
@@ -5034,8 +5034,8 @@ var readReceiptSchema = import_zod.z.object({
|
|
|
5034
5034
|
});
|
|
5035
5035
|
var instagramDmSchema = import_zod.z.object({
|
|
5036
5036
|
// Canvas
|
|
5037
|
-
width: import_zod.z.number().optional().default(
|
|
5038
|
-
height: import_zod.z.number().optional().default(
|
|
5037
|
+
width: import_zod.z.number().optional().default(1206).describe("Canvas width (px)"),
|
|
5038
|
+
height: import_zod.z.number().optional().default(2622).describe("Canvas height (px)"),
|
|
5039
5039
|
// Theme
|
|
5040
5040
|
theme: import_zod.z.enum(["light", "dark"]).describe("Color theme"),
|
|
5041
5041
|
// Status bar
|
|
@@ -5170,8 +5170,8 @@ var RenderRoot = () => {
|
|
|
5170
5170
|
schema: instagramDmSchema,
|
|
5171
5171
|
durationInFrames: 90,
|
|
5172
5172
|
fps: 30,
|
|
5173
|
-
width:
|
|
5174
|
-
height:
|
|
5173
|
+
width: 1206,
|
|
5174
|
+
height: 2622,
|
|
5175
5175
|
defaultProps: defaultInstagramDmProps
|
|
5176
5176
|
}
|
|
5177
5177
|
)
|
package/dist/index.mjs
CHANGED
|
@@ -3445,8 +3445,8 @@ function IgMessageList({
|
|
|
3445
3445
|
// src/compositions/InstagramDmComposition/index.tsx
|
|
3446
3446
|
import { jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3447
3447
|
var defaultInstagramDmProps = {
|
|
3448
|
-
width:
|
|
3449
|
-
height:
|
|
3448
|
+
width: 1206,
|
|
3449
|
+
height: 2622,
|
|
3450
3450
|
durationInFrames: 90,
|
|
3451
3451
|
fps: 30,
|
|
3452
3452
|
theme: "dark",
|
|
@@ -3475,8 +3475,8 @@ var defaultInstagramDmProps = {
|
|
|
3475
3475
|
}
|
|
3476
3476
|
};
|
|
3477
3477
|
function InstagramDmComposition({
|
|
3478
|
-
width =
|
|
3479
|
-
height =
|
|
3478
|
+
width = 1206,
|
|
3479
|
+
height = 2622,
|
|
3480
3480
|
theme,
|
|
3481
3481
|
statusBar,
|
|
3482
3482
|
user,
|
|
@@ -3855,8 +3855,8 @@ var readReceiptSchema = z.object({
|
|
|
3855
3855
|
});
|
|
3856
3856
|
var instagramDmSchema = z.object({
|
|
3857
3857
|
// Canvas
|
|
3858
|
-
width: z.number().optional().default(
|
|
3859
|
-
height: z.number().optional().default(
|
|
3858
|
+
width: z.number().optional().default(1206).describe("Canvas width (px)"),
|
|
3859
|
+
height: z.number().optional().default(2622).describe("Canvas height (px)"),
|
|
3860
3860
|
// Theme
|
|
3861
3861
|
theme: z.enum(["light", "dark"]).describe("Color theme"),
|
|
3862
3862
|
// Status bar
|
|
@@ -3991,8 +3991,8 @@ var RenderRoot = () => {
|
|
|
3991
3991
|
schema: instagramDmSchema,
|
|
3992
3992
|
durationInFrames: 90,
|
|
3993
3993
|
fps: 30,
|
|
3994
|
-
width:
|
|
3995
|
-
height:
|
|
3994
|
+
width: 1206,
|
|
3995
|
+
height: 2622,
|
|
3996
3996
|
defaultProps: defaultInstagramDmProps
|
|
3997
3997
|
}
|
|
3998
3998
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc-render",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.51",
|
|
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",
|