@oh-my-pi/pi-tui 8.0.16 → 8.0.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-tui",
3
- "version": "8.0.16",
3
+ "version": "8.0.20",
4
4
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -2,7 +2,13 @@ import type { AutocompleteProvider, CombinedAutocompleteProvider } from "@oh-my-
2
2
  import { matchesKey } from "@oh-my-pi/pi-tui/keys";
3
3
  import type { SymbolTheme } from "@oh-my-pi/pi-tui/symbols";
4
4
  import { type Component, CURSOR_MARKER, type Focusable } from "@oh-my-pi/pi-tui/tui";
5
- import { getSegmenter, isPunctuationChar, isWhitespaceChar, truncateToWidth, visibleWidth } from "@oh-my-pi/pi-tui/utils";
5
+ import {
6
+ getSegmenter,
7
+ isPunctuationChar,
8
+ isWhitespaceChar,
9
+ truncateToWidth,
10
+ visibleWidth,
11
+ } from "@oh-my-pi/pi-tui/utils";
6
12
  import { SelectList, type SelectListTheme } from "./select-list";
7
13
 
8
14
  const segmenter = getSegmenter();
@@ -1,7 +1,7 @@
1
- import { marked, type Token } from "marked";
2
1
  import type { SymbolTheme } from "@oh-my-pi/pi-tui/symbols";
3
2
  import type { Component } from "@oh-my-pi/pi-tui/tui";
4
3
  import { applyBackgroundToLine, visibleWidth, wrapTextWithAnsi } from "@oh-my-pi/pi-tui/utils";
4
+ import { marked, type Token } from "marked";
5
5
 
6
6
  /**
7
7
  * Default text styling for markdown content.