@factorialco/f0-react 1.233.1 → 1.233.2

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.
@@ -524,6 +524,7 @@ export declare type BaseBannerProps = {
524
524
  onClose?: () => void;
525
525
  isLoading?: boolean;
526
526
  children?: React.ReactNode;
527
+ variant?: "default" | "full-width";
527
528
  };
528
529
 
529
530
  export declare const BaseCelebration: ({ link, firstName, lastName, src, onClick, canReact, lastEmojiReaction, onReactionSelect, type, typeLabel, date, }: CelebrationProps) => JSX_2.Element;
@@ -5161,6 +5162,11 @@ declare module "@tiptap/core" {
5161
5162
  }
5162
5163
 
5163
5164
 
5165
+ declare namespace Calendar {
5166
+ var displayName: string;
5167
+ }
5168
+
5169
+
5164
5170
  declare module "@tiptap/core" {
5165
5171
  interface Commands<ReturnType> {
5166
5172
  moodTracker: {
@@ -5168,8 +5174,3 @@ declare module "@tiptap/core" {
5168
5174
  };
5169
5175
  }
5170
5176
  }
5171
-
5172
-
5173
- declare namespace Calendar {
5174
- var displayName: string;
5175
- }
@@ -1,5 +1,5 @@
1
- import { aN as n6, aO as i6, aP as wy, aQ as bl, aR as ZC, aS as QC, aT as XC, aU as r1, aV as eS, aW as tS, aX as nS, aY as ue, aZ as r6, a_ as iS, a$ as rS, b0 as sS, b1 as lo, b2 as $a, b3 as Gc, b4 as s6, b5 as Kl, b6 as oS, b7 as s1, b8 as aS, b9 as lS, ba as Gl, bb as cS, bc as dS, bd as fS, be as _y, bf as uS, bg as Cy, bh as hS, bi as o6, bj as a6, bk as pS, bl as jo, q as Wt, a as T, bm as Vo, P as Zt, bn as Jt, s as we, k as mt, y as pe, bo as Ef, bp as l6, L as Xi, bq as He, $ as c6, w as Oi, x as ti, br as Qe, bs as d6, c as Am, bt as Om, bu as kl, bv as Ho, bw as Jc, aJ as zs, bx as Dh, by as qr, bz as Yc, bA as Zc, bB as mS, n as Mf, bC as f6, bD as ie, bE as Fi, bF as bt, bG as u6, bH as h6, t as Tf, f as gS, bI as yS, bJ as vS, bK as bS, g as Sy, bL as Ny, bM as kS, bN as xS, bO as ai, ac as Qc, az as Ly, bP as $s, bQ as Im, bR as un, bS as Ey, bT as Rh, bU as Qt, bV as or, bW as p6, bX as Fh, bY as wS, bZ as _S, b_ as Bt, b$ as CS, c0 as SS, c1 as NS, c2 as LS, c3 as ES, c4 as MS, c5 as TS, c6 as Cs, S as ni, c7 as Af, c8 as m6, at as AS, av as g6, aq as y6, c9 as v6, aw as Of, ca as Dm, a0 as xl, r as ar, cb as OS, a9 as Pi, cc as vn, cd as If, ce as ja, cf as IS, cg as b6, ch as DS, i as Df, j as Rf, l as Ff, ci as Rm, cj as RS, C as $n, ck as k6, cl as FS, cm as x6, cn as PS, G as BS, co as w6, cp as Ph, cq as _6, a6 as Xc, cr as zS, cs as $S, ct as jS, cu as VS, cv as HS, aK as Pf, a3 as Bh, F as Fm, aM as WS, cw as Qn, aL as qS, cx as C6, cy as hn, cz as US, cA as KS, cB as Mn, cC as ed, cD as S6, ah as Bf, a7 as Pm, am as Ss, cE as zf, cF as Bm, cG as N6, cH as GS, aa as JS, a2 as L6, cI as zm, cJ as YS, cK as ZS, cL as QS, D as E6, u as M6, cM as T6, cN as rs, cO as XS, cP as My, cQ as eN, cR as tN, cS as nN, cT as $f, K as iN, m as rN, cU as zh, cV as sN, cW as oN, cX as aN, cY as lN, cZ as cN, c_ as dN, c$ as fN, d0 as uN, d1 as hN, d2 as pN, d3 as mN, d4 as gN, p as yN, ao as vN, d5 as A6, d6 as jf, v as $h, d7 as Ty, Z as O6, d8 as wl, d9 as I6, da as D6, db as bN, a1 as Wo, a4 as R6, I as kN, dc as xN, ar as wN, ay as Vf, z as Hf, dd as Wf, de as qf, E as Uf, ax as F6, ab as $m, df as _N, aD as CN, dg as jh, dh as SN, di as td, dj as NN, as as nd, aE as LN, dk as EN, aC as P6, dl as MN, aB as TN, aA as AN, dm as ON, dn as wt, dp as Ay, dq as IN, dr as DN, ds as RN, dt as o1, du as FN, dv as PN, dw as BN, ad as zN, dx as $N, dy as jN, dz as VN, a5 as HN, dA as _l, dB as jm, dC as Vm, dD as Cl, dE as B6, dF as WN, dG as z6, dH as qN, aF as $6, dI as j6, ae as V6, dJ as UN, dK as KN, dL as GN, H as JN, A as YN, B as ZN, d as QN, e as XN, V as eL, b as tL, dM as Oy, dN as nL, dO as iL, dP as rL, dQ as H6, dR as sL } from "./hooks-C1WJ6dmn.js";
2
- import { J as bae, dT as kae, a8 as xae, dS as wae } from "./hooks-C1WJ6dmn.js";
1
+ import { aN as n6, aO as i6, aP as wy, aQ as bl, aR as ZC, aS as QC, aT as XC, aU as r1, aV as eS, aW as tS, aX as nS, aY as ue, aZ as r6, a_ as iS, a$ as rS, b0 as sS, b1 as lo, b2 as $a, b3 as Gc, b4 as s6, b5 as Kl, b6 as oS, b7 as s1, b8 as aS, b9 as lS, ba as Gl, bb as cS, bc as dS, bd as fS, be as _y, bf as uS, bg as Cy, bh as hS, bi as o6, bj as a6, bk as pS, bl as jo, q as Wt, a as T, bm as Vo, P as Zt, bn as Jt, s as we, k as mt, y as pe, bo as Ef, bp as l6, L as Xi, bq as He, $ as c6, w as Oi, x as ti, br as Qe, bs as d6, c as Am, bt as Om, bu as kl, bv as Ho, bw as Jc, aJ as zs, bx as Dh, by as qr, bz as Yc, bA as Zc, bB as mS, n as Mf, bC as f6, bD as ie, bE as Fi, bF as bt, bG as u6, bH as h6, t as Tf, f as gS, bI as yS, bJ as vS, bK as bS, g as Sy, bL as Ny, bM as kS, bN as xS, bO as ai, ac as Qc, az as Ly, bP as $s, bQ as Im, bR as un, bS as Ey, bT as Rh, bU as Qt, bV as or, bW as p6, bX as Fh, bY as wS, bZ as _S, b_ as Bt, b$ as CS, c0 as SS, c1 as NS, c2 as LS, c3 as ES, c4 as MS, c5 as TS, c6 as Cs, S as ni, c7 as Af, c8 as m6, at as AS, av as g6, aq as y6, c9 as v6, aw as Of, ca as Dm, a0 as xl, r as ar, cb as OS, a9 as Pi, cc as vn, cd as If, ce as ja, cf as IS, cg as b6, ch as DS, i as Df, j as Rf, l as Ff, ci as Rm, cj as RS, C as $n, ck as k6, cl as FS, cm as x6, cn as PS, G as BS, co as w6, cp as Ph, cq as _6, a6 as Xc, cr as zS, cs as $S, ct as jS, cu as VS, cv as HS, aK as Pf, a3 as Bh, F as Fm, aM as WS, cw as Qn, aL as qS, cx as C6, cy as hn, cz as US, cA as KS, cB as Mn, cC as ed, cD as S6, ah as Bf, a7 as Pm, am as Ss, cE as zf, cF as Bm, cG as N6, cH as GS, aa as JS, a2 as L6, cI as zm, cJ as YS, cK as ZS, cL as QS, D as E6, u as M6, cM as T6, cN as rs, cO as XS, cP as My, cQ as eN, cR as tN, cS as nN, cT as $f, K as iN, m as rN, cU as zh, cV as sN, cW as oN, cX as aN, cY as lN, cZ as cN, c_ as dN, c$ as fN, d0 as uN, d1 as hN, d2 as pN, d3 as mN, d4 as gN, p as yN, ao as vN, d5 as A6, d6 as jf, v as $h, d7 as Ty, Z as O6, d8 as wl, d9 as I6, da as D6, db as bN, a1 as Wo, a4 as R6, I as kN, dc as xN, ar as wN, ay as Vf, z as Hf, dd as Wf, de as qf, E as Uf, ax as F6, ab as $m, df as _N, aD as CN, dg as jh, dh as SN, di as td, dj as NN, as as nd, aE as LN, dk as EN, aC as P6, dl as MN, aB as TN, aA as AN, dm as ON, dn as wt, dp as Ay, dq as IN, dr as DN, ds as RN, dt as o1, du as FN, dv as PN, dw as BN, ad as zN, dx as $N, dy as jN, dz as VN, a5 as HN, dA as _l, dB as jm, dC as Vm, dD as Cl, dE as B6, dF as WN, dG as z6, dH as qN, aF as $6, dI as j6, ae as V6, dJ as UN, dK as KN, dL as GN, H as JN, A as YN, B as ZN, d as QN, e as XN, V as eL, b as tL, dM as Oy, dN as nL, dO as iL, dP as rL, dQ as H6, dR as sL } from "./hooks-D5bAC8zc.js";
2
+ import { J as bae, dT as kae, a8 as xae, dS as wae } from "./hooks-D5bAC8zc.js";
3
3
  import { jsxs as b, jsx as f, Fragment as Me } from "react/jsx-runtime";
4
4
  import * as z from "react";
5
5
  import ee, { forwardRef as K, createContext as li, useRef as me, useState as V, useCallback as Be, useContext as pn, useMemo as ae, useEffect as se, PureComponent as oL, useId as Ur, useLayoutEffect as Kf, memo as Sl, Fragment as Pr, useTransition as aL, isValidElement as W6, cloneElement as Hm, useDebugValue as q6, createRef as lL, createElement as cL, version as Iy, useImperativeHandle as Gf, Children as U6 } from "react";
package/dist/f0.d.ts CHANGED
@@ -293,6 +293,7 @@ declare type BaseBannerProps = {
293
293
  onClose?: () => void;
294
294
  isLoading?: boolean;
295
295
  children?: React.ReactNode;
296
+ variant?: "default" | "full-width";
296
297
  };
297
298
 
298
299
  declare interface BaseChipProps extends VariantProps<typeof chipVariants> {
@@ -3406,6 +3407,11 @@ declare module "@tiptap/core" {
3406
3407
  }
3407
3408
 
3408
3409
 
3410
+ declare namespace Calendar {
3411
+ var displayName: string;
3412
+ }
3413
+
3414
+
3409
3415
  declare module "@tiptap/core" {
3410
3416
  interface Commands<ReturnType> {
3411
3417
  moodTracker: {
@@ -3413,8 +3419,3 @@ declare module "@tiptap/core" {
3413
3419
  };
3414
3420
  }
3415
3421
  }
3416
-
3417
-
3418
- declare namespace Calendar {
3419
- var displayName: string;
3420
- }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C as g, L as ge, c as ve, P as G, a as b, f as be, g as z, A as xe, B as Ce, b as ye, d as we, e as Ne, V as Pe, h as M, i as H, j as U, k as Le, l as J, S as Y, m as X, n as Se, O as Fe, o as K, p as ke, q as De, F as Q, r as Me, s as Te, t as Ie, D as Re, u as Be, v as Oe, w as $e, x as Z, y as w, U as ee, z as Ee, E as _e, G as V, H as je, I as ae, J as ze, K as Ve, M as Ae, N as qe, Q as We, R as Ge, X as He, T as Ue, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-C1WJ6dmn.js";
2
- import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Pr, au as Lr, ax as Sr, at as Fr, aL as kr, as as Dr, ar as Mr, a8 as Tr, ai as Ir, aq as Rr, av as Br, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Vr, ay as Ar, aI as qr } from "./hooks-C1WJ6dmn.js";
1
+ import { C as g, L as ge, c as ve, P as G, a as b, f as be, g as z, A as xe, B as Ce, b as ye, d as we, e as Ne, V as Pe, h as M, i as H, j as U, k as Le, l as J, S as Y, m as X, n as Se, O as Fe, o as K, p as ke, q as De, F as Q, r as Me, s as Te, t as Ie, D as Re, u as Be, v as Oe, w as $e, x as Z, y as w, U as ee, z as Ee, E as _e, G as V, H as je, I as ae, J as ze, K as Ve, M as Ae, N as qe, Q as We, R as Ge, X as He, T as Ue, W as Je, Y as Ye, Z as Xe, _ as Ke } from "./hooks-D5bAC8zc.js";
2
+ import { az as Ja, $ as Ya, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as lr, a9 as or, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as mr, ah as hr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as Cr, ao as yr, aj as wr, aH as Nr, aA as Pr, au as Lr, ax as Sr, at as Fr, aL as kr, as as Dr, ar as Mr, a8 as Tr, ai as Ir, aq as Rr, av as Br, aC as Or, aD as $r, aE as Er, aM as _r, aw as jr, aF as zr, aJ as Vr, ay as Ar, aI as qr } from "./hooks-D5bAC8zc.js";
3
3
  import { jsx as e, jsxs as c, Fragment as $ } from "react/jsx-runtime";
4
4
  import * as E from "react";
5
5
  import Qe, { useState as v, forwardRef as I, useRef as re, useImperativeHandle as Ze, Children as ea, useEffect as se, createContext as aa } from "react";
@@ -94858,18 +94858,18 @@ function wMt({ label: e, showIcon: t = !0, onRequest: n, showConfirmation: r = !
94858
94858
  })]
94859
94859
  });
