@wix/himalaya-cli 0.1781.0 → 0.1783.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) 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 +8 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +6 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +68 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +12 -5
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +3 -1
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +126 -18
  9. package/dist/browser-plane/assets.json +5 -5
  10. package/dist/browser-plane/preview-deferred/{d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin → ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin} +1 -1
  11. package/dist/browser-plane/sw.js +6 -6
  12. package/dist/cli.mjs +85 -49
  13. package/dist/preview-assets.generated.bin +0 -0
  14. package/guides/component-reference.json +1 -1
  15. package/guides/component-reference.md +4 -0
  16. package/guides/release-notes.md +31 -0
  17. package/guides/sdk-reference.json +62 -1
  18. package/guides/wix-business-context.md +1 -1
  19. package/package.json +2 -2
  20. package/templates/beauty-salon/config.ts +1 -1
  21. package/templates/beauty-salon/dev/index.ts +2684 -916
  22. package/templates/beauty-salon/l10n/ar.json +95 -36
  23. package/templates/beauty-salon/l10n/cs.json +95 -36
  24. package/templates/beauty-salon/l10n/da.json +95 -36
  25. package/templates/beauty-salon/l10n/de.json +95 -36
  26. package/templates/beauty-salon/l10n/el.json +95 -36
  27. package/templates/beauty-salon/l10n/en.json +71 -15
  28. package/templates/beauty-salon/l10n/es.json +95 -36
  29. package/templates/beauty-salon/l10n/fi.json +95 -36
  30. package/templates/beauty-salon/l10n/fr.json +95 -36
  31. package/templates/beauty-salon/l10n/he.json +78 -29
  32. package/templates/beauty-salon/l10n/hu.json +95 -36
  33. package/templates/beauty-salon/l10n/id.json +95 -36
  34. package/templates/beauty-salon/l10n/it.json +95 -36
  35. package/templates/beauty-salon/l10n/ja.json +95 -36
  36. package/templates/beauty-salon/l10n/ko.json +95 -36
  37. package/templates/beauty-salon/l10n/lt.json +95 -36
  38. package/templates/beauty-salon/l10n/nl.json +95 -36
  39. package/templates/beauty-salon/l10n/no.json +95 -36
  40. package/templates/beauty-salon/l10n/pl.json +95 -36
  41. package/templates/beauty-salon/l10n/pt.json +95 -36
  42. package/templates/beauty-salon/l10n/ru.json +95 -36
  43. package/templates/beauty-salon/l10n/sv.json +95 -36
  44. package/templates/beauty-salon/l10n/th.json +95 -36
  45. package/templates/beauty-salon/l10n/tr.json +95 -36
  46. package/templates/beauty-salon/l10n/uk.json +95 -36
  47. package/templates/beauty-salon/l10n/vi.json +95 -36
  48. package/templates/beauty-salon/l10n/zh.json +95 -36
  49. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  50. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  51. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
  52. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
  53. package/templates/beauty-salon/tier5-src/himi-branded-lite-cart/index.ts +98 -6
  54. package/templates/branded-lite/config.ts +1 -1
  55. package/templates/branded-lite/dev/index.ts +2686 -930
  56. package/templates/branded-lite/l10n/ar.json +80 -41
  57. package/templates/branded-lite/l10n/cs.json +80 -41
  58. package/templates/branded-lite/l10n/da.json +80 -41
  59. package/templates/branded-lite/l10n/de.json +80 -41
  60. package/templates/branded-lite/l10n/el.json +80 -41
  61. package/templates/branded-lite/l10n/en.json +71 -20
  62. package/templates/branded-lite/l10n/es.json +80 -41
  63. package/templates/branded-lite/l10n/fi.json +80 -41
  64. package/templates/branded-lite/l10n/fr.json +80 -41
  65. package/templates/branded-lite/l10n/he.json +66 -33
  66. package/templates/branded-lite/l10n/hu.json +80 -41
  67. package/templates/branded-lite/l10n/id.json +80 -41
  68. package/templates/branded-lite/l10n/it.json +80 -41
  69. package/templates/branded-lite/l10n/ja.json +80 -41
  70. package/templates/branded-lite/l10n/ko.json +80 -41
  71. package/templates/branded-lite/l10n/lt.json +80 -41
  72. package/templates/branded-lite/l10n/nl.json +80 -41
  73. package/templates/branded-lite/l10n/no.json +80 -41
  74. package/templates/branded-lite/l10n/pl.json +80 -41
  75. package/templates/branded-lite/l10n/pt.json +80 -41
  76. package/templates/branded-lite/l10n/ru.json +80 -41
  77. package/templates/branded-lite/l10n/sv.json +80 -41
  78. package/templates/branded-lite/l10n/th.json +80 -41
  79. package/templates/branded-lite/l10n/tr.json +80 -41
  80. package/templates/branded-lite/l10n/uk.json +80 -41
  81. package/templates/branded-lite/l10n/vi.json +80 -41
  82. package/templates/branded-lite/l10n/zh.json +80 -41
  83. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  84. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
  85. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
  86. package/templates/branded-lite/tier5-src/himi-branded-lite-cart/index.ts +98 -6
  87. package/templates/branded-lite/tier5-src/himi-branded-lite-header-badges/index.ts +39 -7
  88. package/templates/community-club/config.ts +1 -1
  89. package/templates/community-club/dev/index.ts +2742 -974
  90. package/templates/community-club/l10n/ar.json +95 -36
  91. package/templates/community-club/l10n/cs.json +95 -36
  92. package/templates/community-club/l10n/da.json +95 -36
  93. package/templates/community-club/l10n/de.json +95 -36
  94. package/templates/community-club/l10n/el.json +95 -36
  95. package/templates/community-club/l10n/en.json +71 -15
  96. package/templates/community-club/l10n/es.json +95 -36
  97. package/templates/community-club/l10n/fi.json +95 -36
  98. package/templates/community-club/l10n/fr.json +95 -36
  99. package/templates/community-club/l10n/he.json +78 -29
  100. package/templates/community-club/l10n/hu.json +95 -36
  101. package/templates/community-club/l10n/id.json +95 -36
  102. package/templates/community-club/l10n/it.json +95 -36
  103. package/templates/community-club/l10n/ja.json +95 -36
  104. package/templates/community-club/l10n/ko.json +95 -36
  105. package/templates/community-club/l10n/lt.json +95 -36
  106. package/templates/community-club/l10n/nl.json +95 -36
  107. package/templates/community-club/l10n/no.json +95 -36
  108. package/templates/community-club/l10n/pl.json +95 -36
  109. package/templates/community-club/l10n/pt.json +95 -36
  110. package/templates/community-club/l10n/ru.json +95 -36
  111. package/templates/community-club/l10n/sv.json +95 -36
  112. package/templates/community-club/l10n/th.json +95 -36
  113. package/templates/community-club/l10n/tr.json +95 -36
  114. package/templates/community-club/l10n/uk.json +95 -36
  115. package/templates/community-club/l10n/vi.json +95 -36
  116. package/templates/community-club/l10n/zh.json +95 -36
  117. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  118. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  119. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
  120. package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
  121. package/templates/events-meetups/config.ts +1 -1
  122. package/templates/events-meetups/dev/index.ts +2705 -937
  123. package/templates/events-meetups/l10n/ar.json +95 -36
  124. package/templates/events-meetups/l10n/cs.json +95 -36
  125. package/templates/events-meetups/l10n/da.json +95 -36
  126. package/templates/events-meetups/l10n/de.json +95 -36
  127. package/templates/events-meetups/l10n/el.json +95 -36
  128. package/templates/events-meetups/l10n/en.json +71 -15
  129. package/templates/events-meetups/l10n/es.json +95 -36
  130. package/templates/events-meetups/l10n/fi.json +95 -36
  131. package/templates/events-meetups/l10n/fr.json +95 -36
  132. package/templates/events-meetups/l10n/he.json +78 -29
  133. package/templates/events-meetups/l10n/hu.json +95 -36
  134. package/templates/events-meetups/l10n/id.json +95 -36
  135. package/templates/events-meetups/l10n/it.json +95 -36
  136. package/templates/events-meetups/l10n/ja.json +95 -36
  137. package/templates/events-meetups/l10n/ko.json +95 -36
  138. package/templates/events-meetups/l10n/lt.json +95 -36
  139. package/templates/events-meetups/l10n/nl.json +95 -36
  140. package/templates/events-meetups/l10n/no.json +95 -36
  141. package/templates/events-meetups/l10n/pl.json +95 -36
  142. package/templates/events-meetups/l10n/pt.json +95 -36
  143. package/templates/events-meetups/l10n/ru.json +95 -36
  144. package/templates/events-meetups/l10n/sv.json +95 -36
  145. package/templates/events-meetups/l10n/th.json +95 -36
  146. package/templates/events-meetups/l10n/tr.json +95 -36
  147. package/templates/events-meetups/l10n/uk.json +95 -36
  148. package/templates/events-meetups/l10n/vi.json +95 -36
  149. package/templates/events-meetups/l10n/zh.json +95 -36
  150. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  151. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  152. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
  153. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
  154. package/templates/gym-fitness/config.ts +1 -1
  155. package/templates/gym-fitness/dev/index.ts +2621 -853
  156. package/templates/gym-fitness/l10n/ar.json +95 -36
  157. package/templates/gym-fitness/l10n/cs.json +95 -36
  158. package/templates/gym-fitness/l10n/da.json +95 -36
  159. package/templates/gym-fitness/l10n/de.json +95 -36
  160. package/templates/gym-fitness/l10n/el.json +95 -36
  161. package/templates/gym-fitness/l10n/en.json +71 -15
  162. package/templates/gym-fitness/l10n/es.json +95 -36
  163. package/templates/gym-fitness/l10n/fi.json +95 -36
  164. package/templates/gym-fitness/l10n/fr.json +95 -36
  165. package/templates/gym-fitness/l10n/he.json +78 -29
  166. package/templates/gym-fitness/l10n/hu.json +95 -36
  167. package/templates/gym-fitness/l10n/id.json +95 -36
  168. package/templates/gym-fitness/l10n/it.json +95 -36
  169. package/templates/gym-fitness/l10n/ja.json +95 -36
  170. package/templates/gym-fitness/l10n/ko.json +95 -36
  171. package/templates/gym-fitness/l10n/lt.json +95 -36
  172. package/templates/gym-fitness/l10n/nl.json +95 -36
  173. package/templates/gym-fitness/l10n/no.json +95 -36
  174. package/templates/gym-fitness/l10n/pl.json +95 -36
  175. package/templates/gym-fitness/l10n/pt.json +95 -36
  176. package/templates/gym-fitness/l10n/ru.json +95 -36
  177. package/templates/gym-fitness/l10n/sv.json +95 -36
  178. package/templates/gym-fitness/l10n/th.json +95 -36
  179. package/templates/gym-fitness/l10n/tr.json +95 -36
  180. package/templates/gym-fitness/l10n/uk.json +95 -36
  181. package/templates/gym-fitness/l10n/vi.json +95 -36
  182. package/templates/gym-fitness/l10n/zh.json +95 -36
  183. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  184. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  185. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
  186. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
  187. package/templates/gym-fitness/tier5-src/himi-branded-lite-cart/index.ts +98 -6
  188. package/templates/nonprofit-cause/config.ts +1 -1
  189. package/templates/nonprofit-cause/dev/index.ts +2704 -936
  190. package/templates/nonprofit-cause/l10n/ar.json +95 -36
  191. package/templates/nonprofit-cause/l10n/cs.json +95 -36
  192. package/templates/nonprofit-cause/l10n/da.json +95 -36
  193. package/templates/nonprofit-cause/l10n/de.json +95 -36
  194. package/templates/nonprofit-cause/l10n/el.json +95 -36
  195. package/templates/nonprofit-cause/l10n/en.json +71 -15
  196. package/templates/nonprofit-cause/l10n/es.json +95 -36
  197. package/templates/nonprofit-cause/l10n/fi.json +95 -36
  198. package/templates/nonprofit-cause/l10n/fr.json +95 -36
  199. package/templates/nonprofit-cause/l10n/he.json +78 -29
  200. package/templates/nonprofit-cause/l10n/hu.json +95 -36
  201. package/templates/nonprofit-cause/l10n/id.json +95 -36
  202. package/templates/nonprofit-cause/l10n/it.json +95 -36
  203. package/templates/nonprofit-cause/l10n/ja.json +95 -36
  204. package/templates/nonprofit-cause/l10n/ko.json +95 -36
  205. package/templates/nonprofit-cause/l10n/lt.json +95 -36
  206. package/templates/nonprofit-cause/l10n/nl.json +95 -36
  207. package/templates/nonprofit-cause/l10n/no.json +95 -36
  208. package/templates/nonprofit-cause/l10n/pl.json +95 -36
  209. package/templates/nonprofit-cause/l10n/pt.json +95 -36
  210. package/templates/nonprofit-cause/l10n/ru.json +95 -36
  211. package/templates/nonprofit-cause/l10n/sv.json +95 -36
  212. package/templates/nonprofit-cause/l10n/th.json +95 -36
  213. package/templates/nonprofit-cause/l10n/tr.json +95 -36
  214. package/templates/nonprofit-cause/l10n/uk.json +95 -36
  215. package/templates/nonprofit-cause/l10n/vi.json +95 -36
  216. package/templates/nonprofit-cause/l10n/zh.json +95 -36
  217. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  218. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  219. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
  220. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
  221. package/templates/podcast-creator/config.ts +1 -1
  222. package/templates/podcast-creator/dev/index.ts +2704 -936
  223. package/templates/podcast-creator/l10n/ar.json +95 -36
  224. package/templates/podcast-creator/l10n/cs.json +95 -36
  225. package/templates/podcast-creator/l10n/da.json +95 -36
  226. package/templates/podcast-creator/l10n/de.json +95 -36
  227. package/templates/podcast-creator/l10n/el.json +95 -36
  228. package/templates/podcast-creator/l10n/en.json +71 -15
  229. package/templates/podcast-creator/l10n/es.json +95 -36
  230. package/templates/podcast-creator/l10n/fi.json +95 -36
  231. package/templates/podcast-creator/l10n/fr.json +95 -36
  232. package/templates/podcast-creator/l10n/he.json +78 -29
  233. package/templates/podcast-creator/l10n/hu.json +95 -36
  234. package/templates/podcast-creator/l10n/id.json +95 -36
  235. package/templates/podcast-creator/l10n/it.json +95 -36
  236. package/templates/podcast-creator/l10n/ja.json +95 -36
  237. package/templates/podcast-creator/l10n/ko.json +95 -36
  238. package/templates/podcast-creator/l10n/lt.json +95 -36
  239. package/templates/podcast-creator/l10n/nl.json +95 -36
  240. package/templates/podcast-creator/l10n/no.json +95 -36
  241. package/templates/podcast-creator/l10n/pl.json +95 -36
  242. package/templates/podcast-creator/l10n/pt.json +95 -36
  243. package/templates/podcast-creator/l10n/ru.json +95 -36
  244. package/templates/podcast-creator/l10n/sv.json +95 -36
  245. package/templates/podcast-creator/l10n/th.json +95 -36
  246. package/templates/podcast-creator/l10n/tr.json +95 -36
  247. package/templates/podcast-creator/l10n/uk.json +95 -36
  248. package/templates/podcast-creator/l10n/vi.json +95 -36
  249. package/templates/podcast-creator/l10n/zh.json +95 -36
  250. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  251. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  252. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
  253. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
  254. package/templates/portfolio-creative/config.ts +1 -1
  255. package/templates/portfolio-creative/dev/index.ts +2499 -731
  256. package/templates/portfolio-creative/l10n/ar.json +95 -36
  257. package/templates/portfolio-creative/l10n/cs.json +95 -36
  258. package/templates/portfolio-creative/l10n/da.json +95 -36
  259. package/templates/portfolio-creative/l10n/de.json +95 -36
  260. package/templates/portfolio-creative/l10n/el.json +95 -36
  261. package/templates/portfolio-creative/l10n/en.json +71 -15
  262. package/templates/portfolio-creative/l10n/es.json +95 -36
  263. package/templates/portfolio-creative/l10n/fi.json +95 -36
  264. package/templates/portfolio-creative/l10n/fr.json +95 -36
  265. package/templates/portfolio-creative/l10n/he.json +78 -29
  266. package/templates/portfolio-creative/l10n/hu.json +95 -36
  267. package/templates/portfolio-creative/l10n/id.json +95 -36
  268. package/templates/portfolio-creative/l10n/it.json +95 -36
  269. package/templates/portfolio-creative/l10n/ja.json +95 -36
  270. package/templates/portfolio-creative/l10n/ko.json +95 -36
  271. package/templates/portfolio-creative/l10n/lt.json +95 -36
  272. package/templates/portfolio-creative/l10n/nl.json +95 -36
  273. package/templates/portfolio-creative/l10n/no.json +95 -36
  274. package/templates/portfolio-creative/l10n/pl.json +95 -36
  275. package/templates/portfolio-creative/l10n/pt.json +95 -36
  276. package/templates/portfolio-creative/l10n/ru.json +95 -36
  277. package/templates/portfolio-creative/l10n/sv.json +95 -36
  278. package/templates/portfolio-creative/l10n/th.json +95 -36
  279. package/templates/portfolio-creative/l10n/tr.json +95 -36
  280. package/templates/portfolio-creative/l10n/uk.json +95 -36
  281. package/templates/portfolio-creative/l10n/vi.json +95 -36
  282. package/templates/portfolio-creative/l10n/zh.json +95 -36
  283. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  284. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  285. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
  286. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
  287. package/templates/portfolio-creative/tier5-src/himi-branded-lite-cart/index.ts +98 -6
  288. package/templates/restaurant/config.ts +1 -1
  289. package/templates/restaurant/dev/index.ts +2528 -760
  290. package/templates/restaurant/l10n/ar.json +95 -36
  291. package/templates/restaurant/l10n/cs.json +95 -36
  292. package/templates/restaurant/l10n/da.json +95 -36
  293. package/templates/restaurant/l10n/de.json +95 -36
  294. package/templates/restaurant/l10n/el.json +95 -36
  295. package/templates/restaurant/l10n/en.json +71 -15
  296. package/templates/restaurant/l10n/es.json +95 -36
  297. package/templates/restaurant/l10n/fi.json +95 -36
  298. package/templates/restaurant/l10n/fr.json +95 -36
  299. package/templates/restaurant/l10n/he.json +78 -29
  300. package/templates/restaurant/l10n/hu.json +95 -36
  301. package/templates/restaurant/l10n/id.json +95 -36
  302. package/templates/restaurant/l10n/it.json +95 -36
  303. package/templates/restaurant/l10n/ja.json +95 -36
  304. package/templates/restaurant/l10n/ko.json +95 -36
  305. package/templates/restaurant/l10n/lt.json +95 -36
  306. package/templates/restaurant/l10n/nl.json +95 -36
  307. package/templates/restaurant/l10n/no.json +95 -36
  308. package/templates/restaurant/l10n/pl.json +95 -36
  309. package/templates/restaurant/l10n/pt.json +95 -36
  310. package/templates/restaurant/l10n/ru.json +95 -36
  311. package/templates/restaurant/l10n/sv.json +95 -36
  312. package/templates/restaurant/l10n/th.json +95 -36
  313. package/templates/restaurant/l10n/tr.json +95 -36
  314. package/templates/restaurant/l10n/uk.json +95 -36
  315. package/templates/restaurant/l10n/vi.json +95 -36
  316. package/templates/restaurant/l10n/zh.json +95 -36
  317. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  318. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  319. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
  320. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
  321. package/templates/retail-store/config.ts +1 -1
  322. package/templates/retail-store/dev/index.ts +2417 -661
  323. package/templates/retail-store/l10n/ar.json +95 -41
  324. package/templates/retail-store/l10n/cs.json +95 -41
  325. package/templates/retail-store/l10n/da.json +95 -41
  326. package/templates/retail-store/l10n/de.json +95 -41
  327. package/templates/retail-store/l10n/el.json +95 -41
  328. package/templates/retail-store/l10n/en.json +71 -20
  329. package/templates/retail-store/l10n/es.json +95 -41
  330. package/templates/retail-store/l10n/fi.json +95 -41
  331. package/templates/retail-store/l10n/fr.json +95 -41
  332. package/templates/retail-store/l10n/he.json +78 -33
  333. package/templates/retail-store/l10n/hu.json +95 -41
  334. package/templates/retail-store/l10n/id.json +95 -41
  335. package/templates/retail-store/l10n/it.json +95 -41
  336. package/templates/retail-store/l10n/ja.json +95 -41
  337. package/templates/retail-store/l10n/ko.json +95 -41
  338. package/templates/retail-store/l10n/lt.json +95 -41
  339. package/templates/retail-store/l10n/nl.json +95 -41
  340. package/templates/retail-store/l10n/no.json +95 -41
  341. package/templates/retail-store/l10n/pl.json +95 -41
  342. package/templates/retail-store/l10n/pt.json +95 -41
  343. package/templates/retail-store/l10n/ru.json +95 -41
  344. package/templates/retail-store/l10n/sv.json +95 -41
  345. package/templates/retail-store/l10n/th.json +95 -41
  346. package/templates/retail-store/l10n/tr.json +95 -41
  347. package/templates/retail-store/l10n/uk.json +95 -41
  348. package/templates/retail-store/l10n/vi.json +95 -41
  349. package/templates/retail-store/l10n/zh.json +95 -41
  350. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  351. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  352. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
  353. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
  354. package/templates/retail-store/tier5-src/himi-branded-lite-cart/index.ts +98 -6
  355. package/templates/wholesale-store/tier5-src/himi-branded-lite-cart/index.ts +98 -6
  356. package/templates/yoga-studio/config.ts +1 -1
  357. package/templates/yoga-studio/dev/index.ts +2619 -851
  358. package/templates/yoga-studio/l10n/ar.json +95 -36
  359. package/templates/yoga-studio/l10n/cs.json +95 -36
  360. package/templates/yoga-studio/l10n/da.json +95 -36
  361. package/templates/yoga-studio/l10n/de.json +95 -36
  362. package/templates/yoga-studio/l10n/el.json +95 -36
  363. package/templates/yoga-studio/l10n/en.json +71 -15
  364. package/templates/yoga-studio/l10n/es.json +95 -36
  365. package/templates/yoga-studio/l10n/fi.json +95 -36
  366. package/templates/yoga-studio/l10n/fr.json +95 -36
  367. package/templates/yoga-studio/l10n/he.json +78 -29
  368. package/templates/yoga-studio/l10n/hu.json +95 -36
  369. package/templates/yoga-studio/l10n/id.json +95 -36
  370. package/templates/yoga-studio/l10n/it.json +95 -36
  371. package/templates/yoga-studio/l10n/ja.json +95 -36
  372. package/templates/yoga-studio/l10n/ko.json +95 -36
  373. package/templates/yoga-studio/l10n/lt.json +95 -36
  374. package/templates/yoga-studio/l10n/nl.json +95 -36
  375. package/templates/yoga-studio/l10n/no.json +95 -36
  376. package/templates/yoga-studio/l10n/pl.json +95 -36
  377. package/templates/yoga-studio/l10n/pt.json +95 -36
  378. package/templates/yoga-studio/l10n/ru.json +95 -36
  379. package/templates/yoga-studio/l10n/sv.json +95 -36
  380. package/templates/yoga-studio/l10n/th.json +95 -36
  381. package/templates/yoga-studio/l10n/tr.json +95 -36
  382. package/templates/yoga-studio/l10n/uk.json +95 -36
  383. package/templates/yoga-studio/l10n/vi.json +95 -36
  384. package/templates/yoga-studio/l10n/zh.json +95 -36
  385. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  386. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
  387. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
  388. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
