@vonage/vvd-scheme
Advanced tools
Comparing version 2.36.0 to 2.36.1
@@ -0,1 +1,10 @@ | ||
## [2.36.1](https://github.com/vonage/vivid/compare/v2.36.0...v2.36.1) (2022-09-20) | ||
### Bug Fixes | ||
* **scheme:** replace match media deprecated listener method ([#1342](https://github.com/vonage/vivid/issues/1342)) ([136bf45](https://github.com/vonage/vivid/commit/136bf450ea8e38945a1351fd17ff67de46e63171)) | ||
# [2.36.0](https://github.com/vonage/vivid/compare/v2.35.0...v2.36.0) (2022-07-27) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "@vonage/vvd-scheme", | ||
"version": "2.36.0", | ||
"version": "2.36.1", | ||
"description": "Vivid scheme management service", | ||
@@ -25,12 +25,12 @@ "author": "yinonov <yinon@hotmail.com>", | ||
"dependencies": { | ||
"@vonage/vvd-foundation": "2.36.0", | ||
"@vonage/vvd-foundation": "2.36.1", | ||
"tslib": "^2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@vonage/vvd-design-tokens": "2.36.0", | ||
"@vonage/vvd-umbrella": "2.36.0", | ||
"@vonage/vvd-design-tokens": "2.36.1", | ||
"@vonage/vvd-umbrella": "2.36.1", | ||
"lit-element": "^2.4.0", | ||
"typescript": "^4.3.2" | ||
}, | ||
"gitHead": "6390adde1ea18bbacc6f2f2c9d9b017b0746c208" | ||
"gitHead": "43325a4f79ef2b781222a9d68cf678f63411b255" | ||
} |
@@ -62,6 +62,6 @@ import { applySchemeCSS } from './vvd-scheme-style-tag-handler.js'; | ||
if (scheme === AutoScheme.SYNC_WITH_OS_SETTINGS) { | ||
pcs.addListener(syncWithOSSettings); | ||
pcs.addEventListener('change', syncWithOSSettings); | ||
result = getPreferedColorScheme() as PredefinedScheme; | ||
} else { | ||
pcs.removeListener(syncWithOSSettings); | ||
pcs.removeEventListener('change', syncWithOSSettings); | ||
result = scheme; | ||
@@ -68,0 +68,0 @@ } |
@@ -27,7 +27,7 @@ import { applySchemeCSS } from './vvd-scheme-style-tag-handler.js'; | ||
if (scheme === AutoScheme.SYNC_WITH_OS_SETTINGS) { | ||
pcs.addListener(syncWithOSSettings); | ||
pcs.addEventListener('change', syncWithOSSettings); | ||
result = getPreferedColorScheme(); | ||
} | ||
else { | ||
pcs.removeListener(syncWithOSSettings); | ||
pcs.removeEventListener('change', syncWithOSSettings); | ||
result = scheme; | ||
@@ -34,0 +34,0 @@ } |
Sorry, the diff of this file is not supported yet
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
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
166538
+ Added@vonage/vvd-foundation@2.36.1(transitive)
- Removed@vonage/vvd-foundation@2.36.0(transitive)