@wix/himalaya-cli 0.1782.0 → 0.1784.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 (378) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +68 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +126 -18
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin → ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin} +1 -1
  8. package/dist/browser-plane/sw.js +6 -6
  9. package/dist/cli.mjs +486 -316
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +4 -0
  13. package/guides/release-notes.md +31 -0
  14. package/guides/sdk-reference.json +62 -1
  15. package/guides/store-submission.md +2 -0
  16. package/package.json +10 -10
  17. package/templates/beauty-salon/config.ts +1 -1
  18. package/templates/beauty-salon/dev/index.ts +2684 -916
  19. package/templates/beauty-salon/l10n/ar.json +95 -36
  20. package/templates/beauty-salon/l10n/cs.json +95 -36
  21. package/templates/beauty-salon/l10n/da.json +95 -36
  22. package/templates/beauty-salon/l10n/de.json +95 -36
  23. package/templates/beauty-salon/l10n/el.json +95 -36
  24. package/templates/beauty-salon/l10n/en.json +71 -15
  25. package/templates/beauty-salon/l10n/es.json +95 -36
  26. package/templates/beauty-salon/l10n/fi.json +95 -36
  27. package/templates/beauty-salon/l10n/fr.json +95 -36
  28. package/templates/beauty-salon/l10n/he.json +78 -29
  29. package/templates/beauty-salon/l10n/hu.json +95 -36
  30. package/templates/beauty-salon/l10n/id.json +95 -36
  31. package/templates/beauty-salon/l10n/it.json +95 -36
  32. package/templates/beauty-salon/l10n/ja.json +95 -36
  33. package/templates/beauty-salon/l10n/ko.json +95 -36
  34. package/templates/beauty-salon/l10n/lt.json +95 -36
  35. package/templates/beauty-salon/l10n/nl.json +95 -36
  36. package/templates/beauty-salon/l10n/no.json +95 -36
  37. package/templates/beauty-salon/l10n/pl.json +95 -36
  38. package/templates/beauty-salon/l10n/pt.json +95 -36
  39. package/templates/beauty-salon/l10n/ru.json +95 -36
  40. package/templates/beauty-salon/l10n/sv.json +95 -36
  41. package/templates/beauty-salon/l10n/th.json +95 -36
  42. package/templates/beauty-salon/l10n/tr.json +95 -36
  43. package/templates/beauty-salon/l10n/uk.json +95 -36
  44. package/templates/beauty-salon/l10n/vi.json +95 -36
  45. package/templates/beauty-salon/l10n/zh.json +95 -36
  46. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  47. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  48. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
  49. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
  50. package/templates/branded-lite/config.ts +1 -1
  51. package/templates/branded-lite/dev/index.ts +2686 -930
  52. package/templates/branded-lite/l10n/ar.json +80 -41
  53. package/templates/branded-lite/l10n/cs.json +80 -41
  54. package/templates/branded-lite/l10n/da.json +80 -41
  55. package/templates/branded-lite/l10n/de.json +80 -41
  56. package/templates/branded-lite/l10n/el.json +80 -41
  57. package/templates/branded-lite/l10n/en.json +71 -20
  58. package/templates/branded-lite/l10n/es.json +80 -41
  59. package/templates/branded-lite/l10n/fi.json +80 -41
  60. package/templates/branded-lite/l10n/fr.json +80 -41
  61. package/templates/branded-lite/l10n/he.json +66 -33
  62. package/templates/branded-lite/l10n/hu.json +80 -41
  63. package/templates/branded-lite/l10n/id.json +80 -41
  64. package/templates/branded-lite/l10n/it.json +80 -41
  65. package/templates/branded-lite/l10n/ja.json +80 -41
  66. package/templates/branded-lite/l10n/ko.json +80 -41
  67. package/templates/branded-lite/l10n/lt.json +80 -41
  68. package/templates/branded-lite/l10n/nl.json +80 -41
  69. package/templates/branded-lite/l10n/no.json +80 -41
  70. package/templates/branded-lite/l10n/pl.json +80 -41
  71. package/templates/branded-lite/l10n/pt.json +80 -41
  72. package/templates/branded-lite/l10n/ru.json +80 -41
  73. package/templates/branded-lite/l10n/sv.json +80 -41
  74. package/templates/branded-lite/l10n/th.json +80 -41
  75. package/templates/branded-lite/l10n/tr.json +80 -41
  76. package/templates/branded-lite/l10n/uk.json +80 -41
  77. package/templates/branded-lite/l10n/vi.json +80 -41
  78. package/templates/branded-lite/l10n/zh.json +80 -41
  79. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  80. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
  81. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
  82. package/templates/community-club/config.ts +1 -1
  83. package/templates/community-club/dev/index.ts +2742 -974
  84. package/templates/community-club/l10n/ar.json +95 -36
  85. package/templates/community-club/l10n/cs.json +95 -36
  86. package/templates/community-club/l10n/da.json +95 -36
  87. package/templates/community-club/l10n/de.json +95 -36
  88. package/templates/community-club/l10n/el.json +95 -36
  89. package/templates/community-club/l10n/en.json +71 -15
  90. package/templates/community-club/l10n/es.json +95 -36
  91. package/templates/community-club/l10n/fi.json +95 -36
  92. package/templates/community-club/l10n/fr.json +95 -36
  93. package/templates/community-club/l10n/he.json +78 -29
  94. package/templates/community-club/l10n/hu.json +95 -36
  95. package/templates/community-club/l10n/id.json +95 -36
  96. package/templates/community-club/l10n/it.json +95 -36
  97. package/templates/community-club/l10n/ja.json +95 -36
  98. package/templates/community-club/l10n/ko.json +95 -36
  99. package/templates/community-club/l10n/lt.json +95 -36
  100. package/templates/community-club/l10n/nl.json +95 -36
  101. package/templates/community-club/l10n/no.json +95 -36
  102. package/templates/community-club/l10n/pl.json +95 -36
  103. package/templates/community-club/l10n/pt.json +95 -36
  104. package/templates/community-club/l10n/ru.json +95 -36
  105. package/templates/community-club/l10n/sv.json +95 -36
  106. package/templates/community-club/l10n/th.json +95 -36
  107. package/templates/community-club/l10n/tr.json +95 -36
  108. package/templates/community-club/l10n/uk.json +95 -36
  109. package/templates/community-club/l10n/vi.json +95 -36
  110. package/templates/community-club/l10n/zh.json +95 -36
  111. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  112. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  113. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
  114. package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
  115. package/templates/events-meetups/config.ts +1 -1
  116. package/templates/events-meetups/dev/index.ts +2705 -937
  117. package/templates/events-meetups/l10n/ar.json +95 -36
  118. package/templates/events-meetups/l10n/cs.json +95 -36
  119. package/templates/events-meetups/l10n/da.json +95 -36
  120. package/templates/events-meetups/l10n/de.json +95 -36
  121. package/templates/events-meetups/l10n/el.json +95 -36
  122. package/templates/events-meetups/l10n/en.json +71 -15
  123. package/templates/events-meetups/l10n/es.json +95 -36
  124. package/templates/events-meetups/l10n/fi.json +95 -36
  125. package/templates/events-meetups/l10n/fr.json +95 -36
  126. package/templates/events-meetups/l10n/he.json +78 -29
  127. package/templates/events-meetups/l10n/hu.json +95 -36
  128. package/templates/events-meetups/l10n/id.json +95 -36
  129. package/templates/events-meetups/l10n/it.json +95 -36
  130. package/templates/events-meetups/l10n/ja.json +95 -36
  131. package/templates/events-meetups/l10n/ko.json +95 -36
  132. package/templates/events-meetups/l10n/lt.json +95 -36
  133. package/templates/events-meetups/l10n/nl.json +95 -36
  134. package/templates/events-meetups/l10n/no.json +95 -36
  135. package/templates/events-meetups/l10n/pl.json +95 -36
  136. package/templates/events-meetups/l10n/pt.json +95 -36
  137. package/templates/events-meetups/l10n/ru.json +95 -36
  138. package/templates/events-meetups/l10n/sv.json +95 -36
  139. package/templates/events-meetups/l10n/th.json +95 -36
  140. package/templates/events-meetups/l10n/tr.json +95 -36
  141. package/templates/events-meetups/l10n/uk.json +95 -36
  142. package/templates/events-meetups/l10n/vi.json +95 -36
  143. package/templates/events-meetups/l10n/zh.json +95 -36
  144. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  145. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  146. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
  147. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
  148. package/templates/gym-fitness/config.ts +1 -1
  149. package/templates/gym-fitness/dev/index.ts +2621 -853
  150. package/templates/gym-fitness/l10n/ar.json +95 -36
  151. package/templates/gym-fitness/l10n/cs.json +95 -36
  152. package/templates/gym-fitness/l10n/da.json +95 -36
  153. package/templates/gym-fitness/l10n/de.json +95 -36
  154. package/templates/gym-fitness/l10n/el.json +95 -36
  155. package/templates/gym-fitness/l10n/en.json +71 -15
  156. package/templates/gym-fitness/l10n/es.json +95 -36
  157. package/templates/gym-fitness/l10n/fi.json +95 -36
  158. package/templates/gym-fitness/l10n/fr.json +95 -36
  159. package/templates/gym-fitness/l10n/he.json +78 -29
  160. package/templates/gym-fitness/l10n/hu.json +95 -36
  161. package/templates/gym-fitness/l10n/id.json +95 -36
  162. package/templates/gym-fitness/l10n/it.json +95 -36
  163. package/templates/gym-fitness/l10n/ja.json +95 -36
  164. package/templates/gym-fitness/l10n/ko.json +95 -36
  165. package/templates/gym-fitness/l10n/lt.json +95 -36
  166. package/templates/gym-fitness/l10n/nl.json +95 -36
  167. package/templates/gym-fitness/l10n/no.json +95 -36
  168. package/templates/gym-fitness/l10n/pl.json +95 -36
  169. package/templates/gym-fitness/l10n/pt.json +95 -36
  170. package/templates/gym-fitness/l10n/ru.json +95 -36
  171. package/templates/gym-fitness/l10n/sv.json +95 -36
  172. package/templates/gym-fitness/l10n/th.json +95 -36
  173. package/templates/gym-fitness/l10n/tr.json +95 -36
  174. package/templates/gym-fitness/l10n/uk.json +95 -36
  175. package/templates/gym-fitness/l10n/vi.json +95 -36
  176. package/templates/gym-fitness/l10n/zh.json +95 -36
  177. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  178. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  179. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
  180. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
  181. package/templates/nonprofit-cause/config.ts +1 -1
  182. package/templates/nonprofit-cause/dev/index.ts +2704 -936
  183. package/templates/nonprofit-cause/l10n/ar.json +95 -36
  184. package/templates/nonprofit-cause/l10n/cs.json +95 -36
  185. package/templates/nonprofit-cause/l10n/da.json +95 -36
  186. package/templates/nonprofit-cause/l10n/de.json +95 -36
  187. package/templates/nonprofit-cause/l10n/el.json +95 -36
  188. package/templates/nonprofit-cause/l10n/en.json +71 -15
  189. package/templates/nonprofit-cause/l10n/es.json +95 -36
  190. package/templates/nonprofit-cause/l10n/fi.json +95 -36
  191. package/templates/nonprofit-cause/l10n/fr.json +95 -36
  192. package/templates/nonprofit-cause/l10n/he.json +78 -29
  193. package/templates/nonprofit-cause/l10n/hu.json +95 -36
  194. package/templates/nonprofit-cause/l10n/id.json +95 -36
  195. package/templates/nonprofit-cause/l10n/it.json +95 -36
  196. package/templates/nonprofit-cause/l10n/ja.json +95 -36
  197. package/templates/nonprofit-cause/l10n/ko.json +95 -36
  198. package/templates/nonprofit-cause/l10n/lt.json +95 -36
  199. package/templates/nonprofit-cause/l10n/nl.json +95 -36
  200. package/templates/nonprofit-cause/l10n/no.json +95 -36
  201. package/templates/nonprofit-cause/l10n/pl.json +95 -36
  202. package/templates/nonprofit-cause/l10n/pt.json +95 -36
  203. package/templates/nonprofit-cause/l10n/ru.json +95 -36
  204. package/templates/nonprofit-cause/l10n/sv.json +95 -36
  205. package/templates/nonprofit-cause/l10n/th.json +95 -36
  206. package/templates/nonprofit-cause/l10n/tr.json +95 -36
  207. package/templates/nonprofit-cause/l10n/uk.json +95 -36
  208. package/templates/nonprofit-cause/l10n/vi.json +95 -36
  209. package/templates/nonprofit-cause/l10n/zh.json +95 -36
  210. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  211. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  212. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
  213. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
  214. package/templates/podcast-creator/config.ts +1 -1
  215. package/templates/podcast-creator/dev/index.ts +2704 -936
  216. package/templates/podcast-creator/l10n/ar.json +95 -36
  217. package/templates/podcast-creator/l10n/cs.json +95 -36
  218. package/templates/podcast-creator/l10n/da.json +95 -36
  219. package/templates/podcast-creator/l10n/de.json +95 -36
  220. package/templates/podcast-creator/l10n/el.json +95 -36
  221. package/templates/podcast-creator/l10n/en.json +71 -15
  222. package/templates/podcast-creator/l10n/es.json +95 -36
  223. package/templates/podcast-creator/l10n/fi.json +95 -36
  224. package/templates/podcast-creator/l10n/fr.json +95 -36
  225. package/templates/podcast-creator/l10n/he.json +78 -29
  226. package/templates/podcast-creator/l10n/hu.json +95 -36
  227. package/templates/podcast-creator/l10n/id.json +95 -36
  228. package/templates/podcast-creator/l10n/it.json +95 -36
  229. package/templates/podcast-creator/l10n/ja.json +95 -36
  230. package/templates/podcast-creator/l10n/ko.json +95 -36
  231. package/templates/podcast-creator/l10n/lt.json +95 -36
  232. package/templates/podcast-creator/l10n/nl.json +95 -36
  233. package/templates/podcast-creator/l10n/no.json +95 -36
  234. package/templates/podcast-creator/l10n/pl.json +95 -36
  235. package/templates/podcast-creator/l10n/pt.json +95 -36
  236. package/templates/podcast-creator/l10n/ru.json +95 -36
  237. package/templates/podcast-creator/l10n/sv.json +95 -36
  238. package/templates/podcast-creator/l10n/th.json +95 -36
  239. package/templates/podcast-creator/l10n/tr.json +95 -36
  240. package/templates/podcast-creator/l10n/uk.json +95 -36
  241. package/templates/podcast-creator/l10n/vi.json +95 -36
  242. package/templates/podcast-creator/l10n/zh.json +95 -36
  243. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  244. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  245. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
  246. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
  247. package/templates/portfolio-creative/config.ts +1 -1
  248. package/templates/portfolio-creative/dev/index.ts +2499 -731
  249. package/templates/portfolio-creative/l10n/ar.json +95 -36
  250. package/templates/portfolio-creative/l10n/cs.json +95 -36
  251. package/templates/portfolio-creative/l10n/da.json +95 -36
  252. package/templates/portfolio-creative/l10n/de.json +95 -36
  253. package/templates/portfolio-creative/l10n/el.json +95 -36
  254. package/templates/portfolio-creative/l10n/en.json +71 -15
  255. package/templates/portfolio-creative/l10n/es.json +95 -36
  256. package/templates/portfolio-creative/l10n/fi.json +95 -36
  257. package/templates/portfolio-creative/l10n/fr.json +95 -36
  258. package/templates/portfolio-creative/l10n/he.json +78 -29
  259. package/templates/portfolio-creative/l10n/hu.json +95 -36
  260. package/templates/portfolio-creative/l10n/id.json +95 -36
  261. package/templates/portfolio-creative/l10n/it.json +95 -36
  262. package/templates/portfolio-creative/l10n/ja.json +95 -36
  263. package/templates/portfolio-creative/l10n/ko.json +95 -36
  264. package/templates/portfolio-creative/l10n/lt.json +95 -36
  265. package/templates/portfolio-creative/l10n/nl.json +95 -36
  266. package/templates/portfolio-creative/l10n/no.json +95 -36
  267. package/templates/portfolio-creative/l10n/pl.json +95 -36
  268. package/templates/portfolio-creative/l10n/pt.json +95 -36
  269. package/templates/portfolio-creative/l10n/ru.json +95 -36
  270. package/templates/portfolio-creative/l10n/sv.json +95 -36
  271. package/templates/portfolio-creative/l10n/th.json +95 -36
  272. package/templates/portfolio-creative/l10n/tr.json +95 -36
  273. package/templates/portfolio-creative/l10n/uk.json +95 -36
  274. package/templates/portfolio-creative/l10n/vi.json +95 -36
  275. package/templates/portfolio-creative/l10n/zh.json +95 -36
  276. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  277. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  278. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
  279. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
  280. package/templates/restaurant/config.ts +1 -1
  281. package/templates/restaurant/dev/index.ts +2528 -760
  282. package/templates/restaurant/l10n/ar.json +95 -36
  283. package/templates/restaurant/l10n/cs.json +95 -36
  284. package/templates/restaurant/l10n/da.json +95 -36
  285. package/templates/restaurant/l10n/de.json +95 -36
  286. package/templates/restaurant/l10n/el.json +95 -36
  287. package/templates/restaurant/l10n/en.json +71 -15
  288. package/templates/restaurant/l10n/es.json +95 -36
  289. package/templates/restaurant/l10n/fi.json +95 -36
  290. package/templates/restaurant/l10n/fr.json +95 -36
  291. package/templates/restaurant/l10n/he.json +78 -29
  292. package/templates/restaurant/l10n/hu.json +95 -36
  293. package/templates/restaurant/l10n/id.json +95 -36
  294. package/templates/restaurant/l10n/it.json +95 -36
  295. package/templates/restaurant/l10n/ja.json +95 -36
  296. package/templates/restaurant/l10n/ko.json +95 -36
  297. package/templates/restaurant/l10n/lt.json +95 -36
  298. package/templates/restaurant/l10n/nl.json +95 -36
  299. package/templates/restaurant/l10n/no.json +95 -36
  300. package/templates/restaurant/l10n/pl.json +95 -36
  301. package/templates/restaurant/l10n/pt.json +95 -36
  302. package/templates/restaurant/l10n/ru.json +95 -36
  303. package/templates/restaurant/l10n/sv.json +95 -36
  304. package/templates/restaurant/l10n/th.json +95 -36
  305. package/templates/restaurant/l10n/tr.json +95 -36
  306. package/templates/restaurant/l10n/uk.json +95 -36
  307. package/templates/restaurant/l10n/vi.json +95 -36
  308. package/templates/restaurant/l10n/zh.json +95 -36
  309. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  310. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  311. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
  312. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
  313. package/templates/retail-store/config.ts +1 -1
  314. package/templates/retail-store/dev/index.ts +2417 -661
  315. package/templates/retail-store/l10n/ar.json +95 -41
  316. package/templates/retail-store/l10n/cs.json +95 -41
  317. package/templates/retail-store/l10n/da.json +95 -41
  318. package/templates/retail-store/l10n/de.json +95 -41
  319. package/templates/retail-store/l10n/el.json +95 -41
  320. package/templates/retail-store/l10n/en.json +71 -20
  321. package/templates/retail-store/l10n/es.json +95 -41
  322. package/templates/retail-store/l10n/fi.json +95 -41
  323. package/templates/retail-store/l10n/fr.json +95 -41
  324. package/templates/retail-store/l10n/he.json +78 -33
  325. package/templates/retail-store/l10n/hu.json +95 -41
  326. package/templates/retail-store/l10n/id.json +95 -41
  327. package/templates/retail-store/l10n/it.json +95 -41
  328. package/templates/retail-store/l10n/ja.json +95 -41
  329. package/templates/retail-store/l10n/ko.json +95 -41
  330. package/templates/retail-store/l10n/lt.json +95 -41
  331. package/templates/retail-store/l10n/nl.json +95 -41
  332. package/templates/retail-store/l10n/no.json +95 -41
  333. package/templates/retail-store/l10n/pl.json +95 -41
  334. package/templates/retail-store/l10n/pt.json +95 -41
  335. package/templates/retail-store/l10n/ru.json +95 -41
  336. package/templates/retail-store/l10n/sv.json +95 -41
  337. package/templates/retail-store/l10n/th.json +95 -41
  338. package/templates/retail-store/l10n/tr.json +95 -41
  339. package/templates/retail-store/l10n/uk.json +95 -41
  340. package/templates/retail-store/l10n/vi.json +95 -41
  341. package/templates/retail-store/l10n/zh.json +95 -41
  342. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  343. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  344. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
  345. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
  346. package/templates/yoga-studio/config.ts +1 -1
  347. package/templates/yoga-studio/dev/index.ts +2619 -851
  348. package/templates/yoga-studio/l10n/ar.json +95 -36
  349. package/templates/yoga-studio/l10n/cs.json +95 -36
  350. package/templates/yoga-studio/l10n/da.json +95 -36
  351. package/templates/yoga-studio/l10n/de.json +95 -36
  352. package/templates/yoga-studio/l10n/el.json +95 -36
  353. package/templates/yoga-studio/l10n/en.json +71 -15
  354. package/templates/yoga-studio/l10n/es.json +95 -36
  355. package/templates/yoga-studio/l10n/fi.json +95 -36
  356. package/templates/yoga-studio/l10n/fr.json +95 -36
  357. package/templates/yoga-studio/l10n/he.json +78 -29
  358. package/templates/yoga-studio/l10n/hu.json +95 -36
  359. package/templates/yoga-studio/l10n/id.json +95 -36
  360. package/templates/yoga-studio/l10n/it.json +95 -36
  361. package/templates/yoga-studio/l10n/ja.json +95 -36
  362. package/templates/yoga-studio/l10n/ko.json +95 -36
  363. package/templates/yoga-studio/l10n/lt.json +95 -36
  364. package/templates/yoga-studio/l10n/nl.json +95 -36
  365. package/templates/yoga-studio/l10n/no.json +95 -36
  366. package/templates/yoga-studio/l10n/pl.json +95 -36
  367. package/templates/yoga-studio/l10n/pt.json +95 -36
  368. package/templates/yoga-studio/l10n/ru.json +95 -36
  369. package/templates/yoga-studio/l10n/sv.json +95 -36
  370. package/templates/yoga-studio/l10n/th.json +95 -36
  371. package/templates/yoga-studio/l10n/tr.json +95 -36
  372. package/templates/yoga-studio/l10n/uk.json +95 -36
  373. package/templates/yoga-studio/l10n/vi.json +95 -36
  374. package/templates/yoga-studio/l10n/zh.json +95 -36
  375. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  376. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
  377. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
  378. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
