reifyui 0.4.0 → 0.4.1

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/dist/slides.d.ts CHANGED
@@ -21,7 +21,10 @@ export interface Run {
21
21
  marks?: Array<'bold' | 'italic' | 'underline' | 'code' | { link: string }>;
22
22
  }
23
23
 
24
- export type ElementType = 'text' | 'image' | 'shape' | 'table' | 'chart' | 'diagram' | 'code';
24
+ // Exactly the keys of RENDERERS in elements.jsx. An unknown type renders as a grey
25
+ // placeholder showing the type name, so getting this list wrong is a silent design bug.
26
+ export type ElementType =
27
+ | 'text' | 'image' | 'chart' | 'flowchart' | 'shape' | 'table' | 'code' | 'embed';
25
28
 
26
29
  export interface SlideElement {
27
30
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reifyui",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "The open-source rendering & interaction layer for agentic applications. Stream and render any agent's output as polished, application-native UI \u2014 model-agnostic, framework-agnostic, design-system-native. The foundation for building generative-UI and agent products.",
5
5
  "keywords": [
6
6
  "react",
@@ -21,7 +21,10 @@ export interface Run {
21
21
  marks?: Array<'bold' | 'italic' | 'underline' | 'code' | { link: string }>;
22
22
  }
23
23
 
24
- export type ElementType = 'text' | 'image' | 'shape' | 'table' | 'chart' | 'diagram' | 'code';
24
+ // Exactly the keys of RENDERERS in elements.jsx. An unknown type renders as a grey
25
+ // placeholder showing the type name, so getting this list wrong is a silent design bug.
26
+ export type ElementType =
27
+ | 'text' | 'image' | 'chart' | 'flowchart' | 'shape' | 'table' | 'code' | 'embed';
25
28
 
26
29
  export interface SlideElement {
27
30
  id: string;