/* * 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 { DrawerProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime43 from "react/jsx-runtime"; //#region src/components/drawer/index.d.ts /** * Drawer - Slide-in panel for navigation or contextual content * * A flexible panel that slides in from the viewport edge and supports * stacked views, headers, footers, and programmatic triggers. * * @param props - {@link DrawerProps} * @param props.id - Unique identifier for the drawer. * @param props.children - Content to render inside the drawer. * @param props.className - Optional CSS class name. * @param props.defaultView - ID of the view to display initially. * @param props.placement - Edge of the viewport the drawer slides from. * @param props.size - Size of the drawer panel. * @param props.onChange - Callback when the active view changes. * @returns The rendered Drawer component. * * @example * ```tsx * const ids = { drawer: uuid(), a: uuid() }; * * * * * * * * * * * * * Content for View A * * * * * ``` */ declare function Drawer({ id, children, className, defaultView, placement, size, onChange, ...rest }: DrawerProps): react_jsx_runtime43.JSX.Element; //#endregion export { Drawer }; //# sourceMappingURL=index.d.ts.map