{"name":"react-day-picker","version":"8.0.3","author":{"name":"Giampaolo Bellavite","email":"io@gpbl.dev"},"license":"MIT","_id":"react-day-picker@8.0.3","maintainers":[{"name":"gpbl","email":"io@gpbl.dev"}],"homepage":"http://react-day-picker.js.org","bugs":{"url":"https://github.com/gpbl/react-day-picker/issues"},"dist":{"shasum":"0c3eb02123fe431f598d7abd230f2bf48ecb3644","tarball":"http://registry-npm.ywwl.com/react-day-picker/download/react-day-picker-8.0.3.tgz","fileCount":139,"integrity":"sha512-FJ2bqz2H+7a/ulh2Zt2vHF0WS863GnFRWjGlwjbc6Vc8iGVWLTTdK1YVKOzQQcF+QwtrfnEpkuD66HulC+NbRg==","signatures":[{"sig":"MEUCIFNiyQj/ff16XO7fbNbqdDQylSJzYZkRQh+FSY51LZCaAiEAk3NYILOZ97rP7oW6okxZeKbdtqFw3C9fcd5YWh1a5eE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":482294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTx6/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGWw//dvb7fwxi9olm3JQgw/FS9QkYJKtRDyg1wFwllq94jR2cBekT\r\nn1vhDpOOSnuJCciA+lMcWyu3LWV0U3x5kwE8uM4EAYBsAnbpvEidjrSptiM+\r\nqvbcVV11/lJ3HNVf74rjfvCx1140hHqSVfOZYg8P4GEUHDvtZN+fwu986kTx\r\nLWQO7u0NTs8ccxKihu1G2K4KRZKy7RWvxNMMSSoHIcH4oinERgW8iDg6f0Fv\r\n3fDZKM5qAvFv6Terh7m8ZCZeOORp51bF7oN/P8Eshzg6M98YIpaF7IebQIlX\r\ndNRj+BFIZ8ionLoVGvjxUmh5b9K5IC2uRE7CjO65+PTT1siie7T1h/l/G2n8\r\n+GH7NbBea+0MNqlVEmlM0kjMP9eclDchbj2EWDK7RVffAQYUNoI4ftU2Er6F\r\neRliklgc5DywIwylHF8Xyhp2gseCphPHPmhfKVBGkwfp72qXmYS76ylKx7RP\r\ni2hc6dXUR3a9qliVqmRMxYEgkCLYTzpkSs+ERzx8oAxNqDnsAtisAsjmj7T5\r\nBicAkc08hCjGQB5dkBYoHirUHgozfHnVgW5XoYvRu7wxym7iPNAk1+7t8a97\r\n7G9wympR76JItRhiibltkuTl3nnqCyBHF/y2g9uGXogA4Gl/YL6aZA9gVCBL\r\nxLVTFidOhCW3rn2EN5SpH2wyND8R4gNPYrY=\r\n=MSyU\r\n-----END PGP SIGNATURE-----\r\n","size":106396,"noattachment":false,"key":"/react-day-picker/-/react-day-picker-8.0.3.tgz"},"main":"dist/index.js","style":"dist/style.css","types":"dist/index.d.ts","unpkg":"dist/react-day-picker.min.js","module":"dist/index.esm.js","funding":{"url":"https://github.com/sponsors/gpbl","type":"individual"},"gitHead":"6781f926ae767ddb1aa8608f8eb9902758382e33","scripts":{"lint":"eslint --ext .ts,.tsx src","test":"jest","build":"rimraf dist && rollup -c","css-types":"yarn tcm -p src/style.css","typecheck":"tsc --project ./tsconfig.json --noEmit","test-watch":"jest --watch","build-watch":"rollup -c -w --no-watch.clearScreen","typecheck-watch":"tsc --project ./tsconfig.json --noEmit --skipLibCheck --watch"},"_npmUser":{"name":"gpbl","email":"io@gpbl.dev"},"repository":{"url":"git+https://github.com/gpbl/react-day-picker.git","type":"git"},"_npmVersion":"8.5.0","description":"Customizable Date Picker for React","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@reach/auto-id":"^0.16.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","react":"^17.0.2","tslib":"^2.3.1","eslint":"^8.12.0","rimraf":"^3.0.2","rollup":"^2.70.1","ts-jest":"^27.1.4","ts-node":"^10.7.0","date-fns":"^2.28.0","prettier":"^2.6.2","react-dom":"^17.0.2","tsc-alias":"^1.6.5","timekeeper":"^2.2.0","typescript":"~4.5.5","@types/jest":"^27.4.1","@types/node":"^17.0.23","@types/react":"^17.0.43","eslint-config-rdp":"workspace:^","typed-css-modules":"^0.7.0","eslint-plugin-jest":"^26.1.3","rollup-plugin-copy":"^3.4.0","@rollup/plugin-alias":"^3.1.9","eslint-plugin-import":"^2.25.4","rollup-plugin-terser":"^7.0.2","@testing-library/react":"^12.1.4","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","@rollup/plugin-commonjs":"^21.0.3","@rollup/plugin-typescript":"^8.3.1","@testing-library/jest-dom":"^5.16.3","@typescript-eslint/parser":"^5.17.0","eslint-plugin-react-hooks":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","@testing-library/user-event":"^13.5.0","rollup-plugin-local-resolve":"^1.0.7","@testing-library/react-hooks":"^7.0.2","@typescript-eslint/eslint-plugin":"^5.17.0","rollup-plugin-peer-deps-external":"^2.2.4","eslint-import-resolver-typescript":"^2.7.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","date-fns":"^2.28.0"},"_npmOperationalInternal":{"tmp":"tmp/react-day-picker_8.0.3_1649352383140_0.15157982522588465","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":1649352383315,"_cnpm_publish_time":1649352383315,"dist-tags":{"latest":"10.0.2","legacy-v8":"8.10.2","next":"10.0.0-next.6"}}