{"name":"rc-checkbox","version":"2.3.2","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":"^26.0.5","@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"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"gitHead":"22992a52b8c4b7282fcb7df834298b1e2f87148e","_id":"rc-checkbox@2.3.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-afVi1FYiGv1U0JlpNH/UaEXdh6WUJjcWokj/nUN2TgG80bfG+MDdbfHKlLcNNba94mbjy2/SXJ1HDgrOkXGAjg==","shasum":"f91b3678c7edb2baa8121c9483c664fa6f0aefc1","tarball":"http://registry-npm.ywwl.com/rc-checkbox/download/rc-checkbox-2.3.2.tgz","fileCount":9,"unpackedSize":22827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfzwzSCRA9TVsSAnZWagAAzWwQAIBnqeav34K8Re58CkkK\niqq00XmGr5ipDOabOUcNH7jUKCIwnJOQm6+dGJEqxvRGdybAeQkYY1FvsR2e\ndnG3aXiNxecV8bAsvyf1Fe9Z9raPr21V1OwkBLeT8X1NSM9gcbwiW2yccbrS\nF2b0nA9D7FP/WScXuJ9tf9w2GgunAyMYYK/SqT3Y1SEVsd/ScNDqHkfQnysC\nl6kxyBFsoGuHh2jtwNXM2O+l6mcXi6c2vtigpzLAJl1EwWcQWj0MWQZArHA+\nnMQe/7J0MpyZ1IuKGKBKFOpIaCt6eeYsFll8sEDkj7Hj0ZJn0Oa+uT4CfHfS\nwaXY5VHVafEufhYX8ionZMdEdpF9J2KDdoCMBKUIsm6uRJpLS/8eOqHtgNhA\nFS+Vtp9KSh/seflreooYxsEL3P73iYqTlbtiFUDtfAWxbkCcMOvZUiq6mmpU\nX4lRATpIcFLYmY2BiewlF7v7oRvK2bbG5X8+Ch73EvMu9ZfVz12Nkn6Vx9Fz\n1aGBvqwATFbbZLxKmPEq5tMOSk+6eKkXiOgdSx3XNObQgzEQNdWVIPhSfdWU\nLIqFEqCHo0MCYwd5m/9t0hcmjIZIe2aKNxGltObWXhRMGbTY0VBAx1YIlrH1\n4UVASUZPl6GpQtEeavuSs9oLzMOfh9zuDxe3k/DVNrqvs1HPjWmdUkJQC234\nW7hc\r\n=9vuT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw9p2dsfNBDRF9k1MoYcT6CYIFkHGnAgaqCq5kl/wNzQIgDNNCzOasqjkzIQEPTPP9ySKmJLq3bbYADN25ngc4tsA="}],"size":5474,"noattachment":false,"key":"/rc-checkbox/-/rc-checkbox-2.3.2.tgz"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"maintainers":[{"name":"yesmeck","email":"yesmeck@gmail.com"},{"name":"sliuqin","email":"sliuqin@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"yiminghe","email":"yiminghe@gmail.com"},{"name":"paranoidjk","email":"hust2012jiangkai@gmail.com"},{"name":"raohai","email":"surgesoft@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc-checkbox_2.3.2_1607404754019_0.2989517885562176"},"_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":1607404754140,"_cnpm_publish_time":1607404754140,"dist-tags":{"latest":"3.5.0"}}