@wix/himalaya-cli 0.2041.0 → 0.2043.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/sdk/ui/src/index.d.ts +1 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{56260b58e6121212773ef235543107cbc9e3e88b5a5c6720e921771318f25972.bin → bfa6093b86d3106ef891a717dc0da1b1c0d9d1a456259753c25398bbafbcef8e.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +1727 -1502
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/android-ux.md +5 -1
- package/guides/designing-himi-screens.md +6 -1
- package/guides/ios-ux.md +4 -1
- package/guides/release-notes.md +120 -0
- package/guides/sdk-reference.json +1 -1
- package/package.json +2 -2
|
Binary file
|
package/guides/android-ux.md
CHANGED
|
@@ -14,7 +14,11 @@ Material 3. Three things are native without any work from you, and you should no
|
|
|
14
14
|
system and predictive Back, the search bar, bottom sheets and dialogs.
|
|
15
15
|
- **Controls the renderer draws:** `Toggle` is a Material switch, `SegmentedControl` a
|
|
16
16
|
segmented button, `Picker`/`DatePicker`/`Menu`/`BottomSheet` the Material ones, and so is the
|
|
17
|
-
`alert` presentation
|
|
17
|
+
`alert` presentation: a Material 3 basic dialog (28 dp corners on `surfaceContainerHigh`, your
|
|
18
|
+
`surfaceElevated`; a `headlineSmall` title; text buttons together at the end, the cancel one
|
|
19
|
+
first, stacked with the cancel one last when the labels do not fit one row; a destructive label
|
|
20
|
+
in your `danger` colour). An alert with `icon: "success"` shows a 24 dp check above a centred
|
|
21
|
+
title. The `AlertDialog` component is only an inline preview, and draws the same dialog content.
|
|
18
22
|
- **Your type scale:** typography tokens are emitted in `sp` and follow the user's font scale.
|
|
19
23
|
|
|
20
24
|
One thing it **cannot** do: give Android a different layout from iPhone. Lists and cards draw the
|
|
@@ -397,7 +397,12 @@ action `{ actionId: "himi.open", presentation: "alert", args: { title, message,
|
|
|
397
397
|
confirmLabel, cancelLabel, confirmActionId } }` — or with `ui.alert` from a worker (up to three
|
|
398
398
|
`buttons` — "Save / Discard / Cancel" — with roles `default` / `cancel` / `destructive`;
|
|
399
399
|
`ui.alert({ buttons })` resolves `{ buttonId }`). The confirm button calls `confirmActionId`
|
|
400
|
-
directly, so the worker needs no "dialog open" flag.
|
|
400
|
+
directly, so the worker needs no "dialog open" flag. Each platform draws the alert natively: the
|
|
401
|
+
system alert on iOS and macOS, a Material 3 dialog on Android and the web (text buttons at the end,
|
|
402
|
+
the cancel one first; stacked, cancel last, when the labels do not fit). An authored button's id
|
|
403
|
+
`alert.<id>` is the same everywhere; the confirm/cancel pair is `alert.confirm` / `alert.cancel` on
|
|
404
|
+
iOS and Android and `alert-ok` / `alert-cancel` on the web. `icon: "success"` shows a
|
|
405
|
+
check on Android and the web only, so write a title that says what happened. The `AlertDialog` COMPONENT is only an inline
|
|
401
406
|
preview: it draws where you place it, like the `Snackbar` component, and never floats over the
|
|
402
407
|
screen. Never use it for a blocking decision, and never show it behind a flag to fake a dialog. Alerts share one slot: a second one replaces what
|
|
403
408
|
is up, and a second worker `ui.alert` rejects `ui_busy`. If your app can raise alerts from several places at
|
package/guides/ios-ux.md
CHANGED
|
@@ -14,7 +14,10 @@ native on iPhone without any work from you, and you should not redraw them:
|
|
|
14
14
|
swipe, the search field in the bar, sheets and alerts.
|
|
15
15
|
- **Controls the renderer draws:** `Toggle` is a `UISwitch`, `SegmentedControl` is a segmented
|
|
16
16
|
control, `Picker`/`DatePicker`/`Menu`/`BottomSheet` are the system ones, and so is the `alert`
|
|
17
|
-
presentation
|
|
17
|
+
presentation: the system alert (on macOS too), with the system's own look, button order and
|
|
18
|
+
VoiceOver handling. It has no icon: `icon: "success"` draws nothing on iOS and macOS, so the
|
|
19
|
+
title must say what happened. The `AlertDialog` component is only an inline preview: a static
|
|
20
|
+
look-alike of the system alert (watchOS and tvOS keep the token-styled card).
|
|
18
21
|
- **Your type scale:** typography tokens scale with Dynamic Type.
|
|
19
22
|
|
|
20
23
|
One thing it **cannot** do: give iPhone a different layout from Android. Lists and cards draw the
|
package/guides/release-notes.md
CHANGED
|
@@ -14,6 +14,76 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## 2026-12-02
|
|
18
|
+
|
|
19
|
+
### Getting started & the CLI
|
|
20
|
+
|
|
21
|
+
- **A migrated One App now keeps much more of what its sections showed.** A product review of a full migration found
|
|
22
|
+
sections that dropped controls and styling. `himi one-app` now carries them over:
|
|
23
|
+
- Repeater cards put their title and subtitle on the photo when the source does.
|
|
24
|
+
- The Home banner keeps its texts readable on the photo.
|
|
25
|
+
- Community groups keep their visibility label ("Public · 1 member"). They also keep Like and Comment, which open
|
|
26
|
+
the group to join when the source gates them.
|
|
27
|
+
- An online programs list shows a visitor its filters and Join.
|
|
28
|
+
- A services list keeps its search, each service's location, and an inline Book or Request button.
|
|
29
|
+
- Plan cards and member lists (with roles and highlights) match the source.
|
|
30
|
+
- A shop tile keeps its ribbon, such as "Best Seller", and screen readers read it.
|
|
31
|
+
- A Pages section keeps its heading, leading on iOS.
|
|
32
|
+
- A translated Groups section keeps its copy.
|
|
33
|
+
|
|
34
|
+
(#6895, #6896, #6898, #6899, #6900, #6903, #6905, #6906, #6907)
|
|
35
|
+
|
|
36
|
+
### Authoring screens
|
|
37
|
+
|
|
38
|
+
- **Alerts use each platform's own dialog.** `ui.alert`, the navigation `alert` verb and the `AlertDialog`
|
|
39
|
+
component now show the Material 3 dialog on Android and web, and the system alert on iOS and macOS, instead of
|
|
40
|
+
a card drawn from your tokens. Buttons keep their order and roles: a `destructive` button takes the error color
|
|
41
|
+
(system red on iOS). On Android and web the buttons sit in one row at the end and stack only when they do not
|
|
42
|
+
fit; the iOS and macOS alert puts two side by side and stacks three. Every
|
|
43
|
+
`alert.<id>` test id is kept, so your UI tests run unchanged. (#6574)
|
|
44
|
+
- **A pushed screen's top bar items show on macOS.** A screen opened by a push in the Mac app now draws its
|
|
45
|
+
`topBar.items` (Share, More Actions, a composed bar's trailing items) in the window toolbar, as its tab's first
|
|
46
|
+
screen does. Before, only the Back control showed there. (#6574)
|
|
47
|
+
|
|
48
|
+
### Logic, data & SDKs
|
|
49
|
+
|
|
50
|
+
- **`@himalaya/wix-stores`, `@himalaya/wix-ecom` and `@himalaya/wix-bookings` now cover much more of their Wix API.** 676
|
|
51
|
+
typed functions are added as namespaces beside the existing curated exports, which do not change. Each one was called
|
|
52
|
+
against the real Wix API with real data, or has a written reason why it cannot be. Some methods are still left out.
|
|
53
|
+
Where the identity that may call a function was observed, its documentation says so (`@scope`: owner, visitor or
|
|
54
|
+
member). Where it was not, the tag is absent and never guessed. `@himalaya/wix-pricing-plans` also gets namespaces,
|
|
55
|
+
and `@himalaya/wix-calendar` is new. (#6856)
|
|
56
|
+
|
|
57
|
+
### Shipping binaries
|
|
58
|
+
|
|
59
|
+
- **`himi dist --platform macos` builds your shell's native Mac app.** It is a third platform beside `ios` and
|
|
60
|
+
`android`. It builds the shell's Mac app with your release's contract, seed and icon, and returns a zip with one
|
|
61
|
+
`.app`. The run's install page shows a Mac download instead of a QR code. It works for shells with a Mac project:
|
|
62
|
+
Branded Lite, Owner Lite, game and Player. Another shell is refused with `macos_shell_unsupported`, and
|
|
63
|
+
`signing: "byo"` with `macos_unsigned`. The app is not notarized yet, so the first time, testers Control-click it
|
|
64
|
+
and choose Open. (#6847)
|
|
65
|
+
- **A `himi dist --shell game` binary now opens on your release's own splash colour and logo.** Before, every game
|
|
66
|
+
binary showed the sample's fixed blue launch screen with no logo, whatever the release declared. (#6876)
|
|
67
|
+
|
|
68
|
+
### Branded Lite & Owner Lite
|
|
69
|
+
|
|
70
|
+
- **Branded Lite's About screen is redesigned, and `himi site analyze --apply` now fills its text.** The top bar says
|
|
71
|
+
About, the app name is the title, and the business name shows under it only when it is different. Next come the
|
|
72
|
+
business's own About text, flat Privacy policy and Terms of use rows, and one version line. The text comes from the
|
|
73
|
+
new optional contract field `identity.about`: at most 1000 characters, with blank lines between paragraphs. When it
|
|
74
|
+
is empty, the tagline is shown instead. `himi site analyze --apply` writes it from the site's own About section.
|
|
75
|
+
The Support row is gone. In an app with no contact screen, Home's "Get in touch" and My Bookings' "Contact Us" now
|
|
76
|
+
open `identity.supportUrl` in the in-app browser, so they no longer lead nowhere. (#6891, #6892)
|
|
77
|
+
- **Owner Lite's widget shows what matters now across the whole business, and iOS adds Lock Screen widgets.** The Home
|
|
78
|
+
Screen widget on iOS and Android ranks bookings, store orders, upcoming events, and blog drafts and scheduled posts.
|
|
79
|
+
It shows the most urgent item as the headline, such as "Haircut · Maya" at 10:00, and the next two on a second line,
|
|
80
|
+
such as "2 requests · 3 orders". On iOS you can also place a circular, rectangular or inline Lock Screen widget.
|
|
81
|
+
These never show a client's name or an amount. (#6884)
|
|
82
|
+
- **You can set each Owner Lite widget you place to a focus.** On iOS and Android, the widget's edit or configure
|
|
83
|
+
screen offers What matters now (the default), Bookings, Orders, Events and Blog. A widget only ever shows its own
|
|
84
|
+
focus's data. When that area cannot be read, it says "Open Owner to see your business", never "All clear". When
|
|
85
|
+
you sign out or switch business, the widgets stop showing the previous business's focuses and data. (#6910)
|
|
86
|
+
|
|
17
87
|
## 2026-12-01
|
|
18
88
|
|
|
19
89
|
### Getting started & the CLI
|
|
@@ -29,6 +99,56 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
29
99
|
tested only in a runtime that isolates it. None exists yet, so `widgets test` refuses with `test_runtime_unavailable`
|
|
30
100
|
and widgets are skipped. The `--webview` and `--device` options are gone, and a WebView proof is no longer accepted.
|
|
31
101
|
Every `widgets` envelope and `coverage verify` print `widgetOutcomes: 1`. (#6854)
|
|
102
|
+
- **A migrated One App FAQ section keeps its category chips and View All.** It showed static category headings and no
|
|
103
|
+
View All, so some questions could not be reached from the section, and it could list fewer questions than the site
|
|
104
|
+
has. It now follows the FAQ module's own settings: an All chip with a count, one chip per category, the categories
|
|
105
|
+
the source turned off left out, and View All. (#6793)
|
|
106
|
+
- **`himi docs templates` tells your coding agent to choose a starter template by the app's core job, not its words.**
|
|
107
|
+
The guide is a step-by-step procedure: name the core job and main screens from `SPEC.md`, compare them with each
|
|
108
|
+
template's screens and purpose, use the site's installed Wix verticals as evidence, and fall back to `branded-lite`
|
|
109
|
+
or `owner-lite` only with a reason. `himi template recommend` is a shortlist, never the decision. To compare,
|
|
110
|
+
`himi template list` rows now carry a `screens` summary: the count, the tabs, and the template's own screens.
|
|
111
|
+
(#6544)
|
|
112
|
+
|
|
113
|
+
### Authoring screens
|
|
114
|
+
|
|
115
|
+
- **The launch splash now stays up until your first screen has painted.** The OS launch screen and the in-app splash
|
|
116
|
+
are now one still frame generated from your `splash` block: white in light mode, black in dark mode, with your app
|
|
117
|
+
icon. Your first screen loads under it from the seed, and the splash fades out once that screen has painted or shown
|
|
118
|
+
its error, so you no longer see a spinner or an empty Home in between. A Tier-5 splash stage is mounted only when
|
|
119
|
+
launch takes longer than 2 seconds, and its worker does not start otherwise. The new `splash.logoShape:
|
|
120
|
+
"roundedSquare"` shows the whole app icon with app-icon corners, the same on every surface. Branded Lite and its
|
|
121
|
+
templates use it. (#6514, #6852)
|
|
122
|
+
- **Three layouts now draw on Android, and the web, the way they draw on iOS.** In a row with a weighted child, an
|
|
123
|
+
unweighted sibling now gets its own natural width on Android. This covers a column holding a `Button`, `Toggle`,
|
|
124
|
+
`SegmentedControl` or `ProgressBar`, a `Card` around a `Button`, and an `aspectRatio` column. Before, the sibling
|
|
125
|
+
took space from the weighted child or was cut to half the row. A one-line `Text` (`maxLines: 1`) with
|
|
126
|
+
`minimumScaleFactor` now shrinks to fit on Android and the web, down to that factor, before it ends in "…".
|
|
127
|
+
The new opt-in Grid `layout: "stretch"` gives every cell its row's height on Android, so a tile that puts content
|
|
128
|
+
at its bottom lines up with a taller neighbour. (#6832, #6846, #6859)
|
|
129
|
+
|
|
130
|
+
### Validate & test
|
|
131
|
+
|
|
132
|
+
- **`himi test` flags a price or percentage that wraps onto two lines.** The new `value-wrap` layout cue catches a short
|
|
133
|
+
value such as `$1,250.00` or `15%` that breaks across lines in a narrow box. Nothing is clipped, but it no longer reads
|
|
134
|
+
as one number. Like the other cues, it is a review hint that never changes `ok` or the exit code. Fix the container,
|
|
135
|
+
and never round, hide or truncate the value. (#6840)
|
|
136
|
+
|
|
137
|
+
### Preview, push & release
|
|
138
|
+
|
|
139
|
+
- **In Himi Player on an iPad or a wide Mac window, the sidebar lists every row your app declares.** The Player built
|
|
140
|
+
its rail from the tabs and ignored `sidebar.items`, so a destination only the rail declares was missing. On a Mac, an
|
|
141
|
+
Owner template showed its drawer page as the sidebar, so Inbox and the assistant could not be reached. On an iPad,
|
|
142
|
+
Account was missing. A rail-only row now opens its own screen. (#6821, #6845)
|
|
143
|
+
|
|
144
|
+
### Branded Lite & Owner Lite
|
|
145
|
+
|
|
146
|
+
- **Every template's sign-in sheet shows the redesigned states.** `himi-professional-services`, `himi-brandy` and
|
|
147
|
+
`himi-bare-fashion` still had the old form: a "Please wait…" line, a generic "Required." and no "Pending approval"
|
|
148
|
+
panel. They now show a skeleton, field-level errors, and a "Pending approval" panel for a member who is waiting for
|
|
149
|
+
the owner. Bare Fashion also used to answer every failure with "Sign in failed. Try again." Now it puts a wrong
|
|
150
|
+
password under Password and an unknown email under Email, switches to Reset password when Wix reset the password,
|
|
151
|
+
and words offline, too-many-attempts and rate-limit errors for each action. (#6849)
|
|
32
152
|
|
|
33
153
|
## 2026-11-29
|
|
34
154
|
|
|
@@ -6787,7 +6787,7 @@
|
|
|
6787
6787
|
"name": "AlertOptions",
|
|
6788
6788
|
"kind": "interface",
|
|
6789
6789
|
"jsdoc": "",
|
|
6790
|
-
"decl": "export interface AlertOptions {\n /** Required — the native presenters drop alerts with an empty title. */\n title: string;\n message?: string;\n /** Confirm button label. Default \"Confirm\". */\n confirmLabel?: string;\n /** Cancel button label. OMIT for a single-button alert (no cancel button). */\n cancelLabel?: string;\n /** Style the confirm button with the `danger` token. A destructive confirm is not the\n * affirmative button: its `confirm.actionId` still runs, but without gesture credit. */\n destructive?: boolean;\n /** `\"success\"`: a green checkmark above the title
|
|
6790
|
+
"decl": "export interface AlertOptions {\n /** Required — the native presenters drop alerts with an empty title. */\n title: string;\n message?: string;\n /** Confirm button label. Default \"Confirm\". */\n confirmLabel?: string;\n /** Cancel button label. OMIT for a single-button alert (no cancel button). */\n cancelLabel?: string;\n /** Style the confirm button with the `danger` token. A destructive confirm is not the\n * affirmative button: its `confirm.actionId` still runs, but without gesture credit. */\n destructive?: boolean;\n /** `\"success\"`: a green checkmark above the title (Android, web; the iOS/macOS system alert has none). Confirm / cancel only. */\n icon?: AlertIcon;\n /** The affirmative button's ACTION. Pressing it runs `actionId` as a NEW invocation\n * with user-gesture origin (so an app service's `app.<svc>.<action>` may return `_nav` and\n * navigate — the \"Ready — View\" alert). `label` replaces `confirmLabel`. The id is checked when\n * you set it, against this worker: a `capability.<id>.*` needs `<id>` allowed, an `app.*` from a\n * screen worker needs `app_services` and an exported action, a `tier5.*` must be this worker's\n * own; anything else rejects (`action_not_allowed`). Cancel and dismissal run nothing. */\n confirm?: AlertConfirm;\n /** Up to three buttons, replacing the four options above; see `AlertButtonOptions`. */\n buttons?: AlertButtonOptions[];\n /** BI id (see `BiArg`). */\n id?: string;\n /** BI args (see `BiArg`). */\n args?: Record<string, BiArg>;\n}",
|
|
6791
6791
|
"verificationChecked": true
|
|
6792
6792
|
},
|
|
6793
6793
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2043.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": "6f01ba1d23f7d172b4ef8a2ae2071afeaefb893f1ec2bde58084dbd5"
|
|
86
86
|
}
|