{"name":"antd","version":"2.12.0-beta1","keywords":["ant","design","react","react-component","component","components","ui","framework","frontend"],"license":"MIT","_id":"antd@2.12.0-beta1","maintainers":[{"name":"benjycui","email":"benjytrys@gmail.com"}],"contributors":[{"name":"ant"}],"homepage":"http://ant.design/","bugs":{"url":"https://github.com/ant-design/ant-design/issues"},"dist":{"shasum":"a4cfca7e51242b16497ec45e21db70191b7ca51f","tarball":"http://registry-npm.ywwl.com/antd/download/antd-2.12.0-beta1.tgz","integrity":"sha512-bMJvdAh9G75fonbEqIgpPhQ5Yftk5ojZHpC4p9V1u3VYUP1OA0VoR17JvOMhQ92Uv/s2nCfNYyCxmxDbAxesCg==","signatures":[{"sig":"MEUCIGeQGubZI41Lx4W1JAbLI6AgtsLyjYDILQMYRGC+ctJqAiEA4W57BeSK0JHct6UNU0fK0bD8IfNlopZo0a2+diIaKPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":7114155,"noattachment":false,"key":"/antd/-/antd-2.12.0-beta1.tgz"},"jest":{"testRegex":".*\\.test\\.js$","transform":{"\\.js$":"./node_modules/babel-jest","\\.md$":"./node_modules/antd-demo-jest","\\.tsx?$":"./node_modules/typescript-babel-jest"},"setupFiles":["./tests/setup.js"],"collectCoverageFrom":["components/**/*.{ts,tsx}","!components/*/style/index.tsx","!components/style/index.tsx","!components/*/locale/index.tsx"],"snapshotSerializers":["enzyme-to-json/serializer"],"moduleFileExtensions":["ts","tsx","js","jsx","json","md"],"testPathIgnorePatterns":["/node_modules/","dekko","node"],"transformIgnorePatterns":["/node_modules/","/dist/"],"modulePathIgnorePatterns":["/_site/"]},"main":"lib/index.js","files":["dist","lib","es"],"title":"Ant Design","module":"es/index.js","gitHead":"51f84e82e280282e034956ea9666ce5a9e74910c","scripts":{"pub":"antd-tools run pub","tsc":"tsc","dist":"antd-tools run dist","lint":"npm run lint:ts && npm run lint:es && npm run lint:demo && npm run lint:style","site":"bisheng build --ssr -c ./site/bisheng.config.js","test":"jest","start":"bisheng start -c ./site/bisheng.config.js --no-livereload","deploy":"antd-tools run clean && npm run site && bisheng gh-pages --push-only","authors":"git log --format='%aN <%aE>' | sort -u | grep -v 'users.noreply.github.com' | grep -v 'gitter.im' | grep -v '.local>' | grep -v 'alibaba-inc.com' | grep -v 'alipay.com' | grep -v 'taobao.com' > AUTHORS.txt","compile":"antd-tools run compile","lint:es":"eslint tests site scripts components ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx'","lint:ts":"npm run tsc && antd-tools run ts-lint","lint-fix":"npm run lint-fix:code && npm run lint-fix:demo","test-all":"./scripts/test-all.sh","lint:demo":"cross-env RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'","lint:style":"stylelint \"{site,components}/**/*.less\" --syntax less","prepublish":"antd-tools run guard","lint-fix:ts":"npm run tsc && antd-tools run ts-lint-fix","lint-staged":"lint-staged","pre-publish":"npm run test-all && node ./scripts/prepub","lint-fix:code":"eslint --fix tests site scripts components ./.eslintrc.js ./webpack.config.js --ext '.js,.jsx'","lint-fix:demo":"eslint-tinker ./components/*/demo/*.md","lint-staged:es":"eslint ./.eslintrc.js ./webpack.config.js","lint-staged:ts":"tsc && node node_modules/tslint/bin/tslint -c node_modules/antd-tools/lib/tslint.json","lint-staged:demo":"cross-env RUN_ENV=DEMO eslint --ext '.md'"},"typings":"lib/index.d.ts","_npmUser":{"name":"yesmeck","email":"yesmeck@gmail.com"},"pre-commit":["lint-staged"],"repository":{"url":"git+https://github.com/ant-design/ant-design.git","type":"git"},"_npmVersion":"5.0.3","description":"An enterprise-class UI design language and React-based implementation","directories":{},"lint-staged":{"components/**/*.tsx":["lint-staged:ts"],"components/*/demo/*.md":["lint-staged:demo"],"{site,components}/**/*.less":"stylelint --syntax less","{tests,site,scripts,components}/**/*.{js,jsx}":["lint-staged:es"]},"_nodeVersion":"8.0.0","dependencies":{"moment":"^2.18.1","omit.js":"^0.1.0","rc-form":"~1.4.0","rc-menu":"~5.0.10","rc-rate":"~2.1.1","rc-tabs":"~8.0.0","rc-tree":"~1.5.0","rc-util":"^4.0.4","warning":"~3.0.0","rc-steps":"~2.5.1","rc-table":"~5.4.0","rc-dialog":"~6.5.10","rc-select":"~6.8.6","rc-slider":"~8.1.2","rc-switch":"~1.5.1","rc-upload":"~2.3.7","classnames":"~2.2.0","prop-types":"^15.5.7","rc-animate":"~2.3.6","rc-tooltip":"~3.4.6","dom-closest":"^0.2.0","rc-calendar":"~8.4.1","rc-cascader":"~0.11.3","rc-checkbox":"~2.0.3","rc-collapse":"~1.7.5","rc-dropdown":"~1.4.11","rc-progress":"~2.1.2","react-slick":"~0.14.2","shallowequal":"^1.0.1","babel-runtime":"6.x","css-animation":"^1.2.5","object-assign":"~4.1.0","rc-pagination":"~1.9.4","rc-time-picker":"~2.4.1","rc-tree-select":"~1.10.2","lodash.debounce":"^4.0.8","rc-input-number":"~3.6.0","rc-notification":"~2.0.0","react-lazy-load":"^3.0.10","array-tree-filter":"~1.0.0","rc-editor-mention":"~0.6.12","create-react-class":"^15.5.3"},"devDependencies":{"glob":"^7.1.1","jest":"^19.0.2","xhr2":"^0.1.3","dekko":"^0.2.0","react":"^15.0.0","enzyme":"^2.6.0","eslint":"^3.0.1","rimraf":"^2.5.4","bisheng":"^0.24.0","reqwest":"^2.0.5","delegate":"^3.1.2","mockdate":"^2.0.1","babel-cli":"^6.18.0","cross-env":"^4.0.0","jsonml.js":"^0.1.0","react-dom":"^15.0.0","stylelint":"^7.8.0","values.js":"^1.0.3","antd-tools":"~1.5.0","babel-jest":"^19.0.0","enquire.js":"^2.1.1","pre-commit":"^1.2.2","react-intl":"^2.0.1","typescript":"~2.3.0","fetch-jsonp":"^1.0.3","lint-staged":"^3.3.1","querystring":"^0.2.0","react-color":"^2.11.7","@types/react":"^15.0.8","babel-eslint":"^7.1.0","rc-tween-one":"^1.1.2","bezier-easing":"^2.0.3","eslint-tinker":"^0.4.0","rc-queue-anim":"^1.0.1","antd-demo-jest":"^1.0.5","enzyme-to-json":"^1.3.0","rc-scroll-anim":"^1.0.3","moment-timezone":"^0.5.5","@types/react-dom":"~0.14.18","color-standalone":"^0.11.6","babel-preset-react":"^6.16.0","bisheng-plugin-toc":"^0.4.0","dora-plugin-upload":"^0.3.1","babel-plugin-import":"^1.0.0","babel-preset-es2015":"^6.18.0","bisheng-plugin-antd":"^0.13.2","eslint-plugin-babel":"^4.0.0","eslint-plugin-react":"^7.0.1","react-github-button":"^0.1.1","react-sublime-video":"^0.2.0","react-test-renderer":"^15.5.4","babel-preset-stage-0":"^6.16.0","bisheng-plugin-react":"^0.5.0","eslint-config-airbnb":"latest","eslint-plugin-import":"^2.2.0","react-document-title":"^2.0.1","typescript-babel-jest":"^1.0.2","eslint-plugin-jsx-a11y":"^5.0.1","eslint-plugin-markdown":"~1.0.0-beta.4","react-copy-to-clipboard":"^4.0.1","css-split-webpack-plugin":"^0.2.3","stylelint-config-standard":"^16.0.0","bisheng-plugin-description":"^0.1.1","babel-plugin-transform-runtime":"^6.23.0"},"_npmOperationalInternal":{"tmp":"tmp/antd-2.12.0-beta1.tgz_1497516765818_0.8746272744610906","host":"s3://npm-registry-packages"},"readme":"<div align=\"center\"><a name=\"readme-top\"></a>\n\n<img height=\"180\" src=\"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg\">\n\n<h1>Ant Design</h1>\n\nAn enterprise-class UI design language and React UI library.\n\n[![CI status][github-action-image]][github-action-url]\n[![codecov][codecov-image]][codecov-url]\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][download-image]][download-url]\n\n[![][bundlephobia-image]][bundlephobia-url]\n[![][bundlesize-js-image]][unpkg-js-url]\n[![FOSSA Status][fossa-image]][fossa-url]\n\n[![Follow Twitter][twitter-image]][twitter-url]\n[![Renovate status][renovate-image]][renovate-dashboard-url]\n[![][issues-helper-image]][issues-helper-url]\n[![dumi][dumi-image]][dumi-url]\n[![Issues need help][help-wanted-image]][help-wanted-url]\n\n[Changelog](./CHANGELOG.en-US.md) · [Report Bug][github-issues-url] · [Request Feature][github-issues-url] · English · [中文](./README-zh_CN.md)\n\n![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)\n\n[npm-image]: http://img.shields.io/npm/v/antd.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/antd\n[github-action-image]: https://github.com/ant-design/ant-design/workflows/%E2%9C%85%20test/badge.svg\n[github-action-url]: https://github.com/ant-design/ant-design/actions?query=workflow%3A%22%E2%9C%85+test%22\n[codecov-image]: https://img.shields.io/codecov/c/github/ant-design/ant-design/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/ant-design/ant-design/branch/master\n[download-image]: https://img.shields.io/npm/dm/antd.svg?style=flat-square\n[download-url]: https://npmjs.org/package/antd\n[fossa-image]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fant-design%2Fant-design.svg?type=shield\n[fossa-url]: https://app.fossa.io/projects/git%2Bgithub.com%2Fant-design%2Fant-design?ref=badge_shield\n[help-wanted-image]: https://flat.badgen.net/github/label-issues/ant-design/ant-design/help%20wanted/open\n[help-wanted-url]: https://github.com/ant-design/ant-design/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22\n[twitter-image]: https://img.shields.io/twitter/follow/AntDesignUI.svg?label=Ant%20Design\n[twitter-url]: https://twitter.com/AntDesignUI\n[bundlesize-js-image]: https://img.badgesize.io/https:/unpkg.com/antd/dist/antd.min.js?label=antd.min.js&compression=gzip&style=flat-square\n[unpkg-js-url]: https://unpkg.com/browse/antd/dist/antd.min.js\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/antd?style=flat-square\n[bundlephobia-url]: https://bundlephobia.com/package/antd\n[issues-helper-image]: https://img.shields.io/badge/using-actions--cool-blue?style=flat-square\n[issues-helper-url]: https://github.com/actions-cool\n[renovate-image]: https://img.shields.io/badge/renovate-enabled-brightgreen.svg?style=flat-square\n[renovate-dashboard-url]: https://github.com/ant-design/ant-design/issues/32498\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n[dumi-url]: https://github.com/umijs/dumi\n[github-issues-url]: https://new-issue.ant.design\n</div>\n\n[![](https://user-images.githubusercontent.com/507615/209472919-6f7e8561-be8c-4b0b-9976-eb3c692aa20a.png)](https://ant.design)\n\n## ✨ Features\n\n- 🌈 Enterprise-class UI designed for web applications.\n- 📦 A set of high-quality React components out of the box.\n- 🛡 Written in TypeScript with predictable static types.\n- ⚙️ Whole package of design resources and development tools.\n- 🌍 Internationalization support for dozens of languages.\n- 🎨 Powerful theme customization based on CSS-in-JS.\n\n## 🖥 Environment Support\n\n- Modern browsers\n- Server-side Rendering\n- [Electron](https://www.electronjs.org/)\n\n| [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"Edge\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)<br>Edge | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)<br>Safari | [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png\" alt=\"Electron\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)<br>Electron |\n| --- | --- | --- | --- | --- |\n| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |\n\n## 📦 Install\n\n```bash\nnpm install antd\n```\n\n```bash\nyarn add antd\n```\n\n```bash\npnpm add antd\n```\n\n## 🔨 Usage\n\n```tsx\nimport { Button, DatePicker } from 'antd';\n\nexport default () => (\n  <>\n    <Button type=\"primary\">PRESS ME</Button>\n    <DatePicker placeholder=\"select date\" />\n  </>\n);\n```\n\n## 🔗 Links\n\n- [Home page](https://ant.design/)\n- [Components Overview](https://ant.design/components/overview)\n- [Ant Design Pro](http://pro.ant.design/)\n- [Change Log](CHANGELOG.en-US.md)\n- [rc-components](http://react-component.github.io/)\n- [Mobile UI](http://mobile.ant.design)\n- [Mini Program UI](http://mini.ant.design)\n- [Ant Design Pro Components](https://procomponents.ant.design)\n- [Ant Design Charts](https://charts.ant.design)\n- [Ant Design Icons](https://github.com/ant-design/ant-design-icons)\n- [Ant Design Colors](https://github.com/ant-design/ant-design-colors)\n- [Landing Pages](https://landing.ant.design)\n- [Motion](https://motion.ant.design)\n- [Scaffold Market](http://scaffold.ant.design)\n- [Developer Instruction](https://github.com/ant-design/ant-design/wiki/Development)\n- [Versioning Release Note](https://github.com/ant-design/ant-design/wiki/%E8%BD%AE%E5%80%BC%E8%A7%84%E5%88%99%E5%92%8C%E7%89%88%E6%9C%AC%E5%8F%91%E5%B8%83%E6%B5%81%E7%A8%8B)\n- [FAQ](https://ant.design/docs/react/faq)\n- [CodeSandbox Template](https://u.ant.design/codesandbox-repro) for bug reports\n- [Customize Theme](https://ant.design/docs/react/customize-theme)\n- [How to Apply for Being A Collaborator](https://github.com/ant-design/ant-design/wiki/Collaborators#how-to-apply-for-being-a-collaborator)\n\n## ⌨️ Development\n\nUse Gitpod, a free online dev environment for GitHub.\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ant-design/ant-design)\n\nOr use opensumi.run, a free online pure front-end dev environemt.\n\n[![opensumi.run](https://custom-icon-badges.demolab.com/badge/opensumi-run-blue.svg?logo=opensumi)](https://opensumi.run/ide/ant-design/ant-design)\n\nOr clone locally:\n\n```bash\n$ git clone git@github.com:ant-design/ant-design.git\n$ cd ant-design\n$ npm install\n$ npm start\n```\n\nOpen your browser and visit http://127.0.0.1:8001 , see more at [Development](https://github.com/ant-design/ant-design/wiki/Development).\n\n## 🤝 Contributing [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n<table>\n<tr>\n  <td>\n    <a href=\"https://next.ossinsight.io/widgets/official/compose-recent-top-contributors?repo_id=34526884\" target=\"_blank\" style=\"display: block\" align=\"center\">\n      <picture>\n        <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://next.ossinsight.io/widgets/official/compose-recent-top-contributors/thumbnail.png?repo_id=34526884&image_size=auto&color_scheme=dark\" width=\"280\">\n        <img alt=\"Top Contributors of ant-design/ant-design - Last 28 days\" src=\"https://next.ossinsight.io/widgets/official/compose-recent-top-contributors/thumbnail.png?repo_id=34526884&image_size=auto&color_scheme=light\" width=\"280\">\n      </picture>\n    </a>\n  </td>\n  <td rowspan=\"2\">\n    <a href=\"https://next.ossinsight.io/widgets/official/compose-last-28-days-stats?repo_id=34526884\" target=\"_blank\" style=\"display: block\" align=\"center\">\n      <picture>\n        <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://next.ossinsight.io/widgets/official/compose-last-28-days-stats/thumbnail.png?repo_id=34526884&image_size=auto&color_scheme=dark\" width=\"655\" height=\"auto\">\n        <img alt=\"Performance Stats of ant-design/ant-design - Last 28 days\" src=\"https://next.ossinsight.io/widgets/official/compose-last-28-days-stats/thumbnail.png?repo_id=34526884&image_size=auto&color_scheme=light\" width=\"655\" height=\"auto\">\n      </picture>\n    </a>\n  </td>\n</tr>\n<tr>\n  <td>\n    <a href=\"https://next.ossinsight.io/widgets/official/compose-org-active-contributors?period=past_28_days&activity=new&owner_id=12101536&repo_ids=34526884\" target=\"_blank\" style=\"display: block\" align=\"center\">\n      <picture>\n        <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://next.ossinsight.io/widgets/official/compose-org-active-contributors/thumbnail.png?period=past_28_days&activity=new&owner_id=12101536&repo_ids=34526884&image_size=2x3&color_scheme=dark\" width=\"273\" height=\"auto\">\n        <img alt=\"New participants of ant-design - past 28 days\" src=\"https://next.ossinsight.io/widgets/official/compose-org-active-contributors/thumbnail.png?period=past_28_days&activity=new&owner_id=12101536&repo_ids=34526884&image_size=2x3&color_scheme=light\" width=\"273\" height=\"auto\">\n      </picture>\n    </a>\n  </td>\n</tr>\n</table>\n\nLet's build a better antd together.\n\nWe warmly invite contributions from everyone. Before you get started, please take a moment to review our [Contributing Guide](https://ant.design/docs/react/contributing). Feel free to share your ideas through [Pull Requests](https://github.com/ant-design/ant-design/pulls) or [GitHub Issues](https://github.com/ant-design/ant-design/issues). If you're interested in enhancing our codebase, explore the [Development Instructions](https://github.com/ant-design/ant-design/wiki/Development) and enjoy your coding journey! :)\n\nFor collaborators, adhere to our [Pull Request Principle](https://github.com/ant-design/ant-design/wiki/PR-principle) and utilize our [Pull Request Template](https://github.com/ant-design/ant-design/wiki/PR-principle#pull-request-template) when creating a Pull Request.\n\n[![Let's fund issues in this repository](https://raw.githubusercontent.com/BoostIO/issuehunt-materials/master/v1/issuehunt-button-v1.svg)](https://issuehunt.io/repos/34526884)\n\n## ❤️ Sponsors and Backers [![](https://opencollective.com/ant-design/tiers/sponsors/badge.svg?label=Sponsors&color=brightgreen)](https://opencollective.com/ant-design#support) [![](https://opencollective.com/ant-design/tiers/backers/badge.svg?label=Backers&color=brightgreen)](https://opencollective.com/ant-design#support)\n\n[![](https://opencollective.com/ant-design/tiers/sponsors.svg?avatarHeight=36)](https://opencollective.com/ant-design#support)\n\n[![](https://opencollective.com/ant-design/tiers/backers.svg?avatarHeight=36)](https://opencollective.com/ant-design#support)\n","publish_time":1497516766296,"_cnpm_publish_time":1497516766296,"dist-tags":{"conch":"4.24.16","conch-v5":"5.29.1","conch-v6":"6.6.7","experimental":"5.0.0-experimental.30","guidelines":"5.30.0-guidelines-alpha.1","latest":"6.7.0","latest-2":"2.13.14","latest-4":"4.24.16","latest-5":"5.29.3","next":"5.11.3-alpha.0","previous":"3.26.20"}}