{"name":"react-day-picker","version":"7.3.2","keywords":["react","react-component","component","calendar","date-picker","datepicker","date","picker","moment","momentjs"],"author":{"name":"Giampaolo Bellavite","email":"io@gpbl.org"},"license":"MIT","_id":"react-day-picker@7.3.2","maintainers":[{"name":"gpbl","email":"io@gpbl.org"}],"homepage":"https://react-day-picker.js.org","bugs":{"url":"https://github.com/gpbl/react-day-picker/issues"},"dist":{"shasum":"b9b9b0000ba53b2c9df9bccb79664862aba6b60a","tarball":"http://registry-npm.ywwl.com/react-day-picker/download/react-day-picker-7.3.2.tgz","fileCount":61,"integrity":"sha512-mij2j2Un/v2V2ow+hf/hFBMdl6Eis/C/YhBtlI6Xpbvh3Q6WMix78zEkCdw6i9GldafOrpnupWKofv/h5oSI4g==","signatures":[{"sig":"MEYCIQDGrL6tEwE3uzxeCiq8ZsI2FmQ7C5onsTYJxRV8r2+xGgIhAJxaR3Xo+kusZA6p3Zm2r1hV3jMlOru9tVL08zEF0o9A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":838004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTBu6CRA9TVsSAnZWagAAZSYP/3TQ6H6CCyCFHwmYryyr\nolpl8ka+dbzNEjj+j39Y2P6aT40/jb7WVkuGZ1NLY7UuwTJ8eWy1YZzrSjxY\nc1Z1G6ms++3UDaKp8ZOPGHcMB4otLk9uAtNej+rQIPZnG8KNqDMzHLFXZCaa\n7gw/7lLOpTinf8zYqVnuyyhDcPQBUnWaEG7RQByIfhFkNHn7FZnLInGf9hxe\nP4joAq8hxWZQOkSl0DzwqZ8oB8XiUVenTysCYLLz0wX79DK2duZNn/GY0ARZ\n6IDzX3OX6oUhePsaLDOtdLH50oLHFC805Xakra5aZl1hXM2TF+EKTN1eBohU\nX0ZYMdM5EUxqk1v8EoQiet0+N9gdbm/LCTMafv6/wpQAiIZHj4rzU0YQMqlL\nafQLNYsQWaXk+m9L1z7H3+r3jO7OM6n+YR+0t3z+uzSOWhUSWL5MUYtgK4qu\ngTG7oYwnZoDkXz77DgzMqteEQ9Cc3hj2/lNDxstg0yESp79f6LsXdcLgkONX\nikXcGHHwqkEc33p0OU465e9IF00g9hVmeNW83/Hhy8x5B/Xabd9QR9ylqtzp\n0gWcE++qzFOn+dnKviVXTQyOFIhFvXb6Kek0bxonIpb85RDYjWeXXZwyponK\nAaqRiiP+8Y7O40bKM3T8Dl/WMIZ5g+cNyZYfk6wzvq95SUa+zfbkCKti17MZ\nMDci\r\n=Ww2k\r\n-----END PGP SIGNATURE-----\r\n","size":193949,"noattachment":false,"key":"/react-day-picker/-/react-day-picker-7.3.2.tgz"},"main":"DayPicker.js","style":"lib/style.css","types":"./types/index.d.ts","gitHead":"08c92362a03edf53c426ff7a9bdf2122ad14d6c5","scripts":{"lint":"eslint src test","test":"jest","build":"rimraf lib && npm run build:node && npm run build:production && npm run build:development","check":"npm run lint && npm run dtslint && npm run test","clean":"rimraf coverage lib","dtslint":"dtslint types","build:css":"postcss src/style.css --use autoprefixer -d lib/ --no-map","build:node":"babel ./src -d ./lib/src --source-maps && npm run build:css","prerelease":"npm run check && npm run build","build:production":"cross-env NODE_ENV=production webpack -p","build:development":"cross-env NODE_ENV=development webpack"},"_npmUser":{"name":"gpbl","email":"io@gpbl.org"},"repository":{"url":"git+https://github.com/gpbl/react-day-picker.git","type":"git"},"_npmVersion":"6.4.1","description":"Flexible date picker component for React","directories":{"doc":"docs"},"_nodeVersion":"10.15.3","dependencies":{"prop-types":"^15.6.2"},"_hasShrinkwrap":false,"devDependencies":{"raf":"^3.4.0","jest":"^23.5.0","husky":"~0.14.3","react":"^16.4.2","enzyme":"^3.5.0","eslint":"^5.4.0","moment":"^2.22.2","rimraf":"^2.6.2","cheerio":"^1.0.0-rc.2","codecov":"^3.0.4","dtslint":"~0.9.0","webpack":"^3.10.0","gh-pages":"^1.2.0","prettier":"^1.14.2","babel-cli":"^6.26.0","cross-env":"^5.2.0","react-dom":"^16.4.2","babel-core":"^6.26.3","babel-jest":"^23.4.2","typescript":"^3.0.1","jest-enzyme":"^6.0.3","null-loader":"~0.1.1","postcss-cli":"^5.0.0","autoprefixer":"^8.4.1","babel-eslint":"^8.2.6","babel-loader":"^7.1.5","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","eslint-plugin-react":"^7.11.1","jest-junit-reporter":"^1.1.0","react-test-renderer":"^16.4.2","babel-preset-stage-1":"^6.24.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-config-prettier":"^3.0.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-prettier":"^2.6.2","enzyme-adapter-react-16":"^1.3.0","eslint-config-airbnb-base":"^13.1.0","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-export-extensions":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0"},"peerDependencies":{"react":"~0.13.x || ~0.14.x || ^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-day-picker_7.3.2_1565268920366_0.2037279060921653","host":"s3://npm-registry-packages"},"readme":"# React DayPicker\n\nDayPicker is a [React](https://react.dev) component for creating date pickers, calendars, and date inputs for web applications.\n\nYou are reading the README for `react-day-picker`, the legacy DayPicker package name. It remains available for compatibility and exposes the same DayPicker API in v10, but new projects should use `@daypicker/react`.\n\n## Documentation\n\nSee **[daypicker.dev](https://daypicker.dev)** for guides, examples, and API reference, or read [the v10 docs in the repository](https://github.com/gpbl/react-day-picker/blob/main/apps/website/docs/start.mdx).\n\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/gpbl/react-day-picker/main/apps/website/static/img/screenshot-dark.png\" />\n  <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/gpbl/react-day-picker/main/apps/website/static/img/screenshot-light.png\" />\n  <img width=\"460\" src=\"https://raw.githubusercontent.com/gpbl/react-day-picker/main/apps/website/static/img/screenshot.png\"  alt=\"Screenshot of DayPicker displaying the September 2025 calendar, with the date range from the 17th to the 20th selected.\" />\n</picture>\n\n## Features\n\n- 🛠 Extensive set of props for [customizing](https://daypicker.dev/docs/customization) the calendar.\n- 🎨 Minimal design that can be [easily styled](https://daypicker.dev/docs/styling) with CSS or any CSS framework.\n- 📅 Supports [selections](https://daypicker.dev/docs/selection-modes) of single days, multiple days, ranges of days, or [custom selections](https://daypicker.dev/guides/custom-selections).\n- 🌍 Can be [localized](https://daypicker.dev/docs/localization) into any language and [time zones](https://daypicker.dev/docs/time-zone).\n- 🌐 Support for [ISO 8601](http://daypicker.dev/localization/iso-and-broadcast#iso-8601-calendar) and [broadcast](http://daypicker.dev/localization/iso-and-broadcast#broadcast-calendar) calendars, plus [Persian](http://daypicker.dev/localization/persian), [Hijri](http://daypicker.dev/localization/hijri), [Buddhist (Thai)](http://daypicker.dev/localization/buddhist), [Ethiopic](http://daypicker.dev/localization/ethiopic), and [Hebrew](http://daypicker.dev/localization/hebrew) calendars through `@daypicker/*` add-on packages.\n- 🦮 Complies with WCAG 2.1 AA requirements for [accessibility](https://daypicker.dev/guides/accessibility).\n- ⚙️ [Customizable components](https://daypicker.dev/guides/custom-components) to extend the rendered elements.\n- 🔤 Easy integration [with input fields](https://daypicker.dev/guides/input-fields).\n\nDayPicker is written in TypeScript and compiled to CommonJS and ESM. It relies on [date-fns](https://date-fns.org) for date manipulation and formatting.\n\n## Installation\n\nInstall the legacy DayPicker package name:\n\n```bash\nnpm install react-day-picker\n```\n\nFor new projects, prefer the `@daypicker/react` package name:\n\n```bash\nnpm install @daypicker/react\n```\n\n<a href=\"https://www.npmjs.com/package/react-day-picker\"><img src=\"https://img.shields.io/npm/v/react-day-picker\" alt=\"npm version\"/></a> <img src=\"https://img.shields.io/npm/dm/react-day-picker.svg\" alt=\"npm downloads\"/> <img src=\"https://img.shields.io/bundlephobia/minzip/react-day-picker\" alt=\"Min gzipped size\"/>\n\n## Example\n\n```tsx\nimport { useState } from \"react\";\n\nimport { DayPicker } from \"react-day-picker\";\nimport \"react-day-picker/style.css\";\n\nfunction MyDatePicker() {\n  const [selected, setSelected] = useState<Date>();\n\n  return (\n    <DayPicker\n      mode=\"single\"\n      selected={selected}\n      onSelect={setSelected}\n      footer={\n        selected ? `Selected: ${selected.toLocaleDateString()}` : \"Pick a day.\"\n      }\n    />\n  );\n}\n```\n\n## Compatibility\n\nDayPicker is compatible with React 16.8 and later.\n\n## License\n\nDayPicker is released under the [MIT License](https://daypicker.dev/license).\n\n## Community\n\nAsk for help and share your experience with DayPicker:\n\n- 💬 [Discussion forums](https://github.com/gpbl/react-day-picker/discussions) - Get support and provide feedback.\n- 🪳 [Report an issue](https://github.com/gpbl/react-day-picker/issues/new/choose) - Report bugs or request features.\n\n## Sponsors\n\nThank you to everyone supporting DayPicker - your sponsorship keeps this project maintained and evolving.\n\n<p>\n  <a href=\"https://github.com/CHECK24\" title=\"CHECK24\"><img src=\"https://github.com/CHECK24.png?size=64\" alt=\"CHECK24\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/wilsonadenuga\" title=\"wilsonadenuga\"><img src=\"https://github.com/wilsonadenuga.png?size=64\" alt=\"wilsonadenuga\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/severinlandolt\" title=\"severinlandolt\"><img src=\"https://github.com/severinlandolt.png?size=64\" alt=\"severinlandolt\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/syntaxfm\" title=\"syntaxfm\"><img src=\"https://github.com/syntaxfm.png?size=64\" alt=\"syntaxfm\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/thnxdev\" title=\"thnxdev\"><img src=\"https://github.com/thnxdev.png?size=64\" alt=\"thnxdev\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/katyabilokur\" title=\"katyabilokur\"><img src=\"https://github.com/katyabilokur.png?size=64\" alt=\"katyabilokur\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/bedandbreakfasteu\" title=\"bedandbreakfasteu\"><img src=\"https://github.com/bedandbreakfasteu.png?size=64\" alt=\"bedandbreakfasteu\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/Thinkmill\" title=\"Thinkmill\"><img src=\"https://github.com/Thinkmill.png?size=64\" alt=\"Thinkmill\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/AlexKDawson\" title=\"AlexKDawson\"><img src=\"https://github.com/AlexKDawson.png?size=64\" alt=\"AlexKDawson\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/dimitur2204\" title=\"dimitur2204\"><img src=\"https://github.com/dimitur2204.png?size=64\" alt=\"dimitur2204\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/indeedeng\" title=\"indeedeng\"><img src=\"https://github.com/indeedeng.png?size=64\" alt=\"indeedeng\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/flexbox\" title=\"flexbox\"><img src=\"https://github.com/flexbox.png?size=64\" alt=\"flexbox\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/github\" title=\"github\"><img src=\"https://github.com/github.png?size=64\" alt=\"github\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/tjfred35\" title=\"tjfred35\"><img src=\"https://github.com/tjfred35.png?size=64\" alt=\"tjfred35\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n</p>\n\n- 🎗️ Become a sponsor: https://github.com/sponsors/gpbl\n","publish_time":1565268920568,"_cnpm_publish_time":1565268920568,"dist-tags":{"latest":"10.0.2","legacy-v8":"8.10.2","next":"10.0.0-next.6"}}