@factorialco/f0-react 8.32.2 → 8.34.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.
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as M } from "react/jsx-runtime";
2
2
  import { useRef as R, useState as n, useCallback as v } from "react";
3
3
  import { F as _ } from "./MapProvider-27XPHPiu.js";
4
4
  import { u as O, n as x } from "./F0CanvasPanel-WVtVnJRZ.js";
5
- import { u as S, a as B, s as P, n as L } from "./experimental-BVFSvDo0.js";
5
+ import { u as S, a as B, s as P, n as L } from "./experimental-B8-mgCce.js";
6
6
  const N = 140, j = 1e4, Y = ({
7
7
  onClose: d,
8
8
  searchMembers: f
package/dist/ai.d.ts CHANGED
@@ -2692,6 +2692,11 @@ export declare const defaultTranslations: {
2692
2692
  };
2693
2693
  readonly swipeDeck: {
2694
2694
  readonly label: "Swipe deck";
2695
+ readonly skip: "Skip";
2696
+ readonly accept: "Accept";
2697
+ readonly undo: "Undo";
2698
+ readonly undone: "Undone";
2699
+ readonly hint: "Use the arrow keys to decide, backspace to undo, or drag the card";
2695
2700
  };
2696
2701
  readonly meetingCard: {
2697
2702
  readonly today: "Today";
@@ -6808,9 +6813,11 @@ declare module "@tiptap/core" {
6808
6813
 
6809
6814
  declare module "@tiptap/core" {
6810
6815
  interface Commands<ReturnType> {
6811
- fontSize: {
6812
- setFontSize: (fontSize: string) => ReturnType;
6813
- unsetFontSize: () => ReturnType;
6816
+ enhanceHighlight: {
6817
+ setEnhanceHighlight: (from: number, to: number, options?: {
6818
+ placeholder?: string;
6819
+ }) => ReturnType;
6820
+ clearEnhanceHighlight: () => ReturnType;
6814
6821
  };
6815
6822
  }
6816
6823
  }
@@ -6818,11 +6825,9 @@ declare module "@tiptap/core" {
6818
6825
 
6819
6826
  declare module "@tiptap/core" {
6820
6827
  interface Commands<ReturnType> {
6821
- enhanceHighlight: {
6822
- setEnhanceHighlight: (from: number, to: number, options?: {
6823
- placeholder?: string;
6824
- }) => ReturnType;
6825
- clearEnhanceHighlight: () => ReturnType;
6828
+ fontSize: {
6829
+ setFontSize: (fontSize: string) => ReturnType;
6830
+ unsetFontSize: () => ReturnType;
6826
6831
  };
6827
6832
  }
6828
6833
  }
@@ -6839,10 +6844,8 @@ declare module "@tiptap/core" {
6839
6844
 
6840
6845
  declare module "@tiptap/core" {
6841
6846
  interface Commands<ReturnType> {
6842
- indent: {
6843
- setIndent: (level: number) => ReturnType;
6844
- unsetIndent: () => ReturnType;
6845
- outdent: () => ReturnType;
6847
+ transcript: {
6848
+ insertTranscript: (data: TranscriptData) => ReturnType;
6846
6849
  };
6847
6850
  }
6848
6851
  }
@@ -6850,8 +6853,10 @@ declare module "@tiptap/core" {
6850
6853
 
6851
6854
  declare module "@tiptap/core" {
6852
6855
  interface Commands<ReturnType> {
6853
- transcript: {
6854
- insertTranscript: (data: TranscriptData) => ReturnType;
6856
+ indent: {
6857
+ setIndent: (level: number) => ReturnType;
6858
+ unsetIndent: () => ReturnType;
6859
+ outdent: () => ReturnType;
6855
6860
  };
6856
6861
  }
6857
6862
  }
@@ -306,9 +306,11 @@ declare module "@tiptap/core" {
306
306
 
307
307
  declare module "@tiptap/core" {
308
308
  interface Commands<ReturnType> {
309
- fontSize: {
310
- setFontSize: (fontSize: string) => ReturnType;
311
- unsetFontSize: () => ReturnType;
309
+ enhanceHighlight: {
310
+ setEnhanceHighlight: (from: number, to: number, options?: {
311
+ placeholder?: string;
312
+ }) => ReturnType;
313
+ clearEnhanceHighlight: () => ReturnType;
312
314
  };
313
315
  }
314
316
  }
@@ -316,11 +318,9 @@ declare module "@tiptap/core" {
316
318
 
317
319
  declare module "@tiptap/core" {
318
320
  interface Commands<ReturnType> {
319
- enhanceHighlight: {
320
- setEnhanceHighlight: (from: number, to: number, options?: {
321
- placeholder?: string;
322
- }) => ReturnType;
323
- clearEnhanceHighlight: () => ReturnType;
321
+ fontSize: {
322
+ setFontSize: (fontSize: string) => ReturnType;
323
+ unsetFontSize: () => ReturnType;
324
324
  };
325
325
  }
326
326
  }
@@ -337,10 +337,8 @@ declare module "@tiptap/core" {
337
337
 
338
338
  declare module "@tiptap/core" {
339
339
  interface Commands<ReturnType> {
340
- indent: {
341
- setIndent: (level: number) => ReturnType;
342
- unsetIndent: () => ReturnType;
343
- outdent: () => ReturnType;
340
+ transcript: {
341
+ insertTranscript: (data: TranscriptData) => ReturnType;
344
342
  };
345
343
  }
346
344
  }
@@ -348,8 +346,10 @@ declare module "@tiptap/core" {
348
346
 
349
347
  declare module "@tiptap/core" {
350
348
  interface Commands<ReturnType> {
351
- transcript: {
352
- insertTranscript: (data: TranscriptData) => ReturnType;
349
+ indent: {
350
+ setIndent: (level: number) => ReturnType;
351
+ unsetIndent: () => ReturnType;
352
+ outdent: () => ReturnType;
353
353
  };
354
354
  }
355
355
  }