@luminati-io/uikit 5.0.3 → 5.0.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -40814,6 +40814,7 @@ var Provider = function Provider(_ref3) {
40814
40814
  hoverActionsDirection: hoverActionsDirection,
40815
40815
  virtualized: virtualized
40816
40816
  });
40817
+ console.log(table);
40817
40818
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TableContext.Provider, {
40818
40819
  value: value
40819
40820
  }, children);
@@ -41608,7 +41609,7 @@ var FooterCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default()
41608
41609
  return props.$type == 'number' ? 'text-align: right;' : null;
41609
41610
  }, function (_ref2) {
41610
41611
  var color = _ref2.theme.color;
41611
- return color.white;
41612
+ return color.bg_primary;
41612
41613
  }, function (props) {
41613
41614
  if (props.$rowDensity == 'diamond_hand') {
41614
41615
  return (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.css)(["padding-top:11px;padding-bottom:11px;"]);
@@ -41814,7 +41815,7 @@ var HeaderCellContent = styled_components__WEBPACK_IMPORTED_MODULE_2___default()
41814
41815
  componentId: "sc-8zg5t0-1"
41815
41816
  })(["background-color:", ";&:hover{background-color:", ";}border-right:", ";"], function (_ref2) {
41816
41817
  var color = _ref2.theme.color;
41817
- return color.white;
41818
+ return color.bg_primary;
41818
41819
  }, function (_ref3) {
41819
41820
  var color = _ref3.theme.color;
41820
41821
  return color.gray_2;
@@ -43802,9 +43803,7 @@ var InnerTable = function InnerTable(props) {
43802
43803
  if (footerRef.current) footerRef.current.scrollLeft = evt.target.scrollLeft;
43803
43804
  if (headerRef.current) headerRef.current.scrollLeft = evt.target.scrollLeft;
43804
43805
  } : undefined;
43805
- var headStyle = virtualized ? {
43806
- overflowX: 'visible'
43807
- } : scrollable ? {
43806
+ var headStyle = scrollable ? {
43808
43807
  overflow: 'hidden'
43809
43808
  } : undefined;
43810
43809
  var bodyStyle = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
@@ -44087,7 +44086,7 @@ var TableCellContent = styled_components__WEBPACK_IMPORTED_MODULE_1___default().
44087
44086
  componentId: "sc-1gdt4qg-0"
44088
44087
  })(["background-color:", ";border-right:", ";"], function (_ref) {
44089
44088
  var color = _ref.theme.color;
44090
- return color.white;
44089
+ return color.bg_primary;
44091
44090
  }, function (_ref2) {
44092
44091
  var $isLastPinned = _ref2.$isLastPinned,
44093
44092
  color = _ref2.theme.color;
@@ -44259,8 +44258,7 @@ var VirtualizedBodyComp = function VirtualizedBodyComp(props) {
44259
44258
  renderRow = props.renderRow,
44260
44259
  droppableProps = props.droppableProps;
44261
44260
  var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_3__.useTableContext)(),
44262
- maxHeight = _useTableContext.scrollHeight,
44263
- totalColumnsWidth = _useTableContext.totalColumnsWidth;
44261
+ maxHeight = _useTableContext.scrollHeight;
44264
44262
  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),
44265
44263
  _useState2 = _slicedToArray(_useState, 2),
44266
44264
  listRef = _useState2[0],
@@ -44292,7 +44290,7 @@ var VirtualizedBodyComp = function VirtualizedBodyComp(props) {
44292
44290
  var width = _ref2.width,
44293
44291
  height = _ref2.height;
44294
44292
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledList, {
44295
- width: totalColumnsWidth + 20 /* hack, use scrollBarWidth instead */,
44293
+ width: width,
44296
44294
  height: height,
44297
44295
  overscanRowCount: 7,
44298
44296
  estimatedRowSize: 30,