diff --git a/html/index.d.ts b/html/index.d.ts index f5711208c6..a3f8a5094b 100644 --- a/html/index.d.ts +++ b/html/index.d.ts @@ -547,7 +547,7 @@ export type HTMLAttributeAnchorTarget = | '_top' | (string & {}); -export interface AnchorHTMLAttributes extends HTMLAttributes { +export interface HTMLAnchorAttributes extends HTMLAttributes { download?: any; href?: string | undefined | null; hreflang?: string | undefined | null; @@ -568,9 +568,9 @@ export interface AnchorHTMLAttributes extends HTMLAttributes 'sapper:prefetch'?: true | undefined | null; } -export interface AudioHTMLAttributes extends MediaHTMLAttributes {} +export interface HTMLAudioAttributes extends HTMLMediaAttributes {} -export interface AreaHTMLAttributes extends HTMLAttributes { +export interface HTMLAreaAttributes extends HTMLAttributes { alt?: string | undefined | null; coords?: string | undefined | null; download?: any; @@ -584,16 +584,16 @@ export interface AreaHTMLAttributes extends HTMLAttributes { ping?: string | undefined | null; } -export interface BaseHTMLAttributes extends HTMLAttributes { +export interface HTMLBaseAttributes extends HTMLAttributes { href?: string | undefined | null; target?: string | undefined | null; } -export interface BlockquoteHTMLAttributes extends HTMLAttributes { +export interface HTMLBlockquoteAttributes extends HTMLAttributes { cite?: string | undefined | null; } -export interface ButtonHTMLAttributes extends HTMLAttributes { +export interface HTMLButtonAttributes extends HTMLAttributes { disabled?: boolean | undefined | null; form?: string | undefined | null; formaction?: string | undefined | null; @@ -606,51 +606,51 @@ export interface ButtonHTMLAttributes extends HTMLAttributes value?: string | string[] | number | undefined | null; } -export interface CanvasHTMLAttributes extends HTMLAttributes { +export interface HTMLCanvasAttributes extends HTMLAttributes { height?: number | string | undefined | null; width?: number | string | undefined | null; } -export interface ColHTMLAttributes extends HTMLAttributes { +export interface HTMLColAttributes extends HTMLAttributes { span?: number | undefined | null; width?: number | string | undefined | null; } -export interface ColgroupHTMLAttributes extends HTMLAttributes { +export interface HTMLColgroupAttributes extends HTMLAttributes { span?: number | undefined | null; } -export interface DataHTMLAttributes extends HTMLAttributes { +export interface HTMLDataAttributes extends HTMLAttributes { value?: string | string[] | number | undefined | null; } -export interface DetailsHTMLAttributes extends HTMLAttributes { +export interface HTMLDetailsAttributes extends HTMLAttributes { open?: boolean | undefined | null; } -export interface DelHTMLAttributes extends HTMLAttributes { +export interface HTMLDelAttributes extends HTMLAttributes { cite?: string | undefined | null; datetime?: string | undefined | null; } -export interface DialogHTMLAttributes extends HTMLAttributes { +export interface HTMLDialogAttributes extends HTMLAttributes { open?: boolean | undefined | null; } -export interface EmbedHTMLAttributes extends HTMLAttributes { +export interface HTMLEmbedAttributes extends HTMLAttributes { height?: number | string | undefined | null; src?: string | undefined | null; type?: string | undefined | null; width?: number | string | undefined | null; } -export interface FieldsetHTMLAttributes extends HTMLAttributes { +export interface HTMLFieldsetAttributes extends HTMLAttributes { disabled?: boolean | undefined | null; form?: string | undefined | null; name?: string | undefined | null; } -export interface FormHTMLAttributes extends HTMLAttributes { +export interface HTMLFormAttributes extends HTMLAttributes { acceptcharset?: string | undefined | null; action?: string | undefined | null; autocomplete?: string | undefined | null; @@ -662,11 +662,11 @@ export interface FormHTMLAttributes extends HTMLAttributes { rel?: string | undefined | null; } -export interface HtmlHTMLAttributes extends HTMLAttributes { +export interface HTMLHtmlAttributes extends HTMLAttributes { manifest?: string | undefined | null; } -export interface IframeHTMLAttributes extends HTMLAttributes { +export interface HTMLIframeAttributes extends HTMLAttributes { allow?: string | undefined | null; allowfullscreen?: boolean | undefined | null; allowtransparency?: boolean | undefined | null; @@ -689,7 +689,7 @@ export interface IframeHTMLAttributes extends HTMLAttributes width?: number | string | undefined | null; } -export interface ImgHTMLAttributes extends HTMLAttributes { +export interface HTMLImgAttributes extends HTMLAttributes { alt?: string | undefined | null; crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null; decoding?: 'async' | 'auto' | 'sync' | undefined | null; @@ -704,7 +704,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes { width?: number | string | undefined | null; } -export interface InsHTMLAttributes extends HTMLAttributes { +export interface HTMLInsAttributes extends HTMLAttributes { cite?: string | undefined | null; datetime?: string | undefined | null; } @@ -734,7 +734,7 @@ export type HTMLInputTypeAttribute = | 'week' | (string & {}); -export interface InputHTMLAttributes extends HTMLAttributes { +export interface HTMLInputAttributes extends HTMLAttributes { accept?: string | undefined | null; alt?: string | undefined | null; autocomplete?: string | undefined | null; @@ -775,7 +775,7 @@ export interface InputHTMLAttributes extends HTMLAttributes { indeterminate?: boolean | undefined | null; } -export interface KeygenHTMLAttributes extends HTMLAttributes { +export interface HTMLKeygenAttributes extends HTMLAttributes { challenge?: string | undefined | null; disabled?: boolean | undefined | null; form?: string | undefined | null; @@ -784,16 +784,16 @@ export interface KeygenHTMLAttributes extends HTMLAttributes { name?: string | undefined | null; } -export interface LabelHTMLAttributes extends HTMLAttributes { +export interface HTMLLabelAttributes extends HTMLAttributes { form?: string | undefined | null; for?: string | undefined | null; } -export interface LiHTMLAttributes extends HTMLAttributes { +export interface HTMLLiAttributes extends HTMLAttributes { value?: string | string[] | number | undefined | null; } -export interface LinkHTMLAttributes extends HTMLAttributes { +export interface HTMLLinkAttributes extends HTMLAttributes { as?: string | undefined | null; crossorigin?: string | undefined | null; href?: string | undefined | null; @@ -809,15 +809,15 @@ export interface LinkHTMLAttributes extends HTMLAttributes { charset?: string | undefined | null; } -export interface MapHTMLAttributes extends HTMLAttributes { +export interface HTMLMapAttributes extends HTMLAttributes { name?: string | undefined | null; } -export interface MenuHTMLAttributes extends HTMLAttributes { +export interface HTMLMenuAttributes extends HTMLAttributes { type?: string | undefined | null; } -export interface MediaHTMLAttributes extends HTMLAttributes { +export interface HTMLMediaAttributes extends HTMLAttributes { autoplay?: boolean | undefined | null; controls?: boolean | undefined | null; controlslist?: 'nodownload' | 'nofullscreen' | 'noplaybackrate' | 'noremoteplayback' | (string & {}) | undefined | null; @@ -854,7 +854,7 @@ export interface MediaHTMLAttributes extends HTMLAtt paused?: boolean | undefined | null; } -export interface MetaHTMLAttributes extends HTMLAttributes { +export interface HTMLMetaAttributes extends HTMLAttributes { charSet?: string | undefined | null; content?: string | undefined | null; httpequiv?: string | undefined | null; @@ -862,7 +862,7 @@ export interface MetaHTMLAttributes extends HTMLAttributes { media?: string | undefined | null; } -export interface MeterHTMLAttributes extends HTMLAttributes { +export interface HTMLMeterAttributes extends HTMLAttributes { form?: string | undefined | null; high?: number | undefined | null; low?: number | undefined | null; @@ -872,11 +872,11 @@ export interface MeterHTMLAttributes extends HTMLAttributes { value?: string | string[] | number | undefined | null; } -export interface QuoteHTMLAttributes extends HTMLAttributes { +export interface HTMLQuoteAttributes extends HTMLAttributes { cite?: string | undefined | null; } -export interface ObjectHTMLAttributes extends HTMLAttributes { +export interface HTMLObjectAttributes extends HTMLAttributes { classid?: string | undefined | null; data?: string | undefined | null; form?: string | undefined | null; @@ -888,45 +888,45 @@ export interface ObjectHTMLAttributes extends HTMLAttributes wmode?: string | undefined | null; } -export interface OlHTMLAttributes extends HTMLAttributes { +export interface HTMLOlAttributes extends HTMLAttributes { reversed?: boolean | undefined | null; start?: number | undefined | null; type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined | null; } -export interface OptgroupHTMLAttributes extends HTMLAttributes { +export interface HTMLOptgroupAttributes extends HTMLAttributes { disabled?: boolean | undefined | null; label?: string | undefined | null; } -export interface OptionHTMLAttributes extends HTMLAttributes { +export interface HTMLOptionAttributes extends HTMLAttributes { disabled?: boolean | undefined | null; label?: string | undefined | null; selected?: boolean | undefined | null; value?: any; } -export interface OutputHTMLAttributes extends HTMLAttributes { +export interface HTMLOutputAttributes extends HTMLAttributes { form?: string | undefined | null; for?: string | undefined | null; name?: string | undefined | null; } -export interface ParamHTMLAttributes extends HTMLAttributes { +export interface HTMLParamAttributes extends HTMLAttributes { name?: string | undefined | null; value?: string | string[] | number | undefined | null; } -export interface ProgressHTMLAttributes extends HTMLAttributes { +export interface HTMLProgressAttributes extends HTMLAttributes { max?: number | string | undefined | null; value?: string | string[] | number | undefined | null; } -export interface SlotHTMLAttributes extends HTMLAttributes { +export interface HTMLSlotAttributes extends HTMLAttributes { name?: string | undefined | null; } -export interface ScriptHTMLAttributes extends HTMLAttributes { +export interface HTMLScriptAttributes extends HTMLAttributes { async?: boolean | undefined | null; /** @deprecated */ charset?: string | undefined | null; @@ -940,7 +940,7 @@ export interface ScriptHTMLAttributes extends HTMLAttributes type?: string | undefined | null; } -export interface SelectHTMLAttributes extends HTMLAttributes { +export interface HTMLSelectAttributes extends HTMLAttributes { autocomplete?: string | undefined | null; disabled?: boolean | undefined | null; form?: string | undefined | null; @@ -953,7 +953,7 @@ export interface SelectHTMLAttributes extends HTMLAttributes 'on:change'?: ChangeEventHandler | undefined | null; } -export interface SourceHTMLAttributes extends HTMLAttributes { +export interface HTMLSourceAttributes extends HTMLAttributes { height?: number | string | undefined | null; media?: string | undefined | null; sizes?: string | undefined | null; @@ -963,14 +963,14 @@ export interface SourceHTMLAttributes extends HTMLAttributes width?: number | string | undefined | null; } -export interface StyleHTMLAttributes extends HTMLAttributes { +export interface HTMLStyleAttributes extends HTMLAttributes { media?: string | undefined | null; nonce?: string | undefined | null; scoped?: boolean | undefined | null; type?: string | undefined | null; } -export interface TableHTMLAttributes extends HTMLAttributes { +export interface HTMLTableAttributes extends HTMLAttributes { align?: 'left' | 'center' | 'right' | undefined | null; bgcolor?: string | undefined | null; border?: number | undefined | null; @@ -982,7 +982,7 @@ export interface TableHTMLAttributes extends HTMLAttributes { width?: number | string | undefined | null; } -export interface TextareaHTMLAttributes extends HTMLAttributes { +export interface HTMLTextareaAttributes extends HTMLAttributes { autocomplete?: string | undefined | null; cols?: number | undefined | null; dirname?: string | undefined | null; @@ -1001,7 +1001,7 @@ export interface TextareaHTMLAttributes extends HTMLAttributes | undefined | null; } -export interface TdHTMLAttributes extends HTMLAttributes { +export interface HTMLTdAttributes extends HTMLAttributes { align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined | null; colspan?: number | undefined | null; headers?: string | undefined | null; @@ -1013,7 +1013,7 @@ export interface TdHTMLAttributes extends HTMLAttributes { valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined | null; } -export interface ThHTMLAttributes extends HTMLAttributes { +export interface HTMLThAttributes extends HTMLAttributes { align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined | null; colspan?: number | undefined | null; headers?: string | undefined | null; @@ -1022,11 +1022,11 @@ export interface ThHTMLAttributes extends HTMLAttributes { abbr?: string | undefined | null; } -export interface TimeHTMLAttributes extends HTMLAttributes { +export interface HTMLTimeAttributes extends HTMLAttributes { datetime?: string | undefined | null; } -export interface TrackHTMLAttributes extends HTMLAttributes { +export interface HTMLTrackAttributes extends HTMLAttributes { default?: boolean | undefined | null; kind?: string | undefined | null; label?: string | undefined | null; @@ -1034,7 +1034,7 @@ export interface TrackHTMLAttributes extends HTMLAttributes { srclang?: string | undefined | null; } -export interface VideoHTMLAttributes extends MediaHTMLAttributes { +export interface HTMLVideoAttributes extends HTMLMediaAttributes { height?: number | string | undefined | null; playsinline?: boolean | undefined | null; poster?: string | undefined | null; @@ -1362,7 +1362,7 @@ export interface SVGAttributes extends AriaAttributes, DO zoomAndPan?: string | undefined | null; } -export interface WebViewHTMLAttributes extends HTMLAttributes { +export interface HTMLWebViewAttributes extends HTMLAttributes { allowfullscreen?: boolean | undefined | null; allowpopups?: boolean | undefined | null; autosize?: boolean | undefined | null; @@ -1386,45 +1386,45 @@ export interface WebViewHTMLAttributes extends HTMLAttributes { // ---------------------------------------------------------------------- export interface SvelteHTMLElements { - a: AnchorHTMLAttributes; + a: HTMLAnchorAttributes; abbr: HTMLAttributes; address: HTMLAttributes; - area: AreaHTMLAttributes; + area: HTMLAreaAttributes; article: HTMLAttributes; aside: HTMLAttributes; - audio: AudioHTMLAttributes; + audio: HTMLAudioAttributes; b: HTMLAttributes; - base: BaseHTMLAttributes; + base: HTMLBaseAttributes; bdi: HTMLAttributes; bdo: HTMLAttributes; big: HTMLAttributes; - blockquote: BlockquoteHTMLAttributes; + blockquote: HTMLBlockquoteAttributes; body: HTMLAttributes; br: HTMLAttributes; - button: ButtonHTMLAttributes; - canvas: CanvasHTMLAttributes; + button: HTMLButtonAttributes; + canvas: HTMLCanvasAttributes; caption: HTMLAttributes; cite: HTMLAttributes; code: HTMLAttributes; - col: ColHTMLAttributes; - colgroup: ColgroupHTMLAttributes; - data: DataHTMLAttributes; + col: HTMLColAttributes; + colgroup: HTMLColgroupAttributes; + data: HTMLDataAttributes; datalist: HTMLAttributes; dd: HTMLAttributes; - del: DelHTMLAttributes; - details: DetailsHTMLAttributes; + del: HTMLDelAttributes; + details: HTMLDetailsAttributes; dfn: HTMLAttributes; - dialog: DialogHTMLAttributes; + dialog: HTMLDialogAttributes; div: HTMLAttributes; dl: HTMLAttributes; dt: HTMLAttributes; em: HTMLAttributes; - embed: EmbedHTMLAttributes; - fieldset: FieldsetHTMLAttributes; + embed: HTMLEmbedAttributes; + fieldset: HTMLFieldsetAttributes; figcaption: HTMLAttributes; figure: HTMLAttributes; footer: HTMLAttributes; - form: FormHTMLAttributes; + form: HTMLFormAttributes; h1: HTMLAttributes; h2: HTMLAttributes; h3: HTMLAttributes; @@ -1435,73 +1435,73 @@ export interface SvelteHTMLElements { header: HTMLAttributes; hgroup: HTMLAttributes; hr: HTMLAttributes; - html: HtmlHTMLAttributes; + html: HTMLHtmlAttributes; i: HTMLAttributes; - iframe: IframeHTMLAttributes; - img: ImgHTMLAttributes; - input: InputHTMLAttributes; - ins: InsHTMLAttributes; + iframe: HTMLIframeAttributes; + img: HTMLImgAttributes; + input: HTMLInputAttributes; + ins: HTMLInsAttributes; kbd: HTMLAttributes; - keygen: KeygenHTMLAttributes; - label: LabelHTMLAttributes; + keygen: HTMLKeygenAttributes; + label: HTMLLabelAttributes; legend: HTMLAttributes; - li: LiHTMLAttributes; - link: LinkHTMLAttributes; + li: HTMLLiAttributes; + link: HTMLLinkAttributes; main: HTMLAttributes; - map: MapHTMLAttributes; + map: HTMLMapAttributes; mark: HTMLAttributes; - menu: MenuHTMLAttributes; + menu: HTMLMenuAttributes; menuitem: HTMLAttributes; - meta: MetaHTMLAttributes; - meter: MeterHTMLAttributes; + meta: HTMLMetaAttributes; + meter: HTMLMeterAttributes; nav: HTMLAttributes; noscript: HTMLAttributes; - object: ObjectHTMLAttributes; - ol: OlHTMLAttributes; - optgroup: OptgroupHTMLAttributes; - option: OptionHTMLAttributes; - output: OutputHTMLAttributes; + object: HTMLObjectAttributes; + ol: HTMLOlAttributes; + optgroup: HTMLOptgroupAttributes; + option: HTMLOptionAttributes; + output: HTMLOutputAttributes; p: HTMLAttributes; - param: ParamHTMLAttributes; + param: HTMLParamAttributes; picture: HTMLAttributes; pre: HTMLAttributes; - progress: ProgressHTMLAttributes; - q: QuoteHTMLAttributes; + progress: HTMLProgressAttributes; + q: HTMLQuoteAttributes; rp: HTMLAttributes; rt: HTMLAttributes; ruby: HTMLAttributes; s: HTMLAttributes; samp: HTMLAttributes; - slot: SlotHTMLAttributes; - script: ScriptHTMLAttributes; + slot: HTMLSlotAttributes; + script: HTMLScriptAttributes; section: HTMLAttributes; - select: SelectHTMLAttributes; + select: HTMLSelectAttributes; small: HTMLAttributes; - source: SourceHTMLAttributes; + source: HTMLSourceAttributes; span: HTMLAttributes; strong: HTMLAttributes; - style: StyleHTMLAttributes; + style: HTMLStyleAttributes; sub: HTMLAttributes; summary: HTMLAttributes; sup: HTMLAttributes; - table: TableHTMLAttributes; + table: HTMLTableAttributes; template: HTMLAttributes; tbody: HTMLAttributes; - td: TdHTMLAttributes; - textarea: TextareaHTMLAttributes; + td: HTMLTdAttributes; + textarea: HTMLTextareaAttributes; tfoot: HTMLAttributes; - th: ThHTMLAttributes; + th: HTMLThAttributes; thead: HTMLAttributes; - time: TimeHTMLAttributes; + time: HTMLTimeAttributes; title: HTMLAttributes; tr: HTMLAttributes; - track: TrackHTMLAttributes; + track: HTMLTrackAttributes; u: HTMLAttributes; ul: HTMLAttributes; "var": HTMLAttributes; - video: VideoHTMLAttributes; + video: HTMLVideoAttributes; wbr: HTMLAttributes; - webview: WebViewHTMLAttributes; + webview: HTMLWebViewAttributes; // SVG svg: SVGAttributes;