@biela.dev/core 1.7.7 → 1.7.8

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
@@ -701,11 +701,10 @@ function DeviceFrame({
701
701
  children: /* @__PURE__ */ jsx(DeviceErrorBoundary, { children })
702
702
  }
703
703
  ),
704
- DeviceSVGComponent && /* @__PURE__ */ jsxs(
705
- "div",
704
+ DeviceSVGComponent && /* @__PURE__ */ jsx("div", { ref: frameOverlayRef, children: /* @__PURE__ */ jsx(
705
+ DeviceSVGComponent,
706
706
  {
707
- ref: frameOverlayRef,
708
- className: "bielaframe-svg-overlay",
707
+ colorScheme,
709
708
  style: {
710
709
  position: "absolute",
711
710
  top: 0,
@@ -713,24 +712,10 @@ function DeviceFrame({
713
712
  width: frameTotalW,
714
713
  height: frameTotalH,
715
714
  pointerEvents: "none",
716
- zIndex: 10,
717
- overflow: "hidden"
718
- },
719
- children: [
720
- /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: `.bielaframe-svg-overlay svg { width: 100% !important; height: 100% !important; }` } }),
721
- /* @__PURE__ */ jsx(
722
- DeviceSVGComponent,
723
- {
724
- colorScheme,
725
- style: {
726
- width: "100%",
727
- height: "100%"
728
- }
729
- }
730
- )
731
- ]
715
+ zIndex: 10
716
+ }
732
717
  }
733
- ),
718
+ ) }),
734
719
  showSafeAreaOverlay && /* @__PURE__ */ jsx(
735
720
  "div",
736
721
  {