"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 PaymentsAmount_1 = require("./PaymentsAmount");
var PaymentsOptions_1 = require("./PaymentsOptions");
var PaymentsWrapper_1 = require("./PaymentsWrapper");
var PaymentsLoginOrGuest_1 = require("./PaymentsLoginOrGuest");
var PaymentsTextComponents_1 = require("./PaymentsTextComponents");
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");
};
react_1.storiesOf("Pulse / Payments", module)
    .add("Payment Type", function () {
    return (React.createElement(Container, null,
        React.createElement(PaymentsWrapper_1.PaymentsWrapper, { newsroomName: "Coda Story", usdToSpend: 3 },
            React.createElement(PaymentsOptions_1.PaymentsOptions, { usdToSpend: 1, isStripeConnected: true, handleNext: onClickFunc }))));
})
    .add("Payment Amount", function () {
    return (React.createElement(Container, null,
        React.createElement(PaymentsWrapper_1.PaymentsWrapper, { newsroomName: "Coda Story" },
            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(PaymentsLoginOrGuest_1.PaymentsLoginOrGuest, { handleNext: onClickFunc, handleLogin: onClickFunc })));
})
    .add("Payment Success", function () {
    return (React.createElement(Container, null,
        React.createElement(PaymentsTextComponents_1.PaymentSuccessText, { newsroomName: "Coda Story", usdToSpend: 2 })));
});
var templateObject_1;
//# sourceMappingURL=Payments.stories.js.map