@jbrowse/plugin-lollipop 2.10.2 → 2.11.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.
@@ -43,8 +43,15 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
43
43
  message: string | undefined;
44
44
  maxHeightReached: boolean;
45
45
  ReactComponent: ({ model, }: {
46
- model: any;
47
- }) => any;
46
+ model: {
47
+ error?: unknown;
48
+ reload: () => void;
49
+ message: import("react").ReactNode;
50
+ filled?: boolean | undefined;
51
+ status?: string | undefined;
52
+ reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
53
+ };
54
+ }) => import("react").JSX.Element | undefined;
48
55
  renderProps: any;
49
56
  } & {
50
57
  doReload(): void;
@@ -282,8 +289,15 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
282
289
  message: string | undefined;
283
290
  maxHeightReached: boolean;
284
291
  ReactComponent: ({ model, }: {
285
- model: any;
286
- }) => any;
292
+ model: {
293
+ error?: unknown;
294
+ reload: () => void;
295
+ message: import("react").ReactNode;
296
+ filled?: boolean | undefined;
297
+ status?: string | undefined;
298
+ reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
299
+ };
300
+ }) => import("react").JSX.Element | undefined;
287
301
  renderProps: any;
288
302
  } & {
289
303
  doReload(): void;
@@ -73,8 +73,8 @@ const LollipopRendering = (0, mobx_react_1.observer)(function (props) {
73
73
  return (react_1.default.createElement("svg", { width: width, height: height, style: { position: 'relative' }, onMouseDown: onMouseDown, onMouseUp: onMouseUp, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onMouseOver: onMouseOver, onMouseOut: onMouseOut, onFocus: onMouseEnter, onBlur: onMouseLeave, onClick: onClick }, records.map(layoutRecord => {
74
74
  const feature = features.get(layoutRecord.data.featureId);
75
75
  return (react_1.default.createElement(react_1.default.Fragment, { key: feature.id() },
76
- react_1.default.createElement(Stick_1.default, { ...props, config: config, layoutRecord: layoutRecord, feature: feature, key: `stick-${feature.id()}` }),
77
- react_1.default.createElement(Lollipop_1.default, { ...props, layoutRecord: layoutRecord, feature: feature, key: `body-${feature.id()}`, selectedFeatureId: selectedFeatureId })));
76
+ react_1.default.createElement(Stick_1.default, { key: `stick-${feature.id()}`, ...props, config: config, layoutRecord: layoutRecord, feature: feature }),
77
+ react_1.default.createElement(Lollipop_1.default, { key: `body-${feature.id()}`, ...props, layoutRecord: layoutRecord, feature: feature, selectedFeatureId: selectedFeatureId })));
78
78
  })));
79
79
  });
80
80
  exports.default = LollipopRendering;
@@ -43,8 +43,15 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
43
43
  message: string | undefined;
44
44
  maxHeightReached: boolean;
45
45
  ReactComponent: ({ model, }: {
46
- model: any;
47
- }) => any;
46
+ model: {
47
+ error?: unknown;
48
+ reload: () => void;
49
+ message: import("react").ReactNode;
50
+ filled?: boolean | undefined;
51
+ status?: string | undefined;
52
+ reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
53
+ };
54
+ }) => import("react").JSX.Element | undefined;
48
55
  renderProps: any;
49
56
  } & {
50
57
  doReload(): void;
@@ -282,8 +289,15 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
282
289
  message: string | undefined;
283
290
  maxHeightReached: boolean;
284
291
  ReactComponent: ({ model, }: {
285
- model: any;
286
- }) => any;
292
+ model: {
293
+ error?: unknown;
294
+ reload: () => void;
295
+ message: import("react").ReactNode;
296
+ filled?: boolean | undefined;
297
+ status?: string | undefined;
298
+ reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
299
+ };
300
+ }) => import("react").JSX.Element | undefined;
287
301
  renderProps: any;
288
302
  } & {
289
303
  doReload(): void;
@@ -68,8 +68,8 @@ const LollipopRendering = observer(function (props) {
68
68
  return (React.createElement("svg", { width: width, height: height, style: { position: 'relative' }, onMouseDown: onMouseDown, onMouseUp: onMouseUp, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, onMouseOver: onMouseOver, onMouseOut: onMouseOut, onFocus: onMouseEnter, onBlur: onMouseLeave, onClick: onClick }, records.map(layoutRecord => {
69
69
  const feature = features.get(layoutRecord.data.featureId);
70
70
  return (React.createElement(React.Fragment, { key: feature.id() },
71
- React.createElement(Stick, { ...props, config: config, layoutRecord: layoutRecord, feature: feature, key: `stick-${feature.id()}` }),
72
- React.createElement(Lollipop, { ...props, layoutRecord: layoutRecord, feature: feature, key: `body-${feature.id()}`, selectedFeatureId: selectedFeatureId })));
71
+ React.createElement(Stick, { key: `stick-${feature.id()}`, ...props, config: config, layoutRecord: layoutRecord, feature: feature }),
72
+ React.createElement(Lollipop, { key: `body-${feature.id()}`, ...props, layoutRecord: layoutRecord, feature: feature, selectedFeatureId: selectedFeatureId })));
73
73
  })));
74
74
  });
75
75
  export default LollipopRendering;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-lollipop",
3
- "version": "2.10.2",
3
+ "version": "2.11.0",
4
4
  "description": "JBrowse 2 plugin for lollipops",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "7ca3b7db337ebd88853e2d96cdab940ed550c4fb"
54
+ "gitHead": "3d43a820b9274a6160aa4dc15616147f390d9094"
55
55
  }