@razen-core/zenweb
Version:
A minimalist TypeScript framework for building reactive web applications with no virtual DOM
81 lines • 2.56 kB
TypeScript
/**
* ZenWeb Typography Helpers
* Text and typography elements
*/
import { DOMProps, DOMChildren } from '../dom.js';
/**
* Heading elements
*/
export declare function h1(props: DOMProps, ...content: DOMChildren[]): HTMLHeadingElement;
export declare function h2(props: DOMProps, ...content: DOMChildren[]): HTMLHeadingElement;
export declare function h3(props: DOMProps, ...content: DOMChildren[]): HTMLHeadingElement;
export declare function h4(props: DOMProps, ...content: DOMChildren[]): HTMLHeadingElement;
export declare function h5(props: DOMProps, ...content: DOMChildren[]): HTMLHeadingElement;
export declare function h6(props: DOMProps, ...content: DOMChildren[]): HTMLHeadingElement;
/**
* Bold text
*/
export declare function strong(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Italic text
*/
export declare function em(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Inline code
*/
export declare function code(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Preformatted text
*/
export declare function pre(props: DOMProps, ...content: DOMChildren[]): HTMLPreElement;
/**
* Blockquote
*/
export declare function blockquote(props: DOMProps, ...children: DOMChildren[]): HTMLQuoteElement;
/**
* Highlighted text
*/
export declare function mark(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Small text
*/
export declare function small(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Deleted text
*/
export declare function del(props: DOMProps, ...content: DOMChildren[]): HTMLModElement;
/**
* Inserted text
*/
export declare function ins(props: DOMProps, ...content: DOMChildren[]): HTMLModElement;
/**
* Subscript
*/
export declare function sub(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Superscript
*/
export declare function sup(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Abbreviation
*/
export declare function abbr(props: DOMProps & {
title: string;
}, ...content: DOMChildren[]): HTMLElement;
/**
* Citation
*/
export declare function cite(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Keyboard input
*/
export declare function kbd(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Sample output
*/
export declare function samp(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
/**
* Variable
*/
export declare function varElement(props: DOMProps, ...content: DOMChildren[]): HTMLElement;
//# sourceMappingURL=typography.d.ts.map