@factorialco/f0-react 1.423.0 → 1.424.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,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 "./registry-Cfsd-zAT.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 "./registry-DuKzJwXp.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.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 "./registry-Cfsd-zAT.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 "./registry-DuKzJwXp.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-CcDsCCLa.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-Ubb7Zvx9.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -3023,7 +3023,7 @@ declare type DropdownProps = Omit<DropdownInternalProps, (typeof privateProps_4)
3023
3023
  } & WithDataTestIdProps;
3024
3024
 
3025
3025
  /** The edit mode for a column cell in the editable table. */
3026
- declare type EditableTableCellEditType = "text" | "date" | "select" | "multiselect" | "display-only" | "disabled";
3026
+ declare type EditableTableCellEditType = "text" | "number" | "date" | "select" | "multiselect" | "display-only" | "disabled";
3027
3027
 
3028
3028
  declare type EditableTableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, EditableTableVisualizationOptions<R, Filters, Sortings, Summaries>>;
3029
3029
 
@@ -3055,6 +3055,12 @@ declare type EditableTableColumnDefinition<R extends RecordType, Sortings extend
3055
3055
  * function whose return value isn't statically known.
3056
3056
  */
3057
3057
  selectConfig?: SelectCellConfig<R>;
3058
+ /**
3059
+ * Configuration for `"number"` cells. Accepts constraints (`min`, `max`),
3060
+ * stepping (`step`), formatting (`maxDecimals`, `locale`), and units.
3061
+ * Falls back to sensible defaults when omitted.
3062
+ */
3063
+ numberConfig?: NumberCellConfig;
3058
3064
  };
3059
3065
 
3060
3066
  declare type EditableTableVisualizationOptions<R extends RecordType, _Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = Omit<TableVisualizationOptions<R, _Filters, Sortings, Summaries>, "columns"> & {
@@ -4832,6 +4838,15 @@ export declare interface NotesTextEditorSkeletonProps {
4832
4838
  withToolbar?: boolean;
4833
4839
  }
4834
4840
 
4841
+ declare type NumberCellConfig = {
4842
+ min?: number;
4843
+ max?: number;
4844
+ step?: number;
4845
+ maxDecimals?: number;
4846
+ locale?: string;
4847
+ units?: string;
4848
+ };
4849
+
4835
4850
  export declare type NumberFilterDefinition = BaseFilterDefinition<"number"> & {
4836
4851
  options?: NumberFilterOptions_2;
4837
4852
  };