@yamada-ui/charts 2.0.0-next-20240812015934 → 2.0.0-next-20240820160301

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/dist/area-chart.d.mts +1 -0
  2. package/dist/area-chart.d.ts +1 -0
  3. package/dist/bar-chart.d.mts +1 -0
  4. package/dist/bar-chart.d.ts +1 -0
  5. package/dist/chart.types.d.mts +7 -5
  6. package/dist/chart.types.d.ts +7 -5
  7. package/dist/chart.types.js.map +1 -1
  8. package/dist/donut-chart.d.mts +1 -0
  9. package/dist/donut-chart.d.ts +1 -0
  10. package/dist/index.d.mts +2 -1
  11. package/dist/index.d.ts +2 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.mjs.map +1 -1
  14. package/dist/line-chart.d.mts +1 -0
  15. package/dist/line-chart.d.ts +1 -0
  16. package/dist/pie-chart.d.mts +1 -0
  17. package/dist/pie-chart.d.ts +1 -0
  18. package/dist/radar-chart.d.mts +1 -0
  19. package/dist/radar-chart.d.ts +1 -0
  20. package/dist/use-area-chart.d.mts +1 -0
  21. package/dist/use-area-chart.d.ts +1 -0
  22. package/dist/use-bar-chart.d.mts +1 -0
  23. package/dist/use-bar-chart.d.ts +1 -0
  24. package/dist/use-chart-axis.d.mts +1 -0
  25. package/dist/use-chart-axis.d.ts +1 -0
  26. package/dist/use-chart-grid.d.mts +1 -0
  27. package/dist/use-chart-grid.d.ts +1 -0
  28. package/dist/use-chart-legend.d.mts +1 -0
  29. package/dist/use-chart-legend.d.ts +1 -0
  30. package/dist/use-chart-reference-line.d.mts +1 -0
  31. package/dist/use-chart-reference-line.d.ts +1 -0
  32. package/dist/use-chart-tooltip.d.mts +1 -0
  33. package/dist/use-chart-tooltip.d.ts +1 -0
  34. package/dist/use-chart.d.mts +1 -0
  35. package/dist/use-chart.d.ts +1 -0
  36. package/dist/use-line-chart.d.mts +1 -0
  37. package/dist/use-line-chart.d.ts +1 -0
  38. package/dist/use-pie-chart.d.mts +1 -0
  39. package/dist/use-pie-chart.d.ts +1 -0
  40. package/dist/use-radar-chart.d.mts +1 -0
  41. package/dist/use-radar-chart.d.ts +1 -0
  42. package/package.json +3 -3
@@ -15,6 +15,7 @@ import './area-chart-gradient.mjs';
15
15
  import 'react/jsx-runtime';
16
16
  import './area-chart-split.mjs';
17
17
  import './chart.types.mjs';
18
+ import './rechart-properties.mjs';
18
19
 
