wojtekmaj / react-daterange-picker

A date range picker for your React app.
https://projects.wojtekmaj.pl/react-daterange-picker
MIT License
524 stars 64 forks source link

Bump @wojtekmaj/react-daterange-picker from 4.2.0 to 5.0.2 in /sample #281

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @wojtekmaj/react-daterange-picker from 4.2.0 to 5.0.2.

Release notes

Sourced from @​wojtekmaj/react-daterange-picker's releases.

v5.0.2

Bug fixes

  • Fixed types for calendarIcon and clearIcon not allowing null values.

v5.0.1

Bug fixes

  • Improved type accuracy for value prop and onChange callback (it's now explicitly Date | [Date, Date] instead of Date | Date[]).
  • Fixed types for portalContainer props not allowing null values, which made it hard to use.
  • Fixed props passed along to React-Calendar not typed correctly.
  • Fixed source field and added types field in package.json.
  • Fixed TypeScript types not being included in the published package.

v5.0.0

This is one of the biggest update - for React-DateRange-Picker and for me personally. React-DateRange-Picker has been rewritten from scratch using TypeScript and React Hooks. I've put a tremendous amount of effort to modernize the package without introducing any major breaking changes. If, however, something have slipped through dozens of unit tests we have, please let me know. I hope you will like it.

❗️ = breaking change

What's new?

  • Converted package to TypeScript (#271).
  • Rewritten package using React Hooks (#267).
  • Added named export support.
  • Added support for id prop.
  • Added support for passing clearIcon and calendarIcon as React functions (e.g. clearIcon={MyIcon}).

What's changed?

  • ❗️ React-DateRange-Picker no longer imports its styles by default. If you want to continue to use them, import them separately as instructed in README.
  • Updated React-Date-Picker to 10.0.0.
  • Updated React-Calendar to 4.2.0.

v4.2.1

Bug fixes

  • Pinned React-Calendar version to 4.0.0 to fix a bug with TypeScript types.
Commits
  • b893d03 v5.0.2
  • 72b8d75 Allow null to be passed as calendarIcon and clearIcon
  • 2fe264d Inherit font color from its parent by default
  • 2d6f418 v5.0.1
  • 2efd7a9 Fix declarations not generated
  • 9851360 Fix source field, add types field in package.json
  • 89ec7bf Bump typescript from 5.0.2 to 5.0.3 (#268)
  • 1c895a2 Convert sample suite to TypeScript
  • c858281 Convert test suite to TypeScript
  • 1b729c6 Fix type checking of calendarProps
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.