@factorialco/f0-react 1.303.2 → 1.303.4

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
@@ -173,6 +173,10 @@ declare interface ActionCommonProps {
173
173
  * The size of the action.
174
174
  */
175
175
  size?: ActionSize;
176
+ /**
177
+ * The font size of the action.
178
+ */
179
+ fontSize?: FontSize;
176
180
  /**
177
181
  * The render mode.
178
182
  * @default "default"
@@ -625,7 +629,7 @@ export declare type ButtonDropdownVariant = (typeof buttonDropdownVariants)[numb
625
629
 
626
630
  export declare const buttonDropdownVariants: readonly ["default", "outline", "neutral"];
627
631
 
628
- declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "className" | "pressed" | "compact" | "tooltip"> & DataAttributes & {
632
+ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "className" | "pressed" | "compact" | "tooltip" | "fontSize"> & DataAttributes & {
629
633
  /**
630
634
  * The aria-label of the button if not provided title or label will be used.
631
635
  */
@@ -2657,6 +2661,10 @@ export declare type FlagAvatarVariant = Extract<AvatarVariant, {
2657
2661
  type: "flag";
2658
2662
  }>;
2659
2663
 
2664
+ declare type FontSize = (typeof fontSizes)[number];
2665
+
2666
+ declare const fontSizes: readonly ["sm", "md", "lg"];
2667
+
2660
2668
  export declare const getAnimationVariants: (options?: AnimationVariantsOptions) => {
2661
2669
  hidden: {
2662
2670
  opacity: number;
@@ -4673,6 +4681,23 @@ declare global {
4673
4681
  }
4674
4682
  }
4675
4683
 
4684
+ declare module "gridstack" {
4685
+ interface GridStackWidget {
4686
+ id?: string;
4687
+ allowedSizes?: Array<{
4688
+ w: number;
4689
+ h: number;
4690
+ }>;
4691
+ meta?: Record<string, unknown>;
4692
+ }
4693
+ interface GridStackNode {
4694
+ allowedSizes?: Array<{
4695
+ w: number;
4696
+ h: number;
4697
+ }>;
4698
+ }
4699
+ }
4700
+
4676
4701
 
4677
4702
  declare module "@tiptap/core" {
4678
4703
  interface Commands<ReturnType> {
@@ -4700,28 +4725,6 @@ declare module "@tiptap/core" {
4700
4725
  }
4701
4726
  }
4702
4727
 
4703
- declare module "gridstack" {
4704
- interface GridStackWidget {
4705
- id?: string;
4706
- allowedSizes?: Array<{
4707
- w: number;
4708
- h: number;
4709
- }>;
4710
- meta?: Record<string, unknown>;
4711
- }
4712
- interface GridStackNode {
4713
- allowedSizes?: Array<{
4714
- w: number;
4715
- h: number;
4716
- }>;
4717
- }
4718
- }
4719
-
4720
-
4721
- declare namespace Calendar {
4722
- var displayName: string;
4723
- }
4724
-
4725
4728
 
4726
4729
  declare module "@tiptap/core" {
4727
4730
  interface Commands<ReturnType> {
@@ -4730,3 +4733,8 @@ declare module "@tiptap/core" {
4730
4733
  };
4731
4734
  }
4732
4735
  }
4736
+
4737
+
4738
+ declare namespace Calendar {
4739
+ var displayName: string;
4740
+ }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as Cn, C as Gr, c as W, a as Di, u as _n, m as Ri, i as En, B as Si, O as Wr, p as $r, w as Ur, S as Fe, b as jr, F as Dn, d as Kr, A as Xr, D as Yr, e as Vr, f as De, g as qr, h as pe, j as qi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as Tn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as kn, ai as As, aj as Mt, ak as zn, al as Pn, am as Ts, an as Mn, ao as Ln, ap as In, aq as ks, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as qe, aB as Fn, aC as Fs, aD as Gs, aE as Qi, aF as Ws, aG as Gn, aH as $s, aI as Us, aJ as js, aK as Ks, aL as Xs, aM as Ys, aN as Vs, aO as qs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-gNB11mSA.js";
2
- import { bl as Yc, by as Vc, bH as qc, aT as Jc, aU as Zc, aV as Qc, aW as ed, aX as td, aY as id, aZ as nd, a_ as rd, b0 as sd, b1 as od, b2 as ad, b3 as ld, b4 as cd, b5 as dd, b6 as ud, bD as hd, b8 as fd, b9 as gd, bc as pd, bd as md, be as vd, bf as yd, bi as bd, bj as xd, bk as wd, bn as Cd, bb as _d, bm as Ed, bh as Dd, bE as Rd, bx as Sd, bs as Nd, bv as Od, br as Ad, bI as Td, bq as kd, bp as zd, a$ as Pd, b7 as Md, ba as Ld, bg as Id, bo as Hd, bt as Bd, bz as Fd, bA as Gd, bB as Wd, bJ as $d, bu as Ud, bC as jd, bG as Kd, bw as Xd, bF as Yd } from "./hooks-gNB11mSA.js";
1
+ import { L as Cn, C as Gr, c as W, a as Di, u as _n, m as Ri, i as En, B as Si, O as Wr, p as $r, w as Ur, S as Fe, b as jr, F as Dn, d as Kr, A as Xr, D as Yr, e as Vr, f as De, g as qr, h as pe, j as qi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as Tn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as kn, ai as As, aj as Mt, ak as zn, al as Pn, am as Ts, an as Mn, ao as Ln, ap as In, aq as ks, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as qe, aB as Fn, aC as Fs, aD as Gs, aE as Qi, aF as Ws, aG as Gn, aH as $s, aI as Us, aJ as js, aK as Ks, aL as Xs, aM as Ys, aN as Vs, aO as qs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-BvQUUeUk.js";
2
+ import { bl as Yc, by as Vc, bH as qc, aT as Jc, aU as Zc, aV as Qc, aW as ed, aX as td, aY as id, aZ as nd, a_ as rd, b0 as sd, b1 as od, b2 as ad, b3 as ld, b4 as cd, b5 as dd, b6 as ud, bD as hd, b8 as fd, b9 as gd, bc as pd, bd as md, be as vd, bf as yd, bi as bd, bj as xd, bk as wd, bn as Cd, bb as _d, bm as Ed, bh as Dd, bE as Rd, bx as Sd, bs as Nd, bv as Od, br as Ad, bI as Td, bq as kd, bp as zd, a$ as Pd, b7 as Md, ba as Ld, bg as Id, bo as Hd, bt as Bd, bz as Fd, bA as Gd, bB as Wd, bJ as $d, bu as Ud, bC as jd, bG as Kd, bw as Xd, bF as Yd } from "./hooks-BvQUUeUk.js";
3
3
  import { jsx as g, jsxs as z, Fragment as qt } from "react/jsx-runtime";
4
4
  import P, { forwardRef as oe, useRef as L, useImperativeHandle as to, Children as Lt, createContext as Se, useContext as xe, useState as B, useMemo as H, useEffect as M, useCallback as $, useLayoutEffect as yi, createElement as en, isValidElement as Wn, Fragment as io, memo as no, useReducer as ro, cloneElement as so, PureComponent as oo } from "react";
5
5
  import { createPortal as $n, unstable_batchedUpdates as At } from "react-dom";