Closed
Description
Issue to capture breaking changes and migration guide for v5 -> v6.
Please fill in below, this will form part of a migration guide going forward.
TextInput
Removed
invalid
labelAfter
Added
customValidator?: (value: string) => { valid?: boolean; message?: string; } | void;
onValidate?: (valid: boolean | undefined, message: string) => void;
leading?: () => DNode;
trailing?: () => DNode;
helperText?: string;
PRs
- Create Helper text widget, use for text-input / area #682
- 676: Merge enhanced / standard text inputs #680
- Simplify Input Validation #679
- Add validation support for text-input #664
Enhanced Text Input
DELETED
PRs
Dialog
Added
open
class alongside 'root' when dialog is openunderlayEnterAnimation
/underlayExitAnimation
properties- Ability to set any of the enter / exit animations to
null
to stop any animation from running
PRs
Textarea
Removed
labelAfter
Added
helperText?: string;
PRs
SplitPane
Removed
- default
collapseWidth
of600
. If nocollapseWidth
is passed it will no longer collapse
PRs
Select
Removed
labelAfter
Added
helperText?: string
PRs
Toolbar
Added
.actions
wrapper for toolbar actions which will automatically switch from row to column view when menu is collapsed into slide pane.align
option to set the alignment of the embedded SlidePan that is displayed on narrow screens