@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,
@@ -4097,74 +4097,196 @@ const SCREENS = runtimeSetting({
4097
4097
  "alignment": "center",
4098
4098
  "children": [
4099
4099
  {
4100
- "id": "himi_view_profile.avatar",
4100
+ "id": "himi_view_profile.loading",
4101
4101
  "body": {
4102
4102
  "package": "himalaya",
4103
- "type": "ZStack",
4103
+ "type": "Text",
4104
+ "props": {
4105
+ "text": "Loading…",
4106
+ "style": "body",
4107
+ "color": "textSecondary"
4108
+ }
4109
+ },
4110
+ "modifiers": {
4111
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
4112
+ }
4113
+ },
4114
+ {
4115
+ "id": "",
4116
+ "body": {
4117
+ "package": "himalaya",
4118
+ "type": "VStack",
4104
4119
  "props": {
4120
+ "spacing": 8,
4105
4121
  "alignment": "center",
4106
4122
  "children": [
4107
4123
  {
4108
- "id": "",
4124
+ "id": "himi_view_profile.avatar",
4109
4125
  "body": {
4110
4126
  "package": "himalaya",
4111
- "type": "Icon",
4127
+ "type": "ZStack",
4112
4128
  "props": {
4113
- "name": "photo",
4114
- "size": 28,
4115
- "tint": "accentPrimary"
4129
+ "alignment": "center",
4130
+ "children": [
4131
+ {
4132
+ "id": "",
4133
+ "body": {
4134
+ "package": "himalaya",
4135
+ "type": "Icon",
4136
+ "props": {
4137
+ "name": "photo",
4138
+ "size": 28,
4139
+ "tint": "accentPrimary"
4140
+ }
4141
+ },
4142
+ "modifiers": {
4143
+ "accessibilityRole": "decorative"
4144
+ }
4145
+ }
4146
+ ]
4116
4147
  }
4117
4148
  },
4118
4149
  "modifiers": {
4119
- "accessibilityRole": "decorative"
4150
+ "width": 96,
4151
+ "height": 96,
4152
+ "background": {
4153
+ "token": "accentSurface"
4154
+ },
4155
+ "cornerRadius": 16
4156
+ }
4157
+ },
4158
+ {
4159
+ "id": "himi_view_profile.name",
4160
+ "body": {
4161
+ "package": "himalaya",
4162
+ "type": "Text",
4163
+ "props": {
4164
+ "text": "$service:spacesViewProfile.name",
4165
+ "style": "title1"
4166
+ }
4167
+ }
4168
+ },
4169
+ {
4170
+ "id": "",
4171
+ "body": {
4172
+ "package": "himalaya",
4173
+ "type": "Text",
4174
+ "props": {
4175
+ "text": "$service:spacesViewProfile.handle",
4176
+ "style": "footnote",
4177
+ "color": "textSecondary",
4178
+ "collapseWhenEmpty": true
4179
+ }
4180
+ }
4181
+ },
4182
+ {
4183
+ "id": "",
4184
+ "body": {
4185
+ "package": "himalaya",
4186
+ "type": "Text",
4187
+ "props": {
4188
+ "text": "$service:spacesViewProfile.about",
4189
+ "style": "body",
4190
+ "collapseWhenEmpty": true
4191
+ }
4120
4192
  }
4121
4193
  }
4122
4194
  ]
4123
4195
  }
4124
4196
  },
4125
4197
  "modifiers": {
4126
- "width": 96,
4127
- "height": 96,
4128
- "background": {
4129
- "token": "accentSurface"
4130
- },
4131
- "cornerRadius": 16
4132
- }
4133
- },
4134
- {
4135
- "id": "himi_view_profile.name",
4136
- "body": {
4137
- "package": "himalaya",
4138
- "type": "Text",
4139
- "props": {
4140
- "text": "$service:spacesViewProfile.name",
4141
- "style": "title1"
4142
- }
4143
- }
4144
- },
4145
- {
4146
- "id": "",
4147
- "body": {
4148
- "package": "himalaya",
4149
- "type": "Text",
4150
- "props": {
4151
- "text": "$service:spacesViewProfile.handle",
4152
- "style": "footnote",
4153
- "color": "textSecondary",
4154
- "collapseWhenEmpty": true
4155
- }
4198
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
4156
4199
  }
4157
4200
  },
4158
4201
  {
4159
- "id": "",
4202
+ "id": "himi_view_profile.member_gate",
4160
4203
  "body": {
4161
4204
  "package": "himalaya",
4162
- "type": "Text",
4205
+ "type": "VStack",
4163
4206
  "props": {
4164
- "text": "$service:spacesViewProfile.about",
4165
- "style": "body",
4166
- "collapseWhenEmpty": true
4207
+ "spacing": 10,
4208
+ "alignment": "center",
4209
+ "children": [
4210
+ {
4211
+ "id": "",
4212
+ "body": {
4213
+ "package": "himalaya",
4214
+ "type": "Icon",
4215
+ "props": {
4216
+ "name": "person",
4217
+ "size": 28,
4218
+ "tint": "accentPrimary"
4219
+ }
4220
+ },
4221
+ "modifiers": {
4222
+ "accessibilityRole": "decorative"
4223
+ }
4224
+ },
4225
+ {
4226
+ "id": "himi_view_profile.member_gate_title",
4227
+ "body": {
4228
+ "package": "himalaya",
4229
+ "type": "Text",
4230
+ "props": {
4231
+ "text": "Sign in to view your profile",
4232
+ "style": "bodyEmphasis"
4233
+ }
4234
+ }
4235
+ },
4236
+ {
4237
+ "id": "",
4238
+ "body": {
4239
+ "package": "himalaya",
4240
+ "type": "Text",
4241
+ "props": {
4242
+ "text": "Your public profile appears here after you sign in.",
4243
+ "style": "footnote",
4244
+ "color": "textSecondary"
4245
+ }
4246
+ }
4247
+ },
4248
+ {
4249
+ "id": "himi_view_profile.member_gate_signin",
4250
+ "body": {
4251
+ "package": "himalaya",
4252
+ "type": "Button",
4253
+ "props": {
4254
+ "title": "Sign in",
4255
+ "style": "primary",
4256
+ "fullWidth": true,
4257
+ "action": {
4258
+ "actionId": "himi.open",
4259
+ "params": {
4260
+ "screenId": "himi_account",
4261
+ "intent": "profile",
4262
+ "returnScreenId": "himi_view_profile"
4263
+ }
4264
+ }
4265
+ }
4266
+ }
4267
+ }
4268
+ ]
4167
4269
  }
4270
+ },
4271
+ "modifiers": {
4272
+ "background": {
4273
+ "token": "surfaceElevated"
4274
+ },
4275
+ "border": {
4276
+ "width": 1,
4277
+ "color": {
4278
+ "token": "border"
4279
+ }
4280
+ },
4281
+ "cornerRadius": 16,
4282
+ "padding": {
4283
+ "leading": 16,
4284
+ "trailing": 16,
4285
+ "top": 20,
4286
+ "bottom": 20
4287
+ },
4288
+ "fillMaxWidth": true,
4289
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
4168
4290
  }
4169
4291
  }
4170
4292
  ]
@@ -4771,7 +4893,8 @@ const SCREENS = runtimeSetting({
4771
4893
  "modifiers": {
4772
4894
  "padding": {
4773
4895
  "bottom": 12
4774
- }
4896
+ },
4897
+ "hiddenPath": "$service:himiStoreShop.collection.hideChrome"
4775
4898
  }
4776
4899
  },
4777
4900
  {
@@ -5030,6 +5153,7 @@ const SCREENS = runtimeSetting({
5030
5153
  }
5031
5154
  },
5032
5155
  "modifiers": {
5156
+ "hiddenPath": "$service:himiStoreShop.collection.hideChrome",
5033
5157
  "padding": {
5034
5158
  "bottom": 12
5035
5159
  }
@@ -5067,37 +5191,55 @@ const SCREENS = runtimeSetting({
5067
5191
  "actionId": "tier5.himiStoreShop.collectionFilter"
5068
5192
  }
5069
5193
  }
5194
+ },
5195
+ "modifiers": {
5196
+ "weight": 1
5070
5197
  }
5071
5198
  },
5072
5199
  {
5073
- "id": "",
5074
- "body": {
5075
- "package": "himalaya",
5076
- "type": "Spacer",
5077
- "props": {}
5078
- }
5079
- },
5080
- {
5081
- "id": "",
5200
+ "id": "himi_shop.list.collection.clear",
5082
5201
  "body": {
5083
5202
  "package": "himalaya",
5084
- "type": "Text",
5203
+ "type": "Button",
5085
5204
  "props": {
5086
- "text": "$service:himiStoreShop.collection.summary",
5087
- "style": "caption",
5088
- "color": "textSecondary"
5205
+ "title": "Clear",
5206
+ "style": "plain",
5207
+ "fullWidth": false,
5208
+ "action": {
5209
+ "actionId": "tier5.himiStoreShop.collectionClear"
5210
+ }
5089
5211
  }
5212
+ },
5213
+ "modifiers": {
5214
+ "hiddenPath": "$service:himiStoreShop.collection.noActiveCriteria"
5090
5215
  }
5091
5216
  }
5092
5217
  ]
5093
5218
  }
