@jbrowse/plugin-variants 2.12.3 → 2.13.1

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.
@@ -84,7 +84,11 @@ function VariantSamples(props) {
84
84
  error ? react_1.default.createElement(material_1.Typography, { color: "error" }, `${error}`) : null,
85
85
  react_1.default.createElement(material_1.FormControlLabel, { control: react_1.default.createElement(material_1.Checkbox, { checked: checked, onChange: event => setChecked(event.target.checked) }), label: react_1.default.createElement(material_1.Typography, { variant: "body2" }, "Show options") }),
86
86
  checked ? (react_1.default.createElement(SampleFilters, { setFilter: setFilter, columns: columns, filter: filter })) : null,
87
- react_1.default.createElement(x_data_grid_1.DataGrid, { rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? x_data_grid_1.GridToolbar : null }, slotProps: {
88
- toolbar: { printOptions: { disableToolbarButton: true } },
87
+ react_1.default.createElement(x_data_grid_1.DataGrid, { autoHeight: true, rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? x_data_grid_1.GridToolbar : null }, slotProps: {
88
+ toolbar: {
89
+ printOptions: {
90
+ disableToolbarButton: true,
91
+ },
92
+ },
89
93
  } })));
90
94
  }
@@ -86,8 +86,8 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
86
86
  afterAttach(): void;
87
87
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
88
88
  }>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
89
- id: string;
90
89
  type: "BaseFeatureWidget";
90
+ id: string;
91
91
  track: import("mobx-state-tree").ReferenceIdentifier | undefined;
92
92
  view: import("mobx-state-tree").ReferenceIdentifier | undefined;
93
93
  trackId: string | undefined;
@@ -15,7 +15,7 @@ class VCFFeature {
15
15
  var _a;
16
16
  return field === 'samples'
17
17
  ? this.variant.SAMPLES
18
- : (_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field];
18
+ : ((_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field]);
19
19
  }
20
20
  set() { }
21
21
  parent() {
@@ -58,7 +58,11 @@ export default function VariantSamples(props) {
58
58
  error ? React.createElement(Typography, { color: "error" }, `${error}`) : null,
59
59
  React.createElement(FormControlLabel, { control: React.createElement(Checkbox, { checked: checked, onChange: event => setChecked(event.target.checked) }), label: React.createElement(Typography, { variant: "body2" }, "Show options") }),
60
60
  checked ? (React.createElement(SampleFilters, { setFilter: setFilter, columns: columns, filter: filter })) : null,
61
- React.createElement(DataGrid, { rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? GridToolbar : null }, slotProps: {
62
- toolbar: { printOptions: { disableToolbarButton: true } },
61
+ React.createElement(DataGrid, { autoHeight: true, rows: rows, hideFooter: rows.length < 100, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, columnHeaderHeight: 35, disableColumnMenu: true, slots: { toolbar: checked ? GridToolbar : null }, slotProps: {
62
+ toolbar: {
63
+ printOptions: {
64
+ disableToolbarButton: true,
65
+ },
66
+ },
63
67
  } })));
64
68
  }
@@ -86,8 +86,8 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
86
86
  afterAttach(): void;
87
87
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
88
88
  }>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
89
- id: string;
90
89
  type: "BaseFeatureWidget";
90
+ id: string;
91
91
  track: import("mobx-state-tree").ReferenceIdentifier | undefined;
92
92
  view: import("mobx-state-tree").ReferenceIdentifier | undefined;
93
93
  trackId: string | undefined;
@@ -13,7 +13,7 @@ export default class VCFFeature {
13
13
  var _a;
14
14
  return field === 'samples'
15
15
  ? this.variant.SAMPLES
16
- : (_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field];
16
+ : ((_a = this.data[field]) !== null && _a !== void 0 ? _a : this.variant[field]);
17
17
  }
18
18
  set() { }
19
19
  parent() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-variants",
3
- "version": "2.12.3",
3
+ "version": "2.13.1",
4
4
  "description": "JBrowse 2 variant adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -62,5 +62,5 @@
62
62
  "distModule": "esm/index.js",
63
63
  "srcModule": "src/index.ts",
64
64
  "module": "esm/index.js",
65
- "gitHead": "2775490221cde56af344acebb0afa7e14531cd81"
65
+ "gitHead": "fcebca71cc1d066654603e1a9accfa6c6d4f764d"
66
66
  }