higlass 1.13.3 → 1.13.5
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/app/scripts/AxisPixi.js +4 -2
- package/app/scripts/ChromosomeInfo.js +4 -2
- package/app/scripts/HeatmapOptions.jsx +4 -1
- package/app/scripts/HeatmapTiledPixiTrack.js +57 -29
- package/app/scripts/MapboxTilesTrack.js +3 -2
- package/app/scripts/PixiTrack.js +33 -6
- package/app/scripts/RasterTilesTrack.js +3 -2
- package/app/scripts/SeriesListMenu.jsx +75 -0
- package/app/scripts/SeriesListSubmenuMixin.jsx +4 -0
- package/app/scripts/TiledPixiTrack.js +32 -20
- package/app/scripts/TiledPlot.jsx +10 -0
- package/app/scripts/Track.js +2 -2
- package/app/scripts/UnknownPixiTrack.js +1 -1
- package/app/scripts/data-fetchers/DataFetcher.js +88 -71
- package/app/scripts/gosling-exports.js +29 -0
- package/app/scripts/hglib.jsx +2 -0
- package/app/scripts/hocs/with-pub-sub.js +19 -0
- package/app/scripts/services/tile-proxy.js +3 -2
- package/app/scripts/services/worker.js +6 -6
- package/app/scripts/types.ts +29 -0
- package/app/scripts/utils/DenseDataExtrema1D.js +1 -1
- package/app/scripts/utils/DenseDataExtrema2D.js +2 -1
- package/app/scripts/utils/color-to-hex.js +1 -1
- package/app/scripts/utils/fake-pub-sub.js +12 -0
- package/app/scripts/utils/show-mouse-position.js +1 -1
- package/dist/hglib.js +23344 -23368
- package/dist/hglib.min.js +73 -72
- package/dist/higlass.mjs +23084 -23108
- package/package.json +2 -1
- package/app/scripts/hocs/with-pub-sub.jsx +0 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "higlass",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.5",
|
|
4
4
|
"description": "HiGlass Hi-C / genomic / large data viewer",
|
|
5
5
|
"author": "Peter Kerpedjiev <pkerpedjiev@gmail.com>",
|
|
6
6
|
"main": "dist/hglib.js",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"d3-transition": "^3.0.1",
|
|
62
62
|
"d3-zoom": "^3.0.0",
|
|
63
63
|
"dom-scroll-into-view": "^1.2.1",
|
|
64
|
+
"enzyme-adapter-react-16": "^1.15.8",
|
|
64
65
|
"genbank-parser": "^1.0.0",
|
|
65
66
|
"ndarray": "^1.0.18",
|
|
66
67
|
"pako": "^1.0.10",
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/* eslint-disable react/jsx-props-no-spreading */
|
|
3
|
-
import React from 'react';
|
|
4
|
-
|
|
5
|
-
import { toVoid } from '../utils';
|
|
6
|
-
|
|
7
|
-
/** @type {import('pub-sub-es').PubSub & { __fake__: true }} */
|
|
8
|
-
const fake = {
|
|
9
|
-
__fake__: true,
|
|
10
|
-
publish: toVoid,
|
|
11
|
-
subscribe: () => ({ event: 'fake', handler: toVoid }),
|
|
12
|
-
unsubscribe: toVoid,
|
|
13
|
-
clear: toVoid,
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const { Provider, Consumer } = React.createContext(fake);
|
|
17
|
-
|
|
18
|
-
// Higher order component
|
|
19
|
-
const withPubSub = (Component) =>
|
|
20
|
-
React.forwardRef((props, ref) => (
|
|
21
|
-
<Consumer>
|
|
22
|
-
{(pubSub) => <Component ref={ref} {...props} pubSub={pubSub} />}
|
|
23
|
-
</Consumer>
|
|
24
|
-
));
|
|
25
|
-
|
|
26
|
-
export default withPubSub;
|
|
27
|
-
|
|
28
|
-
export { fake, Provider };
|