import { _ as __assign } from '../tslib.es6-20a2a300.js';
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
import { useState } from 'react';
import Modal from '../components/Modal.js';
import Button from '../components/Button.js';
import Typography from '../components/Typography.js';
import '../components/Container.js';
import '../makeStyles-c9a99c7a.js';
import '../defaultTheme-49a26576.js';
import '../createStyles-16423e9e.js';
import '../Box-581dc061.js';
import '../styled-339d0187.js';
import '../clsx.m-6243b874.js';
import '../hoist-non-react-statics.cjs-b718ab87.js';
import '../components/IconButton.js';
import '../components/Icon.js';
import '../icons/ArrowRight.js';
import '../icons/ArrowRightCircle.js';
import '../icons/Check.js';
import '../icons/CheckCircle.js';
import '../icons/ChevronRight.js';
import '../icons/CrossCircle.js';
import '../icons/DollarSign.js';
import '../icons/InfoCircle.js';
import '../icons/Link.js';
import '../icons/TriangleUp.js';
import '../icons/TriangleDown.js';
import '../icons/TriangleLeft.js';
import '../icons/Copy.js';
import '../icons/SortUp.js';
import '../icons/Cross.js';
import '../icons/Search.js';
import '../icons/Range.js';
import '../theme/colors.js';
import '../IconButton-7563dc0d.js';
import '../withStyles-99aeb25b.js';
import '../capitalize-5d3e9aac.js';
import '../ButtonBase-11d3cdb5.js';
import 'react-dom';
import '../useForkRef-4ff8cc89.js';
import '../useEventCallback-8817ed1c.js';
import '../deprecatedPropType-0232df1e.js';
import '../useIsFocusVisible-c048447c.js';
import '../TransitionGroupContext-2ba64e99.js';
import '../refType-5cc24a92.js';
import '../elementTypeAcceptingRef-7677eeee.js';
import '../Modal-5d521807.js';
import '../ownerDocument-e276d08d.js';
import '../Portal-ea11d671.js';
import '../HTMLElementType-a5d51d34.js';
import '../elementAcceptingRef-29f38505.js';
import '../Fade-e167cb2c.js';
import '../useTheme-27496d89.js';
import '../utils-2b600105.js';
import '../useMediaQuery-d0d673c2.js';
import '../_commonjsHelpers-57e89916.js';
import '../theme/fontSize.js';
import '../theme/fontWeight.js';
import '../theme/fontFamily.js';
import '../theme/lineHeight.js';
import '../Typography-649a8eff.js';

var argTypes = {
    size: {
        defaultValue: "sm",
        control: { type: "select" },
        options: ["sm", "md", "safeArea", "fullScreen"]
    },
    closeButton: {
        defaultValue: false,
        control: { type: "boolean" }
    },
    titleId: { table: { disable: true } },
    descriptionId: { table: { disable: true } },
    ref: { table: { disable: true } }
};
var Template = function (_a) {
    var size = _a.size, closeButton = _a.closeButton;
    var _b = useState(false), open = _b[0], setOpen = _b[1];
    return (jsxs(Fragment, { children: [jsx(Button, __assign({ onClick: function () { return setOpen(true); } }, { children: "Open Modal" }), void 0), jsx(Modal, __assign({ open: open, onClose: function () { return setOpen(false); }, size: size, closeButton: closeButton, titleId: "transition-modal-title", descriptionId: "transition-modal-description" }, { children: jsxs(Fragment, { children: [jsx(Typography, __assign({ variant: "headline2", id: "transition-modal-title" }, { children: "This is title of the modal." }), void 0), jsx(Typography, __assign({ variant: "paragraph", id: "transition-modal-description" }, { children: "This is content of the modal. Consequat nullam imperdiet rhoncus nibh netus vel, pulvinar urna auctor euismod tortor class, risus congue ad quis nulla. Ligula quisque ridiculus lacus per maecenas pulvinar rhoncus velit platea, molestie montes tempor congue aenean tristique suscipit urna. Curae magna placerat sociosqu est netus convallis suspendisse viverra, morbi a aptent tortor ornare lorem dui, purus pulvinar odio rhoncus augue sit aliquam." }), void 0)] }, void 0) }), void 0)] }, void 0));
};
var Default = Template.bind({});
var Modal_stories = {
    title: "Components/Modal",
    component: Modal,
    argTypes: argTypes
};

export { Default, Modal_stories as default };
