Commit 9f2070c
feat: add resizable drawer feature (#528)
* feat: add resizable drawer feature
* fix: reset tsconfig include paths for .dumi directory
* feat: refactor resizable drawer to use drag hook
* fix: vertical motion and overflow handling in DrawerPopup
* feat: improve Drawer resizable logic and add tests
* chore: reformat API props in README
* fix: resizable drawer logic and useDrag hook
* chore: remove redundant comments in DrawerPopup.tsx
* chore: update resizable drawer tests
* chore: remove redundant comments from drawer menu tests
* feat: refactor resizable drawer to support controlled and uncontrolled modes
* chore: reset README.md
* chore: reset README.md
* chore: reset README.md
* chore: modify README.md
* chore: modify README.md
* chore: make resizable onResize callback optional
* fix: update resizable prop to use optional callbacks
* fix: optional chaining on resizable callbacks
* fix: remove resizable prop from modal example
* fix: refactor Drawer width and DrawerPopup sizing logic
* feat: modify size logic and test units
* fix: modify isControlled logic and test units
* chore: adjust logic to merge code
* chore: clean up
* chore: fallback
* chore: adjust style
* chore: test coverage
---------
Co-authored-by: 二货机器人 <[email protected]>1 parent 88a9f6d commit 9f2070c
File tree
14 files changed
+1113
-255
lines changed- assets
- docs
- demo
- examples
- assets
- src
- hooks
- tests
14 files changed
+1113
-255
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
0 commit comments