[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-labs-ink":3,"mdc--p2ig8b-key":33,"related-repo-vercel-labs-ink":4754,"related-org-vercel-labs-ink":4847},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"ink","render JSON specs as terminal UIs","Ink terminal renderer for json-render that turns JSON specs into interactive terminal UIs. Use when working with @json-render\u002Fink, building terminal UIs from JSON, creating terminal component catalogs, or rendering AI-generated specs in the terminal.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel-labs","Vercel Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel-labs.png",[12,16,19],{"name":13,"slug":14,"type":15},"JSON","json","tag",{"name":17,"slug":18,"type":15},"CLI","cli",{"name":20,"slug":21,"type":15},"UI Components","ui-components",15678,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fjson-render","2026-07-17T06:08:28.678043",null,845,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"The Generative UI framework","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fjson-render\u002Ftree\u002FHEAD\u002Fskills\u002Fink","---\nname: ink\ndescription: Ink terminal renderer for json-render that turns JSON specs into interactive terminal UIs. Use when working with @json-render\u002Fink, building terminal UIs from JSON, creating terminal component catalogs, or rendering AI-generated specs in the terminal.\n---\n\n# @json-render\u002Fink\n\nInk terminal renderer that converts JSON specs into interactive terminal component trees with standard components, data binding, visibility, actions, and dynamic props.\n\n## Quick Start\n\n```typescript\nimport { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema } from \"@json-render\u002Fink\u002Fschema\";\nimport {\n  standardComponentDefinitions,\n  standardActionDefinitions,\n} from \"@json-render\u002Fink\u002Fcatalog\";\nimport { defineRegistry, Renderer, type Components } from \"@json-render\u002Fink\";\nimport { z } from \"zod\";\n\n\u002F\u002F Create catalog with standard + custom components\nconst catalog = defineCatalog(schema, {\n  components: {\n    ...standardComponentDefinitions,\n    CustomWidget: {\n      props: z.object({ title: z.string() }),\n      slots: [],\n      description: \"Custom widget\",\n    },\n  },\n  actions: standardActionDefinitions,\n});\n\n\u002F\u002F Register only custom components (standard ones are built-in)\nconst { registry } = defineRegistry(catalog, {\n  components: {\n    CustomWidget: ({ props }) => \u003CText>{props.title}\u003C\u002FText>,\n  } as Components\u003Ctypeof catalog>,\n});\n\n\u002F\u002F Render\nfunction App({ spec }) {\n  return (\n    \u003CJSONUIProvider initialState={{}}>\n      \u003CRenderer spec={spec} registry={registry} \u002F>\n    \u003C\u002FJSONUIProvider>\n  );\n}\n```\n\n## Spec Structure (Flat Element Map)\n\nThe Ink schema uses a flat element map with a root key:\n\n```json\n{\n  \"root\": \"main\",\n  \"elements\": {\n    \"main\": {\n      \"type\": \"Box\",\n      \"props\": { \"flexDirection\": \"column\", \"padding\": 1 },\n      \"children\": [\"heading\", \"content\"]\n    },\n    \"heading\": {\n      \"type\": \"Heading\",\n      \"props\": { \"text\": \"Dashboard\", \"level\": \"h1\" },\n      \"children\": []\n    },\n    \"content\": {\n      \"type\": \"Text\",\n      \"props\": { \"text\": \"Hello from the terminal!\" },\n      \"children\": []\n    }\n  }\n}\n```\n\n## Standard Components\n\n### Layout\n- `Box` - Flexbox layout container (like a terminal `\u003Cdiv>`). Use for grouping, spacing, borders, alignment. Default flexDirection is row.\n- `Text` - Text output with optional styling (color, bold, italic, etc.)\n- `Newline` - Inserts blank lines. Must be inside a Box with flexDirection column.\n- `Spacer` - Flexible empty space that expands along the main axis.\n\n### Content\n- `Heading` - Section heading (h1: bold+underlined, h2: bold, h3: bold+dimmed, h4: dimmed)\n- `Divider` - Horizontal separator with optional centered title\n- `Badge` - Colored inline label (variants: default, info, success, warning, error)\n- `Spinner` - Animated loading spinner with optional label\n- `ProgressBar` - Horizontal progress bar (0-1)\n- `Sparkline` - Inline chart using Unicode block characters\n- `BarChart` - Horizontal bar chart with labels and values\n- `Table` - Tabular data with headers and rows\n- `List` - Bulleted or numbered list\n- `ListItem` - Structured list row with title, subtitle, leading\u002Ftrailing text\n- `Card` - Bordered container with optional title\n- `KeyValue` - Key-value pair display\n- `Link` - Clickable URL with optional label\n- `StatusLine` - Status message with colored icon (info, success, warning, error)\n- `Markdown` - Renders markdown text with terminal styling\n\n### Interactive\n- `TextInput` - Text input field (events: submit, change)\n- `Select` - Selection menu with arrow key navigation (events: change)\n- `MultiSelect` - Multi-selection with space to toggle (events: change, submit)\n- `ConfirmInput` - Yes\u002FNo confirmation prompt (events: confirm, deny)\n- `Tabs` - Tab bar navigation with left\u002Fright arrow keys (events: change)\n\n## Visibility Conditions\n\nUse `visible` on elements to show\u002Fhide based on state. Syntax: `{ \"$state\": \"\u002Fpath\" }`, `{ \"$state\": \"\u002Fpath\", \"eq\": value }`, `{ \"$state\": \"\u002Fpath\", \"not\": true }`, `{ \"$and\": [cond1, cond2] }` for AND, `{ \"$or\": [cond1, cond2] }` for OR.\n\n## Dynamic Prop Expressions\n\nAny prop value can be a data-driven expression resolved at render time:\n\n- **`{ \"$state\": \"\u002Fstate\u002Fkey\" }`** - reads from state model (one-way read)\n- **`{ \"$bindState\": \"\u002Fpath\" }`** - two-way binding: use on the natural value prop of form components\n- **`{ \"$bindItem\": \"field\" }`** - two-way binding to a repeat item field\n- **`{ \"$cond\": \u003Ccondition>, \"$then\": \u003Cvalue>, \"$else\": \u003Cvalue> }`** - conditional value\n- **`{ \"$template\": \"Hello, ${\u002Fname}!\" }`** - interpolates state values into strings\n\nComponents do not use a `statePath` prop for two-way binding. Use `{ \"$bindState\": \"\u002Fpath\" }` on the natural value prop instead.\n\n## Event System\n\nComponents use `emit` to fire named events. The element's `on` field maps events to action bindings:\n\n```tsx\nCustomButton: ({ props, emit }) => (\n  \u003CBox>\n    \u003CText>{props.label}\u003C\u002FText>\n    {\u002F* emit(\"press\") triggers the action bound in the spec's on.press *\u002F}\n  \u003C\u002FBox>\n),\n```\n\n```json\n{\n  \"type\": \"CustomButton\",\n  \"props\": { \"label\": \"Submit\" },\n  \"on\": { \"press\": { \"action\": \"submit\" } },\n  \"children\": []\n}\n```\n\n## Built-in Actions\n\n`setState`, `pushState`, and `removeState` are built-in and handled automatically:\n\n```json\n{ \"action\": \"setState\", \"params\": { \"statePath\": \"\u002FactiveTab\", \"value\": \"home\" } }\n{ \"action\": \"pushState\", \"params\": { \"statePath\": \"\u002Fitems\", \"value\": { \"text\": \"New\" } } }\n{ \"action\": \"removeState\", \"params\": { \"statePath\": \"\u002Fitems\", \"index\": 0 } }\n```\n\n## Repeat (Dynamic Lists)\n\nUse the `repeat` field on a container element to render items from a state array:\n\n```json\n{\n  \"type\": \"Box\",\n  \"props\": { \"flexDirection\": \"column\" },\n  \"repeat\": { \"statePath\": \"\u002Fitems\", \"key\": \"id\" },\n  \"children\": [\"item-row\"]\n}\n```\n\nInside repeated children, use `{ \"$item\": \"field\" }` to read from the current item and `{ \"$index\": true }` for the current index.\n\n## Streaming\n\nUse `useUIStream` to progressively render specs from JSONL patch streams:\n\n```tsx\nimport { useUIStream } from \"@json-render\u002Fink\";\n\nconst { spec, send, isStreaming } = useUIStream({ api: \"\u002Fapi\u002Fgenerate\" });\n```\n\n## Server-Side Prompt Generation\n\nUse the `.\u002Fserver` export to generate AI system prompts from your catalog:\n\n```typescript\nimport { catalog } from \".\u002Fcatalog\";\n\nconst systemPrompt = catalog.prompt({ system: \"You are a terminal assistant.\" });\n```\n\n## Providers\n\n| Provider | Purpose |\n|----------|---------|\n| `StateProvider` | Share state across components (JSON Pointer paths). Accepts optional `store` prop for controlled mode. |\n| `ActionProvider` | Handle actions dispatched via the event system |\n| `VisibilityProvider` | Enable conditional rendering based on state |\n| `ValidationProvider` | Form field validation |\n| `FocusProvider` | Manage focus across interactive components |\n| `JSONUIProvider` | Combined provider for all contexts |\n\n### External Store (Controlled Mode)\n\nPass a `StateStore` to `StateProvider` (or `JSONUIProvider`) to use external state management:\n\n```tsx\nimport { createStateStore, type StateStore } from \"@json-render\u002Fink\";\n\nconst store = createStateStore({ count: 0 });\n\n\u003CStateProvider store={store}>{children}\u003C\u002FStateProvider>\n\nstore.set(\"\u002Fcount\", 1); \u002F\u002F React re-renders automatically\n```\n\nWhen `store` is provided, `initialState` and `onStateChange` are ignored.\n\n## createRenderer (Higher-Level API)\n\n```tsx\nimport { createRenderer } from \"@json-render\u002Fink\";\nimport { standardComponents } from \"@json-render\u002Fink\";\nimport { catalog } from \".\u002Fcatalog\";\n\nconst InkRenderer = createRenderer(catalog, {\n  ...standardComponents,\n  \u002F\u002F custom component overrides here\n});\n\n\u002F\u002F InkRenderer includes all providers (state, visibility, actions, focus)\nrender(\n  \u003CInkRenderer spec={spec} state={{ activeTab: \"overview\" }} \u002F>\n);\n```\n\n## Key Exports\n\n| Export | Purpose |\n|--------|---------|\n| `defineRegistry` | Create a type-safe component registry from a catalog |\n| `Renderer` | Render a spec using a registry |\n| `createRenderer` | Higher-level: creates a component with built-in providers |\n| `JSONUIProvider` | Combined provider for all contexts |\n| `schema` | Ink flat element map schema (includes built-in state actions) |\n| `standardComponentDefinitions` | Catalog definitions for all standard components |\n| `standardActionDefinitions` | Catalog definitions for standard actions |\n| `standardComponents` | Pre-built component implementations |\n| `useStateStore` | Access state context |\n| `useStateValue` | Get single value from state |\n| `useBoundProp` | Two-way binding for `$bindState`\u002F`$bindItem` expressions |\n| `useActions` | Access actions context |\n| `useAction` | Get a single action dispatch function |\n| `useOptionalValidation` | Non-throwing variant of useValidation |\n| `useUIStream` | Stream specs from an API endpoint |\n| `createStateStore` | Create a framework-agnostic in-memory `StateStore` |\n| `StateStore` | Interface for plugging in external state management |\n| `Components` | Typed component map (catalog-aware) |\n| `Actions` | Typed action map (catalog-aware) |\n| `ComponentContext` | Typed component context (catalog-aware) |\n| `flatToTree` | Convert flat element map to tree structure |\n\n## Terminal UI Design Guidelines\n\n- Use Box for layout (flexDirection, padding, gap). Default flexDirection is row.\n- Terminal width is ~80-120 columns. Prefer vertical layouts (flexDirection: column) for main structure.\n- Use borderStyle on Box for visual grouping (single, double, round, bold).\n- Use named terminal colors: red, green, yellow, blue, magenta, cyan, white, gray.\n- Use Heading for section titles, Divider to separate sections, Badge for status, KeyValue for labeled data, Card for bordered groups.\n- Use Tabs for multi-view UIs with visible conditions on child content.\n- Use Sparkline for inline trends and BarChart for comparing values.\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,53,60,1021,1027,1032,1663,1669,1676,1731,1736,1903,1909,1967,1973,2024,2030,2035,2109,2129,2135,2156,2307,2524,2530,2556,2969,2975,2988,3228,3249,3255,3267,3408,3414,3426,3551,3557,3694,3700,3727,3962,3990,3996,4306,4312,4704,4710,4748],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"json-renderink",[44],{"type":45,"value":46},"text","@json-render\u002Fink",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51],{"type":45,"value":52},"Ink terminal renderer that converts JSON specs into interactive terminal component trees with standard components, data binding, visibility, actions, and dynamic props.",{"type":39,"tag":54,"props":55,"children":57},"h2",{"id":56},"quick-start",[58],{"type":45,"value":59},"Quick Start",{"type":39,"tag":61,"props":62,"children":67},"pre",{"className":63,"code":64,"language":65,"meta":66,"style":66},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { defineCatalog } from \"@json-render\u002Fcore\";\nimport { schema } from \"@json-render\u002Fink\u002Fschema\";\nimport {\n  standardComponentDefinitions,\n  standardActionDefinitions,\n} from \"@json-render\u002Fink\u002Fcatalog\";\nimport { defineRegistry, Renderer, type Components } from \"@json-render\u002Fink\";\nimport { z } from \"zod\";\n\n\u002F\u002F Create catalog with standard + custom components\nconst catalog = defineCatalog(schema, {\n  components: {\n    ...standardComponentDefinitions,\n    CustomWidget: {\n      props: z.object({ title: z.string() }),\n      slots: [],\n      description: \"Custom widget\",\n    },\n  },\n  actions: standardActionDefinitions,\n});\n\n\u002F\u002F Register only custom components (standard ones are built-in)\nconst { registry } = defineRegistry(catalog, {\n  components: {\n    CustomWidget: ({ props }) => \u003CText>{props.title}\u003C\u002FText>,\n  } as Components\u003Ctypeof catalog>,\n});\n\n\u002F\u002F Render\nfunction App({ spec }) {\n  return (\n    \u003CJSONUIProvider initialState={{}}>\n      \u003CRenderer spec={spec} registry={registry} \u002F>\n    \u003C\u002FJSONUIProvider>\n  );\n}\n","typescript","",[68],{"type":39,"tag":69,"props":70,"children":71},"code",{"__ignoreMap":66},[72,127,169,182,196,209,239,304,346,356,366,404,423,441,458,535,557,587,596,605,627,643,651,660,703,719,791,823,839,847,856,888,902,926,981,999,1012],{"type":39,"tag":73,"props":74,"children":77},"span",{"class":75,"line":76},"line",1,[78,84,90,96,101,106,111,117,122],{"type":39,"tag":73,"props":79,"children":81},{"style":80},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[82],{"type":45,"value":83},"import",{"type":39,"tag":73,"props":85,"children":87},{"style":86},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[88],{"type":45,"value":89}," {",{"type":39,"tag":73,"props":91,"children":93},{"style":92},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[94],{"type":45,"value":95}," defineCatalog",{"type":39,"tag":73,"props":97,"children":98},{"style":86},[99],{"type":45,"value":100}," }",{"type":39,"tag":73,"props":102,"children":103},{"style":80},[104],{"type":45,"value":105}," from",{"type":39,"tag":73,"props":107,"children":108},{"style":86},[109],{"type":45,"value":110}," \"",{"type":39,"tag":73,"props":112,"children":114},{"style":113},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[115],{"type":45,"value":116},"@json-render\u002Fcore",{"type":39,"tag":73,"props":118,"children":119},{"style":86},[120],{"type":45,"value":121},"\"",{"type":39,"tag":73,"props":123,"children":124},{"style":86},[125],{"type":45,"value":126},";\n",{"type":39,"tag":73,"props":128,"children":130},{"class":75,"line":129},2,[131,135,139,144,148,152,156,161,165],{"type":39,"tag":73,"props":132,"children":133},{"style":80},[134],{"type":45,"value":83},{"type":39,"tag":73,"props":136,"children":137},{"style":86},[138],{"type":45,"value":89},{"type":39,"tag":73,"props":140,"children":141},{"style":92},[142],{"type":45,"value":143}," schema",{"type":39,"tag":73,"props":145,"children":146},{"style":86},[147],{"type":45,"value":100},{"type":39,"tag":73,"props":149,"children":150},{"style":80},[151],{"type":45,"value":105},{"type":39,"tag":73,"props":153,"children":154},{"style":86},[155],{"type":45,"value":110},{"type":39,"tag":73,"props":157,"children":158},{"style":113},[159],{"type":45,"value":160},"@json-render\u002Fink\u002Fschema",{"type":39,"tag":73,"props":162,"children":163},{"style":86},[164],{"type":45,"value":121},{"type":39,"tag":73,"props":166,"children":167},{"style":86},[168],{"type":45,"value":126},{"type":39,"tag":73,"props":170,"children":172},{"class":75,"line":171},3,[173,177],{"type":39,"tag":73,"props":174,"children":175},{"style":80},[176],{"type":45,"value":83},{"type":39,"tag":73,"props":178,"children":179},{"style":86},[180],{"type":45,"value":181}," {\n",{"type":39,"tag":73,"props":183,"children":185},{"class":75,"line":184},4,[186,191],{"type":39,"tag":73,"props":187,"children":188},{"style":92},[189],{"type":45,"value":190},"  standardComponentDefinitions",{"type":39,"tag":73,"props":192,"children":193},{"style":86},[194],{"type":45,"value":195},",\n",{"type":39,"tag":73,"props":197,"children":199},{"class":75,"line":198},5,[200,205],{"type":39,"tag":73,"props":201,"children":202},{"style":92},[203],{"type":45,"value":204},"  standardActionDefinitions",{"type":39,"tag":73,"props":206,"children":207},{"style":86},[208],{"type":45,"value":195},{"type":39,"tag":73,"props":210,"children":212},{"class":75,"line":211},6,[213,218,222,226,231,235],{"type":39,"tag":73,"props":214,"children":215},{"style":86},[216],{"type":45,"value":217},"}",{"type":39,"tag":73,"props":219,"children":220},{"style":80},[221],{"type":45,"value":105},{"type":39,"tag":73,"props":223,"children":224},{"style":86},[225],{"type":45,"value":110},{"type":39,"tag":73,"props":227,"children":228},{"style":113},[229],{"type":45,"value":230},"@json-render\u002Fink\u002Fcatalog",{"type":39,"tag":73,"props":232,"children":233},{"style":86},[234],{"type":45,"value":121},{"type":39,"tag":73,"props":236,"children":237},{"style":86},[238],{"type":45,"value":126},{"type":39,"tag":73,"props":240,"children":242},{"class":75,"line":241},7,[243,247,251,256,261,266,270,275,280,284,288,292,296,300],{"type":39,"tag":73,"props":244,"children":245},{"style":80},[246],{"type":45,"value":83},{"type":39,"tag":73,"props":248,"children":249},{"style":86},[250],{"type":45,"value":89},{"type":39,"tag":73,"props":252,"children":253},{"style":92},[254],{"type":45,"value":255}," defineRegistry",{"type":39,"tag":73,"props":257,"children":258},{"style":86},[259],{"type":45,"value":260},",",{"type":39,"tag":73,"props":262,"children":263},{"style":92},[264],{"type":45,"value":265}," Renderer",{"type":39,"tag":73,"props":267,"children":268},{"style":86},[269],{"type":45,"value":260},{"type":39,"tag":73,"props":271,"children":272},{"style":80},[273],{"type":45,"value":274}," type",{"type":39,"tag":73,"props":276,"children":277},{"style":92},[278],{"type":45,"value":279}," Components",{"type":39,"tag":73,"props":281,"children":282},{"style":86},[283],{"type":45,"value":100},{"type":39,"tag":73,"props":285,"children":286},{"style":80},[287],{"type":45,"value":105},{"type":39,"tag":73,"props":289,"children":290},{"style":86},[291],{"type":45,"value":110},{"type":39,"tag":73,"props":293,"children":294},{"style":113},[295],{"type":45,"value":46},{"type":39,"tag":73,"props":297,"children":298},{"style":86},[299],{"type":45,"value":121},{"type":39,"tag":73,"props":301,"children":302},{"style":86},[303],{"type":45,"value":126},{"type":39,"tag":73,"props":305,"children":307},{"class":75,"line":306},8,[308,312,316,321,325,329,333,338,342],{"type":39,"tag":73,"props":309,"children":310},{"style":80},[311],{"type":45,"value":83},{"type":39,"tag":73,"props":313,"children":314},{"style":86},[315],{"type":45,"value":89},{"type":39,"tag":73,"props":317,"children":318},{"style":92},[319],{"type":45,"value":320}," z",{"type":39,"tag":73,"props":322,"children":323},{"style":86},[324],{"type":45,"value":100},{"type":39,"tag":73,"props":326,"children":327},{"style":80},[328],{"type":45,"value":105},{"type":39,"tag":73,"props":330,"children":331},{"style":86},[332],{"type":45,"value":110},{"type":39,"tag":73,"props":334,"children":335},{"style":113},[336],{"type":45,"value":337},"zod",{"type":39,"tag":73,"props":339,"children":340},{"style":86},[341],{"type":45,"value":121},{"type":39,"tag":73,"props":343,"children":344},{"style":86},[345],{"type":45,"value":126},{"type":39,"tag":73,"props":347,"children":349},{"class":75,"line":348},9,[350],{"type":39,"tag":73,"props":351,"children":353},{"emptyLinePlaceholder":352},true,[354],{"type":45,"value":355},"\n",{"type":39,"tag":73,"props":357,"children":359},{"class":75,"line":358},10,[360],{"type":39,"tag":73,"props":361,"children":363},{"style":362},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[364],{"type":45,"value":365},"\u002F\u002F Create catalog with standard + custom components\n",{"type":39,"tag":73,"props":367,"children":369},{"class":75,"line":368},11,[370,376,381,386,391,396,400],{"type":39,"tag":73,"props":371,"children":373},{"style":372},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[374],{"type":45,"value":375},"const",{"type":39,"tag":73,"props":377,"children":378},{"style":92},[379],{"type":45,"value":380}," catalog ",{"type":39,"tag":73,"props":382,"children":383},{"style":86},[384],{"type":45,"value":385},"=",{"type":39,"tag":73,"props":387,"children":389},{"style":388},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[390],{"type":45,"value":95},{"type":39,"tag":73,"props":392,"children":393},{"style":92},[394],{"type":45,"value":395},"(schema",{"type":39,"tag":73,"props":397,"children":398},{"style":86},[399],{"type":45,"value":260},{"type":39,"tag":73,"props":401,"children":402},{"style":86},[403],{"type":45,"value":181},{"type":39,"tag":73,"props":405,"children":407},{"class":75,"line":406},12,[408,414,419],{"type":39,"tag":73,"props":409,"children":411},{"style":410},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[412],{"type":45,"value":413},"  components",{"type":39,"tag":73,"props":415,"children":416},{"style":86},[417],{"type":45,"value":418},":",{"type":39,"tag":73,"props":420,"children":421},{"style":86},[422],{"type":45,"value":181},{"type":39,"tag":73,"props":424,"children":426},{"class":75,"line":425},13,[427,432,437],{"type":39,"tag":73,"props":428,"children":429},{"style":86},[430],{"type":45,"value":431},"    ...",{"type":39,"tag":73,"props":433,"children":434},{"style":92},[435],{"type":45,"value":436},"standardComponentDefinitions",{"type":39,"tag":73,"props":438,"children":439},{"style":86},[440],{"type":45,"value":195},{"type":39,"tag":73,"props":442,"children":444},{"class":75,"line":443},14,[445,450,454],{"type":39,"tag":73,"props":446,"children":447},{"style":410},[448],{"type":45,"value":449},"    CustomWidget",{"type":39,"tag":73,"props":451,"children":452},{"style":86},[453],{"type":45,"value":418},{"type":39,"tag":73,"props":455,"children":456},{"style":86},[457],{"type":45,"value":181},{"type":39,"tag":73,"props":459,"children":461},{"class":75,"line":460},15,[462,467,471,475,480,485,490,495,500,504,508,512,517,522,526,531],{"type":39,"tag":73,"props":463,"children":464},{"style":410},[465],{"type":45,"value":466},"      props",{"type":39,"tag":73,"props":468,"children":469},{"style":86},[470],{"type":45,"value":418},{"type":39,"tag":73,"props":472,"children":473},{"style":92},[474],{"type":45,"value":320},{"type":39,"tag":73,"props":476,"children":477},{"style":86},[478],{"type":45,"value":479},".",{"type":39,"tag":73,"props":481,"children":482},{"style":388},[483],{"type":45,"value":484},"object",{"type":39,"tag":73,"props":486,"children":487},{"style":92},[488],{"type":45,"value":489},"(",{"type":39,"tag":73,"props":491,"children":492},{"style":86},[493],{"type":45,"value":494},"{",{"type":39,"tag":73,"props":496,"children":497},{"style":410},[498],{"type":45,"value":499}," title",{"type":39,"tag":73,"props":501,"children":502},{"style":86},[503],{"type":45,"value":418},{"type":39,"tag":73,"props":505,"children":506},{"style":92},[507],{"type":45,"value":320},{"type":39,"tag":73,"props":509,"children":510},{"style":86},[511],{"type":45,"value":479},{"type":39,"tag":73,"props":513,"children":514},{"style":388},[515],{"type":45,"value":516},"string",{"type":39,"tag":73,"props":518,"children":519},{"style":92},[520],{"type":45,"value":521},"() ",{"type":39,"tag":73,"props":523,"children":524},{"style":86},[525],{"type":45,"value":217},{"type":39,"tag":73,"props":527,"children":528},{"style":92},[529],{"type":45,"value":530},")",{"type":39,"tag":73,"props":532,"children":533},{"style":86},[534],{"type":45,"value":195},{"type":39,"tag":73,"props":536,"children":538},{"class":75,"line":537},16,[539,544,548,553],{"type":39,"tag":73,"props":540,"children":541},{"style":410},[542],{"type":45,"value":543},"      slots",{"type":39,"tag":73,"props":545,"children":546},{"style":86},[547],{"type":45,"value":418},{"type":39,"tag":73,"props":549,"children":550},{"style":92},[551],{"type":45,"value":552}," []",{"type":39,"tag":73,"props":554,"children":555},{"style":86},[556],{"type":45,"value":195},{"type":39,"tag":73,"props":558,"children":560},{"class":75,"line":559},17,[561,566,570,574,579,583],{"type":39,"tag":73,"props":562,"children":563},{"style":410},[564],{"type":45,"value":565},"      description",{"type":39,"tag":73,"props":567,"children":568},{"style":86},[569],{"type":45,"value":418},{"type":39,"tag":73,"props":571,"children":572},{"style":86},[573],{"type":45,"value":110},{"type":39,"tag":73,"props":575,"children":576},{"style":113},[577],{"type":45,"value":578},"Custom widget",{"type":39,"tag":73,"props":580,"children":581},{"style":86},[582],{"type":45,"value":121},{"type":39,"tag":73,"props":584,"children":585},{"style":86},[586],{"type":45,"value":195},{"type":39,"tag":73,"props":588,"children":590},{"class":75,"line":589},18,[591],{"type":39,"tag":73,"props":592,"children":593},{"style":86},[594],{"type":45,"value":595},"    },\n",{"type":39,"tag":73,"props":597,"children":599},{"class":75,"line":598},19,[600],{"type":39,"tag":73,"props":601,"children":602},{"style":86},[603],{"type":45,"value":604},"  },\n",{"type":39,"tag":73,"props":606,"children":608},{"class":75,"line":607},20,[609,614,618,623],{"type":39,"tag":73,"props":610,"children":611},{"style":410},[612],{"type":45,"value":613},"  actions",{"type":39,"tag":73,"props":615,"children":616},{"style":86},[617],{"type":45,"value":418},{"type":39,"tag":73,"props":619,"children":620},{"style":92},[621],{"type":45,"value":622}," standardActionDefinitions",{"type":39,"tag":73,"props":624,"children":625},{"style":86},[626],{"type":45,"value":195},{"type":39,"tag":73,"props":628,"children":630},{"class":75,"line":629},21,[631,635,639],{"type":39,"tag":73,"props":632,"children":633},{"style":86},[634],{"type":45,"value":217},{"type":39,"tag":73,"props":636,"children":637},{"style":92},[638],{"type":45,"value":530},{"type":39,"tag":73,"props":640,"children":641},{"style":86},[642],{"type":45,"value":126},{"type":39,"tag":73,"props":644,"children":646},{"class":75,"line":645},22,[647],{"type":39,"tag":73,"props":648,"children":649},{"emptyLinePlaceholder":352},[650],{"type":45,"value":355},{"type":39,"tag":73,"props":652,"children":654},{"class":75,"line":653},23,[655],{"type":39,"tag":73,"props":656,"children":657},{"style":362},[658],{"type":45,"value":659},"\u002F\u002F Register only custom components (standard ones are built-in)\n",{"type":39,"tag":73,"props":661,"children":663},{"class":75,"line":662},24,[664,668,672,677,681,686,690,695,699],{"type":39,"tag":73,"props":665,"children":666},{"style":372},[667],{"type":45,"value":375},{"type":39,"tag":73,"props":669,"children":670},{"style":86},[671],{"type":45,"value":89},{"type":39,"tag":73,"props":673,"children":674},{"style":92},[675],{"type":45,"value":676}," registry ",{"type":39,"tag":73,"props":678,"children":679},{"style":86},[680],{"type":45,"value":217},{"type":39,"tag":73,"props":682,"children":683},{"style":86},[684],{"type":45,"value":685}," =",{"type":39,"tag":73,"props":687,"children":688},{"style":388},[689],{"type":45,"value":255},{"type":39,"tag":73,"props":691,"children":692},{"style":92},[693],{"type":45,"value":694},"(catalog",{"type":39,"tag":73,"props":696,"children":697},{"style":86},[698],{"type":45,"value":260},{"type":39,"tag":73,"props":700,"children":701},{"style":86},[702],{"type":45,"value":181},{"type":39,"tag":73,"props":704,"children":706},{"class":75,"line":705},25,[707,711,715],{"type":39,"tag":73,"props":708,"children":709},{"style":410},[710],{"type":45,"value":413},{"type":39,"tag":73,"props":712,"children":713},{"style":86},[714],{"type":45,"value":418},{"type":39,"tag":73,"props":716,"children":717},{"style":86},[718],{"type":45,"value":181},{"type":39,"tag":73,"props":720,"children":722},{"class":75,"line":721},26,[723,727,731,736,742,747,752,757,763,768,772,777,782,786],{"type":39,"tag":73,"props":724,"children":725},{"style":388},[726],{"type":45,"value":449},{"type":39,"tag":73,"props":728,"children":729},{"style":86},[730],{"type":45,"value":418},{"type":39,"tag":73,"props":732,"children":733},{"style":86},[734],{"type":45,"value":735}," ({",{"type":39,"tag":73,"props":737,"children":739},{"style":738},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[740],{"type":45,"value":741}," props",{"type":39,"tag":73,"props":743,"children":744},{"style":86},[745],{"type":45,"value":746}," })",{"type":39,"tag":73,"props":748,"children":749},{"style":372},[750],{"type":45,"value":751}," =>",{"type":39,"tag":73,"props":753,"children":754},{"style":92},[755],{"type":45,"value":756}," \u003C",{"type":39,"tag":73,"props":758,"children":760},{"style":759},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[761],{"type":45,"value":762},"Text",{"type":39,"tag":73,"props":764,"children":765},{"style":92},[766],{"type":45,"value":767},">",{"type":39,"tag":73,"props":769,"children":770},{"style":86},[771],{"type":45,"value":494},{"type":39,"tag":73,"props":773,"children":774},{"style":92},[775],{"type":45,"value":776},"props.title",{"type":39,"tag":73,"props":778,"children":779},{"style":86},[780],{"type":45,"value":781},"}\u003C\u002F",{"type":39,"tag":73,"props":783,"children":784},{"style":92},[785],{"type":45,"value":762},{"type":39,"tag":73,"props":787,"children":788},{"style":86},[789],{"type":45,"value":790},">,\n",{"type":39,"tag":73,"props":792,"children":794},{"class":75,"line":793},27,[795,800,805,809,814,819],{"type":39,"tag":73,"props":796,"children":797},{"style":86},[798],{"type":45,"value":799},"  }",{"type":39,"tag":73,"props":801,"children":802},{"style":80},[803],{"type":45,"value":804}," as",{"type":39,"tag":73,"props":806,"children":807},{"style":759},[808],{"type":45,"value":279},{"type":39,"tag":73,"props":810,"children":811},{"style":86},[812],{"type":45,"value":813},"\u003Ctypeof",{"type":39,"tag":73,"props":815,"children":816},{"style":92},[817],{"type":45,"value":818}," catalog",{"type":39,"tag":73,"props":820,"children":821},{"style":86},[822],{"type":45,"value":790},{"type":39,"tag":73,"props":824,"children":826},{"class":75,"line":825},28,[827,831,835],{"type":39,"tag":73,"props":828,"children":829},{"style":86},[830],{"type":45,"value":217},{"type":39,"tag":73,"props":832,"children":833},{"style":92},[834],{"type":45,"value":530},{"type":39,"tag":73,"props":836,"children":837},{"style":86},[838],{"type":45,"value":126},{"type":39,"tag":73,"props":840,"children":842},{"class":75,"line":841},29,[843],{"type":39,"tag":73,"props":844,"children":845},{"emptyLinePlaceholder":352},[846],{"type":45,"value":355},{"type":39,"tag":73,"props":848,"children":850},{"class":75,"line":849},30,[851],{"type":39,"tag":73,"props":852,"children":853},{"style":362},[854],{"type":45,"value":855},"\u002F\u002F Render\n",{"type":39,"tag":73,"props":857,"children":859},{"class":75,"line":858},31,[860,865,870,875,880,884],{"type":39,"tag":73,"props":861,"children":862},{"style":372},[863],{"type":45,"value":864},"function",{"type":39,"tag":73,"props":866,"children":867},{"style":388},[868],{"type":45,"value":869}," App",{"type":39,"tag":73,"props":871,"children":872},{"style":86},[873],{"type":45,"value":874},"({",{"type":39,"tag":73,"props":876,"children":877},{"style":738},[878],{"type":45,"value":879}," spec",{"type":39,"tag":73,"props":881,"children":882},{"style":86},[883],{"type":45,"value":746},{"type":39,"tag":73,"props":885,"children":886},{"style":86},[887],{"type":45,"value":181},{"type":39,"tag":73,"props":889,"children":891},{"class":75,"line":890},32,[892,897],{"type":39,"tag":73,"props":893,"children":894},{"style":80},[895],{"type":45,"value":896},"  return",{"type":39,"tag":73,"props":898,"children":899},{"style":410},[900],{"type":45,"value":901}," (\n",{"type":39,"tag":73,"props":903,"children":905},{"class":75,"line":904},33,[906,911,916,921],{"type":39,"tag":73,"props":907,"children":908},{"style":86},[909],{"type":45,"value":910},"    \u003C",{"type":39,"tag":73,"props":912,"children":913},{"style":92},[914],{"type":45,"value":915},"JSONUIProvider",{"type":39,"tag":73,"props":917,"children":918},{"style":92},[919],{"type":45,"value":920}," initialState",{"type":39,"tag":73,"props":922,"children":923},{"style":86},[924],{"type":45,"value":925},"={{}}>\n",{"type":39,"tag":73,"props":927,"children":929},{"class":75,"line":928},34,[930,935,940,944,949,954,958,963,967,972,976],{"type":39,"tag":73,"props":931,"children":932},{"style":86},[933],{"type":45,"value":934},"      \u003C",{"type":39,"tag":73,"props":936,"children":937},{"style":92},[938],{"type":45,"value":939},"Renderer",{"type":39,"tag":73,"props":941,"children":942},{"style":92},[943],{"type":45,"value":879},{"type":39,"tag":73,"props":945,"children":946},{"style":86},[947],{"type":45,"value":948},"={",{"type":39,"tag":73,"props":950,"children":951},{"style":92},[952],{"type":45,"value":953},"spec",{"type":39,"tag":73,"props":955,"children":956},{"style":86},[957],{"type":45,"value":217},{"type":39,"tag":73,"props":959,"children":960},{"style":92},[961],{"type":45,"value":962}," registry",{"type":39,"tag":73,"props":964,"children":965},{"style":86},[966],{"type":45,"value":948},{"type":39,"tag":73,"props":968,"children":969},{"style":92},[970],{"type":45,"value":971},"registry",{"type":39,"tag":73,"props":973,"children":974},{"style":86},[975],{"type":45,"value":217},{"type":39,"tag":73,"props":977,"children":978},{"style":86},[979],{"type":45,"value":980}," \u002F>\n",{"type":39,"tag":73,"props":982,"children":984},{"class":75,"line":983},35,[985,990,994],{"type":39,"tag":73,"props":986,"children":987},{"style":86},[988],{"type":45,"value":989},"    \u003C\u002F",{"type":39,"tag":73,"props":991,"children":992},{"style":92},[993],{"type":45,"value":915},{"type":39,"tag":73,"props":995,"children":996},{"style":86},[997],{"type":45,"value":998},">\n",{"type":39,"tag":73,"props":1000,"children":1002},{"class":75,"line":1001},36,[1003,1008],{"type":39,"tag":73,"props":1004,"children":1005},{"style":410},[1006],{"type":45,"value":1007},"  )",{"type":39,"tag":73,"props":1009,"children":1010},{"style":86},[1011],{"type":45,"value":126},{"type":39,"tag":73,"props":1013,"children":1015},{"class":75,"line":1014},37,[1016],{"type":39,"tag":73,"props":1017,"children":1018},{"style":86},[1019],{"type":45,"value":1020},"}\n",{"type":39,"tag":54,"props":1022,"children":1024},{"id":1023},"spec-structure-flat-element-map",[1025],{"type":45,"value":1026},"Spec Structure (Flat Element Map)",{"type":39,"tag":48,"props":1028,"children":1029},{},[1030],{"type":45,"value":1031},"The Ink schema uses a flat element map with a root key:",{"type":39,"tag":61,"props":1033,"children":1036},{"className":1034,"code":1035,"language":14,"meta":66,"style":66},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"root\": \"main\",\n  \"elements\": {\n    \"main\": {\n      \"type\": \"Box\",\n      \"props\": { \"flexDirection\": \"column\", \"padding\": 1 },\n      \"children\": [\"heading\", \"content\"]\n    },\n    \"heading\": {\n      \"type\": \"Heading\",\n      \"props\": { \"text\": \"Dashboard\", \"level\": \"h1\" },\n      \"children\": []\n    },\n    \"content\": {\n      \"type\": \"Text\",\n      \"props\": { \"text\": \"Hello from the terminal!\" },\n      \"children\": []\n    }\n  }\n}\n",[1037],{"type":39,"tag":69,"props":1038,"children":1039},{"__ignoreMap":66},[1040,1048,1085,1109,1133,1172,1257,1317,1324,1347,1383,1472,1496,1503,1526,1561,1617,1640,1648,1656],{"type":39,"tag":73,"props":1041,"children":1042},{"class":75,"line":76},[1043],{"type":39,"tag":73,"props":1044,"children":1045},{"style":86},[1046],{"type":45,"value":1047},"{\n",{"type":39,"tag":73,"props":1049,"children":1050},{"class":75,"line":129},[1051,1056,1060,1064,1068,1072,1077,1081],{"type":39,"tag":73,"props":1052,"children":1053},{"style":86},[1054],{"type":45,"value":1055},"  \"",{"type":39,"tag":73,"props":1057,"children":1058},{"style":372},[1059],{"type":45,"value":36},{"type":39,"tag":73,"props":1061,"children":1062},{"style":86},[1063],{"type":45,"value":121},{"type":39,"tag":73,"props":1065,"children":1066},{"style":86},[1067],{"type":45,"value":418},{"type":39,"tag":73,"props":1069,"children":1070},{"style":86},[1071],{"type":45,"value":110},{"type":39,"tag":73,"props":1073,"children":1074},{"style":113},[1075],{"type":45,"value":1076},"main",{"type":39,"tag":73,"props":1078,"children":1079},{"style":86},[1080],{"type":45,"value":121},{"type":39,"tag":73,"props":1082,"children":1083},{"style":86},[1084],{"type":45,"value":195},{"type":39,"tag":73,"props":1086,"children":1087},{"class":75,"line":171},[1088,1092,1097,1101,1105],{"type":39,"tag":73,"props":1089,"children":1090},{"style":86},[1091],{"type":45,"value":1055},{"type":39,"tag":73,"props":1093,"children":1094},{"style":372},[1095],{"type":45,"value":1096},"elements",{"type":39,"tag":73,"props":1098,"children":1099},{"style":86},[1100],{"type":45,"value":121},{"type":39,"tag":73,"props":1102,"children":1103},{"style":86},[1104],{"type":45,"value":418},{"type":39,"tag":73,"props":1106,"children":1107},{"style":86},[1108],{"type":45,"value":181},{"type":39,"tag":73,"props":1110,"children":1111},{"class":75,"line":184},[1112,1117,1121,1125,1129],{"type":39,"tag":73,"props":1113,"children":1114},{"style":86},[1115],{"type":45,"value":1116},"    \"",{"type":39,"tag":73,"props":1118,"children":1119},{"style":759},[1120],{"type":45,"value":1076},{"type":39,"tag":73,"props":1122,"children":1123},{"style":86},[1124],{"type":45,"value":121},{"type":39,"tag":73,"props":1126,"children":1127},{"style":86},[1128],{"type":45,"value":418},{"type":39,"tag":73,"props":1130,"children":1131},{"style":86},[1132],{"type":45,"value":181},{"type":39,"tag":73,"props":1134,"children":1135},{"class":75,"line":198},[1136,1141,1147,1151,1155,1159,1164,1168],{"type":39,"tag":73,"props":1137,"children":1138},{"style":86},[1139],{"type":45,"value":1140},"      \"",{"type":39,"tag":73,"props":1142,"children":1144},{"style":1143},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1145],{"type":45,"value":1146},"type",{"type":39,"tag":73,"props":1148,"children":1149},{"style":86},[1150],{"type":45,"value":121},{"type":39,"tag":73,"props":1152,"children":1153},{"style":86},[1154],{"type":45,"value":418},{"type":39,"tag":73,"props":1156,"children":1157},{"style":86},[1158],{"type":45,"value":110},{"type":39,"tag":73,"props":1160,"children":1161},{"style":113},[1162],{"type":45,"value":1163},"Box",{"type":39,"tag":73,"props":1165,"children":1166},{"style":86},[1167],{"type":45,"value":121},{"type":39,"tag":73,"props":1169,"children":1170},{"style":86},[1171],{"type":45,"value":195},{"type":39,"tag":73,"props":1173,"children":1174},{"class":75,"line":211},[1175,1179,1184,1188,1192,1196,1200,1205,1209,1213,1217,1222,1226,1230,1234,1239,1243,1247,1252],{"type":39,"tag":73,"props":1176,"children":1177},{"style":86},[1178],{"type":45,"value":1140},{"type":39,"tag":73,"props":1180,"children":1181},{"style":1143},[1182],{"type":45,"value":1183},"props",{"type":39,"tag":73,"props":1185,"children":1186},{"style":86},[1187],{"type":45,"value":121},{"type":39,"tag":73,"props":1189,"children":1190},{"style":86},[1191],{"type":45,"value":418},{"type":39,"tag":73,"props":1193,"children":1194},{"style":86},[1195],{"type":45,"value":89},{"type":39,"tag":73,"props":1197,"children":1198},{"style":86},[1199],{"type":45,"value":110},{"type":39,"tag":73,"props":1201,"children":1202},{"style":410},[1203],{"type":45,"value":1204},"flexDirection",{"type":39,"tag":73,"props":1206,"children":1207},{"style":86},[1208],{"type":45,"value":121},{"type":39,"tag":73,"props":1210,"children":1211},{"style":86},[1212],{"type":45,"value":418},{"type":39,"tag":73,"props":1214,"children":1215},{"style":86},[1216],{"type":45,"value":110},{"type":39,"tag":73,"props":1218,"children":1219},{"style":113},[1220],{"type":45,"value":1221},"column",{"type":39,"tag":73,"props":1223,"children":1224},{"style":86},[1225],{"type":45,"value":121},{"type":39,"tag":73,"props":1227,"children":1228},{"style":86},[1229],{"type":45,"value":260},{"type":39,"tag":73,"props":1231,"children":1232},{"style":86},[1233],{"type":45,"value":110},{"type":39,"tag":73,"props":1235,"children":1236},{"style":410},[1237],{"type":45,"value":1238},"padding",{"type":39,"tag":73,"props":1240,"children":1241},{"style":86},[1242],{"type":45,"value":121},{"type":39,"tag":73,"props":1244,"children":1245},{"style":86},[1246],{"type":45,"value":418},{"type":39,"tag":73,"props":1248,"children":1249},{"style":1143},[1250],{"type":45,"value":1251}," 1",{"type":39,"tag":73,"props":1253,"children":1254},{"style":86},[1255],{"type":45,"value":1256}," },\n",{"type":39,"tag":73,"props":1258,"children":1259},{"class":75,"line":241},[1260,1264,1269,1273,1277,1282,1286,1291,1295,1299,1303,1308,1312],{"type":39,"tag":73,"props":1261,"children":1262},{"style":86},[1263],{"type":45,"value":1140},{"type":39,"tag":73,"props":1265,"children":1266},{"style":1143},[1267],{"type":45,"value":1268},"children",{"type":39,"tag":73,"props":1270,"children":1271},{"style":86},[1272],{"type":45,"value":121},{"type":39,"tag":73,"props":1274,"children":1275},{"style":86},[1276],{"type":45,"value":418},{"type":39,"tag":73,"props":1278,"children":1279},{"style":86},[1280],{"type":45,"value":1281}," [",{"type":39,"tag":73,"props":1283,"children":1284},{"style":86},[1285],{"type":45,"value":121},{"type":39,"tag":73,"props":1287,"children":1288},{"style":113},[1289],{"type":45,"value":1290},"heading",{"type":39,"tag":73,"props":1292,"children":1293},{"style":86},[1294],{"type":45,"value":121},{"type":39,"tag":73,"props":1296,"children":1297},{"style":86},[1298],{"type":45,"value":260},{"type":39,"tag":73,"props":1300,"children":1301},{"style":86},[1302],{"type":45,"value":110},{"type":39,"tag":73,"props":1304,"children":1305},{"style":113},[1306],{"type":45,"value":1307},"content",{"type":39,"tag":73,"props":1309,"children":1310},{"style":86},[1311],{"type":45,"value":121},{"type":39,"tag":73,"props":1313,"children":1314},{"style":86},[1315],{"type":45,"value":1316},"]\n",{"type":39,"tag":73,"props":1318,"children":1319},{"class":75,"line":306},[1320],{"type":39,"tag":73,"props":1321,"children":1322},{"style":86},[1323],{"type":45,"value":595},{"type":39,"tag":73,"props":1325,"children":1326},{"class":75,"line":348},[1327,1331,1335,1339,1343],{"type":39,"tag":73,"props":1328,"children":1329},{"style":86},[1330],{"type":45,"value":1116},{"type":39,"tag":73,"props":1332,"children":1333},{"style":759},[1334],{"type":45,"value":1290},{"type":39,"tag":73,"props":1336,"children":1337},{"style":86},[1338],{"type":45,"value":121},{"type":39,"tag":73,"props":1340,"children":1341},{"style":86},[1342],{"type":45,"value":418},{"type":39,"tag":73,"props":1344,"children":1345},{"style":86},[1346],{"type":45,"value":181},{"type":39,"tag":73,"props":1348,"children":1349},{"class":75,"line":358},[1350,1354,1358,1362,1366,1370,1375,1379],{"type":39,"tag":73,"props":1351,"children":1352},{"style":86},[1353],{"type":45,"value":1140},{"type":39,"tag":73,"props":1355,"children":1356},{"style":1143},[1357],{"type":45,"value":1146},{"type":39,"tag":73,"props":1359,"children":1360},{"style":86},[1361],{"type":45,"value":121},{"type":39,"tag":73,"props":1363,"children":1364},{"style":86},[1365],{"type":45,"value":418},{"type":39,"tag":73,"props":1367,"children":1368},{"style":86},[1369],{"type":45,"value":110},{"type":39,"tag":73,"props":1371,"children":1372},{"style":113},[1373],{"type":45,"value":1374},"Heading",{"type":39,"tag":73,"props":1376,"children":1377},{"style":86},[1378],{"type":45,"value":121},{"type":39,"tag":73,"props":1380,"children":1381},{"style":86},[1382],{"type":45,"value":195},{"type":39,"tag":73,"props":1384,"children":1385},{"class":75,"line":368},[1386,1390,1394,1398,1402,1406,1410,1414,1418,1422,1426,1431,1435,1439,1443,1448,1452,1456,1460,1464,1468],{"type":39,"tag":73,"props":1387,"children":1388},{"style":86},[1389],{"type":45,"value":1140},{"type":39,"tag":73,"props":1391,"children":1392},{"style":1143},[1393],{"type":45,"value":1183},{"type":39,"tag":73,"props":1395,"children":1396},{"style":86},[1397],{"type":45,"value":121},{"type":39,"tag":73,"props":1399,"children":1400},{"style":86},[1401],{"type":45,"value":418},{"type":39,"tag":73,"props":1403,"children":1404},{"style":86},[1405],{"type":45,"value":89},{"type":39,"tag":73,"props":1407,"children":1408},{"style":86},[1409],{"type":45,"value":110},{"type":39,"tag":73,"props":1411,"children":1412},{"style":410},[1413],{"type":45,"value":45},{"type":39,"tag":73,"props":1415,"children":1416},{"style":86},[1417],{"type":45,"value":121},{"type":39,"tag":73,"props":1419,"children":1420},{"style":86},[1421],{"type":45,"value":418},{"type":39,"tag":73,"props":1423,"children":1424},{"style":86},[1425],{"type":45,"value":110},{"type":39,"tag":73,"props":1427,"children":1428},{"style":113},[1429],{"type":45,"value":1430},"Dashboard",{"type":39,"tag":73,"props":1432,"children":1433},{"style":86},[1434],{"type":45,"value":121},{"type":39,"tag":73,"props":1436,"children":1437},{"style":86},[1438],{"type":45,"value":260},{"type":39,"tag":73,"props":1440,"children":1441},{"style":86},[1442],{"type":45,"value":110},{"type":39,"tag":73,"props":1444,"children":1445},{"style":410},[1446],{"type":45,"value":1447},"level",{"type":39,"tag":73,"props":1449,"children":1450},{"style":86},[1451],{"type":45,"value":121},{"type":39,"tag":73,"props":1453,"children":1454},{"style":86},[1455],{"type":45,"value":418},{"type":39,"tag":73,"props":1457,"children":1458},{"style":86},[1459],{"type":45,"value":110},{"type":39,"tag":73,"props":1461,"children":1462},{"style":113},[1463],{"type":45,"value":40},{"type":39,"tag":73,"props":1465,"children":1466},{"style":86},[1467],{"type":45,"value":121},{"type":39,"tag":73,"props":1469,"children":1470},{"style":86},[1471],{"type":45,"value":1256},{"type":39,"tag":73,"props":1473,"children":1474},{"class":75,"line":406},[1475,1479,1483,1487,1491],{"type":39,"tag":73,"props":1476,"children":1477},{"style":86},[1478],{"type":45,"value":1140},{"type":39,"tag":73,"props":1480,"children":1481},{"style":1143},[1482],{"type":45,"value":1268},{"type":39,"tag":73,"props":1484,"children":1485},{"style":86},[1486],{"type":45,"value":121},{"type":39,"tag":73,"props":1488,"children":1489},{"style":86},[1490],{"type":45,"value":418},{"type":39,"tag":73,"props":1492,"children":1493},{"style":86},[1494],{"type":45,"value":1495}," []\n",{"type":39,"tag":73,"props":1497,"children":1498},{"class":75,"line":425},[1499],{"type":39,"tag":73,"props":1500,"children":1501},{"style":86},[1502],{"type":45,"value":595},{"type":39,"tag":73,"props":1504,"children":1505},{"class":75,"line":443},[1506,1510,1514,1518,1522],{"type":39,"tag":73,"props":1507,"children":1508},{"style":86},[1509],{"type":45,"value":1116},{"type":39,"tag":73,"props":1511,"children":1512},{"style":759},[1513],{"type":45,"value":1307},{"type":39,"tag":73,"props":1515,"children":1516},{"style":86},[1517],{"type":45,"value":121},{"type":39,"tag":73,"props":1519,"children":1520},{"style":86},[1521],{"type":45,"value":418},{"type":39,"tag":73,"props":1523,"children":1524},{"style":86},[1525],{"type":45,"value":181},{"type":39,"tag":73,"props":1527,"children":1528},{"class":75,"line":460},[1529,1533,1537,1541,1545,1549,1553,1557],{"type":39,"tag":73,"props":1530,"children":1531},{"style":86},[1532],{"type":45,"value":1140},{"type":39,"tag":73,"props":1534,"children":1535},{"style":1143},[1536],{"type":45,"value":1146},{"type":39,"tag":73,"props":1538,"children":1539},{"style":86},[1540],{"type":45,"value":121},{"type":39,"tag":73,"props":1542,"children":1543},{"style":86},[1544],{"type":45,"value":418},{"type":39,"tag":73,"props":1546,"children":1547},{"style":86},[1548],{"type":45,"value":110},{"type":39,"tag":73,"props":1550,"children":1551},{"style":113},[1552],{"type":45,"value":762},{"type":39,"tag":73,"props":1554,"children":1555},{"style":86},[1556],{"type":45,"value":121},{"type":39,"tag":73,"props":1558,"children":1559},{"style":86},[1560],{"type":45,"value":195},{"type":39,"tag":73,"props":1562,"children":1563},{"class":75,"line":537},[1564,1568,1572,1576,1580,1584,1588,1592,1596,1600,1604,1609,1613],{"type":39,"tag":73,"props":1565,"children":1566},{"style":86},[1567],{"type":45,"value":1140},{"type":39,"tag":73,"props":1569,"children":1570},{"style":1143},[1571],{"type":45,"value":1183},{"type":39,"tag":73,"props":1573,"children":1574},{"style":86},[1575],{"type":45,"value":121},{"type":39,"tag":73,"props":1577,"children":1578},{"style":86},[1579],{"type":45,"value":418},{"type":39,"tag":73,"props":1581,"children":1582},{"style":86},[1583],{"type":45,"value":89},{"type":39,"tag":73,"props":1585,"children":1586},{"style":86},[1587],{"type":45,"value":110},{"type":39,"tag":73,"props":1589,"children":1590},{"style":410},[1591],{"type":45,"value":45},{"type":39,"tag":73,"props":1593,"children":1594},{"style":86},[1595],{"type":45,"value":121},{"type":39,"tag":73,"props":1597,"children":1598},{"style":86},[1599],{"type":45,"value":418},{"type":39,"tag":73,"props":1601,"children":1602},{"style":86},[1603],{"type":45,"value":110},{"type":39,"tag":73,"props":1605,"children":1606},{"style":113},[1607],{"type":45,"value":1608},"Hello from the terminal!",{"type":39,"tag":73,"props":1610,"children":1611},{"style":86},[1612],{"type":45,"value":121},{"type":39,"tag":73,"props":1614,"children":1615},{"style":86},[1616],{"type":45,"value":1256},{"type":39,"tag":73,"props":1618,"children":1619},{"class":75,"line":559},[1620,1624,1628,1632,1636],{"type":39,"tag":73,"props":1621,"children":1622},{"style":86},[1623],{"type":45,"value":1140},{"type":39,"tag":73,"props":1625,"children":1626},{"style":1143},[1627],{"type":45,"value":1268},{"type":39,"tag":73,"props":1629,"children":1630},{"style":86},[1631],{"type":45,"value":121},{"type":39,"tag":73,"props":1633,"children":1634},{"style":86},[1635],{"type":45,"value":418},{"type":39,"tag":73,"props":1637,"children":1638},{"style":86},[1639],{"type":45,"value":1495},{"type":39,"tag":73,"props":1641,"children":1642},{"class":75,"line":589},[1643],{"type":39,"tag":73,"props":1644,"children":1645},{"style":86},[1646],{"type":45,"value":1647},"    }\n",{"type":39,"tag":73,"props":1649,"children":1650},{"class":75,"line":598},[1651],{"type":39,"tag":73,"props":1652,"children":1653},{"style":86},[1654],{"type":45,"value":1655},"  }\n",{"type":39,"tag":73,"props":1657,"children":1658},{"class":75,"line":607},[1659],{"type":39,"tag":73,"props":1660,"children":1661},{"style":86},[1662],{"type":45,"value":1020},{"type":39,"tag":54,"props":1664,"children":1666},{"id":1665},"standard-components",[1667],{"type":45,"value":1668},"Standard Components",{"type":39,"tag":1670,"props":1671,"children":1673},"h3",{"id":1672},"layout",[1674],{"type":45,"value":1675},"Layout",{"type":39,"tag":1677,"props":1678,"children":1679},"ul",{},[1680,1699,1709,1720],{"type":39,"tag":1681,"props":1682,"children":1683},"li",{},[1684,1689,1691,1697],{"type":39,"tag":69,"props":1685,"children":1687},{"className":1686},[],[1688],{"type":45,"value":1163},{"type":45,"value":1690}," - Flexbox layout container (like a terminal ",{"type":39,"tag":69,"props":1692,"children":1694},{"className":1693},[],[1695],{"type":45,"value":1696},"\u003Cdiv>",{"type":45,"value":1698},"). Use for grouping, spacing, borders, alignment. Default flexDirection is row.",{"type":39,"tag":1681,"props":1700,"children":1701},{},[1702,1707],{"type":39,"tag":69,"props":1703,"children":1705},{"className":1704},[],[1706],{"type":45,"value":762},{"type":45,"value":1708}," - Text output with optional styling (color, bold, italic, etc.)",{"type":39,"tag":1681,"props":1710,"children":1711},{},[1712,1718],{"type":39,"tag":69,"props":1713,"children":1715},{"className":1714},[],[1716],{"type":45,"value":1717},"Newline",{"type":45,"value":1719}," - Inserts blank lines. Must be inside a Box with flexDirection column.",{"type":39,"tag":1681,"props":1721,"children":1722},{},[1723,1729],{"type":39,"tag":69,"props":1724,"children":1726},{"className":1725},[],[1727],{"type":45,"value":1728},"Spacer",{"type":45,"value":1730}," - Flexible empty space that expands along the main axis.",{"type":39,"tag":1670,"props":1732,"children":1733},{"id":1307},[1734],{"type":45,"value":1735},"Content",{"type":39,"tag":1677,"props":1737,"children":1738},{},[1739,1749,1760,1771,1782,1793,1804,1815,1826,1837,1848,1859,1870,1881,1892],{"type":39,"tag":1681,"props":1740,"children":1741},{},[1742,1747],{"type":39,"tag":69,"props":1743,"children":1745},{"className":1744},[],[1746],{"type":45,"value":1374},{"type":45,"value":1748}," - Section heading (h1: bold+underlined, h2: bold, h3: bold+dimmed, h4: dimmed)",{"type":39,"tag":1681,"props":1750,"children":1751},{},[1752,1758],{"type":39,"tag":69,"props":1753,"children":1755},{"className":1754},[],[1756],{"type":45,"value":1757},"Divider",{"type":45,"value":1759}," - Horizontal separator with optional centered title",{"type":39,"tag":1681,"props":1761,"children":1762},{},[1763,1769],{"type":39,"tag":69,"props":1764,"children":1766},{"className":1765},[],[1767],{"type":45,"value":1768},"Badge",{"type":45,"value":1770}," - Colored inline label (variants: default, info, success, warning, error)",{"type":39,"tag":1681,"props":1772,"children":1773},{},[1774,1780],{"type":39,"tag":69,"props":1775,"children":1777},{"className":1776},[],[1778],{"type":45,"value":1779},"Spinner",{"type":45,"value":1781}," - Animated loading spinner with optional label",{"type":39,"tag":1681,"props":1783,"children":1784},{},[1785,1791],{"type":39,"tag":69,"props":1786,"children":1788},{"className":1787},[],[1789],{"type":45,"value":1790},"ProgressBar",{"type":45,"value":1792}," - Horizontal progress bar (0-1)",{"type":39,"tag":1681,"props":1794,"children":1795},{},[1796,1802],{"type":39,"tag":69,"props":1797,"children":1799},{"className":1798},[],[1800],{"type":45,"value":1801},"Sparkline",{"type":45,"value":1803}," - Inline chart using Unicode block characters",{"type":39,"tag":1681,"props":1805,"children":1806},{},[1807,1813],{"type":39,"tag":69,"props":1808,"children":1810},{"className":1809},[],[1811],{"type":45,"value":1812},"BarChart",{"type":45,"value":1814}," - Horizontal bar chart with labels and values",{"type":39,"tag":1681,"props":1816,"children":1817},{},[1818,1824],{"type":39,"tag":69,"props":1819,"children":1821},{"className":1820},[],[1822],{"type":45,"value":1823},"Table",{"type":45,"value":1825}," - Tabular data with headers and rows",{"type":39,"tag":1681,"props":1827,"children":1828},{},[1829,1835],{"type":39,"tag":69,"props":1830,"children":1832},{"className":1831},[],[1833],{"type":45,"value":1834},"List",{"type":45,"value":1836}," - Bulleted or numbered list",{"type":39,"tag":1681,"props":1838,"children":1839},{},[1840,1846],{"type":39,"tag":69,"props":1841,"children":1843},{"className":1842},[],[1844],{"type":45,"value":1845},"ListItem",{"type":45,"value":1847}," - Structured list row with title, subtitle, leading\u002Ftrailing text",{"type":39,"tag":1681,"props":1849,"children":1850},{},[1851,1857],{"type":39,"tag":69,"props":1852,"children":1854},{"className":1853},[],[1855],{"type":45,"value":1856},"Card",{"type":45,"value":1858}," - Bordered container with optional title",{"type":39,"tag":1681,"props":1860,"children":1861},{},[1862,1868],{"type":39,"tag":69,"props":1863,"children":1865},{"className":1864},[],[1866],{"type":45,"value":1867},"KeyValue",{"type":45,"value":1869}," - Key-value pair display",{"type":39,"tag":1681,"props":1871,"children":1872},{},[1873,1879],{"type":39,"tag":69,"props":1874,"children":1876},{"className":1875},[],[1877],{"type":45,"value":1878},"Link",{"type":45,"value":1880}," - Clickable URL with optional label",{"type":39,"tag":1681,"props":1882,"children":1883},{},[1884,1890],{"type":39,"tag":69,"props":1885,"children":1887},{"className":1886},[],[1888],{"type":45,"value":1889},"StatusLine",{"type":45,"value":1891}," - Status message with colored icon (info, success, warning, error)",{"type":39,"tag":1681,"props":1893,"children":1894},{},[1895,1901],{"type":39,"tag":69,"props":1896,"children":1898},{"className":1897},[],[1899],{"type":45,"value":1900},"Markdown",{"type":45,"value":1902}," - Renders markdown text with terminal styling",{"type":39,"tag":1670,"props":1904,"children":1906},{"id":1905},"interactive",[1907],{"type":45,"value":1908},"Interactive",{"type":39,"tag":1677,"props":1910,"children":1911},{},[1912,1923,1934,1945,1956],{"type":39,"tag":1681,"props":1913,"children":1914},{},[1915,1921],{"type":39,"tag":69,"props":1916,"children":1918},{"className":1917},[],[1919],{"type":45,"value":1920},"TextInput",{"type":45,"value":1922}," - Text input field (events: submit, change)",{"type":39,"tag":1681,"props":1924,"children":1925},{},[1926,1932],{"type":39,"tag":69,"props":1927,"children":1929},{"className":1928},[],[1930],{"type":45,"value":1931},"Select",{"type":45,"value":1933}," - Selection menu with arrow key navigation (events: change)",{"type":39,"tag":1681,"props":1935,"children":1936},{},[1937,1943],{"type":39,"tag":69,"props":1938,"children":1940},{"className":1939},[],[1941],{"type":45,"value":1942},"MultiSelect",{"type":45,"value":1944}," - Multi-selection with space to toggle (events: change, submit)",{"type":39,"tag":1681,"props":1946,"children":1947},{},[1948,1954],{"type":39,"tag":69,"props":1949,"children":1951},{"className":1950},[],[1952],{"type":45,"value":1953},"ConfirmInput",{"type":45,"value":1955}," - Yes\u002FNo confirmation prompt (events: confirm, deny)",{"type":39,"tag":1681,"props":1957,"children":1958},{},[1959,1965],{"type":39,"tag":69,"props":1960,"children":1962},{"className":1961},[],[1963],{"type":45,"value":1964},"Tabs",{"type":45,"value":1966}," - Tab bar navigation with left\u002Fright arrow keys (events: change)",{"type":39,"tag":54,"props":1968,"children":1970},{"id":1969},"visibility-conditions",[1971],{"type":45,"value":1972},"Visibility Conditions",{"type":39,"tag":48,"props":1974,"children":1975},{},[1976,1978,1984,1986,1992,1994,2000,2001,2007,2008,2014,2016,2022],{"type":45,"value":1977},"Use ",{"type":39,"tag":69,"props":1979,"children":1981},{"className":1980},[],[1982],{"type":45,"value":1983},"visible",{"type":45,"value":1985}," on elements to show\u002Fhide based on state. Syntax: ",{"type":39,"tag":69,"props":1987,"children":1989},{"className":1988},[],[1990],{"type":45,"value":1991},"{ \"$state\": \"\u002Fpath\" }",{"type":45,"value":1993},", ",{"type":39,"tag":69,"props":1995,"children":1997},{"className":1996},[],[1998],{"type":45,"value":1999},"{ \"$state\": \"\u002Fpath\", \"eq\": value }",{"type":45,"value":1993},{"type":39,"tag":69,"props":2002,"children":2004},{"className":2003},[],[2005],{"type":45,"value":2006},"{ \"$state\": \"\u002Fpath\", \"not\": true }",{"type":45,"value":1993},{"type":39,"tag":69,"props":2009,"children":2011},{"className":2010},[],[2012],{"type":45,"value":2013},"{ \"$and\": [cond1, cond2] }",{"type":45,"value":2015}," for AND, ",{"type":39,"tag":69,"props":2017,"children":2019},{"className":2018},[],[2020],{"type":45,"value":2021},"{ \"$or\": [cond1, cond2] }",{"type":45,"value":2023}," for OR.",{"type":39,"tag":54,"props":2025,"children":2027},{"id":2026},"dynamic-prop-expressions",[2028],{"type":45,"value":2029},"Dynamic Prop Expressions",{"type":39,"tag":48,"props":2031,"children":2032},{},[2033],{"type":45,"value":2034},"Any prop value can be a data-driven expression resolved at render time:",{"type":39,"tag":1677,"props":2036,"children":2037},{},[2038,2053,2067,2081,2095],{"type":39,"tag":1681,"props":2039,"children":2040},{},[2041,2051],{"type":39,"tag":2042,"props":2043,"children":2044},"strong",{},[2045],{"type":39,"tag":69,"props":2046,"children":2048},{"className":2047},[],[2049],{"type":45,"value":2050},"{ \"$state\": \"\u002Fstate\u002Fkey\" }",{"type":45,"value":2052}," - reads from state model (one-way read)",{"type":39,"tag":1681,"props":2054,"children":2055},{},[2056,2065],{"type":39,"tag":2042,"props":2057,"children":2058},{},[2059],{"type":39,"tag":69,"props":2060,"children":2062},{"className":2061},[],[2063],{"type":45,"value":2064},"{ \"$bindState\": \"\u002Fpath\" }",{"type":45,"value":2066}," - two-way binding: use on the natural value prop of form components",{"type":39,"tag":1681,"props":2068,"children":2069},{},[2070,2079],{"type":39,"tag":2042,"props":2071,"children":2072},{},[2073],{"type":39,"tag":69,"props":2074,"children":2076},{"className":2075},[],[2077],{"type":45,"value":2078},"{ \"$bindItem\": \"field\" }",{"type":45,"value":2080}," - two-way binding to a repeat item field",{"type":39,"tag":1681,"props":2082,"children":2083},{},[2084,2093],{"type":39,"tag":2042,"props":2085,"children":2086},{},[2087],{"type":39,"tag":69,"props":2088,"children":2090},{"className":2089},[],[2091],{"type":45,"value":2092},"{ \"$cond\": \u003Ccondition>, \"$then\": \u003Cvalue>, \"$else\": \u003Cvalue> }",{"type":45,"value":2094}," - conditional value",{"type":39,"tag":1681,"props":2096,"children":2097},{},[2098,2107],{"type":39,"tag":2042,"props":2099,"children":2100},{},[2101],{"type":39,"tag":69,"props":2102,"children":2104},{"className":2103},[],[2105],{"type":45,"value":2106},"{ \"$template\": \"Hello, ${\u002Fname}!\" }",{"type":45,"value":2108}," - interpolates state values into strings",{"type":39,"tag":48,"props":2110,"children":2111},{},[2112,2114,2120,2122,2127],{"type":45,"value":2113},"Components do not use a ",{"type":39,"tag":69,"props":2115,"children":2117},{"className":2116},[],[2118],{"type":45,"value":2119},"statePath",{"type":45,"value":2121}," prop for two-way binding. Use ",{"type":39,"tag":69,"props":2123,"children":2125},{"className":2124},[],[2126],{"type":45,"value":2064},{"type":45,"value":2128}," on the natural value prop instead.",{"type":39,"tag":54,"props":2130,"children":2132},{"id":2131},"event-system",[2133],{"type":45,"value":2134},"Event System",{"type":39,"tag":48,"props":2136,"children":2137},{},[2138,2140,2146,2148,2154],{"type":45,"value":2139},"Components use ",{"type":39,"tag":69,"props":2141,"children":2143},{"className":2142},[],[2144],{"type":45,"value":2145},"emit",{"type":45,"value":2147}," to fire named events. The element's ",{"type":39,"tag":69,"props":2149,"children":2151},{"className":2150},[],[2152],{"type":45,"value":2153},"on",{"type":45,"value":2155}," field maps events to action bindings:",{"type":39,"tag":61,"props":2157,"children":2161},{"className":2158,"code":2159,"language":2160,"meta":66,"style":66},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","CustomButton: ({ props, emit }) => (\n  \u003CBox>\n    \u003CText>{props.label}\u003C\u002FText>\n    {\u002F* emit(\"press\") triggers the action bound in the spec's on.press *\u002F}\n  \u003C\u002FBox>\n),\n","tsx",[2162],{"type":39,"tag":69,"props":2163,"children":2164},{"__ignoreMap":66},[2165,2206,2222,2263,2280,2296],{"type":39,"tag":73,"props":2166,"children":2167},{"class":75,"line":76},[2168,2173,2177,2181,2185,2189,2194,2198,2202],{"type":39,"tag":73,"props":2169,"children":2170},{"style":759},[2171],{"type":45,"value":2172},"CustomButton",{"type":39,"tag":73,"props":2174,"children":2175},{"style":86},[2176],{"type":45,"value":418},{"type":39,"tag":73,"props":2178,"children":2179},{"style":86},[2180],{"type":45,"value":735},{"type":39,"tag":73,"props":2182,"children":2183},{"style":738},[2184],{"type":45,"value":741},{"type":39,"tag":73,"props":2186,"children":2187},{"style":86},[2188],{"type":45,"value":260},{"type":39,"tag":73,"props":2190,"children":2191},{"style":738},[2192],{"type":45,"value":2193}," emit",{"type":39,"tag":73,"props":2195,"children":2196},{"style":86},[2197],{"type":45,"value":746},{"type":39,"tag":73,"props":2199,"children":2200},{"style":372},[2201],{"type":45,"value":751},{"type":39,"tag":73,"props":2203,"children":2204},{"style":92},[2205],{"type":45,"value":901},{"type":39,"tag":73,"props":2207,"children":2208},{"class":75,"line":129},[2209,2214,2218],{"type":39,"tag":73,"props":2210,"children":2211},{"style":86},[2212],{"type":45,"value":2213},"  \u003C",{"type":39,"tag":73,"props":2215,"children":2216},{"style":759},[2217],{"type":45,"value":1163},{"type":39,"tag":73,"props":2219,"children":2220},{"style":86},[2221],{"type":45,"value":998},{"type":39,"tag":73,"props":2223,"children":2224},{"class":75,"line":171},[2225,2229,2233,2238,2242,2246,2251,2255,2259],{"type":39,"tag":73,"props":2226,"children":2227},{"style":86},[2228],{"type":45,"value":910},{"type":39,"tag":73,"props":2230,"children":2231},{"style":759},[2232],{"type":45,"value":762},{"type":39,"tag":73,"props":2234,"children":2235},{"style":86},[2236],{"type":45,"value":2237},">{",{"type":39,"tag":73,"props":2239,"children":2240},{"style":92},[2241],{"type":45,"value":1183},{"type":39,"tag":73,"props":2243,"children":2244},{"style":86},[2245],{"type":45,"value":479},{"type":39,"tag":73,"props":2247,"children":2248},{"style":92},[2249],{"type":45,"value":2250},"label",{"type":39,"tag":73,"props":2252,"children":2253},{"style":86},[2254],{"type":45,"value":781},{"type":39,"tag":73,"props":2256,"children":2257},{"style":759},[2258],{"type":45,"value":762},{"type":39,"tag":73,"props":2260,"children":2261},{"style":86},[2262],{"type":45,"value":998},{"type":39,"tag":73,"props":2264,"children":2265},{"class":75,"line":184},[2266,2271,2276],{"type":39,"tag":73,"props":2267,"children":2268},{"style":86},[2269],{"type":45,"value":2270},"    {",{"type":39,"tag":73,"props":2272,"children":2273},{"style":362},[2274],{"type":45,"value":2275},"\u002F* emit(\"press\") triggers the action bound in the spec's on.press *\u002F",{"type":39,"tag":73,"props":2277,"children":2278},{"style":86},[2279],{"type":45,"value":1020},{"type":39,"tag":73,"props":2281,"children":2282},{"class":75,"line":198},[2283,2288,2292],{"type":39,"tag":73,"props":2284,"children":2285},{"style":86},[2286],{"type":45,"value":2287},"  \u003C\u002F",{"type":39,"tag":73,"props":2289,"children":2290},{"style":759},[2291],{"type":45,"value":1163},{"type":39,"tag":73,"props":2293,"children":2294},{"style":86},[2295],{"type":45,"value":998},{"type":39,"tag":73,"props":2297,"children":2298},{"class":75,"line":211},[2299,2303],{"type":39,"tag":73,"props":2300,"children":2301},{"style":92},[2302],{"type":45,"value":530},{"type":39,"tag":73,"props":2304,"children":2305},{"style":86},[2306],{"type":45,"value":195},{"type":39,"tag":61,"props":2308,"children":2310},{"className":1034,"code":2309,"language":14,"meta":66,"style":66},"{\n  \"type\": \"CustomButton\",\n  \"props\": { \"label\": \"Submit\" },\n  \"on\": { \"press\": { \"action\": \"submit\" } },\n  \"children\": []\n}\n",[2311],{"type":39,"tag":69,"props":2312,"children":2313},{"__ignoreMap":66},[2314,2321,2356,2412,2494,2517],{"type":39,"tag":73,"props":2315,"children":2316},{"class":75,"line":76},[2317],{"type":39,"tag":73,"props":2318,"children":2319},{"style":86},[2320],{"type":45,"value":1047},{"type":39,"tag":73,"props":2322,"children":2323},{"class":75,"line":129},[2324,2328,2332,2336,2340,2344,2348,2352],{"type":39,"tag":73,"props":2325,"children":2326},{"style":86},[2327],{"type":45,"value":1055},{"type":39,"tag":73,"props":2329,"children":2330},{"style":372},[2331],{"type":45,"value":1146},{"type":39,"tag":73,"props":2333,"children":2334},{"style":86},[2335],{"type":45,"value":121},{"type":39,"tag":73,"props":2337,"children":2338},{"style":86},[2339],{"type":45,"value":418},{"type":39,"tag":73,"props":2341,"children":2342},{"style":86},[2343],{"type":45,"value":110},{"type":39,"tag":73,"props":2345,"children":2346},{"style":113},[2347],{"type":45,"value":2172},{"type":39,"tag":73,"props":2349,"children":2350},{"style":86},[2351],{"type":45,"value":121},{"type":39,"tag":73,"props":2353,"children":2354},{"style":86},[2355],{"type":45,"value":195},{"type":39,"tag":73,"props":2357,"children":2358},{"class":75,"line":171},[2359,2363,2367,2371,2375,2379,2383,2387,2391,2395,2399,2404,2408],{"type":39,"tag":73,"props":2360,"children":2361},{"style":86},[2362],{"type":45,"value":1055},{"type":39,"tag":73,"props":2364,"children":2365},{"style":372},[2366],{"type":45,"value":1183},{"type":39,"tag":73,"props":2368,"children":2369},{"style":86},[2370],{"type":45,"value":121},{"type":39,"tag":73,"props":2372,"children":2373},{"style":86},[2374],{"type":45,"value":418},{"type":39,"tag":73,"props":2376,"children":2377},{"style":86},[2378],{"type":45,"value":89},{"type":39,"tag":73,"props":2380,"children":2381},{"style":86},[2382],{"type":45,"value":110},{"type":39,"tag":73,"props":2384,"children":2385},{"style":759},[2386],{"type":45,"value":2250},{"type":39,"tag":73,"props":2388,"children":2389},{"style":86},[2390],{"type":45,"value":121},{"type":39,"tag":73,"props":2392,"children":2393},{"style":86},[2394],{"type":45,"value":418},{"type":39,"tag":73,"props":2396,"children":2397},{"style":86},[2398],{"type":45,"value":110},{"type":39,"tag":73,"props":2400,"children":2401},{"style":113},[2402],{"type":45,"value":2403},"Submit",{"type":39,"tag":73,"props":2405,"children":2406},{"style":86},[2407],{"type":45,"value":121},{"type":39,"tag":73,"props":2409,"children":2410},{"style":86},[2411],{"type":45,"value":1256},{"type":39,"tag":73,"props":2413,"children":2414},{"class":75,"line":184},[2415,2419,2423,2427,2431,2435,2439,2444,2448,2452,2456,2460,2465,2469,2473,2477,2482,2486,2490],{"type":39,"tag":73,"props":2416,"children":2417},{"style":86},[2418],{"type":45,"value":1055},{"type":39,"tag":73,"props":2420,"children":2421},{"style":372},[2422],{"type":45,"value":2153},{"type":39,"tag":73,"props":2424,"children":2425},{"style":86},[2426],{"type":45,"value":121},{"type":39,"tag":73,"props":2428,"children":2429},{"style":86},[2430],{"type":45,"value":418},{"type":39,"tag":73,"props":2432,"children":2433},{"style":86},[2434],{"type":45,"value":89},{"type":39,"tag":73,"props":2436,"children":2437},{"style":86},[2438],{"type":45,"value":110},{"type":39,"tag":73,"props":2440,"children":2441},{"style":759},[2442],{"type":45,"value":2443},"press",{"type":39,"tag":73,"props":2445,"children":2446},{"style":86},[2447],{"type":45,"value":121},{"type":39,"tag":73,"props":2449,"children":2450},{"style":86},[2451],{"type":45,"value":418},{"type":39,"tag":73,"props":2453,"children":2454},{"style":86},[2455],{"type":45,"value":89},{"type":39,"tag":73,"props":2457,"children":2458},{"style":86},[2459],{"type":45,"value":110},{"type":39,"tag":73,"props":2461,"children":2462},{"style":1143},[2463],{"type":45,"value":2464},"action",{"type":39,"tag":73,"props":2466,"children":2467},{"style":86},[2468],{"type":45,"value":121},{"type":39,"tag":73,"props":2470,"children":2471},{"style":86},[2472],{"type":45,"value":418},{"type":39,"tag":73,"props":2474,"children":2475},{"style":86},[2476],{"type":45,"value":110},{"type":39,"tag":73,"props":2478,"children":2479},{"style":113},[2480],{"type":45,"value":2481},"submit",{"type":39,"tag":73,"props":2483,"children":2484},{"style":86},[2485],{"type":45,"value":121},{"type":39,"tag":73,"props":2487,"children":2488},{"style":86},[2489],{"type":45,"value":100},{"type":39,"tag":73,"props":2491,"children":2492},{"style":86},[2493],{"type":45,"value":1256},{"type":39,"tag":73,"props":2495,"children":2496},{"class":75,"line":198},[2497,2501,2505,2509,2513],{"type":39,"tag":73,"props":2498,"children":2499},{"style":86},[2500],{"type":45,"value":1055},{"type":39,"tag":73,"props":2502,"children":2503},{"style":372},[2504],{"type":45,"value":1268},{"type":39,"tag":73,"props":2506,"children":2507},{"style":86},[2508],{"type":45,"value":121},{"type":39,"tag":73,"props":2510,"children":2511},{"style":86},[2512],{"type":45,"value":418},{"type":39,"tag":73,"props":2514,"children":2515},{"style":86},[2516],{"type":45,"value":1495},{"type":39,"tag":73,"props":2518,"children":2519},{"class":75,"line":211},[2520],{"type":39,"tag":73,"props":2521,"children":2522},{"style":86},[2523],{"type":45,"value":1020},{"type":39,"tag":54,"props":2525,"children":2527},{"id":2526},"built-in-actions",[2528],{"type":45,"value":2529},"Built-in Actions",{"type":39,"tag":48,"props":2531,"children":2532},{},[2533,2539,2540,2546,2548,2554],{"type":39,"tag":69,"props":2534,"children":2536},{"className":2535},[],[2537],{"type":45,"value":2538},"setState",{"type":45,"value":1993},{"type":39,"tag":69,"props":2541,"children":2543},{"className":2542},[],[2544],{"type":45,"value":2545},"pushState",{"type":45,"value":2547},", and ",{"type":39,"tag":69,"props":2549,"children":2551},{"className":2550},[],[2552],{"type":45,"value":2553},"removeState",{"type":45,"value":2555}," are built-in and handled automatically:",{"type":39,"tag":61,"props":2557,"children":2559},{"className":1034,"code":2558,"language":14,"meta":66,"style":66},"{ \"action\": \"setState\", \"params\": { \"statePath\": \"\u002FactiveTab\", \"value\": \"home\" } }\n{ \"action\": \"pushState\", \"params\": { \"statePath\": \"\u002Fitems\", \"value\": { \"text\": \"New\" } } }\n{ \"action\": \"removeState\", \"params\": { \"statePath\": \"\u002Fitems\", \"index\": 0 } }\n",[2560],{"type":39,"tag":69,"props":2561,"children":2562},{"__ignoreMap":66},[2563,2695,2848],{"type":39,"tag":73,"props":2564,"children":2565},{"class":75,"line":76},[2566,2570,2574,2578,2582,2586,2590,2594,2598,2602,2606,2611,2615,2619,2623,2627,2631,2635,2639,2643,2648,2652,2656,2660,2665,2669,2673,2677,2682,2686,2690],{"type":39,"tag":73,"props":2567,"children":2568},{"style":86},[2569],{"type":45,"value":494},{"type":39,"tag":73,"props":2571,"children":2572},{"style":86},[2573],{"type":45,"value":110},{"type":39,"tag":73,"props":2575,"children":2576},{"style":372},[2577],{"type":45,"value":2464},{"type":39,"tag":73,"props":2579,"children":2580},{"style":86},[2581],{"type":45,"value":121},{"type":39,"tag":73,"props":2583,"children":2584},{"style":86},[2585],{"type":45,"value":418},{"type":39,"tag":73,"props":2587,"children":2588},{"style":86},[2589],{"type":45,"value":110},{"type":39,"tag":73,"props":2591,"children":2592},{"style":113},[2593],{"type":45,"value":2538},{"type":39,"tag":73,"props":2595,"children":2596},{"style":86},[2597],{"type":45,"value":121},{"type":39,"tag":73,"props":2599,"children":2600},{"style":86},[2601],{"type":45,"value":260},{"type":39,"tag":73,"props":2603,"children":2604},{"style":86},[2605],{"type":45,"value":110},{"type":39,"tag":73,"props":2607,"children":2608},{"style":372},[2609],{"type":45,"value":2610},"params",{"type":39,"tag":73,"props":2612,"children":2613},{"style":86},[2614],{"type":45,"value":121},{"type":39,"tag":73,"props":2616,"children":2617},{"style":86},[2618],{"type":45,"value":418},{"type":39,"tag":73,"props":2620,"children":2621},{"style":86},[2622],{"type":45,"value":89},{"type":39,"tag":73,"props":2624,"children":2625},{"style":86},[2626],{"type":45,"value":110},{"type":39,"tag":73,"props":2628,"children":2629},{"style":759},[2630],{"type":45,"value":2119},{"type":39,"tag":73,"props":2632,"children":2633},{"style":86},[2634],{"type":45,"value":121},{"type":39,"tag":73,"props":2636,"children":2637},{"style":86},[2638],{"type":45,"value":418},{"type":39,"tag":73,"props":2640,"children":2641},{"style":86},[2642],{"type":45,"value":110},{"type":39,"tag":73,"props":2644,"children":2645},{"style":113},[2646],{"type":45,"value":2647},"\u002FactiveTab",{"type":39,"tag":73,"props":2649,"children":2650},{"style":86},[2651],{"type":45,"value":121},{"type":39,"tag":73,"props":2653,"children":2654},{"style":86},[2655],{"type":45,"value":260},{"type":39,"tag":73,"props":2657,"children":2658},{"style":86},[2659],{"type":45,"value":110},{"type":39,"tag":73,"props":2661,"children":2662},{"style":759},[2663],{"type":45,"value":2664},"value",{"type":39,"tag":73,"props":2666,"children":2667},{"style":86},[2668],{"type":45,"value":121},{"type":39,"tag":73,"props":2670,"children":2671},{"style":86},[2672],{"type":45,"value":418},{"type":39,"tag":73,"props":2674,"children":2675},{"style":86},[2676],{"type":45,"value":110},{"type":39,"tag":73,"props":2678,"children":2679},{"style":113},[2680],{"type":45,"value":2681},"home",{"type":39,"tag":73,"props":2683,"children":2684},{"style":86},[2685],{"type":45,"value":121},{"type":39,"tag":73,"props":2687,"children":2688},{"style":86},[2689],{"type":45,"value":100},{"type":39,"tag":73,"props":2691,"children":2692},{"style":86},[2693],{"type":45,"value":2694}," }\n",{"type":39,"tag":73,"props":2696,"children":2697},{"class":75,"line":129},[2698,2702,2706,2710,2714,2718,2722,2726,2730,2734,2738,2742,2746,2750,2754,2758,2762,2766,2770,2774,2779,2783,2787,2791,2795,2799,2803,2807,2811,2815,2819,2823,2827,2832,2836,2840,2844],{"type":39,"tag":73,"props":2699,"children":2700},{"style":86},[2701],{"type":45,"value":494},{"type":39,"tag":73,"props":2703,"children":2704},{"style":86},[2705],{"type":45,"value":110},{"type":39,"tag":73,"props":2707,"children":2708},{"style":372},[2709],{"type":45,"value":2464},{"type":39,"tag":73,"props":2711,"children":2712},{"style":86},[2713],{"type":45,"value":121},{"type":39,"tag":73,"props":2715,"children":2716},{"style":86},[2717],{"type":45,"value":418},{"type":39,"tag":73,"props":2719,"children":2720},{"style":86},[2721],{"type":45,"value":110},{"type":39,"tag":73,"props":2723,"children":2724},{"style":113},[2725],{"type":45,"value":2545},{"type":39,"tag":73,"props":2727,"children":2728},{"style":86},[2729],{"type":45,"value":121},{"type":39,"tag":73,"props":2731,"children":2732},{"style":86},[2733],{"type":45,"value":260},{"type":39,"tag":73,"props":2735,"children":2736},{"style":86},[2737],{"type":45,"value":110},{"type":39,"tag":73,"props":2739,"children":2740},{"style":372},[2741],{"type":45,"value":2610},{"type":39,"tag":73,"props":2743,"children":2744},{"style":86},[2745],{"type":45,"value":121},{"type":39,"tag":73,"props":2747,"children":2748},{"style":86},[2749],{"type":45,"value":418},{"type":39,"tag":73,"props":2751,"children":2752},{"style":86},[2753],{"type":45,"value":89},{"type":39,"tag":73,"props":2755,"children":2756},{"style":86},[2757],{"type":45,"value":110},{"type":39,"tag":73,"props":2759,"children":2760},{"style":759},[2761],{"type":45,"value":2119},{"type":39,"tag":73,"props":2763,"children":2764},{"style":86},[2765],{"type":45,"value":121},{"type":39,"tag":73,"props":2767,"children":2768},{"style":86},[2769],{"type":45,"value":418},{"type":39,"tag":73,"props":2771,"children":2772},{"style":86},[2773],{"type":45,"value":110},{"type":39,"tag":73,"props":2775,"children":2776},{"style":113},[2777],{"type":45,"value":2778},"\u002Fitems",{"type":39,"tag":73,"props":2780,"children":2781},{"style":86},[2782],{"type":45,"value":121},{"type":39,"tag":73,"props":2784,"children":2785},{"style":86},[2786],{"type":45,"value":260},{"type":39,"tag":73,"props":2788,"children":2789},{"style":86},[2790],{"type":45,"value":110},{"type":39,"tag":73,"props":2792,"children":2793},{"style":759},[2794],{"type":45,"value":2664},{"type":39,"tag":73,"props":2796,"children":2797},{"style":86},[2798],{"type":45,"value":121},{"type":39,"tag":73,"props":2800,"children":2801},{"style":86},[2802],{"type":45,"value":418},{"type":39,"tag":73,"props":2804,"children":2805},{"style":86},[2806],{"type":45,"value":89},{"type":39,"tag":73,"props":2808,"children":2809},{"style":86},[2810],{"type":45,"value":110},{"type":39,"tag":73,"props":2812,"children":2813},{"style":1143},[2814],{"type":45,"value":45},{"type":39,"tag":73,"props":2816,"children":2817},{"style":86},[2818],{"type":45,"value":121},{"type":39,"tag":73,"props":2820,"children":2821},{"style":86},[2822],{"type":45,"value":418},{"type":39,"tag":73,"props":2824,"children":2825},{"style":86},[2826],{"type":45,"value":110},{"type":39,"tag":73,"props":2828,"children":2829},{"style":113},[2830],{"type":45,"value":2831},"New",{"type":39,"tag":73,"props":2833,"children":2834},{"style":86},[2835],{"type":45,"value":121},{"type":39,"tag":73,"props":2837,"children":2838},{"style":86},[2839],{"type":45,"value":100},{"type":39,"tag":73,"props":2841,"children":2842},{"style":86},[2843],{"type":45,"value":100},{"type":39,"tag":73,"props":2845,"children":2846},{"style":86},[2847],{"type":45,"value":2694},{"type":39,"tag":73,"props":2849,"children":2850},{"class":75,"line":171},[2851,2855,2859,2863,2867,2871,2875,2879,2883,2887,2891,2895,2899,2903,2907,2911,2915,2919,2923,2927,2931,2935,2939,2943,2948,2952,2956,2961,2965],{"type":39,"tag":73,"props":2852,"children":2853},{"style":86},[2854],{"type":45,"value":494},{"type":39,"tag":73,"props":2856,"children":2857},{"style":86},[2858],{"type":45,"value":110},{"type":39,"tag":73,"props":2860,"children":2861},{"style":372},[2862],{"type":45,"value":2464},{"type":39,"tag":73,"props":2864,"children":2865},{"style":86},[2866],{"type":45,"value":121},{"type":39,"tag":73,"props":2868,"children":2869},{"style":86},[2870],{"type":45,"value":418},{"type":39,"tag":73,"props":2872,"children":2873},{"style":86},[2874],{"type":45,"value":110},{"type":39,"tag":73,"props":2876,"children":2877},{"style":113},[2878],{"type":45,"value":2553},{"type":39,"tag":73,"props":2880,"children":2881},{"style":86},[2882],{"type":45,"value":121},{"type":39,"tag":73,"props":2884,"children":2885},{"style":86},[2886],{"type":45,"value":260},{"type":39,"tag":73,"props":2888,"children":2889},{"style":86},[2890],{"type":45,"value":110},{"type":39,"tag":73,"props":2892,"children":2893},{"style":372},[2894],{"type":45,"value":2610},{"type":39,"tag":73,"props":2896,"children":2897},{"style":86},[2898],{"type":45,"value":121},{"type":39,"tag":73,"props":2900,"children":2901},{"style":86},[2902],{"type":45,"value":418},{"type":39,"tag":73,"props":2904,"children":2905},{"style":86},[2906],{"type":45,"value":89},{"type":39,"tag":73,"props":2908,"children":2909},{"style":86},[2910],{"type":45,"value":110},{"type":39,"tag":73,"props":2912,"children":2913},{"style":759},[2914],{"type":45,"value":2119},{"type":39,"tag":73,"props":2916,"children":2917},{"style":86},[2918],{"type":45,"value":121},{"type":39,"tag":73,"props":2920,"children":2921},{"style":86},[2922],{"type":45,"value":418},{"type":39,"tag":73,"props":2924,"children":2925},{"style":86},[2926],{"type":45,"value":110},{"type":39,"tag":73,"props":2928,"children":2929},{"style":113},[2930],{"type":45,"value":2778},{"type":39,"tag":73,"props":2932,"children":2933},{"style":86},[2934],{"type":45,"value":121},{"type":39,"tag":73,"props":2936,"children":2937},{"style":86},[2938],{"type":45,"value":260},{"type":39,"tag":73,"props":2940,"children":2941},{"style":86},[2942],{"type":45,"value":110},{"type":39,"tag":73,"props":2944,"children":2945},{"style":759},[2946],{"type":45,"value":2947},"index",{"type":39,"tag":73,"props":2949,"children":2950},{"style":86},[2951],{"type":45,"value":121},{"type":39,"tag":73,"props":2953,"children":2954},{"style":86},[2955],{"type":45,"value":418},{"type":39,"tag":73,"props":2957,"children":2958},{"style":1143},[2959],{"type":45,"value":2960}," 0",{"type":39,"tag":73,"props":2962,"children":2963},{"style":86},[2964],{"type":45,"value":100},{"type":39,"tag":73,"props":2966,"children":2967},{"style":86},[2968],{"type":45,"value":2694},{"type":39,"tag":54,"props":2970,"children":2972},{"id":2971},"repeat-dynamic-lists",[2973],{"type":45,"value":2974},"Repeat (Dynamic Lists)",{"type":39,"tag":48,"props":2976,"children":2977},{},[2978,2980,2986],{"type":45,"value":2979},"Use the ",{"type":39,"tag":69,"props":2981,"children":2983},{"className":2982},[],[2984],{"type":45,"value":2985},"repeat",{"type":45,"value":2987}," field on a container element to render items from a state array:",{"type":39,"tag":61,"props":2989,"children":2991},{"className":1034,"code":2990,"language":14,"meta":66,"style":66},"{\n  \"type\": \"Box\",\n  \"props\": { \"flexDirection\": \"column\" },\n  \"repeat\": { \"statePath\": \"\u002Fitems\", \"key\": \"id\" },\n  \"children\": [\"item-row\"]\n}\n",[2992],{"type":39,"tag":69,"props":2993,"children":2994},{"__ignoreMap":66},[2995,3002,3037,3092,3181,3221],{"type":39,"tag":73,"props":2996,"children":2997},{"class":75,"line":76},[2998],{"type":39,"tag":73,"props":2999,"children":3000},{"style":86},[3001],{"type":45,"value":1047},{"type":39,"tag":73,"props":3003,"children":3004},{"class":75,"line":129},[3005,3009,3013,3017,3021,3025,3029,3033],{"type":39,"tag":73,"props":3006,"children":3007},{"style":86},[3008],{"type":45,"value":1055},{"type":39,"tag":73,"props":3010,"children":3011},{"style":372},[3012],{"type":45,"value":1146},{"type":39,"tag":73,"props":3014,"children":3015},{"style":86},[3016],{"type":45,"value":121},{"type":39,"tag":73,"props":3018,"children":3019},{"style":86},[3020],{"type":45,"value":418},{"type":39,"tag":73,"props":3022,"children":3023},{"style":86},[3024],{"type":45,"value":110},{"type":39,"tag":73,"props":3026,"children":3027},{"style":113},[3028],{"type":45,"value":1163},{"type":39,"tag":73,"props":3030,"children":3031},{"style":86},[3032],{"type":45,"value":121},{"type":39,"tag":73,"props":3034,"children":3035},{"style":86},[3036],{"type":45,"value":195},{"type":39,"tag":73,"props":3038,"children":3039},{"class":75,"line":171},[3040,3044,3048,3052,3056,3060,3064,3068,3072,3076,3080,3084,3088],{"type":39,"tag":73,"props":3041,"children":3042},{"style":86},[3043],{"type":45,"value":1055},{"type":39,"tag":73,"props":3045,"children":3046},{"style":372},[3047],{"type":45,"value":1183},{"type":39,"tag":73,"props":3049,"children":3050},{"style":86},[3051],{"type":45,"value":121},{"type":39,"tag":73,"props":3053,"children":3054},{"style":86},[3055],{"type":45,"value":418},{"type":39,"tag":73,"props":3057,"children":3058},{"style":86},[3059],{"type":45,"value":89},{"type":39,"tag":73,"props":3061,"children":3062},{"style":86},[3063],{"type":45,"value":110},{"type":39,"tag":73,"props":3065,"children":3066},{"style":759},[3067],{"type":45,"value":1204},{"type":39,"tag":73,"props":3069,"children":3070},{"style":86},[3071],{"type":45,"value":121},{"type":39,"tag":73,"props":3073,"children":3074},{"style":86},[3075],{"type":45,"value":418},{"type":39,"tag":73,"props":3077,"children":3078},{"style":86},[3079],{"type":45,"value":110},{"type":39,"tag":73,"props":3081,"children":3082},{"style":113},[3083],{"type":45,"value":1221},{"type":39,"tag":73,"props":3085,"children":3086},{"style":86},[3087],{"type":45,"value":121},{"type":39,"tag":73,"props":3089,"children":3090},{"style":86},[3091],{"type":45,"value":1256},{"type":39,"tag":73,"props":3093,"children":3094},{"class":75,"line":184},[3095,3099,3103,3107,3111,3115,3119,3123,3127,3131,3135,3139,3143,3147,3151,3156,3160,3164,3168,3173,3177],{"type":39,"tag":73,"props":3096,"children":3097},{"style":86},[3098],{"type":45,"value":1055},{"type":39,"tag":73,"props":3100,"children":3101},{"style":372},[3102],{"type":45,"value":2985},{"type":39,"tag":73,"props":3104,"children":3105},{"style":86},[3106],{"type":45,"value":121},{"type":39,"tag":73,"props":3108,"children":3109},{"style":86},[3110],{"type":45,"value":418},{"type":39,"tag":73,"props":3112,"children":3113},{"style":86},[3114],{"type":45,"value":89},{"type":39,"tag":73,"props":3116,"children":3117},{"style":86},[3118],{"type":45,"value":110},{"type":39,"tag":73,"props":3120,"children":3121},{"style":759},[3122],{"type":45,"value":2119},{"type":39,"tag":73,"props":3124,"children":3125},{"style":86},[3126],{"type":45,"value":121},{"type":39,"tag":73,"props":3128,"children":3129},{"style":86},[3130],{"type":45,"value":418},{"type":39,"tag":73,"props":3132,"children":3133},{"style":86},[3134],{"type":45,"value":110},{"type":39,"tag":73,"props":3136,"children":3137},{"style":113},[3138],{"type":45,"value":2778},{"type":39,"tag":73,"props":3140,"children":3141},{"style":86},[3142],{"type":45,"value":121},{"type":39,"tag":73,"props":3144,"children":3145},{"style":86},[3146],{"type":45,"value":260},{"type":39,"tag":73,"props":3148,"children":3149},{"style":86},[3150],{"type":45,"value":110},{"type":39,"tag":73,"props":3152,"children":3153},{"style":759},[3154],{"type":45,"value":3155},"key",{"type":39,"tag":73,"props":3157,"children":3158},{"style":86},[3159],{"type":45,"value":121},{"type":39,"tag":73,"props":3161,"children":3162},{"style":86},[3163],{"type":45,"value":418},{"type":39,"tag":73,"props":3165,"children":3166},{"style":86},[3167],{"type":45,"value":110},{"type":39,"tag":73,"props":3169,"children":3170},{"style":113},[3171],{"type":45,"value":3172},"id",{"type":39,"tag":73,"props":3174,"children":3175},{"style":86},[3176],{"type":45,"value":121},{"type":39,"tag":73,"props":3178,"children":3179},{"style":86},[3180],{"type":45,"value":1256},{"type":39,"tag":73,"props":3182,"children":3183},{"class":75,"line":198},[3184,3188,3192,3196,3200,3204,3208,3213,3217],{"type":39,"tag":73,"props":3185,"children":3186},{"style":86},[3187],{"type":45,"value":1055},{"type":39,"tag":73,"props":3189,"children":3190},{"style":372},[3191],{"type":45,"value":1268},{"type":39,"tag":73,"props":3193,"children":3194},{"style":86},[3195],{"type":45,"value":121},{"type":39,"tag":73,"props":3197,"children":3198},{"style":86},[3199],{"type":45,"value":418},{"type":39,"tag":73,"props":3201,"children":3202},{"style":86},[3203],{"type":45,"value":1281},{"type":39,"tag":73,"props":3205,"children":3206},{"style":86},[3207],{"type":45,"value":121},{"type":39,"tag":73,"props":3209,"children":3210},{"style":113},[3211],{"type":45,"value":3212},"item-row",{"type":39,"tag":73,"props":3214,"children":3215},{"style":86},[3216],{"type":45,"value":121},{"type":39,"tag":73,"props":3218,"children":3219},{"style":86},[3220],{"type":45,"value":1316},{"type":39,"tag":73,"props":3222,"children":3223},{"class":75,"line":211},[3224],{"type":39,"tag":73,"props":3225,"children":3226},{"style":86},[3227],{"type":45,"value":1020},{"type":39,"tag":48,"props":3229,"children":3230},{},[3231,3233,3239,3241,3247],{"type":45,"value":3232},"Inside repeated children, use ",{"type":39,"tag":69,"props":3234,"children":3236},{"className":3235},[],[3237],{"type":45,"value":3238},"{ \"$item\": \"field\" }",{"type":45,"value":3240}," to read from the current item and ",{"type":39,"tag":69,"props":3242,"children":3244},{"className":3243},[],[3245],{"type":45,"value":3246},"{ \"$index\": true }",{"type":45,"value":3248}," for the current index.",{"type":39,"tag":54,"props":3250,"children":3252},{"id":3251},"streaming",[3253],{"type":45,"value":3254},"Streaming",{"type":39,"tag":48,"props":3256,"children":3257},{},[3258,3259,3265],{"type":45,"value":1977},{"type":39,"tag":69,"props":3260,"children":3262},{"className":3261},[],[3263],{"type":45,"value":3264},"useUIStream",{"type":45,"value":3266}," to progressively render specs from JSONL patch streams:",{"type":39,"tag":61,"props":3268,"children":3270},{"className":2158,"code":3269,"language":2160,"meta":66,"style":66},"import { useUIStream } from \"@json-render\u002Fink\";\n\nconst { spec, send, isStreaming } = useUIStream({ api: \"\u002Fapi\u002Fgenerate\" });\n",[3271],{"type":39,"tag":69,"props":3272,"children":3273},{"__ignoreMap":66},[3274,3314,3321],{"type":39,"tag":73,"props":3275,"children":3276},{"class":75,"line":76},[3277,3281,3285,3290,3294,3298,3302,3306,3310],{"type":39,"tag":73,"props":3278,"children":3279},{"style":80},[3280],{"type":45,"value":83},{"type":39,"tag":73,"props":3282,"children":3283},{"style":86},[3284],{"type":45,"value":89},{"type":39,"tag":73,"props":3286,"children":3287},{"style":92},[3288],{"type":45,"value":3289}," useUIStream",{"type":39,"tag":73,"props":3291,"children":3292},{"style":86},[3293],{"type":45,"value":100},{"type":39,"tag":73,"props":3295,"children":3296},{"style":80},[3297],{"type":45,"value":105},{"type":39,"tag":73,"props":3299,"children":3300},{"style":86},[3301],{"type":45,"value":110},{"type":39,"tag":73,"props":3303,"children":3304},{"style":113},[3305],{"type":45,"value":46},{"type":39,"tag":73,"props":3307,"children":3308},{"style":86},[3309],{"type":45,"value":121},{"type":39,"tag":73,"props":3311,"children":3312},{"style":86},[3313],{"type":45,"value":126},{"type":39,"tag":73,"props":3315,"children":3316},{"class":75,"line":129},[3317],{"type":39,"tag":73,"props":3318,"children":3319},{"emptyLinePlaceholder":352},[3320],{"type":45,"value":355},{"type":39,"tag":73,"props":3322,"children":3323},{"class":75,"line":171},[3324,3328,3332,3336,3340,3345,3349,3354,3358,3362,3366,3370,3374,3379,3383,3387,3392,3396,3400,3404],{"type":39,"tag":73,"props":3325,"children":3326},{"style":372},[3327],{"type":45,"value":375},{"type":39,"tag":73,"props":3329,"children":3330},{"style":86},[3331],{"type":45,"value":89},{"type":39,"tag":73,"props":3333,"children":3334},{"style":92},[3335],{"type":45,"value":879},{"type":39,"tag":73,"props":3337,"children":3338},{"style":86},[3339],{"type":45,"value":260},{"type":39,"tag":73,"props":3341,"children":3342},{"style":92},[3343],{"type":45,"value":3344}," send",{"type":39,"tag":73,"props":3346,"children":3347},{"style":86},[3348],{"type":45,"value":260},{"type":39,"tag":73,"props":3350,"children":3351},{"style":92},[3352],{"type":45,"value":3353}," isStreaming ",{"type":39,"tag":73,"props":3355,"children":3356},{"style":86},[3357],{"type":45,"value":217},{"type":39,"tag":73,"props":3359,"children":3360},{"style":86},[3361],{"type":45,"value":685},{"type":39,"tag":73,"props":3363,"children":3364},{"style":388},[3365],{"type":45,"value":3289},{"type":39,"tag":73,"props":3367,"children":3368},{"style":92},[3369],{"type":45,"value":489},{"type":39,"tag":73,"props":3371,"children":3372},{"style":86},[3373],{"type":45,"value":494},{"type":39,"tag":73,"props":3375,"children":3376},{"style":410},[3377],{"type":45,"value":3378}," api",{"type":39,"tag":73,"props":3380,"children":3381},{"style":86},[3382],{"type":45,"value":418},{"type":39,"tag":73,"props":3384,"children":3385},{"style":86},[3386],{"type":45,"value":110},{"type":39,"tag":73,"props":3388,"children":3389},{"style":113},[3390],{"type":45,"value":3391},"\u002Fapi\u002Fgenerate",{"type":39,"tag":73,"props":3393,"children":3394},{"style":86},[3395],{"type":45,"value":121},{"type":39,"tag":73,"props":3397,"children":3398},{"style":86},[3399],{"type":45,"value":100},{"type":39,"tag":73,"props":3401,"children":3402},{"style":92},[3403],{"type":45,"value":530},{"type":39,"tag":73,"props":3405,"children":3406},{"style":86},[3407],{"type":45,"value":126},{"type":39,"tag":54,"props":3409,"children":3411},{"id":3410},"server-side-prompt-generation",[3412],{"type":45,"value":3413},"Server-Side Prompt Generation",{"type":39,"tag":48,"props":3415,"children":3416},{},[3417,3418,3424],{"type":45,"value":2979},{"type":39,"tag":69,"props":3419,"children":3421},{"className":3420},[],[3422],{"type":45,"value":3423},".\u002Fserver",{"type":45,"value":3425}," export to generate AI system prompts from your catalog:",{"type":39,"tag":61,"props":3427,"children":3429},{"className":63,"code":3428,"language":65,"meta":66,"style":66},"import { catalog } from \".\u002Fcatalog\";\n\nconst systemPrompt = catalog.prompt({ system: \"You are a terminal assistant.\" });\n",[3430],{"type":39,"tag":69,"props":3431,"children":3432},{"__ignoreMap":66},[3433,3473,3480],{"type":39,"tag":73,"props":3434,"children":3435},{"class":75,"line":76},[3436,3440,3444,3448,3452,3456,3460,3465,3469],{"type":39,"tag":73,"props":3437,"children":3438},{"style":80},[3439],{"type":45,"value":83},{"type":39,"tag":73,"props":3441,"children":3442},{"style":86},[3443],{"type":45,"value":89},{"type":39,"tag":73,"props":3445,"children":3446},{"style":92},[3447],{"type":45,"value":818},{"type":39,"tag":73,"props":3449,"children":3450},{"style":86},[3451],{"type":45,"value":100},{"type":39,"tag":73,"props":3453,"children":3454},{"style":80},[3455],{"type":45,"value":105},{"type":39,"tag":73,"props":3457,"children":3458},{"style":86},[3459],{"type":45,"value":110},{"type":39,"tag":73,"props":3461,"children":3462},{"style":113},[3463],{"type":45,"value":3464},".\u002Fcatalog",{"type":39,"tag":73,"props":3466,"children":3467},{"style":86},[3468],{"type":45,"value":121},{"type":39,"tag":73,"props":3470,"children":3471},{"style":86},[3472],{"type":45,"value":126},{"type":39,"tag":73,"props":3474,"children":3475},{"class":75,"line":129},[3476],{"type":39,"tag":73,"props":3477,"children":3478},{"emptyLinePlaceholder":352},[3479],{"type":45,"value":355},{"type":39,"tag":73,"props":3481,"children":3482},{"class":75,"line":171},[3483,3487,3492,3496,3500,3504,3509,3513,3517,3522,3526,3530,3535,3539,3543,3547],{"type":39,"tag":73,"props":3484,"children":3485},{"style":372},[3486],{"type":45,"value":375},{"type":39,"tag":73,"props":3488,"children":3489},{"style":92},[3490],{"type":45,"value":3491}," systemPrompt ",{"type":39,"tag":73,"props":3493,"children":3494},{"style":86},[3495],{"type":45,"value":385},{"type":39,"tag":73,"props":3497,"children":3498},{"style":92},[3499],{"type":45,"value":818},{"type":39,"tag":73,"props":3501,"children":3502},{"style":86},[3503],{"type":45,"value":479},{"type":39,"tag":73,"props":3505,"children":3506},{"style":388},[3507],{"type":45,"value":3508},"prompt",{"type":39,"tag":73,"props":3510,"children":3511},{"style":92},[3512],{"type":45,"value":489},{"type":39,"tag":73,"props":3514,"children":3515},{"style":86},[3516],{"type":45,"value":494},{"type":39,"tag":73,"props":3518,"children":3519},{"style":410},[3520],{"type":45,"value":3521}," system",{"type":39,"tag":73,"props":3523,"children":3524},{"style":86},[3525],{"type":45,"value":418},{"type":39,"tag":73,"props":3527,"children":3528},{"style":86},[3529],{"type":45,"value":110},{"type":39,"tag":73,"props":3531,"children":3532},{"style":113},[3533],{"type":45,"value":3534},"You are a terminal assistant.",{"type":39,"tag":73,"props":3536,"children":3537},{"style":86},[3538],{"type":45,"value":121},{"type":39,"tag":73,"props":3540,"children":3541},{"style":86},[3542],{"type":45,"value":100},{"type":39,"tag":73,"props":3544,"children":3545},{"style":92},[3546],{"type":45,"value":530},{"type":39,"tag":73,"props":3548,"children":3549},{"style":86},[3550],{"type":45,"value":126},{"type":39,"tag":54,"props":3552,"children":3554},{"id":3553},"providers",[3555],{"type":45,"value":3556},"Providers",{"type":39,"tag":3558,"props":3559,"children":3560},"table",{},[3561,3580],{"type":39,"tag":3562,"props":3563,"children":3564},"thead",{},[3565],{"type":39,"tag":3566,"props":3567,"children":3568},"tr",{},[3569,3575],{"type":39,"tag":3570,"props":3571,"children":3572},"th",{},[3573],{"type":45,"value":3574},"Provider",{"type":39,"tag":3570,"props":3576,"children":3577},{},[3578],{"type":45,"value":3579},"Purpose",{"type":39,"tag":3581,"props":3582,"children":3583},"tbody",{},[3584,3610,3627,3644,3661,3678],{"type":39,"tag":3566,"props":3585,"children":3586},{},[3587,3597],{"type":39,"tag":3588,"props":3589,"children":3590},"td",{},[3591],{"type":39,"tag":69,"props":3592,"children":3594},{"className":3593},[],[3595],{"type":45,"value":3596},"StateProvider",{"type":39,"tag":3588,"props":3598,"children":3599},{},[3600,3602,3608],{"type":45,"value":3601},"Share state across components (JSON Pointer paths). Accepts optional ",{"type":39,"tag":69,"props":3603,"children":3605},{"className":3604},[],[3606],{"type":45,"value":3607},"store",{"type":45,"value":3609}," prop for controlled mode.",{"type":39,"tag":3566,"props":3611,"children":3612},{},[3613,3622],{"type":39,"tag":3588,"props":3614,"children":3615},{},[3616],{"type":39,"tag":69,"props":3617,"children":3619},{"className":3618},[],[3620],{"type":45,"value":3621},"ActionProvider",{"type":39,"tag":3588,"props":3623,"children":3624},{},[3625],{"type":45,"value":3626},"Handle actions dispatched via the event system",{"type":39,"tag":3566,"props":3628,"children":3629},{},[3630,3639],{"type":39,"tag":3588,"props":3631,"children":3632},{},[3633],{"type":39,"tag":69,"props":3634,"children":3636},{"className":3635},[],[3637],{"type":45,"value":3638},"VisibilityProvider",{"type":39,"tag":3588,"props":3640,"children":3641},{},[3642],{"type":45,"value":3643},"Enable conditional rendering based on state",{"type":39,"tag":3566,"props":3645,"children":3646},{},[3647,3656],{"type":39,"tag":3588,"props":3648,"children":3649},{},[3650],{"type":39,"tag":69,"props":3651,"children":3653},{"className":3652},[],[3654],{"type":45,"value":3655},"ValidationProvider",{"type":39,"tag":3588,"props":3657,"children":3658},{},[3659],{"type":45,"value":3660},"Form field validation",{"type":39,"tag":3566,"props":3662,"children":3663},{},[3664,3673],{"type":39,"tag":3588,"props":3665,"children":3666},{},[3667],{"type":39,"tag":69,"props":3668,"children":3670},{"className":3669},[],[3671],{"type":45,"value":3672},"FocusProvider",{"type":39,"tag":3588,"props":3674,"children":3675},{},[3676],{"type":45,"value":3677},"Manage focus across interactive components",{"type":39,"tag":3566,"props":3679,"children":3680},{},[3681,3689],{"type":39,"tag":3588,"props":3682,"children":3683},{},[3684],{"type":39,"tag":69,"props":3685,"children":3687},{"className":3686},[],[3688],{"type":45,"value":915},{"type":39,"tag":3588,"props":3690,"children":3691},{},[3692],{"type":45,"value":3693},"Combined provider for all contexts",{"type":39,"tag":1670,"props":3695,"children":3697},{"id":3696},"external-store-controlled-mode",[3698],{"type":45,"value":3699},"External Store (Controlled Mode)",{"type":39,"tag":48,"props":3701,"children":3702},{},[3703,3705,3711,3713,3718,3720,3725],{"type":45,"value":3704},"Pass a ",{"type":39,"tag":69,"props":3706,"children":3708},{"className":3707},[],[3709],{"type":45,"value":3710},"StateStore",{"type":45,"value":3712}," to ",{"type":39,"tag":69,"props":3714,"children":3716},{"className":3715},[],[3717],{"type":45,"value":3596},{"type":45,"value":3719}," (or ",{"type":39,"tag":69,"props":3721,"children":3723},{"className":3722},[],[3724],{"type":45,"value":915},{"type":45,"value":3726},") to use external state management:",{"type":39,"tag":61,"props":3728,"children":3730},{"className":2158,"code":3729,"language":2160,"meta":66,"style":66},"import { createStateStore, type StateStore } from \"@json-render\u002Fink\";\n\nconst store = createStateStore({ count: 0 });\n\n\u003CStateProvider store={store}>{children}\u003C\u002FStateProvider>\n\nstore.set(\"\u002Fcount\", 1); \u002F\u002F React re-renders automatically\n",[3731],{"type":39,"tag":69,"props":3732,"children":3733},{"__ignoreMap":66},[3734,3787,3794,3847,3854,3900,3907],{"type":39,"tag":73,"props":3735,"children":3736},{"class":75,"line":76},[3737,3741,3745,3750,3754,3758,3763,3767,3771,3775,3779,3783],{"type":39,"tag":73,"props":3738,"children":3739},{"style":80},[3740],{"type":45,"value":83},{"type":39,"tag":73,"props":3742,"children":3743},{"style":86},[3744],{"type":45,"value":89},{"type":39,"tag":73,"props":3746,"children":3747},{"style":92},[3748],{"type":45,"value":3749}," createStateStore",{"type":39,"tag":73,"props":3751,"children":3752},{"style":86},[3753],{"type":45,"value":260},{"type":39,"tag":73,"props":3755,"children":3756},{"style":80},[3757],{"type":45,"value":274},{"type":39,"tag":73,"props":3759,"children":3760},{"style":92},[3761],{"type":45,"value":3762}," StateStore",{"type":39,"tag":73,"props":3764,"children":3765},{"style":86},[3766],{"type":45,"value":100},{"type":39,"tag":73,"props":3768,"children":3769},{"style":80},[3770],{"type":45,"value":105},{"type":39,"tag":73,"props":3772,"children":3773},{"style":86},[3774],{"type":45,"value":110},{"type":39,"tag":73,"props":3776,"children":3777},{"style":113},[3778],{"type":45,"value":46},{"type":39,"tag":73,"props":3780,"children":3781},{"style":86},[3782],{"type":45,"value":121},{"type":39,"tag":73,"props":3784,"children":3785},{"style":86},[3786],{"type":45,"value":126},{"type":39,"tag":73,"props":3788,"children":3789},{"class":75,"line":129},[3790],{"type":39,"tag":73,"props":3791,"children":3792},{"emptyLinePlaceholder":352},[3793],{"type":45,"value":355},{"type":39,"tag":73,"props":3795,"children":3796},{"class":75,"line":171},[3797,3801,3806,3810,3814,3818,3822,3827,3831,3835,3839,3843],{"type":39,"tag":73,"props":3798,"children":3799},{"style":372},[3800],{"type":45,"value":375},{"type":39,"tag":73,"props":3802,"children":3803},{"style":92},[3804],{"type":45,"value":3805}," store ",{"type":39,"tag":73,"props":3807,"children":3808},{"style":86},[3809],{"type":45,"value":385},{"type":39,"tag":73,"props":3811,"children":3812},{"style":388},[3813],{"type":45,"value":3749},{"type":39,"tag":73,"props":3815,"children":3816},{"style":92},[3817],{"type":45,"value":489},{"type":39,"tag":73,"props":3819,"children":3820},{"style":86},[3821],{"type":45,"value":494},{"type":39,"tag":73,"props":3823,"children":3824},{"style":410},[3825],{"type":45,"value":3826}," count",{"type":39,"tag":73,"props":3828,"children":3829},{"style":86},[3830],{"type":45,"value":418},{"type":39,"tag":73,"props":3832,"children":3833},{"style":1143},[3834],{"type":45,"value":2960},{"type":39,"tag":73,"props":3836,"children":3837},{"style":86},[3838],{"type":45,"value":100},{"type":39,"tag":73,"props":3840,"children":3841},{"style":92},[3842],{"type":45,"value":530},{"type":39,"tag":73,"props":3844,"children":3845},{"style":86},[3846],{"type":45,"value":126},{"type":39,"tag":73,"props":3848,"children":3849},{"class":75,"line":184},[3850],{"type":39,"tag":73,"props":3851,"children":3852},{"emptyLinePlaceholder":352},[3853],{"type":45,"value":355},{"type":39,"tag":73,"props":3855,"children":3856},{"class":75,"line":198},[3857,3862,3866,3871,3875,3879,3884,3888,3892,3896],{"type":39,"tag":73,"props":3858,"children":3859},{"style":86},[3860],{"type":45,"value":3861},"\u003C",{"type":39,"tag":73,"props":3863,"children":3864},{"style":759},[3865],{"type":45,"value":3596},{"type":39,"tag":73,"props":3867,"children":3868},{"style":372},[3869],{"type":45,"value":3870}," store",{"type":39,"tag":73,"props":3872,"children":3873},{"style":86},[3874],{"type":45,"value":948},{"type":39,"tag":73,"props":3876,"children":3877},{"style":92},[3878],{"type":45,"value":3607},{"type":39,"tag":73,"props":3880,"children":3881},{"style":86},[3882],{"type":45,"value":3883},"}>{",{"type":39,"tag":73,"props":3885,"children":3886},{"style":92},[3887],{"type":45,"value":1268},{"type":39,"tag":73,"props":3889,"children":3890},{"style":86},[3891],{"type":45,"value":781},{"type":39,"tag":73,"props":3893,"children":3894},{"style":759},[3895],{"type":45,"value":3596},{"type":39,"tag":73,"props":3897,"children":3898},{"style":86},[3899],{"type":45,"value":998},{"type":39,"tag":73,"props":3901,"children":3902},{"class":75,"line":211},[3903],{"type":39,"tag":73,"props":3904,"children":3905},{"emptyLinePlaceholder":352},[3906],{"type":45,"value":355},{"type":39,"tag":73,"props":3908,"children":3909},{"class":75,"line":241},[3910,3914,3918,3923,3927,3931,3936,3940,3944,3948,3952,3957],{"type":39,"tag":73,"props":3911,"children":3912},{"style":92},[3913],{"type":45,"value":3607},{"type":39,"tag":73,"props":3915,"children":3916},{"style":86},[3917],{"type":45,"value":479},{"type":39,"tag":73,"props":3919,"children":3920},{"style":388},[3921],{"type":45,"value":3922},"set",{"type":39,"tag":73,"props":3924,"children":3925},{"style":92},[3926],{"type":45,"value":489},{"type":39,"tag":73,"props":3928,"children":3929},{"style":86},[3930],{"type":45,"value":121},{"type":39,"tag":73,"props":3932,"children":3933},{"style":113},[3934],{"type":45,"value":3935},"\u002Fcount",{"type":39,"tag":73,"props":3937,"children":3938},{"style":86},[3939],{"type":45,"value":121},{"type":39,"tag":73,"props":3941,"children":3942},{"style":86},[3943],{"type":45,"value":260},{"type":39,"tag":73,"props":3945,"children":3946},{"style":1143},[3947],{"type":45,"value":1251},{"type":39,"tag":73,"props":3949,"children":3950},{"style":92},[3951],{"type":45,"value":530},{"type":39,"tag":73,"props":3953,"children":3954},{"style":86},[3955],{"type":45,"value":3956},";",{"type":39,"tag":73,"props":3958,"children":3959},{"style":362},[3960],{"type":45,"value":3961}," \u002F\u002F React re-renders automatically\n",{"type":39,"tag":48,"props":3963,"children":3964},{},[3965,3967,3972,3974,3980,3982,3988],{"type":45,"value":3966},"When ",{"type":39,"tag":69,"props":3968,"children":3970},{"className":3969},[],[3971],{"type":45,"value":3607},{"type":45,"value":3973}," is provided, ",{"type":39,"tag":69,"props":3975,"children":3977},{"className":3976},[],[3978],{"type":45,"value":3979},"initialState",{"type":45,"value":3981}," and ",{"type":39,"tag":69,"props":3983,"children":3985},{"className":3984},[],[3986],{"type":45,"value":3987},"onStateChange",{"type":45,"value":3989}," are ignored.",{"type":39,"tag":54,"props":3991,"children":3993},{"id":3992},"createrenderer-higher-level-api",[3994],{"type":45,"value":3995},"createRenderer (Higher-Level API)",{"type":39,"tag":61,"props":3997,"children":3999},{"className":2158,"code":3998,"language":2160,"meta":66,"style":66},"import { createRenderer } from \"@json-render\u002Fink\";\nimport { standardComponents } from \"@json-render\u002Fink\";\nimport { catalog } from \".\u002Fcatalog\";\n\nconst InkRenderer = createRenderer(catalog, {\n  ...standardComponents,\n  \u002F\u002F custom component overrides here\n});\n\n\u002F\u002F InkRenderer includes all providers (state, visibility, actions, focus)\nrender(\n  \u003CInkRenderer spec={spec} state={{ activeTab: \"overview\" }} \u002F>\n);\n",[4000],{"type":39,"tag":69,"props":4001,"children":4002},{"__ignoreMap":66},[4003,4043,4083,4122,4129,4161,4178,4186,4201,4208,4216,4229,4295],{"type":39,"tag":73,"props":4004,"children":4005},{"class":75,"line":76},[4006,4010,4014,4019,4023,4027,4031,4035,4039],{"type":39,"tag":73,"props":4007,"children":4008},{"style":80},[4009],{"type":45,"value":83},{"type":39,"tag":73,"props":4011,"children":4012},{"style":86},[4013],{"type":45,"value":89},{"type":39,"tag":73,"props":4015,"children":4016},{"style":92},[4017],{"type":45,"value":4018}," createRenderer",{"type":39,"tag":73,"props":4020,"children":4021},{"style":86},[4022],{"type":45,"value":100},{"type":39,"tag":73,"props":4024,"children":4025},{"style":80},[4026],{"type":45,"value":105},{"type":39,"tag":73,"props":4028,"children":4029},{"style":86},[4030],{"type":45,"value":110},{"type":39,"tag":73,"props":4032,"children":4033},{"style":113},[4034],{"type":45,"value":46},{"type":39,"tag":73,"props":4036,"children":4037},{"style":86},[4038],{"type":45,"value":121},{"type":39,"tag":73,"props":4040,"children":4041},{"style":86},[4042],{"type":45,"value":126},{"type":39,"tag":73,"props":4044,"children":4045},{"class":75,"line":129},[4046,4050,4054,4059,4063,4067,4071,4075,4079],{"type":39,"tag":73,"props":4047,"children":4048},{"style":80},[4049],{"type":45,"value":83},{"type":39,"tag":73,"props":4051,"children":4052},{"style":86},[4053],{"type":45,"value":89},{"type":39,"tag":73,"props":4055,"children":4056},{"style":92},[4057],{"type":45,"value":4058}," standardComponents",{"type":39,"tag":73,"props":4060,"children":4061},{"style":86},[4062],{"type":45,"value":100},{"type":39,"tag":73,"props":4064,"children":4065},{"style":80},[4066],{"type":45,"value":105},{"type":39,"tag":73,"props":4068,"children":4069},{"style":86},[4070],{"type":45,"value":110},{"type":39,"tag":73,"props":4072,"children":4073},{"style":113},[4074],{"type":45,"value":46},{"type":39,"tag":73,"props":4076,"children":4077},{"style":86},[4078],{"type":45,"value":121},{"type":39,"tag":73,"props":4080,"children":4081},{"style":86},[4082],{"type":45,"value":126},{"type":39,"tag":73,"props":4084,"children":4085},{"class":75,"line":171},[4086,4090,4094,4098,4102,4106,4110,4114,4118],{"type":39,"tag":73,"props":4087,"children":4088},{"style":80},[4089],{"type":45,"value":83},{"type":39,"tag":73,"props":4091,"children":4092},{"style":86},[4093],{"type":45,"value":89},{"type":39,"tag":73,"props":4095,"children":4096},{"style":92},[4097],{"type":45,"value":818},{"type":39,"tag":73,"props":4099,"children":4100},{"style":86},[4101],{"type":45,"value":100},{"type":39,"tag":73,"props":4103,"children":4104},{"style":80},[4105],{"type":45,"value":105},{"type":39,"tag":73,"props":4107,"children":4108},{"style":86},[4109],{"type":45,"value":110},{"type":39,"tag":73,"props":4111,"children":4112},{"style":113},[4113],{"type":45,"value":3464},{"type":39,"tag":73,"props":4115,"children":4116},{"style":86},[4117],{"type":45,"value":121},{"type":39,"tag":73,"props":4119,"children":4120},{"style":86},[4121],{"type":45,"value":126},{"type":39,"tag":73,"props":4123,"children":4124},{"class":75,"line":184},[4125],{"type":39,"tag":73,"props":4126,"children":4127},{"emptyLinePlaceholder":352},[4128],{"type":45,"value":355},{"type":39,"tag":73,"props":4130,"children":4131},{"class":75,"line":198},[4132,4136,4141,4145,4149,4153,4157],{"type":39,"tag":73,"props":4133,"children":4134},{"style":372},[4135],{"type":45,"value":375},{"type":39,"tag":73,"props":4137,"children":4138},{"style":92},[4139],{"type":45,"value":4140}," InkRenderer ",{"type":39,"tag":73,"props":4142,"children":4143},{"style":86},[4144],{"type":45,"value":385},{"type":39,"tag":73,"props":4146,"children":4147},{"style":388},[4148],{"type":45,"value":4018},{"type":39,"tag":73,"props":4150,"children":4151},{"style":92},[4152],{"type":45,"value":694},{"type":39,"tag":73,"props":4154,"children":4155},{"style":86},[4156],{"type":45,"value":260},{"type":39,"tag":73,"props":4158,"children":4159},{"style":86},[4160],{"type":45,"value":181},{"type":39,"tag":73,"props":4162,"children":4163},{"class":75,"line":211},[4164,4169,4174],{"type":39,"tag":73,"props":4165,"children":4166},{"style":86},[4167],{"type":45,"value":4168},"  ...",{"type":39,"tag":73,"props":4170,"children":4171},{"style":92},[4172],{"type":45,"value":4173},"standardComponents",{"type":39,"tag":73,"props":4175,"children":4176},{"style":86},[4177],{"type":45,"value":195},{"type":39,"tag":73,"props":4179,"children":4180},{"class":75,"line":241},[4181],{"type":39,"tag":73,"props":4182,"children":4183},{"style":362},[4184],{"type":45,"value":4185},"  \u002F\u002F custom component overrides here\n",{"type":39,"tag":73,"props":4187,"children":4188},{"class":75,"line":306},[4189,4193,4197],{"type":39,"tag":73,"props":4190,"children":4191},{"style":86},[4192],{"type":45,"value":217},{"type":39,"tag":73,"props":4194,"children":4195},{"style":92},[4196],{"type":45,"value":530},{"type":39,"tag":73,"props":4198,"children":4199},{"style":86},[4200],{"type":45,"value":126},{"type":39,"tag":73,"props":4202,"children":4203},{"class":75,"line":348},[4204],{"type":39,"tag":73,"props":4205,"children":4206},{"emptyLinePlaceholder":352},[4207],{"type":45,"value":355},{"type":39,"tag":73,"props":4209,"children":4210},{"class":75,"line":358},[4211],{"type":39,"tag":73,"props":4212,"children":4213},{"style":362},[4214],{"type":45,"value":4215},"\u002F\u002F InkRenderer includes all providers (state, visibility, actions, focus)\n",{"type":39,"tag":73,"props":4217,"children":4218},{"class":75,"line":368},[4219,4224],{"type":39,"tag":73,"props":4220,"children":4221},{"style":388},[4222],{"type":45,"value":4223},"render",{"type":39,"tag":73,"props":4225,"children":4226},{"style":92},[4227],{"type":45,"value":4228},"(\n",{"type":39,"tag":73,"props":4230,"children":4231},{"class":75,"line":406},[4232,4236,4241,4245,4249,4253,4258,4263,4268,4273,4277,4281,4286,4290],{"type":39,"tag":73,"props":4233,"children":4234},{"style":86},[4235],{"type":45,"value":2213},{"type":39,"tag":73,"props":4237,"children":4238},{"style":759},[4239],{"type":45,"value":4240},"InkRenderer",{"type":39,"tag":73,"props":4242,"children":4243},{"style":372},[4244],{"type":45,"value":879},{"type":39,"tag":73,"props":4246,"children":4247},{"style":86},[4248],{"type":45,"value":948},{"type":39,"tag":73,"props":4250,"children":4251},{"style":92},[4252],{"type":45,"value":953},{"type":39,"tag":73,"props":4254,"children":4255},{"style":86},[4256],{"type":45,"value":4257},"} ",{"type":39,"tag":73,"props":4259,"children":4260},{"style":372},[4261],{"type":45,"value":4262},"state",{"type":39,"tag":73,"props":4264,"children":4265},{"style":86},[4266],{"type":45,"value":4267},"={{",{"type":39,"tag":73,"props":4269,"children":4270},{"style":410},[4271],{"type":45,"value":4272}," activeTab",{"type":39,"tag":73,"props":4274,"children":4275},{"style":86},[4276],{"type":45,"value":418},{"type":39,"tag":73,"props":4278,"children":4279},{"style":86},[4280],{"type":45,"value":110},{"type":39,"tag":73,"props":4282,"children":4283},{"style":113},[4284],{"type":45,"value":4285},"overview",{"type":39,"tag":73,"props":4287,"children":4288},{"style":86},[4289],{"type":45,"value":121},{"type":39,"tag":73,"props":4291,"children":4292},{"style":86},[4293],{"type":45,"value":4294}," }} \u002F>\n",{"type":39,"tag":73,"props":4296,"children":4297},{"class":75,"line":425},[4298,4302],{"type":39,"tag":73,"props":4299,"children":4300},{"style":92},[4301],{"type":45,"value":530},{"type":39,"tag":73,"props":4303,"children":4304},{"style":86},[4305],{"type":45,"value":126},{"type":39,"tag":54,"props":4307,"children":4309},{"id":4308},"key-exports",[4310],{"type":45,"value":4311},"Key Exports",{"type":39,"tag":3558,"props":4313,"children":4314},{},[4315,4330],{"type":39,"tag":3562,"props":4316,"children":4317},{},[4318],{"type":39,"tag":3566,"props":4319,"children":4320},{},[4321,4326],{"type":39,"tag":3570,"props":4322,"children":4323},{},[4324],{"type":45,"value":4325},"Export",{"type":39,"tag":3570,"props":4327,"children":4328},{},[4329],{"type":45,"value":3579},{"type":39,"tag":3581,"props":4331,"children":4332},{},[4333,4350,4366,4383,4398,4415,4431,4448,4464,4481,4498,4531,4548,4565,4582,4598,4620,4636,4653,4670,4687],{"type":39,"tag":3566,"props":4334,"children":4335},{},[4336,4345],{"type":39,"tag":3588,"props":4337,"children":4338},{},[4339],{"type":39,"tag":69,"props":4340,"children":4342},{"className":4341},[],[4343],{"type":45,"value":4344},"defineRegistry",{"type":39,"tag":3588,"props":4346,"children":4347},{},[4348],{"type":45,"value":4349},"Create a type-safe component registry from a catalog",{"type":39,"tag":3566,"props":4351,"children":4352},{},[4353,4361],{"type":39,"tag":3588,"props":4354,"children":4355},{},[4356],{"type":39,"tag":69,"props":4357,"children":4359},{"className":4358},[],[4360],{"type":45,"value":939},{"type":39,"tag":3588,"props":4362,"children":4363},{},[4364],{"type":45,"value":4365},"Render a spec using a registry",{"type":39,"tag":3566,"props":4367,"children":4368},{},[4369,4378],{"type":39,"tag":3588,"props":4370,"children":4371},{},[4372],{"type":39,"tag":69,"props":4373,"children":4375},{"className":4374},[],[4376],{"type":45,"value":4377},"createRenderer",{"type":39,"tag":3588,"props":4379,"children":4380},{},[4381],{"type":45,"value":4382},"Higher-level: creates a component with built-in providers",{"type":39,"tag":3566,"props":4384,"children":4385},{},[4386,4394],{"type":39,"tag":3588,"props":4387,"children":4388},{},[4389],{"type":39,"tag":69,"props":4390,"children":4392},{"className":4391},[],[4393],{"type":45,"value":915},{"type":39,"tag":3588,"props":4395,"children":4396},{},[4397],{"type":45,"value":3693},{"type":39,"tag":3566,"props":4399,"children":4400},{},[4401,4410],{"type":39,"tag":3588,"props":4402,"children":4403},{},[4404],{"type":39,"tag":69,"props":4405,"children":4407},{"className":4406},[],[4408],{"type":45,"value":4409},"schema",{"type":39,"tag":3588,"props":4411,"children":4412},{},[4413],{"type":45,"value":4414},"Ink flat element map schema (includes built-in state actions)",{"type":39,"tag":3566,"props":4416,"children":4417},{},[4418,4426],{"type":39,"tag":3588,"props":4419,"children":4420},{},[4421],{"type":39,"tag":69,"props":4422,"children":4424},{"className":4423},[],[4425],{"type":45,"value":436},{"type":39,"tag":3588,"props":4427,"children":4428},{},[4429],{"type":45,"value":4430},"Catalog definitions for all standard components",{"type":39,"tag":3566,"props":4432,"children":4433},{},[4434,4443],{"type":39,"tag":3588,"props":4435,"children":4436},{},[4437],{"type":39,"tag":69,"props":4438,"children":4440},{"className":4439},[],[4441],{"type":45,"value":4442},"standardActionDefinitions",{"type":39,"tag":3588,"props":4444,"children":4445},{},[4446],{"type":45,"value":4447},"Catalog definitions for standard actions",{"type":39,"tag":3566,"props":4449,"children":4450},{},[4451,4459],{"type":39,"tag":3588,"props":4452,"children":4453},{},[4454],{"type":39,"tag":69,"props":4455,"children":4457},{"className":4456},[],[4458],{"type":45,"value":4173},{"type":39,"tag":3588,"props":4460,"children":4461},{},[4462],{"type":45,"value":4463},"Pre-built component implementations",{"type":39,"tag":3566,"props":4465,"children":4466},{},[4467,4476],{"type":39,"tag":3588,"props":4468,"children":4469},{},[4470],{"type":39,"tag":69,"props":4471,"children":4473},{"className":4472},[],[4474],{"type":45,"value":4475},"useStateStore",{"type":39,"tag":3588,"props":4477,"children":4478},{},[4479],{"type":45,"value":4480},"Access state context",{"type":39,"tag":3566,"props":4482,"children":4483},{},[4484,4493],{"type":39,"tag":3588,"props":4485,"children":4486},{},[4487],{"type":39,"tag":69,"props":4488,"children":4490},{"className":4489},[],[4491],{"type":45,"value":4492},"useStateValue",{"type":39,"tag":3588,"props":4494,"children":4495},{},[4496],{"type":45,"value":4497},"Get single value from state",{"type":39,"tag":3566,"props":4499,"children":4500},{},[4501,4510],{"type":39,"tag":3588,"props":4502,"children":4503},{},[4504],{"type":39,"tag":69,"props":4505,"children":4507},{"className":4506},[],[4508],{"type":45,"value":4509},"useBoundProp",{"type":39,"tag":3588,"props":4511,"children":4512},{},[4513,4515,4521,4523,4529],{"type":45,"value":4514},"Two-way binding for ",{"type":39,"tag":69,"props":4516,"children":4518},{"className":4517},[],[4519],{"type":45,"value":4520},"$bindState",{"type":45,"value":4522},"\u002F",{"type":39,"tag":69,"props":4524,"children":4526},{"className":4525},[],[4527],{"type":45,"value":4528},"$bindItem",{"type":45,"value":4530}," expressions",{"type":39,"tag":3566,"props":4532,"children":4533},{},[4534,4543],{"type":39,"tag":3588,"props":4535,"children":4536},{},[4537],{"type":39,"tag":69,"props":4538,"children":4540},{"className":4539},[],[4541],{"type":45,"value":4542},"useActions",{"type":39,"tag":3588,"props":4544,"children":4545},{},[4546],{"type":45,"value":4547},"Access actions context",{"type":39,"tag":3566,"props":4549,"children":4550},{},[4551,4560],{"type":39,"tag":3588,"props":4552,"children":4553},{},[4554],{"type":39,"tag":69,"props":4555,"children":4557},{"className":4556},[],[4558],{"type":45,"value":4559},"useAction",{"type":39,"tag":3588,"props":4561,"children":4562},{},[4563],{"type":45,"value":4564},"Get a single action dispatch function",{"type":39,"tag":3566,"props":4566,"children":4567},{},[4568,4577],{"type":39,"tag":3588,"props":4569,"children":4570},{},[4571],{"type":39,"tag":69,"props":4572,"children":4574},{"className":4573},[],[4575],{"type":45,"value":4576},"useOptionalValidation",{"type":39,"tag":3588,"props":4578,"children":4579},{},[4580],{"type":45,"value":4581},"Non-throwing variant of useValidation",{"type":39,"tag":3566,"props":4583,"children":4584},{},[4585,4593],{"type":39,"tag":3588,"props":4586,"children":4587},{},[4588],{"type":39,"tag":69,"props":4589,"children":4591},{"className":4590},[],[4592],{"type":45,"value":3264},{"type":39,"tag":3588,"props":4594,"children":4595},{},[4596],{"type":45,"value":4597},"Stream specs from an API endpoint",{"type":39,"tag":3566,"props":4599,"children":4600},{},[4601,4610],{"type":39,"tag":3588,"props":4602,"children":4603},{},[4604],{"type":39,"tag":69,"props":4605,"children":4607},{"className":4606},[],[4608],{"type":45,"value":4609},"createStateStore",{"type":39,"tag":3588,"props":4611,"children":4612},{},[4613,4615],{"type":45,"value":4614},"Create a framework-agnostic in-memory ",{"type":39,"tag":69,"props":4616,"children":4618},{"className":4617},[],[4619],{"type":45,"value":3710},{"type":39,"tag":3566,"props":4621,"children":4622},{},[4623,4631],{"type":39,"tag":3588,"props":4624,"children":4625},{},[4626],{"type":39,"tag":69,"props":4627,"children":4629},{"className":4628},[],[4630],{"type":45,"value":3710},{"type":39,"tag":3588,"props":4632,"children":4633},{},[4634],{"type":45,"value":4635},"Interface for plugging in external state management",{"type":39,"tag":3566,"props":4637,"children":4638},{},[4639,4648],{"type":39,"tag":3588,"props":4640,"children":4641},{},[4642],{"type":39,"tag":69,"props":4643,"children":4645},{"className":4644},[],[4646],{"type":45,"value":4647},"Components",{"type":39,"tag":3588,"props":4649,"children":4650},{},[4651],{"type":45,"value":4652},"Typed component map (catalog-aware)",{"type":39,"tag":3566,"props":4654,"children":4655},{},[4656,4665],{"type":39,"tag":3588,"props":4657,"children":4658},{},[4659],{"type":39,"tag":69,"props":4660,"children":4662},{"className":4661},[],[4663],{"type":45,"value":4664},"Actions",{"type":39,"tag":3588,"props":4666,"children":4667},{},[4668],{"type":45,"value":4669},"Typed action map (catalog-aware)",{"type":39,"tag":3566,"props":4671,"children":4672},{},[4673,4682],{"type":39,"tag":3588,"props":4674,"children":4675},{},[4676],{"type":39,"tag":69,"props":4677,"children":4679},{"className":4678},[],[4680],{"type":45,"value":4681},"ComponentContext",{"type":39,"tag":3588,"props":4683,"children":4684},{},[4685],{"type":45,"value":4686},"Typed component context (catalog-aware)",{"type":39,"tag":3566,"props":4688,"children":4689},{},[4690,4699],{"type":39,"tag":3588,"props":4691,"children":4692},{},[4693],{"type":39,"tag":69,"props":4694,"children":4696},{"className":4695},[],[4697],{"type":45,"value":4698},"flatToTree",{"type":39,"tag":3588,"props":4700,"children":4701},{},[4702],{"type":45,"value":4703},"Convert flat element map to tree structure",{"type":39,"tag":54,"props":4705,"children":4707},{"id":4706},"terminal-ui-design-guidelines",[4708],{"type":45,"value":4709},"Terminal UI Design Guidelines",{"type":39,"tag":1677,"props":4711,"children":4712},{},[4713,4718,4723,4728,4733,4738,4743],{"type":39,"tag":1681,"props":4714,"children":4715},{},[4716],{"type":45,"value":4717},"Use Box for layout (flexDirection, padding, gap). Default flexDirection is row.",{"type":39,"tag":1681,"props":4719,"children":4720},{},[4721],{"type":45,"value":4722},"Terminal width is ~80-120 columns. Prefer vertical layouts (flexDirection: column) for main structure.",{"type":39,"tag":1681,"props":4724,"children":4725},{},[4726],{"type":45,"value":4727},"Use borderStyle on Box for visual grouping (single, double, round, bold).",{"type":39,"tag":1681,"props":4729,"children":4730},{},[4731],{"type":45,"value":4732},"Use named terminal colors: red, green, yellow, blue, magenta, cyan, white, gray.",{"type":39,"tag":1681,"props":4734,"children":4735},{},[4736],{"type":45,"value":4737},"Use Heading for section titles, Divider to separate sections, Badge for status, KeyValue for labeled data, Card for bordered groups.",{"type":39,"tag":1681,"props":4739,"children":4740},{},[4741],{"type":45,"value":4742},"Use Tabs for multi-view UIs with visible conditions on child content.",{"type":39,"tag":1681,"props":4744,"children":4745},{},[4746],{"type":45,"value":4747},"Use Sparkline for inline trends and BarChart for comparing values.",{"type":39,"tag":4749,"props":4750,"children":4751},"style",{},[4752],{"type":45,"value":4753},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4755,"total":705},[4756,4770,4784,4798,4815,4821,4835],{"slug":4757,"name":4757,"fn":4758,"description":4759,"org":4760,"tags":4761,"stars":22,"repoUrl":23,"updatedAt":4769},"codegen","generate code from UI specifications","Code generation utilities for json-render. Use when generating code from UI specs, building custom code exporters, traversing specs, or serializing props for @json-render\u002Fcodegen.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4762,4765,4768],{"name":4763,"slug":4764,"type":15},"Code Generation","code-generation",{"name":4766,"slug":4767,"type":15},"Engineering","engineering",{"name":13,"slug":14,"type":15},"2026-07-17T06:08:34.68038",{"slug":4771,"name":4771,"fn":4772,"description":4773,"org":4774,"tags":4775,"stars":22,"repoUrl":23,"updatedAt":4783},"devtools","inspect and debug generative UI components","Drop-in inspector panel for any json-render app. Use when the user wants to debug a generative UI, inspect the spec tree, edit state at runtime, see dispatched actions, follow stream patches live, browse a catalog, or pick DOM elements to find their spec keys. Triggers include \"add devtools\", \"debug json-render\", \"inspect the spec\", \"why is this element not rendering\", \"see the state at runtime\", or requests to tap streams \u002F capture action logs for `@json-render\u002Fdevtools`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4776,4779,4782],{"name":4777,"slug":4778,"type":15},"Debugging","debugging",{"name":4780,"slug":4781,"type":15},"Frontend","frontend",{"name":20,"slug":21,"type":15},"2026-07-17T06:08:35.001228",{"slug":4785,"name":4785,"fn":4786,"description":4787,"org":4788,"tags":4789,"stars":22,"repoUrl":23,"updatedAt":4797},"directives","apply custom directives to JSON specs","Pre-built custom directives for json-render — formatting, math, string manipulation, and i18n. Use when working with @json-render\u002Fdirectives, defining custom directives with defineDirective, or adding $format, $math, $concat, $count, $truncate, $pluralize, $join, or $t to specs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4790,4793,4794,4796],{"name":4791,"slug":4792,"type":15},"Automation","automation",{"name":4780,"slug":4781,"type":15},{"name":4795,"slug":4795,"type":15},"i18n",{"name":13,"slug":14,"type":15},"2026-07-17T06:04:05.866831",{"slug":4799,"name":4799,"fn":4800,"description":4801,"org":4802,"tags":4803,"stars":22,"repoUrl":23,"updatedAt":4814},"image","generate images from JSON specifications","Image renderer for json-render that turns JSON specs into SVG and PNG images via Satori. Use when working with @json-render\u002Fimage, generating OG images from JSON, creating social cards, or rendering AI-generated image specs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4804,4807,4808,4811],{"name":4805,"slug":4806,"type":15},"Images","images",{"name":13,"slug":14,"type":15},{"name":4809,"slug":4810,"type":15},"Satori","satori",{"name":4812,"slug":4813,"type":15},"SVG","svg","2026-07-17T06:07:42.441875",{"slug":4,"name":4,"fn":5,"description":6,"org":4816,"tags":4817,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4818,4819,4820],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"slug":4822,"name":4822,"fn":4823,"description":4824,"org":4825,"tags":4826,"stars":22,"repoUrl":23,"updatedAt":4834},"jotai","manage state with Jotai","Jotai adapter for json-render's StateStore interface. Use when integrating json-render with Jotai for state management via @json-render\u002Fjotai.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4827,4828,4831],{"name":4780,"slug":4781,"type":15},{"name":4829,"slug":4830,"type":15},"React","react",{"name":4832,"slug":4833,"type":15},"State Management","state-management","2026-07-17T06:05:48.244622",{"slug":4836,"name":4836,"fn":4837,"description":4838,"org":4839,"tags":4840,"stars":22,"repoUrl":23,"updatedAt":4846},"mcp","render interactive UIs with MCP","MCP Apps integration for json-render. Use when building MCP servers that render interactive UIs in Claude, ChatGPT, Cursor, or VS Code, or when integrating json-render with the Model Context Protocol.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4841,4842,4843,4845],{"name":4780,"slug":4781,"type":15},{"name":13,"slug":14,"type":15},{"name":4844,"slug":4836,"type":15},"MCP",{"name":20,"slug":21,"type":15},"2026-07-17T06:05:41.274723",{"items":4848,"total":5008},[4849,4865,4877,4889,4904,4919,4931,4944,4957,4970,4980,4993],{"slug":4850,"name":4850,"fn":4851,"description":4852,"org":4853,"tags":4854,"stars":4862,"repoUrl":4863,"updatedAt":4864},"agent-browser","automate browser interactions for AI agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4855,4858,4859],{"name":4856,"slug":4857,"type":15},"Agents","agents",{"name":4791,"slug":4792,"type":15},{"name":4860,"slug":4861,"type":15},"Browser Automation","browser-automation",38346,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-browser","2026-07-20T05:55:17.314329",{"slug":4866,"name":4866,"fn":4867,"description":4868,"org":4869,"tags":4870,"stars":4862,"repoUrl":4863,"updatedAt":4876},"agentcore","run browser automation on AWS Bedrock","Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include \"use agentcore\", \"run on AWS\", \"cloud browser with AWS\", \"bedrock browser\", \"agentcore session\", or any task requiring AWS-hosted browser automation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4871,4872,4875],{"name":4791,"slug":4792,"type":15},{"name":4873,"slug":4874,"type":15},"AWS","aws",{"name":4860,"slug":4861,"type":15},"2026-07-17T06:08:33.665276",{"slug":4878,"name":4878,"fn":4879,"description":4880,"org":4881,"tags":4882,"stars":4862,"repoUrl":4863,"updatedAt":4888},"core","navigate and interact with web pages","Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple browser sessions in parallel, and troubleshooting common failures. Use when the user asks to interact with a website, fill a form, click something, extract data, take a screenshot, log into a site, test a web app, or automate any browser task.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4883,4884,4885],{"name":4856,"slug":4857,"type":15},{"name":4860,"slug":4861,"type":15},{"name":4886,"slug":4887,"type":15},"Navigation","navigation","2026-07-26T05:47:42.378419",{"slug":4890,"name":4890,"fn":4891,"description":4892,"org":4893,"tags":4894,"stars":4862,"repoUrl":4863,"updatedAt":4903},"derive-client","reverse engineer internal APIs from browser traffic","Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to \"derive a client\", \"build a CLI for \u003Csite>\", \"reverse engineer this site's API\", \"record network requests\", \"turn this site into an API\", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4895,4898,4899,4900],{"name":4896,"slug":4897,"type":15},"API Development","api-development",{"name":4791,"slug":4792,"type":15},{"name":4860,"slug":4861,"type":15},{"name":4901,"slug":4902,"type":15},"Web Scraping","web-scraping","2026-07-20T06:24:11.928835",{"slug":4905,"name":4905,"fn":4906,"description":4907,"org":4908,"tags":4909,"stars":4862,"repoUrl":4863,"updatedAt":4918},"dogfood","perform exploratory testing on web applications","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4910,4911,4912,4915],{"name":4860,"slug":4861,"type":15},{"name":4777,"slug":4778,"type":15},{"name":4913,"slug":4914,"type":15},"QA","qa",{"name":4916,"slug":4917,"type":15},"Testing","testing","2026-07-17T06:07:41.421482",{"slug":4920,"name":4920,"fn":4921,"description":4922,"org":4923,"tags":4924,"stars":4862,"repoUrl":4863,"updatedAt":4930},"electron","automate Electron desktop applications","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4925,4926,4927],{"name":4856,"slug":4857,"type":15},{"name":4860,"slug":4861,"type":15},{"name":4928,"slug":4929,"type":15},"Desktop","desktop","2026-07-17T06:08:28.007783",{"slug":4932,"name":4932,"fn":4933,"description":4934,"org":4935,"tags":4936,"stars":4862,"repoUrl":4863,"updatedAt":4943},"slack","interact with Slack workspaces","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4937,4938,4941],{"name":4860,"slug":4861,"type":15},{"name":4939,"slug":4940,"type":15},"Messaging","messaging",{"name":4942,"slug":4932,"type":15},"Slack","2026-07-17T06:08:27.679015",{"slug":4945,"name":4945,"fn":4946,"description":4947,"org":4948,"tags":4949,"stars":4862,"repoUrl":4863,"updatedAt":4956},"vercel-sandbox","run browser automation in Vercel Sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4950,4951,4952,4953],{"name":4791,"slug":4792,"type":15},{"name":4860,"slug":4861,"type":15},{"name":4916,"slug":4917,"type":15},{"name":4954,"slug":4955,"type":15},"Vercel","vercel","2026-07-17T06:08:28.349899",{"slug":4958,"name":4958,"fn":4959,"description":4960,"org":4961,"tags":4962,"stars":4967,"repoUrl":4968,"updatedAt":4969},"deploy-to-vercel","deploy applications to Vercel","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4963,4966],{"name":4964,"slug":4965,"type":15},"Deployment","deployment",{"name":4954,"slug":4955,"type":15},28993,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills","2026-07-17T06:08:41.18374",{"slug":4971,"name":4971,"fn":4972,"description":4973,"org":4974,"tags":4975,"stars":4967,"repoUrl":4968,"updatedAt":4979},"vercel-cli-with-tokens","manage Vercel projects via CLI","Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. \"deploy to vercel\", \"set up vercel\", \"add environment variables to vercel\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4976,4977,4978],{"name":17,"slug":18,"type":15},{"name":4964,"slug":4965,"type":15},{"name":4954,"slug":4955,"type":15},"2026-07-17T06:08:41.84179",{"slug":4981,"name":4981,"fn":4982,"description":4983,"org":4984,"tags":4985,"stars":4967,"repoUrl":4968,"updatedAt":4992},"vercel-composition-patterns","implement scalable React composition patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4986,4989,4990,4991],{"name":4987,"slug":4988,"type":15},"Best Practices","best-practices",{"name":4780,"slug":4781,"type":15},{"name":4829,"slug":4830,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:05:40.576913",{"slug":4994,"name":4994,"fn":4995,"description":4996,"org":4997,"tags":4998,"stars":4967,"repoUrl":4968,"updatedAt":5007},"vercel-optimize","optimize Vercel project performance and costs","Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel\u002Fframework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4999,5002,5003,5006],{"name":5000,"slug":5001,"type":15},"Cost Optimization","cost-optimization",{"name":4964,"slug":4965,"type":15},{"name":5004,"slug":5005,"type":15},"Performance","performance",{"name":4954,"slug":4955,"type":15},"2026-07-17T06:04:08.327515",100]