@@ -12860,7 +12860,7 @@ const SCREENS = runtimeSetting({
12860
12860
  "alignment": "leading",
12861
12861
  "children": [
12862
12862
  {
12863
- "id": "",
12863
+ "id": "himi_blog.heading",
12864
12864
  "body": {
12865
12865
  "package": "himalaya",
12866
12866
  "type": "VStack",
@@ -12890,8 +12890,7 @@ const SCREENS = runtimeSetting({
12890
12890
  "props": {
12891
12891
  "text": "News and announcements from the club.",
12892
12892
  "style": "body",
12893
- "color": "textSecondary",
12894
- "collapseWhenEmpty": true
12893
+ "color": "textSecondary"
12895
12894
  }
12896
12895
  }
12897
12896
  }
@@ -12972,6 +12971,7 @@ const SCREENS = runtimeSetting({
12972
12971
  "type": "HStack",
12973
12972
  "props": {
12974
12973
  "spacing": 10,
12974
+ "alignment": "center",
12975
12975
  "children": [
12976
12976
  {
12977
12977
  "id": "",
@@ -13209,6 +13209,7 @@ const SCREENS = runtimeSetting({
13209
13209
  "type": "HStack",
13210
13210
  "props": {
13211
13211
  "spacing": 14,
13212
+ "alignment": "center",
13212
13213
  "children": [
13213
13214
  {
13214
13215
  "id": "",
@@ -13348,6 +13349,7 @@ const SCREENS = runtimeSetting({
13348
13349
  "type": "HStack",
13349
13350
  "props": {
13350
13351
  "spacing": 4,
13352
+ "alignment": "center",
13351
13353
  "children": [
13352
13354
  {
13353
13355
  "id": "",
@@ -13402,6 +13404,7 @@ const SCREENS = runtimeSetting({
13402
13404
  "type": "HStack",
13403
13405
  "props": {
13404
13406
  "spacing": 12,
13407
+ "alignment": "center",
13405
13408
  "children": [
13406
13409
  {
13407
13410
  "id": "himi_blog.post_author.photo",
@@ -13842,71 +13845,56 @@ const SCREENS = runtimeSetting({
13842
13845
  }
13843
13846
  },
13844
13847
  {
13845
- "id": "",
13848
+ "id": "himi_blog.empty",
13846
13849
  "body": {
13847
13850
  "package": "himalaya",
13848
- "type": "VStack",
13851
+ "type": "EmptyState",
13849
13852
  "props": {
13850
- "spacing": 12,
13851
- "alignment": "center",
13852
- "children": [
13853
- {
13854
- "id": "",
13855
- "body": {
13856
- "package": "himalaya",
13857
- "type": "Icon",
13858
- "props": {
13859
- "name": "newspaper",
13860
- "size": 34,
13861
- "tint": "textTertiary"
13862
- }
13863
- },
13864
- "modifiers": {
13865
- "accessibilityRole": "decorative"
13866
- }
13867
- },
13868
- {
13869
- "id": "",
13870
- "body": {
13871
- "package": "himalaya",
13872
- "type": "Text",
13873
- "props": {
13874
- "text": "$service:himiBlogFeed.emptyText",
13875
- "style": "bodyEmphasis",
13876
- "color": "textSecondary",
13877
- "collapseWhenEmpty": true
13878
- }
13879
- }
13880
- },
13881
- {
13882
- "id": "himi_blog.empty.cta",
13883
- "body": {
13884
- "package": "himalaya",
13885
- "type": "Button",
13886
- "props": {
13887
- "title": "Clear filters",
13888
- "style": "secondary",
13889
- "action": {
13890
- "actionId": "tier5.himiBlogFeed.clearFilters"
13891
- }
13892
- }
13893
- }
13894
- }
13895
- ]
13853
+ "title": "$service:himiBlogFeed.emptyText",
13854
+ "subtitle": "Try a different word or category.",
13855
+ "icon": "search",
13856
+ "actionLabel": "Clear filters",
13857
+ "action": {
13858
+ "actionId": "tier5.himiBlogFeed.clearFilters"
13859
+ }
13896
13860
  }
13897
13861
  },
13898
13862
  "modifiers": {
13899
13863
  "padding": {
13900
13864
  "leading": 24,
13901
13865
  "trailing": 24,
13902
- "top": 24,
13866
+ "top": 48,
13867
+ "bottom": 24
13868
+ },
13869
+ "transition": {
13870
+ "enter": "fade",
13871
+ "exit": "fade"
13872
+ },
13873
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
13874
+ }
13875
+ },
13876
+ {
13877
+ "id": "himi_blog.empty_none",
13878
+ "body": {
13879
+ "package": "himalaya",
13880
+ "type": "EmptyState",
13881
+ "props": {
13882
+ "title": "$service:himiBlogFeed.emptyText",
13883
+ "icon": "document"
13884
+ }
13885
+ },
13886
+ "modifiers": {
13887
+ "padding": {
13888
+ "leading": 24,
13889
+ "trailing": 24,
13890
+ "top": 48,
13903
13891
  "bottom": 24
13904
13892
  },
13905
13893
  "transition": {
13906
13894
  "enter": "fade",
13907
13895
  "exit": "fade"
13908
13896
  },
13909
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
13897
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
13910
13898
  }
13911
13899
  }
13912
13900
  ]
@@ -13938,21 +13926,6 @@ const SCREENS = runtimeSetting({
13938
13926
  ],
13939
13927
  "minBinaryVersion": "0.1.0",
13940
13928
  "bundleVersion": "0.0.1"
13941
- },
13942
- "topBar": {
13943
- "actions": [
13944
- {
13945
- "id": "account",
13946
- "icon": "person",
13947
- "accessibilityLabel": "Account",
13948
- "onTap": {
13949
- "actionId": "himi.open",
13950
- "params": {
13951
- "screenId": "himi_account"
13952
- }
13953
- }
13954
- }
13955
- ]
13956
13929
  }
13957
13930
  },
13958
13931
  "himi_saved": {
@@ -14033,6 +14006,7 @@ const SCREENS = runtimeSetting({
14033
14006
  "type": "HStack",
14034
14007
  "props": {
14035
14008
  "spacing": 10,
14009
+ "alignment": "center",
14036
14010
  "children": [
14037
14011
  {
14038
14012
  "id": "",
@@ -14438,73 +14412,21 @@ const SCREENS = runtimeSetting({
14438
14412
  }
14439
14413
  },
14440
14414
  {
14441
- "id": "",
14415
+ "id": "himi_saved.empty",
14442
14416
  "body": {
14443
14417
  "package": "himalaya",
14444
- "type": "VStack",
14418
+ "type": "EmptyState",
14445
14419
  "props": {
14446
- "spacing": 12,
14447
- "alignment": "center",
14448
- "children": [
14449
- {
14450
- "id": "",
14451
- "body": {
14452
- "package": "himalaya",
14453
- "type": "Icon",
14454
- "props": {
14455
- "name": "bookmark",
14456
- "size": 34,
14457
- "tint": "textTertiary"
14458
- }
14459
- },
14460
- "modifiers": {
14461
- "accessibilityRole": "decorative"
14462
- }
14463
- },
14464
- {
14465
- "id": "",
14466
- "body": {
14467
- "package": "himalaya",
14468
- "type": "Text",
14469
- "props": {
14470
- "text": "$service:himiBlogSaved.emptyText",
14471
- "style": "bodyEmphasis",
14472
- "color": "textSecondary",
14473
- "collapseWhenEmpty": true
14474
- }
14475
- }
14476
- },
14477
- {
14478
- "id": "",
14479
- "body": {
14480
- "package": "himalaya",
14481
- "type": "Text",
14482
- "props": {
14483
- "text": "Tap the bookmark on a post to read it later.",
14484
- "style": "footnote",
14485
- "color": "textTertiary",
14486
- "maxLines": 2
14487
- }
14488
- }
14489
- },
14490
- {
14491
- "id": "himi_saved.empty.cta",
14492
- "body": {
14493
- "package": "himalaya",
14494
- "type": "Button",
14495
- "props": {
14496
- "title": "Browse Blog",
14497
- "style": "secondary",
14498
- "action": {
14499
- "actionId": "himi.open",
14500
- "params": {
14501
- "screenId": "himi_blog"
14502
- }
14503
- }
14504
- }
14505
- }
14420
+ "title": "$service:himiBlogSaved.emptyText",
14421
+ "subtitle": "Tap the bookmark on a post to read it later.",
14422
+ "icon": "bookmark",
14423
+ "actionLabel": "Browse Blog",
14424
+ "action": {
14425
+ "actionId": "himi.open",
14426
+ "params": {
14427
+ "screenId": "himi_blog"
14506
14428
  }
14507
- ]
14429
+ }
14508
14430
  }
14509
14431
  },
14510
14432
  "modifiers": {
@@ -22058,6 +21980,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
22058
21980
  "type": "HStack",
22059
21981
  "props": {
22060
21982
  "spacing": 10,
21983
+ "alignment": "center",
22061
21984
  "children": [
22062
21985
  {
22063
21986
  "id": "",
@@ -22417,6 +22340,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
22417
22340
  "type": "HStack",
22418
22341
  "props": {
22419
22342
  "spacing": 12,
22343
+ "alignment": "center",
22420
22344
  "children": [
22421
22345
  {
22422
22346
  "id": "himi_blog_post.author.photo",
@@ -23165,41 +23089,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23165
23089
  "accessibilityRole": "decorative"
23166
23090
  }
23167
23091
  },
23168
- {
23169
- "id": "",
23170
- "body": {
23171
- "package": "himalaya",
23172
- "type": "VStack",
23173
- "props": {
23174
- "spacing": 0,
23175
- "alignment": "leading",
23176
- "children": [
23177
- {
23178
- "id": "himi_blog_post.comments_title",
23179
- "body": {
23180
- "package": "himalaya",
23181
- "type": "Text",
23182
- "props": {
23183
- "text": "$service:himiBlogPost.commentsTitle",
23184
- "style": "title3"
23185
- }
23186
- },
23187
- "modifiers": {
23188
- "accessibilityRole": "heading"
23189
- }
23190
- }
23191
- ]
23192
- }
23193
- },
23194
- "modifiers": {
23195
- "padding": {
23196
- "leading": 20,
23197
- "trailing": 20,
23198
- "top": 20,
23199
- "bottom": 4
23200
- }
23201
- }
23202
- },
23203
23092
  {
23204
23093
  "id": "",
23205
23094
  "body": {
@@ -23211,46 +23100,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23211
23100
  "children": [
23212
23101
  {
23213
23102
  "id": "",
23214
- "body": {
23215
- "package": "himalaya",
23216
- "type": "Text",
23217
- "props": {
23218
- "text": "$service:himiBlogPost.commentStatusText",
23219
- "style": "footnote",
23220
- "color": "textSecondary"
23221
- }
23222
- }
23223
- }
23224
- ]
23225
- }
23226
- },
23227
- "modifiers": {
23228
- "padding": {
23229
- "leading": 20,
23230
- "trailing": 20,
23231
- "top": 6,
23232
- "bottom": 6
23233
- },
23234
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
23235
- }
23236
- },
23237
- {
23238
- "id": "himi_blog_post.comments",
23239
- "body": {
23240
- "package": "himalaya",
23241
- "type": "Grid",
23242
- "props": {
23243
- "columns": 1,
23244
- "spacing": 0,
23245
- "itemsPath": "$service:himiBlogPost.comments",
23246
- "items": [
23247
- {
23248
- "id": "himi_blog_post.comment_row",
23249
23103
  "body": {
23250
23104
  "package": "himalaya",
23251
23105
  "type": "VStack",
23252
23106
  "props": {
23253
- "spacing": 6,
23107
+ "spacing": 14,
23254
23108
  "alignment": "leading",
23255
23109
  "children": [
23256
23110
  {
@@ -23259,73 +23113,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23259
23113
  "package": "himalaya",
23260
23114
  "type": "HStack",
23261
23115
  "props": {
23262
- "spacing": 10,
23116
+ "spacing": 8,
23117
+ "alignment": "center",
23263
23118
  "children": [
23264
23119
  {
23265
- "id": "",
23120
+ "id": "himi_blog_post.comments_title",
23266
23121
  "body": {
23267
23122
  "package": "himalaya",
23268
- "type": "ZStack",
23123
+ "type": "Text",
23269
23124
  "props": {
23270
- "alignment": "center",
23271
- "children": [
23272
- {
23273
- "id": "",
23274
- "body": {
23275
- "package": "himalaya",
23276
- "type": "Text",
23277
- "props": {
23278
- "text": "$item.authorInitial",
23279
- "style": "footnote",
23280
- "color": "accentPrimary"
23281
- }
23282
- }
23283
- }
23284
- ]
23125
+ "text": "$service:himiBlogPost.commentsTitle",
23126
+ "style": "title3"
23285
23127
  }
23286
23128
  },
23287
23129
  "modifiers": {
23288
- "width": 32,
23289
- "height": 32,
23290
- "background": {
23291
- "token": "accentSurface"
23292
- },
23293
- "cornerRadius": 16,
23294
- "accessibilityRole": "decorative"
23130
+ "accessibilityRole": "heading"
23295
23131
  }
23296
23132
  },
23297
23133
  {
23298
23134
  "id": "",
23299
23135
  "body": {
23300
23136
  "package": "himalaya",
23301
- "type": "Text",
23302
- "props": {
23303
- "text": "$item.authorName",
23304
- "style": "bodyEmphasis",
23305
- "maxLines": 1
23306
- }
23137
+ "type": "Spacer",
23138
+ "props": {}
23307
23139
  }
23308
23140
  },
23309
23141
  {
23310
- "id": "",
23142
+ "id": "himi_blog_post.comments_show_all",
23311
23143
  "body": {
23312
23144
  "package": "himalaya",
23313
23145
  "type": "Text",
23314
23146
  "props": {
23315
- "text": "$item.meta",
23316
- "style": "caption",
23317
- "color": "textTertiary",
23318
- "maxLines": 1,
23319
- "collapseWhenEmpty": true
23320
- }
23321
- }
23322
- },
23323
- {
23324
- "id": "",
23325
- "body": {
23326
- "package": "himalaya",
23327
- "type": "Spacer",
23328
- "props": {}
23147
+ "text": "$service:himiBlogPost.showAllLabel",
23148
+ "style": "footnote",
23149
+ "color": "accentPrimary",
23150
+ "maxLines": 1
23151
+ }
23152
+ },
23153
+ "modifiers": {
23154
+ "onTap": {
23155
+ "actionId": "tier5.himiBlogPost.openComments"
23156
+ },
23157
+ "accessibilityRole": "button",
23158
+ "padding": {
23159
+ "top": 6,
23160
+ "bottom": 6,
23161
+ "leading": 6
23162
+ },
23163
+ "hiddenPath": "$service:himiBlogPost.noComments"
23329
23164
  }
23330
23165
  }
23331
23166
  ]
@@ -23334,283 +23169,782 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23334
23169
  },
23335
23170
  {
23336
23171
  "id": "",
23172
+ "body": {
23173
+ "package": "himalaya",
23174
+ "type": "Text",
23175
+ "props": {
23176
+ "text": "$service:himiBlogPost.commentStatusText",
23177
+ "style": "footnote",
23178
+ "color": "textSecondary"
23179
+ }
23180
+ },
23181
+ "modifiers": {
23182
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
23183
+ }
23184
+ },
23185
+ {
23186
+ "id": "himi_blog_post.comments_empty",
23337
23187
  "body": {
23338
23188
  "package": "himalaya",
23339
23189
  "type": "VStack",
23340
23190
  "props": {
23341
- "spacing": 0,
23191
+ "spacing": 4,
23342
23192
  "alignment": "leading",
23343
23193
  "children": [
23344
23194
  {
23345
- "id": "comment_body_$item.id",
23195
+ "id": "",
23346
23196
  "body": {
23347
23197
  "package": "himalaya",
23348
- "type": "RichContent",
23198
+ "type": "Text",
23349
23199
  "props": {
23350
- "documentJsonPath": "$item.bodyJson",
23351
- "onLink": {
23352
- "actionId": "tier5.himiBlogPost.openLink"
23353
- },
23354
- "fallback": {
23355
- "id": "",
23356
- "body": {
23357
- "package": "himalaya",
23358
- "type": "Text",
23359
- "props": {
23360
- "text": "$item.text",
23361
- "style": "body",
23362
- "collapseWhenEmpty": true
23363
- }
23364
- }
23365
- }
23200
+ "text": "No comments yet",
23201
+ "style": "bodyEmphasis"
23366
23202
  }
23367
23203
  }
23368
23204
  },
23369
23205
  {
23370
- "id": "comment_body_text_$item.id",
23206
+ "id": "",
23371
23207
  "body": {
23372
23208
  "package": "himalaya",
23373
23209
  "type": "Text",
23374
23210
  "props": {
23375
- "text": "$item.text",
23376
- "style": "body",
23377
- "collapseWhenEmpty": true
23211
+ "text": "Be the first to share your thoughts.",
23212
+ "style": "footnote",
23213
+ "color": "textSecondary"
23378
23214
  }
23379
- },
23380
- "modifiers": {
23381
- "hiddenPath": "$item.hasBodyJson"
23382
23215
  }
23383
23216
  }
23384
23217
  ]
23385
23218
  }
23386
23219
  },
23387
23220
  "modifiers": {
23388
- "padding": {
23389
- "leading": 42
23390
- }
23391
- }
23392
- },
23393
- {
23394
- "id": "",
23395
- "body": {
23396
- "package": "himalaya",
23397
- "type": "Divider",
23398
- "props": {}
23399
- },
23400
- "modifiers": {
23401
- "padding": {
23402
- "top": 10
23403
- }
23404
- }
23405
- }
23406
- ]
23407
- }
23408
- },
23409
- "modifiers": {
23410
- "padding": {
23411
- "leading": 20,
23412
- "trailing": 20,
23413
- "top": 12
23414
- }
23415
- }
23416
- }
23417
- ]
23418
- }
23419
- }
23420
- },
23421
- {
23422
- "id": "",
23423
- "body": {
23424
- "package": "himalaya",
23425
- "type": "VStack",
23426
- "props": {
23427
- "spacing": 0,
23428
- "alignment": "leading",
23429
- "children": [
23430
- {
23431
- "id": "himi_blog_post.comment_composer",
23432
- "body": {
23433
- "package": "himalaya",
23434
- "type": "VStack",
23435
- "props": {
23436
- "spacing": 10,
23437
- "alignment": "leading",
23438
- "children": [
23439
- {
23440
- "id": "himi_blog_post.comment_input",
23441
- "body": {
23442
- "package": "himalaya",
23443
- "type": "TextField",
23444
- "props": {
23445
- "placeholder": "Write a comment",
23446
- "valuePath": "$service:himiBlogPost.commentText",
23447
- "multilineMaxLines": 4,
23448
- "onChange": {
23449
- "actionId": "tier5.himiBlogPost.setComment"
23450
- }
23451
- }
23452
- }
23453
- },
23454
- {
23455
- "id": "himi_blog_post.comment_submit",
23456
- "body": {
23457
- "package": "himalaya",
23458
- "type": "Button",
23459
- "props": {
23460
- "title": "Post comment",
23461
- "style": "primary",
23462
- "fullWidth": false,
23463
- "action": {
23464
- "actionId": "tier5.himiBlogPost.submitComment"
23465
- }
23466
- }
23467
- }
23468
- }
23469
- ]
23470
- }
23471
- }
23472
- }
23473
- ]
23474
- }
23475
- },
23476
- "modifiers": {
23477
- "padding": {
23478
- "leading": 20,
23479
- "trailing": 20,
23480
- "top": 12,
23481
- "bottom": 16
23482
- },
23483
- "hiddenPath": "$service:himiBlogPost.commentsOff"
23484
- }
23485
- }
23486
- ]
23487
- }
23488
- }
23489
- },
23490
- {
23491
- "id": "himi_blog_post.recent_section",
23492
- "body": {
23493
- "package": "himalaya",
23494
- "type": "VStack",
23495
- "props": {
23496
- "spacing": 0,
23497
- "alignment": "leading",
23498
- "children": [
23499
- {
23500
- "id": "himi_blog_post.recent_band",
23501
- "body": {
23502
- "package": "himalaya",
23503
- "type": "VStack",
23504
- "props": {
23505
- "spacing": 0,
23506
- "children": []
23507
- }
23508
- },
23509
- "modifiers": {
23510
- "height": 12,
23511
- "fillMaxWidth": true,
23512
- "background": {
23513
- "token": "surfaceSecondary"
23514
- },
23515
- "accessibilityRole": "decorative"
23516
- }
23517
- },
23518
- {
23519
- "id": "",
23520
- "body": {
23521
- "package": "himalaya",
23522
- "type": "VStack",
23523
- "props": {
23524
- "spacing": 0,
23525
- "alignment": "leading",
23526
- "children": [
23527
- {
23528
- "id": "",
23529
- "body": {
23530
- "package": "himalaya",
23531
- "type": "Text",
23532
- "props": {
23533
- "text": "Recent posts",
23534
- "style": "title3"
23535
- }
23536
- },
23537
- "modifiers": {
23538
- "accessibilityRole": "heading"
23539
- }
23540
- }
23541
- ]
23542
- }
23543
- },
23544
- "modifiers": {
23545
- "padding": {
23546
- "leading": 20,
23547
- "trailing": 20,
23548
- "top": 20,
23549
- "bottom": 4
23550
- }
23551
- }
23552
- },
23553
- {
23554
- "id": "himi_blog_post.recent",
23555
- "body": {
23556
- "package": "himalaya",
23557
- "type": "Grid",
23558
- "props": {
23559
- "columns": 1,
23560
- "spacing": 0,
23561
- "itemsPath": "$service:himiBlogPost.recent",
23562
- "items": [
23563
- {
23564
- "id": "himi_blog_post.recent_row",
23565
- "body": {
23566
- "package": "himalaya",
23567
- "type": "HStack",
23568
- "props": {
23569
- "spacing": 12,
23570
- "children": [
23571
- {
23572
- "id": "himi_blog_post.recent_cover",
23573
- "body": {
23574
- "package": "himalaya",
23575
- "type": "Image",
23576
- "props": {
23577
- "url": "$item.cover",
23578
- "width": 72,
23579
- "height": 72,
23580
- "contentMode": "fill"
23581
- }
23582
- },
23583
- "modifiers": {
23584
- "accessibilityRole": "decorative",
23585
- "cornerRadius": 8,
23586
- "hiddenPath": "$item.noCover"
23221
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
23587
23222
  }
23588
23223
  },
23589
23224
  {
23590
- "id": "",
23225
+ "id": "himi_blog_post.comments",
23591
23226
  "body": {
23592
23227
  "package": "himalaya",
23593
- "type": "ZStack",
23228
+ "type": "Grid",
23594
23229
  "props": {
23595
- "alignment": "center",
23596
- "children": [
23230
+ "columns": 1,
23231
+ "spacing": 16,
23232
+ "itemsPath": "$service:himiBlogPost.latestComments",
23233
+ "items": [
23597
23234
  {
23598
- "id": "",
23235
+ "id": "himi_blog_post.comment_row",
23599
23236
  "body": {
23600
23237
  "package": "himalaya",
23601
- "type": "Icon",
23238
+ "type": "HStack",
23602
23239
  "props": {
23603
- "name": "newspaper",
23604
- "size": 22,
23605
- "tint": "textTertiary"
23606
- }
23607
- },
23608
- "modifiers": {
23609
- "accessibilityRole": "decorative"
23610
- }
23611
- }
23612
- ]
23613
- }
23240
+ "spacing": 10,
23241
+ "alignment": "leading",
23242
+ "children": [
23243
+ {
23244
+ "id": "himi_blog_post.comment_avatar.photo",
23245
+ "body": {
23246
+ "package": "himalaya",
23247
+ "type": "Image",
23248
+ "props": {
23249
+ "url": "$item.authorPhoto",
23250
+ "width": 32,
23251
+ "height": 32,
23252
+ "contentMode": "fill",
23253
+ "shape": "circle"
23254
+ }
23255
+ },
23256
+ "modifiers": {
23257
+ "accessibilityRole": "decorative",
23258
+ "hiddenPath": "$item.noAuthorPhoto"
23259
+ }
23260
+ },
23261
+ {
23262
+ "id": "",
23263
+ "body": {
23264
+ "package": "himalaya",
23265
+ "type": "ZStack",
23266
+ "props": {
23267
+ "alignment": "center",
23268
+ "children": [
23269
+ {
23270
+ "id": "",
23271
+ "body": {
23272
+ "package": "himalaya",
23273
+ "type": "Text",
23274
+ "props": {
23275
+ "text": "$item.authorInitial",
23276
+ "style": "footnote",
23277
+ "color": "accentPrimary",
23278
+ "collapseWhenEmpty": true
23279
+ }
23280
+ }
23281
+ }
23282
+ ]
23283
+ }
23284
+ },
23285
+ "modifiers": {
23286
+ "width": 32,
23287
+ "height": 32,
23288
+ "background": {
23289
+ "token": "accentSurface"
23290
+ },
23291
+ "cornerRadius": 16,
23292
+ "accessibilityRole": "decorative",
23293
+ "hiddenPath": "$item.hasAuthorPhoto"
23294
+ }
23295
+ },
23296
+ {
23297
+ "id": "",
23298
+ "body": {
23299
+ "package": "himalaya",
23300
+ "type": "VStack",
23301
+ "props": {
23302
+ "spacing": 4,
23303
+ "alignment": "leading",
23304
+ "children": [
23305
+ {
23306
+ "id": "",
23307
+ "body": {
23308
+ "package": "himalaya",
23309
+ "type": "HStack",
23310
+ "props": {
23311
+ "spacing": 6,
23312
+ "alignment": "center",
23313
+ "children": [
23314
+ {
23315
+ "id": "",
23316
+ "body": {
23317
+ "package": "himalaya",
23318
+ "type": "Text",
23319
+ "props": {
23320
+ "text": "$item.authorName",
23321
+ "style": "footnote",
23322
+ "maxLines": 1
23323
+ }
23324
+ }
23325
+ },
23326
+ {
23327
+ "id": "",
23328
+ "body": {
23329
+ "package": "himalaya",
23330
+ "type": "Text",
23331
+ "props": {
23332
+ "text": "$item.meta",
23333
+ "style": "caption",
23334
+ "color": "textTertiary",
23335
+ "maxLines": 1,
23336
+ "collapseWhenEmpty": true
23337
+ }
23338
+ }
23339
+ },
23340
+ {
23341
+ "id": "",
23342
+ "body": {
23343
+ "package": "himalaya",
23344
+ "type": "Spacer",
23345
+ "props": {}
23346
+ }
23347
+ },
23348
+ {
23349
+ "id": "",
23350
+ "body": {
23351
+ "package": "himalaya",
23352
+ "type": "HStack",
23353
+ "props": {
23354
+ "spacing": 0,
23355
+ "alignment": "center",
23356
+ "children": [
23357
+ {
23358
+ "id": "himi_blog_post.comment_menu",
23359
+ "body": {
23360
+ "package": "himalaya",
23361
+ "type": "Menu",
23362
+ "props": {
23363
+ "anchor": {
23364
+ "id": "",
23365
+ "body": {
23366
+ "package": "himalaya",
23367
+ "type": "Icon",
23368
+ "props": {
23369
+ "name": "more_vertical",
23370
+ "size": 18,
23371
+ "tint": "textSecondary"
23372
+ }
23373
+ },
23374
+ "modifiers": {
23375
+ "accessibilityRole": "button",
23376
+ "accessibilityLabel": "Comment actions",
23377
+ "padding": {
23378
+ "leading": 13,
23379
+ "trailing": 13,
23380
+ "top": 4,
23381
+ "bottom": 4
23382
+ }
23383
+ }
23384
+ },
23385
+ "style": "dropdown",
23386
+ "items": [
23387
+ {
23388
+ "id": "report",
23389
+ "label": "Report",
23390
+ "icon": "warning",
23391
+ "action": {
23392
+ "actionId": "tier5.himiBlogPost.reportComment",
23393
+ "params": {
23394
+ "id": "$item.id"
23395
+ }
23396
+ }
23397
+ }
23398
+ ]
23399
+ }
23400
+ }
23401
+ }
23402
+ ]
23403
+ }
23404
+ },
23405
+ "modifiers": {
23406
+ "hiddenPath": "$item.noReport"
23407
+ }
23408
+ }
23409
+ ]
23410
+ }
23411
+ }
23412
+ },
23413
+ {
23414
+ "id": "comment_preview_$item.id",
23415
+ "body": {
23416
+ "package": "himalaya",
23417
+ "type": "Text",
23418
+ "props": {
23419
+ "text": "$item.preview",
23420
+ "style": "body",
23421
+ "maxLines": 2
23422
+ }
23423
+ }
23424
+ },
23425
+ {
23426
+ "id": "",
23427
+ "body": {
23428
+ "package": "himalaya",
23429
+ "type": "HStack",
23430
+ "props": {
23431
+ "spacing": 12,
23432
+ "alignment": "center",
23433
+ "children": [
23434
+ {
23435
+ "id": "",
23436
+ "body": {
23437
+ "package": "himalaya",
23438
+ "type": "HStack",
23439
+ "props": {
23440
+ "spacing": 0,
23441
+ "alignment": "center",
23442
+ "children": [
23443
+ {
23444
+ "id": "himi_blog_post.comment_like",
23445
+ "body": {
23446
+ "package": "himalaya",
23447
+ "type": "HStack",
23448
+ "props": {
23449
+ "spacing": 4,
23450
+ "alignment": "center",
23451
+ "children": [
23452
+ {
23453
+ "id": "",
23454
+ "body": {
23455
+ "package": "himalaya",
23456
+ "type": "Icon",
23457
+ "props": {
23458
+ "name": "heart",
23459
+ "size": 14,
23460
+ "tint": "textSecondary"
23461
+ }
23462
+ },
23463
+ "modifiers": {
23464
+ "accessibilityRole": "decorative"
23465
+ }
23466
+ },
23467
+ {
23468
+ "id": "",
23469
+ "body": {
23470
+ "package": "himalaya",
23471
+ "type": "Text",
23472
+ "props": {
23473
+ "text": "$item.likes",
23474
+ "style": "caption",
23475
+ "color": "textSecondary",
23476
+ "monospacedDigits": true
23477
+ }
23478
+ }
23479
+ }
23480
+ ]
23481
+ }
23482
+ },
23483
+ "modifiers": {
23484
+ "border": {
23485
+ "width": 1,
23486
+ "color": {
23487
+ "token": "border"
23488
+ }
23489
+ },
23490
+ "cornerRadius": 999,
23491
+ "padding": {
23492
+ "leading": 10,
23493
+ "trailing": 10,
23494
+ "top": 4,
23495
+ "bottom": 4
23496
+ },
23497
+ "onTap": {
23498
+ "actionId": "tier5.himiBlogPost.likeComment",
23499
+ "params": {
23500
+ "id": "$item.id"
23501
+ }
23502
+ },
23503
+ "pressFeedback": "scale",
23504
+ "haptic": "light",
23505
+ "accessibilityRole": "button",
23506
+ "accessibilityLabel": "Like",
23507
+ "hiddenPath": "$item.liked"
23508
+ }
23509
+ },
23510
+ {
23511
+ "id": "himi_blog_post.comment_unlike",
23512
+ "body": {
23513
+ "package": "himalaya",
23514
+ "type": "HStack",
23515
+ "props": {
23516
+ "spacing": 4,
23517
+ "alignment": "center",
23518
+ "children": [
23519
+ {
23520
+ "id": "",
23521
+ "body": {
23522
+ "package": "himalaya",
23523
+ "type": "Icon",
23524
+ "props": {
23525
+ "name": "heart_fill",
23526
+ "size": 14,
23527
+ "tint": "danger"
23528
+ }
23529
+ },
23530
+ "modifiers": {
23531
+ "accessibilityRole": "decorative"
23532
+ }
23533
+ },
23534
+ {
23535
+ "id": "",
23536
+ "body": {
23537
+ "package": "himalaya",
23538
+ "type": "Text",
23539
+ "props": {
23540
+ "text": "$item.likes",
23541
+ "style": "caption",
23542
+ "color": "danger",
23543
+ "monospacedDigits": true
23544
+ }
23545
+ }
23546
+ }
23547
+ ]
23548
+ }
23549
+ },
23550
+ "modifiers": {
23551
+ "background": {
23552
+ "token": "dangerSurface"
23553
+ },
23554
+ "cornerRadius": 999,
23555
+ "padding": {
23556
+ "leading": 10,
23557
+ "trailing": 10,
23558
+ "top": 4,
23559
+ "bottom": 4
23560
+ },
23561
+ "onTap": {
23562
+ "actionId": "tier5.himiBlogPost.unlikeComment",
23563
+ "params": {
23564
+ "id": "$item.id"
23565
+ }
23566
+ },
23567
+ "pressFeedback": "scale",
23568
+ "haptic": "light",
23569
+ "accessibilityRole": "button",
23570
+ "accessibilityLabel": "Unlike",
23571
+ "hiddenPath": "$item.notLiked"
23572
+ }
23573
+ }
23574
+ ]
23575
+ }
23576
+ },
23577
+ "modifiers": {
23578
+ "hiddenPath": "$item.noLikes"
23579
+ }
23580
+ },
23581
+ {
23582
+ "id": "",
23583
+ "body": {
23584
+ "package": "himalaya",
23585
+ "type": "HStack",
23586
+ "props": {
23587
+ "spacing": 0,
23588
+ "alignment": "center",
23589
+ "children": [
23590
+ {
23591
+ "id": "himi_blog_post.comment_reply",
23592
+ "body": {
23593
+ "package": "himalaya",
23594
+ "type": "Text",
23595
+ "props": {
23596
+ "text": "Reply",
23597
+ "style": "caption",
23598
+ "color": "textSecondary"
23599
+ }
23600
+ },
23601
+ "modifiers": {
23602
+ "onTap": {
23603
+ "actionId": "tier5.himiBlogPost.replyTo",
23604
+ "params": {
23605
+ "id": "$item.id"
23606
+ }
23607
+ },
23608
+ "accessibilityRole": "button",
23609
+ "padding": {
23610
+ "top": 4,
23611
+ "bottom": 4,
23612
+ "leading": 4,
23613
+ "trailing": 4
23614
+ },
23615
+ "hiddenPath": "$item.noReply"
23616
+ }
23617
+ }
23618
+ ]
23619
+ }
23620
+ },
23621
+ "modifiers": {
23622
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
23623
+ }
23624
+ },
23625
+ {
23626
+ "id": "",
23627
+ "body": {
23628
+ "package": "himalaya",
23629
+ "type": "Spacer",
23630
+ "props": {}
23631
+ }
23632
+ }
23633
+ ]
23634
+ }
23635
+ }
23636
+ }
23637
+ ]
23638
+ }
23639
+ },
23640
+ "modifiers": {
23641
+ "weight": 1
23642
+ }
23643
+ }
23644
+ ]
23645
+ }
23646
+ },
23647
+ "modifiers": {
23648
+ "fillMaxWidth": true
23649
+ }
23650
+ }
23651
+ ]
23652
+ }
23653
+ }
23654
+ },
23655
+ {
23656
+ "id": "himi_blog_post.comment_open_composer",
23657
+ "body": {
23658
+ "package": "himalaya",
23659
+ "type": "HStack",
23660
+ "props": {
23661
+ "spacing": 10,
23662
+ "alignment": "center",
23663
+ "children": [
23664
+ {
23665
+ "id": "himi_blog_post.comment_input_avatar.photo",
23666
+ "body": {
23667
+ "package": "himalaya",
23668
+ "type": "Image",
23669
+ "props": {
23670
+ "url": "$service:himiBlogPost.memberPhoto",
23671
+ "width": 32,
23672
+ "height": 32,
23673
+ "contentMode": "fill",
23674
+ "shape": "circle"
23675
+ }
23676
+ },
23677
+ "modifiers": {
23678
+ "accessibilityRole": "decorative",
23679
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
23680
+ }
23681
+ },
23682
+ {
23683
+ "id": "",
23684
+ "body": {
23685
+ "package": "himalaya",
23686
+ "type": "ZStack",
23687
+ "props": {
23688
+ "alignment": "center",
23689
+ "children": [
23690
+ {
23691
+ "id": "",
23692
+ "body": {
23693
+ "package": "himalaya",
23694
+ "type": "Icon",
23695
+ "props": {
23696
+ "name": "person",
23697
+ "size": 16,
23698
+ "tint": "accentPrimary"
23699
+ }
23700
+ },
23701
+ "modifiers": {
23702
+ "accessibilityRole": "decorative",
23703
+ "hiddenPath": "$service:himiBlogPost.isMember"
23704
+ }
23705
+ },
23706
+ {
23707
+ "id": "",
23708
+ "body": {
23709
+ "package": "himalaya",
23710
+ "type": "Text",
23711
+ "props": {
23712
+ "text": "$service:himiBlogPost.memberInitial",
23713
+ "style": "footnote",
23714
+ "color": "accentPrimary",
23715
+ "collapseWhenEmpty": true
23716
+ }
23717
+ }
23718
+ }
23719
+ ]
23720
+ }
23721
+ },
23722
+ "modifiers": {
23723
+ "width": 32,
23724
+ "height": 32,
23725
+ "background": {
23726
+ "token": "accentSurface"
23727
+ },
23728
+ "cornerRadius": 16,
23729
+ "accessibilityRole": "decorative",
23730
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
23731
+ }
23732
+ },
23733
+ {
23734
+ "id": "",
23735
+ "body": {
23736
+ "package": "himalaya",
23737
+ "type": "HStack",
23738
+ "props": {
23739
+ "spacing": 0,
23740
+ "alignment": "center",
23741
+ "children": [
23742
+ {
23743
+ "id": "",
23744
+ "body": {
23745
+ "package": "himalaya",
23746
+ "type": "Text",
23747
+ "props": {
23748
+ "text": "Leave a comment…",
23749
+ "style": "body",
23750
+ "color": "textTertiary",
23751
+ "maxLines": 1
23752
+ }
23753
+ }
23754
+ },
23755
+ {
23756
+ "id": "",
23757
+ "body": {
23758
+ "package": "himalaya",
23759
+ "type": "Spacer",
23760
+ "props": {}
23761
+ }
23762
+ }
23763
+ ]
23764
+ }
23765
+ },
23766
+ "modifiers": {
23767
+ "background": {
23768
+ "token": "surfacePrimary"
23769
+ },
23770
+ "cornerRadius": 999,
23771
+ "padding": {
23772
+ "leading": 16,
23773
+ "trailing": 16,
23774
+ "top": 10,
23775
+ "bottom": 10
23776
+ },
23777
+ "weight": 1
23778
+ }
23779
+ }
23780
+ ]
23781
+ }
23782
+ },
23783
+ "modifiers": {
23784
+ "onTap": {
23785
+ "actionId": "tier5.himiBlogPost.openComposer"
23786
+ },
23787
+ "accessibilityRole": "button",
23788
+ "accessibilityLabel": "Leave a comment…",
23789
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
23790
+ }
23791
+ }
23792
+ ]
23793
+ }
23794
+ },
23795
+ "modifiers": {
23796
+ "background": {
23797
+ "token": "surfaceSecondary"
23798
+ },
23799
+ "cornerRadius": 16,
23800
+ "padding": {
23801
+ "leading": 16,
23802
+ "trailing": 16,
23803
+ "top": 16,
23804
+ "bottom": 16
23805
+ }
23806
+ }
23807
+ }
23808
+ ]
23809
+ }
23810
+ },
23811
+ "modifiers": {
23812
+ "padding": {
23813
+ "leading": 20,
23814
+ "trailing": 20,
23815
+ "top": 20,
23816
+ "bottom": 20
23817
+ }
23818
+ }
23819
+ }
23820
+ ]
23821
+ }
23822
+ }
23823
+ },
23824
+ {
23825
+ "id": "himi_blog_post.recent_section",
23826
+ "body": {
23827
+ "package": "himalaya",
23828
+ "type": "VStack",
23829
+ "props": {
23830
+ "spacing": 0,
23831
+ "alignment": "leading",
23832
+ "children": [
23833
+ {
23834
+ "id": "himi_blog_post.recent_band",
23835
+ "body": {
23836
+ "package": "himalaya",
23837
+ "type": "VStack",
23838
+ "props": {
23839
+ "spacing": 0,
23840
+ "children": []
23841
+ }
23842
+ },
23843
+ "modifiers": {
23844
+ "height": 12,
23845
+ "fillMaxWidth": true,
23846
+ "background": {
23847
+ "token": "surfaceSecondary"
23848
+ },
23849
+ "accessibilityRole": "decorative"
23850
+ }
23851
+ },
23852
+ {
23853
+ "id": "",
23854
+ "body": {
23855
+ "package": "himalaya",
23856
+ "type": "VStack",
23857
+ "props": {
23858
+ "spacing": 0,
23859
+ "alignment": "leading",
23860
+ "children": [
23861
+ {
23862
+ "id": "",
23863
+ "body": {
23864
+ "package": "himalaya",
23865
+ "type": "Text",
23866
+ "props": {
23867
+ "text": "Recent posts",
23868
+ "style": "title3"
23869
+ }
23870
+ },
23871
+ "modifiers": {
23872
+ "accessibilityRole": "heading"
23873
+ }
23874
+ }
23875
+ ]
23876
+ }
23877
+ },
23878
+ "modifiers": {
23879
+ "padding": {
23880
+ "leading": 20,
23881
+ "trailing": 20,
23882
+ "top": 20,
23883
+ "bottom": 4
23884
+ }
23885
+ }
23886
+ },
23887
+ {
23888
+ "id": "himi_blog_post.recent",
23889
+ "body": {
23890
+ "package": "himalaya",
23891
+ "type": "Grid",
23892
+ "props": {
23893
+ "columns": 1,
23894
+ "spacing": 0,
23895
+ "itemsPath": "$service:himiBlogPost.recent",
23896
+ "items": [
23897
+ {
23898
+ "id": "himi_blog_post.recent_row",
23899
+ "body": {
23900
+ "package": "himalaya",
23901
+ "type": "HStack",
23902
+ "props": {
23903
+ "spacing": 12,
23904
+ "children": [
23905
+ {
23906
+ "id": "himi_blog_post.recent_cover",
23907
+ "body": {
23908
+ "package": "himalaya",
23909
+ "type": "Image",
23910
+ "props": {
23911
+ "url": "$item.cover",
23912
+ "width": 72,
23913
+ "height": 72,
23914
+ "contentMode": "fill"
23915
+ }
23916
+ },
23917
+ "modifiers": {
23918
+ "accessibilityRole": "decorative",
23919
+ "cornerRadius": 8,
23920
+ "hiddenPath": "$item.noCover"
23921
+ }
23922
+ },
23923
+ {
23924
+ "id": "",
23925
+ "body": {
23926
+ "package": "himalaya",
23927
+ "type": "ZStack",
23928
+ "props": {
23929
+ "alignment": "center",
23930
+ "children": [
23931
+ {
23932
+ "id": "",
23933
+ "body": {
23934
+ "package": "himalaya",
23935
+ "type": "Icon",
23936
+ "props": {
23937
+ "name": "newspaper",
23938
+ "size": 22,
23939
+ "tint": "textTertiary"
23940
+ }
23941
+ },
23942
+ "modifiers": {
23943
+ "accessibilityRole": "decorative"
23944
+ }
23945
+ }
23946
+ ]
23947
+ }
23614
23948
  },
23615
23949
  "modifiers": {
23616
23950
  "width": 72,
@@ -23623,602 +23957,2035 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23623
23957
  "hiddenPath": "$item.hasCover"
23624
23958
  }
23625
23959
  },
23626
- {
23627
- "id": "",
23628
- "body": {
23629
- "package": "himalaya",
23630
- "type": "VStack",
23631
- "props": {
23632
- "spacing": 4,
23633
- "alignment": "leading",
23634
- "children": [
23635
- {
23636
- "id": "",
23637
- "body": {
23638
- "package": "himalaya",
23639
- "type": "Text",
23640
- "props": {
23641
- "text": "$item.title",
23642
- "style": "bodyEmphasis",
23643
- "maxLines": 2
23644
- }
23960
+ {
23961
+ "id": "",
23962
+ "body": {
23963
+ "package": "himalaya",
23964
+ "type": "VStack",
23965
+ "props": {
23966
+ "spacing": 4,
23967
+ "alignment": "leading",
23968
+ "children": [
23969
+ {
23970
+ "id": "",
23971
+ "body": {
23972
+ "package": "himalaya",
23973
+ "type": "Text",
23974
+ "props": {
23975
+ "text": "$item.title",
23976
+ "style": "bodyEmphasis",
23977
+ "maxLines": 2
23978
+ }
23979
+ }
23980
+ },
23981
+ {
23982
+ "id": "",
23983
+ "body": {
23984
+ "package": "himalaya",
23985
+ "type": "Text",
23986
+ "props": {
23987
+ "text": "$item.date",
23988
+ "style": "caption",
23989
+ "color": "textSecondary",
23990
+ "maxLines": 1,
23991
+ "collapseWhenEmpty": true
23992
+ }
23993
+ }
23994
+ }
23995
+ ]
23996
+ }
23997
+ }
23998
+ },
23999
+ {
24000
+ "id": "",
24001
+ "body": {
24002
+ "package": "himalaya",
24003
+ "type": "Spacer",
24004
+ "props": {}
24005
+ }
24006
+ }
24007
+ ]
24008
+ }
24009
+ },
24010
+ "modifiers": {
24011
+ "padding": {
24012
+ "leading": 20,
24013
+ "trailing": 20,
24014
+ "top": 12,
24015
+ "bottom": 12
24016
+ },
24017
+ "onTap": {
24018
+ "actionId": "himi.open",
24019
+ "params": {
24020
+ "screenId": "$item.detailScreenId",
24021
+ "id": "$item.id"
24022
+ }
24023
+ },
24024
+ "pressFeedback": "scale",
24025
+ "haptic": "light",
24026
+ "accessibilityLabel": "$item.title"
24027
+ }
24028
+ }
24029
+ ]
24030
+ }
24031
+ }
24032
+ },
24033
+ {
24034
+ "id": "",
24035
+ "body": {
24036
+ "package": "himalaya",
24037
+ "type": "HStack",
24038
+ "props": {
24039
+ "spacing": 0,
24040
+ "children": [
24041
+ {
24042
+ "id": "",
24043
+ "body": {
24044
+ "package": "himalaya",
24045
+ "type": "Spacer",
24046
+ "props": {}
24047
+ }
24048
+ },
24049
+ {
24050
+ "id": "himi_blog_post.see_all",
24051
+ "body": {
24052
+ "package": "himalaya",
24053
+ "type": "Button",
24054
+ "props": {
24055
+ "title": "See All Posts",
24056
+ "style": "secondary",
24057
+ "fullWidth": false,
24058
+ "action": {
24059
+ "actionId": "himi.open",
24060
+ "params": {
24061
+ "screenId": "himi_blog"
24062
+ }
24063
+ }
24064
+ }
24065
+ }
24066
+ },
24067
+ {
24068
+ "id": "",
24069
+ "body": {
24070
+ "package": "himalaya",
24071
+ "type": "Spacer",
24072
+ "props": {}
24073
+ }
24074
+ }
24075
+ ]
24076
+ }
24077
+ },
24078
+ "modifiers": {
24079
+ "padding": {
24080
+ "top": 12,
24081
+ "bottom": 8
24082
+ }
24083
+ }
24084
+ }
24085
+ ]
24086
+ }
24087
+ },
24088
+ "modifiers": {
24089
+ "hiddenPath": "$service:himiBlogPost.noRecent"
24090
+ }
24091
+ }
24092
+ ]
24093
+ }
24094
+ },
24095
+ "modifiers": {
24096
+ "hiddenPath": "$service:himiBlogPost.noPost"
24097
+ }
24098
+ },
24099
+ {
24100
+ "id": "himi_blog_post.more_sheet",
24101
+ "body": {
24102
+ "package": "himalaya",
24103
+ "type": "BottomSheet",
24104
+ "props": {
24105
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
24106
+ "dismissible": true,
24107
+ "showGrabber": true,
24108
+ "onDismiss": {
24109
+ "actionId": "tier5.himiBlogPost.closeMore"
24110
+ },
24111
+ "content": {
24112
+ "id": "",
24113
+ "body": {
24114
+ "package": "himalaya",
24115
+ "type": "VStack",
24116
+ "props": {
24117
+ "spacing": 0,
24118
+ "alignment": "leading",
24119
+ "children": [
24120
+ {
24121
+ "id": "himi_blog_post.report",
24122
+ "body": {
24123
+ "package": "himalaya",
24124
+ "type": "HStack",
24125
+ "props": {
24126
+ "spacing": 14,
24127
+ "alignment": "center",
24128
+ "children": [
24129
+ {
24130
+ "id": "",
24131
+ "body": {
24132
+ "package": "himalaya",
24133
+ "type": "Icon",
24134
+ "props": {
24135
+ "name": "warning",
24136
+ "size": 22,
24137
+ "tint": "textPrimary"
24138
+ }
24139
+ },
24140
+ "modifiers": {
24141
+ "accessibilityRole": "decorative"
24142
+ }
24143
+ },
24144
+ {
24145
+ "id": "",
24146
+ "body": {
24147
+ "package": "himalaya",
24148
+ "type": "Text",
24149
+ "props": {
24150
+ "text": "Report",
24151
+ "style": "body"
24152
+ }
24153
+ }
24154
+ },
24155
+ {
24156
+ "id": "",
24157
+ "body": {
24158
+ "package": "himalaya",
24159
+ "type": "Spacer",
24160
+ "props": {}
24161
+ }
24162
+ }
24163
+ ]
24164
+ }
24165
+ },
24166
+ "modifiers": {
24167
+ "onTap": {
24168
+ "actionId": "tier5.himiBlogPost.report"
24169
+ },
24170
+ "accessibilityRole": "button",
24171
+ "accessibilityLabel": "Report",
24172
+ "padding": {
24173
+ "top": 11,
24174
+ "bottom": 11
24175
+ },
24176
+ "hiddenPath": "$service:himiBlogPost.reported"
24177
+ }
24178
+ },
24179
+ {
24180
+ "id": "himi_blog_post.hide",
24181
+ "body": {
24182
+ "package": "himalaya",
24183
+ "type": "HStack",
24184
+ "props": {
24185
+ "spacing": 14,
24186
+ "alignment": "center",
24187
+ "children": [
24188
+ {
24189
+ "id": "",
24190
+ "body": {
24191
+ "package": "himalaya",
24192
+ "type": "Icon",
24193
+ "props": {
24194
+ "name": "concealed",
24195
+ "size": 22,
24196
+ "tint": "textPrimary"
24197
+ }
24198
+ },
24199
+ "modifiers": {
24200
+ "accessibilityRole": "decorative"
24201
+ }
24202
+ },
24203
+ {
24204
+ "id": "",
24205
+ "body": {
24206
+ "package": "himalaya",
24207
+ "type": "Text",
24208
+ "props": {
24209
+ "text": "Hide post",
24210
+ "style": "body"
24211
+ }
24212
+ }
24213
+ },
24214
+ {
24215
+ "id": "",
24216
+ "body": {
24217
+ "package": "himalaya",
24218
+ "type": "Spacer",
24219
+ "props": {}
24220
+ }
24221
+ }
24222
+ ]
24223
+ }
24224
+ },
24225
+ "modifiers": {
24226
+ "onTap": {
24227
+ "actionId": "tier5.himiBlogPost.openHide"
24228
+ },
24229
+ "accessibilityRole": "button",
24230
+ "accessibilityLabel": "Hide post",
24231
+ "padding": {
24232
+ "top": 11,
24233
+ "bottom": 11
24234
+ },
24235
+ "hiddenPath": "$service:himiBlogPost.hidden"
24236
+ }
24237
+ },
24238
+ {
24239
+ "id": "himi_blog_post.unhide",
24240
+ "body": {
24241
+ "package": "himalaya",
24242
+ "type": "HStack",
24243
+ "props": {
24244
+ "spacing": 14,
24245
+ "alignment": "center",
24246
+ "children": [
24247
+ {
24248
+ "id": "",
24249
+ "body": {
24250
+ "package": "himalaya",
24251
+ "type": "Icon",
24252
+ "props": {
24253
+ "name": "visible",
24254
+ "size": 22,
24255
+ "tint": "textPrimary"
24256
+ }
24257
+ },
24258
+ "modifiers": {
24259
+ "accessibilityRole": "decorative"
24260
+ }
24261
+ },
24262
+ {
24263
+ "id": "",
24264
+ "body": {
24265
+ "package": "himalaya",
24266
+ "type": "Text",
24267
+ "props": {
24268
+ "text": "Undo hide",
24269
+ "style": "body"
24270
+ }
24271
+ }
24272
+ },
24273
+ {
24274
+ "id": "",
24275
+ "body": {
24276
+ "package": "himalaya",
24277
+ "type": "Spacer",
24278
+ "props": {}
24279
+ }
24280
+ }
24281
+ ]
24282
+ }
24283
+ },
24284
+ "modifiers": {
24285
+ "onTap": {
24286
+ "actionId": "tier5.himiBlogPost.unhide"
24287
+ },
24288
+ "accessibilityRole": "button",
24289
+ "accessibilityLabel": "Undo hide",
24290
+ "padding": {
24291
+ "top": 11,
24292
+ "bottom": 11
24293
+ },
24294
+ "hiddenPath": "$service:himiBlogPost.notHidden"
24295
+ }
24296
+ }
24297
+ ]
24298
+ }
24299
+ },
24300
+ "modifiers": {
24301
+ "padding": {
24302
+ "leading": 20,
24303
+ "trailing": 20,
24304
+ "top": 0,
24305
+ "bottom": 8
24306
+ }
24307
+ }
24308
+ }
24309
+ }
24310
+ }
24311
+ },
24312
+ {
24313
+ "id": "himi_blog_post.hide_sheet",
24314
+ "body": {
24315
+ "package": "himalaya",
24316
+ "type": "BottomSheet",
24317
+ "props": {
24318
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
24319
+ "dismissible": true,
24320
+ "showGrabber": true,
24321
+ "onDismiss": {
24322
+ "actionId": "tier5.himiBlogPost.closeHide"
24323
+ },
24324
+ "content": {
24325
+ "id": "",
24326
+ "body": {
24327
+ "package": "himalaya",
24328
+ "type": "VStack",
24329
+ "props": {
24330
+ "spacing": 0,
24331
+ "alignment": "leading",
24332
+ "children": [
24333
+ {
24334
+ "id": "",
24335
+ "body": {
24336
+ "package": "himalaya",
24337
+ "type": "Text",
24338
+ "props": {
24339
+ "text": "Why are you hiding this post?",
24340
+ "style": "title3"
24341
+ }
24342
+ },
24343
+ "modifiers": {
24344
+ "padding": {
24345
+ "bottom": 6
24346
+ }
24347
+ }
24348
+ },
24349
+ {
24350
+ "id": "himi_blog_post.hide_offensive",
24351
+ "body": {
24352
+ "package": "himalaya",
24353
+ "type": "HStack",
24354
+ "props": {
24355
+ "spacing": 14,
24356
+ "alignment": "center",
24357
+ "children": [
24358
+ {
24359
+ "id": "",
24360
+ "body": {
24361
+ "package": "himalaya",
24362
+ "type": "Text",
24363
+ "props": {
24364
+ "text": "It is offensive",
24365
+ "style": "body"
24366
+ }
24367
+ }
24368
+ },
24369
+ {
24370
+ "id": "",
24371
+ "body": {
24372
+ "package": "himalaya",
24373
+ "type": "Spacer",
24374
+ "props": {}
24375
+ }
24376
+ }
24377
+ ]
24378
+ }
24379
+ },
24380
+ "modifiers": {
24381
+ "onTap": {
24382
+ "actionId": "tier5.himiBlogPost.hide",
24383
+ "params": {
24384
+ "reason": "offensive"
24385
+ }
24386
+ },
24387
+ "accessibilityRole": "button",
24388
+ "accessibilityLabel": "It is offensive",
24389
+ "padding": {
24390
+ "top": 11,
24391
+ "bottom": 11
24392
+ }
24393
+ }
24394
+ },
24395
+ {
24396
+ "id": "himi_blog_post.hide_misleading",
24397
+ "body": {
24398
+ "package": "himalaya",
24399
+ "type": "HStack",
24400
+ "props": {
24401
+ "spacing": 14,
24402
+ "alignment": "center",
24403
+ "children": [
24404
+ {
24405
+ "id": "",
24406
+ "body": {
24407
+ "package": "himalaya",
24408
+ "type": "Text",
24409
+ "props": {
24410
+ "text": "It is misleading",
24411
+ "style": "body"
24412
+ }
24413
+ }
24414
+ },
24415
+ {
24416
+ "id": "",
24417
+ "body": {
24418
+ "package": "himalaya",
24419
+ "type": "Spacer",
24420
+ "props": {}
24421
+ }
24422
+ }
24423
+ ]
24424
+ }
24425
+ },
24426
+ "modifiers": {
24427
+ "onTap": {
24428
+ "actionId": "tier5.himiBlogPost.hide",
24429
+ "params": {
24430
+ "reason": "misleading"
24431
+ }
24432
+ },
24433
+ "accessibilityRole": "button",
24434
+ "accessibilityLabel": "It is misleading",
24435
+ "padding": {
24436
+ "top": 11,
24437
+ "bottom": 11
24438
+ }
24439
+ }
24440
+ },
24441
+ {
24442
+ "id": "himi_blog_post.hide_other",
24443
+ "body": {
24444
+ "package": "himalaya",
24445
+ "type": "HStack",
24446
+ "props": {
24447
+ "spacing": 14,
24448
+ "alignment": "center",
24449
+ "children": [
24450
+ {
24451
+ "id": "",
24452
+ "body": {
24453
+ "package": "himalaya",
24454
+ "type": "Text",
24455
+ "props": {
24456
+ "text": "Something else",
24457
+ "style": "body"
24458
+ }
24459
+ }
24460
+ },
24461
+ {
24462
+ "id": "",
24463
+ "body": {
24464
+ "package": "himalaya",
24465
+ "type": "Spacer",
24466
+ "props": {}
24467
+ }
24468
+ }
24469
+ ]
24470
+ }
24471
+ },
24472
+ "modifiers": {
24473
+ "onTap": {
24474
+ "actionId": "tier5.himiBlogPost.hide",
24475
+ "params": {
24476
+ "reason": "other"
24477
+ }
24478
+ },
24479
+ "accessibilityRole": "button",
24480
+ "accessibilityLabel": "Something else",
24481
+ "padding": {
24482
+ "top": 11,
24483
+ "bottom": 11
24484
+ }
24485
+ }
24486
+ },
24487
+ {
24488
+ "id": "himi_blog_post.hide_cancel",
24489
+ "body": {
24490
+ "package": "himalaya",
24491
+ "type": "Button",
24492
+ "props": {
24493
+ "title": "Cancel",
24494
+ "style": "secondary",
24495
+ "fullWidth": true,
24496
+ "action": {
24497
+ "actionId": "tier5.himiBlogPost.closeHide"
24498
+ }
24499
+ }
24500
+ },
24501
+ "modifiers": {
24502
+ "padding": {
24503
+ "top": 8
24504
+ }
24505
+ }
24506
+ }
24507
+ ]
24508
+ }
24509
+ },
24510
+ "modifiers": {
24511
+ "padding": {
24512
+ "leading": 20,
24513
+ "trailing": 20,
24514
+ "top": 12,
24515
+ "bottom": 8
24516
+ }
24517
+ }
24518
+ }
24519
+ }
24520
+ }
24521
+ },
24522
+ {
24523
+ "id": "himi_blog_post.comments_sheet",
24524
+ "body": {
24525
+ "package": "himalaya",
24526
+ "type": "BottomSheet",
24527
+ "props": {
24528
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
24529
+ "dismissible": true,
24530
+ "showGrabber": true,
24531
+ "detents": [
24532
+ 0.9
24533
+ ],
24534
+ "onDismiss": {
24535
+ "actionId": "tier5.himiBlogPost.closeComments"
24536
+ },
24537
+ "content": {
24538
+ "id": "",
24539
+ "body": {
24540
+ "package": "himalaya",
24541
+ "type": "VStack",
24542
+ "props": {
24543
+ "spacing": 12,
24544
+ "alignment": "leading",
24545
+ "children": [
24546
+ {
24547
+ "id": "",
24548
+ "body": {
24549
+ "package": "himalaya",
24550
+ "type": "HStack",
24551
+ "props": {
24552
+ "spacing": 8,
24553
+ "alignment": "center",
24554
+ "children": [
24555
+ {
24556
+ "id": "",
24557
+ "body": {
24558
+ "package": "himalaya",
24559
+ "type": "VStack",
24560
+ "props": {
24561
+ "spacing": 2,
24562
+ "alignment": "leading",
24563
+ "children": [
24564
+ {
24565
+ "id": "himi_blog_post.comments_sheet_title",
24566
+ "body": {
24567
+ "package": "himalaya",
24568
+ "type": "Text",
24569
+ "props": {
24570
+ "text": "$service:himiBlogPost.sheetTitle",
24571
+ "style": "title3"
24572
+ }
24573
+ },
24574
+ "modifiers": {
24575
+ "accessibilityRole": "heading"
24576
+ }
24577
+ },
24578
+ {
24579
+ "id": "",
24580
+ "body": {
24581
+ "package": "himalaya",
24582
+ "type": "Text",
24583
+ "props": {
24584
+ "text": "$service:himiBlogPost.title",
24585
+ "style": "footnote",
24586
+ "color": "textSecondary",
24587
+ "maxLines": 1,
24588
+ "collapseWhenEmpty": true
24589
+ }
24590
+ }
24591
+ }
24592
+ ]
24593
+ }
24594
+ }
24595
+ },
24596
+ {
24597
+ "id": "",
24598
+ "body": {
24599
+ "package": "himalaya",
24600
+ "type": "Spacer",
24601
+ "props": {}
24602
+ }
24603
+ },
24604
+ {
24605
+ "id": "himi_blog_post.comments_close",
24606
+ "body": {
24607
+ "package": "himalaya",
24608
+ "type": "Icon",
24609
+ "props": {
24610
+ "name": "chevron_down",
24611
+ "size": 22,
24612
+ "tint": "textPrimary"
24613
+ }
24614
+ },
24615
+ "modifiers": {
24616
+ "accessibilityRole": "button",
24617
+ "onTap": {
24618
+ "actionId": "tier5.himiBlogPost.closeComments"
24619
+ },
24620
+ "accessibilityLabel": "Close comments",
24621
+ "padding": {
24622
+ "leading": 11,
24623
+ "trailing": 11,
24624
+ "top": 11,
24625
+ "bottom": 11
24626
+ }
24627
+ }
24628
+ }
24629
+ ]
24630
+ }
24631
+ }
24632
+ },
24633
+ {
24634
+ "id": "",
24635
+ "body": {
24636
+ "package": "himalaya",
24637
+ "type": "Text",
24638
+ "props": {
24639
+ "text": "$service:himiBlogPost.commentStatusText",
24640
+ "style": "footnote",
24641
+ "color": "textSecondary"
24642
+ }
24643
+ },
24644
+ "modifiers": {
24645
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
24646
+ }
24647
+ },
24648
+ {
24649
+ "id": "",
24650
+ "body": {
24651
+ "package": "himalaya",
24652
+ "type": "VStack",
24653
+ "props": {
24654
+ "spacing": 4,
24655
+ "alignment": "leading",
24656
+ "children": [
24657
+ {
24658
+ "id": "",
24659
+ "body": {
24660
+ "package": "himalaya",
24661
+ "type": "Text",
24662
+ "props": {
24663
+ "text": "No comments yet",
24664
+ "style": "bodyEmphasis"
24665
+ }
24666
+ }
24667
+ },
24668
+ {
24669
+ "id": "",
24670
+ "body": {
24671
+ "package": "himalaya",
24672
+ "type": "Text",
24673
+ "props": {
24674
+ "text": "Be the first to share your thoughts.",
24675
+ "style": "footnote",
24676
+ "color": "textSecondary"
24677
+ }
24678
+ }
24679
+ }
24680
+ ]
24681
+ }
24682
+ },
24683
+ "modifiers": {
24684
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
24685
+ }
24686
+ },
24687
+ {
24688
+ "id": "himi_blog_post.sheet_comments",
24689
+ "body": {
24690
+ "package": "himalaya",
24691
+ "type": "LazyList",
24692
+ "props": {
24693
+ "spacing": 4,
24694
+ "itemsPath": "$service:himiBlogPost.comments",
24695
+ "items": [
24696
+ {
24697
+ "id": "himi_blog_post.sheet_comment_row",
24698
+ "body": {
24699
+ "package": "himalaya",
24700
+ "type": "VStack",
24701
+ "props": {
24702
+ "spacing": 0,
24703
+ "alignment": "leading",
24704
+ "children": [
24705
+ {
24706
+ "id": "",
24707
+ "body": {
24708
+ "package": "himalaya",
24709
+ "type": "VStack",
24710
+ "props": {
24711
+ "spacing": 0,
24712
+ "alignment": "leading",
24713
+ "children": [
24714
+ {
24715
+ "id": "",
24716
+ "body": {
24717
+ "package": "himalaya",
24718
+ "type": "HStack",
24719
+ "props": {
24720
+ "spacing": 10,
24721
+ "alignment": "leading",
24722
+ "children": [
24723
+ {
24724
+ "id": "himi_blog_post.comment_avatar.photo",
24725
+ "body": {
24726
+ "package": "himalaya",
24727
+ "type": "Image",
24728
+ "props": {
24729
+ "url": "$item.authorPhoto",
24730
+ "width": 32,
24731
+ "height": 32,
24732
+ "contentMode": "fill",
24733
+ "shape": "circle"
24734
+ }
24735
+ },
24736
+ "modifiers": {
24737
+ "accessibilityRole": "decorative",
24738
+ "hiddenPath": "$item.noAuthorPhoto"
24739
+ }
24740
+ },
24741
+ {
24742
+ "id": "",
24743
+ "body": {
24744
+ "package": "himalaya",
24745
+ "type": "ZStack",
24746
+ "props": {
24747
+ "alignment": "center",
24748
+ "children": [
24749
+ {
24750
+ "id": "",
24751
+ "body": {
24752
+ "package": "himalaya",
24753
+ "type": "Text",
24754
+ "props": {
24755
+ "text": "$item.authorInitial",
24756
+ "style": "footnote",
24757
+ "color": "accentPrimary",
24758
+ "collapseWhenEmpty": true
24759
+ }
24760
+ }
24761
+ }
24762
+ ]
24763
+ }
24764
+ },
24765
+ "modifiers": {
24766
+ "width": 32,
24767
+ "height": 32,
24768
+ "background": {
24769
+ "token": "accentSurface"
24770
+ },
24771
+ "cornerRadius": 16,
24772
+ "accessibilityRole": "decorative",
24773
+ "hiddenPath": "$item.hasAuthorPhoto"
24774
+ }
24775
+ },
24776
+ {
24777
+ "id": "",
24778
+ "body": {
24779
+ "package": "himalaya",
24780
+ "type": "VStack",
24781
+ "props": {
24782
+ "spacing": 4,
24783
+ "alignment": "leading",
24784
+ "children": [
24785
+ {
24786
+ "id": "",
24787
+ "body": {
24788
+ "package": "himalaya",
24789
+ "type": "HStack",
24790
+ "props": {
24791
+ "spacing": 6,
24792
+ "alignment": "center",
24793
+ "children": [
24794
+ {
24795
+ "id": "",
24796
+ "body": {
24797
+ "package": "himalaya",
24798
+ "type": "Text",
24799
+ "props": {
24800
+ "text": "$item.authorName",
24801
+ "style": "footnote",
24802
+ "maxLines": 1
24803
+ }
24804
+ }
24805
+ },
24806
+ {
24807
+ "id": "",
24808
+ "body": {
24809
+ "package": "himalaya",
24810
+ "type": "Text",
24811
+ "props": {
24812
+ "text": "$item.meta",
24813
+ "style": "caption",
24814
+ "color": "textTertiary",
24815
+ "maxLines": 1,
24816
+ "collapseWhenEmpty": true
24817
+ }
24818
+ }
24819
+ },
24820
+ {
24821
+ "id": "",
24822
+ "body": {
24823
+ "package": "himalaya",
24824
+ "type": "Spacer",
24825
+ "props": {}
24826
+ }
24827
+ },
24828
+ {
24829
+ "id": "",
24830
+ "body": {
24831
+ "package": "himalaya",
24832
+ "type": "HStack",
24833
+ "props": {
24834
+ "spacing": 0,
24835
+ "alignment": "center",
24836
+ "children": [
24837
+ {
24838
+ "id": "himi_blog_post.reply_menu",
24839
+ "body": {
24840
+ "package": "himalaya",
24841
+ "type": "Menu",
24842
+ "props": {
24843
+ "anchor": {
24844
+ "id": "",
24845
+ "body": {
24846
+ "package": "himalaya",
24847
+ "type": "Icon",
24848
+ "props": {
24849
+ "name": "more_vertical",
24850
+ "size": 18,
24851
+ "tint": "textSecondary"
24852
+ }
24853
+ },
24854
+ "modifiers": {
24855
+ "accessibilityRole": "button",
24856
+ "accessibilityLabel": "Comment actions",
24857
+ "padding": {
24858
+ "leading": 13,
24859
+ "trailing": 13,
24860
+ "top": 4,
24861
+ "bottom": 4
24862
+ }
24863
+ }
24864
+ },
24865
+ "style": "dropdown",
24866
+ "items": [
24867
+ {
24868
+ "id": "report",
24869
+ "label": "Report",
24870
+ "icon": "warning",
24871
+ "action": {
24872
+ "actionId": "tier5.himiBlogPost.reportComment",
24873
+ "params": {
24874
+ "id": "$item.id"
24875
+ }
24876
+ }
24877
+ }
24878
+ ]
24879
+ }
24880
+ }
24881
+ }
24882
+ ]
24883
+ }
24884
+ },
24885
+ "modifiers": {
24886
+ "hiddenPath": "$item.noReport"
24887
+ }
24888
+ }
24889
+ ]
24890
+ }
24891
+ }
24892
+ },
24893
+ {
24894
+ "id": "",
24895
+ "body": {
24896
+ "package": "himalaya",
24897
+ "type": "VStack",
24898
+ "props": {
24899
+ "spacing": 0,
24900
+ "alignment": "leading",
24901
+ "children": [
24902
+ {
24903
+ "id": "reply_body_$item.id",
24904
+ "body": {
24905
+ "package": "himalaya",
24906
+ "type": "RichContent",
24907
+ "props": {
24908
+ "documentJsonPath": "$item.bodyJson",
24909
+ "onLink": {
24910
+ "actionId": "tier5.himiBlogPost.openLink"
24911
+ },
24912
+ "fallback": {
24913
+ "id": "",
24914
+ "body": {
24915
+ "package": "himalaya",
24916
+ "type": "Text",
24917
+ "props": {
24918
+ "text": "$item.text",
24919
+ "style": "body",
24920
+ "collapseWhenEmpty": true
24921
+ }
24922
+ }
24923
+ }
24924
+ }
24925
+ }
24926
+ },
24927
+ {
24928
+ "id": "reply_body_text_$item.id",
24929
+ "body": {
24930
+ "package": "himalaya",
24931
+ "type": "Text",
24932
+ "props": {
24933
+ "text": "$item.text",
24934
+ "style": "body",
24935
+ "collapseWhenEmpty": true
24936
+ }
24937
+ },
24938
+ "modifiers": {
24939
+ "hiddenPath": "$item.hasBodyJson"
24940
+ }
24941
+ }
24942
+ ]
24943
+ }
24944
+ }
24945
+ },
24946
+ {
24947
+ "id": "",
24948
+ "body": {
24949
+ "package": "himalaya",
24950
+ "type": "HStack",
24951
+ "props": {
24952
+ "spacing": 12,
24953
+ "alignment": "center",
24954
+ "children": [
24955
+ {
24956
+ "id": "",
24957
+ "body": {
24958
+ "package": "himalaya",
24959
+ "type": "HStack",
24960
+ "props": {
24961
+ "spacing": 0,
24962
+ "alignment": "center",
24963
+ "children": [
24964
+ {
24965
+ "id": "himi_blog_post.comment_like",
24966
+ "body": {
24967
+ "package": "himalaya",
24968
+ "type": "HStack",
24969
+ "props": {
24970
+ "spacing": 4,
24971
+ "alignment": "center",
24972
+ "children": [
24973
+ {
24974
+ "id": "",
24975
+ "body": {
24976
+ "package": "himalaya",
24977
+ "type": "Icon",
24978
+ "props": {
24979
+ "name": "heart",
24980
+ "size": 14,
24981
+ "tint": "textSecondary"
24982
+ }
24983
+ },
24984
+ "modifiers": {
24985
+ "accessibilityRole": "decorative"
24986
+ }
24987
+ },
24988
+ {
24989
+ "id": "",
24990
+ "body": {
24991
+ "package": "himalaya",
24992
+ "type": "Text",
24993
+ "props": {
24994
+ "text": "$item.likes",
24995
+ "style": "caption",
24996
+ "color": "textSecondary",
24997
+ "monospacedDigits": true
24998
+ }
24999
+ }
25000
+ }
25001
+ ]
25002
+ }
25003
+ },
25004
+ "modifiers": {
25005
+ "border": {
25006
+ "width": 1,
25007
+ "color": {
25008
+ "token": "border"
25009
+ }
25010
+ },
25011
+ "cornerRadius": 999,
25012
+ "padding": {
25013
+ "leading": 10,
25014
+ "trailing": 10,
25015
+ "top": 4,
25016
+ "bottom": 4
25017
+ },
25018
+ "onTap": {
25019
+ "actionId": "tier5.himiBlogPost.likeComment",
25020
+ "params": {
25021
+ "id": "$item.id"
25022
+ }
25023
+ },
25024
+ "pressFeedback": "scale",
25025
+ "haptic": "light",
25026
+ "accessibilityRole": "button",
25027
+ "accessibilityLabel": "Like",
25028
+ "hiddenPath": "$item.liked"
25029
+ }
25030
+ },
25031
+ {
25032
+ "id": "himi_blog_post.comment_unlike",
25033
+ "body": {
25034
+ "package": "himalaya",
25035
+ "type": "HStack",
25036
+ "props": {
25037
+ "spacing": 4,
25038
+ "alignment": "center",
25039
+ "children": [
25040
+ {
25041
+ "id": "",
25042
+ "body": {
25043
+ "package": "himalaya",
25044
+ "type": "Icon",
25045
+ "props": {
25046
+ "name": "heart_fill",
25047
+ "size": 14,
25048
+ "tint": "danger"
25049
+ }
25050
+ },
25051
+ "modifiers": {
25052
+ "accessibilityRole": "decorative"
25053
+ }
25054
+ },
25055
+ {
25056
+ "id": "",
25057
+ "body": {
25058
+ "package": "himalaya",
25059
+ "type": "Text",
25060
+ "props": {
25061
+ "text": "$item.likes",
25062
+ "style": "caption",
25063
+ "color": "danger",
25064
+ "monospacedDigits": true
25065
+ }
25066
+ }
25067
+ }
25068
+ ]
25069
+ }
25070
+ },
25071
+ "modifiers": {
25072
+ "background": {
25073
+ "token": "dangerSurface"
25074
+ },
25075
+ "cornerRadius": 999,
25076
+ "padding": {
25077
+ "leading": 10,
25078
+ "trailing": 10,
25079
+ "top": 4,
25080
+ "bottom": 4
25081
+ },
25082
+ "onTap": {
25083
+ "actionId": "tier5.himiBlogPost.unlikeComment",
25084
+ "params": {
25085
+ "id": "$item.id"
25086
+ }
25087
+ },
25088
+ "pressFeedback": "scale",
25089
+ "haptic": "light",
25090
+ "accessibilityRole": "button",
25091
+ "accessibilityLabel": "Unlike",
25092
+ "hiddenPath": "$item.notLiked"
25093
+ }
25094
+ }
25095
+ ]
25096
+ }
25097
+ },
25098
+ "modifiers": {
25099
+ "hiddenPath": "$item.noLikes"
25100
+ }
25101
+ },
25102
+ {
25103
+ "id": "",
25104
+ "body": {
25105
+ "package": "himalaya",
25106
+ "type": "HStack",
25107
+ "props": {
25108
+ "spacing": 0,
25109
+ "alignment": "center",
25110
+ "children": [
25111
+ {
25112
+ "id": "himi_blog_post.comment_reply",
25113
+ "body": {
25114
+ "package": "himalaya",
25115
+ "type": "Text",
25116
+ "props": {
25117
+ "text": "Reply",
25118
+ "style": "caption",
25119
+ "color": "textSecondary"
25120
+ }
25121
+ },
25122
+ "modifiers": {
25123
+ "onTap": {
25124
+ "actionId": "tier5.himiBlogPost.replyTo",
25125
+ "params": {
25126
+ "id": "$item.id"
25127
+ }
25128
+ },
25129
+ "accessibilityRole": "button",
25130
+ "padding": {
25131
+ "top": 4,
25132
+ "bottom": 4,
25133
+ "leading": 4,
25134
+ "trailing": 4
25135
+ },
25136
+ "hiddenPath": "$item.noReply"
25137
+ }
25138
+ }
25139
+ ]
25140
+ }
25141
+ },
25142
+ "modifiers": {
25143
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
25144
+ }
25145
+ },
25146
+ {
25147
+ "id": "",
25148
+ "body": {
25149
+ "package": "himalaya",
25150
+ "type": "Spacer",
25151
+ "props": {}
25152
+ }
25153
+ }
25154
+ ]
25155
+ }
25156
+ }
25157
+ }
25158
+ ]
25159
+ }
25160
+ },
25161
+ "modifiers": {
25162
+ "weight": 1
25163
+ }
25164
+ }
25165
+ ]
25166
+ }
25167
+ },
25168
+ "modifiers": {
25169
+ "fillMaxWidth": true
25170
+ }
25171
+ }
25172
+ ]
25173
+ }
25174
+ },
25175
+ "modifiers": {
25176
+ "padding": {
25177
+ "leading": 42
25178
+ },
25179
+ "hiddenPath": "$item.notReply"
25180
+ }
25181
+ },
25182
+ {
25183
+ "id": "",
25184
+ "body": {
25185
+ "package": "himalaya",
25186
+ "type": "HStack",
25187
+ "props": {
25188
+ "spacing": 10,
25189
+ "alignment": "leading",
25190
+ "children": [
25191
+ {
25192
+ "id": "himi_blog_post.comment_avatar.photo",
25193
+ "body": {
25194
+ "package": "himalaya",
25195
+ "type": "Image",
25196
+ "props": {
25197
+ "url": "$item.authorPhoto",
25198
+ "width": 32,
25199
+ "height": 32,
25200
+ "contentMode": "fill",
25201
+ "shape": "circle"
25202
+ }
25203
+ },
25204
+ "modifiers": {
25205
+ "accessibilityRole": "decorative",
25206
+ "hiddenPath": "$item.noAuthorPhoto"
25207
+ }
25208
+ },
25209
+ {
25210
+ "id": "",
25211
+ "body": {
25212
+ "package": "himalaya",
25213
+ "type": "ZStack",
25214
+ "props": {
25215
+ "alignment": "center",
25216
+ "children": [
25217
+ {
25218
+ "id": "",
25219
+ "body": {
25220
+ "package": "himalaya",
25221
+ "type": "Text",
25222
+ "props": {
25223
+ "text": "$item.authorInitial",
25224
+ "style": "footnote",
25225
+ "color": "accentPrimary",
25226
+ "collapseWhenEmpty": true
25227
+ }
25228
+ }
25229
+ }
25230
+ ]
25231
+ }
25232
+ },
25233
+ "modifiers": {
25234
+ "width": 32,
25235
+ "height": 32,
25236
+ "background": {
25237
+ "token": "accentSurface"
25238
+ },
25239
+ "cornerRadius": 16,
25240
+ "accessibilityRole": "decorative",
25241
+ "hiddenPath": "$item.hasAuthorPhoto"
25242
+ }
25243
+ },
25244
+ {
25245
+ "id": "",
25246
+ "body": {
25247
+ "package": "himalaya",
25248
+ "type": "VStack",
25249
+ "props": {
25250
+ "spacing": 4,
25251
+ "alignment": "leading",
25252
+ "children": [
25253
+ {
25254
+ "id": "",
25255
+ "body": {
25256
+ "package": "himalaya",
25257
+ "type": "HStack",
25258
+ "props": {
25259
+ "spacing": 6,
25260
+ "alignment": "center",
25261
+ "children": [
25262
+ {
25263
+ "id": "",
25264
+ "body": {
25265
+ "package": "himalaya",
25266
+ "type": "Text",
25267
+ "props": {
25268
+ "text": "$item.authorName",
25269
+ "style": "footnote",
25270
+ "maxLines": 1
25271
+ }
25272
+ }
25273
+ },
25274
+ {
25275
+ "id": "",
25276
+ "body": {
25277
+ "package": "himalaya",
25278
+ "type": "Text",
25279
+ "props": {
25280
+ "text": "$item.meta",
25281
+ "style": "caption",
25282
+ "color": "textTertiary",
25283
+ "maxLines": 1,
25284
+ "collapseWhenEmpty": true
25285
+ }
25286
+ }
25287
+ },
25288
+ {
25289
+ "id": "",
25290
+ "body": {
25291
+ "package": "himalaya",
25292
+ "type": "Spacer",
25293
+ "props": {}
25294
+ }
25295
+ },
25296
+ {
25297
+ "id": "",
25298
+ "body": {
25299
+ "package": "himalaya",
25300
+ "type": "HStack",
25301
+ "props": {
25302
+ "spacing": 0,
25303
+ "alignment": "center",
25304
+ "children": [
25305
+ {
25306
+ "id": "himi_blog_post.comment_menu",
25307
+ "body": {
25308
+ "package": "himalaya",
25309
+ "type": "Menu",
25310
+ "props": {
25311
+ "anchor": {
25312
+ "id": "",
25313
+ "body": {
25314
+ "package": "himalaya",
25315
+ "type": "Icon",
25316
+ "props": {
25317
+ "name": "more_vertical",
25318
+ "size": 18,
25319
+ "tint": "textSecondary"
25320
+ }
25321
+ },
25322
+ "modifiers": {
25323
+ "accessibilityRole": "button",
25324
+ "accessibilityLabel": "Comment actions",
25325
+ "padding": {
25326
+ "leading": 13,
25327
+ "trailing": 13,
25328
+ "top": 4,
25329
+ "bottom": 4
25330
+ }
25331
+ }
25332
+ },
25333
+ "style": "dropdown",
25334
+ "items": [
25335
+ {
25336
+ "id": "report",
25337
+ "label": "Report",
25338
+ "icon": "warning",
25339
+ "action": {
25340
+ "actionId": "tier5.himiBlogPost.reportComment",
25341
+ "params": {
25342
+ "id": "$item.id"
25343
+ }
25344
+ }
25345
+ }
25346
+ ]
25347
+ }
25348
+ }
25349
+ }
25350
+ ]
25351
+ }
25352
+ },
25353
+ "modifiers": {
25354
+ "hiddenPath": "$item.noReport"
25355
+ }
25356
+ }
25357
+ ]
25358
+ }
25359
+ }
25360
+ },
25361
+ {
25362
+ "id": "",
25363
+ "body": {
25364
+ "package": "himalaya",
25365
+ "type": "VStack",
25366
+ "props": {
25367
+ "spacing": 0,
25368
+ "alignment": "leading",
25369
+ "children": [
25370
+ {
25371
+ "id": "comment_body_$item.id",
25372
+ "body": {
25373
+ "package": "himalaya",
25374
+ "type": "RichContent",
25375
+ "props": {
25376
+ "documentJsonPath": "$item.bodyJson",
25377
+ "onLink": {
25378
+ "actionId": "tier5.himiBlogPost.openLink"
25379
+ },
25380
+ "fallback": {
25381
+ "id": "",
25382
+ "body": {
25383
+ "package": "himalaya",
25384
+ "type": "Text",
25385
+ "props": {
25386
+ "text": "$item.text",
25387
+ "style": "body",
25388
+ "collapseWhenEmpty": true
25389
+ }
25390
+ }
25391
+ }
25392
+ }
25393
+ }
25394
+ },
25395
+ {
25396
+ "id": "comment_body_text_$item.id",
25397
+ "body": {
25398
+ "package": "himalaya",
25399
+ "type": "Text",
25400
+ "props": {
25401
+ "text": "$item.text",
25402
+ "style": "body",
25403
+ "collapseWhenEmpty": true
25404
+ }
25405
+ },
25406
+ "modifiers": {
25407
+ "hiddenPath": "$item.hasBodyJson"
25408
+ }
25409
+ }
25410
+ ]
25411
+ }
25412
+ }
25413
+ },
25414
+ {
25415
+ "id": "",
25416
+ "body": {
25417
+ "package": "himalaya",
25418
+ "type": "HStack",
25419
+ "props": {
25420
+ "spacing": 12,
25421
+ "alignment": "center",
25422
+ "children": [
25423
+ {
25424
+ "id": "",
25425
+ "body": {
25426
+ "package": "himalaya",
25427
+ "type": "HStack",
25428
+ "props": {
25429
+ "spacing": 0,
25430
+ "alignment": "center",
25431
+ "children": [
25432
+ {
25433
+ "id": "himi_blog_post.comment_like",
25434
+ "body": {
25435
+ "package": "himalaya",
25436
+ "type": "HStack",
25437
+ "props": {
25438
+ "spacing": 4,
25439
+ "alignment": "center",
25440
+ "children": [
25441
+ {
25442
+ "id": "",
25443
+ "body": {
25444
+ "package": "himalaya",
25445
+ "type": "Icon",
25446
+ "props": {
25447
+ "name": "heart",
25448
+ "size": 14,
25449
+ "tint": "textSecondary"
25450
+ }
25451
+ },
25452
+ "modifiers": {
25453
+ "accessibilityRole": "decorative"
25454
+ }
25455
+ },
25456
+ {
25457
+ "id": "",
25458
+ "body": {
25459
+ "package": "himalaya",
25460
+ "type": "Text",
25461
+ "props": {
25462
+ "text": "$item.likes",
25463
+ "style": "caption",
25464
+ "color": "textSecondary",
25465
+ "monospacedDigits": true
25466
+ }
25467
+ }
25468
+ }
25469
+ ]
25470
+ }
25471
+ },
25472
+ "modifiers": {
25473
+ "border": {
25474
+ "width": 1,
25475
+ "color": {
25476
+ "token": "border"
25477
+ }
25478
+ },
25479
+ "cornerRadius": 999,
25480
+ "padding": {
25481
+ "leading": 10,
25482
+ "trailing": 10,
25483
+ "top": 4,
25484
+ "bottom": 4
25485
+ },
25486
+ "onTap": {
25487
+ "actionId": "tier5.himiBlogPost.likeComment",
25488
+ "params": {
25489
+ "id": "$item.id"
25490
+ }
25491
+ },
25492
+ "pressFeedback": "scale",
25493
+ "haptic": "light",
25494
+ "accessibilityRole": "button",
25495
+ "accessibilityLabel": "Like",
25496
+ "hiddenPath": "$item.liked"
25497
+ }
25498
+ },
25499
+ {
25500
+ "id": "himi_blog_post.comment_unlike",
25501
+ "body": {
25502
+ "package": "himalaya",
25503
+ "type": "HStack",
25504
+ "props": {
25505
+ "spacing": 4,
25506
+ "alignment": "center",
25507
+ "children": [
25508
+ {
25509
+ "id": "",
25510
+ "body": {
25511
+ "package": "himalaya",
25512
+ "type": "Icon",
25513
+ "props": {
25514
+ "name": "heart_fill",
25515
+ "size": 14,
25516
+ "tint": "danger"
25517
+ }
25518
+ },
25519
+ "modifiers": {
25520
+ "accessibilityRole": "decorative"
25521
+ }
25522
+ },
25523
+ {
25524
+ "id": "",
25525
+ "body": {
25526
+ "package": "himalaya",
25527
+ "type": "Text",
25528
+ "props": {
25529
+ "text": "$item.likes",
25530
+ "style": "caption",
25531
+ "color": "danger",
25532
+ "monospacedDigits": true
25533
+ }
25534
+ }
25535
+ }
25536
+ ]
25537
+ }
25538
+ },
25539
+ "modifiers": {
25540
+ "background": {
25541
+ "token": "dangerSurface"
25542
+ },
25543
+ "cornerRadius": 999,
25544
+ "padding": {
25545
+ "leading": 10,
25546
+ "trailing": 10,
25547
+ "top": 4,
25548
+ "bottom": 4
25549
+ },
25550
+ "onTap": {
25551
+ "actionId": "tier5.himiBlogPost.unlikeComment",
25552
+ "params": {
25553
+ "id": "$item.id"
25554
+ }
25555
+ },
25556
+ "pressFeedback": "scale",
25557
+ "haptic": "light",
25558
+ "accessibilityRole": "button",
25559
+ "accessibilityLabel": "Unlike",
25560
+ "hiddenPath": "$item.notLiked"
25561
+ }
25562
+ }
25563
+ ]
25564
+ }
25565
+ },
25566
+ "modifiers": {
25567
+ "hiddenPath": "$item.noLikes"
25568
+ }
25569
+ },
25570
+ {
25571
+ "id": "",
25572
+ "body": {
25573
+ "package": "himalaya",
25574
+ "type": "HStack",
25575
+ "props": {
25576
+ "spacing": 0,
25577
+ "alignment": "center",
25578
+ "children": [
25579
+ {
25580
+ "id": "himi_blog_post.comment_reply",
25581
+ "body": {
25582
+ "package": "himalaya",
25583
+ "type": "Text",
25584
+ "props": {
25585
+ "text": "Reply",
25586
+ "style": "caption",
25587
+ "color": "textSecondary"
25588
+ }
25589
+ },
25590
+ "modifiers": {
25591
+ "onTap": {
25592
+ "actionId": "tier5.himiBlogPost.replyTo",
25593
+ "params": {
25594
+ "id": "$item.id"
25595
+ }
25596
+ },
25597
+ "accessibilityRole": "button",
25598
+ "padding": {
25599
+ "top": 4,
25600
+ "bottom": 4,
25601
+ "leading": 4,
25602
+ "trailing": 4
25603
+ },
25604
+ "hiddenPath": "$item.noReply"
25605
+ }
25606
+ }
25607
+ ]
25608
+ }
25609
+ },
25610
+ "modifiers": {
25611
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
25612
+ }
25613
+ },
25614
+ {
25615
+ "id": "",
25616
+ "body": {
25617
+ "package": "himalaya",
25618
+ "type": "Spacer",
25619
+ "props": {}
25620
+ }
25621
+ }
25622
+ ]
25623
+ }
25624
+ }
25625
+ }
25626
+ ]
23645
25627
  }
23646
25628
  },
23647
- {
23648
- "id": "",
23649
- "body": {
23650
- "package": "himalaya",
23651
- "type": "Text",
23652
- "props": {
23653
- "text": "$item.date",
23654
- "style": "caption",
23655
- "color": "textSecondary",
23656
- "maxLines": 1,
23657
- "collapseWhenEmpty": true
23658
- }
23659
- }
25629
+ "modifiers": {
25630
+ "weight": 1
23660
25631
  }
23661
- ]
23662
- }
23663
- }
23664
- },
23665
- {
23666
- "id": "",
23667
- "body": {
23668
- "package": "himalaya",
23669
- "type": "Spacer",
23670
- "props": {}
25632
+ }
25633
+ ]
23671
25634
  }
23672
- }
23673
- ]
23674
- }
23675
- },
23676
- "modifiers": {
23677
- "padding": {
23678
- "leading": 20,
23679
- "trailing": 20,
23680
- "top": 12,
23681
- "bottom": 12
23682
- },
23683
- "onTap": {
23684
- "actionId": "himi.open",
23685
- "params": {
23686
- "screenId": "$item.detailScreenId",
23687
- "id": "$item.id"
23688
- }
23689
- },
23690
- "pressFeedback": "scale",
23691
- "haptic": "light",
23692
- "accessibilityLabel": "$item.title"
23693
- }
23694
- }
23695
- ]
23696
- }
23697
- }
23698
- },
23699
- {
23700
- "id": "",
23701
- "body": {
23702
- "package": "himalaya",
23703
- "type": "HStack",
23704
- "props": {
23705
- "spacing": 0,
23706
- "children": [
23707
- {
23708
- "id": "",
23709
- "body": {
23710
- "package": "himalaya",
23711
- "type": "Spacer",
23712
- "props": {}
23713
- }
23714
- },
23715
- {
23716
- "id": "himi_blog_post.see_all",
23717
- "body": {
23718
- "package": "himalaya",
23719
- "type": "Button",
23720
- "props": {
23721
- "title": "See All Posts",
23722
- "style": "secondary",
23723
- "fullWidth": false,
23724
- "action": {
23725
- "actionId": "himi.open",
23726
- "params": {
23727
- "screenId": "himi_blog"
25635
+ },
25636
+ "modifiers": {
25637
+ "fillMaxWidth": true,
25638
+ "hiddenPath": "$item.isReply"
23728
25639
  }
23729
25640
  }
23730
- }
23731
- }
23732
- },
23733
- {
23734
- "id": "",
23735
- "body": {
23736
- "package": "himalaya",
23737
- "type": "Spacer",
23738
- "props": {}
23739
- }
23740
- }
23741
- ]
23742
- }
23743
- },
23744
- "modifiers": {
23745
- "padding": {
23746
- "top": 12,
23747
- "bottom": 8
23748
- }
23749
- }
23750
- }
23751
- ]
23752
- }
23753
- },
23754
- "modifiers": {
23755
- "hiddenPath": "$service:himiBlogPost.noRecent"
23756
- }
23757
- }
23758
- ]
23759
- }
23760
- },
23761
- "modifiers": {
23762
- "hiddenPath": "$service:himiBlogPost.noPost"
23763
- }
23764
- },
23765
- {
23766
- "id": "himi_blog_post.more_sheet",
23767
- "body": {
23768
- "package": "himalaya",
23769
- "type": "BottomSheet",
23770
- "props": {
23771
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
23772
- "dismissible": true,
23773
- "showGrabber": true,
23774
- "onDismiss": {
23775
- "actionId": "tier5.himiBlogPost.closeMore"
23776
- },
23777
- "content": {
23778
- "id": "",
23779
- "body": {
23780
- "package": "himalaya",
23781
- "type": "VStack",
23782
- "props": {
23783
- "spacing": 0,
23784
- "alignment": "leading",
23785
- "children": [
23786
- {
23787
- "id": "himi_blog_post.report",
23788
- "body": {
23789
- "package": "himalaya",
23790
- "type": "HStack",
23791
- "props": {
23792
- "spacing": 14,
23793
- "children": [
23794
- {
23795
- "id": "",
23796
- "body": {
23797
- "package": "himalaya",
23798
- "type": "Icon",
23799
- "props": {
23800
- "name": "warning",
23801
- "size": 22,
23802
- "tint": "textPrimary"
23803
- }
23804
- },
23805
- "modifiers": {
23806
- "accessibilityRole": "decorative"
23807
- }
23808
- },
23809
- {
23810
- "id": "",
23811
- "body": {
23812
- "package": "himalaya",
23813
- "type": "Text",
23814
- "props": {
23815
- "text": "Report",
23816
- "style": "body"
23817
- }
23818
- }
23819
- },
23820
- {
23821
- "id": "",
23822
- "body": {
23823
- "package": "himalaya",
23824
- "type": "Spacer",
23825
- "props": {}
23826
- }
23827
- }
23828
- ]
23829
- }
23830
- },
23831
- "modifiers": {
23832
- "onTap": {
23833
- "actionId": "tier5.himiBlogPost.report"
23834
- },
23835
- "accessibilityRole": "button",
23836
- "accessibilityLabel": "Report",
23837
- "padding": {
23838
- "top": 11,
23839
- "bottom": 11
23840
- },
23841
- "hiddenPath": "$service:himiBlogPost.reported"
23842
- }
23843
- },
23844
- {
23845
- "id": "himi_blog_post.hide",
23846
- "body": {
23847
- "package": "himalaya",
23848
- "type": "HStack",
23849
- "props": {
23850
- "spacing": 14,
23851
- "children": [
23852
- {
23853
- "id": "",
23854
- "body": {
23855
- "package": "himalaya",
23856
- "type": "Icon",
23857
- "props": {
23858
- "name": "concealed",
23859
- "size": 22,
23860
- "tint": "textPrimary"
25641
+ ]
23861
25642
  }
23862
25643
  },
23863
25644
  "modifiers": {
23864
- "accessibilityRole": "decorative"
23865
- }
23866
- },
23867
- {
23868
- "id": "",
23869
- "body": {
23870
- "package": "himalaya",
23871
- "type": "Text",
23872
- "props": {
23873
- "text": "Hide post",
23874
- "style": "body"
25645
+ "backgroundColorPath": "$item.rowBackground",
25646
+ "cornerRadius": 12,
25647
+ "padding": {
25648
+ "leading": 8,
25649
+ "trailing": 8,
25650
+ "top": 8,
25651
+ "bottom": 8
23875
25652
  }
23876
25653
  }
23877
- },
23878
- {
23879
- "id": "",
23880
- "body": {
23881
- "package": "himalaya",
23882
- "type": "Spacer",
23883
- "props": {}
23884
- }
23885
25654
  }
23886
- ]
23887
- }
23888
- },
23889
- "modifiers": {
23890
- "onTap": {
23891
- "actionId": "tier5.himiBlogPost.openHide"
23892
- },
23893
- "accessibilityRole": "button",
23894
- "accessibilityLabel": "Hide post",
23895
- "padding": {
23896
- "top": 11,
23897
- "bottom": 11
23898
- },
23899
- "hiddenPath": "$service:himiBlogPost.hidden"
23900
- }
23901
- },
23902
- {
23903
- "id": "himi_blog_post.unhide",
23904
- "body": {
23905
- "package": "himalaya",
23906
- "type": "HStack",
23907
- "props": {
23908
- "spacing": 14,
23909
- "children": [
23910
- {
23911
- "id": "",
23912
- "body": {
23913
- "package": "himalaya",
23914
- "type": "Icon",
23915
- "props": {
23916
- "name": "visible",
23917
- "size": 22,
23918
- "tint": "textPrimary"
23919
- }
23920
- },
23921
- "modifiers": {
23922
- "accessibilityRole": "decorative"
23923
- }
23924
- },
23925
- {
23926
- "id": "",
23927
- "body": {
23928
- "package": "himalaya",
23929
- "type": "Text",
23930
- "props": {
23931
- "text": "Undo hide",
23932
- "style": "body"
23933
- }
23934
- }
25655
+ ],
25656
+ "pagination": {
25657
+ "cursor": "$service:himiBlogPost.commentsCursor",
25658
+ "onLoadMore": {
25659
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
23935
25660
  },
23936
- {
23937
- "id": "",
23938
- "body": {
23939
- "package": "himalaya",
23940
- "type": "Spacer",
23941
- "props": {}
23942
- }
23943
- }
23944
- ]
23945
- }
23946
- },
23947
- "modifiers": {
23948
- "onTap": {
23949
- "actionId": "tier5.himiBlogPost.unhide"
23950
- },
23951
- "accessibilityRole": "button",
23952
- "accessibilityLabel": "Undo hide",
23953
- "padding": {
23954
- "top": 11,
23955
- "bottom": 11
23956
- },
23957
- "hiddenPath": "$service:himiBlogPost.notHidden"
23958
- }
23959
- }
23960
- ]
23961
- }
23962
- },
23963
- "modifiers": {
23964
- "padding": {
23965
- "leading": 20,
23966
- "trailing": 20,
23967
- "top": 0,
23968
- "bottom": 8
23969
- }
23970
- }
23971
- }
23972
- }
23973
- }
23974
- },
23975
- {
23976
- "id": "himi_blog_post.hide_sheet",
23977
- "body": {
23978
- "package": "himalaya",
23979
- "type": "BottomSheet",
23980
- "props": {
23981
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
23982
- "dismissible": true,
23983
- "showGrabber": true,
23984
- "onDismiss": {
23985
- "actionId": "tier5.himiBlogPost.closeHide"
25661
+ "pageSize": 20
25662
+ }
25663
+ }
25664
+ }
25665
+ }
25666
+ ]
25667
+ }
25668
+ }
23986
25669
  },
23987
- "content": {
23988
- "id": "",
25670
+ "footer": {
25671
+ "id": "himi_blog_post.comment_composer",
23989
25672
  "body": {
23990
25673
  "package": "himalaya",
23991
25674
  "type": "VStack",
23992
25675
  "props": {
23993
- "spacing": 0,
25676
+ "spacing": 6,
23994
25677
  "alignment": "leading",
23995
25678
  "children": [
23996
25679
  {
23997
25680
  "id": "",
23998
- "body": {
23999
- "package": "himalaya",
24000
- "type": "Text",
24001
- "props": {
24002
- "text": "Why are you hiding this post?",
24003
- "style": "title3"
24004
- }
24005
- },
24006
- "modifiers": {
24007
- "padding": {
24008
- "bottom": 6
24009
- }
24010
- }
24011
- },
24012
- {
24013
- "id": "himi_blog_post.hide_offensive",
24014
25681
  "body": {
24015
25682
  "package": "himalaya",
24016
25683
  "type": "HStack",
24017
25684
  "props": {
24018
- "spacing": 14,
25685
+ "spacing": 8,
25686
+ "alignment": "center",
24019
25687
  "children": [
24020
25688
  {
24021
25689
  "id": "",
24022
25690
  "body": {
24023
25691
  "package": "himalaya",
24024
- "type": "Icon",
25692
+ "type": "Text",
24025
25693
  "props": {
24026
- "name": "chevron_right",
24027
- "size": 22,
24028
- "tint": "textPrimary"
25694
+ "text": "$service:himiBlogPost.replyingLine",
25695
+ "style": "footnote",
25696
+ "color": "textSecondary",
25697
+ "maxLines": 1
24029
25698
  }
24030
- },
24031
- "modifiers": {
24032
- "accessibilityRole": "decorative"
24033
25699
  }
24034
25700
  },
24035
25701
  {
24036
25702
  "id": "",
24037
25703
  "body": {
24038
25704
  "package": "himalaya",
24039
- "type": "Text",
24040
- "props": {
24041
- "text": "It is offensive",
24042
- "style": "body"
24043
- }
25705
+ "type": "Spacer",
25706
+ "props": {}
24044
25707
  }
24045
25708
  },
24046
25709
  {
24047
- "id": "",
25710
+ "id": "himi_blog_post.cancel_reply",
24048
25711
  "body": {
24049
25712
  "package": "himalaya",
24050
- "type": "Spacer",
24051
- "props": {}
25713
+ "type": "Icon",
25714
+ "props": {
25715
+ "name": "close",
25716
+ "size": 16,
25717
+ "tint": "textSecondary"
25718
+ }
25719
+ },
25720
+ "modifiers": {
25721
+ "accessibilityRole": "button",
25722
+ "onTap": {
25723
+ "actionId": "tier5.himiBlogPost.cancelReply"
25724
+ },
25725
+ "accessibilityLabel": "Cancel reply",
25726
+ "padding": {
25727
+ "top": 14,
25728
+ "bottom": 14,
25729
+ "leading": 14,
25730
+ "trailing": 14
25731
+ }
24052
25732
  }
24053
25733
  }
24054
25734
  ]
24055
25735
  }
24056
25736
  },
24057
25737
  "modifiers": {
24058
- "onTap": {
24059
- "actionId": "tier5.himiBlogPost.hide",
24060
- "params": {
24061
- "reason": "offensive"
24062
- }
24063
- },
24064
- "accessibilityRole": "button",
24065
- "accessibilityLabel": "It is offensive",
24066
- "padding": {
24067
- "top": 11,
24068
- "bottom": 11
24069
- }
25738
+ "hiddenPath": "$service:himiBlogPost.notReplying"
24070
25739
  }
24071
25740
  },
24072
25741
  {
24073
- "id": "himi_blog_post.hide_misleading",
25742
+ "id": "",
24074
25743
  "body": {
24075
25744
  "package": "himalaya",
24076
25745
  "type": "HStack",
24077
25746
  "props": {
24078
- "spacing": 14,
25747
+ "spacing": 10,
25748
+ "alignment": "center",
24079
25749
  "children": [
24080
25750
  {
24081
- "id": "",
25751
+ "id": "himi_blog_post.composer_avatar.photo",
24082
25752
  "body": {
24083
25753
  "package": "himalaya",
24084
- "type": "Icon",
25754
+ "type": "Image",
24085
25755
  "props": {
24086
- "name": "chevron_right",
24087
- "size": 22,
24088
- "tint": "textPrimary"
25756
+ "url": "$service:himiBlogPost.memberPhoto",
25757
+ "width": 32,
25758
+ "height": 32,
25759
+ "contentMode": "fill",
25760
+ "shape": "circle"
24089
25761
  }
24090
25762
  },
24091
25763
  "modifiers": {
24092
- "accessibilityRole": "decorative"
25764
+ "accessibilityRole": "decorative",
25765
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
24093
25766
  }
24094
25767
  },
24095
25768
  {
24096
25769
  "id": "",
24097
25770
  "body": {
24098
25771
  "package": "himalaya",
24099
- "type": "Text",
25772
+ "type": "ZStack",
24100
25773
  "props": {
24101
- "text": "It is misleading",
24102
- "style": "body"
25774
+ "alignment": "center",
25775
+ "children": [
25776
+ {
25777
+ "id": "",
25778
+ "body": {
25779
+ "package": "himalaya",
25780
+ "type": "Icon",
25781
+ "props": {
25782
+ "name": "person",
25783
+ "size": 16,
25784
+ "tint": "accentPrimary"
25785
+ }
25786
+ },
25787
+ "modifiers": {
25788
+ "accessibilityRole": "decorative",
25789
+ "hiddenPath": "$service:himiBlogPost.isMember"
25790
+ }
25791
+ },
25792
+ {
25793
+ "id": "",
25794
+ "body": {
25795
+ "package": "himalaya",
25796
+ "type": "Text",
25797
+ "props": {
25798
+ "text": "$service:himiBlogPost.memberInitial",
25799
+ "style": "footnote",
25800
+ "color": "accentPrimary",
25801
+ "collapseWhenEmpty": true
25802
+ }
25803
+ }
25804
+ }
25805
+ ]
24103
25806
  }
25807
+ },
25808
+ "modifiers": {
25809
+ "width": 32,
25810
+ "height": 32,
25811
+ "background": {
25812
+ "token": "accentSurface"
25813
+ },
25814
+ "cornerRadius": 16,
25815
+ "accessibilityRole": "decorative",
25816
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
24104
25817
  }
24105
25818
  },
24106
25819
  {
24107
- "id": "",
24108
- "body": {
24109
- "package": "himalaya",
24110
- "type": "Spacer",
24111
- "props": {}
24112
- }
24113
- }
24114
- ]
24115
- }
24116
- },
24117
- "modifiers": {
24118
- "onTap": {
24119
- "actionId": "tier5.himiBlogPost.hide",
24120
- "params": {
24121
- "reason": "misleading"
24122
- }
24123
- },
24124
- "accessibilityRole": "button",
24125
- "accessibilityLabel": "It is misleading",
24126
- "padding": {
24127
- "top": 11,
24128
- "bottom": 11
24129
- }
24130
- }
24131
- },
24132
- {
24133
- "id": "himi_blog_post.hide_other",
24134
- "body": {
24135
- "package": "himalaya",
24136
- "type": "HStack",
24137
- "props": {
24138
- "spacing": 14,
24139
- "children": [
24140
- {
24141
- "id": "",
25820
+ "id": "himi_blog_post.comment_input",
24142
25821
  "body": {
24143
25822
  "package": "himalaya",
24144
- "type": "Icon",
25823
+ "type": "TextField",
24145
25824
  "props": {
24146
- "name": "chevron_right",
24147
- "size": 22,
24148
- "tint": "textPrimary"
25825
+ "placeholder": "Write a comment",
25826
+ "valuePath": "$service:himiBlogPost.commentText",
25827
+ "multilineMaxLines": 4,
25828
+ "focusPath": "$service:himiBlogPost.composerFocus",
25829
+ "borderless": true,
25830
+ "autoCapitalization": "sentences",
25831
+ "onChange": {
25832
+ "actionId": "tier5.himiBlogPost.setComment"
25833
+ }
24149
25834
  }
24150
25835
  },
24151
25836
  "modifiers": {
24152
- "accessibilityRole": "decorative"
25837
+ "background": {
25838
+ "token": "surfaceSecondary"
25839
+ },
25840
+ "cornerRadius": 20,
25841
+ "padding": {
25842
+ "leading": 14,
25843
+ "trailing": 14,
25844
+ "top": 8,
25845
+ "bottom": 8
25846
+ },
25847
+ "weight": 1
24153
25848
  }
24154
25849
  },
24155
25850
  {
24156
- "id": "",
25851
+ "id": "himi_blog_post.comment_submit",
24157
25852
  "body": {
24158
25853
  "package": "himalaya",
24159
- "type": "Text",
25854
+ "type": "ZStack",
24160
25855
  "props": {
24161
- "text": "Something else",
24162
- "style": "body"
25856
+ "alignment": "center",
25857
+ "children": [
25858
+ {
25859
+ "id": "",
25860
+ "body": {
25861
+ "package": "himalaya",
25862
+ "type": "ZStack",
25863
+ "props": {
25864
+ "alignment": "center",
25865
+ "children": [
25866
+ {
25867
+ "id": "",
25868
+ "body": {
25869
+ "package": "himalaya",
25870
+ "type": "Icon",
25871
+ "props": {
25872
+ "name": "arrow_up",
25873
+ "size": 18,
25874
+ "tint": "textOnAccent"
25875
+ }
25876
+ },
25877
+ "modifiers": {
25878
+ "accessibilityRole": "decorative"
25879
+ }
25880
+ }
25881
+ ]
25882
+ }
25883
+ },
25884
+ "modifiers": {
25885
+ "width": 36,
25886
+ "height": 36,
25887
+ "cornerRadius": 18,
25888
+ "background": {
25889
+ "token": "accentPrimary"
25890
+ },
25891
+ "accessibilityRole": "decorative"
25892
+ }
25893
+ }
25894
+ ]
24163
25895
  }
25896
+ },
25897
+ "modifiers": {
25898
+ "width": 44,
25899
+ "height": 44,
25900
+ "accessibilityRole": "button",
25901
+ "accessibilityLabel": "Send comment",
25902
+ "onTap": {
25903
+ "actionId": "tier5.himiBlogPost.submitComment"
25904
+ },
25905
+ "pressFeedback": "scale",
25906
+ "haptic": "light",
25907
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
24164
25908
  }
24165
25909
  },
24166
25910
  {
24167
- "id": "",
25911
+ "id": "himi_blog_post.comment_submit_off",
24168
25912
  "body": {
24169
25913
  "package": "himalaya",
24170
- "type": "Spacer",
24171
- "props": {}
25914
+ "type": "ZStack",
25915
+ "props": {
25916
+ "alignment": "center",
25917
+ "children": [
25918
+ {
25919
+ "id": "",
25920
+ "body": {
25921
+ "package": "himalaya",
25922
+ "type": "ZStack",
25923
+ "props": {
25924
+ "alignment": "center",
25925
+ "children": [
25926
+ {
25927
+ "id": "",
25928
+ "body": {
25929
+ "package": "himalaya",
25930
+ "type": "Icon",
25931
+ "props": {
25932
+ "name": "arrow_up",
25933
+ "size": 18,
25934
+ "tint": "textTertiary"
25935
+ }
25936
+ },
25937
+ "modifiers": {
25938
+ "accessibilityRole": "decorative"
25939
+ }
25940
+ }
25941
+ ]
25942
+ }
25943
+ },
25944
+ "modifiers": {
25945
+ "width": 36,
25946
+ "height": 36,
25947
+ "cornerRadius": 18,
25948
+ "background": {
25949
+ "token": "surfaceSecondary"
25950
+ },
25951
+ "accessibilityRole": "decorative"
25952
+ }
25953
+ }
25954
+ ]
25955
+ }
25956
+ },
25957
+ "modifiers": {
25958
+ "width": 44,
25959
+ "height": 44,
25960
+ "accessibilityRole": "button",
25961
+ "accessibilityLabel": "Send comment",
25962
+ "hiddenPath": "$service:himiBlogPost.canSend"
24172
25963
  }
24173
25964
  }
24174
25965
  ]
24175
25966
  }
24176
- },
24177
- "modifiers": {
24178
- "onTap": {
24179
- "actionId": "tier5.himiBlogPost.hide",
24180
- "params": {
24181
- "reason": "other"
24182
- }
24183
- },
24184
- "accessibilityRole": "button",
24185
- "accessibilityLabel": "Something else",
24186
- "padding": {
24187
- "top": 11,
24188
- "bottom": 11
24189
- }
24190
25967
  }
24191
25968
  },
24192
25969
  {
24193
- "id": "himi_blog_post.hide_cancel",
25970
+ "id": "himi_blog_post.comment_error",
24194
25971
  "body": {
24195
25972
  "package": "himalaya",
24196
- "type": "Button",
25973
+ "type": "Text",
24197
25974
  "props": {
24198
- "title": "Cancel",
24199
- "style": "secondary",
24200
- "fullWidth": true,
24201
- "action": {
24202
- "actionId": "tier5.himiBlogPost.closeHide"
24203
- }
25975
+ "text": "$service:himiBlogPost.sendError",
25976
+ "style": "footnote",
25977
+ "color": "danger"
24204
25978
  }
24205
25979
  },
24206
25980
  "modifiers": {
24207
- "padding": {
24208
- "top": 8
24209
- }
25981
+ "hiddenPath": "$service:himiBlogPost.noSendError"
24210
25982
  }
24211
25983
  }
24212
25984
  ]
24213
25985
  }
24214
25986
  },
24215
25987
  "modifiers": {
24216
- "padding": {
24217
- "leading": 20,
24218
- "trailing": 20,
24219
- "top": 12,
24220
- "bottom": 8
24221
- }
25988
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
24222
25989
  }
24223
25990
  }
24224
25991
  }
@@ -24275,7 +26042,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
24275
26042
  "share",
24276
26043
  "local_database",
24277
26044
  "open_url",
24278
- "ui"
26045
+ "ui",
26046
+ "keyboard"
24279
26047
  ],
24280
26048
  "minBinaryVersion": "0.1.0",
24281
26049
  "bundleVersion": "0.0.1"