@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.
@@ -1877,8 +1877,10 @@ export declare function grid(props: {
1877
1877
  pageSize?: number;
1878
1878
  };
1879
1879
  /** #5977 — `"masonry"`: staggered columns; each item keeps its own height and goes, in
1880
- * item order, into the shortest column (ties leading). Default `"uniform"`. */
1881
- layout?: "uniform" | "masonry";
1880
+ * item order, into the shortest column (ties leading). `"stretch"`: uniform, and every cell is given its row's
1881
+ * height, so a cell that can grow (a column with a Spacer) packs its end level with its neighbours'. Default
1882
+ * `"uniform"`. */
1883
+ layout?: "uniform" | "masonry" | "stretch";
1882
1884
  /** #5977 — masonry only: top offset per column in points, e.g. `[0, 24]`. */
1883
1885
  columnOffsets?: number[];
1884
1886
  /** #4675 — the gap between rows of aligned cells (then `spacing` is the gap between columns); unset keeps
@@ -715,8 +715,14 @@ export interface GridProps {
715
715
  * column's running top is its offset while empty, else its last item's bottom + `spacing`;
716
716
  * ties under 0.5pt go to the leading column). Unknown ⇒ `"uniform"`. `spacing` is both the
717
717
  * column gap and the vertical gap between items in a column; omitted, it is 12 on every
718
- * renderer for masonry. Works with `items` and `itemsPath`. */
719
- layout?: "uniform" | "masonry";
718
+ * renderer for masonry. Works with `items` and `itemsPath`. `"stretch"`: rows align as
719
+ * `"uniform"`, and every cell is given its row's height (its tallest cell's): a cell whose content
720
+ * can grow (a column with a Spacer) fills it, so content it packs at its end lines up with its
721
+ * neighbours', as CSS grid's `align-items: stretch` draws it; one that cannot grow keeps its own
722
+ * height. iOS's and web's uniform grids already draw a cell so; on Android only `"stretch"` does,
723
+ * since asking every cell its height costs a measure pass. A cell that cannot answer (a lazy list,
724
+ * a carousel) leaves its row uniform. A renderer that predates it draws `"uniform"`. */
725
+ layout?: "uniform" | "masonry" | "stretch";
720
726
  /** #5977 — masonry only: a top offset in points per column (index 0 = leading column), e.g.
721
727
  * `[0, 24]` starts the second column 24pt lower. Missing entries ⇒ 0. */
722
728
  columnOffsets?: number[];
@@ -21,7 +21,7 @@
21
21
  "bytes": 24320
22
22
  },
23
23
  {
24
- "name": "preview-deferred/fd6d85e53826b23cb80105d37082306472285d590f16347a03c78b9329cf72d9.bin",
24
+ "name": "preview-deferred/c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-DOGBOjbw.js",
82
+ "key": "assets/pdf-CBB5-vQy.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "fd6d85e53826b23cb80105d37082306472285d590f16347a03c78b9329cf72d9",
85
- "file": "preview-deferred/fd6d85e53826b23cb80105d37082306472285d590f16347a03c78b9329cf72d9.bin"
84
+ "sha256": "c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684",
85
+ "file": "preview-deferred/c5078f43cc09f68f520bdcc966dac09b9005f22c16cc4eeac0ace1ae295cd684.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",