"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var react_1 = require("@storybook/react");
var with_readme_1 = require("storybook-readme/with-readme");
var styled_components_1 = require("styled-components");
var _1 = require("../");
var headingReadme = require("./README/Heading.md");
var txtReadme = require("./README/Txt.md");
var linkReadme = require("./README/Link.md");
var Container = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  margin: 60px;\n"], ["\n  margin: 60px;\n"])));
react_1.storiesOf('Core/Typography', module)
    .addDecorator(function (story) { return React.createElement(Container, null, story()); })
    .add('Headings', with_readme_1.default(headingReadme, function () {
    return (React.createElement(React.Fragment, null,
        React.createElement(_1.Heading.h1, null, "Heading h1"),
        React.createElement(_1.Heading.h2, null, "Heading h2"),
        React.createElement(_1.Heading.h3, null, "Heading h3"),
        React.createElement(_1.Heading.h4, null, "Heading h4"),
        React.createElement(_1.Heading.h5, null, "Heading h5"),
        React.createElement(_1.Heading.h6, null, "Heading h6")));
}))
    .addWithInfo('Txt', with_readme_1.default(txtReadme, function () {
    return (React.createElement("div", null,
        React.createElement(_1.Txt, null, "Standard txt"),
        React.createElement(_1.Txt, { align: 'center' }, "Centered"),
        React.createElement(_1.Txt, { align: 'right' }, "Right"),
        React.createElement(_1.Txt, { bold: true }, "Bold"),
        React.createElement(_1.Txt, { monospace: true }, "Monospace"),
        React.createElement(_1.Txt.span, { color: 'blue' }, "Inline "),
        React.createElement(_1.Txt.span, { color: 'red' }, "Inline "),
        React.createElement(_1.Txt.span, { color: 'yellow' }, "Inline ")));
}))
    .add('Link', with_readme_1.default(linkReadme, function () {
    return (React.createElement("div", null,
        React.createElement("div", null,
            React.createElement(_1.Link, { href: "#" }, "Internal Link")),
        React.createElement("div", null,
            React.createElement(_1.Link, { href: "https://resin.io", blank: true }, "External Link")),
        React.createElement("div", null,
            React.createElement(_1.Link, { disabled: true, href: "https://resin.io", blank: true }, "Disabled Link"))));
}));
var templateObject_1;
