@factorialco/f0-react 1.369.4 → 1.370.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/{DataCollectionStorageProvider-DF4gU29_.js → DataCollectionStorageProvider-DNMx-nbW.js} +3434 -3421
- package/dist/DataCollectionStorageProvider.css +1 -1
- package/dist/{F0AiChat-YtnHxZff.js → F0AiChat-DTbfQrsx.js} +177 -176
- package/dist/{F0HILActionConfirmation-C8Qxo7uX.js → F0HILActionConfirmation-X_L4C1FJ.js} +1 -1
- package/dist/ai.d.ts +16 -2
- package/dist/ai.js +2 -2
- package/dist/experimental.css +1 -1
- package/dist/experimental.d.ts +78 -3
- package/dist/experimental.js +5139 -4971
- package/dist/f0.d.ts +16 -2
- package/dist/f0.js +505 -498
- package/dist/i18n-provider-defaults.d.ts +16 -2
- package/dist/i18n-provider-defaults.js +3 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -579,6 +579,10 @@ declare const avatarFileSizes: readonly ["xs", "sm", "md", "lg"];
|
|
|
579
579
|
|
|
580
580
|
declare const avatarIconSizes: readonly ["sm", "md", "lg"];
|
|
581
581
|
|
|
582
|
+
declare type AvatarListSize = (typeof avatarListSizes)[number];
|
|
583
|
+
|
|
584
|
+
declare const avatarListSizes: readonly ["xs", "sm", "md"];
|
|
585
|
+
|
|
582
586
|
declare type AvatarSize = (typeof avatarSizes)[number];
|
|
583
587
|
|
|
584
588
|
declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
@@ -1694,7 +1698,10 @@ declare type Content = (ComponentProps<typeof DataList.Item> & {
|
|
|
1694
1698
|
type: "weekdays";
|
|
1695
1699
|
}) | (ComponentProps<typeof DataList.DotTagItem> & {
|
|
1696
1700
|
type: "dot-tag";
|
|
1697
|
-
})
|
|
1701
|
+
}) | {
|
|
1702
|
+
type: "avatar-list";
|
|
1703
|
+
avatarList: F0AvatarListProps;
|
|
1704
|
+
};
|
|
1698
1705
|
|
|
1699
1706
|
declare type CopyActionType = {
|
|
1700
1707
|
type: "copy";
|
|
@@ -2654,6 +2661,9 @@ declare const defaultTranslations: {
|
|
|
2654
2661
|
readonly ordered: "Ordered";
|
|
2655
2662
|
readonly task: "Task";
|
|
2656
2663
|
readonly details: "Dropdown";
|
|
2664
|
+
readonly video: "Video";
|
|
2665
|
+
readonly videoUrlPrompt: "Enter a YouTube or Vimeo URL";
|
|
2666
|
+
readonly videoUrlInvalid: "Please enter a valid YouTube or Vimeo URL";
|
|
2657
2667
|
readonly link: "Link";
|
|
2658
2668
|
readonly linkPlaceholder: "Enter a link";
|
|
2659
2669
|
readonly groups: {
|
|
@@ -3046,6 +3056,52 @@ declare type F0AvatarIconProps = {
|
|
|
3046
3056
|
size?: (typeof avatarIconSizes)[number];
|
|
3047
3057
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
3048
3058
|
|
|
3059
|
+
declare type F0AvatarListProps = {
|
|
3060
|
+
/**
|
|
3061
|
+
* The size of the avatars in the list.
|
|
3062
|
+
* @default "md"
|
|
3063
|
+
*/
|
|
3064
|
+
size?: AvatarListSize;
|
|
3065
|
+
/**
|
|
3066
|
+
* Whether to hide tooltips in each avatar.
|
|
3067
|
+
* @default false
|
|
3068
|
+
*/
|
|
3069
|
+
noTooltip?: boolean;
|
|
3070
|
+
/**
|
|
3071
|
+
* The maximum number of avatars to display.
|
|
3072
|
+
* @default 3
|
|
3073
|
+
*/
|
|
3074
|
+
max?: number;
|
|
3075
|
+
/**
|
|
3076
|
+
* The remaining number to display.
|
|
3077
|
+
*/
|
|
3078
|
+
remainingCount?: number;
|
|
3079
|
+
/**
|
|
3080
|
+
* The layout of the avatar list.
|
|
3081
|
+
* - "fill" - Avatars will expand to fill the available width, with overflow items shown in a counter
|
|
3082
|
+
* - "compact" - Avatars will be stacked tightly together up to the max limit, with remaining shown in counter
|
|
3083
|
+
* @default "compact"
|
|
3084
|
+
*/
|
|
3085
|
+
layout?: "fill" | "compact";
|
|
3086
|
+
} & F0AvatarListPropsAvatars;
|
|
3087
|
+
|
|
3088
|
+
declare type F0AvatarListPropsAvatars = {
|
|
3089
|
+
type: "person";
|
|
3090
|
+
avatars: (Omit<PersonAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3091
|
+
} | {
|
|
3092
|
+
type: "team";
|
|
3093
|
+
avatars: (Omit<TeamAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3094
|
+
} | {
|
|
3095
|
+
type: "company";
|
|
3096
|
+
avatars: (Omit<CompanyAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3097
|
+
} | {
|
|
3098
|
+
type: "flag";
|
|
3099
|
+
avatars: (Omit<FlagAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3100
|
+
} | {
|
|
3101
|
+
type: "file";
|
|
3102
|
+
avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
|
|
3103
|
+
};
|
|
3104
|
+
|
|
3049
3105
|
/**
|
|
3050
3106
|
* Module avatar
|
|
3051
3107
|
* @description A component that displays a module avatar
|
|
@@ -3342,6 +3398,10 @@ export declare type FileAction = {
|
|
|
3342
3398
|
critical?: boolean;
|
|
3343
3399
|
};
|
|
3344
3400
|
|
|
3401
|
+
declare type FileAvatarVariant = Extract<AvatarVariant, {
|
|
3402
|
+
type: "file";
|
|
3403
|
+
}>;
|
|
3404
|
+
|
|
3345
3405
|
declare type FileDef = {
|
|
3346
3406
|
name: string;
|
|
3347
3407
|
type: string;
|
|
@@ -3510,6 +3570,10 @@ export declare type FilterValue<T extends FilterDefinition> = T extends InFilter
|
|
|
3510
3570
|
*/
|
|
3511
3571
|
export declare type FilterValueByKey<Definition extends Record<string, FilterDefinition>, Key extends keyof Definition> = FilterValue<Definition[Key]>;
|
|
3512
3572
|
|
|
3573
|
+
declare type FlagAvatarVariant = Extract<AvatarVariant, {
|
|
3574
|
+
type: "flag";
|
|
3575
|
+
}>;
|
|
3576
|
+
|
|
3513
3577
|
export declare type FlattenedItem = {
|
|
3514
3578
|
parent: EntitySelectEntity | null;
|
|
3515
3579
|
subItem: EntitySelectSubEntity & {
|
|
@@ -6658,6 +6722,11 @@ declare module "gridstack" {
|
|
|
6658
6722
|
}
|
|
6659
6723
|
|
|
6660
6724
|
|
|
6725
|
+
declare namespace Calendar {
|
|
6726
|
+
var displayName: string;
|
|
6727
|
+
}
|
|
6728
|
+
|
|
6729
|
+
|
|
6661
6730
|
declare module "@tiptap/core" {
|
|
6662
6731
|
interface Commands<ReturnType> {
|
|
6663
6732
|
aiBlock: {
|
|
@@ -6696,6 +6765,12 @@ declare module "@tiptap/core" {
|
|
|
6696
6765
|
}
|
|
6697
6766
|
|
|
6698
6767
|
|
|
6699
|
-
declare
|
|
6700
|
-
|
|
6768
|
+
declare module "@tiptap/core" {
|
|
6769
|
+
interface Commands<ReturnType> {
|
|
6770
|
+
videoEmbed: {
|
|
6771
|
+
setVideoEmbed: (options: {
|
|
6772
|
+
src: string;
|
|
6773
|
+
}) => ReturnType;
|
|
6774
|
+
};
|
|
6775
|
+
}
|
|
6701
6776
|
}
|