@rmwc/base
Advanced tools
Comparing version 3.0.9 to 3.0.10
@@ -14,11 +14,3 @@ import * as React from 'react'; | ||
remove(propName: any): void; | ||
all(mergeProps?: Object): { | ||
constructor: Function; | ||
toString(): string; | ||
toLocaleString(): string; | ||
valueOf(): Object; | ||
hasOwnProperty(v: string | number | symbol): boolean; | ||
isPrototypeOf(v: Object): boolean; | ||
propertyIsEnumerable(v: string | number | symbol): boolean; | ||
}; | ||
all(mergeProps?: Object): {}; | ||
get(attr: string): any; | ||
@@ -41,5 +33,5 @@ addEventListener(evtName: any, callback: any): void; | ||
componentDidMount(): void; | ||
componentDidUpdate(): void; | ||
componentDidUpdate(prevProps: FoundationPropsT<P>): void; | ||
componentWillUnmount(): void; | ||
sync(props: any): void; | ||
sync(props: any, prevProps?: any): void; | ||
getDefaultFoundation(): void; | ||
@@ -46,0 +38,0 @@ /** |
@@ -181,4 +181,4 @@ 'use strict'; | ||
key: 'componentDidUpdate', | ||
value: function componentDidUpdate() { | ||
this.sync(this.props); | ||
value: function componentDidUpdate(prevProps) { | ||
this.sync(this.props, prevProps); | ||
} | ||
@@ -194,3 +194,3 @@ }, { | ||
key: 'sync', | ||
value: function sync(props) {} | ||
value: function sync(props, prevProps) {} | ||
}, { | ||
@@ -197,0 +197,0 @@ key: 'getDefaultFoundation', |
{ | ||
"name": "@rmwc/base", | ||
"version": "3.0.9", | ||
"version": "3.0.10", | ||
"description": "RMWC base module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,3 +12,2 @@ import * as React from 'react'; | ||
state: Readonly<{}>; | ||
context: any; | ||
refs: { | ||
@@ -18,2 +17,3 @@ [key: string]: React.ReactInstance; | ||
}; | ||
contextType?: React.Context<any> | undefined; | ||
}; |
@@ -54,3 +54,2 @@ import { SimpleTagPropsT } from './simpleTag'; | ||
state: Readonly<{}>; | ||
context: any; | ||
refs: { | ||
@@ -60,3 +59,4 @@ [key: string]: React.ReactInstance; | ||
}; | ||
contextType?: React.Context<any> | undefined; | ||
}; | ||
export {}; |
Sorry, the diff of this file is not supported yet
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
703922
19414