victory-canvas 36.6.3 → 36.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/es/index.d.ts +2 -2
- package/lib/index.d.ts +2 -2
- package/package.json +3 -3
- package/src/index.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# victory-canvas
|
|
2
2
|
|
|
3
|
+
## 36.6.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- victory-bar@36.6.6
|
|
9
|
+
- victory-core@36.6.6
|
|
10
|
+
|
|
11
|
+
## 36.6.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`6f4972123`](https://github.com/FormidableLabs/victory/commit/6f49721238332bb5ee879571a45b34a04e44d416)]:
|
|
16
|
+
- victory-core@36.6.5
|
|
17
|
+
- victory-bar@36.6.5
|
|
18
|
+
|
|
19
|
+
## 36.6.4
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Added explicit `any` type defs (fixes [#2358](https://github.com/FormidableLabs/victory/issues/2358)) ([`57ed0fe30`](https://github.com/FormidableLabs/victory/commit/57ed0fe304dbc8753da1126a02d44de8004e96aa))
|
|
24
|
+
|
|
25
|
+
* Allow data accessors to accept any data types (fixes [#2360](https://github.com/FormidableLabs/victory/issues/2360)) ([#2436](https://github.com/FormidableLabs/victory/pull/2436))
|
|
26
|
+
|
|
27
|
+
* Updated dependencies [[`9a6319cff`](https://github.com/FormidableLabs/victory/commit/9a6319cffbc480711b8c286dcae00575081170f0)]:
|
|
28
|
+
- victory-core@36.6.4
|
|
29
|
+
- victory-bar@36.6.4
|
|
30
|
+
|
|
3
31
|
## 36.6.3
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/es/index.d.ts
CHANGED
|
@@ -66,8 +66,8 @@ export class CanvasGroup extends React.Component<CanvasGroupProps, any> {}
|
|
|
66
66
|
|
|
67
67
|
export interface CanvasContextValue {
|
|
68
68
|
canvasRef: React.RefObject<HTMLCanvasElement>;
|
|
69
|
-
clear(ctx): void;
|
|
70
|
-
clip(ctx): void;
|
|
69
|
+
clear(ctx: CanvasRenderingContext2D): void;
|
|
70
|
+
clip(ctx: CanvasRenderingContext2D): void;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export const useCanvasContext: () => CanvasContextValue;
|
package/lib/index.d.ts
CHANGED
|
@@ -66,8 +66,8 @@ export class CanvasGroup extends React.Component<CanvasGroupProps, any> {}
|
|
|
66
66
|
|
|
67
67
|
export interface CanvasContextValue {
|
|
68
68
|
canvasRef: React.RefObject<HTMLCanvasElement>;
|
|
69
|
-
clear(ctx): void;
|
|
70
|
-
clip(ctx): void;
|
|
69
|
+
clear(ctx: CanvasRenderingContext2D): void;
|
|
70
|
+
clip(ctx: CanvasRenderingContext2D): void;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export const useCanvasContext: () => CanvasContextValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-canvas",
|
|
3
|
-
"version": "36.6.
|
|
3
|
+
"version": "36.6.6",
|
|
4
4
|
"description": "HTML5 Canvas Components for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
24
|
"prop-types": "^15.8.1",
|
|
25
|
-
"victory-bar": "^36.6.
|
|
26
|
-
"victory-core": "^36.6.
|
|
25
|
+
"victory-bar": "^36.6.6",
|
|
26
|
+
"victory-core": "^36.6.6"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|
package/src/index.d.ts
CHANGED
|
@@ -66,8 +66,8 @@ export class CanvasGroup extends React.Component<CanvasGroupProps, any> {}
|
|
|
66
66
|
|
|
67
67
|
export interface CanvasContextValue {
|
|
68
68
|
canvasRef: React.RefObject<HTMLCanvasElement>;
|
|
69
|
-
clear(ctx): void;
|
|
70
|
-
clip(ctx): void;
|
|
69
|
+
clear(ctx: CanvasRenderingContext2D): void;
|
|
70
|
+
clip(ctx: CanvasRenderingContext2D): void;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export const useCanvasContext: () => CanvasContextValue;
|