Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Releases: Vuepic/vue3-date-time-picker

v2.1.6

03 Oct 10:49
6145c72
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Date picker pop up appears underneath the modal window (#15)
  • Box sizing defaults to unset because some of the CSS frameworks may use inherit or border-box, causing some elements to misplace

v2.1.5

01 Oct 18:59
Compare
Choose a tag to compare

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 as scss variables for easier configuration (#13 )
  • scss variable $dp_cell_border_radius is changed to $dp__cell_border_radius to follow the pattern
  • state prop will set the border color as default and not on hover

v2.1.3

29 Sep 19:48
fd23b08
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Time picker doesn't auto-apply value (#10)
  • Fix possible error on year range if string values are provided

v2.1.2

27 Sep 16:12
e1f03b6
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Position calculation bugs with relative layouts (#8)
  • Fix arrow placement in some situations going down even if the menu is open at the bottom
  • Disable position recalculate if the menu is not open

v2.1.1

26 Sep 10:21
b4c99bf
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Proper type definition
  • Exposed methods not working when converted to <script setup>

v2.1.0

25 Sep 17:27
d6e94d0
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES

Due to the number of issues on inputmask and the size of the library, it is removed as a dependency.

  • inputmask removed
  • text-input-options are changed

🚀 Features

  • monthYearComponent: Use a custom component in the header for month/year pick
  • timePickerComponent: Use a custom component for the time picker
  • actionRowComponent: 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

18 Sep 19:26
c944550
Compare
Choose a tag to compare

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 the Intl.DateTimeFormatOptions object

🚀 Features

  • textInput: Allows date selection via text input
  • textInputOptions: Configure textInput prop
  • monthNameFormat: Change month names to short or long format
  • teleport: Configure teleport target
  • startDate: Set starting position of the calendar, month and year
  • startTime: 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

07 Sep 16:24
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Connected calendarClassName prop
  • Peer dependency set to correct version (#1)

📝 Chore

  • Customization props on the documentation website moved to the API section and added examples
  • Highlighted the code section for the example code

v1.1.0

04 Sep 16:05
Compare
Choose a tag to compare

🚀 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

v1.0.4

02 Sep 20:41
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Inline positioning when autoPosition is enabled
  • Months and years excluded with filters available for select via arrows
  • Menu auto position when there is no space on top and bottom