@react-financial-charts/utils
Advanced tools
Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.8
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.8](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2020-08-17) | ||
### Features | ||
* exporting props from components for docs ([fbdaea5](https://github.com/reactivemarkets/react-financial-charts/commit/fbdaea506730b091f4f8f6da52fc030b44d1a6e1)) | ||
# [1.0.0-alpha.4](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2020-07-19) | ||
@@ -8,0 +19,0 @@ |
import * as React from "react"; | ||
import { AutoSizerProps } from "react-virtualized-auto-sizer"; | ||
interface WithSizeProps { | ||
export interface WithSizeProps { | ||
readonly width: number; | ||
@@ -8,8 +8,8 @@ readonly height: number; | ||
export declare const withSize: (props?: Pick<AutoSizerProps, "style" | "className" | "defaultHeight" | "defaultWidth" | "disableHeight" | "disableWidth" | "nonce" | "onResize"> | undefined) => <TProps extends WithSizeProps>(OriginalComponent: React.ComponentClass<TProps, any>) => { | ||
new (props: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>): { | ||
new (props: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>): { | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callback?: (() => void) | undefined): void; | ||
readonly props: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>> & Readonly<{ | ||
readonly props: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>> & Readonly<{ | ||
children?: React.ReactNode; | ||
@@ -22,20 +22,20 @@ }>; | ||
componentDidMount?(): void; | ||
shouldComponentUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextState: Readonly<{}>, nextContext: any): boolean; | ||
shouldComponentUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextState: Readonly<{}>, nextContext: any): boolean; | ||
componentWillUnmount?(): void; | ||
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; | ||
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, prevState: Readonly<{}>): any; | ||
componentDidUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, prevState: Readonly<{}>, snapshot?: any): void; | ||
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, prevState: Readonly<{}>): any; | ||
componentDidUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, prevState: Readonly<{}>, snapshot?: any): void; | ||
componentWillMount?(): void; | ||
UNSAFE_componentWillMount?(): void; | ||
componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextContext: any): void; | ||
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextContext: any): void; | ||
componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextContext: any): void; | ||
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextContext: any): void; | ||
componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
}; | ||
new (props: Pick<TProps, Exclude<keyof TProps, "width" | "height">>, context?: any): { | ||
new (props: Pick<TProps, Exclude<keyof TProps, "height" | "width">>, context?: any): { | ||
render(): JSX.Element; | ||
context: any; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; | ||
forceUpdate(callback?: (() => void) | undefined): void; | ||
readonly props: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>> & Readonly<{ | ||
readonly props: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>> & Readonly<{ | ||
children?: React.ReactNode; | ||
@@ -48,16 +48,15 @@ }>; | ||
componentDidMount?(): void; | ||
shouldComponentUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextState: Readonly<{}>, nextContext: any): boolean; | ||
shouldComponentUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextState: Readonly<{}>, nextContext: any): boolean; | ||
componentWillUnmount?(): void; | ||
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; | ||
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, prevState: Readonly<{}>): any; | ||
componentDidUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, prevState: Readonly<{}>, snapshot?: any): void; | ||
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, prevState: Readonly<{}>): any; | ||
componentDidUpdate?(prevProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, prevState: Readonly<{}>, snapshot?: any): void; | ||
componentWillMount?(): void; | ||
UNSAFE_componentWillMount?(): void; | ||
componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextContext: any): void; | ||
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextContext: any): void; | ||
componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "width" | "height">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextContext: any): void; | ||
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextContext: any): void; | ||
componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<TProps, Exclude<keyof TProps, "height" | "width">>>, nextState: Readonly<{}>, nextContext: any): void; | ||
}; | ||
contextType?: React.Context<any> | undefined; | ||
}; | ||
export {}; |
{ | ||
"name": "@react-financial-charts/utils", | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0-alpha.8", | ||
"description": "Utils for react-financial-charts", | ||
@@ -48,3 +48,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "dfb0839bb7ebe20f32a51d547d3433ab2dd7001f" | ||
"gitHead": "fc4f25cf7ad3c460cc510a0d63fd5b1a1ad547b5" | ||
} |
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
19923
238