@rcsb/rcsb-saguaro-app 4.0.3 → 4.0.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/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
1
  # RCSB Saguaro App Changelog
2
2
 
3
3
  [Semantic Versioning](https://semver.org/)
4
+
5
+ ## [4.0.4] - 2022-02-15
6
+ ### Minor bug fix
7
+ - Minor type fix
8
+
4
9
  ## [4.0.3] - 2022-02-14
5
- ### Bug fix
10
+ ### Minor bug fix
6
11
  - react-select type definition fixed
7
12
 
8
13
  ## [4.0.2] - 2022-02-14
package/README.md CHANGED
@@ -8,7 +8,7 @@ Feature Summaries. The package allows access to RCSB Saguaro methods to add or c
8
8
  <!---
9
9
  <div id="pfvSelect" ></div>
10
10
  <div id="pfv" ></div>
11
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@rcsb/rcsb-saguaro-app@4.0.2/build/dist/app.js"></script>
11
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@rcsb/rcsb-saguaro-app/build/dist/app.js"></script>
12
12
  <script type="text/javascript">
13
13
  RcsbFvWebApp.buildInstanceFv("pfv", "4Z35.A", {
14
14
  boardConfig:{
@@ -23,7 +23,7 @@ RcsbFvWebApp.buildInstanceFv("pfv", "4Z35.A", {
23
23
  `npm install @rcsb/rcsb-saguaro-app`
24
24
 
25
25
  ### CDN JavaScript
26
- `<script src="https://cdn.jsdelivr.net/npm/@rcsb/rcsb-saguaro-app@4.0.2/build/dist/app.js" type="text/javascript"></script>`
26
+ `<script src="https://cdn.jsdelivr.net/npm/@rcsb/rcsb-saguaro-app/build/dist/app.js" type="text/javascript"></script>`
27
27
 
28
28
  ### JavaScript Examples
29
29
  * [PDB Instance Chain View](https://rcsb.github.io/rcsb-saguaro-app/examples/instance.html)
@@ -26,7 +26,7 @@ export interface SelectOptionInterface {
26
26
  export interface OptionPropsInterface extends SelectOptionInterface {
27
27
  value: number;
28
28
  }
29
- interface GroupOptionPropsInterface {
29
+ export interface GroupOptionPropsInterface {
30
30
  label: string;
31
31
  options: OptionPropsInterface[];
32
32
  }
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { GroupedOptionsInterface, OptionPropsInterface, SelectOptionInterface } from "./SelectButton";
2
+ import { GroupedOptionsInterface, GroupOptionPropsInterface, OptionPropsInterface, SelectOptionInterface } from "./SelectButton";
3
3
  import { OptionProps } from "react-select/dist/declarations/src/components/Option";
4
4
  export interface SelectButtonConfigInterface {
5
5
  addTitle?: boolean;
6
6
  defaultValue?: string | undefined | null;
7
7
  width?: number;
8
8
  dropdownTitle?: string;
9
- optionProps?: (props: OptionProps<OptionPropsInterface>) => JSX.Element;
9
+ optionProps?: (props: OptionProps<OptionPropsInterface, false, GroupOptionPropsInterface>) => JSX.Element;
10
10
  isAdditionalButton?: boolean;
11
11
  }
12
12
  export declare class WebToolsManager {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rcsb/rcsb-saguaro-app",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "RCSB 1D Saguaro Web App",
5
5
  "main": "build/dist/app.js",
6
6
  "files": [