UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

18 lines (17 loc) 735 B
import type { Generic } from 'adopted-style-sheets'; import type { HeadingLevel, PropHeadingVariant, PropLabelWithExpertSlot } from '../props'; type RequiredProps = PropLabelWithExpertSlot; type OptionalProps = PropHeadingVariant & { secondaryHeadline: string; level: HeadingLevel; }; type RequiredStates = RequiredProps & { level: HeadingLevel; }; type OptionalStates = PropHeadingVariant & { secondaryHeadline: string; }; export type HeadingProps = Generic.Element.Members<RequiredProps, OptionalProps>; export type HeadingStates = Generic.Element.Members<RequiredStates, OptionalStates>; export type HeadingAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>; export {};