ugcinc-render 1.8.154 → 1.8.156
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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +52 -52
- package/dist/index.mjs +52 -52
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1004,7 +1004,10 @@ interface IMessageDmCompositionProps {
|
|
|
1004
1004
|
profilePicLeft?: number;
|
|
1005
1005
|
profilePicRight?: number;
|
|
1006
1006
|
username?: string;
|
|
1007
|
+
usernameTop?: number;
|
|
1007
1008
|
usernameBottom?: number;
|
|
1009
|
+
usernameLeft?: number;
|
|
1010
|
+
usernameRight?: number;
|
|
1008
1011
|
usernameFontSize?: number;
|
|
1009
1012
|
usernameLetterSpacing?: number;
|
|
1010
1013
|
usernameColor?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1004,7 +1004,10 @@ interface IMessageDmCompositionProps {
|
|
|
1004
1004
|
profilePicLeft?: number;
|
|
1005
1005
|
profilePicRight?: number;
|
|
1006
1006
|
username?: string;
|
|
1007
|
+
usernameTop?: number;
|
|
1007
1008
|
usernameBottom?: number;
|
|
1009
|
+
usernameLeft?: number;
|
|
1010
|
+
usernameRight?: number;
|
|
1008
1011
|
usernameFontSize?: number;
|
|
1009
1012
|
usernameLetterSpacing?: number;
|
|
1010
1013
|
usernameColor?: string;
|
package/dist/index.js
CHANGED
|
@@ -5384,14 +5384,17 @@ var defaultIMessageDmProps = {
|
|
|
5384
5384
|
profilePicLeft: 528,
|
|
5385
5385
|
profilePicRight: 680,
|
|
5386
5386
|
username: "aidan gollan",
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5387
|
+
usernameTop: 355,
|
|
5388
|
+
usernameBottom: 404,
|
|
5389
|
+
usernameLeft: 429,
|
|
5390
|
+
usernameRight: 752,
|
|
5391
|
+
usernameFontSize: 36,
|
|
5392
|
+
usernameLetterSpacing: 0.8,
|
|
5390
5393
|
usernameColor: "#ffffff",
|
|
5391
|
-
usernameArrowOffsetX:
|
|
5392
|
-
usernameArrowOffsetY:
|
|
5393
|
-
usernameArrowWidth:
|
|
5394
|
-
usernameArrowHeight:
|
|
5394
|
+
usernameArrowOffsetX: -57,
|
|
5395
|
+
usernameArrowOffsetY: 2,
|
|
5396
|
+
usernameArrowWidth: 14,
|
|
5397
|
+
usernameArrowHeight: 24,
|
|
5395
5398
|
// Divider line defaults
|
|
5396
5399
|
dividerLineY: 425,
|
|
5397
5400
|
dividerLineColor: "#262626",
|
|
@@ -5507,15 +5510,18 @@ var IMessageDmComposition = (props) => {
|
|
|
5507
5510
|
profilePicBottom = 347,
|
|
5508
5511
|
profilePicLeft = 528,
|
|
5509
5512
|
profilePicRight = 680,
|
|
5510
|
-
username = "
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5513
|
+
username = "aidan gollan",
|
|
5514
|
+
usernameTop = 355,
|
|
5515
|
+
usernameBottom = 404,
|
|
5516
|
+
usernameLeft = 429,
|
|
5517
|
+
usernameRight = 752,
|
|
5518
|
+
usernameFontSize = 36,
|
|
5519
|
+
usernameLetterSpacing = 0.8,
|
|
5514
5520
|
usernameColor = "#ffffff",
|
|
5515
|
-
usernameArrowOffsetX =
|
|
5516
|
-
usernameArrowOffsetY =
|
|
5517
|
-
usernameArrowWidth =
|
|
5518
|
-
usernameArrowHeight =
|
|
5521
|
+
usernameArrowOffsetX = -57,
|
|
5522
|
+
usernameArrowOffsetY = 2,
|
|
5523
|
+
usernameArrowWidth = 14,
|
|
5524
|
+
usernameArrowHeight = 24,
|
|
5519
5525
|
dividerLineY = 425,
|
|
5520
5526
|
dividerLineColor = "#262626",
|
|
5521
5527
|
showDebugOverlay = false,
|
|
@@ -5685,54 +5691,45 @@ var IMessageDmComposition = (props) => {
|
|
|
5685
5691
|
{
|
|
5686
5692
|
style: {
|
|
5687
5693
|
position: "absolute",
|
|
5688
|
-
top:
|
|
5689
|
-
left:
|
|
5690
|
-
width:
|
|
5691
|
-
height: usernameBottom -
|
|
5694
|
+
top: usernameTop,
|
|
5695
|
+
left: usernameLeft,
|
|
5696
|
+
width: usernameRight - usernameLeft,
|
|
5697
|
+
height: usernameBottom - usernameTop,
|
|
5692
5698
|
display: "flex",
|
|
5693
|
-
alignItems: "
|
|
5699
|
+
alignItems: "center",
|
|
5694
5700
|
justifyContent: "center",
|
|
5695
5701
|
zIndex: 26
|
|
5696
5702
|
},
|
|
5697
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime12.
|
|
5698
|
-
"
|
|
5703
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5704
|
+
"span",
|
|
5699
5705
|
{
|
|
5700
5706
|
style: {
|
|
5701
|
-
|
|
5702
|
-
|
|
5707
|
+
fontFamily: "SF Pro Display",
|
|
5708
|
+
fontWeight: 400,
|
|
5709
|
+
fontSize: usernameFontSize,
|
|
5710
|
+
letterSpacing: usernameLetterSpacing,
|
|
5711
|
+
color: usernameColor,
|
|
5712
|
+
whiteSpace: "nowrap"
|
|
5703
5713
|
},
|
|
5704
|
-
children:
|
|
5705
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5706
|
-
"span",
|
|
5707
|
-
{
|
|
5708
|
-
style: {
|
|
5709
|
-
fontFamily: "SF Pro Display",
|
|
5710
|
-
fontWeight: 400,
|
|
5711
|
-
fontSize: usernameFontSize,
|
|
5712
|
-
letterSpacing: usernameLetterSpacing,
|
|
5713
|
-
color: usernameColor,
|
|
5714
|
-
whiteSpace: "nowrap"
|
|
5715
|
-
},
|
|
5716
|
-
children: username
|
|
5717
|
-
}
|
|
5718
|
-
),
|
|
5719
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5720
|
-
import_remotion10.Img,
|
|
5721
|
-
{
|
|
5722
|
-
src: (0, import_remotion10.staticFile)("imsg-name-right-arrow.png"),
|
|
5723
|
-
style: {
|
|
5724
|
-
width: usernameArrowWidth,
|
|
5725
|
-
height: usernameArrowHeight,
|
|
5726
|
-
marginLeft: usernameArrowOffsetX,
|
|
5727
|
-
marginTop: usernameArrowOffsetY
|
|
5728
|
-
}
|
|
5729
|
-
}
|
|
5730
|
-
)
|
|
5731
|
-
]
|
|
5714
|
+
children: username
|
|
5732
5715
|
}
|
|
5733
5716
|
)
|
|
5734
5717
|
}
|
|
5735
5718
|
),
|
|
5719
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5720
|
+
import_remotion10.Img,
|
|
5721
|
+
{
|
|
5722
|
+
src: (0, import_remotion10.staticFile)("imsg-name-right-arrow.png"),
|
|
5723
|
+
style: {
|
|
5724
|
+
position: "absolute",
|
|
5725
|
+
top: usernameTop + (usernameBottom - usernameTop) / 2 - usernameArrowHeight / 2 + usernameArrowOffsetY,
|
|
5726
|
+
left: usernameRight + usernameArrowOffsetX,
|
|
5727
|
+
width: usernameArrowWidth,
|
|
5728
|
+
height: usernameArrowHeight,
|
|
5729
|
+
zIndex: 26
|
|
5730
|
+
}
|
|
5731
|
+
}
|
|
5732
|
+
),
|
|
5736
5733
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5737
5734
|
import_remotion10.Img,
|
|
5738
5735
|
{
|
|
@@ -6566,7 +6563,10 @@ var iMessageDmPropsSchema = import_zod.z.object({
|
|
|
6566
6563
|
profilePicLeft: import_zod.z.number().optional(),
|
|
6567
6564
|
profilePicRight: import_zod.z.number().optional(),
|
|
6568
6565
|
username: import_zod.z.string().optional(),
|
|
6566
|
+
usernameTop: import_zod.z.number().optional(),
|
|
6569
6567
|
usernameBottom: import_zod.z.number().optional(),
|
|
6568
|
+
usernameLeft: import_zod.z.number().optional(),
|
|
6569
|
+
usernameRight: import_zod.z.number().optional(),
|
|
6570
6570
|
usernameFontSize: import_zod.z.number().optional(),
|
|
6571
6571
|
usernameLetterSpacing: import_zod.z.number().optional(),
|
|
6572
6572
|
usernameColor: import_zod.z.string().optional(),
|
package/dist/index.mjs
CHANGED
|
@@ -4447,14 +4447,17 @@ var defaultIMessageDmProps = {
|
|
|
4447
4447
|
profilePicLeft: 528,
|
|
4448
4448
|
profilePicRight: 680,
|
|
4449
4449
|
username: "aidan gollan",
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4450
|
+
usernameTop: 355,
|
|
4451
|
+
usernameBottom: 404,
|
|
4452
|
+
usernameLeft: 429,
|
|
4453
|
+
usernameRight: 752,
|
|
4454
|
+
usernameFontSize: 36,
|
|
4455
|
+
usernameLetterSpacing: 0.8,
|
|
4453
4456
|
usernameColor: "#ffffff",
|
|
4454
|
-
usernameArrowOffsetX:
|
|
4455
|
-
usernameArrowOffsetY:
|
|
4456
|
-
usernameArrowWidth:
|
|
4457
|
-
usernameArrowHeight:
|
|
4457
|
+
usernameArrowOffsetX: -57,
|
|
4458
|
+
usernameArrowOffsetY: 2,
|
|
4459
|
+
usernameArrowWidth: 14,
|
|
4460
|
+
usernameArrowHeight: 24,
|
|
4458
4461
|
// Divider line defaults
|
|
4459
4462
|
dividerLineY: 425,
|
|
4460
4463
|
dividerLineColor: "#262626",
|
|
@@ -4570,15 +4573,18 @@ var IMessageDmComposition = (props) => {
|
|
|
4570
4573
|
profilePicBottom = 347,
|
|
4571
4574
|
profilePicLeft = 528,
|
|
4572
4575
|
profilePicRight = 680,
|
|
4573
|
-
username = "
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4576
|
+
username = "aidan gollan",
|
|
4577
|
+
usernameTop = 355,
|
|
4578
|
+
usernameBottom = 404,
|
|
4579
|
+
usernameLeft = 429,
|
|
4580
|
+
usernameRight = 752,
|
|
4581
|
+
usernameFontSize = 36,
|
|
4582
|
+
usernameLetterSpacing = 0.8,
|
|
4577
4583
|
usernameColor = "#ffffff",
|
|
4578
|
-
usernameArrowOffsetX =
|
|
4579
|
-
usernameArrowOffsetY =
|
|
4580
|
-
usernameArrowWidth =
|
|
4581
|
-
usernameArrowHeight =
|
|
4584
|
+
usernameArrowOffsetX = -57,
|
|
4585
|
+
usernameArrowOffsetY = 2,
|
|
4586
|
+
usernameArrowWidth = 14,
|
|
4587
|
+
usernameArrowHeight = 24,
|
|
4582
4588
|
dividerLineY = 425,
|
|
4583
4589
|
dividerLineColor = "#262626",
|
|
4584
4590
|
showDebugOverlay = false,
|
|
@@ -4748,54 +4754,45 @@ var IMessageDmComposition = (props) => {
|
|
|
4748
4754
|
{
|
|
4749
4755
|
style: {
|
|
4750
4756
|
position: "absolute",
|
|
4751
|
-
top:
|
|
4752
|
-
left:
|
|
4753
|
-
width:
|
|
4754
|
-
height: usernameBottom -
|
|
4757
|
+
top: usernameTop,
|
|
4758
|
+
left: usernameLeft,
|
|
4759
|
+
width: usernameRight - usernameLeft,
|
|
4760
|
+
height: usernameBottom - usernameTop,
|
|
4755
4761
|
display: "flex",
|
|
4756
|
-
alignItems: "
|
|
4762
|
+
alignItems: "center",
|
|
4757
4763
|
justifyContent: "center",
|
|
4758
4764
|
zIndex: 26
|
|
4759
4765
|
},
|
|
4760
|
-
children: /* @__PURE__ */
|
|
4761
|
-
"
|
|
4766
|
+
children: /* @__PURE__ */ jsx12(
|
|
4767
|
+
"span",
|
|
4762
4768
|
{
|
|
4763
4769
|
style: {
|
|
4764
|
-
|
|
4765
|
-
|
|
4770
|
+
fontFamily: "SF Pro Display",
|
|
4771
|
+
fontWeight: 400,
|
|
4772
|
+
fontSize: usernameFontSize,
|
|
4773
|
+
letterSpacing: usernameLetterSpacing,
|
|
4774
|
+
color: usernameColor,
|
|
4775
|
+
whiteSpace: "nowrap"
|
|
4766
4776
|
},
|
|
4767
|
-
children:
|
|
4768
|
-
/* @__PURE__ */ jsx12(
|
|
4769
|
-
"span",
|
|
4770
|
-
{
|
|
4771
|
-
style: {
|
|
4772
|
-
fontFamily: "SF Pro Display",
|
|
4773
|
-
fontWeight: 400,
|
|
4774
|
-
fontSize: usernameFontSize,
|
|
4775
|
-
letterSpacing: usernameLetterSpacing,
|
|
4776
|
-
color: usernameColor,
|
|
4777
|
-
whiteSpace: "nowrap"
|
|
4778
|
-
},
|
|
4779
|
-
children: username
|
|
4780
|
-
}
|
|
4781
|
-
),
|
|
4782
|
-
/* @__PURE__ */ jsx12(
|
|
4783
|
-
Img5,
|
|
4784
|
-
{
|
|
4785
|
-
src: staticFile3("imsg-name-right-arrow.png"),
|
|
4786
|
-
style: {
|
|
4787
|
-
width: usernameArrowWidth,
|
|
4788
|
-
height: usernameArrowHeight,
|
|
4789
|
-
marginLeft: usernameArrowOffsetX,
|
|
4790
|
-
marginTop: usernameArrowOffsetY
|
|
4791
|
-
}
|
|
4792
|
-
}
|
|
4793
|
-
)
|
|
4794
|
-
]
|
|
4777
|
+
children: username
|
|
4795
4778
|
}
|
|
4796
4779
|
)
|
|
4797
4780
|
}
|
|
4798
4781
|
),
|
|
4782
|
+
/* @__PURE__ */ jsx12(
|
|
4783
|
+
Img5,
|
|
4784
|
+
{
|
|
4785
|
+
src: staticFile3("imsg-name-right-arrow.png"),
|
|
4786
|
+
style: {
|
|
4787
|
+
position: "absolute",
|
|
4788
|
+
top: usernameTop + (usernameBottom - usernameTop) / 2 - usernameArrowHeight / 2 + usernameArrowOffsetY,
|
|
4789
|
+
left: usernameRight + usernameArrowOffsetX,
|
|
4790
|
+
width: usernameArrowWidth,
|
|
4791
|
+
height: usernameArrowHeight,
|
|
4792
|
+
zIndex: 26
|
|
4793
|
+
}
|
|
4794
|
+
}
|
|
4795
|
+
),
|
|
4799
4796
|
/* @__PURE__ */ jsx12(
|
|
4800
4797
|
Img5,
|
|
4801
4798
|
{
|
|
@@ -5346,7 +5343,10 @@ var iMessageDmPropsSchema = z.object({
|
|
|
5346
5343
|
profilePicLeft: z.number().optional(),
|
|
5347
5344
|
profilePicRight: z.number().optional(),
|
|
5348
5345
|
username: z.string().optional(),
|
|
5346
|
+
usernameTop: z.number().optional(),
|
|
5349
5347
|
usernameBottom: z.number().optional(),
|
|
5348
|
+
usernameLeft: z.number().optional(),
|
|
5349
|
+
usernameRight: z.number().optional(),
|
|
5350
5350
|
usernameFontSize: z.number().optional(),
|
|
5351
5351
|
usernameLetterSpacing: z.number().optional(),
|
|
5352
5352
|
usernameColor: 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.156",
|
|
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",
|