5094
5219
  },
5095
5220
  "modifiers": {
5221
+ "hiddenPath": "$service:himiStoreShop.collection.hideChrome",
5096
5222
  "padding": {
5097
5223
  "bottom": 12
5098
5224
  }
5099
5225
  }
5100
5226
  },
5227
+ {
5228
+ "id": "himi_shop.list.collection.summary",
5229
+ "body": {
5230
+ "package": "himalaya",
5231
+ "type": "Text",
5232
+ "props": {
5233
+ "text": "$service:himiStoreShop.collection.summary",
5234
+ "style": "caption",
5235
+ "color": "textSecondary",
5236
+ "maxLines": 1
5237
+ }
5238
+ },
5239
+ "modifiers": {
5240
+ "hiddenPath": "$service:himiStoreShop.collection.hideChrome"
5241
+ }
5242
+ },
5101
5243
  {
5102
5244
  "id": "",
5103
5245
  "body": {
@@ -7946,56 +8088,204 @@ const SCREENS = runtimeSetting({
7946
8088
  "spacing": 8,
7947
8089
  "alignment": "leading",
7948
8090
  "children": [
7949
- {
7950
- "id": "himi_collection.chrome",
7951
- "body": {
7952
- "package": "himalaya",
7953
- "type": "Text",
7954
- "props": {
7955
- "text": "Category",
7956
- "style": "title1"
7957
- }
7958
- }
7959
- },
7960
- {
7961
- "id": "himi_collection.title",
7962
- "body": {
7963
- "package": "himalaya",
7964
- "type": "Text",
7965
- "props": {
7966
- "text": "$service:spacesCollectionDetail.name",
7967
- "style": "title1",
7968
- "collapseWhenEmpty": true
7969
- }
7970
- }
7971
- },
7972
- {
7973
- "id": "",
7974
- "body": {
7975
- "package": "himalaya",
7976
- "type": "Text",
7977
- "props": {
7978
- "text": "$service:spacesCollectionDetail.subtitle",
7979
- "style": "footnote",
7980
- "color": "textSecondary",
7981
- "collapseWhenEmpty": true
7982
- }
7983
- }
7984
- },
7985
8091
  {
7986
8092
  "id": "",
7987
8093
  "body": {
7988
8094
  "package": "himalaya",
7989
- "type": "Text",
8095
+ "type": "VStack",
7990
8096
  "props": {
7991
- "text": "$service:spacesCollectionDetail.description",
7992
- "style": "body",
7993
- "color": "textSecondary",
7994
- "collapseWhenEmpty": true
7995
- }
7996
- }
7997
- }
7998
- ]
8097
+ "spacing": 8,
8098
+ "alignment": "leading",
8099
+ "children": [
8100
+ {
8101
+ "id": "himi_collection.chrome",
8102
+ "body": {
8103
+ "package": "himalaya",
8104
+ "type": "Text",
8105
+ "props": {
8106
+ "text": "Category",
8107
+ "style": "title1"
8108
+ }
8109
+ }
8110
+ },
8111
+ {
8112
+ "id": "himi_collection.title",
8113
+ "body": {
8114
+ "package": "himalaya",
8115
+ "type": "Text",
8116
+ "props": {
8117
+ "text": "$service:spacesCollectionDetail.name",
8118
+ "style": "title1",
8119
+ "collapseWhenEmpty": true
8120
+ }
8121
+ }
8122
+ },
8123
+ {
8124
+ "id": "",
8125
+ "body": {
8126
+ "package": "himalaya",
8127
+ "type": "Text",
8128
+ "props": {
8129
+ "text": "$service:spacesCollectionDetail.subtitle",
8130
+ "style": "footnote",
8131
+ "color": "textSecondary",
8132
+ "collapseWhenEmpty": true
8133
+ }
8134
+ }
8135
+ },
8136
+ {
8137
+ "id": "",
8138
+ "body": {
8139
+ "package": "himalaya",
8140
+ "type": "Text",
8141
+ "props": {
8142
+ "text": "$service:spacesCollectionDetail.description",
8143
+ "style": "body",
8144
+ "color": "textSecondary",
8145
+ "collapseWhenEmpty": true
8146
+ }
8147
+ }
8148
+ }
8149
+ ]
8150
+ }
8151
+ },
8152
+ "modifiers": {
8153
+ "hiddenPath": "$service:spacesCollectionDetail.noEntity"
8154
+ }
8155
+ },
8156
+ {
8157
+ "id": "",
8158
+ "body": {
8159
+ "package": "himalaya",
8160
+ "type": "VStack",
8161
+ "props": {
8162
+ "spacing": 12,
8163
+ "alignment": "leading",
8164
+ "children": [
8165
+ {
8166
+ "id": "himi_collection.loading",
8167
+ "body": {
8168
+ "package": "himalaya",
8169
+ "type": "Text",
8170
+ "props": {
8171
+ "text": "Loading…",
8172
+ "style": "body",
8173
+ "color": "textSecondary"
8174
+ }
8175
+ },
8176
+ "modifiers": {
8177
+ "hiddenPath": "$service:spacesCollectionDetail.hideLoading"
8178
+ }
8179
+ },
8180
+ {
8181
+ "id": "himi_collection.load_error",
8182
+ "body": {
8183
+ "package": "himalaya",
8184
+ "type": "Text",
8185
+ "props": {
8186
+ "text": "This category couldn't be loaded. Check your connection and try again.",
8187
+ "style": "body",
8188
+ "color": "textSecondary"
8189
+ }
8190
+ },
8191
+ "modifiers": {
8192
+ "hiddenPath": "$service:spacesCollectionDetail.hideLoadError"
8193
+ }
8194
+ },
8195
+ {
8196
+ "id": "himi_collection.not_found",
8197
+ "body": {
8198
+ "package": "himalaya",
8199
+ "type": "VStack",
8200
+ "props": {
8201
+ "spacing": 10,
8202
+ "alignment": "center",
8203
+ "children": [
8204
+ {
8205
+ "id": "",
8206
+ "body": {
8207
+ "package": "himalaya",
8208
+ "type": "Icon",
8209
+ "props": {
8210
+ "name": "grid",
8211
+ "size": 32,
8212
+ "tint": "textTertiary"
8213
+ }
8214
+ },
8215
+ "modifiers": {
8216
+ "accessibilityRole": "decorative"
8217
+ }
8218
+ },
8219
+ {
8220
+ "id": "himi_collection.not_found_title",
8221
+ "body": {
8222
+ "package": "himalaya",
8223
+ "type": "Text",
8224
+ "props": {
8225
+ "text": "Category not found",
8226
+ "style": "title3"
8227
+ }
8228
+ }
8229
+ },
8230
+ {
8231
+ "id": "",
8232
+ "body": {
8233
+ "package": "himalaya",
8234
+ "type": "Text",
8235
+ "props": {
8236
+ "text": "This category is no longer available.",
8237
+ "style": "body",
8238
+ "color": "textSecondary"
8239
+ }
8240
+ }
8241
+ },
8242
+ {
8243
+ "id": "himi_collection.not_found_back",
8244
+ "body": {
8245
+ "package": "himalaya",
8246
+ "type": "Button",
8247
+ "props": {
8248
+ "title": "Back to categories",
8249
+ "style": "primary",
8250
+ "fullWidth": true,
8251
+ "action": {
8252
+ "actionId": "himi.open",
8253
+ "params": {
8254
+ "screenId": "himi_collections"
8255
+ }
8256
+ }
8257
+ }
8258
+ }
8259
+ }
8260
+ ]
8261
+ }
8262
+ },
8263
+ "modifiers": {
8264
+ "background": {
8265
+ "token": "surfaceElevated"
8266
+ },
8267
+ "border": {
8268
+ "width": 1,
8269
+ "color": {
8270
+ "token": "border"
8271
+ }
8272
+ },
8273
+ "cornerRadius": 16,
8274
+ "padding": {
8275
+ "leading": 16,
8276
+ "trailing": 16,
8277
+ "top": 20,
8278
+ "bottom": 20
8279
+ },
8280
+ "fillMaxWidth": true,
8281
+ "hiddenPath": "$service:spacesCollectionDetail.hideNotFound"
8282
+ }
8283
+ }
8284
+ ]
8285
+ }
8286
+ }
8287
+ }
8288
+ ]
7999
8289
  }
