@wix/himalaya-cli 0.1024.0 → 0.1026.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 (84) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +12 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +6 -0
  3. package/dist/cli.mjs +29 -18
  4. package/dist/preview-assets.generated.bin +0 -0
  5. package/guides/sdk-reference.json +1 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/dev/index.ts +1031 -240
  8. package/templates/beauty-salon/tier5-src/_shared/detail-presence.ts +51 -0
  9. package/templates/beauty-salon/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  10. package/templates/beauty-salon/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  11. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  12. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  13. package/templates/beauty-salon/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  14. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  15. package/templates/branded-lite/config.ts +3 -1
  16. package/templates/branded-lite/dev/index.ts +3455 -813
  17. package/templates/branded-lite/tier5-src/_shared/detail-presence.ts +51 -0
  18. package/templates/branded-lite/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  19. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  20. package/templates/branded-lite/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  21. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +17 -4
  22. package/templates/branded-lite/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  23. package/templates/branded-lite/tier5-src/wix-spaces-coupon-detail/index.ts +7 -9
  24. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  25. package/templates/branded-lite/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  26. package/templates/branded-lite/tier5-src/wix-spaces-form-detail/index.ts +7 -9
  27. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +7 -9
  28. package/templates/branded-lite/tier5-src/wix-spaces-invoice-detail/index.ts +7 -9
  29. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +8 -8
  30. package/templates/branded-lite/tier5-src/wix-spaces-photo-albums/index.ts +8 -2
  31. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  32. package/templates/branded-lite/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  33. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  34. package/templates/community-club/dev/index.ts +345 -97
  35. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  36. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  37. package/templates/events-meetups/dev/index.ts +345 -97
  38. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  39. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  40. package/templates/gym-fitness/dev/index.ts +1031 -240
  41. package/templates/gym-fitness/tier5-src/_shared/detail-presence.ts +51 -0
  42. package/templates/gym-fitness/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  43. package/templates/gym-fitness/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  44. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  45. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  46. package/templates/gym-fitness/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  47. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  48. package/templates/nonprofit-cause/dev/index.ts +732 -188
  49. package/templates/nonprofit-cause/tier5-src/_shared/detail-presence.ts +51 -0
  50. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  51. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  52. package/templates/nonprofit-cause/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  53. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  54. package/templates/podcast-creator/dev/index.ts +942 -321
  55. package/templates/podcast-creator/tier5-src/_shared/detail-presence.ts +51 -0
  56. package/templates/podcast-creator/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  57. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  58. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  59. package/templates/podcast-creator/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  60. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  61. package/templates/portfolio-creative/dev/index.ts +676 -169
  62. package/templates/portfolio-creative/tier5-src/_shared/detail-presence.ts +51 -0
  63. package/templates/portfolio-creative/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  64. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  65. package/templates/portfolio-creative/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  66. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  67. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  68. package/templates/restaurant/dev/index.ts +529 -149
  69. package/templates/restaurant/tier5-src/_shared/detail-presence.ts +51 -0
  70. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  71. package/templates/restaurant/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  72. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  73. package/templates/retail-store/dev/index.ts +643 -148
  74. package/templates/retail-store/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/retail-store/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  76. package/templates/retail-store/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  77. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  78. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  79. package/templates/yoga-studio/dev/index.ts +711 -183
  80. package/templates/yoga-studio/tier5-src/_shared/detail-presence.ts +51 -0
  81. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  82. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  83. package/templates/yoga-studio/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  84. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +22 -12
