@wix/himalaya-cli 0.1793.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 -6
  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;
@@ -8378,7 +8377,6 @@ function assertExternalUrl(site, value2, where) {
8378
8377
  var WIX_FREE_SITE_HOST_SUFFIXES, SITE_KINDS, SITE_LAYOUTS, SITE_PAGE_TITLES, SITE_TOP_BAR_MAX_ACTIONS, SITE_BUILTIN_NATIVE_SCREENS, SITE_PRIVATE_NATIVE_SCREENS, SITE_SHELL_MAX_TABS, SITE_SCREEN_PREFIX, SITE_PAGE_SCREEN_ID, BASE44_ORIGINS, PAGE_ID, SITE_PAGE_NODE_ID, SITE_SCREEN_FORMS, SITE_NODE_SCREEN_RENDERER, PLACEMENTS, ICONS;
8379
8378
  var init_site_shell = __esm({
8380
8379
  "../../core/ts/src/site-shell.ts"() {
8381
- "use strict";
8382
8380
  init_define_HHP_CATALOG();
8383
8381
  init_himi_package();
8384
8382
  init_icon_catalog_generated();
@@ -40426,7 +40424,6 @@ function resolveIdiom(tokens2, ctx = {}) {
40426
40424
  var IDIOM_CONTEXTS, UNSAFE_KEYS;
40427
40425
  var init_idiom = __esm({
40428
40426
  "../../core/ts/src/idiom.ts"() {
40429
- "use strict";
40430
40427
  init_define_HHP_CATALOG();
40431
40428
  IDIOM_CONTEXTS = {
40432
40429
  ios: { native: ["ios"] },
@@ -42162,6 +42159,7 @@ function shouldRevealError(args) {
42162
42159
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
42163
42160
  var init_validation = __esm({
42164
42161
  "../../core/ts/src/validation.ts"() {
42162
+ "use strict";
42165
42163
  init_define_HHP_CATALOG();
42166
42164
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
42167
42165
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -171756,7 +171754,8 @@ function primaryNodeIds(app2) {
171756
171754
  if (Array.isArray(v2)) return v2.forEach(walk5);
171757
171755
  if (!v2 || typeof v2 !== "object") return;
171758
171756
  const o2 = v2;
171759
- 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);
171760
171759
  for (const c2 of Object.values(v2)) walk5(c2);
171761
171760
  };
171762
171761
  for (const r3 of app2.routes) walk5(r3.block);
@@ -172076,7 +172075,7 @@ function keepFromSpec(dir, specPath) {
172076
172075
  function droppedPrimaryTaps(dropped, primaryIds = /* @__PURE__ */ new Set()) {
172077
172076
  const out2 = /* @__PURE__ */ new Map();
172078
172077
  for (const d2 of dropped) {
172079
- 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;
172080
172079
  const k3 = `${d2.screen}\u2192${d2.to}`;
172081
172080
  const cur = out2.get(k3) ?? { screen: d2.screen, to: d2.to, taps: 0 };
172082
172081
  cur.taps++;
@@ -172084,7 +172083,7 @@ function droppedPrimaryTaps(dropped, primaryIds = /* @__PURE__ */ new Set()) {
172084
172083
  }
172085
172084
  return [...out2.values()];
172086
172085
  }
172087
- 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;
172088
172087
  var init_template_adopt = __esm({
172089
172088
  "src/template-adopt.ts"() {
172090
172089
  init_define_HHP_CATALOG();
@@ -172136,6 +172135,7 @@ var init_template_adopt = __esm({
172136
172135
  IGNORED = /* @__PURE__ */ new Set([".git", "node_modules", "dist", ".himi", "coverage", ".agents", ".claude"]);
172137
172136
  SUBMIT = /^(?:save|submit|create|add|send|post|publish|book|register|signup|signUp|confirm|update|apply|reserve|place|request|contact|reply|comment)/i;
172138
172137
  INPUT_TYPES = /(?:TextField|TextArea|SearchField|TextEditor|Input|Stepper|Picker|DatePicker|Toggle|Slider)$/;
172138
+ LIST_HOSTS = /* @__PURE__ */ new Set(["LazyList", "Grid", "Carousel"]);
172139
172139
  }
172140
172140
  });
172141
172141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1793.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": "96e94d20b31a1c48e219e3b4ae11958914b712b4eb4c204be606ee8c"
85
+ "falconPackageHash": "335bd106295e09a36d06e3ea58815077b9820e9dc5929e1842c732a2"
86
86
  }