@wix/himalaya-cli 0.1782.0 → 0.1783.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +68 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +126 -18
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin → ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin} +1 -1
  8. package/dist/browser-plane/sw.js +6 -6
  9. package/dist/cli.mjs +82 -48
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +4 -0
  13. package/guides/release-notes.md +31 -0
  14. package/guides/sdk-reference.json +62 -1
  15. package/package.json +2 -2
  16. package/templates/beauty-salon/config.ts +1 -1
  17. package/templates/beauty-salon/dev/index.ts +2684 -916
  18. package/templates/beauty-salon/l10n/ar.json +95 -36
  19. package/templates/beauty-salon/l10n/cs.json +95 -36
  20. package/templates/beauty-salon/l10n/da.json +95 -36
  21. package/templates/beauty-salon/l10n/de.json +95 -36
  22. package/templates/beauty-salon/l10n/el.json +95 -36
  23. package/templates/beauty-salon/l10n/en.json +71 -15
  24. package/templates/beauty-salon/l10n/es.json +95 -36
  25. package/templates/beauty-salon/l10n/fi.json +95 -36
  26. package/templates/beauty-salon/l10n/fr.json +95 -36
  27. package/templates/beauty-salon/l10n/he.json +78 -29
  28. package/templates/beauty-salon/l10n/hu.json +95 -36
  29. package/templates/beauty-salon/l10n/id.json +95 -36
  30. package/templates/beauty-salon/l10n/it.json +95 -36
  31. package/templates/beauty-salon/l10n/ja.json +95 -36
  32. package/templates/beauty-salon/l10n/ko.json +95 -36
  33. package/templates/beauty-salon/l10n/lt.json +95 -36
  34. package/templates/beauty-salon/l10n/nl.json +95 -36
  35. package/templates/beauty-salon/l10n/no.json +95 -36
  36. package/templates/beauty-salon/l10n/pl.json +95 -36
  37. package/templates/beauty-salon/l10n/pt.json +95 -36
  38. package/templates/beauty-salon/l10n/ru.json +95 -36
  39. package/templates/beauty-salon/l10n/sv.json +95 -36
  40. package/templates/beauty-salon/l10n/th.json +95 -36
  41. package/templates/beauty-salon/l10n/tr.json +95 -36
  42. package/templates/beauty-salon/l10n/uk.json +95 -36
  43. package/templates/beauty-salon/l10n/vi.json +95 -36
  44. package/templates/beauty-salon/l10n/zh.json +95 -36
  45. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  46. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  47. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
  48. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
  49. package/templates/branded-lite/config.ts +1 -1
  50. package/templates/branded-lite/dev/index.ts +2686 -930
  51. package/templates/branded-lite/l10n/ar.json +80 -41
  52. package/templates/branded-lite/l10n/cs.json +80 -41
  53. package/templates/branded-lite/l10n/da.json +80 -41
  54. package/templates/branded-lite/l10n/de.json +80 -41
  55. package/templates/branded-lite/l10n/el.json +80 -41
  56. package/templates/branded-lite/l10n/en.json +71 -20
  57. package/templates/branded-lite/l10n/es.json +80 -41
  58. package/templates/branded-lite/l10n/fi.json +80 -41
  59. package/templates/branded-lite/l10n/fr.json +80 -41
  60. package/templates/branded-lite/l10n/he.json +66 -33
  61. package/templates/branded-lite/l10n/hu.json +80 -41
  62. package/templates/branded-lite/l10n/id.json +80 -41
  63. package/templates/branded-lite/l10n/it.json +80 -41
  64. package/templates/branded-lite/l10n/ja.json +80 -41
  65. package/templates/branded-lite/l10n/ko.json +80 -41
  66. package/templates/branded-lite/l10n/lt.json +80 -41
  67. package/templates/branded-lite/l10n/nl.json +80 -41
  68. package/templates/branded-lite/l10n/no.json +80 -41
  69. package/templates/branded-lite/l10n/pl.json +80 -41
  70. package/templates/branded-lite/l10n/pt.json +80 -41
  71. package/templates/branded-lite/l10n/ru.json +80 -41
  72. package/templates/branded-lite/l10n/sv.json +80 -41
  73. package/templates/branded-lite/l10n/th.json +80 -41
  74. package/templates/branded-lite/l10n/tr.json +80 -41
  75. package/templates/branded-lite/l10n/uk.json +80 -41
  76. package/templates/branded-lite/l10n/vi.json +80 -41
  77. package/templates/branded-lite/l10n/zh.json +80 -41
  78. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  79. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
  80. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
  81. package/templates/community-club/config.ts +1 -1
  82. package/templates/community-club/dev/index.ts +2742 -974
  83. package/templates/community-club/l10n/ar.json +95 -36
  84. package/templates/community-club/l10n/cs.json +95 -36
  85. package/templates/community-club/l10n/da.json +95 -36
  86. package/templates/community-club/l10n/de.json +95 -36
  87. package/templates/community-club/l10n/el.json +95 -36
  88. package/templates/community-club/l10n/en.json +71 -15
  89. package/templates/community-club/l10n/es.json +95 -36
  90. package/templates/community-club/l10n/fi.json +95 -36
  91. package/templates/community-club/l10n/fr.json +95 -36
  92. package/templates/community-club/l10n/he.json +78 -29
  93. package/templates/community-club/l10n/hu.json +95 -36
  94. package/templates/community-club/l10n/id.json +95 -36
  95. package/templates/community-club/l10n/it.json +95 -36
  96. package/templates/community-club/l10n/ja.json +95 -36
  97. package/templates/community-club/l10n/ko.json +95 -36
  98. package/templates/community-club/l10n/lt.json +95 -36
  99. package/templates/community-club/l10n/nl.json +95 -36
  100. package/templates/community-club/l10n/no.json +95 -36
  101. package/templates/community-club/l10n/pl.json +95 -36
  102. package/templates/community-club/l10n/pt.json +95 -36
  103. package/templates/community-club/l10n/ru.json +95 -36
  104. package/templates/community-club/l10n/sv.json +95 -36
  105. package/templates/community-club/l10n/th.json +95 -36
  106. package/templates/community-club/l10n/tr.json +95 -36
  107. package/templates/community-club/l10n/uk.json +95 -36
  108. package/templates/community-club/l10n/vi.json +95 -36
  109. package/templates/community-club/l10n/zh.json +95 -36
  110. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  111. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  112. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
  113. package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
  114. package/templates/events-meetups/config.ts +1 -1
  115. package/templates/events-meetups/dev/index.ts +2705 -937
  116. package/templates/events-meetups/l10n/ar.json +95 -36
  117. package/templates/events-meetups/l10n/cs.json +95 -36
  118. package/templates/events-meetups/l10n/da.json +95 -36
  119. package/templates/events-meetups/l10n/de.json +95 -36
  120. package/templates/events-meetups/l10n/el.json +95 -36
  121. package/templates/events-meetups/l10n/en.json +71 -15
  122. package/templates/events-meetups/l10n/es.json +95 -36
  123. package/templates/events-meetups/l10n/fi.json +95 -36
  124. package/templates/events-meetups/l10n/fr.json +95 -36
  125. package/templates/events-meetups/l10n/he.json +78 -29
  126. package/templates/events-meetups/l10n/hu.json +95 -36
  127. package/templates/events-meetups/l10n/id.json +95 -36
  128. package/templates/events-meetups/l10n/it.json +95 -36
  129. package/templates/events-meetups/l10n/ja.json +95 -36
  130. package/templates/events-meetups/l10n/ko.json +95 -36
  131. package/templates/events-meetups/l10n/lt.json +95 -36
  132. package/templates/events-meetups/l10n/nl.json +95 -36
  133. package/templates/events-meetups/l10n/no.json +95 -36
  134. package/templates/events-meetups/l10n/pl.json +95 -36
  135. package/templates/events-meetups/l10n/pt.json +95 -36
  136. package/templates/events-meetups/l10n/ru.json +95 -36
  137. package/templates/events-meetups/l10n/sv.json +95 -36
  138. package/templates/events-meetups/l10n/th.json +95 -36
  139. package/templates/events-meetups/l10n/tr.json +95 -36
  140. package/templates/events-meetups/l10n/uk.json +95 -36
  141. package/templates/events-meetups/l10n/vi.json +95 -36
  142. package/templates/events-meetups/l10n/zh.json +95 -36
  143. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  144. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  145. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
  146. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
  147. package/templates/gym-fitness/config.ts +1 -1
  148. package/templates/gym-fitness/dev/index.ts +2621 -853
  149. package/templates/gym-fitness/l10n/ar.json +95 -36
  150. package/templates/gym-fitness/l10n/cs.json +95 -36
  151. package/templates/gym-fitness/l10n/da.json +95 -36
  152. package/templates/gym-fitness/l10n/de.json +95 -36
  153. package/templates/gym-fitness/l10n/el.json +95 -36
  154. package/templates/gym-fitness/l10n/en.json +71 -15
  155. package/templates/gym-fitness/l10n/es.json +95 -36
  156. package/templates/gym-fitness/l10n/fi.json +95 -36
  157. package/templates/gym-fitness/l10n/fr.json +95 -36
  158. package/templates/gym-fitness/l10n/he.json +78 -29
  159. package/templates/gym-fitness/l10n/hu.json +95 -36
  160. package/templates/gym-fitness/l10n/id.json +95 -36
  161. package/templates/gym-fitness/l10n/it.json +95 -36
  162. package/templates/gym-fitness/l10n/ja.json +95 -36
  163. package/templates/gym-fitness/l10n/ko.json +95 -36
  164. package/templates/gym-fitness/l10n/lt.json +95 -36
  165. package/templates/gym-fitness/l10n/nl.json +95 -36
  166. package/templates/gym-fitness/l10n/no.json +95 -36
  167. package/templates/gym-fitness/l10n/pl.json +95 -36
  168. package/templates/gym-fitness/l10n/pt.json +95 -36
  169. package/templates/gym-fitness/l10n/ru.json +95 -36
  170. package/templates/gym-fitness/l10n/sv.json +95 -36
  171. package/templates/gym-fitness/l10n/th.json +95 -36
  172. package/templates/gym-fitness/l10n/tr.json +95 -36
  173. package/templates/gym-fitness/l10n/uk.json +95 -36
  174. package/templates/gym-fitness/l10n/vi.json +95 -36
  175. package/templates/gym-fitness/l10n/zh.json +95 -36
  176. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  177. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  178. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
  179. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
  180. package/templates/nonprofit-cause/config.ts +1 -1
  181. package/templates/nonprofit-cause/dev/index.ts +2704 -936
  182. package/templates/nonprofit-cause/l10n/ar.json +95 -36
  183. package/templates/nonprofit-cause/l10n/cs.json +95 -36
  184. package/templates/nonprofit-cause/l10n/da.json +95 -36
  185. package/templates/nonprofit-cause/l10n/de.json +95 -36
  186. package/templates/nonprofit-cause/l10n/el.json +95 -36
  187. package/templates/nonprofit-cause/l10n/en.json +71 -15
  188. package/templates/nonprofit-cause/l10n/es.json +95 -36
  189. package/templates/nonprofit-cause/l10n/fi.json +95 -36
  190. package/templates/nonprofit-cause/l10n/fr.json +95 -36
  191. package/templates/nonprofit-cause/l10n/he.json +78 -29
  192. package/templates/nonprofit-cause/l10n/hu.json +95 -36
  193. package/templates/nonprofit-cause/l10n/id.json +95 -36
  194. package/templates/nonprofit-cause/l10n/it.json +95 -36
  195. package/templates/nonprofit-cause/l10n/ja.json +95 -36
  196. package/templates/nonprofit-cause/l10n/ko.json +95 -36
  197. package/templates/nonprofit-cause/l10n/lt.json +95 -36
  198. package/templates/nonprofit-cause/l10n/nl.json +95 -36
  199. package/templates/nonprofit-cause/l10n/no.json +95 -36
  200. package/templates/nonprofit-cause/l10n/pl.json +95 -36
  201. package/templates/nonprofit-cause/l10n/pt.json +95 -36
  202. package/templates/nonprofit-cause/l10n/ru.json +95 -36
  203. package/templates/nonprofit-cause/l10n/sv.json +95 -36
  204. package/templates/nonprofit-cause/l10n/th.json +95 -36
  205. package/templates/nonprofit-cause/l10n/tr.json +95 -36
  206. package/templates/nonprofit-cause/l10n/uk.json +95 -36
  207. package/templates/nonprofit-cause/l10n/vi.json +95 -36
  208. package/templates/nonprofit-cause/l10n/zh.json +95 -36
  209. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  210. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  211. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
  212. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
  213. package/templates/podcast-creator/config.ts +1 -1
  214. package/templates/podcast-creator/dev/index.ts +2704 -936
  215. package/templates/podcast-creator/l10n/ar.json +95 -36
  216. package/templates/podcast-creator/l10n/cs.json +95 -36
  217. package/templates/podcast-creator/l10n/da.json +95 -36
  218. package/templates/podcast-creator/l10n/de.json +95 -36
  219. package/templates/podcast-creator/l10n/el.json +95 -36
  220. package/templates/podcast-creator/l10n/en.json +71 -15
  221. package/templates/podcast-creator/l10n/es.json +95 -36
  222. package/templates/podcast-creator/l10n/fi.json +95 -36
  223. package/templates/podcast-creator/l10n/fr.json +95 -36
  224. package/templates/podcast-creator/l10n/he.json +78 -29
  225. package/templates/podcast-creator/l10n/hu.json +95 -36
  226. package/templates/podcast-creator/l10n/id.json +95 -36
  227. package/templates/podcast-creator/l10n/it.json +95 -36
  228. package/templates/podcast-creator/l10n/ja.json +95 -36
  229. package/templates/podcast-creator/l10n/ko.json +95 -36
  230. package/templates/podcast-creator/l10n/lt.json +95 -36
  231. package/templates/podcast-creator/l10n/nl.json +95 -36
  232. package/templates/podcast-creator/l10n/no.json +95 -36
  233. package/templates/podcast-creator/l10n/pl.json +95 -36
  234. package/templates/podcast-creator/l10n/pt.json +95 -36
  235. package/templates/podcast-creator/l10n/ru.json +95 -36
  236. package/templates/podcast-creator/l10n/sv.json +95 -36
  237. package/templates/podcast-creator/l10n/th.json +95 -36
  238. package/templates/podcast-creator/l10n/tr.json +95 -36
  239. package/templates/podcast-creator/l10n/uk.json +95 -36
  240. package/templates/podcast-creator/l10n/vi.json +95 -36
  241. package/templates/podcast-creator/l10n/zh.json +95 -36
  242. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  243. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  244. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
  245. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
  246. package/templates/portfolio-creative/config.ts +1 -1
  247. package/templates/portfolio-creative/dev/index.ts +2499 -731
  248. package/templates/portfolio-creative/l10n/ar.json +95 -36
  249. package/templates/portfolio-creative/l10n/cs.json +95 -36
  250. package/templates/portfolio-creative/l10n/da.json +95 -36
  251. package/templates/portfolio-creative/l10n/de.json +95 -36
  252. package/templates/portfolio-creative/l10n/el.json +95 -36
  253. package/templates/portfolio-creative/l10n/en.json +71 -15
  254. package/templates/portfolio-creative/l10n/es.json +95 -36
  255. package/templates/portfolio-creative/l10n/fi.json +95 -36
  256. package/templates/portfolio-creative/l10n/fr.json +95 -36
  257. package/templates/portfolio-creative/l10n/he.json +78 -29
  258. package/templates/portfolio-creative/l10n/hu.json +95 -36
  259. package/templates/portfolio-creative/l10n/id.json +95 -36
  260. package/templates/portfolio-creative/l10n/it.json +95 -36
  261. package/templates/portfolio-creative/l10n/ja.json +95 -36
  262. package/templates/portfolio-creative/l10n/ko.json +95 -36
  263. package/templates/portfolio-creative/l10n/lt.json +95 -36
  264. package/templates/portfolio-creative/l10n/nl.json +95 -36
  265. package/templates/portfolio-creative/l10n/no.json +95 -36
  266. package/templates/portfolio-creative/l10n/pl.json +95 -36
  267. package/templates/portfolio-creative/l10n/pt.json +95 -36
  268. package/templates/portfolio-creative/l10n/ru.json +95 -36
  269. package/templates/portfolio-creative/l10n/sv.json +95 -36
  270. package/templates/portfolio-creative/l10n/th.json +95 -36
  271. package/templates/portfolio-creative/l10n/tr.json +95 -36
  272. package/templates/portfolio-creative/l10n/uk.json +95 -36
  273. package/templates/portfolio-creative/l10n/vi.json +95 -36
  274. package/templates/portfolio-creative/l10n/zh.json +95 -36
  275. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  276. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  277. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
  278. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
  279. package/templates/restaurant/config.ts +1 -1
  280. package/templates/restaurant/dev/index.ts +2528 -760
  281. package/templates/restaurant/l10n/ar.json +95 -36
  282. package/templates/restaurant/l10n/cs.json +95 -36
  283. package/templates/restaurant/l10n/da.json +95 -36
  284. package/templates/restaurant/l10n/de.json +95 -36
  285. package/templates/restaurant/l10n/el.json +95 -36
  286. package/templates/restaurant/l10n/en.json +71 -15
  287. package/templates/restaurant/l10n/es.json +95 -36
  288. package/templates/restaurant/l10n/fi.json +95 -36
  289. package/templates/restaurant/l10n/fr.json +95 -36
  290. package/templates/restaurant/l10n/he.json +78 -29
  291. package/templates/restaurant/l10n/hu.json +95 -36
  292. package/templates/restaurant/l10n/id.json +95 -36
  293. package/templates/restaurant/l10n/it.json +95 -36
  294. package/templates/restaurant/l10n/ja.json +95 -36
  295. package/templates/restaurant/l10n/ko.json +95 -36
  296. package/templates/restaurant/l10n/lt.json +95 -36
  297. package/templates/restaurant/l10n/nl.json +95 -36
  298. package/templates/restaurant/l10n/no.json +95 -36
  299. package/templates/restaurant/l10n/pl.json +95 -36
  300. package/templates/restaurant/l10n/pt.json +95 -36
  301. package/templates/restaurant/l10n/ru.json +95 -36
  302. package/templates/restaurant/l10n/sv.json +95 -36
  303. package/templates/restaurant/l10n/th.json +95 -36
  304. package/templates/restaurant/l10n/tr.json +95 -36
  305. package/templates/restaurant/l10n/uk.json +95 -36
  306. package/templates/restaurant/l10n/vi.json +95 -36
  307. package/templates/restaurant/l10n/zh.json +95 -36
  308. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  309. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  310. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
  311. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
  312. package/templates/retail-store/config.ts +1 -1
  313. package/templates/retail-store/dev/index.ts +2417 -661
  314. package/templates/retail-store/l10n/ar.json +95 -41
  315. package/templates/retail-store/l10n/cs.json +95 -41
  316. package/templates/retail-store/l10n/da.json +95 -41
  317. package/templates/retail-store/l10n/de.json +95 -41
  318. package/templates/retail-store/l10n/el.json +95 -41
  319. package/templates/retail-store/l10n/en.json +71 -20
  320. package/templates/retail-store/l10n/es.json +95 -41
  321. package/templates/retail-store/l10n/fi.json +95 -41
  322. package/templates/retail-store/l10n/fr.json +95 -41
  323. package/templates/retail-store/l10n/he.json +78 -33
  324. package/templates/retail-store/l10n/hu.json +95 -41
  325. package/templates/retail-store/l10n/id.json +95 -41
  326. package/templates/retail-store/l10n/it.json +95 -41
  327. package/templates/retail-store/l10n/ja.json +95 -41
  328. package/templates/retail-store/l10n/ko.json +95 -41
  329. package/templates/retail-store/l10n/lt.json +95 -41
  330. package/templates/retail-store/l10n/nl.json +95 -41
  331. package/templates/retail-store/l10n/no.json +95 -41
  332. package/templates/retail-store/l10n/pl.json +95 -41
  333. package/templates/retail-store/l10n/pt.json +95 -41
  334. package/templates/retail-store/l10n/ru.json +95 -41
  335. package/templates/retail-store/l10n/sv.json +95 -41
  336. package/templates/retail-store/l10n/th.json +95 -41
  337. package/templates/retail-store/l10n/tr.json +95 -41
  338. package/templates/retail-store/l10n/uk.json +95 -41
  339. package/templates/retail-store/l10n/vi.json +95 -41
  340. package/templates/retail-store/l10n/zh.json +95 -41
  341. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  342. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  343. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
  344. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
  345. package/templates/yoga-studio/config.ts +1 -1
  346. package/templates/yoga-studio/dev/index.ts +2619 -851
  347. package/templates/yoga-studio/l10n/ar.json +95 -36
  348. package/templates/yoga-studio/l10n/cs.json +95 -36
  349. package/templates/yoga-studio/l10n/da.json +95 -36
  350. package/templates/yoga-studio/l10n/de.json +95 -36
  351. package/templates/yoga-studio/l10n/el.json +95 -36
  352. package/templates/yoga-studio/l10n/en.json +71 -15
  353. package/templates/yoga-studio/l10n/es.json +95 -36
  354. package/templates/yoga-studio/l10n/fi.json +95 -36
  355. package/templates/yoga-studio/l10n/fr.json +95 -36
  356. package/templates/yoga-studio/l10n/he.json +78 -29
  357. package/templates/yoga-studio/l10n/hu.json +95 -36
  358. package/templates/yoga-studio/l10n/id.json +95 -36
  359. package/templates/yoga-studio/l10n/it.json +95 -36
  360. package/templates/yoga-studio/l10n/ja.json +95 -36
  361. package/templates/yoga-studio/l10n/ko.json +95 -36
  362. package/templates/yoga-studio/l10n/lt.json +95 -36
  363. package/templates/yoga-studio/l10n/nl.json +95 -36
  364. package/templates/yoga-studio/l10n/no.json +95 -36
  365. package/templates/yoga-studio/l10n/pl.json +95 -36
  366. package/templates/yoga-studio/l10n/pt.json +95 -36
  367. package/templates/yoga-studio/l10n/ru.json +95 -36
  368. package/templates/yoga-studio/l10n/sv.json +95 -36
  369. package/templates/yoga-studio/l10n/th.json +95 -36
  370. package/templates/yoga-studio/l10n/tr.json +95 -36
  371. package/templates/yoga-studio/l10n/uk.json +95 -36
  372. package/templates/yoga-studio/l10n/vi.json +95 -36
  373. package/templates/yoga-studio/l10n/zh.json +95 -36
  374. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  375. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
  376. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
  377. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
@@ -16935,7 +16935,7 @@ const SCREENS = runtimeSetting({
16935
16935
  "alignment": "leading",
16936
16936
  "children": [
16937
16937
  {
16938
- "id": "",
16938
+ "id": "himi_blog.heading",
16939
16939
  "body": {
16940
16940
  "package": "himalaya",
16941
16941
  "type": "VStack",
@@ -16965,8 +16965,7 @@ const SCREENS = runtimeSetting({
16965
16965
  "props": {
16966
16966
  "text": "Every episode, with full show notes.",
16967
16967
  "style": "body",
16968
- "color": "textSecondary",
16969
- "collapseWhenEmpty": true
16968
+ "color": "textSecondary"
16970
16969
  }
16971
16970
  }
16972
16971
  }
@@ -17047,6 +17046,7 @@ const SCREENS = runtimeSetting({
17047
17046
  "type": "HStack",
17048
17047
  "props": {
17049
17048
  "spacing": 10,
17049
+ "alignment": "center",
17050
17050
  "children": [
17051
17051
  {
17052
17052
  "id": "",
@@ -17284,6 +17284,7 @@ const SCREENS = runtimeSetting({
17284
17284
  "type": "HStack",
17285
17285
  "props": {
17286
17286
  "spacing": 14,
17287
+ "alignment": "center",
17287
17288
  "children": [
17288
17289
  {
17289
17290
  "id": "",
@@ -17423,6 +17424,7 @@ const SCREENS = runtimeSetting({
17423
17424
  "type": "HStack",
17424
17425
  "props": {
17425
17426
  "spacing": 4,
17427
+ "alignment": "center",
17426
17428
  "children": [
17427
17429
  {
17428
17430
  "id": "",
@@ -17477,6 +17479,7 @@ const SCREENS = runtimeSetting({
17477
17479
  "type": "HStack",
17478
17480
  "props": {
17479
17481
  "spacing": 12,
17482
+ "alignment": "center",
17480
17483
  "children": [
17481
17484
  {
17482
17485
  "id": "himi_blog.post_author.photo",
@@ -17917,71 +17920,56 @@ const SCREENS = runtimeSetting({
17917
17920
  }
17918
17921
  },
17919
17922
  {
17920
- "id": "",
17923
+ "id": "himi_blog.empty",
17921
17924
  "body": {
17922
17925
  "package": "himalaya",
17923
- "type": "VStack",
17926
+ "type": "EmptyState",
17924
17927
  "props": {
17925
- "spacing": 12,
17926
- "alignment": "center",
17927
- "children": [
17928
- {
17929
- "id": "",
17930
- "body": {
17931
- "package": "himalaya",
17932
- "type": "Icon",
17933
- "props": {
17934
- "name": "newspaper",
17935
- "size": 34,
17936
- "tint": "textTertiary"
17937
- }
17938
- },
17939
- "modifiers": {
17940
- "accessibilityRole": "decorative"
17941
- }
17942
- },
17943
- {
17944
- "id": "",
17945
- "body": {
17946
- "package": "himalaya",
17947
- "type": "Text",
17948
- "props": {
17949
- "text": "$service:himiBlogFeed.emptyText",
17950
- "style": "bodyEmphasis",
17951
- "color": "textSecondary",
17952
- "collapseWhenEmpty": true
17953
- }
17954
- }
17955
- },
17956
- {
17957
- "id": "himi_blog.empty.cta",
17958
- "body": {
17959
- "package": "himalaya",
17960
- "type": "Button",
17961
- "props": {
17962
- "title": "Clear filters",
17963
- "style": "secondary",
17964
- "action": {
17965
- "actionId": "tier5.himiBlogFeed.clearFilters"
17966
- }
17967
- }
17968
- }
17969
- }
17970
- ]
17928
+ "title": "$service:himiBlogFeed.emptyText",
17929
+ "subtitle": "Try a different word or category.",
17930
+ "icon": "search",
17931
+ "actionLabel": "Clear filters",
17932
+ "action": {
17933
+ "actionId": "tier5.himiBlogFeed.clearFilters"
17934
+ }
17971
17935
  }
17972
17936
  },
17973
17937
  "modifiers": {
17974
17938
  "padding": {
17975
17939
  "leading": 24,
17976
17940
  "trailing": 24,
17977
- "top": 24,
17941
+ "top": 48,
17942
+ "bottom": 24
17943
+ },
17944
+ "transition": {
17945
+ "enter": "fade",
17946
+ "exit": "fade"
17947
+ },
17948
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
17949
+ }
17950
+ },
17951
+ {
17952
+ "id": "himi_blog.empty_none",
17953
+ "body": {
17954
+ "package": "himalaya",
17955
+ "type": "EmptyState",
17956
+ "props": {
17957
+ "title": "$service:himiBlogFeed.emptyText",
17958
+ "icon": "document"
17959
+ }
17960
+ },
17961
+ "modifiers": {
17962
+ "padding": {
17963
+ "leading": 24,
17964
+ "trailing": 24,
17965
+ "top": 48,
17978
17966
  "bottom": 24
17979
17967
  },
17980
17968
  "transition": {
17981
17969
  "enter": "fade",
17982
17970
  "exit": "fade"
17983
17971
  },
17984
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
17972
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
17985
17973
  }
17986
17974
  }
17987
17975
  ]
@@ -18013,21 +18001,6 @@ const SCREENS = runtimeSetting({
18013
18001
  ],
18014
18002
  "minBinaryVersion": "0.1.0",
18015
18003
  "bundleVersion": "0.0.1"
18016
- },
18017
- "topBar": {
18018
- "actions": [
18019
- {
18020
- "id": "account",
18021
- "icon": "person",
18022
- "accessibilityLabel": "Account",
18023
- "onTap": {
18024
- "actionId": "himi.open",
18025
- "params": {
18026
- "screenId": "himi_account"
18027
- }
18028
- }
18029
- }
18030
- ]
18031
18004
  }
18032
18005
  },
18033
18006
  "himi_saved": {
@@ -18108,6 +18081,7 @@ const SCREENS = runtimeSetting({
18108
18081
  "type": "HStack",
18109
18082
  "props": {
18110
18083
  "spacing": 10,
18084
+ "alignment": "center",
18111
18085
  "children": [
18112
18086
  {
18113
18087
  "id": "",
@@ -18513,73 +18487,21 @@ const SCREENS = runtimeSetting({
18513
18487
  }
18514
18488
  },
18515
18489
  {
18516
- "id": "",
18490
+ "id": "himi_saved.empty",
18517
18491
  "body": {
18518
18492
  "package": "himalaya",
18519
- "type": "VStack",
18493
+ "type": "EmptyState",
18520
18494
  "props": {
18521
- "spacing": 12,
18522
- "alignment": "center",
18523
- "children": [
18524
- {
18525
- "id": "",
18526
- "body": {
18527
- "package": "himalaya",
18528
- "type": "Icon",
18529
- "props": {
18530
- "name": "bookmark",
18531
- "size": 34,
18532
- "tint": "textTertiary"
18533
- }
18534
- },
18535
- "modifiers": {
18536
- "accessibilityRole": "decorative"
18537
- }
18538
- },
18539
- {
18540
- "id": "",
18541
- "body": {
18542
- "package": "himalaya",
18543
- "type": "Text",
18544
- "props": {
18545
- "text": "$service:himiBlogSaved.emptyText",
18546
- "style": "bodyEmphasis",
18547
- "color": "textSecondary",
18548
- "collapseWhenEmpty": true
18549
- }
18550
- }
18551
- },
18552
- {
18553
- "id": "",
18554
- "body": {
18555
- "package": "himalaya",
18556
- "type": "Text",
18557
- "props": {
18558
- "text": "Tap the bookmark on a post to read it later.",
18559
- "style": "footnote",
18560
- "color": "textTertiary",
18561
- "maxLines": 2
18562
- }
18563
- }
18564
- },
18565
- {
18566
- "id": "himi_saved.empty.cta",
18567
- "body": {
18568
- "package": "himalaya",
18569
- "type": "Button",
18570
- "props": {
18571
- "title": "Browse Blog",
18572
- "style": "secondary",
18573
- "action": {
18574
- "actionId": "himi.open",
18575
- "params": {
18576
- "screenId": "himi_blog"
18577
- }
18578
- }
18579
- }
18580
- }
18495
+ "title": "$service:himiBlogSaved.emptyText",
18496
+ "subtitle": "Tap the bookmark on a post to read it later.",
18497
+ "icon": "bookmark",
18498
+ "actionLabel": "Browse Blog",
18499
+ "action": {
18500
+ "actionId": "himi.open",
18501
+ "params": {
18502
+ "screenId": "himi_blog"
18581
18503
  }
18582
- ]
18504
+ }
18583
18505
  }
18584
18506
  },
18585
18507
  "modifiers": {
@@ -25274,6 +25196,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25274
25196
  "type": "HStack",
25275
25197
  "props": {
25276
25198
  "spacing": 10,
25199
+ "alignment": "center",
25277
25200
  "children": [
25278
25201
  {
25279
25202
  "id": "",
@@ -25633,6 +25556,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25633
25556
  "type": "HStack",
25634
25557
  "props": {
25635
25558
  "spacing": 12,
25559
+ "alignment": "center",
25636
25560
  "children": [
25637
25561
  {
25638
25562
  "id": "himi_blog_post.author.photo",
@@ -26381,41 +26305,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26381
26305
  "accessibilityRole": "decorative"
26382
26306
  }
26383
26307
  },
26384
- {
26385
- "id": "",
26386
- "body": {
26387
- "package": "himalaya",
26388
- "type": "VStack",
26389
- "props": {
26390
- "spacing": 0,
26391
- "alignment": "leading",
26392
- "children": [
26393
- {
26394
- "id": "himi_blog_post.comments_title",
26395
- "body": {
26396
- "package": "himalaya",
26397
- "type": "Text",
26398
- "props": {
26399
- "text": "$service:himiBlogPost.commentsTitle",
26400
- "style": "title3"
26401
- }
26402
- },
26403
- "modifiers": {
26404
- "accessibilityRole": "heading"
26405
- }
26406
- }
26407
- ]
26408
- }
26409
- },
26410
- "modifiers": {
26411
- "padding": {
26412
- "leading": 20,
26413
- "trailing": 20,
26414
- "top": 20,
26415
- "bottom": 4
26416
- }
26417
- }
26418
- },
26419
26308
  {
26420
26309
  "id": "",
26421
26310
  "body": {
@@ -26427,46 +26316,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26427
26316
  "children": [
26428
26317
  {
26429
26318
  "id": "",
26430
- "body": {
26431
- "package": "himalaya",
26432
- "type": "Text",
26433
- "props": {
26434
- "text": "$service:himiBlogPost.commentStatusText",
26435
- "style": "footnote",
26436
- "color": "textSecondary"
26437
- }
26438
- }
26439
- }
26440
- ]
26441
- }
26442
- },
26443
- "modifiers": {
26444
- "padding": {
26445
- "leading": 20,
26446
- "trailing": 20,
26447
- "top": 6,
26448
- "bottom": 6
26449
- },
26450
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
26451
- }
26452
- },
26453
- {
26454
- "id": "himi_blog_post.comments",
26455
- "body": {
26456
- "package": "himalaya",
26457
- "type": "Grid",
26458
- "props": {
26459
- "columns": 1,
26460
- "spacing": 0,
26461
- "itemsPath": "$service:himiBlogPost.comments",
26462
- "items": [
26463
- {
26464
- "id": "himi_blog_post.comment_row",
26465
26319
  "body": {
26466
26320
  "package": "himalaya",
26467
26321
  "type": "VStack",
26468
26322
  "props": {
26469
- "spacing": 6,
26323
+ "spacing": 14,
26470
26324
  "alignment": "leading",
26471
26325
  "children": [
26472
26326
  {
@@ -26475,73 +26329,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26475
26329
  "package": "himalaya",
26476
26330
  "type": "HStack",
26477
26331
  "props": {
26478
- "spacing": 10,
26332
+ "spacing": 8,
26333
+ "alignment": "center",
26479
26334
  "children": [
26480
26335
  {
26481
- "id": "",
26336
+ "id": "himi_blog_post.comments_title",
26482
26337
  "body": {
26483
26338
  "package": "himalaya",
26484
- "type": "ZStack",
26339
+ "type": "Text",
26485
26340
  "props": {
26486
- "alignment": "center",
26487
- "children": [
26488
- {
26489
- "id": "",
26490
- "body": {
26491
- "package": "himalaya",
26492
- "type": "Text",
26493
- "props": {
26494
- "text": "$item.authorInitial",
26495
- "style": "footnote",
26496
- "color": "accentPrimary"
26497
- }
26498
- }
26499
- }
26500
- ]
26341
+ "text": "$service:himiBlogPost.commentsTitle",
26342
+ "style": "title3"
26501
26343
  }
26502
26344
  },
26503
26345
  "modifiers": {
26504
- "width": 32,
26505
- "height": 32,
26506
- "background": {
26507
- "token": "accentSurface"
26508
- },
26509
- "cornerRadius": 16,
26510
- "accessibilityRole": "decorative"
26346
+ "accessibilityRole": "heading"
26511
26347
  }
26512
26348
  },
26513
26349
  {
26514
26350
  "id": "",
26515
26351
  "body": {
26516
26352
  "package": "himalaya",
26517
- "type": "Text",
26518
- "props": {
26519
- "text": "$item.authorName",
26520
- "style": "bodyEmphasis",
26521
- "maxLines": 1
26522
- }
26353
+ "type": "Spacer",
26354
+ "props": {}
26523
26355
  }
26524
26356
  },
26525
26357
  {
26526
- "id": "",
26358
+ "id": "himi_blog_post.comments_show_all",
26527
26359
  "body": {
26528
26360
  "package": "himalaya",
26529
26361
  "type": "Text",
26530
26362
  "props": {
26531
- "text": "$item.meta",
26532
- "style": "caption",
26533
- "color": "textTertiary",
26534
- "maxLines": 1,
26535
- "collapseWhenEmpty": true
26363
+ "text": "$service:himiBlogPost.showAllLabel",
26364
+ "style": "footnote",
26365
+ "color": "accentPrimary",
26366
+ "maxLines": 1
26536
26367
  }
26537
- }
26538
- },
26539
- {
26540
- "id": "",
26541
- "body": {
26542
- "package": "himalaya",
26543
- "type": "Spacer",
26544
- "props": {}
26368
+ },
26369
+ "modifiers": {
26370
+ "onTap": {
26371
+ "actionId": "tier5.himiBlogPost.openComments"
26372
+ },
26373
+ "accessibilityRole": "button",
26374
+ "padding": {
26375
+ "top": 6,
26376
+ "bottom": 6,
26377
+ "leading": 6
26378
+ },
26379
+ "hiddenPath": "$service:himiBlogPost.noComments"
26545
26380
  }
26546
26381
  }
26547
26382
  ]
@@ -26550,891 +26385,2823 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26550
26385
  },
26551
26386
  {
26552
26387
  "id": "",
26388
+ "body": {
26389
+ "package": "himalaya",
26390
+ "type": "Text",
26391
+ "props": {
26392
+ "text": "$service:himiBlogPost.commentStatusText",
26393
+ "style": "footnote",
26394
+ "color": "textSecondary"
26395
+ }
26396
+ },
26397
+ "modifiers": {
26398
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
26399
+ }
26400
+ },
26401
+ {
26402
+ "id": "himi_blog_post.comments_empty",
26553
26403
  "body": {
26554
26404
  "package": "himalaya",
26555
26405
  "type": "VStack",
26556
26406
  "props": {
26557
- "spacing": 0,
26407
+ "spacing": 4,
26558
26408
  "alignment": "leading",
26559
26409
  "children": [
26560
26410
  {
26561
- "id": "comment_body_$item.id",
26411
+ "id": "",
26562
26412
  "body": {
26563
26413
  "package": "himalaya",
26564
- "type": "RichContent",
26414
+ "type": "Text",
26565
26415
  "props": {
26566
- "documentJsonPath": "$item.bodyJson",
26567
- "onLink": {
26568
- "actionId": "tier5.himiBlogPost.openLink"
26569
- },
26570
- "fallback": {
26571
- "id": "",
26572
- "body": {
26573
- "package": "himalaya",
26574
- "type": "Text",
26575
- "props": {
26576
- "text": "$item.text",
26577
- "style": "body",
26578
- "collapseWhenEmpty": true
26579
- }
26580
- }
26581
- }
26416
+ "text": "No comments yet",
26417
+ "style": "bodyEmphasis"
26582
26418
  }
26583
26419
  }
26584
26420
  },
26585
26421
  {
26586
- "id": "comment_body_text_$item.id",
26422
+ "id": "",
26587
26423
  "body": {
26588
26424
  "package": "himalaya",
26589
26425
  "type": "Text",
26590
26426
  "props": {
26591
- "text": "$item.text",
26592
- "style": "body",
26593
- "collapseWhenEmpty": true
26427
+ "text": "Be the first to share your thoughts.",
26428
+ "style": "footnote",
26429
+ "color": "textSecondary"
26594
26430
  }
26595
- },
26596
- "modifiers": {
26597
- "hiddenPath": "$item.hasBodyJson"
26598
26431
  }
26599
26432
  }
26600
26433
  ]
26601
26434
  }
26602
26435
  },
26603
26436
  "modifiers": {
26604
- "padding": {
26605
- "leading": 42
26606
- }
26607
- }
26608
- },
26609
- {
26610
- "id": "",
26611
- "body": {
26612
- "package": "himalaya",
26613
- "type": "Divider",
26614
- "props": {}
26615
- },
26616
- "modifiers": {
26617
- "padding": {
26618
- "top": 10
26619
- }
26620
- }
26621
- }
26622
- ]
26623
- }
26624
- },
26625
- "modifiers": {
26626
- "padding": {
26627
- "leading": 20,
26628
- "trailing": 20,
26629
- "top": 12
26630
- }
26631
- }
26632
- }
26633
- ]
26634
- }
26635
- }
26636
- },
26637
- {
26638
- "id": "",
26639
- "body": {
26640
- "package": "himalaya",
26641
- "type": "VStack",
26642
- "props": {
26643
- "spacing": 0,
26644
- "alignment": "leading",
26645
- "children": [
26646
- {
26647
- "id": "himi_blog_post.comment_composer",
26648
- "body": {
26649
- "package": "himalaya",
26650
- "type": "VStack",
26651
- "props": {
26652
- "spacing": 10,
26653
- "alignment": "leading",
26654
- "children": [
26655
- {
26656
- "id": "himi_blog_post.comment_input",
26657
- "body": {
26658
- "package": "himalaya",
26659
- "type": "TextField",
26660
- "props": {
26661
- "placeholder": "Write a comment",
26662
- "valuePath": "$service:himiBlogPost.commentText",
26663
- "multilineMaxLines": 4,
26664
- "onChange": {
26665
- "actionId": "tier5.himiBlogPost.setComment"
26666
- }
26667
- }
26668
- }
26669
- },
26670
- {
26671
- "id": "himi_blog_post.comment_submit",
26672
- "body": {
26673
- "package": "himalaya",
26674
- "type": "Button",
26675
- "props": {
26676
- "title": "Post comment",
26677
- "style": "primary",
26678
- "fullWidth": false,
26679
- "action": {
26680
- "actionId": "tier5.himiBlogPost.submitComment"
26681
- }
26682
- }
26683
- }
26684
- }
26685
- ]
26686
- }
26687
- }
26688
- }
26689
- ]
26690
- }
26691
- },
26692
- "modifiers": {
26693
- "padding": {
26694
- "leading": 20,
26695
- "trailing": 20,
26696
- "top": 12,
26697
- "bottom": 16
26698
- },
26699
- "hiddenPath": "$service:himiBlogPost.commentsOff"
26700
- }
26701
- }
26702
- ]
26703
- }
26704
- }
26705
- },
26706
- {
26707
- "id": "himi_blog_post.recent_section",
26708
- "body": {
26709
- "package": "himalaya",
26710
- "type": "VStack",
26711
- "props": {
26712
- "spacing": 0,
26713
- "alignment": "leading",
26714
- "children": [
26715
- {
26716
- "id": "himi_blog_post.recent_band",
26717
- "body": {
26718
- "package": "himalaya",
26719
- "type": "VStack",
26720
- "props": {
26721
- "spacing": 0,
26722
- "children": []
26723
- }
26724
- },
26725
- "modifiers": {
26726
- "height": 12,
26727
- "fillMaxWidth": true,
26728
- "background": {
26729
- "token": "surfaceSecondary"
26730
- },
26731
- "accessibilityRole": "decorative"
26732
- }
26733
- },
26734
- {
26735
- "id": "",
26736
- "body": {
26737
- "package": "himalaya",
26738
- "type": "VStack",
26739
- "props": {
26740
- "spacing": 0,
26741
- "alignment": "leading",
26742
- "children": [
26743
- {
26744
- "id": "",
26745
- "body": {
26746
- "package": "himalaya",
26747
- "type": "Text",
26748
- "props": {
26749
- "text": "Recent posts",
26750
- "style": "title3"
26751
- }
26752
- },
26753
- "modifiers": {
26754
- "accessibilityRole": "heading"
26755
- }
26756
- }
26757
- ]
26758
- }
26759
- },
26760
- "modifiers": {
26761
- "padding": {
26762
- "leading": 20,
26763
- "trailing": 20,
26764
- "top": 20,
26765
- "bottom": 4
26766
- }
26767
- }
26768
- },
26769
- {
26770
- "id": "himi_blog_post.recent",
26771
- "body": {
26772
- "package": "himalaya",
26773
- "type": "Grid",
26774
- "props": {
26775
- "columns": 1,
26776
- "spacing": 0,
26777
- "itemsPath": "$service:himiBlogPost.recent",
26778
- "items": [
26779
- {
26780
- "id": "himi_blog_post.recent_row",
26781
- "body": {
26782
- "package": "himalaya",
26783
- "type": "HStack",
26784
- "props": {
26785
- "spacing": 12,
26786
- "children": [
26787
- {
26788
- "id": "himi_blog_post.recent_cover",
26789
- "body": {
26790
- "package": "himalaya",
26791
- "type": "Image",
26792
- "props": {
26793
- "url": "$item.cover",
26794
- "width": 72,
26795
- "height": 72,
26796
- "contentMode": "fill"
26797
- }
26798
- },
26799
- "modifiers": {
26800
- "accessibilityRole": "decorative",
26801
- "cornerRadius": 8,
26802
- "hiddenPath": "$item.noCover"
26437
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
26803
26438
  }
26804
26439
  },
26805
26440
  {
26806
- "id": "",
26441
+ "id": "himi_blog_post.comments",
26807
26442
  "body": {
26808
26443
  "package": "himalaya",
26809
- "type": "ZStack",
26444
+ "type": "Grid",
26810
26445
  "props": {
26811
- "alignment": "center",
26812
- "children": [
26446
+ "columns": 1,
26447
+ "spacing": 16,
26448
+ "itemsPath": "$service:himiBlogPost.latestComments",
26449
+ "items": [
26813
26450
  {
26814
- "id": "",
26451
+ "id": "himi_blog_post.comment_row",
26815
26452
  "body": {
26816
26453
  "package": "himalaya",
26817
- "type": "Icon",
26454
+ "type": "HStack",
26818
26455
  "props": {
26819
- "name": "newspaper",
26820
- "size": 22,
26821
- "tint": "textTertiary"
26822
- }
26823
- },
26824
- "modifiers": {
26825
- "accessibilityRole": "decorative"
26826
- }
26827
- }
26828
- ]
26829
- }
26830
- },
26831
- "modifiers": {
26832
- "width": 72,
26833
- "height": 72,
26834
- "background": {
26835
- "token": "surfaceSecondary"
26836
- },
26837
- "cornerRadius": 8,
26838
- "accessibilityRole": "decorative",
26839
- "hiddenPath": "$item.hasCover"
26456
+ "spacing": 10,
26457
+ "alignment": "leading",
26458
+ "children": [
26459
+ {
26460
+ "id": "himi_blog_post.comment_avatar.photo",
26461
+ "body": {
26462
+ "package": "himalaya",
26463
+ "type": "Image",
26464
+ "props": {
26465
+ "url": "$item.authorPhoto",
26466
+ "width": 32,
26467
+ "height": 32,
26468
+ "contentMode": "fill",
26469
+ "shape": "circle"
26470
+ }
26471
+ },
26472
+ "modifiers": {
26473
+ "accessibilityRole": "decorative",
26474
+ "hiddenPath": "$item.noAuthorPhoto"
26475
+ }
26476
+ },
26477
+ {
26478
+ "id": "",
26479
+ "body": {
26480
+ "package": "himalaya",
26481
+ "type": "ZStack",
26482
+ "props": {
26483
+ "alignment": "center",
26484
+ "children": [
26485
+ {
26486
+ "id": "",
26487
+ "body": {
26488
+ "package": "himalaya",
26489
+ "type": "Text",
26490
+ "props": {
26491
+ "text": "$item.authorInitial",
26492
+ "style": "footnote",
26493
+ "color": "accentPrimary",
26494
+ "collapseWhenEmpty": true
26495
+ }
26496
+ }
26497
+ }
26498
+ ]
26499
+ }
26500
+ },
26501
+ "modifiers": {
26502
+ "width": 32,
26503
+ "height": 32,
26504
+ "background": {
26505
+ "token": "accentSurface"
26506
+ },
26507
+ "cornerRadius": 16,
26508
+ "accessibilityRole": "decorative",
26509
+ "hiddenPath": "$item.hasAuthorPhoto"
26510
+ }
26511
+ },
26512
+ {
26513
+ "id": "",
26514
+ "body": {
26515
+ "package": "himalaya",
26516
+ "type": "VStack",
26517
+ "props": {
26518
+ "spacing": 4,
26519
+ "alignment": "leading",
26520
+ "children": [
26521
+ {
26522
+ "id": "",
26523
+ "body": {
26524
+ "package": "himalaya",
26525
+ "type": "HStack",
26526
+ "props": {
26527
+ "spacing": 6,
26528
+ "alignment": "center",
26529
+ "children": [
26530
+ {
26531
+ "id": "",
26532
+ "body": {
26533
+ "package": "himalaya",
26534
+ "type": "Text",
26535
+ "props": {
26536
+ "text": "$item.authorName",
26537
+ "style": "footnote",
26538
+ "maxLines": 1
26539
+ }
26540
+ }
26541
+ },
26542
+ {
26543
+ "id": "",
26544
+ "body": {
26545
+ "package": "himalaya",
26546
+ "type": "Text",
26547
+ "props": {
26548
+ "text": "$item.meta",
26549
+ "style": "caption",
26550
+ "color": "textTertiary",
26551
+ "maxLines": 1,
26552
+ "collapseWhenEmpty": true
26553
+ }
26554
+ }
26555
+ },
26556
+ {
26557
+ "id": "",
26558
+ "body": {
26559
+ "package": "himalaya",
26560
+ "type": "Spacer",
26561
+ "props": {}
26562
+ }
26563
+ },
26564
+ {
26565
+ "id": "",
26566
+ "body": {
26567
+ "package": "himalaya",
26568
+ "type": "HStack",
26569
+ "props": {
26570
+ "spacing": 0,
26571
+ "alignment": "center",
26572
+ "children": [
26573
+ {
26574
+ "id": "himi_blog_post.comment_menu",
26575
+ "body": {
26576
+ "package": "himalaya",
26577
+ "type": "Menu",
26578
+ "props": {
26579
+ "anchor": {
26580
+ "id": "",
26581
+ "body": {
26582
+ "package": "himalaya",
26583
+ "type": "Icon",
26584
+ "props": {
26585
+ "name": "more_vertical",
26586
+ "size": 18,
26587
+ "tint": "textSecondary"
26588
+ }
26589
+ },
26590
+ "modifiers": {
26591
+ "accessibilityRole": "button",
26592
+ "accessibilityLabel": "Comment actions",
26593
+ "padding": {
26594
+ "leading": 13,
26595
+ "trailing": 13,
26596
+ "top": 4,
26597
+ "bottom": 4
26598
+ }
26599
+ }
26600
+ },
26601
+ "style": "dropdown",
26602
+ "items": [
26603
+ {
26604
+ "id": "report",
26605
+ "label": "Report",
26606
+ "icon": "warning",
26607
+ "action": {
26608
+ "actionId": "tier5.himiBlogPost.reportComment",
26609
+ "params": {
26610
+ "id": "$item.id"
26611
+ }
26612
+ }
26613
+ }
26614
+ ]
26615
+ }
26616
+ }
26617
+ }
26618
+ ]
26619
+ }
26620
+ },
26621
+ "modifiers": {
26622
+ "hiddenPath": "$item.noReport"
26623
+ }
26624
+ }
26625
+ ]
26626
+ }
26627
+ }
26628
+ },
26629
+ {
26630
+ "id": "comment_preview_$item.id",
26631
+ "body": {
26632
+ "package": "himalaya",
26633
+ "type": "Text",
26634
+ "props": {
26635
+ "text": "$item.preview",
26636
+ "style": "body",
26637
+ "maxLines": 2
26638
+ }
26639
+ }
26640
+ },
26641
+ {
26642
+ "id": "",
26643
+ "body": {
26644
+ "package": "himalaya",
26645
+ "type": "HStack",
26646
+ "props": {
26647
+ "spacing": 12,
26648
+ "alignment": "center",
26649
+ "children": [
26650
+ {
26651
+ "id": "",
26652
+ "body": {
26653
+ "package": "himalaya",
26654
+ "type": "HStack",
26655
+ "props": {
26656
+ "spacing": 0,
26657
+ "alignment": "center",
26658
+ "children": [
26659
+ {
26660
+ "id": "himi_blog_post.comment_like",
26661
+ "body": {
26662
+ "package": "himalaya",
26663
+ "type": "HStack",
26664
+ "props": {
26665
+ "spacing": 4,
26666
+ "alignment": "center",
26667
+ "children": [
26668
+ {
26669
+ "id": "",
26670
+ "body": {
26671
+ "package": "himalaya",
26672
+ "type": "Icon",
26673
+ "props": {
26674
+ "name": "heart",
26675
+ "size": 14,
26676
+ "tint": "textSecondary"
26677
+ }
26678
+ },
26679
+ "modifiers": {
26680
+ "accessibilityRole": "decorative"
26681
+ }
26682
+ },
26683
+ {
26684
+ "id": "",
26685
+ "body": {
26686
+ "package": "himalaya",
26687
+ "type": "Text",
26688
+ "props": {
26689
+ "text": "$item.likes",
26690
+ "style": "caption",
26691
+ "color": "textSecondary",
26692
+ "monospacedDigits": true
26693
+ }
26694
+ }
26695
+ }
26696
+ ]
26697
+ }
26698
+ },
26699
+ "modifiers": {
26700
+ "border": {
26701
+ "width": 1,
26702
+ "color": {
26703
+ "token": "border"
26704
+ }
26705
+ },
26706
+ "cornerRadius": 999,
26707
+ "padding": {
26708
+ "leading": 10,
26709
+ "trailing": 10,
26710
+ "top": 4,
26711
+ "bottom": 4
26712
+ },
26713
+ "onTap": {
26714
+ "actionId": "tier5.himiBlogPost.likeComment",
26715
+ "params": {
26716
+ "id": "$item.id"
26717
+ }
26718
+ },
26719
+ "pressFeedback": "scale",
26720
+ "haptic": "light",
26721
+ "accessibilityRole": "button",
26722
+ "accessibilityLabel": "Like",
26723
+ "hiddenPath": "$item.liked"
26724
+ }
26725
+ },
26726
+ {
26727
+ "id": "himi_blog_post.comment_unlike",
26728
+ "body": {
26729
+ "package": "himalaya",
26730
+ "type": "HStack",
26731
+ "props": {
26732
+ "spacing": 4,
26733
+ "alignment": "center",
26734
+ "children": [
26735
+ {
26736
+ "id": "",
26737
+ "body": {
26738
+ "package": "himalaya",
26739
+ "type": "Icon",
26740
+ "props": {
26741
+ "name": "heart_fill",
26742
+ "size": 14,
26743
+ "tint": "danger"
26744
+ }
26745
+ },
26746
+ "modifiers": {
26747
+ "accessibilityRole": "decorative"
26748
+ }
26749
+ },
26750
+ {
26751
+ "id": "",
26752
+ "body": {
26753
+ "package": "himalaya",
26754
+ "type": "Text",
26755
+ "props": {
26756
+ "text": "$item.likes",
26757
+ "style": "caption",
26758
+ "color": "danger",
26759
+ "monospacedDigits": true
26760
+ }
26761
+ }
26762
+ }
26763
+ ]
26764
+ }
26765
+ },
26766
+ "modifiers": {
26767
+ "background": {
26768
+ "token": "dangerSurface"
26769
+ },
26770
+ "cornerRadius": 999,
26771
+ "padding": {
26772
+ "leading": 10,
26773
+ "trailing": 10,
26774
+ "top": 4,
26775
+ "bottom": 4
26776
+ },
26777
+ "onTap": {
26778
+ "actionId": "tier5.himiBlogPost.unlikeComment",
26779
+ "params": {
26780
+ "id": "$item.id"
26781
+ }
26782
+ },
26783
+ "pressFeedback": "scale",
26784
+ "haptic": "light",
26785
+ "accessibilityRole": "button",
26786
+ "accessibilityLabel": "Unlike",
26787
+ "hiddenPath": "$item.notLiked"
26788
+ }
26789
+ }
26790
+ ]
26791
+ }
26792
+ },
26793
+ "modifiers": {
26794
+ "hiddenPath": "$item.noLikes"
26795
+ }
26796
+ },
26797
+ {
26798
+ "id": "",
26799
+ "body": {
26800
+ "package": "himalaya",
26801
+ "type": "HStack",
26802
+ "props": {
26803
+ "spacing": 0,
26804
+ "alignment": "center",
26805
+ "children": [
26806
+ {
26807
+ "id": "himi_blog_post.comment_reply",
26808
+ "body": {
26809
+ "package": "himalaya",
26810
+ "type": "Text",
26811
+ "props": {
26812
+ "text": "Reply",
26813
+ "style": "caption",
26814
+ "color": "textSecondary"
26815
+ }
26816
+ },
26817
+ "modifiers": {
26818
+ "onTap": {
26819
+ "actionId": "tier5.himiBlogPost.replyTo",
26820
+ "params": {
26821
+ "id": "$item.id"
26822
+ }
26823
+ },
26824
+ "accessibilityRole": "button",
26825
+ "padding": {
26826
+ "top": 4,
26827
+ "bottom": 4,
26828
+ "leading": 4,
26829
+ "trailing": 4
26830
+ },
26831
+ "hiddenPath": "$item.noReply"
26832
+ }
26833
+ }
26834
+ ]
26835
+ }
26836
+ },
26837
+ "modifiers": {
26838
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
26839
+ }
26840
+ },
26841
+ {
26842
+ "id": "",
26843
+ "body": {
26844
+ "package": "himalaya",
26845
+ "type": "Spacer",
26846
+ "props": {}
26847
+ }
26848
+ }
26849
+ ]
26850
+ }
26851
+ }
26852
+ }
26853
+ ]
26854
+ }
26855
+ },
26856
+ "modifiers": {
26857
+ "weight": 1
26858
+ }
26859
+ }
26860
+ ]
26861
+ }
26862
+ },
26863
+ "modifiers": {
26864
+ "fillMaxWidth": true
26865
+ }
26866
+ }
26867
+ ]
26868
+ }
26840
26869
  }
26841
26870
  },
26842
26871
  {
26843
- "id": "",
26872
+ "id": "himi_blog_post.comment_open_composer",
26844
26873
  "body": {
26845
26874
  "package": "himalaya",
26846
- "type": "VStack",
26875
+ "type": "HStack",
26847
26876
  "props": {
26848
- "spacing": 4,
26849
- "alignment": "leading",
26877
+ "spacing": 10,
26878
+ "alignment": "center",
26850
26879
  "children": [
26880
+ {
26881
+ "id": "himi_blog_post.comment_input_avatar.photo",
26882
+ "body": {
26883
+ "package": "himalaya",
26884
+ "type": "Image",
26885
+ "props": {
26886
+ "url": "$service:himiBlogPost.memberPhoto",
26887
+ "width": 32,
26888
+ "height": 32,
26889
+ "contentMode": "fill",
26890
+ "shape": "circle"
26891
+ }
26892
+ },
26893
+ "modifiers": {
26894
+ "accessibilityRole": "decorative",
26895
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
26896
+ }
26897
+ },
26851
26898
  {
26852
26899
  "id": "",
26853
26900
  "body": {
26854
26901
  "package": "himalaya",
26855
- "type": "Text",
26902
+ "type": "ZStack",
26856
26903
  "props": {
26857
- "text": "$item.title",
26858
- "style": "bodyEmphasis",
26859
- "maxLines": 2
26904
+ "alignment": "center",
26905
+ "children": [
26906
+ {
26907
+ "id": "",
26908
+ "body": {
26909
+ "package": "himalaya",
26910
+ "type": "Icon",
26911
+ "props": {
26912
+ "name": "person",
26913
+ "size": 16,
26914
+ "tint": "accentPrimary"
26915
+ }
26916
+ },
26917
+ "modifiers": {
26918
+ "accessibilityRole": "decorative",
26919
+ "hiddenPath": "$service:himiBlogPost.isMember"
26920
+ }
26921
+ },
26922
+ {
26923
+ "id": "",
26924
+ "body": {
26925
+ "package": "himalaya",
26926
+ "type": "Text",
26927
+ "props": {
26928
+ "text": "$service:himiBlogPost.memberInitial",
26929
+ "style": "footnote",
26930
+ "color": "accentPrimary",
26931
+ "collapseWhenEmpty": true
26932
+ }
26933
+ }
26934
+ }
26935
+ ]
26860
26936
  }
26937
+ },
26938
+ "modifiers": {
26939
+ "width": 32,
26940
+ "height": 32,
26941
+ "background": {
26942
+ "token": "accentSurface"
26943
+ },
26944
+ "cornerRadius": 16,
26945
+ "accessibilityRole": "decorative",
26946
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
26861
26947
  }
26862
26948
  },
26863
26949
  {
26864
26950
  "id": "",
26865
26951
  "body": {
26866
26952
  "package": "himalaya",
26867
- "type": "Text",
26953
+ "type": "HStack",
26868
26954
  "props": {
26869
- "text": "$item.date",
26870
- "style": "caption",
26871
- "color": "textSecondary",
26872
- "maxLines": 1,
26873
- "collapseWhenEmpty": true
26955
+ "spacing": 0,
26956
+ "alignment": "center",
26957
+ "children": [
26958
+ {
26959
+ "id": "",
26960
+ "body": {
26961
+ "package": "himalaya",
26962
+ "type": "Text",
26963
+ "props": {
26964
+ "text": "Leave a comment…",
26965
+ "style": "body",
26966
+ "color": "textTertiary",
26967
+ "maxLines": 1
26968
+ }
26969
+ }
26970
+ },
26971
+ {
26972
+ "id": "",
26973
+ "body": {
26974
+ "package": "himalaya",
26975
+ "type": "Spacer",
26976
+ "props": {}
26977
+ }
26978
+ }
26979
+ ]
26874
26980
  }
26981
+ },
26982
+ "modifiers": {
26983
+ "background": {
26984
+ "token": "surfacePrimary"
26985
+ },
26986
+ "cornerRadius": 999,
26987
+ "padding": {
26988
+ "leading": 16,
26989
+ "trailing": 16,
26990
+ "top": 10,
26991
+ "bottom": 10
26992
+ },
26993
+ "weight": 1
26875
26994
  }
26876
26995
  }
26877
26996
  ]
26878
26997
  }
26879
- }
26880
- },
26881
- {
26882
- "id": "",
26883
- "body": {
26884
- "package": "himalaya",
26885
- "type": "Spacer",
26886
- "props": {}
26998
+ },
26999
+ "modifiers": {
27000
+ "onTap": {
27001
+ "actionId": "tier5.himiBlogPost.openComposer"
27002
+ },
27003
+ "accessibilityRole": "button",
27004
+ "accessibilityLabel": "Leave a comment…",
27005
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
26887
27006
  }
26888
27007
  }
26889
27008
  ]
26890
27009
  }
26891
27010
  },
26892
27011
  "modifiers": {
26893
- "padding": {
26894
- "leading": 20,
26895
- "trailing": 20,
26896
- "top": 12,
26897
- "bottom": 12
26898
- },
26899
- "onTap": {
26900
- "actionId": "himi.open",
26901
- "params": {
26902
- "screenId": "$item.detailScreenId",
26903
- "id": "$item.id"
26904
- }
27012
+ "background": {
27013
+ "token": "surfaceSecondary"
26905
27014
  },
26906
- "pressFeedback": "scale",
26907
- "haptic": "light",
26908
- "accessibilityLabel": "$item.title"
27015
+ "cornerRadius": 16,
27016
+ "padding": {
27017
+ "leading": 16,
27018
+ "trailing": 16,
27019
+ "top": 16,
27020
+ "bottom": 16
27021
+ }
26909
27022
  }
26910
27023
  }
26911
27024
  ]
26912
27025
  }
27026
+ },
27027
+ "modifiers": {
27028
+ "padding": {
27029
+ "leading": 20,
27030
+ "trailing": 20,
27031
+ "top": 20,
27032
+ "bottom": 20
27033
+ }
27034
+ }
27035
+ }
27036
+ ]
27037
+ }
27038
+ }
27039
+ },
27040
+ {
27041
+ "id": "himi_blog_post.recent_section",
27042
+ "body": {
27043
+ "package": "himalaya",
27044
+ "type": "VStack",
27045
+ "props": {
27046
+ "spacing": 0,
27047
+ "alignment": "leading",
27048
+ "children": [
27049
+ {
27050
+ "id": "himi_blog_post.recent_band",
27051
+ "body": {
27052
+ "package": "himalaya",
27053
+ "type": "VStack",
27054
+ "props": {
27055
+ "spacing": 0,
27056
+ "children": []
27057
+ }
27058
+ },
27059
+ "modifiers": {
27060
+ "height": 12,
27061
+ "fillMaxWidth": true,
27062
+ "background": {
27063
+ "token": "surfaceSecondary"
27064
+ },
27065
+ "accessibilityRole": "decorative"
26913
27066
  }
26914
27067
  },
26915
27068
  {
26916
27069
  "id": "",
26917
27070
  "body": {
26918
27071
  "package": "himalaya",
26919
- "type": "HStack",
27072
+ "type": "VStack",
26920
27073
  "props": {
26921
27074
  "spacing": 0,
27075
+ "alignment": "leading",
26922
27076
  "children": [
26923
27077
  {
26924
27078
  "id": "",
26925
27079
  "body": {
26926
27080
  "package": "himalaya",
26927
- "type": "Spacer",
26928
- "props": {}
27081
+ "type": "Text",
27082
+ "props": {
27083
+ "text": "Recent posts",
27084
+ "style": "title3"
27085
+ }
27086
+ },
27087
+ "modifiers": {
27088
+ "accessibilityRole": "heading"
26929
27089
  }
26930
- },
27090
+ }
27091
+ ]
27092
+ }
27093
+ },
27094
+ "modifiers": {
27095
+ "padding": {
27096
+ "leading": 20,
27097
+ "trailing": 20,
27098
+ "top": 20,
27099
+ "bottom": 4
27100
+ }
27101
+ }
27102
+ },
27103
+ {
27104
+ "id": "himi_blog_post.recent",
27105
+ "body": {
27106
+ "package": "himalaya",
27107
+ "type": "Grid",
27108
+ "props": {
27109
+ "columns": 1,
27110
+ "spacing": 0,
27111
+ "itemsPath": "$service:himiBlogPost.recent",
27112
+ "items": [
26931
27113
  {
26932
- "id": "himi_blog_post.see_all",
27114
+ "id": "himi_blog_post.recent_row",
26933
27115
  "body": {
26934
27116
  "package": "himalaya",
26935
- "type": "Button",
27117
+ "type": "HStack",
26936
27118
  "props": {
26937
- "title": "See All Posts",
26938
- "style": "secondary",
26939
- "fullWidth": false,
26940
- "action": {
26941
- "actionId": "himi.open",
26942
- "params": {
26943
- "screenId": "himi_blog"
27119
+ "spacing": 12,
27120
+ "children": [
27121
+ {
27122
+ "id": "himi_blog_post.recent_cover",
27123
+ "body": {
27124
+ "package": "himalaya",
27125
+ "type": "Image",
27126
+ "props": {
27127
+ "url": "$item.cover",
27128
+ "width": 72,
27129
+ "height": 72,
27130
+ "contentMode": "fill"
27131
+ }
27132
+ },
27133
+ "modifiers": {
27134
+ "accessibilityRole": "decorative",
27135
+ "cornerRadius": 8,
27136
+ "hiddenPath": "$item.noCover"
27137
+ }
27138
+ },
27139
+ {
27140
+ "id": "",
27141
+ "body": {
27142
+ "package": "himalaya",
27143
+ "type": "ZStack",
27144
+ "props": {
27145
+ "alignment": "center",
27146
+ "children": [
27147
+ {
27148
+ "id": "",
27149
+ "body": {
27150
+ "package": "himalaya",
27151
+ "type": "Icon",
27152
+ "props": {
27153
+ "name": "newspaper",
27154
+ "size": 22,
27155
+ "tint": "textTertiary"
27156
+ }
27157
+ },
27158
+ "modifiers": {
27159
+ "accessibilityRole": "decorative"
27160
+ }
27161
+ }
27162
+ ]
27163
+ }
27164
+ },
27165
+ "modifiers": {
27166
+ "width": 72,
27167
+ "height": 72,
27168
+ "background": {
27169
+ "token": "surfaceSecondary"
27170
+ },
27171
+ "cornerRadius": 8,
27172
+ "accessibilityRole": "decorative",
27173
+ "hiddenPath": "$item.hasCover"
27174
+ }
27175
+ },
27176
+ {
27177
+ "id": "",
27178
+ "body": {
27179
+ "package": "himalaya",
27180
+ "type": "VStack",
27181
+ "props": {
27182
+ "spacing": 4,
27183
+ "alignment": "leading",
27184
+ "children": [
27185
+ {
27186
+ "id": "",
27187
+ "body": {
27188
+ "package": "himalaya",
27189
+ "type": "Text",
27190
+ "props": {
27191
+ "text": "$item.title",
27192
+ "style": "bodyEmphasis",
27193
+ "maxLines": 2
27194
+ }
27195
+ }
27196
+ },
27197
+ {
27198
+ "id": "",
27199
+ "body": {
27200
+ "package": "himalaya",
27201
+ "type": "Text",
27202
+ "props": {
27203
+ "text": "$item.date",
27204
+ "style": "caption",
27205
+ "color": "textSecondary",
27206
+ "maxLines": 1,
27207
+ "collapseWhenEmpty": true
27208
+ }
27209
+ }
27210
+ }
27211
+ ]
27212
+ }
27213
+ }
27214
+ },
27215
+ {
27216
+ "id": "",
27217
+ "body": {
27218
+ "package": "himalaya",
27219
+ "type": "Spacer",
27220
+ "props": {}
27221
+ }
27222
+ }
27223
+ ]
27224
+ }
27225
+ },
27226
+ "modifiers": {
27227
+ "padding": {
27228
+ "leading": 20,
27229
+ "trailing": 20,
27230
+ "top": 12,
27231
+ "bottom": 12
27232
+ },
27233
+ "onTap": {
27234
+ "actionId": "himi.open",
27235
+ "params": {
27236
+ "screenId": "$item.detailScreenId",
27237
+ "id": "$item.id"
27238
+ }
27239
+ },
27240
+ "pressFeedback": "scale",
27241
+ "haptic": "light",
27242
+ "accessibilityLabel": "$item.title"
27243
+ }
27244
+ }
27245
+ ]
27246
+ }
27247
+ }
27248
+ },
27249
+ {
27250
+ "id": "",
27251
+ "body": {
27252
+ "package": "himalaya",
27253
+ "type": "HStack",
27254
+ "props": {
27255
+ "spacing": 0,
27256
+ "children": [
27257
+ {
27258
+ "id": "",
27259
+ "body": {
27260
+ "package": "himalaya",
27261
+ "type": "Spacer",
27262
+ "props": {}
27263
+ }
27264
+ },
27265
+ {
27266
+ "id": "himi_blog_post.see_all",
27267
+ "body": {
27268
+ "package": "himalaya",
27269
+ "type": "Button",
27270
+ "props": {
27271
+ "title": "See All Posts",
27272
+ "style": "secondary",
27273
+ "fullWidth": false,
27274
+ "action": {
27275
+ "actionId": "himi.open",
27276
+ "params": {
27277
+ "screenId": "himi_blog"
27278
+ }
27279
+ }
27280
+ }
27281
+ }
27282
+ },
27283
+ {
27284
+ "id": "",
27285
+ "body": {
27286
+ "package": "himalaya",
27287
+ "type": "Spacer",
27288
+ "props": {}
27289
+ }
27290
+ }
27291
+ ]
27292
+ }
27293
+ },
27294
+ "modifiers": {
27295
+ "padding": {
27296
+ "top": 12,
27297
+ "bottom": 8
27298
+ }
27299
+ }
27300
+ }
27301
+ ]
27302
+ }
27303
+ },
27304
+ "modifiers": {
27305
+ "hiddenPath": "$service:himiBlogPost.noRecent"
27306
+ }
27307
+ }
27308
+ ]
27309
+ }
27310
+ },
27311
+ "modifiers": {
27312
+ "hiddenPath": "$service:himiBlogPost.noPost"
27313
+ }
27314
+ },
27315
+ {
27316
+ "id": "himi_blog_post.more_sheet",
27317
+ "body": {
27318
+ "package": "himalaya",
27319
+ "type": "BottomSheet",
27320
+ "props": {
27321
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
27322
+ "dismissible": true,
27323
+ "showGrabber": true,
27324
+ "onDismiss": {
27325
+ "actionId": "tier5.himiBlogPost.closeMore"
27326
+ },
27327
+ "content": {
27328
+ "id": "",
27329
+ "body": {
27330
+ "package": "himalaya",
27331
+ "type": "VStack",
27332
+ "props": {
27333
+ "spacing": 0,
27334
+ "alignment": "leading",
27335
+ "children": [
27336
+ {
27337
+ "id": "himi_blog_post.report",
27338
+ "body": {
27339
+ "package": "himalaya",
27340
+ "type": "HStack",
27341
+ "props": {
27342
+ "spacing": 14,
27343
+ "alignment": "center",
27344
+ "children": [
27345
+ {
27346
+ "id": "",
27347
+ "body": {
27348
+ "package": "himalaya",
27349
+ "type": "Icon",
27350
+ "props": {
27351
+ "name": "warning",
27352
+ "size": 22,
27353
+ "tint": "textPrimary"
27354
+ }
27355
+ },
27356
+ "modifiers": {
27357
+ "accessibilityRole": "decorative"
27358
+ }
27359
+ },
27360
+ {
27361
+ "id": "",
27362
+ "body": {
27363
+ "package": "himalaya",
27364
+ "type": "Text",
27365
+ "props": {
27366
+ "text": "Report",
27367
+ "style": "body"
27368
+ }
27369
+ }
27370
+ },
27371
+ {
27372
+ "id": "",
27373
+ "body": {
27374
+ "package": "himalaya",
27375
+ "type": "Spacer",
27376
+ "props": {}
27377
+ }
27378
+ }
27379
+ ]
27380
+ }
27381
+ },
27382
+ "modifiers": {
27383
+ "onTap": {
27384
+ "actionId": "tier5.himiBlogPost.report"
27385
+ },
27386
+ "accessibilityRole": "button",
27387
+ "accessibilityLabel": "Report",
27388
+ "padding": {
27389
+ "top": 11,
27390
+ "bottom": 11
27391
+ },
27392
+ "hiddenPath": "$service:himiBlogPost.reported"
27393
+ }
27394
+ },
27395
+ {
27396
+ "id": "himi_blog_post.hide",
27397
+ "body": {
27398
+ "package": "himalaya",
27399
+ "type": "HStack",
27400
+ "props": {
27401
+ "spacing": 14,
27402
+ "alignment": "center",
27403
+ "children": [
27404
+ {
27405
+ "id": "",
27406
+ "body": {
27407
+ "package": "himalaya",
27408
+ "type": "Icon",
27409
+ "props": {
27410
+ "name": "concealed",
27411
+ "size": 22,
27412
+ "tint": "textPrimary"
27413
+ }
27414
+ },
27415
+ "modifiers": {
27416
+ "accessibilityRole": "decorative"
27417
+ }
27418
+ },
27419
+ {
27420
+ "id": "",
27421
+ "body": {
27422
+ "package": "himalaya",
27423
+ "type": "Text",
27424
+ "props": {
27425
+ "text": "Hide post",
27426
+ "style": "body"
27427
+ }
27428
+ }
27429
+ },
27430
+ {
27431
+ "id": "",
27432
+ "body": {
27433
+ "package": "himalaya",
27434
+ "type": "Spacer",
27435
+ "props": {}
27436
+ }
27437
+ }
27438
+ ]
27439
+ }
27440
+ },
27441
+ "modifiers": {
27442
+ "onTap": {
27443
+ "actionId": "tier5.himiBlogPost.openHide"
27444
+ },
27445
+ "accessibilityRole": "button",
27446
+ "accessibilityLabel": "Hide post",
27447
+ "padding": {
27448
+ "top": 11,
27449
+ "bottom": 11
27450
+ },
27451
+ "hiddenPath": "$service:himiBlogPost.hidden"
27452
+ }
27453
+ },
27454
+ {
27455
+ "id": "himi_blog_post.unhide",
27456
+ "body": {
27457
+ "package": "himalaya",
27458
+ "type": "HStack",
27459
+ "props": {
27460
+ "spacing": 14,
27461
+ "alignment": "center",
27462
+ "children": [
27463
+ {
27464
+ "id": "",
27465
+ "body": {
27466
+ "package": "himalaya",
27467
+ "type": "Icon",
27468
+ "props": {
27469
+ "name": "visible",
27470
+ "size": 22,
27471
+ "tint": "textPrimary"
27472
+ }
27473
+ },
27474
+ "modifiers": {
27475
+ "accessibilityRole": "decorative"
27476
+ }
27477
+ },
27478
+ {
27479
+ "id": "",
27480
+ "body": {
27481
+ "package": "himalaya",
27482
+ "type": "Text",
27483
+ "props": {
27484
+ "text": "Undo hide",
27485
+ "style": "body"
27486
+ }
27487
+ }
27488
+ },
27489
+ {
27490
+ "id": "",
27491
+ "body": {
27492
+ "package": "himalaya",
27493
+ "type": "Spacer",
27494
+ "props": {}
27495
+ }
27496
+ }
27497
+ ]
27498
+ }
27499
+ },
27500
+ "modifiers": {
27501
+ "onTap": {
27502
+ "actionId": "tier5.himiBlogPost.unhide"
27503
+ },
27504
+ "accessibilityRole": "button",
27505
+ "accessibilityLabel": "Undo hide",
27506
+ "padding": {
27507
+ "top": 11,
27508
+ "bottom": 11
27509
+ },
27510
+ "hiddenPath": "$service:himiBlogPost.notHidden"
27511
+ }
27512
+ }
27513
+ ]
27514
+ }
27515
+ },
27516
+ "modifiers": {
27517
+ "padding": {
27518
+ "leading": 20,
27519
+ "trailing": 20,
27520
+ "top": 0,
27521
+ "bottom": 8
27522
+ }
27523
+ }
27524
+ }
27525
+ }
27526
+ }
27527
+ },
27528
+ {
27529
+ "id": "himi_blog_post.hide_sheet",
27530
+ "body": {
27531
+ "package": "himalaya",
27532
+ "type": "BottomSheet",
27533
+ "props": {
27534
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
27535
+ "dismissible": true,
27536
+ "showGrabber": true,
27537
+ "onDismiss": {
27538
+ "actionId": "tier5.himiBlogPost.closeHide"
27539
+ },
27540
+ "content": {
27541
+ "id": "",
27542
+ "body": {
27543
+ "package": "himalaya",
27544
+ "type": "VStack",
27545
+ "props": {
27546
+ "spacing": 0,
27547
+ "alignment": "leading",
27548
+ "children": [
27549
+ {
27550
+ "id": "",
27551
+ "body": {
27552
+ "package": "himalaya",
27553
+ "type": "Text",
27554
+ "props": {
27555
+ "text": "Why are you hiding this post?",
27556
+ "style": "title3"
27557
+ }
27558
+ },
27559
+ "modifiers": {
27560
+ "padding": {
27561
+ "bottom": 6
27562
+ }
27563
+ }
27564
+ },
27565
+ {
27566
+ "id": "himi_blog_post.hide_offensive",
27567
+ "body": {
27568
+ "package": "himalaya",
27569
+ "type": "HStack",
27570
+ "props": {
27571
+ "spacing": 14,
27572
+ "alignment": "center",
27573
+ "children": [
27574
+ {
27575
+ "id": "",
27576
+ "body": {
27577
+ "package": "himalaya",
27578
+ "type": "Text",
27579
+ "props": {
27580
+ "text": "It is offensive",
27581
+ "style": "body"
27582
+ }
27583
+ }
27584
+ },
27585
+ {
27586
+ "id": "",
27587
+ "body": {
27588
+ "package": "himalaya",
27589
+ "type": "Spacer",
27590
+ "props": {}
27591
+ }
27592
+ }
27593
+ ]
27594
+ }
27595
+ },
27596
+ "modifiers": {
27597
+ "onTap": {
27598
+ "actionId": "tier5.himiBlogPost.hide",
27599
+ "params": {
27600
+ "reason": "offensive"
27601
+ }
27602
+ },
27603
+ "accessibilityRole": "button",
27604
+ "accessibilityLabel": "It is offensive",
27605
+ "padding": {
27606
+ "top": 11,
27607
+ "bottom": 11
27608
+ }
27609
+ }
27610
+ },
27611
+ {
27612
+ "id": "himi_blog_post.hide_misleading",
27613
+ "body": {
27614
+ "package": "himalaya",
27615
+ "type": "HStack",
27616
+ "props": {
27617
+ "spacing": 14,
27618
+ "alignment": "center",
27619
+ "children": [
27620
+ {
27621
+ "id": "",
27622
+ "body": {
27623
+ "package": "himalaya",
27624
+ "type": "Text",
27625
+ "props": {
27626
+ "text": "It is misleading",
27627
+ "style": "body"
27628
+ }
27629
+ }
27630
+ },
27631
+ {
27632
+ "id": "",
27633
+ "body": {
27634
+ "package": "himalaya",
27635
+ "type": "Spacer",
27636
+ "props": {}
27637
+ }
27638
+ }
27639
+ ]
27640
+ }
27641
+ },
27642
+ "modifiers": {
27643
+ "onTap": {
27644
+ "actionId": "tier5.himiBlogPost.hide",
27645
+ "params": {
27646
+ "reason": "misleading"
27647
+ }
27648
+ },
27649
+ "accessibilityRole": "button",
27650
+ "accessibilityLabel": "It is misleading",
27651
+ "padding": {
27652
+ "top": 11,
27653
+ "bottom": 11
27654
+ }
27655
+ }
27656
+ },
27657
+ {
27658
+ "id": "himi_blog_post.hide_other",
27659
+ "body": {
27660
+ "package": "himalaya",
27661
+ "type": "HStack",
27662
+ "props": {
27663
+ "spacing": 14,
27664
+ "alignment": "center",
27665
+ "children": [
27666
+ {
27667
+ "id": "",
27668
+ "body": {
27669
+ "package": "himalaya",
27670
+ "type": "Text",
27671
+ "props": {
27672
+ "text": "Something else",
27673
+ "style": "body"
27674
+ }
27675
+ }
27676
+ },
27677
+ {
27678
+ "id": "",
27679
+ "body": {
27680
+ "package": "himalaya",
27681
+ "type": "Spacer",
27682
+ "props": {}
27683
+ }
27684
+ }
27685
+ ]
27686
+ }
27687
+ },
27688
+ "modifiers": {
27689
+ "onTap": {
27690
+ "actionId": "tier5.himiBlogPost.hide",
27691
+ "params": {
27692
+ "reason": "other"
27693
+ }
27694
+ },
27695
+ "accessibilityRole": "button",
27696
+ "accessibilityLabel": "Something else",
27697
+ "padding": {
27698
+ "top": 11,
27699
+ "bottom": 11
27700
+ }
27701
+ }
27702
+ },
27703
+ {
27704
+ "id": "himi_blog_post.hide_cancel",
27705
+ "body": {
27706
+ "package": "himalaya",
27707
+ "type": "Button",
27708
+ "props": {
27709
+ "title": "Cancel",
27710
+ "style": "secondary",
27711
+ "fullWidth": true,
27712
+ "action": {
27713
+ "actionId": "tier5.himiBlogPost.closeHide"
27714
+ }
27715
+ }
27716
+ },
27717
+ "modifiers": {
27718
+ "padding": {
27719
+ "top": 8
27720
+ }
27721
+ }
27722
+ }
27723
+ ]
27724
+ }
27725
+ },
27726
+ "modifiers": {
27727
+ "padding": {
27728
+ "leading": 20,
27729
+ "trailing": 20,
27730
+ "top": 12,
27731
+ "bottom": 8
27732
+ }
27733
+ }
27734
+ }
27735
+ }
27736
+ }
27737
+ },
27738
+ {
27739
+ "id": "himi_blog_post.comments_sheet",
27740
+ "body": {
27741
+ "package": "himalaya",
27742
+ "type": "BottomSheet",
27743
+ "props": {
27744
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
27745
+ "dismissible": true,
27746
+ "showGrabber": true,
27747
+ "detents": [
27748
+ 0.9
27749
+ ],
27750
+ "onDismiss": {
27751
+ "actionId": "tier5.himiBlogPost.closeComments"
27752
+ },
27753
+ "content": {
27754
+ "id": "",
27755
+ "body": {
27756
+ "package": "himalaya",
27757
+ "type": "VStack",
27758
+ "props": {
27759
+ "spacing": 12,
27760
+ "alignment": "leading",
27761
+ "children": [
27762
+ {
27763
+ "id": "",
27764
+ "body": {
27765
+ "package": "himalaya",
27766
+ "type": "HStack",
27767
+ "props": {
27768
+ "spacing": 8,
27769
+ "alignment": "center",
27770
+ "children": [
27771
+ {
27772
+ "id": "",
27773
+ "body": {
27774
+ "package": "himalaya",
27775
+ "type": "VStack",
27776
+ "props": {
27777
+ "spacing": 2,
27778
+ "alignment": "leading",
27779
+ "children": [
27780
+ {
27781
+ "id": "himi_blog_post.comments_sheet_title",
27782
+ "body": {
27783
+ "package": "himalaya",
27784
+ "type": "Text",
27785
+ "props": {
27786
+ "text": "$service:himiBlogPost.sheetTitle",
27787
+ "style": "title3"
27788
+ }
27789
+ },
27790
+ "modifiers": {
27791
+ "accessibilityRole": "heading"
27792
+ }
27793
+ },
27794
+ {
27795
+ "id": "",
27796
+ "body": {
27797
+ "package": "himalaya",
27798
+ "type": "Text",
27799
+ "props": {
27800
+ "text": "$service:himiBlogPost.title",
27801
+ "style": "footnote",
27802
+ "color": "textSecondary",
27803
+ "maxLines": 1,
27804
+ "collapseWhenEmpty": true
27805
+ }
27806
+ }
27807
+ }
27808
+ ]
27809
+ }
27810
+ }
27811
+ },
27812
+ {
27813
+ "id": "",
27814
+ "body": {
27815
+ "package": "himalaya",
27816
+ "type": "Spacer",
27817
+ "props": {}
27818
+ }
27819
+ },
27820
+ {
27821
+ "id": "himi_blog_post.comments_close",
27822
+ "body": {
27823
+ "package": "himalaya",
27824
+ "type": "Icon",
27825
+ "props": {
27826
+ "name": "chevron_down",
27827
+ "size": 22,
27828
+ "tint": "textPrimary"
27829
+ }
27830
+ },
27831
+ "modifiers": {
27832
+ "accessibilityRole": "button",
27833
+ "onTap": {
27834
+ "actionId": "tier5.himiBlogPost.closeComments"
27835
+ },
27836
+ "accessibilityLabel": "Close comments",
27837
+ "padding": {
27838
+ "leading": 11,
27839
+ "trailing": 11,
27840
+ "top": 11,
27841
+ "bottom": 11
27842
+ }
27843
+ }
27844
+ }
27845
+ ]
27846
+ }
27847
+ }
27848
+ },
27849
+ {
27850
+ "id": "",
27851
+ "body": {
27852
+ "package": "himalaya",
27853
+ "type": "Text",
27854
+ "props": {
27855
+ "text": "$service:himiBlogPost.commentStatusText",
27856
+ "style": "footnote",
27857
+ "color": "textSecondary"
27858
+ }
27859
+ },
27860
+ "modifiers": {
27861
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
27862
+ }
27863
+ },
27864
+ {
27865
+ "id": "",
27866
+ "body": {
27867
+ "package": "himalaya",
27868
+ "type": "VStack",
27869
+ "props": {
27870
+ "spacing": 4,
27871
+ "alignment": "leading",
27872
+ "children": [
27873
+ {
27874
+ "id": "",
27875
+ "body": {
27876
+ "package": "himalaya",
27877
+ "type": "Text",
27878
+ "props": {
27879
+ "text": "No comments yet",
27880
+ "style": "bodyEmphasis"
27881
+ }
27882
+ }
27883
+ },
27884
+ {
27885
+ "id": "",
27886
+ "body": {
27887
+ "package": "himalaya",
27888
+ "type": "Text",
27889
+ "props": {
27890
+ "text": "Be the first to share your thoughts.",
27891
+ "style": "footnote",
27892
+ "color": "textSecondary"
27893
+ }
27894
+ }
27895
+ }
27896
+ ]
27897
+ }
27898
+ },
27899
+ "modifiers": {
27900
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
27901
+ }
27902
+ },
27903
+ {
27904
+ "id": "himi_blog_post.sheet_comments",
27905
+ "body": {
27906
+ "package": "himalaya",
27907
+ "type": "LazyList",
27908
+ "props": {
27909
+ "spacing": 4,
27910
+ "itemsPath": "$service:himiBlogPost.comments",
27911
+ "items": [
27912
+ {
27913
+ "id": "himi_blog_post.sheet_comment_row",
27914
+ "body": {
27915
+ "package": "himalaya",
27916
+ "type": "VStack",
27917
+ "props": {
27918
+ "spacing": 0,
27919
+ "alignment": "leading",
27920
+ "children": [
27921
+ {
27922
+ "id": "",
27923
+ "body": {
27924
+ "package": "himalaya",
27925
+ "type": "VStack",
27926
+ "props": {
27927
+ "spacing": 0,
27928
+ "alignment": "leading",
27929
+ "children": [
27930
+ {
27931
+ "id": "",
27932
+ "body": {
27933
+ "package": "himalaya",
27934
+ "type": "HStack",
27935
+ "props": {
27936
+ "spacing": 10,
27937
+ "alignment": "leading",
27938
+ "children": [
27939
+ {
27940
+ "id": "himi_blog_post.comment_avatar.photo",
27941
+ "body": {
27942
+ "package": "himalaya",
27943
+ "type": "Image",
27944
+ "props": {
27945
+ "url": "$item.authorPhoto",
27946
+ "width": 32,
27947
+ "height": 32,
27948
+ "contentMode": "fill",
27949
+ "shape": "circle"
27950
+ }
27951
+ },
27952
+ "modifiers": {
27953
+ "accessibilityRole": "decorative",
27954
+ "hiddenPath": "$item.noAuthorPhoto"
27955
+ }
27956
+ },
27957
+ {
27958
+ "id": "",
27959
+ "body": {
27960
+ "package": "himalaya",
27961
+ "type": "ZStack",
27962
+ "props": {
27963
+ "alignment": "center",
27964
+ "children": [
27965
+ {
27966
+ "id": "",
27967
+ "body": {
27968
+ "package": "himalaya",
27969
+ "type": "Text",
27970
+ "props": {
27971
+ "text": "$item.authorInitial",
27972
+ "style": "footnote",
27973
+ "color": "accentPrimary",
27974
+ "collapseWhenEmpty": true
27975
+ }
27976
+ }
27977
+ }
27978
+ ]
27979
+ }
27980
+ },
27981
+ "modifiers": {
27982
+ "width": 32,
27983
+ "height": 32,
27984
+ "background": {
27985
+ "token": "accentSurface"
27986
+ },
27987
+ "cornerRadius": 16,
27988
+ "accessibilityRole": "decorative",
27989
+ "hiddenPath": "$item.hasAuthorPhoto"
27990
+ }
27991
+ },
27992
+ {
27993
+ "id": "",
27994
+ "body": {
27995
+ "package": "himalaya",
27996
+ "type": "VStack",
27997
+ "props": {
27998
+ "spacing": 4,
27999
+ "alignment": "leading",
28000
+ "children": [
28001
+ {
28002
+ "id": "",
28003
+ "body": {
28004
+ "package": "himalaya",
28005
+ "type": "HStack",
28006
+ "props": {
28007
+ "spacing": 6,
28008
+ "alignment": "center",
28009
+ "children": [
28010
+ {
28011
+ "id": "",
28012
+ "body": {
28013
+ "package": "himalaya",
28014
+ "type": "Text",
28015
+ "props": {
28016
+ "text": "$item.authorName",
28017
+ "style": "footnote",
28018
+ "maxLines": 1
28019
+ }
28020
+ }
28021
+ },
28022
+ {
28023
+ "id": "",
28024
+ "body": {
28025
+ "package": "himalaya",
28026
+ "type": "Text",
28027
+ "props": {
28028
+ "text": "$item.meta",
28029
+ "style": "caption",
28030
+ "color": "textTertiary",
28031
+ "maxLines": 1,
28032
+ "collapseWhenEmpty": true
28033
+ }
28034
+ }
28035
+ },
28036
+ {
28037
+ "id": "",
28038
+ "body": {
28039
+ "package": "himalaya",
28040
+ "type": "Spacer",
28041
+ "props": {}
28042
+ }
28043
+ },
28044
+ {
28045
+ "id": "",
28046
+ "body": {
28047
+ "package": "himalaya",
28048
+ "type": "HStack",
28049
+ "props": {
28050
+ "spacing": 0,
28051
+ "alignment": "center",
28052
+ "children": [
28053
+ {
28054
+ "id": "himi_blog_post.reply_menu",
28055
+ "body": {
28056
+ "package": "himalaya",
28057
+ "type": "Menu",
28058
+ "props": {
28059
+ "anchor": {
28060
+ "id": "",
28061
+ "body": {
28062
+ "package": "himalaya",
28063
+ "type": "Icon",
28064
+ "props": {
28065
+ "name": "more_vertical",
28066
+ "size": 18,
28067
+ "tint": "textSecondary"
28068
+ }
28069
+ },
28070
+ "modifiers": {
28071
+ "accessibilityRole": "button",
28072
+ "accessibilityLabel": "Comment actions",
28073
+ "padding": {
28074
+ "leading": 13,
28075
+ "trailing": 13,
28076
+ "top": 4,
28077
+ "bottom": 4
28078
+ }
28079
+ }
28080
+ },
28081
+ "style": "dropdown",
28082
+ "items": [
28083
+ {
28084
+ "id": "report",
28085
+ "label": "Report",
28086
+ "icon": "warning",
28087
+ "action": {
28088
+ "actionId": "tier5.himiBlogPost.reportComment",
28089
+ "params": {
28090
+ "id": "$item.id"
28091
+ }
28092
+ }
28093
+ }
28094
+ ]
28095
+ }
28096
+ }
28097
+ }
28098
+ ]
28099
+ }
28100
+ },
28101
+ "modifiers": {
28102
+ "hiddenPath": "$item.noReport"
28103
+ }
28104
+ }
28105
+ ]
28106
+ }
28107
+ }
28108
+ },
28109
+ {
28110
+ "id": "",
28111
+ "body": {
28112
+ "package": "himalaya",
28113
+ "type": "VStack",
28114
+ "props": {
28115
+ "spacing": 0,
28116
+ "alignment": "leading",
28117
+ "children": [
28118
+ {
28119
+ "id": "reply_body_$item.id",
28120
+ "body": {
28121
+ "package": "himalaya",
28122
+ "type": "RichContent",
28123
+ "props": {
28124
+ "documentJsonPath": "$item.bodyJson",
28125
+ "onLink": {
28126
+ "actionId": "tier5.himiBlogPost.openLink"
28127
+ },
28128
+ "fallback": {
28129
+ "id": "",
28130
+ "body": {
28131
+ "package": "himalaya",
28132
+ "type": "Text",
28133
+ "props": {
28134
+ "text": "$item.text",
28135
+ "style": "body",
28136
+ "collapseWhenEmpty": true
28137
+ }
28138
+ }
28139
+ }
28140
+ }
28141
+ }
28142
+ },
28143
+ {
28144
+ "id": "reply_body_text_$item.id",
28145
+ "body": {
28146
+ "package": "himalaya",
28147
+ "type": "Text",
28148
+ "props": {
28149
+ "text": "$item.text",
28150
+ "style": "body",
28151
+ "collapseWhenEmpty": true
28152
+ }
28153
+ },
28154
+ "modifiers": {
28155
+ "hiddenPath": "$item.hasBodyJson"
28156
+ }
28157
+ }
28158
+ ]
28159
+ }
28160
+ }
28161
+ },
28162
+ {
28163
+ "id": "",
28164
+ "body": {
28165
+ "package": "himalaya",
28166
+ "type": "HStack",
28167
+ "props": {
28168
+ "spacing": 12,
28169
+ "alignment": "center",
28170
+ "children": [
28171
+ {
28172
+ "id": "",
28173
+ "body": {
28174
+ "package": "himalaya",
28175
+ "type": "HStack",
28176
+ "props": {
28177
+ "spacing": 0,
28178
+ "alignment": "center",
28179
+ "children": [
28180
+ {
28181
+ "id": "himi_blog_post.comment_like",
28182
+ "body": {
28183
+ "package": "himalaya",
28184
+ "type": "HStack",
28185
+ "props": {
28186
+ "spacing": 4,
28187
+ "alignment": "center",
28188
+ "children": [
28189
+ {
28190
+ "id": "",
28191
+ "body": {
28192
+ "package": "himalaya",
28193
+ "type": "Icon",
28194
+ "props": {
28195
+ "name": "heart",
28196
+ "size": 14,
28197
+ "tint": "textSecondary"
28198
+ }
28199
+ },
28200
+ "modifiers": {
28201
+ "accessibilityRole": "decorative"
28202
+ }
28203
+ },
28204
+ {
28205
+ "id": "",
28206
+ "body": {
28207
+ "package": "himalaya",
28208
+ "type": "Text",
28209
+ "props": {
28210
+ "text": "$item.likes",
28211
+ "style": "caption",
28212
+ "color": "textSecondary",
28213
+ "monospacedDigits": true
28214
+ }
28215
+ }
28216
+ }
28217
+ ]
28218
+ }
28219
+ },
28220
+ "modifiers": {
28221
+ "border": {
28222
+ "width": 1,
28223
+ "color": {
28224
+ "token": "border"
28225
+ }
28226
+ },
28227
+ "cornerRadius": 999,
28228
+ "padding": {
28229
+ "leading": 10,
28230
+ "trailing": 10,
28231
+ "top": 4,
28232
+ "bottom": 4
28233
+ },
28234
+ "onTap": {
28235
+ "actionId": "tier5.himiBlogPost.likeComment",
28236
+ "params": {
28237
+ "id": "$item.id"
28238
+ }
28239
+ },
28240
+ "pressFeedback": "scale",
28241
+ "haptic": "light",
28242
+ "accessibilityRole": "button",
28243
+ "accessibilityLabel": "Like",
28244
+ "hiddenPath": "$item.liked"
28245
+ }
28246
+ },
28247
+ {
28248
+ "id": "himi_blog_post.comment_unlike",
28249
+ "body": {
28250
+ "package": "himalaya",
28251
+ "type": "HStack",
28252
+ "props": {
28253
+ "spacing": 4,
28254
+ "alignment": "center",
28255
+ "children": [
28256
+ {
28257
+ "id": "",
28258
+ "body": {
28259
+ "package": "himalaya",
28260
+ "type": "Icon",
28261
+ "props": {
28262
+ "name": "heart_fill",
28263
+ "size": 14,
28264
+ "tint": "danger"
28265
+ }
28266
+ },
28267
+ "modifiers": {
28268
+ "accessibilityRole": "decorative"
28269
+ }
28270
+ },
28271
+ {
28272
+ "id": "",
28273
+ "body": {
28274
+ "package": "himalaya",
28275
+ "type": "Text",
28276
+ "props": {
28277
+ "text": "$item.likes",
28278
+ "style": "caption",
28279
+ "color": "danger",
28280
+ "monospacedDigits": true
28281
+ }
28282
+ }
28283
+ }
28284
+ ]
28285
+ }
28286
+ },
28287
+ "modifiers": {
28288
+ "background": {
28289
+ "token": "dangerSurface"
28290
+ },
28291
+ "cornerRadius": 999,
28292
+ "padding": {
28293
+ "leading": 10,
28294
+ "trailing": 10,
28295
+ "top": 4,
28296
+ "bottom": 4
28297
+ },
28298
+ "onTap": {
28299
+ "actionId": "tier5.himiBlogPost.unlikeComment",
28300
+ "params": {
28301
+ "id": "$item.id"
28302
+ }
28303
+ },
28304
+ "pressFeedback": "scale",
28305
+ "haptic": "light",
28306
+ "accessibilityRole": "button",
28307
+ "accessibilityLabel": "Unlike",
28308
+ "hiddenPath": "$item.notLiked"
28309
+ }
28310
+ }
28311
+ ]
28312
+ }
28313
+ },
28314
+ "modifiers": {
28315
+ "hiddenPath": "$item.noLikes"
28316
+ }
28317
+ },
28318
+ {
28319
+ "id": "",
28320
+ "body": {
28321
+ "package": "himalaya",
28322
+ "type": "HStack",
28323
+ "props": {
28324
+ "spacing": 0,
28325
+ "alignment": "center",
28326
+ "children": [
28327
+ {
28328
+ "id": "himi_blog_post.comment_reply",
28329
+ "body": {
28330
+ "package": "himalaya",
28331
+ "type": "Text",
28332
+ "props": {
28333
+ "text": "Reply",
28334
+ "style": "caption",
28335
+ "color": "textSecondary"
28336
+ }
28337
+ },
28338
+ "modifiers": {
28339
+ "onTap": {
28340
+ "actionId": "tier5.himiBlogPost.replyTo",
28341
+ "params": {
28342
+ "id": "$item.id"
28343
+ }
28344
+ },
28345
+ "accessibilityRole": "button",
28346
+ "padding": {
28347
+ "top": 4,
28348
+ "bottom": 4,
28349
+ "leading": 4,
28350
+ "trailing": 4
28351
+ },
28352
+ "hiddenPath": "$item.noReply"
28353
+ }
28354
+ }
28355
+ ]
28356
+ }
28357
+ },
28358
+ "modifiers": {
28359
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
28360
+ }
28361
+ },
28362
+ {
28363
+ "id": "",
28364
+ "body": {
28365
+ "package": "himalaya",
28366
+ "type": "Spacer",
28367
+ "props": {}
28368
+ }
28369
+ }
28370
+ ]
28371
+ }
28372
+ }
28373
+ }
28374
+ ]
28375
+ }
28376
+ },
28377
+ "modifiers": {
28378
+ "weight": 1
28379
+ }
28380
+ }
28381
+ ]
28382
+ }
28383
+ },
28384
+ "modifiers": {
28385
+ "fillMaxWidth": true
28386
+ }
28387
+ }
28388
+ ]
28389
+ }
28390
+ },
28391
+ "modifiers": {
28392
+ "padding": {
28393
+ "leading": 42
28394
+ },
28395
+ "hiddenPath": "$item.notReply"
28396
+ }
28397
+ },
28398
+ {
28399
+ "id": "",
28400
+ "body": {
28401
+ "package": "himalaya",
28402
+ "type": "HStack",
28403
+ "props": {
28404
+ "spacing": 10,
28405
+ "alignment": "leading",
28406
+ "children": [
28407
+ {
28408
+ "id": "himi_blog_post.comment_avatar.photo",
28409
+ "body": {
28410
+ "package": "himalaya",
28411
+ "type": "Image",
28412
+ "props": {
28413
+ "url": "$item.authorPhoto",
28414
+ "width": 32,
28415
+ "height": 32,
28416
+ "contentMode": "fill",
28417
+ "shape": "circle"
28418
+ }
28419
+ },
28420
+ "modifiers": {
28421
+ "accessibilityRole": "decorative",
28422
+ "hiddenPath": "$item.noAuthorPhoto"
28423
+ }
28424
+ },
28425
+ {
28426
+ "id": "",
28427
+ "body": {
28428
+ "package": "himalaya",
28429
+ "type": "ZStack",
28430
+ "props": {
28431
+ "alignment": "center",
28432
+ "children": [
28433
+ {
28434
+ "id": "",
28435
+ "body": {
28436
+ "package": "himalaya",
28437
+ "type": "Text",
28438
+ "props": {
28439
+ "text": "$item.authorInitial",
28440
+ "style": "footnote",
28441
+ "color": "accentPrimary",
28442
+ "collapseWhenEmpty": true
28443
+ }
28444
+ }
28445
+ }
28446
+ ]
28447
+ }
28448
+ },
28449
+ "modifiers": {
28450
+ "width": 32,
28451
+ "height": 32,
28452
+ "background": {
28453
+ "token": "accentSurface"
28454
+ },
28455
+ "cornerRadius": 16,
28456
+ "accessibilityRole": "decorative",
28457
+ "hiddenPath": "$item.hasAuthorPhoto"
28458
+ }
28459
+ },
28460
+ {
28461
+ "id": "",
28462
+ "body": {
28463
+ "package": "himalaya",
28464
+ "type": "VStack",
28465
+ "props": {
28466
+ "spacing": 4,
28467
+ "alignment": "leading",
28468
+ "children": [
28469
+ {
28470
+ "id": "",
28471
+ "body": {
28472
+ "package": "himalaya",
28473
+ "type": "HStack",
28474
+ "props": {
28475
+ "spacing": 6,
28476
+ "alignment": "center",
28477
+ "children": [
28478
+ {
28479
+ "id": "",
28480
+ "body": {
28481
+ "package": "himalaya",
28482
+ "type": "Text",
28483
+ "props": {
28484
+ "text": "$item.authorName",
28485
+ "style": "footnote",
28486
+ "maxLines": 1
28487
+ }
28488
+ }
28489
+ },
28490
+ {
28491
+ "id": "",
28492
+ "body": {
28493
+ "package": "himalaya",
28494
+ "type": "Text",
28495
+ "props": {
28496
+ "text": "$item.meta",
28497
+ "style": "caption",
28498
+ "color": "textTertiary",
28499
+ "maxLines": 1,
28500
+ "collapseWhenEmpty": true
28501
+ }
28502
+ }
28503
+ },
28504
+ {
28505
+ "id": "",
28506
+ "body": {
28507
+ "package": "himalaya",
28508
+ "type": "Spacer",
28509
+ "props": {}
28510
+ }
28511
+ },
28512
+ {
28513
+ "id": "",
28514
+ "body": {
28515
+ "package": "himalaya",
28516
+ "type": "HStack",
28517
+ "props": {
28518
+ "spacing": 0,
28519
+ "alignment": "center",
28520
+ "children": [
28521
+ {
28522
+ "id": "himi_blog_post.comment_menu",
28523
+ "body": {
28524
+ "package": "himalaya",
28525
+ "type": "Menu",
28526
+ "props": {
28527
+ "anchor": {
28528
+ "id": "",
28529
+ "body": {
28530
+ "package": "himalaya",
28531
+ "type": "Icon",
28532
+ "props": {
28533
+ "name": "more_vertical",
28534
+ "size": 18,
28535
+ "tint": "textSecondary"
28536
+ }
28537
+ },
28538
+ "modifiers": {
28539
+ "accessibilityRole": "button",
28540
+ "accessibilityLabel": "Comment actions",
28541
+ "padding": {
28542
+ "leading": 13,
28543
+ "trailing": 13,
28544
+ "top": 4,
28545
+ "bottom": 4
28546
+ }
28547
+ }
28548
+ },
28549
+ "style": "dropdown",
28550
+ "items": [
28551
+ {
28552
+ "id": "report",
28553
+ "label": "Report",
28554
+ "icon": "warning",
28555
+ "action": {
28556
+ "actionId": "tier5.himiBlogPost.reportComment",
28557
+ "params": {
28558
+ "id": "$item.id"
28559
+ }
28560
+ }
28561
+ }
28562
+ ]
28563
+ }
28564
+ }
28565
+ }
28566
+ ]
28567
+ }
28568
+ },
28569
+ "modifiers": {
28570
+ "hiddenPath": "$item.noReport"
28571
+ }
28572
+ }
28573
+ ]
28574
+ }
28575
+ }
28576
+ },
28577
+ {
28578
+ "id": "",
28579
+ "body": {
28580
+ "package": "himalaya",
28581
+ "type": "VStack",
28582
+ "props": {
28583
+ "spacing": 0,
28584
+ "alignment": "leading",
28585
+ "children": [
28586
+ {
28587
+ "id": "comment_body_$item.id",
28588
+ "body": {
28589
+ "package": "himalaya",
28590
+ "type": "RichContent",
28591
+ "props": {
28592
+ "documentJsonPath": "$item.bodyJson",
28593
+ "onLink": {
28594
+ "actionId": "tier5.himiBlogPost.openLink"
28595
+ },
28596
+ "fallback": {
28597
+ "id": "",
28598
+ "body": {
28599
+ "package": "himalaya",
28600
+ "type": "Text",
28601
+ "props": {
28602
+ "text": "$item.text",
28603
+ "style": "body",
28604
+ "collapseWhenEmpty": true
28605
+ }
28606
+ }
28607
+ }
28608
+ }
28609
+ }
28610
+ },
28611
+ {
28612
+ "id": "comment_body_text_$item.id",
28613
+ "body": {
28614
+ "package": "himalaya",
28615
+ "type": "Text",
28616
+ "props": {
28617
+ "text": "$item.text",
28618
+ "style": "body",
28619
+ "collapseWhenEmpty": true
28620
+ }
28621
+ },
28622
+ "modifiers": {
28623
+ "hiddenPath": "$item.hasBodyJson"
28624
+ }
28625
+ }
28626
+ ]
28627
+ }
28628
+ }
28629
+ },
28630
+ {
28631
+ "id": "",
28632
+ "body": {
28633
+ "package": "himalaya",
28634
+ "type": "HStack",
28635
+ "props": {
28636
+ "spacing": 12,
28637
+ "alignment": "center",
28638
+ "children": [
28639
+ {
28640
+ "id": "",
28641
+ "body": {
28642
+ "package": "himalaya",
28643
+ "type": "HStack",
28644
+ "props": {
28645
+ "spacing": 0,
28646
+ "alignment": "center",
28647
+ "children": [
28648
+ {
28649
+ "id": "himi_blog_post.comment_like",
28650
+ "body": {
28651
+ "package": "himalaya",
28652
+ "type": "HStack",
28653
+ "props": {
28654
+ "spacing": 4,
28655
+ "alignment": "center",
28656
+ "children": [
28657
+ {
28658
+ "id": "",
28659
+ "body": {
28660
+ "package": "himalaya",
28661
+ "type": "Icon",
28662
+ "props": {
28663
+ "name": "heart",
28664
+ "size": 14,
28665
+ "tint": "textSecondary"
28666
+ }
28667
+ },
28668
+ "modifiers": {
28669
+ "accessibilityRole": "decorative"
28670
+ }
28671
+ },
28672
+ {
28673
+ "id": "",
28674
+ "body": {
28675
+ "package": "himalaya",
28676
+ "type": "Text",
28677
+ "props": {
28678
+ "text": "$item.likes",
28679
+ "style": "caption",
28680
+ "color": "textSecondary",
28681
+ "monospacedDigits": true
28682
+ }
28683
+ }
28684
+ }
28685
+ ]
28686
+ }
28687
+ },
28688
+ "modifiers": {
28689
+ "border": {
28690
+ "width": 1,
28691
+ "color": {
28692
+ "token": "border"
28693
+ }
28694
+ },
28695
+ "cornerRadius": 999,
28696
+ "padding": {
28697
+ "leading": 10,
28698
+ "trailing": 10,
28699
+ "top": 4,
28700
+ "bottom": 4
28701
+ },
28702
+ "onTap": {
28703
+ "actionId": "tier5.himiBlogPost.likeComment",
28704
+ "params": {
28705
+ "id": "$item.id"
28706
+ }
28707
+ },
28708
+ "pressFeedback": "scale",
28709
+ "haptic": "light",
28710
+ "accessibilityRole": "button",
28711
+ "accessibilityLabel": "Like",
28712
+ "hiddenPath": "$item.liked"
28713
+ }
28714
+ },
28715
+ {
28716
+ "id": "himi_blog_post.comment_unlike",
28717
+ "body": {
28718
+ "package": "himalaya",
28719
+ "type": "HStack",
28720
+ "props": {
28721
+ "spacing": 4,
28722
+ "alignment": "center",
28723
+ "children": [
28724
+ {
28725
+ "id": "",
28726
+ "body": {
28727
+ "package": "himalaya",
28728
+ "type": "Icon",
28729
+ "props": {
28730
+ "name": "heart_fill",
28731
+ "size": 14,
28732
+ "tint": "danger"
28733
+ }
28734
+ },
28735
+ "modifiers": {
28736
+ "accessibilityRole": "decorative"
28737
+ }
28738
+ },
28739
+ {
28740
+ "id": "",
28741
+ "body": {
28742
+ "package": "himalaya",
28743
+ "type": "Text",
28744
+ "props": {
28745
+ "text": "$item.likes",
28746
+ "style": "caption",
28747
+ "color": "danger",
28748
+ "monospacedDigits": true
28749
+ }
28750
+ }
28751
+ }
28752
+ ]
28753
+ }
28754
+ },
28755
+ "modifiers": {
28756
+ "background": {
28757
+ "token": "dangerSurface"
28758
+ },
28759
+ "cornerRadius": 999,
28760
+ "padding": {
28761
+ "leading": 10,
28762
+ "trailing": 10,
28763
+ "top": 4,
28764
+ "bottom": 4
28765
+ },
28766
+ "onTap": {
28767
+ "actionId": "tier5.himiBlogPost.unlikeComment",
28768
+ "params": {
28769
+ "id": "$item.id"
28770
+ }
28771
+ },
28772
+ "pressFeedback": "scale",
28773
+ "haptic": "light",
28774
+ "accessibilityRole": "button",
28775
+ "accessibilityLabel": "Unlike",
28776
+ "hiddenPath": "$item.notLiked"
28777
+ }
28778
+ }
28779
+ ]
28780
+ }
28781
+ },
28782
+ "modifiers": {
28783
+ "hiddenPath": "$item.noLikes"
28784
+ }
28785
+ },
28786
+ {
28787
+ "id": "",
28788
+ "body": {
28789
+ "package": "himalaya",
28790
+ "type": "HStack",
28791
+ "props": {
28792
+ "spacing": 0,
28793
+ "alignment": "center",
28794
+ "children": [
28795
+ {
28796
+ "id": "himi_blog_post.comment_reply",
28797
+ "body": {
28798
+ "package": "himalaya",
28799
+ "type": "Text",
28800
+ "props": {
28801
+ "text": "Reply",
28802
+ "style": "caption",
28803
+ "color": "textSecondary"
28804
+ }
28805
+ },
28806
+ "modifiers": {
28807
+ "onTap": {
28808
+ "actionId": "tier5.himiBlogPost.replyTo",
28809
+ "params": {
28810
+ "id": "$item.id"
28811
+ }
28812
+ },
28813
+ "accessibilityRole": "button",
28814
+ "padding": {
28815
+ "top": 4,
28816
+ "bottom": 4,
28817
+ "leading": 4,
28818
+ "trailing": 4
28819
+ },
28820
+ "hiddenPath": "$item.noReply"
28821
+ }
28822
+ }
28823
+ ]
28824
+ }
28825
+ },
28826
+ "modifiers": {
28827
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
28828
+ }
28829
+ },
28830
+ {
28831
+ "id": "",
28832
+ "body": {
28833
+ "package": "himalaya",
28834
+ "type": "Spacer",
28835
+ "props": {}
28836
+ }
28837
+ }
28838
+ ]
28839
+ }
28840
+ }
28841
+ }
28842
+ ]
28843
+ }
28844
+ },
28845
+ "modifiers": {
28846
+ "weight": 1
28847
+ }
28848
+ }
28849
+ ]
28850
+ }
28851
+ },
28852
+ "modifiers": {
28853
+ "fillMaxWidth": true,
28854
+ "hiddenPath": "$item.isReply"
26944
28855
  }
26945
28856
  }
26946
- }
26947
- }
26948
- },
26949
- {
26950
- "id": "",
26951
- "body": {
26952
- "package": "himalaya",
26953
- "type": "Spacer",
26954
- "props": {}
26955
- }
26956
- }
26957
- ]
26958
- }
26959
- },
26960
- "modifiers": {
26961
- "padding": {
26962
- "top": 12,
26963
- "bottom": 8
26964
- }
26965
- }
26966
- }
26967
- ]
26968
- }
26969
- },
26970
- "modifiers": {
26971
- "hiddenPath": "$service:himiBlogPost.noRecent"
26972
- }
26973
- }
26974
- ]
26975
- }
26976
- },
26977
- "modifiers": {
26978
- "hiddenPath": "$service:himiBlogPost.noPost"
26979
- }
26980
- },
26981
- {
26982
- "id": "himi_blog_post.more_sheet",
26983
- "body": {
26984
- "package": "himalaya",
26985
- "type": "BottomSheet",
26986
- "props": {
26987
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
26988
- "dismissible": true,
26989
- "showGrabber": true,
26990
- "onDismiss": {
26991
- "actionId": "tier5.himiBlogPost.closeMore"
26992
- },
26993
- "content": {
26994
- "id": "",
26995
- "body": {
26996
- "package": "himalaya",
26997
- "type": "VStack",
26998
- "props": {
26999
- "spacing": 0,
27000
- "alignment": "leading",
27001
- "children": [
27002
- {
27003
- "id": "himi_blog_post.report",
27004
- "body": {
27005
- "package": "himalaya",
27006
- "type": "HStack",
27007
- "props": {
27008
- "spacing": 14,
27009
- "children": [
27010
- {
27011
- "id": "",
27012
- "body": {
27013
- "package": "himalaya",
27014
- "type": "Icon",
27015
- "props": {
27016
- "name": "warning",
27017
- "size": 22,
27018
- "tint": "textPrimary"
27019
- }
27020
- },
27021
- "modifiers": {
27022
- "accessibilityRole": "decorative"
27023
- }
27024
- },
27025
- {
27026
- "id": "",
27027
- "body": {
27028
- "package": "himalaya",
27029
- "type": "Text",
27030
- "props": {
27031
- "text": "Report",
27032
- "style": "body"
27033
- }
27034
- }
27035
- },
27036
- {
27037
- "id": "",
27038
- "body": {
27039
- "package": "himalaya",
27040
- "type": "Spacer",
27041
- "props": {}
27042
- }
27043
- }
27044
- ]
27045
- }
27046
- },
27047
- "modifiers": {
27048
- "onTap": {
27049
- "actionId": "tier5.himiBlogPost.report"
27050
- },
27051
- "accessibilityRole": "button",
27052
- "accessibilityLabel": "Report",
27053
- "padding": {
27054
- "top": 11,
27055
- "bottom": 11
27056
- },
27057
- "hiddenPath": "$service:himiBlogPost.reported"
27058
- }
27059
- },
27060
- {
27061
- "id": "himi_blog_post.hide",
27062
- "body": {
27063
- "package": "himalaya",
27064
- "type": "HStack",
27065
- "props": {
27066
- "spacing": 14,
27067
- "children": [
27068
- {
27069
- "id": "",
27070
- "body": {
27071
- "package": "himalaya",
27072
- "type": "Icon",
27073
- "props": {
27074
- "name": "concealed",
27075
- "size": 22,
27076
- "tint": "textPrimary"
27077
- }
27078
- },
27079
- "modifiers": {
27080
- "accessibilityRole": "decorative"
27081
- }
27082
- },
27083
- {
27084
- "id": "",
27085
- "body": {
27086
- "package": "himalaya",
27087
- "type": "Text",
27088
- "props": {
27089
- "text": "Hide post",
27090
- "style": "body"
27091
- }
27092
- }
27093
- },
27094
- {
27095
- "id": "",
27096
- "body": {
27097
- "package": "himalaya",
27098
- "type": "Spacer",
27099
- "props": {}
27100
- }
27101
- }
27102
- ]
27103
- }
27104
- },
27105
- "modifiers": {
27106
- "onTap": {
27107
- "actionId": "tier5.himiBlogPost.openHide"
27108
- },
27109
- "accessibilityRole": "button",
27110
- "accessibilityLabel": "Hide post",
27111
- "padding": {
27112
- "top": 11,
27113
- "bottom": 11
27114
- },
27115
- "hiddenPath": "$service:himiBlogPost.hidden"
27116
- }
27117
- },
27118
- {
27119
- "id": "himi_blog_post.unhide",
27120
- "body": {
27121
- "package": "himalaya",
27122
- "type": "HStack",
27123
- "props": {
27124
- "spacing": 14,
27125
- "children": [
27126
- {
27127
- "id": "",
27128
- "body": {
27129
- "package": "himalaya",
27130
- "type": "Icon",
27131
- "props": {
27132
- "name": "visible",
27133
- "size": 22,
27134
- "tint": "textPrimary"
28857
+ ]
27135
28858
  }
27136
28859
  },
27137
28860
  "modifiers": {
27138
- "accessibilityRole": "decorative"
27139
- }
27140
- },
27141
- {
27142
- "id": "",
27143
- "body": {
27144
- "package": "himalaya",
27145
- "type": "Text",
27146
- "props": {
27147
- "text": "Undo hide",
27148
- "style": "body"
28861
+ "backgroundColorPath": "$item.rowBackground",
28862
+ "cornerRadius": 12,
28863
+ "padding": {
28864
+ "leading": 8,
28865
+ "trailing": 8,
28866
+ "top": 8,
28867
+ "bottom": 8
27149
28868
  }
27150
28869
  }
27151
- },
27152
- {
27153
- "id": "",
27154
- "body": {
27155
- "package": "himalaya",
27156
- "type": "Spacer",
27157
- "props": {}
27158
- }
27159
28870
  }
27160
- ]
27161
- }
27162
- },
27163
- "modifiers": {
27164
- "onTap": {
27165
- "actionId": "tier5.himiBlogPost.unhide"
27166
- },
27167
- "accessibilityRole": "button",
27168
- "accessibilityLabel": "Undo hide",
27169
- "padding": {
27170
- "top": 11,
27171
- "bottom": 11
27172
- },
27173
- "hiddenPath": "$service:himiBlogPost.notHidden"
27174
- }
27175
- }
27176
- ]
27177
- }
27178
- },
27179
- "modifiers": {
27180
- "padding": {
27181
- "leading": 20,
27182
- "trailing": 20,
27183
- "top": 0,
27184
- "bottom": 8
27185
- }
27186
- }
27187
- }
27188
- }
27189
- }
27190
- },
27191
- {
27192
- "id": "himi_blog_post.hide_sheet",
27193
- "body": {
27194
- "package": "himalaya",
27195
- "type": "BottomSheet",
27196
- "props": {
27197
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
27198
- "dismissible": true,
27199
- "showGrabber": true,
27200
- "onDismiss": {
27201
- "actionId": "tier5.himiBlogPost.closeHide"
28871
+ ],
28872
+ "pagination": {
28873
+ "cursor": "$service:himiBlogPost.commentsCursor",
28874
+ "onLoadMore": {
28875
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
28876
+ },
28877
+ "pageSize": 20
28878
+ }
28879
+ }
28880
+ }
28881
+ }
28882
+ ]
28883
+ }
28884
+ }
27202
28885
  },
27203
- "content": {
27204
- "id": "",
28886
+ "footer": {
28887
+ "id": "himi_blog_post.comment_composer",
27205
28888
  "body": {
27206
28889
  "package": "himalaya",
27207
28890
  "type": "VStack",
27208
28891
  "props": {
27209
- "spacing": 0,
28892
+ "spacing": 6,
27210
28893
  "alignment": "leading",
27211
28894
  "children": [
27212
28895
  {
27213
28896
  "id": "",
27214
- "body": {
27215
- "package": "himalaya",
27216
- "type": "Text",
27217
- "props": {
27218
- "text": "Why are you hiding this post?",
27219
- "style": "title3"
27220
- }
27221
- },
27222
- "modifiers": {
27223
- "padding": {
27224
- "bottom": 6
27225
- }
27226
- }
27227
- },
27228
- {
27229
- "id": "himi_blog_post.hide_offensive",
27230
28897
  "body": {
27231
28898
  "package": "himalaya",
27232
28899
  "type": "HStack",
27233
28900
  "props": {
27234
- "spacing": 14,
28901
+ "spacing": 8,
28902
+ "alignment": "center",
27235
28903
  "children": [
27236
28904
  {
27237
28905
  "id": "",
27238
28906
  "body": {
27239
28907
  "package": "himalaya",
27240
- "type": "Icon",
28908
+ "type": "Text",
27241
28909
  "props": {
27242
- "name": "chevron_right",
27243
- "size": 22,
27244
- "tint": "textPrimary"
28910
+ "text": "$service:himiBlogPost.replyingLine",
28911
+ "style": "footnote",
28912
+ "color": "textSecondary",
28913
+ "maxLines": 1
27245
28914
  }
27246
- },
27247
- "modifiers": {
27248
- "accessibilityRole": "decorative"
27249
28915
  }
27250
28916
  },
27251
28917
  {
27252
28918
  "id": "",
27253
28919
  "body": {
27254
28920
  "package": "himalaya",
27255
- "type": "Text",
27256
- "props": {
27257
- "text": "It is offensive",
27258
- "style": "body"
27259
- }
28921
+ "type": "Spacer",
28922
+ "props": {}
27260
28923
  }
27261
28924
  },
27262
28925
  {
27263
- "id": "",
28926
+ "id": "himi_blog_post.cancel_reply",
27264
28927
  "body": {
27265
28928
  "package": "himalaya",
27266
- "type": "Spacer",
27267
- "props": {}
28929
+ "type": "Icon",
28930
+ "props": {
28931
+ "name": "close",
28932
+ "size": 16,
28933
+ "tint": "textSecondary"
28934
+ }
28935
+ },
28936
+ "modifiers": {
28937
+ "accessibilityRole": "button",
28938
+ "onTap": {
28939
+ "actionId": "tier5.himiBlogPost.cancelReply"
28940
+ },
28941
+ "accessibilityLabel": "Cancel reply",
28942
+ "padding": {
28943
+ "top": 14,
28944
+ "bottom": 14,
28945
+ "leading": 14,
28946
+ "trailing": 14
28947
+ }
27268
28948
  }
27269
28949
  }
27270
28950
  ]
27271
28951
  }
27272
28952
  },
27273
28953
  "modifiers": {
27274
- "onTap": {
27275
- "actionId": "tier5.himiBlogPost.hide",
27276
- "params": {
27277
- "reason": "offensive"
27278
- }
27279
- },
27280
- "accessibilityRole": "button",
27281
- "accessibilityLabel": "It is offensive",
27282
- "padding": {
27283
- "top": 11,
27284
- "bottom": 11
27285
- }
28954
+ "hiddenPath": "$service:himiBlogPost.notReplying"
27286
28955
  }
27287
28956
  },
27288
28957
  {
27289
- "id": "himi_blog_post.hide_misleading",
28958
+ "id": "",
27290
28959
  "body": {
27291
28960
  "package": "himalaya",
27292
28961
  "type": "HStack",
27293
28962
  "props": {
27294
- "spacing": 14,
28963
+ "spacing": 10,
28964
+ "alignment": "center",
27295
28965
  "children": [
27296
28966
  {
27297
- "id": "",
28967
+ "id": "himi_blog_post.composer_avatar.photo",
27298
28968
  "body": {
27299
28969
  "package": "himalaya",
27300
- "type": "Icon",
28970
+ "type": "Image",
27301
28971
  "props": {
27302
- "name": "chevron_right",
27303
- "size": 22,
27304
- "tint": "textPrimary"
28972
+ "url": "$service:himiBlogPost.memberPhoto",
28973
+ "width": 32,
28974
+ "height": 32,
28975
+ "contentMode": "fill",
28976
+ "shape": "circle"
27305
28977
  }
27306
28978
  },
27307
28979
  "modifiers": {
27308
- "accessibilityRole": "decorative"
28980
+ "accessibilityRole": "decorative",
28981
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
27309
28982
  }
27310
28983
  },
27311
28984
  {
27312
28985
  "id": "",
27313
28986
  "body": {
27314
28987
  "package": "himalaya",
27315
- "type": "Text",
28988
+ "type": "ZStack",
27316
28989
  "props": {
27317
- "text": "It is misleading",
27318
- "style": "body"
28990
+ "alignment": "center",
28991
+ "children": [
28992
+ {
28993
+ "id": "",
28994
+ "body": {
28995
+ "package": "himalaya",
28996
+ "type": "Icon",
28997
+ "props": {
28998
+ "name": "person",
28999
+ "size": 16,
29000
+ "tint": "accentPrimary"
29001
+ }
29002
+ },
29003
+ "modifiers": {
29004
+ "accessibilityRole": "decorative",
29005
+ "hiddenPath": "$service:himiBlogPost.isMember"
29006
+ }
29007
+ },
29008
+ {
29009
+ "id": "",
29010
+ "body": {
29011
+ "package": "himalaya",
29012
+ "type": "Text",
29013
+ "props": {
29014
+ "text": "$service:himiBlogPost.memberInitial",
29015
+ "style": "footnote",
29016
+ "color": "accentPrimary",
29017
+ "collapseWhenEmpty": true
29018
+ }
29019
+ }
29020
+ }
29021
+ ]
27319
29022
  }
29023
+ },
29024
+ "modifiers": {
29025
+ "width": 32,
29026
+ "height": 32,
29027
+ "background": {
29028
+ "token": "accentSurface"
29029
+ },
29030
+ "cornerRadius": 16,
29031
+ "accessibilityRole": "decorative",
29032
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
27320
29033
  }
27321
29034
  },
27322
29035
  {
27323
- "id": "",
27324
- "body": {
27325
- "package": "himalaya",
27326
- "type": "Spacer",
27327
- "props": {}
27328
- }
27329
- }
27330
- ]
27331
- }
27332
- },
27333
- "modifiers": {
27334
- "onTap": {
27335
- "actionId": "tier5.himiBlogPost.hide",
27336
- "params": {
27337
- "reason": "misleading"
27338
- }
27339
- },
27340
- "accessibilityRole": "button",
27341
- "accessibilityLabel": "It is misleading",
27342
- "padding": {
27343
- "top": 11,
27344
- "bottom": 11
27345
- }
27346
- }
27347
- },
27348
- {
27349
- "id": "himi_blog_post.hide_other",
27350
- "body": {
27351
- "package": "himalaya",
27352
- "type": "HStack",
27353
- "props": {
27354
- "spacing": 14,
27355
- "children": [
27356
- {
27357
- "id": "",
29036
+ "id": "himi_blog_post.comment_input",
27358
29037
  "body": {
27359
29038
  "package": "himalaya",
27360
- "type": "Icon",
29039
+ "type": "TextField",
27361
29040
  "props": {
27362
- "name": "chevron_right",
27363
- "size": 22,
27364
- "tint": "textPrimary"
29041
+ "placeholder": "Write a comment",
29042
+ "valuePath": "$service:himiBlogPost.commentText",
29043
+ "multilineMaxLines": 4,
29044
+ "focusPath": "$service:himiBlogPost.composerFocus",
29045
+ "borderless": true,
29046
+ "autoCapitalization": "sentences",
29047
+ "onChange": {
29048
+ "actionId": "tier5.himiBlogPost.setComment"
29049
+ }
27365
29050
  }
27366
29051
  },
27367
29052
  "modifiers": {
27368
- "accessibilityRole": "decorative"
29053
+ "background": {
29054
+ "token": "surfaceSecondary"
29055
+ },
29056
+ "cornerRadius": 20,
29057
+ "padding": {
29058
+ "leading": 14,
29059
+ "trailing": 14,
29060
+ "top": 8,
29061
+ "bottom": 8
29062
+ },
29063
+ "weight": 1
27369
29064
  }
27370
29065
  },
27371
29066
  {
27372
- "id": "",
29067
+ "id": "himi_blog_post.comment_submit",
27373
29068
  "body": {
27374
29069
  "package": "himalaya",
27375
- "type": "Text",
29070
+ "type": "ZStack",
27376
29071
  "props": {
27377
- "text": "Something else",
27378
- "style": "body"
29072
+ "alignment": "center",
29073
+ "children": [
29074
+ {
29075
+ "id": "",
29076
+ "body": {
29077
+ "package": "himalaya",
29078
+ "type": "ZStack",
29079
+ "props": {
29080
+ "alignment": "center",
29081
+ "children": [
29082
+ {
29083
+ "id": "",
29084
+ "body": {
29085
+ "package": "himalaya",
29086
+ "type": "Icon",
29087
+ "props": {
29088
+ "name": "arrow_up",
29089
+ "size": 18,
29090
+ "tint": "textOnAccent"
29091
+ }
29092
+ },
29093
+ "modifiers": {
29094
+ "accessibilityRole": "decorative"
29095
+ }
29096
+ }
29097
+ ]
29098
+ }
29099
+ },
29100
+ "modifiers": {
29101
+ "width": 36,
29102
+ "height": 36,
29103
+ "cornerRadius": 18,
29104
+ "background": {
29105
+ "token": "accentPrimary"
29106
+ },
29107
+ "accessibilityRole": "decorative"
29108
+ }
29109
+ }
29110
+ ]
27379
29111
  }
29112
+ },
29113
+ "modifiers": {
29114
+ "width": 44,
29115
+ "height": 44,
29116
+ "accessibilityRole": "button",
29117
+ "accessibilityLabel": "Send comment",
29118
+ "onTap": {
29119
+ "actionId": "tier5.himiBlogPost.submitComment"
29120
+ },
29121
+ "pressFeedback": "scale",
29122
+ "haptic": "light",
29123
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
27380
29124
  }
27381
29125
  },
27382
29126
  {
27383
- "id": "",
29127
+ "id": "himi_blog_post.comment_submit_off",
27384
29128
  "body": {
27385
29129
  "package": "himalaya",
27386
- "type": "Spacer",
27387
- "props": {}
29130
+ "type": "ZStack",
29131
+ "props": {
29132
+ "alignment": "center",
29133
+ "children": [
29134
+ {
29135
+ "id": "",
29136
+ "body": {
29137
+ "package": "himalaya",
29138
+ "type": "ZStack",
29139
+ "props": {
29140
+ "alignment": "center",
29141
+ "children": [
29142
+ {
29143
+ "id": "",
29144
+ "body": {
29145
+ "package": "himalaya",
29146
+ "type": "Icon",
29147
+ "props": {
29148
+ "name": "arrow_up",
29149
+ "size": 18,
29150
+ "tint": "textTertiary"
29151
+ }
29152
+ },
29153
+ "modifiers": {
29154
+ "accessibilityRole": "decorative"
29155
+ }
29156
+ }
29157
+ ]
29158
+ }
29159
+ },
29160
+ "modifiers": {
29161
+ "width": 36,
29162
+ "height": 36,
29163
+ "cornerRadius": 18,
29164
+ "background": {
29165
+ "token": "surfaceSecondary"
29166
+ },
29167
+ "accessibilityRole": "decorative"
29168
+ }
29169
+ }
29170
+ ]
29171
+ }
29172
+ },
29173
+ "modifiers": {
29174
+ "width": 44,
29175
+ "height": 44,
29176
+ "accessibilityRole": "button",
29177
+ "accessibilityLabel": "Send comment",
29178
+ "hiddenPath": "$service:himiBlogPost.canSend"
27388
29179
  }
27389
29180
  }
27390
29181
  ]
27391
29182
  }
27392
- },
27393
- "modifiers": {
27394
- "onTap": {
27395
- "actionId": "tier5.himiBlogPost.hide",
27396
- "params": {
27397
- "reason": "other"
27398
- }
27399
- },
27400
- "accessibilityRole": "button",
27401
- "accessibilityLabel": "Something else",
27402
- "padding": {
27403
- "top": 11,
27404
- "bottom": 11
27405
- }
27406
29183
  }
27407
29184
  },
27408
29185
  {
27409
- "id": "himi_blog_post.hide_cancel",
29186
+ "id": "himi_blog_post.comment_error",
27410
29187
  "body": {
27411
29188
  "package": "himalaya",
27412
- "type": "Button",
29189
+ "type": "Text",
27413
29190
  "props": {
27414
- "title": "Cancel",
27415
- "style": "secondary",
27416
- "fullWidth": true,
27417
- "action": {
27418
- "actionId": "tier5.himiBlogPost.closeHide"
27419
- }
29191
+ "text": "$service:himiBlogPost.sendError",
29192
+ "style": "footnote",
29193
+ "color": "danger"
27420
29194
  }
27421
29195
  },
27422
29196
  "modifiers": {
27423
- "padding": {
27424
- "top": 8
27425
- }
29197
+ "hiddenPath": "$service:himiBlogPost.noSendError"
27426
29198
  }
27427
29199
  }
27428
29200
  ]
27429
29201
  }
27430
29202
  },
27431
29203
  "modifiers": {
27432
- "padding": {
27433
- "leading": 20,
27434
- "trailing": 20,
27435
- "top": 12,
27436
- "bottom": 8
27437
- }
29204
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27438
29205
  }
27439
29206
  }
27440
29207
  }
@@ -27491,7 +29258,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27491
29258
  "share",
27492
29259
  "local_database",
27493
29260
  "open_url",
27494
- "ui"
29261
+ "ui",
29262
+ "keyboard"
27495
29263
  ],
27496
29264
  "minBinaryVersion": "0.1.0",
27497
29265
  "bundleVersion": "0.0.1"