@orderly.network/chart 3.0.0-beta.1 → 3.0.0-beta.10
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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -0
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from 'recharts/types/component/ResponsiveContainer';
|
|
3
|
-
export { Area, AreaChart, Bar, BarChart, Cell, Line, LineChart } from 'recharts';
|
|
3
|
+
export { Area, AreaChart, Bar, BarChart, Cell, Line, LineChart, ResponsiveContainer } from 'recharts';
|
|
4
4
|
import { PluginCreator } from 'tailwindcss/types/config';
|
|
5
5
|
|
|
6
6
|
type PnLChartDataItem = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from 'recharts/types/component/ResponsiveContainer';
|
|
3
|
-
export { Area, AreaChart, Bar, BarChart, Cell, Line, LineChart } from 'recharts';
|
|
3
|
+
export { Area, AreaChart, Bar, BarChart, Cell, Line, LineChart, ResponsiveContainer } from 'recharts';
|
|
4
4
|
import { PluginCreator } from 'tailwindcss/types/config';
|
|
5
5
|
|
|
6
6
|
type PnLChartDataItem = {
|
package/dist/index.js
CHANGED
|
@@ -1162,6 +1162,10 @@ Object.defineProperty(exports, "LineChart", {
|
|
|
1162
1162
|
enumerable: true,
|
|
1163
1163
|
get: function () { return recharts.LineChart; }
|
|
1164
1164
|
});
|
|
1165
|
+
Object.defineProperty(exports, "ResponsiveContainer", {
|
|
1166
|
+
enumerable: true,
|
|
1167
|
+
get: function () { return recharts.ResponsiveContainer; }
|
|
1168
|
+
});
|
|
1165
1169
|
exports.AssetAreaChart = AssetAreaChart;
|
|
1166
1170
|
exports.AssetLineChart = AssetLineChart;
|
|
1167
1171
|
exports.PnLBarChart = PnLBarChart;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef, useMemo, useId } from 'react';
|
|
2
2
|
import { ResponsiveContainer, BarChart, Tooltip, CartesianGrid, ReferenceLine, Bar, Cell, YAxis, XAxis, LineChart, Line, AreaChart, Area, Cross } from 'recharts';
|
|
3
|
-
export { Area, AreaChart, Bar, BarChart, Cell, Line, LineChart } from 'recharts';
|
|
3
|
+
export { Area, AreaChart, Bar, BarChart, Cell, Line, LineChart, ResponsiveContainer } from 'recharts';
|
|
4
4
|
import { useTranslation } from '@orderly.network/i18n';
|
|
5
5
|
import { cn, useScreen, Box, Flex, Text } from '@orderly.network/ui';
|
|
6
6
|
import { numberToHumanStyle } from '@orderly.network/utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orderly.network/chart",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.10",
|
|
4
4
|
"description": "Charting library for Orderly Network",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"react-dom": "^18.2.0",
|
|
24
24
|
"tailwindcss": "^3.4.4",
|
|
25
25
|
"tsup": "^8.5.1",
|
|
26
|
-
"tsconfig": "1.0.0-beta.
|
|
26
|
+
"tsconfig": "1.0.0-beta.10"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=18",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"d3-selection": "^3.0.0",
|
|
37
37
|
"d3-shape": "^3.2.0",
|
|
38
38
|
"recharts": "^2.12.7",
|
|
39
|
-
"@orderly.network/i18n": "3.0.0-beta.
|
|
40
|
-
"@orderly.network/utils": "3.0.0-beta.
|
|
41
|
-
"@orderly.network/ui": "3.0.0-beta.
|
|
39
|
+
"@orderly.network/i18n": "3.0.0-beta.10",
|
|
40
|
+
"@orderly.network/utils": "3.0.0-beta.10",
|
|
41
|
+
"@orderly.network/ui": "3.0.0-beta.10"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsup",
|