@kud/gh-ink 0.45.3 → 0.45.6

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 (2) hide show
  1. package/dist/index.js +13 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1805,7 +1805,7 @@ var MERGED_FRAME_MS = 150;
1805
1805
  var MERGED_FRAMES = ["\u2726", "\u2727", "\u2736", "\u2727"];
1806
1806
  var MERGED_COLOUR = "#A371F7";
1807
1807
  var TRANSIT_HOLD_MS = 7e3;
1808
- var TRANSIT_FRAME_TICKS = 2;
1808
+ var TRANSIT_FRAME_TICKS = 1;
1809
1809
  var TRANSIT_FRAME_MS = MERGED_FRAME_MS * TRANSIT_FRAME_TICKS;
1810
1810
  var rampFrame = (len, loopFrame, transitAt, now = Date.now()) => transitAt == null ? loopFrame % len : Math.max(
1811
1811
  0,
@@ -2975,6 +2975,18 @@ var BrowseScreen = ({
2975
2975
  value: s.id,
2976
2976
  label: s.label,
2977
2977
  count: workCount(s),
2978
+ /*
2979
+ * The denominator, and only where it can still be true.
2980
+ *
2981
+ * `sampled.total` is what the SEARCHES matched; `count` is what this
2982
+ * frame draws. A filter moves the numerator and cannot move the
2983
+ * denominator, so `20/97` under an active search would be a fraction
2984
+ * of two different populations — worse than no fraction, because it
2985
+ * reads as precise. Dropping it here rather than upstream is the
2986
+ * whole reason the total arrives as a number instead of baked into
2987
+ * the label: this is the only layer that knows a filter is on.
2988
+ */
2989
+ total: filterActive ? void 0 : s.sampled?.total,
2978
2990
  // Its own cell, always two wide, so news arriving never slides the
2979
2991
  // bar — and free to animate for exactly that reason.
2980
2992
  // The ticker undivided — see TAB_PULSE. The row marks' /3 buys quiet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/gh-ink",
3
- "version": "0.45.3",
3
+ "version": "0.45.6",
4
4
  "description": "Ink components for rendering GitHub PR review comments and health — controlled, presentation-only, built on @kud/ink-ui and fed by @kud/gh.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -48,10 +48,10 @@
48
48
  "react": ">=19"
49
49
  },
50
50
  "dependencies": {
51
- "@kud/gh": "0.12.0",
52
- "@kud/ink-ui": "0.22.0",
53
- "zx": "8.8.5",
54
- "@kud/gh-workflow": "0.3.0"
51
+ "@kud/gh": "0.12.2",
52
+ "@kud/gh-workflow": "0.3.2",
53
+ "@kud/ink-ui": "0.23.0",
54
+ "zx": "8.8.5"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/node": "22.20.1",