94860
94860
  }
94861
- const nbt = ae(function({ title: t, subtitle: n, mediaUrl: r, primaryAction: a, secondaryAction: i, onClose: o, isLoading: s = !1, children: l }, u) {
94862
- const d = r == null ? void 0 : r.includes(".mp4"), [h, m] = Se(!1), g = () => {
94863
- o && o(), m(!0);
94861
+ const nbt = ae(function({ title: t, subtitle: n, mediaUrl: r, primaryAction: a, secondaryAction: i, onClose: o, isLoading: s = !1, children: l, variant: u = "default" }, d) {
94862
+ const h = r == null ? void 0 : r.includes(".mp4"), [m, g] = Se(!1), C = () => {
94863
+ o && o(), g(!0);
94864
94864
  };
94865
94865
  return s ? c(wX, {
94866
- ref: u
94867
- }) : h ? null : V("div", {
94868
- ref: u,
94866
+ ref: d
94867
+ }) : m ? null : V("div", {
94868
+ ref: d,
94869
94869
  className: "bg-white relative flex w-full flex-col gap-4 rounded-xl border border-f1-border-secondary shadow-md sm:flex-row sm:gap-5",
94870
94870
  children: [c("div", {
94871
94871
  className: "aspect-video w-full flex-shrink-0 overflow-hidden rounded-xl px-1 pb-0 pt-1 sm:max-w-80 sm:py-1 sm:pl-1",
94872
- children: d ? c("video", {
94872
+ children: h ? c("video", {
94873
94873
  src: r,
94874
94874
  autoPlay: !0,
94875
94875
  muted: !0,
@@ -94883,7 +94883,7 @@ const nbt = ae(function({ title: t, subtitle: n, mediaUrl: r, primaryAction: a,
94883
94883
  }), V("div", {
94884
94884
  className: "flex flex-col justify-center gap-5 px-3 pb-3 sm:py-3 sm:pl-0 sm:pr-3",
94885
94885
  children: [V("div", {
94886
- className: "flex w-full flex-col gap-1 sm:max-w-lg",
94886
+ className: le("flex w-full flex-col gap-1", u === "default" ? "sm:max-w-lg" : void 0),
94887
94887
  children: [c("h3", {
94888
94888
  className: "font-bold text-xl text-f1-foreground",
94889
94889
  children: t
@@ -94914,7 +94914,7 @@ const nbt = ae(function({ title: t, subtitle: n, mediaUrl: r, primaryAction: a,
94914
94914
  icon: eF,
94915
94915
  size: "sm",
94916
94916
  hideLabel: !0,
94917
- onClick: g,
94917
+ onClick: C,
94918
94918
  label: "Close"
94919
94919
  })
94920
94920
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.233.1",
3
+ "version": "1.233.2",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,