ugcinc-render 1.5.4 → 1.5.5

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
@@ -531,11 +531,12 @@ function TextElement({ segment, scale = 1 }) {
531
531
  height: "100%",
532
532
  backgroundColor: hexToRgba(backgroundColor, backgroundOpacity),
533
533
  borderRadius: borderRadiusStyle,
534
- pointerEvents: "none"
534
+ pointerEvents: "none",
535
+ zIndex: 0
535
536
  }
536
537
  }
537
538
  ),
538
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: textStyle, children: segment.text })
539
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { ...textStyle, position: "relative", zIndex: 1 }, children: segment.text })
539
540
  ] }) });
540
541
  }
541
542
  if (autoWidth) {
package/dist/index.mjs CHANGED
@@ -457,11 +457,12 @@ function TextElement({ segment, scale = 1 }) {
457
457
  height: "100%",
458
458
  backgroundColor: hexToRgba(backgroundColor, backgroundOpacity),
459
459
  borderRadius: borderRadiusStyle,
460
- pointerEvents: "none"
460
+ pointerEvents: "none",
461
+ zIndex: 0
461
462
  }
462
463
  }
463
464
  ),
464
- /* @__PURE__ */ jsx("div", { style: textStyle, children: segment.text })
465
+ /* @__PURE__ */ jsx("div", { style: { ...textStyle, position: "relative", zIndex: 1 }, children: segment.text })
465
466
  ] }) });
466
467
  }
467
468
  if (autoWidth) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
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",