Title here
Summary here
RizzyUI 1.0.0-preview.4 is the result of building Summit, a complete conference app, on RizzyUI and fixing everything it found, followed by an audit of how components behave when they are composed: nested, repeated, inside dialogs, inside forms and replaced by htmx. It requires Rizzy 6.0.0-preview.4. Update all three packages:
dotnet add package RizzyUI --prerelease
dotnet new install RizzyUI.Templates
npm install @jalexsocial/rizzyui@nextUpgrading RizzyUI lists what to change for each.
RzCheckboxGroup, RzRadioGroup, RzCombobox,
RzFileInput and RzInputOTP post Model.Country like Blazor’s own inputs instead of Country.
Set Name="Country" to keep the bare name.x-data, x-init and x-load passed to
a component (or to the child of an AsChild component) throw instead of silently replacing the
component’s state; x-model works only on components that hold a value; x-show, x-cloak and
x-transition throw on components that manage their own visibility; a component’s own x-ref
names are reserved. Put application state on an ancestor and use x-syncprop or the component’s
events.RzDateEdit has no default accessible name: its FieldLabel names it. Set AriaLabel when
there is no visible label.RzCollapsible supports AsChild, so a custom theme that overrides it builds its descriptor
for the new base type.Constants.Events.DialogInitialized, DialogBeforeOpen,
DialogAfterOpen, DialogBeforeClose and DialogAfterClose now hold the rz:modal-* names that
dialogs have always raised (they named events nothing raised). Rebuild code that uses them.
Constants.CalendarEvents.ChangeView and SelectDate, which no component raised, are removed.RzCalendarProvider posts its dates as form fields (Name, or StartName and
EndName for a range) and raises change when the value is complete. RzDataTable keeps its
sorting, page, filters and selection in one hidden input that binds as RzDataTableState. New
RzGetForm for search forms, RzFocusFirstInvalid after a 422, and RzInputSlider bound with For.HX-Trigger: {"rz:dialog-close": {"id": "edit"}} closes one dialog (no
id closes all), sheets open and close from events too, and a command sent before a component has
loaded still reaches it.x-on:* handlers run alongside a component’s own, AsChild
children keep their handlers and ids, and x-syncprop syncs a component inside a dialog or sheet with
your application’s state.RzButton AsChild for button-styled links, <RzThemeHeadOutlet />,
RzToastProvider ServerErrorToasts, command items with Href and a Ctrl+K Shortcut, self-hosted
widget libraries with RizzyUIConfig.LocalAssetPath, and date components that follow the request
culture.AGENTS.md) is rewritten as version 4.0 with
guides on composability, component lifetime under htmx, and forms.The full changelog and the GitHub release list every change.