"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _react = _interopRequireDefault(require("react"));
var _react2 = require("@storybook/react");
var _Example = _interopRequireDefault(require("../docs/Example"));
var _ExampleSortable = _interopRequireDefault(require("../docs/ExampleSortable"));
var _ExampleSortableOldDesign = _interopRequireDefault(require("../docs/ExampleSortableOldDesign"));
var _ExampleWithoutHeader = _interopRequireDefault(require("../docs/ExampleWithoutHeader"));
var _ExampleWithHiddenHeader = _interopRequireDefault(require("../docs/ExampleWithHiddenHeader"));
var _ExampleWithPopoverMenu = _interopRequireDefault(require("../docs/ExampleWithPopoverMenu"));
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/Table/DataTable/test/DataTable.visual.jsx",
  _this = void 0;
var tests = [{
  describe: 'DataTable',
  its: [{
    it: 'Simple',
    story: function story() {
      return /*#__PURE__*/_react["default"].createElement(_Example["default"], {
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 17,
          columnNumber: 22
        }
      });
    }
  }, {
    it: 'SortableDynamicWidth',
    story: function story() {
      return /*#__PURE__*/_react["default"].createElement(_ExampleSortable["default"], {
        style: {
          width: '80%'
        },
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 21,
          columnNumber: 22
        }
      });
    }
  }, {
    it: 'Sortable',
    story: function story() {
      return /*#__PURE__*/_react["default"].createElement(_ExampleSortable["default"], {
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 25,
          columnNumber: 22
        }
      });
    }
  }, {
    it: 'SortableOldDesign',
    story: function story() {
      return /*#__PURE__*/_react["default"].createElement(_ExampleSortableOldDesign["default"], {
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 29,
          columnNumber: 22
        }
      });
    }
  }, {
    it: 'WithoutHeader',
    story: function story() {
      return /*#__PURE__*/_react["default"].createElement(_ExampleWithoutHeader["default"], {
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 33,
          columnNumber: 22
        }
      });
    }
  }, {
    it: 'WithHiddenHeader',
    story: function story() {
      return /*#__PURE__*/_react["default"].createElement(_ExampleWithHiddenHeader["default"], {
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 37,
          columnNumber: 22
        }
      });
    }
  }, {
    it: 'Should always TableActionCell popover menu',
    story: function story() {
      return /*#__PURE__*/_react["default"].createElement(_ExampleWithPopoverMenu["default"], {
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 41,
          columnNumber: 22
        }
      });
    }
  }]
}];
tests.forEach(function (_ref) {
  var describe = _ref.describe,
    its = _ref.its;
  its.forEach(function (_ref2) {
    var it = _ref2.it,
      story = _ref2.story;
    (0, _react2.storiesOf)(describe, module).add(it, story);
  });
});