@rcsb/rcsb-saguaro-app 4.0.2 → 4.0.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/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
# RCSB Saguaro App Changelog
|
|
2
2
|
|
|
3
3
|
[Semantic Versioning](https://semver.org/)
|
|
4
|
+
## [4.0.3] - 2022-02-14
|
|
5
|
+
### Bug fix
|
|
6
|
+
- react-select type definition fixed
|
|
4
7
|
|
|
5
8
|
## [4.0.2] - 2022-02-14
|
|
6
9
|
### Dependency update
|
|
7
10
|
- Multiple dependencies updated
|
|
8
|
-
|
|
11
|
+
|
|
9
12
|
## [4.0.1] - 2022-02-08
|
|
10
13
|
### Dependency update
|
|
11
14
|
- rcsb-api-tools v2.3.1
|
|
@@ -12,7 +12,7 @@ interface SelectButtonInterface {
|
|
|
12
12
|
defaultValue?: string | undefined | null;
|
|
13
13
|
width?: number;
|
|
14
14
|
dropdownTitle?: string;
|
|
15
|
-
optionProps?: (props: OptionProps<OptionPropsInterface, false,
|
|
15
|
+
optionProps?: (props: OptionProps<OptionPropsInterface, false, GroupOptionPropsInterface>) => JSX.Element;
|
|
16
16
|
isAdditionalButton?: boolean;
|
|
17
17
|
}
|
|
18
18
|
export interface SelectOptionInterface {
|
|
@@ -26,6 +26,10 @@ export interface SelectOptionInterface {
|
|
|
26
26
|
export interface OptionPropsInterface extends SelectOptionInterface {
|
|
27
27
|
value: number;
|
|
28
28
|
}
|
|
29
|
+
interface GroupOptionPropsInterface {
|
|
30
|
+
label: string;
|
|
31
|
+
options: OptionPropsInterface[];
|
|
32
|
+
}
|
|
29
33
|
interface SelectButtonState {
|
|
30
34
|
selectedOption: OptionPropsInterface;
|
|
31
35
|
}
|