@factorialco/f0-react 1.185.0 → 1.186.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.js +304 -301
- package/dist/f0.js +2 -2
- package/dist/{hooks-mfYg1env.js → hooks-BmsAvt-I.js} +110 -96
- package/dist/styles.css +1 -1
- package/package.json +1 -1
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, ay 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, ad as nr, ae as ir, af as dr, ag as cr, aj as ur, ak as fr, al as hr, am as mr, ac as pr, an as vr, ai as gr, av as br, ap as xr, az as Cr, a7 as yr, ah as wr, ar as Nr, as as Lr, at as Pr, aA as kr, au as Fr, ax as Sr, aw as Mr } from "./hooks-
|
|
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-BmsAvt-I.js";
|
|
2
|
+
import { ao as Ua, _ as Wa, aq as Ya, ay 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, ad as nr, ae as ir, af as dr, ag as cr, aj as ur, ak as fr, al as hr, am as mr, ac as pr, an as vr, ai as gr, av as br, ap as xr, az as Cr, a7 as yr, ah as wr, ar as Nr, as as Lr, at as Pr, aA as kr, au as Fr, ax as Sr, aw as Mr } from "./hooks-BmsAvt-I.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";
|
|
@@ -18930,9 +18930,9 @@ const the = Gt({
|
|
|
18930
18930
|
), t = c[t] ?? "md";
|
|
18931
18931
|
}
|
|
18932
18932
|
const s = {
|
|
18933
|
-
xs: -
|
|
18933
|
+
xs: -2,
|
|
18934
18934
|
sm: -3,
|
|
18935
|
-
md: -
|
|
18935
|
+
md: -4
|
|
18936
18936
|
}[t] ?? 0, u = zt(() => ({
|
|
18937
18937
|
xs: 20,
|
|
18938
18938
|
sm: 24,
|
|
@@ -18968,13 +18968,20 @@ const the = Gt({
|
|
|
18968
18968
|
renderDropdownItem: () => null,
|
|
18969
18969
|
forceShowingOverflowIndicator: a !== void 0,
|
|
18970
18970
|
renderOverflowIndicator: (c) => /* @__PURE__ */ b(
|
|
18971
|
-
|
|
18971
|
+
"div",
|
|
18972
18972
|
{
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18973
|
+
className: "flex h-fit w-fit items-center",
|
|
18974
|
+
style: { marginLeft: s },
|
|
18975
|
+
children: /* @__PURE__ */ b(
|
|
18976
|
+
nhe,
|
|
18977
|
+
{
|
|
18978
|
+
count: (a ?? 0) + c,
|
|
18979
|
+
size: t,
|
|
18980
|
+
type: n === "person" ? "rounded" : "base",
|
|
18981
|
+
avatarType: n,
|
|
18982
|
+
list: a ? void 0 : e.slice(e.length - c)
|
|
18983
|
+
}
|
|
18984
|
+
)
|
|
18978
18985
|
}
|
|
18979
18986
|
),
|
|
18980
18987
|
overflowIndicatorWithPopover: !1
|
|
@@ -87995,31 +88002,38 @@ const VPt = ({ text: e }) => /* @__PURE__ */ b(
|
|
|
87995
88002
|
)
|
|
87996
88003
|
}
|
|
87997
88004
|
),
|
|
87998
|
-
/* @__PURE__ */ b(
|
|
87999
|
-
|
|
88000
|
-
|
|
88001
|
-
|
|
88002
|
-
|
|
88003
|
-
|
|
88004
|
-
|
|
88005
|
-
|
|
88006
|
-
|
|
88007
|
-
|
|
88008
|
-
|
|
88009
|
-
|
|
88010
|
-
|
|
88011
|
-
|
|
88012
|
-
|
|
88013
|
-
|
|
88014
|
-
|
|
88015
|
-
|
|
88016
|
-
|
|
88017
|
-
|
|
88018
|
-
|
|
88019
|
-
|
|
88020
|
-
|
|
88021
|
-
|
|
88022
|
-
|
|
88005
|
+
/* @__PURE__ */ b(
|
|
88006
|
+
"div",
|
|
88007
|
+
{
|
|
88008
|
+
onClick: pe,
|
|
88009
|
+
className: "w-full min-w-0 flex-1",
|
|
88010
|
+
children: Nn(e, {
|
|
88011
|
+
onChange: ae,
|
|
88012
|
+
onBlur: X.onBlur,
|
|
88013
|
+
onFocus: X.onFocus,
|
|
88014
|
+
disabled: R,
|
|
88015
|
+
readOnly: n,
|
|
88016
|
+
role: F,
|
|
88017
|
+
"aria-controls": G,
|
|
88018
|
+
"aria-expanded": K,
|
|
88019
|
+
id: te,
|
|
88020
|
+
value: W,
|
|
88021
|
+
"aria-label": r || y,
|
|
88022
|
+
"aria-busy": v,
|
|
88023
|
+
"aria-disabled": R,
|
|
88024
|
+
name: I,
|
|
88025
|
+
className: ue(
|
|
88026
|
+
"h-full w-full min-w-0 px-3",
|
|
88027
|
+
"[&::-webkit-search-cancel-button]:hidden",
|
|
88028
|
+
h && "pl-8",
|
|
88029
|
+
h && f === "md" && "pl-9",
|
|
88030
|
+
t && "cursor-not-allowed",
|
|
88031
|
+
e.props.className,
|
|
88032
|
+
Gx({ size: f })
|
|
88033
|
+
)
|
|
88034
|
+
})
|
|
88035
|
+
}
|
|
88036
|
+
),
|
|
88023
88037
|
!R && /* @__PURE__ */ b(
|
|
88024
88038
|
"div",
|
|
88025
88039
|
{
|
|
@@ -91158,7 +91172,7 @@ export {
|
|
|
91158
91172
|
eR as ay,
|
|
91159
91173
|
L2t as az,
|
|
91160
91174
|
mi as b,
|
|
91161
|
-
|
|
91175
|
+
$u as b$,
|
|
91162
91176
|
Ia as b0,
|
|
91163
91177
|
ys as b1,
|
|
91164
91178
|
kn as b2,
|
|
@@ -91188,14 +91202,14 @@ export {
|
|
|
91188
91202
|
cX as bQ,
|
|
91189
91203
|
uX as bR,
|
|
91190
91204
|
qee as bS,
|
|
91191
|
-
|
|
91192
|
-
|
|
91193
|
-
|
|
91194
|
-
|
|
91195
|
-
|
|
91196
|
-
|
|
91197
|
-
|
|
91198
|
-
|
|
91205
|
+
Am as bT,
|
|
91206
|
+
uq as bU,
|
|
91207
|
+
fX as bV,
|
|
91208
|
+
_H as bW,
|
|
91209
|
+
Nr as bX,
|
|
91210
|
+
tm as bY,
|
|
91211
|
+
ZTe as bZ,
|
|
91212
|
+
yW as b_,
|
|
91199
91213
|
wu as ba,
|
|
91200
91214
|
Te as bb,
|
|
91201
91215
|
hW as bc,
|
|
@@ -91224,34 +91238,34 @@ export {
|
|
|
91224
91238
|
oB as bz,
|
|
91225
91239
|
va as c,
|
|
91226
91240
|
$p as c$,
|
|
91227
|
-
|
|
91228
|
-
|
|
91229
|
-
|
|
91230
|
-
|
|
91231
|
-
|
|
91232
|
-
|
|
91233
|
-
|
|
91234
|
-
|
|
91235
|
-
|
|
91236
|
-
|
|
91237
|
-
|
|
91238
|
-
|
|
91239
|
-
|
|
91240
|
-
|
|
91241
|
-
|
|
91242
|
-
|
|
91243
|
-
|
|
91244
|
-
|
|
91245
|
-
|
|
91246
|
-
|
|
91247
|
-
|
|
91248
|
-
|
|
91249
|
-
|
|
91250
|
-
|
|
91251
|
-
|
|
91252
|
-
|
|
91253
|
-
|
|
91254
|
-
|
|
91241
|
+
wv as c0,
|
|
91242
|
+
j2t as c1,
|
|
91243
|
+
Qf as c2,
|
|
91244
|
+
wte as c3,
|
|
91245
|
+
O2t as c4,
|
|
91246
|
+
uB as c5,
|
|
91247
|
+
E_e as c6,
|
|
91248
|
+
T_e as c7,
|
|
91249
|
+
Pte as c8,
|
|
91250
|
+
fH as c9,
|
|
91251
|
+
iB as cA,
|
|
91252
|
+
iR as cB,
|
|
91253
|
+
ice as cC,
|
|
91254
|
+
tr as cD,
|
|
91255
|
+
om as cE,
|
|
91256
|
+
ZJ as cF,
|
|
91257
|
+
BTe as cG,
|
|
91258
|
+
qTe as cH,
|
|
91259
|
+
yMt as cI,
|
|
91260
|
+
cq as cJ,
|
|
91261
|
+
eq as cK,
|
|
91262
|
+
jce as cL,
|
|
91263
|
+
lq as cM,
|
|
91264
|
+
dq as cN,
|
|
91265
|
+
T2t as cO,
|
|
91266
|
+
gW as cP,
|
|
91267
|
+
v_e as cQ,
|
|
91268
|
+
Jee as cR,
|
|
91255
91269
|
rR as cS,
|
|
91256
91270
|
hte as cT,
|
|
91257
91271
|
Oce as cU,
|
|
@@ -91261,32 +91275,32 @@ export {
|
|
|
91261
91275
|
QPt as cY,
|
|
91262
91276
|
ls as cZ,
|
|
91263
91277
|
cs as c_,
|
|
91264
|
-
|
|
91265
|
-
|
|
91266
|
-
|
|
91267
|
-
|
|
91268
|
-
|
|
91269
|
-
|
|
91270
|
-
|
|
91271
|
-
|
|
91272
|
-
|
|
91273
|
-
|
|
91274
|
-
|
|
91275
|
-
|
|
91276
|
-
|
|
91277
|
-
|
|
91278
|
-
|
|
91279
|
-
|
|
91280
|
-
|
|
91281
|
-
|
|
91282
|
-
|
|
91283
|
-
|
|
91284
|
-
|
|
91285
|
-
|
|
91286
|
-
|
|
91287
|
-
|
|
91288
|
-
|
|
91289
|
-
|
|
91278
|
+
R2t as ca,
|
|
91279
|
+
Y2t as cb,
|
|
91280
|
+
G2t as cc,
|
|
91281
|
+
EF as cd,
|
|
91282
|
+
SC as ce,
|
|
91283
|
+
Fce as cf,
|
|
91284
|
+
hT as cg,
|
|
91285
|
+
cu as ch,
|
|
91286
|
+
TPt as ci,
|
|
91287
|
+
Tc as cj,
|
|
91288
|
+
x5e as ck,
|
|
91289
|
+
A3 as cl,
|
|
91290
|
+
q2t as cm,
|
|
91291
|
+
lMt as cn,
|
|
91292
|
+
eEe as co,
|
|
91293
|
+
O3 as cp,
|
|
91294
|
+
E3 as cq,
|
|
91295
|
+
N3 as cr,
|
|
91296
|
+
ste as cs,
|
|
91297
|
+
bMt as ct,
|
|
91298
|
+
MMt as cu,
|
|
91299
|
+
cte as cv,
|
|
91300
|
+
D3 as cw,
|
|
91301
|
+
Jj as cx,
|
|
91302
|
+
aB as cy,
|
|
91303
|
+
N4 as cz,
|
|
91290
91304
|
aMt as d,
|
|
91291
91305
|
CMt as d0,
|
|
91292
91306
|
I2t as d1,
|