@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/lite.cjs
CHANGED
|
@@ -793,10 +793,11 @@ function DeviceFrame({
|
|
|
793
793
|
children: /* @__PURE__ */ jsxRuntime.jsx(DeviceErrorBoundary, { children })
|
|
794
794
|
}
|
|
795
795
|
),
|
|
796
|
-
DeviceSVGComponent && /* @__PURE__ */ jsxRuntime.
|
|
797
|
-
|
|
796
|
+
DeviceSVGComponent && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
797
|
+
"div",
|
|
798
798
|
{
|
|
799
|
-
|
|
799
|
+
ref: frameOverlayRef,
|
|
800
|
+
className: "bielaframe-svg-overlay",
|
|
800
801
|
style: {
|
|
801
802
|
position: "absolute",
|
|
802
803
|
top: 0,
|
|
@@ -804,10 +805,24 @@ function DeviceFrame({
|
|
|
804
805
|
width: frameTotalW,
|
|
805
806
|
height: frameTotalH,
|
|
806
807
|
pointerEvents: "none",
|
|
807
|
-
zIndex: 10
|
|
808
|
-
|
|
808
|
+
zIndex: 10,
|
|
809
|
+
overflow: "hidden"
|
|
810
|
+
},
|
|
811
|
+
children: [
|
|
812
|
+
/* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: `.bielaframe-svg-overlay svg { width: 100% !important; height: 100% !important; }` } }),
|
|
813
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
814
|
+
DeviceSVGComponent,
|
|
815
|
+
{
|
|
816
|
+
colorScheme,
|
|
817
|
+
style: {
|
|
818
|
+
width: "100%",
|
|
819
|
+
height: "100%"
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
)
|
|
823
|
+
]
|
|
809
824
|
}
|
|
810
|
-
)
|
|
825
|
+
),
|
|
811
826
|
showSafeAreaOverlay && /* @__PURE__ */ jsxRuntime.jsx(
|
|
812
827
|
"div",
|
|
813
828
|
{
|