react-msaview-cli 9.3.0 → 9.4.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.
- package/dist/index.js +8 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -86528,7 +86528,7 @@ var version2;
|
|
|
86528
86528
|
var init_version3 = __esm({
|
|
86529
86529
|
"../lib/dist/version.js"() {
|
|
86530
86530
|
"use strict";
|
|
86531
|
-
version2 = "9.
|
|
86531
|
+
version2 = "9.4.0";
|
|
86532
86532
|
}
|
|
86533
86533
|
});
|
|
86534
86534
|
|
|
@@ -95686,10 +95686,15 @@ function stateModelFactory({ maxInlineSnapshotBytes: maxInlineSnapshotBytes2 = m
|
|
|
95686
95686
|
/**
|
|
95687
95687
|
* #getter
|
|
95688
95688
|
* categorical feature types (InterPro domains and the like) that each get
|
|
95689
|
-
* their own color and a legend entry
|
|
95689
|
+
* their own color and a legend entry, in palette order: grouped by
|
|
95690
|
+
* feature type, types in the order they first appear. A GenPept
|
|
95691
|
+
* record's CDD Sites follow every Region, so the palette spends the
|
|
95692
|
+
* colors after the domains' on the sites inside them
|
|
95690
95693
|
*/
|
|
95691
95694
|
get categoricalDomainTypes() {
|
|
95692
|
-
|
|
95695
|
+
const types2 = [...self.annotationTypes.values()].filter((d3) => !segmentFeatureTypes.has(d3.featureType ?? ""));
|
|
95696
|
+
const typeOrder = [...new Set(types2.map((d3) => d3.featureType))];
|
|
95697
|
+
return types2.toSorted((a3, b2) => typeOrder.indexOf(a3.featureType) - typeOrder.indexOf(b2.featureType));
|
|
95693
95698
|
},
|
|
95694
95699
|
get fillPalette() {
|
|
95695
95700
|
const segments = Object.fromEntries(this.segmentDomainTypes.map((d3, i2) => [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-msaview-cli",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@types/node": "^26.6.5",
|
|
21
21
|
"esbuild": "^0.28.2",
|
|
22
22
|
"mobx-react": "^10.0.2",
|
|
23
|
-
"msa-parsers": "9.
|
|
24
|
-
"react-msaview": "9.
|
|
23
|
+
"msa-parsers": "9.4.0",
|
|
24
|
+
"react-msaview": "9.4.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"jsdom": "^30.1.3"
|