ugcinc-render 1.8.146 → 1.8.148
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 +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +111 -1
- package/dist/index.mjs +111 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -998,6 +998,19 @@ interface IMessageDmCompositionProps {
|
|
|
998
998
|
headerTop?: number;
|
|
999
999
|
headerBottom?: number;
|
|
1000
1000
|
headerBackgroundColor?: string;
|
|
1001
|
+
profilePicUrl?: string;
|
|
1002
|
+
profilePicTop?: number;
|
|
1003
|
+
profilePicBottom?: number;
|
|
1004
|
+
profilePicLeft?: number;
|
|
1005
|
+
profilePicRight?: number;
|
|
1006
|
+
username?: string;
|
|
1007
|
+
usernameBottom?: number;
|
|
1008
|
+
usernameFontSize?: number;
|
|
1009
|
+
usernameLetterSpacing?: number;
|
|
1010
|
+
usernameColor?: string;
|
|
1011
|
+
usernameArrowGap?: number;
|
|
1012
|
+
usernameArrowWidth?: number;
|
|
1013
|
+
usernameArrowHeight?: number;
|
|
1001
1014
|
dividerLineY?: number;
|
|
1002
1015
|
dividerLineColor?: string;
|
|
1003
1016
|
backgroundColor?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -998,6 +998,19 @@ interface IMessageDmCompositionProps {
|
|
|
998
998
|
headerTop?: number;
|
|
999
999
|
headerBottom?: number;
|
|
1000
1000
|
headerBackgroundColor?: string;
|
|
1001
|
+
profilePicUrl?: string;
|
|
1002
|
+
profilePicTop?: number;
|
|
1003
|
+
profilePicBottom?: number;
|
|
1004
|
+
profilePicLeft?: number;
|
|
1005
|
+
profilePicRight?: number;
|
|
1006
|
+
username?: string;
|
|
1007
|
+
usernameBottom?: number;
|
|
1008
|
+
usernameFontSize?: number;
|
|
1009
|
+
usernameLetterSpacing?: number;
|
|
1010
|
+
usernameColor?: string;
|
|
1011
|
+
usernameArrowGap?: number;
|
|
1012
|
+
usernameArrowWidth?: number;
|
|
1013
|
+
usernameArrowHeight?: number;
|
|
1001
1014
|
dividerLineY?: number;
|
|
1002
1015
|
dividerLineColor?: string;
|
|
1003
1016
|
backgroundColor?: string;
|
package/dist/index.js
CHANGED
|
@@ -5366,7 +5366,8 @@ function convertPropsToElements2(props) {
|
|
|
5366
5366
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
5367
5367
|
var defaultIMessageDmProps = {
|
|
5368
5368
|
showDebugOverlay: true,
|
|
5369
|
-
|
|
5369
|
+
referenceImageUrl: "https://n14dcpakf8w1fekl.public.blob.vercel-storage.com/media/06c3ed1c-eefb-4a60-b0c4-5fb872811ba0/IMG_3189-hUoucNOmBoT8fihIL7ybuEXwoRrngz.png",
|
|
5370
|
+
showReferenceImage: true,
|
|
5370
5371
|
referenceOpacity: 50,
|
|
5371
5372
|
width: 1206,
|
|
5372
5373
|
height: 2622,
|
|
@@ -5376,6 +5377,20 @@ var defaultIMessageDmProps = {
|
|
|
5376
5377
|
headerTop: 0,
|
|
5377
5378
|
headerBottom: 424,
|
|
5378
5379
|
headerBackgroundColor: "#171717",
|
|
5380
|
+
// Profile section defaults
|
|
5381
|
+
profilePicUrl: "https://n14dcpakf8w1fekl.public.blob.vercel-storage.com/media/8ff1462b-13d7-4abe-9325-0a6ad19004f0/884a81ce74fa88e229f6be5f76f29385-3P4rjQqfbLidxtZ7OmvgaDQNMSSIGi.jpg",
|
|
5382
|
+
profilePicTop: 195,
|
|
5383
|
+
profilePicBottom: 345,
|
|
5384
|
+
profilePicLeft: 529,
|
|
5385
|
+
profilePicRight: 678,
|
|
5386
|
+
username: "cheatmate_io",
|
|
5387
|
+
usernameBottom: 393,
|
|
5388
|
+
usernameFontSize: 42,
|
|
5389
|
+
usernameLetterSpacing: 0,
|
|
5390
|
+
usernameColor: "#ffffff",
|
|
5391
|
+
usernameArrowGap: 12,
|
|
5392
|
+
usernameArrowWidth: 13,
|
|
5393
|
+
usernameArrowHeight: 23,
|
|
5379
5394
|
// Divider line defaults
|
|
5380
5395
|
dividerLineY: 425,
|
|
5381
5396
|
dividerLineColor: "#262626",
|
|
@@ -5485,6 +5500,20 @@ var IMessageDmComposition = (props) => {
|
|
|
5485
5500
|
backgroundColor = "#000000",
|
|
5486
5501
|
headerBackgroundColor = "#171717",
|
|
5487
5502
|
headerBottom = 424,
|
|
5503
|
+
// Profile section
|
|
5504
|
+
profilePicUrl,
|
|
5505
|
+
profilePicTop = 195,
|
|
5506
|
+
profilePicBottom = 345,
|
|
5507
|
+
profilePicLeft = 529,
|
|
5508
|
+
profilePicRight = 678,
|
|
5509
|
+
username = "cheatmate_io",
|
|
5510
|
+
usernameBottom = 393,
|
|
5511
|
+
usernameFontSize = 42,
|
|
5512
|
+
usernameLetterSpacing = 0,
|
|
5513
|
+
usernameColor = "#ffffff",
|
|
5514
|
+
usernameArrowGap = 12,
|
|
5515
|
+
usernameArrowWidth = 13,
|
|
5516
|
+
usernameArrowHeight = 23,
|
|
5488
5517
|
dividerLineY = 425,
|
|
5489
5518
|
dividerLineColor = "#262626",
|
|
5490
5519
|
showDebugOverlay = false,
|
|
@@ -5633,6 +5662,73 @@ var IMessageDmComposition = (props) => {
|
|
|
5633
5662
|
}
|
|
5634
5663
|
}
|
|
5635
5664
|
),
|
|
5665
|
+
profilePicUrl && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5666
|
+
import_remotion10.Img,
|
|
5667
|
+
{
|
|
5668
|
+
src: profilePicUrl,
|
|
5669
|
+
style: {
|
|
5670
|
+
position: "absolute",
|
|
5671
|
+
top: profilePicTop,
|
|
5672
|
+
left: profilePicLeft,
|
|
5673
|
+
width: profilePicRight - profilePicLeft,
|
|
5674
|
+
height: profilePicBottom - profilePicTop,
|
|
5675
|
+
borderRadius: "50%",
|
|
5676
|
+
objectFit: "cover",
|
|
5677
|
+
zIndex: 26
|
|
5678
|
+
}
|
|
5679
|
+
}
|
|
5680
|
+
),
|
|
5681
|
+
username && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5682
|
+
"div",
|
|
5683
|
+
{
|
|
5684
|
+
style: {
|
|
5685
|
+
position: "absolute",
|
|
5686
|
+
top: profilePicBottom,
|
|
5687
|
+
left: profilePicLeft,
|
|
5688
|
+
width: profilePicRight - profilePicLeft,
|
|
5689
|
+
height: usernameBottom - profilePicBottom,
|
|
5690
|
+
display: "flex",
|
|
5691
|
+
alignItems: "flex-end",
|
|
5692
|
+
justifyContent: "center",
|
|
5693
|
+
zIndex: 26
|
|
5694
|
+
},
|
|
5695
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
5696
|
+
"div",
|
|
5697
|
+
{
|
|
5698
|
+
style: {
|
|
5699
|
+
display: "flex",
|
|
5700
|
+
alignItems: "center",
|
|
5701
|
+
gap: usernameArrowGap
|
|
5702
|
+
},
|
|
5703
|
+
children: [
|
|
5704
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5705
|
+
"span",
|
|
5706
|
+
{
|
|
5707
|
+
style: {
|
|
5708
|
+
fontFamily: "SF Pro Display",
|
|
5709
|
+
fontWeight: 600,
|
|
5710
|
+
fontSize: usernameFontSize,
|
|
5711
|
+
letterSpacing: usernameLetterSpacing,
|
|
5712
|
+
color: usernameColor
|
|
5713
|
+
},
|
|
5714
|
+
children: username
|
|
5715
|
+
}
|
|
5716
|
+
),
|
|
5717
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5718
|
+
import_remotion10.Img,
|
|
5719
|
+
{
|
|
5720
|
+
src: (0, import_remotion10.staticFile)("ig-dm-right-arrow.png"),
|
|
5721
|
+
style: {
|
|
5722
|
+
width: usernameArrowWidth,
|
|
5723
|
+
height: usernameArrowHeight
|
|
5724
|
+
}
|
|
5725
|
+
}
|
|
5726
|
+
)
|
|
5727
|
+
]
|
|
5728
|
+
}
|
|
5729
|
+
)
|
|
5730
|
+
}
|
|
5731
|
+
),
|
|
5636
5732
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5637
5733
|
import_remotion10.Img,
|
|
5638
5734
|
{
|
|
@@ -6459,6 +6555,20 @@ var iMessageDmPropsSchema = import_zod.z.object({
|
|
|
6459
6555
|
headerTop: import_zod.z.number().optional(),
|
|
6460
6556
|
headerBottom: import_zod.z.number().optional(),
|
|
6461
6557
|
headerBackgroundColor: import_zod.z.string().optional(),
|
|
6558
|
+
// Header profile section
|
|
6559
|
+
profilePicUrl: import_zod.z.string().optional(),
|
|
6560
|
+
profilePicTop: import_zod.z.number().optional(),
|
|
6561
|
+
profilePicBottom: import_zod.z.number().optional(),
|
|
6562
|
+
profilePicLeft: import_zod.z.number().optional(),
|
|
6563
|
+
profilePicRight: import_zod.z.number().optional(),
|
|
6564
|
+
username: import_zod.z.string().optional(),
|
|
6565
|
+
usernameBottom: import_zod.z.number().optional(),
|
|
6566
|
+
usernameFontSize: import_zod.z.number().optional(),
|
|
6567
|
+
usernameLetterSpacing: import_zod.z.number().optional(),
|
|
6568
|
+
usernameColor: import_zod.z.string().optional(),
|
|
6569
|
+
usernameArrowGap: import_zod.z.number().optional(),
|
|
6570
|
+
usernameArrowWidth: import_zod.z.number().optional(),
|
|
6571
|
+
usernameArrowHeight: import_zod.z.number().optional(),
|
|
6462
6572
|
dividerLineY: import_zod.z.number().optional(),
|
|
6463
6573
|
dividerLineColor: import_zod.z.string().optional(),
|
|
6464
6574
|
backgroundColor: import_zod.z.string().optional(),
|
package/dist/index.mjs
CHANGED
|
@@ -4429,7 +4429,8 @@ function convertPropsToElements2(props) {
|
|
|
4429
4429
|
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
4430
4430
|
var defaultIMessageDmProps = {
|
|
4431
4431
|
showDebugOverlay: true,
|
|
4432
|
-
|
|
4432
|
+
referenceImageUrl: "https://n14dcpakf8w1fekl.public.blob.vercel-storage.com/media/06c3ed1c-eefb-4a60-b0c4-5fb872811ba0/IMG_3189-hUoucNOmBoT8fihIL7ybuEXwoRrngz.png",
|
|
4433
|
+
showReferenceImage: true,
|
|
4433
4434
|
referenceOpacity: 50,
|
|
4434
4435
|
width: 1206,
|
|
4435
4436
|
height: 2622,
|
|
@@ -4439,6 +4440,20 @@ var defaultIMessageDmProps = {
|
|
|
4439
4440
|
headerTop: 0,
|
|
4440
4441
|
headerBottom: 424,
|
|
4441
4442
|
headerBackgroundColor: "#171717",
|
|
4443
|
+
// Profile section defaults
|
|
4444
|
+
profilePicUrl: "https://n14dcpakf8w1fekl.public.blob.vercel-storage.com/media/8ff1462b-13d7-4abe-9325-0a6ad19004f0/884a81ce74fa88e229f6be5f76f29385-3P4rjQqfbLidxtZ7OmvgaDQNMSSIGi.jpg",
|
|
4445
|
+
profilePicTop: 195,
|
|
4446
|
+
profilePicBottom: 345,
|
|
4447
|
+
profilePicLeft: 529,
|
|
4448
|
+
profilePicRight: 678,
|
|
4449
|
+
username: "cheatmate_io",
|
|
4450
|
+
usernameBottom: 393,
|
|
4451
|
+
usernameFontSize: 42,
|
|
4452
|
+
usernameLetterSpacing: 0,
|
|
4453
|
+
usernameColor: "#ffffff",
|
|
4454
|
+
usernameArrowGap: 12,
|
|
4455
|
+
usernameArrowWidth: 13,
|
|
4456
|
+
usernameArrowHeight: 23,
|
|
4442
4457
|
// Divider line defaults
|
|
4443
4458
|
dividerLineY: 425,
|
|
4444
4459
|
dividerLineColor: "#262626",
|
|
@@ -4548,6 +4563,20 @@ var IMessageDmComposition = (props) => {
|
|
|
4548
4563
|
backgroundColor = "#000000",
|
|
4549
4564
|
headerBackgroundColor = "#171717",
|
|
4550
4565
|
headerBottom = 424,
|
|
4566
|
+
// Profile section
|
|
4567
|
+
profilePicUrl,
|
|
4568
|
+
profilePicTop = 195,
|
|
4569
|
+
profilePicBottom = 345,
|
|
4570
|
+
profilePicLeft = 529,
|
|
4571
|
+
profilePicRight = 678,
|
|
4572
|
+
username = "cheatmate_io",
|
|
4573
|
+
usernameBottom = 393,
|
|
4574
|
+
usernameFontSize = 42,
|
|
4575
|
+
usernameLetterSpacing = 0,
|
|
4576
|
+
usernameColor = "#ffffff",
|
|
4577
|
+
usernameArrowGap = 12,
|
|
4578
|
+
usernameArrowWidth = 13,
|
|
4579
|
+
usernameArrowHeight = 23,
|
|
4551
4580
|
dividerLineY = 425,
|
|
4552
4581
|
dividerLineColor = "#262626",
|
|
4553
4582
|
showDebugOverlay = false,
|
|
@@ -4696,6 +4725,73 @@ var IMessageDmComposition = (props) => {
|
|
|
4696
4725
|
}
|
|
4697
4726
|
}
|
|
4698
4727
|
),
|
|
4728
|
+
profilePicUrl && /* @__PURE__ */ jsx12(
|
|
4729
|
+
Img5,
|
|
4730
|
+
{
|
|
4731
|
+
src: profilePicUrl,
|
|
4732
|
+
style: {
|
|
4733
|
+
position: "absolute",
|
|
4734
|
+
top: profilePicTop,
|
|
4735
|
+
left: profilePicLeft,
|
|
4736
|
+
width: profilePicRight - profilePicLeft,
|
|
4737
|
+
height: profilePicBottom - profilePicTop,
|
|
4738
|
+
borderRadius: "50%",
|
|
4739
|
+
objectFit: "cover",
|
|
4740
|
+
zIndex: 26
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
),
|
|
4744
|
+
username && /* @__PURE__ */ jsx12(
|
|
4745
|
+
"div",
|
|
4746
|
+
{
|
|
4747
|
+
style: {
|
|
4748
|
+
position: "absolute",
|
|
4749
|
+
top: profilePicBottom,
|
|
4750
|
+
left: profilePicLeft,
|
|
4751
|
+
width: profilePicRight - profilePicLeft,
|
|
4752
|
+
height: usernameBottom - profilePicBottom,
|
|
4753
|
+
display: "flex",
|
|
4754
|
+
alignItems: "flex-end",
|
|
4755
|
+
justifyContent: "center",
|
|
4756
|
+
zIndex: 26
|
|
4757
|
+
},
|
|
4758
|
+
children: /* @__PURE__ */ jsxs10(
|
|
4759
|
+
"div",
|
|
4760
|
+
{
|
|
4761
|
+
style: {
|
|
4762
|
+
display: "flex",
|
|
4763
|
+
alignItems: "center",
|
|
4764
|
+
gap: usernameArrowGap
|
|
4765
|
+
},
|
|
4766
|
+
children: [
|
|
4767
|
+
/* @__PURE__ */ jsx12(
|
|
4768
|
+
"span",
|
|
4769
|
+
{
|
|
4770
|
+
style: {
|
|
4771
|
+
fontFamily: "SF Pro Display",
|
|
4772
|
+
fontWeight: 600,
|
|
4773
|
+
fontSize: usernameFontSize,
|
|
4774
|
+
letterSpacing: usernameLetterSpacing,
|
|
4775
|
+
color: usernameColor
|
|
4776
|
+
},
|
|
4777
|
+
children: username
|
|
4778
|
+
}
|
|
4779
|
+
),
|
|
4780
|
+
/* @__PURE__ */ jsx12(
|
|
4781
|
+
Img5,
|
|
4782
|
+
{
|
|
4783
|
+
src: staticFile3("ig-dm-right-arrow.png"),
|
|
4784
|
+
style: {
|
|
4785
|
+
width: usernameArrowWidth,
|
|
4786
|
+
height: usernameArrowHeight
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
)
|
|
4790
|
+
]
|
|
4791
|
+
}
|
|
4792
|
+
)
|
|
4793
|
+
}
|
|
4794
|
+
),
|
|
4699
4795
|
/* @__PURE__ */ jsx12(
|
|
4700
4796
|
Img5,
|
|
4701
4797
|
{
|
|
@@ -5239,6 +5335,20 @@ var iMessageDmPropsSchema = z.object({
|
|
|
5239
5335
|
headerTop: z.number().optional(),
|
|
5240
5336
|
headerBottom: z.number().optional(),
|
|
5241
5337
|
headerBackgroundColor: z.string().optional(),
|
|
5338
|
+
// Header profile section
|
|
5339
|
+
profilePicUrl: z.string().optional(),
|
|
5340
|
+
profilePicTop: z.number().optional(),
|
|
5341
|
+
profilePicBottom: z.number().optional(),
|
|
5342
|
+
profilePicLeft: z.number().optional(),
|
|
5343
|
+
profilePicRight: z.number().optional(),
|
|
5344
|
+
username: z.string().optional(),
|
|
5345
|
+
usernameBottom: z.number().optional(),
|
|
5346
|
+
usernameFontSize: z.number().optional(),
|
|
5347
|
+
usernameLetterSpacing: z.number().optional(),
|
|
5348
|
+
usernameColor: z.string().optional(),
|
|
5349
|
+
usernameArrowGap: z.number().optional(),
|
|
5350
|
+
usernameArrowWidth: z.number().optional(),
|
|
5351
|
+
usernameArrowHeight: z.number().optional(),
|
|
5242
5352
|
dividerLineY: z.number().optional(),
|
|
5243
5353
|
dividerLineColor: z.string().optional(),
|
|
5244
5354
|
backgroundColor: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc-render",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.148",
|
|
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",
|