/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("../../../_virtual/_rolldown/runtime.cjs");
const require_styles_styler = require("../../../styles/styler.cjs");
const require_components_Text = require("../../Text.cjs");
const require_components_client_Modal_UDSModalConfigProvider = require("./UDSModalConfigProvider.cjs");
let react_jsx_runtime = require("react/jsx-runtime");
let _ariakit_react = require("@ariakit/react");
//#region src/components/client/Modal/ModalDescription.tsx
const ModalDescription = ({ children, slotProps }) => {
	const { size, variant } = require_components_client_Modal_UDSModalConfigProvider.useModalConfig();
	const classNames = { description: require_styles_styler.getStyles({
		modalSizeDescription: size,
		modalVariantDescription: variant
	}) };
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_ariakit_react.DialogDescription, {
		render: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Text.Text, {
			as: "span",
			...slotProps?.root,
			className: require_styles_styler.cx(classNames.description, slotProps?.root?.className)
		}),
		children
	});
};
ModalDescription.displayName = "ModalDescription";
ModalDescription.__modalSlot = "description";
//#endregion
exports.ModalDescription = ModalDescription;
