@expcat/tigercat-react 0.2.0 → 0.2.27
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/README.md +59 -0
- package/dist/{chunk-6DYS4PJT.mjs → chunk-2UVQIL26.mjs} +1 -1
- package/dist/chunk-4MMT4EJJ.mjs +78 -0
- package/dist/chunk-67EK62HG.mjs +65 -0
- package/dist/{chunk-VXHBQTZS.js → chunk-GY6D4XS3.js} +13 -5
- package/dist/chunk-GZPMLPRW.js +107 -0
- package/dist/{chunk-7JQ7LURS.mjs → chunk-H36CWHUP.mjs} +9 -4
- package/dist/chunk-HUZVBDHV.js +81 -0
- package/dist/chunk-JOHKSMJM.mjs +266 -0
- package/dist/{chunk-WEGU7O4J.mjs → chunk-KOLLAGRK.mjs} +1 -1
- package/dist/{chunk-IS7YOBR7.mjs → chunk-NDOYQK2R.mjs} +13 -5
- package/dist/{chunk-2DOPHSZP.js → chunk-OWUGXP6K.js} +8 -3
- package/dist/chunk-Q2GPRAF4.js +66 -0
- package/dist/{chunk-6PUSRC6S.js → chunk-T3GSXTDU.js} +2 -2
- package/dist/{chunk-UG3I4PCY.js → chunk-VR5OP4MO.js} +2 -2
- package/dist/chunk-X4F6NSI5.mjs +104 -0
- package/dist/chunk-Y6557RWE.mjs +62 -0
- package/dist/chunk-YIF5VX7K.mjs +158 -0
- package/dist/chunk-Z5DDULTA.js +72 -0
- package/dist/chunk-Z6G4HABF.js +272 -0
- package/dist/chunk-ZPWDDAFE.js +162 -0
- package/dist/components/Anchor.d.mts +38 -0
- package/dist/components/Anchor.d.ts +38 -0
- package/dist/components/Anchor.js +20 -0
- package/dist/components/Anchor.mjs +1 -0
- package/dist/components/AnchorLink.d.mts +23 -0
- package/dist/components/AnchorLink.d.ts +23 -0
- package/dist/components/AnchorLink.js +17 -0
- package/dist/components/AnchorLink.mjs +2 -0
- package/dist/components/AreaChart.js +5 -5
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/BackTop.d.mts +21 -0
- package/dist/components/BackTop.d.ts +21 -0
- package/dist/components/BackTop.js +16 -0
- package/dist/components/BackTop.mjs +1 -0
- package/dist/components/BarChart.js +5 -5
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.d.mts +4 -0
- package/dist/components/Breadcrumb.d.ts +4 -0
- package/dist/components/Breadcrumb.js +3 -3
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/BreadcrumbItem.js +3 -3
- package/dist/components/BreadcrumbItem.mjs +2 -2
- package/dist/components/Carousel.d.mts +26 -0
- package/dist/components/Carousel.d.ts +26 -0
- package/dist/components/Carousel.js +10 -0
- package/dist/components/Carousel.mjs +1 -0
- package/dist/components/Collapse.d.mts +29 -0
- package/dist/components/Collapse.d.ts +29 -0
- package/dist/components/Collapse.js +20 -0
- package/dist/components/Collapse.mjs +1 -0
- package/dist/components/CollapsePanel.d.mts +24 -0
- package/dist/components/CollapsePanel.d.ts +24 -0
- package/dist/components/CollapsePanel.js +17 -0
- package/dist/components/CollapsePanel.mjs +2 -0
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/LineChart.js +5 -5
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/ScatterChart.js +5 -5
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +142 -104
- package/dist/index.mjs +34 -28
- package/package.json +6 -2
- package/dist/{chunk-N32MAX4A.js → chunk-2VXA4YOP.js} +1 -1
- package/dist/{chunk-VBSK4TGO.mjs → chunk-2WLSB7K2.mjs} +2 -2
- package/dist/{chunk-CBALIFPW.mjs → chunk-324UKFG2.mjs} +2 -2
- package/dist/{chunk-YER7IQF4.mjs → chunk-5QKBBGIA.mjs} +1 -1
- package/dist/{chunk-OONM7FO7.js → chunk-67WZRMD6.js} +2 -2
- package/dist/{chunk-QI6WAP6Y.js → chunk-7SOL3UJ2.js} +2 -2
- package/dist/{chunk-KBGURVTD.mjs → chunk-AFFSBNYB.mjs} +2 -2
- package/dist/{chunk-LZNG2HGC.mjs → chunk-E6GLWHRL.mjs} +1 -1
- package/dist/{chunk-ZUUG3WOL.js → chunk-KKHKQP6Z.js} +1 -1
- package/dist/{chunk-EJLJYOO7.js → chunk-LWW2LXCP.js} +2 -2
- package/dist/{chunk-A2UW5OKX.mjs → chunk-RKBNIEGF.mjs} +2 -2
- package/dist/{chunk-42UKIFFQ.js → chunk-ZYF5GI2Q.js} +2 -2
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AnchorProps as AnchorProps$1, AnchorDirection } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface AnchorContextValue {
|
|
5
|
+
activeLink: string;
|
|
6
|
+
direction: AnchorDirection;
|
|
7
|
+
registerLink: (href: string) => void;
|
|
8
|
+
unregisterLink: (href: string) => void;
|
|
9
|
+
handleLinkClick: (href: string, event: React.MouseEvent) => void;
|
|
10
|
+
scrollTo: (href: string) => void;
|
|
11
|
+
}
|
|
12
|
+
declare function useAnchorContext(): AnchorContextValue | null;
|
|
13
|
+
interface AnchorProps extends Omit<AnchorProps$1, 'style'> {
|
|
14
|
+
/**
|
|
15
|
+
* Target element to listen for scroll events
|
|
16
|
+
* @default () => window
|
|
17
|
+
*/
|
|
18
|
+
getContainer?: () => HTMLElement | Window;
|
|
19
|
+
/**
|
|
20
|
+
* Click event handler
|
|
21
|
+
*/
|
|
22
|
+
onClick?: (event: React.MouseEvent, href: string) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Change event handler when active anchor changes
|
|
25
|
+
*/
|
|
26
|
+
onChange?: (currentActiveLink: string) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Children (AnchorLink components)
|
|
29
|
+
*/
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Custom styles
|
|
33
|
+
*/
|
|
34
|
+
style?: React.CSSProperties;
|
|
35
|
+
}
|
|
36
|
+
declare const Anchor: React.FC<AnchorProps>;
|
|
37
|
+
|
|
38
|
+
export { Anchor, type AnchorContextValue, type AnchorProps, Anchor as default, useAnchorContext };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkZPWDDAFE_js = require('../chunk-ZPWDDAFE.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Anchor", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkZPWDDAFE_js.Anchor; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkZPWDDAFE_js.Anchor_default; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "useAnchorContext", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkZPWDDAFE_js.useAnchorContext; }
|
|
20
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Anchor, Anchor_default as default, useAnchorContext } from '../chunk-YIF5VX7K.mjs';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
interface AnchorLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
4
|
+
/**
|
|
5
|
+
* Target anchor ID (with #)
|
|
6
|
+
*/
|
|
7
|
+
href: string;
|
|
8
|
+
/**
|
|
9
|
+
* Link title/text
|
|
10
|
+
*/
|
|
11
|
+
title?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Link target attribute
|
|
14
|
+
*/
|
|
15
|
+
target?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Children content
|
|
18
|
+
*/
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
declare const AnchorLink: React.FC<AnchorLinkProps>;
|
|
22
|
+
|
|
23
|
+
export { AnchorLink, type AnchorLinkProps, AnchorLink as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
interface AnchorLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
4
|
+
/**
|
|
5
|
+
* Target anchor ID (with #)
|
|
6
|
+
*/
|
|
7
|
+
href: string;
|
|
8
|
+
/**
|
|
9
|
+
* Link title/text
|
|
10
|
+
*/
|
|
11
|
+
title?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Link target attribute
|
|
14
|
+
*/
|
|
15
|
+
target?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Children content
|
|
18
|
+
*/
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
declare const AnchorLink: React.FC<AnchorLinkProps>;
|
|
22
|
+
|
|
23
|
+
export { AnchorLink, type AnchorLinkProps, AnchorLink as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkZ5DDULTA_js = require('../chunk-Z5DDULTA.js');
|
|
6
|
+
require('../chunk-ZPWDDAFE.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "AnchorLink", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkZ5DDULTA_js.AnchorLink; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkZ5DDULTA_js.AnchorLink_default; }
|
|
17
|
+
});
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunk67WZRMD6_js = require('../chunk-67WZRMD6.js');
|
|
6
6
|
require('../chunk-KQZ4F7FZ.js');
|
|
7
|
-
require('../chunk-E5GD3H7L.js');
|
|
8
|
-
require('../chunk-DUWAV47E.js');
|
|
9
7
|
require('../chunk-3QFHVAZT.js');
|
|
10
8
|
require('../chunk-6PBNFLM7.js');
|
|
11
9
|
require('../chunk-AX5XRD2Q.js');
|
|
12
10
|
require('../chunk-M375I56K.js');
|
|
11
|
+
require('../chunk-E5GD3H7L.js');
|
|
12
|
+
require('../chunk-DUWAV47E.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "AreaChart", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk67WZRMD6_js.AreaChart; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "default", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk67WZRMD6_js.AreaChart_default; }
|
|
23
23
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AreaChart, AreaChart_default as default } from '../chunk-
|
|
1
|
+
export { AreaChart, AreaChart_default as default } from '../chunk-RKBNIEGF.mjs';
|
|
2
2
|
import '../chunk-3CDAG4HD.mjs';
|
|
3
|
-
import '../chunk-RQSQXQN6.mjs';
|
|
4
|
-
import '../chunk-IS467WAO.mjs';
|
|
5
3
|
import '../chunk-677VSTPW.mjs';
|
|
6
4
|
import '../chunk-Z6F67MJE.mjs';
|
|
7
5
|
import '../chunk-SDLMB34Y.mjs';
|
|
8
6
|
import '../chunk-LVC43YX2.mjs';
|
|
7
|
+
import '../chunk-RQSQXQN6.mjs';
|
|
8
|
+
import '../chunk-IS467WAO.mjs';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BackTopProps as BackTopProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface BackTopProps extends BackTopProps$1, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> {
|
|
5
|
+
/**
|
|
6
|
+
* Target element to listen for scroll events
|
|
7
|
+
* @default () => window
|
|
8
|
+
*/
|
|
9
|
+
target?: () => HTMLElement | Window | null;
|
|
10
|
+
/**
|
|
11
|
+
* Click event handler
|
|
12
|
+
*/
|
|
13
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Custom content for the button
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
declare const BackTop: React.FC<BackTopProps>;
|
|
20
|
+
|
|
21
|
+
export { BackTop, type BackTopProps, BackTop as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BackTopProps as BackTopProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface BackTopProps extends BackTopProps$1, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'> {
|
|
5
|
+
/**
|
|
6
|
+
* Target element to listen for scroll events
|
|
7
|
+
* @default () => window
|
|
8
|
+
*/
|
|
9
|
+
target?: () => HTMLElement | Window | null;
|
|
10
|
+
/**
|
|
11
|
+
* Click event handler
|
|
12
|
+
*/
|
|
13
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Custom content for the button
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
declare const BackTop: React.FC<BackTopProps>;
|
|
20
|
+
|
|
21
|
+
export { BackTop, type BackTopProps, BackTop as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkHUZVBDHV_js = require('../chunk-HUZVBDHV.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "BackTop", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkHUZVBDHV_js.BackTop; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkHUZVBDHV_js.BackTop_default; }
|
|
16
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BackTop, BackTop_default as default } from '../chunk-4MMT4EJJ.mjs';
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunk7SOL3UJ2_js = require('../chunk-7SOL3UJ2.js');
|
|
6
6
|
require('../chunk-KQZ4F7FZ.js');
|
|
7
|
-
require('../chunk-E5GD3H7L.js');
|
|
8
|
-
require('../chunk-DUWAV47E.js');
|
|
9
7
|
require('../chunk-3QFHVAZT.js');
|
|
10
8
|
require('../chunk-6PBNFLM7.js');
|
|
11
9
|
require('../chunk-AX5XRD2Q.js');
|
|
12
10
|
require('../chunk-M375I56K.js');
|
|
11
|
+
require('../chunk-E5GD3H7L.js');
|
|
12
|
+
require('../chunk-DUWAV47E.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "BarChart", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk7SOL3UJ2_js.BarChart; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "default", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk7SOL3UJ2_js.BarChart_default; }
|
|
23
23
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { BarChart, BarChart_default as default } from '../chunk-
|
|
1
|
+
export { BarChart, BarChart_default as default } from '../chunk-AFFSBNYB.mjs';
|
|
2
2
|
import '../chunk-3CDAG4HD.mjs';
|
|
3
|
-
import '../chunk-RQSQXQN6.mjs';
|
|
4
|
-
import '../chunk-IS467WAO.mjs';
|
|
5
3
|
import '../chunk-677VSTPW.mjs';
|
|
6
4
|
import '../chunk-Z6F67MJE.mjs';
|
|
7
5
|
import '../chunk-SDLMB34Y.mjs';
|
|
8
6
|
import '../chunk-LVC43YX2.mjs';
|
|
7
|
+
import '../chunk-RQSQXQN6.mjs';
|
|
8
|
+
import '../chunk-IS467WAO.mjs';
|
|
@@ -7,6 +7,10 @@ interface BreadcrumbContextValue {
|
|
|
7
7
|
declare function useBreadcrumbContext(): BreadcrumbContextValue | null;
|
|
8
8
|
interface BreadcrumbProps extends Omit<BreadcrumbProps$1, 'style'>, React.HTMLAttributes<HTMLElement> {
|
|
9
9
|
separator?: BreadcrumbSeparator;
|
|
10
|
+
/**
|
|
11
|
+
* Extra content aligned to the end of the breadcrumb
|
|
12
|
+
*/
|
|
13
|
+
extra?: React.ReactNode;
|
|
10
14
|
}
|
|
11
15
|
declare const Breadcrumb: React.FC<BreadcrumbProps>;
|
|
12
16
|
|
|
@@ -7,6 +7,10 @@ interface BreadcrumbContextValue {
|
|
|
7
7
|
declare function useBreadcrumbContext(): BreadcrumbContextValue | null;
|
|
8
8
|
interface BreadcrumbProps extends Omit<BreadcrumbProps$1, 'style'>, React.HTMLAttributes<HTMLElement> {
|
|
9
9
|
separator?: BreadcrumbSeparator;
|
|
10
|
+
/**
|
|
11
|
+
* Extra content aligned to the end of the breadcrumb
|
|
12
|
+
*/
|
|
13
|
+
extra?: React.ReactNode;
|
|
10
14
|
}
|
|
11
15
|
declare const Breadcrumb: React.FC<BreadcrumbProps>;
|
|
12
16
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOWUGXP6K_js = require('../chunk-OWUGXP6K.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Breadcrumb", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOWUGXP6K_js.Breadcrumb; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "useBreadcrumbContext", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOWUGXP6K_js.useBreadcrumbContext; }
|
|
14
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Breadcrumb, useBreadcrumbContext } from '../chunk-
|
|
1
|
+
export { Breadcrumb, useBreadcrumbContext } from '../chunk-H36CWHUP.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkT3GSXTDU_js = require('../chunk-T3GSXTDU.js');
|
|
4
|
+
require('../chunk-OWUGXP6K.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "BreadcrumbItem", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkT3GSXTDU_js.BreadcrumbItem; }
|
|
11
11
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BreadcrumbItem } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { BreadcrumbItem } from '../chunk-KOLLAGRK.mjs';
|
|
2
|
+
import '../chunk-H36CWHUP.mjs';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CarouselProps as CarouselProps$1, CarouselMethods } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface CarouselProps extends Omit<CarouselProps$1, 'style'> {
|
|
5
|
+
/**
|
|
6
|
+
* Callback when slide changes
|
|
7
|
+
*/
|
|
8
|
+
onChange?: (current: number, prev: number) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Callback before slide changes
|
|
11
|
+
*/
|
|
12
|
+
onBeforeChange?: (current: number, next: number) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Carousel slides
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Custom styles
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
interface CarouselRef extends CarouselMethods {
|
|
23
|
+
}
|
|
24
|
+
declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<CarouselRef>>;
|
|
25
|
+
|
|
26
|
+
export { Carousel, type CarouselProps, type CarouselRef };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CarouselProps as CarouselProps$1, CarouselMethods } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface CarouselProps extends Omit<CarouselProps$1, 'style'> {
|
|
5
|
+
/**
|
|
6
|
+
* Callback when slide changes
|
|
7
|
+
*/
|
|
8
|
+
onChange?: (current: number, prev: number) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Callback before slide changes
|
|
11
|
+
*/
|
|
12
|
+
onBeforeChange?: (current: number, next: number) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Carousel slides
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Custom styles
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
interface CarouselRef extends CarouselMethods {
|
|
23
|
+
}
|
|
24
|
+
declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<CarouselRef>>;
|
|
25
|
+
|
|
26
|
+
export { Carousel, type CarouselProps, type CarouselRef };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Carousel } from '../chunk-JOHKSMJM.mjs';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CollapseProps as CollapseProps$1, ExpandIconPosition } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface CollapseContextValue {
|
|
5
|
+
activeKeys: (string | number)[];
|
|
6
|
+
accordion: boolean;
|
|
7
|
+
expandIconPosition: ExpandIconPosition;
|
|
8
|
+
bordered: boolean;
|
|
9
|
+
ghost: boolean;
|
|
10
|
+
handlePanelClick: (key: string | number) => void;
|
|
11
|
+
}
|
|
12
|
+
declare function useCollapseContext(): CollapseContextValue | null;
|
|
13
|
+
interface CollapseProps extends Omit<CollapseProps$1, 'style'> {
|
|
14
|
+
/**
|
|
15
|
+
* Collapse change event handler
|
|
16
|
+
*/
|
|
17
|
+
onChange?: (activeKey: string | number | (string | number)[] | undefined) => void;
|
|
18
|
+
/**
|
|
19
|
+
* Collapse panels
|
|
20
|
+
*/
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Custom styles
|
|
24
|
+
*/
|
|
25
|
+
style?: React.CSSProperties;
|
|
26
|
+
}
|
|
27
|
+
declare const Collapse: React.FC<CollapseProps>;
|
|
28
|
+
|
|
29
|
+
export { Collapse, type CollapseContextValue, type CollapseProps, Collapse as default, useCollapseContext };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CollapseProps as CollapseProps$1, ExpandIconPosition } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface CollapseContextValue {
|
|
5
|
+
activeKeys: (string | number)[];
|
|
6
|
+
accordion: boolean;
|
|
7
|
+
expandIconPosition: ExpandIconPosition;
|
|
8
|
+
bordered: boolean;
|
|
9
|
+
ghost: boolean;
|
|
10
|
+
handlePanelClick: (key: string | number) => void;
|
|
11
|
+
}
|
|
12
|
+
declare function useCollapseContext(): CollapseContextValue | null;
|
|
13
|
+
interface CollapseProps extends Omit<CollapseProps$1, 'style'> {
|
|
14
|
+
/**
|
|
15
|
+
* Collapse change event handler
|
|
16
|
+
*/
|
|
17
|
+
onChange?: (activeKey: string | number | (string | number)[] | undefined) => void;
|
|
18
|
+
/**
|
|
19
|
+
* Collapse panels
|
|
20
|
+
*/
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Custom styles
|
|
24
|
+
*/
|
|
25
|
+
style?: React.CSSProperties;
|
|
26
|
+
}
|
|
27
|
+
declare const Collapse: React.FC<CollapseProps>;
|
|
28
|
+
|
|
29
|
+
export { Collapse, type CollapseContextValue, type CollapseProps, Collapse as default, useCollapseContext };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkQ2GPRAF4_js = require('../chunk-Q2GPRAF4.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Collapse", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkQ2GPRAF4_js.Collapse; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkQ2GPRAF4_js.Collapse_default; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "useCollapseContext", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkQ2GPRAF4_js.useCollapseContext; }
|
|
20
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Collapse, Collapse_default as default, useCollapseContext } from '../chunk-Y6557RWE.mjs';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CollapsePanelProps as CollapsePanelProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface CollapsePanelProps extends Omit<CollapsePanelProps$1, 'style' | 'header'> {
|
|
5
|
+
/**
|
|
6
|
+
* Panel header content (can be a ReactNode for custom header)
|
|
7
|
+
*/
|
|
8
|
+
header?: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Extra content to show at the end of the header
|
|
11
|
+
*/
|
|
12
|
+
extra?: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Panel content
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Custom styles
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
declare const CollapsePanel: React.FC<CollapsePanelProps>;
|
|
23
|
+
|
|
24
|
+
export { CollapsePanel, type CollapsePanelProps, CollapsePanel as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CollapsePanelProps as CollapsePanelProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface CollapsePanelProps extends Omit<CollapsePanelProps$1, 'style' | 'header'> {
|
|
5
|
+
/**
|
|
6
|
+
* Panel header content (can be a ReactNode for custom header)
|
|
7
|
+
*/
|
|
8
|
+
header?: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Extra content to show at the end of the header
|
|
11
|
+
*/
|
|
12
|
+
extra?: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Panel content
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Custom styles
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
declare const CollapsePanel: React.FC<CollapsePanelProps>;
|
|
23
|
+
|
|
24
|
+
export { CollapsePanel, type CollapsePanelProps, CollapsePanel as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkGZPMLPRW_js = require('../chunk-GZPMLPRW.js');
|
|
6
|
+
require('../chunk-Q2GPRAF4.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "CollapsePanel", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkGZPMLPRW_js.CollapsePanel; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkGZPMLPRW_js.CollapsePanel_default; }
|
|
17
|
+
});
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var chunkVR5OP4MO_js = require('../chunk-VR5OP4MO.js');
|
|
6
|
+
require('../chunk-2VXA4YOP.js');
|
|
7
7
|
require('../chunk-KQZ4F7FZ.js');
|
|
8
|
-
require('../chunk-DUWAV47E.js');
|
|
9
8
|
require('../chunk-6PBNFLM7.js');
|
|
10
9
|
require('../chunk-M375I56K.js');
|
|
10
|
+
require('../chunk-DUWAV47E.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "DonutChart", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkVR5OP4MO_js.DonutChart; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "default", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkVR5OP4MO_js.DonutChart_default; }
|
|
21
21
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DonutChart, DonutChart_default as default } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { DonutChart, DonutChart_default as default } from '../chunk-2UVQIL26.mjs';
|
|
2
|
+
import '../chunk-E6GLWHRL.mjs';
|
|
3
3
|
import '../chunk-3CDAG4HD.mjs';
|
|
4
|
-
import '../chunk-IS467WAO.mjs';
|
|
5
4
|
import '../chunk-Z6F67MJE.mjs';
|
|
6
5
|
import '../chunk-LVC43YX2.mjs';
|
|
6
|
+
import '../chunk-IS467WAO.mjs';
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkLWW2LXCP_js = require('../chunk-LWW2LXCP.js');
|
|
6
6
|
require('../chunk-KQZ4F7FZ.js');
|
|
7
|
-
require('../chunk-E5GD3H7L.js');
|
|
8
|
-
require('../chunk-DUWAV47E.js');
|
|
9
7
|
require('../chunk-3QFHVAZT.js');
|
|
10
8
|
require('../chunk-6PBNFLM7.js');
|
|
11
9
|
require('../chunk-AX5XRD2Q.js');
|
|
12
10
|
require('../chunk-M375I56K.js');
|
|
11
|
+
require('../chunk-E5GD3H7L.js');
|
|
12
|
+
require('../chunk-DUWAV47E.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, "LineChart", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkLWW2LXCP_js.LineChart; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "default", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkLWW2LXCP_js.LineChart_default; }
|
|
23
23
|
});
|