@wix/himalaya-cli 0.1634.0 → 0.1636.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 (54) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +1 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +2 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-contract.d.ts +22 -10
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-wire.d.ts +16 -6
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments.d.ts +11 -4
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +6 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/apple-iap-contract.d.ts +10 -4
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +84 -16
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap.mjs +67 -10
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +83 -15
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
  12. package/dist/browser-plane/assets.json +5 -5
  13. package/dist/browser-plane/preview-deferred/{c3457ce58c96b65f303fec0ddf5f06733004eaf9e21e62302b155ec63a7765f7.bin → 67feb362281a3040ee05592769227c58a98ec3c8073dac95ecb5629141c67061.bin} +1 -1
  14. package/dist/browser-plane/sw.js +7 -7
  15. package/dist/cli.mjs +241 -57
  16. package/dist/preview-assets.generated.bin +0 -0
  17. package/fixtures/wix-canned.json +3 -0
  18. package/guides/designing-himi-screens.md +5 -1
  19. package/guides/himi-json-output.md +14 -1
  20. package/guides/himi-mcp.md +5 -3
  21. package/guides/iap-products.md +8 -0
  22. package/guides/sdk-reference.json +22 -8
  23. package/guides/skill.md +1 -0
  24. package/package.json +2 -2
  25. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +0 -1
  26. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +0 -1
  27. package/templates/branded-lite/dev/index.ts +226 -2060
  28. package/templates/branded-lite/l10n/en.json +3 -5
  29. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +0 -1
  30. package/templates/branded-lite/tier5-src/_shared/himi-cms.ts +2 -1
  31. package/templates/branded-lite/tier5-src/himi-branded-lite-cms/index.ts +160 -39
  32. package/templates/community-club/dev/index.ts +210 -2044
  33. package/templates/community-club/tier5-src/_shared/collection-contract.ts +0 -1
  34. package/templates/community-club/tier5-src/_shared/himi-cms.ts +2 -1
  35. package/templates/community-club/tier5-src/himi-branded-lite-cms/index.ts +160 -39
  36. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +0 -1
  37. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +0 -1
  38. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +0 -1
  39. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +0 -1
  40. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +0 -1
  41. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +0 -1
  42. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +0 -1
  43. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +0 -1
  44. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +0 -1
  45. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +0 -1
  46. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +0 -1
  47. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +0 -1
  48. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +0 -1
  49. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +0 -1
  50. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +0 -1
  51. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +0 -1
  52. package/templates/salon-spa/tier5-src/_shared/collection-contract.ts +0 -1
  53. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +0 -1
  54. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +0 -1
