{ "manifest": { "name": "@material-ui/pickers", "version": "3.3.11", "private": false, "description": "React components, that implements material design pickers for material-ui v4", "keywords": [ "material-ui", "pickers", "@material-ui/pickers", "datepicker", "timepicker", "date-picker", "time-picker", "react", "react-component", "material design" ], "sideEffects": false, "license": "MIT", "bugs": { "url": "https://github.com/mui/material-ui-pickers/issues" }, "homepage": "https://github.com/mui/material-ui-pickers", "repository": { "type": "git", "url": "https://github.com/mui/material-ui-pickers" }, "author": { "name": "Dmitriy Kovalenko", "email": "dmtr.kovalenko@outlook.com" }, "peerDependencies": { "@date-io/core": "^1.3.6", "@material-ui/core": "^4.0.0", "prop-types": "^15.6.0", "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0" }, "dependencies": { "@babel/runtime": "^7.6.0", "@date-io/core": "1.x", "@types/styled-jsx": "^2.2.8", "clsx": "^1.0.2", "react-transition-group": "^4.0.0", "rifm": "^0.7.0" }, "size-limit": [ { "path": "build/dist/@material-ui/pickers.esm.js", "limit": "30 KB" } ], "scripts": { "test": "jest", "test:date-fns": "UTILS=date-fns npm run test", "test:luxon": "UTILS=luxon npm run test", "test:moment": "UTILS=moment npm run test", "start": "rollup --config rollup.config.dev.js --watch & npx tsc --watch", "prebuild": "rimraf build", "build:copy": "node copy.js", "build:bundle": "rollup --config", "build:typescript": "tsc --project tsconfig.json", "build": "npm run build:typescript && npm run build:bundle && npm run build:copy", "build:analyze": "npm run build", "release": "yarn test && yarn version && yarn build && yarn publish --non-interactive build" }, "main": "./dist/material-ui-pickers.js", "module": "./esm/index.js", "typings": "./index.d.ts", "_registry": "npm", "_loc": "/home/josie/.cache/yarn/v6/npm-@material-ui-pickers-3.3.11-integrity/node_modules/@material-ui/pickers/package.json", "readmeFilename": "README.md", "readme": "

Material-UI pickers

\n\n
\n\nAccessible, customizable, delightful date & time pickers for [@material-ui/core](https://material-ui.com/)\n\n[![npm package](https://img.shields.io/npm/v/@material-ui/pickers.svg)](https://www.npmjs.org/package/@material-ui/pickers)\n[![npm download](https://img.shields.io/npm/dm/@material-ui/pickers.svg)](https://www.npmjs.org/package/@material-ui/pickers)\n[![codecov](https://codecov.io/gh/mui/material-ui-pickers/branch/next/graph/badge.svg)](https://codecov.io/gh/mui/material-ui-pickers)\n[![Bundle Size](https://badgen.net/bundlephobia/minzip/@material-ui/pickers)](https://bundlephobia.com/result?p=@material-ui/pickers@latest)\n[![CircleCI](https://circleci.com/gh/mui/material-ui-pickers.svg?style=svg)](https://circleci.com/gh/mui/material-ui-pickers)\n[![Cypress.io tests](https://img.shields.io/badge/cypress.io-tests-green.svg?style=flat-square)](https://dashboard.cypress.io/#/projects/qow28y/runs)\n[![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/mui/material-ui-pickers)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\n
\n\n> [!WARNING]\n> The docs website is not online anymore, you can still get access to it by cloning this repository and run `yarn dev`.\n\n### Installation\n\nNote that this package requires `@material-ui/core` **v4**. It will not work with the old v3. Please read the [migration guide](/) if you are updating from v2\n\n```sh\n// via npm\nnpm i @material-ui/pickers\n\n// via yarn\nyarn add @material-ui/pickers\n```\n\nNow choose the library that pickers will use to work with date. We are providing interfaces for [moment](https://momentjs.com/), [luxon](https://moment.github.io/luxon/), [dayjs](https://github.com/iamkun/dayjs) and [date-fns v2](https://date-fns.org/). If you are not using moment in the project (or don’t have it in the bundle already) we suggest using date-fns or luxon, because they are much lighter and will be correctly tree-shaked from the bundle. Note, that we are fully relying on [date-io](https://github.com/dmtrKovalenko/date-io) for supporting different libraries.\n\n```sh\nnpm i date-fns@next @date-io/date-fns\n// or\nnpm i moment @date-io/moment\n// or\nnpm i luxon @date-io/luxon\n// or\nnpm i dayjs @date-io/dayjs\n```\n\nThen teach pickers which library to use with `MuiPickerUtilsProvider`. This component takes a utils property, and makes it available down the React tree thanks to React context. It should preferably be used at the root of your component tree.\n\n```jsx\nimport MomentUtils from '@date-io/moment';\nimport DateFnsUtils from '@date-io/date-fns';\nimport LuxonUtils from '@date-io/luxon';\nimport { MuiPickersUtilsProvider } from '@material-ui/pickers';\n\nfunction App() {\n return (\n \n \n \n );\n}\n\nrender(, document.querySelector('#app'));\n```\n\n## Documentation\n\nCheck out the [documentation website](/)\n\n### Recently updated?\n\nChangelog available [here](https://github.com/mui/material-ui-pickers/releases)\n\n### Contributing\n\nFor information about how to contribute, see the [CONTRIBUTING](https://github.com/mui/material-ui-pickers/blob/master/CONTRIBUTING.md) file.\n\n### LICENSE\n\nThe project is licensed under the terms of [MIT license](https://github.com/mui/material-ui-pickers/blob/master/LICENSE)\n" }, "artifacts": [], "remote": { "resolved": "https://registry.npmjs.org/@material-ui/pickers/-/pickers-3.3.11.tgz", "type": "tarball", "reference": "https://registry.npmjs.org/@material-ui/pickers/-/pickers-3.3.11.tgz", "hash": "", "integrity": "sha512-pDYjbjUeabapijS2FpSwK/ruJdk7IGeAshpLbKDa3PRRKRy7Nv6sXxAvUg2F+lID/NwUKgBmCYS5bzrl7Xxqzw==", "registry": "npm", "packageName": "@material-ui/pickers", "cacheIntegrity": "sha512-pDYjbjUeabapijS2FpSwK/ruJdk7IGeAshpLbKDa3PRRKRy7Nv6sXxAvUg2F+lID/NwUKgBmCYS5bzrl7Xxqzw== sha1-36r0mVX3u+Oxw3ICk/adzd6rPKQ=" }, "registry": "npm", "hash": "a436236e351e69b6a98a34b61694b02bfaee25d93b206780b21a4b6ca0dadcf451291cbb36feac5f102f520d85fa5203fcdc142a00660984b96f3ae5ed7c6acf" }