tabler-react-2 0.1.129 → 0.1.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/table/index.js
CHANGED
|
@@ -249,7 +249,11 @@ var Table = exports.Table = function Table(_ref4) {
|
|
|
249
249
|
style: {
|
|
250
250
|
marginLeft: 16
|
|
251
251
|
}
|
|
252
|
-
}, "Page ", currentPage, " of ", totalPages)
|
|
252
|
+
}, "Page ", currentPage, " of ", totalPages), /*#__PURE__*/_react["default"].createElement("span", {
|
|
253
|
+
style: {
|
|
254
|
+
marginLeft: 16
|
|
255
|
+
}
|
|
256
|
+
}, "Showing ", (currentPage - 1) * pageSize + 1, " to", " ", Math.min(currentPage * pageSize, sortedData.length), " of", " ", sortedData.length, " rows")), /*#__PURE__*/_react["default"].createElement(_index.DropdownInput, {
|
|
253
257
|
prompt: "Rows per page",
|
|
254
258
|
items: pageSizeOptions.map(function (size) {
|
|
255
259
|
return {
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
title: Changelog
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
# 0.1.130
|
|
6
|
+
|
|
7
|
+
- Added more feedback to the `Table` pagination.
|
|
8
|
+
|
|
9
|
+
# 0.1.129
|
|
10
|
+
|
|
11
|
+
- Added support for `tableClassName` and `paginationClassName` in the `Table` component.
|
|
12
|
+
|
|
5
13
|
# 0.1.127
|
|
6
14
|
|
|
7
15
|
- Added support for `showPagination` and `defaultRowsPerPage` in the `Table` component.
|