@wix/himalaya-cli 0.1652.0 → 0.1654.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 (137) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/l10n.d.ts +3 -0
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{6ba3f2eb2ac29f4f9eeebd1294a8003820cd260274c5400149d76833b3171555.bin → 3912fa5f6ddb60106c630fb5e48edbf12ebfd57c616d8b7aee0d32088cd3bbdf.bin} +1 -1
  4. package/dist/browser-plane/sw.js +7 -7
  5. package/dist/cli.mjs +2270 -1858
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/getting-started.md +3 -3
  8. package/guides/himi-json-output.md +2 -2
  9. package/guides/himi-skill.md +3 -3
  10. package/guides/one-app-to-himi-app.md +13 -4
  11. package/guides/skill.md +1 -1
  12. package/guides/templates.md +5 -3
  13. package/package.json +2 -2
  14. package/templates/beauty-salon/dev/index.ts +263 -204
  15. package/templates/beauty-salon/l10n/en.json +2653 -0
  16. package/templates/beauty-salon/l10n/es.json +33 -0
  17. package/templates/beauty-salon/l10n/he.json +3756 -0
  18. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +18 -10
  19. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +5 -4
  20. package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +1 -1
  21. package/templates/beauty-salon/tier5-src/_shared/himi-copy.ts +30 -3
  22. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +2 -4
  23. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +2 -2
  24. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +1 -1
  25. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +18 -10
  26. package/templates/beauty-salon-owner/tier5-src/_shared/himi-copy.ts +30 -3
  27. package/templates/branded-lite/dev/index.ts +263 -204
  28. package/templates/branded-lite/l10n/en.json +5024 -478
  29. package/templates/branded-lite/l10n/es.json +33 -0
  30. package/templates/branded-lite/l10n/he.json +6652 -0
  31. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +18 -10
  32. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +5 -4
  33. package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +1 -1
  34. package/templates/branded-lite/tier5-src/_shared/himi-copy.ts +30 -3
  35. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +2 -4
  36. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +2 -2
  37. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +1 -1
  38. package/templates/brandy/tier5-src/_shared/himi-copy.ts +30 -3
  39. package/templates/community-club/l10n/en.json +1788 -0
  40. package/templates/community-club/l10n/es.json +10 -0
  41. package/templates/community-club/l10n/he.json +2397 -0
  42. package/templates/community-club/tier5-src/_shared/engine-intl.ts +18 -10
  43. package/templates/community-club/tier5-src/_shared/himi-account.ts +5 -4
  44. package/templates/community-club/tier5-src/_shared/himi-copy.ts +30 -3
  45. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +18 -10
  46. package/templates/community-club-owner/tier5-src/_shared/himi-copy.ts +30 -3
  47. package/templates/conference/tier5-src/_shared/engine-intl.ts +18 -10
  48. package/templates/conference/tier5-src/_shared/himi-account.ts +5 -4
  49. package/templates/conference/tier5-src/_shared/himi-copy.ts +30 -3
  50. package/templates/events-meetups/l10n/en.json +1739 -0
  51. package/templates/events-meetups/l10n/es.json +10 -0
  52. package/templates/events-meetups/l10n/he.json +2326 -0
  53. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +18 -10
  54. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +5 -4
  55. package/templates/events-meetups/tier5-src/_shared/himi-copy.ts +30 -3
  56. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +18 -10
  57. package/templates/events-meetups-owner/tier5-src/_shared/himi-copy.ts +30 -3
  58. package/templates/gym-fitness/dev/index.ts +263 -204
  59. package/templates/gym-fitness/l10n/en.json +2964 -0
  60. package/templates/gym-fitness/l10n/es.json +33 -0
  61. package/templates/gym-fitness/l10n/he.json +4170 -0
  62. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +18 -10
  63. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +5 -4
  64. package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +1 -1
  65. package/templates/gym-fitness/tier5-src/_shared/himi-copy.ts +30 -3
  66. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +2 -4
  67. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +2 -2
  68. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +1 -1
  69. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +18 -10
  70. package/templates/gym-fitness-owner/tier5-src/_shared/himi-copy.ts +30 -3
  71. package/templates/himi-chat/tier5-src/_shared/himi-copy.ts +30 -3
  72. package/templates/nonprofit-cause/l10n/en.json +1926 -0
  73. package/templates/nonprofit-cause/l10n/es.json +10 -0
  74. package/templates/nonprofit-cause/l10n/he.json +2577 -0
  75. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +18 -10
  76. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +5 -4
  77. package/templates/nonprofit-cause/tier5-src/_shared/himi-copy.ts +30 -3
  78. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +18 -10
  79. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-copy.ts +30 -3
  80. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +18 -10
  81. package/templates/owner-lite/tier5-src/_shared/himi-copy.ts +30 -3
  82. package/templates/podcast-creator/l10n/en.json +1840 -0
  83. package/templates/podcast-creator/l10n/es.json +10 -0
  84. package/templates/podcast-creator/l10n/he.json +2444 -0
  85. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +18 -10
  86. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +5 -4
  87. package/templates/podcast-creator/tier5-src/_shared/himi-copy.ts +30 -3
  88. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +18 -10
  89. package/templates/podcast-creator-owner/tier5-src/_shared/himi-copy.ts +30 -3
  90. package/templates/portfolio-creative/dev/index.ts +263 -204
  91. package/templates/portfolio-creative/l10n/en.json +2426 -0
  92. package/templates/portfolio-creative/l10n/es.json +33 -0
  93. package/templates/portfolio-creative/l10n/he.json +3149 -0
  94. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +18 -10
  95. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +5 -4
  96. package/templates/portfolio-creative/tier5-src/_shared/himi-copy.ts +30 -3
  97. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +18 -10
  98. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-copy.ts +30 -3
  99. package/templates/restaurant/l10n/en.json +2204 -0
  100. package/templates/restaurant/l10n/es.json +10 -0
  101. package/templates/restaurant/l10n/he.json +2862 -0
  102. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +18 -10
  103. package/templates/restaurant/tier5-src/_shared/himi-account.ts +5 -4
  104. package/templates/restaurant/tier5-src/_shared/himi-copy.ts +30 -3
  105. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +18 -10
  106. package/templates/restaurant-owner/tier5-src/_shared/himi-copy.ts +30 -3
  107. package/templates/retail-store/dev/index.ts +263 -204
  108. package/templates/retail-store/l10n/en.json +2029 -0
  109. package/templates/retail-store/l10n/es.json +33 -0
  110. package/templates/retail-store/l10n/he.json +2660 -0
  111. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +18 -10
  112. package/templates/retail-store/tier5-src/_shared/himi-account.ts +5 -4
  113. package/templates/retail-store/tier5-src/_shared/himi-copy.ts +30 -3
  114. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +18 -10
  115. package/templates/retail-store-owner/tier5-src/_shared/himi-copy.ts +30 -3
  116. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +18 -10
  117. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +5 -4
  118. package/templates/salon-spa/tier5-src/_shared/himi-bookings.ts +1 -1
  119. package/templates/salon-spa/tier5-src/_shared/himi-copy.ts +30 -3
  120. package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +2 -4
  121. package/templates/salon-spa/tier5-src/himi-booking-service/index.ts +2 -2
  122. package/templates/salon-spa/tier5-src/himi-booking-time/index.ts +1 -1
  123. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +18 -10
  124. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +5 -4
  125. package/templates/wholesale-store/tier5-src/_shared/himi-copy.ts +30 -3
  126. package/templates/yoga-studio/l10n/en.json +2213 -0
  127. package/templates/yoga-studio/l10n/es.json +10 -0
  128. package/templates/yoga-studio/l10n/he.json +3405 -0
  129. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +18 -10
  130. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +5 -4
  131. package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +1 -1
  132. package/templates/yoga-studio/tier5-src/_shared/himi-copy.ts +30 -3
  133. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +2 -4
  134. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +2 -2
  135. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +1 -1
  136. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +18 -10
  137. package/templates/yoga-studio-owner/tier5-src/_shared/himi-copy.ts +30 -3
