ugcinc-render 1.8.51 → 1.8.52

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 CHANGED
@@ -2779,14 +2779,14 @@ var DEFAULT_STATUS_BAR = {
2779
2779
  isCharging: false
2780
2780
  };
2781
2781
  var DEFAULT_HEADER = {
2782
- height: 110,
2782
+ height: 160,
2783
2783
  showBackButton: true,
2784
2784
  showVideoCallButton: true,
2785
2785
  showCallButton: true,
2786
2786
  showInfoButton: true
2787
2787
  };
2788
2788
  var DEFAULT_FOOTER = {
2789
- height: 90,
2789
+ height: 130,
2790
2790
  showCamera: true,
2791
2791
  showGallery: true,
2792
2792
  showMic: true,
@@ -2799,7 +2799,7 @@ var DEFAULT_RECIPIENT_BUBBLE = {
2799
2799
  };
2800
2800
  var DEFAULT_MESSAGE_STYLE = {
2801
2801
  // Text styling
2802
- fontSize: 28,
2802
+ fontSize: 42,
2803
2803
  fontWeight: "normal",
2804
2804
  lineHeight: 1.35,
2805
2805
  letterSpacing: 0,
@@ -2810,38 +2810,38 @@ var DEFAULT_MESSAGE_STYLE = {
2810
2810
  recipientTextColor: "#FFFFFF",
2811
2811
  // Bubble sizing
2812
2812
  bubbleMaxWidth: 70,
2813
- bubblePaddingH: 14,
2814
- bubblePaddingV: 10,
2813
+ bubblePaddingH: 20,
2814
+ bubblePaddingV: 14,
2815
2815
  // Corner radii
2816
- bubbleRadiusOuter: 20,
2817
- bubbleRadiusInner: 4,
2816
+ bubbleRadiusOuter: 28,
2817
+ bubbleRadiusInner: 6,
2818
2818
  // Spacing
2819
- messageGapInGroup: 2,
2820
- messageGapBetweenGroups: 10,
2821
- sideMargin: 16,
2819
+ messageGapInGroup: 3,
2820
+ messageGapBetweenGroups: 16,
2821
+ sideMargin: 24,
2822
2822
  // Media
2823
- mediaMaxWidth: 220,
2824
- mediaMaxHeight: 300,
2825
- mediaBorderRadius: 18,
2823
+ mediaMaxWidth: 340,
2824
+ mediaMaxHeight: 450,
2825
+ mediaBorderRadius: 26,
2826
2826
  // Story reply
2827
2827
  storyReplyLabelColor: "#A8A8A8",
2828
- storyReplyLabelSize: 20,
2829
- storyImageSize: 80,
2830
- storyImageRadius: 8,
2828
+ storyReplyLabelSize: 30,
2829
+ storyImageSize: 140,
2830
+ storyImageRadius: 12,
2831
2831
  // Reactions
2832
- reactionSize: 20,
2832
+ reactionSize: 32,
2833
2833
  reactionBubbleColor: "#363636",
2834
- reactionBorderRadius: 10,
2835
- reactionOffsetY: -6,
2834
+ reactionBorderRadius: 16,
2835
+ reactionOffsetY: -10,
2836
2836
  // Typing indicator
2837
- typingDotSize: 8,
2837
+ typingDotSize: 12,
2838
2838
  typingDotColor: "#A8A8A8",
2839
- typingDotSpacing: 4,
2840
- typingBubblePaddingH: 16,
2841
- typingBubblePaddingV: 14,
2839
+ typingDotSpacing: 6,
2840
+ typingBubblePaddingH: 24,
2841
+ typingBubblePaddingV: 20,
2842
2842
  // Profile picture
2843
- profilePicSize: 28,
2844
- profilePicGap: 8
2843
+ profilePicSize: 44,
2844
+ profilePicGap: 12
2845
2845
  };
2846
2846
  function mergeMessageStyle(partial) {
2847
2847
  if (!partial) {
@@ -2870,9 +2870,9 @@ function mergeStatusBarConfig(partial) {
2870
2870
 
2871
2871
  // src/compositions/InstagramDmComposition/components/IgStatusBar.tsx
2872
2872
  var import_jsx_runtime9 = require("react/jsx-runtime");
2873
- var STATUS_BAR_HEIGHT = 54;
2873
+ var STATUS_BAR_HEIGHT = 75;
2874
2874
  function CellularIcon({ color }) {
2875
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: "18", height: "12", viewBox: "0 0 18 12", fill: "none", children: [
2875
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: "26", height: "18", viewBox: "0 0 18 12", fill: "none", children: [
2876
2876
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "0", y: "8", width: "3", height: "4", rx: "0.5", fill: color }),
2877
2877
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "4", y: "5", width: "3", height: "7", rx: "0.5", fill: color }),
2878
2878
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { x: "8", y: "3", width: "3", height: "9", rx: "0.5", fill: color }),
@@ -2880,7 +2880,7 @@ function CellularIcon({ color }) {
2880
2880
  ] });
2881
2881
  }
