@cashub/ui 0.36.0 → 0.37.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/table/Table.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "private": false,
5
5
  "author": "CasHUB Team",
6
6
  "description": "CasHUB UI components library",
package/table/Table.js CHANGED
@@ -52,7 +52,8 @@ const Table = _ref => {
52
52
  translation,
53
53
  beforeCreateRow,
54
54
  popoverContainer,
55
- centerFooter = false
55
+ centerFooter = false,
56
+ showPager = true
56
57
  } = _ref;
57
58
  const tableRef = (0, _react.useRef)(null);
58
59
  const {
@@ -269,7 +270,7 @@ const Table = _ref => {
269
270
  center: centerFooter,
270
271
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_TableFooterInfo.default, {
271
272
  children: texts.info.replace('_START_', start).replace('_END_', end).replace('_TOTAL_', total)
272
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_TableFooterPager.default, {
273
+ }), showPager && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_TableFooterPager.default, {
273
274
  center: centerFooter,
274
275
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Paginate.default, {
275
276
  currentPage: currentPage,