WireKit v2.6.5
Patch release. Adds one opt-in, fully backward-compatible event to Tabs so a server can observe tab switches; no breaking changes.
Added
<x-wirekit::now dispatches atabs> wirekit:tab-changedbrowser event on every tab switch, so a Livewire component can react to a change without rebuilding the tablist by hand. The event bubbles towindow, and itsdetailcarries{ tab, label }(the activated item's key and its label). It fires on change only — not on the initial render, and not when the already-active tab is re-clicked. Listen for it on a wrapper and forward it into your component, e.g.<div x-on:wirekit:tab-changed="$wire.. Rendering stays client-side and existing tabs are unaffected (an unobserved event is a no-op). See Observing tab changes server-side.on Tab Changed($event. detail. tab)">
Fixed
php artisan wirekit:doctor:a11y --theme-contrastno longer fails on resting decorative borders. Per WCAG 1.4.11 (non-text contrast applies only to UI elements that convey state or identify a boundary), the audit now treats the resting decorative borders (border,border-strong) as advisory — printed asINFO (decorative, WCAG 1.4.11 exempt)— and hard-checks only the borders that communicate at 3:1 (the focus ring,border-error,border-success). Previously it failed the decorative border/background pairing against a flat 3:1 bar, so even a stock install reported a failure on its own intentionally low-contrast dividers. See the theming guide for the exact exempt token pairings.
Documentation
<x-wirekit::— the page now leads with a live example, and a new "Observing tab changes server-side" section documents thetabs> wirekit:tab-changedevent end-to-end.<x-wirekit::— added a "Factoryeditor> configcontract" table listing every key WireKit passes to yourwindow.factory, so you can write the factory from the reference instead of reading the source.tiptap Editor(config) <x-wirekit::— documented the single-alias override (map one alias directly instead of stacking a whole extension preset) and whyicon> livestays a marketing alias.<x-wirekit::— added a pitfall: a dragged slider bound withslider> wire:model.livesends a Livewire round-trip per step; use.debounce/.lazyinstead.- Authoring custom components — added a recipe for asserting WireKit's debug-mode "unknown prop" warning in a test.