Skip to content

Stacked PR: preview package feature stack#31

Open
rauhryan wants to merge 37 commits intomainfrom
rr/stacked-preview
Open

Stacked PR: preview package feature stack#31
rauhryan wants to merge 37 commits intomainfrom
rr/stacked-preview

Conversation

@rauhryan
Copy link
Copy Markdown
Collaborator

@rauhryan rauhryan commented May 9, 2026

Summary

Stacked preview branch combining the currently open feature/doc PRs needed to generate a preview package:

This PR is intended as an integration/preview-package branch, not as the preferred review path for the individual changes.

Validation

  • Rebuilt WASM locally with Homebrew LLVM clang:
    • make CC=/opt/homebrew/opt/llvm/bin/clang
  • Ran tests:
    • deno test

Notes

The stack requires the updated Clay submodule from #27 for transitions support.

cowboyd and others added 30 commits April 21, 2026 21:32
Design spec for clayterm transitions: frame-snapshot-compatible interpolation
of element position, size, and color properties. Defines the deltaTime
convention, the animating signal on RenderResult, declarative enter/exit
semantics that replace Clay's function-pointer callbacks, and cancellation
as a structural consequence of re-describing state. Implementation is
gated on bumping the Clay submodule past the upstream transition commit.
Scope v1 to what Clay currently supports without userData on transition
callbacks: one duration and one easing per element, applied to all listed
properties. Drop per-property longhand, enter/exit deltas, cubicBezier,
and corner radius — each with an explicit "Deferred Until Upstream Clay"
entry in §13 referencing nicbarker/clay#603 and the forthcoming exit-flag
work. Easings are plain string literals ("linear" | "easeIn" | "easeOut"
| "easeInOut") since v1 has no parametric easings.
Ports the spirit of the raylib-transitions demo to clayterm: a 4×4 grid
of colored boxes that animate position, size, and bg color. Shuffle (s)
animates positions via Clay's transition system; recolor (c) toggles
between two palettes with animated bg interpolation; hover tints each
box by blending its bg toward white (overlay-color field is not yet in
the v1 command buffer, so lighten-on-hover substitutes). Full mouse
tracking is wired via mouseTracking() + pointer state from input events.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 9, 2026

Open in StackBlitz

npm i https://pkg.pr.new/clayterm@31

commit: a99854a

@rauhryan rauhryan requested a review from cowboyd May 9, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants