Skip to content

Releases: accntech/shad-ui

0.2.3

10 May 12:35
53756dc

Choose a tag to compare

Fixes

  • Window: handle WM_NCCALCSIZE (0x0083) so the client area covers the full native window bounds on Windows 10 when not maximized. Previously the left/right/bottom edges showed unpainted native frame; the message is now intercepted unconditionally (independent of _snapLayoutEnabled), while WM_NCLBUTTONDOWN/WM_NCHITTEST snap-layout handling remains gated. Fixes #79.

Full Changelog: 0.2.2...0.2.3

0.2.2

08 May 03:21
6355d93

Choose a tag to compare

Fixes

  • Window: dropped the Avalonia 11 Margin workarounds (-1 for FullScreen, 7 for Windows Maximized). The Avalonia 12 breaking-changes guide says these are no longer needed, and on macOS the -1 → 0 reset raced with the system FullScreen-exit animation, leaving content misaligned after restore. Fixes #78.
  • Window: titlebar drag region now stays hit-testable when ShowTitlebarBackground=False. The IsVisible binding on PART_TitleBarBackground was collapsing the drag surface, silently disabling BeginMoveDrag. Fixes #65.
  • Window: fixed a startup crash on Avalonia 12 (InvalidOperationException: Duplicate setter encountered for property 'ExtendClientAreaToDecorationsHint' in 'Window'). The named WindowTheme + empty BasedOn default ControlTheme pattern produced duplicated setters under v12's stricter StyleInstance.Add. Collapsed into a single ControlTheme keyed {x:Type shadui:Window}.

Full Changelog: 0.2.1...0.2.2

0.2.1

07 May 14:21
eaebd30

Choose a tag to compare

Breaking

  • DialogHost: removed the Owner property and the implicit coupling to ShadUI.Window. Code that set DialogHost.Owner=... should drop the binding — the host now resolves its ancestor Window via the visual tree automatically.

New Features

  • DialogHost: context-aware overlay. Dialog hosts can now live inside any container (not just the top-level ShadUI.Window), making in-content dialogs and nested hosts work correctly.
  • Demo (Dialog): new in-content dialog example demonstrating a DialogHost placed inside a page section.

Enhancements

  • Window: observes DialogHost.HasOpenDialog across its Hosts collection, including dynamic add/remove of hosts.

Fixes

  • TextBox: respect explicit Height set on the control. Previously the inner border double-bound to Height, squeezing the input area when Label or Hint were present.

Chore

  • Internal test surface exposed to ShadUI.Tests; expanded coverage for DialogHost regression and dynamic Hosts membership.

Full Changelog: 0.2.0...0.2.1

0.2.0 - Avalonia 12

07 May 06:57
f3b04e3

Choose a tag to compare

Breaking

  • Migrated the library and demo to Avalonia 12. Consumers must upgrade to Avalonia 12 to use this release.

New Features

  • Tabs: sliding pill indicator with stretch-and-snap motion as the active tab moves between items.
  • Demo (ControlBlock): matching sliding pill underline for the demo's example/code tabs.

Enhancements

  • Theme: corner radius scale realigned to shadcn defaults.
  • Typography: type scale realigned to shadcn defaults.
  • Animations:
    • New cubic-bezier easing tokens shared across controls.
    • Reworked dialog, tooltip, and toast motion.
    • Tuned popover open transitions.
    • Tightened button press feedback.
    • EaseOut applied consistently to remaining transitions.
  • Demo (Dashboard): chart tooltip backgrounds now respect the active theme.

Fixes

  • ColorPicker: reworked bindings to resolve runtime errors.

Performance

  • Demo: deferred TextMate setup so AvaloniaEdit no longer locks the UI on startup.

Chore

  • Demo bumped to 1.2.0; copyright year updated to 2026.

Full Changelog: 0.1.6...0.2.0

0.1.6

11 Jan 02:16
11a8223

Choose a tag to compare

New Feature

  • Implementation of Smooth Scroll behavior

Enhancements

  • Window:
    • Improve title bar behaviors for macOs and Windows
  • Ensure events and timers are properly disposed and unsubscribed
  • NumericDropdown:
    • disallow input other than numeric and other related characters

What's Changed

  • Fix segmentation fault in Demo project on Linux by @congard in #41
  • feat(smooth-scroll) Added custom Smooth Scroll behavior by @IcySnex in #62

New Contributors

Full Changelog: 0.1.5...0.1.6

0.1.5

14 Aug 08:37
43bdd19

Choose a tag to compare

New Feature

  • Implementation Badge component

Enhancements

  • improve common style structure
  • ColorPicker: improve color text value on default content template #35
  • TabControl: fix alignment issue #39

0.1.4

06 Jul 16:06
89689ee

Choose a tag to compare

Enhancements

  • Toast: added support for dynamic notification type
  • Dialog: allow access to dialog context in WithSuccessCallback

0.1.3

06 Jul 03:12
e342508

Choose a tag to compare

Full Changelog: 0.1.2...0.1.3

Enhancements

  • Window
    • Ensure maximize button respect CanResize property
    • Ensure minimize button is disabled when CanMinimize is set to False
    • Prevent drag when CanMove is set to False
    • Refactor ResizeGrip application for Linux
  • Demo
    • Set PlatformTarget to AnyCPU

0.1.2

05 Jul 00:56
ab1c419

Choose a tag to compare

Fixes

  • Sidebar: ensure initial cached width has value
  • Window: improve window saving state

0.1.1

03 Jul 06:08
57c36ed

Choose a tag to compare

Hot Fixes

  • TextBox: ensure label is properly shown