@abi-software/flatmap-viewer 4.2.6 → 4.2.8

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/README.md CHANGED
@@ -4,7 +4,7 @@ A web-browser viewer for anatomical flatmaps generated by [flatmap-maker](https:
4
4
 
5
5
  ## Package Installation
6
6
 
7
- * `pnpm install @abi-software/flatmap-viewer@4.2.6`
7
+ * `pnpm install @abi-software/flatmap-viewer@4.2.8`
8
8
 
9
9
  ---
10
10
 
package/dist/index.js CHANGED
@@ -28960,7 +28960,7 @@ class jit extends P2 {
28960
28960
  "case",
28961
28961
  ["boolean", ["feature-state", "selected"], !1],
28962
28962
  s ? "#CCC" : Du,
28963
- ...i ? [] : [["boolean", ["feature-state", "active"], !1], "#444"],
28963
+ ...n || i ? [] : [["boolean", ["feature-state", "active"], !1], "#444"],
28964
28964
  ["boolean", ["feature-state", "hidden"], !1],
28965
28965
  Qg,
28966
28966
  ["has", "colour"],
@@ -29023,7 +29023,7 @@ class zit extends P2 {
29023
29023
  }
29024
29024
  paintStyle(t, e = !1) {
29025
29025
  const n = !("outlined" in t) || t.outlined, i = t.dimmed || !1, o = t.activeRasterLayer || !1, s = t.flatmapStyle === yi.FUNCTIONAL, a = ["case"];
29026
- a.push(["boolean", ["feature-state", "hidden"], !1], Qg), a.push(["boolean", ["feature-state", "selected"], !1], s ? "#F80" : kit), n && a.push(["boolean", ["feature-state", "active"], !1], MB), a.push(["boolean", ["feature-state", "annotated"], !1], EB), a.push(["has", "stroke"], ["get", "stroke"]), a.push(["has", "colour"], ["get", "colour"]), a.push("#444");
29026
+ a.push(["boolean", ["feature-state", "hidden"], !1], Qg), a.push(["boolean", ["feature-state", "active"], !1], MB), a.push(["boolean", ["feature-state", "selected"], !1], s ? "#F80" : kit), a.push(["boolean", ["feature-state", "annotated"], !1], EB), a.push(["has", "stroke"], ["get", "stroke"]), a.push(["has", "colour"], ["get", "colour"]), a.push("#444");
29027
29027
  const u = ["case"];
29028
29028
  u.push(["boolean", ["feature-state", "hidden"], !1], 0.05), n && u.push(["boolean", ["feature-state", "active"], !1], 0.9), u.push(["boolean", ["feature-state", "selected"], !1], 0.9), u.push(["boolean", ["feature-state", "annotated"], !1], 0.9), o ? u.push(n && !i ? 0.3 : 0.1) : u.push(0.5);
29029
29029
  const T = ["case"];
@@ -94037,7 +94037,7 @@ bu = new WeakMap(), Lu = new WeakMap(), wu = new WeakMap(), z2 = new WeakMap(),
94037
94037
  return M(this, El).set(t, e[0].label);
94038
94038
  }
94039
94039
  };
94040
- const L_t = "4.2.6", w_t = 1.4;
94040
+ const L_t = "4.2.8", w_t = 1.4;
94041
94041
  var Jm, td, Sl, J1, ed, rd, I3, iA, oA, T$;
94042
94042
  class A_t {
94043
94043
  // also have a callback for viewer events...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmap-viewer",
3
- "version": "4.2.6",
3
+ "version": "4.2.8",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": {
6
6
  "type": "git",