19
20
  type AreaChartOptions = {
20
21
  /**
@@ -15,6 +15,7 @@ import './area-chart-gradient.js';
15
15
  import 'react/jsx-runtime';
16
16
  import './area-chart-split.js';
17
17
  import './chart.types.js';
18
+ import './rechart-properties.js';
18
19
 
19
20
  type AreaChartOptions = {
20
21
  /**
@@ -13,6 +13,7 @@ import '@yamada-ui/utils';
13
13
  import 'react/jsx-runtime';
14
14
  import 'recharts';
15
15
  import './chart.types.mjs';
16
+ import './rechart-properties.mjs';
16
17
 
17
18
  type BarChartOptions = {
18
19
  /**
@@ -13,6 +13,7 @@ import '@yamada-ui/utils';
13
13
  import 'react/jsx-runtime';
14
14
  import 'recharts';
15
15
  import './chart.types.js';
16
+ import './rechart-properties.js';
16
17
 
17
18
  type BarChartOptions = {
18
19
  /**
@@ -2,6 +2,7 @@ import { As, HTMLUIProps, CSSUIProps } from '@yamada-ui/core';
2
2
  import { Merge } from '@yamada-ui/utils';
3
3
  import { ComponentPropsWithoutRef, SVGProps, ReactElement, ReactNode } from 'react';
4
4
  import * as Recharts from 'recharts';
5
+ import { pieProperties } from './rechart-properties.mjs';
5
6
 
6
7
  type ChartPropGetter<Y extends As = "div", M = undefined, D = undefined> = (props?: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D;
7
8
  type RequiredChartPropGetter<Y extends As = "div", M = undefined, D = undefined> = (props: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D;
@@ -45,9 +46,9 @@ type RadarProps = Merge<Merge<CSSUIProps, Recharts.RadarProps>, {
45
46
  dimDot?: DotProps;
46
47
  dimRadar?: Partial<RadarProps>;
47
48
  }>;
48
- type PieProps = Merge<Merge<CSSUIProps, Recharts.PieProps>, {
49
- activeShape?: Merge<SVGProps<SVGPathElement>, CSSUIProps>;
50
- inactiveShape?: Merge<SVGProps<SVGPathElement>, CSSUIProps>;
49
+ type PieProps = Merge<Merge<Pick<Recharts.PieProps, (typeof pieProperties)[number]>, CSSUIProps>, {
50
+ activeShape?: Partial<PieProps>;
51
+ inactiveShape?: Partial<PieProps>;
51
52
  label?: HTMLUIProps<"text">;
52
53
  labelLine?: HTMLUIProps<"path">;
53
54
  }>;
@@ -74,6 +75,7 @@ type PolarGridProps = Merge<CSSUIProps, Recharts.PolarGridProps>;
74
75
  type PolarAngleAxisProps = Merge<Recharts.PolarAngleAxisProps, CSSUIProps>;
75
76
  type PolarRadiusAxisProps = Merge<CSSUIProps, Recharts.PolarRadiusAxisProps>;
76
77
  type LabelProps = Merge<CSSUIProps, Recharts.LabelProps>;
77
- type ChartTooltip = ReactElement | ((props: Recharts.TooltipProps<number | string | Array<number | string>, number | string>) => ReactNode);
78
+ type ChartTooltipProps = Recharts.TooltipProps<number | string | Array<number | string>, number | string>;
79
+ type ChartTooltip = ReactElement | ((props: ChartTooltipProps) => ReactNode);
78
80
 
79
- export type { AreaChartProps, AreaChartType, AreaProps, BarChartProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartPropGetter, ChartTooltip, DotProps, GridProps, LabelProps, LegendProps, LineChartProps, LineProps, PieChartProps, PieProps, PolarAngleAxisProps, PolarGridProps, PolarRadiusAxisProps, RadarChartProps, RadarProps, ReferenceLineProps, RequiredChartPropGetter, ResponsiveContainerProps, TooltipDataSourceType, TooltipProps, XAxisProps, YAxisProps };
81
+ export type { AreaChartProps, AreaChartType, AreaProps, BarChartProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartPropGetter, ChartTooltip, ChartTooltipProps, DotProps, GridProps, LabelProps, LegendProps, LineChartProps, LineProps, PieChartProps, PieProps, PolarAngleAxisProps, PolarGridProps, PolarRadiusAxisProps, RadarChartProps, RadarProps, ReferenceLineProps, RequiredChartPropGetter, ResponsiveContainerProps, TooltipDataSourceType, TooltipProps, XAxisProps, YAxisProps };
@@ -2,6 +2,7 @@ import { As, HTMLUIProps, CSSUIProps } from '@yamada-ui/core';
2
2
  import { Merge } from '@yamada-ui/utils';
3
3
  import { ComponentPropsWithoutRef, SVGProps, ReactElement, ReactNode } from 'react';
4
4
  import * as Recharts from 'recharts';
5
+ import { pieProperties } from './rechart-properties.js';
5
6
 
6
7
  type ChartPropGetter<Y extends As = "div", M = undefined, D = undefined> = (props?: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D;
7
8
  type RequiredChartPropGetter<Y extends As = "div", M = undefined, D = undefined> = (props: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D;
@@ -45,9 +46,9 @@ type RadarProps = Merge<Merge<CSSUIProps, Recharts.RadarProps>, {
45
46
  dimDot?: DotProps;
46
47
  dimRadar?: Partial<RadarProps>;
47
48
  }>;
48
- type PieProps = Merge<Merge<CSSUIProps, Recharts.PieProps>, {
49
- activeShape?: Merge<SVGProps<SVGPathElement>, CSSUIProps>;
50
- inactiveShape?: Merge<SVGProps<SVGPathElement>, CSSUIProps>;
49
+ type PieProps = Merge<Merge<Pick<Recharts.PieProps, (typeof pieProperties)[number]>, CSSUIProps>, {
50
+ activeShape?: Partial<PieProps>;
51
+ inactiveShape?: Partial<PieProps>;
51
52
  label?: HTMLUIProps<"text">;
52
53
  labelLine?: HTMLUIProps<"path">;
53
54
  }>;
@@ -74,6 +75,7 @@ type PolarGridProps = Merge<CSSUIProps, Recharts.PolarGridProps>;
74
75
  type PolarAngleAxisProps = Merge<Recharts.PolarAngleAxisProps, CSSUIProps>;
75
76
  type PolarRadiusAxisProps = Merge<CSSUIProps, Recharts.PolarRadiusAxisProps>;
76
77
  type LabelProps = Merge<CSSUIProps, Recharts.LabelProps>;
77
- type ChartTooltip = ReactElement | ((props: Recharts.TooltipProps<number | string | Array<number | string>, number | string>) => ReactNode);
78
+ type ChartTooltipProps = Recharts.TooltipProps<number | string | Array<number | string>, number | string>;
79
+ type ChartTooltip = ReactElement | ((props: ChartTooltipProps) => ReactNode);
78
80
 
79
- export type { AreaChartProps, AreaChartType, AreaProps, BarChartProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartPropGetter, ChartTooltip, DotProps, GridProps, LabelProps, LegendProps, LineChartProps, LineProps, PieChartProps, PieProps, PolarAngleAxisProps, PolarGridProps, PolarRadiusAxisProps, RadarChartProps, RadarProps, ReferenceLineProps, RequiredChartPropGetter, ResponsiveContainerProps, TooltipDataSourceType, TooltipProps, XAxisProps, YAxisProps };
81
+ export type { AreaChartProps, AreaChartType, AreaProps, BarChartProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartPropGetter, ChartTooltip, ChartTooltipProps, DotProps, GridProps, LabelProps, LegendProps, LineChartProps, LineProps, PieChartProps, PieProps, PolarAngleAxisProps, PolarGridProps, PolarRadiusAxisProps, RadarChartProps, RadarProps, ReferenceLineProps, RequiredChartPropGetter, ResponsiveContainerProps, TooltipDataSourceType, TooltipProps, XAxisProps, YAxisProps };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/chart.types.ts"],"sourcesContent":["import type { As, CSSUIProps, HTMLUIProps } from \"@yamada-ui/core\"\nimport type { Merge } from \"@yamada-ui/utils\"\nimport type {\n ComponentPropsWithoutRef,\n ReactElement,\n ReactNode,\n SVGProps,\n} from \"react\"\nimport type * as Recharts from \"recharts\"\n\nexport type ChartPropGetter<\n Y extends As = \"div\",\n M = undefined,\n D = undefined,\n> = (props?: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D\n\nexport type RequiredChartPropGetter<\n Y extends As = \"div\",\n M = undefined,\n D = undefined,\n> = (props: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D\nexport type ChartLayoutType = \"horizontal\" | \"vertical\"\nexport type AreaChartType = \"default\" | \"stacked\" | \"percent\" | \"split\"\nexport type BarChartType = Exclude<AreaChartType, \"split\">\nexport type ChartAxisType = \"x\" | \"y\" | \"xy\" | \"none\"\nexport type ChartCurveType =\n | \"bump\"\n | \"linear\"\n | \"natural\"\n | \"monotone\"\n | \"step\"\n | \"stepBefore\"\n | \"stepAfter\"\nexport type TooltipDataSourceType = \"segment\" | \"all\"\n\nexport type AreaChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.AreaChart>\n>\nexport type BarChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.BarChart>\n>\nexport type LineChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.LineChart>\n>\nexport type RadarChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.RadarChart>\n>\nexport type PieChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.PieChart>\n>\nexport type ReferenceLineProps = Merge<CSSUIProps, Recharts.ReferenceLineProps>\nexport type ResponsiveContainerProps = Merge<\n CSSUIProps,\n Omit<Recharts.ResponsiveContainerProps, \"children\">\n>\nexport type AreaProps = Merge<\n Merge<CSSUIProps, Recharts.AreaProps>,\n {\n color: CSSUIProps[\"color\"]\n dot?: DotProps\n activeDot?: DotProps\n dimDot?: DotProps\n dimArea?: Partial<AreaProps>\n }\n>\nexport type LineProps = Merge<\n Merge<CSSUIProps, Recharts.LineProps>,\n {\n color: CSSUIProps[\"color\"]\n activeDot?: DotProps\n dot?: DotProps\n dimDot?: DotProps\n dimLine?: Partial<LineProps>\n }\n>\nexport type BarProps = Merge<\n Merge<CSSUIProps, Recharts.BarProps>,\n {\n color: CSSUIProps[\"color\"]\n activeBar?: Merge<SVGProps<SVGPathElement>, CSSUIProps>\n background?: Merge<SVGProps<SVGPathElement>, CSSUIProps>\n dimBar?: Partial<BarProps>\n }\n>\nexport type RadarProps = Merge<\n Merge<CSSUIProps, Recharts.RadarProps>,\n {\n color: CSSUIProps[\"color\"]\n dot?: DotProps\n activeDot?: DotProps\n dimDot?: DotProps\n dimRadar?: Partial<RadarProps>\n }\n>\nexport type PieProps = Merge<\n Merge<CSSUIProps, Recharts.PieProps>,\n {\n activeShape?: Merge<SVGProps<SVGPathElement>, CSSUIProps>\n inactiveShape?: Merge<SVGProps<SVGPathElement>, CSSUIProps>\n label?: HTMLUIProps<\"text\">\n labelLine?: HTMLUIProps<\"path\">\n }\n>\nexport type CellProps = Merge<\n CSSUIProps,\n {\n name: string\n value: number\n dimCell?: Partial<CellProps>\n }\n>\nexport type DotProps = Merge<Omit<Recharts.DotProps, \"ref\">, CSSUIProps>\nexport type XAxisProps = Merge<\n Merge<CSSUIProps, Recharts.XAxisProps>,\n {\n color?: CSSUIProps[\"color\"]\n stroke?: CSSUIProps[\"color\"]\n fill?: CSSUIProps[\"color\"]\n }\n>\nexport type YAxisProps = Merge<\n Merge<CSSUIProps, Recharts.YAxisProps>,\n { color?: CSSUIProps[\"color\"] }\n>\nexport type LegendProps = Merge<CSSUIProps, Omit<Recharts.LegendProps, \"ref\">>\nexport type TooltipProps = Merge<\n Merge<CSSUIProps, Omit<Recharts.TooltipProps<any, any>, \"ref\">>,\n { cursor?: CSSUIProps }\n>\nexport type GridProps = Merge<CSSUIProps, Recharts.CartesianGridProps>\nexport type PolarGridProps = Merge<CSSUIProps, Recharts.PolarGridProps>\nexport type PolarAngleAxisProps = Merge<\n Recharts.PolarAngleAxisProps,\n CSSUIProps\n>\nexport type PolarRadiusAxisProps = Merge<\n CSSUIProps,\n Recharts.PolarRadiusAxisProps\n>\nexport type LabelProps = Merge<CSSUIProps, Recharts.LabelProps>\nexport type ChartTooltip =\n | ReactElement\n | ((\n props: Recharts.TooltipProps<\n number | string | Array<number | string>,\n number | string\n >,\n ) => ReactNode)\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/chart.types.ts"],"sourcesContent":["import type { As, CSSUIProps, HTMLUIProps } from \"@yamada-ui/core\"\nimport type { Merge } from \"@yamada-ui/utils\"\nimport type {\n ComponentPropsWithoutRef,\n ReactElement,\n ReactNode,\n SVGProps,\n} from \"react\"\nimport type * as Recharts from \"recharts\"\nimport type { pieProperties } from \"./rechart-properties\"\n\nexport type ChartPropGetter<\n Y extends As = \"div\",\n M = undefined,\n D = undefined,\n> = (props?: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D\n\nexport type RequiredChartPropGetter<\n Y extends As = \"div\",\n M = undefined,\n D = undefined,\n> = (props: Merge<HTMLUIProps<Y>, M>, ref?: React.Ref<any>) => D\nexport type ChartLayoutType = \"horizontal\" | \"vertical\"\nexport type AreaChartType = \"default\" | \"stacked\" | \"percent\" | \"split\"\nexport type BarChartType = Exclude<AreaChartType, \"split\">\nexport type ChartAxisType = \"x\" | \"y\" | \"xy\" | \"none\"\nexport type ChartCurveType =\n | \"bump\"\n | \"linear\"\n | \"natural\"\n | \"monotone\"\n | \"step\"\n | \"stepBefore\"\n | \"stepAfter\"\nexport type TooltipDataSourceType = \"segment\" | \"all\"\n\nexport type AreaChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.AreaChart>\n>\nexport type BarChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.BarChart>\n>\nexport type LineChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.LineChart>\n>\nexport type RadarChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.RadarChart>\n>\nexport type PieChartProps = Merge<\n CSSUIProps,\n ComponentPropsWithoutRef<typeof Recharts.PieChart>\n>\nexport type ReferenceLineProps = Merge<CSSUIProps, Recharts.ReferenceLineProps>\nexport type ResponsiveContainerProps = Merge<\n CSSUIProps,\n Omit<Recharts.ResponsiveContainerProps, \"children\">\n>\nexport type AreaProps = Merge<\n Merge<CSSUIProps, Recharts.AreaProps>,\n {\n color: CSSUIProps[\"color\"]\n dot?: DotProps\n activeDot?: DotProps\n dimDot?: DotProps\n dimArea?: Partial<AreaProps>\n }\n>\nexport type LineProps = Merge<\n Merge<CSSUIProps, Recharts.LineProps>,\n {\n color: CSSUIProps[\"color\"]\n activeDot?: DotProps\n dot?: DotProps\n dimDot?: DotProps\n dimLine?: Partial<LineProps>\n }\n>\nexport type BarProps = Merge<\n Merge<CSSUIProps, Recharts.BarProps>,\n {\n color: CSSUIProps[\"color\"]\n activeBar?: Merge<SVGProps<SVGPathElement>, CSSUIProps>\n background?: Merge<SVGProps<SVGPathElement>, CSSUIProps>\n dimBar?: Partial<BarProps>\n }\n>\nexport type RadarProps = Merge<\n Merge<CSSUIProps, Recharts.RadarProps>,\n {\n color: CSSUIProps[\"color\"]\n dot?: DotProps\n activeDot?: DotProps\n dimDot?: DotProps\n dimRadar?: Partial<RadarProps>\n }\n>\nexport type PieProps = Merge<\n Merge<Pick<Recharts.PieProps, (typeof pieProperties)[number]>, CSSUIProps>,\n {\n activeShape?: Partial<PieProps>\n inactiveShape?: Partial<PieProps>\n label?: HTMLUIProps<\"text\">\n labelLine?: HTMLUIProps<\"path\">\n }\n>\nexport type CellProps = Merge<\n CSSUIProps,\n {\n name: string\n value: number\n dimCell?: Partial<CellProps>\n }\n>\nexport type DotProps = Merge<Omit<Recharts.DotProps, \"ref\">, CSSUIProps>\nexport type XAxisProps = Merge<\n Merge<CSSUIProps, Recharts.XAxisProps>,\n {\n color?: CSSUIProps[\"color\"]\n stroke?: CSSUIProps[\"color\"]\n fill?: CSSUIProps[\"color\"]\n }\n>\nexport type YAxisProps = Merge<\n Merge<CSSUIProps, Recharts.YAxisProps>,\n { color?: CSSUIProps[\"color\"] }\n>\nexport type LegendProps = Merge<CSSUIProps, Omit<Recharts.LegendProps, \"ref\">>\nexport type TooltipProps = Merge<\n Merge<CSSUIProps, Omit<Recharts.TooltipProps<any, any>, \"ref\">>,\n { cursor?: CSSUIProps }\n>\nexport type GridProps = Merge<CSSUIProps, Recharts.CartesianGridProps>\nexport type PolarGridProps = Merge<CSSUIProps, Recharts.PolarGridProps>\nexport type PolarAngleAxisProps = Merge<\n Recharts.PolarAngleAxisProps,\n CSSUIProps\n>\nexport type PolarRadiusAxisProps = Merge<\n CSSUIProps,\n Recharts.PolarRadiusAxisProps\n>\nexport type LabelProps = Merge<CSSUIProps, Recharts.LabelProps>\nexport type ChartTooltipProps = Recharts.TooltipProps<\n number | string | Array<number | string>,\n number | string\n>\nexport type ChartTooltip =\n | ReactElement\n | ((props: ChartTooltipProps) => ReactNode)\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -4,6 +4,7 @@ import './chart.types.mjs';
4
4
  import '@yamada-ui/utils';
5
5
  import 'react';
6
6
  import 'recharts';
7
+ import './rechart-properties.mjs';
7
8
  import './use-chart.mjs';
8
9
  import './use-chart-legend.mjs';
9
10
  import './use-chart-tooltip.mjs';
@@ -4,6 +4,7 @@ import './chart.types.js';
4
4
  import '@yamada-ui/utils';
5
5
  import 'react';
6
6
  import 'recharts';
7
+ import './rechart-properties.js';
7
8
  import './use-chart.js';
8
9
  import './use-chart-legend.js';
9
10
  import './use-chart-tooltip.js';
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ export { RadarChart, RadarChartProps } from './radar-chart.mjs';
6
6
  export { DonutChart, DonutChartProps } from './donut-chart.mjs';
7
7
  export { PieChart, PieChartProps } from './pie-chart.mjs';
8
8
  export { Cell as ChartCell } from 'recharts';
9
- export { AreaChartType, AreaProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartTooltip, DotProps, LineProps, RadarProps, TooltipDataSourceType } from './chart.types.mjs';
9
+ export { AreaChartType, AreaProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartTooltip, ChartTooltipProps, DotProps, LineProps, RadarProps, TooltipDataSourceType } from './chart.types.mjs';
10
10
  import '@yamada-ui/core';
11
11
  import './use-chart.mjs';
12
12
  import 'react';
@@ -24,3 +24,4 @@ import './area-chart-gradient.mjs';
24
24
  import './area-chart-split.mjs';
25
25
  import './use-radar-chart.mjs';
26
26
  import './use-pie-chart.mjs';
27
+ import './rechart-properties.mjs';
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export { RadarChart, RadarChartProps } from './radar-chart.js';
6
6
  export { DonutChart, DonutChartProps } from './donut-chart.js';
7
7
  export { PieChart, PieChartProps } from './pie-chart.js';
8
8
  export { Cell as ChartCell } from 'recharts';
9
- export { AreaChartType, AreaProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartTooltip, DotProps, LineProps, RadarProps, TooltipDataSourceType } from './chart.types.js';
9
+ export { AreaChartType, AreaProps, BarChartType, BarProps, CellProps, ChartAxisType, ChartCurveType, ChartLayoutType, ChartTooltip, ChartTooltipProps, DotProps, LineProps, RadarProps, TooltipDataSourceType } from './chart.types.js';
10
10
  import '@yamada-ui/core';
11
11
  import './use-chart.js';
12
12
  import 'react';
@@ -24,3 +24,4 @@ import './area-chart-gradient.js';
24
24
  import './area-chart-split.js';
25
25
  import './use-radar-chart.js';
26
26
  import './use-pie-chart.js';
27
+ import './rechart-properties.js';