@npm-questionpro/wick-ui-lib 1.24.3 → 1.26.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/src/components/activityLog/WuActivityLog.d.ts +18 -0
- package/dist/src/components/activityLog/WuActivityLog.test.d.ts +1 -0
- package/dist/src/components/activityLog/index.d.ts +2 -0
- package/dist/src/components/contentEditor/WuContentEditor.d.ts +1 -0
- package/dist/src/components/table/types/IWuRowSelection.d.ts +2 -0
- package/dist/src/components/table/ui/_body.d.ts +2 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/wick-ui-lib/es/index.js +3216 -3109
- package/dist/wick-ui-lib/umd/index.js +7 -7
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const getValueByPath: <T>(obj: T, path: string) => unknown;
|
|
3
|
+
export interface IWuActivityLogAccessorKey {
|
|
4
|
+
id: string;
|
|
5
|
+
date: string;
|
|
6
|
+
time: string;
|
|
7
|
+
userName: string;
|
|
8
|
+
userInitials: string;
|
|
9
|
+
userImage?: string;
|
|
10
|
+
tags?: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IWuActivityLogProps<T = Record<string, unknown>> extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
logs: T[];
|
|
15
|
+
accessorKey: IWuActivityLogAccessorKey;
|
|
16
|
+
}
|
|
17
|
+
export declare const WuActivityLog: <T>({ logs, accessorKey, className, ...props }: IWuActivityLogProps<T>) => React.JSX.Element;
|
|
18
|
+
export default WuActivityLog;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,5 +9,6 @@ export interface IWuContentEditorProps extends React.HTMLAttributes<HTMLDivEleme
|
|
|
9
9
|
classNames?: Record<string, string>;
|
|
10
10
|
customToolbarChildren?: React.ReactNode;
|
|
11
11
|
toolbarItems?: IToolbarExtensionKey[];
|
|
12
|
+
hideToolbar?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export declare const WuContentEditor: React.FC<IWuContentEditorProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Table } from '@tanstack/react-table';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
export declare const WuTableBody: <T>({ table, size, NoDataContent, isLoading, CustomLoader, }: {
|
|
3
|
+
export declare const WuTableBody: <T>({ table, size, NoDataContent, isLoading, CustomLoader, isRowDisabled, }: {
|
|
4
4
|
table: Table<T>;
|
|
5
5
|
size?: "compact" | "default";
|
|
6
6
|
NoDataContent?: React.ReactNode;
|
|
7
7
|
isLoading?: boolean;
|
|
8
8
|
CustomLoader?: React.ReactNode;
|
|
9
|
+
isRowDisabled?: (row: T) => boolean;
|
|
9
10
|
}) => React.JSX.Element;
|