Commit Graph

140 Commits

Author SHA1 Message Date
github-actions[bot] 0b7d767cdd chore: version packages (#154)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/zustand@0.9.1 @json-render/shadcn@0.9.1 @json-render/remotion@0.9.1 @json-render/redux@0.9.1 @json-render/react@0.9.1 @json-render/react-pdf@0.9.1 @json-render/react-native@0.9.1 @json-render/jotai@0.9.1 @json-render/core@0.9.1 @json-render/codegen@0.9.1
2026-02-24 06:29:45 -06:00
Chris Tate b1036763d2 fixed: Install failure due to private dependency (#153)
* fix @internal/react-state import

* add changeset for @internal/react-state install fix

* docs: add v0.9.1 changelog entry
2026-02-24 06:25:34 -06:00
github-actions[bot] c502d5517e chore: version packages (#149)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/jotai@0.9.0 @json-render/remotion@0.9.0 @json-render/redux@0.9.0 @json-render/react@0.9.0 @json-render/react-pdf@0.9.0 @json-render/react-native@0.9.0 @json-render/shadcn@0.9.0 @json-render/core@0.9.0 @json-render/codegen@0.9.0 @json-render/zustand@0.9.0
2026-02-24 01:36:59 -06:00
Chris Tate 8740deb018 Update config.json (#148) 2026-02-24 01:34:16 -06:00
Chris Tate 1d755c104a prepare v0.9.0 (#147) 2026-02-24 01:21:02 -06:00
Chris Tate d904d45150 fix schema import to use server-safe subpath (#146)
- `@json-render/react` barrel-imports React contexts that call `createContext`, which crashes in Next.js App Router API routes (RSC runtime strips `createContext`)
- Updated all docs, READMEs, examples, and skills to import `schema` from `@json-render/react/schema` instead of `@json-render/react`
- For combined imports, split into separate `schema` (subpath) and client API (main entry) lines

Fixes #123
2026-02-24 00:55:33 -06:00
Chris Tate a110c6e0ea fix chaining actions (#144)
* fix chaining actions

* improvements
2026-02-24 00:40:40 -06:00
Juzisuan965 7de08ccdf7 fix: safely resolve inner type for Zod arrays (#140) 2026-02-24 00:02:04 -06:00
Chris Tate 3201854481 external store adapter for state management (#139)
* external store adapter for state management

Introduces a `StateStore` interface that lets users plug in their own state management (Redux, Zustand, XState, etc.) instead of being locked into the internal `useState`-based store.

- Added `StateStore` interface and `createStateStore()` factory to `@json-render/core`
- `StateProvider`, `JSONUIProvider`, and `createRenderer` now accept an optional `store` prop for controlled mode
- When `store` is provided, it becomes the single source of truth (`initialState`/`onStateChange` are ignored)
- When `store` is omitted, everything works exactly as before (fully backward compatible)
- Applied across all platform packages: react, react-native, react-pdf

* improvements

* update docs

* improvements

* fixes

* fix CI

* add store adapters

* fixes

* fixes

* fixes

* fixes

* e2e tests

* improvements

* fixes

* fixes

* fixes

* fixes

* update lockfile for widened react peer deps

* fix dashboard build
@json-render/zustand@0.8.0 @json-render/redux@0.8.0 @json-render/jotai@0.8.0
2026-02-23 23:12:57 -06:00
Chris Tate 64c889221e fix playground og (#138) 2026-02-22 16:10:31 -06:00
Chris Tate 49838fa353 update og font (#137) 2026-02-22 16:02:07 -06:00
Chris Tate fa47b08869 update header font (#136) 2026-02-22 15:51:54 -06:00
Chris Tate 5ccb109c08 use visual-json (#135)
* use visual-json

* fix lint
2026-02-22 15:42:29 -06:00
Chris Tate 62932f6516 fix gitignore (#134) 2026-02-22 15:20:33 -06:00
Chris Tate ee28d548c1 use portless (#133) 2026-02-22 15:15:17 -06:00
Chris Tate 0e6f2afc6c fix og (#128) 2026-02-20 02:41:16 -06:00
Chris Tate bccedc2459 add docs (#127) 2026-02-20 02:30:33 -06:00
github-actions[bot] 0a404302ef chore: version packages (#126)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/core@0.8.0 @json-render/react@0.8.0 @json-render/react-pdf@0.8.0 @json-render/react-native@0.8.0 @json-render/remotion@0.8.0 @json-render/codegen@0.8.0 @json-render/shadcn@0.8.0
2026-02-20 02:17:13 -06:00
Chris Tate 09376db2f6 v0.8.0 changeset (#125) 2026-02-20 02:15:51 -06:00
Chris Tate 4c294417f4 pdf (#124)
* no-ai

* pdf

* pdf example

* fixes

* ai gateway

* fixes

* fixes

* fixes

* shadcn

* 3 panes

* fixes

* fixes

* fixes

* fixes

* fix CI

* fix
@json-render/react-pdf@0.7.0
2026-02-20 02:08:25 -06:00
Brian Muenzenmeyer f77c1d6c98 Align rendering of ai-sdk table with other patterns (#122)
* Add table for AI SDK generation and chat modes

* Duplicate table for AI SDK generation modes
2026-02-18 21:02:38 -06:00
Chris Tate a66aef17f9 stripe updates (#121)
* stripe cleanup

* full screen flag

* fixes

* stripe cleanup

* refactor

* fixes

* progressive

* fix data

* fixes

* fixes actions

* fixes

* fixes
2026-02-18 13:12:21 -06:00
Chris Tate ba9ffa3c91 update star count (#120) 2026-02-18 09:21:04 -06:00
Chris Tate b7d5a75bfa update website docs (#119) 2026-02-17 02:26:57 -06:00
Chris Tate 0dfe07da45 v0.7.0 docs (#118) 2026-02-17 01:50:07 -06:00
github-actions[bot] c82eefd1c5 chore: version packages (#117)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/react-native@0.7.0 @json-render/remotion@0.7.0 @json-render/shadcn@0.7.0 @json-render/react@0.7.0 @json-render/core@0.7.0 @json-render/codegen@0.7.0
2026-02-17 01:39:40 -06:00
Chris Tate 2d70fab00a v0.7.0 changeset (#116) 2026-02-17 01:37:35 -06:00
Chris Tate 320c935bfb shadcn (#115)
* shadcn

* fix build error

* fix readme

* fix CI error

* improvements

* fixes

* stronger types

* fix interleave

* fixes

* on arg

* minor fixes

* fix lock
@json-render/shadcn@0.0.1
2026-02-17 01:28:04 -06:00
github-actions[bot] e7103ce519 chore: version packages (#113)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/remotion@0.6.1 @json-render/react@0.6.1 @json-render/react-native@0.6.1 @json-render/core@0.6.1 @json-render/codegen@0.6.1
2026-02-15 09:06:46 -06:00
Chris Tate 43ad534482 v0.6.1 changeset (#112) 2026-02-15 09:04:39 -06:00
Chris Tate ea97aff3e0 fix max update depth on homepage demo (#111)
When form inputs lack `$bindState` bindings (like in the homepage contact form simulation), `useFieldValidation` was called with `bindings?.value ?? ""` as the path. All three inputs registered at the same `""` path but with different validation configs. Each `registerField` call overwrote the previous one, triggering a re-render where the other inputs would see a mismatched config and re-register -- creating an infinite loop.

- Fix infinite re-render loop caused by multiple unbound form inputs (Input, Textarea, Select) all registering field validation at path `""` with different `checks` configs, causing them to overwrite each other endlessly
- Stabilize context values in ActionProvider, ValidationProvider, and useUIStream by using refs for state/callbacks, preventing unnecessary re-render cascades on every state update
2026-02-15 08:56:08 -06:00
github-actions[bot] 9af3f999e0 chore: version packages (#109)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/core@0.6.0 @json-render/react-native@0.6.0 @json-render/react@0.6.0 @json-render/codegen@0.6.0 @json-render/remotion@0.6.0
2026-02-13 18:03:21 -06:00
Chris Tate 06b8745da7 v0.6.0 (#108) 2026-02-13 18:00:57 -06:00
Chris Tate ddae61805e inline mode (#107)
* ai sdk

* chat

* move more to lib

* fixes

* refactor

* fixes

* streamdown

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* data-spec

* fixes

* sortable

* github

* tools

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* tables

* fixes

* fixes

* rename to chat

* fixes docs

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fix lint

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2026-02-13 17:53:03 -06:00
Chris Tate f11283fa92 fix write file (#103) 2026-02-11 19:10:14 -06:00
Chris Tate fd8c7a489f fix missing close button on mobile (#102) 2026-02-11 14:55:24 -06:00
Chris Tate f8e39b30fe update docs (#101) 2026-02-11 14:50:25 -06:00
Chris Tate 68ba7c6d7d sidebar chat (#100)
* fix chat height

* fixes

* fixes

* fixes

* sidebar

* fix
2026-02-11 11:41:05 -06:00
Chris Tate 7c4a6fed9a better registry docs (#96) 2026-02-10 13:47:00 -06:00
Chris Tate 5b4fcaa349 chat improvements (#93)
* better chat

* fixes

* fix lint

* chat fixes
2026-02-09 11:15:57 -06:00
Chris Tate 2b3f3a723f better chat (#92)
* better chat

* fixes

* fix lint
2026-02-09 09:44:29 -06:00
github-actions[bot] 726ddc1d4f chore: version packages (#91)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/remotion@0.5.2 @json-render/core@0.5.2 @json-render/react-native@0.5.2 @json-render/codegen@0.5.2 @json-render/react@0.5.2
2026-02-09 08:43:42 -06:00
Chris Tate 429e456a4f changeset (#90)
* changeset

* update
2026-02-09 08:41:41 -06:00
Chris Tate 0e16ca33d4 Fix LLM hallucinations by dynamically generating prompt examples from catalog (#89)
* smarter schema

* better examples
2026-02-09 08:37:03 -06:00
github-actions[bot] edbeb5a637 chore: version packages (#87)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/remotion@0.5.1 @json-render/react@0.5.1 @json-render/react-native@0.5.1 @json-render/core@0.5.1 @json-render/codegen@0.5.1
2026-02-09 07:09:15 -06:00
Chris Tate d9a4efdbeb changeset (#86) 2026-02-09 07:07:17 -06:00
Chris Tate f435643817 more resilient (#85)
* more resilient

* more resilient
2026-02-09 07:05:16 -06:00
Chris Tate 458f3a728c update docs (#84)
* update docs

* fix og
2026-02-09 02:16:06 -06:00
github-actions[bot] d5734e975c chore: version packages (#83)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@json-render/core@0.5.0 @json-render/react-native@0.5.0 @json-render/react@0.5.0 @json-render/codegen@0.5.0 @json-render/remotion@0.5.0
2026-02-09 01:53:27 -06:00
Chris Tate 3d2d1adb2d update docs (#82) 2026-02-09 01:45:07 -06:00