import { jsx } from 'react/jsx-runtime';
import { buttonArgTypes } from './utils/buttonStories.js';
import Icon from '../components/Icon.js';
import Button from '../components/Button.js';
import '../tslib.es6-20a2a300.js';
import '../theme/colors.js';
import './utils/iconStories.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 '../makeStyles-c9a99c7a.js';
import '../defaultTheme-49a26576.js';
import 'react';
import '../createStyles-16423e9e.js';
import '../clsx.m-6243b874.js';
import '../withStyles-99aeb25b.js';
import '../hoist-non-react-statics.cjs-b718ab87.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';

var Template = function (args) {
    var variant = args.variant, color = args.color, size = args.size, fullWidth = args.fullWidth, href = args.href, children = args.children, align = args.align, disabled = args.disabled, startIconKey = args.startIconKey, startIconColor = args.startIconColor, startIconRotate = args.startIconRotate, endIconKey = args.endIconKey, endIconColor = args.endIconColor, endIconRotate = args.endIconRotate;
    return (jsx(Button, { variant: variant, startIcon: startIconKey ? jsx(Icon, { iconKey: startIconKey, color: startIconColor, rotate: startIconRotate }, void 0) : undefined, endIcon: endIconKey ? jsx(Icon, { iconKey: endIconKey, color: endIconColor, rotate: endIconRotate }, void 0) : undefined, color: color, size: size, fullWidth: fullWidth, href: href, children: children, align: align, disabled: disabled }, void 0));
};
var Default = Template.bind({});
// 🎨 TODO: add Figma board
// Default.parameters = {
//   design: {
//     type: "figma",
//     url: "https://www.figma.com/file/BGreZg0shWoCpJm6hnmIiP/Sketch-temporary-imported-views?node-id=142%3A5"
//   }
// }
var Button_stories = {
    title: "Components/Buttons",
    component: Button,
    argTypes: buttonArgTypes
    // decorators: [withDesign] // 🎨 TODO: add Figma board
};

export { Default, Button_stories as default };
