@factorialco/f0-react 2.7.0 → 2.8.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/experimental.d.ts +12 -8
- package/dist/experimental.js +1470 -1400
- package/dist/f0.d.ts +6 -6
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3747,9 +3747,9 @@ declare namespace Calendar {
|
|
|
3747
3747
|
|
|
3748
3748
|
declare module "@tiptap/core" {
|
|
3749
3749
|
interface Commands<ReturnType> {
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3750
|
+
aiBlock: {
|
|
3751
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
3752
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
3753
3753
|
};
|
|
3754
3754
|
}
|
|
3755
3755
|
}
|
|
@@ -3757,9 +3757,9 @@ declare module "@tiptap/core" {
|
|
|
3757
3757
|
|
|
3758
3758
|
declare module "@tiptap/core" {
|
|
3759
3759
|
interface Commands<ReturnType> {
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3760
|
+
enhanceHighlight: {
|
|
3761
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
3762
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
3763
3763
|
};
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
package/dist/experimental.d.ts
CHANGED
|
@@ -938,7 +938,7 @@ declare interface BaseChipProps extends VariantProps<typeof chipVariants> {
|
|
|
938
938
|
|
|
939
939
|
declare type BaseColor = keyof typeof baseColors;
|
|
940
940
|
|
|
941
|
-
export declare const BaseCommunityPost: ({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, }: CommunityPostProps) => JSX_2.Element;
|
|
941
|
+
export declare const BaseCommunityPost: ({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, descriptionExpandable, }: CommunityPostProps) => JSX_2.Element;
|
|
942
942
|
|
|
943
943
|
/**
|
|
944
944
|
* Base data adapter configuration for non-paginated collections
|
|
@@ -2102,7 +2102,7 @@ values: {
|
|
|
2102
2102
|
}) => void) | undefined;
|
|
2103
2103
|
} & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
|
|
2104
2104
|
|
|
2105
|
-
export declare const CommunityPost: (({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, }: CommunityPostProps) => JSX_2.Element) & {
|
|
2105
|
+
export declare const CommunityPost: (({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, descriptionExpandable, }: CommunityPostProps) => JSX_2.Element) & {
|
|
2106
2106
|
Skeleton: ({ withEvent, withImage, }: CommunityPostSkeletonProps) => JSX_2.Element;
|
|
2107
2107
|
};
|
|
2108
2108
|
|
|
@@ -2144,6 +2144,7 @@ export declare type CommunityPostProps = {
|
|
|
2144
2144
|
onClick: (id: string) => void;
|
|
2145
2145
|
noReactionsButton?: boolean;
|
|
2146
2146
|
dropdownItems?: DropdownItem[];
|
|
2147
|
+
descriptionExpandable?: boolean;
|
|
2147
2148
|
};
|
|
2148
2149
|
|
|
2149
2150
|
export declare const CommunityPostSkeleton: ({ withEvent, withImage, }: CommunityPostSkeletonProps) => JSX_2.Element;
|
|
@@ -6399,6 +6400,9 @@ declare interface PieComputation {
|
|
|
6399
6400
|
declare type PostDescriptionProps = {
|
|
6400
6401
|
content: HTMLString;
|
|
6401
6402
|
collapsed?: boolean;
|
|
6403
|
+
id?: string;
|
|
6404
|
+
className?: string;
|
|
6405
|
+
tabIndex?: number;
|
|
6402
6406
|
};
|
|
6403
6407
|
|
|
6404
6408
|
declare type PostEventProps = {
|
|
@@ -8265,9 +8269,9 @@ declare namespace Calendar {
|
|
|
8265
8269
|
|
|
8266
8270
|
declare module "@tiptap/core" {
|
|
8267
8271
|
interface Commands<ReturnType> {
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8272
|
+
aiBlock: {
|
|
8273
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
8274
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
8271
8275
|
};
|
|
8272
8276
|
}
|
|
8273
8277
|
}
|
|
@@ -8275,9 +8279,9 @@ declare module "@tiptap/core" {
|
|
|
8275
8279
|
|
|
8276
8280
|
declare module "@tiptap/core" {
|
|
8277
8281
|
interface Commands<ReturnType> {
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8282
|
+
enhanceHighlight: {
|
|
8283
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
8284
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
8281
8285
|
};
|
|
8282
8286
|
}
|
|
8283
8287
|
}
|