@biela.dev/core 1.7.6 → 1.7.7
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.cjs +21 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -6
- package/dist/index.js.map +1 -1
- package/dist/lite.cjs +21 -6
- package/dist/lite.cjs.map +1 -1
- package/dist/lite.js +21 -6
- package/dist/lite.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -701,10 +701,11 @@ function DeviceFrame({
|
|
|
701
701
|
children: /* @__PURE__ */ jsx(DeviceErrorBoundary, { children })
|
|
702
702
|
}
|
|
703
703
|
),
|
|
704
|
-
DeviceSVGComponent && /* @__PURE__ */
|
|
705
|
-
|
|
704
|
+
DeviceSVGComponent && /* @__PURE__ */ jsxs(
|
|
705
|
+
"div",
|
|
706
706
|
{
|
|
707
|
-
|
|
707
|
+
ref: frameOverlayRef,
|
|
708
|
+
className: "bielaframe-svg-overlay",
|
|
708
709
|
style: {
|
|
709
710
|
position: "absolute",
|
|
710
711
|
top: 0,
|
|
@@ -712,10 +713,24 @@ function DeviceFrame({
|
|
|
712
713
|
width: frameTotalW,
|
|
713
714
|
height: frameTotalH,
|
|
714
715
|
pointerEvents: "none",
|
|
715
|
-
zIndex: 10
|
|
716
|
-
|
|
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
|
+
]
|
|
717
732
|
}
|
|
718
|
-
)
|
|
733
|
+
),
|
|
719
734
|
showSafeAreaOverlay && /* @__PURE__ */ jsx(
|
|
720
735
|
"div",
|
|
721
736
|
{
|