@spectrum-web-components/base
Advanced tools
Comparing version 0.4.3-alpha.38 to 0.4.3-alpha.43
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.4.3-alpha.38+c2051754", | ||
"version": "0.4.3-alpha.43+324d05fa", | ||
"description": "", | ||
@@ -35,2 +35,3 @@ "main": "./src/index.js", | ||
}, | ||
"sideEffects": false, | ||
"files": [ | ||
@@ -43,8 +44,7 @@ "custom-elements.json", | ||
], | ||
"sideEffects": false, | ||
"scripts": { | ||
"test": "karma start --coverage" | ||
}, | ||
"license": "Apache-2.0", | ||
"author": "", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
@@ -55,3 +55,3 @@ "lit-element": "^2.4.0", | ||
}, | ||
"gitHead": "c2051754358fba8e22dbc63db8c4ed7a1635f7e4" | ||
"gitHead": "324d05fa305732201905cd628d702e47f086cbff" | ||
} |
@@ -62,3 +62,12 @@ /* | ||
else { | ||
dirParent.startManagingContentDirection(this); | ||
const { localName } = dirParent; | ||
if (localName.search('-') > -1 && | ||
!customElements.get(localName)) { | ||
customElements.whenDefined(localName).then(() => { | ||
dirParent.startManagingContentDirection(this); | ||
}); | ||
} | ||
else { | ||
dirParent.startManagingContentDirection(this); | ||
} | ||
} | ||
@@ -65,0 +74,0 @@ this._dirParent = dirParent; |
@@ -101,5 +101,17 @@ /* | ||
} else { | ||
(dirParent as ThemeRoot).startManagingContentDirection( | ||
this | ||
); | ||
const { localName } = dirParent; | ||
if ( | ||
localName.search('-') > -1 && | ||
!customElements.get(localName) | ||
) { | ||
customElements.whenDefined(localName).then(() => { | ||
(dirParent as ThemeRoot).startManagingContentDirection( | ||
this | ||
); | ||
}); | ||
} else { | ||
(dirParent as ThemeRoot).startManagingContentDirection( | ||
this | ||
); | ||
} | ||
} | ||
@@ -106,0 +118,0 @@ this._dirParent = dirParent as HTMLElement; |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
68879
667