"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = exports.Basic = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _FieldSet = _interopRequireDefault(require("./FieldSet"));
var _Input = _interopRequireDefault(require("../Input"));
var _ToggleSwitch = _interopRequireDefault(require("../ToggleSwitch"));
var _InputArea = _interopRequireDefault(require("../InputArea"));
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/FieldSet/FieldSet.story.tsx";
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; }
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) { (0, _defineProperty2.default)(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; }
var _default = exports.default = {
  title: 'FieldSet',
  component: _FieldSet.default
};
var Template = args => /*#__PURE__*/_react.default.createElement("div", {
  style: {
    width: '500px'
  },
  __self: void 0,
  __source: {
    fileName: _jsxFileName,
    lineNumber: 15,
    columnNumber: 3
  }
}, /*#__PURE__*/_react.default.createElement(_FieldSet.default, (0, _extends2.default)({}, args, {
  __self: void 0,
  __source: {
    fileName: _jsxFileName,
    lineNumber: 16,
    columnNumber: 5
  }
})));
var commonProps = {
  children: [/*#__PURE__*/_react.default.createElement(_Input.default, {
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 21,
      columnNumber: 14
    }
  }), /*#__PURE__*/_react.default.createElement(_ToggleSwitch.default, {
    checked: true,
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 21,
      columnNumber: 25
    }
  }), /*#__PURE__*/_react.default.createElement(_InputArea.default, {
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 21,
      columnNumber: 51
    }
  })]
};
var Basic = exports.Basic = Template.bind({});
Basic.args = _objectSpread(_objectSpread({}, commonProps), {}, {
  legend: 'Basic FieldSet'
});
//# sourceMappingURL=FieldSet.story.js.map