@npm-questionpro/wick-ui-lib 0.18.2 → 0.18.3
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/appHeader/types/WuAppHeaderAccount.d.ts +35 -35
- package/dist/src/components/combobox/WuCombobox.d.ts +2 -2
- package/dist/src/components/select/WuSelect.d.ts +3 -5
- package/dist/wick-ui-lib/es/index.js +193 -187
- package/dist/wick-ui-lib/es/index.js.map +1 -1
- package/dist/wick-ui-lib/umd/index.js +6 -6
- package/dist/wick-ui-lib/umd/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
export interface IWuAppHeaderAccount {
|
|
2
|
-
profile
|
|
3
|
-
title
|
|
4
|
-
subtitle
|
|
5
|
-
companyName
|
|
6
|
-
profilePicture
|
|
7
|
-
initials
|
|
8
|
-
sentimentIndustry
|
|
9
|
-
url
|
|
2
|
+
profile?: {
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
companyName?: string;
|
|
6
|
+
profilePicture?: string;
|
|
7
|
+
initials?: string;
|
|
8
|
+
sentimentIndustry?: string;
|
|
9
|
+
url?: string;
|
|
10
10
|
};
|
|
11
|
-
license
|
|
12
|
-
expiryDate
|
|
13
|
-
expiryAfterQuarter
|
|
14
|
-
expiryDatePostFixString
|
|
15
|
-
subtitle
|
|
16
|
-
showExpiryDate
|
|
17
|
-
title
|
|
18
|
-
upgradeLink
|
|
19
|
-
currentLicenseExpiryDays
|
|
20
|
-
url
|
|
21
|
-
expiryBeforeTwoMonth
|
|
11
|
+
license?: {
|
|
12
|
+
expiryDate?: string;
|
|
13
|
+
expiryAfterQuarter?: boolean;
|
|
14
|
+
expiryDatePostFixString?: string;
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
showExpiryDate?: boolean;
|
|
17
|
+
title?: string;
|
|
18
|
+
upgradeLink?: boolean;
|
|
19
|
+
currentLicenseExpiryDays?: number;
|
|
20
|
+
url?: string;
|
|
21
|
+
expiryBeforeTwoMonth?: boolean;
|
|
22
22
|
};
|
|
23
|
-
settings
|
|
24
|
-
canDisplay
|
|
25
|
-
displayIcon
|
|
23
|
+
settings?: {
|
|
24
|
+
canDisplay?: boolean;
|
|
25
|
+
displayIcon?: boolean;
|
|
26
26
|
icon?: string;
|
|
27
27
|
title: string;
|
|
28
|
-
betaIconHTML
|
|
29
|
-
url
|
|
28
|
+
betaIconHTML?: string;
|
|
29
|
+
url?: string;
|
|
30
30
|
}[];
|
|
31
|
-
usage
|
|
32
|
-
collectedResponseCount
|
|
33
|
-
displayResponseProgressBar
|
|
34
|
-
title
|
|
35
|
-
url
|
|
36
|
-
responseCountPercentage
|
|
31
|
+
usage?: {
|
|
32
|
+
collectedResponseCount?: string;
|
|
33
|
+
displayResponseProgressBar?: boolean;
|
|
34
|
+
title?: string;
|
|
35
|
+
url?: string;
|
|
36
|
+
responseCountPercentage?: number;
|
|
37
37
|
};
|
|
38
|
-
invoice
|
|
39
|
-
size
|
|
40
|
-
title
|
|
41
|
-
url
|
|
38
|
+
invoice?: {
|
|
39
|
+
size?: number;
|
|
40
|
+
title?: string;
|
|
41
|
+
url?: string;
|
|
42
42
|
};
|
|
43
|
-
issueTrackerCount
|
|
43
|
+
issueTrackerCount?: number;
|
|
44
44
|
}
|
|
@@ -5,8 +5,8 @@ export interface IWuComboboxProps<T> {
|
|
|
5
5
|
value: string;
|
|
6
6
|
label: string;
|
|
7
7
|
};
|
|
8
|
-
defaultValue?: T | T[];
|
|
9
|
-
value?: T | T[];
|
|
8
|
+
defaultValue?: T | T[] | null;
|
|
9
|
+
value?: T | T[] | null;
|
|
10
10
|
Header?: React.ReactNode;
|
|
11
11
|
virtualizedThreshold?: number;
|
|
12
12
|
isEllipse?: boolean;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
type IValue<T> = T | T[];
|
|
3
2
|
export interface IWuSelectProps<T> extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'value' | 'defaultValue' | 'onSelect'> {
|
|
4
|
-
defaultValue?:
|
|
3
|
+
defaultValue?: T | T[] | null;
|
|
5
4
|
label?: string;
|
|
6
|
-
value?:
|
|
5
|
+
value?: T | T[] | null;
|
|
7
6
|
data: T[];
|
|
8
7
|
accessorKey: {
|
|
9
8
|
value: string;
|
|
10
9
|
label: string;
|
|
11
10
|
};
|
|
12
|
-
onSelect?: (value:
|
|
11
|
+
onSelect?: (value: T | T[]) => void;
|
|
13
12
|
multiple?: boolean;
|
|
14
13
|
variant?: 'flat' | 'outlined';
|
|
15
14
|
dir?: 'ltr' | 'rtl';
|
|
@@ -27,4 +26,3 @@ export interface IWuSelectProps<T> extends Omit<React.SelectHTMLAttributes<HTMLS
|
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
export declare const WuSelect: <T>({ data, onSelect, multiple, defaultValue, value: controlledValue, accessorKey, variant, dir, placeholder, label, virtualizedThreshold, maxHeight, hasGroup, Header, CustomTrigger, selectAll, disabled, ...rest }: IWuSelectProps<T>) => React.JSX.Element;
|
|
30
|
-
export {};
|