@luminati-io/uikit 3.4.12 → 3.4.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -33129,13 +33129,13 @@ var DragDrop = function DragDrop(props) {
33129
33129
  return _objectSpread(_objectSpread({}, acc), {}, _defineProperty({}, item.id, item));
33130
33130
  }, {});
33131
33131
  }, [items]);
33132
- return /*#__PURE__*/React.createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_4__.DragDropContext, {
33132
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_4__.DragDropContext, {
33133
33133
  onDragEnd: onDragEnd
33134
- }, /*#__PURE__*/React.createElement(_layout__WEBPACK_IMPORTED_MODULE_2__.Flex, {
33134
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_2__.Flex, {
33135
33135
  flex_direction: direction,
33136
33136
  gap: "6px"
33137
33137
  }, value.map(function (itemList, i) {
33138
- return /*#__PURE__*/React.createElement(_droppable__WEBPACK_IMPORTED_MODULE_3__.DroppableArea, {
33138
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_droppable__WEBPACK_IMPORTED_MODULE_3__.DroppableArea, {
33139
33139
  key: i,
33140
33140
  dropIndex: i,
33141
33141
  items: itemList.map(function (id) {
@@ -34402,7 +34402,7 @@ __webpack_require__.r(__webpack_exports__);
34402
34402
  /*jslint react:true*/
34403
34403
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
34404
34404
  var _excluded = ["className", "classNamePrefix", "value", "onChange", "disabled", "options", "variant", "size", "label", "labelIcon", "helperText", "invalid", "required", "necessityIndicator"],
34405
- _excluded2 = ["classNamePrefix", "value", "checked", "onClick", "label", "disabled", "size", "tooltip", "verticalAlign"];
34405
+ _excluded2 = ["classNamePrefix", "value", "checked", "onClick", "label", "disabled", "size", "tooltip", "interactive_tooltip", "verticalAlign"];
34406
34406
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
34407
34407
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
34408
34408
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
@@ -34514,6 +34514,7 @@ var Radio = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef
34514
34514
  disabled = props.disabled,
34515
34515
  size = props.size,
34516
34516
  tooltip = props.tooltip,
34517
+ interactive_tooltip = props.interactive_tooltip,
34517
34518
  verticalAlign = props.verticalAlign,
34518
34519
  rest = _objectWithoutProperties(props, _excluded2);
34519
34520
  var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useLabelId)(props.id);
@@ -34521,7 +34522,8 @@ var Radio = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef
34521
34522
  if (!disabled) onClick === null || onClick === void 0 || onClick(value, evt);
34522
34523
  };
34523
34524
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_6__.Tooltip, {
34524
- tooltip: tooltip
34525
+ tooltip: tooltip,
34526
+ interactive: interactive_tooltip
34525
34527
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RadioWrapper, _extends({
34526
34528
  ref: ref,
34527
34529
  className: (0,_util__WEBPACK_IMPORTED_MODULE_8__.classNames)(classNamePrefix, _defineProperty(_defineProperty({
@@ -38096,7 +38098,9 @@ Provider.propTypes = {
38096
38098
  className: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
38097
38099
  onSelectRows: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
38098
38100
  canOrderColumns: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
38099
- rowActions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array)
38101
+ rowActions: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array),
38102
+ scrollable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
38103
+ scrollHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)
38100
38104
  };
38101
38105
  var calcPageCount = function calcPageCount(totalCount, pageSize) {
38102
38106
  return Math.ceil(totalCount / pageSize);
@@ -38637,8 +38641,9 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
38637
38641
 
38638
38642
 
38639
38643
 
38640
- var TableFooter = function TableFooter(props) {
38644
+ var TableFooter = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
38641
38645
  var className = props.className,
38646
+ style = props.style,
38642
38647
  rowDensity = props.rowDensity;
38643
38648
  var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_3__.useTableContext)(),
38644
38649
  footerGroups = _useTableContext.footerGroups,
@@ -38649,11 +38654,13 @@ var TableFooter = function TableFooter(props) {
38649
38654
  });
38650
38655
  if (isFooterHidden) return null;
38651
38656
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
38657
+ ref: ref,
38652
38658
  role: "rowgroup",
38653
38659
  "data-rowgroup-type": "footer",
38654
38660
  className: (0,_util__WEBPACK_IMPORTED_MODULE_1__.classNames)(className, {
38655
38661
  tableFooter: true
38656
- })
38662
+ }),
38663
+ style: style
38657
38664
  }, footerGroups.map(function (group) {
38658
38665
  var _group$getFooterGroup = group.getFooterGroupProps(),
38659
38666
  key = _group$getFooterGroup.key,
@@ -38676,7 +38683,7 @@ var TableFooter = function TableFooter(props) {
38676
38683
  });
38677
38684
  }));
38678
38685
  }));
38679
- };
38686
+ });
38680
38687
  TableFooter.displayName = 'TableFooter';
38681
38688
  var FooterCell = function FooterCell(props) {
38682
38689
  var className = props.className,
@@ -38734,6 +38741,7 @@ __webpack_require__.r(__webpack_exports__);
38734
38741
  /*jslint react:true*/
38735
38742
 
38736
38743
  var _excluded = ["key"];
38744
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
38737
38745
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
38738
38746
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
38739
38747
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -38743,6 +38751,11 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
38743
38751
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
38744
38752
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
38745
38753
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
38754
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
38755
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
38756
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
38757
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
38758
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
38746
38759
 
38747
38760
 
38748
38761
 
@@ -38753,7 +38766,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
38753
38766
 
38754
38767
 
38755
38768
 
38756
- var TableHeader = function TableHeader(props) {
38769
+ var TableHeader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (props, ref) {
38757
38770
  var className = props.className,
38758
38771
  compact = props.compact,
38759
38772
  left = props.left;
@@ -38761,11 +38774,12 @@ var TableHeader = function TableHeader(props) {
38761
38774
  headerGroups = _useTableContext.headerGroups,
38762
38775
  hideHeader = _useTableContext.hideHeader;
38763
38776
  if (hideHeader) return null;
38764
- var style = {};
38777
+ var style = _objectSpread({}, props.style);
38765
38778
  if (typeof left != 'undefined') style.marginLeft = (0,_utils__WEBPACK_IMPORTED_MODULE_6__.toPixel)(-left);
38766
38779
  var dataAttributes = {};
38767
38780
  if (!compact) dataAttributes['data-rowgroup-type'] = 'head';
38768
38781
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", _extends({
38782
+ ref: ref,
38769
38783
  role: "rowgroup",
38770
38784
  style: style
38771
38785
  }, dataAttributes, {
@@ -38798,7 +38812,7 @@ var TableHeader = function TableHeader(props) {
38798
38812
  });
38799
38813
  }));
38800
38814
  }));
