Skip to content

4.23.0

Choose a tag to compare

@bvaughn bvaughn released this 15 Nov 18:28
· 9 commits to main since this release
  • Workspace:
    • Add the onBeforeModelChange prop, which can block changes the user makes (e.g. closing a tab with unsaved changes). - #819, #836
    • Add the resizeSplit method, which sets the sizes of a split's children by id (e.g. to apply a saved preset). - #810, #836
    • Add the dragSourceInfo prop, which tells the workspace a tab is dragged into where it came from (passed to its disableDrop and onModelChanged). - #815, #836
    • Add the target and size options to the addTab method (and region and size to ParentTabset.addTab), e.g. to add a tab in a new tabset below another one. - #811
    • The classNames and styles props can have functions of the tabset, tab, or split being styled (and its state), e.g. to style tabsets by their data. - #812
    • Add the lazyTabContent prop, which doesn't mount a tab's content until the tab is first shown. - #817
    • hiddenTabBehavior now applies to tabs that aren't visible, not just to tabs that aren't selected: the selected tabs of collapsed tabsets (and of tabsets covered by a maximized tabset) are unmounted ("unmount") or hidden ("activity") too. - #817