@uibot/renderer-react 0.18.1 → 0.19.0

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.
@@ -34,6 +34,8 @@ export interface UIBotRuntimeAdapter {
34
34
  mountPage(pageId: string): Promise<() => void>;
35
35
  }
36
36
  export interface UIBotLiveRendererProps {
37
+ /** Opt into the Spec's local design tokens; host-owned themes remain the default. */
38
+ applyDesign?: boolean;
37
39
  spec: CompiledUIBotSpec;
38
40
  registry: ReactRegistry;
39
41
  adapter: UIBotRuntimeAdapter;
@@ -50,6 +52,8 @@ export interface UIBotLiveRendererProps {
50
52
  * registered before the failure are still torn down on unmount.
51
53
  */
52
54
  onMountError?: (error: UIBotMountError) => void;
55
+ /** Called only after this page's lifecycle has mounted successfully. */
56
+ onMounted?: () => void;
53
57
  }
54
58
  /**
55
59
  * Stateful React host that owns the render loop. It subscribes to state changes