@bento-core/table 1.0.1-ccdihub.106 → 1.0.1-ccdihub.108

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.
@@ -52,7 +52,7 @@ const ExtendedView = _ref => {
52
52
  style: downloadAreaStyle
53
53
  }, /*#__PURE__*/_react.default.createElement(_CustomPagination.default, {
54
54
  customTheme: customTheme.tblTopPgn,
55
- rowsPerPageOptions: [10, 25, 50, 100],
55
+ rowsPerPageOptions: table.rowsPerPageOptions || [10, 25, 50, 100],
56
56
  component: "div",
57
57
  count: table.totalRowCount || 0,
58
58
  rowsPerPage: table.rowsPerPage || 10,
package/dist/TableView.js CHANGED
@@ -152,7 +152,7 @@ const TableView = _ref => {
152
152
  style: getPaginationStyle(table, hasExport)
153
153
  }, /*#__PURE__*/_react.default.createElement(_CustomPagination.default, {
154
154
  customTheme: themeConfig.tblPgn,
155
- rowsPerPageOptions: [10, 25, 50, 100],
155
+ rowsPerPageOptions: table.rowsPerPageOptions || [10, 25, 50, 100],
156
156
  component: "div",
157
157
  count: table.totalRowCount || 0,
158
158
  rowsPerPage: table.rowsPerPage || 10,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.106",
3
+ "version": "1.0.1-ccdihub.108",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -48,7 +48,7 @@ const ExtendedView = ({
48
48
  <div className="downloadArea" style={downloadAreaStyle}>
49
49
  <CustomPagination
50
50
  customTheme={customTheme.tblTopPgn}
51
- rowsPerPageOptions={[10, 25, 50, 100]}
51
+ rowsPerPageOptions={table.rowsPerPageOptions || [10, 25, 50, 100]}
52
52
  component="div"
53
53
  count={table.totalRowCount || 0}
54
54
  rowsPerPage={table.rowsPerPage || 10}
package/src/TableView.js CHANGED
@@ -152,7 +152,7 @@ const TableView = ({
152
152
  <div className="downloadArea" style={getPaginationStyle(table, hasExport)}>
153
153
  <CustomPagination
154
154
  customTheme={themeConfig.tblPgn}
155
- rowsPerPageOptions={[10, 25, 50, 100]}
155
+ rowsPerPageOptions={table.rowsPerPageOptions || [10, 25, 50, 100]}
156
156
  component="div"
157
157
  count={table.totalRowCount || 0}
158
158
  rowsPerPage={table.rowsPerPage || 10}