8000
8290
  },
8001
8291
  "modifiers": {
@@ -8781,6 +9071,27 @@ const SCREENS = runtimeSetting({
8781
9071
  "props": {
8782
9072
  "spacing": 0,
8783
9073
  "children": [
9074
+ {
9075
+ "id": "himi_orders.list.collection.search",
9076
+ "body": {
9077
+ "package": "himalaya",
9078
+ "type": "SearchField",
9079
+ "props": {
9080
+ "placeholder": "Exact order number",
9081
+ "value": "$service:himiBrandedOrders.collection.query",
9082
+ "debounceMs": 200,
9083
+ "onChange": {
9084
+ "actionId": "tier5.himiBrandedOrders.collectionSearch"
9085
+ }
9086
+ }
9087
+ },
9088
+ "modifiers": {
9089
+ "hiddenPath": "$service:himiBrandedOrders.collection.hideChrome",
9090
+ "padding": {
9091
+ "bottom": 12
9092
+ }
9093
+ }
9094
+ },
8784
9095
  {
8785
9096
  "id": "",
8786
9097
  "body": {
@@ -8835,6 +9146,7 @@ const SCREENS = runtimeSetting({
8835
9146
  }
8836
9147
  },
8837
9148
  "modifiers": {
9149
+ "hiddenPath": "$service:himiBrandedOrders.collection.hideChrome",
8838
9150
  "padding": {
8839
9151
  "bottom": 12
8840
9152
  }
@@ -8872,55 +9184,53 @@ const SCREENS = runtimeSetting({
8872
9184
  "actionId": "tier5.himiBrandedOrders.collectionFilter"
8873
9185
  }
8874
9186
  }
9187
+ },
9188
+ "modifiers": {
9189
+ "weight": 1
8875
9190
  }
8876
9191
  },
8877
9192
  {
8878
- "id": "",
8879
- "body": {
8880
- "package": "himalaya",
8881
- "type": "Spacer",
8882
- "props": {}
8883
- }
8884
- },
8885
- {
8886
- "id": "",
9193
+ "id": "himi_orders.list.collection.clear",
8887
9194
  "body": {
8888
9195
  "package": "himalaya",
8889
- "type": "Text",
9196
+ "type": "Button",
8890
9197
  "props": {
8891
- "text": "$service:himiBrandedOrders.collection.summary",
8892
- "style": "caption",
8893
- "color": "textSecondary"
9198
+ "title": "Clear",
9199
+ "style": "plain",
9200
+ "fullWidth": false,
9201
+ "action": {
9202
+ "actionId": "tier5.himiBrandedOrders.collectionClear"
9203
+ }
8894
9204
  }
9205
+ },
9206
+ "modifiers": {
9207
+ "hiddenPath": "$service:himiBrandedOrders.collection.noActiveCriteria"
8895
9208
  }
8896
9209
  }
8897
9210
  ]
8898
9211
  }
8899
9212
  },
8900
9213
  "modifiers": {
9214
+ "hiddenPath": "$service:himiBrandedOrders.collection.hideChrome",
8901
9215
  "padding": {
8902
9216
  "bottom": 12
8903
9217
  }
8904
9218
  }
8905
9219
  },
8906
9220
  {
8907
- "id": "himi_orders.list.collection.search",
9221
+ "id": "himi_orders.list.collection.summary",
8908
9222
  "body": {
8909
9223
  "package": "himalaya",
8910
- "type": "SearchField",
9224
+ "type": "Text",
8911
9225
  "props": {
8912
- "placeholder": "Exact order number",
8913
- "value": "$service:himiBrandedOrders.collection.query",
8914
- "debounceMs": 200,
8915
- "onChange": {
8916
- "actionId": "tier5.himiBrandedOrders.collectionSearch"
8917
- }
9226
+ "text": "$service:himiBrandedOrders.collection.summary",
9227
+ "style": "caption",
9228
+ "color": "textSecondary",
9229
+ "maxLines": 1
8918
9230
  }
8919
9231
  },
8920
9232
  "modifiers": {
8921
- "padding": {
8922
- "bottom": 12
8923
- }
9233
+ "hiddenPath": "$service:himiBrandedOrders.collection.hideChrome"
8924
9234
  }
8925
9235
  },
8926
9236
  {
@@ -10891,6 +11201,97 @@ const SCREENS = runtimeSetting({
10891
11201
  },
10892
11202
  "hiddenPath": "$service:himiBrandedOrders.noEmpty"
10893
11203
  }
11204
+ },
11205
+ {
11206
+ "id": "himi_orders.member_gate",
11207
+ "body": {
11208
+ "package": "himalaya",
11209
+ "type": "VStack",
11210
+ "props": {
11211
+ "spacing": 10,
11212
+ "alignment": "center",
11213
+ "children": [
11214
+ {
11215
+ "id": "",
11216
+ "body": {
11217
+ "package": "himalaya",
11218
+ "type": "Icon",
11219
+ "props": {
11220
+ "name": "person",
11221
+ "size": 28,
11222
+ "tint": "accentPrimary"
11223
+ }
11224
+ },
11225
+ "modifiers": {
11226
+ "accessibilityRole": "decorative"
11227
+ }
11228
+ },
11229
+ {
11230
+ "id": "himi_orders.member_gate_title",
11231
+ "body": {
11232
+ "package": "himalaya",
11233
+ "type": "Text",
11234
+ "props": {
11235
+ "text": "Sign in to see your orders",
11236
+ "style": "bodyEmphasis"
11237
+ }
11238
+ }
11239
+ },
11240
+ {
11241
+ "id": "",
11242
+ "body": {
11243
+ "package": "himalaya",
11244
+ "type": "Text",
11245
+ "props": {
11246
+ "text": "Your order history appears here after you sign in.",
11247
+ "style": "footnote",
11248
+ "color": "textSecondary"
11249
+ }
11250
+ }
11251
+ },
11252
+ {
11253
+ "id": "himi_orders.member_gate_signin",
11254
+ "body": {
11255
+ "package": "himalaya",
11256
+ "type": "Button",
11257
+ "props": {
11258
+ "title": "Sign in",
11259
+ "style": "primary",
11260
+ "fullWidth": true,
11261
+ "action": {
11262
+ "actionId": "himi.open",
11263
+ "params": {
11264
+ "screenId": "himi_account",
11265
+ "intent": "orders",
11266
+ "returnScreenId": "himi_orders"
11267
+ }
11268
+ }
11269
+ }
11270
+ }
11271
+ }
11272
+ ]
11273
+ }
11274
+ },
11275
+ "modifiers": {
11276
+ "background": {
11277
+ "token": "surfaceElevated"
11278
+ },
11279
+ "border": {
11280
+ "width": 1,
11281
+ "color": {
11282
+ "token": "border"
11283
+ }
11284
+ },
11285
+ "cornerRadius": 16,
11286
+ "padding": {
11287
+ "leading": 16,
11288
+ "trailing": 16,
11289
+ "top": 20,
11290
+ "bottom": 20
11291
+ },
11292
+ "fillMaxWidth": true,
11293
+ "hiddenPath": "$service:himiBrandedOrders.noSignIn"
11294
+ }
10894
11295
  }
10895
11296
  ]
10896
11297
  }
