@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.
@@ -11885,9 +11885,11 @@ declare namespace Calendar {
11885
11885
 
11886
11886
  declare module "@tiptap/core" {
11887
11887
  interface Commands<ReturnType> {
11888
- aiBlock: {
11889
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
11890
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
11888
+ enhanceHighlight: {
11889
+ setEnhanceHighlight: (from: number, to: number, options?: {
11890
+ placeholder?: string;
11891
+ }) => ReturnType;
11892
+ clearEnhanceHighlight: () => ReturnType;
11891
11893
  };
11892
11894
  }
11893
11895
  }
@@ -11895,11 +11897,9 @@ declare module "@tiptap/core" {
11895
11897
 
11896
11898
  declare module "@tiptap/core" {
11897
11899
  interface Commands<ReturnType> {
11898
- enhanceHighlight: {
11899
- setEnhanceHighlight: (from: number, to: number, options?: {
11900
- placeholder?: string;
11901
- }) => ReturnType;
11902
- clearEnhanceHighlight: () => ReturnType;
11900
+ aiBlock: {
11901
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
11902
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
11903
11903
  };
11904
11904
  }
11905
11905
  }
package/dist/f0.d.ts CHANGED
@@ -7940,7 +7940,7 @@ export declare type F0ButtonToggleProps = Omit<F0ButtonToggleInternalProps, (typ
7940
7940
  * Shows an avatar, title, optional description, and a configurable action button.
7941
7941
  *
7942
7942
  * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`).
7943
- * The co-creation flow already renders these cards with `F0CardHorizontal` directly
7943
+ * The AI Cocreation flow already renders these cards with `F0CardHorizontal` directly
7944
7944
  * (Open/Close → `primaryAction`; superseded → a faded `opacity-50 pointer-events-none`
7945
7945
  * wrapper). Don't add new usages; migrate the remaining one
7946
7946
  * (`F0AiMessagesContainer/FormCard`) once its inline `children` preview has an
@@ -10680,7 +10680,7 @@ export declare type F0HeadingProps = Omit<TextProps, "className" | "variant" | "
10680
10680
  * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`),
10681
10681
  * which this component already wraps. Use `F0CardHorizontal` directly: `confirmAction` /
10682
10682
  * `rejectAction` for the pending state, `status` for the resolved outcome, and
10683
- * `secondaryActions` for a single CTA. The co-creation flow no longer uses this component —
10683
+ * `secondaryActions` for a single CTA. The AI Cocreation flow no longer uses this component —
10684
10684
  * don't add new usages.
10685
10685
  * @removeIn 5.0.0
10686
10686
  */
@@ -18880,9 +18880,11 @@ declare namespace Calendar {
18880
18880
 
18881
18881
  declare module "@tiptap/core" {
18882
18882
  interface Commands<ReturnType> {
18883
- aiBlock: {
18884
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
18885
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
18883
+ enhanceHighlight: {
18884
+ setEnhanceHighlight: (from: number, to: number, options?: {
18885
+ placeholder?: string;
18886
+ }) => ReturnType;
18887
+ clearEnhanceHighlight: () => ReturnType;
18886
18888
  };
18887
18889
  }
18888
18890
  }
@@ -18890,11 +18892,9 @@ declare module "@tiptap/core" {
18890
18892
 
18891
18893
  declare module "@tiptap/core" {
18892
18894
  interface Commands<ReturnType> {
18893
- enhanceHighlight: {
18894
- setEnhanceHighlight: (from: number, to: number, options?: {
18895
- placeholder?: string;
18896
- }) => ReturnType;
18897
- clearEnhanceHighlight: () => ReturnType;
18895
+ aiBlock: {
18896
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
18897
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
18898
18898
  };
18899
18899
  }
18900
18900
  }
@@ -1099,9 +1099,11 @@ declare namespace Calendar {
1099
1099
 
1100
1100
  declare module "@tiptap/core" {
1101
1101
  interface Commands<ReturnType> {
1102
- aiBlock: {
1103
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1104
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1102
+ enhanceHighlight: {
1103
+ setEnhanceHighlight: (from: number, to: number, options?: {
1104
+ placeholder?: string;
1105
+ }) => ReturnType;
1106
+ clearEnhanceHighlight: () => ReturnType;
1105
1107
  };
1106
1108
  }
1107
1109
  }
@@ -1109,11 +1111,9 @@ declare module "@tiptap/core" {
1109
1111
 
1110
1112
  declare module "@tiptap/core" {
1111
1113
  interface Commands<ReturnType> {
1112
- enhanceHighlight: {
1113
- setEnhanceHighlight: (from: number, to: number, options?: {
1114
- placeholder?: string;
1115
- }) => ReturnType;
1116
- clearEnhanceHighlight: () => ReturnType;
1114
+ aiBlock: {
1115
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1116
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1117
1117
  };
1118
1118
  }
1119
1119
  }