fiboui 2.8.3 → 2.8.5

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/core.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C as e, E as t, N as r, a0 as i, Z as o, _ as n, U as l, F as u, I as c, M as S, T as p, O as g, h as b, w as T, P as v, R as E, x as d, y as C, S as R, a2 as F, l as I, k as f, c as m, b as y, a as O, Y as P, Q as x, W as M, g as N, V as _, X as w, K as A, L as B, i as L, $ as V, J as h, o as q, H as z, r as G, z as K, s as W, G as X, A as j, D as k, B as D, a1 as H, f as J, q as Q, e as U, t as Y, j as Z, d as $, v as ss, u as as, n as es, p as ts, m as rs } from "./client-8KCOzRhg.js";
2
- import { L as os, c as ns, b as ls, a as us, e as cs, l as Ss, p as ps, w as gs } from "./page-FXW2hz2C.js";
1
+ import { C as e, E as t, X as r, a6 as i, a3 as o, a4 as n, _ as l, F as u, T as S, L as c, Q as p, Z as g, O as T, n as b, B as v, P as F, R as E, D as d, G as C, S as R, a8 as f, t as m, q as I, d as P, c as y, b as O, a as x, a2 as M, Y as N, e as _, f as w, a0 as A, g as B, $ as V, a1 as D, V as L, W as U, i as h, l as q, a5 as z, U as G, o as K, h as W, N as X, r as j, H as k, s as H, M as J, I as Q, K as Y, J as Z, a7 as $, m as ss, y as as, k as es, z as ts, p as rs, j as is, A as os, u as ns, w as ls, x as us, v as Ss } from "./client-BzMPiV64.js";
2
+ import { F as ps, P as gs, T as Ts, U as bs, a as vs, c as Fs, p as Es, w as ds } from "./page-CHjFSSAF.js";
3
3
  export {
4
4
  e as ComputedSignal,
5
5
  t as Easing,
@@ -9,61 +9,67 @@ export {
9
9
  n as FiboAppBuilder,
10
10
  l as FiboStyles,
11
11
  u as FineGrainText,
12
- c as INTERACTION_EFFECTS,
13
- os as ListSignal,
14
- S as MOTION_PRESETS,
15
- p as MotionStyles,
16
- g as Observable,
12
+ ps as Format,
13
+ S as INTERACTION_EFFECTS,
14
+ c as ListSignal,
15
+ p as MOTION_PRESETS,
16
+ g as MotionStyles,
17
+ T as Observable,
17
18
  b as Observer,
18
- T as Presence,
19
- v as ProviderWrapper,
19
+ gs as Plural,
20
+ v as Presence,
21
+ F as ProviderWrapper,
20
22
  E as ReactivityRoot,
21
23
  d as Reveal,
22
24
  C as ScrollProgress,
23
25
  R as Signal,
24
- F as ValueBuilder,
25
- I as applyResponsiveStyles,
26
- f as bindText,
27
- ns as collection,
28
- m as computed,
29
- ls as createPage,
30
- y as createReactivityRoot,
31
- O as createStore,
32
- us as cssCurve,
33
- P as endSsrRequest,
34
- x as ensureInteractionFxCss,
35
- cs as ensureListId,
36
- M as getCss,
37
- N as getCurrentScope,
38
- _ as getMotionCss,
39
- w as getStyleTag,
40
- A as interactionEffectClass,
41
- B as interactionEffectKebab,
42
- L as interp,
43
- Ss as listSignal,
44
- V as mount,
45
- h as normalizeInteractionEffect,
46
- q as observable,
47
- ps as page,
48
- z as resolveCssEase,
49
- G as runInScope,
50
- K as scrollTo,
51
- W as signal,
52
- X as springEase,
53
- j as startViewTransition,
54
- k as supportsScrollTimeline,
55
- D as supportsViewTimeline,
56
- H as toElement,
57
- J as useBuilderState,
58
- Q as useMountTransition,
59
- U as useObservable,
60
- Y as usePrefersReducedMotion,
61
- Z as useProvider,
62
- $ as useReactiveStore,
63
- ss as useScrollProgress,
64
- as as useSignal,
65
- es as useSpring,
66
- ts as useStagger,
67
- rs as useTransition,
68
- gs as withFiboStyles
26
+ Ts as Transform,
27
+ bs as Unit,
28
+ f as ValueBuilder,
29
+ m as applyResponsiveStyles,
30
+ I as bindText,
31
+ P as collection,
32
+ y as computed,
33
+ vs as createPage,
34
+ O as createReactivityRoot,
35
+ x as createStore,
36
+ Fs as cssCurve,
37
+ M as endSsrRequest,
38
+ N as ensureInteractionFxCss,
39
+ _ as ensureListId,
40
+ w as fiboDevStats,
41
+ A as getCss,
42
+ B as getCurrentScope,
43
+ V as getMotionCss,
44
+ D as getStyleTag,
45
+ L as interactionEffectClass,
46
+ U as interactionEffectKebab,
47
+ h as interp,
48
+ q as listSignal,
49
+ z as mount,
50
+ G as normalizeInteractionEffect,
51
+ K as observable,
52
+ Es as page,
53
+ W as resetFiboDevStats,
54
+ X as resolveCssEase,
55
+ j as runInScope,
56
+ k as scrollTo,
57
+ H as signal,
58
+ J as springEase,
59
+ Q as startViewTransition,
60
+ Y as supportsScrollTimeline,
61
+ Z as supportsViewTimeline,
62
+ $ as toElement,
63
+ ss as useBuilderState,
64
+ as as useMountTransition,
65
+ es as useObservable,
66
+ ts as usePrefersReducedMotion,
67
+ rs as useProvider,
68
+ is as useReactiveStore,
69
+ os as useScrollProgress,
70
+ ns as useSignal,
71
+ ls as useSpring,
72
+ us as useStagger,
73
+ Ss as useTransition,
74
+ ds as withFiboStyles
69
75
  };
@@ -2,7 +2,7 @@ var L = Object.defineProperty;
2
2
  var R = (t, r, e) => r in t ? L(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
3
3
  var i = (t, r, e) => R(t, typeof r != "symbol" ? r + "" : r, e);
4
4
  import h from "react";
5
- import { aT as C, aU as E, au as y, b5 as I, a3 as j, a8 as H, aX as W, a_ as M, aY as D } from "./client-8KCOzRhg.js";
5
+ import { aZ as C, a_ as E, aA as y, b7 as I, a9 as j, ae as H, b1 as W, b4 as M, b2 as D } from "./client-BzMPiV64.js";
6
6
  import { jsx as s, jsxs as v } from "react/jsx-runtime";
7
7
  function $(t) {
8
8
  if (typeof t != "string") return "";
@@ -77,7 +77,7 @@ const V = ({ size: t }) => h.createElement(
77
77
  overflow: "visible"
78
78
  }).children([A, B]).build();
79
79
  });
