@factorialco/f0-react 1.373.2 → 1.374.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
@@ -1196,11 +1196,6 @@ declare module "gridstack" {
1196
1196
  }
1197
1197
 
1198
1198
 
1199
- declare namespace Calendar {
1200
- var displayName: string;
1201
- }
1202
-
1203
-
1204
1199
  declare module "@tiptap/core" {
1205
1200
  interface Commands<ReturnType> {
1206
1201
  aiBlock: {
@@ -1248,3 +1243,8 @@ declare module "@tiptap/core" {
1248
1243
  };
1249
1244
  }
1250
1245
  }
1246
+
1247
+
1248
+ declare namespace Calendar {
1249
+ var displayName: string;
1250
+ }
@@ -6077,9 +6077,9 @@ export declare const Textarea: FC<TextareaProps>;
6077
6077
 
6078
6078
  declare const Textarea_2: React_2.ForwardRefExoticComponent<Omit<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
6079
6079
  value?: string;
6080
- } & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "size" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "loading" | "maxLength" | "placeholder" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & React_2.RefAttributes<HTMLTextAreaElement>>;
6080
+ } & 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>>;
6081
6081
 
6082
- 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">;
6082
+ 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">;
6083
6083
 
6084
6084
  declare type TextQuestionProps = BaseQuestionPropsForOtherQuestionComponents & {
6085
6085
  type: "text" | "longText";
@@ -6700,11 +6700,6 @@ declare module "gridstack" {
6700
6700
  }
6701
6701
 
6702
6702
 
6703
- declare namespace Calendar {
6704
- var displayName: string;
6705
- }
6706
-
6707
-
6708
6703
  declare module "@tiptap/core" {
6709
6704
  interface Commands<ReturnType> {
6710
6705
  aiBlock: {
@@ -6752,3 +6747,8 @@ declare module "@tiptap/core" {
6752
6747
  };
6753
6748
  }
6754
6749
  }
6750
+
6751
+
6752
+ declare namespace Calendar {
6753
+ var displayName: string;
6754
+ }
@@ -3,8 +3,8 @@ import { eK as _L, eJ as LL, eI as OL, eP as RL, eQ as FL, eM as ML, eL as PL, e
3
3
  import { jsx as l, jsxs as g, Fragment as Z } from "react/jsx-runtime";
4
4
  import * as Fe from "react";
5
5
  import Q, { createContext as Pt, forwardRef as J, useRef as W, useEffect as V, useContext as zt, PureComponent as l0, useTransition as a0, useState as R, useLayoutEffect as Kn, useId as Tl, useCallback as ne, useMemo as P, useImperativeHandle as Ou, memo as lo, Fragment as $n, isValidElement as Ru, cloneElement as Dl, createElement as Oa, Children as Fu } from "react";
6
- import { f as _n, aG as fr, j as qr, aH as c0, b as Bo, aI as d0, A as u0, d as Kr, i as f0, m as h0, G as m0, g as Ra, aJ as p0, l as Fa, aK as g0, p as b0, aL as Mu, aM as Pu, aN as v0, C as y0, az as x0, ae as jn, D as De, aO as ot, aP as St, aQ as Ge, aR as w0, aS as ci, aT as lt, aU as zu, aV as Xe, aW as _l, aX as nt, aY as Ma, aZ as C0, a_ as $u, a$ as He, b0 as et, b1 as hr, b2 as Ti, b3 as ju, b4 as k0, b5 as vn, b6 as N0, b7 as S0, b8 as I0, b9 as Or, ba as Rr, bb as Ll, bc as A0, bd as Bu, be as Hu, bf as Vu, bg as E0, bh as Wu, bi as Uu, bj as Gu, bk as qu, bl as Ku, bm as Ju, bn as ws, bo as T0, bp as Pa, bq as D0, br as _0, bs as L0, t as O0, x as R0, y as F0, F as M0, M as za, N as $a, O as P0, P as z0, a4 as $0, a5 as j0, bt as B0, bu as H0, a7 as V0, bv as Yu, bw as W0, bx as U0, by as G0, am as ao, bz as Ol, bA as Qu, al as Cs, bB as q0, ak as Xu, a2 as Fr, ag as K0, bC as J0, bD as Y0, bE as Q0, ap as Rl, bF as X0, aD as Z0, bG as ks, bH as ev, bI as Di, bJ as tv, aE as nv, bK as rv, aC as Zu, aB as iv, aA as ov, bL as sv, bM as lv, bN as av, bO as cv, bP as dv, bQ as uv, bR as fv, bS as hv, bT as mv, bU as pv, bV as gv, bW as bv, bX as vv, bY as yv, bZ as xv, aF as ef, at as tf, b_ as wv, R as Cv, T as kv, V as Nv, W as Sv, Z as Iv, U as Av, b$ as ja, c0 as Ev, c1 as Tv, n as Dv } from "./DataCollectionStorageProvider-DSTSsF9E.js";
7
- import { ah as HL, c2 as VL, a8 as WL, a3 as UL, aa as GL, c6 as qL, c5 as KL, c3 as JL, c4 as YL, a6 as QL, a9 as XL, aq as ZL, ar as eO } from "./DataCollectionStorageProvider-DSTSsF9E.js";
6
+ import { f as _n, aG as fr, j as qr, aH as c0, b as Bo, aI as d0, A as u0, d as Kr, i as f0, m as h0, G as m0, g as Ra, aJ as p0, l as Fa, aK as g0, p as b0, aL as Mu, aM as Pu, aN as v0, C as y0, az as x0, ae as jn, D as De, aO as ot, aP as St, aQ as Ge, aR as w0, aS as ci, aT as lt, aU as zu, aV as Xe, aW as _l, aX as nt, aY as Ma, aZ as C0, a_ as $u, a$ as He, b0 as et, b1 as hr, b2 as Ti, b3 as ju, b4 as k0, b5 as vn, b6 as N0, b7 as S0, b8 as I0, b9 as Or, ba as Rr, bb as Ll, bc as A0, bd as Bu, be as Hu, bf as Vu, bg as E0, bh as Wu, bi as Uu, bj as Gu, bk as qu, bl as Ku, bm as Ju, bn as ws, bo as T0, bp as Pa, bq as D0, br as _0, bs as L0, t as O0, x as R0, y as F0, F as M0, M as za, N as $a, O as P0, P as z0, a4 as $0, a5 as j0, bt as B0, bu as H0, a7 as V0, bv as Yu, bw as W0, bx as U0, by as G0, am as ao, bz as Ol, bA as Qu, al as Cs, bB as q0, ak as Xu, a2 as Fr, ag as K0, bC as J0, bD as Y0, bE as Q0, ap as Rl, bF as X0, aD as Z0, bG as ks, bH as ev, bI as Di, bJ as tv, aE as nv, bK as rv, aC as Zu, aB as iv, aA as ov, bL as sv, bM as lv, bN as av, bO as cv, bP as dv, bQ as uv, bR as fv, bS as hv, bT as mv, bU as pv, bV as gv, bW as bv, bX as vv, bY as yv, bZ as xv, aF as ef, at as tf, b_ as wv, R as Cv, T as kv, V as Nv, W as Sv, Z as Iv, U as Av, b$ as ja, c0 as Ev, c1 as Tv, n as Dv } from "./DataCollectionStorageProvider-Bk6NMOgR.js";
7
+ import { ah as HL, c2 as VL, a8 as WL, a3 as UL, aa as GL, c6 as qL, c5 as KL, c3 as JL, c4 as YL, a6 as QL, a9 as XL, aq as ZL, ar as eO } from "./DataCollectionStorageProvider-Bk6NMOgR.js";
8
8
  import './experimental.css';function nf(t, e) {
9
9
  const n = Vd(e()), r = () => n.set(e());
10
10
  return r(), Hp(() => {
package/dist/f0.d.ts CHANGED
@@ -7030,6 +7030,12 @@ declare interface TextProps extends Omit<default_2.HTMLAttributes<HTMLElement>,
7030
7030
  * @default false
7031
7031
  */
7032
7032
  markdown?: boolean;
7033
+ /**
7034
+ * Show a required indicator (red asterisk) after the content.
7035
+ * Useful when the Text is used as a form label.
7036
+ * @default false
7037
+ */
7038
+ required?: boolean;
7033
7039
  }
7034
7040
 
7035
7041
  /**
@@ -7815,11 +7821,6 @@ declare module "gridstack" {
7815
7821
  }
7816
7822
 
7817
7823
 
7818
- declare namespace Calendar {
7819
- var displayName: string;
7820
- }
7821
-
7822
-
7823
7824
  declare module "@tiptap/core" {
7824
7825
  interface Commands<ReturnType> {
7825
7826
  aiBlock: {
@@ -7867,3 +7868,8 @@ declare module "@tiptap/core" {
7867
7868
  };
7868
7869
  }
7869
7870
  }
7871
+
7872
+
7873
+ declare namespace Calendar {
7874
+ var displayName: string;
7875
+ }