"use client";
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
import { UDSBottomSheetConfigProvider } from "../BottomSheet/UDSBottomSheetConfigProvider.js";
import { UDSPopoverConfigProvider } from "../Popover/UDSPopoverConfigProvider.js";
import { UDSBreakpointsConfigProvider } from "./UDSBreakpointsConfigProvider.js";
import { UDSToastConfigProvider } from "../Toast/UDSToastConfigProvider.js";
import { UDSTooltipConfigProvider } from "../Tooltip/UDSTooltipConfigProvider.js";
import { jsx } from "react/jsx-runtime";

//#region src/components/client/providers/UDSConfigProvider.tsx
const UDSConfigProvider = ({ children, value: { bottomSheet, breakpoints, toast, tooltip, popover } }) => {
	return /* @__PURE__ */ jsx(UDSBreakpointsConfigProvider, {
		value: breakpoints,
		children: /* @__PURE__ */ jsx(UDSBottomSheetConfigProvider, {
			value: bottomSheet,
			children: /* @__PURE__ */ jsx(UDSToastConfigProvider, {
				value: toast,
				children: /* @__PURE__ */ jsx(UDSTooltipConfigProvider, {
					value: tooltip,
					children: /* @__PURE__ */ jsx(UDSPopoverConfigProvider, {
						value: popover,
						children
					})
				})
			})
		})
	});
};
UDSConfigProvider.displayName = "UDSConfigProvider";

//#endregion
export { UDSConfigProvider };