@wix/himalaya-cli 0.1784.0 → 0.1786.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 (75) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/l10n-strings.d.ts +8 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -3
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +3 -3
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +3 -3
  6. package/dist/browser-plane/assets.json +5 -5
  7. package/dist/browser-plane/preview-deferred/{ef0d32c6770cbe9b695a3774a00fc3da19cd4f8655784f5cd935938054a34541.bin → bd05b082ca023da46cfeef63687d1ddc10eaed1a03e86c7671ca821954222066.bin} +1 -1
  8. package/dist/browser-plane/sw.js +1 -1
  9. package/dist/cli.mjs +618 -197
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/component-reference.json +2 -2
  12. package/guides/component-reference.md +8 -3
  13. package/guides/himi-json-output.md +15 -1
  14. package/guides/himi-test.md +16 -1
  15. package/guides/image-preview.md +2 -0
  16. package/guides/push-cli-onboarding.md +1 -1
  17. package/package.json +2 -2
  18. package/templates/beauty-salon/l10n/en.json +1 -1
  19. package/templates/beauty-salon/tokens.json +8 -1
  20. package/templates/branded-lite/config.ts +2 -0
  21. package/templates/branded-lite/dev/index.ts +1249 -2307
  22. package/templates/branded-lite/l10n/ar.json +87 -28
  23. package/templates/branded-lite/l10n/cs.json +87 -28
  24. package/templates/branded-lite/l10n/da.json +87 -28
  25. package/templates/branded-lite/l10n/de.json +87 -28
  26. package/templates/branded-lite/l10n/el.json +87 -28
  27. package/templates/branded-lite/l10n/en.json +52 -34
  28. package/templates/branded-lite/l10n/es.json +87 -28
  29. package/templates/branded-lite/l10n/fi.json +87 -28
  30. package/templates/branded-lite/l10n/fr.json +87 -28
  31. package/templates/branded-lite/l10n/he.json +71 -23
  32. package/templates/branded-lite/l10n/hu.json +87 -28
  33. package/templates/branded-lite/l10n/id.json +87 -28
  34. package/templates/branded-lite/l10n/it.json +87 -28
  35. package/templates/branded-lite/l10n/ja.json +87 -28
  36. package/templates/branded-lite/l10n/ko.json +87 -28
  37. package/templates/branded-lite/l10n/lt.json +87 -28
  38. package/templates/branded-lite/l10n/nl.json +87 -28
  39. package/templates/branded-lite/l10n/no.json +87 -28
  40. package/templates/branded-lite/l10n/pl.json +87 -28
  41. package/templates/branded-lite/l10n/pt.json +87 -28
  42. package/templates/branded-lite/l10n/ru.json +87 -28
  43. package/templates/branded-lite/l10n/sv.json +87 -28
  44. package/templates/branded-lite/l10n/th.json +87 -28
  45. package/templates/branded-lite/l10n/tr.json +87 -28
  46. package/templates/branded-lite/l10n/uk.json +87 -28
  47. package/templates/branded-lite/l10n/vi.json +87 -28
  48. package/templates/branded-lite/l10n/zh.json +87 -28
  49. package/templates/branded-lite/tier5-src/_shared/wix-member-links.ts +2 -2
  50. package/templates/branded-lite/tier5-src/himi-branded-lite-galleries/index.ts +423 -117
  51. package/templates/branded-lite/tokens.json +3 -1
  52. package/templates/brandy/tier5-src/_shared/wix-member-links.ts +2 -2
  53. package/templates/community-club/l10n/en.json +1 -1
  54. package/templates/community-club/tokens.json +8 -1
  55. package/templates/events-meetups/l10n/en.json +1 -1
  56. package/templates/events-meetups/tokens.json +8 -1
  57. package/templates/fitness-gym/tier5-src/_shared/wix-member-links.ts +2 -2
  58. package/templates/gym-fitness/l10n/en.json +1 -1
  59. package/templates/gym-fitness/tokens.json +8 -1
  60. package/templates/medical-services/tier5-src/_shared/wix-member-links.ts +2 -2
  61. package/templates/nonprofit-cause/l10n/en.json +1 -1
  62. package/templates/nonprofit-cause/tokens.json +8 -1
  63. package/templates/podcast-creator/l10n/en.json +1 -1
  64. package/templates/podcast-creator/tokens.json +8 -1
  65. package/templates/portfolio-creative/l10n/en.json +1 -1
  66. package/templates/portfolio-creative/tokens.json +8 -1
  67. package/templates/restaurant/l10n/en.json +1 -1
  68. package/templates/restaurant/tokens.json +8 -1
  69. package/templates/retail-store/l10n/en.json +1 -1
  70. package/templates/retail-store/tokens.json +8 -1
  71. package/templates/salon-spa/config.ts +1 -1
  72. package/templates/salon-spa/dev/index.ts +141 -12
  73. package/templates/salon-spa/tier5-src/himi-branded-lite-galleries/index.ts +423 -117
  74. package/templates/yoga-studio/l10n/en.json +1 -1
  75. package/templates/yoga-studio/tokens.json +8 -1
