Skip to content

Releases: developit/preact-mdl

2.2.2

22 Sep 19:04
Compare
Choose a tag to compare
  • Set input as invalid if errorMessage is set (#31)
  • Fix TypeScript def for ComponentProps generic (#41, #42)
  • Fix Navigation component failing when there are no attributes on its children.

2.2.0

03 Feb 17:17
Compare
Choose a tag to compare
  • Fix add is-invalid class to <TextField> when errorMessage is set (#30, thanks @TheNeikos!)

2.1.0

28 Jan 22:38
Compare
Choose a tag to compare
  • Proxy <Dialog>'s .open() and .close() methods (#26, thanks @prateekbh!)
  • Normalize class/className for all gets/sets (#27)

2.0.0

28 Jan 22:37
Compare
Choose a tag to compare
  • Update for preact 7. this lib now requires preact 7+

1.3.1

07 Oct 16:08
Compare
Choose a tag to compare
  • Support children in <Snackbar /> component
  • Welcome the great @impronunciable as a collaborator!

1.3.0

14 Apr 12:42
Compare
Choose a tag to compare
  • Add support for <TextField /> errorMessage prop (thanks @joakimbeng!)

    The errorMessage property should be used together with the pattern property. The error message will be shown if the input does not match given pattern. See MDL TextField docs.

1.2.1

14 Apr 12:43
Compare
Choose a tag to compare
  • Simplify Snackbar component (h/t @unindented!)
  • Allow use with any version of preact

1.2.0

22 Feb 12:44
Compare
Choose a tag to compare

1.1.0

10 Feb 14:42
Compare
Choose a tag to compare

1.0.0

10 Feb 14:41
Compare
Choose a tag to compare
  • Breaking Change: preact-mdl no longer includes material-design-lite out of the box. Install it however you wish, and preact-mdl will attach to it globally.