@wix/himalaya-cli 0.1931.0 → 0.1933.0

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.
Binary file
@@ -16,7 +16,7 @@ with the `args` key they send (`onChange(value)`), and `+N` other optional props
16
16
  - **HStack** children!, +5
17
17
  - **ZStack** children!, +2
18
18
  - **LazyList** items!, onPullToRefresh, itemsPath$, scrollToItemPath$, onTopItemChange, +13
19
- - **Grid** items!, columns!, itemsPath$, onPullToRefresh, +8
19
+ - **Grid** items!, columns!, itemsPath$, onPullToRefresh, +9
20
20
  - **Card** children!, +5
21
21
  - **SplitView** primary!, detail!, +1
22
22
  - **Divider** –
@@ -51,7 +51,7 @@
51
51
  "bindings": [
52
52
  "itemsPath"
53
53
  ],
54
- "propsSource": "export interface GridProps {\n items: Component[];\n /** Base column count — used at compact width (<600) and as the fallback for\n * clients that don't understand the responsive overrides below. */\n columns: number;\n /** Responsive column overrides, resolved against the Grid's OWN\n * available width: `columnsMedium` at ≥600, `columnsExpanded` at ≥840. Each\n * falls back downward (expanded → medium → columns). Absent ⇒ the Grid keeps\n * `columns` at every width (back-compat). */\n columnsMedium?: number;\n columnsExpanded?: number;\n spacing?: number;\n /** `$service:`/`$item.` binding → a live array to render as grid cells (overrides `items`). */\n itemsPath?: string;\n /** Per-cell entrance delay (`index * staggerMs`), so a Grid whose cells carry\n * `transition`/`appear` cascades in instead of appearing all at once. Honored on every\n * renderer, on BOTH the static and `itemsPath` paths. The index is FLAT across the grid\n * (reading order), so the cascade runs down the diagonal rather than restarting on each\n * row. Reduced motion collapses it to 0. Absent/0 ⇒ no cascade, which is the back-compat\n * default. */\n staggerMs?: number;\n /** #4672 — pull-to-refresh, exactly as on `LazyList`: the screen's refresh gesture dispatches\n * this action (the shells find the first `onPullToRefresh` in the payload, list or grid). */\n onPullToRefresh?: Action;\n /** #4672 — infinite scroll, as on `LazyList`: `onLoadMore` fires once per published non-empty\n * `cursor` (usually a `$service:` binding) when the grid's trailing edge comes into view; a cursor\n * the worker publishes again (a refresh back to page 2) pages again. An empty cursor is\n * exhausted, and nothing fires. Works with `items` and `itemsPath`. */\n pagination?: Pagination;\n /** #5977 — `\"uniform\"` (default; rows align) | `\"masonry\"` (staggered: each item keeps its\n * own height and goes, in item order, into the column whose running top is lowest — a\n * column's running top is its offset while empty, else its last item's bottom + `spacing`;\n * ties under 0.5pt go to the leading column). Unknown ⇒ `\"uniform\"`. `spacing` is both the\n * column gap and the vertical gap between items in a column; omitted, it is 12 on every\n * renderer for masonry. Works with `items` and `itemsPath`. */\n layout?: \"uniform\" | \"masonry\";\n /** #5977 — masonry only: a top offset in points per column (index 0 = leading column), e.g.\n * `[0, 24]` starts the second column 24pt lower. Missing entries ⇒ 0. */\n columnOffsets?: number[];\n /** Adaptive columns: as many columns of at least this width (points) as fit the Grid's own width, `spacing` between\n * them, and no more columns than items (CSS `repeat(auto-fit, minmax(<min>px, 1fr))`). Overrides `columns`,\n * `columnsMedium` and `columnsExpanded` on a uniform grid; `0`/absent keeps them. A bound grid is not held to its\n * item count. */\n minColumnWidth?: number;\n}"
54
+ "propsSource": "export interface GridProps {\n items: Component[];\n /** Base column count — used at compact width (<600) and as the fallback for\n * clients that don't understand the responsive overrides below. */\n columns: number;\n /** Responsive column overrides, resolved against the Grid's OWN\n * available width: `columnsMedium` at ≥600, `columnsExpanded` at ≥840. Each\n * falls back downward (expanded → medium → columns). Absent ⇒ the Grid keeps\n * `columns` at every width (back-compat). */\n columnsMedium?: number;\n columnsExpanded?: number;\n spacing?: number;\n /** `$service:`/`$item.` binding → a live array to render as grid cells (overrides `items`). */\n itemsPath?: string;\n /** Per-cell entrance delay (`index * staggerMs`), so a Grid whose cells carry\n * `transition`/`appear` cascades in instead of appearing all at once. Honored on every\n * renderer, on BOTH the static and `itemsPath` paths. The index is FLAT across the grid\n * (reading order), so the cascade runs down the diagonal rather than restarting on each\n * row. Reduced motion collapses it to 0. Absent/0 ⇒ no cascade, which is the back-compat\n * default. */\n staggerMs?: number;\n /** #4672 — pull-to-refresh, exactly as on `LazyList`: the screen's refresh gesture dispatches\n * this action (the shells find the first `onPullToRefresh` in the payload, list or grid). */\n onPullToRefresh?: Action;\n /** #4672 — infinite scroll, as on `LazyList`: `onLoadMore` fires once per published non-empty\n * `cursor` (usually a `$service:` binding) when the grid's trailing edge comes into view; a cursor\n * the worker publishes again (a refresh back to page 2) pages again. An empty cursor is\n * exhausted, and nothing fires. Works with `items` and `itemsPath`. */\n pagination?: Pagination;\n /** #5977 — `\"uniform\"` (default; rows align) | `\"masonry\"` (staggered: each item keeps its\n * own height and goes, in item order, into the column whose running top is lowest — a\n * column's running top is its offset while empty, else its last item's bottom + `spacing`;\n * ties under 0.5pt go to the leading column). Unknown ⇒ `\"uniform\"`. `spacing` is both the\n * column gap and the vertical gap between items in a column; omitted, it is 12 on every\n * renderer for masonry. Works with `items` and `itemsPath`. */\n layout?: \"uniform\" | \"masonry\";\n /** #5977 — masonry only: a top offset in points per column (index 0 = leading column), e.g.\n * `[0, 24]` starts the second column 24pt lower. Missing entries ⇒ 0. */\n columnOffsets?: number[];\n /** Adaptive columns: as many columns of at least this width (points) as fit the Grid's own width, `spacing` between\n * them, and no more columns than items (CSS `repeat(auto-fit, minmax(<min>px, 1fr))`). Overrides `columns`,\n * `columnsMedium` and `columnsExpanded` on a uniform grid; `0`/absent keeps them. A bound grid is not held to its\n * item count. */\n minColumnWidth?: number;\n /**\n * The gap between rows of aligned cells, in points (`spacing` is then the gap between columns).\n * Unset: `spacing` for both. Masonry keeps `spacing`: its columns have no rows. An older binary\n * uses `spacing`.\n */\n rowSpacing?: number;\n}"
55
55
  },
