higlass 1.12.3 → 1.12.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.
@@ -1,6 +1,6 @@
1
1
  import { bisector } from 'd3-array';
2
2
  import { format } from 'd3-format';
3
- import { absToChr } from './utils';
3
+ import absToChr from './utils/abs-to-chr';
4
4
 
5
5
  class SearchField {
6
6
  constructor(chromInfo) {
@@ -21,12 +21,6 @@ import * as d3Zoom from 'd3-zoom';
21
21
  import slugid from 'slugid';
22
22
  import { mix } from '../mixwith';
23
23
 
24
- // Configs
25
- import * as configs from '../configs';
26
-
27
- // Utils
28
- import * as utils from '../utils';
29
-
30
24
  // Tracks
31
25
  import Annotations1dTrack from '../Annotations1dTrack';
32
26
  import Annotations2dTrack from '../Annotations2dTrack';
@@ -100,6 +94,20 @@ import getDataFetcher from './get-data-fetcher';
100
94
 
101
95
  import { version } from '../../../package.json';
102
96
 
97
+ // Utils
98
+ import * as utils from '../utils';
99
+
100
+ // Configs
101
+ import * as _configs from '../configs';
102
+
103
+ import OPTIONS_INFO from '../options-info';
104
+
105
+ const configs = {
106
+ ..._configs,
107
+ IS_TRACK_RANGE_SELECTABLE: utils.IS_TRACK_RANGE_SELECTABLE,
108
+ OPTIONS_INFO,
109
+ };
110
+
103
111
  const libraries = {
104
112
  d3Array,
105
113
  d3Axis,
@@ -89,3 +89,16 @@ export {
89
89
  getTrackRenderer,
90
90
  getTiledPlot,
91
91
  } from './get-higlass-components';
92
+
93
+ // We want to remove following lines eventually. However, we need these at the moment since
94
+ // available-for-plugins.js complains about uninitialized objects due to the current cyclic dependencies.
95
+ export {
96
+ changeOptions,
97
+ waitForJsonComplete,
98
+ waitForTilesLoaded,
99
+ waitForTransitionsFinished,
100
+ mountHGComponent,
101
+ mountHGComponentAsync,
102
+ removeHGComponent,
103
+ } from '../test-helpers';
104
+ export { default as trackUtils } from '../track-utils';
package/dist/hglib.css CHANGED
@@ -550,22 +550,6 @@ path._domain_1y7td_60 {
550
550
  cursor: col-resize;
551
551
  }._horizontal-tiled-plot_1bqkg_1 {
552
552
  position: relative;
553
- }._track-renderer_11dwb_1 {
554
- position: relative;
555
- }
556
-
557
- ._track-renderer-element_11dwb_5,
558
- ._track-renderer-events_11dwb_6 {
559
- position: absolute;
560
- top: 0;
561
- right: 0;
562
- bottom: 0;
563
- left: 0;
564
- z-index: -1;
565
- }
566
-
567
- ._track-renderer-events_11dwb_6 {
568
- z-index: 1;
569
553
  }._button_1wnjn_1 {
570
554
  display: flex;
571
555
  align-items: center;
@@ -740,6 +724,59 @@ path._domain_1y7td_60 {
740
724
  left: 10px;
741
725
  right: 10px;
742
726
  bottom: 10px;
727
+ }/*
728
+ @import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
729
+ */
730
+
731
+ table.table-track-options {
732
+ border-collapse: collapse;
733
+ margin-left: auto;
734
+ margin-right: auto;
735
+ }
736
+
737
+ td.td-track-options {
738
+ border: 1px solid #fff;
739
+ outline: none;
740
+ padding: 3px;
741
+ position: relative;
742
+ font-family: 'Roboto', sans-serif;
743
+ font-size: 14px;
744
+ color: #666;
745
+ }
746
+
747
+ .cell-label {
748
+ position: absolute;
749
+ left: 0px;
750
+ top: 0px;
751
+ margin-left: 5px;
752
+ color: #777;
753
+ }
754
+
755
+ .modal-dialog {
756
+ position: relative;
757
+ display: table;
758
+ overflow-y: auto;
759
+ overflow-x: auto;
760
+ width: auto;
761
+ min-width: 300px;
762
+ margin: auto;
763
+ }
764
+ ._track-renderer_11dwb_1 {
765
+ position: relative;
766
+ }
767
+
768
+ ._track-renderer-element_11dwb_5,
769
+ ._track-renderer-events_11dwb_6 {
770
+ position: absolute;
771
+ top: 0;
772
+ right: 0;
773
+ bottom: 0;
774
+ left: 0;
775
+ z-index: -1;
776
+ }
777
+
778
+ ._track-renderer-events_11dwb_6 {
779
+ z-index: 1;
743
780
  }.tileset-finder-label {
744
781
  font-weight: 700;
745
782
  }
@@ -1071,44 +1108,7 @@ path._domain_1y7td_60 {
1071
1108
  width: 600px;
1072
1109
  min-width: 300px;
1073
1110
  margin: auto;
1074
- }/*
1075
- @import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
1076
- */
1077
-
1078
- table.table-track-options {
1079
- border-collapse: collapse;
1080
- margin-left: auto;
1081
- margin-right: auto;
1082
- }
1083
-
1084
- td.td-track-options {
1085
- border: 1px solid #fff;
1086
- outline: none;
1087
- padding: 3px;
1088
- position: relative;
1089
- font-family: 'Roboto', sans-serif;
1090
- font-size: 14px;
1091
- color: #666;
1092
- }
1093
-
1094
- .cell-label {
1095
- position: absolute;
1096
- left: 0px;
1097
- top: 0px;
1098
- margin-left: 5px;
1099
- color: #777;
1100
- }
1101
-
1102
- .modal-dialog {
1103
- position: relative;
1104
- display: table;
1105
- overflow-y: auto;
1106
- overflow-x: auto;
1107
- width: auto;
1108
- min-width: 300px;
1109
- margin: auto;
1110
- }
1111
- ._vertical-tiled-plot_f3ho8_1 {
1111
+ }._vertical-tiled-plot_f3ho8_1 {
1112
1112
  position: relative;
1113
1113
  }._genome-position-search_1l2sx_1,
1114
1114
  ._genome-position-search-focus_1l2sx_2 {