Skip to content

Releases: phoenixwong/vue2-timepicker

v1.0.0-beta.1

26 Aug 16:27
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

New

  • New minute-range and second-range support. Companioned with hide-disabled-minutes and hide-disabled-seconds.
  • New hide-disabled-items property for hiding all excluded items (hour, minute and seconds) at a time.

v1.0.0-beta.0

24 Aug 11:31
Compare
Choose a tag to compare
v1.0.0-beta.0 Pre-release
Pre-release

Breaking Changes

⚠️ IMPORTANT: The default import source in 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

12 Aug 16:04
Compare
Choose a tag to compare
v0.2.2-rc.0 Pre-release
Pre-release

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

10 Aug 10:01
5a39bd2
Compare
Choose a tag to compare

Fixes

Fixes v-model watcher for cases like changing the input value programmatically (non-user behavior). (#27, #44, #50)

Improvements

Added displayTime in the return data of @change event.

v0.2.1

09 Aug 16:34
Compare
Choose a tag to compare

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

10 Aug 09:10
Compare
Choose a tag to compare

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 of hour-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 before 1 in the hour select for 12-hour format (hh and h). It will be more natural, especially when paired with hour-range.
  • Support name parameter as regular form inputs. (#42, Thanks to @dilipgurung)
  • Emit open and close events to help to track the dropdown toggle status. (#35, Thanks to @tprashan)

v0.1.3

08 Nov 16:16
Compare
Choose a tag to compare

Improvement: Add support to <label for="...">

v0.1.2

05 Nov 06:35
Compare
Choose a tag to compare

NEW: Release the dist files

v0.1.1

29 Oct 14:58
Compare
Choose a tag to compare

The first notable release of Vue2 Timepicker