v2.6.1
Highlights
-
@byline/richtext-lexical— the inline-image editor modal now auto-fills the Alt text field when you pick a media item. It prefers the media record's ownaltText, and when that's blank or absent it falls back to a human-readable label (title→name→subject→label), deliberately never a filename. Editorial intent always wins — anything you've already typed is never overwritten. The picker preview was also enlarged and the media title now stacks above the Change image button for a cleaner layout. -
@byline/admin—RelationPickergained an optionalextraSelectFieldsprop. Picker rows normally load only their display columns, so a consumer that needs a non-displayed field (the inline-image modal needingaltText) had no way to get it.extraSelectFieldsrequests additional fields into each row'srecord.fieldswithout rendering them as columns. Pass a stable (module-level) array — it feeds the picker's fetch effect. -
@byline/ui— theShimmerskeleton gained a dedicatedlineHeightprop to size each line in the multi-line text variant independently of the containerheight, plus a new theme-aware--surface-shimmerdesign token that tunes the skeleton's contrast correctly in both light and dark mode.
Bug Fixes
-
@byline/ui— fixed theShimmermulti-line text variant, which was spreading the containerheightonto every line — rendering 18 oversized blocks instead of thin text lines.heightnow sizes the container andlineHeightsizes the lines, withoverflow: hiddenso a fixed-height skeleton crops cleanly. -
@byline/richtext-lexical— corrected the inline-image modal's picker layout, which carried leftover Tailwind utilities (including the non-existentw-18/h-18classes) that left the preview thumbnail unconstrained and rendering at full resolution. The row now uses a wired-up stylesheet with a constrained, theme-aware preview.
All other @byline/* packages bumped to 2.6.1 in lockstep with no behavioural changes this cycle.