38801
- };
38815
+ });
38802
38816
  TableHeader.displayName = 'TableHeader';
38803
38817
  var HeaderCell = function HeaderCell(props) {
38804
38818
  var className = props.className,
@@ -39184,12 +39198,12 @@ __webpack_require__.r(__webpack_exports__);
39184
39198
 
39185
39199
 
39186
39200
 
39187
- _table__WEBPACK_IMPORTED_MODULE_3__["default"].CustomizeButton = _customize_button__WEBPACK_IMPORTED_MODULE_2__["default"];
39188
- _table__WEBPACK_IMPORTED_MODULE_3__["default"].Pagination = _pagination__WEBPACK_IMPORTED_MODULE_4__["default"];
39189
- _table__WEBPACK_IMPORTED_MODULE_3__["default"].Provider = _context__WEBPACK_IMPORTED_MODULE_1__["default"];
39190
- _table__WEBPACK_IMPORTED_MODULE_3__["default"].withPlugins = _plugin__WEBPACK_IMPORTED_MODULE_5__.withPlugins;
39191
- _table__WEBPACK_IMPORTED_MODULE_3__["default"].plugins = _plugin__WEBPACK_IMPORTED_MODULE_5__.plugins;
39192
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_table__WEBPACK_IMPORTED_MODULE_3__["default"]);
39201
+ _table__WEBPACK_IMPORTED_MODULE_3__.Table.CustomizeButton = _customize_button__WEBPACK_IMPORTED_MODULE_2__["default"];
39202
+ _table__WEBPACK_IMPORTED_MODULE_3__.Table.Pagination = _pagination__WEBPACK_IMPORTED_MODULE_4__["default"];
39203
+ _table__WEBPACK_IMPORTED_MODULE_3__.Table.Provider = _context__WEBPACK_IMPORTED_MODULE_1__["default"];
39204
+ _table__WEBPACK_IMPORTED_MODULE_3__.Table.withPlugins = _plugin__WEBPACK_IMPORTED_MODULE_5__.withPlugins;
39205
+ _table__WEBPACK_IMPORTED_MODULE_3__.Table.plugins = _plugin__WEBPACK_IMPORTED_MODULE_5__.plugins;
39206
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_table__WEBPACK_IMPORTED_MODULE_3__.Table);
39193
39207
 
39194
39208
  /***/ }),
39195
39209
 
@@ -40011,6 +40025,7 @@ var PopoverMenu = function PopoverMenu(props) {
40011
40025
  });
40012
40026
  }, [allActions]);
40013
40027
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_4__["default"], {
40028
+ className: _render_row__WEBPACK_IMPORTED_MODULE_7__.preventOnClickClass,
40014
40029
  items: items,
40015
40030
  size: "sm"
40016
40031
  });
@@ -40490,7 +40505,7 @@ _plugin__WEBPACK_IMPORTED_MODULE_2__.plugins.stickyRows = function () {
40490
40505
  "use strict";
40491
40506
  __webpack_require__.r(__webpack_exports__);
40492
40507
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
40493
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
40508
+ /* harmony export */ Table: () => (/* binding */ Table)
40494
40509
  /* harmony export */ });
40495
40510
  /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isObject */ "./node_modules/lodash/isObject.js");
40496
40511
  /* harmony import */ var lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isObject__WEBPACK_IMPORTED_MODULE_0__);
@@ -40511,9 +40526,15 @@ __webpack_require__.r(__webpack_exports__);
40511
40526
 
