{"name":"rc-pagination","version":"1.20.9","description":"pagination ui component for react","keywords":["react","react-component","react-pagination","pagination"],"homepage":"http://github.com/react-component/pagination","author":{"name":"i@xiaoba.me"},"repository":{"type":"git","url":"git+ssh://git@github.com/react-component/pagination.git"},"bugs":{"url":"http://github.com/react-component/pagination/issues"},"license":"MIT","main":"lib/index","module":"es/index","types":"rc-pagination.d.ts","config":{"port":3000,"entry":{"rc-pagination":["./src/index.js","./assets/index.less"]}},"scripts":{"dist":"rc-tools run dist","build":"rc-tools run build","compile":"rc-tools run compile --babel-runtime","gh-pages":"rc-tools run gh-pages","start":"rc-tools run server","pub":"rc-tools run pub --babel-runtime","lint":"rc-tools run lint","lint:fix":"rc-tools run lint --fix","karma":"rc-test run karma","saucelabs":"rc-test run saucelabs","test":"rc-test run test","chrome-test":"rc-test run chrome-test","coverage":"rc-test run coverage","now-build":"npm run build"},"devDependencies":{"core-js":"^3.1.4","expect.js":"0.3.x","pre-commit":"1.x","rc-select":"9.x","rc-test":"^6.0.1","rc-tools":"6.x","react":"^16.5.2","react-dom":"^16.5.2"},"pre-commit":["lint"],"dependencies":{"babel-runtime":"6.x","classnames":"^2.2.6","prop-types":"^15.5.7","react-lifecycles-compat":"^3.0.4"},"gitHead":"8a211e4cdc8b83e923444fe04040941a191441a4","_id":"rc-pagination@1.20.9","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"shaodahong","email":"337097324@qq.com"},"dist":{"integrity":"sha512-X/y2kZWrUyX/x7Ncbh/KrcPxStMuQTytqx4XPsla5ub881wGpiCdiVJxfhlqlVlqJmXRsxLYAcn8Vbi8pmmjKA==","shasum":"891c5f33b4199c6e0f3616d0656c30fc7f4b726c","tarball":"http://registry-npm.ywwl.com/rc-pagination/download/rc-pagination-1.20.9.tgz","fileCount":127,"unpackedSize":556751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmzIXCRA9TVsSAnZWagAAhOAP/iWegXp6K9UeIjPQHuBo\n5OGzi7IVuzXjRmLba/mABmjHX0itkpMb3wKeDc9/DD60+cjlheBnaZIZnZqZ\nqAGtK02mGHjKXPeJ+G50kY69zbL++roCWqA3BaowH5SQEOOVz9JwQaGS4STD\nDULIo/93vj4RljlH4MWkfuCwJ5NACSAAhEJxMb6geOFF1F/t5oOLXP1yv7qW\nw6NGyNan/7kd6PTR77ExQtVLBKdGUKdFlBqV2hsHag3qgkFtzJjN3PGy3f6L\nS6ncpmfX4mLqQmjDM27JHClRu09ivYJh/7JTFqupYExgsXblZPm+2FMhsUWG\nQoKFaLlDsBpFzpec/5EBmCg0LAEQwXFOvZNUcJAegq1eYwy9XecW6SPoF16z\nAlDlCz7fD6P6o7oH+TNXzUVqwCl0ilsADj2v+43+MG97PNueM6U0248byd0W\n6BrAJUfeD7YnJ55VtKBi8iCN0c9Q0mckiUgDQQh4RQfhS5NeQOPgGSf5+jvp\ndJpn/cEt8bd1yEb1rLs7HZjJVcZcdSKAra1ZcF2YtF85rOFMZOM6dLfY8Ih6\ni5h8asfo1vNYXmRy+VtgOC7LdMPVsp0aceonMrd/I2HmMcDuqypsi0WfPDc+\nkJiuK05mPYlOjlpAcS2u3FGnZkRam68YgWpLTxk/+EZ2SGYEohgLTFlqnGcV\nr0dG\r\n=GqoD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMEihSYaVOBsn3m58dzxxOKfzlZPWNOvLZYUx/lk9VkQIgWHYhuejIaDLW1mKCHsDRda6ctOnj1dOIT2JDO2JPcmc="}],"size":125485,"noattachment":false,"key":"/rc-pagination/-/rc-pagination-1.20.9.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"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc-pagination_1.20.9_1570451991224_0.002913263118443643"},"_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":1570451991491,"_cnpm_publish_time":1570451991491,"dist-tags":{"latest":"5.1.0"}}