rc-pagination
Advanced tools
Comparing version 1.8.7 to 1.8.8
@@ -244,3 +244,4 @@ 'use strict'; | ||
onClick: this._prev, | ||
className: (this._hasPrev() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev' | ||
className: (this._hasPrev() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev', | ||
'aria-disabled': !this._hasPrev() | ||
}, | ||
@@ -274,3 +275,4 @@ _react2["default"].createElement('a', null) | ||
onClick: this._next, | ||
className: (this._hasNext() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next' | ||
className: (this._hasNext() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next', | ||
'aria-disabled': !this._hasNext() | ||
}, | ||
@@ -392,3 +394,4 @@ _react2["default"].createElement('a', null) | ||
} | ||
var prevDisabled = !this._hasPrev(); | ||
var nextDisabled = !this._hasNext(); | ||
return _react2["default"].createElement( | ||
@@ -407,3 +410,4 @@ 'ul', | ||
onClick: this._prev, | ||
className: (this._hasPrev() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev' | ||
className: (!prevDisabled ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev', | ||
'aria-disabled': prevDisabled | ||
}, | ||
@@ -418,3 +422,4 @@ _react2["default"].createElement('a', null) | ||
onClick: this._next, | ||
className: (this._hasNext() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next' | ||
className: (!nextDisabled ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next', | ||
'aria-disabled': nextDisabled | ||
}, | ||
@@ -421,0 +426,0 @@ _react2["default"].createElement('a', null) |
{ | ||
"name": "rc-pagination", | ||
"version": "1.8.7", | ||
"version": "1.8.8", | ||
"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
41177
1096