@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
@@ -11332,6 +11332,67 @@ const SCREENS = runtimeSetting({
11332
11332
  "spacing": 12,
11333
11333
  "alignment": "leading",
11334
11334
  "children": [
11335
+ {
11336
+ "id": "himi_sign_in.loading",
11337
+ "body": {
11338
+ "package": "himalaya",
11339
+ "type": "VStack",
11340
+ "props": {
11341
+ "spacing": 12,
11342
+ "alignment": "leading",
11343
+ "children": [
11344
+ {
11345
+ "id": "",
11346
+ "body": {
11347
+ "package": "himalaya",
11348
+ "type": "Skeleton",
11349
+ "props": {
11350
+ "width": 160,
11351
+ "height": 28,
11352
+ "cornerRadius": 6
11353
+ }
11354
+ }
11355
+ },
11356
+ {
11357
+ "id": "",
11358
+ "body": {
11359
+ "package": "himalaya",
11360
+ "type": "Skeleton",
11361
+ "props": {
11362
+ "height": 52,
11363
+ "cornerRadius": 8
11364
+ }
11365
+ }
11366
+ },
11367
+ {
11368
+ "id": "",
11369
+ "body": {
11370
+ "package": "himalaya",
11371
+ "type": "Skeleton",
11372
+ "props": {
11373
+ "height": 52,
11374
+ "cornerRadius": 8
11375
+ }
11376
+ }
11377
+ },
11378
+ {
11379
+ "id": "",
11380
+ "body": {
11381
+ "package": "himalaya",
11382
+ "type": "Skeleton",
11383
+ "props": {
11384
+ "height": 48,
11385
+ "cornerRadius": 24
11386
+ }
11387
+ }
11388
+ }
11389
+ ]
11390
+ }
11391
+ },
11392
+ "modifiers": {
11393
+ "hiddenPath": "$service:himiStoreAccount.hideFormSkeleton"
11394
+ }
11395
+ },
11335
11396
  {
11336
11397
  "id": "",
11337
11398
  "body": {
@@ -11431,7 +11492,6 @@ const SCREENS = runtimeSetting({
11431
11492
  "placeholder": "Email",
11432
11493
  "keyboard": "email",
11433
11494
  "validation": {
11434
- "required": true,
11435
11495
  "type": "email",
11436
11496
  "mode": "on_blur"
11437
11497
  },
@@ -11479,26 +11539,27 @@ const SCREENS = runtimeSetting({
11479
11539
  }
11480
11540
  },
11481
11541
  {
11482
- "id": "",
11542
+ "id": "himi_sign_in.message",
11483
11543
  "body": {
11484
11544
  "package": "himalaya",
11485
11545
  "type": "Text",
11486
11546
  "props": {
11487
- "text": "$service:himiStoreAccount.busyMessage",
11547
+ "text": "$service:himiStoreAccount.errorMessage",
11488
11548
  "style": "footnote",
11549
+ "color": "danger",
11489
11550
  "collapseWhenEmpty": true
11490
11551
  }
11491
11552
  }
11492
11553
  },
11493
11554
  {
11494
- "id": "himi_sign_in.message",
11555
+ "id": "himi_sign_in.notice",
11495
11556
  "body": {
11496
11557
  "package": "himalaya",
11497
11558
  "type": "Text",
11498
11559
  "props": {
11499
- "text": "$service:himiStoreAccount.message",
11560
+ "text": "$service:himiStoreAccount.noticeMessage",
11500
11561
  "style": "footnote",
11501
- "color": "textPrimary",
11562
+ "color": "success",
11502
11563
  "collapseWhenEmpty": true
11503
11564
  }
11504
11565
  }
@@ -11640,7 +11701,60 @@ const SCREENS = runtimeSetting({
11640
11701
  }
11641
11702
  },
11642
11703
  "modifiers": {
11643
- "hiddenPath": "$service:himiStoreAccount.isMember"
11704
+ "hiddenPath": "$service:himiStoreAccount.hideSignInForm"
11705
+ }
11706
+ },
11707
+ {
11708
+ "id": "",
11709
+ "body": {
11710
+ "package": "himalaya",
11711
+ "type": "VStack",
11712
+ "props": {
11713
+ "spacing": 12,
11714
+ "alignment": "leading",
11715
+ "children": [
11716
+ {
11717
+ "id": "himi_sign_in.pending_title",
11718
+ "body": {
11719
+ "package": "himalaya",
11720
+ "type": "Text",
11721
+ "props": {
11722
+ "text": "$service:himiStoreAccount.pendingTitle",
11723
+ "style": "title1"
11724
+ }
11725
+ }
11726
+ },
11727
+ {
11728
+ "id": "himi_sign_in.pending_body",
11729
+ "body": {
11730
+ "package": "himalaya",
11731
+ "type": "Text",
11732
+ "props": {
11733
+ "text": "$service:himiStoreAccount.pendingBody",
11734
+ "style": "body"
11735
+ }
11736
+ }
11737
+ },
11738
+ {
11739
+ "id": "himi_sign_in.pending_back",
11740
+ "body": {
11741
+ "package": "himalaya",
11742
+ "type": "Button",
11743
+ "props": {
11744
+ "title": "Back to Sign In",
11745
+ "style": "secondary",
11746
+ "fullWidth": true,
11747
+ "action": {
11748
+ "actionId": "tier5.himiStoreAccount.closePendingApproval"
11749
+ }
11750
+ }
11751
+ }
11752
+ }
11753
+ ]
11754
+ }
11755
+ },
11756
+ "modifiers": {
11757
+ "hiddenPath": "$service:himiStoreAccount.hidePendingApproval"
11644
11758
  }
11645
11759
  },
11646
11760
  {
@@ -11682,7 +11796,7 @@ const SCREENS = runtimeSetting({
11682
11796
  }
11683
11797
  },
11684
11798
  "modifiers": {
11685
- "hiddenPath": "$service:himiStoreAccount.notMember"
11799
+ "hiddenPath": "$service:himiStoreAccount.hideSignedIn"
11686
11800
  }
11687
11801
  }
11688
11802
  ]
@@ -12453,6 +12567,10 @@ const SCREENS = runtimeSetting({
12453
12567
  "screenId": "himi_business_chat",
12454
12568
  "renderer": "sdui_intent",
12455
12569
  "title": "Message the salon",
12570
+ "topBar": {
12571
+ "subtitle": "Lumine Aesthetics",
12572
+ "subtitlePath": "$service:businessChat.businessName"
12573
+ },
12456
12574
  "schemaVersion": 1,
12457
12575
  "cacheControl": {
12458
12576
  "maxAge": 0,
@@ -12473,192 +12591,187 @@ const SCREENS = runtimeSetting({
12473
12591
  "props": {
12474
12592
  "children": [
12475
12593
  {
12476
- "id": "himi_business_chat.loading_text",
12594
+ "id": "himi_business_chat.skeleton_1",
12477
12595
  "body": {
12478
12596
  "package": "himalaya",
12479
- "type": "Text",
12597
+ "type": "HStack",
12480
12598
  "props": {
12481
- "text": "Loading your conversation…",
12482
- "style": "body",
12483
- "color": "textSecondary",
12484
- "collapseWhenEmpty": true,
12485
- "textDirection": "auto"
12599
+ "children": [
12600
+ {
12601
+ "id": "himi_business_chat.skeleton_1.avatar",
12602
+ "body": {
12603
+ "package": "himalaya",
12604
+ "type": "Skeleton",
12605
+ "props": {
12606
+ "width": 32,
12607
+ "height": 32,
12608
+ "cornerRadius": 999
12609
+ }
12610
+ },
12611
+ "modifiers": {}
12612
+ },
12613
+ {
12614
+ "id": "himi_business_chat.skeleton_1.bubble",
12615
+ "body": {
12616
+ "package": "himalaya",
12617
+ "type": "Skeleton",
12618
+ "props": {
12619
+ "width": 220,
12620
+ "height": 52,
12621
+ "cornerRadius": 12
12622
+ }
12623
+ },
12624
+ "modifiers": {}
12625
+ },
12626
+ {
12627
+ "id": "himi_business_chat.skeleton_1.spacer",
12628
+ "body": {
12629
+ "package": "himalaya",
12630
+ "type": "Spacer",
12631
+ "props": {}
12632
+ },
12633
+ "modifiers": {}
12634
+ }
12635
+ ],
12636
+ "spacing": 8,
12637
+ "alignment": "leading"
12486
12638
  }
12487
12639
  },
12488
- "modifiers": {}
12640
+ "modifiers": {
12641
+ "fillMaxWidth": true,
12642
+ "padding": {
12643
+ "leading": 20,
12644
+ "trailing": 20,
12645
+ "top": 4,
12646
+ "bottom": 4
12647
+ }
12648
+ }
12489
12649
  },
12490
12650
  {
12491
- "id": "himi_business_chat.loading_row_1",
12651
+ "id": "himi_business_chat.skeleton_2",
12492
12652
  "body": {
12493
12653
  "package": "himalaya",
12494
- "type": "Skeleton",
12654
+ "type": "HStack",
12495
12655
  "props": {
12496
- "height": 62,
12497
- "cornerRadius": 16
12656
+ "children": [
12657
+ {
12658
+ "id": "himi_business_chat.skeleton_2.spacer",
12659
+ "body": {
12660
+ "package": "himalaya",
12661
+ "type": "Spacer",
12662
+ "props": {}
12663
+ },
12664
+ "modifiers": {}
12665
+ },
12666
+ {
12667
+ "id": "himi_business_chat.skeleton_2.bubble",
12668
+ "body": {
12669
+ "package": "himalaya",
12670
+ "type": "Skeleton",
12671
+ "props": {
12672
+ "width": 180,
12673
+ "height": 52,
12674
+ "cornerRadius": 12
12675
+ }
12676
+ },
12677
+ "modifiers": {}
12678
+ }
12679
+ ],
12680
+ "spacing": 8,
12681
+ "alignment": "leading"
12498
12682
  }
12499
12683
  },
12500
- "modifiers": {}
12684
+ "modifiers": {
12685
+ "fillMaxWidth": true,
12686
+ "padding": {
12687
+ "leading": 20,
12688
+ "trailing": 20,
12689
+ "top": 4,
12690
+ "bottom": 4
12691
+ }
12692
+ }
12501
12693
  },
12502
12694
  {
12503
- "id": "himi_business_chat.loading_row_2",
12695
+ "id": "himi_business_chat.skeleton_3",
12504
12696
  "body": {
12505
12697
  "package": "himalaya",
12506
- "type": "Skeleton",
12698
+ "type": "HStack",
12507
12699
  "props": {
12508
- "height": 84,
12509
- "cornerRadius": 16
12700
+ "children": [
12701
+ {
12702
+ "id": "himi_business_chat.skeleton_3.avatar",
12703
+ "body": {
12704
+ "package": "himalaya",
12705
+ "type": "Skeleton",
12706
+ "props": {
12707
+ "width": 32,
12708
+ "height": 32,
12709
+ "cornerRadius": 999
12710
+ }
12711
+ },
12712
+ "modifiers": {}
12713
+ },
12714
+ {
12715
+ "id": "himi_business_chat.skeleton_3.bubble",
12716
+ "body": {
12717
+ "package": "himalaya",
12718
+ "type": "Skeleton",
12719
+ "props": {
12720
+ "width": 230,
12721
+ "height": 52,
12722
+ "cornerRadius": 12
12723
+ }
12724
+ },
12725
+ "modifiers": {}
12726
+ },
12727
+ {
12728
+ "id": "himi_business_chat.skeleton_3.spacer",
12729
+ "body": {
12730
+ "package": "himalaya",
12731
+ "type": "Spacer",
12732
+ "props": {}
12733
+ },
12734
+ "modifiers": {}
12735
+ }
12736
+ ],
12737
+ "spacing": 8,
12738
+ "alignment": "leading"
12510
12739
  }
12511
12740
  },
12512
- "modifiers": {}
12741
+ "modifiers": {
12742
+ "fillMaxWidth": true,
12743
+ "padding": {
12744
+ "leading": 20,
12745
+ "trailing": 20,
12746
+ "top": 4,
12747
+ "bottom": 4
12748
+ }
12749
+ }
12513
12750
  }
12514
12751
  ],
12515
- "spacing": 12,
12752
+ "spacing": 0,
12516
12753
  "alignment": "leading"
12517
12754
  }
12518
12755
  },
12519
12756
  "modifiers": {
12520
12757
  "fillMaxWidth": true,
12521
- "padding": {
12522
- "leading": 16,
12523
- "trailing": 16,
12524
- "top": 20,
12525
- "bottom": 8
12526
- },
12758
+ "accessibilityLabel": "Loading your conversation…",
12527
12759
  "hiddenPath": "$service:businessChat.loadingHidden"
12528
12760
  }
12529
12761
  },
12530
12762
  {
12531
- "id": "himi_business_chat.error",
12763
+ "id": "himi_business_chat.messages",
12532
12764
  "body": {
12533
12765
  "package": "himalaya",
12534
- "type": "VStack",
12766
+ "type": "LazyList",
12535
12767
  "props": {
12536
- "children": [
12537
- {
12538
- "id": "himi_business_chat.error_text",
12539
- "body": {
12540
- "package": "himalaya",
12541
- "type": "Text",
12542
- "props": {
12543
- "text": "$service:businessChat.errorText",
12544
- "style": "body",
12545
- "color": "danger",
12546
- "collapseWhenEmpty": true,
12547
- "textDirection": "auto"
12548
- }
12549
- },
12550
- "modifiers": {}
12551
- },
12768
+ "itemsPath": "$service:businessChat.messages",
12769
+ "items": [
12552
12770
  {
12553
- "id": "himi_business_chat.load_failure",
12771
+ "id": "himi_business_chat.message_$item.id",
12554
12772
  "body": {
12555
12773
  "package": "himalaya",
12556
- "type": "Text",
12557
- "props": {
12558
- "text": "$service:businessChat.loadFailure",
12559
- "style": "caption",
12560
- "color": "textSecondary",
12561
- "collapseWhenEmpty": true,
12562
- "textDirection": "auto"
12563
- }
12564
- },
12565
- "modifiers": {}
12566
- },
12567
- {
12568
- "id": "himi_business_chat.sign_in",
12569
- "body": {
12570
- "package": "himalaya",
12571
- "type": "Button",
12572
- "props": {
12573
- "title": "Sign In",
12574
- "leadingIcon": "person",
12575
- "style": "primary",
12576
- "size": "md",
12577
- "fullWidth": false,
12578
- "action": {
12579
- "actionId": "himi.open",
12580
- "params": {
12581
- "screenId": "himi_sign_in",
12582
- "mode": "signin",
12583
- "modal": "1"
12584
- },
12585
- "presentation": "sheet"
12586
- }
12587
- }
12588
- },
12589
- "modifiers": {
12590
- "hiddenPath": "$service:businessChat.notGuest"
12591
- }
12592
- },
12593
- {
12594
- "id": "himi_business_chat.retry",
12595
- "body": {
12596
- "package": "himalaya",
12597
- "type": "Button",
12598
- "props": {
12599
- "title": "Try Again",
12600
- "action": {
12601
- "actionId": "tier5.businessChat.init"
12602
- },
12603
- "style": "secondary",
12604
- "size": "md",
12605
- "fullWidth": false
12606
- }
12607
- },
12608
- "modifiers": {
12609
- "hiddenPath": "$service:businessChat.isGuest"
12610
- }
12611
- }
12612
- ],
12613
- "spacing": 8,
12614
- "alignment": "leading"
12615
- }
12616
- },
12617
- "modifiers": {
12618
- "fillMaxWidth": true,
12619
- "padding": {
12620
- "leading": 16,
12621
- "trailing": 16,
12622
- "top": 12,
12623
- "bottom": 8
12624
- },
12625
- "hiddenPath": "$service:businessChat.noError"
12626
- }
12627
- },
12628
- {
12629
- "id": "himi_business_chat.empty",
12630
- "body": {
12631
- "package": "himalaya",
12632
- "type": "EmptyState",
12633
- "props": {
12634
- "title": "Message the salon",
12635
- "subtitle": "Ask about a treatment, a booking or a gift card.",
12636
- "icon": "chat"
12637
- }
12638
- },
12639
- "modifiers": {
12640
- "padding": {
12641
- "leading": 16,
12642
- "trailing": 16,
12643
- "top": 24,
12644
- "bottom": 24
12645
- },
12646
- "hiddenPath": "$service:businessChat.noEmpty"
12647
- }
12648
- },
12649
- {
12650
- "id": "himi_business_chat.messages",
12651
- "body": {
12652
- "package": "himalaya",
12653
- "type": "LazyList",
12654
- "props": {
12655
- "itemsPath": "$service:businessChat.messages",
12656
- "items": [
12657
- {
12658
- "id": "himi_business_chat.message_$item.id",
12659
- "body": {
12660
- "package": "himalaya",
12661
- "type": "VStack",
12774
+ "type": "VStack",
12662
12775
  "props": {
12663
12776
  "children": [
12664
12777
  {
@@ -12685,7 +12798,7 @@ const SCREENS = runtimeSetting({
12685
12798
  "props": {
12686
12799
  "text": "$item.dayLabel",
12687
12800
  "style": "caption",
12688
- "color": "textSecondary",
12801
+ "color": "textTertiary",
12689
12802
  "collapseWhenEmpty": true,
12690
12803
  "textDirection": "auto"
12691
12804
  }
@@ -12709,10 +12822,8 @@ const SCREENS = runtimeSetting({
12709
12822
  "modifiers": {
12710
12823
  "fillMaxWidth": true,
12711
12824
  "padding": {
12712
- "leading": 12,
12713
- "trailing": 12,
12714
- "top": 12,
12715
- "bottom": 4
12825
+ "top": 8,
12826
+ "bottom": 8
12716
12827
  },
12717
12828
  "hiddenPath": "$item.dayHidden"
12718
12829
  }
@@ -12725,21 +12836,36 @@ const SCREENS = runtimeSetting({
12725
12836
  "props": {
12726
12837
  "children": [
12727
12838
  {
12728
- "id": "himi_business_chat.avatar_$item.id",
12839
+ "id": "himi_business_chat.avatar_slot_$item.id",
12729
12840
  "body": {
12730
12841
  "package": "himalaya",
12731
- "type": "Image",
12842
+ "type": "VStack",
12732
12843
  "props": {
12733
- "initials": "$service:businessChat.businessInitials",
12734
- "width": 30,
12735
- "height": 30,
12736
- "contentMode": "fill",
12737
- "shape": "circle",
12738
- "contentDescription": "$service:businessChat.businessName"
12844
+ "children": [
12845
+ {
12846
+ "id": "himi_business_chat.avatar_$item.id",
12847
+ "body": {
12848
+ "package": "himalaya",
12849
+ "type": "Avatar",
12850
+ "props": {
12851
+ "imageUrl": "",
12852
+ "initials": "$service:businessChat.businessInitials",
12853
+ "size": 32
12854
+ }
12855
+ },
12856
+ "modifiers": {
12857
+ "accessibilityLabel": "$service:businessChat.businessName",
12858
+ "hiddenPath": "$item.hideAvatar"
12859
+ }
12860
+ }
12861
+ ],
12862
+ "spacing": 0,
12863
+ "alignment": "leading"
12739
12864
  }
12740
12865
  },
12741
12866
  "modifiers": {
12742
- "accessibilityLabel": "$service:businessChat.businessName"
12867
+ "fillMaxWidth": false,
12868
+ "width": 32
12743
12869
  }
12744
12870
  },
12745
12871
  {
@@ -12756,42 +12882,6 @@ const SCREENS = runtimeSetting({
12756
12882
  "type": "VStack",
12757
12883
  "props": {
12758
12884
  "children": [
12759
- {
12760
- "id": "himi_business_chat.incoming_sender_$item.id",
12761
- "body": {
12762
- "package": "himalaya",
12763
- "type": "Text",
12764
- "props": {
12765
- "text": "Lumine Aesthetics",
12766
- "style": "caption",
12767
- "color": "accentPrimary",
12768
- "collapseWhenEmpty": true,
12769
- "textDirection": "auto",
12770
- "maxLines": 1
12771
- }
12772
- },
12773
- "modifiers": {
12774
- "hiddenPath": "$service:businessChat.hasHostedName"
12775
- }
12776
- },
12777
- {
12778
- "id": "himi_business_chat.incoming_sender_hosted_$item.id",
12779
- "body": {
12780
- "package": "himalaya",
12781
- "type": "Text",
12782
- "props": {
12783
- "text": "$service:businessChat.hostedName",
12784
- "style": "caption",
12785
- "color": "accentPrimary",
12786
- "collapseWhenEmpty": true,
12787
- "textDirection": "auto",
12788
- "maxLines": 1
12789
- }
12790
- },
12791
- "modifiers": {
12792
- "hiddenPath": "$service:businessChat.noHostedName"
12793
- }
12794
- },
12795
12885
  {
12796
12886
  "id": "himi_business_chat.staff_badge_$item.id",
12797
12887
  "body": {
@@ -12801,6 +12891,7 @@ const SCREENS = runtimeSetting({
12801
12891
  "text": "$item.senderBadge",
12802
12892
  "style": "caption",
12803
12893
  "color": "accentPrimary",
12894
+ "maxLines": 1,
12804
12895
  "collapseWhenEmpty": true
12805
12896
  }
12806
12897
  },
@@ -12808,12 +12899,12 @@ const SCREENS = runtimeSetting({
12808
12899
  "background": {
12809
12900
  "token": "accentSurface"
12810
12901
  },
12811
- "cornerRadius": 12,
12902
+ "cornerRadius": 8,
12812
12903
  "padding": {
12813
- "leading": 10,
12814
- "trailing": 10,
12815
- "top": 3,
12816
- "bottom": 3
12904
+ "leading": 8,
12905
+ "trailing": 8,
12906
+ "top": 4,
12907
+ "bottom": 4
12817
12908
  }
12818
12909
  }
12819
12910
  },
@@ -12844,7 +12935,7 @@ const SCREENS = runtimeSetting({
12844
12935
  "type": "Text",
12845
12936
  "props": {
12846
12937
  "text": "$item.bodyMarkdown",
12847
- "style": "caption",
12938
+ "style": "footnote",
12848
12939
  "color": "textPrimary",
12849
12940
  "collapseWhenEmpty": true,
12850
12941
  "textDirection": "auto",
@@ -12924,7 +13015,7 @@ const SCREENS = runtimeSetting({
12924
13015
  }
12925
13016
  }
12926
13017
  ],
12927
- "spacing": 6
13018
+ "spacing": 4
12928
13019
  }
12929
13020
  },
12930
13021
  "modifiers": {
@@ -12960,7 +13051,7 @@ const SCREENS = runtimeSetting({
12960
13051
  "type": "Text",
12961
13052
  "props": {
12962
13053
  "text": "$item.label",
12963
- "style": "body",
13054
+ "style": "footnote",
12964
13055
  "color": "accentPrimary",
12965
13056
  "collapseWhenEmpty": true,
12966
13057
  "textDirection": "auto"
@@ -12975,12 +13066,12 @@ const SCREENS = runtimeSetting({
12975
13066
  },
12976
13067
  "modifiers": {
12977
13068
  "fillMaxWidth": true,
12978
- "cornerRadius": 16,
13069
+ "cornerRadius": 12,
12979
13070
  "padding": {
12980
- "leading": 14,
12981
- "trailing": 14,
12982
- "top": 10,
12983
- "bottom": 10
13071
+ "leading": 12,
13072
+ "trailing": 12,
13073
+ "top": 8,
13074
+ "bottom": 8
12984
13075
  },
12985
13076
  "background": {
12986
13077
  "token": "accentSurface"
@@ -13010,8 +13101,8 @@ const SCREENS = runtimeSetting({
13010
13101
  "type": "Text",
13011
13102
  "props": {
13012
13103
  "text": "$item.label",
13013
- "style": "body",
13014
- "color": "textSecondary",
13104
+ "style": "footnote",
13105
+ "color": "textTertiary",
13015
13106
  "collapseWhenEmpty": true,
13016
13107
  "textDirection": "auto"
13017
13108
  }
@@ -13025,15 +13116,15 @@ const SCREENS = runtimeSetting({
13025
13116
  },
13026
13117
  "modifiers": {
13027
13118
  "fillMaxWidth": true,
13028
- "cornerRadius": 16,
13119
+ "cornerRadius": 12,
13029
13120
  "padding": {
13030
- "leading": 14,
13031
- "trailing": 14,
13032
- "top": 10,
13033
- "bottom": 10
13121
+ "leading": 12,
13122
+ "trailing": 12,
13123
+ "top": 8,
13124
+ "bottom": 8
13034
13125
  },
13035
13126
  "background": {
13036
- "token": "surfaceElevated"
13127
+ "token": "surfacePrimary"
13037
13128
  },
13038
13129
  "hiddenPath": "$item.enabled"
13039
13130
  }
@@ -13048,51 +13139,30 @@ const SCREENS = runtimeSetting({
13048
13139
  }
13049
13140
  }
13050
13141
  ],
13051
- "spacing": 6,
13142
+ "spacing": 4,
13052
13143
  "horizontal": false
13053
13144
  }
13054
13145
  },
13055
13146
  "modifiers": {
13056
13147
  "fillMaxWidth": true
13057
13148
  }
13058
- },
13059
- {
13060
- "id": "himi_business_chat.incoming_time_$item.id",
13061
- "body": {
13062
- "package": "himalaya",
13063
- "type": "Text",
13064
- "props": {
13065
- "text": "$item.when",
13066
- "style": "caption",
13067
- "color": "textSecondary",
13068
- "collapseWhenEmpty": true,
13069
- "textDirection": "auto"
13070
- }
13071
- },
13072
- "modifiers": {}
13073
13149
  }
13074
13150
  ],
13075
- "spacing": 5,
13151
+ "spacing": 4,
13076
13152
  "alignment": "leading"
13077
13153
  }
13078
13154
  },
13079
13155
  "modifiers": {
13080
- "fillMaxWidth": true,
13156
+ "fillMaxWidth": false,
13081
13157
  "background": {
13082
- "token": "surfaceElevated"
13083
- },
13084
- "border": {
13085
- "width": 1,
13086
- "color": {
13087
- "token": "border"
13088
- }
13158
+ "token": "surfaceSecondary"
13089
13159
  },
13090
- "cornerRadius": 16,
13160
+ "cornerRadius": 12,
13091
13161
  "padding": {
13092
- "leading": 8,
13093
- "trailing": 8,
13094
- "top": 8,
13095
- "bottom": 8
13162
+ "leading": 16,
13163
+ "trailing": 16,
13164
+ "top": 16,
13165
+ "bottom": 16
13096
13166
  },
13097
13167
  "maxWidth": 300,
13098
13168
  "hiddenPath": "$item.isCard"
@@ -13105,42 +13175,6 @@ const SCREENS = runtimeSetting({
13105
13175
  "type": "VStack",
13106
13176
  "props": {
13107
13177
  "children": [
13108
- {
13109
- "id": "himi_business_chat.card_sender_$item.id",
13110
- "body": {
13111
- "package": "himalaya",
13112
- "type": "Text",
13113
- "props": {
13114
- "text": "Lumine Aesthetics",
13115
- "style": "caption",
13116
- "color": "accentPrimary",
13117
- "collapseWhenEmpty": true,
13118
- "textDirection": "auto",
13119
- "maxLines": 1
13120
- }
13121
- },
13122
- "modifiers": {
13123
- "hiddenPath": "$service:businessChat.hasHostedName"
13124
- }
13125
- },
13126
- {
13127
- "id": "himi_business_chat.card_sender_hosted_$item.id",
13128
- "body": {
13129
- "package": "himalaya",
13130
- "type": "Text",
13131
- "props": {
13132
- "text": "$service:businessChat.hostedName",
13133
- "style": "caption",
13134
- "color": "accentPrimary",
13135
- "collapseWhenEmpty": true,
13136
- "textDirection": "auto",
13137
- "maxLines": 1
13138
- }
13139
- },
13140
- "modifiers": {
13141
- "hiddenPath": "$service:businessChat.noHostedName"
13142
- }
13143
- },
13144
13178
  {
13145
13179
  "id": "himi_business_chat.card_badge_$item.id",
13146
13180
  "body": {
@@ -13150,6 +13184,7 @@ const SCREENS = runtimeSetting({
13150
13184
  "text": "$item.senderBadge",
13151
13185
  "style": "caption",
13152
13186
  "color": "accentPrimary",
13187
+ "maxLines": 1,
13153
13188
  "collapseWhenEmpty": true
13154
13189
  }
13155
13190
  },
@@ -13157,12 +13192,12 @@ const SCREENS = runtimeSetting({
13157
13192
  "background": {
13158
13193
  "token": "accentSurface"
13159
13194
  },
13160
- "cornerRadius": 12,
13195
+ "cornerRadius": 8,
13161
13196
  "padding": {
13162
- "leading": 10,
13163
- "trailing": 10,
13164
- "top": 3,
13165
- "bottom": 3
13197
+ "leading": 8,
13198
+ "trailing": 8,
13199
+ "top": 4,
13200
+ "bottom": 4
13166
13201
  }
13167
13202
  }
13168
13203
  },
@@ -13207,7 +13242,7 @@ const SCREENS = runtimeSetting({
13207
13242
  "type": "Text",
13208
13243
  "props": {
13209
13244
  "text": "$item.cardTitle",
13210
- "style": "body",
13245
+ "style": "footnote",
13211
13246
  "color": "textPrimary",
13212
13247
  "collapseWhenEmpty": true,
13213
13248
  "textDirection": "auto",
@@ -13224,8 +13259,8 @@ const SCREENS = runtimeSetting({
13224
13259
  "type": "Text",
13225
13260
  "props": {
13226
13261
  "text": "$item.cardDetail",
13227
- "style": "body",
13228
- "color": "textPrimary",
13262
+ "style": "footnote",
13263
+ "color": "textSecondary",
13229
13264
  "collapseWhenEmpty": true,
13230
13265
  "textDirection": "auto",
13231
13266
  "markdown": true,
@@ -13274,7 +13309,7 @@ const SCREENS = runtimeSetting({
13274
13309
  "type": "Text",
13275
13310
  "props": {
13276
13311
  "text": "$item.couponCode",
13277
- "style": "title3",
13312
+ "style": "bodyEmphasis",
13278
13313
  "color": "accentPrimary",
13279
13314
  "collapseWhenEmpty": true,
13280
13315
  "textDirection": "auto"
@@ -13283,7 +13318,7 @@ const SCREENS = runtimeSetting({
13283
13318
  "modifiers": {}
13284
13319
  }
13285
13320
  ],
13286
- "spacing": 2,
13321
+ "spacing": 4,
13287
13322
  "alignment": "center"
13288
13323
  }
13289
13324
  },
@@ -13292,7 +13327,7 @@ const SCREENS = runtimeSetting({
13292
13327
  "background": {
13293
13328
  "token": "accentSurface"
13294
13329
  },
13295
- "cornerRadius": 12,
13330
+ "cornerRadius": 8,
13296
13331
  "border": {
13297
13332
  "width": 1,
13298
13333
  "color": {
@@ -13300,10 +13335,10 @@ const SCREENS = runtimeSetting({
13300
13335
  }
13301
13336
  },
13302
13337
  "padding": {
13303
- "leading": 14,
13304
- "trailing": 14,
13305
- "top": 10,
13306
- "bottom": 10
13338
+ "leading": 12,
13339
+ "trailing": 12,
13340
+ "top": 8,
13341
+ "bottom": 8
13307
13342
  },
13308
13343
  "hiddenPath": "$item.noCoupon"
13309
13344
  }
@@ -13378,7 +13413,7 @@ const SCREENS = runtimeSetting({
13378
13413
  }
13379
13414
  }
13380
13415
  ],
13381
- "spacing": 6
13416
+ "spacing": 4
13382
13417
  }
13383
13418
  },
13384
13419
  "modifiers": {
@@ -13415,7 +13450,7 @@ const SCREENS = runtimeSetting({
13415
13450
  "type": "Text",
13416
13451
  "props": {
13417
13452
  "text": "$item.label",
13418
- "style": "body",
13453
+ "style": "footnote",
13419
13454
  "color": "accentPrimary",
13420
13455
  "collapseWhenEmpty": true,
13421
13456
  "textDirection": "auto"
@@ -13430,12 +13465,12 @@ const SCREENS = runtimeSetting({
13430
13465
  },
13431
13466
  "modifiers": {
13432
13467
  "fillMaxWidth": true,
13433
- "cornerRadius": 16,
13468
+ "cornerRadius": 12,
13434
13469
  "padding": {
13435
- "leading": 14,
13436
- "trailing": 14,
13437
- "top": 10,
13438
- "bottom": 10
13470
+ "leading": 12,
13471
+ "trailing": 12,
13472
+ "top": 8,
13473
+ "bottom": 8
13439
13474
  },
13440
13475
  "background": {
13441
13476
  "token": "accentSurface"
@@ -13465,8 +13500,8 @@ const SCREENS = runtimeSetting({
13465
13500
  "type": "Text",
13466
13501
  "props": {
13467
13502
  "text": "$item.label",
13468
- "style": "body",
13469
- "color": "textSecondary",
13503
+ "style": "footnote",
13504
+ "color": "textTertiary",
13470
13505
  "collapseWhenEmpty": true,
13471
13506
  "textDirection": "auto"
13472
13507
  }
@@ -13480,15 +13515,15 @@ const SCREENS = runtimeSetting({
13480
13515
  },
13481
13516
  "modifiers": {
13482
13517
  "fillMaxWidth": true,
13483
- "cornerRadius": 16,
13518
+ "cornerRadius": 12,
13484
13519
  "padding": {
13485
- "leading": 14,
13486
- "trailing": 14,
13487
- "top": 10,
13488
- "bottom": 10
13520
+ "leading": 12,
13521
+ "trailing": 12,
13522
+ "top": 8,
13523
+ "bottom": 8
13489
13524
  },
13490
13525
  "background": {
13491
- "token": "surfaceElevated"
13526
+ "token": "surfacePrimary"
13492
13527
  },
13493
13528
  "hiddenPath": "$item.enabled"
13494
13529
  }
@@ -13503,7 +13538,7 @@ const SCREENS = runtimeSetting({
13503
13538
  }
13504
13539
  }
13505
13540
  ],
13506
- "spacing": 6,
13541
+ "spacing": 4,
13507
13542
  "horizontal": false
13508
13543
  }
13509
13544
  },
@@ -13520,7 +13555,7 @@ const SCREENS = runtimeSetting({
13520
13555
  "modifiers": {
13521
13556
  "fillMaxWidth": true,
13522
13557
  "background": {
13523
- "token": "surfaceElevated"
13558
+ "token": "surfacePrimary"
13524
13559
  },
13525
13560
  "border": {
13526
13561
  "width": 1,
@@ -13528,33 +13563,18 @@ const SCREENS = runtimeSetting({
13528
13563
  "token": "border"
13529
13564
  }
13530
13565
  },
13531
- "cornerRadius": 8,
13566
+ "cornerRadius": 12,
13532
13567
  "padding": {
13533
13568
  "leading": 12,
13534
13569
  "trailing": 12,
13535
13570
  "top": 12,
13536
- "bottom": 8
13571
+ "bottom": 12
13537
13572
  },
13538
- "maxWidth": 270
13573
+ "maxWidth": 300
13539
13574
  }
13540
- },
13541
- {
13542
- "id": "himi_business_chat.card_time_$item.id",
13543
- "body": {
13544
- "package": "himalaya",
13545
- "type": "Text",
13546
- "props": {
13547
- "text": "$item.when",
13548
- "style": "caption",
13549
- "color": "textSecondary",
13550
- "collapseWhenEmpty": true,
13551
- "textDirection": "auto"
13552
- }
13553
- },
13554
- "modifiers": {}
13555
13575
  }
13556
13576
  ],
13557
- "spacing": 7,
13577
+ "spacing": 4,
13558
13578
  "alignment": "leading"
13559
13579
  }
13560
13580
  },
@@ -13562,14 +13582,29 @@ const SCREENS = runtimeSetting({
13562
13582
  "fillMaxWidth": true,
13563
13583
  "hiddenPath": "$item.notCard"
13564
13584
  }
13585
+ },
13586
+ {
13587
+ "id": "himi_business_chat.incoming_time_$item.id",
13588
+ "body": {
13589
+ "package": "himalaya",
13590
+ "type": "Text",
13591
+ "props": {
13592
+ "text": "$item.when",
13593
+ "style": "caption",
13594
+ "color": "textTertiary",
13595
+ "collapseWhenEmpty": true,
13596
+ "textDirection": "auto"
13597
+ }
13598
+ },
13599
+ "modifiers": {}
13565
13600
  }
13566
13601
  ],
13567
- "spacing": 0,
13602
+ "spacing": 4,
13568
13603
  "alignment": "leading"
13569
13604
  }
13570
13605
  },
13571
13606
  "modifiers": {
13572
- "fillMaxWidth": true
13607
+ "fillMaxWidth": false
13573
13608
  }
13574
13609
  },
13575
13610
  {
@@ -13582,7 +13617,7 @@ const SCREENS = runtimeSetting({
13582
13617
  "modifiers": {}
13583
13618
  }
13584
13619
  ],
13585
- "spacing": 6,
13620
+ "spacing": 8,
13586
13621
  "alignment": "leading"
13587
13622
  }
13588
13623
  },
@@ -13608,62 +13643,74 @@ const SCREENS = runtimeSetting({
13608
13643
  "modifiers": {}
13609
13644
  },
13610
13645
  {
13611
- "id": "himi_business_chat.outgoing_bubble_$item.id",
13646
+ "id": "himi_business_chat.outgoing_message_$item.id",
13612
13647
  "body": {
13613
13648
  "package": "himalaya",
13614
13649
  "type": "VStack",
13615
13650
  "props": {
13616
13651
  "children": [
13617
13652
  {
13618
- "id": "himi_business_chat.outgoing_sender_$item.id",
13619
- "body": {
13620
- "package": "himalaya",
13621
- "type": "Text",
13622
- "props": {
13623
- "text": "$item.senderName",
13624
- "style": "caption",
13625
- "color": "textOnAccent",
13626
- "collapseWhenEmpty": true,
13627
- "textDirection": "auto"
13628
- }
13629
- },
13630
- "modifiers": {}
13631
- },
13632
- {
13633
- "id": "himi_business_chat.outgoing_attachment_$item.id",
13634
- "body": {
13635
- "package": "himalaya",
13636
- "type": "Image",
13637
- "props": {
13638
- "url": "$item.imageUrl",
13639
- "fillWidth": true,
13640
- "aspectRatio": 1.5,
13641
- "contentMode": "fit",
13642
- "contentDescription": "$item.imageDescription"
13643
- }
13644
- },
13645
- "modifiers": {
13646
- "fillMaxWidth": true,
13647
- "cornerRadius": 12,
13648
- "accessibilityLabel": "$item.imageDescription",
13649
- "hiddenPath": "$item.noImage"
13650
- }
13651
- },
13652
- {
13653
- "id": "himi_business_chat.outgoing_text_$item.id",
13653
+ "id": "himi_business_chat.outgoing_bubble_$item.id",
13654
13654
  "body": {
13655
13655
  "package": "himalaya",
13656
- "type": "Text",
13656
+ "type": "VStack",
13657
13657
  "props": {
13658
- "text": "$item.bodyText",
13659
- "style": "caption",
13660
- "color": "textOnAccent",
13661
- "collapseWhenEmpty": true,
13662
- "textDirection": "auto",
13663
- "maxLines": 1000
13658
+ "children": [
13659
+ {
13660
+ "id": "himi_business_chat.outgoing_attachment_$item.id",
13661
+ "body": {
13662
+ "package": "himalaya",
13663
+ "type": "Image",
13664
+ "props": {
13665
+ "url": "$item.imageUrl",
13666
+ "fillWidth": true,
13667
+ "aspectRatio": 1.5,
13668
+ "contentMode": "fit",
13669
+ "contentDescription": "$item.imageDescription"
13670
+ }
13671
+ },
13672
+ "modifiers": {
13673
+ "fillMaxWidth": true,
13674
+ "cornerRadius": 12,
13675
+ "accessibilityLabel": "$item.imageDescription",
13676
+ "hiddenPath": "$item.noImage"
13677
+ }
13678
+ },
13679
+ {
13680
+ "id": "himi_business_chat.outgoing_text_$item.id",
13681
+ "body": {
13682
+ "package": "himalaya",
13683
+ "type": "Text",
13684
+ "props": {
13685
+ "text": "$item.bodyText",
13686
+ "style": "footnote",
13687
+ "color": "textPrimary",
13688
+ "collapseWhenEmpty": true,
13689
+ "textDirection": "auto",
13690
+ "maxLines": 1000
13691
+ }
13692
+ },
13693
+ "modifiers": {}
13694
+ }
13695
+ ],
13696
+ "spacing": 4,
13697
+ "alignment": "leading"
13664
13698
  }
13665
13699
  },
13666
- "modifiers": {}
13700
+ "modifiers": {
13701
+ "fillMaxWidth": false,
13702
+ "background": {
13703
+ "token": "accentSurface"
13704
+ },
13705
+ "cornerRadius": 12,
13706
+ "padding": {
13707
+ "leading": 16,
13708
+ "trailing": 16,
13709
+ "top": 16,
13710
+ "bottom": 16
13711
+ },
13712
+ "maxWidth": 300
13713
+ }
13667
13714
  },
13668
13715
  {
13669
13716
  "id": "himi_business_chat.outgoing_time_$item.id",
@@ -13673,7 +13720,7 @@ const SCREENS = runtimeSetting({
13673
13720
  "props": {
13674
13721
  "text": "$item.when",
13675
13722
  "style": "caption",
13676
- "color": "textOnAccent",
13723
+ "color": "textTertiary",
13677
13724
  "collapseWhenEmpty": true,
13678
13725
  "textDirection": "auto"
13679
13726
  }
@@ -13681,27 +13728,16 @@ const SCREENS = runtimeSetting({
13681
13728
  "modifiers": {}
13682
13729
  }
13683
13730
  ],
13684
- "spacing": 5,
13685
- "alignment": "leading"
13731
+ "spacing": 4,
13732
+ "alignment": "trailing"
13686
13733
  }
13687
13734
  },
13688
13735
  "modifiers": {
13689
- "fillMaxWidth": true,
13690
- "background": {
13691
- "token": "accentPrimary"
13692
- },
13693
- "cornerRadius": 16,
13694
- "padding": {
13695
- "leading": 8,
13696
- "trailing": 8,
13697
- "top": 8,
13698
- "bottom": 8
13699
- },
13700
- "maxWidth": 300
13736
+ "fillMaxWidth": false
13701
13737
  }
13702
13738
  }
13703
13739
  ],
13704
- "spacing": 6,
13740
+ "spacing": 8,
13705
13741
  "alignment": "leading"
13706
13742
  }
13707
13743
  },
@@ -13711,15 +13747,15 @@ const SCREENS = runtimeSetting({
13711
13747
  }
13712
13748
  }
13713
13749
  ],
13714
- "spacing": 4,
13750
+ "spacing": 8,
13715
13751
  "alignment": "leading"
13716
13752
  }
13717
13753
  },
13718
13754
  "modifiers": {
13719
13755
  "fillMaxWidth": true,
13720
13756
  "padding": {
13721
- "leading": 8,
13722
- "trailing": 8,
13757
+ "leading": 20,
13758
+ "trailing": 20,
13723
13759
  "top": 4,
13724
13760
  "bottom": 4
13725
13761
  }
@@ -13730,6 +13766,139 @@ const SCREENS = runtimeSetting({
13730
13766
  }
13731
13767
  },
13732
13768
  "modifiers": {}
13769
+ },
13770
+ {
13771
+ "id": "himi_business_chat.states",
13772
+ "body": {
13773
+ "package": "himalaya",
13774
+ "type": "VStack",
13775
+ "props": {
13776
+ "children": [
13777
+ {
13778
+ "id": "himi_business_chat.states_top",
13779
+ "body": {
13780
+ "package": "himalaya",
13781
+ "type": "Spacer",
13782
+ "props": {}
13783
+ },
13784
+ "modifiers": {}
13785
+ },
13786
+ {
13787
+ "id": "himi_business_chat.error",
13788
+ "body": {
13789
+ "package": "himalaya",
13790
+ "type": "VStack",
13791
+ "props": {
13792
+ "children": [
13793
+ {
13794
+ "id": "himi_business_chat.error_group",
13795
+ "body": {
13796
+ "package": "himalaya",
13797
+ "type": "VStack",
13798
+ "props": {
13799
+ "children": [
13800
+ {
13801
+ "id": "himi_business_chat.load_error",
13802
+ "body": {
13803
+ "package": "himalaya",
13804
+ "type": "ErrorState",
13805
+ "props": {
13806
+ "variant": "server",
13807
+ "placement": "section",
13808
+ "ctaLabel": "Try Again",
13809
+ "cta": {
13810
+ "actionId": "tier5.businessChat.init"
13811
+ }
13812
+ }
13813
+ },
13814
+ "modifiers": {
13815
+ "hiddenPath": "$service:businessChat.isGuest"
13816
+ }
13817
+ }
13818
+ ],
13819
+ "spacing": 0,
13820
+ "alignment": "leading"
13821
+ }
13822
+ },
13823
+ "modifiers": {
13824
+ "fillMaxWidth": true,
13825
+ "hiddenPath": "$service:businessChat.hideLoadError"
13826
+ }
13827
+ }
13828
+ ],
13829
+ "spacing": 0,
13830
+ "alignment": "leading"
13831
+ }
13832
+ },
13833
+ "modifiers": {
13834
+ "fillMaxWidth": true
13835
+ }
13836
+ },
13837
+ {
13838
+ "id": "himi_business_chat.sign_in",
13839
+ "body": {
13840
+ "package": "himalaya",
13841
+ "type": "ErrorState",
13842
+ "props": {
13843
+ "variant": "signIn",
13844
+ "placement": "section",
13845
+ "title": "Sign in to message the salon.",
13846
+ "ctaLabel": "Sign In",
13847
+ "cta": {
13848
+ "actionId": "himi.open",
13849
+ "params": {
13850
+ "screenId": "himi_sign_in",
13851
+ "mode": "signin",
13852
+ "modal": "1"
13853
+ },
13854
+ "presentation": "sheet"
13855
+ }
13856
+ }
13857
+ },
13858
+ "modifiers": {
13859
+ "hiddenPath": "$service:businessChat.notGuest"
13860
+ }
13861
+ },
13862
+ {
13863
+ "id": "himi_business_chat.empty",
13864
+ "body": {
13865
+ "package": "himalaya",
13866
+ "type": "EmptyState",
13867
+ "props": {
13868
+ "icon": "chat",
13869
+ "title": "Message the salon",
13870
+ "subtitle": "Ask about a treatment, a booking or a gift card."
13871
+ }
13872
+ },
13873
+ "modifiers": {
13874
+ "padding": {
13875
+ "leading": 20,
13876
+ "trailing": 20,
13877
+ "top": 24,
13878
+ "bottom": 24
13879
+ },
13880
+ "hiddenPath": "$service:businessChat.noEmpty"
13881
+ }
13882
+ },
13883
+ {
13884
+ "id": "himi_business_chat.states_bottom",
13885
+ "body": {
13886
+ "package": "himalaya",
13887
+ "type": "Spacer",
13888
+ "props": {}
13889
+ },
13890
+ "modifiers": {}
13891
+ }
13892
+ ],
13893
+ "spacing": 0,
13894
+ "alignment": "center"
13895
+ }
13896
+ },
13897
+ "modifiers": {
13898
+ "fillMaxWidth": true,
13899
+ "weight": 1,
13900
+ "hiddenPath": "$service:businessChat.hasMessages"
13901
+ }
13733
13902
  }
13734
13903
  ],
13735
13904
  "spacing": 0,
@@ -13739,7 +13908,7 @@ const SCREENS = runtimeSetting({
13739
13908
  "modifiers": {
13740
13909
  "fillMaxWidth": true,
13741
13910
  "background": {
13742
- "token": "surfaceSecondary"
13911
+ "token": "surfacePrimary"
13743
13912
  },
13744
13913
  "onAppear": {
13745
13914
  "actionId": "tier5.businessChat.init",
@@ -13796,94 +13965,6 @@ const SCREENS = runtimeSetting({
13796
13965
  "minBinaryVersion": "0.1.0",
13797
13966
  "bundleVersion": "0.1.0"
13798
13967
  },
13799
- "stickyHeader": {
13800
- "id": "himi_business_chat.header",
13801
- "body": {
13802
- "package": "himalaya",
13803
- "type": "HStack",
13804
- "props": {
13805
- "children": [
13806
- {
13807
- "id": "himi_business_chat.header_title",
13808
- "body": {
13809
- "package": "himalaya",
13810
- "type": "Text",
13811
- "props": {
13812
- "text": "Lumine Aesthetics",
13813
- "style": "title3",
13814
- "color": "textOnAccent",
13815
- "collapseWhenEmpty": true,
13816
- "textDirection": "auto",
13817
- "maxLines": 1
13818
- }
13819
- },
13820
- "modifiers": {
13821
- "hiddenPath": "$service:businessChat.hasHostedName"
13822
- }
13823
- },
13824
- {
13825
- "id": "himi_business_chat.header_title_hosted",
13826
- "body": {
13827
- "package": "himalaya",
13828
- "type": "Text",
13829
- "props": {
13830
- "text": "$service:businessChat.hostedName",
13831
- "style": "title3",
13832
- "color": "textOnAccent",
13833
- "collapseWhenEmpty": true,
13834
- "textDirection": "auto",
13835
- "maxLines": 1
13836
- }
13837
- },
13838
- "modifiers": {
13839
- "hiddenPath": "$service:businessChat.noHostedName"
13840
- }
13841
- },
13842
- {
13843
- "id": "himi_business_chat.header_spacer",
13844
- "body": {
13845
- "package": "himalaya",
13846
- "type": "Spacer",
13847
- "props": {}
13848
- },
13849
- "modifiers": {}
13850
- },
13851
- {
13852
- "id": "himi_business_chat.live_status",
13853
- "body": {
13854
- "package": "himalaya",
13855
- "type": "Text",
13856
- "props": {
13857
- "text": "$service:businessChat.liveLabel",
13858
- "style": "caption",
13859
- "color": "textOnAccent",
13860
- "collapseWhenEmpty": true,
13861
- "textDirection": "auto",
13862
- "maxLines": 1
13863
- }
13864
- },
13865
- "modifiers": {
13866
- "hiddenPath": "$service:businessChat.noActiveRoom"
13867
- }
13868
- }
13869
- ],
13870
- "spacing": 8,
13871
- "alignment": "leading"
13872
- }
13873
- },
13874
- "modifiers": {
13875
- "fillMaxWidth": true,
13876
- "background": {
13877
- "token": "accentPrimary"
13878
- },
13879
- "padding": {
13880
- "leading": 16,
13881
- "trailing": 16,
13882
- "top": 12,
13883
- "bottom": 12
13884
- }
13885
- }
13886
- },
13887
13968
  "stickyFooter": {
13888
13969
  "id": "himi_business_chat.footer",
13889
13970
  "body": {
@@ -13920,7 +14001,7 @@ const SCREENS = runtimeSetting({
13920
14001
  "type": "Text",
13921
14002
  "props": {
13922
14003
  "text": "$item.label",
13923
- "style": "caption",
14004
+ "style": "footnote",
13924
14005
  "color": "accentPrimary",
13925
14006
  "collapseWhenEmpty": true,
13926
14007
  "textDirection": "auto",
@@ -13936,12 +14017,12 @@ const SCREENS = runtimeSetting({
13936
14017
  },
13937
14018
  "modifiers": {
13938
14019
  "fillMaxWidth": false,
13939
- "cornerRadius": 12,
14020
+ "cornerRadius": 999,
13940
14021
  "padding": {
13941
- "leading": 10,
13942
- "trailing": 10,
13943
- "top": 5,
13944
- "bottom": 5
14022
+ "leading": 12,
14023
+ "trailing": 12,
14024
+ "top": 8,
14025
+ "bottom": 8
13945
14026
  },
13946
14027
  "background": {
13947
14028
  "token": "accentSurface"
@@ -13971,8 +14052,8 @@ const SCREENS = runtimeSetting({
13971
14052
  "type": "Text",
13972
14053
  "props": {
13973
14054
  "text": "$item.label",
13974
- "style": "caption",
13975
- "color": "textSecondary",
14055
+ "style": "footnote",
14056
+ "color": "textTertiary",
13976
14057
  "collapseWhenEmpty": true,
13977
14058
  "textDirection": "auto",
13978
14059
  "maxLines": 1
@@ -13987,12 +14068,12 @@ const SCREENS = runtimeSetting({
13987
14068
  },
13988
14069
  "modifiers": {
13989
14070
  "fillMaxWidth": false,
13990
- "cornerRadius": 12,
14071
+ "cornerRadius": 999,
13991
14072
  "padding": {
13992
- "leading": 10,
13993
- "trailing": 10,
13994
- "top": 5,
13995
- "bottom": 5
14073
+ "leading": 12,
14074
+ "trailing": 12,
14075
+ "top": 8,
14076
+ "bottom": 8
13996
14077
  },
13997
14078
  "background": {
13998
14079
  "token": "surfaceSecondary"
@@ -14016,7 +14097,116 @@ const SCREENS = runtimeSetting({
14016
14097
  },
14017
14098
  "modifiers": {
14018
14099
  "fillMaxWidth": true,
14019
- "hiddenPath": "$service:businessChat.noQuickReplies"
14100
+ "hiddenPath": "$service:businessChat.noQuickReplies",
14101
+ "padding": {
14102
+ "leading": 20,
14103
+ "trailing": 20,
14104
+ "top": 8,
14105
+ "bottom": 8
14106
+ }
14107
+ }
14108
+ },
14109
+ {
14110
+ "id": "himi_business_chat.divider",
14111
+ "body": {
14112
+ "package": "himalaya",
14113
+ "type": "Divider",
14114
+ "props": {}
14115
+ }
14116
+ },
14117
+ {
14118
+ "id": "himi_business_chat.live_status",
14119
+ "body": {
14120
+ "package": "himalaya",
14121
+ "type": "Text",
14122
+ "props": {
14123
+ "text": "$service:businessChat.liveLabel",
14124
+ "style": "caption",
14125
+ "color": "textSecondary",
14126
+ "collapseWhenEmpty": true,
14127
+ "textDirection": "auto",
14128
+ "maxLines": 3
14129
+ }
14130
+ },
14131
+ "modifiers": {
14132
+ "hiddenPath": "$service:businessChat.noLiveLabel",
14133
+ "padding": {
14134
+ "leading": 20,
14135
+ "trailing": 20,
14136
+ "top": 8
14137
+ }
14138
+ }
14139
+ },
14140
+ {
14141
+ "id": "himi_business_chat.notice",
14142
+ "body": {
14143
+ "package": "himalaya",
14144
+ "type": "Text",
14145
+ "props": {
14146
+ "text": "$service:businessChat.noticeText",
14147
+ "style": "caption",
14148
+ "color": "danger",
14149
+ "collapseWhenEmpty": true,
14150
+ "textDirection": "auto",
14151
+ "maxLines": 3
14152
+ }
14153
+ },
14154
+ "modifiers": {
14155
+ "hiddenPath": "$service:businessChat.noErrorNotice",
14156
+ "padding": {
14157
+ "leading": 20,
14158
+ "trailing": 20,
14159
+ "top": 8
14160
+ }
14161
+ }
14162
+ },
14163
+ {
14164
+ "id": "himi_business_chat.notice_info",
14165
+ "body": {
14166
+ "package": "himalaya",
14167
+ "type": "Text",
14168
+ "props": {
14169
+ "text": "$service:businessChat.noticeText",
14170
+ "style": "caption",
14171
+ "color": "textSecondary",
14172
+ "collapseWhenEmpty": true,
14173
+ "textDirection": "auto",
14174
+ "maxLines": 3
14175
+ }
14176
+ },
14177
+ "modifiers": {
14178
+ "hiddenPath": "$service:businessChat.noInfoNotice",
14179
+ "padding": {
14180
+ "leading": 20,
14181
+ "trailing": 20,
14182
+ "top": 8
14183
+ }
14184
+ }
14185
+ },
14186
+ {
14187
+ "id": "himi_business_chat.retry",
14188
+ "body": {
14189
+ "package": "himalaya",
14190
+ "type": "Text",
14191
+ "props": {
14192
+ "text": "Try Again",
14193
+ "style": "footnote",
14194
+ "color": "accentPrimary",
14195
+ "collapseWhenEmpty": true,
14196
+ "textDirection": "auto"
14197
+ }
14198
+ },
14199
+ "modifiers": {
14200
+ "onTap": {
14201
+ "actionId": "tier5.businessChat.init"
14202
+ },
14203
+ "accessibilityRole": "button",
14204
+ "padding": {
14205
+ "leading": 20,
14206
+ "trailing": 20,
14207
+ "top": 4
14208
+ },
14209
+ "hiddenPath": "$service:businessChat.retryHidden"
14020
14210
  }
14021
14211
  },
14022
14212
  {
@@ -14027,72 +14217,37 @@ const SCREENS = runtimeSetting({
14027
14217
  "props": {
14028
14218
  "children": [
14029
14219
  {
14030
- "id": "himi_business_chat.draft_shell",
14220
+ "id": "himi_business_chat.draft",
14031
14221
  "body": {
14032
14222
  "package": "himalaya",
14033
- "type": "ZStack",
14223
+ "type": "TextField",
14034
14224
  "props": {
14035
- "alignment": "center",
14036
- "children": [
14037
- {
14038
- "id": "himi_business_chat.draft_outline",
14039
- "body": {
14040
- "package": "himalaya",
14041
- "type": "VStack",
14042
- "props": {
14043
- "children": [],
14044
- "spacing": 0,
14045
- "alignment": "leading"
14046
- }
14047
- },
14048
- "modifiers": {
14049
- "fillMaxWidth": true,
14050
- "height": 40,
14051
- "background": {
14052
- "token": "surfacePrimary"
14053
- },
14054
- "cornerRadius": 20,
14055
- "border": {
14056
- "width": 1,
14057
- "color": {
14058
- "token": "border"
14059
- }
14060
- }
14061
- }
14062
- },
14063
- {
14064
- "id": "himi_business_chat.draft",
14065
- "body": {
14066
- "package": "himalaya",
14067
- "type": "TextField",
14068
- "props": {
14069
- "valuePath": "$service:businessChat.draft",
14070
- "onChange": {
14071
- "actionId": "tier5.businessChat.setDraft"
14072
- },
14073
- "placeholder": "Type your message…",
14074
- "maxLength": 4000,
14075
- "multilineMaxLines": 1,
14076
- "borderless": true
14077
- }
14078
- },
14079
- "modifiers": {
14080
- "fillMaxWidth": true,
14081
- "accessibilityLabel": "Type your message",
14082
- "padding": {
14083
- "leading": 8,
14084
- "trailing": 8,
14085
- "top": 0,
14086
- "bottom": 0
14087
- }
14088
- }
14089
- }
14090
- ]
14225
+ "valuePath": "$service:businessChat.draft",
14226
+ "onChange": {
14227
+ "actionId": "tier5.businessChat.setDraft"
14228
+ },
14229
+ "onSubmit": {
14230
+ "actionId": "tier5.businessChat.send"
14231
+ },
14232
+ "submitLabel": "send",
14233
+ "placeholder": "Type your message…",
14234
+ "maxLength": 4000,
14235
+ "multilineMaxLines": 1,
14236
+ "borderless": true
14091
14237
  }
14092
14238
  },
14093
14239
  "modifiers": {
14094
14240
  "weight": 1,
14095
- "fillMaxWidth": true
14241
+ "height": 44,
14242
+ "accessibilityLabel": "Type your message",
14243
+ "background": {
14244
+ "token": "surfaceSecondary"
14245
+ },
14246
+ "cornerRadius": 999,
14247
+ "padding": {
14248
+ "leading": 16,
14249
+ "trailing": 8
14250
+ }
14096
14251
  }
14097
14252
  },
14098
14253
  {
@@ -14116,11 +14271,11 @@ const SCREENS = runtimeSetting({
14116
14271
  },
14117
14272
  "modifiers": {
14118
14273
  "accessibilityRole": "decorative",
14119
- "width": 40,
14120
- "height": 40,
14121
- "cornerRadius": 20,
14274
+ "width": 44,
14275
+ "height": 44,
14276
+ "cornerRadius": 999,
14122
14277
  "background": {
14123
- "token": "surfaceSecondary"
14278
+ "token": "surfaceTertiary"
14124
14279
  }
14125
14280
  }
14126
14281
  },
@@ -14137,9 +14292,9 @@ const SCREENS = runtimeSetting({
14137
14292
  },
14138
14293
  "modifiers": {
14139
14294
  "accessibilityRole": "button",
14140
- "width": 40,
14141
- "height": 40,
14142
- "cornerRadius": 20,
14295
+ "width": 44,
14296
+ "height": 44,
14297
+ "cornerRadius": 999,
14143
14298
  "background": {
14144
14299
  "token": "accentPrimary"
14145
14300
  },
@@ -14154,22 +14309,22 @@ const SCREENS = runtimeSetting({
14154
14309
  }
14155
14310
  },
14156
14311
  "modifiers": {
14157
- "width": 40,
14158
- "height": 40
14312
+ "width": 44,
14313
+ "height": 44
14159
14314
  }
14160
14315
  }
14161
14316
  ],
14162
- "spacing": 6,
14317
+ "spacing": 8,
14163
14318
  "alignment": "center"
14164
14319
  }
14165
14320
  },
14166
14321
  "modifiers": {
14167
14322
  "fillMaxWidth": true,
14168
14323
  "padding": {
14169
- "leading": 8,
14170
- "trailing": 8,
14171
- "top": 0,
14172
- "bottom": 0
14324
+ "leading": 20,
14325
+ "trailing": 20,
14326
+ "top": 8,
14327
+ "bottom": 8
14173
14328
  }
14174
14329
  }
14175
14330
  }
@@ -14183,12 +14338,6 @@ const SCREENS = runtimeSetting({
14183
14338
  "hiddenPath": "$service:businessChat.isGuest",
14184
14339
  "background": {
14185
14340
  "token": "surfacePrimary"
14186
- },
14187
- "padding": {
14188
- "leading": 0,
14189
- "trailing": 0,
14190
- "top": 4,
14191
- "bottom": 0
14192
14341
  }
14193
14342
  }
14194
14343
  },