@wix/himalaya-cli 0.1169.0 → 0.1171.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 +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +6 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +5 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +2 -1
- package/dist/cli.mjs +2 -1
- package/package.json +2 -2
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -3044,6 +3044,13 @@ export interface WebViewConfig {
|
|
|
3044
3044
|
sessionBridge?: boolean;
|
|
3045
3045
|
/** RFC 0062 §5.8 — which site adapter the host runs: `""` (none) | `"wix"` | `"base44"`. */
|
|
3046
3046
|
hostedSiteAdapter?: "" | "wix" | "base44";
|
|
3047
|
+
/**
|
|
3048
|
+
* RFC 0062 — hide the hosted site's OWN menu (its mobile menu button and horizontal menu) on
|
|
3049
|
+
* every page, a tab's root page included, while the header itself stays for its logo, cart and
|
|
3050
|
+
* member avatar: the native tabs and drawer already carry the site's pages. Binary-shipped
|
|
3051
|
+
* script, like {@link hideWixAds}. No-op on web (cross-origin iframe).
|
|
3052
|
+
*/
|
|
3053
|
+
hideHostedSiteMenu?: boolean;
|
|
3047
3054
|
}
|
|
3048
3055
|
/**
|
|
3049
3056
|
* Embeddable WebView component (web-in-SDUI). WebViews have no intrinsic height,
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts
CHANGED
|
@@ -26,9 +26,13 @@ export interface SitePage {
|
|
|
26
26
|
/** What the shell hides from the hosted site so the native chrome is the only chrome.
|
|
27
27
|
* Every flag defaults to `true` (hidden). */
|
|
28
28
|
export interface SiteChrome {
|
|
29
|
-
/** The site's own header on inner pages
|
|
30
|
-
*
|
|
29
|
+
/** The site's own header on inner pages. A tab's root page keeps it, for its logo, cart and
|
|
30
|
+
* member avatar — see {@link hideSiteMenu} for its menu. */
|
|
31
31
|
hideSiteHeader?: boolean;
|
|
32
|
+
/** The site's own menu (mobile menu button + horizontal menu) on EVERY page, root included:
|
|
33
|
+
* the native tabs and drawer already list the site's pages, so it would be a second menu.
|
|
34
|
+
* Wix sites only (the selectors are Wix's). */
|
|
35
|
+
hideSiteMenu?: boolean;
|
|
32
36
|
/** The site's footer. */
|
|
33
37
|
hideSiteFooter?: boolean;
|
|
34
38
|
/** The Wix ads banner shown on non-premium Wix sites. Configurable on purpose: the
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts
CHANGED
|
@@ -1058,6 +1058,9 @@ export declare const screenDescriptorSchema: {
|
|
|
1058
1058
|
readonly type: "string";
|
|
1059
1059
|
readonly enum: readonly ["", "wix", "base44"];
|
|
1060
1060
|
};
|
|
1061
|
+
readonly hideHostedSiteMenu: {
|
|
1062
|
+
readonly type: "boolean";
|
|
1063
|
+
};
|
|
1061
1064
|
};
|
|
1062
1065
|
};
|
|
1063
1066
|
};
|
|
@@ -2026,6 +2029,9 @@ export declare const widgetSnapshotSchema: {
|
|
|
2026
2029
|
readonly type: "string";
|
|
2027
2030
|
readonly enum: readonly ["", "wix", "base44"];
|
|
2028
2031
|
};
|
|
2032
|
+
readonly hideHostedSiteMenu: {
|
|
2033
|
+
readonly type: "boolean";
|
|
2034
|
+
};
|
|
2029
2035
|
};
|
|
2030
2036
|
};
|
|
2031
2037
|
};
|
|
@@ -8637,7 +8637,8 @@ var screenDescriptorSchema = {
|
|
|
8637
8637
|
hideHostedSiteFooter: { type: "boolean" },
|
|
8638
8638
|
// RFC 0062 §5.8 — the native session bridge (fields 47/48).
|
|
8639
8639
|
sessionBridge: { type: "boolean" },
|
|
8640
|
-
hostedSiteAdapter: { type: "string", enum: ["", "wix", "base44"] }
|
|
8640
|
+
hostedSiteAdapter: { type: "string", enum: ["", "wix", "base44"] },
|
|
8641
|
+
hideHostedSiteMenu: { type: "boolean" }
|
|
8641
8642
|
}
|
|
8642
8643
|
}
|
|
8643
8644
|
}
|
|
@@ -13158,6 +13159,7 @@ function siteScreenId(page) {
|
|
|
13158
13159
|
function resolveSiteChrome(chrome) {
|
|
13159
13160
|
return {
|
|
13160
13161
|
hideSiteHeader: chrome?.hideSiteHeader ?? true,
|
|
13162
|
+
hideSiteMenu: chrome?.hideSiteMenu ?? true,
|
|
13161
13163
|
hideSiteFooter: chrome?.hideSiteFooter ?? true,
|
|
13162
13164
|
hideWixAds: chrome?.hideWixAds ?? true
|
|
13163
13165
|
};
|
|
@@ -13173,6 +13175,8 @@ function siteWebViewPreset(site) {
|
|
|
13173
13175
|
hideHostedSiteFooter: chrome.hideSiteFooter,
|
|
13174
13176
|
// Wix ads only exist on Wix free sites; a Base44 site never gets the Wix selectors.
|
|
13175
13177
|
hideWixAds: site.kind === "wix" && chrome.hideWixAds,
|
|
13178
|
+
// The site's own menu duplicates the native tabs/drawer. Wix markers only, like the ads.
|
|
13179
|
+
hideHostedSiteMenu: site.kind === "wix" && chrome.hideSiteMenu,
|
|
13176
13180
|
// RFC 0062 §5.8 — a Base44 app is signed in natively and its session carried into the page.
|
|
13177
13181
|
// The host still refuses unless the app declares the `base44` capability. Wix keeps its
|
|
13178
13182
|
// item-2 bridge (not built yet), so a Wix site carries neither field.
|
|
@@ -7590,7 +7590,8 @@ var screenDescriptorSchema = {
|
|
|
7590
7590
|
hideHostedSiteFooter: { type: "boolean" },
|
|
7591
7591
|
// RFC 0062 §5.8 — the native session bridge (fields 47/48).
|
|
7592
7592
|
sessionBridge: { type: "boolean" },
|
|
7593
|
-
hostedSiteAdapter: { type: "string", enum: ["", "wix", "base44"] }
|
|
7593
|
+
hostedSiteAdapter: { type: "string", enum: ["", "wix", "base44"] },
|
|
7594
|
+
hideHostedSiteMenu: { type: "boolean" }
|
|
7594
7595
|
}
|
|
7595
7596
|
}
|
|
7596
7597
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -7676,7 +7676,8 @@ var init_validator = __esm({
|
|
|
7676
7676
|
hideHostedSiteFooter: { type: "boolean" },
|
|
7677
7677
|
// RFC 0062 §5.8 — the native session bridge (fields 47/48).
|
|
7678
7678
|
sessionBridge: { type: "boolean" },
|
|
7679
|
-
hostedSiteAdapter: { type: "string", enum: ["", "wix", "base44"] }
|
|
7679
|
+
hostedSiteAdapter: { type: "string", enum: ["", "wix", "base44"] },
|
|
7680
|
+
hideHostedSiteMenu: { type: "boolean" }
|
|
7680
7681
|
}
|
|
7681
7682
|
}
|
|
7682
7683
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1171.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": "
|
|
70
|
+
"falconPackageHash": "fc977b9009025546041cea5d65a9071a51a3cf6949cc0ce3419d2f24"
|
|
71
71
|
}
|