UNPKG

@oslokommune/punkt-elements

Version:

Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo

31 lines (30 loc) 980 B
import { PropertyValues } from 'lit'; import { PktElementWithSlot } from '../../base-elements/element-with-slot'; import { TAriaLive, TAlertSkin } from '../../shared-types'; export type { TAlertSkin }; export interface IPktAlert { skin?: TAlertSkin; closeAlert?: boolean; title?: string; date?: string | null; ariaLive?: TAriaLive | null; compact?: boolean; role?: string; } export declare class PktAlert extends PktElementWithSlot implements IPktAlert { constructor(); compact: boolean; title: string; skin: TAlertSkin; ariaLive: TAriaLive; ariaLiveAttr: TAriaLive | null; closeAlert: boolean; date: string | null; role: string; _isClosed: boolean; connectedCallback(): void; attributeChangedCallback(name: string, _old: string | null, value: string | null): void; protected updated(_changedProperties: PropertyValues): void; render(): import('lit-html').TemplateResult<1>; private close; }