@wix/himalaya-cli 0.1494.0 → 0.1496.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 (82) 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/sdk/live-activity/src/index.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +2 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ecom/src/extensions.d.ts +16 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/display.d.ts +24 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/live-activity.mjs +3 -1
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -1
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +14 -0
  9. package/dist/cli.mjs +3584 -2541
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/guides/himi-json-output.md +46 -4
  12. package/guides/iap-products.md +68 -9
  13. package/guides/one-app-to-himi-app.md +80 -5
  14. package/guides/sdk-reference.json +11 -256
  15. package/guides/widgets.md +5 -3
  16. package/package.json +2 -2
  17. package/templates/beauty-salon/dev/index.ts +2590 -1034
  18. package/templates/beauty-salon/himalaya.content.json +1 -1
  19. package/templates/beauty-salon/tier5-src/_shared/himi-store-collection.ts +6 -3
  20. package/templates/beauty-salon/tier5-src/_shared/himi-store-saved.ts +7 -1
  21. package/templates/beauty-salon/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  22. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +196 -34
  23. package/templates/beauty-salon/tier5-src/himi-store-saved/index.ts +21 -5
  24. package/templates/beauty-salon/tier5-src/himi-store-shop/index.ts +14 -2
  25. package/templates/beauty-salon/tokens.json +15 -0
  26. package/templates/branded-lite/dev/index.ts +2696 -1140
  27. package/templates/branded-lite/himalaya.content.json +1 -1
  28. package/templates/branded-lite/tier5-src/_shared/business-chat-model.ts +35 -4
  29. package/templates/branded-lite/tier5-src/_shared/business-chat-transport.ts +12 -5
  30. package/templates/branded-lite/tier5-src/_shared/himi-store-collection.ts +6 -3
  31. package/templates/branded-lite/tier5-src/_shared/himi-store-saved.ts +7 -1
  32. package/templates/branded-lite/tier5-src/business-chat/index.ts +50 -17
  33. package/templates/branded-lite/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  34. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +196 -34
  35. package/templates/branded-lite/tier5-src/himi-store-saved/index.ts +21 -5
  36. package/templates/branded-lite/tier5-src/himi-store-shop/index.ts +14 -2
  37. package/templates/branded-lite/tokens.json +8 -0
  38. package/templates/community-club/dev/index.ts +1 -1
  39. package/templates/community-club/tier5-src/_shared/himi-store-saved.ts +7 -1
  40. package/templates/community-club/tokens.json +15 -0
  41. package/templates/events-meetups/dev/index.ts +1 -1
  42. package/templates/events-meetups/tier5-src/_shared/himi-store-saved.ts +7 -1
  43. package/templates/events-meetups/tokens.json +15 -0
  44. package/templates/gym-fitness/dev/index.ts +2695 -1139
  45. package/templates/gym-fitness/himalaya.content.json +1 -1
  46. package/templates/gym-fitness/tier5-src/_shared/himi-store-collection.ts +6 -3
  47. package/templates/gym-fitness/tier5-src/_shared/himi-store-saved.ts +7 -1
  48. package/templates/gym-fitness/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  49. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +196 -34
  50. package/templates/gym-fitness/tier5-src/himi-store-saved/index.ts +21 -5
  51. package/templates/gym-fitness/tier5-src/himi-store-shop/index.ts +14 -2
  52. package/templates/gym-fitness/tokens.json +15 -0
  53. package/templates/nonprofit-cause/dev/index.ts +1 -1
  54. package/templates/nonprofit-cause/tier5-src/_shared/himi-store-saved.ts +7 -1
  55. package/templates/nonprofit-cause/tokens.json +15 -0
  56. package/templates/podcast-creator/dev/index.ts +1 -1
  57. package/templates/podcast-creator/tier5-src/_shared/himi-store-saved.ts +7 -1
  58. package/templates/podcast-creator/tokens.json +15 -0
  59. package/templates/portfolio-creative/dev/index.ts +2569 -1013
  60. package/templates/portfolio-creative/himalaya.content.json +1 -1
  61. package/templates/portfolio-creative/tier5-src/_shared/himi-store-collection.ts +6 -3
  62. package/templates/portfolio-creative/tier5-src/_shared/himi-store-saved.ts +7 -1
  63. package/templates/portfolio-creative/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  64. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +196 -34
  65. package/templates/portfolio-creative/tier5-src/himi-store-saved/index.ts +21 -5
  66. package/templates/portfolio-creative/tier5-src/himi-store-shop/index.ts +14 -2
  67. package/templates/portfolio-creative/tokens.json +15 -0
  68. package/templates/restaurant/dev/index.ts +1 -1
  69. package/templates/restaurant/tier5-src/_shared/himi-store-saved.ts +7 -1
  70. package/templates/restaurant/tokens.json +15 -0
  71. package/templates/retail-store/dev/index.ts +2541 -985
  72. package/templates/retail-store/himalaya.content.json +1 -1
  73. package/templates/retail-store/tier5-src/_shared/himi-store-collection.ts +6 -3
  74. package/templates/retail-store/tier5-src/_shared/himi-store-saved.ts +7 -1
  75. package/templates/retail-store/tier5-src/himi-branded-lite-cart/index.ts +256 -19
  76. package/templates/retail-store/tier5-src/himi-store-product/index.ts +196 -34
  77. package/templates/retail-store/tier5-src/himi-store-saved/index.ts +21 -5
  78. package/templates/retail-store/tier5-src/himi-store-shop/index.ts +14 -2
  79. package/templates/retail-store/tokens.json +15 -0
  80. package/templates/yoga-studio/dev/index.ts +1 -1
  81. package/templates/yoga-studio/tier5-src/_shared/himi-store-saved.ts +7 -1
  82. package/templates/yoga-studio/tokens.json +15 -0
