@wix/himalaya-cli 0.1223.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 (56) 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/guides/sdk-reference.json +1 -1
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/dev/index.ts +5 -1
  6. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +15 -2
  7. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  8. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +15 -2
  9. package/templates/branded-lite/dev/index.ts +520 -274
  10. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +15 -2
  11. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  12. package/templates/community-club/dev/index.ts +518 -272
  13. package/templates/community-club/tier5-src/_shared/collection-contract.ts +15 -2
  14. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  15. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +15 -2
  16. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  17. package/templates/events-meetups/dev/index.ts +518 -272
  18. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +15 -2
  19. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  20. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +15 -2
  21. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  22. package/templates/gym-fitness/dev/index.ts +520 -274
  23. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +15 -2
  24. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  25. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +15 -2
  26. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  27. package/templates/nonprofit-cause/dev/index.ts +518 -272
  28. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +15 -2
  29. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  30. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +15 -2
  31. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  32. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +15 -2
  33. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +1 -0
  34. package/templates/podcast-creator/dev/index.ts +518 -272
  35. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +15 -2
  36. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  37. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +15 -2
  38. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  39. package/templates/portfolio-creative/dev/index.ts +520 -274
  40. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +15 -2
  41. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  42. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +15 -2
  43. package/templates/restaurant/dev/index.ts +518 -272
  44. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +15 -2
  45. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  46. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +15 -2
  47. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  48. package/templates/retail-store/dev/index.ts +5 -1
  49. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +15 -2
  50. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  51. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +15 -2
  52. package/templates/yoga-studio/dev/index.ts +518 -272
  53. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +15 -2
  54. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  55. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +15 -2
  56. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
