@rcsb/rcsb-saguaro-app 4.0.5 → 4.0.6
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/build/dist/RcsbFvWeb/RcsbFvBuilder/RcsbFvInstanceBuilder.d.ts +2 -3
- package/build/dist/RcsbFvWeb/WebTools/SelectButton.d.ts +2 -1
- package/build/dist/RcsbFvWeb/WebTools/WebToolsManager.d.ts +2 -3
- package/build/dist/app.js +1 -1
- package/build/dist/app.js.LICENSE.txt +1 -16
- package/build/dist/app.js.map +1 -1
- package/build/dist/worker.js +1 -1
- package/build/dist/worker.js.map +1 -1
- package/package.json +2 -2
- package/CHANGELOG.md +0 -270
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RcsbContextType, RcsbFvAdditionalConfig } from "../RcsbFvModule/RcsbFvModuleInterface";
|
|
3
3
|
import { PolymerEntityInstanceInterface } from "../../RcsbCollectTools/Translators/PolymerEntityInstancesCollector";
|
|
4
|
-
import {
|
|
4
|
+
import { SelectOptionProps } from "../WebTools/SelectButton";
|
|
5
5
|
import { RcsbFvModulePublicInterface } from "../RcsbFvModule/RcsbFvModuleInterface";
|
|
6
|
-
import { OptionProps } from "react-select/dist/declarations/src/components/Option";
|
|
7
6
|
export interface InstanceSequenceOnchangeInterface {
|
|
8
7
|
pdbId: string;
|
|
9
8
|
authId: string;
|
|
@@ -17,7 +16,7 @@ export interface InstanceSequenceConfig {
|
|
|
17
16
|
onChangeCallback?: (x: InstanceSequenceOnchangeInterface) => void;
|
|
18
17
|
filterInstances?: Set<string>;
|
|
19
18
|
displayAuthId?: boolean;
|
|
20
|
-
selectButtonOptionProps?: (props:
|
|
19
|
+
selectButtonOptionProps?: (props: SelectOptionProps) => JSX.Element;
|
|
21
20
|
module?: instanceModule;
|
|
22
21
|
}
|
|
23
22
|
export declare class RcsbFvInstanceBuilder {
|
|
@@ -4,6 +4,7 @@ export interface GroupedOptionsInterface {
|
|
|
4
4
|
options: Array<SelectOptionInterface>;
|
|
5
5
|
label: string;
|
|
6
6
|
}
|
|
7
|
+
export declare type SelectOptionProps = OptionProps<OptionPropsInterface, false, GroupOptionPropsInterface>;
|
|
7
8
|
interface SelectButtonInterface {
|
|
8
9
|
elementId: string;
|
|
9
10
|
options?: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>;
|
|
@@ -12,7 +13,7 @@ interface SelectButtonInterface {
|
|
|
12
13
|
defaultValue?: string | undefined | null;
|
|
13
14
|
width?: number;
|
|
14
15
|
dropdownTitle?: string;
|
|
15
|
-
optionProps?: (props:
|
|
16
|
+
optionProps?: (props: SelectOptionProps) => JSX.Element;
|
|
16
17
|
isAdditionalButton?: boolean;
|
|
17
18
|
}
|
|
18
19
|
export interface SelectOptionInterface {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { GroupedOptionsInterface,
|
|
3
|
-
import { OptionProps } from "react-select/dist/declarations/src/components/Option";
|
|
2
|
+
import { GroupedOptionsInterface, SelectOptionInterface, SelectOptionProps } from "./SelectButton";
|
|
4
3
|
export interface SelectButtonConfigInterface {
|
|
5
4
|
addTitle?: boolean;
|
|
6
5
|
defaultValue?: string | undefined | null;
|
|
7
6
|
width?: number;
|
|
8
7
|
dropdownTitle?: string;
|
|
9
|
-
optionProps?: (props:
|
|
8
|
+
optionProps?: (props: SelectOptionProps) => JSX.Element;
|
|
10
9
|
isAdditionalButton?: boolean;
|
|
11
10
|
}
|
|
12
11
|
export declare class WebToolsManager {
|