import { jsx as o } from "react/jsx-runtime";
import { useRef as a } from "react";
import { useMemoizedId as i } from "../../hooks/useMemoizedId.es.js";
import { checkIfContainInteractiveElements as m } from "../../utilities/elements.es.js";
var c = /* @__PURE__ */ ((e) => (e.Weak = "Weak", e))(c || {});
const u = ({ ...e }) => {
  const t = i(), r = a(null), n = m(r.current);
  return /* @__PURE__ */ o(
    "div",
    {
      role: "tabpanel",
      ref: r,
      id: `${t}-content`,
      "aria-labelledby": t,
      tabIndex: n ? -1 : 0,
      ...e
    }
  );
};
export {
  u as RadioButton,
  c as RadioButtonEmphasis
};
//# sourceMappingURL=RadioButton.es.js.map
