Socket
Socket
Sign inDemoInstall

@spectrum-web-components/theme

Package Overview
Dependencies
Maintainers
5
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/theme - npm Package Compare versions

Comparing version 0.5.3-alpha.77 to 0.6.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/theme@0.5.2...@spectrum-web-components/theme@0.6.0) (2020-08-31)
### Features
- allow dir management by sp-theme elements ([2d10158](https://github.com/adobe/spectrum-web-components/commit/2d1015883bc0c3a03862c0de8b4d996cd954291f))
## [0.5.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/theme@0.5.1...@spectrum-web-components/theme@0.5.2) (2020-07-24)

@@ -8,0 +14,0 @@

10

package.json

@@ -21,3 +21,3 @@ {

],
"version": "0.5.3-alpha.77+1e82c26e",
"version": "0.6.0",
"description": "",

@@ -64,3 +64,3 @@ "main": "src/index.js",

"scripts": {
"test": "karma start --coverage"
"test": "echo \"Error: run tests from mono-repo root.\" && exit 1"
},

@@ -70,7 +70,7 @@ "author": "",

"dependencies": {
"@spectrum-web-components/base": "^0.0.2-alpha.1038+1e82c26e",
"@spectrum-web-components/styles": "^0.6.0",
"@spectrum-web-components/base": "^0.1.0",
"@spectrum-web-components/styles": "^0.6.1",
"tslib": "^2.0.0"
},
"gitHead": "1e82c26ee95e858f3c97afd070e1fc9e3905cebd"
"gitHead": "51706b5f7aeec990c6323501aa22f8aee5827e31"
}

@@ -58,4 +58,4 @@ import { CSSResult } from '@spectrum-web-components/base';

private observer;
trackChild(el: HTMLElement): void;
untrackChild(el: HTMLElement): void;
startManagingContentDirection(el: HTMLElement): void;
stopManagingContentDirection(el: HTMLElement): void;
private trackedChildren;

@@ -62,0 +62,0 @@ private shouldAdoptStyles;

@@ -134,3 +134,3 @@ /*

// connected after first update.
/* istanbul ignore if */
/* c8 ignore next 3 */
if (window.ShadyCSS !== undefined) {

@@ -172,10 +172,10 @@ window.ShadyCSS.styleElement(this);

}
trackChild(el) {
startManagingContentDirection(el) {
this.trackedChildren.add(el);
}
untrackChild(el) {
stopManagingContentDirection(el) {
this.trackedChildren.delete(el);
}
shouldAdoptStyles() {
/* istanbul ignore if */
/* c8 ignore next 3 */
if (!this.hasAdoptedStyles) {

@@ -198,3 +198,3 @@ this.adoptStyles();

// rendering
/* istanbul ignore if */ if (window.ShadyCSS !== undefined &&
/* c8 ignore next */ if (window.ShadyCSS !== undefined &&
!window.ShadyCSS.nativeShadow &&

@@ -201,0 +201,0 @@ window.ShadyCSS.ScopingShim) {

@@ -207,3 +207,3 @@ /*

// connected after first update.
/* istanbul ignore if */
/* c8 ignore next 3 */
if (window.ShadyCSS !== undefined) {

@@ -254,7 +254,7 @@ window.ShadyCSS.styleElement(this);

public trackChild(el: HTMLElement): void {
public startManagingContentDirection(el: HTMLElement): void {
this.trackedChildren.add(el);
}
public untrackChild(el: HTMLElement): void {
public stopManagingContentDirection(el: HTMLElement): void {
this.trackedChildren.delete(el);

@@ -266,3 +266,3 @@ }

private shouldAdoptStyles(): void {
/* istanbul ignore if */
/* c8 ignore next 3 */
if (!this.hasAdoptedStyles) {

@@ -287,3 +287,3 @@ this.adoptStyles();

// rendering
/* istanbul ignore if */ if (
/* c8 ignore next */ if (
window.ShadyCSS !== undefined &&

@@ -290,0 +290,0 @@ !window.ShadyCSS.nativeShadow &&

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc