@yamada-ui/charts 1.4.1-dev-20240818003836 → 1.4.1-dev-20240818021736

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.
Files changed (40) 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 +4 -3
  6. package/dist/chart.types.d.ts +4 -3
  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 +1 -0
  11. package/dist/index.d.ts +1 -0
  12. package/dist/line-chart.d.mts +1 -0
  13. package/dist/line-chart.d.ts +1 -0
  14. package/dist/pie-chart.d.mts +1 -0
  15. package/dist/pie-chart.d.ts +1 -0
  16. package/dist/radar-chart.d.mts +1 -0
  17. package/dist/radar-chart.d.ts +1 -0
  18. package/dist/use-area-chart.d.mts +1 -0
  19. package/dist/use-area-chart.d.ts +1 -0
  20. package/dist/use-bar-chart.d.mts +1 -0
  21. package/dist/use-bar-chart.d.ts +1 -0
  22. package/dist/use-chart-axis.d.mts +1 -0
  23. package/dist/use-chart-axis.d.ts +1 -0
  24. package/dist/use-chart-grid.d.mts +1 -0
  25. package/dist/use-chart-grid.d.ts +1 -0
  26. package/dist/use-chart-legend.d.mts +1 -0
  27. package/dist/use-chart-legend.d.ts +1 -0
  28. package/dist/use-chart-reference-line.d.mts +1 -0
  29. package/dist/use-chart-reference-line.d.ts +1 -0
  30. package/dist/use-chart-tooltip.d.mts +1 -0
  31. package/dist/use-chart-tooltip.d.ts +1 -0
  32. package/dist/use-chart.d.mts +1 -0
  33. package/dist/use-chart.d.ts +1 -0
  34. package/dist/use-line-chart.d.mts +1 -0
  35. package/dist/use-line-chart.d.ts +1 -0
  36. package/dist/use-pie-chart.d.mts +1 -0
  37. package/dist/use-pie-chart.d.ts +1 -0
  38. package/dist/use-radar-chart.d.mts +1 -0
  39. package/dist/use-radar-chart.d.ts +1 -0
  40. 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
  }>;
@@ -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
  }>;
@@ -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 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":[]}
@@ -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
@@ -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
@@ -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';
@@ -11,6 +11,7 @@ import 'react';
11
11
  import 'recharts';
12
12
  import './chart.types.mjs';
13
13
  import '@yamada-ui/utils';
14
+ import './rechart-properties.mjs';
14
15
  import 'recharts/types/chart/generateCategoricalChart';
15
16
 
