@jbrowse/plugin-grid-bookmark 1.4.3 → 1.5.2
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/plugin-grid-bookmark.cjs.development.js +22 -19
- package/dist/plugin-grid-bookmark.cjs.development.js.map +1 -1
- package/dist/plugin-grid-bookmark.cjs.production.min.js +1 -1
- package/dist/plugin-grid-bookmark.cjs.production.min.js.map +1 -1
- package/dist/plugin-grid-bookmark.esm.js +21 -18
- package/dist/plugin-grid-bookmark.esm.js.map +1 -1
- package/package.json +6 -4
- package/src/GridBookmarkWidget/components/GridBookmarkWidget.test.js +3 -3
- package/src/GridBookmarkWidget/components/GridBookmarkWidget.tsx +1 -1
- package/src/GridBookmarkWidget/components/ImportBookmarks.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-grid-bookmark",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "JBrowse 2 grid bookmark widget",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -35,14 +35,16 @@
|
|
|
35
35
|
"useSrc": "node ../../scripts/useSrc.js"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@material-ui/icons": "^4.9.1"
|
|
38
|
+
"@material-ui/icons": "^4.9.1",
|
|
39
|
+
"file-saver": "^2.0.0"
|
|
39
40
|
},
|
|
40
41
|
"peerDependencies": {
|
|
41
42
|
"@jbrowse/core": "^1.0.0",
|
|
42
43
|
"@jbrowse/plugin-config": "^1.0.0",
|
|
44
|
+
"@jbrowse/plugin-linear-genome-view": "^1.4.4",
|
|
43
45
|
"@material-ui/core": "^4.9.13",
|
|
44
|
-
"@material-ui/data-grid": "^4.0.0-alpha.37",
|
|
45
46
|
"@material-ui/lab": "^4.0.0-alpha.45",
|
|
47
|
+
"@mui/x-data-grid": "^4.0.1",
|
|
46
48
|
"mobx-react": "^6.0.0",
|
|
47
49
|
"mobx-state-tree": "3.14.1",
|
|
48
50
|
"prop-types": "^15.0.0",
|
|
@@ -51,5 +53,5 @@
|
|
|
51
53
|
"publishConfig": {
|
|
52
54
|
"access": "public"
|
|
53
55
|
},
|
|
54
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "94fdfbc34787ab8f12a87e00038da74b247b42fa"
|
|
55
57
|
}
|
|
@@ -8,10 +8,10 @@ import GridBookmarkWidget from './GridBookmarkWidget'
|
|
|
8
8
|
|
|
9
9
|
// need to mock out data grid and force all columns to render
|
|
10
10
|
// https://github.com/mui-org/material-ui-x/issues/1151
|
|
11
|
-
jest.mock('@
|
|
12
|
-
const { DataGrid } = jest.requireActual('@
|
|
11
|
+
jest.mock('@mui/x-data-grid', () => {
|
|
12
|
+
const { DataGrid } = jest.requireActual('@mui/x-data-grid')
|
|
13
13
|
return {
|
|
14
|
-
...jest.requireActual('@
|
|
14
|
+
...jest.requireActual('@mui/x-data-grid'),
|
|
15
15
|
DataGrid: props => {
|
|
16
16
|
return <DataGrid {...props} columnBuffer={6} />
|
|
17
17
|
},
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Button,
|
|
8
8
|
makeStyles,
|
|
9
9
|
} from '@material-ui/core'
|
|
10
|
-
import { DataGrid, GridCellParams } from '@
|
|
10
|
+
import { DataGrid, GridCellParams } from '@mui/x-data-grid'
|
|
11
11
|
import { getSession, assembleLocString, measureText } from '@jbrowse/core/util'
|
|
12
12
|
import DeleteIcon from '@material-ui/icons/Delete'
|
|
13
13
|
import ViewCompactIcon from '@material-ui/icons/ViewCompact'
|
|
@@ -45,7 +45,7 @@ function ImportBookmarks({
|
|
|
45
45
|
const { assemblyNames } = session
|
|
46
46
|
const [dialogOpen, setDialogOpen] = useState(false)
|
|
47
47
|
const [location, setLocation] = useState<FileLocation>()
|
|
48
|
-
const [error, setError] = useState<
|
|
48
|
+
const [error, setError] = useState<unknown>()
|
|
49
49
|
const [selectedAsm, setSelectedAsm] = useState(
|
|
50
50
|
assemblyName || assemblyNames[0],
|
|
51
51
|
)
|