typed-dom
Advanced tools
Comparing version 0.0.252 to 0.0.253
@@ -1,2 +0,2 @@ | ||
/*! typed-dom v0.0.252 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
/*! typed-dom v0.0.253 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */ | ||
require = function () { | ||
@@ -3,0 +3,0 @@ function r(e, n, t) { |
25
dom.ts
@@ -5,2 +5,27 @@ import { Symbol, document } from 'spica/global'; | ||
declare global { | ||
interface ShadowHostElementTagNameMap { | ||
'article': HTMLElement; | ||
'aside': HTMLElement; | ||
'blockquote': HTMLQuoteElement; | ||
'body': HTMLBodyElement; | ||
'div': HTMLDivElement; | ||
'footer': HTMLElement; | ||
'h1': HTMLHeadingElement; | ||
'h2': HTMLHeadingElement; | ||
'h3': HTMLHeadingElement; | ||
'h4': HTMLHeadingElement; | ||
'h5': HTMLHeadingElement; | ||
'h6': HTMLHeadingElement; | ||
'header': HTMLElement; | ||
'main': HTMLElement; | ||
'nav': HTMLElement; | ||
'p': HTMLParagraphElement; | ||
'section': HTMLElement; | ||
'span': HTMLSpanElement; | ||
} | ||
interface HTMLElementTagNameMap extends ShadowHostElementTagNameMap { | ||
} | ||
} | ||
export const enum NS { | ||
@@ -7,0 +32,0 @@ HTML = 'HTML', |
22
index.ts
@@ -11,24 +11,2 @@ import 'spica/global'; | ||
declare global { | ||
interface ShadowHostElementTagNameMap { | ||
'article': HTMLElement; | ||
'aside': HTMLElement; | ||
'blockquote': HTMLQuoteElement; | ||
'body': HTMLBodyElement; | ||
'div': HTMLDivElement; | ||
'footer': HTMLElement; | ||
'h1': HTMLHeadingElement; | ||
'h2': HTMLHeadingElement; | ||
'h3': HTMLHeadingElement; | ||
'h4': HTMLHeadingElement; | ||
'h5': HTMLHeadingElement; | ||
'h6': HTMLHeadingElement; | ||
'header': HTMLElement; | ||
'main': HTMLElement; | ||
'nav': HTMLElement; | ||
'p': HTMLParagraphElement; | ||
'section': HTMLElement; | ||
'span': HTMLSpanElement; | ||
} | ||
interface HTMLElementTagNameMap extends ShadowHostElementTagNameMap { | ||
} | ||
interface ElementEventMap { | ||
@@ -35,0 +13,0 @@ 'connect': Event; |
{ | ||
"name": "typed-dom", | ||
"version": "0.0.252", | ||
"version": "0.0.253", | ||
"description": "A DOM component builder creating type-level DOM structures.", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -5,2 +5,27 @@ import { Symbol, document } from 'spica/global'; | ||
declare global { | ||
interface ShadowHostElementTagNameMap { | ||
'article': HTMLElement; | ||
'aside': HTMLElement; | ||
'blockquote': HTMLQuoteElement; | ||
'body': HTMLBodyElement; | ||
'div': HTMLDivElement; | ||
'footer': HTMLElement; | ||
'h1': HTMLHeadingElement; | ||
'h2': HTMLHeadingElement; | ||
'h3': HTMLHeadingElement; | ||
'h4': HTMLHeadingElement; | ||
'h5': HTMLHeadingElement; | ||
'h6': HTMLHeadingElement; | ||
'header': HTMLElement; | ||
'main': HTMLElement; | ||
'nav': HTMLElement; | ||
'p': HTMLParagraphElement; | ||
'section': HTMLElement; | ||
'span': HTMLSpanElement; | ||
} | ||
interface HTMLElementTagNameMap extends ShadowHostElementTagNameMap { | ||
} | ||
} | ||
export const enum NS { | ||
@@ -7,0 +32,0 @@ HTML = 'HTML', |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
655545
15503