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: New Component - Resizable #2458

Merged
merged 51 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
3e0d2d7
feat: init resizable
Aug 20, 2024
984c26d
chore: add null check
Aug 20, 2024
2511829
feat: implement resizable
Aug 20, 2024
55dc1a6
feat: implement adapted F/A
Aug 20, 2024
b47acb1
feat: custom handler
Aug 21, 2024
00b085d
feat: add stories to present
Aug 21, 2024
f663147
refactor: remove useless code
Aug 21, 2024
7767f3a
refactor: extract single resizable constants
Aug 22, 2024
5a48d7d
feat: init resize group
Aug 22, 2024
dcfc8af
feat: init group resizable using single foundation
Aug 26, 2024
a3fc082
feat: create test group stories
Aug 26, 2024
22df150
feat: modify resize group
Aug 26, 2024
214465c
feat: implement resize group
Aug 27, 2024
e31f0d8
fix: fix extra squash bug
Aug 28, 2024
66e9abd
fix: fix extra squash caused by min/max prop
Aug 28, 2024
32a1996
fix: extra squash in corner and handler shrink
Aug 28, 2024
7e6d994
chore: init resizable docs
Aug 29, 2024
ffda546
chore: create chinese document demo
Aug 29, 2024
eb36dbc
fix: extra squash caused by handler width
Aug 29, 2024
758335f
chore: doc add onResizeStart
Sep 2, 2024
abcf339
chore: add resizable ts stories
Sep 2, 2024
1f2ccbf
chore: update API in doc
Sep 2, 2024
42f5a26
fix: vertical constraint bug
Sep 2, 2024
1a613e8
chore: add api in doc and english doc
Sep 2, 2024
4646d36
feat: add default style for resize group handler
Sep 2, 2024
894a48c
chore: change according to the review
Sep 4, 2024
2c140ef
fix: fix code according to PR review
Sep 4, 2024
00641b7
feat: implement calculate in group
Sep 5, 2024
cce7918
feat: compliment constraints
Sep 5, 2024
cd8f08d
feat: implement callbacks
Sep 5, 2024
4b17523
refactor: refactor to F/A structure
Sep 5, 2024
2a2248a
feat: sync for resize group
Sep 5, 2024
69317f9
feat: allocate undefined size for item
Sep 6, 2024
dd807a0
feat: auto resize item and warning
Sep 6, 2024
20fe935
feat: modify onChange of resizable
Sep 9, 2024
7f2f50b
feat: manage item size of group as percentage
Sep 9, 2024
2d0372e
feat: support px for resizeItem
Sep 9, 2024
4cd5962
feat: refactor constraints
Sep 10, 2024
9cf071a
feat: fix extra dragging step
Sep 10, 2024
200234f
feat: fix all extra dragging bug
Sep 11, 2024
9dad3e4
feat: refactor css to scss
Sep 11, 2024
06fcb9d
chore:update doc and story using semi token
Sep 12, 2024
fd6fbe1
fix: The context value of resizeGroup is saved using variables to pre…
YyumeiZhang Sep 23, 2024
0fd15bb
chore: remove useless console.log
YyumeiZhang Sep 23, 2024
d0d5f5d
chore: refactor scss and constants file
Sep 26, 2024
e243a6e
Merge branch 'feat/resize_' of https://github.com/Nathon2Y/semi-desig…
Sep 26, 2024
ca6dc6b
Merge remote-tracking branch 'semi/release' into feat/resize_
Sep 26, 2024
7736e92
feat: add new unit to allocate surplus space
Sep 27, 2024
735ae42
refactor: move the events operations to react adapter
Sep 29, 2024
4265d12
feat: support number type for defaultSize of resizeItem and sync doc
Sep 29, 2024
7a0a757
chore: Restore original settings
YyumeiZhang Oct 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"[typescript]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[javascript]": {
"editor.formatOnSave": false,
Expand All @@ -11,7 +11,7 @@
"editor.formatOnPaste": false
},
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[less]": {
"editor.defaultFormatter": "michelemelluso.code-beautifier"
Expand Down
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: 75
order: 76
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: 75
order: 76
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: 76
order: 77
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: 76
order: 77
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: 77
order: 78
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: 77
order: 78
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: 78
order: 79
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: 78
order: 79
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: 79
order: 80
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: 79
order: 80
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: 80
order: 81
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: 80
order: 81
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: 81
order: 82
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: 81
order: 82
category: 反馈类
title: Toast 提示
icon: doc-toast
Expand Down
1 change: 1 addition & 0 deletions content/order.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const order = [
'modal',
'overflowlist',
'popover',
'resizable',
'scrolllist',
'sidesheet',
'table',
Expand Down
2 changes: 1 addition & 1 deletion content/other/configprovider/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: Other
title: ConfigProvider
icon: doc-configprovider
Expand Down
2 changes: 1 addition & 1 deletion content/other/configprovider/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: ConfigProvider 全局配置
icon: doc-configprovider
Expand Down
2 changes: 1 addition & 1 deletion content/other/locale/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: Other
title: LocaleProvider
subTitle: LocaleProvider
Expand Down
2 changes: 1 addition & 1 deletion content/other/locale/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: LocaleProvider 多语言
icon: doc-i18n
Expand Down
2 changes: 1 addition & 1 deletion content/plus/chat/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: Plus
title: Chat
icon: doc-chat
Expand Down
2 changes: 1 addition & 1 deletion content/plus/chat/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 84
order: 85
category: Plus
title: Chat 对话
icon: doc-chat
Expand Down
2 changes: 1 addition & 1 deletion content/show/chart/index-en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: en-US
order: 74
order: 75
category: Show
title: Data Visualization
icon: doc-vchart
Expand Down
2 changes: 1 addition & 1 deletion content/show/chart/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
localeCode: zh-CN
order: 74
order: 75
category: 展示类
title: Data Visualization 数据可视化
icon: doc-vchart
Expand Down
Loading
Loading