Files
clide/app/lib/widgets/widgets.dart
T
jpmschweitzerandClaude 50d9e00ea5 add shared pane widgets + Q-023 ssh-remote question
ClidePtyView is a theme-bound wrapper around xterm.dart's TerminalView
— token-derived TerminalTheme, JetBrainsMono as the face, Semantics
live-region label so screen readers + Playwright both hear it. The
consumer (terminal / Claude extensions) owns the `Terminal` model and
wires IPC pane.write / pane.output → terminal.write() themselves; the
widget deliberately has no IPC dependency so it stays trivially
testable.

ClidePaneChrome is the shared pane header — title + subtitle + leading
icon + trailing widgets + optional close button. The close button is
null-conditional so primary Claude panes (D-041, landing in step 7)
can render without one.

xterm 4.0.0 added as a justified runtime dep + logged in
licenses.yaml per D-042. 3 new widget tests cover header rendering,
close-button presence, and the close-tap round-trip.

Q-023 records the SSH-remote-development question so the daemon + IPC
seams don't accrete local-only assumptions during Tier 1-5.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-22 09:19:24 +02:00

26 lines
794 B
Dart

/// clide widget primitives.
///
/// Hand-rolled, theme-token-consuming building blocks. No Material or
/// Cupertino. Feature code composes these; it never reaches down into
/// Flutter chrome widgets directly.
library;
export 'src/clide_button.dart';
export 'src/clide_divider.dart';
export 'src/clide_icon.dart';
export 'src/clide_pane_chrome.dart';
export 'src/clide_pty_view.dart';
export 'src/clide_scrollbar.dart';
export 'src/clide_surface.dart';
export 'src/clide_tab_bar.dart';
export 'src/clide_text.dart';
export 'src/clide_tooltip.dart';
export 'src/typography.dart';
export 'src/icons/check.dart';
export 'src/icons/chevron.dart';
export 'src/icons/dot.dart';
export 'src/icons/folder.dart';
export 'src/icons/gear.dart';
export 'src/icons/plug.dart';
export 'src/icons/x.dart';