@thecb/components 8.4.7-beta.2 → 8.4.7-beta.4
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/index.d.ts
CHANGED
|
@@ -823,13 +823,17 @@ interface SearchableSelectProps {
|
|
|
823
823
|
items: SearchableSelectOption[];
|
|
824
824
|
selectedItems: SearchableSelectOption[];
|
|
825
825
|
allSelected: boolean;
|
|
826
|
-
toggleSelectAllItems: (
|
|
826
|
+
toggleSelectAllItems: (isSelectAll: boolean) => void;
|
|
827
827
|
selectItem: (item: SearchableSelectOption) => void;
|
|
828
828
|
fields: {
|
|
829
829
|
searchTerm: Field;
|
|
830
830
|
};
|
|
831
|
-
actions
|
|
832
|
-
|
|
831
|
+
actions?: {
|
|
832
|
+
fields: {
|
|
833
|
+
searchTerm: FieldActions;
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
disabled?: boolean;
|
|
833
837
|
placeholder: string;
|
|
834
838
|
}
|
|
835
839
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import Expand from "../../../util/expand";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
Field,
|
|
5
|
+
FieldActions,
|
|
6
|
+
SearchableSelectOption
|
|
7
|
+
} from "../../../types/common";
|
|
4
8
|
|
|
5
9
|
export interface SearchableSelectProps {
|
|
6
10
|
items: SearchableSelectOption[];
|
|
7
11
|
selectedItems: SearchableSelectOption[];
|
|
8
12
|
allSelected: boolean;
|
|
9
|
-
toggleSelectAllItems: (
|
|
13
|
+
toggleSelectAllItems: (isSelectAll: boolean) => void;
|
|
10
14
|
selectItem: (item: SearchableSelectOption) => void;
|
|
11
15
|
fields: {
|
|
12
16
|
searchTerm: Field;
|
|
13
17
|
};
|
|
14
|
-
actions
|
|
15
|
-
|
|
18
|
+
actions?: {
|
|
19
|
+
fields: {
|
|
20
|
+
searchTerm: FieldActions;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
disabled?: boolean;
|
|
16
24
|
placeholder: string;
|
|
17
25
|
}
|
|
18
26
|
|