@wix/himalaya-cli 0.1777.0 → 0.1778.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 (327) hide show
  1. package/dist/cli.mjs +394 -61
  2. package/guides/one-app-section-mappings.md +5 -8
  3. package/guides/one-app-to-himi-app.md +21 -7
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/l10n/ar.json +5 -0
  6. package/templates/beauty-salon/l10n/cs.json +5 -0
  7. package/templates/beauty-salon/l10n/da.json +5 -0
  8. package/templates/beauty-salon/l10n/de.json +5 -0
  9. package/templates/beauty-salon/l10n/el.json +5 -0
  10. package/templates/beauty-salon/l10n/es.json +5 -0
  11. package/templates/beauty-salon/l10n/fi.json +5 -0
  12. package/templates/beauty-salon/l10n/fr.json +5 -0
  13. package/templates/beauty-salon/l10n/he.json +4 -0
  14. package/templates/beauty-salon/l10n/hu.json +5 -0
  15. package/templates/beauty-salon/l10n/id.json +5 -0
  16. package/templates/beauty-salon/l10n/it.json +5 -0
  17. package/templates/beauty-salon/l10n/ja.json +5 -0
  18. package/templates/beauty-salon/l10n/ko.json +5 -0
  19. package/templates/beauty-salon/l10n/lt.json +5 -0
  20. package/templates/beauty-salon/l10n/nl.json +5 -0
  21. package/templates/beauty-salon/l10n/no.json +5 -0
  22. package/templates/beauty-salon/l10n/pl.json +5 -0
  23. package/templates/beauty-salon/l10n/pt.json +5 -0
  24. package/templates/beauty-salon/l10n/ru.json +5 -0
  25. package/templates/beauty-salon/l10n/sv.json +5 -0
  26. package/templates/beauty-salon/l10n/th.json +5 -0
  27. package/templates/beauty-salon/l10n/tr.json +5 -0
  28. package/templates/beauty-salon/l10n/uk.json +5 -0
  29. package/templates/beauty-salon/l10n/vi.json +5 -0
  30. package/templates/beauty-salon/l10n/zh.json +5 -0
  31. package/templates/beauty-salon/tier5-src/_shared/weekly-goal.ts +7 -3
  32. package/templates/branded-lite/l10n/ar.json +15 -0
  33. package/templates/branded-lite/l10n/cs.json +15 -0
  34. package/templates/branded-lite/l10n/da.json +15 -0
  35. package/templates/branded-lite/l10n/de.json +15 -0
  36. package/templates/branded-lite/l10n/el.json +15 -0
  37. package/templates/branded-lite/l10n/es.json +15 -0
  38. package/templates/branded-lite/l10n/fi.json +15 -0
  39. package/templates/branded-lite/l10n/fr.json +15 -0
  40. package/templates/branded-lite/l10n/he.json +12 -0
  41. package/templates/branded-lite/l10n/hu.json +15 -0
  42. package/templates/branded-lite/l10n/id.json +15 -0
  43. package/templates/branded-lite/l10n/it.json +15 -0
  44. package/templates/branded-lite/l10n/ja.json +15 -0
  45. package/templates/branded-lite/l10n/ko.json +15 -0
  46. package/templates/branded-lite/l10n/lt.json +15 -0
  47. package/templates/branded-lite/l10n/nl.json +15 -0
  48. package/templates/branded-lite/l10n/no.json +15 -0
  49. package/templates/branded-lite/l10n/pl.json +15 -0
  50. package/templates/branded-lite/l10n/pt.json +15 -0
  51. package/templates/branded-lite/l10n/ru.json +15 -0
  52. package/templates/branded-lite/l10n/sv.json +15 -0
  53. package/templates/branded-lite/l10n/th.json +15 -0
  54. package/templates/branded-lite/l10n/tr.json +15 -0
  55. package/templates/branded-lite/l10n/uk.json +15 -0
  56. package/templates/branded-lite/l10n/vi.json +15 -0
  57. package/templates/branded-lite/l10n/zh.json +15 -0
  58. package/templates/branded-lite/recipes/blog-categories.json +115 -0
  59. package/templates/branded-lite/recipes/event-schedule.json +114 -0
  60. package/templates/branded-lite/recipes/groups-newsfeed.json +245 -0
  61. package/templates/branded-lite/recipes/loyalty-offering.json +241 -0
  62. package/templates/branded-lite/recipes/loyalty-status.json +173 -0
  63. package/templates/branded-lite/recipes/members-carousel.json +144 -0
  64. package/templates/branded-lite/recipes/performance-tracker.json +325 -0
  65. package/templates/branded-lite/recipes/podcasts-widget.json +280 -0
  66. package/templates/branded-lite/recipes/products-search-bar.json +139 -0
  67. package/templates/branded-lite/recipes/wishlist-grid.json +236 -0
  68. package/templates/branded-lite/tier5-src/_shared/blog-categories.ts +62 -0
  69. package/templates/branded-lite/tier5-src/_shared/event-agenda.ts +122 -0
  70. package/templates/branded-lite/tier5-src/_shared/event-schedule-section.ts +91 -0
  71. package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +2 -2
  72. package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +105 -0
  73. package/templates/branded-lite/tier5-src/_shared/loyalty-offering-section.ts +88 -0
  74. package/templates/branded-lite/tier5-src/_shared/loyalty-status-section.ts +88 -0
  75. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +9 -3
  76. package/templates/branded-lite/tier5-src/_shared/performance-tracker-section.ts +120 -0
  77. package/templates/branded-lite/tier5-src/_shared/performance-tracker-weeks.ts +71 -0
  78. package/templates/branded-lite/tier5-src/_shared/podcast-section.ts +131 -0
  79. package/templates/branded-lite/tier5-src/_shared/saved-products-section.ts +64 -0
  80. package/templates/branded-lite/tier5-src/_shared/weekly-goal.ts +7 -3
  81. package/templates/community-club/l10n/ar.json +5 -0
  82. package/templates/community-club/l10n/cs.json +5 -0
  83. package/templates/community-club/l10n/da.json +5 -0
  84. package/templates/community-club/l10n/de.json +5 -0
  85. package/templates/community-club/l10n/el.json +5 -0
  86. package/templates/community-club/l10n/es.json +5 -0
  87. package/templates/community-club/l10n/fi.json +5 -0
  88. package/templates/community-club/l10n/fr.json +5 -0
  89. package/templates/community-club/l10n/he.json +4 -0
  90. package/templates/community-club/l10n/hu.json +5 -0
  91. package/templates/community-club/l10n/id.json +5 -0
  92. package/templates/community-club/l10n/it.json +5 -0
  93. package/templates/community-club/l10n/ja.json +5 -0
  94. package/templates/community-club/l10n/ko.json +5 -0
  95. package/templates/community-club/l10n/lt.json +5 -0
  96. package/templates/community-club/l10n/nl.json +5 -0
  97. package/templates/community-club/l10n/no.json +5 -0
  98. package/templates/community-club/l10n/pl.json +5 -0
  99. package/templates/community-club/l10n/pt.json +5 -0
  100. package/templates/community-club/l10n/ru.json +5 -0
  101. package/templates/community-club/l10n/sv.json +5 -0
  102. package/templates/community-club/l10n/th.json +5 -0
  103. package/templates/community-club/l10n/tr.json +5 -0
  104. package/templates/community-club/l10n/uk.json +5 -0
  105. package/templates/community-club/l10n/vi.json +5 -0
  106. package/templates/community-club/l10n/zh.json +5 -0
  107. package/templates/community-club/tier5-src/_shared/weekly-goal.ts +7 -3
  108. package/templates/events-meetups/l10n/ar.json +5 -0
  109. package/templates/events-meetups/l10n/cs.json +5 -0
  110. package/templates/events-meetups/l10n/da.json +5 -0
  111. package/templates/events-meetups/l10n/de.json +5 -0
  112. package/templates/events-meetups/l10n/el.json +5 -0
  113. package/templates/events-meetups/l10n/es.json +5 -0
  114. package/templates/events-meetups/l10n/fi.json +5 -0
  115. package/templates/events-meetups/l10n/fr.json +5 -0
  116. package/templates/events-meetups/l10n/he.json +4 -0
  117. package/templates/events-meetups/l10n/hu.json +5 -0
  118. package/templates/events-meetups/l10n/id.json +5 -0
  119. package/templates/events-meetups/l10n/it.json +5 -0
  120. package/templates/events-meetups/l10n/ja.json +5 -0
  121. package/templates/events-meetups/l10n/ko.json +5 -0
  122. package/templates/events-meetups/l10n/lt.json +5 -0
  123. package/templates/events-meetups/l10n/nl.json +5 -0
  124. package/templates/events-meetups/l10n/no.json +5 -0
  125. package/templates/events-meetups/l10n/pl.json +5 -0
  126. package/templates/events-meetups/l10n/pt.json +5 -0
  127. package/templates/events-meetups/l10n/ru.json +5 -0
  128. package/templates/events-meetups/l10n/sv.json +5 -0
  129. package/templates/events-meetups/l10n/th.json +5 -0
  130. package/templates/events-meetups/l10n/tr.json +5 -0
  131. package/templates/events-meetups/l10n/uk.json +5 -0
  132. package/templates/events-meetups/l10n/vi.json +5 -0
  133. package/templates/events-meetups/l10n/zh.json +5 -0
  134. package/templates/events-meetups/tier5-src/_shared/weekly-goal.ts +7 -3
  135. package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +7 -3
  136. package/templates/gym-fitness/l10n/ar.json +5 -0
  137. package/templates/gym-fitness/l10n/cs.json +5 -0
  138. package/templates/gym-fitness/l10n/da.json +5 -0
  139. package/templates/gym-fitness/l10n/de.json +5 -0
  140. package/templates/gym-fitness/l10n/el.json +5 -0
  141. package/templates/gym-fitness/l10n/es.json +5 -0
  142. package/templates/gym-fitness/l10n/fi.json +5 -0
  143. package/templates/gym-fitness/l10n/fr.json +5 -0
  144. package/templates/gym-fitness/l10n/he.json +4 -0
  145. package/templates/gym-fitness/l10n/hu.json +5 -0
  146. package/templates/gym-fitness/l10n/id.json +5 -0
  147. package/templates/gym-fitness/l10n/it.json +5 -0
  148. package/templates/gym-fitness/l10n/ja.json +5 -0
  149. package/templates/gym-fitness/l10n/ko.json +5 -0
  150. package/templates/gym-fitness/l10n/lt.json +5 -0
  151. package/templates/gym-fitness/l10n/nl.json +5 -0
  152. package/templates/gym-fitness/l10n/no.json +5 -0
  153. package/templates/gym-fitness/l10n/pl.json +5 -0
  154. package/templates/gym-fitness/l10n/pt.json +5 -0
  155. package/templates/gym-fitness/l10n/ru.json +5 -0
  156. package/templates/gym-fitness/l10n/sv.json +5 -0
  157. package/templates/gym-fitness/l10n/th.json +5 -0
  158. package/templates/gym-fitness/l10n/tr.json +5 -0
  159. package/templates/gym-fitness/l10n/uk.json +5 -0
  160. package/templates/gym-fitness/l10n/vi.json +5 -0
  161. package/templates/gym-fitness/l10n/zh.json +5 -0
  162. package/templates/gym-fitness/tier5-src/_shared/weekly-goal.ts +7 -3
  163. package/templates/medical-services/tier5-src/_shared/weekly-goal.ts +7 -3
  164. package/templates/nonprofit-cause/l10n/ar.json +5 -0
  165. package/templates/nonprofit-cause/l10n/cs.json +5 -0
  166. package/templates/nonprofit-cause/l10n/da.json +5 -0
  167. package/templates/nonprofit-cause/l10n/de.json +5 -0
  168. package/templates/nonprofit-cause/l10n/el.json +5 -0
  169. package/templates/nonprofit-cause/l10n/es.json +5 -0
  170. package/templates/nonprofit-cause/l10n/fi.json +5 -0
  171. package/templates/nonprofit-cause/l10n/fr.json +5 -0
  172. package/templates/nonprofit-cause/l10n/he.json +4 -0
  173. package/templates/nonprofit-cause/l10n/hu.json +5 -0
  174. package/templates/nonprofit-cause/l10n/id.json +5 -0
  175. package/templates/nonprofit-cause/l10n/it.json +5 -0
  176. package/templates/nonprofit-cause/l10n/ja.json +5 -0
  177. package/templates/nonprofit-cause/l10n/ko.json +5 -0
  178. package/templates/nonprofit-cause/l10n/lt.json +5 -0
  179. package/templates/nonprofit-cause/l10n/nl.json +5 -0
  180. package/templates/nonprofit-cause/l10n/no.json +5 -0
  181. package/templates/nonprofit-cause/l10n/pl.json +5 -0
  182. package/templates/nonprofit-cause/l10n/pt.json +5 -0
  183. package/templates/nonprofit-cause/l10n/ru.json +5 -0
  184. package/templates/nonprofit-cause/l10n/sv.json +5 -0
  185. package/templates/nonprofit-cause/l10n/th.json +5 -0
  186. package/templates/nonprofit-cause/l10n/tr.json +5 -0
  187. package/templates/nonprofit-cause/l10n/uk.json +5 -0
  188. package/templates/nonprofit-cause/l10n/vi.json +5 -0
  189. package/templates/nonprofit-cause/l10n/zh.json +5 -0
  190. package/templates/nonprofit-cause/tier5-src/_shared/weekly-goal.ts +7 -3
  191. package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +7 -3
  192. package/templates/podcast-creator/l10n/ar.json +5 -0
  193. package/templates/podcast-creator/l10n/cs.json +5 -0
  194. package/templates/podcast-creator/l10n/da.json +5 -0
  195. package/templates/podcast-creator/l10n/de.json +5 -0
  196. package/templates/podcast-creator/l10n/el.json +5 -0
  197. package/templates/podcast-creator/l10n/es.json +5 -0
  198. package/templates/podcast-creator/l10n/fi.json +5 -0
  199. package/templates/podcast-creator/l10n/fr.json +5 -0
  200. package/templates/podcast-creator/l10n/he.json +4 -0
  201. package/templates/podcast-creator/l10n/hu.json +5 -0
  202. package/templates/podcast-creator/l10n/id.json +5 -0
  203. package/templates/podcast-creator/l10n/it.json +5 -0
  204. package/templates/podcast-creator/l10n/ja.json +5 -0
  205. package/templates/podcast-creator/l10n/ko.json +5 -0
  206. package/templates/podcast-creator/l10n/lt.json +5 -0
  207. package/templates/podcast-creator/l10n/nl.json +5 -0
  208. package/templates/podcast-creator/l10n/no.json +5 -0
  209. package/templates/podcast-creator/l10n/pl.json +5 -0
  210. package/templates/podcast-creator/l10n/pt.json +5 -0
  211. package/templates/podcast-creator/l10n/ru.json +5 -0
  212. package/templates/podcast-creator/l10n/sv.json +5 -0
  213. package/templates/podcast-creator/l10n/th.json +5 -0
  214. package/templates/podcast-creator/l10n/tr.json +5 -0
  215. package/templates/podcast-creator/l10n/uk.json +5 -0
  216. package/templates/podcast-creator/l10n/vi.json +5 -0
  217. package/templates/podcast-creator/l10n/zh.json +5 -0
  218. package/templates/podcast-creator/tier5-src/_shared/weekly-goal.ts +7 -3
  219. package/templates/portfolio-creative/l10n/ar.json +5 -0
  220. package/templates/portfolio-creative/l10n/cs.json +5 -0
  221. package/templates/portfolio-creative/l10n/da.json +5 -0
  222. package/templates/portfolio-creative/l10n/de.json +5 -0
  223. package/templates/portfolio-creative/l10n/el.json +5 -0
  224. package/templates/portfolio-creative/l10n/es.json +5 -0
  225. package/templates/portfolio-creative/l10n/fi.json +5 -0
  226. package/templates/portfolio-creative/l10n/fr.json +5 -0
  227. package/templates/portfolio-creative/l10n/he.json +4 -0
  228. package/templates/portfolio-creative/l10n/hu.json +5 -0
  229. package/templates/portfolio-creative/l10n/id.json +5 -0
  230. package/templates/portfolio-creative/l10n/it.json +5 -0
  231. package/templates/portfolio-creative/l10n/ja.json +5 -0
  232. package/templates/portfolio-creative/l10n/ko.json +5 -0
  233. package/templates/portfolio-creative/l10n/lt.json +5 -0
  234. package/templates/portfolio-creative/l10n/nl.json +5 -0
  235. package/templates/portfolio-creative/l10n/no.json +5 -0
  236. package/templates/portfolio-creative/l10n/pl.json +5 -0
  237. package/templates/portfolio-creative/l10n/pt.json +5 -0
  238. package/templates/portfolio-creative/l10n/ru.json +5 -0
  239. package/templates/portfolio-creative/l10n/sv.json +5 -0
  240. package/templates/portfolio-creative/l10n/th.json +5 -0
  241. package/templates/portfolio-creative/l10n/tr.json +5 -0
  242. package/templates/portfolio-creative/l10n/uk.json +5 -0
  243. package/templates/portfolio-creative/l10n/vi.json +5 -0
  244. package/templates/portfolio-creative/l10n/zh.json +5 -0
  245. package/templates/portfolio-creative/tier5-src/_shared/weekly-goal.ts +7 -3
  246. package/templates/restaurant/l10n/ar.json +5 -0
  247. package/templates/restaurant/l10n/cs.json +5 -0
  248. package/templates/restaurant/l10n/da.json +5 -0
  249. package/templates/restaurant/l10n/de.json +5 -0
  250. package/templates/restaurant/l10n/el.json +5 -0
  251. package/templates/restaurant/l10n/es.json +5 -0
  252. package/templates/restaurant/l10n/fi.json +5 -0
  253. package/templates/restaurant/l10n/fr.json +5 -0
  254. package/templates/restaurant/l10n/he.json +4 -0
  255. package/templates/restaurant/l10n/hu.json +5 -0
  256. package/templates/restaurant/l10n/id.json +5 -0
  257. package/templates/restaurant/l10n/it.json +5 -0
  258. package/templates/restaurant/l10n/ja.json +5 -0
  259. package/templates/restaurant/l10n/ko.json +5 -0
  260. package/templates/restaurant/l10n/lt.json +5 -0
  261. package/templates/restaurant/l10n/nl.json +5 -0
  262. package/templates/restaurant/l10n/no.json +5 -0
  263. package/templates/restaurant/l10n/pl.json +5 -0
  264. package/templates/restaurant/l10n/pt.json +5 -0
  265. package/templates/restaurant/l10n/ru.json +5 -0
  266. package/templates/restaurant/l10n/sv.json +5 -0
  267. package/templates/restaurant/l10n/th.json +5 -0
  268. package/templates/restaurant/l10n/tr.json +5 -0
  269. package/templates/restaurant/l10n/uk.json +5 -0
  270. package/templates/restaurant/l10n/vi.json +5 -0
  271. package/templates/restaurant/l10n/zh.json +5 -0
  272. package/templates/restaurant/tier5-src/_shared/weekly-goal.ts +7 -3
  273. package/templates/retail-store/l10n/ar.json +5 -0
  274. package/templates/retail-store/l10n/cs.json +5 -0
  275. package/templates/retail-store/l10n/da.json +5 -0
  276. package/templates/retail-store/l10n/de.json +5 -0
  277. package/templates/retail-store/l10n/el.json +5 -0
  278. package/templates/retail-store/l10n/es.json +5 -0
  279. package/templates/retail-store/l10n/fi.json +5 -0
  280. package/templates/retail-store/l10n/fr.json +5 -0
  281. package/templates/retail-store/l10n/he.json +4 -0
  282. package/templates/retail-store/l10n/hu.json +5 -0
  283. package/templates/retail-store/l10n/id.json +5 -0
  284. package/templates/retail-store/l10n/it.json +5 -0
  285. package/templates/retail-store/l10n/ja.json +5 -0
  286. package/templates/retail-store/l10n/ko.json +5 -0
  287. package/templates/retail-store/l10n/lt.json +5 -0
  288. package/templates/retail-store/l10n/nl.json +5 -0
  289. package/templates/retail-store/l10n/no.json +5 -0
  290. package/templates/retail-store/l10n/pl.json +5 -0
  291. package/templates/retail-store/l10n/pt.json +5 -0
  292. package/templates/retail-store/l10n/ru.json +5 -0
  293. package/templates/retail-store/l10n/sv.json +5 -0
  294. package/templates/retail-store/l10n/th.json +5 -0
  295. package/templates/retail-store/l10n/tr.json +5 -0
  296. package/templates/retail-store/l10n/uk.json +5 -0
  297. package/templates/retail-store/l10n/vi.json +5 -0
  298. package/templates/retail-store/l10n/zh.json +5 -0
  299. package/templates/retail-store/tier5-src/_shared/weekly-goal.ts +7 -3
  300. package/templates/salon-spa/tier5-src/_shared/weekly-goal.ts +7 -3
  301. package/templates/yoga-studio/l10n/ar.json +5 -0
  302. package/templates/yoga-studio/l10n/cs.json +5 -0
  303. package/templates/yoga-studio/l10n/da.json +5 -0
  304. package/templates/yoga-studio/l10n/de.json +5 -0
  305. package/templates/yoga-studio/l10n/el.json +5 -0
  306. package/templates/yoga-studio/l10n/es.json +5 -0
  307. package/templates/yoga-studio/l10n/fi.json +5 -0
  308. package/templates/yoga-studio/l10n/fr.json +5 -0
  309. package/templates/yoga-studio/l10n/he.json +4 -0
  310. package/templates/yoga-studio/l10n/hu.json +5 -0
  311. package/templates/yoga-studio/l10n/id.json +5 -0
  312. package/templates/yoga-studio/l10n/it.json +5 -0
  313. package/templates/yoga-studio/l10n/ja.json +5 -0
  314. package/templates/yoga-studio/l10n/ko.json +5 -0
  315. package/templates/yoga-studio/l10n/lt.json +5 -0
  316. package/templates/yoga-studio/l10n/nl.json +5 -0
  317. package/templates/yoga-studio/l10n/no.json +5 -0
  318. package/templates/yoga-studio/l10n/pl.json +5 -0
  319. package/templates/yoga-studio/l10n/pt.json +5 -0
  320. package/templates/yoga-studio/l10n/ru.json +5 -0
  321. package/templates/yoga-studio/l10n/sv.json +5 -0
  322. package/templates/yoga-studio/l10n/th.json +5 -0
  323. package/templates/yoga-studio/l10n/tr.json +5 -0
  324. package/templates/yoga-studio/l10n/uk.json +5 -0
  325. package/templates/yoga-studio/l10n/vi.json +5 -0
  326. package/templates/yoga-studio/l10n/zh.json +5 -0
  327. package/templates/yoga-studio/tier5-src/_shared/weekly-goal.ts +7 -3
