@wix/himalaya-cli 0.1283.0 → 0.1284.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 +8 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +2 -2
- package/dist/cli.mjs +354 -325
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +4 -10
- package/guides/component-reference.md +6 -6
- package/package.json +2 -2
|
Binary file
|
|
@@ -106,17 +106,14 @@
|
|
|
106
106
|
"notImplemented": {
|
|
107
107
|
"props": [
|
|
108
108
|
"minimumScaleFactor",
|
|
109
|
-
"monospacedDigits",
|
|
110
109
|
"truncation"
|
|
111
110
|
],
|
|
112
111
|
"platforms": [
|
|
113
|
-
"ios",
|
|
114
|
-
"macos",
|
|
115
112
|
"android",
|
|
116
113
|
"web"
|
|
117
114
|
],
|
|
118
115
|
"severity": "styling",
|
|
119
|
-
"note": "
|
|
116
|
+
"note": "Compose 1.7.5 and web retain tail truncation and their existing text size. Monospaced digits work; Apple supports shrinking and head/middle truncation. React Native maps its native text API, with Android multiline ellipsis limited to tail."
|
|
120
117
|
},
|
|
121
118
|
"propsSource": "export type TextProps = TextContent & {\n /** Shrink-to-fit floor in (0, 1]; absent/invalid keeps the original size. */\n minimumScaleFactor?: number;\n monospacedDigits?: boolean;\n /** Unknown values use tail truncation. */\n truncation?: string;\n style?: TokenName;\n /** Foreground color token (default \"textPrimary\"). */\n color?: TokenName;\n /** Tail-truncate after N lines (absent = unlimited). */\n maxLines?: number;\n /** Lever D — a live time value (countdown/relative) the OS ticks with no refresh.\n * When present it OVERRIDES `text`. Widget-safe render only. */\n timeRef?: WidgetTimeRef;\n /** Render `text` as a constrained Markdown subset. */\n markdown?: boolean;\n /** Capability enrichments. */\n textAlign?: \"leading\" | \"center\" | \"trailing\" | \"justify\";\n /** Base writing direction. \"auto\" (or \"rtl\") makes a bidi paragraph resolve +\n * align by its own strong-directional content (Hebrew/Arabic → right-aligned,\n * RTL layout), matching per-message direction in chat bubbles. Absent/\"ltr\" =\n * the current left-to-right behavior. Both renderers honor it (parity). */\n textDirection?: \"auto\" | \"ltr\" | \"rtl\";\n decoration?: \"underline\" | \"strikethrough\";\n /** EXTRA SPACE BETWEEN LINES, in points/px — added ON TOP of the line height the `style`\n * token already sets. It is NOT a multiple: `lineSpacing: 6` means six points of extra\n * leading, not six times the font size, and every renderer agrees on that. To\n * change the line height as a ratio of the font size, set the typography token's `line`\n * instead; that is where a body style's 1.4/1.7 lives. Absent/0 = the token's own line\n * height, which is the right answer for almost every screen. */\n lineSpacing?: number;\n /** Per-item gate (usually an `$item.` field pre-substituted per row): when it\n * resolves empty, the text collapses to zero size instead of taking layout. */\n collapseWhenEmpty?: boolean;\n /** Motion grammar (Batch 1, item 4) — count-up tween for a numeric value on\n * change; non-numeric values render instantly. Gated by reduced motion. */\n animateValue?: boolean;\n /** Motion grammar — reveal the (post-substitution literal) text word-by-word,\n * once per distinct content, like a chat assistant \"typing\" its reply. Each\n * content animates a single time (progress is remembered), so list re-renders\n * and scrolls don't restart it. Gated by reduced motion (snaps to full).\n * Both renderers honor it (parity). Default nil/false. */\n animateReveal?: boolean;\n};"
|
|
122
119
|
},
|
|
@@ -140,17 +137,14 @@
|
|
|
140
137
|
"props": [
|
|
141
138
|
"renderingMode",
|
|
142
139
|
"weight",
|
|
143
|
-
"variableValue"
|
|
144
|
-
"effect"
|
|
140
|
+
"variableValue"
|
|
145
141
|
],
|
|
146
142
|
"platforms": [
|
|
147
|
-
"ios",
|
|
148
|
-
"macos",
|
|
149
143
|
"android",
|
|
150
144
|
"web"
|
|
151
145
|
],
|
|
152
146
|
"severity": "styling",
|
|
153
|
-
"note": "
|
|
147
|
+
"note": "Fixed catalog vectors have no SF layers, font-weight axis or variable fills. Bounce and pulse animate the whole glyph; variableColor remains static. React Native uses the same catalog fallback."
|
|
154
148
|
},
|
|
155
149
|
"propsSource": "export interface IconProps {\n name: IconRef;\n /** monochrome (default), hierarchical, palette, multicolor; unknown => default. */\n renderingMode?: string;\n weight?: string;\n variableValue?: number;\n /** none, bounce, pulse, variableColor; reduced motion suppresses effects. */\n effect?: string;\n size?: number;\n tint?: TokenName;\n /** The spoken name for a MEANINGFUL icon, mirroring\n * `ImageProps.contentDescription`. Absent (and with no enclosing labelled\n * control) the icon is decorative and stays OUT of the accessibility tree,\n * rather than being announced by its raw glyph name. */\n contentDescription?: string;\n}"
|
|
156
150
|
},
|
|
@@ -588,7 +582,7 @@
|
|
|
588
582
|
"category": "Rich text",
|
|
589
583
|
"propsType": "RichTextProps",
|
|
590
584
|
"bindings": [],
|
|
591
|
-
"propsSource": "export interface RichTextProps {\n /** Styled runs
|
|
585
|
+
"propsSource": "export interface RichTextProps {\n /** Styled runs and explicit run colors work on every renderer. */\n runs: TextRun[];\n}"
|
|
592
586
|
},
|
|
593
587
|
{
|
|
594
588
|
"name": "WebView",
|
|
@@ -118,15 +118,15 @@ See also **[Modifiers](#modifiers)** (the `modifiers` block) and **[Actions](#ac
|
|
|
118
118
|
|
|
119
119
|
These props are accepted by the schema and pass validation, but the named platform's renderer never reads them — they silently do nothing (no warning, no log). Prefer a prop NOT listed here, or drive the behaviour from a worker.
|
|
120
120
|
|
|
121
|
-
**Scope: 16 of 86 components, all of them
|
|
121
|
+
**Scope: 16 of 86 components, all of them android / web / ios-only** — every other component/platform pair reads every prop it decodes. The list splits in two, and the halves mean different things:
|
|
122
122
|
|
|
123
123
|
- **`category` (7: `Menu`, `Tooltip`, `Popover`, `ChipsInput`, `OtpInput`, `MediaPlayer`, `TimeGrid`)** — the prop changes the component's *kind*. These genuinely are **not implemented**: an overlay renders always-visible inline, so the component does not do the job its name implies. Check the row's note for a working alternative.
|
|
124
124
|
- **`styling` (9: `Text`, `Icon`, `Snackbar`, `Slider`, `SelectionControl`, `ActivityIndicator`, `Video`, `PdfView`, `Agenda`)** — the component itself **works**; only the listed prop is inert. `Slider` on iOS is a working slider whose `debounceMs` does not throttle — not a broken `Slider`. Use the component; just do not depend on that one prop.
|
|
125
125
|
|
|
126
126
|
| Component | Unread props | Platform | Kind | Note |
|
|
127
127
|
|---|---|---|---|---|
|
|
128
|
-
| `Text` | `minimumScaleFactor`, `
|
|
129
|
-
| `Icon` | `renderingMode`, `weight`, `variableValue
|
|
128
|
+
| `Text` | `minimumScaleFactor`, `truncation` | android, web | styling | Compose 1.7.5 and web retain tail truncation and their existing text size. Monospaced digits work; Apple supports shrinking and head/middle truncation. React Native maps its native text API, with Android multiline ellipsis limited to tail. |
|
|
129
|
+
| `Icon` | `renderingMode`, `weight`, `variableValue` | android, web | styling | Fixed catalog vectors have no SF layers, font-weight axis or variable fills. Bounce and pulse animate the whole glyph; variableColor remains static. React Native uses the same catalog fallback. |
|
|
130
130
|
| `Snackbar` | `durationMs` | ios, android, web | styling | The Snackbar component renders inline, so `durationMs` does nothing (the `snackbar` presentation verb is the working toast). |
|
|
131
131
|
| `Slider` | `debounceMs` | ios, web | styling | `debounceMs` does not throttle onChange. |
|
|
132
132
|
| `SelectionControl` | `groupId` | android, web | styling | Radios sharing a `groupId` are not mutually exclusive. |
|
|
@@ -456,7 +456,7 @@ export type TextProps = TextContent & {
|
|
|
456
456
|
};
|
|
457
457
|
```
|
|
458
458
|
|
|
459
|
-
> ⚠️ **Implemented, but these props are inert on
|
|
459
|
+
> ⚠️ **Implemented, but these props are inert on android, web:** `minimumScaleFactor`, `truncation` — Compose 1.7.5 and web retain tail truncation and their existing text size. Monospaced digits work; Apple supports shrinking and head/middle truncation. React Native maps its native text API, with Android multiline ellipsis limited to tail.
|
|
460
460
|
|
|
461
461
|
#### Image
|
|
462
462
|
|
|
@@ -511,7 +511,7 @@ export interface IconProps {
|
|
|
511
511
|
}
|
|
512
512
|
```
|
|
513
513
|
|
|
514
|
-
> ⚠️ **Implemented, but these props are inert on
|
|
514
|
+
> ⚠️ **Implemented, but these props are inert on android, web:** `renderingMode`, `weight`, `variableValue` — Fixed catalog vectors have no SF layers, font-weight axis or variable fills. Bounce and pulse animate the whole glyph; variableColor remains static. React Native uses the same catalog fallback.
|
|
515
515
|
|
|
516
516
|
#### Button
|
|
517
517
|
|
|
@@ -1162,7 +1162,7 @@ export interface AlertDialogProps {
|
|
|
1162
1162
|
|
|
1163
1163
|
```ts
|
|
1164
1164
|
export interface RichTextProps {
|
|
1165
|
-
/** Styled runs
|
|
1165
|
+
/** Styled runs and explicit run colors work on every renderer. */
|
|
1166
1166
|
runs: TextRun[];
|
|
1167
1167
|
}
|
|
1168
1168
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1284.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": [
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"artifactId": "himalaya-cli"
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
"falconPackageHash": "
|
|
73
|
+
"falconPackageHash": "93f6c878f8b38a53555c3a54b57614b44f22a2480c938345c1479c44"
|
|
74
74
|
}
|