@factorialco/f0-react 1.188.0 → 1.188.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 +4 -4
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +21 -4
- package/dist/f0.js +26 -25
- package/dist/{hooks-DJZUy5yN.js → hooks-BZw2dqtL.js} +9356 -9341
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -4790,8 +4790,8 @@ declare global {
|
|
|
4790
4790
|
|
|
4791
4791
|
declare module "@tiptap/core" {
|
|
4792
4792
|
interface Commands<ReturnType> {
|
|
4793
|
-
|
|
4794
|
-
|
|
4793
|
+
aiBlock: {
|
|
4794
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
4795
4795
|
};
|
|
4796
4796
|
}
|
|
4797
4797
|
}
|
|
@@ -4799,8 +4799,8 @@ declare module "@tiptap/core" {
|
|
|
4799
4799
|
|
|
4800
4800
|
declare module "@tiptap/core" {
|
|
4801
4801
|
interface Commands<ReturnType> {
|
|
4802
|
-
|
|
4803
|
-
|
|
4802
|
+
liveCompanion: {
|
|
4803
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
4804
4804
|
};
|
|
4805
4805
|
}
|
|
4806
4806
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { J as EJ,
|
|
1
|
+
import { aC as ov, aD as av, aE as k0, aF as La, aG as Vk, aH as Hk, aI as Wk, aJ as Vc, aK as qk, aL as Uk, aM as Kk, aN as K, aO as lv, aP as Gk, aQ as Jk, aR as Yk, aS as ws, aT as Jo, aU as Jl, aV as Zk, aW as el, aX as Xk, aY as Hc, aZ as Qk, a_ as ew, a$ as tl, b0 as tw, b1 as nw, b2 as iw, b3 as w0, b4 as rw, b5 as x0, b6 as sw, b7 as dv, b8 as fv, b9 as ow, ba as Qs, q as At, a as N, bb as nr, P as Ge, bc as Ve, s as de, j as it, y as re, bd as _f, L as Nr, be as je, bf as ir, _ as cv, bg as Re, bh as aw, bi as lw, bj as dw, bk as Fh, bl as uv, v as Yl, w as ii, x as ai, bm as fw, bn as Zl, bo as Qu, bp as cw, n as Cf, bq as hv, f as uw, br as hw, bs as pw, bt as mw, b as _0, bu as gw, bv as yw, bw as pv, bx as Bh, by as vw, c as Sf, bz as eo, bA as $h, bB as $t, bC as bw, bD as Tn, bE as kw, bF as mv, bG as ww, bH as Bi, bI as xw, bJ as _w, bK as Cw, bL as Sw, bM as Nw, bN as gv, bO as Lw, bP as C0, bQ as Mw, ay as to, S as Mi, t as zh, bR as Ew, bS as yv, bT as Jt, $ as Ma, r as rr, bU as zr, bV as Tw, bW as Xr, bX as jh, a8 as Wn, bY as ye, bZ as Yt, b_ as Nf, b$ as Yo, c0 as Ow, c1 as vv, c2 as bv, h as Lf, i as Mf, k as Ef, c3 as Vh, c4 as Aw, c5 as kv, C as mn, c6 as wv, c7 as Dw, c8 as Iw, G as Rw, c9 as xv, ca as gt, cb as e1, cc as _v, a5 as t1, cd as Pw, ce as Fw, cf as Bw, cg as $w, ch as zw, az as Tf, a2 as n1, F as Hh, aB as jw, ci as Ln, aA as Vw, cj as Cv, ck as an, cl as Sv, cm as hr, cn as Hw, co as Ww, cp as qt, cq as Xl, cr as Nv, cs as qw, ag as Of, a6 as Wh, al as jr, ct as qh, cu as Uh, cv as Lv, cw as Uw, a9 as Kw, a1 as Mv, cx as Gw, cy as Ev, cz as Jw, cA as Yw, cB as Zw, D as Tv, u as Ov, cC as S0, cD as Xw, cE as Ea, cF as Qw, cG as Af, K as ex, m as tx, cH as nx, cI as ix, cJ as rx, cK as sx, cL as ox, cM as ax, cN as lx, cO as dx, p as fx, an as cx, cP as Av, cQ as Df, cR as N0, Y as Dv, cS as Ta, cT as Iv, cU as Rv, cV as ux, a0 as no, cW as hx, a3 as Pv, I as px, cX as ft, cY as L0, cZ as mx, c_ as gx, c$ as yx, d0 as Wc, d1 as vx, d2 as bx, ab as Ql, ao as M0, d3 as Fv, z as If, d4 as Rf, d5 as Pf, E as Ff, aa as Kh, d6 as kx, as as wx, d7 as i1, d8 as xx, d9 as ed, at as _x, da as Cx, ar as Bv, aq as Sx, ap as Nx, db as Lx, dc as Mx, ac as Ex, dd as Tx, a4 as Ox, de as Oa, df as Gh, dg as Jh, dh as Aa, di as $v, dj as zv, dk as Ax, au as jv, dl as Vv, ad as Hv, dm as Dx, dn as Ix, dp as Rx, H as Px, A as Fx, B as Bx, e as $x, g as zx, V as jx, d as Vx, dq as E0, dr as Hx, ds as Wx, dt as qx, du as Wv, dv as Ux } from "./hooks-BZw2dqtL.js";
|
|
2
|
+
import { J as EJ, dx as TJ, a7 as OJ, dw as AJ } from "./hooks-BZw2dqtL.js";
|
|
3
3
|
import { jsxs as b, jsx as f, Fragment as Ne } from "react/jsx-runtime";
|
|
4
4
|
import * as I from "react";
|
|
5
5
|
import X, { forwardRef as H, createContext as Rn, useRef as le, useState as B, useCallback as Ce, useContext as ln, useMemo as he, useEffect as te, PureComponent as Kx, useId as Qr, useLayoutEffect as Yh, memo as Da, Fragment as sr, useTransition as Gx, isValidElement as Jx, cloneElement as qv, useDeferredValue as Yx, useDebugValue as Uv, createRef as Zx, createElement as Xx, version as T0, useImperativeHandle as Bf, Children as Kv } from "react";
|
package/dist/f0.d.ts
CHANGED
|
@@ -949,6 +949,21 @@ export declare interface ErrorMessageProps {
|
|
|
949
949
|
description: string;
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
+
declare type EventCatcherFunction = (eventName: EventName, params: EventParams) => void;
|
|
953
|
+
|
|
954
|
+
declare interface EventCatcherProviderProps {
|
|
955
|
+
children: ReactNode;
|
|
956
|
+
onEvent: EventCatcherFunction;
|
|
957
|
+
enabled?: boolean;
|
|
958
|
+
catchEvents?: string[];
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
declare type EventName = "datacollection.filter-change" | "datacollection.sorting-change" | "datacollection.preset-click";
|
|
962
|
+
|
|
963
|
+
declare type EventParams = Record<string, EventScalar | Array<EventScalar>>;
|
|
964
|
+
|
|
965
|
+
declare type EventScalar = string | number | boolean | undefined | null;
|
|
966
|
+
|
|
952
967
|
export declare const experimental: <T extends (...args: any[]) => any>(name: string, component: T) => T;
|
|
953
968
|
|
|
954
969
|
export declare const F0Avatar: ({ avatar, size }: AvatarProps) => ReactNode;
|
|
@@ -1144,6 +1159,8 @@ export declare const F0ChipList: {
|
|
|
1144
1159
|
displayName: string;
|
|
1145
1160
|
};
|
|
1146
1161
|
|
|
1162
|
+
export declare function F0EventCatcherProvider({ children, onEvent, enabled, catchEvents, }: EventCatcherProviderProps): JSX.Element;
|
|
1163
|
+
|
|
1147
1164
|
export declare const F0Icon: ForwardRefExoticComponent<Omit<Omit<F0IconProps_2, "ref"> & RefAttributes<SVGSVGElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
1148
1165
|
|
|
1149
1166
|
export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
|
|
@@ -2098,8 +2115,8 @@ declare global {
|
|
|
2098
2115
|
|
|
2099
2116
|
declare module "@tiptap/core" {
|
|
2100
2117
|
interface Commands<ReturnType> {
|
|
2101
|
-
|
|
2102
|
-
|
|
2118
|
+
aiBlock: {
|
|
2119
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
2103
2120
|
};
|
|
2104
2121
|
}
|
|
2105
2122
|
}
|
|
@@ -2107,8 +2124,8 @@ declare module "@tiptap/core" {
|
|
|
2107
2124
|
|
|
2108
2125
|
declare module "@tiptap/core" {
|
|
2109
2126
|
interface Commands<ReturnType> {
|
|
2110
|
-
|
|
2111
|
-
|
|
2127
|
+
liveCompanion: {
|
|
2128
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
2112
2129
|
};
|
|
2113
2130
|
}
|
|
2114
2131
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as v, L as pe, c as ve, P as H, a as b, f as ge, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as U, i as W, j as Pe, k as Y, S as G, l as D, m as X, n as ke, O as Fe, o as J, p as Se, q as Me, F as K, r as De, s as Te, t as Be, D as Re, u as Ie, v as $e, w as Oe, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as qe, N as Ae, Q as He, R as Ue, X as We, T as Ye, W as Ge, Y as Xe, Z as Je } from "./hooks-
|
|
2
|
-
import { ao as Ua, _ as Wa, aq as Ya,
|
|
1
|
+
import { C as v, L as pe, c as ve, P as H, a as b, f as ge, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as U, i as W, j as Pe, k as Y, S as G, l as D, m as X, n as ke, O as Fe, o as J, p as Se, q as Me, F as K, r as De, s as Te, t as Be, D as Re, u as Ie, v as $e, w as Oe, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as qe, N as Ae, Q as He, R as Ue, X as We, T as Ye, W as Ge, Y as Xe, Z as Je } from "./hooks-BZw2dqtL.js";
|
|
2
|
+
import { ao as Ua, _ as Wa, aq as Ya, az as Ga, $ as Xa, a0 as Ja, a1 as Ka, a2 as Qa, a3 as Za, a4 as er, a5 as ar, a6 as rr, a8 as sr, a9 as tr, aa as lr, ab as or, av as nr, ad as ir, ae as dr, af as cr, ag as ur, aj as fr, ak as hr, al as mr, am as pr, ac as vr, an as gr, ai as br, aw as xr, ap as Cr, aA as yr, a7 as wr, ah as Nr, ar as Lr, as as Pr, at as kr, aB as Fr, au as Sr, ay as Mr, ax as Dr } from "./hooks-BZw2dqtL.js";
|
|
3
3
|
import { jsx as e, jsxs as c, Fragment as O } from "react/jsx-runtime";
|
|
4
4
|
import * as E from "react";
|
|
5
5
|
import Ke, { useState as g, forwardRef as B, useRef as ae, useImperativeHandle as Qe, Children as Ze, useEffect as re, createContext as ea } from "react";
|
|
@@ -976,30 +976,31 @@ export {
|
|
|
976
976
|
lr as F0Card,
|
|
977
977
|
or as F0Checkbox,
|
|
978
978
|
Oa as F0ChipList,
|
|
979
|
+
nr as F0EventCatcherProvider,
|
|
979
980
|
Te as F0Icon,
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
981
|
+
ir as F0TagAlert,
|
|
982
|
+
dr as F0TagBalance,
|
|
983
|
+
cr as F0TagCompany,
|
|
984
|
+
ur as F0TagDot,
|
|
985
|
+
fr as F0TagList,
|
|
986
|
+
hr as F0TagPerson,
|
|
986
987
|
De as F0TagRaw,
|
|
987
|
-
|
|
988
|
-
|
|
988
|
+
mr as F0TagStatus,
|
|
989
|
+
pr as F0TagTeam,
|
|
989
990
|
qa as FactorialOneProvider,
|
|
990
991
|
ja as HomeLayout,
|
|
991
992
|
Ba as LineChart,
|
|
992
993
|
ka as Link,
|
|
993
|
-
|
|
994
|
+
vr as OneFilterPicker,
|
|
994
995
|
Ra as PieChart,
|
|
995
996
|
Ye as PrivacyModeProvider,
|
|
996
997
|
ue as ProductBlankslate,
|
|
997
|
-
|
|
998
|
+
gr as ProductCard,
|
|
998
999
|
za as ProductModal,
|
|
999
1000
|
ga as ProductWidget,
|
|
1000
1001
|
$a as ProgressBarChart,
|
|
1001
1002
|
Ea as StandardLayout,
|
|
1002
|
-
|
|
1003
|
+
br as TagCounter,
|
|
1003
1004
|
_a as TwoColumnLayout,
|
|
1004
1005
|
Z as UpsellRequestResponseDialog,
|
|
1005
1006
|
ba as UpsellingBanner,
|
|
@@ -1007,18 +1008,18 @@ export {
|
|
|
1007
1008
|
Va as UpsellingPopover,
|
|
1008
1009
|
Ia as VerticalBarChart,
|
|
1009
1010
|
Fa as avatarVariants,
|
|
1010
|
-
|
|
1011
|
-
|
|
1011
|
+
xr as buildTranslations,
|
|
1012
|
+
Cr as createAtlaskitDriver,
|
|
1012
1013
|
Pa as defaultTranslations,
|
|
1013
1014
|
ke as experimental,
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1015
|
+
yr as getEmojiLabel,
|
|
1016
|
+
wr as modules,
|
|
1017
|
+
Nr as tagDotColors,
|
|
1018
|
+
Lr as useDndEvents,
|
|
1019
|
+
Pr as useDraggable,
|
|
1020
|
+
kr as useDroppableList,
|
|
1021
|
+
Fr as useEmojiConfetti,
|
|
1022
|
+
Sr as usePrivacyMode,
|
|
1023
|
+
Mr as useReducedMotion,
|
|
1024
|
+
Dr as useXRay
|
|
1024
1025
|
};
|