@factorialco/f0-react 5.0.0 → 6.0.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/f0.d.ts CHANGED
@@ -17396,7 +17396,9 @@ export declare type ToastOptions = {
17396
17396
  id?: ToastId;
17397
17397
  } & ({
17398
17398
  /**
17399
- * The duration of the toast in milliseconds (if not provided, the toast will stay open until the user closes it)
17399
+ * The duration of the toast in milliseconds. Defaults to 5000ms, or
17400
+ * 10000ms when the toast has an action (more time to read and reach it).
17401
+ * Use `persistent: true` to keep it open until the user closes it.
17400
17402
  * @default 5000
17401
17403
  */
17402
17404
  duration?: number;
@@ -17453,7 +17455,7 @@ export declare const toasts: {
17453
17455
  closeAll: () => void;
17454
17456
  };
17455
17457
 
17456
- declare const toastVariants: readonly ["error", "warning", "success", "default"];
17458
+ declare const toastVariants: readonly ["error", "warning", "success", "loading", "default"];
17457
17459
 
17458
17460
  /** A button rendered in the footer at the bottom of the table of contents */
17459
17461
  declare type TOCAction = {
@@ -18945,6 +18947,16 @@ declare module "@tiptap/core" {
18945
18947
  }
18946
18948
 
18947
18949
 
18950
+ declare module "@tiptap/core" {
18951
+ interface Commands<ReturnType> {
18952
+ fontSize: {
18953
+ setFontSize: (fontSize: string) => ReturnType;
18954
+ unsetFontSize: () => ReturnType;
18955
+ };
18956
+ }
18957
+ }
18958
+
18959
+
18948
18960
  declare module "@tiptap/core" {
18949
18961
  interface Commands<ReturnType> {
18950
18962
  enhanceHighlight: {
@@ -18959,9 +18971,8 @@ declare module "@tiptap/core" {
18959
18971
 
18960
18972
  declare module "@tiptap/core" {
18961
18973
  interface Commands<ReturnType> {
18962
- fontSize: {
18963
- setFontSize: (fontSize: string) => ReturnType;
18964
- unsetFontSize: () => ReturnType;
18974
+ moodTracker: {
18975
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18965
18976
  };
18966
18977
  }
18967
18978
  }
@@ -18978,15 +18989,6 @@ declare module "@tiptap/core" {
18978
18989
  }
18979
18990
 
18980
18991
 
18981
- declare module "@tiptap/core" {
18982
- interface Commands<ReturnType> {
18983
- moodTracker: {
18984
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18985
- };
18986
- }
18987
- }
18988
-
18989
-
18990
18992
  declare module "@tiptap/core" {
18991
18993
  interface Commands<ReturnType> {
18992
18994
  transcript: {