"use strict";

exports.__esModule = true;
exports.default = exports.Base = void 0;

var _react = _interopRequireDefault(require("react"));

var _Skeleton = _interopRequireDefault(require("./Skeleton"));

var _feedObject = require("../../types/feedObject");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _default = {
  title: 'Design System/SC UI/Skeleton/FeedObject',
  component: _Skeleton.default,
  argTypes: {
    variant: {
      options: ['elevation', 'outlined'],
      control: {
        type: 'select'
      },
      description: 'The variant to use. Types: "elevation", "outlined", etc.',
      table: {
        defaultValue: {
          summary: 'elevation'
        }
      }
    },
    elevation: {
      control: {
        type: 'number'
      },
      description: 'Used only if variant="elevation". Shadow depth, corresponds to dp in the spec. It accepts values between 0 and 24 inclusive.',
      table: {
        defaultValue: {
          summary: 1
        }
      }
    },
    template: {
      options: [_feedObject.SCFeedObjectTemplateType.SNIPPET, _feedObject.SCFeedObjectTemplateType.PREVIEW, _feedObject.SCFeedObjectTemplateType.DETAIL],
      control: {
        type: 'select'
      },
      description: 'Object template. Used only with args id.',
      table: {
        defaultValue: {
          summary: _feedObject.SCFeedObjectTemplateType.SNIPPET
        }
      }
    },
    className: {
      table: {
        disable: true
      }
    },
    rest: {
      table: {
        disable: true
      }
    }
  },
  args: {
    elevation: 1,
    variant: 'elevation',
    template: _feedObject.SCFeedObjectTemplateType.DETAIL
  }
};
exports.default = _default;

const Template = args => /*#__PURE__*/_react.default.createElement("div", {
  style: {
    width: 400
  }
}, /*#__PURE__*/_react.default.createElement(_Skeleton.default, args));

const Base = Template.bind({});
exports.Base = Base;
Base.args = {};