@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
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { LineChart } from \"./line-chart\"\nexport type { LineChartProps } from \"./line-chart\"\nexport { BarChart } from \"./bar-chart\"\nexport type { BarChartProps } from \"./bar-chart\"\nexport type { BarCellProps } from \"./use-bar-chart\"\nexport { AreaChart } from \"./area-chart\"\nexport type { AreaChartProps } from \"./area-chart\"\nexport { RadarChart } from \"./radar-chart\"\nexport type { RadarChartProps } from \"./radar-chart\"\nexport { DonutChart } from \"./donut-chart\"\nexport type { DonutChartProps } from \"./donut-chart\"\nexport { PieChart } from \"./pie-chart\"\nexport type { PieChartProps } from \"./pie-chart\"\nexport { Cell as ChartCell } from \"recharts\"\nexport type {\n BarProps,\n AreaProps,\n LineProps,\n RadarProps,\n CellProps,\n DotProps,\n ChartCurveType,\n ChartLayoutType,\n ChartAxisType,\n ChartTooltip,\n TooltipDataSourceType,\n AreaChartType,\n BarChartType,\n} from \"./chart.types\"\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,SAAiB,YAAiB;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { LineChart } from \"./line-chart\"\nexport type { LineChartProps } from \"./line-chart\"\nexport { BarChart } from \"./bar-chart\"\nexport type { BarChartProps } from \"./bar-chart\"\nexport type { BarCellProps } from \"./use-bar-chart\"\nexport { AreaChart } from \"./area-chart\"\nexport type { AreaChartProps } from \"./area-chart\"\nexport { RadarChart } from \"./radar-chart\"\nexport type { RadarChartProps } from \"./radar-chart\"\nexport { DonutChart } from \"./donut-chart\"\nexport type { DonutChartProps } from \"./donut-chart\"\nexport { PieChart } from \"./pie-chart\"\nexport type { PieChartProps } from \"./pie-chart\"\nexport { Cell as ChartCell } from \"recharts\"\nexport type {\n BarProps,\n AreaProps,\n LineProps,\n RadarProps,\n CellProps,\n DotProps,\n ChartCurveType,\n ChartLayoutType,\n ChartAxisType,\n ChartTooltip,\n ChartTooltipProps,\n TooltipDataSourceType,\n AreaChartType,\n BarChartType,\n} from \"./chart.types\"\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,SAAiB,YAAiB;","names":[]}
@@ -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": "2.0.0-next-20240812015934",
3
+ "version": "2.0.0-next-20240820160301",
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.12.0",
41
- "@yamada-ui/utils": "1.3.2"
40
+ "@yamada-ui/core": "1.13.0-next-20240820160301",
41
+ "@yamada-ui/utils": "1.4.0-next-20240820160301"
42
42
  },
43
43
  "devDependencies": {
44
44
  "clean-package": "2.2.0",