@wix/himalaya-cli 0.1167.0 → 0.1169.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
@@ -173,7 +173,7 @@ The map comes from what the analysis already reads without owner credentials, be
173
173
  - **Order and labels** follow the site's own menu. Links to other hosts, and repeat links to the same page, are dropped.
174
174
  - **No menu crawled** (no browser, or the crawl failed): the published page list is used instead, and a note says so.
175
175
  - **Home** is always the first tab, with the menu's own word for it.
176
- - **Tabs:** the pages a visitor comes back to (shop, book, menu, events, plans, blog, gallery) take up to three more, in menu order. A small site fills its bar in menu order rather than show a single tab.
176
+ - **Tabs:** the pages a visitor comes back to (shop, book, menu, events, plans, blog, gallery) take up to three more, in menu order. A small site fills its bar in menu order rather than show a single tab; if it still ends up with just one tab, the default `site.layout: "auto"` drops the bar and the drawer carries every page. Set `site.layout` (`tabs` | `sidebar` | `drawer` | `single`) in provisioning.overlay.json to choose the chrome yourself; a re-run of `site analyze` keeps it.
177
177
  - **Drawer and overflow:** About, Contact and other pages go to the drawer; account pages go to overflow.
178
178
  - **Size:** at most 10 pages, with titles capped at 40 characters.
179
179
  - **Chrome:** the site's own header, footer and Wix ads are hidden (the site shell's default).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1167.0",
3
+ "version": "0.1169.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": [
@@ -67,5 +67,5 @@
67
67
  "artifactId": "himalaya-cli"
68
68
  }
69
69
  },
70
- "falconPackageHash": "64661027ca5ba32f3e096b1abb9cd972c0aea616431836fb38195ad1"
70
+ "falconPackageHash": "9c3b8a59c8e784e4780fa0417f39d07319f72a03fcbd071e7a9701ab"
71
71
  }
@@ -11,6 +11,8 @@ import {
11
11
  defineApp,
12
12
  siteLinkableScreens,
13
13
  siteNav,
14
+ siteNavKind,
15
+ siteSidebar,
14
16
  siteNavConfig,
15
17
  type SiteShellConfig,
16
18
  } from "@himalaya/core";
@@ -68,9 +70,10 @@ export default defineApp({
68
70
  readySignal: "first_content",
69
71
  },
70
72
  navigation: {
71
- // Bottom tabs on a phone, a sidebar on a larger screen; the drawer lists every page that is
73
+ // From `site.layout` in provisioning.json (default "auto"): bottom tabs on a phone, a sidebar
74
+ // on a larger screen, or no tab bar for a one-tab site. The drawer lists every page that is
72
75
  // not `overflow`. At most four tabs — each keeps its page loaded while you switch.
73
- navKind: "responsive",
76
+ navKind: siteNavKind(site),
74
77
  scheme: "himalaya-__HIMI_APP_SLUG__",
75
78
  deepLinkPatterns: [],
76
79
  linkableScreens: [
@@ -82,6 +85,8 @@ export default defineApp({
82
85
  tabBar: { items: nav.tabs },
83
86
  // Your site's drawer pages, then the native Notifications screen.
84
87
  drawer: { items: [...nav.drawer, { id: "drawer_notifications", screenId: "himi_notification_settings", label: "Notifications", icon: "bell" }] },
88
+ // The rail (tablet, or `layout: "sidebar"`) replaces the drawer, so it lists the same rows.
89
+ sidebar: { items: [...siteSidebar(site), { id: "drawer_notifications", screenId: "himi_notification_settings", label: "Notifications", icon: "bell" }] },
85
90
  },
86
91
  entities: {},
87
92
  });