@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
@@ -34190,7 +34190,7 @@ const SCREENS = runtimeSetting({
34190
34190
  "alignment": "leading",
34191
34191
  "children": [
34192
34192
  {
34193
- "id": "",
34193
+ "id": "himi_blog.heading",
34194
34194
  "body": {
34195
34195
  "package": "himalaya",
34196
34196
  "type": "VStack",
@@ -34220,8 +34220,7 @@ const SCREENS = runtimeSetting({
34220
34220
  "props": {
34221
34221
  "text": "Training notes and news from the studio.",
34222
34222
  "style": "body",
34223
- "color": "textSecondary",
34224
- "collapseWhenEmpty": true
34223
+ "color": "textSecondary"
34225
34224
  }
34226
34225
  }
34227
34226
  }
@@ -34302,6 +34301,7 @@ const SCREENS = runtimeSetting({
34302
34301
  "type": "HStack",
34303
34302
  "props": {
34304
34303
  "spacing": 10,
34304
+ "alignment": "center",
34305
34305
  "children": [
34306
34306
  {
34307
34307
  "id": "",
@@ -34539,6 +34539,7 @@ const SCREENS = runtimeSetting({
34539
34539
  "type": "HStack",
34540
34540
  "props": {
34541
34541
  "spacing": 14,
34542
+ "alignment": "center",
34542
34543
  "children": [
34543
34544
  {
34544
34545
  "id": "",
@@ -34678,6 +34679,7 @@ const SCREENS = runtimeSetting({
34678
34679
  "type": "HStack",
34679
34680
  "props": {
34680
34681
  "spacing": 4,
34682
+ "alignment": "center",
34681
34683
  "children": [
34682
34684
  {
34683
34685
  "id": "",
@@ -34732,6 +34734,7 @@ const SCREENS = runtimeSetting({
34732
34734
  "type": "HStack",
34733
34735
  "props": {
34734
34736
  "spacing": 12,
34737
+ "alignment": "center",
34735
34738
  "children": [
34736
34739
  {
34737
34740
  "id": "himi_blog.post_author.photo",
@@ -35172,71 +35175,56 @@ const SCREENS = runtimeSetting({
35172
35175
  }
35173
35176
  },
35174
35177
  {
35175
- "id": "",
35178
+ "id": "himi_blog.empty",
35176
35179
  "body": {
35177
35180
  "package": "himalaya",
35178
- "type": "VStack",
35181
+ "type": "EmptyState",
35179
35182
  "props": {
35180
- "spacing": 12,
35181
- "alignment": "center",
35182
- "children": [
35183
- {
35184
- "id": "",
35185
- "body": {
35186
- "package": "himalaya",
35187
- "type": "Icon",
35188
- "props": {
35189
- "name": "newspaper",
35190
- "size": 34,
35191
- "tint": "textTertiary"
35192
- }
35193
- },
35194
- "modifiers": {
35195
- "accessibilityRole": "decorative"
35196
- }
35197
- },
35198
- {
35199
- "id": "",
35200
- "body": {
35201
- "package": "himalaya",
35202
- "type": "Text",
35203
- "props": {
35204
- "text": "$service:himiBlogFeed.emptyText",
35205
- "style": "bodyEmphasis",
35206
- "color": "textSecondary",
35207
- "collapseWhenEmpty": true
35208
- }
35209
- }
35210
- },
35211
- {
35212
- "id": "himi_blog.empty.cta",
35213
- "body": {
35214
- "package": "himalaya",
35215
- "type": "Button",
35216
- "props": {
35217
- "title": "Clear filters",
35218
- "style": "secondary",
35219
- "action": {
35220
- "actionId": "tier5.himiBlogFeed.clearFilters"
35221
- }
35222
- }
35223
- }
35224
- }
35225
- ]
35183
+ "title": "$service:himiBlogFeed.emptyText",
35184
+ "subtitle": "Try a different word or category.",
35185
+ "icon": "search",
35186
+ "actionLabel": "Clear filters",
35187
+ "action": {
35188
+ "actionId": "tier5.himiBlogFeed.clearFilters"
35189
+ }
35226
35190
  }
35227
35191
  },
35228
35192
  "modifiers": {
35229
35193
  "padding": {
35230
35194
  "leading": 24,
35231
35195
  "trailing": 24,
35232
- "top": 24,
35196
+ "top": 48,
35197
+ "bottom": 24
35198
+ },
35199
+ "transition": {
35200
+ "enter": "fade",
35201
+ "exit": "fade"
35202
+ },
35203
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
35204
+ }
35205
+ },
35206
+ {
35207
+ "id": "himi_blog.empty_none",
35208
+ "body": {
35209
+ "package": "himalaya",
35210
+ "type": "EmptyState",
35211
+ "props": {
35212
+ "title": "$service:himiBlogFeed.emptyText",
35213
+ "icon": "document"
35214
+ }
35215
+ },
35216
+ "modifiers": {
35217
+ "padding": {
35218
+ "leading": 24,
35219
+ "trailing": 24,
35220
+ "top": 48,
35233
35221
  "bottom": 24
35234
35222
  },
35235
35223
  "transition": {
35236
35224
  "enter": "fade",
35237
35225
  "exit": "fade"
35238
35226
  },
35239
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
35227
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
35240
35228
  }
35241
35229
  }
35242
35230
  ]
@@ -35268,21 +35256,6 @@ const SCREENS = runtimeSetting({
35268
35256
  ],
35269
35257
  "minBinaryVersion": "0.1.0",
35270
35258
  "bundleVersion": "0.0.1"
35271
- },
35272
- "topBar": {
35273
- "actions": [
35274
- {
35275
- "id": "account",
35276
- "icon": "person",
35277
- "accessibilityLabel": "Account",
35278
- "onTap": {
35279
- "actionId": "himi.open",
35280
- "params": {
35281
- "screenId": "himi_account"
35282
- }
35283
- }
35284
- }
35285
- ]
35286
35259
  }
35287
35260
  },
35288
35261
  "himi_saved": {
@@ -35363,6 +35336,7 @@ const SCREENS = runtimeSetting({
35363
35336
  "type": "HStack",
35364
35337
  "props": {
35365
35338
  "spacing": 10,
35339
+ "alignment": "center",
35366
35340
  "children": [
35367
35341
  {
35368
35342
  "id": "",
@@ -35768,73 +35742,21 @@ const SCREENS = runtimeSetting({
35768
35742
  }
35769
35743
  },
35770
35744
  {
35771
- "id": "",
35745
+ "id": "himi_saved.empty",
35772
35746
  "body": {
35773
35747
  "package": "himalaya",
35774
- "type": "VStack",
35748
+ "type": "EmptyState",
35775
35749
  "props": {
35776
- "spacing": 12,
35777
- "alignment": "center",
35778
- "children": [
35779
- {
35780
- "id": "",
35781
- "body": {
35782
- "package": "himalaya",
35783
- "type": "Icon",
35784
- "props": {
35785
- "name": "bookmark",
35786
- "size": 34,
35787
- "tint": "textTertiary"
35788
- }
35789
- },
35790
- "modifiers": {
35791
- "accessibilityRole": "decorative"
35792
- }
35793
- },
35794
- {
35795
- "id": "",
35796
- "body": {
35797
- "package": "himalaya",
35798
- "type": "Text",
35799
- "props": {
35800
- "text": "$service:himiBlogSaved.emptyText",
35801
- "style": "bodyEmphasis",
35802
- "color": "textSecondary",
35803
- "collapseWhenEmpty": true
35804
- }
35805
- }
35806
- },
35807
- {
35808
- "id": "",
35809
- "body": {
35810
- "package": "himalaya",
35811
- "type": "Text",
35812
- "props": {
35813
- "text": "Tap the bookmark on a post to read it later.",
35814
- "style": "footnote",
35815
- "color": "textTertiary",
35816
- "maxLines": 2
35817
- }
35818
- }
35819
- },
35820
- {
35821
- "id": "himi_saved.empty.cta",
35822
- "body": {
35823
- "package": "himalaya",
35824
- "type": "Button",
35825
- "props": {
35826
- "title": "Browse Blog",
35827
- "style": "secondary",
35828
- "action": {
35829
- "actionId": "himi.open",
35830
- "params": {
35831
- "screenId": "himi_blog"
35832
- }
35833
- }
35834
- }
35835
- }
35750
+ "title": "$service:himiBlogSaved.emptyText",
35751
+ "subtitle": "Tap the bookmark on a post to read it later.",
35752
+ "icon": "bookmark",
35753
+ "actionLabel": "Browse Blog",
35754
+ "action": {
35755
+ "actionId": "himi.open",
35756
+ "params": {
35757
+ "screenId": "himi_blog"
35836
35758
  }
35837
- ]
35759
+ }
35838
35760
  }
35839
35761
  },
35840
35762
  "modifiers": {
@@ -48672,6 +48594,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
48672
48594
  "type": "HStack",
48673
48595
  "props": {
48674
48596
  "spacing": 10,
48597
+ "alignment": "center",
48675
48598
  "children": [
48676
48599
  {
48677
48600
  "id": "",
@@ -49031,6 +48954,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
49031
48954
  "type": "HStack",
49032
48955
  "props": {
49033
48956
  "spacing": 12,
48957
+ "alignment": "center",
49034
48958
  "children": [
49035
48959
  {
49036
48960
  "id": "himi_blog_post.author.photo",
@@ -49779,41 +49703,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
49779
49703
  "accessibilityRole": "decorative"
49780
49704
  }
49781
49705
  },
49782
- {
49783
- "id": "",
49784
- "body": {
49785
- "package": "himalaya",
49786
- "type": "VStack",
49787
- "props": {
49788
- "spacing": 0,
49789
- "alignment": "leading",
49790
- "children": [
49791
- {
49792
- "id": "himi_blog_post.comments_title",
49793
- "body": {
49794
- "package": "himalaya",
49795
- "type": "Text",
49796
- "props": {
49797
- "text": "$service:himiBlogPost.commentsTitle",
49798
- "style": "title3"
49799
- }
49800
- },
49801
- "modifiers": {
49802
- "accessibilityRole": "heading"
49803
- }
49804
- }
49805
- ]
49806
- }
49807
- },
49808
- "modifiers": {
49809
- "padding": {
49810
- "leading": 20,
49811
- "trailing": 20,
49812
- "top": 20,
49813
- "bottom": 4
49814
- }
49815
- }
49816
- },
49817
49706
  {
49818
49707
  "id": "",
49819
49708
  "body": {
@@ -49825,46 +49714,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
49825
49714
  "children": [
49826
49715
  {
49827
49716
  "id": "",
49828
- "body": {
49829
- "package": "himalaya",
49830
- "type": "Text",
49831
- "props": {
49832
- "text": "$service:himiBlogPost.commentStatusText",
49833
- "style": "footnote",
49834
- "color": "textSecondary"
49835
- }
49836
- }
49837
- }
49838
- ]
49839
- }
49840
- },
49841
- "modifiers": {
49842
- "padding": {
49843
- "leading": 20,
49844
- "trailing": 20,
49845
- "top": 6,
49846
- "bottom": 6
49847
- },
49848
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
49849
- }
49850
- },
49851
- {
49852
- "id": "himi_blog_post.comments",
49853
- "body": {
49854
- "package": "himalaya",
49855
- "type": "Grid",
49856
- "props": {
49857
- "columns": 1,
49858
- "spacing": 0,
49859
- "itemsPath": "$service:himiBlogPost.comments",
49860
- "items": [
49861
- {
49862
- "id": "himi_blog_post.comment_row",
49863
49717
  "body": {
49864
49718
  "package": "himalaya",
49865
49719
  "type": "VStack",
49866
49720
  "props": {
49867
- "spacing": 6,
49721
+ "spacing": 14,
49868
49722
  "alignment": "leading",
49869
49723
  "children": [
49870
49724
  {
@@ -49873,73 +49727,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
49873
49727
  "package": "himalaya",
49874
49728
  "type": "HStack",
49875
49729
  "props": {
49876
- "spacing": 10,
49730
+ "spacing": 8,
49731
+ "alignment": "center",
49877
49732
  "children": [
49878
49733
  {
49879
- "id": "",
49734
+ "id": "himi_blog_post.comments_title",
49880
49735
  "body": {
49881
49736
  "package": "himalaya",
49882
- "type": "ZStack",
49737
+ "type": "Text",
49883
49738
  "props": {
49884
- "alignment": "center",
49885
- "children": [
49886
- {
49887
- "id": "",
49888
- "body": {
49889
- "package": "himalaya",
49890
- "type": "Text",
49891
- "props": {
49892
- "text": "$item.authorInitial",
49893
- "style": "footnote",
49894
- "color": "accentPrimary"
49895
- }
49896
- }
49897
- }
49898
- ]
49739
+ "text": "$service:himiBlogPost.commentsTitle",
49740
+ "style": "title3"
49899
49741
  }
49900
49742
  },
49901
49743
  "modifiers": {
49902
- "width": 32,
49903
- "height": 32,
49904
- "background": {
49905
- "token": "accentSurface"
49906
- },
49907
- "cornerRadius": 16,
49908
- "accessibilityRole": "decorative"
49744
+ "accessibilityRole": "heading"
49909
49745
  }
49910
49746
  },
49911
49747
  {
49912
49748
  "id": "",
49913
49749
  "body": {
49914
49750
  "package": "himalaya",
49915
- "type": "Text",
49916
- "props": {
49917
- "text": "$item.authorName",
49918
- "style": "bodyEmphasis",
49919
- "maxLines": 1
49920
- }
49751
+ "type": "Spacer",
49752
+ "props": {}
49921
49753
  }
49922
49754
  },
49923
49755
  {
49924
- "id": "",
49756
+ "id": "himi_blog_post.comments_show_all",
49925
49757
  "body": {
49926
49758
  "package": "himalaya",
49927
49759
  "type": "Text",
49928
49760
  "props": {
49929
- "text": "$item.meta",
49930
- "style": "caption",
49931
- "color": "textTertiary",
49932
- "maxLines": 1,
49933
- "collapseWhenEmpty": true
49761
+ "text": "$service:himiBlogPost.showAllLabel",
49762
+ "style": "footnote",
49763
+ "color": "accentPrimary",
49764
+ "maxLines": 1
49934
49765
  }
49935
- }
49936
- },
49937
- {
49938
- "id": "",
49939
- "body": {
49940
- "package": "himalaya",
49941
- "type": "Spacer",
49942
- "props": {}
49766
+ },
49767
+ "modifiers": {
49768
+ "onTap": {
49769
+ "actionId": "tier5.himiBlogPost.openComments"
49770
+ },
49771
+ "accessibilityRole": "button",
49772
+ "padding": {
49773
+ "top": 6,
49774
+ "bottom": 6,
49775
+ "leading": 6
49776
+ },
49777
+ "hiddenPath": "$service:himiBlogPost.noComments"
49943
49778
  }
49944
49779
  }
49945
49780
  ]
@@ -49948,408 +49783,707 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
49948
49783
  },
49949
49784
  {
49950
49785
  "id": "",
49786
+ "body": {
49787
+ "package": "himalaya",
49788
+ "type": "Text",
49789
+ "props": {
49790
+ "text": "$service:himiBlogPost.commentStatusText",
49791
+ "style": "footnote",
49792
+ "color": "textSecondary"
49793
+ }
49794
+ },
49795
+ "modifiers": {
49796
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
49797
+ }
49798
+ },
49799
+ {
49800
+ "id": "himi_blog_post.comments_empty",
49951
49801
  "body": {
49952
49802
  "package": "himalaya",
49953
49803
  "type": "VStack",
49954
49804
  "props": {
49955
- "spacing": 0,
49805
+ "spacing": 4,
49956
49806
  "alignment": "leading",
49957
49807
  "children": [
49958
49808
  {
49959
- "id": "comment_body_$item.id",
49809
+ "id": "",
49960
49810
  "body": {
49961
49811
  "package": "himalaya",
49962
- "type": "RichContent",
49812
+ "type": "Text",
49963
49813
  "props": {
49964
- "documentJsonPath": "$item.bodyJson",
49965
- "onLink": {
49966
- "actionId": "tier5.himiBlogPost.openLink"
49967
- },
49968
- "fallback": {
49969
- "id": "",
49970
- "body": {
49971
- "package": "himalaya",
49972
- "type": "Text",
49973
- "props": {
49974
- "text": "$item.text",
49975
- "style": "body",
49976
- "collapseWhenEmpty": true
49977
- }
49978
- }
49979
- }
49814
+ "text": "No comments yet",
49815
+ "style": "bodyEmphasis"
49980
49816
  }
49981
49817
  }
49982
49818
  },
49983
49819
  {
49984
- "id": "comment_body_text_$item.id",
49820
+ "id": "",
49985
49821
  "body": {
49986
49822
  "package": "himalaya",
49987
49823
  "type": "Text",
49988
49824
  "props": {
49989
- "text": "$item.text",
49990
- "style": "body",
49991
- "collapseWhenEmpty": true
49825
+ "text": "Be the first to share your thoughts.",
49826
+ "style": "footnote",
49827
+ "color": "textSecondary"
49992
49828
  }
49993
- },
49994
- "modifiers": {
49995
- "hiddenPath": "$item.hasBodyJson"
49996
49829
  }
49997
49830
  }
49998
49831
  ]
49999
49832
  }
50000
49833
  },
50001
49834
  "modifiers": {
50002
- "padding": {
50003
- "leading": 42
50004
- }
50005
- }
50006
- },
50007
- {
50008
- "id": "",
50009
- "body": {
50010
- "package": "himalaya",
50011
- "type": "Divider",
50012
- "props": {}
50013
- },
50014
- "modifiers": {
50015
- "padding": {
50016
- "top": 10
50017
- }
50018
- }
50019
- }
50020
- ]
50021
- }
50022
- },
50023
- "modifiers": {
50024
- "padding": {
50025
- "leading": 20,
50026
- "trailing": 20,
50027
- "top": 12
50028
- }
50029
- }
50030
- }
50031
- ]
50032
- }
50033
- }
50034
- },
50035
- {
50036
- "id": "",
50037
- "body": {
50038
- "package": "himalaya",
50039
- "type": "VStack",
50040
- "props": {
50041
- "spacing": 0,
50042
- "alignment": "leading",
50043
- "children": [
50044
- {
50045
- "id": "himi_blog_post.comment_composer",
50046
- "body": {
50047
- "package": "himalaya",
50048
- "type": "VStack",
50049
- "props": {
50050
- "spacing": 10,
50051
- "alignment": "leading",
50052
- "children": [
50053
- {
50054
- "id": "himi_blog_post.comment_input",
50055
- "body": {
50056
- "package": "himalaya",
50057
- "type": "TextField",
50058
- "props": {
50059
- "placeholder": "Write a comment",
50060
- "valuePath": "$service:himiBlogPost.commentText",
50061
- "multilineMaxLines": 4,
50062
- "onChange": {
50063
- "actionId": "tier5.himiBlogPost.setComment"
50064
- }
50065
- }
50066
- }
50067
- },
50068
- {
50069
- "id": "himi_blog_post.comment_submit",
50070
- "body": {
50071
- "package": "himalaya",
50072
- "type": "Button",
50073
- "props": {
50074
- "title": "Post comment",
50075
- "style": "primary",
50076
- "fullWidth": false,
50077
- "action": {
50078
- "actionId": "tier5.himiBlogPost.submitComment"
50079
- }
50080
- }
50081
- }
50082
- }
50083
- ]
50084
- }
50085
- }
50086
- }
50087
- ]
50088
- }
50089
- },
50090
- "modifiers": {
50091
- "padding": {
50092
- "leading": 20,
50093
- "trailing": 20,
50094
- "top": 12,
50095
- "bottom": 16
50096
- },
50097
- "hiddenPath": "$service:himiBlogPost.commentsOff"
50098
- }
50099
- }
50100
- ]
50101
- }
50102
- }
50103
- },
50104
- {
50105
- "id": "himi_blog_post.recent_section",
50106
- "body": {
50107
- "package": "himalaya",
50108
- "type": "VStack",
50109
- "props": {
50110
- "spacing": 0,
50111
- "alignment": "leading",
50112
- "children": [
50113
- {
50114
- "id": "himi_blog_post.recent_band",
50115
- "body": {
50116
- "package": "himalaya",
50117
- "type": "VStack",
50118
- "props": {
50119
- "spacing": 0,
50120
- "children": []
50121
- }
50122
- },
50123
- "modifiers": {
50124
- "height": 12,
50125
- "fillMaxWidth": true,
50126
- "background": {
50127
- "token": "surfaceSecondary"
50128
- },
50129
- "accessibilityRole": "decorative"
50130
- }
50131
- },
50132
- {
50133
- "id": "",
50134
- "body": {
50135
- "package": "himalaya",
50136
- "type": "VStack",
50137
- "props": {
50138
- "spacing": 0,
50139
- "alignment": "leading",
50140
- "children": [
50141
- {
50142
- "id": "",
50143
- "body": {
50144
- "package": "himalaya",
50145
- "type": "Text",
50146
- "props": {
50147
- "text": "Recent posts",
50148
- "style": "title3"
50149
- }
50150
- },
50151
- "modifiers": {
50152
- "accessibilityRole": "heading"
50153
- }
50154
- }
50155
- ]
50156
- }
50157
- },
50158
- "modifiers": {
50159
- "padding": {
50160
- "leading": 20,
50161
- "trailing": 20,
50162
- "top": 20,
50163
- "bottom": 4
50164
- }
50165
- }
50166
- },
50167
- {
50168
- "id": "himi_blog_post.recent",
50169
- "body": {
50170
- "package": "himalaya",
50171
- "type": "Grid",
50172
- "props": {
50173
- "columns": 1,
50174
- "spacing": 0,
50175
- "itemsPath": "$service:himiBlogPost.recent",
50176
- "items": [
50177
- {
50178
- "id": "himi_blog_post.recent_row",
50179
- "body": {
50180
- "package": "himalaya",
50181
- "type": "HStack",
50182
- "props": {
50183
- "spacing": 12,
50184
- "children": [
50185
- {
50186
- "id": "himi_blog_post.recent_cover",
50187
- "body": {
50188
- "package": "himalaya",
50189
- "type": "Image",
50190
- "props": {
50191
- "url": "$item.cover",
50192
- "width": 72,
50193
- "height": 72,
50194
- "contentMode": "fill"
50195
- }
50196
- },
50197
- "modifiers": {
50198
- "accessibilityRole": "decorative",
50199
- "cornerRadius": 8,
50200
- "hiddenPath": "$item.noCover"
49835
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
50201
49836
  }
50202
49837
  },
50203
49838
  {
50204
- "id": "",
49839
+ "id": "himi_blog_post.comments",
50205
49840
  "body": {
50206
49841
  "package": "himalaya",
50207
- "type": "ZStack",
49842
+ "type": "Grid",
50208
49843
  "props": {
50209
- "alignment": "center",
50210
- "children": [
49844
+ "columns": 1,
49845
+ "spacing": 16,
49846
+ "itemsPath": "$service:himiBlogPost.latestComments",
49847
+ "items": [
50211
49848
  {
50212
- "id": "",
49849
+ "id": "himi_blog_post.comment_row",
50213
49850
  "body": {
50214
49851
  "package": "himalaya",
50215
- "type": "Icon",
49852
+ "type": "HStack",
50216
49853
  "props": {
50217
- "name": "newspaper",
50218
- "size": 22,
50219
- "tint": "textTertiary"
49854
+ "spacing": 10,
49855
+ "alignment": "leading",
49856
+ "children": [
49857
+ {
49858
+ "id": "himi_blog_post.comment_avatar.photo",
49859
+ "body": {
49860
+ "package": "himalaya",
49861
+ "type": "Image",
49862
+ "props": {
49863
+ "url": "$item.authorPhoto",
49864
+ "width": 32,
49865
+ "height": 32,
49866
+ "contentMode": "fill",
49867
+ "shape": "circle"
49868
+ }
49869
+ },
49870
+ "modifiers": {
49871
+ "accessibilityRole": "decorative",
49872
+ "hiddenPath": "$item.noAuthorPhoto"
49873
+ }
49874
+ },
49875
+ {
49876
+ "id": "",
49877
+ "body": {
49878
+ "package": "himalaya",
49879
+ "type": "ZStack",
49880
+ "props": {
49881
+ "alignment": "center",
49882
+ "children": [
49883
+ {
49884
+ "id": "",
49885
+ "body": {
49886
+ "package": "himalaya",
49887
+ "type": "Text",
49888
+ "props": {
49889
+ "text": "$item.authorInitial",
49890
+ "style": "footnote",
49891
+ "color": "accentPrimary",
49892
+ "collapseWhenEmpty": true
49893
+ }
49894
+ }
49895
+ }
49896
+ ]
49897
+ }
49898
+ },
49899
+ "modifiers": {
49900
+ "width": 32,
49901
+ "height": 32,
49902
+ "background": {
49903
+ "token": "accentSurface"
49904
+ },
49905
+ "cornerRadius": 16,
49906
+ "accessibilityRole": "decorative",
49907
+ "hiddenPath": "$item.hasAuthorPhoto"
49908
+ }
49909
+ },
49910
+ {
49911
+ "id": "",
49912
+ "body": {
49913
+ "package": "himalaya",
49914
+ "type": "VStack",
49915
+ "props": {
49916
+ "spacing": 4,
49917
+ "alignment": "leading",
49918
+ "children": [
49919
+ {
49920
+ "id": "",
49921
+ "body": {
49922
+ "package": "himalaya",
49923
+ "type": "HStack",
49924
+ "props": {
49925
+ "spacing": 6,
49926
+ "alignment": "center",
49927
+ "children": [
49928
+ {
49929
+ "id": "",
49930
+ "body": {
49931
+ "package": "himalaya",
49932
+ "type": "Text",
49933
+ "props": {
49934
+ "text": "$item.authorName",
49935
+ "style": "footnote",
49936
+ "maxLines": 1
49937
+ }
49938
+ }
49939
+ },
49940
+ {
49941
+ "id": "",
49942
+ "body": {
49943
+ "package": "himalaya",
49944
+ "type": "Text",
49945
+ "props": {
49946
+ "text": "$item.meta",
49947
+ "style": "caption",
49948
+ "color": "textTertiary",
49949
+ "maxLines": 1,
49950
+ "collapseWhenEmpty": true
49951
+ }
49952
+ }
49953
+ },
49954
+ {
49955
+ "id": "",
49956
+ "body": {
49957
+ "package": "himalaya",
49958
+ "type": "Spacer",
49959
+ "props": {}
49960
+ }
49961
+ },
49962
+ {
49963
+ "id": "",
49964
+ "body": {
49965
+ "package": "himalaya",
49966
+ "type": "HStack",
49967
+ "props": {
49968
+ "spacing": 0,
49969
+ "alignment": "center",
49970
+ "children": [
49971
+ {
49972
+ "id": "himi_blog_post.comment_menu",
49973
+ "body": {
49974
+ "package": "himalaya",
49975
+ "type": "Menu",
49976
+ "props": {
49977
+ "anchor": {
49978
+ "id": "",
49979
+ "body": {
49980
+ "package": "himalaya",
49981
+ "type": "Icon",
49982
+ "props": {
49983
+ "name": "more_vertical",
49984
+ "size": 18,
49985
+ "tint": "textSecondary"
49986
+ }
49987
+ },
49988
+ "modifiers": {
49989
+ "accessibilityRole": "button",
49990
+ "accessibilityLabel": "Comment actions",
49991
+ "padding": {
49992
+ "leading": 13,
49993
+ "trailing": 13,
49994
+ "top": 4,
49995
+ "bottom": 4
49996
+ }
49997
+ }
49998
+ },
49999
+ "style": "dropdown",
50000
+ "items": [
50001
+ {
50002
+ "id": "report",
50003
+ "label": "Report",
50004
+ "icon": "warning",
50005
+ "action": {
50006
+ "actionId": "tier5.himiBlogPost.reportComment",
50007
+ "params": {
50008
+ "id": "$item.id"
50009
+ }
50010
+ }
50011
+ }
50012
+ ]
50013
+ }
50014
+ }
50015
+ }
50016
+ ]
50017
+ }
50018
+ },
50019
+ "modifiers": {
50020
+ "hiddenPath": "$item.noReport"
50021
+ }
50022
+ }
50023
+ ]
50024
+ }
50025
+ }
50026
+ },
50027
+ {
50028
+ "id": "comment_preview_$item.id",
50029
+ "body": {
50030
+ "package": "himalaya",
50031
+ "type": "Text",
50032
+ "props": {
50033
+ "text": "$item.preview",
50034
+ "style": "body",
50035
+ "maxLines": 2
50036
+ }
50037
+ }
50038
+ },
50039
+ {
50040
+ "id": "",
50041
+ "body": {
50042
+ "package": "himalaya",
50043
+ "type": "HStack",
50044
+ "props": {
50045
+ "spacing": 12,
50046
+ "alignment": "center",
50047
+ "children": [
50048
+ {
50049
+ "id": "",
50050
+ "body": {
50051
+ "package": "himalaya",
50052
+ "type": "HStack",
50053
+ "props": {
50054
+ "spacing": 0,
50055
+ "alignment": "center",
50056
+ "children": [
50057
+ {
50058
+ "id": "himi_blog_post.comment_like",
50059
+ "body": {
50060
+ "package": "himalaya",
50061
+ "type": "HStack",
50062
+ "props": {
50063
+ "spacing": 4,
50064
+ "alignment": "center",
50065
+ "children": [
50066
+ {
50067
+ "id": "",
50068
+ "body": {
50069
+ "package": "himalaya",
50070
+ "type": "Icon",
50071
+ "props": {
50072
+ "name": "heart",
50073
+ "size": 14,
50074
+ "tint": "textSecondary"
50075
+ }
50076
+ },
50077
+ "modifiers": {
50078
+ "accessibilityRole": "decorative"
50079
+ }
50080
+ },
50081
+ {
50082
+ "id": "",
50083
+ "body": {
50084
+ "package": "himalaya",
50085
+ "type": "Text",
50086
+ "props": {
50087
+ "text": "$item.likes",
50088
+ "style": "caption",
50089
+ "color": "textSecondary",
50090
+ "monospacedDigits": true
50091
+ }
50092
+ }
50093
+ }
50094
+ ]
50095
+ }
50096
+ },
50097
+ "modifiers": {
50098
+ "border": {
50099
+ "width": 1,
50100
+ "color": {
50101
+ "token": "border"
50102
+ }
50103
+ },
50104
+ "cornerRadius": 999,
50105
+ "padding": {
50106
+ "leading": 10,
50107
+ "trailing": 10,
50108
+ "top": 4,
50109
+ "bottom": 4
50110
+ },
50111
+ "onTap": {
50112
+ "actionId": "tier5.himiBlogPost.likeComment",
50113
+ "params": {
50114
+ "id": "$item.id"
50115
+ }
50116
+ },
50117
+ "pressFeedback": "scale",
50118
+ "haptic": "light",
50119
+ "accessibilityRole": "button",
50120
+ "accessibilityLabel": "Like",
50121
+ "hiddenPath": "$item.liked"
50122
+ }
50123
+ },
50124
+ {
50125
+ "id": "himi_blog_post.comment_unlike",
50126
+ "body": {
50127
+ "package": "himalaya",
50128
+ "type": "HStack",
50129
+ "props": {
50130
+ "spacing": 4,
50131
+ "alignment": "center",
50132
+ "children": [
50133
+ {
50134
+ "id": "",
50135
+ "body": {
50136
+ "package": "himalaya",
50137
+ "type": "Icon",
50138
+ "props": {
50139
+ "name": "heart_fill",
50140
+ "size": 14,
50141
+ "tint": "danger"
50142
+ }
50143
+ },
50144
+ "modifiers": {
50145
+ "accessibilityRole": "decorative"
50146
+ }
50147
+ },
50148
+ {
50149
+ "id": "",
50150
+ "body": {
50151
+ "package": "himalaya",
50152
+ "type": "Text",
50153
+ "props": {
50154
+ "text": "$item.likes",
50155
+ "style": "caption",
50156
+ "color": "danger",
50157
+ "monospacedDigits": true
50158
+ }
50159
+ }
50160
+ }
50161
+ ]
50162
+ }
50163
+ },
50164
+ "modifiers": {
50165
+ "background": {
50166
+ "token": "dangerSurface"
50167
+ },
50168
+ "cornerRadius": 999,
50169
+ "padding": {
50170
+ "leading": 10,
50171
+ "trailing": 10,
50172
+ "top": 4,
50173
+ "bottom": 4
50174
+ },
50175
+ "onTap": {
50176
+ "actionId": "tier5.himiBlogPost.unlikeComment",
50177
+ "params": {
50178
+ "id": "$item.id"
50179
+ }
50180
+ },
50181
+ "pressFeedback": "scale",
50182
+ "haptic": "light",
50183
+ "accessibilityRole": "button",
50184
+ "accessibilityLabel": "Unlike",
50185
+ "hiddenPath": "$item.notLiked"
50186
+ }
50187
+ }
50188
+ ]
50189
+ }
50190
+ },
50191
+ "modifiers": {
50192
+ "hiddenPath": "$item.noLikes"
50193
+ }
50194
+ },
50195
+ {
50196
+ "id": "",
50197
+ "body": {
50198
+ "package": "himalaya",
50199
+ "type": "HStack",
50200
+ "props": {
50201
+ "spacing": 0,
50202
+ "alignment": "center",
50203
+ "children": [
50204
+ {
50205
+ "id": "himi_blog_post.comment_reply",
50206
+ "body": {
50207
+ "package": "himalaya",
50208
+ "type": "Text",
50209
+ "props": {
50210
+ "text": "Reply",
50211
+ "style": "caption",
50212
+ "color": "textSecondary"
50213
+ }
50214
+ },
50215
+ "modifiers": {
50216
+ "onTap": {
50217
+ "actionId": "tier5.himiBlogPost.replyTo",
50218
+ "params": {
50219
+ "id": "$item.id"
50220
+ }
50221
+ },
50222
+ "accessibilityRole": "button",
50223
+ "padding": {
50224
+ "top": 4,
50225
+ "bottom": 4,
50226
+ "leading": 4,
50227
+ "trailing": 4
50228
+ },
50229
+ "hiddenPath": "$item.noReply"
50230
+ }
50231
+ }
50232
+ ]
50233
+ }
50234
+ },
50235
+ "modifiers": {
50236
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
50237
+ }
50238
+ },
50239
+ {
50240
+ "id": "",
50241
+ "body": {
50242
+ "package": "himalaya",
50243
+ "type": "Spacer",
50244
+ "props": {}
50245
+ }
50246
+ }
50247
+ ]
50248
+ }
50249
+ }
50250
+ }
50251
+ ]
50252
+ }
50253
+ },
50254
+ "modifiers": {
50255
+ "weight": 1
50256
+ }
50257
+ }
50258
+ ]
50220
50259
  }
50221
50260
  },
50222
50261
  "modifiers": {
50223
- "accessibilityRole": "decorative"
50262
+ "fillMaxWidth": true
50224
50263
  }
50225
50264
  }
50226
50265
  ]
50227
50266
  }
50228
- },
50229
- "modifiers": {
50230
- "width": 72,
50231
- "height": 72,
50232
- "background": {
50233
- "token": "surfaceSecondary"
50234
- },
50235
- "cornerRadius": 8,
50236
- "accessibilityRole": "decorative",
50237
- "hiddenPath": "$item.hasCover"
50238
50267
  }
50239
50268
  },
50240
50269
  {
50241
- "id": "",
50270
+ "id": "himi_blog_post.comment_open_composer",
50242
50271
  "body": {
50243
50272
  "package": "himalaya",
50244
- "type": "VStack",
50273
+ "type": "HStack",
50245
50274
  "props": {
50246
- "spacing": 4,
50247
- "alignment": "leading",
50275
+ "spacing": 10,
50276
+ "alignment": "center",
50248
50277
  "children": [
50278
+ {
50279
+ "id": "himi_blog_post.comment_input_avatar.photo",
50280
+ "body": {
50281
+ "package": "himalaya",
50282
+ "type": "Image",
50283
+ "props": {
50284
+ "url": "$service:himiBlogPost.memberPhoto",
50285
+ "width": 32,
50286
+ "height": 32,
50287
+ "contentMode": "fill",
50288
+ "shape": "circle"
50289
+ }
50290
+ },
50291
+ "modifiers": {
50292
+ "accessibilityRole": "decorative",
50293
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
50294
+ }
50295
+ },
50249
50296
  {
50250
50297
  "id": "",
50251
50298
  "body": {
50252
50299
  "package": "himalaya",
50253
- "type": "Text",
50300
+ "type": "ZStack",
50254
50301
  "props": {
50255
- "text": "$item.title",
50256
- "style": "bodyEmphasis",
50257
- "maxLines": 2
50302
+ "alignment": "center",
50303
+ "children": [
50304
+ {
50305
+ "id": "",
50306
+ "body": {
50307
+ "package": "himalaya",
50308
+ "type": "Icon",
50309
+ "props": {
50310
+ "name": "person",
50311
+ "size": 16,
50312
+ "tint": "accentPrimary"
50313
+ }
50314
+ },
50315
+ "modifiers": {
50316
+ "accessibilityRole": "decorative",
50317
+ "hiddenPath": "$service:himiBlogPost.isMember"
50318
+ }
50319
+ },
50320
+ {
50321
+ "id": "",
50322
+ "body": {
50323
+ "package": "himalaya",
50324
+ "type": "Text",
50325
+ "props": {
50326
+ "text": "$service:himiBlogPost.memberInitial",
50327
+ "style": "footnote",
50328
+ "color": "accentPrimary",
50329
+ "collapseWhenEmpty": true
50330
+ }
50331
+ }
50332
+ }
50333
+ ]
50258
50334
  }
50335
+ },
50336
+ "modifiers": {
50337
+ "width": 32,
50338
+ "height": 32,
50339
+ "background": {
50340
+ "token": "accentSurface"
50341
+ },
50342
+ "cornerRadius": 16,
50343
+ "accessibilityRole": "decorative",
50344
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
50259
50345
  }
50260
50346
  },
50261
50347
  {
50262
50348
  "id": "",
50263
50349
  "body": {
50264
50350
  "package": "himalaya",
50265
- "type": "Text",
50351
+ "type": "HStack",
50266
50352
  "props": {
50267
- "text": "$item.date",
50268
- "style": "caption",
50269
- "color": "textSecondary",
50270
- "maxLines": 1,
50271
- "collapseWhenEmpty": true
50353
+ "spacing": 0,
50354
+ "alignment": "center",
50355
+ "children": [
50356
+ {
50357
+ "id": "",
50358
+ "body": {
50359
+ "package": "himalaya",
50360
+ "type": "Text",
50361
+ "props": {
50362
+ "text": "Leave a comment…",
50363
+ "style": "body",
50364
+ "color": "textTertiary",
50365
+ "maxLines": 1
50366
+ }
50367
+ }
50368
+ },
50369
+ {
50370
+ "id": "",
50371
+ "body": {
50372
+ "package": "himalaya",
50373
+ "type": "Spacer",
50374
+ "props": {}
50375
+ }
50376
+ }
50377
+ ]
50272
50378
  }
50379
+ },
50380
+ "modifiers": {
50381
+ "background": {
50382
+ "token": "surfacePrimary"
50383
+ },
50384
+ "cornerRadius": 999,
50385
+ "padding": {
50386
+ "leading": 16,
50387
+ "trailing": 16,
50388
+ "top": 10,
50389
+ "bottom": 10
50390
+ },
50391
+ "weight": 1
50273
50392
  }
50274
50393
  }
50275
50394
  ]
50276
50395
  }
50277
- }
50278
- },
50279
- {
50280
- "id": "",
50281
- "body": {
50282
- "package": "himalaya",
50283
- "type": "Spacer",
50284
- "props": {}
50396
+ },
50397
+ "modifiers": {
50398
+ "onTap": {
50399
+ "actionId": "tier5.himiBlogPost.openComposer"
50400
+ },
50401
+ "accessibilityRole": "button",
50402
+ "accessibilityLabel": "Leave a comment…",
50403
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
50285
50404
  }
50286
50405
  }
50287
50406
  ]
50288
50407
  }
50289
50408
  },
50290
50409
  "modifiers": {
50291
- "padding": {
50292
- "leading": 20,
50293
- "trailing": 20,
50294
- "top": 12,
50295
- "bottom": 12
50296
- },
50297
- "onTap": {
50298
- "actionId": "himi.open",
50299
- "params": {
50300
- "screenId": "$item.detailScreenId",
50301
- "id": "$item.id"
50302
- }
50410
+ "background": {
50411
+ "token": "surfaceSecondary"
50303
50412
  },
50304
- "pressFeedback": "scale",
50305
- "haptic": "light",
50306
- "accessibilityLabel": "$item.title"
50413
+ "cornerRadius": 16,
50414
+ "padding": {
50415
+ "leading": 16,
50416
+ "trailing": 16,
50417
+ "top": 16,
50418
+ "bottom": 16
50419
+ }
50307
50420
  }
50308
50421
  }
50309
50422
  ]
50310
50423
  }
50424
+ },
50425
+ "modifiers": {
50426
+ "padding": {
50427
+ "leading": 20,
50428
+ "trailing": 20,
50429
+ "top": 20,
50430
+ "bottom": 20
50431
+ }
50432
+ }
50433
+ }
50434
+ ]
50435
+ }
50436
+ }
50437
+ },
50438
+ {
50439
+ "id": "himi_blog_post.recent_section",
50440
+ "body": {
50441
+ "package": "himalaya",
50442
+ "type": "VStack",
50443
+ "props": {
50444
+ "spacing": 0,
50445
+ "alignment": "leading",
50446
+ "children": [
50447
+ {
50448
+ "id": "himi_blog_post.recent_band",
50449
+ "body": {
50450
+ "package": "himalaya",
50451
+ "type": "VStack",
50452
+ "props": {
50453
+ "spacing": 0,
50454
+ "children": []
50455
+ }
50456
+ },
50457
+ "modifiers": {
50458
+ "height": 12,
50459
+ "fillMaxWidth": true,
50460
+ "background": {
50461
+ "token": "surfaceSecondary"
50462
+ },
50463
+ "accessibilityRole": "decorative"
50311
50464
  }
50312
50465
  },
50313
50466
  {
50314
50467
  "id": "",
50315
50468
  "body": {
50316
50469
  "package": "himalaya",
50317
- "type": "HStack",
50470
+ "type": "VStack",
50318
50471
  "props": {
50319
50472
  "spacing": 0,
50473
+ "alignment": "leading",
50320
50474
  "children": [
50321
50475
  {
50322
50476
  "id": "",
50323
50477
  "body": {
50324
50478
  "package": "himalaya",
50325
- "type": "Spacer",
50326
- "props": {}
50327
- }
50328
- },
50329
- {
50330
- "id": "himi_blog_post.see_all",
50331
- "body": {
50332
- "package": "himalaya",
50333
- "type": "Button",
50479
+ "type": "Text",
50334
50480
  "props": {
50335
- "title": "See All Posts",
50336
- "style": "secondary",
50337
- "fullWidth": false,
50338
- "action": {
50339
- "actionId": "himi.open",
50340
- "params": {
50341
- "screenId": "himi_blog"
50342
- }
50343
- }
50481
+ "text": "Recent posts",
50482
+ "style": "title3"
50344
50483
  }
50345
- }
50346
- },
50347
- {
50348
- "id": "",
50349
- "body": {
50350
- "package": "himalaya",
50351
- "type": "Spacer",
50352
- "props": {}
50484
+ },
50485
+ "modifiers": {
50486
+ "accessibilityRole": "heading"
50353
50487
  }
50354
50488
  }
50355
50489
  ]
@@ -50357,53 +50491,254 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
50357
50491
  },
50358
50492
  "modifiers": {
50359
50493
  "padding": {
50360
- "top": 12,
50361
- "bottom": 8
50494
+ "leading": 20,
50495
+ "trailing": 20,
50496
+ "top": 20,
50497
+ "bottom": 4
50362
50498
  }
50363
50499
  }
50364
- }
50365
- ]
50366
- }
50367
- },
50368
- "modifiers": {
50369
- "hiddenPath": "$service:himiBlogPost.noRecent"
50370
- }
50371
- }
50372
- ]
50373
- }
50374
- },
50375
- "modifiers": {
50376
- "hiddenPath": "$service:himiBlogPost.noPost"
50377
- }
50378
- },
50379
- {
50380
- "id": "himi_blog_post.more_sheet",
50381
- "body": {
50382
- "package": "himalaya",
50383
- "type": "BottomSheet",
50384
- "props": {
50385
- "presentedPath": "$service:himiBlogPost.moreSheetOpen",
50386
- "dismissible": true,
50387
- "showGrabber": true,
50388
- "onDismiss": {
50389
- "actionId": "tier5.himiBlogPost.closeMore"
50390
- },
50391
- "content": {
50392
- "id": "",
50393
- "body": {
50394
- "package": "himalaya",
50395
- "type": "VStack",
50396
- "props": {
50397
- "spacing": 0,
50398
- "alignment": "leading",
50399
- "children": [
50400
- {
50401
- "id": "himi_blog_post.report",
50500
+ },
50501
+ {
50502
+ "id": "himi_blog_post.recent",
50503
+ "body": {
50504
+ "package": "himalaya",
50505
+ "type": "Grid",
50506
+ "props": {
50507
+ "columns": 1,
50508
+ "spacing": 0,
50509
+ "itemsPath": "$service:himiBlogPost.recent",
50510
+ "items": [
50511
+ {
50512
+ "id": "himi_blog_post.recent_row",
50513
+ "body": {
50514
+ "package": "himalaya",
50515
+ "type": "HStack",
50516
+ "props": {
50517
+ "spacing": 12,
50518
+ "children": [
50519
+ {
50520
+ "id": "himi_blog_post.recent_cover",
50521
+ "body": {
50522
+ "package": "himalaya",
50523
+ "type": "Image",
50524
+ "props": {
50525
+ "url": "$item.cover",
50526
+ "width": 72,
50527
+ "height": 72,
50528
+ "contentMode": "fill"
50529
+ }
50530
+ },
50531
+ "modifiers": {
50532
+ "accessibilityRole": "decorative",
50533
+ "cornerRadius": 8,
50534
+ "hiddenPath": "$item.noCover"
50535
+ }
50536
+ },
50537
+ {
50538
+ "id": "",
50539
+ "body": {
50540
+ "package": "himalaya",
50541
+ "type": "ZStack",
50542
+ "props": {
50543
+ "alignment": "center",
50544
+ "children": [
50545
+ {
50546
+ "id": "",
50547
+ "body": {
50548
+ "package": "himalaya",
50549
+ "type": "Icon",
50550
+ "props": {
50551
+ "name": "newspaper",
50552
+ "size": 22,
50553
+ "tint": "textTertiary"
50554
+ }
50555
+ },
50556
+ "modifiers": {
50557
+ "accessibilityRole": "decorative"
50558
+ }
50559
+ }
50560
+ ]
50561
+ }
50562
+ },
50563
+ "modifiers": {
50564
+ "width": 72,
50565
+ "height": 72,
50566
+ "background": {
50567
+ "token": "surfaceSecondary"
50568
+ },
50569
+ "cornerRadius": 8,
50570
+ "accessibilityRole": "decorative",
50571
+ "hiddenPath": "$item.hasCover"
50572
+ }
50573
+ },
50574
+ {
50575
+ "id": "",
50576
+ "body": {
50577
+ "package": "himalaya",
50578
+ "type": "VStack",
50579
+ "props": {
50580
+ "spacing": 4,
50581
+ "alignment": "leading",
50582
+ "children": [
50583
+ {
50584
+ "id": "",
50585
+ "body": {
50586
+ "package": "himalaya",
50587
+ "type": "Text",
50588
+ "props": {
50589
+ "text": "$item.title",
50590
+ "style": "bodyEmphasis",
50591
+ "maxLines": 2
50592
+ }
50593
+ }
50594
+ },
50595
+ {
50596
+ "id": "",
50597
+ "body": {
50598
+ "package": "himalaya",
50599
+ "type": "Text",
50600
+ "props": {
50601
+ "text": "$item.date",
50602
+ "style": "caption",
50603
+ "color": "textSecondary",
50604
+ "maxLines": 1,
50605
+ "collapseWhenEmpty": true
50606
+ }
50607
+ }
50608
+ }
50609
+ ]
50610
+ }
50611
+ }
50612
+ },
50613
+ {
50614
+ "id": "",
50615
+ "body": {
50616
+ "package": "himalaya",
50617
+ "type": "Spacer",
50618
+ "props": {}
50619
+ }
50620
+ }
50621
+ ]
50622
+ }
50623
+ },
50624
+ "modifiers": {
50625
+ "padding": {
50626
+ "leading": 20,
50627
+ "trailing": 20,
50628
+ "top": 12,
50629
+ "bottom": 12
50630
+ },
50631
+ "onTap": {
50632
+ "actionId": "himi.open",
50633
+ "params": {
50634
+ "screenId": "$item.detailScreenId",
50635
+ "id": "$item.id"
50636
+ }
50637
+ },
50638
+ "pressFeedback": "scale",
50639
+ "haptic": "light",
50640
+ "accessibilityLabel": "$item.title"
50641
+ }
50642
+ }
50643
+ ]
50644
+ }
50645
+ }
50646
+ },
50647
+ {
50648
+ "id": "",
50649
+ "body": {
50650
+ "package": "himalaya",
50651
+ "type": "HStack",
50652
+ "props": {
50653
+ "spacing": 0,
50654
+ "children": [
50655
+ {
50656
+ "id": "",
50657
+ "body": {
50658
+ "package": "himalaya",
50659
+ "type": "Spacer",
50660
+ "props": {}
50661
+ }
50662
+ },
50663
+ {
50664
+ "id": "himi_blog_post.see_all",
50665
+ "body": {
50666
+ "package": "himalaya",
50667
+ "type": "Button",
50668
+ "props": {
50669
+ "title": "See All Posts",
50670
+ "style": "secondary",
50671
+ "fullWidth": false,
50672
+ "action": {
50673
+ "actionId": "himi.open",
50674
+ "params": {
50675
+ "screenId": "himi_blog"
50676
+ }
50677
+ }
50678
+ }
50679
+ }
50680
+ },
50681
+ {
50682
+ "id": "",
50683
+ "body": {
50684
+ "package": "himalaya",
50685
+ "type": "Spacer",
50686
+ "props": {}
50687
+ }
50688
+ }
50689
+ ]
50690
+ }
50691
+ },
50692
+ "modifiers": {
50693
+ "padding": {
50694
+ "top": 12,
50695
+ "bottom": 8
50696
+ }
50697
+ }
50698
+ }
50699
+ ]
50700
+ }
50701
+ },
50702
+ "modifiers": {
50703
+ "hiddenPath": "$service:himiBlogPost.noRecent"
50704
+ }
50705
+ }
50706
+ ]
50707
+ }
50708
+ },
50709
+ "modifiers": {
50710
+ "hiddenPath": "$service:himiBlogPost.noPost"
50711
+ }
50712
+ },
50713
+ {
50714
+ "id": "himi_blog_post.more_sheet",
50715
+ "body": {
50716
+ "package": "himalaya",
50717
+ "type": "BottomSheet",
50718
+ "props": {
50719
+ "presentedPath": "$service:himiBlogPost.moreSheetOpen",
50720
+ "dismissible": true,
50721
+ "showGrabber": true,
50722
+ "onDismiss": {
50723
+ "actionId": "tier5.himiBlogPost.closeMore"
50724
+ },
50725
+ "content": {
50726
+ "id": "",
50727
+ "body": {
50728
+ "package": "himalaya",
50729
+ "type": "VStack",
50730
+ "props": {
50731
+ "spacing": 0,
50732
+ "alignment": "leading",
50733
+ "children": [
50734
+ {
50735
+ "id": "himi_blog_post.report",
50402
50736
  "body": {
50403
50737
  "package": "himalaya",
50404
50738
  "type": "HStack",
50405
50739
  "props": {
50406
50740
  "spacing": 14,
50741
+ "alignment": "center",
50407
50742
  "children": [
50408
50743
  {
50409
50744
  "id": "",
@@ -50462,6 +50797,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
50462
50797
  "type": "HStack",
50463
50798
  "props": {
50464
50799
  "spacing": 14,
50800
+ "alignment": "center",
50465
50801
  "children": [
50466
50802
  {
50467
50803
  "id": "",
@@ -50475,185 +50811,1504 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
50475
50811
  }
50476
50812
  },
50477
50813
  "modifiers": {
50478
- "accessibilityRole": "decorative"
50479
- }
50480
- },
50481
- {
50482
- "id": "",
50483
- "body": {
50484
- "package": "himalaya",
50485
- "type": "Text",
50486
- "props": {
50487
- "text": "Hide post",
50488
- "style": "body"
50814
+ "accessibilityRole": "decorative"
50815
+ }
50816
+ },
50817
+ {
50818
+ "id": "",
50819
+ "body": {
50820
+ "package": "himalaya",
50821
+ "type": "Text",
50822
+ "props": {
50823
+ "text": "Hide post",
50824
+ "style": "body"
50825
+ }
50826
+ }
50827
+ },
50828
+ {
50829
+ "id": "",
50830
+ "body": {
50831
+ "package": "himalaya",
50832
+ "type": "Spacer",
50833
+ "props": {}
50834
+ }
50835
+ }
50836
+ ]
50837
+ }
50838
+ },
50839
+ "modifiers": {
50840
+ "onTap": {
50841
+ "actionId": "tier5.himiBlogPost.openHide"
50842
+ },
50843
+ "accessibilityRole": "button",
50844
+ "accessibilityLabel": "Hide post",
50845
+ "padding": {
50846
+ "top": 11,
50847
+ "bottom": 11
50848
+ },
50849
+ "hiddenPath": "$service:himiBlogPost.hidden"
50850
+ }
50851
+ },
50852
+ {
50853
+ "id": "himi_blog_post.unhide",
50854
+ "body": {
50855
+ "package": "himalaya",
50856
+ "type": "HStack",
50857
+ "props": {
50858
+ "spacing": 14,
50859
+ "alignment": "center",
50860
+ "children": [
50861
+ {
50862
+ "id": "",
50863
+ "body": {
50864
+ "package": "himalaya",
50865
+ "type": "Icon",
50866
+ "props": {
50867
+ "name": "visible",
50868
+ "size": 22,
50869
+ "tint": "textPrimary"
50870
+ }
50871
+ },
50872
+ "modifiers": {
50873
+ "accessibilityRole": "decorative"
50874
+ }
50875
+ },
50876
+ {
50877
+ "id": "",
50878
+ "body": {
50879
+ "package": "himalaya",
50880
+ "type": "Text",
50881
+ "props": {
50882
+ "text": "Undo hide",
50883
+ "style": "body"
50884
+ }
50885
+ }
50886
+ },
50887
+ {
50888
+ "id": "",
50889
+ "body": {
50890
+ "package": "himalaya",
50891
+ "type": "Spacer",
50892
+ "props": {}
50893
+ }
50894
+ }
50895
+ ]
50896
+ }
50897
+ },
50898
+ "modifiers": {
50899
+ "onTap": {
50900
+ "actionId": "tier5.himiBlogPost.unhide"
50901
+ },
50902
+ "accessibilityRole": "button",
50903
+ "accessibilityLabel": "Undo hide",
50904
+ "padding": {
50905
+ "top": 11,
50906
+ "bottom": 11
50907
+ },
50908
+ "hiddenPath": "$service:himiBlogPost.notHidden"
50909
+ }
50910
+ }
50911
+ ]
50912
+ }
50913
+ },
50914
+ "modifiers": {
50915
+ "padding": {
50916
+ "leading": 20,
50917
+ "trailing": 20,
50918
+ "top": 0,
50919
+ "bottom": 8
50920
+ }
50921
+ }
50922
+ }
50923
+ }
50924
+ }
50925
+ },
50926
+ {
50927
+ "id": "himi_blog_post.hide_sheet",
50928
+ "body": {
50929
+ "package": "himalaya",
50930
+ "type": "BottomSheet",
50931
+ "props": {
50932
+ "presentedPath": "$service:himiBlogPost.hideSheetOpen",
50933
+ "dismissible": true,
50934
+ "showGrabber": true,
50935
+ "onDismiss": {
50936
+ "actionId": "tier5.himiBlogPost.closeHide"
50937
+ },
50938
+ "content": {
50939
+ "id": "",
50940
+ "body": {
50941
+ "package": "himalaya",
50942
+ "type": "VStack",
50943
+ "props": {
50944
+ "spacing": 0,
50945
+ "alignment": "leading",
50946
+ "children": [
50947
+ {
50948
+ "id": "",
50949
+ "body": {
50950
+ "package": "himalaya",
50951
+ "type": "Text",
50952
+ "props": {
50953
+ "text": "Why are you hiding this post?",
50954
+ "style": "title3"
50955
+ }
50956
+ },
50957
+ "modifiers": {
50958
+ "padding": {
50959
+ "bottom": 6
50960
+ }
50961
+ }
50962
+ },
50963
+ {
50964
+ "id": "himi_blog_post.hide_offensive",
50965
+ "body": {
50966
+ "package": "himalaya",
50967
+ "type": "HStack",
50968
+ "props": {
50969
+ "spacing": 14,
50970
+ "alignment": "center",
50971
+ "children": [
50972
+ {
50973
+ "id": "",
50974
+ "body": {
50975
+ "package": "himalaya",
50976
+ "type": "Text",
50977
+ "props": {
50978
+ "text": "It is offensive",
50979
+ "style": "body"
50980
+ }
50981
+ }
50982
+ },
50983
+ {
50984
+ "id": "",
50985
+ "body": {
50986
+ "package": "himalaya",
50987
+ "type": "Spacer",
50988
+ "props": {}
50989
+ }
50990
+ }
50991
+ ]
50992
+ }
50993
+ },
50994
+ "modifiers": {
50995
+ "onTap": {
50996
+ "actionId": "tier5.himiBlogPost.hide",
50997
+ "params": {
50998
+ "reason": "offensive"
50999
+ }
51000
+ },
51001
+ "accessibilityRole": "button",
51002
+ "accessibilityLabel": "It is offensive",
51003
+ "padding": {
51004
+ "top": 11,
51005
+ "bottom": 11
51006
+ }
51007
+ }
51008
+ },
51009
+ {
51010
+ "id": "himi_blog_post.hide_misleading",
51011
+ "body": {
51012
+ "package": "himalaya",
51013
+ "type": "HStack",
51014
+ "props": {
51015
+ "spacing": 14,
51016
+ "alignment": "center",
51017
+ "children": [
51018
+ {
51019
+ "id": "",
51020
+ "body": {
51021
+ "package": "himalaya",
51022
+ "type": "Text",
51023
+ "props": {
51024
+ "text": "It is misleading",
51025
+ "style": "body"
51026
+ }
51027
+ }
51028
+ },
51029
+ {
51030
+ "id": "",
51031
+ "body": {
51032
+ "package": "himalaya",
51033
+ "type": "Spacer",
51034
+ "props": {}
51035
+ }
51036
+ }
51037
+ ]
51038
+ }
51039
+ },
51040
+ "modifiers": {
51041
+ "onTap": {
51042
+ "actionId": "tier5.himiBlogPost.hide",
51043
+ "params": {
51044
+ "reason": "misleading"
51045
+ }
51046
+ },
51047
+ "accessibilityRole": "button",
51048
+ "accessibilityLabel": "It is misleading",
51049
+ "padding": {
51050
+ "top": 11,
51051
+ "bottom": 11
51052
+ }
51053
+ }
51054
+ },
51055
+ {
51056
+ "id": "himi_blog_post.hide_other",
51057
+ "body": {
51058
+ "package": "himalaya",
51059
+ "type": "HStack",
51060
+ "props": {
51061
+ "spacing": 14,
51062
+ "alignment": "center",
51063
+ "children": [
51064
+ {
51065
+ "id": "",
51066
+ "body": {
51067
+ "package": "himalaya",
51068
+ "type": "Text",
51069
+ "props": {
51070
+ "text": "Something else",
51071
+ "style": "body"
51072
+ }
51073
+ }
51074
+ },
51075
+ {
51076
+ "id": "",
51077
+ "body": {
51078
+ "package": "himalaya",
51079
+ "type": "Spacer",
51080
+ "props": {}
51081
+ }
51082
+ }
51083
+ ]
51084
+ }
51085
+ },
51086
+ "modifiers": {
51087
+ "onTap": {
51088
+ "actionId": "tier5.himiBlogPost.hide",
51089
+ "params": {
51090
+ "reason": "other"
51091
+ }
51092
+ },
51093
+ "accessibilityRole": "button",
51094
+ "accessibilityLabel": "Something else",
51095
+ "padding": {
51096
+ "top": 11,
51097
+ "bottom": 11
51098
+ }
51099
+ }
51100
+ },
51101
+ {
51102
+ "id": "himi_blog_post.hide_cancel",
51103
+ "body": {
51104
+ "package": "himalaya",
51105
+ "type": "Button",
51106
+ "props": {
51107
+ "title": "Cancel",
51108
+ "style": "secondary",
51109
+ "fullWidth": true,
51110
+ "action": {
51111
+ "actionId": "tier5.himiBlogPost.closeHide"
51112
+ }
51113
+ }
51114
+ },
51115
+ "modifiers": {
51116
+ "padding": {
51117
+ "top": 8
51118
+ }
51119
+ }
51120
+ }
51121
+ ]
51122
+ }
51123
+ },
51124
+ "modifiers": {
51125
+ "padding": {
51126
+ "leading": 20,
51127
+ "trailing": 20,
51128
+ "top": 12,
51129
+ "bottom": 8
51130
+ }
51131
+ }
51132
+ }
51133
+ }
51134
+ }
51135
+ },
51136
+ {
51137
+ "id": "himi_blog_post.comments_sheet",
51138
+ "body": {
51139
+ "package": "himalaya",
51140
+ "type": "BottomSheet",
51141
+ "props": {
51142
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
51143
+ "dismissible": true,
51144
+ "showGrabber": true,
51145
+ "detents": [
51146
+ 0.9
51147
+ ],
51148
+ "onDismiss": {
51149
+ "actionId": "tier5.himiBlogPost.closeComments"
51150
+ },
51151
+ "content": {
51152
+ "id": "",
51153
+ "body": {
51154
+ "package": "himalaya",
51155
+ "type": "VStack",
51156
+ "props": {
51157
+ "spacing": 12,
51158
+ "alignment": "leading",
51159
+ "children": [
51160
+ {
51161
+ "id": "",
51162
+ "body": {
51163
+ "package": "himalaya",
51164
+ "type": "HStack",
51165
+ "props": {
51166
+ "spacing": 8,
51167
+ "alignment": "center",
51168
+ "children": [
51169
+ {
51170
+ "id": "",
51171
+ "body": {
51172
+ "package": "himalaya",
51173
+ "type": "VStack",
51174
+ "props": {
51175
+ "spacing": 2,
51176
+ "alignment": "leading",
51177
+ "children": [
51178
+ {
51179
+ "id": "himi_blog_post.comments_sheet_title",
51180
+ "body": {
51181
+ "package": "himalaya",
51182
+ "type": "Text",
51183
+ "props": {
51184
+ "text": "$service:himiBlogPost.sheetTitle",
51185
+ "style": "title3"
51186
+ }
51187
+ },
51188
+ "modifiers": {
51189
+ "accessibilityRole": "heading"
51190
+ }
51191
+ },
51192
+ {
51193
+ "id": "",
51194
+ "body": {
51195
+ "package": "himalaya",
51196
+ "type": "Text",
51197
+ "props": {
51198
+ "text": "$service:himiBlogPost.title",
51199
+ "style": "footnote",
51200
+ "color": "textSecondary",
51201
+ "maxLines": 1,
51202
+ "collapseWhenEmpty": true
51203
+ }
51204
+ }
51205
+ }
51206
+ ]
51207
+ }
51208
+ }
51209
+ },
51210
+ {
51211
+ "id": "",
51212
+ "body": {
51213
+ "package": "himalaya",
51214
+ "type": "Spacer",
51215
+ "props": {}
51216
+ }
51217
+ },
51218
+ {
51219
+ "id": "himi_blog_post.comments_close",
51220
+ "body": {
51221
+ "package": "himalaya",
51222
+ "type": "Icon",
51223
+ "props": {
51224
+ "name": "chevron_down",
51225
+ "size": 22,
51226
+ "tint": "textPrimary"
51227
+ }
51228
+ },
51229
+ "modifiers": {
51230
+ "accessibilityRole": "button",
51231
+ "onTap": {
51232
+ "actionId": "tier5.himiBlogPost.closeComments"
51233
+ },
51234
+ "accessibilityLabel": "Close comments",
51235
+ "padding": {
51236
+ "leading": 11,
51237
+ "trailing": 11,
51238
+ "top": 11,
51239
+ "bottom": 11
51240
+ }
51241
+ }
51242
+ }
51243
+ ]
51244
+ }
51245
+ }
51246
+ },
51247
+ {
51248
+ "id": "",
51249
+ "body": {
51250
+ "package": "himalaya",
51251
+ "type": "Text",
51252
+ "props": {
51253
+ "text": "$service:himiBlogPost.commentStatusText",
51254
+ "style": "footnote",
51255
+ "color": "textSecondary"
51256
+ }
51257
+ },
51258
+ "modifiers": {
51259
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
51260
+ }
51261
+ },
51262
+ {
51263
+ "id": "",
51264
+ "body": {
51265
+ "package": "himalaya",
51266
+ "type": "VStack",
51267
+ "props": {
51268
+ "spacing": 4,
51269
+ "alignment": "leading",
51270
+ "children": [
51271
+ {
51272
+ "id": "",
51273
+ "body": {
51274
+ "package": "himalaya",
51275
+ "type": "Text",
51276
+ "props": {
51277
+ "text": "No comments yet",
51278
+ "style": "bodyEmphasis"
51279
+ }
51280
+ }
51281
+ },
51282
+ {
51283
+ "id": "",
51284
+ "body": {
51285
+ "package": "himalaya",
51286
+ "type": "Text",
51287
+ "props": {
51288
+ "text": "Be the first to share your thoughts.",
51289
+ "style": "footnote",
51290
+ "color": "textSecondary"
51291
+ }
51292
+ }
51293
+ }
51294
+ ]
51295
+ }
51296
+ },
51297
+ "modifiers": {
51298
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
51299
+ }
51300
+ },
51301
+ {
51302
+ "id": "himi_blog_post.sheet_comments",
51303
+ "body": {
51304
+ "package": "himalaya",
51305
+ "type": "LazyList",
51306
+ "props": {
51307
+ "spacing": 4,
51308
+ "itemsPath": "$service:himiBlogPost.comments",
51309
+ "items": [
51310
+ {
51311
+ "id": "himi_blog_post.sheet_comment_row",
51312
+ "body": {
51313
+ "package": "himalaya",
51314
+ "type": "VStack",
51315
+ "props": {
51316
+ "spacing": 0,
51317
+ "alignment": "leading",
51318
+ "children": [
51319
+ {
51320
+ "id": "",
51321
+ "body": {
51322
+ "package": "himalaya",
51323
+ "type": "VStack",
51324
+ "props": {
51325
+ "spacing": 0,
51326
+ "alignment": "leading",
51327
+ "children": [
51328
+ {
51329
+ "id": "",
51330
+ "body": {
51331
+ "package": "himalaya",
51332
+ "type": "HStack",
51333
+ "props": {
51334
+ "spacing": 10,
51335
+ "alignment": "leading",
51336
+ "children": [
51337
+ {
51338
+ "id": "himi_blog_post.comment_avatar.photo",
51339
+ "body": {
51340
+ "package": "himalaya",
51341
+ "type": "Image",
51342
+ "props": {
51343
+ "url": "$item.authorPhoto",
51344
+ "width": 32,
51345
+ "height": 32,
51346
+ "contentMode": "fill",
51347
+ "shape": "circle"
51348
+ }
51349
+ },
51350
+ "modifiers": {
51351
+ "accessibilityRole": "decorative",
51352
+ "hiddenPath": "$item.noAuthorPhoto"
51353
+ }
51354
+ },
51355
+ {
51356
+ "id": "",
51357
+ "body": {
51358
+ "package": "himalaya",
51359
+ "type": "ZStack",
51360
+ "props": {
51361
+ "alignment": "center",
51362
+ "children": [
51363
+ {
51364
+ "id": "",
51365
+ "body": {
51366
+ "package": "himalaya",
51367
+ "type": "Text",
51368
+ "props": {
51369
+ "text": "$item.authorInitial",
51370
+ "style": "footnote",
51371
+ "color": "accentPrimary",
51372
+ "collapseWhenEmpty": true
51373
+ }
51374
+ }
51375
+ }
51376
+ ]
51377
+ }
51378
+ },
51379
+ "modifiers": {
51380
+ "width": 32,
51381
+ "height": 32,
51382
+ "background": {
51383
+ "token": "accentSurface"
51384
+ },
51385
+ "cornerRadius": 16,
51386
+ "accessibilityRole": "decorative",
51387
+ "hiddenPath": "$item.hasAuthorPhoto"
51388
+ }
51389
+ },
51390
+ {
51391
+ "id": "",
51392
+ "body": {
51393
+ "package": "himalaya",
51394
+ "type": "VStack",
51395
+ "props": {
51396
+ "spacing": 4,
51397
+ "alignment": "leading",
51398
+ "children": [
51399
+ {
51400
+ "id": "",
51401
+ "body": {
51402
+ "package": "himalaya",
51403
+ "type": "HStack",
51404
+ "props": {
51405
+ "spacing": 6,
51406
+ "alignment": "center",
51407
+ "children": [
51408
+ {
51409
+ "id": "",
51410
+ "body": {
51411
+ "package": "himalaya",
51412
+ "type": "Text",
51413
+ "props": {
51414
+ "text": "$item.authorName",
51415
+ "style": "footnote",
51416
+ "maxLines": 1
51417
+ }
51418
+ }
51419
+ },
51420
+ {
51421
+ "id": "",
51422
+ "body": {
51423
+ "package": "himalaya",
51424
+ "type": "Text",
51425
+ "props": {
51426
+ "text": "$item.meta",
51427
+ "style": "caption",
51428
+ "color": "textTertiary",
51429
+ "maxLines": 1,
51430
+ "collapseWhenEmpty": true
51431
+ }
51432
+ }
51433
+ },
51434
+ {
51435
+ "id": "",
51436
+ "body": {
51437
+ "package": "himalaya",
51438
+ "type": "Spacer",
51439
+ "props": {}
51440
+ }
51441
+ },
51442
+ {
51443
+ "id": "",
51444
+ "body": {
51445
+ "package": "himalaya",
51446
+ "type": "HStack",
51447
+ "props": {
51448
+ "spacing": 0,
51449
+ "alignment": "center",
51450
+ "children": [
51451
+ {
51452
+ "id": "himi_blog_post.reply_menu",
51453
+ "body": {
51454
+ "package": "himalaya",
51455
+ "type": "Menu",
51456
+ "props": {
51457
+ "anchor": {
51458
+ "id": "",
51459
+ "body": {
51460
+ "package": "himalaya",
51461
+ "type": "Icon",
51462
+ "props": {
51463
+ "name": "more_vertical",
51464
+ "size": 18,
51465
+ "tint": "textSecondary"
51466
+ }
51467
+ },
51468
+ "modifiers": {
51469
+ "accessibilityRole": "button",
51470
+ "accessibilityLabel": "Comment actions",
51471
+ "padding": {
51472
+ "leading": 13,
51473
+ "trailing": 13,
51474
+ "top": 4,
51475
+ "bottom": 4
51476
+ }
51477
+ }
51478
+ },
51479
+ "style": "dropdown",
51480
+ "items": [
51481
+ {
51482
+ "id": "report",
51483
+ "label": "Report",
51484
+ "icon": "warning",
51485
+ "action": {
51486
+ "actionId": "tier5.himiBlogPost.reportComment",
51487
+ "params": {
51488
+ "id": "$item.id"
51489
+ }
51490
+ }
51491
+ }
51492
+ ]
51493
+ }
51494
+ }
51495
+ }
51496
+ ]
51497
+ }
51498
+ },
51499
+ "modifiers": {
51500
+ "hiddenPath": "$item.noReport"
51501
+ }
51502
+ }
51503
+ ]
51504
+ }
51505
+ }
51506
+ },
51507
+ {
51508
+ "id": "",
51509
+ "body": {
51510
+ "package": "himalaya",
51511
+ "type": "VStack",
51512
+ "props": {
51513
+ "spacing": 0,
51514
+ "alignment": "leading",
51515
+ "children": [
51516
+ {
51517
+ "id": "reply_body_$item.id",
51518
+ "body": {
51519
+ "package": "himalaya",
51520
+ "type": "RichContent",
51521
+ "props": {
51522
+ "documentJsonPath": "$item.bodyJson",
51523
+ "onLink": {
51524
+ "actionId": "tier5.himiBlogPost.openLink"
51525
+ },
51526
+ "fallback": {
51527
+ "id": "",
51528
+ "body": {
51529
+ "package": "himalaya",
51530
+ "type": "Text",
51531
+ "props": {
51532
+ "text": "$item.text",
51533
+ "style": "body",
51534
+ "collapseWhenEmpty": true
51535
+ }
51536
+ }
51537
+ }
51538
+ }
51539
+ }
51540
+ },
51541
+ {
51542
+ "id": "reply_body_text_$item.id",
51543
+ "body": {
51544
+ "package": "himalaya",
51545
+ "type": "Text",
51546
+ "props": {
51547
+ "text": "$item.text",
51548
+ "style": "body",
51549
+ "collapseWhenEmpty": true
51550
+ }
51551
+ },
51552
+ "modifiers": {
51553
+ "hiddenPath": "$item.hasBodyJson"
51554
+ }
51555
+ }
51556
+ ]
51557
+ }
51558
+ }
51559
+ },
51560
+ {
51561
+ "id": "",
51562
+ "body": {
51563
+ "package": "himalaya",
51564
+ "type": "HStack",
51565
+ "props": {
51566
+ "spacing": 12,
51567
+ "alignment": "center",
51568
+ "children": [
51569
+ {
51570
+ "id": "",
51571
+ "body": {
51572
+ "package": "himalaya",
51573
+ "type": "HStack",
51574
+ "props": {
51575
+ "spacing": 0,
51576
+ "alignment": "center",
51577
+ "children": [
51578
+ {
51579
+ "id": "himi_blog_post.comment_like",
51580
+ "body": {
51581
+ "package": "himalaya",
51582
+ "type": "HStack",
51583
+ "props": {
51584
+ "spacing": 4,
51585
+ "alignment": "center",
51586
+ "children": [
51587
+ {
51588
+ "id": "",
51589
+ "body": {
51590
+ "package": "himalaya",
51591
+ "type": "Icon",
51592
+ "props": {
51593
+ "name": "heart",
51594
+ "size": 14,
51595
+ "tint": "textSecondary"
51596
+ }
51597
+ },
51598
+ "modifiers": {
51599
+ "accessibilityRole": "decorative"
51600
+ }
51601
+ },
51602
+ {
51603
+ "id": "",
51604
+ "body": {
51605
+ "package": "himalaya",
51606
+ "type": "Text",
51607
+ "props": {
51608
+ "text": "$item.likes",
51609
+ "style": "caption",
51610
+ "color": "textSecondary",
51611
+ "monospacedDigits": true
51612
+ }
51613
+ }
51614
+ }
51615
+ ]
51616
+ }
51617
+ },
51618
+ "modifiers": {
51619
+ "border": {
51620
+ "width": 1,
51621
+ "color": {
51622
+ "token": "border"
51623
+ }
51624
+ },
51625
+ "cornerRadius": 999,
51626
+ "padding": {
51627
+ "leading": 10,
51628
+ "trailing": 10,
51629
+ "top": 4,
51630
+ "bottom": 4
51631
+ },
51632
+ "onTap": {
51633
+ "actionId": "tier5.himiBlogPost.likeComment",
51634
+ "params": {
51635
+ "id": "$item.id"
51636
+ }
51637
+ },
51638
+ "pressFeedback": "scale",
51639
+ "haptic": "light",
51640
+ "accessibilityRole": "button",
51641
+ "accessibilityLabel": "Like",
51642
+ "hiddenPath": "$item.liked"
51643
+ }
51644
+ },
51645
+ {
51646
+ "id": "himi_blog_post.comment_unlike",
51647
+ "body": {
51648
+ "package": "himalaya",
51649
+ "type": "HStack",
51650
+ "props": {
51651
+ "spacing": 4,
51652
+ "alignment": "center",
51653
+ "children": [
51654
+ {
51655
+ "id": "",
51656
+ "body": {
51657
+ "package": "himalaya",
51658
+ "type": "Icon",
51659
+ "props": {
51660
+ "name": "heart_fill",
51661
+ "size": 14,
51662
+ "tint": "danger"
51663
+ }
51664
+ },
51665
+ "modifiers": {
51666
+ "accessibilityRole": "decorative"
51667
+ }
51668
+ },
51669
+ {
51670
+ "id": "",
51671
+ "body": {
51672
+ "package": "himalaya",
51673
+ "type": "Text",
51674
+ "props": {
51675
+ "text": "$item.likes",
51676
+ "style": "caption",
51677
+ "color": "danger",
51678
+ "monospacedDigits": true
51679
+ }
51680
+ }
51681
+ }
51682
+ ]
51683
+ }
51684
+ },
51685
+ "modifiers": {
51686
+ "background": {
51687
+ "token": "dangerSurface"
51688
+ },
51689
+ "cornerRadius": 999,
51690
+ "padding": {
51691
+ "leading": 10,
51692
+ "trailing": 10,
51693
+ "top": 4,
51694
+ "bottom": 4
51695
+ },
51696
+ "onTap": {
51697
+ "actionId": "tier5.himiBlogPost.unlikeComment",
51698
+ "params": {
51699
+ "id": "$item.id"
51700
+ }
51701
+ },
51702
+ "pressFeedback": "scale",
51703
+ "haptic": "light",
51704
+ "accessibilityRole": "button",
51705
+ "accessibilityLabel": "Unlike",
51706
+ "hiddenPath": "$item.notLiked"
51707
+ }
51708
+ }
51709
+ ]
51710
+ }
51711
+ },
51712
+ "modifiers": {
51713
+ "hiddenPath": "$item.noLikes"
51714
+ }
51715
+ },
51716
+ {
51717
+ "id": "",
51718
+ "body": {
51719
+ "package": "himalaya",
51720
+ "type": "HStack",
51721
+ "props": {
51722
+ "spacing": 0,
51723
+ "alignment": "center",
51724
+ "children": [
51725
+ {
51726
+ "id": "himi_blog_post.comment_reply",
51727
+ "body": {
51728
+ "package": "himalaya",
51729
+ "type": "Text",
51730
+ "props": {
51731
+ "text": "Reply",
51732
+ "style": "caption",
51733
+ "color": "textSecondary"
51734
+ }
51735
+ },
51736
+ "modifiers": {
51737
+ "onTap": {
51738
+ "actionId": "tier5.himiBlogPost.replyTo",
51739
+ "params": {
51740
+ "id": "$item.id"
51741
+ }
51742
+ },
51743
+ "accessibilityRole": "button",
51744
+ "padding": {
51745
+ "top": 4,
51746
+ "bottom": 4,
51747
+ "leading": 4,
51748
+ "trailing": 4
51749
+ },
51750
+ "hiddenPath": "$item.noReply"
51751
+ }
51752
+ }
51753
+ ]
51754
+ }
51755
+ },
51756
+ "modifiers": {
51757
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
51758
+ }
51759
+ },
51760
+ {
51761
+ "id": "",
51762
+ "body": {
51763
+ "package": "himalaya",
51764
+ "type": "Spacer",
51765
+ "props": {}
51766
+ }
51767
+ }
51768
+ ]
51769
+ }
51770
+ }
51771
+ }
51772
+ ]
51773
+ }
51774
+ },
51775
+ "modifiers": {
51776
+ "weight": 1
51777
+ }
51778
+ }
51779
+ ]
51780
+ }
51781
+ },
51782
+ "modifiers": {
51783
+ "fillMaxWidth": true
51784
+ }
51785
+ }
51786
+ ]
51787
+ }
51788
+ },
51789
+ "modifiers": {
51790
+ "padding": {
51791
+ "leading": 42
51792
+ },
51793
+ "hiddenPath": "$item.notReply"
51794
+ }
51795
+ },
51796
+ {
51797
+ "id": "",
51798
+ "body": {
51799
+ "package": "himalaya",
51800
+ "type": "HStack",
51801
+ "props": {
51802
+ "spacing": 10,
51803
+ "alignment": "leading",
51804
+ "children": [
51805
+ {
51806
+ "id": "himi_blog_post.comment_avatar.photo",
51807
+ "body": {
51808
+ "package": "himalaya",
51809
+ "type": "Image",
51810
+ "props": {
51811
+ "url": "$item.authorPhoto",
51812
+ "width": 32,
51813
+ "height": 32,
51814
+ "contentMode": "fill",
51815
+ "shape": "circle"
51816
+ }
51817
+ },
51818
+ "modifiers": {
51819
+ "accessibilityRole": "decorative",
51820
+ "hiddenPath": "$item.noAuthorPhoto"
51821
+ }
51822
+ },
51823
+ {
51824
+ "id": "",
51825
+ "body": {
51826
+ "package": "himalaya",
51827
+ "type": "ZStack",
51828
+ "props": {
51829
+ "alignment": "center",
51830
+ "children": [
51831
+ {
51832
+ "id": "",
51833
+ "body": {
51834
+ "package": "himalaya",
51835
+ "type": "Text",
51836
+ "props": {
51837
+ "text": "$item.authorInitial",
51838
+ "style": "footnote",
51839
+ "color": "accentPrimary",
51840
+ "collapseWhenEmpty": true
51841
+ }
51842
+ }
51843
+ }
51844
+ ]
51845
+ }
51846
+ },
51847
+ "modifiers": {
51848
+ "width": 32,
51849
+ "height": 32,
51850
+ "background": {
51851
+ "token": "accentSurface"
51852
+ },
51853
+ "cornerRadius": 16,
51854
+ "accessibilityRole": "decorative",
51855
+ "hiddenPath": "$item.hasAuthorPhoto"
51856
+ }
51857
+ },
51858
+ {
51859
+ "id": "",
51860
+ "body": {
51861
+ "package": "himalaya",
51862
+ "type": "VStack",
51863
+ "props": {
51864
+ "spacing": 4,
51865
+ "alignment": "leading",
51866
+ "children": [
51867
+ {
51868
+ "id": "",
51869
+ "body": {
51870
+ "package": "himalaya",
51871
+ "type": "HStack",
51872
+ "props": {
51873
+ "spacing": 6,
51874
+ "alignment": "center",
51875
+ "children": [
51876
+ {
51877
+ "id": "",
51878
+ "body": {
51879
+ "package": "himalaya",
51880
+ "type": "Text",
51881
+ "props": {
51882
+ "text": "$item.authorName",
51883
+ "style": "footnote",
51884
+ "maxLines": 1
51885
+ }
51886
+ }
51887
+ },
51888
+ {
51889
+ "id": "",
51890
+ "body": {
51891
+ "package": "himalaya",
51892
+ "type": "Text",
51893
+ "props": {
51894
+ "text": "$item.meta",
51895
+ "style": "caption",
51896
+ "color": "textTertiary",
51897
+ "maxLines": 1,
51898
+ "collapseWhenEmpty": true
51899
+ }
51900
+ }
51901
+ },
51902
+ {
51903
+ "id": "",
51904
+ "body": {
51905
+ "package": "himalaya",
51906
+ "type": "Spacer",
51907
+ "props": {}
51908
+ }
51909
+ },
51910
+ {
51911
+ "id": "",
51912
+ "body": {
51913
+ "package": "himalaya",
51914
+ "type": "HStack",
51915
+ "props": {
51916
+ "spacing": 0,
51917
+ "alignment": "center",
51918
+ "children": [
51919
+ {
51920
+ "id": "himi_blog_post.comment_menu",
51921
+ "body": {
51922
+ "package": "himalaya",
51923
+ "type": "Menu",
51924
+ "props": {
51925
+ "anchor": {
51926
+ "id": "",
51927
+ "body": {
51928
+ "package": "himalaya",
51929
+ "type": "Icon",
51930
+ "props": {
51931
+ "name": "more_vertical",
51932
+ "size": 18,
51933
+ "tint": "textSecondary"
51934
+ }
51935
+ },
51936
+ "modifiers": {
51937
+ "accessibilityRole": "button",
51938
+ "accessibilityLabel": "Comment actions",
51939
+ "padding": {
51940
+ "leading": 13,
51941
+ "trailing": 13,
51942
+ "top": 4,
51943
+ "bottom": 4
51944
+ }
51945
+ }
51946
+ },
51947
+ "style": "dropdown",
51948
+ "items": [
51949
+ {
51950
+ "id": "report",
51951
+ "label": "Report",
51952
+ "icon": "warning",
51953
+ "action": {
51954
+ "actionId": "tier5.himiBlogPost.reportComment",
51955
+ "params": {
51956
+ "id": "$item.id"
51957
+ }
51958
+ }
51959
+ }
51960
+ ]
51961
+ }
51962
+ }
51963
+ }
51964
+ ]
51965
+ }
51966
+ },
51967
+ "modifiers": {
51968
+ "hiddenPath": "$item.noReport"
51969
+ }
51970
+ }
51971
+ ]
51972
+ }
51973
+ }
51974
+ },
51975
+ {
51976
+ "id": "",
51977
+ "body": {
51978
+ "package": "himalaya",
51979
+ "type": "VStack",
51980
+ "props": {
51981
+ "spacing": 0,
51982
+ "alignment": "leading",
51983
+ "children": [
51984
+ {
51985
+ "id": "comment_body_$item.id",
51986
+ "body": {
51987
+ "package": "himalaya",
51988
+ "type": "RichContent",
51989
+ "props": {
51990
+ "documentJsonPath": "$item.bodyJson",
51991
+ "onLink": {
51992
+ "actionId": "tier5.himiBlogPost.openLink"
51993
+ },
51994
+ "fallback": {
51995
+ "id": "",
51996
+ "body": {
51997
+ "package": "himalaya",
51998
+ "type": "Text",
51999
+ "props": {
52000
+ "text": "$item.text",
52001
+ "style": "body",
52002
+ "collapseWhenEmpty": true
52003
+ }
52004
+ }
52005
+ }
52006
+ }
52007
+ }
52008
+ },
52009
+ {
52010
+ "id": "comment_body_text_$item.id",
52011
+ "body": {
52012
+ "package": "himalaya",
52013
+ "type": "Text",
52014
+ "props": {
52015
+ "text": "$item.text",
52016
+ "style": "body",
52017
+ "collapseWhenEmpty": true
52018
+ }
52019
+ },
52020
+ "modifiers": {
52021
+ "hiddenPath": "$item.hasBodyJson"
52022
+ }
52023
+ }
52024
+ ]
52025
+ }
52026
+ }
52027
+ },
52028
+ {
52029
+ "id": "",
52030
+ "body": {
52031
+ "package": "himalaya",
52032
+ "type": "HStack",
52033
+ "props": {
52034
+ "spacing": 12,
52035
+ "alignment": "center",
52036
+ "children": [
52037
+ {
52038
+ "id": "",
52039
+ "body": {
52040
+ "package": "himalaya",
52041
+ "type": "HStack",
52042
+ "props": {
52043
+ "spacing": 0,
52044
+ "alignment": "center",
52045
+ "children": [
52046
+ {
52047
+ "id": "himi_blog_post.comment_like",
52048
+ "body": {
52049
+ "package": "himalaya",
52050
+ "type": "HStack",
52051
+ "props": {
52052
+ "spacing": 4,
52053
+ "alignment": "center",
52054
+ "children": [
52055
+ {
52056
+ "id": "",
52057
+ "body": {
52058
+ "package": "himalaya",
52059
+ "type": "Icon",
52060
+ "props": {
52061
+ "name": "heart",
52062
+ "size": 14,
52063
+ "tint": "textSecondary"
52064
+ }
52065
+ },
52066
+ "modifiers": {
52067
+ "accessibilityRole": "decorative"
52068
+ }
52069
+ },
52070
+ {
52071
+ "id": "",
52072
+ "body": {
52073
+ "package": "himalaya",
52074
+ "type": "Text",
52075
+ "props": {
52076
+ "text": "$item.likes",
52077
+ "style": "caption",
52078
+ "color": "textSecondary",
52079
+ "monospacedDigits": true
52080
+ }
52081
+ }
52082
+ }
52083
+ ]
52084
+ }
52085
+ },
52086
+ "modifiers": {
52087
+ "border": {
52088
+ "width": 1,
52089
+ "color": {
52090
+ "token": "border"
52091
+ }
52092
+ },
52093
+ "cornerRadius": 999,
52094
+ "padding": {
52095
+ "leading": 10,
52096
+ "trailing": 10,
52097
+ "top": 4,
52098
+ "bottom": 4
52099
+ },
52100
+ "onTap": {
52101
+ "actionId": "tier5.himiBlogPost.likeComment",
52102
+ "params": {
52103
+ "id": "$item.id"
52104
+ }
52105
+ },
52106
+ "pressFeedback": "scale",
52107
+ "haptic": "light",
52108
+ "accessibilityRole": "button",
52109
+ "accessibilityLabel": "Like",
52110
+ "hiddenPath": "$item.liked"
52111
+ }
52112
+ },
52113
+ {
52114
+ "id": "himi_blog_post.comment_unlike",
52115
+ "body": {
52116
+ "package": "himalaya",
52117
+ "type": "HStack",
52118
+ "props": {
52119
+ "spacing": 4,
52120
+ "alignment": "center",
52121
+ "children": [
52122
+ {
52123
+ "id": "",
52124
+ "body": {
52125
+ "package": "himalaya",
52126
+ "type": "Icon",
52127
+ "props": {
52128
+ "name": "heart_fill",
52129
+ "size": 14,
52130
+ "tint": "danger"
52131
+ }
52132
+ },
52133
+ "modifiers": {
52134
+ "accessibilityRole": "decorative"
52135
+ }
52136
+ },
52137
+ {
52138
+ "id": "",
52139
+ "body": {
52140
+ "package": "himalaya",
52141
+ "type": "Text",
52142
+ "props": {
52143
+ "text": "$item.likes",
52144
+ "style": "caption",
52145
+ "color": "danger",
52146
+ "monospacedDigits": true
52147
+ }
52148
+ }
52149
+ }
52150
+ ]
52151
+ }
52152
+ },
52153
+ "modifiers": {
52154
+ "background": {
52155
+ "token": "dangerSurface"
52156
+ },
52157
+ "cornerRadius": 999,
52158
+ "padding": {
52159
+ "leading": 10,
52160
+ "trailing": 10,
52161
+ "top": 4,
52162
+ "bottom": 4
52163
+ },
52164
+ "onTap": {
52165
+ "actionId": "tier5.himiBlogPost.unlikeComment",
52166
+ "params": {
52167
+ "id": "$item.id"
52168
+ }
52169
+ },
52170
+ "pressFeedback": "scale",
52171
+ "haptic": "light",
52172
+ "accessibilityRole": "button",
52173
+ "accessibilityLabel": "Unlike",
52174
+ "hiddenPath": "$item.notLiked"
52175
+ }
52176
+ }
52177
+ ]
52178
+ }
52179
+ },
52180
+ "modifiers": {
52181
+ "hiddenPath": "$item.noLikes"
52182
+ }
52183
+ },
52184
+ {
52185
+ "id": "",
52186
+ "body": {
52187
+ "package": "himalaya",
52188
+ "type": "HStack",
52189
+ "props": {
52190
+ "spacing": 0,
52191
+ "alignment": "center",
52192
+ "children": [
52193
+ {
52194
+ "id": "himi_blog_post.comment_reply",
52195
+ "body": {
52196
+ "package": "himalaya",
52197
+ "type": "Text",
52198
+ "props": {
52199
+ "text": "Reply",
52200
+ "style": "caption",
52201
+ "color": "textSecondary"
52202
+ }
52203
+ },
52204
+ "modifiers": {
52205
+ "onTap": {
52206
+ "actionId": "tier5.himiBlogPost.replyTo",
52207
+ "params": {
52208
+ "id": "$item.id"
52209
+ }
52210
+ },
52211
+ "accessibilityRole": "button",
52212
+ "padding": {
52213
+ "top": 4,
52214
+ "bottom": 4,
52215
+ "leading": 4,
52216
+ "trailing": 4
52217
+ },
52218
+ "hiddenPath": "$item.noReply"
52219
+ }
52220
+ }
52221
+ ]
52222
+ }
52223
+ },
52224
+ "modifiers": {
52225
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
52226
+ }
52227
+ },
52228
+ {
52229
+ "id": "",
52230
+ "body": {
52231
+ "package": "himalaya",
52232
+ "type": "Spacer",
52233
+ "props": {}
52234
+ }
52235
+ }
52236
+ ]
52237
+ }
52238
+ }
52239
+ }
52240
+ ]
52241
+ }
52242
+ },
52243
+ "modifiers": {
52244
+ "weight": 1
52245
+ }
52246
+ }
52247
+ ]
52248
+ }
52249
+ },
52250
+ "modifiers": {
52251
+ "fillMaxWidth": true,
52252
+ "hiddenPath": "$item.isReply"
52253
+ }
52254
+ }
52255
+ ]
52256
+ }
52257
+ },
52258
+ "modifiers": {
52259
+ "backgroundColorPath": "$item.rowBackground",
52260
+ "cornerRadius": 12,
52261
+ "padding": {
52262
+ "leading": 8,
52263
+ "trailing": 8,
52264
+ "top": 8,
52265
+ "bottom": 8
50489
52266
  }
50490
52267
  }
50491
- },
50492
- {
50493
- "id": "",
50494
- "body": {
50495
- "package": "himalaya",
50496
- "type": "Spacer",
50497
- "props": {}
50498
- }
50499
52268
  }
50500
- ]
50501
- }
50502
- },
50503
- "modifiers": {
50504
- "onTap": {
50505
- "actionId": "tier5.himiBlogPost.openHide"
50506
- },
50507
- "accessibilityRole": "button",
50508
- "accessibilityLabel": "Hide post",
50509
- "padding": {
50510
- "top": 11,
50511
- "bottom": 11
50512
- },
50513
- "hiddenPath": "$service:himiBlogPost.hidden"
50514
- }
50515
- },
50516
- {
50517
- "id": "himi_blog_post.unhide",
50518
- "body": {
50519
- "package": "himalaya",
50520
- "type": "HStack",
50521
- "props": {
50522
- "spacing": 14,
50523
- "children": [
50524
- {
50525
- "id": "",
50526
- "body": {
50527
- "package": "himalaya",
50528
- "type": "Icon",
50529
- "props": {
50530
- "name": "visible",
50531
- "size": 22,
50532
- "tint": "textPrimary"
50533
- }
50534
- },
50535
- "modifiers": {
50536
- "accessibilityRole": "decorative"
50537
- }
50538
- },
50539
- {
50540
- "id": "",
50541
- "body": {
50542
- "package": "himalaya",
50543
- "type": "Text",
50544
- "props": {
50545
- "text": "Undo hide",
50546
- "style": "body"
50547
- }
50548
- }
52269
+ ],
52270
+ "pagination": {
52271
+ "cursor": "$service:himiBlogPost.commentsCursor",
52272
+ "onLoadMore": {
52273
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
50549
52274
  },
50550
- {
50551
- "id": "",
50552
- "body": {
50553
- "package": "himalaya",
50554
- "type": "Spacer",
50555
- "props": {}
50556
- }
50557
- }
50558
- ]
52275
+ "pageSize": 20
52276
+ }
50559
52277
  }
50560
- },
50561
- "modifiers": {
50562
- "onTap": {
50563
- "actionId": "tier5.himiBlogPost.unhide"
50564
- },
50565
- "accessibilityRole": "button",
50566
- "accessibilityLabel": "Undo hide",
50567
- "padding": {
50568
- "top": 11,
50569
- "bottom": 11
50570
- },
50571
- "hiddenPath": "$service:himiBlogPost.notHidden"
50572
52278
  }
50573
52279
  }
50574
52280
  ]
50575
52281
  }
50576
- },
50577
- "modifiers": {
50578
- "padding": {
50579
- "leading": 20,
50580
- "trailing": 20,
50581
- "top": 0,
50582
- "bottom": 8
50583
- }
50584
52282
  }
50585
- }
50586
- }
50587
- }
50588
- },
50589
- {
50590
- "id": "himi_blog_post.hide_sheet",
50591
- "body": {
50592
- "package": "himalaya",
50593
- "type": "BottomSheet",
50594
- "props": {
50595
- "presentedPath": "$service:himiBlogPost.hideSheetOpen",
50596
- "dismissible": true,
50597
- "showGrabber": true,
50598
- "onDismiss": {
50599
- "actionId": "tier5.himiBlogPost.closeHide"
50600
52283
  },
50601
- "content": {
50602
- "id": "",
52284
+ "footer": {
52285
+ "id": "himi_blog_post.comment_composer",
50603
52286
  "body": {
50604
52287
  "package": "himalaya",
50605
52288
  "type": "VStack",
50606
52289
  "props": {
50607
- "spacing": 0,
52290
+ "spacing": 6,
50608
52291
  "alignment": "leading",
50609
52292
  "children": [
50610
52293
  {
50611
- "id": "",
50612
- "body": {
50613
- "package": "himalaya",
50614
- "type": "Text",
50615
- "props": {
50616
- "text": "Why are you hiding this post?",
50617
- "style": "title3"
50618
- }
50619
- },
50620
- "modifiers": {
50621
- "padding": {
50622
- "bottom": 6
50623
- }
50624
- }
50625
- },
50626
- {
50627
- "id": "himi_blog_post.hide_offensive",
50628
- "body": {
50629
- "package": "himalaya",
50630
- "type": "HStack",
50631
- "props": {
50632
- "spacing": 14,
50633
- "children": [
50634
- {
50635
- "id": "",
50636
- "body": {
50637
- "package": "himalaya",
50638
- "type": "Icon",
50639
- "props": {
50640
- "name": "chevron_right",
50641
- "size": 22,
50642
- "tint": "textPrimary"
50643
- }
50644
- },
50645
- "modifiers": {
50646
- "accessibilityRole": "decorative"
50647
- }
50648
- },
52294
+ "id": "",
52295
+ "body": {
52296
+ "package": "himalaya",
52297
+ "type": "HStack",
52298
+ "props": {
52299
+ "spacing": 8,
52300
+ "alignment": "center",
52301
+ "children": [
50649
52302
  {
50650
52303
  "id": "",
50651
52304
  "body": {
50652
52305
  "package": "himalaya",
50653
52306
  "type": "Text",
50654
52307
  "props": {
50655
- "text": "It is offensive",
50656
- "style": "body"
52308
+ "text": "$service:himiBlogPost.replyingLine",
52309
+ "style": "footnote",
52310
+ "color": "textSecondary",
52311
+ "maxLines": 1
50657
52312
  }
50658
52313
  }
50659
52314
  },
@@ -50664,175 +52319,287 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
50664
52319
  "type": "Spacer",
50665
52320
  "props": {}
50666
52321
  }
52322
+ },
52323
+ {
52324
+ "id": "himi_blog_post.cancel_reply",
52325
+ "body": {
52326
+ "package": "himalaya",
52327
+ "type": "Icon",
52328
+ "props": {
52329
+ "name": "close",
52330
+ "size": 16,
52331
+ "tint": "textSecondary"
52332
+ }
52333
+ },
52334
+ "modifiers": {
52335
+ "accessibilityRole": "button",
52336
+ "onTap": {
52337
+ "actionId": "tier5.himiBlogPost.cancelReply"
52338
+ },
52339
+ "accessibilityLabel": "Cancel reply",
52340
+ "padding": {
52341
+ "top": 14,
52342
+ "bottom": 14,
52343
+ "leading": 14,
52344
+ "trailing": 14
52345
+ }
52346
+ }
50667
52347
  }
50668
52348
  ]
50669
52349
  }
50670
52350
  },
50671
52351
  "modifiers": {
50672
- "onTap": {
50673
- "actionId": "tier5.himiBlogPost.hide",
50674
- "params": {
50675
- "reason": "offensive"
50676
- }
50677
- },
50678
- "accessibilityRole": "button",
50679
- "accessibilityLabel": "It is offensive",
50680
- "padding": {
50681
- "top": 11,
50682
- "bottom": 11
50683
- }
52352
+ "hiddenPath": "$service:himiBlogPost.notReplying"
50684
52353
  }
50685
52354
  },
50686
52355
  {
50687
- "id": "himi_blog_post.hide_misleading",
52356
+ "id": "",
50688
52357
  "body": {
50689
52358
  "package": "himalaya",
50690
52359
  "type": "HStack",
50691
52360
  "props": {
50692
- "spacing": 14,
52361
+ "spacing": 10,
52362
+ "alignment": "center",
50693
52363
  "children": [
50694
52364
  {
50695
- "id": "",
52365
+ "id": "himi_blog_post.composer_avatar.photo",
50696
52366
  "body": {
50697
52367
  "package": "himalaya",
50698
- "type": "Icon",
52368
+ "type": "Image",
50699
52369
  "props": {
50700
- "name": "chevron_right",
50701
- "size": 22,
50702
- "tint": "textPrimary"
52370
+ "url": "$service:himiBlogPost.memberPhoto",
52371
+ "width": 32,
52372
+ "height": 32,
52373
+ "contentMode": "fill",
52374
+ "shape": "circle"
50703
52375
  }
50704
52376
  },
50705
52377
  "modifiers": {
50706
- "accessibilityRole": "decorative"
52378
+ "accessibilityRole": "decorative",
52379
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
50707
52380
  }
50708
52381
  },
50709
52382
  {
50710
52383
  "id": "",
50711
52384
  "body": {
50712
52385
  "package": "himalaya",
50713
- "type": "Text",
52386
+ "type": "ZStack",
50714
52387
  "props": {
50715
- "text": "It is misleading",
50716
- "style": "body"
52388
+ "alignment": "center",
52389
+ "children": [
52390
+ {
52391
+ "id": "",
52392
+ "body": {
52393
+ "package": "himalaya",
52394
+ "type": "Icon",
52395
+ "props": {
52396
+ "name": "person",
52397
+ "size": 16,
52398
+ "tint": "accentPrimary"
52399
+ }
52400
+ },
52401
+ "modifiers": {
52402
+ "accessibilityRole": "decorative",
52403
+ "hiddenPath": "$service:himiBlogPost.isMember"
52404
+ }
52405
+ },
52406
+ {
52407
+ "id": "",
52408
+ "body": {
52409
+ "package": "himalaya",
52410
+ "type": "Text",
52411
+ "props": {
52412
+ "text": "$service:himiBlogPost.memberInitial",
52413
+ "style": "footnote",
52414
+ "color": "accentPrimary",
52415
+ "collapseWhenEmpty": true
52416
+ }
52417
+ }
52418
+ }
52419
+ ]
50717
52420
  }
52421
+ },
52422
+ "modifiers": {
52423
+ "width": 32,
52424
+ "height": 32,
52425
+ "background": {
52426
+ "token": "accentSurface"
52427
+ },
52428
+ "cornerRadius": 16,
52429
+ "accessibilityRole": "decorative",
52430
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
50718
52431
  }
50719
52432
  },
50720
52433
  {
50721
- "id": "",
50722
- "body": {
50723
- "package": "himalaya",
50724
- "type": "Spacer",
50725
- "props": {}
50726
- }
50727
- }
50728
- ]
50729
- }
50730
- },
50731
- "modifiers": {
50732
- "onTap": {
50733
- "actionId": "tier5.himiBlogPost.hide",
50734
- "params": {
50735
- "reason": "misleading"
50736
- }
50737
- },
50738
- "accessibilityRole": "button",
50739
- "accessibilityLabel": "It is misleading",
50740
- "padding": {
50741
- "top": 11,
50742
- "bottom": 11
50743
- }
50744
- }
50745
- },
50746
- {
50747
- "id": "himi_blog_post.hide_other",
50748
- "body": {
50749
- "package": "himalaya",
50750
- "type": "HStack",
50751
- "props": {
50752
- "spacing": 14,
50753
- "children": [
50754
- {
50755
- "id": "",
52434
+ "id": "himi_blog_post.comment_input",
50756
52435
  "body": {
50757
52436
  "package": "himalaya",
50758
- "type": "Icon",
52437
+ "type": "TextField",
50759
52438
  "props": {
50760
- "name": "chevron_right",
50761
- "size": 22,
50762
- "tint": "textPrimary"
52439
+ "placeholder": "Write a comment",
52440
+ "valuePath": "$service:himiBlogPost.commentText",
52441
+ "multilineMaxLines": 4,
52442
+ "focusPath": "$service:himiBlogPost.composerFocus",
52443
+ "borderless": true,
52444
+ "autoCapitalization": "sentences",
52445
+ "onChange": {
52446
+ "actionId": "tier5.himiBlogPost.setComment"
52447
+ }
50763
52448
  }
50764
52449
  },
50765
52450
  "modifiers": {
50766
- "accessibilityRole": "decorative"
52451
+ "background": {
52452
+ "token": "surfaceSecondary"
52453
+ },
52454
+ "cornerRadius": 20,
52455
+ "padding": {
52456
+ "leading": 14,
52457
+ "trailing": 14,
52458
+ "top": 8,
52459
+ "bottom": 8
52460
+ },
52461
+ "weight": 1
50767
52462
  }
50768
52463
  },
50769
52464
  {
50770
- "id": "",
52465
+ "id": "himi_blog_post.comment_submit",
50771
52466
  "body": {
50772
52467
  "package": "himalaya",
50773
- "type": "Text",
52468
+ "type": "ZStack",
50774
52469
  "props": {
50775
- "text": "Something else",
50776
- "style": "body"
52470
+ "alignment": "center",
52471
+ "children": [
52472
+ {
52473
+ "id": "",
52474
+ "body": {
52475
+ "package": "himalaya",
52476
+ "type": "ZStack",
52477
+ "props": {
52478
+ "alignment": "center",
52479
+ "children": [
52480
+ {
52481
+ "id": "",
52482
+ "body": {
52483
+ "package": "himalaya",
52484
+ "type": "Icon",
52485
+ "props": {
52486
+ "name": "arrow_up",
52487
+ "size": 18,
52488
+ "tint": "textOnAccent"
52489
+ }
52490
+ },
52491
+ "modifiers": {
52492
+ "accessibilityRole": "decorative"
52493
+ }
52494
+ }
52495
+ ]
52496
+ }
52497
+ },
52498
+ "modifiers": {
52499
+ "width": 36,
52500
+ "height": 36,
52501
+ "cornerRadius": 18,
52502
+ "background": {
52503
+ "token": "accentPrimary"
52504
+ },
52505
+ "accessibilityRole": "decorative"
52506
+ }
52507
+ }
52508
+ ]
50777
52509
  }
52510
+ },
52511
+ "modifiers": {
52512
+ "width": 44,
52513
+ "height": 44,
52514
+ "accessibilityRole": "button",
52515
+ "accessibilityLabel": "Send comment",
52516
+ "onTap": {
52517
+ "actionId": "tier5.himiBlogPost.submitComment"
52518
+ },
52519
+ "pressFeedback": "scale",
52520
+ "haptic": "light",
52521
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
50778
52522
  }
50779
52523
  },
50780
52524
  {
50781
- "id": "",
52525
+ "id": "himi_blog_post.comment_submit_off",
50782
52526
  "body": {
50783
52527
  "package": "himalaya",
50784
- "type": "Spacer",
50785
- "props": {}
52528
+ "type": "ZStack",
52529
+ "props": {
52530
+ "alignment": "center",
52531
+ "children": [
52532
+ {
52533
+ "id": "",
52534
+ "body": {
52535
+ "package": "himalaya",
52536
+ "type": "ZStack",
52537
+ "props": {
52538
+ "alignment": "center",
52539
+ "children": [
52540
+ {
52541
+ "id": "",
52542
+ "body": {
52543
+ "package": "himalaya",
52544
+ "type": "Icon",
52545
+ "props": {
52546
+ "name": "arrow_up",
52547
+ "size": 18,
52548
+ "tint": "textTertiary"
52549
+ }
52550
+ },
52551
+ "modifiers": {
52552
+ "accessibilityRole": "decorative"
52553
+ }
52554
+ }
52555
+ ]
52556
+ }
52557
+ },
52558
+ "modifiers": {
52559
+ "width": 36,
52560
+ "height": 36,
52561
+ "cornerRadius": 18,
52562
+ "background": {
52563
+ "token": "surfaceSecondary"
52564
+ },
52565
+ "accessibilityRole": "decorative"
52566
+ }
52567
+ }
52568
+ ]
52569
+ }
52570
+ },
52571
+ "modifiers": {
52572
+ "width": 44,
52573
+ "height": 44,
52574
+ "accessibilityRole": "button",
52575
+ "accessibilityLabel": "Send comment",
52576
+ "hiddenPath": "$service:himiBlogPost.canSend"
50786
52577
  }
50787
52578
  }
50788
52579
  ]
50789
52580
  }
50790
- },
50791
- "modifiers": {
50792
- "onTap": {
50793
- "actionId": "tier5.himiBlogPost.hide",
50794
- "params": {
50795
- "reason": "other"
50796
- }
50797
- },
50798
- "accessibilityRole": "button",
50799
- "accessibilityLabel": "Something else",
50800
- "padding": {
50801
- "top": 11,
50802
- "bottom": 11
50803
- }
50804
52581
  }
50805
52582
  },
50806
52583
  {
50807
- "id": "himi_blog_post.hide_cancel",
52584
+ "id": "himi_blog_post.comment_error",
50808
52585
  "body": {
50809
52586
  "package": "himalaya",
50810
- "type": "Button",
52587
+ "type": "Text",
50811
52588
  "props": {
50812
- "title": "Cancel",
50813
- "style": "secondary",
50814
- "fullWidth": true,
50815
- "action": {
50816
- "actionId": "tier5.himiBlogPost.closeHide"
50817
- }
52589
+ "text": "$service:himiBlogPost.sendError",
52590
+ "style": "footnote",
52591
+ "color": "danger"
50818
52592
  }
50819
52593
  },
50820
52594
  "modifiers": {
50821
- "padding": {
50822
- "top": 8
50823
- }
52595
+ "hiddenPath": "$service:himiBlogPost.noSendError"
50824
52596
  }
50825
52597
  }
50826
52598
  ]
50827
52599
  }
50828
52600
  },
50829
52601
  "modifiers": {
50830
- "padding": {
50831
- "leading": 20,
50832
- "trailing": 20,
50833
- "top": 12,
50834
- "bottom": 8
50835
- }
52602
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
50836
52603
  }
50837
52604
  }
50838
52605
  }
@@ -50889,7 +52656,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
50889
52656
  "share",
50890
52657
  "local_database",
50891
52658
  "open_url",
50892
- "ui"
52659
+ "ui",
52660
+ "keyboard"
50893
52661
  ],
50894
52662
  "minBinaryVersion": "0.1.0",
50895
52663
  "bundleVersion": "0.0.1"