@@ -17924,7 +17924,7 @@ const SCREENS = runtimeSetting({
17924
17924
  "alignment": "leading",
17925
17925
  "children": [
17926
17926
  {
17927
- "id": "",
17927
+ "id": "himi_blog.heading",
17928
17928
  "body": {
17929
17929
  "package": "himalaya",
17930
17930
  "type": "VStack",
@@ -17954,8 +17954,7 @@ const SCREENS = runtimeSetting({
17954
17954
  "props": {
17955
17955
  "text": "Notes and news from the kitchen.",
17956
17956
  "style": "body",
17957
- "color": "textSecondary",
17958
- "collapseWhenEmpty": true
17957
+ "color": "textSecondary"
17959
17958
  }
17960
17959
  }
17961
17960
  }
@@ -18036,6 +18035,7 @@ const SCREENS = runtimeSetting({
18036
18035
  "type": "HStack",
18037
18036
  "props": {
18038
18037
  "spacing": 10,
18038
+ "alignment": "center",
18039
18039
  "children": [
18040
18040
  {
18041
18041
  "id": "",
@@ -18273,6 +18273,7 @@ const SCREENS = runtimeSetting({
18273
18273
  "type": "HStack",
18274
18274
  "props": {
18275
18275
  "spacing": 14,
18276
+ "alignment": "center",
18276
18277
  "children": [
18277
18278
  {
18278
18279
  "id": "",
@@ -18412,6 +18413,7 @@ const SCREENS = runtimeSetting({
18412
18413
  "type": "HStack",
18413
18414
  "props": {
18414
18415
  "spacing": 4,
18416
+ "alignment": "center",
18415
18417
  "children": [
18416
18418
  {
18417
18419
  "id": "",
@@ -18466,6 +18468,7 @@ const SCREENS = runtimeSetting({
18466
18468
  "type": "HStack",
18467
18469
  "props": {
18468
18470
  "spacing": 12,
18471
+ "alignment": "center",
18469
18472
  "children": [
18470
18473
  {
18471
18474
  "id": "himi_blog.post_author.photo",
@@ -18906,71 +18909,56 @@ const SCREENS = runtimeSetting({
18906
18909
  }
18907
18910
  },
18908
18911
  {
18909
- "id": "",
18912
+ "id": "himi_blog.empty",
18910
18913
  "body": {
18911
18914
  "package": "himalaya",
18912
- "type": "VStack",
18915
+ "type": "EmptyState",
18913
18916
  "props": {
18914
- "spacing": 12,
18915
- "alignment": "center",
18916
- "children": [
18917
- {
18918
- "id": "",
18919
- "body": {
18920
- "package": "himalaya",
18921
- "type": "Icon",
18922
- "props": {
18923
- "name": "newspaper",
18924
- "size": 34,
18925
- "tint": "textTertiary"
18926
- }
18927
- },
18928
- "modifiers": {
18929
- "accessibilityRole": "decorative"
18930
- }
18931
- },
18932
- {
18933
- "id": "",
18934
- "body": {
18935
- "package": "himalaya",
18936
- "type": "Text",
18937
- "props": {
18938
- "text": "$service:himiBlogFeed.emptyText",
18939
- "style": "bodyEmphasis",
18940
- "color": "textSecondary",
18941
- "collapseWhenEmpty": true
18942
- }
18943
- }
18944
- },
18945
- {
18946
- "id": "himi_blog.empty.cta",
18947
- "body": {
18948
- "package": "himalaya",
18949
- "type": "Button",
18950
- "props": {
18951
- "title": "Clear filters",
18952
- "style": "secondary",
18953
- "action": {
18954
- "actionId": "tier5.himiBlogFeed.clearFilters"
18955
- }
18956
- }
18957
- }
18958
- }
18959
- ]
18917
+ "title": "$service:himiBlogFeed.emptyText",
18918
+ "subtitle": "Try a different word or category.",
18919
+ "icon": "search",
18920
+ "actionLabel": "Clear filters",
18921
+ "action": {
18922
+ "actionId": "tier5.himiBlogFeed.clearFilters"
18923
+ }
18960
18924
  }
18961
18925
  },
18962
18926
  "modifiers": {
18963
18927
  "padding": {
18964
18928
  "leading": 24,
18965
18929
  "trailing": 24,
18966
- "top": 24,
18930
+ "top": 48,
18931
+ "bottom": 24
18932
+ },
18933
+ "transition": {
18934
+ "enter": "fade",
18935
+ "exit": "fade"
18936
+ },
18937
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
18938
+ }
18939
+ },
18940
+ {
18941
+ "id": "himi_blog.empty_none",
18942
+ "body": {
18943
+ "package": "himalaya",
18944
+ "type": "EmptyState",
18945
+ "props": {
18946
+ "title": "$service:himiBlogFeed.emptyText",
18947
+ "icon": "document"
18948
+ }
18949
+ },
18950
+ "modifiers": {
18951
+ "padding": {
18952
+ "leading": 24,
18953
+ "trailing": 24,
18954
+ "top": 48,
18967
18955
  "bottom": 24
18968
18956
  },
18969
18957
  "transition": {
18970
18958
  "enter": "fade",
18971
18959
  "exit": "fade"
18972
18960
  },
18973
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
18961
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
18974
18962
  }
18975
18963
  }
18976
18964
  ]
@@ -19002,21 +18990,6 @@ const SCREENS = runtimeSetting({
19002
18990
  ],
19003
18991
  "minBinaryVersion": "0.1.0",
19004
18992
  "bundleVersion": "0.0.1"
19005
- },
19006
- "topBar": {
19007
- "actions": [
19008
- {
19009
- "id": "account",
19010
- "icon": "person",
19011
- "accessibilityLabel": "Account",
19012
- "onTap": {
19013
- "actionId": "himi.open",
19014
- "params": {
19015
- "screenId": "himi_account"
19016
- }
19017
- }
19018
- }
19019
- ]
19020
18993
  }
19021
18994
  },
19022
18995
  "himi_saved": {
@@ -19097,6 +19070,7 @@ const SCREENS = runtimeSetting({
19097
19070
  "type": "HStack",
19098
19071
  "props": {
19099
19072
  "spacing": 10,
19073
+ "alignment": "center",
19100
19074
  "children": [
19101
19075
  {
19102
19076
  "id": "",
@@ -19502,73 +19476,21 @@ const SCREENS = runtimeSetting({
19502
19476
  }
19503
19477
  },
19504
19478
  {
19505
- "id": "",
19479
+ "id": "himi_saved.empty",
19506
19480
  "body": {
19507
19481
  "package": "himalaya",
19508
- "type": "VStack",
19482
+ "type": "EmptyState",
19509
19483
  "props": {
19510
- "spacing": 12,
19511
- "alignment": "center",
19512
- "children": [
19513
- {
19514
- "id": "",
19515
- "body": {
19516
- "package": "himalaya",
19517
- "type": "Icon",
19518
- "props": {
19519
- "name": "bookmark",
19520
- "size": 34,
19521
- "tint": "textTertiary"
19522
- }
19523
- },
19524
- "modifiers": {
19525
- "accessibilityRole": "decorative"
19526
- }
19527
- },
19528
- {
19529
- "id": "",
19530
- "body": {
19531
- "package": "himalaya",
19532
- "type": "Text",
19533
- "props": {
19534
- "text": "$service:himiBlogSaved.emptyText",
19535
- "style": "bodyEmphasis",
19536
- "color": "textSecondary",
19537
- "collapseWhenEmpty": true
19538
- }
19539
- }
19540
- },
19541
- {
19542
- "id": "",
19543
- "body": {
19544
- "package": "himalaya",
19545
- "type": "Text",
19546
- "props": {
19547
- "text": "Tap the bookmark on a post to read it later.",
19548
- "style": "footnote",
19549
- "color": "textTertiary",
19550
- "maxLines": 2
19551
- }
19552
- }
19553
- },
19554
- {
19555
- "id": "himi_saved.empty.cta",
19556
- "body": {
19557
- "package": "himalaya",
19558
- "type": "Button",
19559
- "props": {
19560
- "title": "Browse Blog",
19561
- "style": "secondary",
19562
- "action": {
19563
- "actionId": "himi.open",
19564
- "params": {
19565
- "screenId": "himi_blog"
19566
- }
19567
- }
19568
- }
19569
- }
19484
+ "title": "$service:himiBlogSaved.emptyText",
19485
+ "subtitle": "Tap the bookmark on a post to read it later.",
19486
+ "icon": "bookmark",
19487
+ "actionLabel": "Browse Blog",
19488
+ "action": {
19489
+ "actionId": "himi.open",
19490
+ "params": {
19491
+ "screenId": "himi_blog"
19570
19492
  }
19571
- ]
19493
+ }
19572
19494
  }
19573
19495
  },
19574
19496
  "modifiers": {
@@ -25622,6 +25544,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25622
25544
  "type": "HStack",
25623
25545
  "props": {
25624
25546
  "spacing": 10,
25547
+ "alignment": "center",
25625
25548
  "children": [
25626
25549
  {
25627
25550
  "id": "",
@@ -25981,6 +25904,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25981
25904
  "type": "HStack",
25982
25905
  "props": {
25983
25906
  "spacing": 12,
25907
+ "alignment": "center",
25984
25908
  "children": [
25985
25909
  {
25986
25910
  "id": "himi_blog_post.author.photo",
@@ -26729,41 +26653,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26729
26653
  "accessibilityRole": "decorative"
26730
26654
  }
26731
26655
  },
26732
- {
26733
- "id": "",
26734
- "body": {
26735
- "package": "himalaya",
26736
- "type": "VStack",
26737
- "props": {
26738
- "spacing": 0,
26739
- "alignment": "leading",
26740
- "children": [
26741
- {
26742
- "id": "himi_blog_post.comments_title",
26743
- "body": {
26744
- "package": "himalaya",
26745
- "type": "Text",
26746
- "props": {
26747
- "text": "$service:himiBlogPost.commentsTitle",
26748
- "style": "title3"
26749
- }
26750
- },
26751
- "modifiers": {
26752
- "accessibilityRole": "heading"
26753
- }
26754
- }
26755
- ]
26756
- }
26757
- },
26758
- "modifiers": {
26759
- "padding": {
26760
- "leading": 20,
26761
- "trailing": 20,
26762
- "top": 20,
26763
- "bottom": 4
26764
- }
26765
- }
26766
- },
26767
26656
  {
26768
26657
  "id": "",
26769
26658
  "body": {
@@ -26775,46 +26664,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26775
26664
  "children": [
26776
26665
  {
26777
26666
  "id": "",
26778
- "body": {
26779
- "package": "himalaya",
26780
- "type": "Text",
26781
- "props": {
26782
- "text": "$service:himiBlogPost.commentStatusText",
26783
- "style": "footnote",
26784
- "color": "textSecondary"
26785
- }
26786
- }
26787
- }
26788
- ]
26789
- }
26790
- },
26791
- "modifiers": {
26792
- "padding": {
26793
- "leading": 20,
26794
- "trailing": 20,
26795
- "top": 6,
26796
- "bottom": 6
26797
- },
26798
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
26799
- }
26800
- },
26801
- {
26802
- "id": "himi_blog_post.comments",
26803
- "body": {
26804
- "package": "himalaya",
26805
- "type": "Grid",
26806
- "props": {
26807
- "columns": 1,
26808
- "spacing": 0,
26809
- "itemsPath": "$service:himiBlogPost.comments",
26810
- "items": [
26811
- {
26812
- "id": "himi_blog_post.comment_row",
26813
26667
  "body": {
26814
26668
  "package": "himalaya",
26815
26669
  "type": "VStack",
26816
26670
  "props": {
26817
- "spacing": 6,
26671
+ "spacing": 14,
26818
26672
  "alignment": "leading",
26819
26673
  "children": [
26820
26674
  {
@@ -26823,73 +26677,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26823
26677
  "package": "himalaya",
26824
26678
  "type": "HStack",
26825
26679
  "props": {
26826
- "spacing": 10,
26680
+ "spacing": 8,
26681
+ "alignment": "center",
26827
26682
  "children": [
26828
26683
  {
26829
- "id": "",
26684
+ "id": "himi_blog_post.comments_title",
26830
26685
  "body": {
26831
26686
  "package": "himalaya",
26832
- "type": "ZStack",
26687
+ "type": "Text",
26833
26688
  "props": {
26834
- "alignment": "center",
26835
- "children": [
26836
- {
26837
- "id": "",
26838
- "body": {
26839
- "package": "himalaya",
26840
- "type": "Text",
26841
- "props": {
26842
- "text": "$item.authorInitial",
26843
- "style": "footnote",
26844
- "color": "accentPrimary"
26845
- }
26846
- }
26847
- }
26848
- ]
26689
+ "text": "$service:himiBlogPost.commentsTitle",
26690
+ "style": "title3"
26849
26691
  }
26850
26692
  },
26851
26693
  "modifiers": {
26852
- "width": 32,
26853
- "height": 32,
26854
- "background": {
26855
- "token": "accentSurface"
26856
- },
26857
- "cornerRadius": 16,
26858
- "accessibilityRole": "decorative"
26694
+ "accessibilityRole": "heading"
26859
26695
  }
26860
26696
  },
26861
26697
  {
26862
26698
  "id": "",
26863
26699
  "body": {
26864
26700
  "package": "himalaya",
26865
- "type": "Text",
26866
- "props": {
26867
- "text": "$item.authorName",
26868
- "style": "bodyEmphasis",
26869
- "maxLines": 1
26870
- }
26701
+ "type": "Spacer",
26702
+ "props": {}
26871
26703
  }
26872
26704
  },
26873
26705
  {
26874
- "id": "",
26706
+ "id": "himi_blog_post.comments_show_all",
26875
26707
  "body": {
26876
26708
  "package": "himalaya",
26877
26709
  "type": "Text",
26878
26710
  "props": {
26879
- "text": "$item.meta",
26880
- "style": "caption",
26881
- "color": "textTertiary",
26882
- "maxLines": 1,
26883
- "collapseWhenEmpty": true
26711
+ "text": "$service:himiBlogPost.showAllLabel",
26712
+ "style": "footnote",
26713
+ "color": "accentPrimary",
26714
+ "maxLines": 1
26884
26715
  }
26885
- }
26886
- },
26887
- {
26888
- "id": "",
26889
- "body": {
26890
- "package": "himalaya",
26891
- "type": "Spacer",
26892
- "props": {}
26716
+ },
26717
+ "modifiers": {
26718
+ "onTap": {
26719
+ "actionId": "tier5.himiBlogPost.openComments"
26720
+ },
26721
+ "accessibilityRole": "button",
26722
+ "padding": {
26723
+ "top": 6,
26724
+ "bottom": 6,
26725
+ "leading": 6
26726
+ },
26727
+ "hiddenPath": "$service:himiBlogPost.noComments"
26893
26728
  }
26894
26729
  }
26895
26730
  ]
@@ -26898,408 +26733,707 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26898
26733
  },
26899
26734
  {
26900
26735
  "id": "",
26736
+ "body": {
26737
+ "package": "himalaya",
26738
+ "type": "Text",
26739
+ "props": {
26740
+ "text": "$service:himiBlogPost.commentStatusText",
26741
+ "style": "footnote",
26742
+ "color": "textSecondary"
26743
+ }
26744
+ },
26745
+ "modifiers": {
26746
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
26747
+ }
26748
+ },
26749
+ {
26750
+ "id": "himi_blog_post.comments_empty",
26901
26751
  "body": {
26902
26752
  "package": "himalaya",
26903
26753
  "type": "VStack",
26904
26754
  "props": {
26905
- "spacing": 0,
26755
+ "spacing": 4,
26906
26756
  "alignment": "leading",
26907
26757
  "children": [
26908
26758
  {
26909
- "id": "comment_body_$item.id",
26759
+ "id": "",
26910
26760
  "body": {
26911
26761
  "package": "himalaya",
26912
- "type": "RichContent",
26762
+ "type": "Text",
26913
26763
  "props": {
26914
- "documentJsonPath": "$item.bodyJson",
26915
- "onLink": {
26916
- "actionId": "tier5.himiBlogPost.openLink"
26917
- },
26918
- "fallback": {
26919
- "id": "",
26920
- "body": {
26921
- "package": "himalaya",
26922
- "type": "Text",
26923
- "props": {
26924
- "text": "$item.text",
26925
- "style": "body",
26926
- "collapseWhenEmpty": true
26927
- }
26928
- }
26929
- }
26764
+ "text": "No comments yet",
26765
+ "style": "bodyEmphasis"
26930
26766
  }
26931
26767
  }
26932
26768
  },
26933
26769
  {
26934
- "id": "comment_body_text_$item.id",
26770
+ "id": "",
26935
26771
  "body": {
26936
26772
  "package": "himalaya",
26937
26773
  "type": "Text",
26938
26774
  "props": {
26939
- "text": "$item.text",
26940
- "style": "body",
26941
- "collapseWhenEmpty": true
26775
+ "text": "Be the first to share your thoughts.",
26776
+ "style": "footnote",
26777
+ "color": "textSecondary"
26942
26778
  }
26943
- },
26944
- "modifiers": {
26945
- "hiddenPath": "$item.hasBodyJson"
26946
26779
  }
26947
26780
  }
26948
26781
  ]
26949
26782
  }
26950
26783
  },
26951
26784
  "modifiers": {
26952
- "padding": {
26953
- "leading": 42
26954
- }
26955
- }
26956
- },
26957
- {
26958
- "id": "",
26959
- "body": {
26960
- "package": "himalaya",
26961
- "type": "Divider",
26962
- "props": {}
26963
- },
26964
- "modifiers": {
26965
- "padding": {
26966
- "top": 10
26967
- }
26968
- }
26969
- }
26970
- ]
26971
- }
26972
- },
26973
- "modifiers": {
26974
- "padding": {
26975
- "leading": 20,
26976
- "trailing": 20,
26977
- "top": 12
26978
- }
26979
- }
26980
- }
26981
- ]
26982
- }
26983
- }
26984
- },
26985
- {
26986
- "id": "",
26987
- "body": {
26988
- "package": "himalaya",
26989
- "type": "VStack",
26990
- "props": {
26991
- "spacing": 0,
26992
- "alignment": "leading",
26993
- "children": [
26994
- {
26995
- "id": "himi_blog_post.comment_composer",
26996
- "body": {
26997
- "package": "himalaya",
26998
- "type": "VStack",
26999
- "props": {
27000
- "spacing": 10,
27001
- "alignment": "leading",
27002
- "children": [
27003
- {
27004
- "id": "himi_blog_post.comment_input",
27005
- "body": {
27006
- "package": "himalaya",
27007
- "type": "TextField",
27008
- "props": {
27009
- "placeholder": "Write a comment",
27010
- "valuePath": "$service:himiBlogPost.commentText",
27011
- "multilineMaxLines": 4,
27012
- "onChange": {
27013
- "actionId": "tier5.himiBlogPost.setComment"
27014
- }
27015
- }
27016
- }
27017
- },
27018
- {
27019
- "id": "himi_blog_post.comment_submit",
27020
- "body": {
27021
- "package": "himalaya",
27022
- "type": "Button",
27023
- "props": {
27024
- "title": "Post comment",
27025
- "style": "primary",
27026
- "fullWidth": false,
27027
- "action": {
27028
- "actionId": "tier5.himiBlogPost.submitComment"
27029
- }
27030
- }
27031
- }
27032
- }
27033
- ]
27034
- }
27035
- }
27036
- }
27037
- ]
27038
- }
27039
- },
27040
- "modifiers": {
27041
- "padding": {
27042
- "leading": 20,
27043
- "trailing": 20,
27044
- "top": 12,
27045
- "bottom": 16
27046
- },
27047
- "hiddenPath": "$service:himiBlogPost.commentsOff"
27048
- }
27049
- }
27050
- ]
27051
- }
27052
- }
27053
- },
27054
- {
27055
- "id": "himi_blog_post.recent_section",
27056
- "body": {
27057
- "package": "himalaya",
27058
- "type": "VStack",
27059
- "props": {
27060
- "spacing": 0,
27061
- "alignment": "leading",
27062
- "children": [
27063
- {
27064
- "id": "himi_blog_post.recent_band",
27065
- "body": {
27066
- "package": "himalaya",
27067
- "type": "VStack",
27068
- "props": {
27069
- "spacing": 0,
27070
- "children": []
27071
- }
27072
- },
27073
- "modifiers": {
27074
- "height": 12,
27075
- "fillMaxWidth": true,
27076
- "background": {
27077
- "token": "surfaceSecondary"
27078
- },
27079
- "accessibilityRole": "decorative"
27080
- }
27081
- },
27082
- {
27083
- "id": "",
27084
- "body": {
27085
- "package": "himalaya",
27086
- "type": "VStack",
27087
- "props": {
27088
- "spacing": 0,
27089
- "alignment": "leading",
27090
- "children": [
27091
- {
27092
- "id": "",
27093
- "body": {
27094
- "package": "himalaya",
27095
- "type": "Text",
27096
- "props": {
27097
- "text": "Recent posts",
27098
- "style": "title3"
27099
- }
27100
- },
27101
- "modifiers": {
27102
- "accessibilityRole": "heading"
27103
- }
27104
- }
27105
- ]
27106
- }
27107
- },
27108
- "modifiers": {
27109
- "padding": {
27110
- "leading": 20,
27111
- "trailing": 20,
27112
- "top": 20,
27113
- "bottom": 4
27114
- }
27115
- }
27116
- },
27117
- {
27118
- "id": "himi_blog_post.recent",
27119
- "body": {
27120
- "package": "himalaya",
27121
- "type": "Grid",
27122
- "props": {
27123
- "columns": 1,
27124
- "spacing": 0,
27125
- "itemsPath": "$service:himiBlogPost.recent",
27126
- "items": [
27127
- {
27128
- "id": "himi_blog_post.recent_row",
27129
- "body": {
27130
- "package": "himalaya",
27131
- "type": "HStack",
27132
- "props": {
27133
- "spacing": 12,
27134
- "children": [
27135
- {
27136
- "id": "himi_blog_post.recent_cover",
27137
- "body": {
27138
- "package": "himalaya",
27139
- "type": "Image",
27140
- "props": {
27141
- "url": "$item.cover",
27142
- "width": 72,
27143
- "height": 72,
27144
- "contentMode": "fill"
27145
- }
27146
- },
27147
- "modifiers": {
27148
- "accessibilityRole": "decorative",
27149
- "cornerRadius": 8,
27150
- "hiddenPath": "$item.noCover"
26785
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
27151
26786
  }
27152
26787
  },
27153
26788
  {
27154
- "id": "",
26789
+ "id": "himi_blog_post.comments",
27155
26790
  "body": {
27156
26791
  "package": "himalaya",
27157
- "type": "ZStack",
26792
+ "type": "Grid",
27158
26793
  "props": {
27159
- "alignment": "center",
27160
- "children": [
26794
+ "columns": 1,
26795
+ "spacing": 16,
26796
+ "itemsPath": "$service:himiBlogPost.latestComments",
26797
+ "items": [
27161
26798
  {
27162
- "id": "",
26799
+ "id": "himi_blog_post.comment_row",
27163
26800
  "body": {
27164
26801
  "package": "himalaya",
27165
- "type": "Icon",
26802
+ "type": "HStack",
27166
26803
  "props": {
27167
- "name": "newspaper",
27168
- "size": 22,
27169
- "tint": "textTertiary"
27170
- }
27171
- },
27172
- "modifiers": {
27173
- "accessibilityRole": "decorative"
27174
- }
27175
- }
27176
- ]
27177
- }
27178
- },
27179
- "modifiers": {
27180
- "width": 72,
27181
- "height": 72,
27182
- "background": {
27183
- "token": "surfaceSecondary"
27184
- },
27185
- "cornerRadius": 8,
27186
- "accessibilityRole": "decorative",
27187
- "hiddenPath": "$item.hasCover"
26804
+ "spacing": 10,
26805
+ "alignment": "leading",
26806
+ "children": [
26807
+ {
26808
+ "id": "himi_blog_post.comment_avatar.photo",
26809
+ "body": {
26810
+ "package": "himalaya",
26811
+ "type": "Image",
26812
+ "props": {
26813
+ "url": "$item.authorPhoto",
26814
+ "width": 32,
26815
+ "height": 32,
26816
+ "contentMode": "fill",
26817
+ "shape": "circle"
26818
+ }
26819
+ },
26820
+ "modifiers": {
26821
+ "accessibilityRole": "decorative",
26822
+ "hiddenPath": "$item.noAuthorPhoto"
26823
+ }
26824
+ },
26825
+ {
26826
+ "id": "",
26827
+ "body": {
26828
+ "package": "himalaya",
26829
+ "type": "ZStack",
26830
+ "props": {
26831
+ "alignment": "center",
26832
+ "children": [
26833
+ {
26834
+ "id": "",
26835
+ "body": {
26836
+ "package": "himalaya",
26837
+ "type": "Text",
26838
+ "props": {
26839
+ "text": "$item.authorInitial",
26840
+ "style": "footnote",
26841
+ "color": "accentPrimary",
26842
+ "collapseWhenEmpty": true
26843
+ }
26844
+ }
26845
+ }
26846
+ ]
26847
+ }
26848
+ },
26849
+ "modifiers": {
26850
+ "width": 32,
26851
+ "height": 32,
26852
+ "background": {
26853
+ "token": "accentSurface"
26854
+ },
26855
+ "cornerRadius": 16,
26856
+ "accessibilityRole": "decorative",
26857
+ "hiddenPath": "$item.hasAuthorPhoto"
26858
+ }
26859
+ },
26860
+ {
26861
+ "id": "",
26862
+ "body": {
26863
+ "package": "himalaya",
26864
+ "type": "VStack",
26865
+ "props": {
26866
+ "spacing": 4,
26867
+ "alignment": "leading",
26868
+ "children": [
26869
+ {
26870
+ "id": "",
26871
+ "body": {
26872
+ "package": "himalaya",
26873
+ "type": "HStack",
26874
+ "props": {
26875
+ "spacing": 6,
26876
+ "alignment": "center",
26877
+ "children": [
26878
+ {
26879
+ "id": "",
26880
+ "body": {
26881
+ "package": "himalaya",
26882
+ "type": "Text",
26883
+ "props": {
26884
+ "text": "$item.authorName",
26885
+ "style": "footnote",
26886
+ "maxLines": 1
26887
+ }
26888
+ }
26889
+ },
26890
+ {
26891
+ "id": "",
26892
+ "body": {
26893
+ "package": "himalaya",
26894
+ "type": "Text",
26895
+ "props": {
26896
+ "text": "$item.meta",
26897
+ "style": "caption",
26898
+ "color": "textTertiary",
26899
+ "maxLines": 1,
26900
+ "collapseWhenEmpty": true
26901
+ }
26902
+ }
26903
+ },
26904
+ {
26905
+ "id": "",
26906
+ "body": {
26907
+ "package": "himalaya",
26908
+ "type": "Spacer",
26909
+ "props": {}
26910
+ }
26911
+ },
26912
+ {
26913
+ "id": "",
26914
+ "body": {
26915
+ "package": "himalaya",
26916
+ "type": "HStack",
26917
+ "props": {
26918
+ "spacing": 0,
26919
+ "alignment": "center",
26920
+ "children": [
26921
+ {
26922
+ "id": "himi_blog_post.comment_menu",
26923
+ "body": {
26924
+ "package": "himalaya",
26925
+ "type": "Menu",
26926
+ "props": {
26927
+ "anchor": {
26928
+ "id": "",
26929
+ "body": {
26930
+ "package": "himalaya",
26931
+ "type": "Icon",
26932
+ "props": {
26933
+ "name": "more_vertical",
26934
+ "size": 18,
26935
+ "tint": "textSecondary"
26936
+ }
26937
+ },
26938
+ "modifiers": {
26939
+ "accessibilityRole": "button",
26940
+ "accessibilityLabel": "Comment actions",
26941
+ "padding": {
26942
+ "leading": 13,
26943
+ "trailing": 13,
26944
+ "top": 4,
26945
+ "bottom": 4
26946
+ }
26947
+ }
26948
+ },
26949
+ "style": "dropdown",
26950
+ "items": [
26951
+ {
26952
+ "id": "report",
26953
+ "label": "Report",
26954
+ "icon": "warning",
26955
+ "action": {
26956
+ "actionId": "tier5.himiBlogPost.reportComment",
26957
+ "params": {
26958
+ "id": "$item.id"
26959
+ }
26960
+ }
26961
+ }
26962
+ ]
26963
+ }
26964
+ }
26965
+ }
26966
+ ]
26967
+ }
26968
+ },
26969
+ "modifiers": {
26970
+ "hiddenPath": "$item.noReport"
26971
+ }
26972
+ }
26973
+ ]
26974
+ }
26975
+ }
26976
+ },
26977
+ {
26978
+ "id": "comment_preview_$item.id",
26979
+ "body": {
26980
+ "package": "himalaya",
26981
+ "type": "Text",
26982
+ "props": {
26983
+ "text": "$item.preview",
26984
+ "style": "body",
26985
+ "maxLines": 2
26986
+ }
26987
+ }
26988
+ },
26989
+ {
26990
+ "id": "",
26991
+ "body": {
26992
+ "package": "himalaya",
26993
+ "type": "HStack",
26994
+ "props": {
26995
+ "spacing": 12,
26996
+ "alignment": "center",
26997
+ "children": [
26998
+ {
26999
+ "id": "",
27000
+ "body": {
27001
+ "package": "himalaya",
27002
+ "type": "HStack",
27003
+ "props": {
27004
+ "spacing": 0,
27005
+ "alignment": "center",
27006
+ "children": [
27007
+ {
27008
+ "id": "himi_blog_post.comment_like",
27009
+ "body": {
27010
+ "package": "himalaya",
27011
+ "type": "HStack",
27012
+ "props": {
27013
+ "spacing": 4,
27014
+ "alignment": "center",
27015
+ "children": [
27016
+ {
27017
+ "id": "",
27018
+ "body": {
27019
+ "package": "himalaya",
27020
+ "type": "Icon",
27021
+ "props": {
27022
+ "name": "heart",
27023
+ "size": 14,
27024
+ "tint": "textSecondary"
27025
+ }
27026
+ },
27027
+ "modifiers": {
27028
+ "accessibilityRole": "decorative"
27029
+ }
27030
+ },
27031
+ {
27032
+ "id": "",
27033
+ "body": {
27034
+ "package": "himalaya",
27035
+ "type": "Text",
27036
+ "props": {
27037
+ "text": "$item.likes",
27038
+ "style": "caption",
27039
+ "color": "textSecondary",
27040
+ "monospacedDigits": true
27041
+ }
27042
+ }
27043
+ }
27044
+ ]
27045
+ }
27046
+ },
27047
+ "modifiers": {
27048
+ "border": {
27049
+ "width": 1,
27050
+ "color": {
27051
+ "token": "border"
27052
+ }
27053
+ },
27054
+ "cornerRadius": 999,
27055
+ "padding": {
27056
+ "leading": 10,
27057
+ "trailing": 10,
27058
+ "top": 4,
27059
+ "bottom": 4
27060
+ },
27061
+ "onTap": {
27062
+ "actionId": "tier5.himiBlogPost.likeComment",
27063
+ "params": {
27064
+ "id": "$item.id"
27065
+ }
27066
+ },
27067
+ "pressFeedback": "scale",
27068
+ "haptic": "light",
27069
+ "accessibilityRole": "button",
27070
+ "accessibilityLabel": "Like",
27071
+ "hiddenPath": "$item.liked"
27072
+ }
27073
+ },
27074
+ {
27075
+ "id": "himi_blog_post.comment_unlike",
27076
+ "body": {
27077
+ "package": "himalaya",
27078
+ "type": "HStack",
27079
+ "props": {
27080
+ "spacing": 4,
27081
+ "alignment": "center",
27082
+ "children": [
27083
+ {
27084
+ "id": "",
27085
+ "body": {
27086
+ "package": "himalaya",
27087
+ "type": "Icon",
27088
+ "props": {
27089
+ "name": "heart_fill",
27090
+ "size": 14,
27091
+ "tint": "danger"
27092
+ }
27093
+ },
27094
+ "modifiers": {
27095
+ "accessibilityRole": "decorative"
27096
+ }
27097
+ },
27098
+ {
27099
+ "id": "",
27100
+ "body": {
27101
+ "package": "himalaya",
27102
+ "type": "Text",
27103
+ "props": {
27104
+ "text": "$item.likes",
27105
+ "style": "caption",
27106
+ "color": "danger",
27107
+ "monospacedDigits": true
27108
+ }
27109
+ }
27110
+ }
27111
+ ]
27112
+ }
27113
+ },
27114
+ "modifiers": {
27115
+ "background": {
27116
+ "token": "dangerSurface"
27117
+ },
27118
+ "cornerRadius": 999,
27119
+ "padding": {
27120
+ "leading": 10,
27121
+ "trailing": 10,
27122
+ "top": 4,
27123
+ "bottom": 4
27124
+ },
27125
+ "onTap": {
27126
+ "actionId": "tier5.himiBlogPost.unlikeComment",
27127
+ "params": {
27128
+ "id": "$item.id"
27129
+ }
27130
+ },
27131
+ "pressFeedback": "scale",
27132
+ "haptic": "light",
27133
+ "accessibilityRole": "button",
27134
+ "accessibilityLabel": "Unlike",
27135
+ "hiddenPath": "$item.notLiked"
27136
+ }
27137
+ }
27138
+ ]
27139
+ }
27140
+ },
27141
+ "modifiers": {
27142
+ "hiddenPath": "$item.noLikes"
27143
+ }
27144
+ },
27145
+ {
27146
+ "id": "",
27147
+ "body": {
27148
+ "package": "himalaya",
27149
+ "type": "HStack",
27150
+ "props": {
27151
+ "spacing": 0,
27152
+ "alignment": "center",
27153
+ "children": [
27154
+ {
27155
+ "id": "himi_blog_post.comment_reply",
27156
+ "body": {
27157
+ "package": "himalaya",
27158
+ "type": "Text",
27159
+ "props": {
27160
+ "text": "Reply",
27161
+ "style": "caption",
27162
+ "color": "textSecondary"
27163
+ }
27164
+ },
27165
+ "modifiers": {
27166
+ "onTap": {
27167
+ "actionId": "tier5.himiBlogPost.replyTo",
27168
+ "params": {
27169
+ "id": "$item.id"
27170
+ }
27171
+ },
27172
+ "accessibilityRole": "button",
27173
+ "padding": {
27174
+ "top": 4,
27175
+ "bottom": 4,
27176
+ "leading": 4,
27177
+ "trailing": 4
27178
+ },
27179
+ "hiddenPath": "$item.noReply"
27180
+ }
27181
+ }
27182
+ ]
27183
+ }
27184
+ },
27185
+ "modifiers": {
27186
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27187
+ }
27188
+ },
27189
+ {
27190
+ "id": "",
27191
+ "body": {
27192
+ "package": "himalaya",
27193
+ "type": "Spacer",
27194
+ "props": {}
27195
+ }
27196
+ }
27197
+ ]
27198
+ }
27199
+ }
27200
+ }
27201
+ ]
27202
+ }
27203
+ },
27204
+ "modifiers": {
27205
+ "weight": 1
27206
+ }
27207
+ }
27208
+ ]
27209
+ }
27210
+ },
27211
+ "modifiers": {
27212
+ "fillMaxWidth": true
27213
+ }
27214
+ }
27215
+ ]
27216
+ }
27188
27217
  }
27189
27218
  },
27190
27219
  {
27191
- "id": "",
27220
+ "id": "himi_blog_post.comment_open_composer",
27192
27221
  "body": {
27193
27222
  "package": "himalaya",
27194
- "type": "VStack",
27223
+ "type": "HStack",
27195
27224
  "props": {
27196
- "spacing": 4,
27197
- "alignment": "leading",
27225
+ "spacing": 10,
27226
+ "alignment": "center",
27198
27227
  "children": [
27199
27228
  {
27200
- "id": "",
27229
+ "id": "himi_blog_post.comment_input_avatar.photo",
27201
27230
  "body": {
27202
27231
  "package": "himalaya",
27203
- "type": "Text",
27232
+ "type": "Image",
27204
27233
  "props": {
27205
- "text": "$item.title",
27206
- "style": "bodyEmphasis",
27207
- "maxLines": 2
27234
+ "url": "$service:himiBlogPost.memberPhoto",
27235
+ "width": 32,
27236
+ "height": 32,
27237
+ "contentMode": "fill",
27238
+ "shape": "circle"
27208
27239
  }
27209
- }
27240
+ },
27241
+ "modifiers": {
27242
+ "accessibilityRole": "decorative",
27243
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
27244
+ }
27210
27245
  },
27211
27246
  {
27212
27247
  "id": "",
27213
27248
  "body": {
27214
27249
  "package": "himalaya",
27215
- "type": "Text",
27250
+ "type": "ZStack",
27216
27251
  "props": {
27217
- "text": "$item.date",
27218
- "style": "caption",
27219
- "color": "textSecondary",
27220
- "maxLines": 1,
27221
- "collapseWhenEmpty": true
27252
+ "alignment": "center",
27253
+ "children": [
27254
+ {
27255
+ "id": "",
27256
+ "body": {
27257
+ "package": "himalaya",
27258
+ "type": "Icon",
27259
+ "props": {
27260
+ "name": "person",
27261
+ "size": 16,
27262
+ "tint": "accentPrimary"
27263
+ }
27264
+ },
27265
+ "modifiers": {
27266
+ "accessibilityRole": "decorative",
27267
+ "hiddenPath": "$service:himiBlogPost.isMember"
27268
+ }
27269
+ },
27270
+ {
27271
+ "id": "",
27272
+ "body": {
27273
+ "package": "himalaya",
27274
+ "type": "Text",
27275
+ "props": {
27276
+ "text": "$service:himiBlogPost.memberInitial",
27277
+ "style": "footnote",
27278
+ "color": "accentPrimary",
27279
+ "collapseWhenEmpty": true
27280
+ }
27281
+ }
27282
+ }
27283
+ ]
27284
+ }
27285
+ },
27286
+ "modifiers": {
27287
+ "width": 32,
27288
+ "height": 32,
27289
+ "background": {
27290
+ "token": "accentSurface"
27291
+ },
27292
+ "cornerRadius": 16,
27293
+ "accessibilityRole": "decorative",
27294
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
27295
+ }
27296
+ },
27297
+ {
27298
+ "id": "",
27299
+ "body": {
27300
+ "package": "himalaya",
27301
+ "type": "HStack",
27302
+ "props": {
27303
+ "spacing": 0,
27304
+ "alignment": "center",
27305
+ "children": [
27306
+ {
27307
+ "id": "",
27308
+ "body": {
27309
+ "package": "himalaya",
27310
+ "type": "Text",
27311
+ "props": {
27312
+ "text": "Leave a comment…",
27313
+ "style": "body",
27314
+ "color": "textTertiary",
27315
+ "maxLines": 1
27316
+ }
27317
+ }
27318
+ },
27319
+ {
27320
+ "id": "",
27321
+ "body": {
27322
+ "package": "himalaya",
27323
+ "type": "Spacer",
27324
+ "props": {}
27325
+ }
27326
+ }
27327
+ ]
27222
27328
  }
27329
+ },
27330
+ "modifiers": {
27331
+ "background": {
27332
+ "token": "surfacePrimary"
27333
+ },
27334
+ "cornerRadius": 999,
27335
+ "padding": {
27336
+ "leading": 16,
27337
+ "trailing": 16,
27338
+ "top": 10,
27339
+ "bottom": 10
27340
+ },
27341
+ "weight": 1
27223
27342
  }
27224
27343
  }
27225
27344
  ]
27226
27345
  }
27227
- }
27228
- },
27229
- {
27230
- "id": "",
27231
- "body": {
27232
- "package": "himalaya",
27233
- "type": "Spacer",
27234
- "props": {}
27346
+ },
27347
+ "modifiers": {
27348
+ "onTap": {
27349
+ "actionId": "tier5.himiBlogPost.openComposer"
27350
+ },
27351
+ "accessibilityRole": "button",
27352
+ "accessibilityLabel": "Leave a comment…",
27353
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27235
27354
  }
27236
27355
  }
27237
27356
  ]
27238
27357
  }
27239
27358
  },
27240
27359
  "modifiers": {
27241
- "padding": {
27242
- "leading": 20,
27243
- "trailing": 20,
27244
- "top": 12,
27245
- "bottom": 12
27246
- },
27247
- "onTap": {
27248
- "actionId": "himi.open",
27249
- "params": {
27250
- "screenId": "$item.detailScreenId",
27251
- "id": "$item.id"
27252
- }
27360
+ "background": {
27361
+ "token": "surfaceSecondary"
27253
27362
  },
27254
- "pressFeedback": "scale",
27255
- "haptic": "light",
27256
- "accessibilityLabel": "$item.title"
27363
+ "cornerRadius": 16,
27364
+ "padding": {
27365
+ "leading": 16,
27366
+ "trailing": 16,
27367
+ "top": 16,
27368
+ "bottom": 16
27369
+ }
27257
27370
  }
27258
27371
  }
27259
27372
  ]
27260
27373
  }
27374
+ },
27375
+ "modifiers": {
27376
+ "padding": {
27377
+ "leading": 20,
27378
+ "trailing": 20,
27379
+ "top": 20,
27380
+ "bottom": 20
27381
+ }
27382
+ }
27383
+ }
27384
+ ]
27385
+ }
27386
+ }
27387
+ },
27388
+ {
27389
+ "id": "himi_blog_post.recent_section",
27390
+ "body": {
27391
+ "package": "himalaya",
27392
+ "type": "VStack",
27393
+ "props": {
27394
+ "spacing": 0,
27395
+ "alignment": "leading",
27396
+ "children": [
27397
+ {
27398
+ "id": "himi_blog_post.recent_band",
27399
+ "body": {
27400
+ "package": "himalaya",
27401
+ "type": "VStack",
27402
+ "props": {
27403
+ "spacing": 0,
27404
+ "children": []
27405
+ }
27406
+ },
27407
+ "modifiers": {
27408
+ "height": 12,
27409
+ "fillMaxWidth": true,
27410
+ "background": {
27411
+ "token": "surfaceSecondary"
27412
+ },
27413
+ "accessibilityRole": "decorative"
27261
27414
  }
27262
27415
  },
27263
27416
  {
27264
27417
  "id": "",
27265
27418
  "body": {
27266
27419
  "package": "himalaya",
27267
- "type": "HStack",
27420
+ "type": "VStack",
27268
27421
  "props": {
27269
27422
  "spacing": 0,
27423
+ "alignment": "leading",
27270
27424
  "children": [
27271
27425
  {
27272
27426
  "id": "",
27273
27427
  "body": {
27274
27428
  "package": "himalaya",
27275
- "type": "Spacer",
27276
- "props": {}
27277
- }
27278
- },
27279
- {
27280
- "id": "himi_blog_post.see_all",
27281
- "body": {
27282
- "package": "himalaya",
27283
- "type": "Button",
27429
+ "type": "Text",
27284
27430
  "props": {
27285
- "title": "See All Posts",
27286
- "style": "secondary",
27287
- "fullWidth": false,
27288
- "action": {
27289
- "actionId": "himi.open",
27290
- "params": {
27291
- "screenId": "himi_blog"
27292
- }
27293
- }
27431
+ "text": "Recent posts",
27432
+ "style": "title3"
27294
27433
  }
27295
- }
27296
- },
27297
- {
27298
- "id": "",
27299
- "body": {
27300
- "package": "himalaya",
27301
- "type": "Spacer",
27302
- "props": {}
27434
+ },
27435
+ "modifiers": {
27436
+ "accessibilityRole": "heading"
27303
27437
  }
27304
27438
  }
27305
27439
  ]
@@ -27307,66 +27441,267 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27307
27441
  },
27308
27442
  "modifiers": {
27309
27443
  "padding": {
27310
- "top": 12,
27311
- "bottom": 8
27444
+ "leading": 20,
27445
+ "trailing": 20,
27446
+ "top": 20,
27447
+ "bottom": 4
27312
27448
  }
27313
27449
  }
27314
- }
27315
- ]
27316
- }
27317
- },
27318
- "modifiers": {
27319
- "hiddenPath": "$service:himiBlogPost.noRecent"
27320
- }
27321
- }
27322
- ]
27323
- }
27324
- },
27325
- "modifiers": {
27326
- "hiddenPath": "$service:himiBlogPost.noPost"
27327
- }
27328
- },
27329
- {
27330
- "id": "himi_blog_post.more_sheet",
27331
- "body": {
27332
- "package": "himalaya",
27333
- "type": "BottomSheet",
27334
- "props": {
27335
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
27336
- "dismissible": true,
27337
- "showGrabber": true,
27338
- "onDismiss": {
27339
- "actionId": "tier5.himiBlogPost.closeMore"
27340
- },
27341
- "content": {
27342
- "id": "",
27343
- "body": {
27344
- "package": "himalaya",
27345
- "type": "VStack",
27346
- "props": {
27347
- "spacing": 0,
27348
- "alignment": "leading",
27349
- "children": [
27350
- {
27351
- "id": "himi_blog_post.report",
27352
- "body": {
27353
- "package": "himalaya",
27354
- "type": "HStack",
27355
- "props": {
27356
- "spacing": 14,
27357
- "children": [
27358
- {
27359
- "id": "",
27360
- "body": {
27361
- "package": "himalaya",
27362
- "type": "Icon",
27363
- "props": {
27364
- "name": "warning",
27365
- "size": 22,
27366
- "tint": "textPrimary"
27367
- }
27368
- },
27369
- "modifiers": {
27450
+ },
27451
+ {
27452
+ "id": "himi_blog_post.recent",
27453
+ "body": {
27454
+ "package": "himalaya",
27455
+ "type": "Grid",
27456
+ "props": {
27457
+ "columns": 1,
27458
+ "spacing": 0,
27459
+ "itemsPath": "$service:himiBlogPost.recent",
27460
+ "items": [
27461
+ {
27462
+ "id": "himi_blog_post.recent_row",
27463
+ "body": {
27464
+ "package": "himalaya",
27465
+ "type": "HStack",
27466
+ "props": {
27467
+ "spacing": 12,
27468
+ "children": [
27469
+ {
27470
+ "id": "himi_blog_post.recent_cover",
27471
+ "body": {
27472
+ "package": "himalaya",
27473
+ "type": "Image",
27474
+ "props": {
27475
+ "url": "$item.cover",
27476
+ "width": 72,
27477
+ "height": 72,
27478
+ "contentMode": "fill"
27479
+ }
27480
+ },
27481
+ "modifiers": {
27482
+ "accessibilityRole": "decorative",
27483
+ "cornerRadius": 8,
27484
+ "hiddenPath": "$item.noCover"
27485
+ }
27486
+ },
27487
+ {
27488
+ "id": "",
27489
+ "body": {
27490
+ "package": "himalaya",
27491
+ "type": "ZStack",
27492
+ "props": {
27493
+ "alignment": "center",
27494
+ "children": [
27495
+ {
27496
+ "id": "",
27497
+ "body": {
27498
+ "package": "himalaya",
27499
+ "type": "Icon",
27500
+ "props": {
27501
+ "name": "newspaper",
27502
+ "size": 22,
27503
+ "tint": "textTertiary"
27504
+ }
27505
+ },
27506
+ "modifiers": {
27507
+ "accessibilityRole": "decorative"
27508
+ }
27509
+ }
27510
+ ]
27511
+ }
27512
+ },
27513
+ "modifiers": {
27514
+ "width": 72,
27515
+ "height": 72,
27516
+ "background": {
27517
+ "token": "surfaceSecondary"
27518
+ },
27519
+ "cornerRadius": 8,
27520
+ "accessibilityRole": "decorative",
27521
+ "hiddenPath": "$item.hasCover"
27522
+ }
27523
+ },
27524
+ {
27525
+ "id": "",
27526
+ "body": {
27527
+ "package": "himalaya",
27528
+ "type": "VStack",
27529
+ "props": {
27530
+ "spacing": 4,
27531
+ "alignment": "leading",
27532
+ "children": [
27533
+ {
27534
+ "id": "",
27535
+ "body": {
27536
+ "package": "himalaya",
27537
+ "type": "Text",
27538
+ "props": {
27539
+ "text": "$item.title",
27540
+ "style": "bodyEmphasis",
27541
+ "maxLines": 2
27542
+ }
27543
+ }
27544
+ },
27545
+ {
27546
+ "id": "",
27547
+ "body": {
27548
+ "package": "himalaya",
27549
+ "type": "Text",
27550
+ "props": {
27551
+ "text": "$item.date",
27552
+ "style": "caption",
27553
+ "color": "textSecondary",
27554
+ "maxLines": 1,
27555
+ "collapseWhenEmpty": true
27556
+ }
27557
+ }
27558
+ }
27559
+ ]
27560
+ }
27561
+ }
27562
+ },
27563
+ {
27564
+ "id": "",
27565
+ "body": {
27566
+ "package": "himalaya",
27567
+ "type": "Spacer",
27568
+ "props": {}
27569
+ }
27570
+ }
27571
+ ]
27572
+ }
27573
+ },
27574
+ "modifiers": {
27575
+ "padding": {
27576
+ "leading": 20,
27577
+ "trailing": 20,
27578
+ "top": 12,
27579
+ "bottom": 12
27580
+ },
27581
+ "onTap": {
27582
+ "actionId": "himi.open",
27583
+ "params": {
27584
+ "screenId": "$item.detailScreenId",
27585
+ "id": "$item.id"
27586
+ }
27587
+ },
27588
+ "pressFeedback": "scale",
27589
+ "haptic": "light",
27590
+ "accessibilityLabel": "$item.title"
27591
+ }
27592
+ }
27593
+ ]
27594
+ }
27595
+ }
27596
+ },
27597
+ {
27598
+ "id": "",
27599
+ "body": {
27600
+ "package": "himalaya",
27601
+ "type": "HStack",
27602
+ "props": {
27603
+ "spacing": 0,
27604
+ "children": [
27605
+ {
27606
+ "id": "",
27607
+ "body": {
27608
+ "package": "himalaya",
27609
+ "type": "Spacer",
27610
+ "props": {}
27611
+ }
27612
+ },
27613
+ {
27614
+ "id": "himi_blog_post.see_all",
27615
+ "body": {
27616
+ "package": "himalaya",
27617
+ "type": "Button",
27618
+ "props": {
27619
+ "title": "See All Posts",
27620
+ "style": "secondary",
27621
+ "fullWidth": false,
27622
+ "action": {
27623
+ "actionId": "himi.open",
27624
+ "params": {
27625
+ "screenId": "himi_blog"
27626
+ }
27627
+ }
27628
+ }
27629
+ }
27630
+ },
27631
+ {
27632
+ "id": "",
27633
+ "body": {
27634
+ "package": "himalaya",
27635
+ "type": "Spacer",
27636
+ "props": {}
27637
+ }
27638
+ }
27639
+ ]
27640
+ }
27641
+ },
27642
+ "modifiers": {
27643
+ "padding": {
27644
+ "top": 12,
27645
+ "bottom": 8
27646
+ }
27647
+ }
27648
+ }
27649
+ ]
27650
+ }
27651
+ },
27652
+ "modifiers": {
27653
+ "hiddenPath": "$service:himiBlogPost.noRecent"
27654
+ }
27655
+ }
27656
+ ]
27657
+ }
27658
+ },
27659
+ "modifiers": {
27660
+ "hiddenPath": "$service:himiBlogPost.noPost"
27661
+ }
27662
+ },
27663
+ {
27664
+ "id": "himi_blog_post.more_sheet",
27665
+ "body": {
27666
+ "package": "himalaya",
27667
+ "type": "BottomSheet",
27668
+ "props": {
27669
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
27670
+ "dismissible": true,
27671
+ "showGrabber": true,
27672
+ "onDismiss": {
27673
+ "actionId": "tier5.himiBlogPost.closeMore"
27674
+ },
27675
+ "content": {
27676
+ "id": "",
27677
+ "body": {
27678
+ "package": "himalaya",
27679
+ "type": "VStack",
27680
+ "props": {
27681
+ "spacing": 0,
27682
+ "alignment": "leading",
27683
+ "children": [
27684
+ {
27685
+ "id": "himi_blog_post.report",
27686
+ "body": {
27687
+ "package": "himalaya",
27688
+ "type": "HStack",
27689
+ "props": {
27690
+ "spacing": 14,
27691
+ "alignment": "center",
27692
+ "children": [
27693
+ {
27694
+ "id": "",
27695
+ "body": {
27696
+ "package": "himalaya",
27697
+ "type": "Icon",
27698
+ "props": {
27699
+ "name": "warning",
27700
+ "size": 22,
27701
+ "tint": "textPrimary"
27702
+ }
27703
+ },
27704
+ "modifiers": {
27370
27705
  "accessibilityRole": "decorative"
27371
27706
  }
27372
27707
  },
@@ -27412,6 +27747,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27412
27747
  "type": "HStack",
27413
27748
  "props": {
27414
27749
  "spacing": 14,
27750
+ "alignment": "center",
27415
27751
  "children": [
27416
27752
  {
27417
27753
  "id": "",
@@ -27470,6 +27806,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27470
27806
  "type": "HStack",
27471
27807
  "props": {
27472
27808
  "spacing": 14,
27809
+ "alignment": "center",
27473
27810
  "children": [
27474
27811
  {
27475
27812
  "id": "",
@@ -27548,241 +27885,1671 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27548
27885
  "onDismiss": {
27549
27886
  "actionId": "tier5.himiBlogPost.closeHide"
27550
27887
  },
27551
- "content": {
27552
- "id": "",
27888
+ "content": {
27889
+ "id": "",
27890
+ "body": {
27891
+ "package": "himalaya",
27892
+ "type": "VStack",
27893
+ "props": {
27894
+ "spacing": 0,
27895
+ "alignment": "leading",
27896
+ "children": [
27897
+ {
27898
+ "id": "",
27899
+ "body": {
27900
+ "package": "himalaya",
27901
+ "type": "Text",
27902
+ "props": {
27903
+ "text": "Why are you hiding this post?",
27904
+ "style": "title3"
27905
+ }
27906
+ },
27907
+ "modifiers": {
27908
+ "padding": {
27909
+ "bottom": 6
27910
+ }
27911
+ }
27912
+ },
27913
+ {
27914
+ "id": "himi_blog_post.hide_offensive",
27915
+ "body": {
27916
+ "package": "himalaya",
27917
+ "type": "HStack",
27918
+ "props": {
27919
+ "spacing": 14,
27920
+ "alignment": "center",
27921
+ "children": [
27922
+ {
27923
+ "id": "",
27924
+ "body": {
27925
+ "package": "himalaya",
27926
+ "type": "Text",
27927
+ "props": {
27928
+ "text": "It is offensive",
27929
+ "style": "body"
27930
+ }
27931
+ }
27932
+ },
27933
+ {
27934
+ "id": "",
27935
+ "body": {
27936
+ "package": "himalaya",
27937
+ "type": "Spacer",
27938
+ "props": {}
27939
+ }
27940
+ }
27941
+ ]
27942
+ }
27943
+ },
27944
+ "modifiers": {
27945
+ "onTap": {
27946
+ "actionId": "tier5.himiBlogPost.hide",
27947
+ "params": {
27948
+ "reason": "offensive"
27949
+ }
27950
+ },
27951
+ "accessibilityRole": "button",
27952
+ "accessibilityLabel": "It is offensive",
27953
+ "padding": {
27954
+ "top": 11,
27955
+ "bottom": 11
27956
+ }
27957
+ }
27958
+ },
27959
+ {
27960
+ "id": "himi_blog_post.hide_misleading",
27961
+ "body": {
27962
+ "package": "himalaya",
27963
+ "type": "HStack",
27964
+ "props": {
27965
+ "spacing": 14,
27966
+ "alignment": "center",
27967
+ "children": [
27968
+ {
27969
+ "id": "",
27970
+ "body": {
27971
+ "package": "himalaya",
27972
+ "type": "Text",
27973
+ "props": {
27974
+ "text": "It is misleading",
27975
+ "style": "body"
27976
+ }
27977
+ }
27978
+ },
27979
+ {
27980
+ "id": "",
27981
+ "body": {
27982
+ "package": "himalaya",
27983
+ "type": "Spacer",
27984
+ "props": {}
27985
+ }
27986
+ }
27987
+ ]
27988
+ }
27989
+ },
27990
+ "modifiers": {
27991
+ "onTap": {
27992
+ "actionId": "tier5.himiBlogPost.hide",
27993
+ "params": {
27994
+ "reason": "misleading"
27995
+ }
27996
+ },
27997
+ "accessibilityRole": "button",
27998
+ "accessibilityLabel": "It is misleading",
27999
+ "padding": {
28000
+ "top": 11,
28001
+ "bottom": 11
28002
+ }
28003
+ }
28004
+ },
28005
+ {
28006
+ "id": "himi_blog_post.hide_other",
28007
+ "body": {
28008
+ "package": "himalaya",
28009
+ "type": "HStack",
28010
+ "props": {
28011
+ "spacing": 14,
28012
+ "alignment": "center",
28013
+ "children": [
28014
+ {
28015
+ "id": "",
28016
+ "body": {
28017
+ "package": "himalaya",
28018
+ "type": "Text",
28019
+ "props": {
28020
+ "text": "Something else",
28021
+ "style": "body"
28022
+ }
28023
+ }
28024
+ },
28025
+ {
28026
+ "id": "",
28027
+ "body": {
28028
+ "package": "himalaya",
28029
+ "type": "Spacer",
28030
+ "props": {}
28031
+ }
28032
+ }
28033
+ ]
28034
+ }
28035
+ },
28036
+ "modifiers": {
28037
+ "onTap": {
28038
+ "actionId": "tier5.himiBlogPost.hide",
28039
+ "params": {
28040
+ "reason": "other"
28041
+ }
28042
+ },
28043
+ "accessibilityRole": "button",
28044
+ "accessibilityLabel": "Something else",
28045
+ "padding": {
28046
+ "top": 11,
28047
+ "bottom": 11
28048
+ }
28049
+ }
28050
+ },
28051
+ {
28052
+ "id": "himi_blog_post.hide_cancel",
28053
+ "body": {
28054
+ "package": "himalaya",
28055
+ "type": "Button",
28056
+ "props": {
28057
+ "title": "Cancel",
28058
+ "style": "secondary",
28059
+ "fullWidth": true,
28060
+ "action": {
28061
+ "actionId": "tier5.himiBlogPost.closeHide"
28062
+ }
28063
+ }
28064
+ },
28065
+ "modifiers": {
28066
+ "padding": {
28067
+ "top": 8
28068
+ }
28069
+ }
28070
+ }
28071
+ ]
28072
+ }
28073
+ },
28074
+ "modifiers": {
28075
+ "padding": {
28076
+ "leading": 20,
28077
+ "trailing": 20,
28078
+ "top": 12,
28079
+ "bottom": 8
28080
+ }
28081
+ }
28082
+ }
28083
+ }
28084
+ }
28085
+ },
28086
+ {
28087
+ "id": "himi_blog_post.comments_sheet",
28088
+ "body": {
28089
+ "package": "himalaya",
28090
+ "type": "BottomSheet",
28091
+ "props": {
28092
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
28093
+ "dismissible": true,
28094
+ "showGrabber": true,
28095
+ "detents": [
28096
+ 0.9
28097
+ ],
28098
+ "onDismiss": {
28099
+ "actionId": "tier5.himiBlogPost.closeComments"
28100
+ },
28101
+ "content": {
28102
+ "id": "",
28103
+ "body": {
28104
+ "package": "himalaya",
28105
+ "type": "VStack",
28106
+ "props": {
28107
+ "spacing": 12,
28108
+ "alignment": "leading",
28109
+ "children": [
28110
+ {
28111
+ "id": "",
28112
+ "body": {
28113
+ "package": "himalaya",
28114
+ "type": "HStack",
28115
+ "props": {
28116
+ "spacing": 8,
28117
+ "alignment": "center",
28118
+ "children": [
28119
+ {
28120
+ "id": "",
28121
+ "body": {
28122
+ "package": "himalaya",
28123
+ "type": "VStack",
28124
+ "props": {
28125
+ "spacing": 2,
28126
+ "alignment": "leading",
28127
+ "children": [
28128
+ {
28129
+ "id": "himi_blog_post.comments_sheet_title",
28130
+ "body": {
28131
+ "package": "himalaya",
28132
+ "type": "Text",
28133
+ "props": {
28134
+ "text": "$service:himiBlogPost.sheetTitle",
28135
+ "style": "title3"
28136
+ }
28137
+ },
28138
+ "modifiers": {
28139
+ "accessibilityRole": "heading"
28140
+ }
28141
+ },
28142
+ {
28143
+ "id": "",
28144
+ "body": {
28145
+ "package": "himalaya",
28146
+ "type": "Text",
28147
+ "props": {
28148
+ "text": "$service:himiBlogPost.title",
28149
+ "style": "footnote",
28150
+ "color": "textSecondary",
28151
+ "maxLines": 1,
28152
+ "collapseWhenEmpty": true
28153
+ }
28154
+ }
28155
+ }
28156
+ ]
28157
+ }
28158
+ }
28159
+ },
28160
+ {
28161
+ "id": "",
28162
+ "body": {
28163
+ "package": "himalaya",
28164
+ "type": "Spacer",
28165
+ "props": {}
28166
+ }
28167
+ },
28168
+ {
28169
+ "id": "himi_blog_post.comments_close",
28170
+ "body": {
28171
+ "package": "himalaya",
28172
+ "type": "Icon",
28173
+ "props": {
28174
+ "name": "chevron_down",
28175
+ "size": 22,
28176
+ "tint": "textPrimary"
28177
+ }
28178
+ },
28179
+ "modifiers": {
28180
+ "accessibilityRole": "button",
28181
+ "onTap": {
28182
+ "actionId": "tier5.himiBlogPost.closeComments"
28183
+ },
28184
+ "accessibilityLabel": "Close comments",
28185
+ "padding": {
28186
+ "leading": 11,
28187
+ "trailing": 11,
28188
+ "top": 11,
28189
+ "bottom": 11
28190
+ }
28191
+ }
28192
+ }
28193
+ ]
28194
+ }
28195
+ }
28196
+ },
28197
+ {
28198
+ "id": "",
28199
+ "body": {
28200
+ "package": "himalaya",
28201
+ "type": "Text",
28202
+ "props": {
28203
+ "text": "$service:himiBlogPost.commentStatusText",
28204
+ "style": "footnote",
28205
+ "color": "textSecondary"
28206
+ }
28207
+ },
28208
+ "modifiers": {
28209
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
28210
+ }
28211
+ },
28212
+ {
28213
+ "id": "",
28214
+ "body": {
28215
+ "package": "himalaya",
28216
+ "type": "VStack",
28217
+ "props": {
28218
+ "spacing": 4,
28219
+ "alignment": "leading",
28220
+ "children": [
28221
+ {
28222
+ "id": "",
28223
+ "body": {
28224
+ "package": "himalaya",
28225
+ "type": "Text",
28226
+ "props": {
28227
+ "text": "No comments yet",
28228
+ "style": "bodyEmphasis"
28229
+ }
28230
+ }
28231
+ },
28232
+ {
28233
+ "id": "",
28234
+ "body": {
28235
+ "package": "himalaya",
28236
+ "type": "Text",
28237
+ "props": {
28238
+ "text": "Be the first to share your thoughts.",
28239
+ "style": "footnote",
28240
+ "color": "textSecondary"
28241
+ }
28242
+ }
28243
+ }
28244
+ ]
28245
+ }
28246
+ },
28247
+ "modifiers": {
28248
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
28249
+ }
28250
+ },
28251
+ {
28252
+ "id": "himi_blog_post.sheet_comments",
28253
+ "body": {
28254
+ "package": "himalaya",
28255
+ "type": "LazyList",
28256
+ "props": {
28257
+ "spacing": 4,
28258
+ "itemsPath": "$service:himiBlogPost.comments",
28259
+ "items": [
28260
+ {
28261
+ "id": "himi_blog_post.sheet_comment_row",
28262
+ "body": {
28263
+ "package": "himalaya",
28264
+ "type": "VStack",
28265
+ "props": {
28266
+ "spacing": 0,
28267
+ "alignment": "leading",
28268
+ "children": [
28269
+ {
28270
+ "id": "",
28271
+ "body": {
28272
+ "package": "himalaya",
28273
+ "type": "VStack",
28274
+ "props": {
28275
+ "spacing": 0,
28276
+ "alignment": "leading",
28277
+ "children": [
28278
+ {
28279
+ "id": "",
28280
+ "body": {
28281
+ "package": "himalaya",
28282
+ "type": "HStack",
28283
+ "props": {
28284
+ "spacing": 10,
28285
+ "alignment": "leading",
28286
+ "children": [
28287
+ {
28288
+ "id": "himi_blog_post.comment_avatar.photo",
28289
+ "body": {
28290
+ "package": "himalaya",
28291
+ "type": "Image",
28292
+ "props": {
28293
+ "url": "$item.authorPhoto",
28294
+ "width": 32,
28295
+ "height": 32,
28296
+ "contentMode": "fill",
28297
+ "shape": "circle"
28298
+ }
28299
+ },
28300
+ "modifiers": {
28301
+ "accessibilityRole": "decorative",
28302
+ "hiddenPath": "$item.noAuthorPhoto"
28303
+ }
28304
+ },
28305
+ {
28306
+ "id": "",
28307
+ "body": {
28308
+ "package": "himalaya",
28309
+ "type": "ZStack",
28310
+ "props": {
28311
+ "alignment": "center",
28312
+ "children": [
28313
+ {
28314
+ "id": "",
28315
+ "body": {
28316
+ "package": "himalaya",
28317
+ "type": "Text",
28318
+ "props": {
28319
+ "text": "$item.authorInitial",
28320
+ "style": "footnote",
28321
+ "color": "accentPrimary",
28322
+ "collapseWhenEmpty": true
28323
+ }
28324
+ }
28325
+ }
28326
+ ]
28327
+ }
28328
+ },
28329
+ "modifiers": {
28330
+ "width": 32,
28331
+ "height": 32,
28332
+ "background": {
28333
+ "token": "accentSurface"
28334
+ },
28335
+ "cornerRadius": 16,
28336
+ "accessibilityRole": "decorative",
28337
+ "hiddenPath": "$item.hasAuthorPhoto"
28338
+ }
28339
+ },
28340
+ {
28341
+ "id": "",
28342
+ "body": {
28343
+ "package": "himalaya",
28344
+ "type": "VStack",
28345
+ "props": {
28346
+ "spacing": 4,
28347
+ "alignment": "leading",
28348
+ "children": [
28349
+ {
28350
+ "id": "",
28351
+ "body": {
28352
+ "package": "himalaya",
28353
+ "type": "HStack",
28354
+ "props": {
28355
+ "spacing": 6,
28356
+ "alignment": "center",
28357
+ "children": [
28358
+ {
28359
+ "id": "",
28360
+ "body": {
28361
+ "package": "himalaya",
28362
+ "type": "Text",
28363
+ "props": {
28364
+ "text": "$item.authorName",
28365
+ "style": "footnote",
28366
+ "maxLines": 1
28367
+ }
28368
+ }
28369
+ },
28370
+ {
28371
+ "id": "",
28372
+ "body": {
28373
+ "package": "himalaya",
28374
+ "type": "Text",
28375
+ "props": {
28376
+ "text": "$item.meta",
28377
+ "style": "caption",
28378
+ "color": "textTertiary",
28379
+ "maxLines": 1,
28380
+ "collapseWhenEmpty": true
28381
+ }
28382
+ }
28383
+ },
28384
+ {
28385
+ "id": "",
28386
+ "body": {
28387
+ "package": "himalaya",
28388
+ "type": "Spacer",
28389
+ "props": {}
28390
+ }
28391
+ },
28392
+ {
28393
+ "id": "",
28394
+ "body": {
28395
+ "package": "himalaya",
28396
+ "type": "HStack",
28397
+ "props": {
28398
+ "spacing": 0,
28399
+ "alignment": "center",
28400
+ "children": [
28401
+ {
28402
+ "id": "himi_blog_post.reply_menu",
28403
+ "body": {
28404
+ "package": "himalaya",
28405
+ "type": "Menu",
28406
+ "props": {
28407
+ "anchor": {
28408
+ "id": "",
28409
+ "body": {
28410
+ "package": "himalaya",
28411
+ "type": "Icon",
28412
+ "props": {
28413
+ "name": "more_vertical",
28414
+ "size": 18,
28415
+ "tint": "textSecondary"
28416
+ }
28417
+ },
28418
+ "modifiers": {
28419
+ "accessibilityRole": "button",
28420
+ "accessibilityLabel": "Comment actions",
28421
+ "padding": {
28422
+ "leading": 13,
28423
+ "trailing": 13,
28424
+ "top": 4,
28425
+ "bottom": 4
28426
+ }
28427
+ }
28428
+ },
28429
+ "style": "dropdown",
28430
+ "items": [
28431
+ {
28432
+ "id": "report",
28433
+ "label": "Report",
28434
+ "icon": "warning",
28435
+ "action": {
28436
+ "actionId": "tier5.himiBlogPost.reportComment",
28437
+ "params": {
28438
+ "id": "$item.id"
28439
+ }
28440
+ }
28441
+ }
28442
+ ]
28443
+ }
28444
+ }
28445
+ }
28446
+ ]
28447
+ }
28448
+ },
28449
+ "modifiers": {
28450
+ "hiddenPath": "$item.noReport"
28451
+ }
28452
+ }
28453
+ ]
28454
+ }
28455
+ }
28456
+ },
28457
+ {
28458
+ "id": "",
28459
+ "body": {
28460
+ "package": "himalaya",
28461
+ "type": "VStack",
28462
+ "props": {
28463
+ "spacing": 0,
28464
+ "alignment": "leading",
28465
+ "children": [
28466
+ {
28467
+ "id": "reply_body_$item.id",
28468
+ "body": {
28469
+ "package": "himalaya",
28470
+ "type": "RichContent",
28471
+ "props": {
28472
+ "documentJsonPath": "$item.bodyJson",
28473
+ "onLink": {
28474
+ "actionId": "tier5.himiBlogPost.openLink"
28475
+ },
28476
+ "fallback": {
28477
+ "id": "",
28478
+ "body": {
28479
+ "package": "himalaya",
28480
+ "type": "Text",
28481
+ "props": {
28482
+ "text": "$item.text",
28483
+ "style": "body",
28484
+ "collapseWhenEmpty": true
28485
+ }
28486
+ }
28487
+ }
28488
+ }
28489
+ }
28490
+ },
28491
+ {
28492
+ "id": "reply_body_text_$item.id",
28493
+ "body": {
28494
+ "package": "himalaya",
28495
+ "type": "Text",
28496
+ "props": {
28497
+ "text": "$item.text",
28498
+ "style": "body",
28499
+ "collapseWhenEmpty": true
28500
+ }
28501
+ },
28502
+ "modifiers": {
28503
+ "hiddenPath": "$item.hasBodyJson"
28504
+ }
28505
+ }
28506
+ ]
28507
+ }
28508
+ }
28509
+ },
28510
+ {
28511
+ "id": "",
28512
+ "body": {
28513
+ "package": "himalaya",
28514
+ "type": "HStack",
28515
+ "props": {
28516
+ "spacing": 12,
28517
+ "alignment": "center",
28518
+ "children": [
28519
+ {
28520
+ "id": "",
28521
+ "body": {
28522
+ "package": "himalaya",
28523
+ "type": "HStack",
28524
+ "props": {
28525
+ "spacing": 0,
28526
+ "alignment": "center",
28527
+ "children": [
28528
+ {
28529
+ "id": "himi_blog_post.comment_like",
28530
+ "body": {
28531
+ "package": "himalaya",
28532
+ "type": "HStack",
28533
+ "props": {
28534
+ "spacing": 4,
28535
+ "alignment": "center",
28536
+ "children": [
28537
+ {
28538
+ "id": "",
28539
+ "body": {
28540
+ "package": "himalaya",
28541
+ "type": "Icon",
28542
+ "props": {
28543
+ "name": "heart",
28544
+ "size": 14,
28545
+ "tint": "textSecondary"
28546
+ }
28547
+ },
28548
+ "modifiers": {
28549
+ "accessibilityRole": "decorative"
28550
+ }
28551
+ },
28552
+ {
28553
+ "id": "",
28554
+ "body": {
28555
+ "package": "himalaya",
28556
+ "type": "Text",
28557
+ "props": {
28558
+ "text": "$item.likes",
28559
+ "style": "caption",
28560
+ "color": "textSecondary",
28561
+ "monospacedDigits": true
28562
+ }
28563
+ }
28564
+ }
28565
+ ]
28566
+ }
28567
+ },
28568
+ "modifiers": {
28569
+ "border": {
28570
+ "width": 1,
28571
+ "color": {
28572
+ "token": "border"
28573
+ }
28574
+ },
28575
+ "cornerRadius": 999,
28576
+ "padding": {
28577
+ "leading": 10,
28578
+ "trailing": 10,
28579
+ "top": 4,
28580
+ "bottom": 4
28581
+ },
28582
+ "onTap": {
28583
+ "actionId": "tier5.himiBlogPost.likeComment",
28584
+ "params": {
28585
+ "id": "$item.id"
28586
+ }
28587
+ },
28588
+ "pressFeedback": "scale",
28589
+ "haptic": "light",
28590
+ "accessibilityRole": "button",
28591
+ "accessibilityLabel": "Like",
28592
+ "hiddenPath": "$item.liked"
28593
+ }
28594
+ },
28595
+ {
28596
+ "id": "himi_blog_post.comment_unlike",
28597
+ "body": {
28598
+ "package": "himalaya",
28599
+ "type": "HStack",
28600
+ "props": {
28601
+ "spacing": 4,
28602
+ "alignment": "center",
28603
+ "children": [
28604
+ {
28605
+ "id": "",
28606
+ "body": {
28607
+ "package": "himalaya",
28608
+ "type": "Icon",
28609
+ "props": {
28610
+ "name": "heart_fill",
28611
+ "size": 14,
28612
+ "tint": "danger"
28613
+ }
28614
+ },
28615
+ "modifiers": {
28616
+ "accessibilityRole": "decorative"
28617
+ }
28618
+ },
28619
+ {
28620
+ "id": "",
28621
+ "body": {
28622
+ "package": "himalaya",
28623
+ "type": "Text",
28624
+ "props": {
28625
+ "text": "$item.likes",
28626
+ "style": "caption",
28627
+ "color": "danger",
28628
+ "monospacedDigits": true
28629
+ }
28630
+ }
28631
+ }
28632
+ ]
28633
+ }
28634
+ },
28635
+ "modifiers": {
28636
+ "background": {
28637
+ "token": "dangerSurface"
28638
+ },
28639
+ "cornerRadius": 999,
28640
+ "padding": {
28641
+ "leading": 10,
28642
+ "trailing": 10,
28643
+ "top": 4,
28644
+ "bottom": 4
28645
+ },
28646
+ "onTap": {
28647
+ "actionId": "tier5.himiBlogPost.unlikeComment",
28648
+ "params": {
28649
+ "id": "$item.id"
28650
+ }
28651
+ },
28652
+ "pressFeedback": "scale",
28653
+ "haptic": "light",
28654
+ "accessibilityRole": "button",
28655
+ "accessibilityLabel": "Unlike",
28656
+ "hiddenPath": "$item.notLiked"
28657
+ }
28658
+ }
28659
+ ]
28660
+ }
28661
+ },
28662
+ "modifiers": {
28663
+ "hiddenPath": "$item.noLikes"
28664
+ }
28665
+ },
28666
+ {
28667
+ "id": "",
28668
+ "body": {
28669
+ "package": "himalaya",
28670
+ "type": "HStack",
28671
+ "props": {
28672
+ "spacing": 0,
28673
+ "alignment": "center",
28674
+ "children": [
28675
+ {
28676
+ "id": "himi_blog_post.comment_reply",
28677
+ "body": {
28678
+ "package": "himalaya",
28679
+ "type": "Text",
28680
+ "props": {
28681
+ "text": "Reply",
28682
+ "style": "caption",
28683
+ "color": "textSecondary"
28684
+ }
28685
+ },
28686
+ "modifiers": {
28687
+ "onTap": {
28688
+ "actionId": "tier5.himiBlogPost.replyTo",
28689
+ "params": {
28690
+ "id": "$item.id"
28691
+ }
28692
+ },
28693
+ "accessibilityRole": "button",
28694
+ "padding": {
28695
+ "top": 4,
28696
+ "bottom": 4,
28697
+ "leading": 4,
28698
+ "trailing": 4
28699
+ },
28700
+ "hiddenPath": "$item.noReply"
28701
+ }
28702
+ }
28703
+ ]
28704
+ }
28705
+ },
28706
+ "modifiers": {
28707
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
28708
+ }
28709
+ },
28710
+ {
28711
+ "id": "",
28712
+ "body": {
28713
+ "package": "himalaya",
28714
+ "type": "Spacer",
28715
+ "props": {}
28716
+ }
28717
+ }
28718
+ ]
28719
+ }
28720
+ }
28721
+ }
28722
+ ]
28723
+ }
28724
+ },
28725
+ "modifiers": {
28726
+ "weight": 1
28727
+ }
28728
+ }
28729
+ ]
28730
+ }
28731
+ },
28732
+ "modifiers": {
28733
+ "fillMaxWidth": true
28734
+ }
28735
+ }
28736
+ ]
28737
+ }
28738
+ },
28739
+ "modifiers": {
28740
+ "padding": {
28741
+ "leading": 42
28742
+ },
28743
+ "hiddenPath": "$item.notReply"
28744
+ }
28745
+ },
28746
+ {
28747
+ "id": "",
28748
+ "body": {
28749
+ "package": "himalaya",
28750
+ "type": "HStack",
28751
+ "props": {
28752
+ "spacing": 10,
28753
+ "alignment": "leading",
28754
+ "children": [
28755
+ {
28756
+ "id": "himi_blog_post.comment_avatar.photo",
28757
+ "body": {
28758
+ "package": "himalaya",
28759
+ "type": "Image",
28760
+ "props": {
28761
+ "url": "$item.authorPhoto",
28762
+ "width": 32,
28763
+ "height": 32,
28764
+ "contentMode": "fill",
28765
+ "shape": "circle"
28766
+ }
28767
+ },
28768
+ "modifiers": {
28769
+ "accessibilityRole": "decorative",
28770
+ "hiddenPath": "$item.noAuthorPhoto"
28771
+ }
28772
+ },
28773
+ {
28774
+ "id": "",
28775
+ "body": {
28776
+ "package": "himalaya",
28777
+ "type": "ZStack",
28778
+ "props": {
28779
+ "alignment": "center",
28780
+ "children": [
28781
+ {
28782
+ "id": "",
28783
+ "body": {
28784
+ "package": "himalaya",
28785
+ "type": "Text",
28786
+ "props": {
28787
+ "text": "$item.authorInitial",
28788
+ "style": "footnote",
28789
+ "color": "accentPrimary",
28790
+ "collapseWhenEmpty": true
28791
+ }
28792
+ }
28793
+ }
28794
+ ]
28795
+ }
28796
+ },
28797
+ "modifiers": {
28798
+ "width": 32,
28799
+ "height": 32,
28800
+ "background": {
28801
+ "token": "accentSurface"
28802
+ },
28803
+ "cornerRadius": 16,
28804
+ "accessibilityRole": "decorative",
28805
+ "hiddenPath": "$item.hasAuthorPhoto"
28806
+ }
28807
+ },
28808
+ {
28809
+ "id": "",
28810
+ "body": {
28811
+ "package": "himalaya",
28812
+ "type": "VStack",
28813
+ "props": {
28814
+ "spacing": 4,
28815
+ "alignment": "leading",
28816
+ "children": [
28817
+ {
28818
+ "id": "",
28819
+ "body": {
28820
+ "package": "himalaya",
28821
+ "type": "HStack",
28822
+ "props": {
28823
+ "spacing": 6,
28824
+ "alignment": "center",
28825
+ "children": [
28826
+ {
28827
+ "id": "",
28828
+ "body": {
28829
+ "package": "himalaya",
28830
+ "type": "Text",
28831
+ "props": {
28832
+ "text": "$item.authorName",
28833
+ "style": "footnote",
28834
+ "maxLines": 1
28835
+ }
28836
+ }
28837
+ },
28838
+ {
28839
+ "id": "",
28840
+ "body": {
28841
+ "package": "himalaya",
28842
+ "type": "Text",
28843
+ "props": {
28844
+ "text": "$item.meta",
28845
+ "style": "caption",
28846
+ "color": "textTertiary",
28847
+ "maxLines": 1,
28848
+ "collapseWhenEmpty": true
28849
+ }
28850
+ }
28851
+ },
28852
+ {
28853
+ "id": "",
28854
+ "body": {
28855
+ "package": "himalaya",
28856
+ "type": "Spacer",
28857
+ "props": {}
28858
+ }
28859
+ },
28860
+ {
28861
+ "id": "",
28862
+ "body": {
28863
+ "package": "himalaya",
28864
+ "type": "HStack",
28865
+ "props": {
28866
+ "spacing": 0,
28867
+ "alignment": "center",
28868
+ "children": [
28869
+ {
28870
+ "id": "himi_blog_post.comment_menu",
28871
+ "body": {
28872
+ "package": "himalaya",
28873
+ "type": "Menu",
28874
+ "props": {
28875
+ "anchor": {
28876
+ "id": "",
28877
+ "body": {
28878
+ "package": "himalaya",
28879
+ "type": "Icon",
28880
+ "props": {
28881
+ "name": "more_vertical",
28882
+ "size": 18,
28883
+ "tint": "textSecondary"
28884
+ }
28885
+ },
28886
+ "modifiers": {
28887
+ "accessibilityRole": "button",
28888
+ "accessibilityLabel": "Comment actions",
28889
+ "padding": {
28890
+ "leading": 13,
28891
+ "trailing": 13,
28892
+ "top": 4,
28893
+ "bottom": 4
28894
+ }
28895
+ }
28896
+ },
28897
+ "style": "dropdown",
28898
+ "items": [
28899
+ {
28900
+ "id": "report",
28901
+ "label": "Report",
28902
+ "icon": "warning",
28903
+ "action": {
28904
+ "actionId": "tier5.himiBlogPost.reportComment",
28905
+ "params": {
28906
+ "id": "$item.id"
28907
+ }
28908
+ }
28909
+ }
28910
+ ]
28911
+ }
28912
+ }
28913
+ }
28914
+ ]
28915
+ }
28916
+ },
28917
+ "modifiers": {
28918
+ "hiddenPath": "$item.noReport"
28919
+ }
28920
+ }
28921
+ ]
28922
+ }
28923
+ }
28924
+ },
28925
+ {
28926
+ "id": "",
28927
+ "body": {
28928
+ "package": "himalaya",
28929
+ "type": "VStack",
28930
+ "props": {
28931
+ "spacing": 0,
28932
+ "alignment": "leading",
28933
+ "children": [
28934
+ {
28935
+ "id": "comment_body_$item.id",
28936
+ "body": {
28937
+ "package": "himalaya",
28938
+ "type": "RichContent",
28939
+ "props": {
28940
+ "documentJsonPath": "$item.bodyJson",
28941
+ "onLink": {
28942
+ "actionId": "tier5.himiBlogPost.openLink"
28943
+ },
28944
+ "fallback": {
28945
+ "id": "",
28946
+ "body": {
28947
+ "package": "himalaya",
28948
+ "type": "Text",
28949
+ "props": {
28950
+ "text": "$item.text",
28951
+ "style": "body",
28952
+ "collapseWhenEmpty": true
28953
+ }
28954
+ }
28955
+ }
28956
+ }
28957
+ }
28958
+ },
28959
+ {
28960
+ "id": "comment_body_text_$item.id",
28961
+ "body": {
28962
+ "package": "himalaya",
28963
+ "type": "Text",
28964
+ "props": {
28965
+ "text": "$item.text",
28966
+ "style": "body",
28967
+ "collapseWhenEmpty": true
28968
+ }
28969
+ },
28970
+ "modifiers": {
28971
+ "hiddenPath": "$item.hasBodyJson"
28972
+ }
28973
+ }
28974
+ ]
28975
+ }
28976
+ }
28977
+ },
28978
+ {
28979
+ "id": "",
28980
+ "body": {
28981
+ "package": "himalaya",
28982
+ "type": "HStack",
28983
+ "props": {
28984
+ "spacing": 12,
28985
+ "alignment": "center",
28986
+ "children": [
28987
+ {
28988
+ "id": "",
28989
+ "body": {
28990
+ "package": "himalaya",
28991
+ "type": "HStack",
28992
+ "props": {
28993
+ "spacing": 0,
28994
+ "alignment": "center",
28995
+ "children": [
28996
+ {
28997
+ "id": "himi_blog_post.comment_like",
28998
+ "body": {
28999
+ "package": "himalaya",
29000
+ "type": "HStack",
29001
+ "props": {
29002
+ "spacing": 4,
29003
+ "alignment": "center",
29004
+ "children": [
29005
+ {
29006
+ "id": "",
29007
+ "body": {
29008
+ "package": "himalaya",
29009
+ "type": "Icon",
29010
+ "props": {
29011
+ "name": "heart",
29012
+ "size": 14,
29013
+ "tint": "textSecondary"
29014
+ }
29015
+ },
29016
+ "modifiers": {
29017
+ "accessibilityRole": "decorative"
29018
+ }
29019
+ },
29020
+ {
29021
+ "id": "",
29022
+ "body": {
29023
+ "package": "himalaya",
29024
+ "type": "Text",
29025
+ "props": {
29026
+ "text": "$item.likes",
29027
+ "style": "caption",
29028
+ "color": "textSecondary",
29029
+ "monospacedDigits": true
29030
+ }
29031
+ }
29032
+ }
29033
+ ]
29034
+ }
29035
+ },
29036
+ "modifiers": {
29037
+ "border": {
29038
+ "width": 1,
29039
+ "color": {
29040
+ "token": "border"
29041
+ }
29042
+ },
29043
+ "cornerRadius": 999,
29044
+ "padding": {
29045
+ "leading": 10,
29046
+ "trailing": 10,
29047
+ "top": 4,
29048
+ "bottom": 4
29049
+ },
29050
+ "onTap": {
29051
+ "actionId": "tier5.himiBlogPost.likeComment",
29052
+ "params": {
29053
+ "id": "$item.id"
29054
+ }
29055
+ },
29056
+ "pressFeedback": "scale",
29057
+ "haptic": "light",
29058
+ "accessibilityRole": "button",
29059
+ "accessibilityLabel": "Like",
29060
+ "hiddenPath": "$item.liked"
29061
+ }
29062
+ },
29063
+ {
29064
+ "id": "himi_blog_post.comment_unlike",
29065
+ "body": {
29066
+ "package": "himalaya",
29067
+ "type": "HStack",
29068
+ "props": {
29069
+ "spacing": 4,
29070
+ "alignment": "center",
29071
+ "children": [
29072
+ {
29073
+ "id": "",
29074
+ "body": {
29075
+ "package": "himalaya",
29076
+ "type": "Icon",
29077
+ "props": {
29078
+ "name": "heart_fill",
29079
+ "size": 14,
29080
+ "tint": "danger"
29081
+ }
29082
+ },
29083
+ "modifiers": {
29084
+ "accessibilityRole": "decorative"
29085
+ }
29086
+ },
29087
+ {
29088
+ "id": "",
29089
+ "body": {
29090
+ "package": "himalaya",
29091
+ "type": "Text",
29092
+ "props": {
29093
+ "text": "$item.likes",
29094
+ "style": "caption",
29095
+ "color": "danger",
29096
+ "monospacedDigits": true
29097
+ }
29098
+ }
29099
+ }
29100
+ ]
29101
+ }
29102
+ },
29103
+ "modifiers": {
29104
+ "background": {
29105
+ "token": "dangerSurface"
29106
+ },
29107
+ "cornerRadius": 999,
29108
+ "padding": {
29109
+ "leading": 10,
29110
+ "trailing": 10,
29111
+ "top": 4,
29112
+ "bottom": 4
29113
+ },
29114
+ "onTap": {
29115
+ "actionId": "tier5.himiBlogPost.unlikeComment",
29116
+ "params": {
29117
+ "id": "$item.id"
29118
+ }
29119
+ },
29120
+ "pressFeedback": "scale",
29121
+ "haptic": "light",
29122
+ "accessibilityRole": "button",
29123
+ "accessibilityLabel": "Unlike",
29124
+ "hiddenPath": "$item.notLiked"
29125
+ }
29126
+ }
29127
+ ]
29128
+ }
29129
+ },
29130
+ "modifiers": {
29131
+ "hiddenPath": "$item.noLikes"
29132
+ }
29133
+ },
29134
+ {
29135
+ "id": "",
29136
+ "body": {
29137
+ "package": "himalaya",
29138
+ "type": "HStack",
29139
+ "props": {
29140
+ "spacing": 0,
29141
+ "alignment": "center",
29142
+ "children": [
29143
+ {
29144
+ "id": "himi_blog_post.comment_reply",
29145
+ "body": {
29146
+ "package": "himalaya",
29147
+ "type": "Text",
29148
+ "props": {
29149
+ "text": "Reply",
29150
+ "style": "caption",
29151
+ "color": "textSecondary"
29152
+ }
29153
+ },
29154
+ "modifiers": {
29155
+ "onTap": {
29156
+ "actionId": "tier5.himiBlogPost.replyTo",
29157
+ "params": {
29158
+ "id": "$item.id"
29159
+ }
29160
+ },
29161
+ "accessibilityRole": "button",
29162
+ "padding": {
29163
+ "top": 4,
29164
+ "bottom": 4,
29165
+ "leading": 4,
29166
+ "trailing": 4
29167
+ },
29168
+ "hiddenPath": "$item.noReply"
29169
+ }
29170
+ }
29171
+ ]
29172
+ }
29173
+ },
29174
+ "modifiers": {
29175
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
29176
+ }
29177
+ },
29178
+ {
29179
+ "id": "",
29180
+ "body": {
29181
+ "package": "himalaya",
29182
+ "type": "Spacer",
29183
+ "props": {}
29184
+ }
29185
+ }
29186
+ ]
29187
+ }
29188
+ }
29189
+ }
29190
+ ]
29191
+ }
29192
+ },
29193
+ "modifiers": {
29194
+ "weight": 1
29195
+ }
29196
+ }
29197
+ ]
29198
+ }
29199
+ },
29200
+ "modifiers": {
29201
+ "fillMaxWidth": true,
29202
+ "hiddenPath": "$item.isReply"
29203
+ }
29204
+ }
29205
+ ]
29206
+ }
29207
+ },
29208
+ "modifiers": {
29209
+ "backgroundColorPath": "$item.rowBackground",
29210
+ "cornerRadius": 12,
29211
+ "padding": {
29212
+ "leading": 8,
29213
+ "trailing": 8,
29214
+ "top": 8,
29215
+ "bottom": 8
29216
+ }
29217
+ }
29218
+ }
29219
+ ],
29220
+ "pagination": {
29221
+ "cursor": "$service:himiBlogPost.commentsCursor",
29222
+ "onLoadMore": {
29223
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
29224
+ },
29225
+ "pageSize": 20
29226
+ }
29227
+ }
29228
+ }
29229
+ }
29230
+ ]
29231
+ }
29232
+ }
29233
+ },
29234
+ "footer": {
29235
+ "id": "himi_blog_post.comment_composer",
27553
29236
  "body": {
27554
29237
  "package": "himalaya",
27555
29238
  "type": "VStack",
27556
29239
  "props": {
27557
- "spacing": 0,
29240
+ "spacing": 6,
27558
29241
  "alignment": "leading",
27559
29242
  "children": [
27560
29243
  {
27561
29244
  "id": "",
27562
- "body": {
27563
- "package": "himalaya",
27564
- "type": "Text",
27565
- "props": {
27566
- "text": "Why are you hiding this post?",
27567
- "style": "title3"
27568
- }
27569
- },
27570
- "modifiers": {
27571
- "padding": {
27572
- "bottom": 6
27573
- }
27574
- }
27575
- },
27576
- {
27577
- "id": "himi_blog_post.hide_offensive",
27578
29245
  "body": {
27579
29246
  "package": "himalaya",
27580
29247
  "type": "HStack",
27581
29248
  "props": {
27582
- "spacing": 14,
29249
+ "spacing": 8,
29250
+ "alignment": "center",
27583
29251
  "children": [
27584
29252
  {
27585
29253
  "id": "",
27586
29254
  "body": {
27587
29255
  "package": "himalaya",
27588
- "type": "Icon",
29256
+ "type": "Text",
27589
29257
  "props": {
27590
- "name": "chevron_right",
27591
- "size": 22,
27592
- "tint": "textPrimary"
29258
+ "text": "$service:himiBlogPost.replyingLine",
29259
+ "style": "footnote",
29260
+ "color": "textSecondary",
29261
+ "maxLines": 1
27593
29262
  }
27594
- },
27595
- "modifiers": {
27596
- "accessibilityRole": "decorative"
27597
29263
  }
27598
29264
  },
27599
29265
  {
27600
29266
  "id": "",
27601
29267
  "body": {
27602
29268
  "package": "himalaya",
27603
- "type": "Text",
27604
- "props": {
27605
- "text": "It is offensive",
27606
- "style": "body"
27607
- }
29269
+ "type": "Spacer",
29270
+ "props": {}
27608
29271
  }
27609
29272
  },
27610
29273
  {
27611
- "id": "",
29274
+ "id": "himi_blog_post.cancel_reply",
27612
29275
  "body": {
27613
29276
  "package": "himalaya",
27614
- "type": "Spacer",
27615
- "props": {}
29277
+ "type": "Icon",
29278
+ "props": {
29279
+ "name": "close",
29280
+ "size": 16,
29281
+ "tint": "textSecondary"
29282
+ }
29283
+ },
29284
+ "modifiers": {
29285
+ "accessibilityRole": "button",
29286
+ "onTap": {
29287
+ "actionId": "tier5.himiBlogPost.cancelReply"
29288
+ },
29289
+ "accessibilityLabel": "Cancel reply",
29290
+ "padding": {
29291
+ "top": 14,
29292
+ "bottom": 14,
29293
+ "leading": 14,
29294
+ "trailing": 14
29295
+ }
27616
29296
  }
27617
29297
  }
27618
29298
  ]
27619
29299
  }
27620
29300
  },
27621
29301
  "modifiers": {
27622
- "onTap": {
27623
- "actionId": "tier5.himiBlogPost.hide",
27624
- "params": {
27625
- "reason": "offensive"
27626
- }
27627
- },
27628
- "accessibilityRole": "button",
27629
- "accessibilityLabel": "It is offensive",
27630
- "padding": {
27631
- "top": 11,
27632
- "bottom": 11
27633
- }
29302
+ "hiddenPath": "$service:himiBlogPost.notReplying"
27634
29303
  }
27635
29304
  },
27636
29305
  {
27637
- "id": "himi_blog_post.hide_misleading",
29306
+ "id": "",
27638
29307
  "body": {
27639
29308
  "package": "himalaya",
27640
29309
  "type": "HStack",
27641
29310
  "props": {
27642
- "spacing": 14,
29311
+ "spacing": 10,
29312
+ "alignment": "center",
27643
29313
  "children": [
27644
29314
  {
27645
- "id": "",
29315
+ "id": "himi_blog_post.composer_avatar.photo",
27646
29316
  "body": {
27647
29317
  "package": "himalaya",
27648
- "type": "Icon",
29318
+ "type": "Image",
27649
29319
  "props": {
27650
- "name": "chevron_right",
27651
- "size": 22,
27652
- "tint": "textPrimary"
29320
+ "url": "$service:himiBlogPost.memberPhoto",
29321
+ "width": 32,
29322
+ "height": 32,
29323
+ "contentMode": "fill",
29324
+ "shape": "circle"
27653
29325
  }
27654
29326
  },
27655
29327
  "modifiers": {
27656
- "accessibilityRole": "decorative"
29328
+ "accessibilityRole": "decorative",
29329
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
27657
29330
  }
27658
29331
  },
27659
29332
  {
27660
29333
  "id": "",
27661
29334
  "body": {
27662
29335
  "package": "himalaya",
27663
- "type": "Text",
29336
+ "type": "ZStack",
27664
29337
  "props": {
27665
- "text": "It is misleading",
27666
- "style": "body"
29338
+ "alignment": "center",
29339
+ "children": [
29340
+ {
29341
+ "id": "",
29342
+ "body": {
29343
+ "package": "himalaya",
29344
+ "type": "Icon",
29345
+ "props": {
29346
+ "name": "person",
29347
+ "size": 16,
29348
+ "tint": "accentPrimary"
29349
+ }
29350
+ },
29351
+ "modifiers": {
29352
+ "accessibilityRole": "decorative",
29353
+ "hiddenPath": "$service:himiBlogPost.isMember"
29354
+ }
29355
+ },
29356
+ {
29357
+ "id": "",
29358
+ "body": {
29359
+ "package": "himalaya",
29360
+ "type": "Text",
29361
+ "props": {
29362
+ "text": "$service:himiBlogPost.memberInitial",
29363
+ "style": "footnote",
29364
+ "color": "accentPrimary",
29365
+ "collapseWhenEmpty": true
29366
+ }
29367
+ }
29368
+ }
29369
+ ]
27667
29370
  }
29371
+ },
29372
+ "modifiers": {
29373
+ "width": 32,
29374
+ "height": 32,
29375
+ "background": {
29376
+ "token": "accentSurface"
29377
+ },
29378
+ "cornerRadius": 16,
29379
+ "accessibilityRole": "decorative",
29380
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
27668
29381
  }
27669
29382
  },
27670
29383
  {
27671
- "id": "",
27672
- "body": {
27673
- "package": "himalaya",
27674
- "type": "Spacer",
27675
- "props": {}
27676
- }
27677
- }
27678
- ]
27679
- }
27680
- },
27681
- "modifiers": {
27682
- "onTap": {
27683
- "actionId": "tier5.himiBlogPost.hide",
27684
- "params": {
27685
- "reason": "misleading"
27686
- }
27687
- },
27688
- "accessibilityRole": "button",
27689
- "accessibilityLabel": "It is misleading",
27690
- "padding": {
27691
- "top": 11,
27692
- "bottom": 11
27693
- }
27694
- }
27695
- },
27696
- {
27697
- "id": "himi_blog_post.hide_other",
27698
- "body": {
27699
- "package": "himalaya",
27700
- "type": "HStack",
27701
- "props": {
27702
- "spacing": 14,
27703
- "children": [
27704
- {
27705
- "id": "",
29384
+ "id": "himi_blog_post.comment_input",
27706
29385
  "body": {
27707
29386
  "package": "himalaya",
27708
- "type": "Icon",
29387
+ "type": "TextField",
27709
29388
  "props": {
27710
- "name": "chevron_right",
27711
- "size": 22,
27712
- "tint": "textPrimary"
29389
+ "placeholder": "Write a comment",
29390
+ "valuePath": "$service:himiBlogPost.commentText",
29391
+ "multilineMaxLines": 4,
29392
+ "focusPath": "$service:himiBlogPost.composerFocus",
29393
+ "borderless": true,
29394
+ "autoCapitalization": "sentences",
29395
+ "onChange": {
29396
+ "actionId": "tier5.himiBlogPost.setComment"
29397
+ }
27713
29398
  }
27714
29399
  },
27715
29400
  "modifiers": {
27716
- "accessibilityRole": "decorative"
29401
+ "background": {
29402
+ "token": "surfaceSecondary"
29403
+ },
29404
+ "cornerRadius": 20,
29405
+ "padding": {
29406
+ "leading": 14,
29407
+ "trailing": 14,
29408
+ "top": 8,
29409
+ "bottom": 8
29410
+ },
29411
+ "weight": 1
27717
29412
  }
27718
29413
  },
27719
29414
  {
27720
- "id": "",
29415
+ "id": "himi_blog_post.comment_submit",
27721
29416
  "body": {
27722
29417
  "package": "himalaya",
27723
- "type": "Text",
29418
+ "type": "ZStack",
27724
29419
  "props": {
27725
- "text": "Something else",
27726
- "style": "body"
29420
+ "alignment": "center",
29421
+ "children": [
29422
+ {
29423
+ "id": "",
29424
+ "body": {
29425
+ "package": "himalaya",
29426
+ "type": "ZStack",
29427
+ "props": {
29428
+ "alignment": "center",
29429
+ "children": [
29430
+ {
29431
+ "id": "",
29432
+ "body": {
29433
+ "package": "himalaya",
29434
+ "type": "Icon",
29435
+ "props": {
29436
+ "name": "arrow_up",
29437
+ "size": 18,
29438
+ "tint": "textOnAccent"
29439
+ }
29440
+ },
29441
+ "modifiers": {
29442
+ "accessibilityRole": "decorative"
29443
+ }
29444
+ }
29445
+ ]
29446
+ }
29447
+ },
29448
+ "modifiers": {
29449
+ "width": 36,
29450
+ "height": 36,
29451
+ "cornerRadius": 18,
29452
+ "background": {
29453
+ "token": "accentPrimary"
29454
+ },
29455
+ "accessibilityRole": "decorative"
29456
+ }
29457
+ }
29458
+ ]
27727
29459
  }
29460
+ },
29461
+ "modifiers": {
29462
+ "width": 44,
29463
+ "height": 44,
29464
+ "accessibilityRole": "button",
29465
+ "accessibilityLabel": "Send comment",
29466
+ "onTap": {
29467
+ "actionId": "tier5.himiBlogPost.submitComment"
29468
+ },
29469
+ "pressFeedback": "scale",
29470
+ "haptic": "light",
29471
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
27728
29472
  }
27729
29473
  },
27730
29474
  {
27731
- "id": "",
29475
+ "id": "himi_blog_post.comment_submit_off",
27732
29476
  "body": {
27733
29477
  "package": "himalaya",
27734
- "type": "Spacer",
27735
- "props": {}
29478
+ "type": "ZStack",
29479
+ "props": {
29480
+ "alignment": "center",
29481
+ "children": [
29482
+ {
29483
+ "id": "",
29484
+ "body": {
29485
+ "package": "himalaya",
29486
+ "type": "ZStack",
29487
+ "props": {
29488
+ "alignment": "center",
29489
+ "children": [
29490
+ {
29491
+ "id": "",
29492
+ "body": {
29493
+ "package": "himalaya",
29494
+ "type": "Icon",
29495
+ "props": {
29496
+ "name": "arrow_up",
29497
+ "size": 18,
29498
+ "tint": "textTertiary"
29499
+ }
29500
+ },
29501
+ "modifiers": {
29502
+ "accessibilityRole": "decorative"
29503
+ }
29504
+ }
29505
+ ]
29506
+ }
29507
+ },
29508
+ "modifiers": {
29509
+ "width": 36,
29510
+ "height": 36,
29511
+ "cornerRadius": 18,
29512
+ "background": {
29513
+ "token": "surfaceSecondary"
29514
+ },
29515
+ "accessibilityRole": "decorative"
29516
+ }
29517
+ }
29518
+ ]
29519
+ }
29520
+ },
29521
+ "modifiers": {
29522
+ "width": 44,
29523
+ "height": 44,
29524
+ "accessibilityRole": "button",
29525
+ "accessibilityLabel": "Send comment",
29526
+ "hiddenPath": "$service:himiBlogPost.canSend"
27736
29527
  }
27737
29528
  }
27738
29529
  ]
27739
29530
  }
27740
- },
27741
- "modifiers": {
27742
- "onTap": {
27743
- "actionId": "tier5.himiBlogPost.hide",
27744
- "params": {
27745
- "reason": "other"
27746
- }
27747
- },
27748
- "accessibilityRole": "button",
27749
- "accessibilityLabel": "Something else",
27750
- "padding": {
27751
- "top": 11,
27752
- "bottom": 11
27753
- }
27754
29531
  }
27755
29532
  },
27756
29533
  {
27757
- "id": "himi_blog_post.hide_cancel",
29534
+ "id": "himi_blog_post.comment_error",
27758
29535
  "body": {
27759
29536
  "package": "himalaya",
27760
- "type": "Button",
29537
+ "type": "Text",
27761
29538
  "props": {
27762
- "title": "Cancel",
27763
- "style": "secondary",
27764
- "fullWidth": true,
27765
- "action": {
27766
- "actionId": "tier5.himiBlogPost.closeHide"
27767
- }
29539
+ "text": "$service:himiBlogPost.sendError",
29540
+ "style": "footnote",
29541
+ "color": "danger"
27768
29542
  }
27769
29543
  },
27770
29544
  "modifiers": {
27771
- "padding": {
27772
- "top": 8
27773
- }
29545
+ "hiddenPath": "$service:himiBlogPost.noSendError"
27774
29546
  }
27775
29547
  }
27776
29548
  ]
27777
29549
  }
27778
29550
  },
27779
29551
  "modifiers": {
27780
- "padding": {
27781
- "leading": 20,
27782
- "trailing": 20,
27783
- "top": 12,
27784
- "bottom": 8
27785
- }
29552
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27786
29553
  }
27787
29554
  }
27788
29555
  }
@@ -27839,7 +29606,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27839
29606
  "share",
27840
29607
  "local_database",
27841
29608
  "open_url",
27842
- "ui"
29609
+ "ui",
29610
+ "keyboard"
27843
29611
  ],
27844
29612
  "minBinaryVersion": "0.1.0",
27845
29613
  "bundleVersion": "0.0.1"