This repository was archived by the owner on Apr 17, 2022. It is now read-only.
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