@jbrowse/plugin-linear-genome-view 1.5.1 → 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/LinearGenomeView/components/HelpDialog.d.ts +5 -0
- package/dist/LinearGenomeView/components/RefNameAutocomplete.d.ts +2 -1
- package/dist/plugin-linear-genome-view.cjs.development.js +254 -198
- package/dist/plugin-linear-genome-view.cjs.development.js.map +1 -1
- package/dist/plugin-linear-genome-view.cjs.production.min.js +1 -1
- package/dist/plugin-linear-genome-view.cjs.production.min.js.map +1 -1
- package/dist/plugin-linear-genome-view.esm.js +255 -199
- package/dist/plugin-linear-genome-view.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/LinearGenomeView/components/HelpDialog.tsx +81 -0
- package/src/LinearGenomeView/components/ImportForm.tsx +18 -27
- package/src/LinearGenomeView/components/LinearGenomeViewSvg.tsx +1 -1
- package/src/LinearGenomeView/components/OverviewRubberBand.tsx +1 -1
- package/src/LinearGenomeView/components/OverviewScaleBar.tsx +6 -2
- package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +132 -114
- package/src/LinearGenomeView/components/SearchResultsDialog.tsx +12 -34
- package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.js.snap +49 -3
|
@@ -17,7 +17,7 @@ exports[`<LinearGenomeView /> renders one track, one region 1`] = `
|
|
|
17
17
|
>
|
|
18
18
|
<div
|
|
19
19
|
class="makeStyles-scaleBarVisibleRegion"
|
|
20
|
-
style="width: 800px; left: 0px; background: rgba(121, 134, 203, 0.3);"
|
|
20
|
+
style="width: 800px; left: 0px; background: rgba(121, 134, 203, 0.3); border-color: #7986cb;"
|
|
21
21
|
/>
|
|
22
22
|
<div
|
|
23
23
|
class="makeStyles-scaleBarContig"
|
|
@@ -207,6 +207,29 @@ exports[`<LinearGenomeView /> renders one track, one region 1`] = `
|
|
|
207
207
|
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
|
|
208
208
|
/>
|
|
209
209
|
</svg>
|
|
210
|
+
<button
|
|
211
|
+
class="MuiButtonBase-root MuiIconButton-root"
|
|
212
|
+
tabindex="0"
|
|
213
|
+
type="button"
|
|
214
|
+
>
|
|
215
|
+
<span
|
|
216
|
+
class="MuiIconButton-label"
|
|
217
|
+
>
|
|
218
|
+
<svg
|
|
219
|
+
aria-hidden="true"
|
|
220
|
+
class="MuiSvgIcon-root"
|
|
221
|
+
focusable="false"
|
|
222
|
+
viewBox="0 0 24 24"
|
|
223
|
+
>
|
|
224
|
+
<path
|
|
225
|
+
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"
|
|
226
|
+
/>
|
|
227
|
+
</svg>
|
|
228
|
+
</span>
|
|
229
|
+
<span
|
|
230
|
+
class="MuiTouchRipple-root"
|
|
231
|
+
/>
|
|
232
|
+
</button>
|
|
210
233
|
</div>
|
|
211
234
|
<div
|
|
212
235
|
class="MuiAutocomplete-endAdornment"
|
|
@@ -581,7 +604,7 @@ exports[`<LinearGenomeView /> renders two tracks, two regions 1`] = `
|
|
|
581
604
|
>
|
|
582
605
|
<div
|
|
583
606
|
class="makeStyles-scaleBarVisibleRegion"
|
|
584
|
-
style="width: 580px; left: 0px; background: rgba(121, 134, 203, 0.3);"
|
|
607
|
+
style="width: 580px; left: 0px; background: rgba(121, 134, 203, 0.3); border-color: #7986cb;"
|
|
585
608
|
/>
|
|
586
609
|
<div
|
|
587
610
|
class="makeStyles-scaleBarContig"
|
|
@@ -751,7 +774,7 @@ exports[`<LinearGenomeView /> renders two tracks, two regions 1`] = `
|
|
|
751
774
|
class="MuiAutocomplete-root"
|
|
752
775
|
data-testid="autocomplete"
|
|
753
776
|
role="combobox"
|
|
754
|
-
style="width:
|
|
777
|
+
style="width: 255.22500000000002px;"
|
|
755
778
|
>
|
|
756
779
|
<div
|
|
757
780
|
class="MuiFormControl-root MuiTextField-root makeStyles-headerRefName MuiFormControl-fullWidth"
|
|
@@ -787,6 +810,29 @@ exports[`<LinearGenomeView /> renders two tracks, two regions 1`] = `
|
|
|
787
810
|
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
|
|
788
811
|
/>
|
|
789
812
|
</svg>
|
|
813
|
+
<button
|
|
814
|
+
class="MuiButtonBase-root MuiIconButton-root"
|
|
815
|
+
tabindex="0"
|
|
816
|
+
type="button"
|
|
817
|
+
>
|
|
818
|
+
<span
|
|
819
|
+
class="MuiIconButton-label"
|
|
820
|
+
>
|
|
821
|
+
<svg
|
|
822
|
+
aria-hidden="true"
|
|
823
|
+
class="MuiSvgIcon-root"
|
|
824
|
+
focusable="false"
|
|
825
|
+
viewBox="0 0 24 24"
|
|
826
|
+
>
|
|
827
|
+
<path
|
|
828
|
+
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"
|
|
829
|
+
/>
|
|
830
|
+
</svg>
|
|
831
|
+
</span>
|
|
832
|
+
<span
|
|
833
|
+
class="MuiTouchRipple-root"
|
|
834
|
+
/>
|
|
835
|
+
</button>
|
|
790
836
|
</div>
|
|
791
837
|
<div
|
|
792
838
|
class="MuiAutocomplete-endAdornment"
|