@jbrowse/plugin-wiggle 1.7.0 → 1.7.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 (35) hide show
  1. package/dist/BigWigAdapter/BigWigAdapter.d.ts +24 -24
  2. package/dist/BigWigAdapter/configSchema.d.ts +2 -2
  3. package/dist/BigWigAdapter/index.d.ts +1 -1
  4. package/dist/DensityRenderer/index.d.ts +6 -6
  5. package/dist/LinePlotRenderer/LinePlotRenderer.d.ts +4 -9
  6. package/dist/LinePlotRenderer/configSchema.d.ts +2 -2
  7. package/dist/LinePlotRenderer/index.d.ts +3 -3
  8. package/dist/LinearWiggleDisplay/components/SetColorDialog.d.ts +10 -10
  9. package/dist/LinearWiggleDisplay/components/SetMinMaxDialog.d.ts +11 -11
  10. package/dist/LinearWiggleDisplay/components/Tooltip.d.ts +24 -24
  11. package/dist/LinearWiggleDisplay/components/WiggleDisplayComponent.d.ts +8 -8
  12. package/dist/LinearWiggleDisplay/components/YScaleBar.d.ts +7 -7
  13. package/dist/LinearWiggleDisplay/index.d.ts +3 -3
  14. package/dist/LinearWiggleDisplay/models/configSchema.d.ts +2 -2
  15. package/dist/LinearWiggleDisplay/models/model.d.ts +288 -288
  16. package/dist/WiggleBaseRenderer.d.ts +44 -42
  17. package/dist/WiggleRPC/rpcMethods.d.ts +31 -31
  18. package/dist/WiggleRendering.d.ts +16 -16
  19. package/dist/XYPlotRenderer/XYPlotRenderer.d.ts +4 -4
  20. package/dist/XYPlotRenderer/index.d.ts +3 -3
  21. package/dist/configSchema.d.ts +2 -2
  22. package/dist/index.d.ts +866 -866
  23. package/dist/util.d.ts +41 -41
  24. package/package.json +3 -2
  25. package/dist/DensityRenderer/DensityRenderer.test.d.ts +0 -1
  26. package/dist/WiggleRendering.test.d.ts +0 -1
  27. package/dist/XYPlotRenderer/XYPlotRenderer.test.d.ts +0 -1
  28. package/dist/index.test.d.ts +0 -1
  29. package/dist/plugin-wiggle.cjs.development.js +0 -3556
  30. package/dist/plugin-wiggle.cjs.development.js.map +0 -1
  31. package/dist/plugin-wiggle.cjs.production.min.js +0 -2
  32. package/dist/plugin-wiggle.cjs.production.min.js.map +0 -1
  33. package/dist/plugin-wiggle.esm.js +0 -3541
  34. package/dist/plugin-wiggle.esm.js.map +0 -1
  35. package/dist/util.test.d.ts +0 -1
package/dist/util.d.ts CHANGED
@@ -1,41 +1,41 @@
1
- export interface ScaleOpts {
2
- domain: number[];
3
- range: number[];
4
- scaleType: string;
5
- pivotValue?: number;
6
- inverted: boolean;
7
- }
8
- /**
9
- * produces a d3-scale from arguments. applies a "nice domain" adjustment
10
- *
11
- * @param object - containing attributes
12
- * - domain [min,max]
13
- * - range [min,max]
14
- * - bounds [min,max]
15
- * - scaleType (linear or log)
16
- * - pivotValue (number)
17
- * - inverted (boolean)
18
- */
19
- export declare function getScale({ domain, range, scaleType, pivotValue, inverted, }: ScaleOpts): import("d3-scale").ScaleLinear<number, number> | import("d3-scale").ScaleQuantize<number>;
20
- /**
21
- * gets the origin for drawing the graph. for linear this is 0, for log this is arbitrarily set to log(1)==0
22
- *
23
- * @param scaleType -
24
- */
25
- export declare function getOrigin(scaleType: string): 1 | 0;
26
- /**
27
- * produces a "nice" domain that actually rounds down to 0 for the min
28
- * or 0 to the max depending on if all values are positive or negative
29
- *
30
- * @param object - containing attributes
31
- * - domain [min,max]
32
- * - bounds [min,max]
33
- * - mean
34
- * - stddev
35
- * - scaleType (linear or log)
36
- */
37
- export declare function getNiceDomain({ scaleType, domain, bounds, }: {
38
- scaleType: string;
39
- domain: number[];
40
- bounds: number[];
41
- }): [number, number];
1
+ export interface ScaleOpts {
2
+ domain: number[];
3
+ range: number[];
4
+ scaleType: string;
5
+ pivotValue?: number;
6
+ inverted: boolean;
7
+ }
8
+ /**
9
+ * produces a d3-scale from arguments. applies a "nice domain" adjustment
10
+ *
11
+ * @param object - containing attributes
12
+ * - domain [min,max]
13
+ * - range [min,max]
14
+ * - bounds [min,max]
15
+ * - scaleType (linear or log)
16
+ * - pivotValue (number)
17
+ * - inverted (boolean)
18
+ */
19
+ export declare function getScale({ domain, range, scaleType, pivotValue, inverted, }: ScaleOpts): import("d3-scale").ScaleLinear<number, number> | import("d3-scale").ScaleQuantize<number>;
20
+ /**
21
+ * gets the origin for drawing the graph. for linear this is 0, for log this is arbitrarily set to log(1)==0
22
+ *
23
+ * @param scaleType -
24
+ */
25
+ export declare function getOrigin(scaleType: string): 1 | 0;
26
+ /**
27
+ * produces a "nice" domain that actually rounds down to 0 for the min
28
+ * or 0 to the max depending on if all values are positive or negative
29
+ *
30
+ * @param object - containing attributes
31
+ * - domain [min,max]
32
+ * - bounds [min,max]
33
+ * - mean
34
+ * - stddev
35
+ * - scaleType (linear or log)
36
+ */
37
+ export declare function getNiceDomain({ scaleType, domain, bounds, }: {
38
+ scaleType: string;
39
+ domain: number[];
40
+ bounds: number[];
41
+ }): [number, number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-wiggle",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "JBrowse 2 wiggle adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -24,6 +24,7 @@
24
24
  ],
25
25
  "scripts": {
26
26
  "build": "babel src --root-mode upward --out-dir dist --extensions .ts,.js,.tsx,.jsx",
27
+ "postbuild": "tsc --build tsconfig.build.json",
27
28
  "test": "cd ../..; jest plugins/wiggle",
28
29
  "prepublishOnly": "yarn test",
29
30
  "prepack": "yarn build; yarn useDist",
@@ -57,5 +58,5 @@
57
58
  "publishConfig": {
58
59
  "access": "public"
59
60
  },
60
- "gitHead": "cc13844074d11881d211342a6a7eea113561b70b"
61
+ "gitHead": "6da232090c90f22ac96fd464c33082c89b8da14b"
61
62
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};