import _extends from "@babel/runtime/helpers/extends";
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/esm/CardFolderTabs/test/CardFolderTabs.visual.jsx",
  _this = this;
import React from 'react';
import { storiesOf } from '@storybook/react';
import CardFolderTabs from '../CardFolderTabs';
var commonProps = {
  children: [/*#__PURE__*/React.createElement(CardFolderTabs.Tab, {
    id: "1",
    name: "Simple tab",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 7,
      columnNumber: 5
    }
  }, /*#__PURE__*/React.createElement("div", {
    style: {
      height: '250px',
      width: '500px',
      backgroundColor: '#eee'
    },
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 8,
      columnNumber: 7
    }
  })), /*#__PURE__*/React.createElement(CardFolderTabs.Tab, {
    id: "2",
    name: "Long name tab",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 12,
      columnNumber: 5
    }
  }, /*#__PURE__*/React.createElement("div", {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 13,
      columnNumber: 7
    }
  })), /*#__PURE__*/React.createElement(CardFolderTabs.Tab, {
    id: "3",
    name: "Disabled tab",
    disabled: true,
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 15,
      columnNumber: 5
    }
  }, /*#__PURE__*/React.createElement("div", {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 16,
      columnNumber: 7
    }
  }))]
};
var tests = [{
  describe: 'sanity',
  its: [{
    it: 'default',
    props: {
      activeId: '1'
    }
  }]
}, {
  describe: 'fluid',
  its: [{
    it: 'fluid',
    props: {
      fluid: true
    }
  }]
}, {
  describe: 'ellipsis',
  its: [{
    it: 'enabled',
    props: {
      ellipsis: true
    }
  }, {
    it: 'disabled',
    props: {
      ellipsis: false
    }
  }]
}, {
  describe: 'size',
  its: [{
    it: 'small',
    props: {
      size: 'small'
    }
  }, {
    it: 'medium',
    props: {
      size: 'medium'
    }
  }]
}];
tests.forEach(function (_ref) {
  var describe = _ref.describe,
    its = _ref.its;
  its.forEach(function (_ref2) {
    var it = _ref2.it,
      props = _ref2.props;
    storiesOf("".concat(CardFolderTabs.displayName).concat(describe ? '/' + describe : ''), module).add(it, function () {
      return /*#__PURE__*/React.createElement(CardFolderTabs, _extends({}, commonProps, props, {
        __self: _this,
        __source: {
          fileName: _jsxFileName,
          lineNumber: 85,
          columnNumber: 21
        }
      }));
    });
  });
});