/* * 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 { ChipListProps } from "./types.js"; import "client-only"; import * as react35 from "react"; import * as react_jsx_runtime138 from "react/jsx-runtime"; //#region src/components/chip/list.d.ts /** * React context indicating whether chips are being rendered inside a ChipList. */ declare const ChipListRenderingContext: react35.Context; /** * ChipList - Container component for grouping multiple chips with shared behavior. * * Provides context for size and color, and enables selection and removal functionality. * * @param props - The chip list props. * @param props.ref - Reference to the list container element. * @param props.children - Chip components to render in the list. * @param props.className - Additional CSS class names for styling. * @param props.color - Default color for all chips in the list. * @param props.size - Default size for all chips in the list. * @param props.selectionMode - Enable single or multiple selection. * @param props.onRemove - Callback when chips are removed. * @returns The chip list component. * * @example * ```tsx * // Basic list * * React * TypeScript * * ``` * * @example * ```tsx * // Selectable chips * * React * Vue * * ``` * * @example * ```tsx * // Deletable chips * console.log('Removed:', keys)}> * Tag 1 * Tag 2 * * ``` */ declare function ChipList({ ref, ...props }: ChipListProps): react_jsx_runtime138.JSX.Element; //#endregion export { ChipList, ChipListRenderingContext }; //# sourceMappingURL=list.d.ts.map