@luminati-io/uikit 3.5.13 → 3.5.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -38412,7 +38412,6 @@ Provider.defaultProps = {
38412
38412
  getFooterProps: defaultPropGetter,
38413
38413
  rowDensity: 'busy_bee',
38414
38414
  canOrderColumns: false,
38415
- enableIndentation: false,
38416
38415
  isCellEditable: function isCellEditable(_ref) {
38417
38416
  var column = _ref.column;
38418
38417
  return column.canEdit;
@@ -38475,8 +38474,7 @@ Provider.propTypes = {
38475
38474
  rowActions: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().array),
38476
38475
  scrollable: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
38477
38476
  scrollHeight: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
38478
- expandColumnId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
38479
- enableIndentation: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
38477
+ expandColumnId: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
38480
38478
  };
38481
38479
  var calcPageCount = function calcPageCount(totalCount, pageSize) {
38482
38480
  return Math.ceil(totalCount / pageSize);
@@ -41193,8 +41191,7 @@ var TableCell = function TableCell(props) {
41193
41191
  getCellProps = _useTableContext.getCellProps,
41194
41192
  isCellEditable = _useTableContext.isCellEditable,
41195
41193
  onStartEdit = _useTableContext.onStartEdit,
41196
- expandColumnId = _useTableContext.expandColumnId,
41197
- enableIndentation = _useTableContext.enableIndentation;
41194
+ expandColumnId = _useTableContext.expandColumnId;
41198
41195
  var isEditable = canEdit && isCellEditable(cell);
41199
41196
  var startEditing = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
41200
41197
  columnStartEditing(columnId, rowId);
@@ -41223,10 +41220,8 @@ var TableCell = function TableCell(props) {
41223
41220
  }), cellProps.className);
41224
41221
  var Wrapper = expandColumnId == columnId && (canExpand && isExpanded || depth > 0) ? ExpandedTableCellContent : TableCellContent;
41225
41222
  var Content = isEditable ? EditableCellContent : CellContent;
41226
- var indentation = enableIndentation && depth > 0 ? depth : 0;
41227
41223
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Wrapper, _extends({}, cellProps, {
41228
- $isLastPinned: isLastPinned,
41229
- $indentation: indentation
41224
+ $isLastPinned: isLastPinned
41230
41225
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Content, {
41231
41226
  $type: type,
41232
41227
  $isEditing: isEditing,
@@ -41247,9 +41242,7 @@ var TableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
41247
41242
  var ExpandedTableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()(TableCellContent).withConfig({
41248
41243
  displayName: "ExpandedTableCellContent",
41249
41244
  componentId: "sc-1gdt4qg-1"
41250
- })(["position:relative;", " &::before{content:'';position:absolute;left:0;top:0;height:calc(100% + 1px);border-left:4px solid ", ";}"], function (props) {
41251
- return props.$indentation ? (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding-left:", "px;&::after{content:'';position:absolute;left ", "px;top:0;height:calc(100% + 1px);border-left:2px solid ", ";}"], props.$indentation * 15, props.$indentation * 15, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.blue_6) : undefined;
41252
- }, _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.blue_6);
41245
+ })(["position:relative;&::before{content:'';position:absolute;left:0;top:0;height:calc(100% + 1px);border-left:4px solid ", ";}"], _theme__WEBPACK_IMPORTED_MODULE_2__["default"].color.blue_6);
41253
41246
  var CellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
41254
41247
  displayName: "CellContent",
41255
41248
  componentId: "sc-1gdt4qg-2"