Repository navigation
2.0.0
This version of the package is a complete rewrite of the previous version. We have rewritten the component to address some limitations of the previous version, particularly with multiple panes. We have made the Split.Resizer component visible and usable so that it can be customized and managed more easily. The API has changed, and some props have been removed or modified.
✨ Improvements
- Improved management of the
growprop for both horizontal and vertical resizing - Improved the management of minimum and maximum width and height, along with the initial sizes
- The drag has been improved for greater precision when reaching the edges of the plane, as well as when reaching the minimum and maximum sizes. Same for the keyboard
🙌 Changes
- Changed resizer hover color to use the default Mantine primary color for enhanced visual consistency
- Improved visual clarity by updating the knob hover color to default white, enhancing contrast with the resizer background
🩹 Fixes
- Reduced unnecessary animation overhead when updating orientation settings
- Fixed management of container borders and sizing to improve layout precision and rendering stability
⚠️ Breaking changes
- Added the new
Split.Resizercomponent to manage the resizer between the panes. TheSplit.Resizercomponent is now a child of theSplitcomponent and is used to manage the resizing of the panes. - The
Splitcomponent structure has changed. TheSplitcomponent now needs theSplit.Panecomponent as as well as theSplit.Resizercomponent. - The
Split.Panecomponent props have changed. We have moved the resizer props to theSplit.Resizercomponent. TheSplit.Panecomponent now only accepts props related to the pane itself. - The
Split.PaneonDoubleClickprop has been removed. You can now use theonResetInitialSizeevent to manage the double click event. TheonResetInitialSizeevent is triggered when the user double clicks on the resizer to reset the initial size of the pane. - You can still use the
onDoubleClickprop to manage the double click event in theSplit.Resizercomponent. - The
stepandshiftStepprops are now accessible both for theSplitandSplit.Resizercomponents. Those props are not accessible for theSplit.Panecomponent.
What's Changed
New Contributors
Full Changelog: 1.1.7...2.0.0