@wix/himalaya-cli 0.1866.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 (390) 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 +44 -42
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/guides/designing-himi-screens.md +1 -0
  11. package/package.json +2 -2
  12. package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +14 -1
  13. package/templates/beauty-salon/dev/index.ts +122 -8
  14. package/templates/beauty-salon/l10n/ar.json +5 -0
  15. package/templates/beauty-salon/l10n/cs.json +5 -0
  16. package/templates/beauty-salon/l10n/da.json +5 -0
  17. package/templates/beauty-salon/l10n/de.json +5 -0
  18. package/templates/beauty-salon/l10n/el.json +5 -0
  19. package/templates/beauty-salon/l10n/en.json +1 -1
  20. package/templates/beauty-salon/l10n/es.json +5 -0
  21. package/templates/beauty-salon/l10n/fi.json +5 -0
  22. package/templates/beauty-salon/l10n/fr.json +5 -0
  23. package/templates/beauty-salon/l10n/he.json +4 -0
  24. package/templates/beauty-salon/l10n/hu.json +5 -0
  25. package/templates/beauty-salon/l10n/id.json +5 -0
  26. package/templates/beauty-salon/l10n/it.json +5 -0
  27. package/templates/beauty-salon/l10n/ja.json +5 -0
  28. package/templates/beauty-salon/l10n/ko.json +5 -0
  29. package/templates/beauty-salon/l10n/lt.json +5 -0
  30. package/templates/beauty-salon/l10n/nl.json +5 -0
  31. package/templates/beauty-salon/l10n/no.json +5 -0
  32. package/templates/beauty-salon/l10n/pl.json +5 -0
  33. package/templates/beauty-salon/l10n/pt.json +5 -0
  34. package/templates/beauty-salon/l10n/ru.json +5 -0
  35. package/templates/beauty-salon/l10n/sv.json +5 -0
  36. package/templates/beauty-salon/l10n/th.json +5 -0
  37. package/templates/beauty-salon/l10n/tr.json +5 -0
  38. package/templates/beauty-salon/l10n/uk.json +5 -0
  39. package/templates/beauty-salon/l10n/vi.json +5 -0
  40. package/templates/beauty-salon/l10n/zh.json +5 -0
  41. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +14 -1
  42. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +192 -28
  43. package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +14 -1
  44. package/templates/branded-lite/dev/index.ts +732 -583
  45. package/templates/branded-lite/l10n/ar.json +5 -0
  46. package/templates/branded-lite/l10n/cs.json +5 -0
  47. package/templates/branded-lite/l10n/da.json +5 -0
  48. package/templates/branded-lite/l10n/de.json +5 -0
  49. package/templates/branded-lite/l10n/el.json +5 -0
  50. package/templates/branded-lite/l10n/en.json +2 -2
  51. package/templates/branded-lite/l10n/es.json +5 -0
  52. package/templates/branded-lite/l10n/fi.json +5 -0
  53. package/templates/branded-lite/l10n/fr.json +5 -0
  54. package/templates/branded-lite/l10n/he.json +4 -0
  55. package/templates/branded-lite/l10n/hu.json +5 -0
  56. package/templates/branded-lite/l10n/id.json +5 -0
  57. package/templates/branded-lite/l10n/it.json +5 -0
  58. package/templates/branded-lite/l10n/ja.json +5 -0
  59. package/templates/branded-lite/l10n/ko.json +5 -0
  60. package/templates/branded-lite/l10n/lt.json +5 -0
  61. package/templates/branded-lite/l10n/nl.json +5 -0
  62. package/templates/branded-lite/l10n/no.json +5 -0
  63. package/templates/branded-lite/l10n/pl.json +5 -0
  64. package/templates/branded-lite/l10n/pt.json +5 -0
  65. package/templates/branded-lite/l10n/ru.json +5 -0
  66. package/templates/branded-lite/l10n/sv.json +5 -0
  67. package/templates/branded-lite/l10n/th.json +5 -0
  68. package/templates/branded-lite/l10n/tr.json +5 -0
  69. package/templates/branded-lite/l10n/uk.json +5 -0
  70. package/templates/branded-lite/l10n/vi.json +5 -0
  71. package/templates/branded-lite/l10n/zh.json +5 -0
  72. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +11 -0
  73. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +14 -1
  74. package/templates/branded-lite/tier5-src/business-chat/index.ts +20 -6
  75. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +192 -28
  76. package/templates/brandy/tier5-src/_shared/himi-account.ts +14 -1
  77. package/templates/brandy/tier5-src/himi-store-account/index.ts +192 -28
  78. package/templates/community-club/dev/index.ts +122 -8
  79. package/templates/community-club/l10n/ar.json +10 -0
  80. package/templates/community-club/l10n/cs.json +10 -0
  81. package/templates/community-club/l10n/da.json +10 -0
  82. package/templates/community-club/l10n/de.json +10 -0
  83. package/templates/community-club/l10n/el.json +10 -0
  84. package/templates/community-club/l10n/en.json +1 -1
  85. package/templates/community-club/l10n/es.json +10 -0
  86. package/templates/community-club/l10n/fi.json +10 -0
  87. package/templates/community-club/l10n/fr.json +10 -0
  88. package/templates/community-club/l10n/he.json +8 -0
  89. package/templates/community-club/l10n/hu.json +10 -0
  90. package/templates/community-club/l10n/id.json +10 -0
  91. package/templates/community-club/l10n/it.json +10 -0
  92. package/templates/community-club/l10n/ja.json +10 -0
  93. package/templates/community-club/l10n/ko.json +10 -0
  94. package/templates/community-club/l10n/lt.json +10 -0
  95. package/templates/community-club/l10n/nl.json +10 -0
  96. package/templates/community-club/l10n/no.json +10 -0
  97. package/templates/community-club/l10n/pl.json +10 -0
  98. package/templates/community-club/l10n/pt.json +10 -0
  99. package/templates/community-club/l10n/ru.json +10 -0
  100. package/templates/community-club/l10n/sv.json +10 -0
  101. package/templates/community-club/l10n/th.json +10 -0
  102. package/templates/community-club/l10n/tr.json +10 -0
  103. package/templates/community-club/l10n/uk.json +10 -0
  104. package/templates/community-club/l10n/vi.json +10 -0
  105. package/templates/community-club/l10n/zh.json +10 -0
  106. package/templates/community-club/tier5-src/_shared/himi-account.ts +14 -1
  107. package/templates/community-club/tier5-src/himi-store-account/index.ts +192 -28
  108. package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +14 -1
  109. package/templates/conference/dev/index.ts +744 -595
  110. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +11 -0
  111. package/templates/conference/tier5-src/_shared/himi-account.ts +14 -1
  112. package/templates/conference/tier5-src/business-chat/index.ts +20 -6
  113. package/templates/conference/tier5-src/himi-store-account/index.ts +192 -28
  114. package/templates/events-meetups/dev/index.ts +122 -8
  115. package/templates/events-meetups/l10n/ar.json +10 -0
  116. package/templates/events-meetups/l10n/cs.json +10 -0
  117. package/templates/events-meetups/l10n/da.json +10 -0
  118. package/templates/events-meetups/l10n/de.json +10 -0
  119. package/templates/events-meetups/l10n/el.json +10 -0
  120. package/templates/events-meetups/l10n/en.json +1 -1
  121. package/templates/events-meetups/l10n/es.json +10 -0
  122. package/templates/events-meetups/l10n/fi.json +10 -0
  123. package/templates/events-meetups/l10n/fr.json +10 -0
  124. package/templates/events-meetups/l10n/he.json +8 -0
  125. package/templates/events-meetups/l10n/hu.json +10 -0
  126. package/templates/events-meetups/l10n/id.json +10 -0
  127. package/templates/events-meetups/l10n/it.json +10 -0
  128. package/templates/events-meetups/l10n/ja.json +10 -0
  129. package/templates/events-meetups/l10n/ko.json +10 -0
  130. package/templates/events-meetups/l10n/lt.json +10 -0
  131. package/templates/events-meetups/l10n/nl.json +10 -0
  132. package/templates/events-meetups/l10n/no.json +10 -0
  133. package/templates/events-meetups/l10n/pl.json +10 -0
  134. package/templates/events-meetups/l10n/pt.json +10 -0
  135. package/templates/events-meetups/l10n/ru.json +10 -0
  136. package/templates/events-meetups/l10n/sv.json +10 -0
  137. package/templates/events-meetups/l10n/th.json +10 -0
  138. package/templates/events-meetups/l10n/tr.json +10 -0
  139. package/templates/events-meetups/l10n/uk.json +10 -0
  140. package/templates/events-meetups/l10n/vi.json +10 -0
  141. package/templates/events-meetups/l10n/zh.json +10 -0
  142. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +14 -1
  143. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +192 -28
  144. package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +14 -1
  145. package/templates/fitness-gym/dev/index.ts +743 -507
  146. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +11 -0
  147. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +14 -1
  148. package/templates/fitness-gym/tier5-src/business-chat/index.ts +20 -6
  149. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +14 -3
  150. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +192 -28
  151. package/templates/gym-fitness/dev/index.ts +122 -8
  152. package/templates/gym-fitness/l10n/ar.json +5 -0
  153. package/templates/gym-fitness/l10n/cs.json +5 -0
  154. package/templates/gym-fitness/l10n/da.json +5 -0
  155. package/templates/gym-fitness/l10n/de.json +5 -0
  156. package/templates/gym-fitness/l10n/el.json +5 -0
  157. package/templates/gym-fitness/l10n/en.json +1 -1
  158. package/templates/gym-fitness/l10n/es.json +5 -0
  159. package/templates/gym-fitness/l10n/fi.json +5 -0
  160. package/templates/gym-fitness/l10n/fr.json +5 -0
  161. package/templates/gym-fitness/l10n/he.json +4 -0
  162. package/templates/gym-fitness/l10n/hu.json +5 -0
  163. package/templates/gym-fitness/l10n/id.json +5 -0
  164. package/templates/gym-fitness/l10n/it.json +5 -0
  165. package/templates/gym-fitness/l10n/ja.json +5 -0
  166. package/templates/gym-fitness/l10n/ko.json +5 -0
  167. package/templates/gym-fitness/l10n/lt.json +5 -0
  168. package/templates/gym-fitness/l10n/nl.json +5 -0
  169. package/templates/gym-fitness/l10n/no.json +5 -0
  170. package/templates/gym-fitness/l10n/pl.json +5 -0
  171. package/templates/gym-fitness/l10n/pt.json +5 -0
  172. package/templates/gym-fitness/l10n/ru.json +5 -0
  173. package/templates/gym-fitness/l10n/sv.json +5 -0
  174. package/templates/gym-fitness/l10n/th.json +5 -0
  175. package/templates/gym-fitness/l10n/tr.json +5 -0
  176. package/templates/gym-fitness/l10n/uk.json +5 -0
  177. package/templates/gym-fitness/l10n/vi.json +5 -0
  178. package/templates/gym-fitness/l10n/zh.json +5 -0
  179. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +14 -1
  180. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +192 -28
  181. package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +14 -1
  182. package/templates/medical-services/dev/index.ts +747 -595
  183. package/templates/medical-services/tier5-src/_shared/business-chat-presenter.ts +11 -0
  184. package/templates/medical-services/tier5-src/_shared/himi-account.ts +14 -1
  185. package/templates/medical-services/tier5-src/business-chat/index.ts +20 -6
  186. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +14 -3
  187. package/templates/medical-services/tier5-src/himi-store-account/index.ts +192 -28
  188. package/templates/nonprofit-cause/dev/index.ts +122 -8
  189. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  190. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  191. package/templates/nonprofit-cause/l10n/da.json +10 -0
  192. package/templates/nonprofit-cause/l10n/de.json +10 -0
  193. package/templates/nonprofit-cause/l10n/el.json +10 -0
  194. package/templates/nonprofit-cause/l10n/en.json +1 -1
  195. package/templates/nonprofit-cause/l10n/es.json +10 -0
  196. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  197. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  198. package/templates/nonprofit-cause/l10n/he.json +8 -0
  199. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  200. package/templates/nonprofit-cause/l10n/id.json +10 -0
  201. package/templates/nonprofit-cause/l10n/it.json +10 -0
  202. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  203. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  204. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  205. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  206. package/templates/nonprofit-cause/l10n/no.json +10 -0
  207. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  208. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  209. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  210. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  211. package/templates/nonprofit-cause/l10n/th.json +10 -0
  212. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  213. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  214. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  215. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  216. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +14 -1
  217. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +192 -28
  218. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +14 -1
  219. package/templates/owner-lite/tier5-src/_shared/himi-account.ts +14 -1
  220. package/templates/personal-fitness-trainer/dev/index.ts +760 -602
  221. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +11 -0
  222. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +14 -1
  223. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +20 -6
  224. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +192 -28
  225. package/templates/podcast-creator/dev/index.ts +122 -8
  226. package/templates/podcast-creator/l10n/ar.json +10 -0
  227. package/templates/podcast-creator/l10n/cs.json +10 -0
  228. package/templates/podcast-creator/l10n/da.json +10 -0
  229. package/templates/podcast-creator/l10n/de.json +10 -0
  230. package/templates/podcast-creator/l10n/el.json +10 -0
  231. package/templates/podcast-creator/l10n/en.json +1 -1
  232. package/templates/podcast-creator/l10n/es.json +10 -0
  233. package/templates/podcast-creator/l10n/fi.json +10 -0
  234. package/templates/podcast-creator/l10n/fr.json +10 -0
  235. package/templates/podcast-creator/l10n/he.json +8 -0
  236. package/templates/podcast-creator/l10n/hu.json +10 -0
  237. package/templates/podcast-creator/l10n/id.json +10 -0
  238. package/templates/podcast-creator/l10n/it.json +10 -0
  239. package/templates/podcast-creator/l10n/ja.json +10 -0
  240. package/templates/podcast-creator/l10n/ko.json +10 -0
  241. package/templates/podcast-creator/l10n/lt.json +10 -0
  242. package/templates/podcast-creator/l10n/nl.json +10 -0
  243. package/templates/podcast-creator/l10n/no.json +10 -0
  244. package/templates/podcast-creator/l10n/pl.json +10 -0
  245. package/templates/podcast-creator/l10n/pt.json +10 -0
  246. package/templates/podcast-creator/l10n/ru.json +10 -0
  247. package/templates/podcast-creator/l10n/sv.json +10 -0
  248. package/templates/podcast-creator/l10n/th.json +10 -0
  249. package/templates/podcast-creator/l10n/tr.json +10 -0
  250. package/templates/podcast-creator/l10n/uk.json +10 -0
  251. package/templates/podcast-creator/l10n/vi.json +10 -0
  252. package/templates/podcast-creator/l10n/zh.json +10 -0
  253. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +14 -1
  254. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +192 -28
  255. package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +14 -1
  256. package/templates/portfolio-creative/dev/index.ts +122 -8
  257. package/templates/portfolio-creative/l10n/ar.json +10 -0
  258. package/templates/portfolio-creative/l10n/cs.json +10 -0
  259. package/templates/portfolio-creative/l10n/da.json +10 -0
  260. package/templates/portfolio-creative/l10n/de.json +10 -0
  261. package/templates/portfolio-creative/l10n/el.json +10 -0
  262. package/templates/portfolio-creative/l10n/en.json +1 -1
  263. package/templates/portfolio-creative/l10n/es.json +10 -0
  264. package/templates/portfolio-creative/l10n/fi.json +10 -0
  265. package/templates/portfolio-creative/l10n/fr.json +10 -0
  266. package/templates/portfolio-creative/l10n/he.json +8 -0
  267. package/templates/portfolio-creative/l10n/hu.json +10 -0
  268. package/templates/portfolio-creative/l10n/id.json +10 -0
  269. package/templates/portfolio-creative/l10n/it.json +10 -0
  270. package/templates/portfolio-creative/l10n/ja.json +10 -0
  271. package/templates/portfolio-creative/l10n/ko.json +10 -0
  272. package/templates/portfolio-creative/l10n/lt.json +10 -0
  273. package/templates/portfolio-creative/l10n/nl.json +10 -0
  274. package/templates/portfolio-creative/l10n/no.json +10 -0
  275. package/templates/portfolio-creative/l10n/pl.json +10 -0
  276. package/templates/portfolio-creative/l10n/pt.json +10 -0
  277. package/templates/portfolio-creative/l10n/ru.json +10 -0
  278. package/templates/portfolio-creative/l10n/sv.json +10 -0
  279. package/templates/portfolio-creative/l10n/th.json +10 -0
  280. package/templates/portfolio-creative/l10n/tr.json +10 -0
  281. package/templates/portfolio-creative/l10n/uk.json +10 -0
  282. package/templates/portfolio-creative/l10n/vi.json +10 -0
  283. package/templates/portfolio-creative/l10n/zh.json +10 -0
  284. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +14 -1
  285. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +192 -28
  286. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +14 -1
  287. package/templates/restaurant/dev/index.ts +122 -8
  288. package/templates/restaurant/l10n/ar.json +10 -0
  289. package/templates/restaurant/l10n/cs.json +10 -0
  290. package/templates/restaurant/l10n/da.json +10 -0
  291. package/templates/restaurant/l10n/de.json +10 -0
  292. package/templates/restaurant/l10n/el.json +10 -0
  293. package/templates/restaurant/l10n/en.json +1 -1
  294. package/templates/restaurant/l10n/es.json +10 -0
  295. package/templates/restaurant/l10n/fi.json +10 -0
  296. package/templates/restaurant/l10n/fr.json +10 -0
  297. package/templates/restaurant/l10n/he.json +8 -0
  298. package/templates/restaurant/l10n/hu.json +10 -0
  299. package/templates/restaurant/l10n/id.json +10 -0
  300. package/templates/restaurant/l10n/it.json +10 -0
  301. package/templates/restaurant/l10n/ja.json +10 -0
  302. package/templates/restaurant/l10n/ko.json +10 -0
  303. package/templates/restaurant/l10n/lt.json +10 -0
  304. package/templates/restaurant/l10n/nl.json +10 -0
  305. package/templates/restaurant/l10n/no.json +10 -0
  306. package/templates/restaurant/l10n/pl.json +10 -0
  307. package/templates/restaurant/l10n/pt.json +10 -0
  308. package/templates/restaurant/l10n/ru.json +10 -0
  309. package/templates/restaurant/l10n/sv.json +10 -0
  310. package/templates/restaurant/l10n/th.json +10 -0
  311. package/templates/restaurant/l10n/tr.json +10 -0
  312. package/templates/restaurant/l10n/uk.json +10 -0
  313. package/templates/restaurant/l10n/vi.json +10 -0
  314. package/templates/restaurant/l10n/zh.json +10 -0
  315. package/templates/restaurant/tier5-src/_shared/himi-account.ts +14 -1
  316. package/templates/restaurant/tier5-src/himi-store-account/index.ts +192 -28
  317. package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +14 -1
  318. package/templates/retail-store/dev/index.ts +122 -8
  319. package/templates/retail-store/l10n/ar.json +10 -0
  320. package/templates/retail-store/l10n/cs.json +10 -0
  321. package/templates/retail-store/l10n/da.json +10 -0
  322. package/templates/retail-store/l10n/de.json +10 -0
  323. package/templates/retail-store/l10n/el.json +10 -0
  324. package/templates/retail-store/l10n/en.json +1 -1
  325. package/templates/retail-store/l10n/es.json +10 -0
  326. package/templates/retail-store/l10n/fi.json +10 -0
  327. package/templates/retail-store/l10n/fr.json +10 -0
  328. package/templates/retail-store/l10n/he.json +8 -0
  329. package/templates/retail-store/l10n/hu.json +10 -0
  330. package/templates/retail-store/l10n/id.json +10 -0
  331. package/templates/retail-store/l10n/it.json +10 -0
  332. package/templates/retail-store/l10n/ja.json +10 -0
  333. package/templates/retail-store/l10n/ko.json +10 -0
  334. package/templates/retail-store/l10n/lt.json +10 -0
  335. package/templates/retail-store/l10n/nl.json +10 -0
  336. package/templates/retail-store/l10n/no.json +10 -0
  337. package/templates/retail-store/l10n/pl.json +10 -0
  338. package/templates/retail-store/l10n/pt.json +10 -0
  339. package/templates/retail-store/l10n/ru.json +10 -0
  340. package/templates/retail-store/l10n/sv.json +10 -0
  341. package/templates/retail-store/l10n/th.json +10 -0
  342. package/templates/retail-store/l10n/tr.json +10 -0
  343. package/templates/retail-store/l10n/uk.json +10 -0
  344. package/templates/retail-store/l10n/vi.json +10 -0
  345. package/templates/retail-store/l10n/zh.json +10 -0
  346. package/templates/retail-store/tier5-src/_shared/himi-account.ts +14 -1
  347. package/templates/retail-store/tier5-src/himi-store-account/index.ts +192 -28
  348. package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +14 -1
  349. package/templates/salon-spa/dev/index.ts +744 -595
  350. package/templates/salon-spa/tier5-src/_shared/business-chat-presenter.ts +11 -0
  351. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +14 -1
  352. package/templates/salon-spa/tier5-src/business-chat/index.ts +20 -6
  353. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +14 -3
  354. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +192 -28
  355. package/templates/wholesale-store/dev/index.ts +751 -602
  356. package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +11 -0
  357. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +14 -1
  358. package/templates/wholesale-store/tier5-src/business-chat/index.ts +20 -6
  359. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +192 -28
  360. package/templates/yoga-studio/dev/index.ts +122 -8
  361. package/templates/yoga-studio/l10n/ar.json +5 -0
  362. package/templates/yoga-studio/l10n/cs.json +5 -0
  363. package/templates/yoga-studio/l10n/da.json +5 -0
  364. package/templates/yoga-studio/l10n/de.json +5 -0
  365. package/templates/yoga-studio/l10n/el.json +5 -0
  366. package/templates/yoga-studio/l10n/en.json +1 -1
  367. package/templates/yoga-studio/l10n/es.json +5 -0
  368. package/templates/yoga-studio/l10n/fi.json +5 -0
  369. package/templates/yoga-studio/l10n/fr.json +5 -0
  370. package/templates/yoga-studio/l10n/he.json +4 -0
  371. package/templates/yoga-studio/l10n/hu.json +5 -0
  372. package/templates/yoga-studio/l10n/id.json +5 -0
  373. package/templates/yoga-studio/l10n/it.json +5 -0
  374. package/templates/yoga-studio/l10n/ja.json +5 -0
  375. package/templates/yoga-studio/l10n/ko.json +5 -0
  376. package/templates/yoga-studio/l10n/lt.json +5 -0
  377. package/templates/yoga-studio/l10n/nl.json +5 -0
  378. package/templates/yoga-studio/l10n/no.json +5 -0
  379. package/templates/yoga-studio/l10n/pl.json +5 -0
  380. package/templates/yoga-studio/l10n/pt.json +5 -0
  381. package/templates/yoga-studio/l10n/ru.json +5 -0
  382. package/templates/yoga-studio/l10n/sv.json +5 -0
  383. package/templates/yoga-studio/l10n/th.json +5 -0
  384. package/templates/yoga-studio/l10n/tr.json +5 -0
  385. package/templates/yoga-studio/l10n/uk.json +5 -0
  386. package/templates/yoga-studio/l10n/vi.json +5 -0
  387. package/templates/yoga-studio/l10n/zh.json +5 -0
  388. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +14 -1
  389. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +192 -28
  390. package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +14 -1
