fiboui 2.9.1 → 2.9.4
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-3NdKI2xE.js → client-lzMYg4vy.js} +4337 -4033
- package/dist/content.js +3 -3
- package/dist/core.js +2 -2
- package/dist/{icons-DS8J4SFk.js → icons-CirVDr1q.js} +1 -1
- package/dist/{index-BLEG6Nql.js → index-C_GtMcVT.js} +1 -1
- package/dist/{index-I-MXiId0.js → index-CtvQ20_N.js} +1 -1
- package/dist/{index-B6F3yf3H.js → index-D1oVA2Du.js} +2 -2
- package/dist/{index-FuD1J3Qo.js → index-DYFx4V14.js} +1 -1
- package/dist/{index-BaTO66yA.js → index-Dz8r4kWQ.js} +4 -4
- package/dist/index.d.ts +86 -7
- package/dist/index.js +966 -918
- package/dist/interactive.js +2 -2
- package/dist/layout.d.ts +15 -2
- package/dist/layout.js +3 -3
- package/dist/{metadata-B2MRlDTz.js → metadata-DPU8tP_P.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/{page-xwU8SnoZ.js → page-fKXx7Y-J.js} +1 -1
- package/dist/server.d.ts +15 -2
- package/dist/server.js +820 -812
- package/dist/structure.d.ts +22 -1
- 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
|
@@ -1377,6 +1377,7 @@ declare class ListItemStyleBuilder extends CssStyleStore {
|
|
|
1377
1377
|
style(extra: React$1.CSSProperties): this;
|
|
1378
1378
|
}
|
|
1379
1379
|
type ListVariant = "default" | "card" | "floating";
|
|
1380
|
+
type ListSeparator = boolean | FiboChild | ((index: number) => FiboChild);
|
|
1380
1381
|
declare class ListBuilder<T = any> extends FiboBuilder {
|
|
1381
1382
|
private _items;
|
|
1382
1383
|
/** Plain `signal(array)`. Read on each rebuild. */
|
|
@@ -1386,6 +1387,7 @@ declare class ListBuilder<T = any> extends FiboBuilder {
|
|
|
1386
1387
|
private _renderItem?;
|
|
1387
1388
|
private _onItemPress?;
|
|
1388
1389
|
private _variant;
|
|
1390
|
+
/** Flutter `ListView.separated` — see {@link ListBuilder.separator}. */
|
|
1389
1391
|
private _separator;
|
|
1390
1392
|
private _onEndReached?;
|
|
1391
1393
|
private _loading;
|
|
@@ -1446,7 +1448,26 @@ declare class ListBuilder<T = any> extends FiboBuilder {
|
|
|
1446
1448
|
*/
|
|
1447
1449
|
empty(content: FiboChild | (() => FiboChild)): this;
|
|
1448
1450
|
variant(variant: ListVariant): this;
|
|
1449
|
-
|
|
1451
|
+
/**
|
|
1452
|
+
* Flutter `ListView.separated` — paint a widget **between** rows only
|
|
1453
|
+
* (never before the first or after the last). The value itself is the build:
|
|
1454
|
+
*
|
|
1455
|
+
* ```ts
|
|
1456
|
+
* // default Material hairline (Divider)
|
|
1457
|
+
* List().items(rows).separator().renderItem(…)
|
|
1458
|
+
*
|
|
1459
|
+
* // fixed custom separator (any builder / node)
|
|
1460
|
+
* List().items(rows).separator(Divider().indent(16).color('#ccc'))
|
|
1461
|
+
* List().items(rows).separator(Text('·').alignX('center'))
|
|
1462
|
+
* List().items(rows).separator(Row().gap(8).children([Line(), Text('OR'), Line()]))
|
|
1463
|
+
*
|
|
1464
|
+
* // build each gap — index is 0 … itemCount-2
|
|
1465
|
+
* List().items(rows).separator((i) =>
|
|
1466
|
+
* i === 2 ? Text('Section') : Divider().indent(16)
|
|
1467
|
+
* )
|
|
1468
|
+
* ```
|
|
1469
|
+
*/
|
|
1470
|
+
separator(value?: ListSeparator): this;
|
|
1450
1471
|
onEndReached(handler: () => void): this;
|
|
1451
1472
|
loading(isLoading: boolean): this;
|
|
1452
1473
|
threshold(value: number): this;
|
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-lzMYg4vy.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-Dz8r4kWQ.js";
|
|
3
3
|
export {
|
|
4
4
|
C as AssetCard,
|
|
5
5
|
d as Banner,
|