@wix/himalaya-cli 0.1866.0 → 0.1868.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 (401) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +2 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/copy.generated.d.ts +17 -7
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +1 -44
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/overlapping-panel-header.d.ts +30 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +55 -11
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +217 -155
  9. package/dist/browser-plane/assets.json +5 -5
  10. package/dist/browser-plane/preview-deferred/{a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a.bin → 606c83075130fbcd609b5aabaa1e6bac0bfb27bd362d1ce8eb5cbcb266e1f682.bin} +1 -1
  11. package/dist/browser-plane/sw.js +8 -8
  12. package/dist/cli.mjs +6179 -5817
  13. package/dist/preview-assets.generated.bin +0 -0
  14. package/guides/component-index.md +1 -1
  15. package/guides/component-reference.json +1 -1
  16. package/guides/component-reference.md +4 -0
  17. package/guides/designing-himi-screens.md +5 -0
  18. package/guides/one-app-to-himi-app.md +13 -7
  19. package/guides/one-app-viewer.md +3 -1
  20. package/guides/release-notes.md +13 -0
  21. package/guides/sdk-reference.json +0 -21
  22. package/package.json +2 -2
  23. package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +14 -1
  24. package/templates/beauty-salon/dev/index.ts +122 -8
  25. package/templates/beauty-salon/l10n/ar.json +5 -0
  26. package/templates/beauty-salon/l10n/cs.json +5 -0
  27. package/templates/beauty-salon/l10n/da.json +5 -0
  28. package/templates/beauty-salon/l10n/de.json +5 -0
  29. package/templates/beauty-salon/l10n/el.json +5 -0
  30. package/templates/beauty-salon/l10n/en.json +1 -1
  31. package/templates/beauty-salon/l10n/es.json +5 -0
  32. package/templates/beauty-salon/l10n/fi.json +5 -0
  33. package/templates/beauty-salon/l10n/fr.json +5 -0
  34. package/templates/beauty-salon/l10n/he.json +4 -0
  35. package/templates/beauty-salon/l10n/hu.json +5 -0
  36. package/templates/beauty-salon/l10n/id.json +5 -0
  37. package/templates/beauty-salon/l10n/it.json +5 -0
  38. package/templates/beauty-salon/l10n/ja.json +5 -0
  39. package/templates/beauty-salon/l10n/ko.json +5 -0
  40. package/templates/beauty-salon/l10n/lt.json +5 -0
  41. package/templates/beauty-salon/l10n/nl.json +5 -0
  42. package/templates/beauty-salon/l10n/no.json +5 -0
  43. package/templates/beauty-salon/l10n/pl.json +5 -0
  44. package/templates/beauty-salon/l10n/pt.json +5 -0
  45. package/templates/beauty-salon/l10n/ru.json +5 -0
  46. package/templates/beauty-salon/l10n/sv.json +5 -0
  47. package/templates/beauty-salon/l10n/th.json +5 -0
  48. package/templates/beauty-salon/l10n/tr.json +5 -0
  49. package/templates/beauty-salon/l10n/uk.json +5 -0
  50. package/templates/beauty-salon/l10n/vi.json +5 -0
  51. package/templates/beauty-salon/l10n/zh.json +5 -0
  52. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +14 -1
  53. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +192 -28
  54. package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +14 -1
  55. package/templates/branded-lite/dev/index.ts +732 -583
  56. package/templates/branded-lite/l10n/ar.json +5 -0
  57. package/templates/branded-lite/l10n/cs.json +5 -0
  58. package/templates/branded-lite/l10n/da.json +5 -0
  59. package/templates/branded-lite/l10n/de.json +5 -0
  60. package/templates/branded-lite/l10n/el.json +5 -0
  61. package/templates/branded-lite/l10n/en.json +2 -2
  62. package/templates/branded-lite/l10n/es.json +5 -0
  63. package/templates/branded-lite/l10n/fi.json +5 -0
  64. package/templates/branded-lite/l10n/fr.json +5 -0
  65. package/templates/branded-lite/l10n/he.json +4 -0
  66. package/templates/branded-lite/l10n/hu.json +5 -0
  67. package/templates/branded-lite/l10n/id.json +5 -0
  68. package/templates/branded-lite/l10n/it.json +5 -0
  69. package/templates/branded-lite/l10n/ja.json +5 -0
  70. package/templates/branded-lite/l10n/ko.json +5 -0
  71. package/templates/branded-lite/l10n/lt.json +5 -0
  72. package/templates/branded-lite/l10n/nl.json +5 -0
  73. package/templates/branded-lite/l10n/no.json +5 -0
  74. package/templates/branded-lite/l10n/pl.json +5 -0
  75. package/templates/branded-lite/l10n/pt.json +5 -0
  76. package/templates/branded-lite/l10n/ru.json +5 -0
  77. package/templates/branded-lite/l10n/sv.json +5 -0
  78. package/templates/branded-lite/l10n/th.json +5 -0
  79. package/templates/branded-lite/l10n/tr.json +5 -0
  80. package/templates/branded-lite/l10n/uk.json +5 -0
  81. package/templates/branded-lite/l10n/vi.json +5 -0
  82. package/templates/branded-lite/l10n/zh.json +5 -0
  83. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +11 -0
  84. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +14 -1
  85. package/templates/branded-lite/tier5-src/business-chat/index.ts +20 -6
  86. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +192 -28
  87. package/templates/brandy/tier5-src/_shared/himi-account.ts +14 -1
  88. package/templates/brandy/tier5-src/himi-store-account/index.ts +192 -28
  89. package/templates/community-club/dev/index.ts +122 -8
  90. package/templates/community-club/l10n/ar.json +10 -0
  91. package/templates/community-club/l10n/cs.json +10 -0
  92. package/templates/community-club/l10n/da.json +10 -0
  93. package/templates/community-club/l10n/de.json +10 -0
  94. package/templates/community-club/l10n/el.json +10 -0
  95. package/templates/community-club/l10n/en.json +1 -1
  96. package/templates/community-club/l10n/es.json +10 -0
  97. package/templates/community-club/l10n/fi.json +10 -0
  98. package/templates/community-club/l10n/fr.json +10 -0
  99. package/templates/community-club/l10n/he.json +8 -0
  100. package/templates/community-club/l10n/hu.json +10 -0
  101. package/templates/community-club/l10n/id.json +10 -0
  102. package/templates/community-club/l10n/it.json +10 -0
  103. package/templates/community-club/l10n/ja.json +10 -0
  104. package/templates/community-club/l10n/ko.json +10 -0
  105. package/templates/community-club/l10n/lt.json +10 -0
  106. package/templates/community-club/l10n/nl.json +10 -0
  107. package/templates/community-club/l10n/no.json +10 -0
  108. package/templates/community-club/l10n/pl.json +10 -0
  109. package/templates/community-club/l10n/pt.json +10 -0
  110. package/templates/community-club/l10n/ru.json +10 -0
  111. package/templates/community-club/l10n/sv.json +10 -0
  112. package/templates/community-club/l10n/th.json +10 -0
  113. package/templates/community-club/l10n/tr.json +10 -0
  114. package/templates/community-club/l10n/uk.json +10 -0
  115. package/templates/community-club/l10n/vi.json +10 -0
  116. package/templates/community-club/l10n/zh.json +10 -0
  117. package/templates/community-club/tier5-src/_shared/himi-account.ts +14 -1
  118. package/templates/community-club/tier5-src/himi-store-account/index.ts +192 -28
  119. package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +14 -1
  120. package/templates/conference/dev/index.ts +744 -595
  121. package/templates/conference/tier5-src/_shared/business-chat-presenter.ts +11 -0
  122. package/templates/conference/tier5-src/_shared/himi-account.ts +14 -1
  123. package/templates/conference/tier5-src/business-chat/index.ts +20 -6
  124. package/templates/conference/tier5-src/himi-store-account/index.ts +192 -28
  125. package/templates/events-meetups/dev/index.ts +122 -8
  126. package/templates/events-meetups/l10n/ar.json +10 -0
  127. package/templates/events-meetups/l10n/cs.json +10 -0
  128. package/templates/events-meetups/l10n/da.json +10 -0
  129. package/templates/events-meetups/l10n/de.json +10 -0
  130. package/templates/events-meetups/l10n/el.json +10 -0
  131. package/templates/events-meetups/l10n/en.json +1 -1
  132. package/templates/events-meetups/l10n/es.json +10 -0
  133. package/templates/events-meetups/l10n/fi.json +10 -0
  134. package/templates/events-meetups/l10n/fr.json +10 -0
  135. package/templates/events-meetups/l10n/he.json +8 -0
  136. package/templates/events-meetups/l10n/hu.json +10 -0
  137. package/templates/events-meetups/l10n/id.json +10 -0
  138. package/templates/events-meetups/l10n/it.json +10 -0
  139. package/templates/events-meetups/l10n/ja.json +10 -0
  140. package/templates/events-meetups/l10n/ko.json +10 -0
  141. package/templates/events-meetups/l10n/lt.json +10 -0
  142. package/templates/events-meetups/l10n/nl.json +10 -0
  143. package/templates/events-meetups/l10n/no.json +10 -0
  144. package/templates/events-meetups/l10n/pl.json +10 -0
  145. package/templates/events-meetups/l10n/pt.json +10 -0
  146. package/templates/events-meetups/l10n/ru.json +10 -0
  147. package/templates/events-meetups/l10n/sv.json +10 -0
  148. package/templates/events-meetups/l10n/th.json +10 -0
  149. package/templates/events-meetups/l10n/tr.json +10 -0
  150. package/templates/events-meetups/l10n/uk.json +10 -0
  151. package/templates/events-meetups/l10n/vi.json +10 -0
  152. package/templates/events-meetups/l10n/zh.json +10 -0
  153. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +14 -1
  154. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +192 -28
  155. package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +14 -1
  156. package/templates/fitness-gym/dev/index.ts +743 -507
  157. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +11 -0
  158. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +14 -1
  159. package/templates/fitness-gym/tier5-src/business-chat/index.ts +20 -6
  160. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +14 -3
  161. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +192 -28
  162. package/templates/gym-fitness/dev/index.ts +122 -8
  163. package/templates/gym-fitness/l10n/ar.json +5 -0
  164. package/templates/gym-fitness/l10n/cs.json +5 -0
  165. package/templates/gym-fitness/l10n/da.json +5 -0
  166. package/templates/gym-fitness/l10n/de.json +5 -0
  167. package/templates/gym-fitness/l10n/el.json +5 -0
  168. package/templates/gym-fitness/l10n/en.json +1 -1
  169. package/templates/gym-fitness/l10n/es.json +5 -0
  170. package/templates/gym-fitness/l10n/fi.json +5 -0
  171. package/templates/gym-fitness/l10n/fr.json +5 -0
  172. package/templates/gym-fitness/l10n/he.json +4 -0
  173. package/templates/gym-fitness/l10n/hu.json +5 -0
  174. package/templates/gym-fitness/l10n/id.json +5 -0
  175. package/templates/gym-fitness/l10n/it.json +5 -0
  176. package/templates/gym-fitness/l10n/ja.json +5 -0
  177. package/templates/gym-fitness/l10n/ko.json +5 -0
  178. package/templates/gym-fitness/l10n/lt.json +5 -0
  179. package/templates/gym-fitness/l10n/nl.json +5 -0
  180. package/templates/gym-fitness/l10n/no.json +5 -0
  181. package/templates/gym-fitness/l10n/pl.json +5 -0
  182. package/templates/gym-fitness/l10n/pt.json +5 -0
  183. package/templates/gym-fitness/l10n/ru.json +5 -0
  184. package/templates/gym-fitness/l10n/sv.json +5 -0
  185. package/templates/gym-fitness/l10n/th.json +5 -0
  186. package/templates/gym-fitness/l10n/tr.json +5 -0
  187. package/templates/gym-fitness/l10n/uk.json +5 -0
  188. package/templates/gym-fitness/l10n/vi.json +5 -0
  189. package/templates/gym-fitness/l10n/zh.json +5 -0
  190. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +14 -1
  191. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +192 -28
  192. package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +14 -1
  193. package/templates/medical-services/dev/index.ts +747 -595
  194. package/templates/medical-services/tier5-src/_shared/business-chat-presenter.ts +11 -0
  195. package/templates/medical-services/tier5-src/_shared/himi-account.ts +14 -1
  196. package/templates/medical-services/tier5-src/business-chat/index.ts +20 -6
  197. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +14 -3
  198. package/templates/medical-services/tier5-src/himi-store-account/index.ts +192 -28
  199. package/templates/nonprofit-cause/dev/index.ts +122 -8
  200. package/templates/nonprofit-cause/l10n/ar.json +10 -0
  201. package/templates/nonprofit-cause/l10n/cs.json +10 -0
  202. package/templates/nonprofit-cause/l10n/da.json +10 -0
  203. package/templates/nonprofit-cause/l10n/de.json +10 -0
  204. package/templates/nonprofit-cause/l10n/el.json +10 -0
  205. package/templates/nonprofit-cause/l10n/en.json +1 -1
  206. package/templates/nonprofit-cause/l10n/es.json +10 -0
  207. package/templates/nonprofit-cause/l10n/fi.json +10 -0
  208. package/templates/nonprofit-cause/l10n/fr.json +10 -0
  209. package/templates/nonprofit-cause/l10n/he.json +8 -0
  210. package/templates/nonprofit-cause/l10n/hu.json +10 -0
  211. package/templates/nonprofit-cause/l10n/id.json +10 -0
  212. package/templates/nonprofit-cause/l10n/it.json +10 -0
  213. package/templates/nonprofit-cause/l10n/ja.json +10 -0
  214. package/templates/nonprofit-cause/l10n/ko.json +10 -0
  215. package/templates/nonprofit-cause/l10n/lt.json +10 -0
  216. package/templates/nonprofit-cause/l10n/nl.json +10 -0
  217. package/templates/nonprofit-cause/l10n/no.json +10 -0
  218. package/templates/nonprofit-cause/l10n/pl.json +10 -0
  219. package/templates/nonprofit-cause/l10n/pt.json +10 -0
  220. package/templates/nonprofit-cause/l10n/ru.json +10 -0
  221. package/templates/nonprofit-cause/l10n/sv.json +10 -0
  222. package/templates/nonprofit-cause/l10n/th.json +10 -0
  223. package/templates/nonprofit-cause/l10n/tr.json +10 -0
  224. package/templates/nonprofit-cause/l10n/uk.json +10 -0
  225. package/templates/nonprofit-cause/l10n/vi.json +10 -0
  226. package/templates/nonprofit-cause/l10n/zh.json +10 -0
  227. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +14 -1
  228. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +192 -28
  229. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +14 -1
  230. package/templates/owner-lite/tier5-src/_shared/himi-account.ts +14 -1
  231. package/templates/personal-fitness-trainer/dev/index.ts +760 -602
  232. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +11 -0
  233. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +14 -1
  234. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +20 -6
  235. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +192 -28
  236. package/templates/podcast-creator/dev/index.ts +122 -8
  237. package/templates/podcast-creator/l10n/ar.json +10 -0
  238. package/templates/podcast-creator/l10n/cs.json +10 -0
  239. package/templates/podcast-creator/l10n/da.json +10 -0
  240. package/templates/podcast-creator/l10n/de.json +10 -0
  241. package/templates/podcast-creator/l10n/el.json +10 -0
  242. package/templates/podcast-creator/l10n/en.json +1 -1
  243. package/templates/podcast-creator/l10n/es.json +10 -0
  244. package/templates/podcast-creator/l10n/fi.json +10 -0
  245. package/templates/podcast-creator/l10n/fr.json +10 -0
  246. package/templates/podcast-creator/l10n/he.json +8 -0
  247. package/templates/podcast-creator/l10n/hu.json +10 -0
  248. package/templates/podcast-creator/l10n/id.json +10 -0
  249. package/templates/podcast-creator/l10n/it.json +10 -0
  250. package/templates/podcast-creator/l10n/ja.json +10 -0
  251. package/templates/podcast-creator/l10n/ko.json +10 -0
  252. package/templates/podcast-creator/l10n/lt.json +10 -0
  253. package/templates/podcast-creator/l10n/nl.json +10 -0
  254. package/templates/podcast-creator/l10n/no.json +10 -0
  255. package/templates/podcast-creator/l10n/pl.json +10 -0
  256. package/templates/podcast-creator/l10n/pt.json +10 -0
  257. package/templates/podcast-creator/l10n/ru.json +10 -0
  258. package/templates/podcast-creator/l10n/sv.json +10 -0
  259. package/templates/podcast-creator/l10n/th.json +10 -0
  260. package/templates/podcast-creator/l10n/tr.json +10 -0
  261. package/templates/podcast-creator/l10n/uk.json +10 -0
  262. package/templates/podcast-creator/l10n/vi.json +10 -0
  263. package/templates/podcast-creator/l10n/zh.json +10 -0
  264. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +14 -1
  265. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +192 -28
  266. package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +14 -1
  267. package/templates/portfolio-creative/dev/index.ts +122 -8
  268. package/templates/portfolio-creative/l10n/ar.json +10 -0
  269. package/templates/portfolio-creative/l10n/cs.json +10 -0
  270. package/templates/portfolio-creative/l10n/da.json +10 -0
  271. package/templates/portfolio-creative/l10n/de.json +10 -0
  272. package/templates/portfolio-creative/l10n/el.json +10 -0
  273. package/templates/portfolio-creative/l10n/en.json +1 -1
  274. package/templates/portfolio-creative/l10n/es.json +10 -0
  275. package/templates/portfolio-creative/l10n/fi.json +10 -0
  276. package/templates/portfolio-creative/l10n/fr.json +10 -0
  277. package/templates/portfolio-creative/l10n/he.json +8 -0
  278. package/templates/portfolio-creative/l10n/hu.json +10 -0
  279. package/templates/portfolio-creative/l10n/id.json +10 -0
  280. package/templates/portfolio-creative/l10n/it.json +10 -0
  281. package/templates/portfolio-creative/l10n/ja.json +10 -0
  282. package/templates/portfolio-creative/l10n/ko.json +10 -0
  283. package/templates/portfolio-creative/l10n/lt.json +10 -0
  284. package/templates/portfolio-creative/l10n/nl.json +10 -0
  285. package/templates/portfolio-creative/l10n/no.json +10 -0
  286. package/templates/portfolio-creative/l10n/pl.json +10 -0
  287. package/templates/portfolio-creative/l10n/pt.json +10 -0
  288. package/templates/portfolio-creative/l10n/ru.json +10 -0
  289. package/templates/portfolio-creative/l10n/sv.json +10 -0
  290. package/templates/portfolio-creative/l10n/th.json +10 -0
  291. package/templates/portfolio-creative/l10n/tr.json +10 -0
  292. package/templates/portfolio-creative/l10n/uk.json +10 -0
  293. package/templates/portfolio-creative/l10n/vi.json +10 -0
  294. package/templates/portfolio-creative/l10n/zh.json +10 -0
  295. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +14 -1
  296. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +192 -28
  297. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +14 -1
  298. package/templates/restaurant/dev/index.ts +122 -8
  299. package/templates/restaurant/l10n/ar.json +10 -0
  300. package/templates/restaurant/l10n/cs.json +10 -0
  301. package/templates/restaurant/l10n/da.json +10 -0
  302. package/templates/restaurant/l10n/de.json +10 -0
  303. package/templates/restaurant/l10n/el.json +10 -0
  304. package/templates/restaurant/l10n/en.json +1 -1
  305. package/templates/restaurant/l10n/es.json +10 -0
  306. package/templates/restaurant/l10n/fi.json +10 -0
  307. package/templates/restaurant/l10n/fr.json +10 -0
  308. package/templates/restaurant/l10n/he.json +8 -0
  309. package/templates/restaurant/l10n/hu.json +10 -0
  310. package/templates/restaurant/l10n/id.json +10 -0
  311. package/templates/restaurant/l10n/it.json +10 -0
  312. package/templates/restaurant/l10n/ja.json +10 -0
  313. package/templates/restaurant/l10n/ko.json +10 -0
  314. package/templates/restaurant/l10n/lt.json +10 -0
  315. package/templates/restaurant/l10n/nl.json +10 -0
  316. package/templates/restaurant/l10n/no.json +10 -0
  317. package/templates/restaurant/l10n/pl.json +10 -0
  318. package/templates/restaurant/l10n/pt.json +10 -0
  319. package/templates/restaurant/l10n/ru.json +10 -0
  320. package/templates/restaurant/l10n/sv.json +10 -0
  321. package/templates/restaurant/l10n/th.json +10 -0
  322. package/templates/restaurant/l10n/tr.json +10 -0
  323. package/templates/restaurant/l10n/uk.json +10 -0
  324. package/templates/restaurant/l10n/vi.json +10 -0
  325. package/templates/restaurant/l10n/zh.json +10 -0
  326. package/templates/restaurant/tier5-src/_shared/himi-account.ts +14 -1
  327. package/templates/restaurant/tier5-src/himi-store-account/index.ts +192 -28
  328. package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +14 -1
  329. package/templates/retail-store/dev/index.ts +122 -8
  330. package/templates/retail-store/l10n/ar.json +10 -0
  331. package/templates/retail-store/l10n/cs.json +10 -0
  332. package/templates/retail-store/l10n/da.json +10 -0
  333. package/templates/retail-store/l10n/de.json +10 -0
  334. package/templates/retail-store/l10n/el.json +10 -0
  335. package/templates/retail-store/l10n/en.json +1 -1
  336. package/templates/retail-store/l10n/es.json +10 -0
  337. package/templates/retail-store/l10n/fi.json +10 -0
  338. package/templates/retail-store/l10n/fr.json +10 -0
  339. package/templates/retail-store/l10n/he.json +8 -0
  340. package/templates/retail-store/l10n/hu.json +10 -0
  341. package/templates/retail-store/l10n/id.json +10 -0
  342. package/templates/retail-store/l10n/it.json +10 -0
  343. package/templates/retail-store/l10n/ja.json +10 -0
  344. package/templates/retail-store/l10n/ko.json +10 -0
  345. package/templates/retail-store/l10n/lt.json +10 -0
  346. package/templates/retail-store/l10n/nl.json +10 -0
  347. package/templates/retail-store/l10n/no.json +10 -0
  348. package/templates/retail-store/l10n/pl.json +10 -0
  349. package/templates/retail-store/l10n/pt.json +10 -0
  350. package/templates/retail-store/l10n/ru.json +10 -0
  351. package/templates/retail-store/l10n/sv.json +10 -0
  352. package/templates/retail-store/l10n/th.json +10 -0
  353. package/templates/retail-store/l10n/tr.json +10 -0
  354. package/templates/retail-store/l10n/uk.json +10 -0
  355. package/templates/retail-store/l10n/vi.json +10 -0
  356. package/templates/retail-store/l10n/zh.json +10 -0
  357. package/templates/retail-store/tier5-src/_shared/himi-account.ts +14 -1
  358. package/templates/retail-store/tier5-src/himi-store-account/index.ts +192 -28
  359. package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +14 -1
  360. package/templates/salon-spa/dev/index.ts +744 -595
  361. package/templates/salon-spa/tier5-src/_shared/business-chat-presenter.ts +11 -0
  362. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +14 -1
  363. package/templates/salon-spa/tier5-src/business-chat/index.ts +20 -6
  364. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +14 -3
  365. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +192 -28
  366. package/templates/wholesale-store/dev/index.ts +751 -602
  367. package/templates/wholesale-store/tier5-src/_shared/business-chat-presenter.ts +11 -0
  368. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +14 -1
  369. package/templates/wholesale-store/tier5-src/business-chat/index.ts +20 -6
  370. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +192 -28
  371. package/templates/yoga-studio/dev/index.ts +122 -8
  372. package/templates/yoga-studio/l10n/ar.json +5 -0
  373. package/templates/yoga-studio/l10n/cs.json +5 -0
  374. package/templates/yoga-studio/l10n/da.json +5 -0
  375. package/templates/yoga-studio/l10n/de.json +5 -0
  376. package/templates/yoga-studio/l10n/el.json +5 -0
  377. package/templates/yoga-studio/l10n/en.json +1 -1
  378. package/templates/yoga-studio/l10n/es.json +5 -0
  379. package/templates/yoga-studio/l10n/fi.json +5 -0
  380. package/templates/yoga-studio/l10n/fr.json +5 -0
  381. package/templates/yoga-studio/l10n/he.json +4 -0
  382. package/templates/yoga-studio/l10n/hu.json +5 -0
  383. package/templates/yoga-studio/l10n/id.json +5 -0
  384. package/templates/yoga-studio/l10n/it.json +5 -0
  385. package/templates/yoga-studio/l10n/ja.json +5 -0
  386. package/templates/yoga-studio/l10n/ko.json +5 -0
  387. package/templates/yoga-studio/l10n/lt.json +5 -0
  388. package/templates/yoga-studio/l10n/nl.json +5 -0
  389. package/templates/yoga-studio/l10n/no.json +5 -0
  390. package/templates/yoga-studio/l10n/pl.json +5 -0
  391. package/templates/yoga-studio/l10n/pt.json +5 -0
  392. package/templates/yoga-studio/l10n/ru.json +5 -0
  393. package/templates/yoga-studio/l10n/sv.json +5 -0
  394. package/templates/yoga-studio/l10n/th.json +5 -0
  395. package/templates/yoga-studio/l10n/tr.json +5 -0
  396. package/templates/yoga-studio/l10n/uk.json +5 -0
  397. package/templates/yoga-studio/l10n/vi.json +5 -0
  398. package/templates/yoga-studio/l10n/zh.json +5 -0
  399. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +14 -1
  400. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +192 -28
  401. package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +14 -1
