@wix/himalaya-cli 0.1884.0 → 0.1885.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/cli.mjs +2 -3
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -4456,7 +4456,6 @@ var init_himi_package = __esm({
|
|
|
4456
4456
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
4457
4457
|
var init_icon_catalog_generated = __esm({
|
|
4458
4458
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
4459
|
-
"use strict";
|
|
4460
4459
|
init_define_HHP_CATALOG();
|
|
4461
4460
|
ICON_VIEW_BOX = 24;
|
|
4462
4461
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -11973,7 +11972,7 @@ function compileV2(html, profile, options2) {
|
|
|
11973
11972
|
return;
|
|
11974
11973
|
}
|
|
11975
11974
|
const record6 = value2;
|
|
11976
|
-
if (record6.body) {
|
|
11975
|
+
if (record6.body && typeof record6.body === "object" && typeof record6.body.type === "string") {
|
|
11977
11976
|
const nested = own6(profile.components, record6.body.type);
|
|
11978
11977
|
if (!nested || nested.package !== record6.body.package) {
|
|
11979
11978
|
error(el2, "HHP-COMPONENT", "Structured component is unavailable in this app profile.");
|
|
@@ -12071,7 +12070,7 @@ function compileV2(html, profile, options2) {
|
|
|
12071
12070
|
delete style.font;
|
|
12072
12071
|
}
|
|
12073
12072
|
if (style.display && !["main", "div", "header", "footer", "nav", "himi-v-stack", "himi-h-stack", "himi-grid"].includes(tag))
|
|
12074
|
-
error(el2, "HHP-CSS-COMPONENT",
|
|
12073
|
+
error(el2, "HHP-CSS-COMPONENT", `<${tag}> sets display, but display layout rules require a stack or grid container.`, `Remove display/flex rules from <${tag}> and give it plain text; to lay several elements out together, put a <div> stack around them and style that.`);
|
|
12075
12074
|
type2 = translateStyle(style, profile, type2, props2, mods, (message5, hint, property3) => diagnostics.push({ code: "HHP-CSS-VALUE", severity: "error", ...styleLocations[property3 ?? ""] ?? loc(el2), message: message5, ...hint ? { hint } : {} }));
|
|
12076
12075
|
const spec = Object.hasOwn(profile.components, type2) ? profile.components[type2] : void 0;
|
|
12077
12076
|
let id = attrs["data-id"] ?? attrs.id ?? `hhp.${screenId}.${treePath}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1885.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": "db6d78dbfb0d75be08bec93fe553f30af6c1886f6e8002abd911be9f"
|
|
86
86
|
}
|