UNPKG

@oslokommune/punkt-elements

Version:

Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo

34 lines (33 loc) 1.01 kB
import { PktElementWithSlot } from '../../base-elements/element-with-slot'; import { Ref } from 'lit/directives/ref.js'; import { TabsContext } from './tabs-context'; export type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'gray' | 'blue-light'; export interface IPktTabItem { active?: boolean; disabled?: boolean; href?: string; icon?: string; controls?: string; tag?: string; tagSkin?: TSkin; index?: number; } export declare class PktTabItem extends PktElementWithSlot<IPktTabItem> implements IPktTabItem { active: boolean; disabled: boolean; href: string; icon: string; controls: string; tag: string; tagSkin: TSkin; index: number; context?: TabsContext; elementRef: Ref<HTMLAnchorElement | HTMLButtonElement>; constructor(); connectedCallback(): void; updated(): void; private handleClick; private handleKeyDown; render(): import('lit-html').TemplateResult<1>; } export default PktTabItem;