@wix/himalaya-cli 0.1025.0 → 0.1027.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 (141) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +9 -0
  2. package/dist/cli.mjs +1052 -655
  3. package/dist/preview-assets.generated.bin +0 -0
  4. package/guides/app-config.md +6 -0
  5. package/guides/headless-loop.md +3 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/dev/index.ts +1476 -553
  8. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +18 -8
  9. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +28 -3
  10. package/templates/beauty-salon/tier5-src/_shared/detail-presence.ts +51 -0
  11. package/templates/beauty-salon/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  12. package/templates/beauty-salon/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  13. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  14. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  15. package/templates/beauty-salon/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  16. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  17. package/templates/beauty-salon-owner/dev/index.ts +857 -458
  18. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +18 -8
  19. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +28 -3
  20. package/templates/branded-lite/config.ts +3 -1
  21. package/templates/branded-lite/dev/index.ts +6123 -2565
  22. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +18 -8
  23. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +28 -3
  24. package/templates/branded-lite/tier5-src/_shared/detail-presence.ts +51 -0
  25. package/templates/branded-lite/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  26. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  28. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +17 -4
  29. package/templates/branded-lite/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  30. package/templates/branded-lite/tier5-src/wix-spaces-coupon-detail/index.ts +7 -9
  31. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  32. package/templates/branded-lite/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  33. package/templates/branded-lite/tier5-src/wix-spaces-form-detail/index.ts +7 -9
  34. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +7 -9
  35. package/templates/branded-lite/tier5-src/wix-spaces-invoice-detail/index.ts +7 -9
  36. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +8 -8
  37. package/templates/branded-lite/tier5-src/wix-spaces-photo-albums/index.ts +8 -2
  38. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  39. package/templates/branded-lite/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  40. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  41. package/templates/community-club/dev/index.ts +582 -239
  42. package/templates/community-club/tier5-src/_shared/collection-contract.ts +18 -8
  43. package/templates/community-club/tier5-src/_shared/collection-service.ts +28 -3
  44. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  45. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  46. package/templates/community-club-owner/dev/index.ts +857 -458
  47. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +18 -8
  48. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +28 -3
  49. package/templates/events-meetups/dev/index.ts +547 -226
  50. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +18 -8
  51. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +28 -3
  52. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  53. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  54. package/templates/events-meetups-owner/dev/index.ts +815 -458
  55. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +18 -8
  56. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +28 -3
  57. package/templates/gym-fitness/dev/index.ts +1609 -569
  58. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +18 -8
  59. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +28 -3
  60. package/templates/gym-fitness/tier5-src/_shared/detail-presence.ts +51 -0
  61. package/templates/gym-fitness/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  62. package/templates/gym-fitness/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  63. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  64. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  65. package/templates/gym-fitness/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  66. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  67. package/templates/gym-fitness-owner/dev/index.ts +758 -338
  68. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +18 -8
  69. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +28 -3
  70. package/templates/himi-chat/dev/index.ts +26 -1
  71. package/templates/nonprofit-cause/dev/index.ts +978 -341
  72. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +18 -8
  73. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +28 -3
  74. package/templates/nonprofit-cause/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  76. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  77. package/templates/nonprofit-cause/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  78. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  79. package/templates/nonprofit-cause-owner/dev/index.ts +716 -338
  80. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +18 -8
  81. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +28 -3
  82. package/templates/owner-lite/dev/index.ts +758 -338
  83. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +18 -8
  84. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +28 -3
  85. package/templates/podcast-creator/dev/index.ts +1111 -399
  86. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +18 -8
  87. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +28 -3
  88. package/templates/podcast-creator/tier5-src/_shared/detail-presence.ts +51 -0
  89. package/templates/podcast-creator/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  90. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  91. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  92. package/templates/podcast-creator/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  93. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  94. package/templates/podcast-creator-owner/dev/index.ts +857 -458
  95. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +18 -8
  96. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +28 -3
  97. package/templates/portfolio-creative/dev/index.ts +964 -345
  98. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +18 -8
  99. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +28 -3
  100. package/templates/portfolio-creative/tier5-src/_shared/detail-presence.ts +51 -0
  101. package/templates/portfolio-creative/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  102. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  103. package/templates/portfolio-creative/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  104. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  105. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  106. package/templates/portfolio-creative-owner/dev/index.ts +857 -458
  107. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +18 -8
  108. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +28 -3
  109. package/templates/restaurant/dev/index.ts +738 -284
  110. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +18 -8
  111. package/templates/restaurant/tier5-src/_shared/collection-service.ts +28 -3
  112. package/templates/restaurant/tier5-src/_shared/detail-presence.ts +51 -0
  113. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  114. package/templates/restaurant/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  115. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  116. package/templates/restaurant-owner/dev/index.ts +758 -338
  117. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +18 -8
  118. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +28 -3
  119. package/templates/retail-store/dev/index.ts +768 -298
  120. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +18 -8
  121. package/templates/retail-store/tier5-src/_shared/collection-service.ts +28 -3
  122. package/templates/retail-store/tier5-src/_shared/detail-presence.ts +51 -0
  123. package/templates/retail-store/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  124. package/templates/retail-store/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  125. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  126. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  127. package/templates/retail-store-owner/dev/index.ts +716 -338
  128. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +18 -8
  129. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +28 -3
  130. package/templates/surface-showcase/dev/index.ts +27 -0
  131. package/templates/yoga-studio/dev/index.ts +1147 -390
  132. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +18 -8
  133. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +28 -3
  134. package/templates/yoga-studio/tier5-src/_shared/detail-presence.ts +51 -0
  135. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  136. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  137. package/templates/yoga-studio/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  138. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  139. package/templates/yoga-studio-owner/dev/index.ts +716 -338
  140. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +18 -8
  141. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +28 -3
