@factorialco/f0-react 1.321.0 → 1.322.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/experimental.d.ts +25 -25
- package/dist/experimental.js +1766 -1755
- package/dist/f0.d.ts +25 -25
- package/dist/f0.js +2 -2
- package/dist/{hooks-DnjVwxqF.js → hooks-D-ClnmaM.js} +1 -1
- package/dist/i18n-provider-defaults.d.ts +24 -24
- package/package.json +3 -3
package/dist/f0.d.ts
CHANGED
|
@@ -2800,7 +2800,7 @@ declare interface FilterPickerBaseProps<Filters extends FiltersDefinition> {
|
|
|
2800
2800
|
*/
|
|
2801
2801
|
export declare type FiltersDefinition<Keys extends string = string> = Record<Keys, FilterDefinition>;
|
|
2802
2802
|
|
|
2803
|
-
export declare type FiltersMode = "default" | "compact";
|
|
2803
|
+
export declare type FiltersMode = "default" | "compact" | "simple";
|
|
2804
2804
|
|
|
2805
2805
|
/**
|
|
2806
2806
|
* Current state of all filters in a collection.
|
|
@@ -5119,11 +5119,28 @@ declare global {
|
|
|
5119
5119
|
}
|
|
5120
5120
|
}
|
|
5121
5121
|
|
|
5122
|
+
declare module "gridstack" {
|
|
5123
|
+
interface GridStackWidget {
|
|
5124
|
+
id?: string;
|
|
5125
|
+
allowedSizes?: Array<{
|
|
5126
|
+
w: number;
|
|
5127
|
+
h: number;
|
|
5128
|
+
}>;
|
|
5129
|
+
meta?: Record<string, unknown>;
|
|
5130
|
+
}
|
|
5131
|
+
interface GridStackNode {
|
|
5132
|
+
allowedSizes?: Array<{
|
|
5133
|
+
w: number;
|
|
5134
|
+
h: number;
|
|
5135
|
+
}>;
|
|
5136
|
+
}
|
|
5137
|
+
}
|
|
5138
|
+
|
|
5122
5139
|
|
|
5123
5140
|
declare module "@tiptap/core" {
|
|
5124
5141
|
interface Commands<ReturnType> {
|
|
5125
|
-
|
|
5126
|
-
|
|
5142
|
+
aiBlock: {
|
|
5143
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
5127
5144
|
};
|
|
5128
5145
|
}
|
|
5129
5146
|
}
|
|
@@ -5131,8 +5148,8 @@ declare module "@tiptap/core" {
|
|
|
5131
5148
|
|
|
5132
5149
|
declare module "@tiptap/core" {
|
|
5133
5150
|
interface Commands<ReturnType> {
|
|
5134
|
-
|
|
5135
|
-
|
|
5151
|
+
liveCompanion: {
|
|
5152
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
5136
5153
|
};
|
|
5137
5154
|
}
|
|
5138
5155
|
}
|
|
@@ -5146,21 +5163,9 @@ declare module "@tiptap/core" {
|
|
|
5146
5163
|
}
|
|
5147
5164
|
}
|
|
5148
5165
|
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
allowedSizes?: Array<{
|
|
5153
|
-
w: number;
|
|
5154
|
-
h: number;
|
|
5155
|
-
}>;
|
|
5156
|
-
meta?: Record<string, unknown>;
|
|
5157
|
-
}
|
|
5158
|
-
interface GridStackNode {
|
|
5159
|
-
allowedSizes?: Array<{
|
|
5160
|
-
w: number;
|
|
5161
|
-
h: number;
|
|
5162
|
-
}>;
|
|
5163
|
-
}
|
|
5166
|
+
|
|
5167
|
+
declare namespace Calendar {
|
|
5168
|
+
var displayName: string;
|
|
5164
5169
|
}
|
|
5165
5170
|
|
|
5166
5171
|
|
|
@@ -5171,8 +5176,3 @@ declare module "@tiptap/core" {
|
|
|
5171
5176
|
};
|
|
5172
5177
|
}
|
|
5173
5178
|
}
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
declare namespace Calendar {
|
|
5177
|
-
var displayName: string;
|
|
5178
|
-
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-
|
|
2
|
-
import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-
|
|
1
|
+
import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-D-ClnmaM.js";
|
|
2
|
+
import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-D-ClnmaM.js";
|
|
3
3
|
import { jsx as f, jsxs as P, Fragment as qt } from "react/jsx-runtime";
|
|
4
4
|
import M, { forwardRef as oe, useRef as L, useImperativeHandle as lo, Children as Lt, createContext as Ae, useContext as _e, useState as B, useMemo as H, useEffect as I, useCallback as j, useLayoutEffect as yi, createElement as nn, isValidElement as Kn, Fragment as co, memo as uo, useReducer as ho, cloneElement as fo, PureComponent as go } from "react";
|
|
5
5
|
import { createPortal as Xn, unstable_batchedUpdates as Ot } from "react-dom";
|
|
@@ -117884,7 +117884,7 @@ const D12 = () => {
|
|
|
117884
117884
|
onChange: u,
|
|
117885
117885
|
onOpenChange: r,
|
|
117886
117886
|
isOpen: n,
|
|
117887
|
-
hideLabel: !!a,
|
|
117887
|
+
hideLabel: !!a || l === "simple",
|
|
117888
117888
|
mode: l
|
|
117889
117889
|
}), !!a?.length && i("div", {
|
|
117890
117890
|
className: "flex items-center",
|
|
@@ -458,11 +458,28 @@ declare global {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
+
declare module "gridstack" {
|
|
462
|
+
interface GridStackWidget {
|
|
463
|
+
id?: string;
|
|
464
|
+
allowedSizes?: Array<{
|
|
465
|
+
w: number;
|
|
466
|
+
h: number;
|
|
467
|
+
}>;
|
|
468
|
+
meta?: Record<string, unknown>;
|
|
469
|
+
}
|
|
470
|
+
interface GridStackNode {
|
|
471
|
+
allowedSizes?: Array<{
|
|
472
|
+
w: number;
|
|
473
|
+
h: number;
|
|
474
|
+
}>;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
461
478
|
|
|
462
479
|
declare module "@tiptap/core" {
|
|
463
480
|
interface Commands<ReturnType> {
|
|
464
|
-
|
|
465
|
-
|
|
481
|
+
aiBlock: {
|
|
482
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
466
483
|
};
|
|
467
484
|
}
|
|
468
485
|
}
|
|
@@ -470,8 +487,8 @@ declare module "@tiptap/core" {
|
|
|
470
487
|
|
|
471
488
|
declare module "@tiptap/core" {
|
|
472
489
|
interface Commands<ReturnType> {
|
|
473
|
-
|
|
474
|
-
|
|
490
|
+
liveCompanion: {
|
|
491
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
475
492
|
};
|
|
476
493
|
}
|
|
477
494
|
}
|
|
@@ -485,21 +502,9 @@ declare module "@tiptap/core" {
|
|
|
485
502
|
}
|
|
486
503
|
}
|
|
487
504
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
allowedSizes?: Array<{
|
|
492
|
-
w: number;
|
|
493
|
-
h: number;
|
|
494
|
-
}>;
|
|
495
|
-
meta?: Record<string, unknown>;
|
|
496
|
-
}
|
|
497
|
-
interface GridStackNode {
|
|
498
|
-
allowedSizes?: Array<{
|
|
499
|
-
w: number;
|
|
500
|
-
h: number;
|
|
501
|
-
}>;
|
|
502
|
-
}
|
|
505
|
+
|
|
506
|
+
declare namespace Calendar {
|
|
507
|
+
var displayName: string;
|
|
503
508
|
}
|
|
504
509
|
|
|
505
510
|
|
|
@@ -510,8 +515,3 @@ declare module "@tiptap/core" {
|
|
|
510
515
|
};
|
|
511
516
|
}
|
|
512
517
|
}
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
declare namespace Calendar {
|
|
516
|
-
var displayName: string;
|
|
517
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorialco/f0-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.322.0",
|
|
4
4
|
"main": "dist/f0.js",
|
|
5
5
|
"typings": "dist/f0.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"zod": "^3.23.8"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@chromatic-com/storybook": "^
|
|
67
|
+
"@chromatic-com/storybook": "^5.0.0",
|
|
68
68
|
"@commitlint/cli": "^19.7.1",
|
|
69
69
|
"@commitlint/config-conventional": "^19.7.1",
|
|
70
70
|
"@emoji-mart/data": "^1.2.1",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"@tiptap/react": "^2.24.0",
|
|
195
195
|
"@tiptap/starter-kit": "^2.11.5",
|
|
196
196
|
"@tiptap/suggestion": "^2.12.0",
|
|
197
|
-
"@vueless/storybook-dark-mode": "^10.0.
|
|
197
|
+
"@vueless/storybook-dark-mode": "^10.0.6",
|
|
198
198
|
"aria-hidden": "^1.2.6",
|
|
199
199
|
"colord": "^2.9.3",
|
|
200
200
|
"cva": "1.0.0-beta.3",
|