@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,
@@ -4228,74 +4228,196 @@ const SCREENS = runtimeSetting({
4228
4228
  "alignment": "center",
4229
4229
  "children": [
4230
4230
  {
4231
- "id": "himi_view_profile.avatar",
4231
+ "id": "himi_view_profile.loading",
4232
+ "body": {
4233
+ "package": "himalaya",
4234
+ "type": "Text",
4235
+ "props": {
4236
+ "text": "Loading…",
4237
+ "style": "body",
4238
+ "color": "textSecondary"
4239
+ }
4240
+ },
4241
+ "modifiers": {
4242
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
4243
+ }
4244
+ },
4245
+ {
4246
+ "id": "",
4232
4247
  "body": {
4233
4248
  "package": "himalaya",
4234
- "type": "ZStack",
4249
+ "type": "VStack",
4235
4250
  "props": {
4251
+ "spacing": 8,
4236
4252
  "alignment": "center",
4237
4253
  "children": [
4238
4254
  {
4239
- "id": "",
4255
+ "id": "himi_view_profile.avatar",
4240
4256
  "body": {
4241
4257
  "package": "himalaya",
4242
- "type": "Icon",
4258
+ "type": "ZStack",
4243
4259
  "props": {
4244
- "name": "photo",
4245
- "size": 28,
4246
- "tint": "accentPrimary"
4260
+ "alignment": "center",
4261
+ "children": [
4262
+ {
4263
+ "id": "",
4264
+ "body": {
4265
+ "package": "himalaya",
4266
+ "type": "Icon",
4267
+ "props": {
4268
+ "name": "photo",
4269
+ "size": 28,
4270
+ "tint": "accentPrimary"
4271
+ }
4272
+ },
4273
+ "modifiers": {
4274
+ "accessibilityRole": "decorative"
4275
+ }
4276
+ }
4277
+ ]
4247
4278
  }
4248
4279
  },
4249
4280
  "modifiers": {
4250
- "accessibilityRole": "decorative"
4281
+ "width": 96,
4282
+ "height": 96,
4283
+ "background": {
4284
+ "token": "accentSurface"
4285
+ },
4286
+ "cornerRadius": 16
4287
+ }
4288
+ },
4289
+ {
4290
+ "id": "himi_view_profile.name",
4291
+ "body": {
4292
+ "package": "himalaya",
4293
+ "type": "Text",
4294
+ "props": {
4295
+ "text": "$service:spacesViewProfile.name",
4296
+ "style": "title1"
4297
+ }
4298
+ }
4299
+ },
4300
+ {
4301
+ "id": "",
4302
+ "body": {
4303
+ "package": "himalaya",
4304
+ "type": "Text",
4305
+ "props": {
4306
+ "text": "$service:spacesViewProfile.handle",
4307
+ "style": "footnote",
4308
+ "color": "textSecondary",
4309
+ "collapseWhenEmpty": true
4310
+ }
4311
+ }
4312
+ },
4313
+ {
4314
+ "id": "",
4315
+ "body": {
4316
+ "package": "himalaya",
4317
+ "type": "Text",
4318
+ "props": {
4319
+ "text": "$service:spacesViewProfile.about",
4320
+ "style": "body",
4321
+ "collapseWhenEmpty": true
4322
+ }
4251
4323
  }
4252
4324
  }
4253
4325
  ]
4254
4326
  }
4255
4327
  },
4256
4328
  "modifiers": {
4257
- "width": 96,
4258
- "height": 96,
4259
- "background": {
4260
- "token": "accentSurface"
4261
- },
4262
- "cornerRadius": 16
4263
- }
4264
- },
4265
- {
4266
- "id": "himi_view_profile.name",
4267
- "body": {
4268
- "package": "himalaya",
4269
- "type": "Text",
4270
- "props": {
4271
- "text": "$service:spacesViewProfile.name",
4272
- "style": "title1"
4273
- }
4274
- }
4275
- },
4276
- {
4277
- "id": "",
4278
- "body": {
4279
- "package": "himalaya",
4280
- "type": "Text",
4281
- "props": {
4282
- "text": "$service:spacesViewProfile.handle",
4283
- "style": "footnote",
4284
- "color": "textSecondary",
4285
- "collapseWhenEmpty": true
4286
- }
4329
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
4287
4330
  }
4288
4331
  },
4289
4332
  {
4290
- "id": "",
4333
+ "id": "himi_view_profile.member_gate",
4291
4334
  "body": {
4292
4335
  "package": "himalaya",
4293
- "type": "Text",
4336
+ "type": "VStack",
4294
4337
  "props": {
4295
- "text": "$service:spacesViewProfile.about",
4296
- "style": "body",
4297
- "collapseWhenEmpty": true
4338
+ "spacing": 10,
4339
+ "alignment": "center",
4340
+ "children": [
4341
+ {
4342
+ "id": "",
4343
+ "body": {
4344
+ "package": "himalaya",
4345
+ "type": "Icon",
4346
+ "props": {
4347
+ "name": "person",
4348
+ "size": 28,
4349
+ "tint": "accentPrimary"
4350
+ }
4351
+ },
4352
+ "modifiers": {
4353
+ "accessibilityRole": "decorative"
4354
+ }
4355
+ },
4356
+ {
4357
+ "id": "himi_view_profile.member_gate_title",
4358
+ "body": {
4359
+ "package": "himalaya",
4360
+ "type": "Text",
4361
+ "props": {
4362
+ "text": "Sign in to view your profile",
4363
+ "style": "bodyEmphasis"
4364
+ }
4365
+ }
4366
+ },
4367
+ {
4368
+ "id": "",
4369
+ "body": {
4370
+ "package": "himalaya",
4371
+ "type": "Text",
4372
+ "props": {
4373
+ "text": "Your public profile appears here after you sign in.",
4374
+ "style": "footnote",
4375
+ "color": "textSecondary"
4376
+ }
4377
+ }
4378
+ },
4379
+ {
4380
+ "id": "himi_view_profile.member_gate_signin",
4381
+ "body": {
4382
+ "package": "himalaya",
4383
+ "type": "Button",
4384
+ "props": {
4385
+ "title": "Sign in",
4386
+ "style": "primary",
4387
+ "fullWidth": true,
4388
+ "action": {
4389
+ "actionId": "himi.open",
4390
+ "params": {
4391
+ "screenId": "himi_account",
4392
+ "intent": "profile",
4393
+ "returnScreenId": "himi_view_profile"
4394
+ }
4395
+ }
4396
+ }
4397
+ }
4398
+ }
4399
+ ]
4298
4400
  }
4401
+ },
4402
+ "modifiers": {
4403
+ "background": {
4404
+ "token": "surfaceElevated"
4405
+ },
4406
+ "border": {
4407
+ "width": 1,
4408
+ "color": {
4409
+ "token": "border"
4410
+ }
4411
+ },
4412
+ "cornerRadius": 16,
4413
+ "padding": {
4414
+ "leading": 16,
4415
+ "trailing": 16,
4416
+ "top": 20,
4417
+ "bottom": 20
4418
+ },
4419
+ "fillMaxWidth": true,
4420
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
4299
4421
  }
4300
4422
  }
4301
4423
  ]
@@ -4952,6 +5074,27 @@ const SCREENS = runtimeSetting({
4952
5074
  "props": {
4953
5075
  "spacing": 0,
4954
5076
  "children": [
5077
+ {
5078
+ "id": "himi_plans.rows.collection.search",
5079
+ "body": {
5080
+ "package": "himalaya",
5081
+ "type": "SearchField",
5082
+ "props": {
5083
+ "placeholder": "Search loaded items",
5084
+ "value": "$service:himiBrandedPlans.collection.query",
5085
+ "debounceMs": 200,
5086
+ "onChange": {
5087
+ "actionId": "tier5.himiBrandedPlans.collectionSearch"
5088
+ }
5089
+ }
5090
+ },
5091
+ "modifiers": {
5092
+ "hiddenPath": "$service:himiBrandedPlans.collection.hideChrome",
5093
+ "padding": {
5094
+ "bottom": 12
5095
+ }
5096
+ }
5097
+ },
4955
5098
  {
4956
5099
  "id": "",
4957
5100
  "body": {
@@ -5006,6 +5149,7 @@ const SCREENS = runtimeSetting({
5006
5149
  }
5007
5150
  },
5008
5151
  "modifiers": {
5152
+ "hiddenPath": "$service:himiBrandedPlans.collection.hideChrome",
5009
5153
  "padding": {
5010
5154
  "bottom": 12
5011
5155
  }
@@ -5043,55 +5187,53 @@ const SCREENS = runtimeSetting({
5043
5187
  "actionId": "tier5.himiBrandedPlans.collectionFilter"
5044
5188
  }
5045
5189
  }
5190
+ },
5191
+ "modifiers": {
5192
+ "weight": 1
5046
5193
  }
5047
5194
  },
5048
5195
  {
5049
- "id": "",
5050
- "body": {
5051
- "package": "himalaya",
5052
- "type": "Spacer",
5053
- "props": {}
5054
- }
5055
- },
5056
- {
5057
- "id": "",
5196
+ "id": "himi_plans.rows.collection.clear",
5058
5197
  "body": {
5059
5198
  "package": "himalaya",
5060
- "type": "Text",
5199
+ "type": "Button",
5061
5200
  "props": {
5062
- "text": "$service:himiBrandedPlans.collection.summary",
5063
- "style": "caption",
5064
- "color": "textSecondary"
5201
+ "title": "Clear",
5202
+ "style": "plain",
5203
+ "fullWidth": false,
5204
+ "action": {
5205
+ "actionId": "tier5.himiBrandedPlans.collectionClear"
5206
+ }
5065
5207
  }
5208
+ },
5209
+ "modifiers": {
5210
+ "hiddenPath": "$service:himiBrandedPlans.collection.noActiveCriteria"
5066
5211
  }
5067
5212
  }
5068
5213
  ]
5069
5214
  }
5070
5215
  },
5071
5216
  "modifiers": {
5217
+ "hiddenPath": "$service:himiBrandedPlans.collection.hideChrome",
5072
5218
  "padding": {
5073
5219
  "bottom": 12
5074
5220
  }
5075
5221
  }
5076
5222
  },
5077
5223
  {
5078
- "id": "himi_plans.rows.collection.search",
5224
+ "id": "himi_plans.rows.collection.summary",
5079
5225
  "body": {
5080
5226
  "package": "himalaya",
5081
- "type": "SearchField",
5227
+ "type": "Text",
5082
5228
  "props": {
5083
- "placeholder": "Search loaded items",
5084
- "value": "$service:himiBrandedPlans.collection.query",
5085
- "debounceMs": 200,
5086
- "onChange": {
5087
- "actionId": "tier5.himiBrandedPlans.collectionSearch"
5088
- }
5229
+ "text": "$service:himiBrandedPlans.collection.summary",
5230
+ "style": "caption",
5231
+ "color": "textSecondary",
5232
+ "maxLines": 1
5089
5233
  }
5090
5234
  },
5091
5235
  "modifiers": {
5092
- "padding": {
5093
- "bottom": 12
5094
- }
5236
+ "hiddenPath": "$service:himiBrandedPlans.collection.hideChrome"
5095
5237
  }
5096
5238
  },
5097
5239
  {
@@ -7168,64 +7310,212 @@ const SCREENS = runtimeSetting({
7168
7310
  "spacing": 8,
7169
7311
  "alignment": "leading",
7170
7312
  "children": [
7171
- {
7172
- "id": "himi_plan.chrome",
7173
- "body": {
7174
- "package": "himalaya",
7175
- "type": "Text",
7176
- "props": {
7177
- "text": "Plan details",
7178
- "style": "title1"
7179
- }
7180
- }
7181
- },
7182
- {
7183
- "id": "himi_plan.title",
7184
- "body": {
7185
- "package": "himalaya",
7186
- "type": "Text",
7187
- "props": {
7188
- "text": "$service:spacesPlanDetail.name",
7189
- "style": "title1",
7190
- "collapseWhenEmpty": true
7191
- }
7192
- }
7193
- },
7194
7313
  {
7195
7314
  "id": "",
7196
7315
  "body": {
7197
7316
  "package": "himalaya",
7198
- "type": "Text",
7317
+ "type": "VStack",
7199
7318
  "props": {
7200
- "text": "$service:spacesPlanDetail.price",
7201
- "style": "title3",
7202
- "color": "accentPrimary",
7203
- "collapseWhenEmpty": true
7204
- }
7205
- }
7206
- },
7207
- {
7208
- "id": "",
7209
- "body": {
7210
- "package": "himalaya",
7211
- "type": "Text",
7212
- "props": {
7213
- "text": "$service:spacesPlanDetail.description",
7214
- "style": "body",
7215
- "color": "textSecondary",
7216
- "collapseWhenEmpty": true
7319
+ "spacing": 8,
7320
+ "alignment": "leading",
7321
+ "children": [
7322
+ {
7323
+ "id": "himi_plan.chrome",
7324
+ "body": {
7325
+ "package": "himalaya",
7326
+ "type": "Text",
7327
+ "props": {
7328
+ "text": "Plan details",
7329
+ "style": "title1"
7330
+ }
7331
+ }
7332
+ },
7333
+ {
7334
+ "id": "himi_plan.title",
7335
+ "body": {
7336
+ "package": "himalaya",
7337
+ "type": "Text",
7338
+ "props": {
7339
+ "text": "$service:spacesPlanDetail.name",
7340
+ "style": "title1",
7341
+ "collapseWhenEmpty": true
7342
+ }
7343
+ }
7344
+ },
7345
+ {
7346
+ "id": "",
7347
+ "body": {
7348
+ "package": "himalaya",
7349
+ "type": "Text",
7350
+ "props": {
7351
+ "text": "$service:spacesPlanDetail.price",
7352
+ "style": "title3",
7353
+ "color": "accentPrimary",
7354
+ "collapseWhenEmpty": true
7355
+ }
7356
+ }
7357
+ },
7358
+ {
7359
+ "id": "",
7360
+ "body": {
7361
+ "package": "himalaya",
7362
+ "type": "Text",
7363
+ "props": {
7364
+ "text": "$service:spacesPlanDetail.description",
7365
+ "style": "body",
7366
+ "color": "textSecondary",
7367
+ "collapseWhenEmpty": true
7368
+ }
7369
+ }
7370
+ },
7371
+ {
7372
+ "id": "",
7373
+ "body": {
7374
+ "package": "himalaya",
7375
+ "type": "Text",
7376
+ "props": {
7377
+ "text": "$service:spacesPlanDetail.perks",
7378
+ "style": "body",
7379
+ "collapseWhenEmpty": true
7380
+ }
7381
+ }
7382
+ }
7383
+ ]
7217
7384
  }
7385
+ },
7386
+ "modifiers": {
7387
+ "hiddenPath": "$service:spacesPlanDetail.noEntity"
7218
7388
  }
7219
7389
  },
7220
7390
  {
7221
7391
  "id": "",
7222
7392
  "body": {
7223
7393
  "package": "himalaya",
7224
- "type": "Text",
7394
+ "type": "VStack",
7225
7395
  "props": {
7226
- "text": "$service:spacesPlanDetail.perks",
7227
- "style": "body",
7228
- "collapseWhenEmpty": true
7396
+ "spacing": 12,
7397
+ "alignment": "leading",
7398
+ "children": [
7399
+ {
7400
+ "id": "himi_plan.loading",
7401
+ "body": {
7402
+ "package": "himalaya",
7403
+ "type": "Text",
7404
+ "props": {
7405
+ "text": "Loading…",
7406
+ "style": "body",
7407
+ "color": "textSecondary"
7408
+ }
7409
+ },
7410
+ "modifiers": {
7411
+ "hiddenPath": "$service:spacesPlanDetail.hideLoading"
7412
+ }
7413
+ },
7414
+ {
7415
+ "id": "himi_plan.load_error",
7416
+ "body": {
7417
+ "package": "himalaya",
7418
+ "type": "Text",
7419
+ "props": {
7420
+ "text": "This couldn't be loaded. Check your connection and try again.",
7421
+ "style": "body",
7422
+ "color": "textSecondary"
7423
+ }
7424
+ },
7425
+ "modifiers": {
7426
+ "hiddenPath": "$service:spacesPlanDetail.hideLoadError"
7427
+ }
7428
+ },
7429
+ {
7430
+ "id": "himi_plan.not_found",
7431
+ "body": {
7432
+ "package": "himalaya",
7433
+ "type": "VStack",
7434
+ "props": {
7435
+ "spacing": 10,
7436
+ "alignment": "center",
7437
+ "children": [
7438
+ {
7439
+ "id": "",
7440
+ "body": {
7441
+ "package": "himalaya",
7442
+ "type": "Icon",
7443
+ "props": {
7444
+ "name": "ticket",
7445
+ "size": 32,
7446
+ "tint": "textTertiary"
7447
+ }
7448
+ },
7449
+ "modifiers": {
7450
+ "accessibilityRole": "decorative"
7451
+ }
7452
+ },
7453
+ {
7454
+ "id": "himi_plan.not_found_title",
7455
+ "body": {
7456
+ "package": "himalaya",
7457
+ "type": "Text",
7458
+ "props": {
7459
+ "text": "Plan not found",
7460
+ "style": "title3"
7461
+ }
7462
+ }
7463
+ },
7464
+ {
7465
+ "id": "",
7466
+ "body": {
7467
+ "package": "himalaya",
7468
+ "type": "Text",
7469
+ "props": {
7470
+ "text": "This plan is no longer available.",
7471
+ "style": "body",
7472
+ "color": "textSecondary"
7473
+ }
7474
+ }
7475
+ },
7476
+ {
7477
+ "id": "himi_plan.not_found_back",
7478
+ "body": {
7479
+ "package": "himalaya",
7480
+ "type": "Button",
7481
+ "props": {
7482
+ "title": "Back to plans",
7483
+ "style": "primary",
7484
+ "fullWidth": true,
7485
+ "action": {
7486
+ "actionId": "himi.open",
7487
+ "params": {
7488
+ "screenId": "himi_plans"
7489
+ }
7490
+ }
7491
+ }
7492
+ }
7493
+ }
7494
+ ]
7495
+ }
7496
+ },
7497
+ "modifiers": {
7498
+ "background": {
7499
+ "token": "surfaceElevated"
7500
+ },
7501
+ "border": {
7502
+ "width": 1,
7503
+ "color": {
7504
+ "token": "border"
7505
+ }
7506
+ },
7507
+ "cornerRadius": 16,
7508
+ "padding": {
7509
+ "leading": 16,
7510
+ "trailing": 16,
7511
+ "top": 20,
7512
+ "bottom": 20
7513
+ },
7514
+ "fillMaxWidth": true,
7515
+ "hiddenPath": "$service:spacesPlanDetail.hideNotFound"
7516
+ }
7517
+ }
7518
+ ]
7229
7519
  }
7230
7520
  }
7231
7521
  }
@@ -7470,65 +7760,213 @@ const SCREENS = runtimeSetting({
7470
7760
  "spacing": 8,
7471
7761
  "alignment": "leading",
7472
7762
  "children": [
7473
- {
7474
- "id": "himi_subscription.chrome",
7475
- "body": {
7476
- "package": "himalaya",
7477
- "type": "Text",
7478
- "props": {
7479
- "text": "Subscription",
7480
- "style": "title1"
7481
- }
7482
- }
7483
- },
7484
- {
7485
- "id": "himi_subscription.title",
7486
- "body": {
7487
- "package": "himalaya",
7488
- "type": "Text",
7489
- "props": {
7490
- "text": "$service:spacesSubscriptionDetail.name",
7491
- "style": "title1",
7492
- "collapseWhenEmpty": true
7493
- }
7494
- }
7495
- },
7496
- {
7497
- "id": "",
7498
- "body": {
7499
- "package": "himalaya",
7500
- "type": "Text",
7501
- "props": {
7502
- "text": "$service:spacesSubscriptionDetail.subtitle",
7503
- "style": "footnote",
7504
- "color": "textSecondary",
7505
- "collapseWhenEmpty": true
7506
- }
7507
- }
7508
- },
7509
7763
  {
7510
7764
  "id": "",
7511
7765
  "body": {
7512
7766
  "package": "himalaya",
7513
- "type": "Text",
7767
+ "type": "VStack",
7514
7768
  "props": {
7515
- "text": "$service:spacesSubscriptionDetail.price",
7516
- "style": "title3",
7517
- "color": "accentPrimary",
7518
- "collapseWhenEmpty": true
7769
+ "spacing": 8,
7770
+ "alignment": "leading",
7771
+ "children": [
7772
+ {
7773
+ "id": "himi_subscription.chrome",
7774
+ "body": {
7775
+ "package": "himalaya",
7776
+ "type": "Text",
7777
+ "props": {
7778
+ "text": "Subscription",
7779
+ "style": "title1"
7780
+ }
7781
+ }
7782
+ },
7783
+ {
7784
+ "id": "himi_subscription.title",
7785
+ "body": {
7786
+ "package": "himalaya",
7787
+ "type": "Text",
7788
+ "props": {
7789
+ "text": "$service:spacesSubscriptionDetail.name",
7790
+ "style": "title1",
7791
+ "collapseWhenEmpty": true
7792
+ }
7793
+ }
7794
+ },
7795
+ {
7796
+ "id": "",
7797
+ "body": {
7798
+ "package": "himalaya",
7799
+ "type": "Text",
7800
+ "props": {
7801
+ "text": "$service:spacesSubscriptionDetail.subtitle",
7802
+ "style": "footnote",
7803
+ "color": "textSecondary",
7804
+ "collapseWhenEmpty": true
7805
+ }
7806
+ }
7807
+ },
7808
+ {
7809
+ "id": "",
7810
+ "body": {
7811
+ "package": "himalaya",
7812
+ "type": "Text",
7813
+ "props": {
7814
+ "text": "$service:spacesSubscriptionDetail.price",
7815
+ "style": "title3",
7816
+ "color": "accentPrimary",
7817
+ "collapseWhenEmpty": true
7818
+ }
7819
+ }
7820
+ },
7821
+ {
7822
+ "id": "",
7823
+ "body": {
7824
+ "package": "himalaya",
7825
+ "type": "Text",
7826
+ "props": {
7827
+ "text": "$service:spacesSubscriptionDetail.validity",
7828
+ "style": "footnote",
7829
+ "color": "textSecondary",
7830
+ "collapseWhenEmpty": true
7831
+ }
7832
+ }
7833
+ }
7834
+ ]
7519
7835
  }
7836
+ },
7837
+ "modifiers": {
7838
+ "hiddenPath": "$service:spacesSubscriptionDetail.noEntity"
7520
7839
  }
7521
7840
  },
7522
7841
  {
7523
7842
  "id": "",
7524
7843
  "body": {
7525
7844
  "package": "himalaya",
7526
- "type": "Text",
7845
+ "type": "VStack",
7527
7846
  "props": {
7528
- "text": "$service:spacesSubscriptionDetail.validity",
7529
- "style": "footnote",
7530
- "color": "textSecondary",
7531
- "collapseWhenEmpty": true
7847
+ "spacing": 12,
7848
+ "alignment": "leading",
7849
+ "children": [
7850
+ {
7851
+ "id": "himi_subscription.loading",
7852
+ "body": {
7853
+ "package": "himalaya",
7854
+ "type": "Text",
7855
+ "props": {
7856
+ "text": "Loading…",
7857
+ "style": "body",
7858
+ "color": "textSecondary"
7859
+ }
7860
+ },
7861
+ "modifiers": {
7862
+ "hiddenPath": "$service:spacesSubscriptionDetail.hideLoading"
7863
+ }
7864
+ },
7865
+ {
7866
+ "id": "himi_subscription.load_error",
7867
+ "body": {
7868
+ "package": "himalaya",
7869
+ "type": "Text",
7870
+ "props": {
7871
+ "text": "This couldn't be loaded. Check your connection and try again.",
7872
+ "style": "body",
7873
+ "color": "textSecondary"
7874
+ }
7875
+ },
7876
+ "modifiers": {
7877
+ "hiddenPath": "$service:spacesSubscriptionDetail.hideLoadError"
7878
+ }
7879
+ },
7880
+ {
7881
+ "id": "himi_subscription.not_found",
7882
+ "body": {
7883
+ "package": "himalaya",
7884
+ "type": "VStack",
7885
+ "props": {
7886
+ "spacing": 10,
7887
+ "alignment": "center",
7888
+ "children": [
7889
+ {
7890
+ "id": "",
7891
+ "body": {
7892
+ "package": "himalaya",
7893
+ "type": "Icon",
7894
+ "props": {
7895
+ "name": "ticket",
7896
+ "size": 32,
7897
+ "tint": "textTertiary"
7898
+ }
7899
+ },
7900
+ "modifiers": {
7901
+ "accessibilityRole": "decorative"
7902
+ }
7903
+ },
7904
+ {
7905
+ "id": "himi_subscription.not_found_title",
7906
+ "body": {
7907
+ "package": "himalaya",
7908
+ "type": "Text",
7909
+ "props": {
7910
+ "text": "Subscription not found",
7911
+ "style": "title3"
7912
+ }
7913
+ }
7914
+ },
7915
+ {
7916
+ "id": "",
7917
+ "body": {
7918
+ "package": "himalaya",
7919
+ "type": "Text",
7920
+ "props": {
7921
+ "text": "This subscription is no longer available.",
7922
+ "style": "body",
7923
+ "color": "textSecondary"
7924
+ }
7925
+ }
7926
+ },
7927
+ {
7928
+ "id": "himi_subscription.not_found_back",
7929
+ "body": {
7930
+ "package": "himalaya",
7931
+ "type": "Button",
7932
+ "props": {
7933
+ "title": "Back to my subscriptions",
7934
+ "style": "primary",
7935
+ "fullWidth": true,
7936
+ "action": {
7937
+ "actionId": "himi.open",
7938
+ "params": {
7939
+ "screenId": "himi_my_subscriptions"
7940
+ }
7941
+ }
7942
+ }
7943
+ }
7944
+ }
7945
+ ]
7946
+ }
7947
+ },
7948
+ "modifiers": {
7949
+ "background": {
7950
+ "token": "surfaceElevated"
7951
+ },
7952
+ "border": {
7953
+ "width": 1,
7954
+ "color": {
7955
+ "token": "border"
7956
+ }
7957
+ },
7958
+ "cornerRadius": 16,
7959
+ "padding": {
7960
+ "leading": 16,
7961
+ "trailing": 16,
7962
+ "top": 20,
7963
+ "bottom": 20
7964
+ },
7965
+ "fillMaxWidth": true,
7966
+ "hiddenPath": "$service:spacesSubscriptionDetail.hideNotFound"
7967
+ }
7968
+ }
7969
+ ]
7532
7970
  }
7533
7971
  }
7534
7972
  }
@@ -7619,11 +8057,10 @@ const SCREENS = runtimeSetting({
7619
8057
  "id": "himi_feed.search",
7620
8058
  "body": {
7621
8059
  "package": "himalaya",
7622
- "type": "TextField",
8060
+ "type": "SearchField",
7623
8061
  "props": {
7624
8062
  "placeholder": "Search posts",
7625
- "autoCapitalization": "none",
7626
- "submitLabel": "search",
8063
+ "debounceMs": 200,
7627
8064
  "onChange": {
7628
8065
  "actionId": "tier5.himiBrandedFeed.filter"
7629
8066
  }
@@ -7707,16 +8144,31 @@ const SCREENS = runtimeSetting({
7707
8144
  }
7708
8145
  },
7709
8146
  {
7710
- "id": "himi_feed.signin_card",
8147
+ "id": "himi_feed.member_gate",
7711
8148
  "body": {
7712
8149
  "package": "himalaya",
7713
8150
  "type": "VStack",
7714
8151
  "props": {
7715
- "spacing": 8,
7716
- "alignment": "leading",
8152
+ "spacing": 10,
8153
+ "alignment": "center",
7717
8154
  "children": [
7718
8155
  {
7719
8156
  "id": "",
8157
+ "body": {
8158
+ "package": "himalaya",
8159
+ "type": "Icon",
8160
+ "props": {
8161
+ "name": "person",
8162
+ "size": 28,
8163
+ "tint": "accentPrimary"
8164
+ }
8165
+ },
8166
+ "modifiers": {
8167
+ "accessibilityRole": "decorative"
8168
+ }
8169
+ },
8170
+ {
8171
+ "id": "himi_feed.member_gate_title",
7720
8172
  "body": {
7721
8173
  "package": "himalaya",
7722
8174
  "type": "Text",
@@ -7739,7 +8191,7 @@ const SCREENS = runtimeSetting({
7739
8191
  }
7740
8192
  },
7741
8193
  {
7742
- "id": "himi_feed.signin",
8194
+ "id": "himi_feed.member_gate_signin",
7743
8195
  "body": {
7744
8196
  "package": "himalaya",
7745
8197
  "type": "Button",
@@ -7775,9 +8227,10 @@ const SCREENS = runtimeSetting({
7775
8227
  "padding": {
7776
8228
  "leading": 16,
7777
8229
  "trailing": 16,
7778
- "top": 16,
7779
- "bottom": 16
8230
+ "top": 20,
8231
+ "bottom": 20
7780
8232
  },
8233
+ "fillMaxWidth": true,
7781
8234
  "hiddenPath": "$service:himiBrandedFeed.noSignIn"
7782
8235
  }
7783
8236
  },
@@ -8279,65 +8732,172 @@ const SCREENS = runtimeSetting({
8279
8732
  }
8280
8733
  },
8281
8734
  {
8282
- "id": "",
8283
- "body": {
8284
- "package": "himalaya",
8285
- "type": "Text",
8286
- "props": {
8287
- "text": "$service:spacesCreatePost.hint",
8288
- "style": "footnote",
8289
- "color": "textSecondary",
8290
- "collapseWhenEmpty": true
8291
- }
8292
- }
8293
- },
8294
- {
8295
- "id": "himi_create_post.title_field",
8735
+ "id": "himi_create_post.member_gate",
8296
8736
  "body": {
8297
8737
  "package": "himalaya",
8298
- "type": "TextField",
8738
+ "type": "VStack",
8299
8739
  "props": {
8300
- "placeholder": "Title",
8301
- "value": "",
8302
- "submitLabel": "next",
8303
- "onSubmit": {
8304
- "actionId": "tier5.spacesCreatePost.focusBody"
8305
- },
8306
- "onChange": {
8307
- "actionId": "tier5.spacesCreatePost.setTitle"
8308
- }
8740
+ "spacing": 10,
8741
+ "alignment": "center",
8742
+ "children": [
8743
+ {
8744
+ "id": "",
8745
+ "body": {
8746
+ "package": "himalaya",
8747
+ "type": "Icon",
8748
+ "props": {
8749
+ "name": "person",
8750
+ "size": 28,
8751
+ "tint": "accentPrimary"
8752
+ }
8753
+ },
8754
+ "modifiers": {
8755
+ "accessibilityRole": "decorative"
8756
+ }
8757
+ },
8758
+ {
8759
+ "id": "himi_create_post.member_gate_title",
8760
+ "body": {
8761
+ "package": "himalaya",
8762
+ "type": "Text",
8763
+ "props": {
8764
+ "text": "Sign in to post",
8765
+ "style": "bodyEmphasis"
8766
+ }
8767
+ }
8768
+ },
8769
+ {
8770
+ "id": "",
8771
+ "body": {
8772
+ "package": "himalaya",
8773
+ "type": "Text",
8774
+ "props": {
8775
+ "text": "Sign in to share something with the community.",
8776
+ "style": "footnote",
8777
+ "color": "textSecondary"
8778
+ }
8779
+ }
8780
+ },
8781
+ {
8782
+ "id": "himi_create_post.member_gate_signin",
8783
+ "body": {
8784
+ "package": "himalaya",
8785
+ "type": "Button",
8786
+ "props": {
8787
+ "title": "Sign in",
8788
+ "style": "primary",
8789
+ "fullWidth": true,
8790
+ "action": {
8791
+ "actionId": "himi.open",
8792
+ "params": {
8793
+ "screenId": "himi_account",
8794
+ "intent": "post",
8795
+ "returnScreenId": "himi_create_post"
8796
+ }
8797
+ }
8798
+ }
8799
+ }
8800
+ }
8801
+ ]
8309
8802
  }
8310
- }
8311
- },
8312
- {
8313
- "id": "himi_create_post.body_field",
8314
- "body": {
8315
- "package": "himalaya",
8316
- "type": "TextField",
8317
- "props": {
8318
- "placeholder": "Write something…",
8319
- "value": "",
8320
- "multilineMaxLines": 6,
8321
- "focusPath": "$service:spacesCreatePost.bodyFocus",
8322
- "onChange": {
8323
- "actionId": "tier5.spacesCreatePost.setBody"
8803
+ },
8804
+ "modifiers": {
8805
+ "background": {
8806
+ "token": "surfaceElevated"
8807
+ },
8808
+ "border": {
8809
+ "width": 1,
8810
+ "color": {
8811
+ "token": "border"
8324
8812
  }
8325
- }
8813
+ },
8814
+ "cornerRadius": 16,
8815
+ "padding": {
8816
+ "leading": 16,
8817
+ "trailing": 16,
8818
+ "top": 20,
8819
+ "bottom": 20
8820
+ },
8821
+ "fillMaxWidth": true,
8822
+ "hiddenPath": "$service:spacesCreatePost.noSignIn"
8326
8823
  }
8327
8824
  },
8328
8825
  {
8329
- "id": "himi_create_post.submit",
8826
+ "id": "",
8330
8827
  "body": {
8331
8828
  "package": "himalaya",
8332
- "type": "Button",
8829
+ "type": "VStack",
8333
8830
  "props": {
8334
- "title": "Post",
8335
- "style": "primary",
8336
- "fullWidth": true,
8337
- "action": {
8338
- "actionId": "tier5.spacesCreatePost.submit"
8339
- }
8831
+ "spacing": 16,
8832
+ "alignment": "leading",
8833
+ "children": [
8834
+ {
8835
+ "id": "",
8836
+ "body": {
8837
+ "package": "himalaya",
8838
+ "type": "Text",
8839
+ "props": {
8840
+ "text": "$service:spacesCreatePost.hint",
8841
+ "style": "footnote",
8842
+ "color": "textSecondary",
8843
+ "collapseWhenEmpty": true
8844
+ }
8845
+ }
8846
+ },
8847
+ {
8848
+ "id": "himi_create_post.title_field",
8849
+ "body": {
8850
+ "package": "himalaya",
8851
+ "type": "TextField",
8852
+ "props": {
8853
+ "placeholder": "Title",
8854
+ "value": "",
8855
+ "submitLabel": "next",
8856
+ "onSubmit": {
8857
+ "actionId": "tier5.spacesCreatePost.focusBody"
8858
+ },
8859
+ "onChange": {
8860
+ "actionId": "tier5.spacesCreatePost.setTitle"
8861
+ }
8862
+ }
8863
+ }
8864
+ },
8865
+ {
8866
+ "id": "himi_create_post.body_field",
8867
+ "body": {
8868
+ "package": "himalaya",
8869
+ "type": "TextField",
8870
+ "props": {
8871
+ "placeholder": "Write something…",
8872
+ "value": "",
8873
+ "multilineMaxLines": 6,
8874
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
8875
+ "onChange": {
8876
+ "actionId": "tier5.spacesCreatePost.setBody"
8877
+ }
8878
+ }
8879
+ }
8880
+ },
8881
+ {
8882
+ "id": "himi_create_post.submit",
8883
+ "body": {
8884
+ "package": "himalaya",
8885
+ "type": "Button",
8886
+ "props": {
8887
+ "title": "Post",
8888
+ "style": "primary",
8889
+ "fullWidth": true,
8890
+ "action": {
8891
+ "actionId": "tier5.spacesCreatePost.submit"
8892
+ }
8893
+ }
8894
+ }
8895
+ }
8896
+ ]
8340
8897
  }
8898
+ },
8899
+ "modifiers": {
8900
+ "hiddenPath": "$service:spacesCreatePost.hideForm"
8341
8901
  }
8342
8902
  }
8343
8903
  ]
@@ -8352,6 +8912,9 @@ const SCREENS = runtimeSetting({
8352
8912
  "trailing": 16,
8353
8913
  "top": 18,
8354
8914
  "bottom": 28
8915
+ },
8916
+ "onAppear": {
8917
+ "actionId": "tier5.spacesCreatePost.load"
8355
8918
  }
8356
8919
  }
8357
8920
  },
@@ -8433,6 +8996,9 @@ const SCREENS = runtimeSetting({
8433
8996
  },
8434
8997
  "value": "$service:himiEvents.collection.query"
8435
8998
  }
8999
+ },
9000
+ "modifiers": {
9001
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
8436
9002
  }
8437
9003
  },
8438
9004
  {
@@ -8689,6 +9255,7 @@ const SCREENS = runtimeSetting({
8689
9255
  }
8690
9256
  },
8691
9257
  "modifiers": {
9258
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
8692
9259
  "padding": {
8693
9260
  "bottom": 12
8694
9261
  }
@@ -8726,37 +9293,55 @@ const SCREENS = runtimeSetting({
8726
9293
  "actionId": "tier5.himiEvents.collectionFilter"
8727
9294
  }
8728
9295
  }
9296
+ },
9297
+ "modifiers": {
9298
+ "weight": 1
8729
9299
  }
8730
9300
  },
8731
9301
  {
8732
- "id": "",
8733
- "body": {
8734
- "package": "himalaya",
8735
- "type": "Spacer",
8736
- "props": {}
8737
- }
8738
- },
8739
- {
8740
- "id": "",
9302
+ "id": "himi_events.list.collection.clear",
8741
9303
  "body": {
8742
9304
  "package": "himalaya",
8743
- "type": "Text",
9305
+ "type": "Button",
8744
9306
  "props": {
8745
- "text": "$service:himiEvents.collection.summary",
8746
- "style": "caption",
8747
- "color": "textSecondary"
9307
+ "title": "Clear",
9308
+ "style": "plain",
9309
+ "fullWidth": false,
9310
+ "action": {
9311
+ "actionId": "tier5.himiEvents.collectionClear"
9312
+ }
8748
9313
  }
9314
+ },
9315
+ "modifiers": {
9316
+ "hiddenPath": "$service:himiEvents.collection.noActiveCriteria"
8749
9317
  }
8750
9318
  }
8751
9319
  ]
8752
9320
  }
8753
9321
  },
8754
9322
  "modifiers": {
9323
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
8755
9324
  "padding": {
8756
9325
  "bottom": 12
8757
9326
  }
8758
9327
  }
8759
9328
  },
9329
+ {
9330
+ "id": "himi_events.list.collection.summary",
9331
+ "body": {
9332
+ "package": "himalaya",
9333
+ "type": "Text",
9334
+ "props": {
9335
+ "text": "$service:himiEvents.collection.summary",
9336
+ "style": "caption",
9337
+ "color": "textSecondary",
9338
+ "maxLines": 1
9339
+ }
9340
+ },
9341
+ "modifiers": {
9342
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
9343
+ }
9344
+ },
8760
9345
  {
8761
9346
  "id": "",
8762
9347
  "body": {
@@ -9053,6 +9638,25 @@ const SCREENS = runtimeSetting({
9053
9638
  "hiddenPath": "$service:himiEvents.collection.noSelection"
9054
9639
  }
9055
9640
  },
9641
+ {
9642
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
9643
+ "body": {
9644
+ "package": "himalaya",
9645
+ "type": "Button",
9646
+ "props": {
9647
+ "title": "Register",
9648
+ "style": "secondary",
9649
+ "fullWidth": false,
9650
+ "action": {
9651
+ "actionId": "himi.open",
9652
+ "params": {
9653
+ "screenId": "$item.detailScreenId",
9654
+ "id": "$item.id"
9655
+ }
9656
+ }
9657
+ }
9658
+ }
9659
+ },
9056
9660
  {
9057
9661
  "id": "himi_events.list.collection.list.$item.collectionId/actions",
9058
9662
  "body": {
@@ -9382,6 +9986,25 @@ const SCREENS = runtimeSetting({
9382
9986
  "hiddenPath": "$service:himiEvents.collection.noSelection"
9383
9987
  }
9384
9988
  },
9989
+ {
9990
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
9991
+ "body": {
9992
+ "package": "himalaya",
9993
+ "type": "Button",
9994
+ "props": {
9995
+ "title": "Register",
9996
+ "style": "secondary",
9997
+ "fullWidth": false,
9998
+ "action": {
9999
+ "actionId": "himi.open",
10000
+ "params": {
10001
+ "screenId": "$item.detailScreenId",
10002
+ "id": "$item.id"
10003
+ }
10004
+ }
10005
+ }
10006
+ }
10007
+ },
9385
10008
  {
9386
10009
  "id": "",
9387
10010
  "body": {
@@ -9704,6 +10327,25 @@ const SCREENS = runtimeSetting({
9704
10327
  "hiddenPath": "$service:himiEvents.collection.noSelection"
9705
10328
  }
9706
10329
  },
10330
+ {
10331
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
10332
+ "body": {
10333
+ "package": "himalaya",
10334
+ "type": "Button",
10335
+ "props": {
10336
+ "title": "Register",
10337
+ "style": "secondary",
10338
+ "fullWidth": false,
10339
+ "action": {
10340
+ "actionId": "himi.open",
10341
+ "params": {
10342
+ "screenId": "$item.detailScreenId",
10343
+ "id": "$item.id"
10344
+ }
10345
+ }
10346
+ }
10347
+ }
10348
+ },
9707
10349
  {
9708
10350
  "id": "himi_events.list.collection.compact-list.$item.collectionId/actions",
9709
10351
  "body": {
@@ -10033,6 +10675,25 @@ const SCREENS = runtimeSetting({
10033
10675
  "hiddenPath": "$service:himiEvents.collection.noSelection"
10034
10676
  }
10035
10677
  },
10678
+ {
10679
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
10680
+ "body": {
10681
+ "package": "himalaya",
10682
+ "type": "Button",
10683
+ "props": {
10684
+ "title": "Register",
10685
+ "style": "secondary",
10686
+ "fullWidth": false,
10687
+ "action": {
10688
+ "actionId": "himi.open",
10689
+ "params": {
10690
+ "screenId": "$item.detailScreenId",
10691
+ "id": "$item.id"
10692
+ }
10693
+ }
10694
+ }
10695
+ }
10696
+ },
10036
10697
  {
10037
10698
  "id": "",
10038
10699
  "body": {
@@ -10719,6 +11380,25 @@ const SCREENS = runtimeSetting({
10719
11380
  "hiddenPath": "$service:himiEvents.collection.noSelection"
10720
11381
  }
10721
11382
  },
11383
+ {
11384
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
11385
+ "body": {
11386
+ "package": "himalaya",
11387
+ "type": "Button",
11388
+ "props": {
11389
+ "title": "Register",
11390
+ "style": "secondary",
11391
+ "fullWidth": false,
11392
+ "action": {
11393
+ "actionId": "himi.open",
11394
+ "params": {
11395
+ "screenId": "$item.detailScreenId",
11396
+ "id": "$item.id"
11397
+ }
11398
+ }
11399
+ }
11400
+ }
11401
+ },
10722
11402
  {
10723
11403
  "id": "",
10724
11404
  "body": {
@@ -11596,85 +12276,35 @@ const SCREENS = runtimeSetting({
11596
12276
  "body": {
11597
12277
  "package": "himalaya",
11598
12278
  "type": "Text",
11599
- "props": {
11600
- "text": "Every episode, with full show notes.",
11601
- "style": "body",
11602
- "color": "textSecondary"
11603
- }
11604
- }
11605
- }
11606
- ]
11607
- }
11608
- }
11609
- },
11610
- {
11611
- "id": "himi_blog.search",
11612
- "body": {
11613
- "package": "himalaya",
11614
- "type": "SearchField",
11615
- "props": {
11616
- "placeholder": "Search loaded items",
11617
- "debounceMs": 200,
11618
- "onChange": {
11619
- "actionId": "tier5.himiBlogFeed.collectionSearch"
11620
- },
11621
- "value": "$service:himiBlogFeed.collection.query"
11622
- }
11623
- }
11624
- },
11625
- {
11626
- "id": "himi_blog.categories",
11627
- "body": {
11628
- "package": "himalaya",
11629
- "type": "Grid",
11630
- "props": {
11631
- "columns": 2,
11632
- "spacing": 8,
11633
- "itemsPath": "$service:himiBlogFeed.categories",
11634
- "items": [
11635
- {
11636
- "id": "",
11637
- "body": {
11638
- "package": "himalaya",
11639
- "type": "Text",
11640
- "props": {
11641
- "text": "$item.label",
11642
- "style": "footnote",
11643
- "color": "textPrimary",
11644
- "maxLines": 1
11645
- }
11646
- },
11647
- "modifiers": {
11648
- "background": {
11649
- "token": "accentSurface"
11650
- },
11651
- "border": {
11652
- "width": 1,
11653
- "color": {
11654
- "token": "border"
11655
- }
11656
- },
11657
- "cornerRadius": 8,
11658
- "padding": {
11659
- "leading": 12,
11660
- "trailing": 12,
11661
- "top": 9,
11662
- "bottom": 9
11663
- },
11664
- "onTap": {
11665
- "actionId": "tier5.himiBlogFeed.selectCategory",
11666
- "params": {
11667
- "categoryId": "$item.id"
11668
- }
11669
- },
11670
- "pressFeedback": "scale",
11671
- "haptic": "light"
12279
+ "props": {
12280
+ "text": "Every episode, with full show notes.",
12281
+ "style": "body",
12282
+ "color": "textSecondary"
12283
+ }
11672
12284
  }
11673
12285
  }
11674
12286
  ]
11675
12287
  }
11676
12288
  }
11677
12289
  },
12290
+ {
12291
+ "id": "himi_blog.search",
12292
+ "body": {
12293
+ "package": "himalaya",
12294
+ "type": "SearchField",
12295
+ "props": {
12296
+ "placeholder": "Search loaded items",
12297
+ "debounceMs": 200,
12298
+ "onChange": {
12299
+ "actionId": "tier5.himiBlogFeed.collectionSearch"
12300
+ },
12301
+ "value": "$service:himiBlogFeed.collection.query"
12302
+ }
12303
+ },
12304
+ "modifiers": {
12305
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
12306
+ }
12307
+ },
11678
12308
  {
11679
12309
  "id": "himi_blog.retry.block",
11680
12310
  "body": {
@@ -11867,40 +12497,6 @@ const SCREENS = runtimeSetting({
11867
12497
  "spacing": 12,
11868
12498
  "alignment": "leading",
11869
12499
  "children": [
11870
- {
11871
- "id": "",
11872
- "body": {
11873
- "package": "himalaya",
11874
- "type": "HStack",
11875
- "props": {
11876
- "spacing": 8,
11877
- "children": [
11878
- {
11879
- "id": "",
11880
- "body": {
11881
- "package": "himalaya",
11882
- "type": "Spacer",
11883
- "props": {}
11884
- }
11885
- },
11886
- {
11887
- "id": "himi_blog.clear",
11888
- "body": {
11889
- "package": "himalaya",
11890
- "type": "Button",
11891
- "props": {
11892
- "title": "Clear",
11893
- "style": "secondary",
11894
- "action": {
11895
- "actionId": "tier5.himiBlogFeed.clearFilters"
11896
- }
11897
- }
11898
- }
11899
- }
11900
- ]
11901
- }
11902
- }
11903
- },
11904
12500
  {
11905
12501
  "id": "himi_blog.list.collection.toolbar",
11906
12502
  "body": {
@@ -11963,6 +12559,7 @@ const SCREENS = runtimeSetting({
11963
12559
  }
11964
12560
  },
11965
12561
  "modifiers": {
12562
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
11966
12563
  "padding": {
11967
12564
  "bottom": 12
11968
12565
  }
@@ -12000,37 +12597,55 @@ const SCREENS = runtimeSetting({
12000
12597
  "actionId": "tier5.himiBlogFeed.collectionFilter"
12001
12598
  }
12002
12599
  }
12600
+ },
12601
+ "modifiers": {
12602
+ "weight": 1
12003
12603
  }
12004
12604
  },
12005
12605
  {
12006
- "id": "",
12007
- "body": {
12008
- "package": "himalaya",
12009
- "type": "Spacer",
12010
- "props": {}
12011
- }
12012
- },
12013
- {
12014
- "id": "",
12606
+ "id": "himi_blog.list.collection.clear",
12015
12607
  "body": {
12016
12608
  "package": "himalaya",
12017
- "type": "Text",
12609
+ "type": "Button",
12018
12610
  "props": {
12019
- "text": "$service:himiBlogFeed.collection.summary",
12020
- "style": "caption",
12021
- "color": "textSecondary"
12611
+ "title": "Clear",
12612
+ "style": "plain",
12613
+ "fullWidth": false,
12614
+ "action": {
12615
+ "actionId": "tier5.himiBlogFeed.collectionClear"
12616
+ }
12022
12617
  }
12618
+ },
12619
+ "modifiers": {
12620
+ "hiddenPath": "$service:himiBlogFeed.collection.noActiveCriteria"
12023
12621
  }
12024
12622
  }
12025
12623
  ]
12026
12624
  }
12027
12625
  },
12028
12626
  "modifiers": {
12627
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
12029
12628
  "padding": {
12030
12629
  "bottom": 12
12031
12630
  }
12032
12631
  }
12033
12632
  },
12633
+ {
12634
+ "id": "himi_blog.list.collection.summary",
12635
+ "body": {
12636
+ "package": "himalaya",
12637
+ "type": "Text",
12638
+ "props": {
12639
+ "text": "$service:himiBlogFeed.collection.summary",
12640
+ "style": "caption",
12641
+ "color": "textSecondary",
12642
+ "maxLines": 1
12643
+ }
12644
+ },
12645
+ "modifiers": {
12646
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
12647
+ }
12648
+ },
12034
12649
  {
12035
12650
  "id": "",
12036
12651
  "body": {
@@ -14762,6 +15377,27 @@ const SCREENS = runtimeSetting({
14762
15377
  "props": {
14763
15378
  "spacing": 0,
14764
15379
  "children": [
15380
+ {
15381
+ "id": "himi_podcasts.rows.collection.search",
15382
+ "body": {
15383
+ "package": "himalaya",
15384
+ "type": "SearchField",
15385
+ "props": {
15386
+ "placeholder": "Search loaded items",
15387
+ "value": "$service:himiBrandedPodcasts.collection.query",
15388
+ "debounceMs": 200,
15389
+ "onChange": {
15390
+ "actionId": "tier5.himiBrandedPodcasts.collectionSearch"
15391
+ }
15392
+ }
15393
+ },
15394
+ "modifiers": {
15395
+ "hiddenPath": "$service:himiBrandedPodcasts.collection.hideChrome",
15396
+ "padding": {
15397
+ "bottom": 12
15398
+ }
15399
+ }
15400
+ },
14765
15401
  {
14766
15402
  "id": "",
14767
15403
  "body": {
@@ -14816,6 +15452,7 @@ const SCREENS = runtimeSetting({
14816
15452
  }
14817
15453
  },
14818
15454
  "modifiers": {
15455
+ "hiddenPath": "$service:himiBrandedPodcasts.collection.hideChrome",
14819
15456
  "padding": {
14820
15457
  "bottom": 12
14821
15458
  }
@@ -14853,55 +15490,53 @@ const SCREENS = runtimeSetting({
14853
15490
  "actionId": "tier5.himiBrandedPodcasts.collectionFilter"
14854
15491
  }
14855
15492
  }
15493
+ },
15494
+ "modifiers": {
15495
+ "weight": 1
14856
15496
  }
14857
15497
  },
14858
15498
  {
14859
- "id": "",
14860
- "body": {
14861
- "package": "himalaya",
14862
- "type": "Spacer",
14863
- "props": {}
14864
- }
14865
- },
14866
- {
14867
- "id": "",
15499
+ "id": "himi_podcasts.rows.collection.clear",
14868
15500
  "body": {
14869
15501
  "package": "himalaya",
14870
- "type": "Text",
15502
+ "type": "Button",
14871
15503
  "props": {
14872
- "text": "$service:himiBrandedPodcasts.collection.summary",
14873
- "style": "caption",
14874
- "color": "textSecondary"
15504
+ "title": "Clear",
15505
+ "style": "plain",
15506
+ "fullWidth": false,
15507
+ "action": {
15508
+ "actionId": "tier5.himiBrandedPodcasts.collectionClear"
15509
+ }
14875
15510
  }
15511
+ },
15512
+ "modifiers": {
15513
+ "hiddenPath": "$service:himiBrandedPodcasts.collection.noActiveCriteria"
14876
15514
  }
14877
15515
  }
14878
15516
  ]
14879
15517
  }
14880
15518
  },
14881
15519
  "modifiers": {
15520
+ "hiddenPath": "$service:himiBrandedPodcasts.collection.hideChrome",
14882
15521
  "padding": {
14883
15522
  "bottom": 12
14884
15523
  }
14885
15524
  }
14886
15525
  },
14887
15526
  {
14888
- "id": "himi_podcasts.rows.collection.search",
15527
+ "id": "himi_podcasts.rows.collection.summary",
14889
15528
  "body": {
14890
15529
  "package": "himalaya",
14891
- "type": "SearchField",
15530
+ "type": "Text",
14892
15531
  "props": {
14893
- "placeholder": "Search loaded items",
14894
- "value": "$service:himiBrandedPodcasts.collection.query",
14895
- "debounceMs": 200,
14896
- "onChange": {
14897
- "actionId": "tier5.himiBrandedPodcasts.collectionSearch"
14898
- }
15532
+ "text": "$service:himiBrandedPodcasts.collection.summary",
15533
+ "style": "caption",
15534
+ "color": "textSecondary",
15535
+ "maxLines": 1
14899
15536
  }
14900
15537
  },
14901
15538
  "modifiers": {
14902
- "padding": {
14903
- "bottom": 12
14904
- }
15539
+ "hiddenPath": "$service:himiBrandedPodcasts.collection.hideChrome"
14905
15540
  }
14906
15541
  },
14907
15542
  {
@@ -17423,58 +18058,135 @@ const SCREENS = runtimeSetting({
17423
18058
  }
17424
18059
  },
17425
18060
  {
17426
- "id": "himi_podcast.not_found",
18061
+ "id": "",
17427
18062
  "body": {
17428
18063
  "package": "himalaya",
17429
18064
  "type": "VStack",
17430
18065
  "props": {
17431
- "spacing": 8,
18066
+ "spacing": 12,
17432
18067
  "alignment": "leading",
17433
18068
  "children": [
17434
18069
  {
17435
- "id": "",
18070
+ "id": "himi_podcast.loading",
17436
18071
  "body": {
17437
18072
  "package": "himalaya",
17438
18073
  "type": "Text",
17439
18074
  "props": {
17440
- "text": "Not found",
17441
- "style": "bodyEmphasis"
18075
+ "text": "Loading…",
18076
+ "style": "body",
18077
+ "color": "textSecondary"
17442
18078
  }
18079
+ },
18080
+ "modifiers": {
18081
+ "hiddenPath": "$service:himiBrandedSimpleDetail.hideLoading"
17443
18082
  }
17444
18083
  },
17445
18084
  {
17446
- "id": "",
18085
+ "id": "himi_podcast.load_error",
17447
18086
  "body": {
17448
18087
  "package": "himalaya",
17449
18088
  "type": "Text",
17450
18089
  "props": {
17451
- "text": "Open this from its list to see details.",
17452
- "style": "footnote",
18090
+ "text": "This couldn't be loaded. Check your connection and try again.",
18091
+ "style": "body",
17453
18092
  "color": "textSecondary"
17454
18093
  }
18094
+ },
18095
+ "modifiers": {
18096
+ "hiddenPath": "$service:himiBrandedSimpleDetail.hideLoadError"
18097
+ }
18098
+ },
18099
+ {
18100
+ "id": "himi_podcast.not_found",
18101
+ "body": {
18102
+ "package": "himalaya",
18103
+ "type": "VStack",
18104
+ "props": {
18105
+ "spacing": 10,
18106
+ "alignment": "center",
18107
+ "children": [
18108
+ {
18109
+ "id": "",
18110
+ "body": {
18111
+ "package": "himalaya",
18112
+ "type": "Icon",
18113
+ "props": {
18114
+ "name": "search",
18115
+ "size": 32,
18116
+ "tint": "textTertiary"
18117
+ }
18118
+ },
18119
+ "modifiers": {
18120
+ "accessibilityRole": "decorative"
18121
+ }
18122
+ },
18123
+ {
18124
+ "id": "himi_podcast.not_found_title",
18125
+ "body": {
18126
+ "package": "himalaya",
18127
+ "type": "Text",
18128
+ "props": {
18129
+ "text": "Episode not found",
18130
+ "style": "title3"
18131
+ }
18132
+ }
18133
+ },
18134
+ {
18135
+ "id": "",
18136
+ "body": {
18137
+ "package": "himalaya",
18138
+ "type": "Text",
18139
+ "props": {
18140
+ "text": "This episode is no longer available.",
18141
+ "style": "body",
18142
+ "color": "textSecondary"
18143
+ }
18144
+ }
18145
+ },
18146
+ {
18147
+ "id": "himi_podcast.not_found_back",
18148
+ "body": {
18149
+ "package": "himalaya",
18150
+ "type": "Button",
18151
+ "props": {
18152
+ "title": "Back to episodes",
18153
+ "style": "primary",
18154
+ "fullWidth": true,
18155
+ "action": {
18156
+ "actionId": "himi.open",
18157
+ "params": {
18158
+ "screenId": "himi_podcasts"
18159
+ }
18160
+ }
18161
+ }
18162
+ }
18163
+ }
18164
+ ]
18165
+ }
18166
+ },
18167
+ "modifiers": {
18168
+ "background": {
18169
+ "token": "surfaceElevated"
18170
+ },
18171
+ "border": {
18172
+ "width": 1,
18173
+ "color": {
18174
+ "token": "border"
18175
+ }
18176
+ },
18177
+ "cornerRadius": 16,
18178
+ "padding": {
18179
+ "leading": 16,
18180
+ "trailing": 16,
18181
+ "top": 20,
18182
+ "bottom": 20
18183
+ },
18184
+ "fillMaxWidth": true,
18185
+ "hiddenPath": "$service:himiBrandedSimpleDetail.hideNotFound"
17455
18186
  }
17456
18187
  }
17457
18188
  ]
17458
18189
  }
17459
- },
17460
- "modifiers": {
17461
- "background": {
17462
- "token": "surfaceElevated"
17463
- },
17464
- "border": {
17465
- "width": 1,
17466
- "color": {
17467
- "token": "border"
17468
- }
17469
- },
17470
- "cornerRadius": 16,
17471
- "padding": {
17472
- "leading": 16,
17473
- "trailing": 16,
17474
- "top": 16,
17475
- "bottom": 16
17476
- },
17477
- "hiddenPath": "$service:himiBrandedSimpleDetail.hasId"
17478
18190
  }
17479
18191
  }
17480
18192
  ]