@factorialco/f0-react 1.322.1 → 1.324.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/f0.d.ts CHANGED
@@ -1960,7 +1960,7 @@ declare const dialogPositions: readonly ["center", "left", "right", "fullscreen"
1960
1960
 
1961
1961
  export declare type DialogWidth = (typeof dialogWidths)[number];
1962
1962
 
1963
- declare const dialogWidths: readonly ["sm", "md", "lg"];
1963
+ declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
1964
1964
 
1965
1965
  /**
1966
1966
  * Remove a property from a union of objects.
@@ -2633,6 +2633,11 @@ declare type F0SelectBaseProps<T extends string, R = unknown> = {
2633
2633
  actions?: Action_2[];
2634
2634
  /** Container element to render the portal content into */
2635
2635
  portalContainer?: HTMLElement | null;
2636
+ /**
2637
+ * When true, renders the select as a static list without the input trigger.
2638
+ * Only displays the dropdown content with max height, border and scroll.
2639
+ */
2640
+ asList?: boolean;
2636
2641
  };
2637
2642
 
2638
2643
  export declare type F0SelectItemObject<T, R = unknown> = {
@@ -5119,6 +5124,23 @@ declare global {
5119
5124
  }
5120
5125
  }
5121
5126
 
5127
+ declare module "gridstack" {
5128
+ interface GridStackWidget {
5129
+ id?: string;
5130
+ allowedSizes?: Array<{
5131
+ w: number;
5132
+ h: number;
5133
+ }>;
5134
+ meta?: Record<string, unknown>;
5135
+ }
5136
+ interface GridStackNode {
5137
+ allowedSizes?: Array<{
5138
+ w: number;
5139
+ h: number;
5140
+ }>;
5141
+ }
5142
+ }
5143
+
5122
5144
 
5123
5145
  declare module "@tiptap/core" {
5124
5146
  interface Commands<ReturnType> {
@@ -5146,21 +5168,9 @@ declare module "@tiptap/core" {
5146
5168
  }
5147
5169
  }
5148
5170
 
5149
- declare module "gridstack" {
5150
- interface GridStackWidget {
5151
- id?: string;
5152
- allowedSizes?: Array<{
5153
- w: number;
5154
- h: number;
5155
- }>;
5156
- meta?: Record<string, unknown>;
5157
- }
5158
- interface GridStackNode {
5159
- allowedSizes?: Array<{
5160
- w: number;
5161
- h: number;
5162
- }>;
5163
- }
5171
+
5172
+ declare namespace Calendar {
5173
+ var displayName: string;
5164
5174
  }
5165
5175
 
5166
5176
 
@@ -5171,8 +5181,3 @@ declare module "@tiptap/core" {
5171
5181
  };
5172
5182
  }
5173
5183
  }
5174
-
5175
-
5176
- declare namespace Calendar {
5177
- var displayName: string;
5178
- }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-D-ClnmaM.js";
2
- import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-D-ClnmaM.js";
1
+ import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-B1ZF_2lS.js";
2
+ import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-B1ZF_2lS.js";
3
3
  import { jsx as f, jsxs as P, Fragment as qt } from "react/jsx-runtime";
4
4
  import M, { forwardRef as oe, useRef as L, useImperativeHandle as lo, Children as Lt, createContext as Ae, useContext as _e, useState as B, useMemo as H, useEffect as I, useCallback as j, useLayoutEffect as yi, createElement as nn, isValidElement as Kn, Fragment as co, memo as uo, useReducer as ho, cloneElement as fo, PureComponent as go } from "react";
5
5
  import { createPortal as Xn, unstable_batchedUpdates as Ot } from "react-dom";