@wix/himalaya-cli 0.1782.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 (377) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/extensions.d.ts +68 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +126 -18
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin → ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin} +1 -1
  8. package/dist/browser-plane/sw.js +6 -6
  9. package/dist/cli.mjs +82 -48
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/component-reference.json +1 -1
  12. package/guides/component-reference.md +4 -0
  13. package/guides/release-notes.md +31 -0
  14. package/guides/sdk-reference.json +62 -1
  15. package/package.json +2 -2
  16. package/templates/beauty-salon/config.ts +1 -1
  17. package/templates/beauty-salon/dev/index.ts +2684 -916
  18. package/templates/beauty-salon/l10n/ar.json +95 -36
  19. package/templates/beauty-salon/l10n/cs.json +95 -36
  20. package/templates/beauty-salon/l10n/da.json +95 -36
  21. package/templates/beauty-salon/l10n/de.json +95 -36
  22. package/templates/beauty-salon/l10n/el.json +95 -36
  23. package/templates/beauty-salon/l10n/en.json +71 -15
  24. package/templates/beauty-salon/l10n/es.json +95 -36
  25. package/templates/beauty-salon/l10n/fi.json +95 -36
  26. package/templates/beauty-salon/l10n/fr.json +95 -36
  27. package/templates/beauty-salon/l10n/he.json +78 -29
  28. package/templates/beauty-salon/l10n/hu.json +95 -36
  29. package/templates/beauty-salon/l10n/id.json +95 -36
  30. package/templates/beauty-salon/l10n/it.json +95 -36
  31. package/templates/beauty-salon/l10n/ja.json +95 -36
  32. package/templates/beauty-salon/l10n/ko.json +95 -36
  33. package/templates/beauty-salon/l10n/lt.json +95 -36
  34. package/templates/beauty-salon/l10n/nl.json +95 -36
  35. package/templates/beauty-salon/l10n/no.json +95 -36
  36. package/templates/beauty-salon/l10n/pl.json +95 -36
  37. package/templates/beauty-salon/l10n/pt.json +95 -36
  38. package/templates/beauty-salon/l10n/ru.json +95 -36
  39. package/templates/beauty-salon/l10n/sv.json +95 -36
  40. package/templates/beauty-salon/l10n/th.json +95 -36
  41. package/templates/beauty-salon/l10n/tr.json +95 -36
  42. package/templates/beauty-salon/l10n/uk.json +95 -36
  43. package/templates/beauty-salon/l10n/vi.json +95 -36
  44. package/templates/beauty-salon/l10n/zh.json +95 -36
  45. package/templates/beauty-salon/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  46. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  47. package/templates/beauty-salon/tier5-src/himi-blog-feed/index.ts +9 -0
  48. package/templates/beauty-salon/tier5-src/himi-blog-post/index.ts +501 -50
  49. package/templates/branded-lite/config.ts +1 -1
  50. package/templates/branded-lite/dev/index.ts +2686 -930
  51. package/templates/branded-lite/l10n/ar.json +80 -41
  52. package/templates/branded-lite/l10n/cs.json +80 -41
  53. package/templates/branded-lite/l10n/da.json +80 -41
  54. package/templates/branded-lite/l10n/de.json +80 -41
  55. package/templates/branded-lite/l10n/el.json +80 -41
  56. package/templates/branded-lite/l10n/en.json +71 -20
  57. package/templates/branded-lite/l10n/es.json +80 -41
  58. package/templates/branded-lite/l10n/fi.json +80 -41
  59. package/templates/branded-lite/l10n/fr.json +80 -41
  60. package/templates/branded-lite/l10n/he.json +66 -33
  61. package/templates/branded-lite/l10n/hu.json +80 -41
  62. package/templates/branded-lite/l10n/id.json +80 -41
  63. package/templates/branded-lite/l10n/it.json +80 -41
  64. package/templates/branded-lite/l10n/ja.json +80 -41
  65. package/templates/branded-lite/l10n/ko.json +80 -41
  66. package/templates/branded-lite/l10n/lt.json +80 -41
  67. package/templates/branded-lite/l10n/nl.json +80 -41
  68. package/templates/branded-lite/l10n/no.json +80 -41
  69. package/templates/branded-lite/l10n/pl.json +80 -41
  70. package/templates/branded-lite/l10n/pt.json +80 -41
  71. package/templates/branded-lite/l10n/ru.json +80 -41
  72. package/templates/branded-lite/l10n/sv.json +80 -41
  73. package/templates/branded-lite/l10n/th.json +80 -41
  74. package/templates/branded-lite/l10n/tr.json +80 -41
  75. package/templates/branded-lite/l10n/uk.json +80 -41
  76. package/templates/branded-lite/l10n/vi.json +80 -41
  77. package/templates/branded-lite/l10n/zh.json +80 -41
  78. package/templates/branded-lite/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  79. package/templates/branded-lite/tier5-src/himi-blog-feed/index.ts +9 -0
  80. package/templates/branded-lite/tier5-src/himi-blog-post/index.ts +501 -50
  81. package/templates/community-club/config.ts +1 -1
  82. package/templates/community-club/dev/index.ts +2742 -974
  83. package/templates/community-club/l10n/ar.json +95 -36
  84. package/templates/community-club/l10n/cs.json +95 -36
  85. package/templates/community-club/l10n/da.json +95 -36
  86. package/templates/community-club/l10n/de.json +95 -36
  87. package/templates/community-club/l10n/el.json +95 -36
  88. package/templates/community-club/l10n/en.json +71 -15
  89. package/templates/community-club/l10n/es.json +95 -36
  90. package/templates/community-club/l10n/fi.json +95 -36
  91. package/templates/community-club/l10n/fr.json +95 -36
  92. package/templates/community-club/l10n/he.json +78 -29
  93. package/templates/community-club/l10n/hu.json +95 -36
  94. package/templates/community-club/l10n/id.json +95 -36
  95. package/templates/community-club/l10n/it.json +95 -36
  96. package/templates/community-club/l10n/ja.json +95 -36
  97. package/templates/community-club/l10n/ko.json +95 -36
  98. package/templates/community-club/l10n/lt.json +95 -36
  99. package/templates/community-club/l10n/nl.json +95 -36
  100. package/templates/community-club/l10n/no.json +95 -36
  101. package/templates/community-club/l10n/pl.json +95 -36
  102. package/templates/community-club/l10n/pt.json +95 -36
  103. package/templates/community-club/l10n/ru.json +95 -36
  104. package/templates/community-club/l10n/sv.json +95 -36
  105. package/templates/community-club/l10n/th.json +95 -36
  106. package/templates/community-club/l10n/tr.json +95 -36
  107. package/templates/community-club/l10n/uk.json +95 -36
  108. package/templates/community-club/l10n/vi.json +95 -36
  109. package/templates/community-club/l10n/zh.json +95 -36
  110. package/templates/community-club/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  111. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  112. package/templates/community-club/tier5-src/himi-blog-feed/index.ts +9 -0
  113. package/templates/community-club/tier5-src/himi-blog-post/index.ts +501 -50
  114. package/templates/events-meetups/config.ts +1 -1
  115. package/templates/events-meetups/dev/index.ts +2705 -937
  116. package/templates/events-meetups/l10n/ar.json +95 -36
  117. package/templates/events-meetups/l10n/cs.json +95 -36
  118. package/templates/events-meetups/l10n/da.json +95 -36
  119. package/templates/events-meetups/l10n/de.json +95 -36
  120. package/templates/events-meetups/l10n/el.json +95 -36
  121. package/templates/events-meetups/l10n/en.json +71 -15
  122. package/templates/events-meetups/l10n/es.json +95 -36
  123. package/templates/events-meetups/l10n/fi.json +95 -36
  124. package/templates/events-meetups/l10n/fr.json +95 -36
  125. package/templates/events-meetups/l10n/he.json +78 -29
  126. package/templates/events-meetups/l10n/hu.json +95 -36
  127. package/templates/events-meetups/l10n/id.json +95 -36
  128. package/templates/events-meetups/l10n/it.json +95 -36
  129. package/templates/events-meetups/l10n/ja.json +95 -36
  130. package/templates/events-meetups/l10n/ko.json +95 -36
  131. package/templates/events-meetups/l10n/lt.json +95 -36
  132. package/templates/events-meetups/l10n/nl.json +95 -36
  133. package/templates/events-meetups/l10n/no.json +95 -36
  134. package/templates/events-meetups/l10n/pl.json +95 -36
  135. package/templates/events-meetups/l10n/pt.json +95 -36
  136. package/templates/events-meetups/l10n/ru.json +95 -36
  137. package/templates/events-meetups/l10n/sv.json +95 -36
  138. package/templates/events-meetups/l10n/th.json +95 -36
  139. package/templates/events-meetups/l10n/tr.json +95 -36
  140. package/templates/events-meetups/l10n/uk.json +95 -36
  141. package/templates/events-meetups/l10n/vi.json +95 -36
  142. package/templates/events-meetups/l10n/zh.json +95 -36
  143. package/templates/events-meetups/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  144. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  145. package/templates/events-meetups/tier5-src/himi-blog-feed/index.ts +9 -0
  146. package/templates/events-meetups/tier5-src/himi-blog-post/index.ts +501 -50
  147. package/templates/gym-fitness/config.ts +1 -1
  148. package/templates/gym-fitness/dev/index.ts +2621 -853
  149. package/templates/gym-fitness/l10n/ar.json +95 -36
  150. package/templates/gym-fitness/l10n/cs.json +95 -36
  151. package/templates/gym-fitness/l10n/da.json +95 -36
  152. package/templates/gym-fitness/l10n/de.json +95 -36
  153. package/templates/gym-fitness/l10n/el.json +95 -36
  154. package/templates/gym-fitness/l10n/en.json +71 -15
  155. package/templates/gym-fitness/l10n/es.json +95 -36
  156. package/templates/gym-fitness/l10n/fi.json +95 -36
  157. package/templates/gym-fitness/l10n/fr.json +95 -36
  158. package/templates/gym-fitness/l10n/he.json +78 -29
  159. package/templates/gym-fitness/l10n/hu.json +95 -36
  160. package/templates/gym-fitness/l10n/id.json +95 -36
  161. package/templates/gym-fitness/l10n/it.json +95 -36
  162. package/templates/gym-fitness/l10n/ja.json +95 -36
  163. package/templates/gym-fitness/l10n/ko.json +95 -36
  164. package/templates/gym-fitness/l10n/lt.json +95 -36
  165. package/templates/gym-fitness/l10n/nl.json +95 -36
  166. package/templates/gym-fitness/l10n/no.json +95 -36
  167. package/templates/gym-fitness/l10n/pl.json +95 -36
  168. package/templates/gym-fitness/l10n/pt.json +95 -36
  169. package/templates/gym-fitness/l10n/ru.json +95 -36
  170. package/templates/gym-fitness/l10n/sv.json +95 -36
  171. package/templates/gym-fitness/l10n/th.json +95 -36
  172. package/templates/gym-fitness/l10n/tr.json +95 -36
  173. package/templates/gym-fitness/l10n/uk.json +95 -36
  174. package/templates/gym-fitness/l10n/vi.json +95 -36
  175. package/templates/gym-fitness/l10n/zh.json +95 -36
  176. package/templates/gym-fitness/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  177. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  178. package/templates/gym-fitness/tier5-src/himi-blog-feed/index.ts +9 -0
  179. package/templates/gym-fitness/tier5-src/himi-blog-post/index.ts +501 -50
  180. package/templates/nonprofit-cause/config.ts +1 -1
  181. package/templates/nonprofit-cause/dev/index.ts +2704 -936
  182. package/templates/nonprofit-cause/l10n/ar.json +95 -36
  183. package/templates/nonprofit-cause/l10n/cs.json +95 -36
  184. package/templates/nonprofit-cause/l10n/da.json +95 -36
  185. package/templates/nonprofit-cause/l10n/de.json +95 -36
  186. package/templates/nonprofit-cause/l10n/el.json +95 -36
  187. package/templates/nonprofit-cause/l10n/en.json +71 -15
  188. package/templates/nonprofit-cause/l10n/es.json +95 -36
  189. package/templates/nonprofit-cause/l10n/fi.json +95 -36
  190. package/templates/nonprofit-cause/l10n/fr.json +95 -36
  191. package/templates/nonprofit-cause/l10n/he.json +78 -29
  192. package/templates/nonprofit-cause/l10n/hu.json +95 -36
  193. package/templates/nonprofit-cause/l10n/id.json +95 -36
  194. package/templates/nonprofit-cause/l10n/it.json +95 -36
  195. package/templates/nonprofit-cause/l10n/ja.json +95 -36
  196. package/templates/nonprofit-cause/l10n/ko.json +95 -36
  197. package/templates/nonprofit-cause/l10n/lt.json +95 -36
  198. package/templates/nonprofit-cause/l10n/nl.json +95 -36
  199. package/templates/nonprofit-cause/l10n/no.json +95 -36
  200. package/templates/nonprofit-cause/l10n/pl.json +95 -36
  201. package/templates/nonprofit-cause/l10n/pt.json +95 -36
  202. package/templates/nonprofit-cause/l10n/ru.json +95 -36
  203. package/templates/nonprofit-cause/l10n/sv.json +95 -36
  204. package/templates/nonprofit-cause/l10n/th.json +95 -36
  205. package/templates/nonprofit-cause/l10n/tr.json +95 -36
  206. package/templates/nonprofit-cause/l10n/uk.json +95 -36
  207. package/templates/nonprofit-cause/l10n/vi.json +95 -36
  208. package/templates/nonprofit-cause/l10n/zh.json +95 -36
  209. package/templates/nonprofit-cause/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  210. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  211. package/templates/nonprofit-cause/tier5-src/himi-blog-feed/index.ts +9 -0
  212. package/templates/nonprofit-cause/tier5-src/himi-blog-post/index.ts +501 -50
  213. package/templates/podcast-creator/config.ts +1 -1
  214. package/templates/podcast-creator/dev/index.ts +2704 -936
  215. package/templates/podcast-creator/l10n/ar.json +95 -36
  216. package/templates/podcast-creator/l10n/cs.json +95 -36
  217. package/templates/podcast-creator/l10n/da.json +95 -36
  218. package/templates/podcast-creator/l10n/de.json +95 -36
  219. package/templates/podcast-creator/l10n/el.json +95 -36
  220. package/templates/podcast-creator/l10n/en.json +71 -15
  221. package/templates/podcast-creator/l10n/es.json +95 -36
  222. package/templates/podcast-creator/l10n/fi.json +95 -36
  223. package/templates/podcast-creator/l10n/fr.json +95 -36
  224. package/templates/podcast-creator/l10n/he.json +78 -29
  225. package/templates/podcast-creator/l10n/hu.json +95 -36
  226. package/templates/podcast-creator/l10n/id.json +95 -36
  227. package/templates/podcast-creator/l10n/it.json +95 -36
  228. package/templates/podcast-creator/l10n/ja.json +95 -36
  229. package/templates/podcast-creator/l10n/ko.json +95 -36
  230. package/templates/podcast-creator/l10n/lt.json +95 -36
  231. package/templates/podcast-creator/l10n/nl.json +95 -36
  232. package/templates/podcast-creator/l10n/no.json +95 -36
  233. package/templates/podcast-creator/l10n/pl.json +95 -36
  234. package/templates/podcast-creator/l10n/pt.json +95 -36
  235. package/templates/podcast-creator/l10n/ru.json +95 -36
  236. package/templates/podcast-creator/l10n/sv.json +95 -36
  237. package/templates/podcast-creator/l10n/th.json +95 -36
  238. package/templates/podcast-creator/l10n/tr.json +95 -36
  239. package/templates/podcast-creator/l10n/uk.json +95 -36
  240. package/templates/podcast-creator/l10n/vi.json +95 -36
  241. package/templates/podcast-creator/l10n/zh.json +95 -36
  242. package/templates/podcast-creator/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  243. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  244. package/templates/podcast-creator/tier5-src/himi-blog-feed/index.ts +9 -0
  245. package/templates/podcast-creator/tier5-src/himi-blog-post/index.ts +501 -50
  246. package/templates/portfolio-creative/config.ts +1 -1
  247. package/templates/portfolio-creative/dev/index.ts +2499 -731
  248. package/templates/portfolio-creative/l10n/ar.json +95 -36
  249. package/templates/portfolio-creative/l10n/cs.json +95 -36
  250. package/templates/portfolio-creative/l10n/da.json +95 -36
  251. package/templates/portfolio-creative/l10n/de.json +95 -36
  252. package/templates/portfolio-creative/l10n/el.json +95 -36
  253. package/templates/portfolio-creative/l10n/en.json +71 -15
  254. package/templates/portfolio-creative/l10n/es.json +95 -36
  255. package/templates/portfolio-creative/l10n/fi.json +95 -36
  256. package/templates/portfolio-creative/l10n/fr.json +95 -36
  257. package/templates/portfolio-creative/l10n/he.json +78 -29
  258. package/templates/portfolio-creative/l10n/hu.json +95 -36
  259. package/templates/portfolio-creative/l10n/id.json +95 -36
  260. package/templates/portfolio-creative/l10n/it.json +95 -36
  261. package/templates/portfolio-creative/l10n/ja.json +95 -36
  262. package/templates/portfolio-creative/l10n/ko.json +95 -36
  263. package/templates/portfolio-creative/l10n/lt.json +95 -36
  264. package/templates/portfolio-creative/l10n/nl.json +95 -36
  265. package/templates/portfolio-creative/l10n/no.json +95 -36
  266. package/templates/portfolio-creative/l10n/pl.json +95 -36
  267. package/templates/portfolio-creative/l10n/pt.json +95 -36
  268. package/templates/portfolio-creative/l10n/ru.json +95 -36
  269. package/templates/portfolio-creative/l10n/sv.json +95 -36
  270. package/templates/portfolio-creative/l10n/th.json +95 -36
  271. package/templates/portfolio-creative/l10n/tr.json +95 -36
  272. package/templates/portfolio-creative/l10n/uk.json +95 -36
  273. package/templates/portfolio-creative/l10n/vi.json +95 -36
  274. package/templates/portfolio-creative/l10n/zh.json +95 -36
  275. package/templates/portfolio-creative/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  276. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  277. package/templates/portfolio-creative/tier5-src/himi-blog-feed/index.ts +9 -0
  278. package/templates/portfolio-creative/tier5-src/himi-blog-post/index.ts +501 -50
  279. package/templates/restaurant/config.ts +1 -1
  280. package/templates/restaurant/dev/index.ts +2528 -760
  281. package/templates/restaurant/l10n/ar.json +95 -36
  282. package/templates/restaurant/l10n/cs.json +95 -36
  283. package/templates/restaurant/l10n/da.json +95 -36
  284. package/templates/restaurant/l10n/de.json +95 -36
  285. package/templates/restaurant/l10n/el.json +95 -36
  286. package/templates/restaurant/l10n/en.json +71 -15
  287. package/templates/restaurant/l10n/es.json +95 -36
  288. package/templates/restaurant/l10n/fi.json +95 -36
  289. package/templates/restaurant/l10n/fr.json +95 -36
  290. package/templates/restaurant/l10n/he.json +78 -29
  291. package/templates/restaurant/l10n/hu.json +95 -36
  292. package/templates/restaurant/l10n/id.json +95 -36
  293. package/templates/restaurant/l10n/it.json +95 -36
  294. package/templates/restaurant/l10n/ja.json +95 -36
  295. package/templates/restaurant/l10n/ko.json +95 -36
  296. package/templates/restaurant/l10n/lt.json +95 -36
  297. package/templates/restaurant/l10n/nl.json +95 -36
  298. package/templates/restaurant/l10n/no.json +95 -36
  299. package/templates/restaurant/l10n/pl.json +95 -36
  300. package/templates/restaurant/l10n/pt.json +95 -36
  301. package/templates/restaurant/l10n/ru.json +95 -36
  302. package/templates/restaurant/l10n/sv.json +95 -36
  303. package/templates/restaurant/l10n/th.json +95 -36
  304. package/templates/restaurant/l10n/tr.json +95 -36
  305. package/templates/restaurant/l10n/uk.json +95 -36
  306. package/templates/restaurant/l10n/vi.json +95 -36
  307. package/templates/restaurant/l10n/zh.json +95 -36
  308. package/templates/restaurant/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  309. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  310. package/templates/restaurant/tier5-src/himi-blog-feed/index.ts +9 -0
  311. package/templates/restaurant/tier5-src/himi-blog-post/index.ts +501 -50
  312. package/templates/retail-store/config.ts +1 -1
  313. package/templates/retail-store/dev/index.ts +2417 -661
  314. package/templates/retail-store/l10n/ar.json +95 -41
  315. package/templates/retail-store/l10n/cs.json +95 -41
  316. package/templates/retail-store/l10n/da.json +95 -41
  317. package/templates/retail-store/l10n/de.json +95 -41
  318. package/templates/retail-store/l10n/el.json +95 -41
  319. package/templates/retail-store/l10n/en.json +71 -20
  320. package/templates/retail-store/l10n/es.json +95 -41
  321. package/templates/retail-store/l10n/fi.json +95 -41
  322. package/templates/retail-store/l10n/fr.json +95 -41
  323. package/templates/retail-store/l10n/he.json +78 -33
  324. package/templates/retail-store/l10n/hu.json +95 -41
  325. package/templates/retail-store/l10n/id.json +95 -41
  326. package/templates/retail-store/l10n/it.json +95 -41
  327. package/templates/retail-store/l10n/ja.json +95 -41
  328. package/templates/retail-store/l10n/ko.json +95 -41
  329. package/templates/retail-store/l10n/lt.json +95 -41
  330. package/templates/retail-store/l10n/nl.json +95 -41
  331. package/templates/retail-store/l10n/no.json +95 -41
  332. package/templates/retail-store/l10n/pl.json +95 -41
  333. package/templates/retail-store/l10n/pt.json +95 -41
  334. package/templates/retail-store/l10n/ru.json +95 -41
  335. package/templates/retail-store/l10n/sv.json +95 -41
  336. package/templates/retail-store/l10n/th.json +95 -41
  337. package/templates/retail-store/l10n/tr.json +95 -41
  338. package/templates/retail-store/l10n/uk.json +95 -41
  339. package/templates/retail-store/l10n/vi.json +95 -41
  340. package/templates/retail-store/l10n/zh.json +95 -41
  341. package/templates/retail-store/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  342. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  343. package/templates/retail-store/tier5-src/himi-blog-feed/index.ts +9 -0
  344. package/templates/retail-store/tier5-src/himi-blog-post/index.ts +501 -50
  345. package/templates/yoga-studio/config.ts +1 -1
  346. package/templates/yoga-studio/dev/index.ts +2619 -851
  347. package/templates/yoga-studio/l10n/ar.json +95 -36
  348. package/templates/yoga-studio/l10n/cs.json +95 -36
  349. package/templates/yoga-studio/l10n/da.json +95 -36
  350. package/templates/yoga-studio/l10n/de.json +95 -36
  351. package/templates/yoga-studio/l10n/el.json +95 -36
  352. package/templates/yoga-studio/l10n/en.json +71 -15
  353. package/templates/yoga-studio/l10n/es.json +95 -36
  354. package/templates/yoga-studio/l10n/fi.json +95 -36
  355. package/templates/yoga-studio/l10n/fr.json +95 -36
  356. package/templates/yoga-studio/l10n/he.json +78 -29
  357. package/templates/yoga-studio/l10n/hu.json +95 -36
  358. package/templates/yoga-studio/l10n/id.json +95 -36
  359. package/templates/yoga-studio/l10n/it.json +95 -36
  360. package/templates/yoga-studio/l10n/ja.json +95 -36
  361. package/templates/yoga-studio/l10n/ko.json +95 -36
  362. package/templates/yoga-studio/l10n/lt.json +95 -36
  363. package/templates/yoga-studio/l10n/nl.json +95 -36
  364. package/templates/yoga-studio/l10n/no.json +95 -36
  365. package/templates/yoga-studio/l10n/pl.json +95 -36
  366. package/templates/yoga-studio/l10n/pt.json +95 -36
  367. package/templates/yoga-studio/l10n/ru.json +95 -36
  368. package/templates/yoga-studio/l10n/sv.json +95 -36
  369. package/templates/yoga-studio/l10n/th.json +95 -36
  370. package/templates/yoga-studio/l10n/tr.json +95 -36
  371. package/templates/yoga-studio/l10n/uk.json +95 -36
  372. package/templates/yoga-studio/l10n/vi.json +95 -36
  373. package/templates/yoga-studio/l10n/zh.json +95 -36
  374. package/templates/yoga-studio/tier5-src/_shared/himi-blog-post-row.ts +5 -1
  375. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
  376. package/templates/yoga-studio/tier5-src/himi-blog-feed/index.ts +9 -0
  377. package/templates/yoga-studio/tier5-src/himi-blog-post/index.ts +501 -50
