@yamada-ui/charts 1.5.4-next-20241005220055 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/area-chart-gradient.d.mts +2 -2
- package/dist/area-chart-gradient.d.ts +2 -2
- package/dist/area-chart-gradient.js +7 -5
- package/dist/area-chart-gradient.js.map +1 -1
- package/dist/area-chart-gradient.mjs +1 -1
- package/dist/area-chart-split.d.mts +2 -2
- package/dist/area-chart-split.d.ts +2 -2
- package/dist/area-chart-split.js +4 -2
- package/dist/area-chart-split.js.map +1 -1
- package/dist/area-chart-split.mjs +1 -1
- package/dist/area-chart.d.mts +8 -8
- package/dist/area-chart.d.ts +8 -8
- package/dist/area-chart.js +190 -175
- package/dist/area-chart.js.map +1 -1
- package/dist/area-chart.mjs +13 -13
- package/dist/bar-chart.d.mts +8 -8
- package/dist/bar-chart.d.ts +8 -8
- package/dist/bar-chart.js +143 -127
- package/dist/bar-chart.js.map +1 -1
- package/dist/bar-chart.mjs +11 -11
- package/dist/chart-legend.d.mts +1 -1
- package/dist/chart-legend.d.ts +1 -1
- package/dist/chart-legend.js +4 -2
- package/dist/chart-legend.js.map +1 -1
- package/dist/chart-legend.mjs +3 -3
- package/dist/chart-tooltip.d.mts +4 -4
- package/dist/chart-tooltip.d.ts +4 -4
- package/dist/chart-tooltip.js +9 -7
- package/dist/chart-tooltip.js.map +1 -1
- package/dist/chart-tooltip.mjs +3 -3
- package/dist/chart-utils.js.map +1 -1
- package/dist/chart-utils.mjs +1 -1
- package/dist/chart.types.d.mts +14 -14
- package/dist/chart.types.d.ts +14 -14
- package/dist/chart.types.js.map +1 -1
- package/dist/{chunk-UANITMH7.mjs → chunk-5VLSGWQD.mjs} +10 -8
- package/dist/chunk-5VLSGWQD.mjs.map +1 -0
- package/dist/{chunk-XYUYAHJX.mjs → chunk-6JRMEI6J.mjs} +2 -2
- package/dist/chunk-6JRMEI6J.mjs.map +1 -0
- package/dist/{chunk-VKBRU4Z4.mjs → chunk-AYVTBRCS.mjs} +29 -28
- package/dist/chunk-AYVTBRCS.mjs.map +1 -0
- package/dist/{chunk-6O5G3WYP.mjs → chunk-EZG52466.mjs} +29 -21
- package/dist/chunk-EZG52466.mjs.map +1 -0
- package/dist/{chunk-VEFEKDMH.mjs → chunk-FDALM73K.mjs} +15 -14
- package/dist/chunk-FDALM73K.mjs.map +1 -0
- package/dist/{chunk-2GQHI23M.mjs → chunk-GU4SGNWX.mjs} +5 -5
- package/dist/chunk-GU4SGNWX.mjs.map +1 -0
- package/dist/{chunk-MVRWZTQ5.mjs → chunk-NLXYCM5J.mjs} +2 -2
- package/dist/chunk-NLXYCM5J.mjs.map +1 -0
- package/dist/{chunk-EXBYAVSP.mjs → chunk-NMPNNSBN.mjs} +76 -74
- package/dist/chunk-NMPNNSBN.mjs.map +1 -0
- package/dist/{chunk-AL4MDJ4U.mjs → chunk-NQPC5LPY.mjs} +84 -82
- package/dist/chunk-NQPC5LPY.mjs.map +1 -0
- package/dist/{chunk-MN7T76SY.mjs → chunk-OG5CVPPV.mjs} +5 -3
- package/dist/chunk-OG5CVPPV.mjs.map +1 -0
- package/dist/{chunk-LLOU2WIV.mjs → chunk-OUIKA4AX.mjs} +5 -3
- package/dist/chunk-OUIKA4AX.mjs.map +1 -0
- package/dist/{chunk-3EHZJFIA.mjs → chunk-PKQB4BFG.mjs} +28 -28
- package/dist/chunk-PKQB4BFG.mjs.map +1 -0
- package/dist/{chunk-C3ZYUDXE.mjs → chunk-QPMW56KA.mjs} +52 -48
- package/dist/chunk-QPMW56KA.mjs.map +1 -0
- package/dist/{chunk-IJRYXT4V.mjs → chunk-R2LOTDR3.mjs} +2 -2
- package/dist/{chunk-IJRYXT4V.mjs.map → chunk-R2LOTDR3.mjs.map} +1 -1
- package/dist/{chunk-LSCPL7PM.mjs → chunk-SCY5V45W.mjs} +58 -56
- package/dist/chunk-SCY5V45W.mjs.map +1 -0
- package/dist/{chunk-VGNCWS23.mjs → chunk-SYBJTMPL.mjs} +92 -90
- package/dist/chunk-SYBJTMPL.mjs.map +1 -0
- package/dist/{chunk-ZGXEF3LO.mjs → chunk-TA7YJAW4.mjs} +49 -47
- package/dist/chunk-TA7YJAW4.mjs.map +1 -0
- package/dist/{chunk-O3LMKYXK.mjs → chunk-TU6MKMMV.mjs} +29 -28
- package/dist/chunk-TU6MKMMV.mjs.map +1 -0
- package/dist/{chunk-QL3DB7OJ.mjs → chunk-TXNC7GLT.mjs} +1 -1
- package/dist/{chunk-QL3DB7OJ.mjs.map → chunk-TXNC7GLT.mjs.map} +1 -1
- package/dist/{chunk-NHHJ5XFF.mjs → chunk-U325CYNR.mjs} +8 -6
- package/dist/chunk-U325CYNR.mjs.map +1 -0
- package/dist/{chunk-OPPMMNGP.mjs → chunk-UER5GW4M.mjs} +33 -24
- package/dist/chunk-UER5GW4M.mjs.map +1 -0
- package/dist/{chunk-FYAC4RRZ.mjs → chunk-UTD4XZDM.mjs} +11 -10
- package/dist/chunk-UTD4XZDM.mjs.map +1 -0
- package/dist/{chunk-A3IWA366.mjs → chunk-VK65X6Q2.mjs} +4 -4
- package/dist/chunk-VK65X6Q2.mjs.map +1 -0
- package/dist/{chunk-OJ2MLZZ7.mjs → chunk-X6PIY2M3.mjs} +7 -7
- package/dist/chunk-X6PIY2M3.mjs.map +1 -0
- package/dist/{chunk-MSG3WFBO.mjs → chunk-YIAK5DIM.mjs} +7 -6
- package/dist/chunk-YIAK5DIM.mjs.map +1 -0
- package/dist/{chunk-ZXBE4ERW.mjs → chunk-YTUEG4IY.mjs} +47 -45
- package/dist/chunk-YTUEG4IY.mjs.map +1 -0
- package/dist/{chunk-VUTCH2CU.mjs → chunk-YX23LEQ7.mjs} +13 -13
- package/dist/chunk-YX23LEQ7.mjs.map +1 -0
- package/dist/{chunk-BQT5TIKZ.mjs → chunk-ZRV4LO67.mjs} +44 -42
- package/dist/chunk-ZRV4LO67.mjs.map +1 -0
- package/dist/donut-chart.js +97 -89
- package/dist/donut-chart.js.map +1 -1
- package/dist/donut-chart.mjs +10 -10
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +2084 -2036
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -28
- package/dist/index.mjs.map +1 -1
- package/dist/line-chart.d.mts +7 -7
- package/dist/line-chart.d.ts +7 -7
- package/dist/line-chart.js +146 -138
- package/dist/line-chart.js.map +1 -1
- package/dist/line-chart.mjs +11 -11
- package/dist/pie-chart-label.d.mts +9 -9
- package/dist/pie-chart-label.d.ts +9 -9
- package/dist/pie-chart-label.js +14 -13
- package/dist/pie-chart-label.js.map +1 -1
- package/dist/pie-chart-label.mjs +1 -1
- package/dist/pie-chart.d.mts +11 -11
- package/dist/pie-chart.d.ts +11 -11
- package/dist/pie-chart.js +95 -87
- package/dist/pie-chart.js.map +1 -1
- package/dist/pie-chart.mjs +9 -9
- package/dist/radar-chart.d.mts +11 -11
- package/dist/radar-chart.d.ts +11 -11
- package/dist/radar-chart.js +87 -73
- package/dist/radar-chart.js.map +1 -1
- package/dist/radar-chart.mjs +9 -9
- package/dist/radial-chart.d.mts +10 -10
- package/dist/radial-chart.d.ts +10 -10
- package/dist/radial-chart.js +69 -62
- package/dist/radial-chart.js.map +1 -1
- package/dist/radial-chart.mjs +10 -10
- package/dist/use-area-chart.d.mts +53 -53
- package/dist/use-area-chart.d.ts +53 -53
- package/dist/use-area-chart.js +50 -46
- package/dist/use-area-chart.js.map +1 -1
- package/dist/use-area-chart.mjs +2 -2
- package/dist/use-bar-chart.d.mts +32 -32
- package/dist/use-bar-chart.d.ts +32 -32
- package/dist/use-bar-chart.js +30 -21
- package/dist/use-bar-chart.js.map +1 -1
- package/dist/use-bar-chart.mjs +2 -2
- package/dist/use-chart-axis.d.mts +27 -27
- package/dist/use-chart-axis.d.ts +27 -27
- package/dist/use-chart-axis.js +26 -26
- package/dist/use-chart-axis.js.map +1 -1
- package/dist/use-chart-axis.mjs +2 -2
- package/dist/use-chart-grid.d.mts +8 -8
- package/dist/use-chart-grid.d.ts +8 -8
- package/dist/use-chart-grid.js +3 -3
- package/dist/use-chart-grid.js.map +1 -1
- package/dist/use-chart-grid.mjs +2 -2
- package/dist/use-chart-label-list.d.mts +4 -4
- package/dist/use-chart-label-list.d.ts +4 -4
- package/dist/use-chart-label-list.js +5 -4
- package/dist/use-chart-label-list.js.map +1 -1
- package/dist/use-chart-label-list.mjs +2 -2
- package/dist/use-chart-label.d.mts +1 -1
- package/dist/use-chart-label.d.ts +1 -1
- package/dist/use-chart-label.js.map +1 -1
- package/dist/use-chart-label.mjs +2 -2
- package/dist/use-chart-legend.d.mts +1 -1
- package/dist/use-chart-legend.d.ts +1 -1
- package/dist/use-chart-legend.js +1 -1
- package/dist/use-chart-legend.js.map +1 -1
- package/dist/use-chart-legend.mjs +1 -1
- package/dist/use-chart-reference-line.d.mts +4 -4
- package/dist/use-chart-reference-line.d.ts +4 -4
- package/dist/use-chart-reference-line.js +8 -7
- package/dist/use-chart-reference-line.js.map +1 -1
- package/dist/use-chart-reference-line.mjs +2 -2
- package/dist/use-chart-tooltip.d.mts +7 -7
- package/dist/use-chart-tooltip.d.ts +7 -7
- package/dist/use-chart-tooltip.js +4 -4
- package/dist/use-chart-tooltip.js.map +1 -1
- package/dist/use-chart-tooltip.mjs +2 -2
- package/dist/use-chart.d.mts +6 -10
- package/dist/use-chart.d.ts +6 -10
- package/dist/use-chart.js +2 -2
- package/dist/use-chart.js.map +1 -1
- package/dist/use-chart.mjs +2 -2
- package/dist/use-line-chart.d.mts +43 -43
- package/dist/use-line-chart.d.ts +43 -43
- package/dist/use-line-chart.js +26 -25
- package/dist/use-line-chart.js.map +1 -1
- package/dist/use-line-chart.mjs +2 -2
- package/dist/use-pie-chart.d.mts +47 -47
- package/dist/use-pie-chart.d.ts +47 -47
- package/dist/use-pie-chart.js +40 -38
- package/dist/use-pie-chart.js.map +1 -1
- package/dist/use-pie-chart.mjs +3 -3
- package/dist/use-polar-grid.d.mts +5 -5
- package/dist/use-polar-grid.d.ts +5 -5
- package/dist/use-polar-grid.js.map +1 -1
- package/dist/use-polar-grid.mjs +2 -2
- package/dist/use-radar-chart.d.mts +41 -41
- package/dist/use-radar-chart.d.ts +41 -41
- package/dist/use-radar-chart.js +27 -19
- package/dist/use-radar-chart.js.map +1 -1
- package/dist/use-radar-chart.mjs +2 -2
- package/dist/use-radial-chart.d.mts +17 -17
- package/dist/use-radial-chart.d.ts +17 -17
- package/dist/use-radial-chart.js +11 -11
- package/dist/use-radial-chart.js.map +1 -1
- package/dist/use-radial-chart.mjs +2 -2
- package/package.json +3 -3
- package/dist/chunk-2GQHI23M.mjs.map +0 -1
- package/dist/chunk-3EHZJFIA.mjs.map +0 -1
- package/dist/chunk-6O5G3WYP.mjs.map +0 -1
- package/dist/chunk-A3IWA366.mjs.map +0 -1
- package/dist/chunk-AL4MDJ4U.mjs.map +0 -1
- package/dist/chunk-BQT5TIKZ.mjs.map +0 -1
- package/dist/chunk-C3ZYUDXE.mjs.map +0 -1
- package/dist/chunk-EXBYAVSP.mjs.map +0 -1
- package/dist/chunk-FYAC4RRZ.mjs.map +0 -1
- package/dist/chunk-LLOU2WIV.mjs.map +0 -1
- package/dist/chunk-LSCPL7PM.mjs.map +0 -1
- package/dist/chunk-MN7T76SY.mjs.map +0 -1
- package/dist/chunk-MSG3WFBO.mjs.map +0 -1
- package/dist/chunk-MVRWZTQ5.mjs.map +0 -1
- package/dist/chunk-NHHJ5XFF.mjs.map +0 -1
- package/dist/chunk-O3LMKYXK.mjs.map +0 -1
- package/dist/chunk-OJ2MLZZ7.mjs.map +0 -1
- package/dist/chunk-OPPMMNGP.mjs.map +0 -1
- package/dist/chunk-UANITMH7.mjs.map +0 -1
- package/dist/chunk-VEFEKDMH.mjs.map +0 -1
- package/dist/chunk-VGNCWS23.mjs.map +0 -1
- package/dist/chunk-VKBRU4Z4.mjs.map +0 -1
- package/dist/chunk-VUTCH2CU.mjs.map +0 -1
- package/dist/chunk-XYUYAHJX.mjs.map +0 -1
- package/dist/chunk-ZGXEF3LO.mjs.map +0 -1
- package/dist/chunk-ZXBE4ERW.mjs.map +0 -1
package/dist/index.mjs
CHANGED
@@ -1,47 +1,47 @@
|
|
1
1
|
"use client"
|
2
2
|
import {
|
3
3
|
DonutChart
|
4
|
-
} from "./chunk-
|
5
|
-
import "./chunk-
|
4
|
+
} from "./chunk-YTUEG4IY.mjs";
|
5
|
+
import "./chunk-NLXYCM5J.mjs";
|
6
6
|
import {
|
7
7
|
LineChart
|
8
|
-
} from "./chunk-
|
9
|
-
import "./chunk-
|
8
|
+
} from "./chunk-NQPC5LPY.mjs";
|
9
|
+
import "./chunk-AYVTBRCS.mjs";
|
10
10
|
import {
|
11
11
|
PieChart
|
12
|
-
} from "./chunk-
|
13
|
-
import "./chunk-
|
14
|
-
import "./chunk-
|
12
|
+
} from "./chunk-ZRV4LO67.mjs";
|
13
|
+
import "./chunk-TU6MKMMV.mjs";
|
14
|
+
import "./chunk-FDALM73K.mjs";
|
15
15
|
import {
|
16
16
|
RadarChart
|
17
|
-
} from "./chunk-
|
18
|
-
import "./chunk-
|
17
|
+
} from "./chunk-SCY5V45W.mjs";
|
18
|
+
import "./chunk-EZG52466.mjs";
|
19
19
|
import {
|
20
20
|
RadialChart
|
21
|
-
} from "./chunk-
|
22
|
-
import "./chunk-
|
23
|
-
import "./chunk-
|
24
|
-
import "./chunk-
|
21
|
+
} from "./chunk-TA7YJAW4.mjs";
|
22
|
+
import "./chunk-YX23LEQ7.mjs";
|
23
|
+
import "./chunk-YIAK5DIM.mjs";
|
24
|
+
import "./chunk-6JRMEI6J.mjs";
|
25
25
|
import {
|
26
26
|
AreaChart
|
27
|
-
} from "./chunk-
|
28
|
-
import "./chunk-
|
29
|
-
import "./chunk-
|
30
|
-
import "./chunk-
|
27
|
+
} from "./chunk-SYBJTMPL.mjs";
|
28
|
+
import "./chunk-QPMW56KA.mjs";
|
29
|
+
import "./chunk-U325CYNR.mjs";
|
30
|
+
import "./chunk-OG5CVPPV.mjs";
|
31
31
|
import {
|
32
32
|
BarChart
|
33
|
-
} from "./chunk-
|
34
|
-
import "./chunk-
|
35
|
-
import "./chunk-
|
36
|
-
import "./chunk-
|
37
|
-
import "./chunk-
|
38
|
-
import "./chunk-
|
39
|
-
import "./chunk-
|
40
|
-
import "./chunk-
|
41
|
-
import "./chunk-
|
42
|
-
import "./chunk-
|
33
|
+
} from "./chunk-NMPNNSBN.mjs";
|
34
|
+
import "./chunk-UER5GW4M.mjs";
|
35
|
+
import "./chunk-PKQB4BFG.mjs";
|
36
|
+
import "./chunk-GU4SGNWX.mjs";
|
37
|
+
import "./chunk-UTD4XZDM.mjs";
|
38
|
+
import "./chunk-X6PIY2M3.mjs";
|
39
|
+
import "./chunk-R2LOTDR3.mjs";
|
40
|
+
import "./chunk-OUIKA4AX.mjs";
|
41
|
+
import "./chunk-5VLSGWQD.mjs";
|
42
|
+
import "./chunk-VK65X6Q2.mjs";
|
43
43
|
import "./chunk-6YUJLLGN.mjs";
|
44
|
-
import "./chunk-
|
44
|
+
import "./chunk-TXNC7GLT.mjs";
|
45
45
|
|
46
46
|
// src/index.ts
|
47
47
|
import { Cell } from "recharts";
|
package/dist/index.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { AreaChart } from \"./area-chart\"\nexport type { AreaChartProps } from \"./area-chart\"\nexport { BarChart } from \"./bar-chart\"\nexport type { BarChartProps } from \"./bar-chart\"\nexport type {\n AreaChartType,\n AreaProps,\n BarChartType,\n BarProps,\n CellProps,\n ChartAxisType,\n ChartCurveType,\n ChartLabel,\n ChartLabelProps,\n ChartLayoutType,\n ChartTooltip,\n ChartTooltipProps,\n DotProps,\n LineProps,\n RadarProps,\n TooltipDataSourceType,\n} from \"./chart.types\"\nexport { DonutChart } from \"./donut-chart\"\nexport type { DonutChartProps } from \"./donut-chart\"\nexport { LineChart } from \"./line-chart\"\nexport type { LineChartProps } from \"./line-chart\"\nexport { PieChart } from \"./pie-chart\"\nexport type { PieChartProps } from \"./pie-chart\"\nexport { RadarChart } from \"./radar-chart\"\nexport type { RadarChartProps } from \"./radar-chart\"\nexport { RadialChart } from \"./radial-chart\"\nexport type { RadialChartProps } from \"./radial-chart\"\nexport type { BarCellProps } from \"./use-bar-chart\"\nexport { Cell as ChartCell } from \"recharts\"\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,SAAiB,YAAiB;","names":[]}
|
package/dist/line-chart.d.mts
CHANGED
@@ -14,20 +14,20 @@ import '@yamada-ui/utils';
|
|
14
14
|
import 'recharts/types/chart/generateCategoricalChart';
|
15
15
|
|
16
16
|
interface LineChartOptions {
|
17
|
-
/**
|
18
|
-
* If `true`, tooltip is visible.
|
19
|
-
*
|
20
|
-
* @default true
|
21
|
-
*/
|
22
|
-
withTooltip?: boolean;
|
23
17
|
/**
|
24
18
|
* If `true`, legend is visible.
|
25
19
|
*
|
26
20
|
* @default false
|
27
21
|
*/
|
28
22
|
withLegend?: boolean;
|
23
|
+
/**
|
24
|
+
* If `true`, tooltip is visible.
|
25
|
+
*
|
26
|
+
* @default true
|
27
|
+
*/
|
28
|
+
withTooltip?: boolean;
|
29
29
|
}
|
30
|
-
interface LineChartProps extends Omit<HTMLUIProps, "
|
30
|
+
interface LineChartProps extends Omit<HTMLUIProps, "fillOpacity" | "strokeDasharray" | "strokeWidth">, ThemeProps<"LineChart">, LineChartOptions, UseChartProps, UseChartAxisOptions, UseChartReferenceLineOptions, UseChartGridOptions, UseChartTooltipOptions, UseChartLegendProps, UseLineChartOptions {
|
31
31
|
}
|
32
32
|
/**
|
33
33
|
* `LineChart` is a component for drawing line charts to compare multiple sets of data.
|
package/dist/line-chart.d.ts
CHANGED
@@ -14,20 +14,20 @@ import '@yamada-ui/utils';
|
|
14
14
|
import 'recharts/types/chart/generateCategoricalChart';
|
15
15
|
|
16
16
|
interface LineChartOptions {
|
17
|
-
/**
|
18
|
-
* If `true`, tooltip is visible.
|
19
|
-
*
|
20
|
-
* @default true
|
21
|
-
*/
|
22
|
-
withTooltip?: boolean;
|
23
17
|
/**
|
24
18
|
* If `true`, legend is visible.
|
25
19
|
*
|
26
20
|
* @default false
|
27
21
|
*/
|
28
22
|
withLegend?: boolean;
|
23
|
+
/**
|
24
|
+
* If `true`, tooltip is visible.
|
25
|
+
*
|
26
|
+
* @default true
|
27
|
+
*/
|
28
|
+
withTooltip?: boolean;
|
29
29
|
}
|
30
|
-
interface LineChartProps extends Omit<HTMLUIProps, "
|
30
|
+
interface LineChartProps extends Omit<HTMLUIProps, "fillOpacity" | "strokeDasharray" | "strokeWidth">, ThemeProps<"LineChart">, LineChartOptions, UseChartProps, UseChartAxisOptions, UseChartReferenceLineOptions, UseChartGridOptions, UseChartTooltipOptions, UseChartLegendProps, UseLineChartOptions {
|
31
31
|
}
|
32
32
|
/**
|
33
33
|
* `LineChart` is a component for drawing line charts to compare multiple sets of data.
|