@rmwc/line-ripple
Advanced tools
Comparing version 5.1.8 to 5.2.0-alpha.0
/// <reference types="react" /> | ||
import { MDCLineRippleFoundation } from '@material/line-ripple'; | ||
import { FoundationComponent } from '@rmwc/base'; | ||
@@ -7,8 +8,8 @@ export interface LineRippleProps { | ||
} | ||
export declare class LineRipple extends FoundationComponent<LineRippleProps> { | ||
export declare class LineRipple extends FoundationComponent<MDCLineRippleFoundation, LineRippleProps> { | ||
static displayName: string; | ||
private root; | ||
getDefaultFoundation(): any; | ||
getDefaultFoundation(): MDCLineRippleFoundation; | ||
sync(props: LineRippleProps, prevProps: LineRippleProps): void; | ||
render(): JSX.Element; | ||
} |
@@ -44,3 +44,2 @@ "use strict"; | ||
var React = __importStar(require("react")); | ||
// @ts-ignore | ||
var line_ripple_1 = require("@material/line-ripple"); | ||
@@ -64,8 +63,4 @@ var base_1 = require("@rmwc/base"); | ||
}, | ||
registerEventHandler: function (evtType, handler) { | ||
return _this.root.addEventListener(evtType, handler); | ||
}, | ||
deregisterEventHandler: function (evtType, handler) { | ||
return _this.root.removeEventListener(evtType, handler); | ||
} | ||
registerEventHandler: function (evtType, handler) { return _this.root.addEventListener(evtType, handler); }, | ||
deregisterEventHandler: function (evtType, handler) { return _this.root.removeEventListener(evtType, handler); } | ||
}); | ||
@@ -81,3 +76,4 @@ }; | ||
this.syncProp(props.center, prevProps.center, function () { | ||
_this.foundation.setRippleCenter(props.center); | ||
typeof props.center === 'number' && | ||
_this.foundation.setRippleCenter(props.center); | ||
}); | ||
@@ -84,0 +80,0 @@ }; |
/// <reference types="react" /> | ||
import { MDCLineRippleFoundation } from '@material/line-ripple'; | ||
import { FoundationComponent } from '@rmwc/base'; | ||
@@ -7,8 +8,8 @@ export interface LineRippleProps { | ||
} | ||
export declare class LineRipple extends FoundationComponent<LineRippleProps> { | ||
export declare class LineRipple extends FoundationComponent<MDCLineRippleFoundation, LineRippleProps> { | ||
static displayName: string; | ||
private root; | ||
getDefaultFoundation(): any; | ||
getDefaultFoundation(): MDCLineRippleFoundation; | ||
sync(props: LineRippleProps, prevProps: LineRippleProps): void; | ||
render(): JSX.Element; | ||
} |
@@ -35,3 +35,2 @@ var __extends = (this && this.__extends) || (function () { | ||
import * as React from 'react'; | ||
// @ts-ignore | ||
import { MDCLineRippleFoundation } from '@material/line-ripple'; | ||
@@ -55,8 +54,4 @@ import { FoundationComponent } from '@rmwc/base'; | ||
}, | ||
registerEventHandler: function (evtType, handler) { | ||
return _this.root.addEventListener(evtType, handler); | ||
}, | ||
deregisterEventHandler: function (evtType, handler) { | ||
return _this.root.removeEventListener(evtType, handler); | ||
} | ||
registerEventHandler: function (evtType, handler) { return _this.root.addEventListener(evtType, handler); }, | ||
deregisterEventHandler: function (evtType, handler) { return _this.root.removeEventListener(evtType, handler); } | ||
}); | ||
@@ -72,3 +67,4 @@ }; | ||
this.syncProp(props.center, prevProps.center, function () { | ||
_this.foundation.setRippleCenter(props.center); | ||
typeof props.center === 'number' && | ||
_this.foundation.setRippleCenter(props.center); | ||
}); | ||
@@ -75,0 +71,0 @@ }; |
{ | ||
"name": "@rmwc/line-ripple", | ||
"version": "5.1.8", | ||
"version": "5.2.0-alpha.0", | ||
"description": "RMWC LineRipple component", | ||
@@ -35,6 +35,7 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@material/line-ripple": "^0.43.0", | ||
"@rmwc/base": "^5.1.8" | ||
"@material/line-ripple": "^1.0.0", | ||
"@rmwc/base": "^5.2.0-alpha.0", | ||
"@rmwc/types": "^5.2.0-alpha.0" | ||
}, | ||
"gitHead": "41bbd3e5cb78bd672ee6a855b5407fbe37a7f815" | ||
"gitHead": "4ce7510f35995a6cca925926dd802b55be68b76c" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1890295
9
79391
5
2
1
+ Added@rmwc/types@^5.2.0-alpha.0
+ Added@material/animation@1.0.0(transitive)
+ Added@material/base@1.0.0(transitive)
+ Added@material/feature-targeting@0.44.1(transitive)
+ Added@material/line-ripple@1.1.0(transitive)
+ Added@material/theme@1.1.0(transitive)
+ Addedtslib@1.14.1(transitive)
- Removed@material/animation@0.41.0(transitive)
- Removed@material/base@0.41.0(transitive)
- Removed@material/line-ripple@0.43.0(transitive)
- Removed@material/theme@0.43.0(transitive)
Updated@material/line-ripple@^1.0.0
Updated@rmwc/base@^5.2.0-alpha.0