@wix/himalaya-cli 0.1741.0 → 0.1742.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 (287) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +7 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/pricing-plans/src/index.d.ts +6 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +6 -0
  4. package/dist/cli.mjs +161 -73
  5. package/guides/getting-started.md +18 -7
  6. package/guides/himi-json-output.md +11 -0
  7. package/guides/himi-skill.md +18 -7
  8. package/guides/sdk-reference.json +11 -2
  9. package/guides/skill.md +24 -13
  10. package/package.json +2 -2
  11. package/templates/beauty-salon/l10n/en.json +55 -0
  12. package/templates/beauty-salon/l10n/fr.json +297 -0
  13. package/templates/beauty-salon/l10n/he.json +319 -0
  14. package/templates/beauty-salon/recipes/blog-list-thumb-start.json +364 -0
  15. package/templates/beauty-salon/recipes/blog-list.json +364 -0
  16. package/templates/beauty-salon/recipes/blog-see-all.json +50 -0
  17. package/templates/beauty-salon/recipes/events-inline-list.json +203 -0
  18. package/templates/beauty-salon/recipes/events-inline.json +284 -0
  19. package/templates/beauty-salon/recipes/members-list.json +445 -0
  20. package/templates/beauty-salon/recipes/plans-card.json +811 -0
  21. package/templates/beauty-salon/recipes/programs-card.json +254 -0
  22. package/templates/beauty-salon/recipes/programs-carousel.json +234 -0
  23. package/templates/beauty-salon/recipes/section-error.json +58 -0
  24. package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +207 -0
  25. package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +86 -0
  26. package/templates/beauty-salon/tier5-src/_shared/events-card.ts +33 -0
  27. package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +25 -0
  28. package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +82 -0
  29. package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +34 -0
  30. package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +167 -0
  31. package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +39 -0
  32. package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +267 -0
  33. package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +87 -0
  34. package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +106 -0
  35. package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +728 -0
  36. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  37. package/templates/branded-lite/l10n/fr.json +10 -0
  38. package/templates/branded-lite/l10n/he.json +88 -0
  39. package/templates/branded-lite/recipes/blog-list-thumb-start.json +364 -0
  40. package/templates/branded-lite/recipes/blog-list.json +364 -0
  41. package/templates/branded-lite/recipes/blog-see-all.json +50 -0
  42. package/templates/branded-lite/recipes/events-inline-list.json +203 -0
  43. package/templates/branded-lite/recipes/events-inline.json +284 -0
  44. package/templates/branded-lite/recipes/members-list.json +445 -0
  45. package/templates/branded-lite/recipes/plans-card.json +811 -0
  46. package/templates/branded-lite/recipes/programs-card.json +254 -0
  47. package/templates/branded-lite/recipes/programs-carousel.json +234 -0
  48. package/templates/branded-lite/recipes/section-error.json +58 -0
  49. package/templates/branded-lite/tier5-src/_shared/blog-list.ts +207 -0
  50. package/templates/branded-lite/tier5-src/_shared/events-card.ts +33 -0
  51. package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +25 -0
  52. package/templates/branded-lite/tier5-src/_shared/events-inline.ts +82 -0
  53. package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +1 -1
  54. package/templates/branded-lite/tier5-src/_shared/members-directory-view.ts +39 -0
  55. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +267 -0
  56. package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +87 -0
  57. package/templates/branded-lite/tier5-src/_shared/plans-section.ts +106 -0
  58. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +728 -0
  59. package/templates/branded-lite/tier5-src/_shared/relative-time.ts +21 -0
  60. package/templates/community-club/l10n/en.json +45 -0
  61. package/templates/community-club/l10n/fr.json +292 -0
  62. package/templates/community-club/l10n/he.json +315 -0
  63. package/templates/community-club/recipes/blog-list-thumb-start.json +364 -0
  64. package/templates/community-club/recipes/blog-list.json +364 -0
  65. package/templates/community-club/recipes/blog-see-all.json +50 -0
  66. package/templates/community-club/recipes/events-inline-list.json +203 -0
  67. package/templates/community-club/recipes/events-inline.json +284 -0
  68. package/templates/community-club/recipes/members-list.json +445 -0
  69. package/templates/community-club/recipes/plans-card.json +811 -0
  70. package/templates/community-club/recipes/programs-card.json +254 -0
  71. package/templates/community-club/recipes/programs-carousel.json +234 -0
  72. package/templates/community-club/recipes/section-error.json +58 -0
  73. package/templates/community-club/tier5-src/_shared/blog-list.ts +207 -0
  74. package/templates/community-club/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/community-club/tier5-src/_shared/events-card.ts +33 -0
  76. package/templates/community-club/tier5-src/_shared/events-inline-options.ts +25 -0
  77. package/templates/community-club/tier5-src/_shared/events-inline.ts +82 -0
  78. package/templates/community-club/tier5-src/_shared/member-activity.ts +34 -0
  79. package/templates/community-club/tier5-src/_shared/member-row-extras.ts +167 -0
  80. package/templates/community-club/tier5-src/_shared/members-directory-view.ts +39 -0
  81. package/templates/community-club/tier5-src/_shared/members-directory.ts +267 -0
  82. package/templates/community-club/tier5-src/_shared/plan-facts.ts +87 -0
  83. package/templates/community-club/tier5-src/_shared/plans-section.ts +106 -0
  84. package/templates/community-club/tier5-src/_shared/programs-section.ts +728 -0
  85. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  86. package/templates/events-meetups/l10n/en.json +45 -0
  87. package/templates/events-meetups/l10n/fr.json +292 -0
  88. package/templates/events-meetups/l10n/he.json +315 -0
  89. package/templates/events-meetups/recipes/blog-list-thumb-start.json +364 -0
  90. package/templates/events-meetups/recipes/blog-list.json +364 -0
  91. package/templates/events-meetups/recipes/blog-see-all.json +50 -0
  92. package/templates/events-meetups/recipes/events-inline-list.json +203 -0
  93. package/templates/events-meetups/recipes/events-inline.json +284 -0
  94. package/templates/events-meetups/recipes/members-list.json +445 -0
  95. package/templates/events-meetups/recipes/plans-card.json +811 -0
  96. package/templates/events-meetups/recipes/programs-card.json +254 -0
  97. package/templates/events-meetups/recipes/programs-carousel.json +234 -0
  98. package/templates/events-meetups/recipes/section-error.json +58 -0
  99. package/templates/events-meetups/tier5-src/_shared/blog-list.ts +207 -0
  100. package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +51 -0
  101. package/templates/events-meetups/tier5-src/_shared/events-card.ts +33 -0
  102. package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +25 -0
  103. package/templates/events-meetups/tier5-src/_shared/events-inline.ts +82 -0
  104. package/templates/events-meetups/tier5-src/_shared/member-activity.ts +34 -0
  105. package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +167 -0
  106. package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +39 -0
  107. package/templates/events-meetups/tier5-src/_shared/members-directory.ts +267 -0
  108. package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +87 -0
  109. package/templates/events-meetups/tier5-src/_shared/plans-section.ts +106 -0
  110. package/templates/events-meetups/tier5-src/_shared/programs-section.ts +728 -0
  111. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  112. package/templates/gym-fitness/l10n/en.json +45 -0
  113. package/templates/gym-fitness/l10n/fr.json +282 -0
  114. package/templates/gym-fitness/l10n/he.json +307 -0
  115. package/templates/gym-fitness/recipes/blog-list-thumb-start.json +364 -0
  116. package/templates/gym-fitness/recipes/blog-list.json +364 -0
  117. package/templates/gym-fitness/recipes/blog-see-all.json +50 -0
  118. package/templates/gym-fitness/recipes/events-inline-list.json +203 -0
  119. package/templates/gym-fitness/recipes/events-inline.json +284 -0
  120. package/templates/gym-fitness/recipes/members-list.json +445 -0
  121. package/templates/gym-fitness/recipes/plans-card.json +811 -0
  122. package/templates/gym-fitness/recipes/programs-card.json +254 -0
  123. package/templates/gym-fitness/recipes/programs-carousel.json +234 -0
  124. package/templates/gym-fitness/recipes/section-error.json +58 -0
  125. package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +207 -0
  126. package/templates/gym-fitness/tier5-src/_shared/events-card.ts +33 -0
  127. package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +25 -0
  128. package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +82 -0
  129. package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +34 -0
  130. package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +167 -0
  131. package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +39 -0
  132. package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +267 -0
  133. package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +87 -0
  134. package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +106 -0
  135. package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +728 -0
  136. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  137. package/templates/nonprofit-cause/l10n/en.json +45 -0
  138. package/templates/nonprofit-cause/l10n/fr.json +267 -0
  139. package/templates/nonprofit-cause/l10n/he.json +295 -0
  140. package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +364 -0
  141. package/templates/nonprofit-cause/recipes/blog-list.json +364 -0
  142. package/templates/nonprofit-cause/recipes/blog-see-all.json +50 -0
  143. package/templates/nonprofit-cause/recipes/events-inline-list.json +203 -0
  144. package/templates/nonprofit-cause/recipes/events-inline.json +284 -0
  145. package/templates/nonprofit-cause/recipes/members-list.json +445 -0
  146. package/templates/nonprofit-cause/recipes/plans-card.json +811 -0
  147. package/templates/nonprofit-cause/recipes/programs-card.json +254 -0
  148. package/templates/nonprofit-cause/recipes/programs-carousel.json +234 -0
  149. package/templates/nonprofit-cause/recipes/section-error.json +58 -0
  150. package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +207 -0
  151. package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +33 -0
  152. package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +25 -0
  153. package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +82 -0
  154. package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +34 -0
  155. package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +167 -0
  156. package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +39 -0
  157. package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +267 -0
  158. package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +87 -0
  159. package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +106 -0
  160. package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +728 -0
  161. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  162. package/templates/podcast-creator/l10n/en.json +45 -0
  163. package/templates/podcast-creator/l10n/fr.json +287 -0
  164. package/templates/podcast-creator/l10n/he.json +311 -0
  165. package/templates/podcast-creator/recipes/blog-list-thumb-start.json +364 -0
  166. package/templates/podcast-creator/recipes/blog-list.json +364 -0
  167. package/templates/podcast-creator/recipes/blog-see-all.json +50 -0
  168. package/templates/podcast-creator/recipes/events-inline-list.json +203 -0
  169. package/templates/podcast-creator/recipes/events-inline.json +284 -0
  170. package/templates/podcast-creator/recipes/members-list.json +445 -0
  171. package/templates/podcast-creator/recipes/plans-card.json +811 -0
  172. package/templates/podcast-creator/recipes/programs-card.json +254 -0
  173. package/templates/podcast-creator/recipes/programs-carousel.json +234 -0
  174. package/templates/podcast-creator/recipes/section-error.json +58 -0
  175. package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +207 -0
  176. package/templates/podcast-creator/tier5-src/_shared/events-card.ts +33 -0
  177. package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +25 -0
  178. package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +82 -0
  179. package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +34 -0
  180. package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +167 -0
  181. package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +39 -0
  182. package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +267 -0
  183. package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +87 -0
  184. package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +106 -0
  185. package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +728 -0
  186. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  187. package/templates/portfolio-creative/l10n/en.json +45 -0
  188. package/templates/portfolio-creative/l10n/fr.json +317 -0
  189. package/templates/portfolio-creative/l10n/he.json +335 -0
  190. package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +364 -0
  191. package/templates/portfolio-creative/recipes/blog-list.json +364 -0
  192. package/templates/portfolio-creative/recipes/blog-see-all.json +50 -0
  193. package/templates/portfolio-creative/recipes/events-inline-list.json +203 -0
  194. package/templates/portfolio-creative/recipes/events-inline.json +284 -0
  195. package/templates/portfolio-creative/recipes/members-list.json +445 -0
  196. package/templates/portfolio-creative/recipes/plans-card.json +811 -0
  197. package/templates/portfolio-creative/recipes/programs-card.json +254 -0
  198. package/templates/portfolio-creative/recipes/programs-carousel.json +234 -0
  199. package/templates/portfolio-creative/recipes/section-error.json +58 -0
  200. package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +207 -0
  201. package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +33 -0
  202. package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +25 -0
  203. package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +82 -0
  204. package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +34 -0
  205. package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +167 -0
  206. package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +39 -0
  207. package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +267 -0
  208. package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +87 -0
  209. package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +106 -0
  210. package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +728 -0
  211. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  212. package/templates/restaurant/l10n/en.json +45 -0
  213. package/templates/restaurant/l10n/fr.json +317 -0
  214. package/templates/restaurant/l10n/he.json +335 -0
  215. package/templates/restaurant/recipes/blog-list-thumb-start.json +364 -0
  216. package/templates/restaurant/recipes/blog-list.json +364 -0
  217. package/templates/restaurant/recipes/blog-see-all.json +50 -0
  218. package/templates/restaurant/recipes/events-inline-list.json +203 -0
  219. package/templates/restaurant/recipes/events-inline.json +284 -0
  220. package/templates/restaurant/recipes/members-list.json +445 -0
  221. package/templates/restaurant/recipes/plans-card.json +811 -0
  222. package/templates/restaurant/recipes/programs-card.json +254 -0
  223. package/templates/restaurant/recipes/programs-carousel.json +234 -0
  224. package/templates/restaurant/recipes/section-error.json +58 -0
  225. package/templates/restaurant/tier5-src/_shared/blog-list.ts +207 -0
  226. package/templates/restaurant/tier5-src/_shared/events-card.ts +33 -0
  227. package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +25 -0
  228. package/templates/restaurant/tier5-src/_shared/events-inline.ts +82 -0
  229. package/templates/restaurant/tier5-src/_shared/member-activity.ts +34 -0
  230. package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +167 -0
  231. package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +39 -0
  232. package/templates/restaurant/tier5-src/_shared/members-directory.ts +267 -0
  233. package/templates/restaurant/tier5-src/_shared/plan-facts.ts +87 -0
  234. package/templates/restaurant/tier5-src/_shared/plans-section.ts +106 -0
  235. package/templates/restaurant/tier5-src/_shared/programs-section.ts +728 -0
  236. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  237. package/templates/retail-store/l10n/en.json +60 -0
  238. package/templates/retail-store/l10n/fr.json +342 -0
  239. package/templates/retail-store/l10n/he.json +355 -0
  240. package/templates/retail-store/recipes/blog-list-thumb-start.json +364 -0
  241. package/templates/retail-store/recipes/blog-list.json +364 -0
  242. package/templates/retail-store/recipes/blog-see-all.json +50 -0
  243. package/templates/retail-store/recipes/events-inline-list.json +203 -0
  244. package/templates/retail-store/recipes/events-inline.json +284 -0
  245. package/templates/retail-store/recipes/members-list.json +445 -0
  246. package/templates/retail-store/recipes/plans-card.json +811 -0
  247. package/templates/retail-store/recipes/programs-card.json +254 -0
  248. package/templates/retail-store/recipes/programs-carousel.json +234 -0
  249. package/templates/retail-store/recipes/section-error.json +58 -0
  250. package/templates/retail-store/tier5-src/_shared/blog-list.ts +207 -0
  251. package/templates/retail-store/tier5-src/_shared/event-registration.ts +86 -0
  252. package/templates/retail-store/tier5-src/_shared/events-card.ts +33 -0
  253. package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +25 -0
  254. package/templates/retail-store/tier5-src/_shared/events-inline.ts +82 -0
  255. package/templates/retail-store/tier5-src/_shared/member-activity.ts +34 -0
  256. package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +167 -0
  257. package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +39 -0
  258. package/templates/retail-store/tier5-src/_shared/members-directory.ts +267 -0
  259. package/templates/retail-store/tier5-src/_shared/plan-facts.ts +87 -0
  260. package/templates/retail-store/tier5-src/_shared/plans-section.ts +106 -0
  261. package/templates/retail-store/tier5-src/_shared/programs-section.ts +728 -0
  262. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  263. package/templates/yoga-studio/l10n/en.json +24 -0
  264. package/templates/yoga-studio/l10n/fr.json +64 -0
  265. package/templates/yoga-studio/l10n/he.json +132 -0
  266. package/templates/yoga-studio/recipes/blog-list-thumb-start.json +364 -0
  267. package/templates/yoga-studio/recipes/blog-list.json +364 -0
  268. package/templates/yoga-studio/recipes/blog-see-all.json +50 -0
  269. package/templates/yoga-studio/recipes/events-inline-list.json +203 -0
  270. package/templates/yoga-studio/recipes/events-inline.json +284 -0
  271. package/templates/yoga-studio/recipes/members-list.json +445 -0
  272. package/templates/yoga-studio/recipes/plans-card.json +811 -0
  273. package/templates/yoga-studio/recipes/programs-card.json +254 -0
  274. package/templates/yoga-studio/recipes/programs-carousel.json +234 -0
  275. package/templates/yoga-studio/recipes/section-error.json +58 -0
  276. package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +207 -0
  277. package/templates/yoga-studio/tier5-src/_shared/events-card.ts +33 -0
  278. package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +25 -0
  279. package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +82 -0
  280. package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +34 -0
  281. package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +167 -0
  282. package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +39 -0
  283. package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +267 -0
  284. package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +87 -0
  285. package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +106 -0
  286. package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +728 -0
  287. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
