ugcinc-render 1.8.145 → 1.8.146
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 +114 -22
- package/dist/index.d.ts +114 -22
- package/dist/index.js +450 -270
- package/dist/index.mjs +455 -275
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -998,22 +998,36 @@ interface IMessageDmCompositionProps {
|
|
|
998
998
|
headerTop?: number;
|
|
999
999
|
headerBottom?: number;
|
|
1000
1000
|
headerBackgroundColor?: string;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1001
|
+
dividerLineY?: number;
|
|
1002
|
+
dividerLineColor?: string;
|
|
1003
|
+
backgroundColor?: string;
|
|
1004
|
+
time?: string;
|
|
1004
1005
|
timeRight?: number;
|
|
1006
|
+
timeBottom?: number;
|
|
1005
1007
|
timeFontSize?: number;
|
|
1006
1008
|
timeLetterSpacing?: number;
|
|
1007
1009
|
timeColor?: string;
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1010
|
+
noNotisTop?: number;
|
|
1011
|
+
noNotisBottom?: number;
|
|
1012
|
+
noNotisLeft?: number;
|
|
1013
|
+
noNotisRight?: number;
|
|
1014
|
+
cellLevel?: number;
|
|
1015
|
+
cell1Top?: number;
|
|
1016
|
+
cell1Bottom?: number;
|
|
1017
|
+
cell1Left?: number;
|
|
1018
|
+
cell1Right?: number;
|
|
1019
|
+
cell2Top?: number;
|
|
1020
|
+
cell2Bottom?: number;
|
|
1021
|
+
cell2Left?: number;
|
|
1022
|
+
cell2Right?: number;
|
|
1023
|
+
cell3Top?: number;
|
|
1024
|
+
cell3Bottom?: number;
|
|
1025
|
+
cell3Left?: number;
|
|
1026
|
+
cell3Right?: number;
|
|
1027
|
+
cell4Top?: number;
|
|
1028
|
+
cell4Bottom?: number;
|
|
1029
|
+
cell4Left?: number;
|
|
1030
|
+
cell4Right?: number;
|
|
1017
1031
|
wifiTop?: number;
|
|
1018
1032
|
wifiBottom?: number;
|
|
1019
1033
|
wifiLeft?: number;
|
|
@@ -1022,9 +1036,11 @@ interface IMessageDmCompositionProps {
|
|
|
1022
1036
|
batteryBottom?: number;
|
|
1023
1037
|
batteryLeft?: number;
|
|
1024
1038
|
batteryRight?: number;
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1039
|
+
homeIndicatorTop?: number;
|
|
1040
|
+
homeIndicatorBottom?: number;
|
|
1041
|
+
homeIndicatorLeft?: number;
|
|
1042
|
+
homeIndicatorRight?: number;
|
|
1043
|
+
homeIndicatorColor?: string;
|
|
1028
1044
|
plusButtonTop?: number;
|
|
1029
1045
|
plusButtonBottom?: number;
|
|
1030
1046
|
plusButtonLeft?: number;
|
|
@@ -1045,11 +1061,6 @@ interface IMessageDmCompositionProps {
|
|
|
1045
1061
|
messageTextLetterSpacing?: number;
|
|
1046
1062
|
messageTextColor?: string;
|
|
1047
1063
|
messageText?: string;
|
|
1048
|
-
homeIndicatorTop?: number;
|
|
1049
|
-
homeIndicatorBottom?: number;
|
|
1050
|
-
homeIndicatorLeft?: number;
|
|
1051
|
-
homeIndicatorRight?: number;
|
|
1052
|
-
homeIndicatorColor?: string;
|
|
1053
1064
|
senderBubbleColor?: string;
|
|
1054
1065
|
recipientBubbleColor?: string;
|
|
1055
1066
|
bubbleTextColor?: string;
|
|
@@ -1074,7 +1085,8 @@ interface IMessageDmCompositionProps {
|
|
|
1074
1085
|
* iMessage DM Composition
|
|
1075
1086
|
*
|
|
1076
1087
|
* A fully parameterized iMessage DM conversation renderer.
|
|
1077
|
-
* Uses BaseDmComposition for shared
|
|
1088
|
+
* Uses BaseDmComposition for shared iOS chrome (status bar, home indicator)
|
|
1089
|
+
* and zoom/pan/crosshair functionality.
|
|
1078
1090
|
*/
|
|
1079
1091
|
|
|
1080
1092
|
/**
|
|
@@ -1105,8 +1117,88 @@ interface BaseDmCompositionProps {
|
|
|
1105
1117
|
currentProps?: Record<string, unknown>;
|
|
1106
1118
|
/** Children to render inside the zoomable/pannable content area */
|
|
1107
1119
|
children: React.ReactNode;
|
|
1120
|
+
/** Time text to display */
|
|
1121
|
+
time?: string;
|
|
1122
|
+
/** Time text right X (right-aligned) */
|
|
1123
|
+
timeRight?: number;
|
|
1124
|
+
/** Time text bottom Y */
|
|
1125
|
+
timeBottom?: number;
|
|
1126
|
+
/** Time font size */
|
|
1127
|
+
timeFontSize?: number;
|
|
1128
|
+
/** Time letter spacing */
|
|
1129
|
+
timeLetterSpacing?: number;
|
|
1130
|
+
/** Time text color */
|
|
1131
|
+
timeColor?: string;
|
|
1132
|
+
/** No notifications icon top Y */
|
|
1133
|
+
noNotisTop?: number;
|
|
1134
|
+
/** No notifications icon bottom Y */
|
|
1135
|
+
noNotisBottom?: number;
|
|
1136
|
+
/** No notifications icon left X */
|
|
1137
|
+
noNotisLeft?: number;
|
|
1138
|
+
/** No notifications icon right X */
|
|
1139
|
+
noNotisRight?: number;
|
|
1140
|
+
/** Cell signal level (0-4) */
|
|
1141
|
+
cellLevel?: number;
|
|
1142
|
+
/** Cell bar 1 top Y */
|
|
1143
|
+
cell1Top?: number;
|
|
1144
|
+
/** Cell bar 1 bottom Y */
|
|
1145
|
+
cell1Bottom?: number;
|
|
1146
|
+
/** Cell bar 1 left X */
|
|
1147
|
+
cell1Left?: number;
|
|
1148
|
+
/** Cell bar 1 right X */
|
|
1149
|
+
cell1Right?: number;
|
|
1150
|
+
/** Cell bar 2 top Y */
|
|
1151
|
+
cell2Top?: number;
|
|
1152
|
+
/** Cell bar 2 bottom Y */
|
|
1153
|
+
cell2Bottom?: number;
|
|
1154
|
+
/** Cell bar 2 left X */
|
|
1155
|
+
cell2Left?: number;
|
|
1156
|
+
/** Cell bar 2 right X */
|
|
1157
|
+
cell2Right?: number;
|
|
1158
|
+
/** Cell bar 3 top Y */
|
|
1159
|
+
cell3Top?: number;
|
|
1160
|
+
/** Cell bar 3 bottom Y */
|
|
1161
|
+
cell3Bottom?: number;
|
|
1162
|
+
/** Cell bar 3 left X */
|
|
1163
|
+
cell3Left?: number;
|
|
1164
|
+
/** Cell bar 3 right X */
|
|
1165
|
+
cell3Right?: number;
|
|
1166
|
+
/** Cell bar 4 top Y */
|
|
1167
|
+
cell4Top?: number;
|
|
1168
|
+
/** Cell bar 4 bottom Y */
|
|
1169
|
+
cell4Bottom?: number;
|
|
1170
|
+
/** Cell bar 4 left X */
|
|
1171
|
+
cell4Left?: number;
|
|
1172
|
+
/** Cell bar 4 right X */
|
|
1173
|
+
cell4Right?: number;
|
|
1174
|
+
/** WiFi icon top Y */
|
|
1175
|
+
wifiTop?: number;
|
|
1176
|
+
/** WiFi icon bottom Y */
|
|
1177
|
+
wifiBottom?: number;
|
|
1178
|
+
/** WiFi icon left X */
|
|
1179
|
+
wifiLeft?: number;
|
|
1180
|
+
/** WiFi icon right X */
|
|
1181
|
+
wifiRight?: number;
|
|
1182
|
+
/** Battery icon top Y */
|
|
1183
|
+
batteryTop?: number;
|
|
1184
|
+
/** Battery icon bottom Y */
|
|
1185
|
+
batteryBottom?: number;
|
|
1186
|
+
/** Battery icon left X */
|
|
1187
|
+
batteryLeft?: number;
|
|
1188
|
+
/** Battery icon right X */
|
|
1189
|
+
batteryRight?: number;
|
|
1190
|
+
/** Home indicator top Y */
|
|
1191
|
+
homeIndicatorTop?: number;
|
|
1192
|
+
/** Home indicator bottom Y */
|
|
1193
|
+
homeIndicatorBottom?: number;
|
|
1194
|
+
/** Home indicator left X */
|
|
1195
|
+
homeIndicatorLeft?: number;
|
|
1196
|
+
/** Home indicator right X */
|
|
1197
|
+
homeIndicatorRight?: number;
|
|
1198
|
+
/** Home indicator color */
|
|
1199
|
+
homeIndicatorColor?: string;
|
|
1108
1200
|
}
|
|
1109
|
-
declare function BaseDmComposition({ width, height, backgroundColor, showDebugOverlay, referenceImageUrl, showReferenceImage, referenceOpacity, currentProps, children, }: BaseDmCompositionProps): react_jsx_runtime.JSX.Element | null;
|
|
1201
|
+
declare function BaseDmComposition({ width, height, backgroundColor, showDebugOverlay, referenceImageUrl, showReferenceImage, referenceOpacity, currentProps, children, time, timeRight, timeBottom, timeFontSize, timeLetterSpacing, timeColor, noNotisTop, noNotisBottom, noNotisLeft, noNotisRight, cellLevel, cell1Top, cell1Bottom, cell1Left, cell1Right, cell2Top, cell2Bottom, cell2Left, cell2Right, cell3Top, cell3Bottom, cell3Left, cell3Right, cell4Top, cell4Bottom, cell4Left, cell4Right, wifiTop, wifiBottom, wifiLeft, wifiRight, batteryTop, batteryBottom, batteryLeft, batteryRight, homeIndicatorTop, homeIndicatorBottom, homeIndicatorLeft, homeIndicatorRight, homeIndicatorColor, }: BaseDmCompositionProps): react_jsx_runtime.JSX.Element | null;
|
|
1110
1202
|
|
|
1111
1203
|
/**
|
|
1112
1204
|
* Debug Overlay Component
|
package/dist/index.d.ts
CHANGED
|
@@ -998,22 +998,36 @@ interface IMessageDmCompositionProps {
|
|
|
998
998
|
headerTop?: number;
|
|
999
999
|
headerBottom?: number;
|
|
1000
1000
|
headerBackgroundColor?: string;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1001
|
+
dividerLineY?: number;
|
|
1002
|
+
dividerLineColor?: string;
|
|
1003
|
+
backgroundColor?: string;
|
|
1004
|
+
time?: string;
|
|
1004
1005
|
timeRight?: number;
|
|
1006
|
+
timeBottom?: number;
|
|
1005
1007
|
timeFontSize?: number;
|
|
1006
1008
|
timeLetterSpacing?: number;
|
|
1007
1009
|
timeColor?: string;
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1010
|
+
noNotisTop?: number;
|
|
1011
|
+
noNotisBottom?: number;
|
|
1012
|
+
noNotisLeft?: number;
|
|
1013
|
+
noNotisRight?: number;
|
|
1014
|
+
cellLevel?: number;
|
|
1015
|
+
cell1Top?: number;
|
|
1016
|
+
cell1Bottom?: number;
|
|
1017
|
+
cell1Left?: number;
|
|
1018
|
+
cell1Right?: number;
|
|
1019
|
+
cell2Top?: number;
|
|
1020
|
+
cell2Bottom?: number;
|
|
1021
|
+
cell2Left?: number;
|
|
1022
|
+
cell2Right?: number;
|
|
1023
|
+
cell3Top?: number;
|
|
1024
|
+
cell3Bottom?: number;
|
|
1025
|
+
cell3Left?: number;
|
|
1026
|
+
cell3Right?: number;
|
|
1027
|
+
cell4Top?: number;
|
|
1028
|
+
cell4Bottom?: number;
|
|
1029
|
+
cell4Left?: number;
|
|
1030
|
+
cell4Right?: number;
|
|
1017
1031
|
wifiTop?: number;
|
|
1018
1032
|
wifiBottom?: number;
|
|
1019
1033
|
wifiLeft?: number;
|
|
@@ -1022,9 +1036,11 @@ interface IMessageDmCompositionProps {
|
|
|
1022
1036
|
batteryBottom?: number;
|
|
1023
1037
|
batteryLeft?: number;
|
|
1024
1038
|
batteryRight?: number;
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1039
|
+
homeIndicatorTop?: number;
|
|
1040
|
+
homeIndicatorBottom?: number;
|
|
1041
|
+
homeIndicatorLeft?: number;
|
|
1042
|
+
homeIndicatorRight?: number;
|
|
1043
|
+
homeIndicatorColor?: string;
|
|
1028
1044
|
plusButtonTop?: number;
|
|
1029
1045
|
plusButtonBottom?: number;
|
|
1030
1046
|
plusButtonLeft?: number;
|
|
@@ -1045,11 +1061,6 @@ interface IMessageDmCompositionProps {
|
|
|
1045
1061
|
messageTextLetterSpacing?: number;
|
|
1046
1062
|
messageTextColor?: string;
|
|
1047
1063
|
messageText?: string;
|
|
1048
|
-
homeIndicatorTop?: number;
|
|
1049
|
-
homeIndicatorBottom?: number;
|
|
1050
|
-
homeIndicatorLeft?: number;
|
|
1051
|
-
homeIndicatorRight?: number;
|
|
1052
|
-
homeIndicatorColor?: string;
|
|
1053
1064
|
senderBubbleColor?: string;
|
|
1054
1065
|
recipientBubbleColor?: string;
|
|
1055
1066
|
bubbleTextColor?: string;
|
|
@@ -1074,7 +1085,8 @@ interface IMessageDmCompositionProps {
|
|
|
1074
1085
|
* iMessage DM Composition
|
|
1075
1086
|
*
|
|
1076
1087
|
* A fully parameterized iMessage DM conversation renderer.
|
|
1077
|
-
* Uses BaseDmComposition for shared
|
|
1088
|
+
* Uses BaseDmComposition for shared iOS chrome (status bar, home indicator)
|
|
1089
|
+
* and zoom/pan/crosshair functionality.
|
|
1078
1090
|
*/
|
|
1079
1091
|
|
|
1080
1092
|
/**
|
|
@@ -1105,8 +1117,88 @@ interface BaseDmCompositionProps {
|
|
|
1105
1117
|
currentProps?: Record<string, unknown>;
|
|
1106
1118
|
/** Children to render inside the zoomable/pannable content area */
|
|
1107
1119
|
children: React.ReactNode;
|
|
1120
|
+
/** Time text to display */
|
|
1121
|
+
time?: string;
|
|
1122
|
+
/** Time text right X (right-aligned) */
|
|
1123
|
+
timeRight?: number;
|
|
1124
|
+
/** Time text bottom Y */
|
|
1125
|
+
timeBottom?: number;
|
|
1126
|
+
/** Time font size */
|
|
1127
|
+
timeFontSize?: number;
|
|
1128
|
+
/** Time letter spacing */
|
|
1129
|
+
timeLetterSpacing?: number;
|
|
1130
|
+
/** Time text color */
|
|
1131
|
+
timeColor?: string;
|
|
1132
|
+
/** No notifications icon top Y */
|
|
1133
|
+
noNotisTop?: number;
|
|
1134
|
+
/** No notifications icon bottom Y */
|
|
1135
|
+
noNotisBottom?: number;
|
|
1136
|
+
/** No notifications icon left X */
|
|
1137
|
+
noNotisLeft?: number;
|
|
1138
|
+
/** No notifications icon right X */
|
|
1139
|
+
noNotisRight?: number;
|
|
1140
|
+
/** Cell signal level (0-4) */
|
|
1141
|
+
cellLevel?: number;
|
|
1142
|
+
/** Cell bar 1 top Y */
|
|
1143
|
+
cell1Top?: number;
|
|
1144
|
+
/** Cell bar 1 bottom Y */
|
|
1145
|
+
cell1Bottom?: number;
|
|
1146
|
+
/** Cell bar 1 left X */
|
|
1147
|
+
cell1Left?: number;
|
|
1148
|
+
/** Cell bar 1 right X */
|
|
1149
|
+
cell1Right?: number;
|
|
1150
|
+
/** Cell bar 2 top Y */
|
|
1151
|
+
cell2Top?: number;
|
|
1152
|
+
/** Cell bar 2 bottom Y */
|
|
1153
|
+
cell2Bottom?: number;
|
|
1154
|
+
/** Cell bar 2 left X */
|
|
1155
|
+
cell2Left?: number;
|
|
1156
|
+
/** Cell bar 2 right X */
|
|
1157
|
+
cell2Right?: number;
|
|
1158
|
+
/** Cell bar 3 top Y */
|
|
1159
|
+
cell3Top?: number;
|
|
1160
|
+
/** Cell bar 3 bottom Y */
|
|
1161
|
+
cell3Bottom?: number;
|
|
1162
|
+
/** Cell bar 3 left X */
|
|
1163
|
+
cell3Left?: number;
|
|
1164
|
+
/** Cell bar 3 right X */
|
|
1165
|
+
cell3Right?: number;
|
|
1166
|
+
/** Cell bar 4 top Y */
|
|
1167
|
+
cell4Top?: number;
|
|
1168
|
+
/** Cell bar 4 bottom Y */
|
|
1169
|
+
cell4Bottom?: number;
|
|
1170
|
+
/** Cell bar 4 left X */
|
|
1171
|
+
cell4Left?: number;
|
|
1172
|
+
/** Cell bar 4 right X */
|
|
1173
|
+
cell4Right?: number;
|
|
1174
|
+
/** WiFi icon top Y */
|
|
1175
|
+
wifiTop?: number;
|
|
1176
|
+
/** WiFi icon bottom Y */
|
|
1177
|
+
wifiBottom?: number;
|
|
1178
|
+
/** WiFi icon left X */
|
|
1179
|
+
wifiLeft?: number;
|
|
1180
|
+
/** WiFi icon right X */
|
|
1181
|
+
wifiRight?: number;
|
|
1182
|
+
/** Battery icon top Y */
|
|
1183
|
+
batteryTop?: number;
|
|
1184
|
+
/** Battery icon bottom Y */
|
|
1185
|
+
batteryBottom?: number;
|
|
1186
|
+
/** Battery icon left X */
|
|
1187
|
+
batteryLeft?: number;
|
|
1188
|
+
/** Battery icon right X */
|
|
1189
|
+
batteryRight?: number;
|
|
1190
|
+
/** Home indicator top Y */
|
|
1191
|
+
homeIndicatorTop?: number;
|
|
1192
|
+
/** Home indicator bottom Y */
|
|
1193
|
+
homeIndicatorBottom?: number;
|
|
1194
|
+
/** Home indicator left X */
|
|
1195
|
+
homeIndicatorLeft?: number;
|
|
1196
|
+
/** Home indicator right X */
|
|
1197
|
+
homeIndicatorRight?: number;
|
|
1198
|
+
/** Home indicator color */
|
|
1199
|
+
homeIndicatorColor?: string;
|
|
1108
1200
|
}
|
|
1109
|
-
declare function BaseDmComposition({ width, height, backgroundColor, showDebugOverlay, referenceImageUrl, showReferenceImage, referenceOpacity, currentProps, children, }: BaseDmCompositionProps): react_jsx_runtime.JSX.Element | null;
|
|
1201
|
+
declare function BaseDmComposition({ width, height, backgroundColor, showDebugOverlay, referenceImageUrl, showReferenceImage, referenceOpacity, currentProps, children, time, timeRight, timeBottom, timeFontSize, timeLetterSpacing, timeColor, noNotisTop, noNotisBottom, noNotisLeft, noNotisRight, cellLevel, cell1Top, cell1Bottom, cell1Left, cell1Right, cell2Top, cell2Bottom, cell2Left, cell2Right, cell3Top, cell3Bottom, cell3Left, cell3Right, cell4Top, cell4Bottom, cell4Left, cell4Right, wifiTop, wifiBottom, wifiLeft, wifiRight, batteryTop, batteryBottom, batteryLeft, batteryRight, homeIndicatorTop, homeIndicatorBottom, homeIndicatorLeft, homeIndicatorRight, homeIndicatorColor, }: BaseDmCompositionProps): react_jsx_runtime.JSX.Element | null;
|
|
1110
1202
|
|
|
1111
1203
|
/**
|
|
1112
1204
|
* Debug Overlay Component
|