@material/mwc-ripple
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -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,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; | ||
} |
{ | ||
"name": "@material/mwc-ripple", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "", | ||
"main": "mwc-ripple.js", | ||
"module": "mwc-ripple.js", | ||
"repository": { | ||
@@ -25,3 +26,3 @@ "type": "git", | ||
}, | ||
"gitHead": "c8c5d01ad2103af63e3d7656b5d1acc5ccaa05db" | ||
"gitHead": "f8389e38b66e6261a8578f4a748efcb7367da176" | ||
} |
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,3 +21,4 @@ /** | ||
*/ | ||
export declare const rippleNode: (options: RippleNodeOptions) => MDCRippleFoundation; | ||
export declare const rippleNode: (options: RippleNodeOptions) => | ||
MDCRippleFoundation; | ||
/** | ||
@@ -28,2 +29,3 @@ * 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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
614
76792