rc-pagination
Advanced tools
Comparing version 4.0.3 to 4.0.4
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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171424
4639