@wix/himalaya-cli 0.1782.0 → 0.1784.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +68 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +126 -18
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin → ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin} +1 -1
  8. package/dist/browser-plane/sw.js +6 -6
  9. package/dist/cli.mjs +486 -316
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +4 -0
  13. package/guides/release-notes.md +31 -0
  14. package/guides/sdk-reference.json +62 -1
  15. package/guides/store-submission.md +2 -0
  16. package/package.json +10 -10
  17. package/templates/beauty-salon/config.ts +1 -1
  18. package/templates/beauty-salon/dev/index.ts +2684 -916
  19. package/templates/beauty-salon/l10n/ar.json +95 -36
  20. package/templates/beauty-salon/l10n/cs.json +95 -36
  21. package/templates/beauty-salon/l10n/da.json +95 -36
  22. package/templates/beauty-salon/l10n/de.json +95 -36
  23. package/templates/beauty-salon/l10n/el.json +95 -36
  24. package/templates/beauty-salon/l10n/en.json +71 -15
  25. package/templates/beauty-salon/l10n/es.json +95 -36
  26. package/templates/beauty-salon/l10n/fi.json +95 -36
  27. package/templates/beauty-salon/l10n/fr.json +95 -36
  28. package/templates/beauty-salon/l10n/he.json +78 -29
  29. package/templates/beauty-salon/l10n/hu.json +95 -36
  30. package/templates/beauty-salon/l10n/id.json +95 -36
  31. package/templates/beauty-salon/l10n/it.json +95 -36
  32. package/templates/beauty-salon/l10n/ja.json +95 -36
  33. package/templates/beauty-salon/l10n/ko.json +95 -36
  34. package/templates/beauty-salon/l10n/lt.json +95 -36
  35. package/templates/beauty-salon/l10n/nl.json +95 -36
  36. package/templates/beauty-salon/l10n/no.json +95 -36
  37. package/templates/beauty-salon/l10n/pl.json +95 -36
  38. package/templates/beauty-salon/l10n/pt.json +95 -36
  39. package/templates/beauty-salon/l10n/ru.json +95 -36
  40. package/templates/beauty-salon/l10n/sv.json +95 -36
  41. package/templates/beauty-salon/l10n/th.json +95 -36
  42. package/templates/beauty-salon/l10n/tr.json +95 -36
  43. package/templates/beauty-salon/l10n/uk.json +95 -36
  44. package/templates/beauty-salon/l10n/vi.json +95 -36
  45. package/templates/beauty-salon/l10n/zh.json +95 -36
  46. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  47. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  48. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
  49. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
  50. package/templates/branded-lite/config.ts +1 -1
  51. package/templates/branded-lite/dev/index.ts +2686 -930
  52. package/templates/branded-lite/l10n/ar.json +80 -41
  53. package/templates/branded-lite/l10n/cs.json +80 -41
  54. package/templates/branded-lite/l10n/da.json +80 -41
  55. package/templates/branded-lite/l10n/de.json +80 -41
  56. package/templates/branded-lite/l10n/el.json +80 -41
  57. package/templates/branded-lite/l10n/en.json +71 -20
  58. package/templates/branded-lite/l10n/es.json +80 -41
  59. package/templates/branded-lite/l10n/fi.json +80 -41
  60. package/templates/branded-lite/l10n/fr.json +80 -41
  61. package/templates/branded-lite/l10n/he.json +66 -33
  62. package/templates/branded-lite/l10n/hu.json +80 -41
  63. package/templates/branded-lite/l10n/id.json +80 -41
  64. package/templates/branded-lite/l10n/it.json +80 -41
  65. package/templates/branded-lite/l10n/ja.json +80 -41
  66. package/templates/branded-lite/l10n/ko.json +80 -41
  67. package/templates/branded-lite/l10n/lt.json +80 -41
  68. package/templates/branded-lite/l10n/nl.json +80 -41
  69. package/templates/branded-lite/l10n/no.json +80 -41
  70. package/templates/branded-lite/l10n/pl.json +80 -41
  71. package/templates/branded-lite/l10n/pt.json +80 -41
  72. package/templates/branded-lite/l10n/ru.json +80 -41
  73. package/templates/branded-lite/l10n/sv.json +80 -41
  74. package/templates/branded-lite/l10n/th.json +80 -41
  75. package/templates/branded-lite/l10n/tr.json +80 -41
  76. package/templates/branded-lite/l10n/uk.json +80 -41
  77. package/templates/branded-lite/l10n/vi.json +80 -41
  78. package/templates/branded-lite/l10n/zh.json +80 -41
  79. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  80. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
  81. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
  82. package/templates/community-club/config.ts +1 -1
  83. package/templates/community-club/dev/index.ts +2742 -974
  84. package/templates/community-club/l10n/ar.json +95 -36
  85. package/templates/community-club/l10n/cs.json +95 -36
  86. package/templates/community-club/l10n/da.json +95 -36
  87. package/templates/community-club/l10n/de.json +95 -36
  88. package/templates/community-club/l10n/el.json +95 -36
  89. package/templates/community-club/l10n/en.json +71 -15
  90. package/templates/community-club/l10n/es.json +95 -36
  91. package/templates/community-club/l10n/fi.json +95 -36
  92. package/templates/community-club/l10n/fr.json +95 -36
  93. package/templates/community-club/l10n/he.json +78 -29
  94. package/templates/community-club/l10n/hu.json +95 -36
  95. package/templates/community-club/l10n/id.json +95 -36
  96. package/templates/community-club/l10n/it.json +95 -36
  97. package/templates/community-club/l10n/ja.json +95 -36
  98. package/templates/community-club/l10n/ko.json +95 -36
  99. package/templates/community-club/l10n/lt.json +95 -36
  100. package/templates/community-club/l10n/nl.json +95 -36
  101. package/templates/community-club/l10n/no.json +95 -36
  102. package/templates/community-club/l10n/pl.json +95 -36
  103. package/templates/community-club/l10n/pt.json +95 -36
  104. package/templates/community-club/l10n/ru.json +95 -36
  105. package/templates/community-club/l10n/sv.json +95 -36
  106. package/templates/community-club/l10n/th.json +95 -36
  107. package/templates/community-club/l10n/tr.json +95 -36
  108. package/templates/community-club/l10n/uk.json +95 -36
  109. package/templates/community-club/l10n/vi.json +95 -36
  110. package/templates/community-club/l10n/zh.json +95 -36
  111. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  112. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  113. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
  114. package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
  115. package/templates/events-meetups/config.ts +1 -1
  116. package/templates/events-meetups/dev/index.ts +2705 -937
  117. package/templates/events-meetups/l10n/ar.json +95 -36
  118. package/templates/events-meetups/l10n/cs.json +95 -36
  119. package/templates/events-meetups/l10n/da.json +95 -36
  120. package/templates/events-meetups/l10n/de.json +95 -36
  121. package/templates/events-meetups/l10n/el.json +95 -36
  122. package/templates/events-meetups/l10n/en.json +71 -15
  123. package/templates/events-meetups/l10n/es.json +95 -36
  124. package/templates/events-meetups/l10n/fi.json +95 -36
  125. package/templates/events-meetups/l10n/fr.json +95 -36
  126. package/templates/events-meetups/l10n/he.json +78 -29
  127. package/templates/events-meetups/l10n/hu.json +95 -36
  128. package/templates/events-meetups/l10n/id.json +95 -36
  129. package/templates/events-meetups/l10n/it.json +95 -36
  130. package/templates/events-meetups/l10n/ja.json +95 -36
  131. package/templates/events-meetups/l10n/ko.json +95 -36
  132. package/templates/events-meetups/l10n/lt.json +95 -36
  133. package/templates/events-meetups/l10n/nl.json +95 -36
  134. package/templates/events-meetups/l10n/no.json +95 -36
  135. package/templates/events-meetups/l10n/pl.json +95 -36
  136. package/templates/events-meetups/l10n/pt.json +95 -36
  137. package/templates/events-meetups/l10n/ru.json +95 -36
  138. package/templates/events-meetups/l10n/sv.json +95 -36
  139. package/templates/events-meetups/l10n/th.json +95 -36
  140. package/templates/events-meetups/l10n/tr.json +95 -36
  141. package/templates/events-meetups/l10n/uk.json +95 -36
  142. package/templates/events-meetups/l10n/vi.json +95 -36
  143. package/templates/events-meetups/l10n/zh.json +95 -36
  144. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  145. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  146. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
  147. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
  148. package/templates/gym-fitness/config.ts +1 -1
  149. package/templates/gym-fitness/dev/index.ts +2621 -853
  150. package/templates/gym-fitness/l10n/ar.json +95 -36
  151. package/templates/gym-fitness/l10n/cs.json +95 -36
  152. package/templates/gym-fitness/l10n/da.json +95 -36
  153. package/templates/gym-fitness/l10n/de.json +95 -36
  154. package/templates/gym-fitness/l10n/el.json +95 -36
  155. package/templates/gym-fitness/l10n/en.json +71 -15
  156. package/templates/gym-fitness/l10n/es.json +95 -36
  157. package/templates/gym-fitness/l10n/fi.json +95 -36
  158. package/templates/gym-fitness/l10n/fr.json +95 -36
  159. package/templates/gym-fitness/l10n/he.json +78 -29
  160. package/templates/gym-fitness/l10n/hu.json +95 -36
  161. package/templates/gym-fitness/l10n/id.json +95 -36
  162. package/templates/gym-fitness/l10n/it.json +95 -36
  163. package/templates/gym-fitness/l10n/ja.json +95 -36
  164. package/templates/gym-fitness/l10n/ko.json +95 -36
  165. package/templates/gym-fitness/l10n/lt.json +95 -36
  166. package/templates/gym-fitness/l10n/nl.json +95 -36
  167. package/templates/gym-fitness/l10n/no.json +95 -36
  168. package/templates/gym-fitness/l10n/pl.json +95 -36
  169. package/templates/gym-fitness/l10n/pt.json +95 -36
  170. package/templates/gym-fitness/l10n/ru.json +95 -36
  171. package/templates/gym-fitness/l10n/sv.json +95 -36
  172. package/templates/gym-fitness/l10n/th.json +95 -36
  173. package/templates/gym-fitness/l10n/tr.json +95 -36
  174. package/templates/gym-fitness/l10n/uk.json +95 -36
  175. package/templates/gym-fitness/l10n/vi.json +95 -36
  176. package/templates/gym-fitness/l10n/zh.json +95 -36
  177. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  178. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  179. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
  180. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
  181. package/templates/nonprofit-cause/config.ts +1 -1
  182. package/templates/nonprofit-cause/dev/index.ts +2704 -936
  183. package/templates/nonprofit-cause/l10n/ar.json +95 -36
  184. package/templates/nonprofit-cause/l10n/cs.json +95 -36
  185. package/templates/nonprofit-cause/l10n/da.json +95 -36
  186. package/templates/nonprofit-cause/l10n/de.json +95 -36
  187. package/templates/nonprofit-cause/l10n/el.json +95 -36
  188. package/templates/nonprofit-cause/l10n/en.json +71 -15
  189. package/templates/nonprofit-cause/l10n/es.json +95 -36
  190. package/templates/nonprofit-cause/l10n/fi.json +95 -36
  191. package/templates/nonprofit-cause/l10n/fr.json +95 -36
  192. package/templates/nonprofit-cause/l10n/he.json +78 -29
  193. package/templates/nonprofit-cause/l10n/hu.json +95 -36
  194. package/templates/nonprofit-cause/l10n/id.json +95 -36
  195. package/templates/nonprofit-cause/l10n/it.json +95 -36
  196. package/templates/nonprofit-cause/l10n/ja.json +95 -36
  197. package/templates/nonprofit-cause/l10n/ko.json +95 -36
  198. package/templates/nonprofit-cause/l10n/lt.json +95 -36
  199. package/templates/nonprofit-cause/l10n/nl.json +95 -36
  200. package/templates/nonprofit-cause/l10n/no.json +95 -36
  201. package/templates/nonprofit-cause/l10n/pl.json +95 -36
  202. package/templates/nonprofit-cause/l10n/pt.json +95 -36
  203. package/templates/nonprofit-cause/l10n/ru.json +95 -36
  204. package/templates/nonprofit-cause/l10n/sv.json +95 -36
  205. package/templates/nonprofit-cause/l10n/th.json +95 -36
  206. package/templates/nonprofit-cause/l10n/tr.json +95 -36
  207. package/templates/nonprofit-cause/l10n/uk.json +95 -36
  208. package/templates/nonprofit-cause/l10n/vi.json +95 -36
  209. package/templates/nonprofit-cause/l10n/zh.json +95 -36
  210. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  211. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  212. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
  213. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
  214. package/templates/podcast-creator/config.ts +1 -1
  215. package/templates/podcast-creator/dev/index.ts +2704 -936
  216. package/templates/podcast-creator/l10n/ar.json +95 -36
  217. package/templates/podcast-creator/l10n/cs.json +95 -36
  218. package/templates/podcast-creator/l10n/da.json +95 -36
  219. package/templates/podcast-creator/l10n/de.json +95 -36
  220. package/templates/podcast-creator/l10n/el.json +95 -36
  221. package/templates/podcast-creator/l10n/en.json +71 -15
  222. package/templates/podcast-creator/l10n/es.json +95 -36
  223. package/templates/podcast-creator/l10n/fi.json +95 -36
  224. package/templates/podcast-creator/l10n/fr.json +95 -36
  225. package/templates/podcast-creator/l10n/he.json +78 -29
  226. package/templates/podcast-creator/l10n/hu.json +95 -36
  227. package/templates/podcast-creator/l10n/id.json +95 -36
  228. package/templates/podcast-creator/l10n/it.json +95 -36
  229. package/templates/podcast-creator/l10n/ja.json +95 -36
  230. package/templates/podcast-creator/l10n/ko.json +95 -36
  231. package/templates/podcast-creator/l10n/lt.json +95 -36
  232. package/templates/podcast-creator/l10n/nl.json +95 -36
  233. package/templates/podcast-creator/l10n/no.json +95 -36
  234. package/templates/podcast-creator/l10n/pl.json +95 -36
  235. package/templates/podcast-creator/l10n/pt.json +95 -36
  236. package/templates/podcast-creator/l10n/ru.json +95 -36
  237. package/templates/podcast-creator/l10n/sv.json +95 -36
  238. package/templates/podcast-creator/l10n/th.json +95 -36
  239. package/templates/podcast-creator/l10n/tr.json +95 -36
  240. package/templates/podcast-creator/l10n/uk.json +95 -36
  241. package/templates/podcast-creator/l10n/vi.json +95 -36
  242. package/templates/podcast-creator/l10n/zh.json +95 -36
  243. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  244. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  245. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
  246. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
  247. package/templates/portfolio-creative/config.ts +1 -1
  248. package/templates/portfolio-creative/dev/index.ts +2499 -731
  249. package/templates/portfolio-creative/l10n/ar.json +95 -36
  250. package/templates/portfolio-creative/l10n/cs.json +95 -36
  251. package/templates/portfolio-creative/l10n/da.json +95 -36
  252. package/templates/portfolio-creative/l10n/de.json +95 -36
  253. package/templates/portfolio-creative/l10n/el.json +95 -36
  254. package/templates/portfolio-creative/l10n/en.json +71 -15
  255. package/templates/portfolio-creative/l10n/es.json +95 -36
  256. package/templates/portfolio-creative/l10n/fi.json +95 -36
  257. package/templates/portfolio-creative/l10n/fr.json +95 -36
  258. package/templates/portfolio-creative/l10n/he.json +78 -29
  259. package/templates/portfolio-creative/l10n/hu.json +95 -36
  260. package/templates/portfolio-creative/l10n/id.json +95 -36
  261. package/templates/portfolio-creative/l10n/it.json +95 -36
  262. package/templates/portfolio-creative/l10n/ja.json +95 -36
  263. package/templates/portfolio-creative/l10n/ko.json +95 -36
  264. package/templates/portfolio-creative/l10n/lt.json +95 -36
  265. package/templates/portfolio-creative/l10n/nl.json +95 -36
  266. package/templates/portfolio-creative/l10n/no.json +95 -36
  267. package/templates/portfolio-creative/l10n/pl.json +95 -36
  268. package/templates/portfolio-creative/l10n/pt.json +95 -36
  269. package/templates/portfolio-creative/l10n/ru.json +95 -36
  270. package/templates/portfolio-creative/l10n/sv.json +95 -36
  271. package/templates/portfolio-creative/l10n/th.json +95 -36
  272. package/templates/portfolio-creative/l10n/tr.json +95 -36
  273. package/templates/portfolio-creative/l10n/uk.json +95 -36
  274. package/templates/portfolio-creative/l10n/vi.json +95 -36
  275. package/templates/portfolio-creative/l10n/zh.json +95 -36
  276. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  277. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  278. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
  279. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
  280. package/templates/restaurant/config.ts +1 -1
  281. package/templates/restaurant/dev/index.ts +2528 -760
  282. package/templates/restaurant/l10n/ar.json +95 -36
  283. package/templates/restaurant/l10n/cs.json +95 -36
  284. package/templates/restaurant/l10n/da.json +95 -36
  285. package/templates/restaurant/l10n/de.json +95 -36
  286. package/templates/restaurant/l10n/el.json +95 -36
  287. package/templates/restaurant/l10n/en.json +71 -15
  288. package/templates/restaurant/l10n/es.json +95 -36
  289. package/templates/restaurant/l10n/fi.json +95 -36
  290. package/templates/restaurant/l10n/fr.json +95 -36
  291. package/templates/restaurant/l10n/he.json +78 -29
  292. package/templates/restaurant/l10n/hu.json +95 -36
  293. package/templates/restaurant/l10n/id.json +95 -36
  294. package/templates/restaurant/l10n/it.json +95 -36
  295. package/templates/restaurant/l10n/ja.json +95 -36
  296. package/templates/restaurant/l10n/ko.json +95 -36
  297. package/templates/restaurant/l10n/lt.json +95 -36
  298. package/templates/restaurant/l10n/nl.json +95 -36
  299. package/templates/restaurant/l10n/no.json +95 -36
  300. package/templates/restaurant/l10n/pl.json +95 -36
  301. package/templates/restaurant/l10n/pt.json +95 -36
  302. package/templates/restaurant/l10n/ru.json +95 -36
  303. package/templates/restaurant/l10n/sv.json +95 -36
  304. package/templates/restaurant/l10n/th.json +95 -36
  305. package/templates/restaurant/l10n/tr.json +95 -36
  306. package/templates/restaurant/l10n/uk.json +95 -36
  307. package/templates/restaurant/l10n/vi.json +95 -36
  308. package/templates/restaurant/l10n/zh.json +95 -36
  309. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  310. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  311. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
  312. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
  313. package/templates/retail-store/config.ts +1 -1
  314. package/templates/retail-store/dev/index.ts +2417 -661
  315. package/templates/retail-store/l10n/ar.json +95 -41
  316. package/templates/retail-store/l10n/cs.json +95 -41
  317. package/templates/retail-store/l10n/da.json +95 -41
  318. package/templates/retail-store/l10n/de.json +95 -41
  319. package/templates/retail-store/l10n/el.json +95 -41
  320. package/templates/retail-store/l10n/en.json +71 -20
  321. package/templates/retail-store/l10n/es.json +95 -41
  322. package/templates/retail-store/l10n/fi.json +95 -41
  323. package/templates/retail-store/l10n/fr.json +95 -41
  324. package/templates/retail-store/l10n/he.json +78 -33
  325. package/templates/retail-store/l10n/hu.json +95 -41
  326. package/templates/retail-store/l10n/id.json +95 -41
  327. package/templates/retail-store/l10n/it.json +95 -41
  328. package/templates/retail-store/l10n/ja.json +95 -41
  329. package/templates/retail-store/l10n/ko.json +95 -41
  330. package/templates/retail-store/l10n/lt.json +95 -41
  331. package/templates/retail-store/l10n/nl.json +95 -41
  332. package/templates/retail-store/l10n/no.json +95 -41
  333. package/templates/retail-store/l10n/pl.json +95 -41
  334. package/templates/retail-store/l10n/pt.json +95 -41
  335. package/templates/retail-store/l10n/ru.json +95 -41
  336. package/templates/retail-store/l10n/sv.json +95 -41
  337. package/templates/retail-store/l10n/th.json +95 -41
  338. package/templates/retail-store/l10n/tr.json +95 -41
  339. package/templates/retail-store/l10n/uk.json +95 -41
  340. package/templates/retail-store/l10n/vi.json +95 -41
  341. package/templates/retail-store/l10n/zh.json +95 -41
  342. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  343. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  344. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
  345. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
  346. package/templates/yoga-studio/config.ts +1 -1
  347. package/templates/yoga-studio/dev/index.ts +2619 -851
  348. package/templates/yoga-studio/l10n/ar.json +95 -36
  349. package/templates/yoga-studio/l10n/cs.json +95 -36
  350. package/templates/yoga-studio/l10n/da.json +95 -36
  351. package/templates/yoga-studio/l10n/de.json +95 -36
  352. package/templates/yoga-studio/l10n/el.json +95 -36
  353. package/templates/yoga-studio/l10n/en.json +71 -15
  354. package/templates/yoga-studio/l10n/es.json +95 -36
  355. package/templates/yoga-studio/l10n/fi.json +95 -36
  356. package/templates/yoga-studio/l10n/fr.json +95 -36
  357. package/templates/yoga-studio/l10n/he.json +78 -29
  358. package/templates/yoga-studio/l10n/hu.json +95 -36
  359. package/templates/yoga-studio/l10n/id.json +95 -36
  360. package/templates/yoga-studio/l10n/it.json +95 -36
  361. package/templates/yoga-studio/l10n/ja.json +95 -36
  362. package/templates/yoga-studio/l10n/ko.json +95 -36
  363. package/templates/yoga-studio/l10n/lt.json +95 -36
  364. package/templates/yoga-studio/l10n/nl.json +95 -36
  365. package/templates/yoga-studio/l10n/no.json +95 -36
  366. package/templates/yoga-studio/l10n/pl.json +95 -36
  367. package/templates/yoga-studio/l10n/pt.json +95 -36
  368. package/templates/yoga-studio/l10n/ru.json +95 -36
  369. package/templates/yoga-studio/l10n/sv.json +95 -36
  370. package/templates/yoga-studio/l10n/th.json +95 -36
  371. package/templates/yoga-studio/l10n/tr.json +95 -36
  372. package/templates/yoga-studio/l10n/uk.json +95 -36
  373. package/templates/yoga-studio/l10n/vi.json +95 -36
  374. package/templates/yoga-studio/l10n/zh.json +95 -36
  375. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  376. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
  377. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
  378. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
