@mmtitanl/tablets 0.2.0 → 0.3.0
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 +1888 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1888 -4
- package/dist/index.js.map +1 -1
- package/package.json +12 -3
package/dist/index.d.cts
CHANGED
|
@@ -46,6 +46,10 @@ interface CustomDevicePersisted {
|
|
|
46
46
|
svgString: string;
|
|
47
47
|
frame: DeviceFrameInfo;
|
|
48
48
|
screenRect: SVGScreenRect;
|
|
49
|
+
/** Opt-in: punch a transparent hole in the screen rect. Only needed for SVGs
|
|
50
|
+
* whose screen area is opaque. Default false → raw SVG renders on top of the
|
|
51
|
+
* iframe, painted overlays (clock, island) preserved. */
|
|
52
|
+
dieCutScreen?: boolean;
|
|
49
53
|
landscape?: {
|
|
50
54
|
svgString: string;
|
|
51
55
|
frame: DeviceFrameInfo;
|
package/dist/index.d.ts
CHANGED
|
@@ -46,6 +46,10 @@ interface CustomDevicePersisted {
|
|
|
46
46
|
svgString: string;
|
|
47
47
|
frame: DeviceFrameInfo;
|
|
48
48
|
screenRect: SVGScreenRect;
|
|
49
|
+
/** Opt-in: punch a transparent hole in the screen rect. Only needed for SVGs
|
|
50
|
+
* whose screen area is opaque. Default false → raw SVG renders on top of the
|
|
51
|
+
* iframe, painted overlays (clock, island) preserved. */
|
|
52
|
+
dieCutScreen?: boolean;
|
|
49
53
|
landscape?: {
|
|
50
54
|
svgString: string;
|
|
51
55
|
frame: DeviceFrameInfo;
|