@yamada-ui/charts 1.5.6 → 1.5.7-dev-20241110143958
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/area-chart.d.mts +4 -0
- package/dist/area-chart.d.ts +4 -0
- package/dist/bar-chart.d.mts +4 -0
- package/dist/bar-chart.d.ts +4 -0
- package/dist/donut-chart.d.mts +4 -0
- package/dist/donut-chart.d.ts +4 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/line-chart.d.mts +4 -0
- package/dist/line-chart.d.ts +4 -0
- package/dist/pie-chart.d.mts +4 -0
- package/dist/pie-chart.d.ts +4 -0
- package/dist/radar-chart.d.mts +4 -0
- package/dist/radar-chart.d.ts +4 -0
- package/dist/radial-chart.d.mts +4 -0
- package/dist/radial-chart.d.ts +4 -0
- package/dist/use-area-chart.d.mts +325 -1
- package/dist/use-area-chart.d.ts +325 -1
- package/dist/use-bar-chart.d.mts +325 -1
- package/dist/use-bar-chart.d.ts +325 -1
- package/dist/use-line-chart.d.mts +325 -1
- package/dist/use-line-chart.d.ts +325 -1
- package/dist/use-pie-chart.d.mts +325 -1
- package/dist/use-pie-chart.d.ts +325 -1
- package/dist/use-radar-chart.d.mts +325 -1
- package/dist/use-radar-chart.d.ts +325 -1
- package/dist/use-radial-chart.d.mts +325 -1
- package/dist/use-radial-chart.d.ts +325 -1
- package/package.json +3 -3
@@ -1,3 +1,7 @@
|
|
1
|
+
import * as recharts_types_util_types from 'recharts/types/util/types';
|
2
|
+
import * as recharts_types_chart_types from 'recharts/types/chart/types';
|
3
|
+
import * as lodash from 'lodash';
|
4
|
+
import * as recharts_types_chart_AccessibilityManager from 'recharts/types/chart/AccessibilityManager';
|
1
5
|
import * as recharts_types_chart_generateCategoricalChart from 'recharts/types/chart/generateCategoricalChart';
|
2
6
|
import * as react from 'react';
|
3
7
|
import * as _yamada_ui_utils from '@yamada-ui/utils';
|
@@ -73,7 +77,327 @@ declare const useRadialChart: ({ data: dataProp, dataKey, endAngle, fillOpacity,
|
|
73
77
|
}[];
|
74
78
|
setHighlightedArea: react.Dispatch<react.SetStateAction<string | null>>;
|
75
79
|
getRadialBarProps: RequiredPropGetter<Partial<Recharts.RadialBarProps>, Omit<Recharts.RadialBarProps, "ref">>;
|
76
|
-
getRadialChartProps: PropGetter<recharts_types_chart_generateCategoricalChart.CategoricalChartProps
|
80
|
+
getRadialChartProps: PropGetter<Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
|
81
|
+
readonly eventEmitterSymbol: Symbol;
|
82
|
+
clipPathId: string;
|
83
|
+
accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
|
84
|
+
throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
|
85
|
+
container?: HTMLElement;
|
86
|
+
componentDidMount(): void;
|
87
|
+
displayDefaultTooltip(): void;
|
88
|
+
getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
|
89
|
+
componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
|
90
|
+
componentWillUnmount(): void;
|
91
|
+
getTooltipEventType(): recharts_types_util_types.TooltipEventType;
|
92
|
+
getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
|
93
|
+
xValue: any;
|
94
|
+
yValue: any;
|
95
|
+
chartX: number;
|
96
|
+
chartY: number;
|
97
|
+
} | {
|
98
|
+
activeTooltipIndex: number;
|
99
|
+
activeLabel: any;
|
100
|
+
activePayload: any[];
|
101
|
+
activeCoordinate: recharts_types_util_types.ChartCoordinate;
|
102
|
+
chartX: number;
|
103
|
+
chartY: number;
|
104
|
+
};
|
105
|
+
inRange(x: number, y: number, scale?: number): any;
|
106
|
+
parseEventsOfWrapper(): any;
|
107
|
+
addListener(): void;
|
108
|
+
removeListener(): void;
|
109
|
+
handleLegendBBoxUpdate: (box: DOMRect) => void;
|
110
|
+
handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
|
111
|
+
handleBrushChange: ({ startIndex, endIndex }: {
|
112
|
+
startIndex: number;
|
113
|
+
endIndex: number;
|
114
|
+
}) => void;
|
115
|
+
handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
116
|
+
triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
|
117
|
+
handleItemMouseEnter: (el: any) => void;
|
118
|
+
handleItemMouseLeave: () => void;
|
119
|
+
handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
|
120
|
+
handleMouseLeave: (e: any) => void;
|
121
|
+
handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
|
122
|
+
handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
123
|
+
handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
124
|
+
handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
125
|
+
handleTouchMove: (e: react.TouchEvent<Element>) => void;
|
126
|
+
handleTouchStart: (e: react.TouchEvent<Element>) => void;
|
127
|
+
handleTouchEnd: (e: react.TouchEvent<Element>) => void;
|
128
|
+
triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
129
|
+
applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
130
|
+
filterFormatItem(item: any, displayName: any, childIndex: any): any;
|
131
|
+
renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
132
|
+
renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
133
|
+
renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
134
|
+
renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
135
|
+
renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
136
|
+
renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
137
|
+
renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
138
|
+
renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
|
139
|
+
renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
140
|
+
renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
141
|
+
renderClipPath(): react.JSX.Element;
|
142
|
+
getXScales(): {
|
143
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
144
|
+
};
|
145
|
+
getYScales(): {
|
146
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
147
|
+
};
|
148
|
+
getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
149
|
+
getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
150
|
+
getItemByXY(chartXY: {
|
151
|
+
x: number;
|
152
|
+
y: number;
|
153
|
+
}): {
|
154
|
+
graphicalItem: any;
|
155
|
+
payload: any;
|
156
|
+
};
|
157
|
+
renderMap: {
|
158
|
+
CartesianGrid: {
|
159
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
160
|
+
once: boolean;
|
161
|
+
};
|
162
|
+
ReferenceArea: {
|
163
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
164
|
+
};
|
165
|
+
ReferenceLine: {
|
166
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
167
|
+
};
|
168
|
+
ReferenceDot: {
|
169
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
170
|
+
};
|
171
|
+
XAxis: {
|
172
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
173
|
+
};
|
174
|
+
YAxis: {
|
175
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
176
|
+
};
|
177
|
+
Brush: {
|
178
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
179
|
+
once: boolean;
|
180
|
+
};
|
181
|
+
Bar: {
|
182
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
183
|
+
};
|
184
|
+
Line: {
|
185
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
186
|
+
};
|
187
|
+
Area: {
|
188
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
189
|
+
};
|
190
|
+
Radar: {
|
191
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
192
|
+
};
|
193
|
+
RadialBar: {
|
194
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
195
|
+
};
|
196
|
+
Scatter: {
|
197
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
198
|
+
};
|
199
|
+
Pie: {
|
200
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
201
|
+
};
|
202
|
+
Funnel: {
|
203
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
204
|
+
};
|
205
|
+
Tooltip: {
|
206
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
207
|
+
once: boolean;
|
208
|
+
};
|
209
|
+
PolarGrid: {
|
210
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
211
|
+
once: boolean;
|
212
|
+
};
|
213
|
+
PolarAngleAxis: {
|
214
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
215
|
+
};
|
216
|
+
PolarRadiusAxis: {
|
217
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
218
|
+
};
|
219
|
+
Customized: {
|
220
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
221
|
+
};
|
222
|
+
};
|
223
|
+
render(): react.JSX.Element;
|
224
|
+
context: unknown;
|
225
|
+
setState<K extends keyof recharts_types_chart_types.CategoricalChartState>(state: recharts_types_chart_types.CategoricalChartState | ((prevState: Readonly<recharts_types_chart_types.CategoricalChartState>, props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>) => recharts_types_chart_types.CategoricalChartState | Pick<recharts_types_chart_types.CategoricalChartState, K>) | Pick<recharts_types_chart_types.CategoricalChartState, K>, callback?: () => void): void;
|
226
|
+
forceUpdate(callback?: () => void): void;
|
227
|
+
readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
|
228
|
+
state: Readonly<recharts_types_chart_types.CategoricalChartState>;
|
229
|
+
refs: {
|
230
|
+
[key: string]: react.ReactInstance;
|
231
|
+
};
|
232
|
+
shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
|
233
|
+
componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
|
234
|
+
componentWillMount?(): void;
|
235
|
+
UNSAFE_componentWillMount?(): void;
|
236
|
+
componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
237
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
238
|
+
componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
239
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
240
|
+
}>, "ref">, Omit<recharts_types_chart_generateCategoricalChart.CategoricalChartProps & react.RefAttributes<{
|
241
|
+
readonly eventEmitterSymbol: Symbol;
|
242
|
+
clipPathId: string;
|
243
|
+
accessibilityManager: recharts_types_chart_AccessibilityManager.AccessibilityManager;
|
244
|
+
throttleTriggeredAfterMouseMove: lodash.DebouncedFunc<(e: recharts_types_chart_generateCategoricalChart.MousePointer) => any>;
|
245
|
+
container?: HTMLElement;
|
246
|
+
componentDidMount(): void;
|
247
|
+
displayDefaultTooltip(): void;
|
248
|
+
getSnapshotBeforeUpdate(prevProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, prevState: Readonly<recharts_types_chart_types.CategoricalChartState>): null;
|
249
|
+
componentDidUpdate(prevProps: recharts_types_chart_generateCategoricalChart.CategoricalChartProps): void;
|
250
|
+
componentWillUnmount(): void;
|
251
|
+
getTooltipEventType(): recharts_types_util_types.TooltipEventType;
|
252
|
+
getMouseInfo(event: recharts_types_chart_generateCategoricalChart.MousePointer): {
|
253
|
+
xValue: any;
|
254
|
+
yValue: any;
|
255
|
+
chartX: number;
|
256
|
+
chartY: number;
|
257
|
+
} | {
|
258
|
+
activeTooltipIndex: number;
|
259
|
+
activeLabel: any;
|
260
|
+
activePayload: any[];
|
261
|
+
activeCoordinate: recharts_types_util_types.ChartCoordinate;
|
262
|
+
chartX: number;
|
263
|
+
chartY: number;
|
264
|
+
};
|
265
|
+
inRange(x: number, y: number, scale?: number): any;
|
266
|
+
parseEventsOfWrapper(): any;
|
267
|
+
addListener(): void;
|
268
|
+
removeListener(): void;
|
269
|
+
handleLegendBBoxUpdate: (box: DOMRect) => void;
|
270
|
+
handleReceiveSyncEvent: (cId: string | number, data: recharts_types_chart_types.CategoricalChartState, emitter: Symbol) => void;
|
271
|
+
handleBrushChange: ({ startIndex, endIndex }: {
|
272
|
+
startIndex: number;
|
273
|
+
endIndex: number;
|
274
|
+
}) => void;
|
275
|
+
handleMouseEnter: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
276
|
+
triggeredAfterMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer) => any;
|
277
|
+
handleItemMouseEnter: (el: any) => void;
|
278
|
+
handleItemMouseLeave: () => void;
|
279
|
+
handleMouseMove: (e: recharts_types_chart_generateCategoricalChart.MousePointer & Partial<Omit<react.MouseEvent<Element, MouseEvent>, keyof recharts_types_chart_generateCategoricalChart.MousePointer>>) => void;
|
280
|
+
handleMouseLeave: (e: any) => void;
|
281
|
+
handleOuterEvent: (e: react.MouseEvent<Element, MouseEvent> | react.TouchEvent<Element>) => void;
|
282
|
+
handleClick: (e: react.MouseEvent<Element, MouseEvent>) => void;
|
283
|
+
handleMouseDown: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
284
|
+
handleMouseUp: (e: react.MouseEvent<Element, MouseEvent> | react.Touch) => void;
|
285
|
+
handleTouchMove: (e: react.TouchEvent<Element>) => void;
|
286
|
+
handleTouchStart: (e: react.TouchEvent<Element>) => void;
|
287
|
+
handleTouchEnd: (e: react.TouchEvent<Element>) => void;
|
288
|
+
triggerSyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
289
|
+
applySyncEvent: (data: recharts_types_chart_types.CategoricalChartState) => void;
|
290
|
+
filterFormatItem(item: any, displayName: any, childIndex: any): any;
|
291
|
+
renderCursor: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
292
|
+
renderPolarAxis: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
293
|
+
renderPolarGrid: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
294
|
+
renderLegend: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
295
|
+
renderTooltip: () => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
296
|
+
renderBrush: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
297
|
+
renderReferenceElement: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
298
|
+
renderActivePoints: ({ item, activePoint, basePoint, childIndex, isRange }: any) => react.ReactElement<any, string | react.JSXElementConstructor<any>>[];
|
299
|
+
renderGraphicChild: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
300
|
+
renderCustomized: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
301
|
+
renderClipPath(): react.JSX.Element;
|
302
|
+
getXScales(): {
|
303
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
304
|
+
};
|
305
|
+
getYScales(): {
|
306
|
+
[x: string]: Function | recharts_types_util_types.ScaleType;
|
307
|
+
};
|
308
|
+
getXScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
309
|
+
getYScaleByAxisId(axisId: string): Function | recharts_types_util_types.ScaleType;
|
310
|
+
getItemByXY(chartXY: {
|
311
|
+
x: number;
|
312
|
+
y: number;
|
313
|
+
}): {
|
314
|
+
graphicalItem: any;
|
315
|
+
payload: any;
|
316
|
+
};
|
317
|
+
renderMap: {
|
318
|
+
CartesianGrid: {
|
319
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
320
|
+
once: boolean;
|
321
|
+
};
|
322
|
+
ReferenceArea: {
|
323
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
324
|
+
};
|
325
|
+
ReferenceLine: {
|
326
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
327
|
+
};
|
328
|
+
ReferenceDot: {
|
329
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
330
|
+
};
|
331
|
+
XAxis: {
|
332
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
333
|
+
};
|
334
|
+
YAxis: {
|
335
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
336
|
+
};
|
337
|
+
Brush: {
|
338
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
339
|
+
once: boolean;
|
340
|
+
};
|
341
|
+
Bar: {
|
342
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
343
|
+
};
|
344
|
+
Line: {
|
345
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
346
|
+
};
|
347
|
+
Area: {
|
348
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
349
|
+
};
|
350
|
+
Radar: {
|
351
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
352
|
+
};
|
353
|
+
RadialBar: {
|
354
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
355
|
+
};
|
356
|
+
Scatter: {
|
357
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
358
|
+
};
|
359
|
+
Pie: {
|
360
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
361
|
+
};
|
362
|
+
Funnel: {
|
363
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => any[];
|
364
|
+
};
|
365
|
+
Tooltip: {
|
366
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.JSX.Element;
|
367
|
+
once: boolean;
|
368
|
+
};
|
369
|
+
PolarGrid: {
|
370
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
371
|
+
once: boolean;
|
372
|
+
};
|
373
|
+
PolarAngleAxis: {
|
374
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
375
|
+
};
|
376
|
+
PolarRadiusAxis: {
|
377
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
378
|
+
};
|
379
|
+
Customized: {
|
380
|
+
handler: (element: react.ReactElement<any, string | react.JSXElementConstructor<any>>, displayName: string, index: number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
381
|
+
};
|
382
|
+
};
|
383
|
+
render(): react.JSX.Element;
|
384
|
+
context: unknown;
|
385
|
+
setState<K extends keyof recharts_types_chart_types.CategoricalChartState>(state: recharts_types_chart_types.CategoricalChartState | ((prevState: Readonly<recharts_types_chart_types.CategoricalChartState>, props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>) => recharts_types_chart_types.CategoricalChartState | Pick<recharts_types_chart_types.CategoricalChartState, K>) | Pick<recharts_types_chart_types.CategoricalChartState, K>, callback?: () => void): void;
|
386
|
+
forceUpdate(callback?: () => void): void;
|
387
|
+
readonly props: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>;
|
388
|
+
state: Readonly<recharts_types_chart_types.CategoricalChartState>;
|
389
|
+
refs: {
|
390
|
+
[key: string]: react.ReactInstance;
|
391
|
+
};
|
392
|
+
shouldComponentUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): boolean;
|
393
|
+
componentDidCatch?(error: Error, errorInfo: react.ErrorInfo): void;
|
394
|
+
componentWillMount?(): void;
|
395
|
+
UNSAFE_componentWillMount?(): void;
|
396
|
+
componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
397
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextContext: any): void;
|
398
|
+
componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
399
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<recharts_types_chart_generateCategoricalChart.CategoricalChartProps>, nextState: Readonly<recharts_types_chart_types.CategoricalChartState>, nextContext: any): void;
|
400
|
+
}>, "ref">>;
|
77
401
|
};
|
78
402
|
type UseRadialChartReturn = ReturnType<typeof useRadialChart>;
|
79
403
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yamada-ui/charts",
|
3
|
-
"version": "1.5.
|
3
|
+
"version": "1.5.7-dev-20241110143958",
|
4
4
|
"description": "Yamada UI charts component",
|
5
5
|
"keywords": [
|
6
6
|
"yamada",
|
@@ -36,8 +36,8 @@
|
|
36
36
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"recharts": "^2.13.
|
40
|
-
"@yamada-ui/core": "1.15.
|
39
|
+
"recharts": "^2.13.3",
|
40
|
+
"@yamada-ui/core": "1.15.5-dev-20241110143958",
|
41
41
|
"@yamada-ui/utils": "1.5.4"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|