fiboui 2.9.5 → 2.9.14
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/{client-Cc87LXic.js → client-CNrWulRU.js} +1742 -1638
- package/dist/content.d.ts +23 -1
- package/dist/content.js +10 -10
- package/dist/core.d.ts +41 -1
- package/dist/core.js +56 -54
- package/dist/{icons-By9BFp7V.js → icons-CUjbVN8n.js} +126 -112
- package/dist/{index-BJnYb_kw.js → index-BBa7p7cv.js} +6 -6
- package/dist/{index-T8F37_p4.js → index-Bcf-s8v0.js} +145 -138
- package/dist/{index-C-hvMzQd.js → index-COE2gXjP.js} +1 -1
- package/dist/{index-D5c1VXlN.js → index-CpUz5DNt.js} +39 -39
- package/dist/{index-BxYsYMal.js → index-Dm9qGQyL.js} +2 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +1303 -1170
- package/dist/interactive.d.ts +11 -0
- package/dist/interactive.js +6 -6
- package/dist/layout.d.ts +11 -0
- package/dist/layout.js +3 -3
- package/dist/{metadata-BffL-8b9.js → metadata-CElV09j3.js} +20 -20
- package/dist/navigation.js +2 -2
- package/dist/{page-DbndR-7r.js → page-LLSMLaL2.js} +81 -82
- package/dist/server.d.ts +11 -0
- package/dist/server.js +840 -802
- package/dist/structure.d.ts +11 -0
- package/dist/structure.js +8 -8
- package/dist/style.css +1 -1
- package/dist/theme.js +3 -3
- package/package.json +1 -1
package/dist/structure.d.ts
CHANGED
|
@@ -348,6 +348,8 @@ declare class PseudoStateBuilder {
|
|
|
348
348
|
translateY(value: number | string): this;
|
|
349
349
|
rotate(degrees: number): this;
|
|
350
350
|
shadow(value: string | number): this;
|
|
351
|
+
/** Same surface as `Box().css({})` — object bag or `(property, value)`. */
|
|
352
|
+
css(styles: React$1.CSSProperties): this;
|
|
351
353
|
css(property: string, value: string | number): this;
|
|
352
354
|
padding(value: string | number): this;
|
|
353
355
|
p(value: string | number): this;
|
|
@@ -425,6 +427,12 @@ interface FrameSpec {
|
|
|
425
427
|
idealHeight?: FrameSize;
|
|
426
428
|
maxHeight?: FrameSize;
|
|
427
429
|
alignment?: StackAlign | keyof typeof StackAlign;
|
|
430
|
+
/**
|
|
431
|
+
* Stretch the direct child to the frame slot (`width/height: 100%`).
|
|
432
|
+
* Default `false` — SwiftUI-like hug + `alignment`.
|
|
433
|
+
* Use when paint (`.bg`, border) lives on the child and should fill the frame.
|
|
434
|
+
*/
|
|
435
|
+
fill?: boolean;
|
|
428
436
|
}
|
|
429
437
|
type ClipShapeName = "circle" | "rounded" | "square";
|
|
430
438
|
interface OffsetSpec {
|
|
@@ -828,9 +836,12 @@ declare abstract class FiboBuilder {
|
|
|
828
836
|
* maxHeight: Size.infinity,
|
|
829
837
|
* alignment: StackAlign.topTrailing,
|
|
830
838
|
* })
|
|
839
|
+
* // Child fills the slot (bg/border on the child cover the frame):
|
|
840
|
+
* Box().bg('red').frame({ maxWidth: Size.infinity, fill: true })
|
|
831
841
|
* ```
|
|
832
842
|
*
|
|
833
843
|
* Chainable: each `.frame()` wraps the previous (same as SwiftUI).
|
|
844
|
+
* Default: child hugs + `alignment`. Pass `fill: true` to stretch the child.
|
|
834
845
|
*/
|
|
835
846
|
frame(spec: FrameSpec): this;
|
|
836
847
|
/**
|
package/dist/structure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as C, B as d, C as i, c as l, d as n, G, b as
|
|
1
|
+
import { aH as r, aJ as e, aI as o } from "./client-CNrWulRU.js";
|
|
2
|
+
import { A as C, B as d, C as i, c as l, d as n, G as T, b as f, L as m, P as p, T as x, a as B } from "./index-CpUz5DNt.js";
|
|
3
3
|
export {
|
|
4
4
|
C as AssetCard,
|
|
5
5
|
d as Banner,
|
|
@@ -8,11 +8,11 @@ export {
|
|
|
8
8
|
e as Collapse,
|
|
9
9
|
l as CollectionCard,
|
|
10
10
|
n as ContentCard,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
T as Grid,
|
|
12
|
+
f as GridItem,
|
|
13
13
|
o as List,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
m as ListTile,
|
|
15
|
+
p as ProfileCard,
|
|
16
|
+
x as Table,
|
|
17
|
+
B as Tags
|
|
18
18
|
};
|