"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.CollectionTableContentCard = CollectionTableContentCard;
var _designSystem = require("@wix/design-system");
var _react = _interopRequireDefault(require("react"));
var _ToolbarCollectionContentAutoSizer = require("../ToolbarCollectionContentAutoSizer");
var _commonStCss = require("../common.st.css.js");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/CollectionTable/CollectionTableContentCard.tsx";
function CollectionTableContentCard(props) {
  const {
    children
  } = props;
  return (
    /*#__PURE__*/
    // wrapping with Card is WSR way to make the sticky table header not to add extra border between the header and the content https://www.docs.wixdesignsystem.com/?path=/story/components-lists-table--table#Sticky_Toolbar_&_Sub-toolbar
    _react.default.createElement(_designSystem.Box, {
      direction: "vertical",
      backgroundColor: "D80",
      borderRadius: "0px 0px 8px 8px",
      overflow: "hidden",
      className: (0, _commonStCss.st)(_commonStCss.classes.column, _commonStCss.classes.fullHeight),
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 17,
        columnNumber: 5
      }
    }, /*#__PURE__*/_react.default.createElement(_ToolbarCollectionContentAutoSizer.ToolbarCollectionContentAutoSizer, {
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 24,
        columnNumber: 7
      }
    }, /*#__PURE__*/_react.default.createElement(_designSystem.Table.Content, {
      titleBarVisible: false,
      dataHook: "table-content",
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 25,
        columnNumber: 9
      }
    }), children))
  );
}
//# sourceMappingURL=CollectionTableContentCard.js.map