@wix/himalaya-cli 0.1992.0 → 0.1994.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +4 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -2
- package/dist/browser-plane/assets.json +4 -4
- package/dist/browser-plane/preview-deferred/{fd6d85e53826b23cb80105d37082306472285d590f16347a03c78b9329cf72d9.bin → c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684.bin} +1 -1
- package/dist/browser-plane/sw.js +5 -5
- package/dist/cli.mjs +34 -28
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +8 -2
- package/package.json +2 -2
|
@@ -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 /**\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}"
|
|
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`. `\"stretch\"`: rows align as\n * `\"uniform\"`, and every cell is given its row's height (its tallest cell's): a cell whose content\n * can grow (a column with a Spacer) fills it, so content it packs at its end lines up with its\n * neighbours', as CSS grid's `align-items: stretch` draws it; one that cannot grow keeps its own\n * height. iOS's and web's uniform grids already draw a cell so; on Android only `\"stretch\"` does,\n * since asking every cell its height costs a measure pass. A cell that cannot answer (a lazy list,\n * a carousel) leaves its row uniform. A renderer that predates it draws `\"uniform\"`. */\n layout?: \"uniform\" | \"masonry\" | \"stretch\";\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",
|
|
@@ -382,8 +382,14 @@ export interface GridProps {
|
|
|
382
382
|
* column's running top is its offset while empty, else its last item's bottom + `spacing`;
|
|
383
383
|
* ties under 0.5pt go to the leading column). Unknown ⇒ `"uniform"`. `spacing` is both the
|
|
384
384
|
* column gap and the vertical gap between items in a column; omitted, it is 12 on every
|
|
385
|
-
* renderer for masonry. Works with `items` and `itemsPath`.
|
|
386
|
-
|
|
385
|
+
* renderer for masonry. Works with `items` and `itemsPath`. `"stretch"`: rows align as
|
|
386
|
+
* `"uniform"`, and every cell is given its row's height (its tallest cell's): a cell whose content
|
|
387
|
+
* can grow (a column with a Spacer) fills it, so content it packs at its end lines up with its
|
|
388
|
+
* neighbours', as CSS grid's `align-items: stretch` draws it; one that cannot grow keeps its own
|
|
389
|
+
* height. iOS's and web's uniform grids already draw a cell so; on Android only `"stretch"` does,
|
|
390
|
+
* since asking every cell its height costs a measure pass. A cell that cannot answer (a lazy list,
|
|
391
|
+
* a carousel) leaves its row uniform. A renderer that predates it draws `"uniform"`. */
|
|
392
|
+
layout?: "uniform" | "masonry" | "stretch";
|
|
387
393
|
/** #5977 — masonry only: a top offset in points per column (index 0 = leading column), e.g.
|
|
388
394
|
* `[0, 24]` starts the second column 24pt lower. Missing entries ⇒ 0. */
|
|
389
395
|
columnOffsets?: number[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1994.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": "
|
|
85
|
+
"falconPackageHash": "e1e9a577acf7e306c3de65cf78c7ecea27be6db18769192430a98db7"
|
|
86
86
|
}
|