fiboui 2.4.0 → 2.4.2
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/README.md +1 -1
- package/dist/{FineGrain-BBvoBgWP.js → FineGrain-D7wH1QxC.js} +1 -1
- package/dist/{builder-FPfXLYM6.js → builder-CCVmfPD1.js} +415 -321
- package/dist/content.js +3 -3
- package/dist/core.js +3 -3
- package/dist/{index-kWLK5n5t.js → index-BK1AwJ9O.js} +1 -1
- package/dist/{index-y7-9rhRQ.js → index-BVpNTDKn.js} +2 -2
- package/dist/{index-BuatCnp7.js → index-Bdphg-MS.js} +1 -1
- package/dist/{index-DkH15EIF.js → index-CHXOPJU-.js} +3 -3
- package/dist/{index-3GitHTeZ.js → index-CVPzf0A9.js} +1 -1
- package/dist/{index-Cnox750A.js → index-Cb05sNOU.js} +4 -4
- package/dist/{index-ClppTuYv.js → index-R-gUALvW.js} +3 -3
- package/dist/index.d.ts +16 -0
- package/dist/index.js +17 -17
- package/dist/interactive.js +1 -1
- package/dist/layout.js +2 -2
- package/dist/{mount-Du-X9Dqn.js → mount-Dx2s-imU.js} +1 -1
- package/dist/structure.js +2 -2
- package/package.json +1 -1
package/dist/content.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { b as s, A as r, B as o, I as t, c as n, L as I, P as g, a as l, S as m } from "./index-
|
|
3
|
-
import { T as x } from "./index-
|
|
4
|
-
import { I as f } from "./index-
|
|
2
|
+
import { b as s, A as r, B as o, I as t, c as n, L as I, P as g, a as l, S as m } from "./index-Cb05sNOU.js";
|
|
3
|
+
import { T as x } from "./index-BVpNTDKn.js";
|
|
4
|
+
import { I as f } from "./index-BK1AwJ9O.js";
|
|
5
5
|
export {
|
|
6
6
|
s as Alert,
|
|
7
7
|
r as Avatar,
|
package/dist/core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as a, F as t, x as r, I as o, M as i, w as n, O as l, d as u, P as c, R as p, f as S, h as g, S as b, V as T, c as v, b as E, a as C, v as F, z as d, g as f, y as m, A as R, q as I, t as O, p as P, o as y, n as x, r as M, i as A, s as N, m as _, j as B, l as V, k as w, u as h, e as j } from "./builder-
|
|
3
|
-
import { E as z, l as q, F as G, k as K, P as W, c as X, j as D, m as H, t as J, g as L, b as Q, h as U, a as Y, i as Z, u as $, e as ss, f as es, d as as } from "./mount-
|
|
4
|
-
import { F as rs, b as os } from "./FineGrain-
|
|
2
|
+
import { C as a, F as t, x as r, I as o, M as i, w as n, O as l, d as u, P as c, R as p, f as S, h as g, S as b, V as T, c as v, b as E, a as C, v as F, z as d, g as f, y as m, A as R, q as I, t as O, p as P, o as y, n as x, r as M, i as A, s as N, m as _, j as B, l as V, k as w, u as h, e as j } from "./builder-CCVmfPD1.js";
|
|
3
|
+
import { E as z, l as q, F as G, k as K, P as W, c as X, j as D, m as H, t as J, g as L, b as Q, h as U, a as Y, i as Z, u as $, e as ss, f as es, d as as } from "./mount-Dx2s-imU.js";
|
|
4
|
+
import { F as rs, b as os } from "./FineGrain-D7wH1QxC.js";
|
|
5
5
|
export {
|
|
6
6
|
a as ComputedSignal,
|
|
7
7
|
z as Easing,
|
|
@@ -3,7 +3,7 @@ var m = Object.defineProperty;
|
|
|
3
3
|
var p = (e, t, s) => t in e ? m(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
4
4
|
var r = (e, t, s) => p(e, typeof t != "symbol" ? t + "" : t, s);
|
|
5
5
|
import o from "react";
|
|
6
|
-
import { B as a, D as u } from "./builder-
|
|
6
|
+
import { B as a, D as u } from "./builder-CCVmfPD1.js";
|
|
7
7
|
class g extends u {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
@@ -3,8 +3,8 @@ var f = Object.defineProperty;
|
|
|
3
3
|
var b = (i, e, t) => e in i ? f(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
4
4
|
var a = (i, e, t) => b(i, typeof e != "symbol" ? e + "" : e, t);
|
|
5
5
|
import o from "react";
|
|
6
|
-
import { B as c, D as x } from "./builder-
|
|
7
|
-
import { F as g } from "./FineGrain-
|
|
6
|
+
import { B as c, D as x } from "./builder-CCVmfPD1.js";
|
|
7
|
+
import { F as g } from "./FineGrain-D7wH1QxC.js";
|
|
8
8
|
const p = {
|
|
9
9
|
h1: {
|
|
10
10
|
fontSize: "var(--fibo-text-h1-size, 2.25rem)",
|
|
@@ -3,10 +3,10 @@ var oe = Object.defineProperty;
|
|
|
3
3
|
var le = (n, s, e) => s in n ? oe(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
|
|
4
4
|
var i = (n, s, e) => le(n, typeof s != "symbol" ? s + "" : s, e);
|
|
5
5
|
import t, { useState as D, useRef as L, useLayoutEffect as Q, useEffect as ce } from "react";
|
|
6
|
-
import { B as w, D as I, N as T, Q as Z } from "./builder-
|
|
7
|
-
import { B as C } from "./index-
|
|
6
|
+
import { B as w, D as I, N as T, Q as Z } from "./builder-CCVmfPD1.js";
|
|
7
|
+
import { B as C } from "./index-Bdphg-MS.js";
|
|
8
8
|
import { t as de } from "./bundle-mjs-wppB-TKB.js";
|
|
9
|
-
import { T as me } from "./index-
|
|
9
|
+
import { T as me } from "./index-BVpNTDKn.js";
|
|
10
10
|
const he = t.memo((n) => {
|
|
11
11
|
const { text: s, subtitle: e, number: r, color: d, className: p, style: c, children: u, ...g } = n;
|
|
12
12
|
return t.createElement(
|
|
@@ -3,7 +3,7 @@ var H = Object.defineProperty;
|
|
|
3
3
|
var O = (c, l, e) => l in c ? H(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e;
|
|
4
4
|
var r = (c, l, e) => O(c, typeof l != "symbol" ? l + "" : l, e);
|
|
5
5
|
import t, { useState as M, useEffect as j, useRef as F } from "react";
|
|
6
|
-
import { B as $, D, S as P } from "./builder-
|
|
6
|
+
import { B as $, D, S as P } from "./builder-CCVmfPD1.js";
|
|
7
7
|
import { t as L } from "./bundle-mjs-wppB-TKB.js";
|
|
8
8
|
const q = t.memo((c) => {
|
|
9
9
|
const {
|
|
@@ -3,10 +3,10 @@ var U = Object.defineProperty;
|
|
|
3
3
|
var G = (n, s, e) => s in n ? U(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
|
|
4
4
|
var r = (n, s, e) => G(n, typeof s != "symbol" ? s + "" : s, e);
|
|
5
5
|
import t from "react";
|
|
6
|
-
import { B as C, D as F } from "./builder-
|
|
7
|
-
import { B as j } from "./index-
|
|
8
|
-
import { T as O } from "./index-
|
|
9
|
-
import { R as J } from "./index-
|
|
6
|
+
import { B as C, D as F } from "./builder-CCVmfPD1.js";
|
|
7
|
+
import { B as j } from "./index-Bdphg-MS.js";
|
|
8
|
+
import { T as O } from "./index-BVpNTDKn.js";
|
|
9
|
+
import { R as J } from "./index-BK1AwJ9O.js";
|
|
10
10
|
import { jsxs as $, jsx as f } from "react/jsx-runtime";
|
|
11
11
|
const K = ({ size: n }) => t.createElement(
|
|
12
12
|
"svg",
|
|
@@ -3,10 +3,10 @@ var X = Object.defineProperty;
|
|
|
3
3
|
var q = (n, s, e) => s in n ? X(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
|
|
4
4
|
var r = (n, s, e) => q(n, typeof s != "symbol" ? s + "" : s, e);
|
|
5
5
|
import i, { useState as T, useRef as D, useLayoutEffect as G } from "react";
|
|
6
|
-
import { B as _, D as b, T as J, N as V, P as K } from "./builder-
|
|
6
|
+
import { B as _, D as b, T as J, N as V, P as K } from "./builder-CCVmfPD1.js";
|
|
7
7
|
import { P as W } from "./PluginManager-D5-ApsSN.js";
|
|
8
|
-
import { R as Q, I as U } from "./index-
|
|
9
|
-
import { T as ee } from "./index-
|
|
8
|
+
import { R as Q, I as U } from "./index-BK1AwJ9O.js";
|
|
9
|
+
import { T as ee } from "./index-BVpNTDKn.js";
|
|
10
10
|
import { e as te, L as ie } from "./Link-ElmaMZB8.js";
|
|
11
11
|
class se extends b {
|
|
12
12
|
build() {
|
package/dist/index.d.ts
CHANGED
|
@@ -631,6 +631,12 @@ declare abstract class FiboBuilder {
|
|
|
631
631
|
/** True while transition class was auto-managed for hover/effect presets (expandable). */
|
|
632
632
|
protected _autoEffectTransition: boolean;
|
|
633
633
|
protected _effectTransitionProps: string[];
|
|
634
|
+
/**
|
|
635
|
+
* When true, getStyle() promotes background/border shorthands to longhands and
|
|
636
|
+
* (optionally) stamps a resting translate3d so pseudo transforms ease cleanly.
|
|
637
|
+
*/
|
|
638
|
+
protected _smoothSurface: boolean;
|
|
639
|
+
protected _smoothNeedsRestTransform: boolean;
|
|
634
640
|
protected _motionClass?: string;
|
|
635
641
|
protected _staggerMs?: number;
|
|
636
642
|
protected _reveal?: {
|
|
@@ -867,6 +873,16 @@ declare abstract class FiboBuilder {
|
|
|
867
873
|
/** Default `:focus-visible` ring. Pass a callback to customize. */
|
|
868
874
|
focusRing(color?: string): this;
|
|
869
875
|
protected ensureInteractiveTransition(): void;
|
|
876
|
+
/**
|
|
877
|
+
* Prepare resting styles + transition so pseudo-state longhands (bg/border/transform)
|
|
878
|
+
* interpolate instead of snapping. Safe to call repeatedly from PseudoStateBuilder.
|
|
879
|
+
* @internal
|
|
880
|
+
*/
|
|
881
|
+
prepareSmoothInteraction(properties: string[]): void;
|
|
882
|
+
/** @internal Convert inline background/border shorthands → longhands. */
|
|
883
|
+
promoteSurfaceLonghands(): void;
|
|
884
|
+
/** @internal Stamp translate3d(0,0,0) when no resting transform exists. */
|
|
885
|
+
ensureRestTransform(): void;
|
|
870
886
|
/**
|
|
871
887
|
* Ensure the base element transitions the properties an interaction effect needs.
|
|
872
888
|
* Expands an auto-managed transition; no-ops if the caller set `.transition(...)`
|
package/dist/index.js
CHANGED
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
var re = Object.defineProperty;
|
|
3
3
|
var ie = (a, e, t) => e in a ? re(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
4
4
|
var d = (a, e, t) => ie(a, typeof e != "symbol" ? e + "" : e, t);
|
|
5
|
-
import { i as se, B as D, D as G, U as ne } from "./builder-
|
|
6
|
-
import { C as pr, X as mr, F as yr, W as gr, x as vr, I as br, M as wr, w as kr, O as xr, d as $r, P as Sr, R as Tr, f as Cr, h as Or, S as Mr, V as Er, c as Rr, b as Ir, a as Br, v as Fr, H as Lr, z as Pr, g as Nr, y as Wr, A as Ar, q as Hr, t as jr, p as zr, J as Dr, o as Gr, n as Vr, r as Yr, s as Xr, m as Ur, j as qr, l as Qr, k as Zr, Y as Jr, u as Kr, e as ti } from "./builder-
|
|
7
|
-
import { n as ae } from "./mount-
|
|
8
|
-
import { E as ri, l as ii, F as si, k as ni, P as ai, c as oi, j as li, m as ui, t as hi, g as ci, b as di, h as fi, a as _i, i as pi, u as mi, e as yi, f as gi, d as vi } from "./mount-
|
|
9
|
-
import { F as wi, b as ki } from "./FineGrain-
|
|
5
|
+
import { i as se, B as D, D as G, U as ne } from "./builder-CCVmfPD1.js";
|
|
6
|
+
import { C as pr, X as mr, F as yr, W as gr, x as vr, I as br, M as wr, w as kr, O as xr, d as $r, P as Sr, R as Tr, f as Cr, h as Or, S as Mr, V as Er, c as Rr, b as Ir, a as Br, v as Fr, H as Lr, z as Pr, g as Nr, y as Wr, A as Ar, q as Hr, t as jr, p as zr, J as Dr, o as Gr, n as Vr, r as Yr, s as Xr, m as Ur, j as qr, l as Qr, k as Zr, Y as Jr, u as Kr, e as ti } from "./builder-CCVmfPD1.js";
|
|
7
|
+
import { n as ae } from "./mount-Dx2s-imU.js";
|
|
8
|
+
import { E as ri, l as ii, F as si, k as ni, P as ai, c as oi, j as li, m as ui, t as hi, g as ci, b as di, h as fi, a as _i, i as pi, u as mi, e as yi, f as gi, d as vi } from "./mount-Dx2s-imU.js";
|
|
9
|
+
import { F as wi, b as ki } from "./FineGrain-D7wH1QxC.js";
|
|
10
10
|
import $, { useSyncExternalStore as oe } from "react";
|
|
11
11
|
import { P as $i } from "./PluginManager-D5-ApsSN.js";
|
|
12
12
|
import { F as Ti, u as Ci } from "./provider-Muljv62_.js";
|
|
13
13
|
import { F as Mi, a as Ei, c as Ri, e as Ii, m as Bi, n as Fi, r as Li, f as Pi, d as Ni, t as Wi, b as Ai, w as Hi } from "./themeData-CmTJt3dU.js";
|
|
14
|
-
import { S as X, a as H } from "./index-
|
|
15
|
-
import { C as zi, b as Di, D as Gi, H as Vi, L as Yi, c as Xi, e as Ui, d as qi, V as Qi, Z as Zi } from "./index-
|
|
16
|
-
import { R as z } from "./index-
|
|
17
|
-
import { I as Ki } from "./index-
|
|
18
|
-
import { B as st, d as j, A as le, I as ue } from "./index-
|
|
19
|
-
import { b as es, c as rs, L as is, P as ss, a as ns, S as as } from "./index-
|
|
20
|
-
import { T as O } from "./index-
|
|
21
|
-
import { B as Ot } from "./index-
|
|
22
|
-
import { C as ls, c as us, R as hs, b as cs, S as ds, T as fs, a as _s } from "./index-
|
|
23
|
-
import { B as R } from "./index-
|
|
24
|
-
import { C as J } from "./index-
|
|
25
|
-
import { B as ms, c as ys, G as gs, d as vs, L as bs, a as ws, T as ks, b as xs } from "./index-
|
|
14
|
+
import { S as X, a as H } from "./index-R-gUALvW.js";
|
|
15
|
+
import { C as zi, b as Di, D as Gi, H as Vi, L as Yi, c as Xi, e as Ui, d as qi, V as Qi, Z as Zi } from "./index-R-gUALvW.js";
|
|
16
|
+
import { R as z } from "./index-BK1AwJ9O.js";
|
|
17
|
+
import { I as Ki } from "./index-BK1AwJ9O.js";
|
|
18
|
+
import { B as st, d as j, A as le, I as ue } from "./index-Cb05sNOU.js";
|
|
19
|
+
import { b as es, c as rs, L as is, P as ss, a as ns, S as as } from "./index-Cb05sNOU.js";
|
|
20
|
+
import { T as O } from "./index-BVpNTDKn.js";
|
|
21
|
+
import { B as Ot } from "./index-CVPzf0A9.js";
|
|
22
|
+
import { C as ls, c as us, R as hs, b as cs, S as ds, T as fs, a as _s } from "./index-CVPzf0A9.js";
|
|
23
|
+
import { B as R } from "./index-Bdphg-MS.js";
|
|
24
|
+
import { C as J } from "./index-CHXOPJU-.js";
|
|
25
|
+
import { B as ms, c as ys, G as gs, d as vs, L as bs, a as ws, T as ks, b as xs } from "./index-CHXOPJU-.js";
|
|
26
26
|
import { R as Ss } from "./Router-BwbaHooU.js";
|
|
27
27
|
import { L as Cs, N as Os, c as Ms, a as Es, b as Rs, d as Is, u as Bs } from "./Link-ElmaMZB8.js";
|
|
28
28
|
async function De(a) {
|
package/dist/interactive.js
CHANGED
package/dist/layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as e, a as o, b as r, D as t, H as l, L as n, c, e as i, d as S, S as d, V as u, Z as C } from "./index-
|
|
3
|
-
import { R as m } from "./index-
|
|
2
|
+
import { C as e, a as o, b as r, D as t, H as l, L as n, c, e as i, d as S, S as d, V as u, Z as C } from "./index-R-gUALvW.js";
|
|
3
|
+
import { R as m } from "./index-BK1AwJ9O.js";
|
|
4
4
|
export {
|
|
5
5
|
e as Center,
|
|
6
6
|
o as Column,
|
|
@@ -3,7 +3,7 @@ var q = Object.defineProperty;
|
|
|
3
3
|
var I = (e, t, n) => t in e ? q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
4
|
var b = (e, t, n) => I(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
5
|
import h, { useCallback as R, useSyncExternalStore as E, memo as T, useState as w, useRef as _, useEffect as v, StrictMode as L } from "react";
|
|
6
|
-
import { n as k, S as F, B as H, H as $, J as j, D as z, R as x, K as N, P as D, L as W, N as J } from "./builder-
|
|
6
|
+
import { n as k, S as F, B as H, H as $, J as j, D as z, R as x, K as N, P as D, L as W, N as J } from "./builder-CCVmfPD1.js";
|
|
7
7
|
import { createRoot as C } from "react-dom/client";
|
|
8
8
|
import { P as K } from "./PluginManager-D5-ApsSN.js";
|
|
9
9
|
function Y(e) {
|
package/dist/structure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { B as e } from "./index-
|
|
3
|
-
import { B as i, C as o, c as t, G as l, d, L as B, a as T, T as m, b as n } from "./index-
|
|
2
|
+
import { B as e } from "./index-Bdphg-MS.js";
|
|
3
|
+
import { B as i, C as o, c as t, G as l, d, L as B, a as T, T as m, b as n } from "./index-CHXOPJU-.js";
|
|
4
4
|
export {
|
|
5
5
|
i as Banner,
|
|
6
6
|
e as Box,
|