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.3 to 4.0.4

2

es/index.d.ts
export { default } from './Pagination';
export type * from './interface';
export type { PaginationLocale, PaginationProps } from './interface';

@@ -276,18 +276,21 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

if (simple) {
if (typeof goButton === 'boolean') {
gotoButton = /*#__PURE__*/React.createElement("button", {
type: "button",
onClick: handleGoTO,
onKeyUp: handleGoTO
}, locale.jump_to_confirm);
} else {
/*#__PURE__*/React.createElement("span", {
onClick: handleGoTO,
onKeyUp: handleGoTO
}, goButton);
// ====== Simple quick jump ======
if (goButton) {
if (typeof goButton === 'boolean') {
gotoButton = /*#__PURE__*/React.createElement("button", {
type: "button",
onClick: handleGoTO,
onKeyUp: handleGoTO
}, locale.jump_to_confirm);
} else {
gotoButton = /*#__PURE__*/React.createElement("span", {
onClick: handleGoTO,
onKeyUp: handleGoTO
}, goButton);
}
gotoButton = /*#__PURE__*/React.createElement("li", {
title: showTitle ? "".concat(locale.jump_to).concat(current, "/").concat(allPages) : null,
className: "".concat(prefixCls, "-simple-pager")
}, gotoButton);
}
gotoButton = /*#__PURE__*/React.createElement("li", {
title: showTitle ? "".concat(locale.jump_to).concat(current, "/").concat(allPages) : null,
className: "".concat(prefixCls, "-simple-pager")
}, gotoButton);
simplePager = /*#__PURE__*/React.createElement("li", {

@@ -294,0 +297,0 @@ title: showTitle ? "".concat(current, "/").concat(allPages) : null,

export { default } from './Pagination';
export type * from './interface';
export type { PaginationLocale, PaginationProps } from './interface';

@@ -286,18 +286,21 @@ "use strict";

if (simple) {
if (typeof goButton === 'boolean') {
gotoButton = /*#__PURE__*/_react.default.createElement("button", {
type: "button",
onClick: handleGoTO,
onKeyUp: handleGoTO
}, locale.jump_to_confirm);
} else {
/*#__PURE__*/_react.default.createElement("span", {
onClick: handleGoTO,
onKeyUp: handleGoTO
}, goButton);
// ====== Simple quick jump ======
if (goButton) {
if (typeof goButton === 'boolean') {
gotoButton = /*#__PURE__*/_react.default.createElement("button", {
type: "button",
onClick: handleGoTO,
onKeyUp: handleGoTO
}, locale.jump_to_confirm);
} else {
gotoButton = /*#__PURE__*/_react.default.createElement("span", {
onClick: handleGoTO,
onKeyUp: handleGoTO
}, goButton);
}
gotoButton = /*#__PURE__*/_react.default.createElement("li", {
title: showTitle ? "".concat(locale.jump_to).concat(current, "/").concat(allPages) : null,
className: "".concat(prefixCls, "-simple-pager")
}, gotoButton);
}
gotoButton = /*#__PURE__*/_react.default.createElement("li", {
title: showTitle ? "".concat(locale.jump_to).concat(current, "/").concat(allPages) : null,
className: "".concat(prefixCls, "-simple-pager")
}, gotoButton);
simplePager = /*#__PURE__*/_react.default.createElement("li", {

@@ -304,0 +307,0 @@ title: showTitle ? "".concat(current, "/").concat(allPages) : null,

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

@@ -5,0 +5,0 @@ "keywords": [

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