This release adds support for full interaction with embedded text fields and other interactive elements in ListView and TreeView with the new keyboardNavigationBehavior prop. Menu exposes a dependencies prop for dynamic item collections, and CenterBaseline is now exported from Spectrum 2 to help make custom styles even easier.
Changelog
General Changes
- Export
CenterBaselinecomponent from Spectrum 2 for aligning inline icons with text baseline - @yihuiliao - PR, PR
ButtonGroup
- Fix overflow detection for buttons whose labels contain no line-break - @yihuiliao - PR, PR
ListView
- Add
keyboardNavigationBehaviorprop to support textfield's and other interactive elements inside rows - @LFDanLu - PR
Menu
- Expose
dependenciesprop on Menu to allow dynamic item collections to re-render in response to external state changes - @devongovett - PR
Popover
- Expose
isNonModalprop on Popover for use cases where focus should not be trapped when the popover is open - @devongovett - PR
TableView
- Improve focus ring styling - @yihuiliao - PR
Tabs
- Fix infinite render loop when Tabs are rendered inside a DropZone - @reidbarber - PR