@wix/himalaya-cli 0.1782.0 → 0.1784.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +68 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +126 -18
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin → ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin} +1 -1
  8. package/dist/browser-plane/sw.js +6 -6
  9. package/dist/cli.mjs +486 -316
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +4 -0
  13. package/guides/release-notes.md +31 -0
  14. package/guides/sdk-reference.json +62 -1
  15. package/guides/store-submission.md +2 -0
  16. package/package.json +10 -10
  17. package/templates/beauty-salon/config.ts +1 -1
  18. package/templates/beauty-salon/dev/index.ts +2684 -916
  19. package/templates/beauty-salon/l10n/ar.json +95 -36
  20. package/templates/beauty-salon/l10n/cs.json +95 -36
  21. package/templates/beauty-salon/l10n/da.json +95 -36
  22. package/templates/beauty-salon/l10n/de.json +95 -36
  23. package/templates/beauty-salon/l10n/el.json +95 -36
  24. package/templates/beauty-salon/l10n/en.json +71 -15
  25. package/templates/beauty-salon/l10n/es.json +95 -36
  26. package/templates/beauty-salon/l10n/fi.json +95 -36
  27. package/templates/beauty-salon/l10n/fr.json +95 -36
  28. package/templates/beauty-salon/l10n/he.json +78 -29
  29. package/templates/beauty-salon/l10n/hu.json +95 -36
  30. package/templates/beauty-salon/l10n/id.json +95 -36
  31. package/templates/beauty-salon/l10n/it.json +95 -36
  32. package/templates/beauty-salon/l10n/ja.json +95 -36
  33. package/templates/beauty-salon/l10n/ko.json +95 -36
  34. package/templates/beauty-salon/l10n/lt.json +95 -36
  35. package/templates/beauty-salon/l10n/nl.json +95 -36
  36. package/templates/beauty-salon/l10n/no.json +95 -36
  37. package/templates/beauty-salon/l10n/pl.json +95 -36
  38. package/templates/beauty-salon/l10n/pt.json +95 -36
  39. package/templates/beauty-salon/l10n/ru.json +95 -36
  40. package/templates/beauty-salon/l10n/sv.json +95 -36
  41. package/templates/beauty-salon/l10n/th.json +95 -36
  42. package/templates/beauty-salon/l10n/tr.json +95 -36
  43. package/templates/beauty-salon/l10n/uk.json +95 -36
  44. package/templates/beauty-salon/l10n/vi.json +95 -36
  45. package/templates/beauty-salon/l10n/zh.json +95 -36
  46. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  47. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  48. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
  49. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
  50. package/templates/branded-lite/config.ts +1 -1
  51. package/templates/branded-lite/dev/index.ts +2686 -930
  52. package/templates/branded-lite/l10n/ar.json +80 -41
  53. package/templates/branded-lite/l10n/cs.json +80 -41
  54. package/templates/branded-lite/l10n/da.json +80 -41
  55. package/templates/branded-lite/l10n/de.json +80 -41
  56. package/templates/branded-lite/l10n/el.json +80 -41
  57. package/templates/branded-lite/l10n/en.json +71 -20
  58. package/templates/branded-lite/l10n/es.json +80 -41
  59. package/templates/branded-lite/l10n/fi.json +80 -41
  60. package/templates/branded-lite/l10n/fr.json +80 -41
  61. package/templates/branded-lite/l10n/he.json +66 -33
  62. package/templates/branded-lite/l10n/hu.json +80 -41
  63. package/templates/branded-lite/l10n/id.json +80 -41
  64. package/templates/branded-lite/l10n/it.json +80 -41
  65. package/templates/branded-lite/l10n/ja.json +80 -41
  66. package/templates/branded-lite/l10n/ko.json +80 -41
  67. package/templates/branded-lite/l10n/lt.json +80 -41
  68. package/templates/branded-lite/l10n/nl.json +80 -41
  69. package/templates/branded-lite/l10n/no.json +80 -41
  70. package/templates/branded-lite/l10n/pl.json +80 -41
  71. package/templates/branded-lite/l10n/pt.json +80 -41
  72. package/templates/branded-lite/l10n/ru.json +80 -41
  73. package/templates/branded-lite/l10n/sv.json +80 -41
  74. package/templates/branded-lite/l10n/th.json +80 -41
  75. package/templates/branded-lite/l10n/tr.json +80 -41
  76. package/templates/branded-lite/l10n/uk.json +80 -41
  77. package/templates/branded-lite/l10n/vi.json +80 -41
  78. package/templates/branded-lite/l10n/zh.json +80 -41
  79. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  80. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
  81. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
  82. package/templates/community-club/config.ts +1 -1
  83. package/templates/community-club/dev/index.ts +2742 -974
  84. package/templates/community-club/l10n/ar.json +95 -36
  85. package/templates/community-club/l10n/cs.json +95 -36
  86. package/templates/community-club/l10n/da.json +95 -36
  87. package/templates/community-club/l10n/de.json +95 -36
  88. package/templates/community-club/l10n/el.json +95 -36
  89. package/templates/community-club/l10n/en.json +71 -15
  90. package/templates/community-club/l10n/es.json +95 -36
  91. package/templates/community-club/l10n/fi.json +95 -36
  92. package/templates/community-club/l10n/fr.json +95 -36
  93. package/templates/community-club/l10n/he.json +78 -29
  94. package/templates/community-club/l10n/hu.json +95 -36
  95. package/templates/community-club/l10n/id.json +95 -36
  96. package/templates/community-club/l10n/it.json +95 -36
  97. package/templates/community-club/l10n/ja.json +95 -36
  98. package/templates/community-club/l10n/ko.json +95 -36
  99. package/templates/community-club/l10n/lt.json +95 -36
  100. package/templates/community-club/l10n/nl.json +95 -36
  101. package/templates/community-club/l10n/no.json +95 -36
  102. package/templates/community-club/l10n/pl.json +95 -36
  103. package/templates/community-club/l10n/pt.json +95 -36
  104. package/templates/community-club/l10n/ru.json +95 -36
  105. package/templates/community-club/l10n/sv.json +95 -36
  106. package/templates/community-club/l10n/th.json +95 -36
  107. package/templates/community-club/l10n/tr.json +95 -36
  108. package/templates/community-club/l10n/uk.json +95 -36
  109. package/templates/community-club/l10n/vi.json +95 -36
  110. package/templates/community-club/l10n/zh.json +95 -36
  111. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  112. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  113. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
  114. package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
  115. package/templates/events-meetups/config.ts +1 -1
  116. package/templates/events-meetups/dev/index.ts +2705 -937
  117. package/templates/events-meetups/l10n/ar.json +95 -36
  118. package/templates/events-meetups/l10n/cs.json +95 -36
  119. package/templates/events-meetups/l10n/da.json +95 -36
  120. package/templates/events-meetups/l10n/de.json +95 -36
  121. package/templates/events-meetups/l10n/el.json +95 -36
  122. package/templates/events-meetups/l10n/en.json +71 -15
  123. package/templates/events-meetups/l10n/es.json +95 -36
  124. package/templates/events-meetups/l10n/fi.json +95 -36
  125. package/templates/events-meetups/l10n/fr.json +95 -36
  126. package/templates/events-meetups/l10n/he.json +78 -29
  127. package/templates/events-meetups/l10n/hu.json +95 -36
  128. package/templates/events-meetups/l10n/id.json +95 -36
  129. package/templates/events-meetups/l10n/it.json +95 -36
  130. package/templates/events-meetups/l10n/ja.json +95 -36
  131. package/templates/events-meetups/l10n/ko.json +95 -36
  132. package/templates/events-meetups/l10n/lt.json +95 -36
  133. package/templates/events-meetups/l10n/nl.json +95 -36
  134. package/templates/events-meetups/l10n/no.json +95 -36
  135. package/templates/events-meetups/l10n/pl.json +95 -36
  136. package/templates/events-meetups/l10n/pt.json +95 -36
  137. package/templates/events-meetups/l10n/ru.json +95 -36
  138. package/templates/events-meetups/l10n/sv.json +95 -36
  139. package/templates/events-meetups/l10n/th.json +95 -36
  140. package/templates/events-meetups/l10n/tr.json +95 -36
  141. package/templates/events-meetups/l10n/uk.json +95 -36
  142. package/templates/events-meetups/l10n/vi.json +95 -36
  143. package/templates/events-meetups/l10n/zh.json +95 -36
  144. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  145. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  146. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
  147. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
  148. package/templates/gym-fitness/config.ts +1 -1
  149. package/templates/gym-fitness/dev/index.ts +2621 -853
  150. package/templates/gym-fitness/l10n/ar.json +95 -36
  151. package/templates/gym-fitness/l10n/cs.json +95 -36
  152. package/templates/gym-fitness/l10n/da.json +95 -36
  153. package/templates/gym-fitness/l10n/de.json +95 -36
  154. package/templates/gym-fitness/l10n/el.json +95 -36
  155. package/templates/gym-fitness/l10n/en.json +71 -15
  156. package/templates/gym-fitness/l10n/es.json +95 -36
  157. package/templates/gym-fitness/l10n/fi.json +95 -36
  158. package/templates/gym-fitness/l10n/fr.json +95 -36
  159. package/templates/gym-fitness/l10n/he.json +78 -29
  160. package/templates/gym-fitness/l10n/hu.json +95 -36
  161. package/templates/gym-fitness/l10n/id.json +95 -36
  162. package/templates/gym-fitness/l10n/it.json +95 -36
  163. package/templates/gym-fitness/l10n/ja.json +95 -36
  164. package/templates/gym-fitness/l10n/ko.json +95 -36
  165. package/templates/gym-fitness/l10n/lt.json +95 -36
  166. package/templates/gym-fitness/l10n/nl.json +95 -36
  167. package/templates/gym-fitness/l10n/no.json +95 -36
  168. package/templates/gym-fitness/l10n/pl.json +95 -36
  169. package/templates/gym-fitness/l10n/pt.json +95 -36
  170. package/templates/gym-fitness/l10n/ru.json +95 -36
  171. package/templates/gym-fitness/l10n/sv.json +95 -36
  172. package/templates/gym-fitness/l10n/th.json +95 -36
  173. package/templates/gym-fitness/l10n/tr.json +95 -36
  174. package/templates/gym-fitness/l10n/uk.json +95 -36
  175. package/templates/gym-fitness/l10n/vi.json +95 -36
  176. package/templates/gym-fitness/l10n/zh.json +95 -36
  177. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  178. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  179. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
  180. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
  181. package/templates/nonprofit-cause/config.ts +1 -1
  182. package/templates/nonprofit-cause/dev/index.ts +2704 -936
  183. package/templates/nonprofit-cause/l10n/ar.json +95 -36
  184. package/templates/nonprofit-cause/l10n/cs.json +95 -36
  185. package/templates/nonprofit-cause/l10n/da.json +95 -36
  186. package/templates/nonprofit-cause/l10n/de.json +95 -36
  187. package/templates/nonprofit-cause/l10n/el.json +95 -36
  188. package/templates/nonprofit-cause/l10n/en.json +71 -15
  189. package/templates/nonprofit-cause/l10n/es.json +95 -36
  190. package/templates/nonprofit-cause/l10n/fi.json +95 -36
  191. package/templates/nonprofit-cause/l10n/fr.json +95 -36
  192. package/templates/nonprofit-cause/l10n/he.json +78 -29
  193. package/templates/nonprofit-cause/l10n/hu.json +95 -36
  194. package/templates/nonprofit-cause/l10n/id.json +95 -36
  195. package/templates/nonprofit-cause/l10n/it.json +95 -36
  196. package/templates/nonprofit-cause/l10n/ja.json +95 -36
  197. package/templates/nonprofit-cause/l10n/ko.json +95 -36
  198. package/templates/nonprofit-cause/l10n/lt.json +95 -36
  199. package/templates/nonprofit-cause/l10n/nl.json +95 -36
  200. package/templates/nonprofit-cause/l10n/no.json +95 -36
  201. package/templates/nonprofit-cause/l10n/pl.json +95 -36
  202. package/templates/nonprofit-cause/l10n/pt.json +95 -36
  203. package/templates/nonprofit-cause/l10n/ru.json +95 -36
  204. package/templates/nonprofit-cause/l10n/sv.json +95 -36
  205. package/templates/nonprofit-cause/l10n/th.json +95 -36
  206. package/templates/nonprofit-cause/l10n/tr.json +95 -36
  207. package/templates/nonprofit-cause/l10n/uk.json +95 -36
  208. package/templates/nonprofit-cause/l10n/vi.json +95 -36
  209. package/templates/nonprofit-cause/l10n/zh.json +95 -36
  210. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  211. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  212. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
  213. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
  214. package/templates/podcast-creator/config.ts +1 -1
  215. package/templates/podcast-creator/dev/index.ts +2704 -936
  216. package/templates/podcast-creator/l10n/ar.json +95 -36
  217. package/templates/podcast-creator/l10n/cs.json +95 -36
  218. package/templates/podcast-creator/l10n/da.json +95 -36
  219. package/templates/podcast-creator/l10n/de.json +95 -36
  220. package/templates/podcast-creator/l10n/el.json +95 -36
  221. package/templates/podcast-creator/l10n/en.json +71 -15
  222. package/templates/podcast-creator/l10n/es.json +95 -36
  223. package/templates/podcast-creator/l10n/fi.json +95 -36
  224. package/templates/podcast-creator/l10n/fr.json +95 -36
  225. package/templates/podcast-creator/l10n/he.json +78 -29
  226. package/templates/podcast-creator/l10n/hu.json +95 -36
  227. package/templates/podcast-creator/l10n/id.json +95 -36
  228. package/templates/podcast-creator/l10n/it.json +95 -36
  229. package/templates/podcast-creator/l10n/ja.json +95 -36
  230. package/templates/podcast-creator/l10n/ko.json +95 -36
  231. package/templates/podcast-creator/l10n/lt.json +95 -36
  232. package/templates/podcast-creator/l10n/nl.json +95 -36
  233. package/templates/podcast-creator/l10n/no.json +95 -36
  234. package/templates/podcast-creator/l10n/pl.json +95 -36
  235. package/templates/podcast-creator/l10n/pt.json +95 -36
  236. package/templates/podcast-creator/l10n/ru.json +95 -36
  237. package/templates/podcast-creator/l10n/sv.json +95 -36
  238. package/templates/podcast-creator/l10n/th.json +95 -36
  239. package/templates/podcast-creator/l10n/tr.json +95 -36
  240. package/templates/podcast-creator/l10n/uk.json +95 -36
  241. package/templates/podcast-creator/l10n/vi.json +95 -36
  242. package/templates/podcast-creator/l10n/zh.json +95 -36
  243. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  244. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  245. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
  246. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
  247. package/templates/portfolio-creative/config.ts +1 -1
  248. package/templates/portfolio-creative/dev/index.ts +2499 -731
  249. package/templates/portfolio-creative/l10n/ar.json +95 -36
  250. package/templates/portfolio-creative/l10n/cs.json +95 -36
  251. package/templates/portfolio-creative/l10n/da.json +95 -36
  252. package/templates/portfolio-creative/l10n/de.json +95 -36
  253. package/templates/portfolio-creative/l10n/el.json +95 -36
  254. package/templates/portfolio-creative/l10n/en.json +71 -15
  255. package/templates/portfolio-creative/l10n/es.json +95 -36
  256. package/templates/portfolio-creative/l10n/fi.json +95 -36
  257. package/templates/portfolio-creative/l10n/fr.json +95 -36
  258. package/templates/portfolio-creative/l10n/he.json +78 -29
  259. package/templates/portfolio-creative/l10n/hu.json +95 -36
  260. package/templates/portfolio-creative/l10n/id.json +95 -36
  261. package/templates/portfolio-creative/l10n/it.json +95 -36
  262. package/templates/portfolio-creative/l10n/ja.json +95 -36
  263. package/templates/portfolio-creative/l10n/ko.json +95 -36
  264. package/templates/portfolio-creative/l10n/lt.json +95 -36
  265. package/templates/portfolio-creative/l10n/nl.json +95 -36
  266. package/templates/portfolio-creative/l10n/no.json +95 -36
  267. package/templates/portfolio-creative/l10n/pl.json +95 -36
  268. package/templates/portfolio-creative/l10n/pt.json +95 -36
  269. package/templates/portfolio-creative/l10n/ru.json +95 -36
  270. package/templates/portfolio-creative/l10n/sv.json +95 -36
  271. package/templates/portfolio-creative/l10n/th.json +95 -36
  272. package/templates/portfolio-creative/l10n/tr.json +95 -36
  273. package/templates/portfolio-creative/l10n/uk.json +95 -36
  274. package/templates/portfolio-creative/l10n/vi.json +95 -36
  275. package/templates/portfolio-creative/l10n/zh.json +95 -36
  276. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  277. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  278. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
  279. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
  280. package/templates/restaurant/config.ts +1 -1
  281. package/templates/restaurant/dev/index.ts +2528 -760
  282. package/templates/restaurant/l10n/ar.json +95 -36
  283. package/templates/restaurant/l10n/cs.json +95 -36
  284. package/templates/restaurant/l10n/da.json +95 -36
  285. package/templates/restaurant/l10n/de.json +95 -36
  286. package/templates/restaurant/l10n/el.json +95 -36
  287. package/templates/restaurant/l10n/en.json +71 -15
  288. package/templates/restaurant/l10n/es.json +95 -36
  289. package/templates/restaurant/l10n/fi.json +95 -36
  290. package/templates/restaurant/l10n/fr.json +95 -36
  291. package/templates/restaurant/l10n/he.json +78 -29
  292. package/templates/restaurant/l10n/hu.json +95 -36
  293. package/templates/restaurant/l10n/id.json +95 -36
  294. package/templates/restaurant/l10n/it.json +95 -36
  295. package/templates/restaurant/l10n/ja.json +95 -36
  296. package/templates/restaurant/l10n/ko.json +95 -36
  297. package/templates/restaurant/l10n/lt.json +95 -36
  298. package/templates/restaurant/l10n/nl.json +95 -36
  299. package/templates/restaurant/l10n/no.json +95 -36
  300. package/templates/restaurant/l10n/pl.json +95 -36
  301. package/templates/restaurant/l10n/pt.json +95 -36
  302. package/templates/restaurant/l10n/ru.json +95 -36
  303. package/templates/restaurant/l10n/sv.json +95 -36
  304. package/templates/restaurant/l10n/th.json +95 -36
  305. package/templates/restaurant/l10n/tr.json +95 -36
  306. package/templates/restaurant/l10n/uk.json +95 -36
  307. package/templates/restaurant/l10n/vi.json +95 -36
  308. package/templates/restaurant/l10n/zh.json +95 -36
  309. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  310. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  311. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
  312. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
  313. package/templates/retail-store/config.ts +1 -1
  314. package/templates/retail-store/dev/index.ts +2417 -661
  315. package/templates/retail-store/l10n/ar.json +95 -41
  316. package/templates/retail-store/l10n/cs.json +95 -41
  317. package/templates/retail-store/l10n/da.json +95 -41
  318. package/templates/retail-store/l10n/de.json +95 -41
  319. package/templates/retail-store/l10n/el.json +95 -41
  320. package/templates/retail-store/l10n/en.json +71 -20
  321. package/templates/retail-store/l10n/es.json +95 -41
  322. package/templates/retail-store/l10n/fi.json +95 -41
  323. package/templates/retail-store/l10n/fr.json +95 -41
  324. package/templates/retail-store/l10n/he.json +78 -33
  325. package/templates/retail-store/l10n/hu.json +95 -41
  326. package/templates/retail-store/l10n/id.json +95 -41
  327. package/templates/retail-store/l10n/it.json +95 -41
  328. package/templates/retail-store/l10n/ja.json +95 -41
  329. package/templates/retail-store/l10n/ko.json +95 -41
  330. package/templates/retail-store/l10n/lt.json +95 -41
  331. package/templates/retail-store/l10n/nl.json +95 -41
  332. package/templates/retail-store/l10n/no.json +95 -41
  333. package/templates/retail-store/l10n/pl.json +95 -41
  334. package/templates/retail-store/l10n/pt.json +95 -41
  335. package/templates/retail-store/l10n/ru.json +95 -41
  336. package/templates/retail-store/l10n/sv.json +95 -41
  337. package/templates/retail-store/l10n/th.json +95 -41
  338. package/templates/retail-store/l10n/tr.json +95 -41
  339. package/templates/retail-store/l10n/uk.json +95 -41
  340. package/templates/retail-store/l10n/vi.json +95 -41
  341. package/templates/retail-store/l10n/zh.json +95 -41
  342. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  343. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  344. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
  345. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
  346. package/templates/yoga-studio/config.ts +1 -1
  347. package/templates/yoga-studio/dev/index.ts +2619 -851
  348. package/templates/yoga-studio/l10n/ar.json +95 -36
  349. package/templates/yoga-studio/l10n/cs.json +95 -36
  350. package/templates/yoga-studio/l10n/da.json +95 -36
  351. package/templates/yoga-studio/l10n/de.json +95 -36
  352. package/templates/yoga-studio/l10n/el.json +95 -36
  353. package/templates/yoga-studio/l10n/en.json +71 -15
  354. package/templates/yoga-studio/l10n/es.json +95 -36
  355. package/templates/yoga-studio/l10n/fi.json +95 -36
  356. package/templates/yoga-studio/l10n/fr.json +95 -36
  357. package/templates/yoga-studio/l10n/he.json +78 -29
  358. package/templates/yoga-studio/l10n/hu.json +95 -36
  359. package/templates/yoga-studio/l10n/id.json +95 -36
  360. package/templates/yoga-studio/l10n/it.json +95 -36
  361. package/templates/yoga-studio/l10n/ja.json +95 -36
  362. package/templates/yoga-studio/l10n/ko.json +95 -36
  363. package/templates/yoga-studio/l10n/lt.json +95 -36
  364. package/templates/yoga-studio/l10n/nl.json +95 -36
  365. package/templates/yoga-studio/l10n/no.json +95 -36
  366. package/templates/yoga-studio/l10n/pl.json +95 -36
  367. package/templates/yoga-studio/l10n/pt.json +95 -36
  368. package/templates/yoga-studio/l10n/ru.json +95 -36
  369. package/templates/yoga-studio/l10n/sv.json +95 -36
  370. package/templates/yoga-studio/l10n/th.json +95 -36
  371. package/templates/yoga-studio/l10n/tr.json +95 -36
  372. package/templates/yoga-studio/l10n/uk.json +95 -36
  373. package/templates/yoga-studio/l10n/vi.json +95 -36
  374. package/templates/yoga-studio/l10n/zh.json +95 -36
  375. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  376. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
  377. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
  378. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
@@ -13044,7 +13044,7 @@ const SCREENS = runtimeSetting({
13044
13044
  "alignment": "leading",
13045
13045
  "children": [
13046
13046
  {
13047
- "id": "",
13047
+ "id": "himi_blog.heading",
13048
13048
  "body": {
13049
13049
  "package": "himalaya",
13050
13050
  "type": "VStack",
@@ -13074,8 +13074,7 @@ const SCREENS = runtimeSetting({
13074
13074
  "props": {
13075
13075
  "text": "Recaps and announcements from past meetups.",
13076
13076
  "style": "body",
13077
- "color": "textSecondary",
13078
- "collapseWhenEmpty": true
13077
+ "color": "textSecondary"
13079
13078
  }
13080
13079
  }
13081
13080
  }
@@ -13156,6 +13155,7 @@ const SCREENS = runtimeSetting({
13156
13155
  "type": "HStack",
13157
13156
  "props": {
13158
13157
  "spacing": 10,
13158
+ "alignment": "center",
13159
13159
  "children": [
13160
13160
  {
13161
13161
  "id": "",
@@ -13393,6 +13393,7 @@ const SCREENS = runtimeSetting({
13393
13393
  "type": "HStack",
13394
13394
  "props": {
13395
13395
  "spacing": 14,
13396
+ "alignment": "center",
13396
13397
  "children": [
13397
13398
  {
13398
13399
  "id": "",
@@ -13532,6 +13533,7 @@ const SCREENS = runtimeSetting({
13532
13533
  "type": "HStack",
13533
13534
  "props": {
13534
13535
  "spacing": 4,
13536
+ "alignment": "center",
13535
13537
  "children": [
13536
13538
  {
13537
13539
  "id": "",
@@ -13586,6 +13588,7 @@ const SCREENS = runtimeSetting({
13586
13588
  "type": "HStack",
13587
13589
  "props": {
13588
13590
  "spacing": 12,
13591
+ "alignment": "center",
13589
13592
  "children": [
13590
13593
  {
13591
13594
  "id": "himi_blog.post_author.photo",
@@ -14026,71 +14029,56 @@ const SCREENS = runtimeSetting({
14026
14029
  }
14027
14030
  },
14028
14031
  {
14029
- "id": "",
14032
+ "id": "himi_blog.empty",
14030
14033
  "body": {
14031
14034
  "package": "himalaya",
14032
- "type": "VStack",
14035
+ "type": "EmptyState",
14033
14036
  "props": {
14034
- "spacing": 12,
14035
- "alignment": "center",
14036
- "children": [
14037
- {
14038
- "id": "",
14039
- "body": {
14040
- "package": "himalaya",
14041
- "type": "Icon",
14042
- "props": {
14043
- "name": "newspaper",
14044
- "size": 34,
14045
- "tint": "textTertiary"
14046
- }
14047
- },
14048
- "modifiers": {
14049
- "accessibilityRole": "decorative"
14050
- }
14051
- },
14052
- {
14053
- "id": "",
14054
- "body": {
14055
- "package": "himalaya",
14056
- "type": "Text",
14057
- "props": {
14058
- "text": "$service:himiBlogFeed.emptyText",
14059
- "style": "bodyEmphasis",
14060
- "color": "textSecondary",
14061
- "collapseWhenEmpty": true
14062
- }
14063
- }
14064
- },
14065
- {
14066
- "id": "himi_blog.empty.cta",
14067
- "body": {
14068
- "package": "himalaya",
14069
- "type": "Button",
14070
- "props": {
14071
- "title": "Clear filters",
14072
- "style": "secondary",
14073
- "action": {
14074
- "actionId": "tier5.himiBlogFeed.clearFilters"
14075
- }
14076
- }
14077
- }
14078
- }
14079
- ]
14037
+ "title": "$service:himiBlogFeed.emptyText",
14038
+ "subtitle": "Try a different word or category.",
14039
+ "icon": "search",
14040
+ "actionLabel": "Clear filters",
14041
+ "action": {
14042
+ "actionId": "tier5.himiBlogFeed.clearFilters"
14043
+ }
14080
14044
  }
14081
14045
  },
14082
14046
  "modifiers": {
14083
14047
  "padding": {
14084
14048
  "leading": 24,
14085
14049
  "trailing": 24,
14086
- "top": 24,
14050
+ "top": 48,
14051
+ "bottom": 24
14052
+ },
14053
+ "transition": {
14054
+ "enter": "fade",
14055
+ "exit": "fade"
14056
+ },
14057
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
14058
+ }
14059
+ },
14060
+ {
14061
+ "id": "himi_blog.empty_none",
14062
+ "body": {
14063
+ "package": "himalaya",
14064
+ "type": "EmptyState",
14065
+ "props": {
14066
+ "title": "$service:himiBlogFeed.emptyText",
14067
+ "icon": "document"
14068
+ }
14069
+ },
14070
+ "modifiers": {
14071
+ "padding": {
14072
+ "leading": 24,
14073
+ "trailing": 24,
14074
+ "top": 48,
14087
14075
  "bottom": 24
14088
14076
  },
14089
14077
  "transition": {
14090
14078
  "enter": "fade",
14091
14079
  "exit": "fade"
14092
14080
  },
14093
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
14081
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
14094
14082
  }
14095
14083
  }
14096
14084
  ]
@@ -14122,21 +14110,6 @@ const SCREENS = runtimeSetting({
14122
14110
  ],
14123
14111
  "minBinaryVersion": "0.1.0",
14124
14112
  "bundleVersion": "0.0.1"
14125
- },
14126
- "topBar": {
14127
- "actions": [
14128
- {
14129
- "id": "account",
14130
- "icon": "person",
14131
- "accessibilityLabel": "Account",
14132
- "onTap": {
14133
- "actionId": "himi.open",
14134
- "params": {
14135
- "screenId": "himi_account"
14136
- }
14137
- }
14138
- }
14139
- ]
14140
14113
  }
14141
14114
  },
14142
14115
  "himi_saved": {
@@ -14217,6 +14190,7 @@ const SCREENS = runtimeSetting({
14217
14190
  "type": "HStack",
14218
14191
  "props": {
14219
14192
  "spacing": 10,
14193
+ "alignment": "center",
14220
14194
  "children": [
14221
14195
  {
14222
14196
  "id": "",
@@ -14622,73 +14596,21 @@ const SCREENS = runtimeSetting({
14622
14596
  }
14623
14597
  },
14624
14598
  {
14625
- "id": "",
14599
+ "id": "himi_saved.empty",
14626
14600
  "body": {
14627
14601
  "package": "himalaya",
14628
- "type": "VStack",
14602
+ "type": "EmptyState",
14629
14603
  "props": {
14630
- "spacing": 12,
14631
- "alignment": "center",
14632
- "children": [
14633
- {
14634
- "id": "",
14635
- "body": {
14636
- "package": "himalaya",
14637
- "type": "Icon",
14638
- "props": {
14639
- "name": "bookmark",
14640
- "size": 34,
14641
- "tint": "textTertiary"
14642
- }
14643
- },
14644
- "modifiers": {
14645
- "accessibilityRole": "decorative"
14646
- }
14647
- },
14648
- {
14649
- "id": "",
14650
- "body": {
14651
- "package": "himalaya",
14652
- "type": "Text",
14653
- "props": {
14654
- "text": "$service:himiBlogSaved.emptyText",
14655
- "style": "bodyEmphasis",
14656
- "color": "textSecondary",
14657
- "collapseWhenEmpty": true
14658
- }
14659
- }
14660
- },
14661
- {
14662
- "id": "",
14663
- "body": {
14664
- "package": "himalaya",
14665
- "type": "Text",
14666
- "props": {
14667
- "text": "Tap the bookmark on a post to read it later.",
14668
- "style": "footnote",
14669
- "color": "textTertiary",
14670
- "maxLines": 2
14671
- }
14672
- }
14673
- },
14674
- {
14675
- "id": "himi_saved.empty.cta",
14676
- "body": {
14677
- "package": "himalaya",
14678
- "type": "Button",
14679
- "props": {
14680
- "title": "Browse Blog",
14681
- "style": "secondary",
14682
- "action": {
14683
- "actionId": "himi.open",
14684
- "params": {
14685
- "screenId": "himi_blog"
14686
- }
14687
- }
14688
- }
14689
- }
14604
+ "title": "$service:himiBlogSaved.emptyText",
14605
+ "subtitle": "Tap the bookmark on a post to read it later.",
14606
+ "icon": "bookmark",
14607
+ "actionLabel": "Browse Blog",
14608
+ "action": {
14609
+ "actionId": "himi.open",
14610
+ "params": {
14611
+ "screenId": "himi_blog"
14690
14612
  }
14691
- ]
14613
+ }
14692
14614
  }
14693
14615
  },
14694
14616
  "modifiers": {
@@ -21851,6 +21773,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
21851
21773
  "type": "HStack",
21852
21774
  "props": {
21853
21775
  "spacing": 10,
21776
+ "alignment": "center",
21854
21777
  "children": [
21855
21778
  {
21856
21779
  "id": "",
@@ -22210,6 +22133,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
22210
22133
  "type": "HStack",
22211
22134
  "props": {
22212
22135
  "spacing": 12,
22136
+ "alignment": "center",
22213
22137
  "children": [
22214
22138
  {
22215
22139
  "id": "himi_blog_post.author.photo",
@@ -22958,41 +22882,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
22958
22882
  "accessibilityRole": "decorative"
22959
22883
  }
22960
22884
  },
22961
- {
22962
- "id": "",
22963
- "body": {
22964
- "package": "himalaya",
22965
- "type": "VStack",
22966
- "props": {
22967
- "spacing": 0,
22968
- "alignment": "leading",
22969
- "children": [
22970
- {
22971
- "id": "himi_blog_post.comments_title",
22972
- "body": {
22973
- "package": "himalaya",
22974
- "type": "Text",
22975
- "props": {
22976
- "text": "$service:himiBlogPost.commentsTitle",
22977
- "style": "title3"
22978
- }
22979
- },
22980
- "modifiers": {
22981
- "accessibilityRole": "heading"
22982
- }
22983
- }
22984
- ]
22985
- }
22986
- },
22987
- "modifiers": {
22988
- "padding": {
22989
- "leading": 20,
22990
- "trailing": 20,
22991
- "top": 20,
22992
- "bottom": 4
22993
- }
22994
- }
22995
- },
22996
22885
  {
22997
22886
  "id": "",
22998
22887
  "body": {
@@ -23004,46 +22893,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23004
22893
  "children": [
23005
22894
  {
23006
22895
  "id": "",
23007
- "body": {
23008
- "package": "himalaya",
23009
- "type": "Text",
23010
- "props": {
23011
- "text": "$service:himiBlogPost.commentStatusText",
23012
- "style": "footnote",
23013
- "color": "textSecondary"
23014
- }
23015
- }
23016
- }
23017
- ]
23018
- }
23019
- },
23020
- "modifiers": {
23021
- "padding": {
23022
- "leading": 20,
23023
- "trailing": 20,
23024
- "top": 6,
23025
- "bottom": 6
23026
- },
23027
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
23028
- }
23029
- },
23030
- {
23031
- "id": "himi_blog_post.comments",
23032
- "body": {
23033
- "package": "himalaya",
23034
- "type": "Grid",
23035
- "props": {
23036
- "columns": 1,
23037
- "spacing": 0,
23038
- "itemsPath": "$service:himiBlogPost.comments",
23039
- "items": [
23040
- {
23041
- "id": "himi_blog_post.comment_row",
23042
22896
  "body": {
23043
22897
  "package": "himalaya",
23044
22898
  "type": "VStack",
23045
22899
  "props": {
23046
- "spacing": 6,
22900
+ "spacing": 14,
23047
22901
  "alignment": "leading",
23048
22902
  "children": [
23049
22903
  {
@@ -23052,73 +22906,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23052
22906
  "package": "himalaya",
23053
22907
  "type": "HStack",
23054
22908
  "props": {
23055
- "spacing": 10,
22909
+ "spacing": 8,
22910
+ "alignment": "center",
23056
22911
  "children": [
23057
22912
  {
23058
- "id": "",
22913
+ "id": "himi_blog_post.comments_title",
23059
22914
  "body": {
23060
22915
  "package": "himalaya",
23061
- "type": "ZStack",
22916
+ "type": "Text",
23062
22917
  "props": {
23063
- "alignment": "center",
23064
- "children": [
23065
- {
23066
- "id": "",
23067
- "body": {
23068
- "package": "himalaya",
23069
- "type": "Text",
23070
- "props": {
23071
- "text": "$item.authorInitial",
23072
- "style": "footnote",
23073
- "color": "accentPrimary"
23074
- }
23075
- }
23076
- }
23077
- ]
22918
+ "text": "$service:himiBlogPost.commentsTitle",
22919
+ "style": "title3"
23078
22920
  }
23079
22921
  },
23080
22922
  "modifiers": {
23081
- "width": 32,
23082
- "height": 32,
23083
- "background": {
23084
- "token": "accentSurface"
23085
- },
23086
- "cornerRadius": 16,
23087
- "accessibilityRole": "decorative"
22923
+ "accessibilityRole": "heading"
23088
22924
  }
23089
22925
  },
23090
22926
  {
23091
22927
  "id": "",
23092
22928
  "body": {
23093
22929
  "package": "himalaya",
23094
- "type": "Text",
23095
- "props": {
23096
- "text": "$item.authorName",
23097
- "style": "bodyEmphasis",
23098
- "maxLines": 1
23099
- }
22930
+ "type": "Spacer",
22931
+ "props": {}
23100
22932
  }
23101
22933
  },
23102
22934
  {
23103
- "id": "",
22935
+ "id": "himi_blog_post.comments_show_all",
23104
22936
  "body": {
23105
22937
  "package": "himalaya",
23106
22938
  "type": "Text",
23107
22939
  "props": {
23108
- "text": "$item.meta",
23109
- "style": "caption",
23110
- "color": "textTertiary",
23111
- "maxLines": 1,
23112
- "collapseWhenEmpty": true
22940
+ "text": "$service:himiBlogPost.showAllLabel",
22941
+ "style": "footnote",
22942
+ "color": "accentPrimary",
22943
+ "maxLines": 1
23113
22944
  }
23114
- }
23115
- },
23116
- {
23117
- "id": "",
23118
- "body": {
23119
- "package": "himalaya",
23120
- "type": "Spacer",
23121
- "props": {}
22945
+ },
22946
+ "modifiers": {
22947
+ "onTap": {
22948
+ "actionId": "tier5.himiBlogPost.openComments"
22949
+ },
22950
+ "accessibilityRole": "button",
22951
+ "padding": {
22952
+ "top": 6,
22953
+ "bottom": 6,
22954
+ "leading": 6
22955
+ },
22956
+ "hiddenPath": "$service:himiBlogPost.noComments"
23122
22957
  }
23123
22958
  }
23124
22959
  ]
@@ -23127,891 +22962,2823 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23127
22962
  },
23128
22963
  {
23129
22964
  "id": "",
22965
+ "body": {
22966
+ "package": "himalaya",
22967
+ "type": "Text",
22968
+ "props": {
22969
+ "text": "$service:himiBlogPost.commentStatusText",
22970
+ "style": "footnote",
22971
+ "color": "textSecondary"
22972
+ }
22973
+ },
22974
+ "modifiers": {
22975
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
22976
+ }
22977
+ },
22978
+ {
22979
+ "id": "himi_blog_post.comments_empty",
23130
22980
  "body": {
23131
22981
  "package": "himalaya",
23132
22982
  "type": "VStack",
23133
22983
  "props": {
23134
- "spacing": 0,
22984
+ "spacing": 4,
23135
22985
  "alignment": "leading",
23136
22986
  "children": [
23137
22987
  {
23138
- "id": "comment_body_$item.id",
22988
+ "id": "",
23139
22989
  "body": {
23140
22990
  "package": "himalaya",
23141
- "type": "RichContent",
22991
+ "type": "Text",
23142
22992
  "props": {
23143
- "documentJsonPath": "$item.bodyJson",
23144
- "onLink": {
23145
- "actionId": "tier5.himiBlogPost.openLink"
23146
- },
23147
- "fallback": {
23148
- "id": "",
23149
- "body": {
23150
- "package": "himalaya",
23151
- "type": "Text",
23152
- "props": {
23153
- "text": "$item.text",
23154
- "style": "body",
23155
- "collapseWhenEmpty": true
23156
- }
23157
- }
23158
- }
22993
+ "text": "No comments yet",
22994
+ "style": "bodyEmphasis"
23159
22995
  }
23160
22996
  }
23161
22997
  },
23162
22998
  {
23163
- "id": "comment_body_text_$item.id",
22999
+ "id": "",
23164
23000
  "body": {
23165
23001
  "package": "himalaya",
23166
23002
  "type": "Text",
23167
23003
  "props": {
23168
- "text": "$item.text",
23169
- "style": "body",
23170
- "collapseWhenEmpty": true
23004
+ "text": "Be the first to share your thoughts.",
23005
+ "style": "footnote",
23006
+ "color": "textSecondary"
23171
23007
  }
23172
- },
23173
- "modifiers": {
23174
- "hiddenPath": "$item.hasBodyJson"
23175
23008
  }
23176
23009
  }
23177
23010
  ]
23178
23011
  }
23179
23012
  },
23180
23013
  "modifiers": {
23181
- "padding": {
23182
- "leading": 42
23183
- }
23184
- }
23185
- },
23186
- {
23187
- "id": "",
23188
- "body": {
23189
- "package": "himalaya",
23190
- "type": "Divider",
23191
- "props": {}
23192
- },
23193
- "modifiers": {
23194
- "padding": {
23195
- "top": 10
23196
- }
23197
- }
23198
- }
23199
- ]
23200
- }
23201
- },
23202
- "modifiers": {
23203
- "padding": {
23204
- "leading": 20,
23205
- "trailing": 20,
23206
- "top": 12
23207
- }
23208
- }
23209
- }
23210
- ]
23211
- }
23212
- }
23213
- },
23214
- {
23215
- "id": "",
23216
- "body": {
23217
- "package": "himalaya",
23218
- "type": "VStack",
23219
- "props": {
23220
- "spacing": 0,
23221
- "alignment": "leading",
23222
- "children": [
23223
- {
23224
- "id": "himi_blog_post.comment_composer",
23225
- "body": {
23226
- "package": "himalaya",
23227
- "type": "VStack",
23228
- "props": {
23229
- "spacing": 10,
23230
- "alignment": "leading",
23231
- "children": [
23232
- {
23233
- "id": "himi_blog_post.comment_input",
23234
- "body": {
23235
- "package": "himalaya",
23236
- "type": "TextField",
23237
- "props": {
23238
- "placeholder": "Write a comment",
23239
- "valuePath": "$service:himiBlogPost.commentText",
23240
- "multilineMaxLines": 4,
23241
- "onChange": {
23242
- "actionId": "tier5.himiBlogPost.setComment"
23243
- }
23244
- }
23245
- }
23246
- },
23247
- {
23248
- "id": "himi_blog_post.comment_submit",
23249
- "body": {
23250
- "package": "himalaya",
23251
- "type": "Button",
23252
- "props": {
23253
- "title": "Post comment",
23254
- "style": "primary",
23255
- "fullWidth": false,
23256
- "action": {
23257
- "actionId": "tier5.himiBlogPost.submitComment"
23258
- }
23259
- }
23260
- }
23261
- }
23262
- ]
23263
- }
23264
- }
23265
- }
23266
- ]
23267
- }
23268
- },
23269
- "modifiers": {
23270
- "padding": {
23271
- "leading": 20,
23272
- "trailing": 20,
23273
- "top": 12,
23274
- "bottom": 16
23275
- },
23276
- "hiddenPath": "$service:himiBlogPost.commentsOff"
23277
- }
23278
- }
23279
- ]
23280
- }
23281
- }
23282
- },
23283
- {
23284
- "id": "himi_blog_post.recent_section",
23285
- "body": {
23286
- "package": "himalaya",
23287
- "type": "VStack",
23288
- "props": {
23289
- "spacing": 0,
23290
- "alignment": "leading",
23291
- "children": [
23292
- {
23293
- "id": "himi_blog_post.recent_band",
23294
- "body": {
23295
- "package": "himalaya",
23296
- "type": "VStack",
23297
- "props": {
23298
- "spacing": 0,
23299
- "children": []
23300
- }
23301
- },
23302
- "modifiers": {
23303
- "height": 12,
23304
- "fillMaxWidth": true,
23305
- "background": {
23306
- "token": "surfaceSecondary"
23307
- },
23308
- "accessibilityRole": "decorative"
23309
- }
23310
- },
23311
- {
23312
- "id": "",
23313
- "body": {
23314
- "package": "himalaya",
23315
- "type": "VStack",
23316
- "props": {
23317
- "spacing": 0,
23318
- "alignment": "leading",
23319
- "children": [
23320
- {
23321
- "id": "",
23322
- "body": {
23323
- "package": "himalaya",
23324
- "type": "Text",
23325
- "props": {
23326
- "text": "Recent posts",
23327
- "style": "title3"
23328
- }
23329
- },
23330
- "modifiers": {
23331
- "accessibilityRole": "heading"
23332
- }
23333
- }
23334
- ]
23335
- }
23336
- },
23337
- "modifiers": {
23338
- "padding": {
23339
- "leading": 20,
23340
- "trailing": 20,
23341
- "top": 20,
23342
- "bottom": 4
23343
- }
23344
- }
23345
- },
23346
- {
23347
- "id": "himi_blog_post.recent",
23348
- "body": {
23349
- "package": "himalaya",
23350
- "type": "Grid",
23351
- "props": {
23352
- "columns": 1,
23353
- "spacing": 0,
23354
- "itemsPath": "$service:himiBlogPost.recent",
23355
- "items": [
23356
- {
23357
- "id": "himi_blog_post.recent_row",
23358
- "body": {
23359
- "package": "himalaya",
23360
- "type": "HStack",
23361
- "props": {
23362
- "spacing": 12,
23363
- "children": [
23364
- {
23365
- "id": "himi_blog_post.recent_cover",
23366
- "body": {
23367
- "package": "himalaya",
23368
- "type": "Image",
23369
- "props": {
23370
- "url": "$item.cover",
23371
- "width": 72,
23372
- "height": 72,
23373
- "contentMode": "fill"
23374
- }
23375
- },
23376
- "modifiers": {
23377
- "accessibilityRole": "decorative",
23378
- "cornerRadius": 8,
23379
- "hiddenPath": "$item.noCover"
23014
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
23380
23015
  }
23381
23016
  },
23382
23017
  {
23383
- "id": "",
23018
+ "id": "himi_blog_post.comments",
23384
23019
  "body": {
23385
23020
  "package": "himalaya",
23386
- "type": "ZStack",
23021
+ "type": "Grid",
23387
23022
  "props": {
23388
- "alignment": "center",
23389
- "children": [
23023
+ "columns": 1,
23024
+ "spacing": 16,
23025
+ "itemsPath": "$service:himiBlogPost.latestComments",
23026
+ "items": [
23390
23027
  {
23391
- "id": "",
23028
+ "id": "himi_blog_post.comment_row",
23392
23029
  "body": {
23393
23030
  "package": "himalaya",
23394
- "type": "Icon",
23031
+ "type": "HStack",
23395
23032
  "props": {
23396
- "name": "newspaper",
23397
- "size": 22,
23398
- "tint": "textTertiary"
23399
- }
23400
- },
23401
- "modifiers": {
23402
- "accessibilityRole": "decorative"
23403
- }
23404
- }
23405
- ]
23406
- }
23407
- },
23408
- "modifiers": {
23409
- "width": 72,
23410
- "height": 72,
23411
- "background": {
23412
- "token": "surfaceSecondary"
23413
- },
23414
- "cornerRadius": 8,
23415
- "accessibilityRole": "decorative",
23416
- "hiddenPath": "$item.hasCover"
23033
+ "spacing": 10,
23034
+ "alignment": "leading",
23035
+ "children": [
23036
+ {
23037
+ "id": "himi_blog_post.comment_avatar.photo",
23038
+ "body": {
23039
+ "package": "himalaya",
23040
+ "type": "Image",
23041
+ "props": {
23042
+ "url": "$item.authorPhoto",
23043
+ "width": 32,
23044
+ "height": 32,
23045
+ "contentMode": "fill",
23046
+ "shape": "circle"
23047
+ }
23048
+ },
23049
+ "modifiers": {
23050
+ "accessibilityRole": "decorative",
23051
+ "hiddenPath": "$item.noAuthorPhoto"
23052
+ }
23053
+ },
23054
+ {
23055
+ "id": "",
23056
+ "body": {
23057
+ "package": "himalaya",
23058
+ "type": "ZStack",
23059
+ "props": {
23060
+ "alignment": "center",
23061
+ "children": [
23062
+ {
23063
+ "id": "",
23064
+ "body": {
23065
+ "package": "himalaya",
23066
+ "type": "Text",
23067
+ "props": {
23068
+ "text": "$item.authorInitial",
23069
+ "style": "footnote",
23070
+ "color": "accentPrimary",
23071
+ "collapseWhenEmpty": true
23072
+ }
23073
+ }
23074
+ }
23075
+ ]
23076
+ }
23077
+ },
23078
+ "modifiers": {
23079
+ "width": 32,
23080
+ "height": 32,
23081
+ "background": {
23082
+ "token": "accentSurface"
23083
+ },
23084
+ "cornerRadius": 16,
23085
+ "accessibilityRole": "decorative",
23086
+ "hiddenPath": "$item.hasAuthorPhoto"
23087
+ }
23088
+ },
23089
+ {
23090
+ "id": "",
23091
+ "body": {
23092
+ "package": "himalaya",
23093
+ "type": "VStack",
23094
+ "props": {
23095
+ "spacing": 4,
23096
+ "alignment": "leading",
23097
+ "children": [
23098
+ {
23099
+ "id": "",
23100
+ "body": {
23101
+ "package": "himalaya",
23102
+ "type": "HStack",
23103
+ "props": {
23104
+ "spacing": 6,
23105
+ "alignment": "center",
23106
+ "children": [
23107
+ {
23108
+ "id": "",
23109
+ "body": {
23110
+ "package": "himalaya",
23111
+ "type": "Text",
23112
+ "props": {
23113
+ "text": "$item.authorName",
23114
+ "style": "footnote",
23115
+ "maxLines": 1
23116
+ }
23117
+ }
23118
+ },
23119
+ {
23120
+ "id": "",
23121
+ "body": {
23122
+ "package": "himalaya",
23123
+ "type": "Text",
23124
+ "props": {
23125
+ "text": "$item.meta",
23126
+ "style": "caption",
23127
+ "color": "textTertiary",
23128
+ "maxLines": 1,
23129
+ "collapseWhenEmpty": true
23130
+ }
23131
+ }
23132
+ },
23133
+ {
23134
+ "id": "",
23135
+ "body": {
23136
+ "package": "himalaya",
23137
+ "type": "Spacer",
23138
+ "props": {}
23139
+ }
23140
+ },
23141
+ {
23142
+ "id": "",
23143
+ "body": {
23144
+ "package": "himalaya",
23145
+ "type": "HStack",
23146
+ "props": {
23147
+ "spacing": 0,
23148
+ "alignment": "center",
23149
+ "children": [
23150
+ {
23151
+ "id": "himi_blog_post.comment_menu",
23152
+ "body": {
23153
+ "package": "himalaya",
23154
+ "type": "Menu",
23155
+ "props": {
23156
+ "anchor": {
23157
+ "id": "",
23158
+ "body": {
23159
+ "package": "himalaya",
23160
+ "type": "Icon",
23161
+ "props": {
23162
+ "name": "more_vertical",
23163
+ "size": 18,
23164
+ "tint": "textSecondary"
23165
+ }
23166
+ },
23167
+ "modifiers": {
23168
+ "accessibilityRole": "button",
23169
+ "accessibilityLabel": "Comment actions",
23170
+ "padding": {
23171
+ "leading": 13,
23172
+ "trailing": 13,
23173
+ "top": 4,
23174
+ "bottom": 4
23175
+ }
23176
+ }
23177
+ },
23178
+ "style": "dropdown",
23179
+ "items": [
23180
+ {
23181
+ "id": "report",
23182
+ "label": "Report",
23183
+ "icon": "warning",
23184
+ "action": {
23185
+ "actionId": "tier5.himiBlogPost.reportComment",
23186
+ "params": {
23187
+ "id": "$item.id"
23188
+ }
23189
+ }
23190
+ }
23191
+ ]
23192
+ }
23193
+ }
23194
+ }
23195
+ ]
23196
+ }
23197
+ },
23198
+ "modifiers": {
23199
+ "hiddenPath": "$item.noReport"
23200
+ }
23201
+ }
23202
+ ]
23203
+ }
23204
+ }
23205
+ },
23206
+ {
23207
+ "id": "comment_preview_$item.id",
23208
+ "body": {
23209
+ "package": "himalaya",
23210
+ "type": "Text",
23211
+ "props": {
23212
+ "text": "$item.preview",
23213
+ "style": "body",
23214
+ "maxLines": 2
23215
+ }
23216
+ }
23217
+ },
23218
+ {
23219
+ "id": "",
23220
+ "body": {
23221
+ "package": "himalaya",
23222
+ "type": "HStack",
23223
+ "props": {
23224
+ "spacing": 12,
23225
+ "alignment": "center",
23226
+ "children": [
23227
+ {
23228
+ "id": "",
23229
+ "body": {
23230
+ "package": "himalaya",
23231
+ "type": "HStack",
23232
+ "props": {
23233
+ "spacing": 0,
23234
+ "alignment": "center",
23235
+ "children": [
23236
+ {
23237
+ "id": "himi_blog_post.comment_like",
23238
+ "body": {
23239
+ "package": "himalaya",
23240
+ "type": "HStack",
23241
+ "props": {
23242
+ "spacing": 4,
23243
+ "alignment": "center",
23244
+ "children": [
23245
+ {
23246
+ "id": "",
23247
+ "body": {
23248
+ "package": "himalaya",
23249
+ "type": "Icon",
23250
+ "props": {
23251
+ "name": "heart",
23252
+ "size": 14,
23253
+ "tint": "textSecondary"
23254
+ }
23255
+ },
23256
+ "modifiers": {
23257
+ "accessibilityRole": "decorative"
23258
+ }
23259
+ },
23260
+ {
23261
+ "id": "",
23262
+ "body": {
23263
+ "package": "himalaya",
23264
+ "type": "Text",
23265
+ "props": {
23266
+ "text": "$item.likes",
23267
+ "style": "caption",
23268
+ "color": "textSecondary",
23269
+ "monospacedDigits": true
23270
+ }
23271
+ }
23272
+ }
23273
+ ]
23274
+ }
23275
+ },
23276
+ "modifiers": {
23277
+ "border": {
23278
+ "width": 1,
23279
+ "color": {
23280
+ "token": "border"
23281
+ }
23282
+ },
23283
+ "cornerRadius": 999,
23284
+ "padding": {
23285
+ "leading": 10,
23286
+ "trailing": 10,
23287
+ "top": 4,
23288
+ "bottom": 4
23289
+ },
23290
+ "onTap": {
23291
+ "actionId": "tier5.himiBlogPost.likeComment",
23292
+ "params": {
23293
+ "id": "$item.id"
23294
+ }
23295
+ },
23296
+ "pressFeedback": "scale",
23297
+ "haptic": "light",
23298
+ "accessibilityRole": "button",
23299
+ "accessibilityLabel": "Like",
23300
+ "hiddenPath": "$item.liked"
23301
+ }
23302
+ },
23303
+ {
23304
+ "id": "himi_blog_post.comment_unlike",
23305
+ "body": {
23306
+ "package": "himalaya",
23307
+ "type": "HStack",
23308
+ "props": {
23309
+ "spacing": 4,
23310
+ "alignment": "center",
23311
+ "children": [
23312
+ {
23313
+ "id": "",
23314
+ "body": {
23315
+ "package": "himalaya",
23316
+ "type": "Icon",
23317
+ "props": {
23318
+ "name": "heart_fill",
23319
+ "size": 14,
23320
+ "tint": "danger"
23321
+ }
23322
+ },
23323
+ "modifiers": {
23324
+ "accessibilityRole": "decorative"
23325
+ }
23326
+ },
23327
+ {
23328
+ "id": "",
23329
+ "body": {
23330
+ "package": "himalaya",
23331
+ "type": "Text",
23332
+ "props": {
23333
+ "text": "$item.likes",
23334
+ "style": "caption",
23335
+ "color": "danger",
23336
+ "monospacedDigits": true
23337
+ }
23338
+ }
23339
+ }
23340
+ ]
23341
+ }
23342
+ },
23343
+ "modifiers": {
23344
+ "background": {
23345
+ "token": "dangerSurface"
23346
+ },
23347
+ "cornerRadius": 999,
23348
+ "padding": {
23349
+ "leading": 10,
23350
+ "trailing": 10,
23351
+ "top": 4,
23352
+ "bottom": 4
23353
+ },
23354
+ "onTap": {
23355
+ "actionId": "tier5.himiBlogPost.unlikeComment",
23356
+ "params": {
23357
+ "id": "$item.id"
23358
+ }
23359
+ },
23360
+ "pressFeedback": "scale",
23361
+ "haptic": "light",
23362
+ "accessibilityRole": "button",
23363
+ "accessibilityLabel": "Unlike",
23364
+ "hiddenPath": "$item.notLiked"
23365
+ }
23366
+ }
23367
+ ]
23368
+ }
23369
+ },
23370
+ "modifiers": {
23371
+ "hiddenPath": "$item.noLikes"
23372
+ }
23373
+ },
23374
+ {
23375
+ "id": "",
23376
+ "body": {
23377
+ "package": "himalaya",
23378
+ "type": "HStack",
23379
+ "props": {
23380
+ "spacing": 0,
23381
+ "alignment": "center",
23382
+ "children": [
23383
+ {
23384
+ "id": "himi_blog_post.comment_reply",
23385
+ "body": {
23386
+ "package": "himalaya",
23387
+ "type": "Text",
23388
+ "props": {
23389
+ "text": "Reply",
23390
+ "style": "caption",
23391
+ "color": "textSecondary"
23392
+ }
23393
+ },
23394
+ "modifiers": {
23395
+ "onTap": {
23396
+ "actionId": "tier5.himiBlogPost.replyTo",
23397
+ "params": {
23398
+ "id": "$item.id"
23399
+ }
23400
+ },
23401
+ "accessibilityRole": "button",
23402
+ "padding": {
23403
+ "top": 4,
23404
+ "bottom": 4,
23405
+ "leading": 4,
23406
+ "trailing": 4
23407
+ },
23408
+ "hiddenPath": "$item.noReply"
23409
+ }
23410
+ }
23411
+ ]
23412
+ }
23413
+ },
23414
+ "modifiers": {
23415
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
23416
+ }
23417
+ },
23418
+ {
23419
+ "id": "",
23420
+ "body": {
23421
+ "package": "himalaya",
23422
+ "type": "Spacer",
23423
+ "props": {}
23424
+ }
23425
+ }
23426
+ ]
23427
+ }
23428
+ }
23429
+ }
23430
+ ]
23431
+ }
23432
+ },
23433
+ "modifiers": {
23434
+ "weight": 1
23435
+ }
23436
+ }
23437
+ ]
23438
+ }
23439
+ },
23440
+ "modifiers": {
23441
+ "fillMaxWidth": true
23442
+ }
23443
+ }
23444
+ ]
23445
+ }
23417
23446
  }
23418
23447
  },
23419
23448
  {
23420
- "id": "",
23449
+ "id": "himi_blog_post.comment_open_composer",
23421
23450
  "body": {
23422
23451
  "package": "himalaya",
23423
- "type": "VStack",
23452
+ "type": "HStack",
23424
23453
  "props": {
23425
- "spacing": 4,
23426
- "alignment": "leading",
23454
+ "spacing": 10,
23455
+ "alignment": "center",
23427
23456
  "children": [
23457
+ {
23458
+ "id": "himi_blog_post.comment_input_avatar.photo",
23459
+ "body": {
23460
+ "package": "himalaya",
23461
+ "type": "Image",
23462
+ "props": {
23463
+ "url": "$service:himiBlogPost.memberPhoto",
23464
+ "width": 32,
23465
+ "height": 32,
23466
+ "contentMode": "fill",
23467
+ "shape": "circle"
23468
+ }
23469
+ },
23470
+ "modifiers": {
23471
+ "accessibilityRole": "decorative",
23472
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
23473
+ }
23474
+ },
23428
23475
  {
23429
23476
  "id": "",
23430
23477
  "body": {
23431
23478
  "package": "himalaya",
23432
- "type": "Text",
23479
+ "type": "ZStack",
23433
23480
  "props": {
23434
- "text": "$item.title",
23435
- "style": "bodyEmphasis",
23436
- "maxLines": 2
23481
+ "alignment": "center",
23482
+ "children": [
23483
+ {
23484
+ "id": "",
23485
+ "body": {
23486
+ "package": "himalaya",
23487
+ "type": "Icon",
23488
+ "props": {
23489
+ "name": "person",
23490
+ "size": 16,
23491
+ "tint": "accentPrimary"
23492
+ }
23493
+ },
23494
+ "modifiers": {
23495
+ "accessibilityRole": "decorative",
23496
+ "hiddenPath": "$service:himiBlogPost.isMember"
23497
+ }
23498
+ },
23499
+ {
23500
+ "id": "",
23501
+ "body": {
23502
+ "package": "himalaya",
23503
+ "type": "Text",
23504
+ "props": {
23505
+ "text": "$service:himiBlogPost.memberInitial",
23506
+ "style": "footnote",
23507
+ "color": "accentPrimary",
23508
+ "collapseWhenEmpty": true
23509
+ }
23510
+ }
23511
+ }
23512
+ ]
23437
23513
  }
23514
+ },
23515
+ "modifiers": {
23516
+ "width": 32,
23517
+ "height": 32,
23518
+ "background": {
23519
+ "token": "accentSurface"
23520
+ },
23521
+ "cornerRadius": 16,
23522
+ "accessibilityRole": "decorative",
23523
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
23438
23524
  }
23439
23525
  },
23440
23526
  {
23441
23527
  "id": "",
23442
23528
  "body": {
23443
23529
  "package": "himalaya",
23444
- "type": "Text",
23530
+ "type": "HStack",
23445
23531
  "props": {
23446
- "text": "$item.date",
23447
- "style": "caption",
23448
- "color": "textSecondary",
23449
- "maxLines": 1,
23450
- "collapseWhenEmpty": true
23532
+ "spacing": 0,
23533
+ "alignment": "center",
23534
+ "children": [
23535
+ {
23536
+ "id": "",
23537
+ "body": {
23538
+ "package": "himalaya",
23539
+ "type": "Text",
23540
+ "props": {
23541
+ "text": "Leave a comment…",
23542
+ "style": "body",
23543
+ "color": "textTertiary",
23544
+ "maxLines": 1
23545
+ }
23546
+ }
23547
+ },
23548
+ {
23549
+ "id": "",
23550
+ "body": {
23551
+ "package": "himalaya",
23552
+ "type": "Spacer",
23553
+ "props": {}
23554
+ }
23555
+ }
23556
+ ]
23451
23557
  }
23558
+ },
23559
+ "modifiers": {
23560
+ "background": {
23561
+ "token": "surfacePrimary"
23562
+ },
23563
+ "cornerRadius": 999,
23564
+ "padding": {
23565
+ "leading": 16,
23566
+ "trailing": 16,
23567
+ "top": 10,
23568
+ "bottom": 10
23569
+ },
23570
+ "weight": 1
23452
23571
  }
23453
23572
  }
23454
23573
  ]
23455
23574
  }
23456
- }
23457
- },
23458
- {
23459
- "id": "",
23460
- "body": {
23461
- "package": "himalaya",
23462
- "type": "Spacer",
23463
- "props": {}
23575
+ },
23576
+ "modifiers": {
23577
+ "onTap": {
23578
+ "actionId": "tier5.himiBlogPost.openComposer"
23579
+ },
23580
+ "accessibilityRole": "button",
23581
+ "accessibilityLabel": "Leave a comment…",
23582
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
23464
23583
  }
23465
23584
  }
23466
23585
  ]
23467
23586
  }
23468
23587
  },
23469
23588
  "modifiers": {
23470
- "padding": {
23471
- "leading": 20,
23472
- "trailing": 20,
23473
- "top": 12,
23474
- "bottom": 12
23475
- },
23476
- "onTap": {
23477
- "actionId": "himi.open",
23478
- "params": {
23479
- "screenId": "$item.detailScreenId",
23480
- "id": "$item.id"
23481
- }
23589
+ "background": {
23590
+ "token": "surfaceSecondary"
23482
23591
  },
23483
- "pressFeedback": "scale",
23484
- "haptic": "light",
23485
- "accessibilityLabel": "$item.title"
23592
+ "cornerRadius": 16,
23593
+ "padding": {
23594
+ "leading": 16,
23595
+ "trailing": 16,
23596
+ "top": 16,
23597
+ "bottom": 16
23598
+ }
23486
23599
  }
23487
23600
  }
23488
23601
  ]
23489
23602
  }
23603
+ },
23604
+ "modifiers": {
23605
+ "padding": {
23606
+ "leading": 20,
23607
+ "trailing": 20,
23608
+ "top": 20,
23609
+ "bottom": 20
23610
+ }
23611
+ }
23612
+ }
23613
+ ]
23614
+ }
23615
+ }
23616
+ },
23617
+ {
23618
+ "id": "himi_blog_post.recent_section",
23619
+ "body": {
23620
+ "package": "himalaya",
23621
+ "type": "VStack",
23622
+ "props": {
23623
+ "spacing": 0,
23624
+ "alignment": "leading",
23625
+ "children": [
23626
+ {
23627
+ "id": "himi_blog_post.recent_band",
23628
+ "body": {
23629
+ "package": "himalaya",
23630
+ "type": "VStack",
23631
+ "props": {
23632
+ "spacing": 0,
23633
+ "children": []
23634
+ }
23635
+ },
23636
+ "modifiers": {
23637
+ "height": 12,
23638
+ "fillMaxWidth": true,
23639
+ "background": {
23640
+ "token": "surfaceSecondary"
23641
+ },
23642
+ "accessibilityRole": "decorative"
23490
23643
  }
23491
23644
  },
23492
23645
  {
23493
23646
  "id": "",
23494
23647
  "body": {
23495
23648
  "package": "himalaya",
23496
- "type": "HStack",
23649
+ "type": "VStack",
23497
23650
  "props": {
23498
23651
  "spacing": 0,
23652
+ "alignment": "leading",
23499
23653
  "children": [
23500
23654
  {
23501
23655
  "id": "",
23502
23656
  "body": {
23503
23657
  "package": "himalaya",
23504
- "type": "Spacer",
23505
- "props": {}
23658
+ "type": "Text",
23659
+ "props": {
23660
+ "text": "Recent posts",
23661
+ "style": "title3"
23662
+ }
23663
+ },
23664
+ "modifiers": {
23665
+ "accessibilityRole": "heading"
23506
23666
  }
23507
- },
23667
+ }
23668
+ ]
23669
+ }
23670
+ },
23671
+ "modifiers": {
23672
+ "padding": {
23673
+ "leading": 20,
23674
+ "trailing": 20,
23675
+ "top": 20,
23676
+ "bottom": 4
23677
+ }
23678
+ }
23679
+ },
23680
+ {
23681
+ "id": "himi_blog_post.recent",
23682
+ "body": {
23683
+ "package": "himalaya",
23684
+ "type": "Grid",
23685
+ "props": {
23686
+ "columns": 1,
23687
+ "spacing": 0,
23688
+ "itemsPath": "$service:himiBlogPost.recent",
23689
+ "items": [
23508
23690
  {
23509
- "id": "himi_blog_post.see_all",
23691
+ "id": "himi_blog_post.recent_row",
23510
23692
  "body": {
23511
23693
  "package": "himalaya",
23512
- "type": "Button",
23694
+ "type": "HStack",
23513
23695
  "props": {
23514
- "title": "See All Posts",
23515
- "style": "secondary",
23516
- "fullWidth": false,
23517
- "action": {
23518
- "actionId": "himi.open",
23519
- "params": {
23520
- "screenId": "himi_blog"
23696
+ "spacing": 12,
23697
+ "children": [
23698
+ {
23699
+ "id": "himi_blog_post.recent_cover",
23700
+ "body": {
23701
+ "package": "himalaya",
23702
+ "type": "Image",
23703
+ "props": {
23704
+ "url": "$item.cover",
23705
+ "width": 72,
23706
+ "height": 72,
23707
+ "contentMode": "fill"
23708
+ }
23709
+ },
23710
+ "modifiers": {
23711
+ "accessibilityRole": "decorative",
23712
+ "cornerRadius": 8,
23713
+ "hiddenPath": "$item.noCover"
23714
+ }
23715
+ },
23716
+ {
23717
+ "id": "",
23718
+ "body": {
23719
+ "package": "himalaya",
23720
+ "type": "ZStack",
23721
+ "props": {
23722
+ "alignment": "center",
23723
+ "children": [
23724
+ {
23725
+ "id": "",
23726
+ "body": {
23727
+ "package": "himalaya",
23728
+ "type": "Icon",
23729
+ "props": {
23730
+ "name": "newspaper",
23731
+ "size": 22,
23732
+ "tint": "textTertiary"
23733
+ }
23734
+ },
23735
+ "modifiers": {
23736
+ "accessibilityRole": "decorative"
23737
+ }
23738
+ }
23739
+ ]
23740
+ }
23741
+ },
23742
+ "modifiers": {
23743
+ "width": 72,
23744
+ "height": 72,
23745
+ "background": {
23746
+ "token": "surfaceSecondary"
23747
+ },
23748
+ "cornerRadius": 8,
23749
+ "accessibilityRole": "decorative",
23750
+ "hiddenPath": "$item.hasCover"
23751
+ }
23752
+ },
23753
+ {
23754
+ "id": "",
23755
+ "body": {
23756
+ "package": "himalaya",
23757
+ "type": "VStack",
23758
+ "props": {
23759
+ "spacing": 4,
23760
+ "alignment": "leading",
23761
+ "children": [
23762
+ {
23763
+ "id": "",
23764
+ "body": {
23765
+ "package": "himalaya",
23766
+ "type": "Text",
23767
+ "props": {
23768
+ "text": "$item.title",
23769
+ "style": "bodyEmphasis",
23770
+ "maxLines": 2
23771
+ }
23772
+ }
23773
+ },
23774
+ {
23775
+ "id": "",
23776
+ "body": {
23777
+ "package": "himalaya",
23778
+ "type": "Text",
23779
+ "props": {
23780
+ "text": "$item.date",
23781
+ "style": "caption",
23782
+ "color": "textSecondary",
23783
+ "maxLines": 1,
23784
+ "collapseWhenEmpty": true
23785
+ }
23786
+ }
23787
+ }
23788
+ ]
23789
+ }
23790
+ }
23791
+ },
23792
+ {
23793
+ "id": "",
23794
+ "body": {
23795
+ "package": "himalaya",
23796
+ "type": "Spacer",
23797
+ "props": {}
23798
+ }
23799
+ }
23800
+ ]
23801
+ }
23802
+ },
23803
+ "modifiers": {
23804
+ "padding": {
23805
+ "leading": 20,
23806
+ "trailing": 20,
23807
+ "top": 12,
23808
+ "bottom": 12
23809
+ },
23810
+ "onTap": {
23811
+ "actionId": "himi.open",
23812
+ "params": {
23813
+ "screenId": "$item.detailScreenId",
23814
+ "id": "$item.id"
23815
+ }
23816
+ },
23817
+ "pressFeedback": "scale",
23818
+ "haptic": "light",
23819
+ "accessibilityLabel": "$item.title"
23820
+ }
23821
+ }
23822
+ ]
23823
+ }
23824
+ }
23825
+ },
23826
+ {
23827
+ "id": "",
23828
+ "body": {
23829
+ "package": "himalaya",
23830
+ "type": "HStack",
23831
+ "props": {
23832
+ "spacing": 0,
23833
+ "children": [
23834
+ {
23835
+ "id": "",
23836
+ "body": {
23837
+ "package": "himalaya",
23838
+ "type": "Spacer",
23839
+ "props": {}
23840
+ }
23841
+ },
23842
+ {
23843
+ "id": "himi_blog_post.see_all",
23844
+ "body": {
23845
+ "package": "himalaya",
23846
+ "type": "Button",
23847
+ "props": {
23848
+ "title": "See All Posts",
23849
+ "style": "secondary",
23850
+ "fullWidth": false,
23851
+ "action": {
23852
+ "actionId": "himi.open",
23853
+ "params": {
23854
+ "screenId": "himi_blog"
23855
+ }
23856
+ }
23857
+ }
23858
+ }
23859
+ },
23860
+ {
23861
+ "id": "",
23862
+ "body": {
23863
+ "package": "himalaya",
23864
+ "type": "Spacer",
23865
+ "props": {}
23866
+ }
23867
+ }
23868
+ ]
23869
+ }
23870
+ },
23871
+ "modifiers": {
23872
+ "padding": {
23873
+ "top": 12,
23874
+ "bottom": 8
23875
+ }
23876
+ }
23877
+ }
23878
+ ]
23879
+ }
23880
+ },
23881
+ "modifiers": {
23882
+ "hiddenPath": "$service:himiBlogPost.noRecent"
23883
+ }
23884
+ }
23885
+ ]
23886
+ }
23887
+ },
23888
+ "modifiers": {
23889
+ "hiddenPath": "$service:himiBlogPost.noPost"
23890
+ }
23891
+ },
23892
+ {
23893
+ "id": "himi_blog_post.more_sheet",
23894
+ "body": {
23895
+ "package": "himalaya",
23896
+ "type": "BottomSheet",
23897
+ "props": {
23898
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
23899
+ "dismissible": true,
23900
+ "showGrabber": true,
23901
+ "onDismiss": {
23902
+ "actionId": "tier5.himiBlogPost.closeMore"
23903
+ },
23904
+ "content": {
23905
+ "id": "",
23906
+ "body": {
23907
+ "package": "himalaya",
23908
+ "type": "VStack",
23909
+ "props": {
23910
+ "spacing": 0,
23911
+ "alignment": "leading",
23912
+ "children": [
23913
+ {
23914
+ "id": "himi_blog_post.report",
23915
+ "body": {
23916
+ "package": "himalaya",
23917
+ "type": "HStack",
23918
+ "props": {
23919
+ "spacing": 14,
23920
+ "alignment": "center",
23921
+ "children": [
23922
+ {
23923
+ "id": "",
23924
+ "body": {
23925
+ "package": "himalaya",
23926
+ "type": "Icon",
23927
+ "props": {
23928
+ "name": "warning",
23929
+ "size": 22,
23930
+ "tint": "textPrimary"
23931
+ }
23932
+ },
23933
+ "modifiers": {
23934
+ "accessibilityRole": "decorative"
23935
+ }
23936
+ },
23937
+ {
23938
+ "id": "",
23939
+ "body": {
23940
+ "package": "himalaya",
23941
+ "type": "Text",
23942
+ "props": {
23943
+ "text": "Report",
23944
+ "style": "body"
23945
+ }
23946
+ }
23947
+ },
23948
+ {
23949
+ "id": "",
23950
+ "body": {
23951
+ "package": "himalaya",
23952
+ "type": "Spacer",
23953
+ "props": {}
23954
+ }
23955
+ }
23956
+ ]
23957
+ }
23958
+ },
23959
+ "modifiers": {
23960
+ "onTap": {
23961
+ "actionId": "tier5.himiBlogPost.report"
23962
+ },
23963
+ "accessibilityRole": "button",
23964
+ "accessibilityLabel": "Report",
23965
+ "padding": {
23966
+ "top": 11,
23967
+ "bottom": 11
23968
+ },
23969
+ "hiddenPath": "$service:himiBlogPost.reported"
23970
+ }
23971
+ },
23972
+ {
23973
+ "id": "himi_blog_post.hide",
23974
+ "body": {
23975
+ "package": "himalaya",
23976
+ "type": "HStack",
23977
+ "props": {
23978
+ "spacing": 14,
23979
+ "alignment": "center",
23980
+ "children": [
23981
+ {
23982
+ "id": "",
23983
+ "body": {
23984
+ "package": "himalaya",
23985
+ "type": "Icon",
23986
+ "props": {
23987
+ "name": "concealed",
23988
+ "size": 22,
23989
+ "tint": "textPrimary"
23990
+ }
23991
+ },
23992
+ "modifiers": {
23993
+ "accessibilityRole": "decorative"
23994
+ }
23995
+ },
23996
+ {
23997
+ "id": "",
23998
+ "body": {
23999
+ "package": "himalaya",
24000
+ "type": "Text",
24001
+ "props": {
24002
+ "text": "Hide post",
24003
+ "style": "body"
24004
+ }
24005
+ }
24006
+ },
24007
+ {
24008
+ "id": "",
24009
+ "body": {
24010
+ "package": "himalaya",
24011
+ "type": "Spacer",
24012
+ "props": {}
24013
+ }
24014
+ }
24015
+ ]
24016
+ }
24017
+ },
24018
+ "modifiers": {
24019
+ "onTap": {
24020
+ "actionId": "tier5.himiBlogPost.openHide"
24021
+ },
24022
+ "accessibilityRole": "button",
24023
+ "accessibilityLabel": "Hide post",
24024
+ "padding": {
24025
+ "top": 11,
24026
+ "bottom": 11
24027
+ },
24028
+ "hiddenPath": "$service:himiBlogPost.hidden"
24029
+ }
24030
+ },
24031
+ {
24032
+ "id": "himi_blog_post.unhide",
24033
+ "body": {
24034
+ "package": "himalaya",
24035
+ "type": "HStack",
24036
+ "props": {
24037
+ "spacing": 14,
24038
+ "alignment": "center",
24039
+ "children": [
24040
+ {
24041
+ "id": "",
24042
+ "body": {
24043
+ "package": "himalaya",
24044
+ "type": "Icon",
24045
+ "props": {
24046
+ "name": "visible",
24047
+ "size": 22,
24048
+ "tint": "textPrimary"
24049
+ }
24050
+ },
24051
+ "modifiers": {
24052
+ "accessibilityRole": "decorative"
24053
+ }
24054
+ },
24055
+ {
24056
+ "id": "",
24057
+ "body": {
24058
+ "package": "himalaya",
24059
+ "type": "Text",
24060
+ "props": {
24061
+ "text": "Undo hide",
24062
+ "style": "body"
24063
+ }
24064
+ }
24065
+ },
24066
+ {
24067
+ "id": "",
24068
+ "body": {
24069
+ "package": "himalaya",
24070
+ "type": "Spacer",
24071
+ "props": {}
24072
+ }
24073
+ }
24074
+ ]
24075
+ }
24076
+ },
24077
+ "modifiers": {
24078
+ "onTap": {
24079
+ "actionId": "tier5.himiBlogPost.unhide"
24080
+ },
24081
+ "accessibilityRole": "button",
24082
+ "accessibilityLabel": "Undo hide",
24083
+ "padding": {
24084
+ "top": 11,
24085
+ "bottom": 11
24086
+ },
24087
+ "hiddenPath": "$service:himiBlogPost.notHidden"
24088
+ }
24089
+ }
24090
+ ]
24091
+ }
24092
+ },
24093
+ "modifiers": {
24094
+ "padding": {
24095
+ "leading": 20,
24096
+ "trailing": 20,
24097
+ "top": 0,
24098
+ "bottom": 8
24099
+ }
24100
+ }
24101
+ }
24102
+ }
24103
+ }
24104
+ },
24105
+ {
24106
+ "id": "himi_blog_post.hide_sheet",
24107
+ "body": {
24108
+ "package": "himalaya",
24109
+ "type": "BottomSheet",
24110
+ "props": {
24111
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
24112
+ "dismissible": true,
24113
+ "showGrabber": true,
24114
+ "onDismiss": {
24115
+ "actionId": "tier5.himiBlogPost.closeHide"
24116
+ },
24117
+ "content": {
24118
+ "id": "",
24119
+ "body": {
24120
+ "package": "himalaya",
24121
+ "type": "VStack",
24122
+ "props": {
24123
+ "spacing": 0,
24124
+ "alignment": "leading",
24125
+ "children": [
24126
+ {
24127
+ "id": "",
24128
+ "body": {
24129
+ "package": "himalaya",
24130
+ "type": "Text",
24131
+ "props": {
24132
+ "text": "Why are you hiding this post?",
24133
+ "style": "title3"
24134
+ }
24135
+ },
24136
+ "modifiers": {
24137
+ "padding": {
24138
+ "bottom": 6
24139
+ }
24140
+ }
24141
+ },
24142
+ {
24143
+ "id": "himi_blog_post.hide_offensive",
24144
+ "body": {
24145
+ "package": "himalaya",
24146
+ "type": "HStack",
24147
+ "props": {
24148
+ "spacing": 14,
24149
+ "alignment": "center",
24150
+ "children": [
24151
+ {
24152
+ "id": "",
24153
+ "body": {
24154
+ "package": "himalaya",
24155
+ "type": "Text",
24156
+ "props": {
24157
+ "text": "It is offensive",
24158
+ "style": "body"
24159
+ }
24160
+ }
24161
+ },
24162
+ {
24163
+ "id": "",
24164
+ "body": {
24165
+ "package": "himalaya",
24166
+ "type": "Spacer",
24167
+ "props": {}
24168
+ }
24169
+ }
24170
+ ]
24171
+ }
24172
+ },
24173
+ "modifiers": {
24174
+ "onTap": {
24175
+ "actionId": "tier5.himiBlogPost.hide",
24176
+ "params": {
24177
+ "reason": "offensive"
24178
+ }
24179
+ },
24180
+ "accessibilityRole": "button",
24181
+ "accessibilityLabel": "It is offensive",
24182
+ "padding": {
24183
+ "top": 11,
24184
+ "bottom": 11
24185
+ }
24186
+ }
24187
+ },
24188
+ {
24189
+ "id": "himi_blog_post.hide_misleading",
24190
+ "body": {
24191
+ "package": "himalaya",
24192
+ "type": "HStack",
24193
+ "props": {
24194
+ "spacing": 14,
24195
+ "alignment": "center",
24196
+ "children": [
24197
+ {
24198
+ "id": "",
24199
+ "body": {
24200
+ "package": "himalaya",
24201
+ "type": "Text",
24202
+ "props": {
24203
+ "text": "It is misleading",
24204
+ "style": "body"
24205
+ }
24206
+ }
24207
+ },
24208
+ {
24209
+ "id": "",
24210
+ "body": {
24211
+ "package": "himalaya",
24212
+ "type": "Spacer",
24213
+ "props": {}
24214
+ }
24215
+ }
24216
+ ]
24217
+ }
24218
+ },
24219
+ "modifiers": {
24220
+ "onTap": {
24221
+ "actionId": "tier5.himiBlogPost.hide",
24222
+ "params": {
24223
+ "reason": "misleading"
24224
+ }
24225
+ },
24226
+ "accessibilityRole": "button",
24227
+ "accessibilityLabel": "It is misleading",
24228
+ "padding": {
24229
+ "top": 11,
24230
+ "bottom": 11
24231
+ }
24232
+ }
24233
+ },
24234
+ {
24235
+ "id": "himi_blog_post.hide_other",
24236
+ "body": {
24237
+ "package": "himalaya",
24238
+ "type": "HStack",
24239
+ "props": {
24240
+ "spacing": 14,
24241
+ "alignment": "center",
24242
+ "children": [
24243
+ {
24244
+ "id": "",
24245
+ "body": {
24246
+ "package": "himalaya",
24247
+ "type": "Text",
24248
+ "props": {
24249
+ "text": "Something else",
24250
+ "style": "body"
24251
+ }
24252
+ }
24253
+ },
24254
+ {
24255
+ "id": "",
24256
+ "body": {
24257
+ "package": "himalaya",
24258
+ "type": "Spacer",
24259
+ "props": {}
24260
+ }
24261
+ }
24262
+ ]
24263
+ }
24264
+ },
24265
+ "modifiers": {
24266
+ "onTap": {
24267
+ "actionId": "tier5.himiBlogPost.hide",
24268
+ "params": {
24269
+ "reason": "other"
24270
+ }
24271
+ },
24272
+ "accessibilityRole": "button",
24273
+ "accessibilityLabel": "Something else",
24274
+ "padding": {
24275
+ "top": 11,
24276
+ "bottom": 11
24277
+ }
24278
+ }
24279
+ },
24280
+ {
24281
+ "id": "himi_blog_post.hide_cancel",
24282
+ "body": {
24283
+ "package": "himalaya",
24284
+ "type": "Button",
24285
+ "props": {
24286
+ "title": "Cancel",
24287
+ "style": "secondary",
24288
+ "fullWidth": true,
24289
+ "action": {
24290
+ "actionId": "tier5.himiBlogPost.closeHide"
24291
+ }
24292
+ }
24293
+ },
24294
+ "modifiers": {
24295
+ "padding": {
24296
+ "top": 8
24297
+ }
24298
+ }
24299
+ }
24300
+ ]
24301
+ }
24302
+ },
24303
+ "modifiers": {
24304
+ "padding": {
24305
+ "leading": 20,
24306
+ "trailing": 20,
24307
+ "top": 12,
24308
+ "bottom": 8
24309
+ }
24310
+ }
24311
+ }
24312
+ }
24313
+ }
24314
+ },
24315
+ {
24316
+ "id": "himi_blog_post.comments_sheet",
24317
+ "body": {
24318
+ "package": "himalaya",
24319
+ "type": "BottomSheet",
24320
+ "props": {
24321
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
24322
+ "dismissible": true,
24323
+ "showGrabber": true,
24324
+ "detents": [
24325
+ 0.9
24326
+ ],
24327
+ "onDismiss": {
24328
+ "actionId": "tier5.himiBlogPost.closeComments"
24329
+ },
24330
+ "content": {
24331
+ "id": "",
24332
+ "body": {
24333
+ "package": "himalaya",
24334
+ "type": "VStack",
24335
+ "props": {
24336
+ "spacing": 12,
24337
+ "alignment": "leading",
24338
+ "children": [
24339
+ {
24340
+ "id": "",
24341
+ "body": {
24342
+ "package": "himalaya",
24343
+ "type": "HStack",
24344
+ "props": {
24345
+ "spacing": 8,
24346
+ "alignment": "center",
24347
+ "children": [
24348
+ {
24349
+ "id": "",
24350
+ "body": {
24351
+ "package": "himalaya",
24352
+ "type": "VStack",
24353
+ "props": {
24354
+ "spacing": 2,
24355
+ "alignment": "leading",
24356
+ "children": [
24357
+ {
24358
+ "id": "himi_blog_post.comments_sheet_title",
24359
+ "body": {
24360
+ "package": "himalaya",
24361
+ "type": "Text",
24362
+ "props": {
24363
+ "text": "$service:himiBlogPost.sheetTitle",
24364
+ "style": "title3"
24365
+ }
24366
+ },
24367
+ "modifiers": {
24368
+ "accessibilityRole": "heading"
24369
+ }
24370
+ },
24371
+ {
24372
+ "id": "",
24373
+ "body": {
24374
+ "package": "himalaya",
24375
+ "type": "Text",
24376
+ "props": {
24377
+ "text": "$service:himiBlogPost.title",
24378
+ "style": "footnote",
24379
+ "color": "textSecondary",
24380
+ "maxLines": 1,
24381
+ "collapseWhenEmpty": true
24382
+ }
24383
+ }
24384
+ }
24385
+ ]
24386
+ }
24387
+ }
24388
+ },
24389
+ {
24390
+ "id": "",
24391
+ "body": {
24392
+ "package": "himalaya",
24393
+ "type": "Spacer",
24394
+ "props": {}
24395
+ }
24396
+ },
24397
+ {
24398
+ "id": "himi_blog_post.comments_close",
24399
+ "body": {
24400
+ "package": "himalaya",
24401
+ "type": "Icon",
24402
+ "props": {
24403
+ "name": "chevron_down",
24404
+ "size": 22,
24405
+ "tint": "textPrimary"
24406
+ }
24407
+ },
24408
+ "modifiers": {
24409
+ "accessibilityRole": "button",
24410
+ "onTap": {
24411
+ "actionId": "tier5.himiBlogPost.closeComments"
24412
+ },
24413
+ "accessibilityLabel": "Close comments",
24414
+ "padding": {
24415
+ "leading": 11,
24416
+ "trailing": 11,
24417
+ "top": 11,
24418
+ "bottom": 11
24419
+ }
24420
+ }
24421
+ }
24422
+ ]
24423
+ }
24424
+ }
24425
+ },
24426
+ {
24427
+ "id": "",
24428
+ "body": {
24429
+ "package": "himalaya",
24430
+ "type": "Text",
24431
+ "props": {
24432
+ "text": "$service:himiBlogPost.commentStatusText",
24433
+ "style": "footnote",
24434
+ "color": "textSecondary"
24435
+ }
24436
+ },
24437
+ "modifiers": {
24438
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
24439
+ }
24440
+ },
24441
+ {
24442
+ "id": "",
24443
+ "body": {
24444
+ "package": "himalaya",
24445
+ "type": "VStack",
24446
+ "props": {
24447
+ "spacing": 4,
24448
+ "alignment": "leading",
24449
+ "children": [
24450
+ {
24451
+ "id": "",
24452
+ "body": {
24453
+ "package": "himalaya",
24454
+ "type": "Text",
24455
+ "props": {
24456
+ "text": "No comments yet",
24457
+ "style": "bodyEmphasis"
24458
+ }
24459
+ }
24460
+ },
24461
+ {
24462
+ "id": "",
24463
+ "body": {
24464
+ "package": "himalaya",
24465
+ "type": "Text",
24466
+ "props": {
24467
+ "text": "Be the first to share your thoughts.",
24468
+ "style": "footnote",
24469
+ "color": "textSecondary"
24470
+ }
24471
+ }
24472
+ }
24473
+ ]
24474
+ }
24475
+ },
24476
+ "modifiers": {
24477
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
24478
+ }
24479
+ },
24480
+ {
24481
+ "id": "himi_blog_post.sheet_comments",
24482
+ "body": {
24483
+ "package": "himalaya",
24484
+ "type": "LazyList",
24485
+ "props": {
24486
+ "spacing": 4,
24487
+ "itemsPath": "$service:himiBlogPost.comments",
24488
+ "items": [
24489
+ {
24490
+ "id": "himi_blog_post.sheet_comment_row",
24491
+ "body": {
24492
+ "package": "himalaya",
24493
+ "type": "VStack",
24494
+ "props": {
24495
+ "spacing": 0,
24496
+ "alignment": "leading",
24497
+ "children": [
24498
+ {
24499
+ "id": "",
24500
+ "body": {
24501
+ "package": "himalaya",
24502
+ "type": "VStack",
24503
+ "props": {
24504
+ "spacing": 0,
24505
+ "alignment": "leading",
24506
+ "children": [
24507
+ {
24508
+ "id": "",
24509
+ "body": {
24510
+ "package": "himalaya",
24511
+ "type": "HStack",
24512
+ "props": {
24513
+ "spacing": 10,
24514
+ "alignment": "leading",
24515
+ "children": [
24516
+ {
24517
+ "id": "himi_blog_post.comment_avatar.photo",
24518
+ "body": {
24519
+ "package": "himalaya",
24520
+ "type": "Image",
24521
+ "props": {
24522
+ "url": "$item.authorPhoto",
24523
+ "width": 32,
24524
+ "height": 32,
24525
+ "contentMode": "fill",
24526
+ "shape": "circle"
24527
+ }
24528
+ },
24529
+ "modifiers": {
24530
+ "accessibilityRole": "decorative",
24531
+ "hiddenPath": "$item.noAuthorPhoto"
24532
+ }
24533
+ },
24534
+ {
24535
+ "id": "",
24536
+ "body": {
24537
+ "package": "himalaya",
24538
+ "type": "ZStack",
24539
+ "props": {
24540
+ "alignment": "center",
24541
+ "children": [
24542
+ {
24543
+ "id": "",
24544
+ "body": {
24545
+ "package": "himalaya",
24546
+ "type": "Text",
24547
+ "props": {
24548
+ "text": "$item.authorInitial",
24549
+ "style": "footnote",
24550
+ "color": "accentPrimary",
24551
+ "collapseWhenEmpty": true
24552
+ }
24553
+ }
24554
+ }
24555
+ ]
24556
+ }
24557
+ },
24558
+ "modifiers": {
24559
+ "width": 32,
24560
+ "height": 32,
24561
+ "background": {
24562
+ "token": "accentSurface"
24563
+ },
24564
+ "cornerRadius": 16,
24565
+ "accessibilityRole": "decorative",
24566
+ "hiddenPath": "$item.hasAuthorPhoto"
24567
+ }
24568
+ },
24569
+ {
24570
+ "id": "",
24571
+ "body": {
24572
+ "package": "himalaya",
24573
+ "type": "VStack",
24574
+ "props": {
24575
+ "spacing": 4,
24576
+ "alignment": "leading",
24577
+ "children": [
24578
+ {
24579
+ "id": "",
24580
+ "body": {
24581
+ "package": "himalaya",
24582
+ "type": "HStack",
24583
+ "props": {
24584
+ "spacing": 6,
24585
+ "alignment": "center",
24586
+ "children": [
24587
+ {
24588
+ "id": "",
24589
+ "body": {
24590
+ "package": "himalaya",
24591
+ "type": "Text",
24592
+ "props": {
24593
+ "text": "$item.authorName",
24594
+ "style": "footnote",
24595
+ "maxLines": 1
24596
+ }
24597
+ }
24598
+ },
24599
+ {
24600
+ "id": "",
24601
+ "body": {
24602
+ "package": "himalaya",
24603
+ "type": "Text",
24604
+ "props": {
24605
+ "text": "$item.meta",
24606
+ "style": "caption",
24607
+ "color": "textTertiary",
24608
+ "maxLines": 1,
24609
+ "collapseWhenEmpty": true
24610
+ }
24611
+ }
24612
+ },
24613
+ {
24614
+ "id": "",
24615
+ "body": {
24616
+ "package": "himalaya",
24617
+ "type": "Spacer",
24618
+ "props": {}
24619
+ }
24620
+ },
24621
+ {
24622
+ "id": "",
24623
+ "body": {
24624
+ "package": "himalaya",
24625
+ "type": "HStack",
24626
+ "props": {
24627
+ "spacing": 0,
24628
+ "alignment": "center",
24629
+ "children": [
24630
+ {
24631
+ "id": "himi_blog_post.reply_menu",
24632
+ "body": {
24633
+ "package": "himalaya",
24634
+ "type": "Menu",
24635
+ "props": {
24636
+ "anchor": {
24637
+ "id": "",
24638
+ "body": {
24639
+ "package": "himalaya",
24640
+ "type": "Icon",
24641
+ "props": {
24642
+ "name": "more_vertical",
24643
+ "size": 18,
24644
+ "tint": "textSecondary"
24645
+ }
24646
+ },
24647
+ "modifiers": {
24648
+ "accessibilityRole": "button",
24649
+ "accessibilityLabel": "Comment actions",
24650
+ "padding": {
24651
+ "leading": 13,
24652
+ "trailing": 13,
24653
+ "top": 4,
24654
+ "bottom": 4
24655
+ }
24656
+ }
24657
+ },
24658
+ "style": "dropdown",
24659
+ "items": [
24660
+ {
24661
+ "id": "report",
24662
+ "label": "Report",
24663
+ "icon": "warning",
24664
+ "action": {
24665
+ "actionId": "tier5.himiBlogPost.reportComment",
24666
+ "params": {
24667
+ "id": "$item.id"
24668
+ }
24669
+ }
24670
+ }
24671
+ ]
24672
+ }
24673
+ }
24674
+ }
24675
+ ]
24676
+ }
24677
+ },
24678
+ "modifiers": {
24679
+ "hiddenPath": "$item.noReport"
24680
+ }
24681
+ }
24682
+ ]
24683
+ }
24684
+ }
24685
+ },
24686
+ {
24687
+ "id": "",
24688
+ "body": {
24689
+ "package": "himalaya",
24690
+ "type": "VStack",
24691
+ "props": {
24692
+ "spacing": 0,
24693
+ "alignment": "leading",
24694
+ "children": [
24695
+ {
24696
+ "id": "reply_body_$item.id",
24697
+ "body": {
24698
+ "package": "himalaya",
24699
+ "type": "RichContent",
24700
+ "props": {
24701
+ "documentJsonPath": "$item.bodyJson",
24702
+ "onLink": {
24703
+ "actionId": "tier5.himiBlogPost.openLink"
24704
+ },
24705
+ "fallback": {
24706
+ "id": "",
24707
+ "body": {
24708
+ "package": "himalaya",
24709
+ "type": "Text",
24710
+ "props": {
24711
+ "text": "$item.text",
24712
+ "style": "body",
24713
+ "collapseWhenEmpty": true
24714
+ }
24715
+ }
24716
+ }
24717
+ }
24718
+ }
24719
+ },
24720
+ {
24721
+ "id": "reply_body_text_$item.id",
24722
+ "body": {
24723
+ "package": "himalaya",
24724
+ "type": "Text",
24725
+ "props": {
24726
+ "text": "$item.text",
24727
+ "style": "body",
24728
+ "collapseWhenEmpty": true
24729
+ }
24730
+ },
24731
+ "modifiers": {
24732
+ "hiddenPath": "$item.hasBodyJson"
24733
+ }
24734
+ }
24735
+ ]
24736
+ }
24737
+ }
24738
+ },
24739
+ {
24740
+ "id": "",
24741
+ "body": {
24742
+ "package": "himalaya",
24743
+ "type": "HStack",
24744
+ "props": {
24745
+ "spacing": 12,
24746
+ "alignment": "center",
24747
+ "children": [
24748
+ {
24749
+ "id": "",
24750
+ "body": {
24751
+ "package": "himalaya",
24752
+ "type": "HStack",
24753
+ "props": {
24754
+ "spacing": 0,
24755
+ "alignment": "center",
24756
+ "children": [
24757
+ {
24758
+ "id": "himi_blog_post.comment_like",
24759
+ "body": {
24760
+ "package": "himalaya",
24761
+ "type": "HStack",
24762
+ "props": {
24763
+ "spacing": 4,
24764
+ "alignment": "center",
24765
+ "children": [
24766
+ {
24767
+ "id": "",
24768
+ "body": {
24769
+ "package": "himalaya",
24770
+ "type": "Icon",
24771
+ "props": {
24772
+ "name": "heart",
24773
+ "size": 14,
24774
+ "tint": "textSecondary"
24775
+ }
24776
+ },
24777
+ "modifiers": {
24778
+ "accessibilityRole": "decorative"
24779
+ }
24780
+ },
24781
+ {
24782
+ "id": "",
24783
+ "body": {
24784
+ "package": "himalaya",
24785
+ "type": "Text",
24786
+ "props": {
24787
+ "text": "$item.likes",
24788
+ "style": "caption",
24789
+ "color": "textSecondary",
24790
+ "monospacedDigits": true
24791
+ }
24792
+ }
24793
+ }
24794
+ ]
24795
+ }
24796
+ },
24797
+ "modifiers": {
24798
+ "border": {
24799
+ "width": 1,
24800
+ "color": {
24801
+ "token": "border"
24802
+ }
24803
+ },
24804
+ "cornerRadius": 999,
24805
+ "padding": {
24806
+ "leading": 10,
24807
+ "trailing": 10,
24808
+ "top": 4,
24809
+ "bottom": 4
24810
+ },
24811
+ "onTap": {
24812
+ "actionId": "tier5.himiBlogPost.likeComment",
24813
+ "params": {
24814
+ "id": "$item.id"
24815
+ }
24816
+ },
24817
+ "pressFeedback": "scale",
24818
+ "haptic": "light",
24819
+ "accessibilityRole": "button",
24820
+ "accessibilityLabel": "Like",
24821
+ "hiddenPath": "$item.liked"
24822
+ }
24823
+ },
24824
+ {
24825
+ "id": "himi_blog_post.comment_unlike",
24826
+ "body": {
24827
+ "package": "himalaya",
24828
+ "type": "HStack",
24829
+ "props": {
24830
+ "spacing": 4,
24831
+ "alignment": "center",
24832
+ "children": [
24833
+ {
24834
+ "id": "",
24835
+ "body": {
24836
+ "package": "himalaya",
24837
+ "type": "Icon",
24838
+ "props": {
24839
+ "name": "heart_fill",
24840
+ "size": 14,
24841
+ "tint": "danger"
24842
+ }
24843
+ },
24844
+ "modifiers": {
24845
+ "accessibilityRole": "decorative"
24846
+ }
24847
+ },
24848
+ {
24849
+ "id": "",
24850
+ "body": {
24851
+ "package": "himalaya",
24852
+ "type": "Text",
24853
+ "props": {
24854
+ "text": "$item.likes",
24855
+ "style": "caption",
24856
+ "color": "danger",
24857
+ "monospacedDigits": true
24858
+ }
24859
+ }
24860
+ }
24861
+ ]
24862
+ }
24863
+ },
24864
+ "modifiers": {
24865
+ "background": {
24866
+ "token": "dangerSurface"
24867
+ },
24868
+ "cornerRadius": 999,
24869
+ "padding": {
24870
+ "leading": 10,
24871
+ "trailing": 10,
24872
+ "top": 4,
24873
+ "bottom": 4
24874
+ },
24875
+ "onTap": {
24876
+ "actionId": "tier5.himiBlogPost.unlikeComment",
24877
+ "params": {
24878
+ "id": "$item.id"
24879
+ }
24880
+ },
24881
+ "pressFeedback": "scale",
24882
+ "haptic": "light",
24883
+ "accessibilityRole": "button",
24884
+ "accessibilityLabel": "Unlike",
24885
+ "hiddenPath": "$item.notLiked"
24886
+ }
24887
+ }
24888
+ ]
24889
+ }
24890
+ },
24891
+ "modifiers": {
24892
+ "hiddenPath": "$item.noLikes"
24893
+ }
24894
+ },
24895
+ {
24896
+ "id": "",
24897
+ "body": {
24898
+ "package": "himalaya",
24899
+ "type": "HStack",
24900
+ "props": {
24901
+ "spacing": 0,
24902
+ "alignment": "center",
24903
+ "children": [
24904
+ {
24905
+ "id": "himi_blog_post.comment_reply",
24906
+ "body": {
24907
+ "package": "himalaya",
24908
+ "type": "Text",
24909
+ "props": {
24910
+ "text": "Reply",
24911
+ "style": "caption",
24912
+ "color": "textSecondary"
24913
+ }
24914
+ },
24915
+ "modifiers": {
24916
+ "onTap": {
24917
+ "actionId": "tier5.himiBlogPost.replyTo",
24918
+ "params": {
24919
+ "id": "$item.id"
24920
+ }
24921
+ },
24922
+ "accessibilityRole": "button",
24923
+ "padding": {
24924
+ "top": 4,
24925
+ "bottom": 4,
24926
+ "leading": 4,
24927
+ "trailing": 4
24928
+ },
24929
+ "hiddenPath": "$item.noReply"
24930
+ }
24931
+ }
24932
+ ]
24933
+ }
24934
+ },
24935
+ "modifiers": {
24936
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
24937
+ }
24938
+ },
24939
+ {
24940
+ "id": "",
24941
+ "body": {
24942
+ "package": "himalaya",
24943
+ "type": "Spacer",
24944
+ "props": {}
24945
+ }
24946
+ }
24947
+ ]
24948
+ }
24949
+ }
24950
+ }
24951
+ ]
24952
+ }
24953
+ },
24954
+ "modifiers": {
24955
+ "weight": 1
24956
+ }
24957
+ }
24958
+ ]
24959
+ }
24960
+ },
24961
+ "modifiers": {
24962
+ "fillMaxWidth": true
24963
+ }
24964
+ }
24965
+ ]
24966
+ }
24967
+ },
24968
+ "modifiers": {
24969
+ "padding": {
24970
+ "leading": 42
24971
+ },
24972
+ "hiddenPath": "$item.notReply"
24973
+ }
24974
+ },
24975
+ {
24976
+ "id": "",
24977
+ "body": {
24978
+ "package": "himalaya",
24979
+ "type": "HStack",
24980
+ "props": {
24981
+ "spacing": 10,
24982
+ "alignment": "leading",
24983
+ "children": [
24984
+ {
24985
+ "id": "himi_blog_post.comment_avatar.photo",
24986
+ "body": {
24987
+ "package": "himalaya",
24988
+ "type": "Image",
24989
+ "props": {
24990
+ "url": "$item.authorPhoto",
24991
+ "width": 32,
24992
+ "height": 32,
24993
+ "contentMode": "fill",
24994
+ "shape": "circle"
24995
+ }
24996
+ },
24997
+ "modifiers": {
24998
+ "accessibilityRole": "decorative",
24999
+ "hiddenPath": "$item.noAuthorPhoto"
25000
+ }
25001
+ },
25002
+ {
25003
+ "id": "",
25004
+ "body": {
25005
+ "package": "himalaya",
25006
+ "type": "ZStack",
25007
+ "props": {
25008
+ "alignment": "center",
25009
+ "children": [
25010
+ {
25011
+ "id": "",
25012
+ "body": {
25013
+ "package": "himalaya",
25014
+ "type": "Text",
25015
+ "props": {
25016
+ "text": "$item.authorInitial",
25017
+ "style": "footnote",
25018
+ "color": "accentPrimary",
25019
+ "collapseWhenEmpty": true
25020
+ }
25021
+ }
25022
+ }
25023
+ ]
25024
+ }
25025
+ },
25026
+ "modifiers": {
25027
+ "width": 32,
25028
+ "height": 32,
25029
+ "background": {
25030
+ "token": "accentSurface"
25031
+ },
25032
+ "cornerRadius": 16,
25033
+ "accessibilityRole": "decorative",
25034
+ "hiddenPath": "$item.hasAuthorPhoto"
25035
+ }
25036
+ },
25037
+ {
25038
+ "id": "",
25039
+ "body": {
25040
+ "package": "himalaya",
25041
+ "type": "VStack",
25042
+ "props": {
25043
+ "spacing": 4,
25044
+ "alignment": "leading",
25045
+ "children": [
25046
+ {
25047
+ "id": "",
25048
+ "body": {
25049
+ "package": "himalaya",
25050
+ "type": "HStack",
25051
+ "props": {
25052
+ "spacing": 6,
25053
+ "alignment": "center",
25054
+ "children": [
25055
+ {
25056
+ "id": "",
25057
+ "body": {
25058
+ "package": "himalaya",
25059
+ "type": "Text",
25060
+ "props": {
25061
+ "text": "$item.authorName",
25062
+ "style": "footnote",
25063
+ "maxLines": 1
25064
+ }
25065
+ }
25066
+ },
25067
+ {
25068
+ "id": "",
25069
+ "body": {
25070
+ "package": "himalaya",
25071
+ "type": "Text",
25072
+ "props": {
25073
+ "text": "$item.meta",
25074
+ "style": "caption",
25075
+ "color": "textTertiary",
25076
+ "maxLines": 1,
25077
+ "collapseWhenEmpty": true
25078
+ }
25079
+ }
25080
+ },
25081
+ {
25082
+ "id": "",
25083
+ "body": {
25084
+ "package": "himalaya",
25085
+ "type": "Spacer",
25086
+ "props": {}
25087
+ }
25088
+ },
25089
+ {
25090
+ "id": "",
25091
+ "body": {
25092
+ "package": "himalaya",
25093
+ "type": "HStack",
25094
+ "props": {
25095
+ "spacing": 0,
25096
+ "alignment": "center",
25097
+ "children": [
25098
+ {
25099
+ "id": "himi_blog_post.comment_menu",
25100
+ "body": {
25101
+ "package": "himalaya",
25102
+ "type": "Menu",
25103
+ "props": {
25104
+ "anchor": {
25105
+ "id": "",
25106
+ "body": {
25107
+ "package": "himalaya",
25108
+ "type": "Icon",
25109
+ "props": {
25110
+ "name": "more_vertical",
25111
+ "size": 18,
25112
+ "tint": "textSecondary"
25113
+ }
25114
+ },
25115
+ "modifiers": {
25116
+ "accessibilityRole": "button",
25117
+ "accessibilityLabel": "Comment actions",
25118
+ "padding": {
25119
+ "leading": 13,
25120
+ "trailing": 13,
25121
+ "top": 4,
25122
+ "bottom": 4
25123
+ }
25124
+ }
25125
+ },
25126
+ "style": "dropdown",
25127
+ "items": [
25128
+ {
25129
+ "id": "report",
25130
+ "label": "Report",
25131
+ "icon": "warning",
25132
+ "action": {
25133
+ "actionId": "tier5.himiBlogPost.reportComment",
25134
+ "params": {
25135
+ "id": "$item.id"
25136
+ }
25137
+ }
25138
+ }
25139
+ ]
25140
+ }
25141
+ }
25142
+ }
25143
+ ]
25144
+ }
25145
+ },
25146
+ "modifiers": {
25147
+ "hiddenPath": "$item.noReport"
25148
+ }
25149
+ }
25150
+ ]
25151
+ }
25152
+ }
25153
+ },
25154
+ {
25155
+ "id": "",
25156
+ "body": {
25157
+ "package": "himalaya",
25158
+ "type": "VStack",
25159
+ "props": {
25160
+ "spacing": 0,
25161
+ "alignment": "leading",
25162
+ "children": [
25163
+ {
25164
+ "id": "comment_body_$item.id",
25165
+ "body": {
25166
+ "package": "himalaya",
25167
+ "type": "RichContent",
25168
+ "props": {
25169
+ "documentJsonPath": "$item.bodyJson",
25170
+ "onLink": {
25171
+ "actionId": "tier5.himiBlogPost.openLink"
25172
+ },
25173
+ "fallback": {
25174
+ "id": "",
25175
+ "body": {
25176
+ "package": "himalaya",
25177
+ "type": "Text",
25178
+ "props": {
25179
+ "text": "$item.text",
25180
+ "style": "body",
25181
+ "collapseWhenEmpty": true
25182
+ }
25183
+ }
25184
+ }
25185
+ }
25186
+ }
25187
+ },
25188
+ {
25189
+ "id": "comment_body_text_$item.id",
25190
+ "body": {
25191
+ "package": "himalaya",
25192
+ "type": "Text",
25193
+ "props": {
25194
+ "text": "$item.text",
25195
+ "style": "body",
25196
+ "collapseWhenEmpty": true
25197
+ }
25198
+ },
25199
+ "modifiers": {
25200
+ "hiddenPath": "$item.hasBodyJson"
25201
+ }
25202
+ }
25203
+ ]
25204
+ }
25205
+ }
25206
+ },
25207
+ {
25208
+ "id": "",
25209
+ "body": {
25210
+ "package": "himalaya",
25211
+ "type": "HStack",
25212
+ "props": {
25213
+ "spacing": 12,
25214
+ "alignment": "center",
25215
+ "children": [
25216
+ {
25217
+ "id": "",
25218
+ "body": {
25219
+ "package": "himalaya",
25220
+ "type": "HStack",
25221
+ "props": {
25222
+ "spacing": 0,
25223
+ "alignment": "center",
25224
+ "children": [
25225
+ {
25226
+ "id": "himi_blog_post.comment_like",
25227
+ "body": {
25228
+ "package": "himalaya",
25229
+ "type": "HStack",
25230
+ "props": {
25231
+ "spacing": 4,
25232
+ "alignment": "center",
25233
+ "children": [
25234
+ {
25235
+ "id": "",
25236
+ "body": {
25237
+ "package": "himalaya",
25238
+ "type": "Icon",
25239
+ "props": {
25240
+ "name": "heart",
25241
+ "size": 14,
25242
+ "tint": "textSecondary"
25243
+ }
25244
+ },
25245
+ "modifiers": {
25246
+ "accessibilityRole": "decorative"
25247
+ }
25248
+ },
25249
+ {
25250
+ "id": "",
25251
+ "body": {
25252
+ "package": "himalaya",
25253
+ "type": "Text",
25254
+ "props": {
25255
+ "text": "$item.likes",
25256
+ "style": "caption",
25257
+ "color": "textSecondary",
25258
+ "monospacedDigits": true
25259
+ }
25260
+ }
25261
+ }
25262
+ ]
25263
+ }
25264
+ },
25265
+ "modifiers": {
25266
+ "border": {
25267
+ "width": 1,
25268
+ "color": {
25269
+ "token": "border"
25270
+ }
25271
+ },
25272
+ "cornerRadius": 999,
25273
+ "padding": {
25274
+ "leading": 10,
25275
+ "trailing": 10,
25276
+ "top": 4,
25277
+ "bottom": 4
25278
+ },
25279
+ "onTap": {
25280
+ "actionId": "tier5.himiBlogPost.likeComment",
25281
+ "params": {
25282
+ "id": "$item.id"
25283
+ }
25284
+ },
25285
+ "pressFeedback": "scale",
25286
+ "haptic": "light",
25287
+ "accessibilityRole": "button",
25288
+ "accessibilityLabel": "Like",
25289
+ "hiddenPath": "$item.liked"
25290
+ }
25291
+ },
25292
+ {
25293
+ "id": "himi_blog_post.comment_unlike",
25294
+ "body": {
25295
+ "package": "himalaya",
25296
+ "type": "HStack",
25297
+ "props": {
25298
+ "spacing": 4,
25299
+ "alignment": "center",
25300
+ "children": [
25301
+ {
25302
+ "id": "",
25303
+ "body": {
25304
+ "package": "himalaya",
25305
+ "type": "Icon",
25306
+ "props": {
25307
+ "name": "heart_fill",
25308
+ "size": 14,
25309
+ "tint": "danger"
25310
+ }
25311
+ },
25312
+ "modifiers": {
25313
+ "accessibilityRole": "decorative"
25314
+ }
25315
+ },
25316
+ {
25317
+ "id": "",
25318
+ "body": {
25319
+ "package": "himalaya",
25320
+ "type": "Text",
25321
+ "props": {
25322
+ "text": "$item.likes",
25323
+ "style": "caption",
25324
+ "color": "danger",
25325
+ "monospacedDigits": true
25326
+ }
25327
+ }
25328
+ }
25329
+ ]
25330
+ }
25331
+ },
25332
+ "modifiers": {
25333
+ "background": {
25334
+ "token": "dangerSurface"
25335
+ },
25336
+ "cornerRadius": 999,
25337
+ "padding": {
25338
+ "leading": 10,
25339
+ "trailing": 10,
25340
+ "top": 4,
25341
+ "bottom": 4
25342
+ },
25343
+ "onTap": {
25344
+ "actionId": "tier5.himiBlogPost.unlikeComment",
25345
+ "params": {
25346
+ "id": "$item.id"
25347
+ }
25348
+ },
25349
+ "pressFeedback": "scale",
25350
+ "haptic": "light",
25351
+ "accessibilityRole": "button",
25352
+ "accessibilityLabel": "Unlike",
25353
+ "hiddenPath": "$item.notLiked"
25354
+ }
25355
+ }
25356
+ ]
25357
+ }
25358
+ },
25359
+ "modifiers": {
25360
+ "hiddenPath": "$item.noLikes"
25361
+ }
25362
+ },
25363
+ {
25364
+ "id": "",
25365
+ "body": {
25366
+ "package": "himalaya",
25367
+ "type": "HStack",
25368
+ "props": {
25369
+ "spacing": 0,
25370
+ "alignment": "center",
25371
+ "children": [
25372
+ {
25373
+ "id": "himi_blog_post.comment_reply",
25374
+ "body": {
25375
+ "package": "himalaya",
25376
+ "type": "Text",
25377
+ "props": {
25378
+ "text": "Reply",
25379
+ "style": "caption",
25380
+ "color": "textSecondary"
25381
+ }
25382
+ },
25383
+ "modifiers": {
25384
+ "onTap": {
25385
+ "actionId": "tier5.himiBlogPost.replyTo",
25386
+ "params": {
25387
+ "id": "$item.id"
25388
+ }
25389
+ },
25390
+ "accessibilityRole": "button",
25391
+ "padding": {
25392
+ "top": 4,
25393
+ "bottom": 4,
25394
+ "leading": 4,
25395
+ "trailing": 4
25396
+ },
25397
+ "hiddenPath": "$item.noReply"
25398
+ }
25399
+ }
25400
+ ]
25401
+ }
25402
+ },
25403
+ "modifiers": {
25404
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
25405
+ }
25406
+ },
25407
+ {
25408
+ "id": "",
25409
+ "body": {
25410
+ "package": "himalaya",
25411
+ "type": "Spacer",
25412
+ "props": {}
25413
+ }
25414
+ }
25415
+ ]
25416
+ }
25417
+ }
25418
+ }
25419
+ ]
25420
+ }
25421
+ },
25422
+ "modifiers": {
25423
+ "weight": 1
25424
+ }
25425
+ }
25426
+ ]
25427
+ }
25428
+ },
25429
+ "modifiers": {
25430
+ "fillMaxWidth": true,
25431
+ "hiddenPath": "$item.isReply"
23521
25432
  }
23522
25433
  }
23523
- }
23524
- }
23525
- },
23526
- {
23527
- "id": "",
23528
- "body": {
23529
- "package": "himalaya",
23530
- "type": "Spacer",
23531
- "props": {}
23532
- }
23533
- }
23534
- ]
23535
- }
23536
- },
23537
- "modifiers": {
23538
- "padding": {
23539
- "top": 12,
23540
- "bottom": 8
23541
- }
23542
- }
23543
- }
23544
- ]
23545
- }
23546
- },
23547
- "modifiers": {
23548
- "hiddenPath": "$service:himiBlogPost.noRecent"
23549
- }
23550
- }
23551
- ]
23552
- }
23553
- },
23554
- "modifiers": {
23555
- "hiddenPath": "$service:himiBlogPost.noPost"
23556
- }
23557
- },
23558
- {
23559
- "id": "himi_blog_post.more_sheet",
23560
- "body": {
23561
- "package": "himalaya",
23562
- "type": "BottomSheet",
23563
- "props": {
23564
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
23565
- "dismissible": true,
23566
- "showGrabber": true,
23567
- "onDismiss": {
23568
- "actionId": "tier5.himiBlogPost.closeMore"
23569
- },
23570
- "content": {
23571
- "id": "",
23572
- "body": {
23573
- "package": "himalaya",
23574
- "type": "VStack",
23575
- "props": {
23576
- "spacing": 0,
23577
- "alignment": "leading",
23578
- "children": [
23579
- {
23580
- "id": "himi_blog_post.report",
23581
- "body": {
23582
- "package": "himalaya",
23583
- "type": "HStack",
23584
- "props": {
23585
- "spacing": 14,
23586
- "children": [
23587
- {
23588
- "id": "",
23589
- "body": {
23590
- "package": "himalaya",
23591
- "type": "Icon",
23592
- "props": {
23593
- "name": "warning",
23594
- "size": 22,
23595
- "tint": "textPrimary"
23596
- }
23597
- },
23598
- "modifiers": {
23599
- "accessibilityRole": "decorative"
23600
- }
23601
- },
23602
- {
23603
- "id": "",
23604
- "body": {
23605
- "package": "himalaya",
23606
- "type": "Text",
23607
- "props": {
23608
- "text": "Report",
23609
- "style": "body"
23610
- }
23611
- }
23612
- },
23613
- {
23614
- "id": "",
23615
- "body": {
23616
- "package": "himalaya",
23617
- "type": "Spacer",
23618
- "props": {}
23619
- }
23620
- }
23621
- ]
23622
- }
23623
- },
23624
- "modifiers": {
23625
- "onTap": {
23626
- "actionId": "tier5.himiBlogPost.report"
23627
- },
23628
- "accessibilityRole": "button",
23629
- "accessibilityLabel": "Report",
23630
- "padding": {
23631
- "top": 11,
23632
- "bottom": 11
23633
- },
23634
- "hiddenPath": "$service:himiBlogPost.reported"
23635
- }
23636
- },
23637
- {
23638
- "id": "himi_blog_post.hide",
23639
- "body": {
23640
- "package": "himalaya",
23641
- "type": "HStack",
23642
- "props": {
23643
- "spacing": 14,
23644
- "children": [
23645
- {
23646
- "id": "",
23647
- "body": {
23648
- "package": "himalaya",
23649
- "type": "Icon",
23650
- "props": {
23651
- "name": "concealed",
23652
- "size": 22,
23653
- "tint": "textPrimary"
23654
- }
23655
- },
23656
- "modifiers": {
23657
- "accessibilityRole": "decorative"
23658
- }
23659
- },
23660
- {
23661
- "id": "",
23662
- "body": {
23663
- "package": "himalaya",
23664
- "type": "Text",
23665
- "props": {
23666
- "text": "Hide post",
23667
- "style": "body"
23668
- }
23669
- }
23670
- },
23671
- {
23672
- "id": "",
23673
- "body": {
23674
- "package": "himalaya",
23675
- "type": "Spacer",
23676
- "props": {}
23677
- }
23678
- }
23679
- ]
23680
- }
23681
- },
23682
- "modifiers": {
23683
- "onTap": {
23684
- "actionId": "tier5.himiBlogPost.openHide"
23685
- },
23686
- "accessibilityRole": "button",
23687
- "accessibilityLabel": "Hide post",
23688
- "padding": {
23689
- "top": 11,
23690
- "bottom": 11
23691
- },
23692
- "hiddenPath": "$service:himiBlogPost.hidden"
23693
- }
23694
- },
23695
- {
23696
- "id": "himi_blog_post.unhide",
23697
- "body": {
23698
- "package": "himalaya",
23699
- "type": "HStack",
23700
- "props": {
23701
- "spacing": 14,
23702
- "children": [
23703
- {
23704
- "id": "",
23705
- "body": {
23706
- "package": "himalaya",
23707
- "type": "Icon",
23708
- "props": {
23709
- "name": "visible",
23710
- "size": 22,
23711
- "tint": "textPrimary"
25434
+ ]
23712
25435
  }
23713
25436
  },
23714
25437
  "modifiers": {
23715
- "accessibilityRole": "decorative"
23716
- }
23717
- },
23718
- {
23719
- "id": "",
23720
- "body": {
23721
- "package": "himalaya",
23722
- "type": "Text",
23723
- "props": {
23724
- "text": "Undo hide",
23725
- "style": "body"
25438
+ "backgroundColorPath": "$item.rowBackground",
25439
+ "cornerRadius": 12,
25440
+ "padding": {
25441
+ "leading": 8,
25442
+ "trailing": 8,
25443
+ "top": 8,
25444
+ "bottom": 8
23726
25445
  }
23727
25446
  }
23728
- },
23729
- {
23730
- "id": "",
23731
- "body": {
23732
- "package": "himalaya",
23733
- "type": "Spacer",
23734
- "props": {}
23735
- }
23736
- }
23737
- ]
23738
- }
23739
- },
23740
- "modifiers": {
23741
- "onTap": {
23742
- "actionId": "tier5.himiBlogPost.unhide"
23743
- },
23744
- "accessibilityRole": "button",
23745
- "accessibilityLabel": "Undo hide",
23746
- "padding": {
23747
- "top": 11,
23748
- "bottom": 11
23749
- },
23750
- "hiddenPath": "$service:himiBlogPost.notHidden"
23751
- }
23752
- }
23753
- ]
23754
- }
23755
- },
23756
- "modifiers": {
23757
- "padding": {
23758
- "leading": 20,
23759
- "trailing": 20,
23760
- "top": 0,
23761
- "bottom": 8
23762
- }
23763
- }
23764
- }
23765
- }
23766
- }
23767
- },
23768
- {
23769
- "id": "himi_blog_post.hide_sheet",
23770
- "body": {
23771
- "package": "himalaya",
23772
- "type": "BottomSheet",
23773
- "props": {
23774
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
23775
- "dismissible": true,
23776
- "showGrabber": true,
23777
- "onDismiss": {
23778
- "actionId": "tier5.himiBlogPost.closeHide"
25447
+ }
25448
+ ],
25449
+ "pagination": {
25450
+ "cursor": "$service:himiBlogPost.commentsCursor",
25451
+ "onLoadMore": {
25452
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
25453
+ },
25454
+ "pageSize": 20
25455
+ }
25456
+ }
25457
+ }
25458
+ }
25459
+ ]
25460
+ }
25461
+ }
23779
25462
  },
23780
- "content": {
23781
- "id": "",
25463
+ "footer": {
25464
+ "id": "himi_blog_post.comment_composer",
23782
25465
  "body": {
23783
25466
  "package": "himalaya",
23784
25467
  "type": "VStack",
23785
25468
  "props": {
23786
- "spacing": 0,
25469
+ "spacing": 6,
23787
25470
  "alignment": "leading",
23788
25471
  "children": [
23789
25472
  {
23790
25473
  "id": "",
23791
- "body": {
23792
- "package": "himalaya",
23793
- "type": "Text",
23794
- "props": {
23795
- "text": "Why are you hiding this post?",
23796
- "style": "title3"
23797
- }
23798
- },
23799
- "modifiers": {
23800
- "padding": {
23801
- "bottom": 6
23802
- }
23803
- }
23804
- },
23805
- {
23806
- "id": "himi_blog_post.hide_offensive",
23807
25474
  "body": {
23808
25475
  "package": "himalaya",
23809
25476
  "type": "HStack",
23810
25477
  "props": {
23811
- "spacing": 14,
25478
+ "spacing": 8,
25479
+ "alignment": "center",
23812
25480
  "children": [
23813
25481
  {
23814
25482
  "id": "",
23815
25483
  "body": {
23816
25484
  "package": "himalaya",
23817
- "type": "Icon",
25485
+ "type": "Text",
23818
25486
  "props": {
23819
- "name": "chevron_right",
23820
- "size": 22,
23821
- "tint": "textPrimary"
25487
+ "text": "$service:himiBlogPost.replyingLine",
25488
+ "style": "footnote",
25489
+ "color": "textSecondary",
25490
+ "maxLines": 1
23822
25491
  }
23823
- },
23824
- "modifiers": {
23825
- "accessibilityRole": "decorative"
23826
25492
  }
23827
25493
  },
23828
25494
  {
23829
25495
  "id": "",
23830
25496
  "body": {
23831
25497
  "package": "himalaya",
23832
- "type": "Text",
23833
- "props": {
23834
- "text": "It is offensive",
23835
- "style": "body"
23836
- }
25498
+ "type": "Spacer",
25499
+ "props": {}
23837
25500
  }
23838
25501
  },
23839
25502
  {
23840
- "id": "",
25503
+ "id": "himi_blog_post.cancel_reply",
23841
25504
  "body": {
23842
25505
  "package": "himalaya",
23843
- "type": "Spacer",
23844
- "props": {}
25506
+ "type": "Icon",
25507
+ "props": {
25508
+ "name": "close",
25509
+ "size": 16,
25510
+ "tint": "textSecondary"
25511
+ }
25512
+ },
25513
+ "modifiers": {
25514
+ "accessibilityRole": "button",
25515
+ "onTap": {
25516
+ "actionId": "tier5.himiBlogPost.cancelReply"
25517
+ },
25518
+ "accessibilityLabel": "Cancel reply",
25519
+ "padding": {
25520
+ "top": 14,
25521
+ "bottom": 14,
25522
+ "leading": 14,
25523
+ "trailing": 14
25524
+ }
23845
25525
  }
23846
25526
  }
23847
25527
  ]
23848
25528
  }
23849
25529
  },
23850
25530
  "modifiers": {
23851
- "onTap": {
23852
- "actionId": "tier5.himiBlogPost.hide",
23853
- "params": {
23854
- "reason": "offensive"
23855
- }
23856
- },
23857
- "accessibilityRole": "button",
23858
- "accessibilityLabel": "It is offensive",
23859
- "padding": {
23860
- "top": 11,
23861
- "bottom": 11
23862
- }
25531
+ "hiddenPath": "$service:himiBlogPost.notReplying"
23863
25532
  }
23864
25533
  },
23865
25534
  {
23866
- "id": "himi_blog_post.hide_misleading",
25535
+ "id": "",
23867
25536
  "body": {
23868
25537
  "package": "himalaya",
23869
25538
  "type": "HStack",
23870
25539
  "props": {
23871
- "spacing": 14,
25540
+ "spacing": 10,
25541
+ "alignment": "center",
23872
25542
  "children": [
23873
25543
  {
23874
- "id": "",
25544
+ "id": "himi_blog_post.composer_avatar.photo",
23875
25545
  "body": {
23876
25546
  "package": "himalaya",
23877
- "type": "Icon",
25547
+ "type": "Image",
23878
25548
  "props": {
23879
- "name": "chevron_right",
23880
- "size": 22,
23881
- "tint": "textPrimary"
25549
+ "url": "$service:himiBlogPost.memberPhoto",
25550
+ "width": 32,
25551
+ "height": 32,
25552
+ "contentMode": "fill",
25553
+ "shape": "circle"
23882
25554
  }
23883
25555
  },
23884
25556
  "modifiers": {
23885
- "accessibilityRole": "decorative"
25557
+ "accessibilityRole": "decorative",
25558
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
23886
25559
  }
23887
25560
  },
23888
25561
  {
23889
25562
  "id": "",
23890
25563
  "body": {
23891
25564
  "package": "himalaya",
23892
- "type": "Text",
25565
+ "type": "ZStack",
23893
25566
  "props": {
23894
- "text": "It is misleading",
23895
- "style": "body"
25567
+ "alignment": "center",
25568
+ "children": [
25569
+ {
25570
+ "id": "",
25571
+ "body": {
25572
+ "package": "himalaya",
25573
+ "type": "Icon",
25574
+ "props": {
25575
+ "name": "person",
25576
+ "size": 16,
25577
+ "tint": "accentPrimary"
25578
+ }
25579
+ },
25580
+ "modifiers": {
25581
+ "accessibilityRole": "decorative",
25582
+ "hiddenPath": "$service:himiBlogPost.isMember"
25583
+ }
25584
+ },
25585
+ {
25586
+ "id": "",
25587
+ "body": {
25588
+ "package": "himalaya",
25589
+ "type": "Text",
25590
+ "props": {
25591
+ "text": "$service:himiBlogPost.memberInitial",
25592
+ "style": "footnote",
25593
+ "color": "accentPrimary",
25594
+ "collapseWhenEmpty": true
25595
+ }
25596
+ }
25597
+ }
25598
+ ]
23896
25599
  }
25600
+ },
25601
+ "modifiers": {
25602
+ "width": 32,
25603
+ "height": 32,
25604
+ "background": {
25605
+ "token": "accentSurface"
25606
+ },
25607
+ "cornerRadius": 16,
25608
+ "accessibilityRole": "decorative",
25609
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
23897
25610
  }
23898
25611
  },
23899
25612
  {
23900
- "id": "",
23901
- "body": {
23902
- "package": "himalaya",
23903
- "type": "Spacer",
23904
- "props": {}
23905
- }
23906
- }
23907
- ]
23908
- }
23909
- },
23910
- "modifiers": {
23911
- "onTap": {
23912
- "actionId": "tier5.himiBlogPost.hide",
23913
- "params": {
23914
- "reason": "misleading"
23915
- }
23916
- },
23917
- "accessibilityRole": "button",
23918
- "accessibilityLabel": "It is misleading",
23919
- "padding": {
23920
- "top": 11,
23921
- "bottom": 11
23922
- }
23923
- }
23924
- },
23925
- {
23926
- "id": "himi_blog_post.hide_other",
23927
- "body": {
23928
- "package": "himalaya",
23929
- "type": "HStack",
23930
- "props": {
23931
- "spacing": 14,
23932
- "children": [
23933
- {
23934
- "id": "",
25613
+ "id": "himi_blog_post.comment_input",
23935
25614
  "body": {
23936
25615
  "package": "himalaya",
23937
- "type": "Icon",
25616
+ "type": "TextField",
23938
25617
  "props": {
23939
- "name": "chevron_right",
23940
- "size": 22,
23941
- "tint": "textPrimary"
25618
+ "placeholder": "Write a comment",
25619
+ "valuePath": "$service:himiBlogPost.commentText",
25620
+ "multilineMaxLines": 4,
25621
+ "focusPath": "$service:himiBlogPost.composerFocus",
25622
+ "borderless": true,
25623
+ "autoCapitalization": "sentences",
25624
+ "onChange": {
25625
+ "actionId": "tier5.himiBlogPost.setComment"
25626
+ }
23942
25627
  }
23943
25628
  },
23944
25629
  "modifiers": {
23945
- "accessibilityRole": "decorative"
25630
+ "background": {
25631
+ "token": "surfaceSecondary"
25632
+ },
25633
+ "cornerRadius": 20,
25634
+ "padding": {
25635
+ "leading": 14,
25636
+ "trailing": 14,
25637
+ "top": 8,
25638
+ "bottom": 8
25639
+ },
25640
+ "weight": 1
23946
25641
  }
23947
25642
  },
23948
25643
  {
23949
- "id": "",
25644
+ "id": "himi_blog_post.comment_submit",
23950
25645
  "body": {
23951
25646
  "package": "himalaya",
23952
- "type": "Text",
25647
+ "type": "ZStack",
23953
25648
  "props": {
23954
- "text": "Something else",
23955
- "style": "body"
25649
+ "alignment": "center",
25650
+ "children": [
25651
+ {
25652
+ "id": "",
25653
+ "body": {
25654
+ "package": "himalaya",
25655
+ "type": "ZStack",
25656
+ "props": {
25657
+ "alignment": "center",
25658
+ "children": [
25659
+ {
25660
+ "id": "",
25661
+ "body": {
25662
+ "package": "himalaya",
25663
+ "type": "Icon",
25664
+ "props": {
25665
+ "name": "arrow_up",
25666
+ "size": 18,
25667
+ "tint": "textOnAccent"
25668
+ }
25669
+ },
25670
+ "modifiers": {
25671
+ "accessibilityRole": "decorative"
25672
+ }
25673
+ }
25674
+ ]
25675
+ }
25676
+ },
25677
+ "modifiers": {
25678
+ "width": 36,
25679
+ "height": 36,
25680
+ "cornerRadius": 18,
25681
+ "background": {
25682
+ "token": "accentPrimary"
25683
+ },
25684
+ "accessibilityRole": "decorative"
25685
+ }
25686
+ }
25687
+ ]
23956
25688
  }
25689
+ },
25690
+ "modifiers": {
25691
+ "width": 44,
25692
+ "height": 44,
25693
+ "accessibilityRole": "button",
25694
+ "accessibilityLabel": "Send comment",
25695
+ "onTap": {
25696
+ "actionId": "tier5.himiBlogPost.submitComment"
25697
+ },
25698
+ "pressFeedback": "scale",
25699
+ "haptic": "light",
25700
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
23957
25701
  }
23958
25702
  },
23959
25703
  {
23960
- "id": "",
25704
+ "id": "himi_blog_post.comment_submit_off",
23961
25705
  "body": {
23962
25706
  "package": "himalaya",
23963
- "type": "Spacer",
23964
- "props": {}
25707
+ "type": "ZStack",
25708
+ "props": {
25709
+ "alignment": "center",
25710
+ "children": [
25711
+ {
25712
+ "id": "",
25713
+ "body": {
25714
+ "package": "himalaya",
25715
+ "type": "ZStack",
25716
+ "props": {
25717
+ "alignment": "center",
25718
+ "children": [
25719
+ {
25720
+ "id": "",
25721
+ "body": {
25722
+ "package": "himalaya",
25723
+ "type": "Icon",
25724
+ "props": {
25725
+ "name": "arrow_up",
25726
+ "size": 18,
25727
+ "tint": "textTertiary"
25728
+ }
25729
+ },
25730
+ "modifiers": {
25731
+ "accessibilityRole": "decorative"
25732
+ }
25733
+ }
25734
+ ]
25735
+ }
25736
+ },
25737
+ "modifiers": {
25738
+ "width": 36,
25739
+ "height": 36,
25740
+ "cornerRadius": 18,
25741
+ "background": {
25742
+ "token": "surfaceSecondary"
25743
+ },
25744
+ "accessibilityRole": "decorative"
25745
+ }
25746
+ }
25747
+ ]
25748
+ }
25749
+ },
25750
+ "modifiers": {
25751
+ "width": 44,
25752
+ "height": 44,
25753
+ "accessibilityRole": "button",
25754
+ "accessibilityLabel": "Send comment",
25755
+ "hiddenPath": "$service:himiBlogPost.canSend"
23965
25756
  }
23966
25757
  }
23967
25758
  ]
23968
25759
  }
23969
- },
23970
- "modifiers": {
23971
- "onTap": {
23972
- "actionId": "tier5.himiBlogPost.hide",
23973
- "params": {
23974
- "reason": "other"
23975
- }
23976
- },
23977
- "accessibilityRole": "button",
23978
- "accessibilityLabel": "Something else",
23979
- "padding": {
23980
- "top": 11,
23981
- "bottom": 11
23982
- }
23983
25760
  }
23984
25761
  },
23985
25762
  {
23986
- "id": "himi_blog_post.hide_cancel",
25763
+ "id": "himi_blog_post.comment_error",
23987
25764
  "body": {
23988
25765
  "package": "himalaya",
23989
- "type": "Button",
25766
+ "type": "Text",
23990
25767
  "props": {
23991
- "title": "Cancel",
23992
- "style": "secondary",
23993
- "fullWidth": true,
23994
- "action": {
23995
- "actionId": "tier5.himiBlogPost.closeHide"
23996
- }
25768
+ "text": "$service:himiBlogPost.sendError",
25769
+ "style": "footnote",
25770
+ "color": "danger"
23997
25771
  }
23998
25772
  },
23999
25773
  "modifiers": {
24000
- "padding": {
24001
- "top": 8
24002
- }
25774
+ "hiddenPath": "$service:himiBlogPost.noSendError"
24003
25775
  }
24004
25776
  }
24005
25777
  ]
24006
25778
  }
24007
25779
  },
24008
25780
  "modifiers": {
24009
- "padding": {
24010
- "leading": 20,
24011
- "trailing": 20,
24012
- "top": 12,
24013
- "bottom": 8
24014
- }
25781
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
24015
25782
  }
24016
25783
  }
24017
25784
  }
@@ -24068,7 +25835,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
24068
25835
  "share",
24069
25836
  "local_database",
24070
25837
  "open_url",
24071
- "ui"
25838
+ "ui",
25839
+ "keyboard"
24072
25840
  ],
24073
25841
  "minBinaryVersion": "0.1.0",
24074
25842
  "bundleVersion": "0.0.1"