reifyui 0.13.5 → 0.13.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reifyui",
3
- "version": "0.13.5",
3
+ "version": "0.13.6",
4
4
  "description": "The open-source rendering & interaction layer for agentic applications. Stream and render any agent's output as polished, application-native UI — model-agnostic, framework-agnostic, design-system-native. The foundation for building generative-UI and agent products.",
5
5
  "keywords": [
6
6
  "react",
@@ -34,6 +34,7 @@ const LANG = {
34
34
  sh: 'bash', bash: 'bash', zsh: 'bash', sql: 'sql', css: 'css', scss: 'scss', less: 'less',
35
35
  html: 'xml', htm: 'xml', xml: 'xml', svg: 'xml', json: 'json', yaml: 'yaml', yml: 'yaml',
36
36
  toml: 'ini', ini: 'ini', r: 'r', lua: 'lua', pl: 'perl', dockerfile: 'dockerfile', diff: 'diff',
37
+ md: 'markdown', txt: 'plaintext', log: 'plaintext', csv: 'plaintext',
37
38
  };
38
39
 
39
40
  // Presentations and word documents render faithfully through the server's PDF rendition.
@@ -196,8 +197,8 @@ export function FilePreview({
196
197
  {renderMarkdown ? renderMarkdown(st.text || '') : <pre className="uic-fp-pre">{st.text}</pre>}
197
198
  </div>
198
199
  )}
199
- {st.kind === 'code' && <CodeBlock code={st.text || ''} lang={LANG[extOf(name)] || 'plaintext'} />}
200
- {st.kind === 'html' && view === 'source' && <CodeBlock code={st.text || ''} lang="xml" />}
200
+ {st.kind === 'code' && <CodeBlock code={st.text || ''} language={LANG[extOf(name)] || 'plaintext'} />}
201
+ {st.kind === 'html' && view === 'source' && <CodeBlock code={st.text || ''} language="xml" />}
201
202
  {st.kind === 'html' && view === 'preview' && (
202
203
  // The page runs in its own origin with scripts only: a mockup's own script and styles
203
204
  // work, and nothing in it can read the host page, its cookies or its storage.