import{_ as _extends}from"./_rollupPluginBabelHelpers-B5fk9IVe.js";import React__default from"react";import{S as Stack}from"./Stack.component-D-jW201_.js";import PropTypes from"prop-types";const InputGroup=a=>{let{children:d=null,className:b,variant:e="default",disabled:f=!1,...c}=a;return React__default.createElement(Stack,_extends({className:`juno-input-group juno-input-group-${e} ${f?"juno-input-group-disabled":""} ${b}`},c),(()=>React__default.Children.map(d,a=>{const b=a.props.variant||e,c=a.props.disabled||f;return React__default.cloneElement(a,{variant:b,disabled:c})}))())};InputGroup.propTypes={children:PropTypes.node,className:PropTypes.string,variant:PropTypes.oneOf(["default","primary","primary-danger","subdued"]),disabled:PropTypes.bool};export{InputGroup as I};