@wix/himalaya-cli 0.1786.0 → 0.1787.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 (66) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +6 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +18 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +11 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +11 -0
  6. package/dist/cli.mjs +920 -738
  7. package/guides/app-config.md +30 -0
  8. package/guides/component-reference.json +1 -1
  9. package/guides/component-reference.md +8 -0
  10. package/guides/himi-json-output.md +2 -0
  11. package/guides/push-cli-onboarding.md +18 -0
  12. package/guides/qa-builds.md +22 -9
  13. package/package.json +2 -2
  14. package/templates/beauty-salon/tokens.json +2 -1
  15. package/templates/branded-lite/dev/index.ts +1719 -452
  16. package/templates/branded-lite/l10n/ar.json +36 -16
  17. package/templates/branded-lite/l10n/cs.json +36 -16
  18. package/templates/branded-lite/l10n/da.json +36 -16
  19. package/templates/branded-lite/l10n/de.json +36 -16
  20. package/templates/branded-lite/l10n/el.json +36 -16
  21. package/templates/branded-lite/l10n/en.json +42 -12
  22. package/templates/branded-lite/l10n/es.json +36 -16
  23. package/templates/branded-lite/l10n/fi.json +36 -16
  24. package/templates/branded-lite/l10n/fr.json +36 -16
  25. package/templates/branded-lite/l10n/he.json +30 -13
  26. package/templates/branded-lite/l10n/hu.json +36 -16
  27. package/templates/branded-lite/l10n/id.json +36 -16
  28. package/templates/branded-lite/l10n/it.json +36 -16
  29. package/templates/branded-lite/l10n/ja.json +36 -16
  30. package/templates/branded-lite/l10n/ko.json +36 -16
  31. package/templates/branded-lite/l10n/lt.json +36 -16
  32. package/templates/branded-lite/l10n/nl.json +36 -16
  33. package/templates/branded-lite/l10n/no.json +36 -16
  34. package/templates/branded-lite/l10n/pl.json +36 -16
  35. package/templates/branded-lite/l10n/pt.json +36 -16
  36. package/templates/branded-lite/l10n/ru.json +36 -16
  37. package/templates/branded-lite/l10n/sv.json +36 -16
  38. package/templates/branded-lite/l10n/th.json +36 -16
  39. package/templates/branded-lite/l10n/tr.json +36 -16
  40. package/templates/branded-lite/l10n/uk.json +36 -16
  41. package/templates/branded-lite/l10n/vi.json +36 -16
  42. package/templates/branded-lite/l10n/zh.json +36 -16
  43. package/templates/branded-lite/tier5-src/_shared/inbox-rooms.ts +10 -5
  44. package/templates/branded-lite/tier5-src/_shared/inbox-search.ts +1 -1
  45. package/templates/branded-lite/tier5-src/himi-branded-lite-inbox/index.ts +1 -1
  46. package/templates/branded-lite/tokens.json +3 -2
  47. package/templates/brandy/dev/member-screens.ts +7546 -5432
  48. package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +10 -5
  49. package/templates/brandy/tier5-src/_shared/inbox-search.ts +1 -1
  50. package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +1 -1
  51. package/templates/brandy/tokens.json +5 -0
  52. package/templates/community-club/tokens.json +2 -1
  53. package/templates/conference/tier5-src/_shared/inbox-rooms.ts +10 -5
  54. package/templates/events-meetups/tokens.json +2 -1
  55. package/templates/fitness-gym/tier5-src/_shared/inbox-rooms.ts +10 -5
  56. package/templates/gym-fitness/tokens.json +2 -1
  57. package/templates/medical-services/tier5-src/_shared/inbox-rooms.ts +10 -5
  58. package/templates/nonprofit-cause/tokens.json +2 -1
  59. package/templates/personal-fitness-trainer/tier5-src/_shared/inbox-rooms.ts +10 -5
  60. package/templates/podcast-creator/tokens.json +2 -1
  61. package/templates/portfolio-creative/tokens.json +2 -1
  62. package/templates/restaurant/tokens.json +2 -1
  63. package/templates/retail-store/tokens.json +2 -1
  64. package/templates/salon-spa/tier5-src/_shared/inbox-rooms.ts +10 -5
  65. package/templates/wholesale-store/tier5-src/_shared/inbox-rooms.ts +10 -5
  66. package/templates/yoga-studio/tokens.json +2 -1
