@factorialco/f0-react 1.367.0 → 1.368.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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as X, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as Xe, createContext as ke, useContext as $e, useRef as _, useEffect as ne, useState as _e, useCallback as ze, useMemo as Ye } from "react";
3
- import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-hgYSsd3K.js";
3
+ import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-3B4UugKL.js";
4
4
  import { useTrackVolume as pt } from "@livekit/components-react";
5
5
  function vt(t, e, r) {
6
6
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -1156,9 +1156,9 @@ declare namespace Calendar {
1156
1156
 
1157
1157
  declare module "@tiptap/core" {
1158
1158
  interface Commands<ReturnType> {
1159
- enhanceHighlight: {
1160
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
1161
- clearEnhanceHighlight: () => ReturnType;
1159
+ aiBlock: {
1160
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1161
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1162
1162
  };
1163
1163
  }
1164
1164
  }
@@ -1166,8 +1166,9 @@ declare module "@tiptap/core" {
1166
1166
 
1167
1167
  declare module "@tiptap/core" {
1168
1168
  interface Commands<ReturnType> {
1169
- moodTracker: {
1170
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1169
+ enhanceHighlight: {
1170
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
1171
+ clearEnhanceHighlight: () => ReturnType;
1171
1172
  };
1172
1173
  }
1173
1174
  }
@@ -1175,9 +1176,8 @@ declare module "@tiptap/core" {
1175
1176
 
1176
1177
  declare module "@tiptap/core" {
1177
1178
  interface Commands<ReturnType> {
1178
- aiBlock: {
1179
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1180
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1179
+ moodTracker: {
1180
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1181
1181
  };
1182
1182
  }
1183
1183
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
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-hgYSsd3K.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-3B4UugKL.js";
2
2
  import { defaultTranslations as R } from "./i18n-provider-defaults.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-jfsj-ueP.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-CZTSs7VF.js";
4
4
  export {
5
5
  e as A,
6
6
  y as AiChatTranslationsProvider,
@@ -3162,7 +3162,7 @@ declare type F0SelectItemObject<T, R = unknown> = {
3162
3162
  label: string;
3163
3163
  description?: string;
3164
3164
  avatar?: AvatarVariant;
3165
- tag?: string;
3165
+ tag?: F0SelectTagProp;
3166
3166
  icon?: IconType;
3167
3167
  item?: R;
3168
3168
  disabled?: boolean;
@@ -3234,6 +3234,12 @@ declare type F0SelectProps<T extends string, R = unknown> = F0SelectBaseProps<T,
3234
3234
  export { F0SelectProps }
3235
3235
  export { F0SelectProps as SelectProps }
3236
3236
 
3237
+ export declare type F0SelectTagProp = string | {
3238
+ type: "dot";
3239
+ text: string;
3240
+ color: NewColor;
3241
+ };
3242
+
3237
3243
  /**
3238
3244
  * @experimental This is an experimental component use it at your own risk
3239
3245
  */
@@ -6636,9 +6642,9 @@ declare namespace Calendar {
6636
6642
 
6637
6643
  declare module "@tiptap/core" {
6638
6644
  interface Commands<ReturnType> {
6639
- enhanceHighlight: {
6640
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
6641
- clearEnhanceHighlight: () => ReturnType;
6645
+ aiBlock: {
6646
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6647
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6642
6648
  };
6643
6649
  }
6644
6650
  }
@@ -6646,8 +6652,9 @@ declare module "@tiptap/core" {
6646
6652
 
6647
6653
  declare module "@tiptap/core" {
6648
6654
  interface Commands<ReturnType> {
6649
- moodTracker: {
6650
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6655
+ enhanceHighlight: {
6656
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
6657
+ clearEnhanceHighlight: () => ReturnType;
6651
6658
  };
6652
6659
  }
6653
6660
  }
@@ -6655,9 +6662,8 @@ declare module "@tiptap/core" {
6655
6662
 
6656
6663
  declare module "@tiptap/core" {
6657
6664
  interface Commands<ReturnType> {
6658
- aiBlock: {
6659
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6660
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6665
+ moodTracker: {
6666
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6661
6667
  };
6662
6668
  }
6663
6669
  }