@@ -9492,6 +9492,67 @@ const SCREENS = runtimeSetting({
9492
9492
  "spacing": 12,
9493
9493
  "alignment": "leading",
9494
9494
  "children": [
9495
+ {
9496
+ "id": "himi_sign_in.loading",
9497
+ "body": {
9498
+ "package": "himalaya",
9499
+ "type": "VStack",
9500
+ "props": {
9501
+ "spacing": 12,
9502
+ "alignment": "leading",
9503
+ "children": [
9504
+ {
9505
+ "id": "",
9506
+ "body": {
9507
+ "package": "himalaya",
9508
+ "type": "Skeleton",
9509
+ "props": {
9510
+ "width": 160,
9511
+ "height": 28,
9512
+ "cornerRadius": 6
9513
+ }
9514
+ }
9515
+ },
9516
+ {
9517
+ "id": "",
9518
+ "body": {
9519
+ "package": "himalaya",
9520
+ "type": "Skeleton",
9521
+ "props": {
9522
+ "height": 52,
9523
+ "cornerRadius": 8
9524
+ }
9525
+ }
9526
+ },
9527
+ {
9528
+ "id": "",
9529
+ "body": {
9530
+ "package": "himalaya",
9531
+ "type": "Skeleton",
9532
+ "props": {
9533
+ "height": 52,
9534
+ "cornerRadius": 8
9535
+ }
9536
+ }
9537
+ },
9538
+ {
9539
+ "id": "",
9540
+ "body": {
9541
+ "package": "himalaya",
9542
+ "type": "Skeleton",
9543
+ "props": {
9544
+ "height": 48,
9545
+ "cornerRadius": 24
9546
+ }
9547
+ }
9548
+ }
9549
+ ]
9550
+ }
9551
+ },
9552
+ "modifiers": {
9553
+ "hiddenPath": "$service:himiStoreAccount.hideFormSkeleton"
9554
+ }
9555
+ },
9495
9556
  {
9496
9557
  "id": "",
9497
9558
  "body": {
@@ -9591,7 +9652,6 @@ const SCREENS = runtimeSetting({
9591
9652
  "placeholder": "Email",
9592
9653
  "keyboard": "email",
9593
9654
  "validation": {
9594
- "required": true,
9595
9655
  "type": "email",
9596
9656
  "mode": "on_blur"
9597
9657
  },
@@ -9639,26 +9699,27 @@ const SCREENS = runtimeSetting({
9639
9699
  }
9640
9700
  },
9641
9701
  {
9642
- "id": "",
9702
+ "id": "himi_sign_in.message",
9643
9703
  "body": {
9644
9704
  "package": "himalaya",
9645
9705
  "type": "Text",
9646
9706
  "props": {
9647
- "text": "$service:himiStoreAccount.busyMessage",
9707
+ "text": "$service:himiStoreAccount.errorMessage",
9648
9708
  "style": "footnote",
9709
+ "color": "danger",
9649
9710
  "collapseWhenEmpty": true
9650
9711
  }
9651
9712
  }
9652
9713
  },
9653
9714
  {
9654
- "id": "himi_sign_in.message",
9715
+ "id": "himi_sign_in.notice",
9655
9716
  "body": {
9656
9717
  "package": "himalaya",
9657
9718
  "type": "Text",
9658
9719
  "props": {
9659
- "text": "$service:himiStoreAccount.message",
9720
+ "text": "$service:himiStoreAccount.noticeMessage",
9660
9721
  "style": "footnote",
9661
- "color": "textPrimary",
9722
+ "color": "success",
9662
9723
  "collapseWhenEmpty": true
9663
9724
  }
9664
9725
  }
@@ -9806,7 +9867,63 @@ const SCREENS = runtimeSetting({
9806
9867
  }
9807
9868
  },
9808
9869
  "modifiers": {
9809
- "hiddenPath": "$service:himiStoreAccount.isMember"
9870
+ "hiddenPath": "$service:himiStoreAccount.hideSignInForm"
9871
+ }
9872
+ },
9873
+ {
9874
+ "id": "",
9875
+ "body": {
9876
+ "package": "himalaya",
9877
+ "type": "VStack",
9878
+ "props": {
9879
+ "spacing": 12,
9880
+ "alignment": "leading",
9881
+ "children": [
9882
+ {
9883
+ "id": "himi_sign_in.pending_title",
9884
+ "body": {
9885
+ "package": "himalaya",
9886
+ "type": "Text",
9887
+ "props": {
9888
+ "text": "$service:himiStoreAccount.pendingTitle",
9889
+ "style": "title1"
9890
+ }
9891
+ }
9892
+ },
9893
+ {
9894
+ "id": "himi_sign_in.pending_body",
9895
+ "body": {
9896
+ "package": "himalaya",
9897
+ "type": "Text",
9898
+ "props": {
9899
+ "text": "$service:himiStoreAccount.pendingBody",
9900
+ "style": "body"
9901
+ }
9902
+ }
9903
+ },
9904
+ {
9905
+ "id": "himi_sign_in.pending_back",
9906
+ "body": {
9907
+ "package": "himalaya",
9908
+ "type": "Button",
9909
+ "props": {
9910
+ "title": "Back to Sign In",
9911
+ "style": "secondary",
9912
+ "fullWidth": true,
9913
+ "action": {
9914
+ "actionId": "tier5.himiStoreAccount.closePendingApproval"
9915
+ }
9916
+ }
9917
+ },
9918
+ "modifiers": {
9919
+ "cornerRadius": 999
9920
+ }
9921
+ }
9922
+ ]
9923
+ }
9924
+ },
9925
+ "modifiers": {
9926
+ "hiddenPath": "$service:himiStoreAccount.hidePendingApproval"
9810
9927
  }
9811
9928
  },
9812
9929
  {
@@ -9851,7 +9968,7 @@ const SCREENS = runtimeSetting({
9851
9968
  }
9852
9969
  },
9853
9970
  "modifiers": {
9854
- "hiddenPath": "$service:himiStoreAccount.notMember"
9971
+ "hiddenPath": "$service:himiStoreAccount.hideSignedIn"
9855
9972
  }
9856
9973
  }
9857
9974
  ]
@@ -9893,6 +10010,10 @@ const SCREENS = runtimeSetting({
9893
10010
  "screenId": "himi_business_chat",
9894
10011
  "renderer": "sdui_intent",
9895
10012
  "title": "Chat with the clinic",
10013
+ "topBar": {
10014
+ "subtitle": "Green Grove Family Clinic",
10015
+ "subtitlePath": "$service:businessChat.businessName"
10016
+ },
9896
10017
  "schemaVersion": 1,
9897
10018
  "cacheControl": {
9898
10019
  "maxAge": 0,
@@ -9913,192 +10034,187 @@ const SCREENS = runtimeSetting({
9913
10034
  "props": {
9914
10035
  "children": [
9915
10036
  {
9916
- "id": "himi_business_chat.loading_text",
10037
+ "id": "himi_business_chat.skeleton_1",
9917
10038
  "body": {
9918
10039
  "package": "himalaya",
9919
- "type": "Text",
10040
+ "type": "HStack",
9920
10041
  "props": {
9921
- "text": "Loading your conversation…",
9922
- "style": "body",
9923
- "color": "textSecondary",
9924
- "collapseWhenEmpty": true,
9925
- "textDirection": "auto"
10042
+ "children": [
10043
+ {
10044
+ "id": "himi_business_chat.skeleton_1.avatar",
10045
+ "body": {
10046
+ "package": "himalaya",
10047
+ "type": "Skeleton",
10048
+ "props": {
10049
+ "width": 32,
10050
+ "height": 32,
10051
+ "cornerRadius": 999
10052
+ }
10053
+ },
10054
+ "modifiers": {}
10055
+ },
10056
+ {
10057
+ "id": "himi_business_chat.skeleton_1.bubble",
10058
+ "body": {
10059
+ "package": "himalaya",
10060
+ "type": "Skeleton",
10061
+ "props": {
10062
+ "width": 220,
10063
+ "height": 52,
10064
+ "cornerRadius": 12
10065
+ }
10066
+ },
10067
+ "modifiers": {}
10068
+ },
10069
+ {
10070
+ "id": "himi_business_chat.skeleton_1.spacer",
10071
+ "body": {
10072
+ "package": "himalaya",
10073
+ "type": "Spacer",
10074
+ "props": {}
10075
+ },
10076
+ "modifiers": {}
10077
+ }
10078
+ ],
10079
+ "spacing": 8,
10080
+ "alignment": "leading"
9926
10081
  }
9927
10082
  },
9928
- "modifiers": {}
10083
+ "modifiers": {
10084
+ "fillMaxWidth": true,
10085
+ "padding": {
10086
+ "leading": 20,
10087
+ "trailing": 20,
10088
+ "top": 4,
10089
+ "bottom": 4
10090
+ }
10091
+ }
9929
10092
  },
9930
10093
  {
9931
- "id": "himi_business_chat.loading_row_1",
10094
+ "id": "himi_business_chat.skeleton_2",
9932
10095
  "body": {
9933
10096
  "package": "himalaya",
9934
- "type": "Skeleton",
10097
+ "type": "HStack",
9935
10098
  "props": {
9936
- "height": 62,
9937
- "cornerRadius": 16
10099
+ "children": [
10100
+ {
10101
+ "id": "himi_business_chat.skeleton_2.spacer",
10102
+ "body": {
10103
+ "package": "himalaya",
10104
+ "type": "Spacer",
10105
+ "props": {}
10106
+ },
10107
+ "modifiers": {}
10108
+ },
10109
+ {
10110
+ "id": "himi_business_chat.skeleton_2.bubble",
10111
+ "body": {
10112
+ "package": "himalaya",
10113
+ "type": "Skeleton",
10114
+ "props": {
10115
+ "width": 180,
10116
+ "height": 52,
10117
+ "cornerRadius": 12
10118
+ }
10119
+ },
10120
+ "modifiers": {}
10121
+ }
10122
+ ],
10123
+ "spacing": 8,
10124
+ "alignment": "leading"
9938
10125
  }
9939
10126
  },
9940
- "modifiers": {}
10127
+ "modifiers": {
10128
+ "fillMaxWidth": true,
10129
+ "padding": {
10130
+ "leading": 20,
10131
+ "trailing": 20,
10132
+ "top": 4,
10133
+ "bottom": 4
10134
+ }
10135
+ }
9941
10136
  },
9942
10137
  {
9943
- "id": "himi_business_chat.loading_row_2",
10138
+ "id": "himi_business_chat.skeleton_3",
9944
10139
  "body": {
9945
10140
  "package": "himalaya",
9946
- "type": "Skeleton",
10141
+ "type": "HStack",
9947
10142
  "props": {
9948
- "height": 84,
9949
- "cornerRadius": 16
10143
+ "children": [
10144
+ {
10145
+ "id": "himi_business_chat.skeleton_3.avatar",
10146
+ "body": {
10147
+ "package": "himalaya",
10148
+ "type": "Skeleton",
10149
+ "props": {
10150
+ "width": 32,
10151
+ "height": 32,
10152
+ "cornerRadius": 999
10153
+ }
10154
+ },
10155
+ "modifiers": {}
10156
+ },
10157
+ {
10158
+ "id": "himi_business_chat.skeleton_3.bubble",
10159
+ "body": {
10160
+ "package": "himalaya",
10161
+ "type": "Skeleton",
10162
+ "props": {
10163
+ "width": 230,
10164
+ "height": 52,
10165
+ "cornerRadius": 12
10166
+ }
10167
+ },
10168
+ "modifiers": {}
10169
+ },
10170
+ {
10171
+ "id": "himi_business_chat.skeleton_3.spacer",
10172
+ "body": {
10173
+ "package": "himalaya",
10174
+ "type": "Spacer",
10175
+ "props": {}
10176
+ },
10177
+ "modifiers": {}
10178
+ }
10179
+ ],
10180
+ "spacing": 8,
10181
+ "alignment": "leading"
9950
10182
  }
9951
10183
  },
9952
- "modifiers": {}
10184
+ "modifiers": {
10185
+ "fillMaxWidth": true,
10186
+ "padding": {
10187
+ "leading": 20,
10188
+ "trailing": 20,
10189
+ "top": 4,
10190
+ "bottom": 4
10191
+ }
10192
+ }
9953
10193
  }
9954
10194
  ],
9955
- "spacing": 12,
10195
+ "spacing": 0,
9956
10196
  "alignment": "leading"
9957
10197
  }
9958
10198
  },
9959
10199
  "modifiers": {
9960
10200
  "fillMaxWidth": true,
9961
- "padding": {
9962
- "leading": 16,
9963
- "trailing": 16,
9964
- "top": 20,
9965
- "bottom": 8
9966
- },
10201
+ "accessibilityLabel": "Loading your conversation…",
9967
10202
  "hiddenPath": "$service:businessChat.loadingHidden"
9968
10203
  }
9969
10204
  },
9970
10205
  {
9971
- "id": "himi_business_chat.error",
10206
+ "id": "himi_business_chat.messages",
9972
10207
  "body": {
9973
10208
  "package": "himalaya",
9974
- "type": "VStack",
10209
+ "type": "LazyList",
9975
10210
  "props": {
9976
- "children": [
9977
- {
9978
- "id": "himi_business_chat.error_text",
9979
- "body": {
9980
- "package": "himalaya",
9981
- "type": "Text",
9982
- "props": {
9983
- "text": "$service:businessChat.errorText",
9984
- "style": "body",
9985
- "color": "danger",
9986
- "collapseWhenEmpty": true,
9987
- "textDirection": "auto"
9988
- }
9989
- },
9990
- "modifiers": {}
9991
- },
10211
+ "itemsPath": "$service:businessChat.messages",
10212
+ "items": [
9992
10213
  {
9993
- "id": "himi_business_chat.load_failure",
10214
+ "id": "himi_business_chat.message_$item.id",
9994
10215
  "body": {
9995
10216
  "package": "himalaya",
9996
- "type": "Text",
9997
- "props": {
9998
- "text": "$service:businessChat.loadFailure",
9999
- "style": "caption",
10000
- "color": "textSecondary",
10001
- "collapseWhenEmpty": true,
10002
- "textDirection": "auto"
10003
- }
10004
- },
10005
- "modifiers": {}
10006
- },
10007
- {
10008
- "id": "himi_business_chat.sign_in",
10009
- "body": {
10010
- "package": "himalaya",
10011
- "type": "Button",
10012
- "props": {
10013
- "title": "Sign In",
10014
- "leadingIcon": "person",
10015
- "style": "primary",
10016
- "size": "md",
10017
- "fullWidth": false,
10018
- "action": {
10019
- "actionId": "himi.open",
10020
- "params": {
10021
- "screenId": "himi_sign_in",
10022
- "mode": "signin",
10023
- "modal": "1"
10024
- },
10025
- "presentation": "sheet"
10026
- }
10027
- }
10028
- },
10029
- "modifiers": {
10030
- "hiddenPath": "$service:businessChat.notGuest"
10031
- }
10032
- },
10033
- {
10034
- "id": "himi_business_chat.retry",
10035
- "body": {
10036
- "package": "himalaya",
10037
- "type": "Button",
10038
- "props": {
10039
- "title": "Try Again",
10040
- "action": {
10041
- "actionId": "tier5.businessChat.init"
10042
- },
10043
- "style": "secondary",
10044
- "size": "md",
10045
- "fullWidth": false
10046
- }
10047
- },
10048
- "modifiers": {
10049
- "hiddenPath": "$service:businessChat.isGuest"
10050
- }
10051
- }
10052
- ],
10053
- "spacing": 8,
10054
- "alignment": "leading"
10055
- }
10056
- },
10057
- "modifiers": {
10058
- "fillMaxWidth": true,
10059
- "padding": {
10060
- "leading": 16,
10061
- "trailing": 16,
10062
- "top": 12,
10063
- "bottom": 8
10064
- },
10065
- "hiddenPath": "$service:businessChat.noError"
10066
- }
10067
- },
10068
- {
10069
- "id": "himi_business_chat.empty",
10070
- "body": {
10071
- "package": "himalaya",
10072
- "type": "EmptyState",
10073
- "props": {
10074
- "title": "Chat with the clinic",
10075
- "subtitle": "Ask about a service, an appointment or your visit.",
10076
- "icon": "chat"
10077
- }
10078
- },
10079
- "modifiers": {
10080
- "padding": {
10081
- "leading": 16,
10082
- "trailing": 16,
10083
- "top": 24,
10084
- "bottom": 24
10085
- },
10086
- "hiddenPath": "$service:businessChat.noEmpty"
10087
- }
10088
- },
10089
- {
10090
- "id": "himi_business_chat.messages",
10091
- "body": {
10092
- "package": "himalaya",
10093
- "type": "LazyList",
10094
- "props": {
10095
- "itemsPath": "$service:businessChat.messages",
10096
- "items": [
10097
- {
10098
- "id": "himi_business_chat.message_$item.id",
10099
- "body": {
10100
- "package": "himalaya",
10101
- "type": "VStack",
10217
+ "type": "VStack",
10102
10218
  "props": {
10103
10219
  "children": [
10104
10220
  {
@@ -10125,7 +10241,7 @@ const SCREENS = runtimeSetting({
10125
10241
  "props": {
10126
10242
  "text": "$item.dayLabel",
10127
10243
  "style": "caption",
10128
- "color": "textSecondary",
10244
+ "color": "textTertiary",
10129
10245
  "collapseWhenEmpty": true,
10130
10246
  "textDirection": "auto"
10131
10247
  }
@@ -10149,10 +10265,8 @@ const SCREENS = runtimeSetting({
10149
10265
  "modifiers": {
10150
10266
  "fillMaxWidth": true,
10151
10267
  "padding": {
10152
- "leading": 12,
10153
- "trailing": 12,
10154
- "top": 12,
10155
- "bottom": 4
10268
+ "top": 8,
10269
+ "bottom": 8
10156
10270
  },
10157
10271
  "hiddenPath": "$item.dayHidden"
10158
10272
  }
@@ -10165,21 +10279,36 @@ const SCREENS = runtimeSetting({
10165
10279
  "props": {
10166
10280
  "children": [
10167
10281
  {
10168
- "id": "himi_business_chat.avatar_$item.id",
10282
+ "id": "himi_business_chat.avatar_slot_$item.id",
10169
10283
  "body": {
10170
10284
  "package": "himalaya",
10171
- "type": "Image",
10285
+ "type": "VStack",
10172
10286
  "props": {
10173
- "initials": "$service:businessChat.businessInitials",
10174
- "width": 30,
10175
- "height": 30,
10176
- "contentMode": "fill",
10177
- "shape": "circle",
10178
- "contentDescription": "$service:businessChat.businessName"
10287
+ "children": [
10288
+ {
10289
+ "id": "himi_business_chat.avatar_$item.id",
10290
+ "body": {
10291
+ "package": "himalaya",
10292
+ "type": "Avatar",
10293
+ "props": {
10294
+ "imageUrl": "",
10295
+ "initials": "$service:businessChat.businessInitials",
10296
+ "size": 32
10297
+ }
10298
+ },
10299
+ "modifiers": {
10300
+ "accessibilityLabel": "$service:businessChat.businessName",
10301
+ "hiddenPath": "$item.hideAvatar"
10302
+ }
10303
+ }
10304
+ ],
10305
+ "spacing": 0,
10306
+ "alignment": "leading"
10179
10307
  }
10180
10308
  },
10181
10309
  "modifiers": {
10182
- "accessibilityLabel": "$service:businessChat.businessName"
10310
+ "fillMaxWidth": false,
10311
+ "width": 32
10183
10312
  }
10184
10313
  },
10185
10314
  {
@@ -10196,42 +10325,6 @@ const SCREENS = runtimeSetting({
10196
10325
  "type": "VStack",
10197
10326
  "props": {
10198
10327
  "children": [
10199
- {
10200
- "id": "himi_business_chat.incoming_sender_$item.id",
10201
- "body": {
10202
- "package": "himalaya",
10203
- "type": "Text",
10204
- "props": {
10205
- "text": "Green Grove Family Clinic",
10206
- "style": "caption",
10207
- "color": "accentPrimary",
10208
- "collapseWhenEmpty": true,
10209
- "textDirection": "auto",
10210
- "maxLines": 1
10211
- }
10212
- },
10213
- "modifiers": {
10214
- "hiddenPath": "$service:businessChat.hasHostedName"
10215
- }
10216
- },
10217
- {
10218
- "id": "himi_business_chat.incoming_sender_hosted_$item.id",
10219
- "body": {
10220
- "package": "himalaya",
10221
- "type": "Text",
10222
- "props": {
10223
- "text": "$service:businessChat.hostedName",
10224
- "style": "caption",
10225
- "color": "accentPrimary",
10226
- "collapseWhenEmpty": true,
10227
- "textDirection": "auto",
10228
- "maxLines": 1
10229
- }
10230
- },
10231
- "modifiers": {
10232
- "hiddenPath": "$service:businessChat.noHostedName"
10233
- }
10234
- },
10235
10328
  {
10236
10329
  "id": "himi_business_chat.staff_badge_$item.id",
10237
10330
  "body": {
@@ -10241,6 +10334,7 @@ const SCREENS = runtimeSetting({
10241
10334
  "text": "$item.senderBadge",
10242
10335
  "style": "caption",
10243
10336
  "color": "accentPrimary",
10337
+ "maxLines": 1,
10244
10338
  "collapseWhenEmpty": true
10245
10339
  }
10246
10340
  },
@@ -10248,12 +10342,12 @@ const SCREENS = runtimeSetting({
10248
10342
  "background": {
10249
10343
  "token": "accentSurface"
10250
10344
  },
10251
- "cornerRadius": 12,
10345
+ "cornerRadius": 8,
10252
10346
  "padding": {
10253
- "leading": 10,
10254
- "trailing": 10,
10255
- "top": 3,
10256
- "bottom": 3
10347
+ "leading": 8,
10348
+ "trailing": 8,
10349
+ "top": 4,
10350
+ "bottom": 4
10257
10351
  }
10258
10352
  }
10259
10353
  },
@@ -10284,7 +10378,7 @@ const SCREENS = runtimeSetting({
10284
10378
  "type": "Text",
10285
10379
  "props": {
10286
10380
  "text": "$item.bodyMarkdown",
10287
- "style": "caption",
10381
+ "style": "footnote",
10288
10382
  "color": "textPrimary",
10289
10383
  "collapseWhenEmpty": true,
10290
10384
  "textDirection": "auto",
@@ -10364,7 +10458,7 @@ const SCREENS = runtimeSetting({
10364
10458
  }
10365
10459
  }
10366
10460
  ],
10367
- "spacing": 6
10461
+ "spacing": 4
10368
10462
  }
10369
10463
  },
10370
10464
  "modifiers": {
@@ -10400,7 +10494,7 @@ const SCREENS = runtimeSetting({
10400
10494
  "type": "Text",
10401
10495
  "props": {
10402
10496
  "text": "$item.label",
10403
- "style": "body",
10497
+ "style": "footnote",
10404
10498
  "color": "accentPrimary",
10405
10499
  "collapseWhenEmpty": true,
10406
10500
  "textDirection": "auto"
@@ -10415,12 +10509,12 @@ const SCREENS = runtimeSetting({
10415
10509
  },
10416
10510
  "modifiers": {
10417
10511
  "fillMaxWidth": true,
10418
- "cornerRadius": 16,
10512
+ "cornerRadius": 12,
10419
10513
  "padding": {
10420
- "leading": 14,
10421
- "trailing": 14,
10422
- "top": 10,
10423
- "bottom": 10
10514
+ "leading": 12,
10515
+ "trailing": 12,
10516
+ "top": 8,
10517
+ "bottom": 8
10424
10518
  },
10425
10519
  "background": {
10426
10520
  "token": "accentSurface"
@@ -10450,8 +10544,8 @@ const SCREENS = runtimeSetting({
10450
10544
  "type": "Text",
10451
10545
  "props": {
10452
10546
  "text": "$item.label",
10453
- "style": "body",
10454
- "color": "textSecondary",
10547
+ "style": "footnote",
10548
+ "color": "textTertiary",
10455
10549
  "collapseWhenEmpty": true,
10456
10550
  "textDirection": "auto"
10457
10551
  }
@@ -10465,15 +10559,15 @@ const SCREENS = runtimeSetting({
10465
10559
  },
10466
10560
  "modifiers": {
10467
10561
  "fillMaxWidth": true,
10468
- "cornerRadius": 16,
10562
+ "cornerRadius": 12,
10469
10563
  "padding": {
10470
- "leading": 14,
10471
- "trailing": 14,
10472
- "top": 10,
10473
- "bottom": 10
10564
+ "leading": 12,
10565
+ "trailing": 12,
10566
+ "top": 8,
10567
+ "bottom": 8
10474
10568
  },
10475
10569
  "background": {
10476
- "token": "surfaceElevated"
10570
+ "token": "surfacePrimary"
10477
10571
  },
10478
10572
  "hiddenPath": "$item.enabled"
10479
10573
  }
@@ -10488,51 +10582,30 @@ const SCREENS = runtimeSetting({
10488
10582
  }
10489
10583
  }
10490
10584
  ],
10491
- "spacing": 6,
10585
+ "spacing": 4,
10492
10586
  "horizontal": false
10493
10587
  }
10494
10588
  },
10495
10589
  "modifiers": {
10496
10590
  "fillMaxWidth": true
10497
10591
  }
10498
- },
10499
- {
10500
- "id": "himi_business_chat.incoming_time_$item.id",
10501
- "body": {
10502
- "package": "himalaya",
10503
- "type": "Text",
10504
- "props": {
10505
- "text": "$item.when",
10506
- "style": "caption",
10507
- "color": "textSecondary",
10508
- "collapseWhenEmpty": true,
10509
- "textDirection": "auto"
10510
- }
10511
- },
10512
- "modifiers": {}
10513
10592
  }
10514
10593
  ],
10515
- "spacing": 5,
10594
+ "spacing": 4,
10516
10595
  "alignment": "leading"
10517
10596
  }
10518
10597
  },
10519
10598
  "modifiers": {
10520
- "fillMaxWidth": true,
10599
+ "fillMaxWidth": false,
10521
10600
  "background": {
10522
- "token": "surfaceElevated"
10523
- },
10524
- "border": {
10525
- "width": 1,
10526
- "color": {
10527
- "token": "border"
10528
- }
10601
+ "token": "surfaceSecondary"
10529
10602
  },
10530
- "cornerRadius": 16,
10603
+ "cornerRadius": 12,
10531
10604
  "padding": {
10532
- "leading": 8,
10533
- "trailing": 8,
10534
- "top": 8,
10535
- "bottom": 8
10605
+ "leading": 16,
10606
+ "trailing": 16,
10607
+ "top": 16,
10608
+ "bottom": 16
10536
10609
  },
10537
10610
  "maxWidth": 300,
10538
10611
  "hiddenPath": "$item.isCard"
@@ -10545,42 +10618,6 @@ const SCREENS = runtimeSetting({
10545
10618
  "type": "VStack",
10546
10619
  "props": {
10547
10620
  "children": [
10548
- {
10549
- "id": "himi_business_chat.card_sender_$item.id",
10550
- "body": {
10551
- "package": "himalaya",
10552
- "type": "Text",
10553
- "props": {
10554
- "text": "Green Grove Family Clinic",
10555
- "style": "caption",
10556
- "color": "accentPrimary",
10557
- "collapseWhenEmpty": true,
10558
- "textDirection": "auto",
10559
- "maxLines": 1
10560
- }
10561
- },
10562
- "modifiers": {
10563
- "hiddenPath": "$service:businessChat.hasHostedName"
10564
- }
10565
- },
10566
- {
10567
- "id": "himi_business_chat.card_sender_hosted_$item.id",
10568
- "body": {
10569
- "package": "himalaya",
10570
- "type": "Text",
10571
- "props": {
10572
- "text": "$service:businessChat.hostedName",
10573
- "style": "caption",
10574
- "color": "accentPrimary",
10575
- "collapseWhenEmpty": true,
10576
- "textDirection": "auto",
10577
- "maxLines": 1
10578
- }
10579
- },
10580
- "modifiers": {
10581
- "hiddenPath": "$service:businessChat.noHostedName"
10582
- }
10583
- },
10584
10621
  {
10585
10622
  "id": "himi_business_chat.card_badge_$item.id",
10586
10623
  "body": {
@@ -10590,6 +10627,7 @@ const SCREENS = runtimeSetting({
10590
10627
  "text": "$item.senderBadge",
10591
10628
  "style": "caption",
10592
10629
  "color": "accentPrimary",
10630
+ "maxLines": 1,
10593
10631
  "collapseWhenEmpty": true
10594
10632
  }
10595
10633
  },
@@ -10597,12 +10635,12 @@ const SCREENS = runtimeSetting({
10597
10635
  "background": {
10598
10636
  "token": "accentSurface"
10599
10637
  },
10600
- "cornerRadius": 12,
10638
+ "cornerRadius": 8,
10601
10639
  "padding": {
10602
- "leading": 10,
10603
- "trailing": 10,
10604
- "top": 3,
10605
- "bottom": 3
10640
+ "leading": 8,
10641
+ "trailing": 8,
10642
+ "top": 4,
10643
+ "bottom": 4
10606
10644
  }
10607
10645
  }
10608
10646
  },
@@ -10647,7 +10685,7 @@ const SCREENS = runtimeSetting({
10647
10685
  "type": "Text",
10648
10686
  "props": {
10649
10687
  "text": "$item.cardTitle",
10650
- "style": "body",
10688
+ "style": "footnote",
10651
10689
  "color": "textPrimary",
10652
10690
  "collapseWhenEmpty": true,
10653
10691
  "textDirection": "auto",
@@ -10664,8 +10702,8 @@ const SCREENS = runtimeSetting({
10664
10702
  "type": "Text",
10665
10703
  "props": {
10666
10704
  "text": "$item.cardDetail",
10667
- "style": "body",
10668
- "color": "textPrimary",
10705
+ "style": "footnote",
10706
+ "color": "textSecondary",
10669
10707
  "collapseWhenEmpty": true,
10670
10708
  "textDirection": "auto",
10671
10709
  "markdown": true,
@@ -10714,7 +10752,7 @@ const SCREENS = runtimeSetting({
10714
10752
  "type": "Text",
10715
10753
  "props": {
10716
10754
  "text": "$item.couponCode",
10717
- "style": "title3",
10755
+ "style": "bodyEmphasis",
10718
10756
  "color": "accentPrimary",
10719
10757
  "collapseWhenEmpty": true,
10720
10758
  "textDirection": "auto"
@@ -10723,7 +10761,7 @@ const SCREENS = runtimeSetting({
10723
10761
  "modifiers": {}
10724
10762
  }
10725
10763
  ],
10726
- "spacing": 2,
10764
+ "spacing": 4,
10727
10765
  "alignment": "center"
10728
10766
  }
10729
10767
  },
@@ -10732,7 +10770,7 @@ const SCREENS = runtimeSetting({
10732
10770
  "background": {
10733
10771
  "token": "accentSurface"
10734
10772
  },
10735
- "cornerRadius": 12,
10773
+ "cornerRadius": 8,
10736
10774
  "border": {
10737
10775
  "width": 1,
10738
10776
  "color": {
@@ -10740,10 +10778,10 @@ const SCREENS = runtimeSetting({
10740
10778
  }
10741
10779
  },
10742
10780
  "padding": {
10743
- "leading": 14,
10744
- "trailing": 14,
10745
- "top": 10,
10746
- "bottom": 10
10781
+ "leading": 12,
10782
+ "trailing": 12,
10783
+ "top": 8,
10784
+ "bottom": 8
10747
10785
  },
10748
10786
  "hiddenPath": "$item.noCoupon"
10749
10787
  }
@@ -10818,7 +10856,7 @@ const SCREENS = runtimeSetting({
10818
10856
  }
10819
10857
  }
10820
10858
  ],
10821
- "spacing": 6
10859
+ "spacing": 4
10822
10860
  }
10823
10861
  },
10824
10862
  "modifiers": {
@@ -10855,7 +10893,7 @@ const SCREENS = runtimeSetting({
10855
10893
  "type": "Text",
10856
10894
  "props": {
10857
10895
  "text": "$item.label",
10858
- "style": "body",
10896
+ "style": "footnote",
10859
10897
  "color": "accentPrimary",
10860
10898
  "collapseWhenEmpty": true,
10861
10899
  "textDirection": "auto"
@@ -10870,12 +10908,12 @@ const SCREENS = runtimeSetting({
10870
10908
  },
10871
10909
  "modifiers": {
10872
10910
  "fillMaxWidth": true,
10873
- "cornerRadius": 16,
10911
+ "cornerRadius": 12,
10874
10912
  "padding": {
10875
- "leading": 14,
10876
- "trailing": 14,
10877
- "top": 10,
10878
- "bottom": 10
10913
+ "leading": 12,
10914
+ "trailing": 12,
10915
+ "top": 8,
10916
+ "bottom": 8
10879
10917
  },
10880
10918
  "background": {
10881
10919
  "token": "accentSurface"
@@ -10905,8 +10943,8 @@ const SCREENS = runtimeSetting({
10905
10943
  "type": "Text",
10906
10944
  "props": {
10907
10945
  "text": "$item.label",
10908
- "style": "body",
10909
- "color": "textSecondary",
10946
+ "style": "footnote",
10947
+ "color": "textTertiary",
10910
10948
  "collapseWhenEmpty": true,
10911
10949
  "textDirection": "auto"
10912
10950
  }
@@ -10920,15 +10958,15 @@ const SCREENS = runtimeSetting({
10920
10958
  },
10921
10959
  "modifiers": {
10922
10960
  "fillMaxWidth": true,
10923
- "cornerRadius": 16,
10961
+ "cornerRadius": 12,
10924
10962
  "padding": {
10925
- "leading": 14,
10926
- "trailing": 14,
10927
- "top": 10,
10928
- "bottom": 10
10963
+ "leading": 12,
10964
+ "trailing": 12,
10965
+ "top": 8,
10966
+ "bottom": 8
10929
10967
  },
10930
10968
  "background": {
10931
- "token": "surfaceElevated"
10969
+ "token": "surfacePrimary"
10932
10970
  },
10933
10971
  "hiddenPath": "$item.enabled"
10934
10972
  }
@@ -10943,7 +10981,7 @@ const SCREENS = runtimeSetting({
10943
10981
  }
10944
10982
  }
10945
10983
  ],
10946
- "spacing": 6,
10984
+ "spacing": 4,
10947
10985
  "horizontal": false
10948
10986
  }
10949
10987
  },
@@ -10960,7 +10998,7 @@ const SCREENS = runtimeSetting({
10960
10998
  "modifiers": {
10961
10999
  "fillMaxWidth": true,
10962
11000
  "background": {
10963
- "token": "surfaceElevated"
11001
+ "token": "surfacePrimary"
10964
11002
  },
10965
11003
  "border": {
10966
11004
  "width": 1,
@@ -10968,33 +11006,18 @@ const SCREENS = runtimeSetting({
10968
11006
  "token": "border"
10969
11007
  }
10970
11008
  },
10971
- "cornerRadius": 8,
11009
+ "cornerRadius": 12,
10972
11010
  "padding": {
10973
11011
  "leading": 12,
10974
11012
  "trailing": 12,
10975
11013
  "top": 12,
10976
- "bottom": 8
11014
+ "bottom": 12
10977
11015
  },
10978
- "maxWidth": 270
11016
+ "maxWidth": 300
10979
11017
  }
10980
- },
10981
- {
10982
- "id": "himi_business_chat.card_time_$item.id",
10983
- "body": {
10984
- "package": "himalaya",
10985
- "type": "Text",
10986
- "props": {
10987
- "text": "$item.when",
10988
- "style": "caption",
10989
- "color": "textSecondary",
10990
- "collapseWhenEmpty": true,
10991
- "textDirection": "auto"
10992
- }
10993
- },
10994
- "modifiers": {}
10995
11018
  }
10996
11019
  ],
10997
- "spacing": 7,
11020
+ "spacing": 4,
10998
11021
  "alignment": "leading"
10999
11022
  }
11000
11023
  },
@@ -11002,14 +11025,29 @@ const SCREENS = runtimeSetting({
11002
11025
  "fillMaxWidth": true,
11003
11026
  "hiddenPath": "$item.notCard"
11004
11027
  }
11028
+ },
11029
+ {
11030
+ "id": "himi_business_chat.incoming_time_$item.id",
11031
+ "body": {
11032
+ "package": "himalaya",
11033
+ "type": "Text",
11034
+ "props": {
11035
+ "text": "$item.when",
11036
+ "style": "caption",
11037
+ "color": "textTertiary",
11038
+ "collapseWhenEmpty": true,
11039
+ "textDirection": "auto"
11040
+ }
11041
+ },
11042
+ "modifiers": {}
11005
11043
  }
11006
11044
  ],
11007
- "spacing": 0,
11045
+ "spacing": 4,
11008
11046
  "alignment": "leading"
11009
11047
  }
11010
11048
  },
11011
11049
  "modifiers": {
11012
- "fillMaxWidth": true
11050
+ "fillMaxWidth": false
11013
11051
  }
11014
11052
  },
11015
11053
  {
@@ -11022,7 +11060,7 @@ const SCREENS = runtimeSetting({
11022
11060
  "modifiers": {}
11023
11061
  }
11024
11062
  ],
11025
- "spacing": 6,
11063
+ "spacing": 8,
11026
11064
  "alignment": "leading"
11027
11065
  }
11028
11066
  },
@@ -11048,62 +11086,74 @@ const SCREENS = runtimeSetting({
11048
11086
  "modifiers": {}
11049
11087
  },
11050
11088
  {
11051
- "id": "himi_business_chat.outgoing_bubble_$item.id",
11089
+ "id": "himi_business_chat.outgoing_message_$item.id",
11052
11090
  "body": {
11053
11091
  "package": "himalaya",
11054
11092
  "type": "VStack",
11055
11093
  "props": {
11056
11094
  "children": [
11057
11095
  {
11058
- "id": "himi_business_chat.outgoing_sender_$item.id",
11059
- "body": {
11060
- "package": "himalaya",
11061
- "type": "Text",
11062
- "props": {
11063
- "text": "$item.senderName",
11064
- "style": "caption",
11065
- "color": "textOnAccent",
11066
- "collapseWhenEmpty": true,
11067
- "textDirection": "auto"
11068
- }
11069
- },
11070
- "modifiers": {}
11071
- },
11072
- {
11073
- "id": "himi_business_chat.outgoing_attachment_$item.id",
11096
+ "id": "himi_business_chat.outgoing_bubble_$item.id",
11074
11097
  "body": {
11075
11098
  "package": "himalaya",
11076
- "type": "Image",
11099
+ "type": "VStack",
11077
11100
  "props": {
11078
- "url": "$item.imageUrl",
11079
- "fillWidth": true,
11080
- "aspectRatio": 1.5,
11081
- "contentMode": "fit",
11082
- "contentDescription": "$item.imageDescription"
11083
- }
11084
- },
11085
- "modifiers": {
11086
- "fillMaxWidth": true,
11087
- "cornerRadius": 12,
11088
- "accessibilityLabel": "$item.imageDescription",
11089
- "hiddenPath": "$item.noImage"
11090
- }
11091
- },
11092
- {
11093
- "id": "himi_business_chat.outgoing_text_$item.id",
11094
- "body": {
11095
- "package": "himalaya",
11096
- "type": "Text",
11097
- "props": {
11098
- "text": "$item.bodyText",
11099
- "style": "caption",
11100
- "color": "textOnAccent",
11101
- "collapseWhenEmpty": true,
11102
- "textDirection": "auto",
11103
- "maxLines": 1000
11101
+ "children": [
11102
+ {
11103
+ "id": "himi_business_chat.outgoing_attachment_$item.id",
11104
+ "body": {
11105
+ "package": "himalaya",
11106
+ "type": "Image",
11107
+ "props": {
11108
+ "url": "$item.imageUrl",
11109
+ "fillWidth": true,
11110
+ "aspectRatio": 1.5,
11111
+ "contentMode": "fit",
11112
+ "contentDescription": "$item.imageDescription"
11113
+ }
11114
+ },
11115
+ "modifiers": {
11116
+ "fillMaxWidth": true,
11117
+ "cornerRadius": 12,
11118
+ "accessibilityLabel": "$item.imageDescription",
11119
+ "hiddenPath": "$item.noImage"
11120
+ }
11121
+ },
11122
+ {
11123
+ "id": "himi_business_chat.outgoing_text_$item.id",
11124
+ "body": {
11125
+ "package": "himalaya",
11126
+ "type": "Text",
11127
+ "props": {
11128
+ "text": "$item.bodyText",
11129
+ "style": "footnote",
11130
+ "color": "textPrimary",
11131
+ "collapseWhenEmpty": true,
11132
+ "textDirection": "auto",
11133
+ "maxLines": 1000
11134
+ }
11135
+ },
11136
+ "modifiers": {}
11137
+ }
11138
+ ],
11139
+ "spacing": 4,
11140
+ "alignment": "leading"
11104
11141
  }
11105
11142
  },
11106
- "modifiers": {}
11143
+ "modifiers": {
11144
+ "fillMaxWidth": false,
11145
+ "background": {
11146
+ "token": "accentSurface"
11147
+ },
11148
+ "cornerRadius": 12,
11149
+ "padding": {
11150
+ "leading": 16,
11151
+ "trailing": 16,
11152
+ "top": 16,
11153
+ "bottom": 16
11154
+ },
11155
+ "maxWidth": 300
11156
+ }
11107
11157
  },
11108
11158
  {
11109
11159
  "id": "himi_business_chat.outgoing_time_$item.id",
@@ -11113,7 +11163,7 @@ const SCREENS = runtimeSetting({
11113
11163
  "props": {
11114
11164
  "text": "$item.when",
11115
11165
  "style": "caption",
11116
- "color": "textOnAccent",
11166
+ "color": "textTertiary",
11117
11167
  "collapseWhenEmpty": true,
11118
11168
  "textDirection": "auto"
11119
11169
  }
@@ -11121,27 +11171,16 @@ const SCREENS = runtimeSetting({
11121
11171
  "modifiers": {}
11122
11172
  }
11123
11173
  ],
11124
- "spacing": 5,
11125
- "alignment": "leading"
11174
+ "spacing": 4,
11175
+ "alignment": "trailing"
11126
11176
  }
11127
11177
  },
11128
11178
  "modifiers": {
11129
- "fillMaxWidth": true,
11130
- "background": {
11131
- "token": "accentPrimary"
11132
- },
11133
- "cornerRadius": 16,
11134
- "padding": {
11135
- "leading": 8,
11136
- "trailing": 8,
11137
- "top": 8,
11138
- "bottom": 8
11139
- },
11140
- "maxWidth": 300
11179
+ "fillMaxWidth": false
11141
11180
  }
11142
11181
  }
11143
11182
  ],
11144
- "spacing": 6,
11183
+ "spacing": 8,
11145
11184
  "alignment": "leading"
11146
11185
  }
11147
11186
  },
@@ -11151,15 +11190,15 @@ const SCREENS = runtimeSetting({
11151
11190
  }
11152
11191
  }
11153
11192
  ],
11154
- "spacing": 4,
11193
+ "spacing": 8,
11155
11194
  "alignment": "leading"
11156
11195
  }
11157
11196
  },
11158
11197
  "modifiers": {
11159
11198
  "fillMaxWidth": true,
11160
11199
  "padding": {
11161
- "leading": 8,
11162
- "trailing": 8,
11200
+ "leading": 20,
11201
+ "trailing": 20,
11163
11202
  "top": 4,
11164
11203
  "bottom": 4
11165
11204
  }
@@ -11170,6 +11209,139 @@ const SCREENS = runtimeSetting({
11170
11209
  }
11171
11210
  },
11172
11211
  "modifiers": {}
11212
+ },
11213
+ {
11214
+ "id": "himi_business_chat.states",
11215
+ "body": {
11216
+ "package": "himalaya",
11217
+ "type": "VStack",
11218
+ "props": {
11219
+ "children": [
11220
+ {
11221
+ "id": "himi_business_chat.states_top",
11222
+ "body": {
11223
+ "package": "himalaya",
11224
+ "type": "Spacer",
11225
+ "props": {}
11226
+ },
11227
+ "modifiers": {}
11228
+ },
11229
+ {
11230
+ "id": "himi_business_chat.error",
11231
+ "body": {
11232
+ "package": "himalaya",
11233
+ "type": "VStack",
11234
+ "props": {
11235
+ "children": [
11236
+ {
11237
+ "id": "himi_business_chat.error_group",
11238
+ "body": {
11239
+ "package": "himalaya",
11240
+ "type": "VStack",
11241
+ "props": {
11242
+ "children": [
11243
+ {
11244
+ "id": "himi_business_chat.load_error",
11245
+ "body": {
11246
+ "package": "himalaya",
11247
+ "type": "ErrorState",
11248
+ "props": {
11249
+ "variant": "server",
11250
+ "placement": "section",
11251
+ "ctaLabel": "Try Again",
11252
+ "cta": {
11253
+ "actionId": "tier5.businessChat.init"
11254
+ }
11255
+ }
11256
+ },
11257
+ "modifiers": {
11258
+ "hiddenPath": "$service:businessChat.isGuest"
11259
+ }
11260
+ }
11261
+ ],
11262
+ "spacing": 0,
11263
+ "alignment": "leading"
11264
+ }
11265
+ },
11266
+ "modifiers": {
11267
+ "fillMaxWidth": true,
11268
+ "hiddenPath": "$service:businessChat.hideLoadError"
11269
+ }
11270
+ }
11271
+ ],
11272
+ "spacing": 0,
11273
+ "alignment": "leading"
11274
+ }
11275
+ },
11276
+ "modifiers": {
11277
+ "fillMaxWidth": true
11278
+ }
11279
+ },
11280
+ {
11281
+ "id": "himi_business_chat.sign_in",
11282
+ "body": {
11283
+ "package": "himalaya",
11284
+ "type": "ErrorState",
11285
+ "props": {
11286
+ "variant": "signIn",
11287
+ "placement": "section",
11288
+ "title": "Sign in to chat with the clinic.",
11289
+ "ctaLabel": "Sign In",
11290
+ "cta": {
11291
+ "actionId": "himi.open",
11292
+ "params": {
11293
+ "screenId": "himi_sign_in",
11294
+ "mode": "signin",
11295
+ "modal": "1"
11296
+ },
11297
+ "presentation": "sheet"
11298
+ }
11299
+ }
11300
+ },
11301
+ "modifiers": {
11302
+ "hiddenPath": "$service:businessChat.notGuest"
11303
+ }
11304
+ },
11305
+ {
11306
+ "id": "himi_business_chat.empty",
11307
+ "body": {
11308
+ "package": "himalaya",
11309
+ "type": "EmptyState",
11310
+ "props": {
11311
+ "icon": "chat",
11312
+ "title": "Chat with the clinic",
11313
+ "subtitle": "Ask about a service, an appointment or your visit."
11314
+ }
11315
+ },
11316
+ "modifiers": {
11317
+ "padding": {
11318
+ "leading": 20,
11319
+ "trailing": 20,
11320
+ "top": 24,
11321
+ "bottom": 24
11322
+ },
11323
+ "hiddenPath": "$service:businessChat.noEmpty"
11324
+ }
11325
+ },
11326
+ {
11327
+ "id": "himi_business_chat.states_bottom",
11328
+ "body": {
11329
+ "package": "himalaya",
11330
+ "type": "Spacer",
11331
+ "props": {}
11332
+ },
11333
+ "modifiers": {}
11334
+ }
11335
+ ],
11336
+ "spacing": 0,
11337
+ "alignment": "center"
11338
+ }
11339
+ },
11340
+ "modifiers": {
11341
+ "fillMaxWidth": true,
11342
+ "weight": 1,
11343
+ "hiddenPath": "$service:businessChat.hasMessages"
11344
+ }
11173
11345
  }
11174
11346
  ],
11175
11347
  "spacing": 0,
@@ -11179,7 +11351,7 @@ const SCREENS = runtimeSetting({
11179
11351
  "modifiers": {
11180
11352
  "fillMaxWidth": true,
11181
11353
  "background": {
11182
- "token": "surfaceSecondary"
11354
+ "token": "surfacePrimary"
11183
11355
  },
11184
11356
  "onAppear": {
11185
11357
  "actionId": "tier5.businessChat.init",
@@ -11236,94 +11408,6 @@ const SCREENS = runtimeSetting({
11236
11408
  "minBinaryVersion": "0.1.0",
11237
11409
  "bundleVersion": "0.1.0"
11238
11410
  },
11239
- "stickyHeader": {
11240
- "id": "himi_business_chat.header",
11241
- "body": {
11242
- "package": "himalaya",
11243
- "type": "HStack",
11244
- "props": {
11245
- "children": [
11246
- {
11247
- "id": "himi_business_chat.header_title",
11248
- "body": {
11249
- "package": "himalaya",
11250
- "type": "Text",
11251
- "props": {
11252
- "text": "Green Grove Family Clinic",
11253
- "style": "title3",
11254
- "color": "textOnAccent",
11255
- "collapseWhenEmpty": true,
11256
- "textDirection": "auto",
11257
- "maxLines": 1
11258
- }
11259
- },
11260
- "modifiers": {
11261
- "hiddenPath": "$service:businessChat.hasHostedName"
11262
- }
11263
- },
11264
- {
11265
- "id": "himi_business_chat.header_title_hosted",
11266
- "body": {
11267
- "package": "himalaya",
11268
- "type": "Text",
11269
- "props": {
11270
- "text": "$service:businessChat.hostedName",
11271
- "style": "title3",
11272
- "color": "textOnAccent",
11273
- "collapseWhenEmpty": true,
11274
- "textDirection": "auto",
11275
- "maxLines": 1
11276
- }
11277
- },
11278
- "modifiers": {
11279
- "hiddenPath": "$service:businessChat.noHostedName"
11280
- }
11281
- },
11282
- {
11283
- "id": "himi_business_chat.header_spacer",
11284
- "body": {
11285
- "package": "himalaya",
11286
- "type": "Spacer",
11287
- "props": {}
11288
- },
11289
- "modifiers": {}
11290
- },
11291
- {
11292
- "id": "himi_business_chat.live_status",
11293
- "body": {
11294
- "package": "himalaya",
11295
- "type": "Text",
11296
- "props": {
11297
- "text": "$service:businessChat.liveLabel",
11298
- "style": "caption",
11299
- "color": "textOnAccent",
11300
- "collapseWhenEmpty": true,
11301
- "textDirection": "auto",
11302
- "maxLines": 1
11303
- }
11304
- },
11305
- "modifiers": {
11306
- "hiddenPath": "$service:businessChat.noActiveRoom"
11307
- }
11308
- }
11309
- ],
11310
- "spacing": 8,
11311
- "alignment": "leading"
11312
- }
11313
- },
11314
- "modifiers": {
11315
- "fillMaxWidth": true,
11316
- "background": {
11317
- "token": "accentPrimary"
11318
- },
11319
- "padding": {
11320
- "leading": 16,
11321
- "trailing": 16,
11322
- "top": 12,
11323
- "bottom": 12
11324
- }
11325
- }
11326
- },
11327
11411
  "stickyFooter": {
11328
11412
  "id": "himi_business_chat.footer",
11329
11413
  "body": {
@@ -11360,7 +11444,7 @@ const SCREENS = runtimeSetting({
11360
11444
  "type": "Text",
11361
11445
  "props": {
11362
11446
  "text": "$item.label",
11363
- "style": "caption",
11447
+ "style": "footnote",
11364
11448
  "color": "accentPrimary",
11365
11449
  "collapseWhenEmpty": true,
11366
11450
  "textDirection": "auto",
@@ -11376,12 +11460,12 @@ const SCREENS = runtimeSetting({
11376
11460
  },
11377
11461
  "modifiers": {
11378
11462
  "fillMaxWidth": false,
11379
- "cornerRadius": 12,
11463
+ "cornerRadius": 999,
11380
11464
  "padding": {
11381
- "leading": 10,
11382
- "trailing": 10,
11383
- "top": 5,
11384
- "bottom": 5
11465
+ "leading": 12,
11466
+ "trailing": 12,
11467
+ "top": 8,
11468
+ "bottom": 8
11385
11469
  },
11386
11470
  "background": {
11387
11471
  "token": "accentSurface"
@@ -11411,8 +11495,8 @@ const SCREENS = runtimeSetting({
11411
11495
  "type": "Text",
11412
11496
  "props": {
11413
11497
  "text": "$item.label",
11414
- "style": "caption",
11415
- "color": "textSecondary",
11498
+ "style": "footnote",
11499
+ "color": "textTertiary",
11416
11500
  "collapseWhenEmpty": true,
11417
11501
  "textDirection": "auto",
11418
11502
  "maxLines": 1
@@ -11427,12 +11511,12 @@ const SCREENS = runtimeSetting({
11427
11511
  },
11428
11512
  "modifiers": {
11429
11513
  "fillMaxWidth": false,
11430
- "cornerRadius": 12,
11514
+ "cornerRadius": 999,
11431
11515
  "padding": {
11432
- "leading": 10,
11433
- "trailing": 10,
11434
- "top": 5,
11435
- "bottom": 5
11516
+ "leading": 12,
11517
+ "trailing": 12,
11518
+ "top": 8,
11519
+ "bottom": 8
11436
11520
  },
11437
11521
  "background": {
11438
11522
  "token": "surfaceSecondary"
@@ -11456,7 +11540,116 @@ const SCREENS = runtimeSetting({
11456
11540
  },
11457
11541
  "modifiers": {
11458
11542
  "fillMaxWidth": true,
11459
- "hiddenPath": "$service:businessChat.noQuickReplies"
11543
+ "hiddenPath": "$service:businessChat.noQuickReplies",
11544
+ "padding": {
11545
+ "leading": 20,
11546
+ "trailing": 20,
11547
+ "top": 8,
11548
+ "bottom": 8
11549
+ }
11550
+ }
11551
+ },
11552
+ {
11553
+ "id": "himi_business_chat.divider",
11554
+ "body": {
11555
+ "package": "himalaya",
11556
+ "type": "Divider",
11557
+ "props": {}
11558
+ }
11559
+ },
11560
+ {
11561
+ "id": "himi_business_chat.live_status",
11562
+ "body": {
11563
+ "package": "himalaya",
11564
+ "type": "Text",
11565
+ "props": {
11566
+ "text": "$service:businessChat.liveLabel",
11567
+ "style": "caption",
11568
+ "color": "textSecondary",
11569
+ "collapseWhenEmpty": true,
11570
+ "textDirection": "auto",
11571
+ "maxLines": 3
11572
+ }
11573
+ },
11574
+ "modifiers": {
11575
+ "hiddenPath": "$service:businessChat.noLiveLabel",
11576
+ "padding": {
11577
+ "leading": 20,
11578
+ "trailing": 20,
11579
+ "top": 8
11580
+ }
11581
+ }
11582
+ },
11583
+ {
11584
+ "id": "himi_business_chat.notice",
11585
+ "body": {
11586
+ "package": "himalaya",
11587
+ "type": "Text",
11588
+ "props": {
11589
+ "text": "$service:businessChat.noticeText",
11590
+ "style": "caption",
11591
+ "color": "danger",
11592
+ "collapseWhenEmpty": true,
11593
+ "textDirection": "auto",
11594
+ "maxLines": 3
11595
+ }
11596
+ },
11597
+ "modifiers": {
11598
+ "hiddenPath": "$service:businessChat.noErrorNotice",
11599
+ "padding": {
11600
+ "leading": 20,
11601
+ "trailing": 20,
11602
+ "top": 8
11603
+ }
11604
+ }
11605
+ },
11606
+ {
11607
+ "id": "himi_business_chat.notice_info",
11608
+ "body": {
11609
+ "package": "himalaya",
11610
+ "type": "Text",
11611
+ "props": {
11612
+ "text": "$service:businessChat.noticeText",
11613
+ "style": "caption",
11614
+ "color": "textSecondary",
11615
+ "collapseWhenEmpty": true,
11616
+ "textDirection": "auto",
11617
+ "maxLines": 3
11618
+ }
11619
+ },
11620
+ "modifiers": {
11621
+ "hiddenPath": "$service:businessChat.noInfoNotice",
11622
+ "padding": {
11623
+ "leading": 20,
11624
+ "trailing": 20,
11625
+ "top": 8
11626
+ }
11627
+ }
11628
+ },
11629
+ {
11630
+ "id": "himi_business_chat.retry",
11631
+ "body": {
11632
+ "package": "himalaya",
11633
+ "type": "Text",
11634
+ "props": {
11635
+ "text": "Try Again",
11636
+ "style": "footnote",
11637
+ "color": "accentPrimary",
11638
+ "collapseWhenEmpty": true,
11639
+ "textDirection": "auto"
11640
+ }
11641
+ },
11642
+ "modifiers": {
11643
+ "onTap": {
11644
+ "actionId": "tier5.businessChat.init"
11645
+ },
11646
+ "accessibilityRole": "button",
11647
+ "padding": {
11648
+ "leading": 20,
11649
+ "trailing": 20,
11650
+ "top": 4
11651
+ },
11652
+ "hiddenPath": "$service:businessChat.retryHidden"
11460
11653
  }
11461
11654
  },
11462
11655
  {
@@ -11467,72 +11660,37 @@ const SCREENS = runtimeSetting({
11467
11660
  "props": {
11468
11661
  "children": [
11469
11662
  {
11470
- "id": "himi_business_chat.draft_shell",
11663
+ "id": "himi_business_chat.draft",
11471
11664
  "body": {
11472
11665
  "package": "himalaya",
11473
- "type": "ZStack",
11666
+ "type": "TextField",
11474
11667
  "props": {
11475
- "alignment": "center",
11476
- "children": [
11477
- {
11478
- "id": "himi_business_chat.draft_outline",
11479
- "body": {
11480
- "package": "himalaya",
11481
- "type": "VStack",
11482
- "props": {
11483
- "children": [],
11484
- "spacing": 0,
11485
- "alignment": "leading"
11486
- }
11487
- },
11488
- "modifiers": {
11489
- "fillMaxWidth": true,
11490
- "height": 40,
11491
- "background": {
11492
- "token": "surfacePrimary"
11493
- },
11494
- "cornerRadius": 20,
11495
- "border": {
11496
- "width": 1,
11497
- "color": {
11498
- "token": "border"
11499
- }
11500
- }
11501
- }
11502
- },
11503
- {
11504
- "id": "himi_business_chat.draft",
11505
- "body": {
11506
- "package": "himalaya",
11507
- "type": "TextField",
11508
- "props": {
11509
- "valuePath": "$service:businessChat.draft",
11510
- "onChange": {
11511
- "actionId": "tier5.businessChat.setDraft"
11512
- },
11513
- "placeholder": "Type your message…",
11514
- "maxLength": 4000,
11515
- "multilineMaxLines": 1,
11516
- "borderless": true
11517
- }
11518
- },
11519
- "modifiers": {
11520
- "fillMaxWidth": true,
11521
- "accessibilityLabel": "Type your message",
11522
- "padding": {
11523
- "leading": 8,
11524
- "trailing": 8,
11525
- "top": 0,
11526
- "bottom": 0
11527
- }
11528
- }
11529
- }
11530
- ]
11668
+ "valuePath": "$service:businessChat.draft",
11669
+ "onChange": {
11670
+ "actionId": "tier5.businessChat.setDraft"
11671
+ },
11672
+ "onSubmit": {
11673
+ "actionId": "tier5.businessChat.send"
11674
+ },
11675
+ "submitLabel": "send",
11676
+ "placeholder": "Type your message…",
11677
+ "maxLength": 4000,
11678
+ "multilineMaxLines": 1,
11679
+ "borderless": true
11531
11680
  }
11532
11681
  },
11533
11682
  "modifiers": {
11534
11683
  "weight": 1,
11535
- "fillMaxWidth": true
11684
+ "height": 44,
11685
+ "accessibilityLabel": "Type your message",
11686
+ "background": {
11687
+ "token": "surfaceSecondary"
11688
+ },
11689
+ "cornerRadius": 999,
11690
+ "padding": {
11691
+ "leading": 16,
11692
+ "trailing": 8
11693
+ }
11536
11694
  }
11537
11695
  },
11538
11696
  {
@@ -11556,11 +11714,11 @@ const SCREENS = runtimeSetting({
11556
11714
  },
11557
11715
  "modifiers": {
11558
11716
  "accessibilityRole": "decorative",
11559
- "width": 40,
11560
- "height": 40,
11561
- "cornerRadius": 20,
11717
+ "width": 44,
11718
+ "height": 44,
11719
+ "cornerRadius": 999,
11562
11720
  "background": {
11563
- "token": "surfaceSecondary"
11721
+ "token": "surfaceTertiary"
11564
11722
  }
11565
11723
  }
11566
11724
  },
@@ -11577,9 +11735,9 @@ const SCREENS = runtimeSetting({
11577
11735
  },
11578
11736
  "modifiers": {
11579
11737
  "accessibilityRole": "button",
11580
- "width": 40,
11581
- "height": 40,
11582
- "cornerRadius": 20,
11738
+ "width": 44,
11739
+ "height": 44,
11740
+ "cornerRadius": 999,
11583
11741
  "background": {
11584
11742
  "token": "accentPrimary"
11585
11743
  },
@@ -11594,22 +11752,22 @@ const SCREENS = runtimeSetting({
11594
11752
  }
11595
11753
  },
11596
11754
  "modifiers": {
11597
- "width": 40,
11598
- "height": 40
11755
+ "width": 44,
11756
+ "height": 44
11599
11757
  }
11600
11758
  }
11601
11759
  ],
11602
- "spacing": 6,
11760
+ "spacing": 8,
11603
11761
  "alignment": "center"
11604
11762
  }
11605
11763
  },
11606
11764
  "modifiers": {
11607
11765
  "fillMaxWidth": true,
11608
11766
  "padding": {
11609
- "leading": 8,
11610
- "trailing": 8,
11611
- "top": 0,
11612
- "bottom": 0
11767
+ "leading": 20,
11768
+ "trailing": 20,
11769
+ "top": 8,
11770
+ "bottom": 8
11613
11771
  }
11614
11772
  }
11615
11773
  }
@@ -11623,12 +11781,6 @@ const SCREENS = runtimeSetting({
11623
11781
  "hiddenPath": "$service:businessChat.isGuest",
11624
11782
  "background": {
11625
11783
  "token": "surfacePrimary"
11626
- },
11627
- "padding": {
11628
- "leading": 0,
11629
- "trailing": 0,
11630
- "top": 4,
11631
- "bottom": 0
11632
11784
  }
11633
11785
  }
11634
11786
  },