Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1545c74
feat: add resizable drawer feature
QdabuliuQ Aug 13, 2025
9d462a0
fix: reset tsconfig include paths for .dumi directory
QdabuliuQ Aug 13, 2025
e16a142
feat: refactor resizable drawer to use drag hook
QdabuliuQ Aug 15, 2025
dac7c38
fix: vertical motion and overflow handling in DrawerPopup
QdabuliuQ Aug 15, 2025
5341916
feat: improve Drawer resizable logic and add tests
QdabuliuQ Aug 15, 2025
5592224
chore: reformat API props in README
QdabuliuQ Aug 15, 2025
03ee1ab
fix: resizable drawer logic and useDrag hook
QdabuliuQ Aug 15, 2025
eb6caef
chore: remove redundant comments in DrawerPopup.tsx
QdabuliuQ Aug 15, 2025
0182315
chore: update resizable drawer tests
QdabuliuQ Aug 16, 2025
0134a9a
chore: remove redundant comments from drawer menu tests
QdabuliuQ Aug 16, 2025
343dc2b
feat: refactor resizable drawer to support controlled and uncontrolle…
QdabuliuQ Aug 19, 2025
245b1ea
chore: reset README.md
QdabuliuQ Aug 19, 2025
778d6b5
chore: reset README.md
QdabuliuQ Aug 19, 2025
30c8ce7
chore: reset README.md
QdabuliuQ Aug 19, 2025
43fa0cd
chore: modify README.md
QdabuliuQ Aug 19, 2025
b8d95b5
chore: modify README.md
QdabuliuQ Aug 19, 2025
fae8cd3
chore: make resizable onResize callback optional
QdabuliuQ Aug 19, 2025
73c71b8
fix: update resizable prop to use optional callbacks
QdabuliuQ Aug 19, 2025
3e311bb
fix: optional chaining on resizable callbacks
QdabuliuQ Aug 19, 2025
0759630
fix: remove resizable prop from modal example
QdabuliuQ Aug 21, 2025
ded0c52
fix: refactor Drawer width and DrawerPopup sizing logic
QdabuliuQ Aug 26, 2025
a0087a8
feat: modify size logic and test units
QdabuliuQ Aug 27, 2025
ba6e05a
fix: modify isControlled logic and test units
QdabuliuQ Aug 27, 2025
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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ ReactDom.render(
| prefixCls | string | 'drawer' | prefix class |
| width | string \| number | null | drawer content wrapper width, drawer level transition width |
| height | string \| number | null | drawer content wrapper height, drawer level transition height |
| defaultWidth | string \| number | null | default width for uncontrolled resizable drawer |
| defaultHeight | string \| number | null | default height for uncontrolled resizable drawer |
| open | boolean | false | open or close menu |
| defaultOpen | boolean | false | default open menu |
| placement | string | `left` | `left` `top` `right` `bottom` |
Expand All @@ -64,6 +66,7 @@ ReactDom.render(
| onClose | func | null | close click function |
| keyboard | boolean | true | Whether support press esc to close |
| autoFocus | boolean | true | Whether focusing on the drawer after it opened |
| resizable | { onResize?: (size: number) => void; onResizeStart?: () => void; onResizeEnd?: () => void; } | - | Resizable configuration with optional callbacks |
| onMouseEnter | React.MouseEventHandler\<HTMLDivElement\> | - | Trigger when mouse enter drawer panel |
| onMouseOver | React.MouseEventHandler\<HTMLDivElement\> | - | Trigger when mouse over drawer panel |
| onMouseLeave | React.MouseEventHandler\<HTMLDivElement\> | - | Trigger when mouse leave drawer panel |
Expand Down
Loading