@jbrowse/plugin-data-management 1.7.11 → 2.0.0
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/AddConnectionWidget/components/AddConnectionWidget.js +115 -162
- package/dist/AddConnectionWidget/components/AddConnectionWidget.js.map +1 -0
- package/dist/AddConnectionWidget/components/ConfigureConnection.js +33 -32
- package/dist/AddConnectionWidget/components/ConfigureConnection.js.map +1 -0
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js +48 -64
- package/dist/AddConnectionWidget/components/ConnectionTypeSelect.js.map +1 -0
- package/dist/AddConnectionWidget/index.js +10 -20
- package/dist/AddConnectionWidget/index.js.map +1 -0
- package/dist/AddConnectionWidget/model.js +7 -15
- package/dist/AddConnectionWidget/model.js.map +1 -0
- package/dist/AddTrackWidget/components/AddTrackWidget.js +206 -230
- package/dist/AddTrackWidget/components/AddTrackWidget.js.map +1 -0
- package/dist/AddTrackWidget/components/ConfirmTrack.js +268 -385
- package/dist/AddTrackWidget/components/ConfirmTrack.js.map +1 -0
- package/dist/AddTrackWidget/components/TrackSourceSelect.js +28 -55
- package/dist/AddTrackWidget/components/TrackSourceSelect.js.map +1 -0
- package/dist/AddTrackWidget/index.js +10 -20
- package/dist/AddTrackWidget/index.js.map +1 -0
- package/dist/AddTrackWidget/model.js +150 -174
- package/dist/AddTrackWidget/model.js.map +1 -0
- package/dist/AssemblyManager/AssemblyAddForm.js +162 -282
- package/dist/AssemblyManager/AssemblyAddForm.js.map +1 -0
- package/dist/AssemblyManager/AssemblyEditor.js +12 -23
- package/dist/AssemblyManager/AssemblyEditor.js.map +1 -0
- package/dist/AssemblyManager/AssemblyManager.js +102 -132
- package/dist/AssemblyManager/AssemblyManager.js.map +1 -0
- package/dist/AssemblyManager/AssemblyTable.d.ts +1 -1
- package/dist/AssemblyManager/AssemblyTable.js +60 -84
- package/dist/AssemblyManager/AssemblyTable.js.map +1 -0
- package/dist/AssemblyManager/index.js +8 -14
- package/dist/AssemblyManager/index.js.map +1 -0
- package/dist/HierarchicalTrackSelectorWidget/components/CloseConnectionDialog.js +49 -50
- package/dist/HierarchicalTrackSelectorWidget/components/CloseConnectionDialog.js.map +1 -0
- package/dist/HierarchicalTrackSelectorWidget/components/DeleteConnectionDialog.js +28 -44
- package/dist/HierarchicalTrackSelectorWidget/components/DeleteConnectionDialog.js.map +1 -0
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +1 -0
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +416 -639
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js.map +1 -0
- package/dist/HierarchicalTrackSelectorWidget/components/ManageConnectionsDialog.js +45 -74
- package/dist/HierarchicalTrackSelectorWidget/components/ManageConnectionsDialog.js.map +1 -0
- package/dist/HierarchicalTrackSelectorWidget/components/ToggleConnectionsDialog.js +57 -91
- package/dist/HierarchicalTrackSelectorWidget/components/ToggleConnectionsDialog.js.map +1 -0
- package/dist/HierarchicalTrackSelectorWidget/index.js +10 -20
- package/dist/HierarchicalTrackSelectorWidget/index.js.map +1 -0
- package/dist/HierarchicalTrackSelectorWidget/model.d.ts +3 -1
- package/dist/HierarchicalTrackSelectorWidget/model.js +247 -285
- package/dist/HierarchicalTrackSelectorWidget/model.js.map +1 -0
- package/dist/PluginStoreWidget/components/CustomPluginForm.js +140 -202
- package/dist/PluginStoreWidget/components/CustomPluginForm.js.map +1 -0
- package/dist/PluginStoreWidget/components/InstalledPlugin.js +112 -127
- package/dist/PluginStoreWidget/components/InstalledPlugin.js.map +1 -0
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js +22 -45
- package/dist/PluginStoreWidget/components/InstalledPluginsList.js.map +1 -0
- package/dist/PluginStoreWidget/components/PluginCard.js +95 -110
- package/dist/PluginStoreWidget/components/PluginCard.js.map +1 -0
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js +188 -227
- package/dist/PluginStoreWidget/components/PluginStoreWidget.js.map +1 -0
- package/dist/PluginStoreWidget/index.d.ts +0 -1
- package/dist/PluginStoreWidget/index.js +10 -28
- package/dist/PluginStoreWidget/index.js.map +1 -0
- package/dist/PluginStoreWidget/model.js +21 -26
- package/dist/PluginStoreWidget/model.js.map +1 -0
- package/dist/SetDefaultSession/SetDefaultSession.js +34 -58
- package/dist/SetDefaultSession/SetDefaultSession.js.map +1 -0
- package/dist/SetDefaultSession/index.js +8 -14
- package/dist/SetDefaultSession/index.js.map +1 -0
- package/dist/index.js +109 -147
- package/dist/index.js.map +1 -0
- package/dist/ucsc-trackhub/configSchema.js +18 -28
- package/dist/ucsc-trackhub/configSchema.js.map +1 -0
- package/dist/ucsc-trackhub/index.js +10 -22
- package/dist/ucsc-trackhub/index.js.map +1 -0
- package/dist/ucsc-trackhub/model.js +150 -128
- package/dist/ucsc-trackhub/model.js.map +1 -0
- package/dist/ucsc-trackhub/ucscAssemblies.js +3 -9
- package/dist/ucsc-trackhub/ucscAssemblies.js.map +1 -0
- package/dist/ucsc-trackhub/ucscTrackHub.js +458 -491
- package/dist/ucsc-trackhub/ucscTrackHub.js.map +1 -0
- package/esm/AddConnectionWidget/components/AddConnectionWidget.d.ts +9 -0
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js +86 -0
- package/esm/AddConnectionWidget/components/AddConnectionWidget.js.map +1 -0
- package/esm/AddConnectionWidget/components/ConfigureConnection.d.ts +2 -0
- package/esm/AddConnectionWidget/components/ConfigureConnection.js +11 -0
- package/esm/AddConnectionWidget/components/ConfigureConnection.js.map +1 -0
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.d.ts +8 -0
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.js +24 -0
- package/esm/AddConnectionWidget/components/ConnectionTypeSelect.js.map +1 -0
- package/esm/AddConnectionWidget/index.d.ts +2 -0
- package/esm/AddConnectionWidget/index.js +4 -0
- package/esm/AddConnectionWidget/index.js.map +1 -0
- package/esm/AddConnectionWidget/model.d.ts +5 -0
- package/esm/AddConnectionWidget/model.js +7 -0
- package/esm/AddConnectionWidget/model.js.map +1 -0
- package/esm/AddTrackWidget/components/AddTrackWidget.d.ts +7 -0
- package/esm/AddTrackWidget/components/AddTrackWidget.js +139 -0
- package/esm/AddTrackWidget/components/AddTrackWidget.js.map +1 -0
- package/esm/AddTrackWidget/components/ConfirmTrack.d.ts +7 -0
- package/esm/AddTrackWidget/components/ConfirmTrack.js +247 -0
- package/esm/AddTrackWidget/components/ConfirmTrack.js.map +1 -0
- package/esm/AddTrackWidget/components/TrackSourceSelect.d.ts +7 -0
- package/esm/AddTrackWidget/components/TrackSourceSelect.js +27 -0
- package/esm/AddTrackWidget/components/TrackSourceSelect.js.map +1 -0
- package/esm/AddTrackWidget/index.d.ts +2 -0
- package/esm/AddTrackWidget/index.js +4 -0
- package/esm/AddTrackWidget/index.js.map +1 -0
- package/esm/AddTrackWidget/model.d.ts +51 -0
- package/esm/AddTrackWidget/model.js +154 -0
- package/esm/AddTrackWidget/model.js.map +1 -0
- package/esm/AssemblyManager/AssemblyAddForm.d.ts +6 -0
- package/esm/AssemblyManager/AssemblyAddForm.js +132 -0
- package/esm/AssemblyManager/AssemblyAddForm.js.map +1 -0
- package/esm/AssemblyManager/AssemblyEditor.d.ts +5 -0
- package/esm/AssemblyManager/AssemblyEditor.js +8 -0
- package/esm/AssemblyManager/AssemblyEditor.js.map +1 -0
- package/esm/AssemblyManager/AssemblyManager.d.ts +6 -0
- package/esm/AssemblyManager/AssemblyManager.js +69 -0
- package/esm/AssemblyManager/AssemblyManager.js.map +1 -0
- package/esm/AssemblyManager/AssemblyTable.d.ts +13 -0
- package/esm/AssemblyManager/AssemblyTable.js +62 -0
- package/esm/AssemblyManager/AssemblyTable.js.map +1 -0
- package/esm/AssemblyManager/index.d.ts +1 -0
- package/esm/AssemblyManager/index.js +2 -0
- package/esm/AssemblyManager/index.js.map +1 -0
- package/esm/HierarchicalTrackSelectorWidget/components/CloseConnectionDialog.d.ts +13 -0
- package/esm/HierarchicalTrackSelectorWidget/components/CloseConnectionDialog.js +26 -0
- package/esm/HierarchicalTrackSelectorWidget/components/CloseConnectionDialog.js.map +1 -0
- package/esm/HierarchicalTrackSelectorWidget/components/DeleteConnectionDialog.d.ts +13 -0
- package/esm/HierarchicalTrackSelectorWidget/components/DeleteConnectionDialog.js +24 -0
- package/esm/HierarchicalTrackSelectorWidget/components/DeleteConnectionDialog.js.map +1 -0
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.d.ts +11 -0
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js +326 -0
- package/esm/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.js.map +1 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ManageConnectionsDialog.d.ts +10 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ManageConnectionsDialog.js +45 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ManageConnectionsDialog.js.map +1 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ToggleConnectionsDialog.d.ts +11 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ToggleConnectionsDialog.js +57 -0
- package/esm/HierarchicalTrackSelectorWidget/components/ToggleConnectionsDialog.js.map +1 -0
- package/esm/HierarchicalTrackSelectorWidget/index.d.ts +2 -0
- package/esm/HierarchicalTrackSelectorWidget/index.js +4 -0
- package/esm/HierarchicalTrackSelectorWidget/index.js.map +1 -0
- package/esm/HierarchicalTrackSelectorWidget/model.d.ts +61 -0
- package/esm/HierarchicalTrackSelectorWidget/model.js +200 -0
- package/esm/HierarchicalTrackSelectorWidget/model.js.map +1 -0
- package/esm/PluginStoreWidget/components/CustomPluginForm.d.ts +9 -0
- package/esm/PluginStoreWidget/components/CustomPluginForm.js +109 -0
- package/esm/PluginStoreWidget/components/CustomPluginForm.js.map +1 -0
- package/esm/PluginStoreWidget/components/InstalledPlugin.d.ts +11 -0
- package/esm/PluginStoreWidget/components/InstalledPlugin.js +77 -0
- package/esm/PluginStoreWidget/components/InstalledPlugin.js.map +1 -0
- package/esm/PluginStoreWidget/components/InstalledPluginsList.d.ts +9 -0
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js +16 -0
- package/esm/PluginStoreWidget/components/InstalledPluginsList.js.map +1 -0
- package/esm/PluginStoreWidget/components/PluginCard.d.ts +10 -0
- package/esm/PluginStoreWidget/components/PluginCard.js +61 -0
- package/esm/PluginStoreWidget/components/PluginCard.js.map +1 -0
- package/esm/PluginStoreWidget/components/PluginStoreWidget.d.ts +7 -0
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js +106 -0
- package/esm/PluginStoreWidget/components/PluginStoreWidget.js.map +1 -0
- package/esm/PluginStoreWidget/index.d.ts +2 -0
- package/esm/PluginStoreWidget/index.js +4 -0
- package/esm/PluginStoreWidget/index.js.map +1 -0
- package/esm/PluginStoreWidget/model.d.ts +13 -0
- package/esm/PluginStoreWidget/model.js +20 -0
- package/esm/PluginStoreWidget/model.js.map +1 -0
- package/esm/SetDefaultSession/SetDefaultSession.d.ts +6 -0
- package/esm/SetDefaultSession/SetDefaultSession.js +34 -0
- package/esm/SetDefaultSession/SetDefaultSession.js.map +1 -0
- package/esm/SetDefaultSession/index.d.ts +1 -0
- package/esm/SetDefaultSession/index.js +2 -0
- package/esm/SetDefaultSession/index.js.map +1 -0
- package/esm/index.d.ts +27 -0
- package/esm/index.js +70 -0
- package/esm/index.js.map +1 -0
- package/esm/ucsc-trackhub/configSchema.d.ts +2 -0
- package/esm/ucsc-trackhub/configSchema.js +18 -0
- package/esm/ucsc-trackhub/configSchema.js.map +1 -0
- package/esm/ucsc-trackhub/index.d.ts +2 -0
- package/esm/ucsc-trackhub/index.js +3 -0
- package/esm/ucsc-trackhub/index.js.map +1 -0
- package/esm/ucsc-trackhub/model.d.ts +15 -0
- package/esm/ucsc-trackhub/model.js +82 -0
- package/esm/ucsc-trackhub/model.js.map +1 -0
- package/esm/ucsc-trackhub/ucscAssemblies.d.ts +2 -0
- package/esm/ucsc-trackhub/ucscAssemblies.js +201 -0
- package/esm/ucsc-trackhub/ucscAssemblies.js.map +1 -0
- package/esm/ucsc-trackhub/ucscTrackHub.d.ts +6 -0
- package/esm/ucsc-trackhub/ucscTrackHub.js +348 -0
- package/esm/ucsc-trackhub/ucscTrackHub.js.map +1 -0
- package/package.json +19 -11
- package/src/AddConnectionWidget/components/AddConnectionWidget.js +14 -10
- package/src/AddConnectionWidget/components/ConnectionTypeSelect.tsx +2 -4
- package/src/AddConnectionWidget/components/__snapshots__/AddConnectionWidget.test.js.snap +63 -67
- package/src/AddTrackWidget/components/AddTrackWidget.test.js +4 -4
- package/src/AddTrackWidget/components/AddTrackWidget.tsx +5 -5
- package/src/AddTrackWidget/components/ConfirmTrack.tsx +22 -22
- package/src/AddTrackWidget/components/TrackSourceSelect.tsx +9 -5
- package/src/AddTrackWidget/components/__snapshots__/AddTrackWidget.test.js.snap +76 -95
- package/src/AssemblyManager/AssemblyAddForm.tsx +5 -11
- package/src/AssemblyManager/AssemblyManager.tsx +8 -8
- package/src/AssemblyManager/AssemblyTable.tsx +10 -10
- package/src/HierarchicalTrackSelectorWidget/components/CloseConnectionDialog.tsx +1 -1
- package/src/HierarchicalTrackSelectorWidget/components/DeleteConnectionDialog.tsx +1 -1
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.test.js +1 -1
- package/src/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.tsx +15 -13
- package/src/HierarchicalTrackSelectorWidget/components/ManageConnectionsDialog.tsx +6 -6
- package/src/HierarchicalTrackSelectorWidget/components/ToggleConnectionsDialog.tsx +7 -7
- package/src/HierarchicalTrackSelectorWidget/components/__snapshots__/HierarchicalTrackSelector.test.js.snap +122 -115
- package/src/PluginStoreWidget/components/CustomPluginForm.tsx +11 -14
- package/src/PluginStoreWidget/components/InstalledPlugin.tsx +9 -8
- package/src/PluginStoreWidget/components/InstalledPluginsList.tsx +1 -1
- package/src/PluginStoreWidget/components/PluginCard.tsx +10 -11
- package/src/PluginStoreWidget/components/PluginStoreWidget.tsx +9 -9
- package/src/PluginStoreWidget/components/__snapshots__/PluginStoreWidget.test.js.snap +267 -217
- package/src/PluginStoreWidget/index.js +0 -1
- package/src/SetDefaultSession/SetDefaultSession.tsx +1 -1
- package/dist/AddConnectionWidget/components/AddConnectionWidget.test.js +0 -279
- package/dist/AddTrackWidget/components/AddTrackWidget.test.js +0 -218
- package/dist/AddTrackWidget/index.test.js +0 -292
- package/dist/AssemblyManager/AssemblyManager.test.js +0 -113
- package/dist/HierarchicalTrackSelectorWidget/components/HierarchicalTrackSelector.test.js +0 -191
- package/dist/HierarchicalTrackSelectorWidget/model.test.js +0 -28
- package/dist/PluginStoreWidget/components/PluginStoreWidget.test.js +0 -201
- package/dist/PluginStoreWidget/model.test.js +0 -17
- package/dist/SetDefaultSession/SetDefaultSession.test.js +0 -75
- package/dist/index.test.js +0 -56
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`<AddTrackWidget /> renders 1`] = `
|
|
4
4
|
<div
|
|
5
|
-
class="
|
|
5
|
+
class="tss-1ohm0fb-root"
|
|
6
6
|
>
|
|
7
7
|
<div
|
|
8
|
-
class="
|
|
8
|
+
class="MuiStepper-root MuiStepper-vertical tss-1v8zuu8-stepper css-9tmuzo-MuiStepper-root"
|
|
9
9
|
>
|
|
10
10
|
<div
|
|
11
|
-
class="MuiStep-root MuiStep-vertical"
|
|
11
|
+
class="MuiStep-root MuiStep-vertical css-8wcvy5-MuiStep-root"
|
|
12
12
|
>
|
|
13
13
|
<span
|
|
14
|
-
class="MuiStepLabel-root MuiStepLabel-vertical"
|
|
14
|
+
class="MuiStepLabel-root MuiStepLabel-vertical css-14sza3e-MuiStepLabel-root"
|
|
15
15
|
>
|
|
16
16
|
<span
|
|
17
|
-
class="MuiStepLabel-iconContainer"
|
|
17
|
+
class="MuiStepLabel-iconContainer css-vnkopk-MuiStepLabel-iconContainer"
|
|
18
18
|
>
|
|
19
19
|
<svg
|
|
20
20
|
aria-hidden="true"
|
|
21
|
-
class="MuiSvgIcon-root MuiStepIcon-root MuiStepIcon-
|
|
21
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiStepIcon-root Mui-active css-1u4zpwo-MuiSvgIcon-root-MuiStepIcon-root"
|
|
22
22
|
focusable="false"
|
|
23
23
|
viewBox="0 0 24 24"
|
|
24
24
|
>
|
|
@@ -28,125 +28,120 @@ exports[`<AddTrackWidget /> renders 1`] = `
|
|
|
28
28
|
r="12"
|
|
29
29
|
/>
|
|
30
30
|
<text
|
|
31
|
-
class="MuiStepIcon-text"
|
|
31
|
+
class="MuiStepIcon-text css-117w1su-MuiStepIcon-text"
|
|
32
|
+
dominant-baseline="central"
|
|
32
33
|
text-anchor="middle"
|
|
33
34
|
x="12"
|
|
34
|
-
y="
|
|
35
|
+
y="12"
|
|
35
36
|
>
|
|
36
37
|
1
|
|
37
38
|
</text>
|
|
38
39
|
</svg>
|
|
39
40
|
</span>
|
|
40
41
|
<span
|
|
41
|
-
class="MuiStepLabel-labelContainer"
|
|
42
|
+
class="MuiStepLabel-labelContainer css-16ubnlw-MuiStepLabel-labelContainer"
|
|
42
43
|
>
|
|
43
44
|
<span
|
|
44
|
-
class="
|
|
45
|
+
class="MuiStepLabel-label Mui-active css-qivjh0-MuiStepLabel-label"
|
|
45
46
|
>
|
|
46
47
|
Enter track data
|
|
47
48
|
</span>
|
|
48
49
|
</span>
|
|
49
50
|
</span>
|
|
50
51
|
<div
|
|
51
|
-
class="MuiStepContent-root"
|
|
52
|
-
icon="1"
|
|
52
|
+
class="MuiStepContent-root css-14yr603-MuiStepContent-root"
|
|
53
53
|
>
|
|
54
54
|
<div
|
|
55
|
-
class="MuiCollapse-root MuiStepContent-transition MuiCollapse-entered"
|
|
55
|
+
class="MuiCollapse-root MuiCollapse-vertical MuiStepContent-transition MuiCollapse-entered css-1rw7nzj-MuiCollapse-root-MuiStepContent-transition"
|
|
56
56
|
style="min-height: 0px;"
|
|
57
57
|
>
|
|
58
58
|
<div
|
|
59
|
-
class="MuiCollapse-wrapper"
|
|
59
|
+
class="MuiCollapse-wrapper MuiCollapse-vertical css-smkl36-MuiCollapse-wrapper"
|
|
60
60
|
>
|
|
61
61
|
<div
|
|
62
|
-
class="MuiCollapse-wrapperInner"
|
|
62
|
+
class="MuiCollapse-wrapperInner MuiCollapse-vertical css-9l5vo-MuiCollapse-wrapperInner"
|
|
63
63
|
>
|
|
64
64
|
<div
|
|
65
|
-
class="MuiPaper-root
|
|
65
|
+
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 tss-hhqfdh-paper css-1ps6pg7-MuiPaper-root"
|
|
66
66
|
>
|
|
67
67
|
<div
|
|
68
|
-
class="MuiBox-root
|
|
68
|
+
class="MuiBox-root css-k008qs"
|
|
69
69
|
>
|
|
70
70
|
<label
|
|
71
|
-
class="
|
|
71
|
+
class="MuiInputLabel-root MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-root MuiFormLabel-colorPrimary css-1foa3kv-MuiFormLabel-root-MuiInputLabel-root"
|
|
72
72
|
data-shrink="true"
|
|
73
73
|
>
|
|
74
74
|
Main file
|
|
75
75
|
</label>
|
|
76
76
|
</div>
|
|
77
77
|
<div
|
|
78
|
-
class="MuiBox-root
|
|
78
|
+
class="MuiBox-root css-1xhj18k"
|
|
79
79
|
>
|
|
80
80
|
<div
|
|
81
|
-
class="MuiBox-root
|
|
81
|
+
class="MuiBox-root css-0"
|
|
82
82
|
>
|
|
83
83
|
<div
|
|
84
84
|
aria-label="file, url, or account picker"
|
|
85
|
-
class="MuiToggleButtonGroup-root"
|
|
85
|
+
class="MuiToggleButtonGroup-root css-1gjgmky-MuiToggleButtonGroup-root"
|
|
86
86
|
role="group"
|
|
87
87
|
>
|
|
88
88
|
<button
|
|
89
89
|
aria-label="local file"
|
|
90
90
|
aria-pressed="false"
|
|
91
|
-
class="MuiButtonBase-root MuiToggleButton-root MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal"
|
|
91
|
+
class="MuiButtonBase-root MuiToggleButton-root MuiToggleButton-sizeMedium MuiToggleButton-standard MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal css-ueukts-MuiButtonBase-root-MuiToggleButton-root"
|
|
92
92
|
tabindex="0"
|
|
93
93
|
type="button"
|
|
94
94
|
value="file"
|
|
95
95
|
>
|
|
96
|
+
File
|
|
96
97
|
<span
|
|
97
|
-
class="
|
|
98
|
-
>
|
|
99
|
-
File
|
|
100
|
-
</span>
|
|
101
|
-
<span
|
|
102
|
-
class="MuiTouchRipple-root"
|
|
98
|
+
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
103
99
|
/>
|
|
104
100
|
</button>
|
|
105
101
|
<button
|
|
106
102
|
aria-label="url"
|
|
107
103
|
aria-pressed="true"
|
|
108
|
-
class="MuiButtonBase-root MuiToggleButton-root MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal MuiToggleButton-
|
|
104
|
+
class="MuiButtonBase-root MuiToggleButton-root Mui-selected MuiToggleButton-sizeMedium MuiToggleButton-standard MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal css-ueukts-MuiButtonBase-root-MuiToggleButton-root"
|
|
109
105
|
tabindex="0"
|
|
110
106
|
type="button"
|
|
111
107
|
value="url"
|
|
112
108
|
>
|
|
109
|
+
URL
|
|
113
110
|
<span
|
|
114
|
-
class="
|
|
115
|
-
>
|
|
116
|
-
URL
|
|
117
|
-
</span>
|
|
118
|
-
<span
|
|
119
|
-
class="MuiTouchRipple-root"
|
|
111
|
+
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
120
112
|
/>
|
|
121
113
|
</button>
|
|
122
114
|
</div>
|
|
123
115
|
</div>
|
|
124
116
|
</div>
|
|
125
117
|
<div
|
|
126
|
-
class="MuiFormControl-root MuiTextField-root MuiFormControl-
|
|
118
|
+
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
127
119
|
>
|
|
128
120
|
<label
|
|
129
|
-
class="
|
|
121
|
+
class="MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined MuiFormLabel-root MuiFormLabel-colorPrimary css-14s5rfu-MuiFormLabel-root-MuiInputLabel-root"
|
|
130
122
|
data-shrink="false"
|
|
123
|
+
for="mui-1"
|
|
124
|
+
id="mui-1-label"
|
|
131
125
|
>
|
|
132
126
|
Enter URL
|
|
133
127
|
</label>
|
|
134
128
|
<div
|
|
135
|
-
class="
|
|
129
|
+
class="MuiOutlinedInput-root MuiInputBase-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
|
|
136
130
|
>
|
|
137
131
|
<input
|
|
138
132
|
aria-invalid="false"
|
|
139
|
-
class="MuiInputBase-input MuiOutlinedInput-input"
|
|
133
|
+
class="MuiOutlinedInput-input MuiInputBase-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
|
|
140
134
|
data-testid="urlInput"
|
|
135
|
+
id="mui-1"
|
|
141
136
|
type="text"
|
|
142
137
|
value=""
|
|
143
138
|
/>
|
|
144
139
|
<fieldset
|
|
145
140
|
aria-hidden="true"
|
|
146
|
-
class="
|
|
141
|
+
class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline"
|
|
147
142
|
>
|
|
148
143
|
<legend
|
|
149
|
-
class="
|
|
144
|
+
class="css-1ftyaf0"
|
|
150
145
|
>
|
|
151
146
|
<span>
|
|
152
147
|
Enter URL
|
|
@@ -156,94 +151,89 @@ exports[`<AddTrackWidget /> renders 1`] = `
|
|
|
156
151
|
</div>
|
|
157
152
|
</div>
|
|
158
153
|
<p
|
|
159
|
-
class="MuiFormHelperText-root"
|
|
154
|
+
class="MuiFormHelperText-root css-1d1r5q-MuiFormHelperText-root"
|
|
160
155
|
/>
|
|
161
156
|
<div
|
|
162
|
-
class="
|
|
157
|
+
class="tss-ehv88g-spacer"
|
|
163
158
|
/>
|
|
164
159
|
<div
|
|
165
|
-
class="MuiBox-root
|
|
160
|
+
class="MuiBox-root css-k008qs"
|
|
166
161
|
>
|
|
167
162
|
<label
|
|
168
|
-
class="
|
|
163
|
+
class="MuiInputLabel-root MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-root MuiFormLabel-colorPrimary css-1foa3kv-MuiFormLabel-root-MuiInputLabel-root"
|
|
169
164
|
data-shrink="true"
|
|
170
165
|
>
|
|
171
166
|
Index file
|
|
172
167
|
</label>
|
|
173
168
|
</div>
|
|
174
169
|
<div
|
|
175
|
-
class="MuiBox-root
|
|
170
|
+
class="MuiBox-root css-1xhj18k"
|
|
176
171
|
>
|
|
177
172
|
<div
|
|
178
|
-
class="MuiBox-root
|
|
173
|
+
class="MuiBox-root css-0"
|
|
179
174
|
>
|
|
180
175
|
<div
|
|
181
176
|
aria-label="file, url, or account picker"
|
|
182
|
-
class="MuiToggleButtonGroup-root"
|
|
177
|
+
class="MuiToggleButtonGroup-root css-1gjgmky-MuiToggleButtonGroup-root"
|
|
183
178
|
role="group"
|
|
184
179
|
>
|
|
185
180
|
<button
|
|
186
181
|
aria-label="local file"
|
|
187
182
|
aria-pressed="false"
|
|
188
|
-
class="MuiButtonBase-root MuiToggleButton-root MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal"
|
|
183
|
+
class="MuiButtonBase-root MuiToggleButton-root MuiToggleButton-sizeMedium MuiToggleButton-standard MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal css-ueukts-MuiButtonBase-root-MuiToggleButton-root"
|
|
189
184
|
tabindex="0"
|
|
190
185
|
type="button"
|
|
191
186
|
value="file"
|
|
192
187
|
>
|
|
188
|
+
File
|
|
193
189
|
<span
|
|
194
|
-
class="
|
|
195
|
-
>
|
|
196
|
-
File
|
|
197
|
-
</span>
|
|
198
|
-
<span
|
|
199
|
-
class="MuiTouchRipple-root"
|
|
190
|
+
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
200
191
|
/>
|
|
201
192
|
</button>
|
|
202
193
|
<button
|
|
203
194
|
aria-label="url"
|
|
204
195
|
aria-pressed="true"
|
|
205
|
-
class="MuiButtonBase-root MuiToggleButton-root MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal MuiToggleButton-
|
|
196
|
+
class="MuiButtonBase-root MuiToggleButton-root Mui-selected MuiToggleButton-sizeMedium MuiToggleButton-standard MuiToggleButtonGroup-grouped MuiToggleButtonGroup-groupedHorizontal css-ueukts-MuiButtonBase-root-MuiToggleButton-root"
|
|
206
197
|
tabindex="0"
|
|
207
198
|
type="button"
|
|
208
199
|
value="url"
|
|
209
200
|
>
|
|
201
|
+
URL
|
|
210
202
|
<span
|
|
211
|
-
class="
|
|
212
|
-
>
|
|
213
|
-
URL
|
|
214
|
-
</span>
|
|
215
|
-
<span
|
|
216
|
-
class="MuiTouchRipple-root"
|
|
203
|
+
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
|
|
217
204
|
/>
|
|
218
205
|
</button>
|
|
219
206
|
</div>
|
|
220
207
|
</div>
|
|
221
208
|
</div>
|
|
222
209
|
<div
|
|
223
|
-
class="MuiFormControl-root MuiTextField-root MuiFormControl-
|
|
210
|
+
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
|
|
224
211
|
>
|
|
225
212
|
<label
|
|
226
|
-
class="
|
|
213
|
+
class="MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined MuiFormLabel-root MuiFormLabel-colorPrimary css-14s5rfu-MuiFormLabel-root-MuiInputLabel-root"
|
|
227
214
|
data-shrink="false"
|
|
215
|
+
for="mui-2"
|
|
216
|
+
id="mui-2-label"
|
|
228
217
|
>
|
|
229
218
|
Enter URL
|
|
230
219
|
</label>
|
|
231
220
|
<div
|
|
232
|
-
class="
|
|
221
|
+
class="MuiOutlinedInput-root MuiInputBase-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
|
|
233
222
|
>
|
|
234
223
|
<input
|
|
235
224
|
aria-invalid="false"
|
|
236
|
-
class="MuiInputBase-input MuiOutlinedInput-input"
|
|
225
|
+
class="MuiOutlinedInput-input MuiInputBase-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
|
|
237
226
|
data-testid="urlInput"
|
|
227
|
+
id="mui-2"
|
|
238
228
|
type="text"
|
|
239
229
|
value=""
|
|
240
230
|
/>
|
|
241
231
|
<fieldset
|
|
242
232
|
aria-hidden="true"
|
|
243
|
-
class="
|
|
233
|
+
class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline"
|
|
244
234
|
>
|
|
245
235
|
<legend
|
|
246
|
-
class="
|
|
236
|
+
class="css-1ftyaf0"
|
|
247
237
|
>
|
|
248
238
|
<span>
|
|
249
239
|
Enter URL
|
|
@@ -253,38 +243,30 @@ exports[`<AddTrackWidget /> renders 1`] = `
|
|
|
253
243
|
</div>
|
|
254
244
|
</div>
|
|
255
245
|
<p
|
|
256
|
-
class="MuiFormHelperText-root"
|
|
246
|
+
class="MuiFormHelperText-root css-1d1r5q-MuiFormHelperText-root"
|
|
257
247
|
>
|
|
258
248
|
(Optional) The URL of the index file is automatically inferred from the URL of the main file if it is not supplied.
|
|
259
249
|
</p>
|
|
260
250
|
</div>
|
|
261
251
|
<div
|
|
262
|
-
class="
|
|
252
|
+
class="tss-1spe31o-actionsContainer"
|
|
263
253
|
>
|
|
264
254
|
<button
|
|
265
|
-
class="
|
|
255
|
+
class="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButtonBase-root Mui-disabled tss-11xjtta-button css-1e6y48t-MuiButtonBase-root-MuiButton-root"
|
|
266
256
|
disabled=""
|
|
267
257
|
tabindex="-1"
|
|
268
258
|
type="button"
|
|
269
259
|
>
|
|
270
|
-
|
|
271
|
-
class="MuiButton-label"
|
|
272
|
-
>
|
|
273
|
-
Back
|
|
274
|
-
</span>
|
|
260
|
+
Back
|
|
275
261
|
</button>
|
|
276
262
|
<button
|
|
277
|
-
class="
|
|
263
|
+
class="MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButtonBase-root Mui-disabled tss-11xjtta-button css-sghohy-MuiButtonBase-root-MuiButton-root"
|
|
278
264
|
data-testid="addTrackNextButton"
|
|
279
265
|
disabled=""
|
|
280
266
|
tabindex="-1"
|
|
281
267
|
type="button"
|
|
282
268
|
>
|
|
283
|
-
|
|
284
|
-
class="MuiButton-label"
|
|
285
|
-
>
|
|
286
|
-
Next
|
|
287
|
-
</span>
|
|
269
|
+
Next
|
|
288
270
|
</button>
|
|
289
271
|
</div>
|
|
290
272
|
</div>
|
|
@@ -293,24 +275,24 @@ exports[`<AddTrackWidget /> renders 1`] = `
|
|
|
293
275
|
</div>
|
|
294
276
|
</div>
|
|
295
277
|
<div
|
|
296
|
-
class="MuiStepConnector-root MuiStepConnector-vertical MuiStepConnector-
|
|
278
|
+
class="MuiStepConnector-root MuiStepConnector-vertical Mui-disabled css-1pe7n21-MuiStepConnector-root"
|
|
297
279
|
>
|
|
298
280
|
<span
|
|
299
|
-
class="MuiStepConnector-line MuiStepConnector-lineVertical"
|
|
281
|
+
class="MuiStepConnector-line MuiStepConnector-lineVertical css-8t49rw-MuiStepConnector-line"
|
|
300
282
|
/>
|
|
301
283
|
</div>
|
|
302
284
|
<div
|
|
303
|
-
class="MuiStep-root MuiStep-vertical"
|
|
285
|
+
class="MuiStep-root MuiStep-vertical css-8wcvy5-MuiStep-root"
|
|
304
286
|
>
|
|
305
287
|
<span
|
|
306
|
-
class="MuiStepLabel-root MuiStepLabel-vertical MuiStepLabel-
|
|
288
|
+
class="MuiStepLabel-root MuiStepLabel-vertical Mui-disabled css-14sza3e-MuiStepLabel-root"
|
|
307
289
|
>
|
|
308
290
|
<span
|
|
309
|
-
class="MuiStepLabel-iconContainer"
|
|
291
|
+
class="MuiStepLabel-iconContainer css-vnkopk-MuiStepLabel-iconContainer"
|
|
310
292
|
>
|
|
311
293
|
<svg
|
|
312
294
|
aria-hidden="true"
|
|
313
|
-
class="MuiSvgIcon-root MuiStepIcon-root"
|
|
295
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiStepIcon-root css-1u4zpwo-MuiSvgIcon-root-MuiStepIcon-root"
|
|
314
296
|
focusable="false"
|
|
315
297
|
viewBox="0 0 24 24"
|
|
316
298
|
>
|
|
@@ -320,29 +302,28 @@ exports[`<AddTrackWidget /> renders 1`] = `
|
|
|
320
302
|
r="12"
|
|
321
303
|
/>
|
|
322
304
|
<text
|
|
323
|
-
class="MuiStepIcon-text"
|
|
305
|
+
class="MuiStepIcon-text css-117w1su-MuiStepIcon-text"
|
|
306
|
+
dominant-baseline="central"
|
|
324
307
|
text-anchor="middle"
|
|
325
308
|
x="12"
|
|
326
|
-
y="
|
|
309
|
+
y="12"
|
|
327
310
|
>
|
|
328
311
|
2
|
|
329
312
|
</text>
|
|
330
313
|
</svg>
|
|
331
314
|
</span>
|
|
332
315
|
<span
|
|
333
|
-
class="MuiStepLabel-labelContainer"
|
|
316
|
+
class="MuiStepLabel-labelContainer css-16ubnlw-MuiStepLabel-labelContainer"
|
|
334
317
|
>
|
|
335
318
|
<span
|
|
336
|
-
class="
|
|
319
|
+
class="MuiStepLabel-label Mui-disabled css-qivjh0-MuiStepLabel-label"
|
|
337
320
|
>
|
|
338
321
|
Confirm track type
|
|
339
322
|
</span>
|
|
340
323
|
</span>
|
|
341
324
|
</span>
|
|
342
325
|
<div
|
|
343
|
-
class="MuiStepContent-root MuiStepContent-last"
|
|
344
|
-
disabled=""
|
|
345
|
-
icon="2"
|
|
326
|
+
class="MuiStepContent-root MuiStepContent-last css-1mz1l2x-MuiStepContent-root"
|
|
346
327
|
/>
|
|
347
328
|
</div>
|
|
348
329
|
</div>
|
|
@@ -2,17 +2,11 @@ import React, { useState } from 'react'
|
|
|
2
2
|
import { observer } from 'mobx-react'
|
|
3
3
|
import FileSelector from '@jbrowse/core/ui/FileSelector'
|
|
4
4
|
import { FileLocation } from '@jbrowse/core/util/types'
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
MenuItem,
|
|
9
|
-
Paper,
|
|
10
|
-
TextField,
|
|
11
|
-
makeStyles,
|
|
12
|
-
} from '@material-ui/core'
|
|
13
|
-
import AddIcon from '@material-ui/icons/Add'
|
|
5
|
+
import { Button, Grid, MenuItem, Paper, TextField } from '@mui/material'
|
|
6
|
+
import { makeStyles } from 'tss-react/mui'
|
|
7
|
+
import AddIcon from '@mui/icons-material/Add'
|
|
14
8
|
|
|
15
|
-
const useStyles = makeStyles(theme => ({
|
|
9
|
+
const useStyles = makeStyles()(theme => ({
|
|
16
10
|
root: {
|
|
17
11
|
flexGrow: 1,
|
|
18
12
|
overflow: 'hidden',
|
|
@@ -160,7 +154,7 @@ const AssemblyAddForm = observer(
|
|
|
160
154
|
rootModel: any
|
|
161
155
|
setFormOpen: Function
|
|
162
156
|
}) => {
|
|
163
|
-
const classes = useStyles()
|
|
157
|
+
const { classes } = useStyles()
|
|
164
158
|
|
|
165
159
|
const adapterTypes = [
|
|
166
160
|
'IndexedFastaAdapter',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react'
|
|
2
2
|
import { observer } from 'mobx-react'
|
|
3
|
-
import { makeStyles } from '
|
|
4
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration
|
|
3
|
+
import { makeStyles } from 'tss-react/mui'
|
|
4
|
+
import { AnyConfigurationModel } from '@jbrowse/core/configuration'
|
|
5
5
|
import {
|
|
6
6
|
Button,
|
|
7
7
|
Dialog,
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
DialogContent,
|
|
10
10
|
DialogTitle,
|
|
11
11
|
IconButton,
|
|
12
|
-
} from '@material
|
|
13
|
-
import ArrowBackIosIcon from '@
|
|
14
|
-
import CloseIcon from '@
|
|
15
|
-
import AddIcon from '@
|
|
12
|
+
} from '@mui/material'
|
|
13
|
+
import ArrowBackIosIcon from '@mui/icons-material/ArrowBackIos'
|
|
14
|
+
import CloseIcon from '@mui/icons-material/Close'
|
|
15
|
+
import AddIcon from '@mui/icons-material/Add'
|
|
16
16
|
|
|
17
17
|
import AssemblyTable from './AssemblyTable'
|
|
18
18
|
import AssemblyAddForm from './AssemblyAddForm'
|
|
19
19
|
import AssemblyEditor from './AssemblyEditor'
|
|
20
20
|
|
|
21
|
-
const useStyles = makeStyles(theme => ({
|
|
21
|
+
const useStyles = makeStyles()(theme => ({
|
|
22
22
|
titleBox: {
|
|
23
23
|
color: '#fff',
|
|
24
24
|
backgroundColor: theme.palette.primary.main,
|
|
@@ -50,7 +50,7 @@ const AssemblyManager = observer(
|
|
|
50
50
|
rootModel: any
|
|
51
51
|
onClose: (arg: boolean) => void
|
|
52
52
|
}) => {
|
|
53
|
-
const classes = useStyles()
|
|
53
|
+
const { classes } = useStyles()
|
|
54
54
|
const [isFormOpen, setFormOpen] = useState(false)
|
|
55
55
|
const [isAssemblyBeingEdited, setIsAssemblyBeingEdited] = useState(false)
|
|
56
56
|
const [assemblyBeingEdited, setAssemblyBeingEdited] =
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
TableRow,
|
|
11
11
|
Paper,
|
|
12
12
|
Typography,
|
|
13
|
-
|
|
14
|
-
} from '
|
|
13
|
+
} from '@mui/material'
|
|
14
|
+
import { makeStyles } from 'tss-react/mui'
|
|
15
15
|
|
|
16
|
-
import CreateIcon from '@
|
|
17
|
-
import DeleteIcon from '@
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
import CreateIcon from '@mui/icons-material/Create'
|
|
17
|
+
import DeleteIcon from '@mui/icons-material/Delete'
|
|
18
|
+
import {
|
|
19
|
+
readConfObject,
|
|
20
|
+
AnyConfigurationModel,
|
|
21
|
+
} from '@jbrowse/core/configuration'
|
|
22
22
|
|
|
23
|
-
const useStyles = makeStyles(() => ({
|
|
23
|
+
const useStyles = makeStyles()(() => ({
|
|
24
24
|
table: {
|
|
25
25
|
minWidth: 500,
|
|
26
26
|
minHeight: 150,
|
|
@@ -51,7 +51,7 @@ const AssemblyTable = observer(
|
|
|
51
51
|
setIsAssemblyBeingEdited(arg: boolean): void
|
|
52
52
|
setAssemblyBeingEdited(arg: AnyConfigurationModel): void
|
|
53
53
|
}) => {
|
|
54
|
-
const classes = useStyles()
|
|
54
|
+
const { classes } = useStyles()
|
|
55
55
|
|
|
56
56
|
function removeAssembly(name: string) {
|
|
57
57
|
rootModel.jbrowse.removeAssemblyConf(name)
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
DialogContentText,
|
|
7
7
|
DialogActions,
|
|
8
8
|
Button,
|
|
9
|
-
} from '@material
|
|
9
|
+
} from '@mui/material'
|
|
10
10
|
import { observer } from 'mobx-react'
|
|
11
11
|
import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema'
|
|
12
12
|
import { AbstractSessionModel } from '@jbrowse/core/util'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createTestSession } from '@jbrowse/web/src/rootModel'
|
|
2
|
-
import { createTheme, ThemeProvider } from '@material
|
|
2
|
+
import { createTheme, ThemeProvider } from '@mui/material/styles'
|
|
3
3
|
import { cleanup, render } from '@testing-library/react'
|
|
4
4
|
import React from 'react'
|
|
5
5
|
import HierarchicalTrackSelector from './HierarchicalTrackSelector'
|
|
@@ -18,16 +18,15 @@ import {
|
|
|
18
18
|
TextField,
|
|
19
19
|
Tooltip,
|
|
20
20
|
Typography,
|
|
21
|
-
|
|
22
|
-
} from '
|
|
23
|
-
|
|
21
|
+
} from '@mui/material'
|
|
22
|
+
import { makeStyles } from 'tss-react/mui'
|
|
24
23
|
// icons
|
|
25
|
-
import ClearIcon from '@
|
|
26
|
-
import AddIcon from '@
|
|
27
|
-
import ArrowDropDownIcon from '@
|
|
28
|
-
import ArrowRightIcon from '@
|
|
29
|
-
import MenuIcon from '@
|
|
30
|
-
import MoreIcon from '@
|
|
24
|
+
import ClearIcon from '@mui/icons-material/Clear'
|
|
25
|
+
import AddIcon from '@mui/icons-material/Add'
|
|
26
|
+
import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown'
|
|
27
|
+
import ArrowRightIcon from '@mui/icons-material/ArrowRight'
|
|
28
|
+
import MenuIcon from '@mui/icons-material/Menu'
|
|
29
|
+
import MoreIcon from '@mui/icons-material/MoreHoriz'
|
|
31
30
|
import { Cable } from '@jbrowse/core/ui/Icons'
|
|
32
31
|
|
|
33
32
|
// other
|
|
@@ -55,7 +54,7 @@ const DeleteConnectionDialog = lazy(() => import('./DeleteConnectionDialog'))
|
|
|
55
54
|
const ManageConnectionsDialog = lazy(() => import('./ManageConnectionsDialog'))
|
|
56
55
|
const ToggleConnectionsDialog = lazy(() => import('./ToggleConnectionsDialog'))
|
|
57
56
|
|
|
58
|
-
const useStyles = makeStyles(theme => ({
|
|
57
|
+
const useStyles = makeStyles()(theme => ({
|
|
59
58
|
searchBox: {
|
|
60
59
|
margin: theme.spacing(2),
|
|
61
60
|
},
|
|
@@ -99,7 +98,9 @@ const useStyles = makeStyles(theme => ({
|
|
|
99
98
|
// accordionColor set's display:flex so that the child accordionText use
|
|
100
99
|
// vertically centered text
|
|
101
100
|
accordionColor: {
|
|
101
|
+
// @ts-ignore
|
|
102
102
|
background: theme.palette.tertiary?.main,
|
|
103
|
+
// @ts-ignore
|
|
103
104
|
color: theme.palette.tertiary?.contrastText,
|
|
104
105
|
width: '100%',
|
|
105
106
|
display: 'flex',
|
|
@@ -151,7 +152,7 @@ function Node(props: {
|
|
|
151
152
|
drawerPosition,
|
|
152
153
|
} = data
|
|
153
154
|
|
|
154
|
-
const classes = useStyles()
|
|
155
|
+
const { classes } = useStyles()
|
|
155
156
|
const width = 10
|
|
156
157
|
const marginLeft = nestingLevel * width + (isLeaf ? width : 0)
|
|
157
158
|
const unsupported =
|
|
@@ -213,6 +214,7 @@ function Node(props: {
|
|
|
213
214
|
</Tooltip>
|
|
214
215
|
<IconButton
|
|
215
216
|
onClick={e => onMoreInfo({ target: e.currentTarget, id, conf })}
|
|
217
|
+
style={{ padding: 0 }}
|
|
216
218
|
color="secondary"
|
|
217
219
|
data-testid={`htsTrackEntryMenu-${id}`}
|
|
218
220
|
>
|
|
@@ -379,7 +381,7 @@ const HierarchicalTrackSelectorContainer = observer(
|
|
|
379
381
|
toolbarHeight: number
|
|
380
382
|
overrideDimensions?: { width: number; height: number }
|
|
381
383
|
}) => {
|
|
382
|
-
const classes = useStyles()
|
|
384
|
+
const { classes } = useStyles()
|
|
383
385
|
const session = getSession(model)
|
|
384
386
|
const [anchorEl, setAnchorEl] = useState<HTMLButtonElement | null>(null)
|
|
385
387
|
|
|
@@ -461,7 +463,7 @@ const HierarchicalTrackSelectorHeader = observer(
|
|
|
461
463
|
setAssemblyIdx: (n: number) => void
|
|
462
464
|
assemblyIdx: number
|
|
463
465
|
}) => {
|
|
464
|
-
const classes = useStyles()
|
|
466
|
+
const { classes } = useStyles()
|
|
465
467
|
const session = getSession(model)
|
|
466
468
|
const [connectionAnchorEl, setConnectionAnchorEl] =
|
|
467
469
|
useState<HTMLButtonElement>()
|