"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Headings = exports.StoryText = 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 }; }

/* eslint-disable jsx-a11y/anchor-is-valid */
var _default = {
  title: 'Components/Content Related/Story',
  component: _.default,
  parameters: {
    componentSubtitle: 'Component',
    status: 'released',
    mdx: _README.default
  }
};
exports.default = _default;

var StoryText = function StoryText(args) {
  return /*#__PURE__*/_react.default.createElement(_.default, args, /*#__PURE__*/_react.default.createElement("h2", {
    className: "wfp--story__subtitle"
  }, "Funding facility allows for scale-up of emergency operation"), /*#__PURE__*/_react.default.createElement("h1", {
    className: "wfp--story__title"
  }, "WFP\u2019s Immediate Response Account"), /*#__PURE__*/_react.default.createElement("p", {
    className: "wfp--markup"
  }, "In mid-2016, widespread inter-ethnic tensions and conflict descended on the Kasai region of the ", /*#__PURE__*/_react.default.createElement("a", {
    href: "#"
  }, "Democratic Republic of Congo (DRC)"), ", claiming countless lives and causing massive displacement. The Kasai crisis unfolded within a country already struggling with a protracted and underfunded emergency in the east. Since the emergence of the Kasai crisis, funding shortfalls proved to be a major challenge to WFP\u2019s response."), /*#__PURE__*/_react.default.createElement("h2", null, "Secondary heading"), /*#__PURE__*/_react.default.createElement("p", null, "The scale of the food security and nutrition crisis in Kasai is immense. In ", /*#__PURE__*/_react.default.createElement("a", {
    href: "#"
  }, "September 2017"), ", the", ' ', /*#__PURE__*/_react.default.createElement("span", {
    className: "wfp--inline-highlight"
  }, "World Food Programme (WFP)\u2019s Emergency Food Security Assessment"), ' ', "found that there were 3.2 million severely food insecure people in this region alone. In addition, 400,000 children are at risk of dying from severe acute malnutrition without urgent life-saving assistance."), /*#__PURE__*/_react.default.createElement("h3", null, "Smaller Heading (h3) with ", /*#__PURE__*/_react.default.createElement("a", {
    href: "#"
  }, "link")), /*#__PURE__*/_react.default.createElement("ul", {
    className: "wfp--story__list"
  }, /*#__PURE__*/_react.default.createElement("li", null, "Lorem ipsum dolor sit amet"), /*#__PURE__*/_react.default.createElement("li", null, "Consetetur sadipscing elitr"), /*#__PURE__*/_react.default.createElement("li", null, "Sed diam nonumy eirmod tempor invidunt ut labore et dolore")), /*#__PURE__*/_react.default.createElement("p", null, "The scale of the food security and nutrition crisis in Kasai is immense. In September 2017, the World Food Programme (WFP)\u2019s Emergency Food Security Assessment found that there were 3.2 million severely food insecure people in this region alone. In addition, 400,000 children are at risk of dying from severe acute malnutrition without urgent life-saving assistance."), /*#__PURE__*/_react.default.createElement("hr", {
    className: "wfp--story__divider"
  }), /*#__PURE__*/_react.default.createElement("p", null, "The scale of the food security and nutrition crisis in Kasai is immense. In September 2017, the World Food Programme (WFP)\u2019s Emergency Food Security Assessment found that there were 3.2 million severely food insecure people in this region alone. In addition, 400,000 children are at risk of dying from severe acute malnutrition without urgent life-saving assistance."), /*#__PURE__*/_react.default.createElement("hr", {
    className: "wfp--story__divider--lg"
  }), /*#__PURE__*/_react.default.createElement("p", null, "The scale of the food security and nutrition crisis in Kasai is immense. In September 2017, the World Food Programme (WFP)\u2019s Emergency Food Security Assessment found that there were 3.2 million severely food insecure people in this region alone. In addition, 400,000 children are at risk of dying from severe acute malnutrition without urgent life-saving assistance."));
};

exports.StoryText = StoryText;
var description = "\nYou can customize the content by using `BannerNavigation`.\n";
StoryText.story = {
  parameters: {
    docs: {
      storyDescription: description
    }
  }
};
var headingText = [{
  kind: 'h1',
  text: 'Heading 1',
  styling: '29px, SemiBold'
}, {
  kind: 'h2',
  text: 'Heading 2',
  styling: '25px, SemiBold'
}, {
  kind: 'h3',
  text: 'Heading 3',
  styling: '22px, SemiBold'
}, {
  kind: 'h4',
  text: 'Heading 4',
  styling: '20px, SemiBold'
}, {
  kind: 'h5',
  text: 'Heading 5',
  styling: '18px, SemiBold'
}, {
  kind: 'h6',
  text: 'Heading 6',
  styling: '16px, SemiBold'
}];

var Headings = function Headings(args) {
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, headingText.map(function (e) {
    return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_.default, null, e.kind === 'h1' ? /*#__PURE__*/_react.default.createElement(e.kind, {
      className: "wfp--story__title"
    }, e.text) : /*#__PURE__*/_react.default.createElement(e.kind, null, e.text), /*#__PURE__*/_react.default.createElement("div", {
      style: {
        color: '#A9A9A9',
        marginBottom: '2rem'
      }
    }, e.styling)));
  }));
};

exports.Headings = Headings;