Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adapt combo, add drag-element / collapse-expand behaviors #5543

Merged
merged 25 commits into from Mar 15, 2024

Conversation

Aarebecca
Copy link
Contributor

@Aarebecca Aarebecca commented Mar 15, 2024

Double click to expand collapse
dblclick

Drag to move
drag-move

Drag to link
drag-link

适配 Combo

  • 支持 Combo 绘制
  • 支持 Combo 展开收起
  • 提供 Combo 拖拽交互 DragElement
  • 提供 Combo 双击展开/收起交互 CollapseExpand

待办

  • 添加官网 Demo

  • Support draw Combo
  • Support collapse / expand Combo
  • Provide DragElement Behavior to drag combo
  • Provide CollapseExpand Behavior that can collapse / expand combo by double click

Todo

  • Add Site Demos

*
* <en/> Callback when expand is completed
*/
onexpand?: (id: ID) => void;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

驼峰。

@@ -179,6 +178,8 @@ export const light: Theme = {
enter: 'fade',
exit: 'fade',
visibility: 'fade',
expand: 'combo-collapse-expand',
collapse: 'combo-collapse-expand',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

后面去掉依赖关系。

@Aarebecca Aarebecca changed the title feat: adapt combo, add drag-element / collapse-expan behaviors feat: adapt combo, add drag-element / collapse-expand behaviors Mar 15, 2024
@Aarebecca Aarebecca merged commit a0c131b into v5 Mar 15, 2024
3 checks passed
@Aarebecca Aarebecca deleted the refactor/fit-combo-2 branch March 15, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants