@tmagic/editor 1.3.11 → 1.3.12
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 +3 -2
- package/dist/tmagic-editor.js +428 -363
- package/dist/tmagic-editor.umd.cjs +427 -361
- package/package.json +11 -11
- package/src/Editor.vue +28 -21
- package/src/components/SplitView.vue +1 -1
- package/src/editorProps.ts +25 -12
- package/src/hooks/use-stage.ts +3 -1
- package/src/index.ts +1 -0
- package/src/layouts/sidebar/ComponentListPanel.vue +2 -2
- package/src/layouts/workspace/Workspace.vue +11 -4
- package/src/layouts/workspace/viewer/Stage.vue +11 -5
- package/src/layouts/workspace/viewer/StageOverlay.vue +55 -5
- package/src/services/editor.ts +5 -6
- package/src/services/stageOverlay.ts +182 -0
- package/src/theme/stage.scss +3 -2
- package/src/type.ts +25 -12
- package/types/editorProps.d.ts +25 -12
- package/types/index.d.ts +1 -0
- package/types/layouts/workspace/Workspace.vue.d.ts +19 -3
- package/types/layouts/workspace/viewer/Stage.vue.d.ts +19 -3
- package/types/services/editor.d.ts +1 -1
- package/types/services/stageOverlay.d.ts +22 -0
- package/types/type.d.ts +24 -12
- package/src/hooks/use-stage-overlay.ts +0 -158
- package/types/hooks/use-stage-overlay.d.ts +0 -7
package/dist/style.css
CHANGED
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
top: 0;
|
|
610
610
|
width: 100%;
|
|
611
611
|
height: 100%;
|
|
612
|
-
background-color:
|
|
612
|
+
background-color: #fff;
|
|
613
613
|
display: flex;
|
|
614
614
|
z-index: 20;
|
|
615
615
|
overflow: auto;
|
|
@@ -618,10 +618,11 @@
|
|
|
618
618
|
position: relative;
|
|
619
619
|
flex-shrink: 0;
|
|
620
620
|
margin: auto;
|
|
621
|
+
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
|
|
621
622
|
}
|
|
622
623
|
.m-editor-stage-overlay-close.tmagic-design-icon {
|
|
623
624
|
position: fixed;
|
|
624
|
-
right:
|
|
625
|
+
right: 20px;
|
|
625
626
|
top: 10px;
|
|
626
627
|
}
|
|
627
628
|
.m-editor-stage-float-button {
|