@f5-sales-demo/pi-tui 19.105.6 → 20.0.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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [20.0.0] - 2026-08-01
6
+
7
+ ### Fixed
8
+
9
+ - Apply the slash-command menu layout so long command names no longer hide descriptions.
10
+
5
11
  ## [14.1.1] - 2026-04-14
6
12
 
7
13
  ### Breaking Changes
@@ -699,4 +705,4 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
699
705
 
700
706
  ### Fixed
701
707
 
702
- - **Readline-style Ctrl+W**: Now skips trailing whitespace before deleting the preceding word, matching standard readline behavior. ([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))
708
+ - **Readline-style Ctrl+W**: Now skips trailing whitespace before deleting the preceding word, matching standard readline behavior. ([#306](https://github.com/badlogic/pi-mono/pull/306) by [@kim0](https://github.com/kim0))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@f5-sales-demo/pi-tui",
4
- "version": "19.105.6",
4
+ "version": "20.0.0",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "homepage": "https://github.com/f5-sales-demo/xcsh",
7
7
  "author": "Can Boluk",
@@ -37,8 +37,8 @@
37
37
  "fmt": "biome format --write ."
38
38
  },
39
39
  "dependencies": {
40
- "@f5-sales-demo/pi-natives": "19.105.6",
41
- "@f5-sales-demo/pi-utils": "19.105.6",
40
+ "@f5-sales-demo/pi-natives": "20.0.0",
41
+ "@f5-sales-demo/pi-utils": "20.0.0",
42
42
  "marked": "^18.0"
43
43
  },
44
44
  "devDependencies": {
@@ -2441,11 +2441,8 @@ export class Editor implements Component, Focusable {
2441
2441
  prefix: string,
2442
2442
  items: Array<{ value: string; label: string; description?: string }>,
2443
2443
  ): SelectList {
2444
- // Layout options prepared for future SelectList enhancements (e.g., for slash commands)
2445
2444
  const layout = prefix.startsWith("/") ? SLASH_COMMAND_SELECT_LIST_LAYOUT : undefined;
2446
- // TODO: Pass layout to SelectList when constructor is updated to support it
2447
- void layout; // Use layout variable to avoid lint warnings
2448
- return new SelectList(items, this.#autocompleteMaxVisible, this.#theme.selectList);
2445
+ return new SelectList(items, this.#autocompleteMaxVisible, this.#theme.selectList, layout);
2449
2446
  }
2450
2447
 
2451
2448
  #handleTabCompletion(): void {