"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
require("react");
require("clsx");
const InputWrapper_context = require("../Input/InputWrapper.context.cjs");
function InputsGroupFieldset({ children, role }) {
  const ctx = InputWrapper_context.useInputWrapperContext();
  if (!ctx) {
    return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
  }
  return /* @__PURE__ */ jsxRuntime.jsx("div", { role, "aria-labelledby": ctx.labelId, "aria-describedby": ctx.describedBy, children });
}
exports.InputsGroupFieldset = InputsGroupFieldset;
