@expcat/tigercat-react 0.2.10 → 0.3.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-4IO2M3ZJ.js +110 -0
- package/dist/chunk-4MMT4EJJ.mjs +78 -0
- package/dist/chunk-67EK62HG.mjs +65 -0
- package/dist/chunk-6YKZAWNX.js +258 -0
- package/dist/chunk-73DMQ2SR.mjs +206 -0
- package/dist/chunk-FAZQT7YP.mjs +255 -0
- package/dist/{chunk-HRYBEBZC.js → chunk-GJKT2B56.js} +5 -1
- 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-5XKYWZZZ.mjs → chunk-HGTF6A46.mjs} +5 -1
- package/dist/chunk-HT2BXCEM.js +264 -0
- package/dist/chunk-HUZVBDHV.js +81 -0
- package/dist/{chunk-6ZC7H22S.mjs → chunk-IAF24RKI.mjs} +1 -1
- package/dist/chunk-IYFSM2GA.mjs +141 -0
- package/dist/chunk-JAVDNFJD.js +144 -0
- package/dist/chunk-JOHKSMJM.mjs +266 -0
- package/dist/{chunk-WEGU7O4J.mjs → chunk-KOLLAGRK.mjs} +1 -1
- package/dist/{chunk-P273E6XE.js → chunk-MQTHGPHF.js} +37 -21
- package/dist/{chunk-IS7YOBR7.mjs → chunk-NDOYQK2R.mjs} +13 -5
- package/dist/chunk-OVWCTDAL.js +209 -0
- package/dist/{chunk-2DOPHSZP.js → chunk-OWUGXP6K.js} +8 -3
- package/dist/{chunk-GIYBVWR4.mjs → chunk-OZLAGTZW.mjs} +38 -22
- package/dist/{chunk-OD2NNQD2.js → chunk-PBJ2J2B3.js} +2 -2
- package/dist/chunk-PVOQUXIB.mjs +189 -0
- package/dist/chunk-Q2GPRAF4.js +66 -0
- package/dist/chunk-R67R3TVA.mjs +261 -0
- package/dist/{chunk-6PUSRC6S.js → chunk-T3GSXTDU.js} +2 -2
- package/dist/chunk-WKGCUR7O.mjs +107 -0
- 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-ZN2BZCTI.js +192 -0
- package/dist/chunk-ZPWDDAFE.js +162 -0
- package/dist/components/ActivityFeed.d.mts +10 -0
- package/dist/components/ActivityFeed.d.ts +10 -0
- package/dist/components/ActivityFeed.js +23 -0
- package/dist/components/ActivityFeed.mjs +8 -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 +4 -4
- package/dist/components/AreaChart.mjs +2 -2
- 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 +4 -4
- package/dist/components/BarChart.mjs +2 -2
- 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/ChatWindow.d.mts +12 -0
- package/dist/components/ChatWindow.d.ts +12 -0
- package/dist/components/ChatWindow.js +20 -0
- package/dist/components/ChatWindow.mjs +5 -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/CommentThread.d.mts +8 -0
- package/dist/components/CommentThread.d.ts +8 -0
- package/dist/components/CommentThread.js +21 -0
- package/dist/components/CommentThread.mjs +6 -0
- package/dist/components/DataTableWithToolbar.d.mts +51 -0
- package/dist/components/DataTableWithToolbar.d.ts +51 -0
- package/dist/components/DataTableWithToolbar.js +24 -0
- package/dist/components/DataTableWithToolbar.mjs +9 -0
- 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/FormItem.js +2 -2
- package/dist/components/FormItem.mjs +1 -1
- package/dist/components/FormWizard.d.mts +10 -0
- package/dist/components/FormWizard.d.ts +10 -0
- package/dist/components/FormWizard.js +19 -0
- package/dist/components/FormWizard.mjs +4 -0
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/NotificationCenter.d.mts +8 -0
- package/dist/components/NotificationCenter.d.ts +8 -0
- package/dist/components/NotificationCenter.js +23 -0
- package/dist/components/NotificationCenter.mjs +8 -0
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +2 -2
- package/dist/components/Table.d.mts +1 -1
- package/dist/components/Table.d.ts +1 -1
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/index.d.mts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +221 -153
- package/dist/index.mjs +51 -39
- package/package.json +2 -2
- package/dist/{chunk-42UKIFFQ.js → chunk-4PTI6ZUK.js} +1 -1
- package/dist/{chunk-LIJLFLYE.js → chunk-4TWHENPT.js} +1 -1
- package/dist/{chunk-OONM7FO7.js → chunk-6E5UKM6O.js} +1 -1
- package/dist/{chunk-KBGURVTD.mjs → chunk-AITVDDCE.mjs} +1 -1
- package/dist/{chunk-CBALIFPW.mjs → chunk-IL2Y5RCX.mjs} +1 -1
- package/dist/{chunk-QI6WAP6Y.js → chunk-L63N3LCG.js} +1 -1
- package/dist/{chunk-A2UW5OKX.mjs → chunk-PT4WLSTJ.mjs} +1 -1
- package/dist/{chunk-EJLJYOO7.js → chunk-SIB4EHB6.js} +1 -1
- package/dist/{chunk-VBSK4TGO.mjs → chunk-WYTHTJN3.mjs} +1 -1
- package/dist/{chunk-7IKJBQQV.mjs → chunk-YGOTPK2W.mjs} +1 -1
|
@@ -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,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 chunk6E5UKM6O_js = require('../chunk-6E5UKM6O.js');
|
|
6
6
|
require('../chunk-KQZ4F7FZ.js');
|
|
7
|
-
require('../chunk-E5GD3H7L.js');
|
|
8
7
|
require('../chunk-DUWAV47E.js');
|
|
9
8
|
require('../chunk-3QFHVAZT.js');
|
|
10
9
|
require('../chunk-6PBNFLM7.js');
|
|
11
10
|
require('../chunk-AX5XRD2Q.js');
|
|
12
11
|
require('../chunk-M375I56K.js');
|
|
12
|
+
require('../chunk-E5GD3H7L.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 chunk6E5UKM6O_js.AreaChart; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "default", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk6E5UKM6O_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-PT4WLSTJ.mjs';
|
|
2
2
|
import '../chunk-3CDAG4HD.mjs';
|
|
3
|
-
import '../chunk-RQSQXQN6.mjs';
|
|
4
3
|
import '../chunk-IS467WAO.mjs';
|
|
5
4
|
import '../chunk-677VSTPW.mjs';
|
|
6
5
|
import '../chunk-Z6F67MJE.mjs';
|
|
7
6
|
import '../chunk-SDLMB34Y.mjs';
|
|
8
7
|
import '../chunk-LVC43YX2.mjs';
|
|
8
|
+
import '../chunk-RQSQXQN6.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 chunkL63N3LCG_js = require('../chunk-L63N3LCG.js');
|
|
6
6
|
require('../chunk-KQZ4F7FZ.js');
|
|
7
|
-
require('../chunk-E5GD3H7L.js');
|
|
8
7
|
require('../chunk-DUWAV47E.js');
|
|
9
8
|
require('../chunk-3QFHVAZT.js');
|
|
10
9
|
require('../chunk-6PBNFLM7.js');
|
|
11
10
|
require('../chunk-AX5XRD2Q.js');
|
|
12
11
|
require('../chunk-M375I56K.js');
|
|
12
|
+
require('../chunk-E5GD3H7L.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 chunkL63N3LCG_js.BarChart; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "default", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkL63N3LCG_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-AITVDDCE.mjs';
|
|
2
2
|
import '../chunk-3CDAG4HD.mjs';
|
|
3
|
-
import '../chunk-RQSQXQN6.mjs';
|
|
4
3
|
import '../chunk-IS467WAO.mjs';
|
|
5
4
|
import '../chunk-677VSTPW.mjs';
|
|
6
5
|
import '../chunk-Z6F67MJE.mjs';
|
|
7
6
|
import '../chunk-SDLMB34Y.mjs';
|
|
8
7
|
import '../chunk-LVC43YX2.mjs';
|
|
8
|
+
import '../chunk-RQSQXQN6.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,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChatWindowProps as ChatWindowProps$1, ChatMessage } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface ChatWindowProps extends ChatWindowProps$1, Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
|
|
5
|
+
/**
|
|
6
|
+
* Custom render for message bubble
|
|
7
|
+
*/
|
|
8
|
+
renderMessage?: (message: ChatMessage, index: number) => React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const ChatWindow: React.FC<ChatWindowProps>;
|
|
11
|
+
|
|
12
|
+
export { ChatWindow, type ChatWindowProps, ChatWindow as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ChatWindowProps as ChatWindowProps$1, ChatMessage } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface ChatWindowProps extends ChatWindowProps$1, Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
|
|
5
|
+
/**
|
|
6
|
+
* Custom render for message bubble
|
|
7
|
+
*/
|
|
8
|
+
renderMessage?: (message: ChatMessage, index: number) => React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const ChatWindow: React.FC<ChatWindowProps>;
|
|
11
|
+
|
|
12
|
+
export { ChatWindow, type ChatWindowProps, ChatWindow as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var chunkZN2BZCTI_js = require('../chunk-ZN2BZCTI.js');
|
|
6
|
+
require('../chunk-CIL2AC3F.js');
|
|
7
|
+
require('../chunk-R7MS42PL.js');
|
|
8
|
+
require('../chunk-A3DJSVTE.js');
|
|
9
|
+
require('../chunk-TZ26HQAW.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "ChatWindow", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkZN2BZCTI_js.ChatWindow; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "default", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkZN2BZCTI_js.ChatWindow_default; }
|
|
20
|
+
});
|
|
@@ -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 };
|