@factorialco/f0-react 2.22.0 → 2.23.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.
@@ -1,9 +1,9 @@
1
- import { s as ua, B as fa, t as ma, v as ha, w as At, x as De, y as ga, z as g, A as X, E as pe, u as se, T as pa, G as ba, H as xa, R as va, J as wa, K as ne, L as ya, M as gt, N as rt, O as Re, Q as _e, S as Na, U as Ca, V as W, W as ka, X as Sa, Y as ve, Z as sn, _ as Ia, $ as Fa, a0 as M, a1 as on, a2 as O, a3 as we, a4 as Aa, a5 as La, a6 as Ea, a7 as _a, a8 as Oa, a9 as ke, aa as cn, ab as Da, ac as be, ad as $e, ae as Ta, af as pt, k as dn, ag as Ce, ah as za, ai as un, aj as ae, ak as H, al as fn, am as Pa, an as Ba, ao as Ra, ap as mn, aq as $a, ar as hn, as as me, at as ee, au as Wa, av as Ma, aw as ja, ax as Va, ay as ge, az as Ge, aA as Ga, aB as Ha, aC as Ua, aD as Ka, aE as He, aF as gn, aG as qa, aH as Ya, aI as Za, aJ as We, aK as Xa, aL as Ja, aM as Qa, aN as er, aO as tr, aP as nr, aQ as ar, aR as rr, aS as lr, aT as sr, aU as lt, aV as st, aW as pn, aX as ir, aY as or, aZ as cr, a_ as dr, a$ as Ue, b0 as bt, b1 as bn, b2 as ur, b3 as xn, b4 as fr, b5 as mr, b6 as hr, b7 as Ee, b8 as gr, b9 as Te, ba as Lt, bb as it, bc as pr, bd as br, a as xr, c as vr, be as vn, bf as wr, r as yr, F as Nr, bg as wn, bh as Cr, bi as yn, bj as kr, bk as Sr, bl as Ir, bm as Fr, bn as Ar, bo as Lr, bp as Er, bq as _r, br as Or, bs as Nn, bt as ue, bu as xt, bv as vt, bw as wt, bx as Cn, by as yt, bz as kn, bA as Sn, bB as Dr, bC as Tr, bD as zr, bE as Pr, bF as Br, bG as Rr, bH as $r, bI as Wr, bJ as Mr, bK as jr, bL as Et, bM as _t, bN as Ot, bO as Vr, bP as Gr, bQ as Hr, bR as Ur, bS as In, bT as Kr, bU as qr } from "./F0CanvasPanel-v9tjaOnW.js";
2
- import { c4 as Tc, c3 as zc, cg as Pc, c0 as Bc, c1 as Rc, bV as $c, bW as Wc, ch as Mc, bX as jc, c2 as Vc, cc as Gc, cd as Hc, bY as Uc, c6 as Kc, c5 as qc, bZ as Yc, b_ as Zc, ce as Xc, ci as Jc, cf as Qc, cb as ed, c8 as td, ca as nd, c7 as ad, b$ as rd, c9 as ld } from "./F0CanvasPanel-v9tjaOnW.js";
1
+ import { g as ua, B as fa, h as ma, i as ha, j as At, k as De, l as ga, m as g, n as X, o as pe, u as se, T as pa, p as ba, q as xa, R as va, r as wa, s as ne, t as ya, v as gt, w as rt, x as Re, A as _e, y as Na, z as Ca, C as W, E as ka, G as Sa, H as ve, J as sn, K as Ia, L as Fa, M, N as on, S as O, O as we, Q as Aa, U as La, V as Ea, W as _a, X as Oa, Y as ke, Z as cn, _ as Da, $ as be, a0 as $e, a1 as Ta, a2 as pt, d as dn, a3 as Ce, a4 as za, a5 as un, a6 as ae, a7 as H, a8 as fn, a9 as Pa, aa as Ba, ab as Ra, ac as mn, ad as $a, ae as hn, af as me, ag as ee, ah as Wa, ai as Ma, aj as ja, ak as Va, al as ge, am as Ge, an as Ga, ao as Ha, ap as Ua, aq as Ka, ar as He, as as gn, at as qa, au as Ya, av as Za, aw as We, ax as Xa, ay as Ja, az as Qa, aA as er, aB as tr, aC as nr, aD as ar, aE as rr, aF as lr, aG as sr, aH as lt, aI as st, aJ as pn, aK as ir, aL as or, aM as cr, aN as dr, aO as Ue, aP as bt, aQ as bn, aR as ur, aS as xn, aT as fr, aU as mr, aV as hr, aW as Ee, aX as gr, aY as Lt, aZ as it, a_ as pr, a$ as br, a as xr, b as vr, b0 as vn, b1 as wr, f as yr, F as Nr, b2 as wn, b3 as Cr, b4 as yn, b5 as kr, b6 as Sr, b7 as Ir, b8 as Fr, b9 as Ar, ba as Lr, bb as Er, bc as _r, bd as Or, be as Nn, bf as ue, bg as Cn, bh as kn, bi as Dr, bj as Tr, bk as zr, bl as Pr, bm as Br, bn as Rr, bo as $r, bp as Et, bq as _t, br as Ot, bs as Wr, bt as Mr, bu as jr, bv as Vr, bw as Sn, bx as Gr, by as Hr } from "./F0CanvasPanel-CSOSmTuX.js";
2
+ import { bK as Tc, bJ as zc, bW as Pc, bG as Bc, bH as Rc, bz as $c, bA as Wc, bX as Mc, bB as jc, bI as Vc, bS as Gc, bT as Hc, bC as Uc, bM as Kc, bL as qc, bD as Yc, bE as Zc, bU as Xc, bY as Jc, bV as Qc, bR as ed, bO as td, bQ as nd, bN as ad, bF as rd, bP as ld } from "./F0CanvasPanel-CSOSmTuX.js";
3
3
  import { jsx as e, jsxs as o, Fragment as K } from "react/jsx-runtime";
