@oh-my-pi/pi-wire 18.7.0 → 18.8.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
+ ## [18.8.0] - 2026-10-07
6
+
7
+ ### Changed
8
+
9
+ - Updated `TspEditorProps.placeholder` and `TspInputProps.placeholder` to accept `TspText`, enabling styled placeholder text.
10
+
5
11
  ## [18.5.1] - 2026-10-03
6
12
 
7
13
  ### Added
@@ -323,7 +323,8 @@ export interface TspEditorProps {
323
323
  decor?: readonly TspEditorDecoration[];
324
324
  /** Inline completion suffix drawn after the caret. */
325
325
  ghost?: string;
326
- placeholder?: string;
326
+ /** Dim text while `text` is empty; spans style it (`em` for italics). */
327
+ placeholder?: TspText;
327
328
  prompt?: TspText;
328
329
  /** Mode label (vim). */
329
330
  mode?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-wire",
4
- "version": "18.7.0",
4
+ "version": "18.8.0",
5
5
  "description": "Shared wire protocol types for omp packages",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": {
package/src/tsp.ts CHANGED
@@ -352,7 +352,8 @@ export interface TspEditorProps {
352
352
  decor?: readonly TspEditorDecoration[];
353
353
  /** Inline completion suffix drawn after the caret. */
354
354
  ghost?: string;
355
- placeholder?: string;
355
+ /** Dim text while `text` is empty; spans style it (`em` for italics). */
356
+ placeholder?: TspText;
356
357
  prompt?: TspText;
357
358
  /** Mode label (vim). */
358
359
  mode?: string;