ugcinc-render 1.8.203 → 1.8.205
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 +2 -27
- package/dist/index.mjs +2 -27
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4028,31 +4028,6 @@ function generateHeaderElements(props) {
|
|
|
4028
4028
|
inputId: ICON_INPUT_IDS.battery,
|
|
4029
4029
|
fit: "fill"
|
|
4030
4030
|
});
|
|
4031
|
-
const time = props.time ?? HEADER_DEFAULTS.time;
|
|
4032
|
-
const timeRight = props.timeRight ?? HEADER_DEFAULTS.timeRight;
|
|
4033
|
-
const timeBottom = props.timeBottom ?? HEADER_DEFAULTS.timeBottom;
|
|
4034
|
-
const timeFontSize = props.timeFontSize ?? HEADER_DEFAULTS.timeFontSize;
|
|
4035
|
-
const timeLetterSpacing = props.timeLetterSpacing ?? HEADER_DEFAULTS.timeLetterSpacing;
|
|
4036
|
-
const timeColor = props.bubbleTextColor ?? MESSAGE_DEFAULTS.bubbleTextColor;
|
|
4037
|
-
const timeHeight = timeFontSize;
|
|
4038
|
-
const timeTop = timeBottom - timeHeight;
|
|
4039
|
-
elements.push({
|
|
4040
|
-
id: "status-time",
|
|
4041
|
-
type: "text",
|
|
4042
|
-
x: 0,
|
|
4043
|
-
y: timeTop,
|
|
4044
|
-
width: timeRight,
|
|
4045
|
-
height: timeHeight,
|
|
4046
|
-
zIndex: 30,
|
|
4047
|
-
text: time,
|
|
4048
|
-
font: "apple",
|
|
4049
|
-
fontSize: timeFontSize,
|
|
4050
|
-
fontWeight: "semibold",
|
|
4051
|
-
color: timeColor,
|
|
4052
|
-
letterSpacing: timeLetterSpacing,
|
|
4053
|
-
textAlign: "right",
|
|
4054
|
-
verticalAlign: "middle"
|
|
4055
|
-
});
|
|
4056
4031
|
const senderUsername = props.senderUsername ?? HEADER_DEFAULTS.senderUsername;
|
|
4057
4032
|
const usernameLeft = props.usernameLeft ?? HEADER_DEFAULTS.usernameLeft;
|
|
4058
4033
|
const username1Bottom = props.username1Bottom ?? HEADER_DEFAULTS.username1Bottom;
|
|
@@ -4812,9 +4787,9 @@ function convertPropsToElements(props) {
|
|
|
4812
4787
|
// src/compositions/InstagramDmComposition/index.tsx
|
|
4813
4788
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4814
4789
|
var defaultInstagramDmProps = {
|
|
4815
|
-
showDebugOverlay:
|
|
4790
|
+
showDebugOverlay: false,
|
|
4816
4791
|
referenceImageUrl: "https://n14dcpakf8w1fekl.public.blob.vercel-storage.com/media/8ff1462b-13d7-4abe-9325-0a6ad19004f0/IMG_3186-L1M2HgmhYFpnI5uKDrhcKYpRQSzwoz.png",
|
|
4817
|
-
showReferenceImage:
|
|
4792
|
+
showReferenceImage: false,
|
|
4818
4793
|
referenceOpacity: 50,
|
|
4819
4794
|
width: 1206,
|
|
4820
4795
|
height: 2622,
|
package/dist/index.mjs
CHANGED
|
@@ -3074,31 +3074,6 @@ function generateHeaderElements(props) {
|
|
|
3074
3074
|
inputId: ICON_INPUT_IDS.battery,
|
|
3075
3075
|
fit: "fill"
|
|
3076
3076
|
});
|
|
3077
|
-
const time = props.time ?? HEADER_DEFAULTS.time;
|
|
3078
|
-
const timeRight = props.timeRight ?? HEADER_DEFAULTS.timeRight;
|
|
3079
|
-
const timeBottom = props.timeBottom ?? HEADER_DEFAULTS.timeBottom;
|
|
3080
|
-
const timeFontSize = props.timeFontSize ?? HEADER_DEFAULTS.timeFontSize;
|
|
3081
|
-
const timeLetterSpacing = props.timeLetterSpacing ?? HEADER_DEFAULTS.timeLetterSpacing;
|
|
3082
|
-
const timeColor = props.bubbleTextColor ?? MESSAGE_DEFAULTS.bubbleTextColor;
|
|
3083
|
-
const timeHeight = timeFontSize;
|
|
3084
|
-
const timeTop = timeBottom - timeHeight;
|
|
3085
|
-
elements.push({
|
|
3086
|
-
id: "status-time",
|
|
3087
|
-
type: "text",
|
|
3088
|
-
x: 0,
|
|
3089
|
-
y: timeTop,
|
|
3090
|
-
width: timeRight,
|
|
3091
|
-
height: timeHeight,
|
|
3092
|
-
zIndex: 30,
|
|
3093
|
-
text: time,
|
|
3094
|
-
font: "apple",
|
|
3095
|
-
fontSize: timeFontSize,
|
|
3096
|
-
fontWeight: "semibold",
|
|
3097
|
-
color: timeColor,
|
|
3098
|
-
letterSpacing: timeLetterSpacing,
|
|
3099
|
-
textAlign: "right",
|
|
3100
|
-
verticalAlign: "middle"
|
|
3101
|
-
});
|
|
3102
3077
|
const senderUsername = props.senderUsername ?? HEADER_DEFAULTS.senderUsername;
|
|
3103
3078
|
const usernameLeft = props.usernameLeft ?? HEADER_DEFAULTS.usernameLeft;
|
|
3104
3079
|
const username1Bottom = props.username1Bottom ?? HEADER_DEFAULTS.username1Bottom;
|
|
@@ -3858,9 +3833,9 @@ function convertPropsToElements(props) {
|
|
|
3858
3833
|
// src/compositions/InstagramDmComposition/index.tsx
|
|
3859
3834
|
import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
3860
3835
|
var defaultInstagramDmProps = {
|
|
3861
|
-
showDebugOverlay:
|
|
3836
|
+
showDebugOverlay: false,
|
|
3862
3837
|
referenceImageUrl: "https://n14dcpakf8w1fekl.public.blob.vercel-storage.com/media/8ff1462b-13d7-4abe-9325-0a6ad19004f0/IMG_3186-L1M2HgmhYFpnI5uKDrhcKYpRQSzwoz.png",
|
|
3863
|
-
showReferenceImage:
|
|
3838
|
+
showReferenceImage: false,
|
|
3864
3839
|
referenceOpacity: 50,
|
|
3865
3840
|
width: 1206,
|
|
3866
3841
|
height: 2622,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc-render",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.205",
|
|
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",
|