@@ -870,7 +870,7 @@ const SCREENS = runtimeSetting({
870
870
  "package": "himalaya",
871
871
  "type": "Text",
872
872
  "props": {
873
- "text": "Products you saved",
873
+ "text": "Wishlist",
874
874
  "style": "bodyEmphasis"
875
875
  }
876
876
  }
@@ -8795,9 +8795,9 @@ const SCREENS = runtimeSetting({
8795
8795
  "package": "himalaya",
8796
8796
  "type": "Button",
8797
8797
  "props": {
8798
- "title": "Saved products",
8798
+ "title": "Wishlist",
8799
8799
  "style": "plain",
8800
- "leadingIcon": "bookmark",
8800
+ "leadingIcon": "heart",
8801
8801
  "fullWidth": false,
8802
8802
  "action": {
8803
8803
  "actionId": "himi.open",
@@ -11345,54 +11345,213 @@ const SCREENS = runtimeSetting({
11345
11345
  "package": "himalaya",
11346
11346
  "type": "Text",
11347
11347
  "props": {
11348
- "text": "Saved products",
11348
+ "text": "Wishlist",
11349
11349
  "style": "title1"
11350
11350
  }
11351
11351
  }
11352
11352
  },
11353
- {
11354
- "id": "",
11355
- "body": {
11356
- "package": "himalaya",
11357
- "type": "Text",
11358
- "props": {
11359
- "text": "Saved on this device. Open a product for its latest price and availability.",
11360
- "style": "footnote",
11361
- "color": "textSecondary"
11362
- }
11363
- }
11364
- },
11365
11353
  {
11366
11354
  "id": "himi_saved_products.skeleton",
11367
11355
  "body": {
11368
11356
  "package": "himalaya",
11369
- "type": "Skeleton",
11357
+ "type": "Grid",
11370
11358
  "props": {
11371
- "height": 168,
11372
- "cornerRadius": 8
11359
+ "columns": 2,
11360
+ "spacing": 14,
11361
+ "items": [
11362
+ {
11363
+ "id": "",
11364
+ "body": {
11365
+ "package": "himalaya",
11366
+ "type": "VStack",
11367
+ "props": {
11368
+ "spacing": 8,
11369
+ "children": [
11370
+ {
11371
+ "id": "himi_saved_products.skeleton_image",
11372
+ "body": {
11373
+ "package": "himalaya",
11374
+ "type": "Skeleton",
11375
+ "props": {
11376
+ "height": 168,
11377
+ "cornerRadius": 8
11378
+ }
11379
+ },
11380
+ "modifiers": {
11381
+ "height": 168,
11382
+ "background": {
11383
+ "token": "surfaceSecondary"
11384
+ },
11385
+ "cornerRadius": 8,
11386
+ "accessibilityRole": "decorative"
11387
+ }
11388
+ },
11389
+ {
11390
+ "id": "himi_saved_products.skeleton_name",
11391
+ "body": {
11392
+ "package": "himalaya",
11393
+ "type": "Skeleton",
11394
+ "props": {
11395
+ "height": 14,
11396
+ "cornerRadius": 8
11397
+ }
11398
+ },
11399
+ "modifiers": {
11400
+ "height": 14,
11401
+ "background": {
11402
+ "token": "surfaceSecondary"
11403
+ },
11404
+ "cornerRadius": 8,
11405
+ "accessibilityRole": "decorative"
11406
+ }
11407
+ },
11408
+ {
11409
+ "id": "himi_saved_products.skeleton_price",
11410
+ "body": {
11411
+ "package": "himalaya",
11412
+ "type": "Skeleton",
11413
+ "props": {
11414
+ "height": 12,
11415
+ "cornerRadius": 8
11416
+ }
11417
+ },
11418
+ "modifiers": {
11419
+ "height": 12,
11420
+ "background": {
11421
+ "token": "surfaceSecondary"
11422
+ },
11423
+ "cornerRadius": 8,
11424
+ "accessibilityRole": "decorative"
11425
+ }
11426
+ }
11427
+ ]
11428
+ }
11429
+ },
11430
+ "modifiers": {
11431
+ "background": {
11432
+ "token": "surfaceSecondary"
11433
+ },
11434
+ "border": {
11435
+ "width": 1,
11436
+ "color": {
11437
+ "token": "border"
11438
+ }
11439
+ },
11440
+ "cornerRadius": 4,
11441
+ "padding": {
11442
+ "leading": 8,
11443
+ "trailing": 8,
11444
+ "top": 8,
11445
+ "bottom": 8
11446
+ }
11447
+ }
11448
+ },
11449
+ {
11450
+ "id": "",
11451
+ "body": {
11452
+ "package": "himalaya",
11453
+ "type": "VStack",
11454
+ "props": {
11455
+ "spacing": 8,
11456
+ "children": [
11457
+ {
11458
+ "id": "himi_saved_products.skeleton_image",
11459
+ "body": {
11460
+ "package": "himalaya",
11461
+ "type": "Skeleton",
11462
+ "props": {
11463
+ "height": 168,
11464
+ "cornerRadius": 8
11465
+ }
11466
+ },
11467
+ "modifiers": {
11468
+ "height": 168,
11469
+ "background": {
11470
+ "token": "surfaceSecondary"
11471
+ },
11472
+ "cornerRadius": 8,
11473
+ "accessibilityRole": "decorative"
11474
+ }
11475
+ },
11476
+ {
11477
+ "id": "himi_saved_products.skeleton_name",
11478
+ "body": {
11479
+ "package": "himalaya",
11480
+ "type": "Skeleton",
11481
+ "props": {
11482
+ "height": 14,
11483
+ "cornerRadius": 8
11484
+ }
11485
+ },
11486
+ "modifiers": {
11487
+ "height": 14,
11488
+ "background": {
11489
+ "token": "surfaceSecondary"
11490
+ },
11491
+ "cornerRadius": 8,
11492
+ "accessibilityRole": "decorative"
11493
+ }
11494
+ },
11495
+ {
11496
+ "id": "himi_saved_products.skeleton_price",
11497
+ "body": {
11498
+ "package": "himalaya",
11499
+ "type": "Skeleton",
11500
+ "props": {
11501
+ "height": 12,
11502
+ "cornerRadius": 8
11503
+ }
11504
+ },
11505
+ "modifiers": {
11506
+ "height": 12,
11507
+ "background": {
11508
+ "token": "surfaceSecondary"
11509
+ },
11510
+ "cornerRadius": 8,
11511
+ "accessibilityRole": "decorative"
11512
+ }
11513
+ }
11514
+ ]
11515
+ }
11516
+ },
11517
+ "modifiers": {
11518
+ "background": {
11519
+ "token": "surfaceSecondary"
11520
+ },
11521
+ "border": {
11522
+ "width": 1,
11523
+ "color": {
11524
+ "token": "border"
11525
+ }
11526
+ },
11527
+ "cornerRadius": 4,
11528
+ "padding": {
11529
+ "leading": 8,
11530
+ "trailing": 8,
11531
+ "top": 8,
11532
+ "bottom": 8
11533
+ }
11534
+ }
11535
+ }
11536
+ ]
11373
11537
  }
11374
11538
  },
11375
11539
  "modifiers": {
11376
- "height": 168,
11377
- "background": {
11378
- "token": "surfaceSecondary"
11379
- },
11380
- "cornerRadius": 8,
11381
- "accessibilityRole": "decorative",
11382
11540
  "hiddenPath": "$service:himiStoreSaved.notLoading"
11383
11541
  }
11384
11542
  },
11385
11543
  {
11386
- "id": "",
11544
+ "id": "himi_saved_products.error",
11387
11545
  "body": {
11388
11546
  "package": "himalaya",
11389
- "type": "Text",
11547
+ "type": "Banner",
11390
11548
  "props": {
11391
- "text": "$service:himiStoreSaved.error",
11392
- "style": "footnote",
11393
- "color": "danger",
11394
- "collapseWhenEmpty": true
11549
+ "title": "$service:himiStoreSaved.error",
11550
+ "severity": "danger"
11395
11551
  }
11552
+ },
11553
+ "modifiers": {
11554
+ "hiddenPath": "$service:himiStoreSaved.notErrored"
11396
11555
  }
11397
11556
  },
11398
11557
  {
@@ -11499,81 +11658,282 @@ const SCREENS = runtimeSetting({
11499
11658
  "id": "himi_saved_products.list",
11500
11659
  "body": {
11501
11660
  "package": "himalaya",
11502
- "type": "LazyList",
11661
+ "type": "Grid",
11503
11662
  "props": {
11504
- "spacing": 16,
11663
+ "columns": 2,
11664
+ "columnsMedium": 3,
11665
+ "columnsExpanded": 4,
11666
+ "spacing": 14,
11505
11667
  "itemsPath": "$service:himiStoreSaved.rows",
11506
11668
  "items": [
11507
11669
  {
11508
- "id": "",
11670
+ "id": "himi_saved_products.row",
11509
11671
  "body": {
11510
11672
  "package": "himalaya",
11511
11673
  "type": "VStack",
11512
11674
  "props": {
11513
11675
  "spacing": 8,
11676
+ "alignment": "leading",
11514
11677
  "children": [
11515
11678
  {
11516
- "id": "himi_saved_products.row",
11679
+ "id": "",
11517
11680
  "body": {
11518
11681
  "package": "himalaya",
11519
- "type": "VStack",
11682
+ "type": "Image",
11520
11683
  "props": {
11521
- "spacing": 9,
11522
- "alignment": "leading",
11684
+ "url": "$item.image",
11685
+ "fillWidth": true,
11686
+ "aspectRatio": 0.75,
11687
+ "contentMode": "fill",
11688
+ "shape": "rect",
11689
+ "contentDescription": "$item.name"
11690
+ }
11691
+ },
11692
+ "modifiers": {
11693
+ "fillMaxWidth": true,
11694
+ "aspectRatio": 0.75,
11695
+ "onTap": {
11696
+ "actionId": "himi.open",
11697
+ "params": {
11698
+ "screenId": "himi_product",
11699
+ "id": "$item.id"
11700
+ }
11701
+ },
11702
+ "pressFeedback": "highlight",
11703
+ "haptic": "light",
11704
+ "hiddenPath": "$item.noImage"
11705
+ }
11706
+ },
11707
+ {
11708
+ "id": "",
11709
+ "body": {
11710
+ "package": "himalaya",
11711
+ "type": "ZStack",
11712
+ "props": {
11713
+ "alignment": "center",
11523
11714
  "children": [
11524
11715
  {
11525
11716
  "id": "",
11526
11717
  "body": {
11527
11718
  "package": "himalaya",
11528
- "type": "Image",
11719
+ "type": "Icon",
11529
11720
  "props": {
11530
- "url": "$item.image",
11531
- "fillWidth": true,
11532
- "height": 168,
11533
- "contentMode": "fill",
11534
- "contentDescription": "$item.name"
11721
+ "name": "photo",
11722
+ "size": 24,
11723
+ "tint": "textSecondary"
11535
11724
  }
11536
11725
  },
11537
11726
  "modifiers": {
11538
- "cornerRadius": 8,
11539
- "fillMaxWidth": true,
11540
- "hiddenPath": "$item.noImage"
11727
+ "accessibilityRole": "decorative"
11728
+ }
11729
+ }
11730
+ ]
11731
+ }
11732
+ },
11733
+ "modifiers": {
11734
+ "fillMaxWidth": true,
11735
+ "aspectRatio": 0.75,
11736
+ "background": {
11737
+ "token": "surfaceTertiary"
11738
+ },
11739
+ "onTap": {
11740
+ "actionId": "himi.open",
11741
+ "params": {
11742
+ "screenId": "himi_product",
11743
+ "id": "$item.id"
11744
+ }
11745
+ },
11746
+ "accessibilityLabel": "$item.name",
11747
+ "hiddenPath": "$item.hasImage"
11748
+ }
11749
+ },
11750
+ {
11751
+ "id": "himi_saved_products.tags",
11752
+ "body": {
11753
+ "package": "himalaya",
11754
+ "type": "HStack",
11755
+ "props": {
11756
+ "spacing": 8,
11757
+ "children": [
11758
+ {
11759
+ "id": "",
11760
+ "body": {
11761
+ "package": "himalaya",
11762
+ "type": "Text",
11763
+ "props": {
11764
+ "text": "On sale",
11765
+ "style": "caption",
11766
+ "color": "textPrimary"
11767
+ }
11768
+ },
11769
+ "modifiers": {
11770
+ "background": {
11771
+ "token": "surfaceTertiary"
11772
+ },
11773
+ "padding": {
11774
+ "leading": 8,
11775
+ "trailing": 8,
11776
+ "top": 4,
11777
+ "bottom": 4
11778
+ },
11779
+ "hiddenPath": "$item.notOnSale"
11541
11780
  }
11542
11781
  },
11543
11782
  {
11544
- "id": "himi_saved_products.row.monogram",
11783
+ "id": "himi_saved_products.swatches",
11545
11784
  "body": {
11546
11785
  "package": "himalaya",
11547
- "type": "ZStack",
11786
+ "type": "HStack",
11548
11787
  "props": {
11549
- "alignment": "center",
11788
+ "spacing": 5,
11550
11789
  "children": [
11551
11790
  {
11552
- "id": "",
11791
+ "id": "himi_saved_products.swatch_1",
11553
11792
  "body": {
11554
11793
  "package": "himalaya",
11555
11794
  "type": "Text",
11556
11795
  "props": {
11557
- "text": "$item.initial",
11558
- "style": "display",
11559
- "color": "textOnAccent",
11560
- "maxLines": 1
11796
+ "text": "",
11797
+ "style": "caption"
11798
+ }
11799
+ },
11800
+ "modifiers": {
11801
+ "width": 10,
11802
+ "height": 10,
11803
+ "cornerRadius": 5,
11804
+ "backgroundColorPath": "$item.swatch1",
11805
+ "border": {
11806
+ "width": 1,
11807
+ "color": {
11808
+ "token": "border"
11809
+ }
11810
+ },
11811
+ "accessibilityHidden": true,
11812
+ "hiddenPath": "$item.noSwatch1"
11813
+ }
11814
+ },
11815
+ {
11816
+ "id": "himi_saved_products.swatch_2",
11817
+ "body": {
11818
+ "package": "himalaya",
11819
+ "type": "Text",
11820
+ "props": {
11821
+ "text": "",
11822
+ "style": "caption"
11823
+ }
11824
+ },
11825
+ "modifiers": {
11826
+ "width": 10,
11827
+ "height": 10,
11828
+ "cornerRadius": 5,
11829
+ "backgroundColorPath": "$item.swatch2",
11830
+ "border": {
11831
+ "width": 1,
11832
+ "color": {
11833
+ "token": "border"
11834
+ }
11835
+ },
11836
+ "accessibilityHidden": true,
11837
+ "hiddenPath": "$item.noSwatch2"
11838
+ }
11839
+ },
11840
+ {
11841
+ "id": "himi_saved_products.swatch_3",
11842
+ "body": {
11843
+ "package": "himalaya",
11844
+ "type": "Text",
11845
+ "props": {
11846
+ "text": "",
11847
+ "style": "caption"
11848
+ }
11849
+ },
11850
+ "modifiers": {
11851
+ "width": 10,
11852
+ "height": 10,
11853
+ "cornerRadius": 5,
11854
+ "backgroundColorPath": "$item.swatch3",
11855
+ "border": {
11856
+ "width": 1,
11857
+ "color": {
11858
+ "token": "border"
11859
+ }
11860
+ },
11861
+ "accessibilityHidden": true,
11862
+ "hiddenPath": "$item.noSwatch3"
11863
+ }
11864
+ },
11865
+ {
11866
+ "id": "himi_saved_products.swatch_4",
11867
+ "body": {
11868
+ "package": "himalaya",
11869
+ "type": "Text",
11870
+ "props": {
11871
+ "text": "",
11872
+ "style": "caption"
11873
+ }
11874
+ },
11875
+ "modifiers": {
11876
+ "width": 10,
11877
+ "height": 10,
11878
+ "cornerRadius": 5,
11879
+ "backgroundColorPath": "$item.swatch4",
11880
+ "border": {
11881
+ "width": 1,
11882
+ "color": {
11883
+ "token": "border"
11884
+ }
11885
+ },
11886
+ "accessibilityHidden": true,
11887
+ "hiddenPath": "$item.noSwatch4"
11888
+ }
11889
+ },
11890
+ {
11891
+ "id": "himi_saved_products.swatch_5",
11892
+ "body": {
11893
+ "package": "himalaya",
11894
+ "type": "Text",
11895
+ "props": {
11896
+ "text": "",
11897
+ "style": "caption"
11561
11898
  }
11899
+ },
11900
+ "modifiers": {
11901
+ "width": 10,
11902
+ "height": 10,
11903
+ "cornerRadius": 5,
11904
+ "backgroundColorPath": "$item.swatch5",
11905
+ "border": {
11906
+ "width": 1,
11907
+ "color": {
11908
+ "token": "border"
11909
+ }
11910
+ },
11911
+ "accessibilityHidden": true,
11912
+ "hiddenPath": "$item.noSwatch5"
11562
11913
  }
11563
11914
  }
11564
11915
  ]
11565
11916
  }
11566
11917
  },
11567
11918
  "modifiers": {
11568
- "fillMaxWidth": true,
11569
- "height": 168,
11570
- "background": {
11571
- "token": "accentPrimary"
11572
- },
11573
- "cornerRadius": 8,
11574
- "hiddenPath": "$item.hasImage"
11919
+ "hiddenPath": "$item.noSwatches"
11575
11920
  }
11576
- },
11921
+ }
11922
+ ]
11923
+ }
11924
+ },
11925
+ "modifiers": {
11926
+ "hiddenPath": "$item.noTagRow"
11927
+ }
11928
+ },
11929
+ {
11930
+ "id": "",
11931
+ "body": {
11932
+ "package": "himalaya",
11933
+ "type": "HStack",
11934
+ "props": {
11935
+ "spacing": 6,
11936
+ "children": [
11577
11937
  {
11578
11938
  "id": "",
11579
11939
  "body": {
@@ -11581,9 +11941,58 @@ const SCREENS = runtimeSetting({
11581
11941
  "type": "Text",
11582
11942
  "props": {
11583
11943
  "text": "$item.name",
11584
- "style": "bodyEmphasis",
11944
+ "style": "footnoteRegular",
11945
+ "color": "textPrimary",
11585
11946
  "maxLines": 2
11586
11947
  }
11948
+ },
11949
+ "modifiers": {
11950
+ "weight": 1
11951
+ }
11952
+ }
11953
+ ]
11954
+ }
11955
+ }
11956
+ },
11957
+ {
11958
+ "id": "",
11959
+ "body": {
11960
+ "package": "himalaya",
11961
+ "type": "HStack",
11962
+ "props": {
11963
+ "spacing": 6,
11964
+ "children": [
11965
+ {
11966
+ "id": "",
11967
+ "body": {
11968
+ "package": "himalaya",
11969
+ "type": "Text",
11970
+ "props": {
11971
+ "text": "$item.wasPrice",
11972
+ "style": "caption",
11973
+ "color": "textSecondary",
11974
+ "maxLines": 1,
11975
+ "decoration": "strikethrough"
11976
+ }
11977
+ },
11978
+ "modifiers": {
11979
+ "hiddenPath": "$item.notOnSale"
11980
+ }
11981
+ },
11982
+ {
11983
+ "id": "",
11984
+ "body": {
11985
+ "package": "himalaya",
11986
+ "type": "Text",
11987
+ "props": {
11988
+ "text": "$item.price",
11989
+ "style": "caption",
11990
+ "color": "danger",
11991
+ "maxLines": 1
11992
+ }
11993
+ },
11994
+ "modifiers": {
11995
+ "hiddenPath": "$item.notOnSale"
11587
11996
  }
11588
11997
  },
11589
11998
  {
@@ -11593,70 +12002,84 @@ const SCREENS = runtimeSetting({
11593
12002
  "type": "Text",
11594
12003
  "props": {
11595
12004
  "text": "$item.price",
11596
- "style": "footnote",
11597
- "color": "accentPrimary",
11598
- "maxLines": 1,
11599
- "collapseWhenEmpty": true
12005
+ "style": "caption",
12006
+ "color": "textPrimary",
12007
+ "maxLines": 1
12008
+ }
12009
+ },
12010
+ "modifiers": {
12011
+ "hiddenPath": "$item.wasPriceEmpty"
12012
+ }
12013
+ },
12014
+ {
12015
+ "id": "",
12016
+ "body": {
12017
+ "package": "himalaya",
12018
+ "type": "Spacer",
12019
+ "props": {}
12020
+ }
12021
+ },
12022
+ {
12023
+ "id": "himi_saved_products.remove",
12024
+ "body": {
12025
+ "package": "himalaya",
12026
+ "type": "ZStack",
12027
+ "props": {
12028
+ "alignment": "center",
12029
+ "children": [
12030
+ {
12031
+ "id": "",
12032
+ "body": {
12033
+ "package": "himalaya",
12034
+ "type": "Icon",
12035
+ "props": {
12036
+ "name": "heart_fill",
12037
+ "size": 22,
12038
+ "tint": "accentPrimary"
12039
+ }
12040
+ },
12041
+ "modifiers": {
12042
+ "accessibilityRole": "decorative"
12043
+ }
12044
+ }
12045
+ ]
11600
12046
  }
12047
+ },
12048
+ "modifiers": {
12049
+ "width": 44,
12050
+ "height": 44,
12051
+ "onTap": {
12052
+ "actionId": "tier5.himiStoreSaved.remove",
12053
+ "params": {
12054
+ "id": "$item.id"
12055
+ }
12056
+ },
12057
+ "accessibilityRole": "button",
12058
+ "accessibilityLabel": "Remove from wishlist",
12059
+ "haptic": "light"
11601
12060
  }
11602
12061
  }
11603
12062
  ]
11604
12063
  }
11605
- },
11606
- "modifiers": {
11607
- "background": {
11608
- "token": "surfaceElevated"
11609
- },
11610
- "border": {
11611
- "width": 1,
11612
- "color": {
11613
- "token": "border"
11614
- }
11615
- },
11616
- "cornerRadius": 8,
11617
- "padding": {
11618
- "leading": 12,
11619
- "trailing": 12,
11620
- "top": 12,
11621
- "bottom": 12
11622
- },
11623
- "onTap": {
11624
- "actionId": "himi.open",
11625
- "params": {
11626
- "screenId": "$item.detailScreenId",
11627
- "id": "$item.id"
11628
- }
11629
- },
11630
- "pressFeedback": "scale",
11631
- "haptic": "light",
11632
- "accessibilityLabel": "$item.name"
11633
- }
11634
- },
11635
- {
11636
- "id": "himi_saved_products.remove",
11637
- "body": {
11638
- "package": "himalaya",
11639
- "type": "Button",
11640
- "props": {
11641
- "title": "Remove",
11642
- "style": "secondary",
11643
- "action": {
11644
- "actionId": "tier5.himiStoreSaved.remove",
11645
- "params": {
11646
- "id": "$item.id"
11647
- }
11648
- }
11649
- }
11650
12064
  }
11651
12065
  }
11652
12066
  ]
11653
12067
  }
12068
+ },
12069
+ "modifiers": {
12070
+ "onTap": {
12071
+ "actionId": "himi.open",
12072
+ "params": {
12073
+ "screenId": "himi_product",
12074
+ "id": "$item.id"
12075
+ }
12076
+ },
12077
+ "pressFeedback": "highlight",
12078
+ "haptic": "light",
12079
+ "accessibilityLabel": "$item.name"
11654
12080
  }
11655
12081
  }
11656
- ],
11657
- "onPullToRefresh": {
11658
- "actionId": "tier5.himiStoreSaved.load"
11659
- }
12082
+ ]
11660
12083
  }
11661
12084
  },
11662
12085
  "modifiers": {
@@ -11664,27 +12087,59 @@ const SCREENS = runtimeSetting({
11664
12087
  }
11665
12088
  },
11666
12089
  {
11667
- "id": "",
12090
+ "id": "himi_saved_products.empty",
11668
12091
  "body": {
11669
12092
  "package": "himalaya",
11670
12093
  "type": "VStack",
11671
12094
  "props": {
11672
- "spacing": 12,
12095
+ "spacing": 10,
11673
12096
  "alignment": "center",
11674
12097
  "children": [
11675
12098
  {
11676
12099
  "id": "",
11677
12100
  "body": {
11678
12101
  "package": "himalaya",
11679
- "type": "Icon",
12102
+ "type": "ZStack",
11680
12103
  "props": {
11681
- "name": "bookmark",
11682
- "size": 34,
11683
- "tint": "textTertiary"
12104
+ "alignment": "center",
12105
+ "children": [
12106
+ {
12107
+ "id": "",
12108
+ "body": {
12109
+ "package": "himalaya",
12110
+ "type": "Icon",
12111
+ "props": {
12112
+ "name": "heart",
12113
+ "size": 24,
12114
+ "tint": "textSecondary"
12115
+ }
12116
+ },
12117
+ "modifiers": {
12118
+ "accessibilityRole": "decorative"
12119
+ }
12120
+ }
12121
+ ]
11684
12122
  }
11685
12123
  },
11686
12124
  "modifiers": {
11687
- "accessibilityRole": "decorative"
12125
+ "width": 56,
12126
+ "height": 56,
12127
+ "background": {
12128
+ "token": "surfaceTertiary"
12129
+ },
12130
+ "cornerRadius": 28
12131
+ }
12132
+ },
12133
+ {
12134
+ "id": "",
12135
+ "body": {
12136
+ "package": "himalaya",
12137
+ "type": "Text",
12138
+ "props": {
12139
+ "text": "Your wishlist is empty",
12140
+ "style": "title3",
12141
+ "textAlign": "center"
12142
+ }
11688
12143
  }
11689
12144
  },
11690
12145
  {
@@ -11694,14 +12149,14 @@ const SCREENS = runtimeSetting({
11694
12149
  "type": "Text",
11695
12150
  "props": {
11696
12151
  "text": "$service:himiStoreSaved.emptyText",
11697
- "style": "bodyEmphasis",
12152
+ "style": "footnote",
11698
12153
  "color": "textSecondary",
11699
- "collapseWhenEmpty": true
12154
+ "textAlign": "center"
11700
12155
  }
11701
12156
  }
11702
12157
  },
11703
12158
  {
11704
- "id": "himi_saved_products.empty.cta",
12159
+ "id": "himi_saved_products.browse",
11705
12160
  "body": {
11706
12161
  "package": "himalaya",
11707
12162
  "type": "Button",
@@ -11721,16 +12176,6 @@ const SCREENS = runtimeSetting({
11721
12176
  }
11722
12177
  },
11723
12178
  "modifiers": {
11724
- "padding": {
11725
- "leading": 24,
11726
- "trailing": 24,
11727
- "top": 24,
11728
- "bottom": 24
11729
- },
11730
- "transition": {
11731
- "enter": "fade",
11732
- "exit": "fade"
11733
- },
11734
12179
  "hiddenPath": "$service:himiStoreSaved.noEmpty"
11735
12180
  }
11736
12181
  }
@@ -12726,20 +13171,8 @@ const SCREENS = runtimeSetting({
12726
13171
  "package": "himalaya",
12727
13172
  "type": "Text",
12728
13173
  "props": {
12729
- "text": "Cart",
12730
- "style": "title1"
12731
- }
12732
- }
12733
- },
12734
- {
12735
- "id": "",
12736
- "body": {
12737
- "package": "himalaya",
12738
- "type": "Text",
12739
- "props": {
12740
- "text": "Review your items before you check out.",
12741
- "style": "body",
12742
- "color": "textSecondary"
13174
+ "text": "Shopping cart",
13175
+ "style": "pageTitle"
12743
13176
  }
12744
13177
  }
12745
13178
  },
@@ -12758,449 +13191,26 @@ const SCREENS = runtimeSetting({
12758
13191
  "package": "himalaya",
12759
13192
  "type": "Text",
12760
13193
  "props": {
12761
- "text": "Your cart could not be loaded.",
13194
+ "text": "You are offline",
12762
13195
  "style": "bodyEmphasis"
12763
13196
  }
12764
- }
12765
- },
12766
- {
12767
- "id": "",
12768
- "body": {
12769
- "package": "himalaya",
12770
- "type": "Text",
12771
- "props": {
12772
- "text": "Try again without leaving the app.",
12773
- "style": "footnote",
12774
- "color": "textSecondary"
12775
- }
12776
- }
12777
- },
12778
- {
12779
- "id": "himi_cart.retry",
12780
- "body": {
12781
- "package": "himalaya",
12782
- "type": "Button",
12783
- "props": {
12784
- "title": "Try again",
12785
- "style": "secondary",
12786
- "action": {
12787
- "actionId": "tier5.himiStoreCart.load"
12788
- }
12789
- }
12790
- }
12791
- }
12792
- ]
12793
- }
12794
- },
12795
- "modifiers": {
12796
- "background": {
12797
- "token": "surfaceElevated"
12798
- },
12799
- "border": {
12800
- "width": 1,
12801
- "color": {
12802
- "token": "border"
12803
- }
12804
- },
12805
- "cornerRadius": 4,
12806
- "padding": {
12807
- "leading": 16,
12808
- "trailing": 16,
12809
- "top": 16,
12810
- "bottom": 16
12811
- },
12812
- "hiddenPath": "$service:himiStoreCart.notErrored"
12813
- }
12814
- },
12815
- {
12816
- "id": "",
12817
- "body": {
12818
- "package": "himalaya",
12819
- "type": "VStack",
12820
- "props": {
12821
- "spacing": 12,
12822
- "children": [
12823
- {
12824
- "id": "himi_cart.list",
12825
- "body": {
12826
- "package": "himalaya",
12827
- "type": "Grid",
12828
- "props": {
12829
- "columns": 1,
12830
- "spacing": 10,
12831
- "itemsPath": "$service:himiStoreCart.items",
12832
- "items": [
12833
- {
12834
- "id": "himi_cart.row",
12835
- "body": {
12836
- "package": "himalaya",
12837
- "type": "VStack",
12838
- "props": {
12839
- "spacing": 8,
12840
- "alignment": "leading",
12841
- "children": [
12842
- {
12843
- "id": "",
12844
- "body": {
12845
- "package": "himalaya",
12846
- "type": "HStack",
12847
- "props": {
12848
- "spacing": 10,
12849
- "children": [
12850
- {
12851
- "id": "",
12852
- "body": {
12853
- "package": "himalaya",
12854
- "type": "Image",
12855
- "props": {
12856
- "url": "$item.image",
12857
- "width": 62,
12858
- "height": 62,
12859
- "contentMode": "fill",
12860
- "contentDescription": "$item.title"
12861
- }
12862
- },
12863
- "modifiers": {
12864
- "cornerRadius": 8,
12865
- "hiddenPath": "$item.noImage"
12866
- }
12867
- },
12868
- {
12869
- "id": "himi_cart.row_media.initial",
12870
- "body": {
12871
- "package": "himalaya",
12872
- "type": "ZStack",
12873
- "props": {
12874
- "alignment": "center",
12875
- "children": [
12876
- {
12877
- "id": "",
12878
- "body": {
12879
- "package": "himalaya",
12880
- "type": "Text",
12881
- "props": {
12882
- "text": "$item.initial",
12883
- "style": "title2",
12884
- "color": "textOnAccent",
12885
- "maxLines": 1,
12886
- "collapseWhenEmpty": true
12887
- }
12888
- }
12889
- }
12890
- ]
12891
- }
12892
- },
12893
- "modifiers": {
12894
- "width": 62,
12895
- "height": 62,
12896
- "background": {
12897
- "token": "accentPrimary"
12898
- },
12899
- "cornerRadius": 16,
12900
- "hiddenPath": "$item.hasImage"
12901
- }
12902
- },
12903
- {
12904
- "id": "",
12905
- "body": {
12906
- "package": "himalaya",
12907
- "type": "VStack",
12908
- "props": {
12909
- "spacing": 3,
12910
- "alignment": "leading",
12911
- "children": [
12912
- {
12913
- "id": "",
12914
- "body": {
12915
- "package": "himalaya",
12916
- "type": "Text",
12917
- "props": {
12918
- "text": "$item.name",
12919
- "style": "bodyEmphasis",
12920
- "maxLines": 2
12921
- }
12922
- }
12923
- },
12924
- {
12925
- "id": "",
12926
- "body": {
12927
- "package": "himalaya",
12928
- "type": "Text",
12929
- "props": {
12930
- "text": "$item.subtitle",
12931
- "style": "footnote",
12932
- "color": "textSecondary"
12933
- }
12934
- }
12935
- }
12936
- ]
12937
- }
12938
- }
12939
- },
12940
- {
12941
- "id": "",
12942
- "body": {
12943
- "package": "himalaya",
12944
- "type": "Spacer",
12945
- "props": {}
12946
- }
12947
- },
12948
- {
12949
- "id": "",
12950
- "body": {
12951
- "package": "himalaya",
12952
- "type": "Text",
12953
- "props": {
12954
- "text": "$item.total",
12955
- "style": "bodyEmphasis",
12956
- "collapseWhenEmpty": true
12957
- }
12958
- }
12959
- }
12960
- ]
12961
- }
12962
- }
12963
- },
12964
- {
12965
- "id": "",
12966
- "body": {
12967
- "package": "himalaya",
12968
- "type": "HStack",
12969
- "props": {
12970
- "spacing": 10,
12971
- "children": [
12972
- {
12973
- "id": "himi_cart.qty_minus",
12974
- "body": {
12975
- "package": "himalaya",
12976
- "type": "Button",
12977
- "props": {
12978
- "title": "−",
12979
- "style": "secondary",
12980
- "action": {
12981
- "actionId": "tier5.himiStoreCart.decrement",
12982
- "params": {
12983
- "id": "$item.id"
12984
- }
12985
- }
12986
- }
12987
- }
12988
- },
12989
- {
12990
- "id": "himi_cart.qty_value",
12991
- "body": {
12992
- "package": "himalaya",
12993
- "type": "Text",
12994
- "props": {
12995
- "text": "$item.quantityLabel",
12996
- "style": "bodyEmphasis"
12997
- }
12998
- }
12999
- },
13000
- {
13001
- "id": "himi_cart.qty_plus",
13002
- "body": {
13003
- "package": "himalaya",
13004
- "type": "Button",
13005
- "props": {
13006
- "title": "+",
13007
- "style": "secondary",
13008
- "action": {
13009
- "actionId": "tier5.himiStoreCart.increment",
13010
- "params": {
13011
- "id": "$item.id"
13012
- }
13013
- }
13014
- }
13015
- }
13016
- },
13017
- {
13018
- "id": "",
13019
- "body": {
13020
- "package": "himalaya",
13021
- "type": "Spacer",
13022
- "props": {}
13023
- }
13024
- },
13025
- {
13026
- "id": "himi_cart.remove",
13027
- "body": {
13028
- "package": "himalaya",
13029
- "type": "Button",
13030
- "props": {
13031
- "title": "Remove",
13032
- "style": "secondary",
13033
- "action": {
13034
- "actionId": "tier5.himiStoreCart.remove",
13035
- "params": {
13036
- "id": "$item.id"
13037
- }
13038
- }
13039
- }
13040
- }
13041
- }
13042
- ]
13043
- }
13044
- }
13045
- }
13046
- ]
13047
- }
13048
- },
13049
- "modifiers": {
13050
- "background": {
13051
- "token": "surfaceElevated"
13052
- },
13053
- "border": {
13054
- "width": 1,
13055
- "color": {
13056
- "token": "border"
13057
- }
13058
- },
13059
- "cornerRadius": 4,
13060
- "padding": {
13061
- "leading": 16,
13062
- "trailing": 16,
13063
- "top": 16,
13064
- "bottom": 16
13065
- }
13066
- }
13067
- }
13068
- ]
13069
- }
13070
- }
13071
- },
13072
- {
13073
- "id": "himi_cart.summary",
13074
- "body": {
13075
- "package": "himalaya",
13076
- "type": "VStack",
13077
- "props": {
13078
- "spacing": 8,
13079
- "alignment": "leading",
13080
- "children": [
13081
- {
13082
- "id": "",
13083
- "body": {
13084
- "package": "himalaya",
13085
- "type": "HStack",
13086
- "props": {
13087
- "spacing": 8,
13088
- "children": [
13089
- {
13090
- "id": "",
13091
- "body": {
13092
- "package": "himalaya",
13093
- "type": "Text",
13094
- "props": {
13095
- "text": "Subtotal",
13096
- "style": "bodyEmphasis"
13097
- }
13098
- }
13099
- },
13100
- {
13101
- "id": "",
13102
- "body": {
13103
- "package": "himalaya",
13104
- "type": "Spacer",
13105
- "props": {}
13106
- }
13107
- },
13108
- {
13109
- "id": "",
13110
- "body": {
13111
- "package": "himalaya",
13112
- "type": "Text",
13113
- "props": {
13114
- "text": "$service:himiStoreCart.subtotal",
13115
- "style": "bodyEmphasis",
13116
- "collapseWhenEmpty": true
13117
- }
13118
- }
13119
- }
13120
- ]
13121
- }
13122
- }
13123
- },
13124
- {
13125
- "id": "himi_cart.checkout",
13126
- "body": {
13127
- "package": "himalaya",
13128
- "type": "Button",
13129
- "props": {
13130
- "title": "Checkout in browser",
13131
- "style": "primary",
13132
- "fullWidth": true,
13133
- "action": {
13134
- "actionId": "tier5.himiStoreCart.checkout"
13135
- }
13136
- }
13137
- }
13138
- }
13139
- ]
13140
- }
13141
13197
  },
13142
13198
  "modifiers": {
13143
- "background": {
13144
- "token": "surfaceElevated"
13145
- },
13146
- "border": {
13147
- "width": 1,
13148
- "color": {
13149
- "token": "border"
13150
- }
13151
- },
13152
- "cornerRadius": 4,
13153
- "padding": {
13154
- "leading": 16,
13155
- "trailing": 16,
13156
- "top": 16,
13157
- "bottom": 16
13158
- },
13159
- "hiddenPath": "$service:himiStoreCart.noItems"
13199
+ "hiddenPath": "$service:himiStoreCart.noOfflineError"
13160
13200
  }
13161
- }
13162
- ]
13163
- }
13164
- },
13165
- "modifiers": {
13166
- "hiddenPath": "$service:himiStoreCart.hideContent"
13167
- }
13168
- },
13169
- {
13170
- "id": "himi_cart.hint",
13171
- "body": {
13172
- "package": "himalaya",
13173
- "type": "Text",
13174
- "props": {
13175
- "text": "$service:himiStoreCart.checkoutHint",
13176
- "style": "footnote",
13177
- "color": "textSecondary",
13178
- "collapseWhenEmpty": true
13179
- }
13180
- }
13181
- },
13182
- {
13183
- "id": "himi_cart.empty",
13184
- "body": {
13185
- "package": "himalaya",
13186
- "type": "VStack",
13187
- "props": {
13188
- "spacing": 8,
13189
- "alignment": "leading",
13190
- "children": [
13201
+ },
13191
13202
  {
13192
13203
  "id": "",
13193
13204
  "body": {
13194
13205
  "package": "himalaya",
13195
- "type": "Icon",
13206
+ "type": "Text",
13196
13207
  "props": {
13197
- "name": "cart",
13198
- "size": 28,
13199
- "tint": "textTertiary"
13208
+ "text": "Your cart could not be loaded.",
13209
+ "style": "bodyEmphasis"
13200
13210
  }
13201
13211
  },
13202
13212
  "modifiers": {
13203
- "accessibilityRole": "decorative"
13213
+ "hiddenPath": "$service:himiStoreCart.noServerError"
13204
13214
  }
13205
13215
  },
13206
13216
  {
@@ -13209,26 +13219,22 @@ const SCREENS = runtimeSetting({
13209
13219
  "package": "himalaya",
13210
13220
  "type": "Text",
13211
13221
  "props": {
13212
- "text": "$service:himiStoreCart.emptyText",
13213
- "style": "bodyEmphasis",
13214
- "color": "textSecondary",
13215
- "collapseWhenEmpty": true
13222
+ "text": "Try again without leaving the app.",
13223
+ "style": "footnote",
13224
+ "color": "textSecondary"
13216
13225
  }
13217
13226
  }
13218
13227
  },
13219
13228
  {
13220
- "id": "himi_cart.browse",
13229
+ "id": "himi_cart.retry",
13221
13230
  "body": {
13222
13231
  "package": "himalaya",
13223
13232
  "type": "Button",
13224
13233
  "props": {
13225
- "title": "Browse products",
13234
+ "title": "Try again",
13226
13235
  "style": "secondary",
13227
13236
  "action": {
13228
- "actionId": "himi.open",
13229
- "params": {
13230
- "screenId": "himi_shop"
13231
- }
13237
+ "actionId": "tier5.himiStoreCart.load"
13232
13238
  }
13233
13239
  }
13234
13240
  }
@@ -13253,8 +13259,617 @@ const SCREENS = runtimeSetting({
13253
13259
  "top": 16,
13254
13260
  "bottom": 16
13255
13261
  },
13262
+ "hiddenPath": "$service:himiStoreCart.notErrored"
13263
+ }
13264
+ },
13265
+ {
13266
+ "id": "himi_cart.list",
13267
+ "body": {
13268
+ "package": "himalaya",
13269
+ "type": "Grid",
13270
+ "props": {
13271
+ "columns": 1,
13272
+ "spacing": 0,
13273
+ "itemsPath": "$service:himiStoreCart.items",
13274
+ "items": [
13275
+ {
13276
+ "id": "himi_cart.row",
13277
+ "body": {
13278
+ "package": "himalaya",
13279
+ "type": "VStack",
13280
+ "props": {
13281
+ "spacing": 0,
13282
+ "alignment": "leading",
13283
+ "children": [
13284
+ {
13285
+ "id": "",
13286
+ "body": {
13287
+ "package": "himalaya",
13288
+ "type": "Divider",
13289
+ "props": {}
13290
+ }
13291
+ },
13292
+ {
13293
+ "id": "himi_cart.row_content",
13294
+ "body": {
13295
+ "package": "himalaya",
13296
+ "type": "HStack",
13297
+ "props": {
13298
+ "spacing": 12,
13299
+ "children": [
13300
+ {
13301
+ "id": "himi_cart.thumbnail",
13302
+ "body": {
13303
+ "package": "himalaya",
13304
+ "type": "Image",
13305
+ "props": {
13306
+ "url": "$item.image",
13307
+ "width": 112,
13308
+ "height": 144,
13309
+ "contentMode": "fit",
13310
+ "shape": "rect",
13311
+ "contentDescription": "$item.name"
13312
+ }
13313
+ },
13314
+ "modifiers": {
13315
+ "onTap": {
13316
+ "actionId": "himi.open",
13317
+ "params": {
13318
+ "screenId": "himi_product",
13319
+ "id": "$item.catalogItemId"
13320
+ }
13321
+ },
13322
+ "hiddenPath": "$item.noImage"
13323
+ }
13324
+ },
13325
+ {
13326
+ "id": "",
13327
+ "body": {
13328
+ "package": "himalaya",
13329
+ "type": "ZStack",
13330
+ "props": {
13331
+ "alignment": "center",
13332
+ "children": [
13333
+ {
13334
+ "id": "",
13335
+ "body": {
13336
+ "package": "himalaya",
13337
+ "type": "Text",
13338
+ "props": {
13339
+ "text": "$item.initial",
13340
+ "style": "title2",
13341
+ "color": "textOnAccent"
13342
+ }
13343
+ }
13344
+ }
13345
+ ]
13346
+ }
13347
+ },
13348
+ "modifiers": {
13349
+ "width": 112,
13350
+ "height": 144,
13351
+ "background": {
13352
+ "token": "accentPrimary"
13353
+ },
13354
+ "onTap": {
13355
+ "actionId": "himi.open",
13356
+ "params": {
13357
+ "screenId": "himi_product",
13358
+ "id": "$item.catalogItemId"
13359
+ }
13360
+ },
13361
+ "accessibilityLabel": "$item.name",
13362
+ "hiddenPath": "$item.hasImage"
13363
+ }
13364
+ },
13365
+ {
13366
+ "id": "himi_cart.details",
13367
+ "body": {
13368
+ "package": "himalaya",
13369
+ "type": "VStack",
13370
+ "props": {
13371
+ "spacing": 4,
13372
+ "alignment": "leading",
13373
+ "children": [
13374
+ {
13375
+ "id": "himi_cart.name_price",
13376
+ "body": {
13377
+ "package": "himalaya",
13378
+ "type": "HStack",
13379
+ "props": {
13380
+ "spacing": 6,
13381
+ "children": [
13382
+ {
13383
+ "id": "himi_cart.product_title",
13384
+ "body": {
13385
+ "package": "himalaya",
13386
+ "type": "Text",
13387
+ "props": {
13388
+ "text": "$item.name",
13389
+ "style": "bodyEmphasis",
13390
+ "color": "textPrimary",
13391
+ "maxLines": 2
13392
+ }
13393
+ },
13394
+ "modifiers": {
13395
+ "weight": 1
13396
+ }
13397
+ },
13398
+ {
13399
+ "id": "himi_cart.product_price",
13400
+ "body": {
13401
+ "package": "himalaya",
13402
+ "type": "Text",
13403
+ "props": {
13404
+ "text": "$item.total",
13405
+ "style": "bodyEmphasis",
13406
+ "color": "textPrimary",
13407
+ "maxLines": 1,
13408
+ "collapseWhenEmpty": true
13409
+ }
13410
+ }
13411
+ }
13412
+ ]
13413
+ }
13414
+ }
13415
+ },
13416
+ {
13417
+ "id": "",
13418
+ "body": {
13419
+ "package": "himalaya",
13420
+ "type": "Text",
13421
+ "props": {
13422
+ "text": "$item.option1",
13423
+ "style": "body",
13424
+ "color": "textSecondary",
13425
+ "maxLines": 1,
13426
+ "collapseWhenEmpty": true
13427
+ }
13428
+ }
13429
+ },
13430
+ {
13431
+ "id": "",
13432
+ "body": {
13433
+ "package": "himalaya",
13434
+ "type": "Text",
13435
+ "props": {
13436
+ "text": "$item.option2",
13437
+ "style": "body",
13438
+ "color": "textSecondary",
13439
+ "maxLines": 1,
13440
+ "collapseWhenEmpty": true
13441
+ }
13442
+ }
13443
+ },
13444
+ {
13445
+ "id": "",
13446
+ "body": {
13447
+ "package": "himalaya",
13448
+ "type": "Text",
13449
+ "props": {
13450
+ "text": "$item.option3",
13451
+ "style": "body",
13452
+ "color": "textSecondary",
13453
+ "maxLines": 1,
13454
+ "collapseWhenEmpty": true
13455
+ }
13456
+ }
13457
+ },
13458
+ {
13459
+ "id": "",
13460
+ "body": {
13461
+ "package": "himalaya",
13462
+ "type": "Text",
13463
+ "props": {
13464
+ "text": "$item.inStockMessage",
13465
+ "style": "body",
13466
+ "color": "success"
13467
+ }
13468
+ },
13469
+ "modifiers": {
13470
+ "hiddenPath": "$item.noInStockMessage"
13471
+ }
13472
+ },
13473
+ {
13474
+ "id": "",
13475
+ "body": {
13476
+ "package": "himalaya",
13477
+ "type": "Text",
13478
+ "props": {
13479
+ "text": "$item.stockMessage",
13480
+ "style": "body",
13481
+ "color": "danger"
13482
+ }
13483
+ },
13484
+ "modifiers": {
13485
+ "hiddenPath": "$item.noStockMessage"
13486
+ }
13487
+ },
13488
+ {
13489
+ "id": "",
13490
+ "body": {
13491
+ "package": "himalaya",
13492
+ "type": "Spacer",
13493
+ "props": {}
13494
+ }
13495
+ },
13496
+ {
13497
+ "id": "himi_cart.actions",
13498
+ "body": {
13499
+ "package": "himalaya",
13500
+ "type": "HStack",
13501
+ "props": {
13502
+ "spacing": 0,
13503
+ "children": [
13504
+ {
13505
+ "id": "himi_cart.qty_minus",
13506
+ "body": {
13507
+ "package": "himalaya",
13508
+ "type": "ZStack",
13509
+ "props": {
13510
+ "alignment": "center",
13511
+ "children": [
13512
+ {
13513
+ "id": "",
13514
+ "body": {
13515
+ "package": "himalaya",
13516
+ "type": "Icon",
13517
+ "props": {
13518
+ "name": "minus",
13519
+ "size": 24,
13520
+ "tint": "textPrimary"
13521
+ }
13522
+ },
13523
+ "modifiers": {
13524
+ "accessibilityRole": "decorative"
13525
+ }
13526
+ }
13527
+ ]
13528
+ }
13529
+ },
13530
+ "modifiers": {
13531
+ "width": 44,
13532
+ "height": 44,
13533
+ "onTap": {
13534
+ "actionId": "tier5.himiStoreCart.decrement",
13535
+ "params": {
13536
+ "id": "$item.id"
13537
+ }
13538
+ },
13539
+ "accessibilityRole": "button",
13540
+ "accessibilityLabel": "Decrease quantity",
13541
+ "haptic": "light"
13542
+ }
13543
+ },
13544
+ {
13545
+ "id": "himi_cart.qty_value",
13546
+ "body": {
13547
+ "package": "himalaya",
13548
+ "type": "Text",
13549
+ "props": {
13550
+ "text": "$item.quantityLabel",
13551
+ "style": "body",
13552
+ "textAlign": "center"
13553
+ }
13554
+ },
13555
+ "modifiers": {
13556
+ "width": 32
13557
+ }
13558
+ },
13559
+ {
13560
+ "id": "himi_cart.qty_plus",
13561
+ "body": {
13562
+ "package": "himalaya",
13563
+ "type": "ZStack",
13564
+ "props": {
13565
+ "alignment": "center",
13566
+ "children": [
13567
+ {
13568
+ "id": "",
13569
+ "body": {
13570
+ "package": "himalaya",
13571
+ "type": "Icon",
13572
+ "props": {
13573
+ "name": "plus",
13574
+ "size": 24,
13575
+ "tint": "textPrimary"
13576
+ }
13577
+ },
13578
+ "modifiers": {
13579
+ "accessibilityRole": "decorative"
13580
+ }
13581
+ }
13582
+ ]
13583
+ }
13584
+ },
13585
+ "modifiers": {
13586
+ "width": 44,
13587
+ "height": 44,
13588
+ "onTap": {
13589
+ "actionId": "tier5.himiStoreCart.increment",
13590
+ "params": {
13591
+ "id": "$item.id"
13592
+ }
13593
+ },
13594
+ "accessibilityRole": "button",
13595
+ "accessibilityLabel": "Increase quantity",
13596
+ "haptic": "light"
13597
+ }
13598
+ },
13599
+ {
13600
+ "id": "",
13601
+ "body": {
13602
+ "package": "himalaya",
13603
+ "type": "Spacer",
13604
+ "props": {}
13605
+ }
13606
+ },
13607
+ {
13608
+ "id": "himi_cart.save_filled",
13609
+ "body": {
13610
+ "package": "himalaya",
13611
+ "type": "ZStack",
13612
+ "props": {
13613
+ "alignment": "center",
13614
+ "children": [
13615
+ {
13616
+ "id": "",
13617
+ "body": {
13618
+ "package": "himalaya",
13619
+ "type": "Icon",
13620
+ "props": {
13621
+ "name": "heart_fill",
13622
+ "size": 24,
13623
+ "tint": "textPrimary"
13624
+ }
13625
+ },
13626
+ "modifiers": {
13627
+ "accessibilityRole": "decorative"
13628
+ }
13629
+ }
13630
+ ]
13631
+ }
13632
+ },
13633
+ "modifiers": {
13634
+ "width": 44,
13635
+ "height": 44,
13636
+ "onTap": {
13637
+ "actionId": "tier5.himiStoreCart.save",
13638
+ "params": {
13639
+ "id": "$item.id"
13640
+ }
13641
+ },
13642
+ "accessibilityRole": "button",
13643
+ "accessibilityLabel": "Remove from wishlist",
13644
+ "haptic": "light",
13645
+ "hiddenPath": "$item.notSaved"
13646
+ }
13647
+ },
13648
+ {
13649
+ "id": "himi_cart.save",
13650
+ "body": {
13651
+ "package": "himalaya",
13652
+ "type": "ZStack",
13653
+ "props": {
13654
+ "alignment": "center",
13655
+ "children": [
13656
+ {
13657
+ "id": "",
13658
+ "body": {
13659
+ "package": "himalaya",
13660
+ "type": "Icon",
13661
+ "props": {
13662
+ "name": "heart",
13663
+ "size": 24,
13664
+ "tint": "textPrimary"
13665
+ }
13666
+ },
13667
+ "modifiers": {
13668
+ "accessibilityRole": "decorative"
13669
+ }
13670
+ }
13671
+ ]
13672
+ }
13673
+ },
13674
+ "modifiers": {
13675
+ "width": 44,
13676
+ "height": 44,
13677
+ "onTap": {
13678
+ "actionId": "tier5.himiStoreCart.save",
13679
+ "params": {
13680
+ "id": "$item.id"
13681
+ }
13682
+ },
13683
+ "accessibilityRole": "button",
13684
+ "accessibilityLabel": "Add to wishlist",
13685
+ "haptic": "light",
13686
+ "hiddenPath": "$item.saved"
13687
+ }
13688
+ },
13689
+ {
13690
+ "id": "himi_cart.remove",
13691
+ "body": {
13692
+ "package": "himalaya",
13693
+ "type": "ZStack",
13694
+ "props": {
13695
+ "alignment": "center",
13696
+ "children": [
13697
+ {
13698
+ "id": "",
13699
+ "body": {
13700
+ "package": "himalaya",
13701
+ "type": "Icon",
13702
+ "props": {
13703
+ "name": "trash",
13704
+ "size": 24,
13705
+ "tint": "textPrimary"
13706
+ }
13707
+ },
13708
+ "modifiers": {
13709
+ "accessibilityRole": "decorative"
13710
+ }
13711
+ }
13712
+ ]
13713
+ }
13714
+ },
13715
+ "modifiers": {
13716
+ "width": 44,
13717
+ "height": 44,
13718
+ "onTap": {
13719
+ "actionId": "tier5.himiStoreCart.remove",
13720
+ "params": {
13721
+ "id": "$item.id"
13722
+ }
13723
+ },
13724
+ "accessibilityRole": "button",
13725
+ "accessibilityLabel": "Remove from cart",
13726
+ "haptic": "light"
13727
+ }
13728
+ }
13729
+ ]
13730
+ }
13731
+ }
13732
+ }
13733
+ ]
13734
+ }
13735
+ },
13736
+ "modifiers": {
13737
+ "weight": 1
13738
+ }
13739
+ }
13740
+ ]
13741
+ }
13742
+ },
13743
+ "modifiers": {
13744
+ "fillMaxWidth": true
13745
+ }
13746
+ },
13747
+ {
13748
+ "id": "",
13749
+ "body": {
13750
+ "package": "himalaya",
13751
+ "type": "Divider",
13752
+ "props": {}
13753
+ }
13754
+ }
13755
+ ]
13756
+ }
13757
+ },
13758
+ "modifiers": {
13759
+ "padding": {
13760
+ "top": 16,
13761
+ "bottom": 16
13762
+ }
13763
+ }
13764
+ }
13765
+ ]
13766
+ }
13767
+ },
13768
+ "modifiers": {
13769
+ "hiddenPath": "$service:himiStoreCart.hideContent"
13770
+ }
13771
+ },
13772
+ {
13773
+ "id": "himi_cart.hint",
13774
+ "body": {
13775
+ "package": "himalaya",
13776
+ "type": "Banner",
13777
+ "props": {
13778
+ "title": "$service:himiStoreCart.checkoutHint",
13779
+ "severity": "warning"
13780
+ }
13781
+ },
13782
+ "modifiers": {
13783
+ "hiddenPath": "$service:himiStoreCart.noCheckoutHint"
13784
+ }
13785
+ },
13786
+ {
13787
+ "id": "himi_cart.empty",
13788
+ "body": {
13789
+ "package": "himalaya",
13790
+ "type": "VStack",
13791
+ "props": {
13792
+ "spacing": 12,
13793
+ "alignment": "center",
13794
+ "children": [
13795
+ {
13796
+ "id": "",
13797
+ "body": {
13798
+ "package": "himalaya",
13799
+ "type": "Icon",
13800
+ "props": {
13801
+ "name": "cart",
13802
+ "size": 28,
13803
+ "tint": "textTertiary"
13804
+ }
13805
+ },
13806
+ "modifiers": {
13807
+ "accessibilityRole": "decorative"
13808
+ }
13809
+ },
13810
+ {
13811
+ "id": "",
13812
+ "body": {
13813
+ "package": "himalaya",
13814
+ "type": "Text",
13815
+ "props": {
13816
+ "text": "$service:himiStoreCart.emptyText",
13817
+ "style": "title3",
13818
+ "color": "textPrimary",
13819
+ "collapseWhenEmpty": true
13820
+ }
13821
+ }
13822
+ },
13823
+ {
13824
+ "id": "",
13825
+ "body": {
13826
+ "package": "himalaya",
13827
+ "type": "Text",
13828
+ "props": {
13829
+ "text": "Your items will appear here when you add them.",
13830
+ "style": "footnote",
13831
+ "color": "textSecondary"
13832
+ }
13833
+ }
13834
+ },
13835
+ {
13836
+ "id": "himi_cart.browse",
13837
+ "body": {
13838
+ "package": "himalaya",
13839
+ "type": "Button",
13840
+ "props": {
13841
+ "title": "Browse products",
13842
+ "style": "secondary",
13843
+ "action": {
13844
+ "actionId": "himi.open",
13845
+ "params": {
13846
+ "screenId": "himi_shop"
13847
+ }
13848
+ }
13849
+ }
13850
+ }
13851
+ }
13852
+ ]
13853
+ }
13854
+ },
13855
+ "modifiers": {
13256
13856
  "hiddenPath": "$service:himiStoreCart.noEmpty"
13257
13857
  }
13858
+ },
13859
+ {
13860
+ "id": "himi_cart.order_placed",
13861
+ "body": {
13862
+ "package": "himalaya",
13863
+ "type": "Snackbar",
13864
+ "props": {
13865
+ "message": "Order placed. Thanks!",
13866
+ "severity": "success",
13867
+ "durationMs": 3000
13868
+ }
13869
+ },
13870
+ "modifiers": {
13871
+ "hiddenPath": "$service:himiStoreCart.noPaidToast"
13872
+ }
13258
13873
  }
13259
13874
  ]
13260
13875
  }
@@ -13289,6 +13904,291 @@ const SCREENS = runtimeSetting({
13289
13904
  ],
13290
13905
  "minBinaryVersion": "0.1.0",
13291
13906
  "bundleVersion": "0.0.1"
13907
+ },
13908
+ "stickyFooter": {
13909
+ "id": "himi_cart.footer",
13910
+ "body": {
13911
+ "package": "himalaya",
13912
+ "type": "VStack",
13913
+ "props": {
13914
+ "spacing": 10,
13915
+ "alignment": "leading",
13916
+ "children": [
13917
+ {
13918
+ "id": "",
13919
+ "body": {
13920
+ "package": "himalaya",
13921
+ "type": "HStack",
13922
+ "props": {
13923
+ "spacing": 8,
13924
+ "children": [
13925
+ {
13926
+ "id": "himi_cart.promo",
13927
+ "body": {
13928
+ "package": "himalaya",
13929
+ "type": "TextField",
13930
+ "props": {
13931
+ "placeholder": "Promo code",
13932
+ "valuePath": "$service:himiStoreCart.promoCode",
13933
+ "onChange": {
13934
+ "actionId": "tier5.himiStoreCart.setPromo"
13935
+ },
13936
+ "onSubmit": {
13937
+ "actionId": "tier5.himiStoreCart.applyPromo"
13938
+ },
13939
+ "autoCapitalization": "characters",
13940
+ "suggestions": "off",
13941
+ "submitLabel": "done",
13942
+ "clearButton": true,
13943
+ "maxLength": 100,
13944
+ "borderless": true
13945
+ }
13946
+ },
13947
+ "modifiers": {
13948
+ "weight": 1,
13949
+ "height": 36,
13950
+ "border": {
13951
+ "width": 1,
13952
+ "color": {
13953
+ "token": "border"
13954
+ }
13955
+ },
13956
+ "padding": {
13957
+ "leading": 12,
13958
+ "trailing": 12
13959
+ },
13960
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
13961
+ }
13962
+ },
13963
+ {
13964
+ "id": "himi_cart.apply_promo",
13965
+ "body": {
13966
+ "package": "himalaya",
13967
+ "type": "Button",
13968
+ "props": {
13969
+ "title": "Apply",
13970
+ "style": "secondary",
13971
+ "action": {
13972
+ "actionId": "tier5.himiStoreCart.applyPromo"
13973
+ },
13974
+ "disabledPath": "$service:himiStoreCart.promoBusy"
13975
+ }
13976
+ },
13977
+ "modifiers": {
13978
+ "height": 44,
13979
+ "cornerRadius": 0,
13980
+ "border": {
13981
+ "width": 1,
13982
+ "color": {
13983
+ "token": "textPrimary"
13984
+ }
13985
+ },
13986
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
13987
+ }
13988
+ },
13989
+ {
13990
+ "id": "",
13991
+ "body": {
13992
+ "package": "himalaya",
13993
+ "type": "HStack",
13994
+ "props": {
13995
+ "spacing": 8,
13996
+ "children": [
13997
+ {
13998
+ "id": "",
13999
+ "body": {
14000
+ "package": "himalaya",
14001
+ "type": "Text",
14002
+ "props": {
14003
+ "text": "$service:himiStoreCart.appliedLabel",
14004
+ "style": "footnote",
14005
+ "color": "textPrimary"
14006
+ }
14007
+ }
14008
+ },
14009
+ {
14010
+ "id": "",
14011
+ "body": {
14012
+ "package": "himalaya",
14013
+ "type": "Spacer",
14014
+ "props": {}
14015
+ }
14016
+ },
14017
+ {
14018
+ "id": "himi_cart.remove_promo",
14019
+ "body": {
14020
+ "package": "himalaya",
14021
+ "type": "Button",
14022
+ "props": {
14023
+ "title": "Remove promo code",
14024
+ "action": {
14025
+ "actionId": "tier5.himiStoreCart.removePromo"
14026
+ },
14027
+ "style": "tertiary",
14028
+ "iconOnly": true,
14029
+ "leadingIcon": "close",
14030
+ "cornerRadius": 22,
14031
+ "minHeight": 44
14032
+ }
14033
+ },
14034
+ "modifiers": {
14035
+ "width": 44,
14036
+ "height": 44,
14037
+ "accessibilityLabel": "Remove promo code",
14038
+ "accessibilityRole": "button"
14039
+ }
14040
+ }
14041
+ ]
14042
+ }
14043
+ },
14044
+ "modifiers": {
14045
+ "hiddenPath": "$service:himiStoreCart.noCoupon"
14046
+ }
14047
+ }
14048
+ ]
14049
+ }
14050
+ }
14051
+ },
14052
+ {
14053
+ "id": "himi_cart.promo_error",
14054
+ "body": {
14055
+ "package": "himalaya",
14056
+ "type": "Text",
14057
+ "props": {
14058
+ "text": "$service:himiStoreCart.promoError",
14059
+ "style": "footnote",
14060
+ "color": "danger"
14061
+ }
14062
+ },
14063
+ "modifiers": {
14064
+ "hiddenPath": "$service:himiStoreCart.noPromoError"
14065
+ }
14066
+ },
14067
+ {
14068
+ "id": "",
14069
+ "body": {
14070
+ "package": "himalaya",
14071
+ "type": "HStack",
14072
+ "props": {
14073
+ "spacing": 8,
14074
+ "children": [
14075
+ {
14076
+ "id": "",
14077
+ "body": {
14078
+ "package": "himalaya",
14079
+ "type": "Text",
14080
+ "props": {
14081
+ "text": "Discount",
14082
+ "style": "body",
14083
+ "color": "textPrimary"
14084
+ }
14085
+ }
14086
+ },
14087
+ {
14088
+ "id": "",
14089
+ "body": {
14090
+ "package": "himalaya",
14091
+ "type": "Spacer",
14092
+ "props": {}
14093
+ }
14094
+ },
14095
+ {
14096
+ "id": "",
14097
+ "body": {
14098
+ "package": "himalaya",
14099
+ "type": "Text",
14100
+ "props": {
14101
+ "text": "$service:himiStoreCart.discount",
14102
+ "style": "body",
14103
+ "color": "success"
14104
+ }
14105
+ }
14106
+ }
14107
+ ]
14108
+ }
14109
+ },
14110
+ "modifiers": {
14111
+ "hiddenPath": "$service:himiStoreCart.noDiscount"
14112
+ }
14113
+ },
14114
+ {
14115
+ "id": "",
14116
+ "body": {
14117
+ "package": "himalaya",
14118
+ "type": "HStack",
14119
+ "props": {
14120
+ "spacing": 8,
14121
+ "children": [
14122
+ {
14123
+ "id": "",
14124
+ "body": {
14125
+ "package": "himalaya",
14126
+ "type": "Text",
14127
+ "props": {
14128
+ "text": "$service:himiStoreCart.subtotalLabel",
14129
+ "style": "bodyEmphasis"
14130
+ }
14131
+ }
14132
+ },
14133
+ {
14134
+ "id": "",
14135
+ "body": {
14136
+ "package": "himalaya",
14137
+ "type": "Spacer",
14138
+ "props": {}
14139
+ }
14140
+ },
14141
+ {
14142
+ "id": "",
14143
+ "body": {
14144
+ "package": "himalaya",
14145
+ "type": "Text",
14146
+ "props": {
14147
+ "text": "$service:himiStoreCart.subtotal",
14148
+ "style": "bodyEmphasis"
14149
+ }
14150
+ }
14151
+ }
14152
+ ]
14153
+ }
14154
+ }
14155
+ },
14156
+ {
14157
+ "id": "himi_cart.checkout",
14158
+ "body": {
14159
+ "package": "himalaya",
14160
+ "type": "Button",
14161
+ "props": {
14162
+ "title": "Checkout",
14163
+ "style": "primary",
14164
+ "fullWidth": true,
14165
+ "action": {
14166
+ "actionId": "tier5.himiStoreCart.checkout"
14167
+ }
14168
+ }
14169
+ }
14170
+ }
14171
+ ]
14172
+ }
14173
+ },
14174
+ "modifiers": {
14175
+ "background": {
14176
+ "token": "surfacePrimary"
14177
+ },
14178
+ "border": {
14179
+ "width": 1,
14180
+ "color": {
14181
+ "token": "border"
14182
+ }
14183
+ },
14184
+ "padding": {
14185
+ "leading": 20,
14186
+ "trailing": 20,
14187
+ "top": 12,
14188
+ "bottom": 12
14189
+ },
14190
+ "hiddenPath": "$service:himiStoreCart.noItems"
14191
+ }
13292
14192
  }
13293
14193
  },
13294
14194
  "himi_orders": {
@@ -90869,7 +91769,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
90869
91769
  { pattern: "^himi_product(?:[_/](.+))?$", display: "himi_product[_{id}]", liveSeed: {"path":"/stores/v3/products/query","body":{"query":{"cursorPaging":{"limit":50}}},"listKey":"products","prefix":"himi_product_"}, template: {
90870
91770
  "screenId": "himi_product___HIMI_ID__",
90871
91771
  "renderer": "sdui_intent",
90872
- "title": "Product",
91772
+ "title": "",
90873
91773
  "schemaVersion": 1,
90874
91774
  "cacheControl": {
90875
91775
  "maxAge": 0,
@@ -90998,12 +91898,12 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
90998
91898
  "package": "himalaya",
90999
91899
  "type": "Skeleton",
91000
91900
  "props": {
91001
- "height": 220,
91901
+ "height": 510,
91002
91902
  "cornerRadius": 8
91003
91903
  }
91004
91904
  },
91005
91905
  "modifiers": {
91006
- "height": 220,
91906
+ "height": 510,
91007
91907
  "background": {
91008
91908
  "token": "surfaceSecondary"
91009
91909
  },
@@ -91012,41 +91912,61 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91012
91912
  }
91013
91913
  },
91014
91914
  {
91015
- "id": "himi_product.skeleton_title",
91915
+ "id": "",
91016
91916
  "body": {
91017
91917
  "package": "himalaya",
91018
- "type": "Skeleton",
91918
+ "type": "VStack",
91019
91919
  "props": {
91020
- "height": 28,
91021
- "cornerRadius": 8
91920
+ "spacing": 12,
91921
+ "children": [
91922
+ {
91923
+ "id": "himi_product.skeleton_title",
91924
+ "body": {
91925
+ "package": "himalaya",
91926
+ "type": "Skeleton",
91927
+ "props": {
91928
+ "height": 28,
91929
+ "cornerRadius": 8
91930
+ }
91931
+ },
91932
+ "modifiers": {
91933
+ "height": 28,
91934
+ "background": {
91935
+ "token": "surfaceSecondary"
91936
+ },
91937
+ "cornerRadius": 8,
91938
+ "accessibilityRole": "decorative"
91939
+ }
91940
+ },
91941
+ {
91942
+ "id": "himi_product.skeleton_body",
91943
+ "body": {
91944
+ "package": "himalaya",
91945
+ "type": "Skeleton",
91946
+ "props": {
91947
+ "height": 72,
91948
+ "cornerRadius": 8
91949
+ }
91950
+ },
91951
+ "modifiers": {
91952
+ "height": 72,
91953
+ "background": {
91954
+ "token": "surfaceSecondary"
91955
+ },
91956
+ "cornerRadius": 8,
91957
+ "accessibilityRole": "decorative"
91958
+ }
91959
+ }
91960
+ ]
91022
91961
  }
91023
91962
  },
91024
91963
  "modifiers": {
91025
- "height": 28,
91026
- "background": {
91027
- "token": "surfaceSecondary"
91028
- },
91029
- "cornerRadius": 8,
91030
- "accessibilityRole": "decorative"
91031
- }
91032
- },
91033
- {
91034
- "id": "himi_product.skeleton_body",
91035
- "body": {
91036
- "package": "himalaya",
91037
- "type": "Skeleton",
91038
- "props": {
91039
- "height": 72,
91040
- "cornerRadius": 8
91964
+ "padding": {
91965
+ "leading": 16,
91966
+ "trailing": 16,
91967
+ "top": 12,
91968
+ "bottom": 12
91041
91969
  }
91042
- },
91043
- "modifiers": {
91044
- "height": 72,
91045
- "background": {
91046
- "token": "surfaceSecondary"
91047
- },
91048
- "cornerRadius": 8,
91049
- "accessibilityRole": "decorative"
91050
91970
  }
91051
91971
  }
91052
91972
  ]
@@ -91066,73 +91986,555 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91066
91986
  "alignment": "leading",
91067
91987
  "children": [
91068
91988
  {
91069
- "id": "himi_product.summary",
91989
+ "id": "himi_product.gallery",
91990
+ "body": {
91991
+ "package": "himalaya",
91992
+ "type": "Carousel",
91993
+ "props": {
91994
+ "itemsPath": "$service:himiStoreProduct.gallery",
91995
+ "items": [
91996
+ {
91997
+ "id": "",
91998
+ "body": {
91999
+ "package": "himalaya",
92000
+ "type": "Image",
92001
+ "props": {
92002
+ "url": "$item.url",
92003
+ "fillWidth": true,
92004
+ "height": 510,
92005
+ "contentMode": "fill",
92006
+ "contentDescription": "$service:himiStoreProduct.name"
92007
+ }
92008
+ },
92009
+ "modifiers": {
92010
+ "fillMaxWidth": true
92011
+ }
92012
+ }
92013
+ ]
92014
+ }
92015
+ },
92016
+ "modifiers": {
92017
+ "hiddenPath": "$service:himiStoreProduct.noGallery"
92018
+ }
92019
+ },
92020
+ {
92021
+ "id": "",
92022
+ "body": {
92023
+ "package": "himalaya",
92024
+ "type": "Image",
92025
+ "props": {
92026
+ "url": "$service:himiStoreProduct.image",
92027
+ "fillWidth": true,
92028
+ "height": 510,
92029
+ "contentMode": "fill",
92030
+ "contentDescription": "$service:himiStoreProduct.name"
92031
+ }
92032
+ },
92033
+ "modifiers": {
92034
+ "fillMaxWidth": true,
92035
+ "hiddenPath": "$service:himiStoreProduct.noSingleImage"
92036
+ }
92037
+ },
92038
+ {
92039
+ "id": "",
92040
+ "body": {
92041
+ "package": "himalaya",
92042
+ "type": "ZStack",
92043
+ "props": {
92044
+ "alignment": "center",
92045
+ "children": [
92046
+ {
92047
+ "id": "",
92048
+ "body": {
92049
+ "package": "himalaya",
92050
+ "type": "Text",
92051
+ "props": {
92052
+ "text": "$service:himiStoreProduct.initial",
92053
+ "style": "display",
92054
+ "color": "textOnAccent"
92055
+ }
92056
+ }
92057
+ }
92058
+ ]
92059
+ }
92060
+ },
92061
+ "modifiers": {
92062
+ "fillMaxWidth": true,
92063
+ "height": 510,
92064
+ "background": {
92065
+ "token": "accentPrimary"
92066
+ },
92067
+ "hiddenPath": "$service:himiStoreProduct.hasImage"
92068
+ }
92069
+ },
92070
+ {
92071
+ "id": "",
91070
92072
  "body": {
91071
92073
  "package": "himalaya",
91072
92074
  "type": "VStack",
91073
92075
  "props": {
91074
- "spacing": 12,
92076
+ "spacing": 16,
91075
92077
  "alignment": "leading",
91076
92078
  "children": [
91077
92079
  {
91078
- "id": "himi_product.gallery",
92080
+ "id": "",
91079
92081
  "body": {
91080
92082
  "package": "himalaya",
91081
- "type": "Carousel",
92083
+ "type": "Text",
91082
92084
  "props": {
91083
- "itemsPath": "$service:himiStoreProduct.gallery",
91084
- "items": [
92085
+ "text": "On sale",
92086
+ "style": "caption",
92087
+ "color": "danger"
92088
+ }
92089
+ },
92090
+ "modifiers": {
92091
+ "background": {
92092
+ "token": "surfaceTertiary"
92093
+ },
92094
+ "cornerRadius": 4,
92095
+ "padding": {
92096
+ "leading": 8,
92097
+ "trailing": 8,
92098
+ "top": 4,
92099
+ "bottom": 4
92100
+ },
92101
+ "hiddenPath": "$service:himiStoreProduct.notOnSale"
92102
+ }
92103
+ },
92104
+ {
92105
+ "id": "himi_product.title",
92106
+ "body": {
92107
+ "package": "himalaya",
92108
+ "type": "Text",
92109
+ "props": {
92110
+ "text": "$service:himiStoreProduct.name",
92111
+ "style": "title3",
92112
+ "color": "textPrimary",
92113
+ "maxLines": 2,
92114
+ "collapseWhenEmpty": true
92115
+ }
92116
+ }
92117
+ },
92118
+ {
92119
+ "id": "himi_product.price_row",
92120
+ "body": {
92121
+ "package": "himalaya",
92122
+ "type": "HStack",
92123
+ "props": {
92124
+ "spacing": 8,
92125
+ "children": [
92126
+ {
92127
+ "id": "",
92128
+ "body": {
92129
+ "package": "himalaya",
92130
+ "type": "Text",
92131
+ "props": {
92132
+ "text": "$service:himiStoreProduct.wasPrice",
92133
+ "style": "title3",
92134
+ "color": "textSecondary",
92135
+ "collapseWhenEmpty": true,
92136
+ "decoration": "strikethrough"
92137
+ }
92138
+ },
92139
+ "modifiers": {
92140
+ "hiddenPath": "$service:himiStoreProduct.notOnSale"
92141
+ }
92142
+ },
92143
+ {
92144
+ "id": "himi_product.price_sale",
92145
+ "body": {
92146
+ "package": "himalaya",
92147
+ "type": "Text",
92148
+ "props": {
92149
+ "text": "$service:himiStoreProduct.price",
92150
+ "style": "title3",
92151
+ "color": "danger",
92152
+ "collapseWhenEmpty": true
92153
+ }
92154
+ },
92155
+ "modifiers": {
92156
+ "hiddenPath": "$service:himiStoreProduct.notOnSale"
92157
+ }
92158
+ },
92159
+ {
92160
+ "id": "himi_product.price",
92161
+ "body": {
92162
+ "package": "himalaya",
92163
+ "type": "Text",
92164
+ "props": {
92165
+ "text": "$service:himiStoreProduct.price",
92166
+ "style": "title3",
92167
+ "color": "accentPrimary",
92168
+ "collapseWhenEmpty": true
92169
+ }
92170
+ },
92171
+ "modifiers": {
92172
+ "hiddenPath": "$service:himiStoreProduct.wasPriceEmpty"
92173
+ }
92174
+ }
92175
+ ]
92176
+ }
92177
+ }
92178
+ },
92179
+ {
92180
+ "id": "himi_product.options_card",
92181
+ "body": {
92182
+ "package": "himalaya",
92183
+ "type": "VStack",
92184
+ "props": {
92185
+ "spacing": 12,
92186
+ "alignment": "leading",
92187
+ "children": [
92188
+ {
92189
+ "id": "himi_product.opt1_row",
92190
+ "body": {
92191
+ "package": "himalaya",
92192
+ "type": "VStack",
92193
+ "props": {
92194
+ "spacing": 8,
92195
+ "alignment": "leading",
92196
+ "children": [
92197
+ {
92198
+ "id": "",
92199
+ "body": {
92200
+ "package": "himalaya",
92201
+ "type": "Text",
92202
+ "props": {
92203
+ "text": "$service:himiStoreProduct.opt1Label",
92204
+ "style": "body",
92205
+ "collapseWhenEmpty": true
92206
+ }
92207
+ }
92208
+ },
92209
+ {
92210
+ "id": "himi_product.opt1",
92211
+ "body": {
92212
+ "package": "himalaya",
92213
+ "type": "Picker",
92214
+ "props": {
92215
+ "options": [],
92216
+ "optionsPath": "$service:himiStoreProduct.opt1Chips",
92217
+ "selectedId": "$service:himiStoreProduct.opt1SelectedId",
92218
+ "placeholder": "$service:himiStoreProduct.opt1Placeholder",
92219
+ "presentation": "sheet",
92220
+ "field": {
92221
+ "minHeight": 48,
92222
+ "cornerRadius": 4,
92223
+ "borderColor": "textSecondary",
92224
+ "borderWidth": 1,
92225
+ "padding": 16,
92226
+ "chevronIcon": "chevron_down"
92227
+ },
92228
+ "onChange": {
92229
+ "actionId": "tier5.himiStoreProduct.selectOption",
92230
+ "params": {
92231
+ "group": "1"
92232
+ }
92233
+ }
92234
+ }
92235
+ },
92236
+ "modifiers": {
92237
+ "accessibilityLabel": "$service:himiStoreProduct.opt1Label",
92238
+ "hiddenPath": "$service:himiStoreProduct.hasOpt1Error"
92239
+ }
92240
+ },
92241
+ {
92242
+ "id": "himi_product.opt1_error",
92243
+ "body": {
92244
+ "package": "himalaya",
92245
+ "type": "Picker",
92246
+ "props": {
92247
+ "options": [],
92248
+ "optionsPath": "$service:himiStoreProduct.opt1Chips",
92249
+ "selectedId": "$service:himiStoreProduct.opt1SelectedId",
92250
+ "placeholder": "$service:himiStoreProduct.opt1Placeholder",
92251
+ "presentation": "sheet",
92252
+ "field": {
92253
+ "minHeight": 48,
92254
+ "cornerRadius": 4,
92255
+ "borderColor": "danger",
92256
+ "borderWidth": 1,
92257
+ "padding": 16,
92258
+ "chevronIcon": "chevron_down"
92259
+ },
92260
+ "onChange": {
92261
+ "actionId": "tier5.himiStoreProduct.selectOption",
92262
+ "params": {
92263
+ "group": "1"
92264
+ }
92265
+ }
92266
+ }
92267
+ },
92268
+ "modifiers": {
92269
+ "accessibilityLabel": "$service:himiStoreProduct.opt1Label",
92270
+ "hiddenPath": "$service:himiStoreProduct.noOpt1Error"
92271
+ }
92272
+ },
92273
+ {
92274
+ "id": "",
92275
+ "body": {
92276
+ "package": "himalaya",
92277
+ "type": "Text",
92278
+ "props": {
92279
+ "text": "$service:himiStoreProduct.opt1Error",
92280
+ "style": "footnote",
92281
+ "color": "danger"
92282
+ }
92283
+ },
92284
+ "modifiers": {
92285
+ "hiddenPath": "$service:himiStoreProduct.noOpt1Error"
92286
+ }
92287
+ }
92288
+ ]
92289
+ }
92290
+ },
92291
+ "modifiers": {
92292
+ "hiddenPath": "$service:himiStoreProduct.noOpt1"
92293
+ }
92294
+ },
92295
+ {
92296
+ "id": "himi_product.opt2_row",
92297
+ "body": {
92298
+ "package": "himalaya",
92299
+ "type": "VStack",
92300
+ "props": {
92301
+ "spacing": 8,
92302
+ "alignment": "leading",
92303
+ "children": [
92304
+ {
92305
+ "id": "",
92306
+ "body": {
92307
+ "package": "himalaya",
92308
+ "type": "Text",
92309
+ "props": {
92310
+ "text": "$service:himiStoreProduct.opt2Label",
92311
+ "style": "body",
92312
+ "collapseWhenEmpty": true
92313
+ }
92314
+ }
92315
+ },
92316
+ {
92317
+ "id": "himi_product.opt2",
92318
+ "body": {
92319
+ "package": "himalaya",
92320
+ "type": "Picker",
92321
+ "props": {
92322
+ "options": [],
92323
+ "optionsPath": "$service:himiStoreProduct.opt2Chips",
92324
+ "selectedId": "$service:himiStoreProduct.opt2SelectedId",
92325
+ "placeholder": "$service:himiStoreProduct.opt2Placeholder",
92326
+ "presentation": "sheet",
92327
+ "field": {
92328
+ "minHeight": 48,
92329
+ "cornerRadius": 4,
92330
+ "borderColor": "textSecondary",
92331
+ "borderWidth": 1,
92332
+ "padding": 16,
92333
+ "chevronIcon": "chevron_down"
92334
+ },
92335
+ "onChange": {
92336
+ "actionId": "tier5.himiStoreProduct.selectOption",
92337
+ "params": {
92338
+ "group": "2"
92339
+ }
92340
+ }
92341
+ }
92342
+ },
92343
+ "modifiers": {
92344
+ "accessibilityLabel": "$service:himiStoreProduct.opt2Label",
92345
+ "hiddenPath": "$service:himiStoreProduct.hasOpt2Error"
92346
+ }
92347
+ },
92348
+ {
92349
+ "id": "himi_product.opt2_error",
92350
+ "body": {
92351
+ "package": "himalaya",
92352
+ "type": "Picker",
92353
+ "props": {
92354
+ "options": [],
92355
+ "optionsPath": "$service:himiStoreProduct.opt2Chips",
92356
+ "selectedId": "$service:himiStoreProduct.opt2SelectedId",
92357
+ "placeholder": "$service:himiStoreProduct.opt2Placeholder",
92358
+ "presentation": "sheet",
92359
+ "field": {
92360
+ "minHeight": 48,
92361
+ "cornerRadius": 4,
92362
+ "borderColor": "danger",
92363
+ "borderWidth": 1,
92364
+ "padding": 16,
92365
+ "chevronIcon": "chevron_down"
92366
+ },
92367
+ "onChange": {
92368
+ "actionId": "tier5.himiStoreProduct.selectOption",
92369
+ "params": {
92370
+ "group": "2"
92371
+ }
92372
+ }
92373
+ }
92374
+ },
92375
+ "modifiers": {
92376
+ "accessibilityLabel": "$service:himiStoreProduct.opt2Label",
92377
+ "hiddenPath": "$service:himiStoreProduct.noOpt2Error"
92378
+ }
92379
+ },
92380
+ {
92381
+ "id": "",
92382
+ "body": {
92383
+ "package": "himalaya",
92384
+ "type": "Text",
92385
+ "props": {
92386
+ "text": "$service:himiStoreProduct.opt2Error",
92387
+ "style": "footnote",
92388
+ "color": "danger"
92389
+ }
92390
+ },
92391
+ "modifiers": {
92392
+ "hiddenPath": "$service:himiStoreProduct.noOpt2Error"
92393
+ }
92394
+ }
92395
+ ]
92396
+ }
92397
+ },
92398
+ "modifiers": {
92399
+ "hiddenPath": "$service:himiStoreProduct.noOpt2"
92400
+ }
92401
+ },
92402
+ {
92403
+ "id": "himi_product.opt3_row",
92404
+ "body": {
92405
+ "package": "himalaya",
92406
+ "type": "VStack",
92407
+ "props": {
92408
+ "spacing": 8,
92409
+ "alignment": "leading",
92410
+ "children": [
92411
+ {
92412
+ "id": "",
92413
+ "body": {
92414
+ "package": "himalaya",
92415
+ "type": "Text",
92416
+ "props": {
92417
+ "text": "$service:himiStoreProduct.opt3Label",
92418
+ "style": "body",
92419
+ "collapseWhenEmpty": true
92420
+ }
92421
+ }
92422
+ },
92423
+ {
92424
+ "id": "himi_product.opt3",
92425
+ "body": {
92426
+ "package": "himalaya",
92427
+ "type": "Picker",
92428
+ "props": {
92429
+ "options": [],
92430
+ "optionsPath": "$service:himiStoreProduct.opt3Chips",
92431
+ "selectedId": "$service:himiStoreProduct.opt3SelectedId",
92432
+ "placeholder": "$service:himiStoreProduct.opt3Placeholder",
92433
+ "presentation": "sheet",
92434
+ "field": {
92435
+ "minHeight": 48,
92436
+ "cornerRadius": 4,
92437
+ "borderColor": "textSecondary",
92438
+ "borderWidth": 1,
92439
+ "padding": 16,
92440
+ "chevronIcon": "chevron_down"
92441
+ },
92442
+ "onChange": {
92443
+ "actionId": "tier5.himiStoreProduct.selectOption",
92444
+ "params": {
92445
+ "group": "3"
92446
+ }
92447
+ }
92448
+ }
92449
+ },
92450
+ "modifiers": {
92451
+ "accessibilityLabel": "$service:himiStoreProduct.opt3Label",
92452
+ "hiddenPath": "$service:himiStoreProduct.hasOpt3Error"
92453
+ }
92454
+ },
92455
+ {
92456
+ "id": "himi_product.opt3_error",
92457
+ "body": {
92458
+ "package": "himalaya",
92459
+ "type": "Picker",
92460
+ "props": {
92461
+ "options": [],
92462
+ "optionsPath": "$service:himiStoreProduct.opt3Chips",
92463
+ "selectedId": "$service:himiStoreProduct.opt3SelectedId",
92464
+ "placeholder": "$service:himiStoreProduct.opt3Placeholder",
92465
+ "presentation": "sheet",
92466
+ "field": {
92467
+ "minHeight": 48,
92468
+ "cornerRadius": 4,
92469
+ "borderColor": "danger",
92470
+ "borderWidth": 1,
92471
+ "padding": 16,
92472
+ "chevronIcon": "chevron_down"
92473
+ },
92474
+ "onChange": {
92475
+ "actionId": "tier5.himiStoreProduct.selectOption",
92476
+ "params": {
92477
+ "group": "3"
92478
+ }
92479
+ }
92480
+ }
92481
+ },
92482
+ "modifiers": {
92483
+ "accessibilityLabel": "$service:himiStoreProduct.opt3Label",
92484
+ "hiddenPath": "$service:himiStoreProduct.noOpt3Error"
92485
+ }
92486
+ },
92487
+ {
92488
+ "id": "",
92489
+ "body": {
92490
+ "package": "himalaya",
92491
+ "type": "Text",
92492
+ "props": {
92493
+ "text": "$service:himiStoreProduct.opt3Error",
92494
+ "style": "footnote",
92495
+ "color": "danger"
92496
+ }
92497
+ },
92498
+ "modifiers": {
92499
+ "hiddenPath": "$service:himiStoreProduct.noOpt3Error"
92500
+ }
92501
+ }
92502
+ ]
92503
+ }
92504
+ },
92505
+ "modifiers": {
92506
+ "hiddenPath": "$service:himiStoreProduct.noOpt3"
92507
+ }
92508
+ },
91085
92509
  {
91086
92510
  "id": "",
91087
92511
  "body": {
91088
92512
  "package": "himalaya",
91089
- "type": "Image",
92513
+ "type": "Text",
91090
92514
  "props": {
91091
- "url": "$item.url",
91092
- "fillWidth": true,
91093
- "height": 240,
91094
- "contentMode": "fill",
91095
- "contentDescription": "$service:himiStoreProduct.name"
92515
+ "text": "This product has more options than this screen can show. Open it on the website to order.",
92516
+ "style": "footnote",
92517
+ "color": "textSecondary"
91096
92518
  }
91097
92519
  },
91098
92520
  "modifiers": {
91099
- "cornerRadius": 8,
91100
- "fillMaxWidth": true
92521
+ "hiddenPath": "$service:himiStoreProduct.noOptionsOverflow"
91101
92522
  }
91102
92523
  }
91103
92524
  ]
91104
92525
  }
91105
92526
  },
91106
92527
  "modifiers": {
91107
- "hiddenPath": "$service:himiStoreProduct.noGallery"
91108
- }
91109
- },
91110
- {
91111
- "id": "",
91112
- "body": {
91113
- "package": "himalaya",
91114
- "type": "Image",
91115
- "props": {
91116
- "url": "$service:himiStoreProduct.image",
91117
- "fillWidth": true,
91118
- "height": 240,
91119
- "contentMode": "fill",
91120
- "contentDescription": "$service:himiStoreProduct.name"
91121
- }
91122
- },
91123
- "modifiers": {
91124
- "cornerRadius": 8,
91125
- "fillMaxWidth": true,
91126
- "hiddenPath": "$service:himiStoreProduct.noSingleImage"
92528
+ "hiddenPath": "$service:himiStoreProduct.noOptions"
91127
92529
  }
91128
92530
  },
91129
92531
  {
91130
- "id": "",
92532
+ "id": "himi_product.qty_row",
91131
92533
  "body": {
91132
92534
  "package": "himalaya",
91133
- "type": "ZStack",
92535
+ "type": "HStack",
91134
92536
  "props": {
91135
- "alignment": "center",
92537
+ "spacing": 12,
91136
92538
  "children": [
91137
92539
  {
91138
92540
  "id": "",
@@ -91140,49 +92542,41 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91140
92542
  "package": "himalaya",
91141
92543
  "type": "Text",
91142
92544
  "props": {
91143
- "text": "$service:himiStoreProduct.initial",
91144
- "style": "display",
91145
- "color": "textOnAccent"
92545
+ "text": "Quantity",
92546
+ "style": "body"
92547
+ }
92548
+ }
92549
+ },
92550
+ {
92551
+ "id": "",
92552
+ "body": {
92553
+ "package": "himalaya",
92554
+ "type": "Spacer",
92555
+ "props": {}
92556
+ }
92557
+ },
92558
+ {
92559
+ "id": "himi_product.qty",
92560
+ "body": {
92561
+ "package": "himalaya",
92562
+ "type": "Stepper",
92563
+ "props": {
92564
+ "value": 1,
92565
+ "valuePath": "$service:himiStoreProduct.quantity",
92566
+ "min": 1,
92567
+ "max": 99,
92568
+ "presentation": "plain",
92569
+ "onChange": {
92570
+ "actionId": "tier5.himiStoreProduct.setQuantity"
92571
+ }
91146
92572
  }
92573
+ },
92574
+ "modifiers": {
92575
+ "accessibilityLabel": "Quantity"
91147
92576
  }
91148
92577
  }
91149
92578
  ]
91150
92579
  }
91151
- },
91152
- "modifiers": {
91153
- "fillMaxWidth": true,
91154
- "height": 220,
91155
- "background": {
91156
- "token": "accentPrimary"
91157
- },
91158
- "cornerRadius": 8,
91159
- "hiddenPath": "$service:himiStoreProduct.hasImage"
91160
- }
91161
- },
91162
- {
91163
- "id": "",
91164
- "body": {
91165
- "package": "himalaya",
91166
- "type": "Text",
91167
- "props": {
91168
- "text": "$service:himiStoreProduct.name",
91169
- "style": "title2",
91170
- "maxLines": 2,
91171
- "collapseWhenEmpty": true
91172
- }
91173
- }
91174
- },
91175
- {
91176
- "id": "himi_product.price",
91177
- "body": {
91178
- "package": "himalaya",
91179
- "type": "Text",
91180
- "props": {
91181
- "text": "$service:himiStoreProduct.price",
91182
- "style": "title1",
91183
- "color": "accentPrimary",
91184
- "collapseWhenEmpty": true
91185
- }
91186
92580
  }
91187
92581
  },
91188
92582
  {
@@ -91211,7 +92605,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91211
92605
  "props": {
91212
92606
  "text": "$service:himiStoreProduct.description",
91213
92607
  "style": "body",
91214
- "color": "textSecondary",
92608
+ "color": "textPrimary",
91215
92609
  "collapseWhenEmpty": true
91216
92610
  }
91217
92611
  }
@@ -91227,301 +92621,264 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91227
92621
  "props": {
91228
92622
  "text": "$service:himiStoreProduct.description",
91229
92623
  "style": "body",
91230
- "color": "textSecondary",
92624
+ "color": "textPrimary",
91231
92625
  "collapseWhenEmpty": true
91232
92626
  }
91233
92627
  },
91234
92628
  "modifiers": {
91235
92629
  "hiddenPath": "$service:himiStoreProduct.hasDescriptionJson"
91236
92630
  }
91237
- }
91238
- ]
91239
- }
91240
- },
91241
- "modifiers": {
91242
- "background": {
91243
- "token": "surfaceElevated"
91244
- },
91245
- "border": {
91246
- "width": 1,
91247
- "color": {
91248
- "token": "border"
91249
- }
91250
- },
91251
- "cornerRadius": 8,
91252
- "padding": {
91253
- "leading": 14,
91254
- "trailing": 14,
91255
- "top": 14,
91256
- "bottom": 14
91257
- }
91258
- }
91259
- },
91260
- {
91261
- "id": "himi_product.options_card",
91262
- "body": {
91263
- "package": "himalaya",
91264
- "type": "VStack",
91265
- "props": {
91266
- "spacing": 12,
91267
- "alignment": "leading",
91268
- "children": [
92631
+ },
91269
92632
  {
91270
- "id": "himi_product.opt1_row",
92633
+ "id": "himi_product.sku",
91271
92634
  "body": {
91272
92635
  "package": "himalaya",
91273
- "type": "VStack",
92636
+ "type": "Text",
91274
92637
  "props": {
91275
- "spacing": 8,
91276
- "alignment": "leading",
91277
- "children": [
91278
- {
91279
- "id": "",
91280
- "body": {
91281
- "package": "himalaya",
91282
- "type": "Text",
91283
- "props": {
91284
- "text": "$service:himiStoreProduct.opt1Label",
91285
- "style": "bodyEmphasis",
91286
- "collapseWhenEmpty": true
91287
- }
91288
- }
91289
- },
91290
- {
91291
- "id": "himi_product.opt1",
91292
- "body": {
91293
- "package": "himalaya",
91294
- "type": "FilterChips",
91295
- "props": {
91296
- "chips": [],
91297
- "optionsPath": "$service:himiStoreProduct.opt1Chips",
91298
- "selectedIds": [
91299
- "$service:himiStoreProduct.opt1Selected"
91300
- ],
91301
- "onChange": {
91302
- "actionId": "tier5.himiStoreProduct.selectOption",
91303
- "params": {
91304
- "group": "1"
91305
- }
91306
- }
91307
- }
91308
- },
91309
- "modifiers": {
91310
- "accessibilityLabel": "$service:himiStoreProduct.opt1Label"
91311
- }
91312
- }
91313
- ]
92638
+ "text": "$service:himiStoreProduct.skuLabel",
92639
+ "style": "caption",
92640
+ "color": "textSecondary",
92641
+ "collapseWhenEmpty": true
91314
92642
  }
92643
+ }
92644
+ },
92645
+ {
92646
+ "id": "",
92647
+ "body": {
92648
+ "package": "himalaya",
92649
+ "type": "Divider",
92650
+ "props": {}
91315
92651
  },
91316
92652
  "modifiers": {
91317
- "hiddenPath": "$service:himiStoreProduct.noOpt1"
92653
+ "hiddenPath": "$service:himiStoreProduct.noSku"
91318
92654
  }
91319
92655
  },
91320
92656
  {
91321
- "id": "himi_product.opt2_row",
92657
+ "id": "himi_product.return_policy",
91322
92658
  "body": {
91323
92659
  "package": "himalaya",
91324
92660
  "type": "VStack",
91325
92661
  "props": {
91326
- "spacing": 8,
92662
+ "spacing": 0,
91327
92663
  "alignment": "leading",
91328
92664
  "children": [
91329
92665
  {
91330
- "id": "",
91331
- "body": {
91332
- "package": "himalaya",
91333
- "type": "Text",
91334
- "props": {
91335
- "text": "$service:himiStoreProduct.opt2Label",
91336
- "style": "bodyEmphasis",
91337
- "collapseWhenEmpty": true
91338
- }
91339
- }
91340
- },
91341
- {
91342
- "id": "himi_product.opt2",
92666
+ "id": "himi_product.return_policy.header",
91343
92667
  "body": {
91344
92668
  "package": "himalaya",
91345
- "type": "FilterChips",
92669
+ "type": "HStack",
91346
92670
  "props": {
91347
- "chips": [],
91348
- "optionsPath": "$service:himiStoreProduct.opt2Chips",
91349
- "selectedIds": [
91350
- "$service:himiStoreProduct.opt2Selected"
91351
- ],
91352
- "onChange": {
91353
- "actionId": "tier5.himiStoreProduct.selectOption",
91354
- "params": {
91355
- "group": "2"
92671
+ "spacing": 12,
92672
+ "children": [
92673
+ {
92674
+ "id": "",
92675
+ "body": {
92676
+ "package": "himalaya",
92677
+ "type": "Text",
92678
+ "props": {
92679
+ "text": "Return & refund policy",
92680
+ "style": "body",
92681
+ "maxLines": 2
92682
+ }
92683
+ }
92684
+ },
92685
+ {
92686
+ "id": "",
92687
+ "body": {
92688
+ "package": "himalaya",
92689
+ "type": "Spacer",
92690
+ "props": {}
92691
+ }
92692
+ },
92693
+ {
92694
+ "id": "",
92695
+ "body": {
92696
+ "package": "himalaya",
92697
+ "type": "Icon",
92698
+ "props": {
92699
+ "name": "chevron_down",
92700
+ "size": 16,
92701
+ "tint": "textSecondary"
92702
+ }
92703
+ },
92704
+ "modifiers": {
92705
+ "accessibilityRole": "decorative",
92706
+ "hiddenPath": "$service:himiStoreProduct.returnPolicyExpanded"
92707
+ }
92708
+ },
92709
+ {
92710
+ "id": "",
92711
+ "body": {
92712
+ "package": "himalaya",
92713
+ "type": "Icon",
92714
+ "props": {
92715
+ "name": "chevron_up",
92716
+ "size": 16,
92717
+ "tint": "textSecondary"
92718
+ }
92719
+ },
92720
+ "modifiers": {
92721
+ "accessibilityRole": "decorative",
92722
+ "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
92723
+ }
91356
92724
  }
91357
- }
92725
+ ]
91358
92726
  }
91359
92727
  },
91360
92728
  "modifiers": {
91361
- "accessibilityLabel": "$service:himiStoreProduct.opt2Label"
92729
+ "fillMaxWidth": true,
92730
+ "padding": {
92731
+ "top": 18,
92732
+ "bottom": 18
92733
+ },
92734
+ "onTap": {
92735
+ "actionId": "tier5.himiStoreProduct.toggleReturnPolicy"
92736
+ },
92737
+ "pressFeedback": "highlight",
92738
+ "accessibilityRole": "button",
92739
+ "accessibilityLabel": "Return & refund policy"
91362
92740
  }
91363
- }
91364
- ]
91365
- }
91366
- },
91367
- "modifiers": {
91368
- "hiddenPath": "$service:himiStoreProduct.noOpt2"
91369
- }
91370
- },
91371
- {
91372
- "id": "himi_product.opt3_row",
91373
- "body": {
91374
- "package": "himalaya",
91375
- "type": "VStack",
91376
- "props": {
91377
- "spacing": 8,
91378
- "alignment": "leading",
91379
- "children": [
92741
+ },
91380
92742
  {
91381
92743
  "id": "",
91382
92744
  "body": {
91383
92745
  "package": "himalaya",
91384
92746
  "type": "Text",
91385
92747
  "props": {
91386
- "text": "$service:himiStoreProduct.opt3Label",
91387
- "style": "bodyEmphasis",
91388
- "collapseWhenEmpty": true
92748
+ "text": "$service:himiStoreProduct.returnPolicyBody",
92749
+ "style": "body",
92750
+ "color": "textSecondary"
91389
92751
  }
92752
+ },
92753
+ "modifiers": {
92754
+ "padding": {
92755
+ "bottom": 18
92756
+ },
92757
+ "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
91390
92758
  }
91391
92759
  },
91392
92760
  {
91393
- "id": "himi_product.opt3",
92761
+ "id": "",
91394
92762
  "body": {
91395
92763
  "package": "himalaya",
91396
- "type": "FilterChips",
91397
- "props": {
91398
- "chips": [],
91399
- "optionsPath": "$service:himiStoreProduct.opt3Chips",
91400
- "selectedIds": [
91401
- "$service:himiStoreProduct.opt3Selected"
91402
- ],
91403
- "onChange": {
91404
- "actionId": "tier5.himiStoreProduct.selectOption",
91405
- "params": {
91406
- "group": "3"
91407
- }
91408
- }
91409
- }
91410
- },
91411
- "modifiers": {
91412
- "accessibilityLabel": "$service:himiStoreProduct.opt3Label"
92764
+ "type": "Divider",
92765
+ "props": {}
91413
92766
  }
91414
92767
  }
91415
92768
  ]
91416
92769
  }
91417
- },
91418
- "modifiers": {
91419
- "hiddenPath": "$service:himiStoreProduct.noOpt3"
91420
- }
91421
- },
91422
- {
91423
- "id": "himi_product.options_hint",
91424
- "body": {
91425
- "package": "himalaya",
91426
- "type": "Text",
91427
- "props": {
91428
- "text": "$service:himiStoreProduct.optionsHint",
91429
- "style": "footnote",
91430
- "color": "textSecondary",
91431
- "collapseWhenEmpty": true
91432
- }
91433
92770
  }
91434
92771
  },
91435
92772
  {
91436
- "id": "",
91437
- "body": {
91438
- "package": "himalaya",
91439
- "type": "Text",
91440
- "props": {
91441
- "text": "This product has more options than this screen can show. Open it on the website to order.",
91442
- "style": "footnote",
91443
- "color": "textSecondary"
91444
- }
91445
- },
91446
- "modifiers": {
91447
- "hiddenPath": "$service:himiStoreProduct.noOptionsOverflow"
91448
- }
91449
- }
91450
- ]
91451
- }
91452
- },
91453
- "modifiers": {
91454
- "background": {
91455
- "token": "surfaceElevated"
91456
- },
91457
- "border": {
91458
- "width": 1,
91459
- "color": {
91460
- "token": "border"
91461
- }
91462
- },
91463
- "cornerRadius": 8,
91464
- "padding": {
91465
- "leading": 14,
91466
- "trailing": 14,
91467
- "top": 14,
91468
- "bottom": 14
91469
- },
91470
- "hiddenPath": "$service:himiStoreProduct.noOptions"
91471
- }
91472
- },
91473
- {
91474
- "id": "himi_product.qty_card",
91475
- "body": {
91476
- "package": "himalaya",
91477
- "type": "VStack",
91478
- "props": {
91479
- "spacing": 12,
91480
- "alignment": "leading",
91481
- "children": [
91482
- {
91483
- "id": "himi_product.qty_row",
92773
+ "id": "himi_product.shipping_info",
91484
92774
  "body": {
91485
92775
  "package": "himalaya",
91486
- "type": "HStack",
92776
+ "type": "VStack",
91487
92777
  "props": {
91488
- "spacing": 12,
92778
+ "spacing": 0,
92779
+ "alignment": "leading",
91489
92780
  "children": [
91490
92781
  {
91491
- "id": "",
92782
+ "id": "himi_product.shipping_info.header",
91492
92783
  "body": {
91493
92784
  "package": "himalaya",
91494
- "type": "Text",
92785
+ "type": "HStack",
91495
92786
  "props": {
91496
- "text": "Quantity",
91497
- "style": "bodyEmphasis"
92787
+ "spacing": 12,
92788
+ "children": [
92789
+ {
92790
+ "id": "",
92791
+ "body": {
92792
+ "package": "himalaya",
92793
+ "type": "Text",
92794
+ "props": {
92795
+ "text": "Shipping info",
92796
+ "style": "body",
92797
+ "maxLines": 2
92798
+ }
92799
+ }
92800
+ },
92801
+ {
92802
+ "id": "",
92803
+ "body": {
92804
+ "package": "himalaya",
92805
+ "type": "Spacer",
92806
+ "props": {}
92807
+ }
92808
+ },
92809
+ {
92810
+ "id": "",
92811
+ "body": {
92812
+ "package": "himalaya",
92813
+ "type": "Icon",
92814
+ "props": {
92815
+ "name": "chevron_down",
92816
+ "size": 16,
92817
+ "tint": "textSecondary"
92818
+ }
92819
+ },
92820
+ "modifiers": {
92821
+ "accessibilityRole": "decorative",
92822
+ "hiddenPath": "$service:himiStoreProduct.shippingInfoExpanded"
92823
+ }
92824
+ },
92825
+ {
92826
+ "id": "",
92827
+ "body": {
92828
+ "package": "himalaya",
92829
+ "type": "Icon",
92830
+ "props": {
92831
+ "name": "chevron_up",
92832
+ "size": 16,
92833
+ "tint": "textSecondary"
92834
+ }
92835
+ },
92836
+ "modifiers": {
92837
+ "accessibilityRole": "decorative",
92838
+ "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
92839
+ }
92840
+ }
92841
+ ]
91498
92842
  }
92843
+ },
92844
+ "modifiers": {
92845
+ "fillMaxWidth": true,
92846
+ "padding": {
92847
+ "top": 18,
92848
+ "bottom": 18
92849
+ },
92850
+ "onTap": {
92851
+ "actionId": "tier5.himiStoreProduct.toggleShippingInfo"
92852
+ },
92853
+ "pressFeedback": "highlight",
92854
+ "accessibilityRole": "button",
92855
+ "accessibilityLabel": "Shipping info"
91499
92856
  }
91500
92857
  },
91501
92858
  {
91502
92859
  "id": "",
91503
92860
  "body": {
91504
92861
  "package": "himalaya",
91505
- "type": "Spacer",
91506
- "props": {}
91507
- }
91508
- },
91509
- {
91510
- "id": "himi_product.qty",
91511
- "body": {
91512
- "package": "himalaya",
91513
- "type": "Stepper",
92862
+ "type": "Text",
91514
92863
  "props": {
91515
- "value": 1,
91516
- "min": 1,
91517
- "max": 99,
91518
- "onChange": {
91519
- "actionId": "tier5.himiStoreProduct.setQuantity"
91520
- }
92864
+ "text": "$service:himiStoreProduct.shippingInfoBody",
92865
+ "style": "body",
92866
+ "color": "textSecondary"
91521
92867
  }
91522
92868
  },
91523
92869
  "modifiers": {
91524
- "accessibilityLabel": "Quantity"
92870
+ "padding": {
92871
+ "bottom": 18
92872
+ },
92873
+ "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
92874
+ }
92875
+ },
92876
+ {
92877
+ "id": "",
92878
+ "body": {
92879
+ "package": "himalaya",
92880
+ "type": "Divider",
92881
+ "props": {}
91525
92882
  }
91526
92883
  }
91527
92884
  ]
@@ -91532,107 +92889,34 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91532
92889
  }
91533
92890
  },
91534
92891
  "modifiers": {
91535
- "background": {
91536
- "token": "surfaceElevated"
91537
- },
91538
- "border": {
91539
- "width": 1,
91540
- "color": {
91541
- "token": "border"
91542
- }
91543
- },
91544
- "cornerRadius": 8,
91545
92892
  "padding": {
91546
- "leading": 14,
91547
- "trailing": 14,
91548
- "top": 14,
91549
- "bottom": 14
91550
- }
91551
- }
91552
- },
91553
- {
91554
- "id": "himi_product.save",
91555
- "body": {
91556
- "package": "himalaya",
91557
- "type": "Button",
91558
- "props": {
91559
- "title": "$service:himiStoreProduct.saveLabel",
91560
- "style": "secondary",
91561
- "fullWidth": true,
91562
- "leadingIcon": "bookmark",
91563
- "action": {
91564
- "actionId": "tier5.himiStoreProduct.toggleSave"
91565
- }
91566
- }
91567
- }
91568
- },
91569
- {
91570
- "id": "himi_product.save_hint",
91571
- "body": {
91572
- "package": "himalaya",
91573
- "type": "Text",
91574
- "props": {
91575
- "text": "$service:himiStoreProduct.saveHint",
91576
- "style": "footnote",
91577
- "collapseWhenEmpty": true
91578
- }
91579
- }
91580
- },
91581
- {
91582
- "id": "himi_product.saved_list",
91583
- "body": {
91584
- "package": "himalaya",
91585
- "type": "Button",
91586
- "props": {
91587
- "title": "View saved products",
91588
- "style": "secondary",
91589
- "fullWidth": true,
91590
- "action": {
91591
- "actionId": "himi.open",
91592
- "params": {
91593
- "screenId": "himi_saved_products"
91594
- }
91595
- }
91596
- }
91597
- }
91598
- },
91599
- {
91600
- "id": "himi_product.share",
91601
- "body": {
91602
- "package": "himalaya",
91603
- "type": "Button",
91604
- "props": {
91605
- "title": "Share",
91606
- "style": "secondary",
91607
- "fullWidth": true,
91608
- "leadingIcon": "share",
91609
- "action": {
91610
- "actionId": "tier5.himiStoreProduct.share"
91611
- }
91612
- }
91613
- }
91614
- },
91615
- {
91616
- "id": "",
91617
- "body": {
91618
- "package": "himalaya",
91619
- "type": "Text",
91620
- "props": {
91621
- "text": "$service:himiStoreProduct.cartHint",
91622
- "style": "footnote",
91623
- "color": "textSecondary",
91624
- "collapseWhenEmpty": true
92893
+ "leading": 16,
92894
+ "trailing": 16,
92895
+ "top": 4,
92896
+ "bottom": 8
91625
92897
  }
91626
- },
91627
- "modifiers": {
91628
- "hiddenPath": "$service:himiStoreProduct.added"
91629
92898
  }
91630
92899
  }
91631
92900
  ]
91632
92901
  }
91633
92902
  },
91634
92903
  "modifiers": {
91635
- "hiddenPath": "$service:himiStoreProduct.isLoading"
92904
+ "hiddenPath": "$service:himiStoreProduct.hideProduct"
92905
+ }
92906
+ },
92907
+ {
92908
+ "id": "himi_product.share_hint",
92909
+ "body": {
92910
+ "package": "himalaya",
92911
+ "type": "Snackbar",
92912
+ "props": {
92913
+ "message": "Sharing is not available on this device.",
92914
+ "severity": "warning",
92915
+ "durationMs": 3000
92916
+ }
92917
+ },
92918
+ "modifiers": {
92919
+ "hiddenPath": "$service:himiStoreProduct.noShareHint"
91636
92920
  }
91637
92921
  },
91638
92922
  {
@@ -91705,6 +92989,255 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91705
92989
  },
91706
92990
  "hiddenPath": "$service:himiStoreProduct.noEmpty"
91707
92991
  }
92992
+ },
92993
+ {
92994
+ "id": "himi_product.added_sheet",
92995
+ "body": {
92996
+ "package": "himalaya",
92997
+ "type": "BottomSheet",
92998
+ "props": {
92999
+ "presentedPath": "$service:himiStoreProduct.addedSheetPresented",
93000
+ "placement": "inline",
93001
+ "modal": false,
93002
+ "autoDismissMs": 4000,
93003
+ "detents": [
93004
+ 0.5,
93005
+ 0.9
93006
+ ],
93007
+ "label": "Item added to cart",
93008
+ "onDismiss": {
93009
+ "actionId": "tier5.himiStoreProduct.closeAddedSheet"
93010
+ },
93011
+ "content": {
93012
+ "id": "",
93013
+ "body": {
93014
+ "package": "himalaya",
93015
+ "type": "VStack",
93016
+ "props": {
93017
+ "spacing": 16,
93018
+ "children": [
93019
+ {
93020
+ "id": "",
93021
+ "body": {
93022
+ "package": "himalaya",
93023
+ "type": "HStack",
93024
+ "props": {
93025
+ "spacing": 12,
93026
+ "children": [
93027
+ {
93028
+ "id": "himi_product.added_sheet_title",
93029
+ "body": {
93030
+ "package": "himalaya",
93031
+ "type": "Text",
93032
+ "props": {
93033
+ "text": "Item added to cart",
93034
+ "style": "title3"
93035
+ }
93036
+ }
93037
+ },
93038
+ {
93039
+ "id": "",
93040
+ "body": {
93041
+ "package": "himalaya",
93042
+ "type": "Spacer",
93043
+ "props": {}
93044
+ }
93045
+ },
93046
+ {
93047
+ "id": "himi_product.added_sheet_close",
93048
+ "body": {
93049
+ "package": "himalaya",
93050
+ "type": "Button",
93051
+ "props": {
93052
+ "title": "Close confirmation",
93053
+ "action": {
93054
+ "actionId": "tier5.himiStoreProduct.closeAddedSheet"
93055
+ },
93056
+ "style": "tertiary",
93057
+ "iconOnly": true,
93058
+ "leadingIcon": "close",
93059
+ "cornerRadius": 22,
93060
+ "minHeight": 44
93061
+ }
93062
+ },
93063
+ "modifiers": {
93064
+ "width": 44,
93065
+ "height": 44,
93066
+ "accessibilityLabel": "Close confirmation",
93067
+ "accessibilityRole": "button"
93068
+ }
93069
+ }
93070
+ ]
93071
+ }
93072
+ },
93073
+ "modifiers": {
93074
+ "background": {
93075
+ "token": "surfaceSecondary"
93076
+ },
93077
+ "padding": {
93078
+ "leading": 16,
93079
+ "trailing": 16,
93080
+ "top": 12,
93081
+ "bottom": 12
93082
+ }
93083
+ }
93084
+ },
93085
+ {
93086
+ "id": "",
93087
+ "body": {
93088
+ "package": "himalaya",
93089
+ "type": "HStack",
93090
+ "props": {
93091
+ "spacing": 12,
93092
+ "children": [
93093
+ {
93094
+ "id": "",
93095
+ "body": {
93096
+ "package": "himalaya",
93097
+ "type": "Image",
93098
+ "props": {
93099
+ "url": "$service:himiStoreProduct.image",
93100
+ "width": 88,
93101
+ "height": 112,
93102
+ "contentMode": "fill",
93103
+ "shape": "rect",
93104
+ "contentDescription": "$service:himiStoreProduct.name"
93105
+ }
93106
+ }
93107
+ },
93108
+ {
93109
+ "id": "",
93110
+ "body": {
93111
+ "package": "himalaya",
93112
+ "type": "VStack",
93113
+ "props": {
93114
+ "spacing": 6,
93115
+ "alignment": "leading",
93116
+ "children": [
93117
+ {
93118
+ "id": "",
93119
+ "body": {
93120
+ "package": "himalaya",
93121
+ "type": "Text",
93122
+ "props": {
93123
+ "text": "$service:himiStoreProduct.name",
93124
+ "style": "bodyEmphasis",
93125
+ "maxLines": 2
93126
+ }
93127
+ }
93128
+ },
93129
+ {
93130
+ "id": "",
93131
+ "body": {
93132
+ "package": "himalaya",
93133
+ "type": "Text",
93134
+ "props": {
93135
+ "text": "$service:himiStoreProduct.price",
93136
+ "style": "body"
93137
+ }
93138
+ }
93139
+ },
93140
+ {
93141
+ "id": "",
93142
+ "body": {
93143
+ "package": "himalaya",
93144
+ "type": "Text",
93145
+ "props": {
93146
+ "text": "$service:himiStoreProduct.optionsSummary",
93147
+ "style": "footnote",
93148
+ "color": "textSecondary",
93149
+ "collapseWhenEmpty": true
93150
+ }
93151
+ }
93152
+ },
93153
+ {
93154
+ "id": "",
93155
+ "body": {
93156
+ "package": "himalaya",
93157
+ "type": "Text",
93158
+ "props": {
93159
+ "text": "$service:himiStoreProduct.quantityLabel",
93160
+ "style": "footnote",
93161
+ "color": "textSecondary"
93162
+ }
93163
+ },
93164
+ "modifiers": {
93165
+ "hiddenPath": "$service:himiStoreProduct.quantityIsOne"
93166
+ }
93167
+ }
93168
+ ]
93169
+ }
93170
+ }
93171
+ }
93172
+ ]
93173
+ }
93174
+ }
93175
+ },
93176
+ {
93177
+ "id": "",
93178
+ "body": {
93179
+ "package": "himalaya",
93180
+ "type": "HStack",
93181
+ "props": {
93182
+ "spacing": 10,
93183
+ "children": [
93184
+ {
93185
+ "id": "himi_product.view_cart",
93186
+ "body": {
93187
+ "package": "himalaya",
93188
+ "type": "Button",
93189
+ "props": {
93190
+ "title": "View cart",
93191
+ "style": "secondary",
93192
+ "fullWidth": true,
93193
+ "action": {
93194
+ "actionId": "himi.open",
93195
+ "params": {
93196
+ "screenId": "himi_cart"
93197
+ }
93198
+ }
93199
+ }
93200
+ }
93201
+ },
93202
+ {
93203
+ "id": "himi_product.checkout",
93204
+ "body": {
93205
+ "package": "himalaya",
93206
+ "type": "Button",
93207
+ "props": {
93208
+ "title": "Checkout",
93209
+ "style": "primary",
93210
+ "fullWidth": true,
93211
+ "action": {
93212
+ "actionId": "himi.open",
93213
+ "params": {
93214
+ "screenId": "himi_cart"
93215
+ }
93216
+ }
93217
+ }
93218
+ }
93219
+ }
93220
+ ]
93221
+ }
93222
+ }
93223
+ }
93224
+ ]
93225
+ }
93226
+ },
93227
+ "modifiers": {
93228
+ "padding": {
93229
+ "leading": 16,
93230
+ "trailing": 16,
93231
+ "top": 16,
93232
+ "bottom": 24
93233
+ },
93234
+ "background": {
93235
+ "token": "surfacePrimary"
93236
+ }
93237
+ }
93238
+ }
93239
+ }
93240
+ }
91708
93241
  }
91709
93242
  ]
91710
93243
  }
@@ -91714,9 +93247,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91714
93247
  "token": "surfacePrimary"
91715
93248
  },
91716
93249
  "padding": {
91717
- "leading": 16,
91718
- "trailing": 16,
91719
- "top": 18,
93250
+ "top": 0,
91720
93251
  "bottom": 24
91721
93252
  },
91722
93253
  "onAppear": {
@@ -91743,7 +93274,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91743
93274
  "id": "__HIMI_ID__"
91744
93275
  },
91745
93276
  "stickyFooter": {
91746
- "id": "",
93277
+ "id": "himi_product.stickyFooter",
91747
93278
  "body": {
91748
93279
  "package": "himalaya",
91749
93280
  "type": "VStack",
@@ -91751,183 +93282,200 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91751
93282
  "spacing": 8,
91752
93283
  "children": [
91753
93284
  {
91754
- "id": "himi_product.add_to_cart",
91755
- "body": {
91756
- "package": "himalaya",
91757
- "type": "Button",
91758
- "props": {
91759
- "title": "Add to cart",
91760
- "style": "primary",
91761
- "fullWidth": true,
91762
- "action": {
91763
- "actionId": "tier5.himiStoreProduct.addToCart"
91764
- },
91765
- "disabledPath": "$service:himiStoreProduct.optionsIncomplete"
91766
- }
91767
- },
91768
- "modifiers": {
91769
- "cornerRadius": 8,
91770
- "pressFeedback": "scale",
91771
- "haptic": "medium",
91772
- "hiddenPath": "$service:himiStoreProduct.cartHidden"
91773
- }
91774
- },
91775
- {
91776
- "id": "himi_product.buy",
93285
+ "id": "himi_product.save_hint",
91777
93286
  "body": {
91778
93287
  "package": "himalaya",
91779
- "type": "Button",
93288
+ "type": "Banner",
91780
93289
  "props": {
91781
- "title": "$service:himiStoreProduct.buyLabel",
91782
- "style": "primary",
91783
- "fullWidth": true,
91784
- "disabledPath": "$service:himiStoreProduct.buyDisabled",
91785
- "action": {
91786
- "actionId": "tier5.himiStoreProduct.buy"
91787
- }
93290
+ "title": "$service:himiStoreProduct.saveHint",
93291
+ "severity": "warning"
91788
93292
  }
91789
93293
  },
91790
93294
  "modifiers": {
91791
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
93295
+ "hiddenPath": "$service:himiStoreProduct.noSaveHint"
91792
93296
  }
91793
93297
  },
91794
93298
  {
91795
- "id": "himi_product.buy_note",
93299
+ "id": "himi_product.cart_hint",
91796
93300
  "body": {
91797
93301
  "package": "himalaya",
91798
- "type": "Text",
93302
+ "type": "Banner",
91799
93303
  "props": {
91800
- "text": "$service:himiStoreProduct.buyNote",
91801
- "style": "footnote",
91802
- "color": "textSecondary",
91803
- "collapseWhenEmpty": true
93304
+ "title": "$service:himiStoreProduct.cartHint",
93305
+ "severity": "warning"
91804
93306
  }
91805
93307
  },
91806
93308
  "modifiers": {
91807
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
91808
- }
91809
- },
91810
- {
91811
- "id": "himi_product.purchased",
91812
- "body": {
91813
- "package": "himalaya",
91814
- "type": "Text",
91815
- "props": {
91816
- "text": "$service:himiStoreProduct.purchasedNote",
91817
- "style": "footnote",
91818
- "collapseWhenEmpty": true
91819
- }
93309
+ "hiddenPath": "$service:himiStoreProduct.noCartHint"
91820
93310
  }
91821
93311
  },
91822
93312
  {
91823
- "id": "himi_product.adding",
93313
+ "id": "",
91824
93314
  "body": {
91825
93315
  "package": "himalaya",
91826
- "type": "HStack",
91827
- "props": {
91828
- "spacing": 8,
91829
- "children": [
91830
- {
91831
- "id": "",
91832
- "body": {
91833
- "package": "himalaya",
91834
- "type": "ActivityIndicator",
91835
- "props": {
91836
- "indeterminate": true,
91837
- "size": 16
91838
- }
91839
- }
91840
- },
91841
- {
91842
- "id": "",
91843
- "body": {
91844
- "package": "himalaya",
91845
- "type": "Text",
91846
- "props": {
91847
- "text": "Adding to cart…",
91848
- "style": "footnote",
91849
- "color": "textSecondary"
91850
- }
91851
- }
91852
- }
91853
- ]
91854
- }
91855
- },
91856
- "modifiers": {
91857
- "hiddenPath": "$service:himiStoreProduct.notAdding"
93316
+ "type": "Divider",
93317
+ "props": {}
91858
93318
  }
91859
93319
  },
91860
93320
  {
91861
- "id": "himi_product.added_confirmation",
93321
+ "id": "",
91862
93322
  "body": {
91863
93323
  "package": "himalaya",
91864
93324
  "type": "HStack",
91865
93325
  "props": {
91866
- "spacing": 10,
93326
+ "spacing": 12,
91867
93327
  "children": [
91868
93328
  {
91869
- "id": "",
93329
+ "id": "himi_product.save",
91870
93330
  "body": {
91871
93331
  "package": "himalaya",
91872
- "type": "Icon",
93332
+ "type": "ZStack",
91873
93333
  "props": {
91874
- "name": "check",
91875
- "size": 18,
91876
- "tint": "success"
93334
+ "alignment": "center",
93335
+ "children": [
93336
+ {
93337
+ "id": "",
93338
+ "body": {
93339
+ "package": "himalaya",
93340
+ "type": "Icon",
93341
+ "props": {
93342
+ "name": "$service:himiStoreProduct.saveIcon",
93343
+ "size": 22,
93344
+ "tint": "textPrimary"
93345
+ }
93346
+ },
93347
+ "modifiers": {
93348
+ "accessibilityRole": "decorative"
93349
+ }
93350
+ }
93351
+ ]
91877
93352
  }
91878
93353
  },
91879
93354
  "modifiers": {
91880
- "accessibilityRole": "decorative"
93355
+ "width": 48,
93356
+ "height": 48,
93357
+ "cornerRadius": 24,
93358
+ "border": {
93359
+ "width": 1,
93360
+ "color": {
93361
+ "token": "border"
93362
+ }
93363
+ },
93364
+ "onTap": {
93365
+ "actionId": "tier5.himiStoreProduct.toggleSave"
93366
+ },
93367
+ "accessibilityRole": "button",
93368
+ "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
93369
+ "haptic": "light"
91881
93370
  }
91882
93371
  },
91883
93372
  {
91884
- "id": "",
93373
+ "id": "himi_product.add_to_cart",
91885
93374
  "body": {
91886
93375
  "package": "himalaya",
91887
- "type": "Text",
93376
+ "type": "Button",
91888
93377
  "props": {
91889
- "text": "$service:himiStoreProduct.cartHint",
91890
- "style": "footnote",
91891
- "collapseWhenEmpty": true
93378
+ "title": "Add to cart",
93379
+ "style": "primary",
93380
+ "fullWidth": true,
93381
+ "action": {
93382
+ "actionId": "tier5.himiStoreProduct.addToCart"
93383
+ },
93384
+ "disabledPath": "$service:himiStoreProduct.addDisabled"
91892
93385
  }
91893
93386
  },
91894
93387
  "modifiers": {
93388
+ "cornerRadius": 8,
93389
+ "pressFeedback": "scale",
93390
+ "haptic": "medium",
93391
+ "height": 48,
93392
+ "hiddenPath": "$service:himiStoreProduct.cartHidden",
91895
93393
  "weight": 1
91896
93394
  }
91897
93395
  },
91898
93396
  {
91899
- "id": "himi_product.view_cart",
93397
+ "id": "himi_product.adding",
91900
93398
  "body": {
91901
93399
  "package": "himalaya",
91902
- "type": "Button",
93400
+ "type": "ZStack",
91903
93401
  "props": {
91904
- "title": "View cart",
91905
- "style": "tertiary",
91906
- "action": {
91907
- "actionId": "himi.open",
91908
- "params": {
91909
- "screenId": "himi_cart"
93402
+ "alignment": "center",
93403
+ "children": [
93404
+ {
93405
+ "id": "",
93406
+ "body": {
93407
+ "package": "himalaya",
93408
+ "type": "ActivityIndicator",
93409
+ "props": {
93410
+ "indeterminate": true,
93411
+ "size": 18,
93412
+ "tint": "textOnAccent"
93413
+ }
93414
+ }
91910
93415
  }
91911
- }
93416
+ ]
91912
93417
  }
93418
+ },
93419
+ "modifiers": {
93420
+ "weight": 1,
93421
+ "height": 48,
93422
+ "background": {
93423
+ "token": "accentPrimary"
93424
+ },
93425
+ "cornerRadius": 8,
93426
+ "accessibilityLabel": "Adding to cart…",
93427
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
91913
93428
  }
91914
93429
  }
91915
93430
  ]
91916
93431
  }
93432
+ }
93433
+ },
93434
+ {
93435
+ "id": "himi_product.buy",
93436
+ "body": {
93437
+ "package": "himalaya",
93438
+ "type": "Button",
93439
+ "props": {
93440
+ "title": "$service:himiStoreProduct.buyLabel",
93441
+ "style": "primary",
93442
+ "fullWidth": true,
93443
+ "disabledPath": "$service:himiStoreProduct.buyDisabled",
93444
+ "action": {
93445
+ "actionId": "tier5.himiStoreProduct.buy"
93446
+ }
93447
+ }
91917
93448
  },
91918
93449
  "modifiers": {
91919
- "background": {
91920
- "token": "surfaceSecondary"
91921
- },
91922
- "cornerRadius": 8,
91923
- "padding": {
91924
- "leading": 12,
91925
- "trailing": 8,
91926
- "top": 6,
91927
- "bottom": 6
91928
- },
91929
- "fillMaxWidth": true,
91930
- "hiddenPath": "$service:himiStoreProduct.notAdded"
93450
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
93451
+ }
93452
+ },
93453
+ {
93454
+ "id": "himi_product.buy_note",
93455
+ "body": {
93456
+ "package": "himalaya",
93457
+ "type": "Text",
93458
+ "props": {
93459
+ "text": "$service:himiStoreProduct.buyNote",
93460
+ "style": "footnote",
93461
+ "color": "textSecondary",
93462
+ "collapseWhenEmpty": true
93463
+ }
93464
+ },
93465
+ "modifiers": {
93466
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
93467
+ }
93468
+ },
93469
+ {
93470
+ "id": "himi_product.purchased",
93471
+ "body": {
93472
+ "package": "himalaya",
93473
+ "type": "Text",
93474
+ "props": {
93475
+ "text": "$service:himiStoreProduct.purchasedNote",
93476
+ "style": "footnote",
93477
+ "collapseWhenEmpty": true
93478
+ }
91931
93479
  }
91932
93480
  }
91933
93481
  ]
@@ -91943,11 +93491,19 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
91943
93491
  "top": 8,
91944
93492
  "bottom": 8
91945
93493
  },
91946
- "hiddenPath": "$service:himiStoreProduct.isLoading"
93494
+ "hiddenPath": "$service:himiStoreProduct.hideBar"
91947
93495
  }
91948
93496
  },
91949
93497
  "topBar": {
91950
93498
  "actions": [
93499
+ {
93500
+ "id": "share",
93501
+ "icon": "share",
93502
+ "accessibilityLabel": "Share",
93503
+ "onTap": {
93504
+ "actionId": "tier5.himiStoreProduct.share"
93505
+ }
93506
+ },
91951
93507
  {
91952
93508
  "id": "cart",
91953
93509
  "icon": "cart",