Releases: phoenixwong/vue2-timepicker
v1.0.0-beta.1
New
- New
minute-range
andsecond-range
support. Companioned withhide-disabled-minutes
andhide-disabled-seconds
. - New
hide-disabled-items
property for hiding all excluded items (hour, minute and seconds) at a time.
v1.0.0-beta.0
Breaking Changes
V1.0.0+
is different from the v0.x
versions.
From v1.0.0+
, CSS is excluded from the main source. Please import the CSS file separately.
// v1.0.0+
import VueTimepicker from 'vue2-timepicker'
// -> Imports the JS in UMD form
// CSS
import 'vue2-timepicker/dist/VueTimepicker.css'
Please check the README.md for more available import formats.
// While in the v0.x versions
import VueTimepicker from 'vue2-timepicker'
// -> Imports the *.vue Single File Component together with CSS
New
- Support using String value in
v-model
. - Added
debug-mode
to help developers investigating the input -> output process
Fixes
Added ES "module" and other version fields in package.json to resolving more loader issues. (Thanks to @Trainmaster)
v0.2.2-rc.0
Fixes
Added ES "module" and other version fields in package.json
to resolving more loader issues. (#71, Thanks to @Trainmaster)
Please check the updated documentation here (in the pre-release branch) for the latest import methods.
This pre-release update only involves changes in the package.json
file. The main component functions are intact. For those who do not have bundling issue with v0.2.2, please feel free to stick with that version in the meantime.
v0.2.2
v0.2.1
New
- New
input-class
support. The custom input class will be assigned to the<input type="text">
within the component. (#57, Thanks to @marufmax) - Add support to
placeholder
, just like other regular form elements (#55)
Improvements
Refined @click.stop
logic (#38)
Fixes
Fixes possible loader issue in some Webpack configs (#68, Thanks to @RaphaelJ)
v0.2.0
Breaking Changes
- Upgraded to support more current vue (2.6.10) and vue-cli (3.9.0) with Webpack 4.
New
- New
hour-range
support. Added capability to show which hours are available and disabled the rest. (#63) - New
hide-disabled-hours
. The best companion ofhour-range
, for you to hide unwanted hours in the hour picker. - New
disabled
parameter. To disable dropdown picker and clear button in the UI. (#22)
Improvements
- Put
12
before1
in the hour select for 12-hour format (hh
andh
). It will be more natural, especially when paired withhour-range
. - Support
name
parameter as regular form inputs. (#42, Thanks to @dilipgurung) - Emit
open
andclose
events to help to track the dropdown toggle status. (#35, Thanks to @tprashan)
v0.1.3
Improvement: Add support to <label for="...">
v0.1.2
NEW: Release the dist
files
v0.1.1
The first notable release of Vue2 Timepicker