Releases: gpbl/react-day-picker
v9.0.0-beta.4
What's Changed
- style(typescript): improved Selection Mode types by @gpbl in #2195
- feat: dropdown options are disabled when navigating out of calendar range by @gpbl in #2194
Full Changelog: v9.0.0-beta.3...v9.0.0-beta.4
v9.0.0-beta.3
What's Changed
- Improved classNames / Tailwind support @gpbl in #2175
- fix(style): add
--rdp-dropdown-gap
css variable by @gpbl in #2176 - fix:
captionLayout
prop not working as expected by @gpbl in #2177 - fix: add
ChevronFlag
interface for disabled chevrons by @gpbl in #2178 - feat: add new
DayDate
component by @gpbl in #2179 - feat: update range styles by @gpbl in #2180
- fix: replace
data-
attribute withWeekNumberFlag
by @gpbl in #2181 - fix: accessibility improvements by @gpbl in #2183
Full Changelog: v9.0.0-beta.2...v9.0.0-beta.3
v9.0.0-beta.2
What's Changed
- build: React in scope, remove use of tslib by @gpbl in #2167
- build: fix CSS module support, added missing class names by @gpbl in #2168
- fix: disabled days can be selected with selected prop by @gpbl in #2171
- fix: onNextClick, onPrevClick not being called by @gpbl in #2172
- fix: today day is auto focused when available by @gpbl in #2174
Full Changelog: v9.0.0-beta.1...v9.0.0-beta.2
v9.0.0-beta.1
About DayPicker 9 beta
Version 9 is the next major version of React DayPicker, currently in development.
See http://react-day-picker.js.org/next for the updated documentation and a complete changelog. Please note the documentation is still a work in progress.
Help Testing this Version
Please report any issues or provide feedback on theGitHub Discussions page. We welcome feedback about the upgrade process to ensure it's smooth for everyone.
What’s New
- Requires React 18+
- New HTML structure based on
div
grids instead of tables - Updated style system with new CSS variables, CSS classes and selectors
- Enhanced accessibility to complies with WCAG 2.1 AA
- Updated typings - now DayPicker works in
strict
mode - Improved rendering performance, e.g. with multiple months
- Updated custom components system, with new components and props
- Removed the
useInput
hook (refer to the documentation for alternatives)
Breaking Changes
Upgrading to v9 will require some changes in your code. See the upgrading guide for more information.
Full Changelog: v8.10.1...v9.0.0-beta.1
v8.10.1
What's Changed
- build: fix Preact support by externalizing JSX runtime by @pwolfert in #2076
- build: remove unused useIsomorphicLayoutEffect module by @pwolfert in #2077
- fix(types): improved props for RootContext componet @zakbutcher in #2073
New Contributors
- @union-zakbutcher made their first contribution in #2073
Full Changelog: v8.10.0...v8.10.1
v8.10.0
What's Changed
New Features
Fixes
- fix(types): cannot find module
types/Matchers
by @jerodfritz in #1964 - fix(types):
firstWeekContainsDate
to be only Monday or Thursday by @gpbl in #2004- Note: this prop now supports only the value
1
(Monday) and4
(Thursday) instead of values from0
to6
. This change may break your type-check.
- Note: this prop now supports only the value
Docs Udpates
- docs: remove anchor from the Readme image by @neicore in #1969
- docs: fix typo by @toby-brilliant in #1984
- docs: adjust example wording: "the today's date" by @toby-brilliant in #1987
- docs: matcher api reference page uses incorrect object syntax by @janaiscoding in #1978
- docs: update Contributing.md by @janaiscoding in #1979
New Contributors
- @jerodfritz made their first contribution in #1964
- @neicore made their first contribution in #1969
- @toby-brilliant made their first contribution in #1984
- @janaiscoding made their first contribution in #1978
Full Changelog: v8.9.1...v8.10.0
v8.9.1
What's Changed
Bug fixes
Build
Updated dependencies
- build(deps-dev): bump @rollup/plugin-terser from 0.4.3 to 0.4.4 by @dependabot in #1939
- build(deps-dev): bump @adobe/css-tools from 4.0.1 to 4.3.1 by @dependabot in #1941
- build(deps-dev): bump webpack from 5.88.2 to 5.89.0 by @dependabot in #1940
- build(deps-dev): bump @types/react-dom from 18.2.7 to 18.2.13 by @dependabot in #1945
New Contributors
Full Changelog: v8.8.3...v8.9.1
v8.9.0
What's Changed
- feat: support for
nonce
,lang
,title
global attributes by @gpbl in #1924 - feat: new custom components "Months" by @pawelgoc in #1917
- feat: new
--rdp-selected-color
CSS variable for text of selected days by @gpbl in #1931
Updated internal dependencies
Details
- chore(build): update dependencies by @gpbl in #1913
- build(deps-dev): bump postcss from 8.4.27 to 8.4.29 by @dependabot in #1905
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.61.0 to 5.62.0 by @dependabot in #1904
- chore(docs): add strict mode to website by @gpbl in #1911
- build(deps-dev): bump @types/node from 18.15.13 to 20.6.5 by @dependabot in #1916
- build(deps-dev): bump rimraf from 5.0.1 to 5.0.5 by @dependabot in #1918
- build(deps): bump focus-trap-react from 10.2.1 to 10.2.2 by @dependabot in #1919
- build(deps-dev): bump postcss from 8.4.30 to 8.4.31 by @dependabot in #1921
- build(deps-dev): bump @types/node from 20.6.5 to 20.8.3 by @dependabot in #1925
- build(deps-dev): bump @rollup/plugin-commonjs from 25.0.4 to 25.0.5 by @dependabot in #1929
- build(deps-dev): bump eslint from 8.50.0 to 8.51.0 by @dependabot in #1928
- build: remove allowSyntheticDefaultImports requirement by @gpbl in #1926
- build(deps): bump clsx from 1.2.1 to 2.0.0 by @dependabot in #1927
New Contributors
Full Changelog: v8.8.2...v8.8.3
v8.8.2
What's Changed
Bug fixes
Other
Dependencies Updates
- build(deps-dev): bump rollup-plugin-dts from 5.3.0 to 5.3.1 by @dependabot in #1889
- build(deps-dev): bump jest and @types/jest by @dependabot in #1888
- build(deps-dev): bump @testing-library/dom from 9.3.0 to 9.3.1 by @dependabot in #1886
- build(deps-dev): bump tslib from 2.5.0 to 2.6.2 by @dependabot in #1891
- build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.28.1 by @dependabot in #1892
- build(deps-dev): bump @types/react from 18.0.38 to 18.2.21 by @dependabot in #1897
- build(deps): bump focus-trap-react from 10.1.1 to 10.2.1 by @dependabot in #1898
New Contributors
Full Changelog: v8.8.1...v8.8.2
v8.8.1
What's Changed
- fix: range not selected when missing the
from
value by @Sam-Apostel in #1876 - fix: dropdown may navigate to the wrong month when multiple months are set by @gpbl in #1884
- docs: remove shadow-dom from examples by @gpbl in #1817
Build updates
Toggle list
- build(deps): bump @typescript-eslint/eslint-plugin from 5.59.0 to 5.59.11 by @dependabot in #1813
- build: move from yarn to pnpm by @gpbl in #1816
- build: move the main package to the repo root by @gpbl in #1827
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.11 to 5.61.0 by @dependabot in #1829
- build(deps-dev): bump webpack from 5.83.1 to 5.88.1 by @dependabot in #1837
- build(deps-dev): bump date-fns from 2.29.3 to 2.30.0 by @dependabot in #1801
- build(deps-dev): bump tsc-alias from 1.8.6 to 1.8.7 by @dependabot in #1841
- build(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #1845
- build(deps-dev): bump jest and @types/jest by @dependabot in #1840
- build(deps-dev): bump eslint-plugin-jest from 27.2.1 to 27.2.3 by @dependabot in #1836
- build(deps-dev): bump jest-axe from 7.0.1 to 8.0.0 by @dependabot in #1850
- build(deps-dev): bump webpack from 5.83.1 to 5.88.2 by @dependabot in #1851
- build(deps): bump @codesandbox/sandpack-react from 2.6.1 to 2.6.9 by @dependabot in #1849
- build(deps-dev): bump postcss from 8.4.23 to 8.4.27 by @dependabot in #1859
- build(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in #1861
- build(deps-dev): bump tough-cookie from 4.1.2 to 4.1.3 by @dependabot in #1862
- build(deps-dev): bump @jest/types from 29.5.0 to 29.6.1 by @dependabot in #1857
- build(deps-dev): bump @rollup/plugin-terser from 0.4.1 to 0.4.3 by @dependabot in #1858
- build(deps-dev): bump @types/react-dom from 18.2.6 to 18.2.7 by @dependabot in #1869
- build(deps-dev): bump postcss from 8.4.23 to 8.4.27 by @dependabot in #1868
- build(deps-dev): bump eslint-config-prettier from 8.8.0 to 9.0.0 by @dependabot in #1867
- build: prepublish script typo in package.json by @trabeast in #1883
- build(deps-dev): bump tslib from 2.5.0 to 2.6.1 by @dependabot in #1880
- build(deps-dev): bump @rollup/plugin-commonjs from 25.0.0 to 25.0.4 by @dependabot in #1881
- build(deps-dev): bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0 by @dependabot in #1879
New Contributors
- @trabeast made their first contribution in #1883
- @Sam-Apostel made their first contribution in #1876
Full Changelog: v8.8.0...v8.8.1