ugcinc-render 1.8.204 → 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 +0 -25
- package/dist/index.mjs +0 -25
- 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;
|
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;
|
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",
|