@factorialco/f0-react 5.0.1 → 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/ai.d.ts +8 -8
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +8 -8
- package/dist/f0.d.ts +12 -10
- package/dist/f0.js +5885 -5878
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -11952,11 +11952,9 @@ declare module "@tiptap/core" {
|
|
|
11952
11952
|
|
|
11953
11953
|
declare module "@tiptap/core" {
|
|
11954
11954
|
interface Commands<ReturnType> {
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
}) => ReturnType;
|
|
11959
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
11955
|
+
fontSize: {
|
|
11956
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
11957
|
+
unsetFontSize: () => ReturnType;
|
|
11960
11958
|
};
|
|
11961
11959
|
}
|
|
11962
11960
|
}
|
|
@@ -11964,9 +11962,11 @@ declare module "@tiptap/core" {
|
|
|
11964
11962
|
|
|
11965
11963
|
declare module "@tiptap/core" {
|
|
11966
11964
|
interface Commands<ReturnType> {
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11965
|
+
enhanceHighlight: {
|
|
11966
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
11967
|
+
placeholder?: string;
|
|
11968
|
+
}) => ReturnType;
|
|
11969
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
11970
11970
|
};
|
|
11971
11971
|
}
|
|
11972
11972
|
}
|
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
|
|
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 = {
|
|
@@ -18947,11 +18949,9 @@ declare module "@tiptap/core" {
|
|
|
18947
18949
|
|
|
18948
18950
|
declare module "@tiptap/core" {
|
|
18949
18951
|
interface Commands<ReturnType> {
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
}) => ReturnType;
|
|
18954
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
18952
|
+
fontSize: {
|
|
18953
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
18954
|
+
unsetFontSize: () => ReturnType;
|
|
18955
18955
|
};
|
|
18956
18956
|
}
|
|
18957
18957
|
}
|
|
@@ -18959,9 +18959,11 @@ declare module "@tiptap/core" {
|
|
|
18959
18959
|
|
|
18960
18960
|
declare module "@tiptap/core" {
|
|
18961
18961
|
interface Commands<ReturnType> {
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18962
|
+
enhanceHighlight: {
|
|
18963
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
18964
|
+
placeholder?: string;
|
|
18965
|
+
}) => ReturnType;
|
|
18966
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
18965
18967
|
};
|
|
18966
18968
|
}
|
|
18967
18969
|
}
|