4
- import ie, { forwardRef as j, useRef as G, useTransition as Yr, useState as _, useLayoutEffect as Fn, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Zr, isValidElement as Xr, cloneElement as An, Children as Ln } from "react";
5
- import { C as Jr, P as Qr, g as En, c as el, a as _n, F as ct, f as tl, M as nl, b as al, R as Dt, d as On, u as rl, e as Dn, S as ll, A as sl, B as il, L as ol, h as cl, V as dl, i as ul, j as Tt, k as fl, l as ml, O as hl } from "./useDataCollectionSource-BzwXcIpi.js";
6
- import { q as id, r as od, o as cd, G as dd, s as ud, y as fd, a4 as md, E as hd, p as gd, K as pd, aa as bd, Q as xd, U as vd, t as wd, a6 as yd, a7 as Nd, a5 as Cd, a8 as kd, N as Sd, W as Id, a1 as Fd, a3 as Ad, v as Ld, x as Ed, z as _d, I as Od, a9 as Dd, J as Td, T as zd, w as Pd, D as Bd, m as Rd, n as $d, Y as Wd, Z as Md, a2 as jd, H as Vd, _ as Gd, $ as Hd, X as Ud, a0 as Kd } from "./useDataCollectionSource-BzwXcIpi.js";
4
+ import ie, { forwardRef as j, useRef as G, useTransition as Ur, useState as _, useLayoutEffect as In, useId as ot, useContext as Ke, createContext as xt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Kr, isValidElement as qr, cloneElement as Fn, Children as An } from "react";
5
+ import { C as Yr, P as Zr, g as Ln, c as Xr, a as En, F as ct, f as Jr, b as Te, M as Qr, d as el, R as Dt, e as _n, u as tl, h as On, i as vt, j as wt, k as yt, l as Dn, m as Nt, n as nl, o as al, S as rl, p as ll, A as sl, B as il, L as ol, q as cl, V as dl, r as ul, s as Tt, t as fl, v as ml, O as hl } from "./useDataCollectionSource-DnYC5D7b.js";
6
+ import { D as id, E as od, y as cd, W as dd, G as ud, N as fd, ad as md, U as hd, z as gd, a0 as pd, aj as bd, a1 as xd, a2 as vd, H as wd, af as yd, ag as Nd, ae as Cd, ah as kd, Y as Sd, a3 as Id, aa as Fd, ac as Ad, I as Ld, K as Ed, Q as _d, _ as Od, ai as Dd, $ as Td, Z as zd, J as Pd, T as Bd, w as Rd, x as $d, a5 as Wd, a6 as Md, ab as jd, X as Vd, a7 as Gd, a8 as Hd, a4 as Ud, a9 as Kd } from "./useDataCollectionSource-DnYC5D7b.js";
7
7
  const gl = ua("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
@@ -83,8 +83,8 @@ function vl(t, n, a = []) {
83
83
  };
84
84
  }
