@factorialco/f0-react 1.303.6 → 1.304.1
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/experimental.d.ts +32 -28
- package/dist/experimental.js +4506 -4444
- package/dist/f0.d.ts +28 -28
- package/dist/f0.js +2 -2
- package/dist/{hooks-CSPsU7f1.js → hooks-DiAV3mH3.js} +4 -4
- package/dist/i18n-provider-defaults.d.ts +28 -28
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/dist/f0.d.ts
CHANGED
|
@@ -4683,11 +4683,28 @@ declare global {
|
|
|
4683
4683
|
}
|
|
4684
4684
|
}
|
|
4685
4685
|
|
|
4686
|
+
declare module "gridstack" {
|
|
4687
|
+
interface GridStackWidget {
|
|
4688
|
+
id?: string;
|
|
4689
|
+
allowedSizes?: Array<{
|
|
4690
|
+
w: number;
|
|
4691
|
+
h: number;
|
|
4692
|
+
}>;
|
|
4693
|
+
meta?: Record<string, unknown>;
|
|
4694
|
+
}
|
|
4695
|
+
interface GridStackNode {
|
|
4696
|
+
allowedSizes?: Array<{
|
|
4697
|
+
w: number;
|
|
4698
|
+
h: number;
|
|
4699
|
+
}>;
|
|
4700
|
+
}
|
|
4701
|
+
}
|
|
4702
|
+
|
|
4686
4703
|
|
|
4687
4704
|
declare module "@tiptap/core" {
|
|
4688
4705
|
interface Commands<ReturnType> {
|
|
4689
|
-
|
|
4690
|
-
|
|
4706
|
+
aiBlock: {
|
|
4707
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
4691
4708
|
};
|
|
4692
4709
|
}
|
|
4693
4710
|
}
|
|
@@ -4695,8 +4712,8 @@ declare module "@tiptap/core" {
|
|
|
4695
4712
|
|
|
4696
4713
|
declare module "@tiptap/core" {
|
|
4697
4714
|
interface Commands<ReturnType> {
|
|
4698
|
-
|
|
4699
|
-
|
|
4715
|
+
liveCompanion: {
|
|
4716
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
4700
4717
|
};
|
|
4701
4718
|
}
|
|
4702
4719
|
}
|
|
@@ -4704,34 +4721,12 @@ declare module "@tiptap/core" {
|
|
|
4704
4721
|
|
|
4705
4722
|
declare module "@tiptap/core" {
|
|
4706
4723
|
interface Commands<ReturnType> {
|
|
4707
|
-
|
|
4708
|
-
|
|
4724
|
+
transcript: {
|
|
4725
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
4709
4726
|
};
|
|
4710
4727
|
}
|
|
4711
4728
|
}
|
|
4712
4729
|
|
|
4713
|
-
declare module "gridstack" {
|
|
4714
|
-
interface GridStackWidget {
|
|
4715
|
-
id?: string;
|
|
4716
|
-
allowedSizes?: Array<{
|
|
4717
|
-
w: number;
|
|
4718
|
-
h: number;
|
|
4719
|
-
}>;
|
|
4720
|
-
meta?: Record<string, unknown>;
|
|
4721
|
-
}
|
|
4722
|
-
interface GridStackNode {
|
|
4723
|
-
allowedSizes?: Array<{
|
|
4724
|
-
w: number;
|
|
4725
|
-
h: number;
|
|
4726
|
-
}>;
|
|
4727
|
-
}
|
|
4728
|
-
}
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
declare namespace Calendar {
|
|
4732
|
-
var displayName: string;
|
|
4733
|
-
}
|
|
4734
|
-
|
|
4735
4730
|
|
|
4736
4731
|
declare module "@tiptap/core" {
|
|
4737
4732
|
interface Commands<ReturnType> {
|
|
@@ -4740,3 +4735,8 @@ declare module "@tiptap/core" {
|
|
|
4740
4735
|
};
|
|
4741
4736
|
}
|
|
4742
4737
|
}
|
|
4738
|
+
|
|
4739
|
+
|
|
4740
|
+
declare namespace Calendar {
|
|
4741
|
+
var displayName: string;
|
|
4742
|
+
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Cn, C as Gr, c as W, a as Di, u as _n, m as Ri, i as En, B as Si, O as Wr, p as $r, w as Ur, S as Fe, b as jr, F as Dn, d as Kr, A as Xr, D as Yr, e as Vr, f as De, g as qr, h as pe, j as qi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as Tn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as kn, ai as As, aj as Mt, ak as zn, al as Pn, am as Ts, an as Mn, ao as Ln, ap as In, aq as ks, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as qe, aB as Fn, aC as Fs, aD as Gs, aE as Qi, aF as Ws, aG as Gn, aH as $s, aI as Us, aJ as js, aK as Ks, aL as Xs, aM as Ys, aN as Vs, aO as qs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-
|
|
2
|
-
import { bl as Yc, by as Vc, bH as qc, aT as Jc, aU as Zc, aV as Qc, aW as ed, aX as td, aY as id, aZ as nd, a_ as rd, b0 as sd, b1 as od, b2 as ad, b3 as ld, b4 as cd, b5 as dd, b6 as ud, bD as hd, b8 as fd, b9 as gd, bc as pd, bd as md, be as vd, bf as yd, bi as bd, bj as xd, bk as wd, bn as Cd, bb as _d, bm as Ed, bh as Dd, bE as Rd, bx as Sd, bs as Nd, bv as Od, br as Ad, bI as Td, bq as kd, bp as zd, a$ as Pd, b7 as Md, ba as Ld, bg as Id, bo as Hd, bt as Bd, bz as Fd, bA as Gd, bB as Wd, bJ as $d, bu as Ud, bC as jd, bG as Kd, bw as Xd, bF as Yd } from "./hooks-
|
|
1
|
+
import { L as Cn, C as Gr, c as W, a as Di, u as _n, m as Ri, i as En, B as Si, O as Wr, p as $r, w as Ur, S as Fe, b as jr, F as Dn, d as Kr, A as Xr, D as Yr, e as Vr, f as De, g as qr, h as pe, j as qi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as Tn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as kn, ai as As, aj as Mt, ak as zn, al as Pn, am as Ts, an as Mn, ao as Ln, ap as In, aq as ks, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as qe, aB as Fn, aC as Fs, aD as Gs, aE as Qi, aF as Ws, aG as Gn, aH as $s, aI as Us, aJ as js, aK as Ks, aL as Xs, aM as Ys, aN as Vs, aO as qs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-DiAV3mH3.js";
|
|
2
|
+
import { bl as Yc, by as Vc, bH as qc, aT as Jc, aU as Zc, aV as Qc, aW as ed, aX as td, aY as id, aZ as nd, a_ as rd, b0 as sd, b1 as od, b2 as ad, b3 as ld, b4 as cd, b5 as dd, b6 as ud, bD as hd, b8 as fd, b9 as gd, bc as pd, bd as md, be as vd, bf as yd, bi as bd, bj as xd, bk as wd, bn as Cd, bb as _d, bm as Ed, bh as Dd, bE as Rd, bx as Sd, bs as Nd, bv as Od, br as Ad, bI as Td, bq as kd, bp as zd, a$ as Pd, b7 as Md, ba as Ld, bg as Id, bo as Hd, bt as Bd, bz as Fd, bA as Gd, bB as Wd, bJ as $d, bu as Ud, bC as jd, bG as Kd, bw as Xd, bF as Yd } from "./hooks-DiAV3mH3.js";
|
|
3
3
|
import { jsx as g, jsxs as z, Fragment as qt } from "react/jsx-runtime";
|
|
4
4
|
import P, { forwardRef as oe, useRef as L, useImperativeHandle as to, Children as Lt, createContext as Se, useContext as xe, useState as B, useMemo as H, useEffect as M, useCallback as $, useLayoutEffect as yi, createElement as en, isValidElement as Wn, Fragment as io, memo as no, useReducer as ro, cloneElement as so, PureComponent as oo } from "react";
|
|
5
5
|
import { createPortal as $n, unstable_batchedUpdates as At } from "react-dom";
|
|
@@ -72987,8 +72987,8 @@ var uU1 = {
|
|
|
72987
72987
|
5: "220 88% 17% / 0.04",
|
|
72988
72988
|
10: "216 89% 18% / 0.06",
|
|
72989
72989
|
20: "214 70% 20% / 0.1",
|
|
72990
|
-
30: "213 87% 15% / 0.
|
|
72991
|
-
40: "219 97% 15% / 0.
|
|
72990
|
+
30: "213 87% 15% / 0.20",
|
|
72991
|
+
40: "219 97% 15% / 0.45",
|
|
72992
72992
|
50: "217 96% 11% / 0.61",
|
|
72993
72993
|
60: "220 88% 10% / 0.82",
|
|
72994
72994
|
70: "219 91% 8% / 0.88",
|
|
@@ -111545,9 +111545,9 @@ const vW1 = ({ text: e }) => i("div", {
|
|
|
111545
111545
|
}))
|
|
111546
111546
|
})
|
|
111547
111547
|
}), !I && i("div", {
|
|
111548
|
-
className: l2("pointer-events-none absolute bottom-0 left-0 top-[1px] z-10 flex flex-1 justify-start px-3 text-f1-foreground-
|
|
111548
|
+
className: l2("pointer-events-none absolute bottom-0 left-0 top-[1px] z-10 flex flex-1 justify-start px-3 text-f1-foreground-tertiary transition-opacity", (h || X) && "pl-8", (h || X) && f === "md" && "pl-9", qg({
|
|
111549
111549
|
size: f
|
|
111550
|
-
}), b && !A && w(m2) && !c2 ? "opacity-
|
|
111550
|
+
}), b && !A && w(m2) && !c2 ? "opacity-100" : "opacity-0"),
|
|
111551
111551
|
onClick: a2,
|
|
111552
111552
|
"aria-hidden": "true",
|
|
111553
111553
|
children: b
|
|
@@ -450,11 +450,28 @@ declare global {
|
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
+
declare module "gridstack" {
|
|
454
|
+
interface GridStackWidget {
|
|
455
|
+
id?: string;
|
|
456
|
+
allowedSizes?: Array<{
|
|
457
|
+
w: number;
|
|
458
|
+
h: number;
|
|
459
|
+
}>;
|
|
460
|
+
meta?: Record<string, unknown>;
|
|
461
|
+
}
|
|
462
|
+
interface GridStackNode {
|
|
463
|
+
allowedSizes?: Array<{
|
|
464
|
+
w: number;
|
|
465
|
+
h: number;
|
|
466
|
+
}>;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
453
470
|
|
|
454
471
|
declare module "@tiptap/core" {
|
|
455
472
|
interface Commands<ReturnType> {
|
|
456
|
-
|
|
457
|
-
|
|
473
|
+
aiBlock: {
|
|
474
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
458
475
|
};
|
|
459
476
|
}
|
|
460
477
|
}
|
|
@@ -462,8 +479,8 @@ declare module "@tiptap/core" {
|
|
|
462
479
|
|
|
463
480
|
declare module "@tiptap/core" {
|
|
464
481
|
interface Commands<ReturnType> {
|
|
465
|
-
|
|
466
|
-
|
|
482
|
+
liveCompanion: {
|
|
483
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
467
484
|
};
|
|
468
485
|
}
|
|
469
486
|
}
|
|
@@ -471,34 +488,12 @@ declare module "@tiptap/core" {
|
|
|
471
488
|
|
|
472
489
|
declare module "@tiptap/core" {
|
|
473
490
|
interface Commands<ReturnType> {
|
|
474
|
-
|
|
475
|
-
|
|
491
|
+
transcript: {
|
|
492
|
+
insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
|
|
476
493
|
};
|
|
477
494
|
}
|
|
478
495
|
}
|
|
479
496
|
|
|
480
|
-
declare module "gridstack" {
|
|
481
|
-
interface GridStackWidget {
|
|
482
|
-
id?: string;
|
|
483
|
-
allowedSizes?: Array<{
|
|
484
|
-
w: number;
|
|
485
|
-
h: number;
|
|
486
|
-
}>;
|
|
487
|
-
meta?: Record<string, unknown>;
|
|
488
|
-
}
|
|
489
|
-
interface GridStackNode {
|
|
490
|
-
allowedSizes?: Array<{
|
|
491
|
-
w: number;
|
|
492
|
-
h: number;
|
|
493
|
-
}>;
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
declare namespace Calendar {
|
|
499
|
-
var displayName: string;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
497
|
|
|
503
498
|
declare module "@tiptap/core" {
|
|
504
499
|
interface Commands<ReturnType> {
|
|
@@ -507,3 +502,8 @@ declare module "@tiptap/core" {
|
|
|
507
502
|
};
|
|
508
503
|
}
|
|
509
504
|
}
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
declare namespace Calendar {
|
|
508
|
+
var displayName: string;
|
|
509
|
+
}
|