@wix/himalaya-cli 0.1025.0 → 0.1027.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 (141) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +9 -0
  2. package/dist/cli.mjs +1052 -655
  3. package/dist/preview-assets.generated.bin +0 -0
  4. package/guides/app-config.md +6 -0
  5. package/guides/headless-loop.md +3 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/dev/index.ts +1476 -553
  8. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +18 -8
  9. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +28 -3
  10. package/templates/beauty-salon/tier5-src/_shared/detail-presence.ts +51 -0
  11. package/templates/beauty-salon/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  12. package/templates/beauty-salon/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  13. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  14. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  15. package/templates/beauty-salon/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  16. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  17. package/templates/beauty-salon-owner/dev/index.ts +857 -458
  18. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +18 -8
  19. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +28 -3
  20. package/templates/branded-lite/config.ts +3 -1
  21. package/templates/branded-lite/dev/index.ts +6123 -2565
  22. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +18 -8
  23. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +28 -3
  24. package/templates/branded-lite/tier5-src/_shared/detail-presence.ts +51 -0
  25. package/templates/branded-lite/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  26. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  28. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +17 -4
  29. package/templates/branded-lite/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  30. package/templates/branded-lite/tier5-src/wix-spaces-coupon-detail/index.ts +7 -9
  31. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  32. package/templates/branded-lite/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  33. package/templates/branded-lite/tier5-src/wix-spaces-form-detail/index.ts +7 -9
  34. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +7 -9
  35. package/templates/branded-lite/tier5-src/wix-spaces-invoice-detail/index.ts +7 -9
  36. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +8 -8
  37. package/templates/branded-lite/tier5-src/wix-spaces-photo-albums/index.ts +8 -2
  38. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  39. package/templates/branded-lite/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  40. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  41. package/templates/community-club/dev/index.ts +582 -239
  42. package/templates/community-club/tier5-src/_shared/collection-contract.ts +18 -8
  43. package/templates/community-club/tier5-src/_shared/collection-service.ts +28 -3
  44. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  45. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  46. package/templates/community-club-owner/dev/index.ts +857 -458
  47. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +18 -8
  48. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +28 -3
  49. package/templates/events-meetups/dev/index.ts +547 -226
  50. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +18 -8
  51. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +28 -3
  52. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  53. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  54. package/templates/events-meetups-owner/dev/index.ts +815 -458
  55. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +18 -8
  56. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +28 -3
  57. package/templates/gym-fitness/dev/index.ts +1609 -569
  58. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +18 -8
  59. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +28 -3
  60. package/templates/gym-fitness/tier5-src/_shared/detail-presence.ts +51 -0
  61. package/templates/gym-fitness/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  62. package/templates/gym-fitness/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  63. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  64. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  65. package/templates/gym-fitness/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  66. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  67. package/templates/gym-fitness-owner/dev/index.ts +758 -338
  68. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +18 -8
  69. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +28 -3
  70. package/templates/himi-chat/dev/index.ts +26 -1
  71. package/templates/nonprofit-cause/dev/index.ts +978 -341
  72. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +18 -8
  73. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +28 -3
  74. package/templates/nonprofit-cause/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  76. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  77. package/templates/nonprofit-cause/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  78. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  79. package/templates/nonprofit-cause-owner/dev/index.ts +716 -338
  80. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +18 -8
  81. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +28 -3
  82. package/templates/owner-lite/dev/index.ts +758 -338
  83. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +18 -8
  84. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +28 -3
  85. package/templates/podcast-creator/dev/index.ts +1111 -399
  86. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +18 -8
  87. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +28 -3
  88. package/templates/podcast-creator/tier5-src/_shared/detail-presence.ts +51 -0
  89. package/templates/podcast-creator/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  90. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  91. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  92. package/templates/podcast-creator/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  93. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  94. package/templates/podcast-creator-owner/dev/index.ts +857 -458
  95. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +18 -8
  96. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +28 -3
  97. package/templates/portfolio-creative/dev/index.ts +964 -345
  98. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +18 -8
  99. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +28 -3
  100. package/templates/portfolio-creative/tier5-src/_shared/detail-presence.ts +51 -0
  101. package/templates/portfolio-creative/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  102. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  103. package/templates/portfolio-creative/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  104. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  105. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  106. package/templates/portfolio-creative-owner/dev/index.ts +857 -458
  107. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +18 -8
  108. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +28 -3
  109. package/templates/restaurant/dev/index.ts +738 -284
  110. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +18 -8
  111. package/templates/restaurant/tier5-src/_shared/collection-service.ts +28 -3
  112. package/templates/restaurant/tier5-src/_shared/detail-presence.ts +51 -0
  113. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  114. package/templates/restaurant/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  115. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  116. package/templates/restaurant-owner/dev/index.ts +758 -338
  117. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +18 -8
  118. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +28 -3
  119. package/templates/retail-store/dev/index.ts +768 -298
  120. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +18 -8
  121. package/templates/retail-store/tier5-src/_shared/collection-service.ts +28 -3
  122. package/templates/retail-store/tier5-src/_shared/detail-presence.ts +51 -0
  123. package/templates/retail-store/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  124. package/templates/retail-store/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  125. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  126. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  127. package/templates/retail-store-owner/dev/index.ts +716 -338
  128. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +18 -8
  129. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +28 -3
  130. package/templates/surface-showcase/dev/index.ts +27 -0
  131. package/templates/yoga-studio/dev/index.ts +1147 -390
  132. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +18 -8
  133. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +28 -3
  134. package/templates/yoga-studio/tier5-src/_shared/detail-presence.ts +51 -0
  135. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  136. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  137. package/templates/yoga-studio/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  138. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  139. package/templates/yoga-studio-owner/dev/index.ts +716 -338
  140. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +18 -8
  141. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +28 -3