85
85
  function wl({ breadcrumbs: t, append: n }) {
86
- const a = G(null), r = G(null), [, l] = Yr(), [s, i] = _(null), c = (s?.collapsedItems || []).length > 0;
87
- return Fn(() => {
86
+ const a = G(null), r = G(null), [, l] = Ur(), [s, i] = _(null), c = (s?.collapsedItems || []).length > 0;
87
+ return In(() => {
88
88
  const d = a.current, f = r.current;
89
89
  if (!d || !f || f.children.length < t.length) return;
90
90
  const u = () => {
@@ -330,7 +330,7 @@ const yl = pe({
330
330
  )
331
331
  }
332
332
  );
333
- }, zn = j(Nl), Pn = Nt(null), Cl = 15, kl = ({ children: t, enabled: n, onShow: a, ...r }) => {
333
+ }, zn = j(Nl), Pn = xt(null), Cl = 15, kl = ({ children: t, enabled: n, onShow: a, ...r }) => {
334
334
  const [l, s] = _(n), [i, c] = _(!1), [d, f] = _(!0), [u, m] = _(
335
335
  Cl
336
336
  ), h = G(null), p = (v) => {
@@ -450,7 +450,7 @@ const Bn = ({
450
450
  ) }),
451
451
  !l && /* @__PURE__ */ e(ya, { side: "left", className: "font-medium", children: s.ai.welcome })
452
452
  ] }) }) }) : null;
453
- }, Bt = "one_sidebar_locked", Rn = Nt(void 0);
453
+ }, Bt = "one_sidebar_locked", Rn = xt(void 0);
454
454
  function Se() {
455
455
  const t = Ke(Rn);
456
456
  return t === void 0 ? {
@@ -887,7 +887,7 @@ const Rt = X.create(W), $t = {
887
887
  ) })
888
888
  ] }),
