UNPKG

@oslokommune/punkt-elements

Version:

Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo

69 lines (68 loc) 3.83 kB
import { PktAlert } from '../components/alert/alert'; import { PktBackLink } from '../components/backlink/backlink'; import { PktBreadcrumbs } from '../components/breadcrumbs/breadcrumbs'; import { PktButton } from '../components/button/button'; import { PktCard } from '../components/card/card'; import { PktAccordion } from '../components/accordion/accordion'; import { PktAccordionItem } from '../components/accordion/accordionitem'; import { PktCalendar } from '../components/calendar/calendar'; import { PktCheckbox } from '../components/checkbox/checkbox'; import { PktCombobox } from '../components/combobox/combobox'; import { PktConsent } from '../components/consent/consent'; import { PktFileUpload } from '../components/fileupload/fileupload'; import { PktDatepicker } from '../components/datepicker/datepicker'; import { PktHeading } from '../components/heading/heading'; import { PktHelptext } from '../components/helptext/helptext'; import { PktIcon } from '../components/icon/icon'; import { PktInputWrapper } from '../components/input-wrapper/input-wrapper'; import { PktLink } from '../components/link/link'; import { PktLinkCard } from '../components/linkcard/linkcard'; import { PktListbox } from '../components/listbox/listbox'; import { PktLoader } from '../components/loader/loader'; import { PktMessagebox } from '../components/messagebox/messagebox'; import { PktModal } from '../components/modal/modal'; import { PktProgressbar } from '../components/progressbar/progressbar'; import { PktRadioButton } from '../components/radiobutton/radiobutton'; import { PktSelect } from '../components/select/select'; import { PktSearchInput } from '../components/searchinput/searchinput'; import { PktTag } from '../components/tag/tag'; import { PktTextarea } from '../components/textarea/textarea'; import { PktTextinput } from '../components/textinput/textinput'; import { PktTimepicker } from '../components/timepicker/timepicker'; import { PktHeaderService } from '../components'; export declare const customElementComponentRegistry: { readonly 'pkt-alert': typeof PktAlert; readonly 'pkt-accordion': typeof PktAccordion; readonly 'pkt-accordion-item': typeof PktAccordionItem; readonly 'pkt-backlink': typeof PktBackLink; readonly 'pkt-breadcrumbs': typeof PktBreadcrumbs; readonly 'pkt-button': typeof PktButton; readonly 'pkt-card': typeof PktCard; readonly 'pkt-calendar': typeof PktCalendar; readonly 'pkt-checkbox': typeof PktCheckbox; readonly 'pkt-combobox': typeof PktCombobox; readonly 'pkt-consent': typeof PktConsent; readonly 'pkt-fileupload': typeof PktFileUpload; readonly 'pkt-datepicker': typeof PktDatepicker; readonly 'pkt-header-service': typeof PktHeaderService; readonly 'pkt-heading': typeof PktHeading; readonly 'pkt-helptext': typeof PktHelptext; readonly 'pkt-icon': typeof PktIcon; readonly 'pkt-input-wrapper': typeof PktInputWrapper; readonly 'pkt-link': typeof PktLink; readonly 'pkt-linkcard': typeof PktLinkCard; readonly 'pkt-listbox': typeof PktListbox; readonly 'pkt-loader': typeof PktLoader; readonly 'pkt-messagebox': typeof PktMessagebox; readonly 'pkt-modal': typeof PktModal; readonly 'pkt-progressbar': typeof PktProgressbar; readonly 'pkt-radiobutton': typeof PktRadioButton; readonly 'pkt-select': typeof PktSelect; readonly 'pkt-searchinput': typeof PktSearchInput; readonly 'pkt-tag': typeof PktTag; readonly 'pkt-textarea': typeof PktTextarea; readonly 'pkt-textinput': typeof PktTextinput; readonly 'pkt-timepicker': typeof PktTimepicker; }; export type CustomElementName = keyof typeof customElementComponentRegistry; export type CustomElementFor<T extends CustomElementName> = InstanceType<(typeof customElementComponentRegistry)[T]>;