Skip to content

v1.11.1

Latest
Compare
Choose a tag to compare
@sujan-s sujan-s released this 11 Dec 00:58
· 49 commits to main since this release
d8dc82e

⚠️ BREAKING CHANGES ⚠️

  • Overhaul all form components to follow a state-led onChange handling, instead of mucking around with direct DOM
    events, meaning instead of onChange={e => doSomething(e.target.value)} you can now just do onChange={value => setValue(value)} and do whatever you want using the useState hook.

GENERIC CHANGES

  • Add CheckboxGroup and SwitchGroup components, that work in the same way as RadioGroup
  • Add FileUpload component with drag-and-drop support
  • Revamp FileUpload with drag-and-drop support and multiple file upload support
  • Textarea now has a charLimit and wordLimit props, along with warning and error messages