40512
40527
 
40513
40528
  /*jslint react:true*/
40529
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
40514
40530
 
40515
40531
 
40516
40532
  var _excluded = ["getTableProps"];
40533
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
40534
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
40535
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
40536
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
40537
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
40517
40538
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
40518
40539
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
40519
40540
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -40545,9 +40566,24 @@ var InnerTable = function InnerTable(props) {
40545
40566
  var onRowClick = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(props.onRowClick, context.onRowClick);
40546
40567
  var stickyHeader = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(props.stickyHeader, context.stickyHeader);
40547
40568
  var scrollTarget = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(props.scrollTarget, context.scrollTarget);
40569
+ var scrollable = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(props.scrollable, context.scrollable);
40570
+ var scrollHeight = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(props.scrollHeight, context.scrollHeight);
40548
40571
  var offsetTop = lodash_isObject__WEBPACK_IMPORTED_MODULE_0___default()(stickyHeader) && stickyHeader.offsetTop || 0;
40549
40572
  var wrapperRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
40550
40573
  var tableRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
40574
+ var headerRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
40575
+ var footerRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)();
40576
+ var onScroll = scrollable ? function (evt) {
40577
+ if (footerRef.current) footerRef.current.scrollLeft = evt.target.scrollLeft;
40578
+ if (headerRef.current) headerRef.current.scrollLeft = evt.target.scrollLeft;
40579
+ } : undefined;
40580
+ var headStyle = scrollable ? {
40581
+ overflow: 'hidden'
40582
+ } : undefined;
40583
+ var bodyStyle = scrollable ? {
40584
+ overflow: 'auto',
40585
+ maxHeight: scrollHeight
40586
+ } : undefined;
40551
40587
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableWrapper, {
40552
40588
  ref: wrapperRef,
40553
40589
  className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
@@ -40560,14 +40596,20 @@ var InnerTable = function InnerTable(props) {
40560
40596
  table: true
40561
40597
  })
40562
40598
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_header__WEBPACK_IMPORTED_MODULE_8__.TableHeader, {
40563
- className: className
40599
+ ref: headerRef,
40600
+ className: className,
40601
+ style: headStyle
40564
40602
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableBody, {
40565
40603
  rowDensity: rowDensity,
40566
40604
  className: className,
40567
- onRowClick: onRowClick
40605
+ onRowClick: onRowClick,
40606
+ style: bodyStyle,
40607
+ onScroll: onScroll
40568
40608
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_footer__WEBPACK_IMPORTED_MODULE_7__.TableFooter, {
40609
+ ref: footerRef,
40569
40610
  rowDensity: rowDensity,
40570
- className: className
40611
+ className: className,
40612
+ style: headStyle
40571
40613
  }), !!stickyHeader && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_sticky_header__WEBPACK_IMPORTED_MODULE_10__.StickyHeader, {
40572
40614
  offsetTop: offsetTop,
40573
40615
  onRowClick: onRowClick,
@@ -40592,7 +40634,8 @@ StyledTable.displayName = 'StyledTable';
40592
40634
  var TableBody = function TableBody(props) {
40593
40635
  var className = props.className,
40594
40636
  rowDensity = props.rowDensity,
40595
- onRowClick = props.onRowClick;
40637
+ onRowClick = props.onRowClick,
40638
+ onScroll = props.onScroll;
40596
40639
  var _useTableContext2 = (0,_context__WEBPACK_IMPORTED_MODULE_6__.useTableContext)(),
40597
40640
  getTableBodyProps = _useTableContext2.getTableBodyProps,
40598
40641
  prepareRow = _useTableContext2.prepareRow,
@@ -40621,12 +40664,16 @@ var TableBody = function TableBody(props) {
40621
40664
  });
40622
40665
  });
40623
40666
  }();
40624
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement("div", _extends({
40667
+ var bodyProps = getTableBodyProps();
40668
+ var style = _objectSpread(_objectSpread({}, props.style), bodyProps.style);
40669
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableBodyRowGroup, _extends({
40625
40670
  "data-rowgroup-type": "body"
40626
- }, getTableBodyProps(), {
40671
+ }, bodyProps, {
40627
40672
  className: (0,_util__WEBPACK_IMPORTED_MODULE_5__.classNames)(className, {
40628
40673
  tableBody: true
40629
- })
40674
+ }),
40675
+ style: style,
40676
+ onScroll: onScroll
40630
40677
  }), pinnedRows.map(function (row) {
40631
40678
  prepareRow(row);
40632
40679
  return (0,_render_row__WEBPACK_IMPORTED_MODULE_9__.renderRow)({
@@ -40639,7 +40686,10 @@ var TableBody = function TableBody(props) {
40639
40686
  });
40640
40687
  }), body);
40641
40688
  };
40642
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Table);
40689
+ var TableBodyRowGroup = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
40690
+ displayName: "TableBodyRowGroup",
40691
+ componentId: "sc-ebeoik-2"
40692
+ })(["", ""], _theme__WEBPACK_IMPORTED_MODULE_4__["default"].scrollbars.thin);
40643
40693
 
40644
40694
  /***/ }),
40645
40695