"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const designSystem = require("@strapi/design-system");
const index_H1ljeG8 = require("./index--h1ljeG8-TLddt1Eo.js");
const reactIntl = require("react-intl");
const ReviewWorkflowsStageEE = ({
  color = index_H1ljeG8.STAGE_COLOR_DEFAULT,
  name
}) => {
  const { themeColorName } = index_H1ljeG8.getStageColorByHex(color) ?? {};
  return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, maxWidth: `${300 / 16}rem`, children: [
    /* @__PURE__ */ jsxRuntime.jsx(
      designSystem.Box,
      {
        height: 2,
        background: color,
        borderColor: themeColorName === "neutral0" ? "neutral150" : void 0,
        hasRadius: true,
        shrink: 0,
        width: 2
      }
    ),
    /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { fontWeight: "regular", textColor: "neutral700", ellipsis: true, children: name })
  ] });
};
const ReviewWorkflowsAssigneeEE = ({ user }) => {
  const { formatMessage } = reactIntl.useIntl();
  return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral800", children: index_H1ljeG8.getDisplayName(user, formatMessage) });
};
exports.ReviewWorkflowsAssigneeEE = ReviewWorkflowsAssigneeEE;
exports.ReviewWorkflowsStageEE = ReviewWorkflowsStageEE;
//# sourceMappingURL=ReviewWorkflowsColumn-6zZJluSU-kgZGsgKW.js.map
