@wix/himalaya-cli 0.1865.0 → 0.1867.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 (393) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +17 -7
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +1 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +55 -11
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +55 -11
  5. package/dist/browser-plane/assets.json +5 -5
  6. package/dist/browser-plane/preview-deferred/{a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a.bin → 4a8928bb82fc0db03269e14445bfc09155ceb3cde1f268162ac70b7ceb097b1f.bin} +1 -1
  7. package/dist/browser-plane/sw.js +9 -9
  8. package/dist/cli.mjs +55 -42
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/designing-himi-screens.md +1 -0
  11. package/guides/one-app-to-himi-app.md +1 -0
  12. package/package.json +2 -2
  13. package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +14 -1
  14. package/templates/beauty-salon/dev/index.ts +122 -8
  15. package/templates/beauty-salon/l10n/ar.json +5 -0
  16. package/templates/beauty-salon/l10n/cs.json +5 -0
  17. package/templates/beauty-salon/l10n/da.json +5 -0
  18. package/templates/beauty-salon/l10n/de.json +5 -0
  19. package/templates/beauty-salon/l10n/el.json +5 -0
  20. package/templates/beauty-salon/l10n/en.json +1 -1
  21. package/templates/beauty-salon/l10n/es.json +5 -0
  22. package/templates/beauty-salon/l10n/fi.json +5 -0
  23. package/templates/beauty-salon/l10n/fr.json +5 -0
  24. package/templates/beauty-salon/l10n/he.json +4 -0
  25. package/templates/beauty-salon/l10n/hu.json +5 -0
  26. package/templates/beauty-salon/l10n/id.json +5 -0
  27. package/templates/beauty-salon/l10n/it.json +5 -0
  28. package/templates/beauty-salon/l10n/ja.json +5 -0
  29. package/templates/beauty-salon/l10n/ko.json +5 -0
  30. package/templates/beauty-salon/l10n/lt.json +5 -0
  31. package/templates/beauty-salon/l10n/nl.json +5 -0
  32. package/templates/beauty-salon/l10n/no.json +5 -0
  33. package/templates/beauty-salon/l10n/pl.json +5 -0
  34. package/templates/beauty-salon/l10n/pt.json +5 -0
  35. package/templates/beauty-salon/l10n/ru.json +5 -0
  36. package/templates/beauty-salon/l10n/sv.json +5 -0
  37. package/templates/beauty-salon/l10n/th.json +5 -0
  38. package/templates/beauty-salon/l10n/tr.json +5 -0
  39. package/templates/beauty-salon/l10n/uk.json +5 -0
  40. package/templates/beauty-salon/l10n/vi.json +5 -0
  41. package/templates/beauty-salon/l10n/zh.json +5 -0
  42. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +14 -1
  43. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +192 -28
  44. package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +14 -1
  45. package/templates/branded-lite/dev/index.ts +732 -583
  46. package/templates/branded-lite/l10n/ar.json +5 -0
  47. package/templates/branded-lite/l10n/cs.json +5 -0
  48. package/templates/branded-lite/l10n/da.json +5 -0
  49. package/templates/branded-lite/l10n/de.json +5 -0
  50. package/templates/branded-lite/l10n/el.json +5 -0
  51. package/templates/branded-lite/l10n/en.json +2 -2
  52. package/templates/branded-lite/l10n/es.json +5 -0
  53. package/templates/branded-lite/l10n/fi.json +5 -0
  54. package/templates/branded-lite/l10n/fr.json +5 -0
  55. package/templates/branded-lite/l10n/he.json +4 -0
  56. package/templates/branded-lite/l10n/hu.json +5 -0
  57. package/templates/branded-lite/l10n/id.json +5 -0
  58. package/templates/branded-lite/l10n/it.json +5 -0
  59. package/templates/branded-lite/l10n/ja.json +5 -0
  60. package/templates/branded-lite/l10n/ko.json +5 -0
  61. package/templates/branded-lite/l10n/lt.json +5 -0
  62. package/templates/branded-lite/l10n/nl.json +5 -0
  63. package/templates/branded-lite/l10n/no.json +5 -0
  64. package/templates/branded-lite/l10n/pl.json +5 -0
  65. package/templates/branded-lite/l10n/pt.json +5 -0
  66. package/templates/branded-lite/l10n/ru.json +5 -0
  67. package/templates/branded-lite/l10n/sv.json +5 -0
  68. package/templates/branded-lite/l10n/th.json +5 -0
  69. package/templates/branded-lite/l10n/tr.json +5 -0
  70. package/templates/branded-lite/l10n/uk.json +5 -0
  71. package/templates/branded-lite/l10n/vi.json +5 -0
  72. package/templates/branded-lite/l10n/zh.json +5 -0
  73. package/templates/branded-lite/recipes/galleries-collage.json +379 -0
  74. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +11 -0
  75. package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +61 -13
  76. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +14 -1
  77. package/templates/branded-lite/tier5-src/business-chat/index.ts +20 -6
  78. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +192 -28
  79. package/templates/brandy/tier5-src/_shared/himi-account.ts +14 -1
  80. package/templates/brandy/tier5-src/himi-store-account/index.ts +192 -28
  81. package/templates/community-club/dev/index.ts +122 -8
  82. package/templates/community-club/l10n/ar.json +10 -0
  83. package/templates/community-club/l10n/cs.json +10 -0
  84. package/templates/community-club/l10n/da.json +10 -0
  85. package/templates/community-club/l10n/de.json +10 -0
  86. package/templates/community-club/l10n/el.json +10 -0
  87. package/templates/community-club/l10n/en.json +1 -1
  88. package/templates/community-club/l10n/es.json +10 -0
  89. package/templates/community-club/l10n/fi.json +10 -0
  90. package/templates/community-club/l10n/fr.json +10 -0
  91. package/templates/community-club/l10n/he.json +8 -0
  92. package/templates/community-club/l10n/hu.json +10 -0
  93. package/templates/community-club/l10n/id.json +10 -0
  94. package/templates/community-club/l10n/it.json +10 -0
  95. package/templates/community-club/l10n/ja.json +10 -0
  96. package/templates/community-club/l10n/ko.json +10 -0
  97. package/templates/community-club/l10n/lt.json +10 -0
  98. package/templates/community-club/l10n/nl.json +10 -0
  99. package/templates/community-club/l10n/no.json +10 -0
  100. package/templates/community-club/l10n/pl.json +10 -0
  101. package/templates/community-club/l10n/pt.json +10 -0
  102. package/templates/community-club/l10n/ru.json +10 -0
  103. package/templates/community-club/l10n/sv.json +10 -0
  104. package/templates/community-club/l10n/th.json +10 -0
  105. package/templates/community-club/l10n/tr.json +10 -0
  106. package/templates/community-club/l10n/uk.json +10 -0
  107. package/templates/community-club/l10n/vi.json +10 -0
  108. package/templates/community-club/l10n/zh.json +10 -0
  109. package/templates/community-club/tier5-src/_shared/himi-account.ts +14 -1
  110. package/templates/community-club/tier5-src/himi-store-account/index.ts +192 -28
  111. package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +14 -1
  112. package/templates/conference/dev/index.ts +744 -595
  113. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +11 -0
  114. package/templates/conference/tier5-src/_shared/himi-account.ts +14 -1
  115. package/templates/conference/tier5-src/business-chat/index.ts +20 -6
  116. package/templates/conference/tier5-src/himi-store-account/index.ts +192 -28
  117. package/templates/events-meetups/dev/index.ts +122 -8
  118. package/templates/events-meetups/l10n/ar.json +10 -0
  119. package/templates/events-meetups/l10n/cs.json +10 -0
  120. package/templates/events-meetups/l10n/da.json +10 -0
  121. package/templates/events-meetups/l10n/de.json +10 -0
  122. package/templates/events-meetups/l10n/el.json +10 -0
  123. package/templates/events-meetups/l10n/en.json +1 -1
  124. package/templates/events-meetups/l10n/es.json +10 -0
  125. package/templates/events-meetups/l10n/fi.json +10 -0
  126. package/templates/events-meetups/l10n/fr.json +10 -0
  127. package/templates/events-meetups/l10n/he.json +8 -0
  128. package/templates/events-meetups/l10n/hu.json +10 -0
  129. package/templates/events-meetups/l10n/id.json +10 -0
  130. package/templates/events-meetups/l10n/it.json +10 -0
  131. package/templates/events-meetups/l10n/ja.json +10 -0
  132. package/templates/events-meetups/l10n/ko.json +10 -0
  133. package/templates/events-meetups/l10n/lt.json +10 -0
  134. package/templates/events-meetups/l10n/nl.json +10 -0
  135. package/templates/events-meetups/l10n/no.json +10 -0
  136. package/templates/events-meetups/l10n/pl.json +10 -0
  137. package/templates/events-meetups/l10n/pt.json +10 -0
  138. package/templates/events-meetups/l10n/ru.json +10 -0
  139. package/templates/events-meetups/l10n/sv.json +10 -0
  140. package/templates/events-meetups/l10n/th.json +10 -0
  141. package/templates/events-meetups/l10n/tr.json +10 -0
  142. package/templates/events-meetups/l10n/uk.json +10 -0
  143. package/templates/events-meetups/l10n/vi.json +10 -0
  144. package/templates/events-meetups/l10n/zh.json +10 -0
  145. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +14 -1
  146. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +192 -28
  147. package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +14 -1
  148. package/templates/fitness-gym/dev/index.ts +743 -507
  149. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +11 -0
  150. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +14 -1
  151. package/templates/fitness-gym/tier5-src/business-chat/index.ts +20 -6
  152. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +14 -3
  153. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +192 -28
  154. package/templates/gym-fitness/dev/index.ts +122 -8
  155. package/templates/gym-fitness/l10n/ar.json +5 -0
  156. package/templates/gym-fitness/l10n/cs.json +5 -0
  157. package/templates/gym-fitness/l10n/da.json +5 -0
  158. package/templates/gym-fitness/l10n/de.json +5 -0
  159. package/templates/gym-fitness/l10n/el.json +5 -0
  160. package/templates/gym-fitness/l10n/en.json +1 -1
  161. package/templates/gym-fitness/l10n/es.json +5 -0
  162. package/templates/gym-fitness/l10n/fi.json +5 -0
  163. package/templates/gym-fitness/l10n/fr.json +5 -0
  164. package/templates/gym-fitness/l10n/he.json +4 -0
  165. package/templates/gym-fitness/l10n/hu.json +5 -0
  166. package/templates/gym-fitness/l10n/id.json +5 -0
  167. package/templates/gym-fitness/l10n/it.json +5 -0
  168. package/templates/gym-fitness/l10n/ja.json +5 -0
  169. package/templates/gym-fitness/l10n/ko.json +5 -0
  170. package/templates/gym-fitness/l10n/lt.json +5 -0
  171. package/templates/gym-fitness/l10n/nl.json +5 -0
  172. package/templates/gym-fitness/l10n/no.json +5 -0
  173. package/templates/gym-fitness/l10n/pl.json +5 -0
  174. package/templates/gym-fitness/l10n/pt.json +5 -0
  175. package/templates/gym-fitness/l10n/ru.json +5 -0
  176. package/templates/gym-fitness/l10n/sv.json +5 -0
  177. package/templates/gym-fitness/l10n/th.json +5 -0
  178. package/templates/gym-fitness/l10n/tr.json +5 -0
  179. package/templates/gym-fitness/l10n/uk.json +5 -0
  180. package/templates/gym-fitness/l10n/vi.json +5 -0
  181. package/templates/gym-fitness/l10n/zh.json +5 -0
  182. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +14 -1
  183. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +192 -28
  184. package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +14 -1
  185. package/templates/medical-services/dev/index.ts +747 -595
  186. package/templates/medical-services/tier5-src/_shared/business-chat-presenter.ts +11 -0
  187. package/templates/medical-services/tier5-src/_shared/himi-account.ts +14 -1
  188. package/templates/medical-services/tier5-src/business-chat/index.ts +20 -6
  189. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +14 -3
  190. package/templates/medical-services/tier5-src/himi-store-account/index.ts +192 -28
  191. package/templates/nonprofit-cause/dev/index.ts +122 -8
  192. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  193. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  194. package/templates/nonprofit-cause/l10n/da.json +10 -0
  195. package/templates/nonprofit-cause/l10n/de.json +10 -0
  196. package/templates/nonprofit-cause/l10n/el.json +10 -0
  197. package/templates/nonprofit-cause/l10n/en.json +1 -1
  198. package/templates/nonprofit-cause/l10n/es.json +10 -0
  199. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  200. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  201. package/templates/nonprofit-cause/l10n/he.json +8 -0
  202. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  203. package/templates/nonprofit-cause/l10n/id.json +10 -0
  204. package/templates/nonprofit-cause/l10n/it.json +10 -0
  205. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  206. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  207. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  208. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  209. package/templates/nonprofit-cause/l10n/no.json +10 -0
  210. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  211. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  212. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  213. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  214. package/templates/nonprofit-cause/l10n/th.json +10 -0
  215. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  216. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  217. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  218. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  219. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +14 -1
  220. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +192 -28
  221. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +14 -1
  222. package/templates/owner-lite/tier5-src/_shared/himi-account.ts +14 -1
  223. package/templates/personal-fitness-trainer/dev/index.ts +760 -602
  224. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +11 -0
  225. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +14 -1
  226. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +20 -6
  227. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +192 -28
  228. package/templates/podcast-creator/dev/index.ts +122 -8
  229. package/templates/podcast-creator/l10n/ar.json +10 -0
  230. package/templates/podcast-creator/l10n/cs.json +10 -0
  231. package/templates/podcast-creator/l10n/da.json +10 -0
  232. package/templates/podcast-creator/l10n/de.json +10 -0
  233. package/templates/podcast-creator/l10n/el.json +10 -0
  234. package/templates/podcast-creator/l10n/en.json +1 -1
  235. package/templates/podcast-creator/l10n/es.json +10 -0
  236. package/templates/podcast-creator/l10n/fi.json +10 -0
  237. package/templates/podcast-creator/l10n/fr.json +10 -0
  238. package/templates/podcast-creator/l10n/he.json +8 -0
  239. package/templates/podcast-creator/l10n/hu.json +10 -0
  240. package/templates/podcast-creator/l10n/id.json +10 -0
  241. package/templates/podcast-creator/l10n/it.json +10 -0
  242. package/templates/podcast-creator/l10n/ja.json +10 -0
  243. package/templates/podcast-creator/l10n/ko.json +10 -0
  244. package/templates/podcast-creator/l10n/lt.json +10 -0
  245. package/templates/podcast-creator/l10n/nl.json +10 -0
  246. package/templates/podcast-creator/l10n/no.json +10 -0
  247. package/templates/podcast-creator/l10n/pl.json +10 -0
  248. package/templates/podcast-creator/l10n/pt.json +10 -0
  249. package/templates/podcast-creator/l10n/ru.json +10 -0
  250. package/templates/podcast-creator/l10n/sv.json +10 -0
  251. package/templates/podcast-creator/l10n/th.json +10 -0
  252. package/templates/podcast-creator/l10n/tr.json +10 -0
  253. package/templates/podcast-creator/l10n/uk.json +10 -0
  254. package/templates/podcast-creator/l10n/vi.json +10 -0
  255. package/templates/podcast-creator/l10n/zh.json +10 -0
  256. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +14 -1
  257. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +192 -28
  258. package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +14 -1
  259. package/templates/portfolio-creative/dev/index.ts +122 -8
  260. package/templates/portfolio-creative/l10n/ar.json +10 -0
  261. package/templates/portfolio-creative/l10n/cs.json +10 -0
  262. package/templates/portfolio-creative/l10n/da.json +10 -0
  263. package/templates/portfolio-creative/l10n/de.json +10 -0
  264. package/templates/portfolio-creative/l10n/el.json +10 -0
  265. package/templates/portfolio-creative/l10n/en.json +1 -1
  266. package/templates/portfolio-creative/l10n/es.json +10 -0
  267. package/templates/portfolio-creative/l10n/fi.json +10 -0
  268. package/templates/portfolio-creative/l10n/fr.json +10 -0
  269. package/templates/portfolio-creative/l10n/he.json +8 -0
  270. package/templates/portfolio-creative/l10n/hu.json +10 -0
  271. package/templates/portfolio-creative/l10n/id.json +10 -0
  272. package/templates/portfolio-creative/l10n/it.json +10 -0
  273. package/templates/portfolio-creative/l10n/ja.json +10 -0
  274. package/templates/portfolio-creative/l10n/ko.json +10 -0
  275. package/templates/portfolio-creative/l10n/lt.json +10 -0
  276. package/templates/portfolio-creative/l10n/nl.json +10 -0
  277. package/templates/portfolio-creative/l10n/no.json +10 -0
  278. package/templates/portfolio-creative/l10n/pl.json +10 -0
  279. package/templates/portfolio-creative/l10n/pt.json +10 -0
  280. package/templates/portfolio-creative/l10n/ru.json +10 -0
  281. package/templates/portfolio-creative/l10n/sv.json +10 -0
  282. package/templates/portfolio-creative/l10n/th.json +10 -0
  283. package/templates/portfolio-creative/l10n/tr.json +10 -0
  284. package/templates/portfolio-creative/l10n/uk.json +10 -0
  285. package/templates/portfolio-creative/l10n/vi.json +10 -0
  286. package/templates/portfolio-creative/l10n/zh.json +10 -0
  287. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +14 -1
  288. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +192 -28
  289. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +14 -1
  290. package/templates/restaurant/dev/index.ts +122 -8
  291. package/templates/restaurant/l10n/ar.json +10 -0
  292. package/templates/restaurant/l10n/cs.json +10 -0
  293. package/templates/restaurant/l10n/da.json +10 -0
  294. package/templates/restaurant/l10n/de.json +10 -0
  295. package/templates/restaurant/l10n/el.json +10 -0
  296. package/templates/restaurant/l10n/en.json +1 -1
  297. package/templates/restaurant/l10n/es.json +10 -0
  298. package/templates/restaurant/l10n/fi.json +10 -0
  299. package/templates/restaurant/l10n/fr.json +10 -0
  300. package/templates/restaurant/l10n/he.json +8 -0
  301. package/templates/restaurant/l10n/hu.json +10 -0
  302. package/templates/restaurant/l10n/id.json +10 -0
  303. package/templates/restaurant/l10n/it.json +10 -0
  304. package/templates/restaurant/l10n/ja.json +10 -0
  305. package/templates/restaurant/l10n/ko.json +10 -0
  306. package/templates/restaurant/l10n/lt.json +10 -0
  307. package/templates/restaurant/l10n/nl.json +10 -0
  308. package/templates/restaurant/l10n/no.json +10 -0
  309. package/templates/restaurant/l10n/pl.json +10 -0
  310. package/templates/restaurant/l10n/pt.json +10 -0
  311. package/templates/restaurant/l10n/ru.json +10 -0
  312. package/templates/restaurant/l10n/sv.json +10 -0
  313. package/templates/restaurant/l10n/th.json +10 -0
  314. package/templates/restaurant/l10n/tr.json +10 -0
  315. package/templates/restaurant/l10n/uk.json +10 -0
  316. package/templates/restaurant/l10n/vi.json +10 -0
  317. package/templates/restaurant/l10n/zh.json +10 -0
  318. package/templates/restaurant/tier5-src/_shared/himi-account.ts +14 -1
  319. package/templates/restaurant/tier5-src/himi-store-account/index.ts +192 -28
  320. package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +14 -1
  321. package/templates/retail-store/dev/index.ts +122 -8
  322. package/templates/retail-store/l10n/ar.json +10 -0
  323. package/templates/retail-store/l10n/cs.json +10 -0
  324. package/templates/retail-store/l10n/da.json +10 -0
  325. package/templates/retail-store/l10n/de.json +10 -0
  326. package/templates/retail-store/l10n/el.json +10 -0
  327. package/templates/retail-store/l10n/en.json +1 -1
  328. package/templates/retail-store/l10n/es.json +10 -0
  329. package/templates/retail-store/l10n/fi.json +10 -0
  330. package/templates/retail-store/l10n/fr.json +10 -0
  331. package/templates/retail-store/l10n/he.json +8 -0
  332. package/templates/retail-store/l10n/hu.json +10 -0
  333. package/templates/retail-store/l10n/id.json +10 -0
  334. package/templates/retail-store/l10n/it.json +10 -0
  335. package/templates/retail-store/l10n/ja.json +10 -0
  336. package/templates/retail-store/l10n/ko.json +10 -0
  337. package/templates/retail-store/l10n/lt.json +10 -0
  338. package/templates/retail-store/l10n/nl.json +10 -0
  339. package/templates/retail-store/l10n/no.json +10 -0
  340. package/templates/retail-store/l10n/pl.json +10 -0
  341. package/templates/retail-store/l10n/pt.json +10 -0
  342. package/templates/retail-store/l10n/ru.json +10 -0
  343. package/templates/retail-store/l10n/sv.json +10 -0
  344. package/templates/retail-store/l10n/th.json +10 -0
  345. package/templates/retail-store/l10n/tr.json +10 -0
  346. package/templates/retail-store/l10n/uk.json +10 -0
  347. package/templates/retail-store/l10n/vi.json +10 -0
  348. package/templates/retail-store/l10n/zh.json +10 -0
  349. package/templates/retail-store/tier5-src/_shared/himi-account.ts +14 -1
  350. package/templates/retail-store/tier5-src/himi-store-account/index.ts +192 -28
  351. package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +14 -1
  352. package/templates/salon-spa/dev/index.ts +744 -595
  353. package/templates/salon-spa/tier5-src/_shared/business-chat-presenter.ts +11 -0
  354. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +14 -1
  355. package/templates/salon-spa/tier5-src/business-chat/index.ts +20 -6
  356. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +14 -3
  357. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +192 -28
  358. package/templates/wholesale-store/dev/index.ts +751 -602
  359. package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +11 -0
  360. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +14 -1
  361. package/templates/wholesale-store/tier5-src/business-chat/index.ts +20 -6
  362. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +192 -28
  363. package/templates/yoga-studio/dev/index.ts +122 -8
  364. package/templates/yoga-studio/l10n/ar.json +5 -0
  365. package/templates/yoga-studio/l10n/cs.json +5 -0
  366. package/templates/yoga-studio/l10n/da.json +5 -0
  367. package/templates/yoga-studio/l10n/de.json +5 -0
  368. package/templates/yoga-studio/l10n/el.json +5 -0
  369. package/templates/yoga-studio/l10n/en.json +1 -1
  370. package/templates/yoga-studio/l10n/es.json +5 -0
  371. package/templates/yoga-studio/l10n/fi.json +5 -0
  372. package/templates/yoga-studio/l10n/fr.json +5 -0
  373. package/templates/yoga-studio/l10n/he.json +4 -0
  374. package/templates/yoga-studio/l10n/hu.json +5 -0
  375. package/templates/yoga-studio/l10n/id.json +5 -0
  376. package/templates/yoga-studio/l10n/it.json +5 -0
  377. package/templates/yoga-studio/l10n/ja.json +5 -0
  378. package/templates/yoga-studio/l10n/ko.json +5 -0
  379. package/templates/yoga-studio/l10n/lt.json +5 -0
  380. package/templates/yoga-studio/l10n/nl.json +5 -0
  381. package/templates/yoga-studio/l10n/no.json +5 -0
  382. package/templates/yoga-studio/l10n/pl.json +5 -0
  383. package/templates/yoga-studio/l10n/pt.json +5 -0
  384. package/templates/yoga-studio/l10n/ru.json +5 -0
  385. package/templates/yoga-studio/l10n/sv.json +5 -0
  386. package/templates/yoga-studio/l10n/th.json +5 -0
  387. package/templates/yoga-studio/l10n/tr.json +5 -0
  388. package/templates/yoga-studio/l10n/uk.json +5 -0
  389. package/templates/yoga-studio/l10n/vi.json +5 -0
  390. package/templates/yoga-studio/l10n/zh.json +5 -0
  391. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +14 -1
  392. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +192 -28
  393. package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +14 -1
