Releases: DoritoBandito/vuetify-upload-button
Releases · DoritoBandito/vuetify-upload-button
Release 2.0.2
This release replaces document.getElementById with $refs to allow support for Nuxt.
Thank you to @MartinMuzatko for the contribution.
Release 2.0.0
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
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
This release fixes the ripple directive on the upload button.
Release 1.2.0
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
Adds props:
- name: sets HTML name attribute of input
- accept: sets HTML accept attribute of input
Closes:
#1
Release 1.0.0
Support for Vuetify 1.0.0-1.1.9 at time of publish