@wix/himalaya-cli 0.1661.0 → 0.1663.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 (73) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +17 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/audio-record/src/index.d.ts +4 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +26 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +26 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +8 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +4 -0
  8. package/dist/browser-plane/assets.json +5 -5
  9. package/dist/browser-plane/preview-deferred/{fcafca348b6b973cfc2eadc938ddec3c515c641874cbca1667a43b22e1bf7a39.bin → 5fe817d61d13666ee8e6951d96a873f768ef305462735f6030cce105f1c21488.bin} +1 -1
  10. package/dist/browser-plane/sw.js +8 -8
  11. package/dist/cli.mjs +1147 -731
  12. package/dist/preview-assets.generated.bin +0 -0
  13. package/fixtures/wix-canned.json +1 -0
  14. package/guides/component-reference.json +13 -4
  15. package/guides/component-reference.md +26 -6
  16. package/guides/himi-json-output.md +8 -0
  17. package/guides/index.json +1 -1
  18. package/guides/one-app-section-mappings.md +3 -4
  19. package/guides/one-app-to-himi-app.md +20 -1
  20. package/guides/sdk-reference.json +24 -1
  21. package/package.json +2 -2
  22. package/templates/beauty-salon/recipes/announcement-card.json +72 -0
  23. package/templates/beauty-salon/tier5-src/_shared/announcement-section.ts +122 -0
  24. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +8 -0
  25. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +8 -0
  26. package/templates/branded-lite/dev/index.ts +791 -169
  27. package/templates/branded-lite/l10n/en.json +46 -13
  28. package/templates/branded-lite/l10n/he.json +59 -7
  29. package/templates/branded-lite/recipes/announcement-card.json +72 -0
  30. package/templates/branded-lite/tier5-src/_shared/announcement-section.ts +122 -0
  31. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +8 -0
  32. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +367 -63
  33. package/templates/community-club/l10n/he.json +2 -2
  34. package/templates/community-club/recipes/announcement-card.json +72 -0
  35. package/templates/community-club/tier5-src/_shared/announcement-section.ts +122 -0
  36. package/templates/community-club/tier5-src/_shared/engine-intl.ts +8 -0
  37. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +8 -0
  38. package/templates/conference/tier5-src/_shared/engine-intl.ts +8 -0
  39. package/templates/events-meetups/recipes/announcement-card.json +72 -0
  40. package/templates/events-meetups/tier5-src/_shared/announcement-section.ts +122 -0
  41. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +8 -0
  42. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +8 -0
  43. package/templates/gym-fitness/recipes/announcement-card.json +72 -0
  44. package/templates/gym-fitness/tier5-src/_shared/announcement-section.ts +122 -0
  45. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +8 -0
  46. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +8 -0
  47. package/templates/nonprofit-cause/recipes/announcement-card.json +72 -0
  48. package/templates/nonprofit-cause/tier5-src/_shared/announcement-section.ts +122 -0
  49. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +8 -0
  50. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +8 -0
  51. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +8 -0
  52. package/templates/podcast-creator/recipes/announcement-card.json +72 -0
  53. package/templates/podcast-creator/tier5-src/_shared/announcement-section.ts +122 -0
  54. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +8 -0
  55. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +8 -0
  56. package/templates/portfolio-creative/recipes/announcement-card.json +72 -0
  57. package/templates/portfolio-creative/tier5-src/_shared/announcement-section.ts +122 -0
  58. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +8 -0
  59. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +8 -0
  60. package/templates/restaurant/recipes/announcement-card.json +72 -0
  61. package/templates/restaurant/tier5-src/_shared/announcement-section.ts +122 -0
  62. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +8 -0
  63. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +8 -0
  64. package/templates/retail-store/recipes/announcement-card.json +72 -0
  65. package/templates/retail-store/tier5-src/_shared/announcement-section.ts +122 -0
  66. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +8 -0
  67. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +8 -0
  68. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +8 -0
  69. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +8 -0
  70. package/templates/yoga-studio/recipes/announcement-card.json +72 -0
  71. package/templates/yoga-studio/tier5-src/_shared/announcement-section.ts +122 -0
  72. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +8 -0
  73. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +8 -0