@@ -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,
@@ -4177,74 +4177,196 @@ const SCREENS = runtimeSetting({
4177
4177
  "alignment": "center",
4178
4178
  "children": [
4179
4179
  {
4180
- "id": "himi_view_profile.avatar",
4180
+ "id": "himi_view_profile.loading",
4181
+ "body": {
4182
+ "package": "himalaya",
4183
+ "type": "Text",
4184
+ "props": {
4185
+ "text": "Loading…",
4186
+ "style": "body",
4187
+ "color": "textSecondary"
4188
+ }
4189
+ },
4190
+ "modifiers": {
4191
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
4192
+ }
4193
+ },
4194
+ {
4195
+ "id": "",
4181
4196
  "body": {
4182
4197
  "package": "himalaya",
4183
- "type": "ZStack",
4198
+ "type": "VStack",
4184
4199
  "props": {
4200
+ "spacing": 8,
4185
4201
  "alignment": "center",
4186
4202
  "children": [
4187
4203
  {
4188
- "id": "",
4204
+ "id": "himi_view_profile.avatar",
4189
4205
  "body": {
4190
4206
  "package": "himalaya",
4191
- "type": "Icon",
4207
+ "type": "ZStack",
4192
4208
  "props": {
4193
- "name": "photo",
4194
- "size": 28,
4195
- "tint": "accentPrimary"
4209
+ "alignment": "center",
4210
+ "children": [
4211
+ {
4212
+ "id": "",
4213
+ "body": {
4214
+ "package": "himalaya",
4215
+ "type": "Icon",
4216
+ "props": {
4217
+ "name": "photo",
4218
+ "size": 28,
4219
+ "tint": "accentPrimary"
4220
+ }
4221
+ },
4222
+ "modifiers": {
4223
+ "accessibilityRole": "decorative"
4224
+ }
4225
+ }
4226
+ ]
4196
4227
  }
4197
4228
  },
4198
4229
  "modifiers": {
4199
- "accessibilityRole": "decorative"
4230
+ "width": 96,
4231
+ "height": 96,
4232
+ "background": {
4233
+ "token": "accentSurface"
4234
+ },
4235
+ "cornerRadius": 16
4236
+ }
4237
+ },
4238
+ {
4239
+ "id": "himi_view_profile.name",
4240
+ "body": {
4241
+ "package": "himalaya",
4242
+ "type": "Text",
4243
+ "props": {
4244
+ "text": "$service:spacesViewProfile.name",
4245
+ "style": "title1"
4246
+ }
4247
+ }
4248
+ },
4249
+ {
4250
+ "id": "",
4251
+ "body": {
4252
+ "package": "himalaya",
4253
+ "type": "Text",
4254
+ "props": {
4255
+ "text": "$service:spacesViewProfile.handle",
4256
+ "style": "footnote",
4257
+ "color": "textSecondary",
4258
+ "collapseWhenEmpty": true
4259
+ }
4260
+ }
4261
+ },
4262
+ {
4263
+ "id": "",
4264
+ "body": {
4265
+ "package": "himalaya",
4266
+ "type": "Text",
4267
+ "props": {
4268
+ "text": "$service:spacesViewProfile.about",
4269
+ "style": "body",
4270
+ "collapseWhenEmpty": true
4271
+ }
4200
4272
  }
4201
4273
  }
4202
4274
  ]
4203
4275
  }
4204
4276
  },
4205
4277
  "modifiers": {
4206
- "width": 96,
4207
- "height": 96,
4208
- "background": {
4209
- "token": "accentSurface"
4210
- },
4211
- "cornerRadius": 16
4212
- }
4213
- },
4214
- {
4215
- "id": "himi_view_profile.name",
4216
- "body": {
4217
- "package": "himalaya",
4218
- "type": "Text",
4219
- "props": {
4220
- "text": "$service:spacesViewProfile.name",
4221
- "style": "title1"
4222
- }
4223
- }
4224
- },
4225
- {
4226
- "id": "",
4227
- "body": {
4228
- "package": "himalaya",
4229
- "type": "Text",
4230
- "props": {
4231
- "text": "$service:spacesViewProfile.handle",
4232
- "style": "footnote",
4233
- "color": "textSecondary",
4234
- "collapseWhenEmpty": true
4235
- }
4278
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
4236
4279
  }
4237
4280
  },
4238
4281
  {
4239
- "id": "",
4282
+ "id": "himi_view_profile.member_gate",
4240
4283
  "body": {
4241
4284
  "package": "himalaya",
4242
- "type": "Text",
4285
+ "type": "VStack",
4243
4286
  "props": {
4244
- "text": "$service:spacesViewProfile.about",
4245
- "style": "body",
4246
- "collapseWhenEmpty": true
4287
+ "spacing": 10,
4288
+ "alignment": "center",
4289
+ "children": [
4290
+ {
4291
+ "id": "",
4292
+ "body": {
4293
+ "package": "himalaya",
4294
+ "type": "Icon",
4295
+ "props": {
4296
+ "name": "person",
4297
+ "size": 28,
4298
+ "tint": "accentPrimary"
4299
+ }
4300
+ },
4301
+ "modifiers": {
4302
+ "accessibilityRole": "decorative"
4303
+ }
4304
+ },
4305
+ {
4306
+ "id": "himi_view_profile.member_gate_title",
4307
+ "body": {
4308
+ "package": "himalaya",
4309
+ "type": "Text",
4310
+ "props": {
4311
+ "text": "Sign in to view your profile",
4312
+ "style": "bodyEmphasis"
4313
+ }
4314
+ }
4315
+ },
4316
+ {
4317
+ "id": "",
4318
+ "body": {
4319
+ "package": "himalaya",
4320
+ "type": "Text",
4321
+ "props": {
4322
+ "text": "Your public profile appears here after you sign in.",
4323
+ "style": "footnote",
4324
+ "color": "textSecondary"
4325
+ }
4326
+ }
4327
+ },
4328
+ {
4329
+ "id": "himi_view_profile.member_gate_signin",
4330
+ "body": {
4331
+ "package": "himalaya",
4332
+ "type": "Button",
4333
+ "props": {
4334
+ "title": "Sign in",
4335
+ "style": "primary",
4336
+ "fullWidth": true,
4337
+ "action": {
4338
+ "actionId": "himi.open",
4339
+ "params": {
4340
+ "screenId": "himi_account",
4341
+ "intent": "profile",
4342
+ "returnScreenId": "himi_view_profile"
4343
+ }
4344
+ }
4345
+ }
4346
+ }
4347
+ }
4348
+ ]
4247
4349
  }
4350
+ },
4351
+ "modifiers": {
4352
+ "background": {
4353
+ "token": "surfaceElevated"
4354
+ },
4355
+ "border": {
4356
+ "width": 1,
4357
+ "color": {
4358
+ "token": "border"
4359
+ }
4360
+ },
4361
+ "cornerRadius": 16,
4362
+ "padding": {
4363
+ "leading": 16,
4364
+ "trailing": 16,
4365
+ "top": 20,
4366
+ "bottom": 20
4367
+ },
4368
+ "fillMaxWidth": true,
4369
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
4248
4370
  }
4249
4371
  }
4250
4372
  ]
@@ -4778,11 +4900,10 @@ const SCREENS = runtimeSetting({
4778
4900
  "id": "himi_feed.search",
4779
4901
  "body": {
4780
4902
  "package": "himalaya",
4781
- "type": "TextField",
4903
+ "type": "SearchField",
4782
4904
  "props": {
4783
4905
  "placeholder": "Search posts",
4784
- "autoCapitalization": "none",
4785
- "submitLabel": "search",
4906
+ "debounceMs": 200,
4786
4907
  "onChange": {
4787
4908
  "actionId": "tier5.himiBrandedFeed.filter"
4788
4909
  }
@@ -4866,16 +4987,31 @@ const SCREENS = runtimeSetting({
4866
4987
  }
4867
4988
  },
4868
4989
  {
4869
- "id": "himi_feed.signin_card",
4990
+ "id": "himi_feed.member_gate",
4870
4991
  "body": {
4871
4992
  "package": "himalaya",
4872
4993
  "type": "VStack",
4873
4994
  "props": {
4874
- "spacing": 8,
4875
- "alignment": "leading",
4995
+ "spacing": 10,
4996
+ "alignment": "center",
4876
4997
  "children": [
4877
4998
  {
4878
4999
  "id": "",
5000
+ "body": {
5001
+ "package": "himalaya",
5002
+ "type": "Icon",
5003
+ "props": {
5004
+ "name": "person",
5005
+ "size": 28,
5006
+ "tint": "accentPrimary"
5007
+ }
5008
+ },
5009
+ "modifiers": {
5010
+ "accessibilityRole": "decorative"
5011
+ }
5012
+ },
5013
+ {
5014
+ "id": "himi_feed.member_gate_title",
4879
5015
  "body": {
4880
5016
  "package": "himalaya",
4881
5017
  "type": "Text",
@@ -4898,7 +5034,7 @@ const SCREENS = runtimeSetting({
4898
5034
  }
4899
5035
  },
4900
5036
  {
4901
- "id": "himi_feed.signin",
5037
+ "id": "himi_feed.member_gate_signin",
4902
5038
  "body": {
4903
5039
  "package": "himalaya",
4904
5040
  "type": "Button",
@@ -4934,9 +5070,10 @@ const SCREENS = runtimeSetting({
4934
5070
  "padding": {
4935
5071
  "leading": 16,
4936
5072
  "trailing": 16,
4937
- "top": 16,
4938
- "bottom": 16
5073
+ "top": 20,
5074
+ "bottom": 20
4939
5075
  },
5076
+ "fillMaxWidth": true,
4940
5077
  "hiddenPath": "$service:himiBrandedFeed.noSignIn"
4941
5078
  }
4942
5079
  },
@@ -5438,65 +5575,172 @@ const SCREENS = runtimeSetting({
5438
5575
  }
5439
5576
  },
5440
5577
  {
5441
- "id": "",
5442
- "body": {
5443
- "package": "himalaya",
5444
- "type": "Text",
5445
- "props": {
5446
- "text": "$service:spacesCreatePost.hint",
5447
- "style": "footnote",
5448
- "color": "textSecondary",
5449
- "collapseWhenEmpty": true
5450
- }
5451
- }
5452
- },
5453
- {
5454
- "id": "himi_create_post.title_field",
5578
+ "id": "himi_create_post.member_gate",
5455
5579
  "body": {
5456
5580
  "package": "himalaya",
5457
- "type": "TextField",
5581
+ "type": "VStack",
5458
5582
  "props": {
5459
- "placeholder": "Title",
5460
- "value": "",
5461
- "submitLabel": "next",
5462
- "onSubmit": {
5463
- "actionId": "tier5.spacesCreatePost.focusBody"
5464
- },
5465
- "onChange": {
5466
- "actionId": "tier5.spacesCreatePost.setTitle"
5467
- }
5583
+ "spacing": 10,
5584
+ "alignment": "center",
5585
+ "children": [
5586
+ {
5587
+ "id": "",
5588
+ "body": {
5589
+ "package": "himalaya",
5590
+ "type": "Icon",
5591
+ "props": {
5592
+ "name": "person",
5593
+ "size": 28,
5594
+ "tint": "accentPrimary"
5595
+ }
5596
+ },
5597
+ "modifiers": {
5598
+ "accessibilityRole": "decorative"
5599
+ }
5600
+ },
5601
+ {
5602
+ "id": "himi_create_post.member_gate_title",
5603
+ "body": {
5604
+ "package": "himalaya",
5605
+ "type": "Text",
5606
+ "props": {
5607
+ "text": "Sign in to post",
5608
+ "style": "bodyEmphasis"
5609
+ }
5610
+ }
5611
+ },
5612
+ {
5613
+ "id": "",
5614
+ "body": {
5615
+ "package": "himalaya",
5616
+ "type": "Text",
5617
+ "props": {
5618
+ "text": "Sign in to share something with the community.",
5619
+ "style": "footnote",
5620
+ "color": "textSecondary"
5621
+ }
5622
+ }
5623
+ },
5624
+ {
5625
+ "id": "himi_create_post.member_gate_signin",
5626
+ "body": {
5627
+ "package": "himalaya",
5628
+ "type": "Button",
5629
+ "props": {
5630
+ "title": "Sign in",
5631
+ "style": "primary",
5632
+ "fullWidth": true,
5633
+ "action": {
5634
+ "actionId": "himi.open",
5635
+ "params": {
5636
+ "screenId": "himi_account",
5637
+ "intent": "post",
5638
+ "returnScreenId": "himi_create_post"
5639
+ }
5640
+ }
5641
+ }
5642
+ }
5643
+ }
5644
+ ]
5468
5645
  }
5469
- }
5470
- },
5471
- {
5472
- "id": "himi_create_post.body_field",
5473
- "body": {
5474
- "package": "himalaya",
5475
- "type": "TextField",
5476
- "props": {
5477
- "placeholder": "Write something…",
5478
- "value": "",
5479
- "multilineMaxLines": 6,
5480
- "focusPath": "$service:spacesCreatePost.bodyFocus",
5481
- "onChange": {
5482
- "actionId": "tier5.spacesCreatePost.setBody"
5646
+ },
5647
+ "modifiers": {
5648
+ "background": {
5649
+ "token": "surfaceElevated"
5650
+ },
5651
+ "border": {
5652
+ "width": 1,
5653
+ "color": {
5654
+ "token": "border"
5483
5655
  }
5484
- }
5656
+ },
5657
+ "cornerRadius": 16,
5658
+ "padding": {
5659
+ "leading": 16,
5660
+ "trailing": 16,
5661
+ "top": 20,
5662
+ "bottom": 20
5663
+ },
5664
+ "fillMaxWidth": true,
5665
+ "hiddenPath": "$service:spacesCreatePost.noSignIn"
5485
5666
  }
5486
5667
  },
5487
5668
  {
5488
- "id": "himi_create_post.submit",
5669
+ "id": "",
5489
5670
  "body": {
5490
5671
  "package": "himalaya",
5491
- "type": "Button",
5672
+ "type": "VStack",
5492
5673
  "props": {
5493
- "title": "Post",
5494
- "style": "primary",
5495
- "fullWidth": true,
5496
- "action": {
5497
- "actionId": "tier5.spacesCreatePost.submit"
5498
- }
5674
+ "spacing": 16,
5675
+ "alignment": "leading",
5676
+ "children": [
5677
+ {
5678
+ "id": "",
5679
+ "body": {
5680
+ "package": "himalaya",
5681
+ "type": "Text",
5682
+ "props": {
5683
+ "text": "$service:spacesCreatePost.hint",
5684
+ "style": "footnote",
5685
+ "color": "textSecondary",
5686
+ "collapseWhenEmpty": true
5687
+ }
5688
+ }
5689
+ },
5690
+ {
5691
+ "id": "himi_create_post.title_field",
5692
+ "body": {
5693
+ "package": "himalaya",
5694
+ "type": "TextField",
5695
+ "props": {
5696
+ "placeholder": "Title",
5697
+ "value": "",
5698
+ "submitLabel": "next",
5699
+ "onSubmit": {
5700
+ "actionId": "tier5.spacesCreatePost.focusBody"
5701
+ },
5702
+ "onChange": {
5703
+ "actionId": "tier5.spacesCreatePost.setTitle"
5704
+ }
5705
+ }
5706
+ }
5707
+ },
5708
+ {
5709
+ "id": "himi_create_post.body_field",
5710
+ "body": {
5711
+ "package": "himalaya",
5712
+ "type": "TextField",
5713
+ "props": {
5714
+ "placeholder": "Write something…",
5715
+ "value": "",
5716
+ "multilineMaxLines": 6,
5717
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
5718
+ "onChange": {
5719
+ "actionId": "tier5.spacesCreatePost.setBody"
5720
+ }
5721
+ }
5722
+ }
5723
+ },
5724
+ {
5725
+ "id": "himi_create_post.submit",
5726
+ "body": {
5727
+ "package": "himalaya",
5728
+ "type": "Button",
5729
+ "props": {
5730
+ "title": "Post",
5731
+ "style": "primary",
5732
+ "fullWidth": true,
5733
+ "action": {
5734
+ "actionId": "tier5.spacesCreatePost.submit"
5735
+ }
5736
+ }
5737
+ }
5738
+ }
5739
+ ]
5499
5740
  }
5741
+ },
5742
+ "modifiers": {
5743
+ "hiddenPath": "$service:spacesCreatePost.hideForm"
5500
5744
  }
5501
5745
  }
5502
5746
  ]
@@ -5511,6 +5755,9 @@ const SCREENS = runtimeSetting({
5511
5755
  "trailing": 16,
5512
5756
  "top": 18,
5513
5757
  "bottom": 28
5758
+ },
5759
+ "onAppear": {
5760
+ "actionId": "tier5.spacesCreatePost.load"
5514
5761
  }
5515
5762
  }
5516
5763
  },
@@ -5592,6 +5839,9 @@ const SCREENS = runtimeSetting({
5592
5839
  },
5593
5840
  "value": "$service:himiEvents.collection.query"
5594
5841
  }
5842
+ },
5843
+ "modifiers": {
5844
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
5595
5845
  }
5596
5846
  },
5597
5847
  {
@@ -5848,6 +6098,7 @@ const SCREENS = runtimeSetting({
5848
6098
  }
5849
6099
  },
5850
6100
  "modifiers": {
6101
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
5851
6102
  "padding": {
5852
6103
  "bottom": 12
5853
6104
  }
@@ -5885,37 +6136,55 @@ const SCREENS = runtimeSetting({
5885
6136
  "actionId": "tier5.himiEvents.collectionFilter"
5886
6137
  }
5887
6138
  }
6139
+ },
6140
+ "modifiers": {
6141
+ "weight": 1
5888
6142
  }
5889
6143
  },
5890
6144
  {
5891
- "id": "",
5892
- "body": {
5893
- "package": "himalaya",
5894
- "type": "Spacer",
5895
- "props": {}
5896
- }
5897
- },
5898
- {
5899
- "id": "",
6145
+ "id": "himi_events.list.collection.clear",
5900
6146
  "body": {
5901
6147
  "package": "himalaya",
5902
- "type": "Text",
6148
+ "type": "Button",
5903
6149
  "props": {
5904
- "text": "$service:himiEvents.collection.summary",
5905
- "style": "caption",
5906
- "color": "textSecondary"
6150
+ "title": "Clear",
6151
+ "style": "plain",
6152
+ "fullWidth": false,
6153
+ "action": {
6154
+ "actionId": "tier5.himiEvents.collectionClear"
6155
+ }
5907
6156
  }
6157
+ },
6158
+ "modifiers": {
6159
+ "hiddenPath": "$service:himiEvents.collection.noActiveCriteria"
5908
6160
  }
5909
6161
  }
5910
6162
  ]
5911
6163
  }
5912
6164
  },
5913
6165
  "modifiers": {
6166
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
5914
6167
  "padding": {
5915
6168
  "bottom": 12
5916
6169
  }
5917
6170
  }
5918
6171
  },
6172
+ {
6173
+ "id": "himi_events.list.collection.summary",
6174
+ "body": {
6175
+ "package": "himalaya",
6176
+ "type": "Text",
6177
+ "props": {
6178
+ "text": "$service:himiEvents.collection.summary",
6179
+ "style": "caption",
6180
+ "color": "textSecondary",
6181
+ "maxLines": 1
6182
+ }
6183
+ },
6184
+ "modifiers": {
6185
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
6186
+ }
6187
+ },
5919
6188
  {
5920
6189
  "id": "",
5921
6190
  "body": {
@@ -6212,6 +6481,25 @@ const SCREENS = runtimeSetting({
6212
6481
  "hiddenPath": "$service:himiEvents.collection.noSelection"
6213
6482
  }
6214
6483
  },
6484
+ {
6485
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
6486
+ "body": {
6487
+ "package": "himalaya",
6488
+ "type": "Button",
6489
+ "props": {
6490
+ "title": "Register",
6491
+ "style": "secondary",
6492
+ "fullWidth": false,
6493
+ "action": {
6494
+ "actionId": "himi.open",
6495
+ "params": {
6496
+ "screenId": "$item.detailScreenId",
6497
+ "id": "$item.id"
6498
+ }
6499
+ }
6500
+ }
6501
+ }
6502
+ },
6215
6503
  {
6216
6504
  "id": "himi_events.list.collection.list.$item.collectionId/actions",
6217
6505
  "body": {
@@ -6541,6 +6829,25 @@ const SCREENS = runtimeSetting({
6541
6829
  "hiddenPath": "$service:himiEvents.collection.noSelection"
6542
6830
  }
6543
6831
  },
6832
+ {
6833
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
6834
+ "body": {
6835
+ "package": "himalaya",
6836
+ "type": "Button",
6837
+ "props": {
6838
+ "title": "Register",
6839
+ "style": "secondary",
6840
+ "fullWidth": false,
6841
+ "action": {
6842
+ "actionId": "himi.open",
6843
+ "params": {
6844
+ "screenId": "$item.detailScreenId",
6845
+ "id": "$item.id"
6846
+ }
6847
+ }
6848
+ }
6849
+ }
6850
+ },
6544
6851
  {
6545
6852
  "id": "",
6546
6853
  "body": {
@@ -6863,6 +7170,25 @@ const SCREENS = runtimeSetting({
6863
7170
  "hiddenPath": "$service:himiEvents.collection.noSelection"
6864
7171
  }
6865
7172
  },
7173
+ {
7174
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
7175
+ "body": {
7176
+ "package": "himalaya",
7177
+ "type": "Button",
7178
+ "props": {
7179
+ "title": "Register",
7180
+ "style": "secondary",
7181
+ "fullWidth": false,
7182
+ "action": {
7183
+ "actionId": "himi.open",
7184
+ "params": {
7185
+ "screenId": "$item.detailScreenId",
7186
+ "id": "$item.id"
7187
+ }
7188
+ }
7189
+ }
7190
+ }
7191
+ },
6866
7192
  {
6867
7193
  "id": "himi_events.list.collection.compact-list.$item.collectionId/actions",
6868
7194
  "body": {
@@ -7192,6 +7518,25 @@ const SCREENS = runtimeSetting({
7192
7518
  "hiddenPath": "$service:himiEvents.collection.noSelection"
7193
7519
  }
7194
7520
  },
7521
+ {
7522
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
7523
+ "body": {
7524
+ "package": "himalaya",
7525
+ "type": "Button",
7526
+ "props": {
7527
+ "title": "Register",
7528
+ "style": "secondary",
7529
+ "fullWidth": false,
7530
+ "action": {
7531
+ "actionId": "himi.open",
7532
+ "params": {
7533
+ "screenId": "$item.detailScreenId",
7534
+ "id": "$item.id"
7535
+ }
7536
+ }
7537
+ }
7538
+ }
7539
+ },
7195
7540
  {
7196
7541
  "id": "",
7197
7542
  "body": {
@@ -7878,6 +8223,25 @@ const SCREENS = runtimeSetting({
7878
8223
  "hiddenPath": "$service:himiEvents.collection.noSelection"
7879
8224
  }
7880
8225
  },
8226
+ {
8227
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
8228
+ "body": {
8229
+ "package": "himalaya",
8230
+ "type": "Button",
8231
+ "props": {
8232
+ "title": "Register",
8233
+ "style": "secondary",
8234
+ "fullWidth": false,
8235
+ "action": {
8236
+ "actionId": "himi.open",
8237
+ "params": {
8238
+ "screenId": "$item.detailScreenId",
8239
+ "id": "$item.id"
8240
+ }
8241
+ }
8242
+ }
8243
+ }
8244
+ },
7881
8245
  {
7882
8246
  "id": "",
7883
8247
  "body": {
@@ -8779,59 +9143,9 @@ const SCREENS = runtimeSetting({
8779
9143
  },
8780
9144
  "value": "$service:himiBlogFeed.collection.query"
8781
9145
  }
8782
- }
8783
- },
8784
- {
8785
- "id": "himi_blog.categories",
8786
- "body": {
8787
- "package": "himalaya",
8788
- "type": "Grid",
8789
- "props": {
8790
- "columns": 2,
8791
- "spacing": 8,
8792
- "itemsPath": "$service:himiBlogFeed.categories",
8793
- "items": [
8794
- {
8795
- "id": "",
8796
- "body": {
8797
- "package": "himalaya",
8798
- "type": "Text",
8799
- "props": {
8800
- "text": "$item.label",
8801
- "style": "footnote",
8802
- "color": "textPrimary",
8803
- "maxLines": 1
8804
- }
8805
- },
8806
- "modifiers": {
8807
- "background": {
8808
- "token": "accentSurface"
8809
- },
8810
- "border": {
8811
- "width": 1,
8812
- "color": {
8813
- "token": "border"
8814
- }
8815
- },
8816
- "cornerRadius": 8,
8817
- "padding": {
8818
- "leading": 12,
8819
- "trailing": 12,
8820
- "top": 9,
8821
- "bottom": 9
8822
- },
8823
- "onTap": {
8824
- "actionId": "tier5.himiBlogFeed.selectCategory",
8825
- "params": {
8826
- "categoryId": "$item.id"
8827
- }
8828
- },
8829
- "pressFeedback": "scale",
8830
- "haptic": "light"
8831
- }
8832
- }
8833
- ]
8834
- }
9146
+ },
9147
+ "modifiers": {
9148
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
8835
9149
  }
8836
9150
  },
8837
9151
  {
@@ -9026,40 +9340,6 @@ const SCREENS = runtimeSetting({
9026
9340
  "spacing": 12,
9027
9341
  "alignment": "leading",
9028
9342
  "children": [
9029
- {
9030
- "id": "",
9031
- "body": {
9032
- "package": "himalaya",
9033
- "type": "HStack",
9034
- "props": {
9035
- "spacing": 8,
9036
- "children": [
9037
- {
9038
- "id": "",
9039
- "body": {
9040
- "package": "himalaya",
9041
- "type": "Spacer",
9042
- "props": {}
9043
- }
9044
- },
9045
- {
9046
- "id": "himi_blog.clear",
9047
- "body": {
9048
- "package": "himalaya",
9049
- "type": "Button",
9050
- "props": {
9051
- "title": "Clear",
9052
- "style": "secondary",
9053
- "action": {
9054
- "actionId": "tier5.himiBlogFeed.clearFilters"
9055
- }
9056
- }
9057
- }
9058
- }
9059
- ]
9060
- }
9061
- }
9062
- },
9063
9343
  {
9064
9344
  "id": "himi_blog.list.collection.toolbar",
9065
9345
  "body": {
@@ -9122,6 +9402,7 @@ const SCREENS = runtimeSetting({
9122
9402
  }
9123
9403
  },
9124
9404
  "modifiers": {
9405
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
9125
9406
  "padding": {
9126
9407
  "bottom": 12
9127
9408
  }
@@ -9159,37 +9440,55 @@ const SCREENS = runtimeSetting({
9159
9440
  "actionId": "tier5.himiBlogFeed.collectionFilter"
9160
9441
  }
9161
9442
  }
9443
+ },
9444
+ "modifiers": {
9445
+ "weight": 1
9162
9446
  }
9163
9447
  },
9164
9448
  {
9165
- "id": "",
9166
- "body": {
9167
- "package": "himalaya",
9168
- "type": "Spacer",
9169
- "props": {}
9170
- }
9171
- },
9172
- {
9173
- "id": "",
9449
+ "id": "himi_blog.list.collection.clear",
9174
9450
  "body": {
9175
9451
  "package": "himalaya",
9176
- "type": "Text",
9452
+ "type": "Button",
9177
9453
  "props": {
9178
- "text": "$service:himiBlogFeed.collection.summary",
9179
- "style": "caption",
9180
- "color": "textSecondary"
9454
+ "title": "Clear",
9455
+ "style": "plain",
9456
+ "fullWidth": false,
9457
+ "action": {
9458
+ "actionId": "tier5.himiBlogFeed.collectionClear"
9459
+ }
9181
9460
  }
9461
+ },
9462
+ "modifiers": {
9463
+ "hiddenPath": "$service:himiBlogFeed.collection.noActiveCriteria"
9182
9464
  }
9183
9465
  }
9184
9466
  ]
9185
9467
  }
9186
9468
  },
9187
9469
  "modifiers": {
9470
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
9188
9471
  "padding": {
9189
9472
  "bottom": 12
9190
9473
  }
9191
9474
  }
9192
9475
  },
9476
+ {
9477
+ "id": "himi_blog.list.collection.summary",
9478
+ "body": {
9479
+ "package": "himalaya",
9480
+ "type": "Text",
9481
+ "props": {
9482
+ "text": "$service:himiBlogFeed.collection.summary",
9483
+ "style": "caption",
9484
+ "color": "textSecondary",
9485
+ "maxLines": 1
9486
+ }
9487
+ },
9488
+ "modifiers": {
9489
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
9490
+ }
9491
+ },
9193
9492
  {
9194
9493
  "id": "",
9195
9494
  "body": {
@@ -11946,6 +12245,9 @@ const SCREENS = runtimeSetting({
11946
12245
  },
11947
12246
  "value": "$service:himiBrandedGroups.collection.query"
11948
12247
  }
12248
+ },
12249
+ "modifiers": {
12250
+ "hiddenPath": "$service:himiBrandedGroups.collection.hideChrome"
11949
12251
  }
11950
12252
  },
11951
12253
  {
@@ -12123,6 +12425,7 @@ const SCREENS = runtimeSetting({
12123
12425
  }
12124
12426
  },
12125
12427
  "modifiers": {
12428
+ "hiddenPath": "$service:himiBrandedGroups.collection.hideChrome",
12126
12429
  "padding": {
12127
12430
  "bottom": 12
12128
12431
  }
@@ -12160,37 +12463,55 @@ const SCREENS = runtimeSetting({
12160
12463
  "actionId": "tier5.himiBrandedGroups.collectionFilter"
12161
12464
  }
12162
12465
  }
12466
+ },
12467
+ "modifiers": {
12468
+ "weight": 1
12163
12469
  }
12164
12470
  },
12165
12471
  {
12166
- "id": "",
12167
- "body": {
12168
- "package": "himalaya",
12169
- "type": "Spacer",
12170
- "props": {}
12171
- }
12172
- },
12173
- {
12174
- "id": "",
12472
+ "id": "himi_groups.rows.collection.clear",
12175
12473
  "body": {
12176
12474
  "package": "himalaya",
12177
- "type": "Text",
12475
+ "type": "Button",
12178
12476
  "props": {
12179
- "text": "$service:himiBrandedGroups.collection.summary",
12180
- "style": "caption",
12181
- "color": "textSecondary"
12477
+ "title": "Clear",
12478
+ "style": "plain",
12479
+ "fullWidth": false,
12480
+ "action": {
12481
+ "actionId": "tier5.himiBrandedGroups.collectionClear"
12482
+ }
12182
12483
  }
12484
+ },
12485
+ "modifiers": {
12486
+ "hiddenPath": "$service:himiBrandedGroups.collection.noActiveCriteria"
12183
12487
  }
12184
12488
  }
12185
12489
  ]
12186
12490
  }
12187
12491
  },
12188
12492
  "modifiers": {
12493
+ "hiddenPath": "$service:himiBrandedGroups.collection.hideChrome",
12189
12494
  "padding": {
12190
12495
  "bottom": 12
12191
12496
  }
12192
12497
  }
12193
12498
  },
12499
+ {
12500
+ "id": "himi_groups.rows.collection.summary",
12501
+ "body": {
12502
+ "package": "himalaya",
12503
+ "type": "Text",
12504
+ "props": {
12505
+ "text": "$service:himiBrandedGroups.collection.summary",
12506
+ "style": "caption",
12507
+ "color": "textSecondary",
12508
+ "maxLines": 1
12509
+ }
12510
+ },
12511
+ "modifiers": {
12512
+ "hiddenPath": "$service:himiBrandedGroups.collection.hideChrome"
12513
+ }
12514
+ },
12194
12515
  {
12195
12516
  "id": "",
12196
12517
  "body": {