"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 __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
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 React = __importStar(require("react"));
var styled_components_1 = __importStar(require("styled-components"));
var PaymentsAmount_1 = require("./PaymentsAmount");
var PaymentsOptions_1 = require("./PaymentsOptions");
var PaymentsLoginOrGuest_1 = require("./PaymentsLoginOrGuest");
var PaymentsSuccess_1 = require("./PaymentsSuccess");
var context_1 = require("../context");
var input_1 = require("../input");
var Button_1 = require("../Button");
var Container = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  width: 400px;\n"], ["\n  width: 400px;\n"])));
var suggestedAmounts = [{ amount: "1" }, { amount: "2" }, { amount: "3" }, { amount: "5" }];
var onClickFunc = function () {
    console.log("clicked");
};
var theme = __assign(__assign(__assign({}, input_1.DEFAULT_CHECKBOX_THEME), Button_1.DEFAULT_BUTTON_THEME), { renderContext: context_1.RENDER_CONTEXT.EMBED });
react_1.storiesOf("Boost / Payments", module)
    .add("Payment Type", function () {
    return (React.createElement(Container, null,
        React.createElement(styled_components_1.ThemeProvider, { theme: theme },
            React.createElement(PaymentsOptions_1.PaymentsOptions, { postId: "jlasjdfkljsdf", usdToSpend: 1, isStripeConnected: true, handleNext: onClickFunc, renderContext: context_1.RENDER_CONTEXT.EMBED }))));
})
    .add("Payment Amount", function () {
    return (React.createElement(Container, null,
        React.createElement(styled_components_1.ThemeProvider, { theme: theme },
            React.createElement(PaymentsAmount_1.PaymentsAmount, { newsroomName: "Coda Story", suggestedAmounts: suggestedAmounts, handleAmount: onClickFunc }))));
})
    .add("Payment Login or Guest Selection", function () {
    return (React.createElement(Container, null,
        React.createElement(styled_components_1.ThemeProvider, { theme: theme },
            React.createElement(PaymentsLoginOrGuest_1.PaymentsLoginOrGuest, { handleNext: onClickFunc, handleLogin: onClickFunc }))));
})
    .add("Payment Success", function () {
    return (React.createElement(Container, null,
        React.createElement(styled_components_1.ThemeProvider, { theme: theme },
            React.createElement(PaymentsSuccess_1.PaymentsSuccess, { newsroomName: "Coda Story", usdToSpend: 2, handleClose: onClickFunc }))));
});
var templateObject_1;
//# sourceMappingURL=Payments.stories.js.map