Socket
Socket
Sign inDemoInstall

rc-pagination

Package Overview
Dependencies
Maintainers
10
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-pagination - npm Package Compare versions

Comparing version 4.0.4 to 4.1.0

es/locale/sr_Cyrl_RS.js

1

es/interface.d.ts

@@ -27,2 +27,3 @@ import type React from 'react';

hideOnSinglePage: boolean;
align: 'start' | 'center' | 'end';
showSizeChanger: boolean;

@@ -29,0 +30,0 @@ showLessItems: boolean;

3

es/Pagination.js

@@ -45,2 +45,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

hideOnSinglePage = props.hideOnSinglePage,
align = props.align,
_props$showPrevNextJu = props.showPrevNextJumpers,

@@ -425,3 +426,3 @@ showPrevNextJumpers = _props$showPrevNextJu === void 0 ? true : _props$showPrevNextJu,

}
var cls = classNames(prefixCls, className, (_classNames5 = {}, _defineProperty(_classNames5, "".concat(prefixCls, "-simple"), simple), _defineProperty(_classNames5, "".concat(prefixCls, "-disabled"), disabled), _classNames5));
var cls = classNames(prefixCls, className, (_classNames5 = {}, _defineProperty(_classNames5, "".concat(prefixCls, "-start"), align === 'start'), _defineProperty(_classNames5, "".concat(prefixCls, "-center"), align === 'center'), _defineProperty(_classNames5, "".concat(prefixCls, "-end"), align === 'end'), _defineProperty(_classNames5, "".concat(prefixCls, "-simple"), simple), _defineProperty(_classNames5, "".concat(prefixCls, "-disabled"), disabled), _classNames5));
return /*#__PURE__*/React.createElement("ul", _extends({

@@ -428,0 +429,0 @@ className: cls,

@@ -27,2 +27,3 @@ import type React from 'react';

hideOnSinglePage: boolean;
align: 'start' | 'center' | 'end';
showSizeChanger: boolean;

@@ -29,0 +30,0 @@ showLessItems: boolean;

@@ -55,2 +55,3 @@ "use strict";

hideOnSinglePage = props.hideOnSinglePage,
align = props.align,
_props$showPrevNextJu = props.showPrevNextJumpers,

@@ -435,3 +436,3 @@ showPrevNextJumpers = _props$showPrevNextJu === void 0 ? true : _props$showPrevNextJu,

}
var cls = (0, _classnames.default)(prefixCls, className, (_classNames5 = {}, (0, _defineProperty2.default)(_classNames5, "".concat(prefixCls, "-simple"), simple), (0, _defineProperty2.default)(_classNames5, "".concat(prefixCls, "-disabled"), disabled), _classNames5));
var cls = (0, _classnames.default)(prefixCls, className, (_classNames5 = {}, (0, _defineProperty2.default)(_classNames5, "".concat(prefixCls, "-start"), align === 'start'), (0, _defineProperty2.default)(_classNames5, "".concat(prefixCls, "-center"), align === 'center'), (0, _defineProperty2.default)(_classNames5, "".concat(prefixCls, "-end"), align === 'end'), (0, _defineProperty2.default)(_classNames5, "".concat(prefixCls, "-simple"), simple), (0, _defineProperty2.default)(_classNames5, "".concat(prefixCls, "-disabled"), disabled), _classNames5));
return /*#__PURE__*/_react.default.createElement("ul", (0, _extends2.default)({

@@ -438,0 +439,0 @@ className: cls,

{
"name": "rc-pagination",
"version": "4.0.4",
"version": "4.1.0",
"description": "pagination ui component for react",

@@ -52,3 +52,3 @@ "keywords": [

"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.0.0",
"@testing-library/react": "^15.0.4",
"@types/jest": "^29.2.2",

@@ -63,11 +63,11 @@ "@types/react": "^18.0.0",

"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-unicorn": "^49.0.0",
"eslint-plugin-unicorn": "^52.0.0",
"father": "^4.0.0",
"gh-pages": "^6.1.0",
"glob": "^10.3.10",
"husky": "^8.0.3",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"less": "^4.1.3",
"lint-staged": "^15.0.2",
"np": "^9.0.0",
"np": "^10.0.5",
"prettier": "^3.1.0",

@@ -74,0 +74,0 @@ "rc-select": "^14.1.2",

@@ -58,2 +58,3 @@ # rc-pagination

| disabled | disable pagination | Bool | - |
| align | align of pagination | start \| center \| end | undefined |
| defaultCurrent | uncontrolled current page | Number | 1 |

@@ -60,0 +61,0 @@ | current | current page | Number | undefined |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc