@tmagic/editor 1.3.10 → 1.3.11
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/style.css +21 -0
- package/dist/tmagic-editor.js +320 -165
- package/dist/tmagic-editor.umd.cjs +343 -188
- package/package.json +11 -11
- package/src/components/ScrollViewer.vue +3 -1
- package/src/hooks/use-node-status.ts +2 -2
- package/src/hooks/use-stage-overlay.ts +158 -0
- package/src/layouts/workspace/viewer/Stage.vue +22 -13
- package/src/layouts/workspace/viewer/StageOverlay.vue +16 -0
- package/src/theme/stage.scss +24 -0
- package/types/components/ScrollViewer.vue.d.ts +1 -0
- package/types/hooks/use-stage-overlay.d.ts +7 -0
- package/types/layouts/workspace/viewer/StageOverlay.vue.d.ts +2 -0
- package/dist/tmagic-editor.js.map +0 -1
- package/dist/tmagic-editor.umd.cjs.map +0 -1
package/dist/style.css
CHANGED
|
@@ -603,6 +603,27 @@
|
|
|
603
603
|
.m-editor-stage-container::-webkit-scrollbar {
|
|
604
604
|
width: 0 !important;
|
|
605
605
|
}
|
|
606
|
+
.m-editor-stage-overlay {
|
|
607
|
+
position: absolute;
|
|
608
|
+
left: 0;
|
|
609
|
+
top: 0;
|
|
610
|
+
width: 100%;
|
|
611
|
+
height: 100%;
|
|
612
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
613
|
+
display: flex;
|
|
614
|
+
z-index: 20;
|
|
615
|
+
overflow: auto;
|
|
616
|
+
}
|
|
617
|
+
.m-editor-stage-overlay-container {
|
|
618
|
+
position: relative;
|
|
619
|
+
flex-shrink: 0;
|
|
620
|
+
margin: auto;
|
|
621
|
+
}
|
|
622
|
+
.m-editor-stage-overlay-close.tmagic-design-icon {
|
|
623
|
+
position: fixed;
|
|
624
|
+
right: 10px;
|
|
625
|
+
top: 10px;
|
|
626
|
+
}
|
|
606
627
|
.m-editor-stage-float-button {
|
|
607
628
|
cursor: pointer;
|
|
608
629
|
transform: translateY(-50%);
|