@wix/himalaya-cli 0.1415.0 → 0.1417.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
@@ -751,10 +751,10 @@
751
751
  "web"
752
752
  ],
753
753
  "severity": "category",
754
- "note": "`style` is ignored — `context`/`action_sheet` render as a dropdown. `itemsPath` does not bind items."
754
+ "note": "`style: \"action_sheet\"` renders as a dropdown. (`style: \"context\"` is honoured: it opens on a long-press, or right-click on web, with its `preview`.) `itemsPath` does not bind items."
755
755
  }
756
756
  ],
757
- "propsSource": "export interface MenuProps {\n anchor?: Component;\n items?: MenuItem[];\n style?: \"dropdown\" | \"context\" | \"action_sheet\";\n /** \"$service:\" binding → MenuItem[]. */\n itemsPath?: string;\n /** The overlay traps focus and hides the rest of the tree from AT while\n * presented (iOS `accessibilityViewIsModal`, Android `isTraversalGroup`, ARIA\n * `aria-modal`). TRI-STATE: absent takes the Menu's default — MODAL,\n * from the one shared overlay default table — and an explicit `false` opts out. */\n modal?: boolean;\n}"
757
+ "propsSource": "export interface MenuProps {\n anchor?: Component;\n items?: MenuItem[];\n style?: \"dropdown\" | \"context\" | \"action_sheet\";\n /** \"$service:\" binding → MenuItem[]. */\n itemsPath?: string;\n /** The overlay traps focus and hides the rest of the tree from AT while\n * presented (iOS `accessibilityViewIsModal`, Android `isTraversalGroup`, ARIA\n * `aria-modal`). TRI-STATE: absent takes the Menu's default — MODAL,\n * from the one shared overlay default table — and an explicit `false` opts out. */\n modal?: boolean;\n /** A preview lifted above the menu while a `style: \"context\"` menu is open (iOS\n * `.contextMenu(menuItems:preview:)`; Android and web draw it as a card over a scrim).\n * Absent ⇒ the anchor itself lifts. Ignored by the other styles. */\n preview?: Component;\n}"
758
758
  },
759
759
  {
760
760
  "name": "Tooltip",
@@ -132,7 +132,7 @@ These props are accepted by the schema and pass validation, but the named platfo
132
132
  | `SelectionControl` | `groupId` | android, web | styling | Radios sharing a `groupId` are not mutually exclusive. |
133
133
  | `ActivityIndicator` | `ring` | ios, android, web | styling | The `ring` style is never selected (determinate vs indeterminate follows `value`). |
134
134
  | `Menu` | `itemsPath` | ios | category | `itemsPath` does not bind items. |
135
- | `Menu` | `style`, `itemsPath` | android, web | category | `style` is ignored — `context`/`action_sheet` render as a dropdown. `itemsPath` does not bind items. |
135
+ | `Menu` | `style`, `itemsPath` | android, web | category | `style: "action_sheet"` renders as a dropdown. (`style: "context"` is honoured: it opens on a long-press, or right-click on web, with its `preview`.) `itemsPath` does not bind items. |
136
136
  | `Tooltip` | `edge`, `trigger`, `onDismiss` | ios, android, web | category | Not an overlay — renders always-expanded inline; `edge`, `trigger` and dismissal are inert. |
137
137
  | `Popover` | `edge` | ios | category | The bubble is drawn in flow under its anchor; `edge` placement is not implemented. |
138
138
  | `ChipsInput` | `onAdd` | ios, android | category | `onAdd` never dispatches. |
@@ -1363,12 +1363,16 @@ export interface MenuProps {
1363
1363
  * `aria-modal`). TRI-STATE: absent takes the Menu's default — MODAL,
1364
1364
  * from the one shared overlay default table — and an explicit `false` opts out. */
1365
1365
  modal?: boolean;
1366
+ /** A preview lifted above the menu while a `style: "context"` menu is open (iOS
1367
+ * `.contextMenu(menuItems:preview:)`; Android and web draw it as a card over a scrim).
1368
+ * Absent ⇒ the anchor itself lifts. Ignored by the other styles. */
1369
+ preview?: Component;
1366
1370
  }
1367
1371
  ```
1368
1372
 
1369
1373
  > ⚠️ **Not implemented on ios:** `itemsPath` — `itemsPath` does not bind items.
1370
1374
 
1371
- > ⚠️ **Not implemented on android, web:** `style`, `itemsPath` — `style` is ignored — `context`/`action_sheet` render as a dropdown. `itemsPath` does not bind items.
1375
+ > ⚠️ **Not implemented on android, web:** `style`, `itemsPath` — `style: "action_sheet"` renders as a dropdown. (`style: "context"` is honoured: it opens on a long-press, or right-click on web, with its `preview`.) `itemsPath` does not bind items.
1372
1376
 
1373
1377
  #### Tooltip
1374
1378
 
@@ -2764,6 +2768,14 @@ The verb decides what happens to the navigation stack. Where there is a target s
2764
2768
  | `alert` | Show an alert built from `args`: `title` (required), `message`, `confirmLabel`, `cancelLabel`, `destructive`, and `confirmActionId` / `cancelActionId` — the action each button runs, with this action's `params`. No `screenId`. |
2765
2769
  | `snackbar` | Show a transient message from `args`: `message` (required) and `tone`. No `screenId`. |
2766
2770
 
2771
+ An image viewer is the reserved action id `himi.lightbox`, not a `presentation` value:
2772
+ `{ "actionId": "himi.lightbox", "args": { "images": [...], "startIndex": 0 } }`. `images` (required) is
2773
+ a list of `{ url, alt?, caption? }` or bare urls, or one `$service:` / `$item.` binding to that list;
2774
+ `startIndex` is 0-based; `transitionId` is the tapped image's (carried for a later zoom from the
2775
+ source, today the viewer fades in). The viewer pages between the images, pinch- and double-tap-zooms, and
2776
+ closes on a downward drag. An older binary treats the id as an unhandled action, so the tap does nothing
2777
+ there rather than the screen failing to load.
2778
+
2767
2779
  A Close or Done button is a descriptor action: `{ "actionId": "himi.open", "presentation": "dismiss" }`
2768
2780
  (or `"back"`).
2769
2781
 
@@ -461,7 +461,10 @@ as `since` to read only what is new).
461
461
  There is no logging SDK to import: a worker's plain `console.log/info/warn/error` **is** the log
462
462
  channel, on every surface. In the web preview each line lands in the DEV panel's **Console** tab
463
463
  (with the worker's boot errors, failed actions and uncaught errors); on every surface it ships as a
464
- `worker_console` event that `himi logs` / `himi_logs` read back.
464
+ `worker_console` event that `himi logs` / `himi_logs` read back. The exception is a worker
465
+ running **on the wrist** (watchOS / Wear OS): its lines go to the device log instead — Console.app
466
+ `subsystem:com.himalaya.worker` on the watch, `adb logcat -s HimiWorker` on Wear — and never reach
467
+ `himi logs`.
465
468
 
466
469
  ```ts
467
470
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1415.0",
3
+ "version": "0.1417.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": [
@@ -71,5 +71,5 @@
71
71
  "artifactId": "himalaya-cli"
72
72
  }
73
73
  },
74
- "falconPackageHash": "1c990236c511b70b0b5fa3ae85a7c68fd66d800cf0480250dd0acbcb"
74
+ "falconPackageHash": "d943b50bc2cfd4762692ecc06955bc3cd63ce3a55f7bdd5a9a785062"
75
75
  }