Skip to content

fix: v0.3.2 – MultiSeriesChart, ThemeToggle, scroll lock and picker fixes - #39

Merged
Shewart merged 7 commits into
release/v0.3from
fix/v0.3.2
Oct 2, 2026
Merged

Shewart merged 7 commits into
release/v0.3from
fix/v0.3.2

Conversation

@Shewart

@Shewart Shewart commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Backports the non-breaking fixes from main (#38) to the 0.3 line and releases 0.3.2.

  • MultiSeriesChart threw on every render in the package (duplicate ChildContent, unknown Subtitle on ApexChart). It now renders inside the same card as Chart.
  • window.ShellUI for package users: a Blazor JS initializer loads shellui.js at startup. This fixes ThemeToggle not changing the theme, dialog/sheet/drawer scroll lock, and close-on-scroll. Adds the missing addClassToDocument, removeClassFromDocument and setupFileDrop.
  • ThemeToggle no longer keeps a static instance list shared across Blazor Server users. Toggles follow the page's dark class and stay in sync.
  • DatePicker / DateRangePicker popover gets a width; DataPicker / MultiSelect options are left-aligned.
  • Removed the RCL template leftovers from the package.
  • New bUnit test renders every package component and fails on parameter-binding errors.
  • Version 0.3.2: props, fallback versions, docs, package README links, release notes.

Not included: the Calendar SelectedDateChanged type change (breaking, 0.4 only).

Verification

Shewatipa Tseisi added 7 commits October 3, 2026 00:00
It redeclared ChildContent (already inherited from Chart) and passed Subtitle to ApexChart, which has no such parameter; either one threw on every render. It now also uses Chart's card container.
…unctions

The package's shellui.js is an ES module and only ran when a component happened to import it, so ThemeToggle, dialog scroll lock and close-on-scroll silently did nothing. A Blazor JS initializer now imports it at startup. Adds addClassToDocument, removeClassFromDocument and setupFileDrop, which ThemeToggle, ThemeService and FileUpload call.
The static instance list was shared by every circuit on Blazor Server. Each toggle now observes the page's dark class through ShellUI.observeTheme, which also reports the initial theme.
@Shewart
Shewart merged commit bed725d into release/v0.3 Oct 2, 2026
1 check passed
@Shewart
Shewart deleted the fix/v0.3.2 branch October 2, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant