@wix/himalaya-cli 0.1782.0 → 0.1783.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 (377) 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 +82 -48
  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/package.json +2 -2
  16. package/templates/beauty-salon/config.ts +1 -1
  17. package/templates/beauty-salon/dev/index.ts +2684 -916
  18. package/templates/beauty-salon/l10n/ar.json +95 -36
  19. package/templates/beauty-salon/l10n/cs.json +95 -36
  20. package/templates/beauty-salon/l10n/da.json +95 -36
  21. package/templates/beauty-salon/l10n/de.json +95 -36
  22. package/templates/beauty-salon/l10n/el.json +95 -36
  23. package/templates/beauty-salon/l10n/en.json +71 -15
  24. package/templates/beauty-salon/l10n/es.json +95 -36
  25. package/templates/beauty-salon/l10n/fi.json +95 -36
  26. package/templates/beauty-salon/l10n/fr.json +95 -36
  27. package/templates/beauty-salon/l10n/he.json +78 -29
  28. package/templates/beauty-salon/l10n/hu.json +95 -36
  29. package/templates/beauty-salon/l10n/id.json +95 -36
  30. package/templates/beauty-salon/l10n/it.json +95 -36
  31. package/templates/beauty-salon/l10n/ja.json +95 -36
  32. package/templates/beauty-salon/l10n/ko.json +95 -36
  33. package/templates/beauty-salon/l10n/lt.json +95 -36
  34. package/templates/beauty-salon/l10n/nl.json +95 -36
  35. package/templates/beauty-salon/l10n/no.json +95 -36
  36. package/templates/beauty-salon/l10n/pl.json +95 -36
  37. package/templates/beauty-salon/l10n/pt.json +95 -36
  38. package/templates/beauty-salon/l10n/ru.json +95 -36
  39. package/templates/beauty-salon/l10n/sv.json +95 -36
  40. package/templates/beauty-salon/l10n/th.json +95 -36
  41. package/templates/beauty-salon/l10n/tr.json +95 -36
  42. package/templates/beauty-salon/l10n/uk.json +95 -36
  43. package/templates/beauty-salon/l10n/vi.json +95 -36
  44. package/templates/beauty-salon/l10n/zh.json +95 -36
  45. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  46. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  47. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
  48. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
  49. package/templates/branded-lite/config.ts +1 -1
  50. package/templates/branded-lite/dev/index.ts +2686 -930
  51. package/templates/branded-lite/l10n/ar.json +80 -41
  52. package/templates/branded-lite/l10n/cs.json +80 -41
  53. package/templates/branded-lite/l10n/da.json +80 -41
  54. package/templates/branded-lite/l10n/de.json +80 -41
  55. package/templates/branded-lite/l10n/el.json +80 -41
  56. package/templates/branded-lite/l10n/en.json +71 -20
  57. package/templates/branded-lite/l10n/es.json +80 -41
  58. package/templates/branded-lite/l10n/fi.json +80 -41
  59. package/templates/branded-lite/l10n/fr.json +80 -41
  60. package/templates/branded-lite/l10n/he.json +66 -33
  61. package/templates/branded-lite/l10n/hu.json +80 -41
  62. package/templates/branded-lite/l10n/id.json +80 -41
  63. package/templates/branded-lite/l10n/it.json +80 -41
  64. package/templates/branded-lite/l10n/ja.json +80 -41
  65. package/templates/branded-lite/l10n/ko.json +80 -41
  66. package/templates/branded-lite/l10n/lt.json +80 -41
  67. package/templates/branded-lite/l10n/nl.json +80 -41
  68. package/templates/branded-lite/l10n/no.json +80 -41
  69. package/templates/branded-lite/l10n/pl.json +80 -41
  70. package/templates/branded-lite/l10n/pt.json +80 -41
  71. package/templates/branded-lite/l10n/ru.json +80 -41
  72. package/templates/branded-lite/l10n/sv.json +80 -41
  73. package/templates/branded-lite/l10n/th.json +80 -41
  74. package/templates/branded-lite/l10n/tr.json +80 -41
  75. package/templates/branded-lite/l10n/uk.json +80 -41
  76. package/templates/branded-lite/l10n/vi.json +80 -41
  77. package/templates/branded-lite/l10n/zh.json +80 -41
  78. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  79. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
  80. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
  81. package/templates/community-club/config.ts +1 -1
  82. package/templates/community-club/dev/index.ts +2742 -974
  83. package/templates/community-club/l10n/ar.json +95 -36
  84. package/templates/community-club/l10n/cs.json +95 -36
  85. package/templates/community-club/l10n/da.json +95 -36
  86. package/templates/community-club/l10n/de.json +95 -36
  87. package/templates/community-club/l10n/el.json +95 -36
  88. package/templates/community-club/l10n/en.json +71 -15
  89. package/templates/community-club/l10n/es.json +95 -36
  90. package/templates/community-club/l10n/fi.json +95 -36
  91. package/templates/community-club/l10n/fr.json +95 -36
  92. package/templates/community-club/l10n/he.json +78 -29
  93. package/templates/community-club/l10n/hu.json +95 -36
  94. package/templates/community-club/l10n/id.json +95 -36
  95. package/templates/community-club/l10n/it.json +95 -36
  96. package/templates/community-club/l10n/ja.json +95 -36
  97. package/templates/community-club/l10n/ko.json +95 -36
  98. package/templates/community-club/l10n/lt.json +95 -36
  99. package/templates/community-club/l10n/nl.json +95 -36
  100. package/templates/community-club/l10n/no.json +95 -36
  101. package/templates/community-club/l10n/pl.json +95 -36
  102. package/templates/community-club/l10n/pt.json +95 -36
  103. package/templates/community-club/l10n/ru.json +95 -36
  104. package/templates/community-club/l10n/sv.json +95 -36
  105. package/templates/community-club/l10n/th.json +95 -36
  106. package/templates/community-club/l10n/tr.json +95 -36
  107. package/templates/community-club/l10n/uk.json +95 -36
  108. package/templates/community-club/l10n/vi.json +95 -36
  109. package/templates/community-club/l10n/zh.json +95 -36
  110. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  111. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  112. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
  113. package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
  114. package/templates/events-meetups/config.ts +1 -1
  115. package/templates/events-meetups/dev/index.ts +2705 -937
  116. package/templates/events-meetups/l10n/ar.json +95 -36
  117. package/templates/events-meetups/l10n/cs.json +95 -36
  118. package/templates/events-meetups/l10n/da.json +95 -36
  119. package/templates/events-meetups/l10n/de.json +95 -36
  120. package/templates/events-meetups/l10n/el.json +95 -36
  121. package/templates/events-meetups/l10n/en.json +71 -15
  122. package/templates/events-meetups/l10n/es.json +95 -36
  123. package/templates/events-meetups/l10n/fi.json +95 -36
  124. package/templates/events-meetups/l10n/fr.json +95 -36
  125. package/templates/events-meetups/l10n/he.json +78 -29
  126. package/templates/events-meetups/l10n/hu.json +95 -36
  127. package/templates/events-meetups/l10n/id.json +95 -36
  128. package/templates/events-meetups/l10n/it.json +95 -36
  129. package/templates/events-meetups/l10n/ja.json +95 -36
  130. package/templates/events-meetups/l10n/ko.json +95 -36
  131. package/templates/events-meetups/l10n/lt.json +95 -36
  132. package/templates/events-meetups/l10n/nl.json +95 -36
  133. package/templates/events-meetups/l10n/no.json +95 -36
  134. package/templates/events-meetups/l10n/pl.json +95 -36
  135. package/templates/events-meetups/l10n/pt.json +95 -36
  136. package/templates/events-meetups/l10n/ru.json +95 -36
  137. package/templates/events-meetups/l10n/sv.json +95 -36
  138. package/templates/events-meetups/l10n/th.json +95 -36
  139. package/templates/events-meetups/l10n/tr.json +95 -36
  140. package/templates/events-meetups/l10n/uk.json +95 -36
  141. package/templates/events-meetups/l10n/vi.json +95 -36
  142. package/templates/events-meetups/l10n/zh.json +95 -36
  143. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  144. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  145. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
  146. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
  147. package/templates/gym-fitness/config.ts +1 -1
  148. package/templates/gym-fitness/dev/index.ts +2621 -853
  149. package/templates/gym-fitness/l10n/ar.json +95 -36
  150. package/templates/gym-fitness/l10n/cs.json +95 -36
  151. package/templates/gym-fitness/l10n/da.json +95 -36
  152. package/templates/gym-fitness/l10n/de.json +95 -36
  153. package/templates/gym-fitness/l10n/el.json +95 -36
  154. package/templates/gym-fitness/l10n/en.json +71 -15
  155. package/templates/gym-fitness/l10n/es.json +95 -36
  156. package/templates/gym-fitness/l10n/fi.json +95 -36
  157. package/templates/gym-fitness/l10n/fr.json +95 -36
  158. package/templates/gym-fitness/l10n/he.json +78 -29
  159. package/templates/gym-fitness/l10n/hu.json +95 -36
  160. package/templates/gym-fitness/l10n/id.json +95 -36
  161. package/templates/gym-fitness/l10n/it.json +95 -36
  162. package/templates/gym-fitness/l10n/ja.json +95 -36
  163. package/templates/gym-fitness/l10n/ko.json +95 -36
  164. package/templates/gym-fitness/l10n/lt.json +95 -36
  165. package/templates/gym-fitness/l10n/nl.json +95 -36
  166. package/templates/gym-fitness/l10n/no.json +95 -36
  167. package/templates/gym-fitness/l10n/pl.json +95 -36
  168. package/templates/gym-fitness/l10n/pt.json +95 -36
  169. package/templates/gym-fitness/l10n/ru.json +95 -36
  170. package/templates/gym-fitness/l10n/sv.json +95 -36
  171. package/templates/gym-fitness/l10n/th.json +95 -36
  172. package/templates/gym-fitness/l10n/tr.json +95 -36
  173. package/templates/gym-fitness/l10n/uk.json +95 -36
  174. package/templates/gym-fitness/l10n/vi.json +95 -36
  175. package/templates/gym-fitness/l10n/zh.json +95 -36
  176. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  177. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  178. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
  179. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
  180. package/templates/nonprofit-cause/config.ts +1 -1
  181. package/templates/nonprofit-cause/dev/index.ts +2704 -936
  182. package/templates/nonprofit-cause/l10n/ar.json +95 -36
  183. package/templates/nonprofit-cause/l10n/cs.json +95 -36
  184. package/templates/nonprofit-cause/l10n/da.json +95 -36
  185. package/templates/nonprofit-cause/l10n/de.json +95 -36
  186. package/templates/nonprofit-cause/l10n/el.json +95 -36
  187. package/templates/nonprofit-cause/l10n/en.json +71 -15
  188. package/templates/nonprofit-cause/l10n/es.json +95 -36
  189. package/templates/nonprofit-cause/l10n/fi.json +95 -36
  190. package/templates/nonprofit-cause/l10n/fr.json +95 -36
  191. package/templates/nonprofit-cause/l10n/he.json +78 -29
  192. package/templates/nonprofit-cause/l10n/hu.json +95 -36
  193. package/templates/nonprofit-cause/l10n/id.json +95 -36
  194. package/templates/nonprofit-cause/l10n/it.json +95 -36
  195. package/templates/nonprofit-cause/l10n/ja.json +95 -36
  196. package/templates/nonprofit-cause/l10n/ko.json +95 -36
  197. package/templates/nonprofit-cause/l10n/lt.json +95 -36
  198. package/templates/nonprofit-cause/l10n/nl.json +95 -36
  199. package/templates/nonprofit-cause/l10n/no.json +95 -36
  200. package/templates/nonprofit-cause/l10n/pl.json +95 -36
  201. package/templates/nonprofit-cause/l10n/pt.json +95 -36
  202. package/templates/nonprofit-cause/l10n/ru.json +95 -36
  203. package/templates/nonprofit-cause/l10n/sv.json +95 -36
  204. package/templates/nonprofit-cause/l10n/th.json +95 -36
  205. package/templates/nonprofit-cause/l10n/tr.json +95 -36
  206. package/templates/nonprofit-cause/l10n/uk.json +95 -36
  207. package/templates/nonprofit-cause/l10n/vi.json +95 -36
  208. package/templates/nonprofit-cause/l10n/zh.json +95 -36
  209. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  210. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  211. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
  212. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
  213. package/templates/podcast-creator/config.ts +1 -1
  214. package/templates/podcast-creator/dev/index.ts +2704 -936
  215. package/templates/podcast-creator/l10n/ar.json +95 -36
  216. package/templates/podcast-creator/l10n/cs.json +95 -36
  217. package/templates/podcast-creator/l10n/da.json +95 -36
  218. package/templates/podcast-creator/l10n/de.json +95 -36
  219. package/templates/podcast-creator/l10n/el.json +95 -36
  220. package/templates/podcast-creator/l10n/en.json +71 -15
  221. package/templates/podcast-creator/l10n/es.json +95 -36
  222. package/templates/podcast-creator/l10n/fi.json +95 -36
  223. package/templates/podcast-creator/l10n/fr.json +95 -36
  224. package/templates/podcast-creator/l10n/he.json +78 -29
  225. package/templates/podcast-creator/l10n/hu.json +95 -36
  226. package/templates/podcast-creator/l10n/id.json +95 -36
  227. package/templates/podcast-creator/l10n/it.json +95 -36
  228. package/templates/podcast-creator/l10n/ja.json +95 -36
  229. package/templates/podcast-creator/l10n/ko.json +95 -36
  230. package/templates/podcast-creator/l10n/lt.json +95 -36
  231. package/templates/podcast-creator/l10n/nl.json +95 -36
  232. package/templates/podcast-creator/l10n/no.json +95 -36
  233. package/templates/podcast-creator/l10n/pl.json +95 -36
  234. package/templates/podcast-creator/l10n/pt.json +95 -36
  235. package/templates/podcast-creator/l10n/ru.json +95 -36
  236. package/templates/podcast-creator/l10n/sv.json +95 -36
  237. package/templates/podcast-creator/l10n/th.json +95 -36
  238. package/templates/podcast-creator/l10n/tr.json +95 -36
  239. package/templates/podcast-creator/l10n/uk.json +95 -36
  240. package/templates/podcast-creator/l10n/vi.json +95 -36
  241. package/templates/podcast-creator/l10n/zh.json +95 -36
  242. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  243. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  244. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
  245. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
  246. package/templates/portfolio-creative/config.ts +1 -1
  247. package/templates/portfolio-creative/dev/index.ts +2499 -731
  248. package/templates/portfolio-creative/l10n/ar.json +95 -36
  249. package/templates/portfolio-creative/l10n/cs.json +95 -36
  250. package/templates/portfolio-creative/l10n/da.json +95 -36
  251. package/templates/portfolio-creative/l10n/de.json +95 -36
  252. package/templates/portfolio-creative/l10n/el.json +95 -36
  253. package/templates/portfolio-creative/l10n/en.json +71 -15
  254. package/templates/portfolio-creative/l10n/es.json +95 -36
  255. package/templates/portfolio-creative/l10n/fi.json +95 -36
  256. package/templates/portfolio-creative/l10n/fr.json +95 -36
  257. package/templates/portfolio-creative/l10n/he.json +78 -29
  258. package/templates/portfolio-creative/l10n/hu.json +95 -36
  259. package/templates/portfolio-creative/l10n/id.json +95 -36
  260. package/templates/portfolio-creative/l10n/it.json +95 -36
  261. package/templates/portfolio-creative/l10n/ja.json +95 -36
  262. package/templates/portfolio-creative/l10n/ko.json +95 -36
  263. package/templates/portfolio-creative/l10n/lt.json +95 -36
  264. package/templates/portfolio-creative/l10n/nl.json +95 -36
  265. package/templates/portfolio-creative/l10n/no.json +95 -36
  266. package/templates/portfolio-creative/l10n/pl.json +95 -36
  267. package/templates/portfolio-creative/l10n/pt.json +95 -36
  268. package/templates/portfolio-creative/l10n/ru.json +95 -36
  269. package/templates/portfolio-creative/l10n/sv.json +95 -36
  270. package/templates/portfolio-creative/l10n/th.json +95 -36
  271. package/templates/portfolio-creative/l10n/tr.json +95 -36
  272. package/templates/portfolio-creative/l10n/uk.json +95 -36
  273. package/templates/portfolio-creative/l10n/vi.json +95 -36
  274. package/templates/portfolio-creative/l10n/zh.json +95 -36
  275. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  276. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  277. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
  278. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
  279. package/templates/restaurant/config.ts +1 -1
  280. package/templates/restaurant/dev/index.ts +2528 -760
  281. package/templates/restaurant/l10n/ar.json +95 -36
  282. package/templates/restaurant/l10n/cs.json +95 -36
  283. package/templates/restaurant/l10n/da.json +95 -36
  284. package/templates/restaurant/l10n/de.json +95 -36
  285. package/templates/restaurant/l10n/el.json +95 -36
  286. package/templates/restaurant/l10n/en.json +71 -15
  287. package/templates/restaurant/l10n/es.json +95 -36
  288. package/templates/restaurant/l10n/fi.json +95 -36
  289. package/templates/restaurant/l10n/fr.json +95 -36
  290. package/templates/restaurant/l10n/he.json +78 -29
  291. package/templates/restaurant/l10n/hu.json +95 -36
  292. package/templates/restaurant/l10n/id.json +95 -36
  293. package/templates/restaurant/l10n/it.json +95 -36
  294. package/templates/restaurant/l10n/ja.json +95 -36
  295. package/templates/restaurant/l10n/ko.json +95 -36
  296. package/templates/restaurant/l10n/lt.json +95 -36
  297. package/templates/restaurant/l10n/nl.json +95 -36
  298. package/templates/restaurant/l10n/no.json +95 -36
  299. package/templates/restaurant/l10n/pl.json +95 -36
  300. package/templates/restaurant/l10n/pt.json +95 -36
  301. package/templates/restaurant/l10n/ru.json +95 -36
  302. package/templates/restaurant/l10n/sv.json +95 -36
  303. package/templates/restaurant/l10n/th.json +95 -36
  304. package/templates/restaurant/l10n/tr.json +95 -36
  305. package/templates/restaurant/l10n/uk.json +95 -36
  306. package/templates/restaurant/l10n/vi.json +95 -36
  307. package/templates/restaurant/l10n/zh.json +95 -36
  308. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  309. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  310. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
  311. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
  312. package/templates/retail-store/config.ts +1 -1
  313. package/templates/retail-store/dev/index.ts +2417 -661
  314. package/templates/retail-store/l10n/ar.json +95 -41
  315. package/templates/retail-store/l10n/cs.json +95 -41
  316. package/templates/retail-store/l10n/da.json +95 -41
  317. package/templates/retail-store/l10n/de.json +95 -41
  318. package/templates/retail-store/l10n/el.json +95 -41
  319. package/templates/retail-store/l10n/en.json +71 -20
  320. package/templates/retail-store/l10n/es.json +95 -41
  321. package/templates/retail-store/l10n/fi.json +95 -41
  322. package/templates/retail-store/l10n/fr.json +95 -41
  323. package/templates/retail-store/l10n/he.json +78 -33
  324. package/templates/retail-store/l10n/hu.json +95 -41
  325. package/templates/retail-store/l10n/id.json +95 -41
  326. package/templates/retail-store/l10n/it.json +95 -41
  327. package/templates/retail-store/l10n/ja.json +95 -41
  328. package/templates/retail-store/l10n/ko.json +95 -41
  329. package/templates/retail-store/l10n/lt.json +95 -41
  330. package/templates/retail-store/l10n/nl.json +95 -41
  331. package/templates/retail-store/l10n/no.json +95 -41
  332. package/templates/retail-store/l10n/pl.json +95 -41
  333. package/templates/retail-store/l10n/pt.json +95 -41
  334. package/templates/retail-store/l10n/ru.json +95 -41
  335. package/templates/retail-store/l10n/sv.json +95 -41
  336. package/templates/retail-store/l10n/th.json +95 -41
  337. package/templates/retail-store/l10n/tr.json +95 -41
  338. package/templates/retail-store/l10n/uk.json +95 -41
  339. package/templates/retail-store/l10n/vi.json +95 -41
  340. package/templates/retail-store/l10n/zh.json +95 -41
  341. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  342. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  343. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
  344. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
  345. package/templates/yoga-studio/config.ts +1 -1
  346. package/templates/yoga-studio/dev/index.ts +2619 -851
  347. package/templates/yoga-studio/l10n/ar.json +95 -36
  348. package/templates/yoga-studio/l10n/cs.json +95 -36
  349. package/templates/yoga-studio/l10n/da.json +95 -36
  350. package/templates/yoga-studio/l10n/de.json +95 -36
  351. package/templates/yoga-studio/l10n/el.json +95 -36
  352. package/templates/yoga-studio/l10n/en.json +71 -15
  353. package/templates/yoga-studio/l10n/es.json +95 -36
  354. package/templates/yoga-studio/l10n/fi.json +95 -36
  355. package/templates/yoga-studio/l10n/fr.json +95 -36
  356. package/templates/yoga-studio/l10n/he.json +78 -29
  357. package/templates/yoga-studio/l10n/hu.json +95 -36
  358. package/templates/yoga-studio/l10n/id.json +95 -36
  359. package/templates/yoga-studio/l10n/it.json +95 -36
  360. package/templates/yoga-studio/l10n/ja.json +95 -36
  361. package/templates/yoga-studio/l10n/ko.json +95 -36
  362. package/templates/yoga-studio/l10n/lt.json +95 -36
  363. package/templates/yoga-studio/l10n/nl.json +95 -36
  364. package/templates/yoga-studio/l10n/no.json +95 -36
  365. package/templates/yoga-studio/l10n/pl.json +95 -36
  366. package/templates/yoga-studio/l10n/pt.json +95 -36
  367. package/templates/yoga-studio/l10n/ru.json +95 -36
  368. package/templates/yoga-studio/l10n/sv.json +95 -36
  369. package/templates/yoga-studio/l10n/th.json +95 -36
  370. package/templates/yoga-studio/l10n/tr.json +95 -36
  371. package/templates/yoga-studio/l10n/uk.json +95 -36
  372. package/templates/yoga-studio/l10n/vi.json +95 -36
  373. package/templates/yoga-studio/l10n/zh.json +95 -36
  374. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  375. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
  376. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
  377. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
@@ -16997,7 +16997,7 @@ const SCREENS = runtimeSetting({
16997
16997
  "alignment": "leading",
16998
16998
  "children": [
16999
16999
  {
17000
- "id": "",
17000
+ "id": "himi_blog.heading",
17001
17001
  "body": {
17002
17002
  "package": "himalaya",
17003
17003
  "type": "VStack",
@@ -17027,8 +17027,7 @@ const SCREENS = runtimeSetting({
17027
17027
  "props": {
17028
17028
  "text": "Impact stories and news from the mission.",
17029
17029
  "style": "body",
17030
- "color": "textSecondary",
17031
- "collapseWhenEmpty": true
17030
+ "color": "textSecondary"
17032
17031
  }
17033
17032
  }
17034
17033
  }
@@ -17109,6 +17108,7 @@ const SCREENS = runtimeSetting({
17109
17108
  "type": "HStack",
17110
17109
  "props": {
17111
17110
  "spacing": 10,
17111
+ "alignment": "center",
17112
17112
  "children": [
17113
17113
  {
17114
17114
  "id": "",
@@ -17346,6 +17346,7 @@ const SCREENS = runtimeSetting({
17346
17346
  "type": "HStack",
17347
17347
  "props": {
17348
17348
  "spacing": 14,
17349
+ "alignment": "center",
17349
17350
  "children": [
17350
17351
  {
17351
17352
  "id": "",
@@ -17485,6 +17486,7 @@ const SCREENS = runtimeSetting({
17485
17486
  "type": "HStack",
17486
17487
  "props": {
17487
17488
  "spacing": 4,
17489
+ "alignment": "center",
17488
17490
  "children": [
17489
17491
  {
17490
17492
  "id": "",
@@ -17539,6 +17541,7 @@ const SCREENS = runtimeSetting({
17539
17541
  "type": "HStack",
17540
17542
  "props": {
17541
17543
  "spacing": 12,
17544
+ "alignment": "center",
17542
17545
  "children": [
17543
17546
  {
17544
17547
  "id": "himi_blog.post_author.photo",
@@ -17979,71 +17982,56 @@ const SCREENS = runtimeSetting({
17979
17982
  }
17980
17983
  },
17981
17984
  {
17982
- "id": "",
17985
+ "id": "himi_blog.empty",
17983
17986
  "body": {
17984
17987
  "package": "himalaya",
17985
- "type": "VStack",
17988
+ "type": "EmptyState",
17986
17989
  "props": {
17987
- "spacing": 12,
17988
- "alignment": "center",
17989
- "children": [
17990
- {
17991
- "id": "",
17992
- "body": {
17993
- "package": "himalaya",
17994
- "type": "Icon",
17995
- "props": {
17996
- "name": "newspaper",
17997
- "size": 34,
17998
- "tint": "textTertiary"
17999
- }
18000
- },
18001
- "modifiers": {
18002
- "accessibilityRole": "decorative"
18003
- }
18004
- },
18005
- {
18006
- "id": "",
18007
- "body": {
18008
- "package": "himalaya",
18009
- "type": "Text",
18010
- "props": {
18011
- "text": "$service:himiBlogFeed.emptyText",
18012
- "style": "bodyEmphasis",
18013
- "color": "textSecondary",
18014
- "collapseWhenEmpty": true
18015
- }
18016
- }
18017
- },
18018
- {
18019
- "id": "himi_blog.empty.cta",
18020
- "body": {
18021
- "package": "himalaya",
18022
- "type": "Button",
18023
- "props": {
18024
- "title": "Clear filters",
18025
- "style": "secondary",
18026
- "action": {
18027
- "actionId": "tier5.himiBlogFeed.clearFilters"
18028
- }
18029
- }
18030
- }
18031
- }
18032
- ]
17990
+ "title": "$service:himiBlogFeed.emptyText",
17991
+ "subtitle": "Try a different word or category.",
17992
+ "icon": "search",
17993
+ "actionLabel": "Clear filters",
17994
+ "action": {
17995
+ "actionId": "tier5.himiBlogFeed.clearFilters"
17996
+ }
18033
17997
  }
18034
17998
  },
18035
17999
  "modifiers": {
18036
18000
  "padding": {
18037
18001
  "leading": 24,
18038
18002
  "trailing": 24,
18039
- "top": 24,
18003
+ "top": 48,
18004
+ "bottom": 24
18005
+ },
18006
+ "transition": {
18007
+ "enter": "fade",
18008
+ "exit": "fade"
18009
+ },
18010
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
18011
+ }
18012
+ },
18013
+ {
18014
+ "id": "himi_blog.empty_none",
18015
+ "body": {
18016
+ "package": "himalaya",
18017
+ "type": "EmptyState",
18018
+ "props": {
18019
+ "title": "$service:himiBlogFeed.emptyText",
18020
+ "icon": "document"
18021
+ }
18022
+ },
18023
+ "modifiers": {
18024
+ "padding": {
18025
+ "leading": 24,
18026
+ "trailing": 24,
18027
+ "top": 48,
18040
18028
  "bottom": 24
18041
18029
  },
18042
18030
  "transition": {
18043
18031
  "enter": "fade",
18044
18032
  "exit": "fade"
18045
18033
  },
18046
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
18034
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
18047
18035
  }
18048
18036
  }
18049
18037
  ]
@@ -18075,21 +18063,6 @@ const SCREENS = runtimeSetting({
18075
18063
  ],
18076
18064
  "minBinaryVersion": "0.1.0",
18077
18065
  "bundleVersion": "0.0.1"
18078
- },
18079
- "topBar": {
18080
- "actions": [
18081
- {
18082
- "id": "account",
18083
- "icon": "person",
18084
- "accessibilityLabel": "Account",
18085
- "onTap": {
18086
- "actionId": "himi.open",
18087
- "params": {
18088
- "screenId": "himi_account"
18089
- }
18090
- }
18091
- }
18092
- ]
18093
18066
  }
18094
18067
  },
18095
18068
  "himi_saved": {
@@ -18170,6 +18143,7 @@ const SCREENS = runtimeSetting({
18170
18143
  "type": "HStack",
18171
18144
  "props": {
18172
18145
  "spacing": 10,
18146
+ "alignment": "center",
18173
18147
  "children": [
18174
18148
  {
18175
18149
  "id": "",
@@ -18575,73 +18549,21 @@ const SCREENS = runtimeSetting({
18575
18549
  }
18576
18550
  },
18577
18551
  {
18578
- "id": "",
18552
+ "id": "himi_saved.empty",
18579
18553
  "body": {
18580
18554
  "package": "himalaya",
18581
- "type": "VStack",
18555
+ "type": "EmptyState",
18582
18556
  "props": {
18583
- "spacing": 12,
18584
- "alignment": "center",
18585
- "children": [
18586
- {
18587
- "id": "",
18588
- "body": {
18589
- "package": "himalaya",
18590
- "type": "Icon",
18591
- "props": {
18592
- "name": "bookmark",
18593
- "size": 34,
18594
- "tint": "textTertiary"
18595
- }
18596
- },
18597
- "modifiers": {
18598
- "accessibilityRole": "decorative"
18599
- }
18600
- },
18601
- {
18602
- "id": "",
18603
- "body": {
18604
- "package": "himalaya",
18605
- "type": "Text",
18606
- "props": {
18607
- "text": "$service:himiBlogSaved.emptyText",
18608
- "style": "bodyEmphasis",
18609
- "color": "textSecondary",
18610
- "collapseWhenEmpty": true
18611
- }
18612
- }
18613
- },
18614
- {
18615
- "id": "",
18616
- "body": {
18617
- "package": "himalaya",
18618
- "type": "Text",
18619
- "props": {
18620
- "text": "Tap the bookmark on a post to read it later.",
18621
- "style": "footnote",
18622
- "color": "textTertiary",
18623
- "maxLines": 2
18624
- }
18625
- }
18626
- },
18627
- {
18628
- "id": "himi_saved.empty.cta",
18629
- "body": {
18630
- "package": "himalaya",
18631
- "type": "Button",
18632
- "props": {
18633
- "title": "Browse Blog",
18634
- "style": "secondary",
18635
- "action": {
18636
- "actionId": "himi.open",
18637
- "params": {
18638
- "screenId": "himi_blog"
18639
- }
18640
- }
18641
- }
18642
- }
18557
+ "title": "$service:himiBlogSaved.emptyText",
18558
+ "subtitle": "Tap the bookmark on a post to read it later.",
18559
+ "icon": "bookmark",
18560
+ "actionLabel": "Browse Blog",
18561
+ "action": {
18562
+ "actionId": "himi.open",
18563
+ "params": {
18564
+ "screenId": "himi_blog"
18643
18565
  }
18644
- ]
18566
+ }
18645
18567
  }
18646
18568
  },
18647
18569
  "modifiers": {
@@ -25804,6 +25726,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25804
25726
  "type": "HStack",
25805
25727
  "props": {
25806
25728
  "spacing": 10,
25729
+ "alignment": "center",
25807
25730
  "children": [
25808
25731
  {
25809
25732
  "id": "",
@@ -26163,6 +26086,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26163
26086
  "type": "HStack",
26164
26087
  "props": {
26165
26088
  "spacing": 12,
26089
+ "alignment": "center",
26166
26090
  "children": [
26167
26091
  {
26168
26092
  "id": "himi_blog_post.author.photo",
@@ -26911,41 +26835,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26911
26835
  "accessibilityRole": "decorative"
26912
26836
  }
26913
26837
  },
26914
- {
26915
- "id": "",
26916
- "body": {
26917
- "package": "himalaya",
26918
- "type": "VStack",
26919
- "props": {
26920
- "spacing": 0,
26921
- "alignment": "leading",
26922
- "children": [
26923
- {
26924
- "id": "himi_blog_post.comments_title",
26925
- "body": {
26926
- "package": "himalaya",
26927
- "type": "Text",
26928
- "props": {
26929
- "text": "$service:himiBlogPost.commentsTitle",
26930
- "style": "title3"
26931
- }
26932
- },
26933
- "modifiers": {
26934
- "accessibilityRole": "heading"
26935
- }
26936
- }
26937
- ]
26938
- }
26939
- },
26940
- "modifiers": {
26941
- "padding": {
26942
- "leading": 20,
26943
- "trailing": 20,
26944
- "top": 20,
26945
- "bottom": 4
26946
- }
26947
- }
26948
- },
26949
26838
  {
26950
26839
  "id": "",
26951
26840
  "body": {
@@ -26957,46 +26846,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26957
26846
  "children": [
26958
26847
  {
26959
26848
  "id": "",
26960
- "body": {
26961
- "package": "himalaya",
26962
- "type": "Text",
26963
- "props": {
26964
- "text": "$service:himiBlogPost.commentStatusText",
26965
- "style": "footnote",
26966
- "color": "textSecondary"
26967
- }
26968
- }
26969
- }
26970
- ]
26971
- }
26972
- },
26973
- "modifiers": {
26974
- "padding": {
26975
- "leading": 20,
26976
- "trailing": 20,
26977
- "top": 6,
26978
- "bottom": 6
26979
- },
26980
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
26981
- }
26982
- },
26983
- {
26984
- "id": "himi_blog_post.comments",
26985
- "body": {
26986
- "package": "himalaya",
26987
- "type": "Grid",
26988
- "props": {
26989
- "columns": 1,
26990
- "spacing": 0,
26991
- "itemsPath": "$service:himiBlogPost.comments",
26992
- "items": [
26993
- {
26994
- "id": "himi_blog_post.comment_row",
26995
26849
  "body": {
26996
26850
  "package": "himalaya",
26997
26851
  "type": "VStack",
26998
26852
  "props": {
26999
- "spacing": 6,
26853
+ "spacing": 14,
27000
26854
  "alignment": "leading",
27001
26855
  "children": [
27002
26856
  {
@@ -27005,73 +26859,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27005
26859
  "package": "himalaya",
27006
26860
  "type": "HStack",
27007
26861
  "props": {
27008
- "spacing": 10,
26862
+ "spacing": 8,
26863
+ "alignment": "center",
27009
26864
  "children": [
27010
26865
  {
27011
- "id": "",
26866
+ "id": "himi_blog_post.comments_title",
27012
26867
  "body": {
27013
26868
  "package": "himalaya",
27014
- "type": "ZStack",
26869
+ "type": "Text",
27015
26870
  "props": {
27016
- "alignment": "center",
27017
- "children": [
27018
- {
27019
- "id": "",
27020
- "body": {
27021
- "package": "himalaya",
27022
- "type": "Text",
27023
- "props": {
27024
- "text": "$item.authorInitial",
27025
- "style": "footnote",
27026
- "color": "accentPrimary"
27027
- }
27028
- }
27029
- }
27030
- ]
26871
+ "text": "$service:himiBlogPost.commentsTitle",
26872
+ "style": "title3"
27031
26873
  }
27032
26874
  },
27033
26875
  "modifiers": {
27034
- "width": 32,
27035
- "height": 32,
27036
- "background": {
27037
- "token": "accentSurface"
27038
- },
27039
- "cornerRadius": 16,
27040
- "accessibilityRole": "decorative"
26876
+ "accessibilityRole": "heading"
27041
26877
  }
27042
26878
  },
27043
26879
  {
27044
26880
  "id": "",
27045
26881
  "body": {
27046
26882
  "package": "himalaya",
27047
- "type": "Text",
27048
- "props": {
27049
- "text": "$item.authorName",
27050
- "style": "bodyEmphasis",
27051
- "maxLines": 1
27052
- }
26883
+ "type": "Spacer",
26884
+ "props": {}
27053
26885
  }
27054
26886
  },
27055
26887
  {
27056
- "id": "",
26888
+ "id": "himi_blog_post.comments_show_all",
27057
26889
  "body": {
27058
26890
  "package": "himalaya",
27059
26891
  "type": "Text",
27060
26892
  "props": {
27061
- "text": "$item.meta",
27062
- "style": "caption",
27063
- "color": "textTertiary",
27064
- "maxLines": 1,
27065
- "collapseWhenEmpty": true
26893
+ "text": "$service:himiBlogPost.showAllLabel",
26894
+ "style": "footnote",
26895
+ "color": "accentPrimary",
26896
+ "maxLines": 1
27066
26897
  }
27067
- }
27068
- },
27069
- {
27070
- "id": "",
27071
- "body": {
27072
- "package": "himalaya",
27073
- "type": "Spacer",
27074
- "props": {}
26898
+ },
26899
+ "modifiers": {
26900
+ "onTap": {
26901
+ "actionId": "tier5.himiBlogPost.openComments"
26902
+ },
26903
+ "accessibilityRole": "button",
26904
+ "padding": {
26905
+ "top": 6,
26906
+ "bottom": 6,
26907
+ "leading": 6
26908
+ },
26909
+ "hiddenPath": "$service:himiBlogPost.noComments"
27075
26910
  }
27076
26911
  }
27077
26912
  ]
@@ -27080,891 +26915,2823 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27080
26915
  },
27081
26916
  {
27082
26917
  "id": "",
26918
+ "body": {
26919
+ "package": "himalaya",
26920
+ "type": "Text",
26921
+ "props": {
26922
+ "text": "$service:himiBlogPost.commentStatusText",
26923
+ "style": "footnote",
26924
+ "color": "textSecondary"
26925
+ }
26926
+ },
26927
+ "modifiers": {
26928
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
26929
+ }
26930
+ },
26931
+ {
26932
+ "id": "himi_blog_post.comments_empty",
27083
26933
  "body": {
27084
26934
  "package": "himalaya",
27085
26935
  "type": "VStack",
27086
26936
  "props": {
27087
- "spacing": 0,
26937
+ "spacing": 4,
27088
26938
  "alignment": "leading",
27089
26939
  "children": [
27090
26940
  {
27091
- "id": "comment_body_$item.id",
26941
+ "id": "",
27092
26942
  "body": {
27093
26943
  "package": "himalaya",
27094
- "type": "RichContent",
26944
+ "type": "Text",
27095
26945
  "props": {
27096
- "documentJsonPath": "$item.bodyJson",
27097
- "onLink": {
27098
- "actionId": "tier5.himiBlogPost.openLink"
27099
- },
27100
- "fallback": {
27101
- "id": "",
27102
- "body": {
27103
- "package": "himalaya",
27104
- "type": "Text",
27105
- "props": {
27106
- "text": "$item.text",
27107
- "style": "body",
27108
- "collapseWhenEmpty": true
27109
- }
27110
- }
27111
- }
26946
+ "text": "No comments yet",
26947
+ "style": "bodyEmphasis"
27112
26948
  }
27113
26949
  }
27114
26950
  },
27115
26951
  {
27116
- "id": "comment_body_text_$item.id",
26952
+ "id": "",
27117
26953
  "body": {
27118
26954
  "package": "himalaya",
27119
26955
  "type": "Text",
27120
26956
  "props": {
27121
- "text": "$item.text",
27122
- "style": "body",
27123
- "collapseWhenEmpty": true
26957
+ "text": "Be the first to share your thoughts.",
26958
+ "style": "footnote",
26959
+ "color": "textSecondary"
27124
26960
  }
27125
- },
27126
- "modifiers": {
27127
- "hiddenPath": "$item.hasBodyJson"
27128
26961
  }
27129
26962
  }
27130
26963
  ]
27131
26964
  }
27132
26965
  },
27133
26966
  "modifiers": {
27134
- "padding": {
27135
- "leading": 42
27136
- }
27137
- }
27138
- },
27139
- {
27140
- "id": "",
27141
- "body": {
27142
- "package": "himalaya",
27143
- "type": "Divider",
27144
- "props": {}
27145
- },
27146
- "modifiers": {
27147
- "padding": {
27148
- "top": 10
27149
- }
27150
- }
27151
- }
27152
- ]
27153
- }
27154
- },
27155
- "modifiers": {
27156
- "padding": {
27157
- "leading": 20,
27158
- "trailing": 20,
27159
- "top": 12
27160
- }
27161
- }
27162
- }
27163
- ]
27164
- }
27165
- }
27166
- },
27167
- {
27168
- "id": "",
27169
- "body": {
27170
- "package": "himalaya",
27171
- "type": "VStack",
27172
- "props": {
27173
- "spacing": 0,
27174
- "alignment": "leading",
27175
- "children": [
27176
- {
27177
- "id": "himi_blog_post.comment_composer",
27178
- "body": {
27179
- "package": "himalaya",
27180
- "type": "VStack",
27181
- "props": {
27182
- "spacing": 10,
27183
- "alignment": "leading",
27184
- "children": [
27185
- {
27186
- "id": "himi_blog_post.comment_input",
27187
- "body": {
27188
- "package": "himalaya",
27189
- "type": "TextField",
27190
- "props": {
27191
- "placeholder": "Write a comment",
27192
- "valuePath": "$service:himiBlogPost.commentText",
27193
- "multilineMaxLines": 4,
27194
- "onChange": {
27195
- "actionId": "tier5.himiBlogPost.setComment"
27196
- }
27197
- }
27198
- }
27199
- },
27200
- {
27201
- "id": "himi_blog_post.comment_submit",
27202
- "body": {
27203
- "package": "himalaya",
27204
- "type": "Button",
27205
- "props": {
27206
- "title": "Post comment",
27207
- "style": "primary",
27208
- "fullWidth": false,
27209
- "action": {
27210
- "actionId": "tier5.himiBlogPost.submitComment"
27211
- }
27212
- }
27213
- }
27214
- }
27215
- ]
27216
- }
27217
- }
27218
- }
27219
- ]
27220
- }
27221
- },
27222
- "modifiers": {
27223
- "padding": {
27224
- "leading": 20,
27225
- "trailing": 20,
27226
- "top": 12,
27227
- "bottom": 16
27228
- },
27229
- "hiddenPath": "$service:himiBlogPost.commentsOff"
27230
- }
27231
- }
27232
- ]
27233
- }
27234
- }
27235
- },
27236
- {
27237
- "id": "himi_blog_post.recent_section",
27238
- "body": {
27239
- "package": "himalaya",
27240
- "type": "VStack",
27241
- "props": {
27242
- "spacing": 0,
27243
- "alignment": "leading",
27244
- "children": [
27245
- {
27246
- "id": "himi_blog_post.recent_band",
27247
- "body": {
27248
- "package": "himalaya",
27249
- "type": "VStack",
27250
- "props": {
27251
- "spacing": 0,
27252
- "children": []
27253
- }
27254
- },
27255
- "modifiers": {
27256
- "height": 12,
27257
- "fillMaxWidth": true,
27258
- "background": {
27259
- "token": "surfaceSecondary"
27260
- },
27261
- "accessibilityRole": "decorative"
27262
- }
27263
- },
27264
- {
27265
- "id": "",
27266
- "body": {
27267
- "package": "himalaya",
27268
- "type": "VStack",
27269
- "props": {
27270
- "spacing": 0,
27271
- "alignment": "leading",
27272
- "children": [
27273
- {
27274
- "id": "",
27275
- "body": {
27276
- "package": "himalaya",
27277
- "type": "Text",
27278
- "props": {
27279
- "text": "Recent posts",
27280
- "style": "title3"
27281
- }
27282
- },
27283
- "modifiers": {
27284
- "accessibilityRole": "heading"
27285
- }
27286
- }
27287
- ]
27288
- }
27289
- },
27290
- "modifiers": {
27291
- "padding": {
27292
- "leading": 20,
27293
- "trailing": 20,
27294
- "top": 20,
27295
- "bottom": 4
27296
- }
27297
- }
27298
- },
27299
- {
27300
- "id": "himi_blog_post.recent",
27301
- "body": {
27302
- "package": "himalaya",
27303
- "type": "Grid",
27304
- "props": {
27305
- "columns": 1,
27306
- "spacing": 0,
27307
- "itemsPath": "$service:himiBlogPost.recent",
27308
- "items": [
27309
- {
27310
- "id": "himi_blog_post.recent_row",
27311
- "body": {
27312
- "package": "himalaya",
27313
- "type": "HStack",
27314
- "props": {
27315
- "spacing": 12,
27316
- "children": [
27317
- {
27318
- "id": "himi_blog_post.recent_cover",
27319
- "body": {
27320
- "package": "himalaya",
27321
- "type": "Image",
27322
- "props": {
27323
- "url": "$item.cover",
27324
- "width": 72,
27325
- "height": 72,
27326
- "contentMode": "fill"
27327
- }
27328
- },
27329
- "modifiers": {
27330
- "accessibilityRole": "decorative",
27331
- "cornerRadius": 8,
27332
- "hiddenPath": "$item.noCover"
26967
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
27333
26968
  }
27334
26969
  },
27335
26970
  {
27336
- "id": "",
26971
+ "id": "himi_blog_post.comments",
27337
26972
  "body": {
27338
26973
  "package": "himalaya",
27339
- "type": "ZStack",
26974
+ "type": "Grid",
27340
26975
  "props": {
27341
- "alignment": "center",
27342
- "children": [
26976
+ "columns": 1,
26977
+ "spacing": 16,
26978
+ "itemsPath": "$service:himiBlogPost.latestComments",
26979
+ "items": [
27343
26980
  {
27344
- "id": "",
26981
+ "id": "himi_blog_post.comment_row",
27345
26982
  "body": {
27346
26983
  "package": "himalaya",
27347
- "type": "Icon",
26984
+ "type": "HStack",
27348
26985
  "props": {
27349
- "name": "newspaper",
27350
- "size": 22,
27351
- "tint": "textTertiary"
27352
- }
27353
- },
27354
- "modifiers": {
27355
- "accessibilityRole": "decorative"
27356
- }
27357
- }
27358
- ]
27359
- }
27360
- },
27361
- "modifiers": {
27362
- "width": 72,
27363
- "height": 72,
27364
- "background": {
27365
- "token": "surfaceSecondary"
27366
- },
27367
- "cornerRadius": 8,
27368
- "accessibilityRole": "decorative",
27369
- "hiddenPath": "$item.hasCover"
26986
+ "spacing": 10,
26987
+ "alignment": "leading",
26988
+ "children": [
26989
+ {
26990
+ "id": "himi_blog_post.comment_avatar.photo",
26991
+ "body": {
26992
+ "package": "himalaya",
26993
+ "type": "Image",
26994
+ "props": {
26995
+ "url": "$item.authorPhoto",
26996
+ "width": 32,
26997
+ "height": 32,
26998
+ "contentMode": "fill",
26999
+ "shape": "circle"
27000
+ }
27001
+ },
27002
+ "modifiers": {
27003
+ "accessibilityRole": "decorative",
27004
+ "hiddenPath": "$item.noAuthorPhoto"
27005
+ }
27006
+ },
27007
+ {
27008
+ "id": "",
27009
+ "body": {
27010
+ "package": "himalaya",
27011
+ "type": "ZStack",
27012
+ "props": {
27013
+ "alignment": "center",
27014
+ "children": [
27015
+ {
27016
+ "id": "",
27017
+ "body": {
27018
+ "package": "himalaya",
27019
+ "type": "Text",
27020
+ "props": {
27021
+ "text": "$item.authorInitial",
27022
+ "style": "footnote",
27023
+ "color": "accentPrimary",
27024
+ "collapseWhenEmpty": true
27025
+ }
27026
+ }
27027
+ }
27028
+ ]
27029
+ }
27030
+ },
27031
+ "modifiers": {
27032
+ "width": 32,
27033
+ "height": 32,
27034
+ "background": {
27035
+ "token": "accentSurface"
27036
+ },
27037
+ "cornerRadius": 16,
27038
+ "accessibilityRole": "decorative",
27039
+ "hiddenPath": "$item.hasAuthorPhoto"
27040
+ }
27041
+ },
27042
+ {
27043
+ "id": "",
27044
+ "body": {
27045
+ "package": "himalaya",
27046
+ "type": "VStack",
27047
+ "props": {
27048
+ "spacing": 4,
27049
+ "alignment": "leading",
27050
+ "children": [
27051
+ {
27052
+ "id": "",
27053
+ "body": {
27054
+ "package": "himalaya",
27055
+ "type": "HStack",
27056
+ "props": {
27057
+ "spacing": 6,
27058
+ "alignment": "center",
27059
+ "children": [
27060
+ {
27061
+ "id": "",
27062
+ "body": {
27063
+ "package": "himalaya",
27064
+ "type": "Text",
27065
+ "props": {
27066
+ "text": "$item.authorName",
27067
+ "style": "footnote",
27068
+ "maxLines": 1
27069
+ }
27070
+ }
27071
+ },
27072
+ {
27073
+ "id": "",
27074
+ "body": {
27075
+ "package": "himalaya",
27076
+ "type": "Text",
27077
+ "props": {
27078
+ "text": "$item.meta",
27079
+ "style": "caption",
27080
+ "color": "textTertiary",
27081
+ "maxLines": 1,
27082
+ "collapseWhenEmpty": true
27083
+ }
27084
+ }
27085
+ },
27086
+ {
27087
+ "id": "",
27088
+ "body": {
27089
+ "package": "himalaya",
27090
+ "type": "Spacer",
27091
+ "props": {}
27092
+ }
27093
+ },
27094
+ {
27095
+ "id": "",
27096
+ "body": {
27097
+ "package": "himalaya",
27098
+ "type": "HStack",
27099
+ "props": {
27100
+ "spacing": 0,
27101
+ "alignment": "center",
27102
+ "children": [
27103
+ {
27104
+ "id": "himi_blog_post.comment_menu",
27105
+ "body": {
27106
+ "package": "himalaya",
27107
+ "type": "Menu",
27108
+ "props": {
27109
+ "anchor": {
27110
+ "id": "",
27111
+ "body": {
27112
+ "package": "himalaya",
27113
+ "type": "Icon",
27114
+ "props": {
27115
+ "name": "more_vertical",
27116
+ "size": 18,
27117
+ "tint": "textSecondary"
27118
+ }
27119
+ },
27120
+ "modifiers": {
27121
+ "accessibilityRole": "button",
27122
+ "accessibilityLabel": "Comment actions",
27123
+ "padding": {
27124
+ "leading": 13,
27125
+ "trailing": 13,
27126
+ "top": 4,
27127
+ "bottom": 4
27128
+ }
27129
+ }
27130
+ },
27131
+ "style": "dropdown",
27132
+ "items": [
27133
+ {
27134
+ "id": "report",
27135
+ "label": "Report",
27136
+ "icon": "warning",
27137
+ "action": {
27138
+ "actionId": "tier5.himiBlogPost.reportComment",
27139
+ "params": {
27140
+ "id": "$item.id"
27141
+ }
27142
+ }
27143
+ }
27144
+ ]
27145
+ }
27146
+ }
27147
+ }
27148
+ ]
27149
+ }
27150
+ },
27151
+ "modifiers": {
27152
+ "hiddenPath": "$item.noReport"
27153
+ }
27154
+ }
27155
+ ]
27156
+ }
27157
+ }
27158
+ },
27159
+ {
27160
+ "id": "comment_preview_$item.id",
27161
+ "body": {
27162
+ "package": "himalaya",
27163
+ "type": "Text",
27164
+ "props": {
27165
+ "text": "$item.preview",
27166
+ "style": "body",
27167
+ "maxLines": 2
27168
+ }
27169
+ }
27170
+ },
27171
+ {
27172
+ "id": "",
27173
+ "body": {
27174
+ "package": "himalaya",
27175
+ "type": "HStack",
27176
+ "props": {
27177
+ "spacing": 12,
27178
+ "alignment": "center",
27179
+ "children": [
27180
+ {
27181
+ "id": "",
27182
+ "body": {
27183
+ "package": "himalaya",
27184
+ "type": "HStack",
27185
+ "props": {
27186
+ "spacing": 0,
27187
+ "alignment": "center",
27188
+ "children": [
27189
+ {
27190
+ "id": "himi_blog_post.comment_like",
27191
+ "body": {
27192
+ "package": "himalaya",
27193
+ "type": "HStack",
27194
+ "props": {
27195
+ "spacing": 4,
27196
+ "alignment": "center",
27197
+ "children": [
27198
+ {
27199
+ "id": "",
27200
+ "body": {
27201
+ "package": "himalaya",
27202
+ "type": "Icon",
27203
+ "props": {
27204
+ "name": "heart",
27205
+ "size": 14,
27206
+ "tint": "textSecondary"
27207
+ }
27208
+ },
27209
+ "modifiers": {
27210
+ "accessibilityRole": "decorative"
27211
+ }
27212
+ },
27213
+ {
27214
+ "id": "",
27215
+ "body": {
27216
+ "package": "himalaya",
27217
+ "type": "Text",
27218
+ "props": {
27219
+ "text": "$item.likes",
27220
+ "style": "caption",
27221
+ "color": "textSecondary",
27222
+ "monospacedDigits": true
27223
+ }
27224
+ }
27225
+ }
27226
+ ]
27227
+ }
27228
+ },
27229
+ "modifiers": {
27230
+ "border": {
27231
+ "width": 1,
27232
+ "color": {
27233
+ "token": "border"
27234
+ }
27235
+ },
27236
+ "cornerRadius": 999,
27237
+ "padding": {
27238
+ "leading": 10,
27239
+ "trailing": 10,
27240
+ "top": 4,
27241
+ "bottom": 4
27242
+ },
27243
+ "onTap": {
27244
+ "actionId": "tier5.himiBlogPost.likeComment",
27245
+ "params": {
27246
+ "id": "$item.id"
27247
+ }
27248
+ },
27249
+ "pressFeedback": "scale",
27250
+ "haptic": "light",
27251
+ "accessibilityRole": "button",
27252
+ "accessibilityLabel": "Like",
27253
+ "hiddenPath": "$item.liked"
27254
+ }
27255
+ },
27256
+ {
27257
+ "id": "himi_blog_post.comment_unlike",
27258
+ "body": {
27259
+ "package": "himalaya",
27260
+ "type": "HStack",
27261
+ "props": {
27262
+ "spacing": 4,
27263
+ "alignment": "center",
27264
+ "children": [
27265
+ {
27266
+ "id": "",
27267
+ "body": {
27268
+ "package": "himalaya",
27269
+ "type": "Icon",
27270
+ "props": {
27271
+ "name": "heart_fill",
27272
+ "size": 14,
27273
+ "tint": "danger"
27274
+ }
27275
+ },
27276
+ "modifiers": {
27277
+ "accessibilityRole": "decorative"
27278
+ }
27279
+ },
27280
+ {
27281
+ "id": "",
27282
+ "body": {
27283
+ "package": "himalaya",
27284
+ "type": "Text",
27285
+ "props": {
27286
+ "text": "$item.likes",
27287
+ "style": "caption",
27288
+ "color": "danger",
27289
+ "monospacedDigits": true
27290
+ }
27291
+ }
27292
+ }
27293
+ ]
27294
+ }
27295
+ },
27296
+ "modifiers": {
27297
+ "background": {
27298
+ "token": "dangerSurface"
27299
+ },
27300
+ "cornerRadius": 999,
27301
+ "padding": {
27302
+ "leading": 10,
27303
+ "trailing": 10,
27304
+ "top": 4,
27305
+ "bottom": 4
27306
+ },
27307
+ "onTap": {
27308
+ "actionId": "tier5.himiBlogPost.unlikeComment",
27309
+ "params": {
27310
+ "id": "$item.id"
27311
+ }
27312
+ },
27313
+ "pressFeedback": "scale",
27314
+ "haptic": "light",
27315
+ "accessibilityRole": "button",
27316
+ "accessibilityLabel": "Unlike",
27317
+ "hiddenPath": "$item.notLiked"
27318
+ }
27319
+ }
27320
+ ]
27321
+ }
27322
+ },
27323
+ "modifiers": {
27324
+ "hiddenPath": "$item.noLikes"
27325
+ }
27326
+ },
27327
+ {
27328
+ "id": "",
27329
+ "body": {
27330
+ "package": "himalaya",
27331
+ "type": "HStack",
27332
+ "props": {
27333
+ "spacing": 0,
27334
+ "alignment": "center",
27335
+ "children": [
27336
+ {
27337
+ "id": "himi_blog_post.comment_reply",
27338
+ "body": {
27339
+ "package": "himalaya",
27340
+ "type": "Text",
27341
+ "props": {
27342
+ "text": "Reply",
27343
+ "style": "caption",
27344
+ "color": "textSecondary"
27345
+ }
27346
+ },
27347
+ "modifiers": {
27348
+ "onTap": {
27349
+ "actionId": "tier5.himiBlogPost.replyTo",
27350
+ "params": {
27351
+ "id": "$item.id"
27352
+ }
27353
+ },
27354
+ "accessibilityRole": "button",
27355
+ "padding": {
27356
+ "top": 4,
27357
+ "bottom": 4,
27358
+ "leading": 4,
27359
+ "trailing": 4
27360
+ },
27361
+ "hiddenPath": "$item.noReply"
27362
+ }
27363
+ }
27364
+ ]
27365
+ }
27366
+ },
27367
+ "modifiers": {
27368
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27369
+ }
27370
+ },
27371
+ {
27372
+ "id": "",
27373
+ "body": {
27374
+ "package": "himalaya",
27375
+ "type": "Spacer",
27376
+ "props": {}
27377
+ }
27378
+ }
27379
+ ]
27380
+ }
27381
+ }
27382
+ }
27383
+ ]
27384
+ }
27385
+ },
27386
+ "modifiers": {
27387
+ "weight": 1
27388
+ }
27389
+ }
27390
+ ]
27391
+ }
27392
+ },
27393
+ "modifiers": {
27394
+ "fillMaxWidth": true
27395
+ }
27396
+ }
27397
+ ]
27398
+ }
27370
27399
  }
27371
27400
  },
27372
27401
  {
27373
- "id": "",
27402
+ "id": "himi_blog_post.comment_open_composer",
27374
27403
  "body": {
27375
27404
  "package": "himalaya",
27376
- "type": "VStack",
27405
+ "type": "HStack",
27377
27406
  "props": {
27378
- "spacing": 4,
27379
- "alignment": "leading",
27407
+ "spacing": 10,
27408
+ "alignment": "center",
27380
27409
  "children": [
27410
+ {
27411
+ "id": "himi_blog_post.comment_input_avatar.photo",
27412
+ "body": {
27413
+ "package": "himalaya",
27414
+ "type": "Image",
27415
+ "props": {
27416
+ "url": "$service:himiBlogPost.memberPhoto",
27417
+ "width": 32,
27418
+ "height": 32,
27419
+ "contentMode": "fill",
27420
+ "shape": "circle"
27421
+ }
27422
+ },
27423
+ "modifiers": {
27424
+ "accessibilityRole": "decorative",
27425
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
27426
+ }
27427
+ },
27381
27428
  {
27382
27429
  "id": "",
27383
27430
  "body": {
27384
27431
  "package": "himalaya",
27385
- "type": "Text",
27432
+ "type": "ZStack",
27386
27433
  "props": {
27387
- "text": "$item.title",
27388
- "style": "bodyEmphasis",
27389
- "maxLines": 2
27434
+ "alignment": "center",
27435
+ "children": [
27436
+ {
27437
+ "id": "",
27438
+ "body": {
27439
+ "package": "himalaya",
27440
+ "type": "Icon",
27441
+ "props": {
27442
+ "name": "person",
27443
+ "size": 16,
27444
+ "tint": "accentPrimary"
27445
+ }
27446
+ },
27447
+ "modifiers": {
27448
+ "accessibilityRole": "decorative",
27449
+ "hiddenPath": "$service:himiBlogPost.isMember"
27450
+ }
27451
+ },
27452
+ {
27453
+ "id": "",
27454
+ "body": {
27455
+ "package": "himalaya",
27456
+ "type": "Text",
27457
+ "props": {
27458
+ "text": "$service:himiBlogPost.memberInitial",
27459
+ "style": "footnote",
27460
+ "color": "accentPrimary",
27461
+ "collapseWhenEmpty": true
27462
+ }
27463
+ }
27464
+ }
27465
+ ]
27390
27466
  }
27467
+ },
27468
+ "modifiers": {
27469
+ "width": 32,
27470
+ "height": 32,
27471
+ "background": {
27472
+ "token": "accentSurface"
27473
+ },
27474
+ "cornerRadius": 16,
27475
+ "accessibilityRole": "decorative",
27476
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
27391
27477
  }
27392
27478
  },
27393
27479
  {
27394
27480
  "id": "",
27395
27481
  "body": {
27396
27482
  "package": "himalaya",
27397
- "type": "Text",
27483
+ "type": "HStack",
27398
27484
  "props": {
27399
- "text": "$item.date",
27400
- "style": "caption",
27401
- "color": "textSecondary",
27402
- "maxLines": 1,
27403
- "collapseWhenEmpty": true
27485
+ "spacing": 0,
27486
+ "alignment": "center",
27487
+ "children": [
27488
+ {
27489
+ "id": "",
27490
+ "body": {
27491
+ "package": "himalaya",
27492
+ "type": "Text",
27493
+ "props": {
27494
+ "text": "Leave a comment…",
27495
+ "style": "body",
27496
+ "color": "textTertiary",
27497
+ "maxLines": 1
27498
+ }
27499
+ }
27500
+ },
27501
+ {
27502
+ "id": "",
27503
+ "body": {
27504
+ "package": "himalaya",
27505
+ "type": "Spacer",
27506
+ "props": {}
27507
+ }
27508
+ }
27509
+ ]
27404
27510
  }
27511
+ },
27512
+ "modifiers": {
27513
+ "background": {
27514
+ "token": "surfacePrimary"
27515
+ },
27516
+ "cornerRadius": 999,
27517
+ "padding": {
27518
+ "leading": 16,
27519
+ "trailing": 16,
27520
+ "top": 10,
27521
+ "bottom": 10
27522
+ },
27523
+ "weight": 1
27405
27524
  }
27406
27525
  }
27407
27526
  ]
27408
27527
  }
27409
- }
27410
- },
27411
- {
27412
- "id": "",
27413
- "body": {
27414
- "package": "himalaya",
27415
- "type": "Spacer",
27416
- "props": {}
27528
+ },
27529
+ "modifiers": {
27530
+ "onTap": {
27531
+ "actionId": "tier5.himiBlogPost.openComposer"
27532
+ },
27533
+ "accessibilityRole": "button",
27534
+ "accessibilityLabel": "Leave a comment…",
27535
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27417
27536
  }
27418
27537
  }
27419
27538
  ]
27420
27539
  }
27421
27540
  },
27422
27541
  "modifiers": {
27423
- "padding": {
27424
- "leading": 20,
27425
- "trailing": 20,
27426
- "top": 12,
27427
- "bottom": 12
27428
- },
27429
- "onTap": {
27430
- "actionId": "himi.open",
27431
- "params": {
27432
- "screenId": "$item.detailScreenId",
27433
- "id": "$item.id"
27434
- }
27542
+ "background": {
27543
+ "token": "surfaceSecondary"
27435
27544
  },
27436
- "pressFeedback": "scale",
27437
- "haptic": "light",
27438
- "accessibilityLabel": "$item.title"
27545
+ "cornerRadius": 16,
27546
+ "padding": {
27547
+ "leading": 16,
27548
+ "trailing": 16,
27549
+ "top": 16,
27550
+ "bottom": 16
27551
+ }
27439
27552
  }
27440
27553
  }
27441
27554
  ]
27442
27555
  }
27556
+ },
27557
+ "modifiers": {
27558
+ "padding": {
27559
+ "leading": 20,
27560
+ "trailing": 20,
27561
+ "top": 20,
27562
+ "bottom": 20
27563
+ }
27564
+ }
27565
+ }
27566
+ ]
27567
+ }
27568
+ }
27569
+ },
27570
+ {
27571
+ "id": "himi_blog_post.recent_section",
27572
+ "body": {
27573
+ "package": "himalaya",
27574
+ "type": "VStack",
27575
+ "props": {
27576
+ "spacing": 0,
27577
+ "alignment": "leading",
27578
+ "children": [
27579
+ {
27580
+ "id": "himi_blog_post.recent_band",
27581
+ "body": {
27582
+ "package": "himalaya",
27583
+ "type": "VStack",
27584
+ "props": {
27585
+ "spacing": 0,
27586
+ "children": []
27587
+ }
27588
+ },
27589
+ "modifiers": {
27590
+ "height": 12,
27591
+ "fillMaxWidth": true,
27592
+ "background": {
27593
+ "token": "surfaceSecondary"
27594
+ },
27595
+ "accessibilityRole": "decorative"
27443
27596
  }
27444
27597
  },
27445
27598
  {
27446
27599
  "id": "",
27447
27600
  "body": {
27448
27601
  "package": "himalaya",
27449
- "type": "HStack",
27602
+ "type": "VStack",
27450
27603
  "props": {
27451
27604
  "spacing": 0,
27605
+ "alignment": "leading",
27452
27606
  "children": [
27453
27607
  {
27454
27608
  "id": "",
27455
27609
  "body": {
27456
27610
  "package": "himalaya",
27457
- "type": "Spacer",
27458
- "props": {}
27611
+ "type": "Text",
27612
+ "props": {
27613
+ "text": "Recent posts",
27614
+ "style": "title3"
27615
+ }
27616
+ },
27617
+ "modifiers": {
27618
+ "accessibilityRole": "heading"
27459
27619
  }
27460
- },
27620
+ }
27621
+ ]
27622
+ }
27623
+ },
27624
+ "modifiers": {
27625
+ "padding": {
27626
+ "leading": 20,
27627
+ "trailing": 20,
27628
+ "top": 20,
27629
+ "bottom": 4
27630
+ }
27631
+ }
27632
+ },
27633
+ {
27634
+ "id": "himi_blog_post.recent",
27635
+ "body": {
27636
+ "package": "himalaya",
27637
+ "type": "Grid",
27638
+ "props": {
27639
+ "columns": 1,
27640
+ "spacing": 0,
27641
+ "itemsPath": "$service:himiBlogPost.recent",
27642
+ "items": [
27461
27643
  {
27462
- "id": "himi_blog_post.see_all",
27644
+ "id": "himi_blog_post.recent_row",
27463
27645
  "body": {
27464
27646
  "package": "himalaya",
27465
- "type": "Button",
27647
+ "type": "HStack",
27466
27648
  "props": {
27467
- "title": "See All Posts",
27468
- "style": "secondary",
27469
- "fullWidth": false,
27470
- "action": {
27471
- "actionId": "himi.open",
27472
- "params": {
27473
- "screenId": "himi_blog"
27649
+ "spacing": 12,
27650
+ "children": [
27651
+ {
27652
+ "id": "himi_blog_post.recent_cover",
27653
+ "body": {
27654
+ "package": "himalaya",
27655
+ "type": "Image",
27656
+ "props": {
27657
+ "url": "$item.cover",
27658
+ "width": 72,
27659
+ "height": 72,
27660
+ "contentMode": "fill"
27661
+ }
27662
+ },
27663
+ "modifiers": {
27664
+ "accessibilityRole": "decorative",
27665
+ "cornerRadius": 8,
27666
+ "hiddenPath": "$item.noCover"
27667
+ }
27668
+ },
27669
+ {
27670
+ "id": "",
27671
+ "body": {
27672
+ "package": "himalaya",
27673
+ "type": "ZStack",
27674
+ "props": {
27675
+ "alignment": "center",
27676
+ "children": [
27677
+ {
27678
+ "id": "",
27679
+ "body": {
27680
+ "package": "himalaya",
27681
+ "type": "Icon",
27682
+ "props": {
27683
+ "name": "newspaper",
27684
+ "size": 22,
27685
+ "tint": "textTertiary"
27686
+ }
27687
+ },
27688
+ "modifiers": {
27689
+ "accessibilityRole": "decorative"
27690
+ }
27691
+ }
27692
+ ]
27693
+ }
27694
+ },
27695
+ "modifiers": {
27696
+ "width": 72,
27697
+ "height": 72,
27698
+ "background": {
27699
+ "token": "surfaceSecondary"
27700
+ },
27701
+ "cornerRadius": 8,
27702
+ "accessibilityRole": "decorative",
27703
+ "hiddenPath": "$item.hasCover"
27704
+ }
27705
+ },
27706
+ {
27707
+ "id": "",
27708
+ "body": {
27709
+ "package": "himalaya",
27710
+ "type": "VStack",
27711
+ "props": {
27712
+ "spacing": 4,
27713
+ "alignment": "leading",
27714
+ "children": [
27715
+ {
27716
+ "id": "",
27717
+ "body": {
27718
+ "package": "himalaya",
27719
+ "type": "Text",
27720
+ "props": {
27721
+ "text": "$item.title",
27722
+ "style": "bodyEmphasis",
27723
+ "maxLines": 2
27724
+ }
27725
+ }
27726
+ },
27727
+ {
27728
+ "id": "",
27729
+ "body": {
27730
+ "package": "himalaya",
27731
+ "type": "Text",
27732
+ "props": {
27733
+ "text": "$item.date",
27734
+ "style": "caption",
27735
+ "color": "textSecondary",
27736
+ "maxLines": 1,
27737
+ "collapseWhenEmpty": true
27738
+ }
27739
+ }
27740
+ }
27741
+ ]
27742
+ }
27743
+ }
27744
+ },
27745
+ {
27746
+ "id": "",
27747
+ "body": {
27748
+ "package": "himalaya",
27749
+ "type": "Spacer",
27750
+ "props": {}
27751
+ }
27752
+ }
27753
+ ]
27754
+ }
27755
+ },
27756
+ "modifiers": {
27757
+ "padding": {
27758
+ "leading": 20,
27759
+ "trailing": 20,
27760
+ "top": 12,
27761
+ "bottom": 12
27762
+ },
27763
+ "onTap": {
27764
+ "actionId": "himi.open",
27765
+ "params": {
27766
+ "screenId": "$item.detailScreenId",
27767
+ "id": "$item.id"
27768
+ }
27769
+ },
27770
+ "pressFeedback": "scale",
27771
+ "haptic": "light",
27772
+ "accessibilityLabel": "$item.title"
27773
+ }
27774
+ }
27775
+ ]
27776
+ }
27777
+ }
27778
+ },
27779
+ {
27780
+ "id": "",
27781
+ "body": {
27782
+ "package": "himalaya",
27783
+ "type": "HStack",
27784
+ "props": {
27785
+ "spacing": 0,
27786
+ "children": [
27787
+ {
27788
+ "id": "",
27789
+ "body": {
27790
+ "package": "himalaya",
27791
+ "type": "Spacer",
27792
+ "props": {}
27793
+ }
27794
+ },
27795
+ {
27796
+ "id": "himi_blog_post.see_all",
27797
+ "body": {
27798
+ "package": "himalaya",
27799
+ "type": "Button",
27800
+ "props": {
27801
+ "title": "See All Posts",
27802
+ "style": "secondary",
27803
+ "fullWidth": false,
27804
+ "action": {
27805
+ "actionId": "himi.open",
27806
+ "params": {
27807
+ "screenId": "himi_blog"
27808
+ }
27809
+ }
27810
+ }
27811
+ }
27812
+ },
27813
+ {
27814
+ "id": "",
27815
+ "body": {
27816
+ "package": "himalaya",
27817
+ "type": "Spacer",
27818
+ "props": {}
27819
+ }
27820
+ }
27821
+ ]
27822
+ }
27823
+ },
27824
+ "modifiers": {
27825
+ "padding": {
27826
+ "top": 12,
27827
+ "bottom": 8
27828
+ }
27829
+ }
27830
+ }
27831
+ ]
27832
+ }
27833
+ },
27834
+ "modifiers": {
27835
+ "hiddenPath": "$service:himiBlogPost.noRecent"
27836
+ }
27837
+ }
27838
+ ]
27839
+ }
27840
+ },
27841
+ "modifiers": {
27842
+ "hiddenPath": "$service:himiBlogPost.noPost"
27843
+ }
27844
+ },
27845
+ {
27846
+ "id": "himi_blog_post.more_sheet",
27847
+ "body": {
27848
+ "package": "himalaya",
27849
+ "type": "BottomSheet",
27850
+ "props": {
27851
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
27852
+ "dismissible": true,
27853
+ "showGrabber": true,
27854
+ "onDismiss": {
27855
+ "actionId": "tier5.himiBlogPost.closeMore"
27856
+ },
27857
+ "content": {
27858
+ "id": "",
27859
+ "body": {
27860
+ "package": "himalaya",
27861
+ "type": "VStack",
27862
+ "props": {
27863
+ "spacing": 0,
27864
+ "alignment": "leading",
27865
+ "children": [
27866
+ {
27867
+ "id": "himi_blog_post.report",
27868
+ "body": {
27869
+ "package": "himalaya",
27870
+ "type": "HStack",
27871
+ "props": {
27872
+ "spacing": 14,
27873
+ "alignment": "center",
27874
+ "children": [
27875
+ {
27876
+ "id": "",
27877
+ "body": {
27878
+ "package": "himalaya",
27879
+ "type": "Icon",
27880
+ "props": {
27881
+ "name": "warning",
27882
+ "size": 22,
27883
+ "tint": "textPrimary"
27884
+ }
27885
+ },
27886
+ "modifiers": {
27887
+ "accessibilityRole": "decorative"
27888
+ }
27889
+ },
27890
+ {
27891
+ "id": "",
27892
+ "body": {
27893
+ "package": "himalaya",
27894
+ "type": "Text",
27895
+ "props": {
27896
+ "text": "Report",
27897
+ "style": "body"
27898
+ }
27899
+ }
27900
+ },
27901
+ {
27902
+ "id": "",
27903
+ "body": {
27904
+ "package": "himalaya",
27905
+ "type": "Spacer",
27906
+ "props": {}
27907
+ }
27908
+ }
27909
+ ]
27910
+ }
27911
+ },
27912
+ "modifiers": {
27913
+ "onTap": {
27914
+ "actionId": "tier5.himiBlogPost.report"
27915
+ },
27916
+ "accessibilityRole": "button",
27917
+ "accessibilityLabel": "Report",
27918
+ "padding": {
27919
+ "top": 11,
27920
+ "bottom": 11
27921
+ },
27922
+ "hiddenPath": "$service:himiBlogPost.reported"
27923
+ }
27924
+ },
27925
+ {
27926
+ "id": "himi_blog_post.hide",
27927
+ "body": {
27928
+ "package": "himalaya",
27929
+ "type": "HStack",
27930
+ "props": {
27931
+ "spacing": 14,
27932
+ "alignment": "center",
27933
+ "children": [
27934
+ {
27935
+ "id": "",
27936
+ "body": {
27937
+ "package": "himalaya",
27938
+ "type": "Icon",
27939
+ "props": {
27940
+ "name": "concealed",
27941
+ "size": 22,
27942
+ "tint": "textPrimary"
27943
+ }
27944
+ },
27945
+ "modifiers": {
27946
+ "accessibilityRole": "decorative"
27947
+ }
27948
+ },
27949
+ {
27950
+ "id": "",
27951
+ "body": {
27952
+ "package": "himalaya",
27953
+ "type": "Text",
27954
+ "props": {
27955
+ "text": "Hide post",
27956
+ "style": "body"
27957
+ }
27958
+ }
27959
+ },
27960
+ {
27961
+ "id": "",
27962
+ "body": {
27963
+ "package": "himalaya",
27964
+ "type": "Spacer",
27965
+ "props": {}
27966
+ }
27967
+ }
27968
+ ]
27969
+ }
27970
+ },
27971
+ "modifiers": {
27972
+ "onTap": {
27973
+ "actionId": "tier5.himiBlogPost.openHide"
27974
+ },
27975
+ "accessibilityRole": "button",
27976
+ "accessibilityLabel": "Hide post",
27977
+ "padding": {
27978
+ "top": 11,
27979
+ "bottom": 11
27980
+ },
27981
+ "hiddenPath": "$service:himiBlogPost.hidden"
27982
+ }
27983
+ },
27984
+ {
27985
+ "id": "himi_blog_post.unhide",
27986
+ "body": {
27987
+ "package": "himalaya",
27988
+ "type": "HStack",
27989
+ "props": {
27990
+ "spacing": 14,
27991
+ "alignment": "center",
27992
+ "children": [
27993
+ {
27994
+ "id": "",
27995
+ "body": {
27996
+ "package": "himalaya",
27997
+ "type": "Icon",
27998
+ "props": {
27999
+ "name": "visible",
28000
+ "size": 22,
28001
+ "tint": "textPrimary"
28002
+ }
28003
+ },
28004
+ "modifiers": {
28005
+ "accessibilityRole": "decorative"
28006
+ }
28007
+ },
28008
+ {
28009
+ "id": "",
28010
+ "body": {
28011
+ "package": "himalaya",
28012
+ "type": "Text",
28013
+ "props": {
28014
+ "text": "Undo hide",
28015
+ "style": "body"
28016
+ }
28017
+ }
28018
+ },
28019
+ {
28020
+ "id": "",
28021
+ "body": {
28022
+ "package": "himalaya",
28023
+ "type": "Spacer",
28024
+ "props": {}
28025
+ }
28026
+ }
28027
+ ]
28028
+ }
28029
+ },
28030
+ "modifiers": {
28031
+ "onTap": {
28032
+ "actionId": "tier5.himiBlogPost.unhide"
28033
+ },
28034
+ "accessibilityRole": "button",
28035
+ "accessibilityLabel": "Undo hide",
28036
+ "padding": {
28037
+ "top": 11,
28038
+ "bottom": 11
28039
+ },
28040
+ "hiddenPath": "$service:himiBlogPost.notHidden"
28041
+ }
28042
+ }
28043
+ ]
28044
+ }
28045
+ },
28046
+ "modifiers": {
28047
+ "padding": {
28048
+ "leading": 20,
28049
+ "trailing": 20,
28050
+ "top": 0,
28051
+ "bottom": 8
28052
+ }
28053
+ }
28054
+ }
28055
+ }
28056
+ }
28057
+ },
28058
+ {
28059
+ "id": "himi_blog_post.hide_sheet",
28060
+ "body": {
28061
+ "package": "himalaya",
28062
+ "type": "BottomSheet",
28063
+ "props": {
28064
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
28065
+ "dismissible": true,
28066
+ "showGrabber": true,
28067
+ "onDismiss": {
28068
+ "actionId": "tier5.himiBlogPost.closeHide"
28069
+ },
28070
+ "content": {
28071
+ "id": "",
28072
+ "body": {
28073
+ "package": "himalaya",
28074
+ "type": "VStack",
28075
+ "props": {
28076
+ "spacing": 0,
28077
+ "alignment": "leading",
28078
+ "children": [
28079
+ {
28080
+ "id": "",
28081
+ "body": {
28082
+ "package": "himalaya",
28083
+ "type": "Text",
28084
+ "props": {
28085
+ "text": "Why are you hiding this post?",
28086
+ "style": "title3"
28087
+ }
28088
+ },
28089
+ "modifiers": {
28090
+ "padding": {
28091
+ "bottom": 6
28092
+ }
28093
+ }
28094
+ },
28095
+ {
28096
+ "id": "himi_blog_post.hide_offensive",
28097
+ "body": {
28098
+ "package": "himalaya",
28099
+ "type": "HStack",
28100
+ "props": {
28101
+ "spacing": 14,
28102
+ "alignment": "center",
28103
+ "children": [
28104
+ {
28105
+ "id": "",
28106
+ "body": {
28107
+ "package": "himalaya",
28108
+ "type": "Text",
28109
+ "props": {
28110
+ "text": "It is offensive",
28111
+ "style": "body"
28112
+ }
28113
+ }
28114
+ },
28115
+ {
28116
+ "id": "",
28117
+ "body": {
28118
+ "package": "himalaya",
28119
+ "type": "Spacer",
28120
+ "props": {}
28121
+ }
28122
+ }
28123
+ ]
28124
+ }
28125
+ },
28126
+ "modifiers": {
28127
+ "onTap": {
28128
+ "actionId": "tier5.himiBlogPost.hide",
28129
+ "params": {
28130
+ "reason": "offensive"
28131
+ }
28132
+ },
28133
+ "accessibilityRole": "button",
28134
+ "accessibilityLabel": "It is offensive",
28135
+ "padding": {
28136
+ "top": 11,
28137
+ "bottom": 11
28138
+ }
28139
+ }
28140
+ },
28141
+ {
28142
+ "id": "himi_blog_post.hide_misleading",
28143
+ "body": {
28144
+ "package": "himalaya",
28145
+ "type": "HStack",
28146
+ "props": {
28147
+ "spacing": 14,
28148
+ "alignment": "center",
28149
+ "children": [
28150
+ {
28151
+ "id": "",
28152
+ "body": {
28153
+ "package": "himalaya",
28154
+ "type": "Text",
28155
+ "props": {
28156
+ "text": "It is misleading",
28157
+ "style": "body"
28158
+ }
28159
+ }
28160
+ },
28161
+ {
28162
+ "id": "",
28163
+ "body": {
28164
+ "package": "himalaya",
28165
+ "type": "Spacer",
28166
+ "props": {}
28167
+ }
28168
+ }
28169
+ ]
28170
+ }
28171
+ },
28172
+ "modifiers": {
28173
+ "onTap": {
28174
+ "actionId": "tier5.himiBlogPost.hide",
28175
+ "params": {
28176
+ "reason": "misleading"
28177
+ }
28178
+ },
28179
+ "accessibilityRole": "button",
28180
+ "accessibilityLabel": "It is misleading",
28181
+ "padding": {
28182
+ "top": 11,
28183
+ "bottom": 11
28184
+ }
28185
+ }
28186
+ },
28187
+ {
28188
+ "id": "himi_blog_post.hide_other",
28189
+ "body": {
28190
+ "package": "himalaya",
28191
+ "type": "HStack",
28192
+ "props": {
28193
+ "spacing": 14,
28194
+ "alignment": "center",
28195
+ "children": [
28196
+ {
28197
+ "id": "",
28198
+ "body": {
28199
+ "package": "himalaya",
28200
+ "type": "Text",
28201
+ "props": {
28202
+ "text": "Something else",
28203
+ "style": "body"
28204
+ }
28205
+ }
28206
+ },
28207
+ {
28208
+ "id": "",
28209
+ "body": {
28210
+ "package": "himalaya",
28211
+ "type": "Spacer",
28212
+ "props": {}
28213
+ }
28214
+ }
28215
+ ]
28216
+ }
28217
+ },
28218
+ "modifiers": {
28219
+ "onTap": {
28220
+ "actionId": "tier5.himiBlogPost.hide",
28221
+ "params": {
28222
+ "reason": "other"
28223
+ }
28224
+ },
28225
+ "accessibilityRole": "button",
28226
+ "accessibilityLabel": "Something else",
28227
+ "padding": {
28228
+ "top": 11,
28229
+ "bottom": 11
28230
+ }
28231
+ }
28232
+ },
28233
+ {
28234
+ "id": "himi_blog_post.hide_cancel",
28235
+ "body": {
28236
+ "package": "himalaya",
28237
+ "type": "Button",
28238
+ "props": {
28239
+ "title": "Cancel",
28240
+ "style": "secondary",
28241
+ "fullWidth": true,
28242
+ "action": {
28243
+ "actionId": "tier5.himiBlogPost.closeHide"
28244
+ }
28245
+ }
28246
+ },
28247
+ "modifiers": {
28248
+ "padding": {
28249
+ "top": 8
28250
+ }
28251
+ }
28252
+ }
28253
+ ]
28254
+ }
28255
+ },
28256
+ "modifiers": {
28257
+ "padding": {
28258
+ "leading": 20,
28259
+ "trailing": 20,
28260
+ "top": 12,
28261
+ "bottom": 8
28262
+ }
28263
+ }
28264
+ }
28265
+ }
28266
+ }
28267
+ },
28268
+ {
28269
+ "id": "himi_blog_post.comments_sheet",
28270
+ "body": {
28271
+ "package": "himalaya",
28272
+ "type": "BottomSheet",
28273
+ "props": {
28274
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
28275
+ "dismissible": true,
28276
+ "showGrabber": true,
28277
+ "detents": [
28278
+ 0.9
28279
+ ],
28280
+ "onDismiss": {
28281
+ "actionId": "tier5.himiBlogPost.closeComments"
28282
+ },
28283
+ "content": {
28284
+ "id": "",
28285
+ "body": {
28286
+ "package": "himalaya",
28287
+ "type": "VStack",
28288
+ "props": {
28289
+ "spacing": 12,
28290
+ "alignment": "leading",
28291
+ "children": [
28292
+ {
28293
+ "id": "",
28294
+ "body": {
28295
+ "package": "himalaya",
28296
+ "type": "HStack",
28297
+ "props": {
28298
+ "spacing": 8,
28299
+ "alignment": "center",
28300
+ "children": [
28301
+ {
28302
+ "id": "",
28303
+ "body": {
28304
+ "package": "himalaya",
28305
+ "type": "VStack",
28306
+ "props": {
28307
+ "spacing": 2,
28308
+ "alignment": "leading",
28309
+ "children": [
28310
+ {
28311
+ "id": "himi_blog_post.comments_sheet_title",
28312
+ "body": {
28313
+ "package": "himalaya",
28314
+ "type": "Text",
28315
+ "props": {
28316
+ "text": "$service:himiBlogPost.sheetTitle",
28317
+ "style": "title3"
28318
+ }
28319
+ },
28320
+ "modifiers": {
28321
+ "accessibilityRole": "heading"
28322
+ }
28323
+ },
28324
+ {
28325
+ "id": "",
28326
+ "body": {
28327
+ "package": "himalaya",
28328
+ "type": "Text",
28329
+ "props": {
28330
+ "text": "$service:himiBlogPost.title",
28331
+ "style": "footnote",
28332
+ "color": "textSecondary",
28333
+ "maxLines": 1,
28334
+ "collapseWhenEmpty": true
28335
+ }
28336
+ }
28337
+ }
28338
+ ]
28339
+ }
28340
+ }
28341
+ },
28342
+ {
28343
+ "id": "",
28344
+ "body": {
28345
+ "package": "himalaya",
28346
+ "type": "Spacer",
28347
+ "props": {}
28348
+ }
28349
+ },
28350
+ {
28351
+ "id": "himi_blog_post.comments_close",
28352
+ "body": {
28353
+ "package": "himalaya",
28354
+ "type": "Icon",
28355
+ "props": {
28356
+ "name": "chevron_down",
28357
+ "size": 22,
28358
+ "tint": "textPrimary"
28359
+ }
28360
+ },
28361
+ "modifiers": {
28362
+ "accessibilityRole": "button",
28363
+ "onTap": {
28364
+ "actionId": "tier5.himiBlogPost.closeComments"
28365
+ },
28366
+ "accessibilityLabel": "Close comments",
28367
+ "padding": {
28368
+ "leading": 11,
28369
+ "trailing": 11,
28370
+ "top": 11,
28371
+ "bottom": 11
28372
+ }
28373
+ }
28374
+ }
28375
+ ]
28376
+ }
28377
+ }
28378
+ },
28379
+ {
28380
+ "id": "",
28381
+ "body": {
28382
+ "package": "himalaya",
28383
+ "type": "Text",
28384
+ "props": {
28385
+ "text": "$service:himiBlogPost.commentStatusText",
28386
+ "style": "footnote",
28387
+ "color": "textSecondary"
28388
+ }
28389
+ },
28390
+ "modifiers": {
28391
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
28392
+ }
28393
+ },
28394
+ {
28395
+ "id": "",
28396
+ "body": {
28397
+ "package": "himalaya",
28398
+ "type": "VStack",
28399
+ "props": {
28400
+ "spacing": 4,
28401
+ "alignment": "leading",
28402
+ "children": [
28403
+ {
28404
+ "id": "",
28405
+ "body": {
28406
+ "package": "himalaya",
28407
+ "type": "Text",
28408
+ "props": {
28409
+ "text": "No comments yet",
28410
+ "style": "bodyEmphasis"
28411
+ }
28412
+ }
28413
+ },
28414
+ {
28415
+ "id": "",
28416
+ "body": {
28417
+ "package": "himalaya",
28418
+ "type": "Text",
28419
+ "props": {
28420
+ "text": "Be the first to share your thoughts.",
28421
+ "style": "footnote",
28422
+ "color": "textSecondary"
28423
+ }
28424
+ }
28425
+ }
28426
+ ]
28427
+ }
28428
+ },
28429
+ "modifiers": {
28430
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
28431
+ }
28432
+ },
28433
+ {
28434
+ "id": "himi_blog_post.sheet_comments",
28435
+ "body": {
28436
+ "package": "himalaya",
28437
+ "type": "LazyList",
28438
+ "props": {
28439
+ "spacing": 4,
28440
+ "itemsPath": "$service:himiBlogPost.comments",
28441
+ "items": [
28442
+ {
28443
+ "id": "himi_blog_post.sheet_comment_row",
28444
+ "body": {
28445
+ "package": "himalaya",
28446
+ "type": "VStack",
28447
+ "props": {
28448
+ "spacing": 0,
28449
+ "alignment": "leading",
28450
+ "children": [
28451
+ {
28452
+ "id": "",
28453
+ "body": {
28454
+ "package": "himalaya",
28455
+ "type": "VStack",
28456
+ "props": {
28457
+ "spacing": 0,
28458
+ "alignment": "leading",
28459
+ "children": [
28460
+ {
28461
+ "id": "",
28462
+ "body": {
28463
+ "package": "himalaya",
28464
+ "type": "HStack",
28465
+ "props": {
28466
+ "spacing": 10,
28467
+ "alignment": "leading",
28468
+ "children": [
28469
+ {
28470
+ "id": "himi_blog_post.comment_avatar.photo",
28471
+ "body": {
28472
+ "package": "himalaya",
28473
+ "type": "Image",
28474
+ "props": {
28475
+ "url": "$item.authorPhoto",
28476
+ "width": 32,
28477
+ "height": 32,
28478
+ "contentMode": "fill",
28479
+ "shape": "circle"
28480
+ }
28481
+ },
28482
+ "modifiers": {
28483
+ "accessibilityRole": "decorative",
28484
+ "hiddenPath": "$item.noAuthorPhoto"
28485
+ }
28486
+ },
28487
+ {
28488
+ "id": "",
28489
+ "body": {
28490
+ "package": "himalaya",
28491
+ "type": "ZStack",
28492
+ "props": {
28493
+ "alignment": "center",
28494
+ "children": [
28495
+ {
28496
+ "id": "",
28497
+ "body": {
28498
+ "package": "himalaya",
28499
+ "type": "Text",
28500
+ "props": {
28501
+ "text": "$item.authorInitial",
28502
+ "style": "footnote",
28503
+ "color": "accentPrimary",
28504
+ "collapseWhenEmpty": true
28505
+ }
28506
+ }
28507
+ }
28508
+ ]
28509
+ }
28510
+ },
28511
+ "modifiers": {
28512
+ "width": 32,
28513
+ "height": 32,
28514
+ "background": {
28515
+ "token": "accentSurface"
28516
+ },
28517
+ "cornerRadius": 16,
28518
+ "accessibilityRole": "decorative",
28519
+ "hiddenPath": "$item.hasAuthorPhoto"
28520
+ }
28521
+ },
28522
+ {
28523
+ "id": "",
28524
+ "body": {
28525
+ "package": "himalaya",
28526
+ "type": "VStack",
28527
+ "props": {
28528
+ "spacing": 4,
28529
+ "alignment": "leading",
28530
+ "children": [
28531
+ {
28532
+ "id": "",
28533
+ "body": {
28534
+ "package": "himalaya",
28535
+ "type": "HStack",
28536
+ "props": {
28537
+ "spacing": 6,
28538
+ "alignment": "center",
28539
+ "children": [
28540
+ {
28541
+ "id": "",
28542
+ "body": {
28543
+ "package": "himalaya",
28544
+ "type": "Text",
28545
+ "props": {
28546
+ "text": "$item.authorName",
28547
+ "style": "footnote",
28548
+ "maxLines": 1
28549
+ }
28550
+ }
28551
+ },
28552
+ {
28553
+ "id": "",
28554
+ "body": {
28555
+ "package": "himalaya",
28556
+ "type": "Text",
28557
+ "props": {
28558
+ "text": "$item.meta",
28559
+ "style": "caption",
28560
+ "color": "textTertiary",
28561
+ "maxLines": 1,
28562
+ "collapseWhenEmpty": true
28563
+ }
28564
+ }
28565
+ },
28566
+ {
28567
+ "id": "",
28568
+ "body": {
28569
+ "package": "himalaya",
28570
+ "type": "Spacer",
28571
+ "props": {}
28572
+ }
28573
+ },
28574
+ {
28575
+ "id": "",
28576
+ "body": {
28577
+ "package": "himalaya",
28578
+ "type": "HStack",
28579
+ "props": {
28580
+ "spacing": 0,
28581
+ "alignment": "center",
28582
+ "children": [
28583
+ {
28584
+ "id": "himi_blog_post.reply_menu",
28585
+ "body": {
28586
+ "package": "himalaya",
28587
+ "type": "Menu",
28588
+ "props": {
28589
+ "anchor": {
28590
+ "id": "",
28591
+ "body": {
28592
+ "package": "himalaya",
28593
+ "type": "Icon",
28594
+ "props": {
28595
+ "name": "more_vertical",
28596
+ "size": 18,
28597
+ "tint": "textSecondary"
28598
+ }
28599
+ },
28600
+ "modifiers": {
28601
+ "accessibilityRole": "button",
28602
+ "accessibilityLabel": "Comment actions",
28603
+ "padding": {
28604
+ "leading": 13,
28605
+ "trailing": 13,
28606
+ "top": 4,
28607
+ "bottom": 4
28608
+ }
28609
+ }
28610
+ },
28611
+ "style": "dropdown",
28612
+ "items": [
28613
+ {
28614
+ "id": "report",
28615
+ "label": "Report",
28616
+ "icon": "warning",
28617
+ "action": {
28618
+ "actionId": "tier5.himiBlogPost.reportComment",
28619
+ "params": {
28620
+ "id": "$item.id"
28621
+ }
28622
+ }
28623
+ }
28624
+ ]
28625
+ }
28626
+ }
28627
+ }
28628
+ ]
28629
+ }
28630
+ },
28631
+ "modifiers": {
28632
+ "hiddenPath": "$item.noReport"
28633
+ }
28634
+ }
28635
+ ]
28636
+ }
28637
+ }
28638
+ },
28639
+ {
28640
+ "id": "",
28641
+ "body": {
28642
+ "package": "himalaya",
28643
+ "type": "VStack",
28644
+ "props": {
28645
+ "spacing": 0,
28646
+ "alignment": "leading",
28647
+ "children": [
28648
+ {
28649
+ "id": "reply_body_$item.id",
28650
+ "body": {
28651
+ "package": "himalaya",
28652
+ "type": "RichContent",
28653
+ "props": {
28654
+ "documentJsonPath": "$item.bodyJson",
28655
+ "onLink": {
28656
+ "actionId": "tier5.himiBlogPost.openLink"
28657
+ },
28658
+ "fallback": {
28659
+ "id": "",
28660
+ "body": {
28661
+ "package": "himalaya",
28662
+ "type": "Text",
28663
+ "props": {
28664
+ "text": "$item.text",
28665
+ "style": "body",
28666
+ "collapseWhenEmpty": true
28667
+ }
28668
+ }
28669
+ }
28670
+ }
28671
+ }
28672
+ },
28673
+ {
28674
+ "id": "reply_body_text_$item.id",
28675
+ "body": {
28676
+ "package": "himalaya",
28677
+ "type": "Text",
28678
+ "props": {
28679
+ "text": "$item.text",
28680
+ "style": "body",
28681
+ "collapseWhenEmpty": true
28682
+ }
28683
+ },
28684
+ "modifiers": {
28685
+ "hiddenPath": "$item.hasBodyJson"
28686
+ }
28687
+ }
28688
+ ]
28689
+ }
28690
+ }
28691
+ },
28692
+ {
28693
+ "id": "",
28694
+ "body": {
28695
+ "package": "himalaya",
28696
+ "type": "HStack",
28697
+ "props": {
28698
+ "spacing": 12,
28699
+ "alignment": "center",
28700
+ "children": [
28701
+ {
28702
+ "id": "",
28703
+ "body": {
28704
+ "package": "himalaya",
28705
+ "type": "HStack",
28706
+ "props": {
28707
+ "spacing": 0,
28708
+ "alignment": "center",
28709
+ "children": [
28710
+ {
28711
+ "id": "himi_blog_post.comment_like",
28712
+ "body": {
28713
+ "package": "himalaya",
28714
+ "type": "HStack",
28715
+ "props": {
28716
+ "spacing": 4,
28717
+ "alignment": "center",
28718
+ "children": [
28719
+ {
28720
+ "id": "",
28721
+ "body": {
28722
+ "package": "himalaya",
28723
+ "type": "Icon",
28724
+ "props": {
28725
+ "name": "heart",
28726
+ "size": 14,
28727
+ "tint": "textSecondary"
28728
+ }
28729
+ },
28730
+ "modifiers": {
28731
+ "accessibilityRole": "decorative"
28732
+ }
28733
+ },
28734
+ {
28735
+ "id": "",
28736
+ "body": {
28737
+ "package": "himalaya",
28738
+ "type": "Text",
28739
+ "props": {
28740
+ "text": "$item.likes",
28741
+ "style": "caption",
28742
+ "color": "textSecondary",
28743
+ "monospacedDigits": true
28744
+ }
28745
+ }
28746
+ }
28747
+ ]
28748
+ }
28749
+ },
28750
+ "modifiers": {
28751
+ "border": {
28752
+ "width": 1,
28753
+ "color": {
28754
+ "token": "border"
28755
+ }
28756
+ },
28757
+ "cornerRadius": 999,
28758
+ "padding": {
28759
+ "leading": 10,
28760
+ "trailing": 10,
28761
+ "top": 4,
28762
+ "bottom": 4
28763
+ },
28764
+ "onTap": {
28765
+ "actionId": "tier5.himiBlogPost.likeComment",
28766
+ "params": {
28767
+ "id": "$item.id"
28768
+ }
28769
+ },
28770
+ "pressFeedback": "scale",
28771
+ "haptic": "light",
28772
+ "accessibilityRole": "button",
28773
+ "accessibilityLabel": "Like",
28774
+ "hiddenPath": "$item.liked"
28775
+ }
28776
+ },
28777
+ {
28778
+ "id": "himi_blog_post.comment_unlike",
28779
+ "body": {
28780
+ "package": "himalaya",
28781
+ "type": "HStack",
28782
+ "props": {
28783
+ "spacing": 4,
28784
+ "alignment": "center",
28785
+ "children": [
28786
+ {
28787
+ "id": "",
28788
+ "body": {
28789
+ "package": "himalaya",
28790
+ "type": "Icon",
28791
+ "props": {
28792
+ "name": "heart_fill",
28793
+ "size": 14,
28794
+ "tint": "danger"
28795
+ }
28796
+ },
28797
+ "modifiers": {
28798
+ "accessibilityRole": "decorative"
28799
+ }
28800
+ },
28801
+ {
28802
+ "id": "",
28803
+ "body": {
28804
+ "package": "himalaya",
28805
+ "type": "Text",
28806
+ "props": {
28807
+ "text": "$item.likes",
28808
+ "style": "caption",
28809
+ "color": "danger",
28810
+ "monospacedDigits": true
28811
+ }
28812
+ }
28813
+ }
28814
+ ]
28815
+ }
28816
+ },
28817
+ "modifiers": {
28818
+ "background": {
28819
+ "token": "dangerSurface"
28820
+ },
28821
+ "cornerRadius": 999,
28822
+ "padding": {
28823
+ "leading": 10,
28824
+ "trailing": 10,
28825
+ "top": 4,
28826
+ "bottom": 4
28827
+ },
28828
+ "onTap": {
28829
+ "actionId": "tier5.himiBlogPost.unlikeComment",
28830
+ "params": {
28831
+ "id": "$item.id"
28832
+ }
28833
+ },
28834
+ "pressFeedback": "scale",
28835
+ "haptic": "light",
28836
+ "accessibilityRole": "button",
28837
+ "accessibilityLabel": "Unlike",
28838
+ "hiddenPath": "$item.notLiked"
28839
+ }
28840
+ }
28841
+ ]
28842
+ }
28843
+ },
28844
+ "modifiers": {
28845
+ "hiddenPath": "$item.noLikes"
28846
+ }
28847
+ },
28848
+ {
28849
+ "id": "",
28850
+ "body": {
28851
+ "package": "himalaya",
28852
+ "type": "HStack",
28853
+ "props": {
28854
+ "spacing": 0,
28855
+ "alignment": "center",
28856
+ "children": [
28857
+ {
28858
+ "id": "himi_blog_post.comment_reply",
28859
+ "body": {
28860
+ "package": "himalaya",
28861
+ "type": "Text",
28862
+ "props": {
28863
+ "text": "Reply",
28864
+ "style": "caption",
28865
+ "color": "textSecondary"
28866
+ }
28867
+ },
28868
+ "modifiers": {
28869
+ "onTap": {
28870
+ "actionId": "tier5.himiBlogPost.replyTo",
28871
+ "params": {
28872
+ "id": "$item.id"
28873
+ }
28874
+ },
28875
+ "accessibilityRole": "button",
28876
+ "padding": {
28877
+ "top": 4,
28878
+ "bottom": 4,
28879
+ "leading": 4,
28880
+ "trailing": 4
28881
+ },
28882
+ "hiddenPath": "$item.noReply"
28883
+ }
28884
+ }
28885
+ ]
28886
+ }
28887
+ },
28888
+ "modifiers": {
28889
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
28890
+ }
28891
+ },
28892
+ {
28893
+ "id": "",
28894
+ "body": {
28895
+ "package": "himalaya",
28896
+ "type": "Spacer",
28897
+ "props": {}
28898
+ }
28899
+ }
28900
+ ]
28901
+ }
28902
+ }
28903
+ }
28904
+ ]
28905
+ }
28906
+ },
28907
+ "modifiers": {
28908
+ "weight": 1
28909
+ }
28910
+ }
28911
+ ]
28912
+ }
28913
+ },
28914
+ "modifiers": {
28915
+ "fillMaxWidth": true
28916
+ }
28917
+ }
28918
+ ]
28919
+ }
28920
+ },
28921
+ "modifiers": {
28922
+ "padding": {
28923
+ "leading": 42
28924
+ },
28925
+ "hiddenPath": "$item.notReply"
28926
+ }
28927
+ },
28928
+ {
28929
+ "id": "",
28930
+ "body": {
28931
+ "package": "himalaya",
28932
+ "type": "HStack",
28933
+ "props": {
28934
+ "spacing": 10,
28935
+ "alignment": "leading",
28936
+ "children": [
28937
+ {
28938
+ "id": "himi_blog_post.comment_avatar.photo",
28939
+ "body": {
28940
+ "package": "himalaya",
28941
+ "type": "Image",
28942
+ "props": {
28943
+ "url": "$item.authorPhoto",
28944
+ "width": 32,
28945
+ "height": 32,
28946
+ "contentMode": "fill",
28947
+ "shape": "circle"
28948
+ }
28949
+ },
28950
+ "modifiers": {
28951
+ "accessibilityRole": "decorative",
28952
+ "hiddenPath": "$item.noAuthorPhoto"
28953
+ }
28954
+ },
28955
+ {
28956
+ "id": "",
28957
+ "body": {
28958
+ "package": "himalaya",
28959
+ "type": "ZStack",
28960
+ "props": {
28961
+ "alignment": "center",
28962
+ "children": [
28963
+ {
28964
+ "id": "",
28965
+ "body": {
28966
+ "package": "himalaya",
28967
+ "type": "Text",
28968
+ "props": {
28969
+ "text": "$item.authorInitial",
28970
+ "style": "footnote",
28971
+ "color": "accentPrimary",
28972
+ "collapseWhenEmpty": true
28973
+ }
28974
+ }
28975
+ }
28976
+ ]
28977
+ }
28978
+ },
28979
+ "modifiers": {
28980
+ "width": 32,
28981
+ "height": 32,
28982
+ "background": {
28983
+ "token": "accentSurface"
28984
+ },
28985
+ "cornerRadius": 16,
28986
+ "accessibilityRole": "decorative",
28987
+ "hiddenPath": "$item.hasAuthorPhoto"
28988
+ }
28989
+ },
28990
+ {
28991
+ "id": "",
28992
+ "body": {
28993
+ "package": "himalaya",
28994
+ "type": "VStack",
28995
+ "props": {
28996
+ "spacing": 4,
28997
+ "alignment": "leading",
28998
+ "children": [
28999
+ {
29000
+ "id": "",
29001
+ "body": {
29002
+ "package": "himalaya",
29003
+ "type": "HStack",
29004
+ "props": {
29005
+ "spacing": 6,
29006
+ "alignment": "center",
29007
+ "children": [
29008
+ {
29009
+ "id": "",
29010
+ "body": {
29011
+ "package": "himalaya",
29012
+ "type": "Text",
29013
+ "props": {
29014
+ "text": "$item.authorName",
29015
+ "style": "footnote",
29016
+ "maxLines": 1
29017
+ }
29018
+ }
29019
+ },
29020
+ {
29021
+ "id": "",
29022
+ "body": {
29023
+ "package": "himalaya",
29024
+ "type": "Text",
29025
+ "props": {
29026
+ "text": "$item.meta",
29027
+ "style": "caption",
29028
+ "color": "textTertiary",
29029
+ "maxLines": 1,
29030
+ "collapseWhenEmpty": true
29031
+ }
29032
+ }
29033
+ },
29034
+ {
29035
+ "id": "",
29036
+ "body": {
29037
+ "package": "himalaya",
29038
+ "type": "Spacer",
29039
+ "props": {}
29040
+ }
29041
+ },
29042
+ {
29043
+ "id": "",
29044
+ "body": {
29045
+ "package": "himalaya",
29046
+ "type": "HStack",
29047
+ "props": {
29048
+ "spacing": 0,
29049
+ "alignment": "center",
29050
+ "children": [
29051
+ {
29052
+ "id": "himi_blog_post.comment_menu",
29053
+ "body": {
29054
+ "package": "himalaya",
29055
+ "type": "Menu",
29056
+ "props": {
29057
+ "anchor": {
29058
+ "id": "",
29059
+ "body": {
29060
+ "package": "himalaya",
29061
+ "type": "Icon",
29062
+ "props": {
29063
+ "name": "more_vertical",
29064
+ "size": 18,
29065
+ "tint": "textSecondary"
29066
+ }
29067
+ },
29068
+ "modifiers": {
29069
+ "accessibilityRole": "button",
29070
+ "accessibilityLabel": "Comment actions",
29071
+ "padding": {
29072
+ "leading": 13,
29073
+ "trailing": 13,
29074
+ "top": 4,
29075
+ "bottom": 4
29076
+ }
29077
+ }
29078
+ },
29079
+ "style": "dropdown",
29080
+ "items": [
29081
+ {
29082
+ "id": "report",
29083
+ "label": "Report",
29084
+ "icon": "warning",
29085
+ "action": {
29086
+ "actionId": "tier5.himiBlogPost.reportComment",
29087
+ "params": {
29088
+ "id": "$item.id"
29089
+ }
29090
+ }
29091
+ }
29092
+ ]
29093
+ }
29094
+ }
29095
+ }
29096
+ ]
29097
+ }
29098
+ },
29099
+ "modifiers": {
29100
+ "hiddenPath": "$item.noReport"
29101
+ }
29102
+ }
29103
+ ]
29104
+ }
29105
+ }
29106
+ },
29107
+ {
29108
+ "id": "",
29109
+ "body": {
29110
+ "package": "himalaya",
29111
+ "type": "VStack",
29112
+ "props": {
29113
+ "spacing": 0,
29114
+ "alignment": "leading",
29115
+ "children": [
29116
+ {
29117
+ "id": "comment_body_$item.id",
29118
+ "body": {
29119
+ "package": "himalaya",
29120
+ "type": "RichContent",
29121
+ "props": {
29122
+ "documentJsonPath": "$item.bodyJson",
29123
+ "onLink": {
29124
+ "actionId": "tier5.himiBlogPost.openLink"
29125
+ },
29126
+ "fallback": {
29127
+ "id": "",
29128
+ "body": {
29129
+ "package": "himalaya",
29130
+ "type": "Text",
29131
+ "props": {
29132
+ "text": "$item.text",
29133
+ "style": "body",
29134
+ "collapseWhenEmpty": true
29135
+ }
29136
+ }
29137
+ }
29138
+ }
29139
+ }
29140
+ },
29141
+ {
29142
+ "id": "comment_body_text_$item.id",
29143
+ "body": {
29144
+ "package": "himalaya",
29145
+ "type": "Text",
29146
+ "props": {
29147
+ "text": "$item.text",
29148
+ "style": "body",
29149
+ "collapseWhenEmpty": true
29150
+ }
29151
+ },
29152
+ "modifiers": {
29153
+ "hiddenPath": "$item.hasBodyJson"
29154
+ }
29155
+ }
29156
+ ]
29157
+ }
29158
+ }
29159
+ },
29160
+ {
29161
+ "id": "",
29162
+ "body": {
29163
+ "package": "himalaya",
29164
+ "type": "HStack",
29165
+ "props": {
29166
+ "spacing": 12,
29167
+ "alignment": "center",
29168
+ "children": [
29169
+ {
29170
+ "id": "",
29171
+ "body": {
29172
+ "package": "himalaya",
29173
+ "type": "HStack",
29174
+ "props": {
29175
+ "spacing": 0,
29176
+ "alignment": "center",
29177
+ "children": [
29178
+ {
29179
+ "id": "himi_blog_post.comment_like",
29180
+ "body": {
29181
+ "package": "himalaya",
29182
+ "type": "HStack",
29183
+ "props": {
29184
+ "spacing": 4,
29185
+ "alignment": "center",
29186
+ "children": [
29187
+ {
29188
+ "id": "",
29189
+ "body": {
29190
+ "package": "himalaya",
29191
+ "type": "Icon",
29192
+ "props": {
29193
+ "name": "heart",
29194
+ "size": 14,
29195
+ "tint": "textSecondary"
29196
+ }
29197
+ },
29198
+ "modifiers": {
29199
+ "accessibilityRole": "decorative"
29200
+ }
29201
+ },
29202
+ {
29203
+ "id": "",
29204
+ "body": {
29205
+ "package": "himalaya",
29206
+ "type": "Text",
29207
+ "props": {
29208
+ "text": "$item.likes",
29209
+ "style": "caption",
29210
+ "color": "textSecondary",
29211
+ "monospacedDigits": true
29212
+ }
29213
+ }
29214
+ }
29215
+ ]
29216
+ }
29217
+ },
29218
+ "modifiers": {
29219
+ "border": {
29220
+ "width": 1,
29221
+ "color": {
29222
+ "token": "border"
29223
+ }
29224
+ },
29225
+ "cornerRadius": 999,
29226
+ "padding": {
29227
+ "leading": 10,
29228
+ "trailing": 10,
29229
+ "top": 4,
29230
+ "bottom": 4
29231
+ },
29232
+ "onTap": {
29233
+ "actionId": "tier5.himiBlogPost.likeComment",
29234
+ "params": {
29235
+ "id": "$item.id"
29236
+ }
29237
+ },
29238
+ "pressFeedback": "scale",
29239
+ "haptic": "light",
29240
+ "accessibilityRole": "button",
29241
+ "accessibilityLabel": "Like",
29242
+ "hiddenPath": "$item.liked"
29243
+ }
29244
+ },
29245
+ {
29246
+ "id": "himi_blog_post.comment_unlike",
29247
+ "body": {
29248
+ "package": "himalaya",
29249
+ "type": "HStack",
29250
+ "props": {
29251
+ "spacing": 4,
29252
+ "alignment": "center",
29253
+ "children": [
29254
+ {
29255
+ "id": "",
29256
+ "body": {
29257
+ "package": "himalaya",
29258
+ "type": "Icon",
29259
+ "props": {
29260
+ "name": "heart_fill",
29261
+ "size": 14,
29262
+ "tint": "danger"
29263
+ }
29264
+ },
29265
+ "modifiers": {
29266
+ "accessibilityRole": "decorative"
29267
+ }
29268
+ },
29269
+ {
29270
+ "id": "",
29271
+ "body": {
29272
+ "package": "himalaya",
29273
+ "type": "Text",
29274
+ "props": {
29275
+ "text": "$item.likes",
29276
+ "style": "caption",
29277
+ "color": "danger",
29278
+ "monospacedDigits": true
29279
+ }
29280
+ }
29281
+ }
29282
+ ]
29283
+ }
29284
+ },
29285
+ "modifiers": {
29286
+ "background": {
29287
+ "token": "dangerSurface"
29288
+ },
29289
+ "cornerRadius": 999,
29290
+ "padding": {
29291
+ "leading": 10,
29292
+ "trailing": 10,
29293
+ "top": 4,
29294
+ "bottom": 4
29295
+ },
29296
+ "onTap": {
29297
+ "actionId": "tier5.himiBlogPost.unlikeComment",
29298
+ "params": {
29299
+ "id": "$item.id"
29300
+ }
29301
+ },
29302
+ "pressFeedback": "scale",
29303
+ "haptic": "light",
29304
+ "accessibilityRole": "button",
29305
+ "accessibilityLabel": "Unlike",
29306
+ "hiddenPath": "$item.notLiked"
29307
+ }
29308
+ }
29309
+ ]
29310
+ }
29311
+ },
29312
+ "modifiers": {
29313
+ "hiddenPath": "$item.noLikes"
29314
+ }
29315
+ },
29316
+ {
29317
+ "id": "",
29318
+ "body": {
29319
+ "package": "himalaya",
29320
+ "type": "HStack",
29321
+ "props": {
29322
+ "spacing": 0,
29323
+ "alignment": "center",
29324
+ "children": [
29325
+ {
29326
+ "id": "himi_blog_post.comment_reply",
29327
+ "body": {
29328
+ "package": "himalaya",
29329
+ "type": "Text",
29330
+ "props": {
29331
+ "text": "Reply",
29332
+ "style": "caption",
29333
+ "color": "textSecondary"
29334
+ }
29335
+ },
29336
+ "modifiers": {
29337
+ "onTap": {
29338
+ "actionId": "tier5.himiBlogPost.replyTo",
29339
+ "params": {
29340
+ "id": "$item.id"
29341
+ }
29342
+ },
29343
+ "accessibilityRole": "button",
29344
+ "padding": {
29345
+ "top": 4,
29346
+ "bottom": 4,
29347
+ "leading": 4,
29348
+ "trailing": 4
29349
+ },
29350
+ "hiddenPath": "$item.noReply"
29351
+ }
29352
+ }
29353
+ ]
29354
+ }
29355
+ },
29356
+ "modifiers": {
29357
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
29358
+ }
29359
+ },
29360
+ {
29361
+ "id": "",
29362
+ "body": {
29363
+ "package": "himalaya",
29364
+ "type": "Spacer",
29365
+ "props": {}
29366
+ }
29367
+ }
29368
+ ]
29369
+ }
29370
+ }
29371
+ }
29372
+ ]
29373
+ }
29374
+ },
29375
+ "modifiers": {
29376
+ "weight": 1
29377
+ }
29378
+ }
29379
+ ]
29380
+ }
29381
+ },
29382
+ "modifiers": {
29383
+ "fillMaxWidth": true,
29384
+ "hiddenPath": "$item.isReply"
27474
29385
  }
27475
29386
  }
27476
- }
27477
- }
27478
- },
27479
- {
27480
- "id": "",
27481
- "body": {
27482
- "package": "himalaya",
27483
- "type": "Spacer",
27484
- "props": {}
27485
- }
27486
- }
27487
- ]
27488
- }
27489
- },
27490
- "modifiers": {
27491
- "padding": {
27492
- "top": 12,
27493
- "bottom": 8
27494
- }
27495
- }
27496
- }
27497
- ]
27498
- }
27499
- },
27500
- "modifiers": {
27501
- "hiddenPath": "$service:himiBlogPost.noRecent"
27502
- }
27503
- }
27504
- ]
27505
- }
27506
- },
27507
- "modifiers": {
27508
- "hiddenPath": "$service:himiBlogPost.noPost"
27509
- }
27510
- },
27511
- {
27512
- "id": "himi_blog_post.more_sheet",
27513
- "body": {
27514
- "package": "himalaya",
27515
- "type": "BottomSheet",
27516
- "props": {
27517
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
27518
- "dismissible": true,
27519
- "showGrabber": true,
27520
- "onDismiss": {
27521
- "actionId": "tier5.himiBlogPost.closeMore"
27522
- },
27523
- "content": {
27524
- "id": "",
27525
- "body": {
27526
- "package": "himalaya",
27527
- "type": "VStack",
27528
- "props": {
27529
- "spacing": 0,
27530
- "alignment": "leading",
27531
- "children": [
27532
- {
27533
- "id": "himi_blog_post.report",
27534
- "body": {
27535
- "package": "himalaya",
27536
- "type": "HStack",
27537
- "props": {
27538
- "spacing": 14,
27539
- "children": [
27540
- {
27541
- "id": "",
27542
- "body": {
27543
- "package": "himalaya",
27544
- "type": "Icon",
27545
- "props": {
27546
- "name": "warning",
27547
- "size": 22,
27548
- "tint": "textPrimary"
27549
- }
27550
- },
27551
- "modifiers": {
27552
- "accessibilityRole": "decorative"
27553
- }
27554
- },
27555
- {
27556
- "id": "",
27557
- "body": {
27558
- "package": "himalaya",
27559
- "type": "Text",
27560
- "props": {
27561
- "text": "Report",
27562
- "style": "body"
27563
- }
27564
- }
27565
- },
27566
- {
27567
- "id": "",
27568
- "body": {
27569
- "package": "himalaya",
27570
- "type": "Spacer",
27571
- "props": {}
27572
- }
27573
- }
27574
- ]
27575
- }
27576
- },
27577
- "modifiers": {
27578
- "onTap": {
27579
- "actionId": "tier5.himiBlogPost.report"
27580
- },
27581
- "accessibilityRole": "button",
27582
- "accessibilityLabel": "Report",
27583
- "padding": {
27584
- "top": 11,
27585
- "bottom": 11
27586
- },
27587
- "hiddenPath": "$service:himiBlogPost.reported"
27588
- }
27589
- },
27590
- {
27591
- "id": "himi_blog_post.hide",
27592
- "body": {
27593
- "package": "himalaya",
27594
- "type": "HStack",
27595
- "props": {
27596
- "spacing": 14,
27597
- "children": [
27598
- {
27599
- "id": "",
27600
- "body": {
27601
- "package": "himalaya",
27602
- "type": "Icon",
27603
- "props": {
27604
- "name": "concealed",
27605
- "size": 22,
27606
- "tint": "textPrimary"
27607
- }
27608
- },
27609
- "modifiers": {
27610
- "accessibilityRole": "decorative"
27611
- }
27612
- },
27613
- {
27614
- "id": "",
27615
- "body": {
27616
- "package": "himalaya",
27617
- "type": "Text",
27618
- "props": {
27619
- "text": "Hide post",
27620
- "style": "body"
27621
- }
27622
- }
27623
- },
27624
- {
27625
- "id": "",
27626
- "body": {
27627
- "package": "himalaya",
27628
- "type": "Spacer",
27629
- "props": {}
27630
- }
27631
- }
27632
- ]
27633
- }
27634
- },
27635
- "modifiers": {
27636
- "onTap": {
27637
- "actionId": "tier5.himiBlogPost.openHide"
27638
- },
27639
- "accessibilityRole": "button",
27640
- "accessibilityLabel": "Hide post",
27641
- "padding": {
27642
- "top": 11,
27643
- "bottom": 11
27644
- },
27645
- "hiddenPath": "$service:himiBlogPost.hidden"
27646
- }
27647
- },
27648
- {
27649
- "id": "himi_blog_post.unhide",
27650
- "body": {
27651
- "package": "himalaya",
27652
- "type": "HStack",
27653
- "props": {
27654
- "spacing": 14,
27655
- "children": [
27656
- {
27657
- "id": "",
27658
- "body": {
27659
- "package": "himalaya",
27660
- "type": "Icon",
27661
- "props": {
27662
- "name": "visible",
27663
- "size": 22,
27664
- "tint": "textPrimary"
29387
+ ]
27665
29388
  }
27666
29389
  },
27667
29390
  "modifiers": {
27668
- "accessibilityRole": "decorative"
27669
- }
27670
- },
27671
- {
27672
- "id": "",
27673
- "body": {
27674
- "package": "himalaya",
27675
- "type": "Text",
27676
- "props": {
27677
- "text": "Undo hide",
27678
- "style": "body"
29391
+ "backgroundColorPath": "$item.rowBackground",
29392
+ "cornerRadius": 12,
29393
+ "padding": {
29394
+ "leading": 8,
29395
+ "trailing": 8,
29396
+ "top": 8,
29397
+ "bottom": 8
27679
29398
  }
27680
29399
  }
27681
- },
27682
- {
27683
- "id": "",
27684
- "body": {
27685
- "package": "himalaya",
27686
- "type": "Spacer",
27687
- "props": {}
27688
- }
27689
29400
  }
27690
- ]
27691
- }
27692
- },
27693
- "modifiers": {
27694
- "onTap": {
27695
- "actionId": "tier5.himiBlogPost.unhide"
27696
- },
27697
- "accessibilityRole": "button",
27698
- "accessibilityLabel": "Undo hide",
27699
- "padding": {
27700
- "top": 11,
27701
- "bottom": 11
27702
- },
27703
- "hiddenPath": "$service:himiBlogPost.notHidden"
27704
- }
27705
- }
27706
- ]
27707
- }
27708
- },
27709
- "modifiers": {
27710
- "padding": {
27711
- "leading": 20,
27712
- "trailing": 20,
27713
- "top": 0,
27714
- "bottom": 8
27715
- }
27716
- }
27717
- }
27718
- }
27719
- }
27720
- },
27721
- {
27722
- "id": "himi_blog_post.hide_sheet",
27723
- "body": {
27724
- "package": "himalaya",
27725
- "type": "BottomSheet",
27726
- "props": {
27727
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
27728
- "dismissible": true,
27729
- "showGrabber": true,
27730
- "onDismiss": {
27731
- "actionId": "tier5.himiBlogPost.closeHide"
29401
+ ],
29402
+ "pagination": {
29403
+ "cursor": "$service:himiBlogPost.commentsCursor",
29404
+ "onLoadMore": {
29405
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
29406
+ },
29407
+ "pageSize": 20
29408
+ }
29409
+ }
29410
+ }
29411
+ }
29412
+ ]
29413
+ }
29414
+ }
27732
29415
  },
27733
- "content": {
27734
- "id": "",
29416
+ "footer": {
29417
+ "id": "himi_blog_post.comment_composer",
27735
29418
  "body": {
27736
29419
  "package": "himalaya",
27737
29420
  "type": "VStack",
27738
29421
  "props": {
27739
- "spacing": 0,
29422
+ "spacing": 6,
27740
29423
  "alignment": "leading",
27741
29424
  "children": [
27742
29425
  {
27743
29426
  "id": "",
27744
- "body": {
27745
- "package": "himalaya",
27746
- "type": "Text",
27747
- "props": {
27748
- "text": "Why are you hiding this post?",
27749
- "style": "title3"
27750
- }
27751
- },
27752
- "modifiers": {
27753
- "padding": {
27754
- "bottom": 6
27755
- }
27756
- }
27757
- },
27758
- {
27759
- "id": "himi_blog_post.hide_offensive",
27760
29427
  "body": {
27761
29428
  "package": "himalaya",
27762
29429
  "type": "HStack",
27763
29430
  "props": {
27764
- "spacing": 14,
29431
+ "spacing": 8,
29432
+ "alignment": "center",
27765
29433
  "children": [
27766
29434
  {
27767
29435
  "id": "",
27768
29436
  "body": {
27769
29437
  "package": "himalaya",
27770
- "type": "Icon",
29438
+ "type": "Text",
27771
29439
  "props": {
27772
- "name": "chevron_right",
27773
- "size": 22,
27774
- "tint": "textPrimary"
29440
+ "text": "$service:himiBlogPost.replyingLine",
29441
+ "style": "footnote",
29442
+ "color": "textSecondary",
29443
+ "maxLines": 1
27775
29444
  }
27776
- },
27777
- "modifiers": {
27778
- "accessibilityRole": "decorative"
27779
29445
  }
27780
29446
  },
27781
29447
  {
27782
29448
  "id": "",
27783
29449
  "body": {
27784
29450
  "package": "himalaya",
27785
- "type": "Text",
27786
- "props": {
27787
- "text": "It is offensive",
27788
- "style": "body"
27789
- }
29451
+ "type": "Spacer",
29452
+ "props": {}
27790
29453
  }
27791
29454
  },
27792
29455
  {
27793
- "id": "",
29456
+ "id": "himi_blog_post.cancel_reply",
27794
29457
  "body": {
27795
29458
  "package": "himalaya",
27796
- "type": "Spacer",
27797
- "props": {}
29459
+ "type": "Icon",
29460
+ "props": {
29461
+ "name": "close",
29462
+ "size": 16,
29463
+ "tint": "textSecondary"
29464
+ }
29465
+ },
29466
+ "modifiers": {
29467
+ "accessibilityRole": "button",
29468
+ "onTap": {
29469
+ "actionId": "tier5.himiBlogPost.cancelReply"
29470
+ },
29471
+ "accessibilityLabel": "Cancel reply",
29472
+ "padding": {
29473
+ "top": 14,
29474
+ "bottom": 14,
29475
+ "leading": 14,
29476
+ "trailing": 14
29477
+ }
27798
29478
  }
27799
29479
  }
27800
29480
  ]
27801
29481
  }
27802
29482
  },
27803
29483
  "modifiers": {
27804
- "onTap": {
27805
- "actionId": "tier5.himiBlogPost.hide",
27806
- "params": {
27807
- "reason": "offensive"
27808
- }
27809
- },
27810
- "accessibilityRole": "button",
27811
- "accessibilityLabel": "It is offensive",
27812
- "padding": {
27813
- "top": 11,
27814
- "bottom": 11
27815
- }
29484
+ "hiddenPath": "$service:himiBlogPost.notReplying"
27816
29485
  }
27817
29486
  },
27818
29487
  {
27819
- "id": "himi_blog_post.hide_misleading",
29488
+ "id": "",
27820
29489
  "body": {
27821
29490
  "package": "himalaya",
27822
29491
  "type": "HStack",
27823
29492
  "props": {
27824
- "spacing": 14,
29493
+ "spacing": 10,
29494
+ "alignment": "center",
27825
29495
  "children": [
27826
29496
  {
27827
- "id": "",
29497
+ "id": "himi_blog_post.composer_avatar.photo",
27828
29498
  "body": {
27829
29499
  "package": "himalaya",
27830
- "type": "Icon",
29500
+ "type": "Image",
27831
29501
  "props": {
27832
- "name": "chevron_right",
27833
- "size": 22,
27834
- "tint": "textPrimary"
29502
+ "url": "$service:himiBlogPost.memberPhoto",
29503
+ "width": 32,
29504
+ "height": 32,
29505
+ "contentMode": "fill",
29506
+ "shape": "circle"
27835
29507
  }
27836
29508
  },
27837
29509
  "modifiers": {
27838
- "accessibilityRole": "decorative"
29510
+ "accessibilityRole": "decorative",
29511
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
27839
29512
  }
27840
29513
  },
27841
29514
  {
27842
29515
  "id": "",
27843
29516
  "body": {
27844
29517
  "package": "himalaya",
27845
- "type": "Text",
29518
+ "type": "ZStack",
27846
29519
  "props": {
27847
- "text": "It is misleading",
27848
- "style": "body"
29520
+ "alignment": "center",
29521
+ "children": [
29522
+ {
29523
+ "id": "",
29524
+ "body": {
29525
+ "package": "himalaya",
29526
+ "type": "Icon",
29527
+ "props": {
29528
+ "name": "person",
29529
+ "size": 16,
29530
+ "tint": "accentPrimary"
29531
+ }
29532
+ },
29533
+ "modifiers": {
29534
+ "accessibilityRole": "decorative",
29535
+ "hiddenPath": "$service:himiBlogPost.isMember"
29536
+ }
29537
+ },
29538
+ {
29539
+ "id": "",
29540
+ "body": {
29541
+ "package": "himalaya",
29542
+ "type": "Text",
29543
+ "props": {
29544
+ "text": "$service:himiBlogPost.memberInitial",
29545
+ "style": "footnote",
29546
+ "color": "accentPrimary",
29547
+ "collapseWhenEmpty": true
29548
+ }
29549
+ }
29550
+ }
29551
+ ]
27849
29552
  }
29553
+ },
29554
+ "modifiers": {
29555
+ "width": 32,
29556
+ "height": 32,
29557
+ "background": {
29558
+ "token": "accentSurface"
29559
+ },
29560
+ "cornerRadius": 16,
29561
+ "accessibilityRole": "decorative",
29562
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
27850
29563
  }
27851
29564
  },
27852
29565
  {
27853
- "id": "",
27854
- "body": {
27855
- "package": "himalaya",
27856
- "type": "Spacer",
27857
- "props": {}
27858
- }
27859
- }
27860
- ]
27861
- }
27862
- },
27863
- "modifiers": {
27864
- "onTap": {
27865
- "actionId": "tier5.himiBlogPost.hide",
27866
- "params": {
27867
- "reason": "misleading"
27868
- }
27869
- },
27870
- "accessibilityRole": "button",
27871
- "accessibilityLabel": "It is misleading",
27872
- "padding": {
27873
- "top": 11,
27874
- "bottom": 11
27875
- }
27876
- }
27877
- },
27878
- {
27879
- "id": "himi_blog_post.hide_other",
27880
- "body": {
27881
- "package": "himalaya",
27882
- "type": "HStack",
27883
- "props": {
27884
- "spacing": 14,
27885
- "children": [
27886
- {
27887
- "id": "",
29566
+ "id": "himi_blog_post.comment_input",
27888
29567
  "body": {
27889
29568
  "package": "himalaya",
27890
- "type": "Icon",
29569
+ "type": "TextField",
27891
29570
  "props": {
27892
- "name": "chevron_right",
27893
- "size": 22,
27894
- "tint": "textPrimary"
29571
+ "placeholder": "Write a comment",
29572
+ "valuePath": "$service:himiBlogPost.commentText",
29573
+ "multilineMaxLines": 4,
29574
+ "focusPath": "$service:himiBlogPost.composerFocus",
29575
+ "borderless": true,
29576
+ "autoCapitalization": "sentences",
29577
+ "onChange": {
29578
+ "actionId": "tier5.himiBlogPost.setComment"
29579
+ }
27895
29580
  }
27896
29581
  },
27897
29582
  "modifiers": {
27898
- "accessibilityRole": "decorative"
29583
+ "background": {
29584
+ "token": "surfaceSecondary"
29585
+ },
29586
+ "cornerRadius": 20,
29587
+ "padding": {
29588
+ "leading": 14,
29589
+ "trailing": 14,
29590
+ "top": 8,
29591
+ "bottom": 8
29592
+ },
29593
+ "weight": 1
27899
29594
  }
27900
29595
  },
27901
29596
  {
27902
- "id": "",
29597
+ "id": "himi_blog_post.comment_submit",
27903
29598
  "body": {
27904
29599
  "package": "himalaya",
27905
- "type": "Text",
29600
+ "type": "ZStack",
27906
29601
  "props": {
27907
- "text": "Something else",
27908
- "style": "body"
29602
+ "alignment": "center",
29603
+ "children": [
29604
+ {
29605
+ "id": "",
29606
+ "body": {
29607
+ "package": "himalaya",
29608
+ "type": "ZStack",
29609
+ "props": {
29610
+ "alignment": "center",
29611
+ "children": [
29612
+ {
29613
+ "id": "",
29614
+ "body": {
29615
+ "package": "himalaya",
29616
+ "type": "Icon",
29617
+ "props": {
29618
+ "name": "arrow_up",
29619
+ "size": 18,
29620
+ "tint": "textOnAccent"
29621
+ }
29622
+ },
29623
+ "modifiers": {
29624
+ "accessibilityRole": "decorative"
29625
+ }
29626
+ }
29627
+ ]
29628
+ }
29629
+ },
29630
+ "modifiers": {
29631
+ "width": 36,
29632
+ "height": 36,
29633
+ "cornerRadius": 18,
29634
+ "background": {
29635
+ "token": "accentPrimary"
29636
+ },
29637
+ "accessibilityRole": "decorative"
29638
+ }
29639
+ }
29640
+ ]
27909
29641
  }
29642
+ },
29643
+ "modifiers": {
29644
+ "width": 44,
29645
+ "height": 44,
29646
+ "accessibilityRole": "button",
29647
+ "accessibilityLabel": "Send comment",
29648
+ "onTap": {
29649
+ "actionId": "tier5.himiBlogPost.submitComment"
29650
+ },
29651
+ "pressFeedback": "scale",
29652
+ "haptic": "light",
29653
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
27910
29654
  }
27911
29655
  },
27912
29656
  {
27913
- "id": "",
29657
+ "id": "himi_blog_post.comment_submit_off",
27914
29658
  "body": {
27915
29659
  "package": "himalaya",
27916
- "type": "Spacer",
27917
- "props": {}
29660
+ "type": "ZStack",
29661
+ "props": {
29662
+ "alignment": "center",
29663
+ "children": [
29664
+ {
29665
+ "id": "",
29666
+ "body": {
29667
+ "package": "himalaya",
29668
+ "type": "ZStack",
29669
+ "props": {
29670
+ "alignment": "center",
29671
+ "children": [
29672
+ {
29673
+ "id": "",
29674
+ "body": {
29675
+ "package": "himalaya",
29676
+ "type": "Icon",
29677
+ "props": {
29678
+ "name": "arrow_up",
29679
+ "size": 18,
29680
+ "tint": "textTertiary"
29681
+ }
29682
+ },
29683
+ "modifiers": {
29684
+ "accessibilityRole": "decorative"
29685
+ }
29686
+ }
29687
+ ]
29688
+ }
29689
+ },
29690
+ "modifiers": {
29691
+ "width": 36,
29692
+ "height": 36,
29693
+ "cornerRadius": 18,
29694
+ "background": {
29695
+ "token": "surfaceSecondary"
29696
+ },
29697
+ "accessibilityRole": "decorative"
29698
+ }
29699
+ }
29700
+ ]
29701
+ }
29702
+ },
29703
+ "modifiers": {
29704
+ "width": 44,
29705
+ "height": 44,
29706
+ "accessibilityRole": "button",
29707
+ "accessibilityLabel": "Send comment",
29708
+ "hiddenPath": "$service:himiBlogPost.canSend"
27918
29709
  }
27919
29710
  }
27920
29711
  ]
27921
29712
  }
27922
- },
27923
- "modifiers": {
27924
- "onTap": {
27925
- "actionId": "tier5.himiBlogPost.hide",
27926
- "params": {
27927
- "reason": "other"
27928
- }
27929
- },
27930
- "accessibilityRole": "button",
27931
- "accessibilityLabel": "Something else",
27932
- "padding": {
27933
- "top": 11,
27934
- "bottom": 11
27935
- }
27936
29713
  }
27937
29714
  },
27938
29715
  {
27939
- "id": "himi_blog_post.hide_cancel",
29716
+ "id": "himi_blog_post.comment_error",
27940
29717
  "body": {
27941
29718
  "package": "himalaya",
27942
- "type": "Button",
29719
+ "type": "Text",
27943
29720
  "props": {
27944
- "title": "Cancel",
27945
- "style": "secondary",
27946
- "fullWidth": true,
27947
- "action": {
27948
- "actionId": "tier5.himiBlogPost.closeHide"
27949
- }
29721
+ "text": "$service:himiBlogPost.sendError",
29722
+ "style": "footnote",
29723
+ "color": "danger"
27950
29724
  }
27951
29725
  },
27952
29726
  "modifiers": {
27953
- "padding": {
27954
- "top": 8
27955
- }
29727
+ "hiddenPath": "$service:himiBlogPost.noSendError"
27956
29728
  }
27957
29729
  }
27958
29730
  ]
27959
29731
  }
27960
29732
  },
27961
29733
  "modifiers": {
27962
- "padding": {
27963
- "leading": 20,
27964
- "trailing": 20,
27965
- "top": 12,
27966
- "bottom": 8
27967
- }
29734
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27968
29735
  }
27969
29736
  }
27970
29737
  }
@@ -28021,7 +29788,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28021
29788
  "share",
28022
29789
  "local_database",
28023
29790
  "open_url",
28024
- "ui"
29791
+ "ui",
29792
+ "keyboard"
28025
29793
  ],
28026
29794
  "minBinaryVersion": "0.1.0",
28027
29795
  "bundleVersion": "0.0.1"