fix(ui): toasts render; RTL-aware icons, charts and media; keyboard and screen-reader support in the kit

- ToastHost gets its template (nothing drew before); toasts are announced, pause while hovered or focused,
  Esc dismisses the focused one, the action closes it, FocusNewest brings the keyboard to them.
- Windows take the UI language's direction when created and follow every switch.
- Icons mirror only when the glyph is directional (IconData.IsDirectional, Bidi.IsDirectional override);
  the brand mark never mirrors; icons centre in stretched slots (ComboBox chevron).
- Card photos, scrub position, preview surface and shot data, mono templates, paths are left-to-right islands;
  the preview tool row follows the layout direction.
- Chart words (categories, legends, summaries) read in the UI direction and legends start on its side.
- Automation peers: charts as named images, filmstrip as a slider, curve editor value, preview image,
  split button, AutoSlider group; localized names for caption, reset, remove, dismiss and drop-down buttons.
- Focus visible on list and table rows and the preview; curve editor fully operable by keyboard.
- Rail item collapsed layout fixed; job bar trims its text only once the bar is at its minimum.

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-03 17:22:42 +00:00
1 parent 6e01995f7e
commit 3f8464aabc
29 files changed
+711 -144

No files matched your search

+4 -4
View File
@@ -119,8 +119,8 @@ public sealed class TimelineBands : DrawingElement
var top = b * BandHeight;
var baseline = top + BandHeight - captionHeight - 8;
var barSpace = baseline - top - 8;
var title = CreateText(band.Label, 13, text, semiBold: true);
dc.DrawText(title, new Point(0, top + (BandHeight - title.Height) / 2));
var title = CreateLabel(band.Label, 13, text, semiBold: true);
DrawTextAt(dc, title, new Point(0, top + (BandHeight - title.Height) / 2));
for (var s = 0; s < slots; s++)
{
var cx = LabelColumn + pitch * (s + 0.5);
@@ -132,8 +132,8 @@ public sealed class TimelineBands : DrawingElement
}
if (SlotLabels is { } labels && s < labels.Count)
{
var caption = CreateText(labels[s], LabelSize, faint);
dc.DrawText(caption, new Point(cx - caption.Width / 2, baseline + 4));
var caption = CreateLabel(labels[s], LabelSize, faint);
DrawTextAt(dc, caption, new Point(cx - caption.Width / 2, baseline + 4));
}
if (b == CurrentBand && s == CurrentSlot)
dc.DrawRoundedRectangle(null, GetPen("Brush.Accent", 1.5), new Rect(cx - pitch / 2 + 2, top + 4, pitch - 4, BandHeight - 8), 4, 4);