[PR #97] [MERGED] feat(core): add support for gap properties #1062

Closed
opened 2026-03-14 09:16:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/97
Author: @msmps
Created: 8/28/2025
Status: Merged
Merged: 8/28/2025
Merged by: @msmps

Base: mainHead: feat/support-gap-20250827000119


📝 Commits (5)

  • c1c5cca feat(core): add support for gap properties
  • 1d43cb8 fix: do not attempt to set gap if not provided at creation
  • 4d983cc chore(gap): move gap setters to box renderable
  • 76fa437 fix: remove unused import
  • fdac945 Merge branch 'main' into feat/support-gap-20250827000119

📊 Changes

2 files changed (+64 additions, -8 deletions)

View changed files

📝 packages/core/src/Renderable.ts (+6 -6)
📝 packages/core/src/renderables/Box.ts (+58 -2)

📄 Description

Description

  • add support for gap, rowGap, and columnGap properties
  • omit properties from "non container" renderables
  • closes #89

Snapshot

CleanShot 2025-08-28 at 17 49 14@2x

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/97 **Author:** [@msmps](https://github.com/msmps) **Created:** 8/28/2025 **Status:** ✅ Merged **Merged:** 8/28/2025 **Merged by:** [@msmps](https://github.com/msmps) **Base:** `main` ← **Head:** `feat/support-gap-20250827000119` --- ### 📝 Commits (5) - [`c1c5cca`](https://github.com/anomalyco/opentui/commit/c1c5cca3cbc8118f7c8e940f947f7ab98244fa23) feat(core): add support for gap properties - [`1d43cb8`](https://github.com/anomalyco/opentui/commit/1d43cb8784a067139e1c6d5b0ef21bef804cad1f) fix: do not attempt to set gap if not provided at creation - [`4d983cc`](https://github.com/anomalyco/opentui/commit/4d983ccca2e4337015b7981afff122c3838ccf07) chore(gap): move gap setters to box renderable - [`76fa437`](https://github.com/anomalyco/opentui/commit/76fa43798e44bfe3584a30792766237b24cf0cbf) fix: remove unused import - [`fdac945`](https://github.com/anomalyco/opentui/commit/fdac9457bb4811534cef2be7ebe46fe31f8f12f4) Merge branch 'main' into feat/support-gap-20250827000119 ### 📊 Changes **2 files changed** (+64 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/Renderable.ts` (+6 -6) 📝 `packages/core/src/renderables/Box.ts` (+58 -2) </details> ### 📄 Description ## Description - add support for `gap`, `rowGap`, and `columnGap` properties - omit properties from "non container" renderables - closes #89 ## Snapshot <img width="1824" height="1480" alt="CleanShot 2025-08-28 at 17 49 14@2x" src="https://github.com/user-attachments/assets/ab5a45a5-10e6-40c8-852c-cf237c76216c" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:16:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#1062
No description provided.