@factorialco/f0-react 1.188.1 → 1.189.1

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.
@@ -3540,6 +3540,7 @@ declare type ProductUpdatesProp = {
3540
3540
  dismissable: boolean;
3541
3541
  onClose?: () => void;
3542
3542
  trackVisibility?: (open: boolean) => void;
3543
+ type?: "one-campaign" | undefined;
3543
3544
  }>;
3544
3545
  };
3545
3546
  };
@@ -4815,6 +4816,11 @@ declare module "@tiptap/core" {
4815
4816
  }
4816
4817
 
4817
4818
 
4819
+ declare namespace Calendar {
4820
+ var displayName: string;
4821
+ }
4822
+
4823
+
4818
4824
  declare module "@tiptap/core" {
4819
4825
  interface Commands<ReturnType> {
4820
4826
  moodTracker: {
@@ -4822,8 +4828,3 @@ declare module "@tiptap/core" {
4822
4828
  };
4823
4829
  }
4824
4830
  }
4825
-
4826
-
4827
- declare namespace Calendar {
4828
- var displayName: string;
4829
- }
@@ -1,5 +1,5 @@
1
- import { aC as ov, aD as av, aE as k0, aF as La, aG as Vk, aH as Hk, aI as Wk, aJ as Vc, aK as qk, aL as Uk, aM as Kk, aN as K, aO as lv, aP as Gk, aQ as Jk, aR as Yk, aS as ws, aT as Jo, aU as Jl, aV as Zk, aW as el, aX as Xk, aY as Hc, aZ as Qk, a_ as ew, a$ as tl, b0 as tw, b1 as nw, b2 as iw, b3 as w0, b4 as rw, b5 as x0, b6 as sw, b7 as dv, b8 as fv, b9 as ow, ba as Qs, q as At, a as N, bb as nr, P as Ge, bc as Ve, s as de, j as it, y as re, bd as _f, L as Nr, be as je, bf as ir, _ as cv, bg as Re, bh as aw, bi as lw, bj as dw, bk as Fh, bl as uv, v as Yl, w as ii, x as ai, bm as fw, bn as Zl, bo as Qu, bp as cw, n as Cf, bq as hv, f as uw, br as hw, bs as pw, bt as mw, b as _0, bu as gw, bv as yw, bw as pv, bx as Bh, by as vw, c as Sf, bz as eo, bA as $h, bB as $t, bC as bw, bD as Tn, bE as kw, bF as mv, bG as ww, bH as Bi, bI as xw, bJ as _w, bK as Cw, bL as Sw, bM as Nw, bN as gv, bO as Lw, bP as C0, bQ as Mw, ay as to, S as Mi, t as zh, bR as Ew, bS as yv, bT as Jt, $ as Ma, r as rr, bU as zr, bV as Tw, bW as Xr, bX as jh, a8 as Wn, bY as ye, bZ as Yt, b_ as Nf, b$ as Yo, c0 as Ow, c1 as vv, c2 as bv, h as Lf, i as Mf, k as Ef, c3 as Vh, c4 as Aw, c5 as kv, C as mn, c6 as wv, c7 as Dw, c8 as Iw, G as Rw, c9 as xv, ca as gt, cb as e1, cc as _v, a5 as t1, cd as Pw, ce as Fw, cf as Bw, cg as $w, ch as zw, az as Tf, a2 as n1, F as Hh, aB as jw, ci as Ln, aA as Vw, cj as Cv, ck as an, cl as Sv, cm as hr, cn as Hw, co as Ww, cp as qt, cq as Xl, cr as Nv, cs as qw, ag as Of, a6 as Wh, al as jr, ct as qh, cu as Uh, cv as Lv, cw as Uw, a9 as Kw, a1 as Mv, cx as Gw, cy as Ev, cz as Jw, cA as Yw, cB as Zw, D as Tv, u as Ov, cC as S0, cD as Xw, cE as Ea, cF as Qw, cG as Af, K as ex, m as tx, cH as nx, cI as ix, cJ as rx, cK as sx, cL as ox, cM as ax, cN as lx, cO as dx, p as fx, an as cx, cP as Av, cQ as Df, cR as N0, Y as Dv, cS as Ta, cT as Iv, cU as Rv, cV as ux, a0 as no, cW as hx, a3 as Pv, I as px, cX as ft, cY as L0, cZ as mx, c_ as gx, c$ as yx, d0 as Wc, d1 as vx, d2 as bx, ab as Ql, ao as M0, d3 as Fv, z as If, d4 as Rf, d5 as Pf, E as Ff, aa as Kh, d6 as kx, as as wx, d7 as i1, d8 as xx, d9 as ed, at as _x, da as Cx, ar as Bv, aq as Sx, ap as Nx, db as Lx, dc as Mx, ac as Ex, dd as Tx, a4 as Ox, de as Oa, df as Gh, dg as Jh, dh as Aa, di as $v, dj as zv, dk as Ax, au as jv, dl as Vv, ad as Hv, dm as Dx, dn as Ix, dp as Rx, H as Px, A as Fx, B as Bx, e as $x, g as zx, V as jx, d as Vx, dq as E0, dr as Hx, ds as Wx, dt as qx, du as Wv, dv as Ux } from "./hooks-BZw2dqtL.js";
2
- import { J as EJ, dx as TJ, a7 as OJ, dw as AJ } from "./hooks-BZw2dqtL.js";
1
+ import { aC as ov, aD as av, aE as k0, aF as La, aG as Vk, aH as Hk, aI as Wk, aJ as Vc, aK as qk, aL as Uk, aM as Kk, aN as K, aO as lv, aP as Gk, aQ as Jk, aR as Yk, aS as ws, aT as Jo, aU as Jl, aV as Zk, aW as el, aX as Xk, aY as Hc, aZ as Qk, a_ as ew, a$ as tl, b0 as tw, b1 as nw, b2 as iw, b3 as w0, b4 as rw, b5 as x0, b6 as sw, b7 as dv, b8 as fv, b9 as ow, ba as Qs, q as At, a as N, bb as nr, P as Ge, bc as Ve, s as de, j as it, y as re, bd as _f, L as Nr, be as je, bf as ir, _ as cv, bg as Re, bh as aw, bi as lw, bj as dw, bk as Fh, bl as uv, v as Yl, w as ii, x as ai, bm as fw, bn as Zl, bo as Qu, bp as cw, n as Cf, bq as hv, f as uw, br as hw, bs as pw, bt as mw, b as _0, bu as gw, bv as yw, bw as pv, bx as Bh, by as vw, c as Sf, bz as eo, bA as $h, bB as $t, bC as bw, bD as Tn, bE as kw, bF as mv, bG as ww, bH as Bi, bI as xw, bJ as _w, bK as Cw, bL as Sw, bM as Nw, bN as gv, bO as Lw, bP as C0, bQ as Mw, ay as to, S as Mi, t as zh, bR as Ew, bS as yv, bT as Jt, $ as Ma, r as rr, bU as zr, bV as Tw, bW as Xr, bX as jh, a8 as Wn, bY as ye, bZ as Yt, b_ as Nf, b$ as Yo, c0 as Ow, c1 as vv, c2 as bv, h as Lf, i as Mf, k as Ef, c3 as Vh, c4 as Aw, c5 as kv, C as mn, c6 as wv, c7 as Dw, c8 as Iw, G as Rw, c9 as xv, ca as gt, cb as e1, cc as _v, a5 as t1, cd as Pw, ce as Fw, cf as Bw, cg as $w, ch as zw, az as Tf, a2 as n1, F as Hh, aB as jw, ci as Ln, aA as Vw, cj as Cv, ck as an, cl as Sv, cm as hr, cn as Hw, co as Ww, cp as qt, cq as Xl, cr as Nv, cs as qw, ag as Of, a6 as Wh, al as jr, ct as qh, cu as Uh, cv as Lv, cw as Uw, a9 as Kw, a1 as Mv, cx as Gw, cy as Ev, cz as Jw, cA as Yw, cB as Zw, D as Tv, u as Ov, cC as S0, cD as Xw, cE as Ea, cF as Qw, cG as Af, K as ex, m as tx, cH as nx, cI as ix, cJ as rx, cK as sx, cL as ox, cM as ax, cN as lx, cO as dx, p as fx, an as cx, cP as Av, cQ as Df, cR as N0, Y as Dv, cS as Ta, cT as Iv, cU as Rv, cV as ux, a0 as no, cW as hx, a3 as Pv, I as px, cX as ft, cY as L0, cZ as mx, c_ as gx, c$ as yx, d0 as Wc, d1 as vx, d2 as bx, ab as Ql, ao as M0, d3 as Fv, z as If, d4 as Rf, d5 as Pf, E as Ff, aa as Kh, d6 as kx, as as wx, d7 as i1, d8 as xx, d9 as ed, at as _x, da as Cx, ar as Bv, aq as Sx, ap as Nx, db as Lx, dc as Mx, ac as Ex, dd as Tx, a4 as Ox, de as Oa, df as Gh, dg as Jh, dh as Aa, di as $v, dj as zv, dk as Ax, au as jv, dl as Vv, ad as Hv, dm as Dx, dn as Ix, dp as Rx, H as Px, A as Fx, B as Bx, e as $x, g as zx, V as jx, d as Vx, dq as E0, dr as Hx, ds as Wx, dt as qx, du as Wv, dv as Ux } from "./hooks-B0_iQRCV.js";
2
+ import { J as EJ, dx as TJ, a7 as OJ, dw as AJ } from "./hooks-B0_iQRCV.js";
3
3
  import { jsxs as b, jsx as f, Fragment as Ne } from "react/jsx-runtime";
4
4
  import * as I from "react";
5
5
  import X, { forwardRef as H, createContext as Rn, useRef as le, useState as B, useCallback as Ce, useContext as ln, useMemo as he, useEffect as te, PureComponent as Kx, useId as Qr, useLayoutEffect as Yh, memo as Da, Fragment as sr, useTransition as Gx, isValidElement as Jx, cloneElement as qv, useDeferredValue as Yx, useDebugValue as Uv, createRef as Zx, createElement as Xx, version as T0, useImperativeHandle as Bf, Children as Kv } from "react";
@@ -15991,7 +15991,7 @@ const t2 = K.create(de), n2 = {
15991
15991
  /* @__PURE__ */ b("div", { className: "px-1 pb-2", children: [
15992
15992
  /* @__PURE__ */ b("div", { className: "flex flex-row items-center justify-between px-3", children: [
15993
15993
  /* @__PURE__ */ f("p", { className: "text-balance pb-2 pt-2 text-sm font-medium text-f1-foreground-secondary", children: n == null ? void 0 : n.sectionTitle }),
15994
- /* @__PURE__ */ f("div", { className: "relative z-10 h-6 w-6", children: /* @__PURE__ */ f(
15994
+ e && /* @__PURE__ */ f("div", { className: "relative z-10 h-6 w-6", children: /* @__PURE__ */ f(
15995
15995
  re,
15996
15996
  {
15997
15997
  variant: "ghost",
@@ -16017,7 +16017,8 @@ const t2 = K.create(de), n2 = {
16017
16017
  ...l,
16018
16018
  isVisible: !0,
16019
16019
  trackVisibility: l.trackVisibility,
16020
- onClick: () => a(l.onClick)
16020
+ onClick: () => a(l.onClick),
16021
+ type: l.type
16021
16022
  },
16022
16023
  l.title
16023
16024
  ))
package/dist/f0.d.ts CHANGED
@@ -1619,7 +1619,7 @@ declare type ProductBlankslateProps = {
1619
1619
  };
1620
1620
  };
1621
1621
 
1622
- export declare function ProductCard({ title, description, onClick, onClose, isVisible, dismissable, trackVisibility, ...props }: ProductCardProps): false | JSX_2.Element;
1622
+ export declare function ProductCard({ title, description, onClick, onClose, isVisible, dismissable, trackVisibility, type, ...props }: ProductCardProps): false | JSX_2.Element;
1623
1623
 
1624
1624
  export declare type ProductCardProps = {
1625
1625
  title: string;
@@ -1630,6 +1630,7 @@ export declare type ProductCardProps = {
1630
1630
  dismissable?: boolean;
1631
1631
  trackVisibility?: (open: boolean) => void;
1632
1632
  module: ModuleId;
1633
+ type?: "one-campaign" | undefined;
1633
1634
  };
1634
1635
 
1635
1636
  export declare function ProductModal({ isOpen, onClose, title, image, benefits, errorMessage, successMessage, loadingState, nextSteps, closeLabel, primaryAction, modalTitle, modalModule, secondaryAction, portalContainer, tag, }: ProductModalProps): JSX_2.Element;
@@ -2140,6 +2141,11 @@ declare module "@tiptap/core" {
2140
2141
  }
2141
2142
 
2142
2143
 
2144
+ declare namespace Calendar {
2145
+ var displayName: string;
2146
+ }
2147
+
2148
+
2143
2149
  declare module "@tiptap/core" {
2144
2150
  interface Commands<ReturnType> {
2145
2151
  moodTracker: {
@@ -2147,8 +2153,3 @@ declare module "@tiptap/core" {
2147
2153
  };
2148
2154
  }
2149
2155
  }
2150
-
2151
-
2152
- declare namespace Calendar {
2153
- var displayName: string;
2154
- }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C as v, L as pe, c as ve, P as H, a as b, f as ge, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as U, i as W, j as Pe, k as Y, S as G, l as D, m as X, n as ke, O as Fe, o as J, p as Se, q as Me, F as K, r as De, s as Te, t as Be, D as Re, u as Ie, v as $e, w as Oe, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as qe, N as Ae, Q as He, R as Ue, X as We, T as Ye, W as Ge, Y as Xe, Z as Je } from "./hooks-BZw2dqtL.js";
2
- import { ao as Ua, _ as Wa, aq as Ya, az as Ga, $ as Xa, a0 as Ja, a1 as Ka, a2 as Qa, a3 as Za, a4 as er, a5 as ar, a6 as rr, a8 as sr, a9 as tr, aa as lr, ab as or, av as nr, ad as ir, ae as dr, af as cr, ag as ur, aj as fr, ak as hr, al as mr, am as pr, ac as vr, an as gr, ai as br, aw as xr, ap as Cr, aA as yr, a7 as wr, ah as Nr, ar as Lr, as as Pr, at as kr, aB as Fr, au as Sr, ay as Mr, ax as Dr } from "./hooks-BZw2dqtL.js";
1
+ import { C as v, L as pe, c as ve, P as H, a as b, f as ge, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as U, i as W, j as Pe, k as Y, S as G, l as D, m as X, n as ke, O as Fe, o as J, p as Se, q as Me, F as K, r as De, s as Te, t as Be, D as Re, u as Ie, v as $e, w as Oe, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as qe, N as Ae, Q as He, R as Ue, X as We, T as Ye, W as Ge, Y as Xe, Z as Je } from "./hooks-B0_iQRCV.js";
2
+ import { ao as Ua, _ as Wa, aq as Ya, az as Ga, $ as Xa, a0 as Ja, a1 as Ka, a2 as Qa, a3 as Za, a4 as er, a5 as ar, a6 as rr, a8 as sr, a9 as tr, aa as lr, ab as or, av as nr, ad as ir, ae as dr, af as cr, ag as ur, aj as fr, ak as hr, al as mr, am as pr, ac as vr, an as gr, ai as br, aw as xr, ap as Cr, aA as yr, a7 as wr, ah as Nr, ar as Lr, as as Pr, at as kr, aB as Fr, au as Sr, ay as Mr, ax as Dr } from "./hooks-B0_iQRCV.js";
3
3
  import { jsx as e, jsxs as c, Fragment as O } from "react/jsx-runtime";
4
4
  import * as E from "react";
5
5
  import Ke, { useState as g, forwardRef as B, useRef as ae, useImperativeHandle as Qe, Children as Ze, useEffect as re, createContext as ea } from "react";