/* * 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 { NoticeProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime79 from "react/jsx-runtime"; //#region src/components/notice/index.d.ts /** * Notice - Notification component for temporary messages and alerts * * Displays messages with optional action buttons and close functionality. * Icons are automatically displayed based on the color variant. * * @example * ```tsx * * ``` * * @param props - {@link NoticeProps} * @param props.id - Unique identifier for the notice. * @param props.classNames - CSS class names for notice elements. * @param props.color - Color variant indicating severity. * @param props.message - Message text to display. * @param props.primary - Primary action button configuration. * @param props.secondary - Secondary action button configuration. * @param props.hideIcon - Whether to hide the status icon. * @param props.showClose - Whether to show the close button. * @param props.shouldCloseOnAction - Whether to close the notice when an action button is pressed. * @param props.size - Size variant for the notice. * @param props.onPrimaryAction - Callback when primary action button is pressed. * @param props.onSecondaryAction - Callback when secondary action button is pressed. * @param props.onClose - Callback when the notice is closed. * @returns The rendered Notice component. */ declare function Notice({ id, classNames, color, message, primary, secondary, hideIcon, showClose, shouldCloseOnAction, size, onPrimaryAction, onSecondaryAction, onClose }: NoticeProps): react_jsx_runtime79.JSX.Element; //#endregion export { Notice }; //# sourceMappingURL=index.d.ts.map