@carbon/ibm-products 2.43.2-canary.95 → 2.43.2-canary.96

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.
@@ -203,7 +203,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
203
203
  };
204
204
  var getNewCellId = function getNewCellId(key) {
205
205
  var totalRows = instance.rows.length;
206
- var newCellId = key === 'Enter' ? "column-".concat(columnIndex, "-row-").concat(cell.row.index < totalRows - 1 ? cell.row.index + 1 : cell.row.index) : "column-".concat(columnIndex < instance.columns.length - 1 ? columnIndex + 1 : columnIndex, "-row-").concat(cell.row.index);
206
+ var newCellId = key === 'Enter' ? "column-".concat(columnIndex, "-row-").concat(cell.row.index < totalRows - 1 && type === 'checkbox' ? cell.row.index + 1 : cell.row.index) : "column-".concat(columnIndex < instance.columns.length - 1 ? columnIndex + 1 : columnIndex, "-row-").concat(cell.row.index);
207
207
  return newCellId;
208
208
  };
209
209
  var handleKeyDown = function handleKeyDown(event) {
@@ -212,7 +212,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
212
212
  };
213
213
  var getNewCellId = function getNewCellId(key) {
214
214
  var totalRows = instance.rows.length;
215
- var newCellId = key === 'Enter' ? "column-".concat(columnIndex, "-row-").concat(cell.row.index < totalRows - 1 ? cell.row.index + 1 : cell.row.index) : "column-".concat(columnIndex < instance.columns.length - 1 ? columnIndex + 1 : columnIndex, "-row-").concat(cell.row.index);
215
+ var newCellId = key === 'Enter' ? "column-".concat(columnIndex, "-row-").concat(cell.row.index < totalRows - 1 && type === 'checkbox' ? cell.row.index + 1 : cell.row.index) : "column-".concat(columnIndex < instance.columns.length - 1 ? columnIndex + 1 : columnIndex, "-row-").concat(cell.row.index);
216
216
  return newCellId;
217
217
  };
218
218
  var handleKeyDown = function handleKeyDown(event) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.43.2-canary.95+d746ce5d2",
4
+ "version": "2.43.2-canary.96+43d4802a4",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -120,5 +120,5 @@
120
120
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
121
121
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
122
122
  },
123
- "gitHead": "d746ce5d213534c3bd527075c19735fb345b1d45"
123
+ "gitHead": "43d4802a4d774512900ceba3e99adb572ad890ac"
124
124
  }