@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,280 @@
1
+ {
2
+ "_recipe": "A page's podcast: the show's header (cover, title, author), its description, the latest episodes as compact rows (thumbnail, title, date and length, a two-line excerpt) and a View all episodes link when the feed has more. A row and the link open the template Podcasts screen, which lists and plays every episode; the generator takes both taps away when that screen shows another feed. ONE node, always mounted. Service: registerPodcastSection(svc, { feedUrl, limit }); a failed read shows the shared section-error piece.",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerPodcastSection",
5
+ "id": "unique node id prefix for this section",
6
+ "episodesScreen": "podcast screen id, himi_podcasts"
7
+ },
8
+ "node": {
9
+ "id": "{{id}}.podcast",
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": 120,
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}}.header",
40
+ "body": {
41
+ "package": "himalaya",
42
+ "type": "HStack",
43
+ "props": {
44
+ "spacing": 12,
45
+ "alignment": "leading",
46
+ "children": [
47
+ {
48
+ "id": "{{id}}.art",
49
+ "body": {
50
+ "package": "himalaya",
51
+ "type": "Image",
52
+ "props": {
53
+ "url": "$service:{{svc}}.podcastImage",
54
+ "initials": "P",
55
+ "width": 120,
56
+ "height": 120,
57
+ "shape": "rounded",
58
+ "contentMode": "fill"
59
+ }
60
+ },
61
+ "modifiers": {
62
+ "hiddenPath": "$service:{{svc}}.noPodcastImage",
63
+ "accessibilityRole": "decorative"
64
+ }
65
+ },
66
+ {
67
+ "id": "{{id}}.show",
68
+ "body": {
69
+ "package": "himalaya",
70
+ "type": "VStack",
71
+ "props": {
72
+ "spacing": 4,
73
+ "alignment": "leading",
74
+ "children": [
75
+ {
76
+ "id": "{{id}}.show_title",
77
+ "body": {
78
+ "package": "himalaya",
79
+ "type": "Text",
80
+ "props": {
81
+ "text": "$service:{{svc}}.podcastTitle",
82
+ "style": "title3",
83
+ "maxLines": 3
84
+ }
85
+ }
86
+ },
87
+ {
88
+ "id": "{{id}}.show_author",
89
+ "body": {
90
+ "package": "himalaya",
91
+ "type": "Text",
92
+ "props": {
93
+ "text": "$service:{{svc}}.podcastAuthor",
94
+ "style": "body",
95
+ "maxLines": 3,
96
+ "color": "textSecondary",
97
+ "collapseWhenEmpty": true
98
+ }
99
+ },
100
+ "modifiers": {
101
+ "hiddenPath": "$service:{{svc}}.noAuthor"
102
+ }
103
+ }
104
+ ]
105
+ }
106
+ },
107
+ "modifiers": {
108
+ "weight": 1
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ },
114
+ "modifiers": {
115
+ "fillMaxWidth": true,
116
+ "hiddenPath": "$service:{{svc}}.noHeader"
117
+ }
118
+ },
119
+ {
120
+ "id": "{{id}}.about",
121
+ "body": {
122
+ "package": "himalaya",
123
+ "type": "Text",
124
+ "props": {
125
+ "text": "$service:{{svc}}.podcastDescription",
126
+ "style": "body",
127
+ "collapseWhenEmpty": true
128
+ }
129
+ },
130
+ "modifiers": {
131
+ "hiddenPath": "$service:{{svc}}.noDescription"
132
+ }
133
+ },
134
+ {
135
+ "id": "{{id}}.list",
136
+ "body": {
137
+ "package": "himalaya",
138
+ "type": "LazyList",
139
+ "props": {
140
+ "spacing": 12,
141
+ "itemsPath": "$service:{{svc}}.rows",
142
+ "items": [
143
+ {
144
+ "id": "{{id}}.row",
145
+ "body": {
146
+ "package": "himalaya",
147
+ "type": "HStack",
148
+ "props": {
149
+ "spacing": 12,
150
+ "alignment": "center",
151
+ "children": [
152
+ {
153
+ "id": "{{id}}.thumb",
154
+ "body": {
155
+ "package": "himalaya",
156
+ "type": "Image",
157
+ "props": {
158
+ "url": "$item.image",
159
+ "initials": "P",
160
+ "width": 56,
161
+ "height": 56,
162
+ "shape": "rounded",
163
+ "contentMode": "fill"
164
+ }
165
+ },
166
+ "modifiers": {
167
+ "hiddenPath": "$item.noImage",
168
+ "accessibilityRole": "decorative"
169
+ }
170
+ },
171
+ {
172
+ "id": "{{id}}.text",
173
+ "body": {
174
+ "package": "himalaya",
175
+ "type": "VStack",
176
+ "props": {
177
+ "spacing": 2,
178
+ "alignment": "leading",
179
+ "children": [
180
+ {
181
+ "id": "{{id}}.title",
182
+ "body": {
183
+ "package": "himalaya",
184
+ "type": "Text",
185
+ "props": {
186
+ "text": "$item.title",
187
+ "style": "bodyEmphasis",
188
+ "maxLines": 2
189
+ }
190
+ }
191
+ },
192
+ {
193
+ "id": "{{id}}.subtitle",
194
+ "body": {
195
+ "package": "himalaya",
196
+ "type": "Text",
197
+ "props": {
198
+ "text": "$item.subtitle",
199
+ "style": "caption",
200
+ "maxLines": 1,
201
+ "color": "textSecondary",
202
+ "collapseWhenEmpty": true
203
+ }
204
+ }
205
+ },
206
+ {
207
+ "id": "{{id}}.blurb",
208
+ "body": {
209
+ "package": "himalaya",
210
+ "type": "Text",
211
+ "props": {
212
+ "text": "$item.description",
213
+ "style": "caption",
214
+ "maxLines": 2,
215
+ "color": "textSecondary",
216
+ "collapseWhenEmpty": true
217
+ }
218
+ },
219
+ "modifiers": {
220
+ "hiddenPath": "$item.noDescription"
221
+ }
222
+ }
223
+ ]
224
+ }
225
+ },
226
+ "modifiers": {
227
+ "weight": 1
228
+ }
229
+ }
230
+ ]
231
+ }
232
+ },
233
+ "modifiers": {
234
+ "fillMaxWidth": true,
235
+ "onTap": {
236
+ "actionId": "himi.open",
237
+ "params": {
238
+ "screenId": "{{episodesScreen}}"
239
+ }
240
+ },
241
+ "pressFeedback": "scale",
242
+ "accessibilityLabel": "$item.title"
243
+ }
244
+ }
245
+ ]
246
+ }
247
+ },
248
+ "modifiers": {
249
+ "hiddenPath": "$service:{{svc}}.noRows"
250
+ }
251
+ },
252
+ {
253
+ "id": "{{id}}.more",
254
+ "body": {
255
+ "package": "himalaya",
256
+ "type": "Button",
257
+ "props": {
258
+ "title": "View all episodes",
259
+ "style": "link",
260
+ "size": "md",
261
+ "action": {
262
+ "actionId": "himi.open",
263
+ "params": {
264
+ "screenId": "{{episodesScreen}}"
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "modifiers": {
270
+ "hiddenPath": "$service:{{svc}}.noMore"
271
+ }
272
+ }
273
+ ]
274
+ }
275
+ },
276
+ "modifiers": {
277
+ "fillMaxWidth": true
278
+ }
279
+ }
280
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "_recipe": "The One App store search section: a search bar that opens the shop (its search field, filters and sort), and an optional filter button that opens the shop too. The bar is a tap target, not a field: the source opens its own search screen from it. ONE node, always mounted; the generator removes the filter button when the source hides sort and filter. No service.",
3
+ "_placeholders": {
4
+ "id": "unique node id prefix for this section",
5
+ "placeholder": "the bar's text: the source's own placeholder, else Search products",
6
+ "shopScreen": "the shop screen the bar and the filter button open, himi_shop",
7
+ "shopAll": "the shop's own All selection: the bar opens the shop on all products"
8
+ },
9
+ "node": {
10
+ "id": "{{id}}.search",
11
+ "body": {
12
+ "package": "himalaya",
13
+ "type": "HStack",
14
+ "props": {
15
+ "spacing": 8,
16
+ "alignment": "center",
17
+ "children": [
18
+ {
19
+ "id": "{{id}}.bar",
20
+ "body": {
21
+ "package": "himalaya",
22
+ "type": "HStack",
23
+ "props": {
24
+ "spacing": 8,
25
+ "alignment": "center",
26
+ "children": [
27
+ {
28
+ "id": "{{id}}.bar.icon",
29
+ "body": {
30
+ "package": "himalaya",
31
+ "type": "Icon",
32
+ "props": {
33
+ "name": "search",
34
+ "size": 18,
35
+ "tint": "textSecondary"
36
+ }
37
+ }
38
+ },
39
+ {
40
+ "id": "{{id}}.bar.text",
41
+ "body": {
42
+ "package": "himalaya",
43
+ "type": "Text",
44
+ "props": {
45
+ "text": "{{placeholder}}",
46
+ "style": "body",
47
+ "maxLines": 1,
48
+ "color": "textSecondary"
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "id": "",
54
+ "body": {
55
+ "package": "himalaya",
56
+ "type": "Spacer",
57
+ "props": {}
58
+ }
59
+ }
60
+ ]
61
+ }
62
+ },
63
+ "modifiers": {
64
+ "weight": 1,
65
+ "background": {
66
+ "token": "surfaceElevated"
67
+ },
68
+ "border": {
69
+ "width": 1,
70
+ "color": {
71
+ "token": "border"
72
+ }
73
+ },
74
+ "cornerRadius": 8,
75
+ "padding": {
76
+ "leading": 12,
77
+ "trailing": 12,
78
+ "top": 12,
79
+ "bottom": 12
80
+ },
81
+ "onTap": {
82
+ "actionId": "himi.open",
83
+ "params": {
84
+ "screenId": "{{shopScreen}}",
85
+ "categoryId": "{{shopAll}}",
86
+ "categoryActivation": "{{id}}"
87
+ }
88
+ },
89
+ "pressFeedback": "scale",
90
+ "haptic": "light",
91
+ "accessibilityRole": "button",
92
+ "accessibilityLabel": "{{placeholder}}"
93
+ }
94
+ },
95
+ {
96
+ "id": "{{id}}.filter",
97
+ "body": {
98
+ "package": "himalaya",
99
+ "type": "ZStack",
100
+ "props": {
101
+ "alignment": "center",
102
+ "children": [
103
+ {
104
+ "id": "{{id}}.filter.icon",
105
+ "body": {
106
+ "package": "himalaya",
107
+ "type": "Icon",
108
+ "props": {
109
+ "name": "filter",
110
+ "size": 20,
111
+ "tint": "textPrimary"
112
+ }
113
+ }
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ "modifiers": {
119
+ "width": 44,
120
+ "height": 44,
121
+ "onTap": {
122
+ "actionId": "himi.open",
123
+ "params": {
124
+ "screenId": "{{shopScreen}}",
125
+ "categoryId": "{{shopAll}}",
126
+ "categoryActivation": "{{id}}"
127
+ }
128
+ },
129
+ "pressFeedback": "scale",
130
+ "haptic": "light",
131
+ "accessibilityRole": "button",
132
+ "accessibilityLabel": "Filter products"
133
+ }
134
+ }
135
+ ]
136
+ }
137
+ }
138
+ }
139
+ }
@@ -0,0 +1,236 @@
1
+ {
2
+ "_recipe": "The One App store wishlist section: the products saved on this device as a two-column grid (image, name, price; a tap opens the product), the source's empty state (a heart, its text and, when the source shows it, a button to the shop) and a See All button to the saved-products screen when more are saved. The One App list is the member's account wishlist, which no worker can read: this one is device-local. ONE node, always mounted. Service: registerSavedProductsSection(svc, { limit }).",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerSavedProductsSection",
5
+ "id": "unique node id prefix for this section",
6
+ "imageMode": "the tile image's content mode: fill (the source's crop) or fit",
7
+ "emptyButton": "the empty state's button label: the source's own text, else Shop now",
8
+ "shopScreen": "the shop screen the empty state's button opens, himi_shop",
9
+ "shopAll": "the shop's own All selection",
10
+ "seeAllLabel": "the See All button's label",
11
+ "seeAllScreen": "the saved-products screen, himi_saved_products"
12
+ },
13
+ "node": {
14
+ "id": "{{id}}.wishlist",
15
+ "body": {
16
+ "package": "himalaya",
17
+ "type": "VStack",
18
+ "props": {
19
+ "spacing": 12,
20
+ "alignment": "leading",
21
+ "children": [
22
+ {
23
+ "id": "{{id}}.loading",
24
+ "body": {
25
+ "package": "himalaya",
26
+ "type": "Skeleton",
27
+ "props": {
28
+ "height": 220,
29
+ "count": 2,
30
+ "cornerRadius": 8
31
+ }
32
+ },
33
+ "modifiers": {
34
+ "padding": {
35
+ "leading": 0,
36
+ "trailing": 0,
37
+ "top": 0,
38
+ "bottom": 0
39
+ },
40
+ "hiddenPath": "$service:{{svc}}.notLoading"
41
+ }
42
+ },
43
+ {
44
+ "id": "{{id}}.grid",
45
+ "body": {
46
+ "package": "himalaya",
47
+ "type": "Grid",
48
+ "props": {
49
+ "columns": 2,
50
+ "spacing": 12,
51
+ "itemsPath": "$service:{{svc}}.rows",
52
+ "items": [
53
+ {
54
+ "id": "{{id}}.tile",
55
+ "body": {
56
+ "package": "himalaya",
57
+ "type": "VStack",
58
+ "props": {
59
+ "spacing": 8,
60
+ "alignment": "leading",
61
+ "children": [
62
+ {
63
+ "id": "",
64
+ "body": {
65
+ "package": "himalaya",
66
+ "type": "Image",
67
+ "props": {
68
+ "url": "$item.image",
69
+ "initials": "$item.initial",
70
+ "fillWidth": true,
71
+ "contentMode": "{{imageMode}}",
72
+ "contentDescription": "$item.name",
73
+ "aspectRatio": 1,
74
+ "shape": "rect"
75
+ }
76
+ },
77
+ "modifiers": {
78
+ "fillMaxWidth": true
79
+ }
80
+ },
81
+ {
82
+ "id": "",
83
+ "body": {
84
+ "package": "himalaya",
85
+ "type": "Text",
86
+ "props": {
87
+ "text": "$item.name",
88
+ "style": "bodyEmphasis",
89
+ "maxLines": 2
90
+ }
91
+ }
92
+ },
93
+ {
94
+ "id": "",
95
+ "body": {
96
+ "package": "himalaya",
97
+ "type": "Text",
98
+ "props": {
99
+ "text": "$item.price",
100
+ "style": "caption",
101
+ "color": "accentPrimary",
102
+ "collapseWhenEmpty": true
103
+ }
104
+ }
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ "modifiers": {
110
+ "fillMaxWidth": true,
111
+ "onTap": {
112
+ "actionId": "himi.open",
113
+ "params": {
114
+ "screenId": "$item.detailScreenId",
115
+ "id": "$item.id"
116
+ }
117
+ },
118
+ "pressFeedback": "scale",
119
+ "haptic": "light",
120
+ "accessibilityLabel": "$item.name"
121
+ }
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ "modifiers": {
127
+ "hiddenPath": "$service:{{svc}}.noRows"
128
+ }
129
+ },
130
+ {
131
+ "id": "{{id}}.empty",
132
+ "body": {
133
+ "package": "himalaya",
134
+ "type": "VStack",
135
+ "props": {
136
+ "spacing": 8,
137
+ "alignment": "center",
138
+ "children": [
139
+ {
140
+ "id": "{{id}}.empty.icon",
141
+ "body": {
142
+ "package": "himalaya",
143
+ "type": "Icon",
144
+ "props": {
145
+ "name": "heart",
146
+ "size": 28,
147
+ "tint": "textSecondary"
148
+ }
149
+ }
150
+ },
151
+ {
152
+ "id": "{{id}}.empty.title",
153
+ "body": {
154
+ "package": "himalaya",
155
+ "type": "Text",
156
+ "props": {
157
+ "text": "Your wishlist is empty",
158
+ "style": "bodyEmphasis",
159
+ "textAlign": "center"
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "id": "{{id}}.empty.text",
165
+ "body": {
166
+ "package": "himalaya",
167
+ "type": "Text",
168
+ "props": {
169
+ "text": "Tap the heart on a product to add it to your wishlist.",
170
+ "style": "footnote",
171
+ "textAlign": "center",
172
+ "color": "textSecondary"
173
+ }
174
+ }
175
+ },
176
+ {
177
+ "id": "{{id}}.empty.shop",
178
+ "body": {
179
+ "package": "himalaya",
180
+ "type": "Button",
181
+ "props": {
182
+ "title": "{{emptyButton}}",
183
+ "style": "primary",
184
+ "size": "md",
185
+ "action": {
186
+ "actionId": "himi.open",
187
+ "params": {
188
+ "screenId": "{{shopScreen}}",
189
+ "categoryId": "{{shopAll}}",
190
+ "categoryActivation": "{{id}}"
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ ]
197
+ }
198
+ },
199
+ "modifiers": {
200
+ "fillMaxWidth": true,
201
+ "padding": {
202
+ "leading": 16,
203
+ "trailing": 16,
204
+ "top": 16,
205
+ "bottom": 16
206
+ },
207
+ "hiddenPath": "$service:{{svc}}.noEmpty"
208
+ }
209
+ },
210
+ {
211
+ "id": "{{id}}.more",
212
+ "body": {
213
+ "package": "himalaya",
214
+ "type": "Button",
215
+ "props": {
216
+ "title": "{{seeAllLabel}}",
217
+ "style": "secondary",
218
+ "size": "md",
219
+ "fullWidth": true,
220
+ "action": {
221
+ "actionId": "himi.open",
222
+ "params": {
223
+ "screenId": "{{seeAllScreen}}"
224
+ }
225
+ }
226
+ }
227
+ },
228
+ "modifiers": {
229
+ "hiddenPath": "$service:{{svc}}.noMore"
230
+ }
231
+ }
232
+ ]
233
+ }
234
+ }
235
+ }
236
+ }