@wix/himalaya-cli 0.2049.0 → 0.2051.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/ts/src/icon-catalog.generated.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +73 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +7 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{78e9187a8551e2a63e7bc9f5cda8449c6a39ba3d9bcfa40947713322e68a3e3b.bin → cc7bcf8fdff413c24057510cbaf7ec5412b22de421a69e873d0a07b4d0e86cfa.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +446 -260
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/headless-loop.md +1 -1
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +15 -6
- package/package.json +2 -2
|
Binary file
|
package/guides/headless-loop.md
CHANGED
|
@@ -237,7 +237,7 @@ A few flags worth knowing up front (all discoverable via `himi render --help`):
|
|
|
237
237
|
which over-stretches a phone layout.
|
|
238
238
|
- **`himi icons`** lists the valid `Icon.name` vocabulary — an unknown name silently falls back to a
|
|
239
239
|
generic glyph on device (and `validate` warns), so pick from this list rather than guessing SF-Symbol
|
|
240
|
-
names. The full set (aliases included): add_ai, ai, arrow_down, arrow_left, arrow_outward, arrow_right, arrow_up, attachment, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cards_collection, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, circle_half, clock, close, concealed, cookie, copy, dashboard, dashboard_fill, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gallery_mosaic, gallery_mosaic_fill, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, paperclip, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, radio_off, radio_on, redo, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, star_off, stop, success, tag, ticket, ticket_fill, trash, tray, trending_down, trending_up, undo, user, visible, volume, warning, whatsapp, wifi, xmark.
|
|
240
|
+
names. The full set (aliases included): add_ai, ai, arrow_down, arrow_left, arrow_outward, arrow_right, arrow_up, attachment, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cards_collection, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, circle_half, clock, close, concealed, cookie, copy, dashboard, dashboard_fill, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, facebook, filter, folder, forward, fullscreen, gallery_mosaic, gallery_mosaic_fill, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, instagram, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, paperclip, pause, pencil, people, person, person_fill, phone, photo, pin, pinterest, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, radio_off, radio_on, redo, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, star_off, stop, success, tag, ticket, ticket_fill, tiktok, trash, tray, trending_down, trending_up, undo, user, visible, volume, warning, whatsapp, wifi, x_twitter, xmark, youtube.
|
|
241
241
|
|
|
242
242
|
## 4b. Prove it WORKS, not just that it renders (`himi test`, when installed)
|
|
243
243
|
|
|
@@ -227,7 +227,7 @@ carousel placement remain separate gaps; the mappings above stay Partial.
|
|
|
227
227
|
| `platform_elements_image_section` | `wix.platform.elements.image_section` | [Core Image](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate media URL, aspect/crop ratio, fill/fit, corner radius, alt text and configured click action; preserve sizing and accessibility. |
|
|
228
228
|
| `platform_elements_button_section` | `wix.platform.elements.button_section` | [Core Button](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate first/second button labels, single/double layout, size/width/alignment, icons and styling. Resolve each action and source settings-version behavior. |
|
|
229
229
|
| `platform_elements_title_section` | `wix.platform.elements.title_section` | [Core Text](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate authored heading text, typography role, alignment and visibility through resolved design tokens. |
|
|
230
|
-
| `platform_general_social_links_section` | `wix.memberView.general.social_media_links_section` | [Core Icon/Button/HStack composition](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline composition | Composition | Read each authored links[].url/icon; compose links in order and preserve supported external-link behavior.
|
|
230
|
+
| `platform_general_social_links_section` | `wix.memberView.general.social_media_links_section` | [Core Icon/Button/HStack composition](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline composition | Composition | Read each authored links[].url/icon; compose links in order and preserve supported external-link behavior. Each link is a round tappable button in one wrapping row, drawing its network's catalog brand mark and named for its network; LinkedIn and an unknown network (no mark) are a name pill in the row (the host name for an unknown icon) and are reported; a link that is not an http(s) URL is left out and reported. |
|
|
231
231
|
| `platform_elements_paragraph_section` | `wix.memberView.elements.paragraph_section` | [Core Text / RichContent](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline primitive | Primitive | Translate text, typographyStyle, size and alignment. Use RichContent only when the actual input format requires it; do not reinterpret plain text as a rich document. |
|
|
232
232
|
| `platform_elements_repeater_section` | `wix.memberView.elements.repeater_section` | [Core Grid/LazyList + Image/Text/Button](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Inline composition | Composition | Translate authored items, hidden flags, grid/vertical type, columns, spacing, text/image options and per-item actionData. These are static authored items, not a live business catalog. |
|
|
233
233
|
| `platform_elements_interactive_banner_section` | `wix.memberView.elements.interactive_banner` | [Core Image/Text/Button + stack composition](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Existing base; adaptation needed | Partial | Reuse primitives for authored banner content/actions. Translate split/stacked layout, overlay, radius and alignment. Diagonal variants need a verified target layout or an explicit user-approved adaptation. |
|
|
@@ -247,11 +247,15 @@ Groups tab only on a confirmed `none`, and treat failed or absent reads as `unkn
|
|
|
247
247
|
Three sections that the census of the top 100 apps found with no rule at all (so `generate` stopped on them) are built from the
|
|
248
248
|
section's settings, with no loader of their own:
|
|
249
249
|
|
|
250
|
-
- `platform_general_social_links_section`: one **button per link**,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
250
|
+
- `platform_general_social_links_section`: one **round icon button per link**, in source order, in a row that wraps on a narrow
|
|
251
|
+
screen, as One App draws it. Each is a 48pt circle on `accentSurface` holding an `Icon` with its network's mark from the icon
|
|
252
|
+
catalog (`instagram`, `facebook`, `x_twitter`, `youtube`, `tiktok`, `pinterest`, `whatsapp`; `globe` for the `globe` icon),
|
|
253
|
+
with the link role (the tap leaves the app) and its network's name for screen readers ("Instagram", "X (Twitter)", "Website"). It is a tappable
|
|
254
|
+
container rather than an icon-only `Button`, because a native icon-only Button keeps its platform's padding and is not round on
|
|
255
|
+
Android. LinkedIn and an unknown network have no mark, so they are a pill in the same row showing their name (the host name for
|
|
256
|
+
an unknown one), and `generate` reports it. The tap opens the exact authored link. A link that is not an http(s) URL is left out
|
|
257
|
+
and reported; a section with no usable link leaves nothing, and a page made only of it is reported as unmapped. A brand mark is
|
|
258
|
+
drawn from the app binary's icon catalog, so an app built before the marks were added draws the unknown-icon marker.
|
|
255
259
|
- `forms_full_form_by_short_id`: the section's heading (only when the source shows it) and the form laid out inline, as the source
|
|
256
260
|
does: its fields in layout order with their labels and required marks, the form's own submit text, required and format checks, the
|
|
257
261
|
send and the thank-you state. The form is `platformFormId` (a v4 form id) or `shortId` (a legacy numeric id). The page worker
|
|
@@ -828,7 +832,12 @@ Apply these interpretation rules:
|
|
|
828
832
|
`himi_services`, `himi_service` and `himi_time` (a value it could not verify stays as the template ships it;
|
|
829
833
|
nothing is invented). It writes the business name into `config.ts`'s `name` and over the slug `himi init` baked
|
|
830
834
|
into displayed names (display slots only, never ids or URLs; a name you chose is kept), so the normal flow needs
|
|
831
|
-
no `validate-identity --fix`. It
|
|
835
|
+
no `validate-identity --fix`. It writes the About screen's text (`himi_app_info`) from
|
|
836
|
+
`businessContext.about`: the site's own description, which collection reads from the same public, site-bound Visitor
|
|
837
|
+
properties (blank lines separate paragraphs). The template's demo text never ships: a site with no description (`""`)
|
|
838
|
+
gets none (the output's `about` says `set`, `removed` or `unchanged`). A description that could not be read
|
|
839
|
+
(`business_about_unavailable`, or evidence from an older CLI) is unknown, so nothing is written (`unverified`), and
|
|
840
|
+
About text that is not the template's demo is someone's own copy and is `kept`. Never write invented About copy. It states the bottom bar as native (`navigation.tabBar.presentation: "native"`; an
|
|
832
841
|
explicit `"kit"` is kept; the output's `tabBar` reports `set`, `unchanged` or `absent`). When the collection
|
|
833
842
|
recorded `memberChat: true` (never a guess), it opens the member Inbox from every baked door (the top-bar chat
|
|
834
843
|
action, the drawer's Inbox item, the chat thread's parent and "Back to inbox", the Profile link) if the scaffold
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2051.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": "df3188c143f2218c365719d3828d1c75fc51a2691edbd36cb617e083"
|
|
86
86
|
}
|