import { r as StatusDotVariant, t as StatusDot_default } from "./StatusDot.js";
import classNames from "classnames";
import { jsx, jsxs } from "react/jsx-runtime";
import styles from "./components/ElementHeader/StatusDotList/styles.module.scss";
const StatusDotList = (props) => {
	const { additionalText, children, className = "", testId, stacking = "horizontal", hiddenForChild = false, topStatusDot, bottomStatusDot } = props;
	return /* @__PURE__ */ jsxs("span", {
		"data-testid": testId,
		className: classNames(styles["statusdotlist"], className),
		children: [
			topStatusDot,
			hiddenForChild && /* @__PURE__ */ jsx(StatusDot_default, {
				variant: StatusDotVariant.hidden,
				text: "Skjult for barnet"
			}),
			/* @__PURE__ */ jsx("span", {
				"data-stacking": stacking,
				className: styles["statusdotlist__children"],
				children
			}),
			bottomStatusDot,
			additionalText && /* @__PURE__ */ jsx("span", {
				className: styles["statusdotlist__additional-text"],
				children: additionalText
			})
		]
	});
};
var StatusDotList_default$1 = StatusDotList;
export { StatusDotList as n, StatusDotList_default$1 as t };

//# sourceMappingURL=StatusDotList.js.map