import { t as e } from "./utils-CHlhTiFC.js";
import { t } from "./dist-C2Jrcfwk.js";
import n from "react";
import { jsx as r } from "react/jsx-runtime";
//#region src/components/ui/typography.tsx
var i = t("mt-0 ml-0 mr-0", {
	variants: {
		size: {
			xs: "text-xs",
			sm: "text-sm",
			base: "text-base",
			"base-responsive": "text-base md:text-xl",
			lg: "text-lg",
			xl: "text-xl"
		},
		leading: {
			none: "leading-none",
			xs: "leading-[1.25]",
			sm: "leading-[1.375]",
			base: "leading-[1.4]",
			lg: "leading-[1.625]",
			xl: "leading-[2]"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		},
		decoration: {
			normal: "normal",
			italic: "italic",
			underline: "underline",
			"line-through": "line-through"
		},
		marginBottom: {
			none: "mb-0",
			"3xs": "mb-1",
			"2xs": "mb-2",
			xs: "mb-3",
			sm: "mb-4",
			base: "mb-5",
			lg: "mb-6",
			xl: "mb-7"
		},
		alignment: {
			left: "text-left",
			right: "text-right",
			center: "text-center"
		}
	},
	defaultVariants: {
		size: "base-responsive",
		leading: "base",
		weight: "normal",
		decoration: "normal",
		marginBottom: "base",
		alignment: "left"
	}
}), a = n.forwardRef(({ children: t, className: n, size: a, leading: o, marginBottom: s, weight: c, decoration: l, alignment: u, ...d }, f) => /* @__PURE__ */ r("p", {
	ref: f,
	...d,
	className: e(i({
		size: a,
		leading: o,
		marginBottom: s,
		weight: c,
		decoration: l,
		alignment: u
	}), n),
	children: t
})), o = t("mt-0 ml-0 mr-0 p-0 uppercase font-heading", {
	variants: {
		marginBottom: {
			none: "mb-0",
			"2xs": "mb-1",
			xs: "mb-2",
			sm: "mb-3",
			"base-responsive": "mb-3 md:mb-4",
			base: "mb-4",
			lg: "mb-5",
			xl: "mb-6"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		},
		size: {
			base: "text-[2.938rem] md:text-[5.125rem] lg:text-[6.25rem] tracking-[0.06rem] leading-[1.08]",
			sm: "text-[2.5rem] md:text-[2.813rem] lg:text-[3.438rem] leading-[1.1]"
		},
		alignment: {
			left: "text-left",
			right: "text-right",
			center: "text-center"
		}
	},
	defaultVariants: {
		marginBottom: "base-responsive",
		size: "base",
		weight: "bold",
		alignment: "left"
	}
}), s = n.forwardRef(({ children: t, className: n, marginBottom: i, size: a, alignment: s, ...c }, l) => /* @__PURE__ */ r("h1", {
	ref: l,
	...c,
	className: e(o({
		marginBottom: i,
		size: a,
		alignment: s
	}), n),
	children: t
})), c = t("mt-0 ml-0 mr-0 p-0 text-[2.5rem] md:text-[2.813rem] lg:text-[3.438rem] leading-[1.1] font-sans", {
	variants: {
		marginBottom: {
			none: "mb-0",
			"2xs": "mb-1",
			xs: "mb-2",
			sm: "mb-3",
			"base-responsive": "mb-3 md:mb-4",
			base: "mb-4",
			lg: "mb-5",
			xl: "mb-6"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		},
		alignment: {
			left: "text-left",
			right: "text-right",
			center: "text-center"
		}
	},
	defaultVariants: {
		marginBottom: "base-responsive",
		weight: "bold",
		alignment: "left"
	}
}), l = n.forwardRef(({ children: t, className: n, marginBottom: i, weight: a, alignment: o, ...s }, l) => /* @__PURE__ */ r("h2", {
	ref: l,
	...s,
	className: e(c({
		marginBottom: i,
		weight: a,
		alignment: o
	}), n),
	children: t
})), u = t("mt-0 ml-0 mr-0 p-0 text-[1.875rem] md:text-[2.188rem] leading-[1.15] font-sans", {
	variants: {
		marginBottom: {
			none: "mb-0",
			"2xs": "mb-1",
			xs: "mb-2",
			sm: "mb-3",
			"base-responsive": "mb-3 md:mb-4",
			base: "mb-4",
			lg: "mb-5",
			xl: "mb-6"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		},
		alignment: {
			left: "text-left",
			right: "text-right",
			center: "text-center"
		}
	},
	defaultVariants: {
		marginBottom: "base-responsive",
		weight: "semibold",
		alignment: "left"
	}
}), d = n.forwardRef(({ children: t, className: n, marginBottom: i, weight: a, alignment: o, ...s }, c) => /* @__PURE__ */ r("h3", {
	ref: c,
	...s,
	className: e(u({
		marginBottom: i,
		weight: a,
		alignment: o
	}), n),
	children: t
})), f = t("mt-0 ml-0 mr-0 p-0 text-[1.563rem] md:text-[2.188rem] leading-[1.15] font-sans", {
	variants: {
		marginBottom: {
			none: "mb-0",
			"2xs": "mb-1",
			xs: "mb-2",
			sm: "mb-3",
			"base-responsive": "mb-3 md:mb-4",
			base: "mb-4",
			lg: "mb-5",
			xl: "mb-6"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		},
		alignment: {
			left: "text-left",
			right: "text-right",
			center: "text-center"
		}
	},
	defaultVariants: {
		marginBottom: "base-responsive",
		weight: "normal",
		alignment: "left"
	}
}), p = n.forwardRef(({ children: t, className: n, marginBottom: i, weight: a, alignment: o, ...s }, c) => /* @__PURE__ */ r("h4", {
	ref: c,
	...s,
	className: e(f({
		marginBottom: i,
		weight: a,
		alignment: o
	}), n),
	children: t
})), m = t("mt-0 ml-0 mr-0 p-0 leading-[1.15] font-sans", {
	variants: {
		marginBottom: {
			none: "mb-0",
			"2xs": "mb-1",
			xs: "mb-2",
			sm: "mb-3",
			"base-responsive": "mb-3 md:mb-4",
			base: "mb-4",
			lg: "mb-5",
			xl: "mb-6"
		},
		size: {
			"base-responsive": "text-[1.25rem] md:text-[1.563rem]",
			base: "text-[1.25rem]"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		},
		alignment: {
			left: "text-left",
			right: "text-right",
			center: "text-center"
		}
	},
	defaultVariants: {
		marginBottom: "base-responsive",
		weight: "normal",
		alignment: "left",
		size: "base-responsive"
	}
}), h = n.forwardRef(({ children: t, className: n, marginBottom: i, weight: a, size: o, alignment: s, ...c }, l) => /* @__PURE__ */ r("h5", {
	ref: l,
	...c,
	className: e(m({
		marginBottom: i,
		weight: a,
		alignment: s,
		size: o
	}), n),
	children: t
})), g = t("mt-0 ml-0 mr-0 p-0 text-base leading-[1.15] uppercase tracking-[0.48px] font-sans", {
	variants: {
		marginBottom: {
			none: "mb-0",
			"2xs": "mb-1",
			xs: "mb-2",
			sm: "mb-3",
			"base-responsive": "mb-3 md:mb-4",
			base: "mb-4",
			lg: "mb-5",
			xl: "mb-6"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		},
		alignment: {
			left: "text-left",
			right: "text-right",
			center: "text-center"
		}
	},
	defaultVariants: {
		marginBottom: "base-responsive",
		weight: "bold",
		alignment: "left"
	}
}), _ = n.forwardRef(({ children: t, className: n, marginBottom: i, weight: a, alignment: o, ...s }, c) => /* @__PURE__ */ r("h6", {
	ref: c,
	...s,
	className: e(g({
		marginBottom: i,
		weight: a,
		alignment: o
	}), n),
	children: t
})), v = t("mt-0 ml-0 mr-0 p-0 text-xl md:text-2xl leading-[1.1] block font-sans", {
	variants: {
		marginBottom: {
			none: "mb-0",
			"2xs": "mb-1",
			xs: "mb-2",
			sm: "mb-3",
			"base-responsive": "mb-3 md:mb-4",
			base: "mb-4",
			lg: "mb-5",
			xl: "mb-6"
		},
		weight: {
			light: "font-light",
			normal: "font-normal",
			medium: "font-medium",
			semibold: "font-semibold",
			bold: "font-bold",
			extrabold: "font-extrabold"
		}
	},
	defaultVariants: {
		marginBottom: "base-responsive",
		weight: "normal"
	}
}), y = n.forwardRef(({ children: t, className: n, marginBottom: i, weight: a, ...o }, s) => /* @__PURE__ */ r("cite", {
	ref: s,
	...o,
	className: e(v({
		marginBottom: i,
		weight: a
	}), n),
	children: t
})), b = t("mt-0 ml-0 mr-0 font-mono mt-0 text-base bg-primary-gray-200 dark:bg-primary-gray-600 px-2 pb-2 text-primary-black dark:text-primary-white", {
	variants: { weight: {
		light: "font-light",
		normal: "font-normal",
		medium: "font-medium",
		semibold: "font-semibold",
		bold: "font-bold",
		extrabold: "font-extrabold"
	} },
	defaultVariants: { weight: "normal" }
}), x = n.forwardRef(({ children: t, className: n, marginBottom: i, weight: a, ...o }, s) => /* @__PURE__ */ r("code", {
	ref: s,
	...o,
	className: e(b({ weight: a }), n),
	children: t
})), S = t("mt-0 ml-0 mr-0 text-[1.625rem] md:text-[2.188rem] leading-[1.1] md:leading-[1.25] font-sans", {
	variants: { weight: {
		light: "font-light",
		normal: "font-normal",
		medium: "font-medium",
		semibold: "font-semibold",
		bold: "font-bold",
		extrabold: "font-extrabold"
	} },
	defaultVariants: { weight: "normal" }
}), C = n.forwardRef(({ children: t, className: n, weight: i, ...a }, o) => /* @__PURE__ */ r("blockquote", {
	ref: o,
	...a,
	className: e(S({ weight: i }), n),
	children: t
})), w = n.forwardRef(({ children: t, className: n, weight: i, ...a }, o) => /* @__PURE__ */ r("a", {
	ref: o,
	...a,
	className: e("undp-link light text-primary-black dark:text-primary-white dark:text-primary-white bg-double-red dark:bg-double-white", "cursor-pointer no-underline focus-visible:outline-hidden focus-visible:shadow-[0_0_0_#0468b1]", i ? `font-${i}` : "font-normal", n),
	children: t
}));
//#endregion
export { w as A, C as Blockquote, y as Cite, x as Code, s as H1, l as H2, d as H3, p as H4, h as H5, _ as H6, a as P };

//# sourceMappingURL=Typography.js.map