{"name":"rc-pagination","version":"3.0.2","description":"pagination ui component for react","keywords":["react","react-component","react-pagination","pagination","antd","pager"],"main":"./lib/index","module":"./es/index","types":"rc-pagination.d.ts","homepage":"https://react-component.github.io/pagination","repository":{"type":"git","url":"git+ssh://git@github.com/react-component/pagination.git"},"bugs":{"url":"http://github.com/react-component/pagination/issues"},"license":"MIT","scripts":{"start":"cross-env NODE_ENV=development father doc dev --storybook","build":"father doc build --storybook","compile":"father build && lessc assets/index.less assets/index.css","gh-pages":"npm run build && father doc deploy","prepublishOnly":"npm run compile && np --yolo --no-publish && npm run gh-pages","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","pretty-quick":"pretty-quick","test":"father test","coverage":"father test --coverage"},"dependencies":{"@babel/runtime":"^7.10.1","classnames":"^2.2.1"},"devDependencies":{"@types/classnames":"^2.2.9","@types/react":"^16.9.2","@types/react-dom":"^16.9.0","@umijs/fabric":"^2.0.3","coveralls":"^3.0.6","cross-env":"^7.0.0","enzyme":"^3.0.0","enzyme-adapter-react-16":"^1.0.1","enzyme-to-json":"^3.4.0","eslint":"^7.0.0","father":"^2.13.4","husky":"^4.2.3","less":"^3.10.3","np":"^6.2.0","prettier":"^2.0.1","pretty-quick":"^2.0.1","react":"^16.0.0","react-dom":"^16.0.0","react-test-renderer":"^16.0.0","rc-select":"^11.0.0"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"cnpm":{"mode":"npm"},"tnpm":{"mode":"npm"},"gitHead":"9ea6d0878953a4abd33a05944eea05d7ca7ad597","_id":"rc-pagination@3.0.2","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-PQ1EoAISKepDh3QOu3HBETj+xciRpgDp9UEZIQc6m66XvQ5M9F1O0a2MLMLEYHbWluN/DfEYrBdfvfPRHis2Mw==","shasum":"813bc530556b12b4139009d235bb341c26c0c751","tarball":"http://registry-npm.ywwl.com/rc-pagination/download/rc-pagination-3.0.2.tgz","fileCount":133,"unpackedSize":147305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK8ZlCRA9TVsSAnZWagAA+FwP+wZoi+mQYy+Q5N1JWCeL\npLXU7aM82D1oWsdV85UwG6G7Ra+M2RPcqGh9OCYpvKgaXJSb5dfO/TVqcwZk\nY/JUkEZxnVJe8DTHW/ooWhzwYPG6SWh/13W7SwpVo/qcTou3IpQQuotbnEnA\nAheXYTtV4Cp80teozc3BUcRFvVpbzONb8Ao6oXyzFC4e/8m70ZpLnllPXr8z\nT5R1wCNnhh4pEPItvZLIeONg5mWXSkIY8CN02YMbezinc4QB1TDaCh0EPJ9s\nDYoi+jAe56J5tBlVJMKV2FLmBr4AmRuY98vmbjlSQoTk2cniNH/eimo965uq\nunTY3vKaSWOGRaQY1l1+7T7yUPXF4XVFK/GGsVKArMsGWWfdKbM7s2LZU+IY\nSEVFgj5xV+/56Pay+NUzHpEqV0syOzKrotYDpZPKR6A4B0kslg8SGWSGkRA0\nk81+ltXyPEviXhiRrCg/ZV3jNEgbFgWFUmK2/Rk9j+asnmbc/pzVtUh6zz4T\n20WF2Za3n9Ool3ySrlfacTVqda44cEbVgSPs4nFVgAoaEJMHQiZKjBGef5+t\n4o06zDRknsySV+AI5ghrT7yYIcHFIjvilreVgx1Q70uvS4z0UPiWTNWKmP2k\nheGOjPXPhKCFoo7S9/pQsO6tAXB7L205JjEIlM99n7vIDCwg1Mxv0pxp0lkH\nSKuk\r\n=zXxj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEaUKg0GZfgyBFeiC9d+562Gw9WsWam7eX4FQbDDTNpTAiAETUvwA0w39VDL81P52lRn+e6R9fIWSshFRi3rCrkHvQ=="}],"size":22979,"noattachment":false,"key":"/rc-pagination/-/rc-pagination-3.0.2.tgz"},"maintainers":[{"email":"afc163@gmail.com","name":"afc163"},{"email":"benjytrys@gmail.com","name":"benjycui"},{"email":"xiaobayuwei@gmail.com","name":"ibigbug"},{"email":"hust2012jiangkai@gmail.com","name":"paranoidjk"},{"email":"337097324@qq.com","name":"shaodahong"},{"email":"yesmeck@gmail.com","name":"yesmeck"},{"email":"yiminghe@gmail.com","name":"yiminghe"},{"email":"yutingzhao1991@sina.com","name":"yutingzhao1991"},{"email":"smith3816@gmail.com","name":"zombiej"}],"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc-pagination_3.0.2_1596704356730_0.37156890185096536"},"_hasShrinkwrap":false,"readme":"# rc-pagination\n\nReact Pagination Component.\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-pagination.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-pagination\n[github-actions-image]: https://github.com/react-component/pagination/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/react-component/pagination/actions\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/pagination/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/react-component/pagination/branch/master\n[david-url]: https://david-dm.org/react-component/pagination\n[david-image]: https://david-dm.org/react-component/pagination/status.svg?style=flat-square\n[david-dev-url]: https://david-dm.org/react-component/pagination?type=dev\n[david-dev-image]: https://david-dm.org/react-component/pagination/dev-status.svg?style=flat-square\n[download-image]: https://img.shields.io/npm/dm/rc-pagination.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-pagination\n[bundlephobia-url]: https://bundlephobia.com/result?p=rc-pagination\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-pagination\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## Development\n\n```\nnpm install\nnpm start\n```\n\n## Examples\n\nOnline example: `https://pagination-react-component.vercel.app`\nLocal example: `npm run start` then `http://localhost:9001`\n\n## Install\n\n[![rc-pagination](https://nodei.co/npm/rc-pagination.png)](https://npmjs.org/package/rc-pagination)\n\n## Usage\n\n```js\nimport Pagination from 'rc-pagination';\n\nReactDOM.render(<Pagination />, container);\n```\n\n## API\n\n| Parameter                    | Description                                               | Type                                                                                                                                                 | Default                                                                                |\n| ---------------------------- | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |\n| disabled                     | disable pagination                                        | Bool                                                                                                                                                 | -                                                                                      |\n| align                        | align of pagination                                       | start \\| center \\| end                                                                                                                               | undefined                                                                              |\n| defaultCurrent               | uncontrolled current page                                 | Number                                                                                                                                               | 1                                                                                      |\n| current                      | current page                                              | Number                                                                                                                                               | undefined                                                                              |\n| total                        | items total count                                         | Number                                                                                                                                               | 0                                                                                      |\n| defaultPageSize              | default items per page                                    | Number                                                                                                                                               | 10                                                                                     |\n| pageSize                     | items per page                                            | Number                                                                                                                                               | 10                                                                                     |\n| onChange                     | page change callback                                      | Function(current, pageSize)                                                                                                                          | -                                                                                      |\n| showSizeChanger              | show pageSize changer                                     | Bool                                                                                                                                                 | `false` when total less then `totalBoundaryShowSizeChanger`, `true` when otherwise     |\n| totalBoundaryShowSizeChanger | when total larger than it, `showSizeChanger` will be true | number                                                                                                                                               | 50                                                                                     |\n| pageSizeOptions              | specify the sizeChanger selections                        | Array<String>                                                                                                                                        | ['10', '20', '50', '100']                                                              |\n| onShowSizeChange             | pageSize change callback                                  | Function(current, size)                                                                                                                              | -                                                                                      |\n| hideOnSinglePage             | hide on single page                                       | Bool                                                                                                                                                 | false                                                                                  |\n| showPrevNextJumpers          | show jump-prev, jump-next                                 | Bool                                                                                                                                                 | true                                                                                   |\n| showQuickJumper              | show quick goto jumper                                    | Bool / Object                                                                                                                                        | false / {goButton: true}                                                               |\n| showTotal                    | show total records and range                              | Function(total, [from, to])                                                                                                                          | -                                                                                      |\n| className                    | className of pagination                                   | String                                                                                                                                               | -                                                                                      |\n| simple                       | when set, show simple pager                               | Object                                                                                                                                               | null                                                                                   |\n| locale                       | to set l10n config                                        | Object                                                                                                                                               | [zh_CN](https://github.com/react-component/pagination/blob/master/src/locale/zh_CN.js) |\n| style                        | the style of pagination                                   | Object                                                                                                                                               | {}                                                                                     |\n| showLessItems                | show less page items                                      | Bool                                                                                                                                                 | false                                                                                  |\n| showTitle                    | show page items title                                     | Bool                                                                                                                                                 | true                                                                                   |\n| itemRender                   | custom page item renderer                                 | Function(current, type: 'page' \\| 'prev' \\| 'next' \\| 'jump-prev' \\| 'jump-next', element): React.ReactNode \\| `(current, type, element) => element` |                                                                                        |\n| prevIcon                     | specify the default previous icon                         | ReactNode \\| (props: PaginationProps) => ReactNode                                                                                                   |                                                                                        |\n| nextIcon                     | specify the default next icon                             | ReactNode \\| (props: PaginationProps) => ReactNode                                                                                                   |                                                                                        |\n| jumpPrevIcon                 | specify the default previous icon                         | ReactNode \\| (props: PaginationProps) => ReactNode                                                                                                   |                                                                                        |\n| jumpNextIcon                 | specify the default next icon                             | ReactNode \\| (props: PaginationProps) => ReactNode                                                                                                   |                                                                                        |\n\n## License\n\nrc-pagination is released under the MIT license.\n","publish_time":1596704356838,"_cnpm_publish_time":1596704356838,"dist-tags":{"latest":"5.1.0"}}