Comparing version 2.0.1 to 2.0.2
@@ -0,1 +1,7 @@ | ||
## 2.0.2 (Jan 12, 2021) | ||
### fix | ||
- fix lint error | ||
## 2.0.1 (Jan 12, 2021) | ||
@@ -2,0 +8,0 @@ |
@@ -393,3 +393,2 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
; | ||
export var Sankey = /*#__PURE__*/function (_PureComponent) { | ||
@@ -396,0 +395,0 @@ _inherits(Sankey, _PureComponent); |
@@ -417,4 +417,2 @@ "use strict"; | ||
; | ||
var Sankey = /*#__PURE__*/function (_PureComponent) { | ||
@@ -421,0 +419,0 @@ _inherits(Sankey, _PureComponent); |
{ | ||
"name": "recharts", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "React charts", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
@@ -31,4 +31,8 @@ import { | ||
export type DataKey<T> = string | number | ((obj: T) => any); | ||
export type PresentationAttributesWithProps<P, T> = AriaAttributes & DOMAttributesWithProps<P, T> & Omit<SVGProps<T>, keyof DOMAttributesWithProps<P, T>>; | ||
export type PresentationAttributesAdaptChildEvent<P, T> = AriaAttributes & DOMAttributesAdaptChildEvent<P, T> & Omit<SVGProps<T>, keyof DOMAttributesAdaptChildEvent<P, T>>; | ||
export type PresentationAttributesWithProps<P, T> = AriaAttributes & | ||
DOMAttributesWithProps<P, T> & | ||
Omit<SVGProps<T>, keyof DOMAttributesWithProps<P, T>>; | ||
export type PresentationAttributesAdaptChildEvent<P, T> = AriaAttributes & | ||
DOMAttributesAdaptChildEvent<P, T> & | ||
Omit<SVGProps<T>, keyof DOMAttributesAdaptChildEvent<P, T>>; | ||
@@ -329,3 +333,3 @@ export type SymbolType = 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye'; | ||
dangerouslySetInnerHTML?: { | ||
__html: string; | ||
__html: string; | ||
}; | ||
@@ -522,3 +526,3 @@ | ||
onTransitionEndCapture?: AdaptChildTransitionEventHandler<P, T>; | ||
} | ||
}; | ||
const SVGContainerPropKeys = ['viewBox', 'children']; | ||
@@ -525,0 +529,0 @@ const SVGElementPropKeys = [ |
@@ -9,3 +9,3 @@ import { ReactElement, SVGProps } from 'react'; | ||
} | ||
interface LabelList<T extends Data> { | ||
interface LabelListProps<T extends Data> { | ||
id?: string; | ||
@@ -18,6 +18,6 @@ data?: Array<T>; | ||
textBreakAll?: boolean; | ||
position?: LabelProps["position"]; | ||
position?: LabelProps['position']; | ||
angle?: number; | ||
} | ||
export declare type Props<T> = SVGProps<SVGElement> & LabelList<T>; | ||
export declare type Props<T> = SVGProps<SVGElement> & LabelListProps<T>; | ||
export declare type ImplicitLabelListType<T> = boolean | ReactElement<SVGElement> | ((props: any) => ReactElement<SVGElement>) | Props<T>; | ||
@@ -24,0 +24,0 @@ export declare function LabelList<T extends Data>(props: Props<T>): JSX.Element; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
11216037
117137