import { Badge as e } from "../../../atomic/atoms/badge/Badge.js";
import { content as t, dot as n } from "./statusBadge.css.js";
import { jsx as r, jsxs as i } from "react/jsx-runtime";
//#region src/backoffice/atoms/status_badge/StatusBadge.tsx
var a = {
	active: "success",
	disabled: "neutral",
	pending: "info",
	error: "danger",
	warning: "warning",
	info: "info"
}, o = ({ tone: o, children: s, showDot: c = !1, className: l, loading: u }) => {
	let d = a[o], f = null;
	return c && (f = /* @__PURE__ */ r("span", {
		className: n,
		"aria-hidden": "true"
	})), /* @__PURE__ */ r(e, {
		tone: d,
		className: l,
		loading: u,
		children: /* @__PURE__ */ i("span", {
			className: t,
			children: [f, s]
		})
	});
};
//#endregion
export { o as StatusBadge, o as default };

//# sourceMappingURL=StatusBadge.js.map