registry 0.10.0
All releasesNew components
- Marquee — infinite CSS-only scrolling strip for logos and testimonials:
duration,direction,gap, edgefade, pause on hover, and no animation underprefers-reduced-motion. Ships zero JavaScript. - Banner — announcement bar with
default/muted/dark/outlinevariants and an optionaldismissiblebutton; give it anidand the dismissal persists in localStorage with no flash on return visits.position="top" | "bottom"pins it to a viewport edge,floatingdetaches it with margins, rounding, and a shadow,alignshrinks floating banners to their content (start/center/end), and anactionsslot holds button rows for privacy notices. Dispatchesbanner-dismiss. - Rating — static star rating with fractional values (
value={4.5}), custommax, and a properrole="img"label for screen readers. - Video — lazy YouTube/Vimeo embed: renders a thumbnail facade and only creates the player iframe (via
youtube-nocookie.com) when clicked, saving ~1MB of player JavaScript on page load. Accepts watch/share/shorts/embed URLs or bare YouTube ids.
Improved
- Sidebar icon rail.
collapsible="icon"keeps a 3rem rail of icons when collapsed on desktop — labels and group labels hide automatically. - Sidebar persistence. New
persistprop (a localStorage key) saves and restores the open/collapsed state across page loads on desktop. - Sidebar mobile backdrop. When the sidebar overlays content on mobile, a backdrop appears behind it; clicking it closes the sidebar.
- Sortable tables.
TableHeadacceptssortable— clicking cycles ascending/descending witharia-sortand indicator icons, sorting numerically when cell text is numeric (currency/percent formatting stripped) and alphabetically otherwise. - Stepper gating. New
linearprop blocks clicking steps beyond the furthest step reached. Buttons withdata-stepper-next/data-stepper-prevadvance or rewind the stepper, and it dispatches a bubblingstepper-changeCustomEvent with{ step }. - Carousel breakpoints. New
breakpointsprop maps media queries toslidesPerView/spacingoverrides, e.g.{ "(min-width: 1024px)": { slidesPerView: 3 } }.
Changed
- Simpler shadows.
bearnie.cssno longer remaps Tailwind’s--shadow-*tokens to custom layered elevation values; components use Tailwind’s default shadow scale. The old shadows included a 1px ring layer that doubled up with component borders. If you liked them, define your own--shadow-*overrides in your@themeblock.
Fixed
- Horizontal steppers no longer overflow their container:
StepperItemlost itsshrink-0so long titles and descriptions wrap, andStepperSeparatorcompresses before the row overflows.