import { Cre8Element } from '../cre8-element'; /** * HTML headings are titles or subtitles that you want to display on a webpage. The H1 is the most important and H6 * is the least important in the content hierarchy. * * # How to Use * 1. The cre8-heading tag wraps around one of the six native HTML "h" tags, depending on your chosen variation. * 2. There are two main use cases for using this component: * text passage headings and Components with a title (i.e. modal, card or alert) * 3. There will be instances when the design requires the heading text to have the brand color applied * in which case you should set the [brandColor](?path=/story/cre8-components-heading--brand-color) * attribute to true on the cre8-heading tag. * 4. For dark backgrounds, add the [inverted](?path=/story/cre8-components-heading--inverted) * attribute to the tag for white text. * * * @slot - The heading text content */ export declare class Cre8Heading extends Cre8Element { static styles: import("lit").CSSResult[]; /** * Heading type * * * */ type?: 'display-default' | 'display-small' | 'headline-large' | 'headline-default' | 'headline-small' | 'title-xlarge' | 'title-large' | 'title-default' | 'title-small' | 'label-large' | 'label-default' | 'label-small' | 'meta-large' | 'meta-default' | 'meta-small'; /** * Dynamic tag name for the component * 1) This is needed to use proper semantic heading treatments depending on where the banner lives on the page * * * * * @attr{string} */ tagVariant: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; /** * Invert the color of the font from dark to light. An inverted `heading` should be used on a dark background. * * @attr{boolean} */ inverted?: boolean; /** * Apply the brand color to the heading text. * * @attr{boolean} */ brandColor?: boolean; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'cre8-heading': Cre8Heading; } } export default Cre8Heading; //# sourceMappingURL=heading.d.ts.map