889
889
  /* @__PURE__ */ e(
890
- Jr,
890
+ Yr,
891
891
  {
892
892
  columns: {
893
893
  default: 1
@@ -895,7 +895,7 @@ const Rt = X.create(W), $t = {
895
895
  showDots: !0,
896
896
  showArrows: !1,
897
897
  children: a?.products.map((d) => /* @__PURE__ */ e(
898
- Qr,
898
+ Zr,
899
899
  {
900
900
  ...d,
901
901
  isVisible: !0,
@@ -1318,7 +1318,7 @@ const Pl = () => {
1318
1318
  } = qe(), d = () => {
1319
1319
  i(!1), c?.();
1320
1320
  };
1321
- return t ? /* @__PURE__ */ o(Rl, { clickOutsideToClose: !0, hitEscapeToClose: !0, shortcut: "", children: [
1321
+ return t ? /* @__PURE__ */ o(Rl, { children: [
1322
1322
  /* @__PURE__ */ e("div", { className: "flex items-center justify-end p-3 pb-0", children: /* @__PURE__ */ e(
1323
1323
  ve,
1324
1324
  {
@@ -3025,7 +3025,7 @@ const Vt = ({
3025
3025
  s
3026
3026
  ]);
3027
3027
  const L = G(null), [U, T] = _(0);
3028
- return Fn(() => {
3028
+ return In(() => {
3029
3029
  const w = () => {
3030
3030
  L.current && T(L.current.offsetWidth);
3031
3031
  };
@@ -3197,7 +3197,7 @@ const is = ({
3197
3197
  onChange(h) {
3198
3198
  h && d?.(t);
3199
3199
  }
3200
- }), u = En(n, {
3200
+ }), u = Ln(n, {
3201
3201
  yesterdayRelative: !1
3202
3202
  });
3203
3203
  return /* @__PURE__ */ o(
@@ -3276,7 +3276,7 @@ const is = ({
3276
3276
  onEndReached: r,
3277
3277
  onEndReachedItemsThreshold: l = 5
3278
3278
  }) => {
3279
- const s = se(), i = el(t, "createdAt"), c = Object.values(i).slice().flatMap((u) => u.map((m) => m.id)).slice(-l), d = ir((u) => {
3279
+ const s = se(), i = Xr(t, "createdAt"), c = Object.values(i).slice().flatMap((u) => u.map((m) => m.id)).slice(-l), d = ir((u) => {
3280
3280
  c.includes(u) && r?.();
3281
3281
  }, 1e3), f = ms(
3282
3282
  Object.entries(i).filter(([u, m]) => !!m.length)
@@ -3390,7 +3390,7 @@ function xs({
3390
3390
  a ? "bottom-0.5" : "-bottom-[3px]"
3391
3391
  ),
3392
3392
  children: /* @__PURE__ */ e(
3393
- _n,
3393
+ En,
3394
3394
  {
3395
3395
  lastEmojiReaction: l,
3396
3396
  onSelect: s,
@@ -3593,7 +3593,7 @@ function Cs({ items: t, onInteraction: n, locale: a, action: r }) {
3593
3593
  hideLabel: !0
3594
3594
  }
3595
3595
  ),
3596
- /* @__PURE__ */ e(_n, { onSelect: n, locale: a }),
3596
+ /* @__PURE__ */ e(En, { onSelect: n, locale: a }),
3597
3597
  t.map((l) => /* @__PURE__ */ e(
3598
3598
  Ns,
3599
3599
  {
@@ -3761,7 +3761,7 @@ const Ss = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3761
3761
  place: a,
3762
3762
  date: r
3763
3763
  }) => {
3764
- let l = tl(r);
3764
+ let l = Jr(r);
3765
3765
  const s = (i) => {
3766
3766
  i.stopPropagation();
3767
3767
  };
@@ -3857,7 +3857,7 @@ const Ss = () => /* @__PURE__ */ o("div", { className: "flex flex-col justify-ar
3857
3857
  noReactionsButton: v = !1,
3858
3858
  descriptionExpandable: y = !1
3859
3859
  }) => {
3860
- const I = ot(), z = ot(), R = G(null), [D, E] = _(null), [L, U] = _(!1), T = [f.views, f.comments].filter(Boolean).join(" · "), w = y && D?.id === t && D.description === s, k = !w, C = En(r), F = () => {
3860
+ const I = ot(), z = ot(), R = G(null), [D, E] = _(null), [L, U] = _(!1), T = [f.views, f.comments].filter(Boolean).join(" · "), w = y && D?.id === t && D.description === s, k = !w, C = Ln(r), F = () => {
3861
3861
  i(t);
3862
3862
  }, B = (S) => {
3863
3863
  S.stopPropagation();
@@ -4206,7 +4206,7 @@ function zs({
4206
4206
  ai: r,
4207
4207
  aiPromotion: l
4208
4208
  }) {
4209
- const s = r?.enabled ? xr : l?.enabled ? Vl : Zr, i = r?.enabled ? r : l?.enabled ? l : void 0;
4209
+ const s = r?.enabled ? xr : l?.enabled ? Vl : Kr, i = r?.enabled ? r : l?.enabled ? l : void 0;
4210
4210
  return /* @__PURE__ */ e(s, { ...i, children: /* @__PURE__ */ e(
4211
4211
  $s,
4212
4212
  {
@@ -4280,7 +4280,7 @@ function $s({
4280
4280
  }, [u, d]), $(() => {
4281
4281
  d(R);
4282
4282
  }, [R, d]), Rs(u, F), /* @__PURE__ */ e(
4283
- nl,
4283
+ Qr,
4284
4284
  {
4285
4285
  reducedMotion: f ? "always" : "never",
4286
4286
  transition: {
@@ -4460,7 +4460,7 @@ function Xn({
4460
4460
  ),
4461
4461
  children: [
4462
4462
  n?.onPulseClick ? /* @__PURE__ */ e(
4463
- al,
4463
+ el,
4464
4464
  {
4465
4465
  src: n.employeeAvatar,
4466
4466
  firstName: n.employeeFirstName,
@@ -4863,7 +4863,7 @@ function Ks() {
4863
4863
  n(window.matchMedia("(pointer: coarse)").matches);
4864
4864
  }, []), t;
4865
4865
  }
4866
- const Qn = Nt(void 0);
4866
+ const Qn = xt(void 0);
4867
4867
  function qs({ children: t }) {
4868
4868
  const [n, a] = _(!1), [r, l] = _(null);
4869
4869
  return /* @__PURE__ */ e(
@@ -5014,7 +5014,7 @@ const Ys = ({
5014
5014
  )
5015
5015
  ] }), [t, v, I, w, L, n]);
5016
5016
  return d ? /* @__PURE__ */ e(
5017
- On,
5017
+ _n,
5018
5018
  {
5019
5019
  value: t,
5020
5020
  drag: "y",
@@ -5104,7 +5104,7 @@ const Ys = ({
5104
5104
  onDragEnd: l,
5105
5105
  currentOrder: s
5106
5106
  }) => {
5107
- const { isDragging: i, setIsDragging: c } = It(), d = G(!1), f = rl(), u = () => {
5107
+ const { isDragging: i, setIsDragging: c } = It(), d = G(!1), f = tl(), u = () => {
5108
5108
  c(!0), d.current = !0;
5109
5109
  }, m = () => {
5110
5110
  c(!1), setTimeout(() => {
@@ -5134,7 +5134,7 @@ const Ys = ({
5134
5134
  }
5135
5135
  );
5136
5136
  return n ? /* @__PURE__ */ e(
5137
- On,
5137
+ _n,
5138
5138
  {
5139
5139
  id: t.id,
5140
5140
  value: t,
@@ -5420,7 +5420,7 @@ function ei({
5420
5420
  top: { duration: i ? 0 : 0.1 },
5421
5421
  left: { duration: i ? 0 : 0.1 },
5422
5422
  default: { duration: i ? 0 : 0.2 }
5423
- }, p = () => a ? Xr(a) && r ? An(
5423
+ }, p = () => a ? qr(a) && r ? Fn(
5424
5424
  a,
5425
5425
  {
5426
5426
  onDropdownClick: r
@@ -5808,7 +5808,7 @@ const li = ({
5808
5808
  },
5809
5809
  oi
5810
5810
  ), hi = ({ children: t }) => {
5811
- const { enabled: n } = Dn();
5811
+ const { enabled: n } = On();
5812
5812
  return /* @__PURE__ */ e(
5813
5813
  "div",
5814
5814
  {
@@ -5832,7 +5832,7 @@ const li = ({
5832
5832
  }
5833
5833
  );
5834
5834
  }, gi = () => /* @__PURE__ */ e("div", { className: "min-h-[0.15rem] min-w-[0.15rem] rounded-full bg-f1-foreground-secondary" }), pi = j(function({ header: n, children: a, action: r, summaries: l, alert: s, status: i, fullHeight: c = !1 }, d) {
5835
- const { enabled: f, toggle: u } = Dn();
5835
+ const { enabled: f, toggle: u } = On();
5836
5836
  $(() => {
5837
5837
  if (s && i)
5838
5838
  throw Error(
@@ -5843,7 +5843,7 @@ const li = ({
5843
5843
  n?.link?.onClick?.();
5844
5844
  };
5845
5845
  return /* @__PURE__ */ o(
5846
- xt,
5846
+ vt,
5847
5847
  {
5848
5848
  className: g(
5849
5849
  c ? "h-full" : "",
@@ -5851,18 +5851,18 @@ const li = ({
5851
5851
  ),
5852
5852
  ref: d,
5853
5853
  children: [
5854
- n && /* @__PURE__ */ e(vt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o("div", { className: "flex w-full flex-1 flex-col gap-4", children: [
5854
+ n && /* @__PURE__ */ e(wt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o("div", { className: "flex w-full flex-1 flex-col gap-4", children: [
5855
5855
  /* @__PURE__ */ o("div", { className: "flex flex-1 flex-row flex-nowrap items-center justify-between gap-2", children: [
5856
5856
  /* @__PURE__ */ o("div", { className: "flex min-h-6 grow flex-row items-center gap-1 truncate", children: [
5857
- n.title && /* @__PURE__ */ e(wt, { className: "truncate", children: n.title }),
5857
+ n.title && /* @__PURE__ */ e(yt, { className: "truncate", children: n.title }),
5858
5858
  n.subtitle && /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-1", children: [
5859
5859
  /* @__PURE__ */ e(gi, {}),
5860
- /* @__PURE__ */ e(Cn, { className: "truncate", children: n.subtitle })
5860
+ /* @__PURE__ */ e(Dn, { className: "truncate", children: n.subtitle })
5861
5861
  ] }),
5862
5862
  n.info && /* @__PURE__ */ e(be, { label: n.info, children: /* @__PURE__ */ e(
5863
5863
  W,
5864
5864
  {
5865
- icon: kn,
5865
+ icon: Cn,
5866
5866
  size: "sm",
5867
5867
  className: "text-f1-foreground-secondary"
5868
5868
  }
@@ -5870,10 +5870,10 @@ const li = ({
5870
5870
  n.count && /* @__PURE__ */ e("div", { className: "ml-0.5", children: /* @__PURE__ */ e(He, { value: n.count }) })
5871
5871
  ] }),
5872
5872
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-3", children: [
5873
- s && /* @__PURE__ */ e(Sn, { text: s, level: "critical" }),
5873
+ s && /* @__PURE__ */ e(kn, { text: s, level: "critical" }),
5874
5874
  i && /* @__PURE__ */ e($e, { text: i.text, variant: i.variant }),
5875
5875
  n.link && /* @__PURE__ */ e(
5876
- Dr,
5876
+ nl,
5877
5877
  {
5878
5878
  onClick: h,
5879
5879
  href: n.link.url,
@@ -5884,11 +5884,11 @@ const li = ({
5884
5884
  ] })
5885
5885
  ] }),
5886
5886
  n.comment && /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-3 overflow-visible", children: [
5887
- /* @__PURE__ */ e(hi, { children: /* @__PURE__ */ e(Tr, { children: n.comment }) }),
5887
+ /* @__PURE__ */ e(hi, { children: /* @__PURE__ */ e(al, { children: n.comment }) }),
5888
5888
  !!n.canBeBlurred && /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
5889
5889
  M,
5890
5890
  {
5891
- icon: f ? zr : Pr,
5891
+ icon: f ? Dr : Tr,
5892
5892
  hideLabel: !0,
5893
5893
  label: "hide/show",
5894
5894
  variant: "outline",
@@ -5898,7 +5898,7 @@ const li = ({
5898
5898
  ) })
5899
5899
  ] })
5900
5900
  ] }) }),
5901
- /* @__PURE__ */ o(yt, { className: "flex h-full flex-col gap-4", children: [
5901
+ /* @__PURE__ */ o(Nt, { className: "flex h-full flex-col gap-4", children: [
5902
5902
  l && /* @__PURE__ */ e("div", { className: "flex flex-row", children: l.map((p, b) => /* @__PURE__ */ o("div", { className: "grow", children: [
5903
5903
  /* @__PURE__ */ e("div", { className: "mb-0.5 text-sm text-f1-foreground-secondary", children: p.label }),
5904
5904
  /* @__PURE__ */ o("div", { className: "flex flex-row items-end gap-0.5 text-2xl font-semibold", children: [
@@ -5908,11 +5908,11 @@ const li = ({
5908
5908
  ] })
5909
5909
  ] }, b)) }),
5910
5910
  ie.Children.toArray(a).filter(m).map((p, b) => /* @__PURE__ */ o(ie.Fragment, { children: [
5911
- b > 0 && /* @__PURE__ */ e(ll, { bare: !0 }),
5911
+ b > 0 && /* @__PURE__ */ e(rl, { bare: !0 }),
5912
5912
  p
5913
5913
  ] }, b))
5914
5914
  ] }),
5915
- r && /* @__PURE__ */ e(Br, { children: /* @__PURE__ */ e(M, { variant: "neutral", size: "sm", ...r }) })
5915
+ r && /* @__PURE__ */ e(ll, { children: /* @__PURE__ */ e(M, { variant: "neutral", size: "sm", ...r }) })
5916
5916
  ]
5917
5917
  }
5918
5918
  );
@@ -5927,7 +5927,7 @@ const li = ({
5927
5927
  }), xi = j(
5928
5928
  function({ header: n, height: a }, r) {
5929
5929
  return /* @__PURE__ */ o(
5930
- xt,
5930
+ vt,
5931
5931
  {
5932
5932
  className: g(
5933
5933
  "flex gap-4 border-f1-border-secondary",
@@ -5937,19 +5937,19 @@ const li = ({
5937
5937
  "aria-live": "polite",
5938
5938
  "aria-busy": !0,
5939
5939
  children: [
5940
- /* @__PURE__ */ e(vt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o(
5940
+ /* @__PURE__ */ e(wt, { className: "-mr-1 -mt-1", children: /* @__PURE__ */ o(
5941
5941
  "div",
5942
5942
  {
5943
5943
  className: "flex h-6 w-full flex-row items-center gap-1.5",
5944
5944
  "aria-hidden": !0,
5945
5945
  children: [
5946
- n?.title ? /* @__PURE__ */ e(wt, { children: n.title }) : /* @__PURE__ */ e(O, { className: "h-4 w-full max-w-16" }),
5947
- n?.subtitle && /* @__PURE__ */ e(Cn, { children: n.subtitle })
5946
+ n?.title ? /* @__PURE__ */ e(yt, { children: n.title }) : /* @__PURE__ */ e(O, { className: "h-4 w-full max-w-16" }),
5947
+ n?.subtitle && /* @__PURE__ */ e(Dn, { children: n.subtitle })
5948
5948
  ]
5949
5949
  }
5950
5950
  ) }),
5951
5951
  /* @__PURE__ */ e(
5952
- yt,
5952
+ Nt,
5953
5953
  {
5954
5954
  "aria-hidden": !0,
5955
5955
  className: g(a !== "full" && bi({ height: a })),
@@ -6408,7 +6408,7 @@ const li = ({
6408
6408
  function({ title: n, content: a, buttonLabel: r, buttonIcon: l, buttonAction: s, type: i }, c) {
6409
6409
  const d = zi[i], f = Pi[i], u = Bi[i], m = Ri[i];
6410
6410
  return /* @__PURE__ */ o(
6411
- xt,
6411
+ vt,
6412
6412
  {
6413
6413
  className: g(
6414
6414
  "relative flex gap-4 overflow-hidden border-dashed",
@@ -6416,8 +6416,8 @@ const li = ({
6416
6416
  ),
6417
6417
  ref: c,
6418
6418
  children: [
6419
- /* @__PURE__ */ e(vt, { className: "-mt-0.5", children: /* @__PURE__ */ e(wt, { children: n }) }),
6420
- /* @__PURE__ */ o(yt, { className: g("flex flex-col gap-4", f), children: [
6419
+ /* @__PURE__ */ e(wt, { className: "-mt-0.5", children: /* @__PURE__ */ e(yt, { children: n }) }),
6420
+ /* @__PURE__ */ o(Nt, { className: g("flex flex-col gap-4", f), children: [
6421
6421
  /* @__PURE__ */ o(
6422
6422
  "div",
6423
6423
  {
@@ -6456,7 +6456,7 @@ function Wi(t, n) {
6456
6456
  visibleItems: [],
6457
6457
  overflowItems: []
6458
6458
  });
6459
- Rr({
6459
+ zr({
6460
6460
  ref: a,
6461
6461
  onResize: () => {
6462
6462
  f();
@@ -6687,8 +6687,8 @@ function vc({
6687
6687
  withEmoji: "emoji" in c && !!c.emoji,
6688
6688
  withPointerCursor: s,
6689
6689
  children: [
6690
- "alert" in c && c.alert && /* @__PURE__ */ e($r, { type: c.alert }),
6691
- "emoji" in c && c.emoji && /* @__PURE__ */ e(Wr, { emoji: c.emoji }),
6690
+ "alert" in c && c.alert && /* @__PURE__ */ e(Pr, { type: c.alert }),
6691
+ "emoji" in c && c.emoji && /* @__PURE__ */ e(Br, { emoji: c.emoji }),
6692
6692
  /* @__PURE__ */ o("div", { className: "flex-1", children: [
6693
6693
  /* @__PURE__ */ e("p", { className: "line-clamp-1 font-medium", children: n }),
6694
6694
  /* @__PURE__ */ e("p", { className: "line-clamp-1 text-f1-foreground-secondary", children: a })
@@ -6768,7 +6768,7 @@ function ht({
6768
6768
  )
6769
6769
  ] }),
6770
6770
  /* @__PURE__ */ o("div", { className: "flex flex-row items-center gap-2", children: [
6771
- a && /* @__PURE__ */ e(Sn, { ...a }),
6771
+ a && /* @__PURE__ */ e(kn, { ...a }),
6772
6772
  r && /* @__PURE__ */ e(Ee, { ...r }),
6773
6773
  !!l && /* @__PURE__ */ e(He, { value: l })
6774
6774
  ] })
@@ -6823,7 +6823,7 @@ const Ui = ({ title: t, info: n }) => /* @__PURE__ */ o("div", { className: "fle
6823
6823
  {
6824
6824
  label: r.label,
6825
6825
  description: r.description,
6826
- children: /* @__PURE__ */ e(W, { icon: kn, size: "sm" })
6826
+ children: /* @__PURE__ */ e(W, { icon: Cn, size: "sm" })
6827
6827
  }
6828
6828
  ) })
6829
6829
  ] }),
@@ -6996,7 +6996,7 @@ function Xi({
6996
6996
  strokeWidth: 0,
6997
6997
  isAnimationActive: !1,
6998
6998
  children: r.map((c, d) => /* @__PURE__ */ e(
6999
- Mr,
6999
+ Rr,
7000
7000
  {
7001
7001
  fill: c.color,
7002
7002
  role: "presentation",
@@ -7036,7 +7036,7 @@ function Ji({
7036
7036
  children: t ?? n
7037
7037
  }
7038
7038
  ),
7039
- /* @__PURE__ */ e(W, { icon: jr })
7039
+ /* @__PURE__ */ e(W, { icon: $r })
7040
7040
  ]
7041
7041
  }
7042
7042
  );
@@ -7237,9 +7237,9 @@ function kc({
7237
7237
  ] }) });
7238
7238
  }
7239
7239
  const Qi = {
7240
- done: Hr,
7241
- "in-progress": Gr,
7242
- todo: Vr
7240
+ done: jr,
7241
+ "in-progress": Mr,
7242
+ todo: Wr
7243
7243
  }, eo = {
7244
7244
  done: "text-f1-icon-success",
7245
7245
  "in-progress": "text-f1-icon-info",
@@ -7270,7 +7270,7 @@ function to({
7270
7270
  } : void 0,
7271
7271
  rawTag: t.badge && !t.badge.isPastDue ? {
7272
7272
  text: t.badge.text,
7273
- icon: Ur
7273
+ icon: Vr
7274
7274
  } : void 0,
7275
7275
  count: t.counter,
7276
7276
  onClick: l
@@ -7433,15 +7433,15 @@ var Eo = () => {
7433
7433
  }, Oo = (t) => {
7434
7434
  var n = t, { children: a, style: r, transition: l = !1, transitionDuration: s = 500, transitionStep: i = 50 } = n, c = lo(n, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
7435
7435
  let d = G([]), f = G(null), u = Eo(), m = _o(f), { positions: h, containerHeight: p } = ko({ boxesRefs: d, wrapperRef: f, children: a, windowWidth: u, wrapperWidth: m }), b = oe({ minHeight: p ?? 0, position: "relative" }, r);
7436
- return e("div", Je(oe({ ref: f, style: b }, c), { children: Ln.map(a, (v, y) => {
7436
+ return e("div", Je(oe({ ref: f, style: b }, c), { children: An.map(a, (v, y) => {
7437
7437
  if (typeof v != "object" || !v || !("type" in v)) return v;
7438
7438
  let I = { style: Ao({ style: v.props.style, position: h[y], transition: l, transitionDuration: s }), ref: (z) => d.current[y] = z };
7439
- return An(v, oe(oe({}, v.props), I));
7439
+ return Fn(v, oe(oe({}, v.props), I));
7440
7440
  }) }));
7441
7441
  };
7442
7442
  const Do = { sm: 340, md: 480, lg: 640 }, rn = j(
7443
7443
  function({ children: n, widgetWidth: a = "sm" }, r) {
7444
- const l = Do[a], [s, i] = _(), c = Ln.toArray(n), d = G(null);
7444
+ const l = Do[a], [s, i] = _(), c = An.toArray(n), d = G(null);
7445
7445
  return $(() => {
7446
7446
  const f = () => {
7447
7447
  const u = d.current?.offsetWidth;
@@ -7462,11 +7462,11 @@ const Do = { sm: 340, md: 480, lg: 640 }, rn = j(
7462
7462
  u
7463
7463
  )) }, s) }) }) });
7464
7464
  }
7465
- ), To = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], Ic = ee(rn, () => /* @__PURE__ */ e(In, { children: /* @__PURE__ */ e(rn, { children: To.map((t, n) => /* @__PURE__ */ e(Ne.Skeleton, { height: t }, n)) }) })), ln = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: t }), Fc = ee(
7465
+ ), To = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], Ic = ee(rn, () => /* @__PURE__ */ e(Sn, { children: /* @__PURE__ */ e(rn, { children: To.map((t, n) => /* @__PURE__ */ e(Ne.Skeleton, { height: t }, n)) }) })), ln = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: t }), Fc = ee(
7466
7466
  j(function({ children: n }, a) {
7467
7467
  return /* @__PURE__ */ e(Ge, { ref: a, showBar: !1, children: /* @__PURE__ */ e(ln, { children: n }) });
7468
7468
  }),
7469
- () => /* @__PURE__ */ e(In, { orientation: "horizontal", children: /* @__PURE__ */ o(ln, { children: [
7469
+ () => /* @__PURE__ */ e(Sn, { orientation: "horizontal", children: /* @__PURE__ */ o(ln, { children: [
7470
7470
  /* @__PURE__ */ e(Ne.Skeleton, {}),
7471
7471
  /* @__PURE__ */ e(Ne.Skeleton, {}),
7472
7472
  /* @__PURE__ */ e(Ne.Skeleton, {})
@@ -7495,7 +7495,7 @@ function zo({
7495
7495
  const Ac = ae(
7496
7496
  H("WidgetEmptyState", zo)
7497
7497
  ), la = j(
7498
- ({ title: t, children: n }, a) => (Kr(
7498
+ ({ title: t, children: n }, a) => (Gr(
7499
7499
  t,
7500
7500
  { disallowEmpty: !0 },
7501
7501
  { componentName: "WidgetSection" }
@@ -7513,7 +7513,7 @@ const Lc = ae(
7513
7513
  disallowedRoutes: a,
7514
7514
  children: r
7515
7515
  }) => {
7516
- const l = qr(), s = window.location.pathname, i = q(() => n?.length ? n.includes(s) : a?.length ? !a.includes(s) : !0, [s, n, a]), c = q(() => {
7516
+ const l = Hr(), s = window.location.pathname, i = q(() => n?.length ? n.includes(s) : a?.length ? !a.includes(s) : !0, [s, n, a]), c = q(() => {
7517
7517
  let d = `The component ${t} is not allowed to be rendered in the current route.`;
7518
7518
  return n && n.length > 0 && (d += ` Allowed routes: ${n.join(", ")}`), a && a.length > 0 && (d += ` Disallowed routes: ${a.join(", ")}`), d;
7519
7519
  }, [t, n, a]);
@@ -7549,7 +7549,7 @@ export {
7549
7549
  mt as CalendarEvent,
7550
7550
  pc as CalendarEventList,
7551
7551
  dd as CardSelectableContainer,
7552
- Jr as Carousel,
7552
+ Yr as Carousel,
7553
7553
  ud as CategoryBarChart,
7554
7554
  Cc as CategoryBarSection,
7555
7555
  Uo as Celebration,