This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
Releases: Vuepic/vue3-date-time-picker
Releases · Vuepic/vue3-date-time-picker
v2.1.6
v2.1.5
Note: This version skips one version in history due to re-publish
🐛 Bug Fixes
- Error on teleport target throwing not found error before render
- Unable to select January on month picker mode
- Error on incomplete range picker selection
🔧 Refactor
- Some
css
properties are extracted asscss
variables for easier configuration (#13 ) scss
variable$dp_cell_border_radius
is changed to$dp__cell_border_radius
to follow the patternstate
prop will set the border color as default and not on hover
v2.1.3
v2.1.2
v2.1.1
v2.1.0
⚠️ BREAKING CHANGES
Due to the number of issues on inputmask and the size of the library, it is removed as a dependency.
inputmask
removedtext-input-options
are changed
🚀 Features
monthYearComponent
: Use a custom component in the header for month/year picktimePickerComponent
: Use a custom component for the time pickeractionRowComponent
: Use a custom component for the action row
🐛 Bug Fixes
- Prop type correction for
startTime
- Fix reselecting with enter on text-input selects the old value
🔧 Refactor
- Convert to
<script setup>
- Type declaration added to
package.json
- Pack
date-fns
used functions with build
📝 Chore
- Update dependencies
- Add documentation for custom components
v2.0.0
The component is fully refactored due to the recent features and the planned ones, ease of maintenance and better code organization.
⚠️ BREAKING CHANGES
format
prop is now using string format with Unicode tokens instead of theIntl.DateTimeFormatOptions
object
🚀 Features
textInput
: Allows date selection via text inputtextInputOptions
: ConfiguretextInput
propmonthNameFormat
: Change month names to short or long formatteleport
: Configure teleport targetstartDate
: Set starting position of the calendar, month and yearstartTime
: Set default time in time picker- New emit events added
'textSubmit', 'closed', 'cleared'
- New slots added
'clock-icon', 'arrow-left', 'arrow-right', 'arrow-up', 'arrow-down', 'calendar-icon', 'day', 'action-select', 'action-preview'
🐛 Bug Fixes
- Allowed selecting years out of the provided range
- Month picker left arrow incrementing the year
- Allowed selecting disabled months from the calendar
- Allowed selecting the date out of the year range
- Some CSS adjustments
📝 Docs
- Search is added
- Better prop type and default value overview
- Added methods and events sections
- Playground changed to CodeSandbox
v1.1.1
v1.1.0
🚀 Features
monthPicker
(Select only month and year)timePicker
(Select only time)closeOnAutoApply
(Whether to close the menu when value is selected)
🐛 Bug Fixes
- Not showing the selected date when
autoApply
is enabled - Disabled dates not being disabled
- Missing scss files in build files
🔧 Refactor
autoApply
(Event based update, it will close the menu only on date selection)- Clicking clear will close the menu if opened
- Removed unnecessary type declaration from the build files