@material/mwc-ripple
Advanced tools
Comparing version 0.9.1 to 0.10.0
@@ -17,12 +17,12 @@ /** | ||
*/ | ||
import {LitElement} from 'lit-element'; | ||
import { LitElement } from 'lit-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-element').TemplateResult; | ||
primary: boolean; | ||
active: boolean | undefined; | ||
accent: boolean; | ||
unbounded: boolean; | ||
disabled: boolean; | ||
protected interactionNode: HTMLElement; | ||
connectedCallback(): void; | ||
protected render(): import("lit-element").TemplateResult; | ||
} |
@@ -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.9.1", | ||
"version": "0.10.0", | ||
"description": "", | ||
@@ -19,3 +19,3 @@ "main": "mwc-ripple.js", | ||
"@material/dom": "=4.0.0-canary.e851d4f40.0", | ||
"@material/mwc-base": "^0.9.1", | ||
"@material/mwc-base": "^0.10.0", | ||
"@material/ripple": "=4.0.0-canary.e851d4f40.0", | ||
@@ -29,3 +29,3 @@ "lit-element": "^2.2.1", | ||
}, | ||
"gitHead": "2b2676d71b8d393aa61348cb8e3d9ed03dd8dc08" | ||
"gitHead": "631e70e3a39330ccade8210d1a72edc0f22ddc0a" | ||
} |
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; |
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
75700
604
+ Added@material/mwc-base@0.10.0(transitive)
- Removed@material/mwc-base@0.9.1(transitive)
Updated@material/mwc-base@^0.10.0