"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;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("@storybook/react");
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var Modal_1 = require("./Modal");
var FullscreenModal_1 = require("./FullscreenModal");
var StyledDiv = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: flex;\n  width: 100vh;\n  height: 100vw;\n  background-color: #fff;\n"], ["\n  display: flex;\n  width: 100vh;\n  height: 100vw;\n  background-color: #fff;\n"])));
var Container = function (_a) {
    var children = _a.children;
    return (React.createElement(StyledDiv, null,
        React.createElement("div", null, children)));
};
react_1.storiesOf("Pattern Library / Modals", module)
    .add("Modal", function () {
    return (React.createElement(Container, null,
        React.createElement("p", null, "Some good stuff was already on the page which is pretty exciting"),
        process.env.NODE_ENV !== "test" && (React.createElement(Modal_1.Modal, null,
            React.createElement("h3", null, "Hello"),
            React.createElement("p", null, "lorem ipsum whatever you know what i mean. It gets pretty long because thats more useful")))));
})
    .add("Fullscreen Modal", function () {
    var handleClose = function () {
        console.log("Modal closed");
    };
    return (React.createElement(Container, null,
        React.createElement("p", null, "Some good stuff was already on the page which is pretty exciting"),
        process.env.NODE_ENV !== "test" && (React.createElement(FullscreenModal_1.FullScreenModal, { open: true, handleClose: handleClose },
            React.createElement("h3", null, "Hello"),
            React.createElement("p", null, "lorem ipsum whatever you know what i mean. It gets pretty long because thats more useful")))));
});
var templateObject_1;
//# sourceMappingURL=Modal.stories.js.map