Title here
Summary here
RizzyUI 1.0.0-preview.3 reworks Alpine code-behind (a component’s Component.razor.js module) so it
works everywhere and is easy to write, test and deploy, and redesigns RzProgress after
shadcn/ui. 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.
Props="@(new { InitialCount = 10 })" is read as
this.$props.InitialCount (it was converted to initialCount). One setting keeps camelCase for
the whole app.RzAlpineComponent renders no scripts, Name is optional, and a component without
[RzAlpineCodeBehind] throws with instructions.RzProgress is a track with a ProgressIndicator: Value (double?), Min and Max
replace CurrentValue, MinValue and MaxValue; Label and LabelPosition are replaced by
markup, ValueText and ProgressLabel; there is no English default AriaLabel.AsChild with plain markup keeps the child’s own attribute values (such as its id) when
they conflict with the component’s.this.$props, and set up child components in the new ready() hook.this.$props and the Rizzy global,
dotnet new rizzyui-codebehind, an optional esbuild pipeline for .razor.ts modules and npm
imports, and @jalexsocial/rizzyui/testing to unit-test modules.RzProgress styled per instance with class on the track and the bar, with decimal values,
an indeterminate state and no layout measuring.RzEmbeddedPreview under the CSP build, RzQuickReference showing tags in headings,
and Rizzy.$data returning a parent’s data for a component that had not started.The full changelog and the GitHub release list every change.