Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material/mwc-ripple

Package Overview
Dependencies
Maintainers
18
Versions
723
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/mwc-ripple - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

3

mwc-ripple-base.js

@@ -36,2 +36,5 @@ import { __decorate } from "tslib";

}
else if (parent instanceof ShadowRoot && parent.host instanceof HTMLElement) {
this.interactionNode = parent.host;
}
}

@@ -38,0 +41,0 @@ super.connectedCallback();

10

mwc-ripple.d.ts

@@ -1,9 +0,9 @@

import { RippleBase } from './mwc-ripple-base.js';
import {RippleBase} from './mwc-ripple-base.js';
declare global {
interface HTMLElementTagNameMap {
'mwc-ripple': Ripple;
}
interface HTMLElementTagNameMap {
'mwc-ripple': Ripple;
}
}
export declare class Ripple extends RippleBase {
static styles: import("lit-element").CSSResult;
static styles: import('lit-element').CSSResult;
}
{
"name": "@material/mwc-ripple",
"version": "0.10.0",
"version": "0.11.0",
"description": "",

@@ -18,5 +18,5 @@ "main": "mwc-ripple.js",

"dependencies": {
"@material/dom": "=4.0.0-canary.e851d4f40.0",
"@material/mwc-base": "^0.10.0",
"@material/ripple": "=4.0.0-canary.e851d4f40.0",
"@material/dom": "=5.0.0-canary.5729943ba.0",
"@material/mwc-base": "^0.11.0",
"@material/ripple": "=5.0.0-canary.5729943ba.0",
"lit-element": "^2.2.1",

@@ -29,3 +29,3 @@ "lit-html": "^1.1.2",

},
"gitHead": "631e70e3a39330ccade8210d1a72edc0f22ddc0a"
"gitHead": "147d9789d99bf7a5ed28f6b066b8db58f5b9ab0a"
}

@@ -61,3 +61,3 @@ /**

isSurfaceActive: () => matches(interactionNode, ':active'),
isSurfaceDisabled: () => Boolean(options.disabled),
isSurfaceDisabled: () => Boolean(interactionNode.hasAttribute('disabled')),
addClass: (className) => surfaceNode.classList.add(className),

@@ -64,0 +64,0 @@ removeClass: (className) => surfaceNode.classList.remove(className),

@@ -37,5 +37,8 @@ /**

if (this.interactionNode === this) {
const parent = this.parentNode as HTMLElement;
const parent = this.parentNode as HTMLElement | ShadowRoot | null;
if (parent instanceof HTMLElement) {
this.interactionNode = parent;
} else if (
parent instanceof ShadowRoot && parent.host instanceof HTMLElement) {
this.interactionNode = parent.host;
}

@@ -42,0 +45,0 @@ }

@@ -87,3 +87,3 @@ /**

isSurfaceActive: () => matches(interactionNode, ':active'),
isSurfaceDisabled: () => Boolean(options.disabled),
isSurfaceDisabled: () => Boolean(interactionNode.hasAttribute('disabled')),
addClass: (className: string) => surfaceNode.classList.add(className),

@@ -90,0 +90,0 @@ removeClass: (className: string) => surfaceNode.classList.remove(className),

Sorry, the diff of this file is not supported yet

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