@@ -10971,6 +11372,27 @@ const SCREENS = runtimeSetting({
10971
11372
  "props": {
10972
11373
  "spacing": 0,
10973
11374
  "children": [
11375
+ {
11376
+ "id": "himi_portfolio.rows.collection.search",
11377
+ "body": {
11378
+ "package": "himalaya",
11379
+ "type": "SearchField",
11380
+ "props": {
11381
+ "placeholder": "Search loaded items",
11382
+ "value": "$service:himiBrandedPortfolio.collection.query",
11383
+ "debounceMs": 200,
11384
+ "onChange": {
11385
+ "actionId": "tier5.himiBrandedPortfolio.collectionSearch"
11386
+ }
11387
+ }
11388
+ },
11389
+ "modifiers": {
11390
+ "hiddenPath": "$service:himiBrandedPortfolio.collection.hideChrome",
11391
+ "padding": {
11392
+ "bottom": 12
11393
+ }
11394
+ }
11395
+ },
10974
11396
  {
10975
11397
  "id": "",
10976
11398
  "body": {
@@ -11025,6 +11447,7 @@ const SCREENS = runtimeSetting({
11025
11447
  }
11026
11448
  },
11027
11449
  "modifiers": {
11450
+ "hiddenPath": "$service:himiBrandedPortfolio.collection.hideChrome",
11028
11451
  "padding": {
11029
11452
  "bottom": 12
11030
11453
  }
@@ -11062,55 +11485,53 @@ const SCREENS = runtimeSetting({
11062
11485
  "actionId": "tier5.himiBrandedPortfolio.collectionFilter"
11063
11486
  }
11064
11487
  }
11488
+ },
11489
+ "modifiers": {
11490
+ "weight": 1
11065
11491
  }
11066
11492
  },
11067
11493
  {
11068
- "id": "",
11069
- "body": {
11070
- "package": "himalaya",
11071
- "type": "Spacer",
11072
- "props": {}
11073
- }
11074
- },
11075
- {
11076
- "id": "",
11494
+ "id": "himi_portfolio.rows.collection.clear",
11077
11495
  "body": {
11078
11496
  "package": "himalaya",
11079
- "type": "Text",
11497
+ "type": "Button",
11080
11498
  "props": {
11081
- "text": "$service:himiBrandedPortfolio.collection.summary",
11082
- "style": "caption",
11083
- "color": "textSecondary"
11499
+ "title": "Clear",
11500
+ "style": "plain",
11501
+ "fullWidth": false,
11502
+ "action": {
11503
+ "actionId": "tier5.himiBrandedPortfolio.collectionClear"
11504
+ }
11084
11505
  }
11506
+ },
11507
+ "modifiers": {
11508
+ "hiddenPath": "$service:himiBrandedPortfolio.collection.noActiveCriteria"
11085
11509
  }
11086
11510
  }
11087
11511
  ]
11088
11512
  }
11089
11513
  },
11090
11514
  "modifiers": {
11515
+ "hiddenPath": "$service:himiBrandedPortfolio.collection.hideChrome",
11091
11516
  "padding": {
11092
11517
  "bottom": 12
11093
11518
  }
11094
11519
  }
11095
11520
  },
11096
11521
  {
11097
- "id": "himi_portfolio.rows.collection.search",
11522
+ "id": "himi_portfolio.rows.collection.summary",
11098
11523
  "body": {
11099
11524
  "package": "himalaya",
11100
- "type": "SearchField",
11525
+ "type": "Text",
11101
11526
  "props": {
11102
- "placeholder": "Search loaded items",
11103
- "value": "$service:himiBrandedPortfolio.collection.query",
11104
- "debounceMs": 200,
11105
- "onChange": {
11106
- "actionId": "tier5.himiBrandedPortfolio.collectionSearch"
11107
- }
11527
+ "text": "$service:himiBrandedPortfolio.collection.summary",
11528
+ "style": "caption",
11529
+ "color": "textSecondary",
11530
+ "maxLines": 1
11108
11531
  }
11109
11532
  },
11110
11533
  "modifiers": {
11111
- "padding": {
11112
- "bottom": 12
11113
- }
11534
+ "hiddenPath": "$service:himiBrandedPortfolio.collection.hideChrome"
11114
11535
  }
11115
11536
  },
11116
11537
  {
@@ -13564,13 +13985,13 @@ const SCREENS = runtimeSetting({
13564
13985
  }
13565
13986
  },
13566
13987
  {
13567
- "id": "himi_portfolio_project.empty",
13988
+ "id": "himi_portfolio_project.not_found",
13568
13989
  "body": {
13569
13990
  "package": "himalaya",
13570
13991
  "type": "VStack",
13571
13992
  "props": {
13572
- "spacing": 8,
13573
- "alignment": "leading",
13993
+ "spacing": 10,
13994
+ "alignment": "center",
13574
13995
  "children": [
13575
13996
  {
13576
13997
  "id": "",
@@ -13587,27 +14008,38 @@ const SCREENS = runtimeSetting({
13587
14008
  "accessibilityRole": "decorative"
13588
14009
  }
13589
14010
  },
14011
+ {
14012
+ "id": "himi_portfolio_project.not_found_title",
14013
+ "body": {
14014
+ "package": "himalaya",
14015
+ "type": "Text",
14016
+ "props": {
14017
+ "text": "Project not found",
14018
+ "style": "title3"
14019
+ }
14020
+ }
14021
+ },
13590
14022
  {
13591
14023
  "id": "",
13592
14024
  "body": {
13593
14025
  "package": "himalaya",
13594
14026
  "type": "Text",
13595
14027
  "props": {
13596
- "text": "$service:himiBrandedPortfolioProject.emptyText",
14028
+ "text": "This project is no longer available.",
13597
14029
  "style": "body",
13598
- "color": "textSecondary",
13599
- "collapseWhenEmpty": true
14030
+ "color": "textSecondary"
13600
14031
  }
13601
14032
  }
13602
14033
  },
13603
14034
  {
13604
- "id": "himi_portfolio_project.back",
14035
+ "id": "himi_portfolio_project.not_found_back",
13605
14036
  "body": {
13606
14037
  "package": "himalaya",
13607
14038
  "type": "Button",
13608
14039
  "props": {
13609
14040
  "title": "Back to projects",
13610
- "style": "secondary",
14041
+ "style": "primary",
14042
+ "fullWidth": true,
13611
14043
  "action": {
13612
14044
  "actionId": "himi.open",
13613
14045
  "params": {
@@ -13634,10 +14066,11 @@ const SCREENS = runtimeSetting({
13634
14066
  "padding": {
13635
14067
  "leading": 16,
13636
14068
  "trailing": 16,
13637
- "top": 16,
13638
- "bottom": 16
14069
+ "top": 20,
14070
+ "bottom": 20
13639
14071
  },
13640
- "hiddenPath": "$service:himiBrandedPortfolioProject.noEmpty"
14072
+ "fillMaxWidth": true,
14073
+ "hiddenPath": "$service:himiBrandedPortfolioProject.hideNotFound"
13641
14074
  }
13642
14075
  }
13643
14076
  ]
@@ -13699,65 +14132,172 @@ const SCREENS = runtimeSetting({
13699
14132
  }
13700
14133
  },
13701
14134
  {
13702
- "id": "",
13703
- "body": {
13704
- "package": "himalaya",
13705
- "type": "Text",
13706
- "props": {
13707
- "text": "$service:spacesCreatePost.hint",
13708
- "style": "footnote",
13709
- "color": "textSecondary",
13710
- "collapseWhenEmpty": true
13711
- }
13712
- }
13713
- },
13714
- {
13715
- "id": "himi_create_post.title_field",
14135
+ "id": "himi_create_post.member_gate",
13716
14136
  "body": {
13717
14137
  "package": "himalaya",
13718
- "type": "TextField",
14138
+ "type": "VStack",
13719
14139
  "props": {
13720
- "placeholder": "Title",
13721
- "value": "",
13722
- "submitLabel": "next",
13723
- "onSubmit": {
13724
- "actionId": "tier5.spacesCreatePost.focusBody"
13725
- },
13726
- "onChange": {
13727
- "actionId": "tier5.spacesCreatePost.setTitle"
13728
- }
14140
+ "spacing": 10,
14141
+ "alignment": "center",
14142
+ "children": [
14143
+ {
14144
+ "id": "",
14145
+ "body": {
14146
+ "package": "himalaya",
14147
+ "type": "Icon",
14148
+ "props": {
14149
+ "name": "person",
14150
+ "size": 28,
14151
+ "tint": "accentPrimary"
14152
+ }
14153
+ },
14154
+ "modifiers": {
14155
+ "accessibilityRole": "decorative"
14156
+ }
14157
+ },
14158
+ {
14159
+ "id": "himi_create_post.member_gate_title",
14160
+ "body": {
14161
+ "package": "himalaya",
14162
+ "type": "Text",
14163
+ "props": {
14164
+ "text": "Sign in to post",
14165
+ "style": "bodyEmphasis"
14166
+ }
14167
+ }
14168
+ },
14169
+ {
14170
+ "id": "",
14171
+ "body": {
14172
+ "package": "himalaya",
14173
+ "type": "Text",
14174
+ "props": {
14175
+ "text": "Sign in to share something with the community.",
14176
+ "style": "footnote",
14177
+ "color": "textSecondary"
14178
+ }
14179
+ }
14180
+ },
14181
+ {
14182
+ "id": "himi_create_post.member_gate_signin",
14183
+ "body": {
14184
+ "package": "himalaya",
14185
+ "type": "Button",
14186
+ "props": {
14187
+ "title": "Sign in",
14188
+ "style": "primary",
14189
+ "fullWidth": true,
14190
+ "action": {
14191
+ "actionId": "himi.open",
14192
+ "params": {
14193
+ "screenId": "himi_account",
14194
+ "intent": "post",
14195
+ "returnScreenId": "himi_create_post"
14196
+ }
14197
+ }
14198
+ }
14199
+ }
14200
+ }
14201
+ ]
13729
14202
  }
13730
- }
13731
- },
13732
- {
13733
- "id": "himi_create_post.body_field",
13734
- "body": {
13735
- "package": "himalaya",
13736
- "type": "TextField",
13737
- "props": {
13738
- "placeholder": "Write something…",
13739
- "value": "",
13740
- "multilineMaxLines": 6,
13741
- "focusPath": "$service:spacesCreatePost.bodyFocus",
13742
- "onChange": {
13743
- "actionId": "tier5.spacesCreatePost.setBody"
14203
+ },
14204
+ "modifiers": {
14205
+ "background": {
14206
+ "token": "surfaceElevated"
14207
+ },
14208
+ "border": {
14209
+ "width": 1,
14210
+ "color": {
14211
+ "token": "border"
13744
14212
  }
13745
- }
14213
+ },
14214
+ "cornerRadius": 16,
14215
+ "padding": {
14216
+ "leading": 16,
14217
+ "trailing": 16,
14218
+ "top": 20,
14219
+ "bottom": 20
14220
+ },
14221
+ "fillMaxWidth": true,
14222
+ "hiddenPath": "$service:spacesCreatePost.noSignIn"
13746
14223
  }
13747
14224
  },
13748
14225
  {
13749
- "id": "himi_create_post.submit",
14226
+ "id": "",
13750
14227
  "body": {
13751
14228
  "package": "himalaya",
13752
- "type": "Button",
14229
+ "type": "VStack",
13753
14230
  "props": {
13754
- "title": "Post",
13755
- "style": "primary",
13756
- "fullWidth": true,
13757
- "action": {
13758
- "actionId": "tier5.spacesCreatePost.submit"
13759
- }
14231
+ "spacing": 16,
14232
+ "alignment": "leading",
14233
+ "children": [
14234
+ {
14235
+ "id": "",
14236
+ "body": {
14237
+ "package": "himalaya",
14238
+ "type": "Text",
14239
+ "props": {
14240
+ "text": "$service:spacesCreatePost.hint",
14241
+ "style": "footnote",
14242
+ "color": "textSecondary",
14243
+ "collapseWhenEmpty": true
14244
+ }
14245
+ }
14246
+ },
14247
+ {
14248
+ "id": "himi_create_post.title_field",
14249
+ "body": {
14250
+ "package": "himalaya",
14251
+ "type": "TextField",
14252
+ "props": {
14253
+ "placeholder": "Title",
14254
+ "value": "",
14255
+ "submitLabel": "next",
14256
+ "onSubmit": {
14257
+ "actionId": "tier5.spacesCreatePost.focusBody"
14258
+ },
14259
+ "onChange": {
14260
+ "actionId": "tier5.spacesCreatePost.setTitle"
14261
+ }
14262
+ }
14263
+ }
14264
+ },
14265
+ {
14266
+ "id": "himi_create_post.body_field",
14267
+ "body": {
14268
+ "package": "himalaya",
14269
+ "type": "TextField",
14270
+ "props": {
14271
+ "placeholder": "Write something…",
14272
+ "value": "",
14273
+ "multilineMaxLines": 6,
14274
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
14275
+ "onChange": {
14276
+ "actionId": "tier5.spacesCreatePost.setBody"
14277
+ }
14278
+ }
14279
+ }
14280
+ },
14281
+ {
14282
+ "id": "himi_create_post.submit",
14283
+ "body": {
14284
+ "package": "himalaya",
14285
+ "type": "Button",
14286
+ "props": {
14287
+ "title": "Post",
14288
+ "style": "primary",
14289
+ "fullWidth": true,
14290
+ "action": {
14291
+ "actionId": "tier5.spacesCreatePost.submit"
14292
+ }
14293
+ }
14294
+ }
14295
+ }
14296
+ ]
13760
14297
  }
14298
+ },
14299
+ "modifiers": {
14300
+ "hiddenPath": "$service:spacesCreatePost.hideForm"
13761
14301
  }
13762
14302
  }
13763
14303
  ]
@@ -13772,6 +14312,9 @@ const SCREENS = runtimeSetting({
13772
14312
  "trailing": 16,
13773
14313
  "top": 18,
13774
14314
  "bottom": 28
14315
+ },
14316
+ "onAppear": {
14317
+ "actionId": "tier5.spacesCreatePost.load"
13775
14318
  }
13776
14319
  }
13777
14320
  },
@@ -13853,6 +14396,9 @@ const SCREENS = runtimeSetting({
13853
14396
  },
13854
14397
  "value": "$service:himiEvents.collection.query"
13855
14398
  }
14399
+ },
14400
+ "modifiers": {
14401
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
13856
14402
  }
13857
14403
  },
13858
14404
  {
@@ -14109,6 +14655,7 @@ const SCREENS = runtimeSetting({
14109
14655
  }
14110
14656
  },
14111
14657
  "modifiers": {
14658
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
14112
14659
  "padding": {
14113
14660
  "bottom": 12
14114
14661
  }
@@ -14146,35 +14693,53 @@ const SCREENS = runtimeSetting({
14146
14693
  "actionId": "tier5.himiEvents.collectionFilter"
14147
14694
  }
14148
14695
  }
14696
+ },
14697
+ "modifiers": {
14698
+ "weight": 1
14149
14699
  }
14150
14700
  },
14151
14701
  {
14152
- "id": "",
14153
- "body": {
14154
- "package": "himalaya",
14155
- "type": "Spacer",
14156
- "props": {}
14157
- }
14158
- },
14159
- {
14160
- "id": "",
14702
+ "id": "himi_events.list.collection.clear",
14161
14703
  "body": {
14162
14704
  "package": "himalaya",
14163
- "type": "Text",
14705
+ "type": "Button",
14164
14706
  "props": {
14165
- "text": "$service:himiEvents.collection.summary",
14166
- "style": "caption",
14167
- "color": "textSecondary"
14707
+ "title": "Clear",
14708
+ "style": "plain",
14709
+ "fullWidth": false,
14710
+ "action": {
14711
+ "actionId": "tier5.himiEvents.collectionClear"
14712
+ }
14168
14713
  }
14714
+ },
14715
+ "modifiers": {
14716
+ "hiddenPath": "$service:himiEvents.collection.noActiveCriteria"
14169
14717
  }
14170
14718
  }
14171
14719
  ]
14172
14720
  }
14173
14721
  },
14174
14722
  "modifiers": {
14175
- "padding": {
14176
- "bottom": 12
14177
- }
14723
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
14724
+ "padding": {
14725
+ "bottom": 12
14726
+ }
14727
+ }
14728
+ },
14729
+ {
14730
+ "id": "himi_events.list.collection.summary",
14731
+ "body": {
14732
+ "package": "himalaya",
14733
+ "type": "Text",
14734
+ "props": {
14735
+ "text": "$service:himiEvents.collection.summary",
14736
+ "style": "caption",
14737
+ "color": "textSecondary",
14738
+ "maxLines": 1
14739
+ }
14740
+ },
14741
+ "modifiers": {
14742
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
14178
14743
  }
14179
14744
  },
14180
14745
  {
@@ -14473,6 +15038,25 @@ const SCREENS = runtimeSetting({
14473
15038
  "hiddenPath": "$service:himiEvents.collection.noSelection"
14474
15039
  }
14475
15040
  },
15041
+ {
15042
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
15043
+ "body": {
15044
+ "package": "himalaya",
15045
+ "type": "Button",
15046
+ "props": {
15047
+ "title": "Register",
15048
+ "style": "secondary",
15049
+ "fullWidth": false,
15050
+ "action": {
15051
+ "actionId": "himi.open",
15052
+ "params": {
15053
+ "screenId": "$item.detailScreenId",
15054
+ "id": "$item.id"
15055
+ }
15056
+ }
15057
+ }
15058
+ }
15059
+ },
14476
15060
  {
14477
15061
  "id": "himi_events.list.collection.list.$item.collectionId/actions",
14478
15062
  "body": {
@@ -14802,6 +15386,25 @@ const SCREENS = runtimeSetting({
14802
15386
  "hiddenPath": "$service:himiEvents.collection.noSelection"
14803
15387
  }
14804
15388
  },
15389
+ {
15390
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
15391
+ "body": {
15392
+ "package": "himalaya",
15393
+ "type": "Button",
15394
+ "props": {
15395
+ "title": "Register",
15396
+ "style": "secondary",
15397
+ "fullWidth": false,
15398
+ "action": {
15399
+ "actionId": "himi.open",
15400
+ "params": {
15401
+ "screenId": "$item.detailScreenId",
15402
+ "id": "$item.id"
15403
+ }
15404
+ }
15405
+ }
15406
+ }
15407
+ },
14805
15408
  {
14806
15409
  "id": "",
14807
15410
  "body": {
@@ -15124,6 +15727,25 @@ const SCREENS = runtimeSetting({
15124
15727
  "hiddenPath": "$service:himiEvents.collection.noSelection"
15125
15728
  }
15126
15729
  },
15730
+ {
15731
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
15732
+ "body": {
15733
+ "package": "himalaya",
15734
+ "type": "Button",
15735
+ "props": {
15736
+ "title": "Register",
15737
+ "style": "secondary",
15738
+ "fullWidth": false,
15739
+ "action": {
15740
+ "actionId": "himi.open",
15741
+ "params": {
15742
+ "screenId": "$item.detailScreenId",
15743
+ "id": "$item.id"
15744
+ }
15745
+ }
15746
+ }
15747
+ }
15748
+ },
15127
15749
  {
15128
15750
  "id": "himi_events.list.collection.compact-list.$item.collectionId/actions",
15129
15751
  "body": {
@@ -15453,6 +16075,25 @@ const SCREENS = runtimeSetting({
15453
16075
  "hiddenPath": "$service:himiEvents.collection.noSelection"
15454
16076
  }
15455
16077
  },
16078
+ {
16079
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
16080
+ "body": {
16081
+ "package": "himalaya",
16082
+ "type": "Button",
16083
+ "props": {
16084
+ "title": "Register",
16085
+ "style": "secondary",
16086
+ "fullWidth": false,
16087
+ "action": {
16088
+ "actionId": "himi.open",
16089
+ "params": {
16090
+ "screenId": "$item.detailScreenId",
16091
+ "id": "$item.id"
16092
+ }
16093
+ }
16094
+ }
16095
+ }
16096
+ },
15456
16097
  {
15457
16098
  "id": "",
15458
16099
  "body": {
@@ -16139,6 +16780,25 @@ const SCREENS = runtimeSetting({
16139
16780
  "hiddenPath": "$service:himiEvents.collection.noSelection"
16140
16781
  }
16141
16782
  },
16783
+ {
16784
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
16785
+ "body": {
16786
+ "package": "himalaya",
16787
+ "type": "Button",
16788
+ "props": {
16789
+ "title": "Register",
16790
+ "style": "secondary",
16791
+ "fullWidth": false,
16792
+ "action": {
16793
+ "actionId": "himi.open",
16794
+ "params": {
16795
+ "screenId": "$item.detailScreenId",
16796
+ "id": "$item.id"
16797
+ }
16798
+ }
16799
+ }
16800
+ }
16801
+ },
16142
16802
  {
16143
16803
  "id": "",
16144
16804
  "body": {
@@ -17040,59 +17700,9 @@ const SCREENS = runtimeSetting({
17040
17700
  },
17041
17701
  "value": "$service:himiBlogFeed.collection.query"
17042
17702
  }
17043
- }
17044
- },
17045
- {
17046
- "id": "himi_blog.categories",
17047
- "body": {
17048
- "package": "himalaya",
17049
- "type": "Grid",
17050
- "props": {
17051
- "columns": 2,
17052
- "spacing": 8,
17053
- "itemsPath": "$service:himiBlogFeed.categories",
17054
- "items": [
17055
- {
17056
- "id": "",
17057
- "body": {
17058
- "package": "himalaya",
17059
- "type": "Text",
17060
- "props": {
17061
- "text": "$item.label",
17062
- "style": "footnote",
17063
- "color": "textPrimary",
17064
- "maxLines": 1
17065
- }
17066
- },
17067
- "modifiers": {
17068
- "background": {
17069
- "token": "accentSurface"
17070
- },
17071
- "border": {
17072
- "width": 1,
17073
- "color": {
17074
- "token": "border"
17075
- }
17076
- },
17077
- "cornerRadius": 8,
17078
- "padding": {
17079
- "leading": 12,
17080
- "trailing": 12,
17081
- "top": 9,
17082
- "bottom": 9
17083
- },
17084
- "onTap": {
17085
- "actionId": "tier5.himiBlogFeed.selectCategory",
17086
- "params": {
17087
- "categoryId": "$item.id"
17088
- }
17089
- },
17090
- "pressFeedback": "scale",
17091
- "haptic": "light"
17092
- }
17093
- }
17094
- ]
17095
- }
17703
+ },
17704
+ "modifiers": {
17705
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
17096
17706
  }
17097
17707
  },
17098
17708
  {
@@ -17287,40 +17897,6 @@ const SCREENS = runtimeSetting({
17287
17897
  "spacing": 12,
17288
17898
  "alignment": "leading",
17289
17899
  "children": [
17290
- {
17291
- "id": "",
17292
- "body": {
17293
- "package": "himalaya",
17294
- "type": "HStack",
17295
- "props": {
17296
- "spacing": 8,
17297
- "children": [
17298
- {
17299
- "id": "",
17300
- "body": {
17301
- "package": "himalaya",
17302
- "type": "Spacer",
17303
- "props": {}
17304
- }
17305
- },
17306
- {
17307
- "id": "himi_blog.clear",
17308
- "body": {
17309
- "package": "himalaya",
17310
- "type": "Button",
17311
- "props": {
17312
- "title": "Clear",
17313
- "style": "secondary",
17314
- "action": {
17315
- "actionId": "tier5.himiBlogFeed.clearFilters"
17316
- }
17317
- }
17318
- }
17319
- }
17320
- ]
17321
- }
17322
- }
17323
- },
17324
17900
  {
17325
17901
  "id": "himi_blog.list.collection.toolbar",
17326
17902
  "body": {
@@ -17383,6 +17959,7 @@ const SCREENS = runtimeSetting({
17383
17959
  }
17384
17960
  },
17385
17961
  "modifiers": {
17962
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
17386
17963
  "padding": {
17387
17964
  "bottom": 12
17388
17965
  }
@@ -17420,37 +17997,55 @@ const SCREENS = runtimeSetting({
17420
17997
  "actionId": "tier5.himiBlogFeed.collectionFilter"
17421
17998
  }
17422
17999
  }
18000
+ },
18001
+ "modifiers": {
18002
+ "weight": 1
17423
18003
  }
17424
18004
  },
17425
18005
  {
17426
- "id": "",
17427
- "body": {
17428
- "package": "himalaya",
17429
- "type": "Spacer",
17430
- "props": {}
17431
- }
17432
- },
17433
- {
17434
- "id": "",
18006
+ "id": "himi_blog.list.collection.clear",
17435
18007
  "body": {
17436
18008
  "package": "himalaya",
17437
- "type": "Text",
18009
+ "type": "Button",
17438
18010
  "props": {
17439
- "text": "$service:himiBlogFeed.collection.summary",
17440
- "style": "caption",
17441
- "color": "textSecondary"
18011
+ "title": "Clear",
18012
+ "style": "plain",
18013
+ "fullWidth": false,
18014
+ "action": {
18015
+ "actionId": "tier5.himiBlogFeed.collectionClear"
18016
+ }
17442
18017
  }
18018
+ },
18019
+ "modifiers": {
18020
+ "hiddenPath": "$service:himiBlogFeed.collection.noActiveCriteria"
17443
18021
  }
17444
18022
  }
17445
18023
  ]
17446
18024
  }
17447
18025
  },
17448
18026
  "modifiers": {
18027
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
17449
18028
  "padding": {
17450
18029
  "bottom": 12
17451
18030
  }
17452
18031
  }
17453
18032
  },
18033
+ {
18034
+ "id": "himi_blog.list.collection.summary",
18035
+ "body": {
18036
+ "package": "himalaya",
18037
+ "type": "Text",
18038
+ "props": {
18039
+ "text": "$service:himiBlogFeed.collection.summary",
18040
+ "style": "caption",
18041
+ "color": "textSecondary",
18042
+ "maxLines": 1
18043
+ }
18044
+ },
18045
+ "modifiers": {
18046
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
18047
+ }
18048
+ },
17454
18049
  {
17455
18050
  "id": "",
17456
18051
  "body": {
@@ -21527,26 +22122,6 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
21527
22122
  }
21528
22123
  }
21529
22124
  },
21530
- {
21531
- "id": "himi_product.add_to_cart",
21532
- "body": {
21533
- "package": "himalaya",
21534
- "type": "Button",
21535
- "props": {
21536
- "title": "Add to cart",
21537
- "style": "primary",
21538
- "fullWidth": true,
21539
- "action": {
21540
- "actionId": "tier5.himiStoreProduct.addToCart"
21541
- }
21542
- }
21543
- },
21544
- "modifiers": {
21545
- "cornerRadius": 8,
21546
- "pressFeedback": "scale",
21547
- "haptic": "medium"
21548
- }
21549
- },
21550
22125
  {
21551
22126
  "id": "himi_product.save",
21552
22127
  "body": {
@@ -21729,6 +22304,50 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
21729
22304
  "input": {
21730
22305
  "id": "__HIMI_ID__"
21731
22306
  },
22307
+ "stickyFooter": {
22308
+ "id": "",
22309
+ "body": {
22310
+ "package": "himalaya",
22311
+ "type": "VStack",
22312
+ "props": {
22313
+ "spacing": 0,
22314
+ "children": [
22315
+ {
22316
+ "id": "himi_product.add_to_cart",
22317
+ "body": {
22318
+ "package": "himalaya",
22319
+ "type": "Button",
22320
+ "props": {
22321
+ "title": "Add to cart",
22322
+ "style": "primary",
22323
+ "fullWidth": true,
22324
+ "action": {
22325
+ "actionId": "tier5.himiStoreProduct.addToCart"
22326
+ }
22327
+ }
22328
+ },
22329
+ "modifiers": {
22330
+ "cornerRadius": 8,
22331
+ "pressFeedback": "scale",
22332
+ "haptic": "medium"
22333
+ }
22334
+ }
22335
+ ]
22336
+ }
22337
+ },
22338
+ "modifiers": {
22339
+ "background": {
22340
+ "token": "surfacePrimary"
22341
+ },
22342
+ "padding": {
22343
+ "leading": 16,
22344
+ "trailing": 16,
22345
+ "top": 8,
22346
+ "bottom": 8
22347
+ },
22348
+ "hiddenPath": "$service:himiStoreProduct.isLoading"
22349
+ }
22350
+ },
21732
22351
  "topBar": {
21733
22352
  "actions": [
21734
22353
  {