@visactor/react-vchart 1.4.2-beta.1 → 1.5.1-alpha.0
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/cjs/charts/BarChart.js +2 -1
- package/cjs/charts/ScatterChart.js +1 -2
- package/cjs/charts/WordCloudChart.js +2 -1
- package/cjs/components/MarkArea.js +1 -2
- package/cjs/context/stage.d.ts +1 -1
- package/cjs/context/stage.js.map +1 -1
- package/cjs/series/Link.js +1 -2
- package/cjs/series/Pie.js +2 -1
- package/esm/charts/BarChart.js +2 -1
- package/esm/charts/ScatterChart.js +1 -2
- package/esm/charts/WordCloudChart.js +2 -1
- package/esm/components/MarkArea.js +1 -2
- package/esm/context/stage.d.ts +1 -1
- package/esm/context/stage.js.map +1 -1
- package/esm/series/Link.js +1 -2
- package/esm/series/Pie.js +2 -1
- package/package.json +7 -6
package/cjs/charts/BarChart.js
CHANGED
|
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseChart_1 = require("./BaseChart");
|
|
8
8
|
|
|
9
|
-
exports.BarChart = (0, BaseChart_1.createChart)("BarChart", "bar");
|
|
9
|
+
exports.BarChart = (0, BaseChart_1.createChart)("BarChart", "bar");
|
|
10
|
+
//# sourceMappingURL=BarChart.js.map
|
|
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseChart_1 = require("./BaseChart");
|
|
8
8
|
|
|
9
|
-
exports.ScatterChart = (0, BaseChart_1.createChart)("ScatterChart", "scatter");
|
|
10
|
-
//# sourceMappingURL=ScatterChart.js.map
|
|
9
|
+
exports.ScatterChart = (0, BaseChart_1.createChart)("ScatterChart", "scatter");
|
|
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseChart_1 = require("./BaseChart");
|
|
8
8
|
|
|
9
|
-
exports.WordCloudChart = (0, BaseChart_1.createChart)("WordCloudChart", "wordCloud");
|
|
9
|
+
exports.WordCloudChart = (0, BaseChart_1.createChart)("WordCloudChart", "wordCloud");
|
|
10
|
+
//# sourceMappingURL=WordCloudChart.js.map
|
|
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseComponent_1 = require("./BaseComponent");
|
|
8
8
|
|
|
9
|
-
exports.MarkArea = (0, BaseComponent_1.createComponent)("MarkArea", "markArea");
|
|
10
|
-
//# sourceMappingURL=MarkArea.js.map
|
|
9
|
+
exports.MarkArea = (0, BaseComponent_1.createComponent)("MarkArea", "markArea");
|
package/cjs/context/stage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { Stage } from '@visactor/vrender';
|
|
2
|
+
import type { Stage } from '@visactor/vrender-core';
|
|
3
3
|
declare const StageContext: React.Context<Stage>;
|
|
4
4
|
export declare function withStage<T>(Component: typeof React.Component): React.ForwardRefExoticComponent<React.PropsWithoutRef<T> & React.RefAttributes<any>>;
|
|
5
5
|
export default StageContext;
|
package/cjs/context/stage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["context/stage.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAG1B,MAAM,YAAY,GAAG,eAAK,CAAC,aAAa,CAAQ,IAAI,CAAC,CAAC;AACtD,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,SAAgB,SAAS,CAAI,SAAiC;IAC5D,MAAM,GAAG,GAAG,eAAK,CAAC,UAAU,CAAS,CAAC,KAAQ,EAAE,GAAG,EAAE,EAAE;QACrD,OAAO,8BAAC,YAAY,CAAC,QAAQ,QAAE,GAAG,CAAC,EAAE,CAAC,8BAAC,SAAS,kBAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAM,KAAK,EAAI,CAAyB,CAAC;IAChH,CAAC,CAAC,CAAC;IACH,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC;IACjC,OAAO,GAAG,CAAC;AACb,CAAC;AAND,8BAMC;AAED,kBAAe,YAAY,CAAC","file":"stage.js","sourcesContent":["import React from 'react';\nimport type { Stage } from '@visactor/vrender';\n\nconst StageContext = React.createContext<Stage>(null);\nStageContext.displayName = 'StageContext';\n\nexport function withStage<T>(Component: typeof React.Component) {\n const Com = React.forwardRef<any, T>((props: T, ref) => {\n return <StageContext.Consumer>{ctx => <Component ref={ref} stage={ctx} {...props} />}</StageContext.Consumer>;\n });\n Com.displayName = Component.name;\n return Com;\n}\n\nexport default StageContext;\n"]}
|
|
1
|
+
{"version":3,"sources":["context/stage.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAG1B,MAAM,YAAY,GAAG,eAAK,CAAC,aAAa,CAAQ,IAAI,CAAC,CAAC;AACtD,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,SAAgB,SAAS,CAAI,SAAiC;IAC5D,MAAM,GAAG,GAAG,eAAK,CAAC,UAAU,CAAS,CAAC,KAAQ,EAAE,GAAG,EAAE,EAAE;QACrD,OAAO,8BAAC,YAAY,CAAC,QAAQ,QAAE,GAAG,CAAC,EAAE,CAAC,8BAAC,SAAS,kBAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAM,KAAK,EAAI,CAAyB,CAAC;IAChH,CAAC,CAAC,CAAC;IACH,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC;IACjC,OAAO,GAAG,CAAC;AACb,CAAC;AAND,8BAMC;AAED,kBAAe,YAAY,CAAC","file":"stage.js","sourcesContent":["import React from 'react';\nimport type { Stage } from '@visactor/vrender-core';\n\nconst StageContext = React.createContext<Stage>(null);\nStageContext.displayName = 'StageContext';\n\nexport function withStage<T>(Component: typeof React.Component) {\n const Com = React.forwardRef<any, T>((props: T, ref) => {\n return <StageContext.Consumer>{ctx => <Component ref={ref} stage={ctx} {...props} />}</StageContext.Consumer>;\n });\n Com.displayName = Component.name;\n return Com;\n}\n\nexport default StageContext;\n"]}
|
package/cjs/series/Link.js
CHANGED
|
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseSeries_1 = require("./BaseSeries");
|
|
8
8
|
|
|
9
|
-
exports.Link = (0, BaseSeries_1.createSeries)("Link", [ "link" ], "link");
|
|
10
|
-
//# sourceMappingURL=Link.js.map
|
|
9
|
+
exports.Link = (0, BaseSeries_1.createSeries)("Link", [ "link" ], "link");
|
package/cjs/series/Pie.js
CHANGED
|
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseSeries_1 = require("./BaseSeries");
|
|
8
8
|
|
|
9
|
-
exports.Pie = (0, BaseSeries_1.createSeries)("Pie", [ "pie" ], "pie");
|
|
9
|
+
exports.Pie = (0, BaseSeries_1.createSeries)("Pie", [ "pie" ], "pie");
|
|
10
|
+
//# sourceMappingURL=Pie.js.map
|
package/esm/charts/BarChart.js
CHANGED
package/esm/context/stage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { Stage } from '@visactor/vrender';
|
|
2
|
+
import type { Stage } from '@visactor/vrender-core';
|
|
3
3
|
declare const StageContext: React.Context<Stage>;
|
|
4
4
|
export declare function withStage<T>(Component: typeof React.Component): React.ForwardRefExoticComponent<React.PropsWithoutRef<T> & React.RefAttributes<any>>;
|
|
5
5
|
export default StageContext;
|
package/esm/context/stage.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["context/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,YAAY,GAAG,KAAK,CAAC,aAAa,CAAQ,IAAI,CAAC,CAAC;AACtD,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,MAAM,UAAU,SAAS,CAAI,SAAiC;IAC5D,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAS,CAAC,KAAQ,EAAE,GAAG,EAAE,EAAE;QACrD,OAAO,oBAAC,YAAY,CAAC,QAAQ,QAAE,GAAG,CAAC,EAAE,CAAC,oBAAC,SAAS,kBAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAM,KAAK,EAAI,CAAyB,CAAC;IAChH,CAAC,CAAC,CAAC;IACH,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC;IACjC,OAAO,GAAG,CAAC;AACb,CAAC;AAED,eAAe,YAAY,CAAC","file":"stage.js","sourcesContent":["import React from 'react';\nimport type { Stage } from '@visactor/vrender';\n\nconst StageContext = React.createContext<Stage>(null);\nStageContext.displayName = 'StageContext';\n\nexport function withStage<T>(Component: typeof React.Component) {\n const Com = React.forwardRef<any, T>((props: T, ref) => {\n return <StageContext.Consumer>{ctx => <Component ref={ref} stage={ctx} {...props} />}</StageContext.Consumer>;\n });\n Com.displayName = Component.name;\n return Com;\n}\n\nexport default StageContext;\n"]}
|
|
1
|
+
{"version":3,"sources":["context/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,YAAY,GAAG,KAAK,CAAC,aAAa,CAAQ,IAAI,CAAC,CAAC;AACtD,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,MAAM,UAAU,SAAS,CAAI,SAAiC;IAC5D,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAS,CAAC,KAAQ,EAAE,GAAG,EAAE,EAAE;QACrD,OAAO,oBAAC,YAAY,CAAC,QAAQ,QAAE,GAAG,CAAC,EAAE,CAAC,oBAAC,SAAS,kBAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAM,KAAK,EAAI,CAAyB,CAAC;IAChH,CAAC,CAAC,CAAC;IACH,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC;IACjC,OAAO,GAAG,CAAC;AACb,CAAC;AAED,eAAe,YAAY,CAAC","file":"stage.js","sourcesContent":["import React from 'react';\nimport type { Stage } from '@visactor/vrender-core';\n\nconst StageContext = React.createContext<Stage>(null);\nStageContext.displayName = 'StageContext';\n\nexport function withStage<T>(Component: typeof React.Component) {\n const Com = React.forwardRef<any, T>((props: T, ref) => {\n return <StageContext.Consumer>{ctx => <Component ref={ref} stage={ctx} {...props} />}</StageContext.Consumer>;\n });\n Com.displayName = Component.name;\n return Com;\n}\n\nexport default StageContext;\n"]}
|
package/esm/series/Link.js
CHANGED
package/esm/series/Pie.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/react-vchart",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1-alpha.0",
|
|
4
4
|
"description": "The react version of VChart 4.x",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -22,10 +22,11 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@visactor/vchart": "1.
|
|
25
|
+
"@visactor/vchart": "1.5.1-alpha.0",
|
|
26
26
|
"@visactor/vutils": "~0.16.1",
|
|
27
|
-
"@visactor/
|
|
28
|
-
"@visactor/vrender": "~0.
|
|
27
|
+
"@visactor/vrender-core": "~0.16.0",
|
|
28
|
+
"@visactor/vrender-kits": "~0.16.0",
|
|
29
|
+
"@visactor/vgrammar-core": "~0.7.7-alpha.2",
|
|
29
30
|
"react-is": "^18.2.0"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
@@ -52,9 +53,9 @@
|
|
|
52
53
|
"@types/node": "*",
|
|
53
54
|
"@vitejs/plugin-react": "3.1.0",
|
|
54
55
|
"vite": "3.2.6",
|
|
56
|
+
"@internal/ts-config": "0.0.1",
|
|
55
57
|
"@internal/bundler": "0.0.1",
|
|
56
|
-
"@internal/eslint-config": "0.0.1"
|
|
57
|
-
"@internal/ts-config": "0.0.1"
|
|
58
|
+
"@internal/eslint-config": "0.0.1"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
|
60
61
|
"react": ">=16.0.0",
|