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

@material/mwc-ripple

Package Overview
Dependencies
Maintainers
15
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.7.1 to 0.8.0

18

mwc-ripple-base.d.ts

@@ -17,12 +17,12 @@ /**

*/
import {LitElement} from '@material/mwc-base/base-element';
import { LitElement } from '@material/mwc-base/base-element';
export declare class RippleBase extends LitElement {
primary: boolean;
active: boolean|undefined;
accent: boolean;
unbounded: boolean;
disabled: boolean;
protected interactionNode: HTMLElement;
connectedCallback(): void;
protected render(): import('lit-html/lib/template-result').TemplateResult;
primary: boolean;
active: boolean | undefined;
accent: boolean;
unbounded: boolean;
disabled: boolean;
protected interactionNode: HTMLElement;
connectedCallback(): void;
protected render(): import("lit-html/lib/template-result").TemplateResult;
}

@@ -1,7 +0,2 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { __decorate } from "tslib";
/**

@@ -8,0 +3,0 @@ @license

@@ -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/lib/css-tag').CSSResult;
static styles: import("lit-element/lib/css-tag").CSSResult;
}

@@ -1,7 +0,2 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { __decorate } from "tslib";
/**

@@ -8,0 +3,0 @@ @license

{
"name": "@material/mwc-ripple",
"version": "0.7.1",
"version": "0.8.0",
"description": "",

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

"@material/dom": "^3.1.0",
"@material/mwc-base": "^0.7.0",
"@material/mwc-base": "^0.8.0",
"@material/ripple": "^3.0.0",
"lit-html": "^1.0.0"
"lit-html": "^1.0.0",
"tslib": "^1.10.0"
},

@@ -27,3 +28,3 @@ "publishConfig": {

},
"gitHead": "f8389e38b66e6261a8578f4a748efcb7367da176"
"gitHead": "e47de0d9d6e556ce8c4b0b92f87be25a3e18da79"
}
import MDCRippleFoundation from '@material/ripple/foundation.js';
import {PropertyPart} from 'lit-html';
import { PropertyPart } from 'lit-html';
export interface RippleOptions {
interactionNode?: HTMLElement;
unbounded?: boolean;
disabled?: boolean;
active?: boolean;
interactionNode?: HTMLElement;
unbounded?: boolean;
disabled?: boolean;
active?: boolean;
}
export interface RippleNodeOptions extends RippleOptions {
surfaceNode: HTMLElement;
surfaceNode: HTMLElement;
}
declare global {
interface Element {
ripple?: unknown;
}
interface Element {
ripple?: unknown;
}
}

@@ -21,4 +21,3 @@ /**

*/
export declare const rippleNode: (options: RippleNodeOptions) =>
MDCRippleFoundation;
export declare const rippleNode: (options: RippleNodeOptions) => MDCRippleFoundation;
/**

@@ -29,3 +28,2 @@ * A directive that applies a Material ripple to a part node. The directive

*/
export declare const ripple: (options?: RippleOptions) =>
(part: PropertyPart) => void;
export declare const ripple: (options?: RippleOptions) => (part: PropertyPart) => void;

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