@kud/gh-ink 0.32.0 → 0.32.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 (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -947,6 +947,7 @@ var whoseMove = (health, sectionId, standing, theySpokeLast, pinned) => {
947
947
  if (theySpokeLast && position === "authored") return "you";
948
948
  return YOURS[position].includes(health) ? "you" : "them";
949
949
  };
950
+ var PIN_MARK = "+";
950
951
  var BAND_LABEL = {
951
952
  you: "Your move",
952
953
  them: "Their move"
@@ -1851,7 +1852,7 @@ var ItemRow = ({
1851
1852
  const icon = merged ? MERGED_FRAMES[sparkFrame % MERGED_FRAMES.length] : transient === "out" ? TRANSIT_OUT_FRAMES[sparkFrame % TRANSIT_OUT_FRAMES.length] : transient === "in" ? TRANSIT_IN_FRAMES[sparkFrame % TRANSIT_IN_FRAMES.length] : healthIcon;
1852
1853
  const color = merged ? MERGED_COLOUR : transient ? TRANSIT_COLOUR[transient] : healthColor2;
1853
1854
  const spokeLast = !!login && !!item.lastActor && item.lastActor === login;
1854
- const [turnIcon, turnColor] = item.pinned ? ["!", "#FF8700"] : !login || !item.lastActor ? [" ", "white"] : spokeLast ? ["\u2192", "#888888"] : ["\u2190", "#FF8700"];
1855
+ const [turnIcon, turnColor] = item.pinned ? [PIN_MARK, "#FF8700"] : !login || !item.lastActor ? [" ", "white"] : spokeLast ? ["\u2192", "#888888"] : ["\u2190", "#FF8700"];
1855
1856
  const numStr = `#${item.number}`.padEnd(7);
1856
1857
  const showAuthor = !!item.author && item.author !== login;
1857
1858
  const unresolvedLabel = item.unresolved > 0 ? `\uF086 ${item.unresolved}` : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/gh-ink",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
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",