80
- class T extends E {
80
+ class q extends E {
81
81
  constructor() {
82
82
  super(...arguments);
83
83
  i(this, "_image", "");
@@ -134,8 +134,8 @@ class T extends E {
134
134
  return h.createElement(U, e);
135
135
  }
136
136
  }
137
- const re = C(T);
138
- function q(t) {
137
+ const re = C(q);
138
+ function T(t) {
139
139
  return t === "success" || t === "warning" || t === "error" || t === "info" ? t : "none";
140
140
  }
141
141
  function P(t) {
@@ -145,7 +145,7 @@ function G(t) {
145
145
  return t === "pill" ? "pill" : "rounded";
146
146
  }
147
147
  const J = h.memo((t) => {
148
- const { text: r, icon: e, variant: u, intent: g, shape: d, className: b, style: p, ...x } = t, n = q(g), o = P(u), l = G(d), c = {
148
+ const { text: r, icon: e, variant: u, intent: g, shape: d, className: b, style: p, ...x } = t, n = T(g), o = P(u), l = G(d), c = {
149
149
  none: { bg: "#F9FAFB", text: "#6B7280", border: "#E5E7EB" },
150
150
  success: { bg: "#ECFDF5", text: "#059669", border: "transparent" },
151
151
  warning: { bg: "#FFFBEB", text: "#D97706", border: "transparent" },
@@ -261,11 +261,11 @@ function z(t, r) {
261
261
  function S(t) {
262
262
  return typeof t != "string" ? "" : W(t) ? D(t) : t;
263
263
  }
264
- const X = {
264
+ const Z = {
265
265
  circle: "50%",
266
266
  rounded: "8px",
267
267
  square: "0px"
268
- }, Y = h.memo((t) => {
268
+ }, K = h.memo((t) => {
269
269
  const {
270
270
  src: r,
271
271
  alt: e,
@@ -280,7 +280,7 @@ const X = {
280
280
  } = t, l = { ...n };
281
281
  if (u && (l.objectFit = u), b && (l.width = `${b}px`), p && (l.height = `${p}px`), g && (l.maxWidth = "100%", p || (l.height = "auto")), d === "circle" || d === "rounded" || d === "square") {
282
282
  const F = d;
283
- l.overflow = "hidden", l.borderRadius = X[F];
283
+ l.overflow = "hidden", l.borderRadius = Z[F];
284
284
  }
285
285
  const c = S(typeof r == "string" ? r : ""), _ = c && !I(c) ? c : void 0, a = S(typeof e == "string" ? e : "");
286
286
  return h.createElement("img", {
@@ -291,7 +291,7 @@ const X = {
291
291
  style: l
292
292
  });
293
293
  });
294
- class K extends E {
294
+ class Q extends E {
295
295
  constructor(e = "") {
296
296
  super();
297
297
  i(this, "_src", "");
@@ -345,10 +345,10 @@ class K extends E {
345
345
  className: u,
346
346
  style: g
347
347
  };
348
- return h.createElement(Y, d);
348
+ return h.createElement(K, d);
349
349
  }
350
350
  }
351
- const se = C(K), m = { "aria-hidden": !0, focusable: "false" }, oe = {
351
+ const se = C(Q), m = { "aria-hidden": !0, focusable: "false" }, oe = {
352
352
  Heart: /* @__PURE__ */ s("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...m, children: /* @__PURE__ */ s("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) }),
353
353
  Eth: /* @__PURE__ */ s("svg", { width: "14", height: "24", viewBox: "0 0 32 32", fill: "currentColor", ...m, children: /* @__PURE__ */ s("path", { d: "M15.925 23.96l-9.815-5.8 9.815 13.84 9.825-13.84-9.825 5.8zm0-23.96l-9.815 16.275 9.815 5.675 9.825-5.675-9.825-16.275zm0 20.3l-8.915-5.265 8.915-12.42 8.925 12.42-8.925 5.265z" }) }),
354
354
  Verify: /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "#3B82F6", stroke: "none", role: "img", "aria-label": "Verified", "aria-hidden": !1, focusable: "false", children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }) }),