@factorialco/f0-react 1.295.0 → 1.297.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
@@ -183,6 +183,14 @@ declare interface ActionCommonProps {
183
183
  * The tab index of the action.
184
184
  */
185
185
  tabIndex?: number;
186
+ /**
187
+ * Mouse enter event handler.
188
+ */
189
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
190
+ /**
191
+ * Mouse leave event handler.
192
+ */
193
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
186
194
  }
187
195
 
188
196
  declare type ActionDefinition = DropdownItemSeparator | (Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"> & {
@@ -671,6 +679,11 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
671
679
  * If true, the button will not automatically add a title based label
672
680
  */
673
681
  noTitle?: boolean;
682
+ /**
683
+ * @private
684
+ * If true, the button will rotate the icon when the button is hovered.
685
+ */
686
+ iconRotate?: boolean;
674
687
  /**
675
688
  * @private
676
689
  * The style of the button.
@@ -4616,6 +4629,31 @@ declare global {
4616
4629
  }
4617
4630
 
4618
4631
 
4632
+ declare module "gridstack" {
4633
+ interface GridStackWidget {
4634
+ id?: string;
4635
+ allowedSizes?: Array<{
4636
+ w: number;
4637
+ h: number;
4638
+ }>;
4639
+ renderFn?: () => React.ReactElement | null;
4640
+ meta?: Record<string, unknown>;
4641
+ }
4642
+ interface GridStackNode {
4643
+ id?: string;
4644
+ w?: number;
4645
+ h?: number;
4646
+ x?: number;
4647
+ y?: number;
4648
+ allowedSizes?: Array<{
4649
+ w: number;
4650
+ h: number;
4651
+ }>;
4652
+ renderFn?: () => React.ReactElement | null;
4653
+ }
4654
+ }
4655
+
4656
+
4619
4657
  declare module "@tiptap/core" {
4620
4658
  interface Commands<ReturnType> {
4621
4659
  aiBlock: {
@@ -4643,31 +4681,6 @@ declare module "@tiptap/core" {
4643
4681
  }
4644
4682
 
4645
4683
 
4646
- declare module "gridstack" {
4647
- interface GridStackWidget {
4648
- id?: string;
4649
- allowedSizes?: Array<{
4650
- w: number;
4651
- h: number;
4652
- }>;
4653
- renderFn?: () => React.ReactElement | null;
4654
- meta?: Record<string, unknown>;
4655
- }
4656
- interface GridStackNode {
4657
- id?: string;
4658
- w?: number;
4659
- h?: number;
4660
- x?: number;
4661
- y?: number;
4662
- allowedSizes?: Array<{
4663
- w: number;
4664
- h: number;
4665
- }>;
4666
- renderFn?: () => React.ReactElement | null;
4667
- }
4668
- }
4669
-
4670
-
4671
4684
  declare namespace Calendar {
4672
4685
  var displayName: string;
4673
4686
  }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as Ge, a as Kt, f as Ce, L as J, b as Vt, A as qt, i as ae, c as tt, d as it, E as Xt, g as he, e as Yt, h as Jt, C as Zt, j as Qt, k as V, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as ze, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as Ue, I as gi, J as Z, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as F, T as yi, U as bi, V as xi, W as _i, Z as wi, _ as Ei, $ as Ci, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as zi, ab as Di, ac as mt, ad as Pi, ae as Si, af as vt, ag as ki, ah as yt, ai as Oi, aj as Ai, ak as Ti, al as Li, am as Mi, an as Hi, ao as Bi, ap as Fi, aq as bt, ar as q, as as xt, at as Ii, au as Wi, av as je, aw as Gi, ax as _t, ay as $i, az as Ui, aA as ji, aB as Ki, aC as Vi, aD as qi, aE as Xi, aF as Yi, aG as Ji, aH as Zi, aI as Qi, aJ as es } from "./hooks-BmarskJY.js";
2
- import { bc as Fr, bp as Ir, by as Wr, aK as Gr, aL as $r, aM as Ur, aN as jr, aO as Kr, aP as Vr, aQ as qr, aR as Xr, aT as Yr, aU as Jr, aV as Zr, aW as Qr, aX as en, aY as tn, aZ as sn, bu as rn, a$ as nn, b0 as on, b3 as an, b4 as ln, b5 as hn, b6 as dn, b9 as cn, ba as un, bb as fn, be as gn, b2 as pn, bd as mn, b8 as vn, bv as yn, bo as bn, bj as xn, bm as _n, bi as wn, bz as En, bh as Cn, bg as Nn, aS as Rn, a_ as zn, b1 as Dn, b7 as Pn, bf as Sn, bk as kn, bq as On, br as An, bs as Tn, bA as Ln, bl as Mn, bt as Hn, bx as Bn, bn as Fn, bw as In } from "./hooks-BmarskJY.js";
1
+ import { S as Ge, a as Kt, f as Ce, L as J, b as Vt, A as qt, i as ae, c as tt, d as it, E as Xt, g as he, e as Yt, h as Jt, C as Zt, j as Qt, k as V, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as ze, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as Ue, I as gi, J as Z, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as F, T as yi, U as bi, V as xi, W as _i, Z as wi, _ as Ei, $ as Ci, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as zi, ab as Di, ac as mt, ad as Pi, ae as Si, af as vt, ag as ki, ah as yt, ai as Oi, aj as Ai, ak as Ti, al as Li, am as Mi, an as Hi, ao as Bi, ap as Fi, aq as bt, ar as q, as as xt, at as Ii, au as Wi, av as je, aw as Gi, ax as _t, ay as $i, az as Ui, aA as ji, aB as Ki, aC as Vi, aD as qi, aE as Xi, aF as Yi, aG as Ji, aH as Zi, aI as Qi, aJ as es } from "./hooks-BspXl5nS.js";
2
+ import { bc as Fr, bp as Ir, by as Wr, aK as Gr, aL as $r, aM as Ur, aN as jr, aO as Kr, aP as Vr, aQ as qr, aR as Xr, aT as Yr, aU as Jr, aV as Zr, aW as Qr, aX as en, aY as tn, aZ as sn, bu as rn, a$ as nn, b0 as on, b3 as an, b4 as ln, b5 as hn, b6 as dn, b9 as cn, ba as un, bb as fn, be as gn, b2 as pn, bd as mn, b8 as vn, bv as yn, bo as bn, bj as xn, bm as _n, bi as wn, bz as En, bh as Cn, bg as Nn, aS as Rn, a_ as zn, b1 as Dn, b7 as Pn, bf as Sn, bk as kn, bq as On, br as An, bs as Tn, bA as Ln, bl as Mn, bt as Hn, bx as Bn, bn as Fn, bw as In } from "./hooks-BspXl5nS.js";
3
3
  import { jsx as g, jsxs as R, Fragment as xe } from "react/jsx-runtime";
4
4
  import * as ke from "react";
5
5
  import P, { PureComponent as ts, useState as M, forwardRef as U, createElement as Ke, useRef as Q, useImperativeHandle as wt, Children as is, createContext as _e, useContext as Et, useCallback as K, useEffect as ce, useLayoutEffect as Ve, useMemo as Ct } from "react";