236 Commits

Author SHA1 Message Date
Sebastian Herrlinger c78fec66a1 prepare release v0.1.75 2026-01-25 12:46:37 -05:00
Matt Simpson f3a7dbe963 fix(react): share app context across build entrypoints (#571) 2026-01-23 03:39:09 +01:00
Simon Klee 822c57a0f0 fix(react/solid): add missing markdown element (#569) 2026-01-21 22:49:15 +00:00
Tommy D. Rossi 4b7df91df3 feat(core): add MarkdownRenderable with automatic table alignment (#433)
---------

Co-authored-by: Sebastian <hasta84@gmail.com>
2026-01-18 14:15:17 +01:00
azukiazusa1 c7139714b9 docs: fix small typo (#548) 2026-01-18 12:51:06 +00:00
Sebastian Herrlinger 651490c737 prepare release v0.1.74 2026-01-16 19:45:33 +01:00
Sebastian Herrlinger e71e9444fc prepare release v0.1.73 2026-01-15 16:25:29 +01:00
Liam Don 6605a5fb02 docs: Update repo references for new Github org (#476) 2026-01-11 21:35:22 +01:00
Sebastian Herrlinger 17d7079cd4 prepare release v0.1.72 2026-01-09 20:05:56 +01:00
Sebastian Herrlinger dbd7cfd354 prepare release v0.1.71 2026-01-09 17:16:48 +01:00
Sebastian Herrlinger 9aafac902e prepare release v0.1.70 2026-01-08 23:31:36 +01:00
Sebastian febabdbdc2 [react] unmount when renderer is destroyed externally (#492)
Co-authored-by: msmps <7691252+msmps@users.noreply.github.com>
2026-01-07 23:42:01 +01:00
Sebastian Herrlinger e040c597b7 prepare release v0.1.69 2026-01-05 21:03:24 +01:00
Sebastian Herrlinger 31a5cc2433 prepare release v0.1.68 2026-01-03 00:45:07 +01:00
Tommy D. Rossi 9639559c5f fix: handle flushSync rename in react-reconciler 0.32.0 (#454)
`flushSync` was renamed to `flushSyncFromReconciler` in react-reconciler
0.32.0.

This fix uses nullish coalescing to check for the new name first,
falling back to the old name for backwards compatibility.

Ref: https://github.com/facebook/react/issues/35424

---------

Co-authored-by: Matt Simpson <7691252+msmps@users.noreply.github.com>
2026-01-01 21:21:22 +00:00
Sebastian Herrlinger 3dcc7730e7 prepare release v0.1.67 2025-12-30 15:20:24 +01:00
Sebastian Herrlinger d9d0fe65be prepare release v0.1.66 2025-12-30 01:01:38 +01:00
Sebastian Herrlinger a358ee57a4 prepare release v0.1.65 2025-12-28 22:23:16 +01:00
Sebastian Herrlinger 5eb34daca7 prepare release v0.1.64 2025-12-28 21:56:18 +01:00
Matt Simpson add0efad3b feat: implement react-devtools support (#448) 2025-12-28 21:54:20 +01:00
Matt Simpson 88382ed3cf refactor(react): export reconciler methods (#450) 2025-12-28 21:50:37 +01:00
Tommy D. Rossi 6dc3cc43d8 feat(react): add React Refresh support (#446)
Add `injectIntoDevTools()` call to enable React Refresh (hot reloading)
for apps using @opentui/react.

This registers `scheduleRefresh` and `setRefreshHandler` functions that
`react-refresh/runtime` uses to trigger component updates in-place
without remounting.

Example usage in another reconciler:
https://github.com/pmndrs/react-nil/blob/25b9aaab940c9a66ac438e4e2040fabe94f78a88/src/index.tsx#L111

---------

Co-authored-by: Matt Simpson <7691252+msmps@users.noreply.github.com>
2025-12-27 20:27:06 +00:00
Sebastian faaa6912be support rendering OSC8 hyperlinks (#447) 2025-12-27 20:32:53 +01:00
rari404 ca63835012 fix: reset flex properties on style removal (#414) 2025-12-23 13:31:22 +01:00
Sebastian Herrlinger a79281d69e prepare release v0.1.63 2025-12-22 20:27:27 +01:00
Tommy D. Rossi a62315971c export flushSync from react package (#429)
Exports `flushSync` from `@opentui/react` so users can force synchronous
updates in concurrent mode.

Since this is a custom renderer, `flushSync` from `react-dom` isn't
available, so it needs to be exported from the reconciler.
2025-12-19 19:27:00 +00:00
Sebastian Herrlinger 1f3ac90aab prepare release v0.1.62 2025-12-19 13:33:19 +01:00
Sebastian Herrlinger 580fff9293 prepare release v0.1.61 2025-12-16 23:33:55 +01:00
Sebastian Herrlinger 4403a69a7b pin node types 2025-12-11 16:36:48 +01:00
Muhammed Mustafa AKŞAM 522b0ee382 feat(core): add opacity property to Renderable (#401) 2025-12-11 15:47:41 +01:00
Sebastian Herrlinger b0ea23ea97 prepare release v0.1.60 2025-12-10 13:39:36 +01:00
Sebastian Herrlinger 6135e440b4 prepare release v0.1.59 2025-12-09 01:43:12 +01:00
Sebastian Herrlinger 7bf0b38936 prepare release v0.1.58 2025-12-08 21:42:40 +01:00
Andrew C. Oliver 04ea4c0474 Fix ScrollBox scissor clipping for nested scrollboxes (#389) 2025-12-08 21:15:00 +01:00
Sebastian Herrlinger 940e5b023a prepare release v0.1.57 2025-12-05 14:40:09 +01:00
Sebastian Herrlinger e99226c60e prepare release v0.1.56 2025-12-04 02:54:49 +01:00
Sebastian Herrlinger df232a105e prepare release v0.1.55 2025-12-03 02:55:01 +01:00
Sebastian Herrlinger 687a296193 prepare release v0.1.54 2025-12-01 01:47:48 +01:00
Sebastian Herrlinger 3d0e6c145d prepare release v0.1.53 2025-11-30 00:22:02 +01:00
Tommy D. Rossi e931bed411 feat(react): add <diff> component support (#360)
## Summary
- Add `<diff>` as a built-in React component by registering
`DiffRenderable` in the component catalogue
- Add React example demonstrating diff viewer with theme cycling, view
modes (unified/split), and keybindings
- Add diff-demo to core examples index

---------

Co-authored-by: Matt Simpson <7691252+msmps@users.noreply.github.com>
2025-11-29 22:36:24 +00:00
Matt Simpson 4f35707cda feat: rebase + add line number renderable (#364)
- add line number renderable
- update use keyboard hook to align with solid with new release key
- add missing property to line number renderable
2025-11-29 23:10:08 +01:00
Sebastian Herrlinger 6feaf7d8ce prepare release v0.1.52 2025-11-29 22:06:18 +01:00
Sebastian Herrlinger 78cd341921 prepare release v0.1.51 2025-11-29 02:24:44 +01:00
Sebastian Herrlinger a6ab7702da prepare release v0.1.50 2025-11-25 00:52:30 +01:00
Matt Simpson 8f9e465201 fix: export createElement from React (#340)
## Description

- fixes #339 
-
https://github.com/oven-sh/bun/blob/ddcec61f59bd75cc15a722f02dccb7678b965144/src/ast/parseJSXElement.zig#L152-L154
-
https://github.com/oven-sh/bun/blob/ddcec61f59bd75cc15a722f02dccb7678b965144/test/snapshots/spread_with_key.tsx#L8C60-L8C73
- https://www.typescriptlang.org/tsconfig/#jsxImportSource
2025-11-23 23:04:52 +01:00
Sebastian Herrlinger 6aadf72d1f prepare release v0.1.49 2025-11-23 01:31:56 +01:00
Sebastian Herrlinger b787e17b2c prepare release v0.1.48 2025-11-21 23:36:10 +01:00
Sebastian Herrlinger 6482ce409b prepare release v0.1.47 2025-11-20 00:17:32 +01:00
Sebastian Herrlinger 95737e5f0d prepare release v0.1.46 2025-11-17 23:54:53 +01:00
Sebastian Herrlinger f645bb5dfd prepare release v0.1.45 2025-11-16 23:47:52 +01:00