@jbrowse/core 2.12.3 → 2.13.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.
@@ -79,7 +79,9 @@ function DataGridDetails({ value, prefix, name, }) {
79
79
  return (react_1.default.createElement("div", { className: classes.margin },
80
80
  react_1.default.createElement(FieldName_1.default, { prefix: prefix, name: name }),
81
81
  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") }),
82
- react_1.default.createElement(x_data_grid_1.DataGrid, { disableRowSelectionOnClick: true, rows: rows, rowCount: 25, rowHeight: 25, columnHeaderHeight: 35, hideFooter: rows.length < 25, slots: { toolbar: checked ? x_data_grid_1.GridToolbar : null }, slotProps: {
82
+ react_1.default.createElement(x_data_grid_1.DataGrid, { autoHeight: true, disableRowSelectionOnClick: true, rows: rows, rowHeight: 20, columnHeaderHeight: 35, hideFooter: rows.length < 25, slots: {
83
+ toolbar: checked ? x_data_grid_1.GridToolbar : null,
84
+ }, slotProps: {
83
85
  toolbar: {
84
86
  printOptions: {
85
87
  disableToolbarButton: true,
@@ -90,7 +92,7 @@ function DataGridDetails({ value, prefix, name, }) {
90
92
  renderCell: params => {
91
93
  const value = params.value;
92
94
  return (react_1.default.createElement("div", { className: classes.cell },
93
- react_1.default.createElement(ui_1.SanitizedHTML, { html: (0, util_1.getStr)(value) })));
95
+ react_1.default.createElement(ui_1.SanitizedHTML, { html: (0, util_1.getStr)(value || '') })));
94
96
  },
95
97
  width: widths[index],
96
98
  })) })));
@@ -169,8 +169,8 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
169
169
  afterAttach(): void;
170
170
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
171
171
  }>>, {
172
- id: string;
173
172
  type: "BaseFeatureWidget";
173
+ id: string;
174
174
  track: import("mobx-state-tree").ReferenceIdentifier | undefined;
175
175
  view: import("mobx-state-tree").ReferenceIdentifier | undefined;
176
176
  trackId: string | undefined;
@@ -219,8 +219,8 @@ export default class PluginManager {
219
219
  'mobx-react': typeof import("mobx-react");
220
220
  '@mui/x-data-grid': {
221
221
  useGridApiContext: typeof import("@mui/x-data-grid").useGridApiContext;
222
- useGridApiRef: <Api extends import("@mui/x-data-grid").GridApiCommon<any, any> = import("@mui/x-data-grid/internals").GridApiCommunity>() => import("react").MutableRefObject<Api>;
223
- useGridRootProps: () => import("@mui/x-data-grid/internals").DataGridProcessedProps<any>;
222
+ useGridApiRef: <Api extends import("@mui/x-data-grid").GridApiCommon = import("@mui/x-data-grid/internals").GridApiCommunity>() => import("react").MutableRefObject<Api>;
223
+ useGridRootProps: () => import("@mui/x-data-grid/internals").DataGridProcessedProps;
224
224
  };
225
225
  '@mui/material/utils': typeof import("@mui/material/utils");
226
226
  '@material-ui/core/utils': typeof import("@mui/material/utils");
@@ -247,7 +247,6 @@ export default class PluginManager {
247
247
  alpha: typeof import("@mui/system").alpha;
248
248
  useTheme: typeof import("@mui/material").useTheme;
249
249
  };
250
- 'prop-types': typeof import("prop-types");
251
250
  '@mui/material/styles': {
252
251
  MUIStyles: typeof import("@mui/material/styles");
253
252
  makeStyles: (args: any) => () => Record<string, string>;
package/ReExports/list.js CHANGED
@@ -18,7 +18,6 @@ exports.default = [
18
18
  'tss-react/mui',
19
19
  '@material-ui/core',
20
20
  '@mui/material',
21
- 'prop-types',
22
21
  '@mui/material/styles',
23
22
  '@material-ui/core/styles',
24
23
  '@material-ui/core/Accordion',
@@ -4,7 +4,6 @@ import * as ReactDom from 'react-dom';
4
4
  import * as mobx from 'mobx';
5
5
  import * as mst from 'mobx-state-tree';
6
6
  import * as mxreact from 'mobx-react';
7
- import PropTypes from 'prop-types';
8
7
  import * as MUIStyles from '@mui/material/styles';
9
8
  import * as MUIUtils from '@mui/material/utils';
10
9
  import { useGridApiContext } from '@mui/x-data-grid';
@@ -128,8 +127,8 @@ declare const libs: {
128
127
  'mobx-react': typeof mxreact;
129
128
  '@mui/x-data-grid': {
130
129
  useGridApiContext: typeof useGridApiContext;
131
- useGridApiRef: <Api extends import("@mui/x-data-grid").GridApiCommon<any, any> = import("@mui/x-data-grid/internals").GridApiCommunity>() => React.MutableRefObject<Api>;
132
- useGridRootProps: () => import("@mui/x-data-grid/internals").DataGridProcessedProps<any>;
130
+ useGridApiRef: <Api extends import("@mui/x-data-grid").GridApiCommon = import("@mui/x-data-grid/internals").GridApiCommunity>() => React.MutableRefObject<Api>;
131
+ useGridRootProps: () => import("@mui/x-data-grid/internals").DataGridProcessedProps;
133
132
  };
134
133
  '@mui/material/utils': typeof MUIUtils;
135
134
  '@material-ui/core/utils': typeof MUIUtils;
@@ -156,7 +155,6 @@ declare const libs: {
156
155
  alpha: typeof MUIStyles.alpha;
157
156
  useTheme: typeof MUIStyles.useTheme;
158
157
  };
159
- 'prop-types': typeof PropTypes;
160
158
  '@mui/material/styles': {
161
159
  MUIStyles: typeof MUIStyles;
162
160
  makeStyles: (args: any) => () => Record<string, string>;
@@ -35,7 +35,6 @@ const mobx = __importStar(require("mobx"));
35
35
  const mst = __importStar(require("mobx-state-tree"));
36
36
  const mxreact = __importStar(require("mobx-react"));
37
37
  const mui_1 = require("tss-react/mui");
38
- const prop_types_1 = __importDefault(require("prop-types"));
39
38
  const MUIStyles = __importStar(require("@mui/material/styles"));
40
39
  const MUIUtils = __importStar(require("@mui/material/utils"));
41
40
  const material_1 = require("@mui/material");
@@ -399,7 +398,6 @@ const libs = {
399
398
  alpha: MUIStyles.alpha,
400
399
  useTheme: MUIStyles.useTheme,
401
400
  },
402
- 'prop-types': prop_types_1.default,
403
401
  // end special case
404
402
  // material-ui subcomponents, should get rid of these
405
403
  '@mui/material/styles': {
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = assemblyFactory;
7
7
  const mobx_state_tree_1 = require("mobx-state-tree");
8
- const abortable_promise_cache_1 = __importDefault(require("abortable-promise-cache"));
8
+ const abortable_promise_cache_1 = __importDefault(require("@gmod/abortable-promise-cache"));
9
9
  // locals
10
10
  const configuration_1 = require("../configuration");
11
11
  const util_1 = require("../util");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/core",
3
- "version": "2.12.3",
3
+ "version": "2.13.0",
4
4
  "description": "JBrowse 2 core libraries used by plugins",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.17.9",
34
+ "@gmod/abortable-promise-cache": "^2.0.0",
34
35
  "@gmod/bgzf-filehandle": "^1.4.3",
35
- "@gmod/http-range-fetcher": "^3.0.0",
36
+ "@gmod/http-range-fetcher": "^3.0.4",
36
37
  "@mui/icons-material": "^5.0.1",
37
38
  "@mui/x-data-grid": "^7.0.0",
38
39
  "@types/clone": "^2.0.0",
39
- "abortable-promise-cache": "^1.5.0",
40
40
  "canvas-sequencer": "^3.1.0",
41
41
  "canvas2svg": "^1.0.16",
42
42
  "clone": "^2.1.2",
@@ -64,7 +64,6 @@
64
64
  "mobx": "^6.0.0",
65
65
  "mobx-react": "^9.0.0",
66
66
  "mobx-state-tree": "^5.0.0",
67
- "prop-types": "^15.0.0",
68
67
  "react": ">=16.8.0",
69
68
  "react-dom": ">=16.8.0",
70
69
  "rxjs": "^7.0.0",
@@ -74,5 +73,5 @@
74
73
  "access": "public",
75
74
  "directory": "dist"
76
75
  },
77
- "gitHead": "2775490221cde56af344acebb0afa7e14531cd81"
76
+ "gitHead": "efe02fb9616e20e929cceeed46eb96420c1b6923"
78
77
  }