Skip to content

Releases: DoritoBandito/vuetify-upload-button

Release 2.0.2

25 Jun 10:19
Compare
Choose a tag to compare

This release replaces document.getElementById with $refs to allow support for Nuxt.

Thank you to @MartinMuzatko for the contribution.

Release 2.0.0

10 May 02:48
12b3e98
Compare
Choose a tag to compare

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.

1.2.2

21 Dec 07:01
Compare
Choose a tag to compare

This release fixes the following issues:

  • flat: flat prop now makes button flat by setting color to nothing.
  • outline: removed box shadow on outline by adding depressed class.

Release 1.2.1

22 Nov 09:47
5dee1d0
Compare
Choose a tag to compare

This release fixes the ripple directive on the upload button.

Release 1.2.0

01 Nov 04:13
544729f
Compare
Choose a tag to compare

This release adds these features:

  • 'multiple' prop. Sets input to allow multiple file selections and returns an object array on callback instead of object.
  • 'depressed' prop. Depresses button if true (removes box shadow).
  • 'uniqueId' prop. If true, input Id will be unique to allow re-use of component on same page multiple times.
  • 'icon-left' slot. Added icon-left slot to allow for icons on the left of button instead of right, or both.
  • updated README with callback example and icon-left.

Release 1.1.0

20 Aug 11:25
8d531d0
Compare
Choose a tag to compare

Adds props:

  • name: sets HTML name attribute of input
  • accept: sets HTML accept attribute of input

Closes:
#1

Release 1.0.0

07 Aug 09:01
719db5e
Compare
Choose a tag to compare

Support for Vuetify 1.0.0-1.1.9 at time of publish