jbrowse-plugin-msaview 1.0.14 → 1.0.18
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 +16 -0
- package/README.md +7 -4
- package/dist/jbrowse-plugin-msaview.cjs.development.js +11 -6
- package/dist/jbrowse-plugin-msaview.cjs.development.js.map +1 -1
- package/dist/jbrowse-plugin-msaview.cjs.production.min.js +1 -1
- package/dist/jbrowse-plugin-msaview.cjs.production.min.js.map +1 -1
- package/dist/jbrowse-plugin-msaview.esm.js +9 -3
- package/dist/jbrowse-plugin-msaview.esm.js.map +1 -1
- package/dist/jbrowse-plugin-msaview.umd.development.js +7059 -5440
- package/dist/jbrowse-plugin-msaview.umd.development.js.map +1 -1
- package/dist/jbrowse-plugin-msaview.umd.production.min.js +1 -1
- package/dist/jbrowse-plugin-msaview.umd.production.min.js.map +1 -1
- package/package.json +2 -3
- package/src/index.ts +5 -4
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.18",
|
|
3
3
|
"name": "jbrowse-plugin-msaview",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"jbrowse",
|
|
@@ -37,14 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@material-ui/icons": "^4.11.2",
|
|
40
|
-
"react-msaview": "^1.
|
|
40
|
+
"react-msaview": "^1.2.11"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@jbrowse/core": "^1.0.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@babel/preset-react": "^7.10.4",
|
|
47
|
-
"@jbrowse/cli": "^1.0.4",
|
|
48
47
|
"@jbrowse/core": "^1.0.4",
|
|
49
48
|
"@jbrowse/development-tools": "^1.0.3",
|
|
50
49
|
"@material-ui/core": "^4.9.13",
|
package/src/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ import Plugin from '@jbrowse/core/Plugin'
|
|
|
2
2
|
import PluginManager from '@jbrowse/core/PluginManager'
|
|
3
3
|
import { version } from '../package.json'
|
|
4
4
|
import { AbstractSessionModel, isAbstractMenuManager } from '@jbrowse/core/util'
|
|
5
|
-
import
|
|
5
|
+
import * as MSA from 'react-msaview'
|
|
6
6
|
import ViewType from '@jbrowse/core/pluggableElementTypes/ViewType'
|
|
7
7
|
import GridOn from '@material-ui/icons/GridOn'
|
|
8
8
|
|
|
@@ -11,20 +11,21 @@ export default class MsaViewPlugin extends Plugin {
|
|
|
11
11
|
version = version
|
|
12
12
|
|
|
13
13
|
install(pluginManager: PluginManager) {
|
|
14
|
+
console.log({ MSA })
|
|
14
15
|
pluginManager.addViewType(
|
|
15
16
|
() =>
|
|
16
17
|
new ViewType({
|
|
17
18
|
name: 'MsaView',
|
|
18
19
|
//@ts-ignore
|
|
19
|
-
stateModel: MSAModel,
|
|
20
|
-
ReactComponent: MSAView,
|
|
20
|
+
stateModel: MSA.MSAModel,
|
|
21
|
+
ReactComponent: MSA.MSAView,
|
|
21
22
|
}),
|
|
22
23
|
)
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
configure(pluginManager: PluginManager) {
|
|
26
27
|
if (isAbstractMenuManager(pluginManager.rootModel)) {
|
|
27
|
-
pluginManager.rootModel.appendToSubMenu(['
|
|
28
|
+
pluginManager.rootModel.appendToSubMenu(['Add'], {
|
|
28
29
|
label: 'Multiple sequence alignment view',
|
|
29
30
|
icon: GridOn,
|
|
30
31
|
onClick: (session: AbstractSessionModel) => {
|