@expcat/tigercat-react 0.0.65 → 0.0.67
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/styles/index.css +4 -0
- package/dist/styles/index.d.mts +2 -0
- package/package.json +12 -9
- package/dist/chunk-2DOPHSZP.js +0 -32
- package/dist/chunk-2TS6X5RA.js +0 -73
- package/dist/chunk-2Y327ZU4.js +0 -493
- package/dist/chunk-3OF7XPIQ.js +0 -90
- package/dist/chunk-3WPKVV4N.js +0 -140
- package/dist/chunk-5FRENLDC.js +0 -194
- package/dist/chunk-5QKMQRCW.js +0 -89
- package/dist/chunk-5ZVSFIZD.js +0 -50
- package/dist/chunk-6MGEGOYJ.js +0 -108
- package/dist/chunk-6PUSRC6S.js +0 -68
- package/dist/chunk-72ZRDBXN.js +0 -25
- package/dist/chunk-77D7VQMG.js +0 -43
- package/dist/chunk-7P6PHSFM.js +0 -548
- package/dist/chunk-AG6GVQ5O.js +0 -271
- package/dist/chunk-AQ6DHCP6.js +0 -53
- package/dist/chunk-AQQRWISY.js +0 -184
- package/dist/chunk-C5EFBJBR.js +0 -540
- package/dist/chunk-D3I2SY7X.js +0 -301
- package/dist/chunk-DZJUFU55.js +0 -300
- package/dist/chunk-EI2GHMQS.js +0 -37
- package/dist/chunk-ENR3RIMM.js +0 -205
- package/dist/chunk-EQWQXURG.js +0 -18
- package/dist/chunk-EUHWE7MN.js +0 -267
- package/dist/chunk-FAKTU64M.js +0 -67
- package/dist/chunk-FQ6UHRAO.js +0 -499
- package/dist/chunk-GX74TC62.js +0 -54
- package/dist/chunk-HDDBBZQH.js +0 -321
- package/dist/chunk-IFY46RWU.js +0 -25
- package/dist/chunk-IQINYCU6.js +0 -99
- package/dist/chunk-IY4LEJYF.js +0 -78
- package/dist/chunk-JW64IJP2.js +0 -210
- package/dist/chunk-KUCFT2OA.js +0 -43
- package/dist/chunk-LNKI6HQ3.js +0 -152
- package/dist/chunk-LXA2YBAO.js +0 -38
- package/dist/chunk-MKWXJZ3T.js +0 -74
- package/dist/chunk-NEULKOYJ.js +0 -48
- package/dist/chunk-NI2WNZRT.js +0 -38
- package/dist/chunk-OFCKGWTS.js +0 -12
- package/dist/chunk-OTRGVENC.js +0 -305
- package/dist/chunk-P273E6XE.js +0 -219
- package/dist/chunk-Q3DPJHNM.js +0 -407
- package/dist/chunk-QFVE7GKD.js +0 -109
- package/dist/chunk-QL6OBKEN.js +0 -84
- package/dist/chunk-QL6UEG3U.js +0 -27
- package/dist/chunk-QORSSZX4.js +0 -144
- package/dist/chunk-R4JSBXGG.js +0 -12
- package/dist/chunk-R5BQHZWB.js +0 -698
- package/dist/chunk-R7MS42PL.js +0 -90
- package/dist/chunk-TB2UHDOZ.js +0 -19
- package/dist/chunk-TBIEWDY5.js +0 -175
- package/dist/chunk-TJFS44SH.js +0 -48
- package/dist/chunk-TZ26HQAW.js +0 -85
- package/dist/chunk-U4ZVEPYD.js +0 -71
- package/dist/chunk-UFAXJVMD.js +0 -120
- package/dist/chunk-VJJ76I7U.js +0 -19
- package/dist/chunk-VO4WDK4K.js +0 -37
- package/dist/chunk-VSF4DF7N.js +0 -84
- package/dist/chunk-VVO4V4IK.js +0 -56
- package/dist/chunk-WK5HN4OH.js +0 -113
- package/dist/chunk-XZDJ5FRB.js +0 -333
- package/dist/chunk-YE2M2HNM.js +0 -168
- package/dist/chunk-YYGTJKP5.js +0 -39
- package/dist/chunk-ZREFCRX3.js +0 -52
- package/dist/components/Alert.d.ts +0 -24
- package/dist/components/Alert.js +0 -10
- package/dist/components/Avatar.d.ts +0 -12
- package/dist/components/Avatar.js +0 -10
- package/dist/components/Badge.d.ts +0 -12
- package/dist/components/Badge.js +0 -10
- package/dist/components/Breadcrumb.d.ts +0 -13
- package/dist/components/Breadcrumb.js +0 -14
- package/dist/components/BreadcrumbItem.d.ts +0 -21
- package/dist/components/BreadcrumbItem.js +0 -11
- package/dist/components/Button.d.ts +0 -8
- package/dist/components/Button.js +0 -10
- package/dist/components/Card.d.ts +0 -33
- package/dist/components/Card.js +0 -10
- package/dist/components/Checkbox.d.ts +0 -48
- package/dist/components/Checkbox.js +0 -11
- package/dist/components/CheckboxGroup.d.ts +0 -39
- package/dist/components/CheckboxGroup.js +0 -14
- package/dist/components/Code.d.ts +0 -9
- package/dist/components/Code.js +0 -16
- package/dist/components/Col.d.ts +0 -7
- package/dist/components/Col.js +0 -11
- package/dist/components/ConfigProvider.d.ts +0 -14
- package/dist/components/ConfigProvider.js +0 -14
- package/dist/components/Container.d.ts +0 -13
- package/dist/components/Container.js +0 -10
- package/dist/components/Content.d.ts +0 -9
- package/dist/components/Content.js +0 -10
- package/dist/components/DatePicker.d.ts +0 -24
- package/dist/components/DatePicker.js +0 -10
- package/dist/components/Descriptions.d.ts +0 -53
- package/dist/components/Descriptions.js +0 -16
- package/dist/components/Divider.d.ts +0 -12
- package/dist/components/Divider.js +0 -10
- package/dist/components/Drawer.d.ts +0 -19
- package/dist/components/Drawer.js +0 -11
- package/dist/components/Dropdown.d.ts +0 -22
- package/dist/components/Dropdown.js +0 -16
- package/dist/components/DropdownItem.d.ts +0 -17
- package/dist/components/DropdownItem.js +0 -13
- package/dist/components/DropdownMenu.d.ts +0 -13
- package/dist/components/DropdownMenu.js +0 -10
- package/dist/components/Footer.d.ts +0 -9
- package/dist/components/Footer.js +0 -10
- package/dist/components/Form.d.ts +0 -56
- package/dist/components/Form.js +0 -14
- package/dist/components/FormItem.d.ts +0 -16
- package/dist/components/FormItem.js +0 -11
- package/dist/components/Header.d.ts +0 -9
- package/dist/components/Header.js +0 -10
- package/dist/components/Icon.d.ts +0 -9
- package/dist/components/Icon.js +0 -10
- package/dist/components/Input.d.ts +0 -28
- package/dist/components/Input.js +0 -10
- package/dist/components/Layout.d.ts +0 -9
- package/dist/components/Layout.js +0 -10
- package/dist/components/Link.d.ts +0 -10
- package/dist/components/Link.js +0 -10
- package/dist/components/List.d.ts +0 -94
- package/dist/components/List.js +0 -12
- package/dist/components/Loading.d.ts +0 -8
- package/dist/components/Loading.js +0 -10
- package/dist/components/Menu.d.ts +0 -35
- package/dist/components/Menu.js +0 -14
- package/dist/components/MenuItem.d.ts +0 -20
- package/dist/components/MenuItem.js +0 -11
- package/dist/components/MenuItemGroup.d.ts +0 -16
- package/dist/components/MenuItemGroup.js +0 -12
- package/dist/components/Message.d.ts +0 -44
- package/dist/components/Message.js +0 -20
- package/dist/components/Modal.d.ts +0 -41
- package/dist/components/Modal.js +0 -11
- package/dist/components/Notification.d.ts +0 -40
- package/dist/components/Notification.js +0 -20
- package/dist/components/Pagination.d.ts +0 -11
- package/dist/components/Pagination.js +0 -16
- package/dist/components/Popconfirm.d.ts +0 -34
- package/dist/components/Popconfirm.js +0 -10
- package/dist/components/Popover.d.ts +0 -14
- package/dist/components/Popover.js +0 -10
- package/dist/components/Progress.d.ts +0 -8
- package/dist/components/Progress.js +0 -10
- package/dist/components/Radio.d.ts +0 -20
- package/dist/components/Radio.js +0 -11
- package/dist/components/RadioGroup.d.ts +0 -28
- package/dist/components/RadioGroup.js +0 -14
- package/dist/components/Row.d.ts +0 -11
- package/dist/components/Row.js +0 -14
- package/dist/components/Select.d.ts +0 -23
- package/dist/components/Select.js +0 -10
- package/dist/components/Sidebar.d.ts +0 -9
- package/dist/components/Sidebar.js +0 -10
- package/dist/components/Skeleton.d.ts +0 -7
- package/dist/components/Skeleton.js +0 -10
- package/dist/components/Slider.d.ts +0 -12
- package/dist/components/Slider.js +0 -10
- package/dist/components/Space.d.ts +0 -11
- package/dist/components/Space.js +0 -10
- package/dist/components/Steps.d.ts +0 -31
- package/dist/components/Steps.js +0 -14
- package/dist/components/StepsItem.d.ts +0 -36
- package/dist/components/StepsItem.js +0 -10
- package/dist/components/SubMenu.d.ts +0 -20
- package/dist/components/SubMenu.js +0 -13
- package/dist/components/Switch.d.ts +0 -12
- package/dist/components/Switch.js +0 -10
- package/dist/components/TabPane.d.ts +0 -42
- package/dist/components/TabPane.js +0 -10
- package/dist/components/Table.d.ts +0 -46
- package/dist/components/Table.js +0 -10
- package/dist/components/Tabs.d.ts +0 -43
- package/dist/components/Tabs.js +0 -14
- package/dist/components/Tag.d.ts +0 -16
- package/dist/components/Tag.js +0 -10
- package/dist/components/Text.d.ts +0 -9
- package/dist/components/Text.js +0 -10
- package/dist/components/Textarea.d.ts +0 -13
- package/dist/components/Textarea.js +0 -10
- package/dist/components/TimePicker.d.ts +0 -28
- package/dist/components/TimePicker.js +0 -10
- package/dist/components/Timeline.d.ts +0 -47
- package/dist/components/Timeline.js +0 -10
- package/dist/components/Tooltip.d.ts +0 -15
- package/dist/components/Tooltip.js +0 -10
- package/dist/components/Tree.d.ts +0 -154
- package/dist/components/Tree.js +0 -16
- package/dist/components/Upload.d.ts +0 -16
- package/dist/components/Upload.js +0 -11
- package/dist/index.d.ts +0 -77
- package/dist/index.js +0 -364
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SpaceProps as SpaceProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
type SpaceProps = SpaceProps$1 & Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'className' | 'style'> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
};
|
|
9
|
-
declare const Space: React.FC<SpaceProps>;
|
|
10
|
-
|
|
11
|
-
export { Space, type SpaceProps };
|
package/dist/components/Space.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StepsProps as StepsProps$1, StepStatus, StepsDirection, StepSize } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface StepsContextValue {
|
|
5
|
-
current: number;
|
|
6
|
-
status: StepStatus;
|
|
7
|
-
direction: StepsDirection;
|
|
8
|
-
size: StepSize;
|
|
9
|
-
simple: boolean;
|
|
10
|
-
clickable: boolean;
|
|
11
|
-
handleStepClick?: (index: number) => void;
|
|
12
|
-
}
|
|
13
|
-
declare function useStepsContext(): StepsContextValue | null;
|
|
14
|
-
interface StepsProps extends StepsProps$1, Omit<React.OlHTMLAttributes<HTMLOListElement>, keyof StepsProps$1 | 'onChange' | 'children'> {
|
|
15
|
-
/**
|
|
16
|
-
* Step change event handler
|
|
17
|
-
*/
|
|
18
|
-
onChange?: (current: number) => void;
|
|
19
|
-
/**
|
|
20
|
-
* Whether steps are clickable
|
|
21
|
-
* @default false
|
|
22
|
-
*/
|
|
23
|
-
clickable?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Step items
|
|
26
|
-
*/
|
|
27
|
-
children?: React.ReactNode;
|
|
28
|
-
}
|
|
29
|
-
declare const Steps: React.FC<StepsProps>;
|
|
30
|
-
|
|
31
|
-
export { Steps, type StepsContextValue, type StepsProps, useStepsContext };
|
package/dist/components/Steps.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkAQQRWISY_js = require('../chunk-AQQRWISY.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "Steps", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkAQQRWISY_js.Steps; }
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(exports, "useStepsContext", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkAQQRWISY_js.useStepsContext; }
|
|
14
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StepStatus } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface StepsItemProps extends Omit<React.LiHTMLAttributes<HTMLLIElement>, 'title' | 'children'> {
|
|
5
|
-
/**
|
|
6
|
-
* Step title
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* Step description
|
|
11
|
-
*/
|
|
12
|
-
description?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Step icon (custom icon element)
|
|
15
|
-
*/
|
|
16
|
-
icon?: React.ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Step status (overrides automatic status)
|
|
19
|
-
*/
|
|
20
|
-
status?: StepStatus;
|
|
21
|
-
/**
|
|
22
|
-
* Whether the step is disabled
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Internal prop: step index (automatically set by parent)
|
|
27
|
-
*/
|
|
28
|
-
stepIndex?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Internal prop: is last step (automatically set by parent)
|
|
31
|
-
*/
|
|
32
|
-
isLast?: boolean;
|
|
33
|
-
}
|
|
34
|
-
declare const StepsItem: React.FC<StepsItemProps>;
|
|
35
|
-
|
|
36
|
-
export { StepsItem, type StepsItemProps };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SubMenuProps as SubMenuProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface SubMenuProps extends SubMenuProps$1 {
|
|
5
|
-
/**
|
|
6
|
-
* Submenu content
|
|
7
|
-
*/
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Nesting level (internal use for indentation)
|
|
11
|
-
*/
|
|
12
|
-
level?: number;
|
|
13
|
-
/**
|
|
14
|
-
* Internal override for collapsed rendering (used by SubMenu popup)
|
|
15
|
-
*/
|
|
16
|
-
collapsed?: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const SubMenu: React.FC<SubMenuProps>;
|
|
19
|
-
|
|
20
|
-
export { SubMenu, type SubMenuProps };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkD3I2SY7X_js = require('../chunk-D3I2SY7X.js');
|
|
4
|
-
require('../chunk-LXA2YBAO.js');
|
|
5
|
-
require('../chunk-3WPKVV4N.js');
|
|
6
|
-
require('../chunk-QFVE7GKD.js');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports, "SubMenu", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () { return chunkD3I2SY7X_js.SubMenu; }
|
|
13
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SwitchProps as SwitchProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'children'>, SwitchProps$1 {
|
|
5
|
-
/**
|
|
6
|
-
* Change event handler
|
|
7
|
-
*/
|
|
8
|
-
onChange?: (checked: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const Switch: React.FC<SwitchProps>;
|
|
11
|
-
|
|
12
|
-
export { Switch, type SwitchProps };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TabPaneProps as TabPaneProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface TabPaneProps extends Omit<TabPaneProps$1, 'tabKey' | 'icon' | 'style'> {
|
|
5
|
-
/**
|
|
6
|
-
* Unique key for the tab pane (required)
|
|
7
|
-
* Note: In React we use 'key' prop, but internally we use 'tabKey' to avoid conflicts
|
|
8
|
-
*/
|
|
9
|
-
tabKey: string | number;
|
|
10
|
-
/**
|
|
11
|
-
* Icon for the tab
|
|
12
|
-
*/
|
|
13
|
-
icon?: React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* Tab pane content
|
|
16
|
-
*/
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* Custom styles
|
|
20
|
-
*/
|
|
21
|
-
style?: React.CSSProperties;
|
|
22
|
-
/**
|
|
23
|
-
* Render mode - 'tab' for tab item, 'pane' for content pane
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
26
|
-
renderMode?: 'tab' | 'pane';
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
tabId?: string;
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
panelId?: string;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
tabIndex?: number;
|
|
39
|
-
}
|
|
40
|
-
declare const TabPane: React.FC<TabPaneProps>;
|
|
41
|
-
|
|
42
|
-
export { TabPane, type TabPaneProps };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { TableProps as TableProps$1, SortState } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface TableProps<T = Record<string, unknown>> extends TableProps$1<T> {
|
|
5
|
-
/**
|
|
6
|
-
* Change event handler (for sort, filter, pagination changes)
|
|
7
|
-
*/
|
|
8
|
-
onChange?: (params: {
|
|
9
|
-
sort: SortState;
|
|
10
|
-
filters: Record<string, unknown>;
|
|
11
|
-
pagination: {
|
|
12
|
-
current: number;
|
|
13
|
-
pageSize: number;
|
|
14
|
-
} | null;
|
|
15
|
-
}) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Row click handler
|
|
18
|
-
*/
|
|
19
|
-
onRowClick?: (record: T, index: number) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Selection change handler
|
|
22
|
-
*/
|
|
23
|
-
onSelectionChange?: (selectedKeys: (string | number)[]) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Sort change handler
|
|
26
|
-
*/
|
|
27
|
-
onSortChange?: (sort: SortState) => void;
|
|
28
|
-
/**
|
|
29
|
-
* Filter change handler
|
|
30
|
-
*/
|
|
31
|
-
onFilterChange?: (filters: Record<string, unknown>) => void;
|
|
32
|
-
/**
|
|
33
|
-
* Page change handler
|
|
34
|
-
*/
|
|
35
|
-
onPageChange?: (page: {
|
|
36
|
-
current: number;
|
|
37
|
-
pageSize: number;
|
|
38
|
-
}) => void;
|
|
39
|
-
/**
|
|
40
|
-
* Additional CSS classes
|
|
41
|
-
*/
|
|
42
|
-
className?: string;
|
|
43
|
-
}
|
|
44
|
-
declare function Table<T extends Record<string, unknown> = Record<string, unknown>>({ columns, columnLockable, dataSource, sort, defaultSort, filters, defaultFilters, size, bordered, striped, hoverable, loading, emptyText, pagination, rowSelection, rowKey, rowClassName, stickyHeader, maxHeight, onChange, onRowClick, onSelectionChange, onSortChange, onFilterChange, onPageChange, className, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
|
|
46
|
-
export { Table, type TableProps };
|
package/dist/components/Table.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TabsProps as TabsProps$1, TabType, TabSize, TabPosition } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface TabsContextValue {
|
|
5
|
-
activeKey: string | number | undefined;
|
|
6
|
-
type: TabType;
|
|
7
|
-
size: TabSize;
|
|
8
|
-
tabPosition: TabPosition;
|
|
9
|
-
closable: boolean;
|
|
10
|
-
destroyInactiveTabPane: boolean;
|
|
11
|
-
idBase: string;
|
|
12
|
-
handleTabClick: (key: string | number) => void;
|
|
13
|
-
handleTabClose: (key: string | number, event: React.SyntheticEvent) => void;
|
|
14
|
-
}
|
|
15
|
-
declare function useTabsContext(): TabsContextValue | null;
|
|
16
|
-
interface TabsProps extends Omit<TabsProps$1, 'style'> {
|
|
17
|
-
/**
|
|
18
|
-
* Tab change event handler
|
|
19
|
-
*/
|
|
20
|
-
onChange?: (key: string | number) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Tab click event handler
|
|
23
|
-
*/
|
|
24
|
-
onTabClick?: (key: string | number) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Tab edit event handler (for closable tabs)
|
|
27
|
-
*/
|
|
28
|
-
onEdit?: (info: {
|
|
29
|
-
targetKey?: string | number;
|
|
30
|
-
action: 'add' | 'remove';
|
|
31
|
-
}) => void;
|
|
32
|
-
/**
|
|
33
|
-
* Tab panes
|
|
34
|
-
*/
|
|
35
|
-
children?: React.ReactNode;
|
|
36
|
-
/**
|
|
37
|
-
* Custom styles
|
|
38
|
-
*/
|
|
39
|
-
style?: React.CSSProperties;
|
|
40
|
-
}
|
|
41
|
-
declare const Tabs: React.FC<TabsProps>;
|
|
42
|
-
|
|
43
|
-
export { Tabs, type TabsContextValue, type TabsProps, useTabsContext };
|
package/dist/components/Tabs.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkHDDBBZQH_js = require('../chunk-HDDBBZQH.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "Tabs", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () { return chunkHDDBBZQH_js.Tabs; }
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(exports, "useTabsContext", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkHDDBBZQH_js.useTabsContext; }
|
|
14
|
-
});
|
package/dist/components/Tag.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TagProps as TagProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
type TagProps = TagProps$1 & Omit<React.HTMLAttributes<HTMLSpanElement>, keyof TagProps$1 | 'onClose'> & {
|
|
5
|
-
/**
|
|
6
|
-
* Close event handler
|
|
7
|
-
*/
|
|
8
|
-
onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
9
|
-
/**
|
|
10
|
-
* Tag content
|
|
11
|
-
*/
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
};
|
|
14
|
-
declare const Tag: React.FC<TagProps>;
|
|
15
|
-
|
|
16
|
-
export { Tag, type TagProps };
|
package/dist/components/Tag.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextProps as TextProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
type TextProps = TextProps$1 & Omit<React.HTMLAttributes<HTMLElement>, 'color' | 'children'> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
};
|
|
7
|
-
declare const Text: React.FC<TextProps>;
|
|
8
|
-
|
|
9
|
-
export { Text, type TextProps };
|
package/dist/components/Text.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextareaProps as TextareaProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface TextareaProps extends TextareaProps$1, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'value' | 'defaultValue' | 'onInput' | 'onChange' | 'onFocus' | 'onBlur' | 'readOnly'> {
|
|
5
|
-
onInput?: (event: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
6
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
7
|
-
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
8
|
-
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
12
|
-
|
|
13
|
-
export { Textarea, type TextareaProps };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TimePickerProps as TimePickerProps$1, TimePickerSingleValue, TimePickerRangeValue as TimePickerRangeValue$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
type TimePickerRangeValue = TimePickerRangeValue$1;
|
|
5
|
-
type NativeDivProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>;
|
|
6
|
-
type BaseTimePickerProps = Omit<TimePickerProps$1, 'value' | 'defaultValue' | 'range'> & NativeDivProps & {
|
|
7
|
-
onClear?: () => void;
|
|
8
|
-
};
|
|
9
|
-
type TimePickerProps = (BaseTimePickerProps & {
|
|
10
|
-
range?: false;
|
|
11
|
-
value?: TimePickerSingleValue;
|
|
12
|
-
defaultValue?: TimePickerSingleValue;
|
|
13
|
-
/**
|
|
14
|
-
* Change event handler
|
|
15
|
-
*/
|
|
16
|
-
onChange?: (time: TimePickerSingleValue) => void;
|
|
17
|
-
}) | (BaseTimePickerProps & {
|
|
18
|
-
range: true;
|
|
19
|
-
value?: TimePickerRangeValue | null;
|
|
20
|
-
defaultValue?: TimePickerRangeValue | null;
|
|
21
|
-
/**
|
|
22
|
-
* Change event handler
|
|
23
|
-
*/
|
|
24
|
-
onChange?: (time: TimePickerRangeValue) => void;
|
|
25
|
-
});
|
|
26
|
-
declare const TimePicker: React.FC<TimePickerProps>;
|
|
27
|
-
|
|
28
|
-
export { TimePicker, type TimePickerProps, type TimePickerRangeValue };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TimelineItem, TimelineMode } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
interface TimelineProps extends Omit<React.HTMLAttributes<HTMLUListElement>, 'children'> {
|
|
5
|
-
/**
|
|
6
|
-
* Timeline data source
|
|
7
|
-
*/
|
|
8
|
-
items?: TimelineItem[];
|
|
9
|
-
/**
|
|
10
|
-
* Timeline mode/direction
|
|
11
|
-
* @default 'left'
|
|
12
|
-
*/
|
|
13
|
-
mode?: TimelineMode;
|
|
14
|
-
/**
|
|
15
|
-
* Whether to show pending state
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
pending?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Pending item dot content
|
|
21
|
-
*/
|
|
22
|
-
pendingDot?: React.ReactNode;
|
|
23
|
-
/**
|
|
24
|
-
* Custom pending content
|
|
25
|
-
*/
|
|
26
|
-
pendingContent?: React.ReactNode;
|
|
27
|
-
/**
|
|
28
|
-
* Whether to reverse the timeline order
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
reverse?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Custom render function for timeline items
|
|
34
|
-
*/
|
|
35
|
-
renderItem?: (item: TimelineItem, index: number) => React.ReactNode;
|
|
36
|
-
/**
|
|
37
|
-
* Custom render function for dot
|
|
38
|
-
*/
|
|
39
|
-
renderDot?: (item: TimelineItem) => React.ReactNode;
|
|
40
|
-
/**
|
|
41
|
-
* Additional CSS classes
|
|
42
|
-
*/
|
|
43
|
-
className?: string;
|
|
44
|
-
}
|
|
45
|
-
declare const Timeline: React.FC<TimelineProps>;
|
|
46
|
-
|
|
47
|
-
export { Timeline, type TimelineProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TooltipProps as TooltipProps$1 } from '@expcat/tigercat-core';
|
|
3
|
-
|
|
4
|
-
type TooltipProps = Omit<TooltipProps$1, 'content' | 'style'> & Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'className' | 'style' | 'content'> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
content?: React.ReactNode;
|
|
7
|
-
/** @deprecated Use `content` (supports ReactNode). */
|
|
8
|
-
contentContent?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
onVisibleChange?: (visible: boolean) => void;
|
|
12
|
-
};
|
|
13
|
-
declare const Tooltip: React.FC<TooltipProps>;
|
|
14
|
-
|
|
15
|
-
export { Tooltip, type TooltipProps };
|