"use strict";
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 });
const addon_centered_1 = __importDefault(require("@storybook/addon-centered"));
const addon_info_1 = require("@storybook/addon-info");
const addon_knobs_1 = require("@storybook/addon-knobs");
const addon_notes_1 = require("@storybook/addon-notes");
const react_1 = require("@storybook/react");
const React = __importStar(require("react"));
const index_1 = require("./index");
const Icon_1 = require("../Icon");
react_1.storiesOf('Atoms|Tooltip', module)
    .addDecorator(addon_knobs_1.withKnobs)
    .addDecorator(addon_centered_1.default)
    .add('Tooltip', addon_info_1.withInfo({ text: 'Tooltip' })(addon_notes_1.withNotes('A very simple component')(() => {
    const tooltip = addon_knobs_1.text('Tooltip', 'This is a tooltip');
    const offset = addon_knobs_1.text('Offset', '0, 0, 0, 0');
    return (React.createElement(index_1.Tooltip, { tooltip: tooltip, offset: offset },
        React.createElement(Icon_1.Icon, { symbolId: Icon_1.IconSymbol.BELL, color: '#FFF', size: 40 })));
})))
    .add('Tooltip Alternate', addon_info_1.withInfo({ text: 'Tooltip Alternate' })(addon_notes_1.withNotes('A very simple component')(() => {
    const tooltip = addon_knobs_1.text('Tooltip', 'This is an alternate tooltip');
    const offset = addon_knobs_1.text('Offset', '0, 0, 0, 0');
    const gradient = 'linear-gradient(-180deg, rgba(0,0,0,0.3) 0vh, rgba(0,0,0,0.3) 100vh), linear-gradient(-180deg, #85A9C4 0vh, #C5C7C6 22vh, #DFD2C0 58vh, #F1B87C 100vh)';
    return (React.createElement(index_1.Tooltip, { tooltip: tooltip, offset: offset, alternate: true, themeGradient: gradient },
        React.createElement(Icon_1.Icon, { symbolId: Icon_1.IconSymbol.BELL, color: '#FFF', size: 40 })));
})));
//# sourceMappingURL=stories.js.map