@@ -16122,14 +16122,6 @@ const SCREENS = runtimeSetting({
16122
16122
  "spacing": 0,
16123
16123
  "alignment": "leading",
16124
16124
  "children": [
16125
- {
16126
- "id": "",
16127
- "body": {
16128
- "package": "himalaya",
16129
- "type": "Divider",
16130
- "props": {}
16131
- }
16132
- },
16133
16125
  {
16134
16126
  "id": "himi_cart.row_content",
16135
16127
  "body": {
@@ -16137,6 +16129,7 @@ const SCREENS = runtimeSetting({
16137
16129
  "type": "HStack",
16138
16130
  "props": {
16139
16131
  "spacing": 12,
16132
+ "alignment": "leading",
16140
16133
  "children": [
16141
16134
  {
16142
16135
  "id": "himi_cart.thumbnail",
@@ -16147,7 +16140,7 @@ const SCREENS = runtimeSetting({
16147
16140
  "url": "$item.image",
16148
16141
  "width": 112,
16149
16142
  "height": 144,
16150
- "contentMode": "fit",
16143
+ "contentMode": "fill",
16151
16144
  "shape": "rect",
16152
16145
  "contentDescription": "$item.name"
16153
16146
  }
@@ -16209,7 +16202,7 @@ const SCREENS = runtimeSetting({
16209
16202
  "package": "himalaya",
16210
16203
  "type": "VStack",
16211
16204
  "props": {
16212
- "spacing": 4,
16205
+ "spacing": 2,
16213
16206
  "alignment": "leading",
16214
16207
  "children": [
16215
16208
  {
@@ -16219,6 +16212,7 @@ const SCREENS = runtimeSetting({
16219
16212
  "type": "HStack",
16220
16213
  "props": {
16221
16214
  "spacing": 6,
16215
+ "alignment": "leading",
16222
16216
  "children": [
16223
16217
  {
16224
16218
  "id": "himi_cart.product_title",
@@ -16341,6 +16335,7 @@ const SCREENS = runtimeSetting({
16341
16335
  "type": "HStack",
16342
16336
  "props": {
16343
16337
  "spacing": 0,
16338
+ "alignment": "center",
16344
16339
  "children": [
16345
16340
  {
16346
16341
  "id": "himi_cart.qty_minus",
@@ -16360,7 +16355,8 @@ const SCREENS = runtimeSetting({
16360
16355
  "leadingIcon": "minus",
16361
16356
  "cornerRadius": 22,
16362
16357
  "minHeight": 44,
16363
- "disabledPath": "$service:himiStoreCart.writeBusy"
16358
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16359
+ "size": "sm"
16364
16360
  }
16365
16361
  },
16366
16362
  "modifiers": {
@@ -16404,7 +16400,8 @@ const SCREENS = runtimeSetting({
16404
16400
  "leadingIcon": "plus",
16405
16401
  "cornerRadius": 22,
16406
16402
  "minHeight": 44,
16407
- "disabledPath": "$service:himiStoreCart.writeBusy"
16403
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16404
+ "size": "sm"
16408
16405
  }
16409
16406
  },
16410
16407
  "modifiers": {
@@ -16441,7 +16438,8 @@ const SCREENS = runtimeSetting({
16441
16438
  "leadingIcon": "heart_fill",
16442
16439
  "cornerRadius": 22,
16443
16440
  "minHeight": 44,
16444
- "disabledPath": "$service:himiStoreCart.writeBusy"
16441
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16442
+ "size": "sm"
16445
16443
  }
16446
16444
  },
16447
16445
  "modifiers": {
@@ -16471,7 +16469,8 @@ const SCREENS = runtimeSetting({
16471
16469
  "leadingIcon": "heart",
16472
16470
  "cornerRadius": 22,
16473
16471
  "minHeight": 44,
16474
- "disabledPath": "$service:himiStoreCart.writeBusy"
16472
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16473
+ "size": "sm"
16475
16474
  }
16476
16475
  },
16477
16476
  "modifiers": {
@@ -16501,7 +16500,8 @@ const SCREENS = runtimeSetting({
16501
16500
  "leadingIcon": "trash",
16502
16501
  "cornerRadius": 22,
16503
16502
  "minHeight": 44,
16504
- "disabledPath": "$service:himiStoreCart.writeBusy"
16503
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16504
+ "size": "sm"
16505
16505
  }
16506
16506
  },
16507
16507
  "modifiers": {
@@ -16527,7 +16527,11 @@ const SCREENS = runtimeSetting({
16527
16527
  }
16528
16528
  },
16529
16529
  "modifiers": {
16530
- "fillMaxWidth": true
16530
+ "fillMaxWidth": true,
16531
+ "padding": {
16532
+ "top": 20,
16533
+ "bottom": 20
16534
+ }
16531
16535
  }
16532
16536
  },
16533
16537
  {
@@ -16542,9 +16546,21 @@ const SCREENS = runtimeSetting({
16542
16546
  }
16543
16547
  },
16544
16548
  "modifiers": {
16545
- "padding": {
16546
- "top": 16,
16547
- "bottom": 16
16549
+ "theme": {
16550
+ "typography": {
16551
+ "body": {
16552
+ "size": 14,
16553
+ "weight": 400,
16554
+ "line": 1.4285714285714286,
16555
+ "letterSpacing": 0
16556
+ },
16557
+ "bodyEmphasis": {
16558
+ "size": 14,
16559
+ "weight": 700,
16560
+ "line": 1.4285714285714286,
16561
+ "letterSpacing": 0
16562
+ }
16563
+ }
16548
16564
  }
16549
16565
  }
16550
16566
  }
@@ -16697,79 +16713,169 @@ const SCREENS = runtimeSetting({
16697
16713
  "package": "himalaya",
16698
16714
  "type": "VStack",
16699
16715
  "props": {
16700
- "spacing": 10,
16716
+ "spacing": 0,
16701
16717
  "alignment": "leading",
16702
16718
  "children": [
16703
16719
  {
16704
- "id": "",
16720
+ "id": "himi_cart.footer_divider",
16705
16721
  "body": {
16706
16722
  "package": "himalaya",
16707
- "type": "HStack",
16723
+ "type": "Divider",
16724
+ "props": {}
16725
+ }
16726
+ },
16727
+ {
16728
+ "id": "himi_cart.footer_content",
16729
+ "body": {
16730
+ "package": "himalaya",
16731
+ "type": "VStack",
16708
16732
  "props": {
16709
- "spacing": 8,
16733
+ "spacing": 10,
16734
+ "alignment": "leading",
16710
16735
  "children": [
16711
16736
  {
16712
- "id": "himi_cart.promo",
16737
+ "id": "",
16713
16738
  "body": {
16714
16739
  "package": "himalaya",
16715
- "type": "TextField",
16740
+ "type": "HStack",
16716
16741
  "props": {
16717
- "placeholder": "Promo code",
16718
- "valuePath": "$service:himiStoreCart.promoCode",
16719
- "onChange": {
16720
- "actionId": "tier5.himiStoreCart.setPromo"
16721
- },
16722
- "onSubmit": {
16723
- "actionId": "tier5.himiStoreCart.applyPromo"
16724
- },
16725
- "autoCapitalization": "characters",
16726
- "suggestions": "off",
16727
- "submitLabel": "done",
16728
- "clearButton": true,
16729
- "maxLength": 100,
16730
- "borderless": true
16742
+ "spacing": 8,
16743
+ "children": [
16744
+ {
16745
+ "id": "himi_cart.promo",
16746
+ "body": {
16747
+ "package": "himalaya",
16748
+ "type": "TextField",
16749
+ "props": {
16750
+ "placeholder": "Promo code",
16751
+ "valuePath": "$service:himiStoreCart.promoCode",
16752
+ "onChange": {
16753
+ "actionId": "tier5.himiStoreCart.setPromo"
16754
+ },
16755
+ "onSubmit": {
16756
+ "actionId": "tier5.himiStoreCart.applyPromo"
16757
+ },
16758
+ "autoCapitalization": "characters",
16759
+ "suggestions": "off",
16760
+ "submitLabel": "done",
16761
+ "clearButton": true,
16762
+ "maxLength": 100,
16763
+ "borderless": true
16764
+ }
16765
+ },
16766
+ "modifiers": {
16767
+ "weight": 1,
16768
+ "height": 44,
16769
+ "border": {
16770
+ "width": 1,
16771
+ "color": {
16772
+ "token": "border"
16773
+ }
16774
+ },
16775
+ "padding": {
16776
+ "leading": 12,
16777
+ "trailing": 12
16778
+ },
16779
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
16780
+ }
16781
+ },
16782
+ {
16783
+ "id": "himi_cart.apply_promo",
16784
+ "body": {
16785
+ "package": "himalaya",
16786
+ "type": "Button",
16787
+ "props": {
16788
+ "title": "Apply",
16789
+ "style": "secondary",
16790
+ "fullWidth": false,
16791
+ "action": {
16792
+ "actionId": "tier5.himiStoreCart.applyPromo"
16793
+ },
16794
+ "disabledPath": "$service:himiStoreCart.writeBusy"
16795
+ }
16796
+ },
16797
+ "modifiers": {
16798
+ "height": 44,
16799
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
16800
+ }
16801
+ },
16802
+ {
16803
+ "id": "",
16804
+ "body": {
16805
+ "package": "himalaya",
16806
+ "type": "HStack",
16807
+ "props": {
16808
+ "spacing": 8,
16809
+ "children": [
16810
+ {
16811
+ "id": "",
16812
+ "body": {
16813
+ "package": "himalaya",
16814
+ "type": "Text",
16815
+ "props": {
16816
+ "text": "$service:himiStoreCart.appliedLabel",
16817
+ "style": "footnote",
16818
+ "color": "textPrimary"
16819
+ }
16820
+ }
16821
+ },
16822
+ {
16823
+ "id": "",
16824
+ "body": {
16825
+ "package": "himalaya",
16826
+ "type": "Spacer",
16827
+ "props": {}
16828
+ }
16829
+ },
16830
+ {
16831
+ "id": "himi_cart.remove_promo",
16832
+ "body": {
16833
+ "package": "himalaya",
16834
+ "type": "Button",
16835
+ "props": {
16836
+ "title": "Remove promo code",
16837
+ "action": {
16838
+ "actionId": "tier5.himiStoreCart.removePromo"
16839
+ },
16840
+ "style": "tertiary",
16841
+ "iconOnly": true,
16842
+ "leadingIcon": "close",
16843
+ "cornerRadius": 22,
16844
+ "minHeight": 44,
16845
+ "disabledPath": "$service:himiStoreCart.writeBusy"
16846
+ }
16847
+ },
16848
+ "modifiers": {
16849
+ "width": 44,
16850
+ "height": 44,
16851
+ "accessibilityLabel": "Remove promo code",
16852
+ "accessibilityRole": "button"
16853
+ }
16854
+ }
16855
+ ]
16856
+ }
16857
+ },
16858
+ "modifiers": {
16859
+ "hiddenPath": "$service:himiStoreCart.noCoupon"
16860
+ }
16861
+ }
16862
+ ]
16731
16863
  }
16732
- },
16733
- "modifiers": {
16734
- "weight": 1,
16735
- "height": 36,
16736
- "border": {
16737
- "width": 1,
16738
- "color": {
16739
- "token": "border"
16740
- }
16741
- },
16742
- "padding": {
16743
- "leading": 12,
16744
- "trailing": 12
16745
- },
16746
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
16747
16864
  }
16748
16865
  },
16749
16866
  {
16750
- "id": "himi_cart.apply_promo",
16867
+ "id": "himi_cart.promo_error",
16751
16868
  "body": {
16752
16869
  "package": "himalaya",
16753
- "type": "Button",
16870
+ "type": "Text",
16754
16871
  "props": {
16755
- "title": "Apply",
16756
- "style": "secondary",
16757
- "action": {
16758
- "actionId": "tier5.himiStoreCart.applyPromo"
16759
- },
16760
- "disabledPath": "$service:himiStoreCart.writeBusy"
16872
+ "text": "$service:himiStoreCart.promoError",
16873
+ "style": "footnote",
16874
+ "color": "danger"
16761
16875
  }
16762
16876
  },
16763
16877
  "modifiers": {
16764
- "height": 44,
16765
- "cornerRadius": 0,
16766
- "border": {
16767
- "width": 1,
16768
- "color": {
16769
- "token": "textPrimary"
16770
- }
16771
- },
16772
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
16878
+ "hiddenPath": "$service:himiStoreCart.noPromoError"
16773
16879
  }
16774
16880
  },
16775
16881
  {
@@ -16786,8 +16892,8 @@ const SCREENS = runtimeSetting({
16786
16892
  "package": "himalaya",
16787
16893
  "type": "Text",
16788
16894
  "props": {
16789
- "text": "$service:himiStoreCart.appliedLabel",
16790
- "style": "footnote",
16895
+ "text": "Discount",
16896
+ "style": "body",
16791
16897
  "color": "textPrimary"
16792
16898
  }
16793
16899
  }
@@ -16801,158 +16907,126 @@ const SCREENS = runtimeSetting({
16801
16907
  }
16802
16908
  },
16803
16909
  {
16804
- "id": "himi_cart.remove_promo",
16910
+ "id": "",
16805
16911
  "body": {
16806
16912
  "package": "himalaya",
16807
- "type": "Button",
16913
+ "type": "Text",
16808
16914
  "props": {
16809
- "title": "Remove promo code",
16810
- "action": {
16811
- "actionId": "tier5.himiStoreCart.removePromo"
16812
- },
16813
- "style": "tertiary",
16814
- "iconOnly": true,
16815
- "leadingIcon": "close",
16816
- "cornerRadius": 22,
16817
- "minHeight": 44,
16818
- "disabledPath": "$service:himiStoreCart.writeBusy"
16915
+ "text": "$service:himiStoreCart.discount",
16916
+ "style": "body",
16917
+ "color": "success"
16819
16918
  }
16820
- },
16821
- "modifiers": {
16822
- "width": 44,
16823
- "height": 44,
16824
- "accessibilityLabel": "Remove promo code",
16825
- "accessibilityRole": "button"
16826
16919
  }
16827
16920
  }
16828
16921
  ]
16829
16922
  }
16830
16923
  },
16831
16924
  "modifiers": {
16832
- "hiddenPath": "$service:himiStoreCart.noCoupon"
16925
+ "hiddenPath": "$service:himiStoreCart.noDiscount"
16833
16926
  }
16834
- }
16835
- ]
16836
- }
16837
- }
16838
- },
16839
- {
16840
- "id": "himi_cart.promo_error",
16841
- "body": {
16842
- "package": "himalaya",
16843
- "type": "Text",
16844
- "props": {
16845
- "text": "$service:himiStoreCart.promoError",
16846
- "style": "footnote",
16847
- "color": "danger"
16848
- }
16849
- },
16850
- "modifiers": {
16851
- "hiddenPath": "$service:himiStoreCart.noPromoError"
16852
- }
16853
- },
16854
- {
16855
- "id": "",
16856
- "body": {
16857
- "package": "himalaya",
16858
- "type": "HStack",
16859
- "props": {
16860
- "spacing": 8,
16861
- "children": [
16927
+ },
16862
16928
  {
16863
- "id": "",
16929
+ "id": "himi_cart.subtotal",
16864
16930
  "body": {
16865
16931
  "package": "himalaya",
16866
- "type": "Text",
16932
+ "type": "HStack",
16867
16933
  "props": {
16868
- "text": "Discount",
16869
- "style": "body",
16870
- "color": "textPrimary"
16934
+ "spacing": 8,
16935
+ "children": [
16936
+ {
16937
+ "id": "",
16938
+ "body": {
16939
+ "package": "himalaya",
16940
+ "type": "Text",
16941
+ "props": {
16942
+ "text": "$service:himiStoreCart.subtotalLabel",
16943
+ "style": "bodyEmphasis"
16944
+ }
16945
+ }
16946
+ },
16947
+ {
16948
+ "id": "",
16949
+ "body": {
16950
+ "package": "himalaya",
16951
+ "type": "Spacer",
16952
+ "props": {}
16953
+ }
16954
+ },
16955
+ {
16956
+ "id": "",
16957
+ "body": {
16958
+ "package": "himalaya",
16959
+ "type": "Text",
16960
+ "props": {
16961
+ "text": "$service:himiStoreCart.subtotal",
16962
+ "style": "bodyEmphasis"
16963
+ }
16964
+ }
16965
+ }
16966
+ ]
16967
+ }
16968
+ },
16969
+ "modifiers": {
16970
+ "padding": {
16971
+ "top": 8
16871
16972
  }
16872
16973
  }
16873
16974
  },
16874
16975
  {
16875
- "id": "",
16876
- "body": {
16877
- "package": "himalaya",
16878
- "type": "Spacer",
16879
- "props": {}
16880
- }
16881
- },
16882
- {
16883
- "id": "",
16976
+ "id": "himi_cart.checkout_note",
16884
16977
  "body": {
16885
16978
  "package": "himalaya",
16886
16979
  "type": "Text",
16887
16980
  "props": {
16888
- "text": "$service:himiStoreCart.discount",
16889
- "style": "body",
16890
- "color": "success"
16981
+ "text": "Taxes and shipping are calculated at checkout.",
16982
+ "style": "footnote",
16983
+ "color": "textSecondary"
16891
16984
  }
16892
- }
16893
- }
16894
- ]
16895
- }
16896
- },
16897
- "modifiers": {
16898
- "hiddenPath": "$service:himiStoreCart.noDiscount"
16899
- }
16900
- },
16901
- {
16902
- "id": "",
16903
- "body": {
16904
- "package": "himalaya",
16905
- "type": "HStack",
16906
- "props": {
16907
- "spacing": 8,
16908
- "children": [
16909
- {
16910
- "id": "",
16911
- "body": {
16912
- "package": "himalaya",
16913
- "type": "Text",
16914
- "props": {
16915
- "text": "$service:himiStoreCart.subtotalLabel",
16916
- "style": "bodyEmphasis"
16985
+ },
16986
+ "modifiers": {
16987
+ "padding": {
16988
+ "bottom": 8
16989
+ },
16990
+ "theme": {
16991
+ "typography": {
16992
+ "footnote": {
16993
+ "size": 14,
16994
+ "weight": 400,
16995
+ "line": 1.4285714285714286,
16996
+ "letterSpacing": 0
16997
+ }
16998
+ }
16917
16999
  }
16918
17000
  }
16919
17001
  },
16920
17002
  {
16921
- "id": "",
16922
- "body": {
16923
- "package": "himalaya",
16924
- "type": "Spacer",
16925
- "props": {}
16926
- }
16927
- },
16928
- {
16929
- "id": "",
17003
+ "id": "himi_cart.checkout",
16930
17004
  "body": {
16931
17005
  "package": "himalaya",
16932
- "type": "Text",
17006
+ "type": "Button",
16933
17007
  "props": {
16934
- "text": "$service:himiStoreCart.subtotal",
16935
- "style": "bodyEmphasis"
17008
+ "title": "Checkout",
17009
+ "style": "primary",
17010
+ "fullWidth": true,
17011
+ "disabledPath": "$service:himiStoreCart.writeBusy",
17012
+ "action": {
17013
+ "actionId": "tier5.himiStoreCart.checkout"
17014
+ }
16936
17015
  }
16937
17016
  }
16938
17017
  }
16939
17018
  ]
16940
17019
  }
16941
- }
16942
- },
16943
- {
16944
- "id": "himi_cart.checkout",
16945
- "body": {
16946
- "package": "himalaya",
16947
- "type": "Button",
16948
- "props": {
16949
- "title": "Checkout",
16950
- "style": "primary",
16951
- "fullWidth": true,
16952
- "disabledPath": "$service:himiStoreCart.writeBusy",
16953
- "action": {
16954
- "actionId": "tier5.himiStoreCart.checkout"
16955
- }
17020
+ },
17021
+ "modifiers": {
17022
+ "background": {
17023
+ "token": "surfacePrimary"
17024
+ },
17025
+ "padding": {
17026
+ "leading": 20,
17027
+ "trailing": 20,
17028
+ "top": 12,
17029
+ "bottom": 12
16956
17030
  }
16957
17031
  }
16958
17032
  }
@@ -16960,21 +17034,6 @@ const SCREENS = runtimeSetting({
16960
17034
  }
16961
17035
  },
16962
17036
  "modifiers": {
16963
- "background": {
16964
- "token": "surfacePrimary"
16965
- },
16966
- "border": {
16967
- "width": 1,
16968
- "color": {
16969
- "token": "border"
16970
- }
16971
- },
16972
- "padding": {
16973
- "leading": 20,
16974
- "trailing": 20,
16975
- "top": 12,
16976
- "bottom": 12
16977
- },
16978
17037
  "hiddenPath": "$service:himiStoreCart.noItems"
16979
17038
  }
16980
17039
  }