@@ -1084,6 +1084,9 @@ export declare function bottomSheet(props: {
1084
1084
  /** Nano parity (#6017) — `"none"` draws no dim behind the sheet while it stays modal (the
1085
1085
  * scrim still blocks touches and dismisses on tap). Default `"dim"`. */
1086
1086
  backdrop?: "dim" | "none";
1087
+ /** A sticky footer below the scrolling `content`: pinned to the sheet's bottom edge and above the
1088
+ * software keyboard (a comment composer). Modal bottom and side sheets only. */
1089
+ footer?: Component;
1087
1090
  }, opts?: {
1088
1091
  id?: string;
1089
1092
  }): Component;
@@ -1585,6 +1585,10 @@ export interface BottomSheetProps {
1585
1585
  /** "dim" (default) | "none": no dim behind a sheet that stays modal
1586
1586
  * (the scrim still blocks and dismisses). `modal: false` drops modality too. */
1587
1587
  backdrop?: "dim" | "none";
1588
+ /** A sticky footer drawn BELOW the scrolling `content`: it never scrolls with it, stays pinned
1589
+ * to the sheet's bottom edge and rides above the software keyboard (a comment composer). Modal
1590
+ * bottom and side sheets only — a footer on a `modal: false` sheet is a validation error. */
1591
+ footer?: Component;
1588
1592
  }
1589
1593
  export interface MenuItem {
1590
1594
  id: string;
@@ -1,7 +1,11 @@
1
1
  export declare const BLOG_COMMENTS_APP_ID = "14bcded7-0066-7c35-14d7-466cb3f09103";
2
2
  export type WixBlogCommentRow = {
3
3
  id: string;
4
+ /** The name the wire object carries, or "" — the Comments API names most authors by id only
5
+ * (`author.memberId`), so a caller resolves the public name from `authorMemberId`. */
4
6
  authorName: string;
7
+ /** The author's member id (`author.memberId`); absent for a visitor or an id-less author. */
8
+ authorMemberId?: string;
5
9
  /** The comment's plain text (every text run, space-joined). */
6
10
  text: string;
7
11
  createdDate: string;
@@ -17,6 +21,29 @@ export type WixBlogCommentRow = {
17
21
  * ingested spec calls it by itself — so this is a signal to show "N more replies" rather
18
22
  * than silently truncating, not something a caller can page past yet. */
19
23
  hasMoreReplies?: boolean;
24
+ /** `reactionSummary.total` — absent when the site returned no reaction summary (then the
25
+ * site does not take reactions on this comment, and a Like control should not show). */
26
+ reactionTotal?: number;
27
+ /** `replyCount`, when the response carried one. */
28
+ replyCount?: number;
29
+ };
30
+ /** The comment text as Ricos: one PARAGRAPH per line, so a multi-line comment keeps its lines
31
+ * (a single TEXT node with "\n" in it showed only the first line on the site and in the app). */
32
+ export declare const ricosText: (text: string) => {
33
+ nodes: {
34
+ type: string;
35
+ id: string;
36
+ nodes: {
37
+ type: string;
38
+ id: string;
39
+ textData: {
40
+ text: string;
41
+ };
42
+ }[];
43
+ }[];
44
+ metadata: {
45
+ version: number;
46
+ };
20
47
  };
21
48
  type BlogCommentLike = {
22
49
  id?: string;
@@ -33,6 +60,47 @@ export declare function blogCommentRow(comment: BlogCommentLike | undefined): Wi
33
60
  export declare function createBlogComment(postId: string, text: string): Promise<WixBlogCommentRow>;
34
61
  /** First Comments page for Blog v3 `post.internalId`, not its navigation UUID. */
35
62
  export declare function listBlogComments(postId: string): Promise<WixBlogCommentRow[]>;
63
+ /** The reaction code a like is on Wix Comments — the code the Wix Blog site uses for a comment
64
+ * like, and the one the Comments API docs react with. */
65
+ export declare const COMMENT_LIKE_CODE = ":like:";
66
+ export interface WixBlogCommentPage {
67
+ /** Top-level comments newest first; each one's replies follow it, oldest reply first, tagged
68
+ * with `parentCommentId`. */
69
+ comments: WixBlogCommentRow[];
70
+ /** The cursor of the next page of top-level comments ("" when there is none). */
71
+ nextCursor: string;
72
+ }
73
+ export interface WixBlogCommentPageOptions {
74
+ cursor?: string;
75
+ /** Top-level comments per page. */
76
+ limit?: number;
77
+ /** Replies included under each comment. */
78
+ repliesLimit?: number;
79
+ }
80
+ /** One page of a blog post's comments, NEWEST first, with each comment's replies —
81
+ * GET /comments/v1/comments/list-by-resource with `commentSort.order=NEWEST_FIRST`,
82
+ * `replySort.order=OLDEST_FIRST` and `cursorPaging` (verified live on the demo site,
83
+ * 2026-11-17: the cursor pages the rest newest first). `postId` is Blog v3 `post.internalId`.
84
+ * Query-string params only, hand-built: see `listBlogComments` for why. An empty `comments`
85
+ * with no cursor is a post with no comments; a page without a comment list throws.
86
+ *
87
+ * @scope visitor — readable with a site visitor token (verified live 2026-11-17). */
88
+ export declare function listBlogCommentPage(postId: string, opts?: WixBlogCommentPageOptions): Promise<WixBlogCommentPage>;
89
+ /** Which of `commentIds` the current identity liked — POST /comments/v1/bulk/comments/reactions/get
90
+ * (`hasReacted` per reaction code). At most 100 ids per call; the request fails as a whole when
91
+ * any id is not in this post's context, so pass only ids read from it.
92
+ *
93
+ * @scope visitor — a visitor gets an empty set; a signed-in member gets their own likes. */
94
+ export declare function likedBlogComments(postId: string, commentIds: readonly string[]): Promise<Set<string>>;
95
+ /** Like (`true`) or unlike a comment as the current identity (reaction code `:like:`).
96
+ *
97
+ * @scope member — the site refuses a visitor's reaction. */
98
+ export declare function setBlogCommentLike(commentId: string, like: boolean): Promise<void>;
99
+ /** A comment, or a reply to `parentCommentId`, on Blog v3 `post.internalId`. One level only:
100
+ * a reply to a reply goes to the same parent.
101
+ *
102
+ * @scope member — a site that does not allow visitor comments refuses a visitor (HTTP 403). */
103
+ export declare function postBlogComment(postId: string, text: string, parentCommentId?: string): Promise<WixBlogCommentRow>;
36
104
  /** The appId Wix Groups registers as its comments provider. Same value as
37
105
  * GROUPS_APP_ID/GROUPS_APP_DEF_ID used elsewhere in this repo (social-feed's
38
106
  * reactions/create-post calls) — Groups is one of the apps where the comments
@@ -13167,7 +13167,7 @@ var ICON_CATALOG = {
13167
13167
  "style": "filled",
13168
13168
  "ios": {
13169
13169
  "sf": "ellipsis.vertical",
13170
- "match": "exact"
13170
+ "match": "none"
13171
13171
  },
13172
13172
  "android": {
13173
13173
  "material": "MoreVert",
@@ -7,19 +7,11 @@ var __export = (target, all) => {
7
7
  // ../../stdlib/wix-sdk/comments-v1/src/extensions.ts
8
8
  var BLOG_COMMENTS_APP_ID = "14bcded7-0066-7c35-14d7-466cb3f09103";
9
9
  var ricosText = (text) => ({
10
- nodes: [
11
- {
12
- type: "PARAGRAPH",
13
- id: "himi-blog-comment",
14
- nodes: [
15
- {
16
- type: "TEXT",
17
- id: "himi-blog-comment-text",
18
- textData: { text }
19
- }
20
- ]
21
- }
22
- ],
10
+ nodes: text.split(/\r?\n/).map((line, index) => ({
11
+ type: "PARAGRAPH",
12
+ id: index === 0 ? "himi-blog-comment" : `himi-blog-comment-${index}`,
13
+ nodes: line ? [{ type: "TEXT", id: index === 0 ? "himi-blog-comment-text" : `himi-blog-comment-text-${index}`, textData: { text: line } }] : []
14
+ })),
23
15
  metadata: { version: 1 }
24
16
  });
25
17
  var readRichText = (node) => {
@@ -30,13 +22,23 @@ var readRichText = (node) => {
30
22
  };
31
23
  var commentText = (comment) => {
32
24
  const richContent = comment.content?.richContent;
33
- const text = readRichText(richContent);
34
- return text || "Comment";
25
+ const blocks = richContent?.nodes;
26
+ const text = Array.isArray(blocks) && blocks.length > 1 ? blocks.map(readRichText).join("\n").replace(/^\n+|\n+$/g, "") : readRichText(richContent);
27
+ return text.trim() ? text : "Comment";
35
28
  };
36
29
  var commentRichContent = (comment) => comment.content?.richContent;
37
30
  var commentAuthor = (comment) => {
38
31
  const author = comment.author;
39
- return author?.name ?? author?.nickname ?? "Member";
32
+ return (author?.name ?? author?.nickname ?? "").trim();
33
+ };
34
+ var commentExtras = (comment) => {
35
+ const memberId = comment.author?.memberId?.trim();
36
+ const total = comment.reactionSummary?.total;
37
+ return {
38
+ ...memberId ? { authorMemberId: memberId } : {},
39
+ ...comment.reactionSummary ? { reactionTotal: typeof total === "number" && total >= 0 ? total : 0 } : {},
40
+ ...typeof comment.replyCount === "number" ? { replyCount: comment.replyCount } : {}
41
+ };
40
42
  };
41
43
  function blogCommentRow(comment) {
42
44
  const c = comment ?? {};
@@ -45,7 +47,9 @@ function blogCommentRow(comment) {
45
47
  authorName: commentAuthor(c),
46
48
  text: commentText(c),
47
49
  createdDate: c.createdDate ?? (/* @__PURE__ */ new Date()).toISOString(),
48
- richContent: commentRichContent(c)
50
+ richContent: commentRichContent(c),
51
+ ...commentExtras(c),
52
+ ...c.parentComment?.id ? { parentCommentId: c.parentComment.id } : {}
49
53
  };
50
54
  }
