@desynova-digital/components 8.19.9 → 8.19.11

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.
@@ -996,7 +996,8 @@ var Table = function (_Component) {
996
996
  downloadAvailable = _props2.downloadAvailable;
997
997
  var _state2 = this.state,
998
998
  nestedTable = _state2.nestedTable,
999
- searchedText = _state2.searchedText;
999
+ searchedText = _state2.searchedText,
1000
+ items = _state2.items;
1000
1001
 
1001
1002
 
1002
1003
  var rows = this.state.items.map(function (item, index) {
@@ -1350,6 +1351,13 @@ var Table = function (_Component) {
1350
1351
  key: idx,
1351
1352
  onClick: function onClick(e) {
1352
1353
  if (_this4.props.commonActionClickHandler) {
1354
+ items.map(function (ele) {
1355
+ return ele.rowChecked = false;
1356
+ });
1357
+ _this4.setState({ ingestedDbIdArray: [],
1358
+ isAllRowsSelected: false,
1359
+ commonActionsSelected: [],
1360
+ selectedRows: [] });
1353
1361
  _this4.props.commonActionClickHandler(item, e, _this4.state.ingestedDbIdArray, "common-action");
1354
1362
  } else {
1355
1363
  console.log("pass func as props named 'commonActionClickHandler'... receive args as actionItem name and event obj. ");
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.19.9",
3
+ "version": "8.19.11",
4
4
  "description": "Components for Desynova Digital",
5
5
  "main": "index.js",
6
6
  "author": "desynova-digital",
7
7
  "license": "MIT",
8
8
  "repository": "desynova-digital",
9
9
  "dependencies": {
10
- "@desynova-digital/tokens": "8.19.9",
10
+ "@desynova-digital/tokens": "8.19.11",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },