/* * 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 { ChipProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime137 from "react/jsx-runtime"; //#region src/components/chip/index.d.ts /** * Chip - A compact element for displaying tags, filters, or selectable items * * Provides flexible chip functionality supporting both individual chips and chip lists. * Includes variants for deletable and selectable chips with keyboard navigation and * accessibility features. Perfect for tags, filters, or multi-selection interfaces. * * @param props - The chip props. * @param props.ref - Reference to the chip element. * @param props.className - Additional CSS class names for styling. * @param props.color - Semantic color variant. * @param props.size - Size of the chip. * @param props.children - Chip content (text, icons, or both). * @returns The chip component. * * @example * ```tsx * // Basic chip * JavaScript * ``` * * @example * ```tsx * // Chip with color variants * Information * Warning * Success * Caution * Error * ``` * * @example * ```tsx * // Chip with icon * * * With Icon * * ``` * * @example * ```tsx * // Chip with size variants * Medium Chip * Small Chip * ``` * * @example * ```tsx * // Chip list with multiple items * * React * TypeScript * Node.js * * ``` * * @example * ```tsx * // Deletable chips * console.log('removed', keys)}> * Removable Tag * * ``` * * @example * ```tsx * // Selectable chips with color * * UP * DOWN * * ``` */ declare function Chip({ ref, ...props }: ChipProps): react_jsx_runtime137.JSX.Element; //#endregion export { Chip }; //# sourceMappingURL=index.d.ts.map