@@ -67218,7 +67218,7 @@ const SCREENS = runtimeSetting({
67218
67218
  "alignment": "leading",
67219
67219
  "children": [
67220
67220
  {
67221
- "id": "",
67221
+ "id": "himi_blog.heading",
67222
67222
  "body": {
67223
67223
  "package": "himalaya",
67224
67224
  "type": "VStack",
@@ -67239,19 +67239,6 @@ const SCREENS = runtimeSetting({
67239
67239
  "modifiers": {
67240
67240
  "accessibilityRole": "heading"
67241
67241
  }
67242
- },
67243
- {
67244
- "id": "himi_blog.subtitle",
67245
- "body": {
67246
- "package": "himalaya",
67247
- "type": "Text",
67248
- "props": {
67249
- "text": "Read the latest notes.",
67250
- "style": "body",
67251
- "color": "textSecondary",
67252
- "collapseWhenEmpty": true
67253
- }
67254
- }
67255
67242
  }
67256
67243
  ]
67257
67244
  }
@@ -67330,6 +67317,7 @@ const SCREENS = runtimeSetting({
67330
67317
  "type": "HStack",
67331
67318
  "props": {
67332
67319
  "spacing": 10,
67320
+ "alignment": "center",
67333
67321
  "children": [
67334
67322
  {
67335
67323
  "id": "",
@@ -67567,6 +67555,7 @@ const SCREENS = runtimeSetting({
67567
67555
  "type": "HStack",
67568
67556
  "props": {
67569
67557
  "spacing": 14,
67558
+ "alignment": "center",
67570
67559
  "children": [
67571
67560
  {
67572
67561
  "id": "",
@@ -67706,6 +67695,7 @@ const SCREENS = runtimeSetting({
67706
67695
  "type": "HStack",
67707
67696
  "props": {
67708
67697
  "spacing": 4,
67698
+ "alignment": "center",
67709
67699
  "children": [
67710
67700
  {
67711
67701
  "id": "",
@@ -67760,6 +67750,7 @@ const SCREENS = runtimeSetting({
67760
67750
  "type": "HStack",
67761
67751
  "props": {
67762
67752
  "spacing": 12,
67753
+ "alignment": "center",
67763
67754
  "children": [
67764
67755
  {
67765
67756
  "id": "himi_blog.post_author.photo",
@@ -68200,71 +68191,56 @@ const SCREENS = runtimeSetting({
68200
68191
  }
68201
68192
  },
68202
68193
  {
68203
- "id": "",
68194
+ "id": "himi_blog.empty",
68204
68195
  "body": {
68205
68196
  "package": "himalaya",
68206
- "type": "VStack",
68197
+ "type": "EmptyState",
68207
68198
  "props": {
68208
- "spacing": 12,
68209
- "alignment": "center",
68210
- "children": [
68211
- {
68212
- "id": "",
68213
- "body": {
68214
- "package": "himalaya",
68215
- "type": "Icon",
68216
- "props": {
68217
- "name": "newspaper",
68218
- "size": 34,
68219
- "tint": "textTertiary"
68220
- }
68221
- },
68222
- "modifiers": {
68223
- "accessibilityRole": "decorative"
68224
- }
68225
- },
68226
- {
68227
- "id": "",
68228
- "body": {
68229
- "package": "himalaya",
68230
- "type": "Text",
68231
- "props": {
68232
- "text": "$service:himiBlogFeed.emptyText",
68233
- "style": "bodyEmphasis",
68234
- "color": "textSecondary",
68235
- "collapseWhenEmpty": true
68236
- }
68237
- }
68238
- },
68239
- {
68240
- "id": "himi_blog.empty.cta",
68241
- "body": {
68242
- "package": "himalaya",
68243
- "type": "Button",
68244
- "props": {
68245
- "title": "Clear filters",
68246
- "style": "secondary",
68247
- "action": {
68248
- "actionId": "tier5.himiBlogFeed.clearFilters"
68249
- }
68250
- }
68251
- }
68252
- }
68253
- ]
68199
+ "title": "$service:himiBlogFeed.emptyText",
68200
+ "subtitle": "Try a different word or category.",
68201
+ "icon": "search",
68202
+ "actionLabel": "Clear filters",
68203
+ "action": {
68204
+ "actionId": "tier5.himiBlogFeed.clearFilters"
68205
+ }
68254
68206
  }
68255
68207
  },
68256
68208
  "modifiers": {
68257
68209
  "padding": {
68258
68210
  "leading": 24,
68259
68211
  "trailing": 24,
68260
- "top": 24,
68212
+ "top": 48,
68213
+ "bottom": 24
68214
+ },
68215
+ "transition": {
68216
+ "enter": "fade",
68217
+ "exit": "fade"
68218
+ },
68219
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
68220
+ }
68221
+ },
68222
+ {
68223
+ "id": "himi_blog.empty_none",
68224
+ "body": {
68225
+ "package": "himalaya",
68226
+ "type": "EmptyState",
68227
+ "props": {
68228
+ "title": "$service:himiBlogFeed.emptyText",
68229
+ "icon": "document"
68230
+ }
68231
+ },
68232
+ "modifiers": {
68233
+ "padding": {
68234
+ "leading": 24,
68235
+ "trailing": 24,
68236
+ "top": 48,
68261
68237
  "bottom": 24
68262
68238
  },
68263
68239
  "transition": {
68264
68240
  "enter": "fade",
68265
68241
  "exit": "fade"
68266
68242
  },
68267
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
68243
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
68268
68244
  }
68269
68245
  }
68270
68246
  ]
@@ -68293,21 +68269,6 @@ const SCREENS = runtimeSetting({
68293
68269
  ],
68294
68270
  "minBinaryVersion": "0.1.0",
68295
68271
  "bundleVersion": "0.0.1"
68296
- },
68297
- "topBar": {
68298
- "actions": [
68299
- {
68300
- "id": "account",
68301
- "icon": "person",
68302
- "accessibilityLabel": "Account",
68303
- "onTap": {
68304
- "actionId": "himi.open",
68305
- "params": {
68306
- "screenId": "himi_account"
68307
- }
68308
- }
68309
- }
68310
- ]
68311
68272
  }
68312
68273
  },
68313
68274
  "himi_saved": {
@@ -68388,6 +68349,7 @@ const SCREENS = runtimeSetting({
68388
68349
  "type": "HStack",
68389
68350
  "props": {
68390
68351
  "spacing": 10,
68352
+ "alignment": "center",
68391
68353
  "children": [
68392
68354
  {
68393
68355
  "id": "",
@@ -68793,73 +68755,21 @@ const SCREENS = runtimeSetting({
68793
68755
  }
68794
68756
  },
68795
68757
  {
68796
- "id": "",
68758
+ "id": "himi_saved.empty",
68797
68759
  "body": {
68798
68760
  "package": "himalaya",
68799
- "type": "VStack",
68761
+ "type": "EmptyState",
68800
68762
  "props": {
68801
- "spacing": 12,
68802
- "alignment": "center",
68803
- "children": [
68804
- {
68805
- "id": "",
68806
- "body": {
68807
- "package": "himalaya",
68808
- "type": "Icon",
68809
- "props": {
68810
- "name": "bookmark",
68811
- "size": 34,
68812
- "tint": "textTertiary"
68813
- }
68814
- },
68815
- "modifiers": {
68816
- "accessibilityRole": "decorative"
68817
- }
68818
- },
68819
- {
68820
- "id": "",
68821
- "body": {
68822
- "package": "himalaya",
68823
- "type": "Text",
68824
- "props": {
68825
- "text": "$service:himiBlogSaved.emptyText",
68826
- "style": "bodyEmphasis",
68827
- "color": "textSecondary",
68828
- "collapseWhenEmpty": true
68829
- }
68830
- }
68831
- },
68832
- {
68833
- "id": "",
68834
- "body": {
68835
- "package": "himalaya",
68836
- "type": "Text",
68837
- "props": {
68838
- "text": "Tap the bookmark on a post to read it later.",
68839
- "style": "footnote",
68840
- "color": "textTertiary",
68841
- "maxLines": 2
68842
- }
68843
- }
68844
- },
68845
- {
68846
- "id": "himi_saved.empty.cta",
68847
- "body": {
68848
- "package": "himalaya",
68849
- "type": "Button",
68850
- "props": {
68851
- "title": "Browse Blog",
68852
- "style": "secondary",
68853
- "action": {
68854
- "actionId": "himi.open",
68855
- "params": {
68856
- "screenId": "himi_blog"
68857
- }
68858
- }
68859
- }
68860
- }
68763
+ "title": "$service:himiBlogSaved.emptyText",
68764
+ "subtitle": "Tap the bookmark on a post to read it later.",
68765
+ "icon": "bookmark",
68766
+ "actionLabel": "Browse Blog",
68767
+ "action": {
68768
+ "actionId": "himi.open",
68769
+ "params": {
68770
+ "screenId": "himi_blog"
68861
68771
  }
68862
- ]
68772
+ }
68863
68773
  }
68864
68774
  },
68865
68775
  "modifiers": {
@@ -111624,6 +111534,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
111624
111534
  "type": "HStack",
111625
111535
  "props": {
111626
111536
  "spacing": 10,
111537
+ "alignment": "center",
111627
111538
  "children": [
111628
111539
  {
111629
111540
  "id": "",
@@ -111983,6 +111894,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
111983
111894
  "type": "HStack",
111984
111895
  "props": {
111985
111896
  "spacing": 12,
111897
+ "alignment": "center",
111986
111898
  "children": [
111987
111899
  {
111988
111900
  "id": "himi_blog_post.author.photo",
@@ -112731,41 +112643,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
112731
112643
  "accessibilityRole": "decorative"
112732
112644
  }
112733
112645
  },
112734
- {
112735
- "id": "",
112736
- "body": {
112737
- "package": "himalaya",
112738
- "type": "VStack",
112739
- "props": {
112740
- "spacing": 0,
112741
- "alignment": "leading",
112742
- "children": [
112743
- {
112744
- "id": "himi_blog_post.comments_title",
112745
- "body": {
112746
- "package": "himalaya",
112747
- "type": "Text",
112748
- "props": {
112749
- "text": "$service:himiBlogPost.commentsTitle",
112750
- "style": "title3"
112751
- }
112752
- },
112753
- "modifiers": {
112754
- "accessibilityRole": "heading"
112755
- }
112756
- }
112757
- ]
112758
- }
112759
- },
112760
- "modifiers": {
112761
- "padding": {
112762
- "leading": 20,
112763
- "trailing": 20,
112764
- "top": 20,
112765
- "bottom": 4
112766
- }
112767
- }
112768
- },
112769
112646
  {
112770
112647
  "id": "",
112771
112648
  "body": {
@@ -112777,46 +112654,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
112777
112654
  "children": [
112778
112655
  {
112779
112656
  "id": "",
112780
- "body": {
112781
- "package": "himalaya",
112782
- "type": "Text",
112783
- "props": {
112784
- "text": "$service:himiBlogPost.commentStatusText",
112785
- "style": "footnote",
112786
- "color": "textSecondary"
112787
- }
112788
- }
112789
- }
112790
- ]
112791
- }
112792
- },
112793
- "modifiers": {
112794
- "padding": {
112795
- "leading": 20,
112796
- "trailing": 20,
112797
- "top": 6,
112798
- "bottom": 6
112799
- },
112800
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
112801
- }
112802
- },
112803
- {
112804
- "id": "himi_blog_post.comments",
112805
- "body": {
112806
- "package": "himalaya",
112807
- "type": "Grid",
112808
- "props": {
112809
- "columns": 1,
112810
- "spacing": 0,
112811
- "itemsPath": "$service:himiBlogPost.comments",
112812
- "items": [
112813
- {
112814
- "id": "himi_blog_post.comment_row",
112815
112657
  "body": {
112816
112658
  "package": "himalaya",
112817
112659
  "type": "VStack",
112818
112660
  "props": {
112819
- "spacing": 6,
112661
+ "spacing": 14,
112820
112662
  "alignment": "leading",
112821
112663
  "children": [
112822
112664
  {
@@ -112825,73 +112667,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
112825
112667
  "package": "himalaya",
112826
112668
  "type": "HStack",
112827
112669
  "props": {
112828
- "spacing": 10,
112670
+ "spacing": 8,
112671
+ "alignment": "center",
112829
112672
  "children": [
112830
112673
  {
112831
- "id": "",
112674
+ "id": "himi_blog_post.comments_title",
112832
112675
  "body": {
112833
112676
  "package": "himalaya",
112834
- "type": "ZStack",
112677
+ "type": "Text",
112835
112678
  "props": {
112836
- "alignment": "center",
112837
- "children": [
112838
- {
112839
- "id": "",
112840
- "body": {
112841
- "package": "himalaya",
112842
- "type": "Text",
112843
- "props": {
112844
- "text": "$item.authorInitial",
112845
- "style": "footnote",
112846
- "color": "accentPrimary"
112847
- }
112848
- }
112849
- }
112850
- ]
112679
+ "text": "$service:himiBlogPost.commentsTitle",
112680
+ "style": "title3"
112851
112681
  }
112852
112682
  },
112853
112683
  "modifiers": {
112854
- "width": 32,
112855
- "height": 32,
112856
- "background": {
112857
- "token": "accentSurface"
112858
- },
112859
- "cornerRadius": 16,
112860
- "accessibilityRole": "decorative"
112684
+ "accessibilityRole": "heading"
112861
112685
  }
112862
112686
  },
112863
112687
  {
112864
112688
  "id": "",
112865
112689
  "body": {
112866
112690
  "package": "himalaya",
112867
- "type": "Text",
112868
- "props": {
112869
- "text": "$item.authorName",
112870
- "style": "bodyEmphasis",
112871
- "maxLines": 1
112872
- }
112691
+ "type": "Spacer",
112692
+ "props": {}
112873
112693
  }
112874
112694
  },
112875
112695
  {
112876
- "id": "",
112696
+ "id": "himi_blog_post.comments_show_all",
112877
112697
  "body": {
112878
112698
  "package": "himalaya",
112879
112699
  "type": "Text",
112880
112700
  "props": {
112881
- "text": "$item.meta",
112882
- "style": "caption",
112883
- "color": "textTertiary",
112884
- "maxLines": 1,
112885
- "collapseWhenEmpty": true
112701
+ "text": "$service:himiBlogPost.showAllLabel",
112702
+ "style": "footnote",
112703
+ "color": "accentPrimary",
112704
+ "maxLines": 1
112886
112705
  }
112887
- }
112888
- },
112889
- {
112890
- "id": "",
112891
- "body": {
112892
- "package": "himalaya",
112893
- "type": "Spacer",
112894
- "props": {}
112706
+ },
112707
+ "modifiers": {
112708
+ "onTap": {
112709
+ "actionId": "tier5.himiBlogPost.openComments"
112710
+ },
112711
+ "accessibilityRole": "button",
112712
+ "padding": {
112713
+ "top": 6,
112714
+ "bottom": 6,
112715
+ "leading": 6
112716
+ },
112717
+ "hiddenPath": "$service:himiBlogPost.noComments"
112895
112718
  }
112896
112719
  }
112897
112720
  ]
@@ -112900,486 +112723,2532 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
112900
112723
  },
112901
112724
  {
112902
112725
  "id": "",
112726
+ "body": {
112727
+ "package": "himalaya",
112728
+ "type": "Text",
112729
+ "props": {
112730
+ "text": "$service:himiBlogPost.commentStatusText",
112731
+ "style": "footnote",
112732
+ "color": "textSecondary"
112733
+ }
112734
+ },
112735
+ "modifiers": {
112736
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
112737
+ }
112738
+ },
112739
+ {
112740
+ "id": "himi_blog_post.comments_empty",
112903
112741
  "body": {
112904
112742
  "package": "himalaya",
112905
112743
  "type": "VStack",
112906
112744
  "props": {
112907
- "spacing": 0,
112745
+ "spacing": 4,
112908
112746
  "alignment": "leading",
112909
112747
  "children": [
112910
112748
  {
112911
- "id": "comment_body_$item.id",
112749
+ "id": "",
112912
112750
  "body": {
112913
112751
  "package": "himalaya",
112914
- "type": "RichContent",
112752
+ "type": "Text",
112915
112753
  "props": {
112916
- "documentJsonPath": "$item.bodyJson",
112917
- "onLink": {
112918
- "actionId": "tier5.himiBlogPost.openLink"
112919
- },
112920
- "fallback": {
112921
- "id": "",
112922
- "body": {
112923
- "package": "himalaya",
112924
- "type": "Text",
112925
- "props": {
112926
- "text": "$item.text",
112927
- "style": "body",
112928
- "collapseWhenEmpty": true
112929
- }
112930
- }
112931
- }
112754
+ "text": "No comments yet",
112755
+ "style": "bodyEmphasis"
112932
112756
  }
112933
112757
  }
112934
112758
  },
112935
112759
  {
112936
- "id": "comment_body_text_$item.id",
112760
+ "id": "",
112937
112761
  "body": {
112938
112762
  "package": "himalaya",
112939
112763
  "type": "Text",
112940
112764
  "props": {
112941
- "text": "$item.text",
112942
- "style": "body",
112943
- "collapseWhenEmpty": true
112765
+ "text": "Be the first to share your thoughts.",
112766
+ "style": "footnote",
112767
+ "color": "textSecondary"
112944
112768
  }
112945
- },
112946
- "modifiers": {
112947
- "hiddenPath": "$item.hasBodyJson"
112948
112769
  }
112949
112770
  }
112950
112771
  ]
112951
112772
  }
112952
112773
  },
112953
112774
  "modifiers": {
112954
- "padding": {
112955
- "leading": 42
112956
- }
112957
- }
112958
- },
112959
- {
112960
- "id": "",
112961
- "body": {
112962
- "package": "himalaya",
112963
- "type": "Divider",
112964
- "props": {}
112965
- },
112966
- "modifiers": {
112967
- "padding": {
112968
- "top": 10
112969
- }
112970
- }
112971
- }
112972
- ]
112973
- }
112974
- },
112975
- "modifiers": {
112976
- "padding": {
112977
- "leading": 20,
112978
- "trailing": 20,
112979
- "top": 12
112980
- }
112981
- }
112982
- }
112983
- ]
112984
- }
112985
- }
112986
- },
112987
- {
112988
- "id": "",
112989
- "body": {
112990
- "package": "himalaya",
112991
- "type": "VStack",
112992
- "props": {
112993
- "spacing": 0,
112994
- "alignment": "leading",
112995
- "children": [
112996
- {
112997
- "id": "himi_blog_post.comment_composer",
112998
- "body": {
112999
- "package": "himalaya",
113000
- "type": "VStack",
113001
- "props": {
113002
- "spacing": 10,
113003
- "alignment": "leading",
113004
- "children": [
113005
- {
113006
- "id": "himi_blog_post.comment_input",
113007
- "body": {
113008
- "package": "himalaya",
113009
- "type": "TextField",
113010
- "props": {
113011
- "placeholder": "Write a comment",
113012
- "valuePath": "$service:himiBlogPost.commentText",
113013
- "multilineMaxLines": 4,
113014
- "onChange": {
113015
- "actionId": "tier5.himiBlogPost.setComment"
113016
- }
113017
- }
112775
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
113018
112776
  }
113019
112777
  },
113020
112778
  {
113021
- "id": "himi_blog_post.comment_submit",
113022
- "body": {
113023
- "package": "himalaya",
113024
- "type": "Button",
113025
- "props": {
113026
- "title": "Post comment",
113027
- "style": "primary",
113028
- "fullWidth": false,
113029
- "action": {
113030
- "actionId": "tier5.himiBlogPost.submitComment"
113031
- }
113032
- }
113033
- }
113034
- }
113035
- ]
113036
- }
113037
- }
113038
- }
113039
- ]
113040
- }
113041
- },
113042
- "modifiers": {
113043
- "padding": {
113044
- "leading": 20,
113045
- "trailing": 20,
113046
- "top": 12,
113047
- "bottom": 16
113048
- },
113049
- "hiddenPath": "$service:himiBlogPost.commentsOff"
113050
- }
113051
- }
113052
- ]
113053
- }
113054
- }
113055
- },
113056
- {
113057
- "id": "himi_blog_post.recent_section",
113058
- "body": {
113059
- "package": "himalaya",
113060
- "type": "VStack",
113061
- "props": {
113062
- "spacing": 0,
113063
- "alignment": "leading",
113064
- "children": [
113065
- {
113066
- "id": "himi_blog_post.recent_band",
113067
- "body": {
113068
- "package": "himalaya",
113069
- "type": "VStack",
113070
- "props": {
113071
- "spacing": 0,
113072
- "children": []
113073
- }
113074
- },
113075
- "modifiers": {
113076
- "height": 12,
113077
- "fillMaxWidth": true,
113078
- "background": {
113079
- "token": "surfaceSecondary"
113080
- },
113081
- "accessibilityRole": "decorative"
113082
- }
113083
- },
113084
- {
113085
- "id": "",
113086
- "body": {
113087
- "package": "himalaya",
113088
- "type": "VStack",
113089
- "props": {
113090
- "spacing": 0,
113091
- "alignment": "leading",
113092
- "children": [
113093
- {
113094
- "id": "",
113095
- "body": {
113096
- "package": "himalaya",
113097
- "type": "Text",
113098
- "props": {
113099
- "text": "Recent posts",
113100
- "style": "title3"
113101
- }
113102
- },
113103
- "modifiers": {
113104
- "accessibilityRole": "heading"
113105
- }
113106
- }
113107
- ]
113108
- }
113109
- },
113110
- "modifiers": {
113111
- "padding": {
113112
- "leading": 20,
113113
- "trailing": 20,
113114
- "top": 20,
113115
- "bottom": 4
113116
- }
113117
- }
113118
- },
113119
- {
113120
- "id": "himi_blog_post.recent",
113121
- "body": {
113122
- "package": "himalaya",
113123
- "type": "Grid",
113124
- "props": {
113125
- "columns": 1,
113126
- "spacing": 0,
113127
- "itemsPath": "$service:himiBlogPost.recent",
113128
- "items": [
113129
- {
113130
- "id": "himi_blog_post.recent_row",
113131
- "body": {
113132
- "package": "himalaya",
113133
- "type": "HStack",
113134
- "props": {
113135
- "spacing": 12,
113136
- "children": [
113137
- {
113138
- "id": "himi_blog_post.recent_cover",
112779
+ "id": "himi_blog_post.comments",
113139
112780
  "body": {
113140
112781
  "package": "himalaya",
113141
- "type": "Image",
112782
+ "type": "Grid",
113142
112783
  "props": {
113143
- "url": "$item.cover",
113144
- "width": 72,
113145
- "height": 72,
113146
- "contentMode": "fill"
113147
- }
113148
- },
113149
- "modifiers": {
113150
- "accessibilityRole": "decorative",
113151
- "cornerRadius": 8,
113152
- "hiddenPath": "$item.noCover"
113153
- }
113154
- },
113155
- {
113156
- "id": "",
113157
- "body": {
113158
- "package": "himalaya",
113159
- "type": "ZStack",
113160
- "props": {
113161
- "alignment": "center",
113162
- "children": [
112784
+ "columns": 1,
112785
+ "spacing": 16,
112786
+ "itemsPath": "$service:himiBlogPost.latestComments",
112787
+ "items": [
113163
112788
  {
113164
- "id": "",
112789
+ "id": "himi_blog_post.comment_row",
113165
112790
  "body": {
113166
112791
  "package": "himalaya",
113167
- "type": "Icon",
112792
+ "type": "HStack",
113168
112793
  "props": {
113169
- "name": "newspaper",
113170
- "size": 22,
113171
- "tint": "textTertiary"
112794
+ "spacing": 10,
112795
+ "alignment": "leading",
112796
+ "children": [
112797
+ {
112798
+ "id": "himi_blog_post.comment_avatar.photo",
112799
+ "body": {
112800
+ "package": "himalaya",
112801
+ "type": "Image",
112802
+ "props": {
112803
+ "url": "$item.authorPhoto",
112804
+ "width": 32,
112805
+ "height": 32,
112806
+ "contentMode": "fill",
112807
+ "shape": "circle"
112808
+ }
112809
+ },
112810
+ "modifiers": {
112811
+ "accessibilityRole": "decorative",
112812
+ "hiddenPath": "$item.noAuthorPhoto"
112813
+ }
112814
+ },
112815
+ {
112816
+ "id": "",
112817
+ "body": {
112818
+ "package": "himalaya",
112819
+ "type": "ZStack",
112820
+ "props": {
112821
+ "alignment": "center",
112822
+ "children": [
112823
+ {
112824
+ "id": "",
112825
+ "body": {
112826
+ "package": "himalaya",
112827
+ "type": "Text",
112828
+ "props": {
112829
+ "text": "$item.authorInitial",
112830
+ "style": "footnote",
112831
+ "color": "accentPrimary",
112832
+ "collapseWhenEmpty": true
112833
+ }
112834
+ }
112835
+ }
112836
+ ]
112837
+ }
112838
+ },
112839
+ "modifiers": {
112840
+ "width": 32,
112841
+ "height": 32,
112842
+ "background": {
112843
+ "token": "accentSurface"
112844
+ },
112845
+ "cornerRadius": 16,
112846
+ "accessibilityRole": "decorative",
112847
+ "hiddenPath": "$item.hasAuthorPhoto"
112848
+ }
112849
+ },
112850
+ {
112851
+ "id": "",
112852
+ "body": {
112853
+ "package": "himalaya",
112854
+ "type": "VStack",
112855
+ "props": {
112856
+ "spacing": 4,
112857
+ "alignment": "leading",
112858
+ "children": [
112859
+ {
112860
+ "id": "",
112861
+ "body": {
112862
+ "package": "himalaya",
112863
+ "type": "HStack",
112864
+ "props": {
112865
+ "spacing": 6,
112866
+ "alignment": "center",
112867
+ "children": [
112868
+ {
112869
+ "id": "",
112870
+ "body": {
112871
+ "package": "himalaya",
112872
+ "type": "Text",
112873
+ "props": {
112874
+ "text": "$item.authorName",
112875
+ "style": "footnote",
112876
+ "maxLines": 1
112877
+ }
112878
+ }
112879
+ },
112880
+ {
112881
+ "id": "",
112882
+ "body": {
112883
+ "package": "himalaya",
112884
+ "type": "Text",
112885
+ "props": {
112886
+ "text": "$item.meta",
112887
+ "style": "caption",
112888
+ "color": "textTertiary",
112889
+ "maxLines": 1,
112890
+ "collapseWhenEmpty": true
112891
+ }
112892
+ }
112893
+ },
112894
+ {
112895
+ "id": "",
112896
+ "body": {
112897
+ "package": "himalaya",
112898
+ "type": "Spacer",
112899
+ "props": {}
112900
+ }
112901
+ },
112902
+ {
112903
+ "id": "",
112904
+ "body": {
112905
+ "package": "himalaya",
112906
+ "type": "HStack",
112907
+ "props": {
112908
+ "spacing": 0,
112909
+ "alignment": "center",
112910
+ "children": [
112911
+ {
112912
+ "id": "himi_blog_post.comment_menu",
112913
+ "body": {
112914
+ "package": "himalaya",
112915
+ "type": "Menu",
112916
+ "props": {
112917
+ "anchor": {
112918
+ "id": "",
112919
+ "body": {
112920
+ "package": "himalaya",
112921
+ "type": "Icon",
112922
+ "props": {
112923
+ "name": "more_vertical",
112924
+ "size": 18,
112925
+ "tint": "textSecondary"
112926
+ }
112927
+ },
112928
+ "modifiers": {
112929
+ "accessibilityRole": "button",
112930
+ "accessibilityLabel": "Comment actions",
112931
+ "padding": {
112932
+ "leading": 13,
112933
+ "trailing": 13,
112934
+ "top": 4,
112935
+ "bottom": 4
112936
+ }
112937
+ }
112938
+ },
112939
+ "style": "dropdown",
112940
+ "items": [
112941
+ {
112942
+ "id": "report",
112943
+ "label": "Report",
112944
+ "icon": "warning",
112945
+ "action": {
112946
+ "actionId": "tier5.himiBlogPost.reportComment",
112947
+ "params": {
112948
+ "id": "$item.id"
112949
+ }
112950
+ }
112951
+ }
112952
+ ]
112953
+ }
112954
+ }
112955
+ }
112956
+ ]
112957
+ }
112958
+ },
112959
+ "modifiers": {
112960
+ "hiddenPath": "$item.noReport"
112961
+ }
112962
+ }
112963
+ ]
112964
+ }
112965
+ }
112966
+ },
112967
+ {
112968
+ "id": "comment_preview_$item.id",
112969
+ "body": {
112970
+ "package": "himalaya",
112971
+ "type": "Text",
112972
+ "props": {
112973
+ "text": "$item.preview",
112974
+ "style": "body",
112975
+ "maxLines": 2
112976
+ }
112977
+ }
112978
+ },
112979
+ {
112980
+ "id": "",
112981
+ "body": {
112982
+ "package": "himalaya",
112983
+ "type": "HStack",
112984
+ "props": {
112985
+ "spacing": 12,
112986
+ "alignment": "center",
112987
+ "children": [
112988
+ {
112989
+ "id": "",
112990
+ "body": {
112991
+ "package": "himalaya",
112992
+ "type": "HStack",
112993
+ "props": {
112994
+ "spacing": 0,
112995
+ "alignment": "center",
112996
+ "children": [
112997
+ {
112998
+ "id": "himi_blog_post.comment_like",
112999
+ "body": {
113000
+ "package": "himalaya",
113001
+ "type": "HStack",
113002
+ "props": {
113003
+ "spacing": 4,
113004
+ "alignment": "center",
113005
+ "children": [
113006
+ {
113007
+ "id": "",
113008
+ "body": {
113009
+ "package": "himalaya",
113010
+ "type": "Icon",
113011
+ "props": {
113012
+ "name": "heart",
113013
+ "size": 14,
113014
+ "tint": "textSecondary"
113015
+ }
113016
+ },
113017
+ "modifiers": {
113018
+ "accessibilityRole": "decorative"
113019
+ }
113020
+ },
113021
+ {
113022
+ "id": "",
113023
+ "body": {
113024
+ "package": "himalaya",
113025
+ "type": "Text",
113026
+ "props": {
113027
+ "text": "$item.likes",
113028
+ "style": "caption",
113029
+ "color": "textSecondary",
113030
+ "monospacedDigits": true
113031
+ }
113032
+ }
113033
+ }
113034
+ ]
113035
+ }
113036
+ },
113037
+ "modifiers": {
113038
+ "border": {
113039
+ "width": 1,
113040
+ "color": {
113041
+ "token": "border"
113042
+ }
113043
+ },
113044
+ "cornerRadius": 999,
113045
+ "padding": {
113046
+ "leading": 10,
113047
+ "trailing": 10,
113048
+ "top": 4,
113049
+ "bottom": 4
113050
+ },
113051
+ "onTap": {
113052
+ "actionId": "tier5.himiBlogPost.likeComment",
113053
+ "params": {
113054
+ "id": "$item.id"
113055
+ }
113056
+ },
113057
+ "pressFeedback": "scale",
113058
+ "haptic": "light",
113059
+ "accessibilityRole": "button",
113060
+ "accessibilityLabel": "Like",
113061
+ "hiddenPath": "$item.liked"
113062
+ }
113063
+ },
113064
+ {
113065
+ "id": "himi_blog_post.comment_unlike",
113066
+ "body": {
113067
+ "package": "himalaya",
113068
+ "type": "HStack",
113069
+ "props": {
113070
+ "spacing": 4,
113071
+ "alignment": "center",
113072
+ "children": [
113073
+ {
113074
+ "id": "",
113075
+ "body": {
113076
+ "package": "himalaya",
113077
+ "type": "Icon",
113078
+ "props": {
113079
+ "name": "heart_fill",
113080
+ "size": 14,
113081
+ "tint": "danger"
113082
+ }
113083
+ },
113084
+ "modifiers": {
113085
+ "accessibilityRole": "decorative"
113086
+ }
113087
+ },
113088
+ {
113089
+ "id": "",
113090
+ "body": {
113091
+ "package": "himalaya",
113092
+ "type": "Text",
113093
+ "props": {
113094
+ "text": "$item.likes",
113095
+ "style": "caption",
113096
+ "color": "danger",
113097
+ "monospacedDigits": true
113098
+ }
113099
+ }
113100
+ }
113101
+ ]
113102
+ }
113103
+ },
113104
+ "modifiers": {
113105
+ "background": {
113106
+ "token": "dangerSurface"
113107
+ },
113108
+ "cornerRadius": 999,
113109
+ "padding": {
113110
+ "leading": 10,
113111
+ "trailing": 10,
113112
+ "top": 4,
113113
+ "bottom": 4
113114
+ },
113115
+ "onTap": {
113116
+ "actionId": "tier5.himiBlogPost.unlikeComment",
113117
+ "params": {
113118
+ "id": "$item.id"
113119
+ }
113120
+ },
113121
+ "pressFeedback": "scale",
113122
+ "haptic": "light",
113123
+ "accessibilityRole": "button",
113124
+ "accessibilityLabel": "Unlike",
113125
+ "hiddenPath": "$item.notLiked"
113126
+ }
113127
+ }
113128
+ ]
113129
+ }
113130
+ },
113131
+ "modifiers": {
113132
+ "hiddenPath": "$item.noLikes"
113133
+ }
113134
+ },
113135
+ {
113136
+ "id": "",
113137
+ "body": {
113138
+ "package": "himalaya",
113139
+ "type": "HStack",
113140
+ "props": {
113141
+ "spacing": 0,
113142
+ "alignment": "center",
113143
+ "children": [
113144
+ {
113145
+ "id": "himi_blog_post.comment_reply",
113146
+ "body": {
113147
+ "package": "himalaya",
113148
+ "type": "Text",
113149
+ "props": {
113150
+ "text": "Reply",
113151
+ "style": "caption",
113152
+ "color": "textSecondary"
113153
+ }
113154
+ },
113155
+ "modifiers": {
113156
+ "onTap": {
113157
+ "actionId": "tier5.himiBlogPost.replyTo",
113158
+ "params": {
113159
+ "id": "$item.id"
113160
+ }
113161
+ },
113162
+ "accessibilityRole": "button",
113163
+ "padding": {
113164
+ "top": 4,
113165
+ "bottom": 4,
113166
+ "leading": 4,
113167
+ "trailing": 4
113168
+ },
113169
+ "hiddenPath": "$item.noReply"
113170
+ }
113171
+ }
113172
+ ]
113173
+ }
113174
+ },
113175
+ "modifiers": {
113176
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
113177
+ }
113178
+ },
113179
+ {
113180
+ "id": "",
113181
+ "body": {
113182
+ "package": "himalaya",
113183
+ "type": "Spacer",
113184
+ "props": {}
113185
+ }
113186
+ }
113187
+ ]
113188
+ }
113189
+ }
113190
+ }
113191
+ ]
113192
+ }
113193
+ },
113194
+ "modifiers": {
113195
+ "weight": 1
113196
+ }
113197
+ }
113198
+ ]
113172
113199
  }
113173
113200
  },
113174
113201
  "modifiers": {
113175
- "accessibilityRole": "decorative"
113202
+ "fillMaxWidth": true
113176
113203
  }
113177
113204
  }
113178
113205
  ]
113179
113206
  }
113180
- },
113181
- "modifiers": {
113182
- "width": 72,
113183
- "height": 72,
113184
- "background": {
113185
- "token": "surfaceSecondary"
113186
- },
113187
- "cornerRadius": 8,
113188
- "accessibilityRole": "decorative",
113189
- "hiddenPath": "$item.hasCover"
113190
113207
  }
113191
113208
  },
113192
113209
  {
113193
- "id": "",
113210
+ "id": "himi_blog_post.comment_open_composer",
113194
113211
  "body": {
113195
113212
  "package": "himalaya",
113196
- "type": "VStack",
113213
+ "type": "HStack",
113197
113214
  "props": {
113198
- "spacing": 4,
113199
- "alignment": "leading",
113215
+ "spacing": 10,
113216
+ "alignment": "center",
113200
113217
  "children": [
113218
+ {
113219
+ "id": "himi_blog_post.comment_input_avatar.photo",
113220
+ "body": {
113221
+ "package": "himalaya",
113222
+ "type": "Image",
113223
+ "props": {
113224
+ "url": "$service:himiBlogPost.memberPhoto",
113225
+ "width": 32,
113226
+ "height": 32,
113227
+ "contentMode": "fill",
113228
+ "shape": "circle"
113229
+ }
113230
+ },
113231
+ "modifiers": {
113232
+ "accessibilityRole": "decorative",
113233
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
113234
+ }
113235
+ },
113201
113236
  {
113202
113237
  "id": "",
113203
113238
  "body": {
113204
113239
  "package": "himalaya",
113205
- "type": "Text",
113240
+ "type": "ZStack",
113206
113241
  "props": {
113207
- "text": "$item.title",
113208
- "style": "bodyEmphasis",
113209
- "maxLines": 2
113242
+ "alignment": "center",
113243
+ "children": [
113244
+ {
113245
+ "id": "",
113246
+ "body": {
113247
+ "package": "himalaya",
113248
+ "type": "Icon",
113249
+ "props": {
113250
+ "name": "person",
113251
+ "size": 16,
113252
+ "tint": "accentPrimary"
113253
+ }
113254
+ },
113255
+ "modifiers": {
113256
+ "accessibilityRole": "decorative",
113257
+ "hiddenPath": "$service:himiBlogPost.isMember"
113258
+ }
113259
+ },
113260
+ {
113261
+ "id": "",
113262
+ "body": {
113263
+ "package": "himalaya",
113264
+ "type": "Text",
113265
+ "props": {
113266
+ "text": "$service:himiBlogPost.memberInitial",
113267
+ "style": "footnote",
113268
+ "color": "accentPrimary",
113269
+ "collapseWhenEmpty": true
113270
+ }
113271
+ }
113272
+ }
113273
+ ]
113210
113274
  }
113275
+ },
113276
+ "modifiers": {
113277
+ "width": 32,
113278
+ "height": 32,
113279
+ "background": {
113280
+ "token": "accentSurface"
113281
+ },
113282
+ "cornerRadius": 16,
113283
+ "accessibilityRole": "decorative",
113284
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
113211
113285
  }
113212
113286
  },
113213
113287
  {
113214
113288
  "id": "",
113215
113289
  "body": {
113216
113290
  "package": "himalaya",
113217
- "type": "Text",
113291
+ "type": "HStack",
113218
113292
  "props": {
113219
- "text": "$item.date",
113220
- "style": "caption",
113221
- "color": "textSecondary",
113222
- "maxLines": 1,
113223
- "collapseWhenEmpty": true
113293
+ "spacing": 0,
113294
+ "alignment": "center",
113295
+ "children": [
113296
+ {
113297
+ "id": "",
113298
+ "body": {
113299
+ "package": "himalaya",
113300
+ "type": "Text",
113301
+ "props": {
113302
+ "text": "Leave a comment…",
113303
+ "style": "body",
113304
+ "color": "textTertiary",
113305
+ "maxLines": 1
113306
+ }
113307
+ }
113308
+ },
113309
+ {
113310
+ "id": "",
113311
+ "body": {
113312
+ "package": "himalaya",
113313
+ "type": "Spacer",
113314
+ "props": {}
113315
+ }
113316
+ }
113317
+ ]
113224
113318
  }
113319
+ },
113320
+ "modifiers": {
113321
+ "background": {
113322
+ "token": "surfacePrimary"
113323
+ },
113324
+ "cornerRadius": 999,
113325
+ "padding": {
113326
+ "leading": 16,
113327
+ "trailing": 16,
113328
+ "top": 10,
113329
+ "bottom": 10
113330
+ },
113331
+ "weight": 1
113225
113332
  }
113226
113333
  }
113227
113334
  ]
113228
113335
  }
113229
- }
113230
- },
113231
- {
113232
- "id": "",
113233
- "body": {
113234
- "package": "himalaya",
113235
- "type": "Spacer",
113236
- "props": {}
113336
+ },
113337
+ "modifiers": {
113338
+ "onTap": {
113339
+ "actionId": "tier5.himiBlogPost.openComposer"
113340
+ },
113341
+ "accessibilityRole": "button",
113342
+ "accessibilityLabel": "Leave a comment…",
113343
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
113237
113344
  }
113238
113345
  }
113239
113346
  ]
113240
113347
  }
113241
113348
  },
113242
113349
  "modifiers": {
113243
- "padding": {
113244
- "leading": 20,
113245
- "trailing": 20,
113246
- "top": 12,
113247
- "bottom": 12
113248
- },
113249
- "onTap": {
113250
- "actionId": "himi.open",
113251
- "params": {
113252
- "screenId": "$item.detailScreenId",
113253
- "id": "$item.id"
113254
- }
113350
+ "background": {
113351
+ "token": "surfaceSecondary"
113255
113352
  },
113256
- "pressFeedback": "scale",
113257
- "haptic": "light",
113258
- "accessibilityLabel": "$item.title"
113353
+ "cornerRadius": 16,
113354
+ "padding": {
113355
+ "leading": 16,
113356
+ "trailing": 16,
113357
+ "top": 16,
113358
+ "bottom": 16
113359
+ }
113259
113360
  }
113260
113361
  }
113261
113362
  ]
113262
113363
  }
113364
+ },
113365
+ "modifiers": {
113366
+ "padding": {
113367
+ "leading": 20,
113368
+ "trailing": 20,
113369
+ "top": 20,
113370
+ "bottom": 20
113371
+ }
113372
+ }
113373
+ }
113374
+ ]
113375
+ }
113376
+ }
113377
+ },
113378
+ {
113379
+ "id": "himi_blog_post.recent_section",
113380
+ "body": {
113381
+ "package": "himalaya",
113382
+ "type": "VStack",
113383
+ "props": {
113384
+ "spacing": 0,
113385
+ "alignment": "leading",
113386
+ "children": [
113387
+ {
113388
+ "id": "himi_blog_post.recent_band",
113389
+ "body": {
113390
+ "package": "himalaya",
113391
+ "type": "VStack",
113392
+ "props": {
113393
+ "spacing": 0,
113394
+ "children": []
113395
+ }
113396
+ },
113397
+ "modifiers": {
113398
+ "height": 12,
113399
+ "fillMaxWidth": true,
113400
+ "background": {
113401
+ "token": "surfaceSecondary"
113402
+ },
113403
+ "accessibilityRole": "decorative"
113263
113404
  }
113264
113405
  },
113265
113406
  {
113266
113407
  "id": "",
113267
113408
  "body": {
113268
113409
  "package": "himalaya",
113269
- "type": "HStack",
113410
+ "type": "VStack",
113270
113411
  "props": {
113271
113412
  "spacing": 0,
113413
+ "alignment": "leading",
113272
113414
  "children": [
113273
113415
  {
113274
113416
  "id": "",
113275
113417
  "body": {
113276
113418
  "package": "himalaya",
113277
- "type": "Spacer",
113278
- "props": {}
113279
- }
113280
- },
113281
- {
113282
- "id": "himi_blog_post.see_all",
113283
- "body": {
113284
- "package": "himalaya",
113285
- "type": "Button",
113419
+ "type": "Text",
113286
113420
  "props": {
113287
- "title": "See All Posts",
113288
- "style": "secondary",
113289
- "fullWidth": false,
113290
- "action": {
113291
- "actionId": "himi.open",
113292
- "params": {
113293
- "screenId": "himi_blog"
113294
- }
113295
- }
113421
+ "text": "Recent posts",
113422
+ "style": "title3"
113296
113423
  }
113424
+ },
113425
+ "modifiers": {
113426
+ "accessibilityRole": "heading"
113297
113427
  }
113298
- },
113299
- {
113300
- "id": "",
113301
- "body": {
113302
- "package": "himalaya",
113303
- "type": "Spacer",
113304
- "props": {}
113428
+ }
113429
+ ]
113430
+ }
113431
+ },
113432
+ "modifiers": {
113433
+ "padding": {
113434
+ "leading": 20,
113435
+ "trailing": 20,
113436
+ "top": 20,
113437
+ "bottom": 4
113438
+ }
113439
+ }
113440
+ },
113441
+ {
113442
+ "id": "himi_blog_post.recent",
113443
+ "body": {
113444
+ "package": "himalaya",
113445
+ "type": "Grid",
113446
+ "props": {
113447
+ "columns": 1,
113448
+ "spacing": 0,
113449
+ "itemsPath": "$service:himiBlogPost.recent",
113450
+ "items": [
113451
+ {
113452
+ "id": "himi_blog_post.recent_row",
113453
+ "body": {
113454
+ "package": "himalaya",
113455
+ "type": "HStack",
113456
+ "props": {
113457
+ "spacing": 12,
113458
+ "children": [
113459
+ {
113460
+ "id": "himi_blog_post.recent_cover",
113461
+ "body": {
113462
+ "package": "himalaya",
113463
+ "type": "Image",
113464
+ "props": {
113465
+ "url": "$item.cover",
113466
+ "width": 72,
113467
+ "height": 72,
113468
+ "contentMode": "fill"
113469
+ }
113470
+ },
113471
+ "modifiers": {
113472
+ "accessibilityRole": "decorative",
113473
+ "cornerRadius": 8,
113474
+ "hiddenPath": "$item.noCover"
113475
+ }
113476
+ },
113477
+ {
113478
+ "id": "",
113479
+ "body": {
113480
+ "package": "himalaya",
113481
+ "type": "ZStack",
113482
+ "props": {
113483
+ "alignment": "center",
113484
+ "children": [
113485
+ {
113486
+ "id": "",
113487
+ "body": {
113488
+ "package": "himalaya",
113489
+ "type": "Icon",
113490
+ "props": {
113491
+ "name": "newspaper",
113492
+ "size": 22,
113493
+ "tint": "textTertiary"
113494
+ }
113495
+ },
113496
+ "modifiers": {
113497
+ "accessibilityRole": "decorative"
113498
+ }
113499
+ }
113500
+ ]
113501
+ }
113502
+ },
113503
+ "modifiers": {
113504
+ "width": 72,
113505
+ "height": 72,
113506
+ "background": {
113507
+ "token": "surfaceSecondary"
113508
+ },
113509
+ "cornerRadius": 8,
113510
+ "accessibilityRole": "decorative",
113511
+ "hiddenPath": "$item.hasCover"
113512
+ }
113513
+ },
113514
+ {
113515
+ "id": "",
113516
+ "body": {
113517
+ "package": "himalaya",
113518
+ "type": "VStack",
113519
+ "props": {
113520
+ "spacing": 4,
113521
+ "alignment": "leading",
113522
+ "children": [
113523
+ {
113524
+ "id": "",
113525
+ "body": {
113526
+ "package": "himalaya",
113527
+ "type": "Text",
113528
+ "props": {
113529
+ "text": "$item.title",
113530
+ "style": "bodyEmphasis",
113531
+ "maxLines": 2
113532
+ }
113533
+ }
113534
+ },
113535
+ {
113536
+ "id": "",
113537
+ "body": {
113538
+ "package": "himalaya",
113539
+ "type": "Text",
113540
+ "props": {
113541
+ "text": "$item.date",
113542
+ "style": "caption",
113543
+ "color": "textSecondary",
113544
+ "maxLines": 1,
113545
+ "collapseWhenEmpty": true
113546
+ }
113547
+ }
113548
+ }
113549
+ ]
113550
+ }
113551
+ }
113552
+ },
113553
+ {
113554
+ "id": "",
113555
+ "body": {
113556
+ "package": "himalaya",
113557
+ "type": "Spacer",
113558
+ "props": {}
113559
+ }
113560
+ }
113561
+ ]
113562
+ }
113563
+ },
113564
+ "modifiers": {
113565
+ "padding": {
113566
+ "leading": 20,
113567
+ "trailing": 20,
113568
+ "top": 12,
113569
+ "bottom": 12
113570
+ },
113571
+ "onTap": {
113572
+ "actionId": "himi.open",
113573
+ "params": {
113574
+ "screenId": "$item.detailScreenId",
113575
+ "id": "$item.id"
113576
+ }
113577
+ },
113578
+ "pressFeedback": "scale",
113579
+ "haptic": "light",
113580
+ "accessibilityLabel": "$item.title"
113581
+ }
113582
+ }
113583
+ ]
113584
+ }
113585
+ }
113586
+ },
113587
+ {
113588
+ "id": "",
113589
+ "body": {
113590
+ "package": "himalaya",
113591
+ "type": "HStack",
113592
+ "props": {
113593
+ "spacing": 0,
113594
+ "children": [
113595
+ {
113596
+ "id": "",
113597
+ "body": {
113598
+ "package": "himalaya",
113599
+ "type": "Spacer",
113600
+ "props": {}
113601
+ }
113602
+ },
113603
+ {
113604
+ "id": "himi_blog_post.see_all",
113605
+ "body": {
113606
+ "package": "himalaya",
113607
+ "type": "Button",
113608
+ "props": {
113609
+ "title": "See All Posts",
113610
+ "style": "secondary",
113611
+ "fullWidth": false,
113612
+ "action": {
113613
+ "actionId": "himi.open",
113614
+ "params": {
113615
+ "screenId": "himi_blog"
113616
+ }
113617
+ }
113618
+ }
113619
+ }
113620
+ },
113621
+ {
113622
+ "id": "",
113623
+ "body": {
113624
+ "package": "himalaya",
113625
+ "type": "Spacer",
113626
+ "props": {}
113627
+ }
113628
+ }
113629
+ ]
113630
+ }
113631
+ },
113632
+ "modifiers": {
113633
+ "padding": {
113634
+ "top": 12,
113635
+ "bottom": 8
113636
+ }
113637
+ }
113638
+ }
113639
+ ]
113640
+ }
113641
+ },
113642
+ "modifiers": {
113643
+ "hiddenPath": "$service:himiBlogPost.noRecent"
113644
+ }
113645
+ }
113646
+ ]
113647
+ }
113648
+ },
113649
+ "modifiers": {
113650
+ "hiddenPath": "$service:himiBlogPost.noPost"
113651
+ }
113652
+ },
113653
+ {
113654
+ "id": "himi_blog_post.more_sheet",
113655
+ "body": {
113656
+ "package": "himalaya",
113657
+ "type": "BottomSheet",
113658
+ "props": {
113659
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
113660
+ "dismissible": true,
113661
+ "showGrabber": true,
113662
+ "onDismiss": {
113663
+ "actionId": "tier5.himiBlogPost.closeMore"
113664
+ },
113665
+ "content": {
113666
+ "id": "",
113667
+ "body": {
113668
+ "package": "himalaya",
113669
+ "type": "VStack",
113670
+ "props": {
113671
+ "spacing": 0,
113672
+ "alignment": "leading",
113673
+ "children": [
113674
+ {
113675
+ "id": "himi_blog_post.report",
113676
+ "body": {
113677
+ "package": "himalaya",
113678
+ "type": "HStack",
113679
+ "props": {
113680
+ "spacing": 14,
113681
+ "alignment": "center",
113682
+ "children": [
113683
+ {
113684
+ "id": "",
113685
+ "body": {
113686
+ "package": "himalaya",
113687
+ "type": "Icon",
113688
+ "props": {
113689
+ "name": "warning",
113690
+ "size": 22,
113691
+ "tint": "textPrimary"
113692
+ }
113693
+ },
113694
+ "modifiers": {
113695
+ "accessibilityRole": "decorative"
113696
+ }
113697
+ },
113698
+ {
113699
+ "id": "",
113700
+ "body": {
113701
+ "package": "himalaya",
113702
+ "type": "Text",
113703
+ "props": {
113704
+ "text": "Report",
113705
+ "style": "body"
113706
+ }
113707
+ }
113708
+ },
113709
+ {
113710
+ "id": "",
113711
+ "body": {
113712
+ "package": "himalaya",
113713
+ "type": "Spacer",
113714
+ "props": {}
113715
+ }
113716
+ }
113717
+ ]
113718
+ }
113719
+ },
113720
+ "modifiers": {
113721
+ "onTap": {
113722
+ "actionId": "tier5.himiBlogPost.report"
113723
+ },
113724
+ "accessibilityRole": "button",
113725
+ "accessibilityLabel": "Report",
113726
+ "padding": {
113727
+ "top": 11,
113728
+ "bottom": 11
113729
+ },
113730
+ "hiddenPath": "$service:himiBlogPost.reported"
113731
+ }
113732
+ },
113733
+ {
113734
+ "id": "himi_blog_post.hide",
113735
+ "body": {
113736
+ "package": "himalaya",
113737
+ "type": "HStack",
113738
+ "props": {
113739
+ "spacing": 14,
113740
+ "alignment": "center",
113741
+ "children": [
113742
+ {
113743
+ "id": "",
113744
+ "body": {
113745
+ "package": "himalaya",
113746
+ "type": "Icon",
113747
+ "props": {
113748
+ "name": "concealed",
113749
+ "size": 22,
113750
+ "tint": "textPrimary"
113751
+ }
113752
+ },
113753
+ "modifiers": {
113754
+ "accessibilityRole": "decorative"
113755
+ }
113756
+ },
113757
+ {
113758
+ "id": "",
113759
+ "body": {
113760
+ "package": "himalaya",
113761
+ "type": "Text",
113762
+ "props": {
113763
+ "text": "Hide post",
113764
+ "style": "body"
113765
+ }
113766
+ }
113767
+ },
113768
+ {
113769
+ "id": "",
113770
+ "body": {
113771
+ "package": "himalaya",
113772
+ "type": "Spacer",
113773
+ "props": {}
113774
+ }
113775
+ }
113776
+ ]
113777
+ }
113778
+ },
113779
+ "modifiers": {
113780
+ "onTap": {
113781
+ "actionId": "tier5.himiBlogPost.openHide"
113782
+ },
113783
+ "accessibilityRole": "button",
113784
+ "accessibilityLabel": "Hide post",
113785
+ "padding": {
113786
+ "top": 11,
113787
+ "bottom": 11
113788
+ },
113789
+ "hiddenPath": "$service:himiBlogPost.hidden"
113790
+ }
113791
+ },
113792
+ {
113793
+ "id": "himi_blog_post.unhide",
113794
+ "body": {
113795
+ "package": "himalaya",
113796
+ "type": "HStack",
113797
+ "props": {
113798
+ "spacing": 14,
113799
+ "alignment": "center",
113800
+ "children": [
113801
+ {
113802
+ "id": "",
113803
+ "body": {
113804
+ "package": "himalaya",
113805
+ "type": "Icon",
113806
+ "props": {
113807
+ "name": "visible",
113808
+ "size": 22,
113809
+ "tint": "textPrimary"
113810
+ }
113811
+ },
113812
+ "modifiers": {
113813
+ "accessibilityRole": "decorative"
113814
+ }
113815
+ },
113816
+ {
113817
+ "id": "",
113818
+ "body": {
113819
+ "package": "himalaya",
113820
+ "type": "Text",
113821
+ "props": {
113822
+ "text": "Undo hide",
113823
+ "style": "body"
113824
+ }
113825
+ }
113826
+ },
113827
+ {
113828
+ "id": "",
113829
+ "body": {
113830
+ "package": "himalaya",
113831
+ "type": "Spacer",
113832
+ "props": {}
113833
+ }
113834
+ }
113835
+ ]
113836
+ }
113837
+ },
113838
+ "modifiers": {
113839
+ "onTap": {
113840
+ "actionId": "tier5.himiBlogPost.unhide"
113841
+ },
113842
+ "accessibilityRole": "button",
113843
+ "accessibilityLabel": "Undo hide",
113844
+ "padding": {
113845
+ "top": 11,
113846
+ "bottom": 11
113847
+ },
113848
+ "hiddenPath": "$service:himiBlogPost.notHidden"
113849
+ }
113850
+ }
113851
+ ]
113852
+ }
113853
+ },
113854
+ "modifiers": {
113855
+ "padding": {
113856
+ "leading": 20,
113857
+ "trailing": 20,
113858
+ "top": 0,
113859
+ "bottom": 8
113860
+ }
113861
+ }
113862
+ }
113863
+ }
113864
+ }
113865
+ },
113866
+ {
113867
+ "id": "himi_blog_post.hide_sheet",
113868
+ "body": {
113869
+ "package": "himalaya",
113870
+ "type": "BottomSheet",
113871
+ "props": {
113872
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
113873
+ "dismissible": true,
113874
+ "showGrabber": true,
113875
+ "onDismiss": {
113876
+ "actionId": "tier5.himiBlogPost.closeHide"
113877
+ },
113878
+ "content": {
113879
+ "id": "",
113880
+ "body": {
113881
+ "package": "himalaya",
113882
+ "type": "VStack",
113883
+ "props": {
113884
+ "spacing": 0,
113885
+ "alignment": "leading",
113886
+ "children": [
113887
+ {
113888
+ "id": "",
113889
+ "body": {
113890
+ "package": "himalaya",
113891
+ "type": "Text",
113892
+ "props": {
113893
+ "text": "Why are you hiding this post?",
113894
+ "style": "title3"
113895
+ }
113896
+ },
113897
+ "modifiers": {
113898
+ "padding": {
113899
+ "bottom": 6
113900
+ }
113901
+ }
113902
+ },
113903
+ {
113904
+ "id": "himi_blog_post.hide_offensive",
113905
+ "body": {
113906
+ "package": "himalaya",
113907
+ "type": "HStack",
113908
+ "props": {
113909
+ "spacing": 14,
113910
+ "alignment": "center",
113911
+ "children": [
113912
+ {
113913
+ "id": "",
113914
+ "body": {
113915
+ "package": "himalaya",
113916
+ "type": "Text",
113917
+ "props": {
113918
+ "text": "It is offensive",
113919
+ "style": "body"
113920
+ }
113921
+ }
113922
+ },
113923
+ {
113924
+ "id": "",
113925
+ "body": {
113926
+ "package": "himalaya",
113927
+ "type": "Spacer",
113928
+ "props": {}
113929
+ }
113930
+ }
113931
+ ]
113932
+ }
113933
+ },
113934
+ "modifiers": {
113935
+ "onTap": {
113936
+ "actionId": "tier5.himiBlogPost.hide",
113937
+ "params": {
113938
+ "reason": "offensive"
113939
+ }
113940
+ },
113941
+ "accessibilityRole": "button",
113942
+ "accessibilityLabel": "It is offensive",
113943
+ "padding": {
113944
+ "top": 11,
113945
+ "bottom": 11
113946
+ }
113947
+ }
113948
+ },
113949
+ {
113950
+ "id": "himi_blog_post.hide_misleading",
113951
+ "body": {
113952
+ "package": "himalaya",
113953
+ "type": "HStack",
113954
+ "props": {
113955
+ "spacing": 14,
113956
+ "alignment": "center",
113957
+ "children": [
113958
+ {
113959
+ "id": "",
113960
+ "body": {
113961
+ "package": "himalaya",
113962
+ "type": "Text",
113963
+ "props": {
113964
+ "text": "It is misleading",
113965
+ "style": "body"
113966
+ }
113967
+ }
113968
+ },
113969
+ {
113970
+ "id": "",
113971
+ "body": {
113972
+ "package": "himalaya",
113973
+ "type": "Spacer",
113974
+ "props": {}
113975
+ }
113976
+ }
113977
+ ]
113978
+ }
113979
+ },
113980
+ "modifiers": {
113981
+ "onTap": {
113982
+ "actionId": "tier5.himiBlogPost.hide",
113983
+ "params": {
113984
+ "reason": "misleading"
113985
+ }
113986
+ },
113987
+ "accessibilityRole": "button",
113988
+ "accessibilityLabel": "It is misleading",
113989
+ "padding": {
113990
+ "top": 11,
113991
+ "bottom": 11
113992
+ }
113993
+ }
113994
+ },
113995
+ {
113996
+ "id": "himi_blog_post.hide_other",
113997
+ "body": {
113998
+ "package": "himalaya",
113999
+ "type": "HStack",
114000
+ "props": {
114001
+ "spacing": 14,
114002
+ "alignment": "center",
114003
+ "children": [
114004
+ {
114005
+ "id": "",
114006
+ "body": {
114007
+ "package": "himalaya",
114008
+ "type": "Text",
114009
+ "props": {
114010
+ "text": "Something else",
114011
+ "style": "body"
114012
+ }
114013
+ }
114014
+ },
114015
+ {
114016
+ "id": "",
114017
+ "body": {
114018
+ "package": "himalaya",
114019
+ "type": "Spacer",
114020
+ "props": {}
114021
+ }
114022
+ }
114023
+ ]
114024
+ }
114025
+ },
114026
+ "modifiers": {
114027
+ "onTap": {
114028
+ "actionId": "tier5.himiBlogPost.hide",
114029
+ "params": {
114030
+ "reason": "other"
114031
+ }
114032
+ },
114033
+ "accessibilityRole": "button",
114034
+ "accessibilityLabel": "Something else",
114035
+ "padding": {
114036
+ "top": 11,
114037
+ "bottom": 11
114038
+ }
114039
+ }
114040
+ },
114041
+ {
114042
+ "id": "himi_blog_post.hide_cancel",
114043
+ "body": {
114044
+ "package": "himalaya",
114045
+ "type": "Button",
114046
+ "props": {
114047
+ "title": "Cancel",
114048
+ "style": "secondary",
114049
+ "fullWidth": true,
114050
+ "action": {
114051
+ "actionId": "tier5.himiBlogPost.closeHide"
114052
+ }
114053
+ }
114054
+ },
114055
+ "modifiers": {
114056
+ "padding": {
114057
+ "top": 8
114058
+ }
114059
+ }
114060
+ }
114061
+ ]
114062
+ }
114063
+ },
114064
+ "modifiers": {
114065
+ "padding": {
114066
+ "leading": 20,
114067
+ "trailing": 20,
114068
+ "top": 12,
114069
+ "bottom": 8
114070
+ }
114071
+ }
114072
+ }
114073
+ }
114074
+ }
114075
+ },
114076
+ {
114077
+ "id": "himi_blog_post.comments_sheet",
114078
+ "body": {
114079
+ "package": "himalaya",
114080
+ "type": "BottomSheet",
114081
+ "props": {
114082
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
114083
+ "dismissible": true,
114084
+ "showGrabber": true,
114085
+ "detents": [
114086
+ 0.9
114087
+ ],
114088
+ "onDismiss": {
114089
+ "actionId": "tier5.himiBlogPost.closeComments"
114090
+ },
114091
+ "content": {
114092
+ "id": "",
114093
+ "body": {
114094
+ "package": "himalaya",
114095
+ "type": "VStack",
114096
+ "props": {
114097
+ "spacing": 12,
114098
+ "alignment": "leading",
114099
+ "children": [
114100
+ {
114101
+ "id": "",
114102
+ "body": {
114103
+ "package": "himalaya",
114104
+ "type": "HStack",
114105
+ "props": {
114106
+ "spacing": 8,
114107
+ "alignment": "center",
114108
+ "children": [
114109
+ {
114110
+ "id": "",
114111
+ "body": {
114112
+ "package": "himalaya",
114113
+ "type": "VStack",
114114
+ "props": {
114115
+ "spacing": 2,
114116
+ "alignment": "leading",
114117
+ "children": [
114118
+ {
114119
+ "id": "himi_blog_post.comments_sheet_title",
114120
+ "body": {
114121
+ "package": "himalaya",
114122
+ "type": "Text",
114123
+ "props": {
114124
+ "text": "$service:himiBlogPost.sheetTitle",
114125
+ "style": "title3"
114126
+ }
114127
+ },
114128
+ "modifiers": {
114129
+ "accessibilityRole": "heading"
114130
+ }
114131
+ },
114132
+ {
114133
+ "id": "",
114134
+ "body": {
114135
+ "package": "himalaya",
114136
+ "type": "Text",
114137
+ "props": {
114138
+ "text": "$service:himiBlogPost.title",
114139
+ "style": "footnote",
114140
+ "color": "textSecondary",
114141
+ "maxLines": 1,
114142
+ "collapseWhenEmpty": true
114143
+ }
114144
+ }
114145
+ }
114146
+ ]
114147
+ }
114148
+ }
114149
+ },
114150
+ {
114151
+ "id": "",
114152
+ "body": {
114153
+ "package": "himalaya",
114154
+ "type": "Spacer",
114155
+ "props": {}
114156
+ }
114157
+ },
114158
+ {
114159
+ "id": "himi_blog_post.comments_close",
114160
+ "body": {
114161
+ "package": "himalaya",
114162
+ "type": "Icon",
114163
+ "props": {
114164
+ "name": "chevron_down",
114165
+ "size": 22,
114166
+ "tint": "textPrimary"
114167
+ }
114168
+ },
114169
+ "modifiers": {
114170
+ "accessibilityRole": "button",
114171
+ "onTap": {
114172
+ "actionId": "tier5.himiBlogPost.closeComments"
114173
+ },
114174
+ "accessibilityLabel": "Close comments",
114175
+ "padding": {
114176
+ "leading": 11,
114177
+ "trailing": 11,
114178
+ "top": 11,
114179
+ "bottom": 11
114180
+ }
114181
+ }
114182
+ }
114183
+ ]
114184
+ }
114185
+ }
114186
+ },
114187
+ {
114188
+ "id": "",
114189
+ "body": {
114190
+ "package": "himalaya",
114191
+ "type": "Text",
114192
+ "props": {
114193
+ "text": "$service:himiBlogPost.commentStatusText",
114194
+ "style": "footnote",
114195
+ "color": "textSecondary"
114196
+ }
114197
+ },
114198
+ "modifiers": {
114199
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
114200
+ }
114201
+ },
114202
+ {
114203
+ "id": "",
114204
+ "body": {
114205
+ "package": "himalaya",
114206
+ "type": "VStack",
114207
+ "props": {
114208
+ "spacing": 4,
114209
+ "alignment": "leading",
114210
+ "children": [
114211
+ {
114212
+ "id": "",
114213
+ "body": {
114214
+ "package": "himalaya",
114215
+ "type": "Text",
114216
+ "props": {
114217
+ "text": "No comments yet",
114218
+ "style": "bodyEmphasis"
114219
+ }
114220
+ }
114221
+ },
114222
+ {
114223
+ "id": "",
114224
+ "body": {
114225
+ "package": "himalaya",
114226
+ "type": "Text",
114227
+ "props": {
114228
+ "text": "Be the first to share your thoughts.",
114229
+ "style": "footnote",
114230
+ "color": "textSecondary"
114231
+ }
114232
+ }
114233
+ }
114234
+ ]
114235
+ }
114236
+ },
114237
+ "modifiers": {
114238
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
114239
+ }
114240
+ },
114241
+ {
114242
+ "id": "himi_blog_post.sheet_comments",
114243
+ "body": {
114244
+ "package": "himalaya",
114245
+ "type": "LazyList",
114246
+ "props": {
114247
+ "spacing": 4,
114248
+ "itemsPath": "$service:himiBlogPost.comments",
114249
+ "items": [
114250
+ {
114251
+ "id": "himi_blog_post.sheet_comment_row",
114252
+ "body": {
114253
+ "package": "himalaya",
114254
+ "type": "VStack",
114255
+ "props": {
114256
+ "spacing": 0,
114257
+ "alignment": "leading",
114258
+ "children": [
114259
+ {
114260
+ "id": "",
114261
+ "body": {
114262
+ "package": "himalaya",
114263
+ "type": "VStack",
114264
+ "props": {
114265
+ "spacing": 0,
114266
+ "alignment": "leading",
114267
+ "children": [
114268
+ {
114269
+ "id": "",
114270
+ "body": {
114271
+ "package": "himalaya",
114272
+ "type": "HStack",
114273
+ "props": {
114274
+ "spacing": 10,
114275
+ "alignment": "leading",
114276
+ "children": [
114277
+ {
114278
+ "id": "himi_blog_post.comment_avatar.photo",
114279
+ "body": {
114280
+ "package": "himalaya",
114281
+ "type": "Image",
114282
+ "props": {
114283
+ "url": "$item.authorPhoto",
114284
+ "width": 32,
114285
+ "height": 32,
114286
+ "contentMode": "fill",
114287
+ "shape": "circle"
114288
+ }
114289
+ },
114290
+ "modifiers": {
114291
+ "accessibilityRole": "decorative",
114292
+ "hiddenPath": "$item.noAuthorPhoto"
114293
+ }
114294
+ },
114295
+ {
114296
+ "id": "",
114297
+ "body": {
114298
+ "package": "himalaya",
114299
+ "type": "ZStack",
114300
+ "props": {
114301
+ "alignment": "center",
114302
+ "children": [
114303
+ {
114304
+ "id": "",
114305
+ "body": {
114306
+ "package": "himalaya",
114307
+ "type": "Text",
114308
+ "props": {
114309
+ "text": "$item.authorInitial",
114310
+ "style": "footnote",
114311
+ "color": "accentPrimary",
114312
+ "collapseWhenEmpty": true
114313
+ }
114314
+ }
114315
+ }
114316
+ ]
114317
+ }
114318
+ },
114319
+ "modifiers": {
114320
+ "width": 32,
114321
+ "height": 32,
114322
+ "background": {
114323
+ "token": "accentSurface"
114324
+ },
114325
+ "cornerRadius": 16,
114326
+ "accessibilityRole": "decorative",
114327
+ "hiddenPath": "$item.hasAuthorPhoto"
114328
+ }
114329
+ },
114330
+ {
114331
+ "id": "",
114332
+ "body": {
114333
+ "package": "himalaya",
114334
+ "type": "VStack",
114335
+ "props": {
114336
+ "spacing": 4,
114337
+ "alignment": "leading",
114338
+ "children": [
114339
+ {
114340
+ "id": "",
114341
+ "body": {
114342
+ "package": "himalaya",
114343
+ "type": "HStack",
114344
+ "props": {
114345
+ "spacing": 6,
114346
+ "alignment": "center",
114347
+ "children": [
114348
+ {
114349
+ "id": "",
114350
+ "body": {
114351
+ "package": "himalaya",
114352
+ "type": "Text",
114353
+ "props": {
114354
+ "text": "$item.authorName",
114355
+ "style": "footnote",
114356
+ "maxLines": 1
114357
+ }
114358
+ }
114359
+ },
114360
+ {
114361
+ "id": "",
114362
+ "body": {
114363
+ "package": "himalaya",
114364
+ "type": "Text",
114365
+ "props": {
114366
+ "text": "$item.meta",
114367
+ "style": "caption",
114368
+ "color": "textTertiary",
114369
+ "maxLines": 1,
114370
+ "collapseWhenEmpty": true
114371
+ }
114372
+ }
114373
+ },
114374
+ {
114375
+ "id": "",
114376
+ "body": {
114377
+ "package": "himalaya",
114378
+ "type": "Spacer",
114379
+ "props": {}
114380
+ }
114381
+ },
114382
+ {
114383
+ "id": "",
114384
+ "body": {
114385
+ "package": "himalaya",
114386
+ "type": "HStack",
114387
+ "props": {
114388
+ "spacing": 0,
114389
+ "alignment": "center",
114390
+ "children": [
114391
+ {
114392
+ "id": "himi_blog_post.reply_menu",
114393
+ "body": {
114394
+ "package": "himalaya",
114395
+ "type": "Menu",
114396
+ "props": {
114397
+ "anchor": {
114398
+ "id": "",
114399
+ "body": {
114400
+ "package": "himalaya",
114401
+ "type": "Icon",
114402
+ "props": {
114403
+ "name": "more_vertical",
114404
+ "size": 18,
114405
+ "tint": "textSecondary"
114406
+ }
114407
+ },
114408
+ "modifiers": {
114409
+ "accessibilityRole": "button",
114410
+ "accessibilityLabel": "Comment actions",
114411
+ "padding": {
114412
+ "leading": 13,
114413
+ "trailing": 13,
114414
+ "top": 4,
114415
+ "bottom": 4
114416
+ }
114417
+ }
114418
+ },
114419
+ "style": "dropdown",
114420
+ "items": [
114421
+ {
114422
+ "id": "report",
114423
+ "label": "Report",
114424
+ "icon": "warning",
114425
+ "action": {
114426
+ "actionId": "tier5.himiBlogPost.reportComment",
114427
+ "params": {
114428
+ "id": "$item.id"
114429
+ }
114430
+ }
114431
+ }
114432
+ ]
114433
+ }
114434
+ }
114435
+ }
114436
+ ]
114437
+ }
114438
+ },
114439
+ "modifiers": {
114440
+ "hiddenPath": "$item.noReport"
114441
+ }
114442
+ }
114443
+ ]
114444
+ }
114445
+ }
114446
+ },
114447
+ {
114448
+ "id": "",
114449
+ "body": {
114450
+ "package": "himalaya",
114451
+ "type": "VStack",
114452
+ "props": {
114453
+ "spacing": 0,
114454
+ "alignment": "leading",
114455
+ "children": [
114456
+ {
114457
+ "id": "reply_body_$item.id",
114458
+ "body": {
114459
+ "package": "himalaya",
114460
+ "type": "RichContent",
114461
+ "props": {
114462
+ "documentJsonPath": "$item.bodyJson",
114463
+ "onLink": {
114464
+ "actionId": "tier5.himiBlogPost.openLink"
114465
+ },
114466
+ "fallback": {
114467
+ "id": "",
114468
+ "body": {
114469
+ "package": "himalaya",
114470
+ "type": "Text",
114471
+ "props": {
114472
+ "text": "$item.text",
114473
+ "style": "body",
114474
+ "collapseWhenEmpty": true
114475
+ }
114476
+ }
114477
+ }
114478
+ }
114479
+ }
114480
+ },
114481
+ {
114482
+ "id": "reply_body_text_$item.id",
114483
+ "body": {
114484
+ "package": "himalaya",
114485
+ "type": "Text",
114486
+ "props": {
114487
+ "text": "$item.text",
114488
+ "style": "body",
114489
+ "collapseWhenEmpty": true
114490
+ }
114491
+ },
114492
+ "modifiers": {
114493
+ "hiddenPath": "$item.hasBodyJson"
114494
+ }
114495
+ }
114496
+ ]
114497
+ }
114498
+ }
114499
+ },
114500
+ {
114501
+ "id": "",
114502
+ "body": {
114503
+ "package": "himalaya",
114504
+ "type": "HStack",
114505
+ "props": {
114506
+ "spacing": 12,
114507
+ "alignment": "center",
114508
+ "children": [
114509
+ {
114510
+ "id": "",
114511
+ "body": {
114512
+ "package": "himalaya",
114513
+ "type": "HStack",
114514
+ "props": {
114515
+ "spacing": 0,
114516
+ "alignment": "center",
114517
+ "children": [
114518
+ {
114519
+ "id": "himi_blog_post.comment_like",
114520
+ "body": {
114521
+ "package": "himalaya",
114522
+ "type": "HStack",
114523
+ "props": {
114524
+ "spacing": 4,
114525
+ "alignment": "center",
114526
+ "children": [
114527
+ {
114528
+ "id": "",
114529
+ "body": {
114530
+ "package": "himalaya",
114531
+ "type": "Icon",
114532
+ "props": {
114533
+ "name": "heart",
114534
+ "size": 14,
114535
+ "tint": "textSecondary"
114536
+ }
114537
+ },
114538
+ "modifiers": {
114539
+ "accessibilityRole": "decorative"
114540
+ }
114541
+ },
114542
+ {
114543
+ "id": "",
114544
+ "body": {
114545
+ "package": "himalaya",
114546
+ "type": "Text",
114547
+ "props": {
114548
+ "text": "$item.likes",
114549
+ "style": "caption",
114550
+ "color": "textSecondary",
114551
+ "monospacedDigits": true
114552
+ }
114553
+ }
114554
+ }
114555
+ ]
114556
+ }
114557
+ },
114558
+ "modifiers": {
114559
+ "border": {
114560
+ "width": 1,
114561
+ "color": {
114562
+ "token": "border"
114563
+ }
114564
+ },
114565
+ "cornerRadius": 999,
114566
+ "padding": {
114567
+ "leading": 10,
114568
+ "trailing": 10,
114569
+ "top": 4,
114570
+ "bottom": 4
114571
+ },
114572
+ "onTap": {
114573
+ "actionId": "tier5.himiBlogPost.likeComment",
114574
+ "params": {
114575
+ "id": "$item.id"
114576
+ }
114577
+ },
114578
+ "pressFeedback": "scale",
114579
+ "haptic": "light",
114580
+ "accessibilityRole": "button",
114581
+ "accessibilityLabel": "Like",
114582
+ "hiddenPath": "$item.liked"
114583
+ }
114584
+ },
114585
+ {
114586
+ "id": "himi_blog_post.comment_unlike",
114587
+ "body": {
114588
+ "package": "himalaya",
114589
+ "type": "HStack",
114590
+ "props": {
114591
+ "spacing": 4,
114592
+ "alignment": "center",
114593
+ "children": [
114594
+ {
114595
+ "id": "",
114596
+ "body": {
114597
+ "package": "himalaya",
114598
+ "type": "Icon",
114599
+ "props": {
114600
+ "name": "heart_fill",
114601
+ "size": 14,
114602
+ "tint": "danger"
114603
+ }
114604
+ },
114605
+ "modifiers": {
114606
+ "accessibilityRole": "decorative"
114607
+ }
114608
+ },
114609
+ {
114610
+ "id": "",
114611
+ "body": {
114612
+ "package": "himalaya",
114613
+ "type": "Text",
114614
+ "props": {
114615
+ "text": "$item.likes",
114616
+ "style": "caption",
114617
+ "color": "danger",
114618
+ "monospacedDigits": true
114619
+ }
114620
+ }
114621
+ }
114622
+ ]
114623
+ }
114624
+ },
114625
+ "modifiers": {
114626
+ "background": {
114627
+ "token": "dangerSurface"
114628
+ },
114629
+ "cornerRadius": 999,
114630
+ "padding": {
114631
+ "leading": 10,
114632
+ "trailing": 10,
114633
+ "top": 4,
114634
+ "bottom": 4
114635
+ },
114636
+ "onTap": {
114637
+ "actionId": "tier5.himiBlogPost.unlikeComment",
114638
+ "params": {
114639
+ "id": "$item.id"
114640
+ }
114641
+ },
114642
+ "pressFeedback": "scale",
114643
+ "haptic": "light",
114644
+ "accessibilityRole": "button",
114645
+ "accessibilityLabel": "Unlike",
114646
+ "hiddenPath": "$item.notLiked"
114647
+ }
114648
+ }
114649
+ ]
114650
+ }
114651
+ },
114652
+ "modifiers": {
114653
+ "hiddenPath": "$item.noLikes"
114654
+ }
114655
+ },
114656
+ {
114657
+ "id": "",
114658
+ "body": {
114659
+ "package": "himalaya",
114660
+ "type": "HStack",
114661
+ "props": {
114662
+ "spacing": 0,
114663
+ "alignment": "center",
114664
+ "children": [
114665
+ {
114666
+ "id": "himi_blog_post.comment_reply",
114667
+ "body": {
114668
+ "package": "himalaya",
114669
+ "type": "Text",
114670
+ "props": {
114671
+ "text": "Reply",
114672
+ "style": "caption",
114673
+ "color": "textSecondary"
114674
+ }
114675
+ },
114676
+ "modifiers": {
114677
+ "onTap": {
114678
+ "actionId": "tier5.himiBlogPost.replyTo",
114679
+ "params": {
114680
+ "id": "$item.id"
114681
+ }
114682
+ },
114683
+ "accessibilityRole": "button",
114684
+ "padding": {
114685
+ "top": 4,
114686
+ "bottom": 4,
114687
+ "leading": 4,
114688
+ "trailing": 4
114689
+ },
114690
+ "hiddenPath": "$item.noReply"
114691
+ }
114692
+ }
114693
+ ]
114694
+ }
114695
+ },
114696
+ "modifiers": {
114697
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
114698
+ }
114699
+ },
114700
+ {
114701
+ "id": "",
114702
+ "body": {
114703
+ "package": "himalaya",
114704
+ "type": "Spacer",
114705
+ "props": {}
114706
+ }
114707
+ }
114708
+ ]
114709
+ }
114710
+ }
114711
+ }
114712
+ ]
114713
+ }
114714
+ },
114715
+ "modifiers": {
114716
+ "weight": 1
114717
+ }
114718
+ }
114719
+ ]
114720
+ }
114721
+ },
114722
+ "modifiers": {
114723
+ "fillMaxWidth": true
114724
+ }
114725
+ }
114726
+ ]
114727
+ }
114728
+ },
114729
+ "modifiers": {
114730
+ "padding": {
114731
+ "leading": 42
114732
+ },
114733
+ "hiddenPath": "$item.notReply"
114734
+ }
114735
+ },
114736
+ {
114737
+ "id": "",
114738
+ "body": {
114739
+ "package": "himalaya",
114740
+ "type": "HStack",
114741
+ "props": {
114742
+ "spacing": 10,
114743
+ "alignment": "leading",
114744
+ "children": [
114745
+ {
114746
+ "id": "himi_blog_post.comment_avatar.photo",
114747
+ "body": {
114748
+ "package": "himalaya",
114749
+ "type": "Image",
114750
+ "props": {
114751
+ "url": "$item.authorPhoto",
114752
+ "width": 32,
114753
+ "height": 32,
114754
+ "contentMode": "fill",
114755
+ "shape": "circle"
114756
+ }
114757
+ },
114758
+ "modifiers": {
114759
+ "accessibilityRole": "decorative",
114760
+ "hiddenPath": "$item.noAuthorPhoto"
114761
+ }
114762
+ },
114763
+ {
114764
+ "id": "",
114765
+ "body": {
114766
+ "package": "himalaya",
114767
+ "type": "ZStack",
114768
+ "props": {
114769
+ "alignment": "center",
114770
+ "children": [
114771
+ {
114772
+ "id": "",
114773
+ "body": {
114774
+ "package": "himalaya",
114775
+ "type": "Text",
114776
+ "props": {
114777
+ "text": "$item.authorInitial",
114778
+ "style": "footnote",
114779
+ "color": "accentPrimary",
114780
+ "collapseWhenEmpty": true
114781
+ }
114782
+ }
114783
+ }
114784
+ ]
114785
+ }
114786
+ },
114787
+ "modifiers": {
114788
+ "width": 32,
114789
+ "height": 32,
114790
+ "background": {
114791
+ "token": "accentSurface"
114792
+ },
114793
+ "cornerRadius": 16,
114794
+ "accessibilityRole": "decorative",
114795
+ "hiddenPath": "$item.hasAuthorPhoto"
114796
+ }
114797
+ },
114798
+ {
114799
+ "id": "",
114800
+ "body": {
114801
+ "package": "himalaya",
114802
+ "type": "VStack",
114803
+ "props": {
114804
+ "spacing": 4,
114805
+ "alignment": "leading",
114806
+ "children": [
114807
+ {
114808
+ "id": "",
114809
+ "body": {
114810
+ "package": "himalaya",
114811
+ "type": "HStack",
114812
+ "props": {
114813
+ "spacing": 6,
114814
+ "alignment": "center",
114815
+ "children": [
114816
+ {
114817
+ "id": "",
114818
+ "body": {
114819
+ "package": "himalaya",
114820
+ "type": "Text",
114821
+ "props": {
114822
+ "text": "$item.authorName",
114823
+ "style": "footnote",
114824
+ "maxLines": 1
114825
+ }
114826
+ }
114827
+ },
114828
+ {
114829
+ "id": "",
114830
+ "body": {
114831
+ "package": "himalaya",
114832
+ "type": "Text",
114833
+ "props": {
114834
+ "text": "$item.meta",
114835
+ "style": "caption",
114836
+ "color": "textTertiary",
114837
+ "maxLines": 1,
114838
+ "collapseWhenEmpty": true
114839
+ }
114840
+ }
114841
+ },
114842
+ {
114843
+ "id": "",
114844
+ "body": {
114845
+ "package": "himalaya",
114846
+ "type": "Spacer",
114847
+ "props": {}
114848
+ }
114849
+ },
114850
+ {
114851
+ "id": "",
114852
+ "body": {
114853
+ "package": "himalaya",
114854
+ "type": "HStack",
114855
+ "props": {
114856
+ "spacing": 0,
114857
+ "alignment": "center",
114858
+ "children": [
114859
+ {
114860
+ "id": "himi_blog_post.comment_menu",
114861
+ "body": {
114862
+ "package": "himalaya",
114863
+ "type": "Menu",
114864
+ "props": {
114865
+ "anchor": {
114866
+ "id": "",
114867
+ "body": {
114868
+ "package": "himalaya",
114869
+ "type": "Icon",
114870
+ "props": {
114871
+ "name": "more_vertical",
114872
+ "size": 18,
114873
+ "tint": "textSecondary"
114874
+ }
114875
+ },
114876
+ "modifiers": {
114877
+ "accessibilityRole": "button",
114878
+ "accessibilityLabel": "Comment actions",
114879
+ "padding": {
114880
+ "leading": 13,
114881
+ "trailing": 13,
114882
+ "top": 4,
114883
+ "bottom": 4
114884
+ }
114885
+ }
114886
+ },
114887
+ "style": "dropdown",
114888
+ "items": [
114889
+ {
114890
+ "id": "report",
114891
+ "label": "Report",
114892
+ "icon": "warning",
114893
+ "action": {
114894
+ "actionId": "tier5.himiBlogPost.reportComment",
114895
+ "params": {
114896
+ "id": "$item.id"
114897
+ }
114898
+ }
114899
+ }
114900
+ ]
114901
+ }
114902
+ }
114903
+ }
114904
+ ]
114905
+ }
114906
+ },
114907
+ "modifiers": {
114908
+ "hiddenPath": "$item.noReport"
114909
+ }
114910
+ }
114911
+ ]
114912
+ }
114913
+ }
114914
+ },
114915
+ {
114916
+ "id": "",
114917
+ "body": {
114918
+ "package": "himalaya",
114919
+ "type": "VStack",
114920
+ "props": {
114921
+ "spacing": 0,
114922
+ "alignment": "leading",
114923
+ "children": [
114924
+ {
114925
+ "id": "comment_body_$item.id",
114926
+ "body": {
114927
+ "package": "himalaya",
114928
+ "type": "RichContent",
114929
+ "props": {
114930
+ "documentJsonPath": "$item.bodyJson",
114931
+ "onLink": {
114932
+ "actionId": "tier5.himiBlogPost.openLink"
114933
+ },
114934
+ "fallback": {
114935
+ "id": "",
114936
+ "body": {
114937
+ "package": "himalaya",
114938
+ "type": "Text",
114939
+ "props": {
114940
+ "text": "$item.text",
114941
+ "style": "body",
114942
+ "collapseWhenEmpty": true
114943
+ }
114944
+ }
114945
+ }
114946
+ }
114947
+ }
114948
+ },
114949
+ {
114950
+ "id": "comment_body_text_$item.id",
114951
+ "body": {
114952
+ "package": "himalaya",
114953
+ "type": "Text",
114954
+ "props": {
114955
+ "text": "$item.text",
114956
+ "style": "body",
114957
+ "collapseWhenEmpty": true
114958
+ }
114959
+ },
114960
+ "modifiers": {
114961
+ "hiddenPath": "$item.hasBodyJson"
114962
+ }
114963
+ }
114964
+ ]
114965
+ }
114966
+ }
114967
+ },
114968
+ {
114969
+ "id": "",
114970
+ "body": {
114971
+ "package": "himalaya",
114972
+ "type": "HStack",
114973
+ "props": {
114974
+ "spacing": 12,
114975
+ "alignment": "center",
114976
+ "children": [
114977
+ {
114978
+ "id": "",
114979
+ "body": {
114980
+ "package": "himalaya",
114981
+ "type": "HStack",
114982
+ "props": {
114983
+ "spacing": 0,
114984
+ "alignment": "center",
114985
+ "children": [
114986
+ {
114987
+ "id": "himi_blog_post.comment_like",
114988
+ "body": {
114989
+ "package": "himalaya",
114990
+ "type": "HStack",
114991
+ "props": {
114992
+ "spacing": 4,
114993
+ "alignment": "center",
114994
+ "children": [
114995
+ {
114996
+ "id": "",
114997
+ "body": {
114998
+ "package": "himalaya",
114999
+ "type": "Icon",
115000
+ "props": {
115001
+ "name": "heart",
115002
+ "size": 14,
115003
+ "tint": "textSecondary"
115004
+ }
115005
+ },
115006
+ "modifiers": {
115007
+ "accessibilityRole": "decorative"
115008
+ }
115009
+ },
115010
+ {
115011
+ "id": "",
115012
+ "body": {
115013
+ "package": "himalaya",
115014
+ "type": "Text",
115015
+ "props": {
115016
+ "text": "$item.likes",
115017
+ "style": "caption",
115018
+ "color": "textSecondary",
115019
+ "monospacedDigits": true
115020
+ }
115021
+ }
115022
+ }
115023
+ ]
115024
+ }
115025
+ },
115026
+ "modifiers": {
115027
+ "border": {
115028
+ "width": 1,
115029
+ "color": {
115030
+ "token": "border"
115031
+ }
115032
+ },
115033
+ "cornerRadius": 999,
115034
+ "padding": {
115035
+ "leading": 10,
115036
+ "trailing": 10,
115037
+ "top": 4,
115038
+ "bottom": 4
115039
+ },
115040
+ "onTap": {
115041
+ "actionId": "tier5.himiBlogPost.likeComment",
115042
+ "params": {
115043
+ "id": "$item.id"
115044
+ }
115045
+ },
115046
+ "pressFeedback": "scale",
115047
+ "haptic": "light",
115048
+ "accessibilityRole": "button",
115049
+ "accessibilityLabel": "Like",
115050
+ "hiddenPath": "$item.liked"
115051
+ }
115052
+ },
115053
+ {
115054
+ "id": "himi_blog_post.comment_unlike",
115055
+ "body": {
115056
+ "package": "himalaya",
115057
+ "type": "HStack",
115058
+ "props": {
115059
+ "spacing": 4,
115060
+ "alignment": "center",
115061
+ "children": [
115062
+ {
115063
+ "id": "",
115064
+ "body": {
115065
+ "package": "himalaya",
115066
+ "type": "Icon",
115067
+ "props": {
115068
+ "name": "heart_fill",
115069
+ "size": 14,
115070
+ "tint": "danger"
115071
+ }
115072
+ },
115073
+ "modifiers": {
115074
+ "accessibilityRole": "decorative"
115075
+ }
115076
+ },
115077
+ {
115078
+ "id": "",
115079
+ "body": {
115080
+ "package": "himalaya",
115081
+ "type": "Text",
115082
+ "props": {
115083
+ "text": "$item.likes",
115084
+ "style": "caption",
115085
+ "color": "danger",
115086
+ "monospacedDigits": true
115087
+ }
115088
+ }
115089
+ }
115090
+ ]
115091
+ }
115092
+ },
115093
+ "modifiers": {
115094
+ "background": {
115095
+ "token": "dangerSurface"
115096
+ },
115097
+ "cornerRadius": 999,
115098
+ "padding": {
115099
+ "leading": 10,
115100
+ "trailing": 10,
115101
+ "top": 4,
115102
+ "bottom": 4
115103
+ },
115104
+ "onTap": {
115105
+ "actionId": "tier5.himiBlogPost.unlikeComment",
115106
+ "params": {
115107
+ "id": "$item.id"
115108
+ }
115109
+ },
115110
+ "pressFeedback": "scale",
115111
+ "haptic": "light",
115112
+ "accessibilityRole": "button",
115113
+ "accessibilityLabel": "Unlike",
115114
+ "hiddenPath": "$item.notLiked"
115115
+ }
115116
+ }
115117
+ ]
115118
+ }
115119
+ },
115120
+ "modifiers": {
115121
+ "hiddenPath": "$item.noLikes"
115122
+ }
115123
+ },
115124
+ {
115125
+ "id": "",
115126
+ "body": {
115127
+ "package": "himalaya",
115128
+ "type": "HStack",
115129
+ "props": {
115130
+ "spacing": 0,
115131
+ "alignment": "center",
115132
+ "children": [
115133
+ {
115134
+ "id": "himi_blog_post.comment_reply",
115135
+ "body": {
115136
+ "package": "himalaya",
115137
+ "type": "Text",
115138
+ "props": {
115139
+ "text": "Reply",
115140
+ "style": "caption",
115141
+ "color": "textSecondary"
115142
+ }
115143
+ },
115144
+ "modifiers": {
115145
+ "onTap": {
115146
+ "actionId": "tier5.himiBlogPost.replyTo",
115147
+ "params": {
115148
+ "id": "$item.id"
115149
+ }
115150
+ },
115151
+ "accessibilityRole": "button",
115152
+ "padding": {
115153
+ "top": 4,
115154
+ "bottom": 4,
115155
+ "leading": 4,
115156
+ "trailing": 4
115157
+ },
115158
+ "hiddenPath": "$item.noReply"
115159
+ }
115160
+ }
115161
+ ]
115162
+ }
115163
+ },
115164
+ "modifiers": {
115165
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
115166
+ }
115167
+ },
115168
+ {
115169
+ "id": "",
115170
+ "body": {
115171
+ "package": "himalaya",
115172
+ "type": "Spacer",
115173
+ "props": {}
115174
+ }
115175
+ }
115176
+ ]
115177
+ }
115178
+ }
115179
+ }
115180
+ ]
115181
+ }
115182
+ },
115183
+ "modifiers": {
115184
+ "weight": 1
115185
+ }
115186
+ }
115187
+ ]
115188
+ }
115189
+ },
115190
+ "modifiers": {
115191
+ "fillMaxWidth": true,
115192
+ "hiddenPath": "$item.isReply"
115193
+ }
115194
+ }
115195
+ ]
115196
+ }
115197
+ },
115198
+ "modifiers": {
115199
+ "backgroundColorPath": "$item.rowBackground",
115200
+ "cornerRadius": 12,
115201
+ "padding": {
115202
+ "leading": 8,
115203
+ "trailing": 8,
115204
+ "top": 8,
115205
+ "bottom": 8
113305
115206
  }
113306
115207
  }
113307
- ]
113308
- }
113309
- },
113310
- "modifiers": {
113311
- "padding": {
113312
- "top": 12,
113313
- "bottom": 8
115208
+ }
115209
+ ],
115210
+ "pagination": {
115211
+ "cursor": "$service:himiBlogPost.commentsCursor",
115212
+ "onLoadMore": {
115213
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
115214
+ },
115215
+ "pageSize": 20
113314
115216
  }
113315
115217
  }
113316
115218
  }
113317
- ]
113318
- }
113319
- },
113320
- "modifiers": {
113321
- "hiddenPath": "$service:himiBlogPost.noRecent"
115219
+ }
115220
+ ]
113322
115221
  }
113323
115222
  }
113324
- ]
113325
- }
113326
- },
113327
- "modifiers": {
113328
- "hiddenPath": "$service:himiBlogPost.noPost"
113329
- }
113330
- },
113331
- {
113332
- "id": "himi_blog_post.more_sheet",
113333
- "body": {
113334
- "package": "himalaya",
113335
- "type": "BottomSheet",
113336
- "props": {
113337
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
113338
- "dismissible": true,
113339
- "showGrabber": true,
113340
- "onDismiss": {
113341
- "actionId": "tier5.himiBlogPost.closeMore"
113342
115223
  },
113343
- "content": {
113344
- "id": "",
115224
+ "footer": {
115225
+ "id": "himi_blog_post.comment_composer",
113345
115226
  "body": {
113346
115227
  "package": "himalaya",
113347
115228
  "type": "VStack",
113348
115229
  "props": {
113349
- "spacing": 0,
115230
+ "spacing": 6,
113350
115231
  "alignment": "leading",
113351
115232
  "children": [
113352
115233
  {
113353
- "id": "himi_blog_post.report",
115234
+ "id": "",
113354
115235
  "body": {
113355
115236
  "package": "himalaya",
113356
115237
  "type": "HStack",
113357
115238
  "props": {
113358
- "spacing": 14,
115239
+ "spacing": 8,
115240
+ "alignment": "center",
113359
115241
  "children": [
113360
- {
113361
- "id": "",
113362
- "body": {
113363
- "package": "himalaya",
113364
- "type": "Icon",
113365
- "props": {
113366
- "name": "warning",
113367
- "size": 22,
113368
- "tint": "textPrimary"
113369
- }
113370
- },
113371
- "modifiers": {
113372
- "accessibilityRole": "decorative"
113373
- }
113374
- },
113375
115242
  {
113376
115243
  "id": "",
113377
115244
  "body": {
113378
115245
  "package": "himalaya",
113379
115246
  "type": "Text",
113380
115247
  "props": {
113381
- "text": "Report",
113382
- "style": "body"
115248
+ "text": "$service:himiBlogPost.replyingLine",
115249
+ "style": "footnote",
115250
+ "color": "textSecondary",
115251
+ "maxLines": 1
113383
115252
  }
113384
115253
  }
113385
115254
  },
@@ -113390,401 +115259,287 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
113390
115259
  "type": "Spacer",
113391
115260
  "props": {}
113392
115261
  }
113393
- }
113394
- ]
113395
- }
113396
- },
113397
- "modifiers": {
113398
- "onTap": {
113399
- "actionId": "tier5.himiBlogPost.report"
113400
- },
113401
- "accessibilityRole": "button",
113402
- "accessibilityLabel": "Report",
113403
- "padding": {
113404
- "top": 11,
113405
- "bottom": 11
113406
- },
113407
- "hiddenPath": "$service:himiBlogPost.reported"
113408
- }
113409
- },
113410
- {
113411
- "id": "himi_blog_post.hide",
113412
- "body": {
113413
- "package": "himalaya",
113414
- "type": "HStack",
113415
- "props": {
113416
- "spacing": 14,
113417
- "children": [
115262
+ },
113418
115263
  {
113419
- "id": "",
115264
+ "id": "himi_blog_post.cancel_reply",
113420
115265
  "body": {
113421
115266
  "package": "himalaya",
113422
115267
  "type": "Icon",
113423
115268
  "props": {
113424
- "name": "concealed",
113425
- "size": 22,
113426
- "tint": "textPrimary"
115269
+ "name": "close",
115270
+ "size": 16,
115271
+ "tint": "textSecondary"
113427
115272
  }
113428
115273
  },
113429
115274
  "modifiers": {
113430
- "accessibilityRole": "decorative"
113431
- }
113432
- },
113433
- {
113434
- "id": "",
113435
- "body": {
113436
- "package": "himalaya",
113437
- "type": "Text",
113438
- "props": {
113439
- "text": "Hide post",
113440
- "style": "body"
115275
+ "accessibilityRole": "button",
115276
+ "onTap": {
115277
+ "actionId": "tier5.himiBlogPost.cancelReply"
115278
+ },
115279
+ "accessibilityLabel": "Cancel reply",
115280
+ "padding": {
115281
+ "top": 14,
115282
+ "bottom": 14,
115283
+ "leading": 14,
115284
+ "trailing": 14
113441
115285
  }
113442
115286
  }
113443
- },
113444
- {
113445
- "id": "",
113446
- "body": {
113447
- "package": "himalaya",
113448
- "type": "Spacer",
113449
- "props": {}
113450
- }
113451
115287
  }
113452
115288
  ]
113453
115289
  }
113454
115290
  },
113455
115291
  "modifiers": {
113456
- "onTap": {
113457
- "actionId": "tier5.himiBlogPost.openHide"
113458
- },
113459
- "accessibilityRole": "button",
113460
- "accessibilityLabel": "Hide post",
113461
- "padding": {
113462
- "top": 11,
113463
- "bottom": 11
113464
- },
113465
- "hiddenPath": "$service:himiBlogPost.hidden"
115292
+ "hiddenPath": "$service:himiBlogPost.notReplying"
113466
115293
  }
113467
115294
  },
113468
115295
  {
113469
- "id": "himi_blog_post.unhide",
115296
+ "id": "",
113470
115297
  "body": {
113471
115298
  "package": "himalaya",
113472
115299
  "type": "HStack",
113473
115300
  "props": {
113474
- "spacing": 14,
115301
+ "spacing": 10,
115302
+ "alignment": "center",
113475
115303
  "children": [
113476
115304
  {
113477
- "id": "",
115305
+ "id": "himi_blog_post.composer_avatar.photo",
113478
115306
  "body": {
113479
115307
  "package": "himalaya",
113480
- "type": "Icon",
115308
+ "type": "Image",
113481
115309
  "props": {
113482
- "name": "visible",
113483
- "size": 22,
113484
- "tint": "textPrimary"
115310
+ "url": "$service:himiBlogPost.memberPhoto",
115311
+ "width": 32,
115312
+ "height": 32,
115313
+ "contentMode": "fill",
115314
+ "shape": "circle"
113485
115315
  }
113486
115316
  },
113487
115317
  "modifiers": {
113488
- "accessibilityRole": "decorative"
113489
- }
113490
- },
113491
- {
113492
- "id": "",
113493
- "body": {
113494
- "package": "himalaya",
113495
- "type": "Text",
113496
- "props": {
113497
- "text": "Undo hide",
113498
- "style": "body"
113499
- }
115318
+ "accessibilityRole": "decorative",
115319
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
113500
115320
  }
113501
115321
  },
113502
115322
  {
113503
115323
  "id": "",
113504
115324
  "body": {
113505
115325
  "package": "himalaya",
113506
- "type": "Spacer",
113507
- "props": {}
113508
- }
113509
- }
113510
- ]
113511
- }
113512
- },
113513
- "modifiers": {
113514
- "onTap": {
113515
- "actionId": "tier5.himiBlogPost.unhide"
113516
- },
113517
- "accessibilityRole": "button",
113518
- "accessibilityLabel": "Undo hide",
113519
- "padding": {
113520
- "top": 11,
113521
- "bottom": 11
113522
- },
113523
- "hiddenPath": "$service:himiBlogPost.notHidden"
113524
- }
113525
- }
113526
- ]
113527
- }
113528
- },
113529
- "modifiers": {
113530
- "padding": {
113531
- "leading": 20,
113532
- "trailing": 20,
113533
- "top": 0,
113534
- "bottom": 8
113535
- }
113536
- }
113537
- }
113538
- }
113539
- }
113540
- },
113541
- {
113542
- "id": "himi_blog_post.hide_sheet",
113543
- "body": {
113544
- "package": "himalaya",
113545
- "type": "BottomSheet",
113546
- "props": {
113547
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
113548
- "dismissible": true,
113549
- "showGrabber": true,
113550
- "onDismiss": {
113551
- "actionId": "tier5.himiBlogPost.closeHide"
113552
- },
113553
- "content": {
113554
- "id": "",
113555
- "body": {
113556
- "package": "himalaya",
113557
- "type": "VStack",
113558
- "props": {
113559
- "spacing": 0,
113560
- "alignment": "leading",
113561
- "children": [
113562
- {
113563
- "id": "",
113564
- "body": {
113565
- "package": "himalaya",
113566
- "type": "Text",
113567
- "props": {
113568
- "text": "Why are you hiding this post?",
113569
- "style": "title3"
113570
- }
113571
- },
113572
- "modifiers": {
113573
- "padding": {
113574
- "bottom": 6
113575
- }
113576
- }
113577
- },
113578
- {
113579
- "id": "himi_blog_post.hide_offensive",
113580
- "body": {
113581
- "package": "himalaya",
113582
- "type": "HStack",
113583
- "props": {
113584
- "spacing": 14,
113585
- "children": [
113586
- {
113587
- "id": "",
113588
- "body": {
113589
- "package": "himalaya",
113590
- "type": "Icon",
115326
+ "type": "ZStack",
113591
115327
  "props": {
113592
- "name": "chevron_right",
113593
- "size": 22,
113594
- "tint": "textPrimary"
115328
+ "alignment": "center",
115329
+ "children": [
115330
+ {
115331
+ "id": "",
115332
+ "body": {
115333
+ "package": "himalaya",
115334
+ "type": "Icon",
115335
+ "props": {
115336
+ "name": "person",
115337
+ "size": 16,
115338
+ "tint": "accentPrimary"
115339
+ }
115340
+ },
115341
+ "modifiers": {
115342
+ "accessibilityRole": "decorative",
115343
+ "hiddenPath": "$service:himiBlogPost.isMember"
115344
+ }
115345
+ },
115346
+ {
115347
+ "id": "",
115348
+ "body": {
115349
+ "package": "himalaya",
115350
+ "type": "Text",
115351
+ "props": {
115352
+ "text": "$service:himiBlogPost.memberInitial",
115353
+ "style": "footnote",
115354
+ "color": "accentPrimary",
115355
+ "collapseWhenEmpty": true
115356
+ }
115357
+ }
115358
+ }
115359
+ ]
113595
115360
  }
113596
115361
  },
113597
115362
  "modifiers": {
113598
- "accessibilityRole": "decorative"
113599
- }
113600
- },
113601
- {
113602
- "id": "",
113603
- "body": {
113604
- "package": "himalaya",
113605
- "type": "Text",
113606
- "props": {
113607
- "text": "It is offensive",
113608
- "style": "body"
113609
- }
115363
+ "width": 32,
115364
+ "height": 32,
115365
+ "background": {
115366
+ "token": "accentSurface"
115367
+ },
115368
+ "cornerRadius": 16,
115369
+ "accessibilityRole": "decorative",
115370
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
113610
115371
  }
113611
115372
  },
113612
115373
  {
113613
- "id": "",
113614
- "body": {
113615
- "package": "himalaya",
113616
- "type": "Spacer",
113617
- "props": {}
113618
- }
113619
- }
113620
- ]
113621
- }
113622
- },
113623
- "modifiers": {
113624
- "onTap": {
113625
- "actionId": "tier5.himiBlogPost.hide",
113626
- "params": {
113627
- "reason": "offensive"
113628
- }
113629
- },
113630
- "accessibilityRole": "button",
113631
- "accessibilityLabel": "It is offensive",
113632
- "padding": {
113633
- "top": 11,
113634
- "bottom": 11
113635
- }
113636
- }
113637
- },
113638
- {
113639
- "id": "himi_blog_post.hide_misleading",
113640
- "body": {
113641
- "package": "himalaya",
113642
- "type": "HStack",
113643
- "props": {
113644
- "spacing": 14,
113645
- "children": [
113646
- {
113647
- "id": "",
115374
+ "id": "himi_blog_post.comment_input",
113648
115375
  "body": {
113649
115376
  "package": "himalaya",
113650
- "type": "Icon",
115377
+ "type": "TextField",
113651
115378
  "props": {
113652
- "name": "chevron_right",
113653
- "size": 22,
113654
- "tint": "textPrimary"
115379
+ "placeholder": "Write a comment",
115380
+ "valuePath": "$service:himiBlogPost.commentText",
115381
+ "multilineMaxLines": 4,
115382
+ "focusPath": "$service:himiBlogPost.composerFocus",
115383
+ "borderless": true,
115384
+ "autoCapitalization": "sentences",
115385
+ "onChange": {
115386
+ "actionId": "tier5.himiBlogPost.setComment"
115387
+ }
113655
115388
  }
113656
115389
  },
113657
115390
  "modifiers": {
113658
- "accessibilityRole": "decorative"
113659
- }
113660
- },
113661
- {
113662
- "id": "",
113663
- "body": {
113664
- "package": "himalaya",
113665
- "type": "Text",
113666
- "props": {
113667
- "text": "It is misleading",
113668
- "style": "body"
113669
- }
115391
+ "background": {
115392
+ "token": "surfaceSecondary"
115393
+ },
115394
+ "cornerRadius": 20,
115395
+ "padding": {
115396
+ "leading": 14,
115397
+ "trailing": 14,
115398
+ "top": 8,
115399
+ "bottom": 8
115400
+ },
115401
+ "weight": 1
113670
115402
  }
113671
115403
  },
113672
115404
  {
113673
- "id": "",
113674
- "body": {
113675
- "package": "himalaya",
113676
- "type": "Spacer",
113677
- "props": {}
113678
- }
113679
- }
113680
- ]
113681
- }
113682
- },
113683
- "modifiers": {
113684
- "onTap": {
113685
- "actionId": "tier5.himiBlogPost.hide",
113686
- "params": {
113687
- "reason": "misleading"
113688
- }
113689
- },
113690
- "accessibilityRole": "button",
113691
- "accessibilityLabel": "It is misleading",
113692
- "padding": {
113693
- "top": 11,
113694
- "bottom": 11
113695
- }
113696
- }
113697
- },
113698
- {
113699
- "id": "himi_blog_post.hide_other",
113700
- "body": {
113701
- "package": "himalaya",
113702
- "type": "HStack",
113703
- "props": {
113704
- "spacing": 14,
113705
- "children": [
113706
- {
113707
- "id": "",
115405
+ "id": "himi_blog_post.comment_submit",
113708
115406
  "body": {
113709
115407
  "package": "himalaya",
113710
- "type": "Icon",
115408
+ "type": "ZStack",
113711
115409
  "props": {
113712
- "name": "chevron_right",
113713
- "size": 22,
113714
- "tint": "textPrimary"
115410
+ "alignment": "center",
115411
+ "children": [
115412
+ {
115413
+ "id": "",
115414
+ "body": {
115415
+ "package": "himalaya",
115416
+ "type": "ZStack",
115417
+ "props": {
115418
+ "alignment": "center",
115419
+ "children": [
115420
+ {
115421
+ "id": "",
115422
+ "body": {
115423
+ "package": "himalaya",
115424
+ "type": "Icon",
115425
+ "props": {
115426
+ "name": "arrow_up",
115427
+ "size": 18,
115428
+ "tint": "textOnAccent"
115429
+ }
115430
+ },
115431
+ "modifiers": {
115432
+ "accessibilityRole": "decorative"
115433
+ }
115434
+ }
115435
+ ]
115436
+ }
115437
+ },
115438
+ "modifiers": {
115439
+ "width": 36,
115440
+ "height": 36,
115441
+ "cornerRadius": 18,
115442
+ "background": {
115443
+ "token": "accentPrimary"
115444
+ },
115445
+ "accessibilityRole": "decorative"
115446
+ }
115447
+ }
115448
+ ]
113715
115449
  }
113716
115450
  },
113717
115451
  "modifiers": {
113718
- "accessibilityRole": "decorative"
115452
+ "width": 44,
115453
+ "height": 44,
115454
+ "accessibilityRole": "button",
115455
+ "accessibilityLabel": "Send comment",
115456
+ "onTap": {
115457
+ "actionId": "tier5.himiBlogPost.submitComment"
115458
+ },
115459
+ "pressFeedback": "scale",
115460
+ "haptic": "light",
115461
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
113719
115462
  }
113720
115463
  },
113721
115464
  {
113722
- "id": "",
115465
+ "id": "himi_blog_post.comment_submit_off",
113723
115466
  "body": {
113724
115467
  "package": "himalaya",
113725
- "type": "Text",
115468
+ "type": "ZStack",
113726
115469
  "props": {
113727
- "text": "Something else",
113728
- "style": "body"
115470
+ "alignment": "center",
115471
+ "children": [
115472
+ {
115473
+ "id": "",
115474
+ "body": {
115475
+ "package": "himalaya",
115476
+ "type": "ZStack",
115477
+ "props": {
115478
+ "alignment": "center",
115479
+ "children": [
115480
+ {
115481
+ "id": "",
115482
+ "body": {
115483
+ "package": "himalaya",
115484
+ "type": "Icon",
115485
+ "props": {
115486
+ "name": "arrow_up",
115487
+ "size": 18,
115488
+ "tint": "textTertiary"
115489
+ }
115490
+ },
115491
+ "modifiers": {
115492
+ "accessibilityRole": "decorative"
115493
+ }
115494
+ }
115495
+ ]
115496
+ }
115497
+ },
115498
+ "modifiers": {
115499
+ "width": 36,
115500
+ "height": 36,
115501
+ "cornerRadius": 18,
115502
+ "background": {
115503
+ "token": "surfaceSecondary"
115504
+ },
115505
+ "accessibilityRole": "decorative"
115506
+ }
115507
+ }
115508
+ ]
113729
115509
  }
113730
- }
113731
- },
113732
- {
113733
- "id": "",
113734
- "body": {
113735
- "package": "himalaya",
113736
- "type": "Spacer",
113737
- "props": {}
115510
+ },
115511
+ "modifiers": {
115512
+ "width": 44,
115513
+ "height": 44,
115514
+ "accessibilityRole": "button",
115515
+ "accessibilityLabel": "Send comment",
115516
+ "hiddenPath": "$service:himiBlogPost.canSend"
113738
115517
  }
113739
115518
  }
113740
115519
  ]
113741
115520
  }
113742
- },
113743
- "modifiers": {
113744
- "onTap": {
113745
- "actionId": "tier5.himiBlogPost.hide",
113746
- "params": {
113747
- "reason": "other"
113748
- }
113749
- },
113750
- "accessibilityRole": "button",
113751
- "accessibilityLabel": "Something else",
113752
- "padding": {
113753
- "top": 11,
113754
- "bottom": 11
113755
- }
113756
115521
  }
113757
115522
  },
113758
115523
  {
113759
- "id": "himi_blog_post.hide_cancel",
115524
+ "id": "himi_blog_post.comment_error",
113760
115525
  "body": {
113761
115526
  "package": "himalaya",
113762
- "type": "Button",
115527
+ "type": "Text",
113763
115528
  "props": {
113764
- "title": "Cancel",
113765
- "style": "secondary",
113766
- "fullWidth": true,
113767
- "action": {
113768
- "actionId": "tier5.himiBlogPost.closeHide"
113769
- }
115529
+ "text": "$service:himiBlogPost.sendError",
115530
+ "style": "footnote",
115531
+ "color": "danger"
113770
115532
  }
113771
115533
  },
113772
115534
  "modifiers": {
113773
- "padding": {
113774
- "top": 8
113775
- }
115535
+ "hiddenPath": "$service:himiBlogPost.noSendError"
113776
115536
  }
113777
115537
  }
113778
115538
  ]
113779
115539
  }
113780
115540
  },
113781
115541
  "modifiers": {
113782
- "padding": {
113783
- "leading": 20,
113784
- "trailing": 20,
113785
- "top": 12,
113786
- "bottom": 8
113787
- }
115542
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
113788
115543
  }
113789
115544
  }
113790
115545
  }
@@ -113841,7 +115596,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
113841
115596
  "share",
113842
115597
  "local_database",
113843
115598
  "open_url",
113844
- "ui"
115599
+ "ui",
115600
+ "keyboard"
113845
115601
  ],
113846
115602
  "minBinaryVersion": "0.1.0",
113847
115603
  "bundleVersion": "0.0.1"