import { _ as __assign, a as __rest } from '../tslib.es6-faad35dc.js';
import { jsx } from 'react/jsx-runtime';
import Alert from '../components/Alert.js';
import { iconArgTypes } from './utils/iconStories.js';
import Icon from '../components/Icon.js';
import 'react';
import '@mui/material/styles';
import '@mui/material/Alert';
import '../theme/colors.js';
import '../icons/ArrowLeft.js';
import '../icons/ArrowRight.js';
import '../icons/CloseCircle.js';
import '../icons/InfoCircle.js';
import '../icons/ErrorCircle.js';
import '../icons/Attention.js';
import '../icons/HelpCircle.js';
import '../icons/Document.js';
import '../icons/DocumentText.js';
import '../icons/Lock.js';
import '../icons/Delete.js';
import '../icons/Users.js';
import '../icons/Stakefish.js';
import '../icons/Sound.js';
import '../icons/Beacon.js';
import '../icons/TriangleRight.js';
import '../icons/TriangleLeft.js';
import '../icons/TriangleUp.js';
import '../icons/TriangleDown.js';
import '../icons/Sent.js';
import '../icons/Download.js';
import '../icons/Faster.js';
import '../icons/Slower.js';
import '../icons/Usb.js';
import '../icons/Key.js';
import '../icons/Edit.js';
import '../icons/Expand.js';
import '../icons/Collapse.js';
import '../icons/Success.js';
import '../icons/SuccessCircle.js';
import '../icons/Fail.js';
import '../icons/Desktop.js';
import '../icons/Mobile.js';
import '../icons/Loading.js';
import '../icons/Upload.js';
import '../icons/Check.js';
import '../icons/ChevronLeft.js';
import '../icons/ChevronRight.js';
import '../icons/Plus.js';
import '../icons/Minus.js';
import '../icons/Globe.js';
import '../icons/Link.js';
import '../icons/Copy.js';
import '../icons/Medium.js';
import '../icons/Twitter.js';
import '../icons/Telegram.js';
import '../icons/Eth.js';
import '../icons/Sort.js';
import '../icons/Close.js';
import '../icons/DollarSign.js';
import '../icons/Search.js';
import '../icons/Range.js';
import '../icons/Instagram.js';
import '../icons/LinkedIn.js';
import '../icons/Reddit.js';
import '../icons/YouTube.js';
import '../icons/Chrome.js';
import '../icons/CloudConnect.js';
import '../icons/Update.js';
import '../icons/Menu.js';
import '../icons/Settings.js';

var argTypes = {
    children: {
        defaultValue: "Alert message",
        control: { type: "text" }
    },
    rounded: {
        name: "rounded",
        description: "Set the rounded style for the component.",
        defaultValue: true,
        control: {
            type: "boolean"
        },
        table: {
            type: { summary: "boolean" },
            defaultValue: { summary: true }
        }
    },
    icon: { table: { disable: true } },
    iconKey: __assign(__assign({}, iconArgTypes.iconKey), { defaultValue: undefined, table: { category: "icon" } }),
    iconColor: __assign(__assign({}, iconArgTypes.color), { table: { category: "icon" } }),
    iconRotate: __assign(__assign({}, iconArgTypes.rotate), { table: { category: "icon" } }),
    iconSize: __assign(__assign({}, iconArgTypes.size), { table: { category: "icon" } }),
    component: { table: { disable: true } },
    ref: { table: { disable: true } },
    elevation: { table: { disable: true } },
    filled: { table: { disable: true } },
    square: { table: { disable: true } }
};
var Template = function (args) {
    var children = args.children, color = args.color, rounded = args.rounded, iconKey = args.iconKey, iconColor = args.iconColor, iconRotate = args.iconRotate, iconSize = args.iconSize, rest = __rest(args, ["children", "color", "rounded", "iconKey", "iconColor", "iconRotate", "iconSize"]);
    return (jsx(Alert, __assign({ color: color, rounded: rounded }, rest, { icon: iconKey ? jsx(Icon, { iconKey: iconKey, size: iconSize, color: iconColor, rotate: iconRotate }, void 0) : false }, { children: children }), void 0));
};
var Default = Template.bind({});
var Alert_stories = {
    title: "Components/Alert",
    component: Alert,
    argTypes: argTypes
};

export { Default, Alert_stories as default };
