@factorialco/f0-react 14.31.3 → 15.0.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.
Files changed (66) hide show
  1. package/dist/{ArchiveThumbnail-DqVIQZoW.js → ArchiveThumbnail-CMOY3hug.js} +5 -5
  2. package/dist/{ArchiveViewer-b2Wp0JUG.js → ArchiveViewer-Bc5iN2gm.js} +15 -15
  3. package/dist/{ChatPostComposerDialog-Zsz4Ni_S.js → ChatPostComposerDialog-NOdBRHQW.js} +3 -3
  4. package/dist/{CoachmarkProvider-C78Xiefk.js → CoachmarkProvider-CQE9J_S1.js} +26525 -26539
  5. package/dist/{CodeThumbnail-u2nL4mSO.js → CodeThumbnail-JLPjPSHE.js} +1 -1
  6. package/dist/{CodeViewer-hVg25taQ.js → CodeViewer-HhRZ_KtU.js} +8 -8
  7. package/dist/{DocumentToolbar-DY5GWF2m.js → DocumentToolbar-C3YeGLiY.js} +5 -5
  8. package/dist/{DocxViewer-BvNPALXn.js → DocxViewer-B_pUywX2.js} +3 -3
  9. package/dist/{F0AiProcessingOverlay-DJL2v246.js → F0AiProcessingOverlay-CreyUmNt.js} +2869 -2398
  10. package/dist/{F0Alert-BLx10d2-.js → F0Alert-Dfw9wvmG.js} +15 -15
  11. package/dist/F0AudioPlayer-BqKZE5cb.js +2 -0
  12. package/dist/{F0Button-BfcH39fa.js → F0Button-Hs9dD3kp.js} +3281 -3224
  13. package/dist/{F0CanvasPanel-D7WW8pd6.js → F0CanvasPanel-QAikAHrt.js} +9045 -8669
  14. package/dist/F0CanvasPanel.css +1 -1
  15. package/dist/{F0DocumentViewer-DqmvgGr8.js → F0DocumentViewer-BBZNZzXF.js} +1 -1
  16. package/dist/{F0DocumentViewer-CjrlS3ZO.js → F0DocumentViewer-DtBBvHeY.js} +4 -4
  17. package/dist/{F0Icon-BODMWayd.js → F0Icon-C0Ks-zGo.js} +1 -1
  18. package/dist/{F0Map-CVeX6rRX.js → F0Map-DrGsOz1c.js} +609 -599
  19. package/dist/{F0Select-CYFD0h9x.js → F0Select-D8elfH2c.js} +7134 -7107
  20. package/dist/{F0Text-DYI-dgwG.js → F0Text-BdLMC6rw.js} +2 -2
  21. package/dist/F0VideoPlayer-BzehPrsz.js +1 -0
  22. package/dist/{F0VideoPlayer-Z7YNLq4v.js → F0VideoPlayer-mLzBl6O5.js} +255 -255
  23. package/dist/{HtmlThumbnail-CENW-PSn.js → HtmlThumbnail-C2fHnIU5.js} +1 -1
  24. package/dist/{HtmlViewer-CkYgtVYE.js → HtmlViewer-CNHsP0_Q.js} +9 -9
  25. package/dist/{LayoutGroup-BDMkthvj.js → LayoutGroup-B5tU1ztA.js} +14 -14
  26. package/dist/{Map-BDHD0YwP.js → Map-Cfzh4DYS.js} +13 -13
  27. package/dist/{PdfThumbnail-8GNGxMJt.js → PdfThumbnail-BhMepsUK.js} +1 -1
  28. package/dist/{PdfViewer-Dnw3HwAO.js → PdfViewer-CL30Vr4B.js} +11 -11
  29. package/dist/{SandboxedHtmlFrame-DulTTwnE.js → SandboxedHtmlFrame-QjmWXSV-.js} +2 -2
  30. package/dist/{SheetViewer-zWlafaWN.js → SheetViewer-Cs_vLeh4.js} +15 -15
  31. package/dist/{TextViewer-Z77_eAGH.js → TextViewer-CGoMovpP.js} +4 -4
  32. package/dist/ai.d.ts +4 -4
  33. package/dist/ai.js +5 -5
  34. package/dist/component-status.js +34 -12
  35. package/dist/{dist-Cuwaibqg.js → dist-BCNVh6y5.js} +2 -1
  36. package/dist/dist-C8J2FPJo.js +970 -0
  37. package/dist/{dist-Dh-hHue-.js → dist-CJIEhLuL.js} +3 -3
  38. package/dist/dist-CQSuXDpA.js +12 -0
  39. package/dist/{dist-B1ho8lUr.js → dist-DVsrUl0U.js} +6 -6
  40. package/dist/{dist-CYzeNTKV.js → dist-DpAd2wW2.js} +40 -40
  41. package/dist/experimental.d.ts +92 -77
  42. package/dist/experimental.js +6667 -7067
  43. package/dist/{exports-Ck-BjPQ_.d.ts → exports-BSI98RKf.d.ts} +96 -94
  44. package/dist/f0.d.ts +52 -8
  45. package/dist/f0.js +1761 -1761
  46. package/dist/{google-D1V0swd7.js → google-CG30Y63J.js} +1 -1
  47. package/dist/{highlight-CXWCrLa3.js → highlight-DUGKJ8WM.js} +7 -7
  48. package/dist/{i18n-provider-C0z4575b.js → i18n-provider-DoTL-0tJ.js} +1 -1
  49. package/dist/{i18n-provider-defaults-D87XbZtT.d.ts → i18n-provider-defaults-BkNbvakp.d.ts} +21 -15
  50. package/dist/{i18n-provider-defaults-BeyCAnkS.js → i18n-provider-defaults-ZqFx7uFw.js} +21 -19
  51. package/dist/i18n-provider-defaults.d.ts +1 -1
  52. package/dist/i18n-provider-defaults.js +1 -1
  53. package/dist/{index-BakET5p_.d.ts → index-CeGTmQfe.d.ts} +308 -385
  54. package/dist/{maplibre-HGgd69Ss.js → maplibre-iSstWV_1.js} +2 -2
  55. package/dist/{pdfWorker-t0S8Tmzi.js → pdfWorker-DwNAnhfp.js} +1 -1
  56. package/dist/{popover-BsFj9cmb.js → popover-CCSQvMSp.js} +898 -1678
  57. package/dist/{skeleton-DWdckpXm.js → skeleton-BsalZgC5.js} +1 -1
  58. package/dist/styles.css +1 -1
  59. package/dist/{toolbarStyles-B9vf6pee.js → toolbarStyles-DGCICoyx.js} +1 -1
  60. package/dist/{types-BqSHd7u-.d.ts → types-Brch_2zb.d.ts} +2 -2
  61. package/dist/{useData-C7KI_3q1.js → useData-D4FE64eT.js} +110 -109
  62. package/package.json +6 -3
  63. package/tailwind.config.ts +49 -0
  64. package/dist/F0AudioPlayer-D6O-SSQc.js +0 -2
  65. package/dist/F0VideoPlayer-DSAREEuf.js +0 -1
  66. package/dist/scrollarea-CStky4Xl.js +0 -691
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-DFMOxXQO.js";
2
- import { t } from "./F0Button-BfcH39fa.js";
2
+ import { t } from "./F0Button-Hs9dD3kp.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/addons/documents/F0DocumentViewer/pdfActions.ts
5
5
  var r = async (e) => {
@@ -1,5 +1,5 @@
1
- import { Co as WithDataTestIdProps, Fa as AvatarVariant, Ha as IconAvatarVariant, Jn as AlertAvatarProps, Ma as DataAttributes, Pa as AvatarAction, To as WithDataTestIdReturnType, Ua as PersonAvatarVariant, Wa as TeamAvatarVariant, Xt as CardImageFit, Yt as CardImageAspectRatio, Za as CountryCode, Zt as CardImageSize, ar as StatusVariant, ba as F0ButtonProps, bo as F0IconProps, f as ButtonDropdownItem, fa as DropdownItemObject, ho as NewColor, in as CardMetadata, jt as TranscribeFn, la as DropdownInternalProps, ma as DropdownItemSeparator, on as ValueDisplayRendererDefinition, or as Variant, po as ModuleId, qn as CardAvatarVariant, ua as DropdownItem, un as TagVariant, vo as DistributiveOmit$1, xo as IconType, za as CompanyAvatarVariant, zn as ChartColorToken } from "./index-BakET5p_.js";
2
- import { n as TranslationsType } from "./i18n-provider-defaults-D87XbZtT.js";
1
+ import { $n as StatusVariant, Co as F0IconProps, Eo as WithDataTestIdProps, Fa as DataAttributes, Fn as ChartColorToken, Ga as IconAvatarVariant, Gt as CardImageSize, Ha as CompanyAvatarVariant, Ka as PersonAvatarVariant, La as AvatarAction, Oo as WithDataTestIdReturnType, Ra as AvatarVariant, Tt as TranscribeFn, Un as CardAvatarVariant, Ut as CardImageAspectRatio, Wn as AlertAvatarProps, Wt as CardImageFit, ba as F0ButtonProps, en as CardMetadata, eo as CountryCode, er as Variant, f as ButtonDropdownItem, fa as DropdownItemObject, go as ModuleId, la as DropdownInternalProps, ma as DropdownItemSeparator, nn as ValueDisplayRendererDefinition, on as TagVariant, qa as TeamAvatarVariant, ua as DropdownItem, vo as NewColor, wo as IconType, xo as DistributiveOmit$1 } from "./index-CeGTmQfe.js";
2
+ import { n as TranslationsType } from "./i18n-provider-defaults-BkNbvakp.js";
3
3
  import * as React$2 from "react";
4
4
  import React$1, { AriaAttributes, AutoFill, CSSProperties, ComponentProps, ComponentType, Dispatch, FC, ForwardedRef, HTMLAttributes, HTMLInputTypeAttribute, ReactElement, ReactNode, Ref, RefAttributes, RefObject, TextareaHTMLAttributes } from "react";
5
5
  import { VariantProps } from "cva";
@@ -1,12 +1,12 @@
1
1
  import { r as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { a as t, i as n, r } from "./i18n-provider-C0z4575b.js";
3
- import { n as i, t as a } from "./skeleton-DWdckpXm.js";
2
+ import { a as t, i as n, r } from "./i18n-provider-DoTL-0tJ.js";
3
+ import { n as i, t as a } from "./skeleton-BsalZgC5.js";
4
4
  import { L as o, R as s } from "./tooltip-DFMOxXQO.js";
5
- import { N as c, S as l, U as u, f as d, t as f } from "./F0Button-BfcH39fa.js";
6
- import { o as p, r as m, t as h } from "./F0Icon-BODMWayd.js";
7
- import { A as g, E as _, H as v, M as y, O as b, T as x, a as ee, b as S, i as te, k as C, t as w } from "./popover-BsFj9cmb.js";
8
- import { n as T, r as E } from "./scrollarea-CStky4Xl.js";
9
- import { t as D } from "./dist-Cuwaibqg.js";
5
+ import { C as c, I as l, K as u, f as d, t as f } from "./F0Button-Hs9dD3kp.js";
6
+ import { o as p, r as m, t as h } from "./F0Icon-C0Ks-zGo.js";
7
+ import { a as g, d as _, f as v, i as ee, m as y, t as b, w as x } from "./popover-CCSQvMSp.js";
8
+ import { _ as S, d as C, g as w, i as T, r as E, v as te } from "./dist-C8J2FPJo.js";
9
+ import { t as D } from "./dist-BCNVh6y5.js";
10
10
  import { t as ne } from "./ownValue-D4uSXt0d.js";
11
11
  import * as O from "react";
12
12
  import { createContext as k, forwardRef as A, useCallback as j, useContext as M, useDeferredValue as re, useEffect as N, useId as P, useMemo as F, useRef as I, useState as L } from "react";
@@ -1128,7 +1128,7 @@ var Te = p({
1128
1128
  "md",
1129
1129
  "lg",
1130
1130
  "xl"
1131
- ], De = A(({ display: e, position: t, top: n, right: r, bottom: i, left: a, zIndex: s, padding: c, paddingX: l, paddingY: u, paddingTop: d, paddingBottom: f, paddingLeft: p, paddingRight: m, margin: h, marginX: g, marginY: _, marginTop: v, marginBottom: y, marginLeft: b, marginRight: x, gap: ee, columns: S, rows: te, colSpan: C, colStart: w, rowSpan: T, width: E, height: D, minWidth: ne, minHeight: O, maxWidth: k, maxHeight: A, background: j, borderColor: M, border: re, borderTop: N, borderBottom: P, borderLeft: F, borderRight: I, borderRadius: L, borderRadiusTopLeft: R, borderRadiusTopRight: B, borderRadiusBottomLeft: ie, borderRadiusBottomRight: ae, borderStyle: V, overflow: oe, overflowX: se, overflowY: H, divider: U, dividerColor: W, boxShadow: ce, alignItems: le, justifyContent: G, flexDirection: K, flexWrap: ue, grow: q, shrink: de, sm: J, md: fe, lg: pe, xl: Y, ...X }, me) => {
1131
+ ], De = A(({ display: e, position: t, top: n, right: r, bottom: i, left: a, zIndex: s, padding: c, paddingX: l, paddingY: u, paddingTop: d, paddingBottom: f, paddingLeft: p, paddingRight: m, margin: h, marginX: g, marginY: _, marginTop: v, marginBottom: ee, marginLeft: y, marginRight: b, gap: x, columns: S, rows: C, colSpan: w, colStart: T, rowSpan: E, width: te, height: D, minWidth: ne, minHeight: O, maxWidth: k, maxHeight: A, background: j, borderColor: M, border: re, borderTop: N, borderBottom: P, borderLeft: F, borderRight: I, borderRadius: L, borderRadiusTopLeft: R, borderRadiusTopRight: B, borderRadiusBottomLeft: ie, borderRadiusBottomRight: ae, borderStyle: V, overflow: oe, overflowX: se, overflowY: H, divider: U, dividerColor: W, boxShadow: ce, alignItems: le, justifyContent: G, flexDirection: K, flexWrap: ue, grow: q, shrink: de, sm: J, md: fe, lg: pe, xl: Y, ...X }, me) => {
1132
1132
  let he = N && N !== "none" || P && P !== "none" || F && F !== "none" || I && I !== "none", ge = re && re !== "none" || he, _e = {
1133
1133
  sm: J,
1134
1134
  md: fe,
@@ -1159,16 +1159,16 @@ var Te = p({
1159
1159
  marginX: g,
1160
1160
  marginY: _,
1161
1161
  marginTop: v,
1162
- marginBottom: y,
1163
- marginLeft: b,
1164
- marginRight: x,
1165
- gap: ee,
1162
+ marginBottom: ee,
1163
+ marginLeft: y,
1164
+ marginRight: b,
1165
+ gap: x,
1166
1166
  columns: S,
1167
- rows: te,
1168
- colSpan: C,
1169
- colStart: w,
1170
- rowSpan: T,
1171
- width: E,
1167
+ rows: C,
1168
+ colSpan: w,
1169
+ colStart: T,
1170
+ rowSpan: E,
1171
+ width: te,
1172
1172
  height: D,
1173
1173
  minWidth: ne,
1174
1174
  minHeight: O,
@@ -2148,13 +2148,13 @@ var Nt = t(Mt), Pt = p({
2148
2148
  icon: n,
2149
2149
  size: Ft[t]
2150
2150
  })
2151
- }))), Lt = "Avatar", [Rt, zt] = b(Lt), [Bt, Vt] = Rt(Lt), Ht = O.forwardRef((e, t) => {
2151
+ }))), Lt = "Avatar", [Rt, zt] = te(Lt), [Bt, Vt] = Rt(Lt), Ht = O.forwardRef((e, t) => {
2152
2152
  let { __scopeAvatar: n, ...r } = e, [i, a] = O.useState("idle");
2153
2153
  return /* @__PURE__ */ z(Bt, {
2154
2154
  scope: n,
2155
2155
  imageLoadingStatus: i,
2156
2156
  onImageLoadingStatusChange: a,
2157
- children: /* @__PURE__ */ z(S.span, {
2157
+ children: /* @__PURE__ */ z(C.span, {
2158
2158
  ...r,
2159
2159
  ref: t
2160
2160
  })
@@ -2162,12 +2162,12 @@ var Nt = t(Mt), Pt = p({
2162
2162
  });
2163
2163
  Ht.displayName = Lt;
2164
2164
  var Ut = "AvatarImage", Wt = O.forwardRef((e, t) => {
2165
- let { __scopeAvatar: n, src: r, onLoadingStatusChange: i = () => {}, ...a } = e, o = Vt(Ut, n), s = qt(r, a.referrerPolicy), c = _((e) => {
2165
+ let { __scopeAvatar: n, src: r, onLoadingStatusChange: i = () => {}, ...a } = e, o = Vt(Ut, n), s = qt(r, a.referrerPolicy), c = S((e) => {
2166
2166
  i(e), o.onImageLoadingStatusChange(e);
2167
2167
  });
2168
- return x(() => {
2168
+ return w(() => {
2169
2169
  s !== "idle" && c(s);
2170
- }, [s, c]), s === "loaded" ? /* @__PURE__ */ z(S.img, {
2170
+ }, [s, c]), s === "loaded" ? /* @__PURE__ */ z(C.img, {
2171
2171
  ...a,
2172
2172
  ref: t,
2173
2173
  src: r
@@ -2181,7 +2181,7 @@ var Gt = "AvatarFallback", Kt = O.forwardRef((e, t) => {
2181
2181
  let e = window.setTimeout(() => s(!0), r);
2182
2182
  return () => window.clearTimeout(e);
2183
2183
  }
2184
- }, [r]), o && a.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ z(S.span, {
2184
+ }, [r]), o && a.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ z(C.span, {
2185
2185
  ...i,
2186
2186
  ref: t
2187
2187
  }) : null;
@@ -2189,7 +2189,7 @@ var Gt = "AvatarFallback", Kt = O.forwardRef((e, t) => {
2189
2189
  Kt.displayName = Gt;
2190
2190
  function qt(e, t) {
2191
2191
  let [n, r] = O.useState("idle");
2192
- return x(() => {
2192
+ return w(() => {
2193
2193
  if (!e) {
2194
2194
  r("error");
2195
2195
  return;
@@ -2401,19 +2401,19 @@ var un = {
2401
2401
  lg: "md",
2402
2402
  xl: "lg",
2403
2403
  "2xl": "lg"
2404
- }, hn = (e) => sn.includes(e), gn = (e) => e && !hn(e) ? (console.warn(`The avatar size: ${e} is deprecated. Use ${Z[e]} instead.`), Z[e] ?? pn) : e ?? pn, _n = ({ icon: e, src: t, flag: n }) => e ? "bg-f1-background-secondary" : t || n ? "bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary" : "", Q = A(({ src: e, name: t, size: n, type: r = "base", color: i = "random", "aria-label": a, "aria-labelledby": o, badge: s, flag: l, icon: u }, d) => {
2405
- let f = F(() => Object.fromEntries(Object.entries(Z).map(([e, t]) => [t, e])), []), p = gn(n), m = cn(t, p), g = i === "random" ? ln(Array.isArray(t) ? t.join("") : t) : i, _ = !!(a || o), v = dn(p), y = fn(p), b = F(() => s ? /* @__PURE__ */ B(R, { children: [s.type === "module" ? /* @__PURE__ */ z(Nt, {
2404
+ }, hn = (e) => sn.includes(e), gn = (e) => e && !hn(e) ? (console.warn(`The avatar size: ${e} is deprecated. Use ${Z[e]} instead.`), Z[e] ?? pn) : e ?? pn, _n = ({ icon: e, src: t, flag: n }) => e ? "bg-f1-background-secondary" : t || n ? "bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary" : "", Q = A(({ src: e, name: t, size: n, type: r = "base", color: i = "random", "aria-label": a, "aria-labelledby": o, badge: s, flag: c, icon: u }, d) => {
2405
+ let f = F(() => Object.fromEntries(Object.entries(Z).map(([e, t]) => [t, e])), []), p = gn(n), m = cn(t, p), g = i === "random" ? ln(Array.isArray(t) ? t.join("") : t) : i, _ = !!(a || o), [v, ee] = L(), y = e && e !== v ? e : void 0, b = dn(p), x = fn(p), S = F(() => s ? /* @__PURE__ */ B(R, { children: [s.type === "module" ? /* @__PURE__ */ z(Nt, {
2406
2406
  module: s.module,
2407
- size: y
2407
+ size: x
2408
2408
  }) : null, s.type === "module" ? null : /* @__PURE__ */ z(It, {
2409
2409
  type: s.type,
2410
2410
  icon: s.icon,
2411
- size: v
2411
+ size: b
2412
2412
  })] }) : null, [
2413
2413
  s,
2414
- v,
2415
- y
2416
- ]), x = /* @__PURE__ */ B("div", {
2414
+ b,
2415
+ x
2416
+ ]), C = /* @__PURE__ */ B("div", {
2417
2417
  className: "relative inline-flex h-fit w-fit",
2418
2418
  children: [/* @__PURE__ */ z("div", {
2419
2419
  className: "relative h-fit w-fit",
@@ -2431,19 +2431,20 @@ var un = {
2431
2431
  "data-a11y-color-contrast-ignore": !0,
2432
2432
  className: _n({
2433
2433
  icon: u,
2434
- src: e,
2435
- flag: l
2434
+ src: y,
2435
+ flag: c
2436
2436
  }),
2437
2437
  children: u ? /* @__PURE__ */ z(h, {
2438
2438
  icon: u.icon,
2439
2439
  color: u.color,
2440
2440
  size: mn[p]
2441
- }) : l ? /* @__PURE__ */ z("span", {
2441
+ }) : c ? /* @__PURE__ */ z("span", {
2442
2442
  className: "absolute inset-0",
2443
- children: l
2443
+ children: c
2444
2444
  }) : /* @__PURE__ */ B(R, { children: [/* @__PURE__ */ z(rn, {
2445
2445
  src: e,
2446
- alt: m
2446
+ alt: m,
2447
+ onLoadingStatusChange: (t) => ee(t === "error" ? e : void 0)
2447
2448
  }), /* @__PURE__ */ z(an, {
2448
2449
  "data-a11y-color-contrast-ignore": !0,
2449
2450
  className: "select-none",
@@ -2452,13 +2453,13 @@ var un = {
2452
2453
  })
2453
2454
  }), s ? /* @__PURE__ */ z("div", {
2454
2455
  className: "absolute -bottom-0.5 -right-0.5",
2455
- children: b
2456
+ children: S
2456
2457
  }) : null]
2457
2458
  });
2458
- return s?.tooltip ? /* @__PURE__ */ z(c, {
2459
+ return s?.tooltip ? /* @__PURE__ */ z(l, {
2459
2460
  description: s.tooltip,
2460
- children: x
2461
- }) : x;
2461
+ children: C
2462
+ }) : C;
2462
2463
  });
2463
2464
  Q.displayName = "BaseAvatar";
2464
2465
  //#endregion
@@ -2677,7 +2678,7 @@ var wn = t(Cn), Tn = {
2677
2678
  md: "text-xs",
2678
2679
  lg: "text-sm"
2679
2680
  }, Pn = A(({ file: e, badge: t, dataTestId: r, ...i }, a) => {
2680
- let { type: s, color: l } = kn(e), u = F(() => Object.fromEntries(Object.entries(Z).map(([e, t]) => [t, e])), [])[i.size] ?? "small", d = An(i.size), f = jn(i.size), p = F(() => t ? /* @__PURE__ */ B(R, { children: [t.type === "module" ? /* @__PURE__ */ z(Nt, {
2681
+ let { type: s, color: c } = kn(e), u = F(() => Object.fromEntries(Object.entries(Z).map(([e, t]) => [t, e])), [])[i.size] ?? "small", d = An(i.size), f = jn(i.size), p = F(() => t ? /* @__PURE__ */ B(R, { children: [t.type === "module" ? /* @__PURE__ */ z(Nt, {
2681
2682
  module: t.module,
2682
2683
  size: f
2683
2684
  }) : null, t.type === "module" ? null : /* @__PURE__ */ z(It, {
@@ -2697,11 +2698,11 @@ var wn = t(Cn), Tn = {
2697
2698
  ...i,
2698
2699
  size: u,
2699
2700
  children: [/* @__PURE__ */ z(an, {
2700
- className: o("select-none font-semibold", h, l),
2701
+ className: o("select-none font-semibold", h, c),
2701
2702
  children: s
2702
2703
  }), t ? /* @__PURE__ */ z("div", {
2703
2704
  className: "absolute -bottom-0.5 -right-0.5",
2704
- children: t.tooltip ? /* @__PURE__ */ z(c, {
2705
+ children: t.tooltip ? /* @__PURE__ */ z(l, {
2705
2706
  description: t.tooltip,
2706
2707
  children: /* @__PURE__ */ z("div", {
2707
2708
  className: "cursor-help",
@@ -17478,13 +17479,13 @@ var fd = t(dd), pd = o("opacity-0 transition-opacity motion-reduce:transition-no
17478
17479
  className: "group/avatar-action relative inline-flex h-fit w-fit",
17479
17480
  children: [t, /* @__PURE__ */ z("div", {
17480
17481
  className: o("absolute -bottom-1 -right-1 inline-flex rounded-sm border border-solid border-f1-border-secondary bg-f1-background", pd, (i || s) && "opacity-100"),
17481
- children: d ? /* @__PURE__ */ B(C, {
17482
+ children: d ? /* @__PURE__ */ B(_, {
17482
17483
  open: s,
17483
17484
  onOpenChange: c,
17484
- children: [/* @__PURE__ */ z(v, {
17485
+ children: [/* @__PURE__ */ z(x, {
17485
17486
  asChild: !0,
17486
17487
  children: p
17487
- }), /* @__PURE__ */ z(g, {
17488
+ }), /* @__PURE__ */ z(v, {
17488
17489
  align: "start",
17489
17490
  children: e.map((e) => /* @__PURE__ */ z(md, {
17490
17491
  label: e.label,
@@ -17623,8 +17624,8 @@ Sd.displayName = "OverflowIndicator";
17623
17624
  //#region src/elements/OverflowList/useOverflowCalculation.ts
17624
17625
  var Cd = 20;
17625
17626
  function wd(e, t, n) {
17626
- let r = I(null), i = I(null), a = I(null), o = I(null), s = I(null), [c, u] = L(null), [d, f] = L(!1);
17627
- l({
17627
+ let r = I(null), i = I(null), a = I(null), o = I(null), s = I(null), [l, u] = L(null), [d, f] = L(!1);
17628
+ c({
17628
17629
  ref: r,
17629
17630
  onResize: () => {
17630
17631
  h();
@@ -17681,13 +17682,13 @@ function wd(e, t, n) {
17681
17682
  }, [h]), N(() => {
17682
17683
  f(!0);
17683
17684
  }, []);
17684
- let { visibleItems: g, overflowItems: _ } = F(() => c === null ? {
17685
+ let { visibleItems: g, overflowItems: _ } = F(() => l === null ? {
17685
17686
  visibleItems: [],
17686
17687
  overflowItems: []
17687
17688
  } : {
17688
- visibleItems: e.slice(0, c),
17689
- overflowItems: e.slice(c)
17690
- }, [e, c]);
17689
+ visibleItems: e.slice(0, l),
17690
+ overflowItems: e.slice(l)
17691
+ }, [e, l]);
17691
17692
  return {
17692
17693
  containerRef: r,
17693
17694
  overflowButtonRef: i,
@@ -17701,23 +17702,23 @@ function wd(e, t, n) {
17701
17702
  //#endregion
17702
17703
  //#region src/elements/OverflowList/OverflowList.tsx
17703
17704
  var Td = function({ items: e, renderListItem: t, renderDropdownItem: n, overflowIndicatorWithPopover: r = !0, renderOverflowIndicator: i, forceShowingOverflowIndicator: c = !1, className: l = "", gap: u = 8, max: d, min: f = 0, fluidItems: p = !1, itemsWidth: m }) {
17704
- let [h, g] = L(!1), _ = j((e) => {
17705
- g(e);
17706
- }, []), { containerRef: v, overflowButtonRef: y, customOverflowIndicatorRef: b, measurementContainerRef: x, visibleItems: S, overflowItems: C, isInitialized: T } = wd(e, u, {
17705
+ let [h, _] = L(!1), v = j((e) => {
17706
+ _(e);
17707
+ }, []), { containerRef: y, overflowButtonRef: x, customOverflowIndicatorRef: S, measurementContainerRef: C, visibleItems: w, overflowItems: T, isInitialized: E } = wd(e, u, {
17707
17708
  max: d,
17708
17709
  min: f,
17709
17710
  itemsWidth: m
17710
- }), E = F(() => /* @__PURE__ */ z(Sd, {
17711
+ }), te = F(() => /* @__PURE__ */ z(Sd, {
17711
17712
  totalItemsCount: e.length,
17712
17713
  isOpen: h,
17713
- count: C.length
17714
+ count: T.length
17714
17715
  }), [
17715
17716
  e.length,
17716
17717
  h,
17717
- C.length
17718
- ]), D = F(() => T ? null : e.map((e, t) => /* @__PURE__ */ z(a, { className: "h-2 w-20 rounded-md" }, `placeholder-${t}`)), [e, T]), ne = c || C.length > 0, O = "flex min-w-0 items-center justify-start whitespace-nowrap";
17718
+ T.length
17719
+ ]), D = F(() => E ? null : e.map((e, t) => /* @__PURE__ */ z(a, { className: "h-2 w-20 rounded-md" }, `placeholder-${t}`)), [e, E]), ne = c || T.length > 0, O = "flex min-w-0 items-center justify-start whitespace-nowrap";
17719
17720
  return /* @__PURE__ */ B("div", {
17720
- ref: v,
17721
+ ref: y,
17721
17722
  className: o("relative flex items-center", l),
17722
17723
  style: {
17723
17724
  gap: u > 0 ? `${u}px` : void 0,
@@ -17725,7 +17726,7 @@ var Td = function({ items: e, renderListItem: t, renderDropdownItem: n, overflow
17725
17726
  },
17726
17727
  children: [
17727
17728
  m ? null : /* @__PURE__ */ z("div", {
17728
- ref: x,
17729
+ ref: C,
17729
17730
  "aria-hidden": "true",
17730
17731
  className: o("pointer-events-none invisible absolute left-0 top-0 w-max opacity-0", O),
17731
17732
  style: { gap: u > 0 ? `${u}px` : void 0 },
@@ -17740,34 +17741,34 @@ var Td = function({ items: e, renderListItem: t, renderDropdownItem: n, overflow
17740
17741
  className: o(O, p && "[&>*]:min-w-0"),
17741
17742
  style: { gap: u > 0 ? `${u}px` : void 0 },
17742
17743
  "data-testid": "overflow-visible-container",
17743
- children: [T ? S.map((e, n) => /* @__PURE__ */ z("div", {
17744
+ children: [E ? w.map((e, n) => /* @__PURE__ */ z("div", {
17744
17745
  className: "transition-all duration-150",
17745
17746
  "data-testid": "overflow-visible-item",
17746
17747
  style: { marginLeft: u < 0 ? `${u}px` : void 0 },
17747
17748
  children: t(e, n, !0)
17748
17749
  }, `item-${n}`)) : null, D]
17749
17750
  }),
17750
- ne ? /* @__PURE__ */ z(R, { children: r ? /* @__PURE__ */ B(w, {
17751
+ ne ? /* @__PURE__ */ z(R, { children: r ? /* @__PURE__ */ B(b, {
17751
17752
  open: h,
17752
- onOpenChange: _,
17753
- children: [/* @__PURE__ */ z(ee, {
17753
+ onOpenChange: v,
17754
+ children: [/* @__PURE__ */ z(g, {
17754
17755
  asChild: !0,
17755
17756
  children: /* @__PURE__ */ z("button", {
17756
- ref: y,
17757
+ ref: x,
17757
17758
  className: o("inline-flex flex-shrink-0 items-center", s()),
17758
- children: i?.(C.length, h) ?? E
17759
+ children: i?.(T.length, h) ?? te
17759
17760
  })
17760
- }), /* @__PURE__ */ z(te, {
17761
+ }), /* @__PURE__ */ z(ee, {
17761
17762
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
17762
17763
  align: "end",
17763
17764
  children: /* @__PURE__ */ z("div", {
17764
17765
  className: "flex flex-col",
17765
- children: C.map((e, t) => /* @__PURE__ */ z("div", { children: n(e, t) }, `overflow-item-${t}`))
17766
+ children: T.map((e, t) => /* @__PURE__ */ z("div", { children: n(e, t) }, `overflow-item-${t}`))
17766
17767
  })
17767
17768
  })]
17768
17769
  }) : /* @__PURE__ */ z("div", {
17769
- ref: b,
17770
- children: i?.(C.length, !1) ?? E
17770
+ ref: S,
17771
+ children: i?.(T.length, !1) ?? te
17771
17772
  }) }) : null
17772
17773
  ]
17773
17774
  });
@@ -17820,7 +17821,7 @@ var Dd = p({
17820
17821
  f(), l.current = !0, c(!0);
17821
17822
  }, m = () => {
17822
17823
  f(), d.current = setTimeout(() => c(!1), 150);
17823
- }, g = t === "xs" ? /* @__PURE__ */ B(R, { children: [/* @__PURE__ */ z(h, {
17824
+ }, _ = t === "xs" ? /* @__PURE__ */ B(R, { children: [/* @__PURE__ */ z(h, {
17824
17825
  icon: oe,
17825
17826
  size: "xs"
17826
17827
  }), /* @__PURE__ */ B("span", {
@@ -17832,9 +17833,9 @@ var Dd = p({
17832
17833
  size: t,
17833
17834
  type: n
17834
17835
  })),
17835
- children: g
17836
+ children: _
17836
17837
  });
17837
- let _ = r.map((e, t) => {
17838
+ let v = r.map((e, t) => {
17838
17839
  let n = e.tooltipDescription;
17839
17840
  return /* @__PURE__ */ B("div", {
17840
17841
  className: "flex w-[180px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
@@ -17859,10 +17860,10 @@ var Dd = p({
17859
17860
  })]
17860
17861
  }, t);
17861
17862
  });
17862
- return /* @__PURE__ */ B(w, {
17863
+ return /* @__PURE__ */ B(b, {
17863
17864
  open: a,
17864
17865
  onOpenChange: c,
17865
- children: [/* @__PURE__ */ z(ee, {
17866
+ children: [/* @__PURE__ */ z(g, {
17866
17867
  asChild: !0,
17867
17868
  children: /* @__PURE__ */ z("button", {
17868
17869
  type: "button",
@@ -17875,9 +17876,9 @@ var Dd = p({
17875
17876
  size: t,
17876
17877
  type: n
17877
17878
  }), s()),
17878
- children: g
17879
+ children: _
17879
17880
  })
17880
- }), /* @__PURE__ */ z(te, {
17881
+ }), /* @__PURE__ */ z(ee, {
17881
17882
  ref: u,
17882
17883
  side: "top",
17883
17884
  className: "w-[200px] overflow-hidden rounded border-0 bg-f1-background-inverse p-0 font-medium text-f1-foreground-inverse shadow-none dark:border dark:border-solid dark:border-f1-border-secondary dark:bg-f1-background",
@@ -17889,9 +17890,9 @@ var Dd = p({
17889
17890
  onCloseAutoFocus: (e) => {
17890
17891
  l.current && e.preventDefault();
17891
17892
  },
17892
- children: /* @__PURE__ */ B(T, {
17893
+ children: /* @__PURE__ */ B(E, {
17893
17894
  className: "[*[data-state=visible]_div]:bg-f1-foreground-inverse flex max-h-[172px] flex-col",
17894
- children: [_, /* @__PURE__ */ z(E, {
17895
+ children: [v, /* @__PURE__ */ z(T, {
17895
17896
  orientation: "vertical",
17896
17897
  className: "[&_div]:bg-f1-foreground-inverse"
17897
17898
  })]
@@ -17922,7 +17923,7 @@ var Dd = p({
17922
17923
  };
17923
17924
  console.warn(`The avatar list size: ${t} is deprecated. Use ${e[t]} instead.`), t = e[t] ?? "md";
17924
17925
  }
17925
- let l = {
17926
+ let c = {
17926
17927
  xs: -2,
17927
17928
  sm: -3,
17928
17929
  md: -4
@@ -17938,11 +17939,11 @@ var Dd = p({
17938
17939
  type: n,
17939
17940
  ...e
17940
17941
  })),
17941
- gap: l,
17942
+ gap: c,
17942
17943
  itemsWidth: u,
17943
17944
  className: "flex items-center",
17944
17945
  renderListItem: (a, o) => {
17945
- let s = Ed(n, a), l = a.tooltipDescription, u = !!a.badge, d = o === e.length - 1, f = /* @__PURE__ */ z("div", {
17946
+ let s = Ed(n, a), c = a.tooltipDescription, u = !!a.badge, d = o === e.length - 1, f = /* @__PURE__ */ z("div", {
17946
17947
  className: "flex h-fit w-fit shrink-0 items-center justify-center",
17947
17948
  style: (!d || d && i !== void 0) && !u ? { clipPath: Ad[n === "person" ? "rounded" : "base"][t] } : void 0,
17948
17949
  children: /* @__PURE__ */ z(bd, {
@@ -17953,9 +17954,9 @@ var Dd = p({
17953
17954
  size: t
17954
17955
  })
17955
17956
  });
17956
- return /* @__PURE__ */ z("div", { children: r ? f : /* @__PURE__ */ z(c, {
17957
+ return /* @__PURE__ */ z("div", { children: r ? f : /* @__PURE__ */ z(l, {
17957
17958
  label: s,
17958
- description: l,
17959
+ description: c,
17959
17960
  children: f
17960
17961
  }) }, o);
17961
17962
  },
@@ -17963,7 +17964,7 @@ var Dd = p({
17963
17964
  forceShowingOverflowIndicator: i !== void 0,
17964
17965
  renderOverflowIndicator: (r) => /* @__PURE__ */ z("div", {
17965
17966
  className: "flex h-fit w-fit items-center",
17966
- style: { marginLeft: l },
17967
+ style: { marginLeft: c },
17967
17968
  children: /* @__PURE__ */ z(Od, {
17968
17969
  count: (i ?? 0) + r,
17969
17970
  size: t,
@@ -18483,30 +18484,30 @@ function hf() {
18483
18484
  }
18484
18485
  var gf = (e) => e, _f = (e, t) => "id" in e ? `${e.id}` : t || JSON.stringify(e);
18485
18486
  function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i, onError: a, fetchParamsProvider: o = gf, onResponse: s } = {}, c = []) {
18486
- let { dataAdapter: l, currentFilters: u, currentSortings: d, search: f, currentSearch: p, setCurrentSearch: m, isLoading: h, setIsLoading: g, currentGrouping: _, grouping: v, idProvider: y = _f, itemPreFilter: b, currentPage: x, onPaginationChange: ee } = e, S = I(), { isInitialLoading: te, setIsInitialLoading: C, data: w, setData: T, error: E, setError: D } = mf(), [ne, O] = L(0), { paginationInfo: k, setPaginationInfo: A } = hf();
18487
+ let { dataAdapter: l, currentFilters: u, currentSortings: d, search: f, currentSearch: p, setCurrentSearch: m, isLoading: h, setIsLoading: g, currentGrouping: _, grouping: v, idProvider: ee = _f, itemPreFilter: y, currentPage: b, onPaginationChange: x } = e, S = I(), { isInitialLoading: C, setIsInitialLoading: w, data: T, setData: E, error: te, setError: D } = mf(), [ne, O] = L(0), { paginationInfo: k, setPaginationInfo: A } = hf();
18487
18488
  N(() => {
18488
- b && T((e) => {
18489
- let t = e.length, n = e.filter(b), r = t - n.length;
18489
+ y && E((e) => {
18490
+ let t = e.length, n = e.filter(y), r = t - n.length;
18490
18491
  return O(r), A((e) => e ? {
18491
18492
  ...e,
18492
18493
  total: e.total - r
18493
18494
  } : null), n;
18494
18495
  });
18495
18496
  }, [
18496
- b,
18497
- T,
18497
+ y,
18498
+ E,
18498
18499
  A
18499
18500
  ]);
18500
18501
  let M = I(k);
18501
18502
  N(() => {
18502
18503
  M.current = k;
18503
18504
  }, [k]);
18504
- let [P, R] = L(void 0), [z, B] = L(!1), [ie, ae] = L(void 0), V = I(!1), oe = I(w);
18505
- oe.current = w;
18506
- let se = I(void 0), H = I(void 0), U = I([]), W = I(void 0), ce = I(x), le = I(), G = I(i);
18505
+ let [P, R] = L(void 0), [z, B] = L(!1), [ie, ae] = L(void 0), V = I(!1), oe = I(T);
18506
+ oe.current = T;
18507
+ let se = I(void 0), H = I(void 0), U = I([]), W = I(void 0), ce = I(b), le = I(), G = I(i);
18507
18508
  G.current = i, N(() => {
18508
- ee?.(k);
18509
- }, [k, ee]);
18509
+ x?.(k);
18510
+ }, [k, x]);
18510
18511
  let K = F(() => ({
18511
18512
  ...u,
18512
18513
  ...t
@@ -18539,17 +18540,17 @@ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18539
18540
  ...r,
18540
18541
  type: "infinite-scroll",
18541
18542
  cursor: "cursor" in e && e.cursor !== void 0 ? e.cursor : t ? String(e.perPage) : "0",
18542
- hasMore: "hasMore" in e ? e.hasMore : w.length + e.records.length < e.total
18543
+ hasMore: "hasMore" in e ? e.hasMore : T.length + e.records.length < e.total
18543
18544
  }), R(e.total);
18544
18545
  }
18545
18546
  } else i = e, R?.(e.length);
18546
- T(t ? (e) => de(e, i, y) : i), D(null), C(!1), g(!!n), B(!1), V.current = !1, r !== void 0 && ae(r);
18547
+ E(t ? (e) => de(e, i, ee) : i), D(null), w(!1), g(!!n), B(!1), V.current = !1, r !== void 0 && ae(r);
18547
18548
  }, [
18548
- T,
18549
+ E,
18549
18550
  l,
18550
18551
  A,
18551
18552
  D,
18552
- C,
18553
+ w,
18553
18554
  g,
18554
18555
  B,
18555
18556
  R,
@@ -18561,7 +18562,7 @@ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18561
18562
  }), pe = F(() => {
18562
18563
  let e = _?.field, t = v?.groupBy;
18563
18564
  if (e && t && t[e]) {
18564
- let n = df(w, e, fe), r = n.filter((e) => e[sf] === void 0), i = cf(n.filter((e) => e[sf] !== void 0), sf), a = t[e], o = (_?.thenBy ?? []).map((e) => String(e.field)).filter((e) => !!t[e]);
18565
+ let n = df(T, e, fe), r = n.filter((e) => e[sf] === void 0), i = cf(n.filter((e) => e[sf] !== void 0), sf), a = t[e], o = (_?.thenBy ?? []).map((e) => String(e.field)).filter((e) => !!t[e]);
18565
18566
  return {
18566
18567
  type: "grouped",
18567
18568
  records: n,
@@ -18593,7 +18594,7 @@ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18593
18594
  }))
18594
18595
  };
18595
18596
  }
18596
- let n = w;
18597
+ let n = T;
18597
18598
  return {
18598
18599
  type: "flat",
18599
18600
  records: n,
@@ -18605,7 +18606,7 @@ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18605
18606
  }]
18606
18607
  };
18607
18608
  }, [
18608
- w,
18609
+ T,
18609
18610
  _,
18610
18611
  v,
18611
18612
  K
@@ -18616,10 +18617,10 @@ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18616
18617
  }), a?.({
18617
18618
  message: "Error fetching data",
18618
18619
  cause: e
18619
- }), C(!1), g(!1), B(!1), S.current = void 0, V.current = !1;
18620
+ }), w(!1), g(!1), B(!1), S.current = void 0, V.current = !1;
18620
18621
  }, [
18621
18622
  D,
18622
- C,
18623
+ w,
18623
18624
  g
18624
18625
  ]), X = j(async ({ filters: e, currentPage: t = 1, search: n, appendMode: r = !1, cursor: i = null }) => {
18625
18626
  W.current = t;
@@ -18732,7 +18733,7 @@ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18732
18733
  paginationType: l.paginationType
18733
18734
  }), i = n === se.current && c.length === U.current.length && c.every((e, t) => Object.is(e, U.current[t])), a = lf(r, le.current);
18734
18735
  if (!h && W.current === 1 && a === void 0 && l.paginationType === "pages" && e !== void 0 && i && H.current !== void 0 && e < H.current && yf(t) && t.currentPage === 1 && oe.current.length >= e) {
18735
- H.current = e, T((t) => t.slice(0, e)), A((t) => t && t.type === "pages" ? {
18736
+ H.current = e, E((t) => t.slice(0, e)), A((t) => t && t.type === "pages" ? {
18736
18737
  ...t,
18737
18738
  perPage: e,
18738
18739
  pagesCount: Math.max(1, Math.ceil(t.total / e))
@@ -18772,10 +18773,10 @@ function vf(e, { filters: t, enabled: n = !0, pageRequest: r, onPageRequested: i
18772
18773
  data: pe,
18773
18774
  search: p,
18774
18775
  setSearch: m,
18775
- isInitialLoading: te,
18776
+ isInitialLoading: C,
18776
18777
  isLoading: h,
18777
18778
  isLoadingMore: z,
18778
- error: E,
18779
+ error: te,
18779
18780
  paginationInfo: k,
18780
18781
  setPage: me,
18781
18782
  loadMore: he,
@@ -18791,4 +18792,4 @@ function bf(e) {
18791
18792
  return e !== null && e.type === "infinite-scroll";
18792
18793
  }
18793
18794
  //#endregion
18794
- export { Fe as A, V as B, Q as C, It as D, Qt as E, W as F, ie as H, U as I, H as L, Oe as M, le as N, Nt as O, ce as P, se as R, yn as S, en as T, ae as V, id as _, sf as a, kn as b, af as c, wd as d, bd as f, cd as g, ud as h, vf as i, Me as j, Ot as k, Md as l, fd as m, bf as n, nf as o, yd as p, yf as r, rf as s, ff as t, Td as u, td as v, ln as w, wn as x, Pn as y, oe as z };
18795
+ export { It as A, H as B, Q as C, an as D, nn as E, Oe as F, ie as G, oe as H, le as I, ce as L, Ot as M, Fe as N, en as O, Me as P, W as R, yn as S, cn as T, V as U, se as V, ae as W, id as _, sf as a, kn as b, af as c, wd as d, bd as f, cd as g, ud as h, vf as i, Nt as j, Qt as k, Md as l, fd as m, bf as n, nf as o, yd as p, yf as r, rf as s, ff as t, Td as u, td as v, ln as w, wn as x, Pn as y, U as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "14.31.3",
3
+ "version": "15.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -37,7 +37,7 @@
37
37
  "@radix-ui/react-compose-refs": "^1.1.2",
38
38
  "@radix-ui/react-context": "^1.1.3",
39
39
  "@radix-ui/react-direction": "^1.1.1",
40
- "@radix-ui/react-dismissable-layer": "1.1.4",
40
+ "@radix-ui/react-dismissable-layer": "1.1.11",
41
41
  "@radix-ui/react-focus-guards": "^1.1.2",
42
42
  "@radix-ui/react-focus-scope": "^1.1.7",
43
43
  "@radix-ui/react-hover-card": "^1.1.15",
@@ -115,7 +115,7 @@
115
115
  "yjs": "^13.6.27",
116
116
  "zen-observable-ts": "^1.1.0",
117
117
  "zod-to-json-schema": "^3.25.1",
118
- "@factorialco/f0-core": "4.2.1"
118
+ "@factorialco/f0-core": "5.0.0"
119
119
  },
120
120
  "devDependencies": {
121
121
  "@chromatic-com/storybook": "^5.5.1",
@@ -128,6 +128,9 @@
128
128
  "@mapbox/mapbox-gl-rtl-text": "0.2.3",
129
129
  "@mdx-js/react": "^3.1.1",
130
130
  "@playwright/test": "^1.65.1",
131
+ "@radix-ui/react-dialog": "1.1.15",
132
+ "@radix-ui/react-dropdown-menu": "2.1.16",
133
+ "@radix-ui/react-popover": "1.1.15",
131
134
  "@size-limit/esbuild": "^11.2.0",
132
135
  "@size-limit/file": "^11.2.0",
133
136
  "@size-limit/time": "^11.2.0",