56
56
  {
57
57
  "name": "Card",
@@ -392,6 +392,12 @@ export interface GridProps {
392
392
  * `columnsMedium` and `columnsExpanded` on a uniform grid; `0`/absent keeps them. A bound grid is not held to its
393
393
  * item count. */
394
394
  minColumnWidth?: number;
395
+ /**
396
+ * The gap between rows of aligned cells, in points (`spacing` is then the gap between columns).
397
+ * Unset: `spacing` for both. Masonry keeps `spacing`: its columns have no rows. An older binary
398
+ * uses `spacing`.
399
+ */
400
+ rowSpacing?: number;
395
401
  }
396
402
  ```
397
403
 
@@ -214,7 +214,7 @@ wiring, no new worker concepts, with the same contract on both containers. (One
214
214
  the iOS and Android `LazyList` still de-duplicate load-more by older per-renderer rules —
215
215
  #4891 moves them onto the rule below, which `Grid` and web already follow.) The rest of
216
216
  the list enrichments are **`LazyList` only**: `GridProps` declares `items`, `columns`,
217
- `columnsMedium`, `columnsExpanded`, `spacing`, `itemsPath`, `staggerMs`,
217
+ `columnsMedium`, `columnsExpanded`, `spacing`, `rowSpacing`, `itemsPath`, `staggerMs`,
218
218
  `layout`, `columnOffsets`, `minColumnWidth`, `onPullToRefresh` and `pagination`, and the native decoders drop
219
219
  anything else without a word. (`layout: "masonry"` staggers the cards: each keeps its own
220
220
  height and goes, in order, into the column whose running top is lowest (spacing 12 when
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1931.0",
3
+ "version": "0.1933.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "bcf22dd565e95e14345741481a45cd71fd6d7524507bb2f4fc39ed6e"
85
+ "falconPackageHash": "bc7c64a65b4715791498b9c59e34fa7a20c78a1ee8ec6aa38b825a85"
86
86
  }