Skip to content

Commit

Permalink
[New component] DragMove (#2595)
Browse files Browse the repository at this point in the history
* feat: add DragMove Component

* feat: add DragMove component

* chore: remove useless code

* feat: add DragMove

* chore: storybook example

* fix: Fix the Type error when using class components as children of DragMove

* chore: docs example

---------

Co-authored-by: pointhalo <88709023+pointhalo@users.noreply.github.com>
  • Loading branch information
YyumeiZhang and pointhalo authored Dec 3, 2024
1 parent 52b37b1 commit 28336e4
Show file tree
Hide file tree
Showing 126 changed files with 1,270 additions and 118 deletions.
2 changes: 1 addition & 1 deletion content/feedback/banner/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 78
order: 79
category: Feedback
title: Banner
subTitle: Banner
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/banner/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 78
order: 79
category: 反馈类
title: Banner 通知横幅
icon: doc-banner
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/notification/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 79
order: 80
category: Feedback
title: Notification
subTitle: Notification
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/notification/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 79
order: 80
category: 反馈类
title: Notification 通知
icon: doc-notification
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/popconfirm/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 80
order: 81
category: Feedback
title: Popconfirm
subTitle: Popconfirm
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/popconfirm/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 80
order: 81
category: 反馈类
title: Popconfirm 气泡确认框
icon: doc-popconfirm
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/progress/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 81
order: 82
category: Feedback
title: Progress
subTitle: Progress
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/progress/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 81
order: 82
category: 反馈类
title: Progress 进度条
icon: doc-progress
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/skeleton/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 82
order: 83
category: Feedback
title: Skeleton
subTitle: Skeleton
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/skeleton/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 82
order: 83
category: 反馈类
title: Skeleton 骨架屏
icon: doc-skeleton
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/spin/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 83
order: 84
category: Feedback
title: Spin
subTitle: Spin
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/spin/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 83
order: 84
category: 反馈类
title: Spin 加载器
icon: doc-spin
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/toast/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 84
order: 85
category: Feedback
title: Toast
subTitle: Toast
Expand Down
2 changes: 1 addition & 1 deletion content/feedback/toast/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 84
order: 85
category: 反馈类
title: Toast 提示
icon: doc-toast
Expand Down
2 changes: 1 addition & 1 deletion content/input/autocomplete/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 28
order: 29
category: Input
title: AutoComplete
icon: doc-autocomplete
Expand Down
2 changes: 1 addition & 1 deletion content/input/autocomplete/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 28
order: 29
category: 输入类
title: AutoComplete 自动完成
icon: doc-autocomplete
Expand Down
2 changes: 1 addition & 1 deletion content/input/cascader/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 29
order: 30
category: Input
title: Cascader
subTitle: Cascade
Expand Down
2 changes: 1 addition & 1 deletion content/input/cascader/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 29
order: 30
category: 输入类
title: Cascader 级联选择
icon: doc-cascader
Expand Down
2 changes: 1 addition & 1 deletion content/input/checkbox/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 30
order: 31
category: Input
title: Checkbox
subTitle: Checkbox
Expand Down
2 changes: 1 addition & 1 deletion content/input/checkbox/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 30
order: 31
category: 输入类
title: Checkbox 复选框
icon: doc-checkbox
Expand Down
2 changes: 1 addition & 1 deletion content/input/colorpicker/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 31
order: 32
category: Input
title: ColorPicker
icon: doc-colorPlatteNew
Expand Down
2 changes: 1 addition & 1 deletion content/input/colorpicker/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 31
order: 32
category: 输入类
title: ColorPicker 颜色选择器
icon: doc-colorPlatteNew
Expand Down
2 changes: 1 addition & 1 deletion content/input/datepicker/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 32
order: 33
category: Input
title: DatePicker
subTitle: Date Selector
Expand Down
2 changes: 1 addition & 1 deletion content/input/datepicker/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 32
order: 33
category: 输入类
title: DatePicker 日期选择器
icon: doc-datepicker
Expand Down
2 changes: 1 addition & 1 deletion content/input/form/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 33
order: 34
category: Input
title: Form
subTitle: Form
Expand Down
2 changes: 1 addition & 1 deletion content/input/form/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 33
order: 34
category: 输入类
title: Form 表单
icon: doc-form
Expand Down
2 changes: 1 addition & 1 deletion content/input/input/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 34
order: 35
category: Input
title: Input
subTitle: Input
Expand Down
2 changes: 1 addition & 1 deletion content/input/input/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 34
order: 35
category: 输入类
title: Input 输入框
icon: doc-input
Expand Down
2 changes: 1 addition & 1 deletion content/input/inputnumber/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 35
order: 36
category: Input
title: InputNumber
subTitle: InputNumber
Expand Down
2 changes: 1 addition & 1 deletion content/input/inputnumber/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 35
order: 36
category: 输入类
title: InputNumber 数字输入框
icon: doc-inputnumber
Expand Down
2 changes: 1 addition & 1 deletion content/input/pincode/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 36
order: 37
category: Input
title: PinCode
icon: doc-pincode
Expand Down
2 changes: 1 addition & 1 deletion content/input/pincode/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 36
order: 37
category: 输入类
title: PinCode 验证码输入
icon: doc-pincode
Expand Down
2 changes: 1 addition & 1 deletion content/input/radio/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 37
order: 38
category: Input
title: Radio
subTitle: Radio
Expand Down
2 changes: 1 addition & 1 deletion content/input/radio/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 37
order: 38
category: 输入类
title: Radio 单选框
icon: doc-radio
Expand Down
2 changes: 1 addition & 1 deletion content/input/rating/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 38
order: 39
category: Input
title: Rating
subTitle: Rating
Expand Down
2 changes: 1 addition & 1 deletion content/input/rating/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 38
order: 39
category: 输入类
title: Rating 评分
icon: doc-rating
Expand Down
2 changes: 1 addition & 1 deletion content/input/select/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 39
order: 40
category: Input
title: Select
subTitle: Select
Expand Down
2 changes: 1 addition & 1 deletion content/input/select/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 39
order: 40
category: 输入类
title: Select 选择器
icon: doc-select
Expand Down
2 changes: 1 addition & 1 deletion content/input/slider/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 40
order: 41
category: Input
title: Slider
subTitle: Slider
Expand Down
2 changes: 1 addition & 1 deletion content/input/slider/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 40
order: 41
category: 输入类
title: Slider 滑动选择器
icon: doc-slider
Expand Down
2 changes: 1 addition & 1 deletion content/input/switch/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 41
order: 42
category: Input
title: Switch
subTitle: Switch
Expand Down
2 changes: 1 addition & 1 deletion content/input/switch/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 41
order: 42
category: 输入类
title: Switch 开关
icon: doc-switch
Expand Down
2 changes: 1 addition & 1 deletion content/input/taginput/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 42
order: 43
category: Input
title: TagInput
subTitle: TagInput
Expand Down
2 changes: 1 addition & 1 deletion content/input/taginput/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 42
order: 43
category: 输入类
title: TagInput 标签输入框
icon: doc-tagInput
Expand Down
2 changes: 1 addition & 1 deletion content/input/timepicker/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 43
order: 44
category: Input
title: TimePicker
subTitle: TimePicker
Expand Down
2 changes: 1 addition & 1 deletion content/input/timepicker/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 43
order: 44
category: 输入类
title: TimePicker 时间选择器
icon: doc-timepicker
Expand Down
2 changes: 1 addition & 1 deletion content/input/transfer/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 44
order: 45
category: Input
title: Transfer
icon: doc-transfer
Expand Down
2 changes: 1 addition & 1 deletion content/input/transfer/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 44
order: 45
category: 输入类
title: Transfer 穿梭框
icon: doc-transfer
Expand Down
2 changes: 1 addition & 1 deletion content/input/treeselect/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 45
order: 46
category: Input
title: TreeSelect
subTitle: TreeSelect
Expand Down
2 changes: 1 addition & 1 deletion content/input/treeselect/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 45
order: 46
category: 输入类
title: TreeSelect 树选择器
icon: doc-treeselect
Expand Down
Loading

0 comments on commit 28336e4

Please sign in to comment.