"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Disabled = exports.ModalWithLabel = exports.ModalWithHeading = exports.PassiveModal = exports.Regular = exports.default = void 0;

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

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

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

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

var _default = {
  title: 'Components/Content Related/ModalWrapper',
  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, args.children);
};

exports.Regular = Regular;
Regular.args = {
  buttonTriggerText: 'Open modal',
  children: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.',
  modalLabel: 'Modal label',
  modalHeading: 'Modal heading',
  modalText: 'Modal text'
};

var PassiveModal = function PassiveModal(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args, "This section is the body");
};

exports.PassiveModal = PassiveModal;
PassiveModal.args = {
  buttonTriggerText: 'Open modal',
  passiveModal: true
};
var desc = "\n `PassiveModal` presents information the user needs to be aware of concerning their current workflow. Contains no actions for the user to take..\n";
PassiveModal.story = {
  parameters: {
    docs: {
      storyDescription: desc
    }
  }
};

var ModalWithHeading = function ModalWithHeading(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args, "This section is the body");
};

exports.ModalWithHeading = ModalWithHeading;
ModalWithHeading.args = {
  buttonTriggerText: 'Open modal',
  modalHeading: 'Header Text',
  withHeader: true
};
var description = "\n `withHeader` property when applied adds header text to modal.\n";
ModalWithHeading.story = {
  parameters: {
    docs: {
      storyDescription: description
    }
  }
};

var ModalWithLabel = function ModalWithLabel(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args, "This section is the body");
};

exports.ModalWithLabel = ModalWithLabel;
ModalWithLabel.args = {
  buttonTriggerText: 'Open modal',
  modalLabel: 'modal Label',
  withHeader: true
};
var describe = "\n `withLabel` property when applied adds a Label text to modal.\n";
ModalWithLabel.story = {
  parameters: {
    docs: {
      storyDescription: describe
    }
  }
};

var Disabled = function Disabled(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args, "This section is the body");
};

exports.Disabled = Disabled;
Disabled.args = {
  buttonTriggerText: 'Open modal',
  disabled: true
};
var disablemsg = "\n `withLabel` property set the modal trigger button to be disabled/non-interactive.\n";
Disabled.story = {
  parameters: {
    docs: {
      storyDescription: disablemsg
    }
  }
};