@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
@@ -79,6 +79,10 @@ interface S {
79
79
  notErrored: boolean;
80
80
  isEmpty: boolean;
81
81
  noEmpty: boolean;
82
+ /** The empty state, split: no post matches the search or the category (with Clear filters), or
83
+ * the blog has no posts at all (no button). */
84
+ noMatchHidden: boolean;
85
+ noPostsHidden: boolean;
82
86
  resultSummary: string;
83
87
  }
84
88
 
@@ -205,6 +209,7 @@ function derive(s: S): S {
205
209
  const isLoading = s.status === "loading";
206
210
  const errored = s.status === "error";
207
211
  const isEmpty = !isLoading && !errored && s.posts.length === 0;
212
+ const filtered = !!s.query.trim() || !!s.selectedCategoryId;
208
213
  return {
209
214
  ...s,
210
215
  selectedCategoryIds: [s.selectedCategoryId],
@@ -220,6 +225,8 @@ function derive(s: S): S {
220
225
  notErrored: !errored,
221
226
  isEmpty,
222
227
  noEmpty: !isEmpty,
228
+ noMatchHidden: !(isEmpty && filtered),
229
+ noPostsHidden: !(isEmpty && !filtered),
223
230
  noMore: !s.hasMore,
224
231
  nextCursor: s.hasMore ? `${s.generation}:${s.offset}` : "",
225
232
  };
@@ -290,6 +297,8 @@ const baseState: S = derive({
290
297
  errored: false,
291
298
  notErrored: true,
292
299
  isEmpty: false,
300
+ noMatchHidden: true,
301
+ noPostsHidden: true,
293
302
  noEmpty: true,
294
303
  resultSummary: "",
295
304
  });