The Open Standard for Generative UI
import { z } from "zod/v4";
import { Callout } from "./Callout";
import { CardHeader } from "./CardHeader";
import { CodeBlock } from "./CodeBlock";
import { Image } from "./Image";
import { ImageBlock } from "./ImageBlock";
import { ImageGallery } from "./ImageGallery";
import { MarkDownRenderer } from "./MarkDownRenderer";
import { Separator } from "./Separator";
import { TextCallout } from "./TextCallout";
import { TextContent } from "./TextContent";
import {
AreaChartCondensed,
BarChartCondensed,
HorizontalBarChart,
LineChartCondensed,
PieChart,
RadarChart,
RadialChart,
ScatterChart,
SingleStackedBarChart,
} from "./Charts";
import { Buttons } from "./Buttons";
import { FollowUpBlock } from "./FollowUpBlock";
import { Form } from "./Form";
import { ListBlock } from "./ListBlock";
import { Steps } from "./Steps";
import { Table } from "./Table";
import { TagBlock } from "./TagBlock";
// Content allowed inside a SectionBlock section.
// Does NOT include SectionBlock (no nesting), Tabs, or Accordion (avoids circular deps).
export const SectionContentChildUnion = z.union([
TextContent.ref,
MarkDownRenderer.ref,
CardHeader.ref,
Callout.ref,
TextCallout.ref,
CodeBlock.ref,
Image.ref,
ImageBlock.ref,
ImageGallery.ref,
Separator.ref,
HorizontalBarChart.ref,
RadarChart.ref,
PieChart.ref,
RadialChart.ref,
SingleStackedBarChart.ref,
ScatterChart.ref,
AreaChartCondensed.ref,
BarChartCondensed.ref,
LineChartCondensed.ref,
Table.ref,
TagBlock.ref,
Form.ref,
Buttons.ref,
Steps.ref,
ListBlock.ref,
FollowUpBlock.ref,
]);