"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
;/* empty css                                                                                                                                                                                        */
;/* empty css                                                                                                                                                                                         */
;/* empty css                                                                                                                                                                                                 */
;/* empty css                                                                                                                                                                                            */
;/* empty css                                                                                                                                                                                            */
const index$1 = require("../../primitive/Typography/index.cjs");
const index = require("../Dot/index.cjs");
const Badge = require("../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/Badge/Badge.cjs");
const DotBadge = ({ color = "green", children, ...rest }) => {
  return /* @__PURE__ */ jsxRuntime.jsx(
    Badge.Badge,
    {
      variant: "light",
      styles: (theme) => ({
        root: {
          backgroundColor: theme.colors[color][1],
          borderRadius: theme.defaultRadius,
          textTransform: "none",
          height: 28
        }
      }),
      leftSection: /* @__PURE__ */ jsxRuntime.jsx(index.Dot, { color, size: 8 }),
      ...rest,
      children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Typography, { fz: 14, fw: 500, c: `${color}.8`, children })
    }
  );
};
exports.DotBadge = DotBadge;
