@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
@@ -19469,7 +19469,7 @@ const SCREENS = runtimeSetting({
19469
19469
  "alignment": "leading",
19470
19470
  "children": [
19471
19471
  {
19472
- "id": "",
19472
+ "id": "himi_blog.heading",
19473
19473
  "body": {
19474
19474
  "package": "himalaya",
19475
19475
  "type": "VStack",
@@ -19490,19 +19490,6 @@ const SCREENS = runtimeSetting({
19490
19490
  "modifiers": {
19491
19491
  "accessibilityRole": "heading"
19492
19492
  }
19493
- },
19494
- {
19495
- "id": "himi_blog.subtitle",
19496
- "body": {
19497
- "package": "himalaya",
19498
- "type": "Text",
19499
- "props": {
19500
- "text": "Read the latest notes.",
19501
- "style": "body",
19502
- "color": "textSecondary",
19503
- "collapseWhenEmpty": true
19504
- }
19505
- }
19506
19493
  }
19507
19494
  ]
19508
19495
  }
@@ -19581,6 +19568,7 @@ const SCREENS = runtimeSetting({
19581
19568
  "type": "HStack",
19582
19569
  "props": {
19583
19570
  "spacing": 10,
19571
+ "alignment": "center",
19584
19572
  "children": [
19585
19573
  {
19586
19574
  "id": "",
@@ -19818,6 +19806,7 @@ const SCREENS = runtimeSetting({
19818
19806
  "type": "HStack",
19819
19807
  "props": {
19820
19808
  "spacing": 14,
19809
+ "alignment": "center",
19821
19810
  "children": [
19822
19811
  {
19823
19812
  "id": "",
@@ -19957,6 +19946,7 @@ const SCREENS = runtimeSetting({
19957
19946
  "type": "HStack",
19958
19947
  "props": {
19959
19948
  "spacing": 4,
19949
+ "alignment": "center",
19960
19950
  "children": [
19961
19951
  {
19962
19952
  "id": "",
@@ -20011,6 +20001,7 @@ const SCREENS = runtimeSetting({
20011
20001
  "type": "HStack",
20012
20002
  "props": {
20013
20003
  "spacing": 12,
20004
+ "alignment": "center",
20014
20005
  "children": [
20015
20006
  {
20016
20007
  "id": "himi_blog.post_author.photo",
@@ -20451,71 +20442,56 @@ const SCREENS = runtimeSetting({
20451
20442
  }
20452
20443
  },
20453
20444
  {
20454
- "id": "",
20445
+ "id": "himi_blog.empty",
20455
20446
  "body": {
20456
20447
  "package": "himalaya",
20457
- "type": "VStack",
20448
+ "type": "EmptyState",
20458
20449
  "props": {
20459
- "spacing": 12,
20460
- "alignment": "center",
20461
- "children": [
20462
- {
20463
- "id": "",
20464
- "body": {
20465
- "package": "himalaya",
20466
- "type": "Icon",
20467
- "props": {
20468
- "name": "newspaper",
20469
- "size": 34,
20470
- "tint": "textTertiary"
20471
- }
20472
- },
20473
- "modifiers": {
20474
- "accessibilityRole": "decorative"
20475
- }
20476
- },
20477
- {
20478
- "id": "",
20479
- "body": {
20480
- "package": "himalaya",
20481
- "type": "Text",
20482
- "props": {
20483
- "text": "$service:himiBlogFeed.emptyText",
20484
- "style": "bodyEmphasis",
20485
- "color": "textSecondary",
20486
- "collapseWhenEmpty": true
20487
- }
20488
- }
20489
- },
20490
- {
20491
- "id": "himi_blog.empty.cta",
20492
- "body": {
20493
- "package": "himalaya",
20494
- "type": "Button",
20495
- "props": {
20496
- "title": "Clear filters",
20497
- "style": "secondary",
20498
- "action": {
20499
- "actionId": "tier5.himiBlogFeed.clearFilters"
20500
- }
20501
- }
20502
- }
20503
- }
20504
- ]
20450
+ "title": "$service:himiBlogFeed.emptyText",
20451
+ "subtitle": "Try a different word or category.",
20452
+ "icon": "search",
20453
+ "actionLabel": "Clear filters",
20454
+ "action": {
20455
+ "actionId": "tier5.himiBlogFeed.clearFilters"
20456
+ }
20505
20457
  }
20506
20458
  },
20507
20459
  "modifiers": {
20508
20460
  "padding": {
20509
20461
  "leading": 24,
20510
20462
  "trailing": 24,
20511
- "top": 24,
20463
+ "top": 48,
20464
+ "bottom": 24
20465
+ },
20466
+ "transition": {
20467
+ "enter": "fade",
20468
+ "exit": "fade"
20469
+ },
20470
+ "hiddenPath": "$service:himiBlogFeed.noMatchHidden"
20471
+ }
20472
+ },
20473
+ {
20474
+ "id": "himi_blog.empty_none",
20475
+ "body": {
20476
+ "package": "himalaya",
20477
+ "type": "EmptyState",
20478
+ "props": {
20479
+ "title": "$service:himiBlogFeed.emptyText",
20480
+ "icon": "document"
20481
+ }
20482
+ },
20483
+ "modifiers": {
20484
+ "padding": {
20485
+ "leading": 24,
20486
+ "trailing": 24,
20487
+ "top": 48,
20512
20488
  "bottom": 24
20513
20489
  },
20514
20490
  "transition": {
20515
20491
  "enter": "fade",
20516
20492
  "exit": "fade"
20517
20493
  },
20518
- "hiddenPath": "$service:himiBlogFeed.noEmpty"
20494
+ "hiddenPath": "$service:himiBlogFeed.noPostsHidden"
20519
20495
  }
20520
20496
  }
20521
20497
  ]
@@ -20544,21 +20520,6 @@ const SCREENS = runtimeSetting({
20544
20520
  ],
20545
20521
  "minBinaryVersion": "0.1.0",
20546
20522
  "bundleVersion": "0.0.1"
20547
- },
20548
- "topBar": {
20549
- "actions": [
20550
- {
20551
- "id": "account",
20552
- "icon": "person",
20553
- "accessibilityLabel": "Account",
20554
- "onTap": {
20555
- "actionId": "himi.open",
20556
- "params": {
20557
- "screenId": "himi_account"
20558
- }
20559
- }
20560
- }
20561
- ]
20562
20523
  }
20563
20524
  },
20564
20525
  "himi_saved": {
@@ -20639,6 +20600,7 @@ const SCREENS = runtimeSetting({
20639
20600
  "type": "HStack",
20640
20601
  "props": {
20641
20602
  "spacing": 10,
20603
+ "alignment": "center",
20642
20604
  "children": [
20643
20605
  {
20644
20606
  "id": "",
@@ -21044,73 +21006,21 @@ const SCREENS = runtimeSetting({
21044
21006
  }
21045
21007
  },
21046
21008
  {
21047
- "id": "",
21009
+ "id": "himi_saved.empty",
21048
21010
  "body": {
21049
21011
  "package": "himalaya",
21050
- "type": "VStack",
21012
+ "type": "EmptyState",
21051
21013
  "props": {
21052
- "spacing": 12,
21053
- "alignment": "center",
21054
- "children": [
21055
- {
21056
- "id": "",
21057
- "body": {
21058
- "package": "himalaya",
21059
- "type": "Icon",
21060
- "props": {
21061
- "name": "bookmark",
21062
- "size": 34,
21063
- "tint": "textTertiary"
21064
- }
21065
- },
21066
- "modifiers": {
21067
- "accessibilityRole": "decorative"
21068
- }
21069
- },
21070
- {
21071
- "id": "",
21072
- "body": {
21073
- "package": "himalaya",
21074
- "type": "Text",
21075
- "props": {
21076
- "text": "$service:himiBlogSaved.emptyText",
21077
- "style": "bodyEmphasis",
21078
- "color": "textSecondary",
21079
- "collapseWhenEmpty": true
21080
- }
21081
- }
21082
- },
21083
- {
21084
- "id": "",
21085
- "body": {
21086
- "package": "himalaya",
21087
- "type": "Text",
21088
- "props": {
21089
- "text": "Tap the bookmark on a post to read it later.",
21090
- "style": "footnote",
21091
- "color": "textTertiary",
21092
- "maxLines": 2
21093
- }
21094
- }
21095
- },
21096
- {
21097
- "id": "himi_saved.empty.cta",
21098
- "body": {
21099
- "package": "himalaya",
21100
- "type": "Button",
21101
- "props": {
21102
- "title": "Browse Blog",
21103
- "style": "secondary",
21104
- "action": {
21105
- "actionId": "himi.open",
21106
- "params": {
21107
- "screenId": "himi_blog"
21108
- }
21109
- }
21110
- }
21111
- }
21014
+ "title": "$service:himiBlogSaved.emptyText",
21015
+ "subtitle": "Tap the bookmark on a post to read it later.",
21016
+ "icon": "bookmark",
21017
+ "actionLabel": "Browse Blog",
21018
+ "action": {
21019
+ "actionId": "himi.open",
21020
+ "params": {
21021
+ "screenId": "himi_blog"
21112
21022
  }
21113
- ]
21023
+ }
21114
21024
  }
21115
21025
  },
21116
21026
  "modifiers": {
@@ -24024,6 +23934,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
24024
23934
  "type": "HStack",
24025
23935
  "props": {
24026
23936
  "spacing": 10,
23937
+ "alignment": "center",
24027
23938
  "children": [
24028
23939
  {
24029
23940
  "id": "",
@@ -24383,6 +24294,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
24383
24294
  "type": "HStack",
24384
24295
  "props": {
24385
24296
  "spacing": 12,
24297
+ "alignment": "center",
24386
24298
  "children": [
24387
24299
  {
24388
24300
  "id": "himi_blog_post.author.photo",
@@ -25131,41 +25043,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25131
25043
  "accessibilityRole": "decorative"
25132
25044
  }
25133
25045
  },
25134
- {
25135
- "id": "",
25136
- "body": {
25137
- "package": "himalaya",
25138
- "type": "VStack",
25139
- "props": {
25140
- "spacing": 0,
25141
- "alignment": "leading",
25142
- "children": [
25143
- {
25144
- "id": "himi_blog_post.comments_title",
25145
- "body": {
25146
- "package": "himalaya",
25147
- "type": "Text",
25148
- "props": {
25149
- "text": "$service:himiBlogPost.commentsTitle",
25150
- "style": "title3"
25151
- }
25152
- },
25153
- "modifiers": {
25154
- "accessibilityRole": "heading"
25155
- }
25156
- }
25157
- ]
25158
- }
25159
- },
25160
- "modifiers": {
25161
- "padding": {
25162
- "leading": 20,
25163
- "trailing": 20,
25164
- "top": 20,
25165
- "bottom": 4
25166
- }
25167
- }
25168
- },
25169
25046
  {
25170
25047
  "id": "",
25171
25048
  "body": {
@@ -25177,46 +25054,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25177
25054
  "children": [
25178
25055
  {
25179
25056
  "id": "",
25180
- "body": {
25181
- "package": "himalaya",
25182
- "type": "Text",
25183
- "props": {
25184
- "text": "$service:himiBlogPost.commentStatusText",
25185
- "style": "footnote",
25186
- "color": "textSecondary"
25187
- }
25188
- }
25189
- }
25190
- ]
25191
- }
25192
- },
25193
- "modifiers": {
25194
- "padding": {
25195
- "leading": 20,
25196
- "trailing": 20,
25197
- "top": 6,
25198
- "bottom": 6
25199
- },
25200
- "hiddenPath": "$service:himiBlogPost.noCommentStatus"
25201
- }
25202
- },
25203
- {
25204
- "id": "himi_blog_post.comments",
25205
- "body": {
25206
- "package": "himalaya",
25207
- "type": "Grid",
25208
- "props": {
25209
- "columns": 1,
25210
- "spacing": 0,
25211
- "itemsPath": "$service:himiBlogPost.comments",
25212
- "items": [
25213
- {
25214
- "id": "himi_blog_post.comment_row",
25215
25057
  "body": {
25216
25058
  "package": "himalaya",
25217
25059
  "type": "VStack",
25218
25060
  "props": {
25219
- "spacing": 6,
25061
+ "spacing": 14,
25220
25062
  "alignment": "leading",
25221
25063
  "children": [
25222
25064
  {
@@ -25225,73 +25067,54 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25225
25067
  "package": "himalaya",
25226
25068
  "type": "HStack",
25227
25069
  "props": {
25228
- "spacing": 10,
25070
+ "spacing": 8,
25071
+ "alignment": "center",
25229
25072
  "children": [
25230
25073
  {
25231
- "id": "",
25074
+ "id": "himi_blog_post.comments_title",
25232
25075
  "body": {
25233
25076
  "package": "himalaya",
25234
- "type": "ZStack",
25077
+ "type": "Text",
25235
25078
  "props": {
25236
- "alignment": "center",
25237
- "children": [
25238
- {
25239
- "id": "",
25240
- "body": {
25241
- "package": "himalaya",
25242
- "type": "Text",
25243
- "props": {
25244
- "text": "$item.authorInitial",
25245
- "style": "footnote",
25246
- "color": "accentPrimary"
25247
- }
25248
- }
25249
- }
25250
- ]
25079
+ "text": "$service:himiBlogPost.commentsTitle",
25080
+ "style": "title3"
25251
25081
  }
25252
25082
  },
25253
25083
  "modifiers": {
25254
- "width": 32,
25255
- "height": 32,
25256
- "background": {
25257
- "token": "accentSurface"
25258
- },
25259
- "cornerRadius": 16,
25260
- "accessibilityRole": "decorative"
25084
+ "accessibilityRole": "heading"
25261
25085
  }
25262
25086
  },
25263
25087
  {
25264
25088
  "id": "",
25265
25089
  "body": {
25266
25090
  "package": "himalaya",
25267
- "type": "Text",
25268
- "props": {
25269
- "text": "$item.authorName",
25270
- "style": "bodyEmphasis",
25271
- "maxLines": 1
25272
- }
25273
- }
25091
+ "type": "Spacer",
25092
+ "props": {}
25093
+ }
25274
25094
  },
25275
25095
  {
25276
- "id": "",
25096
+ "id": "himi_blog_post.comments_show_all",
25277
25097
  "body": {
25278
25098
  "package": "himalaya",
25279
25099
  "type": "Text",
25280
25100
  "props": {
25281
- "text": "$item.meta",
25282
- "style": "caption",
25283
- "color": "textTertiary",
25284
- "maxLines": 1,
25285
- "collapseWhenEmpty": true
25101
+ "text": "$service:himiBlogPost.showAllLabel",
25102
+ "style": "footnote",
25103
+ "color": "accentPrimary",
25104
+ "maxLines": 1
25286
25105
  }
25287
- }
25288
- },
25289
- {
25290
- "id": "",
25291
- "body": {
25292
- "package": "himalaya",
25293
- "type": "Spacer",
25294
- "props": {}
25106
+ },
25107
+ "modifiers": {
25108
+ "onTap": {
25109
+ "actionId": "tier5.himiBlogPost.openComments"
25110
+ },
25111
+ "accessibilityRole": "button",
25112
+ "padding": {
25113
+ "top": 6,
25114
+ "bottom": 6,
25115
+ "leading": 6
25116
+ },
25117
+ "hiddenPath": "$service:himiBlogPost.noComments"
25295
25118
  }
25296
25119
  }
25297
25120
  ]
@@ -25300,334 +25123,833 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25300
25123
  },
25301
25124
  {
25302
25125
  "id": "",
25126
+ "body": {
25127
+ "package": "himalaya",
25128
+ "type": "Text",
25129
+ "props": {
25130
+ "text": "$service:himiBlogPost.commentStatusText",
25131
+ "style": "footnote",
25132
+ "color": "textSecondary"
25133
+ }
25134
+ },
25135
+ "modifiers": {
25136
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
25137
+ }
25138
+ },
25139
+ {
25140
+ "id": "himi_blog_post.comments_empty",
25303
25141
  "body": {
25304
25142
  "package": "himalaya",
25305
25143
  "type": "VStack",
25306
25144
  "props": {
25307
- "spacing": 0,
25145
+ "spacing": 4,
25308
25146
  "alignment": "leading",
25309
25147
  "children": [
25310
25148
  {
25311
- "id": "comment_body_$item.id",
25149
+ "id": "",
25312
25150
  "body": {
25313
25151
  "package": "himalaya",
25314
- "type": "RichContent",
25152
+ "type": "Text",
25315
25153
  "props": {
25316
- "documentJsonPath": "$item.bodyJson",
25317
- "onLink": {
25318
- "actionId": "tier5.himiBlogPost.openLink"
25319
- },
25320
- "fallback": {
25321
- "id": "",
25322
- "body": {
25323
- "package": "himalaya",
25324
- "type": "Text",
25325
- "props": {
25326
- "text": "$item.text",
25327
- "style": "body",
25328
- "collapseWhenEmpty": true
25329
- }
25330
- }
25331
- }
25154
+ "text": "No comments yet",
25155
+ "style": "bodyEmphasis"
25332
25156
  }
25333
25157
  }
25334
25158
  },
25335
25159
  {
25336
- "id": "comment_body_text_$item.id",
25160
+ "id": "",
25337
25161
  "body": {
25338
25162
  "package": "himalaya",
25339
25163
  "type": "Text",
25340
25164
  "props": {
25341
- "text": "$item.text",
25342
- "style": "body",
25343
- "collapseWhenEmpty": true
25165
+ "text": "Be the first to share your thoughts.",
25166
+ "style": "footnote",
25167
+ "color": "textSecondary"
25344
25168
  }
25345
- },
25346
- "modifiers": {
25347
- "hiddenPath": "$item.hasBodyJson"
25348
25169
  }
25349
25170
  }
25350
25171
  ]
25351
25172
  }
25352
25173
  },
25353
25174
  "modifiers": {
25354
- "padding": {
25355
- "leading": 42
25356
- }
25357
- }
25358
- },
25359
- {
25360
- "id": "",
25361
- "body": {
25362
- "package": "himalaya",
25363
- "type": "Divider",
25364
- "props": {}
25365
- },
25366
- "modifiers": {
25367
- "padding": {
25368
- "top": 10
25369
- }
25370
- }
25371
- }
25372
- ]
25373
- }
25374
- },
25375
- "modifiers": {
25376
- "padding": {
25377
- "leading": 20,
25378
- "trailing": 20,
25379
- "top": 12
25380
- }
25381
- }
25382
- }
25383
- ]
25384
- }
25385
- }
25386
- },
25387
- {
25388
- "id": "",
25389
- "body": {
25390
- "package": "himalaya",
25391
- "type": "VStack",
25392
- "props": {
25393
- "spacing": 0,
25394
- "alignment": "leading",
25395
- "children": [
25396
- {
25397
- "id": "himi_blog_post.comment_composer",
25398
- "body": {
25399
- "package": "himalaya",
25400
- "type": "VStack",
25401
- "props": {
25402
- "spacing": 10,
25403
- "alignment": "leading",
25404
- "children": [
25405
- {
25406
- "id": "himi_blog_post.comment_input",
25407
- "body": {
25408
- "package": "himalaya",
25409
- "type": "TextField",
25410
- "props": {
25411
- "placeholder": "Write a comment",
25412
- "valuePath": "$service:himiBlogPost.commentText",
25413
- "multilineMaxLines": 4,
25414
- "onChange": {
25415
- "actionId": "tier5.himiBlogPost.setComment"
25416
- }
25417
- }
25418
- }
25419
- },
25420
- {
25421
- "id": "himi_blog_post.comment_submit",
25422
- "body": {
25423
- "package": "himalaya",
25424
- "type": "Button",
25425
- "props": {
25426
- "title": "Post comment",
25427
- "style": "primary",
25428
- "fullWidth": false,
25429
- "action": {
25430
- "actionId": "tier5.himiBlogPost.submitComment"
25431
- }
25432
- }
25433
- }
25434
- }
25435
- ]
25436
- }
25437
- }
25438
- }
25439
- ]
25440
- }
25441
- },
25442
- "modifiers": {
25443
- "padding": {
25444
- "leading": 20,
25445
- "trailing": 20,
25446
- "top": 12,
25447
- "bottom": 16
25448
- },
25449
- "hiddenPath": "$service:himiBlogPost.commentsOff"
25450
- }
25451
- }
25452
- ]
25453
- }
25454
- }
25455
- },
25456
- {
25457
- "id": "himi_blog_post.recent_section",
25458
- "body": {
25459
- "package": "himalaya",
25460
- "type": "VStack",
25461
- "props": {
25462
- "spacing": 0,
25463
- "alignment": "leading",
25464
- "children": [
25465
- {
25466
- "id": "himi_blog_post.recent_band",
25467
- "body": {
25468
- "package": "himalaya",
25469
- "type": "VStack",
25470
- "props": {
25471
- "spacing": 0,
25472
- "children": []
25473
- }
25474
- },
25475
- "modifiers": {
25476
- "height": 12,
25477
- "fillMaxWidth": true,
25478
- "background": {
25479
- "token": "surfaceSecondary"
25480
- },
25481
- "accessibilityRole": "decorative"
25482
- }
25483
- },
25484
- {
25485
- "id": "",
25486
- "body": {
25487
- "package": "himalaya",
25488
- "type": "VStack",
25489
- "props": {
25490
- "spacing": 0,
25491
- "alignment": "leading",
25492
- "children": [
25493
- {
25494
- "id": "",
25495
- "body": {
25496
- "package": "himalaya",
25497
- "type": "Text",
25498
- "props": {
25499
- "text": "Recent posts",
25500
- "style": "title3"
25501
- }
25502
- },
25503
- "modifiers": {
25504
- "accessibilityRole": "heading"
25505
- }
25506
- }
25507
- ]
25508
- }
25509
- },
25510
- "modifiers": {
25511
- "padding": {
25512
- "leading": 20,
25513
- "trailing": 20,
25514
- "top": 20,
25515
- "bottom": 4
25516
- }
25517
- }
25518
- },
25519
- {
25520
- "id": "himi_blog_post.recent",
25521
- "body": {
25522
- "package": "himalaya",
25523
- "type": "Grid",
25524
- "props": {
25525
- "columns": 1,
25526
- "spacing": 0,
25527
- "itemsPath": "$service:himiBlogPost.recent",
25528
- "items": [
25529
- {
25530
- "id": "himi_blog_post.recent_row",
25531
- "body": {
25532
- "package": "himalaya",
25533
- "type": "HStack",
25534
- "props": {
25535
- "spacing": 12,
25536
- "children": [
25537
- {
25538
- "id": "himi_blog_post.recent_cover",
25539
- "body": {
25540
- "package": "himalaya",
25541
- "type": "Image",
25542
- "props": {
25543
- "url": "$item.cover",
25544
- "width": 72,
25545
- "height": 72,
25546
- "contentMode": "fill"
25547
- }
25548
- },
25549
- "modifiers": {
25550
- "accessibilityRole": "decorative",
25551
- "cornerRadius": 8,
25552
- "hiddenPath": "$item.noCover"
25175
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
25553
25176
  }
25554
25177
  },
25555
25178
  {
25556
- "id": "",
25179
+ "id": "himi_blog_post.comments",
25557
25180
  "body": {
25558
25181
  "package": "himalaya",
25559
- "type": "ZStack",
25182
+ "type": "Grid",
25560
25183
  "props": {
25561
- "alignment": "center",
25562
- "children": [
25184
+ "columns": 1,
25185
+ "spacing": 16,
25186
+ "itemsPath": "$service:himiBlogPost.latestComments",
25187
+ "items": [
25563
25188
  {
25564
- "id": "",
25189
+ "id": "himi_blog_post.comment_row",
25565
25190
  "body": {
25566
25191
  "package": "himalaya",
25567
- "type": "Icon",
25192
+ "type": "HStack",
25568
25193
  "props": {
25569
- "name": "newspaper",
25570
- "size": 22,
25571
- "tint": "textTertiary"
25194
+ "spacing": 10,
25195
+ "alignment": "leading",
25196
+ "children": [
25197
+ {
25198
+ "id": "himi_blog_post.comment_avatar.photo",
25199
+ "body": {
25200
+ "package": "himalaya",
25201
+ "type": "Image",
25202
+ "props": {
25203
+ "url": "$item.authorPhoto",
25204
+ "width": 32,
25205
+ "height": 32,
25206
+ "contentMode": "fill",
25207
+ "shape": "circle"
25208
+ }
25209
+ },
25210
+ "modifiers": {
25211
+ "accessibilityRole": "decorative",
25212
+ "hiddenPath": "$item.noAuthorPhoto"
25213
+ }
25214
+ },
25215
+ {
25216
+ "id": "",
25217
+ "body": {
25218
+ "package": "himalaya",
25219
+ "type": "ZStack",
25220
+ "props": {
25221
+ "alignment": "center",
25222
+ "children": [
25223
+ {
25224
+ "id": "",
25225
+ "body": {
25226
+ "package": "himalaya",
25227
+ "type": "Text",
25228
+ "props": {
25229
+ "text": "$item.authorInitial",
25230
+ "style": "footnote",
25231
+ "color": "accentPrimary",
25232
+ "collapseWhenEmpty": true
25233
+ }
25234
+ }
25235
+ }
25236
+ ]
25237
+ }
25238
+ },
25239
+ "modifiers": {
25240
+ "width": 32,
25241
+ "height": 32,
25242
+ "background": {
25243
+ "token": "accentSurface"
25244
+ },
25245
+ "cornerRadius": 16,
25246
+ "accessibilityRole": "decorative",
25247
+ "hiddenPath": "$item.hasAuthorPhoto"
25248
+ }
25249
+ },
25250
+ {
25251
+ "id": "",
25252
+ "body": {
25253
+ "package": "himalaya",
25254
+ "type": "VStack",
25255
+ "props": {
25256
+ "spacing": 4,
25257
+ "alignment": "leading",
25258
+ "children": [
25259
+ {
25260
+ "id": "",
25261
+ "body": {
25262
+ "package": "himalaya",
25263
+ "type": "HStack",
25264
+ "props": {
25265
+ "spacing": 6,
25266
+ "alignment": "center",
25267
+ "children": [
25268
+ {
25269
+ "id": "",
25270
+ "body": {
25271
+ "package": "himalaya",
25272
+ "type": "Text",
25273
+ "props": {
25274
+ "text": "$item.authorName",
25275
+ "style": "footnote",
25276
+ "maxLines": 1
25277
+ }
25278
+ }
25279
+ },
25280
+ {
25281
+ "id": "",
25282
+ "body": {
25283
+ "package": "himalaya",
25284
+ "type": "Text",
25285
+ "props": {
25286
+ "text": "$item.meta",
25287
+ "style": "caption",
25288
+ "color": "textTertiary",
25289
+ "maxLines": 1,
25290
+ "collapseWhenEmpty": true
25291
+ }
25292
+ }
25293
+ },
25294
+ {
25295
+ "id": "",
25296
+ "body": {
25297
+ "package": "himalaya",
25298
+ "type": "Spacer",
25299
+ "props": {}
25300
+ }
25301
+ },
25302
+ {
25303
+ "id": "",
25304
+ "body": {
25305
+ "package": "himalaya",
25306
+ "type": "HStack",
25307
+ "props": {
25308
+ "spacing": 0,
25309
+ "alignment": "center",
25310
+ "children": [
25311
+ {
25312
+ "id": "himi_blog_post.comment_menu",
25313
+ "body": {
25314
+ "package": "himalaya",
25315
+ "type": "Menu",
25316
+ "props": {
25317
+ "anchor": {
25318
+ "id": "",
25319
+ "body": {
25320
+ "package": "himalaya",
25321
+ "type": "Icon",
25322
+ "props": {
25323
+ "name": "more_vertical",
25324
+ "size": 18,
25325
+ "tint": "textSecondary"
25326
+ }
25327
+ },
25328
+ "modifiers": {
25329
+ "accessibilityRole": "button",
25330
+ "accessibilityLabel": "Comment actions",
25331
+ "padding": {
25332
+ "leading": 13,
25333
+ "trailing": 13,
25334
+ "top": 4,
25335
+ "bottom": 4
25336
+ }
25337
+ }
25338
+ },
25339
+ "style": "dropdown",
25340
+ "items": [
25341
+ {
25342
+ "id": "report",
25343
+ "label": "Report",
25344
+ "icon": "warning",
25345
+ "action": {
25346
+ "actionId": "tier5.himiBlogPost.reportComment",
25347
+ "params": {
25348
+ "id": "$item.id"
25349
+ }
25350
+ }
25351
+ }
25352
+ ]
25353
+ }
25354
+ }
25355
+ }
25356
+ ]
25357
+ }
25358
+ },
25359
+ "modifiers": {
25360
+ "hiddenPath": "$item.noReport"
25361
+ }
25362
+ }
25363
+ ]
25364
+ }
25365
+ }
25366
+ },
25367
+ {
25368
+ "id": "comment_preview_$item.id",
25369
+ "body": {
25370
+ "package": "himalaya",
25371
+ "type": "Text",
25372
+ "props": {
25373
+ "text": "$item.preview",
25374
+ "style": "body",
25375
+ "maxLines": 2
25376
+ }
25377
+ }
25378
+ },
25379
+ {
25380
+ "id": "",
25381
+ "body": {
25382
+ "package": "himalaya",
25383
+ "type": "HStack",
25384
+ "props": {
25385
+ "spacing": 12,
25386
+ "alignment": "center",
25387
+ "children": [
25388
+ {
25389
+ "id": "",
25390
+ "body": {
25391
+ "package": "himalaya",
25392
+ "type": "HStack",
25393
+ "props": {
25394
+ "spacing": 0,
25395
+ "alignment": "center",
25396
+ "children": [
25397
+ {
25398
+ "id": "himi_blog_post.comment_like",
25399
+ "body": {
25400
+ "package": "himalaya",
25401
+ "type": "HStack",
25402
+ "props": {
25403
+ "spacing": 4,
25404
+ "alignment": "center",
25405
+ "children": [
25406
+ {
25407
+ "id": "",
25408
+ "body": {
25409
+ "package": "himalaya",
25410
+ "type": "Icon",
25411
+ "props": {
25412
+ "name": "heart",
25413
+ "size": 14,
25414
+ "tint": "textSecondary"
25415
+ }
25416
+ },
25417
+ "modifiers": {
25418
+ "accessibilityRole": "decorative"
25419
+ }
25420
+ },
25421
+ {
25422
+ "id": "",
25423
+ "body": {
25424
+ "package": "himalaya",
25425
+ "type": "Text",
25426
+ "props": {
25427
+ "text": "$item.likes",
25428
+ "style": "caption",
25429
+ "color": "textSecondary",
25430
+ "monospacedDigits": true
25431
+ }
25432
+ }
25433
+ }
25434
+ ]
25435
+ }
25436
+ },
25437
+ "modifiers": {
25438
+ "border": {
25439
+ "width": 1,
25440
+ "color": {
25441
+ "token": "border"
25442
+ }
25443
+ },
25444
+ "cornerRadius": 999,
25445
+ "padding": {
25446
+ "leading": 10,
25447
+ "trailing": 10,
25448
+ "top": 4,
25449
+ "bottom": 4
25450
+ },
25451
+ "onTap": {
25452
+ "actionId": "tier5.himiBlogPost.likeComment",
25453
+ "params": {
25454
+ "id": "$item.id"
25455
+ }
25456
+ },
25457
+ "pressFeedback": "scale",
25458
+ "haptic": "light",
25459
+ "accessibilityRole": "button",
25460
+ "accessibilityLabel": "Like",
25461
+ "hiddenPath": "$item.liked"
25462
+ }
25463
+ },
25464
+ {
25465
+ "id": "himi_blog_post.comment_unlike",
25466
+ "body": {
25467
+ "package": "himalaya",
25468
+ "type": "HStack",
25469
+ "props": {
25470
+ "spacing": 4,
25471
+ "alignment": "center",
25472
+ "children": [
25473
+ {
25474
+ "id": "",
25475
+ "body": {
25476
+ "package": "himalaya",
25477
+ "type": "Icon",
25478
+ "props": {
25479
+ "name": "heart_fill",
25480
+ "size": 14,
25481
+ "tint": "danger"
25482
+ }
25483
+ },
25484
+ "modifiers": {
25485
+ "accessibilityRole": "decorative"
25486
+ }
25487
+ },
25488
+ {
25489
+ "id": "",
25490
+ "body": {
25491
+ "package": "himalaya",
25492
+ "type": "Text",
25493
+ "props": {
25494
+ "text": "$item.likes",
25495
+ "style": "caption",
25496
+ "color": "danger",
25497
+ "monospacedDigits": true
25498
+ }
25499
+ }
25500
+ }
25501
+ ]
25502
+ }
25503
+ },
25504
+ "modifiers": {
25505
+ "background": {
25506
+ "token": "dangerSurface"
25507
+ },
25508
+ "cornerRadius": 999,
25509
+ "padding": {
25510
+ "leading": 10,
25511
+ "trailing": 10,
25512
+ "top": 4,
25513
+ "bottom": 4
25514
+ },
25515
+ "onTap": {
25516
+ "actionId": "tier5.himiBlogPost.unlikeComment",
25517
+ "params": {
25518
+ "id": "$item.id"
25519
+ }
25520
+ },
25521
+ "pressFeedback": "scale",
25522
+ "haptic": "light",
25523
+ "accessibilityRole": "button",
25524
+ "accessibilityLabel": "Unlike",
25525
+ "hiddenPath": "$item.notLiked"
25526
+ }
25527
+ }
25528
+ ]
25529
+ }
25530
+ },
25531
+ "modifiers": {
25532
+ "hiddenPath": "$item.noLikes"
25533
+ }
25534
+ },
25535
+ {
25536
+ "id": "",
25537
+ "body": {
25538
+ "package": "himalaya",
25539
+ "type": "HStack",
25540
+ "props": {
25541
+ "spacing": 0,
25542
+ "alignment": "center",
25543
+ "children": [
25544
+ {
25545
+ "id": "himi_blog_post.comment_reply",
25546
+ "body": {
25547
+ "package": "himalaya",
25548
+ "type": "Text",
25549
+ "props": {
25550
+ "text": "Reply",
25551
+ "style": "caption",
25552
+ "color": "textSecondary"
25553
+ }
25554
+ },
25555
+ "modifiers": {
25556
+ "onTap": {
25557
+ "actionId": "tier5.himiBlogPost.replyTo",
25558
+ "params": {
25559
+ "id": "$item.id"
25560
+ }
25561
+ },
25562
+ "accessibilityRole": "button",
25563
+ "padding": {
25564
+ "top": 4,
25565
+ "bottom": 4,
25566
+ "leading": 4,
25567
+ "trailing": 4
25568
+ },
25569
+ "hiddenPath": "$item.noReply"
25570
+ }
25571
+ }
25572
+ ]
25573
+ }
25574
+ },
25575
+ "modifiers": {
25576
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
25577
+ }
25578
+ },
25579
+ {
25580
+ "id": "",
25581
+ "body": {
25582
+ "package": "himalaya",
25583
+ "type": "Spacer",
25584
+ "props": {}
25585
+ }
25586
+ }
25587
+ ]
25588
+ }
25589
+ }
25590
+ }
25591
+ ]
25592
+ }
25593
+ },
25594
+ "modifiers": {
25595
+ "weight": 1
25596
+ }
25597
+ }
25598
+ ]
25572
25599
  }
25573
25600
  },
25574
25601
  "modifiers": {
25575
- "accessibilityRole": "decorative"
25602
+ "fillMaxWidth": true
25576
25603
  }
25577
25604
  }
25578
25605
  ]
25579
25606
  }
25580
- },
25581
- "modifiers": {
25582
- "width": 72,
25583
- "height": 72,
25584
- "background": {
25585
- "token": "surfaceSecondary"
25586
- },
25587
- "cornerRadius": 8,
25588
- "accessibilityRole": "decorative",
25589
- "hiddenPath": "$item.hasCover"
25590
25607
  }
25591
25608
  },
25592
25609
  {
25593
- "id": "",
25610
+ "id": "himi_blog_post.comment_open_composer",
25594
25611
  "body": {
25595
25612
  "package": "himalaya",
25596
- "type": "VStack",
25613
+ "type": "HStack",
25597
25614
  "props": {
25598
- "spacing": 4,
25599
- "alignment": "leading",
25615
+ "spacing": 10,
25616
+ "alignment": "center",
25600
25617
  "children": [
25601
25618
  {
25602
- "id": "",
25619
+ "id": "himi_blog_post.comment_input_avatar.photo",
25603
25620
  "body": {
25604
25621
  "package": "himalaya",
25605
- "type": "Text",
25622
+ "type": "Image",
25606
25623
  "props": {
25607
- "text": "$item.title",
25608
- "style": "bodyEmphasis",
25609
- "maxLines": 2
25624
+ "url": "$service:himiBlogPost.memberPhoto",
25625
+ "width": 32,
25626
+ "height": 32,
25627
+ "contentMode": "fill",
25628
+ "shape": "circle"
25610
25629
  }
25630
+ },
25631
+ "modifiers": {
25632
+ "accessibilityRole": "decorative",
25633
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
25611
25634
  }
25612
25635
  },
25613
25636
  {
25614
25637
  "id": "",
25615
25638
  "body": {
25616
25639
  "package": "himalaya",
25617
- "type": "Text",
25640
+ "type": "ZStack",
25618
25641
  "props": {
25619
- "text": "$item.date",
25620
- "style": "caption",
25621
- "color": "textSecondary",
25622
- "maxLines": 1,
25623
- "collapseWhenEmpty": true
25642
+ "alignment": "center",
25643
+ "children": [
25644
+ {
25645
+ "id": "",
25646
+ "body": {
25647
+ "package": "himalaya",
25648
+ "type": "Icon",
25649
+ "props": {
25650
+ "name": "person",
25651
+ "size": 16,
25652
+ "tint": "accentPrimary"
25653
+ }
25654
+ },
25655
+ "modifiers": {
25656
+ "accessibilityRole": "decorative",
25657
+ "hiddenPath": "$service:himiBlogPost.isMember"
25658
+ }
25659
+ },
25660
+ {
25661
+ "id": "",
25662
+ "body": {
25663
+ "package": "himalaya",
25664
+ "type": "Text",
25665
+ "props": {
25666
+ "text": "$service:himiBlogPost.memberInitial",
25667
+ "style": "footnote",
25668
+ "color": "accentPrimary",
25669
+ "collapseWhenEmpty": true
25670
+ }
25671
+ }
25672
+ }
25673
+ ]
25624
25674
  }
25675
+ },
25676
+ "modifiers": {
25677
+ "width": 32,
25678
+ "height": 32,
25679
+ "background": {
25680
+ "token": "accentSurface"
25681
+ },
25682
+ "cornerRadius": 16,
25683
+ "accessibilityRole": "decorative",
25684
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
25625
25685
  }
25626
- }
25627
- ]
25628
- }
25629
- }
25630
- },
25686
+ },
25687
+ {
25688
+ "id": "",
25689
+ "body": {
25690
+ "package": "himalaya",
25691
+ "type": "HStack",
25692
+ "props": {
25693
+ "spacing": 0,
25694
+ "alignment": "center",
25695
+ "children": [
25696
+ {
25697
+ "id": "",
25698
+ "body": {
25699
+ "package": "himalaya",
25700
+ "type": "Text",
25701
+ "props": {
25702
+ "text": "Leave a comment…",
25703
+ "style": "body",
25704
+ "color": "textTertiary",
25705
+ "maxLines": 1
25706
+ }
25707
+ }
25708
+ },
25709
+ {
25710
+ "id": "",
25711
+ "body": {
25712
+ "package": "himalaya",
25713
+ "type": "Spacer",
25714
+ "props": {}
25715
+ }
25716
+ }
25717
+ ]
25718
+ }
25719
+ },
25720
+ "modifiers": {
25721
+ "background": {
25722
+ "token": "surfacePrimary"
25723
+ },
25724
+ "cornerRadius": 999,
25725
+ "padding": {
25726
+ "leading": 16,
25727
+ "trailing": 16,
25728
+ "top": 10,
25729
+ "bottom": 10
25730
+ },
25731
+ "weight": 1
25732
+ }
25733
+ }
25734
+ ]
25735
+ }
25736
+ },
25737
+ "modifiers": {
25738
+ "onTap": {
25739
+ "actionId": "tier5.himiBlogPost.openComposer"
25740
+ },
25741
+ "accessibilityRole": "button",
25742
+ "accessibilityLabel": "Leave a comment…",
25743
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
25744
+ }
25745
+ }
25746
+ ]
25747
+ }
25748
+ },
25749
+ "modifiers": {
25750
+ "background": {
25751
+ "token": "surfaceSecondary"
25752
+ },
25753
+ "cornerRadius": 16,
25754
+ "padding": {
25755
+ "leading": 16,
25756
+ "trailing": 16,
25757
+ "top": 16,
25758
+ "bottom": 16
25759
+ }
25760
+ }
25761
+ }
25762
+ ]
25763
+ }
25764
+ },
25765
+ "modifiers": {
25766
+ "padding": {
25767
+ "leading": 20,
25768
+ "trailing": 20,
25769
+ "top": 20,
25770
+ "bottom": 20
25771
+ }
25772
+ }
25773
+ }
25774
+ ]
25775
+ }
25776
+ }
25777
+ },
25778
+ {
25779
+ "id": "himi_blog_post.recent_section",
25780
+ "body": {
25781
+ "package": "himalaya",
25782
+ "type": "VStack",
25783
+ "props": {
25784
+ "spacing": 0,
25785
+ "alignment": "leading",
25786
+ "children": [
25787
+ {
25788
+ "id": "himi_blog_post.recent_band",
25789
+ "body": {
25790
+ "package": "himalaya",
25791
+ "type": "VStack",
25792
+ "props": {
25793
+ "spacing": 0,
25794
+ "children": []
25795
+ }
25796
+ },
25797
+ "modifiers": {
25798
+ "height": 12,
25799
+ "fillMaxWidth": true,
25800
+ "background": {
25801
+ "token": "surfaceSecondary"
25802
+ },
25803
+ "accessibilityRole": "decorative"
25804
+ }
25805
+ },
25806
+ {
25807
+ "id": "",
25808
+ "body": {
25809
+ "package": "himalaya",
25810
+ "type": "VStack",
25811
+ "props": {
25812
+ "spacing": 0,
25813
+ "alignment": "leading",
25814
+ "children": [
25815
+ {
25816
+ "id": "",
25817
+ "body": {
25818
+ "package": "himalaya",
25819
+ "type": "Text",
25820
+ "props": {
25821
+ "text": "Recent posts",
25822
+ "style": "title3"
25823
+ }
25824
+ },
25825
+ "modifiers": {
25826
+ "accessibilityRole": "heading"
25827
+ }
25828
+ }
25829
+ ]
25830
+ }
25831
+ },
25832
+ "modifiers": {
25833
+ "padding": {
25834
+ "leading": 20,
25835
+ "trailing": 20,
25836
+ "top": 20,
25837
+ "bottom": 4
25838
+ }
25839
+ }
25840
+ },
25841
+ {
25842
+ "id": "himi_blog_post.recent",
25843
+ "body": {
25844
+ "package": "himalaya",
25845
+ "type": "Grid",
25846
+ "props": {
25847
+ "columns": 1,
25848
+ "spacing": 0,
25849
+ "itemsPath": "$service:himiBlogPost.recent",
25850
+ "items": [
25851
+ {
25852
+ "id": "himi_blog_post.recent_row",
25853
+ "body": {
25854
+ "package": "himalaya",
25855
+ "type": "HStack",
25856
+ "props": {
25857
+ "spacing": 12,
25858
+ "children": [
25859
+ {
25860
+ "id": "himi_blog_post.recent_cover",
25861
+ "body": {
25862
+ "package": "himalaya",
25863
+ "type": "Image",
25864
+ "props": {
25865
+ "url": "$item.cover",
25866
+ "width": 72,
25867
+ "height": 72,
25868
+ "contentMode": "fill"
25869
+ }
25870
+ },
25871
+ "modifiers": {
25872
+ "accessibilityRole": "decorative",
25873
+ "cornerRadius": 8,
25874
+ "hiddenPath": "$item.noCover"
25875
+ }
25876
+ },
25877
+ {
25878
+ "id": "",
25879
+ "body": {
25880
+ "package": "himalaya",
25881
+ "type": "ZStack",
25882
+ "props": {
25883
+ "alignment": "center",
25884
+ "children": [
25885
+ {
25886
+ "id": "",
25887
+ "body": {
25888
+ "package": "himalaya",
25889
+ "type": "Icon",
25890
+ "props": {
25891
+ "name": "newspaper",
25892
+ "size": 22,
25893
+ "tint": "textTertiary"
25894
+ }
25895
+ },
25896
+ "modifiers": {
25897
+ "accessibilityRole": "decorative"
25898
+ }
25899
+ }
25900
+ ]
25901
+ }
25902
+ },
25903
+ "modifiers": {
25904
+ "width": 72,
25905
+ "height": 72,
25906
+ "background": {
25907
+ "token": "surfaceSecondary"
25908
+ },
25909
+ "cornerRadius": 8,
25910
+ "accessibilityRole": "decorative",
25911
+ "hiddenPath": "$item.hasCover"
25912
+ }
25913
+ },
25914
+ {
25915
+ "id": "",
25916
+ "body": {
25917
+ "package": "himalaya",
25918
+ "type": "VStack",
25919
+ "props": {
25920
+ "spacing": 4,
25921
+ "alignment": "leading",
25922
+ "children": [
25923
+ {
25924
+ "id": "",
25925
+ "body": {
25926
+ "package": "himalaya",
25927
+ "type": "Text",
25928
+ "props": {
25929
+ "text": "$item.title",
25930
+ "style": "bodyEmphasis",
25931
+ "maxLines": 2
25932
+ }
25933
+ }
25934
+ },
25935
+ {
25936
+ "id": "",
25937
+ "body": {
25938
+ "package": "himalaya",
25939
+ "type": "Text",
25940
+ "props": {
25941
+ "text": "$item.date",
25942
+ "style": "caption",
25943
+ "color": "textSecondary",
25944
+ "maxLines": 1,
25945
+ "collapseWhenEmpty": true
25946
+ }
25947
+ }
25948
+ }
25949
+ ]
25950
+ }
25951
+ }
25952
+ },
25631
25953
  {
25632
25954
  "id": "",
25633
25955
  "body": {
@@ -25756,6 +26078,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25756
26078
  "type": "HStack",
25757
26079
  "props": {
25758
26080
  "spacing": 14,
26081
+ "alignment": "center",
25759
26082
  "children": [
25760
26083
  {
25761
26084
  "id": "",
@@ -25814,6 +26137,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25814
26137
  "type": "HStack",
25815
26138
  "props": {
25816
26139
  "spacing": 14,
26140
+ "alignment": "center",
25817
26141
  "children": [
25818
26142
  {
25819
26143
  "id": "",
@@ -25872,6 +26196,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25872
26196
  "type": "HStack",
25873
26197
  "props": {
25874
26198
  "spacing": 14,
26199
+ "alignment": "center",
25875
26200
  "children": [
25876
26201
  {
25877
26202
  "id": "",
@@ -25950,241 +26275,1671 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25950
26275
  "onDismiss": {
25951
26276
  "actionId": "tier5.himiBlogPost.closeHide"
25952
26277
  },
25953
- "content": {
25954
- "id": "",
26278
+ "content": {
26279
+ "id": "",
26280
+ "body": {
26281
+ "package": "himalaya",
26282
+ "type": "VStack",
26283
+ "props": {
26284
+ "spacing": 0,
26285
+ "alignment": "leading",
26286
+ "children": [
26287
+ {
26288
+ "id": "",
26289
+ "body": {
26290
+ "package": "himalaya",
26291
+ "type": "Text",
26292
+ "props": {
26293
+ "text": "Why are you hiding this post?",
26294
+ "style": "title3"
26295
+ }
26296
+ },
26297
+ "modifiers": {
26298
+ "padding": {
26299
+ "bottom": 6
26300
+ }
26301
+ }
26302
+ },
26303
+ {
26304
+ "id": "himi_blog_post.hide_offensive",
26305
+ "body": {
26306
+ "package": "himalaya",
26307
+ "type": "HStack",
26308
+ "props": {
26309
+ "spacing": 14,
26310
+ "alignment": "center",
26311
+ "children": [
26312
+ {
26313
+ "id": "",
26314
+ "body": {
26315
+ "package": "himalaya",
26316
+ "type": "Text",
26317
+ "props": {
26318
+ "text": "It is offensive",
26319
+ "style": "body"
26320
+ }
26321
+ }
26322
+ },
26323
+ {
26324
+ "id": "",
26325
+ "body": {
26326
+ "package": "himalaya",
26327
+ "type": "Spacer",
26328
+ "props": {}
26329
+ }
26330
+ }
26331
+ ]
26332
+ }
26333
+ },
26334
+ "modifiers": {
26335
+ "onTap": {
26336
+ "actionId": "tier5.himiBlogPost.hide",
26337
+ "params": {
26338
+ "reason": "offensive"
26339
+ }
26340
+ },
26341
+ "accessibilityRole": "button",
26342
+ "accessibilityLabel": "It is offensive",
26343
+ "padding": {
26344
+ "top": 11,
26345
+ "bottom": 11
26346
+ }
26347
+ }
26348
+ },
26349
+ {
26350
+ "id": "himi_blog_post.hide_misleading",
26351
+ "body": {
26352
+ "package": "himalaya",
26353
+ "type": "HStack",
26354
+ "props": {
26355
+ "spacing": 14,
26356
+ "alignment": "center",
26357
+ "children": [
26358
+ {
26359
+ "id": "",
26360
+ "body": {
26361
+ "package": "himalaya",
26362
+ "type": "Text",
26363
+ "props": {
26364
+ "text": "It is misleading",
26365
+ "style": "body"
26366
+ }
26367
+ }
26368
+ },
26369
+ {
26370
+ "id": "",
26371
+ "body": {
26372
+ "package": "himalaya",
26373
+ "type": "Spacer",
26374
+ "props": {}
26375
+ }
26376
+ }
26377
+ ]
26378
+ }
26379
+ },
26380
+ "modifiers": {
26381
+ "onTap": {
26382
+ "actionId": "tier5.himiBlogPost.hide",
26383
+ "params": {
26384
+ "reason": "misleading"
26385
+ }
26386
+ },
26387
+ "accessibilityRole": "button",
26388
+ "accessibilityLabel": "It is misleading",
26389
+ "padding": {
26390
+ "top": 11,
26391
+ "bottom": 11
26392
+ }
26393
+ }
26394
+ },
26395
+ {
26396
+ "id": "himi_blog_post.hide_other",
26397
+ "body": {
26398
+ "package": "himalaya",
26399
+ "type": "HStack",
26400
+ "props": {
26401
+ "spacing": 14,
26402
+ "alignment": "center",
26403
+ "children": [
26404
+ {
26405
+ "id": "",
26406
+ "body": {
26407
+ "package": "himalaya",
26408
+ "type": "Text",
26409
+ "props": {
26410
+ "text": "Something else",
26411
+ "style": "body"
26412
+ }
26413
+ }
26414
+ },
26415
+ {
26416
+ "id": "",
26417
+ "body": {
26418
+ "package": "himalaya",
26419
+ "type": "Spacer",
26420
+ "props": {}
26421
+ }
26422
+ }
26423
+ ]
26424
+ }
26425
+ },
26426
+ "modifiers": {
26427
+ "onTap": {
26428
+ "actionId": "tier5.himiBlogPost.hide",
26429
+ "params": {
26430
+ "reason": "other"
26431
+ }
26432
+ },
26433
+ "accessibilityRole": "button",
26434
+ "accessibilityLabel": "Something else",
26435
+ "padding": {
26436
+ "top": 11,
26437
+ "bottom": 11
26438
+ }
26439
+ }
26440
+ },
26441
+ {
26442
+ "id": "himi_blog_post.hide_cancel",
26443
+ "body": {
26444
+ "package": "himalaya",
26445
+ "type": "Button",
26446
+ "props": {
26447
+ "title": "Cancel",
26448
+ "style": "secondary",
26449
+ "fullWidth": true,
26450
+ "action": {
26451
+ "actionId": "tier5.himiBlogPost.closeHide"
26452
+ }
26453
+ }
26454
+ },
26455
+ "modifiers": {
26456
+ "padding": {
26457
+ "top": 8
26458
+ }
26459
+ }
26460
+ }
26461
+ ]
26462
+ }
26463
+ },
26464
+ "modifiers": {
26465
+ "padding": {
26466
+ "leading": 20,
26467
+ "trailing": 20,
26468
+ "top": 12,
26469
+ "bottom": 8
26470
+ }
26471
+ }
26472
+ }
26473
+ }
26474
+ }
26475
+ },
26476
+ {
26477
+ "id": "himi_blog_post.comments_sheet",
26478
+ "body": {
26479
+ "package": "himalaya",
26480
+ "type": "BottomSheet",
26481
+ "props": {
26482
+ "presentedPath": "$service:himiBlogPost.commentsSheetOpen",
26483
+ "dismissible": true,
26484
+ "showGrabber": true,
26485
+ "detents": [
26486
+ 0.9
26487
+ ],
26488
+ "onDismiss": {
26489
+ "actionId": "tier5.himiBlogPost.closeComments"
26490
+ },
26491
+ "content": {
26492
+ "id": "",
26493
+ "body": {
26494
+ "package": "himalaya",
26495
+ "type": "VStack",
26496
+ "props": {
26497
+ "spacing": 12,
26498
+ "alignment": "leading",
26499
+ "children": [
26500
+ {
26501
+ "id": "",
26502
+ "body": {
26503
+ "package": "himalaya",
26504
+ "type": "HStack",
26505
+ "props": {
26506
+ "spacing": 8,
26507
+ "alignment": "center",
26508
+ "children": [
26509
+ {
26510
+ "id": "",
26511
+ "body": {
26512
+ "package": "himalaya",
26513
+ "type": "VStack",
26514
+ "props": {
26515
+ "spacing": 2,
26516
+ "alignment": "leading",
26517
+ "children": [
26518
+ {
26519
+ "id": "himi_blog_post.comments_sheet_title",
26520
+ "body": {
26521
+ "package": "himalaya",
26522
+ "type": "Text",
26523
+ "props": {
26524
+ "text": "$service:himiBlogPost.sheetTitle",
26525
+ "style": "title3"
26526
+ }
26527
+ },
26528
+ "modifiers": {
26529
+ "accessibilityRole": "heading"
26530
+ }
26531
+ },
26532
+ {
26533
+ "id": "",
26534
+ "body": {
26535
+ "package": "himalaya",
26536
+ "type": "Text",
26537
+ "props": {
26538
+ "text": "$service:himiBlogPost.title",
26539
+ "style": "footnote",
26540
+ "color": "textSecondary",
26541
+ "maxLines": 1,
26542
+ "collapseWhenEmpty": true
26543
+ }
26544
+ }
26545
+ }
26546
+ ]
26547
+ }
26548
+ }
26549
+ },
26550
+ {
26551
+ "id": "",
26552
+ "body": {
26553
+ "package": "himalaya",
26554
+ "type": "Spacer",
26555
+ "props": {}
26556
+ }
26557
+ },
26558
+ {
26559
+ "id": "himi_blog_post.comments_close",
26560
+ "body": {
26561
+ "package": "himalaya",
26562
+ "type": "Icon",
26563
+ "props": {
26564
+ "name": "chevron_down",
26565
+ "size": 22,
26566
+ "tint": "textPrimary"
26567
+ }
26568
+ },
26569
+ "modifiers": {
26570
+ "accessibilityRole": "button",
26571
+ "onTap": {
26572
+ "actionId": "tier5.himiBlogPost.closeComments"
26573
+ },
26574
+ "accessibilityLabel": "Close comments",
26575
+ "padding": {
26576
+ "leading": 11,
26577
+ "trailing": 11,
26578
+ "top": 11,
26579
+ "bottom": 11
26580
+ }
26581
+ }
26582
+ }
26583
+ ]
26584
+ }
26585
+ }
26586
+ },
26587
+ {
26588
+ "id": "",
26589
+ "body": {
26590
+ "package": "himalaya",
26591
+ "type": "Text",
26592
+ "props": {
26593
+ "text": "$service:himiBlogPost.commentStatusText",
26594
+ "style": "footnote",
26595
+ "color": "textSecondary"
26596
+ }
26597
+ },
26598
+ "modifiers": {
26599
+ "hiddenPath": "$service:himiBlogPost.noCommentStatus"
26600
+ }
26601
+ },
26602
+ {
26603
+ "id": "",
26604
+ "body": {
26605
+ "package": "himalaya",
26606
+ "type": "VStack",
26607
+ "props": {
26608
+ "spacing": 4,
26609
+ "alignment": "leading",
26610
+ "children": [
26611
+ {
26612
+ "id": "",
26613
+ "body": {
26614
+ "package": "himalaya",
26615
+ "type": "Text",
26616
+ "props": {
26617
+ "text": "No comments yet",
26618
+ "style": "bodyEmphasis"
26619
+ }
26620
+ }
26621
+ },
26622
+ {
26623
+ "id": "",
26624
+ "body": {
26625
+ "package": "himalaya",
26626
+ "type": "Text",
26627
+ "props": {
26628
+ "text": "Be the first to share your thoughts.",
26629
+ "style": "footnote",
26630
+ "color": "textSecondary"
26631
+ }
26632
+ }
26633
+ }
26634
+ ]
26635
+ }
26636
+ },
26637
+ "modifiers": {
26638
+ "hiddenPath": "$service:himiBlogPost.notCommentsEmpty"
26639
+ }
26640
+ },
26641
+ {
26642
+ "id": "himi_blog_post.sheet_comments",
26643
+ "body": {
26644
+ "package": "himalaya",
26645
+ "type": "LazyList",
26646
+ "props": {
26647
+ "spacing": 4,
26648
+ "itemsPath": "$service:himiBlogPost.comments",
26649
+ "items": [
26650
+ {
26651
+ "id": "himi_blog_post.sheet_comment_row",
26652
+ "body": {
26653
+ "package": "himalaya",
26654
+ "type": "VStack",
26655
+ "props": {
26656
+ "spacing": 0,
26657
+ "alignment": "leading",
26658
+ "children": [
26659
+ {
26660
+ "id": "",
26661
+ "body": {
26662
+ "package": "himalaya",
26663
+ "type": "VStack",
26664
+ "props": {
26665
+ "spacing": 0,
26666
+ "alignment": "leading",
26667
+ "children": [
26668
+ {
26669
+ "id": "",
26670
+ "body": {
26671
+ "package": "himalaya",
26672
+ "type": "HStack",
26673
+ "props": {
26674
+ "spacing": 10,
26675
+ "alignment": "leading",
26676
+ "children": [
26677
+ {
26678
+ "id": "himi_blog_post.comment_avatar.photo",
26679
+ "body": {
26680
+ "package": "himalaya",
26681
+ "type": "Image",
26682
+ "props": {
26683
+ "url": "$item.authorPhoto",
26684
+ "width": 32,
26685
+ "height": 32,
26686
+ "contentMode": "fill",
26687
+ "shape": "circle"
26688
+ }
26689
+ },
26690
+ "modifiers": {
26691
+ "accessibilityRole": "decorative",
26692
+ "hiddenPath": "$item.noAuthorPhoto"
26693
+ }
26694
+ },
26695
+ {
26696
+ "id": "",
26697
+ "body": {
26698
+ "package": "himalaya",
26699
+ "type": "ZStack",
26700
+ "props": {
26701
+ "alignment": "center",
26702
+ "children": [
26703
+ {
26704
+ "id": "",
26705
+ "body": {
26706
+ "package": "himalaya",
26707
+ "type": "Text",
26708
+ "props": {
26709
+ "text": "$item.authorInitial",
26710
+ "style": "footnote",
26711
+ "color": "accentPrimary",
26712
+ "collapseWhenEmpty": true
26713
+ }
26714
+ }
26715
+ }
26716
+ ]
26717
+ }
26718
+ },
26719
+ "modifiers": {
26720
+ "width": 32,
26721
+ "height": 32,
26722
+ "background": {
26723
+ "token": "accentSurface"
26724
+ },
26725
+ "cornerRadius": 16,
26726
+ "accessibilityRole": "decorative",
26727
+ "hiddenPath": "$item.hasAuthorPhoto"
26728
+ }
26729
+ },
26730
+ {
26731
+ "id": "",
26732
+ "body": {
26733
+ "package": "himalaya",
26734
+ "type": "VStack",
26735
+ "props": {
26736
+ "spacing": 4,
26737
+ "alignment": "leading",
26738
+ "children": [
26739
+ {
26740
+ "id": "",
26741
+ "body": {
26742
+ "package": "himalaya",
26743
+ "type": "HStack",
26744
+ "props": {
26745
+ "spacing": 6,
26746
+ "alignment": "center",
26747
+ "children": [
26748
+ {
26749
+ "id": "",
26750
+ "body": {
26751
+ "package": "himalaya",
26752
+ "type": "Text",
26753
+ "props": {
26754
+ "text": "$item.authorName",
26755
+ "style": "footnote",
26756
+ "maxLines": 1
26757
+ }
26758
+ }
26759
+ },
26760
+ {
26761
+ "id": "",
26762
+ "body": {
26763
+ "package": "himalaya",
26764
+ "type": "Text",
26765
+ "props": {
26766
+ "text": "$item.meta",
26767
+ "style": "caption",
26768
+ "color": "textTertiary",
26769
+ "maxLines": 1,
26770
+ "collapseWhenEmpty": true
26771
+ }
26772
+ }
26773
+ },
26774
+ {
26775
+ "id": "",
26776
+ "body": {
26777
+ "package": "himalaya",
26778
+ "type": "Spacer",
26779
+ "props": {}
26780
+ }
26781
+ },
26782
+ {
26783
+ "id": "",
26784
+ "body": {
26785
+ "package": "himalaya",
26786
+ "type": "HStack",
26787
+ "props": {
26788
+ "spacing": 0,
26789
+ "alignment": "center",
26790
+ "children": [
26791
+ {
26792
+ "id": "himi_blog_post.reply_menu",
26793
+ "body": {
26794
+ "package": "himalaya",
26795
+ "type": "Menu",
26796
+ "props": {
26797
+ "anchor": {
26798
+ "id": "",
26799
+ "body": {
26800
+ "package": "himalaya",
26801
+ "type": "Icon",
26802
+ "props": {
26803
+ "name": "more_vertical",
26804
+ "size": 18,
26805
+ "tint": "textSecondary"
26806
+ }
26807
+ },
26808
+ "modifiers": {
26809
+ "accessibilityRole": "button",
26810
+ "accessibilityLabel": "Comment actions",
26811
+ "padding": {
26812
+ "leading": 13,
26813
+ "trailing": 13,
26814
+ "top": 4,
26815
+ "bottom": 4
26816
+ }
26817
+ }
26818
+ },
26819
+ "style": "dropdown",
26820
+ "items": [
26821
+ {
26822
+ "id": "report",
26823
+ "label": "Report",
26824
+ "icon": "warning",
26825
+ "action": {
26826
+ "actionId": "tier5.himiBlogPost.reportComment",
26827
+ "params": {
26828
+ "id": "$item.id"
26829
+ }
26830
+ }
26831
+ }
26832
+ ]
26833
+ }
26834
+ }
26835
+ }
26836
+ ]
26837
+ }
26838
+ },
26839
+ "modifiers": {
26840
+ "hiddenPath": "$item.noReport"
26841
+ }
26842
+ }
26843
+ ]
26844
+ }
26845
+ }
26846
+ },
26847
+ {
26848
+ "id": "",
26849
+ "body": {
26850
+ "package": "himalaya",
26851
+ "type": "VStack",
26852
+ "props": {
26853
+ "spacing": 0,
26854
+ "alignment": "leading",
26855
+ "children": [
26856
+ {
26857
+ "id": "reply_body_$item.id",
26858
+ "body": {
26859
+ "package": "himalaya",
26860
+ "type": "RichContent",
26861
+ "props": {
26862
+ "documentJsonPath": "$item.bodyJson",
26863
+ "onLink": {
26864
+ "actionId": "tier5.himiBlogPost.openLink"
26865
+ },
26866
+ "fallback": {
26867
+ "id": "",
26868
+ "body": {
26869
+ "package": "himalaya",
26870
+ "type": "Text",
26871
+ "props": {
26872
+ "text": "$item.text",
26873
+ "style": "body",
26874
+ "collapseWhenEmpty": true
26875
+ }
26876
+ }
26877
+ }
26878
+ }
26879
+ }
26880
+ },
26881
+ {
26882
+ "id": "reply_body_text_$item.id",
26883
+ "body": {
26884
+ "package": "himalaya",
26885
+ "type": "Text",
26886
+ "props": {
26887
+ "text": "$item.text",
26888
+ "style": "body",
26889
+ "collapseWhenEmpty": true
26890
+ }
26891
+ },
26892
+ "modifiers": {
26893
+ "hiddenPath": "$item.hasBodyJson"
26894
+ }
26895
+ }
26896
+ ]
26897
+ }
26898
+ }
26899
+ },
26900
+ {
26901
+ "id": "",
26902
+ "body": {
26903
+ "package": "himalaya",
26904
+ "type": "HStack",
26905
+ "props": {
26906
+ "spacing": 12,
26907
+ "alignment": "center",
26908
+ "children": [
26909
+ {
26910
+ "id": "",
26911
+ "body": {
26912
+ "package": "himalaya",
26913
+ "type": "HStack",
26914
+ "props": {
26915
+ "spacing": 0,
26916
+ "alignment": "center",
26917
+ "children": [
26918
+ {
26919
+ "id": "himi_blog_post.comment_like",
26920
+ "body": {
26921
+ "package": "himalaya",
26922
+ "type": "HStack",
26923
+ "props": {
26924
+ "spacing": 4,
26925
+ "alignment": "center",
26926
+ "children": [
26927
+ {
26928
+ "id": "",
26929
+ "body": {
26930
+ "package": "himalaya",
26931
+ "type": "Icon",
26932
+ "props": {
26933
+ "name": "heart",
26934
+ "size": 14,
26935
+ "tint": "textSecondary"
26936
+ }
26937
+ },
26938
+ "modifiers": {
26939
+ "accessibilityRole": "decorative"
26940
+ }
26941
+ },
26942
+ {
26943
+ "id": "",
26944
+ "body": {
26945
+ "package": "himalaya",
26946
+ "type": "Text",
26947
+ "props": {
26948
+ "text": "$item.likes",
26949
+ "style": "caption",
26950
+ "color": "textSecondary",
26951
+ "monospacedDigits": true
26952
+ }
26953
+ }
26954
+ }
26955
+ ]
26956
+ }
26957
+ },
26958
+ "modifiers": {
26959
+ "border": {
26960
+ "width": 1,
26961
+ "color": {
26962
+ "token": "border"
26963
+ }
26964
+ },
26965
+ "cornerRadius": 999,
26966
+ "padding": {
26967
+ "leading": 10,
26968
+ "trailing": 10,
26969
+ "top": 4,
26970
+ "bottom": 4
26971
+ },
26972
+ "onTap": {
26973
+ "actionId": "tier5.himiBlogPost.likeComment",
26974
+ "params": {
26975
+ "id": "$item.id"
26976
+ }
26977
+ },
26978
+ "pressFeedback": "scale",
26979
+ "haptic": "light",
26980
+ "accessibilityRole": "button",
26981
+ "accessibilityLabel": "Like",
26982
+ "hiddenPath": "$item.liked"
26983
+ }
26984
+ },
26985
+ {
26986
+ "id": "himi_blog_post.comment_unlike",
26987
+ "body": {
26988
+ "package": "himalaya",
26989
+ "type": "HStack",
26990
+ "props": {
26991
+ "spacing": 4,
26992
+ "alignment": "center",
26993
+ "children": [
26994
+ {
26995
+ "id": "",
26996
+ "body": {
26997
+ "package": "himalaya",
26998
+ "type": "Icon",
26999
+ "props": {
27000
+ "name": "heart_fill",
27001
+ "size": 14,
27002
+ "tint": "danger"
27003
+ }
27004
+ },
27005
+ "modifiers": {
27006
+ "accessibilityRole": "decorative"
27007
+ }
27008
+ },
27009
+ {
27010
+ "id": "",
27011
+ "body": {
27012
+ "package": "himalaya",
27013
+ "type": "Text",
27014
+ "props": {
27015
+ "text": "$item.likes",
27016
+ "style": "caption",
27017
+ "color": "danger",
27018
+ "monospacedDigits": true
27019
+ }
27020
+ }
27021
+ }
27022
+ ]
27023
+ }
27024
+ },
27025
+ "modifiers": {
27026
+ "background": {
27027
+ "token": "dangerSurface"
27028
+ },
27029
+ "cornerRadius": 999,
27030
+ "padding": {
27031
+ "leading": 10,
27032
+ "trailing": 10,
27033
+ "top": 4,
27034
+ "bottom": 4
27035
+ },
27036
+ "onTap": {
27037
+ "actionId": "tier5.himiBlogPost.unlikeComment",
27038
+ "params": {
27039
+ "id": "$item.id"
27040
+ }
27041
+ },
27042
+ "pressFeedback": "scale",
27043
+ "haptic": "light",
27044
+ "accessibilityRole": "button",
27045
+ "accessibilityLabel": "Unlike",
27046
+ "hiddenPath": "$item.notLiked"
27047
+ }
27048
+ }
27049
+ ]
27050
+ }
27051
+ },
27052
+ "modifiers": {
27053
+ "hiddenPath": "$item.noLikes"
27054
+ }
27055
+ },
27056
+ {
27057
+ "id": "",
27058
+ "body": {
27059
+ "package": "himalaya",
27060
+ "type": "HStack",
27061
+ "props": {
27062
+ "spacing": 0,
27063
+ "alignment": "center",
27064
+ "children": [
27065
+ {
27066
+ "id": "himi_blog_post.comment_reply",
27067
+ "body": {
27068
+ "package": "himalaya",
27069
+ "type": "Text",
27070
+ "props": {
27071
+ "text": "Reply",
27072
+ "style": "caption",
27073
+ "color": "textSecondary"
27074
+ }
27075
+ },
27076
+ "modifiers": {
27077
+ "onTap": {
27078
+ "actionId": "tier5.himiBlogPost.replyTo",
27079
+ "params": {
27080
+ "id": "$item.id"
27081
+ }
27082
+ },
27083
+ "accessibilityRole": "button",
27084
+ "padding": {
27085
+ "top": 4,
27086
+ "bottom": 4,
27087
+ "leading": 4,
27088
+ "trailing": 4
27089
+ },
27090
+ "hiddenPath": "$item.noReply"
27091
+ }
27092
+ }
27093
+ ]
27094
+ }
27095
+ },
27096
+ "modifiers": {
27097
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27098
+ }
27099
+ },
27100
+ {
27101
+ "id": "",
27102
+ "body": {
27103
+ "package": "himalaya",
27104
+ "type": "Spacer",
27105
+ "props": {}
27106
+ }
27107
+ }
27108
+ ]
27109
+ }
27110
+ }
27111
+ }
27112
+ ]
27113
+ }
27114
+ },
27115
+ "modifiers": {
27116
+ "weight": 1
27117
+ }
27118
+ }
27119
+ ]
27120
+ }
27121
+ },
27122
+ "modifiers": {
27123
+ "fillMaxWidth": true
27124
+ }
27125
+ }
27126
+ ]
27127
+ }
27128
+ },
27129
+ "modifiers": {
27130
+ "padding": {
27131
+ "leading": 42
27132
+ },
27133
+ "hiddenPath": "$item.notReply"
27134
+ }
27135
+ },
27136
+ {
27137
+ "id": "",
27138
+ "body": {
27139
+ "package": "himalaya",
27140
+ "type": "HStack",
27141
+ "props": {
27142
+ "spacing": 10,
27143
+ "alignment": "leading",
27144
+ "children": [
27145
+ {
27146
+ "id": "himi_blog_post.comment_avatar.photo",
27147
+ "body": {
27148
+ "package": "himalaya",
27149
+ "type": "Image",
27150
+ "props": {
27151
+ "url": "$item.authorPhoto",
27152
+ "width": 32,
27153
+ "height": 32,
27154
+ "contentMode": "fill",
27155
+ "shape": "circle"
27156
+ }
27157
+ },
27158
+ "modifiers": {
27159
+ "accessibilityRole": "decorative",
27160
+ "hiddenPath": "$item.noAuthorPhoto"
27161
+ }
27162
+ },
27163
+ {
27164
+ "id": "",
27165
+ "body": {
27166
+ "package": "himalaya",
27167
+ "type": "ZStack",
27168
+ "props": {
27169
+ "alignment": "center",
27170
+ "children": [
27171
+ {
27172
+ "id": "",
27173
+ "body": {
27174
+ "package": "himalaya",
27175
+ "type": "Text",
27176
+ "props": {
27177
+ "text": "$item.authorInitial",
27178
+ "style": "footnote",
27179
+ "color": "accentPrimary",
27180
+ "collapseWhenEmpty": true
27181
+ }
27182
+ }
27183
+ }
27184
+ ]
27185
+ }
27186
+ },
27187
+ "modifiers": {
27188
+ "width": 32,
27189
+ "height": 32,
27190
+ "background": {
27191
+ "token": "accentSurface"
27192
+ },
27193
+ "cornerRadius": 16,
27194
+ "accessibilityRole": "decorative",
27195
+ "hiddenPath": "$item.hasAuthorPhoto"
27196
+ }
27197
+ },
27198
+ {
27199
+ "id": "",
27200
+ "body": {
27201
+ "package": "himalaya",
27202
+ "type": "VStack",
27203
+ "props": {
27204
+ "spacing": 4,
27205
+ "alignment": "leading",
27206
+ "children": [
27207
+ {
27208
+ "id": "",
27209
+ "body": {
27210
+ "package": "himalaya",
27211
+ "type": "HStack",
27212
+ "props": {
27213
+ "spacing": 6,
27214
+ "alignment": "center",
27215
+ "children": [
27216
+ {
27217
+ "id": "",
27218
+ "body": {
27219
+ "package": "himalaya",
27220
+ "type": "Text",
27221
+ "props": {
27222
+ "text": "$item.authorName",
27223
+ "style": "footnote",
27224
+ "maxLines": 1
27225
+ }
27226
+ }
27227
+ },
27228
+ {
27229
+ "id": "",
27230
+ "body": {
27231
+ "package": "himalaya",
27232
+ "type": "Text",
27233
+ "props": {
27234
+ "text": "$item.meta",
27235
+ "style": "caption",
27236
+ "color": "textTertiary",
27237
+ "maxLines": 1,
27238
+ "collapseWhenEmpty": true
27239
+ }
27240
+ }
27241
+ },
27242
+ {
27243
+ "id": "",
27244
+ "body": {
27245
+ "package": "himalaya",
27246
+ "type": "Spacer",
27247
+ "props": {}
27248
+ }
27249
+ },
27250
+ {
27251
+ "id": "",
27252
+ "body": {
27253
+ "package": "himalaya",
27254
+ "type": "HStack",
27255
+ "props": {
27256
+ "spacing": 0,
27257
+ "alignment": "center",
27258
+ "children": [
27259
+ {
27260
+ "id": "himi_blog_post.comment_menu",
27261
+ "body": {
27262
+ "package": "himalaya",
27263
+ "type": "Menu",
27264
+ "props": {
27265
+ "anchor": {
27266
+ "id": "",
27267
+ "body": {
27268
+ "package": "himalaya",
27269
+ "type": "Icon",
27270
+ "props": {
27271
+ "name": "more_vertical",
27272
+ "size": 18,
27273
+ "tint": "textSecondary"
27274
+ }
27275
+ },
27276
+ "modifiers": {
27277
+ "accessibilityRole": "button",
27278
+ "accessibilityLabel": "Comment actions",
27279
+ "padding": {
27280
+ "leading": 13,
27281
+ "trailing": 13,
27282
+ "top": 4,
27283
+ "bottom": 4
27284
+ }
27285
+ }
27286
+ },
27287
+ "style": "dropdown",
27288
+ "items": [
27289
+ {
27290
+ "id": "report",
27291
+ "label": "Report",
27292
+ "icon": "warning",
27293
+ "action": {
27294
+ "actionId": "tier5.himiBlogPost.reportComment",
27295
+ "params": {
27296
+ "id": "$item.id"
27297
+ }
27298
+ }
27299
+ }
27300
+ ]
27301
+ }
27302
+ }
27303
+ }
27304
+ ]
27305
+ }
27306
+ },
27307
+ "modifiers": {
27308
+ "hiddenPath": "$item.noReport"
27309
+ }
27310
+ }
27311
+ ]
27312
+ }
27313
+ }
27314
+ },
27315
+ {
27316
+ "id": "",
27317
+ "body": {
27318
+ "package": "himalaya",
27319
+ "type": "VStack",
27320
+ "props": {
27321
+ "spacing": 0,
27322
+ "alignment": "leading",
27323
+ "children": [
27324
+ {
27325
+ "id": "comment_body_$item.id",
27326
+ "body": {
27327
+ "package": "himalaya",
27328
+ "type": "RichContent",
27329
+ "props": {
27330
+ "documentJsonPath": "$item.bodyJson",
27331
+ "onLink": {
27332
+ "actionId": "tier5.himiBlogPost.openLink"
27333
+ },
27334
+ "fallback": {
27335
+ "id": "",
27336
+ "body": {
27337
+ "package": "himalaya",
27338
+ "type": "Text",
27339
+ "props": {
27340
+ "text": "$item.text",
27341
+ "style": "body",
27342
+ "collapseWhenEmpty": true
27343
+ }
27344
+ }
27345
+ }
27346
+ }
27347
+ }
27348
+ },
27349
+ {
27350
+ "id": "comment_body_text_$item.id",
27351
+ "body": {
27352
+ "package": "himalaya",
27353
+ "type": "Text",
27354
+ "props": {
27355
+ "text": "$item.text",
27356
+ "style": "body",
27357
+ "collapseWhenEmpty": true
27358
+ }
27359
+ },
27360
+ "modifiers": {
27361
+ "hiddenPath": "$item.hasBodyJson"
27362
+ }
27363
+ }
27364
+ ]
27365
+ }
27366
+ }
27367
+ },
27368
+ {
27369
+ "id": "",
27370
+ "body": {
27371
+ "package": "himalaya",
27372
+ "type": "HStack",
27373
+ "props": {
27374
+ "spacing": 12,
27375
+ "alignment": "center",
27376
+ "children": [
27377
+ {
27378
+ "id": "",
27379
+ "body": {
27380
+ "package": "himalaya",
27381
+ "type": "HStack",
27382
+ "props": {
27383
+ "spacing": 0,
27384
+ "alignment": "center",
27385
+ "children": [
27386
+ {
27387
+ "id": "himi_blog_post.comment_like",
27388
+ "body": {
27389
+ "package": "himalaya",
27390
+ "type": "HStack",
27391
+ "props": {
27392
+ "spacing": 4,
27393
+ "alignment": "center",
27394
+ "children": [
27395
+ {
27396
+ "id": "",
27397
+ "body": {
27398
+ "package": "himalaya",
27399
+ "type": "Icon",
27400
+ "props": {
27401
+ "name": "heart",
27402
+ "size": 14,
27403
+ "tint": "textSecondary"
27404
+ }
27405
+ },
27406
+ "modifiers": {
27407
+ "accessibilityRole": "decorative"
27408
+ }
27409
+ },
27410
+ {
27411
+ "id": "",
27412
+ "body": {
27413
+ "package": "himalaya",
27414
+ "type": "Text",
27415
+ "props": {
27416
+ "text": "$item.likes",
27417
+ "style": "caption",
27418
+ "color": "textSecondary",
27419
+ "monospacedDigits": true
27420
+ }
27421
+ }
27422
+ }
27423
+ ]
27424
+ }
27425
+ },
27426
+ "modifiers": {
27427
+ "border": {
27428
+ "width": 1,
27429
+ "color": {
27430
+ "token": "border"
27431
+ }
27432
+ },
27433
+ "cornerRadius": 999,
27434
+ "padding": {
27435
+ "leading": 10,
27436
+ "trailing": 10,
27437
+ "top": 4,
27438
+ "bottom": 4
27439
+ },
27440
+ "onTap": {
27441
+ "actionId": "tier5.himiBlogPost.likeComment",
27442
+ "params": {
27443
+ "id": "$item.id"
27444
+ }
27445
+ },
27446
+ "pressFeedback": "scale",
27447
+ "haptic": "light",
27448
+ "accessibilityRole": "button",
27449
+ "accessibilityLabel": "Like",
27450
+ "hiddenPath": "$item.liked"
27451
+ }
27452
+ },
27453
+ {
27454
+ "id": "himi_blog_post.comment_unlike",
27455
+ "body": {
27456
+ "package": "himalaya",
27457
+ "type": "HStack",
27458
+ "props": {
27459
+ "spacing": 4,
27460
+ "alignment": "center",
27461
+ "children": [
27462
+ {
27463
+ "id": "",
27464
+ "body": {
27465
+ "package": "himalaya",
27466
+ "type": "Icon",
27467
+ "props": {
27468
+ "name": "heart_fill",
27469
+ "size": 14,
27470
+ "tint": "danger"
27471
+ }
27472
+ },
27473
+ "modifiers": {
27474
+ "accessibilityRole": "decorative"
27475
+ }
27476
+ },
27477
+ {
27478
+ "id": "",
27479
+ "body": {
27480
+ "package": "himalaya",
27481
+ "type": "Text",
27482
+ "props": {
27483
+ "text": "$item.likes",
27484
+ "style": "caption",
27485
+ "color": "danger",
27486
+ "monospacedDigits": true
27487
+ }
27488
+ }
27489
+ }
27490
+ ]
27491
+ }
27492
+ },
27493
+ "modifiers": {
27494
+ "background": {
27495
+ "token": "dangerSurface"
27496
+ },
27497
+ "cornerRadius": 999,
27498
+ "padding": {
27499
+ "leading": 10,
27500
+ "trailing": 10,
27501
+ "top": 4,
27502
+ "bottom": 4
27503
+ },
27504
+ "onTap": {
27505
+ "actionId": "tier5.himiBlogPost.unlikeComment",
27506
+ "params": {
27507
+ "id": "$item.id"
27508
+ }
27509
+ },
27510
+ "pressFeedback": "scale",
27511
+ "haptic": "light",
27512
+ "accessibilityRole": "button",
27513
+ "accessibilityLabel": "Unlike",
27514
+ "hiddenPath": "$item.notLiked"
27515
+ }
27516
+ }
27517
+ ]
27518
+ }
27519
+ },
27520
+ "modifiers": {
27521
+ "hiddenPath": "$item.noLikes"
27522
+ }
27523
+ },
27524
+ {
27525
+ "id": "",
27526
+ "body": {
27527
+ "package": "himalaya",
27528
+ "type": "HStack",
27529
+ "props": {
27530
+ "spacing": 0,
27531
+ "alignment": "center",
27532
+ "children": [
27533
+ {
27534
+ "id": "himi_blog_post.comment_reply",
27535
+ "body": {
27536
+ "package": "himalaya",
27537
+ "type": "Text",
27538
+ "props": {
27539
+ "text": "Reply",
27540
+ "style": "caption",
27541
+ "color": "textSecondary"
27542
+ }
27543
+ },
27544
+ "modifiers": {
27545
+ "onTap": {
27546
+ "actionId": "tier5.himiBlogPost.replyTo",
27547
+ "params": {
27548
+ "id": "$item.id"
27549
+ }
27550
+ },
27551
+ "accessibilityRole": "button",
27552
+ "padding": {
27553
+ "top": 4,
27554
+ "bottom": 4,
27555
+ "leading": 4,
27556
+ "trailing": 4
27557
+ },
27558
+ "hiddenPath": "$item.noReply"
27559
+ }
27560
+ }
27561
+ ]
27562
+ }
27563
+ },
27564
+ "modifiers": {
27565
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
27566
+ }
27567
+ },
27568
+ {
27569
+ "id": "",
27570
+ "body": {
27571
+ "package": "himalaya",
27572
+ "type": "Spacer",
27573
+ "props": {}
27574
+ }
27575
+ }
27576
+ ]
27577
+ }
27578
+ }
27579
+ }
27580
+ ]
27581
+ }
27582
+ },
27583
+ "modifiers": {
27584
+ "weight": 1
27585
+ }
27586
+ }
27587
+ ]
27588
+ }
27589
+ },
27590
+ "modifiers": {
27591
+ "fillMaxWidth": true,
27592
+ "hiddenPath": "$item.isReply"
27593
+ }
27594
+ }
27595
+ ]
27596
+ }
27597
+ },
27598
+ "modifiers": {
27599
+ "backgroundColorPath": "$item.rowBackground",
27600
+ "cornerRadius": 12,
27601
+ "padding": {
27602
+ "leading": 8,
27603
+ "trailing": 8,
27604
+ "top": 8,
27605
+ "bottom": 8
27606
+ }
27607
+ }
27608
+ }
27609
+ ],
27610
+ "pagination": {
27611
+ "cursor": "$service:himiBlogPost.commentsCursor",
27612
+ "onLoadMore": {
27613
+ "actionId": "tier5.himiBlogPost.loadMoreComments"
27614
+ },
27615
+ "pageSize": 20
27616
+ }
27617
+ }
27618
+ }
27619
+ }
27620
+ ]
27621
+ }
27622
+ }
27623
+ },
27624
+ "footer": {
27625
+ "id": "himi_blog_post.comment_composer",
25955
27626
  "body": {
25956
27627
  "package": "himalaya",
25957
27628
  "type": "VStack",
25958
27629
  "props": {
25959
- "spacing": 0,
27630
+ "spacing": 6,
25960
27631
  "alignment": "leading",
25961
27632
  "children": [
25962
27633
  {
25963
27634
  "id": "",
25964
- "body": {
25965
- "package": "himalaya",
25966
- "type": "Text",
25967
- "props": {
25968
- "text": "Why are you hiding this post?",
25969
- "style": "title3"
25970
- }
25971
- },
25972
- "modifiers": {
25973
- "padding": {
25974
- "bottom": 6
25975
- }
25976
- }
25977
- },
25978
- {
25979
- "id": "himi_blog_post.hide_offensive",
25980
27635
  "body": {
25981
27636
  "package": "himalaya",
25982
27637
  "type": "HStack",
25983
27638
  "props": {
25984
- "spacing": 14,
27639
+ "spacing": 8,
27640
+ "alignment": "center",
25985
27641
  "children": [
25986
27642
  {
25987
27643
  "id": "",
25988
27644
  "body": {
25989
27645
  "package": "himalaya",
25990
- "type": "Icon",
27646
+ "type": "Text",
25991
27647
  "props": {
25992
- "name": "chevron_right",
25993
- "size": 22,
25994
- "tint": "textPrimary"
27648
+ "text": "$service:himiBlogPost.replyingLine",
27649
+ "style": "footnote",
27650
+ "color": "textSecondary",
27651
+ "maxLines": 1
25995
27652
  }
25996
- },
25997
- "modifiers": {
25998
- "accessibilityRole": "decorative"
25999
27653
  }
26000
27654
  },
26001
27655
  {
26002
27656
  "id": "",
26003
27657
  "body": {
26004
27658
  "package": "himalaya",
26005
- "type": "Text",
26006
- "props": {
26007
- "text": "It is offensive",
26008
- "style": "body"
26009
- }
27659
+ "type": "Spacer",
27660
+ "props": {}
26010
27661
  }
26011
27662
  },
26012
27663
  {
26013
- "id": "",
27664
+ "id": "himi_blog_post.cancel_reply",
26014
27665
  "body": {
26015
27666
  "package": "himalaya",
26016
- "type": "Spacer",
26017
- "props": {}
27667
+ "type": "Icon",
27668
+ "props": {
27669
+ "name": "close",
27670
+ "size": 16,
27671
+ "tint": "textSecondary"
27672
+ }
27673
+ },
27674
+ "modifiers": {
27675
+ "accessibilityRole": "button",
27676
+ "onTap": {
27677
+ "actionId": "tier5.himiBlogPost.cancelReply"
27678
+ },
27679
+ "accessibilityLabel": "Cancel reply",
27680
+ "padding": {
27681
+ "top": 14,
27682
+ "bottom": 14,
27683
+ "leading": 14,
27684
+ "trailing": 14
27685
+ }
26018
27686
  }
26019
27687
  }
26020
27688
  ]
26021
27689
  }
26022
27690
  },
26023
27691
  "modifiers": {
26024
- "onTap": {
26025
- "actionId": "tier5.himiBlogPost.hide",
26026
- "params": {
26027
- "reason": "offensive"
26028
- }
26029
- },
26030
- "accessibilityRole": "button",
26031
- "accessibilityLabel": "It is offensive",
26032
- "padding": {
26033
- "top": 11,
26034
- "bottom": 11
26035
- }
27692
+ "hiddenPath": "$service:himiBlogPost.notReplying"
26036
27693
  }
26037
27694
  },
26038
27695
  {
26039
- "id": "himi_blog_post.hide_misleading",
27696
+ "id": "",
26040
27697
  "body": {
26041
27698
  "package": "himalaya",
26042
27699
  "type": "HStack",
26043
27700
  "props": {
26044
- "spacing": 14,
27701
+ "spacing": 10,
27702
+ "alignment": "center",
26045
27703
  "children": [
26046
27704
  {
26047
- "id": "",
27705
+ "id": "himi_blog_post.composer_avatar.photo",
26048
27706
  "body": {
26049
27707
  "package": "himalaya",
26050
- "type": "Icon",
27708
+ "type": "Image",
26051
27709
  "props": {
26052
- "name": "chevron_right",
26053
- "size": 22,
26054
- "tint": "textPrimary"
27710
+ "url": "$service:himiBlogPost.memberPhoto",
27711
+ "width": 32,
27712
+ "height": 32,
27713
+ "contentMode": "fill",
27714
+ "shape": "circle"
26055
27715
  }
26056
27716
  },
26057
27717
  "modifiers": {
26058
- "accessibilityRole": "decorative"
27718
+ "accessibilityRole": "decorative",
27719
+ "hiddenPath": "$service:himiBlogPost.noMemberPhoto"
26059
27720
  }
26060
27721
  },
26061
27722
  {
26062
27723
  "id": "",
26063
27724
  "body": {
26064
27725
  "package": "himalaya",
26065
- "type": "Text",
27726
+ "type": "ZStack",
26066
27727
  "props": {
26067
- "text": "It is misleading",
26068
- "style": "body"
27728
+ "alignment": "center",
27729
+ "children": [
27730
+ {
27731
+ "id": "",
27732
+ "body": {
27733
+ "package": "himalaya",
27734
+ "type": "Icon",
27735
+ "props": {
27736
+ "name": "person",
27737
+ "size": 16,
27738
+ "tint": "accentPrimary"
27739
+ }
27740
+ },
27741
+ "modifiers": {
27742
+ "accessibilityRole": "decorative",
27743
+ "hiddenPath": "$service:himiBlogPost.isMember"
27744
+ }
27745
+ },
27746
+ {
27747
+ "id": "",
27748
+ "body": {
27749
+ "package": "himalaya",
27750
+ "type": "Text",
27751
+ "props": {
27752
+ "text": "$service:himiBlogPost.memberInitial",
27753
+ "style": "footnote",
27754
+ "color": "accentPrimary",
27755
+ "collapseWhenEmpty": true
27756
+ }
27757
+ }
27758
+ }
27759
+ ]
26069
27760
  }
27761
+ },
27762
+ "modifiers": {
27763
+ "width": 32,
27764
+ "height": 32,
27765
+ "background": {
27766
+ "token": "accentSurface"
27767
+ },
27768
+ "cornerRadius": 16,
27769
+ "accessibilityRole": "decorative",
27770
+ "hiddenPath": "$service:himiBlogPost.hasMemberPhoto"
26070
27771
  }
26071
27772
  },
26072
27773
  {
26073
- "id": "",
26074
- "body": {
26075
- "package": "himalaya",
26076
- "type": "Spacer",
26077
- "props": {}
26078
- }
26079
- }
26080
- ]
26081
- }
26082
- },
26083
- "modifiers": {
26084
- "onTap": {
26085
- "actionId": "tier5.himiBlogPost.hide",
26086
- "params": {
26087
- "reason": "misleading"
26088
- }
26089
- },
26090
- "accessibilityRole": "button",
26091
- "accessibilityLabel": "It is misleading",
26092
- "padding": {
26093
- "top": 11,
26094
- "bottom": 11
26095
- }
26096
- }
26097
- },
26098
- {
26099
- "id": "himi_blog_post.hide_other",
26100
- "body": {
26101
- "package": "himalaya",
26102
- "type": "HStack",
26103
- "props": {
26104
- "spacing": 14,
26105
- "children": [
26106
- {
26107
- "id": "",
27774
+ "id": "himi_blog_post.comment_input",
26108
27775
  "body": {
26109
27776
  "package": "himalaya",
26110
- "type": "Icon",
27777
+ "type": "TextField",
26111
27778
  "props": {
26112
- "name": "chevron_right",
26113
- "size": 22,
26114
- "tint": "textPrimary"
27779
+ "placeholder": "Write a comment",
27780
+ "valuePath": "$service:himiBlogPost.commentText",
27781
+ "multilineMaxLines": 4,
27782
+ "focusPath": "$service:himiBlogPost.composerFocus",
27783
+ "borderless": true,
27784
+ "autoCapitalization": "sentences",
27785
+ "onChange": {
27786
+ "actionId": "tier5.himiBlogPost.setComment"
27787
+ }
26115
27788
  }
26116
27789
  },
26117
27790
  "modifiers": {
26118
- "accessibilityRole": "decorative"
27791
+ "background": {
27792
+ "token": "surfaceSecondary"
27793
+ },
27794
+ "cornerRadius": 20,
27795
+ "padding": {
27796
+ "leading": 14,
27797
+ "trailing": 14,
27798
+ "top": 8,
27799
+ "bottom": 8
27800
+ },
27801
+ "weight": 1
26119
27802
  }
26120
27803
  },
26121
27804
  {
26122
- "id": "",
27805
+ "id": "himi_blog_post.comment_submit",
26123
27806
  "body": {
26124
27807
  "package": "himalaya",
26125
- "type": "Text",
27808
+ "type": "ZStack",
26126
27809
  "props": {
26127
- "text": "Something else",
26128
- "style": "body"
27810
+ "alignment": "center",
27811
+ "children": [
27812
+ {
27813
+ "id": "",
27814
+ "body": {
27815
+ "package": "himalaya",
27816
+ "type": "ZStack",
27817
+ "props": {
27818
+ "alignment": "center",
27819
+ "children": [
27820
+ {
27821
+ "id": "",
27822
+ "body": {
27823
+ "package": "himalaya",
27824
+ "type": "Icon",
27825
+ "props": {
27826
+ "name": "arrow_up",
27827
+ "size": 18,
27828
+ "tint": "textOnAccent"
27829
+ }
27830
+ },
27831
+ "modifiers": {
27832
+ "accessibilityRole": "decorative"
27833
+ }
27834
+ }
27835
+ ]
27836
+ }
27837
+ },
27838
+ "modifiers": {
27839
+ "width": 36,
27840
+ "height": 36,
27841
+ "cornerRadius": 18,
27842
+ "background": {
27843
+ "token": "accentPrimary"
27844
+ },
27845
+ "accessibilityRole": "decorative"
27846
+ }
27847
+ }
27848
+ ]
26129
27849
  }
27850
+ },
27851
+ "modifiers": {
27852
+ "width": 44,
27853
+ "height": 44,
27854
+ "accessibilityRole": "button",
27855
+ "accessibilityLabel": "Send comment",
27856
+ "onTap": {
27857
+ "actionId": "tier5.himiBlogPost.submitComment"
27858
+ },
27859
+ "pressFeedback": "scale",
27860
+ "haptic": "light",
27861
+ "hiddenPath": "$service:himiBlogPost.cannotSend"
26130
27862
  }
26131
27863
  },
26132
27864
  {
26133
- "id": "",
27865
+ "id": "himi_blog_post.comment_submit_off",
26134
27866
  "body": {
26135
27867
  "package": "himalaya",
26136
- "type": "Spacer",
26137
- "props": {}
27868
+ "type": "ZStack",
27869
+ "props": {
27870
+ "alignment": "center",
27871
+ "children": [
27872
+ {
27873
+ "id": "",
27874
+ "body": {
27875
+ "package": "himalaya",
27876
+ "type": "ZStack",
27877
+ "props": {
27878
+ "alignment": "center",
27879
+ "children": [
27880
+ {
27881
+ "id": "",
27882
+ "body": {
27883
+ "package": "himalaya",
27884
+ "type": "Icon",
27885
+ "props": {
27886
+ "name": "arrow_up",
27887
+ "size": 18,
27888
+ "tint": "textTertiary"
27889
+ }
27890
+ },
27891
+ "modifiers": {
27892
+ "accessibilityRole": "decorative"
27893
+ }
27894
+ }
27895
+ ]
27896
+ }
27897
+ },
27898
+ "modifiers": {
27899
+ "width": 36,
27900
+ "height": 36,
27901
+ "cornerRadius": 18,
27902
+ "background": {
27903
+ "token": "surfaceSecondary"
27904
+ },
27905
+ "accessibilityRole": "decorative"
27906
+ }
27907
+ }
27908
+ ]
27909
+ }
27910
+ },
27911
+ "modifiers": {
27912
+ "width": 44,
27913
+ "height": 44,
27914
+ "accessibilityRole": "button",
27915
+ "accessibilityLabel": "Send comment",
27916
+ "hiddenPath": "$service:himiBlogPost.canSend"
26138
27917
  }
26139
27918
  }
26140
27919
  ]
26141
27920
  }
26142
- },
26143
- "modifiers": {
26144
- "onTap": {
26145
- "actionId": "tier5.himiBlogPost.hide",
26146
- "params": {
26147
- "reason": "other"
26148
- }
26149
- },
26150
- "accessibilityRole": "button",
26151
- "accessibilityLabel": "Something else",
26152
- "padding": {
26153
- "top": 11,
26154
- "bottom": 11
26155
- }
26156
27921
  }
26157
27922
  },
26158
27923
  {
26159
- "id": "himi_blog_post.hide_cancel",
27924
+ "id": "himi_blog_post.comment_error",
26160
27925
  "body": {
26161
27926
  "package": "himalaya",
26162
- "type": "Button",
27927
+ "type": "Text",
26163
27928
  "props": {
26164
- "title": "Cancel",
26165
- "style": "secondary",
26166
- "fullWidth": true,
26167
- "action": {
26168
- "actionId": "tier5.himiBlogPost.closeHide"
26169
- }
27929
+ "text": "$service:himiBlogPost.sendError",
27930
+ "style": "footnote",
27931
+ "color": "danger"
26170
27932
  }
26171
27933
  },
26172
27934
  "modifiers": {
26173
- "padding": {
26174
- "top": 8
26175
- }
27935
+ "hiddenPath": "$service:himiBlogPost.noSendError"
26176
27936
  }
26177
27937
  }
26178
27938
  ]
26179
27939
  }
26180
27940
  },
26181
27941
  "modifiers": {
26182
- "padding": {
26183
- "leading": 20,
26184
- "trailing": 20,
26185
- "top": 12,
26186
- "bottom": 8
26187
- }
27942
+ "hiddenPath": "$service:himiBlogPost.commentsOff"
26188
27943
  }
26189
27944
  }
26190
27945
  }
@@ -26241,7 +27996,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
26241
27996
  "share",
26242
27997
  "local_database",
26243
27998
  "open_url",
26244
- "ui"
27999
+ "ui",
28000
+ "keyboard"
26245
28001
  ],
26246
28002
  "minBinaryVersion": "0.1.0",
26247
28003
  "bundleVersion": "0.0.1"