@factorialco/f0-react 1.427.1 → 1.427.2

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
@@ -1793,11 +1793,6 @@ declare module "gridstack" {
1793
1793
  }
1794
1794
 
1795
1795
 
1796
- declare namespace Calendar {
1797
- var displayName: string;
1798
- }
1799
-
1800
-
1801
1796
  declare module "@tiptap/core" {
1802
1797
  interface Commands<ReturnType> {
1803
1798
  aiBlock: {
@@ -1845,3 +1840,8 @@ declare module "@tiptap/core" {
1845
1840
  };
1846
1841
  }
1847
1842
  }
1843
+
1844
+
1845
+ declare namespace Calendar {
1846
+ var displayName: string;
1847
+ }
@@ -135,7 +135,9 @@ export declare type ActionBarGroup = {
135
135
 
136
136
  export declare type ActionBarItem = ActionType;
137
137
 
138
- export declare type ActionBarStatus = "idle" | "loading" | "success";
138
+ export declare type ActionBarStatus = (typeof actionBarStatuses)[number];
139
+
140
+ export declare const actionBarStatuses: readonly ["idle", "loading", "success", "error"];
139
141
 
140
142
  declare type ActionBaseProps = ActionCommonProps & DataAttributes;
141
143
 
@@ -3279,6 +3281,7 @@ declare interface F0ActionBarProps {
3279
3281
  * - "idle": Default state, shows an alert icon (pending changes)
3280
3282
  * - "loading": Shows a spinner and disables all actions
3281
3283
  * - "success": Shows a checkmark icon and disables all actions
3284
+ * - "error": Shows an error icon with persistent error styling
3282
3285
  * @default "idle"
3283
3286
  */
3284
3287
  status?: ActionBarStatus;
@@ -7232,11 +7235,6 @@ declare module "gridstack" {
7232
7235
  }
7233
7236
 
7234
7237
 
7235
- declare namespace Calendar {
7236
- var displayName: string;
7237
- }
7238
-
7239
-
7240
7238
  declare module "@tiptap/core" {
7241
7239
  interface Commands<ReturnType> {
7242
7240
  aiBlock: {
@@ -7284,3 +7282,8 @@ declare module "@tiptap/core" {
7284
7282
  };
7285
7283
  }
7286
7284
  }
7285
+
7286
+
7287
+ declare namespace Calendar {
7288
+ var displayName: string;
7289
+ }
@@ -3,8 +3,8 @@ import { eW as WI, eV as VI, eT as UI, aE as GI, eU as KI, aJ as qI, f2 as YI, f
3
3
  import { jsx as c, jsxs as g, Fragment as re } from "react/jsx-runtime";
4
4
  import * as Sn from "react";
5
5
  import z, { PureComponent as Ep, forwardRef as P, useRef as K, useTransition as Tp, useState as R, useLayoutEffect as Ua, useContext as Hs, createContext as Ws, useCallback as J, useMemo as ee, useEffect as V, useId as Ga, useImperativeHandle as Ka, memo as qa, Fragment as Dp, isValidElement as Lp, cloneElement as Ya, Children as Ja } from "react";
6
- import { f as Yt, ac as Nn, e as tr, ad as Rp, L as wi, ae as Op, A as Mp, i as nr, k as Pp, G as Fp, g as Ro, af as zp, j as Oo, n as $p, ag as Xa, ah as Za, ai as Bp, C as jp, aa as Hp, aj as je, ak as ot, al as Ee, am as Wp, an as mr, ao as Ue, ap as Qa, aq as Me, ar as Vs, as as $e, at as Mo, au as Vp, av as ec, aw as Ie, ax as Fe, ay as In, az as Dr, aA as tc, aB as Up, aC as Wt, aD as Gp, aE as Kp, aF as qp, aG as Wn, aH as Vn, aI as Us, aJ as Yp, aK as nc, aL as rc, aM as ic, aN as Jp, aO as sc, aP as oc, aQ as lc, aR as ac, aS as cc, aT as dc, a3 as Po, aU as Xp, aV as Fo, aW as Zp, aX as Qp, aY as em, w as tm, x as nm, z as rm, J as im, K as sm, s as om, aZ as uc, a_ as lm, a$ as am, b0 as cm, b1 as fc, a7 as Ui, b2 as dm, b3 as um, b4 as fm, b5 as hm, b6 as pm, b7 as mm, b8 as gm, $ as bm, b9 as wm, ba as xm, bb as ym, bc as vm, ab as hc, M as km, N as Cm, P as Sm, Q as Nm, V as Im, O as Am, bd as zo, be as _m, bf as Em, l as Tm } from "./index-B4grzr_W.js";
7
- import { a5 as pA, W as mA, a0 as gA, R as bA, _ as wA, bj as xA, bi as yA, bg as vA, bh as kA, a4 as CA, T as SA, Z as NA, U as IA, a8 as AA, a9 as _A } from "./index-B4grzr_W.js";
6
+ import { f as Yt, ac as Nn, e as tr, ad as Rp, L as wi, ae as Op, A as Mp, i as nr, k as Pp, G as Fp, g as Ro, af as zp, j as Oo, n as $p, ag as Xa, ah as Za, ai as Bp, C as jp, aa as Hp, aj as je, ak as ot, al as Ee, am as Wp, an as mr, ao as Ue, ap as Qa, aq as Me, ar as Vs, as as $e, at as Mo, au as Vp, av as ec, aw as Ie, ax as Fe, ay as In, az as Dr, aA as tc, aB as Up, aC as Wt, aD as Gp, aE as Kp, aF as qp, aG as Wn, aH as Vn, aI as Us, aJ as Yp, aK as nc, aL as rc, aM as ic, aN as Jp, aO as sc, aP as oc, aQ as lc, aR as ac, aS as cc, aT as dc, a3 as Po, aU as Xp, aV as Fo, aW as Zp, aX as Qp, aY as em, w as tm, x as nm, z as rm, J as im, K as sm, s as om, aZ as uc, a_ as lm, a$ as am, b0 as cm, b1 as fc, a7 as Ui, b2 as dm, b3 as um, b4 as fm, b5 as hm, b6 as pm, b7 as mm, b8 as gm, $ as bm, b9 as wm, ba as xm, bb as ym, bc as vm, ab as hc, M as km, N as Cm, P as Sm, Q as Nm, V as Im, O as Am, bd as zo, be as _m, bf as Em, l as Tm } from "./index-BELt7PBQ.js";
7
+ import { a5 as pA, W as mA, a0 as gA, R as bA, _ as wA, bk as xA, bj as yA, bh as vA, bi as kA, a4 as CA, T as SA, Z as NA, U as IA, bg as AA, a8 as _A, a9 as EA } from "./index-BELt7PBQ.js";
8
8
  import './experimental.css';const Dm = hf("Search", [
9
9
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
10
10
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
@@ -22302,14 +22302,15 @@ export {
22302
22302
  As as WidgetSimpleListItem,
22303
22303
  PI as WidgetStrip,
22304
22304
  G1 as _RadarChart,
22305
+ AA as actionBarStatuses,
22305
22306
  iA as getGranularityDefinition,
22306
22307
  sA as getGranularityDefinitions,
22307
22308
  oA as getGranularitySimpleDefinition,
22308
22309
  lA as granularityDefinitions,
22309
22310
  aA as modules,
22310
- AA as predefinedPresets,
22311
+ _A as predefinedPresets,
22311
22312
  cA as rangeSeparator,
22312
- _A as selectSizes,
22313
+ EA as selectSizes,
22313
22314
  ei as useAiPromotionChat,
22314
22315
  dA as useDataCollectionData,
22315
22316
  uA as useDataCollectionSource,
package/dist/f0.d.ts CHANGED
@@ -10840,11 +10840,6 @@ declare module "gridstack" {
10840
10840
  }
10841
10841
 
10842
10842
 
10843
- declare namespace Calendar {
10844
- var displayName: string;
10845
- }
10846
-
10847
-
10848
10843
  declare module "@tiptap/core" {
10849
10844
  interface Commands<ReturnType> {
10850
10845
  aiBlock: {
@@ -10892,3 +10887,8 @@ declare module "@tiptap/core" {
10892
10887
  };
10893
10888
  }
10894
10889
  }
10890
+
10891
+
10892
+ declare namespace Calendar {
10893
+ var displayName: string;
10894
+ }
package/dist/f0.js CHANGED
@@ -4,8 +4,8 @@ import { jsx as c, jsxs as O, Fragment as ht } from "react/jsx-runtime";
4
4
  import * as St from "react";
5
5
  import K, { forwardRef as nt, useRef as W, useImperativeHandle as Xd, Children as Ar, useCallback as P, useMemo as V, useState as ee, useEffect as ie, createElement as fr, isValidElement as al, Fragment as il, useLayoutEffect as Yd, createContext as Tt, memo as ol, useReducer as Jd, useContext as et, cloneElement as ef, PureComponent as tf, useId as Aa } from "react";
6
6
  import { unstable_batchedUpdates as mr, createPortal as nf, flushSync as rf } from "react-dom";
7
- import { C as sf, S as mi, a as af, f as Ss, L as Rn, b as of, A as lf, i as hr, c as ll, E as cf, g as yr, d as uf, e as df, h as ff, j as pn, k as cl, u as mf, G as hf, l as pf, m as hi, r as gf, n as vf, o as ul, p as bf, B as dl, X as fl, Y as Us, q as yf, s as ml, t as xf, v as wf, w as Sf, x as _f, y as kf, z as Cf, D as Nf, F as Df, H as pi, I as Af, J as Ff, K as Tf, M as Of, N as Ef, O as If, P as Rf, Q as Pf, V as Lf, R as Qs, T as Mf, U as jf, W as Bf, Z as hl, _ as Fa, $ as pl, a0 as Vf, a1 as $f, a2 as zf, a3 as qf, a4 as Zf, a5 as Wf, a6 as Uf } from "./index-B4grzr_W.js";
8
- import { a7 as u1, aa as d1, a8 as f1, a9 as m1, ab as h1 } from "./index-B4grzr_W.js";
7
+ import { C as sf, S as mi, a as af, f as Ss, L as Rn, b as of, A as lf, i as hr, c as ll, E as cf, g as yr, d as uf, e as df, h as ff, j as pn, k as cl, u as mf, G as hf, l as pf, m as hi, r as gf, n as vf, o as ul, p as bf, B as dl, X as fl, Y as Us, q as yf, s as ml, t as xf, v as wf, w as Sf, x as _f, y as kf, z as Cf, D as Nf, F as Df, H as pi, I as Af, J as Ff, K as Tf, M as Of, N as Ef, O as If, P as Rf, Q as Pf, V as Lf, R as Qs, T as Mf, U as jf, W as Bf, Z as hl, _ as Fa, $ as pl, a0 as Vf, a1 as $f, a2 as zf, a3 as qf, a4 as Zf, a5 as Wf, a6 as Uf } from "./index-BELt7PBQ.js";
8
+ import { a7 as u1, aa as d1, a8 as f1, a9 as m1, ab as h1 } from "./index-BELt7PBQ.js";
9
9
  import { A as g1, F as v1, c as b1, d as y1, b as x1, a as w1, o as S1, u as _1 } from "./F0HILActionConfirmation-CFsdU07x.js";
10
10
  import { defaultTranslations as C1 } from "./i18n-provider-defaults.js";
11
11
  const Qf = {
@@ -729,11 +729,6 @@ declare module "gridstack" {
729
729
  }
730
730
 
731
731
 
732
- declare namespace Calendar {
733
- var displayName: string;
734
- }
735
-
736
-
737
732
  declare module "@tiptap/core" {
738
733
  interface Commands<ReturnType> {
739
734
  aiBlock: {
@@ -781,3 +776,8 @@ declare module "@tiptap/core" {
781
776
  };
782
777
  }
783
778
  }
779
+
780
+
781
+ declare namespace Calendar {
782
+ var displayName: string;
783
+ }