@@ -72911,2108 +72911,306 @@ const SCREENS = runtimeSetting({
72911
72911
  "spacing": 16,
72912
72912
  "alignment": "leading",
72913
72913
  "children": [
72914
- {
72915
- "id": "himi_cms.title",
72916
- "body": {
72917
- "package": "himalaya",
72918
- "type": "Text",
72919
- "props": {
72920
- "text": "Content",
72921
- "style": "title1"
72922
- }
72923
- }
72924
- },
72925
72914
  {
72926
72915
  "id": "",
72927
- "body": {
72928
- "package": "himalaya",
72929
- "type": "Text",
72930
- "props": {
72931
- "text": "Custom collections published by this business.",
72932
- "style": "body",
72933
- "color": "textSecondary"
72934
- }
72935
- }
72936
- },
72937
- {
72938
- "id": "himi_cms.search",
72939
- "body": {
72940
- "package": "himalaya",
72941
- "type": "SearchField",
72942
- "props": {
72943
- "placeholder": "Search",
72944
- "autoCapitalization": "none",
72945
- "submitLabel": "search",
72946
- "onChange": {
72947
- "actionId": "tier5.himiBrandedCms.collectionSearch"
72948
- },
72949
- "value": "$service:himiBrandedCms.collection.query"
72950
- }
72951
- },
72952
- "modifiers": {
72953
- "hiddenPath": "$service:himiBrandedCms.collection.hideChrome"
72954
- }
72955
- },
72956
- {
72957
- "id": "himi_cms.rows.collection.toolbar",
72958
72916
  "body": {
72959
72917
  "package": "himalaya",
72960
72918
  "type": "VStack",
72961
72919
  "props": {
72962
- "spacing": 0,
72920
+ "spacing": 16,
72921
+ "alignment": "leading",
72963
72922
  "children": [
72964
72923
  {
72965
- "id": "himi_cms.rows.collection.loading",
72966
- "body": {
72967
- "package": "himalaya",
72968
- "type": "Skeleton",
72969
- "props": {
72970
- "height": 72,
72971
- "cornerRadius": 12,
72972
- "count": 3
72973
- }
72974
- },
72975
- "modifiers": {
72976
- "hiddenPath": "$service:himiBrandedCms.collection.noLoading",
72977
- "padding": {
72978
- "bottom": 12
72979
- }
72980
- }
72981
- },
72982
- {
72983
- "id": "",
72984
- "body": {
72985
- "package": "himalaya",
72986
- "type": "HStack",
72987
- "props": {
72988
- "spacing": 8,
72989
- "children": [
72990
- {
72991
- "id": "himi_cms.rows.collection.view",
72992
- "body": {
72993
- "package": "himalaya",
72994
- "type": "SegmentedControl",
72995
- "props": {
72996
- "options": [
72997
- {
72998
- "id": "list",
72999
- "label": "List"
73000
- },
73001
- {
73002
- "id": "grid",
73003
- "label": "Grid"
73004
- }
73005
- ],
73006
- "selectedId": "$service:himiBrandedCms.collection.view",
73007
- "onChange": {
73008
- "actionId": "tier5.himiBrandedCms.collectionView"
73009
- }
73010
- }
73011
- },
73012
- "modifiers": {
73013
- "weight": 1
73014
- }
73015
- },
73016
- {
73017
- "id": "himi_cms.rows.collection.refine",
73018
- "body": {
73019
- "package": "himalaya",
73020
- "type": "Button",
73021
- "props": {
73022
- "title": "Refine",
73023
- "style": "plain",
73024
- "fullWidth": false,
73025
- "action": {
73026
- "actionId": "tier5.himiBrandedCms.collectionFilters"
73027
- },
73028
- "leadingIcon": "filter"
73029
- }
73030
- }
73031
- }
73032
- ]
73033
- }
73034
- },
73035
- "modifiers": {
73036
- "hiddenPath": "$service:himiBrandedCms.collection.hideChrome",
73037
- "padding": {
73038
- "bottom": 12
73039
- }
73040
- }
73041
- },
73042
- {
73043
- "id": "",
73044
- "body": {
73045
- "package": "himalaya",
73046
- "type": "HStack",
73047
- "props": {
73048
- "spacing": 8,
73049
- "children": [
73050
- {
73051
- "id": "himi_cms.rows.collection.filters",
73052
- "body": {
73053
- "package": "himalaya",
73054
- "type": "FilterChips",
73055
- "props": {
73056
- "chips": [
73057
- {
73058
- "id": "all",
73059
- "label": "All"
73060
- },
73061
- {
73062
- "id": "saved",
73063
- "label": "Saved"
73064
- }
73065
- ],
73066
- "optionsPath": "$service:himiBrandedCms.collection.chips",
73067
- "selectedIds": [
73068
- "$service:himiBrandedCms.collection.filter"
73069
- ],
73070
- "onChange": {
73071
- "actionId": "tier5.himiBrandedCms.collectionFilter"
73072
- }
73073
- }
73074
- },
73075
- "modifiers": {
73076
- "weight": 1
73077
- }
73078
- },
73079
- {
73080
- "id": "himi_cms.rows.collection.clear",
73081
- "body": {
73082
- "package": "himalaya",
73083
- "type": "Button",
73084
- "props": {
73085
- "title": "Clear",
73086
- "style": "plain",
73087
- "fullWidth": false,
73088
- "action": {
73089
- "actionId": "tier5.himiBrandedCms.collectionClear"
73090
- }
73091
- }
73092
- },
73093
- "modifiers": {
73094
- "hiddenPath": "$service:himiBrandedCms.collection.noActiveCriteria"
73095
- }
73096
- }
73097
- ]
73098
- }
73099
- },
73100
- "modifiers": {
73101
- "hiddenPath": "$service:himiBrandedCms.collection.hideChrome",
73102
- "padding": {
73103
- "bottom": 12
73104
- }
73105
- }
73106
- },
73107
- {
73108
- "id": "himi_cms.rows.collection.summary",
72924
+ "id": "himi_cms.title",
73109
72925
  "body": {
73110
72926
  "package": "himalaya",
73111
72927
  "type": "Text",
73112
72928
  "props": {
73113
- "text": "$service:himiBrandedCms.collection.summary",
73114
- "style": "caption",
73115
- "color": "textSecondary",
73116
- "maxLines": 1
72929
+ "text": "Content",
72930
+ "style": "title1"
73117
72931
  }
73118
- },
73119
- "modifiers": {
73120
- "hiddenPath": "$service:himiBrandedCms.collection.hideChrome"
73121
72932
  }
73122
72933
  },
73123
72934
  {
73124
72935
  "id": "",
73125
72936
  "body": {
73126
72937
  "package": "himalaya",
73127
- "type": "HStack",
72938
+ "type": "Text",
73128
72939
  "props": {
73129
- "children": [
73130
- {
73131
- "id": "",
73132
- "body": {
73133
- "package": "himalaya",
73134
- "type": "Text",
73135
- "props": {
73136
- "text": "$service:himiBrandedCms.collection.selectedSummary",
73137
- "style": "caption"
73138
- }
73139
- }
73140
- },
73141
- {
73142
- "id": "btn_tier5_himibrandedcms_collectionsaveselected",
73143
- "body": {
73144
- "package": "himalaya",
73145
- "type": "Button",
73146
- "props": {
73147
- "title": "Save selected",
73148
- "style": "secondary",
73149
- "action": {
73150
- "actionId": "tier5.himiBrandedCms.collectionSaveSelected"
73151
- }
73152
- }
73153
- },
73154
- "modifiers": {
73155
- "hiddenPath": "$service:himiBrandedCms.collection.cannotSaveSelected"
73156
- }
73157
- }
73158
- ]
73159
- }
73160
- },
73161
- "modifiers": {
73162
- "hiddenPath": "$service:himiBrandedCms.collection.noSelection",
73163
- "padding": {
73164
- "bottom": 12
72940
+ "text": "Custom collections published by this business.",
72941
+ "style": "body",
72942
+ "color": "textSecondary"
73165
72943
  }
73166
72944
  }
73167
72945
  },
73168
72946
  {
73169
- "id": "himi_cms.rows.collection.undo",
72947
+ "id": "himi_cms.search",
73170
72948
  "body": {
73171
72949
  "package": "himalaya",
73172
- "type": "Button",
72950
+ "type": "SearchField",
73173
72951
  "props": {
73174
- "title": "Undo saved change",
73175
- "style": "plain",
73176
- "action": {
73177
- "actionId": "tier5.himiBrandedCms.collectionUndo"
72952
+ "placeholder": "Search collections",
72953
+ "debounceMs": 200,
72954
+ "onChange": {
72955
+ "actionId": "tier5.himiBrandedCms.search"
73178
72956
  }
73179
72957
  }
73180
72958
  },
73181
72959
  "modifiers": {
73182
- "hiddenPath": "$service:himiBrandedCms.collection.noUndo",
73183
- "padding": {
73184
- "bottom": 12
73185
- }
72960
+ "hiddenPath": "$service:himiBrandedCms.hideSearch"
73186
72961
  }
73187
- },
72962
+ }
72963
+ ]
72964
+ }
72965
+ },
72966
+ "modifiers": {
72967
+ "fillMaxWidth": true,
72968
+ "padding": {
72969
+ "leading": 16,
72970
+ "trailing": 16
72971
+ }
72972
+ }
72973
+ },
72974
+ {
72975
+ "id": "himi_cms.list",
72976
+ "body": {
72977
+ "package": "himalaya",
72978
+ "type": "VStack",
72979
+ "props": {
72980
+ "spacing": 0,
72981
+ "alignment": "leading",
72982
+ "children": [
73188
72983
  {
73189
72984
  "id": "",
73190
72985
  "body": {
73191
72986
  "package": "himalaya",
73192
- "type": "Text",
73193
- "props": {
73194
- "text": "$service:himiBrandedCms.collection.saveMessage",
73195
- "style": "caption",
73196
- "collapseWhenEmpty": true
73197
- }
72987
+ "type": "Divider",
72988
+ "props": {}
73198
72989
  }
73199
72990
  },
73200
72991
  {
73201
- "id": "himi_cms.rows.collection.error",
72992
+ "id": "himi_cms.rows",
73202
72993
  "body": {
73203
72994
  "package": "himalaya",
73204
- "type": "VStack",
72995
+ "type": "Grid",
73205
72996
  "props": {
73206
- "spacing": 8,
73207
- "children": [
72997
+ "columns": 1,
72998
+ "spacing": 0,
72999
+ "itemsPath": "$service:himiBrandedCms.rows",
73000
+ "items": [
73208
73001
  {
73209
73002
  "id": "",
73210
73003
  "body": {
73211
73004
  "package": "himalaya",
73212
- "type": "Text",
73005
+ "type": "VStack",
73213
73006
  "props": {
73214
- "text": "$service:himiBrandedCms.collection.errorTitle",
73215
- "style": "bodyEmphasis"
73216
- }
73217
- }
73218
- },
73219
- {
73220
- "id": "",
73221
- "body": {
73222
- "package": "himalaya",
73223
- "type": "Text",
73224
- "props": {
73225
- "text": "$service:himiBrandedCms.collection.errorMessage",
73226
- "style": "caption",
73227
- "color": "textSecondary",
73228
- "collapseWhenEmpty": true
73229
- }
73230
- }
73231
- },
73232
- {
73233
- "id": "himi_cms.rows.collection.retry",
73234
- "body": {
73235
- "package": "himalaya",
73236
- "type": "Button",
73237
- "props": {
73238
- "title": "Try again",
73239
- "style": "secondary",
73240
- "action": {
73241
- "actionId": "tier5.himiBrandedCms.collectionRetry"
73242
- }
73243
- }
73244
- },
73245
- "modifiers": {
73246
- "hiddenPath": "$service:himiBrandedCms.collection.noRetry"
73247
- }
73248
- },
73249
- {
73250
- "id": "himi_cms.rows.collection.sign_in",
73251
- "body": {
73252
- "package": "himalaya",
73253
- "type": "Button",
73254
- "props": {
73255
- "title": "Sign in",
73256
- "style": "primary",
73257
- "leadingIcon": "person",
73258
- "action": {
73259
- "actionId": "himi.open",
73260
- "params": {
73261
- "screenId": "himi_sign_in",
73262
- "modal": "1",
73263
- "sheetStyle": "page"
73264
- },
73265
- "presentation": "sheet"
73266
- }
73267
- }
73268
- },
73269
- "modifiers": {
73270
- "hiddenPath": "$service:himiBrandedCms.collection.noSignIn"
73271
- }
73272
- }
73273
- ]
73274
- }
73275
- },
73276
- "modifiers": {
73277
- "hiddenPath": "$service:himiBrandedCms.collection.noError",
73278
- "padding": {
73279
- "bottom": 12
73280
- }
73281
- }
73282
- },
73283
- {
73284
- "id": "himi_cms.rows.collection.empty-source",
73285
- "body": {
73286
- "package": "himalaya",
73287
- "type": "VStack",
73288
- "props": {
73289
- "spacing": 8,
73290
- "alignment": "center",
73291
- "children": [
73292
- {
73293
- "id": "",
73294
- "body": {
73295
- "package": "himalaya",
73296
- "type": "Icon",
73297
- "props": {
73298
- "name": "inbox",
73299
- "size": 28,
73300
- "tint": "textTertiary"
73301
- }
73302
- },
73303
- "modifiers": {
73304
- "accessibilityRole": "decorative"
73305
- }
73306
- },
73307
- {
73308
- "id": "",
73309
- "body": {
73310
- "package": "himalaya",
73311
- "type": "Text",
73312
- "props": {
73313
- "text": "$service:himiBrandedCms.collection.emptySourceText",
73314
- "style": "body",
73315
- "color": "textSecondary"
73316
- }
73317
- }
73318
- }
73319
- ]
73320
- }
73321
- },
73322
- "modifiers": {
73323
- "hiddenPath": "$service:himiBrandedCms.collection.noEmptySource",
73324
- "padding": {
73325
- "bottom": 12
73326
- }
73327
- }
73328
- },
73329
- {
73330
- "id": "",
73331
- "body": {
73332
- "package": "himalaya",
73333
- "type": "Text",
73334
- "props": {
73335
- "text": "Showing previously loaded content · may be outdated",
73336
- "style": "caption",
73337
- "color": "textSecondary"
73338
- }
73339
- },
73340
- "modifiers": {
73341
- "hiddenPath": "$service:himiBrandedCms.collection.noOffline"
73342
- }
73343
- },
73344
- {
73345
- "id": "",
73346
- "body": {
73347
- "package": "himalaya",
73348
- "type": "VStack",
73349
- "props": {
73350
- "spacing": 0,
73351
- "children": [
73352
- {
73353
- "id": "himi_cms.rows.collection.list",
73354
- "body": {
73355
- "package": "himalaya",
73356
- "type": "LazyList",
73357
- "props": {
73358
- "columns": 1,
73359
- "spacing": 10,
73360
- "itemsPath": "$service:himiBrandedCms.collection.items",
73361
- "items": [
73007
+ "spacing": 0,
73008
+ "alignment": "leading",
73009
+ "children": [
73362
73010
  {
73363
- "id": "himi_cms.rows.collection.list.$item.collectionId",
73011
+ "id": "",
73364
73012
  "body": {
73365
73013
  "package": "himalaya",
73366
- "type": "VStack",
73014
+ "type": "HStack",
73367
73015
  "props": {
73368
- "spacing": 4,
73016
+ "spacing": 12,
73017
+ "alignment": "center",
73369
73018
  "children": [
73370
73019
  {
73371
73020
  "id": "",
73372
73021
  "body": {
73373
73022
  "package": "himalaya",
73374
- "type": "HStack",
73023
+ "type": "VStack",
73375
73024
  "props": {
73376
- "spacing": 12,
73025
+ "spacing": 2,
73026
+ "alignment": "leading",
73377
73027
  "children": [
73378
73028
  {
73379
- "id": "himi_cms.rows.collection.list.$item.collectionId/image",
73029
+ "id": "",
73380
73030
  "body": {
73381
73031
  "package": "himalaya",
73382
- "type": "Image",
73032
+ "type": "Text",
73383
73033
  "props": {
73384
- "url": "$item.collectionImage",
73385
- "contentDescription": "$item.collectionTitle",
73386
- "contentMode": "fill",
73387
- "height": 56,
73388
- "width": 56
73034
+ "text": "$item.title",
73035
+ "style": "bodyEmphasis",
73036
+ "maxLines": 2
73389
73037
  }
73390
- },
73391
- "modifiers": {
73392
- "cornerRadius": 12,
73393
- "hiddenPath": "$item.collectionNoImage"
73394
73038
  }
73395
73039
  },
73396
73040
  {
73397
73041
  "id": "",
73398
73042
  "body": {
73399
73043
  "package": "himalaya",
73400
- "type": "VStack",
73044
+ "type": "ZStack",
73401
73045
  "props": {
73402
- "spacing": 4,
73403
73046
  "alignment": "leading",
73404
73047
  "children": [
73405
73048
  {
73406
73049
  "id": "",
73407
73050
  "body": {
73408
- "package": "himalaya",
73409
- "type": "Text",
73410
- "props": {
73411
- "text": "$item.collectionTitle",
73412
- "style": "bodyEmphasis",
73413
- "maxLines": 2
73414
- }
73415
- }
73416
- },
73417
- {
73418
- "id": "",
73419
- "body": {
73420
- "package": "himalaya",
73421
- "type": "Text",
73422
- "props": {
73423
- "text": "$item.collectionSubtitle",
73424
- "style": "caption",
73425
- "color": "textSecondary",
73426
- "maxLines": 3,
73427
- "collapseWhenEmpty": true
73428
- }
73429
- }
73430
- },
73431
- {
73432
- "id": "",
73433
- "body": {
73434
- "package": "himalaya",
73435
- "type": "Text",
73436
- "props": {
73437
- "text": "$item.collectionMeta",
73438
- "style": "caption",
73439
- "color": "textSecondary",
73440
- "maxLines": 2,
73441
- "collapseWhenEmpty": true
73442
- }
73443
- }
73444
- },
73445
- {
73446
- "id": "",
73447
- "body": {
73448
- "package": "himalaya",
73449
- "type": "Text",
73450
- "props": {
73451
- "text": "Saved",
73452
- "style": "caption",
73453
- "color": "accentPrimary"
73454
- }
73455
- },
73456
- "modifiers": {
73457
- "hiddenPath": "$item.collectionNotSaved"
73458
- }
73459
- }
73460
- ]
73461
- }
73462
- },
73463
- "modifiers": {
73464
- "weight": 1
73465
- }
73466
- },
73467
- {
73468
- "id": "",
73469
- "body": {
73470
- "package": "himalaya",
73471
- "type": "HStack",
73472
- "props": {
73473
- "spacing": 8,
73474
- "children": [
73475
- {
73476
- "id": "himi_cms.rows.collection.list.$item.collectionId/select",
73477
- "body": {
73478
- "package": "himalaya",
73479
- "type": "Button",
73480
- "props": {
73481
- "title": "$item.collectionSelectLabel",
73482
- "style": "plain",
73483
- "fullWidth": false,
73484
- "action": {
73485
- "actionId": "tier5.himiBrandedCms.collectionSelect",
73486
- "params": {
73487
- "id": "$item.collectionId"
73488
- }
73489
- }
73490
- }
73491
- },
73492
- "modifiers": {
73493
- "hiddenPath": "$service:himiBrandedCms.collection.noSelection"
73494
- }
73495
- },
73496
- {
73497
- "id": "himi_cms.rows.collection.list.$item.collectionId/actions",
73498
- "body": {
73499
- "package": "himalaya",
73500
- "type": "Menu",
73501
- "props": {
73502
- "style": "dropdown",
73503
- "anchor": {
73504
- "id": "",
73505
- "body": {
73506
- "package": "himalaya",
73507
- "type": "Icon",
73508
- "props": {
73509
- "name": "ellipsis",
73510
- "size": 20
73511
- }
73512
- },
73513
- "modifiers": {
73514
- "width": 44,
73515
- "height": 44,
73516
- "accessibilityLabel": "$item.collectionActionsLabel"
73517
- }
73518
- },
73519
- "items": [
73520
- {
73521
- "id": "preview",
73522
- "label": "Quick preview",
73523
- "icon": "search",
73524
- "action": {
73525
- "actionId": "tier5.himiBrandedCms.collectionPreview",
73526
- "params": {
73527
- "id": "$item.collectionId"
73528
- }
73529
- }
73530
- },
73531
- {
73532
- "id": "save",
73533
- "label": "$item.collectionSaveLabel",
73534
- "icon": "bookmark",
73535
- "action": {
73536
- "actionId": "tier5.himiBrandedCms.collectionSave",
73537
- "params": {
73538
- "id": "$item.collectionId"
73539
- }
73540
- }
73541
- },
73542
- {
73543
- "id": "open",
73544
- "label": "Open details",
73545
- "icon": "chevron_right",
73546
- "action": {
73547
- "actionId": "himi.open",
73548
- "params": {
73549
- "screenId": "$item.detailScreenId",
73550
- "id": "$item.id"
73551
- }
73552
- }
73553
- }
73554
- ]
73555
- }
73556
- }
73557
- }
73558
- ]
73559
- }
73560
- },
73561
- "modifiers": {
73562
- "hiddenPath": "$item.collectionNoIdentity"
73563
- }
73564
- }
73565
- ]
73566
- }
73567
- }
73568
- }
73569
- ]
73570
- }
73571
- },
73572
- "modifiers": {
73573
- "onTap": {
73574
- "actionId": "himi.open",
73575
- "params": {
73576
- "screenId": "$item.detailScreenId",
73577
- "id": "$item.id"
73578
- }
73579
- },
73580
- "haptic": "light",
73581
- "background": {
73582
- "token": "surfaceElevated"
73583
- },
73584
- "border": {
73585
- "width": 1,
73586
- "color": {
73587
- "token": "border"
73588
- }
73589
- },
73590
- "cornerRadius": 12,
73591
- "padding": {
73592
- "top": 12,
73593
- "bottom": 12,
73594
- "leading": 12,
73595
- "trailing": 12
73596
- },
73597
- "fillMaxWidth": true,
73598
- "accessibilityLabel": "$item.collectionTitle",
73599
- "pressFeedback": "scale",
73600
- "transition": {
73601
- "enter": "fadeSlide",
73602
- "direction": "up",
73603
- "distance": 8
73604
- }
73605
- }
73606
- }
73607
- ],
73608
- "staggerMs": 30,
73609
- "animateItems": true,
73610
- "rowSwipeActions": {
73611
- "trailing": [
73612
- {
73613
- "label": "$item.collectionSaveLabel",
73614
- "icon": "bookmark",
73615
- "action": {
73616
- "actionId": "tier5.himiBrandedCms.collectionSave",
73617
- "params": {
73618
- "id": "$item.collectionId"
73619
- }
73620
- }
73621
- },
73622
- {
73623
- "label": "Preview",
73624
- "icon": "search",
73625
- "action": {
73626
- "actionId": "tier5.himiBrandedCms.collectionPreview",
73627
- "params": {
73628
- "id": "$item.collectionId"
73629
- }
73630
- }
73631
- }
73632
- ]
73633
- }
73634
- }
73635
- },
73636
- "modifiers": {
73637
- "hiddenPath": "$service:himiBrandedCms.collection.hideList"
73638
- }
73639
- },
73640
- {
73641
- "id": "",
73642
- "body": {
73643
- "package": "himalaya",
73644
- "type": "VStack",
73645
- "props": {
73646
- "spacing": 12,
73647
- "children": [
73648
- {
73649
- "id": "himi_cms.rows.collection.grid",
73650
- "body": {
73651
- "package": "himalaya",
73652
- "type": "Grid",
73653
- "props": {
73654
- "columns": 2,
73655
- "columnsMedium": 3,
73656
- "columnsExpanded": 4,
73657
- "spacing": 12,
73658
- "staggerMs": 30,
73659
- "itemsPath": "$service:himiBrandedCms.collection.items",
73660
- "items": [
73661
- {
73662
- "id": "himi_cms.rows.collection.grid.$item.collectionId",
73663
- "body": {
73664
- "package": "himalaya",
73665
- "type": "VStack",
73666
- "props": {
73667
- "spacing": 8,
73668
- "alignment": "leading",
73669
- "children": [
73670
- {
73671
- "id": "",
73672
- "body": {
73673
- "package": "himalaya",
73674
- "type": "VStack",
73675
- "props": {
73676
- "spacing": 4,
73677
- "alignment": "leading",
73678
- "children": [
73679
- {
73680
- "id": "",
73681
- "body": {
73682
- "package": "himalaya",
73683
- "type": "Text",
73684
- "props": {
73685
- "text": "$item.collectionTitle",
73686
- "style": "bodyEmphasis",
73687
- "maxLines": 2
73688
- }
73689
- }
73690
- },
73691
- {
73692
- "id": "",
73693
- "body": {
73694
- "package": "himalaya",
73695
- "type": "Text",
73696
- "props": {
73697
- "text": "$item.collectionSubtitle",
73698
- "style": "caption",
73699
- "color": "textSecondary",
73700
- "maxLines": 3,
73701
- "collapseWhenEmpty": true
73702
- }
73703
- }
73704
- },
73705
- {
73706
- "id": "",
73707
- "body": {
73708
- "package": "himalaya",
73709
- "type": "Text",
73710
- "props": {
73711
- "text": "$item.collectionMeta",
73712
- "style": "caption",
73713
- "color": "textSecondary",
73714
- "maxLines": 2,
73715
- "collapseWhenEmpty": true
73716
- }
73717
- }
73718
- },
73719
- {
73720
- "id": "",
73721
- "body": {
73722
- "package": "himalaya",
73723
- "type": "Text",
73724
- "props": {
73725
- "text": "Saved",
73726
- "style": "caption",
73727
- "color": "accentPrimary"
73728
- }
73729
- },
73730
- "modifiers": {
73731
- "hiddenPath": "$item.collectionNotSaved"
73732
- }
73733
- }
73734
- ]
73735
- }
73736
- }
73737
- },
73738
- {
73739
- "id": "",
73740
- "body": {
73741
- "package": "himalaya",
73742
- "type": "HStack",
73743
- "props": {
73744
- "spacing": 8,
73745
- "children": [
73746
- {
73747
- "id": "himi_cms.rows.collection.grid.$item.collectionId/select",
73748
- "body": {
73749
- "package": "himalaya",
73750
- "type": "Button",
73751
- "props": {
73752
- "title": "$item.collectionSelectLabel",
73753
- "style": "plain",
73754
- "fullWidth": false,
73755
- "action": {
73756
- "actionId": "tier5.himiBrandedCms.collectionSelect",
73757
- "params": {
73758
- "id": "$item.collectionId"
73759
- }
73760
- }
73761
- }
73762
- },
73763
- "modifiers": {
73764
- "hiddenPath": "$service:himiBrandedCms.collection.noSelection"
73765
- }
73766
- },
73767
- {
73768
- "id": "",
73769
- "body": {
73770
- "package": "himalaya",
73771
- "type": "Spacer",
73772
- "props": {}
73773
- }
73774
- },
73775
- {
73776
- "id": "himi_cms.rows.collection.grid.$item.collectionId/actions",
73777
- "body": {
73778
- "package": "himalaya",
73779
- "type": "Menu",
73780
- "props": {
73781
- "style": "dropdown",
73782
- "anchor": {
73783
- "id": "",
73784
- "body": {
73785
- "package": "himalaya",
73786
- "type": "Icon",
73787
- "props": {
73788
- "name": "ellipsis",
73789
- "size": 20
73790
- }
73791
- },
73792
- "modifiers": {
73793
- "width": 44,
73794
- "height": 44,
73795
- "accessibilityLabel": "$item.collectionActionsLabel"
73796
- }
73797
- },
73798
- "items": [
73799
- {
73800
- "id": "preview",
73801
- "label": "Quick preview",
73802
- "icon": "search",
73803
- "action": {
73804
- "actionId": "tier5.himiBrandedCms.collectionPreview",
73805
- "params": {
73806
- "id": "$item.collectionId"
73807
- }
73808
- }
73809
- },
73810
- {
73811
- "id": "save",
73812
- "label": "$item.collectionSaveLabel",
73813
- "icon": "bookmark",
73814
- "action": {
73815
- "actionId": "tier5.himiBrandedCms.collectionSave",
73816
- "params": {
73817
- "id": "$item.collectionId"
73818
- }
73819
- }
73820
- },
73821
- {
73822
- "id": "open",
73823
- "label": "Open details",
73824
- "icon": "chevron_right",
73825
- "action": {
73826
- "actionId": "himi.open",
73827
- "params": {
73828
- "screenId": "$item.detailScreenId",
73829
- "id": "$item.id"
73830
- }
73831
- }
73832
- }
73833
- ]
73834
- }
73835
- }
73836
- }
73837
- ]
73838
- }
73839
- },
73840
- "modifiers": {
73841
- "hiddenPath": "$item.collectionNoIdentity"
73842
- }
73843
- }
73844
- ]
73845
- }
73846
- },
73847
- "modifiers": {
73848
- "onTap": {
73849
- "actionId": "himi.open",
73850
- "params": {
73851
- "screenId": "$item.detailScreenId",
73852
- "id": "$item.id"
73853
- }
73854
- },
73855
- "haptic": "light",
73856
- "background": {
73857
- "token": "surfaceElevated"
73858
- },
73859
- "border": {
73860
- "width": 1,
73861
- "color": {
73862
- "token": "border"
73863
- }
73864
- },
73865
- "cornerRadius": 12,
73866
- "padding": {
73867
- "top": 12,
73868
- "bottom": 12,
73869
- "leading": 12,
73870
- "trailing": 12
73871
- },
73872
- "fillMaxWidth": true,
73873
- "accessibilityLabel": "$item.collectionTitle",
73874
- "pressFeedback": "scale",
73875
- "transition": {
73876
- "enter": "fadeSlide",
73877
- "direction": "up",
73878
- "distance": 8
73879
- }
73880
- }
73881
- }
73882
- ]
73883
- }
73884
- }
73885
- }
73886
- ]
73887
- }
73888
- },
73889
- "modifiers": {
73890
- "hiddenPath": "$service:himiBrandedCms.collection.hideGrid"
73891
- }
73892
- }
73893
- ]
73894
- }
73895
- },
73896
- "modifiers": {
73897
- "hiddenPath": "$service:himiBrandedCms.collection.hideComfortable",
73898
- "padding": {
73899
- "bottom": 12
73900
- }
73901
- }
73902
- },
73903
- {
73904
- "id": "",
73905
- "body": {
73906
- "package": "himalaya",
73907
- "type": "VStack",
73908
- "props": {
73909
- "spacing": 0,
73910
- "children": [
73911
- {
73912
- "id": "himi_cms.rows.collection.compact-list",
73913
- "body": {
73914
- "package": "himalaya",
73915
- "type": "LazyList",
73916
- "props": {
73917
- "columns": 1,
73918
- "spacing": 6,
73919
- "itemsPath": "$service:himiBrandedCms.collection.items",
73920
- "items": [
73921
- {
73922
- "id": "himi_cms.rows.collection.compact-list.$item.collectionId",
73923
- "body": {
73924
- "package": "himalaya",
73925
- "type": "VStack",
73926
- "props": {
73927
- "spacing": 4,
73928
- "children": [
73929
- {
73930
- "id": "",
73931
- "body": {
73932
- "package": "himalaya",
73933
- "type": "HStack",
73934
- "props": {
73935
- "spacing": 12,
73936
- "children": [
73937
- {
73938
- "id": "himi_cms.rows.collection.compact-list.$item.collectionId/image",
73939
- "body": {
73940
- "package": "himalaya",
73941
- "type": "Image",
73942
- "props": {
73943
- "url": "$item.collectionImage",
73944
- "contentDescription": "$item.collectionTitle",
73945
- "contentMode": "fill",
73946
- "height": 56,
73947
- "width": 56
73948
- }
73949
- },
73950
- "modifiers": {
73951
- "cornerRadius": 12,
73952
- "hiddenPath": "$item.collectionNoImage"
73953
- }
73954
- },
73955
- {
73956
- "id": "",
73957
- "body": {
73958
- "package": "himalaya",
73959
- "type": "VStack",
73960
- "props": {
73961
- "spacing": 4,
73962
- "alignment": "leading",
73963
- "children": [
73964
- {
73965
- "id": "",
73966
- "body": {
73967
- "package": "himalaya",
73968
- "type": "Text",
73969
- "props": {
73970
- "text": "$item.collectionTitle",
73971
- "style": "bodyEmphasis",
73972
- "maxLines": 2
73973
- }
73974
- }
73975
- },
73976
- {
73977
- "id": "",
73978
- "body": {
73979
- "package": "himalaya",
73980
- "type": "Text",
73981
- "props": {
73982
- "text": "$item.collectionSubtitle",
73983
- "style": "caption",
73984
- "color": "textSecondary",
73985
- "maxLines": 1,
73986
- "collapseWhenEmpty": true
73987
- }
73988
- }
73989
- },
73990
- {
73991
- "id": "",
73992
- "body": {
73993
- "package": "himalaya",
73994
- "type": "Text",
73995
- "props": {
73996
- "text": "$item.collectionMeta",
73997
- "style": "caption",
73998
- "color": "textSecondary",
73999
- "maxLines": 2,
74000
- "collapseWhenEmpty": true
74001
- }
74002
- }
74003
- },
74004
- {
74005
- "id": "",
74006
- "body": {
74007
- "package": "himalaya",
74008
- "type": "Text",
74009
- "props": {
74010
- "text": "Saved",
74011
- "style": "caption",
74012
- "color": "accentPrimary"
74013
- }
74014
- },
74015
- "modifiers": {
74016
- "hiddenPath": "$item.collectionNotSaved"
74017
- }
74018
- }
74019
- ]
74020
- }
74021
- },
74022
- "modifiers": {
74023
- "weight": 1
74024
- }
74025
- },
74026
- {
74027
- "id": "",
74028
- "body": {
74029
- "package": "himalaya",
74030
- "type": "HStack",
74031
- "props": {
74032
- "spacing": 8,
74033
- "children": [
74034
- {
74035
- "id": "himi_cms.rows.collection.compact-list.$item.collectionId/select",
74036
- "body": {
74037
- "package": "himalaya",
74038
- "type": "Button",
74039
- "props": {
74040
- "title": "$item.collectionSelectLabel",
74041
- "style": "plain",
74042
- "fullWidth": false,
74043
- "action": {
74044
- "actionId": "tier5.himiBrandedCms.collectionSelect",
74045
- "params": {
74046
- "id": "$item.collectionId"
74047
- }
74048
- }
74049
- }
74050
- },
74051
- "modifiers": {
74052
- "hiddenPath": "$service:himiBrandedCms.collection.noSelection"
74053
- }
74054
- },
74055
- {
74056
- "id": "himi_cms.rows.collection.compact-list.$item.collectionId/actions",
74057
- "body": {
74058
- "package": "himalaya",
74059
- "type": "Menu",
74060
- "props": {
74061
- "style": "dropdown",
74062
- "anchor": {
74063
- "id": "",
74064
- "body": {
74065
- "package": "himalaya",
74066
- "type": "Icon",
74067
- "props": {
74068
- "name": "ellipsis",
74069
- "size": 20
74070
- }
74071
- },
74072
- "modifiers": {
74073
- "width": 44,
74074
- "height": 44,
74075
- "accessibilityLabel": "$item.collectionActionsLabel"
74076
- }
74077
- },
74078
- "items": [
74079
- {
74080
- "id": "preview",
74081
- "label": "Quick preview",
74082
- "icon": "search",
74083
- "action": {
74084
- "actionId": "tier5.himiBrandedCms.collectionPreview",
74085
- "params": {
74086
- "id": "$item.collectionId"
74087
- }
74088
- }
74089
- },
74090
- {
74091
- "id": "save",
74092
- "label": "$item.collectionSaveLabel",
74093
- "icon": "bookmark",
74094
- "action": {
74095
- "actionId": "tier5.himiBrandedCms.collectionSave",
74096
- "params": {
74097
- "id": "$item.collectionId"
74098
- }
74099
- }
74100
- },
74101
- {
74102
- "id": "open",
74103
- "label": "Open details",
74104
- "icon": "chevron_right",
74105
- "action": {
74106
- "actionId": "himi.open",
74107
- "params": {
74108
- "screenId": "$item.detailScreenId",
74109
- "id": "$item.id"
74110
- }
74111
- }
74112
- }
74113
- ]
74114
- }
74115
- }
74116
- }
74117
- ]
74118
- }
74119
- },
74120
- "modifiers": {
74121
- "hiddenPath": "$item.collectionNoIdentity"
74122
- }
74123
- }
74124
- ]
74125
- }
74126
- }
74127
- }
74128
- ]
74129
- }
74130
- },
74131
- "modifiers": {
74132
- "onTap": {
74133
- "actionId": "himi.open",
74134
- "params": {
74135
- "screenId": "$item.detailScreenId",
74136
- "id": "$item.id"
74137
- }
74138
- },
74139
- "haptic": "light",
74140
- "background": {
74141
- "token": "surfaceElevated"
74142
- },
74143
- "border": {
74144
- "width": 1,
74145
- "color": {
74146
- "token": "border"
74147
- }
74148
- },
74149
- "cornerRadius": 12,
74150
- "padding": {
74151
- "top": 8,
74152
- "bottom": 8,
74153
- "leading": 12,
74154
- "trailing": 12
74155
- },
74156
- "fillMaxWidth": true,
74157
- "accessibilityLabel": "$item.collectionTitle",
74158
- "pressFeedback": "scale",
74159
- "transition": {
74160
- "enter": "fadeSlide",
74161
- "direction": "up",
74162
- "distance": 8
74163
- }
74164
- }
74165
- }
74166
- ],
74167
- "staggerMs": 30,
74168
- "animateItems": true,
74169
- "rowSwipeActions": {
74170
- "trailing": [
74171
- {
74172
- "label": "$item.collectionSaveLabel",
74173
- "icon": "bookmark",
74174
- "action": {
74175
- "actionId": "tier5.himiBrandedCms.collectionSave",
74176
- "params": {
74177
- "id": "$item.collectionId"
74178
- }
74179
- }
74180
- },
74181
- {
74182
- "label": "Preview",
74183
- "icon": "search",
74184
- "action": {
74185
- "actionId": "tier5.himiBrandedCms.collectionPreview",
74186
- "params": {
74187
- "id": "$item.collectionId"
74188
- }
74189
- }
74190
- }
74191
- ]
74192
- }
74193
- }
74194
- },
74195
- "modifiers": {
74196
- "hiddenPath": "$service:himiBrandedCms.collection.hideList"
74197
- }
74198
- },
74199
- {
74200
- "id": "",
74201
- "body": {
74202
- "package": "himalaya",
74203
- "type": "VStack",
74204
- "props": {
74205
- "spacing": 12,
74206
- "children": [
74207
- {
74208
- "id": "himi_cms.rows.collection.compact-grid",
74209
- "body": {
74210
- "package": "himalaya",
74211
- "type": "Grid",
74212
- "props": {
74213
- "columns": 2,
74214
- "columnsMedium": 3,
74215
- "columnsExpanded": 4,
74216
- "spacing": 8,
74217
- "staggerMs": 30,
74218
- "itemsPath": "$service:himiBrandedCms.collection.items",
74219
- "items": [
74220
- {
74221
- "id": "himi_cms.rows.collection.compact-grid.$item.collectionId",
74222
- "body": {
74223
- "package": "himalaya",
74224
- "type": "VStack",
74225
- "props": {
74226
- "spacing": 8,
74227
- "alignment": "leading",
74228
- "children": [
74229
- {
74230
- "id": "",
74231
- "body": {
74232
- "package": "himalaya",
74233
- "type": "VStack",
74234
- "props": {
74235
- "spacing": 4,
74236
- "alignment": "leading",
74237
- "children": [
74238
- {
74239
- "id": "",
74240
- "body": {
74241
- "package": "himalaya",
74242
- "type": "Text",
74243
- "props": {
74244
- "text": "$item.collectionTitle",
74245
- "style": "bodyEmphasis",
74246
- "maxLines": 2
74247
- }
74248
- }
74249
- },
74250
- {
74251
- "id": "",
74252
- "body": {
74253
- "package": "himalaya",
74254
- "type": "Text",
74255
- "props": {
74256
- "text": "$item.collectionSubtitle",
74257
- "style": "caption",
74258
- "color": "textSecondary",
74259
- "maxLines": 1,
74260
- "collapseWhenEmpty": true
74261
- }
74262
- }
74263
- },
74264
- {
74265
- "id": "",
74266
- "body": {
74267
- "package": "himalaya",
74268
- "type": "Text",
74269
- "props": {
74270
- "text": "$item.collectionMeta",
74271
- "style": "caption",
74272
- "color": "textSecondary",
74273
- "maxLines": 2,
74274
- "collapseWhenEmpty": true
74275
- }
74276
- }
74277
- },
74278
- {
74279
- "id": "",
74280
- "body": {
74281
- "package": "himalaya",
74282
- "type": "Text",
74283
- "props": {
74284
- "text": "Saved",
74285
- "style": "caption",
74286
- "color": "accentPrimary"
74287
- }
74288
- },
74289
- "modifiers": {
74290
- "hiddenPath": "$item.collectionNotSaved"
74291
- }
74292
- }
74293
- ]
74294
- }
74295
- }
74296
- },
74297
- {
74298
- "id": "",
74299
- "body": {
74300
- "package": "himalaya",
74301
- "type": "HStack",
74302
- "props": {
74303
- "spacing": 8,
74304
- "children": [
74305
- {
74306
- "id": "himi_cms.rows.collection.compact-grid.$item.collectionId/select",
74307
- "body": {
74308
- "package": "himalaya",
74309
- "type": "Button",
74310
- "props": {
74311
- "title": "$item.collectionSelectLabel",
74312
- "style": "plain",
74313
- "fullWidth": false,
74314
- "action": {
74315
- "actionId": "tier5.himiBrandedCms.collectionSelect",
74316
- "params": {
74317
- "id": "$item.collectionId"
74318
- }
74319
- }
74320
- }
74321
- },
74322
- "modifiers": {
74323
- "hiddenPath": "$service:himiBrandedCms.collection.noSelection"
74324
- }
74325
- },
74326
- {
74327
- "id": "",
74328
- "body": {
74329
- "package": "himalaya",
74330
- "type": "Spacer",
74331
- "props": {}
74332
- }
74333
- },
74334
- {
74335
- "id": "himi_cms.rows.collection.compact-grid.$item.collectionId/actions",
74336
- "body": {
74337
- "package": "himalaya",
74338
- "type": "Menu",
74339
- "props": {
74340
- "style": "dropdown",
74341
- "anchor": {
74342
- "id": "",
74343
- "body": {
74344
- "package": "himalaya",
74345
- "type": "Icon",
74346
- "props": {
74347
- "name": "ellipsis",
74348
- "size": 20
74349
- }
74350
- },
74351
- "modifiers": {
74352
- "width": 44,
74353
- "height": 44,
74354
- "accessibilityLabel": "$item.collectionActionsLabel"
74355
- }
74356
- },
74357
- "items": [
74358
- {
74359
- "id": "preview",
74360
- "label": "Quick preview",
74361
- "icon": "search",
74362
- "action": {
74363
- "actionId": "tier5.himiBrandedCms.collectionPreview",
74364
- "params": {
74365
- "id": "$item.collectionId"
74366
- }
74367
- }
74368
- },
74369
- {
74370
- "id": "save",
74371
- "label": "$item.collectionSaveLabel",
74372
- "icon": "bookmark",
74373
- "action": {
74374
- "actionId": "tier5.himiBrandedCms.collectionSave",
74375
- "params": {
74376
- "id": "$item.collectionId"
74377
- }
74378
- }
74379
- },
74380
- {
74381
- "id": "open",
74382
- "label": "Open details",
74383
- "icon": "chevron_right",
74384
- "action": {
74385
- "actionId": "himi.open",
74386
- "params": {
74387
- "screenId": "$item.detailScreenId",
74388
- "id": "$item.id"
74389
- }
74390
- }
74391
- }
74392
- ]
74393
- }
74394
- }
74395
- }
74396
- ]
74397
- }
74398
- },
74399
- "modifiers": {
74400
- "hiddenPath": "$item.collectionNoIdentity"
74401
- }
74402
- }
74403
- ]
74404
- }
74405
- },
74406
- "modifiers": {
74407
- "onTap": {
74408
- "actionId": "himi.open",
74409
- "params": {
74410
- "screenId": "$item.detailScreenId",
74411
- "id": "$item.id"
74412
- }
74413
- },
74414
- "haptic": "light",
74415
- "background": {
74416
- "token": "surfaceElevated"
74417
- },
74418
- "border": {
74419
- "width": 1,
74420
- "color": {
74421
- "token": "border"
74422
- }
74423
- },
74424
- "cornerRadius": 12,
74425
- "padding": {
74426
- "top": 8,
74427
- "bottom": 8,
74428
- "leading": 12,
74429
- "trailing": 12
74430
- },
74431
- "fillMaxWidth": true,
74432
- "accessibilityLabel": "$item.collectionTitle",
74433
- "pressFeedback": "scale",
74434
- "transition": {
74435
- "enter": "fadeSlide",
74436
- "direction": "up",
74437
- "distance": 8
74438
- }
74439
- }
74440
- }
74441
- ]
74442
- }
74443
- }
74444
- }
74445
- ]
74446
- }
74447
- },
74448
- "modifiers": {
74449
- "hiddenPath": "$service:himiBrandedCms.collection.hideGrid"
74450
- }
74451
- }
74452
- ]
74453
- }
74454
- },
74455
- "modifiers": {
74456
- "hiddenPath": "$service:himiBrandedCms.collection.hideCompact",
74457
- "padding": {
74458
- "bottom": 12
74459
- }
74460
- }
74461
- },
74462
- {
74463
- "id": "",
74464
- "body": {
74465
- "package": "himalaya",
74466
- "type": "VStack",
74467
- "props": {
74468
- "spacing": 8,
74469
- "children": [
74470
- {
74471
- "id": "",
74472
- "body": {
74473
- "package": "himalaya",
74474
- "type": "Text",
74475
- "props": {
74476
- "text": "No matching items",
74477
- "style": "bodyEmphasis"
74478
- }
74479
- }
74480
- },
74481
- {
74482
- "id": "btn_tier5_himibrandedcms_collectionclear",
74483
- "body": {
74484
- "package": "himalaya",
74485
- "type": "Button",
74486
- "props": {
74487
- "title": "Clear filters",
74488
- "style": "secondary",
74489
- "action": {
74490
- "actionId": "tier5.himiBrandedCms.collectionClear"
74491
- }
74492
- }
74493
- }
74494
- }
74495
- ]
74496
- }
74497
- },
74498
- "modifiers": {
74499
- "hiddenPath": "$service:himiBrandedCms.collection.noEmpty",
74500
- "padding": {
74501
- "bottom": 12
74502
- }
74503
- }
74504
- },
74505
- {
74506
- "id": "himi_cms.rows.collection.sheet",
74507
- "body": {
74508
- "package": "himalaya",
74509
- "type": "BottomSheet",
74510
- "props": {
74511
- "presentedPath": "$service:himiBrandedCms.collection.filtersPresented",
74512
- "dismissible": true,
74513
- "showGrabber": true,
74514
- "onDismiss": {
74515
- "actionId": "tier5.himiBrandedCms.collectionDismissFilters"
74516
- },
74517
- "content": {
74518
- "id": "",
74519
- "body": {
74520
- "package": "himalaya",
74521
- "type": "VStack",
74522
- "props": {
74523
- "spacing": 16,
74524
- "children": [
74525
- {
74526
- "id": "",
74527
- "body": {
74528
- "package": "himalaya",
74529
- "type": "Text",
74530
- "props": {
74531
- "text": "Make this view yours",
74532
- "style": "title2"
74533
- }
74534
- }
74535
- },
74536
- {
74537
- "id": "",
74538
- "body": {
74539
- "package": "himalaya",
74540
- "type": "Text",
74541
- "props": {
74542
- "text": "$service:himiBrandedCms.collection.persistenceLabel",
74543
- "style": "caption",
74544
- "color": "textSecondary"
74545
- }
74546
- }
74547
- },
74548
- {
74549
- "id": "",
74550
- "body": {
74551
- "package": "himalaya",
74552
- "type": "Text",
74553
- "props": {
74554
- "text": "Sort",
74555
- "style": "bodyEmphasis"
74556
- }
74557
- }
74558
- },
74559
- {
74560
- "id": "segmented_tier5_himibrandedcms_collectionsort",
74561
- "body": {
74562
- "package": "himalaya",
74563
- "type": "SegmentedControl",
74564
- "props": {
74565
- "options": [
74566
- {
74567
- "id": "default",
74568
- "label": "Original"
74569
- },
74570
- {
74571
- "id": "az",
74572
- "label": "A–Z"
74573
- },
74574
- {
74575
- "id": "za",
74576
- "label": "Z–A"
74577
- }
74578
- ],
74579
- "selectedId": "$service:himiBrandedCms.collection.sort",
74580
- "onChange": {
74581
- "actionId": "tier5.himiBrandedCms.collectionSort"
74582
- }
74583
- }
74584
- }
74585
- },
74586
- {
74587
- "id": "",
74588
- "body": {
74589
- "package": "himalaya",
74590
- "type": "Text",
74591
- "props": {
74592
- "text": "Density",
74593
- "style": "bodyEmphasis"
74594
- }
74595
- }
74596
- },
74597
- {
74598
- "id": "segmented_tier5_himibrandedcms_collectiondensity",
74599
- "body": {
74600
- "package": "himalaya",
74601
- "type": "SegmentedControl",
74602
- "props": {
74603
- "options": [
74604
- {
74605
- "id": "comfortable",
74606
- "label": "Comfortable"
74607
- },
74608
- {
74609
- "id": "compact",
74610
- "label": "Compact"
74611
- }
74612
- ],
74613
- "selectedId": "$service:himiBrandedCms.collection.density",
74614
- "onChange": {
74615
- "actionId": "tier5.himiBrandedCms.collectionDensity"
74616
- }
74617
- }
74618
- }
74619
- },
74620
- {
74621
- "id": "",
74622
- "body": {
74623
- "package": "himalaya",
74624
- "type": "Text",
74625
- "props": {
74626
- "text": "Saved views",
74627
- "style": "bodyEmphasis"
74628
- }
74629
- }
74630
- },
74631
- {
74632
- "id": "",
74633
- "body": {
74634
- "package": "himalaya",
74635
- "type": "LazyList",
74636
- "props": {
74637
- "itemsPath": "$service:himiBrandedCms.collection.savedViews",
74638
- "items": [
74639
- {
74640
- "id": "",
74641
- "body": {
74642
- "package": "himalaya",
74643
- "type": "HStack",
74644
- "props": {
74645
- "spacing": 8,
74646
- "children": [
74647
- {
74648
- "id": "btn_tier5_himibrandedcms_collectionapplyview",
74649
- "body": {
74650
- "package": "himalaya",
74651
- "type": "Button",
74652
- "props": {
74653
- "title": "$item.name",
74654
- "style": "secondary",
74655
- "action": {
74656
- "actionId": "tier5.himiBrandedCms.collectionApplyView",
74657
- "params": {
74658
- "id": "$item.id"
74659
- }
74660
- }
74661
- }
74662
- }
74663
- },
74664
- {
74665
- "id": "btn_tier5_himibrandedcms_collectionremoveview",
74666
- "body": {
74667
- "package": "himalaya",
74668
- "type": "Button",
74669
- "props": {
74670
- "title": "Remove",
74671
- "style": "plain",
74672
- "action": {
74673
- "actionId": "tier5.himiBrandedCms.collectionRemoveView",
74674
- "params": {
74675
- "id": "$item.id"
74676
- }
74677
- }
74678
- }
74679
- }
74680
- }
74681
- ]
74682
- }
74683
- }
74684
- }
74685
- ]
74686
- }
74687
- },
74688
- "modifiers": {
74689
- "hiddenPath": "$service:himiBrandedCms.collection.noSavedViews"
74690
- }
74691
- },
74692
- {
74693
- "id": "himi_cms.rows.collection.view-name",
74694
- "body": {
74695
- "package": "himalaya",
74696
- "type": "TextField",
74697
- "props": {
74698
- "placeholder": "Name this view",
74699
- "valuePath": "$service:himiBrandedCms.collection.viewName",
74700
- "onChange": {
74701
- "actionId": "tier5.himiBrandedCms.collectionViewName"
74702
- }
74703
- }
74704
- }
74705
- },
74706
- {
74707
- "id": "himi_cms.rows.collection.remember-view",
74708
- "body": {
74709
- "package": "himalaya",
74710
- "type": "Button",
74711
- "props": {
74712
- "title": "Save current view",
74713
- "style": "secondary",
74714
- "action": {
74715
- "actionId": "tier5.himiBrandedCms.collectionRememberView"
74716
- }
74717
- }
74718
- }
74719
- },
74720
- {
74721
- "id": "",
74722
- "body": {
74723
- "package": "himalaya",
74724
- "type": "Text",
74725
- "props": {
74726
- "text": "$service:himiBrandedCms.collection.viewMessage",
74727
- "style": "caption",
74728
- "collapseWhenEmpty": true
74729
- }
74730
- }
74731
- },
74732
- {
74733
- "id": "btn_tier5_himibrandedcms_collectiondismissfilters",
74734
- "body": {
74735
- "package": "himalaya",
74736
- "type": "Button",
74737
- "props": {
74738
- "title": "Done",
74739
- "style": "primary",
74740
- "action": {
74741
- "actionId": "tier5.himiBrandedCms.collectionDismissFilters"
74742
- },
74743
- "fullWidth": true
74744
- }
74745
- }
74746
- }
74747
- ]
74748
- }
74749
- },
74750
- "modifiers": {
74751
- "padding": {
74752
- "leading": 20,
74753
- "trailing": 20,
74754
- "top": 20,
74755
- "bottom": 24
74756
- }
74757
- }
74758
- }
74759
- }
74760
- }
74761
- },
74762
- {
74763
- "id": "himi_cms.rows.collection.preview",
74764
- "body": {
74765
- "package": "himalaya",
74766
- "type": "BottomSheet",
74767
- "props": {
74768
- "presentedPath": "$service:himiBrandedCms.collection.previewPresented",
74769
- "dismissible": true,
74770
- "showGrabber": true,
74771
- "onDismiss": {
74772
- "actionId": "tier5.himiBrandedCms.collectionDismissPreview"
74773
- },
74774
- "content": {
74775
- "id": "",
74776
- "body": {
74777
- "package": "himalaya",
74778
- "type": "Grid",
74779
- "props": {
74780
- "columns": 1,
74781
- "itemsPath": "$service:himiBrandedCms.collection.preview",
74782
- "items": [
74783
- {
74784
- "id": "himi_cms.rows.collection.preview.$item.collectionId",
74785
- "body": {
74786
- "package": "himalaya",
74787
- "type": "VStack",
74788
- "props": {
74789
- "spacing": 8,
74790
- "alignment": "leading",
74791
- "children": [
74792
- {
74793
- "id": "",
74794
- "body": {
74795
- "package": "himalaya",
74796
- "type": "VStack",
74797
- "props": {
74798
- "spacing": 4,
74799
- "alignment": "leading",
74800
- "children": [
74801
- {
74802
- "id": "",
74803
- "body": {
74804
- "package": "himalaya",
74805
- "type": "Text",
74806
- "props": {
74807
- "text": "$item.collectionTitle",
74808
- "style": "bodyEmphasis",
74809
- "maxLines": 2
74810
- }
74811
- }
74812
- },
74813
- {
74814
- "id": "",
74815
- "body": {
74816
- "package": "himalaya",
74817
- "type": "Text",
74818
- "props": {
74819
- "text": "$item.collectionSubtitle",
74820
- "style": "caption",
74821
- "color": "textSecondary",
74822
- "maxLines": 3,
74823
- "collapseWhenEmpty": true
74824
- }
74825
- }
74826
- },
74827
- {
74828
- "id": "",
74829
- "body": {
74830
- "package": "himalaya",
74831
- "type": "Text",
74832
- "props": {
74833
- "text": "$item.collectionMeta",
74834
- "style": "caption",
74835
- "color": "textSecondary",
74836
- "maxLines": 2,
74837
- "collapseWhenEmpty": true
74838
- }
74839
- }
74840
- },
74841
- {
74842
- "id": "",
74843
- "body": {
74844
- "package": "himalaya",
74845
- "type": "Text",
74846
- "props": {
74847
- "text": "Saved",
74848
- "style": "caption",
74849
- "color": "accentPrimary"
74850
- }
74851
- },
74852
- "modifiers": {
74853
- "hiddenPath": "$item.collectionNotSaved"
74854
- }
74855
- }
74856
- ]
74857
- }
74858
- }
74859
- },
74860
- {
74861
- "id": "",
74862
- "body": {
74863
- "package": "himalaya",
74864
- "type": "HStack",
74865
- "props": {
74866
- "spacing": 8,
74867
- "children": [
74868
- {
74869
- "id": "himi_cms.rows.collection.preview.$item.collectionId/select",
74870
- "body": {
74871
- "package": "himalaya",
74872
- "type": "Button",
74873
- "props": {
74874
- "title": "$item.collectionSelectLabel",
74875
- "style": "plain",
74876
- "fullWidth": false,
74877
- "action": {
74878
- "actionId": "tier5.himiBrandedCms.collectionSelect",
74879
- "params": {
74880
- "id": "$item.collectionId"
74881
- }
74882
- }
74883
- }
74884
- },
74885
- "modifiers": {
74886
- "hiddenPath": "$service:himiBrandedCms.collection.noSelection"
74887
- }
74888
- },
74889
- {
74890
- "id": "",
74891
- "body": {
74892
- "package": "himalaya",
74893
- "type": "Spacer",
74894
- "props": {}
74895
- }
74896
- },
74897
- {
74898
- "id": "himi_cms.rows.collection.preview.$item.collectionId/actions",
74899
- "body": {
74900
- "package": "himalaya",
74901
- "type": "Menu",
74902
- "props": {
74903
- "style": "dropdown",
74904
- "anchor": {
74905
- "id": "",
74906
- "body": {
74907
- "package": "himalaya",
74908
- "type": "Icon",
74909
- "props": {
74910
- "name": "ellipsis",
74911
- "size": 20
74912
- }
74913
- },
74914
- "modifiers": {
74915
- "width": 44,
74916
- "height": 44,
74917
- "accessibilityLabel": "$item.collectionActionsLabel"
74918
- }
74919
- },
74920
- "items": [
74921
- {
74922
- "id": "preview",
74923
- "label": "Quick preview",
74924
- "icon": "search",
74925
- "action": {
74926
- "actionId": "tier5.himiBrandedCms.collectionPreview",
74927
- "params": {
74928
- "id": "$item.collectionId"
73051
+ "package": "himalaya",
73052
+ "type": "Text",
73053
+ "props": {
73054
+ "text": "$item.title",
73055
+ "style": "footnote",
73056
+ "maxLines": 1
73057
+ }
73058
+ },
73059
+ "modifiers": {
73060
+ "opacity": 0,
73061
+ "accessibilityHidden": true
74929
73062
  }
74930
- }
74931
- },
74932
- {
74933
- "id": "save",
74934
- "label": "$item.collectionSaveLabel",
74935
- "icon": "bookmark",
74936
- "action": {
74937
- "actionId": "tier5.himiBrandedCms.collectionSave",
74938
- "params": {
74939
- "id": "$item.collectionId"
73063
+ },
73064
+ {
73065
+ "id": "himi_cms.row_count_skeleton",
73066
+ "body": {
73067
+ "package": "himalaya",
73068
+ "type": "Skeleton",
73069
+ "props": {
73070
+ "height": 14,
73071
+ "cornerRadius": 8
73072
+ }
73073
+ },
73074
+ "modifiers": {
73075
+ "height": 14,
73076
+ "background": {
73077
+ "token": "surfaceSecondary"
73078
+ },
73079
+ "cornerRadius": 8,
73080
+ "accessibilityRole": "decorative",
73081
+ "width": 96
74940
73082
  }
74941
73083
  }
74942
- },
74943
- {
74944
- "id": "open",
74945
- "label": "Open details",
74946
- "icon": "chevron_right",
74947
- "action": {
74948
- "actionId": "himi.open",
74949
- "params": {
74950
- "screenId": "$item.detailScreenId",
74951
- "id": "$item.id"
73084
+ ]
73085
+ }
73086
+ },
73087
+ "modifiers": {
73088
+ "accessibilityHidden": true,
73089
+ "hiddenPath": "$item.noCountLoading"
73090
+ }
73091
+ },
73092
+ {
73093
+ "id": "himi_cms.row_count",
73094
+ "body": {
73095
+ "package": "himalaya",
73096
+ "type": "Text",
73097
+ "props": {
73098
+ "text": "$item.countText",
73099
+ "style": "footnote",
73100
+ "color": "textSecondary",
73101
+ "maxLines": 1
73102
+ }
73103
+ },
73104
+ "modifiers": {
73105
+ "hiddenPath": "$item.noCountText"
73106
+ }
73107
+ },
73108
+ {
73109
+ "id": "himi_cms.row_members_only",
73110
+ "body": {
73111
+ "package": "himalaya",
73112
+ "type": "HStack",
73113
+ "props": {
73114
+ "spacing": 6,
73115
+ "alignment": "center",
73116
+ "children": [
73117
+ {
73118
+ "id": "",
73119
+ "body": {
73120
+ "package": "himalaya",
73121
+ "type": "Icon",
73122
+ "props": {
73123
+ "name": "lock",
73124
+ "size": 14,
73125
+ "tint": "textSecondary"
73126
+ }
73127
+ },
73128
+ "modifiers": {
73129
+ "accessibilityRole": "decorative"
73130
+ }
73131
+ },
73132
+ {
73133
+ "id": "",
73134
+ "body": {
73135
+ "package": "himalaya",
73136
+ "type": "Text",
73137
+ "props": {
73138
+ "text": "$item.membersOnlyText",
73139
+ "style": "footnote",
73140
+ "color": "textSecondary",
73141
+ "maxLines": 1
73142
+ }
74952
73143
  }
74953
73144
  }
74954
- }
74955
- ]
73145
+ ]
73146
+ }
73147
+ },
73148
+ "modifiers": {
73149
+ "hiddenPath": "$item.noMembersOnly"
74956
73150
  }
74957
73151
  }
74958
- }
74959
- ]
73152
+ ]
73153
+ }
73154
+ },
73155
+ "modifiers": {
73156
+ "weight": 1
74960
73157
  }
74961
73158
  },
74962
- "modifiers": {
74963
- "hiddenPath": "$item.collectionNoIdentity"
73159
+ {
73160
+ "id": "",
73161
+ "body": {
73162
+ "package": "himalaya",
73163
+ "type": "Icon",
73164
+ "props": {
73165
+ "name": "chevron_right",
73166
+ "size": 16,
73167
+ "tint": "textTertiary"
73168
+ }
73169
+ },
73170
+ "modifiers": {
73171
+ "accessibilityRole": "decorative"
73172
+ }
74964
73173
  }
74965
- }
74966
- ]
74967
- }
74968
- },
74969
- "modifiers": {
74970
- "onTap": {
74971
- "actionId": "himi.open",
74972
- "params": {
74973
- "screenId": "$item.detailScreenId",
74974
- "id": "$item.id"
73174
+ ]
74975
73175
  }
74976
73176
  },
74977
- "haptic": "light",
74978
- "background": {
74979
- "token": "surfaceElevated"
74980
- },
74981
- "border": {
74982
- "width": 1,
74983
- "color": {
74984
- "token": "border"
73177
+ "modifiers": {
73178
+ "fillMaxWidth": true,
73179
+ "padding": {
73180
+ "leading": 16,
73181
+ "trailing": 16,
73182
+ "top": 14,
73183
+ "bottom": 14
74985
73184
  }
74986
- },
74987
- "cornerRadius": 12,
74988
- "padding": {
74989
- "top": 12,
74990
- "bottom": 12,
74991
- "leading": 12,
74992
- "trailing": 12
74993
- },
74994
- "fillMaxWidth": true,
74995
- "accessibilityLabel": "$item.collectionTitle",
74996
- "pressFeedback": "scale",
74997
- "transition": {
74998
- "enter": "fadeSlide",
74999
- "direction": "up",
75000
- "distance": 8
73185
+ }
73186
+ },
73187
+ {
73188
+ "id": "",
73189
+ "body": {
73190
+ "package": "himalaya",
73191
+ "type": "Divider",
73192
+ "props": {}
75001
73193
  }
75002
73194
  }
73195
+ ]
73196
+ }
73197
+ },
73198
+ "modifiers": {
73199
+ "fillMaxWidth": true,
73200
+ "onTap": {
73201
+ "actionId": "himi.open",
73202
+ "params": {
73203
+ "screenId": "$item.detailScreenId",
73204
+ "id": "$item.id"
75003
73205
  }
75004
- ]
75005
- }
75006
- },
75007
- "modifiers": {
75008
- "padding": {
75009
- "leading": 20,
75010
- "trailing": 20,
75011
- "top": 20,
75012
- "bottom": 24
73206
+ },
73207
+ "pressFeedback": "highlight",
73208
+ "haptic": "light",
73209
+ "accessibilityLabel": "$item.accessibilityLabel",
73210
+ "accessibilityRole": "button"
75013
73211
  }
75014
73212
  }
75015
- }
73213
+ ]
75016
73214
  }
75017
73215
  }
75018
73216
  }
@@ -75027,61 +73225,30 @@ const SCREENS = runtimeSetting({
75027
73225
  "id": "himi_cms.empty",
75028
73226
  "body": {
75029
73227
  "package": "himalaya",
75030
- "type": "VStack",
73228
+ "type": "EmptyState",
75031
73229
  "props": {
75032
- "spacing": 8,
75033
- "alignment": "leading",
75034
- "children": [
75035
- {
75036
- "id": "",
75037
- "body": {
75038
- "package": "himalaya",
75039
- "type": "Icon",
75040
- "props": {
75041
- "name": "grid",
75042
- "size": 28,
75043
- "tint": "textTertiary"
75044
- }
75045
- },
75046
- "modifiers": {
75047
- "accessibilityRole": "decorative"
75048
- }
75049
- },
75050
- {
75051
- "id": "",
75052
- "body": {
75053
- "package": "himalaya",
75054
- "type": "Text",
75055
- "props": {
75056
- "text": "$service:himiBrandedCms.emptyText",
75057
- "style": "body",
75058
- "color": "textSecondary",
75059
- "collapseWhenEmpty": true
75060
- }
75061
- }
75062
- }
75063
- ]
73230
+ "icon": "grid",
73231
+ "title": "No content yet",
73232
+ "subtitle": "Collections appear here when the business publishes them."
75064
73233
  }
75065
73234
  },
75066
73235
  "modifiers": {
75067
- "background": {
75068
- "token": "surfaceElevated"
75069
- },
75070
- "border": {
75071
- "width": 1,
75072
- "color": {
75073
- "token": "border"
75074
- }
75075
- },
75076
- "cornerRadius": 4,
75077
- "padding": {
75078
- "leading": 16,
75079
- "trailing": 16,
75080
- "top": 16,
75081
- "bottom": 16
75082
- },
75083
73236
  "hiddenPath": "$service:himiBrandedCms.noEmpty"
75084
73237
  }
73238
+ },
73239
+ {
73240
+ "id": "himi_cms.no_match",
73241
+ "body": {
73242
+ "package": "himalaya",
73243
+ "type": "EmptyState",
73244
+ "props": {
73245
+ "icon": "search",
73246
+ "title": "No collections match your search."
73247
+ }
73248
+ },
73249
+ "modifiers": {
73250
+ "hiddenPath": "$service:himiBrandedCms.noNoMatch"
73251
+ }
75085
73252
  }
75086
73253
  ]
75087
73254
  }
@@ -75091,8 +73258,6 @@ const SCREENS = runtimeSetting({
75091
73258
  "token": "surfacePrimary"
75092
73259
  },
75093
73260
  "padding": {
75094
- "leading": 16,
75095
- "trailing": 16,
75096
73261
  "top": 18,
75097
73262
  "bottom": 28
75098
73263
  },
@@ -75109,6 +73274,7 @@ const SCREENS = runtimeSetting({
75109
73274
  "integrity": "",
75110
73275
  "contentType": "application/javascript+ts-bundle",
75111
73276
  "declaredCapabilities": [
73277
+ "wix_api",
75112
73278
  "local_database"
75113
73279
  ],
75114
73280
  "minBinaryVersion": "0.1.0",