Changelog
Release notes for Design System, pulled from the repo when this site is built.
From CHANGELOG.md in the repo. Versions follow semantic versioning.
All notable changes to shipbytes/blade-ui. The version is the git tag;
composer require shipbytes/blade-ui:^2.0 resolves against it. Upgrading an
app from 1.x: read upgrading from 1.x.
2.0.0 — 2026-12-02
Blade only, and the package's first script of its own. 41 components become 170; every one has a spec, a documentation page with a light and dark screenshot, a render test and, if it is interactive, checks in a real browser.
Breaking, for a 1.x app
No 1.x prop, slot, event, token, utility or config key was removed or renamed. What a 1.x app can notice:
<x-ds::scripts />is needed above Alpine fords::date-picker(its 1.x inline grid is retired; without the script it is the browser's own date field), fords::checkbox'sindeterminate, and for most new components.- Alpine 3.11 or later for the script's parts (or
<x-ds::scripts all />). - Published views from 1.x override 2.0's; publish them again.
- Attribute names now read as props on 1.x components, so no longer
printed on the root: listed in full on the upgrading page (
labelonbottom-navandtable,value/selectedontable-row,name/openonpanel,shortcut/modeoninput, and others). ds::drawerthrows without a name (title,labeloraria-labelledby), and draws no empty header bar without a title.- Output changes on
date-picker(now-full, new grid and keys),select(attributes forwarded, fireschange, Escape passes through when closed),combobox(posts without Alpine, bindswire:model),checkbox(first-line alignment,x-ds-indeterminate),nav-itemwithcollapsedWhen(drawn server-side),panel(subtitle wraps),modal,drawerandsheet(the overlay stack),tooltip(aria-describedbyon the trigger),table-cell(one mergedclass). - Every transition is
motion-safe:and on the motion tokens; under reduced motion changes happen at once. - Focus rings 1.x hid now show (
ds::buttonand every other control that carriedfocus:outline-hidden). ds::alert's ✕ works through the script's core (data-ds-remove), not an inlineonclick: without<x-ds::scripts />it does nothing.
New components, by family
- Layout and content (23):
skeleton-swap,loader,shimmer,progress,usage-meter,upgrade-prompt,checklist(+checklist-item),code-block,kbd,divider,expandable-text,scroll-area,split(+split-pane),swipe-actions(+swipe-action),pull-refresh,page-header,selection-bar,notification-list(+notification-group,notification-item). - Forms and buttons (39):
checkbox-group,radio-cards(+radio-card),chip-group(+chip),rating,calendar,file-upload-item,save-bar,avatar-upload,otp-input,tag-input,number-field,password-strength,slider(with a histogram),time-picker,inline-edit,sortable-list(+sortable-item),money-input,phone-input,shortcut-input,mention-input,color-picker,copy-button,swap-button,confirm-button,hold-button,button-group,segmented-control(+segment),toggle-group(+toggle),toolbar(+toolbar-button,toolbar-separator),theme-switcher,filter-bar,filter-chip. - Navigation (11):
top-nav(+top-nav-item),sidebar,sub-nav,link,stepper(+step),tree(+tree-item),user-menu,team-switcher. - Overlays (8):
popover,confirm-popover,hover-card,context-menu,command-palette(+command-group,command-item),share-sheet. - Data (19):
counter,sparkline,gauge,activity-heatmap,bar-chart,line-chart,donut-chart,split-bar,waffle-chart,activity-rings,slope-chart,funnel-chart,radar-chart,treemap,timeline(+timeline-item,timeline-group),metric-ticker,json-viewer. Charts are drawn on the server as SVG with a generated text summary and an optional values table; the script adds a readout, keyboard access to every mark and legend toggles. - Marks (5):
icon-swap,avatar-group,presence-stack,announcement-bar,trial-banner. - Media (5):
photo-grid,lightbox,link-preview,audio-player,dictation-button. - AI (19):
reasoning,agent-status,tool-call(+tool-call-group),agent-plan(+agent-plan-step),agent-timeline(+agent-timeline-item),starter-prompts,sources(+source-card,citation),response-feedback,agent-handoff,generation-stats,api-key-field,provider-keys,provider-status(+provider-status-item).
New on 1.x components
button icon and badge; input reveal, clearable, expanding;
table sorting (sortUrl / sortAction), tree, selectable, a head
slot, stickyHead / stickyFirst, loading, row headers; toast undo
countdown (duration, actionLabel); toast-region flash; sheet snap
points and drag; panel collapsible and titleId; stat-tile roll,
rising and a trend slot; avatar initials, status, xl; alert
actions slot; dropdown-item description; date-picker two months,
presets, minDays / maxDays, confirm; select and date-picker
hideLabel; switch help and error; modal id; drawer label;
bottom-nav label; nav-item collapsed.
Blocks
Seventeen whole screens, as documentation only (nothing ships): sign in,
sign up, two-factor setup, multi-step form, every input type, app shell with
sidebar, app shell with top nav, page header, command palette, notification
center, settings page, team members, roles and permissions, API keys,
billing overview, data table page, metrics dashboard. Each page's markup is
the Blade the test suite renders and audits (unique ids, named controls,
resolving ARIA references, one h1 and main), with light, dark and phone
screenshots.
The script
<x-ds::scripts />writes the package's own script, served from a route the package registers (content-hashed URL, a year's immutable caching, no middleware,route:cacheand subdirectory installs work), with the CSP nonce fromVite::useCspNonce()or anonceprop.inlinewrites it into the page;alllinks one file.- A core and parts. A page loads the core (about 60 kB, 20 kB
compressed) and only the parts its components use (1 to 4 kB compressed
each), written by the include for a page in a layout and fetched on demand
for what a Livewire morph or
wire:navigatebrings later. Everything together is about 182 kB (60 kB compressed). Minified with source maps. - Core Alpine only at runtime: no Alpine plugin, no other library. Hosts
that bundle Alpine call
Alpine.plugin(bladeUi)withdist/blade-ui.js. - A missing include is reported once per page, as one uncaught error naming every behaviour not found; the components are left as the server rendered them, with no echo from their inner bindings.
- Strict CSP: no component prints an inline event handler, every inline
script carries the nonce, and the behaviour suite renders every specimen
under
script-src 'nonce-…' 'unsafe-eval'and fails on any violation. Standard Alpine needs'unsafe-eval'; Alpine's CSP build is not supported. - Scroll boxes (
ds::scroll-area,ds::code-block) are a Tab stop, and a code block a landmark, only while they actually scroll.
Translation
- A language file,
lang/en/forms.phpandscript.phpunder thedsnamespace (__('ds::forms.clear')), publishable with--tag=blade-ui-lang. Every word the script speaks and the form controls' own words go through it, in the app's locale; a prop you pass still wins. English output is byte for byte what it was. A worked French locale is in the tests. The other components' fixed words are still English literals in 2.0, counted byStrayLiteralsTestso the number can only fall. See Translating.
Accessibility
- Every interactive component has an ARIA Authoring Practices pattern in its spec (role, name, keyboard table, focus), and the behaviour suite drives it.
- A focus walk tabs through every focusable component in both themes at 1200 and 375 px and fails a stop that draws no system ring.
- Contrast: every required token pair is AA in both themes and checked; the docs build measures every rendered screenshot and fails under 3:1.
fg-mutedanddangerare slightly darker in the light theme, so muted text and error text reach AA on the app's sunken ground too (they were 4.39:1 and 4.33:1 there):fg-muted#71717b→#6e6e78(4.60:1 onsurface-sunken, 5.06:1 onsurface),danger#e7000b→#df000a(4.62:1 and 5.09:1). Dark is unchanged. Both pairs are now required checks.- Reduced motion is honoured everywhere, by test.
- Forms: one help-and-error pattern (
aria-describedby,aria-invalid) on every control; every control posts a real field without JavaScript.
1.x
See the GitHub releases for v1.0.0 to the last 1.x tag.