Skip to content

Commit

Permalink
Merge branch 'main' of github.com:gpbl/react-day-picker
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Jul 14, 2024
2 parents 1a2bcc5 + 5341db9 commit e95a3ae
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ on:
type: boolean

jobs:
# print-env:
# runs-on: ubuntu-latest
# steps:
# - run: |
# echo "publish=${{ github.event.inputs.publish || false }}"

typecheck:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ This release includes important updates related to accessibility, styles and per

We tried to keep breaking changes to a minimum, but were inevitable to improve the library. Here are the most important changes:

- Requires React 18+.
- The updated HTML output could break your unit tests.
- Custom styles will likely not work.
- Some ARIA labels have been changed.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.16.0",
"date-fns": "^3.6.0",
"date-fns-jalali": "3.6.0-1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -172,7 +173,7 @@
"typescript-css-modules": "^1.0.4"
},
"peerDependencies": {
"react": "^18 || ^19"
"react": ">=16.8.0"
},
"funding": {
"type": "individual",
Expand Down
6 changes: 5 additions & 1 deletion website/docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_position: 1
slug: /
---

# DayPicker
# React DayPicker

DayPicker is a [React](https://react.dev) component to create date pickers, calendars, and date inputs for web applications.

Expand Down Expand Up @@ -37,6 +37,10 @@ function MyDatePicker() {
<Examples.Start />
</BrowserWindow>

## Compatibility

DayPicker is compatible with React 16.8 and later.

## License

DayPicker is released under the [MIT License](./license).
Expand Down

0 comments on commit e95a3ae

Please sign in to comment.