@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
@@ -26982,7 +26982,7 @@ const SCREENS = runtimeSetting({
26982
26982
  "alignment": "leading",
26983
26983
  "children": [
26984
26984
  {
26985
- "id": "",
26985
+ "id": "himi_blog.heading",
26986
26986
  "body": {
26987
26987
  "package": "himalaya",
26988
26988
  "type": "VStack",
@@ -27012,8 +27012,7 @@ const SCREENS = runtimeSetting({
27012
27012
  "props": {
27013
27013
  "text": "Selected projects and process notes from the studio.",
27014
27014
  "style": "body",
27015
- "color": "textSecondary",
27016
- "collapseWhenEmpty": true
27015
+ "color": "textSecondary"
27017
27016
  }
27018
27017
  }
27019
27018
  }
@@ -27094,6 +27093,7 @@ const SCREENS = runtimeSetting({
27094
27093
  "type": "HStack",
27095
27094
  "props": {
27096
27095
  "spacing": 10,
27096
+ "alignment": "center",
27097
27097
  "children": [
27098
27098
  {
27099
27099
  "id": "",
@@ -27331,6 +27331,7 @@ const SCREENS = runtimeSetting({
27331
27331
  "type": "HStack",
27332
27332
  "props": {
27333
27333
  "spacing": 14,
27334
+ "alignment": "center",
27334
27335
  "children": [
27335
27336
  {
27336
27337
  "id": "",
@@ -27470,6 +27471,7 @@ const SCREENS = runtimeSetting({
27470
27471
  "type": "HStack",
27471
27472
  "props": {
27472
27473
  "spacing": 4,
27474
+ "alignment": "center",
27473
27475
  "children": [
27474
27476
  {
27475
27477
  "id": "",
@@ -27524,6 +27526,7 @@ const SCREENS = runtimeSetting({
27524
27526
  "type": "HStack",
27525
27527
  "props": {
27526
27528
  "spacing": 12,
27529
+ "alignment": "center",
27527
27530
  "children": [
27528
27531
  {
27529
27532
  "id": "himi_blog.post_author.photo",
@@ -27964,71 +27967,56 @@ const SCREENS = runtimeSetting({
27964
27967
  }
27965
27968
  },
27966
27969
  {
27967
- "id": "",
27970
+ "id": "himi_blog.empty",
27968
27971
  "body": {
27969
27972
  "package": "himalaya",
27970
- "type": "VStack",
27973
+ "type": "EmptyState",
27971
27974
  "props": {
27972
- "spacing": 12,
27973
- "alignment": "center",
27974
- "children": [
27975
- {
27976
- "id": "",
27977
- "body": {
27978
- "package": "himalaya",
27979
- "type": "Icon",
27980
- "props": {
27981
- "name": "newspaper",
27982
- "size": 34,
27983
- "tint": "textTertiary"
27984
- }
27985
- },
27986
- "modifiers": {
27987
- "accessibilityRole": "decorative"
27988
- }
27989
- },
27990
- {
27991
- "id": "",
27992
- "body": {
27993
- "package": "himalaya",
27994
- "type": "Text",
27995
- "props": {
27996
- "text": "$service:himiBlogFeed.emptyText",
27997
- "style": "bodyEmphasis",
27998
- "color": "textSecondary",
27999
- "collapseWhenEmpty": true
28000
- }
28001
- }
28002
- },
28003
- {
28004
- "id": "himi_blog.empty.cta",
28005
- "body": {
28006
- "package": "himalaya",
28007
- "type": "Button",
28008
- "props": {
28009
- "title": "Clear filters",
28010
- "style": "secondary",
28011
- "action": {
28012
- "actionId": "tier5.himiBlogFeed.clearFilters"
28013
- }
28014
- }
28015
- }
28016
- }
28017
- ]
27975
+ "title": "$service:himiBlogFeed.emptyText",
27976
+ "subtitle": "Try a different word or category.",
27977
+ "icon": "search",
27978
+ "actionLabel": "Clear filters",
27979
+ "action": {
27980
+ "actionId": "tier5.himiBlogFeed.clearFilters"
27981
+ }
28018
27982
  }
28019
27983
  },
28020
27984
  "modifiers": {
28021
27985
  "padding": {
28022
27986
  "leading": 24,
28023
27987
  "trailing": 24,
28024
- "top": 24,
27988
+ "top": 48,
27989
+ "bottom": 24
27990
+ },
27991
+ "transition": {
27992
+ "enter": "fade",
27993
+ "exit": "fade"
27994
+ },
27995
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
27996
+ }
27997
+ },
27998
+ {
27999
+ "id": "himi_blog.empty_none",
28000
+ "body": {
28001
+ "package": "himalaya",
28002
+ "type": "EmptyState",
28003
+ "props": {
28004
+ "title": "$service:himiBlogFeed.emptyText",
28005
+ "icon": "document"
28006
+ }
28007
+ },
28008
+ "modifiers": {
28009
+ "padding": {
28010
+ "leading": 24,
28011
+ "trailing": 24,
28012
+ "top": 48,
28025
28013
  "bottom": 24
28026
28014
  },
28027
28015
  "transition": {
28028
28016
  "enter": "fade",
28029
28017
  "exit": "fade"
28030
28018
  },
28031
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
28019
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
28032
28020
  }
28033
28021
  }
28034
28022
  ]
@@ -28060,21 +28048,6 @@ const SCREENS = runtimeSetting({
28060
28048
  ],
28061
28049
  "minBinaryVersion": "0.1.0",
28062
28050
  "bundleVersion": "0.0.1"
28063
- },
28064
- "topBar": {
28065
- "actions": [
28066
- {
28067
- "id": "account",
28068
- "icon": "person",
28069
- "accessibilityLabel": "Account",
28070
- "onTap": {
28071
- "actionId": "himi.open",
28072
- "params": {
28073
- "screenId": "himi_account"
28074
- }
28075
- }
28076
- }
28077
- ]
28078
28051
  }
28079
28052
  },
28080
28053
  "himi_saved": {
@@ -28155,6 +28128,7 @@ const SCREENS = runtimeSetting({
28155
28128
  "type": "HStack",
28156
28129
  "props": {
28157
28130
  "spacing": 10,
28131
+ "alignment": "center",
28158
28132
  "children": [
28159
28133
  {
28160
28134
  "id": "",
@@ -28560,73 +28534,21 @@ const SCREENS = runtimeSetting({
28560
28534
  }
28561
28535
  },
28562
28536
  {
28563
- "id": "",
28537
+ "id": "himi_saved.empty",
28564
28538
  "body": {
28565
28539
  "package": "himalaya",
28566
- "type": "VStack",
28540
+ "type": "EmptyState",
28567
28541
  "props": {
28568
- "spacing": 12,
28569
- "alignment": "center",
28570
- "children": [
28571
- {
28572
- "id": "",
28573
- "body": {
28574
- "package": "himalaya",
28575
- "type": "Icon",
28576
- "props": {
28577
- "name": "bookmark",
28578
- "size": 34,
28579
- "tint": "textTertiary"
28580
- }
28581
- },
28582
- "modifiers": {
28583
- "accessibilityRole": "decorative"
28584
- }
28585
- },
28586
- {
28587
- "id": "",
28588
- "body": {
28589
- "package": "himalaya",
28590
- "type": "Text",
28591
- "props": {
28592
- "text": "$service:himiBlogSaved.emptyText",
28593
- "style": "bodyEmphasis",
28594
- "color": "textSecondary",
28595
- "collapseWhenEmpty": true
28596
- }
28597
- }
28598
- },
28599
- {
28600
- "id": "",
28601
- "body": {
28602
- "package": "himalaya",
28603
- "type": "Text",
28604
- "props": {
28605
- "text": "Tap the bookmark on a post to read it later.",
28606
- "style": "footnote",
28607
- "color": "textTertiary",
28608
- "maxLines": 2
28609
- }
28610
- }
28611
- },
28612
- {
28613
- "id": "himi_saved.empty.cta",
28614
- "body": {
28615
- "package": "himalaya",
28616
- "type": "Button",
28617
- "props": {
28618
- "title": "Browse Blog",
28619
- "style": "secondary",
28620
- "action": {
28621
- "actionId": "himi.open",
28622
- "params": {
28623
- "screenId": "himi_blog"
28624
- }
28625
- }
28626
- }
28627
- }
28542
+ "title": "$service:himiBlogSaved.emptyText",
28543
+ "subtitle": "Tap the bookmark on a post to read it later.",
28544
+ "icon": "bookmark",
28545
+ "actionLabel": "Browse Blog",
28546
+ "action": {
28547
+ "actionId": "himi.open",
28548
+ "params": {
28549
+ "screenId": "himi_blog"
28628
28550
  }
28629
- ]
28551
+ }
28630
28552
  }
28631
28553
  },
28632
28554
  "modifiers": {
@@ -35016,6 +34938,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35016
34938
  "type": "HStack",
35017
34939
  "props": {
35018
34940
  "spacing": 10,
34941
+ "alignment": "center",
35019
34942
  "children": [
35020
34943
  {
35021
34944
  "id": "",
@@ -35375,6 +35298,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
35375
35298
  "type": "HStack",
35376
35299
  "props": {
35377
35300
  "spacing": 12,
35301
+ "alignment": "center",
35378
35302
  "children": [
35379
35303
  {
35380
35304
  "id": "himi_blog_post.author.photo",
@@ -36123,41 +36047,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36123
36047
  "accessibilityRole": "decorative"
36124
36048
  }
36125
36049
  },
36126
- {
36127
- "id": "",
36128
- "body": {
36129
- "package": "himalaya",
36130
- "type": "VStack",
36131
- "props": {
36132
- "spacing": 0,
36133
- "alignment": "leading",
36134
- "children": [
36135
- {
36136
- "id": "himi_blog_post.comments_title",
36137
- "body": {
36138
- "package": "himalaya",
36139
- "type": "Text",
36140
- "props": {
36141
- "text": "$service:himiBlogPost.commentsTitle",
36142
- "style": "title3"
36143
- }
36144
- },
36145
- "modifiers": {
36146
- "accessibilityRole": "heading"
36147
- }
36148
- }
36149
- ]
36150
- }
36151
- },
36152
- "modifiers": {
36153
- "padding": {
36154
- "leading": 20,
36155
- "trailing": 20,
36156
- "top": 20,
36157
- "bottom": 4
36158
- }
36159
- }
36160
- },
36161
36050
  {
36162
36051
  "id": "",
36163
36052
  "body": {
@@ -36169,46 +36058,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36169
36058
  "children": [
36170
36059
  {
36171
36060
  "id": "",
36172
- "body": {
36173
- "package": "himalaya",
36174
- "type": "Text",
36175
- "props": {
36176
- "text": "$service:himiBlogPost.commentStatusText",
36177
- "style": "footnote",
36178
- "color": "textSecondary"
36179
- }
36180
- }
36181
- }
36182
- ]
36183
- }
36184
- },
36185
- "modifiers": {
36186
- "padding": {
36187
- "leading": 20,
36188
- "trailing": 20,
36189
- "top": 6,
36190
- "bottom": 6
36191
- },
36192
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
36193
- }
36194
- },
36195
- {
36196
- "id": "himi_blog_post.comments",
36197
- "body": {
36198
- "package": "himalaya",
36199
- "type": "Grid",
36200
- "props": {
36201
- "columns": 1,
36202
- "spacing": 0,
36203
- "itemsPath": "$service:himiBlogPost.comments",
36204
- "items": [
36205
- {
36206
- "id": "himi_blog_post.comment_row",
36207
36061
  "body": {
36208
36062
  "package": "himalaya",
36209
36063
  "type": "VStack",
36210
36064
  "props": {
36211
- "spacing": 6,
36065
+ "spacing": 14,
36212
36066
  "alignment": "leading",
36213
36067
  "children": [
36214
36068
  {
@@ -36217,73 +36071,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36217
36071
  "package": "himalaya",
36218
36072
  "type": "HStack",
36219
36073
  "props": {
36220
- "spacing": 10,
36074
+ "spacing": 8,
36075
+ "alignment": "center",
36221
36076
  "children": [
36222
36077
  {
36223
- "id": "",
36078
+ "id": "himi_blog_post.comments_title",
36224
36079
  "body": {
36225
36080
  "package": "himalaya",
36226
- "type": "ZStack",
36081
+ "type": "Text",
36227
36082
  "props": {
36228
- "alignment": "center",
36229
- "children": [
36230
- {
36231
- "id": "",
36232
- "body": {
36233
- "package": "himalaya",
36234
- "type": "Text",
36235
- "props": {
36236
- "text": "$item.authorInitial",
36237
- "style": "footnote",
36238
- "color": "accentPrimary"
36239
- }
36240
- }
36241
- }
36242
- ]
36083
+ "text": "$service:himiBlogPost.commentsTitle",
36084
+ "style": "title3"
36243
36085
  }
36244
36086
  },
36245
36087
  "modifiers": {
36246
- "width": 32,
36247
- "height": 32,
36248
- "background": {
36249
- "token": "accentSurface"
36250
- },
36251
- "cornerRadius": 16,
36252
- "accessibilityRole": "decorative"
36088
+ "accessibilityRole": "heading"
36253
36089
  }
36254
36090
  },
36255
36091
  {
36256
36092
  "id": "",
36257
36093
  "body": {
36258
36094
  "package": "himalaya",
36259
- "type": "Text",
36260
- "props": {
36261
- "text": "$item.authorName",
36262
- "style": "bodyEmphasis",
36263
- "maxLines": 1
36264
- }
36095
+ "type": "Spacer",
36096
+ "props": {}
36265
36097
  }
36266
36098
  },
36267
36099
  {
36268
- "id": "",
36100
+ "id": "himi_blog_post.comments_show_all",
36269
36101
  "body": {
36270
36102
  "package": "himalaya",
36271
36103
  "type": "Text",
36272
36104
  "props": {
36273
- "text": "$item.meta",
36274
- "style": "caption",
36275
- "color": "textTertiary",
36276
- "maxLines": 1,
36277
- "collapseWhenEmpty": true
36105
+ "text": "$service:himiBlogPost.showAllLabel",
36106
+ "style": "footnote",
36107
+ "color": "accentPrimary",
36108
+ "maxLines": 1
36278
36109
  }
36279
- }
36280
- },
36281
- {
36282
- "id": "",
36283
- "body": {
36284
- "package": "himalaya",
36285
- "type": "Spacer",
36286
- "props": {}
36110
+ },
36111
+ "modifiers": {
36112
+ "onTap": {
36113
+ "actionId": "tier5.himiBlogPost.openComments"
36114
+ },
36115
+ "accessibilityRole": "button",
36116
+ "padding": {
36117
+ "top": 6,
36118
+ "bottom": 6,
36119
+ "leading": 6
36120
+ },
36121
+ "hiddenPath": "$service:himiBlogPost.noComments"
36287
36122
  }
36288
36123
  }
36289
36124
  ]
@@ -36292,408 +36127,707 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36292
36127
  },
36293
36128
  {
36294
36129
  "id": "",
36130
+ "body": {
36131
+ "package": "himalaya",
36132
+ "type": "Text",
36133
+ "props": {
36134
+ "text": "$service:himiBlogPost.commentStatusText",
36135
+ "style": "footnote",
36136
+ "color": "textSecondary"
36137
+ }
36138
+ },
36139
+ "modifiers": {
36140
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
36141
+ }
36142
+ },
36143
+ {
36144
+ "id": "himi_blog_post.comments_empty",
36295
36145
  "body": {
36296
36146
  "package": "himalaya",
36297
36147
  "type": "VStack",
36298
36148
  "props": {
36299
- "spacing": 0,
36149
+ "spacing": 4,
36300
36150
  "alignment": "leading",
36301
36151
  "children": [
36302
36152
  {
36303
- "id": "comment_body_$item.id",
36153
+ "id": "",
36304
36154
  "body": {
36305
36155
  "package": "himalaya",
36306
- "type": "RichContent",
36156
+ "type": "Text",
36307
36157
  "props": {
36308
- "documentJsonPath": "$item.bodyJson",
36309
- "onLink": {
36310
- "actionId": "tier5.himiBlogPost.openLink"
36311
- },
36312
- "fallback": {
36313
- "id": "",
36314
- "body": {
36315
- "package": "himalaya",
36316
- "type": "Text",
36317
- "props": {
36318
- "text": "$item.text",
36319
- "style": "body",
36320
- "collapseWhenEmpty": true
36321
- }
36322
- }
36323
- }
36158
+ "text": "No comments yet",
36159
+ "style": "bodyEmphasis"
36324
36160
  }
36325
36161
  }
36326
36162
  },
36327
36163
  {
36328
- "id": "comment_body_text_$item.id",
36164
+ "id": "",
36329
36165
  "body": {
36330
36166
  "package": "himalaya",
36331
36167
  "type": "Text",
36332
36168
  "props": {
36333
- "text": "$item.text",
36334
- "style": "body",
36335
- "collapseWhenEmpty": true
36169
+ "text": "Be the first to share your thoughts.",
36170
+ "style": "footnote",
36171
+ "color": "textSecondary"
36336
36172
  }
36337
- },
36338
- "modifiers": {
36339
- "hiddenPath": "$item.hasBodyJson"
36340
36173
  }
36341
36174
  }
36342
36175
  ]
36343
36176
  }
36344
36177
  },
36345
36178
  "modifiers": {
36346
- "padding": {
36347
- "leading": 42
36348
- }
36349
- }
36350
- },
36351
- {
36352
- "id": "",
36353
- "body": {
36354
- "package": "himalaya",
36355
- "type": "Divider",
36356
- "props": {}
36357
- },
36358
- "modifiers": {
36359
- "padding": {
36360
- "top": 10
36361
- }
36362
- }
36363
- }
36364
- ]
36365
- }
36366
- },
36367
- "modifiers": {
36368
- "padding": {
36369
- "leading": 20,
36370
- "trailing": 20,
36371
- "top": 12
36372
- }
36373
- }
36374
- }
36375
- ]
36376
- }
36377
- }
36378
- },
36379
- {
36380
- "id": "",
36381
- "body": {
36382
- "package": "himalaya",
36383
- "type": "VStack",
36384
- "props": {
36385
- "spacing": 0,
36386
- "alignment": "leading",
36387
- "children": [
36388
- {
36389
- "id": "himi_blog_post.comment_composer",
36390
- "body": {
36391
- "package": "himalaya",
36392
- "type": "VStack",
36393
- "props": {
36394
- "spacing": 10,
36395
- "alignment": "leading",
36396
- "children": [
36397
- {
36398
- "id": "himi_blog_post.comment_input",
36399
- "body": {
36400
- "package": "himalaya",
36401
- "type": "TextField",
36402
- "props": {
36403
- "placeholder": "Write a comment",
36404
- "valuePath": "$service:himiBlogPost.commentText",
36405
- "multilineMaxLines": 4,
36406
- "onChange": {
36407
- "actionId": "tier5.himiBlogPost.setComment"
36408
- }
36409
- }
36410
- }
36411
- },
36412
- {
36413
- "id": "himi_blog_post.comment_submit",
36414
- "body": {
36415
- "package": "himalaya",
36416
- "type": "Button",
36417
- "props": {
36418
- "title": "Post comment",
36419
- "style": "primary",
36420
- "fullWidth": false,
36421
- "action": {
36422
- "actionId": "tier5.himiBlogPost.submitComment"
36423
- }
36424
- }
36425
- }
36426
- }
36427
- ]
36428
- }
36429
- }
36430
- }
36431
- ]
36432
- }
36433
- },
36434
- "modifiers": {
36435
- "padding": {
36436
- "leading": 20,
36437
- "trailing": 20,
36438
- "top": 12,
36439
- "bottom": 16
36440
- },
36441
- "hiddenPath": "$service:himiBlogPost.commentsOff"
36442
- }
36443
- }
36444
- ]
36445
- }
36446
- }
36447
- },
36448
- {
36449
- "id": "himi_blog_post.recent_section",
36450
- "body": {
36451
- "package": "himalaya",
36452
- "type": "VStack",
36453
- "props": {
36454
- "spacing": 0,
36455
- "alignment": "leading",
36456
- "children": [
36457
- {
36458
- "id": "himi_blog_post.recent_band",
36459
- "body": {
36460
- "package": "himalaya",
36461
- "type": "VStack",
36462
- "props": {
36463
- "spacing": 0,
36464
- "children": []
36465
- }
36466
- },
36467
- "modifiers": {
36468
- "height": 12,
36469
- "fillMaxWidth": true,
36470
- "background": {
36471
- "token": "surfaceSecondary"
36472
- },
36473
- "accessibilityRole": "decorative"
36474
- }
36475
- },
36476
- {
36477
- "id": "",
36478
- "body": {
36479
- "package": "himalaya",
36480
- "type": "VStack",
36481
- "props": {
36482
- "spacing": 0,
36483
- "alignment": "leading",
36484
- "children": [
36485
- {
36486
- "id": "",
36487
- "body": {
36488
- "package": "himalaya",
36489
- "type": "Text",
36490
- "props": {
36491
- "text": "Recent posts",
36492
- "style": "title3"
36493
- }
36494
- },
36495
- "modifiers": {
36496
- "accessibilityRole": "heading"
36497
- }
36498
- }
36499
- ]
36500
- }
36501
- },
36502
- "modifiers": {
36503
- "padding": {
36504
- "leading": 20,
36505
- "trailing": 20,
36506
- "top": 20,
36507
- "bottom": 4
36508
- }
36509
- }
36510
- },
36511
- {
36512
- "id": "himi_blog_post.recent",
36513
- "body": {
36514
- "package": "himalaya",
36515
- "type": "Grid",
36516
- "props": {
36517
- "columns": 1,
36518
- "spacing": 0,
36519
- "itemsPath": "$service:himiBlogPost.recent",
36520
- "items": [
36521
- {
36522
- "id": "himi_blog_post.recent_row",
36523
- "body": {
36524
- "package": "himalaya",
36525
- "type": "HStack",
36526
- "props": {
36527
- "spacing": 12,
36528
- "children": [
36529
- {
36530
- "id": "himi_blog_post.recent_cover",
36531
- "body": {
36532
- "package": "himalaya",
36533
- "type": "Image",
36534
- "props": {
36535
- "url": "$item.cover",
36536
- "width": 72,
36537
- "height": 72,
36538
- "contentMode": "fill"
36539
- }
36540
- },
36541
- "modifiers": {
36542
- "accessibilityRole": "decorative",
36543
- "cornerRadius": 8,
36544
- "hiddenPath": "$item.noCover"
36179
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
36545
36180
  }
36546
36181
  },
36547
36182
  {
36548
- "id": "",
36183
+ "id": "himi_blog_post.comments",
36549
36184
  "body": {
36550
36185
  "package": "himalaya",
36551
- "type": "ZStack",
36186
+ "type": "Grid",
36552
36187
  "props": {
36553
- "alignment": "center",
36554
- "children": [
36188
+ "columns": 1,
36189
+ "spacing": 16,
36190
+ "itemsPath": "$service:himiBlogPost.latestComments",
36191
+ "items": [
36555
36192
  {
36556
- "id": "",
36193
+ "id": "himi_blog_post.comment_row",
36557
36194
  "body": {
36558
36195
  "package": "himalaya",
36559
- "type": "Icon",
36196
+ "type": "HStack",
36560
36197
  "props": {
36561
- "name": "newspaper",
36562
- "size": 22,
36563
- "tint": "textTertiary"
36564
- }
36198
+ "spacing": 10,
36199
+ "alignment": "leading",
36200
+ "children": [
36201
+ {
36202
+ "id": "himi_blog_post.comment_avatar.photo",
36203
+ "body": {
36204
+ "package": "himalaya",
36205
+ "type": "Image",
36206
+ "props": {
36207
+ "url": "$item.authorPhoto",
36208
+ "width": 32,
36209
+ "height": 32,
36210
+ "contentMode": "fill",
36211
+ "shape": "circle"
36212
+ }
36213
+ },
36214
+ "modifiers": {
36215
+ "accessibilityRole": "decorative",
36216
+ "hiddenPath": "$item.noAuthorPhoto"
36217
+ }
36218
+ },
36219
+ {
36220
+ "id": "",
36221
+ "body": {
36222
+ "package": "himalaya",
36223
+ "type": "ZStack",
36224
+ "props": {
36225
+ "alignment": "center",
36226
+ "children": [
36227
+ {
36228
+ "id": "",
36229
+ "body": {
36230
+ "package": "himalaya",
36231
+ "type": "Text",
36232
+ "props": {
36233
+ "text": "$item.authorInitial",
36234
+ "style": "footnote",
36235
+ "color": "accentPrimary",
36236
+ "collapseWhenEmpty": true
36237
+ }
36238
+ }
36239
+ }
36240
+ ]
36241
+ }
36242
+ },
36243
+ "modifiers": {
36244
+ "width": 32,
36245
+ "height": 32,
36246
+ "background": {
36247
+ "token": "accentSurface"
36248
+ },
36249
+ "cornerRadius": 16,
36250
+ "accessibilityRole": "decorative",
36251
+ "hiddenPath": "$item.hasAuthorPhoto"
36252
+ }
36253
+ },
36254
+ {
36255
+ "id": "",
36256
+ "body": {
36257
+ "package": "himalaya",
36258
+ "type": "VStack",
36259
+ "props": {
36260
+ "spacing": 4,
36261
+ "alignment": "leading",
36262
+ "children": [
36263
+ {
36264
+ "id": "",
36265
+ "body": {
36266
+ "package": "himalaya",
36267
+ "type": "HStack",
36268
+ "props": {
36269
+ "spacing": 6,
36270
+ "alignment": "center",
36271
+ "children": [
36272
+ {
36273
+ "id": "",
36274
+ "body": {
36275
+ "package": "himalaya",
36276
+ "type": "Text",
36277
+ "props": {
36278
+ "text": "$item.authorName",
36279
+ "style": "footnote",
36280
+ "maxLines": 1
36281
+ }
36282
+ }
36283
+ },
36284
+ {
36285
+ "id": "",
36286
+ "body": {
36287
+ "package": "himalaya",
36288
+ "type": "Text",
36289
+ "props": {
36290
+ "text": "$item.meta",
36291
+ "style": "caption",
36292
+ "color": "textTertiary",
36293
+ "maxLines": 1,
36294
+ "collapseWhenEmpty": true
36295
+ }
36296
+ }
36297
+ },
36298
+ {
36299
+ "id": "",
36300
+ "body": {
36301
+ "package": "himalaya",
36302
+ "type": "Spacer",
36303
+ "props": {}
36304
+ }
36305
+ },
36306
+ {
36307
+ "id": "",
36308
+ "body": {
36309
+ "package": "himalaya",
36310
+ "type": "HStack",
36311
+ "props": {
36312
+ "spacing": 0,
36313
+ "alignment": "center",
36314
+ "children": [
36315
+ {
36316
+ "id": "himi_blog_post.comment_menu",
36317
+ "body": {
36318
+ "package": "himalaya",
36319
+ "type": "Menu",
36320
+ "props": {
36321
+ "anchor": {
36322
+ "id": "",
36323
+ "body": {
36324
+ "package": "himalaya",
36325
+ "type": "Icon",
36326
+ "props": {
36327
+ "name": "more_vertical",
36328
+ "size": 18,
36329
+ "tint": "textSecondary"
36330
+ }
36331
+ },
36332
+ "modifiers": {
36333
+ "accessibilityRole": "button",
36334
+ "accessibilityLabel": "Comment actions",
36335
+ "padding": {
36336
+ "leading": 13,
36337
+ "trailing": 13,
36338
+ "top": 4,
36339
+ "bottom": 4
36340
+ }
36341
+ }
36342
+ },
36343
+ "style": "dropdown",
36344
+ "items": [
36345
+ {
36346
+ "id": "report",
36347
+ "label": "Report",
36348
+ "icon": "warning",
36349
+ "action": {
36350
+ "actionId": "tier5.himiBlogPost.reportComment",
36351
+ "params": {
36352
+ "id": "$item.id"
36353
+ }
36354
+ }
36355
+ }
36356
+ ]
36357
+ }
36358
+ }
36359
+ }
36360
+ ]
36361
+ }
36362
+ },
36363
+ "modifiers": {
36364
+ "hiddenPath": "$item.noReport"
36365
+ }
36366
+ }
36367
+ ]
36368
+ }
36369
+ }
36370
+ },
36371
+ {
36372
+ "id": "comment_preview_$item.id",
36373
+ "body": {
36374
+ "package": "himalaya",
36375
+ "type": "Text",
36376
+ "props": {
36377
+ "text": "$item.preview",
36378
+ "style": "body",
36379
+ "maxLines": 2
36380
+ }
36381
+ }
36382
+ },
36383
+ {
36384
+ "id": "",
36385
+ "body": {
36386
+ "package": "himalaya",
36387
+ "type": "HStack",
36388
+ "props": {
36389
+ "spacing": 12,
36390
+ "alignment": "center",
36391
+ "children": [
36392
+ {
36393
+ "id": "",
36394
+ "body": {
36395
+ "package": "himalaya",
36396
+ "type": "HStack",
36397
+ "props": {
36398
+ "spacing": 0,
36399
+ "alignment": "center",
36400
+ "children": [
36401
+ {
36402
+ "id": "himi_blog_post.comment_like",
36403
+ "body": {
36404
+ "package": "himalaya",
36405
+ "type": "HStack",
36406
+ "props": {
36407
+ "spacing": 4,
36408
+ "alignment": "center",
36409
+ "children": [
36410
+ {
36411
+ "id": "",
36412
+ "body": {
36413
+ "package": "himalaya",
36414
+ "type": "Icon",
36415
+ "props": {
36416
+ "name": "heart",
36417
+ "size": 14,
36418
+ "tint": "textSecondary"
36419
+ }
36420
+ },
36421
+ "modifiers": {
36422
+ "accessibilityRole": "decorative"
36423
+ }
36424
+ },
36425
+ {
36426
+ "id": "",
36427
+ "body": {
36428
+ "package": "himalaya",
36429
+ "type": "Text",
36430
+ "props": {
36431
+ "text": "$item.likes",
36432
+ "style": "caption",
36433
+ "color": "textSecondary",
36434
+ "monospacedDigits": true
36435
+ }
36436
+ }
36437
+ }
36438
+ ]
36439
+ }
36440
+ },
36441
+ "modifiers": {
36442
+ "border": {
36443
+ "width": 1,
36444
+ "color": {
36445
+ "token": "border"
36446
+ }
36447
+ },
36448
+ "cornerRadius": 999,
36449
+ "padding": {
36450
+ "leading": 10,
36451
+ "trailing": 10,
36452
+ "top": 4,
36453
+ "bottom": 4
36454
+ },
36455
+ "onTap": {
36456
+ "actionId": "tier5.himiBlogPost.likeComment",
36457
+ "params": {
36458
+ "id": "$item.id"
36459
+ }
36460
+ },
36461
+ "pressFeedback": "scale",
36462
+ "haptic": "light",
36463
+ "accessibilityRole": "button",
36464
+ "accessibilityLabel": "Like",
36465
+ "hiddenPath": "$item.liked"
36466
+ }
36467
+ },
36468
+ {
36469
+ "id": "himi_blog_post.comment_unlike",
36470
+ "body": {
36471
+ "package": "himalaya",
36472
+ "type": "HStack",
36473
+ "props": {
36474
+ "spacing": 4,
36475
+ "alignment": "center",
36476
+ "children": [
36477
+ {
36478
+ "id": "",
36479
+ "body": {
36480
+ "package": "himalaya",
36481
+ "type": "Icon",
36482
+ "props": {
36483
+ "name": "heart_fill",
36484
+ "size": 14,
36485
+ "tint": "danger"
36486
+ }
36487
+ },
36488
+ "modifiers": {
36489
+ "accessibilityRole": "decorative"
36490
+ }
36491
+ },
36492
+ {
36493
+ "id": "",
36494
+ "body": {
36495
+ "package": "himalaya",
36496
+ "type": "Text",
36497
+ "props": {
36498
+ "text": "$item.likes",
36499
+ "style": "caption",
36500
+ "color": "danger",
36501
+ "monospacedDigits": true
36502
+ }
36503
+ }
36504
+ }
36505
+ ]
36506
+ }
36507
+ },
36508
+ "modifiers": {
36509
+ "background": {
36510
+ "token": "dangerSurface"
36511
+ },
36512
+ "cornerRadius": 999,
36513
+ "padding": {
36514
+ "leading": 10,
36515
+ "trailing": 10,
36516
+ "top": 4,
36517
+ "bottom": 4
36518
+ },
36519
+ "onTap": {
36520
+ "actionId": "tier5.himiBlogPost.unlikeComment",
36521
+ "params": {
36522
+ "id": "$item.id"
36523
+ }
36524
+ },
36525
+ "pressFeedback": "scale",
36526
+ "haptic": "light",
36527
+ "accessibilityRole": "button",
36528
+ "accessibilityLabel": "Unlike",
36529
+ "hiddenPath": "$item.notLiked"
36530
+ }
36531
+ }
36532
+ ]
36533
+ }
36534
+ },
36535
+ "modifiers": {
36536
+ "hiddenPath": "$item.noLikes"
36537
+ }
36538
+ },
36539
+ {
36540
+ "id": "",
36541
+ "body": {
36542
+ "package": "himalaya",
36543
+ "type": "HStack",
36544
+ "props": {
36545
+ "spacing": 0,
36546
+ "alignment": "center",
36547
+ "children": [
36548
+ {
36549
+ "id": "himi_blog_post.comment_reply",
36550
+ "body": {
36551
+ "package": "himalaya",
36552
+ "type": "Text",
36553
+ "props": {
36554
+ "text": "Reply",
36555
+ "style": "caption",
36556
+ "color": "textSecondary"
36557
+ }
36558
+ },
36559
+ "modifiers": {
36560
+ "onTap": {
36561
+ "actionId": "tier5.himiBlogPost.replyTo",
36562
+ "params": {
36563
+ "id": "$item.id"
36564
+ }
36565
+ },
36566
+ "accessibilityRole": "button",
36567
+ "padding": {
36568
+ "top": 4,
36569
+ "bottom": 4,
36570
+ "leading": 4,
36571
+ "trailing": 4
36572
+ },
36573
+ "hiddenPath": "$item.noReply"
36574
+ }
36575
+ }
36576
+ ]
36577
+ }
36578
+ },
36579
+ "modifiers": {
36580
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
36581
+ }
36582
+ },
36583
+ {
36584
+ "id": "",
36585
+ "body": {
36586
+ "package": "himalaya",
36587
+ "type": "Spacer",
36588
+ "props": {}
36589
+ }
36590
+ }
36591
+ ]
36592
+ }
36593
+ }
36594
+ }
36595
+ ]
36596
+ }
36597
+ },
36598
+ "modifiers": {
36599
+ "weight": 1
36600
+ }
36601
+ }
36602
+ ]
36603
+ }
36565
36604
  },
36566
36605
  "modifiers": {
36567
- "accessibilityRole": "decorative"
36606
+ "fillMaxWidth": true
36568
36607
  }
36569
36608
  }
36570
36609
  ]
36571
36610
  }
36572
- },
36573
- "modifiers": {
36574
- "width": 72,
36575
- "height": 72,
36576
- "background": {
36577
- "token": "surfaceSecondary"
36578
- },
36579
- "cornerRadius": 8,
36580
- "accessibilityRole": "decorative",
36581
- "hiddenPath": "$item.hasCover"
36582
36611
  }
36583
36612
  },
36584
36613
  {
36585
- "id": "",
36614
+ "id": "himi_blog_post.comment_open_composer",
36586
36615
  "body": {
36587
36616
  "package": "himalaya",
36588
- "type": "VStack",
36617
+ "type": "HStack",
36589
36618
  "props": {
36590
- "spacing": 4,
36591
- "alignment": "leading",
36619
+ "spacing": 10,
36620
+ "alignment": "center",
36592
36621
  "children": [
36593
36622
  {
36594
- "id": "",
36623
+ "id": "himi_blog_post.comment_input_avatar.photo",
36595
36624
  "body": {
36596
36625
  "package": "himalaya",
36597
- "type": "Text",
36626
+ "type": "Image",
36598
36627
  "props": {
36599
- "text": "$item.title",
36600
- "style": "bodyEmphasis",
36601
- "maxLines": 2
36602
- }
36628
+ "url": "$service:himiBlogPost.memberPhoto",
36629
+ "width": 32,
36630
+ "height": 32,
36631
+ "contentMode": "fill",
36632
+ "shape": "circle"
36633
+ }
36634
+ },
36635
+ "modifiers": {
36636
+ "accessibilityRole": "decorative",
36637
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
36603
36638
  }
36604
36639
  },
36605
36640
  {
36606
36641
  "id": "",
36607
36642
  "body": {
36608
36643
  "package": "himalaya",
36609
- "type": "Text",
36644
+ "type": "ZStack",
36610
36645
  "props": {
36611
- "text": "$item.date",
36612
- "style": "caption",
36613
- "color": "textSecondary",
36614
- "maxLines": 1,
36615
- "collapseWhenEmpty": true
36646
+ "alignment": "center",
36647
+ "children": [
36648
+ {
36649
+ "id": "",
36650
+ "body": {
36651
+ "package": "himalaya",
36652
+ "type": "Icon",
36653
+ "props": {
36654
+ "name": "person",
36655
+ "size": 16,
36656
+ "tint": "accentPrimary"
36657
+ }
36658
+ },
36659
+ "modifiers": {
36660
+ "accessibilityRole": "decorative",
36661
+ "hiddenPath": "$service:himiBlogPost.isMember"
36662
+ }
36663
+ },
36664
+ {
36665
+ "id": "",
36666
+ "body": {
36667
+ "package": "himalaya",
36668
+ "type": "Text",
36669
+ "props": {
36670
+ "text": "$service:himiBlogPost.memberInitial",
36671
+ "style": "footnote",
36672
+ "color": "accentPrimary",
36673
+ "collapseWhenEmpty": true
36674
+ }
36675
+ }
36676
+ }
36677
+ ]
36678
+ }
36679
+ },
36680
+ "modifiers": {
36681
+ "width": 32,
36682
+ "height": 32,
36683
+ "background": {
36684
+ "token": "accentSurface"
36685
+ },
36686
+ "cornerRadius": 16,
36687
+ "accessibilityRole": "decorative",
36688
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
36689
+ }
36690
+ },
36691
+ {
36692
+ "id": "",
36693
+ "body": {
36694
+ "package": "himalaya",
36695
+ "type": "HStack",
36696
+ "props": {
36697
+ "spacing": 0,
36698
+ "alignment": "center",
36699
+ "children": [
36700
+ {
36701
+ "id": "",
36702
+ "body": {
36703
+ "package": "himalaya",
36704
+ "type": "Text",
36705
+ "props": {
36706
+ "text": "Leave a comment…",
36707
+ "style": "body",
36708
+ "color": "textTertiary",
36709
+ "maxLines": 1
36710
+ }
36711
+ }
36712
+ },
36713
+ {
36714
+ "id": "",
36715
+ "body": {
36716
+ "package": "himalaya",
36717
+ "type": "Spacer",
36718
+ "props": {}
36719
+ }
36720
+ }
36721
+ ]
36616
36722
  }
36723
+ },
36724
+ "modifiers": {
36725
+ "background": {
36726
+ "token": "surfacePrimary"
36727
+ },
36728
+ "cornerRadius": 999,
36729
+ "padding": {
36730
+ "leading": 16,
36731
+ "trailing": 16,
36732
+ "top": 10,
36733
+ "bottom": 10
36734
+ },
36735
+ "weight": 1
36617
36736
  }
36618
36737
  }
36619
36738
  ]
36620
36739
  }
36621
- }
36622
- },
36623
- {
36624
- "id": "",
36625
- "body": {
36626
- "package": "himalaya",
36627
- "type": "Spacer",
36628
- "props": {}
36740
+ },
36741
+ "modifiers": {
36742
+ "onTap": {
36743
+ "actionId": "tier5.himiBlogPost.openComposer"
36744
+ },
36745
+ "accessibilityRole": "button",
36746
+ "accessibilityLabel": "Leave a comment…",
36747
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
36629
36748
  }
36630
36749
  }
36631
36750
  ]
36632
36751
  }
36633
36752
  },
36634
36753
  "modifiers": {
36635
- "padding": {
36636
- "leading": 20,
36637
- "trailing": 20,
36638
- "top": 12,
36639
- "bottom": 12
36640
- },
36641
- "onTap": {
36642
- "actionId": "himi.open",
36643
- "params": {
36644
- "screenId": "$item.detailScreenId",
36645
- "id": "$item.id"
36646
- }
36754
+ "background": {
36755
+ "token": "surfaceSecondary"
36647
36756
  },
36648
- "pressFeedback": "scale",
36649
- "haptic": "light",
36650
- "accessibilityLabel": "$item.title"
36757
+ "cornerRadius": 16,
36758
+ "padding": {
36759
+ "leading": 16,
36760
+ "trailing": 16,
36761
+ "top": 16,
36762
+ "bottom": 16
36763
+ }
36651
36764
  }
36652
36765
  }
36653
36766
  ]
36654
36767
  }
36768
+ },
36769
+ "modifiers": {
36770
+ "padding": {
36771
+ "leading": 20,
36772
+ "trailing": 20,
36773
+ "top": 20,
36774
+ "bottom": 20
36775
+ }
36776
+ }
36777
+ }
36778
+ ]
36779
+ }
36780
+ }
36781
+ },
36782
+ {
36783
+ "id": "himi_blog_post.recent_section",
36784
+ "body": {
36785
+ "package": "himalaya",
36786
+ "type": "VStack",
36787
+ "props": {
36788
+ "spacing": 0,
36789
+ "alignment": "leading",
36790
+ "children": [
36791
+ {
36792
+ "id": "himi_blog_post.recent_band",
36793
+ "body": {
36794
+ "package": "himalaya",
36795
+ "type": "VStack",
36796
+ "props": {
36797
+ "spacing": 0,
36798
+ "children": []
36799
+ }
36800
+ },
36801
+ "modifiers": {
36802
+ "height": 12,
36803
+ "fillMaxWidth": true,
36804
+ "background": {
36805
+ "token": "surfaceSecondary"
36806
+ },
36807
+ "accessibilityRole": "decorative"
36655
36808
  }
36656
36809
  },
36657
36810
  {
36658
36811
  "id": "",
36659
36812
  "body": {
36660
36813
  "package": "himalaya",
36661
- "type": "HStack",
36814
+ "type": "VStack",
36662
36815
  "props": {
36663
36816
  "spacing": 0,
36817
+ "alignment": "leading",
36664
36818
  "children": [
36665
36819
  {
36666
36820
  "id": "",
36667
36821
  "body": {
36668
36822
  "package": "himalaya",
36669
- "type": "Spacer",
36670
- "props": {}
36671
- }
36672
- },
36673
- {
36674
- "id": "himi_blog_post.see_all",
36675
- "body": {
36676
- "package": "himalaya",
36677
- "type": "Button",
36823
+ "type": "Text",
36678
36824
  "props": {
36679
- "title": "See All Posts",
36680
- "style": "secondary",
36681
- "fullWidth": false,
36682
- "action": {
36683
- "actionId": "himi.open",
36684
- "params": {
36685
- "screenId": "himi_blog"
36686
- }
36687
- }
36825
+ "text": "Recent posts",
36826
+ "style": "title3"
36688
36827
  }
36689
- }
36690
- },
36691
- {
36692
- "id": "",
36693
- "body": {
36694
- "package": "himalaya",
36695
- "type": "Spacer",
36696
- "props": {}
36828
+ },
36829
+ "modifiers": {
36830
+ "accessibilityRole": "heading"
36697
36831
  }
36698
36832
  }
36699
36833
  ]
@@ -36701,61 +36835,262 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36701
36835
  },
36702
36836
  "modifiers": {
36703
36837
  "padding": {
36704
- "top": 12,
36705
- "bottom": 8
36838
+ "leading": 20,
36839
+ "trailing": 20,
36840
+ "top": 20,
36841
+ "bottom": 4
36706
36842
  }
36707
36843
  }
36708
- }
36709
- ]
36710
- }
36711
- },
36712
- "modifiers": {
36713
- "hiddenPath": "$service:himiBlogPost.noRecent"
36714
- }
36715
- }
36716
- ]
36717
- }
36718
- },
36719
- "modifiers": {
36720
- "hiddenPath": "$service:himiBlogPost.noPost"
36721
- }
36722
- },
36723
- {
36724
- "id": "himi_blog_post.more_sheet",
36725
- "body": {
36726
- "package": "himalaya",
36727
- "type": "BottomSheet",
36728
- "props": {
36729
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
36730
- "dismissible": true,
36731
- "showGrabber": true,
36732
- "onDismiss": {
36733
- "actionId": "tier5.himiBlogPost.closeMore"
36734
- },
36735
- "content": {
36736
- "id": "",
36737
- "body": {
36738
- "package": "himalaya",
36739
- "type": "VStack",
36740
- "props": {
36741
- "spacing": 0,
36742
- "alignment": "leading",
36743
- "children": [
36744
- {
36745
- "id": "himi_blog_post.report",
36746
- "body": {
36747
- "package": "himalaya",
36748
- "type": "HStack",
36749
- "props": {
36750
- "spacing": 14,
36751
- "children": [
36752
- {
36753
- "id": "",
36754
- "body": {
36755
- "package": "himalaya",
36756
- "type": "Icon",
36757
- "props": {
36758
- "name": "warning",
36844
+ },
36845
+ {
36846
+ "id": "himi_blog_post.recent",
36847
+ "body": {
36848
+ "package": "himalaya",
36849
+ "type": "Grid",
36850
+ "props": {
36851
+ "columns": 1,
36852
+ "spacing": 0,
36853
+ "itemsPath": "$service:himiBlogPost.recent",
36854
+ "items": [
36855
+ {
36856
+ "id": "himi_blog_post.recent_row",
36857
+ "body": {
36858
+ "package": "himalaya",
36859
+ "type": "HStack",
36860
+ "props": {
36861
+ "spacing": 12,
36862
+ "children": [
36863
+ {
36864
+ "id": "himi_blog_post.recent_cover",
36865
+ "body": {
36866
+ "package": "himalaya",
36867
+ "type": "Image",
36868
+ "props": {
36869
+ "url": "$item.cover",
36870
+ "width": 72,
36871
+ "height": 72,
36872
+ "contentMode": "fill"
36873
+ }
36874
+ },
36875
+ "modifiers": {
36876
+ "accessibilityRole": "decorative",
36877
+ "cornerRadius": 8,
36878
+ "hiddenPath": "$item.noCover"
36879
+ }
36880
+ },
36881
+ {
36882
+ "id": "",
36883
+ "body": {
36884
+ "package": "himalaya",
36885
+ "type": "ZStack",
36886
+ "props": {
36887
+ "alignment": "center",
36888
+ "children": [
36889
+ {
36890
+ "id": "",
36891
+ "body": {
36892
+ "package": "himalaya",
36893
+ "type": "Icon",
36894
+ "props": {
36895
+ "name": "newspaper",
36896
+ "size": 22,
36897
+ "tint": "textTertiary"
36898
+ }
36899
+ },
36900
+ "modifiers": {
36901
+ "accessibilityRole": "decorative"
36902
+ }
36903
+ }
36904
+ ]
36905
+ }
36906
+ },
36907
+ "modifiers": {
36908
+ "width": 72,
36909
+ "height": 72,
36910
+ "background": {
36911
+ "token": "surfaceSecondary"
36912
+ },
36913
+ "cornerRadius": 8,
36914
+ "accessibilityRole": "decorative",
36915
+ "hiddenPath": "$item.hasCover"
36916
+ }
36917
+ },
36918
+ {
36919
+ "id": "",
36920
+ "body": {
36921
+ "package": "himalaya",
36922
+ "type": "VStack",
36923
+ "props": {
36924
+ "spacing": 4,
36925
+ "alignment": "leading",
36926
+ "children": [
36927
+ {
36928
+ "id": "",
36929
+ "body": {
36930
+ "package": "himalaya",
36931
+ "type": "Text",
36932
+ "props": {
36933
+ "text": "$item.title",
36934
+ "style": "bodyEmphasis",
36935
+ "maxLines": 2
36936
+ }
36937
+ }
36938
+ },
36939
+ {
36940
+ "id": "",
36941
+ "body": {
36942
+ "package": "himalaya",
36943
+ "type": "Text",
36944
+ "props": {
36945
+ "text": "$item.date",
36946
+ "style": "caption",
36947
+ "color": "textSecondary",
36948
+ "maxLines": 1,
36949
+ "collapseWhenEmpty": true
36950
+ }
36951
+ }
36952
+ }
36953
+ ]
36954
+ }
36955
+ }
36956
+ },
36957
+ {
36958
+ "id": "",
36959
+ "body": {
36960
+ "package": "himalaya",
36961
+ "type": "Spacer",
36962
+ "props": {}
36963
+ }
36964
+ }
36965
+ ]
36966
+ }
36967
+ },
36968
+ "modifiers": {
36969
+ "padding": {
36970
+ "leading": 20,
36971
+ "trailing": 20,
36972
+ "top": 12,
36973
+ "bottom": 12
36974
+ },
36975
+ "onTap": {
36976
+ "actionId": "himi.open",
36977
+ "params": {
36978
+ "screenId": "$item.detailScreenId",
36979
+ "id": "$item.id"
36980
+ }
36981
+ },
36982
+ "pressFeedback": "scale",
36983
+ "haptic": "light",
36984
+ "accessibilityLabel": "$item.title"
36985
+ }
36986
+ }
36987
+ ]
36988
+ }
36989
+ }
36990
+ },
36991
+ {
36992
+ "id": "",
36993
+ "body": {
36994
+ "package": "himalaya",
36995
+ "type": "HStack",
36996
+ "props": {
36997
+ "spacing": 0,
36998
+ "children": [
36999
+ {
37000
+ "id": "",
37001
+ "body": {
37002
+ "package": "himalaya",
37003
+ "type": "Spacer",
37004
+ "props": {}
37005
+ }
37006
+ },
37007
+ {
37008
+ "id": "himi_blog_post.see_all",
37009
+ "body": {
37010
+ "package": "himalaya",
37011
+ "type": "Button",
37012
+ "props": {
37013
+ "title": "See All Posts",
37014
+ "style": "secondary",
37015
+ "fullWidth": false,
37016
+ "action": {
37017
+ "actionId": "himi.open",
37018
+ "params": {
37019
+ "screenId": "himi_blog"
37020
+ }
37021
+ }
37022
+ }
37023
+ }
37024
+ },
37025
+ {
37026
+ "id": "",
37027
+ "body": {
37028
+ "package": "himalaya",
37029
+ "type": "Spacer",
37030
+ "props": {}
37031
+ }
37032
+ }
37033
+ ]
37034
+ }
37035
+ },
37036
+ "modifiers": {
37037
+ "padding": {
37038
+ "top": 12,
37039
+ "bottom": 8
37040
+ }
37041
+ }
37042
+ }
37043
+ ]
37044
+ }
37045
+ },
37046
+ "modifiers": {
37047
+ "hiddenPath": "$service:himiBlogPost.noRecent"
37048
+ }
37049
+ }
37050
+ ]
37051
+ }
37052
+ },
37053
+ "modifiers": {
37054
+ "hiddenPath": "$service:himiBlogPost.noPost"
37055
+ }
37056
+ },
37057
+ {
37058
+ "id": "himi_blog_post.more_sheet",
37059
+ "body": {
37060
+ "package": "himalaya",
37061
+ "type": "BottomSheet",
37062
+ "props": {
37063
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
37064
+ "dismissible": true,
37065
+ "showGrabber": true,
37066
+ "onDismiss": {
37067
+ "actionId": "tier5.himiBlogPost.closeMore"
37068
+ },
37069
+ "content": {
37070
+ "id": "",
37071
+ "body": {
37072
+ "package": "himalaya",
37073
+ "type": "VStack",
37074
+ "props": {
37075
+ "spacing": 0,
37076
+ "alignment": "leading",
37077
+ "children": [
37078
+ {
37079
+ "id": "himi_blog_post.report",
37080
+ "body": {
37081
+ "package": "himalaya",
37082
+ "type": "HStack",
37083
+ "props": {
37084
+ "spacing": 14,
37085
+ "alignment": "center",
37086
+ "children": [
37087
+ {
37088
+ "id": "",
37089
+ "body": {
37090
+ "package": "himalaya",
37091
+ "type": "Icon",
37092
+ "props": {
37093
+ "name": "warning",
36759
37094
  "size": 22,
36760
37095
  "tint": "textPrimary"
36761
37096
  }
@@ -36806,6 +37141,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36806
37141
  "type": "HStack",
36807
37142
  "props": {
36808
37143
  "spacing": 14,
37144
+ "alignment": "center",
36809
37145
  "children": [
36810
37146
  {
36811
37147
  "id": "",
@@ -36864,6 +37200,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36864
37200
  "type": "HStack",
36865
37201
  "props": {
36866
37202
  "spacing": 14,
37203
+ "alignment": "center",
36867
37204
  "children": [
36868
37205
  {
36869
37206
  "id": "",
@@ -36968,215 +37305,1645 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
36968
37305
  }
36969
37306
  },
36970
37307
  {
36971
- "id": "himi_blog_post.hide_offensive",
37308
+ "id": "himi_blog_post.hide_offensive",
37309
+ "body": {
37310
+ "package": "himalaya",
37311
+ "type": "HStack",
37312
+ "props": {
37313
+ "spacing": 14,
37314
+ "alignment": "center",
37315
+ "children": [
37316
+ {
37317
+ "id": "",
37318
+ "body": {
37319
+ "package": "himalaya",
37320
+ "type": "Text",
37321
+ "props": {
37322
+ "text": "It is offensive",
37323
+ "style": "body"
37324
+ }
37325
+ }
37326
+ },
37327
+ {
37328
+ "id": "",
37329
+ "body": {
37330
+ "package": "himalaya",
37331
+ "type": "Spacer",
37332
+ "props": {}
37333
+ }
37334
+ }
37335
+ ]
37336
+ }
37337
+ },
37338
+ "modifiers": {
37339
+ "onTap": {
37340
+ "actionId": "tier5.himiBlogPost.hide",
37341
+ "params": {
37342
+ "reason": "offensive"
37343
+ }
37344
+ },
37345
+ "accessibilityRole": "button",
37346
+ "accessibilityLabel": "It is offensive",
37347
+ "padding": {
37348
+ "top": 11,
37349
+ "bottom": 11
37350
+ }
37351
+ }
37352
+ },
37353
+ {
37354
+ "id": "himi_blog_post.hide_misleading",
37355
+ "body": {
37356
+ "package": "himalaya",
37357
+ "type": "HStack",
37358
+ "props": {
37359
+ "spacing": 14,
37360
+ "alignment": "center",
37361
+ "children": [
37362
+ {
37363
+ "id": "",
37364
+ "body": {
37365
+ "package": "himalaya",
37366
+ "type": "Text",
37367
+ "props": {
37368
+ "text": "It is misleading",
37369
+ "style": "body"
37370
+ }
37371
+ }
37372
+ },
37373
+ {
37374
+ "id": "",
37375
+ "body": {
37376
+ "package": "himalaya",
37377
+ "type": "Spacer",
37378
+ "props": {}
37379
+ }
37380
+ }
37381
+ ]
37382
+ }
37383
+ },
37384
+ "modifiers": {
37385
+ "onTap": {
37386
+ "actionId": "tier5.himiBlogPost.hide",
37387
+ "params": {
37388
+ "reason": "misleading"
37389
+ }
37390
+ },
37391
+ "accessibilityRole": "button",
37392
+ "accessibilityLabel": "It is misleading",
37393
+ "padding": {
37394
+ "top": 11,
37395
+ "bottom": 11
37396
+ }
37397
+ }
37398
+ },
37399
+ {
37400
+ "id": "himi_blog_post.hide_other",
37401
+ "body": {
37402
+ "package": "himalaya",
37403
+ "type": "HStack",
37404
+ "props": {
37405
+ "spacing": 14,
37406
+ "alignment": "center",
37407
+ "children": [
37408
+ {
37409
+ "id": "",
37410
+ "body": {
37411
+ "package": "himalaya",
37412
+ "type": "Text",
37413
+ "props": {
37414
+ "text": "Something else",
37415
+ "style": "body"
37416
+ }
37417
+ }
37418
+ },
37419
+ {
37420
+ "id": "",
37421
+ "body": {
37422
+ "package": "himalaya",
37423
+ "type": "Spacer",
37424
+ "props": {}
37425
+ }
37426
+ }
37427
+ ]
37428
+ }
37429
+ },
37430
+ "modifiers": {
37431
+ "onTap": {
37432
+ "actionId": "tier5.himiBlogPost.hide",
37433
+ "params": {
37434
+ "reason": "other"
37435
+ }
37436
+ },
37437
+ "accessibilityRole": "button",
37438
+ "accessibilityLabel": "Something else",
37439
+ "padding": {
37440
+ "top": 11,
37441
+ "bottom": 11
37442
+ }
37443
+ }
37444
+ },
37445
+ {
37446
+ "id": "himi_blog_post.hide_cancel",
37447
+ "body": {
37448
+ "package": "himalaya",
37449
+ "type": "Button",
37450
+ "props": {
37451
+ "title": "Cancel",
37452
+ "style": "secondary",
37453
+ "fullWidth": true,
37454
+ "action": {
37455
+ "actionId": "tier5.himiBlogPost.closeHide"
37456
+ }
37457
+ }
37458
+ },
37459
+ "modifiers": {
37460
+ "padding": {
37461
+ "top": 8
37462
+ }
37463
+ }
37464
+ }
37465
+ ]
37466
+ }
37467
+ },
37468
+ "modifiers": {
37469
+ "padding": {
37470
+ "leading": 20,
37471
+ "trailing": 20,
37472
+ "top": 12,
37473
+ "bottom": 8
37474
+ }
37475
+ }
37476
+ }
37477
+ }
37478
+ }
37479
+ },
37480
+ {
37481
+ "id": "himi_blog_post.comments_sheet",
37482
+ "body": {
37483
+ "package": "himalaya",
37484
+ "type": "BottomSheet",
37485
+ "props": {
37486
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
37487
+ "dismissible": true,
37488
+ "showGrabber": true,
37489
+ "detents": [
37490
+ 0.9
37491
+ ],
37492
+ "onDismiss": {
37493
+ "actionId": "tier5.himiBlogPost.closeComments"
37494
+ },
37495
+ "content": {
37496
+ "id": "",
37497
+ "body": {
37498
+ "package": "himalaya",
37499
+ "type": "VStack",
37500
+ "props": {
37501
+ "spacing": 12,
37502
+ "alignment": "leading",
37503
+ "children": [
37504
+ {
37505
+ "id": "",
37506
+ "body": {
37507
+ "package": "himalaya",
37508
+ "type": "HStack",
37509
+ "props": {
37510
+ "spacing": 8,
37511
+ "alignment": "center",
37512
+ "children": [
37513
+ {
37514
+ "id": "",
37515
+ "body": {
37516
+ "package": "himalaya",
37517
+ "type": "VStack",
37518
+ "props": {
37519
+ "spacing": 2,
37520
+ "alignment": "leading",
37521
+ "children": [
37522
+ {
37523
+ "id": "himi_blog_post.comments_sheet_title",
37524
+ "body": {
37525
+ "package": "himalaya",
37526
+ "type": "Text",
37527
+ "props": {
37528
+ "text": "$service:himiBlogPost.sheetTitle",
37529
+ "style": "title3"
37530
+ }
37531
+ },
37532
+ "modifiers": {
37533
+ "accessibilityRole": "heading"
37534
+ }
37535
+ },
37536
+ {
37537
+ "id": "",
37538
+ "body": {
37539
+ "package": "himalaya",
37540
+ "type": "Text",
37541
+ "props": {
37542
+ "text": "$service:himiBlogPost.title",
37543
+ "style": "footnote",
37544
+ "color": "textSecondary",
37545
+ "maxLines": 1,
37546
+ "collapseWhenEmpty": true
37547
+ }
37548
+ }
37549
+ }
37550
+ ]
37551
+ }
37552
+ }
37553
+ },
37554
+ {
37555
+ "id": "",
37556
+ "body": {
37557
+ "package": "himalaya",
37558
+ "type": "Spacer",
37559
+ "props": {}
37560
+ }
37561
+ },
37562
+ {
37563
+ "id": "himi_blog_post.comments_close",
37564
+ "body": {
37565
+ "package": "himalaya",
37566
+ "type": "Icon",
37567
+ "props": {
37568
+ "name": "chevron_down",
37569
+ "size": 22,
37570
+ "tint": "textPrimary"
37571
+ }
37572
+ },
37573
+ "modifiers": {
37574
+ "accessibilityRole": "button",
37575
+ "onTap": {
37576
+ "actionId": "tier5.himiBlogPost.closeComments"
37577
+ },
37578
+ "accessibilityLabel": "Close comments",
37579
+ "padding": {
37580
+ "leading": 11,
37581
+ "trailing": 11,
37582
+ "top": 11,
37583
+ "bottom": 11
37584
+ }
37585
+ }
37586
+ }
37587
+ ]
37588
+ }
37589
+ }
37590
+ },
37591
+ {
37592
+ "id": "",
37593
+ "body": {
37594
+ "package": "himalaya",
37595
+ "type": "Text",
37596
+ "props": {
37597
+ "text": "$service:himiBlogPost.commentStatusText",
37598
+ "style": "footnote",
37599
+ "color": "textSecondary"
37600
+ }
37601
+ },
37602
+ "modifiers": {
37603
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
37604
+ }
37605
+ },
37606
+ {
37607
+ "id": "",
37608
+ "body": {
37609
+ "package": "himalaya",
37610
+ "type": "VStack",
37611
+ "props": {
37612
+ "spacing": 4,
37613
+ "alignment": "leading",
37614
+ "children": [
37615
+ {
37616
+ "id": "",
37617
+ "body": {
37618
+ "package": "himalaya",
37619
+ "type": "Text",
37620
+ "props": {
37621
+ "text": "No comments yet",
37622
+ "style": "bodyEmphasis"
37623
+ }
37624
+ }
37625
+ },
37626
+ {
37627
+ "id": "",
37628
+ "body": {
37629
+ "package": "himalaya",
37630
+ "type": "Text",
37631
+ "props": {
37632
+ "text": "Be the first to share your thoughts.",
37633
+ "style": "footnote",
37634
+ "color": "textSecondary"
37635
+ }
37636
+ }
37637
+ }
37638
+ ]
37639
+ }
37640
+ },
37641
+ "modifiers": {
37642
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
37643
+ }
37644
+ },
37645
+ {
37646
+ "id": "himi_blog_post.sheet_comments",
37647
+ "body": {
37648
+ "package": "himalaya",
37649
+ "type": "LazyList",
37650
+ "props": {
37651
+ "spacing": 4,
37652
+ "itemsPath": "$service:himiBlogPost.comments",
37653
+ "items": [
37654
+ {
37655
+ "id": "himi_blog_post.sheet_comment_row",
37656
+ "body": {
37657
+ "package": "himalaya",
37658
+ "type": "VStack",
37659
+ "props": {
37660
+ "spacing": 0,
37661
+ "alignment": "leading",
37662
+ "children": [
37663
+ {
37664
+ "id": "",
37665
+ "body": {
37666
+ "package": "himalaya",
37667
+ "type": "VStack",
37668
+ "props": {
37669
+ "spacing": 0,
37670
+ "alignment": "leading",
37671
+ "children": [
37672
+ {
37673
+ "id": "",
37674
+ "body": {
37675
+ "package": "himalaya",
37676
+ "type": "HStack",
37677
+ "props": {
37678
+ "spacing": 10,
37679
+ "alignment": "leading",
37680
+ "children": [
37681
+ {
37682
+ "id": "himi_blog_post.comment_avatar.photo",
37683
+ "body": {
37684
+ "package": "himalaya",
37685
+ "type": "Image",
37686
+ "props": {
37687
+ "url": "$item.authorPhoto",
37688
+ "width": 32,
37689
+ "height": 32,
37690
+ "contentMode": "fill",
37691
+ "shape": "circle"
37692
+ }
37693
+ },
37694
+ "modifiers": {
37695
+ "accessibilityRole": "decorative",
37696
+ "hiddenPath": "$item.noAuthorPhoto"
37697
+ }
37698
+ },
37699
+ {
37700
+ "id": "",
37701
+ "body": {
37702
+ "package": "himalaya",
37703
+ "type": "ZStack",
37704
+ "props": {
37705
+ "alignment": "center",
37706
+ "children": [
37707
+ {
37708
+ "id": "",
37709
+ "body": {
37710
+ "package": "himalaya",
37711
+ "type": "Text",
37712
+ "props": {
37713
+ "text": "$item.authorInitial",
37714
+ "style": "footnote",
37715
+ "color": "accentPrimary",
37716
+ "collapseWhenEmpty": true
37717
+ }
37718
+ }
37719
+ }
37720
+ ]
37721
+ }
37722
+ },
37723
+ "modifiers": {
37724
+ "width": 32,
37725
+ "height": 32,
37726
+ "background": {
37727
+ "token": "accentSurface"
37728
+ },
37729
+ "cornerRadius": 16,
37730
+ "accessibilityRole": "decorative",
37731
+ "hiddenPath": "$item.hasAuthorPhoto"
37732
+ }
37733
+ },
37734
+ {
37735
+ "id": "",
37736
+ "body": {
37737
+ "package": "himalaya",
37738
+ "type": "VStack",
37739
+ "props": {
37740
+ "spacing": 4,
37741
+ "alignment": "leading",
37742
+ "children": [
37743
+ {
37744
+ "id": "",
37745
+ "body": {
37746
+ "package": "himalaya",
37747
+ "type": "HStack",
37748
+ "props": {
37749
+ "spacing": 6,
37750
+ "alignment": "center",
37751
+ "children": [
37752
+ {
37753
+ "id": "",
37754
+ "body": {
37755
+ "package": "himalaya",
37756
+ "type": "Text",
37757
+ "props": {
37758
+ "text": "$item.authorName",
37759
+ "style": "footnote",
37760
+ "maxLines": 1
37761
+ }
37762
+ }
37763
+ },
37764
+ {
37765
+ "id": "",
37766
+ "body": {
37767
+ "package": "himalaya",
37768
+ "type": "Text",
37769
+ "props": {
37770
+ "text": "$item.meta",
37771
+ "style": "caption",
37772
+ "color": "textTertiary",
37773
+ "maxLines": 1,
37774
+ "collapseWhenEmpty": true
37775
+ }
37776
+ }
37777
+ },
37778
+ {
37779
+ "id": "",
37780
+ "body": {
37781
+ "package": "himalaya",
37782
+ "type": "Spacer",
37783
+ "props": {}
37784
+ }
37785
+ },
37786
+ {
37787
+ "id": "",
37788
+ "body": {
37789
+ "package": "himalaya",
37790
+ "type": "HStack",
37791
+ "props": {
37792
+ "spacing": 0,
37793
+ "alignment": "center",
37794
+ "children": [
37795
+ {
37796
+ "id": "himi_blog_post.reply_menu",
37797
+ "body": {
37798
+ "package": "himalaya",
37799
+ "type": "Menu",
37800
+ "props": {
37801
+ "anchor": {
37802
+ "id": "",
37803
+ "body": {
37804
+ "package": "himalaya",
37805
+ "type": "Icon",
37806
+ "props": {
37807
+ "name": "more_vertical",
37808
+ "size": 18,
37809
+ "tint": "textSecondary"
37810
+ }
37811
+ },
37812
+ "modifiers": {
37813
+ "accessibilityRole": "button",
37814
+ "accessibilityLabel": "Comment actions",
37815
+ "padding": {
37816
+ "leading": 13,
37817
+ "trailing": 13,
37818
+ "top": 4,
37819
+ "bottom": 4
37820
+ }
37821
+ }
37822
+ },
37823
+ "style": "dropdown",
37824
+ "items": [
37825
+ {
37826
+ "id": "report",
37827
+ "label": "Report",
37828
+ "icon": "warning",
37829
+ "action": {
37830
+ "actionId": "tier5.himiBlogPost.reportComment",
37831
+ "params": {
37832
+ "id": "$item.id"
37833
+ }
37834
+ }
37835
+ }
37836
+ ]
37837
+ }
37838
+ }
37839
+ }
37840
+ ]
37841
+ }
37842
+ },
37843
+ "modifiers": {
37844
+ "hiddenPath": "$item.noReport"
37845
+ }
37846
+ }
37847
+ ]
37848
+ }
37849
+ }
37850
+ },
37851
+ {
37852
+ "id": "",
37853
+ "body": {
37854
+ "package": "himalaya",
37855
+ "type": "VStack",
37856
+ "props": {
37857
+ "spacing": 0,
37858
+ "alignment": "leading",
37859
+ "children": [
37860
+ {
37861
+ "id": "reply_body_$item.id",
37862
+ "body": {
37863
+ "package": "himalaya",
37864
+ "type": "RichContent",
37865
+ "props": {
37866
+ "documentJsonPath": "$item.bodyJson",
37867
+ "onLink": {
37868
+ "actionId": "tier5.himiBlogPost.openLink"
37869
+ },
37870
+ "fallback": {
37871
+ "id": "",
37872
+ "body": {
37873
+ "package": "himalaya",
37874
+ "type": "Text",
37875
+ "props": {
37876
+ "text": "$item.text",
37877
+ "style": "body",
37878
+ "collapseWhenEmpty": true
37879
+ }
37880
+ }
37881
+ }
37882
+ }
37883
+ }
37884
+ },
37885
+ {
37886
+ "id": "reply_body_text_$item.id",
37887
+ "body": {
37888
+ "package": "himalaya",
37889
+ "type": "Text",
37890
+ "props": {
37891
+ "text": "$item.text",
37892
+ "style": "body",
37893
+ "collapseWhenEmpty": true
37894
+ }
37895
+ },
37896
+ "modifiers": {
37897
+ "hiddenPath": "$item.hasBodyJson"
37898
+ }
37899
+ }
37900
+ ]
37901
+ }
37902
+ }
37903
+ },
37904
+ {
37905
+ "id": "",
37906
+ "body": {
37907
+ "package": "himalaya",
37908
+ "type": "HStack",
37909
+ "props": {
37910
+ "spacing": 12,
37911
+ "alignment": "center",
37912
+ "children": [
37913
+ {
37914
+ "id": "",
37915
+ "body": {
37916
+ "package": "himalaya",
37917
+ "type": "HStack",
37918
+ "props": {
37919
+ "spacing": 0,
37920
+ "alignment": "center",
37921
+ "children": [
37922
+ {
37923
+ "id": "himi_blog_post.comment_like",
37924
+ "body": {
37925
+ "package": "himalaya",
37926
+ "type": "HStack",
37927
+ "props": {
37928
+ "spacing": 4,
37929
+ "alignment": "center",
37930
+ "children": [
37931
+ {
37932
+ "id": "",
37933
+ "body": {
37934
+ "package": "himalaya",
37935
+ "type": "Icon",
37936
+ "props": {
37937
+ "name": "heart",
37938
+ "size": 14,
37939
+ "tint": "textSecondary"
37940
+ }
37941
+ },
37942
+ "modifiers": {
37943
+ "accessibilityRole": "decorative"
37944
+ }
37945
+ },
37946
+ {
37947
+ "id": "",
37948
+ "body": {
37949
+ "package": "himalaya",
37950
+ "type": "Text",
37951
+ "props": {
37952
+ "text": "$item.likes",
37953
+ "style": "caption",
37954
+ "color": "textSecondary",
37955
+ "monospacedDigits": true
37956
+ }
37957
+ }
37958
+ }
37959
+ ]
37960
+ }
37961
+ },
37962
+ "modifiers": {
37963
+ "border": {
37964
+ "width": 1,
37965
+ "color": {
37966
+ "token": "border"
37967
+ }
37968
+ },
37969
+ "cornerRadius": 999,
37970
+ "padding": {
37971
+ "leading": 10,
37972
+ "trailing": 10,
37973
+ "top": 4,
37974
+ "bottom": 4
37975
+ },
37976
+ "onTap": {
37977
+ "actionId": "tier5.himiBlogPost.likeComment",
37978
+ "params": {
37979
+ "id": "$item.id"
37980
+ }
37981
+ },
37982
+ "pressFeedback": "scale",
37983
+ "haptic": "light",
37984
+ "accessibilityRole": "button",
37985
+ "accessibilityLabel": "Like",
37986
+ "hiddenPath": "$item.liked"
37987
+ }
37988
+ },
37989
+ {
37990
+ "id": "himi_blog_post.comment_unlike",
37991
+ "body": {
37992
+ "package": "himalaya",
37993
+ "type": "HStack",
37994
+ "props": {
37995
+ "spacing": 4,
37996
+ "alignment": "center",
37997
+ "children": [
37998
+ {
37999
+ "id": "",
38000
+ "body": {
38001
+ "package": "himalaya",
38002
+ "type": "Icon",
38003
+ "props": {
38004
+ "name": "heart_fill",
38005
+ "size": 14,
38006
+ "tint": "danger"
38007
+ }
38008
+ },
38009
+ "modifiers": {
38010
+ "accessibilityRole": "decorative"
38011
+ }
38012
+ },
38013
+ {
38014
+ "id": "",
38015
+ "body": {
38016
+ "package": "himalaya",
38017
+ "type": "Text",
38018
+ "props": {
38019
+ "text": "$item.likes",
38020
+ "style": "caption",
38021
+ "color": "danger",
38022
+ "monospacedDigits": true
38023
+ }
38024
+ }
38025
+ }
38026
+ ]
38027
+ }
38028
+ },
38029
+ "modifiers": {
38030
+ "background": {
38031
+ "token": "dangerSurface"
38032
+ },
38033
+ "cornerRadius": 999,
38034
+ "padding": {
38035
+ "leading": 10,
38036
+ "trailing": 10,
38037
+ "top": 4,
38038
+ "bottom": 4
38039
+ },
38040
+ "onTap": {
38041
+ "actionId": "tier5.himiBlogPost.unlikeComment",
38042
+ "params": {
38043
+ "id": "$item.id"
38044
+ }
38045
+ },
38046
+ "pressFeedback": "scale",
38047
+ "haptic": "light",
38048
+ "accessibilityRole": "button",
38049
+ "accessibilityLabel": "Unlike",
38050
+ "hiddenPath": "$item.notLiked"
38051
+ }
38052
+ }
38053
+ ]
38054
+ }
38055
+ },
38056
+ "modifiers": {
38057
+ "hiddenPath": "$item.noLikes"
38058
+ }
38059
+ },
38060
+ {
38061
+ "id": "",
38062
+ "body": {
38063
+ "package": "himalaya",
38064
+ "type": "HStack",
38065
+ "props": {
38066
+ "spacing": 0,
38067
+ "alignment": "center",
38068
+ "children": [
38069
+ {
38070
+ "id": "himi_blog_post.comment_reply",
38071
+ "body": {
38072
+ "package": "himalaya",
38073
+ "type": "Text",
38074
+ "props": {
38075
+ "text": "Reply",
38076
+ "style": "caption",
38077
+ "color": "textSecondary"
38078
+ }
38079
+ },
38080
+ "modifiers": {
38081
+ "onTap": {
38082
+ "actionId": "tier5.himiBlogPost.replyTo",
38083
+ "params": {
38084
+ "id": "$item.id"
38085
+ }
38086
+ },
38087
+ "accessibilityRole": "button",
38088
+ "padding": {
38089
+ "top": 4,
38090
+ "bottom": 4,
38091
+ "leading": 4,
38092
+ "trailing": 4
38093
+ },
38094
+ "hiddenPath": "$item.noReply"
38095
+ }
38096
+ }
38097
+ ]
38098
+ }
38099
+ },
38100
+ "modifiers": {
38101
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
38102
+ }
38103
+ },
38104
+ {
38105
+ "id": "",
38106
+ "body": {
38107
+ "package": "himalaya",
38108
+ "type": "Spacer",
38109
+ "props": {}
38110
+ }
38111
+ }
38112
+ ]
38113
+ }
38114
+ }
38115
+ }
38116
+ ]
38117
+ }
38118
+ },
38119
+ "modifiers": {
38120
+ "weight": 1
38121
+ }
38122
+ }
38123
+ ]
38124
+ }
38125
+ },
38126
+ "modifiers": {
38127
+ "fillMaxWidth": true
38128
+ }
38129
+ }
38130
+ ]
38131
+ }
38132
+ },
38133
+ "modifiers": {
38134
+ "padding": {
38135
+ "leading": 42
38136
+ },
38137
+ "hiddenPath": "$item.notReply"
38138
+ }
38139
+ },
38140
+ {
38141
+ "id": "",
38142
+ "body": {
38143
+ "package": "himalaya",
38144
+ "type": "HStack",
38145
+ "props": {
38146
+ "spacing": 10,
38147
+ "alignment": "leading",
38148
+ "children": [
38149
+ {
38150
+ "id": "himi_blog_post.comment_avatar.photo",
38151
+ "body": {
38152
+ "package": "himalaya",
38153
+ "type": "Image",
38154
+ "props": {
38155
+ "url": "$item.authorPhoto",
38156
+ "width": 32,
38157
+ "height": 32,
38158
+ "contentMode": "fill",
38159
+ "shape": "circle"
38160
+ }
38161
+ },
38162
+ "modifiers": {
38163
+ "accessibilityRole": "decorative",
38164
+ "hiddenPath": "$item.noAuthorPhoto"
38165
+ }
38166
+ },
38167
+ {
38168
+ "id": "",
38169
+ "body": {
38170
+ "package": "himalaya",
38171
+ "type": "ZStack",
38172
+ "props": {
38173
+ "alignment": "center",
38174
+ "children": [
38175
+ {
38176
+ "id": "",
38177
+ "body": {
38178
+ "package": "himalaya",
38179
+ "type": "Text",
38180
+ "props": {
38181
+ "text": "$item.authorInitial",
38182
+ "style": "footnote",
38183
+ "color": "accentPrimary",
38184
+ "collapseWhenEmpty": true
38185
+ }
38186
+ }
38187
+ }
38188
+ ]
38189
+ }
38190
+ },
38191
+ "modifiers": {
38192
+ "width": 32,
38193
+ "height": 32,
38194
+ "background": {
38195
+ "token": "accentSurface"
38196
+ },
38197
+ "cornerRadius": 16,
38198
+ "accessibilityRole": "decorative",
38199
+ "hiddenPath": "$item.hasAuthorPhoto"
38200
+ }
38201
+ },
38202
+ {
38203
+ "id": "",
38204
+ "body": {
38205
+ "package": "himalaya",
38206
+ "type": "VStack",
38207
+ "props": {
38208
+ "spacing": 4,
38209
+ "alignment": "leading",
38210
+ "children": [
38211
+ {
38212
+ "id": "",
38213
+ "body": {
38214
+ "package": "himalaya",
38215
+ "type": "HStack",
38216
+ "props": {
38217
+ "spacing": 6,
38218
+ "alignment": "center",
38219
+ "children": [
38220
+ {
38221
+ "id": "",
38222
+ "body": {
38223
+ "package": "himalaya",
38224
+ "type": "Text",
38225
+ "props": {
38226
+ "text": "$item.authorName",
38227
+ "style": "footnote",
38228
+ "maxLines": 1
38229
+ }
38230
+ }
38231
+ },
38232
+ {
38233
+ "id": "",
38234
+ "body": {
38235
+ "package": "himalaya",
38236
+ "type": "Text",
38237
+ "props": {
38238
+ "text": "$item.meta",
38239
+ "style": "caption",
38240
+ "color": "textTertiary",
38241
+ "maxLines": 1,
38242
+ "collapseWhenEmpty": true
38243
+ }
38244
+ }
38245
+ },
38246
+ {
38247
+ "id": "",
38248
+ "body": {
38249
+ "package": "himalaya",
38250
+ "type": "Spacer",
38251
+ "props": {}
38252
+ }
38253
+ },
38254
+ {
38255
+ "id": "",
38256
+ "body": {
38257
+ "package": "himalaya",
38258
+ "type": "HStack",
38259
+ "props": {
38260
+ "spacing": 0,
38261
+ "alignment": "center",
38262
+ "children": [
38263
+ {
38264
+ "id": "himi_blog_post.comment_menu",
38265
+ "body": {
38266
+ "package": "himalaya",
38267
+ "type": "Menu",
38268
+ "props": {
38269
+ "anchor": {
38270
+ "id": "",
38271
+ "body": {
38272
+ "package": "himalaya",
38273
+ "type": "Icon",
38274
+ "props": {
38275
+ "name": "more_vertical",
38276
+ "size": 18,
38277
+ "tint": "textSecondary"
38278
+ }
38279
+ },
38280
+ "modifiers": {
38281
+ "accessibilityRole": "button",
38282
+ "accessibilityLabel": "Comment actions",
38283
+ "padding": {
38284
+ "leading": 13,
38285
+ "trailing": 13,
38286
+ "top": 4,
38287
+ "bottom": 4
38288
+ }
38289
+ }
38290
+ },
38291
+ "style": "dropdown",
38292
+ "items": [
38293
+ {
38294
+ "id": "report",
38295
+ "label": "Report",
38296
+ "icon": "warning",
38297
+ "action": {
38298
+ "actionId": "tier5.himiBlogPost.reportComment",
38299
+ "params": {
38300
+ "id": "$item.id"
38301
+ }
38302
+ }
38303
+ }
38304
+ ]
38305
+ }
38306
+ }
38307
+ }
38308
+ ]
38309
+ }
38310
+ },
38311
+ "modifiers": {
38312
+ "hiddenPath": "$item.noReport"
38313
+ }
38314
+ }
38315
+ ]
38316
+ }
38317
+ }
38318
+ },
38319
+ {
38320
+ "id": "",
38321
+ "body": {
38322
+ "package": "himalaya",
38323
+ "type": "VStack",
38324
+ "props": {
38325
+ "spacing": 0,
38326
+ "alignment": "leading",
38327
+ "children": [
38328
+ {
38329
+ "id": "comment_body_$item.id",
38330
+ "body": {
38331
+ "package": "himalaya",
38332
+ "type": "RichContent",
38333
+ "props": {
38334
+ "documentJsonPath": "$item.bodyJson",
38335
+ "onLink": {
38336
+ "actionId": "tier5.himiBlogPost.openLink"
38337
+ },
38338
+ "fallback": {
38339
+ "id": "",
38340
+ "body": {
38341
+ "package": "himalaya",
38342
+ "type": "Text",
38343
+ "props": {
38344
+ "text": "$item.text",
38345
+ "style": "body",
38346
+ "collapseWhenEmpty": true
38347
+ }
38348
+ }
38349
+ }
38350
+ }
38351
+ }
38352
+ },
38353
+ {
38354
+ "id": "comment_body_text_$item.id",
38355
+ "body": {
38356
+ "package": "himalaya",
38357
+ "type": "Text",
38358
+ "props": {
38359
+ "text": "$item.text",
38360
+ "style": "body",
38361
+ "collapseWhenEmpty": true
38362
+ }
38363
+ },
38364
+ "modifiers": {
38365
+ "hiddenPath": "$item.hasBodyJson"
38366
+ }
38367
+ }
38368
+ ]
38369
+ }
38370
+ }
38371
+ },
38372
+ {
38373
+ "id": "",
38374
+ "body": {
38375
+ "package": "himalaya",
38376
+ "type": "HStack",
38377
+ "props": {
38378
+ "spacing": 12,
38379
+ "alignment": "center",
38380
+ "children": [
38381
+ {
38382
+ "id": "",
38383
+ "body": {
38384
+ "package": "himalaya",
38385
+ "type": "HStack",
38386
+ "props": {
38387
+ "spacing": 0,
38388
+ "alignment": "center",
38389
+ "children": [
38390
+ {
38391
+ "id": "himi_blog_post.comment_like",
38392
+ "body": {
38393
+ "package": "himalaya",
38394
+ "type": "HStack",
38395
+ "props": {
38396
+ "spacing": 4,
38397
+ "alignment": "center",
38398
+ "children": [
38399
+ {
38400
+ "id": "",
38401
+ "body": {
38402
+ "package": "himalaya",
38403
+ "type": "Icon",
38404
+ "props": {
38405
+ "name": "heart",
38406
+ "size": 14,
38407
+ "tint": "textSecondary"
38408
+ }
38409
+ },
38410
+ "modifiers": {
38411
+ "accessibilityRole": "decorative"
38412
+ }
38413
+ },
38414
+ {
38415
+ "id": "",
38416
+ "body": {
38417
+ "package": "himalaya",
38418
+ "type": "Text",
38419
+ "props": {
38420
+ "text": "$item.likes",
38421
+ "style": "caption",
38422
+ "color": "textSecondary",
38423
+ "monospacedDigits": true
38424
+ }
38425
+ }
38426
+ }
38427
+ ]
38428
+ }
38429
+ },
38430
+ "modifiers": {
38431
+ "border": {
38432
+ "width": 1,
38433
+ "color": {
38434
+ "token": "border"
38435
+ }
38436
+ },
38437
+ "cornerRadius": 999,
38438
+ "padding": {
38439
+ "leading": 10,
38440
+ "trailing": 10,
38441
+ "top": 4,
38442
+ "bottom": 4
38443
+ },
38444
+ "onTap": {
38445
+ "actionId": "tier5.himiBlogPost.likeComment",
38446
+ "params": {
38447
+ "id": "$item.id"
38448
+ }
38449
+ },
38450
+ "pressFeedback": "scale",
38451
+ "haptic": "light",
38452
+ "accessibilityRole": "button",
38453
+ "accessibilityLabel": "Like",
38454
+ "hiddenPath": "$item.liked"
38455
+ }
38456
+ },
38457
+ {
38458
+ "id": "himi_blog_post.comment_unlike",
38459
+ "body": {
38460
+ "package": "himalaya",
38461
+ "type": "HStack",
38462
+ "props": {
38463
+ "spacing": 4,
38464
+ "alignment": "center",
38465
+ "children": [
38466
+ {
38467
+ "id": "",
38468
+ "body": {
38469
+ "package": "himalaya",
38470
+ "type": "Icon",
38471
+ "props": {
38472
+ "name": "heart_fill",
38473
+ "size": 14,
38474
+ "tint": "danger"
38475
+ }
38476
+ },
38477
+ "modifiers": {
38478
+ "accessibilityRole": "decorative"
38479
+ }
38480
+ },
38481
+ {
38482
+ "id": "",
38483
+ "body": {
38484
+ "package": "himalaya",
38485
+ "type": "Text",
38486
+ "props": {
38487
+ "text": "$item.likes",
38488
+ "style": "caption",
38489
+ "color": "danger",
38490
+ "monospacedDigits": true
38491
+ }
38492
+ }
38493
+ }
38494
+ ]
38495
+ }
38496
+ },
38497
+ "modifiers": {
38498
+ "background": {
38499
+ "token": "dangerSurface"
38500
+ },
38501
+ "cornerRadius": 999,
38502
+ "padding": {
38503
+ "leading": 10,
38504
+ "trailing": 10,
38505
+ "top": 4,
38506
+ "bottom": 4
38507
+ },
38508
+ "onTap": {
38509
+ "actionId": "tier5.himiBlogPost.unlikeComment",
38510
+ "params": {
38511
+ "id": "$item.id"
38512
+ }
38513
+ },
38514
+ "pressFeedback": "scale",
38515
+ "haptic": "light",
38516
+ "accessibilityRole": "button",
38517
+ "accessibilityLabel": "Unlike",
38518
+ "hiddenPath": "$item.notLiked"
38519
+ }
38520
+ }
38521
+ ]
38522
+ }
38523
+ },
38524
+ "modifiers": {
38525
+ "hiddenPath": "$item.noLikes"
38526
+ }
38527
+ },
38528
+ {
38529
+ "id": "",
38530
+ "body": {
38531
+ "package": "himalaya",
38532
+ "type": "HStack",
38533
+ "props": {
38534
+ "spacing": 0,
38535
+ "alignment": "center",
38536
+ "children": [
38537
+ {
38538
+ "id": "himi_blog_post.comment_reply",
38539
+ "body": {
38540
+ "package": "himalaya",
38541
+ "type": "Text",
38542
+ "props": {
38543
+ "text": "Reply",
38544
+ "style": "caption",
38545
+ "color": "textSecondary"
38546
+ }
38547
+ },
38548
+ "modifiers": {
38549
+ "onTap": {
38550
+ "actionId": "tier5.himiBlogPost.replyTo",
38551
+ "params": {
38552
+ "id": "$item.id"
38553
+ }
38554
+ },
38555
+ "accessibilityRole": "button",
38556
+ "padding": {
38557
+ "top": 4,
38558
+ "bottom": 4,
38559
+ "leading": 4,
38560
+ "trailing": 4
38561
+ },
38562
+ "hiddenPath": "$item.noReply"
38563
+ }
38564
+ }
38565
+ ]
38566
+ }
38567
+ },
38568
+ "modifiers": {
38569
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
38570
+ }
38571
+ },
38572
+ {
38573
+ "id": "",
38574
+ "body": {
38575
+ "package": "himalaya",
38576
+ "type": "Spacer",
38577
+ "props": {}
38578
+ }
38579
+ }
38580
+ ]
38581
+ }
38582
+ }
38583
+ }
38584
+ ]
38585
+ }
38586
+ },
38587
+ "modifiers": {
38588
+ "weight": 1
38589
+ }
38590
+ }
38591
+ ]
38592
+ }
38593
+ },
38594
+ "modifiers": {
38595
+ "fillMaxWidth": true,
38596
+ "hiddenPath": "$item.isReply"
38597
+ }
38598
+ }
38599
+ ]
38600
+ }
38601
+ },
38602
+ "modifiers": {
38603
+ "backgroundColorPath": "$item.rowBackground",
38604
+ "cornerRadius": 12,
38605
+ "padding": {
38606
+ "leading": 8,
38607
+ "trailing": 8,
38608
+ "top": 8,
38609
+ "bottom": 8
38610
+ }
38611
+ }
38612
+ }
38613
+ ],
38614
+ "pagination": {
38615
+ "cursor": "$service:himiBlogPost.commentsCursor",
38616
+ "onLoadMore": {
38617
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
38618
+ },
38619
+ "pageSize": 20
38620
+ }
38621
+ }
38622
+ }
38623
+ }
38624
+ ]
38625
+ }
38626
+ }
38627
+ },
38628
+ "footer": {
38629
+ "id": "himi_blog_post.comment_composer",
38630
+ "body": {
38631
+ "package": "himalaya",
38632
+ "type": "VStack",
38633
+ "props": {
38634
+ "spacing": 6,
38635
+ "alignment": "leading",
38636
+ "children": [
38637
+ {
38638
+ "id": "",
36972
38639
  "body": {
36973
38640
  "package": "himalaya",
36974
38641
  "type": "HStack",
36975
38642
  "props": {
36976
- "spacing": 14,
38643
+ "spacing": 8,
38644
+ "alignment": "center",
36977
38645
  "children": [
36978
38646
  {
36979
38647
  "id": "",
36980
38648
  "body": {
36981
38649
  "package": "himalaya",
36982
- "type": "Icon",
38650
+ "type": "Text",
36983
38651
  "props": {
36984
- "name": "chevron_right",
36985
- "size": 22,
36986
- "tint": "textPrimary"
38652
+ "text": "$service:himiBlogPost.replyingLine",
38653
+ "style": "footnote",
38654
+ "color": "textSecondary",
38655
+ "maxLines": 1
36987
38656
  }
36988
- },
36989
- "modifiers": {
36990
- "accessibilityRole": "decorative"
36991
38657
  }
36992
38658
  },
36993
38659
  {
36994
38660
  "id": "",
36995
38661
  "body": {
36996
38662
  "package": "himalaya",
36997
- "type": "Text",
36998
- "props": {
36999
- "text": "It is offensive",
37000
- "style": "body"
37001
- }
38663
+ "type": "Spacer",
38664
+ "props": {}
37002
38665
  }
37003
38666
  },
37004
38667
  {
37005
- "id": "",
38668
+ "id": "himi_blog_post.cancel_reply",
37006
38669
  "body": {
37007
38670
  "package": "himalaya",
37008
- "type": "Spacer",
37009
- "props": {}
38671
+ "type": "Icon",
38672
+ "props": {
38673
+ "name": "close",
38674
+ "size": 16,
38675
+ "tint": "textSecondary"
38676
+ }
38677
+ },
38678
+ "modifiers": {
38679
+ "accessibilityRole": "button",
38680
+ "onTap": {
38681
+ "actionId": "tier5.himiBlogPost.cancelReply"
38682
+ },
38683
+ "accessibilityLabel": "Cancel reply",
38684
+ "padding": {
38685
+ "top": 14,
38686
+ "bottom": 14,
38687
+ "leading": 14,
38688
+ "trailing": 14
38689
+ }
37010
38690
  }
37011
38691
  }
37012
38692
  ]
37013
38693
  }
37014
38694
  },
37015
38695
  "modifiers": {
37016
- "onTap": {
37017
- "actionId": "tier5.himiBlogPost.hide",
37018
- "params": {
37019
- "reason": "offensive"
37020
- }
37021
- },
37022
- "accessibilityRole": "button",
37023
- "accessibilityLabel": "It is offensive",
37024
- "padding": {
37025
- "top": 11,
37026
- "bottom": 11
37027
- }
38696
+ "hiddenPath": "$service:himiBlogPost.notReplying"
37028
38697
  }
37029
38698
  },
37030
38699
  {
37031
- "id": "himi_blog_post.hide_misleading",
38700
+ "id": "",
37032
38701
  "body": {
37033
38702
  "package": "himalaya",
37034
38703
  "type": "HStack",
37035
38704
  "props": {
37036
- "spacing": 14,
38705
+ "spacing": 10,
38706
+ "alignment": "center",
37037
38707
  "children": [
37038
38708
  {
37039
- "id": "",
38709
+ "id": "himi_blog_post.composer_avatar.photo",
37040
38710
  "body": {
37041
38711
  "package": "himalaya",
37042
- "type": "Icon",
38712
+ "type": "Image",
37043
38713
  "props": {
37044
- "name": "chevron_right",
37045
- "size": 22,
37046
- "tint": "textPrimary"
38714
+ "url": "$service:himiBlogPost.memberPhoto",
38715
+ "width": 32,
38716
+ "height": 32,
38717
+ "contentMode": "fill",
38718
+ "shape": "circle"
37047
38719
  }
37048
38720
  },
37049
38721
  "modifiers": {
37050
- "accessibilityRole": "decorative"
38722
+ "accessibilityRole": "decorative",
38723
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
37051
38724
  }
37052
38725
  },
37053
38726
  {
37054
38727
  "id": "",
37055
38728
  "body": {
37056
38729
  "package": "himalaya",
37057
- "type": "Text",
38730
+ "type": "ZStack",
37058
38731
  "props": {
37059
- "text": "It is misleading",
37060
- "style": "body"
38732
+ "alignment": "center",
38733
+ "children": [
38734
+ {
38735
+ "id": "",
38736
+ "body": {
38737
+ "package": "himalaya",
38738
+ "type": "Icon",
38739
+ "props": {
38740
+ "name": "person",
38741
+ "size": 16,
38742
+ "tint": "accentPrimary"
38743
+ }
38744
+ },
38745
+ "modifiers": {
38746
+ "accessibilityRole": "decorative",
38747
+ "hiddenPath": "$service:himiBlogPost.isMember"
38748
+ }
38749
+ },
38750
+ {
38751
+ "id": "",
38752
+ "body": {
38753
+ "package": "himalaya",
38754
+ "type": "Text",
38755
+ "props": {
38756
+ "text": "$service:himiBlogPost.memberInitial",
38757
+ "style": "footnote",
38758
+ "color": "accentPrimary",
38759
+ "collapseWhenEmpty": true
38760
+ }
38761
+ }
38762
+ }
38763
+ ]
37061
38764
  }
38765
+ },
38766
+ "modifiers": {
38767
+ "width": 32,
38768
+ "height": 32,
38769
+ "background": {
38770
+ "token": "accentSurface"
38771
+ },
38772
+ "cornerRadius": 16,
38773
+ "accessibilityRole": "decorative",
38774
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
37062
38775
  }
37063
38776
  },
37064
38777
  {
37065
- "id": "",
37066
- "body": {
37067
- "package": "himalaya",
37068
- "type": "Spacer",
37069
- "props": {}
37070
- }
37071
- }
37072
- ]
37073
- }
37074
- },
37075
- "modifiers": {
37076
- "onTap": {
37077
- "actionId": "tier5.himiBlogPost.hide",
37078
- "params": {
37079
- "reason": "misleading"
37080
- }
37081
- },
37082
- "accessibilityRole": "button",
37083
- "accessibilityLabel": "It is misleading",
37084
- "padding": {
37085
- "top": 11,
37086
- "bottom": 11
37087
- }
37088
- }
37089
- },
37090
- {
37091
- "id": "himi_blog_post.hide_other",
37092
- "body": {
37093
- "package": "himalaya",
37094
- "type": "HStack",
37095
- "props": {
37096
- "spacing": 14,
37097
- "children": [
37098
- {
37099
- "id": "",
38778
+ "id": "himi_blog_post.comment_input",
37100
38779
  "body": {
37101
38780
  "package": "himalaya",
37102
- "type": "Icon",
38781
+ "type": "TextField",
37103
38782
  "props": {
37104
- "name": "chevron_right",
37105
- "size": 22,
37106
- "tint": "textPrimary"
38783
+ "placeholder": "Write a comment",
38784
+ "valuePath": "$service:himiBlogPost.commentText",
38785
+ "multilineMaxLines": 4,
38786
+ "focusPath": "$service:himiBlogPost.composerFocus",
38787
+ "borderless": true,
38788
+ "autoCapitalization": "sentences",
38789
+ "onChange": {
38790
+ "actionId": "tier5.himiBlogPost.setComment"
38791
+ }
37107
38792
  }
37108
38793
  },
37109
38794
  "modifiers": {
37110
- "accessibilityRole": "decorative"
38795
+ "background": {
38796
+ "token": "surfaceSecondary"
38797
+ },
38798
+ "cornerRadius": 20,
38799
+ "padding": {
38800
+ "leading": 14,
38801
+ "trailing": 14,
38802
+ "top": 8,
38803
+ "bottom": 8
38804
+ },
38805
+ "weight": 1
37111
38806
  }
37112
38807
  },
37113
38808
  {
37114
- "id": "",
38809
+ "id": "himi_blog_post.comment_submit",
37115
38810
  "body": {
37116
38811
  "package": "himalaya",
37117
- "type": "Text",
38812
+ "type": "ZStack",
37118
38813
  "props": {
37119
- "text": "Something else",
37120
- "style": "body"
38814
+ "alignment": "center",
38815
+ "children": [
38816
+ {
38817
+ "id": "",
38818
+ "body": {
38819
+ "package": "himalaya",
38820
+ "type": "ZStack",
38821
+ "props": {
38822
+ "alignment": "center",
38823
+ "children": [
38824
+ {
38825
+ "id": "",
38826
+ "body": {
38827
+ "package": "himalaya",
38828
+ "type": "Icon",
38829
+ "props": {
38830
+ "name": "arrow_up",
38831
+ "size": 18,
38832
+ "tint": "textOnAccent"
38833
+ }
38834
+ },
38835
+ "modifiers": {
38836
+ "accessibilityRole": "decorative"
38837
+ }
38838
+ }
38839
+ ]
38840
+ }
38841
+ },
38842
+ "modifiers": {
38843
+ "width": 36,
38844
+ "height": 36,
38845
+ "cornerRadius": 18,
38846
+ "background": {
38847
+ "token": "accentPrimary"
38848
+ },
38849
+ "accessibilityRole": "decorative"
38850
+ }
38851
+ }
38852
+ ]
37121
38853
  }
38854
+ },
38855
+ "modifiers": {
38856
+ "width": 44,
38857
+ "height": 44,
38858
+ "accessibilityRole": "button",
38859
+ "accessibilityLabel": "Send comment",
38860
+ "onTap": {
38861
+ "actionId": "tier5.himiBlogPost.submitComment"
38862
+ },
38863
+ "pressFeedback": "scale",
38864
+ "haptic": "light",
38865
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
37122
38866
  }
37123
38867
  },
37124
38868
  {
37125
- "id": "",
38869
+ "id": "himi_blog_post.comment_submit_off",
37126
38870
  "body": {
37127
38871
  "package": "himalaya",
37128
- "type": "Spacer",
37129
- "props": {}
38872
+ "type": "ZStack",
38873
+ "props": {
38874
+ "alignment": "center",
38875
+ "children": [
38876
+ {
38877
+ "id": "",
38878
+ "body": {
38879
+ "package": "himalaya",
38880
+ "type": "ZStack",
38881
+ "props": {
38882
+ "alignment": "center",
38883
+ "children": [
38884
+ {
38885
+ "id": "",
38886
+ "body": {
38887
+ "package": "himalaya",
38888
+ "type": "Icon",
38889
+ "props": {
38890
+ "name": "arrow_up",
38891
+ "size": 18,
38892
+ "tint": "textTertiary"
38893
+ }
38894
+ },
38895
+ "modifiers": {
38896
+ "accessibilityRole": "decorative"
38897
+ }
38898
+ }
38899
+ ]
38900
+ }
38901
+ },
38902
+ "modifiers": {
38903
+ "width": 36,
38904
+ "height": 36,
38905
+ "cornerRadius": 18,
38906
+ "background": {
38907
+ "token": "surfaceSecondary"
38908
+ },
38909
+ "accessibilityRole": "decorative"
38910
+ }
38911
+ }
38912
+ ]
38913
+ }
38914
+ },
38915
+ "modifiers": {
38916
+ "width": 44,
38917
+ "height": 44,
38918
+ "accessibilityRole": "button",
38919
+ "accessibilityLabel": "Send comment",
38920
+ "hiddenPath": "$service:himiBlogPost.canSend"
37130
38921
  }
37131
38922
  }
37132
38923
  ]
37133
38924
  }
37134
- },
37135
- "modifiers": {
37136
- "onTap": {
37137
- "actionId": "tier5.himiBlogPost.hide",
37138
- "params": {
37139
- "reason": "other"
37140
- }
37141
- },
37142
- "accessibilityRole": "button",
37143
- "accessibilityLabel": "Something else",
37144
- "padding": {
37145
- "top": 11,
37146
- "bottom": 11
37147
- }
37148
38925
  }
37149
38926
  },
37150
38927
  {
37151
- "id": "himi_blog_post.hide_cancel",
38928
+ "id": "himi_blog_post.comment_error",
37152
38929
  "body": {
37153
38930
  "package": "himalaya",
37154
- "type": "Button",
38931
+ "type": "Text",
37155
38932
  "props": {
37156
- "title": "Cancel",
37157
- "style": "secondary",
37158
- "fullWidth": true,
37159
- "action": {
37160
- "actionId": "tier5.himiBlogPost.closeHide"
37161
- }
38933
+ "text": "$service:himiBlogPost.sendError",
38934
+ "style": "footnote",
38935
+ "color": "danger"
37162
38936
  }
37163
38937
  },
37164
38938
  "modifiers": {
37165
- "padding": {
37166
- "top": 8
37167
- }
38939
+ "hiddenPath": "$service:himiBlogPost.noSendError"
37168
38940
  }
37169
38941
  }
37170
38942
  ]
37171
38943
  }
37172
38944
  },
37173
38945
  "modifiers": {
37174
- "padding": {
37175
- "leading": 20,
37176
- "trailing": 20,
37177
- "top": 12,
37178
- "bottom": 8
37179
- }
38946
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
37180
38947
  }
37181
38948
  }
37182
38949
  }
@@ -37233,7 +39000,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37233
39000
  "share",
37234
39001
  "local_database",
37235
39002
  "open_url",
37236
- "ui"
39003
+ "ui",
39004
+ "keyboard"
37237
39005
  ],
37238
39006
  "minBinaryVersion": "0.1.0",
37239
39007
  "bundleVersion": "0.0.1"