Releases: siddharthborderwala/sassy-datepicker
Releases · siddharthborderwala/sassy-datepicker
v0.10.2
v0.10.0
Additions
- More theming options
- Disabled state via disabled prop
- Improved accessibility
- Smaller bundle size - 8.2kB min + gzip
- New out-of-the-box utility functions
- Tree Shaking available
Changes
- The props for DatePicker and TimePicker have changed, find the updates at
- TimePicker limits (minTime and maxTime) have been removed, developer will the responsible for validation whenever required
- Default interval in the minutes selection dropdown has been changed to 5 minutes
New Docs Website
As the usage of this library is increasing month-by-month, I decided to create a proper documentation website for the same. I decided to use nextra - a static site generator built on top of nextjs.
The new docs can be found at https://sassy-datepicker.netlify.app
v0.9.0
Change-log
- Configuration options for DatePicker like the first day of the week
- Year Picker dropdown
- Month Picker dropdown
- New and modern styling for DatePicker and TimePicker
- Performance optimisation
Breaking Changes
- Both
DatePicker
andTimePicker
now acceptvalue
prop instead ofselected
prop - like other input components - DatePicker is a controlled component, so you need to pass a working onChange function which update the state in the parent component and re-render the DatePicker
v0.8.0
v0.7.0
This release includes a new component TimePicker
.
It is a named export and can be used like this -
import { TimePicker } from 'sassy-datepicker';
This release includes a major refactor to the project structure, but is backward compatible with v0.6.1.
v0.6.1
v0.6.0
Changes
- The
initialDate
prop has been changed to theselected
prop. This was done while fixing a buggy behaviour in the datepicker, and for semantic reasons, this prop name was chosen. - Added support for all default reactjs props.
- Improved documentation.