@lit-labs/ssr-dom-shim
Advanced tools
Comparing version 1.1.1 to 1.1.2-pre.0
@@ -15,3 +15,3 @@ /** | ||
} | ||
declare type ARIAAttributeMap = { | ||
type ARIAAttributeMap = { | ||
[K in keyof ARIAMixin]: string; | ||
@@ -18,0 +18,0 @@ }; |
@@ -56,2 +56,9 @@ /** | ||
export const ElementInternalsShim = class ElementInternals { | ||
get shadowRoot() { | ||
// Grab the shadow root instance from the Element shim | ||
// to ensure that the shadow root is always available | ||
// to the internals instance even if the mode is 'closed' | ||
return this.__host | ||
.__shadowRoot; | ||
} | ||
constructor(_host) { | ||
@@ -107,9 +114,2 @@ this.ariaAtomic = ''; | ||
} | ||
get shadowRoot() { | ||
// Grab the shadow root instance from the Element shim | ||
// to ensure that the shadow root is always available | ||
// to the internals instance even if the mode is 'closed' | ||
return this.__host | ||
.__shadowRoot; | ||
} | ||
checkValidity() { | ||
@@ -116,0 +116,0 @@ // TODO(augustjk) Consider actually implementing logic. |
{ | ||
"name": "@lit-labs/ssr-dom-shim", | ||
"version": "1.1.1", | ||
"version": "1.1.2-pre.0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
33703
1