/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

//#region src/runtime/toastConfig.ts
const toastSizes = ["default"];
const toastVariants = [
	"success",
	"error",
	"info",
	"warning",
	"loading"
];
const configToToastConfigContext = ({ toast }) => {
	return {
		autoClose: 6e3,
		position: "bottom-center",
		defaultSize: toast.defaults.size,
		defaultVariant: toast.defaults.variant,
		textVariant: Object.fromEntries(toastSizes.map((s) => [s, toast.variables[`size/${s}/label`].textVariant.rest.value])),
		textColor: Object.fromEntries(toastVariants.map((v) => [v, toast.variables[`variant/${v}/root`].color.rest.value])),
		iconSize: Object.fromEntries(toastSizes.map((s) => [s, toast.variables[`size/${s}/icon`].size.rest.value])),
		buttonSize: Object.fromEntries(toastSizes.map((s) => [s, toast.variables[`size/${s}/actionButton`].buttonSize.rest.value])),
		buttonVariant: Object.fromEntries(toastVariants.map((v) => [v, toast.variables[`variant/${v}/actionButton`].buttonVariant.rest.value])),
		iconVariant: Object.fromEntries(toastVariants.map((v) => [v, toast.variables[`variant/${v}/icon`].iconVariant.rest.value])),
		backgroundColor: Object.fromEntries(toastVariants.map((v) => [v, toast.variables[`variant/${v}/root`].backgroundColor.rest.value]))
	};
};

//#endregion
exports.configToToastConfigContext = configToToastConfigContext;