@@ -14,7 +14,7 @@ const SCREENS = runtimeSetting({
14
14
  "himi_branded_home": {
15
15
  "screenId": "himi_branded_home",
16
16
  "renderer": "sdui_intent",
17
- "title": "",
17
+ "title": "__HIMI_APP_NAME__",
18
18
  "schemaVersion": 1,
19
19
  "cacheControl": {
20
20
  "maxAge": 0,
@@ -4097,74 +4097,196 @@ const SCREENS = runtimeSetting({
4097
4097
  "alignment": "center",
4098
4098
  "children": [
4099
4099
  {
4100
- "id": "himi_view_profile.avatar",
4100
+ "id": "himi_view_profile.loading",
4101
4101
  "body": {
4102
4102
  "package": "himalaya",
4103
- "type": "ZStack",
4103
+ "type": "Text",
4104
+ "props": {
4105
+ "text": "Loading…",
4106
+ "style": "body",
4107
+ "color": "textSecondary"
4108
+ }
4109
+ },
4110
+ "modifiers": {
4111
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
4112
+ }
4113
+ },
4114
+ {
4115
+ "id": "",
4116
+ "body": {
4117
+ "package": "himalaya",
4118
+ "type": "VStack",
4104
4119
  "props": {
4120
+ "spacing": 8,
4105
4121
  "alignment": "center",
4106
4122
  "children": [
4107
4123
  {
4108
- "id": "",
4124
+ "id": "himi_view_profile.avatar",
4109
4125
  "body": {
4110
4126
  "package": "himalaya",
4111
- "type": "Icon",
4127
+ "type": "ZStack",
4112
4128
  "props": {
4113
- "name": "photo",
4114
- "size": 28,
4115
- "tint": "accentPrimary"
4129
+ "alignment": "center",
4130
+ "children": [
4131
+ {
4132
+ "id": "",
4133
+ "body": {
4134
+ "package": "himalaya",
4135
+ "type": "Icon",
4136
+ "props": {
4137
+ "name": "photo",
4138
+ "size": 28,
4139
+ "tint": "accentPrimary"
4140
+ }
4141
+ },
4142
+ "modifiers": {
4143
+ "accessibilityRole": "decorative"
4144
+ }
4145
+ }
4146
+ ]
4116
4147
  }
4117
4148
  },
4118
4149
  "modifiers": {
4119
- "accessibilityRole": "decorative"
4150
+ "width": 96,
4151
+ "height": 96,
4152
+ "background": {
4153
+ "token": "accentSurface"
4154
+ },
4155
+ "cornerRadius": 16
4156
+ }
4157
+ },
4158
+ {
4159
+ "id": "himi_view_profile.name",
4160
+ "body": {
4161
+ "package": "himalaya",
4162
+ "type": "Text",
4163
+ "props": {
4164
+ "text": "$service:spacesViewProfile.name",
4165
+ "style": "title1"
4166
+ }
4167
+ }
4168
+ },
4169
+ {
4170
+ "id": "",
4171
+ "body": {
4172
+ "package": "himalaya",
4173
+ "type": "Text",
4174
+ "props": {
4175
+ "text": "$service:spacesViewProfile.handle",
4176
+ "style": "footnote",
4177
+ "color": "textSecondary",
4178
+ "collapseWhenEmpty": true
4179
+ }
4180
+ }
4181
+ },
4182
+ {
4183
+ "id": "",
4184
+ "body": {
4185
+ "package": "himalaya",
4186
+ "type": "Text",
4187
+ "props": {
4188
+ "text": "$service:spacesViewProfile.about",
4189
+ "style": "body",
4190
+ "collapseWhenEmpty": true
4191
+ }
4120
4192
  }
4121
4193
  }
4122
4194
  ]
4123
4195
  }
4124
4196
  },
4125
4197
  "modifiers": {
4126
- "width": 96,
4127
- "height": 96,
4128
- "background": {
4129
- "token": "accentSurface"
4130
- },
4131
- "cornerRadius": 16
4132
- }
4133
- },
4134
- {
4135
- "id": "himi_view_profile.name",
4136
- "body": {
4137
- "package": "himalaya",
4138
- "type": "Text",
4139
- "props": {
4140
- "text": "$service:spacesViewProfile.name",
4141
- "style": "title1"
4142
- }
4143
- }
4144
- },
4145
- {
4146
- "id": "",
4147
- "body": {
4148
- "package": "himalaya",
4149
- "type": "Text",
4150
- "props": {
4151
- "text": "$service:spacesViewProfile.handle",
4152
- "style": "footnote",
4153
- "color": "textSecondary",
4154
- "collapseWhenEmpty": true
4155
- }
4198
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
4156
4199
  }
4157
4200
  },
4158
4201
  {
4159
- "id": "",
4202
+ "id": "himi_view_profile.member_gate",
4160
4203
  "body": {
4161
4204
  "package": "himalaya",
4162
- "type": "Text",
4205
+ "type": "VStack",
4163
4206
  "props": {
4164
- "text": "$service:spacesViewProfile.about",
4165
- "style": "body",
4166
- "collapseWhenEmpty": true
4207
+ "spacing": 10,
4208
+ "alignment": "center",
4209
+ "children": [
4210
+ {
4211
+ "id": "",
4212
+ "body": {
4213
+ "package": "himalaya",
4214
+ "type": "Icon",
4215
+ "props": {
4216
+ "name": "person",
4217
+ "size": 28,
4218
+ "tint": "accentPrimary"
4219
+ }
4220
+ },
4221
+ "modifiers": {
4222
+ "accessibilityRole": "decorative"
4223
+ }
4224
+ },
4225
+ {
4226
+ "id": "himi_view_profile.member_gate_title",
4227
+ "body": {
4228
+ "package": "himalaya",
4229
+ "type": "Text",
4230
+ "props": {
4231
+ "text": "Sign in to view your profile",
4232
+ "style": "bodyEmphasis"
4233
+ }
4234
+ }
4235
+ },
4236
+ {
4237
+ "id": "",
4238
+ "body": {
4239
+ "package": "himalaya",
4240
+ "type": "Text",
4241
+ "props": {
4242
+ "text": "Your public profile appears here after you sign in.",
4243
+ "style": "footnote",
4244
+ "color": "textSecondary"
4245
+ }
4246
+ }
4247
+ },
4248
+ {
4249
+ "id": "himi_view_profile.member_gate_signin",
4250
+ "body": {
4251
+ "package": "himalaya",
4252
+ "type": "Button",
4253
+ "props": {
4254
+ "title": "Sign in",
4255
+ "style": "primary",
4256
+ "fullWidth": true,
4257
+ "action": {
4258
+ "actionId": "himi.open",
4259
+ "params": {
4260
+ "screenId": "himi_account",
4261
+ "intent": "profile",
4262
+ "returnScreenId": "himi_view_profile"
4263
+ }
4264
+ }
4265
+ }
4266
+ }
4267
+ }
4268
+ ]
4167
4269
  }
4270
+ },
4271
+ "modifiers": {
4272
+ "background": {
4273
+ "token": "surfaceElevated"
4274
+ },
4275
+ "border": {
4276
+ "width": 1,
4277
+ "color": {
4278
+ "token": "border"
4279
+ }
4280
+ },
4281
+ "cornerRadius": 16,
4282
+ "padding": {
4283
+ "leading": 16,
4284
+ "trailing": 16,
4285
+ "top": 20,
4286
+ "bottom": 20
4287
+ },
4288
+ "fillMaxWidth": true,
4289
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
4168
4290
  }
4169
4291
  }
4170
4292
  ]
@@ -7946,52 +8068,200 @@ const SCREENS = runtimeSetting({
7946
8068
  "spacing": 8,
7947
8069
  "alignment": "leading",
7948
8070
  "children": [
7949
- {
7950
- "id": "himi_collection.chrome",
7951
- "body": {
7952
- "package": "himalaya",
7953
- "type": "Text",
7954
- "props": {
7955
- "text": "Category",
7956
- "style": "title1"
7957
- }
7958
- }
7959
- },
7960
- {
7961
- "id": "himi_collection.title",
7962
- "body": {
7963
- "package": "himalaya",
7964
- "type": "Text",
7965
- "props": {
7966
- "text": "$service:spacesCollectionDetail.name",
7967
- "style": "title1",
7968
- "collapseWhenEmpty": true
7969
- }
7970
- }
7971
- },
7972
8071
  {
7973
8072
  "id": "",
7974
8073
  "body": {
7975
8074
  "package": "himalaya",
7976
- "type": "Text",
8075
+ "type": "VStack",
7977
8076
  "props": {
7978
- "text": "$service:spacesCollectionDetail.subtitle",
7979
- "style": "footnote",
7980
- "color": "textSecondary",
7981
- "collapseWhenEmpty": true
8077
+ "spacing": 8,
8078
+ "alignment": "leading",
8079
+ "children": [
8080
+ {
8081
+ "id": "himi_collection.chrome",
8082
+ "body": {
8083
+ "package": "himalaya",
8084
+ "type": "Text",
8085
+ "props": {
8086
+ "text": "Category",
8087
+ "style": "title1"
8088
+ }
8089
+ }
8090
+ },
8091
+ {
8092
+ "id": "himi_collection.title",
8093
+ "body": {
8094
+ "package": "himalaya",
8095
+ "type": "Text",
8096
+ "props": {
8097
+ "text": "$service:spacesCollectionDetail.name",
8098
+ "style": "title1",
8099
+ "collapseWhenEmpty": true
8100
+ }
8101
+ }
8102
+ },
8103
+ {
8104
+ "id": "",
8105
+ "body": {
8106
+ "package": "himalaya",
8107
+ "type": "Text",
8108
+ "props": {
8109
+ "text": "$service:spacesCollectionDetail.subtitle",
8110
+ "style": "footnote",
8111
+ "color": "textSecondary",
8112
+ "collapseWhenEmpty": true
8113
+ }
8114
+ }
8115
+ },
8116
+ {
8117
+ "id": "",
8118
+ "body": {
8119
+ "package": "himalaya",
8120
+ "type": "Text",
8121
+ "props": {
8122
+ "text": "$service:spacesCollectionDetail.description",
8123
+ "style": "body",
8124
+ "color": "textSecondary",
8125
+ "collapseWhenEmpty": true
8126
+ }
8127
+ }
8128
+ }
8129
+ ]
7982
8130
  }
8131
+ },
8132
+ "modifiers": {
8133
+ "hiddenPath": "$service:spacesCollectionDetail.noEntity"
7983
8134
  }
7984
8135
  },
7985
8136
  {
7986
8137
  "id": "",
7987
8138
  "body": {
7988
8139
  "package": "himalaya",
7989
- "type": "Text",
8140
+ "type": "VStack",
7990
8141
  "props": {
7991
- "text": "$service:spacesCollectionDetail.description",
7992
- "style": "body",
7993
- "color": "textSecondary",
7994
- "collapseWhenEmpty": true
8142
+ "spacing": 12,
8143
+ "alignment": "leading",
8144
+ "children": [
8145
+ {
8146
+ "id": "himi_collection.loading",
8147
+ "body": {
8148
+ "package": "himalaya",
8149
+ "type": "Text",
8150
+ "props": {
8151
+ "text": "Loading…",
8152
+ "style": "body",
8153
+ "color": "textSecondary"
8154
+ }
8155
+ },
8156
+ "modifiers": {
8157
+ "hiddenPath": "$service:spacesCollectionDetail.hideLoading"
8158
+ }
8159
+ },
8160
+ {
8161
+ "id": "himi_collection.load_error",
8162
+ "body": {
8163
+ "package": "himalaya",
8164
+ "type": "Text",
8165
+ "props": {
8166
+ "text": "This category couldn't be loaded. Check your connection and try again.",
8167
+ "style": "body",
8168
+ "color": "textSecondary"
8169
+ }
8170
+ },
8171
+ "modifiers": {
8172
+ "hiddenPath": "$service:spacesCollectionDetail.hideLoadError"
8173
+ }
8174
+ },
8175
+ {
8176
+ "id": "himi_collection.not_found",
8177
+ "body": {
8178
+ "package": "himalaya",
8179
+ "type": "VStack",
8180
+ "props": {
8181
+ "spacing": 10,
8182
+ "alignment": "center",
8183
+ "children": [
8184
+ {
8185
+ "id": "",
8186
+ "body": {
8187
+ "package": "himalaya",
8188
+ "type": "Icon",
8189
+ "props": {
8190
+ "name": "grid",
8191
+ "size": 32,
8192
+ "tint": "textTertiary"
8193
+ }
8194
+ },
8195
+ "modifiers": {
8196
+ "accessibilityRole": "decorative"
8197
+ }
8198
+ },
8199
+ {
8200
+ "id": "himi_collection.not_found_title",
8201
+ "body": {
8202
+ "package": "himalaya",
8203
+ "type": "Text",
8204
+ "props": {
8205
+ "text": "Category not found",
8206
+ "style": "title3"
8207
+ }
8208
+ }
8209
+ },
8210
+ {
8211
+ "id": "",
8212
+ "body": {
8213
+ "package": "himalaya",
8214
+ "type": "Text",
8215
+ "props": {
8216
+ "text": "This category is no longer available.",
8217
+ "style": "body",
8218
+ "color": "textSecondary"
8219
+ }
8220
+ }
8221
+ },
8222
+ {
8223
+ "id": "himi_collection.not_found_back",
8224
+ "body": {
8225
+ "package": "himalaya",
8226
+ "type": "Button",
8227
+ "props": {
8228
+ "title": "Back to categories",
8229
+ "style": "primary",
8230
+ "fullWidth": true,
8231
+ "action": {
8232
+ "actionId": "himi.open",
8233
+ "params": {
8234
+ "screenId": "himi_collections"
8235
+ }
8236
+ }
8237
+ }
8238
+ }
8239
+ }
8240
+ ]
8241
+ }
8242
+ },
8243
+ "modifiers": {
8244
+ "background": {
8245
+ "token": "surfaceElevated"
8246
+ },
8247
+ "border": {
8248
+ "width": 1,
8249
+ "color": {
8250
+ "token": "border"
8251
+ }
8252
+ },
8253
+ "cornerRadius": 16,
8254
+ "padding": {
8255
+ "leading": 16,
8256
+ "trailing": 16,
8257
+ "top": 20,
8258
+ "bottom": 20
8259
+ },
8260
+ "fillMaxWidth": true,
8261
+ "hiddenPath": "$service:spacesCollectionDetail.hideNotFound"
8262
+ }
8263
+ }
8264
+ ]
7995
8265
  }
7996
8266
  }
7997
8267
  }
@@ -10834,9 +11104,97 @@ const SCREENS = runtimeSetting({
10834
11104
  "size": 28,
10835
11105
  "tint": "textTertiary"
10836
11106
  }
10837
- },
10838
- "modifiers": {
10839
- "accessibilityRole": "decorative"
11107
+ },
11108
+ "modifiers": {
11109
+ "accessibilityRole": "decorative"
11110
+ }
11111
+ },
11112
+ {
11113
+ "id": "",
11114
+ "body": {
11115
+ "package": "himalaya",
11116
+ "type": "Text",
11117
+ "props": {
11118
+ "text": "$service:himiBrandedOrders.emptyText",
11119
+ "style": "bodyEmphasis",
11120
+ "color": "textSecondary",
11121
+ "collapseWhenEmpty": true
11122
+ }
11123
+ }
11124
+ },
11125
+ {
11126
+ "id": "himi_orders.shop",
11127
+ "body": {
11128
+ "package": "himalaya",
11129
+ "type": "Button",
11130
+ "props": {
11131
+ "title": "Browse products",
11132
+ "style": "secondary",
11133
+ "action": {
11134
+ "actionId": "himi.open",
11135
+ "params": {
11136
+ "screenId": "himi_shop"
11137
+ }
11138
+ }
11139
+ }
11140
+ }
11141
+ }
11142
+ ]
11143
+ }
11144
+ },
11145
+ "modifiers": {
11146
+ "background": {
11147
+ "token": "surfaceElevated"
11148
+ },
11149
+ "border": {
11150
+ "width": 1,
11151
+ "color": {
11152
+ "token": "border"
11153
+ }
11154
+ },
11155
+ "cornerRadius": 16,
11156
+ "padding": {
11157
+ "leading": 16,
11158
+ "trailing": 16,
11159
+ "top": 16,
11160
+ "bottom": 16
11161
+ },
11162
+ "hiddenPath": "$service:himiBrandedOrders.noEmpty"
11163
+ }
11164
+ },
11165
+ {
11166
+ "id": "himi_orders.member_gate",
11167
+ "body": {
11168
+ "package": "himalaya",
11169
+ "type": "VStack",
11170
+ "props": {
11171
+ "spacing": 10,
11172
+ "alignment": "center",
11173
+ "children": [
11174
+ {
11175
+ "id": "",
11176
+ "body": {
11177
+ "package": "himalaya",
11178
+ "type": "Icon",
11179
+ "props": {
11180
+ "name": "person",
11181
+ "size": 28,
11182
+ "tint": "accentPrimary"
11183
+ }
11184
+ },
11185
+ "modifiers": {
11186
+ "accessibilityRole": "decorative"
11187
+ }
11188
+ },
11189
+ {
11190
+ "id": "himi_orders.member_gate_title",
11191
+ "body": {
11192
+ "package": "himalaya",
11193
+ "type": "Text",
11194
+ "props": {
11195
+ "text": "Sign in to see your orders",
11196
+ "style": "bodyEmphasis"
11197
+ }
10840
11198
  }
10841
11199
  },
10842
11200
  {
@@ -10845,25 +11203,27 @@ const SCREENS = runtimeSetting({
10845
11203
  "package": "himalaya",
10846
11204
  "type": "Text",
10847
11205
  "props": {
10848
- "text": "$service:himiBrandedOrders.emptyText",
10849
- "style": "bodyEmphasis",
10850
- "color": "textSecondary",
10851
- "collapseWhenEmpty": true
11206
+ "text": "Your order history appears here after you sign in.",
11207
+ "style": "footnote",
11208
+ "color": "textSecondary"
10852
11209
  }
10853
11210
  }
10854
11211
  },
10855
11212
  {
10856
- "id": "himi_orders.shop",
11213
+ "id": "himi_orders.member_gate_signin",
10857
11214
  "body": {
10858
11215
  "package": "himalaya",
10859
11216
  "type": "Button",
10860
11217
  "props": {
10861
- "title": "Browse products",
10862
- "style": "secondary",
11218
+ "title": "Sign in",
11219
+ "style": "primary",
11220
+ "fullWidth": true,
10863
11221
  "action": {
10864
11222
  "actionId": "himi.open",
10865
11223
  "params": {
10866
- "screenId": "himi_shop"
11224
+ "screenId": "himi_account",
11225
+ "intent": "orders",
11226
+ "returnScreenId": "himi_orders"
10867
11227
  }
10868
11228
  }
10869
11229
  }
@@ -10886,10 +11246,11 @@ const SCREENS = runtimeSetting({
10886
11246
  "padding": {
10887
11247
  "leading": 16,
10888
11248
  "trailing": 16,
10889
- "top": 16,
10890
- "bottom": 16
11249
+ "top": 20,
11250
+ "bottom": 20
10891
11251
  },
10892
- "hiddenPath": "$service:himiBrandedOrders.noEmpty"
11252
+ "fillMaxWidth": true,
11253
+ "hiddenPath": "$service:himiBrandedOrders.noSignIn"
10893
11254
  }
10894
11255
  }
10895
11256
  ]
@@ -13564,13 +13925,13 @@ const SCREENS = runtimeSetting({
13564
13925
  }
13565
13926
  },
13566
13927
  {
13567
- "id": "himi_portfolio_project.empty",
13928
+ "id": "himi_portfolio_project.not_found",
13568
13929
  "body": {
13569
13930
  "package": "himalaya",
13570
13931
  "type": "VStack",
13571
13932
  "props": {
13572
- "spacing": 8,
13573
- "alignment": "leading",
13933
+ "spacing": 10,
13934
+ "alignment": "center",
13574
13935
  "children": [
13575
13936
  {
13576
13937
  "id": "",
@@ -13587,27 +13948,38 @@ const SCREENS = runtimeSetting({
13587
13948
  "accessibilityRole": "decorative"
13588
13949
  }
13589
13950
  },
13951
+ {
13952
+ "id": "himi_portfolio_project.not_found_title",
13953
+ "body": {
13954
+ "package": "himalaya",
13955
+ "type": "Text",
13956
+ "props": {
13957
+ "text": "Project not found",
13958
+ "style": "title3"
13959
+ }
13960
+ }
13961
+ },
13590
13962
  {
13591
13963
  "id": "",
13592
13964
  "body": {
13593
13965
  "package": "himalaya",
13594
13966
  "type": "Text",
13595
13967
  "props": {
13596
- "text": "$service:himiBrandedPortfolioProject.emptyText",
13968
+ "text": "This project is no longer available.",
13597
13969
  "style": "body",
13598
- "color": "textSecondary",
13599
- "collapseWhenEmpty": true
13970
+ "color": "textSecondary"
13600
13971
  }
13601
13972
  }
13602
13973
  },
13603
13974
  {
13604
- "id": "himi_portfolio_project.back",
13975
+ "id": "himi_portfolio_project.not_found_back",
13605
13976
  "body": {
13606
13977
  "package": "himalaya",
13607
13978
  "type": "Button",
13608
13979
  "props": {
13609
13980
  "title": "Back to projects",
13610
- "style": "secondary",
13981
+ "style": "primary",
13982
+ "fullWidth": true,
13611
13983
  "action": {
13612
13984
  "actionId": "himi.open",
13613
13985
  "params": {
@@ -13634,10 +14006,11 @@ const SCREENS = runtimeSetting({
13634
14006
  "padding": {
13635
14007
  "leading": 16,
13636
14008
  "trailing": 16,
13637
- "top": 16,
13638
- "bottom": 16
14009
+ "top": 20,
14010
+ "bottom": 20
13639
14011
  },
13640
- "hiddenPath": "$service:himiBrandedPortfolioProject.noEmpty"
14012
+ "fillMaxWidth": true,
14013
+ "hiddenPath": "$service:himiBrandedPortfolioProject.hideNotFound"
13641
14014
  }
13642
14015
  }
13643
14016
  ]
@@ -13699,65 +14072,172 @@ const SCREENS = runtimeSetting({
13699
14072
  }
13700
14073
  },
13701
14074
  {
13702
- "id": "",
13703
- "body": {
13704
- "package": "himalaya",
13705
- "type": "Text",
13706
- "props": {
13707
- "text": "$service:spacesCreatePost.hint",
13708
- "style": "footnote",
13709
- "color": "textSecondary",
13710
- "collapseWhenEmpty": true
13711
- }
13712
- }
13713
- },
13714
- {
13715
- "id": "himi_create_post.title_field",
14075
+ "id": "himi_create_post.member_gate",
13716
14076
  "body": {
13717
14077
  "package": "himalaya",
13718
- "type": "TextField",
14078
+ "type": "VStack",
13719
14079
  "props": {
13720
- "placeholder": "Title",
13721
- "value": "",
13722
- "submitLabel": "next",
13723
- "onSubmit": {
13724
- "actionId": "tier5.spacesCreatePost.focusBody"
13725
- },
13726
- "onChange": {
13727
- "actionId": "tier5.spacesCreatePost.setTitle"
13728
- }
14080
+ "spacing": 10,
14081
+ "alignment": "center",
14082
+ "children": [
14083
+ {
14084
+ "id": "",
14085
+ "body": {
14086
+ "package": "himalaya",
14087
+ "type": "Icon",
14088
+ "props": {
14089
+ "name": "person",
14090
+ "size": 28,
14091
+ "tint": "accentPrimary"
14092
+ }
14093
+ },
14094
+ "modifiers": {
14095
+ "accessibilityRole": "decorative"
14096
+ }
14097
+ },
14098
+ {
14099
+ "id": "himi_create_post.member_gate_title",
14100
+ "body": {
14101
+ "package": "himalaya",
14102
+ "type": "Text",
14103
+ "props": {
14104
+ "text": "Sign in to post",
14105
+ "style": "bodyEmphasis"
14106
+ }
14107
+ }
14108
+ },
14109
+ {
14110
+ "id": "",
14111
+ "body": {
14112
+ "package": "himalaya",
14113
+ "type": "Text",
14114
+ "props": {
14115
+ "text": "Sign in to share something with the community.",
14116
+ "style": "footnote",
14117
+ "color": "textSecondary"
14118
+ }
14119
+ }
14120
+ },
14121
+ {
14122
+ "id": "himi_create_post.member_gate_signin",
14123
+ "body": {
14124
+ "package": "himalaya",
14125
+ "type": "Button",
14126
+ "props": {
14127
+ "title": "Sign in",
14128
+ "style": "primary",
14129
+ "fullWidth": true,
14130
+ "action": {
14131
+ "actionId": "himi.open",
14132
+ "params": {
14133
+ "screenId": "himi_account",
14134
+ "intent": "post",
14135
+ "returnScreenId": "himi_create_post"
14136
+ }
14137
+ }
14138
+ }
14139
+ }
14140
+ }
14141
+ ]
13729
14142
  }
13730
- }
13731
- },
13732
- {
13733
- "id": "himi_create_post.body_field",
13734
- "body": {
13735
- "package": "himalaya",
13736
- "type": "TextField",
13737
- "props": {
13738
- "placeholder": "Write something…",
13739
- "value": "",
13740
- "multilineMaxLines": 6,
13741
- "focusPath": "$service:spacesCreatePost.bodyFocus",
13742
- "onChange": {
13743
- "actionId": "tier5.spacesCreatePost.setBody"
14143
+ },
14144
+ "modifiers": {
14145
+ "background": {
14146
+ "token": "surfaceElevated"
14147
+ },
14148
+ "border": {
14149
+ "width": 1,
14150
+ "color": {
14151
+ "token": "border"
13744
14152
  }
13745
- }
14153
+ },
14154
+ "cornerRadius": 16,
14155
+ "padding": {
14156
+ "leading": 16,
14157
+ "trailing": 16,
14158
+ "top": 20,
14159
+ "bottom": 20
14160
+ },
14161
+ "fillMaxWidth": true,
14162
+ "hiddenPath": "$service:spacesCreatePost.noSignIn"
13746
14163
  }
13747
14164
  },
13748
14165
  {
13749
- "id": "himi_create_post.submit",
14166
+ "id": "",
13750
14167
  "body": {
13751
14168
  "package": "himalaya",
13752
- "type": "Button",
14169
+ "type": "VStack",
13753
14170
  "props": {
13754
- "title": "Post",
13755
- "style": "primary",
13756
- "fullWidth": true,
13757
- "action": {
13758
- "actionId": "tier5.spacesCreatePost.submit"
13759
- }
14171
+ "spacing": 16,
14172
+ "alignment": "leading",
14173
+ "children": [
14174
+ {
14175
+ "id": "",
14176
+ "body": {
14177
+ "package": "himalaya",
14178
+ "type": "Text",
14179
+ "props": {
14180
+ "text": "$service:spacesCreatePost.hint",
14181
+ "style": "footnote",
14182
+ "color": "textSecondary",
14183
+ "collapseWhenEmpty": true
14184
+ }
14185
+ }
14186
+ },
14187
+ {
14188
+ "id": "himi_create_post.title_field",
14189
+ "body": {
14190
+ "package": "himalaya",
14191
+ "type": "TextField",
14192
+ "props": {
14193
+ "placeholder": "Title",
14194
+ "value": "",
14195
+ "submitLabel": "next",
14196
+ "onSubmit": {
14197
+ "actionId": "tier5.spacesCreatePost.focusBody"
14198
+ },
14199
+ "onChange": {
14200
+ "actionId": "tier5.spacesCreatePost.setTitle"
14201
+ }
14202
+ }
14203
+ }
14204
+ },
14205
+ {
14206
+ "id": "himi_create_post.body_field",
14207
+ "body": {
14208
+ "package": "himalaya",
14209
+ "type": "TextField",
14210
+ "props": {
14211
+ "placeholder": "Write something…",
14212
+ "value": "",
14213
+ "multilineMaxLines": 6,
14214
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
14215
+ "onChange": {
14216
+ "actionId": "tier5.spacesCreatePost.setBody"
14217
+ }
14218
+ }
14219
+ }
14220
+ },
14221
+ {
14222
+ "id": "himi_create_post.submit",
14223
+ "body": {
14224
+ "package": "himalaya",
14225
+ "type": "Button",
14226
+ "props": {
14227
+ "title": "Post",
14228
+ "style": "primary",
14229
+ "fullWidth": true,
14230
+ "action": {
14231
+ "actionId": "tier5.spacesCreatePost.submit"
14232
+ }
14233
+ }
14234
+ }
14235
+ }
14236
+ ]
13760
14237
  }
14238
+ },
14239
+ "modifiers": {
14240
+ "hiddenPath": "$service:spacesCreatePost.hideForm"
13761
14241
  }
13762
14242
  }
13763
14243
  ]
@@ -13772,6 +14252,9 @@ const SCREENS = runtimeSetting({
13772
14252
  "trailing": 16,
13773
14253
  "top": 18,
13774
14254
  "bottom": 28
14255
+ },
14256
+ "onAppear": {
14257
+ "actionId": "tier5.spacesCreatePost.load"
13775
14258
  }
13776
14259
  }
13777
14260
  },
@@ -21527,26 +22010,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
21527
22010
  }
21528
22011
  }
21529
22012
  },
21530
- {
21531
- "id": "himi_product.add_to_cart",
21532
- "body": {
21533
- "package": "himalaya",
21534
- "type": "Button",
21535
- "props": {
21536
- "title": "Add to cart",
21537
- "style": "primary",
21538
- "fullWidth": true,
21539
- "action": {
21540
- "actionId": "tier5.himiStoreProduct.addToCart"
21541
- }
21542
- }
21543
- },
21544
- "modifiers": {
21545
- "cornerRadius": 8,
21546
- "pressFeedback": "scale",
21547
- "haptic": "medium"
21548
- }
21549
- },
21550
22013
  {
21551
22014
  "id": "himi_product.save",
21552
22015
  "body": {
@@ -21729,6 +22192,50 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
21729
22192
  "input": {
21730
22193
  "id": "__HIMI_ID__"
21731
22194
  },
22195
+ "stickyFooter": {
22196
+ "id": "",
22197
+ "body": {
22198
+ "package": "himalaya",
22199
+ "type": "VStack",
22200
+ "props": {
22201
+ "spacing": 0,
22202
+ "children": [
22203
+ {
22204
+ "id": "himi_product.add_to_cart",
22205
+ "body": {
22206
+ "package": "himalaya",
22207
+ "type": "Button",
22208
+ "props": {
22209
+ "title": "Add to cart",
22210
+ "style": "primary",
22211
+ "fullWidth": true,
22212
+ "action": {
22213
+ "actionId": "tier5.himiStoreProduct.addToCart"
22214
+ }
22215
+ }
22216
+ },
22217
+ "modifiers": {
22218
+ "cornerRadius": 8,
22219
+ "pressFeedback": "scale",
22220
+ "haptic": "medium"
22221
+ }
22222
+ }
22223
+ ]
22224
+ }
22225
+ },
22226
+ "modifiers": {
22227
+ "background": {
22228
+ "token": "surfacePrimary"
22229
+ },
22230
+ "padding": {
22231
+ "leading": 16,
22232
+ "trailing": 16,
22233
+ "top": 8,
22234
+ "bottom": 8
22235
+ },
22236
+ "hiddenPath": "$service:himiStoreProduct.isLoading"
22237
+ }
22238
+ },
21732
22239
  "topBar": {
21733
22240
  "actions": [
21734
22241
  {