@@ -41833,6 +41833,168 @@ const SCREENS = runtimeSetting({
41833
41833
  "type": "VStack",
41834
41834
  "props": {
41835
41835
  "children": [
41836
+ {
41837
+ "id": "himi_chat_thread.loading",
41838
+ "body": {
41839
+ "package": "himalaya",
41840
+ "type": "VStack",
41841
+ "props": {
41842
+ "spacing": 0,
41843
+ "children": [
41844
+ {
41845
+ "id": "",
41846
+ "body": {
41847
+ "package": "himalaya",
41848
+ "type": "HStack",
41849
+ "props": {
41850
+ "spacing": 8,
41851
+ "alignment": "center",
41852
+ "children": [
41853
+ {
41854
+ "id": "himi_chat_thread.skeleton_1.avatar",
41855
+ "body": {
41856
+ "package": "himalaya",
41857
+ "type": "Skeleton",
41858
+ "props": {
41859
+ "width": 32,
41860
+ "height": 32,
41861
+ "cornerRadius": 999
41862
+ }
41863
+ }
41864
+ },
41865
+ {
41866
+ "id": "himi_chat_thread.skeleton_1.bubble",
41867
+ "body": {
41868
+ "package": "himalaya",
41869
+ "type": "Skeleton",
41870
+ "props": {
41871
+ "width": 220,
41872
+ "height": 44,
41873
+ "cornerRadius": 12
41874
+ }
41875
+ }
41876
+ },
41877
+ {
41878
+ "id": "",
41879
+ "body": {
41880
+ "package": "himalaya",
41881
+ "type": "Spacer",
41882
+ "props": {}
41883
+ }
41884
+ }
41885
+ ]
41886
+ }
41887
+ },
41888
+ "modifiers": {
41889
+ "padding": {
41890
+ "leading": 20,
41891
+ "trailing": 20,
41892
+ "top": 4,
41893
+ "bottom": 4
41894
+ }
41895
+ }
41896
+ },
41897
+ {
41898
+ "id": "",
41899
+ "body": {
41900
+ "package": "himalaya",
41901
+ "type": "HStack",
41902
+ "props": {
41903
+ "spacing": 8,
41904
+ "alignment": "center",
41905
+ "children": [
41906
+ {
41907
+ "id": "",
41908
+ "body": {
41909
+ "package": "himalaya",
41910
+ "type": "Spacer",
41911
+ "props": {}
41912
+ }
41913
+ },
41914
+ {
41915
+ "id": "himi_chat_thread.skeleton_2.bubble",
41916
+ "body": {
41917
+ "package": "himalaya",
41918
+ "type": "Skeleton",
41919
+ "props": {
41920
+ "width": 180,
41921
+ "height": 44,
41922
+ "cornerRadius": 12
41923
+ }
41924
+ }
41925
+ }
41926
+ ]
41927
+ }
41928
+ },
41929
+ "modifiers": {
41930
+ "padding": {
41931
+ "leading": 20,
41932
+ "trailing": 20,
41933
+ "top": 4,
41934
+ "bottom": 4
41935
+ }
41936
+ }
41937
+ },
41938
+ {
41939
+ "id": "",
41940
+ "body": {
41941
+ "package": "himalaya",
41942
+ "type": "HStack",
41943
+ "props": {
41944
+ "spacing": 8,
41945
+ "alignment": "center",
41946
+ "children": [
41947
+ {
41948
+ "id": "himi_chat_thread.skeleton_3.avatar",
41949
+ "body": {
41950
+ "package": "himalaya",
41951
+ "type": "Skeleton",
41952
+ "props": {
41953
+ "width": 32,
41954
+ "height": 32,
41955
+ "cornerRadius": 999
41956
+ }
41957
+ }
41958
+ },
41959
+ {
41960
+ "id": "himi_chat_thread.skeleton_3.bubble",
41961
+ "body": {
41962
+ "package": "himalaya",
41963
+ "type": "Skeleton",
41964
+ "props": {
41965
+ "width": 230,
41966
+ "height": 44,
41967
+ "cornerRadius": 12
41968
+ }
41969
+ }
41970
+ },
41971
+ {
41972
+ "id": "",
41973
+ "body": {
41974
+ "package": "himalaya",
41975
+ "type": "Spacer",
41976
+ "props": {}
41977
+ }
41978
+ }
41979
+ ]
41980
+ }
41981
+ },
41982
+ "modifiers": {
41983
+ "padding": {
41984
+ "leading": 20,
41985
+ "trailing": 20,
41986
+ "top": 4,
41987
+ "bottom": 4
41988
+ }
41989
+ }
41990
+ }
41991
+ ]
41992
+ }
41993
+ },
41994
+ "modifiers": {
41995
+ "hiddenPath": "$service:spacesChatThread.hideLoading"
41996
+ }
41997
+ },
41836
41998
  {
41837
41999
  "id": "himi_chat_thread.rows",
41838
42000
  "body": {
@@ -41849,7 +42011,7 @@ const SCREENS = runtimeSetting({
41849
42011
  "package": "himalaya",
41850
42012
  "type": "VStack",
41851
42013
  "props": {
41852
- "spacing": 6,
42014
+ "spacing": 8,
41853
42015
  "children": [
41854
42016
  {
41855
42017
  "id": "",
@@ -41875,7 +42037,7 @@ const SCREENS = runtimeSetting({
41875
42037
  "props": {
41876
42038
  "text": "$item.dayLabel",
41877
42039
  "style": "caption",
41878
- "color": "textSecondary",
42040
+ "color": "textTertiary",
41879
42041
  "collapseWhenEmpty": true
41880
42042
  }
41881
42043
  }
@@ -41893,9 +42055,7 @@ const SCREENS = runtimeSetting({
41893
42055
  },
41894
42056
  "modifiers": {
41895
42057
  "padding": {
41896
- "leading": 16,
41897
- "trailing": 16,
41898
- "top": 16,
42058
+ "top": 8,
41899
42059
  "bottom": 8
41900
42060
  },
41901
42061
  "hiddenPath": "$item.dayHidden"
@@ -41911,22 +42071,69 @@ const SCREENS = runtimeSetting({
41911
42071
  "alignment": "leading",
41912
42072
  "children": [
41913
42073
  {
41914
- "id": "himi_chat_thread.incoming_avatar_$item.id",
42074
+ "id": "himi_chat_thread.incoming_avatar_$item.id_slot",
41915
42075
  "body": {
41916
42076
  "package": "himalaya",
41917
- "type": "Image",
42077
+ "type": "VStack",
41918
42078
  "props": {
41919
- "url": "$item.avatarUrl",
41920
- "initials": "$item.avatarInitials",
41921
- "icon": "person",
41922
- "width": 32,
41923
- "height": 32,
41924
- "contentMode": "fill",
41925
- "shape": "circle"
42079
+ "spacing": 0,
42080
+ "children": [
42081
+ {
42082
+ "id": "himi_chat_thread.incoming_avatar_$item.id_member",
42083
+ "body": {
42084
+ "package": "himalaya",
42085
+ "type": "ZStack",
42086
+ "props": {
42087
+ "alignment": "center",
42088
+ "children": [
42089
+ {
42090
+ "id": "",
42091
+ "body": {
42092
+ "package": "himalaya",
42093
+ "type": "Text",
42094
+ "props": {
42095
+ "text": "$item.avatarInitials",
42096
+ "style": "caption",
42097
+ "color": "textSecondary",
42098
+ "maxLines": 1
42099
+ }
42100
+ }
42101
+ },
42102
+ {
42103
+ "id": "himi_chat_thread.incoming_avatar_$item.id",
42104
+ "body": {
42105
+ "package": "himalaya",
42106
+ "type": "Avatar",
42107
+ "props": {
42108
+ "imageUrl": "$item.avatarUrl",
42109
+ "initials": "$item.avatarInitials",
42110
+ "size": 32
42111
+ }
42112
+ },
42113
+ "modifiers": {
42114
+ "accessibilityRole": "decorative",
42115
+ "hiddenPath": "$item.noPhoto"
42116
+ }
42117
+ }
42118
+ ]
42119
+ }
42120
+ },
42121
+ "modifiers": {
42122
+ "width": 32,
42123
+ "height": 32,
42124
+ "background": {
42125
+ "token": "surfaceTertiary"
42126
+ },
42127
+ "cornerRadius": 999,
42128
+ "accessibilityRole": "decorative",
42129
+ "hiddenPath": "$item.hideAvatar"
42130
+ }
42131
+ }
42132
+ ]
41926
42133
  }
41927
42134
  },
41928
42135
  "modifiers": {
41929
- "accessibilityRole": "decorative"
42136
+ "width": 32
41930
42137
  }
41931
42138
  },
41932
42139
  {
@@ -41935,64 +42142,91 @@ const SCREENS = runtimeSetting({
41935
42142
  "package": "himalaya",
41936
42143
  "type": "VStack",
41937
42144
  "props": {
41938
- "spacing": 6,
42145
+ "spacing": 4,
41939
42146
  "alignment": "leading",
41940
42147
  "children": [
41941
42148
  {
41942
42149
  "id": "",
41943
42150
  "body": {
41944
42151
  "package": "himalaya",
41945
- "type": "Text",
42152
+ "type": "VStack",
41946
42153
  "props": {
41947
- "text": "$item.senderBadge",
41948
- "style": "caption",
41949
- "color": "accentPrimary",
41950
- "maxLines": 1,
41951
- "collapseWhenEmpty": true
42154
+ "spacing": 4,
42155
+ "alignment": "leading",
42156
+ "children": [
42157
+ {
42158
+ "id": "",
42159
+ "body": {
42160
+ "package": "himalaya",
42161
+ "type": "Text",
42162
+ "props": {
42163
+ "text": "$item.senderBadge",
42164
+ "style": "caption",
42165
+ "color": "accentPrimary",
42166
+ "maxLines": 1,
42167
+ "collapseWhenEmpty": true
42168
+ }
42169
+ },
42170
+ "modifiers": {
42171
+ "background": {
42172
+ "token": "accentSurface"
42173
+ },
42174
+ "cornerRadius": 8,
42175
+ "padding": {
42176
+ "leading": 8,
42177
+ "trailing": 8,
42178
+ "top": 4,
42179
+ "bottom": 4
42180
+ }
42181
+ }
42182
+ },
42183
+ {
42184
+ "id": "",
42185
+ "body": {
42186
+ "package": "himalaya",
42187
+ "type": "Text",
42188
+ "props": {
42189
+ "text": "$item.text",
42190
+ "style": "footnoteRegular",
42191
+ "maxLines": 50,
42192
+ "textDirection": "auto"
42193
+ }
42194
+ }
42195
+ },
42196
+ {
42197
+ "id": "himi_chat_thread.image_$item.id",
42198
+ "body": {
42199
+ "package": "himalaya",
42200
+ "type": "Image",
42201
+ "props": {
42202
+ "url": "$item.imageUrl",
42203
+ "fillWidth": true,
42204
+ "aspectRatio": 1,
42205
+ "contentMode": "fill",
42206
+ "contentDescription": "$item.imageDescription"
42207
+ }
42208
+ },
42209
+ "modifiers": {
42210
+ "cornerRadius": 12,
42211
+ "fillMaxWidth": true,
42212
+ "hiddenPath": "$item.imageHidden"
42213
+ }
42214
+ }
42215
+ ]
41952
42216
  }
41953
42217
  },
41954
42218
  "modifiers": {
41955
42219
  "background": {
41956
- "token": "accentSurface"
42220
+ "token": "surfaceSecondary"
41957
42221
  },
41958
- "cornerRadius": 8,
42222
+ "cornerRadius": 12,
42223
+ "maxWidth": 300,
41959
42224
  "padding": {
41960
- "leading": 8,
41961
- "trailing": 8,
41962
- "top": 4,
41963
- "bottom": 4
41964
- }
41965
- }
41966
- },
41967
- {
41968
- "id": "",
41969
- "body": {
41970
- "package": "himalaya",
41971
- "type": "Text",
41972
- "props": {
41973
- "text": "$item.text",
41974
- "style": "body",
41975
- "maxLines": 50
41976
- }
41977
- }
41978
- },
41979
- {
41980
- "id": "himi_chat_thread.image_$item.id",
41981
- "body": {
41982
- "package": "himalaya",
41983
- "type": "Image",
41984
- "props": {
41985
- "url": "$item.imageUrl",
41986
- "fillWidth": true,
41987
- "aspectRatio": 1,
41988
- "contentMode": "fill",
41989
- "contentDescription": "$item.imageDescription"
42225
+ "leading": 12,
42226
+ "trailing": 12,
42227
+ "top": 8,
42228
+ "bottom": 8
41990
42229
  }
41991
- },
41992
- "modifiers": {
41993
- "cornerRadius": 12,
41994
- "fillMaxWidth": true,
41995
- "hiddenPath": "$item.imageHidden"
41996
42230
  }
41997
42231
  },
41998
42232
  {
@@ -42003,26 +42237,13 @@ const SCREENS = runtimeSetting({
42003
42237
  "props": {
42004
42238
  "text": "$item.when",
42005
42239
  "style": "caption",
42006
- "color": "textSecondary",
42240
+ "color": "textTertiary",
42007
42241
  "collapseWhenEmpty": true
42008
42242
  }
42009
42243
  }
42010
42244
  }
42011
42245
  ]
42012
42246
  }
42013
- },
42014
- "modifiers": {
42015
- "background": {
42016
- "token": "surfaceElevated"
42017
- },
42018
- "cornerRadius": 16,
42019
- "maxWidth": 270,
42020
- "padding": {
42021
- "leading": 12,
42022
- "trailing": 12,
42023
- "top": 10,
42024
- "bottom": 10
42025
- }
42026
42247
  }
42027
42248
  },
42028
42249
  {
@@ -42063,38 +42284,65 @@ const SCREENS = runtimeSetting({
42063
42284
  "package": "himalaya",
42064
42285
  "type": "VStack",
42065
42286
  "props": {
42066
- "spacing": 6,
42067
- "alignment": "leading",
42287
+ "spacing": 4,
42288
+ "alignment": "trailing",
42068
42289
  "children": [
42069
42290
  {
42070
42291
  "id": "",
42071
42292
  "body": {
42072
42293
  "package": "himalaya",
42073
- "type": "Text",
42074
- "props": {
42075
- "text": "$item.text",
42076
- "style": "body",
42077
- "maxLines": 50
42078
- }
42079
- }
42080
- },
42081
- {
42082
- "id": "himi_chat_thread.outgoing_image_$item.id",
42083
- "body": {
42084
- "package": "himalaya",
42085
- "type": "Image",
42294
+ "type": "VStack",
42086
42295
  "props": {
42087
- "url": "$item.imageUrl",
42088
- "fillWidth": true,
42089
- "aspectRatio": 1,
42090
- "contentMode": "fill",
42091
- "contentDescription": "$item.imageDescription"
42296
+ "spacing": 4,
42297
+ "alignment": "leading",
42298
+ "children": [
42299
+ {
42300
+ "id": "",
42301
+ "body": {
42302
+ "package": "himalaya",
42303
+ "type": "Text",
42304
+ "props": {
42305
+ "text": "$item.text",
42306
+ "style": "footnoteRegular",
42307
+ "maxLines": 50,
42308
+ "textDirection": "auto"
42309
+ }
42310
+ }
42311
+ },
42312
+ {
42313
+ "id": "himi_chat_thread.outgoing_image_$item.id",
42314
+ "body": {
42315
+ "package": "himalaya",
42316
+ "type": "Image",
42317
+ "props": {
42318
+ "url": "$item.imageUrl",
42319
+ "fillWidth": true,
42320
+ "aspectRatio": 1,
42321
+ "contentMode": "fill",
42322
+ "contentDescription": "$item.imageDescription"
42323
+ }
42324
+ },
42325
+ "modifiers": {
42326
+ "cornerRadius": 12,
42327
+ "fillMaxWidth": true,
42328
+ "hiddenPath": "$item.imageHidden"
42329
+ }
42330
+ }
42331
+ ]
42092
42332
  }
42093
42333
  },
42094
42334
  "modifiers": {
42335
+ "background": {
42336
+ "token": "accentSurface"
42337
+ },
42095
42338
  "cornerRadius": 12,
42096
- "fillMaxWidth": true,
42097
- "hiddenPath": "$item.imageHidden"
42339
+ "maxWidth": 300,
42340
+ "padding": {
42341
+ "leading": 12,
42342
+ "trailing": 12,
42343
+ "top": 8,
42344
+ "bottom": 8
42345
+ }
42098
42346
  }
42099
42347
  },
42100
42348
  {
@@ -42105,26 +42353,13 @@ const SCREENS = runtimeSetting({
42105
42353
  "props": {
42106
42354
  "text": "$item.when",
42107
42355
  "style": "caption",
42108
- "color": "textSecondary",
42356
+ "color": "textTertiary",
42109
42357
  "collapseWhenEmpty": true
42110
42358
  }
42111
42359
  }
42112
42360
  }
42113
42361
  ]
42114
42362
  }
42115
- },
42116
- "modifiers": {
42117
- "background": {
42118
- "token": "accentSurface"
42119
- },
42120
- "cornerRadius": 16,
42121
- "maxWidth": 270,
42122
- "padding": {
42123
- "leading": 12,
42124
- "trailing": 12,
42125
- "top": 10,
42126
- "bottom": 10
42127
- }
42128
42363
  }
42129
42364
  }
42130
42365
  ]
@@ -42139,8 +42374,8 @@ const SCREENS = runtimeSetting({
42139
42374
  },
42140
42375
  "modifiers": {
42141
42376
  "padding": {
42142
- "leading": 16,
42143
- "trailing": 16,
42377
+ "leading": 20,
42378
+ "trailing": 20,
42144
42379
  "top": 4,
42145
42380
  "bottom": 4
42146
42381
  },
@@ -42152,20 +42387,20 @@ const SCREENS = runtimeSetting({
42152
42387
  }
42153
42388
  },
42154
42389
  {
42155
- "id": "himi_chat_thread.empty",
42390
+ "id": "",
42156
42391
  "body": {
42157
42392
  "package": "himalaya",
42158
42393
  "type": "EmptyState",
42159
42394
  "props": {
42160
42395
  "icon": "chat",
42161
- "title": "$service:spacesChatThread.emptyText",
42396
+ "title": "No messages yet",
42162
42397
  "subtitle": "Send a message to start the conversation."
42163
42398
  }
42164
42399
  },
42165
42400
  "modifiers": {
42166
42401
  "padding": {
42167
- "leading": 16,
42168
- "trailing": 16,
42402
+ "leading": 20,
42403
+ "trailing": 20,
42169
42404
  "top": 24,
42170
42405
  "bottom": 24
42171
42406
  },
@@ -42173,44 +42408,47 @@ const SCREENS = runtimeSetting({
42173
42408
  }
42174
42409
  },
42175
42410
  {
42176
- "id": "",
42411
+ "id": "himi_chat_thread.error_group",
42177
42412
  "body": {
42178
42413
  "package": "himalaya",
42179
42414
  "type": "VStack",
42180
42415
  "props": {
42181
- "spacing": 12,
42182
- "alignment": "leading",
42416
+ "spacing": 0,
42183
42417
  "children": [
42184
42418
  {
42185
- "id": "himi_chat_thread.loading",
42186
- "body": {
42187
- "package": "himalaya",
42188
- "type": "Text",
42189
- "props": {
42190
- "text": "Loading…",
42191
- "style": "body",
42192
- "color": "textSecondary"
42193
- }
42194
- },
42195
- "modifiers": {
42196
- "hiddenPath": "$service:spacesChatThread.hideLoading"
42197
- }
42198
- },
42199
- {
42200
- "id": "himi_chat_thread.load_error",
42419
+ "id": "himi_chat_thread.error",
42201
42420
  "body": {
42202
42421
  "package": "himalaya",
42203
- "type": "Text",
42422
+ "type": "ErrorState",
42204
42423
  "props": {
42205
- "text": "This couldn't be loaded. Check your connection and try again.",
42206
- "style": "body",
42207
- "color": "textSecondary"
42424
+ "variant": "server",
42425
+ "placement": "section",
42426
+ "title": "Unable to load this conversation",
42427
+ "ctaLabel": "Try again",
42428
+ "cta": {
42429
+ "actionId": "tier5.spacesChatThread.load"
42430
+ }
42208
42431
  }
42209
42432
  },
42210
42433
  "modifiers": {
42211
- "hiddenPath": "$service:spacesChatThread.hideLoadError"
42434
+ "hiddenPath": "$service:spacesChatThread.signInRequired"
42212
42435
  }
42213
- },
42436
+ }
42437
+ ]
42438
+ }
42439
+ },
42440
+ "modifiers": {
42441
+ "hiddenPath": "$service:spacesChatThread.hideLoadError"
42442
+ }
42443
+ },
42444
+ {
42445
+ "id": "",
42446
+ "body": {
42447
+ "package": "himalaya",
42448
+ "type": "VStack",
42449
+ "props": {
42450
+ "spacing": 0,
42451
+ "children": [
42214
42452
  {
42215
42453
  "id": "himi_chat_thread.not_found",
42216
42454
  "body": {
@@ -42306,8 +42544,8 @@ const SCREENS = runtimeSetting({
42306
42544
  "modifiers": {
42307
42545
  "hiddenPath": "$service:spacesChatThread.signInRequired",
42308
42546
  "padding": {
42309
- "leading": 16,
42310
- "trailing": 16,
42547
+ "leading": 20,
42548
+ "trailing": 20,
42311
42549
  "top": 18,
42312
42550
  "bottom": 0
42313
42551
  }
@@ -42342,7 +42580,7 @@ const SCREENS = runtimeSetting({
42342
42580
  },
42343
42581
  "modifiers": {
42344
42582
  "background": {
42345
- "token": "surfaceSecondary"
42583
+ "token": "surfacePrimary"
42346
42584
  },
42347
42585
  "onAppear": {
42348
42586
  "actionId": "tier5.spacesChatThread.load"
@@ -42366,8 +42604,16 @@ const SCREENS = runtimeSetting({
42366
42604
  "package": "himalaya",
42367
42605
  "type": "VStack",
42368
42606
  "props": {
42369
- "spacing": 4,
42607
+ "spacing": 0,
42370
42608
  "children": [
42609
+ {
42610
+ "id": "",
42611
+ "body": {
42612
+ "package": "himalaya",
42613
+ "type": "Divider",
42614
+ "props": {}
42615
+ }
42616
+ },
42371
42617
  {
42372
42618
  "id": "",
42373
42619
  "body": {
@@ -42375,6 +42621,7 @@ const SCREENS = runtimeSetting({
42375
42621
  "type": "HStack",
42376
42622
  "props": {
42377
42623
  "spacing": 8,
42624
+ "alignment": "center",
42378
42625
  "children": [
42379
42626
  {
42380
42627
  "id": "himi_chat_thread.composer",
@@ -42396,17 +42643,16 @@ const SCREENS = runtimeSetting({
42396
42643
  },
42397
42644
  "modifiers": {
42398
42645
  "weight": 1,
42646
+ "height": 44,
42399
42647
  "accessibilityLabel": "Type your message",
42400
42648
  "padding": {
42401
42649
  "leading": 16,
42402
- "trailing": 8,
42403
- "top": 8,
42404
- "bottom": 8
42650
+ "trailing": 8
42405
42651
  },
42406
42652
  "background": {
42407
42653
  "token": "surfaceSecondary"
42408
42654
  },
42409
- "cornerRadius": 28
42655
+ "cornerRadius": 999
42410
42656
  }
42411
42657
  },
42412
42658
  {
@@ -42438,8 +42684,8 @@ const SCREENS = runtimeSetting({
42438
42684
  },
42439
42685
  "modifiers": {
42440
42686
  "padding": {
42441
- "leading": 12,
42442
- "trailing": 12,
42687
+ "leading": 20,
42688
+ "trailing": 20,
42443
42689
  "top": 8,
42444
42690
  "bottom": 8
42445
42691
  }
@@ -42459,8 +42705,8 @@ const SCREENS = runtimeSetting({
42459
42705
  },
42460
42706
  "modifiers": {
42461
42707
  "padding": {
42462
- "leading": 16,
42463
- "trailing": 16,
42708
+ "leading": 20,
42709
+ "trailing": 20,
42464
42710
  "top": 0,
42465
42711
  "bottom": 4
42466
42712
  }
@@ -42496,7 +42742,7 @@ const SCREENS = runtimeSetting({
42496
42742
  "package": "himalaya",
42497
42743
  "type": "VStack",
42498
42744
  "props": {
42499
- "spacing": 16,
42745
+ "spacing": 0,
42500
42746
  "alignment": "leading",
42501
42747
  "children": [
42502
42748
  {
@@ -42506,32 +42752,27 @@ const SCREENS = runtimeSetting({
42506
42752
  "type": "Text",
42507
42753
  "props": {
42508
42754
  "text": "New Message",
42509
- "style": "title1"
42755
+ "style": "title3"
42510
42756
  }
42511
- }
42512
- },
42513
- {
42514
- "id": "",
42515
- "body": {
42516
- "package": "himalaya",
42517
- "type": "Text",
42518
- "props": {
42519
- "text": "Choose someone to message.",
42520
- "style": "body",
42521
- "color": "textSecondary"
42757
+ },
42758
+ "modifiers": {
42759
+ "headingLevel": 1,
42760
+ "padding": {
42761
+ "leading": 20,
42762
+ "trailing": 20,
42763
+ "bottom": 12
42522
42764
  }
42523
42765
  }
42524
42766
  },
42525
42767
  {
42526
- "id": "himi_new_message.rows",
42768
+ "id": "himi_new_message.official",
42527
42769
  "body": {
42528
42770
  "package": "himalaya",
42529
- "type": "Grid",
42771
+ "type": "VStack",
42530
42772
  "props": {
42531
- "columns": 1,
42532
- "spacing": 10,
42533
- "itemsPath": "$service:spacesNewMessage.members",
42534
- "items": [
42773
+ "spacing": 0,
42774
+ "alignment": "leading",
42775
+ "children": [
42535
42776
  {
42536
42777
  "id": "",
42537
42778
  "body": {
@@ -42539,21 +42780,21 @@ const SCREENS = runtimeSetting({
42539
42780
  "type": "HStack",
42540
42781
  "props": {
42541
42782
  "spacing": 12,
42783
+ "alignment": "center",
42542
42784
  "children": [
42543
42785
  {
42544
- "id": "himi_new_message.row_avatar",
42786
+ "id": "himi_new_message.official_avatar",
42545
42787
  "body": {
42546
42788
  "package": "himalaya",
42547
- "type": "Image",
42789
+ "type": "Avatar",
42548
42790
  "props": {
42549
- "url": "$item.photo",
42550
- "initials": "$item.initial",
42551
- "width": 44,
42552
- "height": 44,
42553
- "contentMode": "fill",
42554
- "shape": "circle",
42555
- "contentDescription": "$item.name"
42791
+ "imageUrl": "",
42792
+ "initials": "A",
42793
+ "size": 44
42556
42794
  }
42795
+ },
42796
+ "modifiers": {
42797
+ "accessibilityRole": "decorative"
42557
42798
  }
42558
42799
  },
42559
42800
  {
@@ -42562,82 +42803,264 @@ const SCREENS = runtimeSetting({
42562
42803
  "package": "himalaya",
42563
42804
  "type": "VStack",
42564
42805
  "props": {
42565
- "spacing": 3,
42806
+ "spacing": 4,
42566
42807
  "alignment": "leading",
42567
42808
  "children": [
42568
42809
  {
42569
42810
  "id": "",
42570
42811
  "body": {
42571
42812
  "package": "himalaya",
42572
- "type": "Text",
42813
+ "type": "HStack",
42573
42814
  "props": {
42574
- "text": "$item.name",
42575
- "style": "bodyEmphasis",
42576
- "maxLines": 1
42815
+ "spacing": 8,
42816
+ "alignment": "center",
42817
+ "children": [
42818
+ {
42819
+ "id": "",
42820
+ "body": {
42821
+ "package": "himalaya",
42822
+ "type": "Text",
42823
+ "props": {
42824
+ "text": "__HIMI_APP_NAME__",
42825
+ "style": "footnote",
42826
+ "maxLines": 1
42827
+ }
42828
+ },
42829
+ "modifiers": {
42830
+ "weight": 0
42831
+ }
42832
+ },
42833
+ {
42834
+ "id": "himi_new_message.official.official_tag",
42835
+ "body": {
42836
+ "package": "himalaya",
42837
+ "type": "Text",
42838
+ "props": {
42839
+ "text": "Official",
42840
+ "style": "caption",
42841
+ "color": "textSecondary",
42842
+ "maxLines": 1
42843
+ }
42844
+ },
42845
+ "modifiers": {
42846
+ "background": {
42847
+ "token": "surfaceTertiary"
42848
+ },
42849
+ "cornerRadius": 4,
42850
+ "padding": {
42851
+ "leading": 8,
42852
+ "trailing": 8
42853
+ }
42854
+ }
42855
+ },
42856
+ {
42857
+ "id": "",
42858
+ "body": {
42859
+ "package": "himalaya",
42860
+ "type": "Spacer",
42861
+ "props": {}
42862
+ }
42863
+ }
42864
+ ]
42865
+ }
42866
+ },
42867
+ "modifiers": {
42868
+ "height": 44
42869
+ }
42870
+ }
42871
+ ]
42872
+ }
42873
+ },
42874
+ "modifiers": {
42875
+ "weight": 1
42876
+ }
42877
+ }
42878
+ ]
42879
+ }
42880
+ },
42881
+ "modifiers": {
42882
+ "padding": {
42883
+ "leading": 20,
42884
+ "trailing": 20,
42885
+ "top": 12,
42886
+ "bottom": 12
42887
+ },
42888
+ "fillMaxWidth": true
42889
+ }
42890
+ },
42891
+ {
42892
+ "id": "",
42893
+ "body": {
42894
+ "package": "himalaya",
42895
+ "type": "Divider",
42896
+ "props": {}
42897
+ }
42898
+ }
42899
+ ]
42900
+ }
42901
+ },
42902
+ "modifiers": {
42903
+ "onTap": {
42904
+ "actionId": "himi.open",
42905
+ "params": {
42906
+ "screenId": "himi_business_chat"
42907
+ }
42908
+ },
42909
+ "pressFeedback": "highlight",
42910
+ "haptic": "light",
42911
+ "accessibilityLabel": "__HIMI_APP_NAME__",
42912
+ "accessibilityRole": "button",
42913
+ "fillMaxWidth": true
42914
+ }
42915
+ },
42916
+ {
42917
+ "id": "himi_new_message.rows",
42918
+ "body": {
42919
+ "package": "himalaya",
42920
+ "type": "LazyList",
42921
+ "props": {
42922
+ "itemsPath": "$service:spacesNewMessage.members",
42923
+ "items": [
42924
+ {
42925
+ "id": "himi_new_message.row.$item.id",
42926
+ "body": {
42927
+ "package": "himalaya",
42928
+ "type": "VStack",
42929
+ "props": {
42930
+ "spacing": 0,
42931
+ "alignment": "leading",
42932
+ "children": [
42933
+ {
42934
+ "id": "",
42935
+ "body": {
42936
+ "package": "himalaya",
42937
+ "type": "HStack",
42938
+ "props": {
42939
+ "spacing": 12,
42940
+ "alignment": "center",
42941
+ "children": [
42942
+ {
42943
+ "id": "himi_new_message.row_avatar.$item.id_member",
42944
+ "body": {
42945
+ "package": "himalaya",
42946
+ "type": "ZStack",
42947
+ "props": {
42948
+ "alignment": "center",
42949
+ "children": [
42950
+ {
42951
+ "id": "",
42952
+ "body": {
42953
+ "package": "himalaya",
42954
+ "type": "Text",
42955
+ "props": {
42956
+ "text": "$item.initial",
42957
+ "style": "footnote",
42958
+ "color": "textSecondary",
42959
+ "maxLines": 1
42960
+ }
42961
+ }
42962
+ },
42963
+ {
42964
+ "id": "himi_new_message.row_avatar.$item.id",
42965
+ "body": {
42966
+ "package": "himalaya",
42967
+ "type": "Avatar",
42968
+ "props": {
42969
+ "imageUrl": "$item.photo",
42970
+ "initials": "$item.initial",
42971
+ "size": 44
42972
+ }
42973
+ },
42974
+ "modifiers": {
42975
+ "accessibilityRole": "decorative",
42976
+ "hiddenPath": "$item.noPhoto"
42977
+ }
42978
+ }
42979
+ ]
42577
42980
  }
42981
+ },
42982
+ "modifiers": {
42983
+ "width": 44,
42984
+ "height": 44,
42985
+ "background": {
42986
+ "token": "surfaceTertiary"
42987
+ },
42988
+ "cornerRadius": 999,
42989
+ "accessibilityRole": "decorative"
42578
42990
  }
42579
42991
  },
42580
42992
  {
42581
42993
  "id": "",
42582
42994
  "body": {
42583
42995
  "package": "himalaya",
42584
- "type": "Text",
42996
+ "type": "VStack",
42585
42997
  "props": {
42586
- "text": "$item.subtitle",
42587
- "style": "caption",
42588
- "color": "textTertiary",
42589
- "maxLines": 1,
42590
- "collapseWhenEmpty": true
42998
+ "spacing": 4,
42999
+ "alignment": "leading",
43000
+ "children": [
43001
+ {
43002
+ "id": "",
43003
+ "body": {
43004
+ "package": "himalaya",
43005
+ "type": "HStack",
43006
+ "props": {
43007
+ "spacing": 8,
43008
+ "alignment": "center",
43009
+ "children": [
43010
+ {
43011
+ "id": "",
43012
+ "body": {
43013
+ "package": "himalaya",
43014
+ "type": "Text",
43015
+ "props": {
43016
+ "text": "$item.name",
43017
+ "style": "footnote",
43018
+ "maxLines": 1
43019
+ }
43020
+ },
43021
+ "modifiers": {
43022
+ "weight": 1
43023
+ }
43024
+ }
43025
+ ]
43026
+ }
43027
+ },
43028
+ "modifiers": {
43029
+ "height": 44
43030
+ }
43031
+ }
43032
+ ]
42591
43033
  }
43034
+ },
43035
+ "modifiers": {
43036
+ "weight": 1
42592
43037
  }
42593
43038
  }
42594
43039
  ]
42595
43040
  }
43041
+ },
43042
+ "modifiers": {
43043
+ "padding": {
43044
+ "leading": 20,
43045
+ "trailing": 20,
43046
+ "top": 12,
43047
+ "bottom": 12
43048
+ },
43049
+ "fillMaxWidth": true
42596
43050
  }
42597
43051
  },
42598
43052
  {
42599
43053
  "id": "",
42600
43054
  "body": {
42601
43055
  "package": "himalaya",
42602
- "type": "Spacer",
43056
+ "type": "Divider",
42603
43057
  "props": {}
42604
43058
  }
42605
- },
42606
- {
42607
- "id": "",
42608
- "body": {
42609
- "package": "himalaya",
42610
- "type": "Icon",
42611
- "props": {
42612
- "name": "chevron_right",
42613
- "size": 16,
42614
- "tint": "textTertiary"
42615
- }
42616
- },
42617
- "modifiers": {
42618
- "accessibilityRole": "decorative"
42619
- }
42620
43059
  }
42621
43060
  ]
42622
43061
  }
42623
43062
  },
42624
43063
  "modifiers": {
42625
- "background": {
42626
- "token": "surfaceElevated"
42627
- },
42628
- "border": {
42629
- "width": 1,
42630
- "color": {
42631
- "token": "border"
42632
- }
42633
- },
42634
- "cornerRadius": 8,
42635
- "padding": {
42636
- "leading": 12,
42637
- "trailing": 12,
42638
- "top": 12,
42639
- "bottom": 12
42640
- },
42641
43064
  "onTap": {
42642
43065
  "actionId": "himi.open",
42643
43066
  "params": {
@@ -42645,12 +43068,15 @@ const SCREENS = runtimeSetting({
42645
43068
  "id": "$item.id"
42646
43069
  }
42647
43070
  },
42648
- "pressFeedback": "scale",
43071
+ "pressFeedback": "highlight",
42649
43072
  "haptic": "light",
42650
- "accessibilityLabel": "$item.name"
43073
+ "accessibilityLabel": "$item.name",
43074
+ "accessibilityRole": "button",
43075
+ "fillMaxWidth": true
42651
43076
  }
42652
43077
  }
42653
- ]
43078
+ ],
43079
+ "spacing": 0
42654
43080
  }
42655
43081
  },
42656
43082
  "modifiers": {
@@ -42664,17 +43090,16 @@ const SCREENS = runtimeSetting({
42664
43090
  "type": "Text",
42665
43091
  "props": {
42666
43092
  "text": "$service:spacesNewMessage.emptyText",
42667
- "style": "body",
43093
+ "style": "footnoteRegular",
42668
43094
  "color": "textSecondary",
42669
43095
  "collapseWhenEmpty": true
42670
43096
  }
42671
43097
  },
42672
43098
  "modifiers": {
42673
43099
  "padding": {
42674
- "leading": 8,
42675
- "trailing": 8,
42676
- "top": 8,
42677
- "bottom": 0
43100
+ "leading": 20,
43101
+ "trailing": 20,
43102
+ "top": 12
42678
43103
  }
42679
43104
  }
42680
43105
  }
@@ -42686,8 +43111,6 @@ const SCREENS = runtimeSetting({
42686
43111
  "token": "surfacePrimary"
42687
43112
  },
42688
43113
  "padding": {
42689
- "leading": 16,
42690
- "trailing": 16,
42691
43114
  "top": 18,
42692
43115
  "bottom": 28
42693
43116
  },
@@ -91771,7 +92194,7 @@ const SCREENS = runtimeSetting({
91771
92194
  "package": "himalaya",
91772
92195
  "type": "VStack",
91773
92196
  "props": {
91774
- "spacing": 16,
92197
+ "spacing": 0,
91775
92198
  "alignment": "leading",
91776
92199
  "children": [
91777
92200
  {
@@ -91781,243 +92204,1102 @@ const SCREENS = runtimeSetting({
91781
92204
  "type": "Text",
91782
92205
  "props": {
91783
92206
  "text": "Inbox",
91784
- "style": "title1"
92207
+ "style": "screenTitle"
92208
+ }
92209
+ },
92210
+ "modifiers": {
92211
+ "padding": {
92212
+ "leading": 20,
92213
+ "trailing": 20,
92214
+ "bottom": 20
91785
92215
  }
91786
92216
  }
91787
92217
  },
91788
92218
  {
91789
- "id": "",
92219
+ "id": "himi_inbox.sample_banner",
91790
92220
  "body": {
91791
92221
  "package": "himalaya",
91792
- "type": "Text",
92222
+ "type": "Banner",
91793
92223
  "props": {
91794
- "text": "Your messages with us.",
91795
- "style": "body",
91796
- "color": "textSecondary"
92224
+ "severity": "warning",
92225
+ "title": "Sample content",
92226
+ "message": "These are example messages — this site has none yet."
91797
92227
  }
92228
+ },
92229
+ "modifiers": {
92230
+ "hiddenPath": "$service:himiBrandedInbox.notMockEmpty"
91798
92231
  }
91799
92232
  },
91800
92233
  {
91801
- "id": "himi_inbox.new_message",
92234
+ "id": "himi_inbox.unavailable_banner",
91802
92235
  "body": {
91803
92236
  "package": "himalaya",
91804
- "type": "Button",
92237
+ "type": "Banner",
91805
92238
  "props": {
91806
- "title": "New Message",
91807
- "style": "secondary",
91808
- "fullWidth": true,
91809
- "leadingIcon": "plus",
91810
- "action": {
91811
- "actionId": "himi.open",
91812
- "params": {
91813
- "screenId": "himi_new_message"
92239
+ "severity": "warning",
92240
+ "title": "Sample content",
92241
+ "message": "Your messages couldn't be loaded."
92242
+ }
92243
+ },
92244
+ "modifiers": {
92245
+ "hiddenPath": "$service:himiBrandedInbox.notMockUnavailable"
92246
+ }
92247
+ },
92248
+ {
92249
+ "id": "himi_inbox.official",
92250
+ "body": {
92251
+ "package": "himalaya",
92252
+ "type": "VStack",
92253
+ "props": {
92254
+ "spacing": 0,
92255
+ "alignment": "leading",
92256
+ "children": [
92257
+ {
92258
+ "id": "",
92259
+ "body": {
92260
+ "package": "himalaya",
92261
+ "type": "HStack",
92262
+ "props": {
92263
+ "spacing": 12,
92264
+ "alignment": "center",
92265
+ "children": [
92266
+ {
92267
+ "id": "himi_inbox.official_avatar",
92268
+ "body": {
92269
+ "package": "himalaya",
92270
+ "type": "Avatar",
92271
+ "props": {
92272
+ "imageUrl": "",
92273
+ "initials": "A",
92274
+ "size": 44
92275
+ }
92276
+ },
92277
+ "modifiers": {
92278
+ "accessibilityRole": "decorative"
92279
+ }
92280
+ },
92281
+ {
92282
+ "id": "",
92283
+ "body": {
92284
+ "package": "himalaya",
92285
+ "type": "VStack",
92286
+ "props": {
92287
+ "spacing": 4,
92288
+ "alignment": "leading",
92289
+ "children": [
92290
+ {
92291
+ "id": "",
92292
+ "body": {
92293
+ "package": "himalaya",
92294
+ "type": "HStack",
92295
+ "props": {
92296
+ "spacing": 8,
92297
+ "alignment": "center",
92298
+ "children": [
92299
+ {
92300
+ "id": "",
92301
+ "body": {
92302
+ "package": "himalaya",
92303
+ "type": "Text",
92304
+ "props": {
92305
+ "text": "__HIMI_APP_NAME__",
92306
+ "style": "footnote",
92307
+ "maxLines": 1
92308
+ }
92309
+ },
92310
+ "modifiers": {
92311
+ "weight": 0
92312
+ }
92313
+ },
92314
+ {
92315
+ "id": "himi_inbox.official.official_tag",
92316
+ "body": {
92317
+ "package": "himalaya",
92318
+ "type": "Text",
92319
+ "props": {
92320
+ "text": "Official",
92321
+ "style": "caption",
92322
+ "color": "textSecondary",
92323
+ "maxLines": 1
92324
+ }
92325
+ },
92326
+ "modifiers": {
92327
+ "background": {
92328
+ "token": "surfaceTertiary"
92329
+ },
92330
+ "cornerRadius": 4,
92331
+ "padding": {
92332
+ "leading": 8,
92333
+ "trailing": 8
92334
+ }
92335
+ }
92336
+ },
92337
+ {
92338
+ "id": "",
92339
+ "body": {
92340
+ "package": "himalaya",
92341
+ "type": "Spacer",
92342
+ "props": {}
92343
+ }
92344
+ }
92345
+ ]
92346
+ }
92347
+ }
92348
+ },
92349
+ {
92350
+ "id": "",
92351
+ "body": {
92352
+ "package": "himalaya",
92353
+ "type": "Text",
92354
+ "props": {
92355
+ "text": "Chat with us",
92356
+ "style": "footnoteRegular",
92357
+ "color": "textSecondary",
92358
+ "maxLines": 1
92359
+ }
92360
+ }
92361
+ }
92362
+ ]
92363
+ }
92364
+ },
92365
+ "modifiers": {
92366
+ "weight": 1
92367
+ }
92368
+ }
92369
+ ]
92370
+ }
92371
+ },
92372
+ "modifiers": {
92373
+ "padding": {
92374
+ "leading": 20,
92375
+ "trailing": 20,
92376
+ "top": 12,
92377
+ "bottom": 12
92378
+ },
92379
+ "fillMaxWidth": true
92380
+ }
92381
+ },
92382
+ {
92383
+ "id": "",
92384
+ "body": {
92385
+ "package": "himalaya",
92386
+ "type": "Divider",
92387
+ "props": {}
92388
+ }
92389
+ }
92390
+ ]
92391
+ }
92392
+ },
92393
+ "modifiers": {
92394
+ "onTap": {
92395
+ "actionId": "himi.open",
92396
+ "params": {
92397
+ "screenId": "himi_business_chat"
92398
+ }
92399
+ },
92400
+ "pressFeedback": "highlight",
92401
+ "haptic": "light",
92402
+ "accessibilityLabel": "__HIMI_APP_NAME__",
92403
+ "accessibilityRole": "button",
92404
+ "fillMaxWidth": true,
92405
+ "hiddenPath": "$service:himiBrandedInbox.signInRequired"
92406
+ }
92407
+ },
92408
+ {
92409
+ "id": "himi_inbox.loading",
92410
+ "body": {
92411
+ "package": "himalaya",
92412
+ "type": "VStack",
92413
+ "props": {
92414
+ "spacing": 0,
92415
+ "children": [
92416
+ {
92417
+ "id": "",
92418
+ "body": {
92419
+ "package": "himalaya",
92420
+ "type": "VStack",
92421
+ "props": {
92422
+ "spacing": 0,
92423
+ "children": [
92424
+ {
92425
+ "id": "",
92426
+ "body": {
92427
+ "package": "himalaya",
92428
+ "type": "HStack",
92429
+ "props": {
92430
+ "spacing": 12,
92431
+ "alignment": "center",
92432
+ "children": [
92433
+ {
92434
+ "id": "himi_inbox.skeleton_1.avatar",
92435
+ "body": {
92436
+ "package": "himalaya",
92437
+ "type": "Skeleton",
92438
+ "props": {
92439
+ "width": 44,
92440
+ "height": 44,
92441
+ "cornerRadius": 999
92442
+ }
92443
+ }
92444
+ },
92445
+ {
92446
+ "id": "",
92447
+ "body": {
92448
+ "package": "himalaya",
92449
+ "type": "VStack",
92450
+ "props": {
92451
+ "spacing": 8,
92452
+ "alignment": "leading",
92453
+ "children": [
92454
+ {
92455
+ "id": "himi_inbox.skeleton_1.name",
92456
+ "body": {
92457
+ "package": "himalaya",
92458
+ "type": "Skeleton",
92459
+ "props": {
92460
+ "height": 12,
92461
+ "cornerRadius": 8
92462
+ }
92463
+ },
92464
+ "modifiers": {
92465
+ "height": 12,
92466
+ "background": {
92467
+ "token": "surfaceSecondary"
92468
+ },
92469
+ "cornerRadius": 8,
92470
+ "accessibilityRole": "decorative",
92471
+ "width": 140
92472
+ }
92473
+ },
92474
+ {
92475
+ "id": "himi_inbox.skeleton_1.preview",
92476
+ "body": {
92477
+ "package": "himalaya",
92478
+ "type": "Skeleton",
92479
+ "props": {
92480
+ "height": 12,
92481
+ "cornerRadius": 8
92482
+ }
92483
+ },
92484
+ "modifiers": {
92485
+ "height": 12,
92486
+ "background": {
92487
+ "token": "surfaceSecondary"
92488
+ },
92489
+ "cornerRadius": 8,
92490
+ "accessibilityRole": "decorative",
92491
+ "width": 220
92492
+ }
92493
+ }
92494
+ ]
92495
+ }
92496
+ },
92497
+ "modifiers": {
92498
+ "weight": 1
92499
+ }
92500
+ }
92501
+ ]
92502
+ }
92503
+ },
92504
+ "modifiers": {
92505
+ "padding": {
92506
+ "leading": 20,
92507
+ "trailing": 20,
92508
+ "top": 12,
92509
+ "bottom": 12
92510
+ },
92511
+ "fillMaxWidth": true
92512
+ }
92513
+ },
92514
+ {
92515
+ "id": "",
92516
+ "body": {
92517
+ "package": "himalaya",
92518
+ "type": "Divider",
92519
+ "props": {}
92520
+ }
92521
+ }
92522
+ ]
92523
+ }
92524
+ }
92525
+ },
92526
+ {
92527
+ "id": "",
92528
+ "body": {
92529
+ "package": "himalaya",
92530
+ "type": "VStack",
92531
+ "props": {
92532
+ "spacing": 0,
92533
+ "children": [
92534
+ {
92535
+ "id": "",
92536
+ "body": {
92537
+ "package": "himalaya",
92538
+ "type": "HStack",
92539
+ "props": {
92540
+ "spacing": 12,
92541
+ "alignment": "center",
92542
+ "children": [
92543
+ {
92544
+ "id": "himi_inbox.skeleton_2.avatar",
92545
+ "body": {
92546
+ "package": "himalaya",
92547
+ "type": "Skeleton",
92548
+ "props": {
92549
+ "width": 44,
92550
+ "height": 44,
92551
+ "cornerRadius": 999
92552
+ }
92553
+ }
92554
+ },
92555
+ {
92556
+ "id": "",
92557
+ "body": {
92558
+ "package": "himalaya",
92559
+ "type": "VStack",
92560
+ "props": {
92561
+ "spacing": 8,
92562
+ "alignment": "leading",
92563
+ "children": [
92564
+ {
92565
+ "id": "himi_inbox.skeleton_2.name",
92566
+ "body": {
92567
+ "package": "himalaya",
92568
+ "type": "Skeleton",
92569
+ "props": {
92570
+ "height": 12,
92571
+ "cornerRadius": 8
92572
+ }
92573
+ },
92574
+ "modifiers": {
92575
+ "height": 12,
92576
+ "background": {
92577
+ "token": "surfaceSecondary"
92578
+ },
92579
+ "cornerRadius": 8,
92580
+ "accessibilityRole": "decorative",
92581
+ "width": 140
92582
+ }
92583
+ },
92584
+ {
92585
+ "id": "himi_inbox.skeleton_2.preview",
92586
+ "body": {
92587
+ "package": "himalaya",
92588
+ "type": "Skeleton",
92589
+ "props": {
92590
+ "height": 12,
92591
+ "cornerRadius": 8
92592
+ }
92593
+ },
92594
+ "modifiers": {
92595
+ "height": 12,
92596
+ "background": {
92597
+ "token": "surfaceSecondary"
92598
+ },
92599
+ "cornerRadius": 8,
92600
+ "accessibilityRole": "decorative",
92601
+ "width": 220
92602
+ }
92603
+ }
92604
+ ]
92605
+ }
92606
+ },
92607
+ "modifiers": {
92608
+ "weight": 1
92609
+ }
92610
+ }
92611
+ ]
92612
+ }
92613
+ },
92614
+ "modifiers": {
92615
+ "padding": {
92616
+ "leading": 20,
92617
+ "trailing": 20,
92618
+ "top": 12,
92619
+ "bottom": 12
92620
+ },
92621
+ "fillMaxWidth": true
92622
+ }
92623
+ },
92624
+ {
92625
+ "id": "",
92626
+ "body": {
92627
+ "package": "himalaya",
92628
+ "type": "Divider",
92629
+ "props": {}
92630
+ }
92631
+ }
92632
+ ]
92633
+ }
92634
+ }
92635
+ },
92636
+ {
92637
+ "id": "",
92638
+ "body": {
92639
+ "package": "himalaya",
92640
+ "type": "VStack",
92641
+ "props": {
92642
+ "spacing": 0,
92643
+ "children": [
92644
+ {
92645
+ "id": "",
92646
+ "body": {
92647
+ "package": "himalaya",
92648
+ "type": "HStack",
92649
+ "props": {
92650
+ "spacing": 12,
92651
+ "alignment": "center",
92652
+ "children": [
92653
+ {
92654
+ "id": "himi_inbox.skeleton_3.avatar",
92655
+ "body": {
92656
+ "package": "himalaya",
92657
+ "type": "Skeleton",
92658
+ "props": {
92659
+ "width": 44,
92660
+ "height": 44,
92661
+ "cornerRadius": 999
92662
+ }
92663
+ }
92664
+ },
92665
+ {
92666
+ "id": "",
92667
+ "body": {
92668
+ "package": "himalaya",
92669
+ "type": "VStack",
92670
+ "props": {
92671
+ "spacing": 8,
92672
+ "alignment": "leading",
92673
+ "children": [
92674
+ {
92675
+ "id": "himi_inbox.skeleton_3.name",
92676
+ "body": {
92677
+ "package": "himalaya",
92678
+ "type": "Skeleton",
92679
+ "props": {
92680
+ "height": 12,
92681
+ "cornerRadius": 8
92682
+ }
92683
+ },
92684
+ "modifiers": {
92685
+ "height": 12,
92686
+ "background": {
92687
+ "token": "surfaceSecondary"
92688
+ },
92689
+ "cornerRadius": 8,
92690
+ "accessibilityRole": "decorative",
92691
+ "width": 140
92692
+ }
92693
+ },
92694
+ {
92695
+ "id": "himi_inbox.skeleton_3.preview",
92696
+ "body": {
92697
+ "package": "himalaya",
92698
+ "type": "Skeleton",
92699
+ "props": {
92700
+ "height": 12,
92701
+ "cornerRadius": 8
92702
+ }
92703
+ },
92704
+ "modifiers": {
92705
+ "height": 12,
92706
+ "background": {
92707
+ "token": "surfaceSecondary"
92708
+ },
92709
+ "cornerRadius": 8,
92710
+ "accessibilityRole": "decorative",
92711
+ "width": 220
92712
+ }
92713
+ }
92714
+ ]
92715
+ }
92716
+ },
92717
+ "modifiers": {
92718
+ "weight": 1
92719
+ }
92720
+ }
92721
+ ]
92722
+ }
92723
+ },
92724
+ "modifiers": {
92725
+ "padding": {
92726
+ "leading": 20,
92727
+ "trailing": 20,
92728
+ "top": 12,
92729
+ "bottom": 12
92730
+ },
92731
+ "fillMaxWidth": true
92732
+ }
92733
+ },
92734
+ {
92735
+ "id": "",
92736
+ "body": {
92737
+ "package": "himalaya",
92738
+ "type": "Divider",
92739
+ "props": {}
92740
+ }
92741
+ }
92742
+ ]
92743
+ }
92744
+ }
92745
+ },
92746
+ {
92747
+ "id": "",
92748
+ "body": {
92749
+ "package": "himalaya",
92750
+ "type": "VStack",
92751
+ "props": {
92752
+ "spacing": 0,
92753
+ "children": [
92754
+ {
92755
+ "id": "",
92756
+ "body": {
92757
+ "package": "himalaya",
92758
+ "type": "HStack",
92759
+ "props": {
92760
+ "spacing": 12,
92761
+ "alignment": "center",
92762
+ "children": [
92763
+ {
92764
+ "id": "himi_inbox.skeleton_4.avatar",
92765
+ "body": {
92766
+ "package": "himalaya",
92767
+ "type": "Skeleton",
92768
+ "props": {
92769
+ "width": 44,
92770
+ "height": 44,
92771
+ "cornerRadius": 999
92772
+ }
92773
+ }
92774
+ },
92775
+ {
92776
+ "id": "",
92777
+ "body": {
92778
+ "package": "himalaya",
92779
+ "type": "VStack",
92780
+ "props": {
92781
+ "spacing": 8,
92782
+ "alignment": "leading",
92783
+ "children": [
92784
+ {
92785
+ "id": "himi_inbox.skeleton_4.name",
92786
+ "body": {
92787
+ "package": "himalaya",
92788
+ "type": "Skeleton",
92789
+ "props": {
92790
+ "height": 12,
92791
+ "cornerRadius": 8
92792
+ }
92793
+ },
92794
+ "modifiers": {
92795
+ "height": 12,
92796
+ "background": {
92797
+ "token": "surfaceSecondary"
92798
+ },
92799
+ "cornerRadius": 8,
92800
+ "accessibilityRole": "decorative",
92801
+ "width": 140
92802
+ }
92803
+ },
92804
+ {
92805
+ "id": "himi_inbox.skeleton_4.preview",
92806
+ "body": {
92807
+ "package": "himalaya",
92808
+ "type": "Skeleton",
92809
+ "props": {
92810
+ "height": 12,
92811
+ "cornerRadius": 8
92812
+ }
92813
+ },
92814
+ "modifiers": {
92815
+ "height": 12,
92816
+ "background": {
92817
+ "token": "surfaceSecondary"
92818
+ },
92819
+ "cornerRadius": 8,
92820
+ "accessibilityRole": "decorative",
92821
+ "width": 220
92822
+ }
92823
+ }
92824
+ ]
92825
+ }
92826
+ },
92827
+ "modifiers": {
92828
+ "weight": 1
92829
+ }
92830
+ }
92831
+ ]
92832
+ }
92833
+ },
92834
+ "modifiers": {
92835
+ "padding": {
92836
+ "leading": 20,
92837
+ "trailing": 20,
92838
+ "top": 12,
92839
+ "bottom": 12
92840
+ },
92841
+ "fillMaxWidth": true
92842
+ }
92843
+ },
92844
+ {
92845
+ "id": "",
92846
+ "body": {
92847
+ "package": "himalaya",
92848
+ "type": "Divider",
92849
+ "props": {}
92850
+ }
92851
+ }
92852
+ ]
92853
+ }
92854
+ }
92855
+ },
92856
+ {
92857
+ "id": "",
92858
+ "body": {
92859
+ "package": "himalaya",
92860
+ "type": "VStack",
92861
+ "props": {
92862
+ "spacing": 0,
92863
+ "children": [
92864
+ {
92865
+ "id": "",
92866
+ "body": {
92867
+ "package": "himalaya",
92868
+ "type": "HStack",
92869
+ "props": {
92870
+ "spacing": 12,
92871
+ "alignment": "center",
92872
+ "children": [
92873
+ {
92874
+ "id": "himi_inbox.skeleton_5.avatar",
92875
+ "body": {
92876
+ "package": "himalaya",
92877
+ "type": "Skeleton",
92878
+ "props": {
92879
+ "width": 44,
92880
+ "height": 44,
92881
+ "cornerRadius": 999
92882
+ }
92883
+ }
92884
+ },
92885
+ {
92886
+ "id": "",
92887
+ "body": {
92888
+ "package": "himalaya",
92889
+ "type": "VStack",
92890
+ "props": {
92891
+ "spacing": 8,
92892
+ "alignment": "leading",
92893
+ "children": [
92894
+ {
92895
+ "id": "himi_inbox.skeleton_5.name",
92896
+ "body": {
92897
+ "package": "himalaya",
92898
+ "type": "Skeleton",
92899
+ "props": {
92900
+ "height": 12,
92901
+ "cornerRadius": 8
92902
+ }
92903
+ },
92904
+ "modifiers": {
92905
+ "height": 12,
92906
+ "background": {
92907
+ "token": "surfaceSecondary"
92908
+ },
92909
+ "cornerRadius": 8,
92910
+ "accessibilityRole": "decorative",
92911
+ "width": 140
92912
+ }
92913
+ },
92914
+ {
92915
+ "id": "himi_inbox.skeleton_5.preview",
92916
+ "body": {
92917
+ "package": "himalaya",
92918
+ "type": "Skeleton",
92919
+ "props": {
92920
+ "height": 12,
92921
+ "cornerRadius": 8
92922
+ }
92923
+ },
92924
+ "modifiers": {
92925
+ "height": 12,
92926
+ "background": {
92927
+ "token": "surfaceSecondary"
92928
+ },
92929
+ "cornerRadius": 8,
92930
+ "accessibilityRole": "decorative",
92931
+ "width": 220
92932
+ }
92933
+ }
92934
+ ]
92935
+ }
92936
+ },
92937
+ "modifiers": {
92938
+ "weight": 1
92939
+ }
92940
+ }
92941
+ ]
92942
+ }
92943
+ },
92944
+ "modifiers": {
92945
+ "padding": {
92946
+ "leading": 20,
92947
+ "trailing": 20,
92948
+ "top": 12,
92949
+ "bottom": 12
92950
+ },
92951
+ "fillMaxWidth": true
92952
+ }
92953
+ },
92954
+ {
92955
+ "id": "",
92956
+ "body": {
92957
+ "package": "himalaya",
92958
+ "type": "Divider",
92959
+ "props": {}
92960
+ }
92961
+ }
92962
+ ]
92963
+ }
92964
+ }
92965
+ },
92966
+ {
92967
+ "id": "",
92968
+ "body": {
92969
+ "package": "himalaya",
92970
+ "type": "VStack",
92971
+ "props": {
92972
+ "spacing": 0,
92973
+ "children": [
92974
+ {
92975
+ "id": "",
92976
+ "body": {
92977
+ "package": "himalaya",
92978
+ "type": "HStack",
92979
+ "props": {
92980
+ "spacing": 12,
92981
+ "alignment": "center",
92982
+ "children": [
92983
+ {
92984
+ "id": "himi_inbox.skeleton_6.avatar",
92985
+ "body": {
92986
+ "package": "himalaya",
92987
+ "type": "Skeleton",
92988
+ "props": {
92989
+ "width": 44,
92990
+ "height": 44,
92991
+ "cornerRadius": 999
92992
+ }
92993
+ }
92994
+ },
92995
+ {
92996
+ "id": "",
92997
+ "body": {
92998
+ "package": "himalaya",
92999
+ "type": "VStack",
93000
+ "props": {
93001
+ "spacing": 8,
93002
+ "alignment": "leading",
93003
+ "children": [
93004
+ {
93005
+ "id": "himi_inbox.skeleton_6.name",
93006
+ "body": {
93007
+ "package": "himalaya",
93008
+ "type": "Skeleton",
93009
+ "props": {
93010
+ "height": 12,
93011
+ "cornerRadius": 8
93012
+ }
93013
+ },
93014
+ "modifiers": {
93015
+ "height": 12,
93016
+ "background": {
93017
+ "token": "surfaceSecondary"
93018
+ },
93019
+ "cornerRadius": 8,
93020
+ "accessibilityRole": "decorative",
93021
+ "width": 140
93022
+ }
93023
+ },
93024
+ {
93025
+ "id": "himi_inbox.skeleton_6.preview",
93026
+ "body": {
93027
+ "package": "himalaya",
93028
+ "type": "Skeleton",
93029
+ "props": {
93030
+ "height": 12,
93031
+ "cornerRadius": 8
93032
+ }
93033
+ },
93034
+ "modifiers": {
93035
+ "height": 12,
93036
+ "background": {
93037
+ "token": "surfaceSecondary"
93038
+ },
93039
+ "cornerRadius": 8,
93040
+ "accessibilityRole": "decorative",
93041
+ "width": 220
93042
+ }
93043
+ }
93044
+ ]
93045
+ }
93046
+ },
93047
+ "modifiers": {
93048
+ "weight": 1
93049
+ }
93050
+ }
93051
+ ]
93052
+ }
93053
+ },
93054
+ "modifiers": {
93055
+ "padding": {
93056
+ "leading": 20,
93057
+ "trailing": 20,
93058
+ "top": 12,
93059
+ "bottom": 12
93060
+ },
93061
+ "fillMaxWidth": true
93062
+ }
93063
+ },
93064
+ {
93065
+ "id": "",
93066
+ "body": {
93067
+ "package": "himalaya",
93068
+ "type": "Divider",
93069
+ "props": {}
93070
+ }
93071
+ }
93072
+ ]
93073
+ }
93074
+ }
91814
93075
  }
91815
- }
93076
+ ]
91816
93077
  }
93078
+ },
93079
+ "modifiers": {
93080
+ "hiddenPath": "$service:himiBrandedInbox.notLoading"
91817
93081
  }
91818
93082
  },
91819
93083
  {
91820
- "id": "himi_inbox.chat_with_us",
93084
+ "id": "himi_inbox.sign_in_error",
91821
93085
  "body": {
91822
93086
  "package": "himalaya",
91823
- "type": "Button",
93087
+ "type": "ErrorState",
91824
93088
  "props": {
91825
- "title": "Chat with us",
91826
- "style": "secondary",
91827
- "fullWidth": true,
91828
- "leadingIcon": "chat",
91829
- "action": {
93089
+ "variant": "signIn",
93090
+ "placement": "section",
93091
+ "title": "Sign in to see your messages.",
93092
+ "ctaLabel": "Sign in",
93093
+ "cta": {
91830
93094
  "actionId": "himi.open",
91831
93095
  "params": {
91832
- "screenId": "himi_business_chat"
91833
- }
93096
+ "screenId": "himi_sign_in",
93097
+ "returnScreenId": "himi_inbox",
93098
+ "modal": "1",
93099
+ "sheetStyle": "page"
93100
+ },
93101
+ "presentation": "sheet"
91834
93102
  }
91835
93103
  }
91836
- }
91837
- },
91838
- {
91839
- "id": "himi_inbox.sample_banner",
91840
- "body": {
91841
- "package": "himalaya",
91842
- "type": "Banner",
91843
- "props": {
91844
- "severity": "warning",
91845
- "title": "Sample content",
91846
- "message": "These are example messages — this site has none yet."
91847
- }
91848
- },
91849
- "modifiers": {
91850
- "hiddenPath": "$service:himiBrandedInbox.notMockEmpty"
91851
- }
91852
- },
91853
- {
91854
- "id": "himi_inbox.unavailable_banner",
91855
- "body": {
91856
- "package": "himalaya",
91857
- "type": "Banner",
91858
- "props": {
91859
- "severity": "warning",
91860
- "title": "Sample content",
91861
- "message": "Your messages couldn't be loaded."
91862
- }
91863
- },
91864
- "modifiers": {
91865
- "hiddenPath": "$service:himiBrandedInbox.notMockUnavailable"
91866
- }
91867
- },
91868
- {
91869
- "id": "himi_inbox.loading",
91870
- "body": {
91871
- "package": "himalaya",
91872
- "type": "Skeleton",
91873
- "props": {
91874
- "height": 72,
91875
- "cornerRadius": 12,
91876
- "count": 3
91877
- }
91878
93104
  },
91879
93105
  "modifiers": {
91880
- "hiddenPath": "$service:himiBrandedInbox.notLoading"
93106
+ "hiddenPath": "$service:himiBrandedInbox.noSignIn"
91881
93107
  }
91882
93108
  },
91883
93109
  {
91884
- "id": "himi_inbox.error",
93110
+ "id": "himi_inbox.error_group",
91885
93111
  "body": {
91886
93112
  "package": "himalaya",
91887
93113
  "type": "VStack",
91888
93114
  "props": {
91889
- "spacing": 8,
91890
- "alignment": "leading",
93115
+ "spacing": 0,
91891
93116
  "children": [
91892
93117
  {
91893
- "id": "",
91894
- "body": {
91895
- "package": "himalaya",
91896
- "type": "Text",
91897
- "props": {
91898
- "text": "$service:himiBrandedInbox.error",
91899
- "style": "bodyEmphasis",
91900
- "collapseWhenEmpty": true
91901
- }
91902
- }
91903
- },
91904
- {
91905
- "id": "himi_inbox.retry",
91906
- "body": {
91907
- "package": "himalaya",
91908
- "type": "Button",
91909
- "props": {
91910
- "title": "Try again",
91911
- "style": "secondary",
91912
- "action": {
91913
- "actionId": "tier5.himiBrandedInbox.load"
91914
- }
91915
- }
91916
- },
91917
- "modifiers": {
91918
- "hiddenPath": "$service:himiBrandedInbox.signInRequired"
91919
- }
91920
- },
91921
- {
91922
- "id": "himi_inbox.sign_in",
93118
+ "id": "himi_inbox.error",
91923
93119
  "body": {
91924
93120
  "package": "himalaya",
91925
- "type": "Button",
93121
+ "type": "ErrorState",
91926
93122
  "props": {
91927
- "title": "Sign in",
91928
- "style": "primary",
91929
- "leadingIcon": "person",
91930
- "action": {
91931
- "actionId": "himi.open",
93123
+ "variant": "server",
93124
+ "placement": "section",
93125
+ "title": "Unable to load your inbox",
93126
+ "ctaLabel": "Try again",
93127
+ "cta": {
93128
+ "actionId": "tier5.himiBrandedInbox.load",
91932
93129
  "params": {
91933
- "screenId": "himi_sign_in",
91934
- "modal": "1",
91935
- "sheetStyle": "page"
91936
- },
91937
- "presentation": "sheet"
93130
+ "pinBusinessRoom": "1"
93131
+ }
91938
93132
  }
91939
93133
  }
91940
93134
  },
91941
93135
  "modifiers": {
91942
- "hiddenPath": "$service:himiBrandedInbox.noSignIn"
93136
+ "hiddenPath": "$service:himiBrandedInbox.signInRequired"
91943
93137
  }
91944
93138
  }
91945
93139
  ]
91946
93140
  }
91947
93141
  },
91948
93142
  "modifiers": {
91949
- "background": {
91950
- "token": "surfaceElevated"
91951
- },
91952
- "border": {
91953
- "width": 1,
91954
- "color": {
91955
- "token": "border"
91956
- }
91957
- },
91958
- "cornerRadius": 4,
91959
- "padding": {
91960
- "leading": 16,
91961
- "trailing": 16,
91962
- "top": 16,
91963
- "bottom": 16
91964
- },
91965
93143
  "hiddenPath": "$service:himiBrandedInbox.notErrored"
91966
93144
  }
91967
93145
  },
93146
+ {
93147
+ "id": "himi_inbox.empty",
93148
+ "body": {
93149
+ "package": "himalaya",
93150
+ "type": "EmptyState",
93151
+ "props": {
93152
+ "icon": "inbox",
93153
+ "title": "No conversations yet",
93154
+ "subtitle": "Start one with the business or another member.",
93155
+ "action": {
93156
+ "actionId": "himi.open",
93157
+ "presentation": "sheet",
93158
+ "params": {
93159
+ "screenId": "himi_new_message",
93160
+ "modal": "1",
93161
+ "sheetStyle": "page"
93162
+ }
93163
+ },
93164
+ "actionLabel": "New Message"
93165
+ }
93166
+ },
93167
+ "modifiers": {
93168
+ "hiddenPath": "$service:himiBrandedInbox.hideEmpty"
93169
+ }
93170
+ },
91968
93171
  {
91969
93172
  "id": "himi_inbox.rows",
91970
93173
  "body": {
91971
93174
  "package": "himalaya",
91972
- "type": "Grid",
93175
+ "type": "LazyList",
91973
93176
  "props": {
91974
- "columns": 1,
91975
- "spacing": 10,
91976
93177
  "itemsPath": "$service:himiBrandedInbox.conversations",
91977
93178
  "items": [
91978
93179
  {
91979
- "id": "",
93180
+ "id": "himi_inbox.row.$item.id",
91980
93181
  "body": {
91981
93182
  "package": "himalaya",
91982
- "type": "HStack",
93183
+ "type": "VStack",
91983
93184
  "props": {
91984
- "spacing": 12,
93185
+ "spacing": 0,
93186
+ "alignment": "leading",
91985
93187
  "children": [
91986
- {
91987
- "id": "himi_inbox.row_avatar",
91988
- "body": {
91989
- "package": "himalaya",
91990
- "type": "Image",
91991
- "props": {
91992
- "url": "$item.photo",
91993
- "initials": "$item.initial",
91994
- "width": 40,
91995
- "height": 40,
91996
- "contentMode": "fill",
91997
- "shape": "circle",
91998
- "contentDescription": "$item.title"
91999
- }
92000
- }
92001
- },
92002
93188
  {
92003
93189
  "id": "",
92004
93190
  "body": {
92005
93191
  "package": "himalaya",
92006
- "type": "VStack",
93192
+ "type": "HStack",
92007
93193
  "props": {
92008
- "spacing": 4,
92009
- "alignment": "leading",
93194
+ "spacing": 12,
93195
+ "alignment": "center",
92010
93196
  "children": [
93197
+ {
93198
+ "id": "himi_inbox.row_avatar.$item.id_member",
93199
+ "body": {
93200
+ "package": "himalaya",
93201
+ "type": "ZStack",
93202
+ "props": {
93203
+ "alignment": "center",
93204
+ "children": [
93205
+ {
93206
+ "id": "",
93207
+ "body": {
93208
+ "package": "himalaya",
93209
+ "type": "Text",
93210
+ "props": {
93211
+ "text": "$item.initial",
93212
+ "style": "footnote",
93213
+ "color": "textSecondary",
93214
+ "maxLines": 1
93215
+ }
93216
+ }
93217
+ },
93218
+ {
93219
+ "id": "himi_inbox.row_avatar.$item.id",
93220
+ "body": {
93221
+ "package": "himalaya",
93222
+ "type": "Avatar",
93223
+ "props": {
93224
+ "imageUrl": "$item.photo",
93225
+ "initials": "$item.initial",
93226
+ "size": 44
93227
+ }
93228
+ },
93229
+ "modifiers": {
93230
+ "accessibilityRole": "decorative",
93231
+ "hiddenPath": "$item.noPhoto"
93232
+ }
93233
+ }
93234
+ ]
93235
+ }
93236
+ },
93237
+ "modifiers": {
93238
+ "width": 44,
93239
+ "height": 44,
93240
+ "background": {
93241
+ "token": "surfaceTertiary"
93242
+ },
93243
+ "cornerRadius": 999,
93244
+ "accessibilityRole": "decorative"
93245
+ }
93246
+ },
92011
93247
  {
92012
93248
  "id": "",
92013
93249
  "body": {
92014
93250
  "package": "himalaya",
92015
- "type": "Text",
93251
+ "type": "VStack",
92016
93252
  "props": {
92017
- "text": "$item.title",
92018
- "style": "bodyEmphasis",
92019
- "maxLines": 1
93253
+ "spacing": 4,
93254
+ "alignment": "leading",
93255
+ "children": [
93256
+ {
93257
+ "id": "",
93258
+ "body": {
93259
+ "package": "himalaya",
93260
+ "type": "HStack",
93261
+ "props": {
93262
+ "spacing": 8,
93263
+ "alignment": "center",
93264
+ "children": [
93265
+ {
93266
+ "id": "",
93267
+ "body": {
93268
+ "package": "himalaya",
93269
+ "type": "Text",
93270
+ "props": {
93271
+ "text": "$item.title",
93272
+ "style": "footnote",
93273
+ "maxLines": 1
93274
+ }
93275
+ },
93276
+ "modifiers": {
93277
+ "weight": 1
93278
+ }
93279
+ }
93280
+ ]
93281
+ }
93282
+ }
93283
+ },
93284
+ {
93285
+ "id": "",
93286
+ "body": {
93287
+ "package": "himalaya",
93288
+ "type": "Text",
93289
+ "props": {
93290
+ "text": "$item.subtitle",
93291
+ "style": "footnoteRegular",
93292
+ "color": "textSecondary",
93293
+ "maxLines": 1,
93294
+ "collapseWhenEmpty": true
93295
+ }
93296
+ }
93297
+ }
93298
+ ]
92020
93299
  }
93300
+ },
93301
+ "modifiers": {
93302
+ "weight": 1
92021
93303
  }
92022
93304
  },
92023
93305
  {
@@ -92026,60 +93308,39 @@ const SCREENS = runtimeSetting({
92026
93308
  "package": "himalaya",
92027
93309
  "type": "Text",
92028
93310
  "props": {
92029
- "text": "$item.subtitle",
93311
+ "text": "$item.unreadDot",
92030
93312
  "style": "footnote",
92031
- "color": "textSecondary",
92032
- "maxLines": 2,
93313
+ "color": "accentPrimary",
93314
+ "maxLines": 1,
92033
93315
  "collapseWhenEmpty": true
92034
93316
  }
92035
93317
  }
92036
93318
  }
92037
93319
  ]
92038
93320
  }
93321
+ },
93322
+ "modifiers": {
93323
+ "padding": {
93324
+ "leading": 20,
93325
+ "trailing": 20,
93326
+ "top": 12,
93327
+ "bottom": 12
93328
+ },
93329
+ "fillMaxWidth": true
92039
93330
  }
92040
93331
  },
92041
93332
  {
92042
93333
  "id": "",
92043
93334
  "body": {
92044
93335
  "package": "himalaya",
92045
- "type": "Spacer",
93336
+ "type": "Divider",
92046
93337
  "props": {}
92047
93338
  }
92048
- },
92049
- {
92050
- "id": "",
92051
- "body": {
92052
- "package": "himalaya",
92053
- "type": "Text",
92054
- "props": {
92055
- "text": "$item.unreadDot",
92056
- "style": "body",
92057
- "color": "accentPrimary",
92058
- "maxLines": 1,
92059
- "collapseWhenEmpty": true
92060
- }
92061
- }
92062
93339
  }
92063
93340
  ]
92064
93341
  }
92065
93342
  },
92066
93343
  "modifiers": {
92067
- "background": {
92068
- "token": "surfaceElevated"
92069
- },
92070
- "border": {
92071
- "width": 1,
92072
- "color": {
92073
- "token": "border"
92074
- }
92075
- },
92076
- "cornerRadius": 8,
92077
- "padding": {
92078
- "leading": 14,
92079
- "trailing": 14,
92080
- "top": 12,
92081
- "bottom": 12
92082
- },
92083
93344
  "onTap": {
92084
93345
  "actionId": "himi.open",
92085
93346
  "params": {
@@ -92088,34 +93349,19 @@ const SCREENS = runtimeSetting({
92088
93349
  "kind": "$item.kind"
92089
93350
  }
92090
93351
  },
92091
- "pressFeedback": "scale",
93352
+ "pressFeedback": "highlight",
92092
93353
  "haptic": "light",
92093
- "accessibilityLabel": "$item.title"
93354
+ "accessibilityLabel": "$item.title",
93355
+ "accessibilityRole": "button",
93356
+ "fillMaxWidth": true
92094
93357
  }
92095
93358
  }
92096
- ]
92097
- }
92098
- }
92099
- },
92100
- {
92101
- "id": "",
92102
- "body": {
92103
- "package": "himalaya",
92104
- "type": "Text",
92105
- "props": {
92106
- "text": "$service:himiBrandedInbox.emptyText",
92107
- "style": "body",
92108
- "color": "textSecondary",
92109
- "collapseWhenEmpty": true
93359
+ ],
93360
+ "spacing": 0
92110
93361
  }
92111
93362
  },
92112
93363
  "modifiers": {
92113
- "padding": {
92114
- "leading": 8,
92115
- "trailing": 8,
92116
- "top": 8,
92117
- "bottom": 0
92118
- }
93364
+ "hiddenPath": "$service:himiBrandedInbox.busy"
92119
93365
  }
92120
93366
  }
92121
93367
  ]
@@ -92126,13 +93372,14 @@ const SCREENS = runtimeSetting({
92126
93372
  "token": "surfacePrimary"
92127
93373
  },
92128
93374
  "padding": {
92129
- "leading": 16,
92130
- "trailing": 16,
92131
93375
  "top": 18,
92132
93376
  "bottom": 28
92133
93377
  },
92134
93378
  "onAppear": {
92135
- "actionId": "tier5.himiBrandedInbox.load"
93379
+ "actionId": "tier5.himiBrandedInbox.load",
93380
+ "params": {
93381
+ "pinBusinessRoom": "1"
93382
+ }
92136
93383
  }
92137
93384
  }
92138
93385
  },
@@ -92145,6 +93392,26 @@ const SCREENS = runtimeSetting({
92145
93392
  ],
92146
93393
  "minBinaryVersion": "0.1.0",
92147
93394
  "bundleVersion": "0.0.1"
93395
+ },
93396
+ "topBar": {
93397
+ "actions": [
93398
+ {
93399
+ "id": "compose",
93400
+ "icon": "edit",
93401
+ "accessibilityLabel": "New Message",
93402
+ "onTap": {
93403
+ "actionId": "himi.open",
93404
+ "presentation": "sheet",
93405
+ "params": {
93406
+ "screenId": "himi_new_message",
93407
+ "modal": "1",
93408
+ "sheetStyle": "page"
93409
+ }
93410
+ },
93411
+ "hiddenPath": "$service:himiBrandedInbox.busy",
93412
+ "hiddenPathScope": "screen"
93413
+ }
93414
+ ]
92148
93415
  }
92149
93416
  },
92150
93417
  "himi_food_orders": {