51
55
  async function createBlogComment(postId, text) {
@@ -88,7 +92,8 @@ async function listBlogComments(postId) {
88
92
  authorName: commentAuthor(comment),
89
93
  text: commentText(comment),
90
94
  createdDate: comment.createdDate ?? "",
91
- richContent: commentRichContent(comment)
95
+ richContent: commentRichContent(comment),
96
+ ...commentExtras(comment)
92
97
  }));
93
98
  const instantOf = (row) => {
94
99
  if (!row.createdDate) return Number.POSITIVE_INFINITY;
@@ -101,6 +106,102 @@ async function listBlogComments(postId) {
101
106
  return x === y ? 0 : x < y ? -1 : 1;
102
107
  });
103
108
  }
109
+ var COMMENT_LIKE_CODE = ":like:";
110
+ var MAX_REPLY_PAGES = 25;
111
+ async function listBlogCommentPage(postId, opts = {}) {
112
+ if (!postId) {
113
+ throw new Error("postId is required");
114
+ }
115
+ const params = [
116
+ ["appId", BLOG_COMMENTS_APP_ID],
117
+ ["contextId", postId],
118
+ ["resourceId", postId],
119
+ ["commentSort.order", "NEWEST_FIRST"],
120
+ ["replySort.order", "OLDEST_FIRST"],
121
+ ["cursorPaging.repliesLimit", String(opts.repliesLimit ?? 20)],
122
+ ...opts.limit != null ? [["cursorPaging.limit", String(opts.limit)]] : [],
123
+ ...opts.cursor ? [["cursorPaging.cursor", opts.cursor]] : []
124
+ ];
125
+ const query = params.map(([k, v]) => `${k}=${encodeURIComponent(v)}`).join("&");
126
+ const response = await wixCall("GET", `/comments/v1/comments/list-by-resource?${query}`);
127
+ if (!Array.isArray(response?.comments) && !(response?.comments == null && response?.pagingMetadata?.count === 0)) {
128
+ throw new Error("Blog comments response has no comment page");
129
+ }
130
+ const toRow = (comment, parentCommentId) => ({
131
+ id: comment.id ?? "comment",
132
+ authorName: commentAuthor(comment),
133
+ text: commentText(comment),
134
+ createdDate: comment.createdDate ?? "",
135
+ richContent: commentRichContent(comment),
136
+ ...commentExtras(comment),
137
+ ...parentCommentId ? { parentCommentId } : {}
138
+ });
139
+ const repliesByParent = response.commentReplies ?? {};
140
+ const nextOf = (meta) => meta?.hasNext ? meta?.cursors?.next ?? "" : "";
141
+ const rows = [];
142
+ for (const comment of response.comments ?? []) {
143
+ const parent = toRow(comment);
144
+ const replies = (repliesByParent[parent.id]?.replies ?? []).map((reply) => toRow(reply, parent.id));
145
+ let cursor = nextOf(repliesByParent[parent.id]?.pagingMetadata);
146
+ for (let page = 0; cursor && page < MAX_REPLY_PAGES; page++) {
147
+ let more;
148
+ try {
149
+ more = await wixCall("GET", `/comments/v1/comments/list-by-resource?${[
150
+ ["appId", BLOG_COMMENTS_APP_ID],
151
+ ["contextId", postId],
152
+ ["resourceId", postId],
153
+ ["cursorPaging.cursor", cursor],
154
+ ["cursorPaging.limit", "100"]
155
+ ].map(([k, v]) => `${k}=${encodeURIComponent(v)}`).join("&")}`);
156
+ } catch {
157
+ break;
158
+ }
159
+ replies.push(...(more?.comments ?? []).map((reply) => toRow(reply, parent.id)));
160
+ cursor = nextOf(more?.pagingMetadata);
161
+ }
162
+ if (cursor) parent.hasMoreReplies = true;
163
+ rows.push(parent, ...replies);
164
+ }
165
+ const next = response.pagingMetadata?.hasNext ? response.pagingMetadata?.cursors?.next ?? "" : "";
166
+ return { comments: rows, nextCursor: next };
167
+ }
168
+ async function likedBlogComments(postId, commentIds) {
169
+ const liked = /* @__PURE__ */ new Set();
170
+ for (let at = 0; at < commentIds.length; at += 100) {
171
+ const batch = commentIds.slice(at, at + 100);
172
+ const response = await bulkGetCommentReactions({ appId: BLOG_COMMENTS_APP_ID, contextId: postId, commentIds: [...batch] });
173
+ const reactions = response?.reactions ?? {};
174
+ for (const id of batch) {
175
+ if (reactions[id]?.codeReactions?.some((code) => code.reactionCode === COMMENT_LIKE_CODE && code.hasReacted === true)) liked.add(id);
176
+ }
177
+ }
178
+ return liked;
179
+ }
180
+ async function setBlogCommentLike(commentId, like) {
181
+ if (like) await addCommentReaction(commentId, { reactionCode: COMMENT_LIKE_CODE });
182
+ else await removeCommentReaction(commentId, { reactionCode: COMMENT_LIKE_CODE });
183
+ }
184
+ async function postBlogComment(postId, text, parentCommentId) {
185
+ const trimmed = text.trim();
186
+ if (!postId) {
187
+ throw new Error("postId is required");
188
+ }
189
+ if (!trimmed) {
190
+ throw new Error("comment text is required");
191
+ }
192
+ const request = {
193
+ comment: {
194
+ appId: BLOG_COMMENTS_APP_ID,
195
+ contextId: postId,
196
+ resourceId: postId,
197
+ content: { richContent: ricosText(trimmed) },
198
+ ...parentCommentId ? { parentComment: { id: parentCommentId } } : {}
199
+ }
200
+ };
201
+ const response = await createComment(request);
202
+ const row = blogCommentRow(response.comment ?? response);
203
+ return parentCommentId ? { ...row, parentCommentId } : row;
204
+ }
104
205
  var GROUPS_COMMENTS_APP_ID = "148c2287-c669-d849-d153-463c7486a694";
