Skip to content

feat(avalonia): port the remaining 14 components - #13

Merged
Shewart merged 2 commits into
mainfrom
feat/avalonia-p7-remaining
Oct 11, 2026
Merged

Shewart merged 2 commits into
mainfrom
feat/avalonia-p7-remaining

Conversation

@Shewart

@Shewart Shewart commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Ports the 14 components that were still MAUI-only to Avalonia, with the same names and properties. Every component in the registry now has an Avalonia version.

  • Form controls: toggle-group, number-input, tag-input, input-otp, combobox, multi-select.
  • Data display and layout: kbd, copy-button, stat-card, link-card, tree-view, timeline, aspect-ratio, wrap-layout.
  • The Avalonia demo gets "More form controls" and "More data display" sections.
  • Docs: the Avalonia section now says every component is ported, lists how the new ones differ from MAUI, and notes how to handle names that match Avalonia's own controls.

Differences from MAUI

  • Toggle-group items and tree rows are tab stops; in the tree, Right expands and Left collapses.
  • Number input steps with Up / Down while the field has focus.
  • Tag input removes the last tag on Backspace in the empty field.
  • Combobox and multi-select focus the search field on open; Up / Down move a highlight that Enter takes.
  • Copy button and link card use the window's clipboard and launcher.
  • Aspect ratio is a Border, so CornerRadius rounds the content.
  • Wrap layout is a Panel without Padding.

Verification

  • Solution builds with 0 warnings and 0 errors; 885 tests pass; format is clean.
  • Each of the 14 installs alone into a fresh Avalonia app and builds with 0 warnings and no MAUI code.
  • Checked in the Avalonia demo on Windows, in dark and light, with pointer and key input.

Not covered

  • The copy button's clipboard write and a link card opening its Url were not exercised.
  • macOS, Linux and touch.
  • The Avalonia templates are not on NuGet yet; they ship with the next release.

Avalonia versions of the components that were still MAUI-only, with the
same names and properties: toggle-group, number-input, tag-input,
input-otp, combobox, multi-select, kbd, copy-button, stat-card,
link-card, tree-view, timeline, aspect-ratio and wrap-layout. Every
registry entry now has Avalonia content.

- Toggle-group items and tree rows are tab stops; in the tree, Right
  expands and Left collapses.
- Number input steps with Up / Down.
- Tag input removes the last tag on Backspace in the empty field.
- Combobox and multi-select focus the search field on open; Up / Down
  move a highlight that Enter takes.
- Copy button and link card use the window's clipboard and launcher.

The demo gets "More form controls" and "More data display" sections.
@github-actions github-actions Bot added documentation Improvements or additions to documentation templates examples labels Oct 11, 2026
@Shewart
Shewart merged commit 64e4e5c into main Oct 11, 2026
7 checks passed
@Shewart
Shewart deleted the feat/avalonia-p7-remaining branch October 11, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation examples templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant