@wix/himalaya-cli 0.1222.0 → 0.1224.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 (58) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/display.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +3 -1
  3. package/dist/cli.mjs +33 -24
  4. package/dist/preview-assets.generated.bin +0 -0
  5. package/guides/sdk-reference.json +1 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/dev/index.ts +5 -1
  8. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +15 -2
  9. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  10. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +15 -2
  11. package/templates/branded-lite/dev/index.ts +520 -274
  12. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +15 -2
  13. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  14. package/templates/community-club/dev/index.ts +518 -272
  15. package/templates/community-club/tier5-src/_shared/collection-contract.ts +15 -2
  16. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  17. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +15 -2
  18. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  19. package/templates/events-meetups/dev/index.ts +518 -272
  20. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +15 -2
  21. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  22. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +15 -2
  23. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  24. package/templates/gym-fitness/dev/index.ts +520 -274
  25. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +15 -2
  26. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  27. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +15 -2
  28. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  29. package/templates/nonprofit-cause/dev/index.ts +518 -272
  30. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +15 -2
  31. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  32. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +15 -2
  33. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  34. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +15 -2
  35. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +1 -0
  36. package/templates/podcast-creator/dev/index.ts +518 -272
  37. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +15 -2
  38. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  39. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +15 -2
  40. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  41. package/templates/portfolio-creative/dev/index.ts +520 -274
  42. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +15 -2
  43. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  44. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +15 -2
  45. package/templates/restaurant/dev/index.ts +518 -272
  46. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +15 -2
  47. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  48. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +15 -2
  49. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  50. package/templates/retail-store/dev/index.ts +5 -1
  51. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +15 -2
  52. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  53. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +15 -2
  54. package/templates/yoga-studio/dev/index.ts +518 -272
  55. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +15 -2
  56. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  57. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +15 -2
  58. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
@@ -6020,6 +6020,7 @@ const SCREENS = runtimeSetting({
6020
6020
  "props": {
6021
6021
  "id": "title",
6022
6022
  "label": "Title",
6023
+ "required": true,
6023
6024
  "kind": "text",
6024
6025
  "text": {
6025
6026
  "placeholder": "Add a title",
@@ -6067,7 +6068,10 @@ const SCREENS = runtimeSetting({
6067
6068
  "style": "primary",
6068
6069
  "fullWidth": true,
6069
6070
  "action": {
6070
- "actionId": "tier5.spacesCreatePost.submit"
6071
+ "actionId": "tier5.spacesCreatePost.submit",
6072
+ "params": {
6073
+ "postScreenId": "himi_blog_post"
6074
+ }
6071
6075
  }
6072
6076
  }
6073
6077
  }
@@ -6885,21 +6889,58 @@ const SCREENS = runtimeSetting({
6885
6889
  }
6886
6890
  },
6887
6891
  {
6888
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
6892
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
6889
6893
  "body": {
6890
6894
  "package": "himalaya",
6891
- "type": "Button",
6895
+ "type": "HStack",
6892
6896
  "props": {
6893
- "title": "Register",
6894
- "style": "secondary",
6895
- "fullWidth": false,
6896
- "action": {
6897
- "actionId": "himi.open",
6898
- "params": {
6899
- "screenId": "$item.detailScreenId",
6900
- "id": "$item.id"
6897
+ "spacing": 0,
6898
+ "children": [
6899
+ {
6900
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
6901
+ "body": {
6902
+ "package": "himalaya",
6903
+ "type": "Button",
6904
+ "props": {
6905
+ "title": "Register",
6906
+ "style": "secondary",
6907
+ "fullWidth": false,
6908
+ "action": {
6909
+ "actionId": "himi.open",
6910
+ "params": {
6911
+ "screenId": "$item.detailScreenId",
6912
+ "id": "$item.id"
6913
+ }
6914
+ }
6915
+ }
6916
+ },
6917
+ "modifiers": {
6918
+ "hiddenPath": "$item.collectionEnded"
6919
+ }
6920
+ },
6921
+ {
6922
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
6923
+ "body": {
6924
+ "package": "himalaya",
6925
+ "type": "Button",
6926
+ "props": {
6927
+ "title": "View details",
6928
+ "style": "secondary",
6929
+ "fullWidth": false,
6930
+ "action": {
6931
+ "actionId": "himi.open",
6932
+ "params": {
6933
+ "screenId": "$item.detailScreenId",
6934
+ "id": "$item.id"
6935
+ }
6936
+ }
6937
+ }
6938
+ },
6939
+ "modifiers": {
6940
+ "hiddenPath": "$item.collectionNotEnded"
6941
+ }
6901
6942
  }
6902
- }
6943
+ ]
6903
6944
  }
6904
6945
  }
6905
6946
  },
@@ -7207,125 +7248,181 @@ const SCREENS = runtimeSetting({
7207
7248
  "id": "",
7208
7249
  "body": {
7209
7250
  "package": "himalaya",
7210
- "type": "HStack",
7251
+ "type": "VStack",
7211
7252
  "props": {
7212
- "spacing": 8,
7253
+ "spacing": 0,
7254
+ "alignment": "leading",
7213
7255
  "children": [
7214
7256
  {
7215
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
7257
+ "id": "",
7216
7258
  "body": {
7217
7259
  "package": "himalaya",
7218
- "type": "Button",
7260
+ "type": "VStack",
7219
7261
  "props": {
7220
- "title": "$item.collectionSelectLabel",
7221
- "style": "plain",
7222
- "fullWidth": false,
7223
- "action": {
7224
- "actionId": "tier5.himiEvents.collectionSelect",
7225
- "params": {
7226
- "id": "$item.collectionId"
7262
+ "spacing": 0,
7263
+ "children": [
7264
+ {
7265
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
7266
+ "body": {
7267
+ "package": "himalaya",
7268
+ "type": "Button",
7269
+ "props": {
7270
+ "title": "View details",
7271
+ "style": "secondary",
7272
+ "fullWidth": true,
7273
+ "action": {
7274
+ "actionId": "himi.open",
7275
+ "params": {
7276
+ "screenId": "$item.detailScreenId",
7277
+ "id": "$item.id"
7278
+ }
7279
+ }
7280
+ }
7281
+ },
7282
+ "modifiers": {
7283
+ "hiddenPath": "$item.collectionNotEnded",
7284
+ "padding": {
7285
+ "bottom": 8
7286
+ }
7287
+ }
7227
7288
  }
7228
- }
7289
+ ]
7229
7290
  }
7230
7291
  },
7231
7292
  "modifiers": {
7232
- "hiddenPath": "$service:himiEvents.collection.noSelection"
7233
- }
7234
- },
7235
- {
7236
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
7237
- "body": {
7238
- "package": "himalaya",
7239
- "type": "Button",
7240
- "props": {
7241
- "title": "Register",
7242
- "style": "secondary",
7243
- "fullWidth": false,
7244
- "action": {
7245
- "actionId": "himi.open",
7246
- "params": {
7247
- "screenId": "$item.detailScreenId",
7248
- "id": "$item.id"
7249
- }
7250
- }
7251
- }
7293
+ "hiddenPath": "$item.collectionNoIdentity"
7252
7294
  }
7253
7295
  },
7254
7296
  {
7255
7297
  "id": "",
7256
7298
  "body": {
7257
7299
  "package": "himalaya",
7258
- "type": "Spacer",
7259
- "props": {}
7260
- }
7261
- },
7262
- {
7263
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
7264
- "body": {
7265
- "package": "himalaya",
7266
- "type": "Menu",
7300
+ "type": "HStack",
7267
7301
  "props": {
7268
- "style": "dropdown",
7269
- "anchor": {
7270
- "id": "",
7271
- "body": {
7272
- "package": "himalaya",
7273
- "type": "Icon",
7274
- "props": {
7275
- "name": "ellipsis",
7276
- "size": 20
7302
+ "spacing": 8,
7303
+ "children": [
7304
+ {
7305
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
7306
+ "body": {
7307
+ "package": "himalaya",
7308
+ "type": "Button",
7309
+ "props": {
7310
+ "title": "$item.collectionSelectLabel",
7311
+ "style": "plain",
7312
+ "fullWidth": false,
7313
+ "action": {
7314
+ "actionId": "tier5.himiEvents.collectionSelect",
7315
+ "params": {
7316
+ "id": "$item.collectionId"
7317
+ }
7318
+ }
7319
+ }
7320
+ },
7321
+ "modifiers": {
7322
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
7277
7323
  }
7278
7324
  },
7279
- "modifiers": {
7280
- "width": 44,
7281
- "height": 44,
7282
- "accessibilityLabel": "Item actions"
7283
- }
7284
- },
7285
- "items": [
7286
7325
  {
7287
- "id": "preview",
7288
- "label": "Quick preview",
7289
- "icon": "search",
7290
- "action": {
7291
- "actionId": "tier5.himiEvents.collectionPreview",
7292
- "params": {
7293
- "id": "$item.collectionId"
7326
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
7327
+ "body": {
7328
+ "package": "himalaya",
7329
+ "type": "Button",
7330
+ "props": {
7331
+ "title": "Register",
7332
+ "style": "secondary",
7333
+ "fullWidth": false,
7334
+ "action": {
7335
+ "actionId": "himi.open",
7336
+ "params": {
7337
+ "screenId": "$item.detailScreenId",
7338
+ "id": "$item.id"
7339
+ }
7340
+ }
7294
7341
  }
7342
+ },
7343
+ "modifiers": {
7344
+ "hiddenPath": "$item.collectionEnded"
7295
7345
  }
7296
7346
  },
7297
7347
  {
7298
- "id": "save",
7299
- "label": "$item.collectionSaveLabel",
7300
- "icon": "bookmark",
7301
- "action": {
7302
- "actionId": "tier5.himiEvents.collectionSave",
7303
- "params": {
7304
- "id": "$item.collectionId"
7305
- }
7348
+ "id": "",
7349
+ "body": {
7350
+ "package": "himalaya",
7351
+ "type": "Spacer",
7352
+ "props": {}
7306
7353
  }
7307
7354
  },
7308
7355
  {
7309
- "id": "open",
7310
- "label": "Open details",
7311
- "icon": "chevron_right",
7312
- "action": {
7313
- "actionId": "himi.open",
7314
- "params": {
7315
- "screenId": "$item.detailScreenId",
7316
- "id": "$item.id"
7356
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
7357
+ "body": {
7358
+ "package": "himalaya",
7359
+ "type": "Menu",
7360
+ "props": {
7361
+ "style": "dropdown",
7362
+ "anchor": {
7363
+ "id": "",
7364
+ "body": {
7365
+ "package": "himalaya",
7366
+ "type": "Icon",
7367
+ "props": {
7368
+ "name": "ellipsis",
7369
+ "size": 20
7370
+ }
7371
+ },
7372
+ "modifiers": {
7373
+ "width": 44,
7374
+ "height": 44,
7375
+ "accessibilityLabel": "Item actions"
7376
+ }
7377
+ },
7378
+ "items": [
7379
+ {
7380
+ "id": "preview",
7381
+ "label": "Quick preview",
7382
+ "icon": "search",
7383
+ "action": {
7384
+ "actionId": "tier5.himiEvents.collectionPreview",
7385
+ "params": {
7386
+ "id": "$item.collectionId"
7387
+ }
7388
+ }
7389
+ },
7390
+ {
7391
+ "id": "save",
7392
+ "label": "$item.collectionSaveLabel",
7393
+ "icon": "bookmark",
7394
+ "action": {
7395
+ "actionId": "tier5.himiEvents.collectionSave",
7396
+ "params": {
7397
+ "id": "$item.collectionId"
7398
+ }
7399
+ }
7400
+ },
7401
+ {
7402
+ "id": "open",
7403
+ "label": "Open details",
7404
+ "icon": "chevron_right",
7405
+ "action": {
7406
+ "actionId": "himi.open",
7407
+ "params": {
7408
+ "screenId": "$item.detailScreenId",
7409
+ "id": "$item.id"
7410
+ }
7411
+ }
7412
+ }
7413
+ ]
7317
7414
  }
7318
7415
  }
7319
7416
  }
7320
7417
  ]
7321
7418
  }
7419
+ },
7420
+ "modifiers": {
7421
+ "hiddenPath": "$item.collectionNoIdentity"
7322
7422
  }
7323
7423
  }
7324
7424
  ]
7325
7425
  }
7326
- },
7327
- "modifiers": {
7328
- "hiddenPath": "$item.collectionNoIdentity"
7329
7426
  }
7330
7427
  }
7331
7428
  ]
@@ -7560,21 +7657,58 @@ const SCREENS = runtimeSetting({
7560
7657
  }
7561
7658
  },
7562
7659
  {
7563
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
7660
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
7564
7661
  "body": {
7565
7662
  "package": "himalaya",
7566
- "type": "Button",
7663
+ "type": "HStack",
7567
7664
  "props": {
7568
- "title": "Register",
7569
- "style": "secondary",
7570
- "fullWidth": false,
7571
- "action": {
7572
- "actionId": "himi.open",
7573
- "params": {
7574
- "screenId": "$item.detailScreenId",
7575
- "id": "$item.id"
7665
+ "spacing": 0,
7666
+ "children": [
7667
+ {
7668
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
7669
+ "body": {
7670
+ "package": "himalaya",
7671
+ "type": "Button",
7672
+ "props": {
7673
+ "title": "Register",
7674
+ "style": "secondary",
7675
+ "fullWidth": false,
7676
+ "action": {
7677
+ "actionId": "himi.open",
7678
+ "params": {
7679
+ "screenId": "$item.detailScreenId",
7680
+ "id": "$item.id"
7681
+ }
7682
+ }
7683
+ }
7684
+ },
7685
+ "modifiers": {
7686
+ "hiddenPath": "$item.collectionEnded"
7687
+ }
7688
+ },
7689
+ {
7690
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
7691
+ "body": {
7692
+ "package": "himalaya",
7693
+ "type": "Button",
7694
+ "props": {
7695
+ "title": "View details",
7696
+ "style": "secondary",
7697
+ "fullWidth": false,
7698
+ "action": {
7699
+ "actionId": "himi.open",
7700
+ "params": {
7701
+ "screenId": "$item.detailScreenId",
7702
+ "id": "$item.id"
7703
+ }
7704
+ }
7705
+ }
7706
+ },
7707
+ "modifiers": {
7708
+ "hiddenPath": "$item.collectionNotEnded"
7709
+ }
7576
7710
  }
7577
- }
7711
+ ]
7578
7712
  }
7579
7713
  }
7580
7714
  },
@@ -7882,125 +8016,181 @@ const SCREENS = runtimeSetting({
7882
8016
  "id": "",
7883
8017
  "body": {
7884
8018
  "package": "himalaya",
7885
- "type": "HStack",
8019
+ "type": "VStack",
7886
8020
  "props": {
7887
- "spacing": 8,
8021
+ "spacing": 0,
8022
+ "alignment": "leading",
7888
8023
  "children": [
7889
8024
  {
7890
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
8025
+ "id": "",
7891
8026
  "body": {
7892
8027
  "package": "himalaya",
7893
- "type": "Button",
8028
+ "type": "VStack",
7894
8029
  "props": {
7895
- "title": "$item.collectionSelectLabel",
7896
- "style": "plain",
7897
- "fullWidth": false,
7898
- "action": {
7899
- "actionId": "tier5.himiEvents.collectionSelect",
7900
- "params": {
7901
- "id": "$item.collectionId"
8030
+ "spacing": 0,
8031
+ "children": [
8032
+ {
8033
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
8034
+ "body": {
8035
+ "package": "himalaya",
8036
+ "type": "Button",
8037
+ "props": {
8038
+ "title": "View details",
8039
+ "style": "secondary",
8040
+ "fullWidth": true,
8041
+ "action": {
8042
+ "actionId": "himi.open",
8043
+ "params": {
8044
+ "screenId": "$item.detailScreenId",
8045
+ "id": "$item.id"
8046
+ }
8047
+ }
8048
+ }
8049
+ },
8050
+ "modifiers": {
8051
+ "hiddenPath": "$item.collectionNotEnded",
8052
+ "padding": {
8053
+ "bottom": 8
8054
+ }
8055
+ }
7902
8056
  }
7903
- }
8057
+ ]
7904
8058
  }
7905
8059
  },
7906
8060
  "modifiers": {
7907
- "hiddenPath": "$service:himiEvents.collection.noSelection"
7908
- }
7909
- },
7910
- {
7911
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
7912
- "body": {
7913
- "package": "himalaya",
7914
- "type": "Button",
7915
- "props": {
7916
- "title": "Register",
7917
- "style": "secondary",
7918
- "fullWidth": false,
7919
- "action": {
7920
- "actionId": "himi.open",
7921
- "params": {
7922
- "screenId": "$item.detailScreenId",
7923
- "id": "$item.id"
7924
- }
7925
- }
7926
- }
8061
+ "hiddenPath": "$item.collectionNoIdentity"
7927
8062
  }
7928
8063
  },
7929
8064
  {
7930
8065
  "id": "",
7931
8066
  "body": {
7932
8067
  "package": "himalaya",
7933
- "type": "Spacer",
7934
- "props": {}
7935
- }
7936
- },
7937
- {
7938
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
7939
- "body": {
7940
- "package": "himalaya",
7941
- "type": "Menu",
8068
+ "type": "HStack",
7942
8069
  "props": {
7943
- "style": "dropdown",
7944
- "anchor": {
7945
- "id": "",
7946
- "body": {
7947
- "package": "himalaya",
7948
- "type": "Icon",
7949
- "props": {
7950
- "name": "ellipsis",
7951
- "size": 20
8070
+ "spacing": 8,
8071
+ "children": [
8072
+ {
8073
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
8074
+ "body": {
8075
+ "package": "himalaya",
8076
+ "type": "Button",
8077
+ "props": {
8078
+ "title": "$item.collectionSelectLabel",
8079
+ "style": "plain",
8080
+ "fullWidth": false,
8081
+ "action": {
8082
+ "actionId": "tier5.himiEvents.collectionSelect",
8083
+ "params": {
8084
+ "id": "$item.collectionId"
8085
+ }
8086
+ }
8087
+ }
8088
+ },
8089
+ "modifiers": {
8090
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
7952
8091
  }
7953
8092
  },
7954
- "modifiers": {
7955
- "width": 44,
7956
- "height": 44,
7957
- "accessibilityLabel": "Item actions"
7958
- }
7959
- },
7960
- "items": [
7961
8093
  {
7962
- "id": "preview",
7963
- "label": "Quick preview",
7964
- "icon": "search",
7965
- "action": {
7966
- "actionId": "tier5.himiEvents.collectionPreview",
7967
- "params": {
7968
- "id": "$item.collectionId"
8094
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
8095
+ "body": {
8096
+ "package": "himalaya",
8097
+ "type": "Button",
8098
+ "props": {
8099
+ "title": "Register",
8100
+ "style": "secondary",
8101
+ "fullWidth": false,
8102
+ "action": {
8103
+ "actionId": "himi.open",
8104
+ "params": {
8105
+ "screenId": "$item.detailScreenId",
8106
+ "id": "$item.id"
8107
+ }
8108
+ }
7969
8109
  }
8110
+ },
8111
+ "modifiers": {
8112
+ "hiddenPath": "$item.collectionEnded"
7970
8113
  }
7971
8114
  },
7972
8115
  {
7973
- "id": "save",
7974
- "label": "$item.collectionSaveLabel",
7975
- "icon": "bookmark",
7976
- "action": {
7977
- "actionId": "tier5.himiEvents.collectionSave",
7978
- "params": {
7979
- "id": "$item.collectionId"
7980
- }
8116
+ "id": "",
8117
+ "body": {
8118
+ "package": "himalaya",
8119
+ "type": "Spacer",
8120
+ "props": {}
7981
8121
  }
7982
8122
  },
7983
8123
  {
7984
- "id": "open",
7985
- "label": "Open details",
7986
- "icon": "chevron_right",
7987
- "action": {
7988
- "actionId": "himi.open",
7989
- "params": {
7990
- "screenId": "$item.detailScreenId",
7991
- "id": "$item.id"
8124
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
8125
+ "body": {
8126
+ "package": "himalaya",
8127
+ "type": "Menu",
8128
+ "props": {
8129
+ "style": "dropdown",
8130
+ "anchor": {
8131
+ "id": "",
8132
+ "body": {
8133
+ "package": "himalaya",
8134
+ "type": "Icon",
8135
+ "props": {
8136
+ "name": "ellipsis",
8137
+ "size": 20
8138
+ }
8139
+ },
8140
+ "modifiers": {
8141
+ "width": 44,
8142
+ "height": 44,
8143
+ "accessibilityLabel": "Item actions"
8144
+ }
8145
+ },
8146
+ "items": [
8147
+ {
8148
+ "id": "preview",
8149
+ "label": "Quick preview",
8150
+ "icon": "search",
8151
+ "action": {
8152
+ "actionId": "tier5.himiEvents.collectionPreview",
8153
+ "params": {
8154
+ "id": "$item.collectionId"
8155
+ }
8156
+ }
8157
+ },
8158
+ {
8159
+ "id": "save",
8160
+ "label": "$item.collectionSaveLabel",
8161
+ "icon": "bookmark",
8162
+ "action": {
8163
+ "actionId": "tier5.himiEvents.collectionSave",
8164
+ "params": {
8165
+ "id": "$item.collectionId"
8166
+ }
8167
+ }
8168
+ },
8169
+ {
8170
+ "id": "open",
8171
+ "label": "Open details",
8172
+ "icon": "chevron_right",
8173
+ "action": {
8174
+ "actionId": "himi.open",
8175
+ "params": {
8176
+ "screenId": "$item.detailScreenId",
8177
+ "id": "$item.id"
8178
+ }
8179
+ }
8180
+ }
8181
+ ]
7992
8182
  }
7993
8183
  }
7994
8184
  }
7995
8185
  ]
7996
8186
  }
8187
+ },
8188
+ "modifiers": {
8189
+ "hiddenPath": "$item.collectionNoIdentity"
7997
8190
  }
7998
8191
  }
7999
8192
  ]
8000
8193
  }
8001
- },
8002
- "modifiers": {
8003
- "hiddenPath": "$item.collectionNoIdentity"
8004
8194
  }
8005
8195
  }
8006
8196
  ]
@@ -8573,125 +8763,181 @@ const SCREENS = runtimeSetting({
8573
8763
  "id": "",
8574
8764
  "body": {
8575
8765
  "package": "himalaya",
8576
- "type": "HStack",
8766
+ "type": "VStack",
8577
8767
  "props": {
8578
- "spacing": 8,
8768
+ "spacing": 0,
8769
+ "alignment": "leading",
8579
8770
  "children": [
8580
8771
  {
8581
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
8772
+ "id": "",
8582
8773
  "body": {
8583
8774
  "package": "himalaya",
8584
- "type": "Button",
8775
+ "type": "VStack",
8585
8776
  "props": {
8586
- "title": "$item.collectionSelectLabel",
8587
- "style": "plain",
8588
- "fullWidth": false,
8589
- "action": {
8590
- "actionId": "tier5.himiEvents.collectionSelect",
8591
- "params": {
8592
- "id": "$item.collectionId"
8777
+ "spacing": 0,
8778
+ "children": [
8779
+ {
8780
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
8781
+ "body": {
8782
+ "package": "himalaya",
8783
+ "type": "Button",
8784
+ "props": {
8785
+ "title": "View details",
8786
+ "style": "secondary",
8787
+ "fullWidth": true,
8788
+ "action": {
8789
+ "actionId": "himi.open",
8790
+ "params": {
8791
+ "screenId": "$item.detailScreenId",
8792
+ "id": "$item.id"
8793
+ }
8794
+ }
8795
+ }
8796
+ },
8797
+ "modifiers": {
8798
+ "hiddenPath": "$item.collectionNotEnded",
8799
+ "padding": {
8800
+ "bottom": 8
8801
+ }
8802
+ }
8593
8803
  }
8594
- }
8804
+ ]
8595
8805
  }
8596
8806
  },
8597
8807
  "modifiers": {
8598
- "hiddenPath": "$service:himiEvents.collection.noSelection"
8599
- }
8600
- },
8601
- {
8602
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
8603
- "body": {
8604
- "package": "himalaya",
8605
- "type": "Button",
8606
- "props": {
8607
- "title": "Register",
8608
- "style": "secondary",
8609
- "fullWidth": false,
8610
- "action": {
8611
- "actionId": "himi.open",
8612
- "params": {
8613
- "screenId": "$item.detailScreenId",
8614
- "id": "$item.id"
8615
- }
8616
- }
8617
- }
8808
+ "hiddenPath": "$item.collectionNoIdentity"
8618
8809
  }
8619
8810
  },
8620
8811
  {
8621
8812
  "id": "",
8622
8813
  "body": {
8623
8814
  "package": "himalaya",
8624
- "type": "Spacer",
8625
- "props": {}
8626
- }
8627
- },
8628
- {
8629
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
8630
- "body": {
8631
- "package": "himalaya",
8632
- "type": "Menu",
8815
+ "type": "HStack",
8633
8816
  "props": {
8634
- "style": "dropdown",
8635
- "anchor": {
8636
- "id": "",
8637
- "body": {
8638
- "package": "himalaya",
8639
- "type": "Icon",
8640
- "props": {
8641
- "name": "ellipsis",
8642
- "size": 20
8817
+ "spacing": 8,
8818
+ "children": [
8819
+ {
8820
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
8821
+ "body": {
8822
+ "package": "himalaya",
8823
+ "type": "Button",
8824
+ "props": {
8825
+ "title": "$item.collectionSelectLabel",
8826
+ "style": "plain",
8827
+ "fullWidth": false,
8828
+ "action": {
8829
+ "actionId": "tier5.himiEvents.collectionSelect",
8830
+ "params": {
8831
+ "id": "$item.collectionId"
8832
+ }
8833
+ }
8834
+ }
8835
+ },
8836
+ "modifiers": {
8837
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
8643
8838
  }
8644
8839
  },
8645
- "modifiers": {
8646
- "width": 44,
8647
- "height": 44,
8648
- "accessibilityLabel": "Item actions"
8649
- }
8650
- },
8651
- "items": [
8652
8840
  {
8653
- "id": "preview",
8654
- "label": "Quick preview",
8655
- "icon": "search",
8656
- "action": {
8657
- "actionId": "tier5.himiEvents.collectionPreview",
8658
- "params": {
8659
- "id": "$item.collectionId"
8841
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
8842
+ "body": {
8843
+ "package": "himalaya",
8844
+ "type": "Button",
8845
+ "props": {
8846
+ "title": "Register",
8847
+ "style": "secondary",
8848
+ "fullWidth": false,
8849
+ "action": {
8850
+ "actionId": "himi.open",
8851
+ "params": {
8852
+ "screenId": "$item.detailScreenId",
8853
+ "id": "$item.id"
8854
+ }
8855
+ }
8660
8856
  }
8857
+ },
8858
+ "modifiers": {
8859
+ "hiddenPath": "$item.collectionEnded"
8661
8860
  }
8662
8861
  },
8663
8862
  {
8664
- "id": "save",
8665
- "label": "$item.collectionSaveLabel",
8666
- "icon": "bookmark",
8667
- "action": {
8668
- "actionId": "tier5.himiEvents.collectionSave",
8669
- "params": {
8670
- "id": "$item.collectionId"
8671
- }
8863
+ "id": "",
8864
+ "body": {
8865
+ "package": "himalaya",
8866
+ "type": "Spacer",
8867
+ "props": {}
8672
8868
  }
8673
8869
  },
8674
8870
  {
8675
- "id": "open",
8676
- "label": "Open details",
8677
- "icon": "chevron_right",
8678
- "action": {
8679
- "actionId": "himi.open",
8680
- "params": {
8681
- "screenId": "$item.detailScreenId",
8682
- "id": "$item.id"
8871
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
8872
+ "body": {
8873
+ "package": "himalaya",
8874
+ "type": "Menu",
8875
+ "props": {
8876
+ "style": "dropdown",
8877
+ "anchor": {
8878
+ "id": "",
8879
+ "body": {
8880
+ "package": "himalaya",
8881
+ "type": "Icon",
8882
+ "props": {
8883
+ "name": "ellipsis",
8884
+ "size": 20
8885
+ }
8886
+ },
8887
+ "modifiers": {
8888
+ "width": 44,
8889
+ "height": 44,
8890
+ "accessibilityLabel": "Item actions"
8891
+ }
8892
+ },
8893
+ "items": [
8894
+ {
8895
+ "id": "preview",
8896
+ "label": "Quick preview",
8897
+ "icon": "search",
8898
+ "action": {
8899
+ "actionId": "tier5.himiEvents.collectionPreview",
8900
+ "params": {
8901
+ "id": "$item.collectionId"
8902
+ }
8903
+ }
8904
+ },
8905
+ {
8906
+ "id": "save",
8907
+ "label": "$item.collectionSaveLabel",
8908
+ "icon": "bookmark",
8909
+ "action": {
8910
+ "actionId": "tier5.himiEvents.collectionSave",
8911
+ "params": {
8912
+ "id": "$item.collectionId"
8913
+ }
8914
+ }
8915
+ },
8916
+ {
8917
+ "id": "open",
8918
+ "label": "Open details",
8919
+ "icon": "chevron_right",
8920
+ "action": {
8921
+ "actionId": "himi.open",
8922
+ "params": {
8923
+ "screenId": "$item.detailScreenId",
8924
+ "id": "$item.id"
8925
+ }
8926
+ }
8927
+ }
8928
+ ]
8683
8929
  }
8684
8930
  }
8685
8931
  }
8686
8932
  ]
8687
8933
  }
8934
+ },
8935
+ "modifiers": {
8936
+ "hiddenPath": "$item.collectionNoIdentity"
8688
8937
  }
8689
8938
  }
8690
8939
  ]
8691
8940
  }
8692
- },
8693
- "modifiers": {
8694
- "hiddenPath": "$item.collectionNoIdentity"
8695
8941
  }
8696
8942
  }
8697
8943
  ]