@kud/jira-ink 0.5.0 → 0.5.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 +1 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -455,7 +455,7 @@ var IssueBoard = ({
455
455
  }));
456
456
  const listFocused = !search.open && !legend;
457
457
  const initial = shown.find((t) => t.category === "indeterminate")?.value ?? shown[0]?.value;
458
- const { active, setActive } = useTabs(tabItems, {
458
+ const { active } = useTabs(tabItems, {
459
459
  initial,
460
460
  isActive: listFocused
461
461
  });
@@ -487,11 +487,6 @@ var IssueBoard = ({
487
487
  return;
488
488
  }
489
489
  if (key.return && issues[cursor]) onOpen(issues[cursor].row.key);
490
- if ((key.leftArrow || key.rightArrow) && tabItems.length) {
491
- const at = tabItems.findIndex((t) => t.value === tab);
492
- const next = (at + (key.leftArrow ? -1 : 1) + tabItems.length) % tabItems.length;
493
- setActive(tabItems[next].value);
494
- }
495
490
  if (input === "/")
496
491
  setSearch((s) => ({
497
492
  ...s,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kud/jira-ink",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Ink components for viewing Jira issues: the board and the issue detail screen, shared by jira-cli's TUI and cockpit",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@kud/ink-markdown": "0.3.0",
33
- "@kud/ink-ui": "0.27.0",
33
+ "@kud/ink-ui": "0.29.0",
34
34
  "@kud/jira": "0.4.0"
35
35
  },
36
36
  "devDependencies": {