@wix/himalaya-cli 0.1663.0 → 0.1664.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 (63) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +6 -2
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -2
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +3 -2
  5. package/dist/browser-plane/assets.json +5 -5
  6. package/dist/browser-plane/preview-deferred/{5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488.bin → 7700021a25a8d932331f2abf6ba6c2f13b2a18cabfc4ce8b02aa0ed1ae973ffc.bin} +1 -1
  7. package/dist/browser-plane/sw.js +8 -8
  8. package/dist/cli.mjs +56 -45
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/fixtures/wix-canned.json +3 -0
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +1 -0
  13. package/package.json +2 -2
  14. package/templates/beauty-salon/config.ts +1 -1
  15. package/templates/beauty-salon/l10n/en.json +1 -1
  16. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +3 -4
  17. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +3 -4
  18. package/templates/branded-lite/config.ts +1 -1
  19. package/templates/branded-lite/dev/index.ts +214 -122
  20. package/templates/branded-lite/l10n/en.json +18 -25
  21. package/templates/branded-lite/l10n/he.json +22 -17
  22. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +3 -4
  23. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +144 -75
  24. package/templates/community-club/config.ts +1 -1
  25. package/templates/community-club/l10n/en.json +1 -1
  26. package/templates/community-club/tier5-src/_shared/engine-intl.ts +3 -4
  27. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +3 -4
  28. package/templates/conference/tier5-src/_shared/engine-intl.ts +3 -4
  29. package/templates/events-meetups/config.ts +1 -1
  30. package/templates/events-meetups/l10n/en.json +1 -1
  31. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +3 -4
  32. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +3 -4
  33. package/templates/gym-fitness/config.ts +1 -1
  34. package/templates/gym-fitness/l10n/en.json +1 -1
  35. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +3 -4
  36. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +3 -4
  37. package/templates/nonprofit-cause/config.ts +1 -1
  38. package/templates/nonprofit-cause/l10n/en.json +1 -1
  39. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +3 -4
  40. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +3 -4
  41. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +3 -4
  42. package/templates/podcast-creator/config.ts +1 -1
  43. package/templates/podcast-creator/l10n/en.json +1 -1
  44. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +3 -4
  45. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +3 -4
  46. package/templates/portfolio-creative/config.ts +1 -1
  47. package/templates/portfolio-creative/l10n/en.json +1 -1
  48. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +3 -4
  49. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +3 -4
  50. package/templates/restaurant/config.ts +1 -1
  51. package/templates/restaurant/l10n/en.json +1 -1
  52. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +3 -4
  53. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +3 -4
  54. package/templates/retail-store/config.ts +1 -1
  55. package/templates/retail-store/l10n/en.json +1 -1
  56. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +3 -4
  57. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +3 -4
  58. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +3 -4
  59. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +3 -4
  60. package/templates/yoga-studio/config.ts +1 -1
  61. package/templates/yoga-studio/l10n/en.json +1 -1
  62. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +3 -4
  63. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +3 -4
@@ -3347,11 +3347,15 @@ export interface TopBarAction {
3347
3347
  /** Live bindings against `NavigationConfig.navLogicBundle` — see `NavTabItem`.
3348
3348
  * `hiddenPath` drops the action from the trailing cluster, which is how "hide
3349
3349
  * Checkout while the cart is empty" is said without publishing two top bars.
3350
- * A screen's own top-bar action binds the same nav worker; runtime 1.8.0 and later
3351
- * watch those paths (an older one shows the action). */
3350
+ * With hiddenPathScope="screen", hiddenPath first reads its screen worker; a resolved scalar wins,
3351
+ * otherwise the nav-worker value remains the fallback. Values are scoped to its stack entry.
3352
+ * labelPath/iconPath still bind the nav worker. Older runtimes keep nav-only visibility. */
3352
3353
  hiddenPath?: string;
3353
3354
  labelPath?: string;
3354
3355
  iconPath?: string;
3356
+ /** "screen" opts into screen-worker visibility. Unset/unknown retains navigation ownership.
3357
+ * App-level topBarDefault actions always retain navigation ownership when inherited. */
3358
+ hiddenPathScope?: string;
3355
3359
  }
3356
3360
  /** Splash layout discriminator. Single-line string-literal union (house style,
3357
3361
  * like `NavKind`); unknown values coalesce to "centered" in the shell. */
@@ -720,6 +720,9 @@ export declare const screenDescriptorSchema: {
720
720
  readonly iconPath: {
721
721
  readonly type: "string";
722
722
  };
723
+ readonly hiddenPathScope: {
724
+ readonly type: "string";
725
+ };
723
726
  };
724
727
  };
725
728
  readonly navBadge: {
@@ -2236,6 +2239,9 @@ export declare const widgetSnapshotSchema: {
2236
2239
  readonly iconPath: {
2237
2240
  readonly type: "string";
2238
2241
  };
2242
+ readonly hiddenPathScope: {
2243
+ readonly type: "string";
2244
+ };
2239
2245
  };
2240
2246
  };
2241
2247
  readonly navBadge: {
@@ -9177,10 +9177,11 @@ var screenDescriptorSchema = {
9177
9177
  accessibilityLabel: { type: "string" },
9178
9178
  onTap: { $ref: "#/$defs/action" },
9179
9179
  badge: { $ref: "#/$defs/navBadge" },
9180
- // RFC 0010 slot bindings (core.proto TopBarAction 7–9): they bind the app's nav worker.
9180
+ // RFC 0010 slot bindings; hiddenPath opts into the screen worker with field 10.
9181
9181
  hiddenPath: { type: "string" },
9182
9182
  labelPath: { type: "string" },
9183
- iconPath: { type: "string" }
9183
+ iconPath: { type: "string" },
9184
+ hiddenPathScope: { type: "string" }
9184
9185
  }
9185
9186
  },
9186
9187
  navBadge: {
@@ -7369,10 +7369,11 @@ var screenDescriptorSchema = {
7369
7369
  accessibilityLabel: { type: "string" },
7370
7370
  onTap: { $ref: "#/$defs/action" },
7371
7371
  badge: { $ref: "#/$defs/navBadge" },
7372
- // RFC 0010 slot bindings (core.proto TopBarAction 7–9): they bind the app's nav worker.
7372
+ // RFC 0010 slot bindings; hiddenPath opts into the screen worker with field 10.
7373
7373
  hiddenPath: { type: "string" },
7374
7374
  labelPath: { type: "string" },
7375
- iconPath: { type: "string" }
7375
+ iconPath: { type: "string" },
7376
+ hiddenPathScope: { type: "string" }
7376
7377
  }
7377
7378
  },
7378
7379
  navBadge: {
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2508926
5
+ "bytes": 2509502
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 23064
22
22
  },
23
23
  {
24
- "name": "preview-deferred/5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488.bin",
24
+ "name": "preview-deferred/7700021a25a8d932331f2abf6ba6c2f13b2a18cabfc4ce8b02aa0ed1ae973ffc.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-BFkbMzVb.js",
82
+ "key": "assets/pdf-N8fbtuvO.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488",
85
- "file": "preview-deferred/5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488.bin"
84
+ "sha256": "7700021a25a8d932331f2abf6ba6c2f13b2a18cabfc4ce8b02aa0ed1ae973ffc",
85
+ "file": "preview-deferred/7700021a25a8d932331f2abf6ba6c2f13b2a18cabfc4ce8b02aa0ed1ae973ffc.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",