@@ -47705,7 +47705,7 @@ const SCREENS = runtimeSetting({
47705
47705
  "onAppear": {
47706
47706
  "actionId": "tier5.himiBrandedNotifications.load",
47707
47707
  "params": {
47708
- "served": "himi_order,himi_bookings,himi_group,himi_forum_post,himi_create_post,himi_blog_post,himi_member,himi_event,himi_galleries,himi_photo_album,himi_chat_thread,himi_product,himi_service,himi_branded_home"
47708
+ "served": "himi_order,himi_bookings,himi_group,himi_forum_post,himi_create_post,himi_blog_post,himi_member,himi_event,himi_galleries,himi_chat_thread,himi_product,himi_service,himi_branded_home"
47709
47709
  }
47710
47710
  }
47711
47711
  }
@@ -88198,29 +88198,35 @@ const SCREENS = runtimeSetting({
88198
88198
  "package": "himalaya",
88199
88199
  "type": "VStack",
88200
88200
  "props": {
88201
- "spacing": 16,
88201
+ "spacing": 0,
88202
88202
  "alignment": "leading",
88203
88203
  "children": [
88204
88204
  {
88205
- "id": "himi_galleries.title",
88205
+ "id": "himi_galleries.head",
88206
88206
  "body": {
88207
88207
  "package": "himalaya",
88208
- "type": "Text",
88208
+ "type": "VStack",
88209
88209
  "props": {
88210
- "text": "Galleries",
88211
- "style": "title1"
88210
+ "spacing": 4,
88211
+ "alignment": "leading",
88212
+ "children": [
88213
+ {
88214
+ "id": "himi_galleries.title",
88215
+ "body": {
88216
+ "package": "himalaya",
88217
+ "type": "Text",
88218
+ "props": {
88219
+ "text": "Galleries",
88220
+ "style": "screenTitle"
88221
+ }
88222
+ }
88223
+ }
88224
+ ]
88212
88225
  }
88213
- }
88214
- },
88215
- {
88216
- "id": "",
88217
- "body": {
88218
- "package": "himalaya",
88219
- "type": "Text",
88220
- "props": {
88221
- "text": "Browse our photo galleries.",
88222
- "style": "body",
88223
- "color": "textSecondary"
88226
+ },
88227
+ "modifiers": {
88228
+ "padding": {
88229
+ "bottom": 20
88224
88230
  }
88225
88231
  }
88226
88232
  },
@@ -88255,99 +88261,176 @@ const SCREENS = runtimeSetting({
88255
88261
  }
88256
88262
  },
88257
88263
  {
88258
- "id": "himi_galleries.rows.collection.toolbar",
88264
+ "id": "himi_galleries.loading",
88259
88265
  "body": {
88260
88266
  "package": "himalaya",
88261
88267
  "type": "VStack",
88262
88268
  "props": {
88263
- "spacing": 0,
88269
+ "spacing": 20,
88264
88270
  "children": [
88265
88271
  {
88266
- "id": "himi_galleries.rows.collection.loading",
88267
- "body": {
88268
- "package": "himalaya",
88269
- "type": "Skeleton",
88270
- "props": {
88271
- "height": 72,
88272
- "cornerRadius": 12,
88273
- "count": 3
88274
- }
88275
- },
88276
- "modifiers": {
88277
- "hiddenPath": "$service:himiBrandedGalleries.collection.noLoading",
88278
- "padding": {
88279
- "bottom": 12
88280
- }
88281
- }
88282
- },
88283
- {
88284
- "id": "himi_galleries.rows.collection.search",
88285
- "body": {
88286
- "package": "himalaya",
88287
- "type": "SearchField",
88288
- "props": {
88289
- "placeholder": "Search",
88290
- "value": "$service:himiBrandedGalleries.collection.query",
88291
- "debounceMs": 200,
88292
- "onChange": {
88293
- "actionId": "tier5.himiBrandedGalleries.collectionSearch"
88294
- }
88295
- }
88296
- },
88297
- "modifiers": {
88298
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideChrome",
88299
- "padding": {
88300
- "bottom": 12
88301
- }
88302
- }
88303
- },
88304
- {
88305
- "id": "",
88272
+ "id": "himi_galleries.loading.1",
88306
88273
  "body": {
88307
88274
  "package": "himalaya",
88308
- "type": "HStack",
88275
+ "type": "VStack",
88309
88276
  "props": {
88310
- "spacing": 8,
88277
+ "spacing": 12,
88278
+ "alignment": "leading",
88311
88279
  "children": [
88312
88280
  {
88313
- "id": "himi_galleries.rows.collection.view",
88281
+ "id": "",
88314
88282
  "body": {
88315
88283
  "package": "himalaya",
88316
- "type": "SegmentedControl",
88284
+ "type": "VStack",
88317
88285
  "props": {
88318
- "options": [
88286
+ "spacing": 4,
88287
+ "children": [
88319
88288
  {
88320
- "id": "list",
88321
- "label": "List"
88289
+ "id": "",
88290
+ "body": {
88291
+ "package": "himalaya",
88292
+ "type": "HStack",
88293
+ "props": {
88294
+ "spacing": 4,
88295
+ "children": [
88296
+ {
88297
+ "id": "himi_galleries.loading.1.slot1",
88298
+ "body": {
88299
+ "package": "himalaya",
88300
+ "type": "Image",
88301
+ "props": {
88302
+ "url": "",
88303
+ "contentMode": "fill",
88304
+ "fillWidth": true,
88305
+ "aspectRatio": 1.5,
88306
+ "placeholder": "surfaceSecondary"
88307
+ }
88308
+ },
88309
+ "modifiers": {
88310
+ "accessibilityRole": "decorative",
88311
+ "cornerRadius": 0,
88312
+ "fillMaxWidth": true,
88313
+ "weight": 1
88314
+ }
88315
+ },
88316
+ {
88317
+ "id": "himi_galleries.loading.1.slot2",
88318
+ "body": {
88319
+ "package": "himalaya",
88320
+ "type": "Image",
88321
+ "props": {
88322
+ "url": "",
88323
+ "contentMode": "fill",
88324
+ "fillWidth": true,
88325
+ "aspectRatio": 1.5,
88326
+ "placeholder": "surfaceSecondary"
88327
+ }
88328
+ },
88329
+ "modifiers": {
88330
+ "accessibilityRole": "decorative",
88331
+ "cornerRadius": 0,
88332
+ "fillMaxWidth": true,
88333
+ "weight": 1
88334
+ }
88335
+ }
88336
+ ]
88337
+ }
88338
+ }
88322
88339
  },
88323
88340
  {
88324
- "id": "grid",
88325
- "label": "Grid"
88341
+ "id": "",
88342
+ "body": {
88343
+ "package": "himalaya",
88344
+ "type": "HStack",
88345
+ "props": {
88346
+ "spacing": 4,
88347
+ "children": [
88348
+ {
88349
+ "id": "himi_galleries.loading.1.slot3",
88350
+ "body": {
88351
+ "package": "himalaya",
88352
+ "type": "Image",
88353
+ "props": {
88354
+ "url": "",
88355
+ "contentMode": "fill",
88356
+ "fillWidth": true,
88357
+ "aspectRatio": 1.5,
88358
+ "placeholder": "surfaceSecondary"
88359
+ }
88360
+ },
88361
+ "modifiers": {
88362
+ "accessibilityRole": "decorative",
88363
+ "cornerRadius": 0,
88364
+ "fillMaxWidth": true,
88365
+ "weight": 1
88366
+ }
88367
+ },
88368
+ {
88369
+ "id": "himi_galleries.loading.1.slot4",
88370
+ "body": {
88371
+ "package": "himalaya",
88372
+ "type": "Image",
88373
+ "props": {
88374
+ "url": "",
88375
+ "contentMode": "fill",
88376
+ "fillWidth": true,
88377
+ "aspectRatio": 1.5,
88378
+ "placeholder": "surfaceSecondary"
88379
+ }
88380
+ },
88381
+ "modifiers": {
88382
+ "accessibilityRole": "decorative",
88383
+ "cornerRadius": 0,
88384
+ "fillMaxWidth": true,
88385
+ "weight": 1
88386
+ }
88387
+ }
88388
+ ]
88389
+ }
88390
+ }
88326
88391
  }
88327
- ],
88328
- "selectedId": "$service:himiBrandedGalleries.collection.view",
88329
- "onChange": {
88330
- "actionId": "tier5.himiBrandedGalleries.collectionView"
88331
- }
88392
+ ]
88332
88393
  }
88333
88394
  },
88334
88395
  "modifiers": {
88335
- "weight": 1
88396
+ "cornerRadius": 8,
88397
+ "fillMaxWidth": true
88336
88398
  }
88337
88399
  },
88338
88400
  {
88339
- "id": "himi_galleries.rows.collection.refine",
88401
+ "id": "",
88340
88402
  "body": {
88341
88403
  "package": "himalaya",
88342
- "type": "Button",
88404
+ "type": "VStack",
88343
88405
  "props": {
88344
- "title": "Refine",
88345
- "style": "plain",
88346
- "fullWidth": false,
88347
- "action": {
88348
- "actionId": "tier5.himiBrandedGalleries.collectionFilters"
88349
- },
88350
- "leadingIcon": "filter"
88406
+ "spacing": 4,
88407
+ "alignment": "leading",
88408
+ "children": [
88409
+ {
88410
+ "id": "himi_galleries.loading.1.name",
88411
+ "body": {
88412
+ "package": "himalaya",
88413
+ "type": "Skeleton",
88414
+ "props": {
88415
+ "width": 180,
88416
+ "height": 18,
88417
+ "cornerRadius": 4
88418
+ }
88419
+ }
88420
+ },
88421
+ {
88422
+ "id": "himi_galleries.loading.1.count",
88423
+ "body": {
88424
+ "package": "himalaya",
88425
+ "type": "Skeleton",
88426
+ "props": {
88427
+ "width": 64,
88428
+ "height": 13,
88429
+ "cornerRadius": 4
88430
+ }
88431
+ }
88432
+ }
88433
+ ]
88351
88434
  }
88352
88435
  }
88353
88436
  }
@@ -88355,335 +88438,276 @@ const SCREENS = runtimeSetting({
88355
88438
  }
88356
88439
  },
88357
88440
  "modifiers": {
88358
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideChrome",
88441
+ "border": {
88442
+ "width": 1,
88443
+ "color": {
88444
+ "token": "border"
88445
+ }
88446
+ },
88447
+ "cornerRadius": 12,
88359
88448
  "padding": {
88449
+ "leading": 12,
88450
+ "trailing": 12,
88451
+ "top": 12,
88360
88452
  "bottom": 12
88361
88453
  }
88362
88454
  }
88363
88455
  },
88364
88456
  {
88365
- "id": "",
88457
+ "id": "himi_galleries.loading.2",
88366
88458
  "body": {
88367
88459
  "package": "himalaya",
88368
- "type": "HStack",
88460
+ "type": "VStack",
88369
88461
  "props": {
88370
- "spacing": 8,
88462
+ "spacing": 12,
88463
+ "alignment": "leading",
88371
88464
  "children": [
88372
88465
  {
88373
- "id": "himi_galleries.rows.collection.filters",
88466
+ "id": "",
88374
88467
  "body": {
88375
88468
  "package": "himalaya",
88376
- "type": "FilterChips",
88469
+ "type": "VStack",
88377
88470
  "props": {
88378
- "chips": [
88471
+ "spacing": 4,
88472
+ "children": [
88379
88473
  {
88380
- "id": "all",
88381
- "label": "All"
88474
+ "id": "",
88475
+ "body": {
88476
+ "package": "himalaya",
88477
+ "type": "HStack",
88478
+ "props": {
88479
+ "spacing": 4,
88480
+ "children": [
88481
+ {
88482
+ "id": "himi_galleries.loading.2.slot1",
88483
+ "body": {
88484
+ "package": "himalaya",
88485
+ "type": "Image",
88486
+ "props": {
88487
+ "url": "",
88488
+ "contentMode": "fill",
88489
+ "fillWidth": true,
88490
+ "aspectRatio": 1.5,
88491
+ "placeholder": "surfaceSecondary"
88492
+ }
88493
+ },
88494
+ "modifiers": {
88495
+ "accessibilityRole": "decorative",
88496
+ "cornerRadius": 0,
88497
+ "fillMaxWidth": true,
88498
+ "weight": 1
88499
+ }
88500
+ },
88501
+ {
88502
+ "id": "himi_galleries.loading.2.slot2",
88503
+ "body": {
88504
+ "package": "himalaya",
88505
+ "type": "Image",
88506
+ "props": {
88507
+ "url": "",
88508
+ "contentMode": "fill",
88509
+ "fillWidth": true,
88510
+ "aspectRatio": 1.5,
88511
+ "placeholder": "surfaceSecondary"
88512
+ }
88513
+ },
88514
+ "modifiers": {
88515
+ "accessibilityRole": "decorative",
88516
+ "cornerRadius": 0,
88517
+ "fillMaxWidth": true,
88518
+ "weight": 1
88519
+ }
88520
+ }
88521
+ ]
88522
+ }
88523
+ }
88382
88524
  },
88383
88525
  {
88384
- "id": "saved",
88385
- "label": "Saved"
88526
+ "id": "",
88527
+ "body": {
88528
+ "package": "himalaya",
88529
+ "type": "HStack",
88530
+ "props": {
88531
+ "spacing": 4,
88532
+ "children": [
88533
+ {
88534
+ "id": "himi_galleries.loading.2.slot3",
88535
+ "body": {
88536
+ "package": "himalaya",
88537
+ "type": "Image",
88538
+ "props": {
88539
+ "url": "",
88540
+ "contentMode": "fill",
88541
+ "fillWidth": true,
88542
+ "aspectRatio": 1.5,
88543
+ "placeholder": "surfaceSecondary"
88544
+ }
88545
+ },
88546
+ "modifiers": {
88547
+ "accessibilityRole": "decorative",
88548
+ "cornerRadius": 0,
88549
+ "fillMaxWidth": true,
88550
+ "weight": 1
88551
+ }
88552
+ },
88553
+ {
88554
+ "id": "himi_galleries.loading.2.slot4",
88555
+ "body": {
88556
+ "package": "himalaya",
88557
+ "type": "Image",
88558
+ "props": {
88559
+ "url": "",
88560
+ "contentMode": "fill",
88561
+ "fillWidth": true,
88562
+ "aspectRatio": 1.5,
88563
+ "placeholder": "surfaceSecondary"
88564
+ }
88565
+ },
88566
+ "modifiers": {
88567
+ "accessibilityRole": "decorative",
88568
+ "cornerRadius": 0,
88569
+ "fillMaxWidth": true,
88570
+ "weight": 1
88571
+ }
88572
+ }
88573
+ ]
88574
+ }
88575
+ }
88386
88576
  }
88387
- ],
88388
- "optionsPath": "$service:himiBrandedGalleries.collection.chips",
88389
- "selectedIds": [
88390
- "$service:himiBrandedGalleries.collection.filter"
88391
- ],
88392
- "onChange": {
88393
- "actionId": "tier5.himiBrandedGalleries.collectionFilter"
88394
- }
88577
+ ]
88395
88578
  }
88396
88579
  },
88397
88580
  "modifiers": {
88398
- "weight": 1
88581
+ "cornerRadius": 8,
88582
+ "fillMaxWidth": true
88399
88583
  }
88400
88584
  },
88401
- {
88402
- "id": "himi_galleries.rows.collection.clear",
88403
- "body": {
88404
- "package": "himalaya",
88405
- "type": "Button",
88406
- "props": {
88407
- "title": "Clear",
88408
- "style": "plain",
88409
- "fullWidth": false,
88410
- "action": {
88411
- "actionId": "tier5.himiBrandedGalleries.collectionClear"
88412
- }
88413
- }
88414
- },
88415
- "modifiers": {
88416
- "hiddenPath": "$service:himiBrandedGalleries.collection.noActiveCriteria"
88417
- }
88418
- }
88419
- ]
88420
- }
88421
- },
88422
- "modifiers": {
88423
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideChrome",
88424
- "padding": {
88425
- "bottom": 12
88426
- }
88427
- }
88428
- },
88429
- {
88430
- "id": "himi_galleries.rows.collection.summary",
88431
- "body": {
88432
- "package": "himalaya",
88433
- "type": "Text",
88434
- "props": {
88435
- "text": "$service:himiBrandedGalleries.collection.summary",
88436
- "style": "caption",
88437
- "color": "textSecondary",
88438
- "maxLines": 1
88439
- }
88440
- },
88441
- "modifiers": {
88442
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideChrome"
88443
- }
88444
- },
88445
- {
88446
- "id": "",
88447
- "body": {
88448
- "package": "himalaya",
88449
- "type": "HStack",
88450
- "props": {
88451
- "alignment": "center",
88452
- "children": [
88453
88585
  {
88454
88586
  "id": "",
88455
88587
  "body": {
88456
88588
  "package": "himalaya",
88457
- "type": "Text",
88458
- "props": {
88459
- "text": "$service:himiBrandedGalleries.collection.selectedSummary",
88460
- "style": "caption"
88461
- }
88462
- }
88463
- },
88464
- {
88465
- "id": "btn_tier5_himibrandedgalleries_collectionsaveselected",
88466
- "body": {
88467
- "package": "himalaya",
88468
- "type": "Button",
88589
+ "type": "VStack",
88469
88590
  "props": {
88470
- "title": "Save selected",
88471
- "style": "secondary",
88472
- "action": {
88473
- "actionId": "tier5.himiBrandedGalleries.collectionSaveSelected"
88474
- }
88591
+ "spacing": 4,
88592
+ "alignment": "leading",
88593
+ "children": [
88594
+ {
88595
+ "id": "himi_galleries.loading.2.name",
88596
+ "body": {
88597
+ "package": "himalaya",
88598
+ "type": "Skeleton",
88599
+ "props": {
88600
+ "width": 180,
88601
+ "height": 18,
88602
+ "cornerRadius": 4
88603
+ }
88604
+ }
88605
+ },
88606
+ {
88607
+ "id": "himi_galleries.loading.2.count",
88608
+ "body": {
88609
+ "package": "himalaya",
88610
+ "type": "Skeleton",
88611
+ "props": {
88612
+ "width": 64,
88613
+ "height": 13,
88614
+ "cornerRadius": 4
88615
+ }
88616
+ }
88617
+ }
88618
+ ]
88475
88619
  }
88476
- },
88477
- "modifiers": {
88478
- "hiddenPath": "$service:himiBrandedGalleries.collection.cannotSaveSelected"
88479
88620
  }
88480
88621
  }
88481
88622
  ]
88482
88623
  }
88483
88624
  },
88484
88625
  "modifiers": {
88485
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSelection",
88486
- "padding": {
88487
- "bottom": 12
88488
- }
88489
- }
88490
- },
88491
- {
88492
- "id": "himi_galleries.rows.collection.undo",
88493
- "body": {
88494
- "package": "himalaya",
88495
- "type": "Button",
88496
- "props": {
88497
- "title": "Undo saved change",
88498
- "style": "plain",
88499
- "action": {
88500
- "actionId": "tier5.himiBrandedGalleries.collectionUndo"
88626
+ "border": {
88627
+ "width": 1,
88628
+ "color": {
88629
+ "token": "border"
88501
88630
  }
88502
- }
88503
- },
88504
- "modifiers": {
88505
- "hiddenPath": "$service:himiBrandedGalleries.collection.noUndo",
88631
+ },
88632
+ "cornerRadius": 12,
88506
88633
  "padding": {
88634
+ "leading": 12,
88635
+ "trailing": 12,
88636
+ "top": 12,
88507
88637
  "bottom": 12
88508
88638
  }
88509
88639
  }
88510
- },
88511
- {
88512
- "id": "",
88513
- "body": {
88514
- "package": "himalaya",
88515
- "type": "Text",
88516
- "props": {
88517
- "text": "$service:himiBrandedGalleries.collection.saveMessage",
88518
- "style": "caption",
88519
- "collapseWhenEmpty": true
88520
- }
88521
- }
88522
- },
88640
+ }
88641
+ ]
88642
+ }
88643
+ },
88644
+ "modifiers": {
88645
+ "hiddenPath": "$service:himiBrandedGalleries.notLoading"
88646
+ }
88647
+ },
88648
+ {
88649
+ "id": "himi_galleries.empty",
88650
+ "body": {
88651
+ "package": "himalaya",
88652
+ "type": "EmptyState",
88653
+ "props": {
88654
+ "icon": "image",
88655
+ "title": "No galleries yet",
88656
+ "subtitle": "Check back soon for new photos."
88657
+ }
88658
+ },
88659
+ "modifiers": {
88660
+ "hiddenPath": "$service:himiBrandedGalleries.hideEmpty"
88661
+ }
88662
+ },
88663
+ {
88664
+ "id": "himi_galleries.error",
88665
+ "body": {
88666
+ "package": "himalaya",
88667
+ "type": "ErrorState",
88668
+ "props": {
88669
+ "variantPath": "$service:himiBrandedGalleries.errorVariant",
88670
+ "placement": "screen",
88671
+ "ctaLabel": "Try again",
88672
+ "cta": {
88673
+ "actionId": "tier5.himiBrandedGalleries.load",
88674
+ "params": {
88675
+ "staticGalleries": "[]"
88676
+ }
88677
+ }
88678
+ }
88679
+ },
88680
+ "modifiers": {
88681
+ "hiddenPath": "$service:himiBrandedGalleries.notErrored"
88682
+ }
88683
+ },
88684
+ {
88685
+ "id": "himi_galleries.cards",
88686
+ "body": {
88687
+ "package": "himalaya",
88688
+ "type": "LazyList",
88689
+ "props": {
88690
+ "itemsPath": "$service:himiBrandedGalleries.galleries",
88691
+ "items": [
88523
88692
  {
88524
- "id": "himi_galleries.rows.collection.error",
88693
+ "id": "himi_galleries.card.$item.id",
88525
88694
  "body": {
88526
88695
  "package": "himalaya",
88527
88696
  "type": "VStack",
88528
88697
  "props": {
88529
- "spacing": 8,
88698
+ "spacing": 0,
88530
88699
  "children": [
88531
88700
  {
88532
88701
  "id": "",
88533
88702
  "body": {
88534
88703
  "package": "himalaya",
88535
- "type": "Text",
88536
- "props": {
88537
- "text": "$service:himiBrandedGalleries.collection.errorTitle",
88538
- "style": "bodyEmphasis"
88539
- }
88540
- }
88541
- },
88542
- {
88543
- "id": "",
88544
- "body": {
88545
- "package": "himalaya",
88546
- "type": "Text",
88547
- "props": {
88548
- "text": "$service:himiBrandedGalleries.collection.errorMessage",
88549
- "style": "caption",
88550
- "color": "textSecondary",
88551
- "collapseWhenEmpty": true
88552
- }
88553
- }
88554
- },
88555
- {
88556
- "id": "himi_galleries.rows.collection.retry",
88557
- "body": {
88558
- "package": "himalaya",
88559
- "type": "Button",
88704
+ "type": "VStack",
88560
88705
  "props": {
88561
- "title": "Try again",
88562
- "style": "secondary",
88563
- "action": {
88564
- "actionId": "tier5.himiBrandedGalleries.collectionRetry"
88565
- }
88566
- }
88567
- },
88568
- "modifiers": {
88569
- "hiddenPath": "$service:himiBrandedGalleries.collection.noRetry"
88570
- }
88571
- },
88572
- {
88573
- "id": "himi_galleries.rows.collection.sign_in",
88574
- "body": {
88575
- "package": "himalaya",
88576
- "type": "Button",
88577
- "props": {
88578
- "title": "Sign in",
88579
- "style": "primary",
88580
- "leadingIcon": "person",
88581
- "action": {
88582
- "actionId": "himi.open",
88583
- "params": {
88584
- "screenId": "himi_sign_in",
88585
- "modal": "1",
88586
- "sheetStyle": "page"
88587
- },
88588
- "presentation": "sheet"
88589
- }
88590
- }
88591
- },
88592
- "modifiers": {
88593
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSignIn"
88594
- }
88595
- }
88596
- ]
88597
- }
88598
- },
88599
- "modifiers": {
88600
- "hiddenPath": "$service:himiBrandedGalleries.collection.noError",
88601
- "padding": {
88602
- "bottom": 12
88603
- }
88604
- }
88605
- },
88606
- {
88607
- "id": "himi_galleries.rows.collection.empty-source",
88608
- "body": {
88609
- "package": "himalaya",
88610
- "type": "VStack",
88611
- "props": {
88612
- "spacing": 8,
88613
- "alignment": "center",
88614
- "children": [
88615
- {
88616
- "id": "",
88617
- "body": {
88618
- "package": "himalaya",
88619
- "type": "Icon",
88620
- "props": {
88621
- "name": "inbox",
88622
- "size": 28,
88623
- "tint": "textTertiary"
88624
- }
88625
- },
88626
- "modifiers": {
88627
- "accessibilityRole": "decorative"
88628
- }
88629
- },
88630
- {
88631
- "id": "",
88632
- "body": {
88633
- "package": "himalaya",
88634
- "type": "Text",
88635
- "props": {
88636
- "text": "$service:himiBrandedGalleries.collection.emptySourceText",
88637
- "style": "body",
88638
- "color": "textSecondary"
88639
- }
88640
- }
88641
- }
88642
- ]
88643
- }
88644
- },
88645
- "modifiers": {
88646
- "hiddenPath": "$service:himiBrandedGalleries.collection.noEmptySource",
88647
- "padding": {
88648
- "bottom": 12
88649
- }
88650
- }
88651
- },
88652
- {
88653
- "id": "",
88654
- "body": {
88655
- "package": "himalaya",
88656
- "type": "Text",
88657
- "props": {
88658
- "text": "Showing previously loaded content · may be outdated",
88659
- "style": "caption",
88660
- "color": "textSecondary"
88661
- }
88662
- },
88663
- "modifiers": {
88664
- "hiddenPath": "$service:himiBrandedGalleries.collection.noOffline"
88665
- }
88666
- },
88667
- {
88668
- "id": "",
88669
- "body": {
88670
- "package": "himalaya",
88671
- "type": "VStack",
88672
- "props": {
88673
- "spacing": 0,
88674
- "children": [
88675
- {
88676
- "id": "himi_galleries.rows.collection.list",
88677
- "body": {
88678
- "package": "himalaya",
88679
- "type": "LazyList",
88680
- "props": {
88681
- "columns": 1,
88682
- "spacing": 10,
88683
- "itemsPath": "$service:himiBrandedGalleries.collection.items",
88684
- "items": [
88706
+ "spacing": 12,
88707
+ "alignment": "leading",
88708
+ "children": [
88685
88709
  {
88686
- "id": "himi_galleries.rows.collection.list.$item.collectionId",
88710
+ "id": "",
88687
88711
  "body": {
88688
88712
  "package": "himalaya",
88689
88713
  "type": "VStack",
@@ -88696,88 +88720,80 @@ const SCREENS = runtimeSetting({
88696
88720
  "package": "himalaya",
88697
88721
  "type": "HStack",
88698
88722
  "props": {
88699
- "spacing": 12,
88723
+ "spacing": 4,
88700
88724
  "children": [
88701
- {
88702
- "id": "himi_galleries.rows.collection.list.$item.collectionId/image",
88703
- "body": {
88704
- "package": "himalaya",
88705
- "type": "Image",
88706
- "props": {
88707
- "url": "$item.collectionImage",
88708
- "contentDescription": "$item.collectionTitle",
88709
- "contentMode": "fill",
88710
- "height": 56,
88711
- "width": 56
88712
- }
88713
- },
88714
- "modifiers": {
88715
- "cornerRadius": 12,
88716
- "hiddenPath": "$item.collectionNoImage"
88717
- }
88718
- },
88719
88725
  {
88720
88726
  "id": "",
88721
88727
  "body": {
88722
88728
  "package": "himalaya",
88723
88729
  "type": "VStack",
88724
88730
  "props": {
88725
- "spacing": 4,
88726
- "alignment": "leading",
88731
+ "spacing": 0,
88727
88732
  "children": [
88728
88733
  {
88729
- "id": "",
88730
- "body": {
88731
- "package": "himalaya",
88732
- "type": "Text",
88733
- "props": {
88734
- "text": "$item.collectionTitle",
88735
- "style": "bodyEmphasis",
88736
- "maxLines": 2
88737
- }
88738
- }
88739
- },
88740
- {
88741
- "id": "",
88742
- "body": {
88743
- "package": "himalaya",
88744
- "type": "Text",
88745
- "props": {
88746
- "text": "$item.collectionSubtitle",
88747
- "style": "caption",
88748
- "color": "textSecondary",
88749
- "maxLines": 3,
88750
- "collapseWhenEmpty": true
88751
- }
88752
- }
88753
- },
88754
- {
88755
- "id": "",
88734
+ "id": "himi_galleries.card.$item.id/slot1",
88756
88735
  "body": {
88757
88736
  "package": "himalaya",
88758
- "type": "Text",
88737
+ "type": "Image",
88759
88738
  "props": {
88760
- "text": "$item.collectionMeta",
88761
- "style": "caption",
88762
- "color": "textSecondary",
88763
- "maxLines": 2,
88764
- "collapseWhenEmpty": true
88739
+ "url": "$item.photo1",
88740
+ "contentMode": "fill",
88741
+ "fillWidth": true,
88742
+ "aspectRatio": 1.5
88765
88743
  }
88744
+ },
88745
+ "modifiers": {
88746
+ "accessibilityRole": "decorative",
88747
+ "hiddenPath": "$item.noPhoto1"
88766
88748
  }
88767
88749
  },
88768
88750
  {
88769
88751
  "id": "",
88770
88752
  "body": {
88771
88753
  "package": "himalaya",
88772
- "type": "Text",
88754
+ "type": "ZStack",
88773
88755
  "props": {
88774
- "text": "Saved",
88775
- "style": "caption",
88776
- "color": "accentPrimary"
88756
+ "alignment": "center",
88757
+ "children": [
88758
+ {
88759
+ "id": "",
88760
+ "body": {
88761
+ "package": "himalaya",
88762
+ "type": "Image",
88763
+ "props": {
88764
+ "url": "",
88765
+ "contentMode": "fill",
88766
+ "fillWidth": true,
88767
+ "aspectRatio": 1.5,
88768
+ "placeholder": "surfaceSecondary"
88769
+ }
88770
+ },
88771
+ "modifiers": {
88772
+ "accessibilityRole": "decorative"
88773
+ }
88774
+ },
88775
+ {
88776
+ "id": "",
88777
+ "body": {
88778
+ "package": "himalaya",
88779
+ "type": "Icon",
88780
+ "props": {
88781
+ "name": "image",
88782
+ "size": 20,
88783
+ "tint": "textTertiary"
88784
+ }
88785
+ },
88786
+ "modifiers": {
88787
+ "accessibilityRole": "decorative"
88788
+ }
88789
+ }
88790
+ ]
88777
88791
  }
88778
88792
  },
88779
88793
  "modifiers": {
88780
- "hiddenPath": "$item.collectionNotSaved"
88794
+ "cornerRadius": 0,
88795
+ "fillMaxWidth": true,
88796
+ "hiddenPath": "$item.hasPhoto1"
88781
88797
  }
88782
88798
  }
88783
88799
  ]
@@ -88791,208 +88807,94 @@ const SCREENS = runtimeSetting({
88791
88807
  "id": "",
88792
88808
  "body": {
88793
88809
  "package": "himalaya",
88794
- "type": "HStack",
88810
+ "type": "VStack",
88795
88811
  "props": {
88796
- "spacing": 8,
88812
+ "spacing": 0,
88797
88813
  "children": [
88798
88814
  {
88799
- "id": "himi_galleries.rows.collection.list.$item.collectionId/select",
88815
+ "id": "himi_galleries.card.$item.id/slot2",
88800
88816
  "body": {
88801
88817
  "package": "himalaya",
88802
- "type": "Button",
88818
+ "type": "Image",
88803
88819
  "props": {
88804
- "title": "$item.collectionSelectLabel",
88805
- "style": "plain",
88806
- "fullWidth": false,
88807
- "action": {
88808
- "actionId": "tier5.himiBrandedGalleries.collectionSelect",
88809
- "params": {
88810
- "id": "$item.collectionId"
88811
- }
88812
- }
88820
+ "url": "$item.photo2",
88821
+ "contentMode": "fill",
88822
+ "fillWidth": true,
88823
+ "aspectRatio": 1.5
88813
88824
  }
88814
88825
  },
88815
88826
  "modifiers": {
88816
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSelection"
88827
+ "accessibilityRole": "decorative",
88828
+ "hiddenPath": "$item.noPhoto2"
88817
88829
  }
88818
88830
  },
88819
88831
  {
88820
- "id": "himi_galleries.rows.collection.list.$item.collectionId/actions",
88832
+ "id": "",
88821
88833
  "body": {
88822
88834
  "package": "himalaya",
88823
- "type": "Menu",
88835
+ "type": "ZStack",
88824
88836
  "props": {
88825
- "style": "dropdown",
88826
- "anchor": {
88827
- "id": "",
88828
- "body": {
88829
- "package": "himalaya",
88830
- "type": "Icon",
88831
- "props": {
88832
- "name": "ellipsis",
88833
- "size": 20
88834
- }
88835
- },
88836
- "modifiers": {
88837
- "width": 44,
88838
- "height": 44,
88839
- "accessibilityLabel": "$item.collectionActionsLabel"
88840
- }
88841
- },
88842
- "items": [
88843
- {
88844
- "id": "preview",
88845
- "label": "Quick preview",
88846
- "icon": "search",
88847
- "action": {
88848
- "actionId": "tier5.himiBrandedGalleries.collectionPreview",
88849
- "params": {
88850
- "id": "$item.collectionId"
88851
- }
88852
- }
88853
- },
88837
+ "alignment": "center",
88838
+ "children": [
88854
88839
  {
88855
- "id": "save",
88856
- "label": "$item.collectionSaveLabel",
88857
- "icon": "bookmark",
88858
- "action": {
88859
- "actionId": "tier5.himiBrandedGalleries.collectionSave",
88860
- "params": {
88861
- "id": "$item.collectionId"
88840
+ "id": "",
88841
+ "body": {
88842
+ "package": "himalaya",
88843
+ "type": "Image",
88844
+ "props": {
88845
+ "url": "",
88846
+ "contentMode": "fill",
88847
+ "fillWidth": true,
88848
+ "aspectRatio": 1.5,
88849
+ "placeholder": "surfaceSecondary"
88862
88850
  }
88851
+ },
88852
+ "modifiers": {
88853
+ "accessibilityRole": "decorative"
88863
88854
  }
88864
88855
  },
88865
88856
  {
88866
- "id": "open",
88867
- "label": "Open details",
88868
- "icon": "chevron_right",
88869
- "action": {
88870
- "actionId": "himi.open",
88871
- "params": {
88872
- "screenId": "himi_gallery",
88873
- "id": "$item.id",
88874
- "name": "$item.title",
88875
- "subtitle": "$item.subtitle"
88857
+ "id": "",
88858
+ "body": {
88859
+ "package": "himalaya",
88860
+ "type": "Icon",
88861
+ "props": {
88862
+ "name": "image",
88863
+ "size": 20,
88864
+ "tint": "textTertiary"
88876
88865
  }
88866
+ },
88867
+ "modifiers": {
88868
+ "accessibilityRole": "decorative"
88877
88869
  }
88878
88870
  }
88879
88871
  ]
88880
88872
  }
88873
+ },
88874
+ "modifiers": {
88875
+ "cornerRadius": 0,
88876
+ "fillMaxWidth": true,
88877
+ "hiddenPath": "$item.hasPhoto2"
88881
88878
  }
88882
88879
  }
88883
88880
  ]
88884
88881
  }
88885
88882
  },
88886
88883
  "modifiers": {
88887
- "hiddenPath": "$item.collectionNoIdentity"
88884
+ "weight": 1
88888
88885
  }
88889
88886
  }
88890
88887
  ]
88891
88888
  }
88892
88889
  }
88893
- }
88894
- ]
88895
- }
88896
- },
88897
- "modifiers": {
88898
- "onTap": {
88899
- "actionId": "himi.open",
88900
- "params": {
88901
- "screenId": "himi_gallery",
88902
- "id": "$item.id",
88903
- "name": "$item.title",
88904
- "subtitle": "$item.subtitle"
88905
- }
88906
- },
88907
- "haptic": "light",
88908
- "background": {
88909
- "token": "surfaceElevated"
88910
- },
88911
- "border": {
88912
- "width": 1,
88913
- "color": {
88914
- "token": "border"
88915
- }
88916
- },
88917
- "cornerRadius": 12,
88918
- "padding": {
88919
- "top": 12,
88920
- "bottom": 12,
88921
- "leading": 12,
88922
- "trailing": 12
88923
- },
88924
- "fillMaxWidth": true,
88925
- "accessibilityLabel": "$item.collectionTitle",
88926
- "pressFeedback": "scale",
88927
- "transition": {
88928
- "enter": "fadeSlide",
88929
- "direction": "up",
88930
- "distance": 8
88931
- }
88932
- }
88933
- }
88934
- ],
88935
- "staggerMs": 30,
88936
- "animateItems": true,
88937
- "rowSwipeActions": {
88938
- "trailing": [
88939
- {
88940
- "label": "$item.collectionSaveLabel",
88941
- "icon": "bookmark",
88942
- "action": {
88943
- "actionId": "tier5.himiBrandedGalleries.collectionSave",
88944
- "params": {
88945
- "id": "$item.collectionId"
88946
- }
88947
- }
88948
- },
88949
- {
88950
- "label": "Preview",
88951
- "icon": "search",
88952
- "action": {
88953
- "actionId": "tier5.himiBrandedGalleries.collectionPreview",
88954
- "params": {
88955
- "id": "$item.collectionId"
88956
- }
88957
- }
88958
- }
88959
- ]
88960
- }
88961
- }
88962
- },
88963
- "modifiers": {
88964
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideList"
88965
- }
88966
- },
88967
- {
88968
- "id": "",
88969
- "body": {
88970
- "package": "himalaya",
88971
- "type": "VStack",
88972
- "props": {
88973
- "spacing": 12,
88974
- "children": [
88975
- {
88976
- "id": "himi_galleries.rows.collection.grid",
88977
- "body": {
88978
- "package": "himalaya",
88979
- "type": "Grid",
88980
- "props": {
88981
- "columns": 2,
88982
- "columnsMedium": 3,
88983
- "columnsExpanded": 4,
88984
- "spacing": 12,
88985
- "staggerMs": 30,
88986
- "itemsPath": "$service:himiBrandedGalleries.collection.items",
88987
- "items": [
88890
+ },
88988
88891
  {
88989
- "id": "himi_galleries.rows.collection.grid.$item.collectionId",
88892
+ "id": "",
88990
88893
  "body": {
88991
88894
  "package": "himalaya",
88992
- "type": "VStack",
88895
+ "type": "HStack",
88993
88896
  "props": {
88994
- "spacing": 8,
88995
- "alignment": "leading",
88897
+ "spacing": 4,
88996
88898
  "children": [
88997
88899
  {
88998
88900
  "id": "",
@@ -89003,21 +88905,20 @@ const SCREENS = runtimeSetting({
89003
88905
  "spacing": 0,
89004
88906
  "children": [
89005
88907
  {
89006
- "id": "himi_galleries.rows.collection.grid.$item.collectionId/image",
88908
+ "id": "himi_galleries.card.$item.id/slot3",
89007
88909
  "body": {
89008
88910
  "package": "himalaya",
89009
88911
  "type": "Image",
89010
88912
  "props": {
89011
- "url": "$item.collectionImage",
89012
- "contentDescription": "$item.collectionTitle",
88913
+ "url": "$item.photo3",
89013
88914
  "contentMode": "fill",
89014
- "height": 112,
89015
- "fillWidth": true
88915
+ "fillWidth": true,
88916
+ "aspectRatio": 1.5
89016
88917
  }
89017
88918
  },
89018
88919
  "modifiers": {
89019
- "cornerRadius": 12,
89020
- "hiddenPath": "$item.collectionNoImage"
88920
+ "accessibilityRole": "decorative",
88921
+ "hiddenPath": "$item.noPhoto3"
89021
88922
  }
89022
88923
  },
89023
88924
  {
@@ -89028,15 +88929,32 @@ const SCREENS = runtimeSetting({
89028
88929
  "props": {
89029
88930
  "alignment": "center",
89030
88931
  "children": [
88932
+ {
88933
+ "id": "",
88934
+ "body": {
88935
+ "package": "himalaya",
88936
+ "type": "Image",
88937
+ "props": {
88938
+ "url": "",
88939
+ "contentMode": "fill",
88940
+ "fillWidth": true,
88941
+ "aspectRatio": 1.5,
88942
+ "placeholder": "surfaceSecondary"
88943
+ }
88944
+ },
88945
+ "modifiers": {
88946
+ "accessibilityRole": "decorative"
88947
+ }
88948
+ },
89031
88949
  {
89032
88950
  "id": "",
89033
88951
  "body": {
89034
88952
  "package": "himalaya",
89035
88953
  "type": "Icon",
89036
88954
  "props": {
89037
- "name": "photo",
89038
- "size": 28,
89039
- "tint": "accentPrimary"
88955
+ "name": "image",
88956
+ "size": 20,
88957
+ "tint": "textTertiary"
89040
88958
  }
89041
88959
  },
89042
88960
  "modifiers": {
@@ -89047,18 +88965,16 @@ const SCREENS = runtimeSetting({
89047
88965
  }
89048
88966
  },
89049
88967
  "modifiers": {
89050
- "height": 112,
88968
+ "cornerRadius": 0,
89051
88969
  "fillMaxWidth": true,
89052
- "cornerRadius": 12,
89053
- "background": {
89054
- "token": "surfaceSecondary"
89055
- },
89056
- "accessibilityLabel": "No image available",
89057
- "hiddenPath": "$item.collectionHasImage"
88970
+ "hiddenPath": "$item.hasPhoto3"
89058
88971
  }
89059
88972
  }
89060
88973
  ]
89061
88974
  }
88975
+ },
88976
+ "modifiers": {
88977
+ "weight": 1
89062
88978
  }
89063
88979
  },
89064
88980
  {
@@ -89067,1501 +88983,220 @@ const SCREENS = runtimeSetting({
89067
88983
  "package": "himalaya",
89068
88984
  "type": "VStack",
89069
88985
  "props": {
89070
- "spacing": 4,
89071
- "alignment": "leading",
88986
+ "spacing": 0,
89072
88987
  "children": [
89073
88988
  {
89074
- "id": "",
89075
- "body": {
89076
- "package": "himalaya",
89077
- "type": "Text",
89078
- "props": {
89079
- "text": "$item.collectionTitle",
89080
- "style": "bodyEmphasis",
89081
- "maxLines": 2
89082
- }
89083
- }
89084
- },
89085
- {
89086
- "id": "",
89087
- "body": {
89088
- "package": "himalaya",
89089
- "type": "Text",
89090
- "props": {
89091
- "text": "$item.collectionSubtitle",
89092
- "style": "caption",
89093
- "color": "textSecondary",
89094
- "maxLines": 3,
89095
- "collapseWhenEmpty": true
89096
- }
89097
- }
89098
- },
89099
- {
89100
- "id": "",
88989
+ "id": "himi_galleries.card.$item.id/slot4",
89101
88990
  "body": {
89102
88991
  "package": "himalaya",
89103
- "type": "Text",
88992
+ "type": "Image",
89104
88993
  "props": {
89105
- "text": "$item.collectionMeta",
89106
- "style": "caption",
89107
- "color": "textSecondary",
89108
- "maxLines": 2,
89109
- "collapseWhenEmpty": true
88994
+ "url": "$item.photo4",
88995
+ "contentMode": "fill",
88996
+ "fillWidth": true,
88997
+ "aspectRatio": 1.5
89110
88998
  }
88999
+ },
89000
+ "modifiers": {
89001
+ "accessibilityRole": "decorative",
89002
+ "hiddenPath": "$item.noPhoto4"
89111
89003
  }
89112
89004
  },
89113
89005
  {
89114
89006
  "id": "",
89115
89007
  "body": {
89116
89008
  "package": "himalaya",
89117
- "type": "Text",
89009
+ "type": "ZStack",
89118
89010
  "props": {
89119
- "text": "Saved",
89120
- "style": "caption",
89121
- "color": "accentPrimary"
89011
+ "alignment": "center",
89012
+ "children": [
89013
+ {
89014
+ "id": "",
89015
+ "body": {
89016
+ "package": "himalaya",
89017
+ "type": "Image",
89018
+ "props": {
89019
+ "url": "",
89020
+ "contentMode": "fill",
89021
+ "fillWidth": true,
89022
+ "aspectRatio": 1.5,
89023
+ "placeholder": "surfaceSecondary"
89024
+ }
89025
+ },
89026
+ "modifiers": {
89027
+ "accessibilityRole": "decorative"
89028
+ }
89029
+ },
89030
+ {
89031
+ "id": "",
89032
+ "body": {
89033
+ "package": "himalaya",
89034
+ "type": "Icon",
89035
+ "props": {
89036
+ "name": "image",
89037
+ "size": 20,
89038
+ "tint": "textTertiary"
89039
+ }
89040
+ },
89041
+ "modifiers": {
89042
+ "accessibilityRole": "decorative"
89043
+ }
89044
+ }
89045
+ ]
89122
89046
  }
89123
89047
  },
89124
89048
  "modifiers": {
89125
- "hiddenPath": "$item.collectionNotSaved"
89049
+ "cornerRadius": 0,
89050
+ "fillMaxWidth": true,
89051
+ "hiddenPath": "$item.hasPhoto4"
89126
89052
  }
89127
89053
  }
89128
89054
  ]
89129
89055
  }
89056
+ },
89057
+ "modifiers": {
89058
+ "weight": 1
89130
89059
  }
89131
- },
89132
- {
89133
- "id": "",
89134
- "body": {
89135
- "package": "himalaya",
89136
- "type": "HStack",
89137
- "props": {
89138
- "spacing": 8,
89139
- "children": [
89140
- {
89141
- "id": "himi_galleries.rows.collection.grid.$item.collectionId/select",
89142
- "body": {
89143
- "package": "himalaya",
89144
- "type": "Button",
89145
- "props": {
89146
- "title": "$item.collectionSelectLabel",
89147
- "style": "plain",
89148
- "fullWidth": false,
89149
- "action": {
89150
- "actionId": "tier5.himiBrandedGalleries.collectionSelect",
89151
- "params": {
89152
- "id": "$item.collectionId"
89153
- }
89154
- }
89155
- }
89156
- },
89157
- "modifiers": {
89158
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSelection"
89159
- }
89160
- },
89161
- {
89162
- "id": "",
89163
- "body": {
89164
- "package": "himalaya",
89165
- "type": "Spacer",
89166
- "props": {}
89167
- }
89168
- },
89169
- {
89170
- "id": "himi_galleries.rows.collection.grid.$item.collectionId/actions",
89171
- "body": {
89172
- "package": "himalaya",
89173
- "type": "Menu",
89174
- "props": {
89175
- "style": "dropdown",
89176
- "anchor": {
89177
- "id": "",
89178
- "body": {
89179
- "package": "himalaya",
89180
- "type": "Icon",
89181
- "props": {
89182
- "name": "ellipsis",
89183
- "size": 20
89184
- }
89185
- },
89186
- "modifiers": {
89187
- "width": 44,
89188
- "height": 44,
89189
- "accessibilityLabel": "$item.collectionActionsLabel"
89190
- }
89191
- },
89192
- "items": [
89193
- {
89194
- "id": "preview",
89195
- "label": "Quick preview",
89196
- "icon": "search",
89197
- "action": {
89198
- "actionId": "tier5.himiBrandedGalleries.collectionPreview",
89199
- "params": {
89200
- "id": "$item.collectionId"
89201
- }
89202
- }
89203
- },
89204
- {
89205
- "id": "save",
89206
- "label": "$item.collectionSaveLabel",
89207
- "icon": "bookmark",
89208
- "action": {
89209
- "actionId": "tier5.himiBrandedGalleries.collectionSave",
89210
- "params": {
89211
- "id": "$item.collectionId"
89212
- }
89213
- }
89214
- },
89215
- {
89216
- "id": "open",
89217
- "label": "Open details",
89218
- "icon": "chevron_right",
89219
- "action": {
89220
- "actionId": "himi.open",
89221
- "params": {
89222
- "screenId": "himi_gallery",
89223
- "id": "$item.id",
89224
- "name": "$item.title",
89225
- "subtitle": "$item.subtitle"
89226
- }
89227
- }
89228
- }
89229
- ]
89230
- }
89231
- }
89232
- }
89233
- ]
89234
- }
89235
- },
89236
- "modifiers": {
89237
- "hiddenPath": "$item.collectionNoIdentity"
89238
- }
89239
- }
89240
- ]
89241
- }
89242
- },
89243
- "modifiers": {
89244
- "onTap": {
89245
- "actionId": "himi.open",
89246
- "params": {
89247
- "screenId": "himi_gallery",
89248
- "id": "$item.id",
89249
- "name": "$item.title",
89250
- "subtitle": "$item.subtitle"
89251
- }
89252
- },
89253
- "haptic": "light",
89254
- "background": {
89255
- "token": "surfaceElevated"
89256
- },
89257
- "border": {
89258
- "width": 1,
89259
- "color": {
89260
- "token": "border"
89261
- }
89262
- },
89263
- "cornerRadius": 12,
89264
- "padding": {
89265
- "top": 12,
89266
- "bottom": 12,
89267
- "leading": 12,
89268
- "trailing": 12
89269
- },
89270
- "fillMaxWidth": true,
89271
- "accessibilityLabel": "$item.collectionTitle",
89272
- "pressFeedback": "scale",
89273
- "transition": {
89274
- "enter": "fadeSlide",
89275
- "direction": "up",
89276
- "distance": 8
89277
- }
89278
- }
89279
- }
89280
- ]
89281
- }
89282
- }
89283
- }
89284
- ]
89285
- }
89286
- },
89287
- "modifiers": {
89288
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideGrid"
89289
- }
89290
- }
89291
- ]
89292
- }
89293
- },
89294
- "modifiers": {
89295
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideComfortable",
89296
- "padding": {
89297
- "bottom": 12
89298
- }
89299
- }
89300
- },
89301
- {
89302
- "id": "",
89303
- "body": {
89304
- "package": "himalaya",
89305
- "type": "VStack",
89306
- "props": {
89307
- "spacing": 0,
89308
- "children": [
89309
- {
89310
- "id": "himi_galleries.rows.collection.compact-list",
89311
- "body": {
89312
- "package": "himalaya",
89313
- "type": "LazyList",
89314
- "props": {
89315
- "columns": 1,
89316
- "spacing": 6,
89317
- "itemsPath": "$service:himiBrandedGalleries.collection.items",
89318
- "items": [
89319
- {
89320
- "id": "himi_galleries.rows.collection.compact-list.$item.collectionId",
89321
- "body": {
89322
- "package": "himalaya",
89323
- "type": "VStack",
89324
- "props": {
89325
- "spacing": 4,
89326
- "children": [
89327
- {
89328
- "id": "",
89329
- "body": {
89330
- "package": "himalaya",
89331
- "type": "HStack",
89332
- "props": {
89333
- "spacing": 12,
89334
- "children": [
89335
- {
89336
- "id": "himi_galleries.rows.collection.compact-list.$item.collectionId/image",
89337
- "body": {
89338
- "package": "himalaya",
89339
- "type": "Image",
89340
- "props": {
89341
- "url": "$item.collectionImage",
89342
- "contentDescription": "$item.collectionTitle",
89343
- "contentMode": "fill",
89344
- "height": 56,
89345
- "width": 56
89346
- }
89347
- },
89348
- "modifiers": {
89349
- "cornerRadius": 12,
89350
- "hiddenPath": "$item.collectionNoImage"
89351
- }
89352
- },
89353
- {
89354
- "id": "",
89355
- "body": {
89356
- "package": "himalaya",
89357
- "type": "VStack",
89358
- "props": {
89359
- "spacing": 4,
89360
- "alignment": "leading",
89361
- "children": [
89362
- {
89363
- "id": "",
89364
- "body": {
89365
- "package": "himalaya",
89366
- "type": "Text",
89367
- "props": {
89368
- "text": "$item.collectionTitle",
89369
- "style": "bodyEmphasis",
89370
- "maxLines": 2
89371
- }
89372
- }
89373
- },
89374
- {
89375
- "id": "",
89376
- "body": {
89377
- "package": "himalaya",
89378
- "type": "Text",
89379
- "props": {
89380
- "text": "$item.collectionSubtitle",
89381
- "style": "caption",
89382
- "color": "textSecondary",
89383
- "maxLines": 1,
89384
- "collapseWhenEmpty": true
89385
- }
89386
- }
89387
- },
89388
- {
89389
- "id": "",
89390
- "body": {
89391
- "package": "himalaya",
89392
- "type": "Text",
89393
- "props": {
89394
- "text": "$item.collectionMeta",
89395
- "style": "caption",
89396
- "color": "textSecondary",
89397
- "maxLines": 2,
89398
- "collapseWhenEmpty": true
89399
- }
89400
- }
89401
- },
89402
- {
89403
- "id": "",
89404
- "body": {
89405
- "package": "himalaya",
89406
- "type": "Text",
89407
- "props": {
89408
- "text": "Saved",
89409
- "style": "caption",
89410
- "color": "accentPrimary"
89411
- }
89412
- },
89413
- "modifiers": {
89414
- "hiddenPath": "$item.collectionNotSaved"
89415
- }
89416
- }
89417
- ]
89418
- }
89419
- },
89420
- "modifiers": {
89421
- "weight": 1
89422
- }
89423
- },
89424
- {
89425
- "id": "",
89426
- "body": {
89427
- "package": "himalaya",
89428
- "type": "HStack",
89429
- "props": {
89430
- "spacing": 8,
89431
- "children": [
89432
- {
89433
- "id": "himi_galleries.rows.collection.compact-list.$item.collectionId/select",
89434
- "body": {
89435
- "package": "himalaya",
89436
- "type": "Button",
89437
- "props": {
89438
- "title": "$item.collectionSelectLabel",
89439
- "style": "plain",
89440
- "fullWidth": false,
89441
- "action": {
89442
- "actionId": "tier5.himiBrandedGalleries.collectionSelect",
89443
- "params": {
89444
- "id": "$item.collectionId"
89445
- }
89446
- }
89447
- }
89448
- },
89449
- "modifiers": {
89450
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSelection"
89451
- }
89452
- },
89453
- {
89454
- "id": "himi_galleries.rows.collection.compact-list.$item.collectionId/actions",
89455
- "body": {
89456
- "package": "himalaya",
89457
- "type": "Menu",
89458
- "props": {
89459
- "style": "dropdown",
89460
- "anchor": {
89461
- "id": "",
89462
- "body": {
89463
- "package": "himalaya",
89464
- "type": "Icon",
89465
- "props": {
89466
- "name": "ellipsis",
89467
- "size": 20
89468
- }
89469
- },
89470
- "modifiers": {
89471
- "width": 44,
89472
- "height": 44,
89473
- "accessibilityLabel": "$item.collectionActionsLabel"
89474
- }
89475
- },
89476
- "items": [
89477
- {
89478
- "id": "preview",
89479
- "label": "Quick preview",
89480
- "icon": "search",
89481
- "action": {
89482
- "actionId": "tier5.himiBrandedGalleries.collectionPreview",
89483
- "params": {
89484
- "id": "$item.collectionId"
89485
- }
89486
- }
89487
- },
89488
- {
89489
- "id": "save",
89490
- "label": "$item.collectionSaveLabel",
89491
- "icon": "bookmark",
89492
- "action": {
89493
- "actionId": "tier5.himiBrandedGalleries.collectionSave",
89494
- "params": {
89495
- "id": "$item.collectionId"
89496
- }
89497
- }
89498
- },
89499
- {
89500
- "id": "open",
89501
- "label": "Open details",
89502
- "icon": "chevron_right",
89503
- "action": {
89504
- "actionId": "himi.open",
89505
- "params": {
89506
- "screenId": "himi_gallery",
89507
- "id": "$item.id",
89508
- "name": "$item.title",
89509
- "subtitle": "$item.subtitle"
89510
- }
89511
- }
89512
- }
89513
- ]
89514
- }
89515
- }
89516
- }
89517
- ]
89518
- }
89519
- },
89520
- "modifiers": {
89521
- "hiddenPath": "$item.collectionNoIdentity"
89522
- }
89523
- }
89524
- ]
89525
- }
89526
- }
89527
- }
89528
- ]
89529
- }
89530
- },
89531
- "modifiers": {
89532
- "onTap": {
89533
- "actionId": "himi.open",
89534
- "params": {
89535
- "screenId": "himi_gallery",
89536
- "id": "$item.id",
89537
- "name": "$item.title",
89538
- "subtitle": "$item.subtitle"
89539
- }
89540
- },
89541
- "haptic": "light",
89542
- "background": {
89543
- "token": "surfaceElevated"
89544
- },
89545
- "border": {
89546
- "width": 1,
89547
- "color": {
89548
- "token": "border"
89549
- }
89550
- },
89551
- "cornerRadius": 12,
89552
- "padding": {
89553
- "top": 8,
89554
- "bottom": 8,
89555
- "leading": 12,
89556
- "trailing": 12
89557
- },
89558
- "fillMaxWidth": true,
89559
- "accessibilityLabel": "$item.collectionTitle",
89560
- "pressFeedback": "scale",
89561
- "transition": {
89562
- "enter": "fadeSlide",
89563
- "direction": "up",
89564
- "distance": 8
89565
- }
89566
- }
89567
- }
89568
- ],
89569
- "staggerMs": 30,
89570
- "animateItems": true,
89571
- "rowSwipeActions": {
89572
- "trailing": [
89573
- {
89574
- "label": "$item.collectionSaveLabel",
89575
- "icon": "bookmark",
89576
- "action": {
89577
- "actionId": "tier5.himiBrandedGalleries.collectionSave",
89578
- "params": {
89579
- "id": "$item.collectionId"
89580
- }
89581
- }
89582
- },
89583
- {
89584
- "label": "Preview",
89585
- "icon": "search",
89586
- "action": {
89587
- "actionId": "tier5.himiBrandedGalleries.collectionPreview",
89588
- "params": {
89589
- "id": "$item.collectionId"
89590
- }
89591
- }
89592
- }
89593
- ]
89594
- }
89595
- }
89596
- },
89597
- "modifiers": {
89598
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideList"
89599
- }
89600
- },
89601
- {
89602
- "id": "",
89603
- "body": {
89604
- "package": "himalaya",
89605
- "type": "VStack",
89606
- "props": {
89607
- "spacing": 12,
89608
- "children": [
89609
- {
89610
- "id": "himi_galleries.rows.collection.compact-grid",
89611
- "body": {
89612
- "package": "himalaya",
89613
- "type": "Grid",
89614
- "props": {
89615
- "columns": 2,
89616
- "columnsMedium": 3,
89617
- "columnsExpanded": 4,
89618
- "spacing": 8,
89619
- "staggerMs": 30,
89620
- "itemsPath": "$service:himiBrandedGalleries.collection.items",
89621
- "items": [
89622
- {
89623
- "id": "himi_galleries.rows.collection.compact-grid.$item.collectionId",
89624
- "body": {
89625
- "package": "himalaya",
89626
- "type": "VStack",
89627
- "props": {
89628
- "spacing": 8,
89629
- "alignment": "leading",
89630
- "children": [
89631
- {
89632
- "id": "",
89633
- "body": {
89634
- "package": "himalaya",
89635
- "type": "VStack",
89636
- "props": {
89637
- "spacing": 0,
89638
- "children": [
89639
- {
89640
- "id": "himi_galleries.rows.collection.compact-grid.$item.collectionId/image",
89641
- "body": {
89642
- "package": "himalaya",
89643
- "type": "Image",
89644
- "props": {
89645
- "url": "$item.collectionImage",
89646
- "contentDescription": "$item.collectionTitle",
89647
- "contentMode": "fill",
89648
- "height": 80,
89649
- "fillWidth": true
89650
- }
89651
- },
89652
- "modifiers": {
89653
- "cornerRadius": 12,
89654
- "hiddenPath": "$item.collectionNoImage"
89655
- }
89656
- },
89657
- {
89658
- "id": "",
89659
- "body": {
89660
- "package": "himalaya",
89661
- "type": "ZStack",
89662
- "props": {
89663
- "alignment": "center",
89664
- "children": [
89665
- {
89666
- "id": "",
89667
- "body": {
89668
- "package": "himalaya",
89669
- "type": "Icon",
89670
- "props": {
89671
- "name": "photo",
89672
- "size": 28,
89673
- "tint": "accentPrimary"
89674
- }
89675
- },
89676
- "modifiers": {
89677
- "accessibilityRole": "decorative"
89678
- }
89679
- }
89680
- ]
89681
- }
89682
- },
89683
- "modifiers": {
89684
- "height": 80,
89685
- "fillMaxWidth": true,
89686
- "cornerRadius": 12,
89687
- "background": {
89688
- "token": "surfaceSecondary"
89689
- },
89690
- "accessibilityLabel": "No image available",
89691
- "hiddenPath": "$item.collectionHasImage"
89692
- }
89693
- }
89694
- ]
89695
- }
89696
- }
89697
- },
89698
- {
89699
- "id": "",
89700
- "body": {
89701
- "package": "himalaya",
89702
- "type": "VStack",
89703
- "props": {
89704
- "spacing": 4,
89705
- "alignment": "leading",
89706
- "children": [
89707
- {
89708
- "id": "",
89709
- "body": {
89710
- "package": "himalaya",
89711
- "type": "Text",
89712
- "props": {
89713
- "text": "$item.collectionTitle",
89714
- "style": "bodyEmphasis",
89715
- "maxLines": 2
89716
- }
89717
- }
89718
- },
89719
- {
89720
- "id": "",
89721
- "body": {
89722
- "package": "himalaya",
89723
- "type": "Text",
89724
- "props": {
89725
- "text": "$item.collectionSubtitle",
89726
- "style": "caption",
89727
- "color": "textSecondary",
89728
- "maxLines": 1,
89729
- "collapseWhenEmpty": true
89730
- }
89731
- }
89732
- },
89733
- {
89734
- "id": "",
89735
- "body": {
89736
- "package": "himalaya",
89737
- "type": "Text",
89738
- "props": {
89739
- "text": "$item.collectionMeta",
89740
- "style": "caption",
89741
- "color": "textSecondary",
89742
- "maxLines": 2,
89743
- "collapseWhenEmpty": true
89744
- }
89745
- }
89746
- },
89747
- {
89748
- "id": "",
89749
- "body": {
89750
- "package": "himalaya",
89751
- "type": "Text",
89752
- "props": {
89753
- "text": "Saved",
89754
- "style": "caption",
89755
- "color": "accentPrimary"
89756
- }
89757
- },
89758
- "modifiers": {
89759
- "hiddenPath": "$item.collectionNotSaved"
89760
- }
89761
- }
89762
- ]
89763
- }
89764
- }
89765
- },
89766
- {
89767
- "id": "",
89768
- "body": {
89769
- "package": "himalaya",
89770
- "type": "HStack",
89771
- "props": {
89772
- "spacing": 8,
89773
- "children": [
89774
- {
89775
- "id": "himi_galleries.rows.collection.compact-grid.$item.collectionId/select",
89776
- "body": {
89777
- "package": "himalaya",
89778
- "type": "Button",
89779
- "props": {
89780
- "title": "$item.collectionSelectLabel",
89781
- "style": "plain",
89782
- "fullWidth": false,
89783
- "action": {
89784
- "actionId": "tier5.himiBrandedGalleries.collectionSelect",
89785
- "params": {
89786
- "id": "$item.collectionId"
89787
- }
89788
- }
89789
- }
89790
- },
89791
- "modifiers": {
89792
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSelection"
89793
- }
89794
- },
89795
- {
89796
- "id": "",
89797
- "body": {
89798
- "package": "himalaya",
89799
- "type": "Spacer",
89800
- "props": {}
89801
- }
89802
- },
89803
- {
89804
- "id": "himi_galleries.rows.collection.compact-grid.$item.collectionId/actions",
89805
- "body": {
89806
- "package": "himalaya",
89807
- "type": "Menu",
89808
- "props": {
89809
- "style": "dropdown",
89810
- "anchor": {
89811
- "id": "",
89812
- "body": {
89813
- "package": "himalaya",
89814
- "type": "Icon",
89815
- "props": {
89816
- "name": "ellipsis",
89817
- "size": 20
89818
- }
89819
- },
89820
- "modifiers": {
89821
- "width": 44,
89822
- "height": 44,
89823
- "accessibilityLabel": "$item.collectionActionsLabel"
89824
- }
89825
- },
89826
- "items": [
89827
- {
89828
- "id": "preview",
89829
- "label": "Quick preview",
89830
- "icon": "search",
89831
- "action": {
89832
- "actionId": "tier5.himiBrandedGalleries.collectionPreview",
89833
- "params": {
89834
- "id": "$item.collectionId"
89835
- }
89836
- }
89837
- },
89838
- {
89839
- "id": "save",
89840
- "label": "$item.collectionSaveLabel",
89841
- "icon": "bookmark",
89842
- "action": {
89843
- "actionId": "tier5.himiBrandedGalleries.collectionSave",
89844
- "params": {
89845
- "id": "$item.collectionId"
89846
- }
89847
- }
89848
- },
89849
- {
89850
- "id": "open",
89851
- "label": "Open details",
89852
- "icon": "chevron_right",
89853
- "action": {
89854
- "actionId": "himi.open",
89855
- "params": {
89856
- "screenId": "himi_gallery",
89857
- "id": "$item.id",
89858
- "name": "$item.title",
89859
- "subtitle": "$item.subtitle"
89860
- }
89861
- }
89862
- }
89863
- ]
89864
- }
89865
- }
89866
- }
89867
- ]
89868
- }
89869
- },
89870
- "modifiers": {
89871
- "hiddenPath": "$item.collectionNoIdentity"
89872
- }
89873
- }
89874
- ]
89875
- }
89876
- },
89877
- "modifiers": {
89878
- "onTap": {
89879
- "actionId": "himi.open",
89880
- "params": {
89881
- "screenId": "himi_gallery",
89882
- "id": "$item.id",
89883
- "name": "$item.title",
89884
- "subtitle": "$item.subtitle"
89885
- }
89886
- },
89887
- "haptic": "light",
89888
- "background": {
89889
- "token": "surfaceElevated"
89890
- },
89891
- "border": {
89892
- "width": 1,
89893
- "color": {
89894
- "token": "border"
89895
- }
89896
- },
89897
- "cornerRadius": 12,
89898
- "padding": {
89899
- "top": 8,
89900
- "bottom": 8,
89901
- "leading": 12,
89902
- "trailing": 12
89903
- },
89904
- "fillMaxWidth": true,
89905
- "accessibilityLabel": "$item.collectionTitle",
89906
- "pressFeedback": "scale",
89907
- "transition": {
89908
- "enter": "fadeSlide",
89909
- "direction": "up",
89910
- "distance": 8
89911
- }
89912
- }
89913
- }
89914
- ]
89915
- }
89916
- }
89917
- }
89918
- ]
89919
- }
89920
- },
89921
- "modifiers": {
89922
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideGrid"
89923
- }
89924
- }
89925
- ]
89926
- }
89927
- },
89928
- "modifiers": {
89929
- "hiddenPath": "$service:himiBrandedGalleries.collection.hideCompact",
89930
- "padding": {
89931
- "bottom": 12
89932
- }
89933
- }
89934
- },
89935
- {
89936
- "id": "",
89937
- "body": {
89938
- "package": "himalaya",
89939
- "type": "VStack",
89940
- "props": {
89941
- "spacing": 8,
89942
- "children": [
89943
- {
89944
- "id": "",
89945
- "body": {
89946
- "package": "himalaya",
89947
- "type": "Text",
89948
- "props": {
89949
- "text": "No matching items",
89950
- "style": "bodyEmphasis"
89951
- }
89952
- }
89953
- },
89954
- {
89955
- "id": "btn_tier5_himibrandedgalleries_collectionclear",
89956
- "body": {
89957
- "package": "himalaya",
89958
- "type": "Button",
89959
- "props": {
89960
- "title": "Clear filters",
89961
- "style": "secondary",
89962
- "action": {
89963
- "actionId": "tier5.himiBrandedGalleries.collectionClear"
89964
- }
89965
- }
89966
- }
89967
- }
89968
- ]
89969
- }
89970
- },
89971
- "modifiers": {
89972
- "hiddenPath": "$service:himiBrandedGalleries.collection.noEmpty",
89973
- "padding": {
89974
- "bottom": 12
89975
- }
89976
- }
89977
- },
89978
- {
89979
- "id": "himi_galleries.rows.collection.sheet",
89980
- "body": {
89981
- "package": "himalaya",
89982
- "type": "BottomSheet",
89983
- "props": {
89984
- "presentedPath": "$service:himiBrandedGalleries.collection.filtersPresented",
89985
- "dismissible": true,
89986
- "showGrabber": true,
89987
- "onDismiss": {
89988
- "actionId": "tier5.himiBrandedGalleries.collectionDismissFilters"
89989
- },
89990
- "content": {
89991
- "id": "",
89992
- "body": {
89993
- "package": "himalaya",
89994
- "type": "VStack",
89995
- "props": {
89996
- "spacing": 16,
89997
- "children": [
89998
- {
89999
- "id": "",
90000
- "body": {
90001
- "package": "himalaya",
90002
- "type": "Text",
90003
- "props": {
90004
- "text": "Make this view yours",
90005
- "style": "title2"
90006
- }
90007
- }
90008
- },
90009
- {
90010
- "id": "",
90011
- "body": {
90012
- "package": "himalaya",
90013
- "type": "Text",
90014
- "props": {
90015
- "text": "$service:himiBrandedGalleries.collection.persistenceLabel",
90016
- "style": "caption",
90017
- "color": "textSecondary"
90018
- }
90019
- }
90020
- },
90021
- {
90022
- "id": "",
90023
- "body": {
90024
- "package": "himalaya",
90025
- "type": "Text",
90026
- "props": {
90027
- "text": "Sort",
90028
- "style": "bodyEmphasis"
90029
- }
90030
- }
90031
- },
90032
- {
90033
- "id": "segmented_tier5_himibrandedgalleries_collectionsort",
90034
- "body": {
90035
- "package": "himalaya",
90036
- "type": "SegmentedControl",
90037
- "props": {
90038
- "options": [
90039
- {
90040
- "id": "default",
90041
- "label": "Original"
90042
- },
90043
- {
90044
- "id": "az",
90045
- "label": "A–Z"
90046
- },
90047
- {
90048
- "id": "za",
90049
- "label": "Z–A"
90050
- }
90051
- ],
90052
- "selectedId": "$service:himiBrandedGalleries.collection.sort",
90053
- "onChange": {
90054
- "actionId": "tier5.himiBrandedGalleries.collectionSort"
90055
- }
90056
- }
90057
- }
90058
- },
90059
- {
90060
- "id": "",
90061
- "body": {
90062
- "package": "himalaya",
90063
- "type": "Text",
90064
- "props": {
90065
- "text": "Density",
90066
- "style": "bodyEmphasis"
90067
- }
90068
- }
90069
- },
90070
- {
90071
- "id": "segmented_tier5_himibrandedgalleries_collectiondensity",
90072
- "body": {
90073
- "package": "himalaya",
90074
- "type": "SegmentedControl",
90075
- "props": {
90076
- "options": [
90077
- {
90078
- "id": "comfortable",
90079
- "label": "Comfortable"
90080
- },
90081
- {
90082
- "id": "compact",
90083
- "label": "Compact"
90084
- }
90085
- ],
90086
- "selectedId": "$service:himiBrandedGalleries.collection.density",
90087
- "onChange": {
90088
- "actionId": "tier5.himiBrandedGalleries.collectionDensity"
90089
- }
90090
- }
90091
- }
90092
- },
90093
- {
90094
- "id": "",
90095
- "body": {
90096
- "package": "himalaya",
90097
- "type": "Text",
90098
- "props": {
90099
- "text": "Saved views",
90100
- "style": "bodyEmphasis"
90101
- }
90102
- }
90103
- },
90104
- {
90105
- "id": "",
90106
- "body": {
90107
- "package": "himalaya",
90108
- "type": "LazyList",
90109
- "props": {
90110
- "itemsPath": "$service:himiBrandedGalleries.collection.savedViews",
90111
- "items": [
90112
- {
90113
- "id": "",
90114
- "body": {
90115
- "package": "himalaya",
90116
- "type": "HStack",
90117
- "props": {
90118
- "spacing": 8,
90119
- "children": [
90120
- {
90121
- "id": "btn_tier5_himibrandedgalleries_collectionapplyview",
90122
- "body": {
90123
- "package": "himalaya",
90124
- "type": "Button",
90125
- "props": {
90126
- "title": "$item.name",
90127
- "style": "secondary",
90128
- "action": {
90129
- "actionId": "tier5.himiBrandedGalleries.collectionApplyView",
90130
- "params": {
90131
- "id": "$item.id"
90132
- }
90133
- }
90134
- }
90135
- }
90136
- },
90137
- {
90138
- "id": "btn_tier5_himibrandedgalleries_collectionremoveview",
90139
- "body": {
90140
- "package": "himalaya",
90141
- "type": "Button",
90142
- "props": {
90143
- "title": "Remove",
90144
- "style": "plain",
90145
- "action": {
90146
- "actionId": "tier5.himiBrandedGalleries.collectionRemoveView",
90147
- "params": {
90148
- "id": "$item.id"
90149
- }
90150
- }
90151
- }
90152
- }
90153
- }
90154
- ]
90155
- }
90156
- }
90157
- }
90158
- ]
90159
- }
90160
- },
90161
- "modifiers": {
90162
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSavedViews"
90163
- }
90164
- },
90165
- {
90166
- "id": "himi_galleries.rows.collection.view-name",
90167
- "body": {
90168
- "package": "himalaya",
90169
- "type": "TextField",
90170
- "props": {
90171
- "placeholder": "Name this view",
90172
- "valuePath": "$service:himiBrandedGalleries.collection.viewName",
90173
- "onChange": {
90174
- "actionId": "tier5.himiBrandedGalleries.collectionViewName"
90175
- }
90176
- }
90177
- }
90178
- },
90179
- {
90180
- "id": "himi_galleries.rows.collection.remember-view",
90181
- "body": {
90182
- "package": "himalaya",
90183
- "type": "Button",
90184
- "props": {
90185
- "title": "Save current view",
90186
- "style": "secondary",
90187
- "action": {
90188
- "actionId": "tier5.himiBrandedGalleries.collectionRememberView"
90189
- }
90190
- }
90191
- }
90192
- },
90193
- {
90194
- "id": "",
90195
- "body": {
90196
- "package": "himalaya",
90197
- "type": "Text",
90198
- "props": {
90199
- "text": "$service:himiBrandedGalleries.collection.viewMessage",
90200
- "style": "caption",
90201
- "collapseWhenEmpty": true
90202
- }
90203
- }
90204
- },
90205
- {
90206
- "id": "btn_tier5_himibrandedgalleries_collectiondismissfilters",
90207
- "body": {
90208
- "package": "himalaya",
90209
- "type": "Button",
90210
- "props": {
90211
- "title": "Done",
90212
- "style": "primary",
90213
- "action": {
90214
- "actionId": "tier5.himiBrandedGalleries.collectionDismissFilters"
90215
- },
90216
- "fullWidth": true
90217
- }
90218
- }
90219
- }
90220
- ]
90221
- }
90222
- },
90223
- "modifiers": {
90224
- "padding": {
90225
- "leading": 20,
90226
- "trailing": 20,
90227
- "top": 20,
90228
- "bottom": 24
90229
- }
90230
- }
90231
- }
90232
- }
90233
- }
90234
- },
90235
- {
90236
- "id": "himi_galleries.rows.collection.preview",
90237
- "body": {
90238
- "package": "himalaya",
90239
- "type": "BottomSheet",
90240
- "props": {
90241
- "presentedPath": "$service:himiBrandedGalleries.collection.previewPresented",
90242
- "dismissible": true,
90243
- "showGrabber": true,
90244
- "onDismiss": {
90245
- "actionId": "tier5.himiBrandedGalleries.collectionDismissPreview"
90246
- },
90247
- "content": {
90248
- "id": "",
90249
- "body": {
90250
- "package": "himalaya",
90251
- "type": "Grid",
90252
- "props": {
90253
- "columns": 1,
90254
- "itemsPath": "$service:himiBrandedGalleries.collection.preview",
90255
- "items": [
90256
- {
90257
- "id": "himi_galleries.rows.collection.preview.$item.collectionId",
90258
- "body": {
90259
- "package": "himalaya",
90260
- "type": "VStack",
90261
- "props": {
90262
- "spacing": 8,
90263
- "alignment": "leading",
90264
- "children": [
90265
- {
90266
- "id": "",
90267
- "body": {
90268
- "package": "himalaya",
90269
- "type": "VStack",
90270
- "props": {
90271
- "spacing": 0,
90272
- "children": [
90273
- {
90274
- "id": "himi_galleries.rows.collection.preview.$item.collectionId/image",
90275
- "body": {
90276
- "package": "himalaya",
90277
- "type": "Image",
90278
- "props": {
90279
- "url": "$item.collectionImage",
90280
- "contentDescription": "$item.collectionTitle",
90281
- "contentMode": "fill",
90282
- "height": 112,
90283
- "fillWidth": true
90284
- }
90285
- },
90286
- "modifiers": {
90287
- "cornerRadius": 12,
90288
- "hiddenPath": "$item.collectionNoImage"
90289
- }
90290
- },
90291
- {
90292
- "id": "",
90293
- "body": {
90294
- "package": "himalaya",
90295
- "type": "ZStack",
90296
- "props": {
90297
- "alignment": "center",
90298
- "children": [
90299
- {
90300
- "id": "",
90301
- "body": {
90302
- "package": "himalaya",
90303
- "type": "Icon",
90304
- "props": {
90305
- "name": "photo",
90306
- "size": 28,
90307
- "tint": "accentPrimary"
90308
- }
90309
- },
90310
- "modifiers": {
90311
- "accessibilityRole": "decorative"
90312
- }
90313
- }
90314
- ]
90315
- }
90316
- },
90317
- "modifiers": {
90318
- "height": 112,
90319
- "fillMaxWidth": true,
90320
- "cornerRadius": 12,
90321
- "background": {
90322
- "token": "surfaceSecondary"
90323
- },
90324
- "accessibilityLabel": "No image available",
90325
- "hiddenPath": "$item.collectionHasImage"
90326
- }
90327
- }
90328
- ]
90329
- }
90330
- }
90331
- },
90332
- {
90333
- "id": "",
90334
- "body": {
90335
- "package": "himalaya",
90336
- "type": "VStack",
90337
- "props": {
90338
- "spacing": 4,
90339
- "alignment": "leading",
90340
- "children": [
90341
- {
90342
- "id": "",
90343
- "body": {
90344
- "package": "himalaya",
90345
- "type": "Text",
90346
- "props": {
90347
- "text": "$item.collectionTitle",
90348
- "style": "bodyEmphasis",
90349
- "maxLines": 2
90350
- }
90351
- }
90352
- },
90353
- {
90354
- "id": "",
90355
- "body": {
90356
- "package": "himalaya",
90357
- "type": "Text",
90358
- "props": {
90359
- "text": "$item.collectionSubtitle",
90360
- "style": "caption",
90361
- "color": "textSecondary",
90362
- "maxLines": 3,
90363
- "collapseWhenEmpty": true
90364
- }
90365
- }
90366
- },
90367
- {
90368
- "id": "",
90369
- "body": {
90370
- "package": "himalaya",
90371
- "type": "Text",
90372
- "props": {
90373
- "text": "$item.collectionMeta",
90374
- "style": "caption",
90375
- "color": "textSecondary",
90376
- "maxLines": 2,
90377
- "collapseWhenEmpty": true
90378
- }
90379
- }
90380
- },
90381
- {
90382
- "id": "",
90383
- "body": {
90384
- "package": "himalaya",
90385
- "type": "Text",
90386
- "props": {
90387
- "text": "Saved",
90388
- "style": "caption",
90389
- "color": "accentPrimary"
90390
- }
90391
- },
90392
- "modifiers": {
90393
- "hiddenPath": "$item.collectionNotSaved"
90394
89060
  }
90395
- }
90396
- ]
89061
+ ]
89062
+ }
90397
89063
  }
90398
89064
  }
90399
- },
90400
- {
90401
- "id": "",
90402
- "body": {
90403
- "package": "himalaya",
90404
- "type": "HStack",
90405
- "props": {
90406
- "spacing": 8,
90407
- "children": [
90408
- {
90409
- "id": "himi_galleries.rows.collection.preview.$item.collectionId/select",
90410
- "body": {
90411
- "package": "himalaya",
90412
- "type": "Button",
90413
- "props": {
90414
- "title": "$item.collectionSelectLabel",
90415
- "style": "plain",
90416
- "fullWidth": false,
90417
- "action": {
90418
- "actionId": "tier5.himiBrandedGalleries.collectionSelect",
90419
- "params": {
90420
- "id": "$item.collectionId"
90421
- }
90422
- }
90423
- }
90424
- },
90425
- "modifiers": {
90426
- "hiddenPath": "$service:himiBrandedGalleries.collection.noSelection"
90427
- }
90428
- },
90429
- {
90430
- "id": "",
90431
- "body": {
90432
- "package": "himalaya",
90433
- "type": "Spacer",
90434
- "props": {}
90435
- }
90436
- },
90437
- {
90438
- "id": "himi_galleries.rows.collection.preview.$item.collectionId/actions",
90439
- "body": {
90440
- "package": "himalaya",
90441
- "type": "Menu",
90442
- "props": {
90443
- "style": "dropdown",
90444
- "anchor": {
90445
- "id": "",
90446
- "body": {
90447
- "package": "himalaya",
90448
- "type": "Icon",
90449
- "props": {
90450
- "name": "ellipsis",
90451
- "size": 20
90452
- }
90453
- },
90454
- "modifiers": {
90455
- "width": 44,
90456
- "height": 44,
90457
- "accessibilityLabel": "$item.collectionActionsLabel"
90458
- }
90459
- },
90460
- "items": [
90461
- {
90462
- "id": "preview",
90463
- "label": "Quick preview",
90464
- "icon": "search",
90465
- "action": {
90466
- "actionId": "tier5.himiBrandedGalleries.collectionPreview",
90467
- "params": {
90468
- "id": "$item.collectionId"
90469
- }
90470
- }
90471
- },
90472
- {
90473
- "id": "save",
90474
- "label": "$item.collectionSaveLabel",
90475
- "icon": "bookmark",
90476
- "action": {
90477
- "actionId": "tier5.himiBrandedGalleries.collectionSave",
90478
- "params": {
90479
- "id": "$item.collectionId"
90480
- }
90481
- }
90482
- },
90483
- {
90484
- "id": "open",
90485
- "label": "Open details",
90486
- "icon": "chevron_right",
90487
- "action": {
90488
- "actionId": "himi.open",
90489
- "params": {
90490
- "screenId": "himi_gallery",
90491
- "id": "$item.id",
90492
- "name": "$item.title",
90493
- "subtitle": "$item.subtitle"
90494
- }
90495
- }
90496
- }
90497
- ]
90498
- }
90499
- }
90500
- }
90501
- ]
89065
+ ]
89066
+ }
89067
+ },
89068
+ "modifiers": {
89069
+ "cornerRadius": 8,
89070
+ "fillMaxWidth": true
89071
+ }
89072
+ },
89073
+ {
89074
+ "id": "",
89075
+ "body": {
89076
+ "package": "himalaya",
89077
+ "type": "VStack",
89078
+ "props": {
89079
+ "spacing": 4,
89080
+ "alignment": "leading",
89081
+ "children": [
89082
+ {
89083
+ "id": "",
89084
+ "body": {
89085
+ "package": "himalaya",
89086
+ "type": "Text",
89087
+ "props": {
89088
+ "text": "$item.name",
89089
+ "style": "title3",
89090
+ "maxLines": 2
89091
+ }
90502
89092
  }
90503
89093
  },
90504
- "modifiers": {
90505
- "hiddenPath": "$item.collectionNoIdentity"
89094
+ {
89095
+ "id": "",
89096
+ "body": {
89097
+ "package": "himalaya",
89098
+ "type": "Text",
89099
+ "props": {
89100
+ "text": "$item.subtitle",
89101
+ "style": "caption",
89102
+ "color": "textSecondary",
89103
+ "maxLines": 1,
89104
+ "collapseWhenEmpty": true
89105
+ }
89106
+ }
90506
89107
  }
90507
- }
90508
- ]
90509
- }
90510
- },
90511
- "modifiers": {
90512
- "onTap": {
90513
- "actionId": "himi.open",
90514
- "params": {
90515
- "screenId": "himi_gallery",
90516
- "id": "$item.id",
90517
- "name": "$item.title",
90518
- "subtitle": "$item.subtitle"
89108
+ ]
90519
89109
  }
90520
89110
  },
90521
- "haptic": "light",
90522
- "background": {
90523
- "token": "surfaceElevated"
90524
- },
90525
- "border": {
90526
- "width": 1,
90527
- "color": {
90528
- "token": "border"
89111
+ "modifiers": {
89112
+ "padding": {
89113
+ "leading": 4,
89114
+ "trailing": 4,
89115
+ "bottom": 4
90529
89116
  }
90530
- },
90531
- "cornerRadius": 12,
90532
- "padding": {
90533
- "top": 12,
90534
- "bottom": 12,
90535
- "leading": 12,
90536
- "trailing": 12
90537
- },
90538
- "fillMaxWidth": true,
90539
- "accessibilityLabel": "$item.collectionTitle",
90540
- "pressFeedback": "scale",
90541
- "transition": {
90542
- "enter": "fadeSlide",
90543
- "direction": "up",
90544
- "distance": 8
90545
89117
  }
90546
89118
  }
89119
+ ]
89120
+ }
89121
+ },
89122
+ "modifiers": {
89123
+ "background": {
89124
+ "token": "surfaceElevated"
89125
+ },
89126
+ "border": {
89127
+ "width": 1,
89128
+ "color": {
89129
+ "token": "border"
90547
89130
  }
90548
- ]
90549
- }
90550
- },
90551
- "modifiers": {
90552
- "padding": {
90553
- "leading": 20,
90554
- "trailing": 20,
90555
- "top": 20,
90556
- "bottom": 24
89131
+ },
89132
+ "cornerRadius": 12,
89133
+ "padding": {
89134
+ "leading": 12,
89135
+ "trailing": 12,
89136
+ "top": 12,
89137
+ "bottom": 12
89138
+ },
89139
+ "onTap": {
89140
+ "actionId": "himi.open",
89141
+ "params": {
89142
+ "screenId": "himi_gallery",
89143
+ "id": "$item.id",
89144
+ "name": "$item.name",
89145
+ "origin": "$item.origin"
89146
+ }
89147
+ },
89148
+ "pressFeedback": "scale",
89149
+ "haptic": "light",
89150
+ "accessibilityRole": "button",
89151
+ "accessibilityLabel": "$item.a11y"
90557
89152
  }
90558
89153
  }
90559
- }
89154
+ ]
89155
+ }
89156
+ },
89157
+ "modifiers": {
89158
+ "padding": {
89159
+ "bottom": 20
90560
89160
  }
90561
89161
  }
90562
89162
  }
90563
- ]
89163
+ ],
89164
+ "spacing": 0,
89165
+ "onPullToRefresh": {
89166
+ "actionId": "tier5.himiBrandedGalleries.load",
89167
+ "params": {
89168
+ "staticGalleries": "[]",
89169
+ "refresh": "1"
89170
+ }
89171
+ },
89172
+ "pagination": {
89173
+ "cursor": "$service:himiBrandedGalleries.nextCursor",
89174
+ "onLoadMore": {
89175
+ "actionId": "tier5.himiBrandedGalleries.loadMore"
89176
+ },
89177
+ "pageSize": 10
89178
+ }
89179
+ }
89180
+ }
89181
+ },
89182
+ {
89183
+ "id": "himi_galleries.page_retry",
89184
+ "body": {
89185
+ "package": "himalaya",
89186
+ "type": "Button",
89187
+ "props": {
89188
+ "title": "Try again",
89189
+ "style": "plain",
89190
+ "action": {
89191
+ "actionId": "tier5.himiBrandedGalleries.retryLoadMore"
89192
+ }
90564
89193
  }
89194
+ },
89195
+ "modifiers": {
89196
+ "padding": {
89197
+ "top": 12
89198
+ },
89199
+ "hiddenPath": "$service:himiBrandedGalleries.pageOk"
90565
89200
  }
90566
89201
  }
90567
89202
  ]
@@ -90572,10 +89207,10 @@ const SCREENS = runtimeSetting({
90572
89207
  "token": "surfacePrimary"
90573
89208
  },
90574
89209
  "padding": {
90575
- "leading": 16,
90576
- "trailing": 16,
90577
- "top": 18,
90578
- "bottom": 28
89210
+ "leading": 20,
89211
+ "trailing": 20,
89212
+ "top": 20,
89213
+ "bottom": 24
90579
89214
  },
90580
89215
  "onAppear": {
90581
89216
  "actionId": "tier5.himiBrandedGalleries.load",
@@ -90591,7 +89226,8 @@ const SCREENS = runtimeSetting({
90591
89226
  "contentType": "application/javascript+ts-bundle",
90592
89227
  "declaredCapabilities": [
90593
89228
  "wix_api",
90594
- "app_info"
89229
+ "app_info",
89230
+ "open_url"
90595
89231
  ],
90596
89232
  "minBinaryVersion": "0.1.0",
90597
89233
  "bundleVersion": "0.0.1"
@@ -90612,16 +89248,16 @@ const SCREENS = runtimeSetting({
90612
89248
  "package": "himalaya",
90613
89249
  "type": "VStack",
90614
89250
  "props": {
90615
- "spacing": 16,
89251
+ "spacing": 0,
90616
89252
  "alignment": "leading",
90617
89253
  "children": [
90618
89254
  {
90619
- "id": "",
89255
+ "id": "himi_gallery.head",
90620
89256
  "body": {
90621
89257
  "package": "himalaya",
90622
89258
  "type": "VStack",
90623
89259
  "props": {
90624
- "spacing": 16,
89260
+ "spacing": 4,
90625
89261
  "alignment": "leading",
90626
89262
  "children": [
90627
89263
  {
@@ -90631,205 +89267,417 @@ const SCREENS = runtimeSetting({
90631
89267
  "type": "Text",
90632
89268
  "props": {
90633
89269
  "text": "$service:himiBrandedGalleries.galleryTitle",
90634
- "style": "title1"
89270
+ "style": "screenTitle",
89271
+ "collapseWhenEmpty": true
90635
89272
  }
90636
89273
  }
90637
89274
  },
90638
89275
  {
90639
- "id": "himi_gallery.photos",
89276
+ "id": "himi_gallery.loading.title",
90640
89277
  "body": {
90641
89278
  "package": "himalaya",
90642
- "type": "Grid",
89279
+ "type": "Skeleton",
90643
89280
  "props": {
90644
- "columns": 2,
90645
- "columnsMedium": 3,
90646
- "spacing": 10,
90647
- "itemsPath": "$service:himiBrandedGalleries.photos",
90648
- "items": [
90649
- {
90650
- "id": "",
90651
- "body": {
90652
- "package": "himalaya",
90653
- "type": "Image",
90654
- "props": {
90655
- "url": "$item.url",
90656
- "fillWidth": true,
90657
- "height": 180,
90658
- "contentMode": "fill",
90659
- "contentDescription": "$item.title"
90660
- }
90661
- },
90662
- "modifiers": {
90663
- "cornerRadius": 8,
90664
- "fillMaxWidth": true,
90665
- "onTap": {
90666
- "actionId": "himi.open",
90667
- "params": {
90668
- "screenId": "himi_photo_album",
90669
- "id": "$item.id",
90670
- "url": "$item.url",
90671
- "name": "$item.title"
90672
- }
90673
- },
90674
- "accessibilityLabel": "$item.title"
90675
- }
90676
- }
90677
- ]
89281
+ "width": 200,
89282
+ "height": 24,
89283
+ "cornerRadius": 4
89284
+ }
89285
+ },
89286
+ "modifiers": {
89287
+ "hiddenPath": "$service:himiBrandedGalleries.noTitleSkeleton"
89288
+ }
89289
+ },
89290
+ {
89291
+ "id": "himi_gallery.count",
89292
+ "body": {
89293
+ "package": "himalaya",
89294
+ "type": "Text",
89295
+ "props": {
89296
+ "text": "$service:himiBrandedGalleries.countText",
89297
+ "style": "footnoteRegular",
89298
+ "color": "textSecondary",
89299
+ "collapseWhenEmpty": true
89300
+ }
89301
+ }
89302
+ },
89303
+ {
89304
+ "id": "himi_gallery.loading.count",
89305
+ "body": {
89306
+ "package": "himalaya",
89307
+ "type": "Skeleton",
89308
+ "props": {
89309
+ "width": 72,
89310
+ "height": 14,
89311
+ "cornerRadius": 4
89312
+ }
89313
+ },
89314
+ "modifiers": {
89315
+ "hiddenPath": "$service:himiBrandedGalleries.hideLoading"
89316
+ }
89317
+ }
89318
+ ]
89319
+ }
89320
+ },
89321
+ "modifiers": {
89322
+ "padding": {
89323
+ "bottom": 20
89324
+ }
89325
+ }
89326
+ },
89327
+ {
89328
+ "id": "himi_gallery.loading",
89329
+ "body": {
89330
+ "package": "himalaya",
89331
+ "type": "Grid",
89332
+ "props": {
89333
+ "columns": 2,
89334
+ "columnsMedium": 3,
89335
+ "columnsExpanded": 4,
89336
+ "spacing": 8,
89337
+ "items": [
89338
+ {
89339
+ "id": "himi_gallery.loading.tile.0",
89340
+ "body": {
89341
+ "package": "himalaya",
89342
+ "type": "Image",
89343
+ "props": {
89344
+ "url": "",
89345
+ "contentMode": "fill",
89346
+ "fillWidth": true,
89347
+ "aspectRatio": 1,
89348
+ "placeholder": "surfaceSecondary"
89349
+ }
89350
+ },
89351
+ "modifiers": {
89352
+ "accessibilityRole": "decorative",
89353
+ "cornerRadius": 8,
89354
+ "fillMaxWidth": true
89355
+ }
89356
+ },
89357
+ {
89358
+ "id": "himi_gallery.loading.tile.1",
89359
+ "body": {
89360
+ "package": "himalaya",
89361
+ "type": "Image",
89362
+ "props": {
89363
+ "url": "",
89364
+ "contentMode": "fill",
89365
+ "fillWidth": true,
89366
+ "aspectRatio": 1,
89367
+ "placeholder": "surfaceSecondary"
89368
+ }
89369
+ },
89370
+ "modifiers": {
89371
+ "accessibilityRole": "decorative",
89372
+ "cornerRadius": 8,
89373
+ "fillMaxWidth": true
89374
+ }
89375
+ },
89376
+ {
89377
+ "id": "himi_gallery.loading.tile.2",
89378
+ "body": {
89379
+ "package": "himalaya",
89380
+ "type": "Image",
89381
+ "props": {
89382
+ "url": "",
89383
+ "contentMode": "fill",
89384
+ "fillWidth": true,
89385
+ "aspectRatio": 1,
89386
+ "placeholder": "surfaceSecondary"
90678
89387
  }
89388
+ },
89389
+ "modifiers": {
89390
+ "accessibilityRole": "decorative",
89391
+ "cornerRadius": 8,
89392
+ "fillMaxWidth": true
90679
89393
  }
90680
89394
  },
90681
89395
  {
90682
- "id": "",
89396
+ "id": "himi_gallery.loading.tile.3",
90683
89397
  "body": {
90684
89398
  "package": "himalaya",
90685
- "type": "Text",
89399
+ "type": "Image",
90686
89400
  "props": {
90687
- "text": "Photos added to this album will appear here.",
90688
- "style": "body",
90689
- "color": "textSecondary"
89401
+ "url": "",
89402
+ "contentMode": "fill",
89403
+ "fillWidth": true,
89404
+ "aspectRatio": 1,
89405
+ "placeholder": "surfaceSecondary"
90690
89406
  }
90691
89407
  },
90692
89408
  "modifiers": {
90693
- "hiddenPath": "$service:himiBrandedGalleries.hasPhotos"
89409
+ "accessibilityRole": "decorative",
89410
+ "cornerRadius": 8,
89411
+ "fillMaxWidth": true
90694
89412
  }
90695
- }
90696
- ]
90697
- }
90698
- },
90699
- "modifiers": {
90700
- "hiddenPath": "$service:himiBrandedGalleries.noEntity"
90701
- }
90702
- },
90703
- {
90704
- "id": "",
90705
- "body": {
90706
- "package": "himalaya",
90707
- "type": "VStack",
90708
- "props": {
90709
- "spacing": 12,
90710
- "alignment": "leading",
90711
- "children": [
89413
+ },
90712
89414
  {
90713
- "id": "himi_gallery.loading",
89415
+ "id": "himi_gallery.loading.tile.4",
90714
89416
  "body": {
90715
89417
  "package": "himalaya",
90716
- "type": "Text",
89418
+ "type": "Image",
90717
89419
  "props": {
90718
- "text": "Loading…",
90719
- "style": "body",
90720
- "color": "textSecondary"
89420
+ "url": "",
89421
+ "contentMode": "fill",
89422
+ "fillWidth": true,
89423
+ "aspectRatio": 1,
89424
+ "placeholder": "surfaceSecondary"
90721
89425
  }
90722
89426
  },
90723
89427
  "modifiers": {
90724
- "hiddenPath": "$service:himiBrandedGalleries.hideLoading"
89428
+ "accessibilityRole": "decorative",
89429
+ "cornerRadius": 8,
89430
+ "fillMaxWidth": true
90725
89431
  }
90726
89432
  },
90727
89433
  {
90728
- "id": "himi_gallery.load_error",
89434
+ "id": "himi_gallery.loading.tile.5",
90729
89435
  "body": {
90730
89436
  "package": "himalaya",
90731
- "type": "Text",
89437
+ "type": "Image",
90732
89438
  "props": {
90733
- "text": "This couldn't be loaded. Check your connection and try again.",
90734
- "style": "body",
90735
- "color": "textSecondary"
89439
+ "url": "",
89440
+ "contentMode": "fill",
89441
+ "fillWidth": true,
89442
+ "aspectRatio": 1,
89443
+ "placeholder": "surfaceSecondary"
90736
89444
  }
90737
89445
  },
90738
89446
  "modifiers": {
90739
- "hiddenPath": "$service:himiBrandedGalleries.hideLoadError"
89447
+ "accessibilityRole": "decorative",
89448
+ "cornerRadius": 8,
89449
+ "fillMaxWidth": true
90740
89450
  }
90741
- },
89451
+ }
89452
+ ]
89453
+ }
89454
+ },
89455
+ "modifiers": {
89456
+ "hiddenPath": "$service:himiBrandedGalleries.hideLoading"
89457
+ }
89458
+ },
89459
+ {
89460
+ "id": "himi_gallery.empty",
89461
+ "body": {
89462
+ "package": "himalaya",
89463
+ "type": "EmptyState",
89464
+ "props": {
89465
+ "icon": "image",
89466
+ "title": "No photos yet",
89467
+ "subtitle": "Photos added to this gallery will show here.",
89468
+ "actionLabel": "Back to Galleries",
89469
+ "action": {
89470
+ "actionId": "himi.open",
89471
+ "params": {
89472
+ "screenId": "himi_galleries"
89473
+ }
89474
+ }
89475
+ }
89476
+ },
89477
+ "modifiers": {
89478
+ "hiddenPath": "$service:himiBrandedGalleries.hideNoPhotos"
89479
+ }
89480
+ },
89481
+ {
89482
+ "id": "himi_gallery.not_found",
89483
+ "body": {
89484
+ "package": "himalaya",
89485
+ "type": "EmptyState",
89486
+ "props": {
89487
+ "icon": "image",
89488
+ "title": "Gallery not found",
89489
+ "subtitle": "This gallery is no longer available.",
89490
+ "actionLabel": "Back to Galleries",
89491
+ "actionStyle": "primary",
89492
+ "action": {
89493
+ "actionId": "himi.open",
89494
+ "params": {
89495
+ "screenId": "himi_galleries"
89496
+ }
89497
+ }
89498
+ }
89499
+ },
89500
+ "modifiers": {
89501
+ "hiddenPath": "$service:himiBrandedGalleries.hideNotFound"
89502
+ }
89503
+ },
89504
+ {
89505
+ "id": "himi_gallery.error",
89506
+ "body": {
89507
+ "package": "himalaya",
89508
+ "type": "ErrorState",
89509
+ "props": {
89510
+ "variantPath": "$service:himiBrandedGalleries.errorVariant",
89511
+ "placement": "screen",
89512
+ "ctaLabel": "Try again",
89513
+ "cta": {
89514
+ "actionId": "tier5.himiBrandedGalleries.open",
89515
+ "params": {
89516
+ "staticGalleries": "[]"
89517
+ }
89518
+ }
89519
+ }
89520
+ },
89521
+ "modifiers": {
89522
+ "hiddenPath": "$service:himiBrandedGalleries.hideLoadError"
89523
+ }
89524
+ },
89525
+ {
89526
+ "id": "himi_gallery.photos",
89527
+ "body": {
89528
+ "package": "himalaya",
89529
+ "type": "Grid",
89530
+ "props": {
89531
+ "columns": 2,
89532
+ "columnsMedium": 3,
89533
+ "columnsExpanded": 4,
89534
+ "spacing": 8,
89535
+ "itemsPath": "$service:himiBrandedGalleries.photos",
89536
+ "items": [
90742
89537
  {
90743
- "id": "himi_gallery.not_found",
89538
+ "id": "himi_gallery.photo.$item.id",
90744
89539
  "body": {
90745
89540
  "package": "himalaya",
90746
- "type": "VStack",
89541
+ "type": "ZStack",
90747
89542
  "props": {
90748
- "spacing": 10,
90749
89543
  "alignment": "center",
90750
89544
  "children": [
90751
89545
  {
90752
- "id": "",
89546
+ "id": "himi_gallery.photo.$item.id/image",
90753
89547
  "body": {
90754
89548
  "package": "himalaya",
90755
- "type": "Icon",
89549
+ "type": "Image",
90756
89550
  "props": {
90757
- "name": "photo",
90758
- "size": 32,
90759
- "tint": "textTertiary"
89551
+ "url": "$item.url",
89552
+ "contentMode": "fill",
89553
+ "fillWidth": true,
89554
+ "aspectRatio": 1,
89555
+ "contentDescription": "$item.title",
89556
+ "caption": "$item.caption"
90760
89557
  }
90761
89558
  },
90762
89559
  "modifiers": {
90763
- "accessibilityRole": "decorative"
89560
+ "cornerRadius": 8,
89561
+ "fillMaxWidth": true,
89562
+ "hiddenPath": "$item.notImage"
90764
89563
  }
90765
89564
  },
90766
89565
  {
90767
- "id": "himi_gallery.not_found_title",
89566
+ "id": "himi_gallery.photo.$item.id/video",
90768
89567
  "body": {
90769
89568
  "package": "himalaya",
90770
- "type": "Text",
89569
+ "type": "Video",
90771
89570
  "props": {
90772
- "text": "Gallery not found",
90773
- "style": "title3"
89571
+ "url": "$item.videoUrl",
89572
+ "poster": "$item.poster",
89573
+ "controls": true,
89574
+ "contentMode": "fill",
89575
+ "aspectRatio": 1
90774
89576
  }
89577
+ },
89578
+ "modifiers": {
89579
+ "cornerRadius": 8,
89580
+ "fillMaxWidth": true,
89581
+ "accessibilityLabel": "$item.title",
89582
+ "hiddenPath": "$item.notVideo"
90775
89583
  }
90776
89584
  },
90777
89585
  {
90778
89586
  "id": "",
90779
89587
  "body": {
90780
89588
  "package": "himalaya",
90781
- "type": "Text",
90782
- "props": {
90783
- "text": "This gallery is no longer available.",
90784
- "style": "body",
90785
- "color": "textSecondary"
90786
- }
90787
- }
90788
- },
90789
- {
90790
- "id": "himi_gallery.not_found_back",
90791
- "body": {
90792
- "package": "himalaya",
90793
- "type": "Button",
89589
+ "type": "ZStack",
90794
89590
  "props": {
90795
- "title": "Back to galleries",
90796
- "style": "primary",
90797
- "fullWidth": true,
90798
- "action": {
90799
- "actionId": "himi.open",
90800
- "params": {
90801
- "screenId": "himi_galleries"
89591
+ "alignment": "center",
89592
+ "children": [
89593
+ {
89594
+ "id": "",
89595
+ "body": {
89596
+ "package": "himalaya",
89597
+ "type": "Image",
89598
+ "props": {
89599
+ "url": "",
89600
+ "contentMode": "fill",
89601
+ "fillWidth": true,
89602
+ "aspectRatio": 1,
89603
+ "placeholder": "surfaceSecondary"
89604
+ }
89605
+ },
89606
+ "modifiers": {
89607
+ "accessibilityRole": "decorative"
89608
+ }
89609
+ },
89610
+ {
89611
+ "id": "",
89612
+ "body": {
89613
+ "package": "himalaya",
89614
+ "type": "Icon",
89615
+ "props": {
89616
+ "name": "play_circle",
89617
+ "size": 20,
89618
+ "tint": "textTertiary"
89619
+ }
89620
+ },
89621
+ "modifiers": {
89622
+ "accessibilityRole": "decorative"
89623
+ }
90802
89624
  }
90803
- }
89625
+ ]
90804
89626
  }
89627
+ },
89628
+ "modifiers": {
89629
+ "cornerRadius": 8,
89630
+ "fillMaxWidth": true,
89631
+ "onTap": {
89632
+ "actionId": "tier5.himiBrandedGalleries.openExternal",
89633
+ "params": {
89634
+ "url": "$item.videoUrl"
89635
+ }
89636
+ },
89637
+ "accessibilityRole": "button",
89638
+ "accessibilityLabel": "$item.title",
89639
+ "hiddenPath": "$item.notExternal"
90805
89640
  }
90806
89641
  }
90807
89642
  ]
90808
89643
  }
90809
- },
90810
- "modifiers": {
90811
- "background": {
90812
- "token": "surfaceElevated"
90813
- },
90814
- "border": {
90815
- "width": 1,
90816
- "color": {
90817
- "token": "border"
90818
- }
90819
- },
90820
- "cornerRadius": 16,
90821
- "padding": {
90822
- "leading": 16,
90823
- "trailing": 16,
90824
- "top": 20,
90825
- "bottom": 20
90826
- },
90827
- "fillMaxWidth": true,
90828
- "hiddenPath": "$service:himiBrandedGalleries.hideNotFound"
90829
89644
  }
90830
89645
  }
90831
- ]
89646
+ ],
89647
+ "onPullToRefresh": {
89648
+ "actionId": "tier5.himiBrandedGalleries.refresh",
89649
+ "params": {
89650
+ "staticGalleries": "[]"
89651
+ }
89652
+ },
89653
+ "pagination": {
89654
+ "cursor": "$service:himiBrandedGalleries.photoCursor",
89655
+ "onLoadMore": {
89656
+ "actionId": "tier5.himiBrandedGalleries.morePhotos"
89657
+ },
89658
+ "pageSize": 100
89659
+ }
89660
+ }
89661
+ }
89662
+ },
89663
+ {
89664
+ "id": "himi_gallery.page_retry",
89665
+ "body": {
89666
+ "package": "himalaya",
89667
+ "type": "Button",
89668
+ "props": {
89669
+ "title": "Try again",
89670
+ "style": "plain",
89671
+ "action": {
89672
+ "actionId": "tier5.himiBrandedGalleries.retryMorePhotos"
89673
+ }
90832
89674
  }
89675
+ },
89676
+ "modifiers": {
89677
+ "padding": {
89678
+ "top": 12
89679
+ },
89680
+ "hiddenPath": "$service:himiBrandedGalleries.photoPageOk"
90833
89681
  }
90834
89682
  }
90835
89683
  ]
@@ -90840,10 +89688,10 @@ const SCREENS = runtimeSetting({
90840
89688
  "token": "surfacePrimary"
90841
89689
  },
90842
89690
  "padding": {
90843
- "leading": 16,
90844
- "trailing": 16,
90845
- "top": 18,
90846
- "bottom": 28
89691
+ "leading": 20,
89692
+ "trailing": 20,
89693
+ "top": 20,
89694
+ "bottom": 24
90847
89695
  },
90848
89696
  "onAppear": {
90849
89697
  "actionId": "tier5.himiBrandedGalleries.open",
@@ -90859,7 +89707,8 @@ const SCREENS = runtimeSetting({
90859
89707
  "contentType": "application/javascript+ts-bundle",
90860
89708
  "declaredCapabilities": [
90861
89709
  "wix_api",
90862
- "app_info"
89710
+ "app_info",
89711
+ "open_url"
90863
89712
  ],
90864
89713
  "minBinaryVersion": "0.1.0",
90865
89714
  "bundleVersion": "0.0.1"
@@ -90880,25 +89729,107 @@ const SCREENS = runtimeSetting({
90880
89729
  "package": "himalaya",
90881
89730
  "type": "VStack",
90882
89731
  "props": {
90883
- "spacing": 12,
89732
+ "spacing": 0,
90884
89733
  "alignment": "leading",
90885
89734
  "children": [
90886
89735
  {
90887
- "id": "",
89736
+ "id": "himi_photo_album.head",
89737
+ "body": {
89738
+ "package": "himalaya",
89739
+ "type": "VStack",
89740
+ "props": {
89741
+ "spacing": 4,
89742
+ "alignment": "leading",
89743
+ "children": [
89744
+ {
89745
+ "id": "himi_photo_album.loading.title",
89746
+ "body": {
89747
+ "package": "himalaya",
89748
+ "type": "Skeleton",
89749
+ "props": {
89750
+ "width": 220,
89751
+ "height": 24,
89752
+ "cornerRadius": 4
89753
+ }
89754
+ },
89755
+ "modifiers": {
89756
+ "hiddenPath": "$service:himiBrandedGalleries.hideLoading"
89757
+ }
89758
+ },
89759
+ {
89760
+ "id": "himi_photo_album.title",
89761
+ "body": {
89762
+ "package": "himalaya",
89763
+ "type": "Text",
89764
+ "props": {
89765
+ "text": "$service:himiBrandedGalleries.photoTitle",
89766
+ "style": "screenTitle",
89767
+ "collapseWhenEmpty": true
89768
+ }
89769
+ }
89770
+ },
89771
+ {
89772
+ "id": "himi_photo_album.subtitle",
89773
+ "body": {
89774
+ "package": "himalaya",
89775
+ "type": "Text",
89776
+ "props": {
89777
+ "text": "$service:himiBrandedGalleries.photoSubtitle",
89778
+ "style": "footnoteRegular",
89779
+ "color": "textSecondary"
89780
+ }
89781
+ },
89782
+ "modifiers": {
89783
+ "hiddenPath": "$service:himiBrandedGalleries.noSubtitle"
89784
+ }
89785
+ }
89786
+ ]
89787
+ }
89788
+ },
89789
+ "modifiers": {
89790
+ "padding": {
89791
+ "bottom": 20
89792
+ }
89793
+ }
89794
+ },
89795
+ {
89796
+ "id": "himi_photo_album.loading.photo",
90888
89797
  "body": {
90889
89798
  "package": "himalaya",
90890
89799
  "type": "Image",
90891
89800
  "props": {
90892
- "url": "$service:himiBrandedGalleries.photoUrl",
89801
+ "url": "",
89802
+ "contentMode": "fill",
90893
89803
  "fillWidth": true,
90894
- "height": 500,
89804
+ "aspectRatio": 1.5,
89805
+ "placeholder": "surfaceSecondary"
89806
+ }
89807
+ },
89808
+ "modifiers": {
89809
+ "accessibilityRole": "decorative",
89810
+ "cornerRadius": 8,
89811
+ "fillMaxWidth": true,
89812
+ "hiddenPath": "$service:himiBrandedGalleries.hideLoading"
89813
+ }
89814
+ },
89815
+ {
89816
+ "id": "himi_photo_album.photo",
89817
+ "body": {
89818
+ "package": "himalaya",
89819
+ "type": "Image",
89820
+ "props": {
89821
+ "url": "$service:himiBrandedGalleries.photoUrl",
90895
89822
  "contentMode": "fit",
90896
- "contentDescription": "$service:himiBrandedGalleries.photoTitle"
89823
+ "fillWidth": true,
89824
+ "aspectRatio": 1.5,
89825
+ "contentDescription": "$service:himiBrandedGalleries.photoLabel",
89826
+ "caption": "$service:himiBrandedGalleries.photoCaption"
90897
89827
  }
90898
89828
  },
90899
89829
  "modifiers": {
89830
+ "cornerRadius": 8,
90900
89831
  "fillMaxWidth": true,
90901
- "hiddenPath": "$service:himiBrandedGalleries.noEntity"
89832
+ "hiddenPath": "$service:himiBrandedGalleries.noPhotoImage"
90902
89833
  }
90903
89834
  },
90904
89835
  {
@@ -90907,130 +89838,94 @@ const SCREENS = runtimeSetting({
90907
89838
  "package": "himalaya",
90908
89839
  "type": "VStack",
90909
89840
  "props": {
90910
- "spacing": 12,
89841
+ "spacing": 8,
90911
89842
  "alignment": "leading",
90912
89843
  "children": [
90913
89844
  {
90914
- "id": "himi_photo_album.loading",
90915
- "body": {
90916
- "package": "himalaya",
90917
- "type": "Text",
90918
- "props": {
90919
- "text": "Loading…",
90920
- "style": "body",
90921
- "color": "textSecondary"
90922
- }
90923
- },
90924
- "modifiers": {
90925
- "hiddenPath": "$service:himiBrandedGalleries.hideLoading"
90926
- }
90927
- },
90928
- {
90929
- "id": "himi_photo_album.load_error",
89845
+ "id": "himi_photo_album.description",
90930
89846
  "body": {
90931
89847
  "package": "himalaya",
90932
89848
  "type": "Text",
90933
89849
  "props": {
90934
- "text": "This couldn't be loaded. Check your connection and try again.",
90935
- "style": "body",
89850
+ "text": "$service:himiBrandedGalleries.photoDescription",
89851
+ "style": "footnoteRegular",
90936
89852
  "color": "textSecondary"
90937
89853
  }
90938
89854
  },
90939
89855
  "modifiers": {
90940
- "hiddenPath": "$service:himiBrandedGalleries.hideLoadError"
89856
+ "hiddenPath": "$service:himiBrandedGalleries.noDescription"
90941
89857
  }
90942
89858
  },
90943
89859
  {
90944
- "id": "himi_photo_album.not_found",
89860
+ "id": "himi_photo_album.link",
90945
89861
  "body": {
90946
89862
  "package": "himalaya",
90947
- "type": "VStack",
89863
+ "type": "Button",
90948
89864
  "props": {
90949
- "spacing": 10,
90950
- "alignment": "center",
90951
- "children": [
90952
- {
90953
- "id": "",
90954
- "body": {
90955
- "package": "himalaya",
90956
- "type": "Icon",
90957
- "props": {
90958
- "name": "photo",
90959
- "size": 32,
90960
- "tint": "textTertiary"
90961
- }
90962
- },
90963
- "modifiers": {
90964
- "accessibilityRole": "decorative"
90965
- }
90966
- },
90967
- {
90968
- "id": "himi_photo_album.not_found_title",
90969
- "body": {
90970
- "package": "himalaya",
90971
- "type": "Text",
90972
- "props": {
90973
- "text": "Album not found",
90974
- "style": "title3"
90975
- }
90976
- }
90977
- },
90978
- {
90979
- "id": "",
90980
- "body": {
90981
- "package": "himalaya",
90982
- "type": "Text",
90983
- "props": {
90984
- "text": "This album is no longer available.",
90985
- "style": "body",
90986
- "color": "textSecondary"
90987
- }
90988
- }
90989
- },
90990
- {
90991
- "id": "himi_photo_album.not_found_back",
90992
- "body": {
90993
- "package": "himalaya",
90994
- "type": "Button",
90995
- "props": {
90996
- "title": "Back to galleries",
90997
- "style": "primary",
90998
- "fullWidth": true,
90999
- "action": {
91000
- "actionId": "himi.open",
91001
- "params": {
91002
- "screenId": "himi_galleries"
91003
- }
91004
- }
91005
- }
91006
- }
91007
- }
91008
- ]
89865
+ "title": "$service:himiBrandedGalleries.linkText",
89866
+ "style": "plain",
89867
+ "trailingIcon": "external_link",
89868
+ "action": {
89869
+ "actionId": "tier5.himiBrandedGalleries.openExternal"
89870
+ }
91009
89871
  }
91010
89872
  },
91011
89873
  "modifiers": {
91012
- "background": {
91013
- "token": "surfaceElevated"
91014
- },
91015
- "border": {
91016
- "width": 1,
91017
- "color": {
91018
- "token": "border"
91019
- }
91020
- },
91021
- "cornerRadius": 16,
91022
- "padding": {
91023
- "leading": 16,
91024
- "trailing": 16,
91025
- "top": 20,
91026
- "bottom": 20
91027
- },
91028
- "fillMaxWidth": true,
91029
- "hiddenPath": "$service:himiBrandedGalleries.hideNotFound"
89874
+ "hiddenPath": "$service:himiBrandedGalleries.noLink"
91030
89875
  }
91031
89876
  }
91032
89877
  ]
91033
89878
  }
89879
+ },
89880
+ "modifiers": {
89881
+ "padding": {
89882
+ "top": 12
89883
+ },
89884
+ "hiddenPath": "$service:himiBrandedGalleries.noEntity"
89885
+ }
89886
+ },
89887
+ {
89888
+ "id": "himi_photo_album.not_found",
89889
+ "body": {
89890
+ "package": "himalaya",
89891
+ "type": "EmptyState",
89892
+ "props": {
89893
+ "icon": "image",
89894
+ "title": "Photo not found",
89895
+ "subtitle": "This photo is no longer available.",
89896
+ "actionLabel": "Back to Galleries",
89897
+ "actionStyle": "primary",
89898
+ "action": {
89899
+ "actionId": "himi.open",
89900
+ "params": {
89901
+ "screenId": "himi_galleries"
89902
+ }
89903
+ }
89904
+ }
89905
+ },
89906
+ "modifiers": {
89907
+ "hiddenPath": "$service:himiBrandedGalleries.hideNotFound"
89908
+ }
89909
+ },
89910
+ {
89911
+ "id": "himi_photo_album.error",
89912
+ "body": {
89913
+ "package": "himalaya",
89914
+ "type": "ErrorState",
89915
+ "props": {
89916
+ "variantPath": "$service:himiBrandedGalleries.errorVariant",
89917
+ "placement": "screen",
89918
+ "ctaLabel": "Try again",
89919
+ "cta": {
89920
+ "actionId": "tier5.himiBrandedGalleries.view",
89921
+ "params": {
89922
+ "staticGalleries": "[]"
89923
+ }
89924
+ }
89925
+ }
89926
+ },
89927
+ "modifiers": {
89928
+ "hiddenPath": "$service:himiBrandedGalleries.hideLoadError"
91034
89929
  }
91035
89930
  }
91036
89931
  ]
@@ -91041,13 +89936,16 @@ const SCREENS = runtimeSetting({
91041
89936
  "token": "surfacePrimary"
91042
89937
  },
91043
89938
  "padding": {
91044
- "leading": 16,
91045
- "trailing": 16,
91046
- "top": 18,
91047
- "bottom": 28
89939
+ "leading": 20,
89940
+ "trailing": 20,
89941
+ "top": 20,
89942
+ "bottom": 24
91048
89943
  },
91049
89944
  "onAppear": {
91050
- "actionId": "tier5.himiBrandedGalleries.view"
89945
+ "actionId": "tier5.himiBrandedGalleries.view",
89946
+ "params": {
89947
+ "staticGalleries": "[]"
89948
+ }
91051
89949
  }
91052
89950
  }
91053
89951
  },
@@ -91057,10 +89955,54 @@ const SCREENS = runtimeSetting({
91057
89955
  "contentType": "application/javascript+ts-bundle",
91058
89956
  "declaredCapabilities": [
91059
89957
  "wix_api",
91060
- "app_info"
89958
+ "app_info",
89959
+ "open_url"
91061
89960
  ],
91062
89961
  "minBinaryVersion": "0.1.0",
91063
89962
  "bundleVersion": "0.0.1"
89963
+ },
89964
+ "stickyFooter": {
89965
+ "id": "himi_photo_album.footer",
89966
+ "body": {
89967
+ "package": "himalaya",
89968
+ "type": "VStack",
89969
+ "props": {
89970
+ "spacing": 0,
89971
+ "alignment": "center",
89972
+ "children": [
89973
+ {
89974
+ "id": "himi_photo_album.view_gallery",
89975
+ "body": {
89976
+ "package": "himalaya",
89977
+ "type": "Button",
89978
+ "props": {
89979
+ "title": "View Gallery",
89980
+ "style": "primary",
89981
+ "action": {
89982
+ "actionId": "himi.open",
89983
+ "params": {
89984
+ "screenId": "himi_gallery",
89985
+ "id": "$service:himiBrandedGalleries.galleryId"
89986
+ }
89987
+ }
89988
+ }
89989
+ }
89990
+ }
89991
+ ]
89992
+ }
89993
+ },
89994
+ "modifiers": {
89995
+ "background": {
89996
+ "token": "surfacePrimary"
89997
+ },
89998
+ "padding": {
89999
+ "leading": 20,
90000
+ "trailing": 20,
90001
+ "top": 12,
90002
+ "bottom": 12
90003
+ },
90004
+ "hiddenPath": "$service:himiBrandedGalleries.noGalleryLink"
90005
+ }
91064
90006
  }
91065
90007
  },
91066
90008
  "himi_business_chat": {