@@ -16834,6 +16834,67 @@ const SCREENS = runtimeSetting({
16834
16834
  "spacing": 12,
16835
16835
  "alignment": "leading",
16836
16836
  "children": [
16837
+ {
16838
+ "id": "himi_sign_in.loading",
16839
+ "body": {
16840
+ "package": "himalaya",
16841
+ "type": "VStack",
16842
+ "props": {
16843
+ "spacing": 12,
16844
+ "alignment": "leading",
16845
+ "children": [
16846
+ {
16847
+ "id": "",
16848
+ "body": {
16849
+ "package": "himalaya",
16850
+ "type": "Skeleton",
16851
+ "props": {
16852
+ "width": 160,
16853
+ "height": 28,
16854
+ "cornerRadius": 6
16855
+ }
16856
+ }
16857
+ },
16858
+ {
16859
+ "id": "",
16860
+ "body": {
16861
+ "package": "himalaya",
16862
+ "type": "Skeleton",
16863
+ "props": {
16864
+ "height": 52,
16865
+ "cornerRadius": 8
16866
+ }
16867
+ }
16868
+ },
16869
+ {
16870
+ "id": "",
16871
+ "body": {
16872
+ "package": "himalaya",
16873
+ "type": "Skeleton",
16874
+ "props": {
16875
+ "height": 52,
16876
+ "cornerRadius": 8
16877
+ }
16878
+ }
16879
+ },
16880
+ {
16881
+ "id": "",
16882
+ "body": {
16883
+ "package": "himalaya",
16884
+ "type": "Skeleton",
16885
+ "props": {
16886
+ "height": 48,
16887
+ "cornerRadius": 24
16888
+ }
16889
+ }
16890
+ }
16891
+ ]
16892
+ }
16893
+ },
16894
+ "modifiers": {
16895
+ "hiddenPath": "$service:himiStoreAccount.hideFormSkeleton"
16896
+ }
16897
+ },
16837
16898
  {
16838
16899
  "id": "",
16839
16900
  "body": {
@@ -16933,7 +16994,6 @@ const SCREENS = runtimeSetting({
16933
16994
  "placeholder": "Email",
16934
16995
  "keyboard": "email",
16935
16996
  "validation": {
16936
- "required": true,
16937
16997
  "type": "email",
16938
16998
  "mode": "on_blur"
16939
16999
  },
@@ -16981,26 +17041,27 @@ const SCREENS = runtimeSetting({
16981
17041
  }
16982
17042
  },
16983
17043
  {
16984
- "id": "",
17044
+ "id": "himi_sign_in.message",
16985
17045
  "body": {
16986
17046
  "package": "himalaya",
16987
17047
  "type": "Text",
16988
17048
  "props": {
16989
- "text": "$service:himiStoreAccount.busyMessage",
17049
+ "text": "$service:himiStoreAccount.errorMessage",
16990
17050
  "style": "footnoteRegular",
17051
+ "color": "danger",
16991
17052
  "collapseWhenEmpty": true
16992
17053
  }
16993
17054
  }
16994
17055
  },
16995
17056
  {
16996
- "id": "himi_sign_in.message",
17057
+ "id": "himi_sign_in.notice",
16997
17058
  "body": {
16998
17059
  "package": "himalaya",
16999
17060
  "type": "Text",
17000
17061
  "props": {
17001
- "text": "$service:himiStoreAccount.message",
17062
+ "text": "$service:himiStoreAccount.noticeMessage",
17002
17063
  "style": "footnoteRegular",
17003
- "color": "textPrimary",
17064
+ "color": "success",
17004
17065
  "collapseWhenEmpty": true
17005
17066
  }
17006
17067
  }
@@ -17148,7 +17209,61 @@ const SCREENS = runtimeSetting({
17148
17209
  }
17149
17210
  },
17150
17211
  "modifiers": {
17151
- "hiddenPath": "$service:himiStoreAccount.isMember"
17212
+ "hiddenPath": "$service:himiStoreAccount.hideSignInForm"
17213
+ }
17214
+ },
17215
+ {
17216
+ "id": "",
17217
+ "body": {
17218
+ "package": "himalaya",
17219
+ "type": "VStack",
17220
+ "props": {
17221
+ "spacing": 12,
17222
+ "alignment": "leading",
17223
+ "children": [
17224
+ {
17225
+ "id": "himi_sign_in.pending_title",
17226
+ "body": {
17227
+ "package": "himalaya",
17228
+ "type": "Text",
17229
+ "props": {
17230
+ "text": "$service:himiStoreAccount.pendingTitle",
17231
+ "style": "title1"
17232
+ }
17233
+ }
17234
+ },
17235
+ {
17236
+ "id": "himi_sign_in.pending_body",
17237
+ "body": {
17238
+ "package": "himalaya",
17239
+ "type": "Text",
17240
+ "props": {
17241
+ "text": "$service:himiStoreAccount.pendingBody",
17242
+ "style": "body"
17243
+ }
17244
+ }
17245
+ },
17246
+ {
17247
+ "id": "himi_sign_in.pending_back",
17248
+ "body": {
17249
+ "package": "himalaya",
17250
+ "type": "Button",
17251
+ "props": {
17252
+ "title": "Back to sign in",
17253
+ "style": "secondary",
17254
+ "size": "md",
17255
+ "fullWidth": true,
17256
+ "action": {
17257
+ "actionId": "tier5.himiStoreAccount.closePendingApproval"
17258
+ }
17259
+ }
17260
+ }
17261
+ }
17262
+ ]
17263
+ }
17264
+ },
17265
+ "modifiers": {
17266
+ "hiddenPath": "$service:himiStoreAccount.hidePendingApproval"
17152
17267
  }
17153
17268
  },
17154
17269
  {
@@ -17191,7 +17306,7 @@ const SCREENS = runtimeSetting({
17191
17306
  }
17192
17307
  },
17193
17308
  "modifiers": {
17194
- "hiddenPath": "$service:himiStoreAccount.notMember"
17309
+ "hiddenPath": "$service:himiStoreAccount.hideSignedIn"
17195
17310
  }
17196
17311
  }
17197
17312
  ]
@@ -17233,6 +17348,9 @@ const SCREENS = runtimeSetting({
17233
17348
  "screenId": "himi_business_chat",
17234
17349
  "renderer": "sdui_intent",
17235
17350
  "title": "Chat with Michael",
17351
+ "topBar": {
17352
+ "subtitlePath": "$service:businessChat.hostedName"
17353
+ },
17236
17354
  "schemaVersion": 1,
17237
17355
  "cacheControl": {
17238
17356
  "maxAge": 0,
@@ -17253,196 +17371,187 @@ const SCREENS = runtimeSetting({
17253
17371
  "props": {
17254
17372
  "children": [
17255
17373
  {
17256
- "id": "himi_business_chat.loading_text",
17374
+ "id": "himi_business_chat.skeleton_1",
17257
17375
  "body": {
17258
17376
  "package": "himalaya",
17259
- "type": "Text",
17377
+ "type": "HStack",
17260
17378
  "props": {
17261
- "text": "Loading your conversation…",
17262
- "style": "body",
17263
- "color": "textSecondary",
17264
- "collapseWhenEmpty": true,
17265
- "textDirection": "auto"
17379
+ "children": [
17380
+ {
17381
+ "id": "himi_business_chat.skeleton_1.avatar",
17382
+ "body": {
17383
+ "package": "himalaya",
17384
+ "type": "Skeleton",
17385
+ "props": {
17386
+ "width": 32,
17387
+ "height": 32,
17388
+ "cornerRadius": 999
17389
+ }
17390
+ },
17391
+ "modifiers": {}
17392
+ },
17393
+ {
17394
+ "id": "himi_business_chat.skeleton_1.bubble",
17395
+ "body": {
17396
+ "package": "himalaya",
17397
+ "type": "Skeleton",
17398
+ "props": {
17399
+ "width": 220,
17400
+ "height": 52,
17401
+ "cornerRadius": 12
17402
+ }
17403
+ },
17404
+ "modifiers": {}
17405
+ },
17406
+ {
17407
+ "id": "himi_business_chat.skeleton_1.spacer",
17408
+ "body": {
17409
+ "package": "himalaya",
17410
+ "type": "Spacer",
17411
+ "props": {}
17412
+ },
17413
+ "modifiers": {}
17414
+ }
17415
+ ],
17416
+ "spacing": 8,
17417
+ "alignment": "leading"
17266
17418
  }
17267
17419
  },
17268
- "modifiers": {}
17420
+ "modifiers": {
17421
+ "fillMaxWidth": true,
17422
+ "padding": {
17423
+ "leading": 20,
17424
+ "trailing": 20,
17425
+ "top": 4,
17426
+ "bottom": 4
17427
+ }
17428
+ }
17269
17429
  },
17270
17430
  {
17271
- "id": "himi_business_chat.loading_row_1",
17431
+ "id": "himi_business_chat.skeleton_2",
17272
17432
  "body": {
17273
17433
  "package": "himalaya",
17274
- "type": "Skeleton",
17434
+ "type": "HStack",
17275
17435
  "props": {
17276
- "height": 62,
17277
- "cornerRadius": 16
17436
+ "children": [
17437
+ {
17438
+ "id": "himi_business_chat.skeleton_2.spacer",
17439
+ "body": {
17440
+ "package": "himalaya",
17441
+ "type": "Spacer",
17442
+ "props": {}
17443
+ },
17444
+ "modifiers": {}
17445
+ },
17446
+ {
17447
+ "id": "himi_business_chat.skeleton_2.bubble",
17448
+ "body": {
17449
+ "package": "himalaya",
17450
+ "type": "Skeleton",
17451
+ "props": {
17452
+ "width": 180,
17453
+ "height": 52,
17454
+ "cornerRadius": 12
17455
+ }
17456
+ },
17457
+ "modifiers": {}
17458
+ }
17459
+ ],
17460
+ "spacing": 8,
17461
+ "alignment": "leading"
17278
17462
  }
17279
17463
  },
17280
- "modifiers": {}
17464
+ "modifiers": {
17465
+ "fillMaxWidth": true,
17466
+ "padding": {
17467
+ "leading": 20,
17468
+ "trailing": 20,
17469
+ "top": 4,
17470
+ "bottom": 4
17471
+ }
17472
+ }
17281
17473
  },
17282
17474
  {
17283
- "id": "himi_business_chat.loading_row_2",
17475
+ "id": "himi_business_chat.skeleton_3",
17284
17476
  "body": {
17285
17477
  "package": "himalaya",
17286
- "type": "Skeleton",
17478
+ "type": "HStack",
17287
17479
  "props": {
17288
- "height": 84,
17289
- "cornerRadius": 16
17480
+ "children": [
17481
+ {
17482
+ "id": "himi_business_chat.skeleton_3.avatar",
17483
+ "body": {
17484
+ "package": "himalaya",
17485
+ "type": "Skeleton",
17486
+ "props": {
17487
+ "width": 32,
17488
+ "height": 32,
17489
+ "cornerRadius": 999
17490
+ }
17491
+ },
17492
+ "modifiers": {}
17493
+ },
17494
+ {
17495
+ "id": "himi_business_chat.skeleton_3.bubble",
17496
+ "body": {
17497
+ "package": "himalaya",
17498
+ "type": "Skeleton",
17499
+ "props": {
17500
+ "width": 230,
17501
+ "height": 52,
17502
+ "cornerRadius": 12
17503
+ }
17504
+ },
17505
+ "modifiers": {}
17506
+ },
17507
+ {
17508
+ "id": "himi_business_chat.skeleton_3.spacer",
17509
+ "body": {
17510
+ "package": "himalaya",
17511
+ "type": "Spacer",
17512
+ "props": {}
17513
+ },
17514
+ "modifiers": {}
17515
+ }
17516
+ ],
17517
+ "spacing": 8,
17518
+ "alignment": "leading"
17290
17519
  }
17291
17520
  },
17292
- "modifiers": {}
17521
+ "modifiers": {
17522
+ "fillMaxWidth": true,
17523
+ "padding": {
17524
+ "leading": 20,
17525
+ "trailing": 20,
17526
+ "top": 4,
17527
+ "bottom": 4
17528
+ }
17529
+ }
17293
17530
  }
17294
17531
  ],
17295
- "spacing": 12,
17532
+ "spacing": 0,
17296
17533
  "alignment": "leading"
17297
17534
  }
17298
17535
  },
17299
17536
  "modifiers": {
17300
17537
  "fillMaxWidth": true,
17301
- "padding": {
17302
- "leading": 16,
17303
- "trailing": 16,
17304
- "top": 20,
17305
- "bottom": 8
17306
- },
17538
+ "accessibilityLabel": "Loading your conversation…",
17307
17539
  "hiddenPath": "$service:businessChat.loadingHidden"
17308
17540
  }
17309
17541
  },
17310
17542
  {
17311
- "id": "himi_business_chat.error",
17543
+ "id": "himi_business_chat.messages",
17312
17544
  "body": {
17313
17545
  "package": "himalaya",
17314
- "type": "VStack",
17546
+ "type": "LazyList",
17315
17547
  "props": {
17316
- "children": [
17317
- {
17318
- "id": "himi_business_chat.error_text",
17319
- "body": {
17320
- "package": "himalaya",
17321
- "type": "Text",
17322
- "props": {
17323
- "text": "$service:businessChat.errorText",
17324
- "style": "body",
17325
- "color": "danger",
17326
- "collapseWhenEmpty": true,
17327
- "textDirection": "auto"
17328
- }
17329
- },
17330
- "modifiers": {
17331
- "hiddenPath": "$service:businessChat.isGuest"
17332
- }
17333
- },
17548
+ "itemsPath": "$service:businessChat.messages",
17549
+ "items": [
17334
17550
  {
17335
- "id": "himi_business_chat.load_failure",
17551
+ "id": "himi_business_chat.message_$item.id",
17336
17552
  "body": {
17337
17553
  "package": "himalaya",
17338
- "type": "Text",
17339
- "props": {
17340
- "text": "$service:businessChat.loadFailure",
17341
- "style": "caption",
17342
- "color": "textSecondary",
17343
- "collapseWhenEmpty": true,
17344
- "textDirection": "auto"
17345
- }
17346
- },
17347
- "modifiers": {
17348
- "hiddenPath": "$service:businessChat.isGuest"
17349
- }
17350
- },
17351
- {
17352
- "id": "himi_business_chat.guest",
17353
- "body": {
17354
- "package": "himalaya",
17355
- "type": "EmptyState",
17356
- "props": {
17357
- "icon": "chat",
17358
- "title": "Message Michael",
17359
- "subtitle": "Sign in to ask about a workout, a booking or your plan.",
17360
- "action": {
17361
- "actionId": "himi.open",
17362
- "params": {
17363
- "screenId": "himi_sign_in",
17364
- "mode": "signin",
17365
- "modal": "1"
17366
- },
17367
- "presentation": "sheet"
17368
- },
17369
- "actionLabel": "Sign in",
17370
- "actionStyle": "primary"
17371
- }
17372
- },
17373
- "modifiers": {
17374
- "hiddenPath": "$service:businessChat.notGuest"
17375
- }
17376
- },
17377
- {
17378
- "id": "himi_business_chat.retry",
17379
- "body": {
17380
- "package": "himalaya",
17381
- "type": "Button",
17382
- "props": {
17383
- "title": "Try again",
17384
- "action": {
17385
- "actionId": "tier5.businessChat.init"
17386
- },
17387
- "style": "secondary",
17388
- "size": "md",
17389
- "fullWidth": false
17390
- }
17391
- },
17392
- "modifiers": {
17393
- "hiddenPath": "$service:businessChat.isGuest"
17394
- }
17395
- }
17396
- ],
17397
- "spacing": 8,
17398
- "alignment": "leading"
17399
- }
17400
- },
17401
- "modifiers": {
17402
- "fillMaxWidth": true,
17403
- "padding": {
17404
- "leading": 16,
17405
- "trailing": 16,
17406
- "top": 12,
17407
- "bottom": 8
17408
- },
17409
- "hiddenPath": "$service:businessChat.noError"
17410
- }
17411
- },
17412
- {
17413
- "id": "himi_business_chat.empty",
17414
- "body": {
17415
- "package": "himalaya",
17416
- "type": "EmptyState",
17417
- "props": {
17418
- "title": "Chat with Michael",
17419
- "subtitle": "Ask about a workout, a booking or your plan.",
17420
- "icon": "chat"
17421
- }
17422
- },
17423
- "modifiers": {
17424
- "padding": {
17425
- "leading": 16,
17426
- "trailing": 16,
17427
- "top": 24,
17428
- "bottom": 24
17429
- },
17430
- "hiddenPath": "$service:businessChat.noEmpty"
17431
- }
17432
- },
17433
- {
17434
- "id": "himi_business_chat.messages",
17435
- "body": {
17436
- "package": "himalaya",
17437
- "type": "LazyList",
17438
- "props": {
17439
- "itemsPath": "$service:businessChat.messages",
17440
- "items": [
17441
- {
17442
- "id": "himi_business_chat.message_$item.id",
17443
- "body": {
17444
- "package": "himalaya",
17445
- "type": "VStack",
17554
+ "type": "VStack",
17446
17555
  "props": {
17447
17556
  "children": [
17448
17557
  {
@@ -17469,7 +17578,7 @@ const SCREENS = runtimeSetting({
17469
17578
  "props": {
17470
17579
  "text": "$item.dayLabel",
17471
17580
  "style": "caption",
17472
- "color": "textSecondary",
17581
+ "color": "textTertiary",
17473
17582
  "collapseWhenEmpty": true,
17474
17583
  "textDirection": "auto"
17475
17584
  }
@@ -17493,10 +17602,8 @@ const SCREENS = runtimeSetting({
17493
17602
  "modifiers": {
17494
17603
  "fillMaxWidth": true,
17495
17604
  "padding": {
17496
- "leading": 12,
17497
- "trailing": 12,
17498
- "top": 12,
17499
- "bottom": 4
17605
+ "top": 8,
17606
+ "bottom": 8
17500
17607
  },
17501
17608
  "hiddenPath": "$item.dayHidden"
17502
17609
  }
@@ -17509,21 +17616,36 @@ const SCREENS = runtimeSetting({
17509
17616
  "props": {
17510
17617
  "children": [
17511
17618
  {
17512
- "id": "himi_business_chat.avatar_$item.id",
17619
+ "id": "himi_business_chat.avatar_slot_$item.id",
17513
17620
  "body": {
17514
17621
  "package": "himalaya",
17515
- "type": "Image",
17622
+ "type": "VStack",
17516
17623
  "props": {
17517
- "initials": "$service:businessChat.businessInitials",
17518
- "width": 30,
17519
- "height": 30,
17520
- "contentMode": "fill",
17521
- "shape": "circle",
17522
- "contentDescription": "$service:businessChat.businessName"
17624
+ "children": [
17625
+ {
17626
+ "id": "himi_business_chat.avatar_$item.id",
17627
+ "body": {
17628
+ "package": "himalaya",
17629
+ "type": "Avatar",
17630
+ "props": {
17631
+ "imageUrl": "",
17632
+ "initials": "$service:businessChat.businessInitials",
17633
+ "size": 32
17634
+ }
17635
+ },
17636
+ "modifiers": {
17637
+ "accessibilityLabel": "$service:businessChat.businessName",
17638
+ "hiddenPath": "$item.hideAvatar"
17639
+ }
17640
+ }
17641
+ ],
17642
+ "spacing": 0,
17643
+ "alignment": "leading"
17523
17644
  }
17524
17645
  },
17525
17646
  "modifiers": {
17526
- "accessibilityLabel": "$service:businessChat.businessName"
17647
+ "fillMaxWidth": false,
17648
+ "width": 32
17527
17649
  }
17528
17650
  },
17529
17651
  {
@@ -17540,42 +17662,6 @@ const SCREENS = runtimeSetting({
17540
17662
  "type": "VStack",
17541
17663
  "props": {
17542
17664
  "children": [
17543
- {
17544
- "id": "himi_business_chat.incoming_sender_$item.id",
17545
- "body": {
17546
- "package": "himalaya",
17547
- "type": "Text",
17548
- "props": {
17549
- "text": "Michael Ryan",
17550
- "style": "caption",
17551
- "color": "accentPrimary",
17552
- "collapseWhenEmpty": true,
17553
- "textDirection": "auto",
17554
- "maxLines": 1
17555
- }
17556
- },
17557
- "modifiers": {
17558
- "hiddenPath": "$service:businessChat.hasHostedName"
17559
- }
17560
- },
17561
- {
17562
- "id": "himi_business_chat.incoming_sender_hosted_$item.id",
17563
- "body": {
17564
- "package": "himalaya",
17565
- "type": "Text",
17566
- "props": {
17567
- "text": "$service:businessChat.hostedName",
17568
- "style": "caption",
17569
- "color": "accentPrimary",
17570
- "collapseWhenEmpty": true,
17571
- "textDirection": "auto",
17572
- "maxLines": 1
17573
- }
17574
- },
17575
- "modifiers": {
17576
- "hiddenPath": "$service:businessChat.noHostedName"
17577
- }
17578
- },
17579
17665
  {
17580
17666
  "id": "himi_business_chat.staff_badge_$item.id",
17581
17667
  "body": {
@@ -17585,6 +17671,7 @@ const SCREENS = runtimeSetting({
17585
17671
  "text": "$item.senderBadge",
17586
17672
  "style": "caption",
17587
17673
  "color": "accentPrimary",
17674
+ "maxLines": 1,
17588
17675
  "collapseWhenEmpty": true
17589
17676
  }
17590
17677
  },
@@ -17592,12 +17679,12 @@ const SCREENS = runtimeSetting({
17592
17679
  "background": {
17593
17680
  "token": "accentSurface"
17594
17681
  },
17595
- "cornerRadius": 12,
17682
+ "cornerRadius": 8,
17596
17683
  "padding": {
17597
- "leading": 10,
17598
- "trailing": 10,
17599
- "top": 3,
17600
- "bottom": 3
17684
+ "leading": 8,
17685
+ "trailing": 8,
17686
+ "top": 4,
17687
+ "bottom": 4
17601
17688
  }
17602
17689
  }
17603
17690
  },
@@ -17628,7 +17715,7 @@ const SCREENS = runtimeSetting({
17628
17715
  "type": "Text",
17629
17716
  "props": {
17630
17717
  "text": "$item.bodyMarkdown",
17631
- "style": "caption",
17718
+ "style": "footnoteRegular",
17632
17719
  "color": "textPrimary",
17633
17720
  "collapseWhenEmpty": true,
17634
17721
  "textDirection": "auto",
@@ -17708,7 +17795,7 @@ const SCREENS = runtimeSetting({
17708
17795
  }
17709
17796
  }
17710
17797
  ],
17711
- "spacing": 6
17798
+ "spacing": 4
17712
17799
  }
17713
17800
  },
17714
17801
  "modifiers": {
@@ -17744,7 +17831,7 @@ const SCREENS = runtimeSetting({
17744
17831
  "type": "Text",
17745
17832
  "props": {
17746
17833
  "text": "$item.label",
17747
- "style": "body",
17834
+ "style": "footnoteRegular",
17748
17835
  "color": "accentPrimary",
17749
17836
  "collapseWhenEmpty": true,
17750
17837
  "textDirection": "auto"
@@ -17759,12 +17846,12 @@ const SCREENS = runtimeSetting({
17759
17846
  },
17760
17847
  "modifiers": {
17761
17848
  "fillMaxWidth": true,
17762
- "cornerRadius": 16,
17849
+ "cornerRadius": 12,
17763
17850
  "padding": {
17764
- "leading": 14,
17765
- "trailing": 14,
17766
- "top": 10,
17767
- "bottom": 10
17851
+ "leading": 12,
17852
+ "trailing": 12,
17853
+ "top": 8,
17854
+ "bottom": 8
17768
17855
  },
17769
17856
  "background": {
17770
17857
  "token": "accentSurface"
@@ -17794,8 +17881,8 @@ const SCREENS = runtimeSetting({
17794
17881
  "type": "Text",
17795
17882
  "props": {
17796
17883
  "text": "$item.label",
17797
- "style": "body",
17798
- "color": "textSecondary",
17884
+ "style": "footnoteRegular",
17885
+ "color": "textTertiary",
17799
17886
  "collapseWhenEmpty": true,
17800
17887
  "textDirection": "auto"
17801
17888
  }
@@ -17809,15 +17896,15 @@ const SCREENS = runtimeSetting({
17809
17896
  },
17810
17897
  "modifiers": {
17811
17898
  "fillMaxWidth": true,
17812
- "cornerRadius": 16,
17899
+ "cornerRadius": 12,
17813
17900
  "padding": {
17814
- "leading": 14,
17815
- "trailing": 14,
17816
- "top": 10,
17817
- "bottom": 10
17901
+ "leading": 12,
17902
+ "trailing": 12,
17903
+ "top": 8,
17904
+ "bottom": 8
17818
17905
  },
17819
17906
  "background": {
17820
- "token": "surfaceElevated"
17907
+ "token": "surfacePrimary"
17821
17908
  },
17822
17909
  "hiddenPath": "$item.enabled"
17823
17910
  }
@@ -17832,51 +17919,30 @@ const SCREENS = runtimeSetting({
17832
17919
  }
17833
17920
  }
17834
17921
  ],
17835
- "spacing": 6,
17922
+ "spacing": 4,
17836
17923
  "horizontal": false
17837
17924
  }
17838
17925
  },
17839
17926
  "modifiers": {
17840
17927
  "fillMaxWidth": true
17841
17928
  }
17842
- },
17843
- {
17844
- "id": "himi_business_chat.incoming_time_$item.id",
17845
- "body": {
17846
- "package": "himalaya",
17847
- "type": "Text",
17848
- "props": {
17849
- "text": "$item.when",
17850
- "style": "caption",
17851
- "color": "textSecondary",
17852
- "collapseWhenEmpty": true,
17853
- "textDirection": "auto"
17854
- }
17855
- },
17856
- "modifiers": {}
17857
17929
  }
17858
17930
  ],
17859
- "spacing": 5,
17931
+ "spacing": 4,
17860
17932
  "alignment": "leading"
17861
17933
  }
17862
17934
  },
17863
17935
  "modifiers": {
17864
- "fillMaxWidth": true,
17936
+ "fillMaxWidth": false,
17865
17937
  "background": {
17866
- "token": "surfaceElevated"
17867
- },
17868
- "border": {
17869
- "width": 1,
17870
- "color": {
17871
- "token": "border"
17872
- }
17938
+ "token": "surfaceSecondary"
17873
17939
  },
17874
- "cornerRadius": 16,
17940
+ "cornerRadius": 12,
17875
17941
  "padding": {
17876
- "leading": 8,
17877
- "trailing": 8,
17878
- "top": 8,
17879
- "bottom": 8
17942
+ "leading": 16,
17943
+ "trailing": 16,
17944
+ "top": 16,
17945
+ "bottom": 16
17880
17946
  },
17881
17947
  "maxWidth": 300,
17882
17948
  "hiddenPath": "$item.isCard"
@@ -17889,42 +17955,6 @@ const SCREENS = runtimeSetting({
17889
17955
  "type": "VStack",
17890
17956
  "props": {
17891
17957
  "children": [
17892
- {
17893
- "id": "himi_business_chat.card_sender_$item.id",
17894
- "body": {
17895
- "package": "himalaya",
17896
- "type": "Text",
17897
- "props": {
17898
- "text": "Michael Ryan",
17899
- "style": "caption",
17900
- "color": "accentPrimary",
17901
- "collapseWhenEmpty": true,
17902
- "textDirection": "auto",
17903
- "maxLines": 1
17904
- }
17905
- },
17906
- "modifiers": {
17907
- "hiddenPath": "$service:businessChat.hasHostedName"
17908
- }
17909
- },
17910
- {
17911
- "id": "himi_business_chat.card_sender_hosted_$item.id",
17912
- "body": {
17913
- "package": "himalaya",
17914
- "type": "Text",
17915
- "props": {
17916
- "text": "$service:businessChat.hostedName",
17917
- "style": "caption",
17918
- "color": "accentPrimary",
17919
- "collapseWhenEmpty": true,
17920
- "textDirection": "auto",
17921
- "maxLines": 1
17922
- }
17923
- },
17924
- "modifiers": {
17925
- "hiddenPath": "$service:businessChat.noHostedName"
17926
- }
17927
- },
17928
17958
  {
17929
17959
  "id": "himi_business_chat.card_badge_$item.id",
17930
17960
  "body": {
@@ -17934,6 +17964,7 @@ const SCREENS = runtimeSetting({
17934
17964
  "text": "$item.senderBadge",
17935
17965
  "style": "caption",
17936
17966
  "color": "accentPrimary",
17967
+ "maxLines": 1,
17937
17968
  "collapseWhenEmpty": true
17938
17969
  }
17939
17970
  },
@@ -17941,12 +17972,12 @@ const SCREENS = runtimeSetting({
17941
17972
  "background": {
17942
17973
  "token": "accentSurface"
17943
17974
  },
17944
- "cornerRadius": 12,
17975
+ "cornerRadius": 8,
17945
17976
  "padding": {
17946
- "leading": 10,
17947
- "trailing": 10,
17948
- "top": 3,
17949
- "bottom": 3
17977
+ "leading": 8,
17978
+ "trailing": 8,
17979
+ "top": 4,
17980
+ "bottom": 4
17950
17981
  }
17951
17982
  }
17952
17983
  },
@@ -17991,7 +18022,7 @@ const SCREENS = runtimeSetting({
17991
18022
  "type": "Text",
17992
18023
  "props": {
17993
18024
  "text": "$item.cardTitle",
17994
- "style": "body",
18025
+ "style": "footnote",
17995
18026
  "color": "textPrimary",
17996
18027
  "collapseWhenEmpty": true,
17997
18028
  "textDirection": "auto",
@@ -18008,8 +18039,8 @@ const SCREENS = runtimeSetting({
18008
18039
  "type": "Text",
18009
18040
  "props": {
18010
18041
  "text": "$item.cardDetail",
18011
- "style": "body",
18012
- "color": "textPrimary",
18042
+ "style": "footnoteRegular",
18043
+ "color": "textSecondary",
18013
18044
  "collapseWhenEmpty": true,
18014
18045
  "textDirection": "auto",
18015
18046
  "markdown": true,
@@ -18058,7 +18089,7 @@ const SCREENS = runtimeSetting({
18058
18089
  "type": "Text",
18059
18090
  "props": {
18060
18091
  "text": "$item.couponCode",
18061
- "style": "title3",
18092
+ "style": "bodyEmphasis",
18062
18093
  "color": "accentPrimary",
18063
18094
  "collapseWhenEmpty": true,
18064
18095
  "textDirection": "auto"
@@ -18067,7 +18098,7 @@ const SCREENS = runtimeSetting({
18067
18098
  "modifiers": {}
18068
18099
  }
18069
18100
  ],
18070
- "spacing": 2,
18101
+ "spacing": 4,
18071
18102
  "alignment": "center"
18072
18103
  }
18073
18104
  },
@@ -18076,7 +18107,7 @@ const SCREENS = runtimeSetting({
18076
18107
  "background": {
18077
18108
  "token": "accentSurface"
18078
18109
  },
18079
- "cornerRadius": 12,
18110
+ "cornerRadius": 8,
18080
18111
  "border": {
18081
18112
  "width": 1,
18082
18113
  "color": {
@@ -18084,10 +18115,10 @@ const SCREENS = runtimeSetting({
18084
18115
  }
18085
18116
  },
18086
18117
  "padding": {
18087
- "leading": 14,
18088
- "trailing": 14,
18089
- "top": 10,
18090
- "bottom": 10
18118
+ "leading": 12,
18119
+ "trailing": 12,
18120
+ "top": 8,
18121
+ "bottom": 8
18091
18122
  },
18092
18123
  "hiddenPath": "$item.noCoupon"
18093
18124
  }
@@ -18162,7 +18193,7 @@ const SCREENS = runtimeSetting({
18162
18193
  }
18163
18194
  }
18164
18195
  ],
18165
- "spacing": 6
18196
+ "spacing": 4
18166
18197
  }
18167
18198
  },
18168
18199
  "modifiers": {
@@ -18199,7 +18230,7 @@ const SCREENS = runtimeSetting({
18199
18230
  "type": "Text",
18200
18231
  "props": {
18201
18232
  "text": "$item.label",
18202
- "style": "body",
18233
+ "style": "footnoteRegular",
18203
18234
  "color": "accentPrimary",
18204
18235
  "collapseWhenEmpty": true,
18205
18236
  "textDirection": "auto"
@@ -18214,12 +18245,12 @@ const SCREENS = runtimeSetting({
18214
18245
  },
18215
18246
  "modifiers": {
18216
18247
  "fillMaxWidth": true,
18217
- "cornerRadius": 16,
18248
+ "cornerRadius": 12,
18218
18249
  "padding": {
18219
- "leading": 14,
18220
- "trailing": 14,
18221
- "top": 10,
18222
- "bottom": 10
18250
+ "leading": 12,
18251
+ "trailing": 12,
18252
+ "top": 8,
18253
+ "bottom": 8
18223
18254
  },
18224
18255
  "background": {
18225
18256
  "token": "accentSurface"
@@ -18249,8 +18280,8 @@ const SCREENS = runtimeSetting({
18249
18280
  "type": "Text",
18250
18281
  "props": {
18251
18282
  "text": "$item.label",
18252
- "style": "body",
18253
- "color": "textSecondary",
18283
+ "style": "footnoteRegular",
18284
+ "color": "textTertiary",
18254
18285
  "collapseWhenEmpty": true,
18255
18286
  "textDirection": "auto"
18256
18287
  }
@@ -18264,15 +18295,15 @@ const SCREENS = runtimeSetting({
18264
18295
  },
18265
18296
  "modifiers": {
18266
18297
  "fillMaxWidth": true,
18267
- "cornerRadius": 16,
18298
+ "cornerRadius": 12,
18268
18299
  "padding": {
18269
- "leading": 14,
18270
- "trailing": 14,
18271
- "top": 10,
18272
- "bottom": 10
18300
+ "leading": 12,
18301
+ "trailing": 12,
18302
+ "top": 8,
18303
+ "bottom": 8
18273
18304
  },
18274
18305
  "background": {
18275
- "token": "surfaceElevated"
18306
+ "token": "surfacePrimary"
18276
18307
  },
18277
18308
  "hiddenPath": "$item.enabled"
18278
18309
  }
@@ -18287,7 +18318,7 @@ const SCREENS = runtimeSetting({
18287
18318
  }
18288
18319
  }
18289
18320
  ],
18290
- "spacing": 6,
18321
+ "spacing": 4,
18291
18322
  "horizontal": false
18292
18323
  }
18293
18324
  },
@@ -18304,7 +18335,7 @@ const SCREENS = runtimeSetting({
18304
18335
  "modifiers": {
18305
18336
  "fillMaxWidth": true,
18306
18337
  "background": {
18307
- "token": "surfaceElevated"
18338
+ "token": "surfacePrimary"
18308
18339
  },
18309
18340
  "border": {
18310
18341
  "width": 1,
@@ -18312,33 +18343,18 @@ const SCREENS = runtimeSetting({
18312
18343
  "token": "border"
18313
18344
  }
18314
18345
  },
18315
- "cornerRadius": 8,
18346
+ "cornerRadius": 12,
18316
18347
  "padding": {
18317
18348
  "leading": 12,
18318
18349
  "trailing": 12,
18319
18350
  "top": 12,
18320
- "bottom": 8
18351
+ "bottom": 12
18321
18352
  },
18322
- "maxWidth": 270
18353
+ "maxWidth": 300
18323
18354
  }
18324
- },
18325
- {
18326
- "id": "himi_business_chat.card_time_$item.id",
18327
- "body": {
18328
- "package": "himalaya",
18329
- "type": "Text",
18330
- "props": {
18331
- "text": "$item.when",
18332
- "style": "caption",
18333
- "color": "textSecondary",
18334
- "collapseWhenEmpty": true,
18335
- "textDirection": "auto"
18336
- }
18337
- },
18338
- "modifiers": {}
18339
18355
  }
18340
18356
  ],
18341
- "spacing": 7,
18357
+ "spacing": 4,
18342
18358
  "alignment": "leading"
18343
18359
  }
18344
18360
  },
@@ -18346,14 +18362,29 @@ const SCREENS = runtimeSetting({
18346
18362
  "fillMaxWidth": true,
18347
18363
  "hiddenPath": "$item.notCard"
18348
18364
  }
18365
+ },
18366
+ {
18367
+ "id": "himi_business_chat.incoming_time_$item.id",
18368
+ "body": {
18369
+ "package": "himalaya",
18370
+ "type": "Text",
18371
+ "props": {
18372
+ "text": "$item.when",
18373
+ "style": "caption",
18374
+ "color": "textTertiary",
18375
+ "collapseWhenEmpty": true,
18376
+ "textDirection": "auto"
18377
+ }
18378
+ },
18379
+ "modifiers": {}
18349
18380
  }
18350
18381
  ],
18351
- "spacing": 0,
18382
+ "spacing": 4,
18352
18383
  "alignment": "leading"
18353
18384
  }
18354
18385
  },
18355
18386
  "modifiers": {
18356
- "fillMaxWidth": true
18387
+ "fillMaxWidth": false
18357
18388
  }
18358
18389
  },
18359
18390
  {
@@ -18366,7 +18397,7 @@ const SCREENS = runtimeSetting({
18366
18397
  "modifiers": {}
18367
18398
  }
18368
18399
  ],
18369
- "spacing": 6,
18400
+ "spacing": 8,
18370
18401
  "alignment": "leading"
18371
18402
  }
18372
18403
  },
@@ -18392,63 +18423,75 @@ const SCREENS = runtimeSetting({
18392
18423
  "modifiers": {}
18393
18424
  },
18394
18425
  {
18395
- "id": "himi_business_chat.outgoing_bubble_$item.id",
18426
+ "id": "himi_business_chat.outgoing_message_$item.id",
18396
18427
  "body": {
18397
18428
  "package": "himalaya",
18398
18429
  "type": "VStack",
18399
18430
  "props": {
18400
18431
  "children": [
18401
18432
  {
18402
- "id": "himi_business_chat.outgoing_sender_$item.id",
18433
+ "id": "himi_business_chat.outgoing_bubble_$item.id",
18403
18434
  "body": {
18404
18435
  "package": "himalaya",
18405
- "type": "Text",
18436
+ "type": "VStack",
18406
18437
  "props": {
18407
- "text": "$item.senderName",
18408
- "style": "caption",
18409
- "color": "textOnAccent",
18410
- "collapseWhenEmpty": true,
18411
- "textDirection": "auto"
18412
- }
18413
- },
18414
- "modifiers": {}
18415
- },
18416
- {
18417
- "id": "himi_business_chat.outgoing_attachment_$item.id",
18418
- "body": {
18419
- "package": "himalaya",
18420
- "type": "Image",
18421
- "props": {
18422
- "url": "$item.imageUrl",
18423
- "fillWidth": true,
18424
- "aspectRatio": 1.5,
18425
- "contentMode": "fit",
18426
- "contentDescription": "$item.imageDescription"
18438
+ "children": [
18439
+ {
18440
+ "id": "himi_business_chat.outgoing_attachment_$item.id",
18441
+ "body": {
18442
+ "package": "himalaya",
18443
+ "type": "Image",
18444
+ "props": {
18445
+ "url": "$item.imageUrl",
18446
+ "fillWidth": true,
18447
+ "aspectRatio": 1.5,
18448
+ "contentMode": "fit",
18449
+ "contentDescription": "$item.imageDescription"
18450
+ }
18451
+ },
18452
+ "modifiers": {
18453
+ "fillMaxWidth": true,
18454
+ "cornerRadius": 12,
18455
+ "accessibilityLabel": "$item.imageDescription",
18456
+ "hiddenPath": "$item.noImage"
18457
+ }
18458
+ },
18459
+ {
18460
+ "id": "himi_business_chat.outgoing_text_$item.id",
18461
+ "body": {
18462
+ "package": "himalaya",
18463
+ "type": "Text",
18464
+ "props": {
18465
+ "text": "$item.bodyText",
18466
+ "style": "footnoteRegular",
18467
+ "color": "textPrimary",
18468
+ "collapseWhenEmpty": true,
18469
+ "textDirection": "auto",
18470
+ "maxLines": 1000
18471
+ }
18472
+ },
18473
+ "modifiers": {}
18474
+ }
18475
+ ],
18476
+ "spacing": 4,
18477
+ "alignment": "leading"
18427
18478
  }
18428
18479
  },
18429
18480
  "modifiers": {
18430
- "fillMaxWidth": true,
18481
+ "fillMaxWidth": false,
18482
+ "background": {
18483
+ "token": "accentSurface"
18484
+ },
18431
18485
  "cornerRadius": 12,
18432
- "accessibilityLabel": "$item.imageDescription",
18433
- "hiddenPath": "$item.noImage"
18486
+ "padding": {
18487
+ "leading": 16,
18488
+ "trailing": 16,
18489
+ "top": 16,
18490
+ "bottom": 16
18491
+ },
18492
+ "maxWidth": 300
18434
18493
  }
18435
18494
  },
18436
- {
18437
- "id": "himi_business_chat.outgoing_text_$item.id",
18438
- "body": {
18439
- "package": "himalaya",
18440
- "type": "Text",
18441
- "props": {
18442
- "text": "$item.bodyText",
18443
- "style": "caption",
18444
- "color": "textOnAccent",
18445
- "collapseWhenEmpty": true,
18446
- "textDirection": "auto",
18447
- "maxLines": 1000
18448
- }
18449
- },
18450
- "modifiers": {}
18451
- },
18452
18495
  {
18453
18496
  "id": "himi_business_chat.outgoing_time_$item.id",
18454
18497
  "body": {
@@ -18457,7 +18500,7 @@ const SCREENS = runtimeSetting({
18457
18500
  "props": {
18458
18501
  "text": "$item.when",
18459
18502
  "style": "caption",
18460
- "color": "textOnAccent",
18503
+ "color": "textTertiary",
18461
18504
  "collapseWhenEmpty": true,
18462
18505
  "textDirection": "auto"
18463
18506
  }
@@ -18465,27 +18508,16 @@ const SCREENS = runtimeSetting({
18465
18508
  "modifiers": {}
18466
18509
  }
18467
18510
  ],
18468
- "spacing": 5,
18469
- "alignment": "leading"
18511
+ "spacing": 4,
18512
+ "alignment": "trailing"
18470
18513
  }
18471
18514
  },
18472
18515
  "modifiers": {
18473
- "fillMaxWidth": true,
18474
- "background": {
18475
- "token": "accentPrimary"
18476
- },
18477
- "cornerRadius": 16,
18478
- "padding": {
18479
- "leading": 8,
18480
- "trailing": 8,
18481
- "top": 8,
18482
- "bottom": 8
18483
- },
18484
- "maxWidth": 300
18516
+ "fillMaxWidth": false
18485
18517
  }
18486
18518
  }
18487
18519
  ],
18488
- "spacing": 6,
18520
+ "spacing": 8,
18489
18521
  "alignment": "leading"
18490
18522
  }
18491
18523
  },
@@ -18495,15 +18527,15 @@ const SCREENS = runtimeSetting({
18495
18527
  }
18496
18528
  }
18497
18529
  ],
18498
- "spacing": 4,
18530
+ "spacing": 8,
18499
18531
  "alignment": "leading"
18500
18532
  }
18501
18533
  },
18502
18534
  "modifiers": {
18503
18535
  "fillMaxWidth": true,
18504
18536
  "padding": {
18505
- "leading": 8,
18506
- "trailing": 8,
18537
+ "leading": 20,
18538
+ "trailing": 20,
18507
18539
  "top": 4,
18508
18540
  "bottom": 4
18509
18541
  }
@@ -18514,6 +18546,139 @@ const SCREENS = runtimeSetting({
18514
18546
  }
18515
18547
  },
18516
18548
  "modifiers": {}
18549
+ },
18550
+ {
18551
+ "id": "himi_business_chat.states",
18552
+ "body": {
18553
+ "package": "himalaya",
18554
+ "type": "VStack",
18555
+ "props": {
18556
+ "children": [
18557
+ {
18558
+ "id": "himi_business_chat.states_top",
18559
+ "body": {
18560
+ "package": "himalaya",
18561
+ "type": "Spacer",
18562
+ "props": {}
18563
+ },
18564
+ "modifiers": {}
18565
+ },
18566
+ {
18567
+ "id": "himi_business_chat.error",
18568
+ "body": {
18569
+ "package": "himalaya",
18570
+ "type": "VStack",
18571
+ "props": {
18572
+ "children": [
18573
+ {
18574
+ "id": "himi_business_chat.error_group",
18575
+ "body": {
18576
+ "package": "himalaya",
18577
+ "type": "VStack",
18578
+ "props": {
18579
+ "children": [
18580
+ {
18581
+ "id": "himi_business_chat.load_error",
18582
+ "body": {
18583
+ "package": "himalaya",
18584
+ "type": "ErrorState",
18585
+ "props": {
18586
+ "variant": "server",
18587
+ "placement": "section",
18588
+ "ctaLabel": "Try again",
18589
+ "cta": {
18590
+ "actionId": "tier5.businessChat.init"
18591
+ }
18592
+ }
18593
+ },
18594
+ "modifiers": {
18595
+ "hiddenPath": "$service:businessChat.isGuest"
18596
+ }
18597
+ }
18598
+ ],
18599
+ "spacing": 0,
18600
+ "alignment": "leading"
18601
+ }
18602
+ },
18603
+ "modifiers": {
18604
+ "fillMaxWidth": true,
18605
+ "hiddenPath": "$service:businessChat.hideLoadError"
18606
+ }
18607
+ }
18608
+ ],
18609
+ "spacing": 0,
18610
+ "alignment": "leading"
18611
+ }
18612
+ },
18613
+ "modifiers": {
18614
+ "fillMaxWidth": true
18615
+ }
18616
+ },
18617
+ {
18618
+ "id": "himi_business_chat.sign_in",
18619
+ "body": {
18620
+ "package": "himalaya",
18621
+ "type": "ErrorState",
18622
+ "props": {
18623
+ "variant": "signIn",
18624
+ "placement": "section",
18625
+ "title": "Sign in to message Michael.",
18626
+ "ctaLabel": "Sign in",
18627
+ "cta": {
18628
+ "actionId": "himi.open",
18629
+ "params": {
18630
+ "screenId": "himi_sign_in",
18631
+ "mode": "signin",
18632
+ "modal": "1"
18633
+ },
18634
+ "presentation": "sheet"
18635
+ }
18636
+ }
18637
+ },
18638
+ "modifiers": {
18639
+ "hiddenPath": "$service:businessChat.notGuest"
18640
+ }
18641
+ },
18642
+ {
18643
+ "id": "himi_business_chat.empty",
18644
+ "body": {
18645
+ "package": "himalaya",
18646
+ "type": "EmptyState",
18647
+ "props": {
18648
+ "icon": "chat",
18649
+ "title": "Chat with Michael",
18650
+ "subtitle": "Ask about a workout, a booking or your plan."
18651
+ }
18652
+ },
18653
+ "modifiers": {
18654
+ "padding": {
18655
+ "leading": 20,
18656
+ "trailing": 20,
18657
+ "top": 24,
18658
+ "bottom": 24
18659
+ },
18660
+ "hiddenPath": "$service:businessChat.noEmpty"
18661
+ }
18662
+ },
18663
+ {
18664
+ "id": "himi_business_chat.states_bottom",
18665
+ "body": {
18666
+ "package": "himalaya",
18667
+ "type": "Spacer",
18668
+ "props": {}
18669
+ },
18670
+ "modifiers": {}
18671
+ }
18672
+ ],
18673
+ "spacing": 0,
18674
+ "alignment": "center"
18675
+ }
18676
+ },
18677
+ "modifiers": {
18678
+ "fillMaxWidth": true,
18679
+ "weight": 1,
18680
+ "hiddenPath": "$service:businessChat.hasMessages"
18681
+ }
18517
18682
  }
18518
18683
  ],
18519
18684
  "spacing": 0,
@@ -18522,6 +18687,9 @@ const SCREENS = runtimeSetting({
18522
18687
  },
18523
18688
  "modifiers": {
18524
18689
  "fillMaxWidth": true,
18690
+ "background": {
18691
+ "token": "surfacePrimary"
18692
+ },
18525
18693
  "onAppear": {
18526
18694
  "actionId": "tier5.businessChat.init",
18527
18695
  "params": {
@@ -18613,7 +18781,7 @@ const SCREENS = runtimeSetting({
18613
18781
  "type": "Text",
18614
18782
  "props": {
18615
18783
  "text": "$item.label",
18616
- "style": "caption",
18784
+ "style": "footnote",
18617
18785
  "color": "accentPrimary",
18618
18786
  "collapseWhenEmpty": true,
18619
18787
  "textDirection": "auto",
@@ -18629,12 +18797,12 @@ const SCREENS = runtimeSetting({
18629
18797
  },
18630
18798
  "modifiers": {
18631
18799
  "fillMaxWidth": false,
18632
- "cornerRadius": 12,
18800
+ "cornerRadius": 999,
18633
18801
  "padding": {
18634
- "leading": 10,
18635
- "trailing": 10,
18636
- "top": 5,
18637
- "bottom": 5
18802
+ "leading": 12,
18803
+ "trailing": 12,
18804
+ "top": 8,
18805
+ "bottom": 8
18638
18806
  },
18639
18807
  "background": {
18640
18808
  "token": "accentSurface"
@@ -18664,8 +18832,8 @@ const SCREENS = runtimeSetting({
18664
18832
  "type": "Text",
18665
18833
  "props": {
18666
18834
  "text": "$item.label",
18667
- "style": "caption",
18668
- "color": "textSecondary",
18835
+ "style": "footnote",
18836
+ "color": "textTertiary",
18669
18837
  "collapseWhenEmpty": true,
18670
18838
  "textDirection": "auto",
18671
18839
  "maxLines": 1
@@ -18680,12 +18848,12 @@ const SCREENS = runtimeSetting({
18680
18848
  },
18681
18849
  "modifiers": {
18682
18850
  "fillMaxWidth": false,
18683
- "cornerRadius": 12,
18851
+ "cornerRadius": 999,
18684
18852
  "padding": {
18685
- "leading": 10,
18686
- "trailing": 10,
18687
- "top": 5,
18688
- "bottom": 5
18853
+ "leading": 12,
18854
+ "trailing": 12,
18855
+ "top": 8,
18856
+ "bottom": 8
18689
18857
  },
18690
18858
  "background": {
18691
18859
  "token": "surfaceSecondary"
@@ -18709,7 +18877,116 @@ const SCREENS = runtimeSetting({
18709
18877
  },
18710
18878
  "modifiers": {
18711
18879
  "fillMaxWidth": true,
18712
- "hiddenPath": "$service:businessChat.noQuickReplies"
18880
+ "hiddenPath": "$service:businessChat.noQuickReplies",
18881
+ "padding": {
18882
+ "leading": 20,
18883
+ "trailing": 20,
18884
+ "top": 8,
18885
+ "bottom": 8
18886
+ }
18887
+ }
18888
+ },
18889
+ {
18890
+ "id": "himi_business_chat.divider",
18891
+ "body": {
18892
+ "package": "himalaya",
18893
+ "type": "Divider",
18894
+ "props": {}
18895
+ }
18896
+ },
18897
+ {
18898
+ "id": "himi_business_chat.live_status",
18899
+ "body": {
18900
+ "package": "himalaya",
18901
+ "type": "Text",
18902
+ "props": {
18903
+ "text": "$service:businessChat.liveLabel",
18904
+ "style": "caption",
18905
+ "color": "textSecondary",
18906
+ "collapseWhenEmpty": true,
18907
+ "textDirection": "auto",
18908
+ "maxLines": 3
18909
+ }
18910
+ },
18911
+ "modifiers": {
18912
+ "hiddenPath": "$service:businessChat.noLiveLabel",
18913
+ "padding": {
18914
+ "leading": 20,
18915
+ "trailing": 20,
18916
+ "top": 8
18917
+ }
18918
+ }
18919
+ },
18920
+ {
18921
+ "id": "himi_business_chat.notice",
18922
+ "body": {
18923
+ "package": "himalaya",
18924
+ "type": "Text",
18925
+ "props": {
18926
+ "text": "$service:businessChat.noticeText",
18927
+ "style": "caption",
18928
+ "color": "danger",
18929
+ "collapseWhenEmpty": true,
18930
+ "textDirection": "auto",
18931
+ "maxLines": 3
18932
+ }
18933
+ },
18934
+ "modifiers": {
18935
+ "hiddenPath": "$service:businessChat.noErrorNotice",
18936
+ "padding": {
18937
+ "leading": 20,
18938
+ "trailing": 20,
18939
+ "top": 8
18940
+ }
18941
+ }
18942
+ },
18943
+ {
18944
+ "id": "himi_business_chat.notice_info",
18945
+ "body": {
18946
+ "package": "himalaya",
18947
+ "type": "Text",
18948
+ "props": {
18949
+ "text": "$service:businessChat.noticeText",
18950
+ "style": "caption",
18951
+ "color": "textSecondary",
18952
+ "collapseWhenEmpty": true,
18953
+ "textDirection": "auto",
18954
+ "maxLines": 3
18955
+ }
18956
+ },
18957
+ "modifiers": {
18958
+ "hiddenPath": "$service:businessChat.noInfoNotice",
18959
+ "padding": {
18960
+ "leading": 20,
18961
+ "trailing": 20,
18962
+ "top": 8
18963
+ }
18964
+ }
18965
+ },
18966
+ {
18967
+ "id": "himi_business_chat.retry",
18968
+ "body": {
18969
+ "package": "himalaya",
18970
+ "type": "Text",
18971
+ "props": {
18972
+ "text": "Try again",
18973
+ "style": "footnote",
18974
+ "color": "accentPrimary",
18975
+ "collapseWhenEmpty": true,
18976
+ "textDirection": "auto"
18977
+ }
18978
+ },
18979
+ "modifiers": {
18980
+ "onTap": {
18981
+ "actionId": "tier5.businessChat.init"
18982
+ },
18983
+ "accessibilityRole": "button",
18984
+ "padding": {
18985
+ "leading": 20,
18986
+ "trailing": 20,
18987
+ "top": 4
18988
+ },
18989
+ "hiddenPath": "$service:businessChat.retryHidden"
18713
18990
  }
18714
18991
  },
18715
18992
  {
@@ -18720,72 +18997,37 @@ const SCREENS = runtimeSetting({
18720
18997
  "props": {
18721
18998
  "children": [
18722
18999
  {
18723
- "id": "himi_business_chat.draft_shell",
19000
+ "id": "himi_business_chat.draft",
18724
19001
  "body": {
18725
19002
  "package": "himalaya",
18726
- "type": "ZStack",
19003
+ "type": "TextField",
18727
19004
  "props": {
18728
- "alignment": "center",
18729
- "children": [
18730
- {
18731
- "id": "himi_business_chat.draft_outline",
18732
- "body": {
18733
- "package": "himalaya",
18734
- "type": "VStack",
18735
- "props": {
18736
- "children": [],
18737
- "spacing": 0,
18738
- "alignment": "leading"
18739
- }
18740
- },
18741
- "modifiers": {
18742
- "fillMaxWidth": true,
18743
- "height": 40,
18744
- "background": {
18745
- "token": "surfacePrimary"
18746
- },
18747
- "cornerRadius": 20,
18748
- "border": {
18749
- "width": 1,
18750
- "color": {
18751
- "token": "border"
18752
- }
18753
- }
18754
- }
18755
- },
18756
- {
18757
- "id": "himi_business_chat.draft",
18758
- "body": {
18759
- "package": "himalaya",
18760
- "type": "TextField",
18761
- "props": {
18762
- "valuePath": "$service:businessChat.draft",
18763
- "onChange": {
18764
- "actionId": "tier5.businessChat.setDraft"
18765
- },
18766
- "placeholder": "Type your message…",
18767
- "maxLength": 4000,
18768
- "multilineMaxLines": 1,
18769
- "borderless": true
18770
- }
18771
- },
18772
- "modifiers": {
18773
- "fillMaxWidth": true,
18774
- "accessibilityLabel": "Type your message",
18775
- "padding": {
18776
- "leading": 8,
18777
- "trailing": 8,
18778
- "top": 0,
18779
- "bottom": 0
18780
- }
18781
- }
18782
- }
18783
- ]
19005
+ "valuePath": "$service:businessChat.draft",
19006
+ "onChange": {
19007
+ "actionId": "tier5.businessChat.setDraft"
19008
+ },
19009
+ "onSubmit": {
19010
+ "actionId": "tier5.businessChat.send"
19011
+ },
19012
+ "submitLabel": "send",
19013
+ "placeholder": "Type your message…",
19014
+ "maxLength": 4000,
19015
+ "multilineMaxLines": 1,
19016
+ "borderless": true
18784
19017
  }
18785
19018
  },
18786
19019
  "modifiers": {
18787
19020
  "weight": 1,
18788
- "fillMaxWidth": true
19021
+ "height": 44,
19022
+ "accessibilityLabel": "Type your message",
19023
+ "background": {
19024
+ "token": "surfaceSecondary"
19025
+ },
19026
+ "cornerRadius": 999,
19027
+ "padding": {
19028
+ "leading": 16,
19029
+ "trailing": 8
19030
+ }
18789
19031
  }
18790
19032
  },
18791
19033
  {
@@ -18809,11 +19051,11 @@ const SCREENS = runtimeSetting({
18809
19051
  },
18810
19052
  "modifiers": {
18811
19053
  "accessibilityRole": "decorative",
18812
- "width": 40,
18813
- "height": 40,
18814
- "cornerRadius": 20,
19054
+ "width": 44,
19055
+ "height": 44,
19056
+ "cornerRadius": 999,
18815
19057
  "background": {
18816
- "token": "surfaceSecondary"
19058
+ "token": "surfaceTertiary"
18817
19059
  }
18818
19060
  }
18819
19061
  },
@@ -18830,9 +19072,9 @@ const SCREENS = runtimeSetting({
18830
19072
  },
18831
19073
  "modifiers": {
18832
19074
  "accessibilityRole": "button",
18833
- "width": 40,
18834
- "height": 40,
18835
- "cornerRadius": 20,
19075
+ "width": 44,
19076
+ "height": 44,
19077
+ "cornerRadius": 999,
18836
19078
  "background": {
18837
19079
  "token": "accentPrimary"
18838
19080
  },
@@ -18847,22 +19089,22 @@ const SCREENS = runtimeSetting({
18847
19089
  }
18848
19090
  },
18849
19091
  "modifiers": {
18850
- "width": 40,
18851
- "height": 40
19092
+ "width": 44,
19093
+ "height": 44
18852
19094
  }
18853
19095
  }
18854
19096
  ],
18855
- "spacing": 6,
19097
+ "spacing": 8,
18856
19098
  "alignment": "center"
18857
19099
  }
18858
19100
  },
18859
19101
  "modifiers": {
18860
19102
  "fillMaxWidth": true,
18861
19103
  "padding": {
18862
- "leading": 8,
18863
- "trailing": 8,
18864
- "top": 0,
18865
- "bottom": 0
19104
+ "leading": 20,
19105
+ "trailing": 20,
19106
+ "top": 8,
19107
+ "bottom": 8
18866
19108
  }
18867
19109
  }
18868
19110
  }
@@ -18876,12 +19118,6 @@ const SCREENS = runtimeSetting({
18876
19118
  "hiddenPath": "$service:businessChat.isGuest",
18877
19119
  "background": {
18878
19120
  "token": "surfacePrimary"
18879
- },
18880
- "padding": {
18881
- "leading": 0,
18882
- "trailing": 0,
18883
- "top": 4,
18884
- "bottom": 0
18885
19121
  }
18886
19122
  }
18887
19123
  },