Binary file
@@ -34,6 +34,12 @@ A content package configures itself in three layers:
34
34
 
35
35
  - `tabBar.items[]` — bottom-tab / rail items (`id`, `screenId?`, `label?`, `icon?`,
36
36
  `selectedIcon?` (the filled/active-tab variant of `icon`), `badge?`).
37
+ - `tabBar.presentation?` — who draws the bottom bar. `"native"` (the default; absent or
38
+ unknown means the same) is the platform's own bar: SwiftUI `TabView` on iOS (Liquid Glass
39
+ on iOS 26), Material 3 `NavigationBar` on Android, and on the web preview, the imitation of
40
+ whichever platform is previewed. It takes only the kit's tab-bar colours. `"kit"` is the
41
+ kit-styled `KitTabBar` (floating capsule, gradient, indicator, motion). It is served OTA, so a
42
+ release can switch an app between them without a new binary.
37
43
  - `drawer` / `sidebar` — slide-in panel / nav-rail config.
38
44
  - `linkableScreens[]` — the deep-link targets. `himalaya://screen/<id>` resolves **only** if
39
45
  the screen is listed here (each entry needs a `screenId`).
@@ -99,7 +99,9 @@ reloading. The board answers each real change and nothing else: a new screen dev
99
99
  one dips, the phone pulses with "Rebuilt in 2.3 s · home" (red when a save did not build), a step
100
100
  fills, and a published draft or the handover is celebrated once. The tab title carries the step
101
101
  ("(5/8) salon"), and the owner can switch on Sound and desktop notices from the board itself — both
102
- start off, so never promise them either. `himi test` writes one PNG per
102
+ start off, so never promise them either. The board can also rewind the whole build — drag its timeline or
103
+ press Replay for a thirty-second making-of, checks included — pop the live phone out into an
104
+ always-on-top window, and show the owner their website next to their app the moment the brand lands. `himi test` writes one PNG per
103
105
  screen to `.himi/shots/` on every run, so take the new screens from there instead of rendering each
104
106
  one again; a bare `--png` on `himi render` writes `.himi/shots/<id>.png`. `himi progress` copies each image into `.himi/history/`
105
107
  as it was when you journaled it, so a later render cannot change what the record says the owner saw;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1025.0",
3
+ "version": "0.1027.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": [
@@ -65,5 +65,5 @@
65
65
  "artifactId": "himalaya-cli"
66
66
  }
67
67
  },
68
- "falconPackageHash": "8524486511ccaa0f22705e39a4f6405e723ac7f3adb4ebcef9d05324"
68
+ "falconPackageHash": "9ce64db92bfef4391297f6111f02ad23a382a5e206bd732aae1df4b1"
69
69
  }