@@ -0,0 +1,173 @@
1
+ {
2
+ "_recipe": "The signed-in member's loyalty status: their points and tier, or a sign-in card for a visitor; the message shown instead of points when the program is off or the app cannot read them securely. A failed read is the section-error piece beside it. ONE node, always mounted. Service: registerLoyaltyStatusSection(svc).",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerLoyaltyStatusSection",
5
+ "id": "unique node id prefix for this section",
6
+ "signInScreen": "the sign-in screen the visitor's button opens, himi_sign_in"
7
+ },
8
+ "node": {
9
+ "id": "{{id}}.status",
10
+ "body": {
11
+ "package": "himalaya",
12
+ "type": "VStack",
13
+ "props": {
14
+ "spacing": 12,
15
+ "alignment": "leading",
16
+ "children": [
17
+ {
18
+ "id": "{{id}}.loading",
19
+ "body": {
20
+ "package": "himalaya",
21
+ "type": "Skeleton",
22
+ "props": {
23
+ "height": 96,
24
+ "count": 1,
25
+ "cornerRadius": 12
26
+ }
27
+ },
28
+ "modifiers": {
29
+ "padding": {
30
+ "leading": 0,
31
+ "trailing": 0,
32
+ "top": 0,
33
+ "bottom": 0
34
+ },
35
+ "hiddenPath": "$service:{{svc}}.notLoading"
36
+ }
37
+ },
38
+ {
39
+ "id": "{{id}}.guest",
40
+ "body": {
41
+ "package": "himalaya",
42
+ "type": "VStack",
43
+ "props": {
44
+ "spacing": 8,
45
+ "alignment": "leading",
46
+ "children": [
47
+ {
48
+ "id": "{{id}}.guest.title",
49
+ "body": {
50
+ "package": "himalaya",
51
+ "type": "Text",
52
+ "props": {
53
+ "text": "$service:{{svc}}.guestTitle",
54
+ "style": "bodyEmphasis",
55
+ "maxLines": 2
56
+ }
57
+ }
58
+ },
59
+ {
60
+ "id": "{{id}}.guest.body",
61
+ "body": {
62
+ "package": "himalaya",
63
+ "type": "Text",
64
+ "props": {
65
+ "text": "$service:{{svc}}.guestBody",
66
+ "style": "caption",
67
+ "color": "textSecondary"
68
+ }
69
+ }
70
+ },
71
+ {
72
+ "id": "{{id}}.signin",
73
+ "body": {
74
+ "package": "himalaya",
75
+ "type": "Button",
76
+ "props": {
77
+ "title": "$service:{{svc}}.signInLabel",
78
+ "style": "secondary",
79
+ "size": "md",
80
+ "fullWidth": true,
81
+ "action": {
82
+ "actionId": "himi.open",
83
+ "params": {
84
+ "screenId": "{{signInScreen}}"
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ ]
91
+ }
92
+ },
93
+ "modifiers": {
94
+ "hiddenPath": "$service:{{svc}}.noGuest"
95
+ }
96
+ },
97
+ {
98
+ "id": "{{id}}.card",
99
+ "body": {
100
+ "package": "himalaya",
101
+ "type": "VStack",
102
+ "props": {
103
+ "spacing": 4,
104
+ "alignment": "leading",
105
+ "children": [
106
+ {
107
+ "id": "{{id}}.card.title",
108
+ "body": {
109
+ "package": "himalaya",
110
+ "type": "Text",
111
+ "props": {
112
+ "text": "$service:{{svc}}.cardTitle",
113
+ "style": "caption",
114
+ "maxLines": 1,
115
+ "color": "textSecondary"
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "id": "{{id}}.card.points",
121
+ "body": {
122
+ "package": "himalaya",
123
+ "type": "Text",
124
+ "props": {
125
+ "text": "$service:{{svc}}.points",
126
+ "style": "display",
127
+ "maxLines": 1,
128
+ "collapseWhenEmpty": true
129
+ }
130
+ }
131
+ },
132
+ {
133
+ "id": "{{id}}.card.tier",
134
+ "body": {
135
+ "package": "himalaya",
136
+ "type": "Text",
137
+ "props": {
138
+ "text": "$service:{{svc}}.tier",
139
+ "style": "bodyEmphasis",
140
+ "maxLines": 1,
141
+ "color": "accentPrimary",
142
+ "collapseWhenEmpty": true
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "id": "{{id}}.card.message",
148
+ "body": {
149
+ "package": "himalaya",
150
+ "type": "Text",
151
+ "props": {
152
+ "text": "$service:{{svc}}.message",
153
+ "style": "body",
154
+ "color": "textSecondary",
155
+ "collapseWhenEmpty": true
156
+ }
157
+ }
158
+ }
159
+ ]
160
+ }
161
+ },
162
+ "modifiers": {
163
+ "hiddenPath": "$service:{{svc}}.noCard"
164
+ }
165
+ }
166
+ ]
167
+ }
168
+ },
169
+ "modifiers": {
170
+ "fillMaxWidth": true
171
+ }
172
+ }
173
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "_recipe": "A page's members as a rail of avatar cards, scrolling sideways (photo, name, the member's first badge; a tap opens the profile) and the empty text. ONE node, always mounted. Service: registerMembersDirectory(svc, { rail: { limit, onlyWithBadges } }).",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerMembersDirectory",
5
+ "id": "unique node id prefix for this section",
6
+ "detailScreen": "member profile screen id, himi_member"
7
+ },
8
+ "node": {
9
+ "id": "{{id}}.members",
10
+ "body": {
11
+ "package": "himalaya",
12
+ "type": "VStack",
13
+ "props": {
14
+ "spacing": 12,
15
+ "alignment": "leading",
16
+ "children": [
17
+ {
18
+ "id": "{{id}}.loading",
19
+ "body": {
20
+ "package": "himalaya",
21
+ "type": "Skeleton",
22
+ "props": {
23
+ "height": 104,
24
+ "count": 1,
25
+ "cornerRadius": 12
26
+ }
27
+ },
28
+ "modifiers": {
29
+ "padding": {
30
+ "leading": 0,
31
+ "trailing": 0,
32
+ "top": 0,
33
+ "bottom": 0
34
+ },
35
+ "hiddenPath": "$service:{{svc}}.notLoading"
36
+ }
37
+ },
38
+ {
39
+ "id": "{{id}}.rail",
40
+ "body": {
41
+ "package": "himalaya",
42
+ "type": "Carousel",
43
+ "props": {
44
+ "itemsPath": "$service:{{svc}}.members",
45
+ "items": [
46
+ {
47
+ "id": "{{id}}.card",
48
+ "body": {
49
+ "package": "himalaya",
50
+ "type": "VStack",
51
+ "props": {
52
+ "spacing": 6,
53
+ "alignment": "center",
54
+ "children": [
55
+ {
56
+ "id": "{{id}}.avatar",
57
+ "body": {
58
+ "package": "himalaya",
59
+ "type": "Image",
60
+ "props": {
61
+ "url": "$item.photo",
62
+ "initials": "$item.initial",
63
+ "width": 64,
64
+ "height": 64,
65
+ "contentMode": "fill",
66
+ "shape": "circle",
67
+ "contentDescription": "$item.name"
68
+ }
69
+ }
70
+ },
71
+ {
72
+ "id": "{{id}}.name",
73
+ "body": {
74
+ "package": "himalaya",
75
+ "type": "Text",
76
+ "props": {
77
+ "text": "$item.name",
78
+ "style": "bodyEmphasis",
79
+ "maxLines": 2
80
+ }
81
+ }
82
+ },
83
+ {
84
+ "id": "{{id}}.badge",
85
+ "body": {
86
+ "package": "himalaya",
87
+ "type": "Text",
88
+ "props": {
89
+ "text": "$item.badge1Label",
90
+ "style": "caption",
91
+ "maxLines": 1,
92
+ "color": "textSecondary"
93
+ }
94
+ },
95
+ "modifiers": {
96
+ "hiddenPath": "$item.noBadge1"
97
+ }
98
+ }
99
+ ]
100
+ }
101
+ },
102
+ "modifiers": {
103
+ "width": 88,
104
+ "onTap": {
105
+ "actionId": "himi.open",
106
+ "params": {
107
+ "screenId": "{{detailScreen}}",
108
+ "id": "$item.id"
109
+ }
110
+ },
111
+ "pressFeedback": "scale",
112
+ "haptic": "light",
113
+ "accessibilityLabel": "$item.name"
114
+ }
115
+ }
116
+ ]
117
+ }
118
+ },
119
+ "modifiers": {
120
+ "hiddenPath": "$service:{{svc}}.noMembers"
121
+ }
122
+ },
123
+ {
124
+ "id": "{{id}}.empty",
125
+ "body": {
126
+ "package": "himalaya",
127
+ "type": "Text",
128
+ "props": {
129
+ "text": "$service:{{svc}}.emptyText",
130
+ "style": "body",
131
+ "maxLines": 1,
132
+ "color": "textSecondary",
133
+ "collapseWhenEmpty": true
134
+ }
135
+ }
136
+ }
137
+ ]
138
+ }
139
+ },
140
+ "modifiers": {
141
+ "fillMaxWidth": true
142
+ }
143
+ }
144
+ }
@@ -0,0 +1,325 @@
1
+ {
2
+ "_recipe": "A page's performance tracker: the signed-in member's progress against a weekly session goal. This week's range, a card with the weekly streak, the all-time sessions and a progress ring of this week's sessions against the goal, then the \"N of G sessions this week\" line, what is left to reach the goal, and a See All button that opens My Bookings. A guest or a refused member gets the sign-in state. The all-time row hides itself (`noTotal`) when the source turns it off; `{{id}}.signin.button` is removed when the scaffold has no sign-in screen. Service: registerPerformanceTrackerSection. Pair with the section-error recipe for a failed read.",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerPerformanceTrackerSection",
5
+ "id": "unique node id prefix for this section",
6
+ "signInScreen": "the screen the sign-in button opens, himi_sign_in",
7
+ "seeAllLabel": "the See All button's label",
8
+ "seeAllScreen": "the bookings screen, himi_bookings: See All and the sign-in return open it"
9
+ },
10
+ "node": {
11
+ "id": "{{id}}.tracker",
12
+ "body": {
13
+ "package": "himalaya",
14
+ "type": "VStack",
15
+ "props": {
16
+ "spacing": 12,
17
+ "alignment": "leading",
18
+ "children": [
19
+ {
20
+ "id": "{{id}}.loading",
21
+ "body": {
22
+ "package": "himalaya",
23
+ "type": "Skeleton",
24
+ "props": {
25
+ "height": 140,
26
+ "count": 1,
27
+ "cornerRadius": 12
28
+ }
29
+ },
30
+ "modifiers": {
31
+ "padding": {
32
+ "leading": 0,
33
+ "trailing": 0,
34
+ "top": 0,
35
+ "bottom": 0
36
+ },
37
+ "hiddenPath": "$service:{{svc}}.notLoading"
38
+ }
39
+ },
40
+ {
41
+ "id": "{{id}}.signin",
42
+ "body": {
43
+ "package": "himalaya",
44
+ "type": "VStack",
45
+ "props": {
46
+ "spacing": 8,
47
+ "alignment": "leading",
48
+ "children": [
49
+ {
50
+ "id": "{{id}}.signin.text",
51
+ "body": {
52
+ "package": "himalaya",
53
+ "type": "Text",
54
+ "props": {
55
+ "text": "Sign in to see your activity in one place.",
56
+ "style": "body",
57
+ "color": "textSecondary"
58
+ }
59
+ }
60
+ },
61
+ {
62
+ "id": "{{id}}.signin.button",
63
+ "body": {
64
+ "package": "himalaya",
65
+ "type": "Button",
66
+ "props": {
67
+ "title": "Sign In",
68
+ "style": "secondary",
69
+ "size": "md",
70
+ "action": {
71
+ "actionId": "himi.open",
72
+ "params": {
73
+ "screenId": "{{signInScreen}}",
74
+ "mode": "signin",
75
+ "returnScreenId": "{{seeAllScreen}}"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ },
84
+ "modifiers": {
85
+ "fillMaxWidth": true,
86
+ "hiddenPath": "$service:{{svc}}.notSignedOut"
87
+ }
88
+ },
89
+ {
90
+ "id": "{{id}}.content",
91
+ "body": {
92
+ "package": "himalaya",
93
+ "type": "VStack",
94
+ "props": {
95
+ "spacing": 12,
96
+ "alignment": "leading",
97
+ "children": [
98
+ {
99
+ "id": "{{id}}.week",
100
+ "body": {
101
+ "package": "himalaya",
102
+ "type": "Text",
103
+ "props": {
104
+ "text": "$service:{{svc}}.weekRange",
105
+ "style": "footnote",
106
+ "color": "textSecondary"
107
+ }
108
+ }
109
+ },
110
+ {
111
+ "id": "{{id}}.card",
112
+ "body": {
113
+ "package": "himalaya",
114
+ "type": "HStack",
115
+ "props": {
116
+ "spacing": 16,
117
+ "alignment": "center",
118
+ "children": [
119
+ {
120
+ "id": "{{id}}.stats",
121
+ "body": {
122
+ "package": "himalaya",
123
+ "type": "VStack",
124
+ "props": {
125
+ "spacing": 12,
126
+ "alignment": "leading",
127
+ "children": [
128
+ {
129
+ "id": "{{id}}.streak",
130
+ "body": {
131
+ "package": "himalaya",
132
+ "type": "VStack",
133
+ "props": {
134
+ "spacing": 2,
135
+ "alignment": "leading",
136
+ "children": [
137
+ {
138
+ "id": "{{id}}.streak.value",
139
+ "body": {
140
+ "package": "himalaya",
141
+ "type": "Text",
142
+ "props": {
143
+ "text": "$service:{{svc}}.streak",
144
+ "style": "display"
145
+ }
146
+ }
147
+ },
148
+ {
149
+ "id": "{{id}}.streak.label",
150
+ "body": {
151
+ "package": "himalaya",
152
+ "type": "Text",
153
+ "props": {
154
+ "text": "$service:{{svc}}.streakLabel",
155
+ "style": "footnote",
156
+ "color": "textSecondary"
157
+ }
158
+ }
159
+ }
160
+ ]
161
+ }
162
+ }
163
+ },
164
+ {
165
+ "id": "{{id}}.total",
166
+ "body": {
167
+ "package": "himalaya",
168
+ "type": "VStack",
169
+ "props": {
170
+ "spacing": 2,
171
+ "alignment": "leading",
172
+ "children": [
173
+ {
174
+ "id": "{{id}}.total.value",
175
+ "body": {
176
+ "package": "himalaya",
177
+ "type": "Text",
178
+ "props": {
179
+ "text": "$service:{{svc}}.total",
180
+ "style": "display"
181
+ }
182
+ }
183
+ },
184
+ {
185
+ "id": "{{id}}.total.label",
186
+ "body": {
187
+ "package": "himalaya",
188
+ "type": "Text",
189
+ "props": {
190
+ "text": "$service:{{svc}}.totalLabel",
191
+ "style": "footnote",
192
+ "color": "textSecondary"
193
+ }
194
+ }
195
+ }
196
+ ]
197
+ }
198
+ },
199
+ "modifiers": {
200
+ "hiddenPath": "$service:{{svc}}.noTotal"
201
+ }
202
+ }
203
+ ]
204
+ }
205
+ },
206
+ "modifiers": {
207
+ "weight": 1
208
+ }
209
+ },
210
+ {
211
+ "id": "{{id}}.ring",
212
+ "body": {
213
+ "package": "himalaya",
214
+ "type": "ZStack",
215
+ "props": {
216
+ "alignment": "center",
217
+ "children": [
218
+ {
219
+ "id": "{{id}}.ring.arc",
220
+ "body": {
221
+ "package": "himalaya",
222
+ "type": "ActivityIndicator",
223
+ "props": {
224
+ "ring": true,
225
+ "size": 88,
226
+ "value": 0,
227
+ "valuePath": "$service:{{svc}}.progress"
228
+ }
229
+ }
230
+ },
231
+ {
232
+ "id": "{{id}}.ring.text",
233
+ "body": {
234
+ "package": "himalaya",
235
+ "type": "Text",
236
+ "props": {
237
+ "text": "$service:{{svc}}.ringText",
238
+ "style": "bodyEmphasis"
239
+ }
240
+ }
241
+ }
242
+ ]
243
+ }
244
+ },
245
+ "modifiers": {
246
+ "accessibilityValue": "$service:{{svc}}.goalLabel"
247
+ }
248
+ }
249
+ ]
250
+ }
251
+ },
252
+ "modifiers": {
253
+ "background": {
254
+ "token": "surfaceElevated"
255
+ },
256
+ "border": {
257
+ "width": 1,
258
+ "color": {
259
+ "token": "border"
260
+ }
261
+ },
262
+ "cornerRadius": 12,
263
+ "padding": {
264
+ "leading": 16,
265
+ "trailing": 16,
266
+ "top": 16,
267
+ "bottom": 16
268
+ },
269
+ "fillMaxWidth": true
270
+ }
271
+ },
272
+ {
273
+ "id": "{{id}}.goal",
274
+ "body": {
275
+ "package": "himalaya",
276
+ "type": "Text",
277
+ "props": {
278
+ "text": "$service:{{svc}}.goalLabel",
279
+ "style": "bodyEmphasis"
280
+ }
281
+ }
282
+ },
283
+ {
284
+ "id": "{{id}}.remaining",
285
+ "body": {
286
+ "package": "himalaya",
287
+ "type": "Text",
288
+ "props": {
289
+ "text": "$service:{{svc}}.remainingLabel",
290
+ "style": "footnote",
291
+ "color": "textSecondary"
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "id": "{{id}}.more",
297
+ "body": {
298
+ "package": "himalaya",
299
+ "type": "Button",
300
+ "props": {
301
+ "title": "{{seeAllLabel}}",
302
+ "style": "secondary",
303
+ "size": "md",
304
+ "fullWidth": true,
305
+ "action": {
306
+ "actionId": "himi.open",
307
+ "params": {
308
+ "screenId": "{{seeAllScreen}}"
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ ]
315
+ }
316
+ },
317
+ "modifiers": {
318
+ "hiddenPath": "$service:{{svc}}.noContent"
319
+ }
320
+ }
321
+ ]
322
+ }
323
+ }
324
+ }
325
+ }