@factorialco/f0-react 1.347.0 → 1.348.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
@@ -1,15 +1,22 @@
1
+ import { AgentState } from '@livekit/components-react';
1
2
  import { AIMessage } from '@copilotkit/shared';
2
3
  import { AssistantMessageProps } from '@copilotkit/react-ui';
4
+ import { ClassValue } from 'cva';
5
+ import { ComponentProps } from 'react';
3
6
  import { Context } from 'react';
4
7
  import { CopilotKitProps } from '@copilotkit/react-core';
5
8
  import { ForwardRefExoticComponent } from 'react';
6
9
  import { JSX as JSX_2 } from 'react';
10
+ import { LocalAudioTrack } from 'livekit-client';
7
11
  import { Message } from '@copilotkit/shared';
8
12
  import { MessagesProps } from '@copilotkit/react-ui';
9
13
  import { ReactNode } from 'react';
10
14
  import { RefAttributes } from 'react';
15
+ import { RemoteAudioTrack } from 'livekit-client';
11
16
  import { SVGProps } from 'react';
12
17
  import * as SwitchPrimitive from '@radix-ui/react-switch';
18
+ import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
19
+ import { VariantProps } from 'cva';
13
20
 
14
21
  export declare function A({ children, ...props }: React.AnchorHTMLAttributes<HTMLAnchorElement>): JSX_2.Element;
15
22
 
@@ -17,6 +24,8 @@ export declare type ActionItemStatus = (typeof actionItemStatuses)[number];
17
24
 
18
25
  export declare const actionItemStatuses: readonly ["inProgress", "executing", "completed"];
19
26
 
27
+ /* Excluded from this release type: AgentState */
28
+
20
29
  /**
21
30
  * Props for the AiChatProvider component
22
31
  */
@@ -752,6 +761,28 @@ export declare interface F0AiCollapsibleMessageProps {
752
761
  */
753
762
  export declare const F0AiFullscreenChat: () => JSX_2.Element | null;
754
763
 
764
+ export declare function F0AuraVoiceAnimation({ size, state, color, colorShift, audioTrack, themeMode, className, ref, ...props }: F0AuraVoiceAnimationProps & ComponentProps<"div"> & VariantProps<typeof F0AuraVoiceAnimationVariants>): JSX_2.Element;
765
+
766
+ export declare interface F0AuraVoiceAnimationProps {
767
+ className?: string;
768
+ size?: "icon" | "sm" | "md" | "lg" | "xl";
769
+ state?: AgentState;
770
+ color?: string;
771
+ colorShift?: number;
772
+ themeMode?: "dark" | "light";
773
+ audioTrack?: LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder;
774
+ }
775
+
776
+ declare const F0AuraVoiceAnimationVariants: (props?: ({
777
+ size?: "lg" | "md" | "sm" | "icon" | "xl" | undefined;
778
+ } & ({
779
+ class?: ClassValue;
780
+ className?: never;
781
+ } | {
782
+ class?: never;
783
+ className?: ClassValue;
784
+ })) | undefined) => string;
785
+
755
786
  export declare const F0HILActionConfirmation: ({ text, confirmationText, onConfirm, cancelText, onCancel, }: F0HILActionConfirmationProps) => JSX_2.Element;
756
787
 
757
788
  /**
package/dist/ai.js CHANGED
@@ -1,9 +1,9 @@
1
- import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as h, t as F, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-Bdcyd2yl.js";
1
+ import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-zZ3n4mtZ.js";
2
2
  import { defaultTranslations as R } from "./i18n-provider-defaults.js";
3
- import { A as G, F as J, b as K, a as N, o as Q, u as V } from "./F0HILActionConfirmation-VQ_C8zDh.js";
3
+ import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-vCrEe127.js";
4
4
  export {
5
5
  e as A,
6
- G as AiChatTranslationsProvider,
6
+ y as AiChatTranslationsProvider,
7
7
  o as Blockquote,
8
8
  t as ChatSpinner,
9
9
  n as Em,
@@ -13,9 +13,10 @@ export {
13
13
  c as F0AiChatTextArea,
14
14
  A as F0AiCollapsibleMessage,
15
15
  u as F0AiFullscreenChat,
16
+ G as F0AuraVoiceAnimation,
16
17
  J as F0HILActionConfirmation,
17
- h as F0MessageSources,
18
- F as F0OneIcon,
18
+ F as F0MessageSources,
19
+ h as F0OneIcon,
19
20
  C as F0OneSwitch,
20
21
  T as F0Thinking,
21
22
  d as FullscreenChatContext,
@@ -41,7 +42,7 @@ export {
41
42
  L as f0MarkdownRenderers,
42
43
  Q as oneIconSizes,
43
44
  q as useAiChat,
44
- V as useAiChatTranslations,
45
+ W as useAiChatTranslations,
45
46
  B as useDefaultCopilotActions,
46
47
  U as useI18n,
47
48
  j as useMessageSourcesAction,