2882
2882
  function WifiIcon({ color }) {
2883
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: "17", height: "12", viewBox: "0 0 17 12", fill: "none", children: [
2883
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: "24", height: "18", viewBox: "0 0 17 12", fill: "none", children: [
2884
2884
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2885
2885
  "path",
2886
2886
  {
@@ -2945,7 +2945,7 @@ function BatteryIcon({
2945
2945
  }) {
2946
2946
  const fillWidth = Math.max(0, Math.min(100, level)) * 0.22;
2947
2947
  const fillColor = level <= 20 ? "#FF3B30" : isCharging ? "#34C759" : color;
2948
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: "27", height: "13", viewBox: "0 0 27 13", fill: "none", children: [
2948
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: "38", height: "18", viewBox: "0 0 27 13", fill: "none", children: [
2949
2949
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2950
2950
  "rect",
2951
2951
  {
@@ -2995,7 +2995,7 @@ function IgStatusBar({ config, theme, width }) {
2995
2995
  display: "flex",
2996
2996
  alignItems: "center",
2997
2997
  justifyContent: "space-between",
2998
- padding: "0 24px",
2998
+ padding: "0 36px",
2999
2999
  zIndex: 20
3000
3000
  },
3001
3001
  children: [
@@ -3003,11 +3003,11 @@ function IgStatusBar({ config, theme, width }) {
3003
3003
  "div",
3004
3004
  {
3005
3005
  style: {
3006
- fontSize: 17,
3006
+ fontSize: 24,
3007
3007
  fontWeight: 600,
3008
3008
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
3009
3009
  color: textColor,
3010
- minWidth: 54
3010
+ minWidth: 70
3011
3011
  },
3012
3012
  children: config.time
3013
3013
  }
@@ -3016,8 +3016,8 @@ function IgStatusBar({ config, theme, width }) {
3016
3016
  "div",
3017
3017
  {
3018
3018
  style: {
3019
- width: width > 1e3 ? 126 : 80,
3020
- height: 34,
3019
+ width: width > 1e3 ? 180 : 120,
3020
+ height: 48,
3021
3021
  backgroundColor: "transparent"
3022
3022
  }
3023
3023
  }
@@ -3028,7 +3028,7 @@ function IgStatusBar({ config, theme, width }) {
3028
3028
  style: {
3029
3029
  display: "flex",
3030
3030
  alignItems: "center",
3031
- gap: 6
3031
+ gap: 8
3032
3032
  },
3033
3033
  children: [
3034
3034
  config.showCellular && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CellularIcon, { color: textColor }),
@@ -3053,7 +3053,7 @@ function IgStatusBar({ config, theme, width }) {
3053
3053
  var import_remotion8 = require("remotion");
3054
3054
  var import_jsx_runtime10 = require("react/jsx-runtime");
3055
3055
  function BackIcon({ color }) {
3056
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3056
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3057
3057
  "path",
3058
3058
  {
3059
3059
  d: "M15 18L9 12L15 6",
@@ -3065,7 +3065,7 @@ function BackIcon({ color }) {
3065
3065
  ) });
3066
3066
  }
3067
3067
  function VideoCallIcon({ color }) {
3068
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { width: "26", height: "26", viewBox: "0 0 24 24", fill: "none", children: [
3068
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { width: "36", height: "36", viewBox: "0 0 24 24", fill: "none", children: [
3069
3069
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3070
3070
  "rect",
3071
3071
  {
@@ -3091,7 +3091,7 @@ function VideoCallIcon({ color }) {
3091
3091
  ] });
3092
3092
  }
3093
3093
  function CallIcon({ color }) {
3094
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3094
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3095
3095
  "path",
3096
3096
  {
3097
3097
  d: "M22 16.92V19.92C22 20.48 21.56 20.97 20.92 21C14.44 21.5 8.5 19.1 4.7 15.3C0.9 11.5 -1.5 5.56 3 3.08C3.03 2.44 3.52 2 4.08 2H7.08C7.56 2 7.97 2.34 8.05 2.81C8.22 3.87 8.54 4.9 9 5.85C9.14 6.14 9.07 6.49 8.83 6.71L7.29 8.25C8.91 11.1 11.19 13.38 14.04 15L15.58 13.46C15.8 13.22 16.15 13.15 16.44 13.29C17.39 13.75 18.42 14.07 19.48 14.24C19.95 14.32 20.29 14.73 20.29 15.21V16.92H22Z",
@@ -3103,7 +3103,7 @@ function CallIcon({ color }) {
3103
3103
  ) });
3104
3104
  }
3105
3105
  function InfoIcon({ color }) {
3106
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
3106
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: [
3107
3107
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("circle", { cx: "12", cy: "12", r: "10", stroke: color, strokeWidth: "2" }),
3108
3108
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3109
3109
  "path",
@@ -3118,7 +3118,7 @@ function InfoIcon({ color }) {
3118
3118
  ] });
3119
3119
  }
3120
3120
  function VerifiedBadge() {
3121
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "#3897F0", children: [
3121
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "#3897F0", children: [
3122
3122
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M12 2L14.4 4.4L17.6 3.6L18.4 6.8L21.6 7.6L20.8 10.8L24 12L20.8 13.2L21.6 16.4L18.4 17.2L17.6 20.4L14.4 19.6L12 22L9.6 19.6L6.4 20.4L5.6 17.2L2.4 16.4L3.2 13.2L0 12L3.2 10.8L2.4 7.6L5.6 6.8L6.4 3.6L9.6 4.4L12 2Z" }),
3123
3123
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3124
3124
  "path",
@@ -3147,7 +3147,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3147
3147
  backgroundColor: colors.headerBg,
3148
3148
  display: "flex",
3149
3149
  alignItems: "center",
3150
- padding: "0 12px",
3150
+ padding: "0 18px",
3151
3151
  zIndex: 10
3152
3152
  },
3153
3153
  children: [
@@ -3157,18 +3157,18 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3157
3157
  style: {
3158
3158
  display: "flex",
3159
3159
  alignItems: "center",
3160
- gap: 12,
3160
+ gap: 16,
3161
3161
  flex: 1
3162
3162
  },
3163
3163
  children: [
3164
- config.showBackButton && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { padding: 4 }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(BackIcon, { color: iconColor }) }),
3164
+ config.showBackButton && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { style: { padding: 6 }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(BackIcon, { color: iconColor }) }),
3165
3165
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
3166
3166
  "div",
3167
3167
  {
3168
3168
  style: {
3169
3169
  position: "relative",
3170
- width: 44,
3171
- height: 44,
3170
+ width: 64,
3171
+ height: 64,
3172
3172
  borderRadius: "50%",
3173
3173
  overflow: "hidden",
3174
3174
  flexShrink: 0
@@ -3192,11 +3192,11 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3192
3192
  position: "absolute",
3193
3193
  bottom: 0,
3194
3194
  right: 0,
3195
- width: 14,
3196
- height: 14,
3195
+ width: 20,
3196
+ height: 20,
3197
3197
  borderRadius: "50%",
3198
3198
  backgroundColor: colors.activeGreen,
3199
- border: `2px solid ${colors.headerBg}`,
3199
+ border: `3px solid ${colors.headerBg}`,
3200
3200
  boxSizing: "border-box"
3201
3201
  }
3202
3202
  }
@@ -3210,7 +3210,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3210
3210
  style: {
3211
3211
  display: "flex",
3212
3212
  flexDirection: "column",
3213
- gap: 2
3213
+ gap: 4
3214
3214
  },
3215
3215
  children: [
3216
3216
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
@@ -3219,7 +3219,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3219
3219
  style: {
3220
3220
  display: "flex",
3221
3221
  alignItems: "center",
3222
- gap: 4
3222
+ gap: 6
3223
3223
  },
3224
3224
  children: [
3225
3225
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
@@ -3227,7 +3227,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3227
3227
  {
3228
3228
  style: {
3229
3229
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
3230
- fontSize: 16,
3230
+ fontSize: 24,
3231
3231
  fontWeight: 600,
3232
3232
  color: colors.textPrimary
3233
3233
  },
@@ -3243,7 +3243,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3243
3243
  {
3244
3244
  style: {
3245
3245
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
3246
- fontSize: 13,
3246
+ fontSize: 18,
3247
3247
  color: colors.textSecondary
3248
3248
  },
3249
3249
  children: recipient.isActive ? "Active now" : recipient.displayName ? recipient.username : ""
@@ -3261,7 +3261,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3261
3261
  style: {
3262
3262
  display: "flex",
3263
3263
  alignItems: "center",
3264
- gap: 20
3264
+ gap: 28
3265
3265
  },
3266
3266
  children: [
3267
3267
  config.showCallButton && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(CallIcon, { color: iconColor }),
@@ -3278,7 +3278,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
3278
3278
  // src/compositions/InstagramDmComposition/components/IgFooter.tsx
3279
3279
  var import_jsx_runtime11 = require("react/jsx-runtime");
3280
3280
  function CameraIcon({ color }) {
3281
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "26", height: "26", viewBox: "0 0 24 24", fill: "none", children: [
3281
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "36", height: "36", viewBox: "0 0 24 24", fill: "none", children: [
3282
3282
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("circle", { cx: "12", cy: "13", r: "4", stroke: color, strokeWidth: "2" }),
3283
3283
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3284
3284
  "path",
@@ -3293,7 +3293,7 @@ function CameraIcon({ color }) {
3293
3293
  ] });
3294
3294
  }
3295
3295
  function GalleryIcon({ color }) {
3296
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
3296
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: [
3297
3297
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3298
3298
  "rect",
3299
3299
  {
@@ -3320,7 +3320,7 @@ function GalleryIcon({ color }) {
3320
3320
  ] });
3321
3321
  }
3322
3322
  function MicIcon({ color }) {
3323
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", children: [
3323
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", children: [
3324
3324
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("rect", { x: "9", y: "2", width: "6", height: "11", rx: "3", stroke: color, strokeWidth: "2" }),
3325
3325
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3326
3326
  "path",
@@ -3343,7 +3343,7 @@ function MicIcon({ color }) {
3343
3343
  ] });
3344
3344
  }
3345
3345
  function StickerIcon({ color }) {
3346
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
3346
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: [
3347
3347
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("circle", { cx: "12", cy: "12", r: "10", stroke: color, strokeWidth: "2" }),
3348
3348
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3349
3349
  "path",
@@ -3374,8 +3374,8 @@ function IgFooter({ config, theme, compositionHeight }) {
3374
3374
  backgroundColor: colors.footerBg,
3375
3375
  display: "flex",
3376
3376
  alignItems: "center",
3377
- padding: "0 12px",
3378
- gap: 12,
3377
+ padding: "0 18px",
3378
+ gap: 16,
3379
3379
  zIndex: 10
3380
3380
  },
3381
3381
  children: [
@@ -3383,8 +3383,8 @@ function IgFooter({ config, theme, compositionHeight }) {
3383
3383
  "div",
3384
3384
  {
3385
3385
  style: {
3386
- width: 44,
3387
- height: 44,
3386
+ width: 64,
3387
+ height: 64,
3388
3388
  borderRadius: "50%",
3389
3389
  backgroundColor: "#3797F0",
3390
3390
  display: "flex",
@@ -3400,14 +3400,14 @@ function IgFooter({ config, theme, compositionHeight }) {
3400
3400
  {
3401
3401
  style: {
3402
3402
  flex: 1,
3403
- height: 44,
3404
- borderRadius: 22,
3405
- border: `1px solid ${colors.divider}`,
3403
+ height: 64,
3404
+ borderRadius: 32,
3405
+ border: `1.5px solid ${colors.divider}`,
3406
3406
  backgroundColor: colors.footerBg,
3407
3407
  display: "flex",
3408
3408
  alignItems: "center",
3409
- padding: "0 16px",
3410
- gap: 12
3409
+ padding: "0 24px",
3410
+ gap: 16
3411
3411
  },
3412
3412
  children: [
3413
3413
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
@@ -3416,7 +3416,7 @@ function IgFooter({ config, theme, compositionHeight }) {
3416
3416
  style: {
3417
3417
  flex: 1,
3418
3418
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
3419
- fontSize: 16,
3419
+ fontSize: 24,
3420
3420
  color: hasInputText ? colors.textPrimary : colors.textSecondary
3421
3421
  },
3422
3422
  children: hasInputText ? config.inputText : config.placeholderText
@@ -3428,7 +3428,7 @@ function IgFooter({ config, theme, compositionHeight }) {
3428
3428
  style: {
3429
3429
  display: "flex",
3430
3430
  alignItems: "center",
3431
- gap: 12
3431
+ gap: 16
3432
3432
  },
3433
3433
  children: [
3434
3434
  config.showSticker && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(StickerIcon, { color: iconColor }),
@@ -3439,7 +3439,7 @@ function IgFooter({ config, theme, compositionHeight }) {
3439
3439
  ]
3440
3440
  }
3441
3441
  ),
3442
- config.showMic && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { style: { padding: 4, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(MicIcon, { color: iconColor }) })
3442
+ config.showMic && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { style: { padding: 6, flexShrink: 0 }, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(MicIcon, { color: iconColor }) })
3443
3443
  ]
3444
3444
  }
3445
3445
  );
@@ -4966,14 +4966,14 @@ var igStatusBarSchema = import_zod.z.object({
4966
4966
  isCharging: import_zod.z.boolean().optional().default(false).describe("Is charging")
4967
4967
  });
4968
4968
  var igHeaderConfigSchema = import_zod.z.object({
4969
- height: import_zod.z.number().default(110).describe("Header height (px)"),
4969
+ height: import_zod.z.number().default(160).describe("Header height (px)"),
4970
4970
  showBackButton: import_zod.z.boolean().default(true).describe("Show back button"),
4971
4971
  showVideoCallButton: import_zod.z.boolean().default(true).describe("Show video call button"),
4972
4972
  showCallButton: import_zod.z.boolean().default(true).describe("Show call button"),
4973
4973
  showInfoButton: import_zod.z.boolean().default(true).describe("Show info button")
4974
4974
  });
4975
4975
  var igFooterConfigSchema = import_zod.z.object({
4976
- height: import_zod.z.number().default(90).describe("Footer height (px)"),
4976
+ height: import_zod.z.number().default(130).describe("Footer height (px)"),
4977
4977
  showCamera: import_zod.z.boolean().default(true).describe("Show camera button"),
4978
4978
  showGallery: import_zod.z.boolean().default(true).describe("Show gallery button"),
4979
4979
  showMic: import_zod.z.boolean().default(true).describe("Show mic button"),
@@ -4983,7 +4983,7 @@ var igFooterConfigSchema = import_zod.z.object({
4983
4983
  });
4984
4984
  var igMessageStyleSchema = import_zod.z.object({
4985
4985
  // Text styling
4986
- fontSize: import_zod.z.number().default(28).describe("Font size (px)"),
4986
+ fontSize: import_zod.z.number().default(42).describe("Font size (px)"),
4987
4987
  fontWeight: import_zod.z.enum(["normal", "bold"]).default("normal").describe("Font weight"),
4988
4988
  lineHeight: import_zod.z.number().default(1.35).describe("Line height multiplier"),
4989
4989
  letterSpacing: import_zod.z.number().default(0).describe("Letter spacing (px)"),
@@ -4994,38 +4994,38 @@ var igMessageStyleSchema = import_zod.z.object({
4994
4994
  recipientTextColor: import_zod.z.string().default("#FFFFFF").describe("Recipient text color"),
4995
4995
  // Bubble sizing
4996
4996
  bubbleMaxWidth: import_zod.z.number().default(70).describe("Max bubble width (%)"),
4997
- bubblePaddingH: import_zod.z.number().default(14).describe("Bubble horizontal padding (px)"),
4998
- bubblePaddingV: import_zod.z.number().default(10).describe("Bubble vertical padding (px)"),
4997
+ bubblePaddingH: import_zod.z.number().default(20).describe("Bubble horizontal padding (px)"),
4998
+ bubblePaddingV: import_zod.z.number().default(14).describe("Bubble vertical padding (px)"),
4999
4999
  // Corner radii
5000
- bubbleRadiusOuter: import_zod.z.number().default(20).describe("Outer corner radius (px)"),
5001
- bubbleRadiusInner: import_zod.z.number().default(4).describe("Inner corner radius (px)"),
5000
+ bubbleRadiusOuter: import_zod.z.number().default(28).describe("Outer corner radius (px)"),
5001
+ bubbleRadiusInner: import_zod.z.number().default(6).describe("Inner corner radius (px)"),
5002
5002
  // Spacing
5003
- messageGapInGroup: import_zod.z.number().default(2).describe("Gap between messages in group (px)"),
5004
- messageGapBetweenGroups: import_zod.z.number().default(10).describe("Gap between groups (px)"),
5005
- sideMargin: import_zod.z.number().default(16).describe("Side margin (px)"),
5003
+ messageGapInGroup: import_zod.z.number().default(3).describe("Gap between messages in group (px)"),
5004
+ messageGapBetweenGroups: import_zod.z.number().default(16).describe("Gap between groups (px)"),
5005
+ sideMargin: import_zod.z.number().default(24).describe("Side margin (px)"),
5006
5006
  // Media
5007
- mediaMaxWidth: import_zod.z.number().default(220).describe("Media max width (px)"),
5008
- mediaMaxHeight: import_zod.z.number().default(300).describe("Media max height (px)"),
5009
- mediaBorderRadius: import_zod.z.number().default(18).describe("Media border radius (px)"),
5007
+ mediaMaxWidth: import_zod.z.number().default(340).describe("Media max width (px)"),
5008
+ mediaMaxHeight: import_zod.z.number().default(450).describe("Media max height (px)"),
5009
+ mediaBorderRadius: import_zod.z.number().default(26).describe("Media border radius (px)"),
5010
5010
  // Story reply
5011
5011
  storyReplyLabelColor: import_zod.z.string().default("#A8A8A8").describe("Story label color"),
5012
- storyReplyLabelSize: import_zod.z.number().default(20).describe("Story label font size (px)"),
5013
- storyImageSize: import_zod.z.number().default(80).describe("Story image size (px)"),
5014
- storyImageRadius: import_zod.z.number().default(8).describe("Story image radius (px)"),
5012
+ storyReplyLabelSize: import_zod.z.number().default(30).describe("Story label font size (px)"),
5013
+ storyImageSize: import_zod.z.number().default(140).describe("Story image size (px)"),
5014
+ storyImageRadius: import_zod.z.number().default(12).describe("Story image radius (px)"),
5015
5015
  // Reactions
5016
- reactionSize: import_zod.z.number().default(20).describe("Reaction emoji size (px)"),
5016
+ reactionSize: import_zod.z.number().default(32).describe("Reaction emoji size (px)"),
5017
5017
  reactionBubbleColor: import_zod.z.string().default("#363636").describe("Reaction bubble color"),
5018
- reactionBorderRadius: import_zod.z.number().default(10).describe("Reaction border radius (px)"),
5019
- reactionOffsetY: import_zod.z.number().default(-6).describe("Reaction Y offset (px)"),
5018
+ reactionBorderRadius: import_zod.z.number().default(16).describe("Reaction border radius (px)"),
5019
+ reactionOffsetY: import_zod.z.number().default(-10).describe("Reaction Y offset (px)"),
5020
5020
  // Typing indicator
5021
- typingDotSize: import_zod.z.number().default(8).describe("Typing dot size (px)"),
5021
+ typingDotSize: import_zod.z.number().default(12).describe("Typing dot size (px)"),
5022
5022
  typingDotColor: import_zod.z.string().default("#A8A8A8").describe("Typing dot color"),
5023
- typingDotSpacing: import_zod.z.number().default(4).describe("Typing dot spacing (px)"),
5024
- typingBubblePaddingH: import_zod.z.number().default(16).describe("Typing bubble H padding (px)"),
5025
- typingBubblePaddingV: import_zod.z.number().default(14).describe("Typing bubble V padding (px)"),
5023
+ typingDotSpacing: import_zod.z.number().default(6).describe("Typing dot spacing (px)"),
5024
+ typingBubblePaddingH: import_zod.z.number().default(24).describe("Typing bubble H padding (px)"),
5025
+ typingBubblePaddingV: import_zod.z.number().default(20).describe("Typing bubble V padding (px)"),
5026
5026
  // Profile picture
5027
- profilePicSize: import_zod.z.number().default(28).describe("Profile pic size (px)"),
5028
- profilePicGap: import_zod.z.number().default(8).describe("Profile pic gap (px)")
5027
+ profilePicSize: import_zod.z.number().default(44).describe("Profile pic size (px)"),
5028
+ profilePicGap: import_zod.z.number().default(12).describe("Profile pic gap (px)")
5029
5029
  });
5030
5030
  var readReceiptSchema = import_zod.z.object({
5031
5031
  state: import_zod.z.enum(["none", "sent", "delivered", "seen"]).describe("Receipt state"),
package/dist/index.mjs CHANGED
@@ -1883,14 +1883,14 @@ var DEFAULT_STATUS_BAR = {
1883
1883
  isCharging: false
1884
1884
  };
1885
1885
  var DEFAULT_HEADER = {
1886
- height: 110,
1886
+ height: 160,
1887
1887
  showBackButton: true,
1888
1888
  showVideoCallButton: true,
1889
1889
  showCallButton: true,
1890
1890
  showInfoButton: true
1891
1891
  };
1892
1892
  var DEFAULT_FOOTER = {
1893
- height: 90,
1893
+ height: 130,
1894
1894
  showCamera: true,
1895
1895
  showGallery: true,
1896
1896
  showMic: true,
@@ -1903,7 +1903,7 @@ var DEFAULT_RECIPIENT_BUBBLE = {
1903
1903
  };
1904
1904
  var DEFAULT_MESSAGE_STYLE = {
1905
1905
  // Text styling
1906
- fontSize: 28,
1906
+ fontSize: 42,
1907
1907
  fontWeight: "normal",
1908
1908
  lineHeight: 1.35,
1909
1909
  letterSpacing: 0,
@@ -1914,38 +1914,38 @@ var DEFAULT_MESSAGE_STYLE = {
1914
1914
  recipientTextColor: "#FFFFFF",
1915
1915
  // Bubble sizing
1916
1916
  bubbleMaxWidth: 70,
1917
- bubblePaddingH: 14,
1918
- bubblePaddingV: 10,
1917
+ bubblePaddingH: 20,
1918
+ bubblePaddingV: 14,
1919
1919
  // Corner radii
1920
- bubbleRadiusOuter: 20,
1921
- bubbleRadiusInner: 4,
1920
+ bubbleRadiusOuter: 28,
1921
+ bubbleRadiusInner: 6,
1922
1922
  // Spacing
1923
- messageGapInGroup: 2,
1924
- messageGapBetweenGroups: 10,
1925
- sideMargin: 16,
1923
+ messageGapInGroup: 3,
1924
+ messageGapBetweenGroups: 16,
1925
+ sideMargin: 24,
1926
1926
  // Media
1927
- mediaMaxWidth: 220,
1928
- mediaMaxHeight: 300,
1929
- mediaBorderRadius: 18,
1927
+ mediaMaxWidth: 340,
1928
+ mediaMaxHeight: 450,
1929
+ mediaBorderRadius: 26,
1930
1930
  // Story reply
1931
1931
  storyReplyLabelColor: "#A8A8A8",
1932
- storyReplyLabelSize: 20,
1933
- storyImageSize: 80,
1934
- storyImageRadius: 8,
1932
+ storyReplyLabelSize: 30,
1933
+ storyImageSize: 140,
1934
+ storyImageRadius: 12,
1935
1935
  // Reactions
1936
- reactionSize: 20,
1936
+ reactionSize: 32,
1937
1937
  reactionBubbleColor: "#363636",
1938
- reactionBorderRadius: 10,
1939
- reactionOffsetY: -6,
1938
+ reactionBorderRadius: 16,
1939
+ reactionOffsetY: -10,
1940
1940
  // Typing indicator
1941
- typingDotSize: 8,
1941
+ typingDotSize: 12,
1942
1942
  typingDotColor: "#A8A8A8",
1943
- typingDotSpacing: 4,
1944
- typingBubblePaddingH: 16,
1945
- typingBubblePaddingV: 14,
1943
+ typingDotSpacing: 6,
1944
+ typingBubblePaddingH: 24,
1945
+ typingBubblePaddingV: 20,
1946
1946
  // Profile picture
1947
- profilePicSize: 28,
1948
- profilePicGap: 8
1947
+ profilePicSize: 44,
1948
+ profilePicGap: 12
1949
1949
  };
1950
1950
  function mergeMessageStyle(partial) {
1951
1951
  if (!partial) {
@@ -1974,9 +1974,9 @@ function mergeStatusBarConfig(partial) {
1974
1974
 
1975
1975
  // src/compositions/InstagramDmComposition/components/IgStatusBar.tsx
1976
1976
  import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
1977
- var STATUS_BAR_HEIGHT = 54;
1977
+ var STATUS_BAR_HEIGHT = 75;
1978
1978
  function CellularIcon({ color }) {
1979
- return /* @__PURE__ */ jsxs7("svg", { width: "18", height: "12", viewBox: "0 0 18 12", fill: "none", children: [
1979
+ return /* @__PURE__ */ jsxs7("svg", { width: "26", height: "18", viewBox: "0 0 18 12", fill: "none", children: [
1980
1980
  /* @__PURE__ */ jsx9("rect", { x: "0", y: "8", width: "3", height: "4", rx: "0.5", fill: color }),
1981
1981
  /* @__PURE__ */ jsx9("rect", { x: "4", y: "5", width: "3", height: "7", rx: "0.5", fill: color }),
1982
1982
  /* @__PURE__ */ jsx9("rect", { x: "8", y: "3", width: "3", height: "9", rx: "0.5", fill: color }),
@@ -1984,7 +1984,7 @@ function CellularIcon({ color }) {
1984
1984
  ] });
1985
1985
  }
1986
1986
  function WifiIcon({ color }) {
1987
- return /* @__PURE__ */ jsxs7("svg", { width: "17", height: "12", viewBox: "0 0 17 12", fill: "none", children: [
1987
+ return /* @__PURE__ */ jsxs7("svg", { width: "24", height: "18", viewBox: "0 0 17 12", fill: "none", children: [
1988
1988
  /* @__PURE__ */ jsx9(
1989
1989
  "path",
1990
1990
  {
@@ -2049,7 +2049,7 @@ function BatteryIcon({
2049
2049
  }) {
2050
2050
  const fillWidth = Math.max(0, Math.min(100, level)) * 0.22;
2051
2051
  const fillColor = level <= 20 ? "#FF3B30" : isCharging ? "#34C759" : color;
2052
- return /* @__PURE__ */ jsxs7("svg", { width: "27", height: "13", viewBox: "0 0 27 13", fill: "none", children: [
2052
+ return /* @__PURE__ */ jsxs7("svg", { width: "38", height: "18", viewBox: "0 0 27 13", fill: "none", children: [
2053
2053
  /* @__PURE__ */ jsx9(
2054
2054
  "rect",
2055
2055
  {
@@ -2099,7 +2099,7 @@ function IgStatusBar({ config, theme, width }) {
2099
2099
  display: "flex",
2100
2100
  alignItems: "center",
2101
2101
  justifyContent: "space-between",
2102
- padding: "0 24px",
2102
+ padding: "0 36px",
2103
2103
  zIndex: 20
2104
2104
  },
2105
2105
  children: [
@@ -2107,11 +2107,11 @@ function IgStatusBar({ config, theme, width }) {
2107
2107
  "div",
2108
2108
  {
2109
2109
  style: {
2110
- fontSize: 17,
2110
+ fontSize: 24,
2111
2111
  fontWeight: 600,
2112
2112
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
2113
2113
  color: textColor,
2114
- minWidth: 54
2114
+ minWidth: 70
2115
2115
  },
2116
2116
  children: config.time
2117
2117
  }
@@ -2120,8 +2120,8 @@ function IgStatusBar({ config, theme, width }) {
2120
2120
  "div",
2121
2121
  {
2122
2122
  style: {
2123
- width: width > 1e3 ? 126 : 80,
2124
- height: 34,
2123
+ width: width > 1e3 ? 180 : 120,
2124
+ height: 48,
2125
2125
  backgroundColor: "transparent"
2126
2126
  }
2127
2127
  }
@@ -2132,7 +2132,7 @@ function IgStatusBar({ config, theme, width }) {
2132
2132
  style: {
2133
2133
  display: "flex",
2134
2134
  alignItems: "center",
2135
- gap: 6
2135
+ gap: 8
2136
2136
  },
2137
2137
  children: [
2138
2138
  config.showCellular && /* @__PURE__ */ jsx9(CellularIcon, { color: textColor }),
@@ -2157,7 +2157,7 @@ function IgStatusBar({ config, theme, width }) {
2157
2157
  import { Img as Img4 } from "remotion";
2158
2158
  import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
2159
2159
  function BackIcon({ color }) {
2160
- return /* @__PURE__ */ jsx10("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx10(
2160
+ return /* @__PURE__ */ jsx10("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx10(
2161
2161
  "path",
2162
2162
  {
2163
2163
  d: "M15 18L9 12L15 6",
@@ -2169,7 +2169,7 @@ function BackIcon({ color }) {
2169
2169
  ) });
2170
2170
  }
2171
2171
  function VideoCallIcon({ color }) {
2172
- return /* @__PURE__ */ jsxs8("svg", { width: "26", height: "26", viewBox: "0 0 24 24", fill: "none", children: [
2172
+ return /* @__PURE__ */ jsxs8("svg", { width: "36", height: "36", viewBox: "0 0 24 24", fill: "none", children: [
2173
2173
  /* @__PURE__ */ jsx10(
2174
2174
  "rect",
2175
2175
  {
@@ -2195,7 +2195,7 @@ function VideoCallIcon({ color }) {
2195
2195
  ] });
2196
2196
  }
2197
2197
  function CallIcon({ color }) {
2198
- return /* @__PURE__ */ jsx10("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx10(
2198
+ return /* @__PURE__ */ jsx10("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx10(
2199
2199
  "path",
2200
2200
  {
2201
2201
  d: "M22 16.92V19.92C22 20.48 21.56 20.97 20.92 21C14.44 21.5 8.5 19.1 4.7 15.3C0.9 11.5 -1.5 5.56 3 3.08C3.03 2.44 3.52 2 4.08 2H7.08C7.56 2 7.97 2.34 8.05 2.81C8.22 3.87 8.54 4.9 9 5.85C9.14 6.14 9.07 6.49 8.83 6.71L7.29 8.25C8.91 11.1 11.19 13.38 14.04 15L15.58 13.46C15.8 13.22 16.15 13.15 16.44 13.29C17.39 13.75 18.42 14.07 19.48 14.24C19.95 14.32 20.29 14.73 20.29 15.21V16.92H22Z",
@@ -2207,7 +2207,7 @@ function CallIcon({ color }) {
2207
2207
  ) });
2208
2208
  }
2209
2209
  function InfoIcon({ color }) {
2210
- return /* @__PURE__ */ jsxs8("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
2210
+ return /* @__PURE__ */ jsxs8("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: [
2211
2211
  /* @__PURE__ */ jsx10("circle", { cx: "12", cy: "12", r: "10", stroke: color, strokeWidth: "2" }),
2212
2212
  /* @__PURE__ */ jsx10(
2213
2213
  "path",
@@ -2222,7 +2222,7 @@ function InfoIcon({ color }) {
2222
2222
  ] });
2223
2223
  }
2224
2224
  function VerifiedBadge() {
2225
- return /* @__PURE__ */ jsxs8("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "#3897F0", children: [
2225
+ return /* @__PURE__ */ jsxs8("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "#3897F0", children: [
2226
2226
  /* @__PURE__ */ jsx10("path", { d: "M12 2L14.4 4.4L17.6 3.6L18.4 6.8L21.6 7.6L20.8 10.8L24 12L20.8 13.2L21.6 16.4L18.4 17.2L17.6 20.4L14.4 19.6L12 22L9.6 19.6L6.4 20.4L5.6 17.2L2.4 16.4L3.2 13.2L0 12L3.2 10.8L2.4 7.6L5.6 6.8L6.4 3.6L9.6 4.4L12 2Z" }),
2227
2227
  /* @__PURE__ */ jsx10(
2228
2228
  "path",
@@ -2251,7 +2251,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2251
2251
  backgroundColor: colors.headerBg,
2252
2252
  display: "flex",
2253
2253
  alignItems: "center",
2254
- padding: "0 12px",
2254
+ padding: "0 18px",
2255
2255
  zIndex: 10
2256
2256
  },
2257
2257
  children: [
@@ -2261,18 +2261,18 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2261
2261
  style: {
2262
2262
  display: "flex",
2263
2263
  alignItems: "center",
2264
- gap: 12,
2264
+ gap: 16,
2265
2265
  flex: 1
2266
2266
  },
2267
2267
  children: [
2268
- config.showBackButton && /* @__PURE__ */ jsx10("div", { style: { padding: 4 }, children: /* @__PURE__ */ jsx10(BackIcon, { color: iconColor }) }),
2268
+ config.showBackButton && /* @__PURE__ */ jsx10("div", { style: { padding: 6 }, children: /* @__PURE__ */ jsx10(BackIcon, { color: iconColor }) }),
2269
2269
  /* @__PURE__ */ jsxs8(
2270
2270
  "div",
2271
2271
  {
2272
2272
  style: {
2273
2273
  position: "relative",
2274
- width: 44,
2275
- height: 44,
2274
+ width: 64,
2275
+ height: 64,
2276
2276
  borderRadius: "50%",
2277
2277
  overflow: "hidden",
2278
2278
  flexShrink: 0
@@ -2296,11 +2296,11 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2296
2296
  position: "absolute",
2297
2297
  bottom: 0,
2298
2298
  right: 0,
2299
- width: 14,
2300
- height: 14,
2299
+ width: 20,
2300
+ height: 20,
2301
2301
  borderRadius: "50%",
2302
2302
  backgroundColor: colors.activeGreen,
2303
- border: `2px solid ${colors.headerBg}`,
2303
+ border: `3px solid ${colors.headerBg}`,
2304
2304
  boxSizing: "border-box"
2305
2305
  }
2306
2306
  }
@@ -2314,7 +2314,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2314
2314
  style: {
2315
2315
  display: "flex",
2316
2316
  flexDirection: "column",
2317
- gap: 2
2317
+ gap: 4
2318
2318
  },
2319
2319
  children: [
2320
2320
  /* @__PURE__ */ jsxs8(
@@ -2323,7 +2323,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2323
2323
  style: {
2324
2324
  display: "flex",
2325
2325
  alignItems: "center",
2326
- gap: 4
2326
+ gap: 6
2327
2327
  },
2328
2328
  children: [
2329
2329
  /* @__PURE__ */ jsx10(
@@ -2331,7 +2331,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2331
2331
  {
2332
2332
  style: {
2333
2333
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
2334
- fontSize: 16,
2334
+ fontSize: 24,
2335
2335
  fontWeight: 600,
2336
2336
  color: colors.textPrimary
2337
2337
  },
@@ -2347,7 +2347,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2347
2347
  {
2348
2348
  style: {
2349
2349
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
2350
- fontSize: 13,
2350
+ fontSize: 18,
2351
2351
  color: colors.textSecondary
2352
2352
  },
2353
2353
  children: recipient.isActive ? "Active now" : recipient.displayName ? recipient.username : ""
@@ -2365,7 +2365,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2365
2365
  style: {
2366
2366
  display: "flex",
2367
2367
  alignItems: "center",
2368
- gap: 20
2368
+ gap: 28
2369
2369
  },
2370
2370
  children: [
2371
2371
  config.showCallButton && /* @__PURE__ */ jsx10(CallIcon, { color: iconColor }),
@@ -2382,7 +2382,7 @@ function IgHeader({ config, theme, recipient, avatarUrl }) {
2382
2382
  // src/compositions/InstagramDmComposition/components/IgFooter.tsx
2383
2383
  import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2384
2384
  function CameraIcon({ color }) {
2385
- return /* @__PURE__ */ jsxs9("svg", { width: "26", height: "26", viewBox: "0 0 24 24", fill: "none", children: [
2385
+ return /* @__PURE__ */ jsxs9("svg", { width: "36", height: "36", viewBox: "0 0 24 24", fill: "none", children: [
2386
2386
  /* @__PURE__ */ jsx11("circle", { cx: "12", cy: "13", r: "4", stroke: color, strokeWidth: "2" }),
2387
2387
  /* @__PURE__ */ jsx11(
2388
2388
  "path",
@@ -2397,7 +2397,7 @@ function CameraIcon({ color }) {
2397
2397
  ] });
2398
2398
  }
2399
2399
  function GalleryIcon({ color }) {
2400
- return /* @__PURE__ */ jsxs9("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
2400
+ return /* @__PURE__ */ jsxs9("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: [
2401
2401
  /* @__PURE__ */ jsx11(
2402
2402
  "rect",
2403
2403
  {
@@ -2424,7 +2424,7 @@ function GalleryIcon({ color }) {
2424
2424
  ] });
2425
2425
  }
2426
2426
  function MicIcon({ color }) {
2427
- return /* @__PURE__ */ jsxs9("svg", { width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", children: [
2427
+ return /* @__PURE__ */ jsxs9("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", children: [
2428
2428
  /* @__PURE__ */ jsx11("rect", { x: "9", y: "2", width: "6", height: "11", rx: "3", stroke: color, strokeWidth: "2" }),
2429
2429
  /* @__PURE__ */ jsx11(
2430
2430
  "path",
@@ -2447,7 +2447,7 @@ function MicIcon({ color }) {
2447
2447
  ] });
2448
2448
  }
2449
2449
  function StickerIcon({ color }) {
2450
- return /* @__PURE__ */ jsxs9("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: [
2450
+ return /* @__PURE__ */ jsxs9("svg", { width: "34", height: "34", viewBox: "0 0 24 24", fill: "none", children: [
2451
2451
  /* @__PURE__ */ jsx11("circle", { cx: "12", cy: "12", r: "10", stroke: color, strokeWidth: "2" }),
2452
2452
  /* @__PURE__ */ jsx11(
2453
2453
  "path",
@@ -2478,8 +2478,8 @@ function IgFooter({ config, theme, compositionHeight }) {
2478
2478
  backgroundColor: colors.footerBg,
2479
2479
  display: "flex",
2480
2480
  alignItems: "center",
2481
- padding: "0 12px",
2482
- gap: 12,
2481
+ padding: "0 18px",
2482
+ gap: 16,
2483
2483
  zIndex: 10
2484
2484
  },
2485
2485
  children: [
@@ -2487,8 +2487,8 @@ function IgFooter({ config, theme, compositionHeight }) {
2487
2487
  "div",
2488
2488
  {
2489
2489
  style: {
2490
- width: 44,
2491
- height: 44,
2490
+ width: 64,
2491
+ height: 64,
2492
2492
  borderRadius: "50%",
2493
2493
  backgroundColor: "#3797F0",
2494
2494
  display: "flex",
@@ -2504,14 +2504,14 @@ function IgFooter({ config, theme, compositionHeight }) {
2504
2504
  {
2505
2505
  style: {
2506
2506
  flex: 1,
2507
- height: 44,
2508
- borderRadius: 22,
2509
- border: `1px solid ${colors.divider}`,
2507
+ height: 64,
2508
+ borderRadius: 32,
2509
+ border: `1.5px solid ${colors.divider}`,
2510
2510
  backgroundColor: colors.footerBg,
2511
2511
  display: "flex",
2512
2512
  alignItems: "center",
2513
- padding: "0 16px",
2514
- gap: 12
2513
+ padding: "0 24px",
2514
+ gap: 16
2515
2515
  },
2516
2516
  children: [
2517
2517
  /* @__PURE__ */ jsx11(
@@ -2520,7 +2520,7 @@ function IgFooter({ config, theme, compositionHeight }) {
2520
2520
  style: {
2521
2521
  flex: 1,
2522
2522
  fontFamily: '"SF Pro", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif',
2523
- fontSize: 16,
2523
+ fontSize: 24,
2524
2524
  color: hasInputText ? colors.textPrimary : colors.textSecondary
2525
2525
  },
2526
2526
  children: hasInputText ? config.inputText : config.placeholderText
@@ -2532,7 +2532,7 @@ function IgFooter({ config, theme, compositionHeight }) {
2532
2532
  style: {
2533
2533
  display: "flex",
2534
2534
  alignItems: "center",
2535
- gap: 12
2535
+ gap: 16
2536
2536
  },
2537
2537
  children: [
2538
2538
  config.showSticker && /* @__PURE__ */ jsx11(StickerIcon, { color: iconColor }),
@@ -2543,7 +2543,7 @@ function IgFooter({ config, theme, compositionHeight }) {
2543
2543
  ]
2544
2544
  }
2545
2545
  ),
2546
- config.showMic && /* @__PURE__ */ jsx11("div", { style: { padding: 4, flexShrink: 0 }, children: /* @__PURE__ */ jsx11(MicIcon, { color: iconColor }) })
2546
+ config.showMic && /* @__PURE__ */ jsx11("div", { style: { padding: 6, flexShrink: 0 }, children: /* @__PURE__ */ jsx11(MicIcon, { color: iconColor }) })
2547
2547
  ]
2548
2548
  }
2549
2549
  );
@@ -3787,14 +3787,14 @@ var igStatusBarSchema = z.object({
3787
3787
  isCharging: z.boolean().optional().default(false).describe("Is charging")
3788
3788
  });
3789
3789
  var igHeaderConfigSchema = z.object({
3790
- height: z.number().default(110).describe("Header height (px)"),
3790
+ height: z.number().default(160).describe("Header height (px)"),
3791
3791
  showBackButton: z.boolean().default(true).describe("Show back button"),
3792
3792
  showVideoCallButton: z.boolean().default(true).describe("Show video call button"),
3793
3793
  showCallButton: z.boolean().default(true).describe("Show call button"),
3794
3794
  showInfoButton: z.boolean().default(true).describe("Show info button")
3795
3795
  });
3796
3796
  var igFooterConfigSchema = z.object({
3797
- height: z.number().default(90).describe("Footer height (px)"),
3797
+ height: z.number().default(130).describe("Footer height (px)"),
3798
3798
  showCamera: z.boolean().default(true).describe("Show camera button"),
3799
3799
  showGallery: z.boolean().default(true).describe("Show gallery button"),
3800
3800
  showMic: z.boolean().default(true).describe("Show mic button"),
@@ -3804,7 +3804,7 @@ var igFooterConfigSchema = z.object({
3804
3804
  });
3805
3805
  var igMessageStyleSchema = z.object({
3806
3806
  // Text styling
3807
- fontSize: z.number().default(28).describe("Font size (px)"),
3807
+ fontSize: z.number().default(42).describe("Font size (px)"),
3808
3808
  fontWeight: z.enum(["normal", "bold"]).default("normal").describe("Font weight"),
3809
3809
  lineHeight: z.number().default(1.35).describe("Line height multiplier"),
3810
3810
  letterSpacing: z.number().default(0).describe("Letter spacing (px)"),
@@ -3815,38 +3815,38 @@ var igMessageStyleSchema = z.object({
3815
3815
  recipientTextColor: z.string().default("#FFFFFF").describe("Recipient text color"),
3816
3816
  // Bubble sizing
3817
3817
  bubbleMaxWidth: z.number().default(70).describe("Max bubble width (%)"),
3818
- bubblePaddingH: z.number().default(14).describe("Bubble horizontal padding (px)"),
3819
- bubblePaddingV: z.number().default(10).describe("Bubble vertical padding (px)"),
3818
+ bubblePaddingH: z.number().default(20).describe("Bubble horizontal padding (px)"),
3819
+ bubblePaddingV: z.number().default(14).describe("Bubble vertical padding (px)"),
3820
3820
  // Corner radii
3821
- bubbleRadiusOuter: z.number().default(20).describe("Outer corner radius (px)"),
3822
- bubbleRadiusInner: z.number().default(4).describe("Inner corner radius (px)"),
3821
+ bubbleRadiusOuter: z.number().default(28).describe("Outer corner radius (px)"),
3822
+ bubbleRadiusInner: z.number().default(6).describe("Inner corner radius (px)"),
3823
3823
  // Spacing
3824
- messageGapInGroup: z.number().default(2).describe("Gap between messages in group (px)"),
3825
- messageGapBetweenGroups: z.number().default(10).describe("Gap between groups (px)"),
3826
- sideMargin: z.number().default(16).describe("Side margin (px)"),
3824
+ messageGapInGroup: z.number().default(3).describe("Gap between messages in group (px)"),
3825
+ messageGapBetweenGroups: z.number().default(16).describe("Gap between groups (px)"),
3826
+ sideMargin: z.number().default(24).describe("Side margin (px)"),
3827
3827
  // Media
3828
- mediaMaxWidth: z.number().default(220).describe("Media max width (px)"),
3829
- mediaMaxHeight: z.number().default(300).describe("Media max height (px)"),
3830
- mediaBorderRadius: z.number().default(18).describe("Media border radius (px)"),
3828
+ mediaMaxWidth: z.number().default(340).describe("Media max width (px)"),
3829
+ mediaMaxHeight: z.number().default(450).describe("Media max height (px)"),
3830
+ mediaBorderRadius: z.number().default(26).describe("Media border radius (px)"),
3831
3831
  // Story reply
3832
3832
  storyReplyLabelColor: z.string().default("#A8A8A8").describe("Story label color"),
3833
- storyReplyLabelSize: z.number().default(20).describe("Story label font size (px)"),
3834
- storyImageSize: z.number().default(80).describe("Story image size (px)"),
3835
- storyImageRadius: z.number().default(8).describe("Story image radius (px)"),
3833
+ storyReplyLabelSize: z.number().default(30).describe("Story label font size (px)"),
3834
+ storyImageSize: z.number().default(140).describe("Story image size (px)"),
3835
+ storyImageRadius: z.number().default(12).describe("Story image radius (px)"),
3836
3836
  // Reactions
3837
- reactionSize: z.number().default(20).describe("Reaction emoji size (px)"),
3837
+ reactionSize: z.number().default(32).describe("Reaction emoji size (px)"),
3838
3838
  reactionBubbleColor: z.string().default("#363636").describe("Reaction bubble color"),
3839
- reactionBorderRadius: z.number().default(10).describe("Reaction border radius (px)"),
3840
- reactionOffsetY: z.number().default(-6).describe("Reaction Y offset (px)"),
3839
+ reactionBorderRadius: z.number().default(16).describe("Reaction border radius (px)"),
3840
+ reactionOffsetY: z.number().default(-10).describe("Reaction Y offset (px)"),
3841
3841
  // Typing indicator
3842
- typingDotSize: z.number().default(8).describe("Typing dot size (px)"),
3842
+ typingDotSize: z.number().default(12).describe("Typing dot size (px)"),
3843
3843
  typingDotColor: z.string().default("#A8A8A8").describe("Typing dot color"),
3844
- typingDotSpacing: z.number().default(4).describe("Typing dot spacing (px)"),
3845
- typingBubblePaddingH: z.number().default(16).describe("Typing bubble H padding (px)"),
3846
- typingBubblePaddingV: z.number().default(14).describe("Typing bubble V padding (px)"),
3844
+ typingDotSpacing: z.number().default(6).describe("Typing dot spacing (px)"),
3845
+ typingBubblePaddingH: z.number().default(24).describe("Typing bubble H padding (px)"),
3846
+ typingBubblePaddingV: z.number().default(20).describe("Typing bubble V padding (px)"),
3847
3847
  // Profile picture
3848
- profilePicSize: z.number().default(28).describe("Profile pic size (px)"),
3849
- profilePicGap: z.number().default(8).describe("Profile pic gap (px)")
3848
+ profilePicSize: z.number().default(44).describe("Profile pic size (px)"),
3849
+ profilePicGap: z.number().default(12).describe("Profile pic gap (px)")
3850
3850
  });
3851
3851
  var readReceiptSchema = z.object({
3852
3852
  state: z.enum(["none", "sent", "delivered", "seen"]).describe("Receipt state"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.8.51",
3
+ "version": "1.8.52",
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",