@@ -5836,6 +5836,7 @@ const SCREENS = runtimeSetting({
5836
5836
  "props": {
5837
5837
  "id": "title",
5838
5838
  "label": "Title",
5839
+ "required": true,
5839
5840
  "kind": "text",
5840
5841
  "text": {
5841
5842
  "placeholder": "Add a title",
@@ -5883,7 +5884,10 @@ const SCREENS = runtimeSetting({
5883
5884
  "style": "primary",
5884
5885
  "fullWidth": true,
5885
5886
  "action": {
5886
- "actionId": "tier5.spacesCreatePost.submit"
5887
+ "actionId": "tier5.spacesCreatePost.submit",
5888
+ "params": {
5889
+ "postScreenId": "himi_blog_post"
5890
+ }
5887
5891
  }
5888
5892
  }
5889
5893
  }
@@ -6701,21 +6705,58 @@ const SCREENS = runtimeSetting({
6701
6705
  }
6702
6706
  },
6703
6707
  {
6704
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
6708
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
6705
6709
  "body": {
6706
6710
  "package": "himalaya",
6707
- "type": "Button",
6711
+ "type": "HStack",
6708
6712
  "props": {
6709
- "title": "Register",
6710
- "style": "secondary",
6711
- "fullWidth": false,
6712
- "action": {
6713
- "actionId": "himi.open",
6714
- "params": {
6715
- "screenId": "$item.detailScreenId",
6716
- "id": "$item.id"
6713
+ "spacing": 0,
6714
+ "children": [
6715
+ {
6716
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
6717
+ "body": {
6718
+ "package": "himalaya",
6719
+ "type": "Button",
6720
+ "props": {
6721
+ "title": "Register",
6722
+ "style": "secondary",
6723
+ "fullWidth": false,
6724
+ "action": {
6725
+ "actionId": "himi.open",
6726
+ "params": {
6727
+ "screenId": "$item.detailScreenId",
6728
+ "id": "$item.id"
6729
+ }
6730
+ }
6731
+ }
6732
+ },
6733
+ "modifiers": {
6734
+ "hiddenPath": "$item.collectionEnded"
6735
+ }
6736
+ },
6737
+ {
6738
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
6739
+ "body": {
6740
+ "package": "himalaya",
6741
+ "type": "Button",
6742
+ "props": {
6743
+ "title": "View details",
6744
+ "style": "secondary",
6745
+ "fullWidth": false,
6746
+ "action": {
6747
+ "actionId": "himi.open",
6748
+ "params": {
6749
+ "screenId": "$item.detailScreenId",
6750
+ "id": "$item.id"
6751
+ }
6752
+ }
6753
+ }
6754
+ },
6755
+ "modifiers": {
6756
+ "hiddenPath": "$item.collectionNotEnded"
6757
+ }
6717
6758
  }
6718
- }
6759
+ ]
6719
6760
  }
6720
6761
  }
6721
6762
  },
@@ -7023,125 +7064,181 @@ const SCREENS = runtimeSetting({
7023
7064
  "id": "",
7024
7065
  "body": {
7025
7066
  "package": "himalaya",
7026
- "type": "HStack",
7067
+ "type": "VStack",
7027
7068
  "props": {
7028
- "spacing": 8,
7069
+ "spacing": 0,
7070
+ "alignment": "leading",
7029
7071
  "children": [
7030
7072
  {
7031
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
7073
+ "id": "",
7032
7074
  "body": {
7033
7075
  "package": "himalaya",
7034
- "type": "Button",
7076
+ "type": "VStack",
7035
7077
  "props": {
7036
- "title": "$item.collectionSelectLabel",
7037
- "style": "plain",
7038
- "fullWidth": false,
7039
- "action": {
7040
- "actionId": "tier5.himiEvents.collectionSelect",
7041
- "params": {
7042
- "id": "$item.collectionId"
7078
+ "spacing": 0,
7079
+ "children": [
7080
+ {
7081
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
7082
+ "body": {
7083
+ "package": "himalaya",
7084
+ "type": "Button",
7085
+ "props": {
7086
+ "title": "View details",
7087
+ "style": "secondary",
7088
+ "fullWidth": true,
7089
+ "action": {
7090
+ "actionId": "himi.open",
7091
+ "params": {
7092
+ "screenId": "$item.detailScreenId",
7093
+ "id": "$item.id"
7094
+ }
7095
+ }
7096
+ }
7097
+ },
7098
+ "modifiers": {
7099
+ "hiddenPath": "$item.collectionNotEnded",
7100
+ "padding": {
7101
+ "bottom": 8
7102
+ }
7103
+ }
7043
7104
  }
7044
- }
7105
+ ]
7045
7106
  }
7046
7107
  },
7047
7108
  "modifiers": {
7048
- "hiddenPath": "$service:himiEvents.collection.noSelection"
7049
- }
7050
- },
7051
- {
7052
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
7053
- "body": {
7054
- "package": "himalaya",
7055
- "type": "Button",
7056
- "props": {
7057
- "title": "Register",
7058
- "style": "secondary",
7059
- "fullWidth": false,
7060
- "action": {
7061
- "actionId": "himi.open",
7062
- "params": {
7063
- "screenId": "$item.detailScreenId",
7064
- "id": "$item.id"
7065
- }
7066
- }
7067
- }
7109
+ "hiddenPath": "$item.collectionNoIdentity"
7068
7110
  }
7069
7111
  },
7070
7112
  {
7071
7113
  "id": "",
7072
7114
  "body": {
7073
7115
  "package": "himalaya",
7074
- "type": "Spacer",
7075
- "props": {}
7076
- }
7077
- },
7078
- {
7079
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
7080
- "body": {
7081
- "package": "himalaya",
7082
- "type": "Menu",
7116
+ "type": "HStack",
7083
7117
  "props": {
7084
- "style": "dropdown",
7085
- "anchor": {
7086
- "id": "",
7087
- "body": {
7088
- "package": "himalaya",
7089
- "type": "Icon",
7090
- "props": {
7091
- "name": "ellipsis",
7092
- "size": 20
7118
+ "spacing": 8,
7119
+ "children": [
7120
+ {
7121
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
7122
+ "body": {
7123
+ "package": "himalaya",
7124
+ "type": "Button",
7125
+ "props": {
7126
+ "title": "$item.collectionSelectLabel",
7127
+ "style": "plain",
7128
+ "fullWidth": false,
7129
+ "action": {
7130
+ "actionId": "tier5.himiEvents.collectionSelect",
7131
+ "params": {
7132
+ "id": "$item.collectionId"
7133
+ }
7134
+ }
7135
+ }
7136
+ },
7137
+ "modifiers": {
7138
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
7093
7139
  }
7094
7140
  },
7095
- "modifiers": {
7096
- "width": 44,
7097
- "height": 44,
7098
- "accessibilityLabel": "Item actions"
7099
- }
7100
- },
7101
- "items": [
7102
7141
  {
7103
- "id": "preview",
7104
- "label": "Quick preview",
7105
- "icon": "search",
7106
- "action": {
7107
- "actionId": "tier5.himiEvents.collectionPreview",
7108
- "params": {
7109
- "id": "$item.collectionId"
7142
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
7143
+ "body": {
7144
+ "package": "himalaya",
7145
+ "type": "Button",
7146
+ "props": {
7147
+ "title": "Register",
7148
+ "style": "secondary",
7149
+ "fullWidth": false,
7150
+ "action": {
7151
+ "actionId": "himi.open",
7152
+ "params": {
7153
+ "screenId": "$item.detailScreenId",
7154
+ "id": "$item.id"
7155
+ }
7156
+ }
7110
7157
  }
7158
+ },
7159
+ "modifiers": {
7160
+ "hiddenPath": "$item.collectionEnded"
7111
7161
  }
7112
7162
  },
7113
7163
  {
7114
- "id": "save",
7115
- "label": "$item.collectionSaveLabel",
7116
- "icon": "bookmark",
7117
- "action": {
7118
- "actionId": "tier5.himiEvents.collectionSave",
7119
- "params": {
7120
- "id": "$item.collectionId"
7121
- }
7164
+ "id": "",
7165
+ "body": {
7166
+ "package": "himalaya",
7167
+ "type": "Spacer",
7168
+ "props": {}
7122
7169
  }
7123
7170
  },
7124
7171
  {
7125
- "id": "open",
7126
- "label": "Open details",
7127
- "icon": "chevron_right",
7128
- "action": {
7129
- "actionId": "himi.open",
7130
- "params": {
7131
- "screenId": "$item.detailScreenId",
7132
- "id": "$item.id"
7172
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
7173
+ "body": {
7174
+ "package": "himalaya",
7175
+ "type": "Menu",
7176
+ "props": {
7177
+ "style": "dropdown",
7178
+ "anchor": {
7179
+ "id": "",
7180
+ "body": {
7181
+ "package": "himalaya",
7182
+ "type": "Icon",
7183
+ "props": {
7184
+ "name": "ellipsis",
7185
+ "size": 20
7186
+ }
7187
+ },
7188
+ "modifiers": {
7189
+ "width": 44,
7190
+ "height": 44,
7191
+ "accessibilityLabel": "Item actions"
7192
+ }
7193
+ },
7194
+ "items": [
7195
+ {
7196
+ "id": "preview",
7197
+ "label": "Quick preview",
7198
+ "icon": "search",
7199
+ "action": {
7200
+ "actionId": "tier5.himiEvents.collectionPreview",
7201
+ "params": {
7202
+ "id": "$item.collectionId"
7203
+ }
7204
+ }
7205
+ },
7206
+ {
7207
+ "id": "save",
7208
+ "label": "$item.collectionSaveLabel",
7209
+ "icon": "bookmark",
7210
+ "action": {
7211
+ "actionId": "tier5.himiEvents.collectionSave",
7212
+ "params": {
7213
+ "id": "$item.collectionId"
7214
+ }
7215
+ }
7216
+ },
7217
+ {
7218
+ "id": "open",
7219
+ "label": "Open details",
7220
+ "icon": "chevron_right",
7221
+ "action": {
7222
+ "actionId": "himi.open",
7223
+ "params": {
7224
+ "screenId": "$item.detailScreenId",
7225
+ "id": "$item.id"
7226
+ }
7227
+ }
7228
+ }
7229
+ ]
7133
7230
  }
7134
7231
  }
7135
7232
  }
7136
7233
  ]
7137
7234
  }
7235
+ },
7236
+ "modifiers": {
7237
+ "hiddenPath": "$item.collectionNoIdentity"
7138
7238
  }
7139
7239
  }
7140
7240
  ]
7141
7241
  }
7142
- },
7143
- "modifiers": {
7144
- "hiddenPath": "$item.collectionNoIdentity"
7145
7242
  }
7146
7243
  }
7147
7244
  ]
@@ -7376,21 +7473,58 @@ const SCREENS = runtimeSetting({
7376
7473
  }
7377
7474
  },
7378
7475
  {
7379
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
7476
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
7380
7477
  "body": {
7381
7478
  "package": "himalaya",
7382
- "type": "Button",
7479
+ "type": "HStack",
7383
7480
  "props": {
7384
- "title": "Register",
7385
- "style": "secondary",
7386
- "fullWidth": false,
7387
- "action": {
7388
- "actionId": "himi.open",
7389
- "params": {
7390
- "screenId": "$item.detailScreenId",
7391
- "id": "$item.id"
7481
+ "spacing": 0,
7482
+ "children": [
7483
+ {
7484
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
7485
+ "body": {
7486
+ "package": "himalaya",
7487
+ "type": "Button",
7488
+ "props": {
7489
+ "title": "Register",
7490
+ "style": "secondary",
7491
+ "fullWidth": false,
7492
+ "action": {
7493
+ "actionId": "himi.open",
7494
+ "params": {
7495
+ "screenId": "$item.detailScreenId",
7496
+ "id": "$item.id"
7497
+ }
7498
+ }
7499
+ }
7500
+ },
7501
+ "modifiers": {
7502
+ "hiddenPath": "$item.collectionEnded"
7503
+ }
7504
+ },
7505
+ {
7506
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
7507
+ "body": {
7508
+ "package": "himalaya",
7509
+ "type": "Button",
7510
+ "props": {
7511
+ "title": "View details",
7512
+ "style": "secondary",
7513
+ "fullWidth": false,
7514
+ "action": {
7515
+ "actionId": "himi.open",
7516
+ "params": {
7517
+ "screenId": "$item.detailScreenId",
7518
+ "id": "$item.id"
7519
+ }
7520
+ }
7521
+ }
7522
+ },
7523
+ "modifiers": {
7524
+ "hiddenPath": "$item.collectionNotEnded"
7525
+ }
7392
7526
  }
7393
- }
7527
+ ]
7394
7528
  }
7395
7529
  }
7396
7530
  },
@@ -7698,125 +7832,181 @@ const SCREENS = runtimeSetting({
7698
7832
  "id": "",
7699
7833
  "body": {
7700
7834
  "package": "himalaya",
7701
- "type": "HStack",
7835
+ "type": "VStack",
7702
7836
  "props": {
7703
- "spacing": 8,
7837
+ "spacing": 0,
7838
+ "alignment": "leading",
7704
7839
  "children": [
7705
7840
  {
7706
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
7841
+ "id": "",
7707
7842
  "body": {
7708
7843
  "package": "himalaya",
7709
- "type": "Button",
7844
+ "type": "VStack",
7710
7845
  "props": {
7711
- "title": "$item.collectionSelectLabel",
7712
- "style": "plain",
7713
- "fullWidth": false,
7714
- "action": {
7715
- "actionId": "tier5.himiEvents.collectionSelect",
7716
- "params": {
7717
- "id": "$item.collectionId"
7846
+ "spacing": 0,
7847
+ "children": [
7848
+ {
7849
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
7850
+ "body": {
7851
+ "package": "himalaya",
7852
+ "type": "Button",
7853
+ "props": {
7854
+ "title": "View details",
7855
+ "style": "secondary",
7856
+ "fullWidth": true,
7857
+ "action": {
7858
+ "actionId": "himi.open",
7859
+ "params": {
7860
+ "screenId": "$item.detailScreenId",
7861
+ "id": "$item.id"
7862
+ }
7863
+ }
7864
+ }
7865
+ },
7866
+ "modifiers": {
7867
+ "hiddenPath": "$item.collectionNotEnded",
7868
+ "padding": {
7869
+ "bottom": 8
7870
+ }
7871
+ }
7718
7872
  }
7719
- }
7873
+ ]
7720
7874
  }
7721
7875
  },
7722
7876
  "modifiers": {
7723
- "hiddenPath": "$service:himiEvents.collection.noSelection"
7724
- }
7725
- },
7726
- {
7727
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
7728
- "body": {
7729
- "package": "himalaya",
7730
- "type": "Button",
7731
- "props": {
7732
- "title": "Register",
7733
- "style": "secondary",
7734
- "fullWidth": false,
7735
- "action": {
7736
- "actionId": "himi.open",
7737
- "params": {
7738
- "screenId": "$item.detailScreenId",
7739
- "id": "$item.id"
7740
- }
7741
- }
7742
- }
7877
+ "hiddenPath": "$item.collectionNoIdentity"
7743
7878
  }
7744
7879
  },
7745
7880
  {
7746
7881
  "id": "",
7747
7882
  "body": {
7748
7883
  "package": "himalaya",
7749
- "type": "Spacer",
7750
- "props": {}
7751
- }
7752
- },
7753
- {
7754
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
7755
- "body": {
7756
- "package": "himalaya",
7757
- "type": "Menu",
7884
+ "type": "HStack",
7758
7885
  "props": {
7759
- "style": "dropdown",
7760
- "anchor": {
7761
- "id": "",
7762
- "body": {
7763
- "package": "himalaya",
7764
- "type": "Icon",
7765
- "props": {
7766
- "name": "ellipsis",
7767
- "size": 20
7886
+ "spacing": 8,
7887
+ "children": [
7888
+ {
7889
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
7890
+ "body": {
7891
+ "package": "himalaya",
7892
+ "type": "Button",
7893
+ "props": {
7894
+ "title": "$item.collectionSelectLabel",
7895
+ "style": "plain",
7896
+ "fullWidth": false,
7897
+ "action": {
7898
+ "actionId": "tier5.himiEvents.collectionSelect",
7899
+ "params": {
7900
+ "id": "$item.collectionId"
7901
+ }
7902
+ }
7903
+ }
7904
+ },
7905
+ "modifiers": {
7906
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
7768
7907
  }
7769
7908
  },
7770
- "modifiers": {
7771
- "width": 44,
7772
- "height": 44,
7773
- "accessibilityLabel": "Item actions"
7774
- }
7775
- },
7776
- "items": [
7777
7909
  {
7778
- "id": "preview",
7779
- "label": "Quick preview",
7780
- "icon": "search",
7781
- "action": {
7782
- "actionId": "tier5.himiEvents.collectionPreview",
7783
- "params": {
7784
- "id": "$item.collectionId"
7910
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
7911
+ "body": {
7912
+ "package": "himalaya",
7913
+ "type": "Button",
7914
+ "props": {
7915
+ "title": "Register",
7916
+ "style": "secondary",
7917
+ "fullWidth": false,
7918
+ "action": {
7919
+ "actionId": "himi.open",
7920
+ "params": {
7921
+ "screenId": "$item.detailScreenId",
7922
+ "id": "$item.id"
7923
+ }
7924
+ }
7785
7925
  }
7926
+ },
7927
+ "modifiers": {
7928
+ "hiddenPath": "$item.collectionEnded"
7786
7929
  }
7787
7930
  },
7788
7931
  {
7789
- "id": "save",
7790
- "label": "$item.collectionSaveLabel",
7791
- "icon": "bookmark",
7792
- "action": {
7793
- "actionId": "tier5.himiEvents.collectionSave",
7794
- "params": {
7795
- "id": "$item.collectionId"
7796
- }
7932
+ "id": "",
7933
+ "body": {
7934
+ "package": "himalaya",
7935
+ "type": "Spacer",
7936
+ "props": {}
7797
7937
  }
7798
7938
  },
7799
7939
  {
7800
- "id": "open",
7801
- "label": "Open details",
7802
- "icon": "chevron_right",
7803
- "action": {
7804
- "actionId": "himi.open",
7805
- "params": {
7806
- "screenId": "$item.detailScreenId",
7807
- "id": "$item.id"
7940
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
7941
+ "body": {
7942
+ "package": "himalaya",
7943
+ "type": "Menu",
7944
+ "props": {
7945
+ "style": "dropdown",
7946
+ "anchor": {
7947
+ "id": "",
7948
+ "body": {
7949
+ "package": "himalaya",
7950
+ "type": "Icon",
7951
+ "props": {
7952
+ "name": "ellipsis",
7953
+ "size": 20
7954
+ }
7955
+ },
7956
+ "modifiers": {
7957
+ "width": 44,
7958
+ "height": 44,
7959
+ "accessibilityLabel": "Item actions"
7960
+ }
7961
+ },
7962
+ "items": [
7963
+ {
7964
+ "id": "preview",
7965
+ "label": "Quick preview",
7966
+ "icon": "search",
7967
+ "action": {
7968
+ "actionId": "tier5.himiEvents.collectionPreview",
7969
+ "params": {
7970
+ "id": "$item.collectionId"
7971
+ }
7972
+ }
7973
+ },
7974
+ {
7975
+ "id": "save",
7976
+ "label": "$item.collectionSaveLabel",
7977
+ "icon": "bookmark",
7978
+ "action": {
7979
+ "actionId": "tier5.himiEvents.collectionSave",
7980
+ "params": {
7981
+ "id": "$item.collectionId"
7982
+ }
7983
+ }
7984
+ },
7985
+ {
7986
+ "id": "open",
7987
+ "label": "Open details",
7988
+ "icon": "chevron_right",
7989
+ "action": {
7990
+ "actionId": "himi.open",
7991
+ "params": {
7992
+ "screenId": "$item.detailScreenId",
7993
+ "id": "$item.id"
7994
+ }
7995
+ }
7996
+ }
7997
+ ]
7808
7998
  }
7809
7999
  }
7810
8000
  }
7811
8001
  ]
7812
8002
  }
8003
+ },
8004
+ "modifiers": {
8005
+ "hiddenPath": "$item.collectionNoIdentity"
7813
8006
  }
7814
8007
  }
7815
8008
  ]
7816
8009
  }
7817
- },
7818
- "modifiers": {
7819
- "hiddenPath": "$item.collectionNoIdentity"
7820
8010
  }
7821
8011
  }
7822
8012
  ]
@@ -8389,125 +8579,181 @@ const SCREENS = runtimeSetting({
8389
8579
  "id": "",
8390
8580
  "body": {
8391
8581
  "package": "himalaya",
8392
- "type": "HStack",
8582
+ "type": "VStack",
8393
8583
  "props": {
8394
- "spacing": 8,
8584
+ "spacing": 0,
8585
+ "alignment": "leading",
8395
8586
  "children": [
8396
8587
  {
8397
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
8588
+ "id": "",
8398
8589
  "body": {
8399
8590
  "package": "himalaya",
8400
- "type": "Button",
8591
+ "type": "VStack",
8401
8592
  "props": {
8402
- "title": "$item.collectionSelectLabel",
8403
- "style": "plain",
8404
- "fullWidth": false,
8405
- "action": {
8406
- "actionId": "tier5.himiEvents.collectionSelect",
8407
- "params": {
8408
- "id": "$item.collectionId"
8593
+ "spacing": 0,
8594
+ "children": [
8595
+ {
8596
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
8597
+ "body": {
8598
+ "package": "himalaya",
8599
+ "type": "Button",
8600
+ "props": {
8601
+ "title": "View details",
8602
+ "style": "secondary",
8603
+ "fullWidth": true,
8604
+ "action": {
8605
+ "actionId": "himi.open",
8606
+ "params": {
8607
+ "screenId": "$item.detailScreenId",
8608
+ "id": "$item.id"
8609
+ }
8610
+ }
8611
+ }
8612
+ },
8613
+ "modifiers": {
8614
+ "hiddenPath": "$item.collectionNotEnded",
8615
+ "padding": {
8616
+ "bottom": 8
8617
+ }
8618
+ }
8409
8619
  }
8410
- }
8620
+ ]
8411
8621
  }
8412
8622
  },
8413
8623
  "modifiers": {
8414
- "hiddenPath": "$service:himiEvents.collection.noSelection"
8415
- }
8416
- },
8417
- {
8418
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
8419
- "body": {
8420
- "package": "himalaya",
8421
- "type": "Button",
8422
- "props": {
8423
- "title": "Register",
8424
- "style": "secondary",
8425
- "fullWidth": false,
8426
- "action": {
8427
- "actionId": "himi.open",
8428
- "params": {
8429
- "screenId": "$item.detailScreenId",
8430
- "id": "$item.id"
8431
- }
8432
- }
8433
- }
8624
+ "hiddenPath": "$item.collectionNoIdentity"
8434
8625
  }
8435
8626
  },
8436
8627
  {
8437
8628
  "id": "",
8438
8629
  "body": {
8439
8630
  "package": "himalaya",
8440
- "type": "Spacer",
8441
- "props": {}
8442
- }
8443
- },
8444
- {
8445
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
8446
- "body": {
8447
- "package": "himalaya",
8448
- "type": "Menu",
8631
+ "type": "HStack",
8449
8632
  "props": {
8450
- "style": "dropdown",
8451
- "anchor": {
8452
- "id": "",
8453
- "body": {
8454
- "package": "himalaya",
8455
- "type": "Icon",
8456
- "props": {
8457
- "name": "ellipsis",
8458
- "size": 20
8633
+ "spacing": 8,
8634
+ "children": [
8635
+ {
8636
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
8637
+ "body": {
8638
+ "package": "himalaya",
8639
+ "type": "Button",
8640
+ "props": {
8641
+ "title": "$item.collectionSelectLabel",
8642
+ "style": "plain",
8643
+ "fullWidth": false,
8644
+ "action": {
8645
+ "actionId": "tier5.himiEvents.collectionSelect",
8646
+ "params": {
8647
+ "id": "$item.collectionId"
8648
+ }
8649
+ }
8650
+ }
8651
+ },
8652
+ "modifiers": {
8653
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
8459
8654
  }
8460
8655
  },
8461
- "modifiers": {
8462
- "width": 44,
8463
- "height": 44,
8464
- "accessibilityLabel": "Item actions"
8465
- }
8466
- },
8467
- "items": [
8468
8656
  {
8469
- "id": "preview",
8470
- "label": "Quick preview",
8471
- "icon": "search",
8472
- "action": {
8473
- "actionId": "tier5.himiEvents.collectionPreview",
8474
- "params": {
8475
- "id": "$item.collectionId"
8657
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
8658
+ "body": {
8659
+ "package": "himalaya",
8660
+ "type": "Button",
8661
+ "props": {
8662
+ "title": "Register",
8663
+ "style": "secondary",
8664
+ "fullWidth": false,
8665
+ "action": {
8666
+ "actionId": "himi.open",
8667
+ "params": {
8668
+ "screenId": "$item.detailScreenId",
8669
+ "id": "$item.id"
8670
+ }
8671
+ }
8476
8672
  }
8673
+ },
8674
+ "modifiers": {
8675
+ "hiddenPath": "$item.collectionEnded"
8477
8676
  }
8478
8677
  },
8479
8678
  {
8480
- "id": "save",
8481
- "label": "$item.collectionSaveLabel",
8482
- "icon": "bookmark",
8483
- "action": {
8484
- "actionId": "tier5.himiEvents.collectionSave",
8485
- "params": {
8486
- "id": "$item.collectionId"
8487
- }
8679
+ "id": "",
8680
+ "body": {
8681
+ "package": "himalaya",
8682
+ "type": "Spacer",
8683
+ "props": {}
8488
8684
  }
8489
8685
  },
8490
8686
  {
8491
- "id": "open",
8492
- "label": "Open details",
8493
- "icon": "chevron_right",
8494
- "action": {
8495
- "actionId": "himi.open",
8496
- "params": {
8497
- "screenId": "$item.detailScreenId",
8498
- "id": "$item.id"
8687
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
8688
+ "body": {
8689
+ "package": "himalaya",
8690
+ "type": "Menu",
8691
+ "props": {
8692
+ "style": "dropdown",
8693
+ "anchor": {
8694
+ "id": "",
8695
+ "body": {
8696
+ "package": "himalaya",
8697
+ "type": "Icon",
8698
+ "props": {
8699
+ "name": "ellipsis",
8700
+ "size": 20
8701
+ }
8702
+ },
8703
+ "modifiers": {
8704
+ "width": 44,
8705
+ "height": 44,
8706
+ "accessibilityLabel": "Item actions"
8707
+ }
8708
+ },
8709
+ "items": [
8710
+ {
8711
+ "id": "preview",
8712
+ "label": "Quick preview",
8713
+ "icon": "search",
8714
+ "action": {
8715
+ "actionId": "tier5.himiEvents.collectionPreview",
8716
+ "params": {
8717
+ "id": "$item.collectionId"
8718
+ }
8719
+ }
8720
+ },
8721
+ {
8722
+ "id": "save",
8723
+ "label": "$item.collectionSaveLabel",
8724
+ "icon": "bookmark",
8725
+ "action": {
8726
+ "actionId": "tier5.himiEvents.collectionSave",
8727
+ "params": {
8728
+ "id": "$item.collectionId"
8729
+ }
8730
+ }
8731
+ },
8732
+ {
8733
+ "id": "open",
8734
+ "label": "Open details",
8735
+ "icon": "chevron_right",
8736
+ "action": {
8737
+ "actionId": "himi.open",
8738
+ "params": {
8739
+ "screenId": "$item.detailScreenId",
8740
+ "id": "$item.id"
8741
+ }
8742
+ }
8743
+ }
8744
+ ]
8499
8745
  }
8500
8746
  }
8501
8747
  }
8502
8748
  ]
8503
8749
  }
8750
+ },
8751
+ "modifiers": {
8752
+ "hiddenPath": "$item.collectionNoIdentity"
8504
8753
  }
8505
8754
  }
8506
8755
  ]
8507
8756
  }
8508
- },
8509
- "modifiers": {
8510
- "hiddenPath": "$item.collectionNoIdentity"
8511
8757
  }
8512
8758
  }
8513
8759
  ]