66 Commits

Author SHA1 Message Date
roymondchen
0397c6887a feat(stage): runtime添加getApp方法 2022-05-27 18:48:55 +08:00
roymondchen
8452daf0e0 fix(stage): 页面小于画布时,滚动位置修复 2022-05-27 18:48:55 +08:00
roymondchen
019cfc7e93 feat(stage): 本地缓存参考线,刷新页面不会清空 2022-05-27 18:48:55 +08:00
roymondchen
ab4eaad0b7 refactor(stage): 添加注释 2022-05-27 18:48:55 +08:00
roymondchen
1601cefb7f v1.0.0-rc.3 2022-05-25 14:27:43 +08:00
roymondchen
dbcd4201ea fix(stage): 只有当组件不在视窗内才自动滚动,新增scrollIntoView配置 2022-05-25 14:22:28 +08:00
roymondchen
e7b9123fd5 v1.0.0-rc.2 2022-05-24 21:24:54 +08:00
roymondchen
50937c2867 feat(editor): 选中组件,组件自动滚动到视窗内 2022-05-24 21:19:20 +08:00
roymondchen
d47828976a feat(stage): 选中节点时,给所有父节点添加一个className 2022-05-24 20:49:58 +08:00
roymondchen
41dbb0ec80 v1.0.0-rc.1 2022-05-18 17:56:28 +08:00
roymondchen
6462dcebdf v1.0.0-beta.16 2022-05-17 16:21:40 +08:00
roymondchen
00bc52c639 v1.0.0-beta.15 2022-05-11 18:40:00 +08:00
roymondchen
8eda764f1e chore: 修改sideEffects 2022-05-11 18:38:17 +08:00
jia000
6b5ad8c5ae Revert "feat(editor): 选中组件后自动滚动到组件位置"
This reverts commit d23a318003e9d6dad1480df560fb36ac3005554f.
2022-05-07 20:17:00 +08:00
roymondchen
d23a318003 feat(editor): 选中组件后自动滚动到组件位置 2022-05-07 19:58:37 +08:00
roymondchen
ca97e2410b v1.0.0-beta.14 2022-05-07 17:10:14 +08:00
parisma
4f4ed9c61b fix: 删除无用的方法 2022-05-07 14:51:51 +08:00
parisma
15b202a9be fix(highlight): 修复固定定位和弹窗场景下鼠标高亮偏移的问题 2022-04-28 20:50:08 +08:00
roymondchen
c8542367db chore(stage): 升级moveable 2022-04-26 17:54:57 +08:00
roymondchen
2f8f81afb3 v1.0.0-beta.13 2022-04-22 13:24:31 +08:00
roymondchen
94debf51c0 fix(stage): 页面高度比画布小时,滚动画布出现异常 2022-04-22 12:16:39 +08:00
roymondchen
9d46305d2a chore: 更新npm依赖 2022-04-14 15:48:53 +08:00
roymondchen
9c540f569c v1.0.0-beta.12 2022-04-13 17:17:14 +08:00
roymondchen
0faabcb3ca fix(stage): 修复添加组件后没有自动选中问题 2022-04-13 17:17:14 +08:00
roymondchen
9cb821c491 fix(stage): 修复鼠标移出画布后,highlight没有清除 2022-04-13 17:17:14 +08:00
roymondchen
f7ba716fe9 fix(stage): 修复滚动容器大小发生变化时,导致滚动距离可能超出最大滚动值 2022-04-13 17:17:14 +08:00
roymondchen
ed0a833d9f refactor(stage): hightlight throttleTime调整 2022-04-13 17:17:14 +08:00
roymondchen
067164aadc docs: 添加packages readme 2022-04-13 17:17:14 +08:00
roymondchen
959638c2c5 fix(editor): 修复fix布局的组件没有吸附效果问题 2022-04-13 17:17:14 +08:00
roymondchen
575adb9a5e v1.0.0-beta.11 2022-04-07 19:59:19 +08:00
roymondchen
ece1bab5c0 v1.0.0-beta.10 2022-04-07 19:14:14 +08:00
roymondchen
038ef7cde4 fix(stage): import 了错误的log函数 2022-04-07 19:14:14 +08:00
parisma
121498e81b fix: 修复组件树中hover不存在的id导致高亮边框不消失的问题 2022-04-07 19:01:01 +08:00
parisma
a52d25fb70 fix: 修复快速点选拖动时有残影的问题 2022-04-07 19:01:01 +08:00
roymondchen
39dcd89acf fix(stage): 优化拖拽体验,当选中的节点变化时,重新创建moveable,如果没有变化则update状态 2022-04-07 18:31:37 +08:00
roymondchen
29a9912820 fix(stage): canSelect增加event参数 2022-04-02 20:14:45 +08:00
roymondchen
a842c5b0ce feat: 优化拖拽体验 2022-04-02 12:56:54 +08:00
roymondchen
fb64e078b9 feat(stage): moveable origin改为false 2022-04-01 16:56:59 +08:00
parisma
6a46f98766 fix: 修复页面滚动高亮偏移的问题 2022-04-01 15:35:02 +08:00
roymondchen
f500e51933 v1.0.0-beta.9 2022-03-31 19:46:12 +08:00
roymondchen
759b26481d fix(stage): 修复画布缩放后拖动鼠标漂移 2022-03-31 19:46:12 +08:00
roymondchen
cb4304b6eb feat(stage): 组件对齐不准确,暂时去掉 2022-03-31 19:46:12 +08:00
roymondchen
7f3d6c5438 feat(stage): 增加当前拖动的节点的z-index 2022-03-31 19:46:12 +08:00
roymondchen
bfdd813531 refactor(stage): 优化拖动体验 2022-03-31 19:46:12 +08:00
parisma
148d4547b0 fix: 修复throttle引起的问题 2022-03-31 15:16:32 +08:00
parisma
feb9ac9a81 feat: 编辑器支持鼠标悬停高亮组件 2022-03-31 15:16:32 +08:00
roymondchen
5a85e26443 v1.0.0-beta.8 2022-03-29 13:02:40 +08:00
roymondchen
8619af91db fix(stage): 这有overflow为auto或scroll才在选中的时候设置为hidden 2022-03-29 13:02:40 +08:00
roymondchen
f03281ac6c fix(stage): render destroy后移除load事件 2022-03-29 13:02:40 +08:00
roymondchen
30ad8502c4 fix(stage): drag的时候不update width height 2022-03-29 13:02:40 +08:00