@yamada-ui/charts 1.1.8-dev-20240619213931 → 1.1.8-dev-20240620113508
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/area-chart.d.mts +1 -1
- package/dist/area-chart.d.ts +1 -1
- package/dist/use-area-chart.d.mts +2 -3
- package/dist/use-area-chart.d.ts +2 -3
- package/dist/use-bar-chart.d.mts +1 -2
- package/dist/use-bar-chart.d.ts +1 -2
- package/dist/use-line-chart.d.mts +2 -3
- package/dist/use-line-chart.d.ts +2 -3
- package/dist/use-pie-chart.d.mts +1 -2
- package/dist/use-pie-chart.d.ts +1 -2
- package/dist/use-radar-chart.d.mts +1 -2
- package/dist/use-radar-chart.d.ts +1 -2
- package/package.json +3 -3
package/dist/area-chart.d.mts
CHANGED
@@ -8,8 +8,8 @@ import { UseChartLegendProps } from './use-chart-legend.mjs';
|
|
8
8
|
import { UseChartReferenceLineOptions } from './use-chart-reference-line.mjs';
|
9
9
|
import { UseChartTooltipOptions } from './use-chart-tooltip.mjs';
|
10
10
|
import 'react';
|
11
|
-
import '@yamada-ui/utils';
|
12
11
|
import 'recharts/types/chart/generateCategoricalChart';
|
12
|
+
import '@yamada-ui/utils';
|
13
13
|
import 'recharts';
|
14
14
|
import './area-chart-gradient.mjs';
|
15
15
|
import 'react/jsx-runtime';
|
package/dist/area-chart.d.ts
CHANGED
@@ -8,8 +8,8 @@ import { UseChartLegendProps } from './use-chart-legend.js';
|
|
8
8
|
import { UseChartReferenceLineOptions } from './use-chart-reference-line.js';
|
9
9
|
import { UseChartTooltipOptions } from './use-chart-tooltip.js';
|
10
10
|
import 'react';
|
11
|
-
import '@yamada-ui/utils';
|
12
11
|
import 'recharts/types/chart/generateCategoricalChart';
|
12
|
+
import '@yamada-ui/utils';
|
13
13
|
import 'recharts';
|
14
14
|
import './area-chart-gradient.js';
|
15
15
|
import 'react/jsx-runtime';
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
3
3
|
import { CSSUIObject } from '@yamada-ui/core';
|
4
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
5
|
-
import { Dict } from '@yamada-ui/utils';
|
6
4
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
5
|
+
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { AreaGradientProps } from './area-chart-gradient.mjs';
|
9
8
|
import { AreaSplitProps } from './area-chart-split.mjs';
|
@@ -114,7 +113,7 @@ declare const useAreaChart: ({ data, series, type, layoutType, withGradient: wit
|
|
114
113
|
__prefix?: string | undefined;
|
115
114
|
name: string;
|
116
115
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
117
|
-
value?: (
|
116
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
118
117
|
}[];
|
119
118
|
setHighlightedArea: react.Dispatch<react.SetStateAction<string | null>>;
|
120
119
|
};
|
package/dist/use-area-chart.d.ts
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
3
3
|
import { CSSUIObject } from '@yamada-ui/core';
|
4
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
5
|
-
import { Dict } from '@yamada-ui/utils';
|
6
4
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
5
|
+
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { AreaGradientProps } from './area-chart-gradient.js';
|
9
8
|
import { AreaSplitProps } from './area-chart-split.js';
|
@@ -114,7 +113,7 @@ declare const useAreaChart: ({ data, series, type, layoutType, withGradient: wit
|
|
114
113
|
__prefix?: string | undefined;
|
115
114
|
name: string;
|
116
115
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
117
|
-
value?: (
|
116
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
118
117
|
}[];
|
119
118
|
setHighlightedArea: react.Dispatch<react.SetStateAction<string | null>>;
|
120
119
|
};
|
package/dist/use-bar-chart.d.mts
CHANGED
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
2
2
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
3
3
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
4
4
|
import { CSSUIObject } from '@yamada-ui/core';
|
5
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
6
5
|
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { BarProps, BarChartType, ChartLayoutType, BarChartProps, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.mjs';
|
@@ -60,7 +59,7 @@ declare const useBarChart: ({ data, series, type, layoutType, referenceLineProps
|
|
60
59
|
__prefix?: string | undefined;
|
61
60
|
name: string;
|
62
61
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
63
|
-
value?: (
|
62
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
64
63
|
}[];
|
65
64
|
getBarProps: RequiredChartPropGetter<"div", {
|
66
65
|
index: number;
|
package/dist/use-bar-chart.d.ts
CHANGED
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
2
2
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
3
3
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
4
4
|
import { CSSUIObject } from '@yamada-ui/core';
|
5
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
6
5
|
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { BarProps, BarChartType, ChartLayoutType, BarChartProps, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.js';
|
@@ -60,7 +59,7 @@ declare const useBarChart: ({ data, series, type, layoutType, referenceLineProps
|
|
60
59
|
__prefix?: string | undefined;
|
61
60
|
name: string;
|
62
61
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
63
|
-
value?: (
|
62
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
64
63
|
}[];
|
65
64
|
getBarProps: RequiredChartPropGetter<"div", {
|
66
65
|
index: number;
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
3
3
|
import { CSSUIObject } from '@yamada-ui/core';
|
4
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
5
|
-
import { Dict } from '@yamada-ui/utils';
|
6
4
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
5
|
+
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { LineProps, LineChartProps, ChartLayoutType, ChartCurveType, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.mjs';
|
9
8
|
|
@@ -88,7 +87,7 @@ declare const useLineChart: ({ data, series, layoutType, withDots, withActiveDot
|
|
88
87
|
__prefix?: string | undefined;
|
89
88
|
name: string;
|
90
89
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
91
|
-
value?: (
|
90
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
92
91
|
}[];
|
93
92
|
setHighlightedArea: react.Dispatch<react.SetStateAction<string | null>>;
|
94
93
|
};
|
package/dist/use-line-chart.d.ts
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
3
3
|
import { CSSUIObject } from '@yamada-ui/core';
|
4
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
5
|
-
import { Dict } from '@yamada-ui/utils';
|
6
4
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
5
|
+
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { LineProps, LineChartProps, ChartLayoutType, ChartCurveType, ReferenceLineProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.js';
|
9
8
|
|
@@ -88,7 +87,7 @@ declare const useLineChart: ({ data, series, layoutType, withDots, withActiveDot
|
|
88
87
|
__prefix?: string | undefined;
|
89
88
|
name: string;
|
90
89
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
91
|
-
value?: (
|
90
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
92
91
|
}[];
|
93
92
|
setHighlightedArea: react.Dispatch<react.SetStateAction<string | null>>;
|
94
93
|
};
|
package/dist/use-pie-chart.d.mts
CHANGED
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
2
2
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
3
3
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
4
4
|
import { CSSUIObject } from '@yamada-ui/core';
|
5
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
6
5
|
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { CellProps, PieChartProps, PieProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.mjs';
|
@@ -95,7 +94,7 @@ declare const usePieChart: ({ data, withLabels, withLabelLines, strokeWidth, fil
|
|
95
94
|
__prefix?: string | undefined;
|
96
95
|
name: string;
|
97
96
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
98
|
-
value?: (
|
97
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
99
98
|
}[];
|
100
99
|
getPieProps: RequiredChartPropGetter<"div", Partial<Recharts.PieProps> & {
|
101
100
|
labelClassName: string;
|
package/dist/use-pie-chart.d.ts
CHANGED
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
2
2
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
3
3
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
4
4
|
import { CSSUIObject } from '@yamada-ui/core';
|
5
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
6
5
|
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { CellProps, PieChartProps, PieProps, RequiredChartPropGetter, ChartPropGetter } from './chart.types.js';
|
@@ -95,7 +94,7 @@ declare const usePieChart: ({ data, withLabels, withLabelLines, strokeWidth, fil
|
|
95
94
|
__prefix?: string | undefined;
|
96
95
|
name: string;
|
97
96
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
98
|
-
value?: (
|
97
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
99
98
|
}[];
|
100
99
|
getPieProps: RequiredChartPropGetter<"div", Partial<Recharts.PieProps> & {
|
101
100
|
labelClassName: string;
|
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
2
2
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
3
3
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
4
4
|
import { CSSUIProps, CSSUIObject } from '@yamada-ui/core';
|
5
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
6
5
|
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { RadarProps, RadarChartProps, PolarGridProps, PolarAngleAxisProps, PolarRadiusAxisProps, ChartPropGetter, RequiredChartPropGetter } from './chart.types.mjs';
|
@@ -89,7 +88,7 @@ declare const useRadarChart: ({ data, series, dataKey, withDots, withActiveDots,
|
|
89
88
|
__prefix?: string | undefined;
|
90
89
|
name: string;
|
91
90
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
92
|
-
value?: (
|
91
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
93
92
|
}[];
|
94
93
|
getRadarChartProps: ChartPropGetter<"div", recharts_types_chart_generateCategoricalChart.CategoricalChartProps, recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
|
95
94
|
getRadarProps: RequiredChartPropGetter<"div", {
|
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
2
2
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
3
3
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
4
4
|
import { CSSUIProps, CSSUIObject } from '@yamada-ui/core';
|
5
|
-
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
6
5
|
import { Dict } from '@yamada-ui/utils';
|
7
6
|
import * as Recharts from 'recharts';
|
8
7
|
import { RadarProps, RadarChartProps, PolarGridProps, PolarAngleAxisProps, PolarRadiusAxisProps, ChartPropGetter, RequiredChartPropGetter } from './chart.types.js';
|
@@ -89,7 +88,7 @@ declare const useRadarChart: ({ data, series, dataKey, withDots, withActiveDots,
|
|
89
88
|
__prefix?: string | undefined;
|
90
89
|
name: string;
|
91
90
|
token?: "colors" | "transitionDuration" | "transitionProperty" | "animations" | "blurs" | "borders" | "breakpoints" | "fonts" | "fontSizes" | "fontWeights" | "gradients" | "layerStyles" | "letterSpacings" | "lineHeights" | "radii" | "shadows" | "sizes" | "spaces" | "textStyles" | "transitionEasing" | "zIndices" | undefined;
|
92
|
-
value?: (
|
91
|
+
value?: (string | number | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", string | number>> | _yamada_ui_core.ColorModeArray<string | number>) | undefined;
|
93
92
|
}[];
|
94
93
|
getRadarChartProps: ChartPropGetter<"div", recharts_types_chart_generateCategoricalChart.CategoricalChartProps, recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
|
95
94
|
getRadarProps: RequiredChartPropGetter<"div", {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yamada-ui/charts",
|
3
|
-
"version": "1.1.8-dev-
|
3
|
+
"version": "1.1.8-dev-20240620113508",
|
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.4",
|
40
|
-
"@yamada-ui/core": "1.8.0-dev-
|
41
|
-
"@yamada-ui/utils": "1.3.0-dev-
|
40
|
+
"@yamada-ui/core": "1.8.0-dev-20240620113508",
|
41
|
+
"@yamada-ui/utils": "1.3.0-dev-20240620113508"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"clean-package": "2.2.0",
|