@expcat/tigercat-react 2.0.4 → 2.1.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/README.md +25 -16
- package/dist/chunk-2YOP55OF.mjs +639 -0
- package/dist/{chunk-V6P7ZK6O.mjs → chunk-7EMCZVJ2.mjs} +1 -1
- package/dist/chunk-EW43YBPV.mjs +457 -0
- package/dist/{chunk-QJE3MZBO.mjs → chunk-FSMJLJFL.mjs} +1 -1
- package/dist/{chunk-BOGOQ44C.mjs → chunk-GCY55TBC.mjs} +1 -1
- package/dist/chunk-GR3Y3XWP.mjs +47 -0
- package/dist/chunk-IGBQGR6G.mjs +234 -0
- package/dist/{chunk-D33BIMGK.mjs → chunk-IR7VA6AO.mjs} +11 -1
- package/dist/chunk-J76R2S62.mjs +161 -0
- package/dist/{chunk-2WGEHH5A.mjs → chunk-JQJM65RJ.mjs} +1 -1
- package/dist/{chunk-7AFRHC7P.mjs → chunk-KC55B62J.mjs} +127 -42
- package/dist/chunk-KRDHM5KB.mjs +259 -0
- package/dist/chunk-M5MZWOHF.mjs +180 -0
- package/dist/chunk-MFPVVGNA.mjs +248 -0
- package/dist/chunk-NLGLBTSM.mjs +138 -0
- package/dist/chunk-NT7GW2FD.mjs +40 -0
- package/dist/chunk-OKYMTHFQ.mjs +279 -0
- package/dist/{chunk-LBXNMCXN.mjs → chunk-OZ5XLR22.mjs} +6 -1
- package/dist/{chunk-HHIW7V7B.mjs → chunk-PFL4HNWM.mjs} +1 -8
- package/dist/chunk-RUAPTIQ7.mjs +181 -0
- package/dist/chunk-SEOG5AGS.mjs +72 -0
- package/dist/chunk-TQ6RIFWR.mjs +135 -0
- package/dist/chunk-U4M3DC2P.mjs +48 -0
- package/dist/{chunk-YIB6ZXZF.mjs → chunk-UETARXIK.mjs} +239 -52
- package/dist/chunk-XT43B7ZI.mjs +58 -0
- package/dist/components/ActivityFeed.mjs +1 -1
- package/dist/components/AreaChart.mjs +2 -2
- package/dist/components/AspectRatio.d.mts +10 -0
- package/dist/components/AspectRatio.mjs +8 -0
- package/dist/components/BarChart.mjs +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChatWindow.mjs +1 -1
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/ContextMenu.d.mts +36 -0
- package/dist/components/ContextMenu.mjs +17 -0
- package/dist/components/DataExport.mjs +1 -1
- package/dist/components/DataTableWithToolbar.mjs +5 -5
- package/dist/components/Highlight.d.mts +11 -0
- package/dist/components/Highlight.mjs +8 -0
- package/dist/components/ImageCompare.d.mts +15 -0
- package/dist/components/ImageCompare.mjs +8 -0
- package/dist/components/InputOTP.d.mts +33 -0
- package/dist/components/InputOTP.mjs +12 -0
- package/dist/components/Kbd.d.mts +10 -0
- package/dist/components/Kbd.mjs +8 -0
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/List.mjs +2 -2
- package/dist/components/LoadingBar.d.mts +8 -0
- package/dist/components/LoadingBar.mjs +138 -0
- package/dist/components/LoadingBarContainer.d.mts +8 -0
- package/dist/components/LoadingBarContainer.mjs +8 -0
- package/dist/components/LoadingBarRoot.d.mts +6 -0
- package/dist/components/LoadingBarRoot.mjs +6 -0
- package/dist/components/Marquee.d.mts +10 -0
- package/dist/components/Marquee.mjs +8 -0
- package/dist/components/MaskInput.d.mts +37 -0
- package/dist/components/MaskInput.mjs +10 -0
- package/dist/components/Masonry.d.mts +10 -0
- package/dist/components/Masonry.mjs +8 -0
- package/dist/components/NavigationMenu.d.mts +84 -0
- package/dist/components/NavigationMenu.mjs +23 -0
- package/dist/components/NotificationCenter.mjs +3 -3
- package/dist/components/PageHeader.d.mts +34 -0
- package/dist/components/PageHeader.mjs +11 -0
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/ScatterChart.mjs +2 -2
- package/dist/components/ScrollArea.d.mts +10 -0
- package/dist/components/ScrollArea.mjs +8 -0
- package/dist/components/SplitButton.d.mts +38 -0
- package/dist/components/SplitButton.mjs +12 -0
- package/dist/components/Table.mjs +2 -2
- package/dist/components/TagsInput.d.mts +41 -0
- package/dist/components/TagsInput.mjs +13 -0
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/index.d.mts +17 -1
- package/dist/index.mjs +356 -0
- package/package.json +117 -2
- package/dist/{chunk-NCHUEGUW.mjs → chunk-H6MVW5YD.mjs} +3 -3
- package/dist/{chunk-UT5BV2VO.mjs → chunk-I4MWOYJS.mjs} +3 -3
- package/dist/{chunk-E7OTDBI6.mjs → chunk-NWVNTZOP.mjs} +3 -3
- package/dist/{chunk-FYINJRYN.mjs → chunk-RQ4PUK6G.mjs} +3 -3
- package/dist/{chunk-KMP5CVNK.mjs → chunk-UKY2EPS3.mjs} +3 -3
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { NavigationMenuProps as NavigationMenuProps$1, FloatingPlacement, NavigationMenuValue, NavigationMenuContentProps as NavigationMenuContentProps$1, NavigationMenuItemProps as NavigationMenuItemProps$1, NavigationMenuLinkProps as NavigationMenuLinkProps$1, NavigationMenuTriggerProps as NavigationMenuTriggerProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface NavigationMenuContextValue {
|
|
5
|
+
value: NavigationMenuValue | null;
|
|
6
|
+
setValue: (next: NavigationMenuValue | null, options?: {
|
|
7
|
+
restoreFocus?: boolean;
|
|
8
|
+
}) => void;
|
|
9
|
+
scheduleOpen: (itemValue: NavigationMenuValue) => void;
|
|
10
|
+
scheduleClose: (itemValue: NavigationMenuValue) => void;
|
|
11
|
+
cancelClose: () => void;
|
|
12
|
+
closeOnClick: boolean;
|
|
13
|
+
handleItemClick: () => void;
|
|
14
|
+
handleFocusLeave: (event: React__default.FocusEvent<HTMLElement>) => void;
|
|
15
|
+
portal: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
offset: number;
|
|
18
|
+
placement: FloatingPlacement;
|
|
19
|
+
showArrow: boolean;
|
|
20
|
+
menubarRef: React__default.RefObject<HTMLElement | null>;
|
|
21
|
+
isFocusOpenSuppressed: () => boolean;
|
|
22
|
+
}
|
|
23
|
+
interface NavigationMenuItemContextValue {
|
|
24
|
+
value: NavigationMenuValue;
|
|
25
|
+
isOpen: boolean;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
hasPanel: boolean;
|
|
28
|
+
setHasPanel: (next: boolean) => void;
|
|
29
|
+
triggerRef: React__default.RefObject<HTMLElement | null>;
|
|
30
|
+
contentRef: React__default.RefObject<HTMLElement | null>;
|
|
31
|
+
contentId: string;
|
|
32
|
+
open: (focusPanel?: boolean) => void;
|
|
33
|
+
close: () => void;
|
|
34
|
+
scheduleOpen: () => void;
|
|
35
|
+
scheduleClose: () => void;
|
|
36
|
+
cancelClose: () => void;
|
|
37
|
+
showArrow: boolean;
|
|
38
|
+
}
|
|
39
|
+
interface NavigationMenuContentContextValue {
|
|
40
|
+
inPanel: true;
|
|
41
|
+
}
|
|
42
|
+
declare const NavigationMenuContext: React__default.Context<NavigationMenuContextValue | null>;
|
|
43
|
+
declare const NavigationMenuItemContext: React__default.Context<NavigationMenuItemContextValue | null>;
|
|
44
|
+
declare const NavigationMenuContentContext: React__default.Context<NavigationMenuContentContextValue | null>;
|
|
45
|
+
interface NavigationMenuLinkProps extends Omit<NavigationMenuLinkProps$1, 'className' | 'style'> {
|
|
46
|
+
className?: string;
|
|
47
|
+
style?: React__default.CSSProperties;
|
|
48
|
+
onClick?: (event: React__default.MouseEvent<HTMLElement>) => void;
|
|
49
|
+
children?: React__default.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
declare const NavigationMenuLink: React__default.FC<NavigationMenuLinkProps>;
|
|
52
|
+
interface NavigationMenuTriggerProps extends Omit<NavigationMenuTriggerProps$1, 'className' | 'style'> {
|
|
53
|
+
className?: string;
|
|
54
|
+
style?: React__default.CSSProperties;
|
|
55
|
+
children?: React__default.ReactNode;
|
|
56
|
+
}
|
|
57
|
+
declare const NavigationMenuTrigger: React__default.FC<NavigationMenuTriggerProps>;
|
|
58
|
+
interface NavigationMenuContentProps extends Omit<NavigationMenuContentProps$1, 'style'>, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
59
|
+
style?: React__default.CSSProperties;
|
|
60
|
+
children?: React__default.ReactNode;
|
|
61
|
+
}
|
|
62
|
+
declare const NavigationMenuContent: React__default.FC<NavigationMenuContentProps>;
|
|
63
|
+
interface NavigationMenuItemProps extends Omit<NavigationMenuItemProps$1, 'className' | 'style'> {
|
|
64
|
+
className?: string;
|
|
65
|
+
style?: React__default.CSSProperties;
|
|
66
|
+
children?: React__default.ReactNode;
|
|
67
|
+
}
|
|
68
|
+
declare const NavigationMenuItem: React__default.FC<NavigationMenuItemProps>;
|
|
69
|
+
interface NavigationMenuListProps extends Omit<React__default.HTMLAttributes<HTMLUListElement>, 'style'> {
|
|
70
|
+
className?: string;
|
|
71
|
+
style?: React__default.CSSProperties;
|
|
72
|
+
children?: React__default.ReactNode;
|
|
73
|
+
}
|
|
74
|
+
declare const NavigationMenuList: React__default.FC<NavigationMenuListProps>;
|
|
75
|
+
interface NavigationMenuProps extends Omit<NavigationMenuProps$1, 'style'>, Omit<React__default.HTMLAttributes<HTMLElement>, 'style' | 'defaultValue' | 'color'> {
|
|
76
|
+
style?: React__default.CSSProperties;
|
|
77
|
+
placement?: FloatingPlacement;
|
|
78
|
+
onValueChange?: (value: NavigationMenuValue | null) => void;
|
|
79
|
+
onOpenChange?: (open: boolean) => void;
|
|
80
|
+
children?: React__default.ReactNode;
|
|
81
|
+
}
|
|
82
|
+
declare const NavigationMenu: React__default.FC<NavigationMenuProps>;
|
|
83
|
+
|
|
84
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuContentContext, type NavigationMenuContentContextValue, type NavigationMenuContentProps, NavigationMenuContext, type NavigationMenuContextValue, NavigationMenuItem, NavigationMenuItemContext, type NavigationMenuItemContextValue, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavigationMenu,
|
|
3
|
+
NavigationMenuContent,
|
|
4
|
+
NavigationMenuContentContext,
|
|
5
|
+
NavigationMenuContext,
|
|
6
|
+
NavigationMenuItem,
|
|
7
|
+
NavigationMenuItemContext,
|
|
8
|
+
NavigationMenuLink,
|
|
9
|
+
NavigationMenuList,
|
|
10
|
+
NavigationMenuTrigger
|
|
11
|
+
} from "../chunk-2YOP55OF.mjs";
|
|
12
|
+
import "../chunk-HKAZXG74.mjs";
|
|
13
|
+
export {
|
|
14
|
+
NavigationMenu,
|
|
15
|
+
NavigationMenuContent,
|
|
16
|
+
NavigationMenuContentContext,
|
|
17
|
+
NavigationMenuContext,
|
|
18
|
+
NavigationMenuItem,
|
|
19
|
+
NavigationMenuItemContext,
|
|
20
|
+
NavigationMenuLink,
|
|
21
|
+
NavigationMenuList,
|
|
22
|
+
NavigationMenuTrigger
|
|
23
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NotificationCenter,
|
|
3
3
|
NotificationCenter_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JQJM65RJ.mjs";
|
|
5
5
|
import "../chunk-Z3CRHC5F.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-FSMJLJFL.mjs";
|
|
7
|
+
import "../chunk-PFL4HNWM.mjs";
|
|
8
8
|
import "../chunk-Y5X3G2LD.mjs";
|
|
9
9
|
import "../chunk-5TE7KLE5.mjs";
|
|
10
10
|
import "../chunk-ZJWUBR2X.mjs";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { PageHeaderProps as PageHeaderProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface PageHeaderProps extends Omit<PageHeaderProps$1, 'style' | 'title' | 'subTitle'>, Omit<React__default.HTMLAttributes<HTMLElement>, 'title'> {
|
|
5
|
+
/**
|
|
6
|
+
* Page title. Accepts a node so it matches the Vue `#title` slot.
|
|
7
|
+
*/
|
|
8
|
+
title?: React__default.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Secondary text shown beside the title
|
|
11
|
+
*/
|
|
12
|
+
subTitle?: React__default.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Breadcrumb row, typically a Breadcrumb component
|
|
15
|
+
*/
|
|
16
|
+
breadcrumb?: React__default.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Right-aligned action area
|
|
19
|
+
*/
|
|
20
|
+
actions?: React__default.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Custom back control. Replaces the default Button / Link when provided.
|
|
23
|
+
*/
|
|
24
|
+
back?: React__default.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Called when the default back control is activated
|
|
27
|
+
*/
|
|
28
|
+
onBack?: (event: React__default.MouseEvent<HTMLElement>) => void;
|
|
29
|
+
children?: React__default.ReactNode;
|
|
30
|
+
style?: React__default.CSSProperties;
|
|
31
|
+
}
|
|
32
|
+
declare const PageHeader: React__default.ForwardRefExoticComponent<PageHeaderProps & React__default.RefAttributes<HTMLElement>>;
|
|
33
|
+
|
|
34
|
+
export { PageHeader, type PageHeaderProps, PageHeader as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RadarChart,
|
|
3
3
|
RadarChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UKY2EPS3.mjs";
|
|
5
5
|
import "../chunk-DNOPEJ5I.mjs";
|
|
6
|
+
import "../chunk-SDLMB34Y.mjs";
|
|
6
7
|
import "../chunk-YORCCCQX.mjs";
|
|
7
8
|
import "../chunk-DKNVSQSV.mjs";
|
|
8
9
|
import "../chunk-F2ITBDUS.mjs";
|
|
9
|
-
import "../chunk-SDLMB34Y.mjs";
|
|
10
10
|
export {
|
|
11
11
|
RadarChart,
|
|
12
12
|
RadarChart_default as default
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScatterChart,
|
|
3
3
|
ScatterChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NWVNTZOP.mjs";
|
|
5
5
|
import "../chunk-DNOPEJ5I.mjs";
|
|
6
|
+
import "../chunk-SDLMB34Y.mjs";
|
|
6
7
|
import "../chunk-YORCCCQX.mjs";
|
|
7
8
|
import "../chunk-RQSQXQN6.mjs";
|
|
8
9
|
import "../chunk-DKNVSQSV.mjs";
|
|
9
10
|
import "../chunk-677VSTPW.mjs";
|
|
10
11
|
import "../chunk-F2ITBDUS.mjs";
|
|
11
|
-
import "../chunk-SDLMB34Y.mjs";
|
|
12
12
|
import "../chunk-YSIXURBW.mjs";
|
|
13
13
|
import "../chunk-TGXBCKOU.mjs";
|
|
14
14
|
export {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { ScrollAreaProps as ScrollAreaProps$1, ScrollAreaScrollDetail, ScrollAreaInstance } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface ScrollAreaProps extends ScrollAreaProps$1, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onScroll' | 'className'> {
|
|
5
|
+
/** Fired on every viewport scroll with the derived scroll state */
|
|
6
|
+
onScroll?: (detail: ScrollAreaScrollDetail) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const ScrollArea: React__default.ForwardRefExoticComponent<ScrollAreaProps & React__default.RefAttributes<ScrollAreaInstance>>;
|
|
9
|
+
|
|
10
|
+
export { ScrollArea, type ScrollAreaProps, ScrollArea as default };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { SplitButtonProps as SplitButtonProps$1, FloatingPlacement } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface SplitButtonProps extends Omit<SplitButtonProps$1, 'style'>, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'style'> {
|
|
5
|
+
style?: React__default.CSSProperties;
|
|
6
|
+
icon?: React__default.ReactNode;
|
|
7
|
+
loadingIcon?: React__default.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Custom chevron trigger content. Defaults to a rotating chevron.
|
|
10
|
+
*/
|
|
11
|
+
trigger?: React__default.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Menu content. Takes precedence over a `DropdownMenu` found in `children`.
|
|
14
|
+
*/
|
|
15
|
+
menu?: React__default.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Dropdown placement relative to the chevron trigger
|
|
18
|
+
* @default 'bottom-end'
|
|
19
|
+
*/
|
|
20
|
+
placement?: FloatingPlacement;
|
|
21
|
+
/**
|
|
22
|
+
* Offset distance from the chevron trigger
|
|
23
|
+
* @default 4
|
|
24
|
+
*/
|
|
25
|
+
offset?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Primary action click handler. Does not open the menu.
|
|
28
|
+
*/
|
|
29
|
+
onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
30
|
+
/**
|
|
31
|
+
* Called when the dropdown open state changes
|
|
32
|
+
*/
|
|
33
|
+
onOpenChange?: (open: boolean) => void;
|
|
34
|
+
children?: React__default.ReactNode;
|
|
35
|
+
}
|
|
36
|
+
declare const SplitButton: React__default.FC<SplitButtonProps>;
|
|
37
|
+
|
|
38
|
+
export { SplitButton, type SplitButtonProps, SplitButton as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SplitButton,
|
|
3
|
+
SplitButton_default
|
|
4
|
+
} from "../chunk-M5MZWOHF.mjs";
|
|
5
|
+
import "../chunk-YI6YWH66.mjs";
|
|
6
|
+
import "../chunk-5TE7KLE5.mjs";
|
|
7
|
+
import "../chunk-ZJWUBR2X.mjs";
|
|
8
|
+
import "../chunk-HKAZXG74.mjs";
|
|
9
|
+
export {
|
|
10
|
+
SplitButton,
|
|
11
|
+
SplitButton_default as default
|
|
12
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Table
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GCY55TBC.mjs";
|
|
4
4
|
import "../chunk-KVCI2346.mjs";
|
|
5
5
|
import "../chunk-IIWUQK2P.mjs";
|
|
6
6
|
import "../chunk-AKNWUI7K.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-PFL4HNWM.mjs";
|
|
8
8
|
import "../chunk-W7BC4I2Y.mjs";
|
|
9
9
|
import "../chunk-EPWAROC2.mjs";
|
|
10
10
|
import "../chunk-OL3RXYMG.mjs";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { TagsInputProps as TagsInputProps$1 } from '@expcat/tigercat-core';
|
|
3
|
+
|
|
4
|
+
interface TagsInputProps extends TagsInputProps$1, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue' | 'id' | 'onFocus' | 'onBlur'> {
|
|
5
|
+
/**
|
|
6
|
+
* Additional CSS classes
|
|
7
|
+
*/
|
|
8
|
+
className?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Internal shake trigger counter (used by FormItem)
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
_shakeTrigger?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Change event handler, called with the full tag list
|
|
16
|
+
*/
|
|
17
|
+
onChange?: (value: string[]) => void;
|
|
18
|
+
/**
|
|
19
|
+
* Called when a tag is added
|
|
20
|
+
*/
|
|
21
|
+
onAdd?: (tag: string) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Called when a tag is removed
|
|
24
|
+
*/
|
|
25
|
+
onRemove?: (tag: string, index: number) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Called when all tags are cleared
|
|
28
|
+
*/
|
|
29
|
+
onClear?: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* Focus event handler for the inner input
|
|
32
|
+
*/
|
|
33
|
+
onFocus?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Blur event handler for the inner input
|
|
36
|
+
*/
|
|
37
|
+
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
38
|
+
}
|
|
39
|
+
declare const TagsInput: React__default.FC<TagsInputProps>;
|
|
40
|
+
|
|
41
|
+
export { TagsInput, type TagsInputProps, TagsInput as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TagsInput,
|
|
3
|
+
TagsInput_default
|
|
4
|
+
} from "../chunk-KRDHM5KB.mjs";
|
|
5
|
+
import "../chunk-F6T3OLTQ.mjs";
|
|
6
|
+
import "../chunk-MEFARVQI.mjs";
|
|
7
|
+
import "../chunk-7EXOY7GD.mjs";
|
|
8
|
+
import "../chunk-YSIXURBW.mjs";
|
|
9
|
+
import "../chunk-TGXBCKOU.mjs";
|
|
10
|
+
export {
|
|
11
|
+
TagsInput,
|
|
12
|
+
TagsInput_default as default
|
|
13
|
+
};
|
package/dist/index.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ export * from '@expcat/tigercat-core';
|
|
|
2
2
|
export { ConfigProvider, ConfigProviderProps, useTigerConfig } from './components/ConfigProvider.mjs';
|
|
3
3
|
export { Button, ButtonProps } from './components/Button.mjs';
|
|
4
4
|
export { ButtonGroup, ButtonGroupProps } from './components/ButtonGroup.mjs';
|
|
5
|
+
export { SplitButton, SplitButtonProps } from './components/SplitButton.mjs';
|
|
5
6
|
export { Slider, SliderProps } from './components/Slider.mjs';
|
|
6
7
|
export { Switch, SwitchProps } from './components/Switch.mjs';
|
|
7
8
|
export { Checkbox, CheckboxProps } from './components/Checkbox.mjs';
|
|
@@ -22,6 +23,9 @@ export { Container, ContainerProps } from './components/Container.mjs';
|
|
|
22
23
|
export { Link, LinkProps } from './components/Link.mjs';
|
|
23
24
|
export { Text, TextProps } from './components/Text.mjs';
|
|
24
25
|
export { Code, CodeProps } from './components/Code.mjs';
|
|
26
|
+
export { Kbd, KbdProps } from './components/Kbd.mjs';
|
|
27
|
+
export { Highlight, HighlightProps } from './components/Highlight.mjs';
|
|
28
|
+
export { Marquee, MarqueeProps } from './components/Marquee.mjs';
|
|
25
29
|
export { Icon, IconProps } from './components/Icon.mjs';
|
|
26
30
|
export { Layout, ReactLayoutProps as LayoutProps } from './components/Layout.mjs';
|
|
27
31
|
export { Header, ReactHeaderProps as HeaderProps } from './components/Header.mjs';
|
|
@@ -33,6 +37,9 @@ export { Cascader, CascaderProps } from './components/Cascader.mjs';
|
|
|
33
37
|
export { AutoComplete, AutoCompleteProps } from './components/AutoComplete.mjs';
|
|
34
38
|
export { Signature, SignatureProps, SignatureRef } from './components/Signature.mjs';
|
|
35
39
|
export { NumberKeyboard, NumberKeyboardProps } from './components/NumberKeyboard.mjs';
|
|
40
|
+
export { InputOTP, InputOTPProps } from './components/InputOTP.mjs';
|
|
41
|
+
export { TagsInput, TagsInputProps } from './components/TagsInput.mjs';
|
|
42
|
+
export { MaskInput, MaskInputProps } from './components/MaskInput.mjs';
|
|
36
43
|
export { Transfer, TransferProps } from './components/Transfer.mjs';
|
|
37
44
|
export { TreeSelect, TreeSelectProps } from './components/TreeSelect.mjs';
|
|
38
45
|
export { DatePicker, DatePickerProps } from './components/DatePicker.mjs';
|
|
@@ -46,6 +53,7 @@ export { Card, CardProps } from './components/Card.mjs';
|
|
|
46
53
|
export { Avatar, AvatarProps } from './components/Avatar.mjs';
|
|
47
54
|
export { AvatarGroup, AvatarGroupProps } from './components/AvatarGroup.mjs';
|
|
48
55
|
export { Image, ImageProps } from './components/Image.mjs';
|
|
56
|
+
export { ImageCompare, ImageCompareProps } from './components/ImageCompare.mjs';
|
|
49
57
|
export { ImagePreview, ImagePreviewProps } from './components/ImagePreview.mjs';
|
|
50
58
|
export { ImageGroup, ImageGroupContext, ImageGroupContextValue, ImageGroupProps } from './components/ImageGroup.mjs';
|
|
51
59
|
export { ImageCropper, ImageCropperProps, ImageCropperRef } from './components/ImageCropper.mjs';
|
|
@@ -65,6 +73,9 @@ export { Breadcrumb, BreadcrumbContextValue, BreadcrumbItem, BreadcrumbItemProps
|
|
|
65
73
|
export { Steps, StepsContextValue, StepsItem, StepsItemProps, StepsProps, useStepsContext } from './components/Steps.mjs';
|
|
66
74
|
export { Pagination, PaginationProps } from './components/Pagination.mjs';
|
|
67
75
|
export { Dropdown, DropdownContextValue, DropdownItem, DropdownItemProps, DropdownMenu, DropdownMenuProps, DropdownProps } from './components/Dropdown.mjs';
|
|
76
|
+
export { ContextMenu, ContextMenuContextValue, ContextMenuItem, ContextMenuItemProps, ContextMenuMenu, ContextMenuMenuProps, ContextMenuProps, ContextMenuSub, ContextMenuSubProps } from './components/ContextMenu.mjs';
|
|
77
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuContextValue, NavigationMenuItem, NavigationMenuItemContextValue, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps } from './components/NavigationMenu.mjs';
|
|
78
|
+
export { PageHeader, PageHeaderProps } from './components/PageHeader.mjs';
|
|
68
79
|
export { Spotlight, SpotlightProps } from './components/Spotlight.mjs';
|
|
69
80
|
export { ScrollSpy, ScrollSpyProps } from './components/ScrollSpy.mjs';
|
|
70
81
|
export { Drawer, DrawerProps } from './components/Drawer.mjs';
|
|
@@ -75,6 +86,8 @@ export { MessageContainer, MessageContainerProps } from './components/MessageCon
|
|
|
75
86
|
export { NotificationProps, notification } from './components/NotificationRoot.mjs';
|
|
76
87
|
export { NotificationContainer, NotificationContainerProps } from './components/NotificationContainer.mjs';
|
|
77
88
|
export { Loading, LoadingProps } from './components/Loading.mjs';
|
|
89
|
+
export { LoadingBar, LoadingBarProps } from './components/LoadingBarRoot.mjs';
|
|
90
|
+
export { LoadingBarContainer, LoadingBarContainerProps } from './components/LoadingBarContainer.mjs';
|
|
78
91
|
export { Popconfirm, PopconfirmProps } from './components/Popconfirm.mjs';
|
|
79
92
|
export { Popover, PopoverProps } from './components/Popover.mjs';
|
|
80
93
|
export { Tooltip, TooltipProps } from './components/Tooltip.mjs';
|
|
@@ -129,6 +142,8 @@ export { UseDragOptions, UseDragReturn, useDrag } from './hooks/useDrag.mjs';
|
|
|
129
142
|
export { useControlledState } from './hooks/useControlledState.mjs';
|
|
130
143
|
export { Splitter, SplitterProps, SplitterResizeEvent } from './components/Splitter.mjs';
|
|
131
144
|
export { Resizable, ResizableProps } from './components/Resizable.mjs';
|
|
145
|
+
export { ScrollArea, ScrollAreaProps } from './components/ScrollArea.mjs';
|
|
146
|
+
export { Masonry, MasonryProps } from './components/Masonry.mjs';
|
|
132
147
|
export { CodeEditor, CodeEditorProps } from './components/CodeEditor.mjs';
|
|
133
148
|
export { RichTextEditor, RichTextEditorProps } from './components/RichTextEditor.mjs';
|
|
134
149
|
export { MarkdownEditor, MarkdownEditorProps } from './components/MarkdownEditor.mjs';
|
|
@@ -141,6 +156,7 @@ export { Gantt, GanttProps } from './components/Gantt.mjs';
|
|
|
141
156
|
export { InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupProps } from './components/InputGroup.mjs';
|
|
142
157
|
export { PrintLayout, PrintLayoutProps, PrintPageBreak, PrintPageBreakProps } from './components/PrintLayout.mjs';
|
|
143
158
|
export { ImageViewer, ImageViewerProps } from './components/ImageViewer.mjs';
|
|
159
|
+
export { AspectRatio, AspectRatioProps } from './components/AspectRatio.mjs';
|
|
144
160
|
export { T as TableProps } from './types-0oVwMXtR.mjs';
|
|
145
161
|
import 'react';
|
|
146
162
|
|
|
@@ -150,6 +166,6 @@ import 'react';
|
|
|
150
166
|
* React components for Tigercat UI library
|
|
151
167
|
*/
|
|
152
168
|
|
|
153
|
-
declare const version = "2.
|
|
169
|
+
declare const version = "2.1.0";
|
|
154
170
|
|
|
155
171
|
export { version };
|