| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- // Schema
- export { schema, type ReactEmailSchema, type ReactEmailSpec } from "./schema";
- // Core types (re-exported for convenience)
- export type { Spec } from "@json-render/core";
- // Catalog-aware types
- export type {
- SetState,
- StateModel,
- ComponentContext,
- ComponentFn,
- Components,
- } from "./catalog-types";
- // Contexts
- export {
- StateProvider,
- useStateStore,
- useStateValue,
- useStateBinding,
- type StateContextValue,
- type StateProviderProps,
- } from "./contexts/state";
- export {
- VisibilityProvider,
- useVisibility,
- useIsVisible,
- type VisibilityContextValue,
- type VisibilityProviderProps,
- } from "./contexts/visibility";
- export {
- ActionProvider,
- useActions,
- useAction,
- ConfirmDialog,
- type ActionContextValue,
- type ActionProviderProps,
- type PendingConfirmation,
- type ConfirmDialogProps,
- } from "./contexts/actions";
- export {
- ValidationProvider,
- useValidation,
- useFieldValidation,
- type ValidationContextValue,
- type ValidationProviderProps,
- type FieldValidationState,
- } from "./contexts/validation";
- export {
- RepeatScopeProvider,
- useRepeatScope,
- type RepeatScopeValue,
- } from "./contexts/repeat-scope";
- // Renderer
- export {
- defineRegistry,
- type DefineRegistryResult,
- createRenderer,
- type CreateRendererProps,
- type ComponentMap,
- Renderer,
- JSONUIProvider,
- type ComponentRenderProps,
- type ComponentRenderer,
- type ComponentRegistry,
- type RendererProps,
- type JSONUIProviderProps,
- } from "./renderer";
- // Standard components
- export { standardComponents } from "./components";
- // Server-side render functions
- export { renderToHtml, renderToPlainText, type RenderOptions } from "./render";
- // Catalog definitions
- export {
- standardComponentDefinitions,
- type StandardComponentDefinitions,
- type StandardComponentProps,
- } from "./catalog";
|