/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { CSSResultOrNative } from 'lit'; import { Item } from './internal/item.js'; declare global { interface HTMLElementTagNameMap { 'md-item': MdItem; } } /** * An item layout component that can be used inside list items to give them * their customizable structure. * * `` does not have any functionality, which must be added by the * component using it. * * All text will wrap unless `white-space: nowrap` is set on the item or any of * its children. * * Slots available: * - ``: The headline, or custom content. * - `headline`: The first line. * - `supporting-text`: Supporting text lines underneath the headline. * - `trailing-supporting-text`: A small text snippet at the end of the item. * - `start`: Any leading content, such as icons, avatars, or checkboxes. * - `end`: Any trailing content, such as icons and buttons. * - `container`: Background container content, intended for adding additional * styles, such as ripples or focus rings. * * @example * ```html * Single line * * *
...
*
* * * * image *
Overline
*
Headline
* Supporting text * Trailing * image *
* ``` * * When wrapping ``, forward the available slots to use the same slot * structure for the wrapping component (this is what `` does). * * @example * ```html * * * * * * * * * * ``` * * @final * @suppress {visibility} */ export declare class MdItem extends Item { static styles: CSSResultOrNative[]; }