@factorialco/f0-react 8.23.1 → 8.24.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/{ChatPdfThumbnail-DizNnITM.js → ChatPdfThumbnail-Hbw_WAU8.js} +1 -1
- package/dist/{ChatPostComposerDialog-BoXP9AxC.js → ChatPostComposerDialog-tfRN0-3K.js} +2 -2
- package/dist/{DocumentToolbar-CHQtq4Jr.js → DocumentToolbar-DX79oXzF.js} +1 -1
- package/dist/{DocxViewer-DRYn0O-b.js → DocxViewer-BJRn9ROF.js} +1 -1
- package/dist/{F0Map-4Vz9k3xg.js → F0Map-Dzgjuq89.js} +2 -2
- package/dist/{F0VideoPlayer-DIyGfbRX.js → F0VideoPlayer-BG_MSJyp.js} +1 -1
- package/dist/{MapProvider-DA7qz8YU.js → MapProvider-DlazFyCh.js} +6 -4
- package/dist/{SheetViewer-BVydRU03.js → SheetViewer-CoayiGl_.js} +1 -1
- package/dist/{TextViewer-U0-b4w5X.js → TextViewer-Dljx7q7Y.js} +1 -1
- package/dist/ai.d.ts +8 -8
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/{experimental-DmZ3UxsY.js → experimental-B5_SBbZo.js} +6 -6
- package/dist/experimental.d.ts +9 -9
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +9 -9
- package/dist/f0.js +8 -7
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/{index-DgZqjBWZ.js → index-BcDwQNGH.js} +2 -2
- package/dist/{index-wZT8H-wt.js → index-Bf7snjOt.js} +1 -1
- package/dist/index-BoXRnsIw.js +4 -0
- package/dist/{index-CEKHWFAr.js → index-dsJVIYGM.js} +2 -2
- package/dist/{pdfWorker-q7AbsycM.js → pdfWorker-V2aHzdYi.js} +1 -1
- package/package.json +1 -1
- package/dist/index-CCMiYkrQ.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as c, jsxs as I } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as M, useState as n, useCallback as v } from "react";
|
|
3
|
-
import { F as R } from "./MapProvider-
|
|
3
|
+
import { F as R } from "./MapProvider-DlazFyCh.js";
|
|
4
4
|
import { u as _, m as x } from "./F0CanvasPanel-Rkf-f6ge.js";
|
|
5
|
-
import { u as B, a as L, s as P } from "./experimental-
|
|
5
|
+
import { u as B, a as L, s as P } from "./experimental-B5_SBbZo.js";
|
|
6
6
|
const N = 140, O = 1e4, K = ({
|
|
7
7
|
onClose: d,
|
|
8
8
|
searchMembers: f
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as w, useCallback as d, useMemo as x } from "react";
|
|
3
3
|
import { u as C, i as S, j as k, k as N, l as h } from "./F0CanvasPanel-Rkf-f6ge.js";
|
|
4
|
-
import { n as v, a as F, f as $, t as j, b, T as n, d as D } from "./index-
|
|
4
|
+
import { n as v, a as F, f as $, t as j, b, T as n, d as D } from "./index-dsJVIYGM.js";
|
|
5
5
|
const g = () => {
|
|
6
6
|
const [t, e] = w(1), i = d(
|
|
7
7
|
() => e((o) => v(o) ?? o),
|
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { r as b } from "./docx-preview-BaRDMyPN.js";
|
|
3
3
|
import { useRef as p, useState as v, useEffect as w } from "react";
|
|
4
4
|
import { u as x, S as y } from "./F0CanvasPanel-Rkf-f6ge.js";
|
|
5
|
-
import { u as k, D as N } from "./DocumentToolbar-
|
|
5
|
+
import { u as k, D as N } from "./DocumentToolbar-DX79oXzF.js";
|
|
6
6
|
const z = ({
|
|
7
7
|
url: l,
|
|
8
8
|
filename: g,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as B, Fragment as Ee } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as re, useState as F, useEffect as N, useRef as M, useContext as Ca, createContext as Aa, useCallback as O, useMemo as et, useId as Ia, useImperativeHandle as Fa } from "react";
|
|
3
3
|
import { a4 as Xt, u as se, a5 as le, y as Ce, a6 as Ea, a7 as $a, a8 as Oa, i as Ba, n as be, a9 as Wa, v as Yt, aa as Je, ab as tt, ac as Ie, ad as Da, ae as Ut, af as Ha, ag as Xa, ah as _t, ai as Gt, aj as Ya } from "./F0CanvasPanel-Rkf-f6ge.js";
|
|
4
|
-
import { c as Ua, d as Ga, e as Za } from "./MapProvider-
|
|
4
|
+
import { c as Ua, d as Ga, e as Za } from "./MapProvider-DlazFyCh.js";
|
|
5
5
|
import { d as W, f as Ka } from "./tooltip-CrXp1Uaz.js";
|
|
6
6
|
import { createPortal as qa } from "react-dom";
|
|
7
7
|
const Va = (e, t) => ({
|
|
@@ -1428,7 +1428,7 @@ const cl = {
|
|
|
1428
1428
|
}, []);
|
|
1429
1429
|
return N(() => () => n.current?.disconnect(), []), { containerRef: l, isDark: e };
|
|
1430
1430
|
}, Nn = {
|
|
1431
|
-
maplibre: () => import("./index-
|
|
1431
|
+
maplibre: () => import("./index-Bf7snjOt.js").then((e) => e.createMaplibreAdapter),
|
|
1432
1432
|
// Google needs its script in the page before a map can be constructed, so the
|
|
1433
1433
|
// loader resolves only once the API is up - which is what keeps the factory
|
|
1434
1434
|
// itself synchronous for every engine.
|
|
@@ -3,7 +3,7 @@ import { jsxs as R, jsx as c } from "react/jsx-runtime";
|
|
|
3
3
|
import { forwardRef as re, useId as pt, useState as x, useRef as F, useEffect as _, useMemo as J, useCallback as M } from "react";
|
|
4
4
|
import { d as H, f as de } from "./tooltip-CrXp1Uaz.js";
|
|
5
5
|
import { F as Ce, a as ht, b as gt } from "./VolumeMuted-UfTwt2zn.js";
|
|
6
|
-
import { b as vt } from "./MapProvider-
|
|
6
|
+
import { b as vt } from "./MapProvider-DlazFyCh.js";
|
|
7
7
|
function Re(e) {
|
|
8
8
|
return Array.isArray(e) && e.every(
|
|
9
9
|
(t) => typeof t == "object" && t !== null && "locale" in t && "value" in t
|
|
@@ -12527,7 +12527,8 @@ const gOe = {
|
|
|
12527
12527
|
warning: "bg-f1-background-warning",
|
|
12528
12528
|
critical: "bg-f1-background-critical",
|
|
12529
12529
|
neutral: "bg-f1-background-tertiary",
|
|
12530
|
-
positive: "bg-f1-background-positive"
|
|
12530
|
+
positive: "bg-f1-background-positive",
|
|
12531
|
+
transparent: "bg-transparent"
|
|
12531
12532
|
}
|
|
12532
12533
|
},
|
|
12533
12534
|
defaultVariants: {
|
|
@@ -12541,7 +12542,8 @@ const gOe = {
|
|
|
12541
12542
|
warning: "text-f1-foreground-warning",
|
|
12542
12543
|
critical: "text-f1-foreground-critical",
|
|
12543
12544
|
neutral: "text-f1-foreground",
|
|
12544
|
-
positive: "text-f1-foreground-positive"
|
|
12545
|
+
positive: "text-f1-foreground-positive",
|
|
12546
|
+
transparent: "text-f1-foreground"
|
|
12545
12547
|
}
|
|
12546
12548
|
},
|
|
12547
12549
|
defaultVariants: {
|
|
@@ -12586,7 +12588,7 @@ const gOe = {
|
|
|
12586
12588
|
!t && "items-center"
|
|
12587
12589
|
),
|
|
12588
12590
|
children: [
|
|
12589
|
-
/* @__PURE__ */ m("div", { className: "h-6 w-6 flex-shrink-0", children: o === "neutral" ? /* @__PURE__ */ m(Vk, { icon: r || BO, size: "sm" }) : /* @__PURE__ */ m(vl, { type: o, size: "sm" }) }),
|
|
12591
|
+
/* @__PURE__ */ m("div", { className: "h-6 w-6 flex-shrink-0", children: o === "neutral" || o === "transparent" ? /* @__PURE__ */ m(Vk, { icon: r || BO, size: "sm" }) : /* @__PURE__ */ m(vl, { type: o, size: "sm" }) }),
|
|
12590
12592
|
/* @__PURE__ */ R("div", { className: "flex flex-col gap-0.5", children: [
|
|
12591
12593
|
/* @__PURE__ */ m("p", { className: xJ({ variant: o }), children: e }),
|
|
12592
12594
|
t ? /* @__PURE__ */ m("p", { className: "text-base text-f1-foreground-secondary", children: t }) : null
|
|
@@ -38989,7 +38991,7 @@ const M0 = ({
|
|
|
38989
38991
|
}
|
|
38990
38992
|
);
|
|
38991
38993
|
}, Ohe = Cz(
|
|
38992
|
-
() => import("./index-
|
|
38994
|
+
() => import("./index-BcDwQNGH.js").then((e) => ({ default: e.MapCollection }))
|
|
38993
38995
|
), Xs = {
|
|
38994
38996
|
table: {
|
|
38995
38997
|
name: "Table",
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as n, Fragment as k } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as f, useEffect as S } from "react";
|
|
3
3
|
import { u as V, T as E, h as R, S as z } from "./F0CanvasPanel-Rkf-f6ge.js";
|
|
4
4
|
import { f as _, c as j } from "./sheetPreview-Djc-YyVs.js";
|
|
5
|
-
import { u as F, D as I } from "./DocumentToolbar-
|
|
5
|
+
import { u as F, D as I } from "./DocumentToolbar-DX79oXzF.js";
|
|
6
6
|
const x = 1e3, T = 100, O = ({
|
|
7
7
|
url: a,
|
|
8
8
|
filename: w,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as x } from "react";
|
|
3
3
|
import { u as w, S as y, p as g } from "./F0CanvasPanel-Rkf-f6ge.js";
|
|
4
|
-
import { u as k, D as v } from "./DocumentToolbar-
|
|
4
|
+
import { u as k, D as v } from "./DocumentToolbar-DX79oXzF.js";
|
|
5
5
|
const q = 2 * 1024 * 1024, N = [
|
|
6
6
|
"[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
|
|
7
7
|
"[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
|
package/dist/ai.d.ts
CHANGED
|
@@ -6792,11 +6792,9 @@ declare module "@tiptap/core" {
|
|
|
6792
6792
|
|
|
6793
6793
|
declare module "@tiptap/core" {
|
|
6794
6794
|
interface Commands<ReturnType> {
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
}) => ReturnType;
|
|
6799
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
6795
|
+
fontSize: {
|
|
6796
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
6797
|
+
unsetFontSize: () => ReturnType;
|
|
6800
6798
|
};
|
|
6801
6799
|
}
|
|
6802
6800
|
}
|
|
@@ -6804,9 +6802,11 @@ declare module "@tiptap/core" {
|
|
|
6804
6802
|
|
|
6805
6803
|
declare module "@tiptap/core" {
|
|
6806
6804
|
interface Commands<ReturnType> {
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6805
|
+
enhanceHighlight: {
|
|
6806
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
6807
|
+
placeholder?: string;
|
|
6808
|
+
}) => ReturnType;
|
|
6809
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6810
6810
|
};
|
|
6811
6811
|
}
|
|
6812
6812
|
}
|
|
@@ -306,11 +306,9 @@ declare module "@tiptap/core" {
|
|
|
306
306
|
|
|
307
307
|
declare module "@tiptap/core" {
|
|
308
308
|
interface Commands<ReturnType> {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}) => ReturnType;
|
|
313
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
309
|
+
fontSize: {
|
|
310
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
311
|
+
unsetFontSize: () => ReturnType;
|
|
314
312
|
};
|
|
315
313
|
}
|
|
316
314
|
}
|
|
@@ -318,9 +316,11 @@ declare module "@tiptap/core" {
|
|
|
318
316
|
|
|
319
317
|
declare module "@tiptap/core" {
|
|
320
318
|
interface Commands<ReturnType> {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
319
|
+
enhanceHighlight: {
|
|
320
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
321
|
+
placeholder?: string;
|
|
322
|
+
}) => ReturnType;
|
|
323
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
}
|