@wix/himalaya-cli 0.1867.0 → 0.1868.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 +2 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +1 -44
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/overlapping-panel-header.d.ts +30 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +162 -144
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{4a8928bb82fc0db03269e14445bfc09155ceb3cde1f268162ac70b7ceb097b1f.bin → 606c83075130fbcd609b5aabaa1e6bac0bfb27bd362d1ce8eb5cbcb266e1f682.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +6176 -5816
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-index.md +1 -1
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +4 -0
- package/guides/designing-himi-screens.md +4 -0
- package/guides/one-app-to-himi-app.md +13 -7
- package/guides/one-app-viewer.md +3 -1
- package/guides/release-notes.md +13 -0
- package/guides/sdk-reference.json +0 -21
- package/package.json +2 -2
|
Binary file
|
|
@@ -66,7 +66,7 @@ with the `args` key they send (`onChange(value)`), and `+N` other optional props
|
|
|
66
66
|
|
|
67
67
|
- **Tabs** tabs!, selectedId!$, onChange(selectedId), optionsPath$, activeColorPath$, +1
|
|
68
68
|
- **SegmentedControl** options!, selectedId!$, onChange(selectedId), optionsPath$
|
|
69
|
-
- **Carousel** currentIndexPath$, items!, onChange, itemsPath$, +
|
|
69
|
+
- **Carousel** currentIndexPath$, items!, onChange, itemsPath$, +5
|
|
70
70
|
- **Pager** pages!, onChange, currentIndexPath$, pagesPath$, +3
|
|
71
71
|
- **StepIndicator** steps!, currentIndex!, +1
|
|
72
72
|
- **CollapsingHeader** title!, +7
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
"currentIndexPath",
|
|
525
525
|
"itemsPath"
|
|
526
526
|
],
|
|
527
|
-
"propsSource": "export interface CarouselProps {\n /** Opt-in paging for itemsPath; absent preserves the horizontal card rail. */\n paged?: boolean;\n /** #4673 — `$service:` path to the page index, two-way with `onChange`: a CHANGE of the resolved\n * value animates the carousel there (instantly under reduced motion); a swipe still fires\n * `onChange` with `args.index`, which the worker writes back. Out of range ⇒ clamped; not an\n * integer ⇒ ignored; equal to the current page ⇒ nothing; a move the binding made fires no\n * `onChange`. Drives literal `items` and `paged` bound ones; inside a bound row a substituted\n * literal places the page like `currentIndex`. A rail (`itemsPath` without `paged`) ignores it. */\n currentIndexPath?: string;\n items: Component[];\n currentIndex?: number;\n onChange?: Action;\n autoplayIntervalMs?: number;\n /** `$service:` binding → a live array to render as slides (overrides `items`). */\n itemsPath?: string;\n /** 0 (default) = all slides mounted; N ⇒ mount current ± N, unmount the rest. */\n liveWindow?: number;\n}"
|
|
527
|
+
"propsSource": "export interface CarouselProps {\n /** Opt-in paging for itemsPath; absent preserves the horizontal card rail. */\n paged?: boolean;\n /** #4673 — `$service:` path to the page index, two-way with `onChange`: a CHANGE of the resolved\n * value animates the carousel there (instantly under reduced motion); a swipe still fires\n * `onChange` with `args.index`, which the worker writes back. Out of range ⇒ clamped; not an\n * integer ⇒ ignored; equal to the current page ⇒ nothing; a move the binding made fires no\n * `onChange`. Drives literal `items` and `paged` bound ones; inside a bound row a substituted\n * literal places the page like `currentIndex`. A rail (`itemsPath` without `paged`) ignores it. */\n currentIndexPath?: string;\n items: Component[];\n currentIndex?: number;\n onChange?: Action;\n autoplayIntervalMs?: number;\n /** `$service:` binding → a live array to render as slides (overrides `items`). */\n itemsPath?: string;\n /** 0 (default) = all slides mounted; N ⇒ mount current ± N, unmount the rest. */\n liveWindow?: number;\n /** Page indicator: `\"auto\"` / absent (default) draws the dots; `\"hidden\"` draws none and\n * reserves no space, while paging stays accessible (VoiceOver adjustable, TalkBack position,\n * web keyboard + live position). Unknown ⇒ `\"auto\"`; an older binary keeps the dots. */\n indicator?: \"auto\" | \"hidden\";\n}"
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
"name": "Pager",
|
|
@@ -1150,6 +1150,10 @@ export interface CarouselProps {
|
|
|
1150
1150
|
itemsPath?: string;
|
|
1151
1151
|
/** 0 (default) = all slides mounted; N ⇒ mount current ± N, unmount the rest. */
|
|
1152
1152
|
liveWindow?: number;
|
|
1153
|
+
/** Page indicator: `"auto"` / absent (default) draws the dots; `"hidden"` draws none and
|
|
1154
|
+
* reserves no space, while paging stays accessible (VoiceOver adjustable, TalkBack position,
|
|
1155
|
+
* web keyboard + live position). Unknown ⇒ `"auto"`; an older binary keeps the dots. */
|
|
1156
|
+
indicator?: "auto" | "hidden";
|
|
1153
1157
|
}
|
|
1154
1158
|
```
|
|
1155
1159
|
|
|
@@ -303,6 +303,10 @@ at the screen's scroll root; a nested eager list is not an infinite-scroll imple
|
|
|
303
303
|
side padding, spacing or corner rounding; keep a fixed image height so swiping cannot move the
|
|
304
304
|
content below it. Bind `currentIndexPath` when selecting an option should select its image.
|
|
305
305
|
Omitting `paged` preserves existing horizontal card rails. Page indicators show only for multiple images.
|
|
306
|
+
`indicator: "hidden"` removes the page dots and the band they take (for a cover that slides under
|
|
307
|
+
an overlapping panel); paging stays accessible (VoiceOver adjust, TalkBack position, web arrow keys and
|
|
308
|
+
a polite live position). `autoplayIntervalMs` turns the page on its own, restarts its wait after a
|
|
309
|
+
swipe, and stops under reduced motion. A binary without `indicator` keeps the dots.
|
|
306
310
|
|
|
307
311
|
**Reveal invalid fields.** Increment a non-empty request token and bind it through the field row's
|
|
308
312
|
`modifiers.scrollIntoViewPath` to reveal the picker and its error, and move accessibility focus there.
|
|
@@ -634,10 +634,15 @@ Apply these interpretation rules:
|
|
|
634
634
|
still has the placeholders (code `placeholder_site_binding`, no `--force`). It is safe to run again.
|
|
635
635
|
- **Native navigation is the migration target.** Use the shell's native top bar
|
|
636
636
|
and, for bottom-tab navigation, `navigation.tabBar.presentation: "native"`.
|
|
637
|
-
Do not
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
637
|
+
Do not hand-author a source header, or insert a `CollapsingHeader` hero/card above a page.
|
|
638
|
+
- **The Detailed Home header is generated, on the Home only.** When the source header owning the Home page is
|
|
639
|
+
explicitly `platform_detailed_header` (top tabs: the plan's first visible page), `generate` puts one
|
|
640
|
+
`overlappingPanelHeader` first on the Home and gives it a `topBar` copied from `navigation.topBarDefault` with
|
|
641
|
+
`style: "immersive"` (`"transparent"` with no cover image), `titleDisplay: "hidden"` and `solidAfter` on the cover. Other definitions, and Detailed on any
|
|
642
|
+
other screen, are ineligible. A Detailed Home whose page opens a shared vertical screen is generated as the Home.
|
|
643
|
+
Props are the header's own: title/subtitle (explicit visibility), `showLogo` + `settings.logoImageUrl`, ordered
|
|
644
|
+
`coverImagesUrls` (empty: the global covers), `coverImageTransitionTime` (default 3000). Run `provision` after
|
|
645
|
+
`header-badges` to copy the bar again; `validate-topbar` reports drift.
|
|
641
646
|
- **Business contact is shared content.** For native contact sections
|
|
642
647
|
`platform_general_contact_section` / `platform_general_contact_section_bp`, use
|
|
643
648
|
`businessContactSection` and `createBusinessContactService` from
|
|
@@ -695,7 +700,7 @@ Apply these interpretation rules:
|
|
|
695
700
|
as ordinary page content or supported native actions, with the same runtime
|
|
696
701
|
access rules. Report unsupported avatar/logo/action behavior as a gap; do not
|
|
697
702
|
invent member data, drop a configured CTA silently, or add an in-page toolbar
|
|
698
|
-
to imitate a missing native control.
|
|
703
|
+
to imitate a missing native control. On a Detailed Home, record only the controls its header drops.
|
|
699
704
|
- **Invite is behavior, independent of the custom cover.** When the source header's
|
|
700
705
|
`settings.showInviteButton` is true, use the reusable `inviteAction`, `inviteScreen`
|
|
701
706
|
and service recipes from `@wix/himalaya/screens`. The source opens an Invite modal;
|
|
@@ -1598,7 +1603,7 @@ id is replaced in place; each new id is added and registered in
|
|
|
1598
1603
|
`navigation.linkableScreens`. One invalid entry refuses the batch and restores every
|
|
1599
1604
|
file. A screen that starts with an empty slot (a `Spacer`, a container with no children, an
|
|
1600
1605
|
`Image` with no url) is refused: when a source header is dropped, do not leave its place behind,
|
|
1601
|
-
because the slot paints a blank band under the toolbar. A builder call such as `
|
|
1606
|
+
because the slot paints a blank band under the toolbar. A builder call such as `overlappingPanelHeader(...)` written inline in `dev/index.ts`
|
|
1602
1607
|
cannot be inspected: call the builder in your generator and serialize the value it
|
|
1603
1608
|
returns. Run the generator inside the app (after `npm install`), so
|
|
1604
1609
|
`@wix/himalaya/screens` resolves to the app's own dependency.
|
|
@@ -2146,9 +2151,10 @@ Known web limits:
|
|
|
2146
2151
|
- `himi render --png` needs the Chromium of the Playwright that `himi` bundles. Run the
|
|
2147
2152
|
install command the render hint prints. A bare `npx playwright install chromium`
|
|
2148
2153
|
from the app directory can install another revision.
|
|
2149
|
-
- A
|
|
2154
|
+
- A `CollapsingHeader` scrolls with the page in current releases. An
|
|
2150
2155
|
older CLI drew it in a 640px scroll box, so the page scrolled inside it and
|
|
2151
2156
|
`himi render --png` showed only the first viewport; update the CLI before you compare.
|
|
2157
|
+
The generated Detailed Home header is not a `CollapsingHeader`: it scrolls with the page too.
|
|
2152
2158
|
- The One App editor preview shows demo data for member widgets ("This is a demo image
|
|
2153
2159
|
and won't appear live") and draws some vertical pages blank. It is not a live baseline:
|
|
2154
2160
|
compare against the published app or the source evidence instead.
|
package/guides/one-app-viewer.md
CHANGED
|
@@ -131,7 +131,9 @@ Translate the resolved result to Himi. Its inspected schema says a per-screen `t
|
|
|
131
131
|
|
|
132
132
|
### R09. Treat header content as conditional, configured behavior
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
> **Superseded for the Detailed Home.** A migrated Home whose own source header is explicitly `platform_detailed_header` gets a generated header and immersive top bar; the One App migration guide is authoritative. `detailedHeader` no longer exists.
|
|
135
|
+
|
|
136
|
+
The source rules below describe the original viewer. **For the current One App migration target, use native navigation bars, bottom tabs and the top bar; do not reproduce a custom Detailed cover header, except the generated one on an eligible Detailed Home (above).** This target policy supersedes this reference's older shared-header recommendation. Keep the source facts as interpretation evidence and record the target adaptation explicitly.
|
|
135
137
|
|
|
136
138
|
Relevant source behavior to preserve when applicable:
|
|
137
139
|
|
package/guides/release-notes.md
CHANGED
|
@@ -14,6 +14,19 @@ 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-24
|
|
18
|
+
|
|
19
|
+
### Preview, push & release
|
|
20
|
+
|
|
21
|
+
- **Your AI tool can work on an app you built elsewhere, and cancel a build.** The hosted connector (the one
|
|
22
|
+
you add to Claude, ChatGPT or Cursor) could only edit apps it had created. `himi_list_apps` now also lists
|
|
23
|
+
your other apps, and `himi_adopt` loads one into the chat from the source saved with its release, so it can be
|
|
24
|
+
read, edited and pushed from there. The connector holds text files only: if the app has images, an icon or
|
|
25
|
+
fonts, `himi_adopt` refuses and names them, because a push from the chat would publish the app without them,
|
|
26
|
+
and goes ahead only when you accept that. An app published before source was kept, or with `--no-source`,
|
|
27
|
+
has nothing to load: publish it once more first. `himi_dist_cancel` stops a build that is still running; the
|
|
28
|
+
build still counts against the daily limit. (#6461)
|
|
29
|
+
|
|
17
30
|
## 2026-11-23
|
|
18
31
|
|
|
19
32
|
### Validate & test
|
|
@@ -5544,27 +5544,6 @@
|
|
|
5544
5544
|
"source": "stdlib/flows/screens/src/index.ts",
|
|
5545
5545
|
"description": "@wix/himalaya/screens — ready-made screens and shared header compositions.",
|
|
5546
5546
|
"api": [
|
|
5547
|
-
{
|
|
5548
|
-
"name": "DetailedHeaderAction",
|
|
5549
|
-
"kind": "interface",
|
|
5550
|
-
"jsdoc": "/** An action shown by `detailedHeader`. */",
|
|
5551
|
-
"decl": "export interface DetailedHeaderAction {\n label: string;\n action: Node;\n style?: \"primary\" | \"secondary\" | \"plain\";\n}",
|
|
5552
|
-
"verificationChecked": true
|
|
5553
|
-
},
|
|
5554
|
-
{
|
|
5555
|
-
"name": "DetailedHeaderOptions",
|
|
5556
|
-
"kind": "interface",
|
|
5557
|
-
"jsdoc": "/** Options for the shared One App-style detailed header composition. */",
|
|
5558
|
-
"decl": "export interface DetailedHeaderOptions {\n /** Prefix for stable SDUI node IDs. Use a unique value for each header. */\n id?: string;\n /** Page nodes that scroll beneath the hero and detail card. */\n content?: Node[];\n /** Cover image selected by the migration from the source cover list. */\n imageUrl?: string;\n title: string;\n subtitle?: string;\n logoUrl?: string;\n locationLabel?: string;\n locationAction?: DetailedHeaderAction;\n memberCaption?: string;\n memberAvatars?: Array<{ imageUrl?: string; initials?: string }>;\n /** Live member rows from a service. This takes precedence over `memberAvatars`. */\n memberAvatarsPath?: string;\n inviteAction?: DetailedHeaderAction;\n primaryAction?: DetailedHeaderAction;\n aboutAction?: DetailedHeaderAction;\n /** Keep the hero at one height when the source header is not collapsible. */\n collapsible?: boolean;\n expandedHeight?: number;\n collapsedHeight?: number;\n}",
|
|
5559
|
-
"verificationChecked": true
|
|
5560
|
-
},
|
|
5561
|
-
{
|
|
5562
|
-
"name": "detailedHeader",
|
|
5563
|
-
"kind": "function",
|
|
5564
|
-
"jsdoc": "/**\n * Build an optional Detailed cover header for screens that explicitly request one.\n *\n * The header uses Himalaya's cross-platform `CollapsingHeader` and standard\n * components for the detail card, logo, member strip, and actions. The One App\n * migration workflow uses native navigation bars and does not call this builder.\n * Himalaya's hero accepts one image.\n */",
|
|
5565
|
-
"decl": "export function detailedHeader(opts: DetailedHeaderOptions): Node;",
|
|
5566
|
-
"verificationChecked": true
|
|
5567
|
-
},
|
|
5568
5547
|
{
|
|
5569
5548
|
"name": "ScreenEnvelope",
|
|
5570
5549
|
"kind": "interface",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1868.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": "8151b87b86acf6eb7fd71f7e58680e4f232f6cc93bff85cfd9988673"
|
|
86
86
|
}
|