@wix/himalaya-cli 0.1907.0 → 0.1909.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.
@@ -73,6 +73,8 @@ export interface TypographyOverride {
73
73
  line: number;
74
74
  family?: string;
75
75
  letterSpacing?: number;
76
+ /** As the tokens.json `TypographyToken.lineBox`: `"full"` keeps the text's whole line box. */
77
+ lineBox?: "full";
76
78
  }
77
79
  export interface ThemeOverrides {
78
80
  colors?: Record<string, string>;
@@ -273,6 +273,11 @@ export interface TypographyToken {
273
273
  * Absent → the renderer's default face. */
274
274
  family?: string;
275
275
  letterSpacing?: number;
276
+ /** `"full"`: the text lays out in its whole line box (`size × line`), half the leading above its first line and half
277
+ * below its last, as CSS does. Absent: the renderer's default, which on iOS and Android trims those two halves, so
278
+ * a one-line text is as tall as its font. Opt-in per role (a converted HTML widget's roles ask for it); the web
279
+ * always lays a line out so. */
280
+ lineBox?: "full";
276
281
  }
277
282
  /** The `family` sentinel for "this platform's system font" — SF Pro on iOS / macOS, Roboto on
278
283
  * Android, the browser's system UI stack on the web. Absent `family` cannot say this from an
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2801758
5
+ "bytes": 2802150
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 24320
22
22
  },
23
23
  {
24
- "name": "preview-deferred/f464127b9576c262b40f62561097e8e210ea6cf268ef67eaae167926f4f07ba3.bin",
24
+ "name": "preview-deferred/c228ec1d06aa1d1a56bb873943de8cfc443d28c221539998abad3ab00695791c.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-nXeYXx5p.js",
82
+ "key": "assets/pdf-N_hdrDMs.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "f464127b9576c262b40f62561097e8e210ea6cf268ef67eaae167926f4f07ba3",
85
- "file": "preview-deferred/f464127b9576c262b40f62561097e8e210ea6cf268ef67eaae167926f4f07ba3.bin"
84
+ "sha256": "c228ec1d06aa1d1a56bb873943de8cfc443d28c221539998abad3ab00695791c",
85
+ "file": "preview-deferred/c228ec1d06aa1d1a56bb873943de8cfc443d28c221539998abad3ab00695791c.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",