Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 3cac81e

Browse files
committed
changes necessary for 1.2.0 version
1 parent bc440af commit 3cac81e

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
8+
## 1.2.0
9+
10+
### Added
11+
- `dayContentRenderer` prop: You can control how each date cell is rendered be passing this function that excepts a date and returns what need to be rendered (#242, #384, #476)
12+
13+
14+
## 1.1.4
15+
16+
### Fixed
17+
- #356: Use babel-plugin-date-fns to reduce bundle size
18+
- #373, #415, #416: Add missing aria labels
19+
20+
721
## 1.0.0
822
### Changed
923
- BREAKING: `date-fns` is now loaded as a peerDependency. You can use this plugin with your own project's `date-fns` version. However if you want to keep using date-fns versions older than 2.0.0, (minimum version is 2.0.0-alpha.1) you need to pass the following props to your component. ([See the reason here](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg/), also see [this table](https://date-fns.org/docs/format))

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,5 @@ If you prefer, you can overwrite calendar sizes with `calendarWidth`/`calendarHe
191191
TODOs
192192

193193
- Make mobile friendly (integrate tap and swipe actions)
194-
- Add complex booking customization example with exposed dayRenderer prop
195194
- Add tests
196195
- Improve documentation

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-date-range",
3-
"version": "1.1.4",
3+
"version": "1.2.0",
44
"description": "A React component for choosing dates and date ranges.",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)