@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
@@ -29835,7 +29835,7 @@ const SCREENS = runtimeSetting({
29835
29835
  "alignment": "leading",
29836
29836
  "children": [
29837
29837
  {
29838
- "id": "",
29838
+ "id": "himi_blog.heading",
29839
29839
  "body": {
29840
29840
  "package": "himalaya",
29841
29841
  "type": "VStack",
@@ -29865,8 +29865,7 @@ const SCREENS = runtimeSetting({
29865
29865
  "props": {
29866
29866
  "text": "Tips, trends and news from the salon.",
29867
29867
  "style": "body",
29868
- "color": "textSecondary",
29869
- "collapseWhenEmpty": true
29868
+ "color": "textSecondary"
29870
29869
  }
29871
29870
  }
29872
29871
  }
@@ -29947,6 +29946,7 @@ const SCREENS = runtimeSetting({
29947
29946
  "type": "HStack",
29948
29947
  "props": {
29949
29948
  "spacing": 10,
29949
+ "alignment": "center",
29950
29950
  "children": [
29951
29951
  {
29952
29952
  "id": "",
@@ -30184,6 +30184,7 @@ const SCREENS = runtimeSetting({
30184
30184
  "type": "HStack",
30185
30185
  "props": {
30186
30186
  "spacing": 14,
30187
+ "alignment": "center",
30187
30188
  "children": [
30188
30189
  {
30189
30190
  "id": "",
@@ -30323,6 +30324,7 @@ const SCREENS = runtimeSetting({
30323
30324
  "type": "HStack",
30324
30325
  "props": {
30325
30326
  "spacing": 4,
30327
+ "alignment": "center",
30326
30328
  "children": [
30327
30329
  {
30328
30330
  "id": "",
@@ -30377,6 +30379,7 @@ const SCREENS = runtimeSetting({
30377
30379
  "type": "HStack",
30378
30380
  "props": {
30379
30381
  "spacing": 12,
30382
+ "alignment": "center",
30380
30383
  "children": [
30381
30384
  {
30382
30385
  "id": "himi_blog.post_author.photo",
@@ -30817,71 +30820,56 @@ const SCREENS = runtimeSetting({
30817
30820
  }
30818
30821
  },
30819
30822
  {
30820
- "id": "",
30823
+ "id": "himi_blog.empty",
30821
30824
  "body": {
30822
30825
  "package": "himalaya",
30823
- "type": "VStack",
30826
+ "type": "EmptyState",
30824
30827
  "props": {
30825
- "spacing": 12,
30826
- "alignment": "center",
30827
- "children": [
30828
- {
30829
- "id": "",
30830
- "body": {
30831
- "package": "himalaya",
30832
- "type": "Icon",
30833
- "props": {
30834
- "name": "newspaper",
30835
- "size": 34,
30836
- "tint": "textTertiary"
30837
- }
30838
- },
30839
- "modifiers": {
30840
- "accessibilityRole": "decorative"
30841
- }
30842
- },
30843
- {
30844
- "id": "",
30845
- "body": {
30846
- "package": "himalaya",
30847
- "type": "Text",
30848
- "props": {
30849
- "text": "$service:himiBlogFeed.emptyText",
30850
- "style": "bodyEmphasis",
30851
- "color": "textSecondary",
30852
- "collapseWhenEmpty": true
30853
- }
30854
- }
30855
- },
30856
- {
30857
- "id": "himi_blog.empty.cta",
30858
- "body": {
30859
- "package": "himalaya",
30860
- "type": "Button",
30861
- "props": {
30862
- "title": "Clear filters",
30863
- "style": "secondary",
30864
- "action": {
30865
- "actionId": "tier5.himiBlogFeed.clearFilters"
30866
- }
30867
- }
30868
- }
30869
- }
30870
- ]
30828
+ "title": "$service:himiBlogFeed.emptyText",
30829
+ "subtitle": "Try a different word or category.",
30830
+ "icon": "search",
30831
+ "actionLabel": "Clear filters",
30832
+ "action": {
30833
+ "actionId": "tier5.himiBlogFeed.clearFilters"
30834
+ }
30871
30835
  }
30872
30836
  },
30873
30837
  "modifiers": {
30874
30838
  "padding": {
30875
30839
  "leading": 24,
30876
30840
  "trailing": 24,
30877
- "top": 24,
30841
+ "top": 48,
30842
+ "bottom": 24
30843
+ },
30844
+ "transition": {
30845
+ "enter": "fade",
30846
+ "exit": "fade"
30847
+ },
30848
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
30849
+ }
30850
+ },
30851
+ {
30852
+ "id": "himi_blog.empty_none",
30853
+ "body": {
30854
+ "package": "himalaya",
30855
+ "type": "EmptyState",
30856
+ "props": {
30857
+ "title": "$service:himiBlogFeed.emptyText",
30858
+ "icon": "document"
30859
+ }
30860
+ },
30861
+ "modifiers": {
30862
+ "padding": {
30863
+ "leading": 24,
30864
+ "trailing": 24,
30865
+ "top": 48,
30878
30866
  "bottom": 24
30879
30867
  },
30880
30868
  "transition": {
30881
30869
  "enter": "fade",
30882
30870
  "exit": "fade"
30883
30871
  },
30884
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
30872
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
30885
30873
  }
30886
30874
  }
30887
30875
  ]
@@ -30913,21 +30901,6 @@ const SCREENS = runtimeSetting({
30913
30901
  ],
30914
30902
  "minBinaryVersion": "0.1.0",
30915
30903
  "bundleVersion": "0.0.1"
30916
- },
30917
- "topBar": {
30918
- "actions": [
30919
- {
30920
- "id": "account",
30921
- "icon": "person",
30922
- "accessibilityLabel": "Account",
30923
- "onTap": {
30924
- "actionId": "himi.open",
30925
- "params": {
30926
- "screenId": "himi_account"
30927
- }
30928
- }
30929
- }
30930
- ]
30931
30904
  }
30932
30905
  },
30933
30906
  "himi_saved": {
@@ -31008,6 +30981,7 @@ const SCREENS = runtimeSetting({
31008
30981
  "type": "HStack",
31009
30982
  "props": {
31010
30983
  "spacing": 10,
30984
+ "alignment": "center",
31011
30985
  "children": [
31012
30986
  {
31013
30987
  "id": "",
@@ -31413,73 +31387,21 @@ const SCREENS = runtimeSetting({
31413
31387
  }
31414
31388
  },
31415
31389
  {
31416
- "id": "",
31390
+ "id": "himi_saved.empty",
31417
31391
  "body": {
31418
31392
  "package": "himalaya",
31419
- "type": "VStack",
31393
+ "type": "EmptyState",
31420
31394
  "props": {
31421
- "spacing": 12,
31422
- "alignment": "center",
31423
- "children": [
31424
- {
31425
- "id": "",
31426
- "body": {
31427
- "package": "himalaya",
31428
- "type": "Icon",
31429
- "props": {
31430
- "name": "bookmark",
31431
- "size": 34,
31432
- "tint": "textTertiary"
31433
- }
31434
- },
31435
- "modifiers": {
31436
- "accessibilityRole": "decorative"
31437
- }
31438
- },
31439
- {
31440
- "id": "",
31441
- "body": {
31442
- "package": "himalaya",
31443
- "type": "Text",
31444
- "props": {
31445
- "text": "$service:himiBlogSaved.emptyText",
31446
- "style": "bodyEmphasis",
31447
- "color": "textSecondary",
31448
- "collapseWhenEmpty": true
31449
- }
31450
- }
31451
- },
31452
- {
31453
- "id": "",
31454
- "body": {
31455
- "package": "himalaya",
31456
- "type": "Text",
31457
- "props": {
31458
- "text": "Tap the bookmark on a post to read it later.",
31459
- "style": "footnote",
31460
- "color": "textTertiary",
31461
- "maxLines": 2
31462
- }
31463
- }
31464
- },
31465
- {
31466
- "id": "himi_saved.empty.cta",
31467
- "body": {
31468
- "package": "himalaya",
31469
- "type": "Button",
31470
- "props": {
31471
- "title": "Browse Blog",
31472
- "style": "secondary",
31473
- "action": {
31474
- "actionId": "himi.open",
31475
- "params": {
31476
- "screenId": "himi_blog"
31477
- }
31478
- }
31479
- }
31480
- }
31395
+ "title": "$service:himiBlogSaved.emptyText",
31396
+ "subtitle": "Tap the bookmark on a post to read it later.",
31397
+ "icon": "bookmark",
31398
+ "actionLabel": "Browse Blog",
31399
+ "action": {
31400
+ "actionId": "himi.open",
31401
+ "params": {
31402
+ "screenId": "himi_blog"
31481
31403
  }
31482
- ]
31404
+ }
31483
31405
  }
31484
31406
  },
31485
31407
  "modifiers": {
@@ -40102,6 +40024,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40102
40024
  "type": "HStack",
40103
40025
  "props": {
40104
40026
  "spacing": 10,
40027
+ "alignment": "center",
40105
40028
  "children": [
40106
40029
  {
40107
40030
  "id": "",
@@ -40461,6 +40384,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40461
40384
  "type": "HStack",
40462
40385
  "props": {
40463
40386
  "spacing": 12,
40387
+ "alignment": "center",
40464
40388
  "children": [
40465
40389
  {
40466
40390
  "id": "himi_blog_post.author.photo",
@@ -41209,41 +41133,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41209
41133
  "accessibilityRole": "decorative"
41210
41134
  }
41211
41135
  },
41212
- {
41213
- "id": "",
41214
- "body": {
41215
- "package": "himalaya",
41216
- "type": "VStack",
41217
- "props": {
41218
- "spacing": 0,
41219
- "alignment": "leading",
41220
- "children": [
41221
- {
41222
- "id": "himi_blog_post.comments_title",
41223
- "body": {
41224
- "package": "himalaya",
41225
- "type": "Text",
41226
- "props": {
41227
- "text": "$service:himiBlogPost.commentsTitle",
41228
- "style": "title3"
41229
- }
41230
- },
41231
- "modifiers": {
41232
- "accessibilityRole": "heading"
41233
- }
41234
- }
41235
- ]
41236
- }
41237
- },
41238
- "modifiers": {
41239
- "padding": {
41240
- "leading": 20,
41241
- "trailing": 20,
41242
- "top": 20,
41243
- "bottom": 4
41244
- }
41245
- }
41246
- },
41247
41136
  {
41248
41137
  "id": "",
41249
41138
  "body": {
@@ -41255,46 +41144,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41255
41144
  "children": [
41256
41145
  {
41257
41146
  "id": "",
41258
- "body": {
41259
- "package": "himalaya",
41260
- "type": "Text",
41261
- "props": {
41262
- "text": "$service:himiBlogPost.commentStatusText",
41263
- "style": "footnote",
41264
- "color": "textSecondary"
41265
- }
41266
- }
41267
- }
41268
- ]
41269
- }
41270
- },
41271
- "modifiers": {
41272
- "padding": {
41273
- "leading": 20,
41274
- "trailing": 20,
41275
- "top": 6,
41276
- "bottom": 6
41277
- },
41278
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
41279
- }
41280
- },
41281
- {
41282
- "id": "himi_blog_post.comments",
41283
- "body": {
41284
- "package": "himalaya",
41285
- "type": "Grid",
41286
- "props": {
41287
- "columns": 1,
41288
- "spacing": 0,
41289
- "itemsPath": "$service:himiBlogPost.comments",
41290
- "items": [
41291
- {
41292
- "id": "himi_blog_post.comment_row",
41293
41147
  "body": {
41294
41148
  "package": "himalaya",
41295
41149
  "type": "VStack",
41296
41150
  "props": {
41297
- "spacing": 6,
41151
+ "spacing": 14,
41298
41152
  "alignment": "leading",
41299
41153
  "children": [
41300
41154
  {
@@ -41303,73 +41157,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41303
41157
  "package": "himalaya",
41304
41158
  "type": "HStack",
41305
41159
  "props": {
41306
- "spacing": 10,
41160
+ "spacing": 8,
41161
+ "alignment": "center",
41307
41162
  "children": [
41308
41163
  {
41309
- "id": "",
41164
+ "id": "himi_blog_post.comments_title",
41310
41165
  "body": {
41311
41166
  "package": "himalaya",
41312
- "type": "ZStack",
41167
+ "type": "Text",
41313
41168
  "props": {
41314
- "alignment": "center",
41315
- "children": [
41316
- {
41317
- "id": "",
41318
- "body": {
41319
- "package": "himalaya",
41320
- "type": "Text",
41321
- "props": {
41322
- "text": "$item.authorInitial",
41323
- "style": "footnote",
41324
- "color": "accentPrimary"
41325
- }
41326
- }
41327
- }
41328
- ]
41169
+ "text": "$service:himiBlogPost.commentsTitle",
41170
+ "style": "title3"
41329
41171
  }
41330
41172
  },
41331
41173
  "modifiers": {
41332
- "width": 32,
41333
- "height": 32,
41334
- "background": {
41335
- "token": "accentSurface"
41336
- },
41337
- "cornerRadius": 16,
41338
- "accessibilityRole": "decorative"
41174
+ "accessibilityRole": "heading"
41339
41175
  }
41340
41176
  },
41341
41177
  {
41342
41178
  "id": "",
41343
41179
  "body": {
41344
41180
  "package": "himalaya",
41345
- "type": "Text",
41346
- "props": {
41347
- "text": "$item.authorName",
41348
- "style": "bodyEmphasis",
41349
- "maxLines": 1
41350
- }
41181
+ "type": "Spacer",
41182
+ "props": {}
41351
41183
  }
41352
41184
  },
41353
41185
  {
41354
- "id": "",
41186
+ "id": "himi_blog_post.comments_show_all",
41355
41187
  "body": {
41356
41188
  "package": "himalaya",
41357
41189
  "type": "Text",
41358
41190
  "props": {
41359
- "text": "$item.meta",
41360
- "style": "caption",
41361
- "color": "textTertiary",
41362
- "maxLines": 1,
41363
- "collapseWhenEmpty": true
41364
- }
41365
- }
41366
- },
41367
- {
41368
- "id": "",
41369
- "body": {
41370
- "package": "himalaya",
41371
- "type": "Spacer",
41372
- "props": {}
41191
+ "text": "$service:himiBlogPost.showAllLabel",
41192
+ "style": "footnote",
41193
+ "color": "accentPrimary",
41194
+ "maxLines": 1
41195
+ }
41196
+ },
41197
+ "modifiers": {
41198
+ "onTap": {
41199
+ "actionId": "tier5.himiBlogPost.openComments"
41200
+ },
41201
+ "accessibilityRole": "button",
41202
+ "padding": {
41203
+ "top": 6,
41204
+ "bottom": 6,
41205
+ "leading": 6
41206
+ },
41207
+ "hiddenPath": "$service:himiBlogPost.noComments"
41373
41208
  }
41374
41209
  }
41375
41210
  ]
@@ -41378,408 +41213,707 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41378
41213
  },
41379
41214
  {
41380
41215
  "id": "",
41216
+ "body": {
41217
+ "package": "himalaya",
41218
+ "type": "Text",
41219
+ "props": {
41220
+ "text": "$service:himiBlogPost.commentStatusText",
41221
+ "style": "footnote",
41222
+ "color": "textSecondary"
41223
+ }
41224
+ },
41225
+ "modifiers": {
41226
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
41227
+ }
41228
+ },
41229
+ {
41230
+ "id": "himi_blog_post.comments_empty",
41381
41231
  "body": {
41382
41232
  "package": "himalaya",
41383
41233
  "type": "VStack",
41384
41234
  "props": {
41385
- "spacing": 0,
41235
+ "spacing": 4,
41386
41236
  "alignment": "leading",
41387
41237
  "children": [
41388
41238
  {
41389
- "id": "comment_body_$item.id",
41239
+ "id": "",
41390
41240
  "body": {
41391
41241
  "package": "himalaya",
41392
- "type": "RichContent",
41242
+ "type": "Text",
41393
41243
  "props": {
41394
- "documentJsonPath": "$item.bodyJson",
41395
- "onLink": {
41396
- "actionId": "tier5.himiBlogPost.openLink"
41397
- },
41398
- "fallback": {
41399
- "id": "",
41400
- "body": {
41401
- "package": "himalaya",
41402
- "type": "Text",
41403
- "props": {
41404
- "text": "$item.text",
41405
- "style": "body",
41406
- "collapseWhenEmpty": true
41407
- }
41408
- }
41409
- }
41244
+ "text": "No comments yet",
41245
+ "style": "bodyEmphasis"
41410
41246
  }
41411
41247
  }
41412
41248
  },
41413
41249
  {
41414
- "id": "comment_body_text_$item.id",
41250
+ "id": "",
41415
41251
  "body": {
41416
41252
  "package": "himalaya",
41417
41253
  "type": "Text",
41418
41254
  "props": {
41419
- "text": "$item.text",
41420
- "style": "body",
41421
- "collapseWhenEmpty": true
41255
+ "text": "Be the first to share your thoughts.",
41256
+ "style": "footnote",
41257
+ "color": "textSecondary"
41422
41258
  }
41423
- },
41424
- "modifiers": {
41425
- "hiddenPath": "$item.hasBodyJson"
41426
41259
  }
41427
41260
  }
41428
41261
  ]
41429
41262
  }
41430
41263
  },
41431
41264
  "modifiers": {
41432
- "padding": {
41433
- "leading": 42
41434
- }
41435
- }
41436
- },
41437
- {
41438
- "id": "",
41439
- "body": {
41440
- "package": "himalaya",
41441
- "type": "Divider",
41442
- "props": {}
41443
- },
41444
- "modifiers": {
41445
- "padding": {
41446
- "top": 10
41447
- }
41448
- }
41449
- }
41450
- ]
41451
- }
41452
- },
41453
- "modifiers": {
41454
- "padding": {
41455
- "leading": 20,
41456
- "trailing": 20,
41457
- "top": 12
41458
- }
41459
- }
41460
- }
41461
- ]
41462
- }
41463
- }
41464
- },
41465
- {
41466
- "id": "",
41467
- "body": {
41468
- "package": "himalaya",
41469
- "type": "VStack",
41470
- "props": {
41471
- "spacing": 0,
41472
- "alignment": "leading",
41473
- "children": [
41474
- {
41475
- "id": "himi_blog_post.comment_composer",
41476
- "body": {
41477
- "package": "himalaya",
41478
- "type": "VStack",
41479
- "props": {
41480
- "spacing": 10,
41481
- "alignment": "leading",
41482
- "children": [
41483
- {
41484
- "id": "himi_blog_post.comment_input",
41485
- "body": {
41486
- "package": "himalaya",
41487
- "type": "TextField",
41488
- "props": {
41489
- "placeholder": "Write a comment",
41490
- "valuePath": "$service:himiBlogPost.commentText",
41491
- "multilineMaxLines": 4,
41492
- "onChange": {
41493
- "actionId": "tier5.himiBlogPost.setComment"
41494
- }
41495
- }
41496
- }
41497
- },
41498
- {
41499
- "id": "himi_blog_post.comment_submit",
41500
- "body": {
41501
- "package": "himalaya",
41502
- "type": "Button",
41503
- "props": {
41504
- "title": "Post comment",
41505
- "style": "primary",
41506
- "fullWidth": false,
41507
- "action": {
41508
- "actionId": "tier5.himiBlogPost.submitComment"
41509
- }
41510
- }
41511
- }
41512
- }
41513
- ]
41514
- }
41515
- }
41516
- }
41517
- ]
41518
- }
41519
- },
41520
- "modifiers": {
41521
- "padding": {
41522
- "leading": 20,
41523
- "trailing": 20,
41524
- "top": 12,
41525
- "bottom": 16
41526
- },
41527
- "hiddenPath": "$service:himiBlogPost.commentsOff"
41528
- }
41529
- }
41530
- ]
41531
- }
41532
- }
41533
- },
41534
- {
41535
- "id": "himi_blog_post.recent_section",
41536
- "body": {
41537
- "package": "himalaya",
41538
- "type": "VStack",
41539
- "props": {
41540
- "spacing": 0,
41541
- "alignment": "leading",
41542
- "children": [
41543
- {
41544
- "id": "himi_blog_post.recent_band",
41545
- "body": {
41546
- "package": "himalaya",
41547
- "type": "VStack",
41548
- "props": {
41549
- "spacing": 0,
41550
- "children": []
41551
- }
41552
- },
41553
- "modifiers": {
41554
- "height": 12,
41555
- "fillMaxWidth": true,
41556
- "background": {
41557
- "token": "surfaceSecondary"
41558
- },
41559
- "accessibilityRole": "decorative"
41560
- }
41561
- },
41562
- {
41563
- "id": "",
41564
- "body": {
41565
- "package": "himalaya",
41566
- "type": "VStack",
41567
- "props": {
41568
- "spacing": 0,
41569
- "alignment": "leading",
41570
- "children": [
41571
- {
41572
- "id": "",
41573
- "body": {
41574
- "package": "himalaya",
41575
- "type": "Text",
41576
- "props": {
41577
- "text": "Recent posts",
41578
- "style": "title3"
41579
- }
41580
- },
41581
- "modifiers": {
41582
- "accessibilityRole": "heading"
41583
- }
41584
- }
41585
- ]
41586
- }
41587
- },
41588
- "modifiers": {
41589
- "padding": {
41590
- "leading": 20,
41591
- "trailing": 20,
41592
- "top": 20,
41593
- "bottom": 4
41594
- }
41595
- }
41596
- },
41597
- {
41598
- "id": "himi_blog_post.recent",
41599
- "body": {
41600
- "package": "himalaya",
41601
- "type": "Grid",
41602
- "props": {
41603
- "columns": 1,
41604
- "spacing": 0,
41605
- "itemsPath": "$service:himiBlogPost.recent",
41606
- "items": [
41607
- {
41608
- "id": "himi_blog_post.recent_row",
41609
- "body": {
41610
- "package": "himalaya",
41611
- "type": "HStack",
41612
- "props": {
41613
- "spacing": 12,
41614
- "children": [
41615
- {
41616
- "id": "himi_blog_post.recent_cover",
41617
- "body": {
41618
- "package": "himalaya",
41619
- "type": "Image",
41620
- "props": {
41621
- "url": "$item.cover",
41622
- "width": 72,
41623
- "height": 72,
41624
- "contentMode": "fill"
41625
- }
41626
- },
41627
- "modifiers": {
41628
- "accessibilityRole": "decorative",
41629
- "cornerRadius": 8,
41630
- "hiddenPath": "$item.noCover"
41265
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
41631
41266
  }
41632
41267
  },
41633
41268
  {
41634
- "id": "",
41269
+ "id": "himi_blog_post.comments",
41635
41270
  "body": {
41636
41271
  "package": "himalaya",
41637
- "type": "ZStack",
41272
+ "type": "Grid",
41638
41273
  "props": {
41639
- "alignment": "center",
41640
- "children": [
41274
+ "columns": 1,
41275
+ "spacing": 16,
41276
+ "itemsPath": "$service:himiBlogPost.latestComments",
41277
+ "items": [
41641
41278
  {
41642
- "id": "",
41279
+ "id": "himi_blog_post.comment_row",
41643
41280
  "body": {
41644
41281
  "package": "himalaya",
41645
- "type": "Icon",
41282
+ "type": "HStack",
41646
41283
  "props": {
41647
- "name": "newspaper",
41648
- "size": 22,
41649
- "tint": "textTertiary"
41650
- }
41651
- },
41284
+ "spacing": 10,
41285
+ "alignment": "leading",
41286
+ "children": [
41287
+ {
41288
+ "id": "himi_blog_post.comment_avatar.photo",
41289
+ "body": {
41290
+ "package": "himalaya",
41291
+ "type": "Image",
41292
+ "props": {
41293
+ "url": "$item.authorPhoto",
41294
+ "width": 32,
41295
+ "height": 32,
41296
+ "contentMode": "fill",
41297
+ "shape": "circle"
41298
+ }
41299
+ },
41300
+ "modifiers": {
41301
+ "accessibilityRole": "decorative",
41302
+ "hiddenPath": "$item.noAuthorPhoto"
41303
+ }
41304
+ },
41305
+ {
41306
+ "id": "",
41307
+ "body": {
41308
+ "package": "himalaya",
41309
+ "type": "ZStack",
41310
+ "props": {
41311
+ "alignment": "center",
41312
+ "children": [
41313
+ {
41314
+ "id": "",
41315
+ "body": {
41316
+ "package": "himalaya",
41317
+ "type": "Text",
41318
+ "props": {
41319
+ "text": "$item.authorInitial",
41320
+ "style": "footnote",
41321
+ "color": "accentPrimary",
41322
+ "collapseWhenEmpty": true
41323
+ }
41324
+ }
41325
+ }
41326
+ ]
41327
+ }
41328
+ },
41329
+ "modifiers": {
41330
+ "width": 32,
41331
+ "height": 32,
41332
+ "background": {
41333
+ "token": "accentSurface"
41334
+ },
41335
+ "cornerRadius": 16,
41336
+ "accessibilityRole": "decorative",
41337
+ "hiddenPath": "$item.hasAuthorPhoto"
41338
+ }
41339
+ },
41340
+ {
41341
+ "id": "",
41342
+ "body": {
41343
+ "package": "himalaya",
41344
+ "type": "VStack",
41345
+ "props": {
41346
+ "spacing": 4,
41347
+ "alignment": "leading",
41348
+ "children": [
41349
+ {
41350
+ "id": "",
41351
+ "body": {
41352
+ "package": "himalaya",
41353
+ "type": "HStack",
41354
+ "props": {
41355
+ "spacing": 6,
41356
+ "alignment": "center",
41357
+ "children": [
41358
+ {
41359
+ "id": "",
41360
+ "body": {
41361
+ "package": "himalaya",
41362
+ "type": "Text",
41363
+ "props": {
41364
+ "text": "$item.authorName",
41365
+ "style": "footnote",
41366
+ "maxLines": 1
41367
+ }
41368
+ }
41369
+ },
41370
+ {
41371
+ "id": "",
41372
+ "body": {
41373
+ "package": "himalaya",
41374
+ "type": "Text",
41375
+ "props": {
41376
+ "text": "$item.meta",
41377
+ "style": "caption",
41378
+ "color": "textTertiary",
41379
+ "maxLines": 1,
41380
+ "collapseWhenEmpty": true
41381
+ }
41382
+ }
41383
+ },
41384
+ {
41385
+ "id": "",
41386
+ "body": {
41387
+ "package": "himalaya",
41388
+ "type": "Spacer",
41389
+ "props": {}
41390
+ }
41391
+ },
41392
+ {
41393
+ "id": "",
41394
+ "body": {
41395
+ "package": "himalaya",
41396
+ "type": "HStack",
41397
+ "props": {
41398
+ "spacing": 0,
41399
+ "alignment": "center",
41400
+ "children": [
41401
+ {
41402
+ "id": "himi_blog_post.comment_menu",
41403
+ "body": {
41404
+ "package": "himalaya",
41405
+ "type": "Menu",
41406
+ "props": {
41407
+ "anchor": {
41408
+ "id": "",
41409
+ "body": {
41410
+ "package": "himalaya",
41411
+ "type": "Icon",
41412
+ "props": {
41413
+ "name": "more_vertical",
41414
+ "size": 18,
41415
+ "tint": "textSecondary"
41416
+ }
41417
+ },
41418
+ "modifiers": {
41419
+ "accessibilityRole": "button",
41420
+ "accessibilityLabel": "Comment actions",
41421
+ "padding": {
41422
+ "leading": 13,
41423
+ "trailing": 13,
41424
+ "top": 4,
41425
+ "bottom": 4
41426
+ }
41427
+ }
41428
+ },
41429
+ "style": "dropdown",
41430
+ "items": [
41431
+ {
41432
+ "id": "report",
41433
+ "label": "Report",
41434
+ "icon": "warning",
41435
+ "action": {
41436
+ "actionId": "tier5.himiBlogPost.reportComment",
41437
+ "params": {
41438
+ "id": "$item.id"
41439
+ }
41440
+ }
41441
+ }
41442
+ ]
41443
+ }
41444
+ }
41445
+ }
41446
+ ]
41447
+ }
41448
+ },
41449
+ "modifiers": {
41450
+ "hiddenPath": "$item.noReport"
41451
+ }
41452
+ }
41453
+ ]
41454
+ }
41455
+ }
41456
+ },
41457
+ {
41458
+ "id": "comment_preview_$item.id",
41459
+ "body": {
41460
+ "package": "himalaya",
41461
+ "type": "Text",
41462
+ "props": {
41463
+ "text": "$item.preview",
41464
+ "style": "body",
41465
+ "maxLines": 2
41466
+ }
41467
+ }
41468
+ },
41469
+ {
41470
+ "id": "",
41471
+ "body": {
41472
+ "package": "himalaya",
41473
+ "type": "HStack",
41474
+ "props": {
41475
+ "spacing": 12,
41476
+ "alignment": "center",
41477
+ "children": [
41478
+ {
41479
+ "id": "",
41480
+ "body": {
41481
+ "package": "himalaya",
41482
+ "type": "HStack",
41483
+ "props": {
41484
+ "spacing": 0,
41485
+ "alignment": "center",
41486
+ "children": [
41487
+ {
41488
+ "id": "himi_blog_post.comment_like",
41489
+ "body": {
41490
+ "package": "himalaya",
41491
+ "type": "HStack",
41492
+ "props": {
41493
+ "spacing": 4,
41494
+ "alignment": "center",
41495
+ "children": [
41496
+ {
41497
+ "id": "",
41498
+ "body": {
41499
+ "package": "himalaya",
41500
+ "type": "Icon",
41501
+ "props": {
41502
+ "name": "heart",
41503
+ "size": 14,
41504
+ "tint": "textSecondary"
41505
+ }
41506
+ },
41507
+ "modifiers": {
41508
+ "accessibilityRole": "decorative"
41509
+ }
41510
+ },
41511
+ {
41512
+ "id": "",
41513
+ "body": {
41514
+ "package": "himalaya",
41515
+ "type": "Text",
41516
+ "props": {
41517
+ "text": "$item.likes",
41518
+ "style": "caption",
41519
+ "color": "textSecondary",
41520
+ "monospacedDigits": true
41521
+ }
41522
+ }
41523
+ }
41524
+ ]
41525
+ }
41526
+ },
41527
+ "modifiers": {
41528
+ "border": {
41529
+ "width": 1,
41530
+ "color": {
41531
+ "token": "border"
41532
+ }
41533
+ },
41534
+ "cornerRadius": 999,
41535
+ "padding": {
41536
+ "leading": 10,
41537
+ "trailing": 10,
41538
+ "top": 4,
41539
+ "bottom": 4
41540
+ },
41541
+ "onTap": {
41542
+ "actionId": "tier5.himiBlogPost.likeComment",
41543
+ "params": {
41544
+ "id": "$item.id"
41545
+ }
41546
+ },
41547
+ "pressFeedback": "scale",
41548
+ "haptic": "light",
41549
+ "accessibilityRole": "button",
41550
+ "accessibilityLabel": "Like",
41551
+ "hiddenPath": "$item.liked"
41552
+ }
41553
+ },
41554
+ {
41555
+ "id": "himi_blog_post.comment_unlike",
41556
+ "body": {
41557
+ "package": "himalaya",
41558
+ "type": "HStack",
41559
+ "props": {
41560
+ "spacing": 4,
41561
+ "alignment": "center",
41562
+ "children": [
41563
+ {
41564
+ "id": "",
41565
+ "body": {
41566
+ "package": "himalaya",
41567
+ "type": "Icon",
41568
+ "props": {
41569
+ "name": "heart_fill",
41570
+ "size": 14,
41571
+ "tint": "danger"
41572
+ }
41573
+ },
41574
+ "modifiers": {
41575
+ "accessibilityRole": "decorative"
41576
+ }
41577
+ },
41578
+ {
41579
+ "id": "",
41580
+ "body": {
41581
+ "package": "himalaya",
41582
+ "type": "Text",
41583
+ "props": {
41584
+ "text": "$item.likes",
41585
+ "style": "caption",
41586
+ "color": "danger",
41587
+ "monospacedDigits": true
41588
+ }
41589
+ }
41590
+ }
41591
+ ]
41592
+ }
41593
+ },
41594
+ "modifiers": {
41595
+ "background": {
41596
+ "token": "dangerSurface"
41597
+ },
41598
+ "cornerRadius": 999,
41599
+ "padding": {
41600
+ "leading": 10,
41601
+ "trailing": 10,
41602
+ "top": 4,
41603
+ "bottom": 4
41604
+ },
41605
+ "onTap": {
41606
+ "actionId": "tier5.himiBlogPost.unlikeComment",
41607
+ "params": {
41608
+ "id": "$item.id"
41609
+ }
41610
+ },
41611
+ "pressFeedback": "scale",
41612
+ "haptic": "light",
41613
+ "accessibilityRole": "button",
41614
+ "accessibilityLabel": "Unlike",
41615
+ "hiddenPath": "$item.notLiked"
41616
+ }
41617
+ }
41618
+ ]
41619
+ }
41620
+ },
41621
+ "modifiers": {
41622
+ "hiddenPath": "$item.noLikes"
41623
+ }
41624
+ },
41625
+ {
41626
+ "id": "",
41627
+ "body": {
41628
+ "package": "himalaya",
41629
+ "type": "HStack",
41630
+ "props": {
41631
+ "spacing": 0,
41632
+ "alignment": "center",
41633
+ "children": [
41634
+ {
41635
+ "id": "himi_blog_post.comment_reply",
41636
+ "body": {
41637
+ "package": "himalaya",
41638
+ "type": "Text",
41639
+ "props": {
41640
+ "text": "Reply",
41641
+ "style": "caption",
41642
+ "color": "textSecondary"
41643
+ }
41644
+ },
41645
+ "modifiers": {
41646
+ "onTap": {
41647
+ "actionId": "tier5.himiBlogPost.replyTo",
41648
+ "params": {
41649
+ "id": "$item.id"
41650
+ }
41651
+ },
41652
+ "accessibilityRole": "button",
41653
+ "padding": {
41654
+ "top": 4,
41655
+ "bottom": 4,
41656
+ "leading": 4,
41657
+ "trailing": 4
41658
+ },
41659
+ "hiddenPath": "$item.noReply"
41660
+ }
41661
+ }
41662
+ ]
41663
+ }
41664
+ },
41665
+ "modifiers": {
41666
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
41667
+ }
41668
+ },
41669
+ {
41670
+ "id": "",
41671
+ "body": {
41672
+ "package": "himalaya",
41673
+ "type": "Spacer",
41674
+ "props": {}
41675
+ }
41676
+ }
41677
+ ]
41678
+ }
41679
+ }
41680
+ }
41681
+ ]
41682
+ }
41683
+ },
41684
+ "modifiers": {
41685
+ "weight": 1
41686
+ }
41687
+ }
41688
+ ]
41689
+ }
41690
+ },
41652
41691
  "modifiers": {
41653
- "accessibilityRole": "decorative"
41692
+ "fillMaxWidth": true
41654
41693
  }
41655
41694
  }
41656
41695
  ]
41657
41696
  }
41658
- },
41659
- "modifiers": {
41660
- "width": 72,
41661
- "height": 72,
41662
- "background": {
41663
- "token": "surfaceSecondary"
41664
- },
41665
- "cornerRadius": 8,
41666
- "accessibilityRole": "decorative",
41667
- "hiddenPath": "$item.hasCover"
41668
41697
  }
41669
41698
  },
41670
41699
  {
41671
- "id": "",
41700
+ "id": "himi_blog_post.comment_open_composer",
41672
41701
  "body": {
41673
41702
  "package": "himalaya",
41674
- "type": "VStack",
41703
+ "type": "HStack",
41675
41704
  "props": {
41676
- "spacing": 4,
41677
- "alignment": "leading",
41705
+ "spacing": 10,
41706
+ "alignment": "center",
41678
41707
  "children": [
41679
41708
  {
41680
- "id": "",
41709
+ "id": "himi_blog_post.comment_input_avatar.photo",
41681
41710
  "body": {
41682
41711
  "package": "himalaya",
41683
- "type": "Text",
41712
+ "type": "Image",
41684
41713
  "props": {
41685
- "text": "$item.title",
41686
- "style": "bodyEmphasis",
41687
- "maxLines": 2
41714
+ "url": "$service:himiBlogPost.memberPhoto",
41715
+ "width": 32,
41716
+ "height": 32,
41717
+ "contentMode": "fill",
41718
+ "shape": "circle"
41688
41719
  }
41720
+ },
41721
+ "modifiers": {
41722
+ "accessibilityRole": "decorative",
41723
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
41689
41724
  }
41690
41725
  },
41691
41726
  {
41692
41727
  "id": "",
41693
41728
  "body": {
41694
41729
  "package": "himalaya",
41695
- "type": "Text",
41730
+ "type": "ZStack",
41696
41731
  "props": {
41697
- "text": "$item.date",
41698
- "style": "caption",
41699
- "color": "textSecondary",
41700
- "maxLines": 1,
41701
- "collapseWhenEmpty": true
41702
- }
41703
- }
41704
- }
41705
- ]
41706
- }
41707
- }
41708
- },
41709
- {
41710
- "id": "",
41711
- "body": {
41712
- "package": "himalaya",
41713
- "type": "Spacer",
41714
- "props": {}
41715
- }
41716
- }
41717
- ]
41732
+ "alignment": "center",
41733
+ "children": [
41734
+ {
41735
+ "id": "",
41736
+ "body": {
41737
+ "package": "himalaya",
41738
+ "type": "Icon",
41739
+ "props": {
41740
+ "name": "person",
41741
+ "size": 16,
41742
+ "tint": "accentPrimary"
41743
+ }
41744
+ },
41745
+ "modifiers": {
41746
+ "accessibilityRole": "decorative",
41747
+ "hiddenPath": "$service:himiBlogPost.isMember"
41748
+ }
41749
+ },
41750
+ {
41751
+ "id": "",
41752
+ "body": {
41753
+ "package": "himalaya",
41754
+ "type": "Text",
41755
+ "props": {
41756
+ "text": "$service:himiBlogPost.memberInitial",
41757
+ "style": "footnote",
41758
+ "color": "accentPrimary",
41759
+ "collapseWhenEmpty": true
41760
+ }
41761
+ }
41762
+ }
41763
+ ]
41764
+ }
41765
+ },
41766
+ "modifiers": {
41767
+ "width": 32,
41768
+ "height": 32,
41769
+ "background": {
41770
+ "token": "accentSurface"
41771
+ },
41772
+ "cornerRadius": 16,
41773
+ "accessibilityRole": "decorative",
41774
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
41775
+ }
41776
+ },
41777
+ {
41778
+ "id": "",
41779
+ "body": {
41780
+ "package": "himalaya",
41781
+ "type": "HStack",
41782
+ "props": {
41783
+ "spacing": 0,
41784
+ "alignment": "center",
41785
+ "children": [
41786
+ {
41787
+ "id": "",
41788
+ "body": {
41789
+ "package": "himalaya",
41790
+ "type": "Text",
41791
+ "props": {
41792
+ "text": "Leave a comment…",
41793
+ "style": "body",
41794
+ "color": "textTertiary",
41795
+ "maxLines": 1
41796
+ }
41797
+ }
41798
+ },
41799
+ {
41800
+ "id": "",
41801
+ "body": {
41802
+ "package": "himalaya",
41803
+ "type": "Spacer",
41804
+ "props": {}
41805
+ }
41806
+ }
41807
+ ]
41808
+ }
41809
+ },
41810
+ "modifiers": {
41811
+ "background": {
41812
+ "token": "surfacePrimary"
41813
+ },
41814
+ "cornerRadius": 999,
41815
+ "padding": {
41816
+ "leading": 16,
41817
+ "trailing": 16,
41818
+ "top": 10,
41819
+ "bottom": 10
41820
+ },
41821
+ "weight": 1
41822
+ }
41823
+ }
41824
+ ]
41825
+ }
41826
+ },
41827
+ "modifiers": {
41828
+ "onTap": {
41829
+ "actionId": "tier5.himiBlogPost.openComposer"
41830
+ },
41831
+ "accessibilityRole": "button",
41832
+ "accessibilityLabel": "Leave a comment…",
41833
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
41834
+ }
41835
+ }
41836
+ ]
41718
41837
  }
41719
41838
  },
41720
41839
  "modifiers": {
41721
- "padding": {
41722
- "leading": 20,
41723
- "trailing": 20,
41724
- "top": 12,
41725
- "bottom": 12
41726
- },
41727
- "onTap": {
41728
- "actionId": "himi.open",
41729
- "params": {
41730
- "screenId": "$item.detailScreenId",
41731
- "id": "$item.id"
41732
- }
41840
+ "background": {
41841
+ "token": "surfaceSecondary"
41733
41842
  },
41734
- "pressFeedback": "scale",
41735
- "haptic": "light",
41736
- "accessibilityLabel": "$item.title"
41843
+ "cornerRadius": 16,
41844
+ "padding": {
41845
+ "leading": 16,
41846
+ "trailing": 16,
41847
+ "top": 16,
41848
+ "bottom": 16
41849
+ }
41737
41850
  }
41738
41851
  }
41739
41852
  ]
41740
41853
  }
41854
+ },
41855
+ "modifiers": {
41856
+ "padding": {
41857
+ "leading": 20,
41858
+ "trailing": 20,
41859
+ "top": 20,
41860
+ "bottom": 20
41861
+ }
41862
+ }
41863
+ }
41864
+ ]
41865
+ }
41866
+ }
41867
+ },
41868
+ {
41869
+ "id": "himi_blog_post.recent_section",
41870
+ "body": {
41871
+ "package": "himalaya",
41872
+ "type": "VStack",
41873
+ "props": {
41874
+ "spacing": 0,
41875
+ "alignment": "leading",
41876
+ "children": [
41877
+ {
41878
+ "id": "himi_blog_post.recent_band",
41879
+ "body": {
41880
+ "package": "himalaya",
41881
+ "type": "VStack",
41882
+ "props": {
41883
+ "spacing": 0,
41884
+ "children": []
41885
+ }
41886
+ },
41887
+ "modifiers": {
41888
+ "height": 12,
41889
+ "fillMaxWidth": true,
41890
+ "background": {
41891
+ "token": "surfaceSecondary"
41892
+ },
41893
+ "accessibilityRole": "decorative"
41741
41894
  }
41742
41895
  },
41743
41896
  {
41744
41897
  "id": "",
41745
41898
  "body": {
41746
41899
  "package": "himalaya",
41747
- "type": "HStack",
41900
+ "type": "VStack",
41748
41901
  "props": {
41749
41902
  "spacing": 0,
41903
+ "alignment": "leading",
41750
41904
  "children": [
41751
41905
  {
41752
41906
  "id": "",
41753
41907
  "body": {
41754
41908
  "package": "himalaya",
41755
- "type": "Spacer",
41756
- "props": {}
41757
- }
41758
- },
41759
- {
41760
- "id": "himi_blog_post.see_all",
41761
- "body": {
41762
- "package": "himalaya",
41763
- "type": "Button",
41909
+ "type": "Text",
41764
41910
  "props": {
41765
- "title": "See All Posts",
41766
- "style": "secondary",
41767
- "fullWidth": false,
41768
- "action": {
41769
- "actionId": "himi.open",
41770
- "params": {
41771
- "screenId": "himi_blog"
41772
- }
41773
- }
41911
+ "text": "Recent posts",
41912
+ "style": "title3"
41774
41913
  }
41775
- }
41776
- },
41777
- {
41778
- "id": "",
41779
- "body": {
41780
- "package": "himalaya",
41781
- "type": "Spacer",
41782
- "props": {}
41914
+ },
41915
+ "modifiers": {
41916
+ "accessibilityRole": "heading"
41783
41917
  }
41784
41918
  }
41785
41919
  ]
@@ -41787,111 +41921,313 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41787
41921
  },
41788
41922
  "modifiers": {
41789
41923
  "padding": {
41790
- "top": 12,
41791
- "bottom": 8
41924
+ "leading": 20,
41925
+ "trailing": 20,
41926
+ "top": 20,
41927
+ "bottom": 4
41792
41928
  }
41793
41929
  }
41794
- }
41795
- ]
41796
- }
41797
- },
41798
- "modifiers": {
41799
- "hiddenPath": "$service:himiBlogPost.noRecent"
41800
- }
41801
- }
41802
- ]
41803
- }
41804
- },
41805
- "modifiers": {
41806
- "hiddenPath": "$service:himiBlogPost.noPost"
41807
- }
41808
- },
41809
- {
41810
- "id": "himi_blog_post.more_sheet",
41811
- "body": {
41812
- "package": "himalaya",
41813
- "type": "BottomSheet",
41814
- "props": {
41815
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
41816
- "dismissible": true,
41817
- "showGrabber": true,
41818
- "onDismiss": {
41819
- "actionId": "tier5.himiBlogPost.closeMore"
41820
- },
41821
- "content": {
41822
- "id": "",
41823
- "body": {
41824
- "package": "himalaya",
41825
- "type": "VStack",
41826
- "props": {
41827
- "spacing": 0,
41828
- "alignment": "leading",
41829
- "children": [
41830
- {
41831
- "id": "himi_blog_post.report",
41832
- "body": {
41833
- "package": "himalaya",
41834
- "type": "HStack",
41835
- "props": {
41836
- "spacing": 14,
41837
- "children": [
41838
- {
41839
- "id": "",
41840
- "body": {
41841
- "package": "himalaya",
41842
- "type": "Icon",
41843
- "props": {
41844
- "name": "warning",
41845
- "size": 22,
41846
- "tint": "textPrimary"
41847
- }
41848
- },
41849
- "modifiers": {
41850
- "accessibilityRole": "decorative"
41851
- }
41852
- },
41853
- {
41854
- "id": "",
41855
- "body": {
41856
- "package": "himalaya",
41857
- "type": "Text",
41858
- "props": {
41859
- "text": "Report",
41860
- "style": "body"
41930
+ },
41931
+ {
41932
+ "id": "himi_blog_post.recent",
41933
+ "body": {
41934
+ "package": "himalaya",
41935
+ "type": "Grid",
41936
+ "props": {
41937
+ "columns": 1,
41938
+ "spacing": 0,
41939
+ "itemsPath": "$service:himiBlogPost.recent",
41940
+ "items": [
41941
+ {
41942
+ "id": "himi_blog_post.recent_row",
41943
+ "body": {
41944
+ "package": "himalaya",
41945
+ "type": "HStack",
41946
+ "props": {
41947
+ "spacing": 12,
41948
+ "children": [
41949
+ {
41950
+ "id": "himi_blog_post.recent_cover",
41951
+ "body": {
41952
+ "package": "himalaya",
41953
+ "type": "Image",
41954
+ "props": {
41955
+ "url": "$item.cover",
41956
+ "width": 72,
41957
+ "height": 72,
41958
+ "contentMode": "fill"
41959
+ }
41960
+ },
41961
+ "modifiers": {
41962
+ "accessibilityRole": "decorative",
41963
+ "cornerRadius": 8,
41964
+ "hiddenPath": "$item.noCover"
41965
+ }
41966
+ },
41967
+ {
41968
+ "id": "",
41969
+ "body": {
41970
+ "package": "himalaya",
41971
+ "type": "ZStack",
41972
+ "props": {
41973
+ "alignment": "center",
41974
+ "children": [
41975
+ {
41976
+ "id": "",
41977
+ "body": {
41978
+ "package": "himalaya",
41979
+ "type": "Icon",
41980
+ "props": {
41981
+ "name": "newspaper",
41982
+ "size": 22,
41983
+ "tint": "textTertiary"
41984
+ }
41985
+ },
41986
+ "modifiers": {
41987
+ "accessibilityRole": "decorative"
41988
+ }
41989
+ }
41990
+ ]
41991
+ }
41992
+ },
41993
+ "modifiers": {
41994
+ "width": 72,
41995
+ "height": 72,
41996
+ "background": {
41997
+ "token": "surfaceSecondary"
41998
+ },
41999
+ "cornerRadius": 8,
42000
+ "accessibilityRole": "decorative",
42001
+ "hiddenPath": "$item.hasCover"
42002
+ }
42003
+ },
42004
+ {
42005
+ "id": "",
42006
+ "body": {
42007
+ "package": "himalaya",
42008
+ "type": "VStack",
42009
+ "props": {
42010
+ "spacing": 4,
42011
+ "alignment": "leading",
42012
+ "children": [
42013
+ {
42014
+ "id": "",
42015
+ "body": {
42016
+ "package": "himalaya",
42017
+ "type": "Text",
42018
+ "props": {
42019
+ "text": "$item.title",
42020
+ "style": "bodyEmphasis",
42021
+ "maxLines": 2
42022
+ }
42023
+ }
42024
+ },
42025
+ {
42026
+ "id": "",
42027
+ "body": {
42028
+ "package": "himalaya",
42029
+ "type": "Text",
42030
+ "props": {
42031
+ "text": "$item.date",
42032
+ "style": "caption",
42033
+ "color": "textSecondary",
42034
+ "maxLines": 1,
42035
+ "collapseWhenEmpty": true
42036
+ }
42037
+ }
42038
+ }
42039
+ ]
42040
+ }
42041
+ }
42042
+ },
42043
+ {
42044
+ "id": "",
42045
+ "body": {
42046
+ "package": "himalaya",
42047
+ "type": "Spacer",
42048
+ "props": {}
42049
+ }
42050
+ }
42051
+ ]
42052
+ }
42053
+ },
42054
+ "modifiers": {
42055
+ "padding": {
42056
+ "leading": 20,
42057
+ "trailing": 20,
42058
+ "top": 12,
42059
+ "bottom": 12
42060
+ },
42061
+ "onTap": {
42062
+ "actionId": "himi.open",
42063
+ "params": {
42064
+ "screenId": "$item.detailScreenId",
42065
+ "id": "$item.id"
42066
+ }
42067
+ },
42068
+ "pressFeedback": "scale",
42069
+ "haptic": "light",
42070
+ "accessibilityLabel": "$item.title"
41861
42071
  }
41862
42072
  }
41863
- },
41864
- {
41865
- "id": "",
41866
- "body": {
41867
- "package": "himalaya",
41868
- "type": "Spacer",
41869
- "props": {}
41870
- }
41871
- }
41872
- ]
42073
+ ]
42074
+ }
41873
42075
  }
41874
42076
  },
41875
- "modifiers": {
41876
- "onTap": {
41877
- "actionId": "tier5.himiBlogPost.report"
41878
- },
41879
- "accessibilityRole": "button",
41880
- "accessibilityLabel": "Report",
41881
- "padding": {
41882
- "top": 11,
41883
- "bottom": 11
42077
+ {
42078
+ "id": "",
42079
+ "body": {
42080
+ "package": "himalaya",
42081
+ "type": "HStack",
42082
+ "props": {
42083
+ "spacing": 0,
42084
+ "children": [
42085
+ {
42086
+ "id": "",
42087
+ "body": {
42088
+ "package": "himalaya",
42089
+ "type": "Spacer",
42090
+ "props": {}
42091
+ }
42092
+ },
42093
+ {
42094
+ "id": "himi_blog_post.see_all",
42095
+ "body": {
42096
+ "package": "himalaya",
42097
+ "type": "Button",
42098
+ "props": {
42099
+ "title": "See All Posts",
42100
+ "style": "secondary",
42101
+ "fullWidth": false,
42102
+ "action": {
42103
+ "actionId": "himi.open",
42104
+ "params": {
42105
+ "screenId": "himi_blog"
42106
+ }
42107
+ }
42108
+ }
42109
+ }
42110
+ },
42111
+ {
42112
+ "id": "",
42113
+ "body": {
42114
+ "package": "himalaya",
42115
+ "type": "Spacer",
42116
+ "props": {}
42117
+ }
42118
+ }
42119
+ ]
42120
+ }
41884
42121
  },
41885
- "hiddenPath": "$service:himiBlogPost.reported"
42122
+ "modifiers": {
42123
+ "padding": {
42124
+ "top": 12,
42125
+ "bottom": 8
42126
+ }
42127
+ }
41886
42128
  }
41887
- },
42129
+ ]
42130
+ }
42131
+ },
42132
+ "modifiers": {
42133
+ "hiddenPath": "$service:himiBlogPost.noRecent"
42134
+ }
42135
+ }
42136
+ ]
42137
+ }
42138
+ },
42139
+ "modifiers": {
42140
+ "hiddenPath": "$service:himiBlogPost.noPost"
42141
+ }
42142
+ },
42143
+ {
42144
+ "id": "himi_blog_post.more_sheet",
42145
+ "body": {
42146
+ "package": "himalaya",
42147
+ "type": "BottomSheet",
42148
+ "props": {
42149
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
42150
+ "dismissible": true,
42151
+ "showGrabber": true,
42152
+ "onDismiss": {
42153
+ "actionId": "tier5.himiBlogPost.closeMore"
42154
+ },
42155
+ "content": {
42156
+ "id": "",
42157
+ "body": {
42158
+ "package": "himalaya",
42159
+ "type": "VStack",
42160
+ "props": {
42161
+ "spacing": 0,
42162
+ "alignment": "leading",
42163
+ "children": [
41888
42164
  {
41889
- "id": "himi_blog_post.hide",
42165
+ "id": "himi_blog_post.report",
41890
42166
  "body": {
41891
42167
  "package": "himalaya",
41892
42168
  "type": "HStack",
41893
42169
  "props": {
41894
42170
  "spacing": 14,
42171
+ "alignment": "center",
42172
+ "children": [
42173
+ {
42174
+ "id": "",
42175
+ "body": {
42176
+ "package": "himalaya",
42177
+ "type": "Icon",
42178
+ "props": {
42179
+ "name": "warning",
42180
+ "size": 22,
42181
+ "tint": "textPrimary"
42182
+ }
42183
+ },
42184
+ "modifiers": {
42185
+ "accessibilityRole": "decorative"
42186
+ }
42187
+ },
42188
+ {
42189
+ "id": "",
42190
+ "body": {
42191
+ "package": "himalaya",
42192
+ "type": "Text",
42193
+ "props": {
42194
+ "text": "Report",
42195
+ "style": "body"
42196
+ }
42197
+ }
42198
+ },
42199
+ {
42200
+ "id": "",
42201
+ "body": {
42202
+ "package": "himalaya",
42203
+ "type": "Spacer",
42204
+ "props": {}
42205
+ }
42206
+ }
42207
+ ]
42208
+ }
42209
+ },
42210
+ "modifiers": {
42211
+ "onTap": {
42212
+ "actionId": "tier5.himiBlogPost.report"
42213
+ },
42214
+ "accessibilityRole": "button",
42215
+ "accessibilityLabel": "Report",
42216
+ "padding": {
42217
+ "top": 11,
42218
+ "bottom": 11
42219
+ },
42220
+ "hiddenPath": "$service:himiBlogPost.reported"
42221
+ }
42222
+ },
42223
+ {
42224
+ "id": "himi_blog_post.hide",
42225
+ "body": {
42226
+ "package": "himalaya",
42227
+ "type": "HStack",
42228
+ "props": {
42229
+ "spacing": 14,
42230
+ "alignment": "center",
41895
42231
  "children": [
41896
42232
  {
41897
42233
  "id": "",
@@ -41905,185 +42241,1504 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41905
42241
  }
41906
42242
  },
41907
42243
  "modifiers": {
41908
- "accessibilityRole": "decorative"
41909
- }
41910
- },
41911
- {
41912
- "id": "",
41913
- "body": {
41914
- "package": "himalaya",
41915
- "type": "Text",
41916
- "props": {
41917
- "text": "Hide post",
41918
- "style": "body"
42244
+ "accessibilityRole": "decorative"
42245
+ }
42246
+ },
42247
+ {
42248
+ "id": "",
42249
+ "body": {
42250
+ "package": "himalaya",
42251
+ "type": "Text",
42252
+ "props": {
42253
+ "text": "Hide post",
42254
+ "style": "body"
42255
+ }
42256
+ }
42257
+ },
42258
+ {
42259
+ "id": "",
42260
+ "body": {
42261
+ "package": "himalaya",
42262
+ "type": "Spacer",
42263
+ "props": {}
42264
+ }
42265
+ }
42266
+ ]
42267
+ }
42268
+ },
42269
+ "modifiers": {
42270
+ "onTap": {
42271
+ "actionId": "tier5.himiBlogPost.openHide"
42272
+ },
42273
+ "accessibilityRole": "button",
42274
+ "accessibilityLabel": "Hide post",
42275
+ "padding": {
42276
+ "top": 11,
42277
+ "bottom": 11
42278
+ },
42279
+ "hiddenPath": "$service:himiBlogPost.hidden"
42280
+ }
42281
+ },
42282
+ {
42283
+ "id": "himi_blog_post.unhide",
42284
+ "body": {
42285
+ "package": "himalaya",
42286
+ "type": "HStack",
42287
+ "props": {
42288
+ "spacing": 14,
42289
+ "alignment": "center",
42290
+ "children": [
42291
+ {
42292
+ "id": "",
42293
+ "body": {
42294
+ "package": "himalaya",
42295
+ "type": "Icon",
42296
+ "props": {
42297
+ "name": "visible",
42298
+ "size": 22,
42299
+ "tint": "textPrimary"
42300
+ }
42301
+ },
42302
+ "modifiers": {
42303
+ "accessibilityRole": "decorative"
42304
+ }
42305
+ },
42306
+ {
42307
+ "id": "",
42308
+ "body": {
42309
+ "package": "himalaya",
42310
+ "type": "Text",
42311
+ "props": {
42312
+ "text": "Undo hide",
42313
+ "style": "body"
42314
+ }
42315
+ }
42316
+ },
42317
+ {
42318
+ "id": "",
42319
+ "body": {
42320
+ "package": "himalaya",
42321
+ "type": "Spacer",
42322
+ "props": {}
42323
+ }
42324
+ }
42325
+ ]
42326
+ }
42327
+ },
42328
+ "modifiers": {
42329
+ "onTap": {
42330
+ "actionId": "tier5.himiBlogPost.unhide"
42331
+ },
42332
+ "accessibilityRole": "button",
42333
+ "accessibilityLabel": "Undo hide",
42334
+ "padding": {
42335
+ "top": 11,
42336
+ "bottom": 11
42337
+ },
42338
+ "hiddenPath": "$service:himiBlogPost.notHidden"
42339
+ }
42340
+ }
42341
+ ]
42342
+ }
42343
+ },
42344
+ "modifiers": {
42345
+ "padding": {
42346
+ "leading": 20,
42347
+ "trailing": 20,
42348
+ "top": 0,
42349
+ "bottom": 8
42350
+ }
42351
+ }
42352
+ }
42353
+ }
42354
+ }
42355
+ },
42356
+ {
42357
+ "id": "himi_blog_post.hide_sheet",
42358
+ "body": {
42359
+ "package": "himalaya",
42360
+ "type": "BottomSheet",
42361
+ "props": {
42362
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
42363
+ "dismissible": true,
42364
+ "showGrabber": true,
42365
+ "onDismiss": {
42366
+ "actionId": "tier5.himiBlogPost.closeHide"
42367
+ },
42368
+ "content": {
42369
+ "id": "",
42370
+ "body": {
42371
+ "package": "himalaya",
42372
+ "type": "VStack",
42373
+ "props": {
42374
+ "spacing": 0,
42375
+ "alignment": "leading",
42376
+ "children": [
42377
+ {
42378
+ "id": "",
42379
+ "body": {
42380
+ "package": "himalaya",
42381
+ "type": "Text",
42382
+ "props": {
42383
+ "text": "Why are you hiding this post?",
42384
+ "style": "title3"
42385
+ }
42386
+ },
42387
+ "modifiers": {
42388
+ "padding": {
42389
+ "bottom": 6
42390
+ }
42391
+ }
42392
+ },
42393
+ {
42394
+ "id": "himi_blog_post.hide_offensive",
42395
+ "body": {
42396
+ "package": "himalaya",
42397
+ "type": "HStack",
42398
+ "props": {
42399
+ "spacing": 14,
42400
+ "alignment": "center",
42401
+ "children": [
42402
+ {
42403
+ "id": "",
42404
+ "body": {
42405
+ "package": "himalaya",
42406
+ "type": "Text",
42407
+ "props": {
42408
+ "text": "It is offensive",
42409
+ "style": "body"
42410
+ }
42411
+ }
42412
+ },
42413
+ {
42414
+ "id": "",
42415
+ "body": {
42416
+ "package": "himalaya",
42417
+ "type": "Spacer",
42418
+ "props": {}
42419
+ }
42420
+ }
42421
+ ]
42422
+ }
42423
+ },
42424
+ "modifiers": {
42425
+ "onTap": {
42426
+ "actionId": "tier5.himiBlogPost.hide",
42427
+ "params": {
42428
+ "reason": "offensive"
42429
+ }
42430
+ },
42431
+ "accessibilityRole": "button",
42432
+ "accessibilityLabel": "It is offensive",
42433
+ "padding": {
42434
+ "top": 11,
42435
+ "bottom": 11
42436
+ }
42437
+ }
42438
+ },
42439
+ {
42440
+ "id": "himi_blog_post.hide_misleading",
42441
+ "body": {
42442
+ "package": "himalaya",
42443
+ "type": "HStack",
42444
+ "props": {
42445
+ "spacing": 14,
42446
+ "alignment": "center",
42447
+ "children": [
42448
+ {
42449
+ "id": "",
42450
+ "body": {
42451
+ "package": "himalaya",
42452
+ "type": "Text",
42453
+ "props": {
42454
+ "text": "It is misleading",
42455
+ "style": "body"
42456
+ }
42457
+ }
42458
+ },
42459
+ {
42460
+ "id": "",
42461
+ "body": {
42462
+ "package": "himalaya",
42463
+ "type": "Spacer",
42464
+ "props": {}
42465
+ }
42466
+ }
42467
+ ]
42468
+ }
42469
+ },
42470
+ "modifiers": {
42471
+ "onTap": {
42472
+ "actionId": "tier5.himiBlogPost.hide",
42473
+ "params": {
42474
+ "reason": "misleading"
42475
+ }
42476
+ },
42477
+ "accessibilityRole": "button",
42478
+ "accessibilityLabel": "It is misleading",
42479
+ "padding": {
42480
+ "top": 11,
42481
+ "bottom": 11
42482
+ }
42483
+ }
42484
+ },
42485
+ {
42486
+ "id": "himi_blog_post.hide_other",
42487
+ "body": {
42488
+ "package": "himalaya",
42489
+ "type": "HStack",
42490
+ "props": {
42491
+ "spacing": 14,
42492
+ "alignment": "center",
42493
+ "children": [
42494
+ {
42495
+ "id": "",
42496
+ "body": {
42497
+ "package": "himalaya",
42498
+ "type": "Text",
42499
+ "props": {
42500
+ "text": "Something else",
42501
+ "style": "body"
42502
+ }
42503
+ }
42504
+ },
42505
+ {
42506
+ "id": "",
42507
+ "body": {
42508
+ "package": "himalaya",
42509
+ "type": "Spacer",
42510
+ "props": {}
42511
+ }
42512
+ }
42513
+ ]
42514
+ }
42515
+ },
42516
+ "modifiers": {
42517
+ "onTap": {
42518
+ "actionId": "tier5.himiBlogPost.hide",
42519
+ "params": {
42520
+ "reason": "other"
42521
+ }
42522
+ },
42523
+ "accessibilityRole": "button",
42524
+ "accessibilityLabel": "Something else",
42525
+ "padding": {
42526
+ "top": 11,
42527
+ "bottom": 11
42528
+ }
42529
+ }
42530
+ },
42531
+ {
42532
+ "id": "himi_blog_post.hide_cancel",
42533
+ "body": {
42534
+ "package": "himalaya",
42535
+ "type": "Button",
42536
+ "props": {
42537
+ "title": "Cancel",
42538
+ "style": "secondary",
42539
+ "fullWidth": true,
42540
+ "action": {
42541
+ "actionId": "tier5.himiBlogPost.closeHide"
42542
+ }
42543
+ }
42544
+ },
42545
+ "modifiers": {
42546
+ "padding": {
42547
+ "top": 8
42548
+ }
42549
+ }
42550
+ }
42551
+ ]
42552
+ }
42553
+ },
42554
+ "modifiers": {
42555
+ "padding": {
42556
+ "leading": 20,
42557
+ "trailing": 20,
42558
+ "top": 12,
42559
+ "bottom": 8
42560
+ }
42561
+ }
42562
+ }
42563
+ }
42564
+ }
42565
+ },
42566
+ {
42567
+ "id": "himi_blog_post.comments_sheet",
42568
+ "body": {
42569
+ "package": "himalaya",
42570
+ "type": "BottomSheet",
42571
+ "props": {
42572
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
42573
+ "dismissible": true,
42574
+ "showGrabber": true,
42575
+ "detents": [
42576
+ 0.9
42577
+ ],
42578
+ "onDismiss": {
42579
+ "actionId": "tier5.himiBlogPost.closeComments"
42580
+ },
42581
+ "content": {
42582
+ "id": "",
42583
+ "body": {
42584
+ "package": "himalaya",
42585
+ "type": "VStack",
42586
+ "props": {
42587
+ "spacing": 12,
42588
+ "alignment": "leading",
42589
+ "children": [
42590
+ {
42591
+ "id": "",
42592
+ "body": {
42593
+ "package": "himalaya",
42594
+ "type": "HStack",
42595
+ "props": {
42596
+ "spacing": 8,
42597
+ "alignment": "center",
42598
+ "children": [
42599
+ {
42600
+ "id": "",
42601
+ "body": {
42602
+ "package": "himalaya",
42603
+ "type": "VStack",
42604
+ "props": {
42605
+ "spacing": 2,
42606
+ "alignment": "leading",
42607
+ "children": [
42608
+ {
42609
+ "id": "himi_blog_post.comments_sheet_title",
42610
+ "body": {
42611
+ "package": "himalaya",
42612
+ "type": "Text",
42613
+ "props": {
42614
+ "text": "$service:himiBlogPost.sheetTitle",
42615
+ "style": "title3"
42616
+ }
42617
+ },
42618
+ "modifiers": {
42619
+ "accessibilityRole": "heading"
42620
+ }
42621
+ },
42622
+ {
42623
+ "id": "",
42624
+ "body": {
42625
+ "package": "himalaya",
42626
+ "type": "Text",
42627
+ "props": {
42628
+ "text": "$service:himiBlogPost.title",
42629
+ "style": "footnote",
42630
+ "color": "textSecondary",
42631
+ "maxLines": 1,
42632
+ "collapseWhenEmpty": true
42633
+ }
42634
+ }
42635
+ }
42636
+ ]
42637
+ }
42638
+ }
42639
+ },
42640
+ {
42641
+ "id": "",
42642
+ "body": {
42643
+ "package": "himalaya",
42644
+ "type": "Spacer",
42645
+ "props": {}
42646
+ }
42647
+ },
42648
+ {
42649
+ "id": "himi_blog_post.comments_close",
42650
+ "body": {
42651
+ "package": "himalaya",
42652
+ "type": "Icon",
42653
+ "props": {
42654
+ "name": "chevron_down",
42655
+ "size": 22,
42656
+ "tint": "textPrimary"
42657
+ }
42658
+ },
42659
+ "modifiers": {
42660
+ "accessibilityRole": "button",
42661
+ "onTap": {
42662
+ "actionId": "tier5.himiBlogPost.closeComments"
42663
+ },
42664
+ "accessibilityLabel": "Close comments",
42665
+ "padding": {
42666
+ "leading": 11,
42667
+ "trailing": 11,
42668
+ "top": 11,
42669
+ "bottom": 11
42670
+ }
42671
+ }
42672
+ }
42673
+ ]
42674
+ }
42675
+ }
42676
+ },
42677
+ {
42678
+ "id": "",
42679
+ "body": {
42680
+ "package": "himalaya",
42681
+ "type": "Text",
42682
+ "props": {
42683
+ "text": "$service:himiBlogPost.commentStatusText",
42684
+ "style": "footnote",
42685
+ "color": "textSecondary"
42686
+ }
42687
+ },
42688
+ "modifiers": {
42689
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
42690
+ }
42691
+ },
42692
+ {
42693
+ "id": "",
42694
+ "body": {
42695
+ "package": "himalaya",
42696
+ "type": "VStack",
42697
+ "props": {
42698
+ "spacing": 4,
42699
+ "alignment": "leading",
42700
+ "children": [
42701
+ {
42702
+ "id": "",
42703
+ "body": {
42704
+ "package": "himalaya",
42705
+ "type": "Text",
42706
+ "props": {
42707
+ "text": "No comments yet",
42708
+ "style": "bodyEmphasis"
42709
+ }
42710
+ }
42711
+ },
42712
+ {
42713
+ "id": "",
42714
+ "body": {
42715
+ "package": "himalaya",
42716
+ "type": "Text",
42717
+ "props": {
42718
+ "text": "Be the first to share your thoughts.",
42719
+ "style": "footnote",
42720
+ "color": "textSecondary"
42721
+ }
42722
+ }
42723
+ }
42724
+ ]
42725
+ }
42726
+ },
42727
+ "modifiers": {
42728
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
42729
+ }
42730
+ },
42731
+ {
42732
+ "id": "himi_blog_post.sheet_comments",
42733
+ "body": {
42734
+ "package": "himalaya",
42735
+ "type": "LazyList",
42736
+ "props": {
42737
+ "spacing": 4,
42738
+ "itemsPath": "$service:himiBlogPost.comments",
42739
+ "items": [
42740
+ {
42741
+ "id": "himi_blog_post.sheet_comment_row",
42742
+ "body": {
42743
+ "package": "himalaya",
42744
+ "type": "VStack",
42745
+ "props": {
42746
+ "spacing": 0,
42747
+ "alignment": "leading",
42748
+ "children": [
42749
+ {
42750
+ "id": "",
42751
+ "body": {
42752
+ "package": "himalaya",
42753
+ "type": "VStack",
42754
+ "props": {
42755
+ "spacing": 0,
42756
+ "alignment": "leading",
42757
+ "children": [
42758
+ {
42759
+ "id": "",
42760
+ "body": {
42761
+ "package": "himalaya",
42762
+ "type": "HStack",
42763
+ "props": {
42764
+ "spacing": 10,
42765
+ "alignment": "leading",
42766
+ "children": [
42767
+ {
42768
+ "id": "himi_blog_post.comment_avatar.photo",
42769
+ "body": {
42770
+ "package": "himalaya",
42771
+ "type": "Image",
42772
+ "props": {
42773
+ "url": "$item.authorPhoto",
42774
+ "width": 32,
42775
+ "height": 32,
42776
+ "contentMode": "fill",
42777
+ "shape": "circle"
42778
+ }
42779
+ },
42780
+ "modifiers": {
42781
+ "accessibilityRole": "decorative",
42782
+ "hiddenPath": "$item.noAuthorPhoto"
42783
+ }
42784
+ },
42785
+ {
42786
+ "id": "",
42787
+ "body": {
42788
+ "package": "himalaya",
42789
+ "type": "ZStack",
42790
+ "props": {
42791
+ "alignment": "center",
42792
+ "children": [
42793
+ {
42794
+ "id": "",
42795
+ "body": {
42796
+ "package": "himalaya",
42797
+ "type": "Text",
42798
+ "props": {
42799
+ "text": "$item.authorInitial",
42800
+ "style": "footnote",
42801
+ "color": "accentPrimary",
42802
+ "collapseWhenEmpty": true
42803
+ }
42804
+ }
42805
+ }
42806
+ ]
42807
+ }
42808
+ },
42809
+ "modifiers": {
42810
+ "width": 32,
42811
+ "height": 32,
42812
+ "background": {
42813
+ "token": "accentSurface"
42814
+ },
42815
+ "cornerRadius": 16,
42816
+ "accessibilityRole": "decorative",
42817
+ "hiddenPath": "$item.hasAuthorPhoto"
42818
+ }
42819
+ },
42820
+ {
42821
+ "id": "",
42822
+ "body": {
42823
+ "package": "himalaya",
42824
+ "type": "VStack",
42825
+ "props": {
42826
+ "spacing": 4,
42827
+ "alignment": "leading",
42828
+ "children": [
42829
+ {
42830
+ "id": "",
42831
+ "body": {
42832
+ "package": "himalaya",
42833
+ "type": "HStack",
42834
+ "props": {
42835
+ "spacing": 6,
42836
+ "alignment": "center",
42837
+ "children": [
42838
+ {
42839
+ "id": "",
42840
+ "body": {
42841
+ "package": "himalaya",
42842
+ "type": "Text",
42843
+ "props": {
42844
+ "text": "$item.authorName",
42845
+ "style": "footnote",
42846
+ "maxLines": 1
42847
+ }
42848
+ }
42849
+ },
42850
+ {
42851
+ "id": "",
42852
+ "body": {
42853
+ "package": "himalaya",
42854
+ "type": "Text",
42855
+ "props": {
42856
+ "text": "$item.meta",
42857
+ "style": "caption",
42858
+ "color": "textTertiary",
42859
+ "maxLines": 1,
42860
+ "collapseWhenEmpty": true
42861
+ }
42862
+ }
42863
+ },
42864
+ {
42865
+ "id": "",
42866
+ "body": {
42867
+ "package": "himalaya",
42868
+ "type": "Spacer",
42869
+ "props": {}
42870
+ }
42871
+ },
42872
+ {
42873
+ "id": "",
42874
+ "body": {
42875
+ "package": "himalaya",
42876
+ "type": "HStack",
42877
+ "props": {
42878
+ "spacing": 0,
42879
+ "alignment": "center",
42880
+ "children": [
42881
+ {
42882
+ "id": "himi_blog_post.reply_menu",
42883
+ "body": {
42884
+ "package": "himalaya",
42885
+ "type": "Menu",
42886
+ "props": {
42887
+ "anchor": {
42888
+ "id": "",
42889
+ "body": {
42890
+ "package": "himalaya",
42891
+ "type": "Icon",
42892
+ "props": {
42893
+ "name": "more_vertical",
42894
+ "size": 18,
42895
+ "tint": "textSecondary"
42896
+ }
42897
+ },
42898
+ "modifiers": {
42899
+ "accessibilityRole": "button",
42900
+ "accessibilityLabel": "Comment actions",
42901
+ "padding": {
42902
+ "leading": 13,
42903
+ "trailing": 13,
42904
+ "top": 4,
42905
+ "bottom": 4
42906
+ }
42907
+ }
42908
+ },
42909
+ "style": "dropdown",
42910
+ "items": [
42911
+ {
42912
+ "id": "report",
42913
+ "label": "Report",
42914
+ "icon": "warning",
42915
+ "action": {
42916
+ "actionId": "tier5.himiBlogPost.reportComment",
42917
+ "params": {
42918
+ "id": "$item.id"
42919
+ }
42920
+ }
42921
+ }
42922
+ ]
42923
+ }
42924
+ }
42925
+ }
42926
+ ]
42927
+ }
42928
+ },
42929
+ "modifiers": {
42930
+ "hiddenPath": "$item.noReport"
42931
+ }
42932
+ }
42933
+ ]
42934
+ }
42935
+ }
42936
+ },
42937
+ {
42938
+ "id": "",
42939
+ "body": {
42940
+ "package": "himalaya",
42941
+ "type": "VStack",
42942
+ "props": {
42943
+ "spacing": 0,
42944
+ "alignment": "leading",
42945
+ "children": [
42946
+ {
42947
+ "id": "reply_body_$item.id",
42948
+ "body": {
42949
+ "package": "himalaya",
42950
+ "type": "RichContent",
42951
+ "props": {
42952
+ "documentJsonPath": "$item.bodyJson",
42953
+ "onLink": {
42954
+ "actionId": "tier5.himiBlogPost.openLink"
42955
+ },
42956
+ "fallback": {
42957
+ "id": "",
42958
+ "body": {
42959
+ "package": "himalaya",
42960
+ "type": "Text",
42961
+ "props": {
42962
+ "text": "$item.text",
42963
+ "style": "body",
42964
+ "collapseWhenEmpty": true
42965
+ }
42966
+ }
42967
+ }
42968
+ }
42969
+ }
42970
+ },
42971
+ {
42972
+ "id": "reply_body_text_$item.id",
42973
+ "body": {
42974
+ "package": "himalaya",
42975
+ "type": "Text",
42976
+ "props": {
42977
+ "text": "$item.text",
42978
+ "style": "body",
42979
+ "collapseWhenEmpty": true
42980
+ }
42981
+ },
42982
+ "modifiers": {
42983
+ "hiddenPath": "$item.hasBodyJson"
42984
+ }
42985
+ }
42986
+ ]
42987
+ }
42988
+ }
42989
+ },
42990
+ {
42991
+ "id": "",
42992
+ "body": {
42993
+ "package": "himalaya",
42994
+ "type": "HStack",
42995
+ "props": {
42996
+ "spacing": 12,
42997
+ "alignment": "center",
42998
+ "children": [
42999
+ {
43000
+ "id": "",
43001
+ "body": {
43002
+ "package": "himalaya",
43003
+ "type": "HStack",
43004
+ "props": {
43005
+ "spacing": 0,
43006
+ "alignment": "center",
43007
+ "children": [
43008
+ {
43009
+ "id": "himi_blog_post.comment_like",
43010
+ "body": {
43011
+ "package": "himalaya",
43012
+ "type": "HStack",
43013
+ "props": {
43014
+ "spacing": 4,
43015
+ "alignment": "center",
43016
+ "children": [
43017
+ {
43018
+ "id": "",
43019
+ "body": {
43020
+ "package": "himalaya",
43021
+ "type": "Icon",
43022
+ "props": {
43023
+ "name": "heart",
43024
+ "size": 14,
43025
+ "tint": "textSecondary"
43026
+ }
43027
+ },
43028
+ "modifiers": {
43029
+ "accessibilityRole": "decorative"
43030
+ }
43031
+ },
43032
+ {
43033
+ "id": "",
43034
+ "body": {
43035
+ "package": "himalaya",
43036
+ "type": "Text",
43037
+ "props": {
43038
+ "text": "$item.likes",
43039
+ "style": "caption",
43040
+ "color": "textSecondary",
43041
+ "monospacedDigits": true
43042
+ }
43043
+ }
43044
+ }
43045
+ ]
43046
+ }
43047
+ },
43048
+ "modifiers": {
43049
+ "border": {
43050
+ "width": 1,
43051
+ "color": {
43052
+ "token": "border"
43053
+ }
43054
+ },
43055
+ "cornerRadius": 999,
43056
+ "padding": {
43057
+ "leading": 10,
43058
+ "trailing": 10,
43059
+ "top": 4,
43060
+ "bottom": 4
43061
+ },
43062
+ "onTap": {
43063
+ "actionId": "tier5.himiBlogPost.likeComment",
43064
+ "params": {
43065
+ "id": "$item.id"
43066
+ }
43067
+ },
43068
+ "pressFeedback": "scale",
43069
+ "haptic": "light",
43070
+ "accessibilityRole": "button",
43071
+ "accessibilityLabel": "Like",
43072
+ "hiddenPath": "$item.liked"
43073
+ }
43074
+ },
43075
+ {
43076
+ "id": "himi_blog_post.comment_unlike",
43077
+ "body": {
43078
+ "package": "himalaya",
43079
+ "type": "HStack",
43080
+ "props": {
43081
+ "spacing": 4,
43082
+ "alignment": "center",
43083
+ "children": [
43084
+ {
43085
+ "id": "",
43086
+ "body": {
43087
+ "package": "himalaya",
43088
+ "type": "Icon",
43089
+ "props": {
43090
+ "name": "heart_fill",
43091
+ "size": 14,
43092
+ "tint": "danger"
43093
+ }
43094
+ },
43095
+ "modifiers": {
43096
+ "accessibilityRole": "decorative"
43097
+ }
43098
+ },
43099
+ {
43100
+ "id": "",
43101
+ "body": {
43102
+ "package": "himalaya",
43103
+ "type": "Text",
43104
+ "props": {
43105
+ "text": "$item.likes",
43106
+ "style": "caption",
43107
+ "color": "danger",
43108
+ "monospacedDigits": true
43109
+ }
43110
+ }
43111
+ }
43112
+ ]
43113
+ }
43114
+ },
43115
+ "modifiers": {
43116
+ "background": {
43117
+ "token": "dangerSurface"
43118
+ },
43119
+ "cornerRadius": 999,
43120
+ "padding": {
43121
+ "leading": 10,
43122
+ "trailing": 10,
43123
+ "top": 4,
43124
+ "bottom": 4
43125
+ },
43126
+ "onTap": {
43127
+ "actionId": "tier5.himiBlogPost.unlikeComment",
43128
+ "params": {
43129
+ "id": "$item.id"
43130
+ }
43131
+ },
43132
+ "pressFeedback": "scale",
43133
+ "haptic": "light",
43134
+ "accessibilityRole": "button",
43135
+ "accessibilityLabel": "Unlike",
43136
+ "hiddenPath": "$item.notLiked"
43137
+ }
43138
+ }
43139
+ ]
43140
+ }
43141
+ },
43142
+ "modifiers": {
43143
+ "hiddenPath": "$item.noLikes"
43144
+ }
43145
+ },
43146
+ {
43147
+ "id": "",
43148
+ "body": {
43149
+ "package": "himalaya",
43150
+ "type": "HStack",
43151
+ "props": {
43152
+ "spacing": 0,
43153
+ "alignment": "center",
43154
+ "children": [
43155
+ {
43156
+ "id": "himi_blog_post.comment_reply",
43157
+ "body": {
43158
+ "package": "himalaya",
43159
+ "type": "Text",
43160
+ "props": {
43161
+ "text": "Reply",
43162
+ "style": "caption",
43163
+ "color": "textSecondary"
43164
+ }
43165
+ },
43166
+ "modifiers": {
43167
+ "onTap": {
43168
+ "actionId": "tier5.himiBlogPost.replyTo",
43169
+ "params": {
43170
+ "id": "$item.id"
43171
+ }
43172
+ },
43173
+ "accessibilityRole": "button",
43174
+ "padding": {
43175
+ "top": 4,
43176
+ "bottom": 4,
43177
+ "leading": 4,
43178
+ "trailing": 4
43179
+ },
43180
+ "hiddenPath": "$item.noReply"
43181
+ }
43182
+ }
43183
+ ]
43184
+ }
43185
+ },
43186
+ "modifiers": {
43187
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
43188
+ }
43189
+ },
43190
+ {
43191
+ "id": "",
43192
+ "body": {
43193
+ "package": "himalaya",
43194
+ "type": "Spacer",
43195
+ "props": {}
43196
+ }
43197
+ }
43198
+ ]
43199
+ }
43200
+ }
43201
+ }
43202
+ ]
43203
+ }
43204
+ },
43205
+ "modifiers": {
43206
+ "weight": 1
43207
+ }
43208
+ }
43209
+ ]
43210
+ }
43211
+ },
43212
+ "modifiers": {
43213
+ "fillMaxWidth": true
43214
+ }
43215
+ }
43216
+ ]
43217
+ }
43218
+ },
43219
+ "modifiers": {
43220
+ "padding": {
43221
+ "leading": 42
43222
+ },
43223
+ "hiddenPath": "$item.notReply"
43224
+ }
43225
+ },
43226
+ {
43227
+ "id": "",
43228
+ "body": {
43229
+ "package": "himalaya",
43230
+ "type": "HStack",
43231
+ "props": {
43232
+ "spacing": 10,
43233
+ "alignment": "leading",
43234
+ "children": [
43235
+ {
43236
+ "id": "himi_blog_post.comment_avatar.photo",
43237
+ "body": {
43238
+ "package": "himalaya",
43239
+ "type": "Image",
43240
+ "props": {
43241
+ "url": "$item.authorPhoto",
43242
+ "width": 32,
43243
+ "height": 32,
43244
+ "contentMode": "fill",
43245
+ "shape": "circle"
43246
+ }
43247
+ },
43248
+ "modifiers": {
43249
+ "accessibilityRole": "decorative",
43250
+ "hiddenPath": "$item.noAuthorPhoto"
43251
+ }
43252
+ },
43253
+ {
43254
+ "id": "",
43255
+ "body": {
43256
+ "package": "himalaya",
43257
+ "type": "ZStack",
43258
+ "props": {
43259
+ "alignment": "center",
43260
+ "children": [
43261
+ {
43262
+ "id": "",
43263
+ "body": {
43264
+ "package": "himalaya",
43265
+ "type": "Text",
43266
+ "props": {
43267
+ "text": "$item.authorInitial",
43268
+ "style": "footnote",
43269
+ "color": "accentPrimary",
43270
+ "collapseWhenEmpty": true
43271
+ }
43272
+ }
43273
+ }
43274
+ ]
43275
+ }
43276
+ },
43277
+ "modifiers": {
43278
+ "width": 32,
43279
+ "height": 32,
43280
+ "background": {
43281
+ "token": "accentSurface"
43282
+ },
43283
+ "cornerRadius": 16,
43284
+ "accessibilityRole": "decorative",
43285
+ "hiddenPath": "$item.hasAuthorPhoto"
43286
+ }
43287
+ },
43288
+ {
43289
+ "id": "",
43290
+ "body": {
43291
+ "package": "himalaya",
43292
+ "type": "VStack",
43293
+ "props": {
43294
+ "spacing": 4,
43295
+ "alignment": "leading",
43296
+ "children": [
43297
+ {
43298
+ "id": "",
43299
+ "body": {
43300
+ "package": "himalaya",
43301
+ "type": "HStack",
43302
+ "props": {
43303
+ "spacing": 6,
43304
+ "alignment": "center",
43305
+ "children": [
43306
+ {
43307
+ "id": "",
43308
+ "body": {
43309
+ "package": "himalaya",
43310
+ "type": "Text",
43311
+ "props": {
43312
+ "text": "$item.authorName",
43313
+ "style": "footnote",
43314
+ "maxLines": 1
43315
+ }
43316
+ }
43317
+ },
43318
+ {
43319
+ "id": "",
43320
+ "body": {
43321
+ "package": "himalaya",
43322
+ "type": "Text",
43323
+ "props": {
43324
+ "text": "$item.meta",
43325
+ "style": "caption",
43326
+ "color": "textTertiary",
43327
+ "maxLines": 1,
43328
+ "collapseWhenEmpty": true
43329
+ }
43330
+ }
43331
+ },
43332
+ {
43333
+ "id": "",
43334
+ "body": {
43335
+ "package": "himalaya",
43336
+ "type": "Spacer",
43337
+ "props": {}
43338
+ }
43339
+ },
43340
+ {
43341
+ "id": "",
43342
+ "body": {
43343
+ "package": "himalaya",
43344
+ "type": "HStack",
43345
+ "props": {
43346
+ "spacing": 0,
43347
+ "alignment": "center",
43348
+ "children": [
43349
+ {
43350
+ "id": "himi_blog_post.comment_menu",
43351
+ "body": {
43352
+ "package": "himalaya",
43353
+ "type": "Menu",
43354
+ "props": {
43355
+ "anchor": {
43356
+ "id": "",
43357
+ "body": {
43358
+ "package": "himalaya",
43359
+ "type": "Icon",
43360
+ "props": {
43361
+ "name": "more_vertical",
43362
+ "size": 18,
43363
+ "tint": "textSecondary"
43364
+ }
43365
+ },
43366
+ "modifiers": {
43367
+ "accessibilityRole": "button",
43368
+ "accessibilityLabel": "Comment actions",
43369
+ "padding": {
43370
+ "leading": 13,
43371
+ "trailing": 13,
43372
+ "top": 4,
43373
+ "bottom": 4
43374
+ }
43375
+ }
43376
+ },
43377
+ "style": "dropdown",
43378
+ "items": [
43379
+ {
43380
+ "id": "report",
43381
+ "label": "Report",
43382
+ "icon": "warning",
43383
+ "action": {
43384
+ "actionId": "tier5.himiBlogPost.reportComment",
43385
+ "params": {
43386
+ "id": "$item.id"
43387
+ }
43388
+ }
43389
+ }
43390
+ ]
43391
+ }
43392
+ }
43393
+ }
43394
+ ]
43395
+ }
43396
+ },
43397
+ "modifiers": {
43398
+ "hiddenPath": "$item.noReport"
43399
+ }
43400
+ }
43401
+ ]
43402
+ }
43403
+ }
43404
+ },
43405
+ {
43406
+ "id": "",
43407
+ "body": {
43408
+ "package": "himalaya",
43409
+ "type": "VStack",
43410
+ "props": {
43411
+ "spacing": 0,
43412
+ "alignment": "leading",
43413
+ "children": [
43414
+ {
43415
+ "id": "comment_body_$item.id",
43416
+ "body": {
43417
+ "package": "himalaya",
43418
+ "type": "RichContent",
43419
+ "props": {
43420
+ "documentJsonPath": "$item.bodyJson",
43421
+ "onLink": {
43422
+ "actionId": "tier5.himiBlogPost.openLink"
43423
+ },
43424
+ "fallback": {
43425
+ "id": "",
43426
+ "body": {
43427
+ "package": "himalaya",
43428
+ "type": "Text",
43429
+ "props": {
43430
+ "text": "$item.text",
43431
+ "style": "body",
43432
+ "collapseWhenEmpty": true
43433
+ }
43434
+ }
43435
+ }
43436
+ }
43437
+ }
43438
+ },
43439
+ {
43440
+ "id": "comment_body_text_$item.id",
43441
+ "body": {
43442
+ "package": "himalaya",
43443
+ "type": "Text",
43444
+ "props": {
43445
+ "text": "$item.text",
43446
+ "style": "body",
43447
+ "collapseWhenEmpty": true
43448
+ }
43449
+ },
43450
+ "modifiers": {
43451
+ "hiddenPath": "$item.hasBodyJson"
43452
+ }
43453
+ }
43454
+ ]
43455
+ }
43456
+ }
43457
+ },
43458
+ {
43459
+ "id": "",
43460
+ "body": {
43461
+ "package": "himalaya",
43462
+ "type": "HStack",
43463
+ "props": {
43464
+ "spacing": 12,
43465
+ "alignment": "center",
43466
+ "children": [
43467
+ {
43468
+ "id": "",
43469
+ "body": {
43470
+ "package": "himalaya",
43471
+ "type": "HStack",
43472
+ "props": {
43473
+ "spacing": 0,
43474
+ "alignment": "center",
43475
+ "children": [
43476
+ {
43477
+ "id": "himi_blog_post.comment_like",
43478
+ "body": {
43479
+ "package": "himalaya",
43480
+ "type": "HStack",
43481
+ "props": {
43482
+ "spacing": 4,
43483
+ "alignment": "center",
43484
+ "children": [
43485
+ {
43486
+ "id": "",
43487
+ "body": {
43488
+ "package": "himalaya",
43489
+ "type": "Icon",
43490
+ "props": {
43491
+ "name": "heart",
43492
+ "size": 14,
43493
+ "tint": "textSecondary"
43494
+ }
43495
+ },
43496
+ "modifiers": {
43497
+ "accessibilityRole": "decorative"
43498
+ }
43499
+ },
43500
+ {
43501
+ "id": "",
43502
+ "body": {
43503
+ "package": "himalaya",
43504
+ "type": "Text",
43505
+ "props": {
43506
+ "text": "$item.likes",
43507
+ "style": "caption",
43508
+ "color": "textSecondary",
43509
+ "monospacedDigits": true
43510
+ }
43511
+ }
43512
+ }
43513
+ ]
43514
+ }
43515
+ },
43516
+ "modifiers": {
43517
+ "border": {
43518
+ "width": 1,
43519
+ "color": {
43520
+ "token": "border"
43521
+ }
43522
+ },
43523
+ "cornerRadius": 999,
43524
+ "padding": {
43525
+ "leading": 10,
43526
+ "trailing": 10,
43527
+ "top": 4,
43528
+ "bottom": 4
43529
+ },
43530
+ "onTap": {
43531
+ "actionId": "tier5.himiBlogPost.likeComment",
43532
+ "params": {
43533
+ "id": "$item.id"
43534
+ }
43535
+ },
43536
+ "pressFeedback": "scale",
43537
+ "haptic": "light",
43538
+ "accessibilityRole": "button",
43539
+ "accessibilityLabel": "Like",
43540
+ "hiddenPath": "$item.liked"
43541
+ }
43542
+ },
43543
+ {
43544
+ "id": "himi_blog_post.comment_unlike",
43545
+ "body": {
43546
+ "package": "himalaya",
43547
+ "type": "HStack",
43548
+ "props": {
43549
+ "spacing": 4,
43550
+ "alignment": "center",
43551
+ "children": [
43552
+ {
43553
+ "id": "",
43554
+ "body": {
43555
+ "package": "himalaya",
43556
+ "type": "Icon",
43557
+ "props": {
43558
+ "name": "heart_fill",
43559
+ "size": 14,
43560
+ "tint": "danger"
43561
+ }
43562
+ },
43563
+ "modifiers": {
43564
+ "accessibilityRole": "decorative"
43565
+ }
43566
+ },
43567
+ {
43568
+ "id": "",
43569
+ "body": {
43570
+ "package": "himalaya",
43571
+ "type": "Text",
43572
+ "props": {
43573
+ "text": "$item.likes",
43574
+ "style": "caption",
43575
+ "color": "danger",
43576
+ "monospacedDigits": true
43577
+ }
43578
+ }
43579
+ }
43580
+ ]
43581
+ }
43582
+ },
43583
+ "modifiers": {
43584
+ "background": {
43585
+ "token": "dangerSurface"
43586
+ },
43587
+ "cornerRadius": 999,
43588
+ "padding": {
43589
+ "leading": 10,
43590
+ "trailing": 10,
43591
+ "top": 4,
43592
+ "bottom": 4
43593
+ },
43594
+ "onTap": {
43595
+ "actionId": "tier5.himiBlogPost.unlikeComment",
43596
+ "params": {
43597
+ "id": "$item.id"
43598
+ }
43599
+ },
43600
+ "pressFeedback": "scale",
43601
+ "haptic": "light",
43602
+ "accessibilityRole": "button",
43603
+ "accessibilityLabel": "Unlike",
43604
+ "hiddenPath": "$item.notLiked"
43605
+ }
43606
+ }
43607
+ ]
43608
+ }
43609
+ },
43610
+ "modifiers": {
43611
+ "hiddenPath": "$item.noLikes"
43612
+ }
43613
+ },
43614
+ {
43615
+ "id": "",
43616
+ "body": {
43617
+ "package": "himalaya",
43618
+ "type": "HStack",
43619
+ "props": {
43620
+ "spacing": 0,
43621
+ "alignment": "center",
43622
+ "children": [
43623
+ {
43624
+ "id": "himi_blog_post.comment_reply",
43625
+ "body": {
43626
+ "package": "himalaya",
43627
+ "type": "Text",
43628
+ "props": {
43629
+ "text": "Reply",
43630
+ "style": "caption",
43631
+ "color": "textSecondary"
43632
+ }
43633
+ },
43634
+ "modifiers": {
43635
+ "onTap": {
43636
+ "actionId": "tier5.himiBlogPost.replyTo",
43637
+ "params": {
43638
+ "id": "$item.id"
43639
+ }
43640
+ },
43641
+ "accessibilityRole": "button",
43642
+ "padding": {
43643
+ "top": 4,
43644
+ "bottom": 4,
43645
+ "leading": 4,
43646
+ "trailing": 4
43647
+ },
43648
+ "hiddenPath": "$item.noReply"
43649
+ }
43650
+ }
43651
+ ]
43652
+ }
43653
+ },
43654
+ "modifiers": {
43655
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
43656
+ }
43657
+ },
43658
+ {
43659
+ "id": "",
43660
+ "body": {
43661
+ "package": "himalaya",
43662
+ "type": "Spacer",
43663
+ "props": {}
43664
+ }
43665
+ }
43666
+ ]
43667
+ }
43668
+ }
43669
+ }
43670
+ ]
43671
+ }
43672
+ },
43673
+ "modifiers": {
43674
+ "weight": 1
43675
+ }
43676
+ }
43677
+ ]
43678
+ }
43679
+ },
43680
+ "modifiers": {
43681
+ "fillMaxWidth": true,
43682
+ "hiddenPath": "$item.isReply"
43683
+ }
43684
+ }
43685
+ ]
43686
+ }
43687
+ },
43688
+ "modifiers": {
43689
+ "backgroundColorPath": "$item.rowBackground",
43690
+ "cornerRadius": 12,
43691
+ "padding": {
43692
+ "leading": 8,
43693
+ "trailing": 8,
43694
+ "top": 8,
43695
+ "bottom": 8
41919
43696
  }
41920
43697
  }
41921
- },
41922
- {
41923
- "id": "",
41924
- "body": {
41925
- "package": "himalaya",
41926
- "type": "Spacer",
41927
- "props": {}
41928
- }
41929
43698
  }
41930
- ]
41931
- }
41932
- },
41933
- "modifiers": {
41934
- "onTap": {
41935
- "actionId": "tier5.himiBlogPost.openHide"
41936
- },
41937
- "accessibilityRole": "button",
41938
- "accessibilityLabel": "Hide post",
41939
- "padding": {
41940
- "top": 11,
41941
- "bottom": 11
41942
- },
41943
- "hiddenPath": "$service:himiBlogPost.hidden"
41944
- }
41945
- },
41946
- {
41947
- "id": "himi_blog_post.unhide",
41948
- "body": {
41949
- "package": "himalaya",
41950
- "type": "HStack",
41951
- "props": {
41952
- "spacing": 14,
41953
- "children": [
41954
- {
41955
- "id": "",
41956
- "body": {
41957
- "package": "himalaya",
41958
- "type": "Icon",
41959
- "props": {
41960
- "name": "visible",
41961
- "size": 22,
41962
- "tint": "textPrimary"
41963
- }
41964
- },
41965
- "modifiers": {
41966
- "accessibilityRole": "decorative"
41967
- }
41968
- },
41969
- {
41970
- "id": "",
41971
- "body": {
41972
- "package": "himalaya",
41973
- "type": "Text",
41974
- "props": {
41975
- "text": "Undo hide",
41976
- "style": "body"
41977
- }
41978
- }
43699
+ ],
43700
+ "pagination": {
43701
+ "cursor": "$service:himiBlogPost.commentsCursor",
43702
+ "onLoadMore": {
43703
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
41979
43704
  },
41980
- {
41981
- "id": "",
41982
- "body": {
41983
- "package": "himalaya",
41984
- "type": "Spacer",
41985
- "props": {}
41986
- }
41987
- }
41988
- ]
43705
+ "pageSize": 20
43706
+ }
41989
43707
  }
41990
- },
41991
- "modifiers": {
41992
- "onTap": {
41993
- "actionId": "tier5.himiBlogPost.unhide"
41994
- },
41995
- "accessibilityRole": "button",
41996
- "accessibilityLabel": "Undo hide",
41997
- "padding": {
41998
- "top": 11,
41999
- "bottom": 11
42000
- },
42001
- "hiddenPath": "$service:himiBlogPost.notHidden"
42002
43708
  }
42003
43709
  }
42004
43710
  ]
42005
43711
  }
42006
- },
42007
- "modifiers": {
42008
- "padding": {
42009
- "leading": 20,
42010
- "trailing": 20,
42011
- "top": 0,
42012
- "bottom": 8
42013
- }
42014
43712
  }
42015
- }
42016
- }
42017
- }
42018
- },
42019
- {
42020
- "id": "himi_blog_post.hide_sheet",
42021
- "body": {
42022
- "package": "himalaya",
42023
- "type": "BottomSheet",
42024
- "props": {
42025
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
42026
- "dismissible": true,
42027
- "showGrabber": true,
42028
- "onDismiss": {
42029
- "actionId": "tier5.himiBlogPost.closeHide"
42030
43713
  },
42031
- "content": {
42032
- "id": "",
43714
+ "footer": {
43715
+ "id": "himi_blog_post.comment_composer",
42033
43716
  "body": {
42034
43717
  "package": "himalaya",
42035
43718
  "type": "VStack",
42036
43719
  "props": {
42037
- "spacing": 0,
43720
+ "spacing": 6,
42038
43721
  "alignment": "leading",
42039
43722
  "children": [
42040
43723
  {
42041
- "id": "",
42042
- "body": {
42043
- "package": "himalaya",
42044
- "type": "Text",
42045
- "props": {
42046
- "text": "Why are you hiding this post?",
42047
- "style": "title3"
42048
- }
42049
- },
42050
- "modifiers": {
42051
- "padding": {
42052
- "bottom": 6
42053
- }
42054
- }
42055
- },
42056
- {
42057
- "id": "himi_blog_post.hide_offensive",
42058
- "body": {
42059
- "package": "himalaya",
42060
- "type": "HStack",
42061
- "props": {
42062
- "spacing": 14,
42063
- "children": [
42064
- {
42065
- "id": "",
42066
- "body": {
42067
- "package": "himalaya",
42068
- "type": "Icon",
42069
- "props": {
42070
- "name": "chevron_right",
42071
- "size": 22,
42072
- "tint": "textPrimary"
42073
- }
42074
- },
42075
- "modifiers": {
42076
- "accessibilityRole": "decorative"
42077
- }
42078
- },
43724
+ "id": "",
43725
+ "body": {
43726
+ "package": "himalaya",
43727
+ "type": "HStack",
43728
+ "props": {
43729
+ "spacing": 8,
43730
+ "alignment": "center",
43731
+ "children": [
42079
43732
  {
42080
43733
  "id": "",
42081
43734
  "body": {
42082
43735
  "package": "himalaya",
42083
43736
  "type": "Text",
42084
43737
  "props": {
42085
- "text": "It is offensive",
42086
- "style": "body"
43738
+ "text": "$service:himiBlogPost.replyingLine",
43739
+ "style": "footnote",
43740
+ "color": "textSecondary",
43741
+ "maxLines": 1
42087
43742
  }
42088
43743
  }
42089
43744
  },
@@ -42094,175 +43749,287 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
42094
43749
  "type": "Spacer",
42095
43750
  "props": {}
42096
43751
  }
43752
+ },
43753
+ {
43754
+ "id": "himi_blog_post.cancel_reply",
43755
+ "body": {
43756
+ "package": "himalaya",
43757
+ "type": "Icon",
43758
+ "props": {
43759
+ "name": "close",
43760
+ "size": 16,
43761
+ "tint": "textSecondary"
43762
+ }
43763
+ },
43764
+ "modifiers": {
43765
+ "accessibilityRole": "button",
43766
+ "onTap": {
43767
+ "actionId": "tier5.himiBlogPost.cancelReply"
43768
+ },
43769
+ "accessibilityLabel": "Cancel reply",
43770
+ "padding": {
43771
+ "top": 14,
43772
+ "bottom": 14,
43773
+ "leading": 14,
43774
+ "trailing": 14
43775
+ }
43776
+ }
42097
43777
  }
42098
43778
  ]
42099
43779
  }
42100
43780
  },
42101
43781
  "modifiers": {
42102
- "onTap": {
42103
- "actionId": "tier5.himiBlogPost.hide",
42104
- "params": {
42105
- "reason": "offensive"
42106
- }
42107
- },
42108
- "accessibilityRole": "button",
42109
- "accessibilityLabel": "It is offensive",
42110
- "padding": {
42111
- "top": 11,
42112
- "bottom": 11
42113
- }
43782
+ "hiddenPath": "$service:himiBlogPost.notReplying"
42114
43783
  }
42115
43784
  },
42116
43785
  {
42117
- "id": "himi_blog_post.hide_misleading",
43786
+ "id": "",
42118
43787
  "body": {
42119
43788
  "package": "himalaya",
42120
43789
  "type": "HStack",
42121
43790
  "props": {
42122
- "spacing": 14,
43791
+ "spacing": 10,
43792
+ "alignment": "center",
42123
43793
  "children": [
42124
43794
  {
42125
- "id": "",
43795
+ "id": "himi_blog_post.composer_avatar.photo",
42126
43796
  "body": {
42127
43797
  "package": "himalaya",
42128
- "type": "Icon",
43798
+ "type": "Image",
42129
43799
  "props": {
42130
- "name": "chevron_right",
42131
- "size": 22,
42132
- "tint": "textPrimary"
43800
+ "url": "$service:himiBlogPost.memberPhoto",
43801
+ "width": 32,
43802
+ "height": 32,
43803
+ "contentMode": "fill",
43804
+ "shape": "circle"
42133
43805
  }
42134
43806
  },
42135
43807
  "modifiers": {
42136
- "accessibilityRole": "decorative"
43808
+ "accessibilityRole": "decorative",
43809
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
42137
43810
  }
42138
43811
  },
42139
43812
  {
42140
43813
  "id": "",
42141
43814
  "body": {
42142
43815
  "package": "himalaya",
42143
- "type": "Text",
43816
+ "type": "ZStack",
42144
43817
  "props": {
42145
- "text": "It is misleading",
42146
- "style": "body"
43818
+ "alignment": "center",
43819
+ "children": [
43820
+ {
43821
+ "id": "",
43822
+ "body": {
43823
+ "package": "himalaya",
43824
+ "type": "Icon",
43825
+ "props": {
43826
+ "name": "person",
43827
+ "size": 16,
43828
+ "tint": "accentPrimary"
43829
+ }
43830
+ },
43831
+ "modifiers": {
43832
+ "accessibilityRole": "decorative",
43833
+ "hiddenPath": "$service:himiBlogPost.isMember"
43834
+ }
43835
+ },
43836
+ {
43837
+ "id": "",
43838
+ "body": {
43839
+ "package": "himalaya",
43840
+ "type": "Text",
43841
+ "props": {
43842
+ "text": "$service:himiBlogPost.memberInitial",
43843
+ "style": "footnote",
43844
+ "color": "accentPrimary",
43845
+ "collapseWhenEmpty": true
43846
+ }
43847
+ }
43848
+ }
43849
+ ]
42147
43850
  }
43851
+ },
43852
+ "modifiers": {
43853
+ "width": 32,
43854
+ "height": 32,
43855
+ "background": {
43856
+ "token": "accentSurface"
43857
+ },
43858
+ "cornerRadius": 16,
43859
+ "accessibilityRole": "decorative",
43860
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
42148
43861
  }
42149
43862
  },
42150
43863
  {
42151
- "id": "",
42152
- "body": {
42153
- "package": "himalaya",
42154
- "type": "Spacer",
42155
- "props": {}
42156
- }
42157
- }
42158
- ]
42159
- }
42160
- },
42161
- "modifiers": {
42162
- "onTap": {
42163
- "actionId": "tier5.himiBlogPost.hide",
42164
- "params": {
42165
- "reason": "misleading"
42166
- }
42167
- },
42168
- "accessibilityRole": "button",
42169
- "accessibilityLabel": "It is misleading",
42170
- "padding": {
42171
- "top": 11,
42172
- "bottom": 11
42173
- }
42174
- }
42175
- },
42176
- {
42177
- "id": "himi_blog_post.hide_other",
42178
- "body": {
42179
- "package": "himalaya",
42180
- "type": "HStack",
42181
- "props": {
42182
- "spacing": 14,
42183
- "children": [
42184
- {
42185
- "id": "",
43864
+ "id": "himi_blog_post.comment_input",
42186
43865
  "body": {
42187
43866
  "package": "himalaya",
42188
- "type": "Icon",
43867
+ "type": "TextField",
42189
43868
  "props": {
42190
- "name": "chevron_right",
42191
- "size": 22,
42192
- "tint": "textPrimary"
43869
+ "placeholder": "Write a comment",
43870
+ "valuePath": "$service:himiBlogPost.commentText",
43871
+ "multilineMaxLines": 4,
43872
+ "focusPath": "$service:himiBlogPost.composerFocus",
43873
+ "borderless": true,
43874
+ "autoCapitalization": "sentences",
43875
+ "onChange": {
43876
+ "actionId": "tier5.himiBlogPost.setComment"
43877
+ }
42193
43878
  }
42194
43879
  },
42195
43880
  "modifiers": {
42196
- "accessibilityRole": "decorative"
43881
+ "background": {
43882
+ "token": "surfaceSecondary"
43883
+ },
43884
+ "cornerRadius": 20,
43885
+ "padding": {
43886
+ "leading": 14,
43887
+ "trailing": 14,
43888
+ "top": 8,
43889
+ "bottom": 8
43890
+ },
43891
+ "weight": 1
42197
43892
  }
42198
43893
  },
42199
43894
  {
42200
- "id": "",
43895
+ "id": "himi_blog_post.comment_submit",
42201
43896
  "body": {
42202
43897
  "package": "himalaya",
42203
- "type": "Text",
43898
+ "type": "ZStack",
42204
43899
  "props": {
42205
- "text": "Something else",
42206
- "style": "body"
43900
+ "alignment": "center",
43901
+ "children": [
43902
+ {
43903
+ "id": "",
43904
+ "body": {
43905
+ "package": "himalaya",
43906
+ "type": "ZStack",
43907
+ "props": {
43908
+ "alignment": "center",
43909
+ "children": [
43910
+ {
43911
+ "id": "",
43912
+ "body": {
43913
+ "package": "himalaya",
43914
+ "type": "Icon",
43915
+ "props": {
43916
+ "name": "arrow_up",
43917
+ "size": 18,
43918
+ "tint": "textOnAccent"
43919
+ }
43920
+ },
43921
+ "modifiers": {
43922
+ "accessibilityRole": "decorative"
43923
+ }
43924
+ }
43925
+ ]
43926
+ }
43927
+ },
43928
+ "modifiers": {
43929
+ "width": 36,
43930
+ "height": 36,
43931
+ "cornerRadius": 18,
43932
+ "background": {
43933
+ "token": "accentPrimary"
43934
+ },
43935
+ "accessibilityRole": "decorative"
43936
+ }
43937
+ }
43938
+ ]
42207
43939
  }
43940
+ },
43941
+ "modifiers": {
43942
+ "width": 44,
43943
+ "height": 44,
43944
+ "accessibilityRole": "button",
43945
+ "accessibilityLabel": "Send comment",
43946
+ "onTap": {
43947
+ "actionId": "tier5.himiBlogPost.submitComment"
43948
+ },
43949
+ "pressFeedback": "scale",
43950
+ "haptic": "light",
43951
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
42208
43952
  }
42209
43953
  },
42210
43954
  {
42211
- "id": "",
43955
+ "id": "himi_blog_post.comment_submit_off",
42212
43956
  "body": {
42213
43957
  "package": "himalaya",
42214
- "type": "Spacer",
42215
- "props": {}
43958
+ "type": "ZStack",
43959
+ "props": {
43960
+ "alignment": "center",
43961
+ "children": [
43962
+ {
43963
+ "id": "",
43964
+ "body": {
43965
+ "package": "himalaya",
43966
+ "type": "ZStack",
43967
+ "props": {
43968
+ "alignment": "center",
43969
+ "children": [
43970
+ {
43971
+ "id": "",
43972
+ "body": {
43973
+ "package": "himalaya",
43974
+ "type": "Icon",
43975
+ "props": {
43976
+ "name": "arrow_up",
43977
+ "size": 18,
43978
+ "tint": "textTertiary"
43979
+ }
43980
+ },
43981
+ "modifiers": {
43982
+ "accessibilityRole": "decorative"
43983
+ }
43984
+ }
43985
+ ]
43986
+ }
43987
+ },
43988
+ "modifiers": {
43989
+ "width": 36,
43990
+ "height": 36,
43991
+ "cornerRadius": 18,
43992
+ "background": {
43993
+ "token": "surfaceSecondary"
43994
+ },
43995
+ "accessibilityRole": "decorative"
43996
+ }
43997
+ }
43998
+ ]
43999
+ }
44000
+ },
44001
+ "modifiers": {
44002
+ "width": 44,
44003
+ "height": 44,
44004
+ "accessibilityRole": "button",
44005
+ "accessibilityLabel": "Send comment",
44006
+ "hiddenPath": "$service:himiBlogPost.canSend"
42216
44007
  }
42217
44008
  }
42218
44009
  ]
42219
44010
  }
42220
- },
42221
- "modifiers": {
42222
- "onTap": {
42223
- "actionId": "tier5.himiBlogPost.hide",
42224
- "params": {
42225
- "reason": "other"
42226
- }
42227
- },
42228
- "accessibilityRole": "button",
42229
- "accessibilityLabel": "Something else",
42230
- "padding": {
42231
- "top": 11,
42232
- "bottom": 11
42233
- }
42234
44011
  }
42235
44012
  },
42236
44013
  {
42237
- "id": "himi_blog_post.hide_cancel",
44014
+ "id": "himi_blog_post.comment_error",
42238
44015
  "body": {
42239
44016
  "package": "himalaya",
42240
- "type": "Button",
44017
+ "type": "Text",
42241
44018
  "props": {
42242
- "title": "Cancel",
42243
- "style": "secondary",
42244
- "fullWidth": true,
42245
- "action": {
42246
- "actionId": "tier5.himiBlogPost.closeHide"
42247
- }
44019
+ "text": "$service:himiBlogPost.sendError",
44020
+ "style": "footnote",
44021
+ "color": "danger"
42248
44022
  }
42249
44023
  },
42250
44024
  "modifiers": {
42251
- "padding": {
42252
- "top": 8
42253
- }
44025
+ "hiddenPath": "$service:himiBlogPost.noSendError"
42254
44026
  }
42255
44027
  }
42256
44028
  ]
42257
44029
  }
42258
44030
  },
42259
44031
  "modifiers": {
42260
- "padding": {
42261
- "leading": 20,
42262
- "trailing": 20,
42263
- "top": 12,
42264
- "bottom": 8
42265
- }
44032
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
42266
44033
  }
42267
44034
  }
42268
44035
  }
@@ -42319,7 +44086,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
42319
44086
  "share",
42320
44087
  "local_database",
42321
44088
  "open_url",
42322
- "ui"
44089
+ "ui",
44090
+ "keyboard"
42323
44091
  ],
42324
44092
  "minBinaryVersion": "0.1.0",
42325
44093
  "bundleVersion": "0.0.1"