import { n as AnalyticsId } from "./constants2.js";
import classNames from "classnames";
import { jsx } from "react/jsx-runtime";
import styles from "./components/List/styles.module.scss";
var Item = ({ children }) => /* @__PURE__ */ jsx("li", {
	className: styles.list__item,
	children
});
var List = ({ children, className, testId, variant = "bullet", margin }) => {
	return /* @__PURE__ */ jsx(["numbered", "alphabetical"].includes(variant) ? "ol" : "ul", {
		className: classNames(styles.list, styles[`list--${variant}`], margin && styles["list--margin"], className),
		"data-testid": testId,
		"data-analyticsid": AnalyticsId.List,
		children
	});
};
List.Item = Item;
var List_default$1 = List;
export { List_default$1 as t };

//# sourceMappingURL=List.js.map