@factorialco/f0-react 2.2.0 → 2.3.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/experimental.d.ts +8 -8
- package/dist/f0.d.ts +41 -8
- package/dist/f0.js +1209 -1152
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3717,8 +3717,8 @@ declare module "@tiptap/core" {
|
|
|
3717
3717
|
|
|
3718
3718
|
declare module "@tiptap/core" {
|
|
3719
3719
|
interface Commands<ReturnType> {
|
|
3720
|
-
|
|
3721
|
-
|
|
3720
|
+
moodTracker: {
|
|
3721
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
3722
3722
|
};
|
|
3723
3723
|
}
|
|
3724
3724
|
}
|
|
@@ -3726,10 +3726,8 @@ declare module "@tiptap/core" {
|
|
|
3726
3726
|
|
|
3727
3727
|
declare module "@tiptap/core" {
|
|
3728
3728
|
interface Commands<ReturnType> {
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
src: string;
|
|
3732
|
-
}) => ReturnType;
|
|
3729
|
+
transcript: {
|
|
3730
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
3733
3731
|
};
|
|
3734
3732
|
}
|
|
3735
3733
|
}
|
|
@@ -3737,8 +3735,10 @@ declare module "@tiptap/core" {
|
|
|
3737
3735
|
|
|
3738
3736
|
declare module "@tiptap/core" {
|
|
3739
3737
|
interface Commands<ReturnType> {
|
|
3740
|
-
|
|
3741
|
-
|
|
3738
|
+
videoEmbed: {
|
|
3739
|
+
setVideoEmbed: (options: {
|
|
3740
|
+
src: string;
|
|
3741
|
+
}) => ReturnType;
|
|
3742
3742
|
};
|
|
3743
3743
|
}
|
|
3744
3744
|
}
|
package/dist/experimental.d.ts
CHANGED
|
@@ -8239,8 +8239,8 @@ declare module "@tiptap/core" {
|
|
|
8239
8239
|
|
|
8240
8240
|
declare module "@tiptap/core" {
|
|
8241
8241
|
interface Commands<ReturnType> {
|
|
8242
|
-
|
|
8243
|
-
|
|
8242
|
+
moodTracker: {
|
|
8243
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
8244
8244
|
};
|
|
8245
8245
|
}
|
|
8246
8246
|
}
|
|
@@ -8248,10 +8248,8 @@ declare module "@tiptap/core" {
|
|
|
8248
8248
|
|
|
8249
8249
|
declare module "@tiptap/core" {
|
|
8250
8250
|
interface Commands<ReturnType> {
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
src: string;
|
|
8254
|
-
}) => ReturnType;
|
|
8251
|
+
transcript: {
|
|
8252
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
8255
8253
|
};
|
|
8256
8254
|
}
|
|
8257
8255
|
}
|
|
@@ -8259,8 +8257,10 @@ declare module "@tiptap/core" {
|
|
|
8259
8257
|
|
|
8260
8258
|
declare module "@tiptap/core" {
|
|
8261
8259
|
interface Commands<ReturnType> {
|
|
8262
|
-
|
|
8263
|
-
|
|
8260
|
+
videoEmbed: {
|
|
8261
|
+
setVideoEmbed: (options: {
|
|
8262
|
+
src: string;
|
|
8263
|
+
}) => ReturnType;
|
|
8264
8264
|
};
|
|
8265
8265
|
}
|
|
8266
8266
|
}
|
package/dist/f0.d.ts
CHANGED
|
@@ -1059,6 +1059,16 @@ export declare const aiTranslations: {
|
|
|
1059
1059
|
};
|
|
1060
1060
|
};
|
|
1061
1061
|
|
|
1062
|
+
declare type AlertAction = {
|
|
1063
|
+
label: string;
|
|
1064
|
+
onRequest: UpsellingButtonProps["onRequest"];
|
|
1065
|
+
errorMessage: UpsellingButtonProps["errorMessage"];
|
|
1066
|
+
successMessage: UpsellingButtonProps["successMessage"];
|
|
1067
|
+
loadingState: UpsellingButtonProps["loadingState"];
|
|
1068
|
+
nextSteps: UpsellingButtonProps["nextSteps"];
|
|
1069
|
+
closeLabel: UpsellingButtonProps["closeLabel"];
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1062
1072
|
export declare type AlertAvatarProps = VariantProps<typeof alertAvatarVariants> & {
|
|
1063
1073
|
type: (typeof alertAvatarTypes)[number];
|
|
1064
1074
|
size?: (typeof alertAvatarSizes)[number];
|
|
@@ -13464,6 +13474,29 @@ declare type UpsellAction = BaseAction & {
|
|
|
13464
13474
|
showConfirmation: boolean;
|
|
13465
13475
|
};
|
|
13466
13476
|
|
|
13477
|
+
export declare const UpsellingAlert: WithDataTestIdReturnType_4<typeof _UpsellingAlert>;
|
|
13478
|
+
|
|
13479
|
+
declare function _UpsellingAlert({ icon, title, description, action, }: UpsellingAlertProps): JSX_2.Element;
|
|
13480
|
+
|
|
13481
|
+
export declare interface UpsellingAlertProps {
|
|
13482
|
+
/**
|
|
13483
|
+
* Optional icon displayed as an avatar on the left side of the alert.
|
|
13484
|
+
*/
|
|
13485
|
+
icon?: IconType;
|
|
13486
|
+
/**
|
|
13487
|
+
* The title of the alert
|
|
13488
|
+
*/
|
|
13489
|
+
title: string;
|
|
13490
|
+
/**
|
|
13491
|
+
* The description of the alert
|
|
13492
|
+
*/
|
|
13493
|
+
description?: string;
|
|
13494
|
+
/**
|
|
13495
|
+
* The upselling action button configuration.
|
|
13496
|
+
*/
|
|
13497
|
+
action: AlertAction;
|
|
13498
|
+
}
|
|
13499
|
+
|
|
13467
13500
|
export declare const UpsellingBanner: WithDataTestIdReturnType_4<ForwardRefExoticComponent<Omit<BaseBannerProps, "children" | "primaryAction" | "secondaryAction"> & {
|
|
13468
13501
|
primaryAction?: DefaultAction | PromoteAction;
|
|
13469
13502
|
secondaryAction?: DefaultAction | PromoteAction;
|
|
@@ -14385,8 +14418,8 @@ declare module "@tiptap/core" {
|
|
|
14385
14418
|
|
|
14386
14419
|
declare module "@tiptap/core" {
|
|
14387
14420
|
interface Commands<ReturnType> {
|
|
14388
|
-
|
|
14389
|
-
|
|
14421
|
+
moodTracker: {
|
|
14422
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
14390
14423
|
};
|
|
14391
14424
|
}
|
|
14392
14425
|
}
|
|
@@ -14394,10 +14427,8 @@ declare module "@tiptap/core" {
|
|
|
14394
14427
|
|
|
14395
14428
|
declare module "@tiptap/core" {
|
|
14396
14429
|
interface Commands<ReturnType> {
|
|
14397
|
-
|
|
14398
|
-
|
|
14399
|
-
src: string;
|
|
14400
|
-
}) => ReturnType;
|
|
14430
|
+
transcript: {
|
|
14431
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
14401
14432
|
};
|
|
14402
14433
|
}
|
|
14403
14434
|
}
|
|
@@ -14405,8 +14436,10 @@ declare module "@tiptap/core" {
|
|
|
14405
14436
|
|
|
14406
14437
|
declare module "@tiptap/core" {
|
|
14407
14438
|
interface Commands<ReturnType> {
|
|
14408
|
-
|
|
14409
|
-
|
|
14439
|
+
videoEmbed: {
|
|
14440
|
+
setVideoEmbed: (options: {
|
|
14441
|
+
src: string;
|
|
14442
|
+
}) => ReturnType;
|
|
14410
14443
|
};
|
|
14411
14444
|
}
|
|
14412
14445
|
}
|