fiboui 2.9.5 → 2.9.6
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-DspTEDnT.js} +959 -934
- package/dist/content.d.ts +9 -0
- package/dist/content.js +3 -3
- package/dist/core.d.ts +9 -0
- package/dist/core.js +2 -2
- package/dist/{icons-By9BFp7V.js → icons-uTGNZEj2.js} +1 -1
- package/dist/{index-D5c1VXlN.js → index-B7vkEz57.js} +4 -4
- package/dist/{index-BJnYb_kw.js → index-BK9NhRgp.js} +1 -1
- package/dist/{index-T8F37_p4.js → index-CE3dybe8.js} +1 -1
- package/dist/{index-BxYsYMal.js → index-pxNM6-DO.js} +2 -2
- package/dist/{index-C-hvMzQd.js → index-vSLH4ZkD.js} +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -10
- package/dist/interactive.d.ts +9 -0
- package/dist/interactive.js +2 -2
- package/dist/layout.d.ts +9 -0
- package/dist/layout.js +3 -3
- package/dist/{metadata-BffL-8b9.js → metadata-BqVnmMLq.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/{page-DbndR-7r.js → page-CQCVouvN.js} +1 -1
- package/dist/server.d.ts +9 -0
- package/dist/server.js +697 -672
- package/dist/structure.d.ts +9 -0
- package/dist/structure.js +2 -2
- package/dist/style.css +1 -1
- package/dist/theme.js +1 -1
- package/package.json +1 -1
package/dist/structure.d.ts
CHANGED
|
@@ -425,6 +425,12 @@ interface FrameSpec {
|
|
|
425
425
|
idealHeight?: FrameSize;
|
|
426
426
|
maxHeight?: FrameSize;
|
|
427
427
|
alignment?: StackAlign | keyof typeof StackAlign;
|
|
428
|
+
/**
|
|
429
|
+
* Stretch the direct child to the frame slot (`width/height: 100%`).
|
|
430
|
+
* Default `false` — SwiftUI-like hug + `alignment`.
|
|
431
|
+
* Use when paint (`.bg`, border) lives on the child and should fill the frame.
|
|
432
|
+
*/
|
|
433
|
+
fill?: boolean;
|
|
428
434
|
}
|
|
429
435
|
type ClipShapeName = "circle" | "rounded" | "square";
|
|
430
436
|
interface OffsetSpec {
|
|
@@ -828,9 +834,12 @@ declare abstract class FiboBuilder {
|
|
|
828
834
|
* maxHeight: Size.infinity,
|
|
829
835
|
* alignment: StackAlign.topTrailing,
|
|
830
836
|
* })
|
|
837
|
+
* // Child fills the slot (bg/border on the child cover the frame):
|
|
838
|
+
* Box().bg('red').frame({ maxWidth: Size.infinity, fill: true })
|
|
831
839
|
* ```
|
|
832
840
|
*
|
|
833
841
|
* Chainable: each `.frame()` wraps the previous (same as SwiftUI).
|
|
842
|
+
* Default: child hugs + `alignment`. Pass `fill: true` to stretch the child.
|
|
834
843
|
*/
|
|
835
844
|
frame(spec: FrameSpec): this;
|
|
836
845
|
/**
|
package/dist/structure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aF as r, aH as e, aG as o } from "./client-
|
|
2
|
-
import { A as C, B as d, C as i, c as l, d as n, G, b as T, L as f, P as m, T as p, a as x } from "./index-
|
|
1
|
+
import { aF as r, aH as e, aG as o } from "./client-DspTEDnT.js";
|
|
2
|
+
import { A as C, B as d, C as i, c as l, d as n, G, b as T, L as f, P as m, T as p, a as x } from "./index-B7vkEz57.js";
|
|
3
3
|
export {
|
|
4
4
|
C as AssetCard,
|
|
5
5
|
d as Banner,
|