@chaibuilder/sdk 2.2.29 → 2.2.31

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/core.d.ts CHANGED
@@ -98,6 +98,13 @@ export declare const ChaiBuilderCanvas: default_2.FC;
98
98
  export declare const ChaiBuilderEditor: default_2.FC<ChaiBuilderEditorProps>;
99
99
 
100
100
  export declare interface ChaiBuilderEditorProps {
101
+ /**
102
+ * Goto page callback
103
+ */
104
+ gotoPage?: ({ pageId, lang }: {
105
+ pageId: string;
106
+ lang: string;
107
+ }) => void;
101
108
  /**
102
109
  * User
103
110
  */
@@ -604,6 +611,13 @@ export declare const useHiddenBlockIds: () => readonly [string[], (args_0: strin
604
611
  */
605
612
  export declare const useHighlightBlockId: () => [string, Function];
606
613
 
614
+ export declare const useInlineEditing: () => {
615
+ editingBlockId: string;
616
+ editingItemIndex: number;
617
+ setEditingBlockId: (args_0: string | ((prev: string) => string)) => void;
618
+ setEditingItemIndex: (args_0: number | ((prev: number) => number)) => void;
619
+ };
620
+
607
621
  export declare const useLanguages: () => {
608
622
  languages: any[];
609
623
  fallbackLang: string;