import { InputPassword } from "../../Input/InputPassword.mjs";
import { FormElement } from "./FormElement.mjs";
import { jsx } from "react/jsx-runtime";

//#region src/components/Form/elements/InputPasswordElement.tsx
const InputPasswordElement = ({ autoComplete, ...props }) => /* @__PURE__ */ jsx(FormElement, {
	Element: InputPassword,
	id: props.name,
	"data-testid": props.name,
	"aria-labelledby": props.label ? `${props.name}-label` : void 0,
	"aria-label": props.label ? void 0 : props.name,
	autoComplete,
	minLength: 6,
	maxLength: 255,
	...props
});

//#endregion
export { InputPasswordElement };
//# sourceMappingURL=InputPasswordElement.mjs.map