This repository was 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
cssproperties are extracted asscssvariables for easier configuration (#13 ) scssvariable$dp_cell_border_radiusis changed to$dp__cell_border_radiusto follow the patternstateprop 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.
inputmaskremovedtext-input-optionsare 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-fnsused 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
formatprop is now using string format with Unicode tokens instead of theIntl.DateTimeFormatOptionsobject
π Features
textInput: Allows date selection via text inputtextInputOptions: ConfiguretextInputpropmonthNameFormat: 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
autoApplyis 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