@rmwc/ripple
Advanced tools
Comparing version 6.0.14 to 6.1.1
import React from 'react'; | ||
import { RippleProps } from './'; | ||
export declare const useRippleFoundation: (props: RippleProps & React.HTMLProps<any> & { | ||
domNode?: Element | undefined; | ||
domNode?: Element; | ||
}) => { | ||
@@ -6,0 +6,0 @@ rootEl: import("@rmwc/base").FoundationElement<any, HTMLElement>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useRippleFoundation = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var react_1 = require("react"); |
@@ -41,3 +41,3 @@ import * as RMWC from '@rmwc/types'; | ||
*/ | ||
export declare const withRipple: ({ unbounded: defaultUnbounded, accent: defaultAccent, surface: defaultSurface }?: WithRippleOpts) => <P extends any, C extends React.ComponentType<P>>(Component: C) => C; | ||
export declare const withRipple: ({ unbounded: defaultUnbounded, accent: defaultAccent, surface: defaultSurface }?: WithRippleOpts) => <P extends unknown, C extends React.ComponentType<P>>(Component: C) => C; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.withRipple = exports.RippleSurface = exports.Ripple = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -12,2 +13,3 @@ var react_1 = tslib_1.__importDefault(require("react")); | ||
var withDomNode = function () { return function (Component) { | ||
// @ts-ignore | ||
return /** @class */ (function (_super) { | ||
@@ -14,0 +16,0 @@ tslib_1.__extends(class_1, _super); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.galleryExample = void 0; | ||
var tslib_1 = require("tslib"); | ||
@@ -4,0 +5,0 @@ var react_1 = tslib_1.__importDefault(require("react")); |
import React from 'react'; | ||
import { RippleProps } from './'; | ||
export declare const useRippleFoundation: (props: RippleProps & React.HTMLProps<any> & { | ||
domNode?: Element | undefined; | ||
domNode?: Element; | ||
}) => { | ||
@@ -6,0 +6,0 @@ rootEl: import("@rmwc/base").FoundationElement<any, HTMLElement>; |
@@ -41,3 +41,3 @@ import * as RMWC from '@rmwc/types'; | ||
*/ | ||
export declare const withRipple: ({ unbounded: defaultUnbounded, accent: defaultAccent, surface: defaultSurface }?: WithRippleOpts) => <P extends any, C extends React.ComponentType<P>>(Component: C) => C; | ||
export declare const withRipple: ({ unbounded: defaultUnbounded, accent: defaultAccent, surface: defaultSurface }?: WithRippleOpts) => <P extends unknown, C extends React.ComponentType<P>>(Component: C) => C; | ||
export {}; |
@@ -10,2 +10,3 @@ import { __assign, __extends, __rest } from "tslib"; | ||
var withDomNode = function () { return function (Component) { | ||
// @ts-ignore | ||
return /** @class */ (function (_super) { | ||
@@ -12,0 +13,0 @@ __extends(class_1, _super); |
{ | ||
"name": "@rmwc/ripple", | ||
"version": "6.0.14", | ||
"version": "6.1.1", | ||
"description": "RMWC Ripple component", | ||
@@ -44,3 +44,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "4ee07fdccaec6eae22a6adf9c3232d809492bafd" | ||
"gitHead": "d9befec0e3b258864b71686eecd16c16feb43cf1" | ||
} |
# Ripples | ||
> MDC Ripple provides the JavaScript and CSS required to provide components (or any element at all) with a material “ink ripple” interaction effect. It is designed to be efficient, uninvasive, and usable without adding any extra DOM to your elements. | ||
MDC Ripple provides the JavaScript and CSS required to provide components (or any element at all) with a material “ink ripple” interaction effect. It is designed to be efficient, uninvasive, and usable without adding any extra DOM to your elements. | ||
@@ -5,0 +5,0 @@ - Module **@rmwc/ripple** |
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
37917
697