Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@DoritoBandito DoritoBandito released this 10 May 02:48
· 3 commits to master since this release
12b3e98

Major release from 1.2.2.

Breaking changes:

  • :fileChangedCallback has been changed to emit an event. Use @file-updated event now, see readme for example.

Minor changes:

  • Added fixedWidth prop
  • Added labelClass prop
  • Added maxWidth prop
  • Added noTitleUpdate prop which will prevent the button title updating with the file name upon file change
  • Removed uniqueId prop, will have uniqueId by default
  • If noTitleUpdate prop is set to false, which it is by default, upon uploading a file the name of the button will change to the file name.

Thank you to @X1machinemaker1X for refactoring the fileChangedCallback to emit.