release: v0.8.0 — Surface + Window primitives#94
Merged
Conversation
…cent + measureText fixes Co-Authored-By: Mark <psyhik17@gmail.com> Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts v0.8.0 of
@yokai-tui/rendererand@yokai-tui/shared.Headline: two new desktop primitives —
<Surface>(A23) and<Window>(A4 + A18) — plus the shakedown wave that hardened the layout / event substrate underneath them.What's in this release
Since v0.7.2 — accumulated work from issues #56, #58, #60, #61, #75 (all closed):
<Surface>primitive — paint substrate with named z-bands, hit-test boundary, elevation shadows, backdrop scrim.<Window>primitive — desktop window with single rect state, titlebar drag, edge/corner resize, raise-on-press, modal mode, focus-/hover-scoped event routing.<Window onInput>prop — per-window input subscription that auto-routes keyboard by focus and wheel by hover, without needing to extract a child component.useInputauto-routes inside<Window>when called from a descendant.width="100%"on a child of a bordered parent overpaints the border #60) — fixes childwidth="100%"overpainting bordered parent.measureTextNodeUndefined-mode invariant (Nested <Text> inside flex-row parent silently truncates trailing content even with abundant slack #51, A5:<Text>always carriesflexShrink: 1on wrap-family modes #58) — fixes silent text truncation during basis pass.See
docs/changelog.mdfor the full entry.Diff
package.json,packages/renderer/package.json,packages/shared/package.json→ version 0.7.2 → 0.8.0docs/changelog.md→Unreleased→## v0.8.0 — 2026-05-18+ headline + GitHub release link + filled-in Fixed / Internal sections for the press-intent / yoga / measureText work that had landed but wasn't yet documented under any versionTest plan
v0.8.0on the merge commit after this PR lands