import { jsx as e } from "../../../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import { LABEL_CLASS as l, LABEL_CONTAINER_CLASS as A, LABEL_CONTAINER_CLASS_LOADING as L } from "./constants.js";
import { TypographyVariant as i, TypographyElement as s } from "../../../../internal/Typography/types.js";
import y from "../../../../internal/Typography/Typography.js";
import N from "classnames";
import { fixedForwardRef as f } from "../../../../../utils/preact/fixedForwardRef.js";
const _ = f(
  ({ config: r, i18n: a, isSkeletonVisible: m, className: o, ...t }, p) => /* @__PURE__ */ e(
    "span",
    {
      className: N(A, o, { [L]: m }),
      style: { cursor: "default" },
      ref: p,
      ...t,
      children: r.labelKey && /* @__PURE__ */ e(y, { el: s.SPAN, variant: i.CAPTION, className: l, children: a.get(r.labelKey) })
    }
  )
);
export {
  _ as SummaryItemLabel
};
