@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
@@ -27444,7 +27444,7 @@ const SCREENS = runtimeSetting({
27444
27444
  "alignment": "leading",
27445
27445
  "children": [
27446
27446
  {
27447
- "id": "",
27447
+ "id": "himi_blog.heading",
27448
27448
  "body": {
27449
27449
  "package": "himalaya",
27450
27450
  "type": "VStack",
@@ -27474,8 +27474,7 @@ const SCREENS = runtimeSetting({
27474
27474
  "props": {
27475
27475
  "text": "Notes on practice and wellbeing from the studio.",
27476
27476
  "style": "body",
27477
- "color": "textSecondary",
27478
- "collapseWhenEmpty": true
27477
+ "color": "textSecondary"
27479
27478
  }
27480
27479
  }
27481
27480
  }
@@ -27556,6 +27555,7 @@ const SCREENS = runtimeSetting({
27556
27555
  "type": "HStack",
27557
27556
  "props": {
27558
27557
  "spacing": 10,
27558
+ "alignment": "center",
27559
27559
  "children": [
27560
27560
  {
27561
27561
  "id": "",
@@ -27793,6 +27793,7 @@ const SCREENS = runtimeSetting({
27793
27793
  "type": "HStack",
27794
27794
  "props": {
27795
27795
  "spacing": 14,
27796
+ "alignment": "center",
27796
27797
  "children": [
27797
27798
  {
27798
27799
  "id": "",
@@ -27932,6 +27933,7 @@ const SCREENS = runtimeSetting({
27932
27933
  "type": "HStack",
27933
27934
  "props": {
27934
27935
  "spacing": 4,
27936
+ "alignment": "center",
27935
27937
  "children": [
27936
27938
  {
27937
27939
  "id": "",
@@ -27986,6 +27988,7 @@ const SCREENS = runtimeSetting({
27986
27988
  "type": "HStack",
27987
27989
  "props": {
27988
27990
  "spacing": 12,
27991
+ "alignment": "center",
27989
27992
  "children": [
27990
27993
  {
27991
27994
  "id": "himi_blog.post_author.photo",
@@ -28426,71 +28429,56 @@ const SCREENS = runtimeSetting({
28426
28429
  }
28427
28430
  },
28428
28431
  {
28429
- "id": "",
28432
+ "id": "himi_blog.empty",
28430
28433
  "body": {
28431
28434
  "package": "himalaya",
28432
- "type": "VStack",
28435
+ "type": "EmptyState",
28433
28436
  "props": {
28434
- "spacing": 12,
28435
- "alignment": "center",
28436
- "children": [
28437
- {
28438
- "id": "",
28439
- "body": {
28440
- "package": "himalaya",
28441
- "type": "Icon",
28442
- "props": {
28443
- "name": "newspaper",
28444
- "size": 34,
28445
- "tint": "textTertiary"
28446
- }
28447
- },
28448
- "modifiers": {
28449
- "accessibilityRole": "decorative"
28450
- }
28451
- },
28452
- {
28453
- "id": "",
28454
- "body": {
28455
- "package": "himalaya",
28456
- "type": "Text",
28457
- "props": {
28458
- "text": "$service:himiBlogFeed.emptyText",
28459
- "style": "bodyEmphasis",
28460
- "color": "textSecondary",
28461
- "collapseWhenEmpty": true
28462
- }
28463
- }
28464
- },
28465
- {
28466
- "id": "himi_blog.empty.cta",
28467
- "body": {
28468
- "package": "himalaya",
28469
- "type": "Button",
28470
- "props": {
28471
- "title": "Clear filters",
28472
- "style": "secondary",
28473
- "action": {
28474
- "actionId": "tier5.himiBlogFeed.clearFilters"
28475
- }
28476
- }
28477
- }
28478
- }
28479
- ]
28437
+ "title": "$service:himiBlogFeed.emptyText",
28438
+ "subtitle": "Try a different word or category.",
28439
+ "icon": "search",
28440
+ "actionLabel": "Clear filters",
28441
+ "action": {
28442
+ "actionId": "tier5.himiBlogFeed.clearFilters"
28443
+ }
28480
28444
  }
28481
28445
  },
28482
28446
  "modifiers": {
28483
28447
  "padding": {
28484
28448
  "leading": 24,
28485
28449
  "trailing": 24,
28486
- "top": 24,
28450
+ "top": 48,
28451
+ "bottom": 24
28452
+ },
28453
+ "transition": {
28454
+ "enter": "fade",
28455
+ "exit": "fade"
28456
+ },
28457
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
28458
+ }
28459
+ },
28460
+ {
28461
+ "id": "himi_blog.empty_none",
28462
+ "body": {
28463
+ "package": "himalaya",
28464
+ "type": "EmptyState",
28465
+ "props": {
28466
+ "title": "$service:himiBlogFeed.emptyText",
28467
+ "icon": "document"
28468
+ }
28469
+ },
28470
+ "modifiers": {
28471
+ "padding": {
28472
+ "leading": 24,
28473
+ "trailing": 24,
28474
+ "top": 48,
28487
28475
  "bottom": 24
28488
28476
  },
28489
28477
  "transition": {
28490
28478
  "enter": "fade",
28491
28479
  "exit": "fade"
28492
28480
  },
28493
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
28481
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
28494
28482
  }
28495
28483
  }
28496
28484
  ]
@@ -28522,21 +28510,6 @@ const SCREENS = runtimeSetting({
28522
28510
  ],
28523
28511
  "minBinaryVersion": "0.1.0",
28524
28512
  "bundleVersion": "0.0.1"
28525
- },
28526
- "topBar": {
28527
- "actions": [
28528
- {
28529
- "id": "account",
28530
- "icon": "person",
28531
- "accessibilityLabel": "Account",
28532
- "onTap": {
28533
- "actionId": "himi.open",
28534
- "params": {
28535
- "screenId": "himi_account"
28536
- }
28537
- }
28538
- }
28539
- ]
28540
28513
  }
28541
28514
  },
28542
28515
  "himi_saved": {
@@ -28617,6 +28590,7 @@ const SCREENS = runtimeSetting({
28617
28590
  "type": "HStack",
28618
28591
  "props": {
28619
28592
  "spacing": 10,
28593
+ "alignment": "center",
28620
28594
  "children": [
28621
28595
  {
28622
28596
  "id": "",
@@ -29022,73 +28996,21 @@ const SCREENS = runtimeSetting({
29022
28996
  }
29023
28997
  },
29024
28998
  {
29025
- "id": "",
28999
+ "id": "himi_saved.empty",
29026
29000
  "body": {
29027
29001
  "package": "himalaya",
29028
- "type": "VStack",
29002
+ "type": "EmptyState",
29029
29003
  "props": {
29030
- "spacing": 12,
29031
- "alignment": "center",
29032
- "children": [
29033
- {
29034
- "id": "",
29035
- "body": {
29036
- "package": "himalaya",
29037
- "type": "Icon",
29038
- "props": {
29039
- "name": "bookmark",
29040
- "size": 34,
29041
- "tint": "textTertiary"
29042
- }
29043
- },
29044
- "modifiers": {
29045
- "accessibilityRole": "decorative"
29046
- }
29047
- },
29048
- {
29049
- "id": "",
29050
- "body": {
29051
- "package": "himalaya",
29052
- "type": "Text",
29053
- "props": {
29054
- "text": "$service:himiBlogSaved.emptyText",
29055
- "style": "bodyEmphasis",
29056
- "color": "textSecondary",
29057
- "collapseWhenEmpty": true
29058
- }
29059
- }
29060
- },
29061
- {
29062
- "id": "",
29063
- "body": {
29064
- "package": "himalaya",
29065
- "type": "Text",
29066
- "props": {
29067
- "text": "Tap the bookmark on a post to read it later.",
29068
- "style": "footnote",
29069
- "color": "textTertiary",
29070
- "maxLines": 2
29071
- }
29072
- }
29073
- },
29074
- {
29075
- "id": "himi_saved.empty.cta",
29076
- "body": {
29077
- "package": "himalaya",
29078
- "type": "Button",
29079
- "props": {
29080
- "title": "Browse Blog",
29081
- "style": "secondary",
29082
- "action": {
29083
- "actionId": "himi.open",
29084
- "params": {
29085
- "screenId": "himi_blog"
29086
- }
29087
- }
29088
- }
29089
- }
29004
+ "title": "$service:himiBlogSaved.emptyText",
29005
+ "subtitle": "Tap the bookmark on a post to read it later.",
29006
+ "icon": "bookmark",
29007
+ "actionLabel": "Browse Blog",
29008
+ "action": {
29009
+ "actionId": "himi.open",
29010
+ "params": {
29011
+ "screenId": "himi_blog"
29090
29012
  }
29091
- ]
29013
+ }
29092
29014
  }
29093
29015
  },
29094
29016
  "modifiers": {
@@ -39105,6 +39027,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
39105
39027
  "type": "HStack",
39106
39028
  "props": {
39107
39029
  "spacing": 10,
39030
+ "alignment": "center",
39108
39031
  "children": [
39109
39032
  {
39110
39033
  "id": "",
@@ -39464,6 +39387,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
39464
39387
  "type": "HStack",
39465
39388
  "props": {
39466
39389
  "spacing": 12,
39390
+ "alignment": "center",
39467
39391
  "children": [
39468
39392
  {
39469
39393
  "id": "himi_blog_post.author.photo",
@@ -40212,41 +40136,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40212
40136
  "accessibilityRole": "decorative"
40213
40137
  }
40214
40138
  },
40215
- {
40216
- "id": "",
40217
- "body": {
40218
- "package": "himalaya",
40219
- "type": "VStack",
40220
- "props": {
40221
- "spacing": 0,
40222
- "alignment": "leading",
40223
- "children": [
40224
- {
40225
- "id": "himi_blog_post.comments_title",
40226
- "body": {
40227
- "package": "himalaya",
40228
- "type": "Text",
40229
- "props": {
40230
- "text": "$service:himiBlogPost.commentsTitle",
40231
- "style": "title3"
40232
- }
40233
- },
40234
- "modifiers": {
40235
- "accessibilityRole": "heading"
40236
- }
40237
- }
40238
- ]
40239
- }
40240
- },
40241
- "modifiers": {
40242
- "padding": {
40243
- "leading": 20,
40244
- "trailing": 20,
40245
- "top": 20,
40246
- "bottom": 4
40247
- }
40248
- }
40249
- },
40250
40139
  {
40251
40140
  "id": "",
40252
40141
  "body": {
@@ -40258,46 +40147,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40258
40147
  "children": [
40259
40148
  {
40260
40149
  "id": "",
40261
- "body": {
40262
- "package": "himalaya",
40263
- "type": "Text",
40264
- "props": {
40265
- "text": "$service:himiBlogPost.commentStatusText",
40266
- "style": "footnote",
40267
- "color": "textSecondary"
40268
- }
40269
- }
40270
- }
40271
- ]
40272
- }
40273
- },
40274
- "modifiers": {
40275
- "padding": {
40276
- "leading": 20,
40277
- "trailing": 20,
40278
- "top": 6,
40279
- "bottom": 6
40280
- },
40281
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
40282
- }
40283
- },
40284
- {
40285
- "id": "himi_blog_post.comments",
40286
- "body": {
40287
- "package": "himalaya",
40288
- "type": "Grid",
40289
- "props": {
40290
- "columns": 1,
40291
- "spacing": 0,
40292
- "itemsPath": "$service:himiBlogPost.comments",
40293
- "items": [
40294
- {
40295
- "id": "himi_blog_post.comment_row",
40296
40150
  "body": {
40297
40151
  "package": "himalaya",
40298
40152
  "type": "VStack",
40299
40153
  "props": {
40300
- "spacing": 6,
40154
+ "spacing": 14,
40301
40155
  "alignment": "leading",
40302
40156
  "children": [
40303
40157
  {
@@ -40306,73 +40160,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40306
40160
  "package": "himalaya",
40307
40161
  "type": "HStack",
40308
40162
  "props": {
40309
- "spacing": 10,
40163
+ "spacing": 8,
40164
+ "alignment": "center",
40310
40165
  "children": [
40311
40166
  {
40312
- "id": "",
40167
+ "id": "himi_blog_post.comments_title",
40313
40168
  "body": {
40314
40169
  "package": "himalaya",
40315
- "type": "ZStack",
40170
+ "type": "Text",
40316
40171
  "props": {
40317
- "alignment": "center",
40318
- "children": [
40319
- {
40320
- "id": "",
40321
- "body": {
40322
- "package": "himalaya",
40323
- "type": "Text",
40324
- "props": {
40325
- "text": "$item.authorInitial",
40326
- "style": "footnote",
40327
- "color": "accentPrimary"
40328
- }
40329
- }
40330
- }
40331
- ]
40172
+ "text": "$service:himiBlogPost.commentsTitle",
40173
+ "style": "title3"
40332
40174
  }
40333
40175
  },
40334
40176
  "modifiers": {
40335
- "width": 32,
40336
- "height": 32,
40337
- "background": {
40338
- "token": "accentSurface"
40339
- },
40340
- "cornerRadius": 16,
40341
- "accessibilityRole": "decorative"
40177
+ "accessibilityRole": "heading"
40342
40178
  }
40343
40179
  },
40344
40180
  {
40345
40181
  "id": "",
40346
40182
  "body": {
40347
40183
  "package": "himalaya",
40348
- "type": "Text",
40349
- "props": {
40350
- "text": "$item.authorName",
40351
- "style": "bodyEmphasis",
40352
- "maxLines": 1
40353
- }
40184
+ "type": "Spacer",
40185
+ "props": {}
40354
40186
  }
40355
40187
  },
40356
40188
  {
40357
- "id": "",
40189
+ "id": "himi_blog_post.comments_show_all",
40358
40190
  "body": {
40359
40191
  "package": "himalaya",
40360
40192
  "type": "Text",
40361
40193
  "props": {
40362
- "text": "$item.meta",
40363
- "style": "caption",
40364
- "color": "textTertiary",
40365
- "maxLines": 1,
40366
- "collapseWhenEmpty": true
40194
+ "text": "$service:himiBlogPost.showAllLabel",
40195
+ "style": "footnote",
40196
+ "color": "accentPrimary",
40197
+ "maxLines": 1
40367
40198
  }
40368
- }
40369
- },
40370
- {
40371
- "id": "",
40372
- "body": {
40373
- "package": "himalaya",
40374
- "type": "Spacer",
40375
- "props": {}
40199
+ },
40200
+ "modifiers": {
40201
+ "onTap": {
40202
+ "actionId": "tier5.himiBlogPost.openComments"
40203
+ },
40204
+ "accessibilityRole": "button",
40205
+ "padding": {
40206
+ "top": 6,
40207
+ "bottom": 6,
40208
+ "leading": 6
40209
+ },
40210
+ "hiddenPath": "$service:himiBlogPost.noComments"
40376
40211
  }
40377
40212
  }
40378
40213
  ]
@@ -40381,408 +40216,707 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40381
40216
  },
40382
40217
  {
40383
40218
  "id": "",
40219
+ "body": {
40220
+ "package": "himalaya",
40221
+ "type": "Text",
40222
+ "props": {
40223
+ "text": "$service:himiBlogPost.commentStatusText",
40224
+ "style": "footnote",
40225
+ "color": "textSecondary"
40226
+ }
40227
+ },
40228
+ "modifiers": {
40229
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
40230
+ }
40231
+ },
40232
+ {
40233
+ "id": "himi_blog_post.comments_empty",
40384
40234
  "body": {
40385
40235
  "package": "himalaya",
40386
40236
  "type": "VStack",
40387
40237
  "props": {
40388
- "spacing": 0,
40238
+ "spacing": 4,
40389
40239
  "alignment": "leading",
40390
40240
  "children": [
40391
40241
  {
40392
- "id": "comment_body_$item.id",
40242
+ "id": "",
40393
40243
  "body": {
40394
40244
  "package": "himalaya",
40395
- "type": "RichContent",
40245
+ "type": "Text",
40396
40246
  "props": {
40397
- "documentJsonPath": "$item.bodyJson",
40398
- "onLink": {
40399
- "actionId": "tier5.himiBlogPost.openLink"
40400
- },
40401
- "fallback": {
40402
- "id": "",
40403
- "body": {
40404
- "package": "himalaya",
40405
- "type": "Text",
40406
- "props": {
40407
- "text": "$item.text",
40408
- "style": "body",
40409
- "collapseWhenEmpty": true
40410
- }
40411
- }
40412
- }
40247
+ "text": "No comments yet",
40248
+ "style": "bodyEmphasis"
40413
40249
  }
40414
40250
  }
40415
40251
  },
40416
40252
  {
40417
- "id": "comment_body_text_$item.id",
40253
+ "id": "",
40418
40254
  "body": {
40419
40255
  "package": "himalaya",
40420
40256
  "type": "Text",
40421
40257
  "props": {
40422
- "text": "$item.text",
40423
- "style": "body",
40424
- "collapseWhenEmpty": true
40258
+ "text": "Be the first to share your thoughts.",
40259
+ "style": "footnote",
40260
+ "color": "textSecondary"
40425
40261
  }
40426
- },
40427
- "modifiers": {
40428
- "hiddenPath": "$item.hasBodyJson"
40429
40262
  }
40430
40263
  }
40431
40264
  ]
40432
40265
  }
40433
40266
  },
40434
40267
  "modifiers": {
40435
- "padding": {
40436
- "leading": 42
40437
- }
40438
- }
40439
- },
40440
- {
40441
- "id": "",
40442
- "body": {
40443
- "package": "himalaya",
40444
- "type": "Divider",
40445
- "props": {}
40446
- },
40447
- "modifiers": {
40448
- "padding": {
40449
- "top": 10
40450
- }
40451
- }
40452
- }
40453
- ]
40454
- }
40455
- },
40456
- "modifiers": {
40457
- "padding": {
40458
- "leading": 20,
40459
- "trailing": 20,
40460
- "top": 12
40461
- }
40462
- }
40463
- }
40464
- ]
40465
- }
40466
- }
40467
- },
40468
- {
40469
- "id": "",
40470
- "body": {
40471
- "package": "himalaya",
40472
- "type": "VStack",
40473
- "props": {
40474
- "spacing": 0,
40475
- "alignment": "leading",
40476
- "children": [
40477
- {
40478
- "id": "himi_blog_post.comment_composer",
40479
- "body": {
40480
- "package": "himalaya",
40481
- "type": "VStack",
40482
- "props": {
40483
- "spacing": 10,
40484
- "alignment": "leading",
40485
- "children": [
40486
- {
40487
- "id": "himi_blog_post.comment_input",
40488
- "body": {
40489
- "package": "himalaya",
40490
- "type": "TextField",
40491
- "props": {
40492
- "placeholder": "Write a comment",
40493
- "valuePath": "$service:himiBlogPost.commentText",
40494
- "multilineMaxLines": 4,
40495
- "onChange": {
40496
- "actionId": "tier5.himiBlogPost.setComment"
40497
- }
40498
- }
40499
- }
40500
- },
40501
- {
40502
- "id": "himi_blog_post.comment_submit",
40503
- "body": {
40504
- "package": "himalaya",
40505
- "type": "Button",
40506
- "props": {
40507
- "title": "Post comment",
40508
- "style": "primary",
40509
- "fullWidth": false,
40510
- "action": {
40511
- "actionId": "tier5.himiBlogPost.submitComment"
40512
- }
40513
- }
40514
- }
40515
- }
40516
- ]
40517
- }
40518
- }
40519
- }
40520
- ]
40521
- }
40522
- },
40523
- "modifiers": {
40524
- "padding": {
40525
- "leading": 20,
40526
- "trailing": 20,
40527
- "top": 12,
40528
- "bottom": 16
40529
- },
40530
- "hiddenPath": "$service:himiBlogPost.commentsOff"
40531
- }
40532
- }
40533
- ]
40534
- }
40535
- }
40536
- },
40537
- {
40538
- "id": "himi_blog_post.recent_section",
40539
- "body": {
40540
- "package": "himalaya",
40541
- "type": "VStack",
40542
- "props": {
40543
- "spacing": 0,
40544
- "alignment": "leading",
40545
- "children": [
40546
- {
40547
- "id": "himi_blog_post.recent_band",
40548
- "body": {
40549
- "package": "himalaya",
40550
- "type": "VStack",
40551
- "props": {
40552
- "spacing": 0,
40553
- "children": []
40554
- }
40555
- },
40556
- "modifiers": {
40557
- "height": 12,
40558
- "fillMaxWidth": true,
40559
- "background": {
40560
- "token": "surfaceSecondary"
40561
- },
40562
- "accessibilityRole": "decorative"
40563
- }
40564
- },
40565
- {
40566
- "id": "",
40567
- "body": {
40568
- "package": "himalaya",
40569
- "type": "VStack",
40570
- "props": {
40571
- "spacing": 0,
40572
- "alignment": "leading",
40573
- "children": [
40574
- {
40575
- "id": "",
40576
- "body": {
40577
- "package": "himalaya",
40578
- "type": "Text",
40579
- "props": {
40580
- "text": "Recent posts",
40581
- "style": "title3"
40582
- }
40583
- },
40584
- "modifiers": {
40585
- "accessibilityRole": "heading"
40586
- }
40587
- }
40588
- ]
40589
- }
40590
- },
40591
- "modifiers": {
40592
- "padding": {
40593
- "leading": 20,
40594
- "trailing": 20,
40595
- "top": 20,
40596
- "bottom": 4
40597
- }
40598
- }
40599
- },
40600
- {
40601
- "id": "himi_blog_post.recent",
40602
- "body": {
40603
- "package": "himalaya",
40604
- "type": "Grid",
40605
- "props": {
40606
- "columns": 1,
40607
- "spacing": 0,
40608
- "itemsPath": "$service:himiBlogPost.recent",
40609
- "items": [
40610
- {
40611
- "id": "himi_blog_post.recent_row",
40612
- "body": {
40613
- "package": "himalaya",
40614
- "type": "HStack",
40615
- "props": {
40616
- "spacing": 12,
40617
- "children": [
40618
- {
40619
- "id": "himi_blog_post.recent_cover",
40620
- "body": {
40621
- "package": "himalaya",
40622
- "type": "Image",
40623
- "props": {
40624
- "url": "$item.cover",
40625
- "width": 72,
40626
- "height": 72,
40627
- "contentMode": "fill"
40628
- }
40629
- },
40630
- "modifiers": {
40631
- "accessibilityRole": "decorative",
40632
- "cornerRadius": 8,
40633
- "hiddenPath": "$item.noCover"
40268
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
40634
40269
  }
40635
40270
  },
40636
40271
  {
40637
- "id": "",
40272
+ "id": "himi_blog_post.comments",
40638
40273
  "body": {
40639
40274
  "package": "himalaya",
40640
- "type": "ZStack",
40275
+ "type": "Grid",
40641
40276
  "props": {
40642
- "alignment": "center",
40643
- "children": [
40277
+ "columns": 1,
40278
+ "spacing": 16,
40279
+ "itemsPath": "$service:himiBlogPost.latestComments",
40280
+ "items": [
40644
40281
  {
40645
- "id": "",
40282
+ "id": "himi_blog_post.comment_row",
40646
40283
  "body": {
40647
40284
  "package": "himalaya",
40648
- "type": "Icon",
40285
+ "type": "HStack",
40649
40286
  "props": {
40650
- "name": "newspaper",
40651
- "size": 22,
40652
- "tint": "textTertiary"
40653
- }
40654
- },
40655
- "modifiers": {
40656
- "accessibilityRole": "decorative"
40657
- }
40658
- }
40287
+ "spacing": 10,
40288
+ "alignment": "leading",
40289
+ "children": [
40290
+ {
40291
+ "id": "himi_blog_post.comment_avatar.photo",
40292
+ "body": {
40293
+ "package": "himalaya",
40294
+ "type": "Image",
40295
+ "props": {
40296
+ "url": "$item.authorPhoto",
40297
+ "width": 32,
40298
+ "height": 32,
40299
+ "contentMode": "fill",
40300
+ "shape": "circle"
40301
+ }
40302
+ },
40303
+ "modifiers": {
40304
+ "accessibilityRole": "decorative",
40305
+ "hiddenPath": "$item.noAuthorPhoto"
40306
+ }
40307
+ },
40308
+ {
40309
+ "id": "",
40310
+ "body": {
40311
+ "package": "himalaya",
40312
+ "type": "ZStack",
40313
+ "props": {
40314
+ "alignment": "center",
40315
+ "children": [
40316
+ {
40317
+ "id": "",
40318
+ "body": {
40319
+ "package": "himalaya",
40320
+ "type": "Text",
40321
+ "props": {
40322
+ "text": "$item.authorInitial",
40323
+ "style": "footnote",
40324
+ "color": "accentPrimary",
40325
+ "collapseWhenEmpty": true
40326
+ }
40327
+ }
40328
+ }
40329
+ ]
40330
+ }
40331
+ },
40332
+ "modifiers": {
40333
+ "width": 32,
40334
+ "height": 32,
40335
+ "background": {
40336
+ "token": "accentSurface"
40337
+ },
40338
+ "cornerRadius": 16,
40339
+ "accessibilityRole": "decorative",
40340
+ "hiddenPath": "$item.hasAuthorPhoto"
40341
+ }
40342
+ },
40343
+ {
40344
+ "id": "",
40345
+ "body": {
40346
+ "package": "himalaya",
40347
+ "type": "VStack",
40348
+ "props": {
40349
+ "spacing": 4,
40350
+ "alignment": "leading",
40351
+ "children": [
40352
+ {
40353
+ "id": "",
40354
+ "body": {
40355
+ "package": "himalaya",
40356
+ "type": "HStack",
40357
+ "props": {
40358
+ "spacing": 6,
40359
+ "alignment": "center",
40360
+ "children": [
40361
+ {
40362
+ "id": "",
40363
+ "body": {
40364
+ "package": "himalaya",
40365
+ "type": "Text",
40366
+ "props": {
40367
+ "text": "$item.authorName",
40368
+ "style": "footnote",
40369
+ "maxLines": 1
40370
+ }
40371
+ }
40372
+ },
40373
+ {
40374
+ "id": "",
40375
+ "body": {
40376
+ "package": "himalaya",
40377
+ "type": "Text",
40378
+ "props": {
40379
+ "text": "$item.meta",
40380
+ "style": "caption",
40381
+ "color": "textTertiary",
40382
+ "maxLines": 1,
40383
+ "collapseWhenEmpty": true
40384
+ }
40385
+ }
40386
+ },
40387
+ {
40388
+ "id": "",
40389
+ "body": {
40390
+ "package": "himalaya",
40391
+ "type": "Spacer",
40392
+ "props": {}
40393
+ }
40394
+ },
40395
+ {
40396
+ "id": "",
40397
+ "body": {
40398
+ "package": "himalaya",
40399
+ "type": "HStack",
40400
+ "props": {
40401
+ "spacing": 0,
40402
+ "alignment": "center",
40403
+ "children": [
40404
+ {
40405
+ "id": "himi_blog_post.comment_menu",
40406
+ "body": {
40407
+ "package": "himalaya",
40408
+ "type": "Menu",
40409
+ "props": {
40410
+ "anchor": {
40411
+ "id": "",
40412
+ "body": {
40413
+ "package": "himalaya",
40414
+ "type": "Icon",
40415
+ "props": {
40416
+ "name": "more_vertical",
40417
+ "size": 18,
40418
+ "tint": "textSecondary"
40419
+ }
40420
+ },
40421
+ "modifiers": {
40422
+ "accessibilityRole": "button",
40423
+ "accessibilityLabel": "Comment actions",
40424
+ "padding": {
40425
+ "leading": 13,
40426
+ "trailing": 13,
40427
+ "top": 4,
40428
+ "bottom": 4
40429
+ }
40430
+ }
40431
+ },
40432
+ "style": "dropdown",
40433
+ "items": [
40434
+ {
40435
+ "id": "report",
40436
+ "label": "Report",
40437
+ "icon": "warning",
40438
+ "action": {
40439
+ "actionId": "tier5.himiBlogPost.reportComment",
40440
+ "params": {
40441
+ "id": "$item.id"
40442
+ }
40443
+ }
40444
+ }
40445
+ ]
40446
+ }
40447
+ }
40448
+ }
40449
+ ]
40450
+ }
40451
+ },
40452
+ "modifiers": {
40453
+ "hiddenPath": "$item.noReport"
40454
+ }
40455
+ }
40456
+ ]
40457
+ }
40458
+ }
40459
+ },
40460
+ {
40461
+ "id": "comment_preview_$item.id",
40462
+ "body": {
40463
+ "package": "himalaya",
40464
+ "type": "Text",
40465
+ "props": {
40466
+ "text": "$item.preview",
40467
+ "style": "body",
40468
+ "maxLines": 2
40469
+ }
40470
+ }
40471
+ },
40472
+ {
40473
+ "id": "",
40474
+ "body": {
40475
+ "package": "himalaya",
40476
+ "type": "HStack",
40477
+ "props": {
40478
+ "spacing": 12,
40479
+ "alignment": "center",
40480
+ "children": [
40481
+ {
40482
+ "id": "",
40483
+ "body": {
40484
+ "package": "himalaya",
40485
+ "type": "HStack",
40486
+ "props": {
40487
+ "spacing": 0,
40488
+ "alignment": "center",
40489
+ "children": [
40490
+ {
40491
+ "id": "himi_blog_post.comment_like",
40492
+ "body": {
40493
+ "package": "himalaya",
40494
+ "type": "HStack",
40495
+ "props": {
40496
+ "spacing": 4,
40497
+ "alignment": "center",
40498
+ "children": [
40499
+ {
40500
+ "id": "",
40501
+ "body": {
40502
+ "package": "himalaya",
40503
+ "type": "Icon",
40504
+ "props": {
40505
+ "name": "heart",
40506
+ "size": 14,
40507
+ "tint": "textSecondary"
40508
+ }
40509
+ },
40510
+ "modifiers": {
40511
+ "accessibilityRole": "decorative"
40512
+ }
40513
+ },
40514
+ {
40515
+ "id": "",
40516
+ "body": {
40517
+ "package": "himalaya",
40518
+ "type": "Text",
40519
+ "props": {
40520
+ "text": "$item.likes",
40521
+ "style": "caption",
40522
+ "color": "textSecondary",
40523
+ "monospacedDigits": true
40524
+ }
40525
+ }
40526
+ }
40527
+ ]
40528
+ }
40529
+ },
40530
+ "modifiers": {
40531
+ "border": {
40532
+ "width": 1,
40533
+ "color": {
40534
+ "token": "border"
40535
+ }
40536
+ },
40537
+ "cornerRadius": 999,
40538
+ "padding": {
40539
+ "leading": 10,
40540
+ "trailing": 10,
40541
+ "top": 4,
40542
+ "bottom": 4
40543
+ },
40544
+ "onTap": {
40545
+ "actionId": "tier5.himiBlogPost.likeComment",
40546
+ "params": {
40547
+ "id": "$item.id"
40548
+ }
40549
+ },
40550
+ "pressFeedback": "scale",
40551
+ "haptic": "light",
40552
+ "accessibilityRole": "button",
40553
+ "accessibilityLabel": "Like",
40554
+ "hiddenPath": "$item.liked"
40555
+ }
40556
+ },
40557
+ {
40558
+ "id": "himi_blog_post.comment_unlike",
40559
+ "body": {
40560
+ "package": "himalaya",
40561
+ "type": "HStack",
40562
+ "props": {
40563
+ "spacing": 4,
40564
+ "alignment": "center",
40565
+ "children": [
40566
+ {
40567
+ "id": "",
40568
+ "body": {
40569
+ "package": "himalaya",
40570
+ "type": "Icon",
40571
+ "props": {
40572
+ "name": "heart_fill",
40573
+ "size": 14,
40574
+ "tint": "danger"
40575
+ }
40576
+ },
40577
+ "modifiers": {
40578
+ "accessibilityRole": "decorative"
40579
+ }
40580
+ },
40581
+ {
40582
+ "id": "",
40583
+ "body": {
40584
+ "package": "himalaya",
40585
+ "type": "Text",
40586
+ "props": {
40587
+ "text": "$item.likes",
40588
+ "style": "caption",
40589
+ "color": "danger",
40590
+ "monospacedDigits": true
40591
+ }
40592
+ }
40593
+ }
40594
+ ]
40595
+ }
40596
+ },
40597
+ "modifiers": {
40598
+ "background": {
40599
+ "token": "dangerSurface"
40600
+ },
40601
+ "cornerRadius": 999,
40602
+ "padding": {
40603
+ "leading": 10,
40604
+ "trailing": 10,
40605
+ "top": 4,
40606
+ "bottom": 4
40607
+ },
40608
+ "onTap": {
40609
+ "actionId": "tier5.himiBlogPost.unlikeComment",
40610
+ "params": {
40611
+ "id": "$item.id"
40612
+ }
40613
+ },
40614
+ "pressFeedback": "scale",
40615
+ "haptic": "light",
40616
+ "accessibilityRole": "button",
40617
+ "accessibilityLabel": "Unlike",
40618
+ "hiddenPath": "$item.notLiked"
40619
+ }
40620
+ }
40621
+ ]
40622
+ }
40623
+ },
40624
+ "modifiers": {
40625
+ "hiddenPath": "$item.noLikes"
40626
+ }
40627
+ },
40628
+ {
40629
+ "id": "",
40630
+ "body": {
40631
+ "package": "himalaya",
40632
+ "type": "HStack",
40633
+ "props": {
40634
+ "spacing": 0,
40635
+ "alignment": "center",
40636
+ "children": [
40637
+ {
40638
+ "id": "himi_blog_post.comment_reply",
40639
+ "body": {
40640
+ "package": "himalaya",
40641
+ "type": "Text",
40642
+ "props": {
40643
+ "text": "Reply",
40644
+ "style": "caption",
40645
+ "color": "textSecondary"
40646
+ }
40647
+ },
40648
+ "modifiers": {
40649
+ "onTap": {
40650
+ "actionId": "tier5.himiBlogPost.replyTo",
40651
+ "params": {
40652
+ "id": "$item.id"
40653
+ }
40654
+ },
40655
+ "accessibilityRole": "button",
40656
+ "padding": {
40657
+ "top": 4,
40658
+ "bottom": 4,
40659
+ "leading": 4,
40660
+ "trailing": 4
40661
+ },
40662
+ "hiddenPath": "$item.noReply"
40663
+ }
40664
+ }
40665
+ ]
40666
+ }
40667
+ },
40668
+ "modifiers": {
40669
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
40670
+ }
40671
+ },
40672
+ {
40673
+ "id": "",
40674
+ "body": {
40675
+ "package": "himalaya",
40676
+ "type": "Spacer",
40677
+ "props": {}
40678
+ }
40679
+ }
40680
+ ]
40681
+ }
40682
+ }
40683
+ }
40684
+ ]
40685
+ }
40686
+ },
40687
+ "modifiers": {
40688
+ "weight": 1
40689
+ }
40690
+ }
40691
+ ]
40692
+ }
40693
+ },
40694
+ "modifiers": {
40695
+ "fillMaxWidth": true
40696
+ }
40697
+ }
40659
40698
  ]
40660
40699
  }
40661
- },
40662
- "modifiers": {
40663
- "width": 72,
40664
- "height": 72,
40665
- "background": {
40666
- "token": "surfaceSecondary"
40667
- },
40668
- "cornerRadius": 8,
40669
- "accessibilityRole": "decorative",
40670
- "hiddenPath": "$item.hasCover"
40671
40700
  }
40672
40701
  },
40673
40702
  {
40674
- "id": "",
40703
+ "id": "himi_blog_post.comment_open_composer",
40675
40704
  "body": {
40676
40705
  "package": "himalaya",
40677
- "type": "VStack",
40706
+ "type": "HStack",
40678
40707
  "props": {
40679
- "spacing": 4,
40680
- "alignment": "leading",
40708
+ "spacing": 10,
40709
+ "alignment": "center",
40681
40710
  "children": [
40711
+ {
40712
+ "id": "himi_blog_post.comment_input_avatar.photo",
40713
+ "body": {
40714
+ "package": "himalaya",
40715
+ "type": "Image",
40716
+ "props": {
40717
+ "url": "$service:himiBlogPost.memberPhoto",
40718
+ "width": 32,
40719
+ "height": 32,
40720
+ "contentMode": "fill",
40721
+ "shape": "circle"
40722
+ }
40723
+ },
40724
+ "modifiers": {
40725
+ "accessibilityRole": "decorative",
40726
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
40727
+ }
40728
+ },
40682
40729
  {
40683
40730
  "id": "",
40684
40731
  "body": {
40685
40732
  "package": "himalaya",
40686
- "type": "Text",
40733
+ "type": "ZStack",
40687
40734
  "props": {
40688
- "text": "$item.title",
40689
- "style": "bodyEmphasis",
40690
- "maxLines": 2
40735
+ "alignment": "center",
40736
+ "children": [
40737
+ {
40738
+ "id": "",
40739
+ "body": {
40740
+ "package": "himalaya",
40741
+ "type": "Icon",
40742
+ "props": {
40743
+ "name": "person",
40744
+ "size": 16,
40745
+ "tint": "accentPrimary"
40746
+ }
40747
+ },
40748
+ "modifiers": {
40749
+ "accessibilityRole": "decorative",
40750
+ "hiddenPath": "$service:himiBlogPost.isMember"
40751
+ }
40752
+ },
40753
+ {
40754
+ "id": "",
40755
+ "body": {
40756
+ "package": "himalaya",
40757
+ "type": "Text",
40758
+ "props": {
40759
+ "text": "$service:himiBlogPost.memberInitial",
40760
+ "style": "footnote",
40761
+ "color": "accentPrimary",
40762
+ "collapseWhenEmpty": true
40763
+ }
40764
+ }
40765
+ }
40766
+ ]
40691
40767
  }
40768
+ },
40769
+ "modifiers": {
40770
+ "width": 32,
40771
+ "height": 32,
40772
+ "background": {
40773
+ "token": "accentSurface"
40774
+ },
40775
+ "cornerRadius": 16,
40776
+ "accessibilityRole": "decorative",
40777
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
40692
40778
  }
40693
40779
  },
40694
40780
  {
40695
40781
  "id": "",
40696
40782
  "body": {
40697
40783
  "package": "himalaya",
40698
- "type": "Text",
40784
+ "type": "HStack",
40699
40785
  "props": {
40700
- "text": "$item.date",
40701
- "style": "caption",
40702
- "color": "textSecondary",
40703
- "maxLines": 1,
40704
- "collapseWhenEmpty": true
40786
+ "spacing": 0,
40787
+ "alignment": "center",
40788
+ "children": [
40789
+ {
40790
+ "id": "",
40791
+ "body": {
40792
+ "package": "himalaya",
40793
+ "type": "Text",
40794
+ "props": {
40795
+ "text": "Leave a comment…",
40796
+ "style": "body",
40797
+ "color": "textTertiary",
40798
+ "maxLines": 1
40799
+ }
40800
+ }
40801
+ },
40802
+ {
40803
+ "id": "",
40804
+ "body": {
40805
+ "package": "himalaya",
40806
+ "type": "Spacer",
40807
+ "props": {}
40808
+ }
40809
+ }
40810
+ ]
40705
40811
  }
40812
+ },
40813
+ "modifiers": {
40814
+ "background": {
40815
+ "token": "surfacePrimary"
40816
+ },
40817
+ "cornerRadius": 999,
40818
+ "padding": {
40819
+ "leading": 16,
40820
+ "trailing": 16,
40821
+ "top": 10,
40822
+ "bottom": 10
40823
+ },
40824
+ "weight": 1
40706
40825
  }
40707
40826
  }
40708
40827
  ]
40709
40828
  }
40710
- }
40711
- },
40712
- {
40713
- "id": "",
40714
- "body": {
40715
- "package": "himalaya",
40716
- "type": "Spacer",
40717
- "props": {}
40829
+ },
40830
+ "modifiers": {
40831
+ "onTap": {
40832
+ "actionId": "tier5.himiBlogPost.openComposer"
40833
+ },
40834
+ "accessibilityRole": "button",
40835
+ "accessibilityLabel": "Leave a comment…",
40836
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
40718
40837
  }
40719
40838
  }
40720
40839
  ]
40721
40840
  }
40722
40841
  },
40723
40842
  "modifiers": {
40724
- "padding": {
40725
- "leading": 20,
40726
- "trailing": 20,
40727
- "top": 12,
40728
- "bottom": 12
40729
- },
40730
- "onTap": {
40731
- "actionId": "himi.open",
40732
- "params": {
40733
- "screenId": "$item.detailScreenId",
40734
- "id": "$item.id"
40735
- }
40843
+ "background": {
40844
+ "token": "surfaceSecondary"
40736
40845
  },
40737
- "pressFeedback": "scale",
40738
- "haptic": "light",
40739
- "accessibilityLabel": "$item.title"
40846
+ "cornerRadius": 16,
40847
+ "padding": {
40848
+ "leading": 16,
40849
+ "trailing": 16,
40850
+ "top": 16,
40851
+ "bottom": 16
40852
+ }
40740
40853
  }
40741
40854
  }
40742
40855
  ]
40743
40856
  }
40857
+ },
40858
+ "modifiers": {
40859
+ "padding": {
40860
+ "leading": 20,
40861
+ "trailing": 20,
40862
+ "top": 20,
40863
+ "bottom": 20
40864
+ }
40865
+ }
40866
+ }
40867
+ ]
40868
+ }
40869
+ }
40870
+ },
40871
+ {
40872
+ "id": "himi_blog_post.recent_section",
40873
+ "body": {
40874
+ "package": "himalaya",
40875
+ "type": "VStack",
40876
+ "props": {
40877
+ "spacing": 0,
40878
+ "alignment": "leading",
40879
+ "children": [
40880
+ {
40881
+ "id": "himi_blog_post.recent_band",
40882
+ "body": {
40883
+ "package": "himalaya",
40884
+ "type": "VStack",
40885
+ "props": {
40886
+ "spacing": 0,
40887
+ "children": []
40888
+ }
40889
+ },
40890
+ "modifiers": {
40891
+ "height": 12,
40892
+ "fillMaxWidth": true,
40893
+ "background": {
40894
+ "token": "surfaceSecondary"
40895
+ },
40896
+ "accessibilityRole": "decorative"
40744
40897
  }
40745
40898
  },
40746
40899
  {
40747
40900
  "id": "",
40748
40901
  "body": {
40749
40902
  "package": "himalaya",
40750
- "type": "HStack",
40903
+ "type": "VStack",
40751
40904
  "props": {
40752
40905
  "spacing": 0,
40906
+ "alignment": "leading",
40753
40907
  "children": [
40754
40908
  {
40755
40909
  "id": "",
40756
40910
  "body": {
40757
40911
  "package": "himalaya",
40758
- "type": "Spacer",
40759
- "props": {}
40760
- }
40761
- },
40762
- {
40763
- "id": "himi_blog_post.see_all",
40764
- "body": {
40765
- "package": "himalaya",
40766
- "type": "Button",
40912
+ "type": "Text",
40767
40913
  "props": {
40768
- "title": "See All Posts",
40769
- "style": "secondary",
40770
- "fullWidth": false,
40771
- "action": {
40772
- "actionId": "himi.open",
40773
- "params": {
40774
- "screenId": "himi_blog"
40775
- }
40776
- }
40914
+ "text": "Recent posts",
40915
+ "style": "title3"
40777
40916
  }
40778
- }
40779
- },
40780
- {
40781
- "id": "",
40782
- "body": {
40783
- "package": "himalaya",
40784
- "type": "Spacer",
40785
- "props": {}
40917
+ },
40918
+ "modifiers": {
40919
+ "accessibilityRole": "heading"
40786
40920
  }
40787
40921
  }
40788
40922
  ]
@@ -40790,53 +40924,254 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40790
40924
  },
40791
40925
  "modifiers": {
40792
40926
  "padding": {
40793
- "top": 12,
40794
- "bottom": 8
40927
+ "leading": 20,
40928
+ "trailing": 20,
40929
+ "top": 20,
40930
+ "bottom": 4
40795
40931
  }
40796
40932
  }
40797
- }
40798
- ]
40799
- }
40800
- },
40801
- "modifiers": {
40802
- "hiddenPath": "$service:himiBlogPost.noRecent"
40803
- }
40804
- }
40805
- ]
40806
- }
40807
- },
40808
- "modifiers": {
40809
- "hiddenPath": "$service:himiBlogPost.noPost"
40810
- }
40811
- },
40812
- {
40813
- "id": "himi_blog_post.more_sheet",
40814
- "body": {
40815
- "package": "himalaya",
40816
- "type": "BottomSheet",
40817
- "props": {
40818
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
40819
- "dismissible": true,
40820
- "showGrabber": true,
40821
- "onDismiss": {
40822
- "actionId": "tier5.himiBlogPost.closeMore"
40823
- },
40824
- "content": {
40825
- "id": "",
40826
- "body": {
40827
- "package": "himalaya",
40828
- "type": "VStack",
40829
- "props": {
40830
- "spacing": 0,
40831
- "alignment": "leading",
40832
- "children": [
40833
- {
40933
+ },
40934
+ {
40935
+ "id": "himi_blog_post.recent",
40936
+ "body": {
40937
+ "package": "himalaya",
40938
+ "type": "Grid",
40939
+ "props": {
40940
+ "columns": 1,
40941
+ "spacing": 0,
40942
+ "itemsPath": "$service:himiBlogPost.recent",
40943
+ "items": [
40944
+ {
40945
+ "id": "himi_blog_post.recent_row",
40946
+ "body": {
40947
+ "package": "himalaya",
40948
+ "type": "HStack",
40949
+ "props": {
40950
+ "spacing": 12,
40951
+ "children": [
40952
+ {
40953
+ "id": "himi_blog_post.recent_cover",
40954
+ "body": {
40955
+ "package": "himalaya",
40956
+ "type": "Image",
40957
+ "props": {
40958
+ "url": "$item.cover",
40959
+ "width": 72,
40960
+ "height": 72,
40961
+ "contentMode": "fill"
40962
+ }
40963
+ },
40964
+ "modifiers": {
40965
+ "accessibilityRole": "decorative",
40966
+ "cornerRadius": 8,
40967
+ "hiddenPath": "$item.noCover"
40968
+ }
40969
+ },
40970
+ {
40971
+ "id": "",
40972
+ "body": {
40973
+ "package": "himalaya",
40974
+ "type": "ZStack",
40975
+ "props": {
40976
+ "alignment": "center",
40977
+ "children": [
40978
+ {
40979
+ "id": "",
40980
+ "body": {
40981
+ "package": "himalaya",
40982
+ "type": "Icon",
40983
+ "props": {
40984
+ "name": "newspaper",
40985
+ "size": 22,
40986
+ "tint": "textTertiary"
40987
+ }
40988
+ },
40989
+ "modifiers": {
40990
+ "accessibilityRole": "decorative"
40991
+ }
40992
+ }
40993
+ ]
40994
+ }
40995
+ },
40996
+ "modifiers": {
40997
+ "width": 72,
40998
+ "height": 72,
40999
+ "background": {
41000
+ "token": "surfaceSecondary"
41001
+ },
41002
+ "cornerRadius": 8,
41003
+ "accessibilityRole": "decorative",
41004
+ "hiddenPath": "$item.hasCover"
41005
+ }
41006
+ },
41007
+ {
41008
+ "id": "",
41009
+ "body": {
41010
+ "package": "himalaya",
41011
+ "type": "VStack",
41012
+ "props": {
41013
+ "spacing": 4,
41014
+ "alignment": "leading",
41015
+ "children": [
41016
+ {
41017
+ "id": "",
41018
+ "body": {
41019
+ "package": "himalaya",
41020
+ "type": "Text",
41021
+ "props": {
41022
+ "text": "$item.title",
41023
+ "style": "bodyEmphasis",
41024
+ "maxLines": 2
41025
+ }
41026
+ }
41027
+ },
41028
+ {
41029
+ "id": "",
41030
+ "body": {
41031
+ "package": "himalaya",
41032
+ "type": "Text",
41033
+ "props": {
41034
+ "text": "$item.date",
41035
+ "style": "caption",
41036
+ "color": "textSecondary",
41037
+ "maxLines": 1,
41038
+ "collapseWhenEmpty": true
41039
+ }
41040
+ }
41041
+ }
41042
+ ]
41043
+ }
41044
+ }
41045
+ },
41046
+ {
41047
+ "id": "",
41048
+ "body": {
41049
+ "package": "himalaya",
41050
+ "type": "Spacer",
41051
+ "props": {}
41052
+ }
41053
+ }
41054
+ ]
41055
+ }
41056
+ },
41057
+ "modifiers": {
41058
+ "padding": {
41059
+ "leading": 20,
41060
+ "trailing": 20,
41061
+ "top": 12,
41062
+ "bottom": 12
41063
+ },
41064
+ "onTap": {
41065
+ "actionId": "himi.open",
41066
+ "params": {
41067
+ "screenId": "$item.detailScreenId",
41068
+ "id": "$item.id"
41069
+ }
41070
+ },
41071
+ "pressFeedback": "scale",
41072
+ "haptic": "light",
41073
+ "accessibilityLabel": "$item.title"
41074
+ }
41075
+ }
41076
+ ]
41077
+ }
41078
+ }
41079
+ },
41080
+ {
41081
+ "id": "",
41082
+ "body": {
41083
+ "package": "himalaya",
41084
+ "type": "HStack",
41085
+ "props": {
41086
+ "spacing": 0,
41087
+ "children": [
41088
+ {
41089
+ "id": "",
41090
+ "body": {
41091
+ "package": "himalaya",
41092
+ "type": "Spacer",
41093
+ "props": {}
41094
+ }
41095
+ },
41096
+ {
41097
+ "id": "himi_blog_post.see_all",
41098
+ "body": {
41099
+ "package": "himalaya",
41100
+ "type": "Button",
41101
+ "props": {
41102
+ "title": "See All Posts",
41103
+ "style": "secondary",
41104
+ "fullWidth": false,
41105
+ "action": {
41106
+ "actionId": "himi.open",
41107
+ "params": {
41108
+ "screenId": "himi_blog"
41109
+ }
41110
+ }
41111
+ }
41112
+ }
41113
+ },
41114
+ {
41115
+ "id": "",
41116
+ "body": {
41117
+ "package": "himalaya",
41118
+ "type": "Spacer",
41119
+ "props": {}
41120
+ }
41121
+ }
41122
+ ]
41123
+ }
41124
+ },
41125
+ "modifiers": {
41126
+ "padding": {
41127
+ "top": 12,
41128
+ "bottom": 8
41129
+ }
41130
+ }
41131
+ }
41132
+ ]
41133
+ }
41134
+ },
41135
+ "modifiers": {
41136
+ "hiddenPath": "$service:himiBlogPost.noRecent"
41137
+ }
41138
+ }
41139
+ ]
41140
+ }
41141
+ },
41142
+ "modifiers": {
41143
+ "hiddenPath": "$service:himiBlogPost.noPost"
41144
+ }
41145
+ },
41146
+ {
41147
+ "id": "himi_blog_post.more_sheet",
41148
+ "body": {
41149
+ "package": "himalaya",
41150
+ "type": "BottomSheet",
41151
+ "props": {
41152
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
41153
+ "dismissible": true,
41154
+ "showGrabber": true,
41155
+ "onDismiss": {
41156
+ "actionId": "tier5.himiBlogPost.closeMore"
41157
+ },
41158
+ "content": {
41159
+ "id": "",
41160
+ "body": {
41161
+ "package": "himalaya",
41162
+ "type": "VStack",
41163
+ "props": {
41164
+ "spacing": 0,
41165
+ "alignment": "leading",
41166
+ "children": [
41167
+ {
40834
41168
  "id": "himi_blog_post.report",
40835
41169
  "body": {
40836
41170
  "package": "himalaya",
40837
41171
  "type": "HStack",
40838
41172
  "props": {
40839
41173
  "spacing": 14,
41174
+ "alignment": "center",
40840
41175
  "children": [
40841
41176
  {
40842
41177
  "id": "",
@@ -40895,6 +41230,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40895
41230
  "type": "HStack",
40896
41231
  "props": {
40897
41232
  "spacing": 14,
41233
+ "alignment": "center",
40898
41234
  "children": [
40899
41235
  {
40900
41236
  "id": "",
@@ -40908,364 +41244,1795 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
40908
41244
  }
40909
41245
  },
40910
41246
  "modifiers": {
40911
- "accessibilityRole": "decorative"
40912
- }
40913
- },
40914
- {
40915
- "id": "",
40916
- "body": {
40917
- "package": "himalaya",
40918
- "type": "Text",
40919
- "props": {
40920
- "text": "Hide post",
40921
- "style": "body"
41247
+ "accessibilityRole": "decorative"
41248
+ }
41249
+ },
41250
+ {
41251
+ "id": "",
41252
+ "body": {
41253
+ "package": "himalaya",
41254
+ "type": "Text",
41255
+ "props": {
41256
+ "text": "Hide post",
41257
+ "style": "body"
41258
+ }
41259
+ }
41260
+ },
41261
+ {
41262
+ "id": "",
41263
+ "body": {
41264
+ "package": "himalaya",
41265
+ "type": "Spacer",
41266
+ "props": {}
41267
+ }
41268
+ }
41269
+ ]
41270
+ }
41271
+ },
41272
+ "modifiers": {
41273
+ "onTap": {
41274
+ "actionId": "tier5.himiBlogPost.openHide"
41275
+ },
41276
+ "accessibilityRole": "button",
41277
+ "accessibilityLabel": "Hide post",
41278
+ "padding": {
41279
+ "top": 11,
41280
+ "bottom": 11
41281
+ },
41282
+ "hiddenPath": "$service:himiBlogPost.hidden"
41283
+ }
41284
+ },
41285
+ {
41286
+ "id": "himi_blog_post.unhide",
41287
+ "body": {
41288
+ "package": "himalaya",
41289
+ "type": "HStack",
41290
+ "props": {
41291
+ "spacing": 14,
41292
+ "alignment": "center",
41293
+ "children": [
41294
+ {
41295
+ "id": "",
41296
+ "body": {
41297
+ "package": "himalaya",
41298
+ "type": "Icon",
41299
+ "props": {
41300
+ "name": "visible",
41301
+ "size": 22,
41302
+ "tint": "textPrimary"
41303
+ }
41304
+ },
41305
+ "modifiers": {
41306
+ "accessibilityRole": "decorative"
41307
+ }
41308
+ },
41309
+ {
41310
+ "id": "",
41311
+ "body": {
41312
+ "package": "himalaya",
41313
+ "type": "Text",
41314
+ "props": {
41315
+ "text": "Undo hide",
41316
+ "style": "body"
41317
+ }
41318
+ }
41319
+ },
41320
+ {
41321
+ "id": "",
41322
+ "body": {
41323
+ "package": "himalaya",
41324
+ "type": "Spacer",
41325
+ "props": {}
41326
+ }
41327
+ }
41328
+ ]
41329
+ }
41330
+ },
41331
+ "modifiers": {
41332
+ "onTap": {
41333
+ "actionId": "tier5.himiBlogPost.unhide"
41334
+ },
41335
+ "accessibilityRole": "button",
41336
+ "accessibilityLabel": "Undo hide",
41337
+ "padding": {
41338
+ "top": 11,
41339
+ "bottom": 11
41340
+ },
41341
+ "hiddenPath": "$service:himiBlogPost.notHidden"
41342
+ }
41343
+ }
41344
+ ]
41345
+ }
41346
+ },
41347
+ "modifiers": {
41348
+ "padding": {
41349
+ "leading": 20,
41350
+ "trailing": 20,
41351
+ "top": 0,
41352
+ "bottom": 8
41353
+ }
41354
+ }
41355
+ }
41356
+ }
41357
+ }
41358
+ },
41359
+ {
41360
+ "id": "himi_blog_post.hide_sheet",
41361
+ "body": {
41362
+ "package": "himalaya",
41363
+ "type": "BottomSheet",
41364
+ "props": {
41365
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
41366
+ "dismissible": true,
41367
+ "showGrabber": true,
41368
+ "onDismiss": {
41369
+ "actionId": "tier5.himiBlogPost.closeHide"
41370
+ },
41371
+ "content": {
41372
+ "id": "",
41373
+ "body": {
41374
+ "package": "himalaya",
41375
+ "type": "VStack",
41376
+ "props": {
41377
+ "spacing": 0,
41378
+ "alignment": "leading",
41379
+ "children": [
41380
+ {
41381
+ "id": "",
41382
+ "body": {
41383
+ "package": "himalaya",
41384
+ "type": "Text",
41385
+ "props": {
41386
+ "text": "Why are you hiding this post?",
41387
+ "style": "title3"
41388
+ }
41389
+ },
41390
+ "modifiers": {
41391
+ "padding": {
41392
+ "bottom": 6
41393
+ }
41394
+ }
41395
+ },
41396
+ {
41397
+ "id": "himi_blog_post.hide_offensive",
41398
+ "body": {
41399
+ "package": "himalaya",
41400
+ "type": "HStack",
41401
+ "props": {
41402
+ "spacing": 14,
41403
+ "alignment": "center",
41404
+ "children": [
41405
+ {
41406
+ "id": "",
41407
+ "body": {
41408
+ "package": "himalaya",
41409
+ "type": "Text",
41410
+ "props": {
41411
+ "text": "It is offensive",
41412
+ "style": "body"
41413
+ }
41414
+ }
41415
+ },
41416
+ {
41417
+ "id": "",
41418
+ "body": {
41419
+ "package": "himalaya",
41420
+ "type": "Spacer",
41421
+ "props": {}
41422
+ }
41423
+ }
41424
+ ]
41425
+ }
41426
+ },
41427
+ "modifiers": {
41428
+ "onTap": {
41429
+ "actionId": "tier5.himiBlogPost.hide",
41430
+ "params": {
41431
+ "reason": "offensive"
41432
+ }
41433
+ },
41434
+ "accessibilityRole": "button",
41435
+ "accessibilityLabel": "It is offensive",
41436
+ "padding": {
41437
+ "top": 11,
41438
+ "bottom": 11
41439
+ }
41440
+ }
41441
+ },
41442
+ {
41443
+ "id": "himi_blog_post.hide_misleading",
41444
+ "body": {
41445
+ "package": "himalaya",
41446
+ "type": "HStack",
41447
+ "props": {
41448
+ "spacing": 14,
41449
+ "alignment": "center",
41450
+ "children": [
41451
+ {
41452
+ "id": "",
41453
+ "body": {
41454
+ "package": "himalaya",
41455
+ "type": "Text",
41456
+ "props": {
41457
+ "text": "It is misleading",
41458
+ "style": "body"
41459
+ }
41460
+ }
41461
+ },
41462
+ {
41463
+ "id": "",
41464
+ "body": {
41465
+ "package": "himalaya",
41466
+ "type": "Spacer",
41467
+ "props": {}
41468
+ }
41469
+ }
41470
+ ]
41471
+ }
41472
+ },
41473
+ "modifiers": {
41474
+ "onTap": {
41475
+ "actionId": "tier5.himiBlogPost.hide",
41476
+ "params": {
41477
+ "reason": "misleading"
41478
+ }
41479
+ },
41480
+ "accessibilityRole": "button",
41481
+ "accessibilityLabel": "It is misleading",
41482
+ "padding": {
41483
+ "top": 11,
41484
+ "bottom": 11
41485
+ }
41486
+ }
41487
+ },
41488
+ {
41489
+ "id": "himi_blog_post.hide_other",
41490
+ "body": {
41491
+ "package": "himalaya",
41492
+ "type": "HStack",
41493
+ "props": {
41494
+ "spacing": 14,
41495
+ "alignment": "center",
41496
+ "children": [
41497
+ {
41498
+ "id": "",
41499
+ "body": {
41500
+ "package": "himalaya",
41501
+ "type": "Text",
41502
+ "props": {
41503
+ "text": "Something else",
41504
+ "style": "body"
41505
+ }
41506
+ }
41507
+ },
41508
+ {
41509
+ "id": "",
41510
+ "body": {
41511
+ "package": "himalaya",
41512
+ "type": "Spacer",
41513
+ "props": {}
41514
+ }
41515
+ }
41516
+ ]
41517
+ }
41518
+ },
41519
+ "modifiers": {
41520
+ "onTap": {
41521
+ "actionId": "tier5.himiBlogPost.hide",
41522
+ "params": {
41523
+ "reason": "other"
41524
+ }
41525
+ },
41526
+ "accessibilityRole": "button",
41527
+ "accessibilityLabel": "Something else",
41528
+ "padding": {
41529
+ "top": 11,
41530
+ "bottom": 11
41531
+ }
41532
+ }
41533
+ },
41534
+ {
41535
+ "id": "himi_blog_post.hide_cancel",
41536
+ "body": {
41537
+ "package": "himalaya",
41538
+ "type": "Button",
41539
+ "props": {
41540
+ "title": "Cancel",
41541
+ "style": "secondary",
41542
+ "fullWidth": true,
41543
+ "action": {
41544
+ "actionId": "tier5.himiBlogPost.closeHide"
41545
+ }
41546
+ }
41547
+ },
41548
+ "modifiers": {
41549
+ "padding": {
41550
+ "top": 8
41551
+ }
41552
+ }
41553
+ }
41554
+ ]
41555
+ }
41556
+ },
41557
+ "modifiers": {
41558
+ "padding": {
41559
+ "leading": 20,
41560
+ "trailing": 20,
41561
+ "top": 12,
41562
+ "bottom": 8
41563
+ }
41564
+ }
41565
+ }
41566
+ }
41567
+ }
41568
+ },
41569
+ {
41570
+ "id": "himi_blog_post.comments_sheet",
41571
+ "body": {
41572
+ "package": "himalaya",
41573
+ "type": "BottomSheet",
41574
+ "props": {
41575
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
41576
+ "dismissible": true,
41577
+ "showGrabber": true,
41578
+ "detents": [
41579
+ 0.9
41580
+ ],
41581
+ "onDismiss": {
41582
+ "actionId": "tier5.himiBlogPost.closeComments"
41583
+ },
41584
+ "content": {
41585
+ "id": "",
41586
+ "body": {
41587
+ "package": "himalaya",
41588
+ "type": "VStack",
41589
+ "props": {
41590
+ "spacing": 12,
41591
+ "alignment": "leading",
41592
+ "children": [
41593
+ {
41594
+ "id": "",
41595
+ "body": {
41596
+ "package": "himalaya",
41597
+ "type": "HStack",
41598
+ "props": {
41599
+ "spacing": 8,
41600
+ "alignment": "center",
41601
+ "children": [
41602
+ {
41603
+ "id": "",
41604
+ "body": {
41605
+ "package": "himalaya",
41606
+ "type": "VStack",
41607
+ "props": {
41608
+ "spacing": 2,
41609
+ "alignment": "leading",
41610
+ "children": [
41611
+ {
41612
+ "id": "himi_blog_post.comments_sheet_title",
41613
+ "body": {
41614
+ "package": "himalaya",
41615
+ "type": "Text",
41616
+ "props": {
41617
+ "text": "$service:himiBlogPost.sheetTitle",
41618
+ "style": "title3"
41619
+ }
41620
+ },
41621
+ "modifiers": {
41622
+ "accessibilityRole": "heading"
41623
+ }
41624
+ },
41625
+ {
41626
+ "id": "",
41627
+ "body": {
41628
+ "package": "himalaya",
41629
+ "type": "Text",
41630
+ "props": {
41631
+ "text": "$service:himiBlogPost.title",
41632
+ "style": "footnote",
41633
+ "color": "textSecondary",
41634
+ "maxLines": 1,
41635
+ "collapseWhenEmpty": true
41636
+ }
41637
+ }
41638
+ }
41639
+ ]
41640
+ }
41641
+ }
41642
+ },
41643
+ {
41644
+ "id": "",
41645
+ "body": {
41646
+ "package": "himalaya",
41647
+ "type": "Spacer",
41648
+ "props": {}
41649
+ }
41650
+ },
41651
+ {
41652
+ "id": "himi_blog_post.comments_close",
41653
+ "body": {
41654
+ "package": "himalaya",
41655
+ "type": "Icon",
41656
+ "props": {
41657
+ "name": "chevron_down",
41658
+ "size": 22,
41659
+ "tint": "textPrimary"
41660
+ }
41661
+ },
41662
+ "modifiers": {
41663
+ "accessibilityRole": "button",
41664
+ "onTap": {
41665
+ "actionId": "tier5.himiBlogPost.closeComments"
41666
+ },
41667
+ "accessibilityLabel": "Close comments",
41668
+ "padding": {
41669
+ "leading": 11,
41670
+ "trailing": 11,
41671
+ "top": 11,
41672
+ "bottom": 11
41673
+ }
41674
+ }
41675
+ }
41676
+ ]
41677
+ }
41678
+ }
41679
+ },
41680
+ {
41681
+ "id": "",
41682
+ "body": {
41683
+ "package": "himalaya",
41684
+ "type": "Text",
41685
+ "props": {
41686
+ "text": "$service:himiBlogPost.commentStatusText",
41687
+ "style": "footnote",
41688
+ "color": "textSecondary"
41689
+ }
41690
+ },
41691
+ "modifiers": {
41692
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
41693
+ }
41694
+ },
41695
+ {
41696
+ "id": "",
41697
+ "body": {
41698
+ "package": "himalaya",
41699
+ "type": "VStack",
41700
+ "props": {
41701
+ "spacing": 4,
41702
+ "alignment": "leading",
41703
+ "children": [
41704
+ {
41705
+ "id": "",
41706
+ "body": {
41707
+ "package": "himalaya",
41708
+ "type": "Text",
41709
+ "props": {
41710
+ "text": "No comments yet",
41711
+ "style": "bodyEmphasis"
41712
+ }
41713
+ }
41714
+ },
41715
+ {
41716
+ "id": "",
41717
+ "body": {
41718
+ "package": "himalaya",
41719
+ "type": "Text",
41720
+ "props": {
41721
+ "text": "Be the first to share your thoughts.",
41722
+ "style": "footnote",
41723
+ "color": "textSecondary"
41724
+ }
41725
+ }
41726
+ }
41727
+ ]
41728
+ }
41729
+ },
41730
+ "modifiers": {
41731
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
41732
+ }
41733
+ },
41734
+ {
41735
+ "id": "himi_blog_post.sheet_comments",
41736
+ "body": {
41737
+ "package": "himalaya",
41738
+ "type": "LazyList",
41739
+ "props": {
41740
+ "spacing": 4,
41741
+ "itemsPath": "$service:himiBlogPost.comments",
41742
+ "items": [
41743
+ {
41744
+ "id": "himi_blog_post.sheet_comment_row",
41745
+ "body": {
41746
+ "package": "himalaya",
41747
+ "type": "VStack",
41748
+ "props": {
41749
+ "spacing": 0,
41750
+ "alignment": "leading",
41751
+ "children": [
41752
+ {
41753
+ "id": "",
41754
+ "body": {
41755
+ "package": "himalaya",
41756
+ "type": "VStack",
41757
+ "props": {
41758
+ "spacing": 0,
41759
+ "alignment": "leading",
41760
+ "children": [
41761
+ {
41762
+ "id": "",
41763
+ "body": {
41764
+ "package": "himalaya",
41765
+ "type": "HStack",
41766
+ "props": {
41767
+ "spacing": 10,
41768
+ "alignment": "leading",
41769
+ "children": [
41770
+ {
41771
+ "id": "himi_blog_post.comment_avatar.photo",
41772
+ "body": {
41773
+ "package": "himalaya",
41774
+ "type": "Image",
41775
+ "props": {
41776
+ "url": "$item.authorPhoto",
41777
+ "width": 32,
41778
+ "height": 32,
41779
+ "contentMode": "fill",
41780
+ "shape": "circle"
41781
+ }
41782
+ },
41783
+ "modifiers": {
41784
+ "accessibilityRole": "decorative",
41785
+ "hiddenPath": "$item.noAuthorPhoto"
41786
+ }
41787
+ },
41788
+ {
41789
+ "id": "",
41790
+ "body": {
41791
+ "package": "himalaya",
41792
+ "type": "ZStack",
41793
+ "props": {
41794
+ "alignment": "center",
41795
+ "children": [
41796
+ {
41797
+ "id": "",
41798
+ "body": {
41799
+ "package": "himalaya",
41800
+ "type": "Text",
41801
+ "props": {
41802
+ "text": "$item.authorInitial",
41803
+ "style": "footnote",
41804
+ "color": "accentPrimary",
41805
+ "collapseWhenEmpty": true
41806
+ }
41807
+ }
41808
+ }
41809
+ ]
41810
+ }
41811
+ },
41812
+ "modifiers": {
41813
+ "width": 32,
41814
+ "height": 32,
41815
+ "background": {
41816
+ "token": "accentSurface"
41817
+ },
41818
+ "cornerRadius": 16,
41819
+ "accessibilityRole": "decorative",
41820
+ "hiddenPath": "$item.hasAuthorPhoto"
41821
+ }
41822
+ },
41823
+ {
41824
+ "id": "",
41825
+ "body": {
41826
+ "package": "himalaya",
41827
+ "type": "VStack",
41828
+ "props": {
41829
+ "spacing": 4,
41830
+ "alignment": "leading",
41831
+ "children": [
41832
+ {
41833
+ "id": "",
41834
+ "body": {
41835
+ "package": "himalaya",
41836
+ "type": "HStack",
41837
+ "props": {
41838
+ "spacing": 6,
41839
+ "alignment": "center",
41840
+ "children": [
41841
+ {
41842
+ "id": "",
41843
+ "body": {
41844
+ "package": "himalaya",
41845
+ "type": "Text",
41846
+ "props": {
41847
+ "text": "$item.authorName",
41848
+ "style": "footnote",
41849
+ "maxLines": 1
41850
+ }
41851
+ }
41852
+ },
41853
+ {
41854
+ "id": "",
41855
+ "body": {
41856
+ "package": "himalaya",
41857
+ "type": "Text",
41858
+ "props": {
41859
+ "text": "$item.meta",
41860
+ "style": "caption",
41861
+ "color": "textTertiary",
41862
+ "maxLines": 1,
41863
+ "collapseWhenEmpty": true
41864
+ }
41865
+ }
41866
+ },
41867
+ {
41868
+ "id": "",
41869
+ "body": {
41870
+ "package": "himalaya",
41871
+ "type": "Spacer",
41872
+ "props": {}
41873
+ }
41874
+ },
41875
+ {
41876
+ "id": "",
41877
+ "body": {
41878
+ "package": "himalaya",
41879
+ "type": "HStack",
41880
+ "props": {
41881
+ "spacing": 0,
41882
+ "alignment": "center",
41883
+ "children": [
41884
+ {
41885
+ "id": "himi_blog_post.reply_menu",
41886
+ "body": {
41887
+ "package": "himalaya",
41888
+ "type": "Menu",
41889
+ "props": {
41890
+ "anchor": {
41891
+ "id": "",
41892
+ "body": {
41893
+ "package": "himalaya",
41894
+ "type": "Icon",
41895
+ "props": {
41896
+ "name": "more_vertical",
41897
+ "size": 18,
41898
+ "tint": "textSecondary"
41899
+ }
41900
+ },
41901
+ "modifiers": {
41902
+ "accessibilityRole": "button",
41903
+ "accessibilityLabel": "Comment actions",
41904
+ "padding": {
41905
+ "leading": 13,
41906
+ "trailing": 13,
41907
+ "top": 4,
41908
+ "bottom": 4
41909
+ }
41910
+ }
41911
+ },
41912
+ "style": "dropdown",
41913
+ "items": [
41914
+ {
41915
+ "id": "report",
41916
+ "label": "Report",
41917
+ "icon": "warning",
41918
+ "action": {
41919
+ "actionId": "tier5.himiBlogPost.reportComment",
41920
+ "params": {
41921
+ "id": "$item.id"
41922
+ }
41923
+ }
41924
+ }
41925
+ ]
41926
+ }
41927
+ }
41928
+ }
41929
+ ]
41930
+ }
41931
+ },
41932
+ "modifiers": {
41933
+ "hiddenPath": "$item.noReport"
41934
+ }
41935
+ }
41936
+ ]
41937
+ }
41938
+ }
41939
+ },
41940
+ {
41941
+ "id": "",
41942
+ "body": {
41943
+ "package": "himalaya",
41944
+ "type": "VStack",
41945
+ "props": {
41946
+ "spacing": 0,
41947
+ "alignment": "leading",
41948
+ "children": [
41949
+ {
41950
+ "id": "reply_body_$item.id",
41951
+ "body": {
41952
+ "package": "himalaya",
41953
+ "type": "RichContent",
41954
+ "props": {
41955
+ "documentJsonPath": "$item.bodyJson",
41956
+ "onLink": {
41957
+ "actionId": "tier5.himiBlogPost.openLink"
41958
+ },
41959
+ "fallback": {
41960
+ "id": "",
41961
+ "body": {
41962
+ "package": "himalaya",
41963
+ "type": "Text",
41964
+ "props": {
41965
+ "text": "$item.text",
41966
+ "style": "body",
41967
+ "collapseWhenEmpty": true
41968
+ }
41969
+ }
41970
+ }
41971
+ }
41972
+ }
41973
+ },
41974
+ {
41975
+ "id": "reply_body_text_$item.id",
41976
+ "body": {
41977
+ "package": "himalaya",
41978
+ "type": "Text",
41979
+ "props": {
41980
+ "text": "$item.text",
41981
+ "style": "body",
41982
+ "collapseWhenEmpty": true
41983
+ }
41984
+ },
41985
+ "modifiers": {
41986
+ "hiddenPath": "$item.hasBodyJson"
41987
+ }
41988
+ }
41989
+ ]
41990
+ }
41991
+ }
41992
+ },
41993
+ {
41994
+ "id": "",
41995
+ "body": {
41996
+ "package": "himalaya",
41997
+ "type": "HStack",
41998
+ "props": {
41999
+ "spacing": 12,
42000
+ "alignment": "center",
42001
+ "children": [
42002
+ {
42003
+ "id": "",
42004
+ "body": {
42005
+ "package": "himalaya",
42006
+ "type": "HStack",
42007
+ "props": {
42008
+ "spacing": 0,
42009
+ "alignment": "center",
42010
+ "children": [
42011
+ {
42012
+ "id": "himi_blog_post.comment_like",
42013
+ "body": {
42014
+ "package": "himalaya",
42015
+ "type": "HStack",
42016
+ "props": {
42017
+ "spacing": 4,
42018
+ "alignment": "center",
42019
+ "children": [
42020
+ {
42021
+ "id": "",
42022
+ "body": {
42023
+ "package": "himalaya",
42024
+ "type": "Icon",
42025
+ "props": {
42026
+ "name": "heart",
42027
+ "size": 14,
42028
+ "tint": "textSecondary"
42029
+ }
42030
+ },
42031
+ "modifiers": {
42032
+ "accessibilityRole": "decorative"
42033
+ }
42034
+ },
42035
+ {
42036
+ "id": "",
42037
+ "body": {
42038
+ "package": "himalaya",
42039
+ "type": "Text",
42040
+ "props": {
42041
+ "text": "$item.likes",
42042
+ "style": "caption",
42043
+ "color": "textSecondary",
42044
+ "monospacedDigits": true
42045
+ }
42046
+ }
42047
+ }
42048
+ ]
42049
+ }
42050
+ },
42051
+ "modifiers": {
42052
+ "border": {
42053
+ "width": 1,
42054
+ "color": {
42055
+ "token": "border"
42056
+ }
42057
+ },
42058
+ "cornerRadius": 999,
42059
+ "padding": {
42060
+ "leading": 10,
42061
+ "trailing": 10,
42062
+ "top": 4,
42063
+ "bottom": 4
42064
+ },
42065
+ "onTap": {
42066
+ "actionId": "tier5.himiBlogPost.likeComment",
42067
+ "params": {
42068
+ "id": "$item.id"
42069
+ }
42070
+ },
42071
+ "pressFeedback": "scale",
42072
+ "haptic": "light",
42073
+ "accessibilityRole": "button",
42074
+ "accessibilityLabel": "Like",
42075
+ "hiddenPath": "$item.liked"
42076
+ }
42077
+ },
42078
+ {
42079
+ "id": "himi_blog_post.comment_unlike",
42080
+ "body": {
42081
+ "package": "himalaya",
42082
+ "type": "HStack",
42083
+ "props": {
42084
+ "spacing": 4,
42085
+ "alignment": "center",
42086
+ "children": [
42087
+ {
42088
+ "id": "",
42089
+ "body": {
42090
+ "package": "himalaya",
42091
+ "type": "Icon",
42092
+ "props": {
42093
+ "name": "heart_fill",
42094
+ "size": 14,
42095
+ "tint": "danger"
42096
+ }
42097
+ },
42098
+ "modifiers": {
42099
+ "accessibilityRole": "decorative"
42100
+ }
42101
+ },
42102
+ {
42103
+ "id": "",
42104
+ "body": {
42105
+ "package": "himalaya",
42106
+ "type": "Text",
42107
+ "props": {
42108
+ "text": "$item.likes",
42109
+ "style": "caption",
42110
+ "color": "danger",
42111
+ "monospacedDigits": true
42112
+ }
42113
+ }
42114
+ }
42115
+ ]
42116
+ }
42117
+ },
42118
+ "modifiers": {
42119
+ "background": {
42120
+ "token": "dangerSurface"
42121
+ },
42122
+ "cornerRadius": 999,
42123
+ "padding": {
42124
+ "leading": 10,
42125
+ "trailing": 10,
42126
+ "top": 4,
42127
+ "bottom": 4
42128
+ },
42129
+ "onTap": {
42130
+ "actionId": "tier5.himiBlogPost.unlikeComment",
42131
+ "params": {
42132
+ "id": "$item.id"
42133
+ }
42134
+ },
42135
+ "pressFeedback": "scale",
42136
+ "haptic": "light",
42137
+ "accessibilityRole": "button",
42138
+ "accessibilityLabel": "Unlike",
42139
+ "hiddenPath": "$item.notLiked"
42140
+ }
42141
+ }
42142
+ ]
42143
+ }
42144
+ },
42145
+ "modifiers": {
42146
+ "hiddenPath": "$item.noLikes"
42147
+ }
42148
+ },
42149
+ {
42150
+ "id": "",
42151
+ "body": {
42152
+ "package": "himalaya",
42153
+ "type": "HStack",
42154
+ "props": {
42155
+ "spacing": 0,
42156
+ "alignment": "center",
42157
+ "children": [
42158
+ {
42159
+ "id": "himi_blog_post.comment_reply",
42160
+ "body": {
42161
+ "package": "himalaya",
42162
+ "type": "Text",
42163
+ "props": {
42164
+ "text": "Reply",
42165
+ "style": "caption",
42166
+ "color": "textSecondary"
42167
+ }
42168
+ },
42169
+ "modifiers": {
42170
+ "onTap": {
42171
+ "actionId": "tier5.himiBlogPost.replyTo",
42172
+ "params": {
42173
+ "id": "$item.id"
42174
+ }
42175
+ },
42176
+ "accessibilityRole": "button",
42177
+ "padding": {
42178
+ "top": 4,
42179
+ "bottom": 4,
42180
+ "leading": 4,
42181
+ "trailing": 4
42182
+ },
42183
+ "hiddenPath": "$item.noReply"
42184
+ }
42185
+ }
42186
+ ]
42187
+ }
42188
+ },
42189
+ "modifiers": {
42190
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
42191
+ }
42192
+ },
42193
+ {
42194
+ "id": "",
42195
+ "body": {
42196
+ "package": "himalaya",
42197
+ "type": "Spacer",
42198
+ "props": {}
42199
+ }
42200
+ }
42201
+ ]
42202
+ }
42203
+ }
42204
+ }
42205
+ ]
42206
+ }
42207
+ },
42208
+ "modifiers": {
42209
+ "weight": 1
42210
+ }
42211
+ }
42212
+ ]
42213
+ }
42214
+ },
42215
+ "modifiers": {
42216
+ "fillMaxWidth": true
42217
+ }
42218
+ }
42219
+ ]
42220
+ }
42221
+ },
42222
+ "modifiers": {
42223
+ "padding": {
42224
+ "leading": 42
42225
+ },
42226
+ "hiddenPath": "$item.notReply"
42227
+ }
42228
+ },
42229
+ {
42230
+ "id": "",
42231
+ "body": {
42232
+ "package": "himalaya",
42233
+ "type": "HStack",
42234
+ "props": {
42235
+ "spacing": 10,
42236
+ "alignment": "leading",
42237
+ "children": [
42238
+ {
42239
+ "id": "himi_blog_post.comment_avatar.photo",
42240
+ "body": {
42241
+ "package": "himalaya",
42242
+ "type": "Image",
42243
+ "props": {
42244
+ "url": "$item.authorPhoto",
42245
+ "width": 32,
42246
+ "height": 32,
42247
+ "contentMode": "fill",
42248
+ "shape": "circle"
42249
+ }
42250
+ },
42251
+ "modifiers": {
42252
+ "accessibilityRole": "decorative",
42253
+ "hiddenPath": "$item.noAuthorPhoto"
42254
+ }
42255
+ },
42256
+ {
42257
+ "id": "",
42258
+ "body": {
42259
+ "package": "himalaya",
42260
+ "type": "ZStack",
42261
+ "props": {
42262
+ "alignment": "center",
42263
+ "children": [
42264
+ {
42265
+ "id": "",
42266
+ "body": {
42267
+ "package": "himalaya",
42268
+ "type": "Text",
42269
+ "props": {
42270
+ "text": "$item.authorInitial",
42271
+ "style": "footnote",
42272
+ "color": "accentPrimary",
42273
+ "collapseWhenEmpty": true
42274
+ }
42275
+ }
42276
+ }
42277
+ ]
42278
+ }
42279
+ },
42280
+ "modifiers": {
42281
+ "width": 32,
42282
+ "height": 32,
42283
+ "background": {
42284
+ "token": "accentSurface"
42285
+ },
42286
+ "cornerRadius": 16,
42287
+ "accessibilityRole": "decorative",
42288
+ "hiddenPath": "$item.hasAuthorPhoto"
42289
+ }
42290
+ },
42291
+ {
42292
+ "id": "",
42293
+ "body": {
42294
+ "package": "himalaya",
42295
+ "type": "VStack",
42296
+ "props": {
42297
+ "spacing": 4,
42298
+ "alignment": "leading",
42299
+ "children": [
42300
+ {
42301
+ "id": "",
42302
+ "body": {
42303
+ "package": "himalaya",
42304
+ "type": "HStack",
42305
+ "props": {
42306
+ "spacing": 6,
42307
+ "alignment": "center",
42308
+ "children": [
42309
+ {
42310
+ "id": "",
42311
+ "body": {
42312
+ "package": "himalaya",
42313
+ "type": "Text",
42314
+ "props": {
42315
+ "text": "$item.authorName",
42316
+ "style": "footnote",
42317
+ "maxLines": 1
42318
+ }
42319
+ }
42320
+ },
42321
+ {
42322
+ "id": "",
42323
+ "body": {
42324
+ "package": "himalaya",
42325
+ "type": "Text",
42326
+ "props": {
42327
+ "text": "$item.meta",
42328
+ "style": "caption",
42329
+ "color": "textTertiary",
42330
+ "maxLines": 1,
42331
+ "collapseWhenEmpty": true
42332
+ }
42333
+ }
42334
+ },
42335
+ {
42336
+ "id": "",
42337
+ "body": {
42338
+ "package": "himalaya",
42339
+ "type": "Spacer",
42340
+ "props": {}
42341
+ }
42342
+ },
42343
+ {
42344
+ "id": "",
42345
+ "body": {
42346
+ "package": "himalaya",
42347
+ "type": "HStack",
42348
+ "props": {
42349
+ "spacing": 0,
42350
+ "alignment": "center",
42351
+ "children": [
42352
+ {
42353
+ "id": "himi_blog_post.comment_menu",
42354
+ "body": {
42355
+ "package": "himalaya",
42356
+ "type": "Menu",
42357
+ "props": {
42358
+ "anchor": {
42359
+ "id": "",
42360
+ "body": {
42361
+ "package": "himalaya",
42362
+ "type": "Icon",
42363
+ "props": {
42364
+ "name": "more_vertical",
42365
+ "size": 18,
42366
+ "tint": "textSecondary"
42367
+ }
42368
+ },
42369
+ "modifiers": {
42370
+ "accessibilityRole": "button",
42371
+ "accessibilityLabel": "Comment actions",
42372
+ "padding": {
42373
+ "leading": 13,
42374
+ "trailing": 13,
42375
+ "top": 4,
42376
+ "bottom": 4
42377
+ }
42378
+ }
42379
+ },
42380
+ "style": "dropdown",
42381
+ "items": [
42382
+ {
42383
+ "id": "report",
42384
+ "label": "Report",
42385
+ "icon": "warning",
42386
+ "action": {
42387
+ "actionId": "tier5.himiBlogPost.reportComment",
42388
+ "params": {
42389
+ "id": "$item.id"
42390
+ }
42391
+ }
42392
+ }
42393
+ ]
42394
+ }
42395
+ }
42396
+ }
42397
+ ]
42398
+ }
42399
+ },
42400
+ "modifiers": {
42401
+ "hiddenPath": "$item.noReport"
42402
+ }
42403
+ }
42404
+ ]
42405
+ }
42406
+ }
42407
+ },
42408
+ {
42409
+ "id": "",
42410
+ "body": {
42411
+ "package": "himalaya",
42412
+ "type": "VStack",
42413
+ "props": {
42414
+ "spacing": 0,
42415
+ "alignment": "leading",
42416
+ "children": [
42417
+ {
42418
+ "id": "comment_body_$item.id",
42419
+ "body": {
42420
+ "package": "himalaya",
42421
+ "type": "RichContent",
42422
+ "props": {
42423
+ "documentJsonPath": "$item.bodyJson",
42424
+ "onLink": {
42425
+ "actionId": "tier5.himiBlogPost.openLink"
42426
+ },
42427
+ "fallback": {
42428
+ "id": "",
42429
+ "body": {
42430
+ "package": "himalaya",
42431
+ "type": "Text",
42432
+ "props": {
42433
+ "text": "$item.text",
42434
+ "style": "body",
42435
+ "collapseWhenEmpty": true
42436
+ }
42437
+ }
42438
+ }
42439
+ }
42440
+ }
42441
+ },
42442
+ {
42443
+ "id": "comment_body_text_$item.id",
42444
+ "body": {
42445
+ "package": "himalaya",
42446
+ "type": "Text",
42447
+ "props": {
42448
+ "text": "$item.text",
42449
+ "style": "body",
42450
+ "collapseWhenEmpty": true
42451
+ }
42452
+ },
42453
+ "modifiers": {
42454
+ "hiddenPath": "$item.hasBodyJson"
42455
+ }
42456
+ }
42457
+ ]
42458
+ }
42459
+ }
42460
+ },
42461
+ {
42462
+ "id": "",
42463
+ "body": {
42464
+ "package": "himalaya",
42465
+ "type": "HStack",
42466
+ "props": {
42467
+ "spacing": 12,
42468
+ "alignment": "center",
42469
+ "children": [
42470
+ {
42471
+ "id": "",
42472
+ "body": {
42473
+ "package": "himalaya",
42474
+ "type": "HStack",
42475
+ "props": {
42476
+ "spacing": 0,
42477
+ "alignment": "center",
42478
+ "children": [
42479
+ {
42480
+ "id": "himi_blog_post.comment_like",
42481
+ "body": {
42482
+ "package": "himalaya",
42483
+ "type": "HStack",
42484
+ "props": {
42485
+ "spacing": 4,
42486
+ "alignment": "center",
42487
+ "children": [
42488
+ {
42489
+ "id": "",
42490
+ "body": {
42491
+ "package": "himalaya",
42492
+ "type": "Icon",
42493
+ "props": {
42494
+ "name": "heart",
42495
+ "size": 14,
42496
+ "tint": "textSecondary"
42497
+ }
42498
+ },
42499
+ "modifiers": {
42500
+ "accessibilityRole": "decorative"
42501
+ }
42502
+ },
42503
+ {
42504
+ "id": "",
42505
+ "body": {
42506
+ "package": "himalaya",
42507
+ "type": "Text",
42508
+ "props": {
42509
+ "text": "$item.likes",
42510
+ "style": "caption",
42511
+ "color": "textSecondary",
42512
+ "monospacedDigits": true
42513
+ }
42514
+ }
42515
+ }
42516
+ ]
42517
+ }
42518
+ },
42519
+ "modifiers": {
42520
+ "border": {
42521
+ "width": 1,
42522
+ "color": {
42523
+ "token": "border"
42524
+ }
42525
+ },
42526
+ "cornerRadius": 999,
42527
+ "padding": {
42528
+ "leading": 10,
42529
+ "trailing": 10,
42530
+ "top": 4,
42531
+ "bottom": 4
42532
+ },
42533
+ "onTap": {
42534
+ "actionId": "tier5.himiBlogPost.likeComment",
42535
+ "params": {
42536
+ "id": "$item.id"
42537
+ }
42538
+ },
42539
+ "pressFeedback": "scale",
42540
+ "haptic": "light",
42541
+ "accessibilityRole": "button",
42542
+ "accessibilityLabel": "Like",
42543
+ "hiddenPath": "$item.liked"
42544
+ }
42545
+ },
42546
+ {
42547
+ "id": "himi_blog_post.comment_unlike",
42548
+ "body": {
42549
+ "package": "himalaya",
42550
+ "type": "HStack",
42551
+ "props": {
42552
+ "spacing": 4,
42553
+ "alignment": "center",
42554
+ "children": [
42555
+ {
42556
+ "id": "",
42557
+ "body": {
42558
+ "package": "himalaya",
42559
+ "type": "Icon",
42560
+ "props": {
42561
+ "name": "heart_fill",
42562
+ "size": 14,
42563
+ "tint": "danger"
42564
+ }
42565
+ },
42566
+ "modifiers": {
42567
+ "accessibilityRole": "decorative"
42568
+ }
42569
+ },
42570
+ {
42571
+ "id": "",
42572
+ "body": {
42573
+ "package": "himalaya",
42574
+ "type": "Text",
42575
+ "props": {
42576
+ "text": "$item.likes",
42577
+ "style": "caption",
42578
+ "color": "danger",
42579
+ "monospacedDigits": true
42580
+ }
42581
+ }
42582
+ }
42583
+ ]
42584
+ }
42585
+ },
42586
+ "modifiers": {
42587
+ "background": {
42588
+ "token": "dangerSurface"
42589
+ },
42590
+ "cornerRadius": 999,
42591
+ "padding": {
42592
+ "leading": 10,
42593
+ "trailing": 10,
42594
+ "top": 4,
42595
+ "bottom": 4
42596
+ },
42597
+ "onTap": {
42598
+ "actionId": "tier5.himiBlogPost.unlikeComment",
42599
+ "params": {
42600
+ "id": "$item.id"
42601
+ }
42602
+ },
42603
+ "pressFeedback": "scale",
42604
+ "haptic": "light",
42605
+ "accessibilityRole": "button",
42606
+ "accessibilityLabel": "Unlike",
42607
+ "hiddenPath": "$item.notLiked"
42608
+ }
42609
+ }
42610
+ ]
42611
+ }
42612
+ },
42613
+ "modifiers": {
42614
+ "hiddenPath": "$item.noLikes"
42615
+ }
42616
+ },
42617
+ {
42618
+ "id": "",
42619
+ "body": {
42620
+ "package": "himalaya",
42621
+ "type": "HStack",
42622
+ "props": {
42623
+ "spacing": 0,
42624
+ "alignment": "center",
42625
+ "children": [
42626
+ {
42627
+ "id": "himi_blog_post.comment_reply",
42628
+ "body": {
42629
+ "package": "himalaya",
42630
+ "type": "Text",
42631
+ "props": {
42632
+ "text": "Reply",
42633
+ "style": "caption",
42634
+ "color": "textSecondary"
42635
+ }
42636
+ },
42637
+ "modifiers": {
42638
+ "onTap": {
42639
+ "actionId": "tier5.himiBlogPost.replyTo",
42640
+ "params": {
42641
+ "id": "$item.id"
42642
+ }
42643
+ },
42644
+ "accessibilityRole": "button",
42645
+ "padding": {
42646
+ "top": 4,
42647
+ "bottom": 4,
42648
+ "leading": 4,
42649
+ "trailing": 4
42650
+ },
42651
+ "hiddenPath": "$item.noReply"
42652
+ }
42653
+ }
42654
+ ]
42655
+ }
42656
+ },
42657
+ "modifiers": {
42658
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
42659
+ }
42660
+ },
42661
+ {
42662
+ "id": "",
42663
+ "body": {
42664
+ "package": "himalaya",
42665
+ "type": "Spacer",
42666
+ "props": {}
42667
+ }
42668
+ }
42669
+ ]
42670
+ }
42671
+ }
42672
+ }
42673
+ ]
42674
+ }
42675
+ },
42676
+ "modifiers": {
42677
+ "weight": 1
42678
+ }
42679
+ }
42680
+ ]
42681
+ }
42682
+ },
42683
+ "modifiers": {
42684
+ "fillMaxWidth": true,
42685
+ "hiddenPath": "$item.isReply"
42686
+ }
42687
+ }
42688
+ ]
42689
+ }
42690
+ },
42691
+ "modifiers": {
42692
+ "backgroundColorPath": "$item.rowBackground",
42693
+ "cornerRadius": 12,
42694
+ "padding": {
42695
+ "leading": 8,
42696
+ "trailing": 8,
42697
+ "top": 8,
42698
+ "bottom": 8
40922
42699
  }
40923
42700
  }
40924
- },
40925
- {
40926
- "id": "",
40927
- "body": {
40928
- "package": "himalaya",
40929
- "type": "Spacer",
40930
- "props": {}
40931
- }
40932
42701
  }
40933
- ]
40934
- }
40935
- },
40936
- "modifiers": {
40937
- "onTap": {
40938
- "actionId": "tier5.himiBlogPost.openHide"
40939
- },
40940
- "accessibilityRole": "button",
40941
- "accessibilityLabel": "Hide post",
40942
- "padding": {
40943
- "top": 11,
40944
- "bottom": 11
40945
- },
40946
- "hiddenPath": "$service:himiBlogPost.hidden"
40947
- }
40948
- },
40949
- {
40950
- "id": "himi_blog_post.unhide",
40951
- "body": {
40952
- "package": "himalaya",
40953
- "type": "HStack",
40954
- "props": {
40955
- "spacing": 14,
40956
- "children": [
40957
- {
40958
- "id": "",
40959
- "body": {
40960
- "package": "himalaya",
40961
- "type": "Icon",
40962
- "props": {
40963
- "name": "visible",
40964
- "size": 22,
40965
- "tint": "textPrimary"
40966
- }
40967
- },
40968
- "modifiers": {
40969
- "accessibilityRole": "decorative"
40970
- }
40971
- },
40972
- {
40973
- "id": "",
40974
- "body": {
40975
- "package": "himalaya",
40976
- "type": "Text",
40977
- "props": {
40978
- "text": "Undo hide",
40979
- "style": "body"
40980
- }
40981
- }
42702
+ ],
42703
+ "pagination": {
42704
+ "cursor": "$service:himiBlogPost.commentsCursor",
42705
+ "onLoadMore": {
42706
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
40982
42707
  },
40983
- {
40984
- "id": "",
40985
- "body": {
40986
- "package": "himalaya",
40987
- "type": "Spacer",
40988
- "props": {}
40989
- }
40990
- }
40991
- ]
42708
+ "pageSize": 20
42709
+ }
40992
42710
  }
40993
- },
40994
- "modifiers": {
40995
- "onTap": {
40996
- "actionId": "tier5.himiBlogPost.unhide"
40997
- },
40998
- "accessibilityRole": "button",
40999
- "accessibilityLabel": "Undo hide",
41000
- "padding": {
41001
- "top": 11,
41002
- "bottom": 11
41003
- },
41004
- "hiddenPath": "$service:himiBlogPost.notHidden"
41005
42711
  }
41006
42712
  }
41007
42713
  ]
41008
42714
  }
41009
- },
41010
- "modifiers": {
41011
- "padding": {
41012
- "leading": 20,
41013
- "trailing": 20,
41014
- "top": 0,
41015
- "bottom": 8
41016
- }
41017
42715
  }
41018
- }
41019
- }
41020
- }
41021
- },
41022
- {
41023
- "id": "himi_blog_post.hide_sheet",
41024
- "body": {
41025
- "package": "himalaya",
41026
- "type": "BottomSheet",
41027
- "props": {
41028
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
41029
- "dismissible": true,
41030
- "showGrabber": true,
41031
- "onDismiss": {
41032
- "actionId": "tier5.himiBlogPost.closeHide"
41033
42716
  },
41034
- "content": {
41035
- "id": "",
42717
+ "footer": {
42718
+ "id": "himi_blog_post.comment_composer",
41036
42719
  "body": {
41037
42720
  "package": "himalaya",
41038
42721
  "type": "VStack",
41039
42722
  "props": {
41040
- "spacing": 0,
42723
+ "spacing": 6,
41041
42724
  "alignment": "leading",
41042
- "children": [
41043
- {
41044
- "id": "",
41045
- "body": {
41046
- "package": "himalaya",
41047
- "type": "Text",
41048
- "props": {
41049
- "text": "Why are you hiding this post?",
41050
- "style": "title3"
41051
- }
41052
- },
41053
- "modifiers": {
41054
- "padding": {
41055
- "bottom": 6
41056
- }
41057
- }
41058
- },
42725
+ "children": [
41059
42726
  {
41060
- "id": "himi_blog_post.hide_offensive",
42727
+ "id": "",
41061
42728
  "body": {
41062
42729
  "package": "himalaya",
41063
42730
  "type": "HStack",
41064
42731
  "props": {
41065
- "spacing": 14,
42732
+ "spacing": 8,
42733
+ "alignment": "center",
41066
42734
  "children": [
41067
42735
  {
41068
42736
  "id": "",
41069
42737
  "body": {
41070
42738
  "package": "himalaya",
41071
- "type": "Icon",
42739
+ "type": "Text",
41072
42740
  "props": {
41073
- "name": "chevron_right",
41074
- "size": 22,
41075
- "tint": "textPrimary"
42741
+ "text": "$service:himiBlogPost.replyingLine",
42742
+ "style": "footnote",
42743
+ "color": "textSecondary",
42744
+ "maxLines": 1
41076
42745
  }
41077
- },
41078
- "modifiers": {
41079
- "accessibilityRole": "decorative"
41080
42746
  }
41081
42747
  },
41082
42748
  {
41083
42749
  "id": "",
41084
42750
  "body": {
41085
42751
  "package": "himalaya",
41086
- "type": "Text",
41087
- "props": {
41088
- "text": "It is offensive",
41089
- "style": "body"
41090
- }
42752
+ "type": "Spacer",
42753
+ "props": {}
41091
42754
  }
41092
42755
  },
41093
42756
  {
41094
- "id": "",
42757
+ "id": "himi_blog_post.cancel_reply",
41095
42758
  "body": {
41096
42759
  "package": "himalaya",
41097
- "type": "Spacer",
41098
- "props": {}
42760
+ "type": "Icon",
42761
+ "props": {
42762
+ "name": "close",
42763
+ "size": 16,
42764
+ "tint": "textSecondary"
42765
+ }
42766
+ },
42767
+ "modifiers": {
42768
+ "accessibilityRole": "button",
42769
+ "onTap": {
42770
+ "actionId": "tier5.himiBlogPost.cancelReply"
42771
+ },
42772
+ "accessibilityLabel": "Cancel reply",
42773
+ "padding": {
42774
+ "top": 14,
42775
+ "bottom": 14,
42776
+ "leading": 14,
42777
+ "trailing": 14
42778
+ }
41099
42779
  }
41100
42780
  }
41101
42781
  ]
41102
42782
  }
41103
42783
  },
41104
42784
  "modifiers": {
41105
- "onTap": {
41106
- "actionId": "tier5.himiBlogPost.hide",
41107
- "params": {
41108
- "reason": "offensive"
41109
- }
41110
- },
41111
- "accessibilityRole": "button",
41112
- "accessibilityLabel": "It is offensive",
41113
- "padding": {
41114
- "top": 11,
41115
- "bottom": 11
41116
- }
42785
+ "hiddenPath": "$service:himiBlogPost.notReplying"
41117
42786
  }
41118
42787
  },
41119
42788
  {
41120
- "id": "himi_blog_post.hide_misleading",
42789
+ "id": "",
41121
42790
  "body": {
41122
42791
  "package": "himalaya",
41123
42792
  "type": "HStack",
41124
42793
  "props": {
41125
- "spacing": 14,
42794
+ "spacing": 10,
42795
+ "alignment": "center",
41126
42796
  "children": [
41127
42797
  {
41128
- "id": "",
42798
+ "id": "himi_blog_post.composer_avatar.photo",
41129
42799
  "body": {
41130
42800
  "package": "himalaya",
41131
- "type": "Icon",
42801
+ "type": "Image",
41132
42802
  "props": {
41133
- "name": "chevron_right",
41134
- "size": 22,
41135
- "tint": "textPrimary"
42803
+ "url": "$service:himiBlogPost.memberPhoto",
42804
+ "width": 32,
42805
+ "height": 32,
42806
+ "contentMode": "fill",
42807
+ "shape": "circle"
41136
42808
  }
41137
42809
  },
41138
42810
  "modifiers": {
41139
- "accessibilityRole": "decorative"
42811
+ "accessibilityRole": "decorative",
42812
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
41140
42813
  }
41141
42814
  },
41142
42815
  {
41143
42816
  "id": "",
41144
42817
  "body": {
41145
42818
  "package": "himalaya",
41146
- "type": "Text",
42819
+ "type": "ZStack",
41147
42820
  "props": {
41148
- "text": "It is misleading",
41149
- "style": "body"
42821
+ "alignment": "center",
42822
+ "children": [
42823
+ {
42824
+ "id": "",
42825
+ "body": {
42826
+ "package": "himalaya",
42827
+ "type": "Icon",
42828
+ "props": {
42829
+ "name": "person",
42830
+ "size": 16,
42831
+ "tint": "accentPrimary"
42832
+ }
42833
+ },
42834
+ "modifiers": {
42835
+ "accessibilityRole": "decorative",
42836
+ "hiddenPath": "$service:himiBlogPost.isMember"
42837
+ }
42838
+ },
42839
+ {
42840
+ "id": "",
42841
+ "body": {
42842
+ "package": "himalaya",
42843
+ "type": "Text",
42844
+ "props": {
42845
+ "text": "$service:himiBlogPost.memberInitial",
42846
+ "style": "footnote",
42847
+ "color": "accentPrimary",
42848
+ "collapseWhenEmpty": true
42849
+ }
42850
+ }
42851
+ }
42852
+ ]
41150
42853
  }
42854
+ },
42855
+ "modifiers": {
42856
+ "width": 32,
42857
+ "height": 32,
42858
+ "background": {
42859
+ "token": "accentSurface"
42860
+ },
42861
+ "cornerRadius": 16,
42862
+ "accessibilityRole": "decorative",
42863
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
41151
42864
  }
41152
42865
  },
41153
42866
  {
41154
- "id": "",
41155
- "body": {
41156
- "package": "himalaya",
41157
- "type": "Spacer",
41158
- "props": {}
41159
- }
41160
- }
41161
- ]
41162
- }
41163
- },
41164
- "modifiers": {
41165
- "onTap": {
41166
- "actionId": "tier5.himiBlogPost.hide",
41167
- "params": {
41168
- "reason": "misleading"
41169
- }
41170
- },
41171
- "accessibilityRole": "button",
41172
- "accessibilityLabel": "It is misleading",
41173
- "padding": {
41174
- "top": 11,
41175
- "bottom": 11
41176
- }
41177
- }
41178
- },
41179
- {
41180
- "id": "himi_blog_post.hide_other",
41181
- "body": {
41182
- "package": "himalaya",
41183
- "type": "HStack",
41184
- "props": {
41185
- "spacing": 14,
41186
- "children": [
41187
- {
41188
- "id": "",
42867
+ "id": "himi_blog_post.comment_input",
41189
42868
  "body": {
41190
42869
  "package": "himalaya",
41191
- "type": "Icon",
42870
+ "type": "TextField",
41192
42871
  "props": {
41193
- "name": "chevron_right",
41194
- "size": 22,
41195
- "tint": "textPrimary"
42872
+ "placeholder": "Write a comment",
42873
+ "valuePath": "$service:himiBlogPost.commentText",
42874
+ "multilineMaxLines": 4,
42875
+ "focusPath": "$service:himiBlogPost.composerFocus",
42876
+ "borderless": true,
42877
+ "autoCapitalization": "sentences",
42878
+ "onChange": {
42879
+ "actionId": "tier5.himiBlogPost.setComment"
42880
+ }
41196
42881
  }
41197
42882
  },
41198
42883
  "modifiers": {
41199
- "accessibilityRole": "decorative"
42884
+ "background": {
42885
+ "token": "surfaceSecondary"
42886
+ },
42887
+ "cornerRadius": 20,
42888
+ "padding": {
42889
+ "leading": 14,
42890
+ "trailing": 14,
42891
+ "top": 8,
42892
+ "bottom": 8
42893
+ },
42894
+ "weight": 1
41200
42895
  }
41201
42896
  },
41202
42897
  {
41203
- "id": "",
42898
+ "id": "himi_blog_post.comment_submit",
41204
42899
  "body": {
41205
42900
  "package": "himalaya",
41206
- "type": "Text",
42901
+ "type": "ZStack",
41207
42902
  "props": {
41208
- "text": "Something else",
41209
- "style": "body"
42903
+ "alignment": "center",
42904
+ "children": [
42905
+ {
42906
+ "id": "",
42907
+ "body": {
42908
+ "package": "himalaya",
42909
+ "type": "ZStack",
42910
+ "props": {
42911
+ "alignment": "center",
42912
+ "children": [
42913
+ {
42914
+ "id": "",
42915
+ "body": {
42916
+ "package": "himalaya",
42917
+ "type": "Icon",
42918
+ "props": {
42919
+ "name": "arrow_up",
42920
+ "size": 18,
42921
+ "tint": "textOnAccent"
42922
+ }
42923
+ },
42924
+ "modifiers": {
42925
+ "accessibilityRole": "decorative"
42926
+ }
42927
+ }
42928
+ ]
42929
+ }
42930
+ },
42931
+ "modifiers": {
42932
+ "width": 36,
42933
+ "height": 36,
42934
+ "cornerRadius": 18,
42935
+ "background": {
42936
+ "token": "accentPrimary"
42937
+ },
42938
+ "accessibilityRole": "decorative"
42939
+ }
42940
+ }
42941
+ ]
41210
42942
  }
42943
+ },
42944
+ "modifiers": {
42945
+ "width": 44,
42946
+ "height": 44,
42947
+ "accessibilityRole": "button",
42948
+ "accessibilityLabel": "Send comment",
42949
+ "onTap": {
42950
+ "actionId": "tier5.himiBlogPost.submitComment"
42951
+ },
42952
+ "pressFeedback": "scale",
42953
+ "haptic": "light",
42954
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
41211
42955
  }
41212
42956
  },
41213
42957
  {
41214
- "id": "",
42958
+ "id": "himi_blog_post.comment_submit_off",
41215
42959
  "body": {
41216
42960
  "package": "himalaya",
41217
- "type": "Spacer",
41218
- "props": {}
42961
+ "type": "ZStack",
42962
+ "props": {
42963
+ "alignment": "center",
42964
+ "children": [
42965
+ {
42966
+ "id": "",
42967
+ "body": {
42968
+ "package": "himalaya",
42969
+ "type": "ZStack",
42970
+ "props": {
42971
+ "alignment": "center",
42972
+ "children": [
42973
+ {
42974
+ "id": "",
42975
+ "body": {
42976
+ "package": "himalaya",
42977
+ "type": "Icon",
42978
+ "props": {
42979
+ "name": "arrow_up",
42980
+ "size": 18,
42981
+ "tint": "textTertiary"
42982
+ }
42983
+ },
42984
+ "modifiers": {
42985
+ "accessibilityRole": "decorative"
42986
+ }
42987
+ }
42988
+ ]
42989
+ }
42990
+ },
42991
+ "modifiers": {
42992
+ "width": 36,
42993
+ "height": 36,
42994
+ "cornerRadius": 18,
42995
+ "background": {
42996
+ "token": "surfaceSecondary"
42997
+ },
42998
+ "accessibilityRole": "decorative"
42999
+ }
43000
+ }
43001
+ ]
43002
+ }
43003
+ },
43004
+ "modifiers": {
43005
+ "width": 44,
43006
+ "height": 44,
43007
+ "accessibilityRole": "button",
43008
+ "accessibilityLabel": "Send comment",
43009
+ "hiddenPath": "$service:himiBlogPost.canSend"
41219
43010
  }
41220
43011
  }
41221
43012
  ]
41222
43013
  }
41223
- },
41224
- "modifiers": {
41225
- "onTap": {
41226
- "actionId": "tier5.himiBlogPost.hide",
41227
- "params": {
41228
- "reason": "other"
41229
- }
41230
- },
41231
- "accessibilityRole": "button",
41232
- "accessibilityLabel": "Something else",
41233
- "padding": {
41234
- "top": 11,
41235
- "bottom": 11
41236
- }
41237
43014
  }
41238
43015
  },
41239
43016
  {
41240
- "id": "himi_blog_post.hide_cancel",
43017
+ "id": "himi_blog_post.comment_error",
41241
43018
  "body": {
41242
43019
  "package": "himalaya",
41243
- "type": "Button",
43020
+ "type": "Text",
41244
43021
  "props": {
41245
- "title": "Cancel",
41246
- "style": "secondary",
41247
- "fullWidth": true,
41248
- "action": {
41249
- "actionId": "tier5.himiBlogPost.closeHide"
41250
- }
43022
+ "text": "$service:himiBlogPost.sendError",
43023
+ "style": "footnote",
43024
+ "color": "danger"
41251
43025
  }
41252
43026
  },
41253
43027
  "modifiers": {
41254
- "padding": {
41255
- "top": 8
41256
- }
43028
+ "hiddenPath": "$service:himiBlogPost.noSendError"
41257
43029
  }
41258
43030
  }
41259
43031
  ]
41260
43032
  }
41261
43033
  },
41262
43034
  "modifiers": {
41263
- "padding": {
41264
- "leading": 20,
41265
- "trailing": 20,
41266
- "top": 12,
41267
- "bottom": 8
41268
- }
43035
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
41269
43036
  }
41270
43037
  }
41271
43038
  }
@@ -41322,7 +43089,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41322
43089
  "share",
41323
43090
  "local_database",
41324
43091
  "open_url",
41325
- "ui"
43092
+ "ui",
43093
+ "keyboard"
41326
43094
  ],
41327
43095
  "minBinaryVersion": "0.1.0",
41328
43096
  "bundleVersion": "0.0.1"