105
206
  async function createGroupPostComment(groupId, feedItemId, text, parentCommentId) {
106
207
  const trimmed = text.trim();
@@ -152,6 +253,7 @@ async function listGroupPostComments(groupId, feedItemId, opts = {}) {
152
253
  text: commentText(comment),
153
254
  createdDate: comment.createdDate ?? "",
154
255
  richContent: commentRichContent(comment),
256
+ ...commentExtras(comment),
155
257
  ...parentCommentId ? { parentCommentId } : {}
156
258
  });
157
259
  const instantOf = (row) => {
@@ -700,6 +802,7 @@ function updateCommentsWidget(req, opts) {
700
802
  }
701
803
  export {
702
804
  BLOG_COMMENTS_APP_ID,
805
+ COMMENT_LIKE_CODE,
703
806
  GROUPS_COMMENTS_APP_ID,
704
807
  addCommentReaction,
705
808
  blogCommentRow,
@@ -721,15 +824,20 @@ export {
721
824
  getComment,
722
825
  getCommentThread,
723
826
  hideComment,
827
+ likedBlogComments,
828
+ listBlogCommentPage,
724
829
  listBlogComments,
725
830
  listCommentsByResource,
726
831
  listGroupPostComments,
727
832
  markComment,
728
833
  moderateDraftContent,
834
+ postBlogComment,
729
835
  publishComment,
730
836
  queryComments,
731
837
  ratings_generated_exports as ratings,
732
838
  removeCommentReaction,
839
+ ricosText,
840
+ setBlogCommentLike,
733
841
  unmarkComment,
734
842
  updateComment,
735
843
  widgets_generated_exports as widgets,
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2601844
5
+ "bytes": 2603268
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 24320
22
22
  },
23
23
  {
24
- "name": "preview-deferred/d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin",
24
+ "name": "preview-deferred/ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-D-4TEGX8.js",
82
+ "key": "assets/pdf-91-oDBuu.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547",
85
- "file": "preview-deferred/d71e5b22a5ff1965fd887118ee8b2a74497b48a88f4459c9800569457e1fb547.bin"
84
+ "sha256": "ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541",
85
+ "file": "preview-deferred/ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",