@@ -0,0 +1,364 @@
1
+ {
2
+ "_recipe": "Blog post list, thumbnail at the END (the native list default). ROOT-LEVEL siblings: a paged list must be a direct child of the page's root stack.",
3
+ "_placeholders": {
4
+ "svc": "service name registered with registerBlogList",
5
+ "id": "unique node id prefix for this section",
6
+ "detailScreen": "blog post screen id, himi_blog_post"
7
+ },
8
+ "nodes": [
9
+ {
10
+ "id": "{{id}}.loading",
11
+ "body": {
12
+ "package": "himalaya",
13
+ "type": "Skeleton",
14
+ "props": {
15
+ "height": 84,
16
+ "count": 4,
17
+ "cornerRadius": 12
18
+ }
19
+ },
20
+ "modifiers": {
21
+ "padding": {
22
+ "leading": 0,
23
+ "trailing": 0,
24
+ "top": 0,
25
+ "bottom": 0
26
+ },
27
+ "hiddenPath": "$service:{{svc}}.notLoading"
28
+ }
29
+ },
30
+ {
31
+ "id": "{{id}}.error",
32
+ "body": {
33
+ "package": "himalaya",
34
+ "type": "VStack",
35
+ "props": {
36
+ "spacing": 8,
37
+ "alignment": "leading",
38
+ "children": [
39
+ {
40
+ "id": "{{id}}.error.text",
41
+ "body": {
42
+ "package": "himalaya",
43
+ "type": "Text",
44
+ "props": {
45
+ "text": "We couldn't load these posts.",
46
+ "style": "bodyEmphasis",
47
+ "maxLines": 1
48
+ }
49
+ }
50
+ },
51
+ {
52
+ "id": "{{id}}.retry",
53
+ "body": {
54
+ "package": "himalaya",
55
+ "type": "Button",
56
+ "props": {
57
+ "title": "Try again",
58
+ "style": "secondary",
59
+ "size": "sm",
60
+ "fullWidth": false,
61
+ "action": {
62
+ "actionId": "tier5.{{svc}}.retry"
63
+ }
64
+ }
65
+ }
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ "modifiers": {
71
+ "padding": {
72
+ "leading": 0,
73
+ "trailing": 0,
74
+ "top": 0,
75
+ "bottom": 0
76
+ },
77
+ "hiddenPath": "$service:{{svc}}.notErrored"
78
+ }
79
+ },
80
+ {
81
+ "id": "{{id}}.list",
82
+ "body": {
83
+ "package": "himalaya",
84
+ "type": "LazyList",
85
+ "props": {
86
+ "itemsPath": "$service:{{svc}}.rows",
87
+ "items": [
88
+ {
89
+ "id": "{{id}}",
90
+ "body": {
91
+ "package": "himalaya",
92
+ "type": "HStack",
93
+ "props": {
94
+ "spacing": 12,
95
+ "alignment": "leading",
96
+ "children": [
97
+ {
98
+ "id": "{{id}}.text",
99
+ "body": {
100
+ "package": "himalaya",
101
+ "type": "VStack",
102
+ "props": {
103
+ "spacing": 4,
104
+ "alignment": "leading",
105
+ "children": [
106
+ {
107
+ "id": "{{id}}.title",
108
+ "body": {
109
+ "package": "himalaya",
110
+ "type": "Text",
111
+ "props": {
112
+ "text": "$item.title",
113
+ "style": "bodyEmphasis",
114
+ "maxLines": 3
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "id": "{{id}}.author",
120
+ "body": {
121
+ "package": "himalaya",
122
+ "type": "Text",
123
+ "props": {
124
+ "text": "$item.authorName",
125
+ "style": "caption",
126
+ "maxLines": 1
127
+ }
128
+ },
129
+ "modifiers": {
130
+ "hiddenPath": "$item.noAuthor"
131
+ }
132
+ },
133
+ {
134
+ "id": "{{id}}.meta",
135
+ "body": {
136
+ "package": "himalaya",
137
+ "type": "Text",
138
+ "props": {
139
+ "text": "$item.meta",
140
+ "style": "caption",
141
+ "maxLines": 1,
142
+ "color": "textSecondary",
143
+ "collapseWhenEmpty": true
144
+ }
145
+ }
146
+ },
147
+ {
148
+ "id": "{{id}}.counts",
149
+ "body": {
150
+ "package": "himalaya",
151
+ "type": "HStack",
152
+ "props": {
153
+ "spacing": 12,
154
+ "alignment": "center",
155
+ "children": [
156
+ {
157
+ "id": "",
158
+ "body": {
159
+ "package": "himalaya",
160
+ "type": "HStack",
161
+ "props": {
162
+ "spacing": 4,
163
+ "alignment": "center",
164
+ "children": [
165
+ {
166
+ "id": "",
167
+ "body": {
168
+ "package": "himalaya",
169
+ "type": "Icon",
170
+ "props": {
171
+ "name": "$item.count1Icon",
172
+ "size": 14,
173
+ "tint": "textSecondary"
174
+ }
175
+ }
176
+ },
177
+ {
178
+ "id": "",
179
+ "body": {
180
+ "package": "himalaya",
181
+ "type": "Text",
182
+ "props": {
183
+ "text": "$item.count1Text",
184
+ "style": "caption",
185
+ "maxLines": 1,
186
+ "color": "textSecondary"
187
+ }
188
+ }
189
+ }
190
+ ]
191
+ }
192
+ },
193
+ "modifiers": {
194
+ "hiddenPath": "$item.noCount1"
195
+ }
196
+ },
197
+ {
198
+ "id": "",
199
+ "body": {
200
+ "package": "himalaya",
201
+ "type": "HStack",
202
+ "props": {
203
+ "spacing": 4,
204
+ "alignment": "center",
205
+ "children": [
206
+ {
207
+ "id": "",
208
+ "body": {
209
+ "package": "himalaya",
210
+ "type": "Icon",
211
+ "props": {
212
+ "name": "$item.count2Icon",
213
+ "size": 14,
214
+ "tint": "textSecondary"
215
+ }
216
+ }
217
+ },
218
+ {
219
+ "id": "",
220
+ "body": {
221
+ "package": "himalaya",
222
+ "type": "Text",
223
+ "props": {
224
+ "text": "$item.count2Text",
225
+ "style": "caption",
226
+ "maxLines": 1,
227
+ "color": "textSecondary"
228
+ }
229
+ }
230
+ }
231
+ ]
232
+ }
233
+ },
234
+ "modifiers": {
235
+ "hiddenPath": "$item.noCount2"
236
+ }
237
+ },
238
+ {
239
+ "id": "",
240
+ "body": {
241
+ "package": "himalaya",
242
+ "type": "HStack",
243
+ "props": {
244
+ "spacing": 4,
245
+ "alignment": "center",
246
+ "children": [
247
+ {
248
+ "id": "",
249
+ "body": {
250
+ "package": "himalaya",
251
+ "type": "Icon",
252
+ "props": {
253
+ "name": "$item.count3Icon",
254
+ "size": 14,
255
+ "tint": "textSecondary"
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "id": "",
261
+ "body": {
262
+ "package": "himalaya",
263
+ "type": "Text",
264
+ "props": {
265
+ "text": "$item.count3Text",
266
+ "style": "caption",
267
+ "maxLines": 1,
268
+ "color": "textSecondary"
269
+ }
270
+ }
271
+ }
272
+ ]
273
+ }
274
+ },
275
+ "modifiers": {
276
+ "hiddenPath": "$item.noCount3"
277
+ }
278
+ }
279
+ ]
280
+ }
281
+ },
282
+ "modifiers": {
283
+ "hiddenPath": "$item.noCounts"
284
+ }
285
+ }
286
+ ]
287
+ }
288
+ },
289
+ "modifiers": {
290
+ "weight": 1
291
+ }
292
+ },
293
+ {
294
+ "id": "{{id}}.cover",
295
+ "body": {
296
+ "package": "himalaya",
297
+ "type": "Image",
298
+ "props": {
299
+ "url": "$item.cover",
300
+ "initials": "$item.initial",
301
+ "width": 96,
302
+ "height": 72,
303
+ "shape": "rounded",
304
+ "contentMode": "fill",
305
+ "contentDescription": "$item.title"
306
+ }
307
+ },
308
+ "modifiers": {
309
+ "hiddenPath": "$item.noCover"
310
+ }
311
+ }
312
+ ]
313
+ }
314
+ },
315
+ "modifiers": {
316
+ "onTap": {
317
+ "actionId": "himi.open",
318
+ "params": {
319
+ "screenId": "{{detailScreen}}",
320
+ "id": "$item.id"
321
+ }
322
+ },
323
+ "pressFeedback": "scale",
324
+ "accessibilityLabel": "$item.title"
325
+ }
326
+ }
327
+ ],
328
+ "spacing": 16,
329
+ "pagination": {
330
+ "cursor": "$service:{{svc}}.nextCursor",
331
+ "onLoadMore": {
332
+ "actionId": "tier5.{{svc}}.loadMore"
333
+ },
334
+ "pageSize": 20
335
+ }
336
+ }
337
+ },
338
+ "modifiers": {
339
+ "padding": {
340
+ "leading": 0,
341
+ "trailing": 0,
342
+ "top": 0,
343
+ "bottom": 0
344
+ }
345
+ }
346
+ },
347
+ {
348
+ "id": "{{id}}.empty",
349
+ "body": {
350
+ "package": "himalaya",
351
+ "type": "Text",
352
+ "props": {
353
+ "text": "No posts yet.",
354
+ "style": "body",
355
+ "maxLines": 1,
356
+ "color": "textSecondary"
357
+ }
358
+ },
359
+ "modifiers": {
360
+ "hiddenPath": "$service:{{svc}}.notEmpty"
361
+ }
362
+ }
363
+ ]
364
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "_recipe": "See All Posts button for a LIMITED list; shown only while the list has more posts than it shows. Omit when the source has no list screen for the category.",
3
+ "_placeholders": {
4
+ "svc": "service name registered with registerBlogList",
5
+ "id": "unique node id prefix for this section",
6
+ "detailScreen": "blog post screen id, himi_blog_post",
7
+ "seeAllScreen": "screen id the button opens"
8
+ },
9
+ "node": {
10
+ "id": "{{id}}.seeall",
11
+ "body": {
12
+ "package": "himalaya",
13
+ "type": "VStack",
14
+ "props": {
15
+ "spacing": 0,
16
+ "alignment": "leading",
17
+ "children": [
18
+ {
19
+ "id": "{{id}}.seeall.button",
20
+ "body": {
21
+ "package": "himalaya",
22
+ "type": "Button",
23
+ "props": {
24
+ "title": "See All Posts",
25
+ "style": "secondary",
26
+ "size": "md",
27
+ "fullWidth": true,
28
+ "action": {
29
+ "actionId": "himi.open",
30
+ "params": {
31
+ "screenId": "{{seeAllScreen}}"
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ "modifiers": {
41
+ "padding": {
42
+ "leading": 12,
43
+ "trailing": 12,
44
+ "top": 8,
45
+ "bottom": 8
46
+ },
47
+ "hiddenPath": "$service:{{svc}}.noSeeAll"
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,203 @@
1
+ {
2
+ "_recipe": "Inline events section, compact LIST layout: date badge, title, date, location. Tap opens the event. ONE node. Service: registerEventsInline(svc, { limit }); the page worker's onAppear calls tier5.<svc>.load with the copy pack. Generated from eventsInlineSection(); a test fails if they differ.",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerEventsInline(svc, { limit })",
5
+ "id": "unique node id prefix for this section. To switch See-all OFF, drop the node with id {{id}}.see_all",
6
+ "seeAllLabel": "the See-all link label (stock copy: See all events)",
7
+ "seeAllScreen": "the screen See-all opens, default himi_events"
8
+ },
9
+ "node": {
10
+ "id": "{{id}}",
11
+ "body": {
12
+ "package": "himalaya",
13
+ "type": "VStack",
14
+ "props": {
15
+ "spacing": 12,
16
+ "alignment": "leading",
17
+ "children": [
18
+ {
19
+ "id": "{{id}}.list",
20
+ "body": {
21
+ "package": "himalaya",
22
+ "type": "Grid",
23
+ "props": {
24
+ "columns": 1,
25
+ "spacing": 12,
26
+ "itemsPath": "$service:{{svc}}.rows",
27
+ "items": [
28
+ {
29
+ "id": "{{id}}.row",
30
+ "body": {
31
+ "package": "himalaya",
32
+ "type": "VStack",
33
+ "props": {
34
+ "spacing": 12,
35
+ "alignment": "leading",
36
+ "children": [
37
+ {
38
+ "id": "",
39
+ "body": {
40
+ "package": "himalaya",
41
+ "type": "HStack",
42
+ "props": {
43
+ "spacing": 14,
44
+ "alignment": "leading",
45
+ "children": [
46
+ {
47
+ "id": "{{id}}.date",
48
+ "body": {
49
+ "package": "himalaya",
50
+ "type": "Text",
51
+ "props": {
52
+ "text": "$item.dateBadge",
53
+ "style": "title2",
54
+ "maxLines": 2
55
+ }
56
+ },
57
+ "modifiers": {
58
+ "hiddenPath": "$item.noDateBadge"
59
+ }
60
+ },
61
+ {
62
+ "id": "",
63
+ "body": {
64
+ "package": "himalaya",
65
+ "type": "VStack",
66
+ "props": {
67
+ "spacing": 4,
68
+ "alignment": "leading",
69
+ "children": [
70
+ {
71
+ "id": "{{id}}.title",
72
+ "body": {
73
+ "package": "himalaya",
74
+ "type": "Text",
75
+ "props": {
76
+ "text": "$item.title",
77
+ "style": "bodyEmphasis",
78
+ "maxLines": 2
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "id": "",
84
+ "body": {
85
+ "package": "himalaya",
86
+ "type": "Text",
87
+ "props": {
88
+ "text": "$item.dateLine",
89
+ "style": "footnote",
90
+ "color": "textSecondary",
91
+ "maxLines": 1,
92
+ "collapseWhenEmpty": true
93
+ }
94
+ }
95
+ },
96
+ {
97
+ "id": "",
98
+ "body": {
99
+ "package": "himalaya",
100
+ "type": "Text",
101
+ "props": {
102
+ "text": "$item.location",
103
+ "style": "footnote",
104
+ "color": "textSecondary",
105
+ "maxLines": 1,
106
+ "collapseWhenEmpty": true
107
+ }
108
+ }
109
+ }
110
+ ]
111
+ }
112
+ },
113
+ "modifiers": {
114
+ "fillMaxWidth": true
115
+ }
116
+ }
117
+ ]
118
+ }
119
+ },
120
+ "modifiers": {
121
+ "padding": {
122
+ "leading": 12,
123
+ "trailing": 12,
124
+ "top": 12,
125
+ "bottom": 12
126
+ }
127
+ }
128
+ }
129
+ ]
130
+ }
131
+ },
132
+ "modifiers": {
133
+ "background": {
134
+ "token": "surfaceElevated"
135
+ },
136
+ "border": {
137
+ "width": 1,
138
+ "color": {
139
+ "token": "border"
140
+ }
141
+ },
142
+ "cornerRadius": 8,
143
+ "onTap": {
144
+ "actionId": "himi.open",
145
+ "params": {
146
+ "screenId": "$item.detailScreenId",
147
+ "id": "$item.id"
148
+ }
149
+ },
150
+ "pressFeedback": "scale",
151
+ "haptic": "light",
152
+ "accessibilityLabel": "$item.title"
153
+ }
154
+ }
155
+ ]
156
+ }
157
+ },
158
+ "modifiers": {
159
+ "hiddenPath": "$service:{{svc}}.noRows"
160
+ }
161
+ },
162
+ {
163
+ "id": "{{id}}.empty",
164
+ "body": {
165
+ "package": "himalaya",
166
+ "type": "Text",
167
+ "props": {
168
+ "text": "$service:{{svc}}.emptyText",
169
+ "style": "footnote",
170
+ "color": "textSecondary",
171
+ "collapseWhenEmpty": true
172
+ }
173
+ },
174
+ "modifiers": {
175
+ "hiddenPath": "$service:{{svc}}.noEmpty"
176
+ }
177
+ },
178
+ {
179
+ "id": "{{id}}.see_all",
180
+ "body": {
181
+ "package": "himalaya",
182
+ "type": "Button",
183
+ "props": {
184
+ "title": "{{seeAllLabel}}",
185
+ "style": "link",
186
+ "trailingIcon": "chevron_right",
187
+ "action": {
188
+ "actionId": "himi.open",
189
+ "params": {
190
+ "screenId": "{{seeAllScreen}}"
191
+ }
192
+ }
193
+ }
194
+ },
195
+ "modifiers": {
196
+ "hiddenPath": "$service:{{svc}}.noMore"
197
+ }
198
+ }
199
+ ]
200
+ }
201
+ }
202
+ }
203
+ }