@cakemail-org/ui-components-v2 2.2.36 → 2.2.37

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/cjs/index.js CHANGED
@@ -8971,7 +8971,7 @@ function DataTable(_a) {
8971
8971
  var _o = React.useState((initState === null || initState === void 0 ? void 0 : initState.selected) || []), cSelected = _o[0], setSelected = _o[1];
8972
8972
  var _p = React.useState((initState === null || initState === void 0 ? void 0 : initState.page) || 0), cPage = _p[0], setPage = _p[1];
8973
8973
  var _q = React.useState((initState === null || initState === void 0 ? void 0 : initState.rowsPerPage) || 50), cRowsPerPage = _q[0], setRowsPerPage = _q[1];
8974
- var isControlled = areAllPropertiesEmpty(controlledState);
8974
+ var isControlled = !areAllPropertiesEmpty(controlledState);
8975
8975
  var order = cOrder;
8976
8976
  var orderBy = cOrderBy;
8977
8977
  var selected = cSelected;
package/dist/esm/index.js CHANGED
@@ -8951,7 +8951,7 @@ function DataTable(_a) {
8951
8951
  var _o = useState((initState === null || initState === void 0 ? void 0 : initState.selected) || []), cSelected = _o[0], setSelected = _o[1];
8952
8952
  var _p = useState((initState === null || initState === void 0 ? void 0 : initState.page) || 0), cPage = _p[0], setPage = _p[1];
8953
8953
  var _q = useState((initState === null || initState === void 0 ? void 0 : initState.rowsPerPage) || 50), cRowsPerPage = _q[0], setRowsPerPage = _q[1];
8954
- var isControlled = areAllPropertiesEmpty(controlledState);
8954
+ var isControlled = !areAllPropertiesEmpty(controlledState);
8955
8955
  var order = cOrder;
8956
8956
  var orderBy = cOrderBy;
8957
8957
  var selected = cSelected;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.36",
3
+ "version": "2.2.37",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",