@wix/himalaya-cli 0.1792.0 → 0.1794.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +6 -5
  2. package/package.json +2 -2
package/dist/cli.mjs CHANGED
@@ -4411,7 +4411,6 @@ var init_himi_package = __esm({
4411
4411
  var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
4412
4412
  var init_icon_catalog_generated = __esm({
4413
4413
  "../../core/ts/src/icon-catalog.generated.ts"() {
4414
- "use strict";
4415
4414
  init_define_HHP_CATALOG();
4416
4415
  ICON_VIEW_BOX = 24;
4417
4416
  ICON_STROKE_WIDTH = 2;
@@ -40425,7 +40424,6 @@ function resolveIdiom(tokens2, ctx = {}) {
40425
40424
  var IDIOM_CONTEXTS, UNSAFE_KEYS;
40426
40425
  var init_idiom = __esm({
40427
40426
  "../../core/ts/src/idiom.ts"() {
40428
- "use strict";
40429
40427
  init_define_HHP_CATALOG();
40430
40428
  IDIOM_CONTEXTS = {
40431
40429
  ios: { native: ["ios"] },
@@ -42161,6 +42159,7 @@ function shouldRevealError(args) {
42161
42159
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
42162
42160
  var init_validation = __esm({
42163
42161
  "../../core/ts/src/validation.ts"() {
42162
+ "use strict";
42164
42163
  init_define_HHP_CATALOG();
42165
42164
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
42166
42165
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -171755,7 +171754,8 @@ function primaryNodeIds(app2) {
171755
171754
  if (Array.isArray(v2)) return v2.forEach(walk5);
171756
171755
  if (!v2 || typeof v2 !== "object") return;
171757
171756
  const o2 = v2;
171758
- if (typeof o2.id === "string" && o2.id && o2.body?.props?.style === "primary") out2.add(o2.id);
171757
+ const primary = o2.body?.props?.style === "primary" || typeof o2.body?.type === "string" && LIST_HOSTS.has(o2.body.type) && typeof o2.body.props?.itemsPath === "string";
171758
+ if (typeof o2.id === "string" && o2.id && primary) out2.add(o2.id);
171759
171759
  for (const c2 of Object.values(v2)) walk5(c2);
171760
171760
  };
171761
171761
  for (const r3 of app2.routes) walk5(r3.block);
@@ -172075,7 +172075,7 @@ function keepFromSpec(dir, specPath) {
172075
172075
  function droppedPrimaryTaps(dropped, primaryIds = /* @__PURE__ */ new Set()) {
172076
172076
  const out2 = /* @__PURE__ */ new Map();
172077
172077
  for (const d2 of dropped) {
172078
- if (!primaryIds.has(d2.node) && !/\/(?:primary|book)$|[._](?:primary|cta)(?:[._]|$)/i.test(d2.node)) continue;
172078
+ if (!primaryIds.has(d2.node) && !/\/(?:primary|book)$|[._](?:primary|cta|more_details)(?:[._]|$)/i.test(d2.node)) continue;
172079
172079
  const k3 = `${d2.screen}\u2192${d2.to}`;
172080
172080
  const cur = out2.get(k3) ?? { screen: d2.screen, to: d2.to, taps: 0 };
172081
172081
  cur.taps++;
@@ -172083,7 +172083,7 @@ function droppedPrimaryTaps(dropped, primaryIds = /* @__PURE__ */ new Set()) {
172083
172083
  }
172084
172084
  return [...out2.values()];
172085
172085
  }
172086
- var ADOPT_FILE, JOURNEY_STUB_FILE, ADOPT_MATRIX_FILE, WIX_MODULE, SDK_MODULE, LOCAL_ONLY_SDK, RELATIVE_IMPORT, PURE_CALLS, BUILTIN_CONSTRUCTORS, reaches, UI_VERB, DESTRUCTIVE_VERB, PAYMENT_VERB, WRITE_VERB, ABORT_DIALOG, DESTRUCTIVE_ANYWHERE, VIEW_STATE, COMMIT_TRIGGER, PLACEHOLDER, SAMPLE_COPY, IGNORED, SUBMIT, INPUT_TYPES;
172086
+ var ADOPT_FILE, JOURNEY_STUB_FILE, ADOPT_MATRIX_FILE, WIX_MODULE, SDK_MODULE, LOCAL_ONLY_SDK, RELATIVE_IMPORT, PURE_CALLS, BUILTIN_CONSTRUCTORS, reaches, UI_VERB, DESTRUCTIVE_VERB, PAYMENT_VERB, WRITE_VERB, ABORT_DIALOG, DESTRUCTIVE_ANYWHERE, VIEW_STATE, COMMIT_TRIGGER, PLACEHOLDER, SAMPLE_COPY, IGNORED, SUBMIT, INPUT_TYPES, LIST_HOSTS;
172087
172087
  var init_template_adopt = __esm({
172088
172088
  "src/template-adopt.ts"() {
172089
172089
  init_define_HHP_CATALOG();
@@ -172135,6 +172135,7 @@ var init_template_adopt = __esm({
172135
172135
  IGNORED = /* @__PURE__ */ new Set([".git", "node_modules", "dist", ".himi", "coverage", ".agents", ".claude"]);
172136
172136
  SUBMIT = /^(?:save|submit|create|add|send|post|publish|book|register|signup|signUp|confirm|update|apply|reserve|place|request|contact|reply|comment)/i;
172137
172137
  INPUT_TYPES = /(?:TextField|TextArea|SearchField|TextEditor|Input|Stepper|Picker|DatePicker|Toggle|Slider)$/;
172138
+ LIST_HOSTS = /* @__PURE__ */ new Set(["LazyList", "Grid", "Carousel"]);
172138
172139
  }
172139
172140
  });
172140
172141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1792.0",
3
+ "version": "0.1794.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": "347ef286dea7a0178e8043e6e914b1b59bdd9b318784260ebaf9e066"
85
+ "falconPackageHash": "335bd106295e09a36d06e3ea58815077b9820e9dc5929e1842c732a2"
86
86
  }