@wix/himalaya-cli 0.1776.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 (358) hide show
  1. package/dist/cli.mjs +456 -69
  2. package/guides/himi-json-output.md +4 -1
  3. package/guides/one-app-section-mappings.md +5 -8
  4. package/guides/one-app-to-himi-app.md +29 -10
  5. package/package.json +2 -2
  6. package/templates/beauty-salon/dev/index.ts +2 -2
  7. package/templates/beauty-salon/l10n/ar.json +5 -0
  8. package/templates/beauty-salon/l10n/cs.json +5 -0
  9. package/templates/beauty-salon/l10n/da.json +5 -0
  10. package/templates/beauty-salon/l10n/de.json +5 -0
  11. package/templates/beauty-salon/l10n/el.json +5 -0
  12. package/templates/beauty-salon/l10n/es.json +5 -0
  13. package/templates/beauty-salon/l10n/fi.json +5 -0
  14. package/templates/beauty-salon/l10n/fr.json +5 -0
  15. package/templates/beauty-salon/l10n/he.json +4 -0
  16. package/templates/beauty-salon/l10n/hu.json +5 -0
  17. package/templates/beauty-salon/l10n/id.json +5 -0
  18. package/templates/beauty-salon/l10n/it.json +5 -0
  19. package/templates/beauty-salon/l10n/ja.json +5 -0
  20. package/templates/beauty-salon/l10n/ko.json +5 -0
  21. package/templates/beauty-salon/l10n/lt.json +5 -0
  22. package/templates/beauty-salon/l10n/nl.json +5 -0
  23. package/templates/beauty-salon/l10n/no.json +5 -0
  24. package/templates/beauty-salon/l10n/pl.json +5 -0
  25. package/templates/beauty-salon/l10n/pt.json +5 -0
  26. package/templates/beauty-salon/l10n/ru.json +5 -0
  27. package/templates/beauty-salon/l10n/sv.json +5 -0
  28. package/templates/beauty-salon/l10n/th.json +5 -0
  29. package/templates/beauty-salon/l10n/tr.json +5 -0
  30. package/templates/beauty-salon/l10n/uk.json +5 -0
  31. package/templates/beauty-salon/l10n/vi.json +5 -0
  32. package/templates/beauty-salon/l10n/zh.json +5 -0
  33. package/templates/beauty-salon/tier5-src/_shared/weekly-goal.ts +7 -3
  34. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +55 -3
  35. package/templates/branded-lite/dev/index.ts +2 -2
  36. package/templates/branded-lite/l10n/ar.json +15 -0
  37. package/templates/branded-lite/l10n/cs.json +15 -0
  38. package/templates/branded-lite/l10n/da.json +15 -0
  39. package/templates/branded-lite/l10n/de.json +15 -0
  40. package/templates/branded-lite/l10n/el.json +15 -0
  41. package/templates/branded-lite/l10n/es.json +15 -0
  42. package/templates/branded-lite/l10n/fi.json +15 -0
  43. package/templates/branded-lite/l10n/fr.json +15 -0
  44. package/templates/branded-lite/l10n/he.json +12 -0
  45. package/templates/branded-lite/l10n/hu.json +15 -0
  46. package/templates/branded-lite/l10n/id.json +15 -0
  47. package/templates/branded-lite/l10n/it.json +15 -0
  48. package/templates/branded-lite/l10n/ja.json +15 -0
  49. package/templates/branded-lite/l10n/ko.json +15 -0
  50. package/templates/branded-lite/l10n/lt.json +15 -0
  51. package/templates/branded-lite/l10n/nl.json +15 -0
  52. package/templates/branded-lite/l10n/no.json +15 -0
  53. package/templates/branded-lite/l10n/pl.json +15 -0
  54. package/templates/branded-lite/l10n/pt.json +15 -0
  55. package/templates/branded-lite/l10n/ru.json +15 -0
  56. package/templates/branded-lite/l10n/sv.json +15 -0
  57. package/templates/branded-lite/l10n/th.json +15 -0
  58. package/templates/branded-lite/l10n/tr.json +15 -0
  59. package/templates/branded-lite/l10n/uk.json +15 -0
  60. package/templates/branded-lite/l10n/vi.json +15 -0
  61. package/templates/branded-lite/l10n/zh.json +15 -0
  62. package/templates/branded-lite/recipes/blog-categories.json +115 -0
  63. package/templates/branded-lite/recipes/event-schedule.json +114 -0
  64. package/templates/branded-lite/recipes/groups-newsfeed.json +245 -0
  65. package/templates/branded-lite/recipes/loyalty-offering.json +241 -0
  66. package/templates/branded-lite/recipes/loyalty-status.json +173 -0
  67. package/templates/branded-lite/recipes/members-carousel.json +144 -0
  68. package/templates/branded-lite/recipes/performance-tracker.json +325 -0
  69. package/templates/branded-lite/recipes/podcasts-widget.json +280 -0
  70. package/templates/branded-lite/recipes/products-search-bar.json +139 -0
  71. package/templates/branded-lite/recipes/wishlist-grid.json +236 -0
  72. package/templates/branded-lite/tier5-src/_shared/blog-categories.ts +62 -0
  73. package/templates/branded-lite/tier5-src/_shared/event-agenda.ts +122 -0
  74. package/templates/branded-lite/tier5-src/_shared/event-schedule-section.ts +91 -0
  75. package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +2 -2
  76. package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +105 -0
  77. package/templates/branded-lite/tier5-src/_shared/loyalty-offering-section.ts +88 -0
  78. package/templates/branded-lite/tier5-src/_shared/loyalty-status-section.ts +88 -0
  79. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +9 -3
  80. package/templates/branded-lite/tier5-src/_shared/performance-tracker-section.ts +120 -0
  81. package/templates/branded-lite/tier5-src/_shared/performance-tracker-weeks.ts +71 -0
  82. package/templates/branded-lite/tier5-src/_shared/podcast-section.ts +131 -0
  83. package/templates/branded-lite/tier5-src/_shared/saved-products-section.ts +64 -0
  84. package/templates/branded-lite/tier5-src/_shared/weekly-goal.ts +7 -3
  85. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +55 -3
  86. package/templates/brandy/tier5-src/himi-store-account/index.ts +55 -3
  87. package/templates/community-club/dev/index.ts +2 -2
  88. package/templates/community-club/l10n/ar.json +5 -0
  89. package/templates/community-club/l10n/cs.json +5 -0
  90. package/templates/community-club/l10n/da.json +5 -0
  91. package/templates/community-club/l10n/de.json +5 -0
  92. package/templates/community-club/l10n/el.json +5 -0
  93. package/templates/community-club/l10n/es.json +5 -0
  94. package/templates/community-club/l10n/fi.json +5 -0
  95. package/templates/community-club/l10n/fr.json +5 -0
  96. package/templates/community-club/l10n/he.json +4 -0
  97. package/templates/community-club/l10n/hu.json +5 -0
  98. package/templates/community-club/l10n/id.json +5 -0
  99. package/templates/community-club/l10n/it.json +5 -0
  100. package/templates/community-club/l10n/ja.json +5 -0
  101. package/templates/community-club/l10n/ko.json +5 -0
  102. package/templates/community-club/l10n/lt.json +5 -0
  103. package/templates/community-club/l10n/nl.json +5 -0
  104. package/templates/community-club/l10n/no.json +5 -0
  105. package/templates/community-club/l10n/pl.json +5 -0
  106. package/templates/community-club/l10n/pt.json +5 -0
  107. package/templates/community-club/l10n/ru.json +5 -0
  108. package/templates/community-club/l10n/sv.json +5 -0
  109. package/templates/community-club/l10n/th.json +5 -0
  110. package/templates/community-club/l10n/tr.json +5 -0
  111. package/templates/community-club/l10n/uk.json +5 -0
  112. package/templates/community-club/l10n/vi.json +5 -0
  113. package/templates/community-club/l10n/zh.json +5 -0
  114. package/templates/community-club/tier5-src/_shared/weekly-goal.ts +7 -3
  115. package/templates/community-club/tier5-src/himi-store-account/index.ts +55 -3
  116. package/templates/conference/tier5-src/himi-store-account/index.ts +55 -3
  117. package/templates/events-meetups/dev/index.ts +2 -2
  118. package/templates/events-meetups/l10n/ar.json +5 -0
  119. package/templates/events-meetups/l10n/cs.json +5 -0
  120. package/templates/events-meetups/l10n/da.json +5 -0
  121. package/templates/events-meetups/l10n/de.json +5 -0
  122. package/templates/events-meetups/l10n/el.json +5 -0
  123. package/templates/events-meetups/l10n/es.json +5 -0
  124. package/templates/events-meetups/l10n/fi.json +5 -0
  125. package/templates/events-meetups/l10n/fr.json +5 -0
  126. package/templates/events-meetups/l10n/he.json +4 -0
  127. package/templates/events-meetups/l10n/hu.json +5 -0
  128. package/templates/events-meetups/l10n/id.json +5 -0
  129. package/templates/events-meetups/l10n/it.json +5 -0
  130. package/templates/events-meetups/l10n/ja.json +5 -0
  131. package/templates/events-meetups/l10n/ko.json +5 -0
  132. package/templates/events-meetups/l10n/lt.json +5 -0
  133. package/templates/events-meetups/l10n/nl.json +5 -0
  134. package/templates/events-meetups/l10n/no.json +5 -0
  135. package/templates/events-meetups/l10n/pl.json +5 -0
  136. package/templates/events-meetups/l10n/pt.json +5 -0
  137. package/templates/events-meetups/l10n/ru.json +5 -0
  138. package/templates/events-meetups/l10n/sv.json +5 -0
  139. package/templates/events-meetups/l10n/th.json +5 -0
  140. package/templates/events-meetups/l10n/tr.json +5 -0
  141. package/templates/events-meetups/l10n/uk.json +5 -0
  142. package/templates/events-meetups/l10n/vi.json +5 -0
  143. package/templates/events-meetups/l10n/zh.json +5 -0
  144. package/templates/events-meetups/tier5-src/_shared/weekly-goal.ts +7 -3
  145. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +55 -3
  146. package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +7 -3
  147. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +55 -3
  148. package/templates/gym-fitness/dev/index.ts +2 -2
  149. package/templates/gym-fitness/l10n/ar.json +5 -0
  150. package/templates/gym-fitness/l10n/cs.json +5 -0
  151. package/templates/gym-fitness/l10n/da.json +5 -0
  152. package/templates/gym-fitness/l10n/de.json +5 -0
  153. package/templates/gym-fitness/l10n/el.json +5 -0
  154. package/templates/gym-fitness/l10n/es.json +5 -0
  155. package/templates/gym-fitness/l10n/fi.json +5 -0
  156. package/templates/gym-fitness/l10n/fr.json +5 -0
  157. package/templates/gym-fitness/l10n/he.json +4 -0
  158. package/templates/gym-fitness/l10n/hu.json +5 -0
  159. package/templates/gym-fitness/l10n/id.json +5 -0
  160. package/templates/gym-fitness/l10n/it.json +5 -0
  161. package/templates/gym-fitness/l10n/ja.json +5 -0
  162. package/templates/gym-fitness/l10n/ko.json +5 -0
  163. package/templates/gym-fitness/l10n/lt.json +5 -0
  164. package/templates/gym-fitness/l10n/nl.json +5 -0
  165. package/templates/gym-fitness/l10n/no.json +5 -0
  166. package/templates/gym-fitness/l10n/pl.json +5 -0
  167. package/templates/gym-fitness/l10n/pt.json +5 -0
  168. package/templates/gym-fitness/l10n/ru.json +5 -0
  169. package/templates/gym-fitness/l10n/sv.json +5 -0
  170. package/templates/gym-fitness/l10n/th.json +5 -0
  171. package/templates/gym-fitness/l10n/tr.json +5 -0
  172. package/templates/gym-fitness/l10n/uk.json +5 -0
  173. package/templates/gym-fitness/l10n/vi.json +5 -0
  174. package/templates/gym-fitness/l10n/zh.json +5 -0
  175. package/templates/gym-fitness/tier5-src/_shared/weekly-goal.ts +7 -3
  176. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +55 -3
  177. package/templates/medical-services/tier5-src/_shared/weekly-goal.ts +7 -3
  178. package/templates/medical-services/tier5-src/himi-store-account/index.ts +55 -3
  179. package/templates/nonprofit-cause/dev/index.ts +2 -2
  180. package/templates/nonprofit-cause/l10n/ar.json +5 -0
  181. package/templates/nonprofit-cause/l10n/cs.json +5 -0
  182. package/templates/nonprofit-cause/l10n/da.json +5 -0
  183. package/templates/nonprofit-cause/l10n/de.json +5 -0
  184. package/templates/nonprofit-cause/l10n/el.json +5 -0
  185. package/templates/nonprofit-cause/l10n/es.json +5 -0
  186. package/templates/nonprofit-cause/l10n/fi.json +5 -0
  187. package/templates/nonprofit-cause/l10n/fr.json +5 -0
  188. package/templates/nonprofit-cause/l10n/he.json +4 -0
  189. package/templates/nonprofit-cause/l10n/hu.json +5 -0
  190. package/templates/nonprofit-cause/l10n/id.json +5 -0
  191. package/templates/nonprofit-cause/l10n/it.json +5 -0
  192. package/templates/nonprofit-cause/l10n/ja.json +5 -0
  193. package/templates/nonprofit-cause/l10n/ko.json +5 -0
  194. package/templates/nonprofit-cause/l10n/lt.json +5 -0
  195. package/templates/nonprofit-cause/l10n/nl.json +5 -0
  196. package/templates/nonprofit-cause/l10n/no.json +5 -0
  197. package/templates/nonprofit-cause/l10n/pl.json +5 -0
  198. package/templates/nonprofit-cause/l10n/pt.json +5 -0
  199. package/templates/nonprofit-cause/l10n/ru.json +5 -0
  200. package/templates/nonprofit-cause/l10n/sv.json +5 -0
  201. package/templates/nonprofit-cause/l10n/th.json +5 -0
  202. package/templates/nonprofit-cause/l10n/tr.json +5 -0
  203. package/templates/nonprofit-cause/l10n/uk.json +5 -0
  204. package/templates/nonprofit-cause/l10n/vi.json +5 -0
  205. package/templates/nonprofit-cause/l10n/zh.json +5 -0
  206. package/templates/nonprofit-cause/tier5-src/_shared/weekly-goal.ts +7 -3
  207. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +55 -3
  208. package/templates/personal-fitness-trainer/dev/index.ts +2 -2
  209. package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +7 -3
  210. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +55 -3
  211. package/templates/podcast-creator/dev/index.ts +2 -2
  212. package/templates/podcast-creator/l10n/ar.json +5 -0
  213. package/templates/podcast-creator/l10n/cs.json +5 -0
  214. package/templates/podcast-creator/l10n/da.json +5 -0
  215. package/templates/podcast-creator/l10n/de.json +5 -0
  216. package/templates/podcast-creator/l10n/el.json +5 -0
  217. package/templates/podcast-creator/l10n/es.json +5 -0
  218. package/templates/podcast-creator/l10n/fi.json +5 -0
  219. package/templates/podcast-creator/l10n/fr.json +5 -0
  220. package/templates/podcast-creator/l10n/he.json +4 -0
  221. package/templates/podcast-creator/l10n/hu.json +5 -0
  222. package/templates/podcast-creator/l10n/id.json +5 -0
  223. package/templates/podcast-creator/l10n/it.json +5 -0
  224. package/templates/podcast-creator/l10n/ja.json +5 -0
  225. package/templates/podcast-creator/l10n/ko.json +5 -0
  226. package/templates/podcast-creator/l10n/lt.json +5 -0
  227. package/templates/podcast-creator/l10n/nl.json +5 -0
  228. package/templates/podcast-creator/l10n/no.json +5 -0
  229. package/templates/podcast-creator/l10n/pl.json +5 -0
  230. package/templates/podcast-creator/l10n/pt.json +5 -0
  231. package/templates/podcast-creator/l10n/ru.json +5 -0
  232. package/templates/podcast-creator/l10n/sv.json +5 -0
  233. package/templates/podcast-creator/l10n/th.json +5 -0
  234. package/templates/podcast-creator/l10n/tr.json +5 -0
  235. package/templates/podcast-creator/l10n/uk.json +5 -0
  236. package/templates/podcast-creator/l10n/vi.json +5 -0
  237. package/templates/podcast-creator/l10n/zh.json +5 -0
  238. package/templates/podcast-creator/tier5-src/_shared/weekly-goal.ts +7 -3
  239. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +55 -3
  240. package/templates/portfolio-creative/dev/index.ts +2 -2
  241. package/templates/portfolio-creative/l10n/ar.json +5 -0
  242. package/templates/portfolio-creative/l10n/cs.json +5 -0
  243. package/templates/portfolio-creative/l10n/da.json +5 -0
  244. package/templates/portfolio-creative/l10n/de.json +5 -0
  245. package/templates/portfolio-creative/l10n/el.json +5 -0
  246. package/templates/portfolio-creative/l10n/es.json +5 -0
  247. package/templates/portfolio-creative/l10n/fi.json +5 -0
  248. package/templates/portfolio-creative/l10n/fr.json +5 -0
  249. package/templates/portfolio-creative/l10n/he.json +4 -0
  250. package/templates/portfolio-creative/l10n/hu.json +5 -0
  251. package/templates/portfolio-creative/l10n/id.json +5 -0
  252. package/templates/portfolio-creative/l10n/it.json +5 -0
  253. package/templates/portfolio-creative/l10n/ja.json +5 -0
  254. package/templates/portfolio-creative/l10n/ko.json +5 -0
  255. package/templates/portfolio-creative/l10n/lt.json +5 -0
  256. package/templates/portfolio-creative/l10n/nl.json +5 -0
  257. package/templates/portfolio-creative/l10n/no.json +5 -0
  258. package/templates/portfolio-creative/l10n/pl.json +5 -0
  259. package/templates/portfolio-creative/l10n/pt.json +5 -0
  260. package/templates/portfolio-creative/l10n/ru.json +5 -0
  261. package/templates/portfolio-creative/l10n/sv.json +5 -0
  262. package/templates/portfolio-creative/l10n/th.json +5 -0
  263. package/templates/portfolio-creative/l10n/tr.json +5 -0
  264. package/templates/portfolio-creative/l10n/uk.json +5 -0
  265. package/templates/portfolio-creative/l10n/vi.json +5 -0
  266. package/templates/portfolio-creative/l10n/zh.json +5 -0
  267. package/templates/portfolio-creative/tier5-src/_shared/weekly-goal.ts +7 -3
  268. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +55 -3
  269. package/templates/restaurant/dev/index.ts +2 -2
  270. package/templates/restaurant/l10n/ar.json +5 -0
  271. package/templates/restaurant/l10n/cs.json +5 -0
  272. package/templates/restaurant/l10n/da.json +5 -0
  273. package/templates/restaurant/l10n/de.json +5 -0
  274. package/templates/restaurant/l10n/el.json +5 -0
  275. package/templates/restaurant/l10n/es.json +5 -0
  276. package/templates/restaurant/l10n/fi.json +5 -0
  277. package/templates/restaurant/l10n/fr.json +5 -0
  278. package/templates/restaurant/l10n/he.json +4 -0
  279. package/templates/restaurant/l10n/hu.json +5 -0
  280. package/templates/restaurant/l10n/id.json +5 -0
  281. package/templates/restaurant/l10n/it.json +5 -0
  282. package/templates/restaurant/l10n/ja.json +5 -0
  283. package/templates/restaurant/l10n/ko.json +5 -0
  284. package/templates/restaurant/l10n/lt.json +5 -0
  285. package/templates/restaurant/l10n/nl.json +5 -0
  286. package/templates/restaurant/l10n/no.json +5 -0
  287. package/templates/restaurant/l10n/pl.json +5 -0
  288. package/templates/restaurant/l10n/pt.json +5 -0
  289. package/templates/restaurant/l10n/ru.json +5 -0
  290. package/templates/restaurant/l10n/sv.json +5 -0
  291. package/templates/restaurant/l10n/th.json +5 -0
  292. package/templates/restaurant/l10n/tr.json +5 -0
  293. package/templates/restaurant/l10n/uk.json +5 -0
  294. package/templates/restaurant/l10n/vi.json +5 -0
  295. package/templates/restaurant/l10n/zh.json +5 -0
  296. package/templates/restaurant/tier5-src/_shared/weekly-goal.ts +7 -3
  297. package/templates/restaurant/tier5-src/himi-store-account/index.ts +55 -3
  298. package/templates/retail-store/dev/index.ts +2 -2
  299. package/templates/retail-store/l10n/ar.json +5 -0
  300. package/templates/retail-store/l10n/cs.json +5 -0
  301. package/templates/retail-store/l10n/da.json +5 -0
  302. package/templates/retail-store/l10n/de.json +5 -0
  303. package/templates/retail-store/l10n/el.json +5 -0
  304. package/templates/retail-store/l10n/es.json +5 -0
  305. package/templates/retail-store/l10n/fi.json +5 -0
  306. package/templates/retail-store/l10n/fr.json +5 -0
  307. package/templates/retail-store/l10n/he.json +4 -0
  308. package/templates/retail-store/l10n/hu.json +5 -0
  309. package/templates/retail-store/l10n/id.json +5 -0
  310. package/templates/retail-store/l10n/it.json +5 -0
  311. package/templates/retail-store/l10n/ja.json +5 -0
  312. package/templates/retail-store/l10n/ko.json +5 -0
  313. package/templates/retail-store/l10n/lt.json +5 -0
  314. package/templates/retail-store/l10n/nl.json +5 -0
  315. package/templates/retail-store/l10n/no.json +5 -0
  316. package/templates/retail-store/l10n/pl.json +5 -0
  317. package/templates/retail-store/l10n/pt.json +5 -0
  318. package/templates/retail-store/l10n/ru.json +5 -0
  319. package/templates/retail-store/l10n/sv.json +5 -0
  320. package/templates/retail-store/l10n/th.json +5 -0
  321. package/templates/retail-store/l10n/tr.json +5 -0
  322. package/templates/retail-store/l10n/uk.json +5 -0
  323. package/templates/retail-store/l10n/vi.json +5 -0
  324. package/templates/retail-store/l10n/zh.json +5 -0
  325. package/templates/retail-store/tier5-src/_shared/weekly-goal.ts +7 -3
  326. package/templates/retail-store/tier5-src/himi-store-account/index.ts +55 -3
  327. package/templates/salon-spa/tier5-src/_shared/weekly-goal.ts +7 -3
  328. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +55 -3
  329. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +55 -3
  330. package/templates/yoga-studio/dev/index.ts +2 -2
  331. package/templates/yoga-studio/l10n/ar.json +5 -0
  332. package/templates/yoga-studio/l10n/cs.json +5 -0
  333. package/templates/yoga-studio/l10n/da.json +5 -0
  334. package/templates/yoga-studio/l10n/de.json +5 -0
  335. package/templates/yoga-studio/l10n/el.json +5 -0
  336. package/templates/yoga-studio/l10n/es.json +5 -0
  337. package/templates/yoga-studio/l10n/fi.json +5 -0
  338. package/templates/yoga-studio/l10n/fr.json +5 -0
  339. package/templates/yoga-studio/l10n/he.json +4 -0
  340. package/templates/yoga-studio/l10n/hu.json +5 -0
  341. package/templates/yoga-studio/l10n/id.json +5 -0
  342. package/templates/yoga-studio/l10n/it.json +5 -0
  343. package/templates/yoga-studio/l10n/ja.json +5 -0
  344. package/templates/yoga-studio/l10n/ko.json +5 -0
  345. package/templates/yoga-studio/l10n/lt.json +5 -0
  346. package/templates/yoga-studio/l10n/nl.json +5 -0
  347. package/templates/yoga-studio/l10n/no.json +5 -0
  348. package/templates/yoga-studio/l10n/pl.json +5 -0
  349. package/templates/yoga-studio/l10n/pt.json +5 -0
  350. package/templates/yoga-studio/l10n/ru.json +5 -0
  351. package/templates/yoga-studio/l10n/sv.json +5 -0
  352. package/templates/yoga-studio/l10n/th.json +5 -0
  353. package/templates/yoga-studio/l10n/tr.json +5 -0
  354. package/templates/yoga-studio/l10n/uk.json +5 -0
  355. package/templates/yoga-studio/l10n/vi.json +5 -0
  356. package/templates/yoga-studio/l10n/zh.json +5 -0
  357. package/templates/yoga-studio/tier5-src/_shared/weekly-goal.ts +7 -3
  358. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +55 -3
@@ -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
+ }
@@ -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
+ }