Skip to content

Widgets v6 migration guide / breaking changes #667

Closed
@tomdye

Description

@tomdye

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


Enhanced Text Input

DELETED

PRs


Dialog

Added

  • open class alongside 'root' when dialog is open
  • underlayEnterAnimation/ 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 of 600. If no collapseWidth 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

PRs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions