History
What changed lately in DaisyBlazorUI — newest first. Every increment and meaningful fix gets an entry here (see AGENTS.md). The full detail lives in the git commit history.
Latest changes— The three most recent entries
Docs example tabs now stick to the top
the Preview/Razor switcher stays pinned while a long code panel scrolls
OTP inputs, CSS-only theme switch, button width modifiers
two new components and a first-class button width API from the daisyUI 5 bundle
daisyUI 5 alignment: joined button groups, XL sizes
a styling bug fixed and a missing size added, straight from the CSS bundle
All changes— Rendered with DTimeline — the component itself is dogfooded here
- Docs example tabs now stick to the top
- The
DocsExample card (every Preview/Razor demo on the showcase) used daisy’stabs-bottom look, so the tab strip sat below the panel — a long Razor snippet pushed it off-screen and switching back to Preview meant scrolling to “chase” it. The tabs are now the first row andposition: sticky; top: 0 , pinned to the top of the viewport for as long as the card is on screen. Zero JS, all render modes. - Four load-bearing details: the tabs moved to the first flex row (
top-0 sticky can only push a box down, so the old bottom row had no slack and the pin was silently inert); the card clips withoverflow-clip notoverflow-hidden (hidden makes it a scroll container and sticky resolves against it, never pinning); both tab states get an opaque background from a scopedDocsExample.razor.css (:checked = base-100,:not(:checked) = base-200) so a pinned tab over scrolling code stays readable — scoped CSS is unlayered, so it beats the layered Tailwind/daisy cascade (abg-base-200 utility loses daisy’s@layer war and leaves the active tab transparent) and follows the live state with no JS; and the radios areflex-1 with no strippx-2 — daisy tabs aremin-width:fit-content (left-aligned), so a pinned strip left the gutters and everything right of the second tab transparent, Razor code sliding under the “bar”, and two full-width tabs make the bar solid edge to edge.
- The
- OTP inputs, CSS-only theme switch, button width modifiers
- New
DOtp (/components/otp ): daisyUI’s one-time-code pattern —otp /otp-joined with sizes and colors.Count="N" generates the digit boxes plus a single invisible input (maxlength /pattern /inputmode /autocomplete=one-time-code ) that feeds them via CSSletter-spacing , byte-identical to daisyUI’s own markup, zero JS, SSR-safe;@bind-Value supported andChildContent remains the bring-your-own-markup escape hatch. - New
DThemeController : atheme-controller radio that flips the whole page’s theme throughdaisyui@5/themes.css ’s:root:has(input.theme-controller[value=X]:checked) rules — no JavaScript at all, works in static SSR before any script loads. Checked state lives browser-side only (nothing persists; reload resets), and because the:has rule outranks thedata-theme attribute, checking a radio overrides the navbar’s JS switcher until reload. The /components/themes demo states exactly that. DButton gainedWide /Block parameters emittingbtn-wide /btn-block (the Buttons demo previously used rawClass workarounds). Both set at once:btn-block wins the width (declared later at equal specificity) whilebtn-wide ’s 16rem cap still applies — documented on the parameters.
- New
- daisyUI 5 alignment: joined button groups, XL sizes
DButtonGroup emittedbtn-group — a class daisyUI 5 removed entirely, so grouped buttons received no styling against the current CDN bundle. It now emitsjoin /join-vertical ; daisyUI’sjoin fuses all child buttons automatically, so buttons inside a group need no extra classes.DaisySize.ExtraLarge maps the-xl size daisyUI ships for buttons, badges, inputs, selects, textareas, keyboards and ranges (the new member is appended last, so existing enum values never shift). Buttons and Badges demos show it; extra-large icons render at 24px.
- No focus ring on page titles (WASM host)
- Blazor’s enhanced navigation moves focus to each page’s heading on load, which painted a focus outline around the title in the WebAssembly showcase. The Server host already suppressed it via its template’s
app.css ; the WASM host was missing that rule, so the two showcases looked different. Both are now quiet — the heading is not tabbable, so nothing is lost for keyboard users.
- Blazor’s enhanced navigation moves focus to each page’s heading on load, which painted a focus outline around the title in the WebAssembly showcase. The Server host already suppressed it via its template’s
- Docs rollout: every component page gets code + API
- All component docs pages converted from bare demo sections to
DocsExamplecards — live preview on top, the Razor that produced it underneath, copy button included. Razor tabs mirror the live demo above them (demo markup verbatim; captions and card chrome stay out of the snippet), so a copied snippet drops straight into a consumer project. - Every page ends with an
DComponentApiparameters table (name, type, default,@bind-support, XML-doc descriptions). Generic components appear as closed types (DRadio<string>) and their docs resolve through the open definition, so rows show clean names likeDRadio . - Interactive demos keep working: bound samples (Tabs, Dock, Pagination slice, swap, range) include their
@code blocks in the Razor tab, so snippets stay complete, not just markup.
- All component docs pages converted from bare demo sections to
- Docs code experience: Preview/Razor cards + API tables
- New
DocsExampleshowcase block: a card with Preview and Razor tabs switched by daisy’s native CSS-only radios (input:checked + .tab-content) — zero JavaScript, so it works in static SSR, interactive Server and WebAssembly alike. Tabs sit below the panel like daisyui.com. - New
DCodeBlock(showcase chrome, not library): hand-rolled Razor/C# tokenizer with theme-aware inlinevar(--color-*) styles — the library still ships no CSS. Copy button uses click-time clipboard JS with caught failures, so prerendering never breaks. - New
DComponentApi: reflection-driven Parameters tables (name, type, default,@bind-column, XML-doc descriptions incl. enum values) — docs text read from the library’s generatedDaisyBlazorUI.xml(embedded resource, WASM-safe). The library gainedGenerateDocumentationFileplus the missing XML summaries. /components/buttonsis the pilot: 7 example cards, each Razor tab copy-pasteable and identical to the live demo above it.
- New
- Increment 10: release prep + roadmap retirement
- Library package metadata:
Authors ,Copyright ,Version 1.0.0-beta.1 and release notes set inDaisyBlazorUI.csproj. Publishing stays blocked untilRepositoryUrl gets a real value — anddotnet packnow fails while the placeholder remains, so TODO metadata can never ship silently. - Beta (not 1.0.0) on purpose: the public surface is ~66 components, so early consumer feedback can still reshape it via
beta.2 without a major bump. roadmap_plan.mdis retired →plans/done/roadmap-archived.md; the plan files inplans/are the single source of truth. Its stale claims were corrected on the way out (DMockupCalendar never shipped — nomockup-calendar CSS exists in daisy 5.7.38).- README Roadmap section rewritten to match reality (the old TODO list named components that all shipped in increments 4–9).
- Library package metadata:
- Tier A leftovers: DLink, DKbd, DLabel
- New
/components/typographypage demoingDLink(real<a>withHref /Target , all eight daisylink-* colors,HoverUnderlineOnly →link-hover ),DKbd(kbd-xs …kbd-xl via the newDaisyKbdSize) andDLabel(daisy 5’s muted inline caption — nolabel-text wrapper anymore). - Verified against the 5.x bundle before wrapping:
link-ghost andlabel-text do not exist, soDLink Color="Ghost"emits no class andDLabelhas no nested span. - All three render pure markup — identical HTML in static SSR; bUnit fixtures cover every enum mapping, splatting and class merging.
- New
- Table gallery + Razor snippets
/components/tablerewritten to follow the daisyUI Table page: bordered & zebra tables, active and hover rows, all sizes, a rich-cell example (DCheckbox, DAvatar, DBadge, DStatus, DTooltip) and a working data grid — search, click-to-sort headers, select-all, delete and DPagination, still 100% data-agnostic markup.- New showcase component
CodeSnippet: a<details>+collapseblock rendering the exact Razor of every example in daisyUImockup-code(CSS-only toggle, zero JS) with a clipboardCopybutton that degrades to a hint in prerendering. - Library fix:
DIconinline SVG glyphs now emitdisplay:inline-block. Tailwind preflight setssvg { display: block }, which dropped a glyph onto its own line whenever an icon sat next to text (sort chevrons, badges, tooltips). - The History timeline renders its entries as markup again: items were HTML-encoded, so
<code>and—showed up as literal text. - New
tools/verify_table.mjs— a focused Playwright check for this page (snippets, zebra/hover/pinning, inline glyphs, sort + select + search + paging).
- daisyUI-style /components hub
- New
/componentsoverview page: a live preview section for EVERY component (sorted by name) — real rendered components, not screenshots, so it works in static SSR too. Each section links to its dedicated page. - All
/components/…pages now render inside a daisyUI-style shell: left sidebar grouped by functionality (Buttons, Data Display, Feedback, Forms, Layout, Mockups, Navigation, Others), sorted by name inside each group; content column on the right. The navbar Components dropdown is now grouped the same way. - Single source of truth:
ComponentCatalog(Showcase.UI) drives the sidebar, the dropdown and the gallery order; the old hand-maintained flat list in MainLayout is gone. - The sidebar deliberately avoids
<nav>/.menuelements sotools/smoke.mjslink resolution (nav a[href$=…]) andmain .menuassertions stay unambiguous; smoke now also walks the new overview page and asserts the sidebar.
- New
- Hover effects: honest & discoverable
- Reported: the hover gallery looked dead. It works — but nothing told you where to hover. Measured in a real browser: with 4 images the photo is covered by 3 invisible zones — left third reveals photo 2, middle photo 3, right photo 4; leaving restores photo 1. The demo now says exactly that and the images got cursor: pointer so the mouse hints the interaction.
- Hover 3D was over-promising: the mouse-tracking TILT in daisy's demo is driven by companion JS that updates --transform/--shine on mousemove. With CSS alone (our zero-JS policy) hovering only produces the outline + corner-shine lift cue. Verified live (transform stays identity), demo copy and DHover3d docs now state precisely that.
- Smoke upgraded: sweeps all gallery zones (left→2, right→4, leave→1) and asserts the hover-3d outline cue appears on hover while no tilt fakes itself.
- Clearing a ShowReset=false filter
- Reported on /components/filters: after picking Medium in the "No reset button" group there was no way back to nothing — correct by daisy design: the × reset radio IS the only CSS-only clear, and HTML radios cannot be unclicked.
- The demo now shows the idiomatic app-driven clear: a Clear size button + an @@key on the filter. The @@key matters because once a user clicks a radio its checkedness is "dirty" (HTML spec) — setting Value back to null only strips the checked attribute and the browser keeps the radio checked; recreating the inputs is what unchecks them.
- Documented on DFilter.ShowReset and in the page tips; smoke now selects Medium, blurs (collapsed), presses Clear and asserts no radio remains checked and all options are visible again.
- Increment 9 - the last milers
- DFilter + DFilterOption: daisy's btn-radio filter — unchosen options collapse on blur and a CSS reset (×) appears; choosing the reset natively clears the group. @@bind-Value reports the selection (null after reset).
- DIndicator: pins a status dot / badge / text to any corner of its content (indicator-top|middle|bottom + start|center|end via CSS variables).
- DStatus: semantic status dots (status-primary … status-neutral, sizes xs–xl) — also added DaisyColor.Neutral.
- DHoverGallery: the first image shows; the rest become invisible hover-columns, hovering one expands it — pure CSS :has()/:hover.
- DRating gained Half="true": Value is now a double and each star splits into two mask-half-1/2 radios, so 3.5 stars works. The rating page has live half demos.
- New /components/filters page; status + indicator sections on the badges page; hover gallery on effects. 452 tests; smoke now drives the filter collapse/reset flow, half-star binding, gallery hover swap.
- DDiff demo fix
- Diff badges no longer cover the images: daisy makes EVERY direct child of a diff item a full-bleed layer, so each side now has a single wrapper div.
- Carousel demo gained a "how to move it" hint (the scrollbar is hidden by design) - drag, Shift+wheel or arrow keys.
- Smoke now DRAGS the diff divider and wheel-scrolls the carousel instead of only checking presence.
- Increment 8 - media & effects
- DCarousel + DCarouselItem: CSS scroll-snap tracks - horizontal, vertical, center/end snap. No JS.
- DChat: chat rows with side, avatar, header/footer and chat-bubble-* colors (CSS bubble tails).
- DMask: all 14 daisy mask shapes for images, gradients or text.
- DCountdown: the --value digit-strip countdown (CSS renders the digits); ticking stays the consumer's job.
- DSwap: on/off state cross-fade (rotate/flip variants, indeterminate, swap-active) with @bind-Checked.
- DFab: floating action button - focus-within reveals the detail rows, keyboard friendly.
- DDiff (before/after slider), DStack, DAura (animated glow), DHover3d, DTextRotate - all pure CSS.
- DMockupCode / DMockupBrowser / DMockupWindow / DMockupPhone dress plain content as screenshots.
- 419 bUnit tests; smoke checks swap CSS states + binding, fab focus reveal, carousel overflow, countdown strips, diff resizer, aura animation.
- Increment 7 - overlays & data
- DCollapse: pure-CSS open/close (checkbox under the title), @bind-Open, chevron or plus icon.
- DAccordion: items share one radio group - exclusivity is native, zero JS.
- DDrawer: label-driven sidebar (start or end), overlay close, @bind-Open, custom ElementId labels.
- DDropdown: focus-within menu - keyboard, mouse and static SSR all work; the navbar now uses it.
- DTable: thin wrapper with zebra / pin-rows / pin-cols / sizes; you bring the rows.
- DPagination: v5 join+btn pattern, sliding window with ellipses, @bind-Page, aria-current.
- DList + DListItem: the new daisy 5.7 compact data list (list-row / list-col-grow).
- 359 bUnit tests; smoke covers native collapse toggle, radio exclusivity, drawer open/close, dropdown focus/hover, sticky table header, pagination-driven table slice.
- Showcase polish
- Default theme is now dark (was light).
- New /history changelog page (this one).
- DTextarea gained a Resize parameter - horizontal dragging restored (Tailwind preflight pins textareas to resize: vertical).
- Fixed Range page rendering the literal text .ToString("P0").
- Increment 6 - forms round 2
- DTextarea and DRange bind live (oninput); colors, sizes, validation classes.
- DRating: star/heart mask icons, Clearable, Max, sizes, auto group names.
- DFileInput wraps Blazor's InputFile - real uploads, library still ships zero extra JS.
- DFieldset + DValidator: CSS-only hints revealed by :user-invalid, work in static SSR.
- Inputs work fully unbound (no @bind-Value needed) via a synthesized ValueExpression.
- 303 bUnit tests; WASM smoke covers counter, slider, rating, upload, validator.
- Increment 5.5 - icons
- DIcon renders inline SVG (DaisyIcons, 12 heroicons-outline glyphs) or CDN URLs.
- DaisyIcon.FromUrl icons render through mask-image + currentColor - zero JS, all rendering modes.
- Icon parameters on DButton (IconStart/IconEnd), DBadge, DAlert, DMenuItem, DDockItem.
- New /components/icons gallery page.
- Increment 5 - navigation & structure
- DBreadcrumb, DSteps/DStepItem, DMenu family, DDock, DHero, DTimeline/DTimelineItem.
- DaisyOrientation unifies stats/steps/timeline/menu direction.
- Showcase demos color via text-[var(--color-primary)] arbitrary utilities.
- 22 pages, 250 tests green.
- Themes, toast & showcase look
- Loaded daisyui themes.css - all 35 themes selectable (default CDN bundle has only light/dark).
- Light/Dark grouping derived from oklch lightness of base-100, not eyeballed.
- /components/themes previews every theme scoped via data-theme on any element.
- DToast notifications with auto-dismiss; Tailwind browser utilities fixed invisible alert icons.
- Increment 4 - feedback & display
- DTooltip, DProgress, DRadialProgress, DLoading, DSkeleton, DStats/DStat.
- Showcase restyled daisyUI-docs style (DocsSection).
- Increment 3 - layout & automation
- DCard, DTabs/DTabItem, DNavbar, DFooter, DDivider.
- check.sh: build + tests + SSR route checks; Playwright WASM headless smoke.
- Increment 2 - forms & modal
- DInput, DSelect, DCheckbox, DSwitch, DRadio on Blazor InputBase - EditForm + DataAnnotations work.
- DModal: native dialog + ~15-line lazily-imported ES module (showModal/close).
- Fixed WASM boot crash: unconditional StateHasChanged caused an infinite render loop.
- Increment 1 - first components
- DBadge, DAlert, DButtonGroup, DAvatar.
- bUnit + NUnit + Shouldly test infrastructure; DaisyCss class helpers.
- Scaffold
- Solution: classlib + WASM showcase + interactive Server showcase + test project.
- daisyUI v5 via CDN - no CSS bundled in the library; both hosts prove all rendering modes.