@factorialco/f0-react 6.21.1 → 6.21.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.
- package/dist/{ChatPdfThumbnail-CA55drLV.js → ChatPdfThumbnail-Bki7w90N.js} +1 -1
- package/dist/{CoachmarkProvider-DIJ-5n7c.js → CoachmarkProvider-DnKoMvHs.js} +6 -3
- package/dist/{DocumentToolbar-BwrB9pYo.js → DocumentToolbar-C610RfcK.js} +1 -1
- package/dist/{DocxViewer-CUA5UqFj.js → DocxViewer-DKzO-C2J.js} +1 -1
- package/dist/{SheetViewer-24SsVp_g.js → SheetViewer-DKXkRLnJ.js} +1 -1
- package/dist/{TextViewer-BRAo06fz.js → TextViewer-BoPxdAZB.js} +1 -1
- package/dist/ai.d.ts +6 -6
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +6 -6
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +6 -6
- package/dist/f0.js +4 -4
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{index-jlgWX7vd.js → index-DlA848zF.js} +2 -2
- package/dist/{pdfWorker-DK3co3Bk.js → pdfWorker-RF5IEEDt.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -19394,10 +19394,10 @@ function On({
|
|
|
19394
19394
|
w && mS[u],
|
|
19395
19395
|
// The row hover keeps reading through the highlighted cell, so a hovered
|
|
19396
19396
|
// row stays one uniform surface.
|
|
19397
|
-
h && "bg-
|
|
19397
|
+
h && "bg-[hsl(var(--neutral-2))] group-hover:bg-f1-background-hover",
|
|
19398
19398
|
// Sticky cells paint their opaque background on the `before` layer;
|
|
19399
19399
|
// the highlighted tint has to land there too or it stays hidden under it.
|
|
19400
|
-
h && x && "before:bg-
|
|
19400
|
+
h && x && "before:bg-[hsl(var(--neutral-2))] group-hover:before:bg-f1-background-hover",
|
|
19401
19401
|
t && "cursor-pointer",
|
|
19402
19402
|
l
|
|
19403
19403
|
),
|
|
@@ -19679,7 +19679,10 @@ function Ti({
|
|
|
19679
19679
|
"bg-f1-background",
|
|
19680
19680
|
w && (p || g) && "relative bg-f1-background z-10 before:absolute before:inset-x-0 before:bottom-0 before:h-px before:w-full before:bg-f1-border-secondary before:content-['']",
|
|
19681
19681
|
w && "sticky",
|
|
19682
|
-
|
|
19682
|
+
// The tint is a background-image over the opaque header background,
|
|
19683
|
+
// not a bg-color swap: an alpha bg-color would let the `thead::before`
|
|
19684
|
+
// top rule bleed through and double up with the one painted on top.
|
|
19685
|
+
d && "bg-[linear-gradient(hsl(var(--neutral-2)),hsl(var(--neutral-2)))]",
|
|
19683
19686
|
c && "after:hidden",
|
|
19684
19687
|
k && "cursor-pointer",
|
|
19685
19688
|
u
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useCallback as m, useMemo as p } from "react";
|
|
3
3
|
import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-BR31-R1U.js";
|
|
4
|
-
import { n as g, a as h, f as v, T as r, d as F } from "./index-
|
|
4
|
+
import { n as g, a as h, f as v, T as r, d as F } from "./index-DlA848zF.js";
|
|
5
5
|
const D = () => {
|
|
6
6
|
const [t, a] = u(1), n = m(
|
|
7
7
|
() => a((e) => g(e) ?? e),
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as g, useState as h, useEffect as b } from "react";
|
|
3
3
|
import { r as p } from "./docx-preview-BaRDMyPN.js";
|
|
4
4
|
import { u as v, S as w } from "./F0CanvasPanel-BR31-R1U.js";
|
|
5
|
-
import { u as x, D as y } from "./DocumentToolbar-
|
|
5
|
+
import { u as x, D as y } from "./DocumentToolbar-C610RfcK.js";
|
|
6
6
|
const V = ({
|
|
7
7
|
url: o,
|
|
8
8
|
filename: d,
|
|
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as i, useEffect as k } from "react";
|
|
3
3
|
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-BR31-R1U.js";
|
|
4
4
|
import { f as z, c as E } from "./sheetPreview-5qeAOp0W.js";
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-C610RfcK.js";
|
|
6
6
|
const g = 1e3, F = 100, G = ({
|
|
7
7
|
url: n,
|
|
8
8
|
filename: y,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useEffect as h } from "react";
|
|
3
3
|
import { u as x, S as p, p as w } from "./F0CanvasPanel-BR31-R1U.js";
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-C610RfcK.js";
|
|
5
5
|
const k = 2 * 1024 * 1024, v = [
|
|
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
|
@@ -5576,8 +5576,10 @@ declare module "@tiptap/core" {
|
|
|
5576
5576
|
|
|
5577
5577
|
declare module "@tiptap/core" {
|
|
5578
5578
|
interface Commands<ReturnType> {
|
|
5579
|
-
|
|
5580
|
-
|
|
5579
|
+
videoEmbed: {
|
|
5580
|
+
setVideoEmbed: (options: {
|
|
5581
|
+
src: string;
|
|
5582
|
+
}) => ReturnType;
|
|
5581
5583
|
};
|
|
5582
5584
|
}
|
|
5583
5585
|
}
|
|
@@ -5585,10 +5587,8 @@ declare module "@tiptap/core" {
|
|
|
5585
5587
|
|
|
5586
5588
|
declare module "@tiptap/core" {
|
|
5587
5589
|
interface Commands<ReturnType> {
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
src: string;
|
|
5591
|
-
}) => ReturnType;
|
|
5590
|
+
transcript: {
|
|
5591
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
5592
5592
|
};
|
|
5593
5593
|
}
|
|
5594
5594
|
}
|
|
@@ -337,8 +337,10 @@ declare module "@tiptap/core" {
|
|
|
337
337
|
|
|
338
338
|
declare module "@tiptap/core" {
|
|
339
339
|
interface Commands<ReturnType> {
|
|
340
|
-
|
|
341
|
-
|
|
340
|
+
videoEmbed: {
|
|
341
|
+
setVideoEmbed: (options: {
|
|
342
|
+
src: string;
|
|
343
|
+
}) => ReturnType;
|
|
342
344
|
};
|
|
343
345
|
}
|
|
344
346
|
}
|
|
@@ -346,10 +348,8 @@ declare module "@tiptap/core" {
|
|
|
346
348
|
|
|
347
349
|
declare module "@tiptap/core" {
|
|
348
350
|
interface Commands<ReturnType> {
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
src: string;
|
|
352
|
-
}) => ReturnType;
|
|
351
|
+
transcript: {
|
|
352
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
355
|
}
|