@factorialco/f0-react 5.0.1 → 6.1.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 +6 -6
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +6 -6
- package/dist/f0.d.ts +17 -11
- package/dist/f0.js +3779 -3798
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -11974,8 +11974,10 @@ declare module "@tiptap/core" {
|
|
|
11974
11974
|
|
|
11975
11975
|
declare module "@tiptap/core" {
|
|
11976
11976
|
interface Commands<ReturnType> {
|
|
11977
|
-
|
|
11978
|
-
|
|
11977
|
+
indent: {
|
|
11978
|
+
setIndent: (level: number) => ReturnType;
|
|
11979
|
+
unsetIndent: () => ReturnType;
|
|
11980
|
+
outdent: () => ReturnType;
|
|
11979
11981
|
};
|
|
11980
11982
|
}
|
|
11981
11983
|
}
|
|
@@ -11983,10 +11985,8 @@ declare module "@tiptap/core" {
|
|
|
11983
11985
|
|
|
11984
11986
|
declare module "@tiptap/core" {
|
|
11985
11987
|
interface Commands<ReturnType> {
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
unsetIndent: () => ReturnType;
|
|
11989
|
-
outdent: () => ReturnType;
|
|
11988
|
+
moodTracker: {
|
|
11989
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
11990
11990
|
};
|
|
11991
11991
|
}
|
|
11992
11992
|
}
|
package/dist/f0.d.ts
CHANGED
|
@@ -3880,11 +3880,15 @@ declare type DataAttributes_2 = {
|
|
|
3880
3880
|
* + render-prop) into rendered output. Used internally by `F0DataChart` and
|
|
3881
3881
|
* reused by dashboard wrappers when data is absent.
|
|
3882
3882
|
*/
|
|
3883
|
-
export declare const DataChartEmptyStateView: ({
|
|
3883
|
+
export declare const DataChartEmptyStateView: ({ emptyState, }: DataChartEmptyStateViewProps) => JSX_2.Element;
|
|
3884
3884
|
|
|
3885
3885
|
declare interface DataChartEmptyStateViewProps {
|
|
3886
|
-
/**
|
|
3887
|
-
|
|
3886
|
+
/**
|
|
3887
|
+
* @deprecated No longer used — the empty state renders text only. Remove the prop.
|
|
3888
|
+
* @removeIn 5.0.0
|
|
3889
|
+
* @migration https://github.com/factorialco/f0/blob/main/packages/react/docs/migrations/f0-datachart-emptystate-charttype-removal.md
|
|
3890
|
+
*/
|
|
3891
|
+
chartType?: F0DataChartProps["type"];
|
|
3888
3892
|
emptyState?: F0DataChartEmptyStateProps;
|
|
3889
3893
|
}
|
|
3890
3894
|
|
|
@@ -17396,7 +17400,9 @@ export declare type ToastOptions = {
|
|
|
17396
17400
|
id?: ToastId;
|
|
17397
17401
|
} & ({
|
|
17398
17402
|
/**
|
|
17399
|
-
* The duration of the toast in milliseconds
|
|
17403
|
+
* The duration of the toast in milliseconds. Defaults to 5000ms, or
|
|
17404
|
+
* 10000ms when the toast has an action (more time to read and reach it).
|
|
17405
|
+
* Use `persistent: true` to keep it open until the user closes it.
|
|
17400
17406
|
* @default 5000
|
|
17401
17407
|
*/
|
|
17402
17408
|
duration?: number;
|
|
@@ -17453,7 +17459,7 @@ export declare const toasts: {
|
|
|
17453
17459
|
closeAll: () => void;
|
|
17454
17460
|
};
|
|
17455
17461
|
|
|
17456
|
-
declare const toastVariants: readonly ["error", "warning", "success", "default"];
|
|
17462
|
+
declare const toastVariants: readonly ["error", "warning", "success", "loading", "default"];
|
|
17457
17463
|
|
|
17458
17464
|
/** A button rendered in the footer at the bottom of the table of contents */
|
|
17459
17465
|
declare type TOCAction = {
|
|
@@ -18969,8 +18975,10 @@ declare module "@tiptap/core" {
|
|
|
18969
18975
|
|
|
18970
18976
|
declare module "@tiptap/core" {
|
|
18971
18977
|
interface Commands<ReturnType> {
|
|
18972
|
-
|
|
18973
|
-
|
|
18978
|
+
indent: {
|
|
18979
|
+
setIndent: (level: number) => ReturnType;
|
|
18980
|
+
unsetIndent: () => ReturnType;
|
|
18981
|
+
outdent: () => ReturnType;
|
|
18974
18982
|
};
|
|
18975
18983
|
}
|
|
18976
18984
|
}
|
|
@@ -18978,10 +18986,8 @@ declare module "@tiptap/core" {
|
|
|
18978
18986
|
|
|
18979
18987
|
declare module "@tiptap/core" {
|
|
18980
18988
|
interface Commands<ReturnType> {
|
|
18981
|
-
|
|
18982
|
-
|
|
18983
|
-
unsetIndent: () => ReturnType;
|
|
18984
|
-
outdent: () => ReturnType;
|
|
18989
|
+
moodTracker: {
|
|
18990
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
18985
18991
|
};
|
|
18986
18992
|
}
|
|
18987
18993
|
}
|