16
17
  type LineChartOptions = {
@@ -11,6 +11,7 @@ import 'react';
11
11
  import 'recharts';
12
12
  import './chart.types.js';
13
13
  import '@yamada-ui/utils';
14
+ import './rechart-properties.js';
14
15
  import 'recharts/types/chart/generateCategoricalChart';
15
16
 
16
17
  type LineChartOptions = {
@@ -8,6 +8,7 @@ import { UsePieChartOptions } from './use-pie-chart.mjs';
8
8
  import '@yamada-ui/utils';
9
9
  import 'react';
10
10
  import 'recharts';
11
+ import './rechart-properties.mjs';
11
12
  import 'recharts/types/chart/generateCategoricalChart';
12
13
 
13
14
  type PieChartOptions = {
@@ -8,6 +8,7 @@ import { UsePieChartOptions } from './use-pie-chart.js';
8
8
  import '@yamada-ui/utils';
9
9
  import 'react';
10
10
  import 'recharts';
11
+ import './rechart-properties.js';
11
12
  import 'recharts/types/chart/generateCategoricalChart';
12
13
 
13
14
  type PieChartOptions = {
@@ -8,6 +8,7 @@ import 'react';
8
8
  import 'recharts';
9
9
  import './chart.types.mjs';
10
10
  import '@yamada-ui/utils';
11
+ import './rechart-properties.mjs';
11
12
  import 'recharts/types/chart/generateCategoricalChart';
12
13
 
13
14
  type RadarChartOptions = {
@@ -8,6 +8,7 @@ import 'react';
8
8
  import 'recharts';
9
9
  import './chart.types.js';
10
10
  import '@yamada-ui/utils';
11
+ import './rechart-properties.js';
11
12
  import 'recharts/types/chart/generateCategoricalChart';
12
13
 
13
14
  type RadarChartOptions = {
@@ -9,6 +9,7 @@ import { AreaGradientProps } from './area-chart-gradient.mjs';
9
9
  import { AreaSplitProps } from './area-chart-split.mjs';
10
10
  import { AreaProps, AreaChartType, AreaChartProps, ChartLayoutType, ChartCurveType, ReferenceLineProps, ChartPropGetter, RequiredChartPropGetter } from './chart.types.mjs';
11
11
  import 'react/jsx-runtime';
12
+ import './rechart-properties.mjs';
12
13
 
13
14
  type UseAreaChartOptions = {
14
15
  /**
@@ -9,6 +9,7 @@ import { AreaGradientProps } from './area-chart-gradient.js';
9
9
  import { AreaSplitProps } from './area-chart-split.js';
10
10
  import { AreaProps, AreaChartType, AreaChartProps, ChartLayoutType, ChartCurveType, ReferenceLineProps, ChartPropGetter, RequiredChartPropGetter } from './chart.types.js';
11
11
  import 'react/jsx-runtime';
12
+ import './rechart-properties.js';
12
13
 
13
14
  type UseAreaChartOptions = {
14
15
  /**
@@ -8,6 +8,7 @@ import { CSSUIObject } from '@yamada-ui/core';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
9
  import * as Recharts from 'recharts';
10
10
  import { BarProps, BarChartType, ChartLayoutType, BarChartProps, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.mjs';
11
+ import './rechart-properties.mjs';
11
12
 
12
13
  type UseBarChartOptions = {
13
14
  /**
@@ -8,6 +8,7 @@ import { CSSUIObject } from '@yamada-ui/core';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
9
  import * as Recharts from 'recharts';
10
10
  import { BarProps, BarChartType, ChartLayoutType, BarChartProps, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.js';
11
+ import './rechart-properties.js';
11
12
 
12
13
  type UseBarChartOptions = {
13
14
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import * as Recharts from 'recharts';
4
4
  import { AreaChartType, ChartLayoutType, ChartAxisType, XAxisProps, YAxisProps, LabelProps, ChartPropGetter } from './chart.types.mjs';
5
5
  import 'react';
6
+ import './rechart-properties.mjs';
6
7
 
7
8
  type UseChartAxisOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import * as Recharts from 'recharts';
4
4
  import { AreaChartType, ChartLayoutType, ChartAxisType, XAxisProps, YAxisProps, LabelProps, ChartPropGetter } from './chart.types.js';
5
5
  import 'react';
6
+ import './rechart-properties.js';
6
7
 
7
8
  type UseChartAxisOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import { CartesianGridProps } from 'recharts';
4
4
  import { GridProps, ChartAxisType, ChartPropGetter } from './chart.types.mjs';
5
5
  import 'react';
6
+ import './rechart-properties.mjs';
6
7
 
7
8
  type UseChartGridOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import { CartesianGridProps } from 'recharts';
4
4
  import { GridProps, ChartAxisType, ChartPropGetter } from './chart.types.js';
5
5
  import 'react';
6
+ import './rechart-properties.js';
6
7
 
7
8
  type UseChartGridOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import * as Recharts from 'recharts';
3
3
  import { LegendProps, ChartPropGetter } from './chart.types.mjs';
4
4
  import '@yamada-ui/core';
5
5
  import 'react';
6
+ import './rechart-properties.mjs';
6
7
 
7
8
  type UseChartLegendProps = {
8
9
  /**
@@ -3,6 +3,7 @@ import * as Recharts from 'recharts';
3
3
  import { LegendProps, ChartPropGetter } from './chart.types.js';
4
4
  import '@yamada-ui/core';
5
5
  import 'react';
6
+ import './rechart-properties.js';
6
7
 
7
8
  type UseChartLegendProps = {
8
9
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import * as Recharts from 'recharts';
4
4
  import { ReferenceLineProps, RequiredChartPropGetter } from './chart.types.mjs';
5
5
  import 'react';
6
+ import './rechart-properties.mjs';
6
7
 
7
8
  type UseChartReferenceLineOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import * as Recharts from 'recharts';
4
4
  import { ReferenceLineProps, RequiredChartPropGetter } from './chart.types.js';
5
5
  import 'react';
6
+ import './rechart-properties.js';
6
7
 
7
8
  type UseChartReferenceLineOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import * as Recharts from 'recharts';
4
4
  import { TooltipProps, ChartPropGetter } from './chart.types.mjs';
5
5
  import 'react';
6
+ import './rechart-properties.mjs';
6
7
 
7
8
  type UseChartTooltipOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import { Dict } from '@yamada-ui/utils';
3
3
  import * as Recharts from 'recharts';
4
4
  import { TooltipProps, ChartPropGetter } from './chart.types.js';
5
5
  import 'react';
6
+ import './rechart-properties.js';
6
7
 
7
8
  type UseChartTooltipOptions = {
8
9
  /**
@@ -3,6 +3,7 @@ import { CSSUIObject } from '@yamada-ui/core';
3
3
  import * as Recharts from 'recharts';
4
4
  import { ResponsiveContainerProps, ChartPropGetter } from './chart.types.mjs';
5
5
  import '@yamada-ui/utils';
6
+ import './rechart-properties.mjs';
6
7
 
7
8
  type ChartContext = {
8
9
  styles: Record<string, CSSUIObject>;
@@ -3,6 +3,7 @@ import { CSSUIObject } from '@yamada-ui/core';
3
3
  import * as Recharts from 'recharts';
4
4
  import { ResponsiveContainerProps, ChartPropGetter } from './chart.types.js';
5
5
  import '@yamada-ui/utils';
6
+ import './rechart-properties.js';
6
7
 
7
8
  type ChartContext = {
8
9
  styles: Record<string, CSSUIObject>;
@@ -6,6 +6,7 @@ import { CSSUIObject } from '@yamada-ui/core';
6
6
  import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
7
7
  import * as Recharts from 'recharts';
8
8
  import { LineProps, LineChartProps, ChartLayoutType, ChartCurveType, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.mjs';
9
+ import './rechart-properties.mjs';
9
10
 
10
11
  type UseLineChartOptions = {
11
12
  /**
@@ -6,6 +6,7 @@ import { CSSUIObject } from '@yamada-ui/core';
6
6
  import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
7
7
  import * as Recharts from 'recharts';
8
8
  import { LineProps, LineChartProps, ChartLayoutType, ChartCurveType, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.js';
9
+ import './rechart-properties.js';
9
10
 
10
11
  type UseLineChartOptions = {
11
12
  /**
@@ -6,6 +6,7 @@ import * as _yamada_ui_core from '@yamada-ui/core';
6
6
  import { CSSUIObject } from '@yamada-ui/core';
7
7
  import * as Recharts from 'recharts';
8
8
  import { CellProps, PieChartProps, PieProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.mjs';
9
+ import './rechart-properties.mjs';
9
10
 
10
11
  type UsePieChartOptions = {
11
12
  /**
@@ -6,6 +6,7 @@ import * as _yamada_ui_core from '@yamada-ui/core';
6
6
  import { CSSUIObject } from '@yamada-ui/core';
7
7
  import * as Recharts from 'recharts';
8
8
  import { CellProps, PieChartProps, PieProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.js';
9
+ import './rechart-properties.js';
9
10
 
10
11
  type UsePieChartOptions = {
11
12
  /**
@@ -6,6 +6,7 @@ import * as _yamada_ui_core from '@yamada-ui/core';
6
6
  import { CSSUIProps, CSSUIObject } from '@yamada-ui/core';
7
7
  import * as Recharts from 'recharts';
8
8
  import { RadarProps, RadarChartProps, PolarGridProps, PolarAngleAxisProps, PolarRadiusAxisProps, ChartPropGetter, RequiredChartPropGetter } from './chart.types.mjs';
9
+ import './rechart-properties.mjs';
9
10
 
10
11
  type UseRadarChartOptions = {
11
12
  /**
@@ -6,6 +6,7 @@ import * as _yamada_ui_core from '@yamada-ui/core';
6
6
  import { CSSUIProps, CSSUIObject } from '@yamada-ui/core';
7
7
  import * as Recharts from 'recharts';
8
8
  import { RadarProps, RadarChartProps, PolarGridProps, PolarAngleAxisProps, PolarRadiusAxisProps, ChartPropGetter, RequiredChartPropGetter } from './chart.types.js';
9
+ import './rechart-properties.js';
9
10
 
10
11
  type UseRadarChartOptions = {
11
12
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/charts",
3
- "version": "1.4.1-dev-20240818003836",
3
+ "version": "1.4.1-dev-20240818021736",
4
4
  "description": "Yamada UI charts component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "recharts": "^2.12.7",
40
- "@yamada-ui/core": "1.13.0-dev-20240818003836",
41
- "@yamada-ui/utils": "1.4.0-dev-20240818003836"
40
+ "@yamada-ui/core": "1.13.0-dev-20240818021736",
41
+ "@yamada-ui/utils": "1.4.0-dev-20240818021736"
42
42
  },
43
43
  "devDependencies": {
44
44
  "clean-package": "2.2.0",