@factorialco/f0-react 1.211.0 → 1.212.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.
@@ -2314,9 +2314,13 @@ declare type FormType<T extends SchemaType, FormType extends InferSchema<T>> = U
2314
2314
 
2315
2315
  declare interface FrameContextType {
2316
2316
  isSmallScreen: boolean;
2317
+ isLastToggleInvokedByUser: boolean;
2317
2318
  sidebarState: SidebarState;
2318
2319
  prevSidebarState: SidebarState | null;
2319
- toggleSidebar: () => void;
2320
+ toggleSidebar: (callData?: {
2321
+ isInvokedByUser: boolean;
2322
+ }) => void;
2323
+ setForceFloat: (force: boolean) => void;
2320
2324
  }
2321
2325
 
2322
2326
  export declare const getGranularityDefinition: (granularityKey: GranularityDefinitionKey) => GranularityDefinition;
@@ -5043,8 +5047,8 @@ declare global {
5043
5047
 
5044
5048
  declare module "@tiptap/core" {
5045
5049
  interface Commands<ReturnType> {
5046
- aiBlock: {
5047
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5050
+ liveCompanion: {
5051
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5048
5052
  };
5049
5053
  }
5050
5054
  }
@@ -5052,8 +5056,8 @@ declare module "@tiptap/core" {
5052
5056
 
5053
5057
  declare module "@tiptap/core" {
5054
5058
  interface Commands<ReturnType> {
5055
- liveCompanion: {
5056
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5059
+ aiBlock: {
5060
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5057
5061
  };
5058
5062
  }
5059
5063
  }