@mailstep/design-system 0.5.0-beta.33 → 0.5.0-beta.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.5.0-beta.33",
3
+ "version": "0.5.0-beta.34",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -15,13 +15,12 @@ var LABEL_VALUE = '_label_';
15
15
  var filterRowsOption = function (option) { return option.value !== LABEL_VALUE; };
16
16
  var TablePagination = function (_a) {
17
17
  var gridActions = _a.gridActions, gridSelectors = _a.gridSelectors;
18
- var setRowsPerPage = gridActions.setRowsPerPage, setPage = gridActions.setPage;
18
+ var setRowsPerPage = gridActions.setRowsPerPage;
19
19
  var onSetRowsPerPage = useCallback(function (option) {
20
20
  if (option && 'value' in option) {
21
21
  setRowsPerPage === null || setRowsPerPage === void 0 ? void 0 : setRowsPerPage(Number(option.value));
22
- setPage === null || setPage === void 0 ? void 0 : setPage(gridSelectors.page);
23
22
  }
24
- }, [gridSelectors.page, setPage, setRowsPerPage]);
23
+ }, [setRowsPerPage]);
25
24
  var rowsPerPageOptions = useMemo(function () {
26
25
  return rowsPerPageOptionValues.map(function (value) { return ({ value: value, label: value }); });
27
26
  }, []);