@@ -38887,41 +38887,161 @@ const SCREENS = runtimeSetting({
38887
38887
  "type": "VStack",
38888
38888
  "props": {
38889
38889
  "spacing": 12,
38890
- "alignment": "center",
38890
+ "alignment": "leading",
38891
38891
  "children": [
38892
38892
  {
38893
- "id": "",
38893
+ "id": "himi_member.follow_error",
38894
+ "body": {
38895
+ "package": "himalaya",
38896
+ "type": "Snackbar",
38897
+ "props": {
38898
+ "message": "Couldn't follow. Try again.",
38899
+ "severity": "danger",
38900
+ "durationMs": 4000,
38901
+ "actionLabel": "Try again",
38902
+ "action": {
38903
+ "actionId": "tier5.spacesMemberDetail.toggleFollow",
38904
+ "params": {}
38905
+ }
38906
+ }
38907
+ },
38908
+ "modifiers": {
38909
+ "accessibilityLabel": "Couldn't follow. Try again.",
38910
+ "hiddenPath": "$service:spacesMemberDetail.noFollowError"
38911
+ }
38912
+ },
38913
+ {
38914
+ "id": "himi_member.unfollow_error",
38915
+ "body": {
38916
+ "package": "himalaya",
38917
+ "type": "Snackbar",
38918
+ "props": {
38919
+ "message": "Couldn't unfollow. Try again.",
38920
+ "severity": "danger",
38921
+ "durationMs": 4000,
38922
+ "actionLabel": "Try again",
38923
+ "action": {
38924
+ "actionId": "tier5.spacesMemberDetail.toggleFollow",
38925
+ "params": {}
38926
+ }
38927
+ }
38928
+ },
38929
+ "modifiers": {
38930
+ "accessibilityLabel": "Couldn't unfollow. Try again.",
38931
+ "hiddenPath": "$service:spacesMemberDetail.noUnfollowError"
38932
+ }
38933
+ },
38934
+ {
38935
+ "id": "himi_member.skeleton",
38894
38936
  "body": {
38895
38937
  "package": "himalaya",
38896
38938
  "type": "VStack",
38897
38939
  "props": {
38898
- "spacing": 12,
38899
- "alignment": "center",
38940
+ "spacing": 20,
38941
+ "alignment": "leading",
38900
38942
  "children": [
38901
38943
  {
38902
- "id": "himi_member.avatar",
38944
+ "id": "",
38903
38945
  "body": {
38904
38946
  "package": "himalaya",
38905
- "type": "Image",
38947
+ "type": "VStack",
38906
38948
  "props": {
38907
- "url": "$service:spacesMemberDetail.photo",
38908
- "initials": "$service:spacesMemberDetail.initial",
38909
- "width": 96,
38910
- "height": 96,
38911
- "contentMode": "fill",
38912
- "shape": "circle",
38913
- "contentDescription": "$service:spacesMemberDetail.name"
38949
+ "spacing": 8,
38950
+ "alignment": "center",
38951
+ "children": [
38952
+ {
38953
+ "id": "himi_member.skeleton_avatar",
38954
+ "body": {
38955
+ "package": "himalaya",
38956
+ "type": "Skeleton",
38957
+ "props": {
38958
+ "width": 96,
38959
+ "height": 96,
38960
+ "cornerRadius": 48
38961
+ }
38962
+ }
38963
+ },
38964
+ {
38965
+ "id": "himi_member.skeleton_name",
38966
+ "body": {
38967
+ "package": "himalaya",
38968
+ "type": "Skeleton",
38969
+ "props": {
38970
+ "width": 160,
38971
+ "height": 24,
38972
+ "cornerRadius": 6
38973
+ }
38974
+ }
38975
+ },
38976
+ {
38977
+ "id": "himi_member.skeleton_date",
38978
+ "body": {
38979
+ "package": "himalaya",
38980
+ "type": "Skeleton",
38981
+ "props": {
38982
+ "width": 110,
38983
+ "height": 14,
38984
+ "cornerRadius": 4
38985
+ }
38986
+ }
38987
+ },
38988
+ {
38989
+ "id": "himi_member.skeleton_counts",
38990
+ "body": {
38991
+ "package": "himalaya",
38992
+ "type": "Skeleton",
38993
+ "props": {
38994
+ "width": 140,
38995
+ "height": 14,
38996
+ "cornerRadius": 4
38997
+ }
38998
+ }
38999
+ }
39000
+ ]
38914
39001
  }
39002
+ },
39003
+ "modifiers": {
39004
+ "fillMaxWidth": true
38915
39005
  }
38916
39006
  },
38917
39007
  {
38918
- "id": "himi_member.name",
39008
+ "id": "",
38919
39009
  "body": {
38920
39010
  "package": "himalaya",
38921
- "type": "Text",
39011
+ "type": "HStack",
38922
39012
  "props": {
38923
- "text": "$service:spacesMemberDetail.name",
38924
- "style": "title1"
39013
+ "spacing": 12,
39014
+ "alignment": "center",
39015
+ "children": [
39016
+ {
39017
+ "id": "himi_member.skeleton_follow",
39018
+ "body": {
39019
+ "package": "himalaya",
39020
+ "type": "Skeleton",
39021
+ "props": {
39022
+ "height": 48,
39023
+ "cornerRadius": 12
39024
+ }
39025
+ },
39026
+ "modifiers": {
39027
+ "weight": 1
39028
+ }
39029
+ },
39030
+ {
39031
+ "id": "himi_member.skeleton_message",
39032
+ "body": {
39033
+ "package": "himalaya",
39034
+ "type": "Skeleton",
39035
+ "props": {
39036
+ "height": 48,
39037
+ "cornerRadius": 12
39038
+ }
39039
+ },
39040
+ "modifiers": {
39041
+ "weight": 1
39042
+ }
39043
+ }
39044
+ ]
38925
39045
  }
38926
39046
  }
38927
39047
  },
@@ -38929,25 +39049,53 @@ const SCREENS = runtimeSetting({
38929
39049
  "id": "",
38930
39050
  "body": {
38931
39051
  "package": "himalaya",
38932
- "type": "Text",
39052
+ "type": "Divider",
39053
+ "props": {}
39054
+ }
39055
+ },
39056
+ {
39057
+ "id": "himi_member.skeleton_heading",
39058
+ "body": {
39059
+ "package": "himalaya",
39060
+ "type": "Skeleton",
38933
39061
  "props": {
38934
- "text": "$service:spacesMemberDetail.subtitle",
38935
- "style": "footnote",
38936
- "color": "textSecondary",
38937
- "collapseWhenEmpty": true
39062
+ "width": 120,
39063
+ "height": 20,
39064
+ "cornerRadius": 4
38938
39065
  }
38939
39066
  }
38940
39067
  },
38941
39068
  {
38942
- "id": "",
39069
+ "id": "himi_member.skeleton_line_1",
38943
39070
  "body": {
38944
39071
  "package": "himalaya",
38945
- "type": "Text",
39072
+ "type": "Skeleton",
38946
39073
  "props": {
38947
- "text": "$service:spacesMemberDetail.followCount",
38948
- "style": "caption",
38949
- "color": "textTertiary",
38950
- "collapseWhenEmpty": true
39074
+ "height": 14,
39075
+ "cornerRadius": 4
39076
+ }
39077
+ }
39078
+ },
39079
+ {
39080
+ "id": "himi_member.skeleton_line_2",
39081
+ "body": {
39082
+ "package": "himalaya",
39083
+ "type": "Skeleton",
39084
+ "props": {
39085
+ "height": 14,
39086
+ "cornerRadius": 4
39087
+ }
39088
+ }
39089
+ },
39090
+ {
39091
+ "id": "himi_member.skeleton_line_3",
39092
+ "body": {
39093
+ "package": "himalaya",
39094
+ "type": "Skeleton",
39095
+ "props": {
39096
+ "width": 220,
39097
+ "height": 14,
39098
+ "cornerRadius": 4
38951
39099
  }
38952
39100
  }
38953
39101
  }
@@ -38955,170 +39103,596 @@ const SCREENS = runtimeSetting({
38955
39103
  }
38956
39104
  },
38957
39105
  "modifiers": {
38958
- "hiddenPath": "$service:spacesMemberDetail.noEntity"
38959
- }
38960
- },
38961
- {
38962
- "id": "",
38963
- "body": {
38964
- "package": "himalaya",
38965
- "type": "Text",
38966
- "props": {
38967
- "text": "$service:spacesMemberDetail.followLabel",
38968
- "style": "bodyEmphasis",
38969
- "color": "accentPrimary"
38970
- }
38971
- },
38972
- "modifiers": {
38973
- "background": {
38974
- "token": "surfacePrimary"
38975
- },
38976
- "border": {
38977
- "width": 1,
38978
- "color": {
38979
- "token": "border"
38980
- }
38981
- },
38982
- "cornerRadius": 12,
38983
- "padding": {
38984
- "leading": 20,
38985
- "trailing": 20,
38986
- "top": 9,
38987
- "bottom": 9
38988
- },
38989
- "onTap": {
38990
- "actionId": "tier5.spacesMemberDetail.toggleFollow"
38991
- },
38992
- "pressFeedback": "scale",
38993
- "haptic": "light",
38994
- "accessibilityLabel": "$service:spacesMemberDetail.followLabel",
38995
- "hiddenPath": "$service:spacesMemberDetail.noEntity"
39106
+ "hiddenPath": "$service:spacesMemberDetail.hideLoading"
38996
39107
  }
38997
39108
  },
38998
39109
  {
38999
- "id": "himi_member.message",
39000
- "body": {
39001
- "package": "himalaya",
39002
- "type": "Button",
39003
- "props": {
39004
- "title": "Message",
39005
- "style": "secondary",
39006
- "fullWidth": true,
39007
- "leadingIcon": "chat",
39008
- "action": {
39009
- "actionId": "himi.open",
39010
- "params": {
39011
- "screenId": "himi_chat_thread",
39012
- "id": "$service:spacesMemberDetail.id"
39013
- }
39014
- }
39015
- }
39016
- },
39017
- "modifiers": {
39018
- "hiddenPath": "$service:spacesMemberDetail.noEntity"
39019
- }
39020
- },
39021
- {
39022
- "id": "",
39110
+ "id": "himi_member.content",
39023
39111
  "body": {
39024
39112
  "package": "himalaya",
39025
39113
  "type": "VStack",
39026
39114
  "props": {
39027
- "spacing": 12,
39115
+ "spacing": 20,
39028
39116
  "alignment": "leading",
39029
39117
  "children": [
39030
39118
  {
39031
- "id": "himi_member.loading",
39119
+ "id": "",
39032
39120
  "body": {
39033
39121
  "package": "himalaya",
39034
- "type": "Text",
39122
+ "type": "VStack",
39035
39123
  "props": {
39036
- "text": "Loading…",
39037
- "style": "body",
39038
- "color": "textSecondary"
39124
+ "spacing": 20,
39125
+ "alignment": "center",
39126
+ "children": [
39127
+ {
39128
+ "id": "",
39129
+ "body": {
39130
+ "package": "himalaya",
39131
+ "type": "VStack",
39132
+ "props": {
39133
+ "spacing": 6,
39134
+ "alignment": "center",
39135
+ "children": [
39136
+ {
39137
+ "id": "himi_member.avatar",
39138
+ "body": {
39139
+ "package": "himalaya",
39140
+ "type": "Image",
39141
+ "props": {
39142
+ "url": "$service:spacesMemberDetail.photo",
39143
+ "initials": "$service:spacesMemberDetail.initial",
39144
+ "width": 96,
39145
+ "height": 96,
39146
+ "contentMode": "fill",
39147
+ "shape": "circle",
39148
+ "contentDescription": "$service:spacesMemberDetail.name"
39149
+ }
39150
+ }
39151
+ },
39152
+ {
39153
+ "id": "himi_member.name",
39154
+ "body": {
39155
+ "package": "himalaya",
39156
+ "type": "Text",
39157
+ "props": {
39158
+ "text": "$service:spacesMemberDetail.name",
39159
+ "style": "title2",
39160
+ "textAlign": "center"
39161
+ }
39162
+ },
39163
+ "modifiers": {
39164
+ "padding": {
39165
+ "top": 6
39166
+ }
39167
+ }
39168
+ },
39169
+ {
39170
+ "id": "himi_member.joined",
39171
+ "body": {
39172
+ "package": "himalaya",
39173
+ "type": "Text",
39174
+ "props": {
39175
+ "text": "$service:spacesMemberDetail.joined",
39176
+ "style": "caption",
39177
+ "color": "textSecondary",
39178
+ "textAlign": "center"
39179
+ }
39180
+ },
39181
+ "modifiers": {
39182
+ "hiddenPath": "$service:spacesMemberDetail.hideJoined"
39183
+ }
39184
+ },
39185
+ {
39186
+ "id": "himi_member.counts",
39187
+ "body": {
39188
+ "package": "himalaya",
39189
+ "type": "Text",
39190
+ "props": {
39191
+ "text": "$service:spacesMemberDetail.followCount",
39192
+ "style": "footnote",
39193
+ "color": "textSecondary",
39194
+ "textAlign": "center"
39195
+ }
39196
+ },
39197
+ "modifiers": {
39198
+ "hiddenPath": "$service:spacesMemberDetail.hideCounts"
39199
+ }
39200
+ }
39201
+ ]
39202
+ }
39203
+ }
39204
+ },
39205
+ {
39206
+ "id": "himi_member.actions",
39207
+ "body": {
39208
+ "package": "himalaya",
39209
+ "type": "HStack",
39210
+ "props": {
39211
+ "spacing": 12,
39212
+ "alignment": "center",
39213
+ "children": [
39214
+ {
39215
+ "id": "himi_member.follow_guest",
39216
+ "body": {
39217
+ "package": "himalaya",
39218
+ "type": "Button",
39219
+ "props": {
39220
+ "title": "Follow",
39221
+ "style": "primary",
39222
+ "fullWidth": true,
39223
+ "action": {
39224
+ "actionId": "himi.open",
39225
+ "params": {
39226
+ "screenId": "himi_sign_in",
39227
+ "mode": "signin",
39228
+ "returnScreenId": "himi_member",
39229
+ "returnId": "$service:spacesMemberDetail.id",
39230
+ "modal": "1",
39231
+ "sheetStyle": "page"
39232
+ },
39233
+ "presentation": "sheet"
39234
+ }
39235
+ }
39236
+ },
39237
+ "modifiers": {
39238
+ "weight": 1,
39239
+ "height": 48,
39240
+ "hiddenPath": "$service:spacesMemberDetail.hideGuestActions"
39241
+ }
39242
+ },
39243
+ {
39244
+ "id": "himi_member.follow",
39245
+ "body": {
39246
+ "package": "himalaya",
39247
+ "type": "Button",
39248
+ "props": {
39249
+ "title": "Follow",
39250
+ "style": "primary",
39251
+ "fullWidth": true,
39252
+ "disabledPath": "$service:spacesMemberDetail.followBusy",
39253
+ "action": {
39254
+ "actionId": "tier5.spacesMemberDetail.follow"
39255
+ }
39256
+ }
39257
+ },
39258
+ "modifiers": {
39259
+ "weight": 1,
39260
+ "height": 48,
39261
+ "hiddenPath": "$service:spacesMemberDetail.hideFollow"
39262
+ }
39263
+ },
39264
+ {
39265
+ "id": "himi_member.following",
39266
+ "body": {
39267
+ "package": "himalaya",
39268
+ "type": "Button",
39269
+ "props": {
39270
+ "title": "Following",
39271
+ "style": "secondary",
39272
+ "leadingIcon": "check",
39273
+ "fullWidth": true,
39274
+ "disabledPath": "$service:spacesMemberDetail.followBusy",
39275
+ "action": {
39276
+ "actionId": "himi.open",
39277
+ "presentation": "alert",
39278
+ "args": {
39279
+ "title": "$service:spacesMemberDetail.unfollowTitle",
39280
+ "confirmLabel": "Unfollow",
39281
+ "cancelLabel": "Cancel",
39282
+ "destructive": true,
39283
+ "confirmActionId": "tier5.spacesMemberDetail.unfollow"
39284
+ }
39285
+ }
39286
+ }
39287
+ },
39288
+ "modifiers": {
39289
+ "weight": 1,
39290
+ "height": 48,
39291
+ "hiddenPath": "$service:spacesMemberDetail.hideFollowing"
39292
+ }
39293
+ },
39294
+ {
39295
+ "id": "himi_member.message_guest",
39296
+ "body": {
39297
+ "package": "himalaya",
39298
+ "type": "Button",
39299
+ "props": {
39300
+ "title": "Message",
39301
+ "style": "secondary",
39302
+ "fullWidth": true,
39303
+ "leadingIcon": "chat",
39304
+ "action": {
39305
+ "actionId": "himi.open",
39306
+ "params": {
39307
+ "screenId": "himi_sign_in",
39308
+ "mode": "signin",
39309
+ "returnScreenId": "himi_member",
39310
+ "returnId": "$service:spacesMemberDetail.id",
39311
+ "modal": "1",
39312
+ "sheetStyle": "page"
39313
+ },
39314
+ "presentation": "sheet"
39315
+ }
39316
+ }
39317
+ },
39318
+ "modifiers": {
39319
+ "weight": 1,
39320
+ "height": 48,
39321
+ "hiddenPath": "$service:spacesMemberDetail.hideGuestActions"
39322
+ }
39323
+ },
39324
+ {
39325
+ "id": "himi_member.message",
39326
+ "body": {
39327
+ "package": "himalaya",
39328
+ "type": "Button",
39329
+ "props": {
39330
+ "title": "Message",
39331
+ "style": "secondary",
39332
+ "fullWidth": true,
39333
+ "leadingIcon": "chat",
39334
+ "action": {
39335
+ "actionId": "himi.open",
39336
+ "params": {
39337
+ "screenId": "himi_chat_thread",
39338
+ "id": "$service:spacesMemberDetail.id"
39339
+ }
39340
+ }
39341
+ }
39342
+ },
39343
+ "modifiers": {
39344
+ "weight": 1,
39345
+ "height": 48,
39346
+ "hiddenPath": "$service:spacesMemberDetail.hideMemberActions"
39347
+ }
39348
+ }
39349
+ ]
39350
+ }
39351
+ }
39352
+ },
39353
+ {
39354
+ "id": "himi_member.badges",
39355
+ "body": {
39356
+ "package": "himalaya",
39357
+ "type": "Grid",
39358
+ "props": {
39359
+ "columns": 2,
39360
+ "spacing": 8,
39361
+ "itemsPath": "$service:spacesMemberDetail.badges",
39362
+ "items": [
39363
+ {
39364
+ "id": "himi_member.badge_$item.id",
39365
+ "body": {
39366
+ "package": "himalaya",
39367
+ "type": "Text",
39368
+ "props": {
39369
+ "text": "$item.title",
39370
+ "style": "caption",
39371
+ "color": "textPrimary",
39372
+ "maxLines": 1
39373
+ }
39374
+ },
39375
+ "modifiers": {
39376
+ "background": {
39377
+ "token": "surfaceSecondary"
39378
+ },
39379
+ "cornerRadius": 14,
39380
+ "padding": {
39381
+ "leading": 10,
39382
+ "trailing": 10,
39383
+ "top": 6,
39384
+ "bottom": 6
39385
+ }
39386
+ }
39387
+ }
39388
+ ]
39389
+ }
39390
+ },
39391
+ "modifiers": {
39392
+ "padding": {
39393
+ "top": 6
39394
+ },
39395
+ "hiddenPath": "$service:spacesMemberDetail.hideBadges"
39396
+ }
39397
+ }
39398
+ ]
39039
39399
  }
39040
39400
  },
39041
39401
  "modifiers": {
39042
- "hiddenPath": "$service:spacesMemberDetail.hideLoading"
39402
+ "fillMaxWidth": true
39403
+ }
39404
+ },
39405
+ {
39406
+ "id": "",
39407
+ "body": {
39408
+ "package": "himalaya",
39409
+ "type": "Divider",
39410
+ "props": {}
39043
39411
  }
39044
39412
  },
39045
39413
  {
39046
- "id": "himi_member.load_error",
39414
+ "id": "himi_member.about",
39047
39415
  "body": {
39048
39416
  "package": "himalaya",
39049
- "type": "Text",
39417
+ "type": "VStack",
39050
39418
  "props": {
39051
- "text": "This couldn't be loaded. Check your connection and try again.",
39052
- "style": "body",
39053
- "color": "textSecondary"
39419
+ "spacing": 12,
39420
+ "alignment": "leading",
39421
+ "children": [
39422
+ {
39423
+ "id": "himi_member.about_title",
39424
+ "body": {
39425
+ "package": "himalaya",
39426
+ "type": "Text",
39427
+ "props": {
39428
+ "text": "About",
39429
+ "style": "title3"
39430
+ }
39431
+ }
39432
+ },
39433
+ {
39434
+ "id": "himi_member.about_body",
39435
+ "body": {
39436
+ "package": "himalaya",
39437
+ "type": "RichContent",
39438
+ "props": {
39439
+ "documentJsonPath": "$service:spacesMemberDetail.aboutJson"
39440
+ }
39441
+ }
39442
+ }
39443
+ ]
39444
+ }
39445
+ },
39446
+ "modifiers": {
39447
+ "hiddenPath": "$service:spacesMemberDetail.hideAbout"
39448
+ }
39449
+ },
39450
+ {
39451
+ "id": "himi_member.blog.section",
39452
+ "body": {
39453
+ "package": "himalaya",
39454
+ "type": "VStack",
39455
+ "props": {
39456
+ "spacing": 12,
39457
+ "alignment": "leading",
39458
+ "children": [
39459
+ {
39460
+ "id": "himi_member.blog.title",
39461
+ "body": {
39462
+ "package": "himalaya",
39463
+ "type": "Text",
39464
+ "props": {
39465
+ "text": "Blog posts",
39466
+ "style": "title3"
39467
+ }
39468
+ }
39469
+ },
39470
+ {
39471
+ "id": "himi_member.blog.rows",
39472
+ "body": {
39473
+ "package": "himalaya",
39474
+ "type": "Grid",
39475
+ "props": {
39476
+ "columns": 1,
39477
+ "spacing": 12,
39478
+ "itemsPath": "$service:spacesMemberDetail.blogPosts",
39479
+ "items": [
39480
+ {
39481
+ "id": "himi_member.blog.row_$item.id",
39482
+ "body": {
39483
+ "package": "himalaya",
39484
+ "type": "HStack",
39485
+ "props": {
39486
+ "spacing": 12,
39487
+ "alignment": "center",
39488
+ "children": [
39489
+ {
39490
+ "id": "himi_member.blog.thumb_$item.id",
39491
+ "body": {
39492
+ "package": "himalaya",
39493
+ "type": "Image",
39494
+ "props": {
39495
+ "url": "$item.thumb",
39496
+ "width": 64,
39497
+ "height": 64,
39498
+ "contentMode": "fill"
39499
+ }
39500
+ },
39501
+ "modifiers": {
39502
+ "accessibilityRole": "decorative",
39503
+ "cornerRadius": 8
39504
+ }
39505
+ },
39506
+ {
39507
+ "id": "",
39508
+ "body": {
39509
+ "package": "himalaya",
39510
+ "type": "VStack",
39511
+ "props": {
39512
+ "spacing": 4,
39513
+ "alignment": "leading",
39514
+ "children": [
39515
+ {
39516
+ "id": "",
39517
+ "body": {
39518
+ "package": "himalaya",
39519
+ "type": "Text",
39520
+ "props": {
39521
+ "text": "$item.title",
39522
+ "style": "bodyEmphasis",
39523
+ "maxLines": 2
39524
+ }
39525
+ }
39526
+ },
39527
+ {
39528
+ "id": "",
39529
+ "body": {
39530
+ "package": "himalaya",
39531
+ "type": "Text",
39532
+ "props": {
39533
+ "text": "$item.meta",
39534
+ "style": "caption",
39535
+ "color": "textSecondary",
39536
+ "collapseWhenEmpty": true
39537
+ }
39538
+ }
39539
+ }
39540
+ ]
39541
+ }
39542
+ }
39543
+ },
39544
+ {
39545
+ "id": "",
39546
+ "body": {
39547
+ "package": "himalaya",
39548
+ "type": "Spacer",
39549
+ "props": {}
39550
+ }
39551
+ }
39552
+ ]
39553
+ }
39554
+ },
39555
+ "modifiers": {
39556
+ "onTap": {
39557
+ "actionId": "himi.open",
39558
+ "params": {
39559
+ "screenId": "himi_blog_post",
39560
+ "id": "$item.id"
39561
+ }
39562
+ },
39563
+ "pressFeedback": "scale",
39564
+ "accessibilityLabel": "$item.title"
39565
+ }
39566
+ }
39567
+ ]
39568
+ }
39569
+ }
39570
+ }
39571
+ ]
39054
39572
  }
39055
39573
  },
39056
39574
  "modifiers": {
39057
- "hiddenPath": "$service:spacesMemberDetail.hideLoadError"
39575
+ "hiddenPath": "$service:spacesMemberDetail.hideBlogPosts"
39058
39576
  }
39059
39577
  },
39060
39578
  {
39061
- "id": "himi_member.not_found",
39579
+ "id": "himi_member.forum.section",
39062
39580
  "body": {
39063
39581
  "package": "himalaya",
39064
39582
  "type": "VStack",
39065
39583
  "props": {
39066
- "spacing": 10,
39067
- "alignment": "center",
39584
+ "spacing": 12,
39585
+ "alignment": "leading",
39068
39586
  "children": [
39069
39587
  {
39070
- "id": "",
39071
- "body": {
39072
- "package": "himalaya",
39073
- "type": "Icon",
39074
- "props": {
39075
- "name": "person",
39076
- "size": 32,
39077
- "tint": "textTertiary"
39078
- }
39079
- },
39080
- "modifiers": {
39081
- "accessibilityRole": "decorative"
39082
- }
39083
- },
39084
- {
39085
- "id": "himi_member.not_found_title",
39588
+ "id": "himi_member.forum.title",
39086
39589
  "body": {
39087
39590
  "package": "himalaya",
39088
39591
  "type": "Text",
39089
39592
  "props": {
39090
- "text": "Member not found",
39593
+ "text": "Forum posts",
39091
39594
  "style": "title3"
39092
39595
  }
39093
39596
  }
39094
39597
  },
39095
39598
  {
39096
- "id": "",
39097
- "body": {
39098
- "package": "himalaya",
39099
- "type": "Text",
39100
- "props": {
39101
- "text": "This member is no longer available.",
39102
- "style": "body",
39103
- "color": "textSecondary"
39104
- }
39105
- }
39106
- },
39107
- {
39108
- "id": "himi_member.not_found_back",
39599
+ "id": "himi_member.forum.rows",
39109
39600
  "body": {
39110
39601
  "package": "himalaya",
39111
- "type": "Button",
39602
+ "type": "Grid",
39112
39603
  "props": {
39113
- "title": "Back to members",
39114
- "style": "primary",
39115
- "fullWidth": true,
39116
- "action": {
39117
- "actionId": "himi.open",
39118
- "params": {
39119
- "screenId": "himi_members"
39604
+ "columns": 1,
39605
+ "spacing": 12,
39606
+ "itemsPath": "$service:spacesMemberDetail.forumPosts",
39607
+ "items": [
39608
+ {
39609
+ "id": "himi_member.forum.row_$item.id",
39610
+ "body": {
39611
+ "package": "himalaya",
39612
+ "type": "HStack",
39613
+ "props": {
39614
+ "spacing": 12,
39615
+ "alignment": "center",
39616
+ "children": [
39617
+ {
39618
+ "id": "himi_member.forum.thumb_$item.id",
39619
+ "body": {
39620
+ "package": "himalaya",
39621
+ "type": "Image",
39622
+ "props": {
39623
+ "url": "$item.thumb",
39624
+ "width": 64,
39625
+ "height": 64,
39626
+ "contentMode": "fill"
39627
+ }
39628
+ },
39629
+ "modifiers": {
39630
+ "accessibilityRole": "decorative",
39631
+ "cornerRadius": 8
39632
+ }
39633
+ },
39634
+ {
39635
+ "id": "",
39636
+ "body": {
39637
+ "package": "himalaya",
39638
+ "type": "VStack",
39639
+ "props": {
39640
+ "spacing": 4,
39641
+ "alignment": "leading",
39642
+ "children": [
39643
+ {
39644
+ "id": "",
39645
+ "body": {
39646
+ "package": "himalaya",
39647
+ "type": "Text",
39648
+ "props": {
39649
+ "text": "$item.title",
39650
+ "style": "bodyEmphasis",
39651
+ "maxLines": 2
39652
+ }
39653
+ }
39654
+ },
39655
+ {
39656
+ "id": "",
39657
+ "body": {
39658
+ "package": "himalaya",
39659
+ "type": "Text",
39660
+ "props": {
39661
+ "text": "$item.meta",
39662
+ "style": "caption",
39663
+ "color": "textSecondary",
39664
+ "collapseWhenEmpty": true
39665
+ }
39666
+ }
39667
+ }
39668
+ ]
39669
+ }
39670
+ }
39671
+ },
39672
+ {
39673
+ "id": "",
39674
+ "body": {
39675
+ "package": "himalaya",
39676
+ "type": "Spacer",
39677
+ "props": {}
39678
+ }
39679
+ }
39680
+ ]
39681
+ }
39682
+ },
39683
+ "modifiers": {
39684
+ "onTap": {
39685
+ "actionId": "himi.open",
39686
+ "params": {
39687
+ "screenId": "himi_forum_post",
39688
+ "id": "$item.id"
39689
+ }
39690
+ },
39691
+ "pressFeedback": "scale",
39692
+ "accessibilityLabel": "$item.title"
39693
+ }
39120
39694
  }
39121
- }
39695
+ ]
39122
39696
  }
39123
39697
  }
39124
39698
  }
@@ -39126,43 +39700,72 @@ const SCREENS = runtimeSetting({
39126
39700
  }
39127
39701
  },
39128
39702
  "modifiers": {
39129
- "background": {
39130
- "token": "surfaceElevated"
39131
- },
39132
- "border": {
39133
- "width": 1,
39134
- "color": {
39135
- "token": "border"
39136
- }
39137
- },
39138
- "cornerRadius": 16,
39139
- "padding": {
39140
- "leading": 16,
39141
- "trailing": 16,
39142
- "top": 20,
39143
- "bottom": 20
39144
- },
39145
- "fillMaxWidth": true,
39146
- "hiddenPath": "$service:spacesMemberDetail.hideNotFound"
39703
+ "hiddenPath": "$service:spacesMemberDetail.hideForumPosts"
39147
39704
  }
39148
39705
  }
39149
39706
  ]
39150
39707
  }
39708
+ },
39709
+ "modifiers": {
39710
+ "hiddenPath": "$service:spacesMemberDetail.noEntity"
39151
39711
  }
39152
39712
  },
39153
39713
  {
39154
- "id": "himi_member.sign_in",
39714
+ "id": "himi_member.not_found",
39155
39715
  "body": {
39156
39716
  "package": "himalaya",
39157
- "type": "Button",
39717
+ "type": "EmptyState",
39158
39718
  "props": {
39159
- "title": "Sign in",
39160
- "style": "primary",
39719
+ "icon": "person",
39720
+ "title": "Member not found",
39721
+ "subtitle": "This member's profile isn't available.",
39722
+ "actionLabel": "Back to members",
39161
39723
  "action": {
39724
+ "actionId": "himi.open",
39725
+ "params": {
39726
+ "screenId": "himi_members"
39727
+ }
39728
+ }
39729
+ }
39730
+ },
39731
+ "modifiers": {
39732
+ "hiddenPath": "$service:spacesMemberDetail.hideNotFound"
39733
+ }
39734
+ },
39735
+ {
39736
+ "id": "himi_member.error",
39737
+ "body": {
39738
+ "package": "himalaya",
39739
+ "type": "ErrorState",
39740
+ "props": {
39741
+ "variantPath": "$service:spacesMemberDetail.errorVariant",
39742
+ "placement": "screen",
39743
+ "ctaLabel": "Try again",
39744
+ "cta": {
39745
+ "actionId": "tier5.spacesMemberDetail.retry"
39746
+ }
39747
+ }
39748
+ },
39749
+ "modifiers": {
39750
+ "hiddenPath": "$service:spacesMemberDetail.hideError"
39751
+ }
39752
+ },
39753
+ {
39754
+ "id": "himi_member.sign_in_error",
39755
+ "body": {
39756
+ "package": "himalaya",
39757
+ "type": "ErrorState",
39758
+ "props": {
39759
+ "variant": "signIn",
39760
+ "placement": "screen",
39761
+ "ctaLabel": "Sign in",
39762
+ "cta": {
39162
39763
  "actionId": "himi.open",
39163
39764
  "params": {
39164
39765
  "screenId": "himi_sign_in",
39165
39766
  "mode": "signin",
39767
+ "returnScreenId": "himi_member",
39768
+ "returnId": "$service:spacesMemberDetail.id",
39166
39769
  "modal": "1",
39167
39770
  "sheetStyle": "page"
39168
39771
  },
@@ -39188,7 +39791,13 @@ const SCREENS = runtimeSetting({
39188
39791
  "bottom": 28
39189
39792
  },
39190
39793
  "onAppear": {
39191
- "actionId": "tier5.spacesMemberDetail.load"
39794
+ "actionId": "tier5.spacesMemberDetail.load",
39795
+ "params": {
39796
+ "siteUrl": "https://shayco5.wixsite.com/amit1",
39797
+ "sections": "1",
39798
+ "blog": "1",
39799
+ "forum": "1"
39800
+ }
39192
39801
  }
39193
39802
  }
39194
39803
  },
@@ -39197,10 +39806,23 @@ const SCREENS = runtimeSetting({
39197
39806
  "integrity": "",
39198
39807
  "contentType": "application/javascript+ts-bundle",
39199
39808
  "declaredCapabilities": [
39200
- "wix_api"
39809
+ "wix_api",
39810
+ "share"
39201
39811
  ],
39202
39812
  "minBinaryVersion": "0.1.0",
39203
39813
  "bundleVersion": "0.0.1"
39814
+ },
39815
+ "topBar": {
39816
+ "actions": [
39817
+ {
39818
+ "id": "share",
39819
+ "icon": "share",
39820
+ "accessibilityLabel": "Share profile",
39821
+ "onTap": {
39822
+ "actionId": "tier5.spacesMemberDetail.share"
39823
+ }
39824
+ }
39825
+ ]
39204
39826
  }
39205
39827
  },
39206
39828
  "himi_chat_thread": {