"use client";
import { InputWrapperContext } from "../../components/Input/InputWrapper.context.mjs";
import { use } from "react";
import { Fragment as Fragment$1, jsx } from "react/jsx-runtime";
//#region packages/@mantine/core/src/utils/InputsGroupFieldset/InputsGroupFieldset.tsx
function InputsGroupFieldset({ children, role }) {
	const ctx = use(InputWrapperContext);
	if (!ctx) return /* @__PURE__ */ jsx(Fragment$1, { children });
	return /* @__PURE__ */ jsx("div", {
		role,
		"aria-labelledby": ctx.labelId,
		"aria-describedby": ctx.describedBy,
		children
	});
}
//#endregion
export { InputsGroupFieldset };

//# sourceMappingURL=InputsGroupFieldset.mjs.map