@cniot/mdd-editor 0.3.4 → 0.3.6

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/README.MD CHANGED
@@ -1,3 +1,16 @@
1
+ # 0.3.6
2
+
3
+ - fix: 修复“同步本地更改”后,编辑器面板刷新时可能重复初始化 `react-dnd-html5-backend`,导致 `Cannot have two HTML5 backends at the same time.` 的问题。
4
+ - fix: 统一编辑器内拖拽上下文,表格类配置组件复用共享 DnD Provider,避免多个可拖拽配置区同时渲染或重挂载时重复创建 HTML5 backend。
5
+ - chore: 显式补充 `dnd-core` 依赖,保证共享 DragDropManager 在包发布和独立使用场景下依赖完整。
6
+ - upgrade: 建议存在本地 AI 工作区同步能力的页面升级到 `@cniot/mdd-editor >= 0.3.6`,尤其是会只修改 `mdd.style.less` 后点击“同步本地更改”的场景。
7
+
8
+ # 0.3.5
9
+
10
+ - feat: 本地修改 diff 支持左右对照查看,按文件展示“上次发送”和“本地修改”,滚动时两侧天然同步。
11
+ - feat: diff 查看支持 JSON、JSX、LESS 轻量语法高亮,并保留旧 bridge 的文本 diff 回退。
12
+ - chore: 推荐配套版本为 `@cniot/mdd-editor >= 0.3.5` + `@cniot/mdd-ai-bridge >= 0.1.7`。
13
+
1
14
  # 0.3.4
2
15
 
3
16
  - feat: 优化“本地 AI 工作区”抽屉视觉层级,拆分 Bridge 状态、工作区操作、辅助操作区域,减少按钮拥挤。