@factorialco/f0-react 4.76.0 → 4.77.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.
package/dist/ai.d.ts CHANGED
@@ -3738,7 +3738,7 @@ declare type F0AvatarTeamProps = {
3738
3738
  * Shows an avatar, title, optional description, and a configurable action button.
3739
3739
  *
3740
3740
  * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`).
3741
- * The co-creation flow already renders these cards with `F0CardHorizontal` directly
3741
+ * The AI Cocreation flow already renders these cards with `F0CardHorizontal` directly
3742
3742
  * (Open/Close → `primaryAction`; superseded → a faded `opacity-50 pointer-events-none`
3743
3743
  * wrapper). Don't add new usages; migrate the remaining one
3744
3744
  * (`F0AiMessagesContainer/FormCard`) once its inline `children` preview has an
@@ -3950,7 +3950,7 @@ declare const f0FileItemSizes: readonly ["md", "lg"];
3950
3950
  * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`),
3951
3951
  * which this component already wraps. Use `F0CardHorizontal` directly: `confirmAction` /
3952
3952
  * `rejectAction` for the pending state, `status` for the resolved outcome, and
3953
- * `secondaryActions` for a single CTA. The co-creation flow no longer uses this component —
3953
+ * `secondaryActions` for a single CTA. The AI Cocreation flow no longer uses this component —
3954
3954
  * don't add new usages.
3955
3955
  * @removeIn 5.0.0
3956
3956
  */
@@ -5274,9 +5274,11 @@ declare namespace Calendar {
5274
5274
 
5275
5275
  declare module "@tiptap/core" {
5276
5276
  interface Commands<ReturnType> {
5277
- aiBlock: {
5278
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
5279
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
5277
+ enhanceHighlight: {
5278
+ setEnhanceHighlight: (from: number, to: number, options?: {
5279
+ placeholder?: string;
5280
+ }) => ReturnType;
5281
+ clearEnhanceHighlight: () => ReturnType;
5280
5282
  };
5281
5283
  }
5282
5284
  }
@@ -5284,11 +5286,9 @@ declare module "@tiptap/core" {
5284
5286
 
5285
5287
  declare module "@tiptap/core" {
5286
5288
  interface Commands<ReturnType> {
5287
- enhanceHighlight: {
5288
- setEnhanceHighlight: (from: number, to: number, options?: {
5289
- placeholder?: string;
5290
- }) => ReturnType;
5291
- clearEnhanceHighlight: () => ReturnType;
5289
+ aiBlock: {
5290
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
5291
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
5292
5292
  };
5293
5293
  }
5294
5294
  }
@@ -285,9 +285,11 @@ declare namespace Calendar {
285
285
 
286
286
  declare module "@tiptap/core" {
287
287
  interface Commands<ReturnType> {
288
- aiBlock: {
289
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
290
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
288
+ enhanceHighlight: {
289
+ setEnhanceHighlight: (from: number, to: number, options?: {
290
+ placeholder?: string;
291
+ }) => ReturnType;
292
+ clearEnhanceHighlight: () => ReturnType;
291
293
  };
292
294
  }
293
295
  }
@@ -295,11 +297,9 @@ declare module "@tiptap/core" {
295
297
 
296
298
  declare module "@tiptap/core" {
297
299
  interface Commands<ReturnType> {
298
- enhanceHighlight: {
299
- setEnhanceHighlight: (from: number, to: number, options?: {
300
- placeholder?: string;
301
- }) => ReturnType;
302
- clearEnhanceHighlight: () => ReturnType;
300
+ aiBlock: {
301
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
302
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
303
303
  };
304
304
  }
305
305
  }