@carbon/ibm-products 2.43.2-canary.171 → 2.43.2-canary.172
Sign up to get free protection for your applications and to get access to all the features.
@@ -367,11 +367,6 @@ var InlineEditCell = function InlineEditCell(_ref) {
|
|
367
367
|
return Calendar;
|
368
368
|
}
|
369
369
|
};
|
370
|
-
var renderRegularCell = function renderRegularCell() {
|
371
|
-
return /*#__PURE__*/React__default.createElement("span", _extends({}, inputProps, {
|
372
|
-
id: cellId
|
373
|
-
}));
|
374
|
-
};
|
375
370
|
var renderDateCell = function renderDateCell() {
|
376
371
|
var _config$inputProps, _outerButtonElement$c;
|
377
372
|
var datePickerPreparedProps = prepareProps(config.inputProps, ['datePickerInputProps']);
|
@@ -531,7 +526,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
|
|
531
526
|
onClick: !nonEditCell ? handleInlineCellClick : addActiveState,
|
532
527
|
onKeyDown: !nonEditCell ? handleKeyDown : null,
|
533
528
|
className: cx("".concat(blockClass, "__inline-edit--outer-cell-button"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(blockClass, "__inline-edit--outer-cell-button--").concat(rowSize), rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--lg"), !rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--invalid"), inEditMode && (config === null || config === void 0 || (_config$validator = config.validator) === null || _config$validator === void 0 ? void 0 : _config$validator.call(config, cellValue))), "".concat(blockClass, "__static--outer-cell"), !disabledCell))
|
534
|
-
},
|
529
|
+
}, (!inEditMode || disabledCell) && type !== 'checkbox' && /*#__PURE__*/React__default.createElement(InlineEditButton, {
|
535
530
|
isActiveCell: cellId === activeCellId,
|
536
531
|
renderIcon: setRenderIcon(),
|
537
532
|
label: getLabel(),
|
@@ -376,11 +376,6 @@ var InlineEditCell = function InlineEditCell(_ref) {
|
|
376
376
|
return icons.Calendar;
|
377
377
|
}
|
378
378
|
};
|
379
|
-
var renderRegularCell = function renderRegularCell() {
|
380
|
-
return /*#__PURE__*/React__default["default"].createElement("span", _rollupPluginBabelHelpers["extends"]({}, inputProps, {
|
381
|
-
id: cellId
|
382
|
-
}));
|
383
|
-
};
|
384
379
|
var renderDateCell = function renderDateCell() {
|
385
380
|
var _config$inputProps, _outerButtonElement$c;
|
386
381
|
var datePickerPreparedProps = propsHelper.prepareProps(config.inputProps, ['datePickerInputProps']);
|
@@ -540,7 +535,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
|
|
540
535
|
onClick: !nonEditCell ? handleInlineCellClick : addActiveState,
|
541
536
|
onKeyDown: !nonEditCell ? handleKeyDown : null,
|
542
537
|
className: cx__default["default"]("".concat(blockClass, "__inline-edit--outer-cell-button"), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__inline-edit--outer-cell-button--").concat(rowSize), rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--lg"), !rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--invalid"), inEditMode && (config === null || config === void 0 || (_config$validator = config.validator) === null || _config$validator === void 0 ? void 0 : _config$validator.call(config, cellValue))), "".concat(blockClass, "__static--outer-cell"), !disabledCell))
|
543
|
-
},
|
538
|
+
}, (!inEditMode || disabledCell) && type !== 'checkbox' && /*#__PURE__*/React__default["default"].createElement(InlineEditButton.InlineEditButton, {
|
544
539
|
isActiveCell: cellId === activeCellId,
|
545
540
|
renderIcon: setRenderIcon(),
|
546
541
|
label: getLabel(),
|
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.
|
4
|
+
"version": "2.43.2-canary.172+517e4f366",
|
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": "
|
123
|
+
"gitHead": "517e4f36631cf1cc81d6f21fd25a83b3c65da540"
|
124
124
|
}
|