/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { DialogProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime106 from "react/jsx-runtime"; //#region src/components/dialog/index.d.ts /** * Dialog - A modal dialog component for important content and interactions * * Provides accessible modal functionality with focus management, backdrop handling, * and keyboard navigation. Supports multiple sizes and customizable dismissal behavior. * Perfect for confirmations, forms, or any content requiring user focus. * * @param props - The dialog props. * @param props.ref - Reference to the dialog element. * @param props.children - Dialog content (can be a render function with close callback). * @param props.classNames - Custom class names for sub-elements. * @param props.parentRef - Reference to parent element for portal rendering. * @param props.size - Size variant of the dialog. * @returns The dialog component. * * @example * ```tsx * // Basic dialog with trigger * * * * {({ close }) => ( * <> * Confirm Action *

Are you sure you want to continue?

* * * * * )} *
*
* ``` */ declare function Dialog({ ref, ...props }: DialogProps): react_jsx_runtime106.JSX.Element; //#endregion export { Dialog }; //# sourceMappingURL=index.d.ts.map