@factorialco/f0-react 1.438.1 → 1.438.3

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.
@@ -1,7 +1,7 @@
1
1
  import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
2
2
  import { jsx as q, jsxs as le } from "react/jsx-runtime";
3
3
  import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
4
- import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-DqqfCgbK.js";
4
+ import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-Cv0j7lo_.js";
5
5
  import { useTrackVolume as wt } from "@livekit/components-react";
6
6
  function Tt(t, e, r) {
7
7
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -2005,10 +2005,8 @@ declare module "@tiptap/core" {
2005
2005
 
2006
2006
  declare module "@tiptap/core" {
2007
2007
  interface Commands<ReturnType> {
2008
- videoEmbed: {
2009
- setVideoEmbed: (options: {
2010
- src: string;
2011
- }) => ReturnType;
2008
+ transcript: {
2009
+ insertTranscript: (data: TranscriptData) => ReturnType;
2012
2010
  };
2013
2011
  }
2014
2012
  }
@@ -2016,8 +2014,10 @@ declare module "@tiptap/core" {
2016
2014
 
2017
2015
  declare module "@tiptap/core" {
2018
2016
  interface Commands<ReturnType> {
2019
- transcript: {
2020
- insertTranscript: (data: TranscriptData) => ReturnType;
2017
+ videoEmbed: {
2018
+ setVideoEmbed: (options: {
2019
+ src: string;
2020
+ }) => ReturnType;
2021
2021
  };
2022
2022
  }
2023
2023
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-DqqfCgbK.js";
1
+ import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-Cv0j7lo_.js";
2
2
  import { defaultTranslations as d } from "./i18n-provider-defaults.js";
3
- import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-BdjYxiC3.js";
3
+ import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-DDhZML5m.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -107,12 +107,14 @@ import { TagType } from './experimental';
107
107
  import { TeamCellValue } from './types/team';
108
108
  import { TeamCellValue as TeamCellValue_2 } from './experimental';
109
109
  import { TeamItemProps } from './types';
110
+ import { TextareaHTMLAttributes } from 'react';
110
111
  import { TextCellValue } from './types/text';
111
112
  import { TextCellValue as TextCellValue_2 } from './experimental';
112
113
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
113
114
  import { ValueDisplayRendererContext as ValueDisplayRendererContext_2 } from './experimental';
114
115
  import { VariantProps } from 'cva';
115
116
  import { VerticalBarChartProps } from './experimental';
117
+ import { VirtualItem } from '@tanstack/react-virtual';
116
118
  import { WidgetProps as WidgetProps_2 } from './experimental';
117
119
  import { WithDataTestIdProps as WithDataTestIdProps_2 } from './experimental';
118
120
  import { WithDataTestIdReturnType } from './experimental';
@@ -3121,7 +3123,7 @@ export declare interface DetailsItemType {
3121
3123
  spacingAtTheBottom?: boolean;
3122
3124
  }
3123
3125
 
3124
- export declare const Dialog: WithDataTestIdReturnType_5<ForwardRefExoticComponent<Omit<DialogProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
3126
+ export declare const Dialog: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Omit<DialogProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>>;
3125
3127
 
3126
3128
  declare type DialogProps = {
3127
3129
  header: {
@@ -6025,7 +6027,14 @@ declare interface ReactionProps {
6025
6027
  onInteraction?: (emoji: string) => void;
6026
6028
  }
6027
6029
 
6028
- declare interface ReactionsProps {
6030
+ /**
6031
+ * @experimental This is an experimental component use it at your own risk
6032
+ */
6033
+ export declare const Reactions: typeof _Reactions;
6034
+
6035
+ declare function _Reactions({ items, onInteraction, locale, action }: ReactionsProps): JSX_2.Element;
6036
+
6037
+ export declare interface ReactionsProps {
6029
6038
  items: ReactionProps[];
6030
6039
  onInteraction?: (emoji: string) => void;
6031
6040
  locale?: string;
@@ -6809,11 +6818,13 @@ declare type TeamTagProps = ComponentProps<typeof F0TagTeam>;
6809
6818
  */
6810
6819
  export declare const Textarea: FC<TextareaProps>;
6811
6820
 
6812
- declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
6813
- value?: string;
6814
- } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "size" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "loading" | "maxLength" | "placeholder" | "required" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
6821
+ declare const Textarea_2: ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
6822
+ value?: string;
6823
+ /** Maximum height in pixels. When set, the textarea scrolls beyond this height instead of growing. */
6824
+ maxHeight?: number;
6825
+ } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "size" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "loading" | "maxLength" | "placeholder" | "required" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & RefAttributes<HTMLTextAreaElement>>;
6815
6826
 
6816
- export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading" | "required">;
6827
+ export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading" | "required" | "maxHeight">;
6817
6828
 
6818
6829
  declare const THEMES: {
6819
6830
  readonly light: "";
@@ -7206,6 +7217,19 @@ declare const VerticalOverflowList: {
7206
7217
  displayName: string;
7207
7218
  };
7208
7219
 
7220
+ /**
7221
+ * @experimental This is an experimental component use it at your own risk
7222
+ */
7223
+ export declare const VirtualList: default_2.ForwardRefExoticComponent<VirtualListProps & default_2.RefAttributes<HTMLDivElement>>;
7224
+
7225
+ declare type VirtualListProps = {
7226
+ height: number;
7227
+ itemCount: number;
7228
+ itemSize: number | ((index: number) => number);
7229
+ renderer: (item: VirtualItem) => JSX.Element;
7230
+ className?: string;
7231
+ };
7232
+
7209
7233
  declare type VisualizacionTypeDefinition<Props, Settings = Record<string, never>> = {
7210
7234
  render: (props: Props) => JSX.Element;
7211
7235
  name: string;
@@ -7553,10 +7577,8 @@ declare module "@tiptap/core" {
7553
7577
 
7554
7578
  declare module "@tiptap/core" {
7555
7579
  interface Commands<ReturnType> {
7556
- videoEmbed: {
7557
- setVideoEmbed: (options: {
7558
- src: string;
7559
- }) => ReturnType;
7580
+ transcript: {
7581
+ insertTranscript: (data: TranscriptData) => ReturnType;
7560
7582
  };
7561
7583
  }
7562
7584
  }
@@ -7564,8 +7586,10 @@ declare module "@tiptap/core" {
7564
7586
 
7565
7587
  declare module "@tiptap/core" {
7566
7588
  interface Commands<ReturnType> {
7567
- transcript: {
7568
- insertTranscript: (data: TranscriptData) => ReturnType;
7589
+ videoEmbed: {
7590
+ setVideoEmbed: (options: {
7591
+ src: string;
7592
+ }) => ReturnType;
7569
7593
  };
7570
7594
  }
7571
7595
  }