@spectrum-web-components/base
Advanced tools
Comparing version 0.1.4-alpha.60 to 0.1.4-alpha.84
@@ -21,6 +21,7 @@ { | ||
], | ||
"version": "0.1.4-alpha.60+a478c2c4", | ||
"version": "0.1.4-alpha.84+1680fb01", | ||
"description": "", | ||
"main": "src/index.js", | ||
"module": "src/index.js", | ||
"main": "./src/index.js", | ||
"module": "./src/index.js", | ||
"types": "./src/index.d.ts", | ||
"type": "module", | ||
@@ -47,3 +48,3 @@ "exports": { | ||
"dependencies": { | ||
"@spectrum-web-components/theme": "^0.6.4-alpha.60+a478c2c4", | ||
"@spectrum-web-components/theme": "^0.6.4-alpha.84+1680fb01", | ||
"lit-element": "^2.4.0", | ||
@@ -53,3 +54,3 @@ "lit-html": "^1.0.0", | ||
}, | ||
"gitHead": "a478c2c484b45e88c5d8b5cc64a255e31d0a3829" | ||
"gitHead": "1680fb01795050191c13f5c05f554d923ff850ae" | ||
} |
@@ -14,3 +14,6 @@ /* | ||
import { LitElement, property, UpdatingElement } from 'lit-element'; | ||
import { Theme } from '@spectrum-web-components/theme'; | ||
type ThemeRoot = HTMLElement & { | ||
startManagingContentDirection: (el: HTMLElement) => void; | ||
stopManagingContentDirection: (el: HTMLElement) => void; | ||
}; | ||
@@ -93,3 +96,5 @@ type Constructor<T = Record<string, unknown>> = { | ||
} else { | ||
(dirParent as Theme).startManagingContentDirection(this); | ||
(dirParent as ThemeRoot).startManagingContentDirection( | ||
this | ||
); | ||
} | ||
@@ -107,3 +112,3 @@ this._dirParent = dirParent as HTMLElement; | ||
} else { | ||
(this._dirParent as Theme).stopManagingContentDirection( | ||
(this._dirParent as ThemeRoot).stopManagingContentDirection( | ||
this | ||
@@ -110,0 +115,0 @@ ); |
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
53696
502