Skip to content

feat(json-render): add Tabs, Link, Select to the base catalog - #182

Merged
antfu merged 1 commit into
mainfrom
feat/json-render-catalog-tabs-link-select
Aug 10, 2026
Merged

feat(json-render): add Tabs, Link, Select to the base catalog#182
antfu merged 1 commit into
mainfrom
feat/json-render-catalog-tabs-link-select

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

PR A of the json-render view-provider stack (plan: plans/json-render-ui-packaging.md, PR #181).

Additive catalog growth — catalog v1 goes from 14 → 17 components. Adds zod prop schemas + descriptions for Tabs, Link, and Select, ported from hub-ui's existing inline json-render component prop shapes, so specs using them validate at both trust boundaries (server ingress + client render) and render wherever a 17-aware registry is installed.

Purely additive: existing specs stay valid; no behavior change. Renderer implementations land next in @devframes/json-render-ui (PR B).

  • prop-schemas.ts: TabsPropsSchema / LinkPropsSchema / SelectPropsSchema + registered in basePropSchemas.
  • catalog.ts: descriptions for the three (the componentDescriptions type forces completeness).
  • index.ts: export the three schemas.
  • catalog.test.ts: assert the 17-component set.
  • Updated the @devframes/json-render API snapshot.

Verified: typecheck (workspace, 26 pkgs), eslint, knip, json-render build + catalog tests.

Created with the help of an agent.

Additive catalog growth (catalog v1: 14 -> 17). Adds zod prop schemas +
descriptions for Tabs, Link and Select, ported from hub-ui's existing inline
json-render component prop shapes, so specs using them validate at both trust
boundaries and render wherever a 17-aware registry is installed. Purely
additive: existing specs stay valid.

Renderer implementations follow in @devframes/json-render-ui.
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit 1d4d2c5
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a794d507f384100089aa8d8
😎 Deploy Preview https://deploy-preview-182--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@antfu
antfu merged commit 917d1e4 into main Aug 10, 2026
12 checks passed
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