import { a as __rest, _ as __assign } from '../tslib.es6-20a2a300.js';
import { jsx } from 'react/jsx-runtime';
import Input from '../components/Input.js';
import InputAdornment from '../components/InputAdornment.js';
import { inputArgTypes } from './utils/formControlStories.js';
import { getAdornmentIconProps } from './utils/adornmentStories.js';
import 'react';
import '../makeStyles-c9a99c7a.js';
import '../defaultTheme-49a26576.js';
import '../Input-d5c36a50.js';
import '../clsx.m-6243b874.js';
import '../withStyles-99aeb25b.js';
import '../hoist-non-react-statics.cjs-b718ab87.js';
import '../formControlState-da4d15f8.js';
import '../FormControlContext-64eed5c2.js';
import '../capitalize-5d3e9aac.js';
import '../useForkRef-4ff8cc89.js';
import '../deprecatedPropType-0232df1e.js';
import '../refType-5cc24a92.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 '../components/IconButton.js';
import '../IconButton-7563dc0d.js';
import '../ButtonBase-11d3cdb5.js';
import 'react-dom';
import '../useEventCallback-8817ed1c.js';
import '../useIsFocusVisible-c048447c.js';
import '../TransitionGroupContext-2ba64e99.js';
import '../elementTypeAcceptingRef-7677eeee.js';
import '../Typography-649a8eff.js';
import './utils/iconStories.js';

var Template = function (args) {
    var startAdornmentIconProps = getAdornmentIconProps(args, "start");
    var endAdornmentIconProps = getAdornmentIconProps(args, "end");
    args.startAdornmentKey; args.startAdornmentColor; args.startAdornmentRotation; args.startAdornmentOnClick; args.endAdornmentKey; args.endAdornmentColor; args.endAdornmentRotation; args.endAdornmentOnClick; var inputProps = __rest(args, ["startAdornmentKey", "startAdornmentColor", "startAdornmentRotation", "startAdornmentOnClick", "endAdornmentKey", "endAdornmentColor", "endAdornmentRotation", "endAdornmentOnClick"]);
    return (jsx(Input, __assign({}, inputProps, { startAdornment: startAdornmentIconProps ? (jsx(InputAdornment, { position: "start", iconButtonProps: startAdornmentIconProps }, void 0)) : undefined, endAdornment: startAdornmentIconProps ? jsx(InputAdornment, { position: "end", iconButtonProps: endAdornmentIconProps }, void 0) : undefined }), void 0));
};
var Default = Template.bind({});
var Input_stories = {
    title: "Form Controls/Input",
    component: Input,
    argTypes: inputArgTypes
};

export { Default, Input_stories as default };