@@ -10214,6 +10214,67 @@ const SCREENS = runtimeSetting({
10214
10214
  "spacing": 12,
10215
10215
  "alignment": "leading",
10216
10216
  "children": [
10217
+ {
10218
+ "id": "himi_sign_in.loading",
10219
+ "body": {
10220
+ "package": "himalaya",
10221
+ "type": "VStack",
10222
+ "props": {
10223
+ "spacing": 12,
10224
+ "alignment": "leading",
10225
+ "children": [
10226
+ {
10227
+ "id": "",
10228
+ "body": {
10229
+ "package": "himalaya",
10230
+ "type": "Skeleton",
10231
+ "props": {
10232
+ "width": 160,
10233
+ "height": 28,
10234
+ "cornerRadius": 6
10235
+ }
10236
+ }
10237
+ },
10238
+ {
10239
+ "id": "",
10240
+ "body": {
10241
+ "package": "himalaya",
10242
+ "type": "Skeleton",
10243
+ "props": {
10244
+ "height": 52,
10245
+ "cornerRadius": 8
10246
+ }
10247
+ }
10248
+ },
10249
+ {
10250
+ "id": "",
10251
+ "body": {
10252
+ "package": "himalaya",
10253
+ "type": "Skeleton",
10254
+ "props": {
10255
+ "height": 52,
10256
+ "cornerRadius": 8
10257
+ }
10258
+ }
10259
+ },
10260
+ {
10261
+ "id": "",
10262
+ "body": {
10263
+ "package": "himalaya",
10264
+ "type": "Skeleton",
10265
+ "props": {
10266
+ "height": 48,
10267
+ "cornerRadius": 24
10268
+ }
10269
+ }
10270
+ }
10271
+ ]
10272
+ }
10273
+ },
10274
+ "modifiers": {
10275
+ "hiddenPath": "$service:himiStoreAccount.hideFormSkeleton"
10276
+ }
10277
+ },
10217
10278
  {
10218
10279
  "id": "",
10219
10280
  "body": {
@@ -10474,7 +10535,6 @@ const SCREENS = runtimeSetting({
10474
10535
  "keyboard": "email",
10475
10536
  "contentType": "username",
10476
10537
  "validation": {
10477
- "required": true,
10478
10538
  "type": "email",
10479
10539
  "mode": "on_blur"
10480
10540
  },
@@ -10523,18 +10583,6 @@ const SCREENS = runtimeSetting({
10523
10583
  "hiddenPath": "$service:himiStoreAccount.isRecovering"
10524
10584
  }
10525
10585
  },
10526
- {
10527
- "id": "",
10528
- "body": {
10529
- "package": "himalaya",
10530
- "type": "Text",
10531
- "props": {
10532
- "text": "$service:himiStoreAccount.busyMessage",
10533
- "style": "footnote",
10534
- "collapseWhenEmpty": true
10535
- }
10536
- }
10537
- },
10538
10586
  {
10539
10587
  "id": "himi_sign_in.message",
10540
10588
  "body": {
@@ -10542,8 +10590,21 @@ const SCREENS = runtimeSetting({
10542
10590
  "type": "FragmentSlot",
10543
10591
  "props": {
10544
10592
  "casePath": "$service:himiStoreAccount.messageKind",
10545
- "defaultCase": "error",
10593
+ "defaultCase": "none",
10546
10594
  "cases": [
10595
+ {
10596
+ "id": "none",
10597
+ "content": {
10598
+ "id": "",
10599
+ "body": {
10600
+ "package": "himalaya",
10601
+ "type": "VStack",
10602
+ "props": {
10603
+ "children": []
10604
+ }
10605
+ }
10606
+ }
10607
+ },
10547
10608
  {
10548
10609
  "id": "error",
10549
10610
  "content": {
@@ -10581,6 +10642,17 @@ const SCREENS = runtimeSetting({
10581
10642
  "hiddenPath": "$service:himiStoreAccount.hideMessage"
10582
10643
  }
10583
10644
  },
10645
+ {
10646
+ "id": "himi_sign_in.notice",
10647
+ "body": {
10648
+ "package": "himalaya",
10649
+ "type": "VStack",
10650
+ "props": {
10651
+ "children": []
10652
+ }
10653
+ },
10654
+ "modifiers": {}
10655
+ },
10584
10656
  {
10585
10657
  "id": "himi_sign_in.signin",
10586
10658
  "body": {
@@ -10718,7 +10790,60 @@ const SCREENS = runtimeSetting({
10718
10790
  }
10719
10791
  },
10720
10792
  "modifiers": {
10721
- "hiddenPath": "$service:himiStoreAccount.isMember"
10793
+ "hiddenPath": "$service:himiStoreAccount.hideSignInForm"
10794
+ }
10795
+ },
10796
+ {
10797
+ "id": "",
10798
+ "body": {
10799
+ "package": "himalaya",
10800
+ "type": "VStack",
10801
+ "props": {
10802
+ "spacing": 12,
10803
+ "alignment": "leading",
10804
+ "children": [
10805
+ {
10806
+ "id": "himi_sign_in.pending_title",
10807
+ "body": {
10808
+ "package": "himalaya",
10809
+ "type": "Text",
10810
+ "props": {
10811
+ "text": "$service:himiStoreAccount.pendingTitle",
10812
+ "style": "title1"
10813
+ }
10814
+ }
10815
+ },
10816
+ {
10817
+ "id": "himi_sign_in.pending_body",
10818
+ "body": {
10819
+ "package": "himalaya",
10820
+ "type": "Text",
10821
+ "props": {
10822
+ "text": "$service:himiStoreAccount.pendingBody",
10823
+ "style": "body"
10824
+ }
10825
+ }
10826
+ },
10827
+ {
10828
+ "id": "himi_sign_in.pending_back",
10829
+ "body": {
10830
+ "package": "himalaya",
10831
+ "type": "Button",
10832
+ "props": {
10833
+ "title": "Back to sign in",
10834
+ "style": "secondary",
10835
+ "fullWidth": true,
10836
+ "action": {
10837
+ "actionId": "tier5.himiStoreAccount.closePendingApproval"
10838
+ }
10839
+ }
10840
+ }
10841
+ }
10842
+ ]
10843
+ }
10844
+ },
10845
+ "modifiers": {
10846
+ "hiddenPath": "$service:himiStoreAccount.hidePendingApproval"
10722
10847
  }
10723
10848
  },
10724
10849
  {
@@ -10760,7 +10885,7 @@ const SCREENS = runtimeSetting({
10760
10885
  }
10761
10886
  },
10762
10887
  "modifiers": {
10763
- "hiddenPath": "$service:himiStoreAccount.notMember"
10888
+ "hiddenPath": "$service:himiStoreAccount.hideSignedIn"
10764
10889
  }
10765
10890
  }
10766
10891
  ]
@@ -20058,6 +20183,9 @@ const SCREENS = runtimeSetting({
20058
20183
  "screenId": "himi_business_chat",
20059
20184
  "renderer": "sdui_intent",
20060
20185
  "title": "__HIMI_APP_NAME__",
20186
+ "topBar": {
20187
+ "subtitlePath": "$service:businessChat.hostedName"
20188
+ },
20061
20189
  "schemaVersion": 1,
20062
20190
  "cacheControl": {
20063
20191
  "maxAge": 0,
@@ -20078,183 +20206,172 @@ const SCREENS = runtimeSetting({
20078
20206
  "props": {
20079
20207
  "children": [
20080
20208
  {
20081
- "id": "himi_business_chat.loading_text",
20082
- "body": {
20083
- "package": "himalaya",
20084
- "type": "Text",
20085
- "props": {
20086
- "text": "Loading…",
20087
- "style": "body",
20088
- "color": "textSecondary",
20089
- "collapseWhenEmpty": true,
20090
- "textDirection": "auto"
20091
- }
20092
- },
20093
- "modifiers": {}
20094
- },
20095
- {
20096
- "id": "himi_business_chat.loading_row_1",
20097
- "body": {
20098
- "package": "himalaya",
20099
- "type": "Skeleton",
20100
- "props": {
20101
- "height": 62,
20102
- "cornerRadius": 16
20103
- }
20104
- },
20105
- "modifiers": {}
20106
- },
20107
- {
20108
- "id": "himi_business_chat.loading_row_2",
20109
- "body": {
20110
- "package": "himalaya",
20111
- "type": "Skeleton",
20112
- "props": {
20113
- "height": 84,
20114
- "cornerRadius": 16
20115
- }
20116
- },
20117
- "modifiers": {}
20118
- }
20119
- ],
20120
- "spacing": 12,
20121
- "alignment": "leading"
20122
- }
20123
- },
20124
- "modifiers": {
20125
- "fillMaxWidth": true,
20126
- "padding": {
20127
- "leading": 16,
20128
- "trailing": 16,
20129
- "top": 20,
20130
- "bottom": 8
20131
- },
20132
- "hiddenPath": "$service:businessChat.loadingHidden"
20133
- }
20134
- },
20135
- {
20136
- "id": "himi_business_chat.error",
20137
- "body": {
20138
- "package": "himalaya",
20139
- "type": "VStack",
20140
- "props": {
20141
- "spacing": 0,
20142
- "children": [
20143
- {
20144
- "id": "himi_business_chat.error.signin",
20145
- "body": {
20146
- "package": "himalaya",
20147
- "type": "ErrorState",
20148
- "props": {
20149
- "variant": "signIn",
20150
- "placement": "section",
20151
- "title": "Sign in to message the studio",
20152
- "body": "",
20153
- "cta": {
20154
- "actionId": "himi.open",
20155
- "params": {
20156
- "screenId": "himi_sign_in",
20157
- "mode": "signin",
20158
- "returnScreenId": "himi_business_chat",
20159
- "modal": "1",
20160
- "sheetStyle": "page"
20161
- },
20162
- "presentation": "sheet"
20163
- },
20164
- "ctaLabel": "Sign in"
20165
- }
20166
- },
20167
- "modifiers": {
20168
- "hiddenPath": "$service:businessChat.notGuest"
20169
- }
20170
- },
20171
- {
20172
- "id": "",
20209
+ "id": "himi_business_chat.skeleton_1",
20173
20210
  "body": {
20174
20211
  "package": "himalaya",
20175
- "type": "VStack",
20212
+ "type": "HStack",
20176
20213
  "props": {
20177
- "spacing": 0,
20178
20214
  "children": [
20179
20215
  {
20180
- "id": "himi_business_chat.error.load",
20216
+ "id": "himi_business_chat.skeleton_1.avatar",
20181
20217
  "body": {
20182
20218
  "package": "himalaya",
20183
- "type": "ErrorState",
20219
+ "type": "Skeleton",
20184
20220
  "props": {
20185
- "variant": "server",
20186
- "placement": "section",
20187
- "title": "Unable to load the conversation",
20188
- "body": "Check your connection and try again. If the problem continues, please try later.",
20189
- "cta": {
20190
- "actionId": "tier5.businessChat.init"
20191
- },
20192
- "ctaLabel": "Try again"
20221
+ "width": 32,
20222
+ "height": 32,
20223
+ "cornerRadius": 999
20193
20224
  }
20194
20225
  },
20195
- "modifiers": {
20196
- "hiddenPath": "$service:businessChat.hasMessages"
20197
- }
20226
+ "modifiers": {}
20198
20227
  },
20199
20228
  {
20200
- "id": "himi_business_chat.error.refresh",
20229
+ "id": "himi_business_chat.skeleton_1.bubble",
20201
20230
  "body": {
20202
20231
  "package": "himalaya",
20203
- "type": "Banner",
20232
+ "type": "Skeleton",
20204
20233
  "props": {
20205
- "title": "Conversation could not be refreshed",
20206
- "message": "Your messages and draft are still here. Try again when you’re ready.",
20207
- "severity": "warning",
20208
- "action": {
20209
- "actionId": "tier5.businessChat.init"
20210
- },
20211
- "actionLabel": "Try again"
20234
+ "width": 220,
20235
+ "height": 52,
20236
+ "cornerRadius": 12
20212
20237
  }
20213
20238
  },
20214
- "modifiers": {
20215
- "hiddenPath": "$service:businessChat.noMessages"
20216
- }
20239
+ "modifiers": {}
20240
+ },
20241
+ {
20242
+ "id": "himi_business_chat.skeleton_1.spacer",
20243
+ "body": {
20244
+ "package": "himalaya",
20245
+ "type": "Spacer",
20246
+ "props": {}
20247
+ },
20248
+ "modifiers": {}
20217
20249
  }
20218
- ]
20250
+ ],
20251
+ "spacing": 8,
20252
+ "alignment": "leading"
20219
20253
  }
20220
20254
  },
20221
20255
  "modifiers": {
20222
- "hiddenPath": "$service:businessChat.isGuest"
20256
+ "fillMaxWidth": true,
20257
+ "padding": {
20258
+ "leading": 20,
20259
+ "trailing": 20,
20260
+ "top": 4,
20261
+ "bottom": 4
20262
+ }
20223
20263
  }
20224
- }
20225
- ]
20226
- }
20227
- },
20228
- "modifiers": {
20229
- "fillMaxWidth": true,
20230
- "padding": {
20231
- "leading": 16,
20232
- "trailing": 16,
20233
- "top": 12,
20234
- "bottom": 8
20235
- },
20236
- "hiddenPath": "$service:businessChat.noError"
20237
- }
20238
- },
20239
- {
20240
- "id": "himi_business_chat.empty",
20241
- "body": {
20242
- "package": "himalaya",
20243
- "type": "EmptyState",
20244
- "props": {
20245
- "title": "No messages yet",
20246
- "subtitle": "Send a message to start the conversation.",
20247
- "icon": "chat"
20264
+ },
20265
+ {
20266
+ "id": "himi_business_chat.skeleton_2",
20267
+ "body": {
20268
+ "package": "himalaya",
20269
+ "type": "HStack",
20270
+ "props": {
20271
+ "children": [
20272
+ {
20273
+ "id": "himi_business_chat.skeleton_2.spacer",
20274
+ "body": {
20275
+ "package": "himalaya",
20276
+ "type": "Spacer",
20277
+ "props": {}
20278
+ },
20279
+ "modifiers": {}
20280
+ },
20281
+ {
20282
+ "id": "himi_business_chat.skeleton_2.bubble",
20283
+ "body": {
20284
+ "package": "himalaya",
20285
+ "type": "Skeleton",
20286
+ "props": {
20287
+ "width": 180,
20288
+ "height": 52,
20289
+ "cornerRadius": 12
20290
+ }
20291
+ },
20292
+ "modifiers": {}
20293
+ }
20294
+ ],
20295
+ "spacing": 8,
20296
+ "alignment": "leading"
20297
+ }
20298
+ },
20299
+ "modifiers": {
20300
+ "fillMaxWidth": true,
20301
+ "padding": {
20302
+ "leading": 20,
20303
+ "trailing": 20,
20304
+ "top": 4,
20305
+ "bottom": 4
20306
+ }
20307
+ }
20308
+ },
20309
+ {
20310
+ "id": "himi_business_chat.skeleton_3",
20311
+ "body": {
20312
+ "package": "himalaya",
20313
+ "type": "HStack",
20314
+ "props": {
20315
+ "children": [
20316
+ {
20317
+ "id": "himi_business_chat.skeleton_3.avatar",
20318
+ "body": {
20319
+ "package": "himalaya",
20320
+ "type": "Skeleton",
20321
+ "props": {
20322
+ "width": 32,
20323
+ "height": 32,
20324
+ "cornerRadius": 999
20325
+ }
20326
+ },
20327
+ "modifiers": {}
20328
+ },
20329
+ {
20330
+ "id": "himi_business_chat.skeleton_3.bubble",
20331
+ "body": {
20332
+ "package": "himalaya",
20333
+ "type": "Skeleton",
20334
+ "props": {
20335
+ "width": 230,
20336
+ "height": 52,
20337
+ "cornerRadius": 12
20338
+ }
20339
+ },
20340
+ "modifiers": {}
20341
+ },
20342
+ {
20343
+ "id": "himi_business_chat.skeleton_3.spacer",
20344
+ "body": {
20345
+ "package": "himalaya",
20346
+ "type": "Spacer",
20347
+ "props": {}
20348
+ },
20349
+ "modifiers": {}
20350
+ }
20351
+ ],
20352
+ "spacing": 8,
20353
+ "alignment": "leading"
20354
+ }
20355
+ },
20356
+ "modifiers": {
20357
+ "fillMaxWidth": true,
20358
+ "padding": {
20359
+ "leading": 20,
20360
+ "trailing": 20,
20361
+ "top": 4,
20362
+ "bottom": 4
20363
+ }
20364
+ }
20365
+ }
20366
+ ],
20367
+ "spacing": 0,
20368
+ "alignment": "leading"
20248
20369
  }
20249
20370
  },
20250
20371
  "modifiers": {
20251
- "padding": {
20252
- "leading": 16,
20253
- "trailing": 16,
20254
- "top": 24,
20255
- "bottom": 24
20256
- },
20257
- "hiddenPath": "$service:businessChat.noEmpty"
20372
+ "fillMaxWidth": true,
20373
+ "accessibilityLabel": "Loading…",
20374
+ "hiddenPath": "$service:businessChat.loadingHidden"
20258
20375
  }
20259
20376
  },
20260
20377
  {
@@ -20296,7 +20413,7 @@ const SCREENS = runtimeSetting({
20296
20413
  "props": {
20297
20414
  "text": "$item.dayLabel",
20298
20415
  "style": "caption",
20299
- "color": "textSecondary",
20416
+ "color": "textTertiary",
20300
20417
  "collapseWhenEmpty": true,
20301
20418
  "textDirection": "auto"
20302
20419
  }
@@ -20320,10 +20437,8 @@ const SCREENS = runtimeSetting({
20320
20437
  "modifiers": {
20321
20438
  "fillMaxWidth": true,
20322
20439
  "padding": {
20323
- "leading": 12,
20324
- "trailing": 12,
20325
- "top": 12,
20326
- "bottom": 4
20440
+ "top": 8,
20441
+ "bottom": 8
20327
20442
  },
20328
20443
  "hiddenPath": "$item.dayHidden"
20329
20444
  }
@@ -20336,21 +20451,36 @@ const SCREENS = runtimeSetting({
20336
20451
  "props": {
20337
20452
  "children": [
20338
20453
  {
20339
- "id": "himi_business_chat.avatar_$item.id",
20454
+ "id": "himi_business_chat.avatar_slot_$item.id",
20340
20455
  "body": {
20341
20456
  "package": "himalaya",
20342
- "type": "Image",
20457
+ "type": "VStack",
20343
20458
  "props": {
20344
- "initials": "$service:businessChat.businessInitials",
20345
- "width": 30,
20346
- "height": 30,
20347
- "contentMode": "fill",
20348
- "shape": "circle",
20349
- "contentDescription": "$service:businessChat.businessName"
20459
+ "children": [
20460
+ {
20461
+ "id": "himi_business_chat.avatar_$item.id",
20462
+ "body": {
20463
+ "package": "himalaya",
20464
+ "type": "Avatar",
20465
+ "props": {
20466
+ "imageUrl": "",
20467
+ "initials": "$service:businessChat.businessInitials",
20468
+ "size": 32
20469
+ }
20470
+ },
20471
+ "modifiers": {
20472
+ "accessibilityLabel": "$service:businessChat.businessName",
20473
+ "hiddenPath": "$item.hideAvatar"
20474
+ }
20475
+ }
20476
+ ],
20477
+ "spacing": 0,
20478
+ "alignment": "leading"
20350
20479
  }
20351
20480
  },
20352
20481
  "modifiers": {
20353
- "accessibilityLabel": "$service:businessChat.businessName"
20482
+ "fillMaxWidth": false,
20483
+ "width": 32
20354
20484
  }
20355
20485
  },
20356
20486
  {
@@ -20367,42 +20497,6 @@ const SCREENS = runtimeSetting({
20367
20497
  "type": "VStack",
20368
20498
  "props": {
20369
20499
  "children": [
20370
- {
20371
- "id": "himi_business_chat.incoming_sender_$item.id",
20372
- "body": {
20373
- "package": "himalaya",
20374
- "type": "Text",
20375
- "props": {
20376
- "text": "__HIMI_APP_NAME__",
20377
- "style": "caption",
20378
- "color": "accentPrimary",
20379
- "collapseWhenEmpty": true,
20380
- "textDirection": "auto",
20381
- "maxLines": 1
20382
- }
20383
- },
20384
- "modifiers": {
20385
- "hiddenPath": "$service:businessChat.hasHostedName"
20386
- }
20387
- },
20388
- {
20389
- "id": "himi_business_chat.incoming_sender_hosted_$item.id",
20390
- "body": {
20391
- "package": "himalaya",
20392
- "type": "Text",
20393
- "props": {
20394
- "text": "$service:businessChat.hostedName",
20395
- "style": "caption",
20396
- "color": "accentPrimary",
20397
- "collapseWhenEmpty": true,
20398
- "textDirection": "auto",
20399
- "maxLines": 1
20400
- }
20401
- },
20402
- "modifiers": {
20403
- "hiddenPath": "$service:businessChat.noHostedName"
20404
- }
20405
- },
20406
20500
  {
20407
20501
  "id": "himi_business_chat.staff_badge_$item.id",
20408
20502
  "body": {
@@ -20412,6 +20506,7 @@ const SCREENS = runtimeSetting({
20412
20506
  "text": "$item.senderBadge",
20413
20507
  "style": "caption",
20414
20508
  "color": "accentPrimary",
20509
+ "maxLines": 1,
20415
20510
  "collapseWhenEmpty": true
20416
20511
  }
20417
20512
  },
@@ -20419,12 +20514,12 @@ const SCREENS = runtimeSetting({
20419
20514
  "background": {
20420
20515
  "token": "accentSurface"
20421
20516
  },
20422
- "cornerRadius": 12,
20517
+ "cornerRadius": 8,
20423
20518
  "padding": {
20424
- "leading": 10,
20425
- "trailing": 10,
20426
- "top": 3,
20427
- "bottom": 3
20519
+ "leading": 8,
20520
+ "trailing": 8,
20521
+ "top": 4,
20522
+ "bottom": 4
20428
20523
  }
20429
20524
  }
20430
20525
  },
@@ -20455,7 +20550,7 @@ const SCREENS = runtimeSetting({
20455
20550
  "type": "Text",
20456
20551
  "props": {
20457
20552
  "text": "$item.bodyMarkdown",
20458
- "style": "caption",
20553
+ "style": "footnoteRegular",
20459
20554
  "color": "textPrimary",
20460
20555
  "collapseWhenEmpty": true,
20461
20556
  "textDirection": "auto",
@@ -20535,7 +20630,7 @@ const SCREENS = runtimeSetting({
20535
20630
  }
20536
20631
  }
20537
20632
  ],
20538
- "spacing": 6
20633
+ "spacing": 4
20539
20634
  }
20540
20635
  },
20541
20636
  "modifiers": {
@@ -20571,7 +20666,7 @@ const SCREENS = runtimeSetting({
20571
20666
  "type": "Text",
20572
20667
  "props": {
20573
20668
  "text": "$item.label",
20574
- "style": "body",
20669
+ "style": "footnoteRegular",
20575
20670
  "color": "accentPrimary",
20576
20671
  "collapseWhenEmpty": true,
20577
20672
  "textDirection": "auto"
@@ -20586,12 +20681,12 @@ const SCREENS = runtimeSetting({
20586
20681
  },
20587
20682
  "modifiers": {
20588
20683
  "fillMaxWidth": true,
20589
- "cornerRadius": 16,
20684
+ "cornerRadius": 12,
20590
20685
  "padding": {
20591
- "leading": 14,
20592
- "trailing": 14,
20593
- "top": 10,
20594
- "bottom": 10
20686
+ "leading": 12,
20687
+ "trailing": 12,
20688
+ "top": 8,
20689
+ "bottom": 8
20595
20690
  },
20596
20691
  "background": {
20597
20692
  "token": "accentSurface"
@@ -20621,8 +20716,8 @@ const SCREENS = runtimeSetting({
20621
20716
  "type": "Text",
20622
20717
  "props": {
20623
20718
  "text": "$item.label",
20624
- "style": "body",
20625
- "color": "textSecondary",
20719
+ "style": "footnoteRegular",
20720
+ "color": "textTertiary",
20626
20721
  "collapseWhenEmpty": true,
20627
20722
  "textDirection": "auto"
20628
20723
  }
@@ -20636,15 +20731,15 @@ const SCREENS = runtimeSetting({
20636
20731
  },
20637
20732
  "modifiers": {
20638
20733
  "fillMaxWidth": true,
20639
- "cornerRadius": 16,
20734
+ "cornerRadius": 12,
20640
20735
  "padding": {
20641
- "leading": 14,
20642
- "trailing": 14,
20643
- "top": 10,
20644
- "bottom": 10
20736
+ "leading": 12,
20737
+ "trailing": 12,
20738
+ "top": 8,
20739
+ "bottom": 8
20645
20740
  },
20646
20741
  "background": {
20647
- "token": "surfaceElevated"
20742
+ "token": "surfacePrimary"
20648
20743
  },
20649
20744
  "hiddenPath": "$item.enabled"
20650
20745
  }
@@ -20659,51 +20754,30 @@ const SCREENS = runtimeSetting({
20659
20754
  }
20660
20755
  }
20661
20756
  ],
20662
- "spacing": 6,
20757
+ "spacing": 4,
20663
20758
  "horizontal": false
20664
20759
  }
20665
20760
  },
20666
20761
  "modifiers": {
20667
20762
  "fillMaxWidth": true
20668
20763
  }
20669
- },
20670
- {
20671
- "id": "himi_business_chat.incoming_time_$item.id",
20672
- "body": {
20673
- "package": "himalaya",
20674
- "type": "Text",
20675
- "props": {
20676
- "text": "$item.when",
20677
- "style": "caption",
20678
- "color": "textSecondary",
20679
- "collapseWhenEmpty": true,
20680
- "textDirection": "auto"
20681
- }
20682
- },
20683
- "modifiers": {}
20684
20764
  }
20685
20765
  ],
20686
- "spacing": 5,
20766
+ "spacing": 4,
20687
20767
  "alignment": "leading"
20688
20768
  }
20689
20769
  },
20690
20770
  "modifiers": {
20691
- "fillMaxWidth": true,
20771
+ "fillMaxWidth": false,
20692
20772
  "background": {
20693
- "token": "surfaceElevated"
20694
- },
20695
- "border": {
20696
- "width": 1,
20697
- "color": {
20698
- "token": "border"
20699
- }
20773
+ "token": "surfaceSecondary"
20700
20774
  },
20701
- "cornerRadius": 16,
20775
+ "cornerRadius": 12,
20702
20776
  "padding": {
20703
- "leading": 8,
20704
- "trailing": 8,
20705
- "top": 8,
20706
- "bottom": 8
20777
+ "leading": 16,
20778
+ "trailing": 16,
20779
+ "top": 16,
20780
+ "bottom": 16
20707
20781
  },
20708
20782
  "maxWidth": 300,
20709
20783
  "hiddenPath": "$item.isCard"
@@ -20716,42 +20790,6 @@ const SCREENS = runtimeSetting({
20716
20790
  "type": "VStack",
20717
20791
  "props": {
20718
20792
  "children": [
20719
- {
20720
- "id": "himi_business_chat.card_sender_$item.id",
20721
- "body": {
20722
- "package": "himalaya",
20723
- "type": "Text",
20724
- "props": {
20725
- "text": "__HIMI_APP_NAME__",
20726
- "style": "caption",
20727
- "color": "accentPrimary",
20728
- "collapseWhenEmpty": true,
20729
- "textDirection": "auto",
20730
- "maxLines": 1
20731
- }
20732
- },
20733
- "modifiers": {
20734
- "hiddenPath": "$service:businessChat.hasHostedName"
20735
- }
20736
- },
20737
- {
20738
- "id": "himi_business_chat.card_sender_hosted_$item.id",
20739
- "body": {
20740
- "package": "himalaya",
20741
- "type": "Text",
20742
- "props": {
20743
- "text": "$service:businessChat.hostedName",
20744
- "style": "caption",
20745
- "color": "accentPrimary",
20746
- "collapseWhenEmpty": true,
20747
- "textDirection": "auto",
20748
- "maxLines": 1
20749
- }
20750
- },
20751
- "modifiers": {
20752
- "hiddenPath": "$service:businessChat.noHostedName"
20753
- }
20754
- },
20755
20793
  {
20756
20794
  "id": "himi_business_chat.card_badge_$item.id",
20757
20795
  "body": {
@@ -20761,6 +20799,7 @@ const SCREENS = runtimeSetting({
20761
20799
  "text": "$item.senderBadge",
20762
20800
  "style": "caption",
20763
20801
  "color": "accentPrimary",
20802
+ "maxLines": 1,
20764
20803
  "collapseWhenEmpty": true
20765
20804
  }
20766
20805
  },
@@ -20768,12 +20807,12 @@ const SCREENS = runtimeSetting({
20768
20807
  "background": {
20769
20808
  "token": "accentSurface"
20770
20809
  },
20771
- "cornerRadius": 12,
20810
+ "cornerRadius": 8,
20772
20811
  "padding": {
20773
- "leading": 10,
20774
- "trailing": 10,
20775
- "top": 3,
20776
- "bottom": 3
20812
+ "leading": 8,
20813
+ "trailing": 8,
20814
+ "top": 4,
20815
+ "bottom": 4
20777
20816
  }
20778
20817
  }
20779
20818
  },
@@ -20818,7 +20857,7 @@ const SCREENS = runtimeSetting({
20818
20857
  "type": "Text",
20819
20858
  "props": {
20820
20859
  "text": "$item.cardTitle",
20821
- "style": "body",
20860
+ "style": "footnote",
20822
20861
  "color": "textPrimary",
20823
20862
  "collapseWhenEmpty": true,
20824
20863
  "textDirection": "auto",
@@ -20835,8 +20874,8 @@ const SCREENS = runtimeSetting({
20835
20874
  "type": "Text",
20836
20875
  "props": {
20837
20876
  "text": "$item.cardDetail",
20838
- "style": "body",
20839
- "color": "textPrimary",
20877
+ "style": "footnoteRegular",
20878
+ "color": "textSecondary",
20840
20879
  "collapseWhenEmpty": true,
20841
20880
  "textDirection": "auto",
20842
20881
  "markdown": true,
@@ -20885,7 +20924,7 @@ const SCREENS = runtimeSetting({
20885
20924
  "type": "Text",
20886
20925
  "props": {
20887
20926
  "text": "$item.couponCode",
20888
- "style": "title3",
20927
+ "style": "bodyEmphasis",
20889
20928
  "color": "accentPrimary",
20890
20929
  "collapseWhenEmpty": true,
20891
20930
  "textDirection": "auto"
@@ -20894,7 +20933,7 @@ const SCREENS = runtimeSetting({
20894
20933
  "modifiers": {}
20895
20934
  }
20896
20935
  ],
20897
- "spacing": 2,
20936
+ "spacing": 4,
20898
20937
  "alignment": "center"
20899
20938
  }
20900
20939
  },
@@ -20903,7 +20942,7 @@ const SCREENS = runtimeSetting({
20903
20942
  "background": {
20904
20943
  "token": "accentSurface"
20905
20944
  },
20906
- "cornerRadius": 12,
20945
+ "cornerRadius": 8,
20907
20946
  "border": {
20908
20947
  "width": 1,
20909
20948
  "color": {
@@ -20911,10 +20950,10 @@ const SCREENS = runtimeSetting({
20911
20950
  }
20912
20951
  },
20913
20952
  "padding": {
20914
- "leading": 14,
20915
- "trailing": 14,
20916
- "top": 10,
20917
- "bottom": 10
20953
+ "leading": 12,
20954
+ "trailing": 12,
20955
+ "top": 8,
20956
+ "bottom": 8
20918
20957
  },
20919
20958
  "hiddenPath": "$item.noCoupon"
20920
20959
  }
@@ -20989,7 +21028,7 @@ const SCREENS = runtimeSetting({
20989
21028
  }
20990
21029
  }
20991
21030
  ],
20992
- "spacing": 6
21031
+ "spacing": 4
20993
21032
  }
20994
21033
  },
20995
21034
  "modifiers": {
@@ -21026,7 +21065,7 @@ const SCREENS = runtimeSetting({
21026
21065
  "type": "Text",
21027
21066
  "props": {
21028
21067
  "text": "$item.label",
21029
- "style": "body",
21068
+ "style": "footnoteRegular",
21030
21069
  "color": "accentPrimary",
21031
21070
  "collapseWhenEmpty": true,
21032
21071
  "textDirection": "auto"
@@ -21041,12 +21080,12 @@ const SCREENS = runtimeSetting({
21041
21080
  },
21042
21081
  "modifiers": {
21043
21082
  "fillMaxWidth": true,
21044
- "cornerRadius": 16,
21083
+ "cornerRadius": 12,
21045
21084
  "padding": {
21046
- "leading": 14,
21047
- "trailing": 14,
21048
- "top": 10,
21049
- "bottom": 10
21085
+ "leading": 12,
21086
+ "trailing": 12,
21087
+ "top": 8,
21088
+ "bottom": 8
21050
21089
  },
21051
21090
  "background": {
21052
21091
  "token": "accentSurface"
@@ -21076,8 +21115,8 @@ const SCREENS = runtimeSetting({
21076
21115
  "type": "Text",
21077
21116
  "props": {
21078
21117
  "text": "$item.label",
21079
- "style": "body",
21080
- "color": "textSecondary",
21118
+ "style": "footnoteRegular",
21119
+ "color": "textTertiary",
21081
21120
  "collapseWhenEmpty": true,
21082
21121
  "textDirection": "auto"
21083
21122
  }
@@ -21091,15 +21130,15 @@ const SCREENS = runtimeSetting({
21091
21130
  },
21092
21131
  "modifiers": {
21093
21132
  "fillMaxWidth": true,
21094
- "cornerRadius": 16,
21133
+ "cornerRadius": 12,
21095
21134
  "padding": {
21096
- "leading": 14,
21097
- "trailing": 14,
21098
- "top": 10,
21099
- "bottom": 10
21135
+ "leading": 12,
21136
+ "trailing": 12,
21137
+ "top": 8,
21138
+ "bottom": 8
21100
21139
  },
21101
21140
  "background": {
21102
- "token": "surfaceElevated"
21141
+ "token": "surfacePrimary"
21103
21142
  },
21104
21143
  "hiddenPath": "$item.enabled"
21105
21144
  }
@@ -21114,7 +21153,7 @@ const SCREENS = runtimeSetting({
21114
21153
  }
21115
21154
  }
21116
21155
  ],
21117
- "spacing": 6,
21156
+ "spacing": 4,
21118
21157
  "horizontal": false
21119
21158
  }
21120
21159
  },
@@ -21131,7 +21170,7 @@ const SCREENS = runtimeSetting({
21131
21170
  "modifiers": {
21132
21171
  "fillMaxWidth": true,
21133
21172
  "background": {
21134
- "token": "surfaceElevated"
21173
+ "token": "surfacePrimary"
21135
21174
  },
21136
21175
  "border": {
21137
21176
  "width": 1,
@@ -21139,33 +21178,18 @@ const SCREENS = runtimeSetting({
21139
21178
  "token": "border"
21140
21179
  }
21141
21180
  },
21142
- "cornerRadius": 8,
21181
+ "cornerRadius": 12,
21143
21182
  "padding": {
21144
21183
  "leading": 12,
21145
21184
  "trailing": 12,
21146
21185
  "top": 12,
21147
- "bottom": 8
21186
+ "bottom": 12
21148
21187
  },
21149
- "maxWidth": 270
21188
+ "maxWidth": 300
21150
21189
  }
21151
- },
21152
- {
21153
- "id": "himi_business_chat.card_time_$item.id",
21154
- "body": {
21155
- "package": "himalaya",
21156
- "type": "Text",
21157
- "props": {
21158
- "text": "$item.when",
21159
- "style": "caption",
21160
- "color": "textSecondary",
21161
- "collapseWhenEmpty": true,
21162
- "textDirection": "auto"
21163
- }
21164
- },
21165
- "modifiers": {}
21166
21190
  }
21167
21191
  ],
21168
- "spacing": 7,
21192
+ "spacing": 4,
21169
21193
  "alignment": "leading"
21170
21194
  }
21171
21195
  },
@@ -21173,14 +21197,29 @@ const SCREENS = runtimeSetting({
21173
21197
  "fillMaxWidth": true,
21174
21198
  "hiddenPath": "$item.notCard"
21175
21199
  }
21200
+ },
21201
+ {
21202
+ "id": "himi_business_chat.incoming_time_$item.id",
21203
+ "body": {
21204
+ "package": "himalaya",
21205
+ "type": "Text",
21206
+ "props": {
21207
+ "text": "$item.when",
21208
+ "style": "caption",
21209
+ "color": "textTertiary",
21210
+ "collapseWhenEmpty": true,
21211
+ "textDirection": "auto"
21212
+ }
21213
+ },
21214
+ "modifiers": {}
21176
21215
  }
21177
21216
  ],
21178
- "spacing": 0,
21217
+ "spacing": 4,
21179
21218
  "alignment": "leading"
21180
21219
  }
21181
21220
  },
21182
21221
  "modifiers": {
21183
- "fillMaxWidth": true
21222
+ "fillMaxWidth": false
21184
21223
  }
21185
21224
  },
21186
21225
  {
@@ -21193,7 +21232,7 @@ const SCREENS = runtimeSetting({
21193
21232
  "modifiers": {}
21194
21233
  }
21195
21234
  ],
21196
- "spacing": 6,
21235
+ "spacing": 8,
21197
21236
  "alignment": "leading"
21198
21237
  }
21199
21238
  },
@@ -21219,63 +21258,75 @@ const SCREENS = runtimeSetting({
21219
21258
  "modifiers": {}
21220
21259
  },
21221
21260
  {
21222
- "id": "himi_business_chat.outgoing_bubble_$item.id",
21261
+ "id": "himi_business_chat.outgoing_message_$item.id",
21223
21262
  "body": {
21224
21263
  "package": "himalaya",
21225
21264
  "type": "VStack",
21226
21265
  "props": {
21227
21266
  "children": [
21228
21267
  {
21229
- "id": "himi_business_chat.outgoing_sender_$item.id",
21230
- "body": {
21231
- "package": "himalaya",
21232
- "type": "Text",
21233
- "props": {
21234
- "text": "$item.senderName",
21235
- "style": "caption",
21236
- "color": "textOnAccent",
21237
- "collapseWhenEmpty": true,
21238
- "textDirection": "auto"
21239
- }
21240
- },
21241
- "modifiers": {}
21242
- },
21243
- {
21244
- "id": "himi_business_chat.outgoing_attachment_$item.id",
21268
+ "id": "himi_business_chat.outgoing_bubble_$item.id",
21245
21269
  "body": {
21246
21270
  "package": "himalaya",
21247
- "type": "Image",
21271
+ "type": "VStack",
21248
21272
  "props": {
21249
- "url": "$item.imageUrl",
21250
- "fillWidth": true,
21251
- "aspectRatio": 1.5,
21252
- "contentMode": "fit",
21253
- "contentDescription": "$item.imageDescription"
21273
+ "children": [
21274
+ {
21275
+ "id": "himi_business_chat.outgoing_attachment_$item.id",
21276
+ "body": {
21277
+ "package": "himalaya",
21278
+ "type": "Image",
21279
+ "props": {
21280
+ "url": "$item.imageUrl",
21281
+ "fillWidth": true,
21282
+ "aspectRatio": 1.5,
21283
+ "contentMode": "fit",
21284
+ "contentDescription": "$item.imageDescription"
21285
+ }
21286
+ },
21287
+ "modifiers": {
21288
+ "fillMaxWidth": true,
21289
+ "cornerRadius": 12,
21290
+ "accessibilityLabel": "$item.imageDescription",
21291
+ "hiddenPath": "$item.noImage"
21292
+ }
21293
+ },
21294
+ {
21295
+ "id": "himi_business_chat.outgoing_text_$item.id",
21296
+ "body": {
21297
+ "package": "himalaya",
21298
+ "type": "Text",
21299
+ "props": {
21300
+ "text": "$item.bodyText",
21301
+ "style": "footnoteRegular",
21302
+ "color": "textPrimary",
21303
+ "collapseWhenEmpty": true,
21304
+ "textDirection": "auto",
21305
+ "maxLines": 1000
21306
+ }
21307
+ },
21308
+ "modifiers": {}
21309
+ }
21310
+ ],
21311
+ "spacing": 4,
21312
+ "alignment": "leading"
21254
21313
  }
21255
21314
  },
21256
21315
  "modifiers": {
21257
- "fillMaxWidth": true,
21316
+ "fillMaxWidth": false,
21317
+ "background": {
21318
+ "token": "accentSurface"
21319
+ },
21258
21320
  "cornerRadius": 12,
21259
- "accessibilityLabel": "$item.imageDescription",
21260
- "hiddenPath": "$item.noImage"
21321
+ "padding": {
21322
+ "leading": 16,
21323
+ "trailing": 16,
21324
+ "top": 16,
21325
+ "bottom": 16
21326
+ },
21327
+ "maxWidth": 300
21261
21328
  }
21262
21329
  },
21263
- {
21264
- "id": "himi_business_chat.outgoing_text_$item.id",
21265
- "body": {
21266
- "package": "himalaya",
21267
- "type": "Text",
21268
- "props": {
21269
- "text": "$item.bodyText",
21270
- "style": "caption",
21271
- "color": "textOnAccent",
21272
- "collapseWhenEmpty": true,
21273
- "textDirection": "auto",
21274
- "maxLines": 1000
21275
- }
21276
- },
21277
- "modifiers": {}
21278
- },
21279
21330
  {
21280
21331
  "id": "himi_business_chat.outgoing_time_$item.id",
21281
21332
  "body": {
@@ -21284,7 +21335,7 @@ const SCREENS = runtimeSetting({
21284
21335
  "props": {
21285
21336
  "text": "$item.when",
21286
21337
  "style": "caption",
21287
- "color": "textOnAccent",
21338
+ "color": "textTertiary",
21288
21339
  "collapseWhenEmpty": true,
21289
21340
  "textDirection": "auto"
21290
21341
  }
@@ -21292,27 +21343,16 @@ const SCREENS = runtimeSetting({
21292
21343
  "modifiers": {}
21293
21344
  }
21294
21345
  ],
21295
- "spacing": 5,
21296
- "alignment": "leading"
21346
+ "spacing": 4,
21347
+ "alignment": "trailing"
21297
21348
  }
21298
21349
  },
21299
21350
  "modifiers": {
21300
- "fillMaxWidth": true,
21301
- "background": {
21302
- "token": "accentPrimary"
21303
- },
21304
- "cornerRadius": 16,
21305
- "padding": {
21306
- "leading": 8,
21307
- "trailing": 8,
21308
- "top": 8,
21309
- "bottom": 8
21310
- },
21311
- "maxWidth": 300
21351
+ "fillMaxWidth": false
21312
21352
  }
21313
21353
  }
21314
21354
  ],
21315
- "spacing": 6,
21355
+ "spacing": 8,
21316
21356
  "alignment": "leading"
21317
21357
  }
21318
21358
  },
@@ -21322,15 +21362,15 @@ const SCREENS = runtimeSetting({
21322
21362
  }
21323
21363
  }
21324
21364
  ],
21325
- "spacing": 4,
21365
+ "spacing": 8,
21326
21366
  "alignment": "leading"
21327
21367
  }
21328
21368
  },
21329
21369
  "modifiers": {
21330
21370
  "fillMaxWidth": true,
21331
21371
  "padding": {
21332
- "leading": 8,
21333
- "trailing": 8,
21372
+ "leading": 20,
21373
+ "trailing": 20,
21334
21374
  "top": 4,
21335
21375
  "bottom": 4
21336
21376
  }
@@ -21341,6 +21381,144 @@ const SCREENS = runtimeSetting({
21341
21381
  }
21342
21382
  },
21343
21383
  "modifiers": {}
21384
+ },
21385
+ {
21386
+ "id": "himi_business_chat.states",
21387
+ "body": {
21388
+ "package": "himalaya",
21389
+ "type": "VStack",
21390
+ "props": {
21391
+ "children": [
21392
+ {
21393
+ "id": "himi_business_chat.states_top",
21394
+ "body": {
21395
+ "package": "himalaya",
21396
+ "type": "Spacer",
21397
+ "props": {}
21398
+ },
21399
+ "modifiers": {}
21400
+ },
21401
+ {
21402
+ "id": "himi_business_chat.error",
21403
+ "body": {
21404
+ "package": "himalaya",
21405
+ "type": "VStack",
21406
+ "props": {
21407
+ "children": [
21408
+ {
21409
+ "id": "himi_business_chat.error_group",
21410
+ "body": {
21411
+ "package": "himalaya",
21412
+ "type": "VStack",
21413
+ "props": {
21414
+ "children": [
21415
+ {
21416
+ "id": "himi_business_chat.load_error",
21417
+ "body": {
21418
+ "package": "himalaya",
21419
+ "type": "ErrorState",
21420
+ "props": {
21421
+ "variant": "server",
21422
+ "placement": "section",
21423
+ "title": "Unable to load the conversation",
21424
+ "body": "Check your connection and try again. If the problem continues, please try later.",
21425
+ "cta": {
21426
+ "actionId": "tier5.businessChat.init"
21427
+ },
21428
+ "ctaLabel": "Try again"
21429
+ }
21430
+ },
21431
+ "modifiers": {
21432
+ "hiddenPath": "$service:businessChat.isGuest"
21433
+ }
21434
+ }
21435
+ ],
21436
+ "spacing": 0,
21437
+ "alignment": "leading"
21438
+ }
21439
+ },
21440
+ "modifiers": {
21441
+ "fillMaxWidth": true,
21442
+ "hiddenPath": "$service:businessChat.hideLoadError"
21443
+ }
21444
+ }
21445
+ ],
21446
+ "spacing": 0,
21447
+ "alignment": "leading"
21448
+ }
21449
+ },
21450
+ "modifiers": {
21451
+ "fillMaxWidth": true
21452
+ }
21453
+ },
21454
+ {
21455
+ "id": "himi_business_chat.sign_in",
21456
+ "body": {
21457
+ "package": "himalaya",
21458
+ "type": "ErrorState",
21459
+ "props": {
21460
+ "variant": "signIn",
21461
+ "placement": "section",
21462
+ "title": "Sign in to message the studio",
21463
+ "body": "",
21464
+ "cta": {
21465
+ "actionId": "himi.open",
21466
+ "params": {
21467
+ "screenId": "himi_sign_in",
21468
+ "mode": "signin",
21469
+ "returnScreenId": "himi_business_chat",
21470
+ "modal": "1",
21471
+ "sheetStyle": "page"
21472
+ },
21473
+ "presentation": "sheet"
21474
+ },
21475
+ "ctaLabel": "Sign in"
21476
+ }
21477
+ },
21478
+ "modifiers": {
21479
+ "hiddenPath": "$service:businessChat.notGuest"
21480
+ }
21481
+ },
21482
+ {
21483
+ "id": "himi_business_chat.empty",
21484
+ "body": {
21485
+ "package": "himalaya",
21486
+ "type": "EmptyState",
21487
+ "props": {
21488
+ "icon": "chat",
21489
+ "title": "No messages yet",
21490
+ "subtitle": "Send a message to start the conversation."
21491
+ }
21492
+ },
21493
+ "modifiers": {
21494
+ "padding": {
21495
+ "leading": 20,
21496
+ "trailing": 20,
21497
+ "top": 24,
21498
+ "bottom": 24
21499
+ },
21500
+ "hiddenPath": "$service:businessChat.noEmpty"
21501
+ }
21502
+ },
21503
+ {
21504
+ "id": "himi_business_chat.states_bottom",
21505
+ "body": {
21506
+ "package": "himalaya",
21507
+ "type": "Spacer",
21508
+ "props": {}
21509
+ },
21510
+ "modifiers": {}
21511
+ }
21512
+ ],
21513
+ "spacing": 0,
21514
+ "alignment": "center"
21515
+ }
21516
+ },
21517
+ "modifiers": {
21518
+ "fillMaxWidth": true,
21519
+ "weight": 1,
21520
+ "hiddenPath": "$service:businessChat.hasMessages"
21521
+ }
21344
21522
  }
21345
21523
  ],
21346
21524
  "spacing": 0,
@@ -21350,7 +21528,7 @@ const SCREENS = runtimeSetting({
21350
21528
  "modifiers": {
21351
21529
  "fillMaxWidth": true,
21352
21530
  "background": {
21353
- "token": "surfaceSecondary"
21531
+ "token": "surfacePrimary"
21354
21532
  },
21355
21533
  "onAppear": {
21356
21534
  "actionId": "tier5.businessChat.init",
@@ -21408,94 +21586,6 @@ const SCREENS = runtimeSetting({
21408
21586
  "minBinaryVersion": "0.1.0",
21409
21587
  "bundleVersion": "0.1.0"
21410
21588
  },
21411
- "stickyHeader": {
21412
- "id": "himi_business_chat.header",
21413
- "body": {
21414
- "package": "himalaya",
21415
- "type": "HStack",
21416
- "props": {
21417
- "children": [
21418
- {
21419
- "id": "himi_business_chat.header_title",
21420
- "body": {
21421
- "package": "himalaya",
21422
- "type": "Text",
21423
- "props": {
21424
- "text": "__HIMI_APP_NAME__",
21425
- "style": "title3",
21426
- "color": "textOnAccent",
21427
- "collapseWhenEmpty": true,
21428
- "textDirection": "auto",
21429
- "maxLines": 1
21430
- }
21431
- },
21432
- "modifiers": {
21433
- "hiddenPath": "$service:businessChat.hasHostedName"
21434
- }
21435
- },
21436
- {
21437
- "id": "himi_business_chat.header_title_hosted",
21438
- "body": {
21439
- "package": "himalaya",
21440
- "type": "Text",
21441
- "props": {
21442
- "text": "$service:businessChat.hostedName",
21443
- "style": "title3",
21444
- "color": "textOnAccent",
21445
- "collapseWhenEmpty": true,
21446
- "textDirection": "auto",
21447
- "maxLines": 1
21448
- }
21449
- },
21450
- "modifiers": {
21451
- "hiddenPath": "$service:businessChat.noHostedName"
21452
- }
21453
- },
21454
- {
21455
- "id": "himi_business_chat.header_spacer",
21456
- "body": {
21457
- "package": "himalaya",
21458
- "type": "Spacer",
21459
- "props": {}
21460
- },
21461
- "modifiers": {}
21462
- },
21463
- {
21464
- "id": "himi_business_chat.live_status",
21465
- "body": {
21466
- "package": "himalaya",
21467
- "type": "Text",
21468
- "props": {
21469
- "text": "$service:businessChat.liveLabel",
21470
- "style": "caption",
21471
- "color": "textOnAccent",
21472
- "collapseWhenEmpty": true,
21473
- "textDirection": "auto",
21474
- "maxLines": 1
21475
- }
21476
- },
21477
- "modifiers": {
21478
- "hiddenPath": "$service:businessChat.noActiveRoom"
21479
- }
21480
- }
21481
- ],
21482
- "spacing": 8,
21483
- "alignment": "leading"
21484
- }
21485
- },
21486
- "modifiers": {
21487
- "fillMaxWidth": true,
21488
- "background": {
21489
- "token": "accentPrimary"
21490
- },
21491
- "padding": {
21492
- "leading": 16,
21493
- "trailing": 16,
21494
- "top": 12,
21495
- "bottom": 12
21496
- }
21497
- }
21498
- },
21499
21589
  "stickyFooter": {
21500
21590
  "id": "himi_business_chat.footer",
21501
21591
  "body": {
@@ -21532,7 +21622,7 @@ const SCREENS = runtimeSetting({
21532
21622
  "type": "Text",
21533
21623
  "props": {
21534
21624
  "text": "$item.label",
21535
- "style": "caption",
21625
+ "style": "footnote",
21536
21626
  "color": "accentPrimary",
21537
21627
  "collapseWhenEmpty": true,
21538
21628
  "textDirection": "auto",
@@ -21548,12 +21638,12 @@ const SCREENS = runtimeSetting({
21548
21638
  },
21549
21639
  "modifiers": {
21550
21640
  "fillMaxWidth": false,
21551
- "cornerRadius": 12,
21641
+ "cornerRadius": 999,
21552
21642
  "padding": {
21553
- "leading": 10,
21554
- "trailing": 10,
21555
- "top": 5,
21556
- "bottom": 5
21643
+ "leading": 12,
21644
+ "trailing": 12,
21645
+ "top": 8,
21646
+ "bottom": 8
21557
21647
  },
21558
21648
  "background": {
21559
21649
  "token": "accentSurface"
@@ -21583,8 +21673,8 @@ const SCREENS = runtimeSetting({
21583
21673
  "type": "Text",
21584
21674
  "props": {
21585
21675
  "text": "$item.label",
21586
- "style": "caption",
21587
- "color": "textSecondary",
21676
+ "style": "footnote",
21677
+ "color": "textTertiary",
21588
21678
  "collapseWhenEmpty": true,
21589
21679
  "textDirection": "auto",
21590
21680
  "maxLines": 1
@@ -21599,12 +21689,12 @@ const SCREENS = runtimeSetting({
21599
21689
  },
21600
21690
  "modifiers": {
21601
21691
  "fillMaxWidth": false,
21602
- "cornerRadius": 12,
21692
+ "cornerRadius": 999,
21603
21693
  "padding": {
21604
- "leading": 10,
21605
- "trailing": 10,
21606
- "top": 5,
21607
- "bottom": 5
21694
+ "leading": 12,
21695
+ "trailing": 12,
21696
+ "top": 8,
21697
+ "bottom": 8
21608
21698
  },
21609
21699
  "background": {
21610
21700
  "token": "surfaceSecondary"
@@ -21628,7 +21718,116 @@ const SCREENS = runtimeSetting({
21628
21718
  },
21629
21719
  "modifiers": {
21630
21720
  "fillMaxWidth": true,
21631
- "hiddenPath": "$service:businessChat.noQuickReplies"
21721
+ "hiddenPath": "$service:businessChat.noQuickReplies",
21722
+ "padding": {
21723
+ "leading": 20,
21724
+ "trailing": 20,
21725
+ "top": 8,
21726
+ "bottom": 8
21727
+ }
21728
+ }
21729
+ },
21730
+ {
21731
+ "id": "himi_business_chat.divider",
21732
+ "body": {
21733
+ "package": "himalaya",
21734
+ "type": "Divider",
21735
+ "props": {}
21736
+ }
21737
+ },
21738
+ {
21739
+ "id": "himi_business_chat.live_status",
21740
+ "body": {
21741
+ "package": "himalaya",
21742
+ "type": "Text",
21743
+ "props": {
21744
+ "text": "$service:businessChat.liveLabel",
21745
+ "style": "caption",
21746
+ "color": "textSecondary",
21747
+ "collapseWhenEmpty": true,
21748
+ "textDirection": "auto",
21749
+ "maxLines": 3
21750
+ }
21751
+ },
21752
+ "modifiers": {
21753
+ "hiddenPath": "$service:businessChat.noLiveLabel",
21754
+ "padding": {
21755
+ "leading": 20,
21756
+ "trailing": 20,
21757
+ "top": 8
21758
+ }
21759
+ }
21760
+ },
21761
+ {
21762
+ "id": "himi_business_chat.notice",
21763
+ "body": {
21764
+ "package": "himalaya",
21765
+ "type": "Text",
21766
+ "props": {
21767
+ "text": "$service:businessChat.noticeText",
21768
+ "style": "caption",
21769
+ "color": "danger",
21770
+ "collapseWhenEmpty": true,
21771
+ "textDirection": "auto",
21772
+ "maxLines": 3
21773
+ }
21774
+ },
21775
+ "modifiers": {
21776
+ "hiddenPath": "$service:businessChat.noErrorNotice",
21777
+ "padding": {
21778
+ "leading": 20,
21779
+ "trailing": 20,
21780
+ "top": 8
21781
+ }
21782
+ }
21783
+ },
21784
+ {
21785
+ "id": "himi_business_chat.notice_info",
21786
+ "body": {
21787
+ "package": "himalaya",
21788
+ "type": "Text",
21789
+ "props": {
21790
+ "text": "$service:businessChat.noticeText",
21791
+ "style": "caption",
21792
+ "color": "textSecondary",
21793
+ "collapseWhenEmpty": true,
21794
+ "textDirection": "auto",
21795
+ "maxLines": 3
21796
+ }
21797
+ },
21798
+ "modifiers": {
21799
+ "hiddenPath": "$service:businessChat.noInfoNotice",
21800
+ "padding": {
21801
+ "leading": 20,
21802
+ "trailing": 20,
21803
+ "top": 8
21804
+ }
21805
+ }
21806
+ },
21807
+ {
21808
+ "id": "himi_business_chat.retry",
21809
+ "body": {
21810
+ "package": "himalaya",
21811
+ "type": "Text",
21812
+ "props": {
21813
+ "text": "Try again",
21814
+ "style": "footnote",
21815
+ "color": "accentPrimary",
21816
+ "collapseWhenEmpty": true,
21817
+ "textDirection": "auto"
21818
+ }
21819
+ },
21820
+ "modifiers": {
21821
+ "onTap": {
21822
+ "actionId": "tier5.businessChat.init"
21823
+ },
21824
+ "accessibilityRole": "button",
21825
+ "padding": {
21826
+ "leading": 20,
21827
+ "trailing": 20,
21828
+ "top": 4
21829
+ },
21830
+ "hiddenPath": "$service:businessChat.retryHidden"
21632
21831
  }
21633
21832
  },
21634
21833
  {
@@ -21639,72 +21838,37 @@ const SCREENS = runtimeSetting({
21639
21838
  "props": {
21640
21839
  "children": [
21641
21840
  {
21642
- "id": "himi_business_chat.draft_shell",
21841
+ "id": "himi_business_chat.draft",
21643
21842
  "body": {
21644
21843
  "package": "himalaya",
21645
- "type": "ZStack",
21844
+ "type": "TextField",
21646
21845
  "props": {
21647
- "alignment": "center",
21648
- "children": [
21649
- {
21650
- "id": "himi_business_chat.draft_outline",
21651
- "body": {
21652
- "package": "himalaya",
21653
- "type": "VStack",
21654
- "props": {
21655
- "children": [],
21656
- "spacing": 0,
21657
- "alignment": "leading"
21658
- }
21659
- },
21660
- "modifiers": {
21661
- "fillMaxWidth": true,
21662
- "height": 40,
21663
- "background": {
21664
- "token": "surfacePrimary"
21665
- },
21666
- "cornerRadius": 20,
21667
- "border": {
21668
- "width": 1,
21669
- "color": {
21670
- "token": "border"
21671
- }
21672
- }
21673
- }
21674
- },
21675
- {
21676
- "id": "himi_business_chat.draft",
21677
- "body": {
21678
- "package": "himalaya",
21679
- "type": "TextField",
21680
- "props": {
21681
- "valuePath": "$service:businessChat.draft",
21682
- "onChange": {
21683
- "actionId": "tier5.businessChat.setDraft"
21684
- },
21685
- "placeholder": "Type your message…",
21686
- "maxLength": 4000,
21687
- "multilineMaxLines": 1,
21688
- "borderless": true
21689
- }
21690
- },
21691
- "modifiers": {
21692
- "fillMaxWidth": true,
21693
- "accessibilityLabel": "Type your message",
21694
- "padding": {
21695
- "leading": 8,
21696
- "trailing": 8,
21697
- "top": 0,
21698
- "bottom": 0
21699
- }
21700
- }
21701
- }
21702
- ]
21846
+ "valuePath": "$service:businessChat.draft",
21847
+ "onChange": {
21848
+ "actionId": "tier5.businessChat.setDraft"
21849
+ },
21850
+ "onSubmit": {
21851
+ "actionId": "tier5.businessChat.send"
21852
+ },
21853
+ "submitLabel": "send",
21854
+ "placeholder": "Type your message…",
21855
+ "maxLength": 4000,
21856
+ "multilineMaxLines": 1,
21857
+ "borderless": true
21703
21858
  }
21704
21859
  },
21705
21860
  "modifiers": {
21706
21861
  "weight": 1,
21707
- "fillMaxWidth": true
21862
+ "height": 44,
21863
+ "accessibilityLabel": "Type your message",
21864
+ "background": {
21865
+ "token": "surfaceSecondary"
21866
+ },
21867
+ "cornerRadius": 999,
21868
+ "padding": {
21869
+ "leading": 16,
21870
+ "trailing": 8
21871
+ }
21708
21872
  }
21709
21873
  },
21710
21874
  {
@@ -21728,11 +21892,11 @@ const SCREENS = runtimeSetting({
21728
21892
  },
21729
21893
  "modifiers": {
21730
21894
  "accessibilityRole": "decorative",
21731
- "width": 40,
21732
- "height": 40,
21733
- "cornerRadius": 20,
21895
+ "width": 44,
21896
+ "height": 44,
21897
+ "cornerRadius": 999,
21734
21898
  "background": {
21735
- "token": "surfaceSecondary"
21899
+ "token": "surfaceTertiary"
21736
21900
  }
21737
21901
  }
21738
21902
  },
@@ -21749,9 +21913,9 @@ const SCREENS = runtimeSetting({
21749
21913
  },
21750
21914
  "modifiers": {
21751
21915
  "accessibilityRole": "button",
21752
- "width": 40,
21753
- "height": 40,
21754
- "cornerRadius": 20,
21916
+ "width": 44,
21917
+ "height": 44,
21918
+ "cornerRadius": 999,
21755
21919
  "background": {
21756
21920
  "token": "accentPrimary"
21757
21921
  },
@@ -21766,22 +21930,22 @@ const SCREENS = runtimeSetting({
21766
21930
  }
21767
21931
  },
21768
21932
  "modifiers": {
21769
- "width": 40,
21770
- "height": 40
21933
+ "width": 44,
21934
+ "height": 44
21771
21935
  }
21772
21936
  }
21773
21937
  ],
21774
- "spacing": 6,
21938
+ "spacing": 8,
21775
21939
  "alignment": "center"
21776
21940
  }
21777
21941
  },
21778
21942
  "modifiers": {
21779
21943
  "fillMaxWidth": true,
21780
21944
  "padding": {
21781
- "leading": 8,
21782
- "trailing": 8,
21783
- "top": 0,
21784
- "bottom": 0
21945
+ "leading": 20,
21946
+ "trailing": 20,
21947
+ "top": 8,
21948
+ "bottom": 8
21785
21949
  }
21786
21950
  }
21787
21951
  }
@@ -21795,12 +21959,6 @@ const SCREENS = runtimeSetting({
21795
21959
  "hiddenPath": "$service:businessChat.isGuest",
21796
21960
  "background": {
21797
21961
  "token": "surfacePrimary"
21798
- },
21799
- "padding": {
21800
- "leading": 0,
21801
- "trailing": 0,
21802
- "top": 4,
21803
- "bottom": 0
21804
21962
  }
21805
21963
  }
21806
21964
  },