@tmagic/editor 1.1.0 → 1.1.3
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 +7 -4
- package/dist/tmagic-editor.mjs +213 -181
- package/dist/tmagic-editor.mjs.map +1 -1
- package/dist/tmagic-editor.umd.js +213 -181
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/package.json +7 -7
- package/src/Editor.vue +13 -3
- package/src/components/Icon.vue +6 -4
- package/src/index.ts +0 -2
- package/src/layouts/sidebar/ComponentListPanel.vue +78 -90
- package/src/layouts/sidebar/Sidebar.vue +4 -0
- package/src/layouts/sidebar/TabPane.vue +12 -0
- package/src/layouts/workspace/PageBar.vue +1 -1
- package/src/layouts/workspace/PageBarScrollContainer.vue +13 -3
- package/src/layouts/workspace/Stage.vue +2 -2
- package/src/services/editor.ts +10 -4
- package/src/services/ui.ts +1 -0
- package/src/theme/component-list-panel.scss +0 -5
- package/src/theme/content-menu.scss +4 -0
- package/src/theme/icon.scss +6 -0
- package/src/theme/index.scss +1 -0
- package/src/type.ts +2 -0
- package/types/Editor.vue.d.ts +1 -1
- package/types/index.d.ts +0 -1
- package/types/layouts/sidebar/ComponentListPanel.vue.d.ts +50 -12
- package/types/services/ui.d.ts +1 -0
- package/types/type.d.ts +2 -0
- package/src/utils/polyfills.ts +0 -8
- package/types/utils/polyfills.d.ts +0 -0
package/dist/style.css
CHANGED
|
@@ -399,10 +399,6 @@
|
|
|
399
399
|
color: #fff;
|
|
400
400
|
border-color: #4e8be1;
|
|
401
401
|
}
|
|
402
|
-
.ui-component-panel .el-collapse-item__wrap .component-item img {
|
|
403
|
-
max-width: 100%;
|
|
404
|
-
max-height: 100%;
|
|
405
|
-
}
|
|
406
402
|
.ui-component-panel .el-collapse-item__wrap .component-item span {
|
|
407
403
|
font-size: 12px;
|
|
408
404
|
text-align: center;
|
|
@@ -578,6 +574,9 @@
|
|
|
578
574
|
.magic-editor-content-menu .menu-item i {
|
|
579
575
|
color: #070303;
|
|
580
576
|
}
|
|
577
|
+
.magic-editor-content-menu .menu-item .magic-editor-icon {
|
|
578
|
+
margin-right: 5px;
|
|
579
|
+
}
|
|
581
580
|
.magic-editor-content-menu .menu-item.divider {
|
|
582
581
|
padding: 0 14px;
|
|
583
582
|
}
|
|
@@ -613,4 +612,8 @@
|
|
|
613
612
|
}
|
|
614
613
|
.magic-code-editor .margin {
|
|
615
614
|
margin: 0;
|
|
615
|
+
}
|
|
616
|
+
.magic-editor-icon img {
|
|
617
|
+
max-width: 100%;
|
|
618
|
+
max-height: 100%;
|
|
616
619
|
}
|