@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
@@ -257,7 +257,7 @@ const SCREENS = runtimeSetting({
257
257
  "package": "himalaya",
258
258
  "type": "Text",
259
259
  "props": {
260
- "text": "Products you saved",
260
+ "text": "Wishlist",
261
261
  "style": "bodyEmphasis"
262
262
  }
263
263
  }
@@ -6964,9 +6964,9 @@ const SCREENS = runtimeSetting({
6964
6964
  "package": "himalaya",
6965
6965
  "type": "Button",
6966
6966
  "props": {
6967
- "title": "Saved products",
6967
+ "title": "Wishlist",
6968
6968
  "style": "plain",
6969
- "leadingIcon": "bookmark",
6969
+ "leadingIcon": "heart",
6970
6970
  "fullWidth": false,
6971
6971
  "action": {
6972
6972
  "actionId": "himi.open",
@@ -9517,54 +9517,213 @@ const SCREENS = runtimeSetting({
9517
9517
  "package": "himalaya",
9518
9518
  "type": "Text",
9519
9519
  "props": {
9520
- "text": "Saved products",
9520
+ "text": "Wishlist",
9521
9521
  "style": "title1"
9522
9522
  }
9523
9523
  }
9524
9524
  },
9525
- {
9526
- "id": "",
9527
- "body": {
9528
- "package": "himalaya",
9529
- "type": "Text",
9530
- "props": {
9531
- "text": "Saved on this device. Open a product for its latest price and availability.",
9532
- "style": "footnote",
9533
- "color": "textSecondary"
9534
- }
9535
- }
9536
- },
9537
9525
  {
9538
9526
  "id": "himi_saved_products.skeleton",
9539
9527
  "body": {
9540
9528
  "package": "himalaya",
9541
- "type": "Skeleton",
9529
+ "type": "Grid",
9542
9530
  "props": {
9543
- "height": 168,
9544
- "cornerRadius": 8
9531
+ "columns": 2,
9532
+ "spacing": 14,
9533
+ "items": [
9534
+ {
9535
+ "id": "",
9536
+ "body": {
9537
+ "package": "himalaya",
9538
+ "type": "VStack",
9539
+ "props": {
9540
+ "spacing": 8,
9541
+ "children": [
9542
+ {
9543
+ "id": "himi_saved_products.skeleton_image",
9544
+ "body": {
9545
+ "package": "himalaya",
9546
+ "type": "Skeleton",
9547
+ "props": {
9548
+ "height": 168,
9549
+ "cornerRadius": 8
9550
+ }
9551
+ },
9552
+ "modifiers": {
9553
+ "height": 168,
9554
+ "background": {
9555
+ "token": "surfaceSecondary"
9556
+ },
9557
+ "cornerRadius": 8,
9558
+ "accessibilityRole": "decorative"
9559
+ }
9560
+ },
9561
+ {
9562
+ "id": "himi_saved_products.skeleton_name",
9563
+ "body": {
9564
+ "package": "himalaya",
9565
+ "type": "Skeleton",
9566
+ "props": {
9567
+ "height": 14,
9568
+ "cornerRadius": 8
9569
+ }
9570
+ },
9571
+ "modifiers": {
9572
+ "height": 14,
9573
+ "background": {
9574
+ "token": "surfaceSecondary"
9575
+ },
9576
+ "cornerRadius": 8,
9577
+ "accessibilityRole": "decorative"
9578
+ }
9579
+ },
9580
+ {
9581
+ "id": "himi_saved_products.skeleton_price",
9582
+ "body": {
9583
+ "package": "himalaya",
9584
+ "type": "Skeleton",
9585
+ "props": {
9586
+ "height": 12,
9587
+ "cornerRadius": 8
9588
+ }
9589
+ },
9590
+ "modifiers": {
9591
+ "height": 12,
9592
+ "background": {
9593
+ "token": "surfaceSecondary"
9594
+ },
9595
+ "cornerRadius": 8,
9596
+ "accessibilityRole": "decorative"
9597
+ }
9598
+ }
9599
+ ]
9600
+ }
9601
+ },
9602
+ "modifiers": {
9603
+ "background": {
9604
+ "token": "surfaceSecondary"
9605
+ },
9606
+ "border": {
9607
+ "width": 1,
9608
+ "color": {
9609
+ "token": "border"
9610
+ }
9611
+ },
9612
+ "cornerRadius": 4,
9613
+ "padding": {
9614
+ "leading": 8,
9615
+ "trailing": 8,
9616
+ "top": 8,
9617
+ "bottom": 8
9618
+ }
9619
+ }
9620
+ },
9621
+ {
9622
+ "id": "",
9623
+ "body": {
9624
+ "package": "himalaya",
9625
+ "type": "VStack",
9626
+ "props": {
9627
+ "spacing": 8,
9628
+ "children": [
9629
+ {
9630
+ "id": "himi_saved_products.skeleton_image",
9631
+ "body": {
9632
+ "package": "himalaya",
9633
+ "type": "Skeleton",
9634
+ "props": {
9635
+ "height": 168,
9636
+ "cornerRadius": 8
9637
+ }
9638
+ },
9639
+ "modifiers": {
9640
+ "height": 168,
9641
+ "background": {
9642
+ "token": "surfaceSecondary"
9643
+ },
9644
+ "cornerRadius": 8,
9645
+ "accessibilityRole": "decorative"
9646
+ }
9647
+ },
9648
+ {
9649
+ "id": "himi_saved_products.skeleton_name",
9650
+ "body": {
9651
+ "package": "himalaya",
9652
+ "type": "Skeleton",
9653
+ "props": {
9654
+ "height": 14,
9655
+ "cornerRadius": 8
9656
+ }
9657
+ },
9658
+ "modifiers": {
9659
+ "height": 14,
9660
+ "background": {
9661
+ "token": "surfaceSecondary"
9662
+ },
9663
+ "cornerRadius": 8,
9664
+ "accessibilityRole": "decorative"
9665
+ }
9666
+ },
9667
+ {
9668
+ "id": "himi_saved_products.skeleton_price",
9669
+ "body": {
9670
+ "package": "himalaya",
9671
+ "type": "Skeleton",
9672
+ "props": {
9673
+ "height": 12,
9674
+ "cornerRadius": 8
9675
+ }
9676
+ },
9677
+ "modifiers": {
9678
+ "height": 12,
9679
+ "background": {
9680
+ "token": "surfaceSecondary"
9681
+ },
9682
+ "cornerRadius": 8,
9683
+ "accessibilityRole": "decorative"
9684
+ }
9685
+ }
9686
+ ]
9687
+ }
9688
+ },
9689
+ "modifiers": {
9690
+ "background": {
9691
+ "token": "surfaceSecondary"
9692
+ },
9693
+ "border": {
9694
+ "width": 1,
9695
+ "color": {
9696
+ "token": "border"
9697
+ }
9698
+ },
9699
+ "cornerRadius": 4,
9700
+ "padding": {
9701
+ "leading": 8,
9702
+ "trailing": 8,
9703
+ "top": 8,
9704
+ "bottom": 8
9705
+ }
9706
+ }
9707
+ }
9708
+ ]
9545
9709
  }
9546
9710
  },
9547
9711
  "modifiers": {
9548
- "height": 168,
9549
- "background": {
9550
- "token": "surfaceSecondary"
9551
- },
9552
- "cornerRadius": 8,
9553
- "accessibilityRole": "decorative",
9554
9712
  "hiddenPath": "$service:himiStoreSaved.notLoading"
9555
9713
  }
9556
9714
  },
9557
9715
  {
9558
- "id": "",
9716
+ "id": "himi_saved_products.error",
9559
9717
  "body": {
9560
9718
  "package": "himalaya",
9561
- "type": "Text",
9719
+ "type": "Banner",
9562
9720
  "props": {
9563
- "text": "$service:himiStoreSaved.error",
9564
- "style": "footnote",
9565
- "color": "danger",
9566
- "collapseWhenEmpty": true
9721
+ "title": "$service:himiStoreSaved.error",
9722
+ "severity": "danger"
9567
9723
  }
9724
+ },
9725
+ "modifiers": {
9726
+ "hiddenPath": "$service:himiStoreSaved.notErrored"
9568
9727
  }
9569
9728
  },
9570
9729
  {
@@ -9671,164 +9830,428 @@ const SCREENS = runtimeSetting({
9671
9830
  "id": "himi_saved_products.list",
9672
9831
  "body": {
9673
9832
  "package": "himalaya",
9674
- "type": "LazyList",
9833
+ "type": "Grid",
9675
9834
  "props": {
9676
- "spacing": 16,
9835
+ "columns": 2,
9836
+ "columnsMedium": 3,
9837
+ "columnsExpanded": 4,
9838
+ "spacing": 14,
9677
9839
  "itemsPath": "$service:himiStoreSaved.rows",
9678
9840
  "items": [
9679
9841
  {
9680
- "id": "",
9842
+ "id": "himi_saved_products.row",
9681
9843
  "body": {
9682
9844
  "package": "himalaya",
9683
9845
  "type": "VStack",
9684
9846
  "props": {
9685
9847
  "spacing": 8,
9848
+ "alignment": "leading",
9686
9849
  "children": [
9687
9850
  {
9688
- "id": "himi_saved_products.row",
9851
+ "id": "",
9689
9852
  "body": {
9690
9853
  "package": "himalaya",
9691
- "type": "VStack",
9854
+ "type": "Image",
9692
9855
  "props": {
9693
- "spacing": 9,
9694
- "alignment": "leading",
9856
+ "url": "$item.image",
9857
+ "fillWidth": true,
9858
+ "aspectRatio": 0.75,
9859
+ "contentMode": "fill",
9860
+ "shape": "rect",
9861
+ "contentDescription": "$item.name"
9862
+ }
9863
+ },
9864
+ "modifiers": {
9865
+ "fillMaxWidth": true,
9866
+ "aspectRatio": 0.75,
9867
+ "onTap": {
9868
+ "actionId": "himi.open",
9869
+ "params": {
9870
+ "screenId": "himi_product",
9871
+ "id": "$item.id"
9872
+ }
9873
+ },
9874
+ "pressFeedback": "highlight",
9875
+ "haptic": "light",
9876
+ "hiddenPath": "$item.noImage"
9877
+ }
9878
+ },
9879
+ {
9880
+ "id": "",
9881
+ "body": {
9882
+ "package": "himalaya",
9883
+ "type": "ZStack",
9884
+ "props": {
9885
+ "alignment": "center",
9695
9886
  "children": [
9696
9887
  {
9697
9888
  "id": "",
9698
9889
  "body": {
9699
9890
  "package": "himalaya",
9700
- "type": "Image",
9891
+ "type": "Icon",
9701
9892
  "props": {
9702
- "url": "$item.image",
9703
- "fillWidth": true,
9704
- "height": 168,
9705
- "contentMode": "fill",
9706
- "contentDescription": "$item.name"
9893
+ "name": "photo",
9894
+ "size": 24,
9895
+ "tint": "textSecondary"
9707
9896
  }
9708
9897
  },
9709
9898
  "modifiers": {
9710
- "cornerRadius": 8,
9711
- "fillMaxWidth": true,
9712
- "hiddenPath": "$item.noImage"
9899
+ "accessibilityRole": "decorative"
9713
9900
  }
9714
- },
9901
+ }
9902
+ ]
9903
+ }
9904
+ },
9905
+ "modifiers": {
9906
+ "fillMaxWidth": true,
9907
+ "aspectRatio": 0.75,
9908
+ "background": {
9909
+ "token": "surfaceTertiary"
9910
+ },
9911
+ "onTap": {
9912
+ "actionId": "himi.open",
9913
+ "params": {
9914
+ "screenId": "himi_product",
9915
+ "id": "$item.id"
9916
+ }
9917
+ },
9918
+ "accessibilityLabel": "$item.name",
9919
+ "hiddenPath": "$item.hasImage"
9920
+ }
9921
+ },
9922
+ {
9923
+ "id": "himi_saved_products.tags",
9924
+ "body": {
9925
+ "package": "himalaya",
9926
+ "type": "HStack",
9927
+ "props": {
9928
+ "spacing": 8,
9929
+ "children": [
9715
9930
  {
9716
- "id": "himi_saved_products.row.monogram",
9931
+ "id": "",
9717
9932
  "body": {
9718
9933
  "package": "himalaya",
9719
- "type": "ZStack",
9934
+ "type": "Text",
9720
9935
  "props": {
9721
- "alignment": "center",
9722
- "children": [
9723
- {
9724
- "id": "",
9725
- "body": {
9726
- "package": "himalaya",
9727
- "type": "Text",
9728
- "props": {
9729
- "text": "$item.initial",
9730
- "style": "display",
9731
- "color": "textOnAccent",
9732
- "maxLines": 1
9733
- }
9734
- }
9735
- }
9736
- ]
9936
+ "text": "On sale",
9937
+ "style": "caption",
9938
+ "color": "textPrimary"
9737
9939
  }
9738
9940
  },
9739
9941
  "modifiers": {
9740
- "fillMaxWidth": true,
9741
- "height": 168,
9742
9942
  "background": {
9743
- "token": "accentPrimary"
9943
+ "token": "surfaceTertiary"
9744
9944
  },
9745
- "cornerRadius": 8,
9746
- "hiddenPath": "$item.hasImage"
9945
+ "padding": {
9946
+ "leading": 8,
9947
+ "trailing": 8,
9948
+ "top": 4,
9949
+ "bottom": 4
9950
+ },
9951
+ "hiddenPath": "$item.notOnSale"
9747
9952
  }
9748
9953
  },
9749
9954
  {
9750
- "id": "",
9955
+ "id": "himi_saved_products.swatches",
9751
9956
  "body": {
9752
9957
  "package": "himalaya",
9753
- "type": "Text",
9958
+ "type": "HStack",
9754
9959
  "props": {
9755
- "text": "$item.name",
9756
- "style": "bodyEmphasis",
9757
- "maxLines": 2
9960
+ "spacing": 5,
9961
+ "children": [
9962
+ {
9963
+ "id": "himi_saved_products.swatch_1",
9964
+ "body": {
9965
+ "package": "himalaya",
9966
+ "type": "Text",
9967
+ "props": {
9968
+ "text": "",
9969
+ "style": "caption"
9970
+ }
9971
+ },
9972
+ "modifiers": {
9973
+ "width": 10,
9974
+ "height": 10,
9975
+ "cornerRadius": 5,
9976
+ "backgroundColorPath": "$item.swatch1",
9977
+ "border": {
9978
+ "width": 1,
9979
+ "color": {
9980
+ "token": "border"
9981
+ }
9982
+ },
9983
+ "accessibilityHidden": true,
9984
+ "hiddenPath": "$item.noSwatch1"
9985
+ }
9986
+ },
9987
+ {
9988
+ "id": "himi_saved_products.swatch_2",
9989
+ "body": {
9990
+ "package": "himalaya",
9991
+ "type": "Text",
9992
+ "props": {
9993
+ "text": "",
9994
+ "style": "caption"
9995
+ }
9996
+ },
9997
+ "modifiers": {
9998
+ "width": 10,
9999
+ "height": 10,
10000
+ "cornerRadius": 5,
10001
+ "backgroundColorPath": "$item.swatch2",
10002
+ "border": {
10003
+ "width": 1,
10004
+ "color": {
10005
+ "token": "border"
10006
+ }
10007
+ },
10008
+ "accessibilityHidden": true,
10009
+ "hiddenPath": "$item.noSwatch2"
10010
+ }
10011
+ },
10012
+ {
10013
+ "id": "himi_saved_products.swatch_3",
10014
+ "body": {
10015
+ "package": "himalaya",
10016
+ "type": "Text",
10017
+ "props": {
10018
+ "text": "",
10019
+ "style": "caption"
10020
+ }
10021
+ },
10022
+ "modifiers": {
10023
+ "width": 10,
10024
+ "height": 10,
10025
+ "cornerRadius": 5,
10026
+ "backgroundColorPath": "$item.swatch3",
10027
+ "border": {
10028
+ "width": 1,
10029
+ "color": {
10030
+ "token": "border"
10031
+ }
10032
+ },
10033
+ "accessibilityHidden": true,
10034
+ "hiddenPath": "$item.noSwatch3"
10035
+ }
10036
+ },
10037
+ {
10038
+ "id": "himi_saved_products.swatch_4",
10039
+ "body": {
10040
+ "package": "himalaya",
10041
+ "type": "Text",
10042
+ "props": {
10043
+ "text": "",
10044
+ "style": "caption"
10045
+ }
10046
+ },
10047
+ "modifiers": {
10048
+ "width": 10,
10049
+ "height": 10,
10050
+ "cornerRadius": 5,
10051
+ "backgroundColorPath": "$item.swatch4",
10052
+ "border": {
10053
+ "width": 1,
10054
+ "color": {
10055
+ "token": "border"
10056
+ }
10057
+ },
10058
+ "accessibilityHidden": true,
10059
+ "hiddenPath": "$item.noSwatch4"
10060
+ }
10061
+ },
10062
+ {
10063
+ "id": "himi_saved_products.swatch_5",
10064
+ "body": {
10065
+ "package": "himalaya",
10066
+ "type": "Text",
10067
+ "props": {
10068
+ "text": "",
10069
+ "style": "caption"
10070
+ }
10071
+ },
10072
+ "modifiers": {
10073
+ "width": 10,
10074
+ "height": 10,
10075
+ "cornerRadius": 5,
10076
+ "backgroundColorPath": "$item.swatch5",
10077
+ "border": {
10078
+ "width": 1,
10079
+ "color": {
10080
+ "token": "border"
10081
+ }
10082
+ },
10083
+ "accessibilityHidden": true,
10084
+ "hiddenPath": "$item.noSwatch5"
10085
+ }
10086
+ }
10087
+ ]
9758
10088
  }
10089
+ },
10090
+ "modifiers": {
10091
+ "hiddenPath": "$item.noSwatches"
9759
10092
  }
9760
- },
10093
+ }
10094
+ ]
10095
+ }
10096
+ },
10097
+ "modifiers": {
10098
+ "hiddenPath": "$item.noTagRow"
10099
+ }
10100
+ },
10101
+ {
10102
+ "id": "",
10103
+ "body": {
10104
+ "package": "himalaya",
10105
+ "type": "HStack",
10106
+ "props": {
10107
+ "spacing": 6,
10108
+ "children": [
9761
10109
  {
9762
10110
  "id": "",
9763
10111
  "body": {
9764
10112
  "package": "himalaya",
9765
10113
  "type": "Text",
9766
10114
  "props": {
9767
- "text": "$item.price",
9768
- "style": "footnote",
9769
- "color": "accentPrimary",
9770
- "maxLines": 1,
9771
- "collapseWhenEmpty": true
10115
+ "text": "$item.name",
10116
+ "style": "footnoteRegular",
10117
+ "color": "textPrimary",
10118
+ "maxLines": 2
9772
10119
  }
10120
+ },
10121
+ "modifiers": {
10122
+ "weight": 1
9773
10123
  }
9774
10124
  }
9775
10125
  ]
9776
10126
  }
9777
- },
9778
- "modifiers": {
9779
- "background": {
9780
- "token": "surfaceElevated"
9781
- },
9782
- "border": {
9783
- "width": 1,
9784
- "color": {
9785
- "token": "border"
9786
- }
9787
- },
9788
- "cornerRadius": 8,
9789
- "padding": {
9790
- "leading": 12,
9791
- "trailing": 12,
9792
- "top": 12,
9793
- "bottom": 12
9794
- },
9795
- "onTap": {
9796
- "actionId": "himi.open",
9797
- "params": {
9798
- "screenId": "$item.detailScreenId",
9799
- "id": "$item.id"
9800
- }
9801
- },
9802
- "pressFeedback": "scale",
9803
- "haptic": "light",
9804
- "accessibilityLabel": "$item.name"
9805
10127
  }
9806
10128
  },
9807
10129
  {
9808
- "id": "himi_saved_products.remove",
10130
+ "id": "",
9809
10131
  "body": {
9810
10132
  "package": "himalaya",
9811
- "type": "Button",
10133
+ "type": "HStack",
9812
10134
  "props": {
9813
- "title": "Remove",
9814
- "style": "secondary",
9815
- "action": {
9816
- "actionId": "tier5.himiStoreSaved.remove",
9817
- "params": {
9818
- "id": "$item.id"
10135
+ "spacing": 6,
10136
+ "children": [
10137
+ {
10138
+ "id": "",
10139
+ "body": {
10140
+ "package": "himalaya",
10141
+ "type": "Text",
10142
+ "props": {
10143
+ "text": "$item.wasPrice",
10144
+ "style": "caption",
10145
+ "color": "textSecondary",
10146
+ "maxLines": 1,
10147
+ "decoration": "strikethrough"
10148
+ }
10149
+ },
10150
+ "modifiers": {
10151
+ "hiddenPath": "$item.notOnSale"
10152
+ }
10153
+ },
10154
+ {
10155
+ "id": "",
10156
+ "body": {
10157
+ "package": "himalaya",
10158
+ "type": "Text",
10159
+ "props": {
10160
+ "text": "$item.price",
10161
+ "style": "caption",
10162
+ "color": "danger",
10163
+ "maxLines": 1
10164
+ }
10165
+ },
10166
+ "modifiers": {
10167
+ "hiddenPath": "$item.notOnSale"
10168
+ }
10169
+ },
10170
+ {
10171
+ "id": "",
10172
+ "body": {
10173
+ "package": "himalaya",
10174
+ "type": "Text",
10175
+ "props": {
10176
+ "text": "$item.price",
10177
+ "style": "caption",
10178
+ "color": "textPrimary",
10179
+ "maxLines": 1
10180
+ }
10181
+ },
10182
+ "modifiers": {
10183
+ "hiddenPath": "$item.wasPriceEmpty"
10184
+ }
10185
+ },
10186
+ {
10187
+ "id": "",
10188
+ "body": {
10189
+ "package": "himalaya",
10190
+ "type": "Spacer",
10191
+ "props": {}
10192
+ }
10193
+ },
10194
+ {
10195
+ "id": "himi_saved_products.remove",
10196
+ "body": {
10197
+ "package": "himalaya",
10198
+ "type": "ZStack",
10199
+ "props": {
10200
+ "alignment": "center",
10201
+ "children": [
10202
+ {
10203
+ "id": "",
10204
+ "body": {
10205
+ "package": "himalaya",
10206
+ "type": "Icon",
10207
+ "props": {
10208
+ "name": "heart_fill",
10209
+ "size": 22,
10210
+ "tint": "accentPrimary"
10211
+ }
10212
+ },
10213
+ "modifiers": {
10214
+ "accessibilityRole": "decorative"
10215
+ }
10216
+ }
10217
+ ]
10218
+ }
10219
+ },
10220
+ "modifiers": {
10221
+ "width": 44,
10222
+ "height": 44,
10223
+ "onTap": {
10224
+ "actionId": "tier5.himiStoreSaved.remove",
10225
+ "params": {
10226
+ "id": "$item.id"
10227
+ }
10228
+ },
10229
+ "accessibilityRole": "button",
10230
+ "accessibilityLabel": "Remove from wishlist",
10231
+ "haptic": "light"
10232
+ }
9819
10233
  }
9820
- }
10234
+ ]
9821
10235
  }
9822
10236
  }
9823
10237
  }
9824
10238
  ]
9825
10239
  }
10240
+ },
10241
+ "modifiers": {
10242
+ "onTap": {
10243
+ "actionId": "himi.open",
10244
+ "params": {
10245
+ "screenId": "himi_product",
10246
+ "id": "$item.id"
10247
+ }
10248
+ },
10249
+ "pressFeedback": "highlight",
10250
+ "haptic": "light",
10251
+ "accessibilityLabel": "$item.name"
9826
10252
  }
9827
10253
  }
9828
- ],
9829
- "onPullToRefresh": {
9830
- "actionId": "tier5.himiStoreSaved.load"
9831
- }
10254
+ ]
9832
10255
  }
9833
10256
  },
9834
10257
  "modifiers": {
@@ -9836,27 +10259,59 @@ const SCREENS = runtimeSetting({
9836
10259
  }
9837
10260
  },
9838
10261
  {
9839
- "id": "",
10262
+ "id": "himi_saved_products.empty",
9840
10263
  "body": {
9841
10264
  "package": "himalaya",
9842
10265
  "type": "VStack",
9843
10266
  "props": {
9844
- "spacing": 12,
10267
+ "spacing": 10,
9845
10268
  "alignment": "center",
9846
10269
  "children": [
9847
10270
  {
9848
10271
  "id": "",
9849
10272
  "body": {
9850
10273
  "package": "himalaya",
9851
- "type": "Icon",
10274
+ "type": "ZStack",
9852
10275
  "props": {
9853
- "name": "bookmark",
9854
- "size": 34,
9855
- "tint": "textTertiary"
10276
+ "alignment": "center",
10277
+ "children": [
10278
+ {
10279
+ "id": "",
10280
+ "body": {
10281
+ "package": "himalaya",
10282
+ "type": "Icon",
10283
+ "props": {
10284
+ "name": "heart",
10285
+ "size": 24,
10286
+ "tint": "textSecondary"
10287
+ }
10288
+ },
10289
+ "modifiers": {
10290
+ "accessibilityRole": "decorative"
10291
+ }
10292
+ }
10293
+ ]
9856
10294
  }
9857
10295
  },
9858
10296
  "modifiers": {
9859
- "accessibilityRole": "decorative"
10297
+ "width": 56,
10298
+ "height": 56,
10299
+ "background": {
10300
+ "token": "surfaceTertiary"
10301
+ },
10302
+ "cornerRadius": 28
10303
+ }
10304
+ },
10305
+ {
10306
+ "id": "",
10307
+ "body": {
10308
+ "package": "himalaya",
10309
+ "type": "Text",
10310
+ "props": {
10311
+ "text": "Your wishlist is empty",
10312
+ "style": "title3",
10313
+ "textAlign": "center"
10314
+ }
9860
10315
  }
9861
10316
  },
9862
10317
  {
@@ -9866,14 +10321,14 @@ const SCREENS = runtimeSetting({
9866
10321
  "type": "Text",
9867
10322
  "props": {
9868
10323
  "text": "$service:himiStoreSaved.emptyText",
9869
- "style": "bodyEmphasis",
10324
+ "style": "footnote",
9870
10325
  "color": "textSecondary",
9871
- "collapseWhenEmpty": true
10326
+ "textAlign": "center"
9872
10327
  }
9873
10328
  }
9874
10329
  },
9875
10330
  {
9876
- "id": "himi_saved_products.empty.cta",
10331
+ "id": "himi_saved_products.browse",
9877
10332
  "body": {
9878
10333
  "package": "himalaya",
9879
10334
  "type": "Button",
@@ -9893,16 +10348,6 @@ const SCREENS = runtimeSetting({
9893
10348
  }
9894
10349
  },
9895
10350
  "modifiers": {
9896
- "padding": {
9897
- "leading": 24,
9898
- "trailing": 24,
9899
- "top": 24,
9900
- "bottom": 24
9901
- },
9902
- "transition": {
9903
- "enter": "fade",
9904
- "exit": "fade"
9905
- },
9906
10351
  "hiddenPath": "$service:himiStoreSaved.noEmpty"
9907
10352
  }
9908
10353
  }
@@ -10898,20 +11343,8 @@ const SCREENS = runtimeSetting({
10898
11343
  "package": "himalaya",
10899
11344
  "type": "Text",
10900
11345
  "props": {
10901
- "text": "Cart",
10902
- "style": "title1"
10903
- }
10904
- }
10905
- },
10906
- {
10907
- "id": "",
10908
- "body": {
10909
- "package": "himalaya",
10910
- "type": "Text",
10911
- "props": {
10912
- "text": "Review your items before you check out.",
10913
- "style": "body",
10914
- "color": "textSecondary"
11346
+ "text": "Shopping cart",
11347
+ "style": "pageTitle"
10915
11348
  }
10916
11349
  }
10917
11350
  },
@@ -10924,6 +11357,20 @@ const SCREENS = runtimeSetting({
10924
11357
  "spacing": 8,
10925
11358
  "alignment": "leading",
10926
11359
  "children": [
11360
+ {
11361
+ "id": "",
11362
+ "body": {
11363
+ "package": "himalaya",
11364
+ "type": "Text",
11365
+ "props": {
11366
+ "text": "You are offline",
11367
+ "style": "bodyEmphasis"
11368
+ }
11369
+ },
11370
+ "modifiers": {
11371
+ "hiddenPath": "$service:himiStoreCart.noOfflineError"
11372
+ }
11373
+ },
10927
11374
  {
10928
11375
  "id": "",
10929
11376
  "body": {
@@ -10933,6 +11380,9 @@ const SCREENS = runtimeSetting({
10933
11380
  "text": "Your cart could not be loaded.",
10934
11381
  "style": "bodyEmphasis"
10935
11382
  }
11383
+ },
11384
+ "modifiers": {
11385
+ "hiddenPath": "$service:himiStoreCart.noServerError"
10936
11386
  }
10937
11387
  },
10938
11388
  {
@@ -10985,123 +11435,149 @@ const SCREENS = runtimeSetting({
10985
11435
  }
10986
11436
  },
10987
11437
  {
10988
- "id": "",
11438
+ "id": "himi_cart.list",
10989
11439
  "body": {
10990
11440
  "package": "himalaya",
10991
- "type": "VStack",
11441
+ "type": "Grid",
10992
11442
  "props": {
10993
- "spacing": 12,
10994
- "children": [
11443
+ "columns": 1,
11444
+ "spacing": 0,
11445
+ "itemsPath": "$service:himiStoreCart.items",
11446
+ "items": [
10995
11447
  {
10996
- "id": "himi_cart.list",
11448
+ "id": "himi_cart.row",
10997
11449
  "body": {
10998
11450
  "package": "himalaya",
10999
- "type": "Grid",
11451
+ "type": "VStack",
11000
11452
  "props": {
11001
- "columns": 1,
11002
- "spacing": 10,
11003
- "itemsPath": "$service:himiStoreCart.items",
11004
- "items": [
11453
+ "spacing": 0,
11454
+ "alignment": "leading",
11455
+ "children": [
11005
11456
  {
11006
- "id": "himi_cart.row",
11457
+ "id": "",
11007
11458
  "body": {
11008
11459
  "package": "himalaya",
11009
- "type": "VStack",
11460
+ "type": "Divider",
11461
+ "props": {}
11462
+ }
11463
+ },
11464
+ {
11465
+ "id": "himi_cart.row_content",
11466
+ "body": {
11467
+ "package": "himalaya",
11468
+ "type": "HStack",
11010
11469
  "props": {
11011
- "spacing": 8,
11012
- "alignment": "leading",
11470
+ "spacing": 12,
11013
11471
  "children": [
11472
+ {
11473
+ "id": "himi_cart.thumbnail",
11474
+ "body": {
11475
+ "package": "himalaya",
11476
+ "type": "Image",
11477
+ "props": {
11478
+ "url": "$item.image",
11479
+ "width": 112,
11480
+ "height": 144,
11481
+ "contentMode": "fit",
11482
+ "shape": "rect",
11483
+ "contentDescription": "$item.name"
11484
+ }
11485
+ },
11486
+ "modifiers": {
11487
+ "onTap": {
11488
+ "actionId": "himi.open",
11489
+ "params": {
11490
+ "screenId": "himi_product",
11491
+ "id": "$item.catalogItemId"
11492
+ }
11493
+ },
11494
+ "hiddenPath": "$item.noImage"
11495
+ }
11496
+ },
11014
11497
  {
11015
11498
  "id": "",
11016
11499
  "body": {
11017
11500
  "package": "himalaya",
11018
- "type": "HStack",
11501
+ "type": "ZStack",
11019
11502
  "props": {
11020
- "spacing": 10,
11503
+ "alignment": "center",
11021
11504
  "children": [
11022
11505
  {
11023
11506
  "id": "",
11024
11507
  "body": {
11025
11508
  "package": "himalaya",
11026
- "type": "Image",
11027
- "props": {
11028
- "url": "$item.image",
11029
- "width": 62,
11030
- "height": 62,
11031
- "contentMode": "fill",
11032
- "contentDescription": "$item.title"
11033
- }
11034
- },
11035
- "modifiers": {
11036
- "cornerRadius": 8,
11037
- "hiddenPath": "$item.noImage"
11038
- }
11039
- },
11040
- {
11041
- "id": "himi_cart.row_media.initial",
11042
- "body": {
11043
- "package": "himalaya",
11044
- "type": "ZStack",
11509
+ "type": "Text",
11045
11510
  "props": {
11046
- "alignment": "center",
11047
- "children": [
11048
- {
11049
- "id": "",
11050
- "body": {
11051
- "package": "himalaya",
11052
- "type": "Text",
11053
- "props": {
11054
- "text": "$item.initial",
11055
- "style": "title2",
11056
- "color": "textOnAccent",
11057
- "maxLines": 1,
11058
- "collapseWhenEmpty": true
11059
- }
11060
- }
11061
- }
11062
- ]
11511
+ "text": "$item.initial",
11512
+ "style": "title2",
11513
+ "color": "textOnAccent"
11063
11514
  }
11064
- },
11065
- "modifiers": {
11066
- "width": 62,
11067
- "height": 62,
11068
- "background": {
11069
- "token": "accentPrimary"
11070
- },
11071
- "cornerRadius": 16,
11072
- "hiddenPath": "$item.hasImage"
11073
11515
  }
11074
- },
11516
+ }
11517
+ ]
11518
+ }
11519
+ },
11520
+ "modifiers": {
11521
+ "width": 112,
11522
+ "height": 144,
11523
+ "background": {
11524
+ "token": "accentPrimary"
11525
+ },
11526
+ "onTap": {
11527
+ "actionId": "himi.open",
11528
+ "params": {
11529
+ "screenId": "himi_product",
11530
+ "id": "$item.catalogItemId"
11531
+ }
11532
+ },
11533
+ "accessibilityLabel": "$item.name",
11534
+ "hiddenPath": "$item.hasImage"
11535
+ }
11536
+ },
11537
+ {
11538
+ "id": "himi_cart.details",
11539
+ "body": {
11540
+ "package": "himalaya",
11541
+ "type": "VStack",
11542
+ "props": {
11543
+ "spacing": 4,
11544
+ "alignment": "leading",
11545
+ "children": [
11075
11546
  {
11076
- "id": "",
11547
+ "id": "himi_cart.name_price",
11077
11548
  "body": {
11078
11549
  "package": "himalaya",
11079
- "type": "VStack",
11550
+ "type": "HStack",
11080
11551
  "props": {
11081
- "spacing": 3,
11082
- "alignment": "leading",
11552
+ "spacing": 6,
11083
11553
  "children": [
11084
11554
  {
11085
- "id": "",
11555
+ "id": "himi_cart.product_title",
11086
11556
  "body": {
11087
11557
  "package": "himalaya",
11088
11558
  "type": "Text",
11089
11559
  "props": {
11090
11560
  "text": "$item.name",
11091
11561
  "style": "bodyEmphasis",
11562
+ "color": "textPrimary",
11092
11563
  "maxLines": 2
11093
11564
  }
11565
+ },
11566
+ "modifiers": {
11567
+ "weight": 1
11094
11568
  }
11095
11569
  },
11096
11570
  {
11097
- "id": "",
11571
+ "id": "himi_cart.product_price",
11098
11572
  "body": {
11099
11573
  "package": "himalaya",
11100
11574
  "type": "Text",
11101
11575
  "props": {
11102
- "text": "$item.subtitle",
11103
- "style": "footnote",
11104
- "color": "textSecondary"
11576
+ "text": "$item.total",
11577
+ "style": "bodyEmphasis",
11578
+ "color": "textPrimary",
11579
+ "maxLines": 1,
11580
+ "collapseWhenEmpty": true
11105
11581
  }
11106
11582
  }
11107
11583
  }
@@ -11113,8 +11589,14 @@ const SCREENS = runtimeSetting({
11113
11589
  "id": "",
11114
11590
  "body": {
11115
11591
  "package": "himalaya",
11116
- "type": "Spacer",
11117
- "props": {}
11592
+ "type": "Text",
11593
+ "props": {
11594
+ "text": "$item.option1",
11595
+ "style": "body",
11596
+ "color": "textSecondary",
11597
+ "maxLines": 1,
11598
+ "collapseWhenEmpty": true
11599
+ }
11118
11600
  }
11119
11601
  },
11120
11602
  {
@@ -11123,67 +11605,56 @@ const SCREENS = runtimeSetting({
11123
11605
  "package": "himalaya",
11124
11606
  "type": "Text",
11125
11607
  "props": {
11126
- "text": "$item.total",
11127
- "style": "bodyEmphasis",
11608
+ "text": "$item.option2",
11609
+ "style": "body",
11610
+ "color": "textSecondary",
11611
+ "maxLines": 1,
11128
11612
  "collapseWhenEmpty": true
11129
11613
  }
11130
11614
  }
11131
- }
11132
- ]
11133
- }
11134
- }
11135
- },
11136
- {
11137
- "id": "",
11138
- "body": {
11139
- "package": "himalaya",
11140
- "type": "HStack",
11141
- "props": {
11142
- "spacing": 10,
11143
- "children": [
11615
+ },
11144
11616
  {
11145
- "id": "himi_cart.qty_minus",
11617
+ "id": "",
11146
11618
  "body": {
11147
11619
  "package": "himalaya",
11148
- "type": "Button",
11620
+ "type": "Text",
11149
11621
  "props": {
11150
- "title": "−",
11151
- "style": "secondary",
11152
- "action": {
11153
- "actionId": "tier5.himiStoreCart.decrement",
11154
- "params": {
11155
- "id": "$item.id"
11156
- }
11157
- }
11622
+ "text": "$item.option3",
11623
+ "style": "body",
11624
+ "color": "textSecondary",
11625
+ "maxLines": 1,
11626
+ "collapseWhenEmpty": true
11158
11627
  }
11159
11628
  }
11160
11629
  },
11161
11630
  {
11162
- "id": "himi_cart.qty_value",
11631
+ "id": "",
11163
11632
  "body": {
11164
11633
  "package": "himalaya",
11165
11634
  "type": "Text",
11166
11635
  "props": {
11167
- "text": "$item.quantityLabel",
11168
- "style": "bodyEmphasis"
11636
+ "text": "$item.inStockMessage",
11637
+ "style": "body",
11638
+ "color": "success"
11169
11639
  }
11640
+ },
11641
+ "modifiers": {
11642
+ "hiddenPath": "$item.noInStockMessage"
11170
11643
  }
11171
11644
  },
11172
11645
  {
11173
- "id": "himi_cart.qty_plus",
11646
+ "id": "",
11174
11647
  "body": {
11175
11648
  "package": "himalaya",
11176
- "type": "Button",
11649
+ "type": "Text",
11177
11650
  "props": {
11178
- "title": "+",
11179
- "style": "secondary",
11180
- "action": {
11181
- "actionId": "tier5.himiStoreCart.increment",
11182
- "params": {
11183
- "id": "$item.id"
11184
- }
11185
- }
11651
+ "text": "$item.stockMessage",
11652
+ "style": "body",
11653
+ "color": "danger"
11186
11654
  }
11655
+ },
11656
+ "modifiers": {
11657
+ "hiddenPath": "$item.noStockMessage"
11187
11658
  }
11188
11659
  },
11189
11660
  {
@@ -11195,184 +11666,602 @@ const SCREENS = runtimeSetting({
11195
11666
  }
11196
11667
  },
11197
11668
  {
11198
- "id": "himi_cart.remove",
11669
+ "id": "himi_cart.actions",
11199
11670
  "body": {
11200
11671
  "package": "himalaya",
11201
- "type": "Button",
11672
+ "type": "HStack",
11202
11673
  "props": {
11203
- "title": "Remove",
11204
- "style": "secondary",
11205
- "action": {
11206
- "actionId": "tier5.himiStoreCart.remove",
11207
- "params": {
11208
- "id": "$item.id"
11674
+ "spacing": 0,
11675
+ "children": [
11676
+ {
11677
+ "id": "himi_cart.qty_minus",
11678
+ "body": {
11679
+ "package": "himalaya",
11680
+ "type": "ZStack",
11681
+ "props": {
11682
+ "alignment": "center",
11683
+ "children": [
11684
+ {
11685
+ "id": "",
11686
+ "body": {
11687
+ "package": "himalaya",
11688
+ "type": "Icon",
11689
+ "props": {
11690
+ "name": "minus",
11691
+ "size": 24,
11692
+ "tint": "textPrimary"
11693
+ }
11694
+ },
11695
+ "modifiers": {
11696
+ "accessibilityRole": "decorative"
11697
+ }
11698
+ }
11699
+ ]
11700
+ }
11701
+ },
11702
+ "modifiers": {
11703
+ "width": 44,
11704
+ "height": 44,
11705
+ "onTap": {
11706
+ "actionId": "tier5.himiStoreCart.decrement",
11707
+ "params": {
11708
+ "id": "$item.id"
11709
+ }
11710
+ },
11711
+ "accessibilityRole": "button",
11712
+ "accessibilityLabel": "Decrease quantity",
11713
+ "haptic": "light"
11714
+ }
11715
+ },
11716
+ {
11717
+ "id": "himi_cart.qty_value",
11718
+ "body": {
11719
+ "package": "himalaya",
11720
+ "type": "Text",
11721
+ "props": {
11722
+ "text": "$item.quantityLabel",
11723
+ "style": "body",
11724
+ "textAlign": "center"
11725
+ }
11726
+ },
11727
+ "modifiers": {
11728
+ "width": 32
11729
+ }
11730
+ },
11731
+ {
11732
+ "id": "himi_cart.qty_plus",
11733
+ "body": {
11734
+ "package": "himalaya",
11735
+ "type": "ZStack",
11736
+ "props": {
11737
+ "alignment": "center",
11738
+ "children": [
11739
+ {
11740
+ "id": "",
11741
+ "body": {
11742
+ "package": "himalaya",
11743
+ "type": "Icon",
11744
+ "props": {
11745
+ "name": "plus",
11746
+ "size": 24,
11747
+ "tint": "textPrimary"
11748
+ }
11749
+ },
11750
+ "modifiers": {
11751
+ "accessibilityRole": "decorative"
11752
+ }
11753
+ }
11754
+ ]
11755
+ }
11756
+ },
11757
+ "modifiers": {
11758
+ "width": 44,
11759
+ "height": 44,
11760
+ "onTap": {
11761
+ "actionId": "tier5.himiStoreCart.increment",
11762
+ "params": {
11763
+ "id": "$item.id"
11764
+ }
11765
+ },
11766
+ "accessibilityRole": "button",
11767
+ "accessibilityLabel": "Increase quantity",
11768
+ "haptic": "light"
11769
+ }
11770
+ },
11771
+ {
11772
+ "id": "",
11773
+ "body": {
11774
+ "package": "himalaya",
11775
+ "type": "Spacer",
11776
+ "props": {}
11777
+ }
11778
+ },
11779
+ {
11780
+ "id": "himi_cart.save_filled",
11781
+ "body": {
11782
+ "package": "himalaya",
11783
+ "type": "ZStack",
11784
+ "props": {
11785
+ "alignment": "center",
11786
+ "children": [
11787
+ {
11788
+ "id": "",
11789
+ "body": {
11790
+ "package": "himalaya",
11791
+ "type": "Icon",
11792
+ "props": {
11793
+ "name": "heart_fill",
11794
+ "size": 24,
11795
+ "tint": "textPrimary"
11796
+ }
11797
+ },
11798
+ "modifiers": {
11799
+ "accessibilityRole": "decorative"
11800
+ }
11801
+ }
11802
+ ]
11803
+ }
11804
+ },
11805
+ "modifiers": {
11806
+ "width": 44,
11807
+ "height": 44,
11808
+ "onTap": {
11809
+ "actionId": "tier5.himiStoreCart.save",
11810
+ "params": {
11811
+ "id": "$item.id"
11812
+ }
11813
+ },
11814
+ "accessibilityRole": "button",
11815
+ "accessibilityLabel": "Remove from wishlist",
11816
+ "haptic": "light",
11817
+ "hiddenPath": "$item.notSaved"
11818
+ }
11819
+ },
11820
+ {
11821
+ "id": "himi_cart.save",
11822
+ "body": {
11823
+ "package": "himalaya",
11824
+ "type": "ZStack",
11825
+ "props": {
11826
+ "alignment": "center",
11827
+ "children": [
11828
+ {
11829
+ "id": "",
11830
+ "body": {
11831
+ "package": "himalaya",
11832
+ "type": "Icon",
11833
+ "props": {
11834
+ "name": "heart",
11835
+ "size": 24,
11836
+ "tint": "textPrimary"
11837
+ }
11838
+ },
11839
+ "modifiers": {
11840
+ "accessibilityRole": "decorative"
11841
+ }
11842
+ }
11843
+ ]
11844
+ }
11845
+ },
11846
+ "modifiers": {
11847
+ "width": 44,
11848
+ "height": 44,
11849
+ "onTap": {
11850
+ "actionId": "tier5.himiStoreCart.save",
11851
+ "params": {
11852
+ "id": "$item.id"
11853
+ }
11854
+ },
11855
+ "accessibilityRole": "button",
11856
+ "accessibilityLabel": "Add to wishlist",
11857
+ "haptic": "light",
11858
+ "hiddenPath": "$item.saved"
11859
+ }
11860
+ },
11861
+ {
11862
+ "id": "himi_cart.remove",
11863
+ "body": {
11864
+ "package": "himalaya",
11865
+ "type": "ZStack",
11866
+ "props": {
11867
+ "alignment": "center",
11868
+ "children": [
11869
+ {
11870
+ "id": "",
11871
+ "body": {
11872
+ "package": "himalaya",
11873
+ "type": "Icon",
11874
+ "props": {
11875
+ "name": "trash",
11876
+ "size": 24,
11877
+ "tint": "textPrimary"
11878
+ }
11879
+ },
11880
+ "modifiers": {
11881
+ "accessibilityRole": "decorative"
11882
+ }
11883
+ }
11884
+ ]
11885
+ }
11886
+ },
11887
+ "modifiers": {
11888
+ "width": 44,
11889
+ "height": 44,
11890
+ "onTap": {
11891
+ "actionId": "tier5.himiStoreCart.remove",
11892
+ "params": {
11893
+ "id": "$item.id"
11894
+ }
11895
+ },
11896
+ "accessibilityRole": "button",
11897
+ "accessibilityLabel": "Remove from cart",
11898
+ "haptic": "light"
11899
+ }
11209
11900
  }
11210
- }
11901
+ ]
11211
11902
  }
11212
11903
  }
11213
11904
  }
11214
11905
  ]
11215
11906
  }
11907
+ },
11908
+ "modifiers": {
11909
+ "weight": 1
11216
11910
  }
11217
11911
  }
11218
11912
  ]
11219
11913
  }
11220
11914
  },
11221
11915
  "modifiers": {
11222
- "background": {
11223
- "token": "surfaceElevated"
11224
- },
11225
- "border": {
11226
- "width": 1,
11227
- "color": {
11228
- "token": "border"
11229
- }
11230
- },
11231
- "cornerRadius": 4,
11232
- "padding": {
11233
- "leading": 16,
11234
- "trailing": 16,
11235
- "top": 16,
11236
- "bottom": 16
11237
- }
11916
+ "fillMaxWidth": true
11917
+ }
11918
+ },
11919
+ {
11920
+ "id": "",
11921
+ "body": {
11922
+ "package": "himalaya",
11923
+ "type": "Divider",
11924
+ "props": {}
11238
11925
  }
11239
11926
  }
11240
11927
  ]
11241
11928
  }
11929
+ },
11930
+ "modifiers": {
11931
+ "padding": {
11932
+ "top": 16,
11933
+ "bottom": 16
11934
+ }
11935
+ }
11936
+ }
11937
+ ]
11938
+ }
11939
+ },
11940
+ "modifiers": {
11941
+ "hiddenPath": "$service:himiStoreCart.hideContent"
11942
+ }
11943
+ },
11944
+ {
11945
+ "id": "himi_cart.hint",
11946
+ "body": {
11947
+ "package": "himalaya",
11948
+ "type": "Banner",
11949
+ "props": {
11950
+ "title": "$service:himiStoreCart.checkoutHint",
11951
+ "severity": "warning"
11952
+ }
11953
+ },
11954
+ "modifiers": {
11955
+ "hiddenPath": "$service:himiStoreCart.noCheckoutHint"
11956
+ }
11957
+ },
11958
+ {
11959
+ "id": "himi_cart.empty",
11960
+ "body": {
11961
+ "package": "himalaya",
11962
+ "type": "VStack",
11963
+ "props": {
11964
+ "spacing": 12,
11965
+ "alignment": "center",
11966
+ "children": [
11967
+ {
11968
+ "id": "",
11969
+ "body": {
11970
+ "package": "himalaya",
11971
+ "type": "Icon",
11972
+ "props": {
11973
+ "name": "cart",
11974
+ "size": 28,
11975
+ "tint": "textTertiary"
11976
+ }
11977
+ },
11978
+ "modifiers": {
11979
+ "accessibilityRole": "decorative"
11242
11980
  }
11243
11981
  },
11244
11982
  {
11245
- "id": "himi_cart.summary",
11983
+ "id": "",
11246
11984
  "body": {
11247
11985
  "package": "himalaya",
11248
- "type": "VStack",
11986
+ "type": "Text",
11987
+ "props": {
11988
+ "text": "$service:himiStoreCart.emptyText",
11989
+ "style": "title3",
11990
+ "color": "textPrimary",
11991
+ "collapseWhenEmpty": true
11992
+ }
11993
+ }
11994
+ },
11995
+ {
11996
+ "id": "",
11997
+ "body": {
11998
+ "package": "himalaya",
11999
+ "type": "Text",
12000
+ "props": {
12001
+ "text": "Your items will appear here when you add them.",
12002
+ "style": "footnote",
12003
+ "color": "textSecondary"
12004
+ }
12005
+ }
12006
+ },
12007
+ {
12008
+ "id": "himi_cart.browse",
12009
+ "body": {
12010
+ "package": "himalaya",
12011
+ "type": "Button",
12012
+ "props": {
12013
+ "title": "Browse products",
12014
+ "style": "secondary",
12015
+ "action": {
12016
+ "actionId": "himi.open",
12017
+ "params": {
12018
+ "screenId": "himi_shop"
12019
+ }
12020
+ }
12021
+ }
12022
+ }
12023
+ }
12024
+ ]
12025
+ }
12026
+ },
12027
+ "modifiers": {
12028
+ "hiddenPath": "$service:himiStoreCart.noEmpty"
12029
+ }
12030
+ },
12031
+ {
12032
+ "id": "himi_cart.order_placed",
12033
+ "body": {
12034
+ "package": "himalaya",
12035
+ "type": "Snackbar",
12036
+ "props": {
12037
+ "message": "Order placed. Thanks!",
12038
+ "severity": "success",
12039
+ "durationMs": 3000
12040
+ }
12041
+ },
12042
+ "modifiers": {
12043
+ "hiddenPath": "$service:himiStoreCart.noPaidToast"
12044
+ }
12045
+ }
12046
+ ]
12047
+ }
12048
+ },
12049
+ "modifiers": {
12050
+ "background": {
12051
+ "token": "surfacePrimary"
12052
+ },
12053
+ "padding": {
12054
+ "leading": 16,
12055
+ "trailing": 16,
12056
+ "top": 18,
12057
+ "bottom": 28
12058
+ },
12059
+ "onAppear": {
12060
+ "actionId": "tier5.himiStoreCart.load"
12061
+ }
12062
+ }
12063
+ },
12064
+ "logicBundle": {
12065
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-cart?integrity=",
12066
+ "integrity": "",
12067
+ "contentType": "application/javascript+ts-bundle",
12068
+ "declaredCapabilities": [
12069
+ "wix_api",
12070
+ "wix_cashier",
12071
+ "open_url",
12072
+ "local_database",
12073
+ "wix_platform",
12074
+ "iap",
12075
+ "app_info"
12076
+ ],
12077
+ "minBinaryVersion": "0.1.0",
12078
+ "bundleVersion": "0.0.1"
12079
+ },
12080
+ "stickyFooter": {
12081
+ "id": "himi_cart.footer",
12082
+ "body": {
12083
+ "package": "himalaya",
12084
+ "type": "VStack",
12085
+ "props": {
12086
+ "spacing": 10,
12087
+ "alignment": "leading",
12088
+ "children": [
12089
+ {
12090
+ "id": "",
12091
+ "body": {
12092
+ "package": "himalaya",
12093
+ "type": "HStack",
12094
+ "props": {
12095
+ "spacing": 8,
12096
+ "children": [
12097
+ {
12098
+ "id": "himi_cart.promo",
12099
+ "body": {
12100
+ "package": "himalaya",
12101
+ "type": "TextField",
12102
+ "props": {
12103
+ "placeholder": "Promo code",
12104
+ "valuePath": "$service:himiStoreCart.promoCode",
12105
+ "onChange": {
12106
+ "actionId": "tier5.himiStoreCart.setPromo"
12107
+ },
12108
+ "onSubmit": {
12109
+ "actionId": "tier5.himiStoreCart.applyPromo"
12110
+ },
12111
+ "autoCapitalization": "characters",
12112
+ "suggestions": "off",
12113
+ "submitLabel": "done",
12114
+ "clearButton": true,
12115
+ "maxLength": 100,
12116
+ "borderless": true
12117
+ }
12118
+ },
12119
+ "modifiers": {
12120
+ "weight": 1,
12121
+ "height": 36,
12122
+ "border": {
12123
+ "width": 1,
12124
+ "color": {
12125
+ "token": "border"
12126
+ }
12127
+ },
12128
+ "padding": {
12129
+ "leading": 12,
12130
+ "trailing": 12
12131
+ },
12132
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
12133
+ }
12134
+ },
12135
+ {
12136
+ "id": "himi_cart.apply_promo",
12137
+ "body": {
12138
+ "package": "himalaya",
12139
+ "type": "Button",
12140
+ "props": {
12141
+ "title": "Apply",
12142
+ "style": "secondary",
12143
+ "action": {
12144
+ "actionId": "tier5.himiStoreCart.applyPromo"
12145
+ },
12146
+ "disabledPath": "$service:himiStoreCart.promoBusy"
12147
+ }
12148
+ },
12149
+ "modifiers": {
12150
+ "height": 44,
12151
+ "cornerRadius": 0,
12152
+ "border": {
12153
+ "width": 1,
12154
+ "color": {
12155
+ "token": "textPrimary"
12156
+ }
12157
+ },
12158
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
12159
+ }
12160
+ },
12161
+ {
12162
+ "id": "",
12163
+ "body": {
12164
+ "package": "himalaya",
12165
+ "type": "HStack",
11249
12166
  "props": {
11250
12167
  "spacing": 8,
11251
- "alignment": "leading",
11252
12168
  "children": [
11253
12169
  {
11254
12170
  "id": "",
11255
12171
  "body": {
11256
- "package": "himalaya",
11257
- "type": "HStack",
11258
- "props": {
11259
- "spacing": 8,
11260
- "children": [
11261
- {
11262
- "id": "",
11263
- "body": {
11264
- "package": "himalaya",
11265
- "type": "Text",
11266
- "props": {
11267
- "text": "Subtotal",
11268
- "style": "bodyEmphasis"
11269
- }
11270
- }
11271
- },
11272
- {
11273
- "id": "",
11274
- "body": {
11275
- "package": "himalaya",
11276
- "type": "Spacer",
11277
- "props": {}
11278
- }
11279
- },
11280
- {
11281
- "id": "",
11282
- "body": {
11283
- "package": "himalaya",
11284
- "type": "Text",
11285
- "props": {
11286
- "text": "$service:himiStoreCart.subtotal",
11287
- "style": "bodyEmphasis",
11288
- "collapseWhenEmpty": true
11289
- }
11290
- }
11291
- }
11292
- ]
12172
+ "package": "himalaya",
12173
+ "type": "Text",
12174
+ "props": {
12175
+ "text": "$service:himiStoreCart.appliedLabel",
12176
+ "style": "footnote",
12177
+ "color": "textPrimary"
11293
12178
  }
11294
12179
  }
11295
12180
  },
11296
12181
  {
11297
- "id": "himi_cart.checkout",
12182
+ "id": "",
12183
+ "body": {
12184
+ "package": "himalaya",
12185
+ "type": "Spacer",
12186
+ "props": {}
12187
+ }
12188
+ },
12189
+ {
12190
+ "id": "himi_cart.remove_promo",
11298
12191
  "body": {
11299
12192
  "package": "himalaya",
11300
12193
  "type": "Button",
11301
12194
  "props": {
11302
- "title": "Checkout in browser",
11303
- "style": "primary",
11304
- "fullWidth": true,
12195
+ "title": "Remove promo code",
11305
12196
  "action": {
11306
- "actionId": "tier5.himiStoreCart.checkout"
11307
- }
12197
+ "actionId": "tier5.himiStoreCart.removePromo"
12198
+ },
12199
+ "style": "tertiary",
12200
+ "iconOnly": true,
12201
+ "leadingIcon": "close",
12202
+ "cornerRadius": 22,
12203
+ "minHeight": 44
11308
12204
  }
12205
+ },
12206
+ "modifiers": {
12207
+ "width": 44,
12208
+ "height": 44,
12209
+ "accessibilityLabel": "Remove promo code",
12210
+ "accessibilityRole": "button"
11309
12211
  }
11310
12212
  }
11311
12213
  ]
11312
12214
  }
11313
12215
  },
11314
12216
  "modifiers": {
11315
- "background": {
11316
- "token": "surfaceElevated"
11317
- },
11318
- "border": {
11319
- "width": 1,
11320
- "color": {
11321
- "token": "border"
11322
- }
11323
- },
11324
- "cornerRadius": 4,
11325
- "padding": {
11326
- "leading": 16,
11327
- "trailing": 16,
11328
- "top": 16,
11329
- "bottom": 16
11330
- },
11331
- "hiddenPath": "$service:himiStoreCart.noItems"
12217
+ "hiddenPath": "$service:himiStoreCart.noCoupon"
11332
12218
  }
11333
12219
  }
11334
12220
  ]
11335
12221
  }
11336
- },
11337
- "modifiers": {
11338
- "hiddenPath": "$service:himiStoreCart.hideContent"
11339
12222
  }
11340
12223
  },
11341
12224
  {
11342
- "id": "himi_cart.hint",
12225
+ "id": "himi_cart.promo_error",
11343
12226
  "body": {
11344
12227
  "package": "himalaya",
11345
12228
  "type": "Text",
11346
12229
  "props": {
11347
- "text": "$service:himiStoreCart.checkoutHint",
12230
+ "text": "$service:himiStoreCart.promoError",
11348
12231
  "style": "footnote",
11349
- "color": "textSecondary",
11350
- "collapseWhenEmpty": true
12232
+ "color": "danger"
11351
12233
  }
12234
+ },
12235
+ "modifiers": {
12236
+ "hiddenPath": "$service:himiStoreCart.noPromoError"
11352
12237
  }
11353
12238
  },
11354
12239
  {
11355
- "id": "himi_cart.empty",
12240
+ "id": "",
11356
12241
  "body": {
11357
12242
  "package": "himalaya",
11358
- "type": "VStack",
12243
+ "type": "HStack",
11359
12244
  "props": {
11360
12245
  "spacing": 8,
11361
- "alignment": "leading",
11362
12246
  "children": [
11363
12247
  {
11364
12248
  "id": "",
11365
12249
  "body": {
11366
12250
  "package": "himalaya",
11367
- "type": "Icon",
12251
+ "type": "Text",
11368
12252
  "props": {
11369
- "name": "cart",
11370
- "size": 28,
11371
- "tint": "textTertiary"
12253
+ "text": "Discount",
12254
+ "style": "body",
12255
+ "color": "textPrimary"
11372
12256
  }
11373
- },
11374
- "modifiers": {
11375
- "accessibilityRole": "decorative"
12257
+ }
12258
+ },
12259
+ {
12260
+ "id": "",
12261
+ "body": {
12262
+ "package": "himalaya",
12263
+ "type": "Spacer",
12264
+ "props": {}
11376
12265
  }
11377
12266
  },
11378
12267
  {
@@ -11381,51 +12270,74 @@ const SCREENS = runtimeSetting({
11381
12270
  "package": "himalaya",
11382
12271
  "type": "Text",
11383
12272
  "props": {
11384
- "text": "$service:himiStoreCart.emptyText",
11385
- "style": "bodyEmphasis",
11386
- "color": "textSecondary",
11387
- "collapseWhenEmpty": true
12273
+ "text": "$service:himiStoreCart.discount",
12274
+ "style": "body",
12275
+ "color": "success"
12276
+ }
12277
+ }
12278
+ }
12279
+ ]
12280
+ }
12281
+ },
12282
+ "modifiers": {
12283
+ "hiddenPath": "$service:himiStoreCart.noDiscount"
12284
+ }
12285
+ },
12286
+ {
12287
+ "id": "",
12288
+ "body": {
12289
+ "package": "himalaya",
12290
+ "type": "HStack",
12291
+ "props": {
12292
+ "spacing": 8,
12293
+ "children": [
12294
+ {
12295
+ "id": "",
12296
+ "body": {
12297
+ "package": "himalaya",
12298
+ "type": "Text",
12299
+ "props": {
12300
+ "text": "$service:himiStoreCart.subtotalLabel",
12301
+ "style": "bodyEmphasis"
11388
12302
  }
11389
12303
  }
11390
12304
  },
11391
12305
  {
11392
- "id": "himi_cart.browse",
12306
+ "id": "",
11393
12307
  "body": {
11394
12308
  "package": "himalaya",
11395
- "type": "Button",
12309
+ "type": "Spacer",
12310
+ "props": {}
12311
+ }
12312
+ },
12313
+ {
12314
+ "id": "",
12315
+ "body": {
12316
+ "package": "himalaya",
12317
+ "type": "Text",
11396
12318
  "props": {
11397
- "title": "Browse products",
11398
- "style": "secondary",
11399
- "action": {
11400
- "actionId": "himi.open",
11401
- "params": {
11402
- "screenId": "himi_shop"
11403
- }
11404
- }
12319
+ "text": "$service:himiStoreCart.subtotal",
12320
+ "style": "bodyEmphasis"
11405
12321
  }
11406
12322
  }
11407
12323
  }
11408
12324
  ]
11409
12325
  }
11410
- },
11411
- "modifiers": {
11412
- "background": {
11413
- "token": "surfaceElevated"
11414
- },
11415
- "border": {
11416
- "width": 1,
11417
- "color": {
11418
- "token": "border"
12326
+ }
12327
+ },
12328
+ {
12329
+ "id": "himi_cart.checkout",
12330
+ "body": {
12331
+ "package": "himalaya",
12332
+ "type": "Button",
12333
+ "props": {
12334
+ "title": "Checkout",
12335
+ "style": "primary",
12336
+ "fullWidth": true,
12337
+ "action": {
12338
+ "actionId": "tier5.himiStoreCart.checkout"
11419
12339
  }
11420
- },
11421
- "cornerRadius": 4,
11422
- "padding": {
11423
- "leading": 16,
11424
- "trailing": 16,
11425
- "top": 16,
11426
- "bottom": 16
11427
- },
11428
- "hiddenPath": "$service:himiStoreCart.noEmpty"
12340
+ }
11429
12341
  }
11430
12342
  }
11431
12343
  ]
@@ -11435,32 +12347,20 @@ const SCREENS = runtimeSetting({
11435
12347
  "background": {
11436
12348
  "token": "surfacePrimary"
11437
12349
  },
12350
+ "border": {
12351
+ "width": 1,
12352
+ "color": {
12353
+ "token": "border"
12354
+ }
12355
+ },
11438
12356
  "padding": {
11439
- "leading": 16,
11440
- "trailing": 16,
11441
- "top": 18,
11442
- "bottom": 28
12357
+ "leading": 20,
12358
+ "trailing": 20,
12359
+ "top": 12,
12360
+ "bottom": 12
11443
12361
  },
11444
- "onAppear": {
11445
- "actionId": "tier5.himiStoreCart.load"
11446
- }
12362
+ "hiddenPath": "$service:himiStoreCart.noItems"
11447
12363
  }
11448
- },
11449
- "logicBundle": {
11450
- "url": "http://localhost:8190/v1/bundles/himi-branded-lite-cart?integrity=",
11451
- "integrity": "",
11452
- "contentType": "application/javascript+ts-bundle",
11453
- "declaredCapabilities": [
11454
- "wix_api",
11455
- "wix_cashier",
11456
- "open_url",
11457
- "local_database",
11458
- "wix_platform",
11459
- "iap",
11460
- "app_info"
11461
- ],
11462
- "minBinaryVersion": "0.1.0",
11463
- "bundleVersion": "0.0.1"
11464
12364
  }
11465
12365
  },
11466
12366
  "himi_orders": {
@@ -27345,7 +28245,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27345
28245
  { pattern: "^himi_product(?:[_/](.+))?$", display: "himi_product[_{id}]", liveSeed: {"path":"/stores/v3/products/query","body":{"query":{"cursorPaging":{"limit":50}}},"listKey":"products","prefix":"himi_product_"}, template: {
27346
28246
  "screenId": "himi_product___HIMI_ID__",
27347
28247
  "renderer": "sdui_intent",
27348
- "title": "Product",
28248
+ "title": "",
27349
28249
  "schemaVersion": 1,
27350
28250
  "cacheControl": {
27351
28251
  "maxAge": 0,
@@ -27474,141 +28374,643 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27474
28374
  "package": "himalaya",
27475
28375
  "type": "Skeleton",
27476
28376
  "props": {
27477
- "height": 220,
28377
+ "height": 510,
27478
28378
  "cornerRadius": 8
27479
28379
  }
27480
28380
  },
27481
28381
  "modifiers": {
27482
- "height": 220,
27483
- "background": {
27484
- "token": "surfaceSecondary"
27485
- },
27486
- "cornerRadius": 8,
27487
- "accessibilityRole": "decorative"
28382
+ "height": 510,
28383
+ "background": {
28384
+ "token": "surfaceSecondary"
28385
+ },
28386
+ "cornerRadius": 8,
28387
+ "accessibilityRole": "decorative"
28388
+ }
28389
+ },
28390
+ {
28391
+ "id": "",
28392
+ "body": {
28393
+ "package": "himalaya",
28394
+ "type": "VStack",
28395
+ "props": {
28396
+ "spacing": 12,
28397
+ "children": [
28398
+ {
28399
+ "id": "himi_product.skeleton_title",
28400
+ "body": {
28401
+ "package": "himalaya",
28402
+ "type": "Skeleton",
28403
+ "props": {
28404
+ "height": 28,
28405
+ "cornerRadius": 8
28406
+ }
28407
+ },
28408
+ "modifiers": {
28409
+ "height": 28,
28410
+ "background": {
28411
+ "token": "surfaceSecondary"
28412
+ },
28413
+ "cornerRadius": 8,
28414
+ "accessibilityRole": "decorative"
28415
+ }
28416
+ },
28417
+ {
28418
+ "id": "himi_product.skeleton_body",
28419
+ "body": {
28420
+ "package": "himalaya",
28421
+ "type": "Skeleton",
28422
+ "props": {
28423
+ "height": 72,
28424
+ "cornerRadius": 8
28425
+ }
28426
+ },
28427
+ "modifiers": {
28428
+ "height": 72,
28429
+ "background": {
28430
+ "token": "surfaceSecondary"
28431
+ },
28432
+ "cornerRadius": 8,
28433
+ "accessibilityRole": "decorative"
28434
+ }
28435
+ }
28436
+ ]
28437
+ }
28438
+ },
28439
+ "modifiers": {
28440
+ "padding": {
28441
+ "leading": 16,
28442
+ "trailing": 16,
28443
+ "top": 12,
28444
+ "bottom": 12
28445
+ }
28446
+ }
28447
+ }
28448
+ ]
28449
+ }
28450
+ },
28451
+ "modifiers": {
28452
+ "hiddenPath": "$service:himiStoreProduct.notLoading"
28453
+ }
28454
+ },
28455
+ {
28456
+ "id": "",
28457
+ "body": {
28458
+ "package": "himalaya",
28459
+ "type": "VStack",
28460
+ "props": {
28461
+ "spacing": 16,
28462
+ "alignment": "leading",
28463
+ "children": [
28464
+ {
28465
+ "id": "himi_product.gallery",
28466
+ "body": {
28467
+ "package": "himalaya",
28468
+ "type": "Carousel",
28469
+ "props": {
28470
+ "itemsPath": "$service:himiStoreProduct.gallery",
28471
+ "items": [
28472
+ {
28473
+ "id": "",
28474
+ "body": {
28475
+ "package": "himalaya",
28476
+ "type": "Image",
28477
+ "props": {
28478
+ "url": "$item.url",
28479
+ "fillWidth": true,
28480
+ "height": 510,
28481
+ "contentMode": "fill",
28482
+ "contentDescription": "$service:himiStoreProduct.name"
28483
+ }
28484
+ },
28485
+ "modifiers": {
28486
+ "fillMaxWidth": true
28487
+ }
28488
+ }
28489
+ ]
28490
+ }
28491
+ },
28492
+ "modifiers": {
28493
+ "hiddenPath": "$service:himiStoreProduct.noGallery"
27488
28494
  }
27489
28495
  },
27490
28496
  {
27491
- "id": "himi_product.skeleton_title",
28497
+ "id": "",
27492
28498
  "body": {
27493
28499
  "package": "himalaya",
27494
- "type": "Skeleton",
28500
+ "type": "Image",
27495
28501
  "props": {
27496
- "height": 28,
27497
- "cornerRadius": 8
28502
+ "url": "$service:himiStoreProduct.image",
28503
+ "fillWidth": true,
28504
+ "height": 510,
28505
+ "contentMode": "fill",
28506
+ "contentDescription": "$service:himiStoreProduct.name"
27498
28507
  }
27499
28508
  },
27500
28509
  "modifiers": {
27501
- "height": 28,
27502
- "background": {
27503
- "token": "surfaceSecondary"
27504
- },
27505
- "cornerRadius": 8,
27506
- "accessibilityRole": "decorative"
28510
+ "fillMaxWidth": true,
28511
+ "hiddenPath": "$service:himiStoreProduct.noSingleImage"
27507
28512
  }
27508
28513
  },
27509
28514
  {
27510
- "id": "himi_product.skeleton_body",
28515
+ "id": "",
27511
28516
  "body": {
27512
28517
  "package": "himalaya",
27513
- "type": "Skeleton",
28518
+ "type": "ZStack",
27514
28519
  "props": {
27515
- "height": 72,
27516
- "cornerRadius": 8
28520
+ "alignment": "center",
28521
+ "children": [
28522
+ {
28523
+ "id": "",
28524
+ "body": {
28525
+ "package": "himalaya",
28526
+ "type": "Text",
28527
+ "props": {
28528
+ "text": "$service:himiStoreProduct.initial",
28529
+ "style": "display",
28530
+ "color": "textOnAccent"
28531
+ }
28532
+ }
28533
+ }
28534
+ ]
27517
28535
  }
27518
28536
  },
27519
28537
  "modifiers": {
27520
- "height": 72,
28538
+ "fillMaxWidth": true,
28539
+ "height": 510,
27521
28540
  "background": {
27522
- "token": "surfaceSecondary"
28541
+ "token": "accentPrimary"
27523
28542
  },
27524
- "cornerRadius": 8,
27525
- "accessibilityRole": "decorative"
28543
+ "hiddenPath": "$service:himiStoreProduct.hasImage"
27526
28544
  }
27527
- }
27528
- ]
27529
- }
27530
- },
27531
- "modifiers": {
27532
- "hiddenPath": "$service:himiStoreProduct.notLoading"
27533
- }
27534
- },
27535
- {
27536
- "id": "",
27537
- "body": {
27538
- "package": "himalaya",
27539
- "type": "VStack",
27540
- "props": {
27541
- "spacing": 16,
27542
- "alignment": "leading",
27543
- "children": [
28545
+ },
27544
28546
  {
27545
- "id": "himi_product.summary",
28547
+ "id": "",
27546
28548
  "body": {
27547
28549
  "package": "himalaya",
27548
28550
  "type": "VStack",
27549
28551
  "props": {
27550
- "spacing": 12,
28552
+ "spacing": 16,
27551
28553
  "alignment": "leading",
27552
28554
  "children": [
27553
28555
  {
27554
- "id": "himi_product.gallery",
28556
+ "id": "",
27555
28557
  "body": {
27556
28558
  "package": "himalaya",
27557
- "type": "Carousel",
28559
+ "type": "Text",
27558
28560
  "props": {
27559
- "itemsPath": "$service:himiStoreProduct.gallery",
27560
- "items": [
28561
+ "text": "On sale",
28562
+ "style": "caption",
28563
+ "color": "danger"
28564
+ }
28565
+ },
28566
+ "modifiers": {
28567
+ "background": {
28568
+ "token": "surfaceTertiary"
28569
+ },
28570
+ "cornerRadius": 4,
28571
+ "padding": {
28572
+ "leading": 8,
28573
+ "trailing": 8,
28574
+ "top": 4,
28575
+ "bottom": 4
28576
+ },
28577
+ "hiddenPath": "$service:himiStoreProduct.notOnSale"
28578
+ }
28579
+ },
28580
+ {
28581
+ "id": "himi_product.title",
28582
+ "body": {
28583
+ "package": "himalaya",
28584
+ "type": "Text",
28585
+ "props": {
28586
+ "text": "$service:himiStoreProduct.name",
28587
+ "style": "title3",
28588
+ "color": "textPrimary",
28589
+ "maxLines": 2,
28590
+ "collapseWhenEmpty": true
28591
+ }
28592
+ }
28593
+ },
28594
+ {
28595
+ "id": "himi_product.price_row",
28596
+ "body": {
28597
+ "package": "himalaya",
28598
+ "type": "HStack",
28599
+ "props": {
28600
+ "spacing": 8,
28601
+ "children": [
28602
+ {
28603
+ "id": "",
28604
+ "body": {
28605
+ "package": "himalaya",
28606
+ "type": "Text",
28607
+ "props": {
28608
+ "text": "$service:himiStoreProduct.wasPrice",
28609
+ "style": "title3",
28610
+ "color": "textSecondary",
28611
+ "collapseWhenEmpty": true,
28612
+ "decoration": "strikethrough"
28613
+ }
28614
+ },
28615
+ "modifiers": {
28616
+ "hiddenPath": "$service:himiStoreProduct.notOnSale"
28617
+ }
28618
+ },
28619
+ {
28620
+ "id": "himi_product.price_sale",
28621
+ "body": {
28622
+ "package": "himalaya",
28623
+ "type": "Text",
28624
+ "props": {
28625
+ "text": "$service:himiStoreProduct.price",
28626
+ "style": "title3",
28627
+ "color": "danger",
28628
+ "collapseWhenEmpty": true
28629
+ }
28630
+ },
28631
+ "modifiers": {
28632
+ "hiddenPath": "$service:himiStoreProduct.notOnSale"
28633
+ }
28634
+ },
28635
+ {
28636
+ "id": "himi_product.price",
28637
+ "body": {
28638
+ "package": "himalaya",
28639
+ "type": "Text",
28640
+ "props": {
28641
+ "text": "$service:himiStoreProduct.price",
28642
+ "style": "title3",
28643
+ "color": "accentPrimary",
28644
+ "collapseWhenEmpty": true
28645
+ }
28646
+ },
28647
+ "modifiers": {
28648
+ "hiddenPath": "$service:himiStoreProduct.wasPriceEmpty"
28649
+ }
28650
+ }
28651
+ ]
28652
+ }
28653
+ }
28654
+ },
28655
+ {
28656
+ "id": "himi_product.options_card",
28657
+ "body": {
28658
+ "package": "himalaya",
28659
+ "type": "VStack",
28660
+ "props": {
28661
+ "spacing": 12,
28662
+ "alignment": "leading",
28663
+ "children": [
28664
+ {
28665
+ "id": "himi_product.opt1_row",
28666
+ "body": {
28667
+ "package": "himalaya",
28668
+ "type": "VStack",
28669
+ "props": {
28670
+ "spacing": 8,
28671
+ "alignment": "leading",
28672
+ "children": [
28673
+ {
28674
+ "id": "",
28675
+ "body": {
28676
+ "package": "himalaya",
28677
+ "type": "Text",
28678
+ "props": {
28679
+ "text": "$service:himiStoreProduct.opt1Label",
28680
+ "style": "body",
28681
+ "collapseWhenEmpty": true
28682
+ }
28683
+ }
28684
+ },
28685
+ {
28686
+ "id": "himi_product.opt1",
28687
+ "body": {
28688
+ "package": "himalaya",
28689
+ "type": "Picker",
28690
+ "props": {
28691
+ "options": [],
28692
+ "optionsPath": "$service:himiStoreProduct.opt1Chips",
28693
+ "selectedId": "$service:himiStoreProduct.opt1SelectedId",
28694
+ "placeholder": "$service:himiStoreProduct.opt1Placeholder",
28695
+ "presentation": "sheet",
28696
+ "field": {
28697
+ "minHeight": 48,
28698
+ "cornerRadius": 4,
28699
+ "borderColor": "textSecondary",
28700
+ "borderWidth": 1,
28701
+ "padding": 16,
28702
+ "chevronIcon": "chevron_down"
28703
+ },
28704
+ "onChange": {
28705
+ "actionId": "tier5.himiStoreProduct.selectOption",
28706
+ "params": {
28707
+ "group": "1"
28708
+ }
28709
+ }
28710
+ }
28711
+ },
28712
+ "modifiers": {
28713
+ "accessibilityLabel": "$service:himiStoreProduct.opt1Label",
28714
+ "hiddenPath": "$service:himiStoreProduct.hasOpt1Error"
28715
+ }
28716
+ },
28717
+ {
28718
+ "id": "himi_product.opt1_error",
28719
+ "body": {
28720
+ "package": "himalaya",
28721
+ "type": "Picker",
28722
+ "props": {
28723
+ "options": [],
28724
+ "optionsPath": "$service:himiStoreProduct.opt1Chips",
28725
+ "selectedId": "$service:himiStoreProduct.opt1SelectedId",
28726
+ "placeholder": "$service:himiStoreProduct.opt1Placeholder",
28727
+ "presentation": "sheet",
28728
+ "field": {
28729
+ "minHeight": 48,
28730
+ "cornerRadius": 4,
28731
+ "borderColor": "danger",
28732
+ "borderWidth": 1,
28733
+ "padding": 16,
28734
+ "chevronIcon": "chevron_down"
28735
+ },
28736
+ "onChange": {
28737
+ "actionId": "tier5.himiStoreProduct.selectOption",
28738
+ "params": {
28739
+ "group": "1"
28740
+ }
28741
+ }
28742
+ }
28743
+ },
28744
+ "modifiers": {
28745
+ "accessibilityLabel": "$service:himiStoreProduct.opt1Label",
28746
+ "hiddenPath": "$service:himiStoreProduct.noOpt1Error"
28747
+ }
28748
+ },
28749
+ {
28750
+ "id": "",
28751
+ "body": {
28752
+ "package": "himalaya",
28753
+ "type": "Text",
28754
+ "props": {
28755
+ "text": "$service:himiStoreProduct.opt1Error",
28756
+ "style": "footnote",
28757
+ "color": "danger"
28758
+ }
28759
+ },
28760
+ "modifiers": {
28761
+ "hiddenPath": "$service:himiStoreProduct.noOpt1Error"
28762
+ }
28763
+ }
28764
+ ]
28765
+ }
28766
+ },
28767
+ "modifiers": {
28768
+ "hiddenPath": "$service:himiStoreProduct.noOpt1"
28769
+ }
28770
+ },
28771
+ {
28772
+ "id": "himi_product.opt2_row",
28773
+ "body": {
28774
+ "package": "himalaya",
28775
+ "type": "VStack",
28776
+ "props": {
28777
+ "spacing": 8,
28778
+ "alignment": "leading",
28779
+ "children": [
28780
+ {
28781
+ "id": "",
28782
+ "body": {
28783
+ "package": "himalaya",
28784
+ "type": "Text",
28785
+ "props": {
28786
+ "text": "$service:himiStoreProduct.opt2Label",
28787
+ "style": "body",
28788
+ "collapseWhenEmpty": true
28789
+ }
28790
+ }
28791
+ },
28792
+ {
28793
+ "id": "himi_product.opt2",
28794
+ "body": {
28795
+ "package": "himalaya",
28796
+ "type": "Picker",
28797
+ "props": {
28798
+ "options": [],
28799
+ "optionsPath": "$service:himiStoreProduct.opt2Chips",
28800
+ "selectedId": "$service:himiStoreProduct.opt2SelectedId",
28801
+ "placeholder": "$service:himiStoreProduct.opt2Placeholder",
28802
+ "presentation": "sheet",
28803
+ "field": {
28804
+ "minHeight": 48,
28805
+ "cornerRadius": 4,
28806
+ "borderColor": "textSecondary",
28807
+ "borderWidth": 1,
28808
+ "padding": 16,
28809
+ "chevronIcon": "chevron_down"
28810
+ },
28811
+ "onChange": {
28812
+ "actionId": "tier5.himiStoreProduct.selectOption",
28813
+ "params": {
28814
+ "group": "2"
28815
+ }
28816
+ }
28817
+ }
28818
+ },
28819
+ "modifiers": {
28820
+ "accessibilityLabel": "$service:himiStoreProduct.opt2Label",
28821
+ "hiddenPath": "$service:himiStoreProduct.hasOpt2Error"
28822
+ }
28823
+ },
28824
+ {
28825
+ "id": "himi_product.opt2_error",
28826
+ "body": {
28827
+ "package": "himalaya",
28828
+ "type": "Picker",
28829
+ "props": {
28830
+ "options": [],
28831
+ "optionsPath": "$service:himiStoreProduct.opt2Chips",
28832
+ "selectedId": "$service:himiStoreProduct.opt2SelectedId",
28833
+ "placeholder": "$service:himiStoreProduct.opt2Placeholder",
28834
+ "presentation": "sheet",
28835
+ "field": {
28836
+ "minHeight": 48,
28837
+ "cornerRadius": 4,
28838
+ "borderColor": "danger",
28839
+ "borderWidth": 1,
28840
+ "padding": 16,
28841
+ "chevronIcon": "chevron_down"
28842
+ },
28843
+ "onChange": {
28844
+ "actionId": "tier5.himiStoreProduct.selectOption",
28845
+ "params": {
28846
+ "group": "2"
28847
+ }
28848
+ }
28849
+ }
28850
+ },
28851
+ "modifiers": {
28852
+ "accessibilityLabel": "$service:himiStoreProduct.opt2Label",
28853
+ "hiddenPath": "$service:himiStoreProduct.noOpt2Error"
28854
+ }
28855
+ },
28856
+ {
28857
+ "id": "",
28858
+ "body": {
28859
+ "package": "himalaya",
28860
+ "type": "Text",
28861
+ "props": {
28862
+ "text": "$service:himiStoreProduct.opt2Error",
28863
+ "style": "footnote",
28864
+ "color": "danger"
28865
+ }
28866
+ },
28867
+ "modifiers": {
28868
+ "hiddenPath": "$service:himiStoreProduct.noOpt2Error"
28869
+ }
28870
+ }
28871
+ ]
28872
+ }
28873
+ },
28874
+ "modifiers": {
28875
+ "hiddenPath": "$service:himiStoreProduct.noOpt2"
28876
+ }
28877
+ },
28878
+ {
28879
+ "id": "himi_product.opt3_row",
28880
+ "body": {
28881
+ "package": "himalaya",
28882
+ "type": "VStack",
28883
+ "props": {
28884
+ "spacing": 8,
28885
+ "alignment": "leading",
28886
+ "children": [
28887
+ {
28888
+ "id": "",
28889
+ "body": {
28890
+ "package": "himalaya",
28891
+ "type": "Text",
28892
+ "props": {
28893
+ "text": "$service:himiStoreProduct.opt3Label",
28894
+ "style": "body",
28895
+ "collapseWhenEmpty": true
28896
+ }
28897
+ }
28898
+ },
28899
+ {
28900
+ "id": "himi_product.opt3",
28901
+ "body": {
28902
+ "package": "himalaya",
28903
+ "type": "Picker",
28904
+ "props": {
28905
+ "options": [],
28906
+ "optionsPath": "$service:himiStoreProduct.opt3Chips",
28907
+ "selectedId": "$service:himiStoreProduct.opt3SelectedId",
28908
+ "placeholder": "$service:himiStoreProduct.opt3Placeholder",
28909
+ "presentation": "sheet",
28910
+ "field": {
28911
+ "minHeight": 48,
28912
+ "cornerRadius": 4,
28913
+ "borderColor": "textSecondary",
28914
+ "borderWidth": 1,
28915
+ "padding": 16,
28916
+ "chevronIcon": "chevron_down"
28917
+ },
28918
+ "onChange": {
28919
+ "actionId": "tier5.himiStoreProduct.selectOption",
28920
+ "params": {
28921
+ "group": "3"
28922
+ }
28923
+ }
28924
+ }
28925
+ },
28926
+ "modifiers": {
28927
+ "accessibilityLabel": "$service:himiStoreProduct.opt3Label",
28928
+ "hiddenPath": "$service:himiStoreProduct.hasOpt3Error"
28929
+ }
28930
+ },
28931
+ {
28932
+ "id": "himi_product.opt3_error",
28933
+ "body": {
28934
+ "package": "himalaya",
28935
+ "type": "Picker",
28936
+ "props": {
28937
+ "options": [],
28938
+ "optionsPath": "$service:himiStoreProduct.opt3Chips",
28939
+ "selectedId": "$service:himiStoreProduct.opt3SelectedId",
28940
+ "placeholder": "$service:himiStoreProduct.opt3Placeholder",
28941
+ "presentation": "sheet",
28942
+ "field": {
28943
+ "minHeight": 48,
28944
+ "cornerRadius": 4,
28945
+ "borderColor": "danger",
28946
+ "borderWidth": 1,
28947
+ "padding": 16,
28948
+ "chevronIcon": "chevron_down"
28949
+ },
28950
+ "onChange": {
28951
+ "actionId": "tier5.himiStoreProduct.selectOption",
28952
+ "params": {
28953
+ "group": "3"
28954
+ }
28955
+ }
28956
+ }
28957
+ },
28958
+ "modifiers": {
28959
+ "accessibilityLabel": "$service:himiStoreProduct.opt3Label",
28960
+ "hiddenPath": "$service:himiStoreProduct.noOpt3Error"
28961
+ }
28962
+ },
28963
+ {
28964
+ "id": "",
28965
+ "body": {
28966
+ "package": "himalaya",
28967
+ "type": "Text",
28968
+ "props": {
28969
+ "text": "$service:himiStoreProduct.opt3Error",
28970
+ "style": "footnote",
28971
+ "color": "danger"
28972
+ }
28973
+ },
28974
+ "modifiers": {
28975
+ "hiddenPath": "$service:himiStoreProduct.noOpt3Error"
28976
+ }
28977
+ }
28978
+ ]
28979
+ }
28980
+ },
28981
+ "modifiers": {
28982
+ "hiddenPath": "$service:himiStoreProduct.noOpt3"
28983
+ }
28984
+ },
27561
28985
  {
27562
28986
  "id": "",
27563
28987
  "body": {
27564
28988
  "package": "himalaya",
27565
- "type": "Image",
28989
+ "type": "Text",
27566
28990
  "props": {
27567
- "url": "$item.url",
27568
- "fillWidth": true,
27569
- "height": 240,
27570
- "contentMode": "fill",
27571
- "contentDescription": "$service:himiStoreProduct.name"
28991
+ "text": "This product has more options than this screen can show. Open it on the website to order.",
28992
+ "style": "footnote",
28993
+ "color": "textSecondary"
27572
28994
  }
27573
28995
  },
27574
28996
  "modifiers": {
27575
- "cornerRadius": 8,
27576
- "fillMaxWidth": true
28997
+ "hiddenPath": "$service:himiStoreProduct.noOptionsOverflow"
27577
28998
  }
27578
28999
  }
27579
29000
  ]
27580
29001
  }
27581
29002
  },
27582
29003
  "modifiers": {
27583
- "hiddenPath": "$service:himiStoreProduct.noGallery"
29004
+ "hiddenPath": "$service:himiStoreProduct.noOptions"
27584
29005
  }
27585
29006
  },
27586
29007
  {
27587
- "id": "",
27588
- "body": {
27589
- "package": "himalaya",
27590
- "type": "Image",
27591
- "props": {
27592
- "url": "$service:himiStoreProduct.image",
27593
- "fillWidth": true,
27594
- "height": 240,
27595
- "contentMode": "fill",
27596
- "contentDescription": "$service:himiStoreProduct.name"
27597
- }
27598
- },
27599
- "modifiers": {
27600
- "cornerRadius": 8,
27601
- "fillMaxWidth": true,
27602
- "hiddenPath": "$service:himiStoreProduct.noSingleImage"
27603
- }
27604
- },
27605
- {
27606
- "id": "",
29008
+ "id": "himi_product.qty_row",
27607
29009
  "body": {
27608
29010
  "package": "himalaya",
27609
- "type": "ZStack",
29011
+ "type": "HStack",
27610
29012
  "props": {
27611
- "alignment": "center",
29013
+ "spacing": 12,
27612
29014
  "children": [
27613
29015
  {
27614
29016
  "id": "",
@@ -27616,49 +29018,41 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27616
29018
  "package": "himalaya",
27617
29019
  "type": "Text",
27618
29020
  "props": {
27619
- "text": "$service:himiStoreProduct.initial",
27620
- "style": "display",
27621
- "color": "textOnAccent"
29021
+ "text": "Quantity",
29022
+ "style": "body"
29023
+ }
29024
+ }
29025
+ },
29026
+ {
29027
+ "id": "",
29028
+ "body": {
29029
+ "package": "himalaya",
29030
+ "type": "Spacer",
29031
+ "props": {}
29032
+ }
29033
+ },
29034
+ {
29035
+ "id": "himi_product.qty",
29036
+ "body": {
29037
+ "package": "himalaya",
29038
+ "type": "Stepper",
29039
+ "props": {
29040
+ "value": 1,
29041
+ "valuePath": "$service:himiStoreProduct.quantity",
29042
+ "min": 1,
29043
+ "max": 99,
29044
+ "presentation": "plain",
29045
+ "onChange": {
29046
+ "actionId": "tier5.himiStoreProduct.setQuantity"
29047
+ }
27622
29048
  }
29049
+ },
29050
+ "modifiers": {
29051
+ "accessibilityLabel": "Quantity"
27623
29052
  }
27624
29053
  }
27625
29054
  ]
27626
29055
  }
27627
- },
27628
- "modifiers": {
27629
- "fillMaxWidth": true,
27630
- "height": 220,
27631
- "background": {
27632
- "token": "accentPrimary"
27633
- },
27634
- "cornerRadius": 8,
27635
- "hiddenPath": "$service:himiStoreProduct.hasImage"
27636
- }
27637
- },
27638
- {
27639
- "id": "",
27640
- "body": {
27641
- "package": "himalaya",
27642
- "type": "Text",
27643
- "props": {
27644
- "text": "$service:himiStoreProduct.name",
27645
- "style": "title2",
27646
- "maxLines": 2,
27647
- "collapseWhenEmpty": true
27648
- }
27649
- }
27650
- },
27651
- {
27652
- "id": "himi_product.price",
27653
- "body": {
27654
- "package": "himalaya",
27655
- "type": "Text",
27656
- "props": {
27657
- "text": "$service:himiStoreProduct.price",
27658
- "style": "title1",
27659
- "color": "accentPrimary",
27660
- "collapseWhenEmpty": true
27661
- }
27662
29056
  }
27663
29057
  },
27664
29058
  {
@@ -27687,7 +29081,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27687
29081
  "props": {
27688
29082
  "text": "$service:himiStoreProduct.description",
27689
29083
  "style": "body",
27690
- "color": "textSecondary",
29084
+ "color": "textPrimary",
27691
29085
  "collapseWhenEmpty": true
27692
29086
  }
27693
29087
  }
@@ -27701,304 +29095,267 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
27701
29095
  "package": "himalaya",
27702
29096
  "type": "Text",
27703
29097
  "props": {
27704
- "text": "$service:himiStoreProduct.description",
27705
- "style": "body",
27706
- "color": "textSecondary",
27707
- "collapseWhenEmpty": true
27708
- }
27709
- },
27710
- "modifiers": {
27711
- "hiddenPath": "$service:himiStoreProduct.hasDescriptionJson"
27712
- }
27713
- }
27714
- ]
27715
- }
27716
- },
27717
- "modifiers": {
27718
- "background": {
27719
- "token": "surfaceElevated"
27720
- },
27721
- "border": {
27722
- "width": 1,
27723
- "color": {
27724
- "token": "border"
27725
- }
27726
- },
27727
- "cornerRadius": 8,
27728
- "padding": {
27729
- "leading": 14,
27730
- "trailing": 14,
27731
- "top": 14,
27732
- "bottom": 14
27733
- }
27734
- }
27735
- },
27736
- {
27737
- "id": "himi_product.options_card",
27738
- "body": {
27739
- "package": "himalaya",
27740
- "type": "VStack",
27741
- "props": {
27742
- "spacing": 12,
27743
- "alignment": "leading",
27744
- "children": [
27745
- {
27746
- "id": "himi_product.opt1_row",
27747
- "body": {
27748
- "package": "himalaya",
27749
- "type": "VStack",
27750
- "props": {
27751
- "spacing": 8,
27752
- "alignment": "leading",
27753
- "children": [
27754
- {
27755
- "id": "",
27756
- "body": {
27757
- "package": "himalaya",
27758
- "type": "Text",
27759
- "props": {
27760
- "text": "$service:himiStoreProduct.opt1Label",
27761
- "style": "bodyEmphasis",
27762
- "collapseWhenEmpty": true
27763
- }
27764
- }
27765
- },
27766
- {
27767
- "id": "himi_product.opt1",
27768
- "body": {
27769
- "package": "himalaya",
27770
- "type": "FilterChips",
27771
- "props": {
27772
- "chips": [],
27773
- "optionsPath": "$service:himiStoreProduct.opt1Chips",
27774
- "selectedIds": [
27775
- "$service:himiStoreProduct.opt1Selected"
27776
- ],
27777
- "onChange": {
27778
- "actionId": "tier5.himiStoreProduct.selectOption",
27779
- "params": {
27780
- "group": "1"
27781
- }
27782
- }
27783
- }
27784
- },
27785
- "modifiers": {
27786
- "accessibilityLabel": "$service:himiStoreProduct.opt1Label"
27787
- }
27788
- }
27789
- ]
29098
+ "text": "$service:himiStoreProduct.description",
29099
+ "style": "body",
29100
+ "color": "textPrimary",
29101
+ "collapseWhenEmpty": true
29102
+ }
29103
+ },
29104
+ "modifiers": {
29105
+ "hiddenPath": "$service:himiStoreProduct.hasDescriptionJson"
29106
+ }
29107
+ },
29108
+ {
29109
+ "id": "himi_product.sku",
29110
+ "body": {
29111
+ "package": "himalaya",
29112
+ "type": "Text",
29113
+ "props": {
29114
+ "text": "$service:himiStoreProduct.skuLabel",
29115
+ "style": "caption",
29116
+ "color": "textSecondary",
29117
+ "collapseWhenEmpty": true
27790
29118
  }
29119
+ }
29120
+ },
29121
+ {
29122
+ "id": "",
29123
+ "body": {
29124
+ "package": "himalaya",
29125
+ "type": "Divider",
29126
+ "props": {}
27791
29127
  },
27792
29128
  "modifiers": {
27793
- "hiddenPath": "$service:himiStoreProduct.noOpt1"
29129
+ "hiddenPath": "$service:himiStoreProduct.noSku"
27794
29130
  }
27795
29131
  },
27796
29132
  {
27797
- "id": "himi_product.opt2_row",
29133
+ "id": "himi_product.return_policy",
27798
29134
  "body": {
27799
29135
  "package": "himalaya",
27800
29136
  "type": "VStack",
27801
29137
  "props": {
27802
- "spacing": 8,
29138
+ "spacing": 0,
27803
29139
  "alignment": "leading",
27804
29140
  "children": [
27805
29141
  {
27806
- "id": "",
29142
+ "id": "himi_product.return_policy.header",
27807
29143
  "body": {
27808
29144
  "package": "himalaya",
27809
- "type": "Text",
29145
+ "type": "HStack",
27810
29146
  "props": {
27811
- "text": "$service:himiStoreProduct.opt2Label",
27812
- "style": "bodyEmphasis",
27813
- "collapseWhenEmpty": true
29147
+ "spacing": 12,
29148
+ "children": [
29149
+ {
29150
+ "id": "",
29151
+ "body": {
29152
+ "package": "himalaya",
29153
+ "type": "Text",
29154
+ "props": {
29155
+ "text": "Return & refund policy",
29156
+ "style": "body",
29157
+ "maxLines": 2
29158
+ }
29159
+ }
29160
+ },
29161
+ {
29162
+ "id": "",
29163
+ "body": {
29164
+ "package": "himalaya",
29165
+ "type": "Spacer",
29166
+ "props": {}
29167
+ }
29168
+ },
29169
+ {
29170
+ "id": "",
29171
+ "body": {
29172
+ "package": "himalaya",
29173
+ "type": "Icon",
29174
+ "props": {
29175
+ "name": "chevron_down",
29176
+ "size": 16,
29177
+ "tint": "textSecondary"
29178
+ }
29179
+ },
29180
+ "modifiers": {
29181
+ "accessibilityRole": "decorative",
29182
+ "hiddenPath": "$service:himiStoreProduct.returnPolicyExpanded"
29183
+ }
29184
+ },
29185
+ {
29186
+ "id": "",
29187
+ "body": {
29188
+ "package": "himalaya",
29189
+ "type": "Icon",
29190
+ "props": {
29191
+ "name": "chevron_up",
29192
+ "size": 16,
29193
+ "tint": "textSecondary"
29194
+ }
29195
+ },
29196
+ "modifiers": {
29197
+ "accessibilityRole": "decorative",
29198
+ "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
29199
+ }
29200
+ }
29201
+ ]
27814
29202
  }
29203
+ },
29204
+ "modifiers": {
29205
+ "fillMaxWidth": true,
29206
+ "padding": {
29207
+ "top": 18,
29208
+ "bottom": 18
29209
+ },
29210
+ "onTap": {
29211
+ "actionId": "tier5.himiStoreProduct.toggleReturnPolicy"
29212
+ },
29213
+ "pressFeedback": "highlight",
29214
+ "accessibilityRole": "button",
29215
+ "accessibilityLabel": "Return & refund policy"
27815
29216
  }
27816
29217
  },
27817
29218
  {
27818
- "id": "himi_product.opt2",
29219
+ "id": "",
27819
29220
  "body": {
27820
29221
  "package": "himalaya",
27821
- "type": "FilterChips",
29222
+ "type": "Text",
27822
29223
  "props": {
27823
- "chips": [],
27824
- "optionsPath": "$service:himiStoreProduct.opt2Chips",
27825
- "selectedIds": [
27826
- "$service:himiStoreProduct.opt2Selected"
27827
- ],
27828
- "onChange": {
27829
- "actionId": "tier5.himiStoreProduct.selectOption",
27830
- "params": {
27831
- "group": "2"
27832
- }
27833
- }
29224
+ "text": "$service:himiStoreProduct.returnPolicyBody",
29225
+ "style": "body",
29226
+ "color": "textSecondary"
27834
29227
  }
27835
29228
  },
27836
29229
  "modifiers": {
27837
- "accessibilityLabel": "$service:himiStoreProduct.opt2Label"
29230
+ "padding": {
29231
+ "bottom": 18
29232
+ },
29233
+ "hiddenPath": "$service:himiStoreProduct.returnPolicyCollapsed"
29234
+ }
29235
+ },
29236
+ {
29237
+ "id": "",
29238
+ "body": {
29239
+ "package": "himalaya",
29240
+ "type": "Divider",
29241
+ "props": {}
27838
29242
  }
27839
29243
  }
27840
29244
  ]
27841
29245
  }
27842
- },
27843
- "modifiers": {
27844
- "hiddenPath": "$service:himiStoreProduct.noOpt2"
27845
29246
  }
27846
29247
  },
27847
29248
  {
27848
- "id": "himi_product.opt3_row",
29249
+ "id": "himi_product.shipping_info",
27849
29250
  "body": {
27850
29251
  "package": "himalaya",
27851
29252
  "type": "VStack",
27852
29253
  "props": {
27853
- "spacing": 8,
29254
+ "spacing": 0,
27854
29255
  "alignment": "leading",
27855
29256
  "children": [
27856
29257
  {
27857
- "id": "",
27858
- "body": {
27859
- "package": "himalaya",
27860
- "type": "Text",
27861
- "props": {
27862
- "text": "$service:himiStoreProduct.opt3Label",
27863
- "style": "bodyEmphasis",
27864
- "collapseWhenEmpty": true
27865
- }
27866
- }
27867
- },
27868
- {
27869
- "id": "himi_product.opt3",
29258
+ "id": "himi_product.shipping_info.header",
27870
29259
  "body": {
27871
29260
  "package": "himalaya",
27872
- "type": "FilterChips",
29261
+ "type": "HStack",
27873
29262
  "props": {
27874
- "chips": [],
27875
- "optionsPath": "$service:himiStoreProduct.opt3Chips",
27876
- "selectedIds": [
27877
- "$service:himiStoreProduct.opt3Selected"
27878
- ],
27879
- "onChange": {
27880
- "actionId": "tier5.himiStoreProduct.selectOption",
27881
- "params": {
27882
- "group": "3"
29263
+ "spacing": 12,
29264
+ "children": [
29265
+ {
29266
+ "id": "",
29267
+ "body": {
29268
+ "package": "himalaya",
29269
+ "type": "Text",
29270
+ "props": {
29271
+ "text": "Shipping info",
29272
+ "style": "body",
29273
+ "maxLines": 2
29274
+ }
29275
+ }
29276
+ },
29277
+ {
29278
+ "id": "",
29279
+ "body": {
29280
+ "package": "himalaya",
29281
+ "type": "Spacer",
29282
+ "props": {}
29283
+ }
29284
+ },
29285
+ {
29286
+ "id": "",
29287
+ "body": {
29288
+ "package": "himalaya",
29289
+ "type": "Icon",
29290
+ "props": {
29291
+ "name": "chevron_down",
29292
+ "size": 16,
29293
+ "tint": "textSecondary"
29294
+ }
29295
+ },
29296
+ "modifiers": {
29297
+ "accessibilityRole": "decorative",
29298
+ "hiddenPath": "$service:himiStoreProduct.shippingInfoExpanded"
29299
+ }
29300
+ },
29301
+ {
29302
+ "id": "",
29303
+ "body": {
29304
+ "package": "himalaya",
29305
+ "type": "Icon",
29306
+ "props": {
29307
+ "name": "chevron_up",
29308
+ "size": 16,
29309
+ "tint": "textSecondary"
29310
+ }
29311
+ },
29312
+ "modifiers": {
29313
+ "accessibilityRole": "decorative",
29314
+ "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
29315
+ }
27883
29316
  }
27884
- }
29317
+ ]
27885
29318
  }
27886
29319
  },
27887
29320
  "modifiers": {
27888
- "accessibilityLabel": "$service:himiStoreProduct.opt3Label"
29321
+ "fillMaxWidth": true,
29322
+ "padding": {
29323
+ "top": 18,
29324
+ "bottom": 18
29325
+ },
29326
+ "onTap": {
29327
+ "actionId": "tier5.himiStoreProduct.toggleShippingInfo"
29328
+ },
29329
+ "pressFeedback": "highlight",
29330
+ "accessibilityRole": "button",
29331
+ "accessibilityLabel": "Shipping info"
27889
29332
  }
27890
- }
27891
- ]
27892
- }
27893
- },
27894
- "modifiers": {
27895
- "hiddenPath": "$service:himiStoreProduct.noOpt3"
27896
- }
27897
- },
27898
- {
27899
- "id": "himi_product.options_hint",
27900
- "body": {
27901
- "package": "himalaya",
27902
- "type": "Text",
27903
- "props": {
27904
- "text": "$service:himiStoreProduct.optionsHint",
27905
- "style": "footnote",
27906
- "color": "textSecondary",
27907
- "collapseWhenEmpty": true
27908
- }
27909
- }
27910
- },
27911
- {
27912
- "id": "",
27913
- "body": {
27914
- "package": "himalaya",
27915
- "type": "Text",
27916
- "props": {
27917
- "text": "This product has more options than this screen can show. Open it on the website to order.",
27918
- "style": "footnote",
27919
- "color": "textSecondary"
27920
- }
27921
- },
27922
- "modifiers": {
27923
- "hiddenPath": "$service:himiStoreProduct.noOptionsOverflow"
27924
- }
27925
- }
27926
- ]
27927
- }
27928
- },
27929
- "modifiers": {
27930
- "background": {
27931
- "token": "surfaceElevated"
27932
- },
27933
- "border": {
27934
- "width": 1,
27935
- "color": {
27936
- "token": "border"
27937
- }
27938
- },
27939
- "cornerRadius": 8,
27940
- "padding": {
27941
- "leading": 14,
27942
- "trailing": 14,
27943
- "top": 14,
27944
- "bottom": 14
27945
- },
27946
- "hiddenPath": "$service:himiStoreProduct.noOptions"
27947
- }
27948
- },
27949
- {
27950
- "id": "himi_product.qty_card",
27951
- "body": {
27952
- "package": "himalaya",
27953
- "type": "VStack",
27954
- "props": {
27955
- "spacing": 12,
27956
- "alignment": "leading",
27957
- "children": [
27958
- {
27959
- "id": "himi_product.qty_row",
27960
- "body": {
27961
- "package": "himalaya",
27962
- "type": "HStack",
27963
- "props": {
27964
- "spacing": 12,
27965
- "children": [
29333
+ },
27966
29334
  {
27967
29335
  "id": "",
27968
29336
  "body": {
27969
29337
  "package": "himalaya",
27970
29338
  "type": "Text",
27971
29339
  "props": {
27972
- "text": "Quantity",
27973
- "style": "bodyEmphasis"
29340
+ "text": "$service:himiStoreProduct.shippingInfoBody",
29341
+ "style": "body",
29342
+ "color": "textSecondary"
27974
29343
  }
29344
+ },
29345
+ "modifiers": {
29346
+ "padding": {
29347
+ "bottom": 18
29348
+ },
29349
+ "hiddenPath": "$service:himiStoreProduct.shippingInfoCollapsed"
27975
29350
  }
27976
29351
  },
27977
29352
  {
27978
29353
  "id": "",
27979
29354
  "body": {
27980
29355
  "package": "himalaya",
27981
- "type": "Spacer",
29356
+ "type": "Divider",
27982
29357
  "props": {}
27983
29358
  }
27984
- },
27985
- {
27986
- "id": "himi_product.qty",
27987
- "body": {
27988
- "package": "himalaya",
27989
- "type": "Stepper",
27990
- "props": {
27991
- "value": 1,
27992
- "min": 1,
27993
- "max": 99,
27994
- "onChange": {
27995
- "actionId": "tier5.himiStoreProduct.setQuantity"
27996
- }
27997
- }
27998
- },
27999
- "modifiers": {
28000
- "accessibilityLabel": "Quantity"
28001
- }
28002
29359
  }
28003
29360
  ]
28004
29361
  }
@@ -28008,107 +29365,34 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28008
29365
  }
28009
29366
  },
28010
29367
  "modifiers": {
28011
- "background": {
28012
- "token": "surfaceElevated"
28013
- },
28014
- "border": {
28015
- "width": 1,
28016
- "color": {
28017
- "token": "border"
28018
- }
28019
- },
28020
- "cornerRadius": 8,
28021
29368
  "padding": {
28022
- "leading": 14,
28023
- "trailing": 14,
28024
- "top": 14,
28025
- "bottom": 14
28026
- }
28027
- }
28028
- },
28029
- {
28030
- "id": "himi_product.save",
28031
- "body": {
28032
- "package": "himalaya",
28033
- "type": "Button",
28034
- "props": {
28035
- "title": "$service:himiStoreProduct.saveLabel",
28036
- "style": "secondary",
28037
- "fullWidth": true,
28038
- "leadingIcon": "bookmark",
28039
- "action": {
28040
- "actionId": "tier5.himiStoreProduct.toggleSave"
28041
- }
28042
- }
28043
- }
28044
- },
28045
- {
28046
- "id": "himi_product.save_hint",
28047
- "body": {
28048
- "package": "himalaya",
28049
- "type": "Text",
28050
- "props": {
28051
- "text": "$service:himiStoreProduct.saveHint",
28052
- "style": "footnote",
28053
- "collapseWhenEmpty": true
28054
- }
28055
- }
28056
- },
28057
- {
28058
- "id": "himi_product.saved_list",
28059
- "body": {
28060
- "package": "himalaya",
28061
- "type": "Button",
28062
- "props": {
28063
- "title": "View saved products",
28064
- "style": "secondary",
28065
- "fullWidth": true,
28066
- "action": {
28067
- "actionId": "himi.open",
28068
- "params": {
28069
- "screenId": "himi_saved_products"
28070
- }
28071
- }
28072
- }
28073
- }
28074
- },
28075
- {
28076
- "id": "himi_product.share",
28077
- "body": {
28078
- "package": "himalaya",
28079
- "type": "Button",
28080
- "props": {
28081
- "title": "Share",
28082
- "style": "secondary",
28083
- "fullWidth": true,
28084
- "leadingIcon": "share",
28085
- "action": {
28086
- "actionId": "tier5.himiStoreProduct.share"
28087
- }
28088
- }
28089
- }
28090
- },
28091
- {
28092
- "id": "",
28093
- "body": {
28094
- "package": "himalaya",
28095
- "type": "Text",
28096
- "props": {
28097
- "text": "$service:himiStoreProduct.cartHint",
28098
- "style": "footnote",
28099
- "color": "textSecondary",
28100
- "collapseWhenEmpty": true
29369
+ "leading": 16,
29370
+ "trailing": 16,
29371
+ "top": 4,
29372
+ "bottom": 8
28101
29373
  }
28102
- },
28103
- "modifiers": {
28104
- "hiddenPath": "$service:himiStoreProduct.added"
28105
29374
  }
28106
29375
  }
28107
29376
  ]
28108
29377
  }
28109
29378
  },
28110
29379
  "modifiers": {
28111
- "hiddenPath": "$service:himiStoreProduct.isLoading"
29380
+ "hiddenPath": "$service:himiStoreProduct.hideProduct"
29381
+ }
29382
+ },
29383
+ {
29384
+ "id": "himi_product.share_hint",
29385
+ "body": {
29386
+ "package": "himalaya",
29387
+ "type": "Snackbar",
29388
+ "props": {
29389
+ "message": "Sharing is not available on this device.",
29390
+ "severity": "warning",
29391
+ "durationMs": 3000
29392
+ }
29393
+ },
29394
+ "modifiers": {
29395
+ "hiddenPath": "$service:himiStoreProduct.noShareHint"
28112
29396
  }
28113
29397
  },
28114
29398
  {
@@ -28162,24 +29446,273 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28162
29446
  "screenId": "himi_shop"
28163
29447
  }
28164
29448
  }
28165
- }
29449
+ }
29450
+ }
29451
+ }
29452
+ ]
29453
+ }
29454
+ },
29455
+ "modifiers": {
29456
+ "padding": {
29457
+ "leading": 24,
29458
+ "trailing": 24,
29459
+ "top": 24,
29460
+ "bottom": 24
29461
+ },
29462
+ "transition": {
29463
+ "enter": "fade",
29464
+ "exit": "fade"
29465
+ },
29466
+ "hiddenPath": "$service:himiStoreProduct.noEmpty"
29467
+ }
29468
+ },
29469
+ {
29470
+ "id": "himi_product.added_sheet",
29471
+ "body": {
29472
+ "package": "himalaya",
29473
+ "type": "BottomSheet",
29474
+ "props": {
29475
+ "presentedPath": "$service:himiStoreProduct.addedSheetPresented",
29476
+ "placement": "inline",
29477
+ "modal": false,
29478
+ "autoDismissMs": 4000,
29479
+ "detents": [
29480
+ 0.5,
29481
+ 0.9
29482
+ ],
29483
+ "label": "Item added to cart",
29484
+ "onDismiss": {
29485
+ "actionId": "tier5.himiStoreProduct.closeAddedSheet"
29486
+ },
29487
+ "content": {
29488
+ "id": "",
29489
+ "body": {
29490
+ "package": "himalaya",
29491
+ "type": "VStack",
29492
+ "props": {
29493
+ "spacing": 16,
29494
+ "children": [
29495
+ {
29496
+ "id": "",
29497
+ "body": {
29498
+ "package": "himalaya",
29499
+ "type": "HStack",
29500
+ "props": {
29501
+ "spacing": 12,
29502
+ "children": [
29503
+ {
29504
+ "id": "himi_product.added_sheet_title",
29505
+ "body": {
29506
+ "package": "himalaya",
29507
+ "type": "Text",
29508
+ "props": {
29509
+ "text": "Item added to cart",
29510
+ "style": "title3"
29511
+ }
29512
+ }
29513
+ },
29514
+ {
29515
+ "id": "",
29516
+ "body": {
29517
+ "package": "himalaya",
29518
+ "type": "Spacer",
29519
+ "props": {}
29520
+ }
29521
+ },
29522
+ {
29523
+ "id": "himi_product.added_sheet_close",
29524
+ "body": {
29525
+ "package": "himalaya",
29526
+ "type": "Button",
29527
+ "props": {
29528
+ "title": "Close confirmation",
29529
+ "action": {
29530
+ "actionId": "tier5.himiStoreProduct.closeAddedSheet"
29531
+ },
29532
+ "style": "tertiary",
29533
+ "iconOnly": true,
29534
+ "leadingIcon": "close",
29535
+ "cornerRadius": 22,
29536
+ "minHeight": 44
29537
+ }
29538
+ },
29539
+ "modifiers": {
29540
+ "width": 44,
29541
+ "height": 44,
29542
+ "accessibilityLabel": "Close confirmation",
29543
+ "accessibilityRole": "button"
29544
+ }
29545
+ }
29546
+ ]
29547
+ }
29548
+ },
29549
+ "modifiers": {
29550
+ "background": {
29551
+ "token": "surfaceSecondary"
29552
+ },
29553
+ "padding": {
29554
+ "leading": 16,
29555
+ "trailing": 16,
29556
+ "top": 12,
29557
+ "bottom": 12
29558
+ }
29559
+ }
29560
+ },
29561
+ {
29562
+ "id": "",
29563
+ "body": {
29564
+ "package": "himalaya",
29565
+ "type": "HStack",
29566
+ "props": {
29567
+ "spacing": 12,
29568
+ "children": [
29569
+ {
29570
+ "id": "",
29571
+ "body": {
29572
+ "package": "himalaya",
29573
+ "type": "Image",
29574
+ "props": {
29575
+ "url": "$service:himiStoreProduct.image",
29576
+ "width": 88,
29577
+ "height": 112,
29578
+ "contentMode": "fill",
29579
+ "shape": "rect",
29580
+ "contentDescription": "$service:himiStoreProduct.name"
29581
+ }
29582
+ }
29583
+ },
29584
+ {
29585
+ "id": "",
29586
+ "body": {
29587
+ "package": "himalaya",
29588
+ "type": "VStack",
29589
+ "props": {
29590
+ "spacing": 6,
29591
+ "alignment": "leading",
29592
+ "children": [
29593
+ {
29594
+ "id": "",
29595
+ "body": {
29596
+ "package": "himalaya",
29597
+ "type": "Text",
29598
+ "props": {
29599
+ "text": "$service:himiStoreProduct.name",
29600
+ "style": "bodyEmphasis",
29601
+ "maxLines": 2
29602
+ }
29603
+ }
29604
+ },
29605
+ {
29606
+ "id": "",
29607
+ "body": {
29608
+ "package": "himalaya",
29609
+ "type": "Text",
29610
+ "props": {
29611
+ "text": "$service:himiStoreProduct.price",
29612
+ "style": "body"
29613
+ }
29614
+ }
29615
+ },
29616
+ {
29617
+ "id": "",
29618
+ "body": {
29619
+ "package": "himalaya",
29620
+ "type": "Text",
29621
+ "props": {
29622
+ "text": "$service:himiStoreProduct.optionsSummary",
29623
+ "style": "footnote",
29624
+ "color": "textSecondary",
29625
+ "collapseWhenEmpty": true
29626
+ }
29627
+ }
29628
+ },
29629
+ {
29630
+ "id": "",
29631
+ "body": {
29632
+ "package": "himalaya",
29633
+ "type": "Text",
29634
+ "props": {
29635
+ "text": "$service:himiStoreProduct.quantityLabel",
29636
+ "style": "footnote",
29637
+ "color": "textSecondary"
29638
+ }
29639
+ },
29640
+ "modifiers": {
29641
+ "hiddenPath": "$service:himiStoreProduct.quantityIsOne"
29642
+ }
29643
+ }
29644
+ ]
29645
+ }
29646
+ }
29647
+ }
29648
+ ]
29649
+ }
29650
+ }
29651
+ },
29652
+ {
29653
+ "id": "",
29654
+ "body": {
29655
+ "package": "himalaya",
29656
+ "type": "HStack",
29657
+ "props": {
29658
+ "spacing": 10,
29659
+ "children": [
29660
+ {
29661
+ "id": "himi_product.view_cart",
29662
+ "body": {
29663
+ "package": "himalaya",
29664
+ "type": "Button",
29665
+ "props": {
29666
+ "title": "View cart",
29667
+ "style": "secondary",
29668
+ "fullWidth": true,
29669
+ "action": {
29670
+ "actionId": "himi.open",
29671
+ "params": {
29672
+ "screenId": "himi_cart"
29673
+ }
29674
+ }
29675
+ }
29676
+ }
29677
+ },
29678
+ {
29679
+ "id": "himi_product.checkout",
29680
+ "body": {
29681
+ "package": "himalaya",
29682
+ "type": "Button",
29683
+ "props": {
29684
+ "title": "Checkout",
29685
+ "style": "primary",
29686
+ "fullWidth": true,
29687
+ "action": {
29688
+ "actionId": "himi.open",
29689
+ "params": {
29690
+ "screenId": "himi_cart"
29691
+ }
29692
+ }
29693
+ }
29694
+ }
29695
+ }
29696
+ ]
29697
+ }
29698
+ }
29699
+ }
29700
+ ]
29701
+ }
29702
+ },
29703
+ "modifiers": {
29704
+ "padding": {
29705
+ "leading": 16,
29706
+ "trailing": 16,
29707
+ "top": 16,
29708
+ "bottom": 24
29709
+ },
29710
+ "background": {
29711
+ "token": "surfacePrimary"
28166
29712
  }
28167
29713
  }
28168
- ]
29714
+ }
28169
29715
  }
28170
- },
28171
- "modifiers": {
28172
- "padding": {
28173
- "leading": 24,
28174
- "trailing": 24,
28175
- "top": 24,
28176
- "bottom": 24
28177
- },
28178
- "transition": {
28179
- "enter": "fade",
28180
- "exit": "fade"
28181
- },
28182
- "hiddenPath": "$service:himiStoreProduct.noEmpty"
28183
29716
  }
28184
29717
  }
28185
29718
  ]
@@ -28190,9 +29723,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28190
29723
  "token": "surfacePrimary"
28191
29724
  },
28192
29725
  "padding": {
28193
- "leading": 16,
28194
- "trailing": 16,
28195
- "top": 18,
29726
+ "top": 0,
28196
29727
  "bottom": 24
28197
29728
  },
28198
29729
  "onAppear": {
@@ -28219,7 +29750,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28219
29750
  "id": "__HIMI_ID__"
28220
29751
  },
28221
29752
  "stickyFooter": {
28222
- "id": "",
29753
+ "id": "himi_product.stickyFooter",
28223
29754
  "body": {
28224
29755
  "package": "himalaya",
28225
29756
  "type": "VStack",
@@ -28227,183 +29758,200 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28227
29758
  "spacing": 8,
28228
29759
  "children": [
28229
29760
  {
28230
- "id": "himi_product.add_to_cart",
28231
- "body": {
28232
- "package": "himalaya",
28233
- "type": "Button",
28234
- "props": {
28235
- "title": "Add to cart",
28236
- "style": "primary",
28237
- "fullWidth": true,
28238
- "action": {
28239
- "actionId": "tier5.himiStoreProduct.addToCart"
28240
- },
28241
- "disabledPath": "$service:himiStoreProduct.optionsIncomplete"
28242
- }
28243
- },
28244
- "modifiers": {
28245
- "cornerRadius": 8,
28246
- "pressFeedback": "scale",
28247
- "haptic": "medium",
28248
- "hiddenPath": "$service:himiStoreProduct.cartHidden"
28249
- }
28250
- },
28251
- {
28252
- "id": "himi_product.buy",
29761
+ "id": "himi_product.save_hint",
28253
29762
  "body": {
28254
29763
  "package": "himalaya",
28255
- "type": "Button",
29764
+ "type": "Banner",
28256
29765
  "props": {
28257
- "title": "$service:himiStoreProduct.buyLabel",
28258
- "style": "primary",
28259
- "fullWidth": true,
28260
- "disabledPath": "$service:himiStoreProduct.buyDisabled",
28261
- "action": {
28262
- "actionId": "tier5.himiStoreProduct.buy"
28263
- }
29766
+ "title": "$service:himiStoreProduct.saveHint",
29767
+ "severity": "warning"
28264
29768
  }
28265
29769
  },
28266
29770
  "modifiers": {
28267
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
29771
+ "hiddenPath": "$service:himiStoreProduct.noSaveHint"
28268
29772
  }
28269
29773
  },
28270
29774
  {
28271
- "id": "himi_product.buy_note",
29775
+ "id": "himi_product.cart_hint",
28272
29776
  "body": {
28273
29777
  "package": "himalaya",
28274
- "type": "Text",
29778
+ "type": "Banner",
28275
29779
  "props": {
28276
- "text": "$service:himiStoreProduct.buyNote",
28277
- "style": "footnote",
28278
- "color": "textSecondary",
28279
- "collapseWhenEmpty": true
29780
+ "title": "$service:himiStoreProduct.cartHint",
29781
+ "severity": "warning"
28280
29782
  }
28281
29783
  },
28282
29784
  "modifiers": {
28283
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
28284
- }
28285
- },
28286
- {
28287
- "id": "himi_product.purchased",
28288
- "body": {
28289
- "package": "himalaya",
28290
- "type": "Text",
28291
- "props": {
28292
- "text": "$service:himiStoreProduct.purchasedNote",
28293
- "style": "footnote",
28294
- "collapseWhenEmpty": true
28295
- }
29785
+ "hiddenPath": "$service:himiStoreProduct.noCartHint"
28296
29786
  }
28297
29787
  },
28298
29788
  {
28299
- "id": "himi_product.adding",
29789
+ "id": "",
28300
29790
  "body": {
28301
29791
  "package": "himalaya",
28302
- "type": "HStack",
28303
- "props": {
28304
- "spacing": 8,
28305
- "children": [
28306
- {
28307
- "id": "",
28308
- "body": {
28309
- "package": "himalaya",
28310
- "type": "ActivityIndicator",
28311
- "props": {
28312
- "indeterminate": true,
28313
- "size": 16
28314
- }
28315
- }
28316
- },
28317
- {
28318
- "id": "",
28319
- "body": {
28320
- "package": "himalaya",
28321
- "type": "Text",
28322
- "props": {
28323
- "text": "Adding to cart…",
28324
- "style": "footnote",
28325
- "color": "textSecondary"
28326
- }
28327
- }
28328
- }
28329
- ]
28330
- }
28331
- },
28332
- "modifiers": {
28333
- "hiddenPath": "$service:himiStoreProduct.notAdding"
29792
+ "type": "Divider",
29793
+ "props": {}
28334
29794
  }
28335
29795
  },
28336
29796
  {
28337
- "id": "himi_product.added_confirmation",
29797
+ "id": "",
28338
29798
  "body": {
28339
29799
  "package": "himalaya",
28340
29800
  "type": "HStack",
28341
29801
  "props": {
28342
- "spacing": 10,
29802
+ "spacing": 12,
28343
29803
  "children": [
28344
29804
  {
28345
- "id": "",
29805
+ "id": "himi_product.save",
28346
29806
  "body": {
28347
29807
  "package": "himalaya",
28348
- "type": "Icon",
29808
+ "type": "ZStack",
28349
29809
  "props": {
28350
- "name": "check",
28351
- "size": 18,
28352
- "tint": "success"
29810
+ "alignment": "center",
29811
+ "children": [
29812
+ {
29813
+ "id": "",
29814
+ "body": {
29815
+ "package": "himalaya",
29816
+ "type": "Icon",
29817
+ "props": {
29818
+ "name": "$service:himiStoreProduct.saveIcon",
29819
+ "size": 22,
29820
+ "tint": "textPrimary"
29821
+ }
29822
+ },
29823
+ "modifiers": {
29824
+ "accessibilityRole": "decorative"
29825
+ }
29826
+ }
29827
+ ]
28353
29828
  }
28354
29829
  },
28355
29830
  "modifiers": {
28356
- "accessibilityRole": "decorative"
29831
+ "width": 48,
29832
+ "height": 48,
29833
+ "cornerRadius": 24,
29834
+ "border": {
29835
+ "width": 1,
29836
+ "color": {
29837
+ "token": "border"
29838
+ }
29839
+ },
29840
+ "onTap": {
29841
+ "actionId": "tier5.himiStoreProduct.toggleSave"
29842
+ },
29843
+ "accessibilityRole": "button",
29844
+ "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
29845
+ "haptic": "light"
28357
29846
  }
28358
29847
  },
28359
29848
  {
28360
- "id": "",
29849
+ "id": "himi_product.add_to_cart",
28361
29850
  "body": {
28362
29851
  "package": "himalaya",
28363
- "type": "Text",
29852
+ "type": "Button",
28364
29853
  "props": {
28365
- "text": "$service:himiStoreProduct.cartHint",
28366
- "style": "footnote",
28367
- "collapseWhenEmpty": true
29854
+ "title": "Add to cart",
29855
+ "style": "primary",
29856
+ "fullWidth": true,
29857
+ "action": {
29858
+ "actionId": "tier5.himiStoreProduct.addToCart"
29859
+ },
29860
+ "disabledPath": "$service:himiStoreProduct.addDisabled"
28368
29861
  }
28369
29862
  },
28370
29863
  "modifiers": {
29864
+ "cornerRadius": 8,
29865
+ "pressFeedback": "scale",
29866
+ "haptic": "medium",
29867
+ "height": 48,
29868
+ "hiddenPath": "$service:himiStoreProduct.cartHidden",
28371
29869
  "weight": 1
28372
29870
  }
28373
29871
  },
28374
29872
  {
28375
- "id": "himi_product.view_cart",
29873
+ "id": "himi_product.adding",
28376
29874
  "body": {
28377
29875
  "package": "himalaya",
28378
- "type": "Button",
29876
+ "type": "ZStack",
28379
29877
  "props": {
28380
- "title": "View cart",
28381
- "style": "tertiary",
28382
- "action": {
28383
- "actionId": "himi.open",
28384
- "params": {
28385
- "screenId": "himi_cart"
29878
+ "alignment": "center",
29879
+ "children": [
29880
+ {
29881
+ "id": "",
29882
+ "body": {
29883
+ "package": "himalaya",
29884
+ "type": "ActivityIndicator",
29885
+ "props": {
29886
+ "indeterminate": true,
29887
+ "size": 18,
29888
+ "tint": "textOnAccent"
29889
+ }
29890
+ }
28386
29891
  }
28387
- }
29892
+ ]
28388
29893
  }
29894
+ },
29895
+ "modifiers": {
29896
+ "weight": 1,
29897
+ "height": 48,
29898
+ "background": {
29899
+ "token": "accentPrimary"
29900
+ },
29901
+ "cornerRadius": 8,
29902
+ "accessibilityLabel": "Adding to cart…",
29903
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
28389
29904
  }
28390
29905
  }
28391
29906
  ]
28392
29907
  }
29908
+ }
29909
+ },
29910
+ {
29911
+ "id": "himi_product.buy",
29912
+ "body": {
29913
+ "package": "himalaya",
29914
+ "type": "Button",
29915
+ "props": {
29916
+ "title": "$service:himiStoreProduct.buyLabel",
29917
+ "style": "primary",
29918
+ "fullWidth": true,
29919
+ "disabledPath": "$service:himiStoreProduct.buyDisabled",
29920
+ "action": {
29921
+ "actionId": "tier5.himiStoreProduct.buy"
29922
+ }
29923
+ }
28393
29924
  },
28394
29925
  "modifiers": {
28395
- "background": {
28396
- "token": "surfaceSecondary"
28397
- },
28398
- "cornerRadius": 8,
28399
- "padding": {
28400
- "leading": 12,
28401
- "trailing": 8,
28402
- "top": 6,
28403
- "bottom": 6
28404
- },
28405
- "fillMaxWidth": true,
28406
- "hiddenPath": "$service:himiStoreProduct.notAdded"
29926
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
29927
+ }
29928
+ },
29929
+ {
29930
+ "id": "himi_product.buy_note",
29931
+ "body": {
29932
+ "package": "himalaya",
29933
+ "type": "Text",
29934
+ "props": {
29935
+ "text": "$service:himiStoreProduct.buyNote",
29936
+ "style": "footnote",
29937
+ "color": "textSecondary",
29938
+ "collapseWhenEmpty": true
29939
+ }
29940
+ },
29941
+ "modifiers": {
29942
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
29943
+ }
29944
+ },
29945
+ {
29946
+ "id": "himi_product.purchased",
29947
+ "body": {
29948
+ "package": "himalaya",
29949
+ "type": "Text",
29950
+ "props": {
29951
+ "text": "$service:himiStoreProduct.purchasedNote",
29952
+ "style": "footnote",
29953
+ "collapseWhenEmpty": true
29954
+ }
28407
29955
  }
28408
29956
  }
28409
29957
  ]
@@ -28419,11 +29967,19 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
28419
29967
  "top": 8,
28420
29968
  "bottom": 8
28421
29969
  },
28422
- "hiddenPath": "$service:himiStoreProduct.isLoading"
29970
+ "hiddenPath": "$service:himiStoreProduct.hideBar"
28423
29971
  }
28424
29972
  },
28425
29973
  "topBar": {
28426
29974
  "actions": [
29975
+ {
29976
+ "id": "share",
29977
+ "icon": "share",
29978
+ "accessibilityLabel": "Share",
29979
+ "onTap": {
29980
+ "actionId": "tier5.himiStoreProduct.share"
29981
+ }
29982
+ },
28427
29983
  {
28428
29984
  "id": "cart",
28429
29985
  "icon": "cart",