@jbrowse/plugin-linear-comparative-view 2.11.2 → 2.12.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.
Files changed (49) hide show
  1. package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +1 -1
  2. package/dist/LGVSyntenyDisplay/components/util.js +2 -3
  3. package/dist/LGVSyntenyDisplay/index.js +1 -1
  4. package/dist/LGVSyntenyDisplay/model.d.ts +35 -36
  5. package/dist/LaunchLinearSyntenyView.js +1 -1
  6. package/dist/LinearComparativeDisplay/index.js +1 -1
  7. package/dist/LinearComparativeDisplay/stateModelFactory.d.ts +34 -49
  8. package/dist/LinearComparativeView/index.js +1 -1
  9. package/dist/LinearComparativeView/model.d.ts +23 -178
  10. package/dist/LinearComparativeView/model.js +0 -23
  11. package/dist/LinearReadVsRef/LinearReadVsRef.js +1 -1
  12. package/dist/LinearReadVsRef/index.js +1 -1
  13. package/dist/LinearSyntenyDisplay/afterAttach.js +1 -2
  14. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +54 -101
  15. package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
  16. package/dist/LinearSyntenyDisplay/components/util.d.ts +10 -0
  17. package/dist/LinearSyntenyDisplay/components/util.js +90 -5
  18. package/dist/LinearSyntenyDisplay/drawSynteny.js +4 -4
  19. package/dist/LinearSyntenyDisplay/index.js +1 -1
  20. package/dist/LinearSyntenyDisplay/model.d.ts +26 -36
  21. package/dist/LinearSyntenyView/components/ExportSvgDialog.js +1 -1
  22. package/dist/LinearSyntenyView/components/Icons.js +2 -3
  23. package/dist/LinearSyntenyView/components/ImportForm/index.js +1 -0
  24. package/dist/LinearSyntenyView/components/ImportForm/util.js +4 -5
  25. package/dist/LinearSyntenyView/index.js +1 -1
  26. package/dist/LinearSyntenyView/model.d.ts +26 -943
  27. package/dist/LinearSyntenyView/model.js +1 -9
  28. package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
  29. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +1 -2
  30. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +5 -3
  31. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +2 -4
  32. package/dist/SyntenyFeatureDetail/index.js +1 -1
  33. package/dist/SyntenyTrack/index.js +1 -1
  34. package/dist/util.js +5 -6
  35. package/esm/LGVSyntenyDisplay/components/util.js +1 -1
  36. package/esm/LGVSyntenyDisplay/model.d.ts +35 -36
  37. package/esm/LinearComparativeDisplay/stateModelFactory.d.ts +34 -49
  38. package/esm/LinearComparativeView/model.d.ts +23 -178
  39. package/esm/LinearComparativeView/model.js +1 -24
  40. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +54 -101
  41. package/esm/LinearSyntenyDisplay/components/util.d.ts +10 -0
  42. package/esm/LinearSyntenyDisplay/components/util.js +84 -1
  43. package/esm/LinearSyntenyDisplay/model.d.ts +26 -36
  44. package/esm/LinearSyntenyView/components/ImportForm/index.js +1 -0
  45. package/esm/LinearSyntenyView/model.d.ts +26 -943
  46. package/esm/LinearSyntenyView/model.js +0 -8
  47. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +5 -3
  48. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +2 -4
  49. package/package.json +2 -2
@@ -5,7 +5,6 @@ import { getSession } from '@jbrowse/core/util';
5
5
  import { saveAs } from 'file-saver';
6
6
  // icons
7
7
  import CropFreeIcon from '@mui/icons-material/CropFree';
8
- import LinkIcon from '@mui/icons-material/Link';
9
8
  import VisibilityIcon from '@mui/icons-material/Visibility';
10
9
  import PhotoCameraIcon from '@mui/icons-material/PhotoCamera';
11
10
  import { Curves } from './components/Icons';
@@ -98,13 +97,6 @@ export default function stateModelFactory(pluginManager) {
98
97
  type: 'checkbox',
99
98
  description: 'Draws per-base CIGAR level alignments',
100
99
  },
101
- {
102
- label: 'Link views',
103
- type: 'checkbox',
104
- checked: self.linkViews,
105
- onClick: self.toggleLinkViews,
106
- icon: LinkIcon,
107
- },
108
100
  {
109
101
  label: 'Use curved lines',
110
102
  type: 'checkbox',
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
- declare const BreakpointAlignmentsFeatureDetail: ({ model }: {
3
- model: any;
2
+ declare const SyntenyFeatureDetail: ({ model, }: {
3
+ model: {
4
+ featureData: unknown;
5
+ };
4
6
  }) => React.JSX.Element;
5
- export default BreakpointAlignmentsFeatureDetail;
7
+ export default SyntenyFeatureDetail;
@@ -24,9 +24,7 @@ function Formatter({ value }) {
24
24
  function CustomFeatureDetails(props) {
25
25
  return (React.createElement(BaseAttributes, { ...props, formatter: (value) => React.createElement(Formatter, { value: value }) }));
26
26
  }
27
- const BreakpointAlignmentsFeatureDetail = observer(
28
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
29
- ({ model }) => {
27
+ const SyntenyFeatureDetail = observer(function ({ model, }) {
30
28
  const { feature1, feature2 } = JSON.parse(JSON.stringify(model.featureData));
31
29
  return (React.createElement(Paper, { "data-testid": "alignment-side-drawer" },
32
30
  React.createElement(BaseCoreDetails, { title: "Feature 1", feature: feature1 }),
@@ -34,4 +32,4 @@ const BreakpointAlignmentsFeatureDetail = observer(
34
32
  React.createElement(CustomFeatureDetails, { feature: feature1 }),
35
33
  React.createElement(CustomFeatureDetails, { feature: feature2 })));
36
34
  });
37
- export default BreakpointAlignmentsFeatureDetail;
35
+ export default SyntenyFeatureDetail;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-linear-comparative-view",
3
- "version": "2.11.2",
3
+ "version": "2.12.1",
4
4
  "description": "JBrowse 2 linear comparative view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "511048cb6965f0bf624c96de244e7fd47fce17d6"
64
+ "gitHead": "20f16ae5a56ae5e4806aaa373131e540b0b5b0fd"
65
65
  }