@factorialco/f0-react 2.6.2 → 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 CHANGED
@@ -3713,12 +3713,12 @@ declare global {
3713
3713
  }
3714
3714
 
3715
3715
 
3716
- declare namespace _Page {
3716
+ declare namespace _DaytimePage {
3717
3717
  var displayName: string;
3718
3718
  }
3719
3719
 
3720
3720
 
3721
- declare namespace _DaytimePage {
3721
+ declare namespace _Page {
3722
3722
  var displayName: string;
3723
3723
  }
3724
3724
 
@@ -3747,9 +3747,9 @@ declare namespace Calendar {
3747
3747
 
3748
3748
  declare module "@tiptap/core" {
3749
3749
  interface Commands<ReturnType> {
3750
- enhanceHighlight: {
3751
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
3752
- clearEnhanceHighlight: () => ReturnType;
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
- aiBlock: {
3761
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
3762
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
3760
+ enhanceHighlight: {
3761
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
3762
+ clearEnhanceHighlight: () => ReturnType;
3763
3763
  };
3764
3764
  }
3765
3765
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { d as o, l as r, k as e, F as t, a as n, C as i, b as d, m as C, n as F, e as l, h as m, I as u, g as h, c as A, i as D, u as c, j as v, f as I } from "./useDataCollectionSource-DRE8x9t0.js";
2
2
  import { defaultTranslations as b } from "./i18n-provider-defaults.js";
3
- import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-B0qT-XmB.js";
3
+ import { A as p, C as P, c as S, D as T, a as w, b as x, e as H, f as M, g as V, h as k, p as j, l as y, r as O, m as q, n as z, i as B, F as E, d as L, M as W, k as G, j as J, q as K, o as N, s as Q, u as R } from "./F0AiProposalCard-CsyaQRNb.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  o as CanvasCard,
@@ -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 = {
@@ -8231,12 +8235,12 @@ declare global {
8231
8235
  }
8232
8236
 
8233
8237
 
8234
- declare namespace _Page {
8238
+ declare namespace _DaytimePage {
8235
8239
  var displayName: string;
8236
8240
  }
8237
8241
 
8238
8242
 
8239
- declare namespace _DaytimePage {
8243
+ declare namespace _Page {
8240
8244
  var displayName: string;
8241
8245
  }
8242
8246
 
@@ -8265,9 +8269,9 @@ declare namespace Calendar {
8265
8269
 
8266
8270
  declare module "@tiptap/core" {
8267
8271
  interface Commands<ReturnType> {
8268
- enhanceHighlight: {
8269
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8270
- clearEnhanceHighlight: () => ReturnType;
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
- aiBlock: {
8279
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8280
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8282
+ enhanceHighlight: {
8283
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8284
+ clearEnhanceHighlight: () => ReturnType;
8281
8285
  };
8282
8286
  }
8283
8287
  }