{"name":"rc-checkbox","version":"2.3.0","description":"checkbox ui component for react","keywords":["react","react-component","react-checkbox","checkbox"],"main":"./lib/index","module":"./es/index","homepage":"http://github.com/react-component/checkbox","repository":{"type":"git","url":"git+ssh://git@github.com/react-component/checkbox.git"},"bugs":{"url":"http://github.com/react-component/checkbox/issues"},"license":"MIT","scripts":{"start":"father doc dev --storybook","build":"father doc build  --storybook","compile":"father build && lessc assets/index.less assets/index.css","gh-pages":"father doc deploy","prepublishOnly":"npm run compile && np --yolo --no-publish","lint":"eslint . --ext='jsx'","test":"father test","coverage":"father test --coverage"},"dependencies":{"@babel/runtime":"^7.10.1","classnames":"^2.2.1"},"devDependencies":{"@types/classnames":"^2.2.10","@types/jest":"^25.2.2","@umijs/fabric":"^2.2.2","coveralls":"^3.0.6","enzyme":"^3.0.0","enzyme-adapter-react-16":"^1.0.1","enzyme-to-json":"^3.0.0","eslint":"^7.0.0","father":"^2.13.4","less":"^3.11.1","np":"^6.2.3","react":"^16.0.0","react-dom":"^16.0.0","react-test-renderer":"^16.0.0"},"gitHead":"d5b152d09f6ab4e907e235f23915c83e7080c6ec","_id":"rc-checkbox@2.3.0","_nodeVersion":"12.14.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-rRv4W084iOO1BSllPoF4dA59DWBrbUQQbKYmjTuNh6nxihXmp9ymMo52rgs58MOzBdwAszbjYgb/MSwum0jIpA==","shasum":"b840f5ed08cd9cc24f3c485e7da13cb44a5228fe","tarball":"http://registry-npm.ywwl.com/rc-checkbox/download/rc-checkbox-2.3.0.tgz","fileCount":7,"unpackedSize":23918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBo7MCRA9TVsSAnZWagAAYfoP/A05qKY8H++pq4Aikyla\nxuh+rpy+WEBA30tZDskUYcWWkAQM8SkdJ7kr2Dmxc/jOSyujRcsJYJbyhSPh\n3mBS2j7u87Cm17Tott2rg9rv8JMO8FcfAWTIY593bIFbmrkkmdtNb8xDZfDD\nAI9m276XBqKusU2K/vQ8Vn4Qg5C4QmxjZ5RKgpFnFiMfPksdHzbhMtKgjiny\nQkklanOZ08Db4Vv8dZFCZZyMXYKoQCvCsdX52NbukrOqeZOeFIBkMsnAR5c+\nRMswiM2k6prGQrzoAVxquHuNIcBTHctJ0LFJUw/CYCeEuSTCFktlAE7dIFfC\nbfOEhb7/hYzCL5ZNyu6cMYCgGkt0brxwRDwGpOPvi4diSz0HQ14NypGKHKe9\nt964R8Ut+tI4TyFdEzfIfUowmYzX+6uxCcBoUouutFAbcPfjkoz5SHTw4RjK\nXobniMK4U/eWZJe5C/6rG85ghAIfesr7bd/ZnZ16IiuWoOaB4FXzk2Z2rQBG\npXV8Se9ibD2hozqFVaSDDySKOKf5AQjOlJxNvHj4yTiJsEBYiygl+DQ9TpHu\nkiEYHDDU11jZRe8YSm0A/cpwsiAxQgrH2cufpX4dS79keegpKqE+PFn9QuPq\nr+T3Zlon4WsqZsNfZau6PSAZyIkG76noePgSjkO6T0xdoyt5O8YCnumtb84N\ngnQZ\r\n=0tqL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQDnHm5vnUS69oolkj6ti2Fiom4w8fmZGp8gWQzf8AvAiEAgOs/Q2wDQSxGus2HhQGz8o9BUG3RO5Y6dgkKHOf2gQA="}],"size":5648,"noattachment":false,"key":"/rc-checkbox/-/rc-checkbox-2.3.0.tgz"},"maintainers":[{"email":"afc163@gmail.com","name":"afc163"},{"email":"hust2012jiangkai@gmail.com","name":"paranoidjk"},{"email":"surgesoft@gmail.com","name":"raohai"},{"email":"sliuqin@gmail.com","name":"sliuqin"},{"email":"yesmeck@gmail.com","name":"yesmeck"},{"email":"yiminghe@gmail.com","name":"yiminghe"}],"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc-checkbox_2.3.0_1594265291718_0.28799574019907204"},"_hasShrinkwrap":false,"readme":"# rc-checkbox\n\n---\n\nCheckbox ui component for react.\n\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n[![build status][github-actions-image]][github-actions-url]\n[![Codecov][codecov-image]][codecov-url]\n[![bundle size][bundlephobia-image]][bundlephobia-url]\n[![dumi][dumi-image]][dumi-url]\n\n[npm-image]: http://img.shields.io/npm/v/rc-checkbox.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-checkbox\n[travis-image]: https://img.shields.io/travis/react-component/checkbox/master?style=flat-square\n[travis-url]: https://travis-ci.com/react-component/checkbox\n[github-actions-image]: https://github.com/react-component/checkbox/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/react-component/checkbox/actions\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/checkbox/master.svg?style=flat-square\n[codecov-url]: https://app.codecov.io/gh/react-component/checkbox\n[david-url]: https://david-dm.org/react-component/checkbox\n[david-image]: https://david-dm.org/react-component/checkbox/status.svg?style=flat-square\n[david-dev-url]: https://david-dm.org/react-component/checkbox?type=dev\n[david-dev-image]: https://david-dm.org/react-component/checkbox/dev-status.svg?style=flat-square\n[download-image]: https://img.shields.io/npm/dm/rc-checkbox.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-checkbox\n[bundlephobia-url]: https://bundlephobia.com/package/rc-checkbox\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-checkbox\n[dumi-url]: https://github.com/umijs/dumi\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\n\n## Install\n\n[![rc-checkbox](https://nodei.co/npm/rc-checkbox.png)](https://npmjs.org/package/rc-checkbox)\n\n## Usage\n\n```js\nimport checkbox from 'rc-checkbox';\n\nexport default () => <checkbox />;\n```\n\n## Compatibility\n\n| [<img src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"IE / Edge\" width=\"24px\" height=\"24px\" />](http://godban.github.io/browsers-support-badges/)<br>IE / 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| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |\n\n## API\n\n<table class=\"table table-bordered table-striped\">\n  <thead>\n  <tr>\n    <th style=\"width: 100px;\">name</th>\n    <th style=\"width: 50px;\">type</th>\n    <th style=\"width: 50px;\">default</th>\n    <th>description</th>\n  </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>prefixCls</td>\n      <td>String</td>\n      <td>rc-checkbox</td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>className</td>\n      <td>String</td>\n      <td>''</td>\n      <td>additional class name of root node</td>\n    </tr>\n      <tr>\n      <td>name</td>\n      <td>String</td>\n      <td></td>\n      <td>same with native input checkbox</td>\n    </tr>\n    <tr>\n      <td>checked</td>\n      <td>enum: 0,1,2</td>\n      <td></td>\n      <td></td>\n    </tr>\n    <tr>\n      <td>defaultChecked</td>\n      <td>enum: 0,1,2</td>\n      <td>0</td>\n      <td>same with native input checkbox</td>\n    <tr>\n      <td>onChange</td>\n      <td>Function(e:Event, checked:Number)</td>\n      <td></td>\n      <td>called when checkbox is changed. e is native event, checked is original checked state.</td>\n    </tr>\n  </tbody>\n</table>\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\nOnline demo: http://react-component.github.io/checkbox/\n\n## License\n\nrc-checkbox is released under the MIT license.\n","publish_time":1594265291837,"_cnpm_publish_time":1594265291837,"dist-tags":{"latest":"3.5.0"}}