"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ExtendedUser = exports.AvatarOnly = exports.Regular = exports.default = void 0;

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

var _README = _interopRequireDefault(require("./README.mdx"));

var _ = _interopRequireDefault(require("."));

var _List = require("../List");

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

var _default = {
  title: 'Components/UI Elements/User',
  component: _.default,
  parameters: {
    componentSubtitle: 'Component',
    status: 'released',
    mdx: _README.default
  }
};
exports.default = _default;

var Regular = function Regular(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args);
};

exports.Regular = Regular;
Regular.args = {
  children: 'Max Mustermann'
};

var AvatarOnly = function AvatarOnly(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, {
    name: "Max Mustermann",
    showName: false,
    image: "https://www.wfp.org/sites/default/files/styles/page_accordion/public/images/ourwork_humanitarian.jpg?itok=R0ymBwxH"
  });
};

exports.AvatarOnly = AvatarOnly;
var description = "\nYou can show the avatar only without showing the username.\n";
AvatarOnly.story = {
  parameters: {
    docs: {
      storyDescription: description
    }
  }
};

var ExtendedUser = function ExtendedUser(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, {
    alt: "Image Alt text",
    description: /*#__PURE__*/_react.default.createElement(_List.List, {
      kind: "simple",
      small: true
    }, /*#__PURE__*/_react.default.createElement(_List.ListItem, null, "Business Support Assistant G4"), /*#__PURE__*/_react.default.createElement(_List.ListItem, null, "Fixed Term")),
    extendedDescription: /*#__PURE__*/_react.default.createElement(_List.List, {
      kind: "simple",
      small: true
    }, /*#__PURE__*/_react.default.createElement(_List.ListItem, {
      title: "First level supervisor"
    }, "Marie Curie"), /*#__PURE__*/_react.default.createElement(_List.ListItem, {
      title: "Mrc"
    }, "Tanzania Country Office"), /*#__PURE__*/_react.default.createElement(_List.ListItem, {
      title: "Head of unit"
    }, "Max Planck")),
    name: "Albert Einstein",
    image: "https://www.wfp.org/sites/default/files/styles/page_accordion/public/images/ourwork_humanitarian.jpg?itok=R0ymBwxH"
  });
};

exports.ExtendedUser = ExtendedUser;
var extendedDescription = "\nYou can show the avatar only without showing the username.\n";
ExtendedUser.story = {
  parameters: {
    docs: {
      storyDescription: extendedDescription
    }
  }
};