mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #119] [MERGED] feat: add some utilities and missing yoga properties #1082
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1082
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/119
Author: @KurtGokhan
Created: 8/31/2025
Status: ✅ Merged
Merged: 8/31/2025
Merged by: @kommander
Base:
main← Head:missing-yoga-props📝 Commits (3)
47a262efeat: add some utilities and missing yoga properties661f34eremove type-utils7476d01make props protected📊 Changes
5 files changed (+86 additions, -17 deletions)
View changed files
📝
packages/core/src/Renderable.ts(+76 -12)📝
packages/core/src/examples/lib/standalone-keys.ts(+1 -1)📝
packages/core/src/lib/KeyHandler.ts(+6 -2)📝
packages/core/src/renderables/Box.ts(+1 -1)📝
packages/core/tsconfig.json(+2 -1)📄 Description
Added these yoga props:
Added
translateXandtranslateYwhich will be helpful when implementing scroll area to avoid recalculating Yoga layout. It can be used for other elements as well.Some Typescript goodies:
distto allow getting dist folder in autocompleteAdded
"to open console keys. That's what I have in my keyboard :(Emit
resizeevent on resizes. This can be used in user-land to detect element resizes.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.