import { UiElement } from '../shared/element.js'; /** * Carbon `Tile` / `ClickableTile` (`cds-tile`, `cds-clickable-tile`): a `$layer` box — 16px padding, * no border, no shadow, at least 64 × 128px — so it follows the `` it sits on. * * With `href` the whole tile becomes one link (a single tab stop, the link text is the * tile's text; hover `layer-hover`). Don't put other interactive controls inside a linked tile. * As Carbon, a linked tile has no icon unless you give it one (`slot="icon"`, 20px in the corner). * * @slot - Tile content * @slot icon - A linked tile's icon (e.g. an arrow), 20px, 12px from the bottom-end corner * @csspart base - The container (`
` or ``) * @fires ui-navigate - detail: { href } (cancelable) on a plain click of the link; cancel it to route client-side (README: SPA router) * @cssprop --ui-card-radius - Corner radius (default 0; Kanok: 12px) * @cssprop --ui-card-border - Border (default none; Kanok: a hairline) * @cssprop --ui-card-background - Its fill (default `--ui-surface-1`; Kanok paper: a cool grey that sets it apart from the page, no border) * @cssprop --ui-focus-offset - `outline-offset` of its focus ring (default -2px: inside; Kanok: 2px outside) */ export declare class UiTile extends UiElement { static readonly shadowRootOptions: ShadowRootInit; static readonly styles: import("lit").CSSResult[]; /** Makes the whole tile a link. */ href: string; target: '_self' | '_blank'; /** A linked tile that can't be followed right now (Carbon `ClickableTile disabled`): plain text, no link. */ disabled: boolean; private readonly localize; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-tile': UiTile; } }