element-internals-polyfill
Advanced tools
Comparing version 1.1.17 to 1.1.18
import { ICustomElement } from "./types"; | ||
export declare type CustomState = `--${string}`; | ||
export type CustomState = `--${string}`; | ||
export declare class CustomStateSet extends Set<CustomState> { | ||
@@ -4,0 +4,0 @@ static get isPolyfilled(): boolean; |
@@ -10,2 +10,3 @@ import { IElementInternals, ICustomElement, LabelsList } from './types'; | ||
ariaColIndex: string; | ||
ariaColIndexText: string; | ||
ariaColSpan: string; | ||
@@ -17,2 +18,3 @@ ariaCurrent: string; | ||
ariaHidden: string; | ||
ariaInvalid: string; | ||
ariaKeyShortcuts: string; | ||
@@ -35,2 +37,3 @@ ariaLabel: string; | ||
ariaRowIndex: string; | ||
ariaRowIndexText: string; | ||
ariaRowSpan: string; | ||
@@ -37,0 +40,0 @@ ariaSelected: string; |
@@ -194,2 +194,3 @@ (function () { | ||
ariaColIndex: 'aria-colindex', | ||
ariaColIndexText: 'aria-colindextext', | ||
ariaColSpan: 'aria-colspan', | ||
@@ -201,2 +202,3 @@ ariaCurrent: 'aria-current', | ||
ariaHidden: 'aria-hidden', | ||
ariaInvalid: 'aria-invalid', | ||
ariaKeyShortcuts: 'aria-keyshortcuts', | ||
@@ -219,2 +221,3 @@ ariaLabel: 'aria-label', | ||
ariaRowIndex: 'aria-rowindex', | ||
ariaRowIndexText: 'aria-rowindextext', | ||
ariaRowSpan: 'aria-rowspan', | ||
@@ -417,2 +420,5 @@ ariaSelected: 'aria-selected', | ||
class ElementInternals { | ||
static get isPolyfilled() { | ||
return true; | ||
} | ||
constructor(ref) { | ||
@@ -436,5 +442,2 @@ if (!ref || !ref.tagName || ref.tagName.indexOf('-') === -1) { | ||
} | ||
static get isPolyfilled() { | ||
return true; | ||
} | ||
checkValidity() { | ||
@@ -652,2 +655,2 @@ const ref = refMap.get(this); | ||
}()); | ||
})(); |
@@ -10,2 +10,3 @@ import { CustomStateSet } from "./CustomStateSet"; | ||
ariaColIndex: string; | ||
ariaColIndexText: string; | ||
ariaColSpan: string; | ||
@@ -17,2 +18,3 @@ ariaCurrent: string; | ||
ariaHidden: string; | ||
ariaInvalid: string; | ||
ariaKeyShortcuts: string; | ||
@@ -35,2 +37,3 @@ ariaLabel: string; | ||
ariaRowIndex: string; | ||
ariaRowIndexText: string; | ||
ariaRowSpan: string; | ||
@@ -71,3 +74,3 @@ ariaSelected: string; | ||
} | ||
export declare type LabelsList = NodeListOf<HTMLLabelElement>; | ||
export type LabelsList = NodeListOf<HTMLLabelElement>; | ||
declare global { | ||
@@ -74,0 +77,0 @@ interface HTMLElement { |
{ | ||
"name": "element-internals-polyfill", | ||
"version": "1.1.17", | ||
"version": "1.1.18", | ||
"description": "A polyfill for the element internals specification", | ||
@@ -47,3 +47,3 @@ "main": "dist/index.js", | ||
"@babel/preset-env": "^7.9.5", | ||
"@open-wc/testing": "^2.5.17", | ||
"@open-wc/testing": "^3.1.7", | ||
"@open-wc/testing-helpers": "^1.7.1", | ||
@@ -50,0 +50,0 @@ "@rollup/plugin-node-resolve": "^7.1.3", |
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
55294
1012