"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 __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("@storybook/react");
var styled_components_1 = __importDefault(require("styled-components"));
var React = __importStar(require("react"));
var index_1 = require("./index");
var icons_1 = require("../icons");
var Container = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  > div {\n    margin: 20px;\n  }\n"], ["\n  > div {\n    margin: 20px;\n  }\n"])));
react_1.storiesOf("Pattern Library / Notices", module)
    .add("Notice - All types", function () { return (React.createElement(Container, null,
    React.createElement(index_1.Notice, { type: index_1.NoticeTypes.INFO }, "This is an info notice"),
    React.createElement(index_1.Notice, { type: index_1.NoticeTypes.ERROR }, "This is an error notice"),
    React.createElement(index_1.Notice, { type: index_1.NoticeTypes.ALERT }, "This is an alert notice"),
    React.createElement(index_1.Notice, { type: index_1.NoticeTypes.ATTENTION }, "This is an attention notice"))); })
    .add("Info", function () {
    return React.createElement(index_1.Notice, { type: index_1.NoticeTypes.INFO }, "This is an info notice");
})
    .add("Error", function () {
    return React.createElement(index_1.Notice, { type: index_1.NoticeTypes.ERROR }, "This is an error notice");
})
    .add("Alert", function () {
    return React.createElement(index_1.Notice, { type: index_1.NoticeTypes.ALERT }, "This is an alert notice");
})
    .add("Attention", function () {
    return React.createElement(index_1.Notice, { type: index_1.NoticeTypes.ATTENTION }, "This is an attention notice");
})
    .add("foundation action", function () {
    return (React.createElement(index_1.Notice, { type: index_1.NoticeTypes.FOUNDATION_ACTION, icon: React.createElement(icons_1.GrantSubmitIcon, { width: 48, height: 48 }) },
        " ",
        "This is a foundation action notice"));
});
var templateObject_1;
//# sourceMappingURL=Notice.stories.js.map