fix(ui): kit follow-ups for lists, chart contrast, activation and RTL bars

- ListBox (and the Library card grid) get a theme template that keeps their
  fill when disabled; ListView keeps the system GridView template.
- BarChart, HeatmapStrip, SeriesChart and TimelineBands draw their labels in
  TextMuted; heatmap cells without data take the Stroke tone.
- Category charts show the hand cursor and take the keyboard (arrows, Home,
  End, Enter, Space) only while an activation handler is attached to them;
  the keyboard item is outlined, read out and exposed as ItemStatus.
- Horizontal bar charts and stacked bars start on the reading side in
  right-to-left languages; vertical bars, heatmaps and time axes stay LTR.
- Archive drops its local list template, Focus.Inset copy, chart brush
  aliases and the redundant FlowDirection on the template box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-06 20:55:50 +00:00
1 parent 712bf9417f
commit 37ed91500d
10 files changed
+350 -197

No files matched your search

+3 -3
View File
@@ -107,10 +107,10 @@ public sealed class TimelineBands : DrawingElement
if (max <= 0) max = 1;
var text = GetBrush("Brush.Text");
var faint = GetBrush("Brush.TextFaint");
var muted = GetBrush("Brush.TextMuted");
var fill = GetBrush(BrushKey);
var divider = GetHairline("Brush.Stroke");
var captionHeight = Math.Ceiling(CreateText("0", LabelSize, faint).Height);
var captionHeight = Math.Ceiling(CreateText("0", LabelSize, muted).Height);
var barWidth = Math.Max(1, Math.Min(pitch * 0.6, 28));
for (var b = 0; b < bands.Count; b++)
@@ -132,7 +132,7 @@ public sealed class TimelineBands : DrawingElement
}
if (SlotLabels is { } labels && s < labels.Count)
{
var caption = CreateLabel(labels[s], LabelSize, faint);
var caption = CreateLabel(labels[s], LabelSize, muted);
DrawTextAt(dc, caption, new Point(cx - caption.Width / 2, baseline + 4));
}
if (b == CurrentBand && s == CurrentSlot)