import { jsx as i } from "react/jsx-runtime";
import { B as p } from "./Button-D32Avk2j.mjs";
import { makeVariants as c } from "@spark-ui/internal-utils";
import { c as d } from "./index-BmAFn37q.mjs";
const l = d(["pl-0 pr-0"], {
  variants: {
    /**
     * Sets the size of the icon.
     */
    size: c({
      sm: ["text-body-1"],
      md: ["text-body-1"],
      lg: ["text-display-3"]
    })
  }
}), u = ({
  design: o = "filled",
  disabled: a = !1,
  intent: n = "main",
  shape: m = "rounded",
  size: t = "md",
  className: r,
  ref: s,
  ...e
}) => /* @__PURE__ */ i(
  p,
  {
    "data-spark-component": "icon-button",
    ref: s,
    className: l({ size: t, className: r }),
    design: o,
    disabled: a,
    intent: n,
    shape: m,
    size: t,
    ...e
  }
);
u.displayName = "IconButton";
export {
  u as I
};
//# sourceMappingURL=IconButton-BY3gYXtU.mjs.map
