Skip to content

bump/torph 0.1.0 multiline - #42

Merged
lochie merged 3 commits into
lochie:mainfrom
SanyamPunia:bump/torph-0.1.0-multiline
Sep 2, 2026
Merged

bump/torph 0.1.0 multiline#42
lochie merged 3 commits into
lochie:mainfrom
SanyamPunia:bump/torph-0.1.0-multiline

Conversation

@SanyamPunia

Copy link
Copy Markdown
Contributor

Bumps the site to torph 0.1.0 and wraps the framework examples and builder output in TextMorph, so the multi-line code blocks morph instead of swapping.

Preview

Screen.Recording.2026-08-13.at.1.25.38.PM.mov

torph 0.1.0 renders newlines as morphable segments, so the framework
examples and the builder output can animate instead of swapping.
@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown

@SanyamPunia is attempting to deploy a commit to the Lochie Team on Vercel.

A member of the Team first needs to authorize it.

@lochie lochie left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh nice, i forgot to update this one! what we should do here is put TextMorph into the codeblock itself, and remove the autoresizer from the codeblock too since textmorph does that for us now

Every code block morphs now, so the per-surface wrapping and the
AutoResize wrapper are both redundant. Sets white-space: pre, because
torph's nowrap root drops leading indentation until the first morph.
@SanyamPunia

SanyamPunia commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

thanks! moved TextMorph into CodeBlock and dropped AutoResize @lochie

Screen.Recording.2026-08-13.at.8.39.45.PM.mov

@SanyamPunia
SanyamPunia requested a review from lochie August 13, 2026 15:14
@SanyamPunia

Copy link
Copy Markdown
Contributor Author

bumping this for re-review @lochie

@lochie lochie left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thanks for this!

@lochie
lochie merged commit 7904ed1 into lochie:main Sep 2, 2026
1 check failed
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