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