sudovanilla-website/public/@shoelace-style/shoelace/cdn/components/breadcrumb/breadcrumb.component.d.ts

35 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-05-13 22:34:06 -05:00
import ShoelaceElement from '../../internal/shoelace-element.js';
import SlIcon from '../icon/icon.component.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
* @documentation https://shoelace.style/components/breadcrumb
* @status stable
* @since 2.0
*
* @slot - One or more breadcrumb items to display.
* @slot separator - The separator to use between breadcrumb items. Works best with `<sl-icon>`.
*
* @dependency sl-icon
*
* @csspart base - The component's base wrapper.
*/
export default class SlBreadcrumb extends ShoelaceElement {
static styles: CSSResultGroup;
static dependencies: {
'sl-icon': typeof SlIcon;
};
private readonly localize;
private separatorDir;
defaultSlot: HTMLSlotElement;
separatorSlot: HTMLSlotElement;
/**
* The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by
* screen readers and other assistive devices to provide more context for users.
*/
label: string;
private getSeparator;
private handleSlotChange;
render(): import("lit-html").TemplateResult<1>;
}