Skip to content

v3.12.2

Choose a tag to compare

@58bits 58bits released this 15 Jun 15:53

Bug Fixes

  • @byline/ui — The slide-over Drawer now wraps its popup in Base UI's Drawer.Viewport, clearing the dev-console warning (<Drawer.Popup> expected to be rendered within <Drawer.Viewport>) that fired on every admin route mounting a drawer (e.g. the account preferences panel). The viewport is composed as a layout-neutral (display: contents) wrapper, so the popup keeps its existing fixed positioning, width variants, stacked-drawer depth offsets, and top-offset behaviour unchanged — this is a no-regression fix, not a visual change.

Chores

  • @byline/admin — Refactored the document-form internals for maintainability with no behavioural change: extracted the workflow status-transition logic, the three form modals, the layout lookup tables, and the FormStatusDisplay strip out of form-renderer.tsx (1,134 → 771 lines), and collapsed the duplicated path / availableLocales system-field slots in form-context.tsx behind a single useTrackedSlot primitive. Added unit tests for the now-pure computeStatusTransitions and buildFieldToTabPath helpers.

All other @byline/* packages bumped to 3.12.2 in lockstep with no behavioural changes this cycle.