@expcat/tigercat-react 0.1.6 → 0.2.0
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/{chunk-TBIEWDY5.js → chunk-36RRHNZD.js} +13 -2
- package/dist/chunk-3CDAG4HD.mjs +151 -0
- package/dist/chunk-3QFHVAZT.js +68 -0
- package/dist/{chunk-ALP3KYYY.mjs → chunk-3XKBDV2Q.mjs} +5 -5
- package/dist/chunk-42UKIFFQ.js +278 -0
- package/dist/{chunk-K7ZMB2TH.mjs → chunk-5XKYWZZZ.mjs} +16 -22
- package/dist/chunk-677VSTPW.mjs +65 -0
- package/dist/chunk-6DYS4PJT.mjs +99 -0
- package/dist/chunk-6PBNFLM7.js +95 -0
- package/dist/{chunk-DCRVIDMY.mjs → chunk-6ZC7H22S.mjs} +1 -1
- package/dist/{chunk-WSCSDSV7.mjs → chunk-7IKJBQQV.mjs} +27 -5
- package/dist/{chunk-OTRGVENC.js → chunk-7SLNHUGJ.js} +1 -1
- package/dist/chunk-A2UW5OKX.mjs +415 -0
- package/dist/{chunk-NOOPXNR4.mjs → chunk-AGUPZEUL.mjs} +2 -3
- package/dist/chunk-AX5XRD2Q.js +35 -0
- package/dist/{chunk-BJU5N7WU.mjs → chunk-BAPR7UUR.mjs} +7 -7
- package/dist/chunk-CBALIFPW.mjs +275 -0
- package/dist/{chunk-W7HUFFPJ.mjs → chunk-CJJ56NVL.mjs} +19 -19
- package/dist/{chunk-ENR3RIMM.js → chunk-DGBYGBLR.js} +72 -59
- package/dist/chunk-DUWAV47E.js +42 -0
- package/dist/chunk-E5GD3H7L.js +94 -0
- package/dist/chunk-EJLJYOO7.js +367 -0
- package/dist/{chunk-FQ6UHRAO.js → chunk-GQMYCYZ4.js} +6 -27
- package/dist/{chunk-G6FSHN2I.mjs → chunk-GW4EWT2K.mjs} +45 -31
- package/dist/{chunk-AQQRWISY.js → chunk-GXTBCX3M.js} +1 -1
- package/dist/{chunk-HQXZVTP4.mjs → chunk-HGF2EL25.mjs} +74 -61
- package/dist/{chunk-R5BQHZWB.js → chunk-HRYBEBZC.js} +15 -21
- package/dist/{chunk-PAD2DX5M.mjs → chunk-IIVRVCCP.mjs} +6 -24
- package/dist/chunk-IS467WAO.mjs +39 -0
- package/dist/{chunk-CTAMMQBC.mjs → chunk-IS7YOBR7.mjs} +16 -13
- package/dist/{chunk-ADOPAXPG.mjs → chunk-JI7SFMUT.mjs} +2 -2
- package/dist/chunk-KBGURVTD.mjs +282 -0
- package/dist/{chunk-O3EUFIOS.mjs → chunk-KELLYJZY.mjs} +36 -30
- package/dist/{chunk-XZDJ5FRB.js → chunk-KPZTGRNA.js} +5 -23
- package/dist/chunk-KQZ4F7FZ.js +153 -0
- package/dist/{chunk-XDKXL2BP.mjs → chunk-KV4LLPAY.mjs} +14 -3
- package/dist/{chunk-LNKI6HQ3.js → chunk-LIJLFLYE.js} +27 -5
- package/dist/chunk-LVC43YX2.mjs +72 -0
- package/dist/chunk-LZNG2HGC.mjs +227 -0
- package/dist/chunk-M375I56K.js +75 -0
- package/dist/{chunk-7OLWGHUR.mjs → chunk-MF3H7WWW.mjs} +13 -2
- package/dist/chunk-N32MAX4A.js +230 -0
- package/dist/{chunk-YYKJ63LD.mjs → chunk-NMDNLB3C.mjs} +7 -28
- package/dist/{chunk-77D7VQMG.js → chunk-OD2NNQD2.js} +2 -2
- package/dist/chunk-OONM7FO7.js +418 -0
- package/dist/{chunk-Q5Q7FG4U.js → chunk-OZLGNWET.js} +7 -7
- package/dist/{chunk-LAZGEMA2.mjs → chunk-P4EFJIXU.mjs} +1 -1
- package/dist/chunk-QI6WAP6Y.js +285 -0
- package/dist/{chunk-WK5HN4OH.js → chunk-QY6I7LU5.js} +43 -29
- package/dist/{chunk-EUHWE7MN.js → chunk-R7TOQU3U.js} +18 -18
- package/dist/chunk-RQSQXQN6.mjs +91 -0
- package/dist/chunk-SDLMB34Y.mjs +32 -0
- package/dist/chunk-UG3I4PCY.js +102 -0
- package/dist/chunk-VBSK4TGO.mjs +364 -0
- package/dist/{chunk-DZJUFU55.js → chunk-VXHBQTZS.js} +14 -11
- package/dist/chunk-WLIFEALE.mjs +111 -0
- package/dist/{chunk-AQ6DHCP6.js → chunk-XRFK2IXM.js} +4 -4
- package/dist/{chunk-5FRENLDC.js → chunk-Y2JOJ4D6.js} +14 -3
- package/dist/chunk-YER7IQF4.mjs +429 -0
- package/dist/{chunk-NI2WNZRT.js → chunk-YESS6YKC.js} +1 -2
- package/dist/chunk-Z6F67MJE.mjs +92 -0
- package/dist/{chunk-QORSSZX4.js → chunk-ZPFZMXA6.js} +34 -28
- package/dist/chunk-ZUUG3WOL.js +432 -0
- package/dist/chunk-ZYPEO2KY.js +115 -0
- package/dist/components/AreaChart.d.mts +19 -0
- package/dist/components/AreaChart.d.ts +19 -0
- package/dist/components/AreaChart.js +23 -0
- package/dist/components/AreaChart.mjs +8 -0
- package/dist/components/BarChart.d.mts +16 -0
- package/dist/components/BarChart.d.ts +16 -0
- package/dist/components/BarChart.js +23 -0
- package/dist/components/BarChart.mjs +8 -0
- package/dist/components/ChartAxis.d.mts +10 -0
- package/dist/components/ChartAxis.d.ts +10 -0
- package/dist/components/ChartAxis.js +16 -0
- package/dist/components/ChartAxis.mjs +1 -0
- package/dist/components/ChartCanvas.d.mts +9 -0
- package/dist/components/ChartCanvas.d.ts +9 -0
- package/dist/components/ChartCanvas.js +16 -0
- package/dist/components/ChartCanvas.mjs +1 -0
- package/dist/components/ChartGrid.d.mts +11 -0
- package/dist/components/ChartGrid.d.ts +11 -0
- package/dist/components/ChartGrid.js +16 -0
- package/dist/components/ChartGrid.mjs +1 -0
- package/dist/components/ChartLegend.d.mts +17 -0
- package/dist/components/ChartLegend.d.ts +17 -0
- package/dist/components/ChartLegend.js +16 -0
- package/dist/components/ChartLegend.mjs +1 -0
- package/dist/components/ChartSeries.d.mts +18 -0
- package/dist/components/ChartSeries.d.ts +18 -0
- package/dist/components/ChartSeries.js +16 -0
- package/dist/components/ChartSeries.mjs +1 -0
- package/dist/components/ChartTooltip.d.mts +12 -0
- package/dist/components/ChartTooltip.d.ts +12 -0
- package/dist/components/ChartTooltip.js +16 -0
- package/dist/components/ChartTooltip.mjs +1 -0
- package/dist/components/DonutChart.d.mts +14 -0
- package/dist/components/DonutChart.d.ts +14 -0
- package/dist/components/DonutChart.js +21 -0
- package/dist/components/DonutChart.mjs +6 -0
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Drawer.mjs +2 -2
- package/dist/components/Dropdown.d.mts +12 -2
- package/dist/components/Dropdown.d.ts +12 -2
- package/dist/components/Dropdown.js +4 -4
- package/dist/components/Dropdown.mjs +2 -2
- package/dist/components/DropdownItem.js +4 -4
- package/dist/components/DropdownItem.mjs +3 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/LineChart.d.mts +19 -0
- package/dist/components/LineChart.d.ts +19 -0
- package/dist/components/LineChart.js +23 -0
- package/dist/components/LineChart.mjs +8 -0
- package/dist/components/List.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/Message.d.mts +2 -2
- package/dist/components/Message.d.ts +2 -2
- package/dist/components/Message.js +7 -7
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.js +3 -3
- package/dist/components/Modal.mjs +2 -2
- package/dist/components/Notification.js +4 -4
- package/dist/components/Notification.mjs +1 -1
- package/dist/components/Pagination.d.mts +5 -1
- package/dist/components/Pagination.d.ts +5 -1
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/PieChart.d.mts +14 -0
- package/dist/components/PieChart.d.ts +14 -0
- package/dist/components/PieChart.js +20 -0
- package/dist/components/PieChart.mjs +5 -0
- package/dist/components/Popconfirm.d.mts +12 -2
- package/dist/components/Popconfirm.d.ts +12 -2
- package/dist/components/Popconfirm.js +3 -2
- package/dist/components/Popconfirm.mjs +2 -1
- package/dist/components/Popover.d.mts +12 -2
- package/dist/components/Popover.d.ts +12 -2
- package/dist/components/Popover.js +3 -2
- package/dist/components/Popover.mjs +2 -1
- package/dist/components/RadarChart.d.mts +20 -0
- package/dist/components/RadarChart.d.ts +20 -0
- package/dist/components/RadarChart.js +20 -0
- package/dist/components/RadarChart.mjs +5 -0
- package/dist/components/ScatterChart.d.mts +32 -0
- package/dist/components/ScatterChart.d.ts +32 -0
- package/dist/components/ScatterChart.js +23 -0
- package/dist/components/ScatterChart.mjs +8 -0
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Space.js +2 -2
- package/dist/components/Space.mjs +1 -1
- package/dist/components/Steps.js +3 -3
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +2 -2
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tooltip.d.mts +12 -2
- package/dist/components/Tooltip.d.ts +12 -2
- package/dist/components/Tooltip.js +3 -2
- package/dist/components/Tooltip.mjs +2 -1
- package/dist/index.d.mts +98 -2
- package/dist/index.d.ts +98 -2
- package/dist/index.js +180 -110
- package/dist/index.mjs +41 -27
- package/package.json +2 -2
- package/dist/chunk-NEULKOYJ.js +0 -48
- package/dist/chunk-ZO4XVOHU.mjs +0 -45
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AreaChartProps as AreaChartProps$1, AreaChartDatum, AreaChartSeries, ChartPadding, ChartScale } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface AreaChartProps extends AreaChartProps$1 {
|
|
5
|
+
data?: AreaChartDatum[];
|
|
6
|
+
series?: AreaChartSeries[];
|
|
7
|
+
padding?: ChartPadding;
|
|
8
|
+
xScale?: ChartScale;
|
|
9
|
+
yScale?: ChartScale;
|
|
10
|
+
onHoveredIndexChange?: (index: number | null) => void;
|
|
11
|
+
onSelectedIndexChange?: (index: number | null) => void;
|
|
12
|
+
onSeriesClick?: (seriesIndex: number, series: AreaChartSeries) => void;
|
|
13
|
+
onSeriesHover?: (seriesIndex: number | null, series: AreaChartSeries | null) => void;
|
|
14
|
+
onPointClick?: (seriesIndex: number, pointIndex: number, datum: AreaChartDatum) => void;
|
|
15
|
+
onPointHover?: (seriesIndex: number | null, pointIndex: number | null, datum: AreaChartDatum | null) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const AreaChart: React.FC<AreaChartProps>;
|
|
18
|
+
|
|
19
|
+
export { AreaChart, type AreaChartProps, AreaChart as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkOONM7FO7_js = require('../chunk-OONM7FO7.js');
|
|
6
|
+
require('../chunk-KQZ4F7FZ.js');
|
|
7
|
+
require('../chunk-E5GD3H7L.js');
|
|
8
|
+
require('../chunk-DUWAV47E.js');
|
|
9
|
+
require('../chunk-3QFHVAZT.js');
|
|
10
|
+
require('../chunk-6PBNFLM7.js');
|
|
11
|
+
require('../chunk-AX5XRD2Q.js');
|
|
12
|
+
require('../chunk-M375I56K.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Object.defineProperty(exports, "AreaChart", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkOONM7FO7_js.AreaChart; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "default", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkOONM7FO7_js.AreaChart_default; }
|
|
23
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { AreaChart, AreaChart_default as default } from '../chunk-A2UW5OKX.mjs';
|
|
2
|
+
import '../chunk-3CDAG4HD.mjs';
|
|
3
|
+
import '../chunk-RQSQXQN6.mjs';
|
|
4
|
+
import '../chunk-IS467WAO.mjs';
|
|
5
|
+
import '../chunk-677VSTPW.mjs';
|
|
6
|
+
import '../chunk-Z6F67MJE.mjs';
|
|
7
|
+
import '../chunk-SDLMB34Y.mjs';
|
|
8
|
+
import '../chunk-LVC43YX2.mjs';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BarChartProps as BarChartProps$1, BarChartDatum, ChartPadding, ChartScale } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface BarChartProps extends BarChartProps$1 {
|
|
5
|
+
data: BarChartDatum[];
|
|
6
|
+
padding?: ChartPadding;
|
|
7
|
+
xScale?: ChartScale;
|
|
8
|
+
yScale?: ChartScale;
|
|
9
|
+
onHoveredIndexChange?: (index: number | null) => void;
|
|
10
|
+
onSelectedIndexChange?: (index: number | null) => void;
|
|
11
|
+
onBarClick?: (index: number, datum: BarChartDatum) => void;
|
|
12
|
+
onBarHover?: (index: number | null, datum: BarChartDatum | null) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const BarChart: React.FC<BarChartProps>;
|
|
15
|
+
|
|
16
|
+
export { BarChart, type BarChartProps, BarChart as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BarChartProps as BarChartProps$1, BarChartDatum, ChartPadding, ChartScale } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface BarChartProps extends BarChartProps$1 {
|
|
5
|
+
data: BarChartDatum[];
|
|
6
|
+
padding?: ChartPadding;
|
|
7
|
+
xScale?: ChartScale;
|
|
8
|
+
yScale?: ChartScale;
|
|
9
|
+
onHoveredIndexChange?: (index: number | null) => void;
|
|
10
|
+
onSelectedIndexChange?: (index: number | null) => void;
|
|
11
|
+
onBarClick?: (index: number, datum: BarChartDatum) => void;
|
|
12
|
+
onBarHover?: (index: number | null, datum: BarChartDatum | null) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const BarChart: React.FC<BarChartProps>;
|
|
15
|
+
|
|
16
|
+
export { BarChart, type BarChartProps, BarChart as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkQI6WAP6Y_js = require('../chunk-QI6WAP6Y.js');
|
|
6
|
+
require('../chunk-KQZ4F7FZ.js');
|
|
7
|
+
require('../chunk-E5GD3H7L.js');
|
|
8
|
+
require('../chunk-DUWAV47E.js');
|
|
9
|
+
require('../chunk-3QFHVAZT.js');
|
|
10
|
+
require('../chunk-6PBNFLM7.js');
|
|
11
|
+
require('../chunk-AX5XRD2Q.js');
|
|
12
|
+
require('../chunk-M375I56K.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Object.defineProperty(exports, "BarChart", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkQI6WAP6Y_js.BarChart; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "default", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkQI6WAP6Y_js.BarChart_default; }
|
|
23
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { BarChart, BarChart_default as default } from '../chunk-KBGURVTD.mjs';
|
|
2
|
+
import '../chunk-3CDAG4HD.mjs';
|
|
3
|
+
import '../chunk-RQSQXQN6.mjs';
|
|
4
|
+
import '../chunk-IS467WAO.mjs';
|
|
5
|
+
import '../chunk-677VSTPW.mjs';
|
|
6
|
+
import '../chunk-Z6F67MJE.mjs';
|
|
7
|
+
import '../chunk-SDLMB34Y.mjs';
|
|
8
|
+
import '../chunk-LVC43YX2.mjs';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChartAxisProps as ChartAxisProps$1, ChartScale } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface ChartAxisProps extends ChartAxisProps$1, Omit<React.SVGAttributes<SVGGElement>, keyof ChartAxisProps$1> {
|
|
6
|
+
scale: ChartScale;
|
|
7
|
+
}
|
|
8
|
+
declare const ChartAxis: ({ orientation, scale, ticks, tickValues, tickFormat, tickSize, tickPadding, label, labelOffset, x, y, className, ...props }: ChartAxisProps) => react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { ChartAxis, type ChartAxisProps, ChartAxis as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChartAxisProps as ChartAxisProps$1, ChartScale } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface ChartAxisProps extends ChartAxisProps$1, Omit<React.SVGAttributes<SVGGElement>, keyof ChartAxisProps$1> {
|
|
6
|
+
scale: ChartScale;
|
|
7
|
+
}
|
|
8
|
+
declare const ChartAxis: ({ orientation, scale, ticks, tickValues, tickFormat, tickSize, tickPadding, label, labelOffset, x, y, className, ...props }: ChartAxisProps) => react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { ChartAxis, type ChartAxisProps, ChartAxis as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkE5GD3H7L_js = require('../chunk-E5GD3H7L.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "ChartAxis", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkE5GD3H7L_js.ChartAxis; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkE5GD3H7L_js.ChartAxis_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartAxis, ChartAxis_default as default } from '../chunk-RQSQXQN6.mjs';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChartCanvasProps as ChartCanvasProps$1, ChartPadding } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface ChartCanvasProps extends ChartCanvasProps$1, Omit<React.SVGAttributes<SVGSVGElement>, keyof ChartCanvasProps$1> {
|
|
5
|
+
padding?: ChartPadding;
|
|
6
|
+
}
|
|
7
|
+
declare const ChartCanvas: React.FC<ChartCanvasProps>;
|
|
8
|
+
|
|
9
|
+
export { ChartCanvas, type ChartCanvasProps, ChartCanvas as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChartCanvasProps as ChartCanvasProps$1, ChartPadding } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface ChartCanvasProps extends ChartCanvasProps$1, Omit<React.SVGAttributes<SVGSVGElement>, keyof ChartCanvasProps$1> {
|
|
5
|
+
padding?: ChartPadding;
|
|
6
|
+
}
|
|
7
|
+
declare const ChartCanvas: React.FC<ChartCanvasProps>;
|
|
8
|
+
|
|
9
|
+
export { ChartCanvas, type ChartCanvasProps, ChartCanvas as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkDUWAV47E_js = require('../chunk-DUWAV47E.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "ChartCanvas", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkDUWAV47E_js.ChartCanvas; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkDUWAV47E_js.ChartCanvas_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartCanvas, ChartCanvas_default as default } from '../chunk-IS467WAO.mjs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChartGridProps as ChartGridProps$1, ChartScale } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface ChartGridProps extends ChartGridProps$1, Omit<React.SVGAttributes<SVGGElement>, keyof ChartGridProps$1> {
|
|
6
|
+
xScale?: ChartScale;
|
|
7
|
+
yScale?: ChartScale;
|
|
8
|
+
}
|
|
9
|
+
declare const ChartGrid: ({ xScale, yScale, show, xTicks, yTicks, xTickValues, yTickValues, lineStyle, strokeWidth, x, y, className, ...props }: ChartGridProps) => react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { ChartGrid, type ChartGridProps, ChartGrid as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChartGridProps as ChartGridProps$1, ChartScale } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface ChartGridProps extends ChartGridProps$1, Omit<React.SVGAttributes<SVGGElement>, keyof ChartGridProps$1> {
|
|
6
|
+
xScale?: ChartScale;
|
|
7
|
+
yScale?: ChartScale;
|
|
8
|
+
}
|
|
9
|
+
declare const ChartGrid: ({ xScale, yScale, show, xTicks, yTicks, xTickValues, yTickValues, lineStyle, strokeWidth, x, y, className, ...props }: ChartGridProps) => react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { ChartGrid, type ChartGridProps, ChartGrid as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunk3QFHVAZT_js = require('../chunk-3QFHVAZT.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "ChartGrid", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk3QFHVAZT_js.ChartGrid; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk3QFHVAZT_js.ChartGrid_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartGrid, ChartGrid_default as default } from '../chunk-677VSTPW.mjs';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChartLegendItem, ChartLegendPosition } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface ChartLegendProps {
|
|
5
|
+
items: ChartLegendItem[];
|
|
6
|
+
position?: ChartLegendPosition;
|
|
7
|
+
markerSize?: number;
|
|
8
|
+
gap?: number;
|
|
9
|
+
interactive?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
onItemClick?: (index: number, item: ChartLegendItem) => void;
|
|
12
|
+
onItemHover?: (index: number, item: ChartLegendItem) => void;
|
|
13
|
+
onItemLeave?: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare const ChartLegend: React.FC<ChartLegendProps>;
|
|
16
|
+
|
|
17
|
+
export { ChartLegend, type ChartLegendProps, ChartLegend as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChartLegendItem, ChartLegendPosition } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface ChartLegendProps {
|
|
5
|
+
items: ChartLegendItem[];
|
|
6
|
+
position?: ChartLegendPosition;
|
|
7
|
+
markerSize?: number;
|
|
8
|
+
gap?: number;
|
|
9
|
+
interactive?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
onItemClick?: (index: number, item: ChartLegendItem) => void;
|
|
12
|
+
onItemHover?: (index: number, item: ChartLegendItem) => void;
|
|
13
|
+
onItemLeave?: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare const ChartLegend: React.FC<ChartLegendProps>;
|
|
16
|
+
|
|
17
|
+
export { ChartLegend, type ChartLegendProps, ChartLegend as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunk6PBNFLM7_js = require('../chunk-6PBNFLM7.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "ChartLegend", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk6PBNFLM7_js.ChartLegend; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk6PBNFLM7_js.ChartLegend_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartLegend, ChartLegend_default as default } from '../chunk-Z6F67MJE.mjs';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChartSeriesPoint, ChartSeriesProps as ChartSeriesProps$1 } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface ChartSeriesRenderProps<T = ChartSeriesPoint> {
|
|
6
|
+
data: T[];
|
|
7
|
+
name?: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
opacity?: number;
|
|
10
|
+
type?: string;
|
|
11
|
+
}
|
|
12
|
+
interface ChartSeriesProps<T = ChartSeriesPoint> extends ChartSeriesProps$1<T>, Omit<React.SVGAttributes<SVGGElement>, keyof ChartSeriesProps$1<T> | 'children'> {
|
|
13
|
+
data: T[];
|
|
14
|
+
children?: React.ReactNode | ((props: ChartSeriesRenderProps<T>) => React.ReactNode);
|
|
15
|
+
}
|
|
16
|
+
declare const ChartSeries: <T extends ChartSeriesPoint = ChartSeriesPoint>({ data, name, color, opacity, type, className, children, ...props }: ChartSeriesProps<T>) => react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { ChartSeries, type ChartSeriesProps, type ChartSeriesRenderProps, ChartSeries as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChartSeriesPoint, ChartSeriesProps as ChartSeriesProps$1 } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface ChartSeriesRenderProps<T = ChartSeriesPoint> {
|
|
6
|
+
data: T[];
|
|
7
|
+
name?: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
opacity?: number;
|
|
10
|
+
type?: string;
|
|
11
|
+
}
|
|
12
|
+
interface ChartSeriesProps<T = ChartSeriesPoint> extends ChartSeriesProps$1<T>, Omit<React.SVGAttributes<SVGGElement>, keyof ChartSeriesProps$1<T> | 'children'> {
|
|
13
|
+
data: T[];
|
|
14
|
+
children?: React.ReactNode | ((props: ChartSeriesRenderProps<T>) => React.ReactNode);
|
|
15
|
+
}
|
|
16
|
+
declare const ChartSeries: <T extends ChartSeriesPoint = ChartSeriesPoint>({ data, name, color, opacity, type, className, children, ...props }: ChartSeriesProps<T>) => react_jsx_runtime.JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { ChartSeries, type ChartSeriesProps, type ChartSeriesRenderProps, ChartSeries as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkAX5XRD2Q_js = require('../chunk-AX5XRD2Q.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "ChartSeries", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkAX5XRD2Q_js.ChartSeries; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkAX5XRD2Q_js.ChartSeries_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartSeries, ChartSeries_default as default } from '../chunk-SDLMB34Y.mjs';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ChartTooltipProps {
|
|
4
|
+
content: string;
|
|
5
|
+
visible?: boolean;
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const ChartTooltip: React.FC<ChartTooltipProps>;
|
|
11
|
+
|
|
12
|
+
export { ChartTooltip, type ChartTooltipProps, ChartTooltip as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ChartTooltipProps {
|
|
4
|
+
content: string;
|
|
5
|
+
visible?: boolean;
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const ChartTooltip: React.FC<ChartTooltipProps>;
|
|
11
|
+
|
|
12
|
+
export { ChartTooltip, type ChartTooltipProps, ChartTooltip as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkM375I56K_js = require('../chunk-M375I56K.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "ChartTooltip", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkM375I56K_js.ChartTooltip; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkM375I56K_js.ChartTooltip_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChartTooltip, ChartTooltip_default as default } from '../chunk-LVC43YX2.mjs';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DonutChartProps as DonutChartProps$1, DonutChartDatum, ChartPadding } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface DonutChartProps extends DonutChartProps$1 {
|
|
5
|
+
data: DonutChartDatum[];
|
|
6
|
+
padding?: ChartPadding;
|
|
7
|
+
onHoveredIndexChange?: (index: number | null) => void;
|
|
8
|
+
onSelectedIndexChange?: (index: number | null) => void;
|
|
9
|
+
onSliceClick?: (index: number, datum: DonutChartDatum) => void;
|
|
10
|
+
onSliceHover?: (index: number | null, datum: DonutChartDatum | null) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const DonutChart: React.FC<DonutChartProps>;
|
|
13
|
+
|
|
14
|
+
export { DonutChart, type DonutChartProps, DonutChart as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DonutChartProps as DonutChartProps$1, DonutChartDatum, ChartPadding } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface DonutChartProps extends DonutChartProps$1 {
|
|
5
|
+
data: DonutChartDatum[];
|
|
6
|
+
padding?: ChartPadding;
|
|
7
|
+
onHoveredIndexChange?: (index: number | null) => void;
|
|
8
|
+
onSelectedIndexChange?: (index: number | null) => void;
|
|
9
|
+
onSliceClick?: (index: number, datum: DonutChartDatum) => void;
|
|
10
|
+
onSliceHover?: (index: number | null, datum: DonutChartDatum | null) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const DonutChart: React.FC<DonutChartProps>;
|
|
13
|
+
|
|
14
|
+
export { DonutChart, type DonutChartProps, DonutChart as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkUG3I4PCY_js = require('../chunk-UG3I4PCY.js');
|
|
6
|
+
require('../chunk-N32MAX4A.js');
|
|
7
|
+
require('../chunk-KQZ4F7FZ.js');
|
|
8
|
+
require('../chunk-DUWAV47E.js');
|
|
9
|
+
require('../chunk-6PBNFLM7.js');
|
|
10
|
+
require('../chunk-M375I56K.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Object.defineProperty(exports, "DonutChart", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkUG3I4PCY_js.DonutChart; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "default", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkUG3I4PCY_js.DonutChart_default; }
|
|
21
|
+
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkY2JOJ4D6_js = require('../chunk-Y2JOJ4D6.js');
|
|
4
|
+
require('../chunk-ZYPEO2KY.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Drawer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkY2JOJ4D6_js.Drawer; }
|
|
11
11
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Drawer } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Drawer } from '../chunk-KV4LLPAY.mjs';
|
|
2
|
+
import '../chunk-WLIFEALE.mjs';
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DropdownProps as DropdownProps$1 } from '@expcat/tigercat-core';
|
|
2
|
+
import { DropdownProps as DropdownProps$1, FloatingPlacement } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface DropdownContextValue {
|
|
5
5
|
closeOnClick: boolean;
|
|
6
6
|
handleItemClick: () => void;
|
|
7
7
|
}
|
|
8
8
|
declare const DropdownContext: React.Context<DropdownContextValue | null>;
|
|
9
|
-
interface DropdownProps extends Omit<DropdownProps$1, 'style'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
9
|
+
interface DropdownProps extends Omit<DropdownProps$1, 'style' | 'placement'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
10
10
|
style?: React.CSSProperties;
|
|
11
|
+
/**
|
|
12
|
+
* Dropdown placement relative to trigger
|
|
13
|
+
* @default 'bottom-start'
|
|
14
|
+
*/
|
|
15
|
+
placement?: FloatingPlacement;
|
|
16
|
+
/**
|
|
17
|
+
* Offset distance from trigger element
|
|
18
|
+
* @default 4
|
|
19
|
+
*/
|
|
20
|
+
offset?: number;
|
|
11
21
|
/**
|
|
12
22
|
* Visibility change event handler
|
|
13
23
|
*/
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DropdownProps as DropdownProps$1 } from '@expcat/tigercat-core';
|
|
2
|
+
import { DropdownProps as DropdownProps$1, FloatingPlacement } from '@expcat/tigercat-core';
|
|
3
3
|
|
|
4
4
|
interface DropdownContextValue {
|
|
5
5
|
closeOnClick: boolean;
|
|
6
6
|
handleItemClick: () => void;
|
|
7
7
|
}
|
|
8
8
|
declare const DropdownContext: React.Context<DropdownContextValue | null>;
|
|
9
|
-
interface DropdownProps extends Omit<DropdownProps$1, 'style'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
9
|
+
interface DropdownProps extends Omit<DropdownProps$1, 'style' | 'placement'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
10
10
|
style?: React.CSSProperties;
|
|
11
|
+
/**
|
|
12
|
+
* Dropdown placement relative to trigger
|
|
13
|
+
* @default 'bottom-start'
|
|
14
|
+
*/
|
|
15
|
+
placement?: FloatingPlacement;
|
|
16
|
+
/**
|
|
17
|
+
* Offset distance from trigger element
|
|
18
|
+
* @default 4
|
|
19
|
+
*/
|
|
20
|
+
offset?: number;
|
|
11
21
|
/**
|
|
12
22
|
* Visibility change event handler
|
|
13
23
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkLIJLFLYE_js = require('../chunk-LIJLFLYE.js');
|
|
4
|
+
require('../chunk-ZYPEO2KY.js');
|
|
5
5
|
require('../chunk-EQWQXURG.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Dropdown", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkLIJLFLYE_js.Dropdown; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "DropdownContext", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkLIJLFLYE_js.DropdownContext; }
|
|
16
16
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Dropdown, DropdownContext } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Dropdown, DropdownContext } from '../chunk-7IKJBQQV.mjs';
|
|
2
|
+
import '../chunk-WLIFEALE.mjs';
|
|
3
3
|
import '../chunk-SIVJX7VU.mjs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkOD2NNQD2_js = require('../chunk-OD2NNQD2.js');
|
|
4
|
+
require('../chunk-LIJLFLYE.js');
|
|
5
|
+
require('../chunk-ZYPEO2KY.js');
|
|
6
6
|
require('../chunk-EQWQXURG.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "DropdownItem", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkOD2NNQD2_js.DropdownItem; }
|
|
13
13
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DropdownItem } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { DropdownItem } from '../chunk-6ZC7H22S.mjs';
|
|
2
|
+
import '../chunk-7IKJBQQV.mjs';
|
|
3
|
+
import '../chunk-WLIFEALE.mjs';
|
|
4
4
|
import '../chunk-SIVJX7VU.mjs';
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXRFK2IXM_js = require('../chunk-XRFK2IXM.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Icon", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkXRFK2IXM_js.Icon; }
|
|
10
10
|
});
|
package/dist/components/Icon.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Icon } from '../chunk-
|
|
1
|
+
export { Icon } from '../chunk-3XKBDV2Q.mjs';
|