@wix/himalaya-cli 0.1567.0 → 0.1569.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/l10n/src/index.d.ts +9 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/message-format.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/online-programs/src/index.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +191 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-online-programs.mjs +14 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
- package/dist/cli.mjs +20994 -20822
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/app-config.md +10 -0
- package/guides/app-icon.md +20 -1
- package/guides/himi-json-output.md +7 -0
- package/guides/importable-sdks.md +1 -0
- package/guides/one-app-to-himi-app.md +14 -0
- package/guides/release-notes.md +6 -0
- package/guides/sdk-reference.json +41 -2
- package/guides/splash-screens.md +156 -5
- package/package.json +2 -2
- package/templates/beauty-salon/config.ts +12 -1
- package/templates/beauty-salon/dev/index.ts +265 -0
- package/templates/beauty-salon/himalaya.content.json +3 -0
- package/templates/beauty-salon/splash.json +3 -0
- package/templates/beauty-salon/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/beauty-salon/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +13 -9
- package/templates/beauty-salon/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/beauty-salon-owner/config.ts +8 -0
- package/templates/beauty-salon-owner/dev/index.ts +1 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/beauty-salon-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/branded-lite/config.ts +12 -1
- package/templates/branded-lite/dev/index.ts +299 -2
- package/templates/branded-lite/himalaya.content.json +3 -0
- package/templates/branded-lite/splash.json +3 -0
- package/templates/branded-lite/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/branded-lite/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +13 -9
- package/templates/branded-lite/tier5-src/himi-branded-lite-group/index.ts +20 -3
- package/templates/branded-lite/tier5-src/himi-branded-lite-groups/index.ts +18 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +4 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +124 -15
- package/templates/branded-lite/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/branded-lite/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/brandy/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/community-club/config.ts +12 -1
- package/templates/community-club/dev/index.ts +267 -1
- package/templates/community-club/himalaya.content.json +3 -0
- package/templates/community-club/splash.json +3 -0
- package/templates/community-club/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/community-club/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/community-club/tier5-src/himi-branded-lite-group/index.ts +20 -3
- package/templates/community-club/tier5-src/himi-branded-lite-groups/index.ts +18 -2
- package/templates/community-club/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/community-club/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/community-club-owner/config.ts +8 -0
- package/templates/community-club-owner/dev/index.ts +1 -0
- package/templates/community-club-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/community-club-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/events-meetups/config.ts +12 -1
- package/templates/events-meetups/dev/index.ts +267 -1
- package/templates/events-meetups/himalaya.content.json +3 -0
- package/templates/events-meetups/splash.json +3 -0
- package/templates/events-meetups/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/events-meetups/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-group/index.ts +20 -3
- package/templates/events-meetups/tier5-src/himi-branded-lite-groups/index.ts +18 -2
- package/templates/events-meetups/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/events-meetups/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/events-meetups-owner/config.ts +8 -0
- package/templates/events-meetups-owner/dev/index.ts +1 -0
- package/templates/events-meetups-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/events-meetups-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/gym-fitness/config.ts +12 -1
- package/templates/gym-fitness/dev/index.ts +265 -0
- package/templates/gym-fitness/himalaya.content.json +3 -0
- package/templates/gym-fitness/splash.json +3 -0
- package/templates/gym-fitness/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/gym-fitness/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +13 -9
- package/templates/gym-fitness/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/gym-fitness-owner/config.ts +8 -0
- package/templates/gym-fitness-owner/dev/index.ts +1 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/gym-fitness-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/himi-chat/dev/index.ts +1 -0
- package/templates/himi-chat/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/nonprofit-cause/config.ts +12 -1
- package/templates/nonprofit-cause/dev/index.ts +267 -1
- package/templates/nonprofit-cause/himalaya.content.json +3 -0
- package/templates/nonprofit-cause/splash.json +3 -0
- package/templates/nonprofit-cause/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/nonprofit-cause/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group/index.ts +20 -3
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-groups/index.ts +18 -2
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/nonprofit-cause-owner/config.ts +8 -0
- package/templates/nonprofit-cause-owner/dev/index.ts +1 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/nonprofit-cause-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/owner-lite/config.ts +8 -0
- package/templates/owner-lite/dev/index.ts +1 -0
- package/templates/owner-lite/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/owner-lite/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/podcast-creator/config.ts +12 -1
- package/templates/podcast-creator/dev/index.ts +237 -0
- package/templates/podcast-creator/himalaya.content.json +3 -0
- package/templates/podcast-creator/splash.json +3 -0
- package/templates/podcast-creator/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/podcast-creator/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/podcast-creator-owner/config.ts +8 -0
- package/templates/podcast-creator-owner/dev/index.ts +1 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/podcast-creator-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/portfolio-creative/config.ts +12 -1
- package/templates/portfolio-creative/dev/index.ts +237 -0
- package/templates/portfolio-creative/himalaya.content.json +3 -0
- package/templates/portfolio-creative/splash.json +3 -0
- package/templates/portfolio-creative/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/portfolio-creative/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/portfolio-creative-owner/config.ts +8 -0
- package/templates/portfolio-creative-owner/dev/index.ts +1 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/portfolio-creative-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/restaurant/config.ts +12 -1
- package/templates/restaurant/dev/index.ts +237 -0
- package/templates/restaurant/himalaya.content.json +3 -0
- package/templates/restaurant/splash.json +3 -0
- package/templates/restaurant/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/restaurant/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/restaurant/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/restaurant-owner/config.ts +8 -0
- package/templates/restaurant-owner/dev/index.ts +1 -0
- package/templates/restaurant-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/restaurant-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/retail-store/config.ts +12 -1
- package/templates/retail-store/dev/index.ts +237 -0
- package/templates/retail-store/himalaya.content.json +3 -0
- package/templates/retail-store/splash.json +3 -0
- package/templates/retail-store/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/retail-store/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/retail-store/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/retail-store-owner/config.ts +8 -0
- package/templates/retail-store-owner/dev/index.ts +1 -0
- package/templates/retail-store-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/retail-store-owner/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/surface-showcase/dev/index.ts +1 -0
- package/templates/yoga-studio/config.ts +12 -1
- package/templates/yoga-studio/dev/index.ts +269 -1
- package/templates/yoga-studio/himalaya.content.json +3 -0
- package/templates/yoga-studio/splash.json +3 -0
- package/templates/yoga-studio/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/yoga-studio/tier5-src/_shared/rich-body.ts +44 -0
- package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +13 -9
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +124 -15
- package/templates/yoga-studio/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +4 -0
- package/templates/yoga-studio-owner/config.ts +8 -0
- package/templates/yoga-studio-owner/dev/index.ts +1 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/himi-copy.ts +17 -6
- package/templates/yoga-studio-owner/tier5-src/_shared/rich-body.ts +44 -0
|
Binary file
|
package/guides/app-config.md
CHANGED
|
@@ -79,6 +79,16 @@ your envelope + per-surface links), and `himi render <screen> --device mac|watch
|
|
|
79
79
|
|
|
80
80
|
## Splash (the launch moment)
|
|
81
81
|
|
|
82
|
+
**T5 Branded Lite apps:** when the existing exact screen registry contains
|
|
83
|
+
`himi_branded_splash`, its descriptor/worker owns the editable in-app appearance.
|
|
84
|
+
Read `himi docs splash-screens` before editing: change its `input.showIcon`, the
|
|
85
|
+
root background token and the gradient token's colours/stops/angle. CSS angles such
|
|
86
|
+
as 90 (horizontal) and 135 (diagonal) are supported by that T5 layer. Preserve the
|
|
87
|
+
native fallback and binary OS launch settings. Generated packages keep the descriptor
|
|
88
|
+
in `dev/index.ts` and the worker in `tier5-src/`. Do not assume an older native
|
|
89
|
+
host can mount a newly added screen. The following contract describes the native
|
|
90
|
+
fallback and legacy apps; it is not the T5 appearance editor.
|
|
91
|
+
|
|
82
92
|
`splash` is ONE declaration with TWO consumers, and only the second is OTA:
|
|
83
93
|
|
|
84
94
|
- **Build time** — `splash.backgroundColor` (a color TOKEN name, never a hex) generates the
|
package/guides/app-icon.md
CHANGED
|
@@ -26,6 +26,7 @@ it. Offer the customer the choice — it is their brand:
|
|
|
26
26
|
```sh
|
|
27
27
|
himi icon status # what would ship right now, and whether a store would take it
|
|
28
28
|
himi icon from-site --book .himi/business-book # the logo `himi site analyze` downloaded
|
|
29
|
+
himi icon from-one-app --evidence-dir .himi/one-app # the verified collected app's existing logo
|
|
29
30
|
himi icon set ./their-logo.png # a file the customer supplied
|
|
30
31
|
himi icon generate # a gradient tile + glyph, for a customer with no mark
|
|
31
32
|
himi icon glyphs # what `generate --glyph` accepts
|
|
@@ -44,10 +45,22 @@ nobody has said what the app is. So pick one with `--glyph` when you know
|
|
|
44
45
|
(`himi icon glyphs` lists them, `book` and `graduation` among them), and read the neutral
|
|
45
46
|
tile as what it is — a placeholder, still waiting for the customer's real mark.
|
|
46
47
|
|
|
47
|
-
`set`, `from-site` and `generate` all do the same finishing work: **trim** the art, centre
|
|
48
|
+
`set`, `from-site`, `from-one-app` and `generate` all do the same finishing work: **trim** the art, centre
|
|
48
49
|
it, **flatten it onto your app's accent colour**, write it as an exactly-1024 square with no
|
|
49
50
|
alpha channel, derive the 512 Play listing icon, and record it in `himalaya.content.json`.
|
|
50
51
|
|
|
52
|
+
Source images accept at most 16 MiB of encoded input and a 2048-square decoded canvas.
|
|
53
|
+
SVGs use density-bounded rasterization before normalization, under the same pixel cap.
|
|
54
|
+
Animated GIF/WebP marks use a composited poster with the most distinguishable artwork,
|
|
55
|
+
measured against one background reference for the animation. Review the resulting mark
|
|
56
|
+
against the source. Poster decoding accepts at most 256 frames, a 4-million-pixel canvas,
|
|
57
|
+
64 million total frame pixels and 16 MiB of encoded input; larger animations are refused
|
|
58
|
+
with advice to supply the existing static mark. Other multi-page formats retain their
|
|
59
|
+
first-page behavior. `from-one-app` requires the image toolchain before downloading or
|
|
60
|
+
replacing an icon, so it cannot report success without normalization and the Play rendition.
|
|
61
|
+
It checks both renditions in a scratch package before installing them; a rejected source
|
|
62
|
+
leaves the current master, Play icon and manifest unchanged.
|
|
63
|
+
|
|
51
64
|
**The declaration is the part people miss.** An off-repo package's icon is whatever
|
|
52
65
|
`himalaya.content.json` names:
|
|
53
66
|
|
|
@@ -62,6 +75,12 @@ declare is art nothing ships: the release bakes no icon, and a binary then falls
|
|
|
62
75
|
`himi icon` writes both halves, and `himi validate` / `push` / `dist` refuse a package whose
|
|
63
76
|
declared icon is missing.
|
|
64
77
|
|
|
78
|
+
Customer native builds copy the contract's prepared master into the iOS and Android
|
|
79
|
+
launcher resources. The shared Mac materializer resizes that same master into all ten
|
|
80
|
+
`AppIcon.appiconset` renditions and writes their catalog metadata; it preserves the source
|
|
81
|
+
artwork. A platform-only preparation writes only that platform's native tree. Existing
|
|
82
|
+
binaries need rebuilding to pick up a changed launcher icon.
|
|
83
|
+
|
|
65
84
|
## What each store wants
|
|
66
85
|
|
|
67
86
|
The two specs **conflict**, so these are two derived files and neither can serve both:
|
|
@@ -32,6 +32,13 @@ keeps its existing fields and adds the code:
|
|
|
32
32
|
}
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
## `himi icon from-one-app` codes
|
|
36
|
+
|
|
37
|
+
| Code | Meaning |
|
|
38
|
+
| --- | --- |
|
|
39
|
+
| `source_icon_unavailable` | Verified source evidence or its logo is missing, unreadable, unavailable, over the download/decoding budget, or cannot be normalized. |
|
|
40
|
+
| `source_icon_unusable` | The prepared source mark fails mechanical launcher/store checks. Existing icon files and metadata are left unchanged. |
|
|
41
|
+
|
|
35
42
|
## Push codes
|
|
36
43
|
|
|
37
44
|
| Code | Meaning |
|
|
@@ -39,6 +39,7 @@ package in one greppable file) or `GET /v1/sdk/<name>` over HTTP; in the CLI,
|
|
|
39
39
|
- `@himalaya/iap-checkout` — @wix/himalaya/iap-checkout — the ONE shared flow that sells a digital Wix item through the App Store, for any screen: a vertical order, its `appleIAP` cashier charge, mobile-apps-wix-iap's payment, the managed StoreKit purchase and the vertical's own access read.
|
|
40
40
|
- `@himalaya/keyboard` — Tier-5 typed binding for the platform's keyboard capability.
|
|
41
41
|
- `@himalaya/kyber-api` — narrow Tier-5 binding for Kyber BO HTTP calls.
|
|
42
|
+
- `@himalaya/l10n` — synchronous app-catalog copy (SDK foundation; requires host integration).
|
|
42
43
|
- `@himalaya/live-activity` — Tier-5 typed binding to the platform's Live Activity capability.
|
|
43
44
|
- `@himalaya/local-db` — Tier-5 typed binding to the platform's local-database capability: a per-entity on-device store (EntityStore) + an offline WriteQueue, so a worker bundle can persist and query real data on device.
|
|
44
45
|
- `@himalaya/location` — Tier-5 typed binding for device location.
|
|
@@ -362,6 +362,20 @@ Rows cover source graph warnings and app-wide design values as well as routes an
|
|
|
362
362
|
controls. This is an inventory of migration obligations, not proof that their target
|
|
363
363
|
actions work.
|
|
364
364
|
|
|
365
|
+
Preserve the existing app mark after scaffolding: run `himi icon from-one-app
|
|
366
|
+
--content . --evidence-dir .himi/one-app`. This reads the hash-verified collected
|
|
367
|
+
`settings.logoImageUrl`, downloads that mark and uses the existing icon normalizer
|
|
368
|
+
to produce the opaque launcher master and Play listing icon. Animated marks use
|
|
369
|
+
their fullest composited frame within bounded decoding limits. It does not run
|
|
370
|
+
site analysis or generate new artwork. If the source mark is absent or unavailable,
|
|
371
|
+
keep that migration obligation unresolved; obtain the existing mark and use
|
|
372
|
+
`himi icon set <file>`. An already collected site's logo may be used with
|
|
373
|
+
`himi icon from-site --book <dir>` only when it is the intended source identity.
|
|
374
|
+
Run `himi icon check --content .` and visually compare the result with the source.
|
|
375
|
+
For a marked One App migration, `himi validate --strict` fails when the icon is
|
|
376
|
+
missing, still byte-identical to a bundled template, or its pixel checks cannot run. A passing mechanical check
|
|
377
|
+
cannot establish ownership of arbitrary custom artwork; compare the real mark too.
|
|
378
|
+
|
|
365
379
|
Map each row to a target screen and, for interactions or top-bar controls, a
|
|
366
380
|
target control. A `design` row is app-wide, so it needs no screen or control: it is
|
|
367
381
|
satisfied by the design check instead. Set its `status` to `supported`, `adapted`, `conditional`, or
|
package/guides/release-notes.md
CHANGED
|
@@ -14,6 +14,12 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## 2026-11-04
|
|
18
|
+
|
|
19
|
+
### Branded Lite & Owner Lite
|
|
20
|
+
|
|
21
|
+
- When you tap **Enrol** as a guest, signing in resumes enrollment automatically after refreshing your participation; cancelling sign-in stops it. This requires updated iOS/macOS/Android binaries containing the core runtime and Wix auth SDK, or updated web-host assets. OTA content alone does not add this support to older hosts; no supporting binary version is assigned yet. (#5126)
|
|
22
|
+
|
|
17
23
|
## 2026-11-02
|
|
18
24
|
|
|
19
25
|
### Getting started & the CLI
|
|
@@ -2903,6 +2903,37 @@
|
|
|
2903
2903
|
}
|
|
2904
2904
|
]
|
|
2905
2905
|
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "@himalaya/l10n",
|
|
2908
|
+
"source": "core/sdk/l10n/src/index.ts",
|
|
2909
|
+
"description": "synchronous app-catalog copy (SDK foundation; requires host integration).",
|
|
2910
|
+
"api": [
|
|
2911
|
+
{
|
|
2912
|
+
"name": "t",
|
|
2913
|
+
"kind": "function",
|
|
2914
|
+
"jsdoc": "/** Resolve app copy: active catalog, source catalog, then the key. Missing copy\n * stays visible. The host performs both lookups from resident data, without I/O.\n * Requires an l10n-capable host; the SDK foundation alone does not enable it. */",
|
|
2915
|
+
"decl": "export function t(key: string, args?: Record<string, string | number>): string;"
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
"name": "locale",
|
|
2919
|
+
"kind": "function",
|
|
2920
|
+
"jsdoc": "/** The app's active resolved locale, including any region subtag. */",
|
|
2921
|
+
"decl": "export function locale(): string;"
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
"name": "dir",
|
|
2925
|
+
"kind": "function",
|
|
2926
|
+
"jsdoc": "/** The active app locale's layout direction. */",
|
|
2927
|
+
"decl": "export function dir(): \"ltr\" | \"rtl\";"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"name": "version",
|
|
2931
|
+
"kind": "const",
|
|
2932
|
+
"jsdoc": "",
|
|
2933
|
+
"decl": "export const version = 1;"
|
|
2934
|
+
}
|
|
2935
|
+
]
|
|
2936
|
+
},
|
|
2906
2937
|
{
|
|
2907
2938
|
"name": "@himalaya/live-activity",
|
|
2908
2939
|
"source": "core/sdk/live-activity/src/index.ts",
|
|
@@ -24006,6 +24037,14 @@
|
|
|
24006
24037
|
"jsdoc": "",
|
|
24007
24038
|
"decl": "export interface WixQueryParticipantsResponse {\n participants?: WixParticipant[];\n pagingMetadata?: { count?: number; total?: number; hasNext?: boolean };\n}"
|
|
24008
24039
|
},
|
|
24040
|
+
{
|
|
24041
|
+
"name": "searchMemberParticipation",
|
|
24042
|
+
"kind": "function",
|
|
24043
|
+
"jsdoc": "/** Fresh member participation, matching Branded's member lookup (Search Participants).\n * Results are scoped by the caller's authorization; the worker also verifies returned identity.\n * @scope member\n */",
|
|
24044
|
+
"decl": "export function searchMemberParticipation(programId: string, memberId: string): Promise<WixQueryParticipantsResponse>;",
|
|
24045
|
+
"http": "POST /online-programs/v3/participants/search",
|
|
24046
|
+
"scope": "member"
|
|
24047
|
+
},
|
|
24009
24048
|
{
|
|
24010
24049
|
"name": "queryParticipants",
|
|
24011
24050
|
"kind": "function",
|
|
@@ -24040,8 +24079,8 @@
|
|
|
24040
24079
|
{
|
|
24041
24080
|
"name": "joinProgram",
|
|
24042
24081
|
"kind": "function",
|
|
24043
|
-
"jsdoc": "/**\n * Join as the signed-in member through Join Applications. Read the current\n * application first so an existing application is resumed without another create.\n * Approved paid applications prepare\n * SINGLE_PAYMENT and return the Wix Payments order as paymentPendingOptions.orderId.\n * mayPreparePayment rechecks the caller's checkout guard before creating that order.\n * @scope member\n */",
|
|
24044
|
-
"decl": "export async function joinProgram(programId: string, options?: { mayPreparePayment?: () => boolean }): Promise<WixJoinProgramResponse>;",
|
|
24082
|
+
"jsdoc": "/**\n * Join as the signed-in member through Join Applications. Read the current\n * application first so an existing application is resumed without another create.\n * Approved paid applications prepare\n * SINGLE_PAYMENT and return the Wix Payments order as paymentPendingOptions.orderId.\n * mayPreparePayment rechecks the caller's checkout guard before creating that order.\n * beforeWrite lets a resumed caller revalidate its confirmed member after asynchronous reads.\n * @scope member\n */",
|
|
24083
|
+
"decl": "export async function joinProgram(programId: string, options?: { mayPreparePayment?: () => boolean; beforeWrite?: () => Promise<void> }): Promise<WixJoinProgramResponse>;",
|
|
24045
24084
|
"scope": "member"
|
|
24046
24085
|
},
|
|
24047
24086
|
{
|
package/guides/splash-screens.md
CHANGED
|
@@ -364,13 +364,165 @@ Note that the `splash` accessibility id / `testTag` on some apps today belongs t
|
|
|
364
364
|
|
|
365
365
|
### Branded-lite logo and handoff
|
|
366
366
|
|
|
367
|
+
#### Branded-lite T5 splash (iOS, Android and macOS)
|
|
368
|
+
|
|
369
|
+
When `splash.enabled` is true, the standalone Branded Lite native hosts can render
|
|
370
|
+
`himi_branded_splash` above the existing native in-app splash. The system launch
|
|
371
|
+
screen stays binary-owned. After seeding and artwork readiness, the hosts mount
|
|
372
|
+
the T5 region first. Home mounts after the T5 presentation animation finishes, so
|
|
373
|
+
its startup work cannot consume the entrance animation's first frames
|
|
374
|
+
(JavaScriptCore on iOS and WebView construction/rendering on Android).
|
|
375
|
+
Dismissal then waits for Home's first content.
|
|
376
|
+
`maxHoldMs` always takes priority, including a missing or unresponsive worker.
|
|
377
|
+
A failed descriptor/bundle keeps the native fallback and releases the T5 wait.
|
|
378
|
+
The splash worker never marks Home ready.
|
|
379
|
+
|
|
380
|
+
On Android the OS exit provider stays above Compose until the native splash
|
|
381
|
+
has actually drawn. Composition alone is too early and can expose a blank icon gap.
|
|
382
|
+
The pre-draw keep condition is released at composition so this cannot deadlock drawing.
|
|
383
|
+
Before mounting the worker screens, the host awaits removal of the OS exit provider.
|
|
384
|
+
Otherwise WebView startup can block Android's splash transfer past its deadline and
|
|
385
|
+
trigger the default 20dp window-shift animation, even with identical icon bounds.
|
|
386
|
+
The wait ends immediately on removal, skips Activity recreation, and has a one-second
|
|
387
|
+
ceiling for launches with no system splash callback.
|
|
388
|
+
The native surface remains visible while the region loads and if its descriptor
|
|
389
|
+
or bundle fails. Set `splash.logoAsset: "branded_lite_app_icon"`, `logoWidth: 192`
|
|
390
|
+
and `minVisibleMs: 0` for an immediate native icon that matches Android's OS crop.
|
|
391
|
+
Once the worker is ready, the T5 screen paints its own opaque background and content.
|
|
392
|
+
The native artwork cannot leak through when T5 hides its icon. The native hosts
|
|
393
|
+
suppress the region's default spinner. The region tears its worker down on dismissal
|
|
394
|
+
and does not occupy a warm-worker pool slot. The standalone macOS host uses the
|
|
395
|
+
same T5 handoff. The web host keeps its existing startup surface and resolves the
|
|
396
|
+
`branded_lite_app_icon` alias through the current app's web icon URL; it does not
|
|
397
|
+
mount the native T5 handoff.
|
|
398
|
+
|
|
399
|
+
#### Editing from an agent or Containers
|
|
400
|
+
|
|
401
|
+
First check the app's screen registry. A T5-capable Branded Lite app contains the exact
|
|
402
|
+
`himi_branded_splash` descriptor and the `himi-branded-lite-splash` worker. For this app,
|
|
403
|
+
edit that descriptor and its referenced design tokens. Do not use the legacy native `splash`
|
|
404
|
+
block as the primary appearance editor: it controls the underlying native fallback.
|
|
405
|
+
Do not assume an older binary can mount a newly added T5 screen. Without the descriptor or
|
|
406
|
+
T5 host support, retain the legacy contract and state the required native upgrade.
|
|
407
|
+
|
|
408
|
+
In a generated content package, the descriptor lives in `SCREENS` in `dev/index.ts`.
|
|
409
|
+
Its editable contract is:
|
|
410
|
+
|
|
411
|
+
- `input.showIcon`: `true` shows the app icon; `false` fades it out. Preserve the existing
|
|
412
|
+
worker bindings, the 192-point native handoff icon, presentation marker and motion wiring.
|
|
413
|
+
- Root node `splash_t5`: `modifiers.background.token` names an opaque colour token.
|
|
414
|
+
- Node `splash_t5_gradient`: `modifiers.backgroundGradient.token` names a gradient in
|
|
415
|
+
`tokens.json`. Its `colors` are colour-token names; `angle` uses CSS degrees (`180`
|
|
416
|
+
top-to-bottom, `90` left-to-right, `135` diagonal); optional `locations` place its stops.
|
|
417
|
+
More than two colours are supported. Unlike the legacy native fallback, the T5 renderers
|
|
418
|
+
honour the gradient angle. Preserve light/dark token values that were not requested to change.
|
|
419
|
+
|
|
420
|
+
An orientation-only request changes the gradient angle, preserving the colours and icon.
|
|
421
|
+
An icon-visibility request changes `input.showIcon`, preserving background tokens. Keep
|
|
422
|
+
`splash.enabled: true` for the native host and preserve the native launch/fallback colour
|
|
423
|
+
and icon for ordinary T5 edits. In particular, hiding the T5 icon does not empty native
|
|
424
|
+
`logoAsset`: Android's OS launch icon stays in the binary and the T5 icon fades away at handoff.
|
|
425
|
+
A newly generated home-screen app icon is a different operation and still requires a native build.
|
|
426
|
+
Generated Branded Lite templates also include `splash.json` with an `iconUrl` field. Set it to
|
|
427
|
+
the app's approved public HTTPS image URL; AppSmith supplies the Plan's app icon when scaffolding
|
|
428
|
+
under the splash experiment. Each app owns this source. Publishing a later URL change updates
|
|
429
|
+
the T5 image without rebuilding or changing `config.ts` native splash settings. An empty URL
|
|
430
|
+
keeps the bundled fallback. In source apps, `splashAppearance.iconUrl` reads the same file.
|
|
431
|
+
The hosted icon uses the same `splash_t5_icon` circle and inner `splash_t5_icon_image` as the
|
|
432
|
+
bundled icon: a 192-point frame with the central two-thirds crop. The native hosts prewarm its URL
|
|
433
|
+
before presentation. Containers reads that same crop and size. Image fetch failure keeps the native
|
|
434
|
+
fallback within the boot deadline. Neither this source nor a T5 update changes the launcher
|
|
435
|
+
icon or the very first OS splash. Existing binaries require the T5 splash host to use it.
|
|
436
|
+
|
|
437
|
+
A custom T5 splash logo can use a public HTTPS Media Manager/generated-image URL without replacing
|
|
438
|
+
that home-screen icon. Source apps use `logoUrl` and `logoSize` (48–240 points) in `splashAppearance`.
|
|
439
|
+
The builder keeps the initial 192-point app icon as `splash_t5_handoff_icon`, then cross-fades to the
|
|
440
|
+
requested `splash_t5_icon` at the same centre. `input.customLogo: true` enables that worker path:
|
|
441
|
+
`customLogoHidden` starts true and changes to the inverse of `showIcon` on `present`, while
|
|
442
|
+
`iconHidden` hides the handoff icon. Keep the custom logo node while hidden so it can be restored.
|
|
443
|
+
In raw descriptors, update the custom Image and wrapper dimensions together, and preserve the
|
|
444
|
+
existing worker/motion wiring. Old splash workers need the matching content update.
|
|
445
|
+
|
|
446
|
+
`backgroundImageUrl` adds a full-canvas layer above the gradient. Use a VStack containing a
|
|
447
|
+
Spacer, with `fillMaxWidth: true` and `backgroundImagePath: "$service:splash.backgroundImageUrl"`.
|
|
448
|
+
The worker exposes `input.backgroundImageUrl` as that state field. This existing bound-background
|
|
449
|
+
renderer fills the canvas on iOS and Android. Do not size an Image with `onMeasure`, `$measure:`
|
|
450
|
+
or `widthPath`/`heightPath`: those size bindings are decode-only on native. Image > gradient >
|
|
451
|
+
colour remains the precedence. URLs must be public HTTPS without embedded credentials. The host
|
|
452
|
+
keeps native launch artwork visible until remote splash images are cached; failed artwork leaves
|
|
453
|
+
the native fallback within the original boot deadline. Neither URL changes the OS splash.
|
|
454
|
+
|
|
455
|
+
For a solid T5 background, use the root colour token and omit the gradient layer. When adding
|
|
456
|
+
one back, retain the existing fade transition and presentation marker's motion contract.
|
|
457
|
+
Build and validate the content package, inspect the built splash descriptor and referenced
|
|
458
|
+
gradient, then render `himi_branded_splash` in the requested colour scheme. Ship the change
|
|
459
|
+
through the normal authorized draft release so Containers reads the descriptor and tokens
|
|
460
|
+
from that same release. A chat acknowledgement alone is not evidence of an applied edit.
|
|
461
|
+
|
|
462
|
+
In source apps, edit `splashAppearance` in the splash descriptor builder:
|
|
463
|
+
|
|
464
|
+
```ts
|
|
465
|
+
export const splashAppearance: SplashAppearance = {
|
|
466
|
+
showIcon: false, // true shows the app icon; false fades it out
|
|
467
|
+
backgroundColor: "accentPrimary", // opaque fallback underneath the gradient
|
|
468
|
+
backgroundGradient: "brand", // key in tokens.json's gradients registry
|
|
469
|
+
// Optional: logoSize: 120, logoUrl: "https://static.wixstatic.com/media/logo.png",
|
|
470
|
+
// Optional: backgroundImageUrl: "https://static.wixstatic.com/media/background.jpg",
|
|
471
|
+
};
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
Remove `backgroundGradient` for a solid background. To change gradient colors, edit
|
|
475
|
+
the selected gradient's `colors` array in `tokens.json` (color token names), or add
|
|
476
|
+
a dedicated gradient there and select its name above. Use a dark gradient with
|
|
477
|
+
`textOnAccent` so the copy stays readable. The default is the `brand` gradient with
|
|
478
|
+
the icon visible. The visible icon keeps the native fallback's 192-point circle,
|
|
479
|
+
center and central-two-thirds crop. The copy stays in place when the icon hides.
|
|
480
|
+
|
|
481
|
+
The gradient fades in over the opaque solid color using the existing `appearSoft`
|
|
482
|
+
motion token (500 ms by default). Hiding the icon uses the same token for an
|
|
483
|
+
exit fade. The copy stays still. A small presentation marker appears after the
|
|
484
|
+
worker commits visibility and tells the host which motion to wait for. Once T5
|
|
485
|
+
is presented, the host cross-fades the entire native surface directly into the T5
|
|
486
|
+
appearance using the T5 motion duration (400 ms when none is specified). There is no
|
|
487
|
+
intermediate solid-color stage or icon disappearance. Both icons keep the same
|
|
488
|
+
192-point centre and crop; matching artwork stays steady, and changed artwork
|
|
489
|
+
cross-fades in place. Home starts after the background handoff so its worker boot
|
|
490
|
+
and first paint cannot cut across the animation. It then dismisses the splash
|
|
491
|
+
when its content is ready. The initial color
|
|
492
|
+
comes from the installed build's resources; the target appearance and motion
|
|
493
|
+
come from T5. This handoff requires one host build; subsequent T5 edits use OTA
|
|
494
|
+
content. The native cover cannot reappear during the final fade to Home.
|
|
495
|
+
Native Reduced Motion skips these fades and the
|
|
496
|
+
presentation wait. A solid-color splash has no gradient layer. These animations
|
|
497
|
+
can delay an otherwise-ready Home, but never extend the hard startup deadline.
|
|
498
|
+
|
|
499
|
+
These settings affect only the T5 layer. A new color or hidden icon becomes visible
|
|
500
|
+
at the single native-to-T5 handoff. They do not change Android's OS launch screen or
|
|
501
|
+
the native fallback; those keep their existing settings. The fallback can still be
|
|
502
|
+
configured separately through the existing `splash` app-config. Changing the OS
|
|
503
|
+
launch screen requires a native build.
|
|
504
|
+
|
|
505
|
+
The descriptor and its `himi-branded-lite-splash` worker
|
|
506
|
+
use existing components, tokens and `splash.title` / `splash.caption` copy keys. The
|
|
507
|
+
worker makes no network or native capability calls. The exact-screen seed includes
|
|
508
|
+
it for release/offline builds. Host integration requires one initial native build;
|
|
509
|
+
later appearance, token and worker changes use the ordinary app release/OTA path.
|
|
510
|
+
|
|
511
|
+
For local previews, enable `splash` through the local preview service's ephemeral
|
|
512
|
+
`PUT /v1/admin/app-config`. Preview alternate descriptors with
|
|
513
|
+
`PUT /v1/admin/screens/himi_branded_splash` and token changes with
|
|
514
|
+
`PUT /v1/admin/tokens`; these overrides are not saved. A temporary
|
|
515
|
+
`minVisibleMs: 2000` makes capture easier but adds a one-second native logo fade.
|
|
516
|
+
Run the phone `splash/startup.yaml` flows to check the handoff to navigation.
|
|
517
|
+
|
|
367
518
|
Use the baked branded-lite app icon as the in-app logo:
|
|
368
519
|
|
|
369
520
|
```ts
|
|
370
521
|
splash: { enabled: true, logoAsset: "branded_lite_app_icon", logoWidth: 192 }
|
|
371
522
|
```
|
|
372
523
|
|
|
373
|
-
Hide the logo on
|
|
524
|
+
Hide the logo on Android's OS and native fallback layers with an **explicit empty
|
|
525
|
+
string** (the T5 icon is controlled separately by `showIcon` above):
|
|
374
526
|
|
|
375
527
|
```ts
|
|
376
528
|
splash: { enabled: true, logoAsset: "" }
|
|
@@ -408,10 +560,9 @@ within the same deadline. Once dismissed, the iOS splash stays dismissed even if
|
|
|
408
560
|
OTA timing settings change. Branded-lite Android image splashes use translucent dark system-bar
|
|
409
561
|
scrims with light icons for legibility; color and gradient splashes remain full-bleed.
|
|
410
562
|
Web retains its current transitions and readiness.
|
|
411
|
-
The standalone branded-lite macOS shell
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
and iOS. macOS shell integration requires a separate change.
|
|
563
|
+
The standalone branded-lite macOS shell mounts the same T5 splash with its native fallback,
|
|
564
|
+
artwork readiness and bounded exit. AppKit has no OS launch splash. The shared artwork gate is
|
|
565
|
+
used by the iOS and Mac shells; the Android host warms the same URLs through its renderer cache.
|
|
415
566
|
|
|
416
567
|
Branded-lite builds expose the launcher artwork as the regular iOS image asset
|
|
417
568
|
`branded_lite_app_icon`, so the same logo configuration works on Android and iOS.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1569.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": "
|
|
74
|
+
"falconPackageHash": "666ab69b9997a9eb57284df9f6b9a084eea7adcc34322d3afa349a92"
|
|
75
75
|
}
|
|
@@ -52,6 +52,16 @@ export default defineApp({
|
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
designTokensPath: "./tokens.json",
|
|
55
|
+
// Native fallback; the T5 splash descriptor owns the editable launch appearance.
|
|
56
|
+
splash: {
|
|
57
|
+
"enabled": true,
|
|
58
|
+
"backgroundColor": "accentPrimary",
|
|
59
|
+
"logoAsset": "branded_lite_app_icon",
|
|
60
|
+
"logoWidth": 192,
|
|
61
|
+
"layout": "logoOnly",
|
|
62
|
+
"minVisibleMs": 0,
|
|
63
|
+
"maxHoldMs": 5000
|
|
64
|
+
},
|
|
55
65
|
navigation: {
|
|
56
66
|
"navKind": "responsive",
|
|
57
67
|
"scheme": "himalaya-__HIMI_APP_SLUG__",
|
|
@@ -321,7 +331,8 @@ export default defineApp({
|
|
|
321
331
|
"contextName",
|
|
322
332
|
"returnScreenId",
|
|
323
333
|
"returnId",
|
|
324
|
-
"returnChannelId"
|
|
334
|
+
"returnChannelId",
|
|
335
|
+
"authContinuation"
|
|
325
336
|
],
|
|
326
337
|
"parentScreenId": "himi_account",
|
|
327
338
|
"tabId": "profile"
|