ugcinc-render 1.8.40 → 1.8.42

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
@@ -2638,9 +2638,9 @@ function ScreenshotAnimation({
2638
2638
  style: {
2639
2639
  position: "absolute",
2640
2640
  left: 0,
2641
- top: thumbnailFilled ? 0 : contentTopOffset,
2642
- width: thumbnailFilled ? contentW : smallClipWidth,
2643
- height: thumbnailFilled ? contentH : smallClipHeight,
2641
+ top: contentTopOffset,
2642
+ width: smallClipWidth,
2643
+ height: smallClipHeight,
2644
2644
  overflow: "hidden",
2645
2645
  borderRadius: `${innerTopRadius}px ${innerTopRadius}px ${innerBottomRadius}px ${innerBottomRadius}px`
2646
2646
  },
@@ -2649,8 +2649,8 @@ function ScreenshotAnimation({
2649
2649
  {
2650
2650
  src: imageUrl,
2651
2651
  style: {
2652
- width: thumbnailFilled ? contentW : smallClipWidth,
2653
- height: thumbnailFilled ? contentH : smallClipWidth * (height / width),
2652
+ width: smallClipWidth,
2653
+ height: smallClipWidth * (height / width),
2654
2654
  objectFit: "fill"
2655
2655
  }
2656
2656
  }
@@ -2686,26 +2686,6 @@ function ScreenshotAnimation({
2686
2686
  transform: "translateX(-50%)"
2687
2687
  }
2688
2688
  }
2689
- ),
2690
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
2691
- "div",
2692
- {
2693
- style: {
2694
- position: "absolute",
2695
- top: 10,
2696
- left: 10,
2697
- color: "red",
2698
- fontSize: 24,
2699
- fontWeight: "bold",
2700
- fontFamily: "monospace",
2701
- textShadow: "0 0 4px black"
2702
- },
2703
- children: [
2704
- "v1.8.40 | phase2: ",
2705
- Math.round(phase2TimeMs),
2706
- "ms"
2707
- ]
2708
- }
2709
2689
  )
2710
2690
  ] });
2711
2691
  }
package/dist/index.mjs CHANGED
@@ -1775,9 +1775,9 @@ function ScreenshotAnimation({
1775
1775
  style: {
1776
1776
  position: "absolute",
1777
1777
  left: 0,
1778
- top: thumbnailFilled ? 0 : contentTopOffset,
1779
- width: thumbnailFilled ? contentW : smallClipWidth,
1780
- height: thumbnailFilled ? contentH : smallClipHeight,
1778
+ top: contentTopOffset,
1779
+ width: smallClipWidth,
1780
+ height: smallClipHeight,
1781
1781
  overflow: "hidden",
1782
1782
  borderRadius: `${innerTopRadius}px ${innerTopRadius}px ${innerBottomRadius}px ${innerBottomRadius}px`
1783
1783
  },
@@ -1786,8 +1786,8 @@ function ScreenshotAnimation({
1786
1786
  {
1787
1787
  src: imageUrl,
1788
1788
  style: {
1789
- width: thumbnailFilled ? contentW : smallClipWidth,
1790
- height: thumbnailFilled ? contentH : smallClipWidth * (height / width),
1789
+ width: smallClipWidth,
1790
+ height: smallClipWidth * (height / width),
1791
1791
  objectFit: "fill"
1792
1792
  }
1793
1793
  }
@@ -1823,26 +1823,6 @@ function ScreenshotAnimation({
1823
1823
  transform: "translateX(-50%)"
1824
1824
  }
1825
1825
  }
1826
- ),
1827
- /* @__PURE__ */ jsxs6(
1828
- "div",
1829
- {
1830
- style: {
1831
- position: "absolute",
1832
- top: 10,
1833
- left: 10,
1834
- color: "red",
1835
- fontSize: 24,
1836
- fontWeight: "bold",
1837
- fontFamily: "monospace",
1838
- textShadow: "0 0 4px black"
1839
- },
1840
- children: [
1841
- "v1.8.40 | phase2: ",
1842
- Math.round(phase2TimeMs),
1843
- "ms"
1844
- ]
1845
- }
1846
1826
  )
1847
1827
  ] });
1848
1828
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.8.40",
3
+ "version": "1.8.42",
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",